diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 1bdd24e..c30a504 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -16,6 +16,8 @@ jobs: steps: - uses: actions/checkout@v2 + with: + submodules: 'true' - name: Build run: cargo build --verbose --all-features - name: Run tests diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..d14f187 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "harfbuzz"] + path = harfbuzz + url = https://github.com/harfbuzz/harfbuzz/ diff --git a/build.rs b/build.rs index d9b7425..0b1e14e 100644 --- a/build.rs +++ b/build.rs @@ -21,12 +21,7 @@ fn main() { .flag("-std=c++11") .warnings(false) .include("harfbuzz/src") - .files( - std::fs::read_dir("harfbuzz/src") - .expect("Could not find harfbuzz source files.") - .map(|direntry| direntry.unwrap().path()) - .filter(|name| name.ends_with(".cc")), - ); + .file("harfbuzz/src/harfbuzz.cc"); if !target.contains("windows") { cfg.define("HAVE_PTHREAD", "1"); diff --git a/harfbuzz b/harfbuzz new file mode 160000 index 0000000..aa381ae --- /dev/null +++ b/harfbuzz @@ -0,0 +1 @@ +Subproject commit aa381ae963fedadc227afcc154e3cf95d9aa84c1 diff --git a/harfbuzz/AUTHORS b/harfbuzz/AUTHORS deleted file mode 100644 index 83c0c66..0000000 --- a/harfbuzz/AUTHORS +++ /dev/null @@ -1,14 +0,0 @@ -Behdad Esfahbod -David Corbett -David Turner -Ebrahim Byagowi -Garret Rieger -Jonathan Kew -Khaled Hosny -Lars Knoll -Martin Hosken -Owen Taylor -Roderick Sheeter -Roozbeh Pournader -Simon Hausmann -Werner Lemberg diff --git a/harfbuzz/BUILD.md b/harfbuzz/BUILD.md deleted file mode 100644 index f64f868..0000000 --- a/harfbuzz/BUILD.md +++ /dev/null @@ -1,27 +0,0 @@ -On Linux, install the development packages for FreeType, -Cairo, and GLib. For example, on Ubuntu / Debian, you would do: - - sudo apt-get install meson pkg-config ragel gtk-doc-tools gcc g++ libfreetype6-dev libglib2.0-dev libcairo2-dev - -whereas on Fedora, RHEL, CentOS, and other Red Hat based systems you would do: - - sudo dnf install meson pkgconfig gtk-doc gcc gcc-c++ freetype-devel glib2-devel cairo-dev - -and on ArchLinux and Manjaro: - - sudo pacman -Suy meson pkg-config ragel gcc freetype2 glib2 cairo - -then use meson to build the project like `meson build && meson test -Cbuild`. - -On macOS, `brew install pkg-config ragel gtk-doc freetype glib cairo meson` then use -meson like above. - -On Windows, meson can build the project like above if a working MSVC's cl.exe (`vcvarsall.bat`) -or gcc/clang is already on your path, and if you use something like `meson build --wrap-mode=default` -it fetches and compiles most of the dependencies also. - -Our CI configurations is also a good source of learning how to build HarfBuzz. - -There is also amalgam source provided with HarfBuzz which reduces whole process of building -HarfBuzz like `g++ src/harfbuzz.cc -fno-exceptions` but there is not guarantee provided -with buildability and reliability of features you get. diff --git a/harfbuzz/CMakeLists.txt b/harfbuzz/CMakeLists.txt deleted file mode 100644 index 295cff8..0000000 --- a/harfbuzz/CMakeLists.txt +++ /dev/null @@ -1,754 +0,0 @@ -cmake_minimum_required(VERSION 3.1) -project(harfbuzz) - -message(WARN "HarfBuzz has a Meson port and tries to migrate all the other build systems to it, please consider using it as we might remove our cmake port soon.") - -## Limit framework build to Xcode generator -if (BUILD_FRAMEWORK) - # for a framework build on macOS, use: - # cmake -DBUILD_FRAMEWORK=ON -Bbuild -H. -GXcode && cmake --build build - if (NOT "${CMAKE_GENERATOR}" STREQUAL "Xcode") - message(FATAL_ERROR - "You should use Xcode generator with BUILD_FRAMEWORK enabled") - endif () - set (CMAKE_OSX_ARCHITECTURES "$(ARCHS_STANDARD_32_64_BIT)") - set (CMAKE_MACOSX_RPATH ON) - set (BUILD_SHARED_LIBS ON) -endif () - - -## Disallow in-source builds, as CMake generated make files can collide with autotools ones -if (NOT MSVC AND "${PROJECT_BINARY_DIR}" STREQUAL "${PROJECT_SOURCE_DIR}") - message(FATAL_ERROR - " -In-source builds are not permitted! Make a separate folder for" - " building, e.g.," - " - mkdir build; cd build; cmake .." - " -Before that, remove the files created by this failed run with" - " - rm -rf CMakeCache.txt CMakeFiles") -endif () - - -## HarfBuzz build configurations -option(HB_HAVE_FREETYPE "Enable freetype interop helpers" OFF) -option(HB_HAVE_GRAPHITE2 "Enable Graphite2 complementary shaper" OFF) -option(HB_HAVE_GLIB "Enable glib unicode functions" OFF) -option(HB_HAVE_ICU "Enable icu unicode functions" OFF) -if (APPLE) - option(HB_HAVE_CORETEXT "Enable CoreText shaper backend on macOS" ON) - set (CMAKE_MACOSX_RPATH ON) -endif () -if (WIN32) - option(HB_HAVE_UNISCRIBE "Enable Uniscribe shaper backend on Windows" OFF) - option(HB_HAVE_GDI "Enable GDI integration helpers on Windows" OFF) - option(HB_HAVE_DIRECTWRITE "Enable DirectWrite shaper backend on Windows" OFF) -endif () -option(HB_BUILD_UTILS "Build harfbuzz utils, needs cairo, freetype, and glib properly be installed" OFF) -if (HB_BUILD_UTILS) - set (HB_HAVE_GLIB ON) - set (HB_HAVE_FREETYPE ON) -endif () - -option(HB_BUILD_SUBSET "Build harfbuzz-subset" ON) - -option(HB_HAVE_GOBJECT "Enable GObject Bindings" OFF) -if (HB_HAVE_GOBJECT) - set (HB_HAVE_GLIB ON) -endif () - -option(HB_HAVE_INTROSPECTION "Enable building introspection (.gir/.typelib) files" OFF) -if (HB_HAVE_INTROSPECTION) - set (HB_HAVE_GOBJECT ON) - set (HB_HAVE_GLIB ON) -endif () - -include_directories(AFTER - ${PROJECT_SOURCE_DIR}/src - ${PROJECT_BINARY_DIR}/src -) - -# We need PYTHON_EXECUTABLE to be set for running the tests... -include (FindPythonInterp) - -## Functions and headers -include (CheckFunctionExists) -include (CheckIncludeFile) -macro (check_funcs) # Similar to AC_CHECK_FUNCS of autotools - foreach (func_name ${ARGN}) - string(TOUPPER ${func_name} definition_to_add) - check_function_exists(${func_name} HAVE_${definition_to_add}) - if (${HAVE_${definition_to_add}}) - add_definitions(-DHAVE_${definition_to_add}) - endif () - endforeach () -endmacro () -if (UNIX) - list(APPEND CMAKE_REQUIRED_LIBRARIES m) -endif () -check_funcs(atexit mprotect sysconf getpagesize mmap isatty) -check_include_file(unistd.h HAVE_UNISTD_H) -if (${HAVE_UNISTD_H}) - add_definitions(-DHAVE_UNISTD_H) -endif () -check_include_file(sys/mman.h HAVE_SYS_MMAN_H) -if (${HAVE_SYS_MMAN_H}) - add_definitions(-DHAVE_SYS_MMAN_H) -endif () -check_include_file(stdbool.h HAVE_STDBOOL_H) -if (${HAVE_STDBOOL_H}) - add_definitions(-DHAVE_STDBOOL_H) -endif () - -if (NOT MSVC) - set(THREADS_PREFER_PTHREAD_FLAG ON) - find_package(Threads) - if (CMAKE_USE_PTHREADS_INIT) - add_definitions("-DHAVE_PTHREAD") - list(APPEND THIRD_PARTY_LIBS Threads::Threads) - endif () -endif () - -if (MSVC) - add_definitions(-wd4244 -wd4267 -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_WARNINGS) -endif () - - -## Detect if we are running inside a distribution or regular repository folder -# if (EXISTS "${PROJECT_SOURCE_DIR}/ChangeLog") -# # perhaps we are on dist directory -# set (IN_HB_DIST TRUE) -# #set (HB_VERSION_H "${PROJECT_SOURCE_DIR}/src/hb-version.h") -# endif () - - -## Extract variables from Makefile files -function (extract_make_variable variable makefile_source) - string(REGEX MATCH "${variable} = ([^$]+)\\$" temp "${makefile_source}") - string(REGEX MATCHALL "[^ \n\t\\]+" listVar "${CMAKE_MATCH_1}") - set (${variable} ${listVar} PARENT_SCOPE) -endfunction () - -# https://stackoverflow.com/a/27630120 -function (add_prefix_to_list var prefix) - set (listVar "") - foreach (f ${${var}}) - list(APPEND listVar "${prefix}${f}") - endforeach () - set (${var} "${listVar}" PARENT_SCOPE) -endfunction () - -file(READ ${PROJECT_SOURCE_DIR}/src/Makefile.sources SRCSOURCES) -file(READ ${PROJECT_SOURCE_DIR}/util/Makefile.sources UTILSOURCES) - -extract_make_variable(HB_BASE_headers ${SRCSOURCES}) -add_prefix_to_list(HB_BASE_headers "${PROJECT_SOURCE_DIR}/src/") - -extract_make_variable(HB_SUBSET_sources ${SRCSOURCES}) -add_prefix_to_list(HB_SUBSET_sources "${PROJECT_SOURCE_DIR}/src/") - -extract_make_variable(HB_SUBSET_headers ${SRCSOURCES}) -add_prefix_to_list(HB_SUBSET_headers "${PROJECT_SOURCE_DIR}/src/") - -extract_make_variable(HB_BASE_RAGEL_GENERATED_sources ${SRCSOURCES}) -#if (IN_HB_DIST) - add_prefix_to_list(HB_BASE_RAGEL_GENERATED_sources "${PROJECT_SOURCE_DIR}/src/") -#else () -# add_prefix_to_list(HB_BASE_RAGEL_GENERATED_sources "${PROJECT_BINARY_DIR}/src/") -#endif () - -extract_make_variable(HB_VIEW_sources ${UTILSOURCES}) -add_prefix_to_list(HB_VIEW_sources "${PROJECT_SOURCE_DIR}/util/") -extract_make_variable(HB_SHAPE_sources ${UTILSOURCES}) -add_prefix_to_list(HB_SHAPE_sources "${PROJECT_SOURCE_DIR}/util/") -extract_make_variable(HB_SUBSET_CLI_sources ${UTILSOURCES}) -add_prefix_to_list(HB_SUBSET_CLI_sources "${PROJECT_SOURCE_DIR}/util/") -extract_make_variable(HB_OT_SHAPE_CLOSURE_sources ${UTILSOURCES}) -add_prefix_to_list(HB_OT_SHAPE_CLOSURE_sources "${PROJECT_SOURCE_DIR}/util/") - - -file(READ configure.ac CONFIGUREAC) -string(REGEX MATCH "\\[(([0-9]+)\\.([0-9]+)\\.([0-9]+))\\]" HB_VERSION_MATCH ${CONFIGUREAC}) -set (HB_VERSION ${CMAKE_MATCH_1}) -set (HB_VERSION_MAJOR ${CMAKE_MATCH_2}) -set (HB_VERSION_MINOR ${CMAKE_MATCH_3}) -set (HB_VERSION_MICRO ${CMAKE_MATCH_4}) - -## Define sources and headers of the project -set (project_sources ${PROJECT_SOURCE_DIR}/src/harfbuzz.cc) # use amalgam source -set (subset_project_sources ${HB_SUBSET_sources}) -set (project_extra_sources) -set (project_headers ${HB_BASE_headers}) -set (subset_project_headers ${HB_SUBSET_headers}) - -## Find and include needed header folders and libraries -if (HB_HAVE_FREETYPE) - include (FindFreetype) - if (NOT FREETYPE_FOUND) - message(FATAL_ERROR "HB_HAVE_FREETYPE was set, but we failed to find it. Maybe add a CMAKE_PREFIX_PATH= to your Freetype2 install prefix") - endif () - - list(APPEND THIRD_PARTY_LIBS ${FREETYPE_LIBRARIES}) - include_directories(AFTER ${FREETYPE_INCLUDE_DIRS}) - add_definitions(-DHAVE_FREETYPE=1) - - list(APPEND project_headers ${PROJECT_SOURCE_DIR}/src/hb-ft.h) - - # So check_funcs can find its headers - set (CMAKE_REQUIRED_INCLUDES ${CMAKE_REQUIRED_INCLUDES} ${FREETYPE_INCLUDE_DIRS}) - set (CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} ${FREETYPE_LIBRARIES}) - - check_funcs(FT_Get_Var_Blend_Coordinates FT_Set_Var_Blend_Coordinates FT_Done_MM_Var) -endif () - -if (HB_HAVE_GRAPHITE2) - add_definitions(-DHAVE_GRAPHITE2) - - find_path(GRAPHITE2_INCLUDE_DIR graphite2/Font.h) - find_library(GRAPHITE2_LIBRARY graphite2) - - include_directories(${GRAPHITE2_INCLUDE_DIR}) - - list(APPEND project_headers ${PROJECT_SOURCE_DIR}/src/hb-graphite2.h) - - list(APPEND THIRD_PARTY_LIBS ${GRAPHITE2_LIBRARY}) - - mark_as_advanced(GRAPHITE2_INCLUDE_DIR GRAPHITE2_LIBRARY) -endif () - -if (HB_HAVE_GLIB) - add_definitions(-DHAVE_GLIB) - - # https://github.com/WebKit/webkit/blob/master/Source/cmake/FindGLIB.cmake - find_package(PkgConfig) - pkg_check_modules(PC_GLIB QUIET glib-2.0) - - find_library(GLIB_LIBRARIES NAMES glib-2.0 HINTS ${PC_GLIB_LIBDIR} ${PC_GLIB_LIBRARY_DIRS}) - find_path(GLIBCONFIG_INCLUDE_DIR NAMES glibconfig.h HINTS ${PC_LIBDIR} ${PC_LIBRARY_DIRS} ${PC_GLIB_INCLUDEDIR} ${PC_GLIB_INCLUDE_DIRS} PATH_SUFFIXES glib-2.0/include) - find_path(GLIB_INCLUDE_DIR NAMES glib.h HINTS ${PC_GLIB_INCLUDEDIR} ${PC_GLIB_INCLUDE_DIRS} PATH_SUFFIXES glib-2.0) - - include_directories(${GLIBCONFIG_INCLUDE_DIR} ${GLIB_INCLUDE_DIR}) - - list(APPEND project_headers ${PROJECT_SOURCE_DIR}/src/hb-glib.h) - - list(APPEND THIRD_PARTY_LIBS ${GLIB_LIBRARIES}) - - mark_as_advanced(GLIB_LIBRARIES GLIBCONFIG_INCLUDE_DIR GLIB_INCLUDE_DIR) -endif () - -if (HB_HAVE_ICU) - add_definitions(-DHAVE_ICU) - - # https://github.com/WebKit/webkit/blob/fdd7733f2f30eab7fe096a9791f98c60f62f49c0/Source/cmake/FindICU.cmake - find_package(PkgConfig) - pkg_check_modules(PC_ICU QUIET icu-uc) - - find_path(ICU_INCLUDE_DIR NAMES unicode/utypes.h HINTS ${PC_ICU_INCLUDE_DIRS} ${PC_ICU_INCLUDEDIR}) - find_library(ICU_LIBRARY NAMES libicuuc cygicuuc cygicuuc32 icuuc HINTS ${PC_ICU_LIBRARY_DIRS} ${PC_ICU_LIBDIR}) - - include_directories(${ICU_INCLUDE_DIR}) - - list(APPEND project_headers ${PROJECT_SOURCE_DIR}/src/hb-icu.h) - - list(APPEND THIRD_PARTY_LIBS ${ICU_LIBRARY}) - - mark_as_advanced(ICU_INCLUDE_DIR ICU_LIBRARY) -endif () - -if (APPLE AND HB_HAVE_CORETEXT) - # Apple Advanced Typography - add_definitions(-DHAVE_CORETEXT) - - list(APPEND project_headers ${PROJECT_SOURCE_DIR}/src/hb-coretext.h) - - if (HB_IOS) - find_library(COREFOUNDATION CoreFoundation) - if (COREFOUNDATION) - list(APPEND THIRD_PARTY_LIBS ${COREFOUNDATION}) - endif () - mark_as_advanced(COREFOUNDATION) - - find_library(CORETEXT CoreText) - if (CORETEXT) - list(APPEND THIRD_PARTY_LIBS ${CORETEXT}) - endif () - mark_as_advanced(CORETEXT) - - find_library(COREGRAPHICS CoreGraphics) - if (COREGRAPHICS) - list(APPEND THIRD_PARTY_LIBS ${COREGRAPHICS}) - endif () - mark_as_advanced(COREGRAPHICS) - else () - find_library(APPLICATION_SERVICES_FRAMEWORK ApplicationServices) - if (APPLICATION_SERVICES_FRAMEWORK) - list(APPEND THIRD_PARTY_LIBS ${APPLICATION_SERVICES_FRAMEWORK}) - endif () - - mark_as_advanced(APPLICATION_SERVICES_FRAMEWORK) - endif () -endif () - -if (WIN32 AND HB_HAVE_GDI) - add_definitions(-DHAVE_GDI) - list(APPEND project_headers ${PROJECT_SOURCE_DIR}/src/hb-gdi.h) - list(APPEND THIRD_PARTY_LIBS gdi32) -endif () - -if (WIN32 AND HB_HAVE_UNISCRIBE) - add_definitions(-DHAVE_UNISCRIBE) - list(APPEND project_headers ${PROJECT_SOURCE_DIR}/src/hb-uniscribe.h) - list(APPEND THIRD_PARTY_LIBS usp10 gdi32 rpcrt4) -endif () - -if (WIN32 AND HB_HAVE_DIRECTWRITE) - add_definitions(-DHAVE_DIRECTWRITE) - list(APPEND project_headers ${PROJECT_SOURCE_DIR}/src/hb-directwrite.h) - list(APPEND THIRD_PARTY_LIBS dwrite rpcrt4) -endif () - -if (HB_HAVE_GOBJECT) - add_definitions(-DHAVE_GOBJECT) - include (FindPerl) - - # Use the hints from glib-2.0.pc to find glib-mkenums - find_package(PkgConfig) - pkg_check_modules(PC_GLIB QUIET glib-2.0) - find_program(GLIB_MKENUMS glib-mkenums - HINTS ${PC_glib_mkenums} - ) - set (GLIB_MKENUMS_CMD) - - if (WIN32 AND NOT MINGW) - # In Visual Studio builds, shebang lines are not supported - # in the standard cmd.exe shell that we use, so we need to - # first determine whether glib-mkenums is a Python or PERL - # script - execute_process(COMMAND "${PYTHON_EXECUTABLE}" "${GLIB_MKENUMS}" --version - RESULT_VARIABLE GLIB_MKENUMS_PYTHON - OUTPUT_QUIET ERROR_QUIET - ) - if (GLIB_MKENUMS_PYTHON EQUAL 0) - message("${GLIB_MKENUMS} is a Python script.") - set (GLIB_MKENUMS_CMD "${PYTHON_EXECUTABLE}" "${GLIB_MKENUMS}") - else () - execute_process(COMMAND "${PERL_EXECUTABLE}" "${GLIB_MKENUMS}" --version - RESULT_VARIABLE GLIB_MKENUMS_PERL - OUTPUT_QUIET ERROR_QUIET - ) - if (GLIB_MKENUMS_PERL EQUAL 0) - message("${GLIB_MKENUMS} is a PERL script.") - set (GLIB_MKENUMS_CMD "${PERL_EXECUTABLE}" "${GLIB_MKENUMS}") - endif () - if (NOT GLIB_MKENUMS_PERL EQUAL 0 AND NOT GLIB_MKENUMS_PYTHON EQUAL 0) - message(FATAL_ERROR "Unable to determine type of glib-mkenums script") - endif () - endif () - else () - set (GLIB_MKENUMS_CMD "${GLIB_MKENUMS}") - endif () - if (NOT GLIB_MKENUMS_CMD) - message(FATAL_ERROR "HB_HAVE_GOBJECT was set, but we failed to find glib-mkenums, which is required") - endif () - - pkg_check_modules(PC_GOBJECT QUIET gobject-2.0) - - find_library(GOBJECT_LIBRARIES NAMES gobject-2.0 HINTS ${PC_GLIB_LIBDIR} ${PC_GLIB_LIBRARY_DIRS}) - find_path(GOBJECT_INCLUDE_DIR NAMES glib-object.h HINTS ${PC_GLIB_INCLUDEDIR} ${PC_GLIB_INCLUDE_DIRS} PATH_SUFFIXES glib-2.0) - - include_directories(${GOBJECTCONFIG_INCLUDE_DIR} ${GOBJECT_INCLUDE_DIR}) - mark_as_advanced(GOBJECT_LIBRARIES GOBJECT_INCLUDE_DIR) - - list(APPEND hb_gobject_sources ${PROJECT_SOURCE_DIR}/src/hb-gobject-structs.cc) - list(APPEND hb_gobject_gen_sources - ${CMAKE_CURRENT_BINARY_DIR}/src/hb-gobject-enums.cc - ) - list(APPEND hb_gobject_structs_headers - ${PROJECT_SOURCE_DIR}/src/hb-gobject-structs.h - ) - list(APPEND hb_gobject_headers - ${PROJECT_SOURCE_DIR}/src/hb-gobject.h - ${hb_gobject_structs_headers} - ) - list(APPEND hb_gobject_gen_headers - ${CMAKE_CURRENT_BINARY_DIR}/src/hb-gobject-enums.h - ) - - add_custom_command( - OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/src/hb-gobject-enums.h - COMMAND ${GLIB_MKENUMS_CMD} - --template=${PROJECT_SOURCE_DIR}/src/hb-gobject-enums.h.tmpl - --identifier-prefix hb_ - --symbol-prefix hb_gobject - ${hb_gobject_structs_headers} - ${project_headers} - > ${CMAKE_CURRENT_BINARY_DIR}/src/hb-gobject-enums.h.tmp - COMMAND "${CMAKE_COMMAND}" - "-DENUM_INPUT_SRC=${CMAKE_CURRENT_BINARY_DIR}/src/hb-gobject-enums.h.tmp" - "-DENUM_OUTPUT_SRC=${CMAKE_CURRENT_BINARY_DIR}/src/hb-gobject-enums.h" - -P ${PROJECT_SOURCE_DIR}/replace-enum-strings.cmake - DEPENDS ${PROJECT_SOURCE_DIR}/src/hb-gobject-enums.h.tmpl - ${hb_gobject_header} - ${project_headers} - ) - - add_custom_command( - OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/src/hb-gobject-enums.cc - COMMAND ${GLIB_MKENUMS_CMD} - --template=${PROJECT_SOURCE_DIR}/src/hb-gobject-enums.cc.tmpl - --identifier-prefix hb_ - --symbol-prefix hb_gobject - ${hb_gobject_header} - ${project_headers} - > ${CMAKE_CURRENT_BINARY_DIR}/src/hb-gobject-enums.cc.tmp - COMMAND "${CMAKE_COMMAND}" - "-DENUM_INPUT_SRC=${CMAKE_CURRENT_BINARY_DIR}/src/hb-gobject-enums.cc.tmp" - "-DENUM_OUTPUT_SRC=${CMAKE_CURRENT_BINARY_DIR}/src/hb-gobject-enums.cc" - -P ${PROJECT_SOURCE_DIR}/replace-enum-strings.cmake - DEPENDS ${PROJECT_SOURCE_DIR}/src/hb-gobject-enums.cc.tmpl - ${CMAKE_CURRENT_BINARY_DIR}/src/hb-gobject-enums.h - ${hb_gobject_header} - ${project_headers} - ) -endif () - - -## Define harfbuzz library -add_library(harfbuzz ${project_sources} ${project_extra_sources} ${project_headers}) -target_link_libraries(harfbuzz ${THIRD_PARTY_LIBS}) -target_include_directories(harfbuzz PUBLIC - "$" - "$") - -## Define harfbuzz-icu library -if (HB_HAVE_ICU) - add_library(harfbuzz-icu ${PROJECT_SOURCE_DIR}/src/hb-icu.cc ${PROJECT_SOURCE_DIR}/src/hb-icu.h) - add_dependencies(harfbuzz-icu harfbuzz) - target_link_libraries(harfbuzz-icu harfbuzz ${THIRD_PARTY_LIBS}) - - if (BUILD_SHARED_LIBS) - set_target_properties(harfbuzz harfbuzz-icu PROPERTIES VISIBILITY_INLINES_HIDDEN TRUE) - endif () -endif () - - -## Define harfbuzz-subset library -if (HB_BUILD_SUBSET) - add_library(harfbuzz-subset ${subset_project_sources} ${subset_project_headers}) - list(APPEND project_headers ${PROJECT_SOURCE_DIR}/src/hb-subset.h) - add_dependencies(harfbuzz-subset harfbuzz) - target_link_libraries(harfbuzz-subset harfbuzz ${THIRD_PARTY_LIBS}) - - if (BUILD_SHARED_LIBS) - set_target_properties(harfbuzz harfbuzz-subset PROPERTIES VISIBILITY_INLINES_HIDDEN TRUE) - endif () -endif () - -if (UNIX OR MINGW) - # Make symbols link locally - include (CheckCXXCompilerFlag) - CHECK_CXX_COMPILER_FLAG(-Bsymbolic-functions CXX_SUPPORTS_FLAG_BSYMB_FUNCS) - if (CXX_SUPPORTS_FLAG_BSYMB_FUNCS) - link_libraries(-Bsymbolic-functions) - endif () - - if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang" OR CMAKE_CXX_COMPILER_ID STREQUAL "GNU") - # Make sure we don't link to libstdc++ - set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-rtti -fno-exceptions") - set (CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "m") # libm - set (CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "") - set_target_properties(harfbuzz PROPERTIES LINKER_LANGUAGE C) - if (HB_BUILD_SUBSET) - set_target_properties(harfbuzz-subset PROPERTIES LINKER_LANGUAGE C) - endif () - - # No threadsafe statics as we do it ourselves - set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-threadsafe-statics") - endif () - - CHECK_CXX_COMPILER_FLAG("-std=c++11" COMPILER_SUPPORTS_CXX11) - if (COMPILER_SUPPORTS_CXX11) - set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") - else() - message(STATUS "The compiler ${CMAKE_CXX_COMPILER} has no C++11 support. Please use a different C++ compiler.") - endif() -endif () - - -## Define harfbuzz-gobject library -if (HB_HAVE_GOBJECT) - add_library(harfbuzz-gobject - ${hb_gobject_sources} - ${hb_gobject_gen_sources} - ${hb_gobject_headers} - ${hb_gobject_gen_headers} - ) - include_directories(BEFORE ${CMAKE_CURRENT_BINARY_DIR}/src) - add_dependencies(harfbuzz-gobject harfbuzz) - target_link_libraries(harfbuzz-gobject harfbuzz ${GOBJECT_LIBRARIES} ${THIRD_PARTY_LIBS}) - - if (BUILD_SHARED_LIBS) - set_target_properties(harfbuzz-gobject PROPERTIES VISIBILITY_INLINES_HIDDEN TRUE) - endif () -endif () - -if (BUILD_SHARED_LIBS AND WIN32 AND NOT MINGW) - add_definitions("-DHB_DLL_EXPORT") -endif () - -# On Windows, g-ir-scanner requires a DLL build in order for it to work -if (WIN32) - if (NOT BUILD_SHARED_LIBS) - message("Building introspection files on Windows requires BUILD_SHARED_LIBS to be enabled.") - set (HB_HAVE_INTROSPECTION OFF) - endif () -endif () - -if (HB_HAVE_INTROSPECTION) - find_package(PkgConfig) - pkg_check_modules(PC_GI QUIET gobject-introspection-1.0) - - find_program(G_IR_SCANNER g-ir-scanner - HINTS ${PC_g_ir_scanner} - ) - - find_program(G_IR_COMPILER g-ir-compiler - HINTS ${PC_g_ir_compiler} - ) - - if (WIN32 AND NOT MINGW) - # Note that since we already enable HB_HAVE_GOBJECT - # we would already have PYTHON_EXECUTABLE handy - set (G_IR_SCANNER_CMD "${PYTHON_EXECUTABLE}" "${G_IR_SCANNER}") - else () - set (G_IR_SCANNER_CMD "${G_IR_SCANNER}") - endif () - - # We need to account for the varying output directories - # when we build using Visual Studio projects - if ("${CMAKE_GENERATOR}" MATCHES "Visual Studio*") - set (hb_libpath "${CMAKE_CURRENT_BINARY_DIR}/$") - else () - set (hb_libpath "$") - endif () - - # Get the CFlags that we used to build HarfBuzz/HarfBuzz-GObject - set (hb_defines_cflags "") - foreach (hb_cflag ${hb_cflags}) - list(APPEND hb_defines_cflags "-D${hb_cflag}") - endforeach (hb_cflag) - - # Get the other dependent libraries we used to build HarfBuzz/HarfBuzz-GObject - set (extra_libs "") - foreach (extra_lib ${THIRD_PARTY_LIBS}) - # We don't want the .lib extension here... - string(REPLACE ".lib" "" extra_lib_stripped "${extra_lib}") - list(APPEND extra_libs "--extra-library=${extra_lib_stripped}") - endforeach () - - set (introspected_sources) - foreach (f - ${project_headers} - ${project_sources} - ${hb_gobject_gen_sources} - ${hb_gobject_gen_headers} - ${hb_gobject_sources} - ${hb_gobject_headers} - ) - if (WIN32) - # Nasty issue: We need to make drive letters lower case, - # otherwise g-ir-scanner won't like it and give us a bunch - # of invalid items and unresolved types... - STRING(SUBSTRING "${f}" 0 1 drive) - STRING(SUBSTRING "${f}" 1 -1 path) - if (drive MATCHES "[A-Z]") - STRING(TOLOWER ${drive} drive_lower) - list(APPEND introspected_sources "${drive_lower}${path}") - else () - list(APPEND introspected_sources "${f}") - endif () - else () - list(APPEND introspected_sources "${f}") - endif () - endforeach () - - file(REMOVE ${CMAKE_CURRENT_BINARY_DIR}/src/hb_gir_list) - foreach (s ${introspected_sources}) - file(APPEND ${CMAKE_CURRENT_BINARY_DIR}/src/hb_gir_list "${s}\n") - endforeach () - - # Finally, build the introspection files... - add_custom_command( - TARGET harfbuzz-gobject - POST_BUILD - COMMAND ${G_IR_SCANNER_CMD} - --warn-all --no-libtool --verbose - --namespace=HarfBuzz - --nsversion=0.0 - --symbol-prefix=hb - --symbol-prefix=hb_gobject - --identifier-prefix=hb_ - --include GObject-2.0 - --pkg-export=harfbuzz-gobject - --c-include=hb-gobject.h - --cflags-begin - -I${PROJECT_SOURCE_DIR}/src - -I${PROJECT_BINARY_DIR}/src - ${hb_includedir_cflags} - ${hb_defines_cflags} - -DHB_H - -DHB_H_IN - -DHB_OT_H - -DHB_OT_H_IN - -DHB_AAT_H - -DHB_AAT_H_IN - -DHB_GOBJECT_H - -DHB_GOBJECT_H_IN - -DHB_EXTERN= - --cflags-end - --library=harfbuzz-gobject - --library=harfbuzz - -L${hb_libpath} - ${extra_libs} - --filelist ${CMAKE_CURRENT_BINARY_DIR}/src/hb_gir_list - -o ${hb_libpath}/HarfBuzz-0.0.gir - DEPENDS harfbuzz-gobject harfbuzz ${CMAKE_CURRENT_BINARY_DIR}/src/hb_gir_list - ) - - add_custom_command( - TARGET harfbuzz-gobject - POST_BUILD - COMMAND "${G_IR_COMPILER}" - --verbose --debug - --includedir ${CMAKE_CURRENT_BINARY_DIR} - ${hb_libpath}/HarfBuzz-0.0.gir - -o ${hb_libpath}/HarfBuzz-0.0.typelib - DEPENDS ${hb_libpath}/HarfBuzz-0.0.gir harfbuzz-gobject - ) -endif () - - -## Additional framework build configs -if (BUILD_FRAMEWORK) - set (CMAKE_MACOSX_RPATH ON) - set_target_properties(harfbuzz PROPERTIES - FRAMEWORK TRUE - PUBLIC_HEADER "${project_headers}" - XCODE_ATTRIBUTE_INSTALL_PATH "@rpath" - ) - set (MACOSX_FRAMEWORK_IDENTIFIER "harfbuzz") - set (MACOSX_FRAMEWORK_SHORT_VERSION_STRING "${HB_VERSION}") - set (MACOSX_FRAMEWORK_BUNDLE_VERSION "${HB_VERSION}") -endif () - - -## Additional harfbuzz build artifacts -if (HB_BUILD_UTILS) - # https://github.com/WebKit/webkit/blob/master/Source/cmake/FindCairo.cmake - find_package(PkgConfig) - pkg_check_modules(PC_CAIRO QUIET cairo) - - find_path(CAIRO_INCLUDE_DIRS NAMES cairo.h HINTS ${PC_CAIRO_INCLUDEDIR} ${PC_CAIRO_INCLUDE_DIRS} PATH_SUFFIXES cairo) - find_library(CAIRO_LIBRARIESNAMES cairo HINTS ${PC_CAIRO_LIBDIR} ${PC_CAIRO_LIBRARY_DIRS}) - - add_definitions("-DPACKAGE_NAME=\"HarfBuzz\"") - add_definitions("-DPACKAGE_VERSION=\"${HB_VERSION}\"") - include_directories(${CAIRO_INCLUDE_DIRS}) - - add_executable(hb-view ${HB_VIEW_sources}) - target_link_libraries(hb-view harfbuzz ${CAIRO_LIBRARIESNAMES}) - - add_executable(hb-shape ${HB_SHAPE_sources}) - target_link_libraries(hb-shape harfbuzz) - - add_executable(hb-subset ${HB_SUBSET_CLI_sources}) - target_link_libraries(hb-subset harfbuzz harfbuzz-subset) - - add_executable(hb-ot-shape-closure ${HB_OT_SHAPE_CLOSURE_sources}) - target_link_libraries(hb-ot-shape-closure harfbuzz) - - mark_as_advanced(CAIRO_INCLUDE_DIRS CAIRO_LIBRARIESNAMES) -endif () - - -## Install -include (GNUInstallDirs) - -if (NOT SKIP_INSTALL_HEADERS AND NOT SKIP_INSTALL_ALL) - install(FILES ${project_headers} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/harfbuzz) - if (HB_HAVE_GOBJECT) - install(FILES ${hb_gobject_headers} ${hb_gobject_gen_headers} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/harfbuzz) - endif () -endif () - -if (NOT SKIP_INSTALL_LIBRARIES AND NOT SKIP_INSTALL_ALL) - install(TARGETS harfbuzz - EXPORT harfbuzzConfig - ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} - LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} - RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} - FRAMEWORK DESTINATION Library/Frameworks - ) - install(EXPORT harfbuzzConfig - NAMESPACE harfbuzz:: - DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/harfbuzz - ) - if (HB_HAVE_ICU) - install(TARGETS harfbuzz-icu - ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} - LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} - RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} - FRAMEWORK DESTINATION Library/Frameworks - ) - endif () - if (HB_BUILD_SUBSET) - install(TARGETS harfbuzz-subset - ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} - ) - endif () - if (HB_BUILD_UTILS) - if (WIN32 AND BUILD_SHARED_LIBS) - install(TARGETS harfbuzz-subset - RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} - ) - endif () - install(TARGETS hb-view - RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} - ) - install(TARGETS hb-subset - RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} - ) - - install(TARGETS hb-shape - RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} - ) - - install(TARGETS hb-ot-shape-closure - RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} - ) - endif () - if (HB_HAVE_GOBJECT) - install(TARGETS harfbuzz-gobject - ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} - LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} - RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} - ) - if (HB_HAVE_INTROSPECTION) - if ("${CMAKE_GENERATOR}" MATCHES "Visual Studio*") - set (hb_libpath "${CMAKE_CURRENT_BINARY_DIR}/$") - else () - set (hb_libpath "$") - endif () - - install(FILES "${hb_libpath}/HarfBuzz-0.0.gir" - DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/gir-1.0 - ) - - install(FILES "${hb_libpath}/HarfBuzz-0.0.typelib" - DESTINATION ${CMAKE_INSTALL_LIBDIR}/girepository-1.0 - ) - endif () - endif () -endif () diff --git a/harfbuzz/CONFIG.md b/harfbuzz/CONFIG.md deleted file mode 100644 index 15b4ffa..0000000 --- a/harfbuzz/CONFIG.md +++ /dev/null @@ -1,157 +0,0 @@ -# Configuring HarfBuzz - -Most of the time you will not need any custom configuration. The configuration -options provided by `meson` should be enough. In particular, if you just want -HarfBuzz library plus hb-shape / hb-view utilities, make sure FreeType and Cairo -are available and found during configuration. - -If you are building for distribution, you should more carefully consider whether -you need Glib, ICU, Graphite2, as well as CoreText / Uniscribe / DWrite. Make -sure the relevant ones are enabled. - -If you are building for custom environment (embedded, downloadable app, etc) -where you mostly just want to call `hb_shape()` and the binary size of the -resulting library is very important to you, the rest of this file guides you -through your options to disable features you may not need, in exchange for -binary size savings. - -## Compiler Options - -Make sure you build with your compiler's "optimize for size" option. On `gcc` -this is `-Os`, and can be enabled by passing `CXXFLAGS=-Os`. On clang there -is an even more extreme flag, `-Oz`. Meson also provides `--buildtype=minsize` -for more convenience. - -HarfBuzz heavily uses inline functions and the optimize-size flag can make the -library smaller by 20% or more. Moreover, sometimes, based on the target CPU, -the optimize-size builds perform *faster* as well, thanks to lower code -footprint and caching effects. So, definitely try that even if size is not -extremely tight but you have a huge application. For example, Chrome does -that. Note that this configuration also automatically enables certain internal -optimizations. Search for `HB_OPTIMIZE_SIZE` for details, if you are using -other compilers, or continue reading. - -Another compiler option to consider is "link-time optimization", also known as -'lto'. To enable that, feel free to use `-Db_lto=true` of meson. -This, also, can have a huge impact on the final size, 20% or more. - -Finally, if you are making a static library build or otherwise linking the -library into your app, make sure your linker removes unused functions. This -can be tricky and differ from environment to environment, but you definitely -want to make sure this happens. Otherwise, every unused public function will -be adding unneeded bytes to your binary. The following pointers might come -handy: - - * https://lwn.net/Articles/741494/ (all of the four-part series) - * https://elinux.org/images/2/2d/ELC2010-gc-sections_Denys_Vlasenko.pdf - -Combining the above three build options should already shrink your library a lot. -The rest of this file shows you ways to shrink the library even further at the -expense of removing functionality (that may not be needed). The remaining -options are all enabled by defining pre-processor macros, which can be done -via `CXXFLAGS` or `CPPFLAGS` similarly. - - -## Unicode-functions - -Access to Unicode data can be configured at compile time as well as run-time. -By default, HarfBuzz ships with its own compact subset of properties from -Unicode Character Database that it needs. This is a highly-optimized -implementation that depending on compile settings (optimize-size or not) -takes around ~40kb or ~60kb. Using this implementation (default) is highly -recommended, as HarfBuzz always ships with data from latest version of Unicode. -This implementation can be disabled by defining `HB_NO_UCD`. - -For example, if you are enabling ICU as a built-in option, or GLib, those -can provide Unicode data as well, so defining `HB_NO_UCD` might save you -space without reducing functionality (to the extent that the Unicode version -of those implementations is recent.) - -If, however, you provide your own Unicode data to HarfBuzz at run-time by -calling `hb_buffer_set_unicode_funcs` on every buffer you create, and you do -not rely on `hb_unicode_funcs_get_default()` results, you can disable the -internal implementation by defining both `HB_NO_UCD` and `HB_NO_UNICODE_FUNCS`. -The latter is needed to guard against accidentally building a library without -any default Unicode implementations. - - -## Font-functions - -Access to certain font functionalities can also be configured at run-time. By -default, HarfBuzz uses an efficient internal implementation of OpenType -functionality for this. This internal implementation is called `hb-ot-font`. -All newly-created `hb_font_t` objects by default use `hb-ot-font`. Using this -is highly recommended, and is what fonts use by default when they are created. - -Most embedded uses will probably use HarfBuzz with FreeType using `hb-ft.h`. -In that case, or if you otherwise provide those functions by calling -`hb_font_set_funcs()` on every font you create, you can disable `hb-ot-font` -without loss of functionality by defining `HB_NO_OT_FONT`. - - -## Shapers - -Most HarfBuzz clients use it for the main shaper, called "ot". However, it -is legitimate to want to compile HarfBuzz with only another backend, eg. -CoreText, for example for an iOS app. For that, you want `HB_NO_OT_SHAPE`. -If you are going down that route, check if you want `HB_NO_OT`. - -This is very rarely what you need. Make sure you understand exactly what you -are doing. - -Defining `HB_NO_FALLBACK_SHAPE` however is pretty harmless. That removes the -(unused) "fallback" shaper. - - -## Thread-safety - -By default HarfBuzz builds as a thread-safe library. The exception is that -the `HB_TINY` predefined configuring (more below) disables thread-safety. - -If you do *not* need thread-safety in the library (eg. you always call into -HarfBuzz from the same thread), you can disable thread-safety by defining -`HB_NO_MT`. As noted already, this is enabled by `HB_TINY`. - - -## Pre-defined configurations - -The [`hb-config.hh`](src/hb-config.hh) internal header supports three -pre-defined configurations as well grouping of various configuration options. -The pre-defined configurations are: - - * `HB_MINI`: Disables shaping of AAT as well as legacy fonts. Ie. it produces - a capable OpenType shaper only. - - * `HB_LEAN`: Disables various non-shaping functionality in the library, as well - as esoteric or rarely-used shaping features. See the definition for details. - - * `HB_TINY`: Enables both `HB_MINI` and `HB_LEAN` configurations, as well as - disabling thread-safety and debugging, and use even more size-optimized data - tables. - - -## Tailoring configuration - -Most of the time, one of the pre-defined configuration is exactly what one needs. -Sometimes, however, the pre-defined configuration cuts out features that might -be desired in the library. Unfortunately there is no quick way to undo those -configurations from the command-line. - -However, configuration can still be overridden from a file. To do that, add your -override instructions (mostly `undef` instructions) to a header file and define -the macro `HB_CONFIG_OVERRIDE_H` to the string containing to that header file's -name. HarfBuzz will then include that file at appropriate right place during -configuration. - -Up until HarfBuzz 3.1.2 the the configuration override header file's name was -fixed and called `config-override.h`, and was activated by defining the macro -`HAVE_CONFIG_OVERRIDE_H`. That still works. - - -## Notes - -Note that the config option `HB_NO_CFF`, which is enabled by `HB_LEAN` and -`HB_TINY` does *not* mean that the resulting library won't work with CFF fonts. -The library can shape valid CFF fonts just fine, with or without this option. -This option disables (among other things) the code to calculate glyph extents -for CFF fonts. diff --git a/harfbuzz/COPYING b/harfbuzz/COPYING deleted file mode 100644 index 48d1b30..0000000 --- a/harfbuzz/COPYING +++ /dev/null @@ -1,38 +0,0 @@ -HarfBuzz is licensed under the so-called "Old MIT" license. Details follow. -For parts of HarfBuzz that are licensed under different licenses see individual -files names COPYING in subdirectories where applicable. - -Copyright © 2010,2011,2012,2013,2014,2015,2016,2017,2018,2019,2020 Google, Inc. -Copyright © 2018,2019,2020 Ebrahim Byagowi -Copyright © 2019,2020 Facebook, Inc. -Copyright © 2012 Mozilla Foundation -Copyright © 2011 Codethink Limited -Copyright © 2008,2010 Nokia Corporation and/or its subsidiary(-ies) -Copyright © 2009 Keith Stribley -Copyright © 2009 Martin Hosken and SIL International -Copyright © 2007 Chris Wilson -Copyright © 2005,2006,2020,2021 Behdad Esfahbod -Copyright © 2005 David Turner -Copyright © 2004,2007,2008,2009,2010 Red Hat, Inc. -Copyright © 1998-2004 David Turner and Werner Lemberg - -For full copyright notices consult the individual files in the package. - - -Permission is hereby granted, without written agreement and without -license or royalty fees, to use, copy, modify, and distribute this -software and its documentation for any purpose, provided that the -above copyright notice and the following two paragraphs appear in -all copies of this software. - -IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR -DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES -ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN -IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH -DAMAGE. - -THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, -BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND -FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS -ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO -PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. diff --git a/harfbuzz/ChangeLog b/harfbuzz/ChangeLog deleted file mode 100644 index 7e19c3d..0000000 --- a/harfbuzz/ChangeLog +++ /dev/null @@ -1,158602 +0,0 @@ -commit be91d2917d9860326cb5fd1d03ffe1042a72f6d3 -Author: Khaled Hosny -Date: Sun Dec 12 04:45:54 2021 +0200 - - 3.2.0 - - NEWS | 16 ++++++++++++++++ - configure.ac | 2 +- - meson.build | 2 +- - src/hb-version.h | 6 +++--- - 4 files changed, 21 insertions(+), 5 deletions(-) - -commit 77507a1d8d872d8cd4f62b807e933cd3e2cdb110 -Author: Garret Rieger -Date: Fri Dec 10 14:10:04 2021 -0800 - - [subset] Don't double count visit lookups in closure_lookups - - Each recursed lookup was getting counted once in closure_lookups() and then again in hb_closure_lookups_context_t::recurse. - - src/hb-ot-layout-gsubgpos.hh | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -commit d67025705f0c4993cdd756bc47d942e14ceed0a1 -Author: Garret Rieger -Date: Fri Dec 10 13:52:05 2021 -0800 - - [subset] reset the visited lookup count before each closure iteration. - - src/hb-ot-layout-gsubgpos.hh | 3 +++ - src/hb-ot-layout.cc | 1 + - 2 files changed, 4 insertions(+) - -commit 23159084b43c1ce429d9e98035bf845919fd8a89 -Author: Behdad Esfahbod -Date: Fri Dec 10 15:00:16 2021 -0700 - - [morx] Reverse graphemese, not whole buffer - - Fixes https://github.com/harfbuzz/harfbuzz/issues/3314 - Supersedes https://github.com/harfbuzz/harfbuzz/pull/3315 - - src/hb-aat-layout-morx-table.hh | 4 ++-- - src/hb-ot-layout.hh | 6 ++++++ - src/hb-ot-shape.cc | 15 +-------------- - test/shape/data/in-house/tests/macos.tests | 3 +++ - 4 files changed, 12 insertions(+), 16 deletions(-) - -commit 5b995526f7d0d1e688f68005b410a93cf1685544 -Author: Behdad Esfahbod -Date: Fri Dec 10 14:59:56 2021 -0700 - - [buffer] Fix reverse_group() to reverse() at the end - - src/hb-buffer.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 21c4fc1011854547edf564573fdbec4687e76e04 -Author: Behdad Esfahbod -Date: Fri Dec 10 13:02:43 2021 -0700 - - [buffer] Add optional merge_clusters arg to reverse_groups() - - src/hb-buffer.hh | 7 ++++++- - 1 file changed, 6 insertions(+), 1 deletion(-) - -commit e949e512181d04da1add14f6133a6d68f7a60fc2 -Author: Behdad Esfahbod -Date: Fri Dec 10 12:58:27 2021 -0700 - - [ot-layout] Port foreach_grapheme to buffer foreach_group - - src/hb-ot-layout.hh | 22 ++++++---------------- - 1 file changed, 6 insertions(+), 16 deletions(-) - -commit eb96e69d18aa45a623c05bf69e562b3918724f6f -Author: Behdad Esfahbod -Date: Fri Dec 10 12:55:29 2021 -0700 - - [buffer] Add foreach_group() - - src/hb-buffer.hh | 40 ++++++++++++++++++++-------------------- - 1 file changed, 20 insertions(+), 20 deletions(-) - -commit 1b78e04c78338266c200226bccb21188355046ca -Author: Behdad Esfahbod -Date: Fri Dec 10 12:45:43 2021 -0700 - - [buffer] Add ::reverse_groups() - - src/hb-buffer.cc | 23 ----------------------- - src/hb-buffer.hh | 26 +++++++++++++++++++++++++- - 2 files changed, 25 insertions(+), 24 deletions(-) - -commit 4cd96e73e40acfa65b7d0726a7186bf31c169b2a -Author: Behdad Esfahbod -Date: Fri Dec 10 12:33:21 2021 -0700 - - [buffer] Inline revers_range() / reverse() - - src/hb-buffer.cc | 23 ----------------------- - src/hb-buffer.hh | 10 ++++++++-- - 2 files changed, 8 insertions(+), 25 deletions(-) - -commit 5914acb3cbb3634e9e94e0e571d96b806b7ecacf -Author: Garret Rieger -Date: Fri Dec 10 10:05:47 2021 -0800 - - [repacker] Clear distance and position cache when assigning a new space. - - A change in space will effect the distance assigned to the node and any of it's children so clear the distance cache. - - src/hb-repacker.hh | 2 ++ - 1 file changed, 2 insertions(+) - -commit 706014f69dc2cde140e17faf32d32a1cbd5d0000 -Author: Qunxin Liu -Date: Wed Dec 1 20:20:12 2021 -0800 - - [subset] (Chain)ContextSubst glyph_closure fix - - - When pos_glyphs is empty, use current full glyphs set as input for - subsequent recursive closure process - - Also increase max_lookup_visit_count to 35000 cause a real font file hit - previous limit 20000 and some lookups are dropped unexpectedly - - src/hb-ot-layout-common.hh | 6 +++--- - src/hb-ot-layout-gsubgpos.hh | 24 +++++++++++++-------- - ...Bold.default.627,644,623,62D,644,627,645,2E.ttf | Bin 11372 -> 19032 bytes - ...toNastaliqUrdu-Bold.default.627,644,62D,628.ttf | Bin 17640 -> 25608 bytes - .../NotoNastaliqUrdu-Bold.default.627,644.ttf | Bin 3512 -> 8040 bytes - ...rdu-Bold.default.633,645,627,621,20,644,627.ttf | Bin 12360 -> 22776 bytes - .../NotoNastaliqUrdu-Bold.default.63A,64A,631.ttf | Bin 19340 -> 27772 bytes - ...taliqUrdu-Bold.default.retain-all-codepoint.ttf | Bin 0 -> 543364 bytes - ....retain-gids.627,644,623,62D,644,627,645,2E.ttf | Bin 18208 -> 25868 bytes - ...staliqUrdu-Bold.retain-gids.627,644,62D,628.ttf | Bin 23704 -> 31676 bytes - .../NotoNastaliqUrdu-Bold.retain-gids.627,644.ttf | Bin 9160 -> 13688 bytes - ...Bold.retain-gids.633,645,627,621,20,644,627.ttf | Bin 18164 -> 28580 bytes - ...toNastaliqUrdu-Bold.retain-gids.63A,64A,631.ttf | Bin 25392 -> 33824 bytes - ...qUrdu-Bold.retain-gids.retain-all-codepoint.ttf | Bin 0 -> 543364 bytes - test/subset/data/fonts/NotoNastaliqUrdu-Bold.ttf | Bin 459600 -> 589224 bytes - .../data/tests/layout.notonastaliqurdu.tests | 1 + - 16 files changed, 19 insertions(+), 12 deletions(-) - -commit 441877f56aa09bc848a8860007232a7be5e179d9 -Author: Garret Rieger -Date: Thu Dec 9 16:38:05 2021 -0800 - - [repacker] add test case for using max priority to resolve an overflow. - - src/test-repacker.cc | 73 ++++++++++++++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 73 insertions(+) - -commit be2c488e5d20db18e3ee82dee6a22056ed526add -Author: Garret Rieger -Date: Thu Dec 9 15:44:06 2021 -0800 - - [repacker] Improve vertex priority packing. - - Previous priority implementation would move a node further back within it's layer, but at max priority was unable to move any further up than that. This updates the implementation to have 3 priority levels: - 1. Distance is reduced by half of table size. - 2. Distance is reduced by full table size (move to beginning of the layer). - 3. Distance is set to 0. Vertex will be packed as soon as possible. - - Also makes the iterative resolutions aware of max priority, so it won't keep trying to raise priority beyond the maximum. - - src/hb-repacker.hh | 38 +++++++++++++++++++++++++++++--------- - 1 file changed, 29 insertions(+), 9 deletions(-) - -commit 2404617a605cd8c419fe67afa012ddc90a24c685 -Author: David Corbett -Date: Wed Dec 8 21:10:22 2021 -0500 - - Update language system tag registry to OT 1.9 - - src/gen-tag-table.py | 11 +++++++++-- - src/hb-ot-tag-table.hh | 14 +++++++++++++- - 2 files changed, 22 insertions(+), 3 deletions(-) - -commit 002a1f70b81d56b882bd5a68ebdc22c015e88f7f -Author: Behdad Esfahbod -Date: Wed Dec 8 10:45:30 2021 -0800 - - [ft] Disable vertical funcs if HB_NO_VERTICAL - - src/hb-ft.cc | 15 ++++++++++++--- - 1 file changed, 12 insertions(+), 3 deletions(-) - -commit ef14cad736e499f42281e09d3835ad667245e4be -Author: Behdad Esfahbod -Date: Wed Dec 8 10:43:52 2021 -0800 - - [GPOS] Disable vertical advance if HB_NO_VERTICAL - - src/hb-ot-layout-gpos-table.hh | 8 +++++++- - 1 file changed, 7 insertions(+), 1 deletion(-) - -commit 6ed22de1279f7e68666bd9f024a80a4a48a1a467 -Author: Behdad Esfahbod -Date: Wed Dec 8 10:40:40 2021 -0800 - - [CONFIG] Fix HB_NO_VERTICAL build without HB_TINY - - src/hb-ot-glyf-table.hh | 12 ++++++++++-- - src/hb-ot-metrics.cc | 2 ++ - 2 files changed, 12 insertions(+), 2 deletions(-) - -commit 53eebc7cd2680a41c3e7c7ac363b7ecc1355d655 -Author: Behdad Esfahbod -Date: Wed Dec 8 08:32:41 2021 -0800 - - [CONFIG] Add HB_NO_VERTICAL - - src/hb-ot-face-table-list.hh | 2 ++ - src/hb-ot-font.cc | 18 +++++++++++++++--- - src/hb-ot-glyf-table.hh | 25 ++++++++++++++++++++++--- - src/hb-ot-hmtx-table.hh | 9 ++++++++- - src/hb-ot-metrics.cc | 5 +++++ - src/hb-ot-shape.cc | 4 ++++ - 6 files changed, 56 insertions(+), 7 deletions(-) - -commit 9bc5d2903a6c1669a3bd8aa47f42d34c6bbcf763 -Author: Behdad Esfahbod -Date: Wed Dec 8 08:16:17 2021 -0800 - - [TINY] Don't disable VORG table in any config profile - - Is needed for vertical layout of CFF fonts. - - Fixes https://github.com/harfbuzz/harfbuzz/discussions/3294#discussioncomment-1770313 - - src/hb-ot-face-table-list.hh | 2 +- - src/hb-ot-font.cc | 2 -- - 2 files changed, 1 insertion(+), 3 deletions(-) - -commit 3e4a25098df348c459f57829d84c4b0ebb3efc97 -Author: Garret Rieger -Date: Mon Dec 6 16:00:15 2021 -0800 - - [repacker] add a maximum number of roots that can be moved in one iteration. - - Set to half of the roots in a space. This prevents the repacker from moving all roots in a space to a new space if their are overflows in every root. - - src/hb-repacker.hh | 21 ++++++++++++--------- - 1 file changed, 12 insertions(+), 9 deletions(-) - -commit 02b12d7965710de93fa4b42617113e66ddf19add -Author: Garret Rieger -Date: Mon Dec 6 15:23:35 2021 -0800 - - [repacker] Move all overflowing roots to a new space simultaneously. - - src/hb-repacker.hh | 69 +++++++++++++++++++++++++++++++++++++----------------- - 1 file changed, 47 insertions(+), 22 deletions(-) - -commit fa966bcc29e84a579fc32af7663a50bfe7814b1a -Author: Garret Rieger -Date: Mon Dec 6 12:54:19 2021 -0800 - - [repacker] create repacker output buffer after final length is known. - - Don't rely on a buffer provided by the caller, as it may not be large enough. - - src/hb-repacker.hh | 60 ++++++++++++++++++++++++++---------- - src/hb-subset.cc | 18 +++++------ - src/test-repacker.cc | 87 ++++++++++++++++++---------------------------------- - 3 files changed, 80 insertions(+), 85 deletions(-) - -commit 51655a078e599c532b739c1e58556d873dabf6b0 -Author: Qunxin Liu -Date: Sun Dec 5 19:27:57 2021 -0800 - - [subset] COLR : only include glyphs after COLR closure - - src/hb-ot-color-colr-table.hh | 18 ++++++++++++------ - src/hb-subset-plan.cc | 4 +++- - src/hb-subset-plan.hh | 1 + - test/subset/data/Makefile.am | 1 + - test/subset/data/Makefile.sources | 1 + - .../colr_glyphs/BungeeColor-Regular.default.41.ttf | Bin 0 -> 1664 bytes - .../BungeeColor-Regular.drop-hints-retain-gids.41.ttf | Bin 0 -> 3384 bytes - .../colr_glyphs/BungeeColor-Regular.drop-hints.41.ttf | Bin 0 -> 1656 bytes - .../BungeeColor-Regular.retain-gids.41.ttf | Bin 0 -> 3392 bytes - test/subset/data/fonts/BungeeColor-Regular.ttf | Bin 0 -> 75348 bytes - test/subset/data/tests/colr_glyphs.tests | 11 +++++++++++ - test/subset/meson.build | 1 + - 12 files changed, 30 insertions(+), 7 deletions(-) - -commit 70f8c57e5c72697bdd2dc84b3573e1e90a94d681 -Author: Behdad Esfahbod -Date: Sat Dec 4 19:49:23 2021 -0800 - - [buffer] Rename find_min_cluster - - src/hb-buffer.cc | 7 ++++--- - src/hb-buffer.hh | 8 ++++---- - 2 files changed, 8 insertions(+), 7 deletions(-) - -commit 94d43c008ab4ec2281b693af1f4014b1ebce1b14 -Author: Behdad Esfahbod -Date: Sat Dec 4 16:56:39 2021 -0800 - - [buffer] Merge and rename clear_glyph_flags() - - src/hb-buffer.hh | 5 ++--- - src/hb-coretext.cc | 2 +- - src/hb-directwrite.cc | 2 +- - src/hb-fallback-shape.cc | 2 +- - src/hb-graphite2.cc | 2 +- - src/hb-ot-layout-gsub-table.hh | 2 +- - src/hb-uniscribe.cc | 2 +- - 7 files changed, 8 insertions(+), 9 deletions(-) - -commit b95d252fabca73ded3c7529ba726499ec6dcda5d -Author: Behdad Esfahbod -Date: Fri Dec 3 11:49:55 2021 -0700 - - [CONFIG] Add HB_CONFIG_OVERRIDE_H to simplify config overrides - - CONFIG.md | 15 +++++++++++---- - src/hb-config.hh | 7 +++++-- - 2 files changed, 16 insertions(+), 6 deletions(-) - -commit 74b46b29e7ebb8521fdbf92325a3798083381237 -Author: Qunxin Liu -Date: Thu Dec 2 19:50:16 2021 -0800 - - [subset] MATH: don't serialize coverage table when iterator is empty - - when iterator is empty, just set coverage offset to 0. - serialize() in coverage will at lease write out a 16-bit format header. - - src/hb-ot-math-table.hh | 10 +++++++--- - test/subset/data/Makefile.am | 1 + - test/subset/data/Makefile.sources | 1 + - .../Caudex-Regular.default.retain-all-codepoint.ttf | Bin 0 -> 417604 bytes - ...Caudex-Regular.glyph-names.retain-all-codepoint.ttf | Bin 0 -> 436712 bytes - ...r.keep-all-layout-features.retain-all-codepoint.ttf | Bin 0 -> 417604 bytes - ...dex-Regular.notdef-outline.retain-all-codepoint.ttf | Bin 0 -> 417780 bytes - ...Caudex-Regular.retain-gids.retain-all-codepoint.ttf | Bin 0 -> 417620 bytes - test/subset/data/fonts/Caudex-Regular.ttf | Bin 0 -> 466324 bytes - test/subset/data/tests/math_coverage_offset.tests | 12 ++++++++++++ - test/subset/meson.build | 1 + - 11 files changed, 22 insertions(+), 3 deletions(-) - -commit 1d9ef3a75a445a52d084e805d4abdbaaa4c782d7 -Author: Garret Rieger -Date: Wed Dec 1 10:30:27 2021 -0800 - - [subset] Actually fix end_cp unitialized warning. - - src/hb-ot-cmap-table.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit d8635dfe5a06d1112ea563dcef788097b7b124af -Author: Garret Rieger -Date: Wed Dec 1 10:14:10 2021 -0800 - - [subset] Fix warning about uninitialized use of end_cp. - - src/hb-ot-cmap-table.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 6c81cd9543f35cbc54e938b402355990a3b0859c -Author: Khaled Hosny -Date: Wed Dec 1 19:29:34 2021 +0200 - - [tests] Add tests for platform shapers - - Fixes https://github.com/harfbuzz/harfbuzz/issues/3115 - - test/shape/data/in-house/meson.build | 14 +++++++++++++- - test/shape/data/in-house/tests/coretext.tests | 1 + - test/shape/data/in-house/tests/directwrite.tests | 1 + - test/shape/data/in-house/tests/uniscribe.tests | 1 + - test/shape/meson.build | 11 +++++++++++ - 5 files changed, 27 insertions(+), 1 deletion(-) - -commit 7608b191672972efdc69ce49c22001346f5470c0 -Author: Khaled Hosny -Date: Wed Dec 1 18:57:21 2021 +0200 - - [directwrite] Set unsafe to break flag - - Like the rest of platform shapers. Otherwise hb-shape --verify goes - crazy. - - src/hb-directwrite.cc | 2 ++ - 1 file changed, 2 insertions(+) - -commit 361a438658dcddea29d7c8b9c68bf2bc88109bde -Author: Khaled Hosny -Date: Wed Dec 1 03:16:46 2021 +0200 - - Revert "Revert "[hb-directwrite] Don't load dwrit.dll dynamically"" - - This reverts commit ecbe224743c205c99aa459b27e7fb241cc4b1dc5. - - It was causing directwrite shaper to crash in MSVC builds. - - src/hb-directwrite.cc | 36 ++---------------------------------- - 1 file changed, 2 insertions(+), 34 deletions(-) - -commit 549e2b7038282e34f83b54b36fabf02de0cbfcae -Author: Khaled Hosny -Date: Wed Dec 1 03:16:26 2021 +0200 - - Revert "Remove direct link to dwrite from meson scripts" - - This reverts commit 6ea6c581edb3cecf1b4b42854e37b40d6d067cd3. - - meson.build | 7 ++++++- - src/meson.build | 1 + - 2 files changed, 7 insertions(+), 1 deletion(-) - -commit 071aea42c28e84e89b550de03cbd0094382f634c -Author: Garret Rieger -Date: Tue Nov 30 16:16:06 2021 -0800 - - [iter] add specialized implementation for hb_concat forward when iterators are not random access. - - src/hb-iter.hh | 20 +++++++++++++++----- - src/test-iter.cc | 19 +++++++++++++++++++ - 2 files changed, 34 insertions(+), 5 deletions(-) - -commit 2e935514d9790f6f8a7f6639c9564b3d7237d6d3 -Author: Garret Rieger -Date: Tue Nov 30 16:02:05 2021 -0800 - - [iter] fix forward implementation in hb_concat(). - - Add test coverage for forward. - - src/hb-iter.hh | 6 ++++-- - src/test-iter.cc | 22 ++++++++++++++++++++++ - 2 files changed, 26 insertions(+), 2 deletions(-) - -commit 39e76af19ed6ab798d4671ff3e7a4b71e2abe6cf -Author: Garret Rieger -Date: Tue Nov 30 15:25:40 2021 -0800 - - [subset] add all_links () to object_t. - - Helper to provide easy access to concatenated real and virtual links iterator. - - src/hb-repacker.hh | 44 +++++++++++++++----------------------------- - src/hb-serialize.hh | 5 +++++ - 2 files changed, 20 insertions(+), 29 deletions(-) - -commit 9121ed0cecab2296ee2a18042ed89c0ce95dbbaa -Author: Garret Rieger -Date: Tue Nov 30 13:45:22 2021 -0800 - - [subset] Improve sharing of Ligature subtables. - - Ligature subtables use virtual links to enforce an ordering constraint between the subtables and the coverage table. Unfortunately this has the sideeffect of prevent the subtables from being shared by another Ligature with a different coverage table since object equality compares all links real and virtual. This change makes virtual links stored separately from real links and updates the equality check to only check real links. If an object is de-duped any virtual links it has are merged into the object that replaces it. - - src/hb-repacker.hh | 84 +++++++----- - src/hb-serialize.hh | 50 ++++--- - src/test-repacker.cc | 150 +++++++++++++-------- - ...ic-Regular.layout-test.retain-all-codepoint.ttf | Bin 46544 -> 46524 bytes - ...Howrah-Regular.default.retain-all-codepoint.ttf | Bin 174024 -> 173756 bytes - ...rah-Regular.drop-hints.retain-all-codepoint.ttf | Bin 99288 -> 99020 bytes - ...ah-Regular.retain-gids.retain-all-codepoint.ttf | Bin 174324 -> 174056 bytes - ...toNastaliqUrdu-Bold.default.627,644,62D,628.ttf | Bin 17732 -> 17640 bytes - .../NotoNastaliqUrdu-Bold.default.63A,64A,631.ttf | Bin 19432 -> 19340 bytes - ...staliqUrdu-Bold.retain-gids.627,644,62D,628.ttf | Bin 23792 -> 23704 bytes - ...toNastaliqUrdu-Bold.retain-gids.63A,64A,631.ttf | Bin 25484 -> 25392 bytes - ...hnadevaraya-Regular.default.c30,c36,c40,c4d.ttf | Bin 10860 -> 10848 bytes - ...varaya-Regular.default.retain-all-codepoint.ttf | Bin 572812 -> 572104 bytes - ...evaraya-Regular.glyph-names.c30,c36,c40,c4d.ttf | Bin 11292 -> 11280 bytes - ...ya-Regular.glyph-names.retain-all-codepoint.ttf | Bin 608460 -> 607752 bytes - ...raya-Regular.notdef-outline.c30,c36,c40,c4d.ttf | Bin 10940 -> 10928 bytes - ...Regular.notdef-outline.retain-all-codepoint.ttf | Bin 572892 -> 572184 bytes - ...evaraya-Regular.retain-gids.c30,c36,c40,c4d.ttf | Bin 16880 -> 16868 bytes - ...ya-Regular.retain-gids.retain-all-codepoint.ttf | Bin 572824 -> 572116 bytes - 19 files changed, 181 insertions(+), 103 deletions(-) - -commit ca227411102b615edb40a78d2355d2f6cf5291c5 -Author: Garret Rieger -Date: Tue Nov 30 12:53:15 2021 -0800 - - [iter] add hb_concat (a, b). - - Iterates over a, and then over b. - - src/hb-iter.hh | 73 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ - src/test-iter.cc | 33 +++++++++++++++++++++++++ - 2 files changed, 106 insertions(+) - -commit 95329081c2c6e7f763b466ea3cfc9630ddb23dcf -Author: Garret Rieger -Date: Fri Nov 26 16:18:42 2021 -0800 - - [subset] further optimize cmap4 packing. - - src/hb-ot-cmap-table.hh | 48 +++++++++++++++------ - ...aa-Regular-new.default.retain-all-codepoint.ttf | Bin 222692 -> 222684 bytes - ...drop-hints-retain-gids.retain-all-codepoint.ttf | Bin 191568 -> 191560 bytes - ...Regular-new.drop-hints.retain-all-codepoint.ttf | Bin 191520 -> 191512 bytes - ...ortaa-Regular-new.gids.retain-all-codepoint.ttf | Bin 222692 -> 222684 bytes - ...egular-new.glyph-names.retain-all-codepoint.ttf | Bin 229684 -> 229676 bytes - ...ep-all-layout-features.retain-all-codepoint.ttf | Bin 223388 -> 223380 bytes - ...ar-new.layout-features.retain-all-codepoint.ttf | Bin 220884 -> 220876 bytes - ...a-Regular-new.name-ids.retain-all-codepoint.ttf | Bin 222432 -> 222424 bytes - ...lar-new.name-languages.retain-all-codepoint.ttf | Bin 222692 -> 222684 bytes - ...egular-new.name-legacy.retain-all-codepoint.ttf | Bin 222692 -> 222684 bytes - ...o-prune-unicode-ranges.retain-all-codepoint.ttf | Bin 222692 -> 222684 bytes - ...lar-new.notdef-outline.retain-all-codepoint.ttf | Bin 223288 -> 223280 bytes - ...egular-new.retain-gids.retain-all-codepoint.ttf | Bin 222740 -> 222732 bytes - ...tu-Regular.glyph-names.retain-all-codepoint.ttf | Bin 280064 -> 280056 bytes - ...traLightItalic.default.retain-all-codepoint.ttf | Bin 134364 -> 134344 bytes - ...ightItalic.glyph-names.retain-all-codepoint.ttf | Bin 145640 -> 145620 bytes - ...tItalic.notdef-outline.retain-all-codepoint.ttf | Bin 134492 -> 134472 bytes - ...ns-BlackItalic.default.retain-all-codepoint.ttf | Bin 120040 -> 120020 bytes - ...lackItalic.glyph-names.retain-all-codepoint.ttf | Bin 132284 -> 132264 bytes - ...kItalic.notdef-outline.retain-all-codepoint.ttf | Bin 120040 -> 120020 bytes - .../Tinos-Italic.default.retain-all-codepoint.ttf | Bin 410180 -> 410092 bytes - ...nos-Italic.glyph-names.retain-all-codepoint.ttf | Bin 435008 -> 434920 bytes - ...-Italic.notdef-outline.retain-all-codepoint.ttf | Bin 410180 -> 410092 bytes - ...nos-Italic.retain-gids.retain-all-codepoint.ttf | Bin 412556 -> 412468 bytes - ...wLatin-Regular.default.retain-all-codepoint.ttf | Bin 130076 -> 129952 bytes - ...in-Regular.layout-test.retain-all-codepoint.ttf | Bin 152052 -> 151928 bytes - ...in-Regular.retain-gids.retain-all-codepoint.ttf | Bin 133180 -> 133056 bytes - ...woMath-Regular.default.retain-all-codepoint.ttf | Bin 1033572 -> 1033528 bytes - ...th-Regular.glyph-names.retain-all-codepoint.ttf | Bin 1086348 -> 1086304 bytes - ...Regular.notdef-outline.retain-all-codepoint.ttf | Bin 1033820 -> 1033776 bytes - ...th-Regular.retain-gids.retain-all-codepoint.ttf | Bin 1048752 -> 1048716 bytes - 32 files changed, 36 insertions(+), 12 deletions(-) - -commit 599143824c39b3cf37c3cb714364b58d45fc0d3d -Author: Garret Rieger -Date: Fri Nov 26 14:19:39 2021 -0800 - - [subset] Don't pad glyphs when using long loca. - - src/hb-ot-glyf-table.hh | 36 +++++++++++++-------- - ...tu-Regular.glyph-names.retain-all-codepoint.ttf | Bin 280296 -> 280064 bytes - ...Howrah-Regular.default.retain-all-codepoint.ttf | Bin 174308 -> 174024 bytes - ...ah-Regular.retain-gids.retain-all-codepoint.ttf | Bin 174608 -> 174324 bytes - .../Tinos-Italic.default.retain-all-codepoint.ttf | Bin 410932 -> 410180 bytes - ...nos-Italic.glyph-names.retain-all-codepoint.ttf | Bin 435760 -> 435008 bytes - ...-Italic.notdef-outline.retain-all-codepoint.ttf | Bin 410932 -> 410180 bytes - ...nos-Italic.retain-gids.retain-all-codepoint.ttf | Bin 413308 -> 412556 bytes - ...woMath-Regular.default.retain-all-codepoint.ttf | Bin 1035756 -> 1033572 bytes - ...th-Regular.glyph-names.retain-all-codepoint.ttf | Bin 1088532 -> 1086348 bytes - ...Regular.notdef-outline.retain-all-codepoint.ttf | Bin 1036004 -> 1033820 bytes - ...th-Regular.retain-gids.retain-all-codepoint.ttf | Bin 1050936 -> 1048752 bytes - ...varaya-Regular.default.retain-all-codepoint.ttf | Bin 573428 -> 572812 bytes - ...ya-Regular.glyph-names.retain-all-codepoint.ttf | Bin 609076 -> 608460 bytes - ...Regular.notdef-outline.retain-all-codepoint.ttf | Bin 573508 -> 572892 bytes - ...ya-Regular.retain-gids.retain-all-codepoint.ttf | Bin 573440 -> 572824 bytes - 16 files changed, 22 insertions(+), 14 deletions(-) - -commit d9660fd58a3ade1c8962e5cd3f7538a5b5189262 -Author: Garret Rieger -Date: Thu Nov 25 18:15:35 2021 -0800 - - [subset] Make cmap4 packing more optimal. - - The current CMAP4 implementation uses whatever the current codepoint ranges are and then encodes them as indivudal glyph ids or as a delta if possible. However, it's often possible to save bytes by splitting up existing ranges and encoding parts of them using deltas where the cost of splitting the range is less than encoding each glyph individual. - - src/hb-ot-cmap-table.hh | 246 ++++++++++++--------- - ...aa-Regular-new.default.retain-all-codepoint.ttf | Bin 222756 -> 222692 bytes - ...drop-hints-retain-gids.retain-all-codepoint.ttf | Bin 191632 -> 191568 bytes - ...Regular-new.drop-hints.retain-all-codepoint.ttf | Bin 191584 -> 191520 bytes - ...ortaa-Regular-new.gids.retain-all-codepoint.ttf | Bin 222756 -> 222692 bytes - ...egular-new.glyph-names.retain-all-codepoint.ttf | Bin 229748 -> 229684 bytes - ...ep-all-layout-features.retain-all-codepoint.ttf | Bin 223452 -> 223388 bytes - ...ar-new.layout-features.retain-all-codepoint.ttf | Bin 220948 -> 220884 bytes - ...a-Regular-new.name-ids.retain-all-codepoint.ttf | Bin 222496 -> 222432 bytes - ...lar-new.name-languages.retain-all-codepoint.ttf | Bin 222756 -> 222692 bytes - ...egular-new.name-legacy.retain-all-codepoint.ttf | Bin 222756 -> 222692 bytes - ...o-prune-unicode-ranges.retain-all-codepoint.ttf | Bin 222756 -> 222692 bytes - ...lar-new.notdef-outline.retain-all-codepoint.ttf | Bin 223352 -> 223288 bytes - ...egular-new.retain-gids.retain-all-codepoint.ttf | Bin 222804 -> 222740 bytes - ...tu-Regular.glyph-names.retain-all-codepoint.ttf | Bin 281092 -> 280296 bytes - ...Gothic-Regular.default.retain-all-codepoint.ttf | Bin 44584 -> 44544 bytes - ...ic-Regular.layout-test.retain-all-codepoint.ttf | Bin 46584 -> 46544 bytes - ...ic-Regular.retain-gids.retain-all-codepoint.ttf | Bin 44592 -> 44552 bytes - ...traLightItalic.default.retain-all-codepoint.ttf | Bin 134520 -> 134364 bytes - ...ightItalic.glyph-names.retain-all-codepoint.ttf | Bin 145796 -> 145640 bytes - ...tItalic.notdef-outline.retain-all-codepoint.ttf | Bin 134648 -> 134492 bytes - ...ns-BlackItalic.default.retain-all-codepoint.ttf | Bin 120236 -> 120040 bytes - ...lackItalic.glyph-names.retain-all-codepoint.ttf | Bin 132480 -> 132284 bytes - ...kItalic.notdef-outline.retain-all-codepoint.ttf | Bin 120236 -> 120040 bytes - .../Tinos-Italic.default.retain-all-codepoint.ttf | Bin 412764 -> 410932 bytes - ...nos-Italic.glyph-names.retain-all-codepoint.ttf | Bin 437592 -> 435760 bytes - ...-Italic.notdef-outline.retain-all-codepoint.ttf | Bin 412764 -> 410932 bytes - ...nos-Italic.retain-gids.retain-all-codepoint.ttf | Bin 415140 -> 413308 bytes - ...wLatin-Regular.default.retain-all-codepoint.ttf | Bin 131672 -> 130076 bytes - ...in-Regular.layout-test.retain-all-codepoint.ttf | Bin 153648 -> 152052 bytes - ...in-Regular.retain-gids.retain-all-codepoint.ttf | Bin 134776 -> 133180 bytes - ...woMath-Regular.default.retain-all-codepoint.ttf | Bin 1038580 -> 1035756 bytes - ...th-Regular.glyph-names.retain-all-codepoint.ttf | Bin 1091356 -> 1088532 bytes - ...Regular.notdef-outline.retain-all-codepoint.ttf | Bin 1038828 -> 1036004 bytes - ...th-Regular.retain-gids.retain-all-codepoint.ttf | Bin 1053656 -> 1050936 bytes - 35 files changed, 143 insertions(+), 103 deletions(-) - -commit 8aed5c21a31eece6a9f3cd775fda8facb6c28b9b -Author: Khaled Hosny -Date: Fri Nov 26 17:54:18 2021 +0200 - - 3.1.2 - - NEWS | 9 +++++++++ - configure.ac | 2 +- - meson.build | 2 +- - src/hb-version.h | 4 ++-- - 4 files changed, 13 insertions(+), 4 deletions(-) - -commit 720ab0883b4bd7daa32a3c46031a9d8adb5c8a5f -Author: Behdad Esfahbod -Date: Thu Nov 25 11:49:16 2021 -0700 - - [util] Add --single-par - - Use it in aots tests - - Fixes https://github.com/harfbuzz/harfbuzz/issues/3129 - Related https://github.com/harfbuzz/harfbuzz/issues/3298 - - test/shape/data/aots/hb-aots-tester.cpp | 2 +- - test/shape/data/aots/tests/classdef1.tests | 2 +- - test/shape/data/aots/tests/classdef1_empty.tests | 2 +- - .../shape/data/aots/tests/classdef1_multiple.tests | 2 +- - test/shape/data/aots/tests/classdef1_single.tests | 2 +- - test/shape/data/aots/tests/classdef2.tests | 2 +- - test/shape/data/aots/tests/classdef2_empty.tests | 2 +- - .../shape/data/aots/tests/classdef2_multiple.tests | 2 +- - test/shape/data/aots/tests/classdef2_single.tests | 2 +- - test/shape/data/aots/tests/cmap0.tests | 2 +- - test/shape/data/aots/tests/cmap10.tests | 4 ++-- - test/shape/data/aots/tests/cmap12.tests | 2 +- - test/shape/data/aots/tests/cmap2.tests | 2 +- - test/shape/data/aots/tests/cmap4.tests | 12 ++++++------ - test/shape/data/aots/tests/cmap6.tests | 4 ++-- - test/shape/data/aots/tests/cmap8.tests | 2 +- - .../shape/data/aots/tests/gpos1_1_lookupflag.tests | 2 +- - test/shape/data/aots/tests/gpos1_1_simple.tests | 8 ++++---- - test/shape/data/aots/tests/gpos1_2.tests | 2 +- - .../shape/data/aots/tests/gpos1_2_lookupflag.tests | 2 +- - test/shape/data/aots/tests/gpos2_1.tests | 4 ++-- - .../shape/data/aots/tests/gpos2_1_lookupflag.tests | 4 ++-- - .../shape/data/aots/tests/gpos2_1_next_glyph.tests | 4 ++-- - test/shape/data/aots/tests/gpos2_1_simple.tests | 4 ++-- - test/shape/data/aots/tests/gpos2_2.tests | 10 +++++----- - test/shape/data/aots/tests/gpos3.tests | 22 +++++++++++----------- - test/shape/data/aots/tests/gpos3_lookupflag.tests | 4 ++-- - test/shape/data/aots/tests/gpos4_lookupflag.tests | 4 ++-- - .../data/aots/tests/gpos4_multiple_anchors.tests | 2 +- - test/shape/data/aots/tests/gpos4_simple.tests | 10 +++++----- - test/shape/data/aots/tests/gpos5.tests | 4 ++-- - test/shape/data/aots/tests/gpos6.tests | 6 +++--- - test/shape/data/aots/tests/gpos7_1.tests | 4 ++-- - test/shape/data/aots/tests/gpos9.tests | 4 ++-- - .../data/aots/tests/gpos_chaining1_boundary.tests | 8 ++++---- - .../aots/tests/gpos_chaining1_lookupflag.tests | 2 +- - .../tests/gpos_chaining1_multiple_subrules.tests | 4 ++-- - .../aots/tests/gpos_chaining1_next_glyph.tests | 2 +- - .../data/aots/tests/gpos_chaining1_simple.tests | 22 +++++++++++----------- - .../aots/tests/gpos_chaining1_successive.tests | 2 +- - .../data/aots/tests/gpos_chaining2_boundary.tests | 8 ++++---- - .../aots/tests/gpos_chaining2_lookupflag.tests | 2 +- - .../tests/gpos_chaining2_multiple_subrules.tests | 4 ++-- - .../aots/tests/gpos_chaining2_next_glyph.tests | 2 +- - .../data/aots/tests/gpos_chaining2_simple.tests | 22 +++++++++++----------- - .../aots/tests/gpos_chaining2_successive.tests | 2 +- - .../data/aots/tests/gpos_chaining3_boundary.tests | 8 ++++---- - .../aots/tests/gpos_chaining3_lookupflag.tests | 2 +- - .../aots/tests/gpos_chaining3_next_glyph.tests | 2 +- - .../data/aots/tests/gpos_chaining3_simple.tests | 22 +++++++++++----------- - .../aots/tests/gpos_chaining3_successive.tests | 2 +- - .../data/aots/tests/gpos_context1_boundary.tests | 4 ++-- - .../data/aots/tests/gpos_context1_expansion.tests | 2 +- - .../data/aots/tests/gpos_context1_lookupflag.tests | 4 ++-- - .../tests/gpos_context1_multiple_subrules.tests | 4 ++-- - .../data/aots/tests/gpos_context1_next_glyph.tests | 2 +- - .../data/aots/tests/gpos_context1_simple.tests | 6 +++--- - .../data/aots/tests/gpos_context1_successive.tests | 2 +- - .../data/aots/tests/gpos_context2_boundary.tests | 4 ++-- - .../data/aots/tests/gpos_context2_classes.tests | 4 ++-- - .../data/aots/tests/gpos_context2_expansion.tests | 2 +- - .../data/aots/tests/gpos_context2_lookupflag.tests | 4 ++-- - .../tests/gpos_context2_multiple_subrules.tests | 4 ++-- - .../data/aots/tests/gpos_context2_next_glyph.tests | 2 +- - .../data/aots/tests/gpos_context2_simple.tests | 6 +++--- - .../data/aots/tests/gpos_context2_successive.tests | 2 +- - .../data/aots/tests/gpos_context3_boundary.tests | 4 ++-- - .../data/aots/tests/gpos_context3_lookupflag.tests | 4 ++-- - .../data/aots/tests/gpos_context3_next_glyph.tests | 2 +- - .../data/aots/tests/gpos_context3_simple.tests | 4 ++-- - .../data/aots/tests/gpos_context3_successive.tests | 2 +- - .../shape/data/aots/tests/gsub1_1_lookupflag.tests | 2 +- - test/shape/data/aots/tests/gsub1_1_modulo.tests | 2 +- - test/shape/data/aots/tests/gsub1_1_simple.tests | 2 +- - .../shape/data/aots/tests/gsub1_2_lookupflag.tests | 2 +- - test/shape/data/aots/tests/gsub1_2_simple.tests | 2 +- - .../shape/data/aots/tests/gsub2_1_lookupflag.tests | 2 +- - .../aots/tests/gsub2_1_multiple_sequences.tests | 2 +- - test/shape/data/aots/tests/gsub2_1_simple.tests | 4 ++-- - .../shape/data/aots/tests/gsub3_1_lookupflag.tests | 2 +- - test/shape/data/aots/tests/gsub3_1_multiple.tests | 2 +- - test/shape/data/aots/tests/gsub3_1_simple.tests | 2 +- - .../shape/data/aots/tests/gsub4_1_lookupflag.tests | 2 +- - .../aots/tests/gsub4_1_multiple_ligatures.tests | 4 ++-- - .../data/aots/tests/gsub4_1_multiple_ligsets.tests | 2 +- - test/shape/data/aots/tests/gsub4_1_simple.tests | 2 +- - test/shape/data/aots/tests/gsub7.tests | 4 ++-- - .../data/aots/tests/gsub_chaining1_boundary.tests | 8 ++++---- - .../aots/tests/gsub_chaining1_lookupflag.tests | 2 +- - .../tests/gsub_chaining1_multiple_subrules.tests | 4 ++-- - .../aots/tests/gsub_chaining1_next_glyph.tests | 2 +- - .../data/aots/tests/gsub_chaining1_simple.tests | 22 +++++++++++----------- - .../aots/tests/gsub_chaining1_successive.tests | 2 +- - .../data/aots/tests/gsub_chaining2_boundary.tests | 8 ++++---- - .../aots/tests/gsub_chaining2_lookupflag.tests | 2 +- - .../tests/gsub_chaining2_multiple_subrules.tests | 4 ++-- - .../aots/tests/gsub_chaining2_next_glyph.tests | 2 +- - .../data/aots/tests/gsub_chaining2_simple.tests | 22 +++++++++++----------- - .../aots/tests/gsub_chaining2_successive.tests | 2 +- - .../data/aots/tests/gsub_chaining3_boundary.tests | 8 ++++---- - .../aots/tests/gsub_chaining3_lookupflag.tests | 2 +- - .../aots/tests/gsub_chaining3_next_glyph.tests | 2 +- - .../data/aots/tests/gsub_chaining3_simple.tests | 22 +++++++++++----------- - .../aots/tests/gsub_chaining3_successive.tests | 2 +- - .../data/aots/tests/gsub_context1_boundary.tests | 4 ++-- - .../data/aots/tests/gsub_context1_expansion.tests | 2 +- - .../data/aots/tests/gsub_context1_lookupflag.tests | 4 ++-- - .../tests/gsub_context1_multiple_subrules.tests | 4 ++-- - .../data/aots/tests/gsub_context1_next_glyph.tests | 2 +- - .../data/aots/tests/gsub_context1_simple.tests | 6 +++--- - .../data/aots/tests/gsub_context1_successive.tests | 2 +- - .../data/aots/tests/gsub_context2_boundary.tests | 4 ++-- - .../data/aots/tests/gsub_context2_classes.tests | 4 ++-- - .../data/aots/tests/gsub_context2_expansion.tests | 2 +- - .../data/aots/tests/gsub_context2_lookupflag.tests | 4 ++-- - .../tests/gsub_context2_multiple_subrules.tests | 4 ++-- - .../data/aots/tests/gsub_context2_next_glyph.tests | 2 +- - .../data/aots/tests/gsub_context2_simple.tests | 6 +++--- - .../data/aots/tests/gsub_context2_successive.tests | 2 +- - .../data/aots/tests/gsub_context3_boundary.tests | 4 ++-- - .../data/aots/tests/gsub_context3_lookupflag.tests | 4 ++-- - .../data/aots/tests/gsub_context3_next_glyph.tests | 2 +- - .../data/aots/tests/gsub_context3_simple.tests | 4 ++-- - .../data/aots/tests/gsub_context3_successive.tests | 2 +- - .../data/aots/tests/lookupflag_ignore_attach.tests | 10 +++++----- - .../data/aots/tests/lookupflag_ignore_base.tests | 4 ++-- - .../aots/tests/lookupflag_ignore_combination.tests | 6 +++--- - .../aots/tests/lookupflag_ignore_ligatures.tests | 6 +++--- - .../data/aots/tests/lookupflag_ignore_marks.tests | 2 +- - util/text-options.hh | 10 ++++++---- - 130 files changed, 296 insertions(+), 294 deletions(-) - -commit b58afe586f6d100df94cc3a9b716befc68d8abec -Author: Behdad Esfahbod -Date: Thu Nov 25 11:34:24 2021 -0700 - - [util] Undo treat as single-paragraph text provided on cmdline - - Reverts d92ee726ce3b2fc2c249407d977433f0badcc918 - except that it does so even in batch mode. - - Am going to add a --single-par mode that will affect all input - modes. - - Part of https://github.com/harfbuzz/harfbuzz/issues/3129 - Fixes https://github.com/harfbuzz/harfbuzz/issues/3298 - - util/text-options.hh | 34 ++++++++++++++++++++++++++++------ - 1 file changed, 28 insertions(+), 6 deletions(-) - -commit 903a6baecefdbb8a01caed77f215560549e7dd5e -Author: Qunxin Liu -Date: Mon Nov 15 19:58:33 2021 -0800 - - [subset] layout_features filtering fix - - we should not use get_size (), which returns length * item_size - - src/hb-subset-plan.cc | 18 +++++++++++++++--- - test/subset/data/Makefile.am | 1 + - test/subset/data/Makefile.sources | 1 + - .../FranklinGothic-Regular.default.61,63,68,69.ttf | Bin 0 -> 6856 bytes - ...linGothic-Regular.default.retain-all-codepoint.ttf | Bin 0 -> 44584 bytes - ...FranklinGothic-Regular.layout-test.61,63,68,69.ttf | Bin 0 -> 7928 bytes - ...othic-Regular.layout-test.retain-all-codepoint.ttf | Bin 0 -> 46584 bytes - ...FranklinGothic-Regular.retain-gids.61,63,68,69.ttf | Bin 0 -> 7288 bytes - ...othic-Regular.retain-gids.retain-all-codepoint.ttf | Bin 0 -> 44592 bytes - test/subset/data/fonts/FranklinGothic-Regular.ttf | Bin 0 -> 71856 bytes - test/subset/data/tests/layout.default_features.tests | 11 +++++++++++ - test/subset/meson.build | 1 + - 12 files changed, 29 insertions(+), 3 deletions(-) - -commit 3160789701463bcd822c26010da4de33c92c85d9 -Author: Khaled Hosny -Date: Mon Nov 22 03:31:50 2021 +0200 - - [ci] windows-2016 image is going away in a bit - - https://github.com/actions/virtual-environments/issues/4312 - - windows-latest is the same as windows-2019, but we are using explicit - windows-2019 image for when they become different. - - .github/workflows/msvc-ci.yml | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit ed65577e3d896a2393aa6a92d76da1f81677d45e -Author: Khaled Hosny -Date: Sat Nov 20 20:51:26 2021 +0200 - - [ci] Split sanitizers job - - It was running four different builds sequentially. Each should have been - its own job. - - .circleci/config.yml | 41 ++++++++++++++++++++++++++++++++++------- - 1 file changed, 34 insertions(+), 7 deletions(-) - -commit 69d8f27c69b30f2c3726f279c2daa183d954c6b0 -Author: Khaled Hosny -Date: Sat Nov 20 17:09:15 2021 +0200 - - [meson] Require 0.55.0 - - We implicitly require it for building ragel subproject. This new version - requirement should satisfied in both Fedora 33 and Debian bullseye, and - not be too cutting edge for us. - - .circleci/config.yml | 5 +++-- - docs/meson.build | 4 ++-- - meson.build | 39 ++++++++++----------------------------- - perf/meson.build | 10 ++-------- - src/meson.build | 32 ++++++++------------------------ - test/fuzzing/meson.build | 6 +++--- - test/shape/meson.build | 12 ++++++------ - test/subset/meson.build | 8 ++++---- - 8 files changed, 38 insertions(+), 78 deletions(-) - -commit 84dc4e85e889d4b24cca7bb8ef04563fc6d1c3e6 -Author: Qunxin Liu -Date: Mon Nov 8 09:36:31 2021 -0800 - - [subset] avoid writing out duplicate extra glyph names in post table - - Add check for possible duplicate with other name index - - src/hb-ot-post-table-v2subset.hh | 31 +++++++++++++-------- - test/subset/data/Makefile.am | 1 + - test/subset/data/Makefile.sources | 1 + - ...hnadevaraya-Regular.default.c30,c36,c40,c4d.ttf | Bin 0 -> 10860 bytes - ...varaya-Regular.default.retain-all-codepoint.ttf | Bin 0 -> 573428 bytes - ...evaraya-Regular.glyph-names.c30,c36,c40,c4d.ttf | Bin 0 -> 11292 bytes - ...ya-Regular.glyph-names.retain-all-codepoint.ttf | Bin 0 -> 609076 bytes - ...raya-Regular.notdef-outline.c30,c36,c40,c4d.ttf | Bin 0 -> 10940 bytes - ...Regular.notdef-outline.retain-all-codepoint.ttf | Bin 0 -> 573508 bytes - ...evaraya-Regular.retain-gids.c30,c36,c40,c4d.ttf | Bin 0 -> 16880 bytes - ...ya-Regular.retain-gids.retain-all-codepoint.ttf | Bin 0 -> 573440 bytes - .../data/fonts/SreeKrushnadevaraya-Regular.ttf | Bin 0 -> 612636 bytes - test/subset/data/tests/post.tests | 12 ++++++++ - test/subset/meson.build | 1 + - 14 files changed, 34 insertions(+), 12 deletions(-) - -commit 325f26290eef9b001df4b750f33698d2a81a47f0 -Author: Behdad Esfahbod -Date: Fri Nov 19 17:19:09 2021 -0700 - - [array] Fix a couple constexpr warnings - - ./subprojects/harfbuzz/src/hb-array.hh:71:25: warning: 'constexpr' non-static member function will not be implicitly 'const' in C++14; add 'const' to avoid a change in behavior [-Wconstexpr-not-const] - constexpr hb_array_t& operator = (const hb_array_t &o) - ^ - const - ../subprojects/harfbuzz/src/hb-array.hh:72:5: warning: use of this statement in a constexpr function is a C++14 extension [-Wc++14-extensions] - { arrayZ = o.arrayZ; length = o.length; backwards_length = o.backwards_length; return *this; } - ^ - ../subprojects/harfbuzz/src/hb-array.hh:329:32: warning: 'constexpr' non-static member function will not be implicitly 'const' in C++14; add 'const' to avoid a change in behavior [-Wconstexpr-not-const] - constexpr hb_sorted_array_t& operator = (const hb_array_t &o) - ^ - const - ../subprojects/harfbuzz/src/hb-array.hh:330:5: warning: use of this statement in a constexpr function is a C++14 extension [-Wc++14-extensions] - { hb_array_t (*this) = o; return *this; } - ^ - 4 warnings generated. - - src/hb-array.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 98fefd5dedf912aebb58990f8d74fa5fad0ddb2c -Merge: ca418cac7 4731b1073 -Author: Behdad Esfahbod -Date: Fri Nov 19 13:34:53 2021 -0700 - - Merge pull request #3301 from harfbuzz/hashmap-classes - - Hashmap classes - -commit ca418cac74189dbda1abf433bda4618853107f1f -Author: Qunxin Liu -Date: Wed Nov 17 16:42:08 2021 -0800 - - [subset] keep features that have FeatureParams and the tag is "size" - - src/hb-ot-layout-gsubgpos.hh | 8 ++++++-- - test/subset/data/Makefile.am | 1 + - test/subset/data/Makefile.sources | 3 ++- - ...C-ExtraLightItalic.default.retain-all-codepoint.ttf | Bin 0 -> 134520 bytes - ...traLightItalic.glyph-names.retain-all-codepoint.ttf | Bin 0 -> 145796 bytes - ...LightItalic.notdef-outline.retain-all-codepoint.ttf | Bin 0 -> 134648 bytes - test/subset/data/fonts/SpectralSC-ExtraLightItalic.ttf | Bin 0 -> 275612 bytes - test/subset/data/tests/layout.drop_feature.tests | 10 ++++++++++ - test/subset/meson.build | 1 + - 9 files changed, 20 insertions(+), 3 deletions(-) - -commit e88fc41ef323cf1105e30b88f726f171504cb85e -Author: Qunxin Liu -Date: Thu Nov 18 16:53:36 2021 -0800 - - [subset] inputSequence could be empty, change the sanity check - - src/hb-ot-layout-gsubgpos.hh | 5 ++--- - test/subset/data/Makefile.am | 1 + - test/subset/data/Makefile.sources | 1 + - ...ar.layout-test-retain-gids.retain-all-codepoint.ttf | Bin 0 -> 142456 bytes - ...nsNewa-Regular.layout-test.retain-all-codepoint.ttf | Bin 0 -> 142456 bytes - test/subset/data/fonts/NotoSansNewa-Regular.ttf | Bin 0 -> 150892 bytes - test/subset/data/tests/layout.context_format2.tests | 9 +++++++++ - test/subset/meson.build | 1 + - 8 files changed, 14 insertions(+), 3 deletions(-) - -commit 4731b1073636b6ff4ff1bccbe7fb4663a2648674 -Author: Behdad Esfahbod -Date: Fri Nov 19 12:33:37 2021 -0700 - - [array] Mark constructors constexpr - - ../src/hb-map.hh:44:38: note: non-constexpr constructor 'hb_array_t' cannot be used in a constant expression - static constexpr K INVALID_KEY = kINVALID; - ^ - - src/hb-array.hh | 20 ++++++++++---------- - 1 file changed, 10 insertions(+), 10 deletions(-) - -commit 1da7423ed9d96c6ed8000f2c6a971bc3ce65cb2b -Author: Behdad Esfahbod -Date: Fri Nov 19 12:11:41 2021 -0700 - - [array] Add constructor taking std::nullptr_t - - Not all impls implement nullptr_t in a way that would automatically - convert to what we were accepting. - - In file included from ../src/test-map.cc:27: - ../src/hb-map.hh:44:22: error: no viable conversion from 'nullptr_t' to 'const hb_array_t' - static constexpr K INVALID_KEY = kINVALID; - ^ ~~~~~~~~ - - src/hb-array.hh | 2 ++ - 1 file changed, 2 insertions(+) - -commit e456922a769461757acc6c0628e7af28f27b16ac -Author: Behdad Esfahbod -Date: Fri Nov 19 12:04:08 2021 -0700 - - [test] Fix nullptr_t scope issue - - src/test-map.cc | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 5157cac0e28204ce658d784ee1fbe0614e50c786 -Author: Behdad Esfahbod -Date: Fri Nov 19 12:03:10 2021 -0700 - - [test] Silence unused-variable erros in test - - src/test-map.cc | 3 +++ - 1 file changed, 3 insertions(+) - -commit 394f772937851f10ef05245e32279cf08ca8399d -Author: Behdad Esfahbod -Date: Fri Nov 19 11:49:23 2021 -0700 - - [map] Allow storing classes in the hashmap - - Fixes https://github.com/harfbuzz/harfbuzz/issues/3293 - - The trick was to change the type of the invalid key/value to be non-class. - - src/hb-map.hh | 22 +++++++++++++++------- - src/hb-ot-layout-common.hh | 8 ++++---- - src/hb-ot-layout-gsubgpos.hh | 8 ++++---- - src/hb-ot-layout.cc | 4 ++-- - src/hb-serialize.hh | 4 +++- - src/hb-set.hh | 6 +++--- - src/hb-subset-plan.cc | 2 +- - src/hb-subset-plan.hh | 4 ++-- - src/test-map.cc | 7 +++++++ - 9 files changed, 41 insertions(+), 24 deletions(-) - -commit cba17fd1015113a1176eef5a87876d4e2b19e13a -Author: Behdad Esfahbod -Date: Fri Nov 19 11:49:03 2021 -0700 - - [array] Add default methods again, this time the full set - - Should add tests. - - src/hb-array.hh | 10 ++++++++++ - 1 file changed, 10 insertions(+) - -commit a75b96f7e5833c9206f6a15d11168a757a85ee59 -Author: Garret Rieger -Date: Tue Nov 16 14:34:07 2021 -0800 - - [sanitize] In lookup sanitize don't try to access subtable 0 if it isn't there. - - src/hb-ot-layout-common.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 82a9f54410d2d0188eab50c96824f52e2820b1da -Author: Behdad Esfahbod -Date: Wed Nov 10 10:15:38 2021 -0800 - - [colr] Simplify sanitize - - src/hb-ot-color-colr-table.hh | 38 ++------------------------------------ - 1 file changed, 2 insertions(+), 36 deletions(-) - -commit 64b29dbd5994a511acee69cb9b45ad650ef88359 -Author: Garret Rieger -Date: Tue Nov 9 09:13:14 2021 -0800 - - [subset] reuse colrv1 max nesting depth constant for sanitize. - - src/hb-ot-color-colr-table.hh | 11 ++++++----- - src/hb-sanitize.hh | 7 ++----- - 2 files changed, 8 insertions(+), 10 deletions(-) - -commit ace98cc65f527dbdfaa3784957535f551c7a600a -Author: Garret Rieger -Date: Mon Nov 8 15:47:56 2021 -0800 - - [subset] Only sanitize recursion depth in COLR. - - src/hb-ot-color-colr-table.hh | 49 ++++++++++++++++++++- - src/hb-sanitize.hh | 26 +++++++---- - ...tcase-minimized-hb-draw-fuzzer-4856957815619584 | Bin 0 -> 486280 bytes - 3 files changed, 65 insertions(+), 10 deletions(-) - -commit 782a7377adc2a13071b6dc74ddca209a8e65e4ba -Author: Garret Rieger -Date: Thu Nov 4 13:39:11 2021 -0700 - - [sanitize] add a maximum recursion depth for sanitize. - - src/hb-sanitize.hh | 12 ++++++++++-- - 1 file changed, 10 insertions(+), 2 deletions(-) - -commit cd5c6cd0419ac5e4de975d6c476fb760bf06d2ce -Author: Khaled Hosny -Date: Mon Nov 8 06:59:55 2021 +0200 - - 3.1.1 - - NEWS | 7 +++++++ - configure.ac | 2 +- - meson.build | 2 +- - src/hb-version.h | 4 ++-- - 4 files changed, 11 insertions(+), 4 deletions(-) - -commit 1e07d42aa6259f73aed09f25dd37993974b9b366 -Author: Matthias Clasen -Date: Sun Nov 7 01:19:42 2021 -0400 - - Typo fix - - src/hb-ot-layout.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 1fd7fd98235649115bba7407f2a2b977bf86733c -Author: Matthias Clasen -Date: Sat Nov 6 10:18:20 2021 -0400 - - Cosmetics: Avoid confusing indentation - - This line had me confused for a second because - the condition looked like a cast and the if just - looked misplaced. Add a line break to prevent - such confusion. - - src/hb-ot-layout.cc | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 3471f8f69e25ffebe96dc55173096cedc738ca6f -Author: Matthias Clasen -Date: Sat Nov 6 10:17:20 2021 -0400 - - docs: Clarify a doc comment - - Reword the docs for hb_ot_layout_script_select_language and - be a bit more specific about the returned index. - - src/hb-ot-layout.cc | 12 ++++++++---- - 1 file changed, 8 insertions(+), 4 deletions(-) - -commit 07dc34bdaf977a3be97ab5a68455ed7a67f80a06 -Author: Behdad Esfahbod -Date: Fri Nov 5 14:45:20 2021 -0700 - - [mutex] Try work around GCC cast-align error/warning - - Shouldn't be needed because of the alignas(). Oh well... - - Might fix https://github.com/harfbuzz/harfbuzz/issues/3283 - - src/hb-mutex.hh | 3 +++ - 1 file changed, 3 insertions(+) - -commit 77eeec53a917554a2766a7cb1687607841282777 -Author: Khaled Hosny -Date: Wed Nov 3 23:31:03 2021 +0200 - - 3.1.0 - - NEWS | 21 +++++++++++++++++++++ - configure.ac | 2 +- - docs/harfbuzz-docs.xml | 1 + - meson.build | 2 +- - src/hb-buffer.cc | 4 ++-- - src/hb-version.h | 4 ++-- - 6 files changed, 28 insertions(+), 6 deletions(-) - -commit 54e7d6267b485f252cf3f266a4577c72d79b286b -Author: Behdad Esfahbod -Date: Wed Nov 3 14:43:34 2021 -0600 - - [array] Remove defaulted destructor - - src/hb-array.hh | 1 - - 1 file changed, 1 deletion(-) - -commit f51b48c8e780ca918535c7af670818f2166ccf64 -Author: Garret Rieger -Date: Tue Nov 2 16:16:52 2021 -0700 - - [subset] Fix fuzzer found memory leak. - - Happens because an insert into a map with an invalid key reports successful, but this causes the set being inserted to be lost. - - src/hb-ot-layout-gsubgpos.hh | 17 +++++++++-------- - .../leak-34f1798a142fd0dfdd71a96fb6aa7de19a62865e | Bin 0 -> 134 bytes - 2 files changed, 9 insertions(+), 8 deletions(-) - -commit b1cd0dce8ed2fff2b781dfb432777db7de5f3f80 -Author: Behdad Esfahbod -Date: Tue Nov 2 17:56:11 2021 -0600 - - [map] Add INVALID_KEY and INVALID_VALUE - - src/hb-map.hh | 3 +++ - 1 file changed, 3 insertions(+) - -commit 540f19b6fe0de39312bc3f881be16e76dd902c33 -Author: Qunxin Liu -Date: Fri Oct 29 17:11:53 2021 -0700 - - [subset] fix bug in (Chain)ContextFormat2 - - Only keep rulesets for glyphs class numbers that survived in coverage - - src/hb-ot-layout-common.hh | 53 ++++++++++++++++++++- - src/hb-ot-layout-gsubgpos.hh | 46 ++++++++++++++---- - test/subset/data/Makefile.am | 1 + - test/subset/data/Makefile.sources | 1 + - ...lar.layout-test-retain-gids.268,301,302,324.ttf | Bin 0 -> 6312 bytes - ...ayout-test-retain-gids.retain-all-codepoint.ttf | Bin 0 -> 60976 bytes - ...Molengo-Regular.layout-test.268,301,302,324.ttf | Bin 0 -> 4124 bytes - ...go-Regular.layout-test.retain-all-codepoint.ttf | Bin 0 -> 60972 bytes - test/subset/data/fonts/Molengo-Regular.ttf | Bin 0 -> 65464 bytes - test/subset/data/tests/layout.gsub5_format2.tests | 10 ++++ - test/subset/meson.build | 1 + - 11 files changed, 103 insertions(+), 9 deletions(-) - -commit e260eeb9be0402d645917cadc8634ddf8c0e2743 -Author: Garret Rieger -Date: Tue Nov 2 15:31:32 2021 -0700 - - [subset] Update test goldens for gdef.glyphset. - - ...Howrah-Regular.default.retain-all-codepoint.ttf | Bin 174040 -> 174308 bytes - ...rah-Regular.drop-hints.retain-all-codepoint.ttf | Bin 99020 -> 99288 bytes - ...ah-Regular.retain-gids.retain-all-codepoint.ttf | Bin 174340 -> 174608 bytes - 3 files changed, 0 insertions(+), 0 deletions(-) - -commit 60e203644b7aa2098bce9ddae7741ba037500d2c -Author: Qunxin Liu -Date: Tue Nov 2 15:02:36 2021 -0700 - - [subset] use glyphset_gsub instead of glyphset for GDEF - - src/hb-ot-layout-gdef-table.hh | 4 ++-- - test/subset/data/Makefile.am | 1 + - test/subset/data/Makefile.sources | 1 + - .../IndicTestHowrah-Regular.default.9dd.ttf | Bin 0 -> 4152 bytes - ...TestHowrah-Regular.default.retain-all-codepoint.ttf | Bin 0 -> 174040 bytes - .../IndicTestHowrah-Regular.drop-hints.9dd.ttf | Bin 0 -> 1128 bytes - ...tHowrah-Regular.drop-hints.retain-all-codepoint.ttf | Bin 0 -> 99020 bytes - .../IndicTestHowrah-Regular.retain-gids.9dd.ttf | Bin 0 -> 4540 bytes - ...Howrah-Regular.retain-gids.retain-all-codepoint.ttf | Bin 0 -> 174340 bytes - test/subset/data/fonts/IndicTestHowrah-Regular.ttf | Bin 0 -> 186128 bytes - test/subset/data/tests/layout.gdef.glyphset.tests | 11 +++++++++++ - test/subset/meson.build | 1 + - 12 files changed, 16 insertions(+), 2 deletions(-) - -commit e39647c0f14102928ed787c2d38213f5b6cf576d -Author: Garret Rieger -Date: Tue Nov 2 15:25:05 2021 -0700 - - [subset] update subset goldens to fix tests. - - ...wLatin-Regular.default.retain-all-codepoint.ttf | Bin 131672 -> 131672 bytes - ...in-Regular.layout-test.retain-all-codepoint.ttf | Bin 153648 -> 153648 bytes - ...in-Regular.retain-gids.retain-all-codepoint.ttf | Bin 134776 -> 134776 bytes - 3 files changed, 0 insertions(+), 0 deletions(-) - -commit 0a7563a53ffedd735cb41c03f697269ef48f0ec2 -Author: Qunxin Liu -Date: Mon Nov 1 14:56:14 2021 -0700 - - [subset] fuzzer fix: https://oss-fuzz.com/testcase?key=6254792024915968 - - Make sure input is valid, each gid has a corresponding offset value in - the map - - src/hb-ot-color-colr-table.hh | 5 ++++- - ...testcase-minimized-hb-subset-fuzzer-6254792024915968 | Bin 0 -> 20851 bytes - 2 files changed, 4 insertions(+), 1 deletion(-) - -commit 364b6b3989e9df6335711e282e3250534d88299a -Author: Qunxin Liu -Date: Sun Oct 31 14:38:20 2021 -0700 - - [subset] Don't assume FeatureList is sorted - - Though the spec said FeatureRecords are sorted alphabetically by feature - tag, there're font files with unsorted FeatureList. And harfbuzz is not - able to subset these files correctly because we use binary search in - finding featureRecords when collecting lookups. Also - find_duplicate_features needs to be updated to handle this. - - src/hb-ot-layout-gsubgpos.hh | 28 +++++++++++++++------ - src/hb-ot-layout.cc | 21 +++++----------- - test/subset/data/Makefile.am | 1 + - test/subset/data/Makefile.sources | 1 + - ...HebrewLatin-Regular.default.392,3a7,3b2,3c7.ttf | Bin 0 -> 2464 bytes - ...wLatin-Regular.default.retain-all-codepoint.ttf | Bin 0 -> 131672 bytes - ...ewLatin-Regular.layout-test.392,3a7,3b2,3c7.ttf | Bin 0 -> 2588 bytes - ...in-Regular.layout-test.retain-all-codepoint.ttf | Bin 0 -> 153648 bytes - ...ewLatin-Regular.retain-gids.392,3a7,3b2,3c7.ttf | Bin 0 -> 13484 bytes - ...in-Regular.retain-gids.retain-all-codepoint.ttf | Bin 0 -> 134776 bytes - .../data/fonts/NotoIKEAHebrewLatin-Regular.ttf | Bin 0 -> 212524 bytes - .../data/tests/layout.unsorted_featurelist.tests | 11 ++++++++ - test/subset/meson.build | 1 + - 13 files changed, 40 insertions(+), 23 deletions(-) - -commit 49c9392412ccf31cf948310acda057b96eb6afc6 -Author: Garret Rieger -Date: Fri Sep 24 09:28:10 2021 -0700 - - [subset] During LigatureSubstFormat1 subsetting always place Coverage last. - - In Windows 7 on Chrome if the coverage table comes before any of the LigatureSet or Ligature subtables the font won't load. This changes the packing order to always place the Coverage table last. Virtual links are used to ensure the repacker maintains the desired ordering. - - Coincidentally fontTools also does the same thing (https://github.com/fonttools/fonttools/blob/a3f988fbf621142d7d9b3e68a69725b88f358869/Lib/fontTools/ttLib/tables/otTables.py#L1137) to reduce overflows during packing. - - src/hb-ot-layout-gsub-table.hh | 48 +++++++++++++++++---- - ...aa-Regular-new.default.retain-all-codepoint.ttf | Bin 222756 -> 222756 bytes - ...drop-hints-retain-gids.retain-all-codepoint.ttf | Bin 191632 -> 191632 bytes - ...Regular-new.drop-hints.retain-all-codepoint.ttf | Bin 191584 -> 191584 bytes - ...ortaa-Regular-new.gids.retain-all-codepoint.ttf | Bin 222756 -> 222756 bytes - ...egular-new.glyph-names.retain-all-codepoint.ttf | Bin 229748 -> 229748 bytes - ...ep-all-layout-features.retain-all-codepoint.ttf | Bin 223452 -> 223452 bytes - ...ar-new.layout-features.retain-all-codepoint.ttf | Bin 220948 -> 220948 bytes - ...a-Regular-new.name-ids.retain-all-codepoint.ttf | Bin 222496 -> 222496 bytes - ...lar-new.name-languages.retain-all-codepoint.ttf | Bin 222756 -> 222756 bytes - ...egular-new.name-legacy.retain-all-codepoint.ttf | Bin 222756 -> 222756 bytes - ...o-prune-unicode-ranges.retain-all-codepoint.ttf | Bin 222756 -> 222756 bytes - ...lar-new.notdef-outline.retain-all-codepoint.ttf | Bin 223352 -> 223352 bytes - ...egular-new.retain-gids.retain-all-codepoint.ttf | Bin 222804 -> 222804 bytes - ...tu-Regular.glyph-names.retain-all-codepoint.ttf | Bin 281092 -> 281092 bytes - ...ns-BlackItalic.default.retain-all-codepoint.ttf | Bin 120236 -> 120236 bytes - ...lackItalic.glyph-names.retain-all-codepoint.ttf | Bin 132480 -> 132480 bytes - ...kItalic.notdef-outline.retain-all-codepoint.ttf | Bin 120236 -> 120236 bytes - ...andhar-Regular.default.retain-all-codepoint.ttf | Bin 49248 -> 49248 bytes - ...har-Regular.drop-hints.retain-all-codepoint.ttf | Bin 29468 -> 29468 bytes - ...dhar-Regular.keep-gdef.retain-all-codepoint.ttf | Bin 49248 -> 49248 bytes - ...ayout-test-retain-gids.retain-all-codepoint.otf | Bin 4064 -> 4064 bytes - ...pos5_font1.layout-test.retain-all-codepoint.otf | Bin 4064 -> 4064 bytes - ...ayout-test-retain-gids.retain-all-codepoint.otf | Bin 4008 -> 4008 bytes - ...cessive_f1.layout-test.retain-all-codepoint.otf | Bin 4008 -> 4008 bytes - ...Bold.default.627,644,623,62D,644,627,645,2E.ttf | Bin 11372 -> 11372 bytes - ...toNastaliqUrdu-Bold.default.627,644,62D,628.ttf | Bin 17640 -> 17732 bytes - .../NotoNastaliqUrdu-Bold.default.627,644.ttf | Bin 3512 -> 3512 bytes - ...rdu-Bold.default.633,645,627,621,20,644,627.ttf | Bin 12360 -> 12360 bytes - .../NotoNastaliqUrdu-Bold.default.63A,64A,631.ttf | Bin 19340 -> 19432 bytes - ....retain-gids.627,644,623,62D,644,627,645,2E.ttf | Bin 18208 -> 18208 bytes - ...staliqUrdu-Bold.retain-gids.627,644,62D,628.ttf | Bin 23704 -> 23792 bytes - .../NotoNastaliqUrdu-Bold.retain-gids.627,644.ttf | Bin 9160 -> 9160 bytes - ...Bold.retain-gids.633,645,627,621,20,644,627.ttf | Bin 18164 -> 18164 bytes - ...toNastaliqUrdu-Bold.retain-gids.63A,64A,631.ttf | Bin 25392 -> 25484 bytes - .../Tinos-Italic.default.retain-all-codepoint.ttf | Bin 412764 -> 412764 bytes - ...nos-Italic.glyph-names.retain-all-codepoint.ttf | Bin 437592 -> 437592 bytes - ...-Italic.notdef-outline.retain-all-codepoint.ttf | Bin 412764 -> 412764 bytes - ...nos-Italic.retain-gids.retain-all-codepoint.ttf | Bin 415140 -> 415140 bytes - ...woMath-Regular.default.retain-all-codepoint.ttf | Bin 1038580 -> 1038580 bytes - ...th-Regular.glyph-names.retain-all-codepoint.ttf | Bin 1091356 -> 1091356 bytes - ...Regular.notdef-outline.retain-all-codepoint.ttf | Bin 1038828 -> 1038828 bytes - ...th-Regular.retain-gids.retain-all-codepoint.ttf | Bin 1053656 -> 1053656 bytes - .../variable/Fraunces.default.26,66,69,124,125.ttf | Bin 15856 -> 15856 bytes - 44 files changed, 39 insertions(+), 9 deletions(-) - -commit 9643d77086b1d0896cb4703f48b71743044880bf -Author: Garret Rieger -Date: Fri Sep 24 11:39:59 2021 -0700 - - [repacker] add more detailed comment about virtual links. - - src/hb-serialize.hh | 10 ++++++++-- - 1 file changed, 8 insertions(+), 2 deletions(-) - -commit 5bfc7d101562a188fb283fd679a7ba55acc4042c -Author: Garret Rieger -Date: Thu Sep 23 14:45:20 2021 -0700 - - [repacker] remove VirtualOffset struct. - - Make and add_virtual_link () specialization of add_link() instead. - - src/hb-serialize.hh | 9 +-------- - src/test-repacker.cc | 3 +-- - 2 files changed, 2 insertions(+), 10 deletions(-) - -commit bc4c5341d6e5725a6ad231eba3a7a6f2ba606ce9 -Author: Garret Rieger -Date: Thu Sep 23 14:41:42 2021 -0700 - - [repacker] Add test for virtual links in the repacker. - - src/hb-serialize.hh | 24 +++++++++++++++++++++ - src/test-repacker.cc | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++ - 2 files changed, 84 insertions(+) - -commit 7615b94ecf483aa275220409d3c385089a74a09d -Author: Garret Rieger -Date: Thu Sep 23 14:14:06 2021 -0700 - - [repacker] add 'virtual links' to the serializer. - - These aren't associated with an offset field, but instead exist solely to add an ordering constraint to the object graph. - - src/hb-repacker.hh | 10 +++++++++- - src/hb-serialize.hh | 21 ++++++++++++++++++++- - 2 files changed, 29 insertions(+), 2 deletions(-) - -commit 59d8f6c8173a9054b2594f38c06d9aa635da04c9 -Author: Behdad Esfahbod -Date: Tue Nov 2 10:33:53 2021 -0600 - - [map] Fix copy assignment operator - - src/hb-map.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit bbda020cbc99d6a956f21a7fb05bf721fa0f2faf -Merge: 8dc86d070 459e485ba -Author: Behdad Esfahbod -Date: Tue Nov 2 08:40:59 2021 -0700 - - Merge pull request #3278 from harfbuzz/more-std - - More standard idioms - -commit 459e485babea657e47930e74bd56280658811af2 -Author: Behdad Esfahbod -Date: Tue Nov 2 09:36:12 2021 -0600 - - [meta] Remove otherwise-empty test-meta - - src/Makefile.am | 5 ---- - src/meson.build | 1 - - src/test-meta.cc | 87 -------------------------------------------------------- - 3 files changed, 93 deletions(-) - -commit b8724c60232a97d1e1785c3c618a340089be9c8a -Author: Behdad Esfahbod -Date: Tue Nov 2 00:49:40 2021 -0600 - - [meta] Add in-house impl of hb_is_convertible() - - src/hb-meta.hh | 26 +------------------------- - src/test-meta.cc | 14 -------------- - 2 files changed, 1 insertion(+), 39 deletions(-) - -commit 7a078c395a57097a2ae204c0089f47a9ac97d849 -Author: Behdad Esfahbod -Date: Tue Nov 2 00:44:51 2021 -0600 - - [meta] Use std::conditional instead of hb_conditional() - - src/hb-meta.hh | 13 ++----------- - src/hb-open-type.hh | 2 +- - 2 files changed, 3 insertions(+), 12 deletions(-) - -commit 943921cf0caefa564601f7b18eed2168be77cfda -Author: Behdad Esfahbod -Date: Tue Nov 2 00:26:46 2021 -0600 - - [meta] Use more std type_traits - - src/hb-algs.hh | 6 +++--- - src/hb-map.hh | 8 ++++---- - src/hb-meta.hh | 44 -------------------------------------------- - src/hb-open-type.hh | 4 ++-- - src/hb-serialize.hh | 2 +- - src/test-meta.cc | 3 --- - 6 files changed, 10 insertions(+), 57 deletions(-) - -commit 6d555ce82e50bdd54896a89d9d547493b466b116 -Author: Behdad Esfahbod -Date: Tue Nov 2 00:18:22 2021 -0600 - - [meta] Use std::forward instead of hb_forward() - - src/hb-aat-layout-common.hh | 2 +- - src/hb-aat-layout-kerx-table.hh | 10 +++--- - src/hb-aat-layout-morx-table.hh | 10 +++--- - src/hb-algs.hh | 80 ++++++++++++++++++++--------------------- - src/hb-debug.hh | 8 ++--- - src/hb-dispatch.hh | 2 +- - src/hb-iter.hh | 14 ++++---- - src/hb-meta.hh | 10 ++---- - src/hb-open-type.hh | 22 ++++++------ - src/hb-ot-cff-common.hh | 2 +- - src/hb-ot-color-colr-table.hh | 68 +++++++++++++++++------------------ - src/hb-ot-kern-table.hh | 8 ++--- - src/hb-ot-layout-common.hh | 4 +-- - src/hb-ot-layout-gdef-table.hh | 6 ++-- - src/hb-ot-layout-gpos-table.hh | 36 +++++++++---------- - src/hb-ot-layout-gsub-table.hh | 30 ++++++++-------- - src/hb-ot-layout-gsubgpos.hh | 16 ++++----- - src/hb-ot-layout.cc | 4 +-- - src/hb-sanitize.hh | 6 ++-- - src/hb-serialize.hh | 16 ++++----- - src/hb-subset.hh | 6 ++-- - src/hb-vector.hh | 4 +-- - 22 files changed, 179 insertions(+), 185 deletions(-) - -commit 811f80a701a7e40d8ef2e01b927da74015aa6113 -Author: Behdad Esfahbod -Date: Tue Nov 2 00:14:34 2021 -0600 - - [algs] Use std::move instead of hb_move() - - src/hb-map.hh | 4 ++-- - src/hb-meta.hh | 6 ++---- - src/hb-set.hh | 2 +- - src/hb-vector.hh | 2 +- - 4 files changed, 6 insertions(+), 8 deletions(-) - -commit 896e0c74a82eb65f80d284a5d4f6557960de2620 -Author: Behdad Esfahbod -Date: Tue Nov 2 00:06:30 2021 -0600 - - [meta] Remove unused traits - - src/hb-meta.hh | 46 ---------------------------------------------- - src/test-meta.cc | 13 ------------- - 2 files changed, 59 deletions(-) - -commit be42800fc6d90340f843fa03be1bb06b0453e519 -Author: Behdad Esfahbod -Date: Tue Nov 2 00:04:18 2021 -0600 - - [meta] Use std::is_trivially_... instead of internal copies - - src/hb-meta.hh | 58 ++--------------------------------------------------- - src/hb-open-type.hh | 10 ++++----- - src/test-meta.cc | 16 --------------- - 3 files changed, 7 insertions(+), 77 deletions(-) - -commit 30c05e8b55c36200735446f237f1d7003cb70450 -Author: Behdad Esfahbod -Date: Mon Nov 1 23:57:00 2021 -0600 - - [algs] include - - src/hb-algs.hh | 1 + - src/hb-mutex.hh | 1 - - 2 files changed, 1 insertion(+), 1 deletion(-) - -commit 4c6fd7cdb2f2ab60de83d9a1e0fd189510b771a0 -Author: Behdad Esfahbod -Date: Mon Nov 1 23:13:34 2021 -0600 - - [map] Try moving items when resizing - - src/hb-map.hh | 11 +++++------ - 1 file changed, 5 insertions(+), 6 deletions(-) - -commit a28ea8d7f35a89cda49a9552a5ab6dc14d208c84 -Author: Behdad Esfahbod -Date: Mon Nov 1 22:50:54 2021 -0600 - - Simplify swap() - - src/hb-bit-set.hh | 1 - - src/hb-map.hh | 1 - - 2 files changed, 2 deletions(-) - -commit 94158316d9ba69315497a200ec63d13cb6959363 -Author: Behdad Esfahbod -Date: Mon Nov 1 22:47:26 2021 -0600 - - [map] Add iterable constructor - - src/hb-map.hh | 6 ++++++ - src/test-map.cc | 24 ++++++++++++++++++++++++ - 2 files changed, 30 insertions(+) - -commit a03b9b14c988aa04ba3ee1e5d187b65e7b24015a -Author: Behdad Esfahbod -Date: Mon Nov 1 22:45:11 2021 -0600 - - [map] Add initializer_list and swap() - - src/hb-map.hh | 25 +++++++++++++++++++++++-- - src/test-map.cc | 10 ++++++++++ - src/test-set.cc | 6 +++--- - 3 files changed, 36 insertions(+), 5 deletions(-) - -commit 3604f5f2484b47c0693896f8a8e48dfe46dddef1 -Author: Behdad Esfahbod -Date: Mon Nov 1 22:37:42 2021 -0600 - - [algs] Include - - src/hb-algs.hh | 1 + - src/hb-set.hh | 2 -- - src/hb-vector.hh | 2 -- - 3 files changed, 1 insertion(+), 4 deletions(-) - -commit c30f6834d0ad0adbe0f16bb79555fd161de2303e -Author: Behdad Esfahbod -Date: Mon Nov 1 22:29:14 2021 -0600 - - [map] Add 5 methods - - src/Makefile.am | 5 ++++ - src/hb-map.hh | 17 +++++++++++++- - src/meson.build | 1 + - src/test-map.cc | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ - src/test-set.cc | 1 + - src/test-vector.cc | 1 + - 6 files changed, 92 insertions(+), 1 deletion(-) - -commit 38debbab7e287e513968c80a10e69ab054acad4d -Author: Behdad Esfahbod -Date: Mon Nov 1 22:17:35 2021 -0600 - - [set] Add successful check in swap() - - src/hb-bit-set-invertible.hh | 2 ++ - src/hb-bit-set.hh | 2 ++ - 2 files changed, 4 insertions(+) - -commit b860b44229dbde49e8a1ed34257b1a70bb2401ee -Author: Behdad Esfahbod -Date: Mon Nov 1 22:00:18 2021 -0600 - - [bimap] Simplify initialization - - src/hb-bimap.hh | 15 +++------------ - 1 file changed, 3 insertions(+), 12 deletions(-) - -commit d2c364f6e7edbd295132f792d711ac37ff551d37 -Author: Behdad Esfahbod -Date: Mon Nov 1 21:55:14 2021 -0600 - - [array] Use default methods - - src/hb-array.hh | 15 ++++++++------- - 1 file changed, 8 insertions(+), 7 deletions(-) - -commit 6f74d80ed1f20a31744f78ee5a290b76b1dfb102 -Author: Behdad Esfahbod -Date: Mon Nov 1 21:49:32 2021 -0600 - - [vector] Complete sorted_vector 5-methods - - src/hb-vector.hh | 11 +++++++++-- - src/test-vector.cc | 19 ++++++++++++++++--- - 2 files changed, 25 insertions(+), 5 deletions(-) - -commit a28b5d03b5c86d2ffc352ef35463718aa4a00a9f -Author: Behdad Esfahbod -Date: Mon Nov 1 21:43:44 2021 -0600 - - [vector] Add swap() friend to hb_sorted_vector_t - - src/hb-vector.hh | 2 ++ - 1 file changed, 2 insertions(+) - -commit e97e79967e6ed0dd5719c2b88cf72f8860790245 -Author: Behdad Esfahbod -Date: Mon Nov 1 21:34:46 2021 -0600 - - Verbiage - - src/hb-set.hh | 8 ++++---- - src/hb-vector.hh | 10 +++++----- - 2 files changed, 9 insertions(+), 9 deletions(-) - -commit 34fa5e290146b14ee6bdb261811d219fd7711574 -Author: Behdad Esfahbod -Date: Mon Nov 1 21:25:03 2021 -0600 - - [set] More default operators - - src/hb-set.hh | 9 +++++---- - 1 file changed, 5 insertions(+), 4 deletions(-) - -commit b6c0b40fc2a66893c70f02dc20f2c99b0a996b6a -Author: Behdad Esfahbod -Date: Mon Nov 1 21:15:38 2021 -0600 - - [vector] Use default constructor - - src/hb-vector.hh | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 1e3f57c07904578079a58e37baf3a6bb01c0be0c -Author: Behdad Esfahbod -Date: Mon Nov 1 21:14:12 2021 -0600 - - [bit-set] Implement standard-5 methods plus swap - - src/hb-bit-set.hh | 24 ++++++++++++++++-------- - 1 file changed, 16 insertions(+), 8 deletions(-) - -commit 11eadb5d2886c8d2a6eef26866f080bde9ff65ce -Author: Behdad Esfahbod -Date: Mon Nov 1 21:07:09 2021 -0600 - - [bit-set-invertible] Implement standard-5 methods & swap - - src/hb-bit-set-invertible.hh | 16 ++++++++++++---- - 1 file changed, 12 insertions(+), 4 deletions(-) - -commit dcd18da611436455733e3a80075d07685a6f96f7 -Author: Behdad Esfahbod -Date: Mon Nov 1 20:55:30 2021 -0600 - - [set] Add standard the 5 standard methods & tests - - src/Makefile.am | 9 ++++++ - src/hb-set.hh | 33 +++++++++++++++++--- - src/meson.build | 1 + - src/test-set.cc | 96 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ - 4 files changed, 135 insertions(+), 4 deletions(-) - -commit 628a0f3796992fe858b368c8b6358ef9d83a21e1 -Author: Behdad Esfahbod -Date: Mon Nov 1 20:36:55 2021 -0600 - - [vector] Add more tests - - src/test-vector.cc | 41 +++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 41 insertions(+) - -commit f15858be5f09a9fdfbec9ccc68490e23e5db35ad -Author: Behdad Esfahbod -Date: Mon Nov 1 20:26:07 2021 -0600 - - [vector] Pre-allocate if iterator has random-access length - - src/hb-vector.hh | 2 ++ - 1 file changed, 2 insertions(+) - -commit 11135150a7e9955aefbf9ac943367a618b513981 -Author: Behdad Esfahbod -Date: Mon Nov 1 20:23:12 2021 -0600 - - [vector] Move test code into separate file - - src/Makefile.am | 14 ++++++++- - src/meson.build | 1 + - src/test-algs.cc | 51 -------------------------------- - src/test-vector.cc | 85 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ - 4 files changed, 99 insertions(+), 52 deletions(-) - -commit ee75e716c1fec110e9ee2d30be9db14b75515404 -Author: Behdad Esfahbod -Date: Mon Nov 1 20:18:49 2021 -0600 - - [vector] Add initializer from iterable - - src/hb-vector.hh | 6 ++++++ - src/test-algs.cc | 31 +++++++++++++++++++++++++++++++ - 2 files changed, 37 insertions(+) - -commit 18a078f968072990cc50f96d4b6e47b32a6001c5 -Author: Behdad Esfahbod -Date: Mon Nov 1 20:06:58 2021 -0600 - - [vector] Implement move assignment using swap - - src/hb-vector.hh | 6 +----- - 1 file changed, 1 insertion(+), 5 deletions(-) - -commit 8dc86d07036e0d251ab6817230651f8943693db8 -Author: Matthias Clasen -Date: Mon Nov 1 19:57:11 2021 -0400 - - Add a test font scale rounding behavior - - This test verifies the fix for - https://github.com/harfbuzz/harfbuzz/issues/3274 - - test/api/Makefile.am | 1 + - test/api/fonts/Cantarell.A.otf | Bin 0 -> 1956 bytes - test/api/meson.build | 1 + - test/api/test-font-scale.c | 57 +++++++++++++++++++++++++++++++++++++++++ - 4 files changed, 59 insertions(+) - -commit eeda2c549ddd103ebf8f9d1e20ae30137f5ed532 -Author: Behdad Esfahbod -Date: Mon Nov 1 18:36:57 2021 -0600 - - [vector] Add initializer_list constructor & tests - - src/hb-vector.hh | 15 +++++++++++++-- - src/test-algs.cc | 20 ++++++++++++++++++++ - 2 files changed, 33 insertions(+), 2 deletions(-) - -commit c484641304daff090111171d2dc3404735e14ed6 -Author: Behdad Esfahbod -Date: Mon Nov 1 18:48:24 2021 -0600 - - Revert "[vector] Add initializer_list constructor & tests" - - This reverts commit aa6182453b29b2d1cc974756fe0ae4220a846bf4. - - src/hb-vector.hh | 15 ++------------- - src/test-algs.cc | 20 -------------------- - 2 files changed, 2 insertions(+), 33 deletions(-) - -commit aa6182453b29b2d1cc974756fe0ae4220a846bf4 -Author: Behdad Esfahbod -Date: Mon Nov 1 18:36:57 2021 -0600 - - [vector] Add initializer_list constructor & tests - - src/hb-vector.hh | 15 +++++++++++++-- - src/test-algs.cc | 20 ++++++++++++++++++++ - 2 files changed, 33 insertions(+), 2 deletions(-) - -commit 8c05569930b3ba8901baae7ffb9ae2a6fc6ce4b1 -Author: Behdad Esfahbod -Date: Mon Nov 1 17:59:17 2021 -0600 - - [algs] Add hb_swap() ala, and using, std::swap() - - Use it in vector. - - Use ADL idiom. - - src/hb-algs.hh | 11 +++++++++++ - src/hb-repacker.hh | 4 ++-- - src/hb-vector.hh | 16 ++++------------ - 3 files changed, 17 insertions(+), 14 deletions(-) - -commit bbaccf23d9e231370fb3ca3398ebfc132c7555bc -Author: Behdad Esfahbod -Date: Mon Nov 1 16:45:36 2021 -0600 - - Better round positions during scaling - - Fixes https://github.com/harfbuzz/harfbuzz/issues/3274 - - src/hb-font.hh | 4 +--- - 1 file changed, 1 insertion(+), 3 deletions(-) - -commit 52ccdc78e67b57645a83c6a55268dc19bf562e04 -Author: Matthias Clasen -Date: Thu Oct 28 14:56:13 2021 -0400 - - docs: Add a link to the OpenType spec - - Link to the name table specification in the - hb_ot_name_id_t docs. - - src/hb-ot-name.h | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 8cb2f969d9632804a546e7e1157b64f85f21f512 -Author: Matthias Clasen -Date: Thu Oct 28 07:42:07 2021 -0400 - - Document hb_ot_name_t values - - Add a short blurb for each value and refer - to the OpenType spec for more information. - - Fixes: #3181 - - src/hb-ot-name.h | 29 +++++++++++++++++++++++++++++ - 1 file changed, 29 insertions(+) - -commit 85deddb16ee6b00b0c921998e1d93c84002f5a42 -Author: Qunxin Liu -Date: Wed Oct 27 14:36:02 2021 -0700 - - [subset] fuzzer fix: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=40406 - - src/hb-ot-color-colr-table.hh | 1 + - ...testcase-minimized-hb-subset-fuzzer-6315334756335616 | Bin 0 -> 20377 bytes - 2 files changed, 1 insertion(+) - -commit de9424172d79ee45c1913b2a5020c228a19e7ac8 -Author: David Korczynski -Date: Wed Oct 27 15:24:57 2021 +0100 - - [ci] Add CIFuzz integration - - Add CIFuzz integration, which will run the fuzzers for a short amount - of time when a PR is submitted on Github. - - Signed-off-by: David Korczynski - - .github/workflows/cifuzz.yml | 24 ++++++++++++++++++++++++ - 1 file changed, 24 insertions(+) - -commit da500568dee503fd3fc9042d95668e3371f93d75 -Author: Behdad Esfahbod -Date: Tue Oct 26 08:02:29 2021 -0600 - - [API] Add hb_buffer_[sg]et_not_found_glyph() and --not-found-glyph - - Instead of using gid=0 when a character is not found in the font, - client can now set a custom value. This is useful for shaper-driven - font fallback and to differentiate that from .notdef glyph. - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1360 - - docs/harfbuzz-sections.txt | 2 ++ - src/hb-buffer.cc | 42 ++++++++++++++++++++++++++++++++++++++++++ - src/hb-buffer.h | 7 +++++++ - src/hb-buffer.hh | 1 + - src/hb-font.hh | 10 ++++++---- - src/hb-ot-shape-normalize.cc | 5 +++-- - src/hb-ot-shape-normalize.hh | 1 + - util/shape-options.hh | 3 +++ - 8 files changed, 65 insertions(+), 6 deletions(-) - -commit 6ea6c581edb3cecf1b4b42854e37b40d6d067cd3 -Author: Cameron Cawley -Date: Fri Sep 24 22:05:29 2021 +0100 - - Remove direct link to dwrite from meson scripts - - meson.build | 7 +------ - src/meson.build | 1 - - 2 files changed, 1 insertion(+), 7 deletions(-) - -commit ecbe224743c205c99aa459b27e7fb241cc4b1dc5 -Author: Cameron Cawley -Date: Fri Sep 24 21:32:12 2021 +0100 - - Revert "[hb-directwrite] Don't load dwrit.dll dynamically" - - This reverts commit 6119ff9d806db7de3ceef73de67fe589507800bb. - - src/hb-directwrite.cc | 36 ++++++++++++++++++++++++++++++++++-- - 1 file changed, 34 insertions(+), 2 deletions(-) - -commit 4262636926123df42eaba5374dc54bb9776a5af2 -Merge: f55d83473 d17155f5d -Author: Behdad Esfahbod -Date: Sat Oct 23 13:18:22 2021 -0700 - - Merge pull request #3248 from googlefonts/connected_components - - [repacker] Keep connected subgraphs in the same space. - -commit f55d834736b58ac15cff09c20f5c5cd3ca52ef1e -Author: Qunxin Liu -Date: Thu Oct 14 13:39:45 2021 -0700 - - [subset] Move struct DeltaSetIndexMap into hb-ot-var-common.hh - - Also fix naming issues in review comments - - src/Makefile.sources | 1 + - src/hb-ot-color-colr-table.hh | 131 +-------------------- - src/hb-ot-var-common.hh | 264 ++++++++++++++++++++++++++++++++++++++++++ - src/hb-ot-var-hvar-table.hh | 88 +------------- - src/meson.build | 1 + - 5 files changed, 273 insertions(+), 212 deletions(-) - -commit 8c583db9b5c63dc790f6553044b8915e1f5906bb -Author: Qunxin Liu -Date: Sat Oct 2 20:32:30 2021 -0700 - - [subset] COLRv1: update subset() method for new strutc ClipList and VarIdxMap - - Also fix issues in struct PaintTransform definition - - src/hb-ot-color-colr-table.hh | 193 ++++++++++++++++++--- - src/hb-subset-plan.cc | 60 ++++--- - .../TwemojiMozilla.subset.default.32,3299.ttf | Bin 1576 -> 1520 bytes - .../api/fonts/TwemojiMozilla.subset.default.32.ttf | Bin 932 -> 888 bytes - .../fonts/TwemojiMozilla.subset.default.3297.ttf | Bin 1376 -> 1332 bytes - test/api/fonts/TwemojiMozilla.subset.ttf | Bin 1936 -> 1868 bytes - test/subset/data/Makefile.am | 1 + - test/subset/data/Makefile.sources | 1 + - .../TwemojiMozilla.subset.default.32,3297,3299.ttf | Bin 1868 -> 1868 bytes - .../colr/TwemojiMozilla.subset.default.32,3297.ttf | Bin 1344 -> 1344 bytes - .../colr/TwemojiMozilla.subset.default.32,3299.ttf | Bin 1520 -> 1520 bytes - .../TwemojiMozilla.subset.default.3297,3299.ttf | Bin 1860 -> 1860 bytes - .../colr/TwemojiMozilla.subset.default.3297.ttf | Bin 1332 -> 1332 bytes - .../colr/TwemojiMozilla.subset.default.3299.ttf | Bin 1508 -> 1508 bytes - ....subset.drop-hints-retain-gids.32,3297,3299.ttf | Bin 1848 -> 1848 bytes - ...zilla.subset.drop-hints-retain-gids.32,3297.ttf | Bin 1340 -> 1340 bytes - ...zilla.subset.drop-hints-retain-gids.32,3299.ttf | Bin 1520 -> 1520 bytes - ...lla.subset.drop-hints-retain-gids.3297,3299.ttf | Bin 1844 -> 1844 bytes - ...iMozilla.subset.drop-hints-retain-gids.3297.ttf | Bin 1328 -> 1328 bytes - ...iMozilla.subset.drop-hints-retain-gids.3299.ttf | Bin 1508 -> 1508 bytes - ...emojiMozilla.subset.drop-hints.32,3297,3299.ttf | Bin 1848 -> 1848 bytes - .../TwemojiMozilla.subset.drop-hints.32,3297.ttf | Bin 1324 -> 1324 bytes - .../TwemojiMozilla.subset.drop-hints.32,3299.ttf | Bin 1500 -> 1500 bytes - .../TwemojiMozilla.subset.drop-hints.3297,3299.ttf | Bin 1840 -> 1840 bytes - .../colr/TwemojiMozilla.subset.drop-hints.3297.ttf | Bin 1312 -> 1312 bytes - .../colr/TwemojiMozilla.subset.drop-hints.3299.ttf | Bin 1488 -> 1488 bytes - ...mojiMozilla.subset.retain-gids.32,3297,3299.ttf | Bin 1868 -> 1868 bytes - .../TwemojiMozilla.subset.retain-gids.32,3297.ttf | Bin 1360 -> 1360 bytes - .../TwemojiMozilla.subset.retain-gids.32,3299.ttf | Bin 1540 -> 1540 bytes - ...TwemojiMozilla.subset.retain-gids.3297,3299.ttf | Bin 1864 -> 1864 bytes - .../TwemojiMozilla.subset.retain-gids.3297.ttf | Bin 1348 -> 1348 bytes - .../TwemojiMozilla.subset.retain-gids.3299.ttf | Bin 1528 -> 1528 bytes - .../colr_with_components/colr-table.default.6B.ttf | Bin 4260 -> 4260 bytes - .../colr-table.drop-hints-retain-gids.6B.ttf | Bin 4984 -> 4984 bytes - .../colr-table.drop-hints.6B.ttf | Bin 4260 -> 4260 bytes - .../colr-table.retain-gids.6B.ttf | Bin 4984 -> 4984 bytes - .../TestCOLRv1.default.E000,E001,E002,E003.ttf | Bin 0 -> 1260 bytes - .../colrv1/TestCOLRv1.default.E000,E001,E002.ttf | Bin 0 -> 1200 bytes - .../colrv1/TestCOLRv1.default.E000,E001.ttf | Bin 0 -> 996 bytes - .../colrv1/TestCOLRv1.default.E000,E004.ttf | Bin 0 -> 940 bytes - .../expected/colrv1/TestCOLRv1.default.E000.ttf | Bin 0 -> 800 bytes - .../expected/colrv1/TestCOLRv1.default.E001.ttf | Bin 0 -> 856 bytes - .../colrv1/TestCOLRv1.default.E002,E003,E004.ttf | Bin 0 -> 1248 bytes - .../colrv1/TestCOLRv1.default.E002,E003.ttf | Bin 0 -> 1116 bytes - .../expected/colrv1/TestCOLRv1.default.E002.ttf | Bin 0 -> 856 bytes - .../colrv1/TestCOLRv1.default.E003,E004.ttf | Bin 0 -> 1044 bytes - .../expected/colrv1/TestCOLRv1.default.E003.ttf | Bin 0 -> 916 bytes - .../expected/colrv1/TestCOLRv1.default.E004.ttf | Bin 0 -> 748 bytes - .../TestCOLRv1.default.retain-all-codepoint.ttf | Bin 0 -> 1532 bytes - ....drop-hints-retain-gids.E000,E001,E002,E003.ttf | Bin 0 -> 1308 bytes - ...OLRv1.drop-hints-retain-gids.E000,E001,E002.ttf | Bin 0 -> 1248 bytes - ...TestCOLRv1.drop-hints-retain-gids.E000,E001.ttf | Bin 0 -> 1052 bytes - ...TestCOLRv1.drop-hints-retain-gids.E000,E004.ttf | Bin 0 -> 1020 bytes - .../TestCOLRv1.drop-hints-retain-gids.E000.ttf | Bin 0 -> 856 bytes - .../TestCOLRv1.drop-hints-retain-gids.E001.ttf | Bin 0 -> 924 bytes - ...OLRv1.drop-hints-retain-gids.E002,E003,E004.ttf | Bin 0 -> 1304 bytes - ...TestCOLRv1.drop-hints-retain-gids.E002,E003.ttf | Bin 0 -> 1176 bytes - .../TestCOLRv1.drop-hints-retain-gids.E002.ttf | Bin 0 -> 936 bytes - ...TestCOLRv1.drop-hints-retain-gids.E003,E004.ttf | Bin 0 -> 1124 bytes - .../TestCOLRv1.drop-hints-retain-gids.E003.ttf | Bin 0 -> 984 bytes - .../TestCOLRv1.drop-hints-retain-gids.E004.ttf | Bin 0 -> 844 bytes - ...drop-hints-retain-gids.retain-all-codepoint.ttf | Bin 0 -> 1532 bytes - .../TestCOLRv1.drop-hints.E000,E001,E002,E003.ttf | Bin 0 -> 1260 bytes - .../TestCOLRv1.drop-hints.E000,E001,E002.ttf | Bin 0 -> 1200 bytes - .../colrv1/TestCOLRv1.drop-hints.E000,E001.ttf | Bin 0 -> 996 bytes - .../colrv1/TestCOLRv1.drop-hints.E000,E004.ttf | Bin 0 -> 940 bytes - .../expected/colrv1/TestCOLRv1.drop-hints.E000.ttf | Bin 0 -> 800 bytes - .../expected/colrv1/TestCOLRv1.drop-hints.E001.ttf | Bin 0 -> 856 bytes - .../TestCOLRv1.drop-hints.E002,E003,E004.ttf | Bin 0 -> 1248 bytes - .../colrv1/TestCOLRv1.drop-hints.E002,E003.ttf | Bin 0 -> 1116 bytes - .../expected/colrv1/TestCOLRv1.drop-hints.E002.ttf | Bin 0 -> 856 bytes - .../colrv1/TestCOLRv1.drop-hints.E003,E004.ttf | Bin 0 -> 1044 bytes - .../expected/colrv1/TestCOLRv1.drop-hints.E003.ttf | Bin 0 -> 916 bytes - .../expected/colrv1/TestCOLRv1.drop-hints.E004.ttf | Bin 0 -> 748 bytes - .../TestCOLRv1.drop-hints.retain-all-codepoint.ttf | Bin 0 -> 1532 bytes - .../TestCOLRv1.retain-gids.E000,E001,E002,E003.ttf | Bin 0 -> 1308 bytes - .../TestCOLRv1.retain-gids.E000,E001,E002.ttf | Bin 0 -> 1248 bytes - .../colrv1/TestCOLRv1.retain-gids.E000,E001.ttf | Bin 0 -> 1052 bytes - .../colrv1/TestCOLRv1.retain-gids.E000,E004.ttf | Bin 0 -> 1020 bytes - .../colrv1/TestCOLRv1.retain-gids.E000.ttf | Bin 0 -> 856 bytes - .../colrv1/TestCOLRv1.retain-gids.E001.ttf | Bin 0 -> 924 bytes - .../TestCOLRv1.retain-gids.E002,E003,E004.ttf | Bin 0 -> 1304 bytes - .../colrv1/TestCOLRv1.retain-gids.E002,E003.ttf | Bin 0 -> 1176 bytes - .../colrv1/TestCOLRv1.retain-gids.E002.ttf | Bin 0 -> 936 bytes - .../colrv1/TestCOLRv1.retain-gids.E003,E004.ttf | Bin 0 -> 1124 bytes - .../colrv1/TestCOLRv1.retain-gids.E003.ttf | Bin 0 -> 984 bytes - .../colrv1/TestCOLRv1.retain-gids.E004.ttf | Bin 0 -> 844 bytes - ...TestCOLRv1.retain-gids.retain-all-codepoint.ttf | Bin 0 -> 1532 bytes - test/subset/data/fonts/TestCOLRv1.ttf | Bin 1780 -> 1860 bytes - test/subset/data/tests/colrv1.tests | 16 +- - test/subset/meson.build | 2 +- - 91 files changed, 222 insertions(+), 51 deletions(-) - -commit e51c7f8e79867b790bfb282ca112b922cc7a2022 -Author: Qunxin Liu -Date: Thu Sep 30 10:42:17 2021 -0700 - - [subset] COLRv1: add ClipList/ClipRecord/ClipBox struct definition - - src/hb-ot-color-colr-table.hh | 76 +++++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 76 insertions(+) - -commit 2e5636eeaf5da1623c9a14d60163449c44ffacd1 -Author: Qunxin Liu -Date: Wed Aug 4 14:51:52 2021 -0700 - - [subset] add DeltasetIndexMap struct definition - - src/hb-ot-color-colr-table.hh | 86 ++++++++++++++++++++++++++++++++++++++++++- - 1 file changed, 84 insertions(+), 2 deletions(-) - -commit d2e986feadfb8bbd7b7109795187780290e28f3b -Author: Qunxin Liu -Date: Tue Aug 3 16:31:42 2021 -0700 - - [subset] update COLRv1 table struct definitions - - src/hb-ot-color-colr-table.hh | 471 ++++++++++++++++++++++++++------------ - src/hb-ot-color-colrv1-closure.hh | 53 +++-- - 2 files changed, 357 insertions(+), 167 deletions(-) - -commit 792ca307b0cfe916e65879403861a583bb12c378 -Author: Khaled Hosny -Date: Tue Oct 5 19:00:29 2021 +0200 - - [meson] Add graphite2 option and deprecate graphite - - Fixes https://github.com/harfbuzz/harfbuzz/issues/3241 - - Should be better handled when we can use https://github.com/mesonbuild/meson/pull/9184 - - meson.build | 5 +++-- - meson_options.txt | 2 ++ - src/meson.build | 2 +- - 3 files changed, 6 insertions(+), 3 deletions(-) - -commit c6557747ef2d5b5effeaa4c6ff97a0d274e0ca6c -Author: Behdad Esfahbod -Date: Thu Oct 21 09:56:47 2021 -0600 - - [style] Use head->macStyle.isExtended in style fallback - - https://github.com/harfbuzz/harfbuzz/issues/3263 - - src/hb-style.cc | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit f3f848b5066f3e6680ae5f68a1047085e7b8d59f -Author: Behdad Esfahbod -Date: Thu Oct 21 09:54:02 2021 -0600 - - [head] Add is_expanded() internally - - Fixes https://github.com/harfbuzz/harfbuzz/issues/3263 - - src/hb-ot-head-table.hh | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit d17155f5d26f7ecb75d24d190c28a46f179c5d37 -Author: Garret Rieger -Date: Wed Oct 13 14:40:00 2021 -0700 - - [repacker] use possibly updated root idx after isolate_subgraph. - - isolate_subgraph can change the root indices in some cases. So operations after the isolation need to use the roots from the output of isolate_subgraph. - - src/hb-repacker.hh | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit a7a36085538f218678c635a595025b7235c0e8cc -Author: Behdad Esfahbod -Date: Tue Oct 12 16:11:25 2021 -0700 - - [docs] Rename overflow_resolution to repacker - - docs/{overflow_resolution.md => repacker.md} | 0 - src/hb-repacker.hh | 4 ++-- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit 9bd7ba5019381bb8584811ee63a0ba0cee7dca99 -Author: Behdad Esfahbod -Date: Tue Oct 12 08:44:01 2021 -0700 - - Err on -Wbitwise-instead-of-logical - - Part of https://github.com/harfbuzz/harfbuzz/pull/3256 - - src/hb.hh | 1 + - 1 file changed, 1 insertion(+) - -commit 6bc64317ca0b1784a2826f980393d8cad3cf9de3 -Author: Garret Rieger -Date: Tue Oct 12 13:13:32 2021 -0700 - - Add a writeup of the overflow resolution algorithm in harfbuzz. - - docs/overflow_resolution.md | 265 ++++++++++++++++++++++++++++++++++++++++++++ - src/hb-repacker.hh | 7 ++ - 2 files changed, 272 insertions(+) - -commit 96299d70edba60e5eb88a1efca384bc82392d977 -Author: Nico Weber -Date: Tue Oct 12 10:42:43 2021 -0400 - - Fix Wbitwise-instead-of-logical warnings - - `a || b` only evaluates b if a is false. `a | b` always evaluates - both a and b. If a and b are of type bool, || is usually what you - want, so clang now warns on `|` where both arguments are of type bool. - - This warning fires twice in harfbuzz. In both cases, `|` is used - intentionally, with a comment explaining this. - - Slightly reorder the code a bit to make the compiler happy, and to - make it obvious even without a comment that both calls should be evaluated. - - No intended behavior change. - - src/hb-ot-layout-gpos-table.hh | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - -commit b621c4fc29162c69098dce29fed887eac903d516 -Author: faywong -Date: Mon Oct 11 21:04:47 2021 +0800 - - [subset] Refine the coding style - - CMakeLists.txt | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit f8538d3117b3f1715ffcfaf1775635c3d867839c -Author: faywong -Date: Mon Oct 11 21:01:21 2021 +0800 - - [subset] Export header & archive when HB_BUILD_SUBSET - - Ease the adopt of hb-subset feature for 3rd party developers - - CMakeLists.txt | 6 ++++++ - 1 file changed, 6 insertions(+) - -commit 36ed56b6e81b613b95b551527f6091c9fdbdc7ba -Author: Qunxin Liu -Date: Thu Sep 23 10:51:21 2021 -0700 - - [subset] code cleanup - - - rename copy() method if it takes extra parameter - - get rid of same code blocks - - src/hb-ot-layout-gsubgpos.hh | 110 ++++++++++++++++++------------------------- - 1 file changed, 45 insertions(+), 65 deletions(-) - -commit 3e635cf5e26e33d6210d3092256a49291752deec -Author: David Corbett -Date: Fri Oct 8 17:13:22 2021 -0400 - - [USE] Categorize characters that only have AJT - - src/gen-use-table.py | 69 +++++++++++++----------------------- - src/hb-ot-shape-complex-use-table.hh | 66 +++++++++++++++++----------------- - src/update-unicode-tables.make | 2 +- - 3 files changed, 59 insertions(+), 78 deletions(-) - -commit ae193cd18239e662308a4a189a0241cbf7b92244 -Author: David Corbett -Date: Fri Oct 8 21:58:07 2021 -0400 - - [USE] Insert dotted circles before lone viramas - - src/hb-ot-shape-complex-use-machine.hh | 520 ++++++++++++++++----------------- - src/hb-ot-shape-complex-use-machine.rl | 14 +- - 2 files changed, 265 insertions(+), 269 deletions(-) - -commit 641296b5ebb17875550705f1cea45ab6e6a8e562 -Author: David Corbett -Date: Fri Oct 8 21:39:30 2021 -0400 - - [USE] Categorize U+11046 BRAHMI VIRAMA as HALANT - - src/gen-use-table.py | 3 +-- - src/hb-ot-shape-complex-use-table.hh | 2 +- - 2 files changed, 2 insertions(+), 3 deletions(-) - -commit cca42cda460491fb8d9ee89cb0b37fe1d59ac04a -Merge: 8eaee2f88 bb50aae9b -Author: Behdad Esfahbod -Date: Fri Oct 8 13:10:21 2021 -0600 - - Merge pull request #3249 from harfbuzz/use-merge-s-o - - [USE] Merge the categories S and O - -commit bb50aae9b42e20e4b7aff0f7ac67a18ff2d65460 -Author: David Corbett -Date: Fri Oct 8 13:25:46 2021 -0400 - - [USE] Document customizations of USE categories - - src/gen-use-table.py | 4 ++++ - 1 file changed, 4 insertions(+) - -commit 7287125c586994bf2ea5d3117b15731475ce3192 -Author: David Corbett -Date: Tue Oct 5 08:52:11 2021 -0400 - - [USE] Merge the categories S and O - - src/gen-use-table.py | 5 - - src/hb-ot-shape-complex-use-machine.hh | 470 ++++++++++++++++----------------- - src/hb-ot-shape-complex-use-machine.rl | 6 +- - src/hb-ot-shape-complex-use-table.hh | 4 +- - src/hb-ot-shape-complex-use.cc | 1 - - 5 files changed, 234 insertions(+), 252 deletions(-) - -commit 8eaee2f887fffb1130b41668a54cd98866f0bfb5 -Author: David Corbett -Date: Thu Oct 7 20:10:31 2021 -0400 - - [USE] Only skip default ignorables within CCSes - - src/gen-use-table.py | 106 ++++++++-------- - src/hb-ot-shape-complex-use-machine.hh | 55 ++++---- - src/hb-ot-shape-complex-use-machine.rl | 9 +- - src/hb-ot-shape-complex-use-table.hh | 145 ++++++++++++++-------- - src/update-unicode-tables.make | 16 +-- - test/shape/data/in-house/tests/use-syllable.tests | 2 +- - 6 files changed, 189 insertions(+), 144 deletions(-) - -commit 4645c3b47c6e7a70f8d55eda543df1109e309347 -Author: David Corbett -Date: Thu Oct 7 08:52:02 2021 -0400 - - Update comments for U+180F FVS4 - - src/hb-ot-layout.hh | 4 ++-- - src/hb-unicode.hh | 3 ++- - 2 files changed, 4 insertions(+), 3 deletions(-) - -commit 5b882c420adc8f0556a0d966a641aef4c812079e -Author: Garret Rieger -Date: Wed Oct 6 11:12:32 2021 -0700 - - [repacker] performance optimizations for topological sorting. - - - Presize the output sorted graph and write it once in the correct order to avoid needing to reverse. - - Swap the old/new graph vectors instead of copying. - - Use a boolean vector for tracking visited instead of a set. - - src/hb-repacker.hh | 25 +++++++++++-------------- - src/hb-vector.hh | 15 +++++++++++++++ - 2 files changed, 26 insertions(+), 14 deletions(-) - -commit ff7a86e9b06f7c9b4c82fb931d681b08be1e0b27 -Author: Garret Rieger -Date: Wed Oct 6 10:51:45 2021 -0700 - - [repacker] remove clone buffer, they are unnessecary. - - When nodes are duplicated it's fine to just reuse head, tail from the node being cloned since we don't modify the contents. - - src/hb-repacker.hh | 39 +++------------------------------------ - 1 file changed, 3 insertions(+), 36 deletions(-) - -commit 8cae8b653ddae37b1a5410a5997a14e44bf934a0 -Author: Garret Rieger -Date: Tue Oct 5 14:03:02 2021 -0700 - - [repacker] add missing fini for parents vector. - - src/hb-repacker.hh | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -commit 7f0ede4f04f3f3eeb985bf40907e127952c7390c -Author: Garret Rieger -Date: Tue Oct 5 13:10:01 2021 -0700 - - [repacker] refactor resolve overflow tests to use a helper. - - src/test-repacker.cc | 165 +++++++++++++++++---------------------------------- - 1 file changed, 53 insertions(+), 112 deletions(-) - -commit 79937d24b75d3039d70feafa2e5ca9836d72689b -Author: Garret Rieger -Date: Tue Oct 5 12:53:21 2021 -0700 - - [repacker] Add repacker test that requires space splitting. - - test/subset/data/fonts/Harmattan-Regular.ttf | Bin 0 -> 835156 bytes - test/subset/data/repack_tests/Makefile.sources | 3 ++- - test/subset/data/repack_tests/space_splitting.tests | 2 ++ - test/subset/meson.build | 2 ++ - 4 files changed, 6 insertions(+), 1 deletion(-) - -commit 7883b7ed95fcf577e4a5771daeaa01a89058eade -Author: Garret Rieger -Date: Tue Oct 5 12:46:59 2021 -0700 - - [repacker] Add additional splitting spaces test. - - Fix issues it uncovered. - - src/hb-repacker.hh | 11 +++-- - src/test-repacker.cc | 125 +++++++++++++++++++++++++++++++++++++++++++++++++++ - 2 files changed, 133 insertions(+), 3 deletions(-) - -commit 6265663de4c77dd504d231f2b8f7fd8e80363b40 -Author: Garret Rieger -Date: Tue Oct 5 11:30:04 2021 -0700 - - [repacker] add test for splitting spaces. - - src/test-repacker.cc | 105 +++++++++++++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 105 insertions(+) - -commit d97bd4268a8acdbc3628855057743d2b22e85341 -Author: Garret Rieger -Date: Tue Oct 5 10:53:05 2021 -0700 - - [repacker] when assigning spaces use post isolation node indices. - - isolate_subgraph can result in some of the roots being duplicated and moved to new indices, so do subgraph isolation before assign roots to spaces. - - src/hb-repacker.hh | 69 ++++++++++++++++++++++++++++++++++++++++-------------- - 1 file changed, 51 insertions(+), 18 deletions(-) - -commit bb57df7a4fae6991895388c8b4fab8ae9de80332 -Author: Khaled Hosny -Date: Tue Oct 5 15:40:30 2021 +0200 - - [test] Add test for https://github.com/harfbuzz/harfbuzz/issues/2757#issuecomment-933531978 - - .../fonts/e6185e88b04432fbf373594d5971686bb7dd698d.ttf | Bin 0 -> 79552 bytes - test/shape/data/in-house/tests/aat-morx.tests | 1 + - 2 files changed, 1 insertion(+) - -commit 16245503776b5d5487bb07640b1d75d0429f2143 -Author: Khaled Hosny -Date: Tue Oct 5 15:35:17 2021 +0200 - - [test] Add test for https://github.com/harfbuzz/harfbuzz/issues/3244 - - .../fonts/e2b17207c4b7ad78d843e1b0c4d00b09398a1137.ttf | Bin 0 -> 1488 bytes - test/shape/data/in-house/tests/indic-syllable.tests | 1 + - 2 files changed, 1 insertion(+) - -commit ccfc0481539ca34cba578ebbcef8ac0ea315e2f0 -Author: Behdad Esfahbod -Date: Tue Oct 5 07:00:50 2021 -0600 - - [indic] Apply 'calt' and 'clig' across syllable boundaries - - Fixes https://github.com/harfbuzz/harfbuzz/issues/3244 - - src/hb-ot-shape-complex-indic.cc | 3 --- - 1 file changed, 3 deletions(-) - -commit d58f1685cee7fef904f4149561a2dcf5ec519ac3 -Author: Behdad Esfahbod -Date: Mon Oct 4 08:40:24 2021 -0600 - - [ot-shape] Tweak table order some more; apply GPOS with morx - - During 5bc05ba155 accidentally GPOS was disabled when morx was - enabled. Fix that. - - Fixes https://github.com/harfbuzz/harfbuzz/issues/2757#issuecomment-933531978 - - src/hb-ot-shape.cc | 12 +++++++----- - 1 file changed, 7 insertions(+), 5 deletions(-) - -commit f8ebb8a65778745e43c560270d198c77c9d55220 -Author: David Corbett -Date: Wed Sep 29 19:18:25 2021 -0400 - - [USE] Update the data files - - This uses the data files from - . - - src/hb-ot-shape-complex-use-table.hh | 187 +++++++++++++++++----- - src/ms-use/IndicPositionalCategory-Additional.txt | 97 +++++------ - src/ms-use/IndicSyllabicCategory-Additional.txt | 164 ++++++++++--------- - 3 files changed, 284 insertions(+), 164 deletions(-) - -commit 564afc425abac78fc2741540cb0d77cf31491f40 -Author: David Corbett -Date: Tue Sep 28 17:33:47 2021 -0400 - - [USE] Remove overrides for hieroglyphic categories - - src/gen-use-table.py | 8 --- - src/hb-ot-shape-complex-use-table.hh | 96 +++++------------------------------- - 2 files changed, 13 insertions(+), 91 deletions(-) - -commit 8c654420692a3534413334f6d096738a796f4384 -Author: David Corbett -Date: Sat Sep 25 16:38:32 2021 -0400 - - [Unicode 14] Handle U+180F FVS4 - - src/hb-ot-layout.hh | 2 +- - src/hb-ot-shape-complex-arabic.cc | 2 +- - src/hb-unicode.hh | 2 +- - 3 files changed, 3 insertions(+), 3 deletions(-) - -commit 375a6c8f81a894ac15be7542e17571ad3ebdf16a -Author: Garret Rieger -Date: Wed Sep 29 18:14:57 2021 -0700 - - [repacker] add the ability to move subgraphs from a shared space into their own space. - - Used to resolve overflows during manual resolution. - - src/hb-repacker.hh | 93 ++++++++++++++++++++++++++++++++++++++++++++++++------ - 1 file changed, 84 insertions(+), 9 deletions(-) - -commit 0dccbf368f1158f474f7ec3c6647932fbdda4e60 -Author: Garret Rieger -Date: Wed Sep 29 14:28:27 2021 -0700 - - [repacker] Handle the case where a subgraph root has an incoming 32 and 16 bit edge. - - In this case the entire subgraph from that root will be duplicated. - - src/hb-repacker.hh | 49 ++++++++++++++++++++---- - src/test-repacker.cc | 105 +++++++++++++++++++++++++++++++++++++++++++++++++++ - 2 files changed, 146 insertions(+), 8 deletions(-) - -commit 794b00db4b63e8314aee96c23a20ecb878452eef -Author: Qunxin Liu -Date: Mon Sep 27 17:21:16 2021 -0700 - - [subset] fuzzer fix: https://oss-fuzz.com/testcase-detail/6616166961905664 - - src/hb-ot-math-table.hh | 8 ++++++-- - ...z-testcase-minimized-hb-subset-fuzzer-6616166961905664 | Bin 0 -> 919 bytes - 2 files changed, 6 insertions(+), 2 deletions(-) - -commit 816c5302a7f5bfbbac1b89a72f9d50871085ddf3 -Author: Garret Rieger -Date: Tue Sep 28 16:04:27 2021 -0700 - - [repacker] restrict 32 bit subgraph connected component search to only nodes reachable via directed links. - - src/hb-repacker.hh | 20 ++++++--- - src/test-repacker.cc | 122 +++++++++++++++++++++++++++++++++++++++++++++++++++ - 2 files changed, 136 insertions(+), 6 deletions(-) - -commit 67eb222b8eae1a10d0fd485a04254144e4051d46 -Author: Garret Rieger -Date: Tue Sep 28 13:36:06 2021 -0700 - - [repacker] when assigning each connected subgraph a space, also isolate it. - - This will break any links coming from space 0 (ie. the 16 bit offset only space). - - src/hb-repacker.hh | 46 ++++++++++++++-------------------------------- - src/test-repacker.cc | 50 ++++++++++++++++++++++++++++++++++---------------- - 2 files changed, 48 insertions(+), 48 deletions(-) - -commit 307acf7fb0d4c767b4b78ba6c80ab83399d16cb4 -Author: Garret Rieger -Date: Tue Sep 28 12:08:18 2021 -0700 - - [repacker] add space assignment based on connected components. - - Assign each connected component that is underneath one or more 32 bit offsets into a unique space. This ensures that 32 bit subgraphs which are connected are packed into the same space. - - src/hb-repacker.hh | 79 ++++++++++++++++++++++++++++++++- - src/test-repacker.cc | 122 ++++++++++++++++++++++++++++++++++++++++++++------- - 2 files changed, 182 insertions(+), 19 deletions(-) - -commit c77bdf1dcf86dcad79e90643a5f4e7d04fbae975 -Author: Garret Rieger -Date: Fri Sep 24 15:58:57 2021 -0700 - - [repacker] begin storing each nodes parents. - - Will be used for connected component search. - - src/hb-repacker.hh | 132 +++++++++++++++++++++++++++++++++++------------------ - 1 file changed, 87 insertions(+), 45 deletions(-) - -commit a52c6df38a38c4e36ff991dfb4b7d92e48a44553 -Author: Garret Rieger -Date: Mon Sep 27 11:22:05 2021 -0700 - - [subset] Fix bug in composite operation counting. - - Adding the result of add_gid_and_children to operation count over counts the number of operations. - - src/hb-ot-glyf-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit efda2f14e104eedfee7da50ba2d22ba9a9ae376b -Author: Garret Rieger -Date: Fri Sep 24 16:28:34 2021 -0700 - - [repacker] fix bug in subgraph isolation. - - Prior to this fix id remapping at the end of the isolation operation was fed the old subgraph instead of the new one. Which results in object indices being remapped for the nodes outside of the new subgraph. Adds a test which detects this problem. - - src/hb-repacker.hh | 11 +++++++-- - src/test-repacker.cc | 64 ++++++++++++++++++++++++++++++++++++++++++++++++---- - 2 files changed, 69 insertions(+), 6 deletions(-) - -commit 6f1909439862cc37246aba55a85c0a072b945dff -Author: Behdad Esfahbod -Date: Thu Sep 23 08:39:29 2021 -0600 - - [getn-hb-version.py] Open old output in UTF-8 mode as well - - Fixes https://github.com/harfbuzz/harfbuzz/issues/3227 - - src/gen-hb-version.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 9247d24d7f41f820d7ea79089b482410b927edc8 -Author: Garret Rieger -Date: Wed Sep 22 16:00:02 2021 -0700 - - [repacker] s/0/HB_TAG_NONE - - src/test-repacker.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit fe155de9895e99d8ae13cb7516e2a70d6e7f8856 -Author: Garret Rieger -Date: Fri Sep 10 14:55:24 2021 -0700 - - [repacker] handle a couple of duplication edge cases. - - - Detect cases where there are multiple links from a parent to a child. Don't duplicate that child if those are the only remaining links to the child. - - Correctly handle isolating a subgraph where the root idx has multiple incoming links. - - src/hb-repacker.hh | 47 ++++++++++++++++++++++++++++++++++++----------- - 1 file changed, 36 insertions(+), 11 deletions(-) - -commit c19ec97da722d4a91024328c2d31f5e2f984fe10 -Author: Garret Rieger -Date: Thu Sep 9 10:53:09 2021 -0700 - - [repacker] reduce the bits used by order by 2 to give more bits to distance. - - src/hb-repacker.hh | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit d5beb96e06c34b6f5799f341d4b27e952e739d85 -Author: Garret Rieger -Date: Thu Sep 9 10:40:08 2021 -0700 - - [repacker] add repacker isolation test on real font. - - .../subset/data/fonts/NotoNastaliqUrdu-Regular.ttf | Bin 0 -> 570552 bytes - test/subset/data/repack_tests/Makefile.sources | 1 + - test/subset/data/repack_tests/isolation.tests | 96 +++++++++++++++++++++ - test/subset/meson.build | 1 + - 4 files changed, 98 insertions(+) - -commit d0daa7a59be05689ac618b6c22f2c112f67d75cb -Author: Garret Rieger -Date: Thu Sep 9 10:25:43 2021 -0700 - - [repacker] add a couple more complex isolation tests. - - src/hb-repacker.hh | 5 ++- - src/test-repacker.cc | 120 +++++++++++++++++++++++++++++++++++++++++++++++++-- - 2 files changed, 119 insertions(+), 6 deletions(-) - -commit 62c502cd9dc4637934f846caa9587a2aebca9ee9 -Author: Garret Rieger -Date: Thu Sep 9 09:57:42 2021 -0700 - - [repacker] correctly update incoming_edges in duplicate. - - src/hb-repacker.hh | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -commit a57ef8df7ebf70f08065233f3ad218c451eff98a -Author: Garret Rieger -Date: Wed Sep 8 17:31:39 2021 -0700 - - [repacker] default space to 0. - - Since vector push() init's new objects to all zeros. - - src/hb-repacker.hh | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -commit 58facaade1c85906fec70584abfe13995a9dd07b -Author: Garret Rieger -Date: Wed Sep 8 16:08:48 2021 -0700 - - [repacker] put each 32 bit subgraph into it's own packing space. - - Each subgraph pointed to by a 32 bit offset should be packed into it's own space. This adds a space property to vertices which affects the distance calculation. This effectively places the distances for all of the nodes of a 32 bit subgraph into a distinct range. Thus all of the nodes of the subgraph will be packed together. - - src/hb-repacker.hh | 12 ++++++++++-- - src/test-repacker.cc | 3 +++ - 2 files changed, 13 insertions(+), 2 deletions(-) - -commit 543a3f97333a3bdede0cadd19b9a8554df81f1e8 -Author: Garret Rieger -Date: Wed Sep 8 15:07:02 2021 -0700 - - [repacker] Add repacker test for subgraph isolation. - - src/hb-repacker.hh | 10 +++++++-- - src/test-repacker.cc | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++++ - 2 files changed, 65 insertions(+), 2 deletions(-) - -commit 7147f169d6cc93f54b7722022829ddb68957d2a5 -Author: Garret Rieger -Date: Wed Sep 8 13:44:25 2021 -0700 - - [repacker] recursively duplicate nodes during isolation. - - If a node is duplicated during isolation then any children it has will have incoming links from outside the subgraph (from the duplicated node and the original node), so they must be duplicated too. - - src/hb-repacker.hh | 20 ++++++++++++++++++-- - 1 file changed, 18 insertions(+), 2 deletions(-) - -commit 41bbf2812e9f4f6e704496da5d73ba74d0b4465e -Author: Garret Rieger -Date: Wed Sep 8 10:14:00 2021 -0700 - - [repacker] do extension subtable isolation before starting resolution attempts. - - src/hb-repacker.hh | 39 ++++++++++++++++++++++++++++++++------- - src/hb-subset.cc | 2 +- - src/test-repacker.cc | 4 ++-- - 3 files changed, 35 insertions(+), 10 deletions(-) - -commit 8d8b7458a4cac9131bd650800ef0e3c0b67adfd4 -Author: Garret Rieger -Date: Tue Sep 7 16:52:37 2021 -0700 - - [repacker] extract overflows processing into its own method. - - src/hb-repacker.hh | 102 ++++++++++++++++++++++++++--------------------------- - 1 file changed, 51 insertions(+), 51 deletions(-) - -commit b14b3f13bae48045c8a8465bdf6f579cb833852c -Author: Garret Rieger -Date: Tue Sep 7 16:32:13 2021 -0700 - - [repacker] begin implementing the ability to isolate extension subtables. - - Adds isolate_subgraph operation to the repacker. This severs any links from outside a subgraph by duplicating the affected vertices. This will be used to isolate the subgraphs of a extension subtable from the rest of object graph. Thus allowing the extension subtable to be packed far away from the rest of the objects. - - src/hb-repacker.hh | 122 +++++++++++++++++++++++++++++++++++++++++++++-------- - 1 file changed, 105 insertions(+), 17 deletions(-) - -commit 02c4a516dbcedc40cf7436105a56c6d913fa3675 -Author: Garret Rieger -Date: Tue Sep 7 13:22:19 2021 -0700 - - Add a debug message when offset overflow resolution fails. - - src/hb-repacker.hh | 13 ++++++++++++- - 1 file changed, 12 insertions(+), 1 deletion(-) - -commit cb2d71c648137f1bd7586d3ec05050f0db50865f -Author: Ben Wagner -Date: Fri Jul 30 14:30:20 2021 -0400 - - [mutex] Add hb_mutex_t std::mutex implementation - - Instead of failing... - - src/hb-mutex.hh | 33 ++++++++++++++++++++------------- - 1 file changed, 20 insertions(+), 13 deletions(-) - -commit 67b3962fa5348ac7ee8e6297edcc277f3983e8be -Author: Behdad Esfahbod -Date: Wed Sep 22 16:21:27 2021 -0600 - - [atomic] Cannot fail anymore - - src/hb-atomic.hh | 10 +--------- - 1 file changed, 1 insertion(+), 9 deletions(-) - -commit ca7b9daef06fc515ec84cfb95e7204e9eef3f00e -Author: Qunxin Liu -Date: Mon Sep 20 14:42:51 2021 -0700 - - [subset] subset MATH table - - src/hb-ot-layout-common.hh | 37 +++ - src/hb-ot-math-table.hh | 268 +++++++++++++++++++++ - src/hb-subset-plan.cc | 20 +- - src/hb-subset-plan.hh | 1 + - src/hb-subset.cc | 2 + - test/subset/data/Makefile.am | 1 + - test/subset/data/Makefile.sources | 1 + - .../math/STIXTwoMath-Regular.default.2f,7c,305.ttf | Bin 0 -> 6388 bytes - ...woMath-Regular.default.retain-all-codepoint.ttf | Bin 0 -> 1038580 bytes - .../STIXTwoMath-Regular.glyph-names.2f,7c,305.ttf | Bin 0 -> 6540 bytes - ...th-Regular.glyph-names.retain-all-codepoint.ttf | Bin 0 -> 1091356 bytes - ...TIXTwoMath-Regular.notdef-outline.2f,7c,305.ttf | Bin 0 -> 6636 bytes - ...Regular.notdef-outline.retain-all-codepoint.ttf | Bin 0 -> 1038828 bytes - .../STIXTwoMath-Regular.retain-gids.2f,7c,305.ttf | Bin 0 -> 14916 bytes - ...th-Regular.retain-gids.retain-all-codepoint.ttf | Bin 0 -> 1053656 bytes - test/subset/data/fonts/STIXTwoMath-Regular.ttf | Bin 0 -> 1517976 bytes - test/subset/data/tests/math.tests | 12 + - test/subset/meson.build | 1 + - 18 files changed, 342 insertions(+), 1 deletion(-) - -commit c2cc566c9d7f63c024c0a15e93c9ae99717a4b4f -Author: Garret Rieger -Date: Wed Sep 22 14:15:55 2021 -0700 - - [subset] Fix subset_offset_array adding unused space to serializer. - - ArrayOf.serialize_append allocates space for the new item, but ArrayOf.pop() does not recover the allocated space. So in the case where the revert path was entered the extra space added by serialize_append gets left in the serialization buffer. This moves the snapshot to before ArrayOf.serialize_append is called so that revert cleans up the buffer extend. - - src/hb-ot-layout-common.hh | 4 ++-- - src/hb-ot-layout-gpos-table.hh | 2 +- - src/hb-ot-layout-gsubgpos.hh | 4 ++-- - ...ns-BlackItalic.default.retain-all-codepoint.ttf | Bin 120240 -> 120236 bytes - ...lackItalic.glyph-names.retain-all-codepoint.ttf | Bin 132484 -> 132480 bytes - ...kItalic.notdef-outline.retain-all-codepoint.ttf | Bin 120240 -> 120236 bytes - ...s2_1_font7.layout-test-retain-gids.21,23,25.otf | Bin 1728 -> 1728 bytes - .../gpos2_1_font7.layout-test.21,23,25.otf | Bin 1384 -> 1384 bytes - ...e_subrules_f2.layout-test-retain-gids.41,42.otf | Bin 2208 -> 2208 bytes - ...ext1_multiple_subrules_f2.layout-test.41,42.otf | Bin 1400 -> 1400 bytes - ...e_subrules_f2.layout-test-retain-gids.41,42.otf | Bin 2224 -> 2224 bytes - ...ext2_multiple_subrules_f2.layout-test.41,42.otf | Bin 1416 -> 1416 bytes - ...Bold.default.627,644,623,62D,644,627,645,2E.ttf | Bin 11388 -> 11372 bytes - ...toNastaliqUrdu-Bold.default.627,644,62D,628.ttf | Bin 17688 -> 17640 bytes - .../NotoNastaliqUrdu-Bold.default.627,644.ttf | Bin 3520 -> 3512 bytes - ...rdu-Bold.default.633,645,627,621,20,644,627.ttf | Bin 12380 -> 12360 bytes - .../NotoNastaliqUrdu-Bold.default.63A,64A,631.ttf | Bin 19380 -> 19340 bytes - ....retain-gids.627,644,623,62D,644,627,645,2E.ttf | Bin 18224 -> 18208 bytes - ...staliqUrdu-Bold.retain-gids.627,644,62D,628.ttf | Bin 23748 -> 23704 bytes - .../NotoNastaliqUrdu-Bold.retain-gids.627,644.ttf | Bin 9164 -> 9160 bytes - ...Bold.retain-gids.633,645,627,621,20,644,627.ttf | Bin 18184 -> 18164 bytes - ...toNastaliqUrdu-Bold.retain-gids.63A,64A,631.ttf | Bin 25432 -> 25392 bytes - .../variable/Fraunces.default.26,66,69,124,125.ttf | Bin 15856 -> 15856 bytes - 23 files changed, 5 insertions(+), 5 deletions(-) - -commit 8c5c81746d8d4c5921be50a85d219deea2c95762 -Author: Qunxin Liu -Date: Sun Sep 12 20:16:30 2021 -0700 - - [subset] fix find_duplicate_features - - We should check each feature against all other features with the same - tag for duplicates. - - src/hb-ot-layout-gsubgpos.hh | 70 +++++++++++---------- - test/subset/data/Makefile.am | 1 + - test/subset/data/Makefile.sources | 1 + - ...fault.20,2f,38,49,4c,51,53,66,67,6f,b4,2044.ttf | Bin 0 -> 8452 bytes - ...ns-BlackItalic.default.retain-all-codepoint.ttf | Bin 0 -> 120240 bytes - ...names.20,2f,38,49,4c,51,53,66,67,6f,b4,2044.ttf | Bin 0 -> 8552 bytes - ...lackItalic.glyph-names.retain-all-codepoint.ttf | Bin 0 -> 132484 bytes - ...tline.20,2f,38,49,4c,51,53,66,67,6f,b4,2044.ttf | Bin 0 -> 8452 bytes - ...kItalic.notdef-outline.retain-all-codepoint.ttf | Bin 0 -> 120240 bytes - .../subset/data/fonts/AlegreyaSans-BlackItalic.ttf | Bin 0 -> 211948 bytes - .../data/tests/layout.duplicate_features.tests | 11 ++++ - test/subset/meson.build | 1 + - 12 files changed, 50 insertions(+), 34 deletions(-) - -commit 1afc3874e00992c378977c2feb25f8088c9c5a9a -Author: Qunxin Liu -Date: Sun Sep 19 20:41:43 2021 -0700 - - [subset] add closure_glyphs () method for MATH table - - src/hb-ot-math-table.hh | 57 +++++++++++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 57 insertions(+) - -commit 3b2929e8a9da349fbd8437fd0b5cf0c8ce92cf32 -Author: Behdad Esfahbod -Date: Tue Sep 21 12:21:02 2021 -0600 - - [set-digest] Use using instead of typedef - - src/hb-set-digest.hh | 14 ++++++++------ - 1 file changed, 8 insertions(+), 6 deletions(-) - -commit 5694561f75bdea9c7d77d7932598fe4e5f45b33e -Author: Simon Cozens -Date: Mon Sep 20 15:21:11 2021 +0100 - - Add support for Pwo Karen / Ason Chin medial la - - https://github.com/harfbuzz/harfbuzz/pull/3217 - - src/hb-ot-shape-complex-myanmar-machine.hh | 473 +++++++++++++++-------------- - src/hb-ot-shape-complex-myanmar-machine.rl | 5 +- - src/hb-ot-shape-complex-myanmar.hh | 7 +- - 3 files changed, 259 insertions(+), 226 deletions(-) - -commit bff56854323f853ed3dbad1105555da5192a7d1b -Author: Behdad Esfahbod -Date: Mon Sep 20 13:25:58 2021 -0600 - - [khmer] Towards separating Khmer from Indic table - - src/hb-ot-shape-complex-khmer.hh | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit 5d957ffe74d767f621d7ce4833ce2349206a2391 -Author: Behdad Esfahbod -Date: Mon Sep 20 11:33:01 2021 -0600 - - [myanmar] Towards separating Myanmar from Indic table - - src/hb-ot-shape-complex-myanmar.cc | 2 +- - src/hb-ot-shape-complex-myanmar.hh | 3 ++- - 2 files changed, 3 insertions(+), 2 deletions(-) - -commit 6db4b56e05a6fd993b4f3b5f1d21acc12236361e -Author: Khaled Hosny -Date: Mon Sep 20 19:18:39 2021 +0200 - - Make the file UTF-8 again - - GitHub web interface failed to show the encoding change. - - src/hb-subset-input.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 14a2df7bc237e7e59ff62c710751c7069733a469 -Author: Behdad Esfahbod -Date: Sun Sep 19 23:06:09 2021 -0400 - - Add stub HBUINT15 - - src/hb-open-type.hh | 9 +++++++++ - src/hb-ot-layout-common.hh | 2 +- - 2 files changed, 10 insertions(+), 1 deletion(-) - -commit c852b8684154f707a897b6b62338efc48ebcfd9e -Author: Behdad Esfahbod -Date: Sun Sep 19 16:30:12 2021 -0400 - - Rename HBGlyphID to HBGlyphID16 - - perf/texts/en-words.txt | 2 +- - src/hb-aat-layout-bsln-table.hh | 4 +- - src/hb-aat-layout-common.hh | 16 +++--- - src/hb-aat-layout-just-table.hh | 8 +-- - src/hb-aat-layout-kerx-table.hh | 4 +- - src/hb-aat-layout-morx-table.hh | 32 ++++++------ - src/hb-open-type.hh | 4 +- - src/hb-ot-cmap-table.hh | 4 +- - src/hb-ot-color-cbdt-table.hh | 8 +-- - src/hb-ot-color-colr-table.hh | 6 +-- - src/hb-ot-glyf-table.hh | 2 +- - src/hb-ot-layout-base-table.hh | 2 +- - src/hb-ot-layout-common.hh | 18 +++---- - src/hb-ot-layout-gpos-table.hh | 2 +- - src/hb-ot-layout-gsub-table.hh | 78 +++++++++++++++--------------- - src/hb-ot-layout-jstf-table.hh | 2 +- - src/hb-ot-math-table.hh | 4 +- - src/hb-ot-shape-complex-arabic-fallback.hh | 14 +++--- - src/hb-ot-vorg-table.hh | 2 +- - 19 files changed, 106 insertions(+), 106 deletions(-) - -commit 74f96d9d4b359fc138d21709c975a09ba933fb3d -Author: Garret Rieger -Date: Fri Sep 17 13:46:07 2021 -0700 - - [repacker] fix heap use after free in repacker. - - Don't store a reference to the link in overflow records as the link object may be freed if the sorted graph vector is resized. - - src/hb-repacker.hh | 12 ++++++------ - ...testcase-minimized-hb-subset-fuzzer-5127321313476608 | Bin 0 -> 60417 bytes - 2 files changed, 6 insertions(+), 6 deletions(-) - -commit 7143c8333bae6b0ca238a92d1fdb222d088bf9d1 -Author: ActuallyaDeviloper -Date: Sat Sep 18 20:59:38 2021 +0200 - - Make the code able to compile with MSVC++ from Visual Studio 2015 (Version 14.0.25431.01, Update 3) sucessfully again. - - src/hb-subset-input.hh | 24 +++++++++++++----------- - 1 file changed, 13 insertions(+), 11 deletions(-) - -commit b36f1510ec5180724e7866e2a86570429a435c93 -Author: Khaled Hosny -Date: Sat Sep 18 23:09:07 2021 +0200 - - [doc] Add missing version tags - - src/hb-ot-layout.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 9c387e20d65a7a366ac270d789f6ad266014c9e0 -Author: Khaled Hosny -Date: Fri Sep 17 21:32:30 2021 +0200 - - 3.0.0 - - NEWS | 51 ++++++++++++++++++++++++++++++++++++++++++++++++++ - configure.ac | 2 +- - docs/harfbuzz-docs.xml | 1 + - meson.build | 2 +- - src/hb-common.h | 12 ++++++------ - src/hb-style.cc | 2 +- - src/hb-style.h | 2 +- - src/hb-version.h | 8 ++++---- - 8 files changed, 66 insertions(+), 14 deletions(-) - -commit e0d5fe740a6c23a995d4d881bfa330eb1063059d -Author: Behdad Esfahbod -Date: Fri Sep 17 08:27:03 2021 -0400 - - Centralize math include - - https://github.com/harfbuzz/harfbuzz/pull/3212 - - src/hb-style.cc | 3 --- - src/hb.hh | 3 +++ - 2 files changed, 3 insertions(+), 3 deletions(-) - -commit 671f1d149a880491541d552c0d6e16365480790b -Author: Khaled Hosny -Date: Wed Sep 15 15:13:41 2021 +0200 - - [ci] meson 0.55.0 didn’t work for harfbuzz - - https://github.com/mesonbuild/meson/issues/7437 - - .github/workflows/linux-ci.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit f1b20b5a1466cbbea358960967b4a1bbb17956f2 -Author: Khaled Hosny -Date: Wed Sep 15 14:52:49 2021 +0200 - - [ci] Ragel subproject requires meson 0.55.0 - - .github/workflows/linux-ci.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 835fc1376f47e63f073a967cb6190c194e1e63f2 -Author: Khaled Hosny -Date: Wed Sep 15 14:14:04 2021 +0200 - - [ci] Build ragel on the Linux CI job - - To make sure we don’t accidentally break this option. - - .github/workflows/linux-ci.yml | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit a59e7ec9938cb8a927ea7b02aee8800c36d7d71a -Author: Khaled Hosny -Date: Wed Sep 15 14:02:52 2021 +0200 - - [meson] Add ragel_subproject option - - Add an option to build fallback ragel subproject when no suitable ragel - version is found, and make it off by default since most builder don’t - need ragel at all. - - Fixes https://github.com/harfbuzz/harfbuzz/issues/3208 (hopefully) - - meson_options.txt | 2 ++ - src/meson.build | 8 +++++--- - 2 files changed, 7 insertions(+), 3 deletions(-) - -commit 60a38d7988f8e1a15411aabde9ea91d1fe519b7b -Merge: f4649f389 19cd84b4e -Author: Khaled Hosny -Date: Fri Sep 17 11:25:42 2021 +0200 - - Merge pull request #3210 from NikitaFeodonit/main - - CMake: Detect pthread with module FindThread - -commit f4649f389563819cee909df3c11087dc716f35e9 -Author: Garret Rieger -Date: Thu Sep 16 13:40:44 2021 -0700 - - [subset] restore hb_subset_input_unicode/glyph_set () to documentation. - - docs/harfbuzz-sections.txt | 2 ++ - 1 file changed, 2 insertions(+) - -commit d700646c33af53afcabe564e9943565d58e1192a -Author: Garret Rieger -Date: Thu Sep 16 11:23:09 2021 -0700 - - [subset] In preperation for 3.0.0 release remove legacy subsetting api methods. - - src/hb-subset-input.cc | 202 ------------------------------------- - src/hb-subset.cc | 8 -- - src/hb-subset.h | 82 ++------------- - test/api/hb-subset-test.h | 4 +- - test/api/test-subset-drop-tables.c | 4 +- - test/api/test-subset-glyf.c | 12 +-- - test/api/test-subset-gpos.c | 6 +- - test/api/test-subset.c | 53 +--------- - util/hb-subset.cc | 8 +- - 9 files changed, 25 insertions(+), 354 deletions(-) - -commit 19cd84b4e95190f7ee236cb15a60d4a6be7040a0 -Author: NikitaFeodonit -Date: Wed Sep 15 16:31:32 2021 +0300 - - CMake: Detect pthread with module FindThread - - Set CMake minimum version to 3.1. - - CMakeLists.txt | 12 ++++++++---- - 1 file changed, 8 insertions(+), 4 deletions(-) - -commit ae145378540846ea3e51d6dee0033b16b9a43dea -Author: Behdad Esfahbod -Date: Wed Sep 15 07:46:33 2021 -0400 - - [style] Change tag type to hb_style_tag_t - - https://github.com/harfbuzz/harfbuzz/pull/3201#discussion_r708914354 - - src/hb-style.cc | 5 ++--- - src/hb-style.h | 2 +- - 2 files changed, 3 insertions(+), 4 deletions(-) - -commit 470686e8179d728d70fe7d738e831f6d26281def -Author: David Corbett -Date: Tue Sep 14 20:56:37 2021 -0400 - - [USE] Send Khitan Small Script and Yezidi to USE - - src/hb-ot-shape-complex.hh | 2 ++ - 1 file changed, 2 insertions(+) - -commit 22cbd038d3578c344e265a098fc98ef168f8d18b -Author: Khaled Hosny -Date: Tue Sep 14 12:34:25 2021 +0200 - - [meson] Add ragel subproject - - If ragel 6.10 is not found, build it from source. - - Seems to work, except that ragel uses exceptions and we configure - HarfBuzz build to not use exceptions, and I can’t find away to enable - exceptions only for the ragel subproject. I had to remove cpp_eh=none - from default options and try to disable exceptions in MSVC manually - (other compilers are already handled). - - Makefile.am | 2 ++ - meson.build | 3 +- - src/gen-ragel-artifacts.py | 8 ++--- - src/meson.build | 5 ++- - subprojects/.gitignore | 1 + - subprojects/packagefiles/ragel/meson.build | 58 ++++++++++++++++++++++++++++++ - subprojects/ragel.wrap | 11 ++++++ - 7 files changed, 82 insertions(+), 6 deletions(-) - -commit 5898a9618cf6004d51c6fa2b34212c0ee61df3b0 -Author: Khaled Hosny -Date: Tue Sep 14 07:09:50 2021 +0200 - - [ragel] Regenerate state machine files with 6.10 - - src/hb-buffer-deserialize-json.hh | 1189 +++++++++++++----------- - src/hb-buffer-deserialize-text.hh | 1437 ++++++++++++++++-------------- - src/hb-ot-shape-complex-khmer-machine.hh | 665 +++++++------- - src/hb-ot-shape-complex-use-machine.hh | 1036 ++++++++++----------- - 4 files changed, 2171 insertions(+), 2156 deletions(-) - -commit 7e9ac8fea2b6d2b729c1e4c2a773ed2947265b16 -Author: Khaled Hosny -Date: Tue Sep 14 07:07:00 2021 +0200 - - [meson] Require ragel 6.10 - - Ragel 7 is also not stable from upstream's point of view. - - This uses “version” argument find_program(), which was introduced in - meson 0.52.0, so I raised the minimum required meson version - accordingly. - - .circleci/config.yml | 2 +- - .github/workflows/linux-ci.yml | 2 +- - meson.build | 2 +- - src/meson.build | 2 +- - 4 files changed, 4 insertions(+), 4 deletions(-) - -commit 175f24a45938ec27f54154b40d9283f4cf47981c -Merge: cd77846bd f1493357f -Author: Behdad Esfahbod -Date: Tue Sep 14 18:46:05 2021 -0600 - - Merge pull request #3206 from harfbuzz/unicode-14 - - Update to Unicode 14.0.0 - -commit f1493357f745ef554276cb5cf3054d3d0f8a7af5 -Author: David Corbett -Date: Tue Sep 14 18:46:50 2021 -0400 - - [Unicode 14] Update the Arabic joining script list - - src/hb-ot-shape-complex-arabic-joining-list.hh | 9 +++++---- - 1 file changed, 5 insertions(+), 4 deletions(-) - -commit a0101a31b5079d7f223e109d13b4f45397aa1db0 -Author: David Corbett -Date: Tue Sep 14 18:38:50 2021 -0400 - - [Unicode 14] Add tests - - test/api/test-unicode.c | 13 +++++++++++++ - 1 file changed, 13 insertions(+) - -commit 2c3e4b279b577073df5a16610f7e6ae8aa790ef5 -Author: David Corbett -Date: Tue Sep 14 18:31:42 2021 -0400 - - [Unicode 14] Send all the new scripts to USE - - src/hb-ot-shape-complex.hh | 7 +++++++ - 1 file changed, 7 insertions(+) - -commit 20736d9bb33f18b8c657e3451ec1287b2866c0d4 -Author: David Corbett -Date: Tue Sep 14 18:25:38 2021 -0400 - - [Unicode 14] Update the USE table - - src/hb-ot-shape-complex-use-table.hh | 76 ++++++++++++++++++------------------ - 1 file changed, 39 insertions(+), 37 deletions(-) - -commit 35ac0de42bc3904e90039c7f00a9daf088f9d363 -Author: David Corbett -Date: Tue Sep 14 18:14:20 2021 -0400 - - [Unicode 14] Update the emoji table - - src/hb-unicode-emoji-table.hh | 8 ++++---- - src/update-unicode-tables.make | 4 +++- - 2 files changed, 7 insertions(+), 5 deletions(-) - -commit ec5688f50fbc53de9b78fe11ef33fb903075aea6 -Author: David Corbett -Date: Tue Sep 14 18:09:05 2021 -0400 - - [Unicode 14] Update the vowel constraint table - - src/hb-ot-shape-complex-vowel-constraints.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 11d5334d8e782ee3284a942eaae1f2dc9e4b4080 -Author: David Corbett -Date: Tue Sep 14 18:00:33 2021 -0400 - - [Unicode 14] Update the Indic table - - src/hb-ot-shape-complex-indic-table.cc | 42 +++++++++++++++++----------------- - 1 file changed, 21 insertions(+), 21 deletions(-) - -commit 18a46eeafbe075dba953a1aba9bffeff089dd227 -Author: David Corbett -Date: Tue Sep 14 17:55:54 2021 -0400 - - [Unicode 14] Update the Arabic table - - src/hb-ot-shape-complex-arabic-table.hh | 38 ++++++++++++++++++++------------- - 1 file changed, 23 insertions(+), 15 deletions(-) - -commit 7b05eec0548f5f5f74cd697a815d45ef2ab51e27 -Author: David Corbett -Date: Tue Sep 14 17:51:11 2021 -0400 - - [Unicode 14] Update the script direction list - - src/hb-common.cc | 3 +++ - 1 file changed, 3 insertions(+) - -commit 26e1498e76245f9e57f7d257c89a7e4be23d65ff -Author: David Corbett -Date: Tue Sep 14 18:07:29 2021 -0400 - - [Unicode 14] Update the UCD table - - src/hb-ucd-table.hh | 6796 ++++++++++++++++++++++++++------------------------- - 1 file changed, 3457 insertions(+), 3339 deletions(-) - -commit 67f1aa4d219b4636e151c7c01ab393d092ae7b6f -Author: David Corbett -Date: Tue Sep 14 17:43:13 2021 -0400 - - [Unicode 14] Add new `hb_script_t` values - - src/hb-common.h | 14 ++++++++++++++ - 1 file changed, 14 insertions(+) - -commit cd77846bd9e2bab9c40048597ec0ee47604376c3 -Author: Behdad Esfahbod -Date: Tue Sep 14 08:35:19 2021 -0400 - - [util] Fix leak of an hb_font_t - - util/font-options.hh | 4 +++- - util/options.hh | 6 ++++-- - 2 files changed, 7 insertions(+), 3 deletions(-) - -commit da285d511f85d6189fdb213cd29f25730baaed02 -Author: Behdad Esfahbod -Date: Tue Sep 14 08:28:12 2021 -0400 - - [util/shape-consumer] Simplify font tracking - - util/shape-consumer.hh | 23 +++++++++++------------ - 1 file changed, 11 insertions(+), 12 deletions(-) - -commit bda3238c89fa4673c8772ad02f1949fc19b41a5e -Author: Behdad Esfahbod -Date: Tue Sep 14 08:12:48 2021 -0400 - - Add fallback atexit implementation using template descrutors - - Fixes https://github.com/harfbuzz/harfbuzz/issues/3197 - - src/hb.hh | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 9c270451581a0d7e969c29d65a9ba62b6b7b9b12 -Author: Behdad Esfahbod -Date: Tue Sep 14 07:50:35 2021 -0400 - - [style] Fix another float conversion warning - - src/hb-style.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 5a1a6f1fe35aa3e1325239e5e7b0ac67c49f7105 -Author: Behdad Esfahbod -Date: Tue Sep 14 07:14:56 2021 -0400 - - [ot-shape] Enabled two more features: 'Harf' and 'Buzz' - - Considered 'required', as opposed to existing 'HARF' and 'BUZZ', - consider them discretionary. - - See discussion in https://github.com/harfbuzz/harfbuzz/issues/3200 - - src/hb-ot-shape.cc | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -commit ed1163208d97d77082d9b6e57671a55512a87729 -Author: Behdad Esfahbod -Date: Tue Sep 14 07:09:54 2021 -0400 - - Call atexit() via hb_atexit() - - Part of https://github.com/harfbuzz/harfbuzz/issues/3197 - - src/hb-common.cc | 8 ++------ - src/hb-ft.cc | 24 ++++++------------------ - src/hb-glib.cc | 12 +++--------- - src/hb-icu.cc | 12 +++--------- - src/hb-ot-font.cc | 12 +++--------- - src/hb-shape.cc | 12 +++--------- - src/hb-shaper.cc | 12 +++--------- - src/hb-ucd.cc | 10 ++-------- - src/hb-uniscribe.cc | 12 +++--------- - src/hb.hh | 17 +++++++++++++---- - 10 files changed, 41 insertions(+), 90 deletions(-) - -commit ad4df20dd62efe6db4993861cba2268bd3921c1a -Author: Behdad Esfahbod -Date: Tue Sep 14 07:11:33 2021 -0400 - - [style] Fix float conversion warning - - src/hb-style.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit c5cc23a9b59c2c039a4838e5734741f63c7ae23f -Author: Behdad Esfahbod -Date: Mon Sep 13 12:14:06 2021 -0400 - - [style] Change private slant tag - - https://github.com/harfbuzz/harfbuzz/issues/3200#issuecomment-918352162 - - src/hb-style.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit d748586a186826e8e09ddf290a064f84ff5619e6 -Author: Khaled Hosny -Date: Sat Sep 11 01:11:55 2021 +0200 - - [style] Try harder to fix MSVC build - - https://docs.microsoft.com/en-us/cpp/c-runtime-library/math-constants?view=msvc-160 - - src/hb-style.cc | 1 + - 1 file changed, 1 insertion(+) - -commit e275f0d7edb190fba0e0af56f0e4a7775b7bfccb -Author: Khaled Hosny -Date: Sat Sep 11 01:03:32 2021 +0200 - - [style] Try to fix MSVC build - - src/hb-style.cc | 2 ++ - 1 file changed, 2 insertions(+) - -commit eb4075a1ed8362ea3dd65a976141ddf8c12b2207 -Author: Khaled Hosny -Date: Sat Sep 11 00:50:08 2021 +0200 - - [style] Fix documentation - - Message documentation a bit to get it working. - - docs/harfbuzz-docs.xml | 5 +++++ - docs/harfbuzz-sections.txt | 6 ++++++ - src/hb-style.cc | 11 ++++++++++- - src/hb-style.h | 3 ++- - 4 files changed, 23 insertions(+), 2 deletions(-) - -commit 4d9b7de0b6b8247bf25f12047ed28d72454182bb -Author: Khaled Hosny -Date: Sat Sep 11 00:43:43 2021 +0200 - - [style] Prepare for release - - src/gen-def.py | 1 - - src/hb-style.cc | 40 +--------------------------------------- - src/hb-style.h | 39 +++++++++++++++++++++++++++++++++++++-- - test/api/test-style.c | 10 ---------- - 4 files changed, 38 insertions(+), 52 deletions(-) - -commit 34ff2d3ea6b7d3b748d82266e86c4a4d3fe31585 -Author: Khaled Hosny -Date: Sat Sep 11 00:12:03 2021 +0200 - - Fix build with -Dexperimental_api=true - - ../src/hb-style.cc:102:32: error: no matching function for call to 'hb_style_get_value' - return _hb_angle_to_ratio (hb_style_get_value (HB_STYLE_TAG_SLANT_ANGLE)); - ^~~~~~~~~~~~~~~~~~ - ../src/hb-style.cc:99:1: note: candidate function not viable: requires 2 arguments, but 1 was provided - hb_style_get_value (hb_font_t *font, hb_tag_t tag) - ^ - - and - - ../src/hb-style.cc:80:1: error: unused function '_hb_ratio_to_angle' [-Werror,-Wunused-function] - _hb_ratio_to_angle (float r) - ^ - - src/hb-style.cc | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit 39c20d2b9eb476065e64d3a3cccc6345aa50e4c1 -Author: Behdad Esfahbod -Date: Thu Sep 9 11:19:21 2021 -0600 - - [style] Add HB_STYLE_TAG_SLANT_RATIO - - src/hb-style.cc | 15 +++++++++++++++ - 1 file changed, 15 insertions(+) - -commit 201cbe3c66fda566be302aff051cb6f836e2931b -Author: Behdad Esfahbod -Date: Thu Sep 9 11:09:46 2021 -0600 - - [style] Rename HB_STYLE_TAG_SLANT to HB_STYLE_TAG_SLANT_ANGLE - - src/hb-style.cc | 9 +++++---- - test/api/test-style.c | 24 ++++++++++++------------ - 2 files changed, 17 insertions(+), 16 deletions(-) - -commit a23ce2897706c150160c21764fea992ac017c5c4 -Author: Behdad Esfahbod -Date: Thu Sep 9 10:59:01 2021 -0600 - - [style] Fall back to GPOS 'size' feature for optical size in style API - - src/hb-style.cc | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit 37379f8f7d6dab83b011416b8c7ff25d4f7365a0 -Author: Qunxin Liu -Date: Thu Sep 2 11:54:37 2021 -0700 - - [subset] fox for (Chain)ContextFormat3: subset lookupRecord - - skip copying a lookupRecord if lookup referenced in the lookupRecord is - not retained after subset - - src/hb-ot-layout-gsubgpos.hh | 30 ++++++++++++++++++--- - test/subset/data/Makefile.am | 1 + - test/subset/data/Makefile.sources | 1 + - ...5f2,fb21,fb22,fb23,fb24,fb25,fb26,fb27,fb28.ttf | Bin 0 -> 12424 bytes - .../Tinos-Italic.default.retain-all-codepoint.ttf | Bin 0 -> 412764 bytes - ...5f2,fb21,fb22,fb23,fb24,fb25,fb26,fb27,fb28.ttf | Bin 0 -> 12624 bytes - ...nos-Italic.glyph-names.retain-all-codepoint.ttf | Bin 0 -> 437592 bytes - ...5f2,fb21,fb22,fb23,fb24,fb25,fb26,fb27,fb28.ttf | Bin 0 -> 12424 bytes - ...-Italic.notdef-outline.retain-all-codepoint.ttf | Bin 0 -> 412764 bytes - ...5f2,fb21,fb22,fb23,fb24,fb25,fb26,fb27,fb28.ttf | Bin 0 -> 87564 bytes - ...nos-Italic.retain-gids.retain-all-codepoint.ttf | Bin 0 -> 415140 bytes - test/subset/data/fonts/Tinos-Italic.ttf | Bin 0 -> 455400 bytes - test/subset/data/tests/layout.tinos.tests | 12 +++++++++ - test/subset/meson.build | 1 + - 14 files changed, 41 insertions(+), 4 deletions(-) - -commit 838d67075240e8be97f44aab4a925a0ee21935ae -Author: Khaled Hosny -Date: Wed Sep 8 15:12:52 2021 +0200 - - [subset] Improve alignment of --help-all message - - util/hb-subset.cc | 11 +++++------ - 1 file changed, 5 insertions(+), 6 deletions(-) - -commit 9b7af950b36b919717580f3a5872812728d60dc1 -Author: Khaled Hosny -Date: Tue Sep 7 15:05:42 2021 +0200 - - [docs] Fix subset documentation - - List the missing new APIs and unlist all the to be deleted legacy APIs. - - docs/harfbuzz-sections.txt | 9 ++------- - src/hb-subset.h | 46 +++++++++++++++++++++++----------------------- - 2 files changed, 25 insertions(+), 30 deletions(-) - -commit e38b873eaeec6105dcf4c2511a7c29ca6cf0749c -Author: Khaled Hosny -Date: Tue Sep 7 14:13:23 2021 +0200 - - [ci] Use different executer for win64 jobs - - .circleci/config.yml | 7 +++++-- - 1 file changed, 5 insertions(+), 2 deletions(-) - -commit 48c9869bda0dcfa7cea11766718d3c5f3a102509 -Author: Khaled Hosny -Date: Tue Sep 7 13:57:44 2021 +0200 - - Typo - - NEWS | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 505df5abf8032f3a2295ded417dca9bfb14ea7b8 -Author: Khaled Hosny -Date: Tue Sep 7 13:46:08 2021 +0200 - - 2.9.1 - - NEWS | 19 +++++++++++++++++++ - configure.ac | 2 +- - docs/harfbuzz-docs.xml | 1 + - meson.build | 2 +- - src/hb-subset-input.cc | 2 +- - src/hb-subset.h | 2 +- - src/hb-version.h | 4 ++-- - 7 files changed, 26 insertions(+), 6 deletions(-) - -commit 6602cbb7062bf92e6824ae6bc0e5d3aad4b85939 -Author: mahanstreamer <84676642+mahanstreamer@users.noreply.github.com> -Date: Mon Aug 23 00:13:25 2021 -0400 - - dead link - - docs/usermanual-install-harfbuzz.xml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 916ffe0c8590b4064cd898ac52dd48e3a343b14e -Author: mahanstreamer <84676642+mahanstreamer@users.noreply.github.com> -Date: Mon Aug 23 00:09:19 2021 -0400 - - grammer fix - - docs/usermanual-getting-started.xml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 195c05df9925c7c4a4982a286ef9c416b2cde3af -Author: Khaled Hosny -Date: Sat Sep 4 03:41:19 2021 +0200 - - Revert "[ot-shape-normalize] Move buffer out of hb_ot_shape_normalize_context_t" - - This reverts commit 8cdbea5580731c2bf66e56bf619c1fbb2978692e. - - For some reason this is causing several tests to crash locally for me - (on macOS), see: - https://github.com/harfbuzz/harfbuzz/commit/8cdbea5580731c2bf66e56bf619c1fbb2978692e#commitcomment-55898088 - - src/hb-ot-shape-normalize.cc | 32 ++++++++++++++------------------ - src/hb-ot-shape-normalize.hh | 1 + - 2 files changed, 15 insertions(+), 18 deletions(-) - -commit f4559d243560a6f780e8975d7d48cd1bc1f3096a -Author: David Corbett -Date: Thu Sep 2 17:56:17 2021 -0400 - - Update hb-ot-tag-table.hh - - src/hb-ot-tag-table.hh | 27 ++++++++++++++++++++++++--- - 1 file changed, 24 insertions(+), 3 deletions(-) - -commit 9fddbb3e24469a0cd87de8237a1be52f730809d3 -Author: Khaled Hosny -Date: Fri Sep 3 17:56:08 2021 +0200 - - [test] Rename test and split into smaller subtests - - test/shape/data/in-house/Makefile.sources | 2 +- - test/shape/data/in-house/meson.build | 2 +- - .../data/in-house/tests/arabic-decomposition.tests | 4 -- - .../data/in-house/tests/arabic-normalization.tests | 64 ++++++++++++++++++++++ - 4 files changed, 66 insertions(+), 6 deletions(-) - -commit c6bb719e658573a602eeab184e2c23c5bdc4a284 -Author: Khaled Hosny -Date: Fri Sep 3 16:14:02 2021 +0200 - - [test] Add tests for Arabic decomposition - - Test that both NFC and NFD input produces identical results for fonts - that used composed fonts internally (Amiri here) and fonts that - decompose internally (Noto Nastaliq Urdu here) and that for the former - composed forms are used. - - See https://github.com/harfbuzz/harfbuzz/issues/3179 - - test/shape/data/in-house/Makefile.sources | 1 + - .../fonts/3e46c3b84c1370a06594736c7f8acebf810bbb3b.ttf | Bin 0 -> 44884 bytes - .../fonts/872d2955d326bd6676a06f66b8238ebbaabc212f.ttf | Bin 0 -> 17556 bytes - test/shape/data/in-house/meson.build | 1 + - .../data/in-house/tests/arabic-decomposition.tests | 4 ++++ - 5 files changed, 6 insertions(+) - -commit a9dc4fbeacac23407e90b050d81ec8cddc9f4ff1 -Author: Khaled Hosny -Date: Fri Sep 3 16:20:06 2021 +0200 - - [test] Make shape test names match file names - - No idea why test names are underscorified but it it just makes calling - meson test testname harder than it should being not able to copy file - name directly. - - test/shape/meson.build | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 2bd911b8b49ac9e7cb0708b7ff5861cc3705e915 -Author: Garret Rieger -Date: Thu Aug 26 14:32:17 2021 -0700 - - [subset] handle cmap4 overflows. - - If a cmap4 subtable overflows during serialization drop it and the corresponding EncodingRecord. Don't drop the corresponding cmap12 table if it would have otherwise been removed. - - src/hb-ot-cmap-table.hh | 49 +++++++++++++++++++++++++++++++++++++++---------- - src/hb-serialize.hh | 15 +++++++++++++-- - 2 files changed, 52 insertions(+), 12 deletions(-) - -commit bf81bbfb3541ea4a39bacdbe0568e9e170b1b0f7 -Author: Behdad Esfahbod -Date: Thu Sep 2 00:16:22 2021 -0600 - - Revert "[arabic] Do not re-compose Unicode sequences" - - This reverts commit ff34c240b0a60014a219b8af49c1be2d7e08b388. - - https://github.com/harfbuzz/harfbuzz/issues/3179#issuecomment-911242833 - - src/hb-ot-shape-complex-arabic.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit ff34c240b0a60014a219b8af49c1be2d7e08b388 -Author: Behdad Esfahbod -Date: Wed Sep 1 23:55:00 2021 -0600 - - [arabic] Do not re-compose Unicode sequences - - Fixes https://github.com/harfbuzz/harfbuzz/issues/3179 - - src/hb-ot-shape-complex-arabic.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 5fadf4c85e53a9acc9baa126b5588e4f4aeec2ed -Author: Alba Mendez -Date: Wed Sep 1 14:38:01 2021 +0200 - - Small docs improvement - - Mention that the returned strings are always nul terminated for convenience. - - src/hb-ot-name.cc | 9 ++++++--- - 1 file changed, 6 insertions(+), 3 deletions(-) - -commit 04cf6212d72ceffb164b2aaf7315711d4227445f -Author: Behdad Esfahbod -Date: Mon Aug 30 18:35:08 2021 -0600 - - [util/hb-subset] Fix --version and --help again - - https://github.com/harfbuzz/harfbuzz/commit/38ad093216d8204df2dce18a112ee43964031357 - - util/hb-subset.cc | 18 +++++++++++++++--- - 1 file changed, 15 insertions(+), 3 deletions(-) - -commit 5c4c173b06e28171f5fafd54ae0c5a70f38d8d8a -Merge: 41b9f2abc de8563658 -Author: Behdad Esfahbod -Date: Mon Aug 30 16:44:28 2021 -0600 - - Merge pull request #3146 from googlefonts/set_api - - [subset] proposed update to subset set apis. - -commit de85636581f3c7c8f8140624b78efd76e3ecfd4b -Author: Garret Rieger -Date: Mon Aug 30 14:36:05 2021 -0700 - - [subset] s/REPLACE/REPLACEME/ - - src/hb-subset.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 3844e58e14f6f528c52df06d49c771dd174730b9 -Author: Garret Rieger -Date: Mon Aug 30 11:16:51 2021 -0700 - - [subset] remove helper functions for accessing subset input sets. - - src/hb-subset-input.cc | 24 ++++++++--------- - src/hb-subset-input.hh | 70 -------------------------------------------------- - src/hb-subset-plan.cc | 20 +++++++-------- - 3 files changed, 22 insertions(+), 92 deletions(-) - -commit 41b9f2abcd63589e541da13e295fdb9d2f78a2bb -Author: Behdad Esfahbod -Date: Sun Aug 29 10:47:11 2021 -0600 - - [set] Add TODO item - - src/hb-bit-set.hh | 1 + - 1 file changed, 1 insertion(+) - -commit 93ac700da612b70fec9efb15ed97855dc15f4582 -Author: Behdad Esfahbod -Date: Sun Aug 29 10:32:40 2021 -0600 - - [set] Add copy-constructor/assignment again - - src/hb-bit-set.hh | 10 +++++----- - src/hb-set.hh | 5 +++++ - 2 files changed, 10 insertions(+), 5 deletions(-) - -commit b9a176e268a0dde9ed491130fe4fc5869bcca235 -Author: Garret Rieger -Date: Sun Aug 29 10:33:12 2021 -0600 - - [subset] speedup cmap4 subsetting for large codepoint counts. (#3178) - - glyphIdArray generation implementation was O(n^2). Refactored to use a hashmap to reduce complexity. After the change subset time for a 22k codepoint subset went from 7s to 0.7s. - - src/hb-ot-cmap-table.hh | 33 ++++++++++++++------------------- - 1 file changed, 14 insertions(+), 19 deletions(-) - -commit fdce294120bc7d626321d38df46e4c49823310db -Author: Behdad Esfahbod -Date: Sun Aug 29 09:44:52 2021 -0600 - - [util/hb-subset] Print error and suggest filing github issue if operation fails - - https://github.com/harfbuzz/harfbuzz/issues/3173#issuecomment-906715780 - - util/batch.hh | 5 ++++- - util/shape-options.hh | 4 ++-- - 2 files changed, 6 insertions(+), 3 deletions(-) - -commit 38ad093216d8204df2dce18a112ee43964031357 -Author: Behdad Esfahbod -Date: Sun Aug 29 09:44:07 2021 -0600 - - [util/hb-subset] Don't ignore errors during face parsing - - Was ignoring file-not-found errors. - - util/hb-subset.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 57d6bf82519f39717ddb7b7574ac079e3016757f -Author: Garret Rieger -Date: Fri Aug 27 10:59:28 2021 -0700 - - [subset] in sets union correctly size the pointer array. - - src/hb-subset-input.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 102666dab7ef649fca0fbd3ce043ab2b166d662c -Author: Garret Rieger -Date: Fri Aug 27 10:31:37 2021 -0700 - - [subset] add test for hb_subset_input_set (...). - - src/hb-subset-input.cc | 1 - - test/api/test-subset.c | 30 ++++++++++++++++++++++++++++++ - 2 files changed, 30 insertions(+), 1 deletion(-) - -commit 7194c2a2a370a39d8e41539cb7fde9a9ffed80c3 -Author: Garret Rieger -Date: Fri Aug 27 08:20:58 2021 -0700 - - [subset] use anonymous union to hold the input sets instead of a map. - - src/hb-subset-input.cc | 16 ++++----------- - src/hb-subset-input.hh | 56 ++++++++++++++++++++++++++++++++++---------------- - 2 files changed, 42 insertions(+), 30 deletions(-) - -commit 05204d758689751350cf9f14518bfd7fc86db608 -Author: Garret Rieger -Date: Wed Aug 25 16:51:26 2021 -0700 - - [subset] implement hb_subset_input_set (...). - - Switch to storing the sets keyed by enum internally. - - src/hb-subset-input.cc | 87 ++++++++++++++++++++++++++------------------ - src/hb-subset-input.hh | 97 ++++++++++++++++++++++++++++++++++++++++++-------- - src/hb-subset-plan.cc | 20 +++++------ - 3 files changed, 145 insertions(+), 59 deletions(-) - -commit 50193262f0d8aa1c2d6a2a2e4b68f8d2771157b3 -Author: Garret Rieger -Date: Wed Aug 25 15:10:21 2021 -0700 - - [subset] reorder set enums. - - src/hb-subset.h | 14 +++++++------- - 1 file changed, 7 insertions(+), 7 deletions(-) - -commit 3282f540a967670d8ee6ac2d78193f6bfaa8c68c -Author: Garret Rieger -Date: Wed Aug 25 15:06:42 2021 -0700 - - [subset] restore legacy set api methods. - - src/hb-subset.h | 15 +++++++++++++++ - 1 file changed, 15 insertions(+) - -commit 1457c1f0806ce63051cf48c47b9a03741533fc8f -Author: Garret Rieger -Date: Wed Aug 25 15:01:28 2021 -0700 - - [subset] set enum name changes. - - src/hb-subset.h | 14 ++++++++------ - 1 file changed, 8 insertions(+), 6 deletions(-) - -commit 1b5e1593010eb7c79c58bb68ea1200ef6c8cb740 -Author: Garret Rieger -Date: Wed Aug 25 14:56:55 2021 -0700 - - [subset] Remove HB_SUBSET_SETS_COUNT and flags comment. - - src/hb-subset.h | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit 4c389fd9e5c09574651c5dca3917857cc2cf910c -Author: Garret Rieger -Date: Fri Aug 13 11:14:52 2021 -0700 - - [subset] add unicode and glyph set enums. - - src/hb-subset.h | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -commit e3e1ae876646937302593d37ea68e1e650621fcb -Author: Garret Rieger -Date: Fri Aug 13 10:53:20 2021 -0700 - - [subset] proposed update to subset set apis. - - src/hb-subset.h | 37 ++++++++++++++++++++++++------------- - 1 file changed, 24 insertions(+), 13 deletions(-) - -commit 1e1438c4fb7ed6fdcfcd8d6ae53eb9ed8d3a8a93 -Author: Garret Rieger -Date: Thu Aug 26 14:59:29 2021 -0600 - - [subset] fix --*-file options in hb-subset. (#3176) - - The previous change to add -/+ versions of each set type broke all of the --*-file input options since all of the parse functions now default to replacing the set if the + variant is not being used. This fixes the issue by changing parse_file_for to pass '+' as the name to the parsing function. This triggers the append mode. - - util/hb-subset.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 9db494f517a217e4bec709762416777b97b4445d -Author: Garret Rieger -Date: Thu Aug 26 10:51:38 2021 -0600 - - [subset] Update remaining subset input sets to use inversion for all. (#3172) - - * [subset] Update remaining subset input sets to use inversion for all. - - * [subset] Update flag help for remaining sets to mention -=. - - src/hb-subset-input.hh | 14 ++++---- - util/hb-subset.cc | 95 +++++++++++++++++++++++++++++--------------------- - 2 files changed, 62 insertions(+), 47 deletions(-) - -commit 99356ea5f0b426137e83b68605cb50045bf42708 -Merge: 1620698bd 4b5a81f13 -Author: Behdad Esfahbod -Date: Wed Aug 25 17:19:06 2021 -0600 - - Merge pull request #3150 from harfbuzz/item-context-tests - - [test] Add tests for item context - -commit 1620698bd51d4a21d4cb2ca9ff3d66d10a1a4cd6 -Author: Behdad Esfahbod -Date: Wed Aug 25 16:25:08 2021 -0600 - - [subset-input] Minor format - - src/hb-subset-plan.cc | 32 ++++++++++++++++++-------------- - 1 file changed, 18 insertions(+), 14 deletions(-) - -commit 18b4aab6526bdfe1cc595709fbd7586c07a5417a -Merge: e9e6d66cd 75efade7a -Author: Behdad Esfahbod -Date: Wed Aug 25 16:21:07 2021 -0600 - - Merge pull request #3171 from googlefonts/unicode_glyph_invert - - [subset] use inverted set for all unicodes. - -commit 75efade7a4290413711c00748b38c547021a6f26 -Author: Garret Rieger -Date: Wed Aug 25 14:51:21 2021 -0700 - - [subset] format --gids and --unicodes help messages better. - - util/hb-subset.cc | 15 ++++++++++++--- - 1 file changed, 12 insertions(+), 3 deletions(-) - -commit cd07070e41eb020be0669780be4a8517cfb0e9a6 -Author: Garret Rieger -Date: Wed Aug 25 14:42:00 2021 -0700 - - [subset] Move plan unicodes and gids population to end of _populate_unicodes... - - src/hb-subset-plan.cc | 49 +++++++++++++++++++++++++------------------------ - 1 file changed, 25 insertions(+), 24 deletions(-) - -commit fa4bf7cf58e9193981c9f4a6da7f15f7ba4332d2 -Author: Garret Rieger -Date: Wed Aug 25 14:31:11 2021 -0700 - - [subset] use inverted sets for glyph id input. - - Adds --gids-=, --glyphs-=, --text-=, --unicodes-= options. Use inverted sets to represent all glyphs and/or all unicodes. - - util/hb-subset.cc | 84 +++++++++++++++++++++++++++++++++++++++++-------------- - 1 file changed, 63 insertions(+), 21 deletions(-) - -commit 4b5a81f13c326e26f740ca61752f95a9d2afe89c -Author: Behdad Esfahbod -Date: Wed Aug 25 15:20:54 2021 -0600 - - [buffer] Fix hb_buffer_append() pre/post-context logic - - Part of https://github.com/harfbuzz/harfbuzz/pull/3150 - - src/hb-buffer.cc | 15 +++++++++++---- - 1 file changed, 11 insertions(+), 4 deletions(-) - -commit 8f4f47df7c42294c06d6bd4f2d0e1b35c4040eb5 -Author: Garret Rieger -Date: Wed Aug 25 13:34:05 2021 -0700 - - [subset] use inverted set for all unicodes. - - Modify the code that handles input->unicodes to be safe with possibly inverted sets. Also adds --unicodes-= and --unicodes+= flags. - - src/hb-subset-plan.cc | 45 +++++++++++++++++++++++++++------------------ - util/hb-subset.cc | 15 ++++++++++++--- - 2 files changed, 39 insertions(+), 21 deletions(-) - -commit e9e6d66cd6bf00124fa3cffdbeece44dcffb1bbd -Author: Behdad Esfahbod -Date: Tue Aug 24 23:22:49 2021 -0600 - - [subset] Minor internal parameter rename - - src/hb-subset-plan.cc | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 955f86a034b11827a5d3bfb6e60f7e00a4bf40db -Author: Behdad Esfahbod -Date: Tue Aug 24 11:17:10 2021 -0600 - - [test-set] Fix compiler warnings - - test/api/test-set.c | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit 59deb754b3e199ff47e1ce2c22aab1a3486615ba -Author: Garret Rieger -Date: Tue Aug 24 17:06:14 2021 -0700 - - [subset] rename _collect_subset_layout to _collect_layout_indices. - - Better describes what the function does. - - src/hb-subset-plan.cc | 31 ++++++++++++++++--------------- - 1 file changed, 16 insertions(+), 15 deletions(-) - -commit f2441a4b65288dfc1c17a52bb31d694fb3e3ce08 -Author: Garret Rieger -Date: Tue Aug 24 15:53:32 2021 -0700 - - [subset] Remove retain all layout features flag. - - Instead use inverted sets to handle requesting all features. Modifies feature collection in subset plan to intersect the set of requested features against the features in the font. This prevents iterating a fully filled feature tag set. - - src/hb-subset-input.cc | 15 ---------- - src/hb-subset-plan.cc | 74 +++++++++++++++++++++++++------------------------- - src/hb-subset.h | 11 -------- - test/api/test-subset.c | 4 +-- - util/hb-subset.cc | 12 ++------ - 5 files changed, 42 insertions(+), 74 deletions(-) - -commit f84daccb4f85e6ec86e2608fbe59c1e92ec0d814 -Author: Garret Rieger -Date: Tue Aug 24 14:20:26 2021 -0700 - - [set] include null pool sets in the permutations tested by inverted_operations. - - test/api/test-set.c | 38 +++++++++++++++++++++++++------------- - 1 file changed, 25 insertions(+), 13 deletions(-) - -commit c90678cbc5856a425e7b6b50a516bc8287569a39 -Author: Behdad Esfahbod -Date: Tue Aug 24 11:11:12 2021 -0600 - - [set] One more try to fix things - - That I don't let a "make check -j10" run finish before pushing things - out means either that we need to speed up our build / test process, - or I need a faster laptop... - - src/hb-bit-set.hh | 1 - - 1 file changed, 1 deletion(-) - -commit 357976963ec7228d4790d9524142943f5ecf112e -Author: Behdad Esfahbod -Date: Tue Aug 24 10:55:12 2021 -0600 - - [set] One more try at fixing clear() on empty set - - src/hb-bit-set.hh | 15 ++++++--------- - 1 file changed, 6 insertions(+), 9 deletions(-) - -commit fb07f8f8761b12dadaa18bb42d09706bb69c56e3 -Author: Garret Rieger -Date: Mon Aug 23 15:33:57 2021 -0700 - - During subset input creation check for set alloc failures and fail if encountered. - - src/hb-subset-input.cc | 12 ++++++++++++ - ...estcase-minimized-hb-subset-fuzzer-5141317848530944.fuzz | Bin 0 -> 8 bytes - 2 files changed, 12 insertions(+) - -commit b5177d21473bdabb16bd9bfe8f4512edc776c1c1 -Author: Behdad Esfahbod -Date: Tue Aug 24 10:43:37 2021 -0600 - - [set] Fix seam exposed by previous commit - - src/hb-bit-set.hh | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit f0de40dd61dd261cda197383d192ca487408a3f7 -Author: Behdad Esfahbod -Date: Mon Aug 23 23:52:17 2021 -0600 - - Whitespace - - src/hb-ot-shape.cc | 9 +++++---- - 1 file changed, 5 insertions(+), 4 deletions(-) - -commit 8cdbea5580731c2bf66e56bf619c1fbb2978692e -Author: Behdad Esfahbod -Date: Mon Aug 23 23:44:55 2021 -0600 - - [ot-shape-normalize] Move buffer out of hb_ot_shape_normalize_context_t - - src/hb-ot-shape-normalize.cc | 32 ++++++++++++++++++-------------- - src/hb-ot-shape-normalize.hh | 1 - - 2 files changed, 18 insertions(+), 15 deletions(-) - -commit 10da9fd20de74411f1a463e17628d8a2395e6eaa -Author: Behdad Esfahbod -Date: Mon Aug 23 23:32:02 2021 -0600 - - [ot-map] Whitespace - - src/hb-ot-map.cc | 25 ++++++++++++++++++++----- - 1 file changed, 20 insertions(+), 5 deletions(-) - -commit d3e09bf4654fe5478b6dbf2b26ebab6271317d81 -Author: Behdad Esfahbod -Date: Tue Aug 24 10:31:49 2021 -0600 - - [set] Make all operators null-safe again - - Changed my mind. - - Also for hb_map_clear(). - - Part of https://github.com/harfbuzz/harfbuzz/pull/3162 - - src/hb-bit-set-invertible.hh | 38 ++++++++++++++++++++++++++++++-------- - src/hb-map.cc | 3 --- - src/hb-map.hh | 2 ++ - src/hb-set.cc | 28 +++++++--------------------- - 4 files changed, 39 insertions(+), 32 deletions(-) - -commit 33bfe9edd679d61898209281960ec1a8570a11c7 -Author: Khaled Hosny -Date: Mon Aug 16 17:00:57 2021 +0200 - - [test] Add tests for item context - - Test pre-context and post-context in Arabic shaper, as well as - interaction of pre-context with BOT flag. - - test/shape/data/in-house/Makefile.sources | 1 + - .../fonts/3105b51976b879032c66aa93a634b3b3672cd344.ttf | Bin 0 -> 2768 bytes - .../fonts/65984dfce552a785f564422aadf4715fa07795ad.ttf | Bin 0 -> 4020 bytes - test/shape/data/in-house/meson.build | 1 + - test/shape/data/in-house/tests/item-context.tests | 11 +++++++++++ - 5 files changed, 13 insertions(+) - -commit 430224b1a06c6eef04de9b6e1ee5aa2cb7a9a403 -Author: Khaled Hosny -Date: Mon Aug 16 15:40:47 2021 +0200 - - [buffer] Handle pre/post-context in buffer_append - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1843 - - src/hb-buffer.cc | 15 +++++++++++++++ - util/shape-options.hh | 1 - - 2 files changed, 15 insertions(+), 1 deletion(-) - -commit 6ca0ffd42e0a5cea2adc9efaedf7fc6fd333f9d1 -Author: Khaled Hosny -Date: Mon Aug 16 14:52:13 2021 +0200 - - [util] Add --unicodes-before/after - - Parallel to --unicodes for --text-before/after. To be used in tests. - - util/text-options.hh | 156 +++++++++++++++++++++++++++++++++++++++++---------- - 1 file changed, 126 insertions(+), 30 deletions(-) - -commit 65c622c6892dcbe44996962a748f13569600d389 -Author: Khaled Hosny -Date: Mon Aug 23 21:23:30 2021 +0200 - - Typo - - docs/usermanual-install-harfbuzz.xml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit c76af4973cc9f9b64f829a81bb6107218cf303f6 -Author: Khaled Hosny -Date: Mon Aug 23 20:50:35 2021 +0200 - - [doc] We use GitHub for discussion not the mailing list - - Fixes https://github.com/harfbuzz/harfbuzz/issues/3160 - - docs/usermanual-install-harfbuzz.xml | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit 33c82c7dad41a7dc7ac007b63a5c3e9a45b6faf4 -Author: Behdad Esfahbod -Date: Sun Aug 22 22:31:39 2021 -0600 - - [ot-shape] Fix unused-var error when building without AAT - - Fixes https://github.com/harfbuzz/harfbuzzjs/issues/45 - - src/hb-ot-shape.cc | 2 ++ - 1 file changed, 2 insertions(+) - -commit 34e0b28faef0f4157a47cc3e2feb7360f82232fd -Author: Qunxin Liu -Date: Wed Aug 18 20:46:06 2021 -0700 - - [subset] make glyph-names option match fonttools behavior - - Don't encode psNames that are contained in standard glyph names set - - src/hb-ot-post-table-v2subset.hh | 24 +++++++++++++++++---- - test/subset/data/Makefile.am | 1 + - test/subset/data/Makefile.sources | 1 + - ...ular.glyph-names.0x0,0x8,0x9,0x1d,0x20,0xb7.ttf | Bin 0 -> 10172 bytes - ...tu-Regular.glyph-names.retain-all-codepoint.ttf | Bin 0 -> 281092 bytes - test/subset/data/fonts/Ubuntu-Regular.ttf | Bin 0 -> 351884 bytes - test/subset/data/tests/glyph_names.tests | 9 ++++++++ - test/subset/meson.build | 1 + - 8 files changed, 32 insertions(+), 4 deletions(-) - -commit 829b0f33531b3c14b2e08331b8cc5b31fed73129 -Merge: 280366ba6 915550ab1 -Author: Behdad Esfahbod -Date: Fri Aug 20 01:28:15 2021 -0600 - - Merge pull request #3154 from harfbuzz/set-invert - - Resurrect hb_set_invert() - -commit 915550ab19659107acea9e70a7bc699a19fe2f44 -Author: Garret Rieger -Date: Thu Aug 19 17:48:38 2021 -0700 - - [set] remove inverted test TODO. - - test/api/test-set.c | 13 ------------- - 1 file changed, 13 deletions(-) - -commit c4ed58299761ac2e5452bec890e44fcb7c9f1cc7 -Author: Garret Rieger -Date: Thu Aug 19 17:47:41 2021 -0700 - - [set] add test for inverted set operations. - - This test checks all possible set configurations against each operation type. - - test/api/test-set.c | 125 ++++++++++++++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 125 insertions(+) - -commit 325fd6ddb85a141507f752f37ab650bb56299247 -Author: Garret Rieger -Date: Thu Aug 19 15:54:31 2021 -0700 - - [set] add tests for inverted set equality. - - test/api/test-set.c | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++- - 1 file changed, 55 insertions(+), 1 deletion(-) - -commit 287032af6cf3609bb9ca88cf622d478fc77698e3 -Author: Garret Rieger -Date: Thu Aug 19 15:45:28 2021 -0700 - - [set] update set test TODO list. - - test/api/test-set.c | 9 +-------- - 1 file changed, 1 insertion(+), 8 deletions(-) - -commit 5c003d80a680ec619f0922318244e7d41ca709ba -Author: Garret Rieger -Date: Thu Aug 19 15:41:12 2021 -0700 - - [set] add tests for inverted previous iteration. - - test/api/test-set.c | 108 ++++++++++++++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 108 insertions(+) - -commit 84c2a30214eed8e9cabc1efa7460c74e0ca4f214 -Author: Behdad Esfahbod -Date: Thu Aug 19 16:33:48 2021 -0600 - - [bit-set-invertible] Second try fixing previous() - - src/hb-bit-set-invertible.hh | 25 +++++++++++++------------ - 1 file changed, 13 insertions(+), 12 deletions(-) - -commit 8f88747a5e100adc3f722baf573143cbb812ac48 -Author: Behdad Esfahbod -Date: Thu Aug 19 16:30:48 2021 -0600 - - [bit-set-invertible] Fix previous() iteration - - src/hb-bit-set-invertible.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 3f2cc582f283319a5f98469b993403c6f79f3ef9 -Author: Garret Rieger -Date: Thu Aug 19 15:00:07 2021 -0700 - - [set] add basic and iteration set inverion tests. - - test/api/test-set.c | 220 ++++++++++++++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 220 insertions(+) - -commit 1d832693e17935e025201905236b9fa34e1f310d -Author: Behdad Esfahbod -Date: Thu Aug 19 16:02:30 2021 -0600 - - [set] Protect against immutible null set with invertible addition - - src/hb-map.cc | 2 ++ - src/hb-set.cc | 22 ++++++++++++++++++++++ - 2 files changed, 24 insertions(+) - -commit 7115af23ebe4a896174d1a246fcfb3b4d0fe6806 -Author: Behdad Esfahbod -Date: Thu Aug 19 15:55:21 2021 -0600 - - [util] Fix glib deprecation warning re g_memdup() - - util/hb-subset.cc | 8 +++++++- - 1 file changed, 7 insertions(+), 1 deletion(-) - -commit dc800ffd6c0b806b5b0db9d48cd57528d1fae3eb -Author: Behdad Esfahbod -Date: Thu Aug 19 15:35:51 2021 -0600 - - [bit-set] Remove TODO items we don't intend to finish - - src/hb-bit-set.hh | 8 -------- - 1 file changed, 8 deletions(-) - -commit 92908c122bb578d502bdaa2fbf7a9a3b41540ae0 -Author: Behdad Esfahbod -Date: Thu Aug 19 15:28:26 2021 -0600 - - [bit-set-invertible] Remove extra check - - We don't expect immutable / null set in this code. - - src/hb-bit-set-invertible.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 1babe80ed2506b36c22275b4c511296c8d9b4096 -Author: Behdad Esfahbod -Date: Thu Aug 19 15:18:32 2021 -0600 - - [bit-set-invertible] Fix last remaining corner-case - - src/hb-bit-set-invertible.hh | 13 ++++++++++++- - 1 file changed, 12 insertions(+), 1 deletion(-) - -commit e8911d137ca1e367a41143ece02149a62779cdf0 -Author: Behdad Esfahbod -Date: Thu Aug 19 14:59:57 2021 -0600 - - [bit-set-invertible] Implement a couple other missing corner cases - - Also, in bit-set, don't compute population in is_equal/is_subset() - if we don't have it computed already. - - src/hb-bit-set-invertible.hh | 7 +++---- - src/hb-bit-set.hh | 14 +++++++++----- - 2 files changed, 12 insertions(+), 9 deletions(-) - -commit 2579dc648f940c7c66ac0ef2cc75c7b6754c6892 -Author: Behdad Esfahbod -Date: Thu Aug 19 14:48:27 2021 -0600 - - [bit-set-invertible] Move code around - - src/hb-bit-set-invertible.hh | 31 +++++++++++++++---------------- - 1 file changed, 15 insertions(+), 16 deletions(-) - -commit 2dfc104236395f224b6834ab52263fbafbe92651 -Author: Behdad Esfahbod -Date: Thu Aug 19 14:47:33 2021 -0600 - - [bit-set-invertible] Implement is_empty() for inverted case as well - - src/hb-bit-set-invertible.hh | 7 ++++++- - 1 file changed, 6 insertions(+), 1 deletion(-) - -commit ec4812a7d4031c2a579f0d49f526f0a9b418e063 -Author: Behdad Esfahbod -Date: Thu Aug 19 13:32:44 2021 -0600 - - [bit-page] Remove unused inverted code - - src/hb-bit-page.hh | 47 +++++++++++++++++------------------------------ - 1 file changed, 17 insertions(+), 30 deletions(-) - -commit 87885e6f02fef1d8289050c1c939d5a5566b5ee2 -Author: Behdad Esfahbod -Date: Thu Aug 19 13:26:25 2021 -0600 - - [bit-set-invertible] Fix next/previous() logic - - src/hb-bit-set-invertible.hh | 2 ++ - 1 file changed, 2 insertions(+) - -commit ee4e331a6e05ce5e99671a401e986c0fcdd2a691 -Author: Behdad Esfahbod -Date: Thu Aug 19 13:23:22 2021 -0600 - - [bit-set] Remove unused get_min(inverted) - - src/hb-bit-set.hh | 16 +++------------- - 1 file changed, 3 insertions(+), 13 deletions(-) - -commit eec1a25e7169a2958a4f739d98cca4ae6e38605f -Author: Behdad Esfahbod -Date: Thu Aug 19 13:22:36 2021 -0600 - - [bit-set-invertible] Rewrite get_min/max() in terms of next/previous() - - src/hb-bit-set-invertible.hh | 12 ++++++++++-- - 1 file changed, 10 insertions(+), 2 deletions(-) - -commit f09d5ed0f52987f4af39d0a577762d4dda99509c -Author: Behdad Esfahbod -Date: Thu Aug 19 13:06:10 2021 -0600 - - [algs] Remove hb_bitwise_non() - - src/hb-algs.hh | 6 ------ - 1 file changed, 6 deletions(-) - -commit f4fd7baf7ec8ff5954e226f2e7ea2697e84a39dd -Author: Behdad Esfahbod -Date: Thu Aug 19 13:05:12 2021 -0600 - - [bit-set-invertible] Fix subtract() logic - - src/hb-bit-set-invertible.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit f317d8e4261e6fef1a7d5682bd62a4562588b322 -Author: Behdad Esfahbod -Date: Thu Aug 19 13:01:07 2021 -0600 - - [bit-set-invertible] Fix intersect() logic - - src/hb-bit-set-invertible.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit b21038d91de7f67bbfec549f618b0238c3ca7735 -Author: Behdad Esfahbod -Date: Thu Aug 19 11:24:17 2021 -0600 - - [bit-set-invertible] Rewrite next/previous_range() in terms of s.next/previous() - - src/hb-bit-set-invertible.hh | 26 ++++++++------------------ - 1 file changed, 8 insertions(+), 18 deletions(-) - -commit eb98bc1e322c0675de7f7b00e4e1932ec593277d -Author: Behdad Esfahbod -Date: Thu Aug 19 11:19:24 2021 -0600 - - [bit-set-invertible] Rewrite next/previous() using s.next/previous_range() - - src/hb-bit-set-invertible.hh | 54 ++++++++++++++++++++++++-------------------- - 1 file changed, 30 insertions(+), 24 deletions(-) - -commit 248ad3bce5b5e7190e174929bf1892f1a2bafb44 -Author: Behdad Esfahbod -Date: Thu Aug 19 10:17:51 2021 -0600 - - [bit-set-invertible] Implement next/previous - - This makes invertible set functionality complete. - - src/hb-bit-set-invertible.hh | 48 ++++++++++++++++++++++++++++++++++++++++---- - 1 file changed, 44 insertions(+), 4 deletions(-) - -commit c27f5b1288e4786c27bd010a1f6b41c29ab37992 -Author: Behdad Esfahbod -Date: Thu Aug 19 10:01:24 2021 -0600 - - [bit-set-invertible] Plug in next_range()/previous_range() - - src/hb-bit-set-invertible.hh | 34 ++++++++++++++++++++++++++++++---- - 1 file changed, 30 insertions(+), 4 deletions(-) - -commit f6aa37159bf1f4b3a2b83c7e263f4642959af73a -Author: Behdad Esfahbod -Date: Thu Aug 19 01:12:25 2021 -0600 - - [bit-set-invertible] Fix process logic for inverted - [# On branch set-invert - - src/hb-bit-set-invertible.hh | 9 +++++---- - 1 file changed, 5 insertions(+), 4 deletions(-) - -commit 060de189ecdf2327c6583b97f02c33c21889ca15 -Author: Behdad Esfahbod -Date: Thu Aug 19 00:58:34 2021 -0600 - - [bit-page] Fix sanitizer error - - This essentially reverts 9449cfeefd7e3b761c8035c45330abd7a5201604 - - Problem was dereferencing pointer at end of array... - - src/hb-bit-page.hh | 12 ++++++++---- - 1 file changed, 8 insertions(+), 4 deletions(-) - -commit b119b48079ab4bece6bb0cf75c6606d25c49ee5e -Author: Behdad Esfahbod -Date: Thu Aug 19 00:51:24 2021 -0600 - - [bit-set-invertible] Add unlikely() around inverted checks - - src/hb-bit-set-invertible.hh | 36 +++++++++++++++++++----------------- - 1 file changed, 19 insertions(+), 17 deletions(-) - -commit b94f24ec79877d57a17e8e8b9961127d590afa34 -Author: Behdad Esfahbod -Date: Thu Aug 19 00:48:00 2021 -0600 - - [bit-set-invertible] Implement set algebra - - src/hb-algs.hh | 32 +++++++++++++++++++- - src/hb-bit-set-invertible.hh | 71 +++++++++++++++++++++++++++++++++++++------- - src/hb-bit-set.hh | 2 +- - 3 files changed, 93 insertions(+), 12 deletions(-) - -commit 6afefe1dc3f7aedc1f355bfa70bfee1a15829ec1 -Author: Behdad Esfahbod -Date: Thu Aug 19 00:27:03 2021 -0600 - - [algs] Remove unnecessary struct tag names - - src/hb-algs.hh | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 8aa92ff8f054a1b7b8d06618a6366a44cba8fe87 -Author: Behdad Esfahbod -Date: Wed Aug 18 23:01:06 2021 -0600 - - [bit-set-invertible] Implement get_min/max - - src/hb-bit-set-invertible.hh | 4 ++-- - src/hb-bit-set.hh | 16 +++++++++++++--- - 2 files changed, 15 insertions(+), 5 deletions(-) - -commit 18f50275ed2b66c9316d68138572b84ee713f0cc -Author: Behdad Esfahbod -Date: Wed Aug 18 22:08:06 2021 -0600 - - [bit-set] Restructure get_min/max() in prep for adding inverted - - src/hb-bit-set.hh | 26 ++++++++++++++++++-------- - 1 file changed, 18 insertions(+), 8 deletions(-) - -commit 669b97d949173ceb691ece4c71c606f90c2f3e3f -Author: Behdad Esfahbod -Date: Wed Aug 18 21:39:04 2021 -0600 - - [bit-set-invertible] Implement iterator - - src/hb-bit-set-invertible.hh | 32 +++++++++++++++++++++++++++++--- - 1 file changed, 29 insertions(+), 3 deletions(-) - -commit c66894d7c9f7883032fbe92aa33c49cb689b1230 -Author: Behdad Esfahbod -Date: Wed Aug 18 21:24:29 2021 -0600 - - [bit-set-invertible] Write a subset branch as dagger - - src/hb-bit-set-invertible.hh | 8 +------- - 1 file changed, 1 insertion(+), 7 deletions(-) - -commit c39d2f7a76807cfa8198eb931ff6c58e6bb7fc67 -Author: Behdad Esfahbod -Date: Wed Aug 18 21:20:54 2021 -0600 - - [bit-set-invertible] Implement add_array / add_sorted_array / intersects - - src/hb-bit-set-invertible.hh | 9 ++++++--- - 1 file changed, 6 insertions(+), 3 deletions(-) - -commit 0efa614c04a237722ca6a63a7b0c481fee11be97 -Author: Behdad Esfahbod -Date: Wed Aug 18 21:16:05 2021 -0600 - - [bit-set] Add del_array/del_sorted_array() - - src/hb-bit-set.hh | 35 +++++++++++++++++++++++++++++------ - 1 file changed, 29 insertions(+), 6 deletions(-) - -commit 48ad9eef1eb5e5226fcfdb86f3cf5be925456a57 -Author: Behdad Esfahbod -Date: Wed Aug 18 21:05:21 2021 -0600 - - [bit-set] Merge page_for_insert() into page_for() - - src/hb-bit-set.hh | 27 +++++++++++---------------- - 1 file changed, 11 insertions(+), 16 deletions(-) - -commit 280366ba6af14fbcacbc49e6aa1c12d83e531ad1 -Author: Garret Rieger -Date: Wed Aug 18 15:50:49 2021 -0700 - - Add TODO to update NN offsets to allow nulls. - - src/hb-ot-color-cpal-table.hh | 2 ++ - 1 file changed, 2 insertions(+) - -commit dc31920bbe3a35c565f89aaeca43e2a5fdb5b606 -Author: Garret Rieger -Date: Wed Aug 18 14:20:14 2021 -0700 - - Don't serialize null offsets in CPAL. - - Fixes https://oss-fuzz.com/testcase-detail/5443213648330752 - - src/hb-ot-color-cpal-table.hh | 11 ++++++++--- - ...z-testcase-minimized-hb-subset-fuzzer-5443213648330752 | Bin 0 -> 567 bytes - 2 files changed, 8 insertions(+), 3 deletions(-) - -commit e29f56354a62683bc461d4dfba48de4173ccd538 -Author: Simon Cozens -Date: Wed Aug 18 08:51:41 2021 +0100 - - Replace "langstr" with more helpful help. - - util/shape-options.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 7f9173d67f14dd273f6366cfcbf3498e6a8b2f56 -Author: Caleb Maclennan -Date: Wed Aug 18 14:43:54 2021 +0300 - - [ci] Fix workflow so ‘publish-*’ dependencies can run - - This is a documented but bizarre quirk on Circle CI: in order for a job - to run as a dependency of another job that has a filter it must also - have at least one filter of its own, even if the filter is a noop. - - https://circleci.com/docs/2.0/workflows/#executing-workflows-for-a-git-tag - - .circleci/config.yml | 15 ++++++++++++--- - 1 file changed, 12 insertions(+), 3 deletions(-) - -commit a997f8918ea4e748657b4feb60dda84044c50ffd -Author: Caleb Maclennan -Date: Wed Aug 18 13:23:19 2021 +0300 - - [ci] Bump ghr tool used to post release artifacts to v0.14.0 - - Also make sure we only download it once per CI run, not three times... - - .ci/publish_release_artifact.sh | 13 ++++++++----- - 1 file changed, 8 insertions(+), 5 deletions(-) - -commit 80ff72f39dc833118426521f82f6bf614ef274d5 -Author: Khaled Hosny -Date: Wed Aug 18 13:09:03 2021 +0200 - - [doc] Misc fixes - - docs/harfbuzz-docs.xml | 1 + - docs/harfbuzz-sections.txt | 6 +++--- - src/hb-subset-input.cc | 6 ++++-- - 3 files changed, 8 insertions(+), 5 deletions(-) - -commit 9aa6f8a93f035dd0a1e3978da495d830049480c8 -Author: Khaled Hosny -Date: Wed Aug 18 09:32:04 2021 +0200 - - 2.9.0 - - NEWS | 20 ++++++++++++++++++++ - configure.ac | 2 +- - meson.build | 2 +- - src/hb-subset-input.cc | 18 +++++++++--------- - src/hb-subset.cc | 2 +- - src/hb-subset.h | 2 +- - src/hb-version.h | 6 +++--- - 7 files changed, 36 insertions(+), 16 deletions(-) - -commit adf3f3b317dbf95b3906f3003bd01195ec3121f7 -Author: Khaled Hosny -Date: Wed Aug 18 09:29:28 2021 +0200 - - Revert "2.9.0" - - This reverts commit 791aba9c45709a68ce6d5dc1066d22399dc4bee4. - - NEWS | 20 -------------------- - 1 file changed, 20 deletions(-) - -commit 791aba9c45709a68ce6d5dc1066d22399dc4bee4 -Author: Khaled Hosny -Date: Wed Aug 18 09:25:27 2021 +0200 - - 2.9.0 - - NEWS | 20 ++++++++++++++++++++ - 1 file changed, 20 insertions(+) - -commit f0c3804fa292ef3be41cc8d1cdea8239f00e2295 -Author: Behdad Esfahbod -Date: Tue Aug 17 15:37:19 2021 -0600 - - [set] Add hb_bit_set_invertible_t and resurrect hb_set_invert() - - Implementation is NOT complete yet. - - docs/harfbuzz-sections.txt | 2 +- - src/Makefile.sources | 1 + - src/hb-bit-set-invertible.hh | 168 +++++++++++++++++++++++++++++++++++++++++++ - src/hb-bit-set.hh | 15 ++-- - src/hb-deprecated.h | 3 - - src/hb-set.cc | 9 +-- - src/hb-set.h | 3 + - src/hb-set.hh | 40 +++++------ - 8 files changed, 201 insertions(+), 40 deletions(-) - -commit b5cdbdc030dc700134f41b67b5a42ab54806a9a3 -Author: Behdad Esfahbod -Date: Tue Aug 17 10:53:08 2021 -0600 - - [set] Turn hb_set_t into instance of template taking implementation t - - src/hb-set.hh | 32 ++++++++++++++++++-------------- - 1 file changed, 18 insertions(+), 14 deletions(-) - -commit fad452bffb4047b84aad3e2684244ce0385742ff -Author: Behdad Esfahbod -Date: Mon Aug 16 20:48:24 2021 -0600 - - [set] Move main functionality into hb_bit_set_t - - To add inversion on top in hb_invertible_set_t and use that as hb_set_t. - - src/Makefile.sources | 1 + - src/hb-bit-set.hh | 787 +++++++++++++++++++++++++++++++++++++++++++ - src/hb-ot-layout-gsubgpos.hh | 5 +- - src/hb-set.cc | 2 +- - src/hb-set.hh | 737 ++-------------------------------------- - 5 files changed, 828 insertions(+), 704 deletions(-) - -commit 9cc4da962f53c2a9883742a0d9e9fd24222bd7b4 -Author: Behdad Esfahbod -Date: Mon Aug 16 20:17:53 2021 -0600 - - [object] Remove hb_object_is_inert() - - src/hb-object.hh | 15 ++++++--------- - 1 file changed, 6 insertions(+), 9 deletions(-) - -commit 2d5ef05d67d9a352d620e9d9e781e25717ab3a31 -Author: Behdad Esfahbod -Date: Mon Aug 16 20:13:58 2021 -0600 - - Use !g_object_is_valid() instead of g_object_is_inert() - - src/hb-shape-plan.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit f6d6eff6a2f996df3144b9c03326c8efdcbf10bf -Author: Behdad Esfahbod -Date: Mon Aug 16 19:41:44 2021 -0600 - - [object] Remove unused HB_REFERENCE_COUNT_INIT - - src/hb-object.hh | 2 -- - 1 file changed, 2 deletions(-) - -commit 57d86950c3f913805a5527a54eb735ef9360c8d5 -Author: Khaled Hosny -Date: Mon Aug 16 21:54:26 2021 +0200 - - [meson] Update FreeType wrap to use upstream repo - - subprojects/freetype2.wrap | 8 +++----- - 1 file changed, 3 insertions(+), 5 deletions(-) - -commit f245dc4db86483be3ede773e0bc8ba68065e2380 -Author: Behdad Esfahbod -Date: Sun Aug 15 12:40:36 2021 -0600 - - [set] Whitespace - - src/hb-set.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 9b390f8c40eb80871778b13de7e987bd0e8bedad -Author: Behdad Esfahbod -Date: Sun Aug 15 12:34:55 2021 -0600 - - [set] Move page_t into hb-bit-page.hh - - src/Makefile.sources | 1 + - src/hb-bit-page.hh | 212 +++++++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-set.hh | 190 ++------------------------------------------- - src/meson.build | 1 + - 4 files changed, 221 insertions(+), 183 deletions(-) - -commit 0c3e02ee2d0b24d7fbed92ab2b51c3e98bbe69e8 -Author: Behdad Esfahbod -Date: Sun Aug 15 12:10:13 2021 -0600 - - [set] Add "inverted" to page_t::is_empty() - - src/hb-set.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 9bd64fa077ed1133ec96341335c62f91b3f9b9ce -Author: Behdad Esfahbod -Date: Sun Aug 15 11:42:16 2021 -0600 - - [set] Add "inverted" to page_t::next/prev() - - src/hb-set.hh | 12 +++++++----- - 1 file changed, 7 insertions(+), 5 deletions(-) - -commit c88e7ec935caf31ca7db6b90ab0db514c1b65e45 -Author: Behdad Esfahbod -Date: Sun Aug 15 11:39:31 2021 -0600 - - [set] Add page_t::elt_maybe_invert() - - src/hb-set.hh | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit 9449cfeefd7e3b761c8035c45330abd7a5201604 -Author: Behdad Esfahbod -Date: Sun Aug 15 11:35:33 2021 -0600 - - [set] Simplify page_t::next/prev() - - src/hb-set.hh | 14 +++++++------- - 1 file changed, 7 insertions(+), 7 deletions(-) - -commit 4394ee1f1dd355b4e8c4e4ad8f310ed624c64e01 -Author: Behdad Esfahbod -Date: Sun Aug 15 11:28:09 2021 -0600 - - [set] Add inverted to page_t::get_min/max() - - src/hb-set.hh | 18 ++++++++++++------ - 1 file changed, 12 insertions(+), 6 deletions(-) - -commit 0dcd9b15d964c7eee3344525313c15a2ff4a16e4 -Author: Behdad Esfahbod -Date: Sun Aug 15 11:11:10 2021 -0600 - - [set] Add page_t::set_range() - - src/hb-set.hh | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit cb273fd17c436ada2b88aaecc585b62eb5203691 -Author: Behdad Esfahbod -Date: Sun Aug 15 11:09:08 2021 -0600 - - [set] Add page_t::set() - - src/hb-set.hh | 1 + - 1 file changed, 1 insertion(+) - -commit 32bbf53d9c860c32fb9109a11459ccba6eba7110 -Author: Behdad Esfahbod -Date: Sun Aug 15 11:06:52 2021 -0600 - - [set] Minor rewrite one cmp() in term of other - - src/hb-set.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 5b4dbf5af361161194d815fd97d616429f6bf81c -Merge: cb05c363d d203267e5 -Author: Behdad Esfahbod -Date: Sun Aug 15 12:57:55 2021 -0600 - - Merge pull request #3148 from harfbuzz/win64 - - Build win64 binaries - -commit d203267e53d1007ea1974111dee26c5383b3ee9a -Author: Khaled Hosny -Date: Sun Aug 15 18:29:26 2021 +0200 - - [ci] Remove effectively ignored filters - - We want these jobs to always run, and the filter does not seem to do - anything anyway. - - .circleci/config.yml | 10 ++-------- - 1 file changed, 2 insertions(+), 8 deletions(-) - -commit f73053edafdcdd04855055e8b04eff33b425ae7d -Author: Khaled Hosny -Date: Sun Aug 15 18:27:32 2021 +0200 - - [ci] Don’t install unused dependencies - - This is a cross build job, native libraries are not used. - - .circleci/config.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit ddb4f9b9674a651fafd0e628ea7ea74a20e61ad9 -Author: Khaled Hosny -Date: Sun Aug 15 17:24:51 2021 +0200 - - [ci] Build win64 binaries as well - - .ci/build-win64.sh | 27 +++++++++++++++++++++++++++ - .circleci/config.yml | 33 +++++++++++++++++++++++++++++++++ - 2 files changed, 60 insertions(+) - -commit cb05c363d7f85f1a9f309cc91a372d1305ee8f9e -Author: Garret Rieger -Date: Fri Aug 13 15:19:20 2021 -0700 - - [subset] add some basic tests for the legacy subset methods. - - src/hb-subset-input.cc | 16 ++++++++-------- - test/api/test-subset.c | 51 ++++++++++++++++++++++++++++++++++++++++++++++++++ - 2 files changed, 59 insertions(+), 8 deletions(-) - -commit d18aad7ec5e940cf2bd31f5005df739f42da2590 -Author: Garret Rieger -Date: Fri Aug 13 15:05:48 2021 -0700 - - [subset] restore old subsetting api methods. - - These will be left in place until the 3.0.0 release. - - src/hb-subset-input.cc | 130 +++++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-subset.cc | 8 +++ - src/hb-subset.h | 61 +++++++++++++++++++++++ - 3 files changed, 199 insertions(+) - -commit 44802c8ec462574c148be12594609e13abd7ccb5 -Author: Garret Rieger -Date: Thu Aug 12 11:11:51 2021 -0700 - - [subset] use layout-features=* for layout subsetting tests w/ synthetic test fonts. - - ...e_subrules_f1.layout-test-retain-gids.41,42,43.otf | Bin 0 -> 2132 bytes - ...iple_subrules_f1.layout-test-retain-gids.41,42.otf | Bin 0 -> 2012 bytes - ...ple_subrules_f1.layout-test-retain-gids.41,43.otf} | Bin - ...ltiple_subrules_f1.layout-test-retain-gids.41.otf} | Bin - ...1.layout-test-retain-gids.retain-all-codepoint.otf | Bin 0 -> 3992 bytes - ...ext1_multiple_subrules_f1.layout-test.41,42,43.otf | Bin 0 -> 1420 bytes - ...ontext1_multiple_subrules_f1.layout-test.41,42.otf | Bin 0 -> 1304 bytes - ...ntext1_multiple_subrules_f1.layout-test.41,43.otf} | Bin - ..._context1_multiple_subrules_f1.layout-test.41.otf} | Bin - ...e_subrules_f1.layout-test.retain-all-codepoint.otf | Bin 0 -> 3992 bytes - ...e_subrules_f1.notdef-outline-retain-gids.41,42.otf | Bin 1912 -> 0 bytes - ...1_multiple_subrules_f1.notdef-outline.41,42,43.otf | Bin 1304 -> 0 bytes - ...ext1_multiple_subrules_f1.notdef-outline.41,42.otf | Bin 1204 -> 0 bytes - ...e_subrules_f1.layout-test-retain-gids.41,42,43.otf | Bin 0 -> 2152 bytes - ...iple_subrules_f1.layout-test-retain-gids.41,42.otf | Bin 0 -> 2028 bytes - ...ple_subrules_f1.layout-test-retain-gids.41,43.otf} | Bin - ...ltiple_subrules_f1.layout-test-retain-gids.41.otf} | Bin - ...1.layout-test-retain-gids.retain-all-codepoint.otf | Bin 0 -> 4012 bytes - ...ext2_multiple_subrules_f1.layout-test.41,42,43.otf | Bin 0 -> 1440 bytes - ...ontext2_multiple_subrules_f1.layout-test.41,42.otf | Bin 0 -> 1320 bytes - ...ntext2_multiple_subrules_f1.layout-test.41,43.otf} | Bin - ..._context2_multiple_subrules_f1.layout-test.41.otf} | Bin - ...e_subrules_f1.layout-test.retain-all-codepoint.otf | Bin 0 -> 4012 bytes - ...ubrules_f1.notdef-outline-retain-gids.41,42,43.otf | Bin 2016 -> 0 bytes - ...e_subrules_f1.notdef-outline-retain-gids.41,42.otf | Bin 1912 -> 0 bytes - ...2_multiple_subrules_f1.notdef-outline.41,42,43.otf | Bin 1304 -> 0 bytes - ...ext2_multiple_subrules_f1.notdef-outline.41,42.otf | Bin 1204 -> 0 bytes - ...xt3_simple_f1.layout-test-retain-gids.41,42,43.otf | Bin 0 -> 2112 bytes - ...text3_simple_f1.layout-test-retain-gids.41,42.otf} | Bin - ...text3_simple_f1.layout-test-retain-gids.41,43.otf} | Bin - ...context3_simple_f1.layout-test-retain-gids.41.otf} | Bin - ...1.layout-test-retain-gids.retain-all-codepoint.otf | Bin 0 -> 3972 bytes - .../gpos_context3_simple_f1.layout-test.41,42,43.otf | Bin 0 -> 1400 bytes - ... => gpos_context3_simple_f1.layout-test.41,42.otf} | Bin - ... => gpos_context3_simple_f1.layout-test.41,43.otf} | Bin - ...otf => gpos_context3_simple_f1.layout-test.41.otf} | Bin - ...xt3_simple_f1.layout-test.retain-all-codepoint.otf | Bin 0 -> 3972 bytes - ..._simple_f1.notdef-outline-retain-gids.41,42,43.otf | Bin 1996 -> 0 bytes - ...otdef-outline-retain-gids.retain-all-codepoint.otf | Bin 3856 -> 0 bytes - ...pos_context3_simple_f1.notdef-outline.41,42,43.otf | Bin 1284 -> 0 bytes - ..._simple_f1.notdef-outline.retain-all-codepoint.otf | Bin 3856 -> 0 bytes - ...Prototype.layout-test-retain-gids.41,42,43,57.otf} | Bin 5272 -> 5924 bytes - ...eVFPrototype.layout-test-retain-gids.41,42,43.otf} | Bin 4740 -> 5212 bytes - ...dobeVFPrototype.layout-test-retain-gids.41,42.otf} | Bin 4264 -> 4732 bytes - ...eVFPrototype.layout-test-retain-gids.41,56,57.otf} | Bin 4408 -> 5048 bytes - ...> AdobeVFPrototype.layout-test-retain-gids.41.otf} | Bin 3560 -> 3996 bytes - ...dobeVFPrototype.layout-test-retain-gids.42,57.otf} | Bin 4396 -> 5040 bytes - ...f => AdobeVFPrototype.layout-test.41,42,43,57.otf} | Bin 5460 -> 5480 bytes - ....otf => AdobeVFPrototype.layout-test.41,42,43.otf} | Bin 4928 -> 4952 bytes - ...,42.otf => AdobeVFPrototype.layout-test.41,42.otf} | Bin 4448 -> 4468 bytes - ....otf => AdobeVFPrototype.layout-test.41,56,57.otf} | Bin 4596 -> 4620 bytes - ...ine.41.otf => AdobeVFPrototype.layout-test.41.otf} | Bin 3748 -> 3768 bytes - ...,57.otf => AdobeVFPrototype.layout-test.42,57.otf} | Bin 4580 -> 4600 bytes - ...=> gpos1_2_font.layout-test-retain-gids.41,43.otf} | Bin 1980 -> 2044 bytes - ...=> gpos1_2_font.layout-test-retain-gids.41,46.otf} | Bin 2140 -> 2204 bytes - ...tf => gpos1_2_font.layout-test-retain-gids.41.otf} | Bin 1856 -> 1916 bytes - ...=> gpos1_2_font.layout-test-retain-gids.42,44.otf} | Bin - ...=> gpos1_2_font.layout-test-retain-gids.43,46.otf} | Bin 2004 -> 2068 bytes - ....layout-test-retain-gids.retain-all-codepoint.otf} | Bin 3780 -> 3848 bytes - ...e.41,43.otf => gpos1_2_font.layout-test.41,43.otf} | Bin 1260 -> 1324 bytes - ...e.41,46.otf => gpos1_2_font.layout-test.41,46.otf} | Bin 1388 -> 1452 bytes - ...outline.41.otf => gpos1_2_font.layout-test.41.otf} | Bin 1152 -> 1212 bytes - ...e.42,44.otf => gpos1_2_font.layout-test.42,44.otf} | Bin - ...e.43,46.otf => gpos1_2_font.layout-test.43,46.otf} | Bin 1252 -> 1316 bytes - ...gpos1_2_font.layout-test.retain-all-codepoint.otf} | Bin 3780 -> 3848 bytes - ...pos2_1_font7.layout-test-retain-gids.21,23,25.otf} | Bin 1656 -> 1728 bytes - ...> gpos2_1_font7.layout-test-retain-gids.21,23.otf} | Bin 1532 -> 1604 bytes - ...> gpos2_1_font7.layout-test-retain-gids.2E,23.otf} | Bin - ...pos2_1_font7.layout-test-retain-gids.41,42,43.otf} | Bin - ....layout-test-retain-gids.retain-all-codepoint.otf} | Bin 3780 -> 3868 bytes - ...,25.otf => gpos2_1_font7.layout-test.21,23,25.otf} | Bin 1312 -> 1384 bytes - ....21,23.otf => gpos2_1_font7.layout-test.21,23.otf} | Bin 1204 -> 1276 bytes - ....2E,23.otf => gpos2_1_font7.layout-test.2E,23.otf} | Bin - ...,43.otf => gpos2_1_font7.layout-test.41,42,43.otf} | Bin - ...pos2_1_font7.layout-test.retain-all-codepoint.otf} | Bin 3780 -> 3868 bytes - ...gpos2_2_font5.layout-test-retain-gids.21,23,25.otf | Bin 0 -> 1780 bytes - .../gpos2_2_font5.layout-test-retain-gids.21,23.otf | Bin 0 -> 1656 bytes - ...> gpos2_2_font5.layout-test-retain-gids.2E,23.otf} | Bin - ...pos2_2_font5.layout-test-retain-gids.41,42,43.otf} | Bin - ...5.layout-test-retain-gids.retain-all-codepoint.otf | Bin 0 -> 3904 bytes - .../gpos2_2_font5.layout-test.21,23,25.otf | Bin 0 -> 1436 bytes - .../layout.gpos2/gpos2_2_font5.layout-test.21,23.otf | Bin 0 -> 1328 bytes - ....2E,23.otf => gpos2_2_font5.layout-test.2E,23.otf} | Bin - ...,43.otf => gpos2_2_font5.layout-test.41,42,43.otf} | Bin - ...gpos2_2_font5.layout-test.retain-all-codepoint.otf | Bin 0 -> 3904 bytes - ...s2_2_font5.notdef-outline-retain-gids.21,23,25.otf | Bin 1656 -> 0 bytes - ...gpos2_2_font5.notdef-outline-retain-gids.21,23.otf | Bin 1532 -> 0 bytes - ...otdef-outline-retain-gids.retain-all-codepoint.otf | Bin 3780 -> 0 bytes - .../gpos2_2_font5.notdef-outline.21,23,25.otf | Bin 1312 -> 0 bytes - .../gpos2_2_font5.notdef-outline.21,23.otf | Bin 1204 -> 0 bytes - ...s2_2_font5.notdef-outline.retain-all-codepoint.otf | Bin 3780 -> 0 bytes - ... => gpos3_font3.layout-test-retain-gids.28,29.otf} | Bin 1616 -> 1700 bytes - ... => gpos3_font3.layout-test-retain-gids.28,2B.otf} | Bin 1752 -> 1836 bytes - ... => gpos3_font3.layout-test-retain-gids.29,2B.otf} | Bin 1664 -> 1744 bytes - ... gpos3_font3.layout-test-retain-gids.41,42,43.otf} | Bin - ....layout-test-retain-gids.retain-all-codepoint.otf} | Bin 3876 -> 3908 bytes - ...ne.28,29.otf => gpos3_font3.layout-test.28,29.otf} | Bin 1224 -> 1308 bytes - ...ne.28,2B.otf => gpos3_font3.layout-test.28,2B.otf} | Bin 1344 -> 1428 bytes - ...ne.29,2B.otf => gpos3_font3.layout-test.29,2B.otf} | Bin 1256 -> 1336 bytes - ...42,43.otf => gpos3_font3.layout-test.41,42,43.otf} | Bin - .../gpos3_font3.layout-test.retain-all-codepoint.otf} | Bin 3876 -> 3908 bytes - ..._anchors_1.layout-test-retain-gids.41,42,43,44.otf | Bin 0 -> 2336 bytes - ..._anchors_1.layout-test-retain-gids.41,42,43,45.otf | Bin 0 -> 2332 bytes - ...le_anchors_1.layout-test-retain-gids.41,42,43.otf} | Bin 1976 -> 2096 bytes - ...tiple_anchors_1.layout-test-retain-gids.41,42.otf} | Bin - ...hors_1.layout-test-retain-gids.41,43,44,45,46.otf} | Bin 2560 -> 2692 bytes - ...ple_anchors_1.layout-test-retain-gids.41,43,44.otf | Bin 0 -> 2328 bytes - ...ple_anchors_1.layout-test-retain-gids.41,43,45.otf | Bin 0 -> 2328 bytes - ...tiple_anchors_1.layout-test-retain-gids.41,43.otf} | Bin 1972 -> 2092 bytes - ...multiple_anchors_1.layout-test-retain-gids.41.otf} | Bin - ....layout-test-retain-gids.retain-all-codepoint.otf} | Bin 3844 -> 3996 bytes - ...os4_multiple_anchors_1.layout-test.41,42,43,44.otf | Bin 0 -> 1620 bytes - ...os4_multiple_anchors_1.layout-test.41,42,43,45.otf | Bin 0 -> 1600 bytes - .../gpos4_multiple_anchors_1.layout-test.41,42,43.otf | Bin 0 -> 1384 bytes - ...=> gpos4_multiple_anchors_1.layout-test.41,42.otf} | Bin - ...multiple_anchors_1.layout-test.41,43,44,45,46.otf} | Bin 1832 -> 1964 bytes - .../gpos4_multiple_anchors_1.layout-test.41,43,44.otf | Bin 0 -> 1604 bytes - .../gpos4_multiple_anchors_1.layout-test.41,43,45.otf | Bin 0 -> 1592 bytes - .../gpos4_multiple_anchors_1.layout-test.41,43.otf | Bin 0 -> 1372 bytes - ...tf => gpos4_multiple_anchors_1.layout-test.41.otf} | Bin - ...le_anchors_1.layout-test.retain-all-codepoint.otf} | Bin 3844 -> 3996 bytes - ...chors_1.notdef-outline-retain-gids.41,42,43,44.otf | Bin 2208 -> 0 bytes - ..._anchors_1.notdef-outline-retain-gids.41,42,43.otf | Bin 1996 -> 0 bytes - ...ple_anchors_1.notdef-outline-retain-gids.41,43.otf | Bin 2000 -> 0 bytes - ..._multiple_anchors_1.notdef-outline.41,42,43,44.otf | Bin 1492 -> 0 bytes - ..._multiple_anchors_1.notdef-outline.41,42,43,45.otf | Bin 1488 -> 0 bytes - ...os4_multiple_anchors_1.notdef-outline.41,42,43.otf | Bin 1284 -> 0 bytes - ...os4_multiple_anchors_1.notdef-outline.41,43,45.otf | Bin 1488 -> 0 bytes - .../gpos4_multiple_anchors_1.notdef-outline.41,43.otf | Bin 1280 -> 0 bytes - ...os5_font1.layout-test-retain-gids.41,42,43,44.otf} | Bin 2224 -> 2360 bytes - ...os5_font1.layout-test-retain-gids.41,42,43,45.otf} | Bin 2220 -> 2356 bytes - .../gpos5_font1.layout-test-retain-gids.41,42,43.otf | Bin 0 -> 2120 bytes - ... gpos5_font1.layout-test-retain-gids.41,42,44.otf} | Bin 2144 -> 2276 bytes - .../gpos5_font1.layout-test-retain-gids.41,42,45.otf | Bin 0 -> 2260 bytes - .../gpos5_font1.layout-test-retain-gids.41,42.otf | Bin 0 -> 2012 bytes - ... => gpos5_font1.layout-test-retain-gids.41,43.otf} | Bin - ...otf => gpos5_font1.layout-test-retain-gids.41.otf} | Bin - ...otf => gpos5_font1.layout-test-retain-gids.42.otf} | Bin - ....layout-test-retain-gids.retain-all-codepoint.otf} | Bin 3860 -> 4064 bytes - ...44.otf => gpos5_font1.layout-test.41,42,43,44.otf} | Bin 1508 -> 1644 bytes - .../gpos5_font1.layout-test.41,42,43,45.otf | Bin 0 -> 1624 bytes - .../layout.gpos5/gpos5_font1.layout-test.41,42,43.otf | Bin 0 -> 1408 bytes - ...42,44.otf => gpos5_font1.layout-test.41,42,44.otf} | Bin 1420 -> 1552 bytes - .../layout.gpos5/gpos5_font1.layout-test.41,42,45.otf | Bin 0 -> 1524 bytes - .../layout.gpos5/gpos5_font1.layout-test.41,42.otf | Bin 0 -> 1304 bytes - ...ne.41,43.otf => gpos5_font1.layout-test.41,43.otf} | Bin - ...-outline.41.otf => gpos5_font1.layout-test.41.otf} | Bin - ...-outline.42.otf => gpos5_font1.layout-test.42.otf} | Bin - ... gpos5_font1.layout-test.retain-all-codepoint.otf} | Bin 3860 -> 4064 bytes - ...5_font1.notdef-outline-retain-gids.41,42,43,45.otf | Bin 2236 -> 0 bytes - ...pos5_font1.notdef-outline-retain-gids.41,42,43.otf | Bin 2012 -> 0 bytes - ...pos5_font1.notdef-outline-retain-gids.41,42,45.otf | Bin 2144 -> 0 bytes - .../gpos5_font1.notdef-outline-retain-gids.41,42.otf | Bin 1908 -> 0 bytes - .../gpos5_font1.notdef-outline.41,42,43,45.otf | Bin 1504 -> 0 bytes - .../gpos5_font1.notdef-outline.41,42,43.otf | Bin 1300 -> 0 bytes - .../gpos5_font1.notdef-outline.41,42,45.otf | Bin 1408 -> 0 bytes - .../layout.gpos5/gpos5_font1.notdef-outline.41,42.otf | Bin 1200 -> 0 bytes - ...os6_font1.layout-test-retain-gids.41,42,43,44.otf} | Bin 2184 -> 2312 bytes - ...pos6_font1.layout-test-retain-gids.41,42,43,45.otf | Bin 0 -> 2308 bytes - .../gpos6_font1.layout-test-retain-gids.41,42,43.otf} | Bin 2016 -> 2072 bytes - ... => gpos6_font1.layout-test-retain-gids.41,42.otf} | Bin - ..._font1.layout-test-retain-gids.41,43,44,45,46.otf} | Bin 2536 -> 2668 bytes - .../gpos6_font1.layout-test-retain-gids.41,43,44.otf} | Bin 2216 -> 2304 bytes - .../gpos6_font1.layout-test-retain-gids.41,43,45.otf} | Bin 2224 -> 2304 bytes - .../gpos6_font1.layout-test-retain-gids.41,43.otf | Bin 0 -> 2068 bytes - ...otf => gpos6_font1.layout-test-retain-gids.41.otf} | Bin - ....layout-test-retain-gids.retain-all-codepoint.otf} | Bin 3820 -> 3972 bytes - ...44.otf => gpos6_font1.layout-test.41,42,43,44.otf} | Bin 1468 -> 1596 bytes - .../gpos6_font1.layout-test.41,42,43,45.otf | Bin 0 -> 1576 bytes - .../layout.gpos6/gpos6_font1.layout-test.41,42,43.otf | Bin 0 -> 1360 bytes - ...ne.41,42.otf => gpos6_font1.layout-test.41,42.otf} | Bin - ...otf => gpos6_font1.layout-test.41,43,44,45,46.otf} | Bin 1808 -> 1940 bytes - .../gpos6_font1.layout-test.41,43,44.otf} | Bin 1492 -> 1580 bytes - .../layout.gpos6/gpos6_font1.layout-test.41,43,45.otf | Bin 0 -> 1568 bytes - .../layout.gpos6/gpos6_font1.layout-test.41,43.otf | Bin 0 -> 1348 bytes - ...-outline.41.otf => gpos6_font1.layout-test.41.otf} | Bin - ... gpos6_font1.layout-test.retain-all-codepoint.otf} | Bin 3820 -> 3972 bytes - ...6_font1.notdef-outline-retain-gids.41,42,43,45.otf | Bin 2196 -> 0 bytes - ...pos6_font1.notdef-outline-retain-gids.41,43,44.otf | Bin 2192 -> 0 bytes - ...pos6_font1.notdef-outline-retain-gids.41,43,45.otf | Bin 2200 -> 0 bytes - .../gpos6_font1.notdef-outline.41,42,43,45.otf | Bin 1464 -> 0 bytes - .../gpos6_font1.notdef-outline.41,42,43.otf | Bin 1260 -> 0 bytes - .../gpos6_font1.notdef-outline.41,43,44.otf | Bin 1468 -> 0 bytes - .../gpos6_font1.notdef-outline.41,43,45.otf | Bin 1464 -> 0 bytes - .../layout.gpos6/gpos6_font1.notdef-outline.41,43.otf | Bin 1256 -> 0 bytes - ...ubrules_f1.layout-test-retain-gids.30,31,32,33.otf | Bin 0 -> 2400 bytes - ..._subrules_f1.layout-test-retain-gids.41,42,43.otf} | Bin - ...1.layout-test-retain-gids.retain-all-codepoint.otf | Bin 0 -> 4012 bytes - ...1_multiple_subrules_f1.layout-test.30,31,32,33.otf | Bin 0 -> 1928 bytes - ...ng1_multiple_subrules_f1.layout-test.41,42,43.otf} | Bin - ...e_subrules_f1.layout-test.retain-all-codepoint.otf | Bin 0 -> 4012 bytes - ...ules_f1.notdef-outline-retain-gids.30,31,32,33.otf | Bin 2292 -> 0 bytes - ...ultiple_subrules_f1.notdef-outline.30,31,32,33.otf | Bin 1820 -> 0 bytes - ...ubrules_f1.layout-test-retain-gids.30,31,32,33.otf | Bin 0 -> 2420 bytes - ..._subrules_f1.layout-test-retain-gids.41,42,43.otf} | Bin - ...1.layout-test-retain-gids.retain-all-codepoint.otf | Bin 0 -> 4044 bytes - ...2_multiple_subrules_f1.layout-test.30,31,32,33.otf | Bin 0 -> 1948 bytes - ...ng2_multiple_subrules_f1.layout-test.41,42,43.otf} | Bin - ...e_subrules_f1.layout-test.retain-all-codepoint.otf | Bin 0 -> 4044 bytes - ...ules_f1.notdef-outline-retain-gids.30,31,32,33.otf | Bin 2292 -> 0 bytes - ...ultiple_subrules_f1.notdef-outline.30,31,32,33.otf | Bin 1820 -> 0 bytes - ..._simple_f1.layout-test-retain-gids.30,31,32,33.otf | Bin 0 -> 2392 bytes - ...g3_simple_f1.layout-test-retain-gids.41,42,43.otf} | Bin - ...1.layout-test-retain-gids.retain-all-codepoint.otf | Bin 0 -> 3980 bytes - ...os_chaining3_simple_f1.layout-test.30,31,32,33.otf | Bin 0 -> 1920 bytes - ...gpos_chaining3_simple_f1.layout-test.41,42,43.otf} | Bin - ...ng3_simple_f1.layout-test.retain-all-codepoint.otf | Bin 0 -> 3980 bytes - ...mple_f1.notdef-outline-retain-gids.30,31,32,33.otf | Bin 2268 -> 0 bytes - ...otdef-outline-retain-gids.retain-all-codepoint.otf | Bin 3856 -> 0 bytes - ...chaining3_simple_f1.notdef-outline.30,31,32,33.otf | Bin 1796 -> 0 bytes - ..._simple_f1.notdef-outline.retain-all-codepoint.otf | Bin 3856 -> 0 bytes - .../gpos9_font2.layout-test-retain-gids.41,42.otf | Bin 0 -> 1960 bytes - ...otf => gpos9_font2.layout-test-retain-gids.41.otf} | Bin 1852 -> 1920 bytes - ...otf => gpos9_font2.layout-test-retain-gids.42.otf} | Bin 1724 -> 1792 bytes - .../layout.gpos9/gpos9_font2.layout-test.41,42.otf | Bin 0 -> 1252 bytes - ...-outline.41.otf => gpos9_font2.layout-test.41.otf} | Bin 1148 -> 1216 bytes - ...-outline.42.otf => gpos9_font2.layout-test.42.otf} | Bin 1008 -> 1076 bytes - .../gpos9_font2.notdef-outline-retain-gids.41,42.otf | Bin 1868 -> 0 bytes - .../layout.gpos9/gpos9_font2.notdef-outline.41,42.otf | Bin 1160 -> 0 bytes - .../gsub_alternate_substitution.default.53A9.otf | Bin 3884 -> 0 bytes - .../gsub_alternate_substitution.default.53F1.otf | Bin 2440 -> 0 bytes - ...ubstitution.layout-test-retain-gids.53A9,53F1.otf} | Bin 4440 -> 5076 bytes - ...nate_substitution.layout-test-retain-gids.53A9.otf | Bin 0 -> 4656 bytes - ...nate_substitution.layout-test-retain-gids.53F1.otf | Bin 0 -> 2996 bytes - ....layout-test-retain-gids.retain-all-codepoint.otf} | Bin 6076 -> 6764 bytes - ..._alternate_substitution.layout-test.53A9,53F1.otf} | Bin 4316 -> 4952 bytes - .../gsub_alternate_substitution.layout-test.53A9.otf | Bin 0 -> 4504 bytes - .../gsub_alternate_substitution.layout-test.53F1.otf | Bin 0 -> 2804 bytes - ...substitution.layout-test.retain-all-codepoint.otf} | Bin 5984 -> 6672 bytes - .../gsub_alternate_substitution.retain-gids.53A9.otf | Bin 4036 -> 0 bytes - .../gsub_alternate_substitution.retain-gids.53F1.otf | Bin 2632 -> 0 bytes - ...e_subrules_f2.layout-test-retain-gids.41,42,43.otf | Bin 0 -> 2236 bytes - ...iple_subrules_f2.layout-test-retain-gids.41,42.otf | Bin 0 -> 2208 bytes - ...ple_subrules_f2.layout-test-retain-gids.41,43.otf} | Bin - ...ltiple_subrules_f2.layout-test-retain-gids.41.otf} | Bin - ....layout-test-retain-gids.retain-all-codepoint.otf} | Bin 3880 -> 3988 bytes - ...ext1_multiple_subrules_f2.layout-test.41,42,43.otf | Bin 0 -> 1440 bytes - ...ontext1_multiple_subrules_f2.layout-test.41,42.otf | Bin 0 -> 1400 bytes - ...ntext1_multiple_subrules_f2.layout-test.41,43.otf} | Bin - ..._context1_multiple_subrules_f2.layout-test.41.otf} | Bin - ..._subrules_f2.layout-test.retain-all-codepoint.otf} | Bin 3880 -> 3988 bytes - ...ubrules_f2.notdef-outline-retain-gids.41,42,43.otf | Bin 2028 -> 0 bytes - ...e_subrules_f2.notdef-outline-retain-gids.41,42.otf | Bin 1924 -> 0 bytes - ...otdef-outline-retain-gids.retain-all-codepoint.otf | Bin 3888 -> 0 bytes - ...1_multiple_subrules_f2.notdef-outline.41,42,43.otf | Bin 1316 -> 0 bytes - ...ext1_multiple_subrules_f2.notdef-outline.41,42.otf | Bin 1216 -> 0 bytes - ...ubrules_f2.notdef-outline.retain-all-codepoint.otf | Bin 3888 -> 0 bytes - ...e_subrules_f2.layout-test-retain-gids.41,42,43.otf | Bin 0 -> 2256 bytes - ...iple_subrules_f2.layout-test-retain-gids.41,42.otf | Bin 0 -> 2224 bytes - ...ple_subrules_f2.layout-test-retain-gids.41,43.otf} | Bin - ...ltiple_subrules_f2.layout-test-retain-gids.41.otf} | Bin - ....layout-test-retain-gids.retain-all-codepoint.otf} | Bin 3880 -> 4008 bytes - ...ext2_multiple_subrules_f2.layout-test.41,42,43.otf | Bin 0 -> 1460 bytes - ...ontext2_multiple_subrules_f2.layout-test.41,42.otf | Bin 0 -> 1416 bytes - ...ntext2_multiple_subrules_f2.layout-test.41,43.otf} | Bin - ..._context2_multiple_subrules_f2.layout-test.41.otf} | Bin - ..._subrules_f2.layout-test.retain-all-codepoint.otf} | Bin 3880 -> 4008 bytes - ...ubrules_f2.notdef-outline-retain-gids.41,42,43.otf | Bin 2028 -> 0 bytes - ...e_subrules_f2.notdef-outline-retain-gids.41,42.otf | Bin 1924 -> 0 bytes - ...otdef-outline-retain-gids.retain-all-codepoint.otf | Bin 3888 -> 0 bytes - ...2_multiple_subrules_f2.notdef-outline.41,42,43.otf | Bin 1316 -> 0 bytes - ...ext2_multiple_subrules_f2.notdef-outline.41,42.otf | Bin 1216 -> 0 bytes - ...ubrules_f2.notdef-outline.retain-all-codepoint.otf | Bin 3888 -> 0 bytes - ...uccessive_f1.layout-test-retain-gids.41,42,43.otf} | Bin - ...3_successive_f1.layout-test-retain-gids.41,42.otf} | Bin - ...3_successive_f1.layout-test-retain-gids.41,43.otf} | Bin - ...ext3_successive_f1.layout-test-retain-gids.41.otf} | Bin - ....layout-test-retain-gids.retain-all-codepoint.otf} | Bin 3876 -> 4008 bytes - ...b_context3_successive_f1.layout-test.41,42,43.otf} | Bin - ...gsub_context3_successive_f1.layout-test.41,42.otf} | Bin - ...gsub_context3_successive_f1.layout-test.41,43.otf} | Bin - ...=> gsub_context3_successive_f1.layout-test.41.otf} | Bin - ...uccessive_f1.layout-test.retain-all-codepoint.otf} | Bin 3876 -> 4008 bytes - ...brules_f1.layout-test-retain-gids.30,31,32,33.otf} | Bin 2304 -> 2372 bytes - ..._subrules_f1.layout-test-retain-gids.41,42,43.otf} | Bin - ....layout-test-retain-gids.retain-all-codepoint.otf} | Bin 3876 -> 3984 bytes - ..._multiple_subrules_f1.layout-test.30,31,32,33.otf} | Bin 1832 -> 1900 bytes - ...ng1_multiple_subrules_f1.layout-test.41,42,43.otf} | Bin - ..._subrules_f1.layout-test.retain-all-codepoint.otf} | Bin 3876 -> 3984 bytes - ...otdef-outline-retain-gids.retain-all-codepoint.otf | Bin 3892 -> 0 bytes - ...ubrules_f1.notdef-outline.retain-all-codepoint.otf | Bin 3892 -> 0 bytes - ...brules_f1.layout-test-retain-gids.30,31,32,33.otf} | Bin 2304 -> 2400 bytes - ..._subrules_f1.layout-test-retain-gids.41,42,43.otf} | Bin - ...1.layout-test-retain-gids.retain-all-codepoint.otf | Bin 0 -> 4016 bytes - ...2_multiple_subrules_f1.layout-test.30,31,32,33.otf | Bin 0 -> 1928 bytes - ...ng2_multiple_subrules_f1.layout-test.41,42,43.otf} | Bin - ...e_subrules_f1.layout-test.retain-all-codepoint.otf | Bin 0 -> 4016 bytes - ...otdef-outline-retain-gids.retain-all-codepoint.otf | Bin 3892 -> 0 bytes - ...ultiple_subrules_f1.notdef-outline.30,31,32,33.otf | Bin 1832 -> 0 bytes - ...ubrules_f1.notdef-outline.retain-all-codepoint.otf | Bin 3892 -> 0 bytes - ..._simple_f2.layout-test-retain-gids.30,31,32,33.otf | Bin 0 -> 2360 bytes - ...g3_simple_f2.layout-test-retain-gids.41,42,43.otf} | Bin - ....layout-test-retain-gids.retain-all-codepoint.otf} | Bin 3812 -> 3952 bytes - ...ub_chaining3_simple_f2.layout-test.30,31,32,33.otf | Bin 0 -> 1888 bytes - ...gsub_chaining3_simple_f2.layout-test.41,42,43.otf} | Bin - ...g3_simple_f2.layout-test.retain-all-codepoint.otf} | Bin 3812 -> 3952 bytes - ...mple_f2.notdef-outline-retain-gids.30,31,32,33.otf | Bin 2280 -> 0 bytes - ...otdef-outline-retain-gids.retain-all-codepoint.otf | Bin 3868 -> 0 bytes - ...chaining3_simple_f2.notdef-outline.30,31,32,33.otf | Bin 1808 -> 0 bytes - ..._simple_f2.notdef-outline.retain-all-codepoint.otf | Bin 3868 -> 0 bytes - ...t-test-retain-gids.41,42,43,44,45,46,47,48,49.otf} | Bin 2916 -> 3208 bytes - ...d.layout-test-retain-gids.41,42,43,44,45,46,47.otf | Bin 0 -> 2828 bytes - ...d.layout-test-retain-gids.41,42,43,44,45,46,4D.otf | Bin 0 -> 2896 bytes - ....layout-test-retain-gids.41,42,43,44,45,46,51.otf} | Bin 2624 -> 2900 bytes - ...ted.layout-test-retain-gids.41,42,43,44,45,46.otf} | Bin - ...ally_created.layout-test-retain-gids.41,42,43.otf} | Bin - ...8_manually_created.layout-test-retain-gids.41.otf} | Bin - ...b8_manually_created.layout-test-retain-gids.61.otf | Bin 0 -> 2608 bytes - ....layout-test-retain-gids.retain-all-codepoint.otf} | Bin 3868 -> 4048 bytes - ...reated.layout-test.41,42,43,44,45,46,47,48,49.otf} | Bin 2188 -> 2404 bytes - ...ally_created.layout-test.41,42,43,44,45,46,47.otf} | Bin 1948 -> 2012 bytes - ...ually_created.layout-test.41,42,43,44,45,46,4D.otf | Bin 0 -> 2012 bytes - ...ually_created.layout-test.41,42,43,44,45,46,51.otf | Bin 0 -> 2060 bytes - ...anually_created.layout-test.41,42,43,44,45,46.otf} | Bin - ...> gsub8_manually_created.layout-test.41,42,43.otf} | Bin - ....otf => gsub8_manually_created.layout-test.41.otf} | Bin - .../gsub8_manually_created.layout-test.61.otf | Bin 0 -> 1556 bytes - ...ally_created.layout-test.retain-all-codepoint.otf} | Bin 3868 -> 4048 bytes - ...otdef-outline-retain-gids.41,42,43,44,45,46,4D.otf | Bin 2668 -> 0 bytes - ...otdef-outline-retain-gids.41,42,43,44,45,46,51.otf | Bin 2792 -> 0 bytes - ...manually_created.notdef-outline-retain-gids.61.otf | Bin 2292 -> 0 bytes - ...ly_created.notdef-outline.41,42,43,44,45,46,47.otf | Bin 1904 -> 0 bytes - ...ly_created.notdef-outline.41,42,43,44,45,46,4D.otf | Bin 1868 -> 0 bytes - .../gsub8_manually_created.notdef-outline.61.otf | Bin 1236 -> 0 bytes - test/subset/data/profiles/layout-test-retain-gids.txt | 3 +++ - test/subset/data/profiles/layout-test.txt | 2 ++ - test/subset/data/tests/layout.context.tests | 4 ++-- - test/subset/data/tests/layout.gdef-varstore.tests | 4 ++-- - test/subset/data/tests/layout.gpos.tests | 4 ++-- - test/subset/data/tests/layout.gpos2.tests | 4 ++-- - test/subset/data/tests/layout.gpos3.tests | 4 ++-- - test/subset/data/tests/layout.gpos4.tests | 4 ++-- - test/subset/data/tests/layout.gpos5.tests | 4 ++-- - test/subset/data/tests/layout.gpos6.tests | 4 ++-- - test/subset/data/tests/layout.gpos8.tests | 4 ++-- - test/subset/data/tests/layout.gpos9.tests | 4 ++-- - test/subset/data/tests/layout.gsub3.tests | 4 ++-- - test/subset/data/tests/layout.gsub5.tests | 4 ++-- - test/subset/data/tests/layout.gsub6.tests | 4 ++-- - test/subset/data/tests/layout.gsub8.tests | 4 ++-- - 340 files changed, 33 insertions(+), 28 deletions(-) - -commit 7620da0f2b2ec83db401f598c1e1ab22c0cfa91d -Merge: c0f3af91b ccc2a1921 -Author: Behdad Esfahbod -Date: Thu Aug 12 14:55:33 2021 -0600 - - Merge pull request #3142 from harfbuzz/subset-preload-face - - [util/hb-subset] preload face - -commit c0f3af91b80bcaa32d216eac6843c5036e446e25 -Author: Garret Rieger -Date: Wed Aug 11 16:20:05 2021 -0700 - - [subset] speed up add_gid_and_children and adjust op limit. - - Fix for fuzzer timeout: https://oss-fuzz.com/testcase-detail/5001604901240832. - - - Operation limit is per glyph, so 100,000 should still be far more than needed. - - Switches from for(...) to while(...) loop for iteration. for(...) calls it.end() which in this case triggers a complete iteration. - - Cache CompositeGlyph size in the iterator to avoid needing to recalculate it. - - src/hb-ot-glyf-table.hh | 48 +++++++++++++++------ - ...ase-minimized-hb-subset-fuzzer-5001604901240832 | Bin 0 -> 165568 bytes - 2 files changed, 34 insertions(+), 14 deletions(-) - -commit ccc2a1921a2beab5d7570145a9474870cf25d02a -Author: Behdad Esfahbod -Date: Thu Aug 12 12:44:52 2021 -0600 - - [util/hb-subset] Whitespace - - util/hb-subset.cc | 57 +++++++++++++++++++++++++++---------------------------- - 1 file changed, 28 insertions(+), 29 deletions(-) - -commit 4dfc668e0a745cfb6d06d731adf71198cb4cb610 -Author: Behdad Esfahbod -Date: Thu Aug 12 12:40:21 2021 -0600 - - [util/hb-subset] Move glyph name parsing inline instead of post_parse - - Now that we have face around we can just do it as it happens. - - util/hb-subset.cc | 85 +++++++++++++++++++------------------------------------ - 1 file changed, 29 insertions(+), 56 deletions(-) - -commit 08d43d1ba188ffb99eeeb50f6bc20b2f10701318 -Author: Behdad Esfahbod -Date: Thu Aug 12 11:40:56 2021 -0600 - - [util/hb-subset] Move add_all_unicodes inline, instead of post_parse - - Now that we have the font loaded, we can do it as it happens. - - util/hb-subset.cc | 19 +++++++++---------- - 1 file changed, 9 insertions(+), 10 deletions(-) - -commit 11b0b688538b54f13069416a4a47a4db1eba6ae6 -Author: Behdad Esfahbod -Date: Thu Aug 12 11:38:28 2021 -0600 - - [util/hb-subset] Pre-parse font-face so we can use it during main parsing - - util/face-options.hh | 3 +++ - util/hb-subset.cc | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ - util/options.hh | 23 +++++++++++++++-------- - 3 files changed, 69 insertions(+), 8 deletions(-) - -commit c45d2a9c9dbdf3f0936f56f12706e8725078883b -Author: Behdad Esfahbod -Date: Thu Aug 12 11:17:26 2021 -0600 - - [util] Allow setting cli summary / description - - util/hb-ot-shape-closure.cc | 1 + - util/hb-shape.cc | 1 + - util/hb-subset.cc | 2 ++ - util/options.hh | 13 +++++++++++-- - util/view-cairo.hh | 1 + - 5 files changed, 16 insertions(+), 2 deletions(-) - -commit 4f3b7b7035b12991a155f2775ddadd1ecd824ecb -Author: Behdad Esfahbod -Date: Thu Aug 12 11:05:31 2021 -0600 - - [util] Remove unused usage - - util/options.hh | 9 +-------- - 1 file changed, 1 insertion(+), 8 deletions(-) - -commit 1cb621d35d1e8e47d868f4ef6a9d186aa835e708 -Author: Behdad Esfahbod -Date: Thu Aug 12 10:58:19 2021 -0600 - - [util/hb-subset] Minor move parsing - - util/hb-subset.cc | 9 +++++++-- - 1 file changed, 7 insertions(+), 2 deletions(-) - -commit 3f94177ee80a120afcb2275608473b9da63811d0 -Author: Behdad Esfahbod -Date: Thu Aug 12 10:43:31 2021 -0600 - - [util] Use g_set_error() in one more place - - util/font-options.hh | 12 +++++++----- - 1 file changed, 7 insertions(+), 5 deletions(-) - -commit 4d73b3d9b1575b9b71ba21886cc130f8bb7591ee -Author: Behdad Esfahbod -Date: Thu Aug 12 10:39:46 2021 -0600 - - [util] Add --batch to hb-view / hb-ot-shape-closure - - util/batch.hh | 2 ++ - util/hb-ot-shape-closure.cc | 8 +++++--- - util/hb-shape.cc | 8 ++++---- - util/hb-subset.cc | 6 ++---- - util/hb-view.cc | 10 ++++++---- - 5 files changed, 19 insertions(+), 15 deletions(-) - -commit 302bde0bfbb29208a974bd50b1af09a154efbd45 -Merge: 43722cc9f 23282c9c9 -Author: Behdad Esfahbod -Date: Wed Aug 11 23:05:11 2021 -0600 - - Merge pull request #3135 from harfbuzz/post-parse - - [util] Clean up option parsing some more and implement missing featuress - -commit 23282c9c9d057c715dde93d18167de9329931354 -Author: Behdad Esfahbod -Date: Wed Aug 11 22:49:47 2021 -0600 - - [util/hb-subset] Support ranges in --unicodes / --unicodes-file - - Fixes https://github.com/harfbuzz/harfbuzz/issues/3109 - - test/shape/hb_test_tools.py | 2 +- - util/hb-subset.cc | 68 ++++++++++++++++++++++++++++++--------------- - util/text-options.hh | 3 +- - 3 files changed, 48 insertions(+), 25 deletions(-) - -commit f60f005b1fec38dcb0630b01520a7b8a105759c5 -Author: Behdad Esfahbod -Date: Wed Aug 11 22:36:00 2021 -0600 - - [util/hb-subset] Remove wrong hb_set_destroy() in error paths - - util/hb-subset.cc | 5 ----- - 1 file changed, 5 deletions(-) - -commit 49cf36027c5ad8092966983f9c2e438cbef00c15 -Author: Behdad Esfahbod -Date: Wed Aug 11 22:34:14 2021 -0600 - - [util/hb-subset] Parse --gids-file, --glyphs-file, --text-file, --unicodes-file - - Fixes https://github.com/harfbuzz/harfbuzz/issues/2455 - Fixes https://github.com/harfbuzz/harfbuzz/issues/3002 - - util/hb-subset.cc | 119 +++++++++++++++++++++++++++++++++++++++++------------- - 1 file changed, 92 insertions(+), 27 deletions(-) - -commit bf80b7ea457deb1fb72e7996e5f4d78a981e8a39 -Author: Behdad Esfahbod -Date: Wed Aug 11 22:07:45 2021 -0600 - - [util/hb-subset] Add --glyphs for passing glyph names - - Part of https://github.com/harfbuzz/harfbuzz/issues/2455 - - util/hb-subset.cc | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- - 1 file changed, 62 insertions(+), 1 deletion(-) - -commit 5b07c3c7d03b5ff6d35fafa3db402528d813af0a -Author: Behdad Esfahbod -Date: Wed Aug 11 21:14:55 2021 -0600 - - [util/hb-subset] Parse --text & --unicodes - - util/Makefile.sources | 1 - - util/hb-subset.cc | 528 ++++++++++++++++++++++++++++++++++++++++++++----- - util/subset-options.hh | 399 ------------------------------------- - util/text-options.hh | 3 +- - 4 files changed, 475 insertions(+), 456 deletions(-) - -commit 4ec727e55f1f5479aa2be85f8ad4e0f1a4b922b6 -Author: Behdad Esfahbod -Date: Wed Aug 11 20:46:16 2021 -0600 - - [util] Minor edit of failure messages - - util/subset-options.hh | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit b83f25c749c219e2cb7ed6d819d638f97bf3ea62 -Author: Behdad Esfahbod -Date: Wed Aug 11 20:42:20 2021 -0600 - - [util/hb-subset] Revamp option groups - - util/shape-options.hh | 3 ++- - util/subset-options.hh | 59 ++++++++++++++++++++++++++++++++++++++++---------- - 2 files changed, 49 insertions(+), 13 deletions(-) - -commit 9a6055caa812a5c855ec604ce0c74a91236c0988 -Author: Behdad Esfahbod -Date: Wed Aug 11 20:30:25 2021 -0600 - - [util/hb-ot-shape-closure] Remove unnecessary include - - util/hb-ot-shape-closure.cc | 4 ---- - 1 file changed, 4 deletions(-) - -commit c98773ebb0b47c682494de4a4c6b648a62698cec -Author: Behdad Esfahbod -Date: Wed Aug 11 20:22:03 2021 -0600 - - [util/hb-subset] Move output-file validation code into post_parse - - util/hb-shape.cc | 2 +- - util/hb-subset.cc | 5 +-- - util/helper-cairo.hh | 2 + - util/output-options.hh | 120 ++++++++++++++++++++++++------------------------- - util/view-cairo.hh | 2 +- - 5 files changed, 65 insertions(+), 66 deletions(-) - -commit 58bfe40794352afc162c651ff84cbacf5e751960 -Author: Behdad Esfahbod -Date: Wed Aug 11 19:48:28 2021 -0600 - - [util] Move hb-subset away from main-font-text - - test/subset/run-tests.py | 1 - - util/face-options.hh | 6 ++ - util/hb-shape.cc | 8 +-- - util/hb-subset.cc | 146 ++++++++++++++++++++++++++++------------------- - util/helper-cairo.hh | 4 +- - util/output-options.hh | 15 +++-- - util/shape-options.hh | 9 ++- - util/text-options.hh | 18 +++--- - 8 files changed, 122 insertions(+), 85 deletions(-) - -commit 3147e081da35b9c3c03cc58970eb96f31958f4c4 -Merge: ba418cfc5 43722cc9f -Author: Behdad Esfahbod -Date: Wed Aug 11 19:33:00 2021 -0600 - - Merge branch 'main' into post-parse - -commit 43722cc9f428bbfa759d4d93008ba4cf6efaceba -Author: Khaled Hosny -Date: Thu Aug 12 02:32:29 2021 +0200 - - [test] Add some real reverse sub tests - - .../fonts/1b66a1f4b076b734caa6397b3e57231af1feaafb.ttf | Bin 0 -> 3220 bytes - .../fonts/3f24aff8b768e586162e9b9d03b15c36508dd2ae.ttf | Bin 0 -> 5760 bytes - test/shaping/data/in-house/tests/reverse-sub.tests | 2 ++ - 3 files changed, 2 insertions(+) - -commit ba418cfc5218ac093b759e2c03a43234a786f6eb -Author: Behdad Esfahbod -Date: Wed Aug 11 19:29:07 2021 -0600 - - [util] Use automatic casts - - util/view-cairo.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 97a9e4e41e9712fa52802d1043b7cecdde2ff2a2 -Author: Behdad Esfahbod -Date: Wed Aug 11 19:28:16 2021 -0600 - - [util] Separate shape_text_options_t from text_options_t - - util/hb-ot-shape-closure.cc | 15 ++++++---- - util/hb-shape.cc | 2 +- - util/hb-subset.cc | 14 +++++---- - util/hb-view.cc | 2 +- - util/main-font-text.hh | 6 ++-- - util/shape-consumer.hh | 16 ++++++---- - util/text-options.hh | 73 ++++++++++++++++++++++++++++++++++++++++----- - 7 files changed, 98 insertions(+), 30 deletions(-) - -commit 6ba7ddafed4cf80cdb4ff38700d96629d10eed64 -Author: Behdad Esfahbod -Date: Wed Aug 11 19:06:57 2021 -0600 - - [util] Move text-file opening to post_parse - - util/text-options.hh | 39 +++++++++++++++++++++------------------ - 1 file changed, 21 insertions(+), 18 deletions(-) - -commit 23298bc846d34eb6a5465511df6219e3d94c3103 -Author: Behdad Esfahbod -Date: Wed Aug 11 18:58:25 2021 -0600 - - [util] Remove unnecessary check - - util/text-options.hh | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit fd0778aa2a8525d9b435304710c29598df6905cc -Author: Behdad Esfahbod -Date: Wed Aug 11 18:54:46 2021 -0600 - - [util] Use post_parse in output_options_t - - util/hb-shape.cc | 1 - - util/helper-cairo.hh | 4 ++-- - util/output-options.hh | 57 ++++++++++++++++++++++---------------------------- - 3 files changed, 27 insertions(+), 35 deletions(-) - -commit 24a9d8c78db50e8082cb6ba258707f3d0e8333e7 -Author: Behdad Esfahbod -Date: Wed Aug 11 18:47:06 2021 -0600 - - [util] Use post_parse in font_options_t - - util/font-options.hh | 15 +++++---------- - util/hb-ot-shape-closure.cc | 2 +- - util/hb-shape.cc | 2 +- - util/helper-cairo.hh | 2 +- - util/shape-consumer.hh | 2 +- - util/view-cairo.hh | 2 +- - 6 files changed, 10 insertions(+), 15 deletions(-) - -commit e0d7060f80f8c4b9b8241c3a4d8faa33f48da86d -Author: Behdad Esfahbod -Date: Wed Aug 11 18:43:21 2021 -0600 - - [test] Rename shaping/ to shape/ - - configure.ac | 10 +++++----- - test/Makefile.am | 2 +- - test/meson.build | 4 ++-- - test/{shaping => shape}/Makefile.am | 0 - test/{shaping => shape}/README.md | 0 - test/{shaping => shape}/data/Makefile.am | 0 - test/{shaping => shape}/data/aots/COPYING | 0 - test/{shaping => shape}/data/aots/Makefile.am | 0 - test/{shaping => shape}/data/aots/Makefile.sources | 0 - test/{shaping => shape}/data/aots/fonts/classdef1_font1.otf | Bin - test/{shaping => shape}/data/aots/fonts/classdef1_font2.otf | Bin - test/{shaping => shape}/data/aots/fonts/classdef1_font3.otf | Bin - test/{shaping => shape}/data/aots/fonts/classdef1_font4.otf | Bin - test/{shaping => shape}/data/aots/fonts/classdef2_font1.otf | Bin - test/{shaping => shape}/data/aots/fonts/classdef2_font2.otf | Bin - test/{shaping => shape}/data/aots/fonts/classdef2_font3.otf | Bin - test/{shaping => shape}/data/aots/fonts/classdef2_font4.otf | Bin - test/{shaping => shape}/data/aots/fonts/cmap0_font1.otf | Bin - test/{shaping => shape}/data/aots/fonts/cmap10_font1.otf | Bin - test/{shaping => shape}/data/aots/fonts/cmap10_font2.otf | Bin - test/{shaping => shape}/data/aots/fonts/cmap12_font1.otf | Bin - test/{shaping => shape}/data/aots/fonts/cmap14_font1.otf | Bin - test/{shaping => shape}/data/aots/fonts/cmap2_font1.otf | Bin - test/{shaping => shape}/data/aots/fonts/cmap4_font1.otf | Bin - test/{shaping => shape}/data/aots/fonts/cmap4_font2.otf | Bin - test/{shaping => shape}/data/aots/fonts/cmap4_font3.otf | Bin - test/{shaping => shape}/data/aots/fonts/cmap4_font4.otf | Bin - test/{shaping => shape}/data/aots/fonts/cmap6_font1.otf | Bin - test/{shaping => shape}/data/aots/fonts/cmap6_font2.otf | Bin - test/{shaping => shape}/data/aots/fonts/cmap8_font1.otf | Bin - .../data/aots/fonts/cmap_composition_font1.otf | Bin - .../data/aots/fonts/cmap_subtableselection_font1.otf | Bin - .../data/aots/fonts/cmap_subtableselection_font2.otf | Bin - .../data/aots/fonts/cmap_subtableselection_font3.otf | Bin - .../data/aots/fonts/cmap_subtableselection_font4.otf | Bin - .../data/aots/fonts/cmap_subtableselection_font5.otf | Bin - .../data/aots/fonts/gpos1_1_lookupflag_f1.otf | Bin - .../data/aots/fonts/gpos1_1_simple_f1.otf | Bin - .../data/aots/fonts/gpos1_1_simple_f2.otf | Bin - .../data/aots/fonts/gpos1_1_simple_f3.otf | Bin - .../data/aots/fonts/gpos1_1_simple_f4.otf | Bin - test/{shaping => shape}/data/aots/fonts/gpos1_2_font1.otf | Bin - test/{shaping => shape}/data/aots/fonts/gpos1_2_font2.otf | Bin - test/{shaping => shape}/data/aots/fonts/gpos2_1_font6.otf | Bin - test/{shaping => shape}/data/aots/fonts/gpos2_1_font7.otf | Bin - .../data/aots/fonts/gpos2_1_lookupflag_f1.otf | Bin - .../data/aots/fonts/gpos2_1_lookupflag_f2.otf | Bin - .../data/aots/fonts/gpos2_1_next_glyph_f1.otf | Bin - .../data/aots/fonts/gpos2_1_next_glyph_f2.otf | Bin - .../data/aots/fonts/gpos2_1_simple_f1.otf | Bin - test/{shaping => shape}/data/aots/fonts/gpos2_2_font1.otf | Bin - test/{shaping => shape}/data/aots/fonts/gpos2_2_font2.otf | Bin - test/{shaping => shape}/data/aots/fonts/gpos2_2_font3.otf | Bin - test/{shaping => shape}/data/aots/fonts/gpos2_2_font4.otf | Bin - test/{shaping => shape}/data/aots/fonts/gpos2_2_font5.otf | Bin - test/{shaping => shape}/data/aots/fonts/gpos3_font1.otf | Bin - test/{shaping => shape}/data/aots/fonts/gpos3_font2.otf | Bin - test/{shaping => shape}/data/aots/fonts/gpos3_font3.otf | Bin - .../data/aots/fonts/gpos4_lookupflag_f1.otf | Bin - .../data/aots/fonts/gpos4_lookupflag_f2.otf | Bin - .../data/aots/fonts/gpos4_multiple_anchors_1.otf | Bin - test/{shaping => shape}/data/aots/fonts/gpos4_simple_1.otf | Bin - test/{shaping => shape}/data/aots/fonts/gpos5_font1.otf | Bin - test/{shaping => shape}/data/aots/fonts/gpos6_font1.otf | Bin - test/{shaping => shape}/data/aots/fonts/gpos7_1_font1.otf | Bin - test/{shaping => shape}/data/aots/fonts/gpos9_font1.otf | Bin - test/{shaping => shape}/data/aots/fonts/gpos9_font2.otf | Bin - .../data/aots/fonts/gpos_chaining1_boundary_f1.otf | Bin - .../data/aots/fonts/gpos_chaining1_boundary_f2.otf | Bin - .../data/aots/fonts/gpos_chaining1_boundary_f3.otf | Bin - .../data/aots/fonts/gpos_chaining1_boundary_f4.otf | Bin - .../data/aots/fonts/gpos_chaining1_lookupflag_f1.otf | Bin - .../data/aots/fonts/gpos_chaining1_multiple_subrules_f1.otf | Bin - .../data/aots/fonts/gpos_chaining1_multiple_subrules_f2.otf | Bin - .../data/aots/fonts/gpos_chaining1_next_glyph_f1.otf | Bin - .../data/aots/fonts/gpos_chaining1_simple_f1.otf | Bin - .../data/aots/fonts/gpos_chaining1_simple_f2.otf | Bin - .../data/aots/fonts/gpos_chaining1_successive_f1.otf | Bin - .../data/aots/fonts/gpos_chaining2_boundary_f1.otf | Bin - .../data/aots/fonts/gpos_chaining2_boundary_f2.otf | Bin - .../data/aots/fonts/gpos_chaining2_boundary_f3.otf | Bin - .../data/aots/fonts/gpos_chaining2_boundary_f4.otf | Bin - .../data/aots/fonts/gpos_chaining2_lookupflag_f1.otf | Bin - .../data/aots/fonts/gpos_chaining2_multiple_subrules_f1.otf | Bin - .../data/aots/fonts/gpos_chaining2_multiple_subrules_f2.otf | Bin - .../data/aots/fonts/gpos_chaining2_next_glyph_f1.otf | Bin - .../data/aots/fonts/gpos_chaining2_simple_f1.otf | Bin - .../data/aots/fonts/gpos_chaining2_simple_f2.otf | Bin - .../data/aots/fonts/gpos_chaining2_successive_f1.otf | Bin - .../data/aots/fonts/gpos_chaining3_boundary_f1.otf | Bin - .../data/aots/fonts/gpos_chaining3_boundary_f2.otf | Bin - .../data/aots/fonts/gpos_chaining3_boundary_f3.otf | Bin - .../data/aots/fonts/gpos_chaining3_boundary_f4.otf | Bin - .../data/aots/fonts/gpos_chaining3_lookupflag_f1.otf | Bin - .../data/aots/fonts/gpos_chaining3_next_glyph_f1.otf | Bin - .../data/aots/fonts/gpos_chaining3_simple_f1.otf | Bin - .../data/aots/fonts/gpos_chaining3_simple_f2.otf | Bin - .../data/aots/fonts/gpos_chaining3_successive_f1.otf | Bin - .../data/aots/fonts/gpos_context1_boundary_f1.otf | Bin - .../data/aots/fonts/gpos_context1_boundary_f2.otf | Bin - .../data/aots/fonts/gpos_context1_expansion_f1.otf | Bin - .../data/aots/fonts/gpos_context1_lookupflag_f1.otf | Bin - .../data/aots/fonts/gpos_context1_lookupflag_f2.otf | Bin - .../data/aots/fonts/gpos_context1_multiple_subrules_f1.otf | Bin - .../data/aots/fonts/gpos_context1_multiple_subrules_f2.otf | Bin - .../data/aots/fonts/gpos_context1_next_glyph_f1.otf | Bin - .../data/aots/fonts/gpos_context1_simple_f1.otf | Bin - .../data/aots/fonts/gpos_context1_simple_f2.otf | Bin - .../data/aots/fonts/gpos_context1_successive_f1.otf | Bin - .../data/aots/fonts/gpos_context2_boundary_f1.otf | Bin - .../data/aots/fonts/gpos_context2_boundary_f2.otf | Bin - .../data/aots/fonts/gpos_context2_classes_f1.otf | Bin - .../data/aots/fonts/gpos_context2_classes_f2.otf | Bin - .../data/aots/fonts/gpos_context2_expansion_f1.otf | Bin - .../data/aots/fonts/gpos_context2_lookupflag_f1.otf | Bin - .../data/aots/fonts/gpos_context2_lookupflag_f2.otf | Bin - .../data/aots/fonts/gpos_context2_multiple_subrules_f1.otf | Bin - .../data/aots/fonts/gpos_context2_multiple_subrules_f2.otf | Bin - .../data/aots/fonts/gpos_context2_next_glyph_f1.otf | Bin - .../data/aots/fonts/gpos_context2_simple_f1.otf | Bin - .../data/aots/fonts/gpos_context2_simple_f2.otf | Bin - .../data/aots/fonts/gpos_context2_successive_f1.otf | Bin - .../data/aots/fonts/gpos_context3_boundary_f1.otf | Bin - .../data/aots/fonts/gpos_context3_boundary_f2.otf | Bin - .../data/aots/fonts/gpos_context3_lookupflag_f1.otf | Bin - .../data/aots/fonts/gpos_context3_lookupflag_f2.otf | Bin - .../data/aots/fonts/gpos_context3_next_glyph_f1.otf | Bin - .../data/aots/fonts/gpos_context3_simple_f1.otf | Bin - .../data/aots/fonts/gpos_context3_successive_f1.otf | Bin - .../data/aots/fonts/gsub1_1_lookupflag_f1.otf | Bin - .../data/aots/fonts/gsub1_1_modulo_f1.otf | Bin - .../data/aots/fonts/gsub1_1_simple_f1.otf | Bin - .../data/aots/fonts/gsub1_2_lookupflag_f1.otf | Bin - .../data/aots/fonts/gsub1_2_simple_f1.otf | Bin - .../data/aots/fonts/gsub2_1_lookupflag_f1.otf | Bin - .../data/aots/fonts/gsub2_1_multiple_sequences_f1.otf | Bin - .../data/aots/fonts/gsub2_1_simple_f1.otf | Bin - .../data/aots/fonts/gsub3_1_lookupflag_f1.otf | Bin - .../data/aots/fonts/gsub3_1_multiple_f1.otf | Bin - .../data/aots/fonts/gsub3_1_simple_f1.otf | Bin - .../data/aots/fonts/gsub4_1_lookupflag_f1.otf | Bin - .../data/aots/fonts/gsub4_1_multiple_ligatures_f1.otf | Bin - .../data/aots/fonts/gsub4_1_multiple_ligatures_f2.otf | Bin - .../data/aots/fonts/gsub4_1_multiple_ligsets_f1.otf | Bin - .../data/aots/fonts/gsub4_1_simple_f1.otf | Bin - test/{shaping => shape}/data/aots/fonts/gsub7_font1.otf | Bin - test/{shaping => shape}/data/aots/fonts/gsub7_font2.otf | Bin - .../data/aots/fonts/gsub_chaining1_boundary_f1.otf | Bin - .../data/aots/fonts/gsub_chaining1_boundary_f2.otf | Bin - .../data/aots/fonts/gsub_chaining1_boundary_f3.otf | Bin - .../data/aots/fonts/gsub_chaining1_boundary_f4.otf | Bin - .../data/aots/fonts/gsub_chaining1_lookupflag_f1.otf | Bin - .../data/aots/fonts/gsub_chaining1_multiple_subrules_f1.otf | Bin - .../data/aots/fonts/gsub_chaining1_multiple_subrules_f2.otf | Bin - .../data/aots/fonts/gsub_chaining1_next_glyph_f1.otf | Bin - .../data/aots/fonts/gsub_chaining1_simple_f1.otf | Bin - .../data/aots/fonts/gsub_chaining1_simple_f2.otf | Bin - .../data/aots/fonts/gsub_chaining1_successive_f1.otf | Bin - .../data/aots/fonts/gsub_chaining2_boundary_f1.otf | Bin - .../data/aots/fonts/gsub_chaining2_boundary_f2.otf | Bin - .../data/aots/fonts/gsub_chaining2_boundary_f3.otf | Bin - .../data/aots/fonts/gsub_chaining2_boundary_f4.otf | Bin - .../data/aots/fonts/gsub_chaining2_lookupflag_f1.otf | Bin - .../data/aots/fonts/gsub_chaining2_multiple_subrules_f1.otf | Bin - .../data/aots/fonts/gsub_chaining2_multiple_subrules_f2.otf | Bin - .../data/aots/fonts/gsub_chaining2_next_glyph_f1.otf | Bin - .../data/aots/fonts/gsub_chaining2_simple_f1.otf | Bin - .../data/aots/fonts/gsub_chaining2_simple_f2.otf | Bin - .../data/aots/fonts/gsub_chaining2_successive_f1.otf | Bin - .../data/aots/fonts/gsub_chaining3_boundary_f1.otf | Bin - .../data/aots/fonts/gsub_chaining3_boundary_f2.otf | Bin - .../data/aots/fonts/gsub_chaining3_boundary_f3.otf | Bin - .../data/aots/fonts/gsub_chaining3_boundary_f4.otf | Bin - .../data/aots/fonts/gsub_chaining3_lookupflag_f1.otf | Bin - .../data/aots/fonts/gsub_chaining3_next_glyph_f1.otf | Bin - .../data/aots/fonts/gsub_chaining3_simple_f1.otf | Bin - .../data/aots/fonts/gsub_chaining3_simple_f2.otf | Bin - .../data/aots/fonts/gsub_chaining3_successive_f1.otf | Bin - .../data/aots/fonts/gsub_context1_boundary_f1.otf | Bin - .../data/aots/fonts/gsub_context1_boundary_f2.otf | Bin - .../data/aots/fonts/gsub_context1_expansion_f1.otf | Bin - .../data/aots/fonts/gsub_context1_lookupflag_f1.otf | Bin - .../data/aots/fonts/gsub_context1_lookupflag_f2.otf | Bin - .../data/aots/fonts/gsub_context1_multiple_subrules_f1.otf | Bin - .../data/aots/fonts/gsub_context1_multiple_subrules_f2.otf | Bin - .../data/aots/fonts/gsub_context1_next_glyph_f1.otf | Bin - .../data/aots/fonts/gsub_context1_simple_f1.otf | Bin - .../data/aots/fonts/gsub_context1_simple_f2.otf | Bin - .../data/aots/fonts/gsub_context1_successive_f1.otf | Bin - .../data/aots/fonts/gsub_context2_boundary_f1.otf | Bin - .../data/aots/fonts/gsub_context2_boundary_f2.otf | Bin - .../data/aots/fonts/gsub_context2_classes_f1.otf | Bin - .../data/aots/fonts/gsub_context2_classes_f2.otf | Bin - .../data/aots/fonts/gsub_context2_expansion_f1.otf | Bin - .../data/aots/fonts/gsub_context2_lookupflag_f1.otf | Bin - .../data/aots/fonts/gsub_context2_lookupflag_f2.otf | Bin - .../data/aots/fonts/gsub_context2_multiple_subrules_f1.otf | Bin - .../data/aots/fonts/gsub_context2_multiple_subrules_f2.otf | Bin - .../data/aots/fonts/gsub_context2_next_glyph_f1.otf | Bin - .../data/aots/fonts/gsub_context2_simple_f1.otf | Bin - .../data/aots/fonts/gsub_context2_simple_f2.otf | Bin - .../data/aots/fonts/gsub_context2_successive_f1.otf | Bin - .../data/aots/fonts/gsub_context3_boundary_f1.otf | Bin - .../data/aots/fonts/gsub_context3_boundary_f2.otf | Bin - .../data/aots/fonts/gsub_context3_lookupflag_f1.otf | Bin - .../data/aots/fonts/gsub_context3_lookupflag_f2.otf | Bin - .../data/aots/fonts/gsub_context3_next_glyph_f1.otf | Bin - .../data/aots/fonts/gsub_context3_simple_f1.otf | Bin - .../data/aots/fonts/gsub_context3_successive_f1.otf | Bin - .../data/aots/fonts/lookupflag_ignore_attach_f1.otf | Bin - .../data/aots/fonts/lookupflag_ignore_base_f1.otf | Bin - .../data/aots/fonts/lookupflag_ignore_combination_f1.otf | Bin - .../data/aots/fonts/lookupflag_ignore_ligatures_f1.otf | Bin - .../data/aots/fonts/lookupflag_ignore_marks_f1.otf | Bin - test/{shaping => shape}/data/aots/hb-aots-tester.cpp | 0 - test/{shaping => shape}/data/aots/meson.build | 0 - test/{shaping => shape}/data/aots/tests/classdef1.tests | 0 - .../data/aots/tests/classdef1_empty.tests | 0 - .../data/aots/tests/classdef1_multiple.tests | 0 - .../data/aots/tests/classdef1_single.tests | 0 - test/{shaping => shape}/data/aots/tests/classdef2.tests | 0 - .../data/aots/tests/classdef2_empty.tests | 0 - .../data/aots/tests/classdef2_multiple.tests | 0 - .../data/aots/tests/classdef2_single.tests | 0 - test/{shaping => shape}/data/aots/tests/cmap0.tests | 0 - test/{shaping => shape}/data/aots/tests/cmap10.tests | 0 - test/{shaping => shape}/data/aots/tests/cmap12.tests | 0 - test/{shaping => shape}/data/aots/tests/cmap2.tests | 0 - test/{shaping => shape}/data/aots/tests/cmap4.tests | 0 - test/{shaping => shape}/data/aots/tests/cmap6.tests | 0 - test/{shaping => shape}/data/aots/tests/cmap8.tests | 0 - .../data/aots/tests/gpos1_1_lookupflag.tests | 0 - .../{shaping => shape}/data/aots/tests/gpos1_1_simple.tests | 0 - test/{shaping => shape}/data/aots/tests/gpos1_2.tests | 0 - .../data/aots/tests/gpos1_2_lookupflag.tests | 0 - test/{shaping => shape}/data/aots/tests/gpos2_1.tests | 0 - .../data/aots/tests/gpos2_1_lookupflag.tests | 0 - .../data/aots/tests/gpos2_1_next_glyph.tests | 0 - .../{shaping => shape}/data/aots/tests/gpos2_1_simple.tests | 0 - test/{shaping => shape}/data/aots/tests/gpos2_2.tests | 0 - test/{shaping => shape}/data/aots/tests/gpos3.tests | 0 - .../data/aots/tests/gpos3_lookupflag.tests | 0 - .../data/aots/tests/gpos4_lookupflag.tests | 0 - .../data/aots/tests/gpos4_multiple_anchors.tests | 0 - test/{shaping => shape}/data/aots/tests/gpos4_simple.tests | 0 - test/{shaping => shape}/data/aots/tests/gpos5.tests | 0 - test/{shaping => shape}/data/aots/tests/gpos6.tests | 0 - test/{shaping => shape}/data/aots/tests/gpos7_1.tests | 0 - test/{shaping => shape}/data/aots/tests/gpos9.tests | 0 - .../data/aots/tests/gpos_chaining1_boundary.tests | 0 - .../data/aots/tests/gpos_chaining1_lookupflag.tests | 0 - .../data/aots/tests/gpos_chaining1_multiple_subrules.tests | 0 - .../data/aots/tests/gpos_chaining1_next_glyph.tests | 0 - .../data/aots/tests/gpos_chaining1_simple.tests | 0 - .../data/aots/tests/gpos_chaining1_successive.tests | 0 - .../data/aots/tests/gpos_chaining2_boundary.tests | 0 - .../data/aots/tests/gpos_chaining2_lookupflag.tests | 0 - .../data/aots/tests/gpos_chaining2_multiple_subrules.tests | 0 - .../data/aots/tests/gpos_chaining2_next_glyph.tests | 0 - .../data/aots/tests/gpos_chaining2_simple.tests | 0 - .../data/aots/tests/gpos_chaining2_successive.tests | 0 - .../data/aots/tests/gpos_chaining3_boundary.tests | 0 - .../data/aots/tests/gpos_chaining3_lookupflag.tests | 0 - .../data/aots/tests/gpos_chaining3_next_glyph.tests | 0 - .../data/aots/tests/gpos_chaining3_simple.tests | 0 - .../data/aots/tests/gpos_chaining3_successive.tests | 0 - .../data/aots/tests/gpos_context1_boundary.tests | 0 - .../data/aots/tests/gpos_context1_expansion.tests | 0 - .../data/aots/tests/gpos_context1_lookupflag.tests | 0 - .../data/aots/tests/gpos_context1_multiple_subrules.tests | 0 - .../data/aots/tests/gpos_context1_next_glyph.tests | 0 - .../data/aots/tests/gpos_context1_simple.tests | 0 - .../data/aots/tests/gpos_context1_successive.tests | 0 - .../data/aots/tests/gpos_context2_boundary.tests | 0 - .../data/aots/tests/gpos_context2_classes.tests | 0 - .../data/aots/tests/gpos_context2_expansion.tests | 0 - .../data/aots/tests/gpos_context2_lookupflag.tests | 0 - .../data/aots/tests/gpos_context2_multiple_subrules.tests | 0 - .../data/aots/tests/gpos_context2_next_glyph.tests | 0 - .../data/aots/tests/gpos_context2_simple.tests | 0 - .../data/aots/tests/gpos_context2_successive.tests | 0 - .../data/aots/tests/gpos_context3_boundary.tests | 0 - .../data/aots/tests/gpos_context3_lookupflag.tests | 0 - .../data/aots/tests/gpos_context3_next_glyph.tests | 0 - .../data/aots/tests/gpos_context3_simple.tests | 0 - .../data/aots/tests/gpos_context3_successive.tests | 0 - .../data/aots/tests/gsub1_1_lookupflag.tests | 0 - .../{shaping => shape}/data/aots/tests/gsub1_1_modulo.tests | 0 - .../{shaping => shape}/data/aots/tests/gsub1_1_simple.tests | 0 - .../data/aots/tests/gsub1_2_lookupflag.tests | 0 - .../{shaping => shape}/data/aots/tests/gsub1_2_simple.tests | 0 - .../data/aots/tests/gsub2_1_lookupflag.tests | 0 - .../data/aots/tests/gsub2_1_multiple_sequences.tests | 0 - .../{shaping => shape}/data/aots/tests/gsub2_1_simple.tests | 0 - .../data/aots/tests/gsub3_1_lookupflag.tests | 0 - .../data/aots/tests/gsub3_1_multiple.tests | 0 - .../{shaping => shape}/data/aots/tests/gsub3_1_simple.tests | 0 - .../data/aots/tests/gsub4_1_lookupflag.tests | 0 - .../data/aots/tests/gsub4_1_multiple_ligatures.tests | 0 - .../data/aots/tests/gsub4_1_multiple_ligsets.tests | 0 - .../{shaping => shape}/data/aots/tests/gsub4_1_simple.tests | 0 - test/{shaping => shape}/data/aots/tests/gsub7.tests | 0 - .../data/aots/tests/gsub_chaining1_boundary.tests | 0 - .../data/aots/tests/gsub_chaining1_lookupflag.tests | 0 - .../data/aots/tests/gsub_chaining1_multiple_subrules.tests | 0 - .../data/aots/tests/gsub_chaining1_next_glyph.tests | 0 - .../data/aots/tests/gsub_chaining1_simple.tests | 0 - .../data/aots/tests/gsub_chaining1_successive.tests | 0 - .../data/aots/tests/gsub_chaining2_boundary.tests | 0 - .../data/aots/tests/gsub_chaining2_lookupflag.tests | 0 - .../data/aots/tests/gsub_chaining2_multiple_subrules.tests | 0 - .../data/aots/tests/gsub_chaining2_next_glyph.tests | 0 - .../data/aots/tests/gsub_chaining2_simple.tests | 0 - .../data/aots/tests/gsub_chaining2_successive.tests | 0 - .../data/aots/tests/gsub_chaining3_boundary.tests | 0 - .../data/aots/tests/gsub_chaining3_lookupflag.tests | 0 - .../data/aots/tests/gsub_chaining3_next_glyph.tests | 0 - .../data/aots/tests/gsub_chaining3_simple.tests | 0 - .../data/aots/tests/gsub_chaining3_successive.tests | 0 - .../data/aots/tests/gsub_context1_boundary.tests | 0 - .../data/aots/tests/gsub_context1_expansion.tests | 0 - .../data/aots/tests/gsub_context1_lookupflag.tests | 0 - .../data/aots/tests/gsub_context1_multiple_subrules.tests | 0 - .../data/aots/tests/gsub_context1_next_glyph.tests | 0 - .../data/aots/tests/gsub_context1_simple.tests | 0 - .../data/aots/tests/gsub_context1_successive.tests | 0 - .../data/aots/tests/gsub_context2_boundary.tests | 0 - .../data/aots/tests/gsub_context2_classes.tests | 0 - .../data/aots/tests/gsub_context2_expansion.tests | 0 - .../data/aots/tests/gsub_context2_lookupflag.tests | 0 - .../data/aots/tests/gsub_context2_multiple_subrules.tests | 0 - .../data/aots/tests/gsub_context2_next_glyph.tests | 0 - .../data/aots/tests/gsub_context2_simple.tests | 0 - .../data/aots/tests/gsub_context2_successive.tests | 0 - .../data/aots/tests/gsub_context3_boundary.tests | 0 - .../data/aots/tests/gsub_context3_lookupflag.tests | 0 - .../data/aots/tests/gsub_context3_next_glyph.tests | 0 - .../data/aots/tests/gsub_context3_simple.tests | 0 - .../data/aots/tests/gsub_context3_successive.tests | 0 - .../data/aots/tests/lookupflag_ignore_attach.tests | 0 - .../data/aots/tests/lookupflag_ignore_base.tests | 0 - .../data/aots/tests/lookupflag_ignore_combination.tests | 0 - .../data/aots/tests/lookupflag_ignore_ligatures.tests | 0 - .../data/aots/tests/lookupflag_ignore_marks.tests | 0 - test/{shaping => shape}/data/aots/update.py | 0 - test/{shaping => shape}/data/in-house/COPYING | 0 - test/{shaping => shape}/data/in-house/Makefile.am | 0 - test/{shaping => shape}/data/in-house/Makefile.sources | 0 - .../fonts/03e3f463c3a985bc42096620cc415342818454fb.ttf | Bin - .../fonts/051d92f8bc6ff724511b296c27623f824de256e9.ttf | Bin - .../fonts/065b01e54f35f0d849fd43bd5b936212739a50cb.ttf | Bin - .../fonts/074a5ae6b19de8f29772fdd5df2d3d833f81f5e6.ttf | Bin - .../fonts/07f054357ff8638bac3711b422a1e31180bba863.ttf | Bin - .../fonts/08b4b136f418add748dc641eb4a83033476f1170.ttf | Bin - .../fonts/15dfc433a135a658b9f4b1a861b5cdd9658ccbb9.ttf | Bin - .../fonts/1735326da89f0818cd8c51a0600e9789812c0f94.ttf | Bin - .../fonts/191826b9643e3f124d865d617ae609db6a2ce203.ttf | Bin - .../fonts/1a3d8f381387dd29be1e897e4b5100ac8b4829e1.ttf | Bin - .../fonts/1a5face3fcbd929d228235c2f72bbd6f8eb37424.ttf | Bin - .../fonts/1c04a16f32a39c26c851b7fc014d2e8d298ba2b8.ttf | Bin - .../fonts/1c2c3fc37b2d4c3cb2ef726c6cdaaabd4b7f3eb9.ttf | Bin - .../fonts/1c2fb74c1b2aa173262734c1f616148f1648cfd6.ttf | Bin - .../fonts/1ed7e9064f008f62de6ff0207bb4dd29409597a5.ttf | Bin - .../fonts/21b7fb9c1eeae260473809fbc1fe330f66a507cd.ttf | Bin - .../fonts/226bc2deab3846f1a682085f70c67d0421014144.ttf | Bin - .../fonts/24b8d24d00ae86f49791b746da4c9d3f717a51a8.ttf | Bin - .../fonts/2681c1c72d6484ed3410417f521b1b819b4e2392.ttf | Bin - .../fonts/270b89df543a7e48e206a2d830c0e10e5265c630.ttf | Bin - .../fonts/28f497629c04ceb15546c9a70e0730125ed6698d.ttf | Bin - .../fonts/298c9e1d955f10f6f72c6915c3c6ff9bf9695cec.ttf | Bin - .../fonts/2a670df15b73a5dc75a5cc491bde5ac93c5077dc.ttf | Bin - .../fonts/2c25beb56d9c556622d56b0b5d02b4670c034f89.ttf | Bin - .../fonts/2de1ab4907ab688c0cfc236b0bf51151db38bf2e.ttf | Bin - .../fonts/341421e629668b1a1242245d39238ca48432d35d.ttf | Bin - .../fonts/3493e92eaded2661cadde752a39f9d58b11f0326.ttf | Bin - .../fonts/37033cc5cf37bb223d7355153016b6ccece93b28.ttf | Bin - .../fonts/373e67bf41ca264e260a9716162b71a23549e885.ttf | Bin - .../fonts/3998336402905b8be8301ef7f47cf7e050cbb1bd.ttf | Bin - .../fonts/3b791518a9ba89675df02f1eefbc9026a50648a6.ttf | Bin - .../fonts/3c96e7a303c58475a8c750bf4289bbe73784f37d.ttf | Bin - .../fonts/3cae6bfe5b57c07ba81ddbd54c02fe4f3a1e3bf6.ttf | Bin - .../fonts/3cc01fede4debd4b7794ccb1b16cdb9987ea7571.ttf | Bin - .../fonts/3cf6f8ac6d647473a43a3100e7494b202b2cfafe.ttf | Bin - .../fonts/3d0b77a2360aa6faa1385aaa510509ab70dfbeff.ttf | Bin - .../fonts/43ef465752be9af900745f72fe29cb853a1401a5.ttf | Bin - .../fonts/45855bc8d46332b39c4ab9e2ee1a26b1f896da6b.ttf | Bin - .../fonts/46669c8860cbfea13562a6ca0d83130ee571137b.ttf | Bin - .../fonts/49c9f7485c1392fa09a1b801bc2ffea79275f22e.ttf | Bin - .../fonts/4afb0e8b9a86bb9bd73a1247de4e33fbe3c1fd93.ttf | Bin - .../fonts/4cbbc461be066fccc611dcc634af6e8cb2705537.ttf | Bin - .../fonts/4cce528e99f600ed9c25a2b69e32eb94a03b4ae8.ttf | Bin - .../fonts/4d4206e30b2dbf1c1ef492a8eae1c9e7829ebad8.ttf | Bin - .../fonts/4fac3929fc3332834e93673780ec0fe94342d193.ttf | Bin - .../fonts/5028afb650b1bb718ed2131e872fbcce57828fff.ttf | Bin - .../fonts/53374c7ca3657be37efde7ed02ae34229a56ae1f.ttf | Bin - .../fonts/53a91c20e33a596f2be17fb68b382d6b7eb85d5c.ttf | Bin - .../fonts/54674a3111d209fb6be0ed31745314b7a8d2c244.ttf | Bin - .../fonts/55c88ebbe938680b08f92c3de20713183e0c7481.ttf | Bin - .../fonts/56cfd0e18d07f41c38e9598545a6d369127fc6f9.ttf | Bin - .../fonts/573d3a3177c9a8646e94c8a0d7b224334340946a.ttf | Bin - .../fonts/57a9d9f83020155cbb1d2be1f43d82388cbecc88.ttf | Bin - .../fonts/59a585a63b3df608fbeef00956c8c108deec7de6.ttf | Bin - .../fonts/5af5361ed4d1e8305780b100e1730cb09132f8d1.ttf | Bin - .../fonts/5bb74492f5e0ffa1fbb72e4c881be035120b6513.ttf | Bin - .../fonts/5dfad7735c6a67085f1b90d4d497e32907db4c78.ttf | Bin - .../fonts/604026ae5aaca83c49cd8416909d71ba3e1c1194.ttf | Bin - .../fonts/641ca9d7808b01cafa9a666c13811c9b56eb9c52.ttf | Bin - .../fonts/663aef6b019dbf45ffd74089e2b5f2496ceceb18.ttf | Bin - .../fonts/6677074106f94a2644da6aaaacd5bbd48cbdc7de.ttf | Bin - .../fonts/6991b13ce889466be6de3f66e891de2bc0f117ee.ttf | Bin - .../fonts/6f36d056bad6d478fc0bf7397bd52dc3bd197d5f.ttf | Bin - .../fonts/6ff0fbead4462d9f229167b4e6839eceb8465058.ttf | Bin - .../fonts/706c5d7b625f207bc0d874c67237aad6f1e9cd6f.ttf | Bin - .../fonts/738d9f3b8c2dfd03875bf35a61d28fd78faf17c8.ttf | Bin - .../fonts/73e84dac2fc6a2d1bc9250d1414353661088937d.ttf | Bin - .../fonts/757ebd573617a24aa9dfbf0b885c54875c6fe06b.ttf | Bin - .../fonts/7a37dc4d5bf018456aea291cee06daf004c0221c.ttf | Bin - .../fonts/7d18685e1529e4ceaad5b6095dfab2f9789e5bce.ttf | Bin - .../fonts/7e14e7883ed152baa158b80e207b66114c823a8b.ttf | Bin - .../fonts/8099955657a54e9ee38a6ba1d6f950ce58e3cc25.ttf | Bin - .../fonts/8116e5d8fedfbec74e45dc350d2416d810bed8c4.ttf | Bin - .../fonts/813c2f8e5512187fd982417a7fb4286728e6f4a8.ttf | Bin - .../fonts/81c368a33816fb20e9f647e8f24e2180f4720263.ttf | Bin - .../fonts/8228d035fcd65d62ec9728fb34f42c63be93a5d3.ttf | Bin - .../fonts/82f4f3b57bb55344e72e70231380202a52af5805.ttf | Bin - .../fonts/8454d22037f892e76614e1645d066689a0200e61.ttf | Bin - .../fonts/85414f2552b654585b7a8d13dcc3e8fd9f7970a3.ttf | Bin - .../fonts/856ff9562451293cbeff6f396d4e3877c4f0a436.ttf | Bin - .../fonts/85fe0be440c64ac77699e21c2f1bd933a919167e.ttf | Bin - .../fonts/86cdd983c4e4c4d7f27dd405d6ceb7d4b9ed3d35.ttf | Bin - .../fonts/87f85d17d26f1fe9ad28d7365101958edaefb967.ttf | Bin - .../fonts/881642af1667ae30a54e58de8be904566d00508f.ttf | Bin - .../fonts/8a9fea2a7384f2116e5b84a9b31f83be7850ce21.ttf | Bin - .../fonts/8d9c4b193808b8bde94389ba7831c1fc6f9e794e.ttf | Bin - .../fonts/932ad5132c2761297c74e9976fe25b08e5ffa10b.ttf | Bin - .../fonts/94a5d6fb15a27521fba9ea4aee9cb39b2d03322a.ttf | Bin - .../fonts/96490dd2ff81233b335a650e7eb660e0e7b2eeea.ttf | Bin - .../fonts/98b7887cff91f722b92a8ff800120954606354f9.ttf | Bin - .../fonts/9fc3e6960b3520e5304033ef5fd540285f72f14d.ttf | Bin - test/{shaping => shape}/data/in-house/fonts/AdobeBlank2.ttf | Bin - test/{shaping => shape}/data/in-house/fonts/DFONT.dfont | Bin - test/{shaping => shape}/data/in-house/fonts/HBTest-VF.ttf | Bin - .../data/in-house/fonts/MORXTwentyeight.ttf | Bin - test/{shaping => shape}/data/in-house/fonts/TRAK.ttf | Bin - test/{shaping => shape}/data/in-house/fonts/TTC.ttc | Bin - .../fonts/a014549f766436cf55b2ceb40e462038938ee899.ttf | Bin - .../fonts/a02a7f0ad42c2922cb37ad1358c9df4eb81f1bca.ttf | Bin - .../fonts/a34a7b00f22ffb5fd7eef6933b81c7e71bc2cdfb.ttf | Bin - .../fonts/a6b17da98b9f1565ba428719777bbf94a66403c1.ttf | Bin - .../fonts/a6c76d1bafde4a0b1026ebcc932d2e5c6fd02442.ttf | Bin - .../fonts/a706511c65fb278fda87eaf2180ca6684a80f423.ttf | Bin - .../fonts/a919b33197965846f21074b24e30250d67277bce.ttf | Bin - .../fonts/a98e908e2ed21b22228ea59ebcc0f05034c86f2e.ttf | Bin - .../fonts/ab14b4eb9d7a67e293f51d30d719add06c9d6e06.ttf | Bin - .../fonts/ab40c89624a6104e5d0a2308e448a989302f515b.ttf | Bin - .../fonts/ad01ab2ea1cb1a4d3a2783e2675112ef11ae6404.ttf | Bin - .../fonts/af3086380b743099c54a3b11b96766039ea62fcd.ttf | Bin - .../fonts/af85624080af5627fb050f570d148a62f04fda74.ttf | Bin - .../fonts/b082211be29a3e2cf91f0fd43497e40b2a27b344.ttf | Bin - .../fonts/b121d4306b2e3add5abbaad21d95fcf04aacbd64.ttf | Bin - .../fonts/b151cfcdaa77585d77f17a42158e0873fc8e2633.ttf | Bin - .../fonts/b3075ca42b27dde7341c2d0ae16703c5b6640df0.ttf | Bin - .../fonts/b31e6c52a31edadc16f1bec9efe6019e2d59824a.ttf | Bin - .../fonts/b6031119874ae9ff1dd65383a335e361c0962220.ttf | Bin - .../fonts/b722a7d09e60421f3efbc706ad348ab47b88567b.ttf | Bin - .../fonts/bb0c53752e85c3d28973ebc913287b8987d3dfe8.ttf | Bin - .../fonts/bb9473d2403488714043bcfb946c9f78b86ad627.ttf | Bin - .../fonts/bf39b0e91ef9807f15a9e283a21a14a209fd2cfc.ttf | Bin - .../fonts/bf962d3202883a820aed019d9b5c1838c2ff69c6.ttf | Bin - .../fonts/c4e48b0886ef460f532fb49f00047ec92c432ec0.ttf | Bin - .../fonts/cc5f3d2d717fb6bd4dfae1c16d48a2cb8e12233b.ttf | Bin - .../fonts/d23d76ea0909c14972796937ba072b5a40c1e257.ttf | Bin - .../fonts/d3129450fafe5e5c98cfc25a4e71809b1b4d2855.ttf | Bin - .../fonts/d629e7fedc0b350222d7987345fe61613fa3929a.ttf | Bin - .../fonts/d9b8bc10985f24796826c29f7ccba3d0ae11ec02.ttf | Bin - .../fonts/dcf774ca21062e7439f98658b18974ea8b956d0c.ttf | Bin - .../fonts/df768b9c257e0c9c35786c47cae15c46571d56be.ttf | Bin - .../fonts/e207635780b42f898d58654b65098763e340f5c7.ttf | Bin - .../fonts/e39391c77a6321c2ac7a2d644de0396470cd4bfe.ttf | Bin - .../fonts/e5ff44940364c2247abed50bdda30d2ef5aedfe4.ttf | Bin - .../fonts/e68a88939e0f06e34d2bc911f09b70890289c8fd.ttf | Bin - .../fonts/e8691822f6a705e3e9fb48a0405c645b1a036590.ttf | Bin - .../fonts/ea3f63620511b2097200d23774ffef197e829e69.ttf | Bin - .../fonts/ee39587d13b2afa5499cc79e45780aa79293bbd4.ttf | Bin - .../fonts/ef86fe710cfea877bbe0dbb6946a1f88d0661031.ttf | Bin - .../fonts/f22416c692720a7d46fadf4af99f4c9e094f00b9.ttf | Bin - .../fonts/f443753e8ffe8e8aae606cfba158e00334b6efb1.ttf | Bin - .../fonts/f499fbc23865022234775c43503bba2e63978fe1.ttf | Bin - .../fonts/f518eb6f6b5eec2946c9fbbbde44e45d46f5e2ac.ttf | Bin - .../fonts/f75c4b05a0a4d67c1a808081ae3d74a9c66509e8.ttf | Bin - .../fonts/f79eb71df4e4c9c273b67b89a06e5ff9e3c1f834.ttf | Bin - .../fonts/f9b1dd4dcb515e757789a22cb4241107746fd3d0.ttf | Bin - .../fonts/fbb6c84c9e1fe0c39e152fbe845e51fd81f6748e.ttf | Bin - .../fonts/fcbaa518d3cce441ed37ae3b1fed6a19e9b54efd.ttf | Bin - .../fonts/fcdcffbdf1c4c97c05308d7600e4c283eb47dbca.ttf | Bin - .../fonts/fcea341ba6489536390384d8403ce5287ba71a4a.ttf | Bin - .../fonts/fd07ea46e4d8368ada1776208c07fd596f727852.ttf | Bin - .../fonts/ffa0f5d2d9025486d8469d8b1fdd983e7632499b.ttf | Bin - test/{shaping => shape}/data/in-house/meson.build | 0 - test/{shaping => shape}/data/in-house/tests/aat-morx.tests | 0 - test/{shaping => shape}/data/in-house/tests/aat-trak.tests | 0 - .../data/in-house/tests/arabic-fallback-shaping.tests | 0 - .../data/in-house/tests/arabic-feature-order.tests | 0 - .../data/in-house/tests/arabic-like-joining.tests | 0 - .../data/in-house/tests/arabic-mark-attach.tests | 0 - .../data/in-house/tests/arabic-mark-order.tests | 0 - .../data/in-house/tests/arabic-stch.tests | 0 - .../data/in-house/tests/automatic-fractions.tests | 0 - test/{shaping => shape}/data/in-house/tests/cluster.tests | 0 - .../data/in-house/tests/collections.tests | 0 - .../data/in-house/tests/color-fonts.tests | 0 - .../data/in-house/tests/context-matching.tests | 0 - .../data/in-house/tests/cursive-positioning.tests | 0 - .../data/in-house/tests/default-ignorables.tests | 0 - test/{shaping => shape}/data/in-house/tests/digits.tests | 0 - .../data/in-house/tests/emoji-clusters.tests | 0 - test/{shaping => shape}/data/in-house/tests/emoji.tests | 0 - .../data/in-house/tests/fallback-positioning.tests | 0 - .../data/in-house/tests/hangul-jamo.tests | 0 - test/{shaping => shape}/data/in-house/tests/hyphens.tests | 0 - .../data/in-house/tests/indic-consonant-with-stacker.tests | 0 - .../data/in-house/tests/indic-decompose.tests | 0 - .../{shaping => shape}/data/in-house/tests/indic-init.tests | 0 - .../data/in-house/tests/indic-joiner-candrabindu.tests | 0 - .../data/in-house/tests/indic-joiners.tests | 0 - .../data/in-house/tests/indic-old-spec.tests | 0 - .../data/in-house/tests/indic-pref-blocking.tests | 0 - .../data/in-house/tests/indic-script-extensions.tests | 0 - .../data/in-house/tests/indic-special-cases.tests | 0 - .../data/in-house/tests/indic-syllable.tests | 0 - .../data/in-house/tests/indic-vowel-letter-spoofing.tests | 0 - .../data/in-house/tests/kern-format2.tests | 0 - .../data/in-house/tests/khmer-mark-order.tests | 0 - .../{shaping => shape}/data/in-house/tests/khmer-misc.tests | 0 - .../data/in-house/tests/language-tags.tests | 0 - .../data/in-house/tests/ligature-id.tests | 0 - test/{shaping => shape}/data/in-house/tests/macos.tests | 0 - .../data/in-house/tests/mark-attachment.tests | 0 - .../data/in-house/tests/mark-filtering-sets.tests | 0 - .../data/in-house/tests/mongolian-variation-selector.tests | 0 - .../data/in-house/tests/myanmar-misc.tests | 0 - .../data/in-house/tests/myanmar-syllable.tests | 0 - .../data/in-house/tests/myanmar-zawgyi.tests | 0 - .../data/in-house/tests/none-directional.tests | 0 - .../data/in-house/tests/positioning-features.tests | 0 - test/{shaping => shape}/data/in-house/tests/rand.tests | 0 - .../data/in-house/tests/reverse-sub.tests | 0 - test/{shaping => shape}/data/in-house/tests/rotation.tests | 0 - test/{shaping => shape}/data/in-house/tests/simple.tests | 0 - test/{shaping => shape}/data/in-house/tests/sinhala.tests | 0 - test/{shaping => shape}/data/in-house/tests/spaces.tests | 0 - .../data/in-house/tests/tibetan-contractions-1.tests | 0 - .../data/in-house/tests/tibetan-contractions-2.tests | 0 - .../data/in-house/tests/tibetan-vowels.tests | 0 - .../data/in-house/tests/tt-kern-gpos.tests | 0 - .../{shaping => shape}/data/in-house/tests/use-indic3.tests | 0 - .../data/in-house/tests/use-marchen.tests | 0 - .../data/in-house/tests/use-syllable.tests | 0 - .../data/in-house/tests/use-vowel-letter-spoofing.tests | 0 - test/{shaping => shape}/data/in-house/tests/use.tests | 0 - .../data/in-house/tests/variations-rvrn.tests | 0 - .../{shaping => shape}/data/in-house/tests/variations.tests | 0 - test/{shaping => shape}/data/in-house/tests/vertical.tests | 0 - .../data/in-house/tests/zero-width-marks.tests | 0 - test/{shaping => shape}/data/text-rendering-tests/COPYING | 0 - test/{shaping => shape}/data/text-rendering-tests/DISABLED | 0 - .../data/text-rendering-tests/Makefile.am | 0 - .../data/text-rendering-tests/Makefile.sources | 0 - test/{shaping => shape}/data/text-rendering-tests/README | 0 - .../text-rendering-tests/fonts/AdobeVFPrototype-Subset.otf | Bin - .../data/text-rendering-tests/fonts/FDArrayTest257.otf | Bin - .../data/text-rendering-tests/fonts/FDArrayTest65535.otf | Bin - .../text-rendering-tests/fonts/NotoSansBalinese-Regular.ttf | Bin - .../text-rendering-tests/fonts/NotoSansKannada-Regular.ttf | Bin - .../text-rendering-tests/fonts/NotoSerifKannada-Regular.ttf | Bin - .../data/text-rendering-tests/fonts/Selawik-README.md | 0 - .../data/text-rendering-tests/fonts/Selawik-variable.ttf | Bin - .../data/text-rendering-tests/fonts/TestAVAR.ttf | Bin - .../data/text-rendering-tests/fonts/TestCMAP14.otf | Bin - .../data/text-rendering-tests/fonts/TestCMAPMacTurkish.ttf | Bin - .../data/text-rendering-tests/fonts/TestCVARGVAROne.ttf | Bin - .../data/text-rendering-tests/fonts/TestCVARGVARTwo.ttf | Bin - .../data/text-rendering-tests/fonts/TestGLYFOne.ttf | Bin - .../data/text-rendering-tests/fonts/TestGPOSFour.ttf | Bin - .../data/text-rendering-tests/fonts/TestGPOSOne.ttf | Bin - .../data/text-rendering-tests/fonts/TestGPOSThree.ttf | Bin - .../data/text-rendering-tests/fonts/TestGPOSTwo.otf | Bin - .../data/text-rendering-tests/fonts/TestGSUBOne.otf | Bin - .../data/text-rendering-tests/fonts/TestGSUBThree.ttf | Bin - .../text-rendering-tests/fonts/TestGVAR-Composite-0.ttf | Bin - .../fonts/TestGVAR-Composite-Missing.ttf | Bin - .../data/text-rendering-tests/fonts/TestGVAREight.ttf | Bin - .../data/text-rendering-tests/fonts/TestGVARFour.ttf | Bin - .../data/text-rendering-tests/fonts/TestGVARNine.ttf | Bin - .../data/text-rendering-tests/fonts/TestGVAROne.ttf | Bin - .../data/text-rendering-tests/fonts/TestGVARThree.ttf | Bin - .../data/text-rendering-tests/fonts/TestGVARTwo.ttf | Bin - .../data/text-rendering-tests/fonts/TestHVAROne.otf | Bin - .../data/text-rendering-tests/fonts/TestHVARTwo.ttf | Bin - .../data/text-rendering-tests/fonts/TestKERNOne.otf | Bin - .../data/text-rendering-tests/fonts/TestMORXEight.ttf | Bin - .../data/text-rendering-tests/fonts/TestMORXEighteen.ttf | Bin - .../data/text-rendering-tests/fonts/TestMORXEleven.ttf | Bin - .../data/text-rendering-tests/fonts/TestMORXForty.ttf | Bin - .../data/text-rendering-tests/fonts/TestMORXFour.ttf | Bin - .../data/text-rendering-tests/fonts/TestMORXFourteen.ttf | Bin - .../data/text-rendering-tests/fonts/TestMORXFourtyone.ttf | Bin - .../data/text-rendering-tests/fonts/TestMORXNine.ttf | Bin - .../data/text-rendering-tests/fonts/TestMORXOne.ttf | Bin - .../data/text-rendering-tests/fonts/TestMORXSeventeen.ttf | Bin - .../data/text-rendering-tests/fonts/TestMORXSixteen.ttf | Bin - .../data/text-rendering-tests/fonts/TestMORXTen.ttf | Bin - .../data/text-rendering-tests/fonts/TestMORXThirteen.ttf | Bin - .../data/text-rendering-tests/fonts/TestMORXThirtyeight.ttf | Bin - .../data/text-rendering-tests/fonts/TestMORXThirtyfive.ttf | Bin - .../data/text-rendering-tests/fonts/TestMORXThirtyfour.ttf | Bin - .../data/text-rendering-tests/fonts/TestMORXThirtynine.ttf | Bin - .../data/text-rendering-tests/fonts/TestMORXThirtyone.ttf | Bin - .../data/text-rendering-tests/fonts/TestMORXThirtyseven.ttf | Bin - .../data/text-rendering-tests/fonts/TestMORXThirtysix.ttf | Bin - .../data/text-rendering-tests/fonts/TestMORXThirtythree.ttf | Bin - .../data/text-rendering-tests/fonts/TestMORXThirtytwo.ttf | Bin - .../data/text-rendering-tests/fonts/TestMORXThree.ttf | Bin - .../data/text-rendering-tests/fonts/TestMORXTwelve.ttf | Bin - .../data/text-rendering-tests/fonts/TestMORXTwenty.ttf | Bin - .../data/text-rendering-tests/fonts/TestMORXTwentyeight.ttf | Bin - .../data/text-rendering-tests/fonts/TestMORXTwentyfive.ttf | Bin - .../data/text-rendering-tests/fonts/TestMORXTwentyfour.ttf | Bin - .../data/text-rendering-tests/fonts/TestMORXTwentynine.ttf | Bin - .../data/text-rendering-tests/fonts/TestMORXTwentyone.ttf | Bin - .../data/text-rendering-tests/fonts/TestMORXTwentyseven.ttf | Bin - .../data/text-rendering-tests/fonts/TestMORXTwentysix.ttf | Bin - .../data/text-rendering-tests/fonts/TestMORXTwentythree.ttf | Bin - .../data/text-rendering-tests/fonts/TestMORXTwentytwo.ttf | Bin - .../data/text-rendering-tests/fonts/TestMORXTwo.ttf | Bin - .../data/text-rendering-tests/fonts/TestSFNTOne.otf | Bin - .../data/text-rendering-tests/fonts/TestSFNTTwo.ttf | Bin - .../text-rendering-tests/fonts/TestSVGgradientTransform.otf | Bin - .../data/text-rendering-tests/fonts/TestSVGgzip.otf | Bin - .../data/text-rendering-tests/fonts/TestSVGmultiGlyphs.otf | Bin - .../data/text-rendering-tests/fonts/TestShapeAran.ttf | Bin - .../data/text-rendering-tests/fonts/TestShapeEthi.ttf | Bin - .../data/text-rendering-tests/fonts/TestShapeKndaV3.ttf | Bin - .../data/text-rendering-tests/fonts/TestShapeLana.ttf | Bin - .../data/text-rendering-tests/fonts/TestTRAKOne.ttf | Bin - .../data/text-rendering-tests/fonts/Zycon.ttf | Bin - .../data/text-rendering-tests/meson.build | 0 - .../data/text-rendering-tests/tests/AVAR-1.tests | 0 - .../data/text-rendering-tests/tests/CFF-1.tests | 0 - .../data/text-rendering-tests/tests/CFF-2.tests | 0 - .../data/text-rendering-tests/tests/CFF2-1.tests | 0 - .../data/text-rendering-tests/tests/CMAP-1.tests | 0 - .../data/text-rendering-tests/tests/CMAP-2.tests | 0 - .../data/text-rendering-tests/tests/CMAP-3.tests | 0 - .../data/text-rendering-tests/tests/CVAR-1.tests | 0 - .../data/text-rendering-tests/tests/CVAR-2.tests | 0 - .../data/text-rendering-tests/tests/GLYF-1.tests | 0 - .../data/text-rendering-tests/tests/GPOS-1.tests | 0 - .../data/text-rendering-tests/tests/GPOS-2.tests | 0 - .../data/text-rendering-tests/tests/GPOS-3.tests | 0 - .../data/text-rendering-tests/tests/GPOS-4.tests | 0 - .../data/text-rendering-tests/tests/GPOS-5.tests | 0 - .../data/text-rendering-tests/tests/GSUB-1.tests | 0 - .../data/text-rendering-tests/tests/GSUB-2.tests | 0 - .../data/text-rendering-tests/tests/GSUB-3.tests | 0 - .../data/text-rendering-tests/tests/GVAR-1.tests | 0 - .../data/text-rendering-tests/tests/GVAR-2.tests | 0 - .../data/text-rendering-tests/tests/GVAR-3.tests | 0 - .../data/text-rendering-tests/tests/GVAR-4.tests | 0 - .../data/text-rendering-tests/tests/GVAR-5.tests | 0 - .../data/text-rendering-tests/tests/GVAR-6.tests | 0 - .../data/text-rendering-tests/tests/GVAR-7.tests | 0 - .../data/text-rendering-tests/tests/GVAR-8.tests | 0 - .../data/text-rendering-tests/tests/GVAR-9.tests | 0 - .../data/text-rendering-tests/tests/HVAR-1.tests | 0 - .../data/text-rendering-tests/tests/HVAR-2.tests | 0 - .../data/text-rendering-tests/tests/KERN-1.tests | 0 - .../data/text-rendering-tests/tests/KERN-2.tests | 0 - .../data/text-rendering-tests/tests/MORX-1.tests | 0 - .../data/text-rendering-tests/tests/MORX-10.tests | 0 - .../data/text-rendering-tests/tests/MORX-11.tests | 0 - .../data/text-rendering-tests/tests/MORX-12.tests | 0 - .../data/text-rendering-tests/tests/MORX-13.tests | 0 - .../data/text-rendering-tests/tests/MORX-14.tests | 0 - .../data/text-rendering-tests/tests/MORX-16.tests | 0 - .../data/text-rendering-tests/tests/MORX-17.tests | 0 - .../data/text-rendering-tests/tests/MORX-18.tests | 0 - .../data/text-rendering-tests/tests/MORX-19.tests | 0 - .../data/text-rendering-tests/tests/MORX-2.tests | 0 - .../data/text-rendering-tests/tests/MORX-20.tests | 0 - .../data/text-rendering-tests/tests/MORX-21.tests | 0 - .../data/text-rendering-tests/tests/MORX-22.tests | 0 - .../data/text-rendering-tests/tests/MORX-23.tests | 0 - .../data/text-rendering-tests/tests/MORX-24.tests | 0 - .../data/text-rendering-tests/tests/MORX-25.tests | 0 - .../data/text-rendering-tests/tests/MORX-26.tests | 0 - .../data/text-rendering-tests/tests/MORX-27.tests | 0 - .../data/text-rendering-tests/tests/MORX-28.tests | 0 - .../data/text-rendering-tests/tests/MORX-29.tests | 0 - .../data/text-rendering-tests/tests/MORX-3.tests | 0 - .../data/text-rendering-tests/tests/MORX-30.tests | 0 - .../data/text-rendering-tests/tests/MORX-31.tests | 0 - .../data/text-rendering-tests/tests/MORX-32.tests | 0 - .../data/text-rendering-tests/tests/MORX-33.tests | 0 - .../data/text-rendering-tests/tests/MORX-34.tests | 0 - .../data/text-rendering-tests/tests/MORX-35.tests | 0 - .../data/text-rendering-tests/tests/MORX-36.tests | 0 - .../data/text-rendering-tests/tests/MORX-37.tests | 0 - .../data/text-rendering-tests/tests/MORX-38.tests | 0 - .../data/text-rendering-tests/tests/MORX-39.tests | 0 - .../data/text-rendering-tests/tests/MORX-4.tests | 0 - .../data/text-rendering-tests/tests/MORX-40.tests | 0 - .../data/text-rendering-tests/tests/MORX-41.tests | 0 - .../data/text-rendering-tests/tests/MORX-5.tests | 0 - .../data/text-rendering-tests/tests/MORX-6.tests | 0 - .../data/text-rendering-tests/tests/MORX-7.tests | 0 - .../data/text-rendering-tests/tests/MORX-8.tests | 0 - .../data/text-rendering-tests/tests/MORX-9.tests | 0 - .../data/text-rendering-tests/tests/SFNT-1.tests | 0 - .../data/text-rendering-tests/tests/SFNT-2.tests | 0 - .../data/text-rendering-tests/tests/SHARAN-1.tests | 0 - .../data/text-rendering-tests/tests/SHBALI-1.tests | 0 - .../data/text-rendering-tests/tests/SHBALI-2.tests | 0 - .../data/text-rendering-tests/tests/SHBALI-3.tests | 0 - .../data/text-rendering-tests/tests/SHKNDA-1.tests | 0 - .../data/text-rendering-tests/tests/SHKNDA-2.tests | 0 - .../data/text-rendering-tests/tests/SHKNDA-3.tests | 0 - .../data/text-rendering-tests/tests/SHLANA-1.tests | 0 - .../data/text-rendering-tests/tests/SHLANA-10.tests | 0 - .../data/text-rendering-tests/tests/SHLANA-2.tests | 0 - .../data/text-rendering-tests/tests/SHLANA-3.tests | 0 - .../data/text-rendering-tests/tests/SHLANA-4.tests | 0 - .../data/text-rendering-tests/tests/SHLANA-5.tests | 0 - .../data/text-rendering-tests/tests/SHLANA-6.tests | 0 - .../data/text-rendering-tests/tests/SHLANA-7.tests | 0 - .../data/text-rendering-tests/tests/SHLANA-8.tests | 0 - .../data/text-rendering-tests/tests/SHLANA-9.tests | 0 - test/{shaping => shape}/data/text-rendering-tests/update.py | 0 - test/{shaping => shape}/hb-diff | 0 - test/{shaping => shape}/hb-diff-colorize | 0 - test/{shaping => shape}/hb-diff-filter-failures | 0 - test/{shaping => shape}/hb-diff-stat | 0 - test/{shaping => shape}/hb-unicode-decode | 0 - test/{shaping => shape}/hb-unicode-encode | 0 - test/{shaping => shape}/hb-unicode-prettyname | 0 - test/{shaping => shape}/hb_test_tools.py | 0 - test/{shaping => shape}/meson.build | 0 - test/{shaping => shape}/record-test.sh | 0 - test/{shaping => shape}/run-tests.py | 0 - .../shaper-arabic/script-arabic/language-persian/mehran.txt | 0 - .../script-arabic/language-urdu/crulp/ligatures/2grams.txt | 0 - .../script-arabic/language-urdu/crulp/ligatures/3grams.txt | 0 - .../script-arabic/language-urdu/crulp/ligatures/4grams.txt | 0 - .../script-arabic/language-urdu/crulp/ligatures/5grams.txt | 0 - .../script-arabic/language-urdu/crulp/ligatures/6grams.txt | 0 - .../script-arabic/language-urdu/crulp/ligatures/7grams.txt | 0 - .../script-arabic/language-urdu/crulp/ligatures/8grams.txt | 0 - .../script-arabic/language-urdu/crulp/ligatures/LICENSE | 0 - .../script-arabic/language-urdu/crulp/ligatures/README | 0 - .../script-arabic/language-urdu/crulp/ligatures/SOURCES | 0 - .../script-arabic/misc/diacritics/lam-alef.txt | 0 - .../script-arabic/misc/diacritics/language-arabic.txt | 0 - .../script-arabic/misc/diacritics/language-persian.txt | 0 - .../script-arabic/misc/diacritics/language-urdu.txt | 0 - .../script-arabic/misc/diacritics/ligature-components.txt | 0 - .../script-arabic/misc/diacritics/ligature-diacritics.txt | 0 - .../script-arabic/misc/diacritics/mark-skipping.txt | 0 - .../in-house/shaper-arabic/script-mongolian/misc/misc.txt | 0 - .../shaper-arabic/script-mongolian/misc/non-joining.txt | 0 - .../in-house/shaper-arabic/script-mongolian/misc/poem.txt | 0 - .../script-mongolian/misc/variation-selectors.txt | 0 - .../texts/in-house/shaper-arabic/script-nko/misc/misc.txt | 0 - .../in-house/shaper-arabic/script-phags-pa/misc/misc.txt | 0 - .../shaper-arabic/script-syriac/misc/abbreviation-mark.txt | 0 - .../in-house/shaper-arabic/script-syriac/misc/alaph.txt | 0 - .../in-house/shaper-default/script-ethiopic/misc/misc.txt | 0 - .../in-house/shaper-default/script-han/misc/cjk-compat.txt | 0 - .../script-hiragana/misc/kazuraki-liga-lines.txt | 0 - .../shaper-default/script-hiragana/misc/kazuraki-liga.txt | 0 - .../in-house/shaper-default/script-linear-b/misc/misc.txt | 0 - .../in-house/shaper-default/script-tifinagh/misc/misc.txt | 0 - .../in-house/shaper-hangul/script-hangul/misc/misc.txt | 0 - .../shaper-hebrew/script-hebrew/misc/diacritics.txt | 0 - .../in-house/shaper-indic/script-assamese/utrrs/LICENSE | 0 - .../in-house/shaper-indic/script-assamese/utrrs/README | 0 - .../in-house/shaper-indic/script-assamese/utrrs/SOURCES | 0 - .../IndicFontFeatureCodepoint-AdditionalVowels.txt | 0 - .../codepoint/IndicFontFeatureCodepoint-Consonants.txt | 0 - .../codepoint/IndicFontFeatureCodepoint-DependentVowels.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-Digits.txt | 0 - .../IndicFontFeatureCodepoint-IndependentVowels.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-Reserved.txt | 0 - .../codepoint/IndicFontFeatureCodepoint-VariousSigns.txt | 0 - .../utrrs/gpos/IndicFontFeatureGPOS-AboveBase.txt | 0 - .../utrrs/gpos/IndicFontFeatureGPOS-BelowBase.txt | 0 - .../script-assamese/utrrs/gsub/IndicFontFeatureGSUB.txt | 0 - .../shaper-indic/script-bengali/bengali-vowel-letters.txt | 0 - .../in-house/shaper-indic/script-bengali/misc/misc.txt | 0 - .../in-house/shaper-indic/script-bengali/misc/reph.txt | 0 - .../in-house/shaper-indic/script-bengali/utrrs/LICENSE | 0 - .../texts/in-house/shaper-indic/script-bengali/utrrs/README | 0 - .../in-house/shaper-indic/script-bengali/utrrs/SOURCES | 0 - .../IndicFontFeatureCodepoint-AdditionalVowels.txt | 0 - .../codepoint/IndicFontFeatureCodepoint-Consonants.txt | 0 - .../codepoint/IndicFontFeatureCodepoint-DependentVowels.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-Digits.txt | 0 - .../IndicFontFeatureCodepoint-IndependentVowels.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-Reserved.txt | 0 - .../codepoint/IndicFontFeatureCodepoint-VariousSigns.txt | 0 - .../utrrs/gpos/IndicFontFeatureGPOS-AboveBase.txt | 0 - .../utrrs/gpos/IndicFontFeatureGPOS-BelowBase.txt | 0 - .../script-bengali/utrrs/gsub/IndicFontFeatureGSUB.txt | 0 - .../script-devanagari/devanagari-atomic-consonants.txt | 0 - .../script-devanagari/devanagari-vowel-letters.txt | 0 - .../shaper-indic/script-devanagari/misc/dottedcircle.txt | 0 - .../shaper-indic/script-devanagari/misc/eyelash.txt | 0 - .../shaper-indic/script-devanagari/misc/joiners.txt | 0 - .../in-house/shaper-indic/script-devanagari/misc/misc.txt | 0 - .../shaper-indic/script-devanagari/misc/spec-deviations.txt | 0 - .../script-devanagari/misc/tricky-reordering.txt | 0 - .../in-house/shaper-indic/script-devanagari/utrrs/LICENSE | 0 - .../in-house/shaper-indic/script-devanagari/utrrs/README | 0 - .../in-house/shaper-indic/script-devanagari/utrrs/SOURCES | 0 - .../IndicFontFeatureCodepoint-AdditionalConsonants.txt | 0 - .../IndicFontFeatureCodepoint-AdditionalVowels.txt | 0 - .../codepoint/IndicFontFeatureCodepoint-Consonants.txt | 0 - .../codepoint/IndicFontFeatureCodepoint-DependentVowels.txt | 0 - .../IndicFontFeatureCodepoint-DevnagariSpecificAddition.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-Digits.txt | 0 - .../IndicFontFeatureCodepoint-GenericPunctuation.txt | 0 - .../IndicFontFeatureCodepoint-IndependentVowels.txt | 0 - .../codepoint/IndicFontFeatureCodepoint-VariousSigns.txt | 0 - .../utrrs/gpos/IndicFontFeatureGPOS-AboveBase.txt | 0 - .../utrrs/gpos/IndicFontFeatureGPOS-BelowBase.txt | 0 - .../script-devanagari/utrrs/gsub/IndicFontFeatureGSUB.txt | 0 - .../shaper-indic/script-gujarati/gujarati-vowel-letters.txt | 0 - .../in-house/shaper-indic/script-gujarati/utrrs/LICENSE | 0 - .../in-house/shaper-indic/script-gujarati/utrrs/README | 0 - .../in-house/shaper-indic/script-gujarati/utrrs/SOURCES | 0 - .../IndicFontFeatureCodepoint-AdditionalVowels.txt | 0 - .../codepoint/IndicFontFeatureCodepoint-Consonants.txt | 0 - .../codepoint/IndicFontFeatureCodepoint-DependentVowels.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-Digits.txt | 0 - .../IndicFontFeatureCodepoint-IndependentVowels.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-Reserved.txt | 0 - .../codepoint/IndicFontFeatureCodepoint-VariousSigns.txt | 0 - .../utrrs/gpos/IndicFontFeatureGPOS-AboveBase.txt | 0 - .../utrrs/gpos/IndicFontFeatureGPOS-BelowBase.txt | 0 - .../script-gujarati/utrrs/gsub/IndicFontFeatureGSUB.txt | 0 - .../shaper-indic/script-gurmukhi/gurmukhi-vowel-letters.txt | 0 - .../in-house/shaper-indic/script-gurmukhi/misc/misc.txt | 0 - .../in-house/shaper-indic/script-gurmukhi/utrrs/LICENSE | 0 - .../in-house/shaper-indic/script-gurmukhi/utrrs/README | 0 - .../in-house/shaper-indic/script-gurmukhi/utrrs/SOURCES | 0 - .../codepoint/IndicFontFeatureCodepoint-Consonants.txt | 0 - .../codepoint/IndicFontFeatureCodepoint-DependentVowels.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-Digits.txt | 0 - .../IndicFontFeatureCodepoint-GurmukhiSpecific.txt | 0 - .../IndicFontFeatureCodepoint-IndependentVowels.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-Reserved.txt | 0 - .../codepoint/IndicFontFeatureCodepoint-VariousSigns.txt | 0 - .../utrrs/gpos/IndicFontFeatureGPOS-AboveBase.txt | 0 - .../utrrs/gpos/IndicFontFeatureGPOS-BelowBase.txt | 0 - .../script-gurmukhi/utrrs/gsub/IndicFontFeatureGSUB.txt | 0 - .../shaper-indic/script-kannada/kannada-vowel-letters.txt | 0 - .../in-house/shaper-indic/script-kannada/misc/misc.txt | 0 - .../shaper-indic/script-kannada/misc/right-matras.txt | 0 - .../in-house/shaper-indic/script-kannada/utrrs/LICENSE | 0 - .../texts/in-house/shaper-indic/script-kannada/utrrs/README | 0 - .../in-house/shaper-indic/script-kannada/utrrs/SOURCES | 0 - .../IndicFontFeatureCodepoint-AdditionalConsonants.txt | 0 - .../IndicFontFeatureCodepoint-AdditionalVowels.txt | 0 - .../codepoint/IndicFontFeatureCodepoint-Consonants.txt | 0 - .../codepoint/IndicFontFeatureCodepoint-DependentVowels.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-Digits.txt | 0 - .../IndicFontFeatureCodepoint-IndependentVowels.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-Reserved.txt | 0 - .../codepoint/IndicFontFeatureCodepoint-VariousSigns.txt | 0 - .../utrrs/gpos/IndicFontFeatureGPOS-AboveBase.txt | 0 - .../script-kannada/utrrs/gsub/IndicFontFeatureGSUB.txt | 0 - .../script-malayalam/malayalam-vowel-letters.txt | 0 - .../in-house/shaper-indic/script-malayalam/misc/cibu.txt | 0 - .../shaper-indic/script-malayalam/misc/dot-reph.txt | 0 - .../in-house/shaper-indic/script-malayalam/misc/misc.txt | 0 - .../in-house/shaper-indic/script-malayalam/utrrs/LICENSE | 0 - .../in-house/shaper-indic/script-malayalam/utrrs/README | 0 - .../in-house/shaper-indic/script-malayalam/utrrs/SOURCES | 0 - .../IndicFontFeatureCodepoint-AdditionalVowels.txt | 0 - .../codepoint/IndicFontFeatureCodepoint-Consonants.txt | 0 - .../codepoint/IndicFontFeatureCodepoint-DependentVowels.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-Digits.txt | 0 - .../IndicFontFeatureCodepoint-IndependentVowels.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-Reserved.txt | 0 - .../codepoint/IndicFontFeatureCodepoint-VariousSigns.txt | 0 - .../script-malayalam/utrrs/gsub/IndicFontFeatureGSUB.txt | 0 - .../texts/in-house/shaper-indic/script-oriya/misc/bindu.txt | 0 - .../texts/in-house/shaper-indic/script-oriya/misc/misc.txt | 0 - .../shaper-indic/script-oriya/oriya-vowel-letters.txt | 0 - .../texts/in-house/shaper-indic/script-oriya/utrrs/LICENSE | 0 - .../texts/in-house/shaper-indic/script-oriya/utrrs/README | 0 - .../texts/in-house/shaper-indic/script-oriya/utrrs/SOURCES | 0 - .../IndicFontFeatureCodepoint-AdditionalConsonants.txt | 0 - .../IndicFontFeatureCodepoint-AdditionalVowels.txt | 0 - .../codepoint/IndicFontFeatureCodepoint-Consonants.txt | 0 - .../codepoint/IndicFontFeatureCodepoint-DependentVowels.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-Digits.txt | 0 - .../IndicFontFeatureCodepoint-IndependentVowels.txt | 0 - .../codepoint/IndicFontFeatureCodepoint-OriyaSpecific.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-Reserved.txt | 0 - .../codepoint/IndicFontFeatureCodepoint-VariousSigns.txt | 0 - .../script-oriya/utrrs/gsub/IndicFontFeatureGSUB.txt | 0 - .../in-house/shaper-indic/script-sinhala/misc/extensive.txt | 0 - .../in-house/shaper-indic/script-sinhala/misc/misc.txt | 0 - .../in-house/shaper-indic/script-sinhala/misc/reph.txt | 0 - .../shaper-indic/script-sinhala/misc/split-matras.txt | 0 - .../in-house/shaper-indic/script-sinhala/utrrs/LICENSE | 0 - .../texts/in-house/shaper-indic/script-sinhala/utrrs/README | 0 - .../in-house/shaper-indic/script-sinhala/utrrs/SOURCES | 0 - .../codepoint/IndicFontFeatureCodepoint-Consonants.txt | 0 - .../codepoint/IndicFontFeatureCodepoint-DependentVowels.txt | 0 - .../IndicFontFeatureCodepoint-IndependentVowels.txt | 0 - .../codepoint/IndicFontFeatureCodepoint-Punctuation.txt | 0 - .../codepoint/IndicFontFeatureCodepoint-VariousSigns.txt | 0 - .../script-sinhala/utrrs/gpos/IndicFontFeatureGPOS.txt | 0 - .../utrrs/gsub/IndicFontFeatureGSUB-Conjunct.txt | 0 - .../utrrs/gsub/IndicFontFeatureGSUB-Rakaaraansaya.txt | 0 - .../utrrs/gsub/IndicFontFeatureGSUB-Repaya.txt | 0 - .../utrrs/gsub/IndicFontFeatureGSUB-Special-Cases.txt | 0 - .../utrrs/gsub/IndicFontFeatureGSUB-TouchingLetters.txt | 0 - .../utrrs/gsub/IndicFontFeatureGSUB-Yansaya.txt | 0 - .../script-sinhala/utrrs/gsub/IndicFontFeatureGSUB.txt | 0 - .../texts/in-house/shaper-indic/script-tamil/misc/misc.txt | 0 - .../texts/in-house/shaper-indic/script-tamil/utrrs/LICENSE | 0 - .../texts/in-house/shaper-indic/script-tamil/utrrs/README | 0 - .../texts/in-house/shaper-indic/script-tamil/utrrs/SOURCES | 0 - .../codepoint/IndicFontFeatureCodepoint-Consonants.txt | 0 - .../codepoint/IndicFontFeatureCodepoint-CurrencySymbols.txt | 0 - .../codepoint/IndicFontFeatureCodepoint-DependentVowels.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-Digits.txt | 0 - .../IndicFontFeatureCodepoint-IndependentVowels.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-Numerics.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-Reserved.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-Symbols.txt | 0 - .../codepoint/IndicFontFeatureCodepoint-TamilSymbol.txt | 0 - .../codepoint/IndicFontFeatureCodepoint-VariousSigns.txt | 0 - .../utrrs/gpos/IndicFontFeatureGPOS-AboveBase.txt | 0 - .../utrrs/gpos/IndicFontFeatureGPOS-BelowBase.txt | 0 - .../script-tamil/utrrs/gsub/IndicFontFeatureGSUB.txt | 0 - .../texts/in-house/shaper-indic/script-telugu/misc/misc.txt | 0 - .../shaper-indic/script-telugu/telugu-vowel-letters.txt | 0 - .../texts/in-house/shaper-indic/script-telugu/utrrs/LICENSE | 0 - .../texts/in-house/shaper-indic/script-telugu/utrrs/README | 0 - .../texts/in-house/shaper-indic/script-telugu/utrrs/SOURCES | 0 - .../IndicFontFeatureCodepoint-AdditionalVowels.txt | 0 - .../codepoint/IndicFontFeatureCodepoint-Consonants.txt | 0 - .../codepoint/IndicFontFeatureCodepoint-DependentVowels.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-Digits.txt | 0 - .../IndicFontFeatureCodepoint-IndependentVowels.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-Reserved.txt | 0 - .../codepoint/IndicFontFeatureCodepoint-VariousSigns.txt | 0 - .../utrrs/gpos/IndicFontFeatureGPOS-AboveBase.txt | 0 - .../script-telugu/utrrs/gsub/IndicFontFeatureGSUB.txt | 0 - .../{shaping => shape}/texts/in-house/shaper-khmer/misc.txt | 0 - .../texts/in-house/shaper-khmer/other-marks-invalid.txt | 0 - .../texts/in-house/shaper-khmer/other-marks.txt | 0 - .../in-house/shaper-myanmar/script-myanmar/misc/misc.txt | 0 - .../in-house/shaper-myanmar/script-myanmar/misc/otspec.txt | 0 - .../in-house/shaper-myanmar/script-myanmar/misc/utn11.txt | 0 - .../texts/in-house/shaper-thai/script-lao/misc/sara-am.txt | 0 - .../texts/in-house/shaper-thai/script-thai/misc/misc.txt | 0 - .../texts/in-house/shaper-thai/script-thai/misc/phinthu.txt | 0 - .../in-house/shaper-thai/script-thai/misc/pua-shaping.txt | 0 - .../texts/in-house/shaper-thai/script-thai/misc/sara-am.txt | 0 - .../shaper-tibetan/script-tibetan/misc/contractions.txt | 0 - .../in-house/shaper-tibetan/script-tibetan/misc/misc.txt | 0 - .../texts/in-house/shaper-use/script-batak/misc.txt | 0 - .../texts/in-house/shaper-use/script-buginese/misc.txt | 0 - .../texts/in-house/shaper-use/script-cham/misc.txt | 0 - .../texts/in-house/shaper-use/script-javanese/misc.txt | 0 - .../texts/in-house/shaper-use/script-kaithi/misc.txt | 0 - .../texts/in-house/shaper-use/script-kharoshti/misc.txt | 0 - .../texts/in-house/shaper-use/script-tai-tham/misc.txt | 0 - .../texts/in-house/shaper-use/script-tai-tham/torture.txt | 0 - 983 files changed, 8 insertions(+), 8 deletions(-) - -commit e4b33d9d360eeb80f7d841f7ad8921aa16836027 -Author: Behdad Esfahbod -Date: Wed Aug 11 18:35:11 2021 -0600 - - [util] Use post_parse in face_options_t - - util/face-options.hh | 37 ++++++++++++------------------------- - util/font-options.hh | 2 -- - util/hb-subset.cc | 2 +- - util/helper-cairo.hh | 2 +- - 4 files changed, 14 insertions(+), 29 deletions(-) - -commit c0ea4e2d33e613eb4936a9cce85453a6b7a43ae5 -Author: Behdad Esfahbod -Date: Wed Aug 11 18:30:08 2021 -0600 - - [util] Use post_parse to validate - - util/face-options.hh | 21 +++++++++++---- - util/font-options.hh | 1 - - util/main-font-text.hh | 72 ++++++++++++++++++++++++++++++++++---------------- - util/options.hh | 33 +++++++++-------------- - util/text-options.hh | 3 +++ - 5 files changed, 81 insertions(+), 49 deletions(-) - -commit f1226988104281b576878cd8c306d03cc91aa111 -Author: Khaled Hosny -Date: Thu Aug 12 01:47:35 2021 +0200 - - [test] Improve generate-expected-outputs.py diff output - - test/subset/generate-expected-outputs.py | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 9468e4699833b6f6376503d2724fa4a8abcc8ab2 -Author: Behdad Esfahbod -Date: Wed Aug 11 16:46:04 2021 -0600 - - [util] Rename main_font_text back to main_font_text_t - - util/hb-ot-shape-closure.cc | 2 +- - util/hb-shape.cc | 2 +- - util/hb-subset.cc | 2 +- - util/hb-view.cc | 2 +- - util/main-font-text.hh | 2 +- - 5 files changed, 5 insertions(+), 5 deletions(-) - -commit 6ac6a2b27b3abe42508828e7919c9ff55a7840d7 -Author: Khaled Hosny -Date: Thu Aug 12 00:04:32 2021 +0200 - - [test] hb_ot_layout_language_get_feature_tags() - - test/api/test-ot-layout.c | 45 +++++++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 45 insertions(+) - -commit e9b743b26d9ac4a981ac519d85d975ad1d74f513 -Author: Khaled Hosny -Date: Wed Aug 11 23:51:12 2021 +0200 - - [test] hb_ot_layout_script_get_language_tags() - - test/api/test-ot-layout.c | 40 ++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 40 insertions(+) - -commit bf438b815f488afe97ae8442ec4a0989a8bc0c65 -Author: Khaled Hosny -Date: Wed Aug 11 23:23:51 2021 +0200 - - [test] hb_ot_layout_table_get_feature_tags() - - test/api/test-ot-layout.c | 42 ++++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 42 insertions(+) - -commit 2f88ea5a200a8c33ed307460ef153cf51d486683 -Author: Khaled Hosny -Date: Wed Aug 11 23:12:00 2021 +0200 - - [test] hb_ot_layout_table_find_script() - - test/api/test-ot-layout.c | 24 ++++++++++++++++++++++++ - 1 file changed, 24 insertions(+) - -commit f60caad7ffd796c6dc1cc57f0cecee6fd643d827 -Author: Khaled Hosny -Date: Wed Aug 11 22:54:30 2021 +0200 - - [test] hb_ot_layout_table_get_script_tags() - - test/api/Makefile.am | 1 + - test/api/meson.build | 1 + - test/api/test-ot-layout.c | 77 +++++++++++++++++++++++++++++++++++++++++++++++ - 3 files changed, 79 insertions(+) - -commit 7e4fcf1be895b7c92d3d5e3498cf1b467708994c -Author: Behdad Esfahbod -Date: Wed Aug 11 12:12:49 2021 -0600 - - [util] Rename add_main_options - - util/options.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 62fb102184b82ad1c7798c16fcb5f390ddf2ba91 -Author: Behdad Esfahbod -Date: Wed Aug 11 12:03:07 2021 -0600 - - [util] Move add_main_options() invocation - - util/options.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 9d8bbe3e531ded6419b2573c8b813596fff69745 -Author: Behdad Esfahbod -Date: Wed Aug 11 11:53:32 2021 -0600 - - [util] Make main_font_text a struct again - - Going to move to G_OPTION_REMAINING. - - util/batch.hh | 8 +++--- - util/hb-ot-shape-closure.cc | 2 +- - util/hb-shape.cc | 4 +-- - util/hb-subset.cc | 4 +-- - util/hb-view.cc | 2 +- - util/main-font-text.hh | 59 ++++++++++++++++++++++++--------------------- - 6 files changed, 41 insertions(+), 38 deletions(-) - -commit 5bd463f130935df282cc2a484ef1bb6dbd047170 -Author: Behdad Esfahbod -Date: Tue Aug 10 14:26:48 2021 -0600 - - [util/hb-subset] Access input directly - - util/hb-subset.cc | 3 --- - util/subset-options.hh | 5 ----- - 2 files changed, 8 deletions(-) - -commit 6905f6fa600c2565573952e9d347dfcf9f0d3770 -Author: Behdad Esfahbod -Date: Tue Aug 10 14:24:24 2021 -0600 - - [util/hb-subset] Use templated function to parse flags directly - - util/subset-options.hh | 55 +++++++++++++++++++++++++------------------------- - 1 file changed, 27 insertions(+), 28 deletions(-) - -commit 3e3e1801a5a7916c3966c86b4deab225c3d63167 -Author: Behdad Esfahbod -Date: Tue Aug 10 13:59:46 2021 -0600 - - [util] Small tweaks in --help output - - util/font-options.hh | 3 ++- - util/text-options.hh | 4 ++-- - 2 files changed, 4 insertions(+), 3 deletions(-) - -commit c08f1b89037b9a0277b8cef67ff2f38bcf253dfd -Author: Garret Rieger -Date: Tue Aug 10 12:29:32 2021 -0700 - - [map] fix incorrect population count in hash map. - - If the same key was set twice the population was being incorrectly incremented. - - src/hb-map.hh | 2 +- - test/api/test-map.c | 28 +++++++++++++++++++++ - ...ase-minimized-hb-subset-fuzzer-5522792714993664 | Bin 0 -> 74 bytes - 3 files changed, 29 insertions(+), 1 deletion(-) - -commit e39c3bde7bf56a49848cba09cf7309ac6a359796 -Author: Garret Rieger -Date: Tue Aug 10 11:41:55 2021 -0700 - - [subset] fix bug in parsing glyf flags. - - the bytes of the flag stream were being treated as signed integers instead of unsigned as specified in the spec. - - src/hb-ot-glyf-table.hh | 4 ++-- - test/subset/data/Makefile.am | 1 + - test/subset/data/Makefile.sources | 1 + - ..._3131.drop-hints-retain-gids.63,64,65,6F,70,71,72.ttf | Bin 0 -> 1908 bytes - ..._3131.drop-hints-retain-gids.retain-all-codepoint.ttf | Bin 0 -> 1908 bytes - .../glyf_bug_3131.retain-gids.63,64,65,6F,70,71,72.ttf | Bin 0 -> 1928 bytes - .../glyf_bug_3131.retain-gids.retain-all-codepoint.ttf | Bin 0 -> 1928 bytes - test/subset/data/fonts/glyf_bug_3131.ttf | Bin 0 -> 2600 bytes - test/subset/data/tests/glyf_bug_3131.tests | 11 +++++++++++ - test/subset/meson.build | 1 + - 10 files changed, 16 insertions(+), 2 deletions(-) - -commit f5a8f747ffc4fa920d12db68f1f40c28627d720a -Merge: d92ee726c f3acb977e -Author: Behdad Esfahbod -Date: Tue Aug 10 11:21:08 2021 -0600 - - Merge pull request #3132 from harfbuzz/semicolon - - Use semicolon in shaping test suite - -commit f3acb977ec269dc735ab68aa477ada774873d5d4 -Author: Behdad Esfahbod -Date: Tue Aug 10 11:05:40 2021 -0600 - - [test/shaping;util] Use ';' instead of ':' to separate test fields - - Accept that in --batch mode. Also in batch mode don't send the 0th arg. - - Related discussion: https://github.com/harfbuzz/harfbuzz/pull/3102 - - test/shaping/data/aots/hb-aots-tester.cpp | 18 +- - test/shaping/data/aots/tests/classdef1.tests | 2 +- - test/shaping/data/aots/tests/classdef1_empty.tests | 2 +- - .../data/aots/tests/classdef1_multiple.tests | 2 +- - .../shaping/data/aots/tests/classdef1_single.tests | 2 +- - test/shaping/data/aots/tests/classdef2.tests | 2 +- - test/shaping/data/aots/tests/classdef2_empty.tests | 2 +- - .../data/aots/tests/classdef2_multiple.tests | 2 +- - .../shaping/data/aots/tests/classdef2_single.tests | 2 +- - test/shaping/data/aots/tests/cmap0.tests | 2 +- - test/shaping/data/aots/tests/cmap10.tests | 4 +- - test/shaping/data/aots/tests/cmap12.tests | 2 +- - test/shaping/data/aots/tests/cmap2.tests | 2 +- - test/shaping/data/aots/tests/cmap4.tests | 12 +- - test/shaping/data/aots/tests/cmap6.tests | 4 +- - test/shaping/data/aots/tests/cmap8.tests | 2 +- - .../data/aots/tests/gpos1_1_lookupflag.tests | 2 +- - test/shaping/data/aots/tests/gpos1_1_simple.tests | 8 +- - test/shaping/data/aots/tests/gpos1_2.tests | 2 +- - .../data/aots/tests/gpos1_2_lookupflag.tests | 2 +- - test/shaping/data/aots/tests/gpos2_1.tests | 4 +- - .../data/aots/tests/gpos2_1_lookupflag.tests | 4 +- - .../data/aots/tests/gpos2_1_next_glyph.tests | 4 +- - test/shaping/data/aots/tests/gpos2_1_simple.tests | 4 +- - test/shaping/data/aots/tests/gpos2_2.tests | 10 +- - test/shaping/data/aots/tests/gpos3.tests | 22 +- - .../shaping/data/aots/tests/gpos3_lookupflag.tests | 4 +- - .../shaping/data/aots/tests/gpos4_lookupflag.tests | 4 +- - .../data/aots/tests/gpos4_multiple_anchors.tests | 2 +- - test/shaping/data/aots/tests/gpos4_simple.tests | 10 +- - test/shaping/data/aots/tests/gpos5.tests | 4 +- - test/shaping/data/aots/tests/gpos6.tests | 6 +- - test/shaping/data/aots/tests/gpos7_1.tests | 4 +- - test/shaping/data/aots/tests/gpos9.tests | 4 +- - .../data/aots/tests/gpos_chaining1_boundary.tests | 8 +- - .../aots/tests/gpos_chaining1_lookupflag.tests | 2 +- - .../tests/gpos_chaining1_multiple_subrules.tests | 4 +- - .../aots/tests/gpos_chaining1_next_glyph.tests | 2 +- - .../data/aots/tests/gpos_chaining1_simple.tests | 22 +- - .../aots/tests/gpos_chaining1_successive.tests | 2 +- - .../data/aots/tests/gpos_chaining2_boundary.tests | 8 +- - .../aots/tests/gpos_chaining2_lookupflag.tests | 2 +- - .../tests/gpos_chaining2_multiple_subrules.tests | 4 +- - .../aots/tests/gpos_chaining2_next_glyph.tests | 2 +- - .../data/aots/tests/gpos_chaining2_simple.tests | 22 +- - .../aots/tests/gpos_chaining2_successive.tests | 2 +- - .../data/aots/tests/gpos_chaining3_boundary.tests | 8 +- - .../aots/tests/gpos_chaining3_lookupflag.tests | 2 +- - .../aots/tests/gpos_chaining3_next_glyph.tests | 2 +- - .../data/aots/tests/gpos_chaining3_simple.tests | 22 +- - .../aots/tests/gpos_chaining3_successive.tests | 2 +- - .../data/aots/tests/gpos_context1_boundary.tests | 4 +- - .../data/aots/tests/gpos_context1_expansion.tests | 2 +- - .../data/aots/tests/gpos_context1_lookupflag.tests | 4 +- - .../tests/gpos_context1_multiple_subrules.tests | 4 +- - .../data/aots/tests/gpos_context1_next_glyph.tests | 2 +- - .../data/aots/tests/gpos_context1_simple.tests | 6 +- - .../data/aots/tests/gpos_context1_successive.tests | 2 +- - .../data/aots/tests/gpos_context2_boundary.tests | 4 +- - .../data/aots/tests/gpos_context2_classes.tests | 4 +- - .../data/aots/tests/gpos_context2_expansion.tests | 2 +- - .../data/aots/tests/gpos_context2_lookupflag.tests | 4 +- - .../tests/gpos_context2_multiple_subrules.tests | 4 +- - .../data/aots/tests/gpos_context2_next_glyph.tests | 2 +- - .../data/aots/tests/gpos_context2_simple.tests | 6 +- - .../data/aots/tests/gpos_context2_successive.tests | 2 +- - .../data/aots/tests/gpos_context3_boundary.tests | 4 +- - .../data/aots/tests/gpos_context3_lookupflag.tests | 4 +- - .../data/aots/tests/gpos_context3_next_glyph.tests | 2 +- - .../data/aots/tests/gpos_context3_simple.tests | 4 +- - .../data/aots/tests/gpos_context3_successive.tests | 2 +- - .../data/aots/tests/gsub1_1_lookupflag.tests | 2 +- - test/shaping/data/aots/tests/gsub1_1_modulo.tests | 2 +- - test/shaping/data/aots/tests/gsub1_1_simple.tests | 2 +- - .../data/aots/tests/gsub1_2_lookupflag.tests | 2 +- - test/shaping/data/aots/tests/gsub1_2_simple.tests | 2 +- - .../data/aots/tests/gsub2_1_lookupflag.tests | 2 +- - .../aots/tests/gsub2_1_multiple_sequences.tests | 2 +- - test/shaping/data/aots/tests/gsub2_1_simple.tests | 4 +- - .../data/aots/tests/gsub3_1_lookupflag.tests | 2 +- - .../shaping/data/aots/tests/gsub3_1_multiple.tests | 2 +- - test/shaping/data/aots/tests/gsub3_1_simple.tests | 2 +- - .../data/aots/tests/gsub4_1_lookupflag.tests | 2 +- - .../aots/tests/gsub4_1_multiple_ligatures.tests | 4 +- - .../data/aots/tests/gsub4_1_multiple_ligsets.tests | 2 +- - test/shaping/data/aots/tests/gsub4_1_simple.tests | 2 +- - test/shaping/data/aots/tests/gsub7.tests | 4 +- - .../data/aots/tests/gsub_chaining1_boundary.tests | 8 +- - .../aots/tests/gsub_chaining1_lookupflag.tests | 2 +- - .../tests/gsub_chaining1_multiple_subrules.tests | 4 +- - .../aots/tests/gsub_chaining1_next_glyph.tests | 2 +- - .../data/aots/tests/gsub_chaining1_simple.tests | 22 +- - .../aots/tests/gsub_chaining1_successive.tests | 2 +- - .../data/aots/tests/gsub_chaining2_boundary.tests | 8 +- - .../aots/tests/gsub_chaining2_lookupflag.tests | 2 +- - .../tests/gsub_chaining2_multiple_subrules.tests | 4 +- - .../aots/tests/gsub_chaining2_next_glyph.tests | 2 +- - .../data/aots/tests/gsub_chaining2_simple.tests | 22 +- - .../aots/tests/gsub_chaining2_successive.tests | 2 +- - .../data/aots/tests/gsub_chaining3_boundary.tests | 8 +- - .../aots/tests/gsub_chaining3_lookupflag.tests | 2 +- - .../aots/tests/gsub_chaining3_next_glyph.tests | 2 +- - .../data/aots/tests/gsub_chaining3_simple.tests | 22 +- - .../aots/tests/gsub_chaining3_successive.tests | 2 +- - .../data/aots/tests/gsub_context1_boundary.tests | 4 +- - .../data/aots/tests/gsub_context1_expansion.tests | 2 +- - .../data/aots/tests/gsub_context1_lookupflag.tests | 4 +- - .../tests/gsub_context1_multiple_subrules.tests | 4 +- - .../data/aots/tests/gsub_context1_next_glyph.tests | 2 +- - .../data/aots/tests/gsub_context1_simple.tests | 6 +- - .../data/aots/tests/gsub_context1_successive.tests | 2 +- - .../data/aots/tests/gsub_context2_boundary.tests | 4 +- - .../data/aots/tests/gsub_context2_classes.tests | 4 +- - .../data/aots/tests/gsub_context2_expansion.tests | 2 +- - .../data/aots/tests/gsub_context2_lookupflag.tests | 4 +- - .../tests/gsub_context2_multiple_subrules.tests | 4 +- - .../data/aots/tests/gsub_context2_next_glyph.tests | 2 +- - .../data/aots/tests/gsub_context2_simple.tests | 6 +- - .../data/aots/tests/gsub_context2_successive.tests | 2 +- - .../data/aots/tests/gsub_context3_boundary.tests | 4 +- - .../data/aots/tests/gsub_context3_lookupflag.tests | 4 +- - .../data/aots/tests/gsub_context3_next_glyph.tests | 2 +- - .../data/aots/tests/gsub_context3_simple.tests | 4 +- - .../data/aots/tests/gsub_context3_successive.tests | 2 +- - .../data/aots/tests/lookupflag_ignore_attach.tests | 10 +- - .../data/aots/tests/lookupflag_ignore_base.tests | 4 +- - .../aots/tests/lookupflag_ignore_combination.tests | 6 +- - .../aots/tests/lookupflag_ignore_ligatures.tests | 6 +- - .../data/aots/tests/lookupflag_ignore_marks.tests | 2 +- - test/shaping/data/in-house/tests/aat-morx.tests | 2 +- - test/shaping/data/in-house/tests/aat-trak.tests | 22 +- - .../in-house/tests/arabic-fallback-shaping.tests | 2 +- - .../data/in-house/tests/arabic-feature-order.tests | 8 +- - .../data/in-house/tests/arabic-like-joining.tests | 2 +- - .../data/in-house/tests/arabic-mark-attach.tests | 2 +- - .../data/in-house/tests/arabic-mark-order.tests | 12 +- - test/shaping/data/in-house/tests/arabic-stch.tests | 2 +- - .../data/in-house/tests/automatic-fractions.tests | 6 +- - test/shaping/data/in-house/tests/cluster.tests | 8 +- - test/shaping/data/in-house/tests/collections.tests | 12 +- - test/shaping/data/in-house/tests/color-fonts.tests | 4 +- - .../data/in-house/tests/context-matching.tests | 6 +- - .../data/in-house/tests/cursive-positioning.tests | 10 +- - .../data/in-house/tests/default-ignorables.tests | 10 +- - test/shaping/data/in-house/tests/digits.tests | 10 +- - .../data/in-house/tests/emoji-clusters.tests | 6522 ++++++++++---------- - test/shaping/data/in-house/tests/emoji.tests | 10 +- - .../data/in-house/tests/fallback-positioning.tests | 4 +- - test/shaping/data/in-house/tests/hangul-jamo.tests | 4 +- - test/shaping/data/in-house/tests/hyphens.tests | 4 +- - .../tests/indic-consonant-with-stacker.tests | 8 +- - .../data/in-house/tests/indic-decompose.tests | 2 +- - test/shaping/data/in-house/tests/indic-init.tests | 2 +- - .../in-house/tests/indic-joiner-candrabindu.tests | 4 +- - .../data/in-house/tests/indic-joiners.tests | 12 +- - .../data/in-house/tests/indic-old-spec.tests | 8 +- - .../data/in-house/tests/indic-pref-blocking.tests | 4 +- - .../in-house/tests/indic-script-extensions.tests | 4 +- - .../data/in-house/tests/indic-special-cases.tests | 6 +- - .../data/in-house/tests/indic-syllable.tests | 24 +- - .../tests/indic-vowel-letter-spoofing.tests | 106 +- - .../shaping/data/in-house/tests/kern-format2.tests | 6 +- - .../data/in-house/tests/khmer-mark-order.tests | 50 +- - test/shaping/data/in-house/tests/khmer-misc.tests | 180 +- - .../data/in-house/tests/language-tags.tests | 26 +- - test/shaping/data/in-house/tests/ligature-id.tests | 74 +- - test/shaping/data/in-house/tests/macos.tests | 266 +- - .../data/in-house/tests/mark-attachment.tests | 2 +- - .../data/in-house/tests/mark-filtering-sets.tests | 10 +- - .../tests/mongolian-variation-selector.tests | 38 +- - .../shaping/data/in-house/tests/myanmar-misc.tests | 2 +- - .../data/in-house/tests/myanmar-syllable.tests | 2 +- - .../data/in-house/tests/myanmar-zawgyi.tests | 2 +- - .../data/in-house/tests/none-directional.tests | 6 +- - .../data/in-house/tests/positioning-features.tests | 6 +- - test/shaping/data/in-house/tests/rand.tests | 6 +- - test/shaping/data/in-house/tests/reverse-sub.tests | 2 +- - test/shaping/data/in-house/tests/rotation.tests | 8 +- - test/shaping/data/in-house/tests/simple.tests | 4 +- - test/shaping/data/in-house/tests/sinhala.tests | 2 +- - test/shaping/data/in-house/tests/spaces.tests | 68 +- - .../in-house/tests/tibetan-contractions-1.tests | 120 +- - .../in-house/tests/tibetan-contractions-2.tests | 106 +- - .../data/in-house/tests/tibetan-vowels.tests | 22 +- - .../shaping/data/in-house/tests/tt-kern-gpos.tests | 2 +- - test/shaping/data/in-house/tests/use-indic3.tests | 2 +- - test/shaping/data/in-house/tests/use-marchen.tests | 70 +- - .../shaping/data/in-house/tests/use-syllable.tests | 44 +- - .../in-house/tests/use-vowel-letter-spoofing.tests | 188 +- - test/shaping/data/in-house/tests/use.tests | 30 +- - .../data/in-house/tests/variations-rvrn.tests | 200 +- - test/shaping/data/in-house/tests/variations.tests | 10 +- - test/shaping/data/in-house/tests/vertical.tests | 8 +- - .../data/in-house/tests/zero-width-marks.tests | 22 +- - .../data/text-rendering-tests/tests/AVAR-1.tests | 34 +- - .../data/text-rendering-tests/tests/CFF-1.tests | 26 +- - .../data/text-rendering-tests/tests/CFF-2.tests | 26 +- - .../data/text-rendering-tests/tests/CFF2-1.tests | 18 +- - .../data/text-rendering-tests/tests/CMAP-1.tests | 8 +- - .../data/text-rendering-tests/tests/CMAP-2.tests | 4 +- - .../data/text-rendering-tests/tests/CMAP-3.tests | 40 +- - .../data/text-rendering-tests/tests/CVAR-1.tests | 6 +- - .../data/text-rendering-tests/tests/CVAR-2.tests | 6 +- - .../data/text-rendering-tests/tests/GLYF-1.tests | 2 +- - .../data/text-rendering-tests/tests/GPOS-1.tests | 38 +- - .../data/text-rendering-tests/tests/GPOS-2.tests | 6 +- - .../data/text-rendering-tests/tests/GPOS-3.tests | 8 +- - .../data/text-rendering-tests/tests/GPOS-4.tests | 8 +- - .../data/text-rendering-tests/tests/GPOS-5.tests | 10 +- - .../data/text-rendering-tests/tests/GSUB-1.tests | 2 +- - .../data/text-rendering-tests/tests/GSUB-2.tests | 22 +- - .../data/text-rendering-tests/tests/GSUB-3.tests | 2 +- - .../data/text-rendering-tests/tests/GVAR-1.tests | 18 +- - .../data/text-rendering-tests/tests/GVAR-2.tests | 18 +- - .../data/text-rendering-tests/tests/GVAR-3.tests | 18 +- - .../data/text-rendering-tests/tests/GVAR-4.tests | 22 +- - .../data/text-rendering-tests/tests/GVAR-5.tests | 22 +- - .../data/text-rendering-tests/tests/GVAR-6.tests | 22 +- - .../data/text-rendering-tests/tests/GVAR-7.tests | 14 +- - .../data/text-rendering-tests/tests/GVAR-8.tests | 12 +- - .../data/text-rendering-tests/tests/GVAR-9.tests | 20 +- - .../data/text-rendering-tests/tests/HVAR-1.tests | 12 +- - .../data/text-rendering-tests/tests/HVAR-2.tests | 12 +- - .../data/text-rendering-tests/tests/KERN-1.tests | 2 +- - .../data/text-rendering-tests/tests/KERN-2.tests | 2 +- - .../data/text-rendering-tests/tests/MORX-1.tests | 2 +- - .../data/text-rendering-tests/tests/MORX-10.tests | 2 +- - .../data/text-rendering-tests/tests/MORX-11.tests | 2 +- - .../data/text-rendering-tests/tests/MORX-12.tests | 6 +- - .../data/text-rendering-tests/tests/MORX-13.tests | 2 +- - .../data/text-rendering-tests/tests/MORX-14.tests | 4 +- - .../data/text-rendering-tests/tests/MORX-16.tests | 2 +- - .../data/text-rendering-tests/tests/MORX-17.tests | 2 +- - .../data/text-rendering-tests/tests/MORX-18.tests | 8 +- - .../data/text-rendering-tests/tests/MORX-19.tests | 4 +- - .../data/text-rendering-tests/tests/MORX-2.tests | 32 +- - .../data/text-rendering-tests/tests/MORX-20.tests | 14 +- - .../data/text-rendering-tests/tests/MORX-21.tests | 2 +- - .../data/text-rendering-tests/tests/MORX-22.tests | 2 +- - .../data/text-rendering-tests/tests/MORX-23.tests | 2 +- - .../data/text-rendering-tests/tests/MORX-24.tests | 2 +- - .../data/text-rendering-tests/tests/MORX-25.tests | 18 +- - .../data/text-rendering-tests/tests/MORX-26.tests | 4 +- - .../data/text-rendering-tests/tests/MORX-27.tests | 6 +- - .../data/text-rendering-tests/tests/MORX-28.tests | 10 +- - .../data/text-rendering-tests/tests/MORX-29.tests | 8 +- - .../data/text-rendering-tests/tests/MORX-3.tests | 32 +- - .../data/text-rendering-tests/tests/MORX-30.tests | 8 +- - .../data/text-rendering-tests/tests/MORX-31.tests | 16 +- - .../data/text-rendering-tests/tests/MORX-32.tests | 8 +- - .../data/text-rendering-tests/tests/MORX-33.tests | 6 +- - .../data/text-rendering-tests/tests/MORX-34.tests | 2 +- - .../data/text-rendering-tests/tests/MORX-35.tests | 4 +- - .../data/text-rendering-tests/tests/MORX-36.tests | 2 +- - .../data/text-rendering-tests/tests/MORX-37.tests | 8 +- - .../data/text-rendering-tests/tests/MORX-38.tests | 8 +- - .../data/text-rendering-tests/tests/MORX-39.tests | 8 +- - .../data/text-rendering-tests/tests/MORX-4.tests | 30 +- - .../data/text-rendering-tests/tests/MORX-40.tests | 8 +- - .../data/text-rendering-tests/tests/MORX-41.tests | 8 +- - .../data/text-rendering-tests/tests/MORX-5.tests | 50 +- - .../data/text-rendering-tests/tests/MORX-6.tests | 2 +- - .../data/text-rendering-tests/tests/MORX-7.tests | 2 +- - .../data/text-rendering-tests/tests/MORX-8.tests | 6 +- - .../data/text-rendering-tests/tests/MORX-9.tests | 2 +- - .../data/text-rendering-tests/tests/SFNT-1.tests | 4 +- - .../data/text-rendering-tests/tests/SFNT-2.tests | 4 +- - .../data/text-rendering-tests/tests/SHARAN-1.tests | 12 +- - .../data/text-rendering-tests/tests/SHBALI-1.tests | 44 +- - .../data/text-rendering-tests/tests/SHBALI-2.tests | 24 +- - .../data/text-rendering-tests/tests/SHBALI-3.tests | 18 +- - .../data/text-rendering-tests/tests/SHKNDA-1.tests | 68 +- - .../data/text-rendering-tests/tests/SHKNDA-2.tests | 32 +- - .../data/text-rendering-tests/tests/SHKNDA-3.tests | 62 +- - .../data/text-rendering-tests/tests/SHLANA-1.tests | 104 +- - .../text-rendering-tests/tests/SHLANA-10.tests | 94 +- - .../data/text-rendering-tests/tests/SHLANA-2.tests | 74 +- - .../data/text-rendering-tests/tests/SHLANA-3.tests | 26 +- - .../data/text-rendering-tests/tests/SHLANA-4.tests | 6 +- - .../data/text-rendering-tests/tests/SHLANA-5.tests | 26 +- - .../data/text-rendering-tests/tests/SHLANA-6.tests | 14 +- - .../data/text-rendering-tests/tests/SHLANA-7.tests | 36 +- - .../data/text-rendering-tests/tests/SHLANA-8.tests | 26 +- - .../data/text-rendering-tests/tests/SHLANA-9.tests | 12 +- - test/shaping/record-test.sh | 2 +- - test/shaping/run-tests.py | 16 +- - test/subset/run-repack-tests.py | 8 +- - test/subset/run-tests.py | 8 +- - util/batch.hh | 10 +- - 289 files changed, 5277 insertions(+), 5279 deletions(-) - -commit b83fd3a564aaaa0311a1f8275b2ae5bbc8b94e2c -Author: Behdad Esfahbod -Date: Tue Aug 10 02:21:05 2021 -0600 - - [util] Refactor batch-processing code into batch.hh - - test/subset/run-repack-tests.py | 2 +- - test/subset/run-tests.py | 2 +- - util/Makefile.sources | 2 ++ - util/batch.hh | 72 +++++++++++++++++++++++++++++++++++++++++ - util/hb-shape.cc | 34 ++----------------- - util/hb-subset.cc | 34 ++----------------- - 6 files changed, 80 insertions(+), 66 deletions(-) - -commit d92ee726ce3b2fc2c249407d977433f0badcc918 -Author: Behdad Esfahbod -Date: Mon Aug 9 19:08:34 2021 -0600 - - [util/hb-shape] Treat as single-paragraph text other than provided by a file - - Fixes https://github.com/harfbuzz/harfbuzz/issues/3129 - - util/hb-shape.cc | 4 ++-- - util/hb-subset.cc | 4 ++-- - util/main-font-text.hh | 4 ++-- - util/text-options.hh | 39 +++++++++------------------------------ - 4 files changed, 15 insertions(+), 36 deletions(-) - -commit 8940409e3c108e2c26c0f22679eb3c6cea4fee9d -Merge: f5ba1fabc 7d2e9164a -Author: Behdad Esfahbod -Date: Mon Aug 9 13:21:07 2021 -0600 - - Merge pull request #3121 from harfbuzz/subset-args - - Fix up `hb-subset --help-all` - -commit f5ba1fabced5b04615ece8938d950b098490fe97 -Author: Ben Wagner -Date: Sat Aug 7 16:05:51 2021 -0400 - - Fix documentation of hb_subset_flags_t defaults - - HB_SUBSET_FLAGS_DEFAULT is 0, and hb_subset_input_create_or_fail - initializes its flags to HB_SUBSET_FLAGS_DEFAULT, so currently all flags - are set to false by default. It has been decided that future flags will - also be false by default for simplicity (using NO_ in the name if - needed). Correct and simplify the documentation for hb_subset_flags_t to - reflect this. - - src/hb-subset.h | 15 ++++++--------- - 1 file changed, 6 insertions(+), 9 deletions(-) - -commit 7d2e9164ab6681bfd9fa0946a1150905a1aba283 -Author: Behdad Esfahbod -Date: Sat Aug 7 13:38:19 2021 -0600 - - [util] Move text options into text_options_t - - Remove now empty options.cc. - - util/Makefile.sources | 8 +-- - util/hb-ot-shape-closure.cc | 1 + - util/hb-shape.cc | 4 +- - util/hb-subset.cc | 1 + - util/hb-view.cc | 2 + - util/meson.build | 4 -- - util/options.hh | 43 ------------- - util/{options.cc => text-options.hh} | 120 ++++++++++++++++++++--------------- - 8 files changed, 81 insertions(+), 102 deletions(-) - -commit 93bc62e9b24404d2af4042c4a9aa450af79be8dd -Author: Behdad Esfahbod -Date: Sat Aug 7 13:13:58 2021 -0600 - - [util] Move output options into output-options.hh - - util/Makefile.sources | 15 +++--- - util/hb-shape.cc | 1 + - util/hb-subset.cc | 1 + - util/helper-cairo.hh | 4 +- - util/options.cc | 50 -------------------- - util/options.hh | 40 ---------------- - util/output-options.hh | 123 +++++++++++++++++++++++++++++++++++++++++++++++++ - util/view-cairo.hh | 1 + - 8 files changed, 137 insertions(+), 98 deletions(-) - -commit af9d2495dc68c4a64bab87a7cc0a60927d81fa53 -Author: Behdad Esfahbod -Date: Sat Aug 7 12:29:52 2021 -0600 - - [util] Use inheritance for output_options_t - - util/hb-shape.cc | 41 ++++++++++++++++++++--------------------- - util/hb-subset.cc | 9 +++------ - util/view-cairo.hh | 12 ++++++------ - 3 files changed, 29 insertions(+), 33 deletions(-) - -commit 9db0fd4821ab721bbf558e999044384726ba650e -Author: Behdad Esfahbod -Date: Sat Aug 7 12:22:17 2021 -0600 - - [util] Don't show --output-format if no supported formats provided - - util/options.cc | 9 ++++----- - 1 file changed, 4 insertions(+), 5 deletions(-) - -commit 5545eea7e575318d53aa42acbb09cf39e4b82134 -Author: Behdad Esfahbod -Date: Sat Aug 7 11:04:46 2021 -0600 - - [util] Remove main_font_text_t class, use bare function - - util/hb-ot-shape-closure.cc | 3 +- - util/hb-shape.cc | 8 ++--- - util/hb-subset.cc | 8 ++--- - util/hb-view.cc | 3 +- - util/main-font-text.hh | 72 +++++++++++++++++---------------------------- - util/options.hh | 15 ++++++++++ - 6 files changed, 50 insertions(+), 59 deletions(-) - -commit 58c223357b340ceb64af337b481fd4786152881e -Author: Behdad Esfahbod -Date: Fri Aug 6 23:45:59 2021 -0600 - - [util] Move face/font options into face/font-options.hh - - util/Makefile.sources | 7 + - util/face-options.hh | 135 +++++++++++++++++++ - util/font-options.hh | 306 ++++++++++++++++++++++++++++++++++++++++++ - util/hb-ot-shape-closure.cc | 3 +- - util/hb-shape.cc | 2 +- - util/hb-subset.cc | 7 +- - util/hb-view.cc | 2 +- - util/main-font-text.hh | 2 +- - util/options.cc | 318 +------------------------------------------- - util/options.hh | 63 --------- - util/shape-consumer.hh | 1 + - 11 files changed, 457 insertions(+), 389 deletions(-) - -commit 6edd50ae7fa550c909fa32339537f6105002a07d -Author: Behdad Esfahbod -Date: Fri Aug 6 23:36:45 2021 -0600 - - [util] Move option_parser_t code into options.hh - - util/options.cc | 83 -------------------------------------------------------- - util/options.hh | 84 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++- - 2 files changed, 83 insertions(+), 84 deletions(-) - -commit 798bb89c969288704c1cc534192eac9e6339d66a -Author: Behdad Esfahbod -Date: Fri Aug 6 23:29:29 2021 -0600 - - [util] Move shape format options into shape-format.hh - - util/Makefile.sources | 1 + - util/hb-shape.cc | 5 +- - util/hb-subset.cc | 2 +- - util/hb-view.cc | 2 +- - util/options.cc | 135 ------------------------------- - util/options.hh | 42 ---------- - util/shape-format.hh | 214 ++++++++++++++++++++++++++++++++++++++++++++++++++ - 7 files changed, 220 insertions(+), 181 deletions(-) - -commit c3599fded73882d5234a995b7f253baf0b4fa1e4 -Author: Behdad Esfahbod -Date: Fri Aug 6 23:24:28 2021 -0600 - - [util] Move shape options into shape-options.hh - - util/Makefile.sources | 2 + - util/hb-ot-shape-closure.cc | 1 + - util/main-font-text.hh | 1 - - util/options.cc | 179 +--------------- - util/options.hh | 286 -------------------------- - util/shape-consumer.hh | 3 +- - util/shape-options.hh | 490 ++++++++++++++++++++++++++++++++++++++++++++ - 7 files changed, 496 insertions(+), 466 deletions(-) - -commit cfb2d6ad9e34f4b61ea3fedd27ac448a47ac4c09 -Author: Behdad Esfahbod -Date: Fri Aug 6 23:14:30 2021 -0600 - - [util] Move view options into view-options.hh - - util/Makefile.sources | 15 +++--- - util/options.cc | 64 -------------------------- - util/options.hh | 25 ---------- - util/view-cairo.hh | 4 +- - util/view-options.hh | 123 ++++++++++++++++++++++++++++++++++++++++++++++++++ - 5 files changed, 132 insertions(+), 99 deletions(-) - -commit 167f58a2ca1db5649a0724f88e033c28a3bbb844 -Author: Behdad Esfahbod -Date: Fri Aug 6 23:03:30 2021 -0600 - - [util] Move subset options into subset-options.hh - - util/Makefile.sources | 2 +- - util/hb-subset.cc | 3 +- - util/meson.build | 1 - - util/options.hh | 40 ------------------------ - util/{options-subset.cc => subset-options.hh} | 45 +++++++++++++++++++++++++++ - 5 files changed, 48 insertions(+), 43 deletions(-) - -commit 370e961faf28291def7f011f694bef1266adda99 -Author: Behdad Esfahbod -Date: Fri Aug 6 22:59:50 2021 -0600 - - [util/hb-subset] Use hb-subset.h public API instead of poking inside - - Oops. - - util/options-subset.cc | 11 +++++------ - 1 file changed, 5 insertions(+), 6 deletions(-) - -commit 4e97678ebb77be96765942051d8bb03ab8f74f1c -Author: Behdad Esfahbod -Date: Fri Aug 6 22:53:44 2021 -0600 - - [util] Use inheritence to embed inherent options of objects - - util/hb-subset.cc | 9 ++++----- - util/shape-consumer.hh | 15 +++++++-------- - util/view-cairo.hh | 33 ++++++++++++++++----------------- - 3 files changed, 27 insertions(+), 30 deletions(-) - -commit 06d661803c79e18bad3e943894a8a7bcba1352e8 -Author: Behdad Esfahbod -Date: Fri Aug 6 19:20:47 2021 -0600 - - [util] Fix compiler error - - ../util/options.cc:588:3: error: narrowing conversion of ‘font_size_flags’ from ‘unsigned int’ to ‘gint {aka int}’ inside { } [-Werror=narrowing] - - util/options.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit c5337c43e932f23c18380995fa1ec74e2d8eaeb7 -Author: Behdad Esfahbod -Date: Fri Aug 6 19:19:50 2021 -0600 - - [util] Fold helper-cairo.cc into helper-cairo.hh - - util/Makefile.sources | 1 - - util/helper-cairo.cc | 668 -------------------------------------------------- - util/helper-cairo.hh | 636 ++++++++++++++++++++++++++++++++++++++++++++++- - util/meson.build | 1 - - 4 files changed, 624 insertions(+), 682 deletions(-) - -commit c329ce1000ee202700582396b0a47918d815e22e -Author: Behdad Esfahbod -Date: Fri Aug 6 19:13:21 2021 -0600 - - [util] Also hide ppem settings in hb-ot-shape-closure - - Leaving ptem, as that can in theory change shape closure if we apply it - to optical-size axis (we currently don't). - - util/options.cc | 9 ++++++--- - 1 file changed, 6 insertions(+), 3 deletions(-) - -commit c40e00796c6ae900a9e540ad9e345a4514fdc4eb -Author: Behdad Esfahbod -Date: Fri Aug 6 19:04:27 2021 -0600 - - [util] Fold helper-cairo-ansi.cc into helper-cairo-ansi.hh - - util/Makefile.sources | 1 - - util/helper-cairo-ansi.cc | 202 ---------------------------------------------- - util/helper-cairo-ansi.hh | 174 ++++++++++++++++++++++++++++++++++++++- - util/meson.build | 1 - - 4 files changed, 172 insertions(+), 206 deletions(-) - -commit 4fe43ccbf172d633c17ea4d5c308310d4597062f -Author: Behdad Esfahbod -Date: Fri Aug 6 19:00:45 2021 -0600 - - [util] Fold ansi-print.cc into ansi-print.hh - - util/Makefile.sources | 1 - - util/ansi-print.cc | 427 -------------------------------------------------- - util/ansi-print.hh | 391 ++++++++++++++++++++++++++++++++++++++++++++- - util/meson.build | 1 - - 4 files changed, 389 insertions(+), 431 deletions(-) - -commit b1db0e4a0f2c1aa1f64176b0da9ca4ea5585d0ee -Author: Behdad Esfahbod -Date: Fri Aug 6 18:55:40 2021 -0600 - - [util] Fold view-cairo.cc into view-cairo.hh - - util/Makefile.sources | 1 - - util/meson.build | 1 - - util/view-cairo.cc | 140 -------------------------------------------------- - util/view-cairo.hh | 110 +++++++++++++++++++++++++++++++++++++++ - 4 files changed, 110 insertions(+), 142 deletions(-) - -commit 6500f68f1fd0614c7165fc9bea6d37a3cf17a8b4 -Author: Behdad Esfahbod -Date: Fri Aug 6 18:46:31 2021 -0600 - - [util] Change hb-subset to use face_options_t instead of font_options_t - - util/hb-subset.cc | 9 +++++---- - util/main-font-text.hh | 3 +-- - 2 files changed, 6 insertions(+), 6 deletions(-) - -commit 869e20e09f96ba6cddc5db7e9aa6fde29d84ed78 -Author: Behdad Esfahbod -Date: Fri Aug 6 18:09:31 2021 -0600 - - [util] separate face options from font options - - util/helper-cairo.cc | 2 +- - util/options.cc | 87 +++++++++++++++++++++++++++++++++------------------- - util/options.hh | 48 +++++++++++++++++------------ - 3 files changed, 85 insertions(+), 52 deletions(-) - -commit b3a2f2bfcf483b525c55de211e3c644dba860e51 -Author: Behdad Esfahbod -Date: Thu Aug 5 14:03:48 2021 -0600 - - [util/main-font-text] Simplify - - util/main-font-text.hh | 21 ++++++++------------- - 1 file changed, 8 insertions(+), 13 deletions(-) - -commit 71440dbd90d77b2af35c69fac90e9342e9a9e439 -Author: Behdad Esfahbod -Date: Thu Aug 5 13:48:59 2021 -0600 - - [util] Move font-size and upem to be extern variables - - util/hb-ot-shape-closure.cc | 5 ++++- - util/hb-shape.cc | 5 ++++- - util/hb-subset.cc | 5 ++++- - util/hb-view.cc | 6 +++--- - util/main-font-text.hh | 6 +----- - util/options.cc | 6 +++--- - util/options.hh | 17 ++++++----------- - 7 files changed, 25 insertions(+), 25 deletions(-) - -commit fc0339eef0fa302f74ca9a3b90430288dac29df3 -Author: Behdad Esfahbod -Date: Thu Aug 5 13:35:46 2021 -0600 - - [util] Simplify shape-consumer by removing buffer arg - - util/hb-ot-shape-closure.cc | 5 ++--- - util/hb-subset.cc | 3 +-- - util/main-font-text.hh | 4 +--- - util/shape-consumer.hh | 5 ++--- - 4 files changed, 6 insertions(+), 11 deletions(-) - -commit e014c6fa2d4b1cb341d065d582d1dd995c04e5b5 -Author: Behdad Esfahbod -Date: Thu Aug 5 13:24:59 2021 -0600 - - [util/main-font-text] Move eol from template arg to main() arg - - util/hb-shape.cc | 11 +++++------ - util/hb-subset.cc | 11 +++++------ - util/main-font-text.hh | 4 ++-- - 3 files changed, 12 insertions(+), 14 deletions(-) - -commit 463411a1de4b9ca2e267a1ce0f9667da17a73d1e -Author: Behdad Esfahbod -Date: Thu Aug 5 11:44:35 2021 -0600 - - [util] Remove unused option_group_t - - util/hb-ot-shape-closure.cc | 2 +- - util/options.hh | 31 +++++++++++++------------------ - 2 files changed, 14 insertions(+), 19 deletions(-) - -commit 8588173ee6ace5926e090120fbcad85e5be1fab5 -Author: Behdad Esfahbod -Date: Thu Aug 5 11:43:25 2021 -0600 - - [util] Rework post_parse() handling - - util/options.hh | 16 ++++++++++------ - 1 file changed, 10 insertions(+), 6 deletions(-) - -commit 3362b48f5a5eee9fe6378787ffce3304b341e474 -Author: Behdad Esfahbod -Date: Thu Aug 5 11:30:39 2021 -0600 - - [util] Templatize add_group logic - - util/options.cc | 25 ------------------------- - util/options.hh | 22 +++++++++++++++++++++- - 2 files changed, 21 insertions(+), 26 deletions(-) - -commit fe90fbeba3b9ddca20e1ecc0feb99ddb8132f961 -Author: Behdad Esfahbod -Date: Thu Aug 5 11:22:20 2021 -0600 - - [util] Remove unused pre_parse callback logic - - util/options.cc | 13 +------------ - util/options.hh | 1 - - 2 files changed, 1 insertion(+), 13 deletions(-) - -commit 09e4d7dd306ceb58064b92ec3cfc3ad7900a7802 -Author: Behdad Esfahbod -Date: Thu Aug 5 11:21:20 2021 -0600 - - [util] Simplify output_options_t - - util/hb-ot-shape-closure.cc | 2 +- - util/hb-shape.cc | 9 +++------ - util/options.cc | 3 ++- - util/options.hh | 21 ++++++++------------- - util/view-cairo.hh | 5 +---- - 5 files changed, 15 insertions(+), 25 deletions(-) - -commit e109f9a6f9954f55a7ca2f336aa41a0235dca37b -Author: Behdad Esfahbod -Date: Thu Aug 5 11:05:51 2021 -0600 - - [util] Collect cmdline arg options outside of constructor - - util/hb-ot-shape-closure.cc | 8 ++------ - util/hb-shape.cc | 11 ++++++++--- - util/hb-subset.cc | 13 +++++++------ - util/main-font-text.hh | 16 +++++++++++----- - util/options.hh | 37 ++++++------------------------------- - util/shape-consumer.hh | 9 +++++---- - util/view-cairo.hh | 11 ++++++++--- - 7 files changed, 47 insertions(+), 58 deletions(-) - -commit e57dd6688937072ac1b5bf2cd45c8fb9e867abe1 -Author: Behdad Esfahbod -Date: Thu Aug 5 10:33:31 2021 -0600 - - [util] Initialize struct members inline - - util/hb-ot-shape-closure.cc | 13 ++- - util/hb-shape.cc | 20 ++--- - util/hb-subset.cc | 10 ++- - util/options.hh | 214 +++++++++++++++----------------------------- - util/shape-consumer.hh | 14 ++- - util/view-cairo.hh | 20 ++--- - 6 files changed, 110 insertions(+), 181 deletions(-) - -commit 21f1054d4718213c5b4e4abba7fe74979e93febe -Author: Behdad Esfahbod -Date: Wed Aug 4 20:23:48 2021 -0600 - - [util/hb-subset] Keep face around instead of font - - util/hb-subset.cc | 15 +++++++-------- - 1 file changed, 7 insertions(+), 8 deletions(-) - -commit 8c0c217b5a1ded98ce62a3c7394942bcb3b95396 -Author: Garret Rieger -Date: Fri Aug 6 10:45:38 2021 -0700 - - [subset] fail reference blob in face builder if allocation for table sorting fails. - - Fixes https://oss-fuzz.com/testcase-detail/5041767803125760 - - src/hb-face.cc | 6 ++++++ - ...zz-testcase-minimized-hb-subset-fuzzer-5041767803125760 | Bin 0 -> 29 bytes - 2 files changed, 6 insertions(+) - -commit e5bfd49ae5bc711a40e3fac9e3b8230f251e5d67 -Author: Garret Rieger -Date: Thu Aug 5 14:03:25 2021 -0700 - - [subset] don't allow table adds for tag == -1. - - src/hb-face.cc | 3 +++ - 1 file changed, 3 insertions(+) - -commit 222b74f08f8cc4a5e1b7c1582b28db5588ea11da -Author: Garret Rieger -Date: Thu Aug 5 11:39:26 2021 -0700 - - [subset] don't leak memory for duplicate tables. - - src/hb-face.cc | 2 ++ - 1 file changed, 2 insertions(+) - -commit f7a9c3ea9324caf83eaacd65a7493470d09198a3 -Author: Behdad Esfahbod -Date: Thu Aug 5 13:05:07 2021 -0600 - - [open-file] Use hb_is_source_of instead of hb_is_iterator - - src/hb-open-file.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit fa90cb8a3128d617d8a71b73085eb05af105f62c -Author: Behdad Esfahbod -Date: Thu Aug 5 12:31:06 2021 -0600 - - Whitespace again - - src/hb-open-file.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit a110a47eb5782cf35b6b042fd3c7565a204b6ff7 -Author: Behdad Esfahbod -Date: Thu Aug 5 12:28:39 2021 -0600 - - Whitespace - - src/hb-open-file.hh | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -commit 2cb8c928d75ae4c0ac491be60e65be4a77fe9705 -Author: Behdad Esfahbod -Date: Thu Aug 5 12:27:22 2021 -0600 - - [face] Let hashmap derive invalid key/value types - - Works now with the previous two fixes. - - src/hb-face.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 95c888e192909b18de6f38da8b6e4d8294416703 -Author: Behdad Esfahbod -Date: Thu Aug 5 12:27:02 2021 -0600 - - [meta] Define hb_int_min for pointer types as nullptr - - src/hb-meta.hh | 1 + - 1 file changed, 1 insertion(+) - -commit 407a112e7b743e75053ed2278416cb1bd5c91fac -Author: Behdad Esfahbod -Date: Thu Aug 5 12:23:53 2021 -0600 - - [meta] Make hb_is_signed/hb_is_unsigned work on all types - - They were failing if type was non-scalar, eg. pointer. - - src/hb-meta.hh | 16 ++++++++-------- - 1 file changed, 8 insertions(+), 8 deletions(-) - -commit baf2166a24554ba26ac88f800fc6f124a0adf706 -Author: Behdad Esfahbod -Date: Thu Aug 5 12:07:25 2021 -0600 - - [meta] Use hb_true_type/hb_false_type more - - src/hb-meta.hh | 14 +++++++------- - 1 file changed, 7 insertions(+), 7 deletions(-) - -commit 74ad5ddcd759140a1a35d38288d0e615538b66ca -Author: Behdad Esfahbod -Date: Thu Aug 5 11:51:54 2021 -0600 - - [face] Minor cleaning of previous commit - - src/hb-face.cc | 17 ++++++++--------- - 1 file changed, 8 insertions(+), 9 deletions(-) - -commit c2ee1fdd404e980303dd92882b1df816727a4b65 -Author: Garret Rieger -Date: Wed Aug 4 16:42:49 2021 -0700 - - [subset] remove unsed table_entry struct. - - src/hb-face.cc | 48 ++++++++------------- - src/hb-open-file.hh | 5 +-- - .../Comfortaa-Regular-new.default.61,62,63.ttf | Bin 7060 -> 7060 bytes - .../basics/Comfortaa-Regular-new.default.61,63.ttf | Bin 6692 -> 6692 bytes - .../basics/Comfortaa-Regular-new.default.61.ttf | Bin 6328 -> 6328 bytes - .../basics/Comfortaa-Regular-new.default.62.ttf | Bin 6200 -> 6200 bytes - .../basics/Comfortaa-Regular-new.default.63.ttf | Bin 6256 -> 6256 bytes - ...aa-Regular-new.default.retain-all-codepoint.ttf | Bin 222756 -> 222756 bytes - ...Regular-new.drop-hints-retain-gids.61,62,63.ttf | Bin 4608 -> 4608 bytes - ...aa-Regular-new.drop-hints-retain-gids.61,63.ttf | Bin 4312 -> 4312 bytes - ...ortaa-Regular-new.drop-hints-retain-gids.61.ttf | Bin 3724 -> 3724 bytes - ...ortaa-Regular-new.drop-hints-retain-gids.62.ttf | Bin 3900 -> 3900 bytes - ...ortaa-Regular-new.drop-hints-retain-gids.63.ttf | Bin 3972 -> 3972 bytes - ...drop-hints-retain-gids.retain-all-codepoint.ttf | Bin 191632 -> 191632 bytes - .../Comfortaa-Regular-new.drop-hints.61,62,63.ttf | Bin 2600 -> 2600 bytes - .../Comfortaa-Regular-new.drop-hints.61,63.ttf | Bin 2296 -> 2296 bytes - .../basics/Comfortaa-Regular-new.drop-hints.61.ttf | Bin 1976 -> 1976 bytes - .../basics/Comfortaa-Regular-new.drop-hints.62.ttf | Bin 1900 -> 1900 bytes - .../basics/Comfortaa-Regular-new.drop-hints.63.ttf | Bin 1968 -> 1968 bytes - ...Regular-new.drop-hints.retain-all-codepoint.ttf | Bin 191584 -> 191584 bytes - .../basics/Comfortaa-Regular-new.gids.61,62,63.ttf | Bin 7988 -> 7988 bytes - .../basics/Comfortaa-Regular-new.gids.61,63.ttf | Bin 7628 -> 7628 bytes - .../basics/Comfortaa-Regular-new.gids.61.ttf | Bin 7256 -> 7256 bytes - .../basics/Comfortaa-Regular-new.gids.62.ttf | Bin 7184 -> 7184 bytes - .../basics/Comfortaa-Regular-new.gids.63.ttf | Bin 7180 -> 7180 bytes - ...ortaa-Regular-new.gids.retain-all-codepoint.ttf | Bin 222756 -> 222756 bytes - .../Comfortaa-Regular-new.glyph-names.61,62,63.ttf | Bin 7072 -> 7072 bytes - .../Comfortaa-Regular-new.glyph-names.61,63.ttf | Bin 6700 -> 6700 bytes - .../Comfortaa-Regular-new.glyph-names.61.ttf | Bin 6336 -> 6336 bytes - .../Comfortaa-Regular-new.glyph-names.62.ttf | Bin 6208 -> 6208 bytes - .../Comfortaa-Regular-new.glyph-names.63.ttf | Bin 6264 -> 6264 bytes - ...egular-new.glyph-names.retain-all-codepoint.ttf | Bin 229748 -> 229748 bytes - ...gular-new.keep-all-layout-features.61,62,63.ttf | Bin 7508 -> 7508 bytes - ...-Regular-new.keep-all-layout-features.61,63.ttf | Bin 7144 -> 7144 bytes - ...taa-Regular-new.keep-all-layout-features.61.ttf | Bin 6776 -> 6776 bytes - ...taa-Regular-new.keep-all-layout-features.62.ttf | Bin 6200 -> 6200 bytes - ...taa-Regular-new.keep-all-layout-features.63.ttf | Bin 6256 -> 6256 bytes - ...ep-all-layout-features.retain-all-codepoint.ttf | Bin 223452 -> 223452 bytes - ...fortaa-Regular-new.layout-features.61,62,63.ttf | Bin 7060 -> 7060 bytes - ...Comfortaa-Regular-new.layout-features.61,63.ttf | Bin 6692 -> 6692 bytes - .../Comfortaa-Regular-new.layout-features.61.ttf | Bin 6328 -> 6328 bytes - .../Comfortaa-Regular-new.layout-features.62.ttf | Bin 6200 -> 6200 bytes - .../Comfortaa-Regular-new.layout-features.63.ttf | Bin 6256 -> 6256 bytes - ...ar-new.layout-features.retain-all-codepoint.ttf | Bin 220948 -> 220948 bytes - .../Comfortaa-Regular-new.name-ids.61,62,63.ttf | Bin 6800 -> 6800 bytes - .../Comfortaa-Regular-new.name-ids.61,63.ttf | Bin 6432 -> 6432 bytes - .../basics/Comfortaa-Regular-new.name-ids.61.ttf | Bin 6068 -> 6068 bytes - .../basics/Comfortaa-Regular-new.name-ids.62.ttf | Bin 5940 -> 5940 bytes - .../basics/Comfortaa-Regular-new.name-ids.63.ttf | Bin 5996 -> 5996 bytes - ...a-Regular-new.name-ids.retain-all-codepoint.ttf | Bin 222496 -> 222496 bytes - ...mfortaa-Regular-new.name-languages.61,62,63.ttf | Bin 7060 -> 7060 bytes - .../Comfortaa-Regular-new.name-languages.61,63.ttf | Bin 6692 -> 6692 bytes - .../Comfortaa-Regular-new.name-languages.61.ttf | Bin 6328 -> 6328 bytes - .../Comfortaa-Regular-new.name-languages.62.ttf | Bin 6200 -> 6200 bytes - .../Comfortaa-Regular-new.name-languages.63.ttf | Bin 6256 -> 6256 bytes - ...lar-new.name-languages.retain-all-codepoint.ttf | Bin 222756 -> 222756 bytes - .../Comfortaa-Regular-new.name-legacy.61,62,63.ttf | Bin 7060 -> 7060 bytes - .../Comfortaa-Regular-new.name-legacy.61,63.ttf | Bin 6692 -> 6692 bytes - .../Comfortaa-Regular-new.name-legacy.61.ttf | Bin 6328 -> 6328 bytes - .../Comfortaa-Regular-new.name-legacy.62.ttf | Bin 6200 -> 6200 bytes - .../Comfortaa-Regular-new.name-legacy.63.ttf | Bin 6256 -> 6256 bytes - ...egular-new.name-legacy.retain-all-codepoint.ttf | Bin 222756 -> 222756 bytes - ...egular-new.no-prune-unicode-ranges.61,62,63.ttf | Bin 7060 -> 7060 bytes - ...a-Regular-new.no-prune-unicode-ranges.61,63.ttf | Bin 6692 -> 6692 bytes - ...rtaa-Regular-new.no-prune-unicode-ranges.61.ttf | Bin 6328 -> 6328 bytes - ...rtaa-Regular-new.no-prune-unicode-ranges.62.ttf | Bin 6200 -> 6200 bytes - ...rtaa-Regular-new.no-prune-unicode-ranges.63.ttf | Bin 6256 -> 6256 bytes - ...o-prune-unicode-ranges.retain-all-codepoint.ttf | Bin 222756 -> 222756 bytes - ...mfortaa-Regular-new.notdef-outline.61,62,63.ttf | Bin 7652 -> 7652 bytes - .../Comfortaa-Regular-new.notdef-outline.61,63.ttf | Bin 7284 -> 7284 bytes - .../Comfortaa-Regular-new.notdef-outline.61.ttf | Bin 6920 -> 6920 bytes - .../Comfortaa-Regular-new.notdef-outline.62.ttf | Bin 6796 -> 6796 bytes - .../Comfortaa-Regular-new.notdef-outline.63.ttf | Bin 6844 -> 6844 bytes - ...lar-new.notdef-outline.retain-all-codepoint.ttf | Bin 223352 -> 223352 bytes - .../Comfortaa-Regular-new.retain-gids.61,62,63.ttf | Bin 9068 -> 9068 bytes - .../Comfortaa-Regular-new.retain-gids.61,63.ttf | Bin 8708 -> 8708 bytes - .../Comfortaa-Regular-new.retain-gids.61.ttf | Bin 8076 -> 8076 bytes - .../Comfortaa-Regular-new.retain-gids.62.ttf | Bin 8200 -> 8200 bytes - .../Comfortaa-Regular-new.retain-gids.63.ttf | Bin 8260 -> 8260 bytes - ...egular-new.retain-gids.retain-all-codepoint.ttf | Bin 222804 -> 222804 bytes - ...numMyeongjo-Regular-subset.default.61,62,63.ttf | Bin 4128 -> 4128 bytes - .../NanumMyeongjo-Regular-subset.default.61,63.ttf | Bin 3580 -> 3580 bytes - .../NanumMyeongjo-Regular-subset.default.61.ttf | Bin 3156 -> 3156 bytes - .../NanumMyeongjo-Regular-subset.default.62.ttf | Bin 3180 -> 3180 bytes - .../NanumMyeongjo-Regular-subset.default.63.ttf | Bin 3048 -> 3048 bytes - ...Regular-subset.default.retain-all-codepoint.ttf | Bin 9524 -> 9524 bytes - ...ular-subset.drop-hints-retain-gids.61,62,63.ttf | Bin 1452 -> 1452 bytes - ...Regular-subset.drop-hints-retain-gids.61,63.ttf | Bin 1284 -> 1284 bytes - ...jo-Regular-subset.drop-hints-retain-gids.61.ttf | Bin 1128 -> 1128 bytes - ...jo-Regular-subset.drop-hints-retain-gids.62.ttf | Bin 1144 -> 1144 bytes - ...jo-Regular-subset.drop-hints-retain-gids.63.ttf | Bin 1116 -> 1116 bytes - ...drop-hints-retain-gids.retain-all-codepoint.ttf | Bin 3536 -> 3536 bytes - ...Myeongjo-Regular-subset.drop-hints.61,62,63.ttf | Bin 1452 -> 1452 bytes - ...numMyeongjo-Regular-subset.drop-hints.61,63.ttf | Bin 1276 -> 1276 bytes - .../NanumMyeongjo-Regular-subset.drop-hints.61.ttf | Bin 1128 -> 1128 bytes - .../NanumMyeongjo-Regular-subset.drop-hints.62.ttf | Bin 1140 -> 1140 bytes - .../NanumMyeongjo-Regular-subset.drop-hints.63.ttf | Bin 1104 -> 1104 bytes - ...ular-subset.drop-hints.retain-all-codepoint.ttf | Bin 3536 -> 3536 bytes - .../NanumMyeongjo-Regular-subset.gids.61,62,63.ttf | Bin 4128 -> 4128 bytes - .../NanumMyeongjo-Regular-subset.gids.61,63.ttf | Bin 4128 -> 4128 bytes - .../NanumMyeongjo-Regular-subset.gids.61.ttf | Bin 4128 -> 4128 bytes - .../NanumMyeongjo-Regular-subset.gids.62.ttf | Bin 4128 -> 4128 bytes - .../NanumMyeongjo-Regular-subset.gids.63.ttf | Bin 4128 -> 4128 bytes - ...jo-Regular-subset.gids.retain-all-codepoint.ttf | Bin 9524 -> 9524 bytes - ...yeongjo-Regular-subset.glyph-names.61,62,63.ttf | Bin 4128 -> 4128 bytes - ...umMyeongjo-Regular-subset.glyph-names.61,63.ttf | Bin 3580 -> 3580 bytes - ...NanumMyeongjo-Regular-subset.glyph-names.61.ttf | Bin 3156 -> 3156 bytes - ...NanumMyeongjo-Regular-subset.glyph-names.62.ttf | Bin 3180 -> 3180 bytes - ...NanumMyeongjo-Regular-subset.glyph-names.63.ttf | Bin 3048 -> 3048 bytes - ...lar-subset.glyph-names.retain-all-codepoint.ttf | Bin 9524 -> 9524 bytes - ...ar-subset.keep-all-layout-features.61,62,63.ttf | Bin 4128 -> 4128 bytes - ...gular-subset.keep-all-layout-features.61,63.ttf | Bin 3580 -> 3580 bytes - ...-Regular-subset.keep-all-layout-features.61.ttf | Bin 3156 -> 3156 bytes - ...-Regular-subset.keep-all-layout-features.62.ttf | Bin 3180 -> 3180 bytes - ...-Regular-subset.keep-all-layout-features.63.ttf | Bin 3048 -> 3048 bytes - ...ep-all-layout-features.retain-all-codepoint.ttf | Bin 9524 -> 9524 bytes - ...gjo-Regular-subset.layout-features.61,62,63.ttf | Bin 4128 -> 4128 bytes - ...eongjo-Regular-subset.layout-features.61,63.ttf | Bin 3580 -> 3580 bytes - ...mMyeongjo-Regular-subset.layout-features.61.ttf | Bin 3156 -> 3156 bytes - ...mMyeongjo-Regular-subset.layout-features.62.ttf | Bin 3180 -> 3180 bytes - ...mMyeongjo-Regular-subset.layout-features.63.ttf | Bin 3048 -> 3048 bytes - ...subset.layout-features.retain-all-codepoint.ttf | Bin 9524 -> 9524 bytes - ...umMyeongjo-Regular-subset.name-ids.61,62,63.ttf | Bin 3924 -> 3924 bytes - ...NanumMyeongjo-Regular-subset.name-ids.61,63.ttf | Bin 3376 -> 3376 bytes - .../NanumMyeongjo-Regular-subset.name-ids.61.ttf | Bin 2952 -> 2952 bytes - .../NanumMyeongjo-Regular-subset.name-ids.62.ttf | Bin 2976 -> 2976 bytes - .../NanumMyeongjo-Regular-subset.name-ids.63.ttf | Bin 2844 -> 2844 bytes - ...egular-subset.name-ids.retain-all-codepoint.ttf | Bin 9320 -> 9320 bytes - ...ngjo-Regular-subset.name-languages.61,62,63.ttf | Bin 4172 -> 4172 bytes - ...yeongjo-Regular-subset.name-languages.61,63.ttf | Bin 3624 -> 3624 bytes - ...umMyeongjo-Regular-subset.name-languages.61.ttf | Bin 3200 -> 3200 bytes - ...umMyeongjo-Regular-subset.name-languages.62.ttf | Bin 3224 -> 3224 bytes - ...umMyeongjo-Regular-subset.name-languages.63.ttf | Bin 3092 -> 3092 bytes - ...-subset.name-languages.retain-all-codepoint.ttf | Bin 9568 -> 9568 bytes - ...yeongjo-Regular-subset.name-legacy.61,62,63.ttf | Bin 4128 -> 4128 bytes - ...umMyeongjo-Regular-subset.name-legacy.61,63.ttf | Bin 3580 -> 3580 bytes - ...NanumMyeongjo-Regular-subset.name-legacy.61.ttf | Bin 3156 -> 3156 bytes - ...NanumMyeongjo-Regular-subset.name-legacy.62.ttf | Bin 3180 -> 3180 bytes - ...NanumMyeongjo-Regular-subset.name-legacy.63.ttf | Bin 3048 -> 3048 bytes - ...lar-subset.name-legacy.retain-all-codepoint.ttf | Bin 9524 -> 9524 bytes - ...lar-subset.no-prune-unicode-ranges.61,62,63.ttf | Bin 4128 -> 4128 bytes - ...egular-subset.no-prune-unicode-ranges.61,63.ttf | Bin 3580 -> 3580 bytes - ...o-Regular-subset.no-prune-unicode-ranges.61.ttf | Bin 3156 -> 3156 bytes - ...o-Regular-subset.no-prune-unicode-ranges.62.ttf | Bin 3180 -> 3180 bytes - ...o-Regular-subset.no-prune-unicode-ranges.63.ttf | Bin 3048 -> 3048 bytes - ...o-prune-unicode-ranges.retain-all-codepoint.ttf | Bin 9524 -> 9524 bytes - ...ngjo-Regular-subset.notdef-outline.61,62,63.ttf | Bin 4128 -> 4128 bytes - ...yeongjo-Regular-subset.notdef-outline.61,63.ttf | Bin 3580 -> 3580 bytes - ...umMyeongjo-Regular-subset.notdef-outline.61.ttf | Bin 3156 -> 3156 bytes - ...umMyeongjo-Regular-subset.notdef-outline.62.ttf | Bin 3180 -> 3180 bytes - ...umMyeongjo-Regular-subset.notdef-outline.63.ttf | Bin 3048 -> 3048 bytes - ...-subset.notdef-outline.retain-all-codepoint.ttf | Bin 9524 -> 9524 bytes - ...yeongjo-Regular-subset.retain-gids.61,62,63.ttf | Bin 4128 -> 4128 bytes - ...umMyeongjo-Regular-subset.retain-gids.61,63.ttf | Bin 3588 -> 3588 bytes - ...NanumMyeongjo-Regular-subset.retain-gids.61.ttf | Bin 3156 -> 3156 bytes - ...NanumMyeongjo-Regular-subset.retain-gids.62.ttf | Bin 3184 -> 3184 bytes - ...NanumMyeongjo-Regular-subset.retain-gids.63.ttf | Bin 3060 -> 3060 bytes - ...lar-subset.retain-gids.retain-all-codepoint.ttf | Bin 9524 -> 9524 bytes - .../basics/Roboto-Regular.abc.default.61,62,63.ttf | Bin 2412 -> 2412 bytes - .../basics/Roboto-Regular.abc.default.61,63.ttf | Bin 2208 -> 2208 bytes - .../basics/Roboto-Regular.abc.default.61.ttf | Bin 2008 -> 2008 bytes - .../basics/Roboto-Regular.abc.default.62.ttf | Bin 1876 -> 1876 bytes - .../basics/Roboto-Regular.abc.default.63.ttf | Bin 1932 -> 1932 bytes - ...to-Regular.abc.default.retain-all-codepoint.ttf | Bin 2412 -> 2412 bytes - ...Regular.abc.drop-hints-retain-gids.61,62,63.ttf | Bin 1152 -> 1152 bytes - ...to-Regular.abc.drop-hints-retain-gids.61,63.ttf | Bin 1072 -> 1072 bytes - ...oboto-Regular.abc.drop-hints-retain-gids.61.ttf | Bin 944 -> 944 bytes - ...oboto-Regular.abc.drop-hints-retain-gids.62.ttf | Bin 840 -> 840 bytes - ...oboto-Regular.abc.drop-hints-retain-gids.63.ttf | Bin 928 -> 928 bytes - ...drop-hints-retain-gids.retain-all-codepoint.ttf | Bin 1152 -> 1152 bytes - .../Roboto-Regular.abc.drop-hints.61,62,63.ttf | Bin 1152 -> 1152 bytes - .../basics/Roboto-Regular.abc.drop-hints.61,63.ttf | Bin 1056 -> 1056 bytes - .../basics/Roboto-Regular.abc.drop-hints.61.ttf | Bin 944 -> 944 bytes - .../basics/Roboto-Regular.abc.drop-hints.62.ttf | Bin 836 -> 836 bytes - .../basics/Roboto-Regular.abc.drop-hints.63.ttf | Bin 916 -> 916 bytes - ...Regular.abc.drop-hints.retain-all-codepoint.ttf | Bin 1152 -> 1152 bytes - .../basics/Roboto-Regular.abc.gids.61,62,63.ttf | Bin 2412 -> 2412 bytes - .../basics/Roboto-Regular.abc.gids.61,63.ttf | Bin 2412 -> 2412 bytes - .../expected/basics/Roboto-Regular.abc.gids.61.ttf | Bin 2412 -> 2412 bytes - .../expected/basics/Roboto-Regular.abc.gids.62.ttf | Bin 2412 -> 2412 bytes - .../expected/basics/Roboto-Regular.abc.gids.63.ttf | Bin 2412 -> 2412 bytes - ...oboto-Regular.abc.gids.retain-all-codepoint.ttf | Bin 2412 -> 2412 bytes - .../Roboto-Regular.abc.glyph-names.61,62,63.ttf | Bin 2412 -> 2412 bytes - .../Roboto-Regular.abc.glyph-names.61,63.ttf | Bin 2208 -> 2208 bytes - .../basics/Roboto-Regular.abc.glyph-names.61.ttf | Bin 2008 -> 2008 bytes - .../basics/Roboto-Regular.abc.glyph-names.62.ttf | Bin 1876 -> 1876 bytes - .../basics/Roboto-Regular.abc.glyph-names.63.ttf | Bin 1932 -> 1932 bytes - ...egular.abc.glyph-names.retain-all-codepoint.ttf | Bin 2412 -> 2412 bytes - ...gular.abc.keep-all-layout-features.61,62,63.ttf | Bin 2412 -> 2412 bytes - ...-Regular.abc.keep-all-layout-features.61,63.ttf | Bin 2208 -> 2208 bytes - ...oto-Regular.abc.keep-all-layout-features.61.ttf | Bin 2008 -> 2008 bytes - ...oto-Regular.abc.keep-all-layout-features.62.ttf | Bin 1876 -> 1876 bytes - ...oto-Regular.abc.keep-all-layout-features.63.ttf | Bin 1932 -> 1932 bytes - ...ep-all-layout-features.retain-all-codepoint.ttf | Bin 2412 -> 2412 bytes - ...Roboto-Regular.abc.layout-features.61,62,63.ttf | Bin 2412 -> 2412 bytes - .../Roboto-Regular.abc.layout-features.61,63.ttf | Bin 2208 -> 2208 bytes - .../Roboto-Regular.abc.layout-features.61.ttf | Bin 2008 -> 2008 bytes - .../Roboto-Regular.abc.layout-features.62.ttf | Bin 1876 -> 1876 bytes - .../Roboto-Regular.abc.layout-features.63.ttf | Bin 1932 -> 1932 bytes - ...ar.abc.layout-features.retain-all-codepoint.ttf | Bin 2412 -> 2412 bytes - .../Roboto-Regular.abc.name-ids.61,62,63.ttf | Bin 2412 -> 2412 bytes - .../basics/Roboto-Regular.abc.name-ids.61,63.ttf | Bin 2208 -> 2208 bytes - .../basics/Roboto-Regular.abc.name-ids.61.ttf | Bin 2008 -> 2008 bytes - .../basics/Roboto-Regular.abc.name-ids.62.ttf | Bin 1876 -> 1876 bytes - .../basics/Roboto-Regular.abc.name-ids.63.ttf | Bin 1932 -> 1932 bytes - ...o-Regular.abc.name-ids.retain-all-codepoint.ttf | Bin 2412 -> 2412 bytes - .../Roboto-Regular.abc.name-languages.61,62,63.ttf | Bin 2412 -> 2412 bytes - .../Roboto-Regular.abc.name-languages.61,63.ttf | Bin 2208 -> 2208 bytes - .../Roboto-Regular.abc.name-languages.61.ttf | Bin 2008 -> 2008 bytes - .../Roboto-Regular.abc.name-languages.62.ttf | Bin 1876 -> 1876 bytes - .../Roboto-Regular.abc.name-languages.63.ttf | Bin 1932 -> 1932 bytes - ...lar.abc.name-languages.retain-all-codepoint.ttf | Bin 2412 -> 2412 bytes - .../Roboto-Regular.abc.name-legacy.61,62,63.ttf | Bin 2412 -> 2412 bytes - .../Roboto-Regular.abc.name-legacy.61,63.ttf | Bin 2208 -> 2208 bytes - .../basics/Roboto-Regular.abc.name-legacy.61.ttf | Bin 2008 -> 2008 bytes - .../basics/Roboto-Regular.abc.name-legacy.62.ttf | Bin 1876 -> 1876 bytes - .../basics/Roboto-Regular.abc.name-legacy.63.ttf | Bin 1932 -> 1932 bytes - ...egular.abc.name-legacy.retain-all-codepoint.ttf | Bin 2412 -> 2412 bytes - ...egular.abc.no-prune-unicode-ranges.61,62,63.ttf | Bin 2412 -> 2412 bytes - ...o-Regular.abc.no-prune-unicode-ranges.61,63.ttf | Bin 2208 -> 2208 bytes - ...boto-Regular.abc.no-prune-unicode-ranges.61.ttf | Bin 2008 -> 2008 bytes - ...boto-Regular.abc.no-prune-unicode-ranges.62.ttf | Bin 1876 -> 1876 bytes - ...boto-Regular.abc.no-prune-unicode-ranges.63.ttf | Bin 1932 -> 1932 bytes - ...o-prune-unicode-ranges.retain-all-codepoint.ttf | Bin 2412 -> 2412 bytes - .../Roboto-Regular.abc.notdef-outline.61,62,63.ttf | Bin 2412 -> 2412 bytes - .../Roboto-Regular.abc.notdef-outline.61,63.ttf | Bin 2208 -> 2208 bytes - .../Roboto-Regular.abc.notdef-outline.61.ttf | Bin 2008 -> 2008 bytes - .../Roboto-Regular.abc.notdef-outline.62.ttf | Bin 1876 -> 1876 bytes - .../Roboto-Regular.abc.notdef-outline.63.ttf | Bin 1932 -> 1932 bytes - ...lar.abc.notdef-outline.retain-all-codepoint.ttf | Bin 2412 -> 2412 bytes - .../Roboto-Regular.abc.retain-gids.61,62,63.ttf | Bin 2412 -> 2412 bytes - .../Roboto-Regular.abc.retain-gids.61,63.ttf | Bin 2224 -> 2224 bytes - .../basics/Roboto-Regular.abc.retain-gids.61.ttf | Bin 2008 -> 2008 bytes - .../basics/Roboto-Regular.abc.retain-gids.62.ttf | Bin 1884 -> 1884 bytes - .../basics/Roboto-Regular.abc.retain-gids.63.ttf | Bin 1948 -> 1948 bytes - ...egular.abc.retain-gids.retain-all-codepoint.ttf | Bin 2412 -> 2412 bytes - .../cbdt/NotoColorEmoji.subset.default.2049.ttf | Bin 3112 -> 3112 bytes - .../cbdt/NotoColorEmoji.subset.default.38,2049.ttf | Bin 4084 -> 4084 bytes - .../cbdt/NotoColorEmoji.subset.default.38,20E3.ttf | Bin 3568 -> 3568 bytes - ...rEmoji.subset.default.38,39,AE,2049,38,20E3.ttf | Bin 10124 -> 10124 bytes - .../NotoColorEmoji.subset.default.38,AE,2049.ttf | Bin 7544 -> 7544 bytes - .../cbdt/NotoColorEmoji.subset.default.39.ttf | Bin 1920 -> 1920 bytes - .../cbdt/NotoColorEmoji.subset.default.AE.ttf | Bin 4412 -> 4412 bytes - ...lorEmoji.subset.drop-hints-retain-gids.2049.ttf | Bin 3136 -> 3136 bytes - ...Emoji.subset.drop-hints-retain-gids.38,2049.ttf | Bin 4108 -> 4108 bytes - ...Emoji.subset.drop-hints-retain-gids.38,20E3.ttf | Bin 3600 -> 3600 bytes - ...rop-hints-retain-gids.38,39,AE,2049,38,20E3.ttf | Bin 10124 -> 10124 bytes - ...ji.subset.drop-hints-retain-gids.38,AE,2049.ttf | Bin 7564 -> 7564 bytes - ...ColorEmoji.subset.drop-hints-retain-gids.39.ttf | Bin 1928 -> 1928 bytes - ...ColorEmoji.subset.drop-hints-retain-gids.AE.ttf | Bin 4428 -> 4428 bytes - .../cbdt/NotoColorEmoji.subset.drop-hints.2049.ttf | Bin 3112 -> 3112 bytes - .../NotoColorEmoji.subset.drop-hints.38,2049.ttf | Bin 4084 -> 4084 bytes - .../NotoColorEmoji.subset.drop-hints.38,20E3.ttf | Bin 3568 -> 3568 bytes - ...oji.subset.drop-hints.38,39,AE,2049,38,20E3.ttf | Bin 10124 -> 10124 bytes - ...NotoColorEmoji.subset.drop-hints.38,AE,2049.ttf | Bin 7544 -> 7544 bytes - .../cbdt/NotoColorEmoji.subset.drop-hints.39.ttf | Bin 1920 -> 1920 bytes - .../cbdt/NotoColorEmoji.subset.drop-hints.AE.ttf | Bin 4412 -> 4412 bytes - .../NotoColorEmoji.subset.gap.default.2049.ttf | Bin 3112 -> 3112 bytes - .../NotoColorEmoji.subset.gap.default.38,2049.ttf | Bin 4084 -> 4084 bytes - .../NotoColorEmoji.subset.gap.default.38,20E3.ttf | Bin 3568 -> 3568 bytes - ...ji.subset.gap.default.38,39,AE,2049,38,20E3.ttf | Bin 9188 -> 9188 bytes - ...otoColorEmoji.subset.gap.default.38,AE,2049.ttf | Bin 7544 -> 7544 bytes - .../cbdt/NotoColorEmoji.subset.gap.default.39.ttf | Bin 908 -> 908 bytes - .../cbdt/NotoColorEmoji.subset.gap.default.AE.ttf | Bin 4412 -> 4412 bytes - ...moji.subset.gap.drop-hints-retain-gids.2049.ttf | Bin 3136 -> 3136 bytes - ...i.subset.gap.drop-hints-retain-gids.38,2049.ttf | Bin 4108 -> 4108 bytes - ...i.subset.gap.drop-hints-retain-gids.38,20E3.ttf | Bin 3600 -> 3600 bytes - ...rop-hints-retain-gids.38,39,AE,2049,38,20E3.ttf | Bin 9188 -> 9188 bytes - ...ubset.gap.drop-hints-retain-gids.38,AE,2049.ttf | Bin 7564 -> 7564 bytes - ...rEmoji.subset.gap.drop-hints-retain-gids.39.ttf | Bin 916 -> 916 bytes - ...rEmoji.subset.gap.drop-hints-retain-gids.AE.ttf | Bin 4428 -> 4428 bytes - .../NotoColorEmoji.subset.gap.drop-hints.2049.ttf | Bin 3112 -> 3112 bytes - ...otoColorEmoji.subset.gap.drop-hints.38,2049.ttf | Bin 4084 -> 4084 bytes - ...otoColorEmoji.subset.gap.drop-hints.38,20E3.ttf | Bin 3568 -> 3568 bytes - ...subset.gap.drop-hints.38,39,AE,2049,38,20E3.ttf | Bin 9188 -> 9188 bytes - ...ColorEmoji.subset.gap.drop-hints.38,AE,2049.ttf | Bin 7544 -> 7544 bytes - .../NotoColorEmoji.subset.gap.drop-hints.39.ttf | Bin 908 -> 908 bytes - .../NotoColorEmoji.subset.gap.drop-hints.AE.ttf | Bin 4412 -> 4412 bytes - .../NotoColorEmoji.subset.gap.retain-gids.2049.ttf | Bin 3136 -> 3136 bytes - ...toColorEmoji.subset.gap.retain-gids.38,2049.ttf | Bin 4108 -> 4108 bytes - ...toColorEmoji.subset.gap.retain-gids.38,20E3.ttf | Bin 3600 -> 3600 bytes - ...ubset.gap.retain-gids.38,39,AE,2049,38,20E3.ttf | Bin 9188 -> 9188 bytes - ...olorEmoji.subset.gap.retain-gids.38,AE,2049.ttf | Bin 7564 -> 7564 bytes - .../NotoColorEmoji.subset.gap.retain-gids.39.ttf | Bin 916 -> 916 bytes - .../NotoColorEmoji.subset.gap.retain-gids.AE.ttf | Bin 4428 -> 4428 bytes - ...olorEmoji.subset.index_format3.default.2049.ttf | Bin 3108 -> 3108 bytes - ...rEmoji.subset.index_format3.default.38,2049.ttf | Bin 4076 -> 4076 bytes - ...rEmoji.subset.index_format3.default.38,20E3.ttf | Bin 3560 -> 3560 bytes - ...index_format3.default.38,39,AE,2049,38,20E3.ttf | Bin 10112 -> 10112 bytes - ...oji.subset.index_format3.default.38,AE,2049.ttf | Bin 7536 -> 7536 bytes - ...oColorEmoji.subset.index_format3.default.39.ttf | Bin 1916 -> 1916 bytes - ...oColorEmoji.subset.index_format3.default.AE.ttf | Bin 4408 -> 4408 bytes - ...t.index_format3.drop-hints-retain-gids.2049.ttf | Bin 3132 -> 3132 bytes - ...ndex_format3.drop-hints-retain-gids.38,2049.ttf | Bin 4100 -> 4100 bytes - ...ndex_format3.drop-hints-retain-gids.38,20E3.ttf | Bin 3592 -> 3592 bytes - ...rop-hints-retain-gids.38,39,AE,2049,38,20E3.ttf | Bin 10112 -> 10112 bytes - ...x_format3.drop-hints-retain-gids.38,AE,2049.ttf | Bin 7552 -> 7552 bytes - ...set.index_format3.drop-hints-retain-gids.39.ttf | Bin 1924 -> 1924 bytes - ...set.index_format3.drop-hints-retain-gids.AE.ttf | Bin 4424 -> 4424 bytes - ...rEmoji.subset.index_format3.drop-hints.2049.ttf | Bin 3108 -> 3108 bytes - ...oji.subset.index_format3.drop-hints.38,2049.ttf | Bin 4076 -> 4076 bytes - ...oji.subset.index_format3.drop-hints.38,20E3.ttf | Bin 3560 -> 3560 bytes - ...ex_format3.drop-hints.38,39,AE,2049,38,20E3.ttf | Bin 10112 -> 10112 bytes - ....subset.index_format3.drop-hints.38,AE,2049.ttf | Bin 7536 -> 7536 bytes - ...lorEmoji.subset.index_format3.drop-hints.39.ttf | Bin 1916 -> 1916 bytes - ...lorEmoji.subset.index_format3.drop-hints.AE.ttf | Bin 4408 -> 4408 bytes - ...Emoji.subset.index_format3.retain-gids.2049.ttf | Bin 3132 -> 3132 bytes - ...ji.subset.index_format3.retain-gids.38,2049.ttf | Bin 4100 -> 4100 bytes - ...ji.subset.index_format3.retain-gids.38,20E3.ttf | Bin 3592 -> 3592 bytes - ...x_format3.retain-gids.38,39,AE,2049,38,20E3.ttf | Bin 10112 -> 10112 bytes - ...subset.index_format3.retain-gids.38,AE,2049.ttf | Bin 7552 -> 7552 bytes - ...orEmoji.subset.index_format3.retain-gids.39.ttf | Bin 1924 -> 1924 bytes - ...orEmoji.subset.index_format3.retain-gids.AE.ttf | Bin 4424 -> 4424 bytes - ...ji.subset.multiple_size_tables.default.2049.ttf | Bin 5312 -> 5312 bytes - ...subset.multiple_size_tables.default.38,2049.ttf | Bin 7244 -> 7244 bytes - ...subset.multiple_size_tables.default.38,20E3.ttf | Bin 6212 -> 6212 bytes - ...e_size_tables.default.38,39,AE,2049,38,20E3.ttf | Bin 19280 -> 19280 bytes - ...set.multiple_size_tables.default.38,AE,2049.ttf | Bin 14140 -> 14140 bytes - ...moji.subset.multiple_size_tables.default.39.ttf | Bin 2928 -> 2928 bytes - ...moji.subset.multiple_size_tables.default.AE.ttf | Bin 7916 -> 7916 bytes - ...ple_size_tables.drop-hints-retain-gids.2049.ttf | Bin 5336 -> 5336 bytes - ..._size_tables.drop-hints-retain-gids.38,2049.ttf | Bin 7268 -> 7268 bytes - ..._size_tables.drop-hints-retain-gids.38,20E3.ttf | Bin 6244 -> 6244 bytes - ...rop-hints-retain-gids.38,39,AE,2049,38,20E3.ttf | Bin 19280 -> 19280 bytes - ...ze_tables.drop-hints-retain-gids.38,AE,2049.ttf | Bin 14164 -> 14164 bytes - ...tiple_size_tables.drop-hints-retain-gids.39.ttf | Bin 2936 -> 2936 bytes - ...tiple_size_tables.drop-hints-retain-gids.AE.ttf | Bin 7932 -> 7932 bytes - ...subset.multiple_size_tables.drop-hints.2049.ttf | Bin 5312 -> 5312 bytes - ...set.multiple_size_tables.drop-hints.38,2049.ttf | Bin 7244 -> 7244 bytes - ...set.multiple_size_tables.drop-hints.38,20E3.ttf | Bin 6212 -> 6212 bytes - ...ize_tables.drop-hints.38,39,AE,2049,38,20E3.ttf | Bin 19280 -> 19280 bytes - ....multiple_size_tables.drop-hints.38,AE,2049.ttf | Bin 14140 -> 14140 bytes - ...i.subset.multiple_size_tables.drop-hints.39.ttf | Bin 2928 -> 2928 bytes - ...i.subset.multiple_size_tables.drop-hints.AE.ttf | Bin 7916 -> 7916 bytes - ...ubset.multiple_size_tables.retain-gids.2049.ttf | Bin 5336 -> 5336 bytes - ...et.multiple_size_tables.retain-gids.38,2049.ttf | Bin 7268 -> 7268 bytes - ...et.multiple_size_tables.retain-gids.38,20E3.ttf | Bin 6244 -> 6244 bytes - ...ze_tables.retain-gids.38,39,AE,2049,38,20E3.ttf | Bin 19280 -> 19280 bytes - ...multiple_size_tables.retain-gids.38,AE,2049.ttf | Bin 14164 -> 14164 bytes - ....subset.multiple_size_tables.retain-gids.39.ttf | Bin 2936 -> 2936 bytes - ....subset.multiple_size_tables.retain-gids.AE.ttf | Bin 7932 -> 7932 bytes - .../NotoColorEmoji.subset.retain-gids.2049.ttf | Bin 3136 -> 3136 bytes - .../NotoColorEmoji.subset.retain-gids.38,2049.ttf | Bin 4108 -> 4108 bytes - .../NotoColorEmoji.subset.retain-gids.38,20E3.ttf | Bin 3600 -> 3600 bytes - ...ji.subset.retain-gids.38,39,AE,2049,38,20E3.ttf | Bin 10124 -> 10124 bytes - ...otoColorEmoji.subset.retain-gids.38,AE,2049.ttf | Bin 7564 -> 7564 bytes - .../cbdt/NotoColorEmoji.subset.retain-gids.39.ttf | Bin 1928 -> 1928 bytes - .../cbdt/NotoColorEmoji.subset.retain-gids.AE.ttf | Bin 4428 -> 4428 bytes - ...subroutinize-retain-gids.1FC,21,41,20,62,63.otf | Bin 20128 -> 20128 bytes - ...outline-desubroutinize-retain-gids.61,62,63.otf | Bin 2280 -> 2280 bytes - ...e-desubroutinize-retain-gids.D7,D8,D9,DA,DE.otf | Bin 30448 -> 30448 bytes - ...f-outline-desubroutinize.1FC,21,41,20,62,63.otf | Bin 2356 -> 2356 bytes - ...ular.notdef-outline-desubroutinize.61,62,63.otf | Bin 2084 -> 2084 bytes - ...otdef-outline-desubroutinize.D7,D8,D9,DA,DE.otf | Bin 2252 -> 2252 bytes - ...subroutinize-retain-gids.1FC,21,41,20,62,63.otf | Bin 19960 -> 19960 bytes - ...p-hints-desubroutinize-retain-gids.61,62,63.otf | Bin 2156 -> 2156 bytes - ...s-desubroutinize-retain-gids.D7,D8,D9,DA,DE.otf | Bin 30280 -> 30280 bytes - ...rop-hints-desubroutinize.1FC,21,41,20,62,63.otf | Bin 2184 -> 2184 bytes - ...-outline-drop-hints-desubroutinize.61,62,63.otf | Bin 1960 -> 1960 bytes - ...ne-drop-hints-desubroutinize.D7,D8,D9,DA,DE.otf | Bin 2088 -> 2088 bytes - ...e-drop-hints-retain-gids.1FC,21,41,20,62,63.otf | Bin 20052 -> 20052 bytes - ...def-outline-drop-hints-retain-gids.61,62,63.otf | Bin 2196 -> 2196 bytes - ...tline-drop-hints-retain-gids.D7,D8,D9,DA,DE.otf | Bin 30296 -> 30296 bytes - ...otdef-outline-drop-hints.1FC,21,41,20,62,63.otf | Bin 2268 -> 2268 bytes - ...-Regular.notdef-outline-drop-hints.61,62,63.otf | Bin 2028 -> 2028 bytes - ...ar.notdef-outline-drop-hints.D7,D8,D9,DA,DE.otf | Bin 2104 -> 2104 bytes - ...tdef-outline-retain-gids.1FC,21,41,20,62,63.otf | Bin 20284 -> 20284 bytes - ...Regular.notdef-outline-retain-gids.61,62,63.otf | Bin 2348 -> 2348 bytes - ...r.notdef-outline-retain-gids.D7,D8,D9,DA,DE.otf | Bin 30464 -> 30464 bytes - ...o-Regular.notdef-outline.1FC,21,41,20,62,63.otf | Bin 2500 -> 2500 bytes - ...urceSansPro-Regular.notdef-outline.61,62,63.otf | Bin 2180 -> 2180 bytes - ...nsPro-Regular.notdef-outline.D7,D8,D9,DA,DE.otf | Bin 2272 -> 2272 bytes - ...ubset.default.3042,3044,3046,3048,304A,304B.otf | Bin 4820 -> 4820 bytes - ...ubset.default.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 6196 -> 6196 bytes - ...eHanSans-Regular_subset.default.61,63,65,6B.otf | Bin 2540 -> 2540 bytes - ...ubset.default.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 6640 -> 6640 bytes - .../SourceHanSans-Regular_subset.default.660E.otf | Bin 2444 -> 2444 bytes - ...e-retain-gids.3042,3044,3046,3048,304A,304B.otf | Bin 129820 -> 129820 bytes - ...e-retain-gids.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 130840 -> 130840 bytes - ...bset.desubroutinize-retain-gids.61,63,65,6B.otf | Bin 3364 -> 3364 bytes - ...e-retain-gids.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 121956 -> 121956 bytes - ...ular_subset.desubroutinize-retain-gids.660E.otf | Bin 50744 -> 50744 bytes - ...esubroutinize.3042,3044,3046,3048,304A,304B.otf | Bin 4656 -> 4656 bytes - ...esubroutinize.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 5840 -> 5840 bytes - ...s-Regular_subset.desubroutinize.61,63,65,6B.otf | Bin 2472 -> 2472 bytes - ...esubroutinize.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 6132 -> 6132 bytes - ...eHanSans-Regular_subset.desubroutinize.660E.otf | Bin 2428 -> 2428 bytes - ...e-retain-gids.3042,3044,3046,3048,304A,304B.otf | Bin 129376 -> 129376 bytes - ...e-retain-gids.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 130220 -> 130220 bytes - ...ints-desubroutinize-retain-gids.61,63,65,6B.otf | Bin 3244 -> 3244 bytes - ...e-retain-gids.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 121180 -> 121180 bytes - ....drop-hints-desubroutinize-retain-gids.660E.otf | Bin 50516 -> 50516 bytes - ...esubroutinize.3042,3044,3046,3048,304A,304B.otf | Bin 4348 -> 4348 bytes - ...esubroutinize.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 5324 -> 5324 bytes - ...ubset.drop-hints-desubroutinize.61,63,65,6B.otf | Bin 2368 -> 2368 bytes - ...esubroutinize.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 5456 -> 5456 bytes - ...gular_subset.drop-hints-desubroutinize.660E.otf | Bin 2292 -> 2292 bytes - ...s-retain-gids.3042,3044,3046,3048,304A,304B.otf | Bin 129516 -> 129516 bytes - ...s-retain-gids.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 130528 -> 130528 bytes - ...r_subset.drop-hints-retain-gids.61,63,65,6B.otf | Bin 3208 -> 3208 bytes - ...s-retain-gids.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 121680 -> 121680 bytes - ...-Regular_subset.drop-hints-retain-gids.660E.otf | Bin 50532 -> 50532 bytes - ...et.drop-hints.3042,3044,3046,3048,304A,304B.otf | Bin 4484 -> 4484 bytes - ...et.drop-hints.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 5628 -> 5628 bytes - ...nSans-Regular_subset.drop-hints.61,63,65,6B.otf | Bin 2400 -> 2400 bytes - ...et.drop-hints.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 5952 -> 5952 bytes - ...ourceHanSans-Regular_subset.drop-hints.660E.otf | Bin 2304 -> 2304 bytes - ...t.retain-gids.3042,3044,3046,3048,304A,304B.otf | Bin 129980 -> 129980 bytes - ...t.retain-gids.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 131196 -> 131196 bytes - ...Sans-Regular_subset.retain-gids.61,63,65,6B.otf | Bin 3364 -> 3364 bytes - ...t.retain-gids.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 122460 -> 122460 bytes - ...urceHanSans-Regular_subset.retain-gids.660E.otf | Bin 50760 -> 50760 bytes - ...otoSerifMyanmar-Regular.notdef-outline.1092.otf | Bin 1392 -> 1392 bytes - .../cmap/AdobeBlank-Regular.default.61,62.ttf | Bin 1208 -> 1208 bytes - .../cmap/AdobeBlank-Regular.default.61,FEFA.ttf | Bin 1264 -> 1264 bytes - .../cmap/AdobeBlank-Regular.default.FEE6,FECF.ttf | Bin 1216 -> 1216 bytes - .../cmap/AdobeBlank-Regular.default.FEF9,FEFA.ttf | Bin 1204 -> 1204 bytes - .../cmap/AdobeBlank-Regular.default.FEFA.ttf | Bin 1184 -> 1184 bytes - ...eBlank-Regular.drop-hints-retain-gids.61,62.ttf | Bin 1424 -> 1424 bytes - ...lank-Regular.drop-hints-retain-gids.61,FEFA.ttf | Bin 8232 -> 8232 bytes - ...nk-Regular.drop-hints-retain-gids.FEE6,FECF.ttf | Bin 8104 -> 8104 bytes - ...nk-Regular.drop-hints-retain-gids.FEF9,FEFA.ttf | Bin 8172 -> 8172 bytes - ...beBlank-Regular.drop-hints-retain-gids.FEFA.ttf | Bin 8156 -> 8156 bytes - .../cmap/AdobeBlank-Regular.drop-hints.61,62.ttf | Bin 1036 -> 1036 bytes - .../cmap/AdobeBlank-Regular.drop-hints.61,FEFA.ttf | Bin 1092 -> 1092 bytes - .../AdobeBlank-Regular.drop-hints.FEE6,FECF.ttf | Bin 1044 -> 1044 bytes - .../AdobeBlank-Regular.drop-hints.FEF9,FEFA.ttf | Bin 1032 -> 1032 bytes - .../cmap/AdobeBlank-Regular.drop-hints.FEFA.ttf | Bin 1012 -> 1012 bytes - .../cmap/AdobeBlank-Regular.name-ids.61,62.ttf | Bin 956 -> 956 bytes - .../cmap/AdobeBlank-Regular.name-ids.61,FEFA.ttf | Bin 1012 -> 1012 bytes - .../cmap/AdobeBlank-Regular.name-ids.FEE6,FECF.ttf | Bin 964 -> 964 bytes - .../cmap/AdobeBlank-Regular.name-ids.FEF9,FEFA.ttf | Bin 952 -> 952 bytes - .../cmap/AdobeBlank-Regular.name-ids.FEFA.ttf | Bin 932 -> 932 bytes - .../cmap/AdobeBlank-Regular.retain-gids.61,62.ttf | Bin 1596 -> 1596 bytes - .../AdobeBlank-Regular.retain-gids.61,FEFA.ttf | Bin 8404 -> 8404 bytes - .../AdobeBlank-Regular.retain-gids.FEE6,FECF.ttf | Bin 8276 -> 8276 bytes - .../AdobeBlank-Regular.retain-gids.FEF9,FEFA.ttf | Bin 8344 -> 8344 bytes - .../cmap/AdobeBlank-Regular.retain-gids.FEFA.ttf | Bin 8328 -> 8328 bytes - ...tline-drop-hints-retain-gids.4E00,4E02,4E03.otf | Bin 1404 -> 1404 bytes - ...ef-outline-drop-hints-retain-gids.4E00,4E03.otf | Bin 1292 -> 1292 bytes - ...tline-drop-hints-retain-gids.4E00,4E05,4E07.otf | Bin 1416 -> 1416 bytes - ...tline-drop-hints-retain-gids.4E02,4E03,4E08.otf | Bin 1736 -> 1736 bytes - ....notdef-outline-drop-hints-retain-gids.4E02.otf | Bin 1048 -> 1048 bytes - ....notdef-outline-drop-hints-retain-gids.4E03.otf | Bin 1140 -> 1140 bytes - ...-drop-hints-retain-gids.4E05,4E07,4E08,4E09.otf | Bin 2000 -> 2000 bytes - ...ef-outline-drop-hints-retain-gids.4E08,4E09.otf | Bin 1888 -> 1888 bytes - ....notdef-outline-drop-hints-retain-gids.4E08.otf | Bin 1560 -> 1560 bytes - ...drop-hints-retain-gids.retain-all-codepoint.otf | Bin 2452 -> 2452 bytes - ...t1.notdef-outline-drop-hints.4E00,4E02,4E03.otf | Bin 1308 -> 1308 bytes - ...4_font1.notdef-outline-drop-hints.4E00,4E03.otf | Bin 1188 -> 1188 bytes - ...t1.notdef-outline-drop-hints.4E00,4E05,4E07.otf | Bin 1280 -> 1280 bytes - ...t1.notdef-outline-drop-hints.4E02,4E03,4E08.otf | Bin 1528 -> 1528 bytes - ...cmap14_font1.notdef-outline-drop-hints.4E02.otf | Bin 944 -> 944 bytes - ...cmap14_font1.notdef-outline-drop-hints.4E03.otf | Bin 1028 -> 1028 bytes - ...tdef-outline-drop-hints.4E05,4E07,4E08,4E09.otf | Bin 1796 -> 1796 bytes - ...4_font1.notdef-outline-drop-hints.4E08,4E09.otf | Bin 1672 -> 1672 bytes - ...cmap14_font1.notdef-outline-drop-hints.4E08.otf | Bin 1336 -> 1336 bytes - ...def-outline-drop-hints.retain-all-codepoint.otf | Bin 2296 -> 2296 bytes - ...14_font1.notdef-outline-gids.4E00,4E02,4E03.otf | Bin 1408 -> 1408 bytes - .../cmap14_font1.notdef-outline-gids.4E00,4E03.otf | Bin 1396 -> 1396 bytes - ...14_font1.notdef-outline-gids.4E00,4E05,4E07.otf | Bin 1640 -> 1640 bytes - ...14_font1.notdef-outline-gids.4E02,4E03,4E08.otf | Bin 1760 -> 1760 bytes - .../cmap14_font1.notdef-outline-gids.4E02.otf | Bin 1332 -> 1332 bytes - .../cmap14_font1.notdef-outline-gids.4E03.otf | Bin 1372 -> 1372 bytes - ...nt1.notdef-outline-gids.4E05,4E07,4E08,4E09.otf | Bin 2184 -> 2184 bytes - .../cmap14_font1.notdef-outline-gids.4E08,4E09.otf | Bin 2056 -> 2056 bytes - .../cmap14_font1.notdef-outline-gids.4E08.otf | Bin 1720 -> 1720 bytes - ...t1.notdef-outline-gids.retain-all-codepoint.otf | Bin 2400 -> 2400 bytes - ...ont1.notdef-outline-name-ids.4E00,4E02,4E03.otf | Bin 1308 -> 1308 bytes - ...p14_font1.notdef-outline-name-ids.4E00,4E03.otf | Bin 1184 -> 1184 bytes - ...ont1.notdef-outline-name-ids.4E00,4E05,4E07.otf | Bin 1280 -> 1280 bytes - ...ont1.notdef-outline-name-ids.4E02,4E03,4E08.otf | Bin 1528 -> 1528 bytes - .../cmap14_font1.notdef-outline-name-ids.4E02.otf | Bin 944 -> 944 bytes - .../cmap14_font1.notdef-outline-name-ids.4E03.otf | Bin 1028 -> 1028 bytes - ...notdef-outline-name-ids.4E05,4E07,4E08,4E09.otf | Bin 1796 -> 1796 bytes - ...p14_font1.notdef-outline-name-ids.4E08,4E09.otf | Bin 1668 -> 1668 bytes - .../cmap14_font1.notdef-outline-name-ids.4E08.otf | Bin 1336 -> 1336 bytes - ...otdef-outline-name-ids.retain-all-codepoint.otf | Bin 2296 -> 2296 bytes - ...1.notdef-outline-retain-gids.4E00,4E02,4E03.otf | Bin 1472 -> 1472 bytes - ..._font1.notdef-outline-retain-gids.4E00,4E03.otf | Bin 1360 -> 1360 bytes - ...1.notdef-outline-retain-gids.4E00,4E05,4E07.otf | Bin 1480 -> 1480 bytes - ...1.notdef-outline-retain-gids.4E02,4E03,4E08.otf | Bin 1804 -> 1804 bytes - ...map14_font1.notdef-outline-retain-gids.4E02.otf | Bin 1116 -> 1116 bytes - ...map14_font1.notdef-outline-retain-gids.4E03.otf | Bin 1208 -> 1208 bytes - ...def-outline-retain-gids.4E05,4E07,4E08,4E09.otf | Bin 2068 -> 2068 bytes - ..._font1.notdef-outline-retain-gids.4E08,4E09.otf | Bin 1956 -> 1956 bytes - ...map14_font1.notdef-outline-retain-gids.4E08.otf | Bin 1628 -> 1628 bytes - ...ef-outline-retain-gids.retain-all-codepoint.otf | Bin 2520 -> 2520 bytes - .../cmap14_font1.notdef-outline.4E00,4E02,4E03.otf | Bin 1376 -> 1376 bytes - .../cmap14_font1.notdef-outline.4E00,4E03.otf | Bin 1252 -> 1252 bytes - .../cmap14_font1.notdef-outline.4E00,4E05,4E07.otf | Bin 1348 -> 1348 bytes - .../cmap14_font1.notdef-outline.4E02,4E03,4E08.otf | Bin 1596 -> 1596 bytes - .../cmap14/cmap14_font1.notdef-outline.4E02.otf | Bin 1012 -> 1012 bytes - .../cmap14/cmap14_font1.notdef-outline.4E03.otf | Bin 1096 -> 1096 bytes - ...14_font1.notdef-outline.4E05,4E07,4E08,4E09.otf | Bin 1864 -> 1864 bytes - .../cmap14_font1.notdef-outline.4E08,4E09.otf | Bin 1736 -> 1736 bytes - .../cmap14/cmap14_font1.notdef-outline.4E08.otf | Bin 1404 -> 1404 bytes - ...4_font1.notdef-outline.retain-all-codepoint.otf | Bin 2364 -> 2364 bytes - ...tline-drop-hints-retain-gids.4E00,4E02,4E03.otf | Bin 1404 -> 1404 bytes - ...ef-outline-drop-hints-retain-gids.4E00,4E03.otf | Bin 1292 -> 1292 bytes - ...tline-drop-hints-retain-gids.4E00,4E05,4E07.otf | Bin 1420 -> 1420 bytes - ...tline-drop-hints-retain-gids.4E02,4E03,4E08.otf | Bin 1736 -> 1736 bytes - ....notdef-outline-drop-hints-retain-gids.4E02.otf | Bin 1044 -> 1044 bytes - ....notdef-outline-drop-hints-retain-gids.4E03.otf | Bin 1136 -> 1136 bytes - ...-drop-hints-retain-gids.4E05,4E07,4E08,4E09.otf | Bin 2000 -> 2000 bytes - ...ef-outline-drop-hints-retain-gids.4E08,4E09.otf | Bin 1884 -> 1884 bytes - ....notdef-outline-drop-hints-retain-gids.4E08.otf | Bin 1556 -> 1556 bytes - ...drop-hints-retain-gids.retain-all-codepoint.otf | Bin 2448 -> 2448 bytes - ...t2.notdef-outline-drop-hints.4E00,4E02,4E03.otf | Bin 1308 -> 1308 bytes - ...4_font2.notdef-outline-drop-hints.4E00,4E03.otf | Bin 1188 -> 1188 bytes - ...t2.notdef-outline-drop-hints.4E00,4E05,4E07.otf | Bin 1284 -> 1284 bytes - ...t2.notdef-outline-drop-hints.4E02,4E03,4E08.otf | Bin 1528 -> 1528 bytes - ...cmap14_font2.notdef-outline-drop-hints.4E02.otf | Bin 940 -> 940 bytes - ...cmap14_font2.notdef-outline-drop-hints.4E03.otf | Bin 1024 -> 1024 bytes - ...tdef-outline-drop-hints.4E05,4E07,4E08,4E09.otf | Bin 1796 -> 1796 bytes - ...4_font2.notdef-outline-drop-hints.4E08,4E09.otf | Bin 1668 -> 1668 bytes - ...cmap14_font2.notdef-outline-drop-hints.4E08.otf | Bin 1332 -> 1332 bytes - ...def-outline-drop-hints.retain-all-codepoint.otf | Bin 2292 -> 2292 bytes - ...14_font2.notdef-outline-gids.4E00,4E02,4E03.otf | Bin 1408 -> 1408 bytes - .../cmap14_font2.notdef-outline-gids.4E00,4E03.otf | Bin 1396 -> 1396 bytes - ...14_font2.notdef-outline-gids.4E00,4E05,4E07.otf | Bin 1644 -> 1644 bytes - ...14_font2.notdef-outline-gids.4E02,4E03,4E08.otf | Bin 1760 -> 1760 bytes - .../cmap14_font2.notdef-outline-gids.4E02.otf | Bin 1328 -> 1328 bytes - .../cmap14_font2.notdef-outline-gids.4E03.otf | Bin 1368 -> 1368 bytes - ...nt2.notdef-outline-gids.4E05,4E07,4E08,4E09.otf | Bin 2184 -> 2184 bytes - .../cmap14_font2.notdef-outline-gids.4E08,4E09.otf | Bin 2052 -> 2052 bytes - .../cmap14_font2.notdef-outline-gids.4E08.otf | Bin 1716 -> 1716 bytes - ...t2.notdef-outline-gids.retain-all-codepoint.otf | Bin 2396 -> 2396 bytes - ...ont2.notdef-outline-name-ids.4E00,4E02,4E03.otf | Bin 1308 -> 1308 bytes - ...p14_font2.notdef-outline-name-ids.4E00,4E03.otf | Bin 1184 -> 1184 bytes - ...ont2.notdef-outline-name-ids.4E00,4E05,4E07.otf | Bin 1284 -> 1284 bytes - ...ont2.notdef-outline-name-ids.4E02,4E03,4E08.otf | Bin 1528 -> 1528 bytes - .../cmap14_font2.notdef-outline-name-ids.4E02.otf | Bin 940 -> 940 bytes - .../cmap14_font2.notdef-outline-name-ids.4E03.otf | Bin 1024 -> 1024 bytes - ...notdef-outline-name-ids.4E05,4E07,4E08,4E09.otf | Bin 1796 -> 1796 bytes - ...p14_font2.notdef-outline-name-ids.4E08,4E09.otf | Bin 1664 -> 1664 bytes - .../cmap14_font2.notdef-outline-name-ids.4E08.otf | Bin 1332 -> 1332 bytes - ...otdef-outline-name-ids.retain-all-codepoint.otf | Bin 2292 -> 2292 bytes - ...2.notdef-outline-retain-gids.4E00,4E02,4E03.otf | Bin 1472 -> 1472 bytes - ..._font2.notdef-outline-retain-gids.4E00,4E03.otf | Bin 1360 -> 1360 bytes - ...2.notdef-outline-retain-gids.4E00,4E05,4E07.otf | Bin 1484 -> 1484 bytes - ...2.notdef-outline-retain-gids.4E02,4E03,4E08.otf | Bin 1804 -> 1804 bytes - ...map14_font2.notdef-outline-retain-gids.4E02.otf | Bin 1112 -> 1112 bytes - ...map14_font2.notdef-outline-retain-gids.4E03.otf | Bin 1204 -> 1204 bytes - ...def-outline-retain-gids.4E05,4E07,4E08,4E09.otf | Bin 2068 -> 2068 bytes - ..._font2.notdef-outline-retain-gids.4E08,4E09.otf | Bin 1952 -> 1952 bytes - ...map14_font2.notdef-outline-retain-gids.4E08.otf | Bin 1624 -> 1624 bytes - ...ef-outline-retain-gids.retain-all-codepoint.otf | Bin 2516 -> 2516 bytes - .../cmap14_font2.notdef-outline.4E00,4E02,4E03.otf | Bin 1376 -> 1376 bytes - .../cmap14_font2.notdef-outline.4E00,4E03.otf | Bin 1252 -> 1252 bytes - .../cmap14_font2.notdef-outline.4E00,4E05,4E07.otf | Bin 1352 -> 1352 bytes - .../cmap14_font2.notdef-outline.4E02,4E03,4E08.otf | Bin 1596 -> 1596 bytes - .../cmap14/cmap14_font2.notdef-outline.4E02.otf | Bin 1008 -> 1008 bytes - .../cmap14/cmap14_font2.notdef-outline.4E03.otf | Bin 1092 -> 1092 bytes - ...14_font2.notdef-outline.4E05,4E07,4E08,4E09.otf | Bin 1864 -> 1864 bytes - .../cmap14_font2.notdef-outline.4E08,4E09.otf | Bin 1732 -> 1732 bytes - .../cmap14/cmap14_font2.notdef-outline.4E08.otf | Bin 1400 -> 1400 bytes - ...4_font2.notdef-outline.retain-all-codepoint.otf | Bin 2360 -> 2360 bytes - .../TwemojiMozilla.subset.default.32,3297,3299.ttf | Bin 1868 -> 1868 bytes - .../colr/TwemojiMozilla.subset.default.32,3297.ttf | Bin 1344 -> 1344 bytes - .../colr/TwemojiMozilla.subset.default.32,3299.ttf | Bin 1520 -> 1520 bytes - .../colr/TwemojiMozilla.subset.default.32.ttf | Bin 888 -> 888 bytes - .../TwemojiMozilla.subset.default.3297,3299.ttf | Bin 1860 -> 1860 bytes - .../colr/TwemojiMozilla.subset.default.3297.ttf | Bin 1332 -> 1332 bytes - .../colr/TwemojiMozilla.subset.default.3299.ttf | Bin 1508 -> 1508 bytes - ....subset.drop-hints-retain-gids.32,3297,3299.ttf | Bin 1848 -> 1848 bytes - ...zilla.subset.drop-hints-retain-gids.32,3297.ttf | Bin 1340 -> 1340 bytes - ...zilla.subset.drop-hints-retain-gids.32,3299.ttf | Bin 1520 -> 1520 bytes - ...ojiMozilla.subset.drop-hints-retain-gids.32.ttf | Bin 868 -> 868 bytes - ...lla.subset.drop-hints-retain-gids.3297,3299.ttf | Bin 1844 -> 1844 bytes - ...iMozilla.subset.drop-hints-retain-gids.3297.ttf | Bin 1328 -> 1328 bytes - ...iMozilla.subset.drop-hints-retain-gids.3299.ttf | Bin 1508 -> 1508 bytes - ...emojiMozilla.subset.drop-hints.32,3297,3299.ttf | Bin 1848 -> 1848 bytes - .../TwemojiMozilla.subset.drop-hints.32,3297.ttf | Bin 1324 -> 1324 bytes - .../TwemojiMozilla.subset.drop-hints.32,3299.ttf | Bin 1500 -> 1500 bytes - .../colr/TwemojiMozilla.subset.drop-hints.32.ttf | Bin 868 -> 868 bytes - .../TwemojiMozilla.subset.drop-hints.3297,3299.ttf | Bin 1840 -> 1840 bytes - .../colr/TwemojiMozilla.subset.drop-hints.3297.ttf | Bin 1312 -> 1312 bytes - .../colr/TwemojiMozilla.subset.drop-hints.3299.ttf | Bin 1488 -> 1488 bytes - ...mojiMozilla.subset.retain-gids.32,3297,3299.ttf | Bin 1868 -> 1868 bytes - .../TwemojiMozilla.subset.retain-gids.32,3297.ttf | Bin 1360 -> 1360 bytes - .../TwemojiMozilla.subset.retain-gids.32,3299.ttf | Bin 1540 -> 1540 bytes - .../colr/TwemojiMozilla.subset.retain-gids.32.ttf | Bin 888 -> 888 bytes - ...TwemojiMozilla.subset.retain-gids.3297,3299.ttf | Bin 1864 -> 1864 bytes - .../TwemojiMozilla.subset.retain-gids.3297.ttf | Bin 1348 -> 1348 bytes - .../TwemojiMozilla.subset.retain-gids.3299.ttf | Bin 1528 -> 1528 bytes - .../colr_with_components/colr-table.default.6B.ttf | Bin 4260 -> 4260 bytes - .../colr-table.drop-hints-retain-gids.6B.ttf | Bin 4984 -> 4984 bytes - .../colr-table.drop-hints.6B.ttf | Bin 4260 -> 4260 bytes - .../colr-table.retain-gids.6B.ttf | Bin 4984 -> 4984 bytes - .../Roboto-Regular.default.1FC,21,41,20,62,63.ttf | Bin 3004 -> 3004 bytes - .../full-font/Roboto-Regular.default.61,62,63.ttf | Bin 2632 -> 2632 bytes - .../Roboto-Regular.default.D7,D8,D9,DA,DE.ttf | Bin 2960 -> 2960 bytes - ...oboto-Regular.drop-hints.1FC,21,41,20,62,63.ttf | Bin 1556 -> 1556 bytes - .../Roboto-Regular.drop-hints.61,62,63.ttf | Bin 1372 -> 1372 bytes - .../Roboto-Regular.drop-hints.D7,D8,D9,DA,DE.ttf | Bin 1584 -> 1584 bytes - ...ifVariable-Roman.default.1FC,21,41,20,62,63.ttf | Bin 3888 -> 3888 bytes - .../SourceSerifVariable-Roman.default.61,62,63.ttf | Bin 3784 -> 3784 bytes - ...eSerifVariable-Roman.default.D7,D8,D9,DA,DE.ttf | Bin 4324 -> 4324 bytes - ...ariable-Roman.drop-hints.1FC,21,41,20,62,63.ttf | Bin 3876 -> 3876 bytes - ...urceSerifVariable-Roman.drop-hints.61,62,63.ttf | Bin 3784 -> 3784 bytes - ...rifVariable-Roman.drop-hints.D7,D8,D9,DA,DE.ttf | Bin 4324 -> 4324 bytes - .../Mplus1p-Regular.default.1D715,1D7D8,41,42.ttf | Bin 2340 -> 2340 bytes - .../japanese/Mplus1p-Regular.default.25771.ttf | Bin 1988 -> 1988 bytes - ...gular.default.3042,3044,3046,3048,304A,304B.ttf | Bin 2616 -> 2616 bytes - ...gular.default.3042,3044,3046,73E0,5EA6,8F38.ttf | Bin 2848 -> 2848 bytes - .../Mplus1p-Regular.default.61,63,65,6B.ttf | Bin 2248 -> 2248 bytes - ...gular.default.660E,6975,73E0,5EA6,8F38,6E05.ttf | Bin 3144 -> 3144 bytes - .../japanese/Mplus1p-Regular.default.660E.ttf | Bin 1944 -> 1944 bytes - ...plus1p-Regular.drop-hints.1D715,1D7D8,41,42.ttf | Bin 1612 -> 1612 bytes - .../japanese/Mplus1p-Regular.drop-hints.25771.ttf | Bin 1260 -> 1260 bytes - ...ar.drop-hints.3042,3044,3046,3048,304A,304B.ttf | Bin 1888 -> 1888 bytes - ...ar.drop-hints.3042,3044,3046,73E0,5EA6,8F38.ttf | Bin 2120 -> 2120 bytes - .../Mplus1p-Regular.drop-hints.61,63,65,6B.ttf | Bin 1520 -> 1520 bytes - ...ar.drop-hints.660E,6975,73E0,5EA6,8F38,6E05.ttf | Bin 2416 -> 2416 bytes - .../japanese/Mplus1p-Regular.drop-hints.660E.ttf | Bin 1216 -> 1216 bytes - ...Mplus1p-Regular.keep-gdef.1D715,1D7D8,41,42.ttf | Bin 2340 -> 2340 bytes - .../japanese/Mplus1p-Regular.keep-gdef.25771.ttf | Bin 1988 -> 1988 bytes - ...lar.keep-gdef.3042,3044,3046,3048,304A,304B.ttf | Bin 2616 -> 2616 bytes - ...lar.keep-gdef.3042,3044,3046,73E0,5EA6,8F38.ttf | Bin 2848 -> 2848 bytes - .../Mplus1p-Regular.keep-gdef.61,63,65,6B.ttf | Bin 2248 -> 2248 bytes - ...lar.keep-gdef.660E,6975,73E0,5EA6,8F38,6E05.ttf | Bin 3144 -> 3144 bytes - .../japanese/Mplus1p-Regular.keep-gdef.660E.ttf | Bin 1944 -> 1944 bytes - ...ules_f1.notdef-outline-retain-gids.41,42,43.otf | Bin 2016 -> 2016 bytes - ...ubrules_f1.notdef-outline-retain-gids.41,42.otf | Bin 1912 -> 1912 bytes - ...ubrules_f1.notdef-outline-retain-gids.41,43.otf | Bin 2020 -> 2020 bytes - ...e_subrules_f1.notdef-outline-retain-gids.41.otf | Bin 1896 -> 1896 bytes - ...ef-outline-retain-gids.retain-all-codepoint.otf | Bin 3876 -> 3876 bytes - ...ultiple_subrules_f1.notdef-outline.41,42,43.otf | Bin 1304 -> 1304 bytes - ...1_multiple_subrules_f1.notdef-outline.41,42.otf | Bin 1204 -> 1204 bytes - ...1_multiple_subrules_f1.notdef-outline.41,43.otf | Bin 1300 -> 1300 bytes - ...ext1_multiple_subrules_f1.notdef-outline.41.otf | Bin 1192 -> 1192 bytes - ...ules_f1.notdef-outline.retain-all-codepoint.otf | Bin 3876 -> 3876 bytes - ...ules_f1.notdef-outline-retain-gids.41,42,43.otf | Bin 2016 -> 2016 bytes - ...ubrules_f1.notdef-outline-retain-gids.41,42.otf | Bin 1912 -> 1912 bytes - ...ubrules_f1.notdef-outline-retain-gids.41,43.otf | Bin 2020 -> 2020 bytes - ...e_subrules_f1.notdef-outline-retain-gids.41.otf | Bin 1896 -> 1896 bytes - ...ef-outline-retain-gids.retain-all-codepoint.otf | Bin 3876 -> 3876 bytes - ...ultiple_subrules_f1.notdef-outline.41,42,43.otf | Bin 1304 -> 1304 bytes - ...2_multiple_subrules_f1.notdef-outline.41,42.otf | Bin 1204 -> 1204 bytes - ...2_multiple_subrules_f1.notdef-outline.41,43.otf | Bin 1300 -> 1300 bytes - ...ext2_multiple_subrules_f1.notdef-outline.41.otf | Bin 1192 -> 1192 bytes - ...ules_f1.notdef-outline.retain-all-codepoint.otf | Bin 3876 -> 3876 bytes - ...mple_f1.notdef-outline-retain-gids.41,42,43.otf | Bin 1996 -> 1996 bytes - ..._simple_f1.notdef-outline-retain-gids.41,42.otf | Bin 1892 -> 1892 bytes - ..._simple_f1.notdef-outline-retain-gids.41,43.otf | Bin 2000 -> 2000 bytes - ...xt3_simple_f1.notdef-outline-retain-gids.41.otf | Bin 1876 -> 1876 bytes - ...ef-outline-retain-gids.retain-all-codepoint.otf | Bin 3856 -> 3856 bytes - ..._context3_simple_f1.notdef-outline.41,42,43.otf | Bin 1284 -> 1284 bytes - ...pos_context3_simple_f1.notdef-outline.41,42.otf | Bin 1184 -> 1184 bytes - ...pos_context3_simple_f1.notdef-outline.41,43.otf | Bin 1280 -> 1280 bytes - .../gpos_context3_simple_f1.notdef-outline.41.otf | Bin 1172 -> 1172 bytes - ...mple_f1.notdef-outline.retain-all-codepoint.otf | Bin 3856 -> 3856 bytes - .../IndicTestJalandhar-Regular.default.A01.ttf | Bin 4172 -> 4172 bytes - .../IndicTestJalandhar-Regular.default.A05,A06.ttf | Bin 4748 -> 4748 bytes - .../IndicTestJalandhar-Regular.default.A07,A1B.ttf | Bin 4720 -> 4720 bytes - ...andhar-Regular.default.retain-all-codepoint.ttf | Bin 49248 -> 49248 bytes - .../IndicTestJalandhar-Regular.drop-hints.A01.ttf | Bin 1032 -> 1032 bytes - ...dicTestJalandhar-Regular.drop-hints.A05,A06.ttf | Bin 1340 -> 1340 bytes - ...dicTestJalandhar-Regular.drop-hints.A07,A1B.ttf | Bin 1340 -> 1340 bytes - ...har-Regular.drop-hints.retain-all-codepoint.ttf | Bin 29468 -> 29468 bytes - .../IndicTestJalandhar-Regular.keep-gdef.A01.ttf | Bin 4172 -> 4172 bytes - ...ndicTestJalandhar-Regular.keep-gdef.A05,A06.ttf | Bin 4748 -> 4748 bytes - ...ndicTestJalandhar-Regular.keep-gdef.A07,A1B.ttf | Bin 4720 -> 4720 bytes - ...dhar-Regular.keep-gdef.retain-all-codepoint.ttf | Bin 49248 -> 49248 bytes - ...otype.notdef-outline-drop-hints.41,42,43,57.otf | Bin 5272 -> 5272 bytes - ...rototype.notdef-outline-drop-hints.41,42,43.otf | Bin 4740 -> 4740 bytes - ...VFPrototype.notdef-outline-drop-hints.41,42.otf | Bin 4264 -> 4264 bytes - ...rototype.notdef-outline-drop-hints.41,56,57.otf | Bin 4408 -> 4408 bytes - ...obeVFPrototype.notdef-outline-drop-hints.41.otf | Bin 3560 -> 3560 bytes - ...VFPrototype.notdef-outline-drop-hints.42,57.otf | Bin 4396 -> 4396 bytes - ...AdobeVFPrototype.notdef-outline.41,42,43,57.otf | Bin 5460 -> 5460 bytes - .../AdobeVFPrototype.notdef-outline.41,42,43.otf | Bin 4928 -> 4928 bytes - .../AdobeVFPrototype.notdef-outline.41,42.otf | Bin 4448 -> 4448 bytes - .../AdobeVFPrototype.notdef-outline.41,56,57.otf | Bin 4596 -> 4596 bytes - .../AdobeVFPrototype.notdef-outline.41.otf | Bin 3748 -> 3748 bytes - .../AdobeVFPrototype.notdef-outline.42,57.otf | Bin 4580 -> 4580 bytes - .../Roboto-Regular.default.1E00,303.ttf | Bin 2472 -> 2472 bytes - .../layout.gdef/Roboto-Regular.default.303.ttf | Bin 2076 -> 2076 bytes - .../Roboto-Regular.default.309,20,30F.ttf | Bin 2148 -> 2148 bytes - .../layout.gdef/Roboto-Regular.default.323.ttf | Bin 1968 -> 1968 bytes - .../Roboto-Regular.default.41,42,43.ttf | Bin 2532 -> 2532 bytes - .../Roboto-Regular.drop-hints.1E00,303.ttf | Bin 1328 -> 1328 bytes - .../layout.gdef/Roboto-Regular.drop-hints.303.ttf | Bin 1072 -> 1072 bytes - .../Roboto-Regular.drop-hints.309,20,30F.ttf | Bin 1108 -> 1108 bytes - .../layout.gdef/Roboto-Regular.drop-hints.323.ttf | Bin 1016 -> 1016 bytes - .../Roboto-Regular.drop-hints.41,42,43.ttf | Bin 1348 -> 1348 bytes - .../Roboto-Regular.keep-gdef-gpos.1E00,303.ttf | Bin 2472 -> 2472 bytes - .../Roboto-Regular.keep-gdef-gpos.303.ttf | Bin 2076 -> 2076 bytes - .../Roboto-Regular.keep-gdef-gpos.309,20,30F.ttf | Bin 2148 -> 2148 bytes - .../Roboto-Regular.keep-gdef-gpos.323.ttf | Bin 1968 -> 1968 bytes - .../Roboto-Regular.keep-gdef-gpos.41,42,43.ttf | Bin 2532 -> 2532 bytes - ...os1_2_font.notdef-outline-retain-gids.41,43.otf | Bin 1980 -> 1980 bytes - ...os1_2_font.notdef-outline-retain-gids.41,46.otf | Bin 2140 -> 2140 bytes - .../gpos1_2_font.notdef-outline-retain-gids.41.otf | Bin 1856 -> 1856 bytes - ...os1_2_font.notdef-outline-retain-gids.42,44.otf | Bin 1964 -> 1964 bytes - ...os1_2_font.notdef-outline-retain-gids.43,46.otf | Bin 2004 -> 2004 bytes - ...ef-outline-retain-gids.retain-all-codepoint.otf | Bin 3780 -> 3780 bytes - .../gpos1_2_font.notdef-outline.41,43.otf | Bin 1260 -> 1260 bytes - .../gpos1_2_font.notdef-outline.41,46.otf | Bin 1388 -> 1388 bytes - .../layout.gpos/gpos1_2_font.notdef-outline.41.otf | Bin 1152 -> 1152 bytes - .../gpos1_2_font.notdef-outline.42,44.otf | Bin 1232 -> 1232 bytes - .../gpos1_2_font.notdef-outline.43,46.otf | Bin 1252 -> 1252 bytes - ..._2_font.notdef-outline.retain-all-codepoint.otf | Bin 3780 -> 3780 bytes - ...1_font7.notdef-outline-retain-gids.21,23,25.otf | Bin 1656 -> 1656 bytes - ...s2_1_font7.notdef-outline-retain-gids.21,23.otf | Bin 1532 -> 1532 bytes - ...s2_1_font7.notdef-outline-retain-gids.2E,23.otf | Bin 1912 -> 1912 bytes - ...1_font7.notdef-outline-retain-gids.41,42,43.otf | Bin 1976 -> 1976 bytes - ...ef-outline-retain-gids.retain-all-codepoint.otf | Bin 3780 -> 3780 bytes - .../gpos2_1_font7.notdef-outline.21,23,25.otf | Bin 1312 -> 1312 bytes - .../gpos2_1_font7.notdef-outline.21,23.otf | Bin 1204 -> 1204 bytes - .../gpos2_1_font7.notdef-outline.2E,23.otf | Bin 1476 -> 1476 bytes - .../gpos2_1_font7.notdef-outline.41,42,43.otf | Bin 1264 -> 1264 bytes - ...1_font7.notdef-outline.retain-all-codepoint.otf | Bin 3780 -> 3780 bytes - ...2_font5.notdef-outline-retain-gids.21,23,25.otf | Bin 1656 -> 1656 bytes - ...s2_2_font5.notdef-outline-retain-gids.21,23.otf | Bin 1532 -> 1532 bytes - ...s2_2_font5.notdef-outline-retain-gids.2E,23.otf | Bin 1912 -> 1912 bytes - ...2_font5.notdef-outline-retain-gids.41,42,43.otf | Bin 1976 -> 1976 bytes - ...ef-outline-retain-gids.retain-all-codepoint.otf | Bin 3780 -> 3780 bytes - .../gpos2_2_font5.notdef-outline.21,23,25.otf | Bin 1312 -> 1312 bytes - .../gpos2_2_font5.notdef-outline.21,23.otf | Bin 1204 -> 1204 bytes - .../gpos2_2_font5.notdef-outline.2E,23.otf | Bin 1476 -> 1476 bytes - .../gpos2_2_font5.notdef-outline.41,42,43.otf | Bin 1264 -> 1264 bytes - ...2_font5.notdef-outline.retain-all-codepoint.otf | Bin 3780 -> 3780 bytes - ...pos3_font3.notdef-outline-retain-gids.28,29.otf | Bin 1616 -> 1616 bytes - ...pos3_font3.notdef-outline-retain-gids.28,2B.otf | Bin 1752 -> 1752 bytes - ...pos3_font3.notdef-outline-retain-gids.29,2B.otf | Bin 1664 -> 1664 bytes - ...3_font3.notdef-outline-retain-gids.41,42,43.otf | Bin 1972 -> 1972 bytes - ...ef-outline-retain-gids.retain-all-codepoint.otf | Bin 3812 -> 3812 bytes - .../gpos3_font3.notdef-outline.28,29.otf | Bin 1224 -> 1224 bytes - .../gpos3_font3.notdef-outline.28,2B.otf | Bin 1344 -> 1344 bytes - .../gpos3_font3.notdef-outline.29,2B.otf | Bin 1256 -> 1256 bytes - .../gpos3_font3.notdef-outline.41,42,43.otf | Bin 1260 -> 1260 bytes - ...3_font3.notdef-outline.retain-all-codepoint.otf | Bin 3812 -> 3812 bytes - ...rs_1.notdef-outline-retain-gids.41,42,43,44.otf | Bin 2208 -> 2208 bytes - ...rs_1.notdef-outline-retain-gids.41,42,43,45.otf | Bin 2220 -> 2220 bytes - ...chors_1.notdef-outline-retain-gids.41,42,43.otf | Bin 1996 -> 1996 bytes - ..._anchors_1.notdef-outline-retain-gids.41,42.otf | Bin 1892 -> 1892 bytes - ...1.notdef-outline-retain-gids.41,43,44,45,46.otf | Bin 2560 -> 2560 bytes - ...chors_1.notdef-outline-retain-gids.41,43,44.otf | Bin 2216 -> 2216 bytes - ...chors_1.notdef-outline-retain-gids.41,43,45.otf | Bin 2224 -> 2224 bytes - ..._anchors_1.notdef-outline-retain-gids.41,43.otf | Bin 2000 -> 2000 bytes - ...ple_anchors_1.notdef-outline-retain-gids.41.otf | Bin 1876 -> 1876 bytes - ...ef-outline-retain-gids.retain-all-codepoint.otf | Bin 3844 -> 3844 bytes - ...ltiple_anchors_1.notdef-outline.41,42,43,44.otf | Bin 1492 -> 1492 bytes - ...ltiple_anchors_1.notdef-outline.41,42,43,45.otf | Bin 1488 -> 1488 bytes - ..._multiple_anchors_1.notdef-outline.41,42,43.otf | Bin 1284 -> 1284 bytes - ...os4_multiple_anchors_1.notdef-outline.41,42.otf | Bin 1184 -> 1184 bytes - ...ple_anchors_1.notdef-outline.41,43,44,45,46.otf | Bin 1832 -> 1832 bytes - ..._multiple_anchors_1.notdef-outline.41,43,44.otf | Bin 1492 -> 1492 bytes - ..._multiple_anchors_1.notdef-outline.41,43,45.otf | Bin 1488 -> 1488 bytes - ...os4_multiple_anchors_1.notdef-outline.41,43.otf | Bin 1280 -> 1280 bytes - .../gpos4_multiple_anchors_1.notdef-outline.41.otf | Bin 1172 -> 1172 bytes - ...chors_1.notdef-outline.retain-all-codepoint.otf | Bin 3844 -> 3844 bytes - ...ont1.notdef-outline-retain-gids.41,42,43,44.otf | Bin 2224 -> 2224 bytes - ...ont1.notdef-outline-retain-gids.41,42,43,45.otf | Bin 2236 -> 2236 bytes - ...5_font1.notdef-outline-retain-gids.41,42,43.otf | Bin 2012 -> 2012 bytes - ...5_font1.notdef-outline-retain-gids.41,42,44.otf | Bin 2144 -> 2144 bytes - ...5_font1.notdef-outline-retain-gids.41,42,45.otf | Bin 2144 -> 2144 bytes - ...pos5_font1.notdef-outline-retain-gids.41,42.otf | Bin 1908 -> 1908 bytes - ...pos5_font1.notdef-outline-retain-gids.41,43.otf | Bin 2016 -> 2016 bytes - .../gpos5_font1.notdef-outline-retain-gids.41.otf | Bin 1892 -> 1892 bytes - .../gpos5_font1.notdef-outline-retain-gids.42.otf | Bin 1764 -> 1764 bytes - ...ef-outline-retain-gids.retain-all-codepoint.otf | Bin 3860 -> 3860 bytes - .../gpos5_font1.notdef-outline.41,42,43,44.otf | Bin 1508 -> 1508 bytes - .../gpos5_font1.notdef-outline.41,42,43,45.otf | Bin 1504 -> 1504 bytes - .../gpos5_font1.notdef-outline.41,42,43.otf | Bin 1300 -> 1300 bytes - .../gpos5_font1.notdef-outline.41,42,44.otf | Bin 1420 -> 1420 bytes - .../gpos5_font1.notdef-outline.41,42,45.otf | Bin 1408 -> 1408 bytes - .../gpos5_font1.notdef-outline.41,42.otf | Bin 1200 -> 1200 bytes - .../gpos5_font1.notdef-outline.41,43.otf | Bin 1296 -> 1296 bytes - .../layout.gpos5/gpos5_font1.notdef-outline.41.otf | Bin 1188 -> 1188 bytes - .../layout.gpos5/gpos5_font1.notdef-outline.42.otf | Bin 1048 -> 1048 bytes - ...5_font1.notdef-outline.retain-all-codepoint.otf | Bin 3860 -> 3860 bytes - ...ont1.notdef-outline-retain-gids.41,42,43,44.otf | Bin 2184 -> 2184 bytes - ...ont1.notdef-outline-retain-gids.41,42,43,45.otf | Bin 2196 -> 2196 bytes - ...6_font1.notdef-outline-retain-gids.41,42,43.otf | Bin 1972 -> 1972 bytes - ...pos6_font1.notdef-outline-retain-gids.41,42.otf | Bin 1868 -> 1868 bytes - ...1.notdef-outline-retain-gids.41,43,44,45,46.otf | Bin 2536 -> 2536 bytes - ...6_font1.notdef-outline-retain-gids.41,43,44.otf | Bin 2192 -> 2192 bytes - ...6_font1.notdef-outline-retain-gids.41,43,45.otf | Bin 2200 -> 2200 bytes - ...pos6_font1.notdef-outline-retain-gids.41,43.otf | Bin 1976 -> 1976 bytes - .../gpos6_font1.notdef-outline-retain-gids.41.otf | Bin 1852 -> 1852 bytes - ...ef-outline-retain-gids.retain-all-codepoint.otf | Bin 3820 -> 3820 bytes - .../gpos6_font1.notdef-outline.41,42,43,44.otf | Bin 1468 -> 1468 bytes - .../gpos6_font1.notdef-outline.41,42,43,45.otf | Bin 1464 -> 1464 bytes - .../gpos6_font1.notdef-outline.41,42,43.otf | Bin 1260 -> 1260 bytes - .../gpos6_font1.notdef-outline.41,42.otf | Bin 1160 -> 1160 bytes - .../gpos6_font1.notdef-outline.41,43,44,45,46.otf | Bin 1808 -> 1808 bytes - .../gpos6_font1.notdef-outline.41,43,44.otf | Bin 1468 -> 1468 bytes - .../gpos6_font1.notdef-outline.41,43,45.otf | Bin 1464 -> 1464 bytes - .../gpos6_font1.notdef-outline.41,43.otf | Bin 1256 -> 1256 bytes - .../layout.gpos6/gpos6_font1.notdef-outline.41.otf | Bin 1148 -> 1148 bytes - ...6_font1.notdef-outline.retain-all-codepoint.otf | Bin 3820 -> 3820 bytes - ...ular.default.627,644,623,62D,644,627,645,2E.ttf | Bin 12592 -> 12592 bytes - .../Amiri-Regular.default.627,644,62D,628.ttf | Bin 9924 -> 9924 bytes - .../Amiri-Regular.default.627,644.ttf | Bin 4112 -> 4112 bytes - ...-Regular.default.633,645,627,621,20,644,627.ttf | Bin 9424 -> 9424 bytes - .../Amiri-Regular.default.63A,64A,631.ttf | Bin 7256 -> 7256 bytes - ....retain-gids.627,644,623,62D,644,627,645,2E.ttf | Bin 47920 -> 47920 bytes - .../Amiri-Regular.retain-gids.627,644,62D,628.ttf | Bin 42572 -> 42572 bytes - .../Amiri-Regular.retain-gids.627,644.ttf | Bin 36640 -> 36640 bytes - ...ular.retain-gids.633,645,627,621,20,644,627.ttf | Bin 45816 -> 45816 bytes - .../Amiri-Regular.retain-gids.63A,64A,631.ttf | Bin 37920 -> 37920 bytes - ...s_f1.notdef-outline-retain-gids.30,31,32,33.otf | Bin 2292 -> 2292 bytes - ...ules_f1.notdef-outline-retain-gids.41,42,43.otf | Bin 2020 -> 2020 bytes - ...ef-outline-retain-gids.retain-all-codepoint.otf | Bin 3880 -> 3880 bytes - ...iple_subrules_f1.notdef-outline.30,31,32,33.otf | Bin 1820 -> 1820 bytes - ...ultiple_subrules_f1.notdef-outline.41,42,43.otf | Bin 1308 -> 1308 bytes - ...ules_f1.notdef-outline.retain-all-codepoint.otf | Bin 3880 -> 3880 bytes - ...s_f1.notdef-outline-retain-gids.30,31,32,33.otf | Bin 2292 -> 2292 bytes - ...ules_f1.notdef-outline-retain-gids.41,42,43.otf | Bin 2020 -> 2020 bytes - ...ef-outline-retain-gids.retain-all-codepoint.otf | Bin 3880 -> 3880 bytes - ...iple_subrules_f1.notdef-outline.30,31,32,33.otf | Bin 1820 -> 1820 bytes - ...ultiple_subrules_f1.notdef-outline.41,42,43.otf | Bin 1308 -> 1308 bytes - ...ules_f1.notdef-outline.retain-all-codepoint.otf | Bin 3880 -> 3880 bytes - ...e_f1.notdef-outline-retain-gids.30,31,32,33.otf | Bin 2268 -> 2268 bytes - ...mple_f1.notdef-outline-retain-gids.41,42,43.otf | Bin 1996 -> 1996 bytes - ...ef-outline-retain-gids.retain-all-codepoint.otf | Bin 3856 -> 3856 bytes - ...ining3_simple_f1.notdef-outline.30,31,32,33.otf | Bin 1796 -> 1796 bytes - ...chaining3_simple_f1.notdef-outline.41,42,43.otf | Bin 1284 -> 1284 bytes - ...mple_f1.notdef-outline.retain-all-codepoint.otf | Bin 3856 -> 3856 bytes - ...pos9_font2.notdef-outline-retain-gids.41,42.otf | Bin 1868 -> 1868 bytes - .../gpos9_font2.notdef-outline-retain-gids.41.otf | Bin 1852 -> 1852 bytes - .../gpos9_font2.notdef-outline-retain-gids.42.otf | Bin 1724 -> 1724 bytes - .../gpos9_font2.notdef-outline.41,42.otf | Bin 1160 -> 1160 bytes - .../layout.gpos9/gpos9_font2.notdef-outline.41.otf | Bin 1148 -> 1148 bytes - .../layout.gpos9/gpos9_font2.notdef-outline.42.otf | Bin 1008 -> 1008 bytes - ...ub_alternate_substitution.default.53A9,53F1.otf | Bin 4316 -> 4316 bytes - .../gsub_alternate_substitution.default.53A9.otf | Bin 3884 -> 3884 bytes - .../gsub_alternate_substitution.default.53F1.otf | Bin 2440 -> 2440 bytes - ...e_substitution.default.retain-all-codepoint.otf | Bin 5984 -> 5984 bytes - ...lternate_substitution.retain-gids.53A9,53F1.otf | Bin 4440 -> 4440 bytes - ...sub_alternate_substitution.retain-gids.53A9.otf | Bin 4036 -> 4036 bytes - ...sub_alternate_substitution.retain-gids.53F1.otf | Bin 2632 -> 2632 bytes - ...bstitution.retain-gids.retain-all-codepoint.otf | Bin 6076 -> 6076 bytes - ...ules_f2.notdef-outline-retain-gids.41,42,43.otf | Bin 2028 -> 2028 bytes - ...ubrules_f2.notdef-outline-retain-gids.41,42.otf | Bin 1924 -> 1924 bytes - ...ubrules_f2.notdef-outline-retain-gids.41,43.otf | Bin 2032 -> 2032 bytes - ...e_subrules_f2.notdef-outline-retain-gids.41.otf | Bin 1908 -> 1908 bytes - ...ef-outline-retain-gids.retain-all-codepoint.otf | Bin 3888 -> 3888 bytes - ...ultiple_subrules_f2.notdef-outline.41,42,43.otf | Bin 1316 -> 1316 bytes - ...1_multiple_subrules_f2.notdef-outline.41,42.otf | Bin 1216 -> 1216 bytes - ...1_multiple_subrules_f2.notdef-outline.41,43.otf | Bin 1312 -> 1312 bytes - ...ext1_multiple_subrules_f2.notdef-outline.41.otf | Bin 1204 -> 1204 bytes - ...ules_f2.notdef-outline.retain-all-codepoint.otf | Bin 3888 -> 3888 bytes - ...ules_f2.notdef-outline-retain-gids.41,42,43.otf | Bin 2028 -> 2028 bytes - ...ubrules_f2.notdef-outline-retain-gids.41,42.otf | Bin 1924 -> 1924 bytes - ...ubrules_f2.notdef-outline-retain-gids.41,43.otf | Bin 2032 -> 2032 bytes - ...e_subrules_f2.notdef-outline-retain-gids.41.otf | Bin 1908 -> 1908 bytes - ...ef-outline-retain-gids.retain-all-codepoint.otf | Bin 3888 -> 3888 bytes - ...ultiple_subrules_f2.notdef-outline.41,42,43.otf | Bin 1316 -> 1316 bytes - ...2_multiple_subrules_f2.notdef-outline.41,42.otf | Bin 1216 -> 1216 bytes - ...2_multiple_subrules_f2.notdef-outline.41,43.otf | Bin 1312 -> 1312 bytes - ...ext2_multiple_subrules_f2.notdef-outline.41.otf | Bin 1204 -> 1204 bytes - ...ules_f2.notdef-outline.retain-all-codepoint.otf | Bin 3888 -> 3888 bytes - ...sive_f1.notdef-outline-retain-gids.41,42,43.otf | Bin 2016 -> 2016 bytes - ...cessive_f1.notdef-outline-retain-gids.41,42.otf | Bin 1912 -> 1912 bytes - ...cessive_f1.notdef-outline-retain-gids.41,43.otf | Bin 2020 -> 2020 bytes - ...successive_f1.notdef-outline-retain-gids.41.otf | Bin 1896 -> 1896 bytes - ...ef-outline-retain-gids.retain-all-codepoint.otf | Bin 3876 -> 3876 bytes - ...text3_successive_f1.notdef-outline.41,42,43.otf | Bin 1304 -> 1304 bytes - ...context3_successive_f1.notdef-outline.41,42.otf | Bin 1204 -> 1204 bytes - ...context3_successive_f1.notdef-outline.41,43.otf | Bin 1300 -> 1300 bytes - ...ub_context3_successive_f1.notdef-outline.41.otf | Bin 1192 -> 1192 bytes - ...sive_f1.notdef-outline.retain-all-codepoint.otf | Bin 3876 -> 3876 bytes - ...s_f1.notdef-outline-retain-gids.30,31,32,33.otf | Bin 2304 -> 2304 bytes - ...ules_f1.notdef-outline-retain-gids.41,42,43.otf | Bin 2032 -> 2032 bytes - ...ef-outline-retain-gids.retain-all-codepoint.otf | Bin 3892 -> 3892 bytes - ...iple_subrules_f1.notdef-outline.30,31,32,33.otf | Bin 1832 -> 1832 bytes - ...ultiple_subrules_f1.notdef-outline.41,42,43.otf | Bin 1320 -> 1320 bytes - ...ules_f1.notdef-outline.retain-all-codepoint.otf | Bin 3892 -> 3892 bytes - ...s_f1.notdef-outline-retain-gids.30,31,32,33.otf | Bin 2304 -> 2304 bytes - ...ules_f1.notdef-outline-retain-gids.41,42,43.otf | Bin 2032 -> 2032 bytes - ...ef-outline-retain-gids.retain-all-codepoint.otf | Bin 3892 -> 3892 bytes - ...iple_subrules_f1.notdef-outline.30,31,32,33.otf | Bin 1832 -> 1832 bytes - ...ultiple_subrules_f1.notdef-outline.41,42,43.otf | Bin 1320 -> 1320 bytes - ...ules_f1.notdef-outline.retain-all-codepoint.otf | Bin 3892 -> 3892 bytes - ...e_f2.notdef-outline-retain-gids.30,31,32,33.otf | Bin 2280 -> 2280 bytes - ...mple_f2.notdef-outline-retain-gids.41,42,43.otf | Bin 2008 -> 2008 bytes - ...ef-outline-retain-gids.retain-all-codepoint.otf | Bin 3868 -> 3868 bytes - ...ining3_simple_f2.notdef-outline.30,31,32,33.otf | Bin 1808 -> 1808 bytes - ...chaining3_simple_f2.notdef-outline.41,42,43.otf | Bin 1296 -> 1296 bytes - ...mple_f2.notdef-outline.retain-all-codepoint.otf | Bin 3868 -> 3868 bytes - ...line-retain-gids.41,42,43,44,45,46,47,48,49.otf | Bin 2916 -> 2916 bytes - ...ef-outline-retain-gids.41,42,43,44,45,46,47.otf | Bin 2624 -> 2624 bytes - ...ef-outline-retain-gids.41,42,43,44,45,46,4D.otf | Bin 2668 -> 2668 bytes - ...ef-outline-retain-gids.41,42,43,44,45,46,51.otf | Bin 2792 -> 2792 bytes - ...otdef-outline-retain-gids.41,42,43,44,45,46.otf | Bin 2564 -> 2564 bytes - ...created.notdef-outline-retain-gids.41,42,43.otf | Bin 2008 -> 2008 bytes - ...ually_created.notdef-outline-retain-gids.41.otf | Bin 1888 -> 1888 bytes - ...ually_created.notdef-outline-retain-gids.61.otf | Bin 2292 -> 2292 bytes - ...ef-outline-retain-gids.retain-all-codepoint.otf | Bin 3868 -> 3868 bytes - ...d.notdef-outline.41,42,43,44,45,46,47,48,49.otf | Bin 2188 -> 2188 bytes - ...created.notdef-outline.41,42,43,44,45,46,47.otf | Bin 1904 -> 1904 bytes - ...created.notdef-outline.41,42,43,44,45,46,4D.otf | Bin 1868 -> 1868 bytes - ...created.notdef-outline.41,42,43,44,45,46,51.otf | Bin 1948 -> 1948 bytes - ...ly_created.notdef-outline.41,42,43,44,45,46.otf | Bin 1844 -> 1844 bytes - ...b8_manually_created.notdef-outline.41,42,43.otf | Bin 1296 -> 1296 bytes - .../gsub8_manually_created.notdef-outline.41.otf | Bin 1184 -> 1184 bytes - .../gsub8_manually_created.notdef-outline.61.otf | Bin 1236 -> 1236 bytes - ...created.notdef-outline.retain-all-codepoint.otf | Bin 3868 -> 3868 bytes - .../expected/layout.khmer/Khmer.default.1780.ttf | Bin 4200 -> 4200 bytes - ...ult.1789,17BB,17C6,1794,17B6,1793,1798,17BE.ttf | Bin 6408 -> 6408 bytes - .../expected/layout.khmer/Khmer.default.31.ttf | Bin 4136 -> 4136 bytes - .../layout.khmer/Khmer.retain-gids.1780.ttf | Bin 4460 -> 4460 bytes - ...ids.1789,17BB,17C6,1794,17B6,1793,1798,17BE.ttf | Bin 7844 -> 7844 bytes - .../expected/layout.khmer/Khmer.retain-gids.31.ttf | Bin 4252 -> 4252 bytes - ...Bold.default.627,644,623,62D,644,627,645,2E.ttf | Bin 11388 -> 11388 bytes - ...toNastaliqUrdu-Bold.default.627,644,62D,628.ttf | Bin 17688 -> 17688 bytes - .../NotoNastaliqUrdu-Bold.default.627,644.ttf | Bin 3520 -> 3520 bytes - ...rdu-Bold.default.633,645,627,621,20,644,627.ttf | Bin 12380 -> 12380 bytes - .../NotoNastaliqUrdu-Bold.default.63A,64A,631.ttf | Bin 19380 -> 19380 bytes - ....retain-gids.627,644,623,62D,644,627,645,2E.ttf | Bin 18224 -> 18224 bytes - ...staliqUrdu-Bold.retain-gids.627,644,62D,628.ttf | Bin 23748 -> 23748 bytes - .../NotoNastaliqUrdu-Bold.retain-gids.627,644.ttf | Bin 9164 -> 9164 bytes - ...Bold.retain-gids.633,645,627,621,20,644,627.ttf | Bin 18184 -> 18184 bytes - ...toNastaliqUrdu-Bold.retain-gids.63A,64A,631.ttf | Bin 25432 -> 25432 bytes - .../Roboto-Regular.smallcaps.default.41,42,43.ttf | Bin 2424 -> 2424 bytes - .../Roboto-Regular.smallcaps.default.41,43.ttf | Bin 2232 -> 2232 bytes - .../layout/Roboto-Regular.smallcaps.default.41.ttf | Bin 2044 -> 2044 bytes - .../layout/Roboto-Regular.smallcaps.default.43.ttf | Bin 2076 -> 2076 bytes - .../Roboto-Regular.smallcaps.default.CA,CB.ttf | Bin 2348 -> 2348 bytes - ...boto-Regular.smallcaps.retain-gids.41,42,43.ttf | Bin 2676 -> 2676 bytes - .../Roboto-Regular.smallcaps.retain-gids.41,43.ttf | Bin 2496 -> 2496 bytes - .../Roboto-Regular.smallcaps.retain-gids.41.ttf | Bin 2296 -> 2296 bytes - .../Roboto-Regular.smallcaps.retain-gids.43.ttf | Bin 2344 -> 2344 bytes - .../Roboto-Regular.smallcaps.retain-gids.CA,CB.ttf | Bin 6436 -> 6436 bytes - .../data/expected/sbix/sbix.default.58,59.ttf | Bin 193528 -> 193528 bytes - test/subset/data/expected/sbix/sbix.default.58.ttf | Bin 121168 -> 121168 bytes - test/subset/data/expected/sbix/sbix.default.59.ttf | Bin 89364 -> 89364 bytes - .../sbix/sbix.drop-hints-retain-gids.58,59.ttf | Bin 193528 -> 193528 bytes - .../sbix/sbix.drop-hints-retain-gids.58.ttf | Bin 121168 -> 121168 bytes - .../sbix/sbix.drop-hints-retain-gids.59.ttf | Bin 89404 -> 89404 bytes - .../data/expected/sbix/sbix.drop-hints.58,59.ttf | Bin 193528 -> 193528 bytes - .../data/expected/sbix/sbix.drop-hints.58.ttf | Bin 121168 -> 121168 bytes - .../data/expected/sbix/sbix.drop-hints.59.ttf | Bin 89364 -> 89364 bytes - .../data/expected/sbix/sbix.retain-gids.58,59.ttf | Bin 193528 -> 193528 bytes - .../data/expected/sbix/sbix.retain-gids.58.ttf | Bin 121168 -> 121168 bytes - .../data/expected/sbix/sbix.retain-gids.59.ttf | Bin 89404 -> 89404 bytes - .../variable/Fraunces.default.26,66,69,124,125.ttf | Bin 15856 -> 15856 bytes - .../data/expected/variable/Fraunces.default.61.ttf | Bin 4232 -> 4232 bytes - 942 files changed, 21 insertions(+), 32 deletions(-) - -commit dea0fe5717a0ce72484bf6b827f5a871f816d4a2 -Author: Garret Rieger -Date: Wed Aug 4 16:36:20 2021 -0700 - - [subset] discard extra copies of a table in face builder. - - Fixes #2361. Stores tables in the builder in a hashmap so you end up with at most one copy of each table. Table serialization order is now based on tag sort order instead of order of insertion into the builder. - - src/hb-face.cc | 44 +++++++++++++-------- - src/hb-open-file.hh | 23 ++++++----- - .../Comfortaa-Regular-new.default.61,62,63.ttf | Bin 7060 -> 7060 bytes - .../basics/Comfortaa-Regular-new.default.61,63.ttf | Bin 6692 -> 6692 bytes - .../basics/Comfortaa-Regular-new.default.61.ttf | Bin 6328 -> 6328 bytes - .../basics/Comfortaa-Regular-new.default.62.ttf | Bin 6200 -> 6200 bytes - .../basics/Comfortaa-Regular-new.default.63.ttf | Bin 6256 -> 6256 bytes - ...aa-Regular-new.default.retain-all-codepoint.ttf | Bin 222756 -> 222756 bytes - ...Regular-new.drop-hints-retain-gids.61,62,63.ttf | Bin 4608 -> 4608 bytes - ...aa-Regular-new.drop-hints-retain-gids.61,63.ttf | Bin 4312 -> 4312 bytes - ...ortaa-Regular-new.drop-hints-retain-gids.61.ttf | Bin 3724 -> 3724 bytes - ...ortaa-Regular-new.drop-hints-retain-gids.62.ttf | Bin 3900 -> 3900 bytes - ...ortaa-Regular-new.drop-hints-retain-gids.63.ttf | Bin 3972 -> 3972 bytes - ...drop-hints-retain-gids.retain-all-codepoint.ttf | Bin 191632 -> 191632 bytes - .../Comfortaa-Regular-new.drop-hints.61,62,63.ttf | Bin 2600 -> 2600 bytes - .../Comfortaa-Regular-new.drop-hints.61,63.ttf | Bin 2296 -> 2296 bytes - .../basics/Comfortaa-Regular-new.drop-hints.61.ttf | Bin 1976 -> 1976 bytes - .../basics/Comfortaa-Regular-new.drop-hints.62.ttf | Bin 1900 -> 1900 bytes - .../basics/Comfortaa-Regular-new.drop-hints.63.ttf | Bin 1968 -> 1968 bytes - ...Regular-new.drop-hints.retain-all-codepoint.ttf | Bin 191584 -> 191584 bytes - .../basics/Comfortaa-Regular-new.gids.61,62,63.ttf | Bin 7988 -> 7988 bytes - .../basics/Comfortaa-Regular-new.gids.61,63.ttf | Bin 7628 -> 7628 bytes - .../basics/Comfortaa-Regular-new.gids.61.ttf | Bin 7256 -> 7256 bytes - .../basics/Comfortaa-Regular-new.gids.62.ttf | Bin 7184 -> 7184 bytes - .../basics/Comfortaa-Regular-new.gids.63.ttf | Bin 7180 -> 7180 bytes - ...ortaa-Regular-new.gids.retain-all-codepoint.ttf | Bin 222756 -> 222756 bytes - .../Comfortaa-Regular-new.glyph-names.61,62,63.ttf | Bin 7072 -> 7072 bytes - .../Comfortaa-Regular-new.glyph-names.61,63.ttf | Bin 6700 -> 6700 bytes - .../Comfortaa-Regular-new.glyph-names.61.ttf | Bin 6336 -> 6336 bytes - .../Comfortaa-Regular-new.glyph-names.62.ttf | Bin 6208 -> 6208 bytes - .../Comfortaa-Regular-new.glyph-names.63.ttf | Bin 6264 -> 6264 bytes - ...egular-new.glyph-names.retain-all-codepoint.ttf | Bin 229748 -> 229748 bytes - ...gular-new.keep-all-layout-features.61,62,63.ttf | Bin 7508 -> 7508 bytes - ...-Regular-new.keep-all-layout-features.61,63.ttf | Bin 7144 -> 7144 bytes - ...taa-Regular-new.keep-all-layout-features.61.ttf | Bin 6776 -> 6776 bytes - ...taa-Regular-new.keep-all-layout-features.62.ttf | Bin 6200 -> 6200 bytes - ...taa-Regular-new.keep-all-layout-features.63.ttf | Bin 6256 -> 6256 bytes - ...ep-all-layout-features.retain-all-codepoint.ttf | Bin 223452 -> 223452 bytes - ...fortaa-Regular-new.layout-features.61,62,63.ttf | Bin 7060 -> 7060 bytes - ...Comfortaa-Regular-new.layout-features.61,63.ttf | Bin 6692 -> 6692 bytes - .../Comfortaa-Regular-new.layout-features.61.ttf | Bin 6328 -> 6328 bytes - .../Comfortaa-Regular-new.layout-features.62.ttf | Bin 6200 -> 6200 bytes - .../Comfortaa-Regular-new.layout-features.63.ttf | Bin 6256 -> 6256 bytes - ...ar-new.layout-features.retain-all-codepoint.ttf | Bin 220948 -> 220948 bytes - .../Comfortaa-Regular-new.name-ids.61,62,63.ttf | Bin 6800 -> 6800 bytes - .../Comfortaa-Regular-new.name-ids.61,63.ttf | Bin 6432 -> 6432 bytes - .../basics/Comfortaa-Regular-new.name-ids.61.ttf | Bin 6068 -> 6068 bytes - .../basics/Comfortaa-Regular-new.name-ids.62.ttf | Bin 5940 -> 5940 bytes - .../basics/Comfortaa-Regular-new.name-ids.63.ttf | Bin 5996 -> 5996 bytes - ...a-Regular-new.name-ids.retain-all-codepoint.ttf | Bin 222496 -> 222496 bytes - ...mfortaa-Regular-new.name-languages.61,62,63.ttf | Bin 7060 -> 7060 bytes - .../Comfortaa-Regular-new.name-languages.61,63.ttf | Bin 6692 -> 6692 bytes - .../Comfortaa-Regular-new.name-languages.61.ttf | Bin 6328 -> 6328 bytes - .../Comfortaa-Regular-new.name-languages.62.ttf | Bin 6200 -> 6200 bytes - .../Comfortaa-Regular-new.name-languages.63.ttf | Bin 6256 -> 6256 bytes - ...lar-new.name-languages.retain-all-codepoint.ttf | Bin 222756 -> 222756 bytes - .../Comfortaa-Regular-new.name-legacy.61,62,63.ttf | Bin 7060 -> 7060 bytes - .../Comfortaa-Regular-new.name-legacy.61,63.ttf | Bin 6692 -> 6692 bytes - .../Comfortaa-Regular-new.name-legacy.61.ttf | Bin 6328 -> 6328 bytes - .../Comfortaa-Regular-new.name-legacy.62.ttf | Bin 6200 -> 6200 bytes - .../Comfortaa-Regular-new.name-legacy.63.ttf | Bin 6256 -> 6256 bytes - ...egular-new.name-legacy.retain-all-codepoint.ttf | Bin 222756 -> 222756 bytes - ...egular-new.no-prune-unicode-ranges.61,62,63.ttf | Bin 7060 -> 7060 bytes - ...a-Regular-new.no-prune-unicode-ranges.61,63.ttf | Bin 6692 -> 6692 bytes - ...rtaa-Regular-new.no-prune-unicode-ranges.61.ttf | Bin 6328 -> 6328 bytes - ...rtaa-Regular-new.no-prune-unicode-ranges.62.ttf | Bin 6200 -> 6200 bytes - ...rtaa-Regular-new.no-prune-unicode-ranges.63.ttf | Bin 6256 -> 6256 bytes - ...o-prune-unicode-ranges.retain-all-codepoint.ttf | Bin 222756 -> 222756 bytes - ...mfortaa-Regular-new.notdef-outline.61,62,63.ttf | Bin 7652 -> 7652 bytes - .../Comfortaa-Regular-new.notdef-outline.61,63.ttf | Bin 7284 -> 7284 bytes - .../Comfortaa-Regular-new.notdef-outline.61.ttf | Bin 6920 -> 6920 bytes - .../Comfortaa-Regular-new.notdef-outline.62.ttf | Bin 6796 -> 6796 bytes - .../Comfortaa-Regular-new.notdef-outline.63.ttf | Bin 6844 -> 6844 bytes - ...lar-new.notdef-outline.retain-all-codepoint.ttf | Bin 223352 -> 223352 bytes - .../Comfortaa-Regular-new.retain-gids.61,62,63.ttf | Bin 9068 -> 9068 bytes - .../Comfortaa-Regular-new.retain-gids.61,63.ttf | Bin 8708 -> 8708 bytes - .../Comfortaa-Regular-new.retain-gids.61.ttf | Bin 8076 -> 8076 bytes - .../Comfortaa-Regular-new.retain-gids.62.ttf | Bin 8200 -> 8200 bytes - .../Comfortaa-Regular-new.retain-gids.63.ttf | Bin 8260 -> 8260 bytes - ...egular-new.retain-gids.retain-all-codepoint.ttf | Bin 222804 -> 222804 bytes - ...numMyeongjo-Regular-subset.default.61,62,63.ttf | Bin 4128 -> 4128 bytes - .../NanumMyeongjo-Regular-subset.default.61,63.ttf | Bin 3580 -> 3580 bytes - .../NanumMyeongjo-Regular-subset.default.61.ttf | Bin 3156 -> 3156 bytes - .../NanumMyeongjo-Regular-subset.default.62.ttf | Bin 3180 -> 3180 bytes - .../NanumMyeongjo-Regular-subset.default.63.ttf | Bin 3048 -> 3048 bytes - ...Regular-subset.default.retain-all-codepoint.ttf | Bin 9524 -> 9524 bytes - ...ular-subset.drop-hints-retain-gids.61,62,63.ttf | Bin 1452 -> 1452 bytes - ...Regular-subset.drop-hints-retain-gids.61,63.ttf | Bin 1284 -> 1284 bytes - ...jo-Regular-subset.drop-hints-retain-gids.61.ttf | Bin 1128 -> 1128 bytes - ...jo-Regular-subset.drop-hints-retain-gids.62.ttf | Bin 1144 -> 1144 bytes - ...jo-Regular-subset.drop-hints-retain-gids.63.ttf | Bin 1116 -> 1116 bytes - ...drop-hints-retain-gids.retain-all-codepoint.ttf | Bin 3536 -> 3536 bytes - ...Myeongjo-Regular-subset.drop-hints.61,62,63.ttf | Bin 1452 -> 1452 bytes - ...numMyeongjo-Regular-subset.drop-hints.61,63.ttf | Bin 1276 -> 1276 bytes - .../NanumMyeongjo-Regular-subset.drop-hints.61.ttf | Bin 1128 -> 1128 bytes - .../NanumMyeongjo-Regular-subset.drop-hints.62.ttf | Bin 1140 -> 1140 bytes - .../NanumMyeongjo-Regular-subset.drop-hints.63.ttf | Bin 1104 -> 1104 bytes - ...ular-subset.drop-hints.retain-all-codepoint.ttf | Bin 3536 -> 3536 bytes - .../NanumMyeongjo-Regular-subset.gids.61,62,63.ttf | Bin 4128 -> 4128 bytes - .../NanumMyeongjo-Regular-subset.gids.61,63.ttf | Bin 4128 -> 4128 bytes - .../NanumMyeongjo-Regular-subset.gids.61.ttf | Bin 4128 -> 4128 bytes - .../NanumMyeongjo-Regular-subset.gids.62.ttf | Bin 4128 -> 4128 bytes - .../NanumMyeongjo-Regular-subset.gids.63.ttf | Bin 4128 -> 4128 bytes - ...jo-Regular-subset.gids.retain-all-codepoint.ttf | Bin 9524 -> 9524 bytes - ...yeongjo-Regular-subset.glyph-names.61,62,63.ttf | Bin 4128 -> 4128 bytes - ...umMyeongjo-Regular-subset.glyph-names.61,63.ttf | Bin 3580 -> 3580 bytes - ...NanumMyeongjo-Regular-subset.glyph-names.61.ttf | Bin 3156 -> 3156 bytes - ...NanumMyeongjo-Regular-subset.glyph-names.62.ttf | Bin 3180 -> 3180 bytes - ...NanumMyeongjo-Regular-subset.glyph-names.63.ttf | Bin 3048 -> 3048 bytes - ...lar-subset.glyph-names.retain-all-codepoint.ttf | Bin 9524 -> 9524 bytes - ...ar-subset.keep-all-layout-features.61,62,63.ttf | Bin 4128 -> 4128 bytes - ...gular-subset.keep-all-layout-features.61,63.ttf | Bin 3580 -> 3580 bytes - ...-Regular-subset.keep-all-layout-features.61.ttf | Bin 3156 -> 3156 bytes - ...-Regular-subset.keep-all-layout-features.62.ttf | Bin 3180 -> 3180 bytes - ...-Regular-subset.keep-all-layout-features.63.ttf | Bin 3048 -> 3048 bytes - ...ep-all-layout-features.retain-all-codepoint.ttf | Bin 9524 -> 9524 bytes - ...gjo-Regular-subset.layout-features.61,62,63.ttf | Bin 4128 -> 4128 bytes - ...eongjo-Regular-subset.layout-features.61,63.ttf | Bin 3580 -> 3580 bytes - ...mMyeongjo-Regular-subset.layout-features.61.ttf | Bin 3156 -> 3156 bytes - ...mMyeongjo-Regular-subset.layout-features.62.ttf | Bin 3180 -> 3180 bytes - ...mMyeongjo-Regular-subset.layout-features.63.ttf | Bin 3048 -> 3048 bytes - ...subset.layout-features.retain-all-codepoint.ttf | Bin 9524 -> 9524 bytes - ...umMyeongjo-Regular-subset.name-ids.61,62,63.ttf | Bin 3924 -> 3924 bytes - ...NanumMyeongjo-Regular-subset.name-ids.61,63.ttf | Bin 3376 -> 3376 bytes - .../NanumMyeongjo-Regular-subset.name-ids.61.ttf | Bin 2952 -> 2952 bytes - .../NanumMyeongjo-Regular-subset.name-ids.62.ttf | Bin 2976 -> 2976 bytes - .../NanumMyeongjo-Regular-subset.name-ids.63.ttf | Bin 2844 -> 2844 bytes - ...egular-subset.name-ids.retain-all-codepoint.ttf | Bin 9320 -> 9320 bytes - ...ngjo-Regular-subset.name-languages.61,62,63.ttf | Bin 4172 -> 4172 bytes - ...yeongjo-Regular-subset.name-languages.61,63.ttf | Bin 3624 -> 3624 bytes - ...umMyeongjo-Regular-subset.name-languages.61.ttf | Bin 3200 -> 3200 bytes - ...umMyeongjo-Regular-subset.name-languages.62.ttf | Bin 3224 -> 3224 bytes - ...umMyeongjo-Regular-subset.name-languages.63.ttf | Bin 3092 -> 3092 bytes - ...-subset.name-languages.retain-all-codepoint.ttf | Bin 9568 -> 9568 bytes - ...yeongjo-Regular-subset.name-legacy.61,62,63.ttf | Bin 4128 -> 4128 bytes - ...umMyeongjo-Regular-subset.name-legacy.61,63.ttf | Bin 3580 -> 3580 bytes - ...NanumMyeongjo-Regular-subset.name-legacy.61.ttf | Bin 3156 -> 3156 bytes - ...NanumMyeongjo-Regular-subset.name-legacy.62.ttf | Bin 3180 -> 3180 bytes - ...NanumMyeongjo-Regular-subset.name-legacy.63.ttf | Bin 3048 -> 3048 bytes - ...lar-subset.name-legacy.retain-all-codepoint.ttf | Bin 9524 -> 9524 bytes - ...lar-subset.no-prune-unicode-ranges.61,62,63.ttf | Bin 4128 -> 4128 bytes - ...egular-subset.no-prune-unicode-ranges.61,63.ttf | Bin 3580 -> 3580 bytes - ...o-Regular-subset.no-prune-unicode-ranges.61.ttf | Bin 3156 -> 3156 bytes - ...o-Regular-subset.no-prune-unicode-ranges.62.ttf | Bin 3180 -> 3180 bytes - ...o-Regular-subset.no-prune-unicode-ranges.63.ttf | Bin 3048 -> 3048 bytes - ...o-prune-unicode-ranges.retain-all-codepoint.ttf | Bin 9524 -> 9524 bytes - ...ngjo-Regular-subset.notdef-outline.61,62,63.ttf | Bin 4128 -> 4128 bytes - ...yeongjo-Regular-subset.notdef-outline.61,63.ttf | Bin 3580 -> 3580 bytes - ...umMyeongjo-Regular-subset.notdef-outline.61.ttf | Bin 3156 -> 3156 bytes - ...umMyeongjo-Regular-subset.notdef-outline.62.ttf | Bin 3180 -> 3180 bytes - ...umMyeongjo-Regular-subset.notdef-outline.63.ttf | Bin 3048 -> 3048 bytes - ...-subset.notdef-outline.retain-all-codepoint.ttf | Bin 9524 -> 9524 bytes - ...yeongjo-Regular-subset.retain-gids.61,62,63.ttf | Bin 4128 -> 4128 bytes - ...umMyeongjo-Regular-subset.retain-gids.61,63.ttf | Bin 3588 -> 3588 bytes - ...NanumMyeongjo-Regular-subset.retain-gids.61.ttf | Bin 3156 -> 3156 bytes - ...NanumMyeongjo-Regular-subset.retain-gids.62.ttf | Bin 3184 -> 3184 bytes - ...NanumMyeongjo-Regular-subset.retain-gids.63.ttf | Bin 3060 -> 3060 bytes - ...lar-subset.retain-gids.retain-all-codepoint.ttf | Bin 9524 -> 9524 bytes - .../basics/Roboto-Regular.abc.default.61,62,63.ttf | Bin 2412 -> 2412 bytes - .../basics/Roboto-Regular.abc.default.61,63.ttf | Bin 2208 -> 2208 bytes - .../basics/Roboto-Regular.abc.default.61.ttf | Bin 2008 -> 2008 bytes - .../basics/Roboto-Regular.abc.default.62.ttf | Bin 1876 -> 1876 bytes - .../basics/Roboto-Regular.abc.default.63.ttf | Bin 1932 -> 1932 bytes - ...to-Regular.abc.default.retain-all-codepoint.ttf | Bin 2412 -> 2412 bytes - ...Regular.abc.drop-hints-retain-gids.61,62,63.ttf | Bin 1152 -> 1152 bytes - ...to-Regular.abc.drop-hints-retain-gids.61,63.ttf | Bin 1072 -> 1072 bytes - ...oboto-Regular.abc.drop-hints-retain-gids.61.ttf | Bin 944 -> 944 bytes - ...oboto-Regular.abc.drop-hints-retain-gids.62.ttf | Bin 840 -> 840 bytes - ...oboto-Regular.abc.drop-hints-retain-gids.63.ttf | Bin 928 -> 928 bytes - ...drop-hints-retain-gids.retain-all-codepoint.ttf | Bin 1152 -> 1152 bytes - .../Roboto-Regular.abc.drop-hints.61,62,63.ttf | Bin 1152 -> 1152 bytes - .../basics/Roboto-Regular.abc.drop-hints.61,63.ttf | Bin 1056 -> 1056 bytes - .../basics/Roboto-Regular.abc.drop-hints.61.ttf | Bin 944 -> 944 bytes - .../basics/Roboto-Regular.abc.drop-hints.62.ttf | Bin 836 -> 836 bytes - .../basics/Roboto-Regular.abc.drop-hints.63.ttf | Bin 916 -> 916 bytes - ...Regular.abc.drop-hints.retain-all-codepoint.ttf | Bin 1152 -> 1152 bytes - .../basics/Roboto-Regular.abc.gids.61,62,63.ttf | Bin 2412 -> 2412 bytes - .../basics/Roboto-Regular.abc.gids.61,63.ttf | Bin 2412 -> 2412 bytes - .../expected/basics/Roboto-Regular.abc.gids.61.ttf | Bin 2412 -> 2412 bytes - .../expected/basics/Roboto-Regular.abc.gids.62.ttf | Bin 2412 -> 2412 bytes - .../expected/basics/Roboto-Regular.abc.gids.63.ttf | Bin 2412 -> 2412 bytes - ...oboto-Regular.abc.gids.retain-all-codepoint.ttf | Bin 2412 -> 2412 bytes - .../Roboto-Regular.abc.glyph-names.61,62,63.ttf | Bin 2412 -> 2412 bytes - .../Roboto-Regular.abc.glyph-names.61,63.ttf | Bin 2208 -> 2208 bytes - .../basics/Roboto-Regular.abc.glyph-names.61.ttf | Bin 2008 -> 2008 bytes - .../basics/Roboto-Regular.abc.glyph-names.62.ttf | Bin 1876 -> 1876 bytes - .../basics/Roboto-Regular.abc.glyph-names.63.ttf | Bin 1932 -> 1932 bytes - ...egular.abc.glyph-names.retain-all-codepoint.ttf | Bin 2412 -> 2412 bytes - ...gular.abc.keep-all-layout-features.61,62,63.ttf | Bin 2412 -> 2412 bytes - ...-Regular.abc.keep-all-layout-features.61,63.ttf | Bin 2208 -> 2208 bytes - ...oto-Regular.abc.keep-all-layout-features.61.ttf | Bin 2008 -> 2008 bytes - ...oto-Regular.abc.keep-all-layout-features.62.ttf | Bin 1876 -> 1876 bytes - ...oto-Regular.abc.keep-all-layout-features.63.ttf | Bin 1932 -> 1932 bytes - ...ep-all-layout-features.retain-all-codepoint.ttf | Bin 2412 -> 2412 bytes - ...Roboto-Regular.abc.layout-features.61,62,63.ttf | Bin 2412 -> 2412 bytes - .../Roboto-Regular.abc.layout-features.61,63.ttf | Bin 2208 -> 2208 bytes - .../Roboto-Regular.abc.layout-features.61.ttf | Bin 2008 -> 2008 bytes - .../Roboto-Regular.abc.layout-features.62.ttf | Bin 1876 -> 1876 bytes - .../Roboto-Regular.abc.layout-features.63.ttf | Bin 1932 -> 1932 bytes - ...ar.abc.layout-features.retain-all-codepoint.ttf | Bin 2412 -> 2412 bytes - .../Roboto-Regular.abc.name-ids.61,62,63.ttf | Bin 2412 -> 2412 bytes - .../basics/Roboto-Regular.abc.name-ids.61,63.ttf | Bin 2208 -> 2208 bytes - .../basics/Roboto-Regular.abc.name-ids.61.ttf | Bin 2008 -> 2008 bytes - .../basics/Roboto-Regular.abc.name-ids.62.ttf | Bin 1876 -> 1876 bytes - .../basics/Roboto-Regular.abc.name-ids.63.ttf | Bin 1932 -> 1932 bytes - ...o-Regular.abc.name-ids.retain-all-codepoint.ttf | Bin 2412 -> 2412 bytes - .../Roboto-Regular.abc.name-languages.61,62,63.ttf | Bin 2412 -> 2412 bytes - .../Roboto-Regular.abc.name-languages.61,63.ttf | Bin 2208 -> 2208 bytes - .../Roboto-Regular.abc.name-languages.61.ttf | Bin 2008 -> 2008 bytes - .../Roboto-Regular.abc.name-languages.62.ttf | Bin 1876 -> 1876 bytes - .../Roboto-Regular.abc.name-languages.63.ttf | Bin 1932 -> 1932 bytes - ...lar.abc.name-languages.retain-all-codepoint.ttf | Bin 2412 -> 2412 bytes - .../Roboto-Regular.abc.name-legacy.61,62,63.ttf | Bin 2412 -> 2412 bytes - .../Roboto-Regular.abc.name-legacy.61,63.ttf | Bin 2208 -> 2208 bytes - .../basics/Roboto-Regular.abc.name-legacy.61.ttf | Bin 2008 -> 2008 bytes - .../basics/Roboto-Regular.abc.name-legacy.62.ttf | Bin 1876 -> 1876 bytes - .../basics/Roboto-Regular.abc.name-legacy.63.ttf | Bin 1932 -> 1932 bytes - ...egular.abc.name-legacy.retain-all-codepoint.ttf | Bin 2412 -> 2412 bytes - ...egular.abc.no-prune-unicode-ranges.61,62,63.ttf | Bin 2412 -> 2412 bytes - ...o-Regular.abc.no-prune-unicode-ranges.61,63.ttf | Bin 2208 -> 2208 bytes - ...boto-Regular.abc.no-prune-unicode-ranges.61.ttf | Bin 2008 -> 2008 bytes - ...boto-Regular.abc.no-prune-unicode-ranges.62.ttf | Bin 1876 -> 1876 bytes - ...boto-Regular.abc.no-prune-unicode-ranges.63.ttf | Bin 1932 -> 1932 bytes - ...o-prune-unicode-ranges.retain-all-codepoint.ttf | Bin 2412 -> 2412 bytes - .../Roboto-Regular.abc.notdef-outline.61,62,63.ttf | Bin 2412 -> 2412 bytes - .../Roboto-Regular.abc.notdef-outline.61,63.ttf | Bin 2208 -> 2208 bytes - .../Roboto-Regular.abc.notdef-outline.61.ttf | Bin 2008 -> 2008 bytes - .../Roboto-Regular.abc.notdef-outline.62.ttf | Bin 1876 -> 1876 bytes - .../Roboto-Regular.abc.notdef-outline.63.ttf | Bin 1932 -> 1932 bytes - ...lar.abc.notdef-outline.retain-all-codepoint.ttf | Bin 2412 -> 2412 bytes - .../Roboto-Regular.abc.retain-gids.61,62,63.ttf | Bin 2412 -> 2412 bytes - .../Roboto-Regular.abc.retain-gids.61,63.ttf | Bin 2224 -> 2224 bytes - .../basics/Roboto-Regular.abc.retain-gids.61.ttf | Bin 2008 -> 2008 bytes - .../basics/Roboto-Regular.abc.retain-gids.62.ttf | Bin 1884 -> 1884 bytes - .../basics/Roboto-Regular.abc.retain-gids.63.ttf | Bin 1948 -> 1948 bytes - ...egular.abc.retain-gids.retain-all-codepoint.ttf | Bin 2412 -> 2412 bytes - .../cmap/AdobeBlank-Regular.default.61,62.ttf | Bin 1208 -> 1208 bytes - .../cmap/AdobeBlank-Regular.default.61,FEFA.ttf | Bin 1264 -> 1264 bytes - .../cmap/AdobeBlank-Regular.default.FEE6,FECF.ttf | Bin 1216 -> 1216 bytes - .../cmap/AdobeBlank-Regular.default.FEF9,FEFA.ttf | Bin 1204 -> 1204 bytes - .../cmap/AdobeBlank-Regular.default.FEFA.ttf | Bin 1184 -> 1184 bytes - ...eBlank-Regular.drop-hints-retain-gids.61,62.ttf | Bin 1424 -> 1424 bytes - ...lank-Regular.drop-hints-retain-gids.61,FEFA.ttf | Bin 8232 -> 8232 bytes - ...nk-Regular.drop-hints-retain-gids.FEE6,FECF.ttf | Bin 8104 -> 8104 bytes - ...nk-Regular.drop-hints-retain-gids.FEF9,FEFA.ttf | Bin 8172 -> 8172 bytes - ...beBlank-Regular.drop-hints-retain-gids.FEFA.ttf | Bin 8156 -> 8156 bytes - .../cmap/AdobeBlank-Regular.drop-hints.61,62.ttf | Bin 1036 -> 1036 bytes - .../cmap/AdobeBlank-Regular.drop-hints.61,FEFA.ttf | Bin 1092 -> 1092 bytes - .../AdobeBlank-Regular.drop-hints.FEE6,FECF.ttf | Bin 1044 -> 1044 bytes - .../AdobeBlank-Regular.drop-hints.FEF9,FEFA.ttf | Bin 1032 -> 1032 bytes - .../cmap/AdobeBlank-Regular.drop-hints.FEFA.ttf | Bin 1012 -> 1012 bytes - .../cmap/AdobeBlank-Regular.name-ids.61,62.ttf | Bin 956 -> 956 bytes - .../cmap/AdobeBlank-Regular.name-ids.61,FEFA.ttf | Bin 1012 -> 1012 bytes - .../cmap/AdobeBlank-Regular.name-ids.FEE6,FECF.ttf | Bin 964 -> 964 bytes - .../cmap/AdobeBlank-Regular.name-ids.FEF9,FEFA.ttf | Bin 952 -> 952 bytes - .../cmap/AdobeBlank-Regular.name-ids.FEFA.ttf | Bin 932 -> 932 bytes - .../cmap/AdobeBlank-Regular.retain-gids.61,62.ttf | Bin 1596 -> 1596 bytes - .../AdobeBlank-Regular.retain-gids.61,FEFA.ttf | Bin 8404 -> 8404 bytes - .../AdobeBlank-Regular.retain-gids.FEE6,FECF.ttf | Bin 8276 -> 8276 bytes - .../AdobeBlank-Regular.retain-gids.FEF9,FEFA.ttf | Bin 8344 -> 8344 bytes - .../cmap/AdobeBlank-Regular.retain-gids.FEFA.ttf | Bin 8328 -> 8328 bytes - .../TwemojiMozilla.subset.default.32,3297,3299.ttf | Bin 1868 -> 1868 bytes - .../colr/TwemojiMozilla.subset.default.32,3297.ttf | Bin 1344 -> 1344 bytes - .../colr/TwemojiMozilla.subset.default.32,3299.ttf | Bin 1520 -> 1520 bytes - .../colr/TwemojiMozilla.subset.default.32.ttf | Bin 888 -> 888 bytes - .../TwemojiMozilla.subset.default.3297,3299.ttf | Bin 1860 -> 1860 bytes - .../colr/TwemojiMozilla.subset.default.3297.ttf | Bin 1332 -> 1332 bytes - .../colr/TwemojiMozilla.subset.default.3299.ttf | Bin 1508 -> 1508 bytes - ....subset.drop-hints-retain-gids.32,3297,3299.ttf | Bin 1848 -> 1848 bytes - ...zilla.subset.drop-hints-retain-gids.32,3297.ttf | Bin 1340 -> 1340 bytes - ...zilla.subset.drop-hints-retain-gids.32,3299.ttf | Bin 1520 -> 1520 bytes - ...ojiMozilla.subset.drop-hints-retain-gids.32.ttf | Bin 868 -> 868 bytes - ...lla.subset.drop-hints-retain-gids.3297,3299.ttf | Bin 1844 -> 1844 bytes - ...iMozilla.subset.drop-hints-retain-gids.3297.ttf | Bin 1328 -> 1328 bytes - ...iMozilla.subset.drop-hints-retain-gids.3299.ttf | Bin 1508 -> 1508 bytes - ...emojiMozilla.subset.drop-hints.32,3297,3299.ttf | Bin 1848 -> 1848 bytes - .../TwemojiMozilla.subset.drop-hints.32,3297.ttf | Bin 1324 -> 1324 bytes - .../TwemojiMozilla.subset.drop-hints.32,3299.ttf | Bin 1500 -> 1500 bytes - .../colr/TwemojiMozilla.subset.drop-hints.32.ttf | Bin 868 -> 868 bytes - .../TwemojiMozilla.subset.drop-hints.3297,3299.ttf | Bin 1840 -> 1840 bytes - .../colr/TwemojiMozilla.subset.drop-hints.3297.ttf | Bin 1312 -> 1312 bytes - .../colr/TwemojiMozilla.subset.drop-hints.3299.ttf | Bin 1488 -> 1488 bytes - ...mojiMozilla.subset.retain-gids.32,3297,3299.ttf | Bin 1868 -> 1868 bytes - .../TwemojiMozilla.subset.retain-gids.32,3297.ttf | Bin 1360 -> 1360 bytes - .../TwemojiMozilla.subset.retain-gids.32,3299.ttf | Bin 1540 -> 1540 bytes - .../colr/TwemojiMozilla.subset.retain-gids.32.ttf | Bin 888 -> 888 bytes - ...TwemojiMozilla.subset.retain-gids.3297,3299.ttf | Bin 1864 -> 1864 bytes - .../TwemojiMozilla.subset.retain-gids.3297.ttf | Bin 1348 -> 1348 bytes - .../TwemojiMozilla.subset.retain-gids.3299.ttf | Bin 1528 -> 1528 bytes - .../colr_with_components/colr-table.default.6B.ttf | Bin 4260 -> 4260 bytes - .../colr-table.drop-hints-retain-gids.6B.ttf | Bin 4984 -> 4984 bytes - .../colr-table.drop-hints.6B.ttf | Bin 4260 -> 4260 bytes - .../colr-table.retain-gids.6B.ttf | Bin 4984 -> 4984 bytes - .../Roboto-Regular.default.1FC,21,41,20,62,63.ttf | Bin 3004 -> 3004 bytes - .../full-font/Roboto-Regular.default.61,62,63.ttf | Bin 2632 -> 2632 bytes - .../Roboto-Regular.default.D7,D8,D9,DA,DE.ttf | Bin 2960 -> 2960 bytes - ...oboto-Regular.drop-hints.1FC,21,41,20,62,63.ttf | Bin 1556 -> 1556 bytes - .../Roboto-Regular.drop-hints.61,62,63.ttf | Bin 1372 -> 1372 bytes - .../Roboto-Regular.drop-hints.D7,D8,D9,DA,DE.ttf | Bin 1584 -> 1584 bytes - ...ifVariable-Roman.default.1FC,21,41,20,62,63.ttf | Bin 3888 -> 3888 bytes - .../SourceSerifVariable-Roman.default.61,62,63.ttf | Bin 3784 -> 3784 bytes - ...eSerifVariable-Roman.default.D7,D8,D9,DA,DE.ttf | Bin 4324 -> 4324 bytes - ...ariable-Roman.drop-hints.1FC,21,41,20,62,63.ttf | Bin 3876 -> 3876 bytes - ...urceSerifVariable-Roman.drop-hints.61,62,63.ttf | Bin 3784 -> 3784 bytes - ...rifVariable-Roman.drop-hints.D7,D8,D9,DA,DE.ttf | Bin 4324 -> 4324 bytes - .../Mplus1p-Regular.default.1D715,1D7D8,41,42.ttf | Bin 2340 -> 2340 bytes - .../japanese/Mplus1p-Regular.default.25771.ttf | Bin 1988 -> 1988 bytes - ...gular.default.3042,3044,3046,3048,304A,304B.ttf | Bin 2616 -> 2616 bytes - ...gular.default.3042,3044,3046,73E0,5EA6,8F38.ttf | Bin 2848 -> 2848 bytes - .../Mplus1p-Regular.default.61,63,65,6B.ttf | Bin 2248 -> 2248 bytes - ...gular.default.660E,6975,73E0,5EA6,8F38,6E05.ttf | Bin 3144 -> 3144 bytes - .../japanese/Mplus1p-Regular.default.660E.ttf | Bin 1944 -> 1944 bytes - ...plus1p-Regular.drop-hints.1D715,1D7D8,41,42.ttf | Bin 1612 -> 1612 bytes - .../japanese/Mplus1p-Regular.drop-hints.25771.ttf | Bin 1260 -> 1260 bytes - ...ar.drop-hints.3042,3044,3046,3048,304A,304B.ttf | Bin 1888 -> 1888 bytes - ...ar.drop-hints.3042,3044,3046,73E0,5EA6,8F38.ttf | Bin 2120 -> 2120 bytes - .../Mplus1p-Regular.drop-hints.61,63,65,6B.ttf | Bin 1520 -> 1520 bytes - ...ar.drop-hints.660E,6975,73E0,5EA6,8F38,6E05.ttf | Bin 2416 -> 2416 bytes - .../japanese/Mplus1p-Regular.drop-hints.660E.ttf | Bin 1216 -> 1216 bytes - ...Mplus1p-Regular.keep-gdef.1D715,1D7D8,41,42.ttf | Bin 2340 -> 2340 bytes - .../japanese/Mplus1p-Regular.keep-gdef.25771.ttf | Bin 1988 -> 1988 bytes - ...lar.keep-gdef.3042,3044,3046,3048,304A,304B.ttf | Bin 2616 -> 2616 bytes - ...lar.keep-gdef.3042,3044,3046,73E0,5EA6,8F38.ttf | Bin 2848 -> 2848 bytes - .../Mplus1p-Regular.keep-gdef.61,63,65,6B.ttf | Bin 2248 -> 2248 bytes - ...lar.keep-gdef.660E,6975,73E0,5EA6,8F38,6E05.ttf | Bin 3144 -> 3144 bytes - .../japanese/Mplus1p-Regular.keep-gdef.660E.ttf | Bin 1944 -> 1944 bytes - .../IndicTestJalandhar-Regular.default.A01.ttf | Bin 4172 -> 4172 bytes - .../IndicTestJalandhar-Regular.default.A05,A06.ttf | Bin 4748 -> 4748 bytes - .../IndicTestJalandhar-Regular.default.A07,A1B.ttf | Bin 4720 -> 4720 bytes - ...andhar-Regular.default.retain-all-codepoint.ttf | Bin 49248 -> 49248 bytes - .../IndicTestJalandhar-Regular.drop-hints.A01.ttf | Bin 1032 -> 1032 bytes - ...dicTestJalandhar-Regular.drop-hints.A05,A06.ttf | Bin 1340 -> 1340 bytes - ...dicTestJalandhar-Regular.drop-hints.A07,A1B.ttf | Bin 1340 -> 1340 bytes - ...har-Regular.drop-hints.retain-all-codepoint.ttf | Bin 29468 -> 29468 bytes - .../IndicTestJalandhar-Regular.keep-gdef.A01.ttf | Bin 4172 -> 4172 bytes - ...ndicTestJalandhar-Regular.keep-gdef.A05,A06.ttf | Bin 4748 -> 4748 bytes - ...ndicTestJalandhar-Regular.keep-gdef.A07,A1B.ttf | Bin 4720 -> 4720 bytes - ...dhar-Regular.keep-gdef.retain-all-codepoint.ttf | Bin 49248 -> 49248 bytes - .../Roboto-Regular.default.1E00,303.ttf | Bin 2472 -> 2472 bytes - .../layout.gdef/Roboto-Regular.default.303.ttf | Bin 2076 -> 2076 bytes - .../Roboto-Regular.default.309,20,30F.ttf | Bin 2148 -> 2148 bytes - .../layout.gdef/Roboto-Regular.default.323.ttf | Bin 1968 -> 1968 bytes - .../Roboto-Regular.default.41,42,43.ttf | Bin 2532 -> 2532 bytes - .../Roboto-Regular.drop-hints.1E00,303.ttf | Bin 1328 -> 1328 bytes - .../layout.gdef/Roboto-Regular.drop-hints.303.ttf | Bin 1072 -> 1072 bytes - .../Roboto-Regular.drop-hints.309,20,30F.ttf | Bin 1108 -> 1108 bytes - .../layout.gdef/Roboto-Regular.drop-hints.323.ttf | Bin 1016 -> 1016 bytes - .../Roboto-Regular.drop-hints.41,42,43.ttf | Bin 1348 -> 1348 bytes - .../Roboto-Regular.keep-gdef-gpos.1E00,303.ttf | Bin 2472 -> 2472 bytes - .../Roboto-Regular.keep-gdef-gpos.303.ttf | Bin 2076 -> 2076 bytes - .../Roboto-Regular.keep-gdef-gpos.309,20,30F.ttf | Bin 2148 -> 2148 bytes - .../Roboto-Regular.keep-gdef-gpos.323.ttf | Bin 1968 -> 1968 bytes - .../Roboto-Regular.keep-gdef-gpos.41,42,43.ttf | Bin 2532 -> 2532 bytes - ...ular.default.627,644,623,62D,644,627,645,2E.ttf | Bin 12592 -> 12592 bytes - .../Amiri-Regular.default.627,644,62D,628.ttf | Bin 9924 -> 9924 bytes - .../Amiri-Regular.default.627,644.ttf | Bin 4112 -> 4112 bytes - ...-Regular.default.633,645,627,621,20,644,627.ttf | Bin 9424 -> 9424 bytes - .../Amiri-Regular.default.63A,64A,631.ttf | Bin 7256 -> 7256 bytes - ....retain-gids.627,644,623,62D,644,627,645,2E.ttf | Bin 47920 -> 47920 bytes - .../Amiri-Regular.retain-gids.627,644,62D,628.ttf | Bin 42572 -> 42572 bytes - .../Amiri-Regular.retain-gids.627,644.ttf | Bin 36640 -> 36640 bytes - ...ular.retain-gids.633,645,627,621,20,644,627.ttf | Bin 45816 -> 45816 bytes - .../Amiri-Regular.retain-gids.63A,64A,631.ttf | Bin 37920 -> 37920 bytes - .../expected/layout.khmer/Khmer.default.1780.ttf | Bin 4200 -> 4200 bytes - ...ult.1789,17BB,17C6,1794,17B6,1793,1798,17BE.ttf | Bin 6408 -> 6408 bytes - .../expected/layout.khmer/Khmer.default.31.ttf | Bin 4136 -> 4136 bytes - .../layout.khmer/Khmer.retain-gids.1780.ttf | Bin 4460 -> 4460 bytes - ...ids.1789,17BB,17C6,1794,17B6,1793,1798,17BE.ttf | Bin 7844 -> 7844 bytes - .../expected/layout.khmer/Khmer.retain-gids.31.ttf | Bin 4252 -> 4252 bytes - ...Bold.default.627,644,623,62D,644,627,645,2E.ttf | Bin 11388 -> 11388 bytes - ...toNastaliqUrdu-Bold.default.627,644,62D,628.ttf | Bin 17688 -> 17688 bytes - .../NotoNastaliqUrdu-Bold.default.627,644.ttf | Bin 3520 -> 3520 bytes - ...rdu-Bold.default.633,645,627,621,20,644,627.ttf | Bin 12380 -> 12380 bytes - .../NotoNastaliqUrdu-Bold.default.63A,64A,631.ttf | Bin 19380 -> 19380 bytes - ....retain-gids.627,644,623,62D,644,627,645,2E.ttf | Bin 18224 -> 18224 bytes - ...staliqUrdu-Bold.retain-gids.627,644,62D,628.ttf | Bin 23748 -> 23748 bytes - .../NotoNastaliqUrdu-Bold.retain-gids.627,644.ttf | Bin 9164 -> 9164 bytes - ...Bold.retain-gids.633,645,627,621,20,644,627.ttf | Bin 18184 -> 18184 bytes - ...toNastaliqUrdu-Bold.retain-gids.63A,64A,631.ttf | Bin 25432 -> 25432 bytes - .../Roboto-Regular.smallcaps.default.41,42,43.ttf | Bin 2424 -> 2424 bytes - .../Roboto-Regular.smallcaps.default.41,43.ttf | Bin 2232 -> 2232 bytes - .../layout/Roboto-Regular.smallcaps.default.41.ttf | Bin 2044 -> 2044 bytes - .../layout/Roboto-Regular.smallcaps.default.43.ttf | Bin 2076 -> 2076 bytes - .../Roboto-Regular.smallcaps.default.CA,CB.ttf | Bin 2348 -> 2348 bytes - ...boto-Regular.smallcaps.retain-gids.41,42,43.ttf | Bin 2676 -> 2676 bytes - .../Roboto-Regular.smallcaps.retain-gids.41,43.ttf | Bin 2496 -> 2496 bytes - .../Roboto-Regular.smallcaps.retain-gids.41.ttf | Bin 2296 -> 2296 bytes - .../Roboto-Regular.smallcaps.retain-gids.43.ttf | Bin 2344 -> 2344 bytes - .../Roboto-Regular.smallcaps.retain-gids.CA,CB.ttf | Bin 6436 -> 6436 bytes - .../data/expected/sbix/sbix.default.58,59.ttf | Bin 193528 -> 193528 bytes - test/subset/data/expected/sbix/sbix.default.58.ttf | Bin 121168 -> 121168 bytes - test/subset/data/expected/sbix/sbix.default.59.ttf | Bin 89364 -> 89364 bytes - .../sbix/sbix.drop-hints-retain-gids.58,59.ttf | Bin 193528 -> 193528 bytes - .../sbix/sbix.drop-hints-retain-gids.58.ttf | Bin 121168 -> 121168 bytes - .../sbix/sbix.drop-hints-retain-gids.59.ttf | Bin 89404 -> 89404 bytes - .../data/expected/sbix/sbix.drop-hints.58,59.ttf | Bin 193528 -> 193528 bytes - .../data/expected/sbix/sbix.drop-hints.58.ttf | Bin 121168 -> 121168 bytes - .../data/expected/sbix/sbix.drop-hints.59.ttf | Bin 89364 -> 89364 bytes - .../data/expected/sbix/sbix.retain-gids.58,59.ttf | Bin 193528 -> 193528 bytes - .../data/expected/sbix/sbix.retain-gids.58.ttf | Bin 121168 -> 121168 bytes - .../data/expected/sbix/sbix.retain-gids.59.ttf | Bin 89404 -> 89404 bytes - .../variable/Fraunces.default.26,66,69,124,125.ttf | Bin 15856 -> 15856 bytes - .../data/expected/variable/Fraunces.default.61.ttf | Bin 4232 -> 4232 bytes - 403 files changed, 41 insertions(+), 26 deletions(-) - -commit 368e9578873798e2d17ed78a0474dec7d4e9d6c0 -Author: Behdad Esfahbod -Date: Thu Aug 5 10:16:13 2021 -0600 - - [ot-shape] Add comment re `vert` feature - - src/hb-ot-shape.cc | 4 ++++ - 1 file changed, 4 insertions(+) - -commit 2c024dc3cba60eee67fb004e3258cd8e47bd9593 -Author: Garret Rieger -Date: Wed Aug 4 11:38:38 2021 -0700 - - [subset] prune redundant cmap12 subtables. - - If the post subset cmap12 table is equivalent to another cmap subtable don't include the 12 table in the final subset. Matches change https://github.com/fonttools/fonttools/pull/2146 from fontTools. - - src/hb-ot-cmap-table.hh | 96 ++++++++++++++++++++- - test/api/fonts/Roboto-Regular.D7,D8,D9,DA,DE.ttf | Bin 2532 -> 2472 bytes - test/api/fonts/Roboto-Regular.abc.ttf | Bin 2168 -> 2132 bytes - test/api/fonts/Roboto-Regular.ac.ttf | Bin 1988 -> 1940 bytes - test/subset/data/Makefile.am | 6 +- - .../basics/Roboto-Regular.abc.default.61,62,63.ttf | Bin 2448 -> 2412 bytes - .../basics/Roboto-Regular.abc.default.61,63.ttf | Bin 2256 -> 2208 bytes - .../basics/Roboto-Regular.abc.default.61.ttf | Bin 2044 -> 2008 bytes - .../basics/Roboto-Regular.abc.default.62.ttf | Bin 1912 -> 1876 bytes - .../basics/Roboto-Regular.abc.default.63.ttf | Bin 1968 -> 1932 bytes - ...to-Regular.abc.default.retain-all-codepoint.ttf | Bin 2448 -> 2412 bytes - ...Regular.abc.drop-hints-retain-gids.61,62,63.ttf | Bin 1188 -> 1152 bytes - ...to-Regular.abc.drop-hints-retain-gids.61,63.ttf | Bin 1120 -> 1072 bytes - ...oboto-Regular.abc.drop-hints-retain-gids.61.ttf | Bin 980 -> 944 bytes - ...oboto-Regular.abc.drop-hints-retain-gids.62.ttf | Bin 876 -> 840 bytes - ...oboto-Regular.abc.drop-hints-retain-gids.63.ttf | Bin 964 -> 928 bytes - ...drop-hints-retain-gids.retain-all-codepoint.ttf | Bin 1188 -> 1152 bytes - .../Roboto-Regular.abc.drop-hints.61,62,63.ttf | Bin 1188 -> 1152 bytes - .../basics/Roboto-Regular.abc.drop-hints.61,63.ttf | Bin 1104 -> 1056 bytes - .../basics/Roboto-Regular.abc.drop-hints.61.ttf | Bin 980 -> 944 bytes - .../basics/Roboto-Regular.abc.drop-hints.62.ttf | Bin 872 -> 836 bytes - .../basics/Roboto-Regular.abc.drop-hints.63.ttf | Bin 952 -> 916 bytes - ...Regular.abc.drop-hints.retain-all-codepoint.ttf | Bin 1188 -> 1152 bytes - .../basics/Roboto-Regular.abc.gids.61,62,63.ttf | Bin 2448 -> 2412 bytes - .../basics/Roboto-Regular.abc.gids.61,63.ttf | Bin 2448 -> 2412 bytes - .../expected/basics/Roboto-Regular.abc.gids.61.ttf | Bin 2448 -> 2412 bytes - .../expected/basics/Roboto-Regular.abc.gids.62.ttf | Bin 2448 -> 2412 bytes - .../expected/basics/Roboto-Regular.abc.gids.63.ttf | Bin 2448 -> 2412 bytes - ...oboto-Regular.abc.gids.retain-all-codepoint.ttf | Bin 2448 -> 2412 bytes - .../Roboto-Regular.abc.glyph-names.61,62,63.ttf | Bin 2448 -> 2412 bytes - .../Roboto-Regular.abc.glyph-names.61,63.ttf | Bin 2256 -> 2208 bytes - .../basics/Roboto-Regular.abc.glyph-names.61.ttf | Bin 2044 -> 2008 bytes - .../basics/Roboto-Regular.abc.glyph-names.62.ttf | Bin 1912 -> 1876 bytes - .../basics/Roboto-Regular.abc.glyph-names.63.ttf | Bin 1968 -> 1932 bytes - ...egular.abc.glyph-names.retain-all-codepoint.ttf | Bin 2448 -> 2412 bytes - ...gular.abc.keep-all-layout-features.61,62,63.ttf | Bin 2448 -> 2412 bytes - ...-Regular.abc.keep-all-layout-features.61,63.ttf | Bin 2256 -> 2208 bytes - ...oto-Regular.abc.keep-all-layout-features.61.ttf | Bin 2044 -> 2008 bytes - ...oto-Regular.abc.keep-all-layout-features.62.ttf | Bin 1912 -> 1876 bytes - ...oto-Regular.abc.keep-all-layout-features.63.ttf | Bin 1968 -> 1932 bytes - ...ep-all-layout-features.retain-all-codepoint.ttf | Bin 2448 -> 2412 bytes - ...Roboto-Regular.abc.layout-features.61,62,63.ttf | Bin 2448 -> 2412 bytes - .../Roboto-Regular.abc.layout-features.61,63.ttf | Bin 2256 -> 2208 bytes - .../Roboto-Regular.abc.layout-features.61.ttf | Bin 2044 -> 2008 bytes - .../Roboto-Regular.abc.layout-features.62.ttf | Bin 1912 -> 1876 bytes - .../Roboto-Regular.abc.layout-features.63.ttf | Bin 1968 -> 1932 bytes - ...ar.abc.layout-features.retain-all-codepoint.ttf | Bin 2448 -> 2412 bytes - .../Roboto-Regular.abc.name-ids.61,62,63.ttf | Bin 2448 -> 2412 bytes - .../basics/Roboto-Regular.abc.name-ids.61,63.ttf | Bin 2256 -> 2208 bytes - .../basics/Roboto-Regular.abc.name-ids.61.ttf | Bin 2044 -> 2008 bytes - .../basics/Roboto-Regular.abc.name-ids.62.ttf | Bin 1912 -> 1876 bytes - .../basics/Roboto-Regular.abc.name-ids.63.ttf | Bin 1968 -> 1932 bytes - ...o-Regular.abc.name-ids.retain-all-codepoint.ttf | Bin 2448 -> 2412 bytes - .../Roboto-Regular.abc.name-languages.61,62,63.ttf | Bin 2448 -> 2412 bytes - .../Roboto-Regular.abc.name-languages.61,63.ttf | Bin 2256 -> 2208 bytes - .../Roboto-Regular.abc.name-languages.61.ttf | Bin 2044 -> 2008 bytes - .../Roboto-Regular.abc.name-languages.62.ttf | Bin 1912 -> 1876 bytes - .../Roboto-Regular.abc.name-languages.63.ttf | Bin 1968 -> 1932 bytes - ...lar.abc.name-languages.retain-all-codepoint.ttf | Bin 2448 -> 2412 bytes - .../Roboto-Regular.abc.name-legacy.61,62,63.ttf | Bin 2448 -> 2412 bytes - .../Roboto-Regular.abc.name-legacy.61,63.ttf | Bin 2256 -> 2208 bytes - .../basics/Roboto-Regular.abc.name-legacy.61.ttf | Bin 2044 -> 2008 bytes - .../basics/Roboto-Regular.abc.name-legacy.62.ttf | Bin 1912 -> 1876 bytes - .../basics/Roboto-Regular.abc.name-legacy.63.ttf | Bin 1968 -> 1932 bytes - ...egular.abc.name-legacy.retain-all-codepoint.ttf | Bin 2448 -> 2412 bytes - ...egular.abc.no-prune-unicode-ranges.61,62,63.ttf | Bin 2448 -> 2412 bytes - ...o-Regular.abc.no-prune-unicode-ranges.61,63.ttf | Bin 2256 -> 2208 bytes - ...boto-Regular.abc.no-prune-unicode-ranges.61.ttf | Bin 2044 -> 2008 bytes - ...boto-Regular.abc.no-prune-unicode-ranges.62.ttf | Bin 1912 -> 1876 bytes - ...boto-Regular.abc.no-prune-unicode-ranges.63.ttf | Bin 1968 -> 1932 bytes - ...o-prune-unicode-ranges.retain-all-codepoint.ttf | Bin 2448 -> 2412 bytes - .../Roboto-Regular.abc.notdef-outline.61,62,63.ttf | Bin 2448 -> 2412 bytes - .../Roboto-Regular.abc.notdef-outline.61,63.ttf | Bin 2256 -> 2208 bytes - .../Roboto-Regular.abc.notdef-outline.61.ttf | Bin 2044 -> 2008 bytes - .../Roboto-Regular.abc.notdef-outline.62.ttf | Bin 1912 -> 1876 bytes - .../Roboto-Regular.abc.notdef-outline.63.ttf | Bin 1968 -> 1932 bytes - ...lar.abc.notdef-outline.retain-all-codepoint.ttf | Bin 2448 -> 2412 bytes - .../Roboto-Regular.abc.retain-gids.61,62,63.ttf | Bin 2448 -> 2412 bytes - .../Roboto-Regular.abc.retain-gids.61,63.ttf | Bin 2272 -> 2224 bytes - .../basics/Roboto-Regular.abc.retain-gids.61.ttf | Bin 2044 -> 2008 bytes - .../basics/Roboto-Regular.abc.retain-gids.62.ttf | Bin 1920 -> 1884 bytes - .../basics/Roboto-Regular.abc.retain-gids.63.ttf | Bin 1984 -> 1948 bytes - ...egular.abc.retain-gids.retain-all-codepoint.ttf | Bin 2448 -> 2412 bytes - ...-Regular.drop-hints-desubroutinize.61,62,63.otf | Bin 2004 -> 0 bytes - ...ubroutinize-retain-gids.1FC,21,41,20,62,63.otf} | Bin 20220 -> 20128 bytes - ...utline-desubroutinize-retain-gids.61,62,63.otf} | Bin 2324 -> 2280 bytes - ...-desubroutinize-retain-gids.D7,D8,D9,DA,DE.otf} | Bin 30528 -> 30448 bytes - ...-outline-desubroutinize.1FC,21,41,20,62,63.otf} | Bin 2448 -> 2356 bytes - ...lar.notdef-outline-desubroutinize.61,62,63.otf} | Bin 2128 -> 2084 bytes - ...tdef-outline-desubroutinize.D7,D8,D9,DA,DE.otf} | Bin 2320 -> 2252 bytes - ...ubroutinize-retain-gids.1FC,21,41,20,62,63.otf} | Bin 20052 -> 19960 bytes - ...-hints-desubroutinize-retain-gids.61,62,63.otf} | Bin 2200 -> 2156 bytes - ...-desubroutinize-retain-gids.D7,D8,D9,DA,DE.otf} | Bin 30360 -> 30280 bytes - ...op-hints-desubroutinize.1FC,21,41,20,62,63.otf} | Bin 2276 -> 2184 bytes - ...-outline-drop-hints-desubroutinize.61,62,63.otf | Bin 0 -> 1960 bytes - ...e-drop-hints-desubroutinize.D7,D8,D9,DA,DE.otf} | Bin 2156 -> 2088 bytes - ...-drop-hints-retain-gids.1FC,21,41,20,62,63.otf} | Bin 20144 -> 20052 bytes - ...ef-outline-drop-hints-retain-gids.61,62,63.otf} | Bin 2240 -> 2196 bytes - ...line-drop-hints-retain-gids.D7,D8,D9,DA,DE.otf} | Bin 30376 -> 30296 bytes - ...tdef-outline-drop-hints.1FC,21,41,20,62,63.otf} | Bin 2360 -> 2268 bytes - ...Regular.notdef-outline-drop-hints.61,62,63.otf} | Bin 2072 -> 2028 bytes - ...r.notdef-outline-drop-hints.D7,D8,D9,DA,DE.otf} | Bin 2172 -> 2104 bytes - ...def-outline-retain-gids.1FC,21,41,20,62,63.otf} | Bin 20376 -> 20284 bytes - ...egular.notdef-outline-retain-gids.61,62,63.otf} | Bin 2392 -> 2348 bytes - ....notdef-outline-retain-gids.D7,D8,D9,DA,DE.otf} | Bin 30544 -> 30464 bytes - ...-Regular.notdef-outline.1FC,21,41,20,62,63.otf} | Bin 2592 -> 2500 bytes - ...rceSansPro-Regular.notdef-outline.61,62,63.otf} | Bin 2224 -> 2180 bytes - ...sPro-Regular.notdef-outline.D7,D8,D9,DA,DE.otf} | Bin 2340 -> 2272 bytes - ...ubset.default.3042,3044,3046,3048,304A,304B.otf | Bin 4912 -> 4820 bytes - ...ubset.default.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 6300 -> 6196 bytes - ...eHanSans-Regular_subset.default.61,63,65,6B.otf | Bin 2620 -> 2540 bytes - ...ubset.default.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 6744 -> 6640 bytes - .../SourceHanSans-Regular_subset.default.660E.otf | Bin 2488 -> 2444 bytes - ...e-retain-gids.3042,3044,3046,3048,304A,304B.otf | Bin 129912 -> 129820 bytes - ...e-retain-gids.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 130944 -> 130840 bytes - ...bset.desubroutinize-retain-gids.61,63,65,6B.otf | Bin 3444 -> 3364 bytes - ...e-retain-gids.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 122060 -> 121956 bytes - ...ular_subset.desubroutinize-retain-gids.660E.otf | Bin 50788 -> 50744 bytes - ...esubroutinize.3042,3044,3046,3048,304A,304B.otf | Bin 4748 -> 4656 bytes - ...esubroutinize.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 5944 -> 5840 bytes - ...s-Regular_subset.desubroutinize.61,63,65,6B.otf | Bin 2552 -> 2472 bytes - ...esubroutinize.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 6236 -> 6132 bytes - ...eHanSans-Regular_subset.desubroutinize.660E.otf | Bin 2472 -> 2428 bytes - ...e-retain-gids.3042,3044,3046,3048,304A,304B.otf | Bin 129468 -> 129376 bytes - ...e-retain-gids.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 130324 -> 130220 bytes - ...ints-desubroutinize-retain-gids.61,63,65,6B.otf | Bin 3324 -> 3244 bytes - ...e-retain-gids.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 121284 -> 121180 bytes - ....drop-hints-desubroutinize-retain-gids.660E.otf | Bin 50560 -> 50516 bytes - ...esubroutinize.3042,3044,3046,3048,304A,304B.otf | Bin 4440 -> 4348 bytes - ...esubroutinize.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 5428 -> 5324 bytes - ...ubset.drop-hints-desubroutinize.61,63,65,6B.otf | Bin 2448 -> 2368 bytes - ...esubroutinize.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 5560 -> 5456 bytes - ...gular_subset.drop-hints-desubroutinize.660E.otf | Bin 2336 -> 2292 bytes - ...s-retain-gids.3042,3044,3046,3048,304A,304B.otf | Bin 129608 -> 129516 bytes - ...s-retain-gids.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 130632 -> 130528 bytes - ...r_subset.drop-hints-retain-gids.61,63,65,6B.otf | Bin 3288 -> 3208 bytes - ...s-retain-gids.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 121784 -> 121680 bytes - ...-Regular_subset.drop-hints-retain-gids.660E.otf | Bin 50576 -> 50532 bytes - ...et.drop-hints.3042,3044,3046,3048,304A,304B.otf | Bin 4576 -> 4484 bytes - ...et.drop-hints.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 5732 -> 5628 bytes - ...nSans-Regular_subset.drop-hints.61,63,65,6B.otf | Bin 2480 -> 2400 bytes - ...et.drop-hints.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 6056 -> 5952 bytes - ...ourceHanSans-Regular_subset.drop-hints.660E.otf | Bin 2348 -> 2304 bytes - ...t.retain-gids.3042,3044,3046,3048,304A,304B.otf | Bin 130072 -> 129980 bytes - ...t.retain-gids.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 131300 -> 131196 bytes - ...Sans-Regular_subset.retain-gids.61,63,65,6B.otf | Bin 3444 -> 3364 bytes - ...t.retain-gids.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 122564 -> 122460 bytes - ...urceHanSans-Regular_subset.retain-gids.660E.otf | Bin 50804 -> 50760 bytes - ...039,1005,100A,103A,1038,1010,103D,1031,104A.otf | Bin 7724 -> 0 bytes - .../cmap/AdobeBlank-Regular.default.61,62.ttf | Bin 1252 -> 1208 bytes - ...eBlank-Regular.drop-hints-retain-gids.61,62.ttf | Bin 1468 -> 1424 bytes - .../cmap/AdobeBlank-Regular.drop-hints.61,62.ttf | Bin 1080 -> 1036 bytes - .../cmap/AdobeBlank-Regular.name-ids.61,62.ttf | Bin 1000 -> 956 bytes - .../cmap/AdobeBlank-Regular.retain-gids.61,62.ttf | Bin 1640 -> 1596 bytes - ...line-drop-hints-retain-gids.4E00,4E02,4E03.otf} | Bin - ...f-outline-drop-hints-retain-gids.4E00,4E03.otf} | Bin - ...line-drop-hints-retain-gids.4E00,4E05,4E07.otf} | Bin - ...line-drop-hints-retain-gids.4E02,4E03,4E08.otf} | Bin - ...notdef-outline-drop-hints-retain-gids.4E02.otf} | Bin - ...notdef-outline-drop-hints-retain-gids.4E03.otf} | Bin - ...drop-hints-retain-gids.4E05,4E07,4E08,4E09.otf} | Bin - ...f-outline-drop-hints-retain-gids.4E08,4E09.otf} | Bin - ...notdef-outline-drop-hints-retain-gids.4E08.otf} | Bin - ...rop-hints-retain-gids.retain-all-codepoint.otf} | Bin - ...1.notdef-outline-drop-hints.4E00,4E02,4E03.otf} | Bin - ..._font1.notdef-outline-drop-hints.4E00,4E03.otf} | Bin - ...1.notdef-outline-drop-hints.4E00,4E05,4E07.otf} | Bin - ...1.notdef-outline-drop-hints.4E02,4E03,4E08.otf} | Bin - ...map14_font1.notdef-outline-drop-hints.4E02.otf} | Bin - ...map14_font1.notdef-outline-drop-hints.4E03.otf} | Bin - ...def-outline-drop-hints.4E05,4E07,4E08,4E09.otf} | Bin - ..._font1.notdef-outline-drop-hints.4E08,4E09.otf} | Bin - ...map14_font1.notdef-outline-drop-hints.4E08.otf} | Bin - ...ef-outline-drop-hints.retain-all-codepoint.otf} | Bin - ...4_font1.notdef-outline-gids.4E00,4E02,4E03.otf} | Bin - ...cmap14_font1.notdef-outline-gids.4E00,4E03.otf} | Bin - ...4_font1.notdef-outline-gids.4E00,4E05,4E07.otf} | Bin - ...4_font1.notdef-outline-gids.4E02,4E03,4E08.otf} | Bin - ...f => cmap14_font1.notdef-outline-gids.4E02.otf} | Bin - ...f => cmap14_font1.notdef-outline-gids.4E03.otf} | Bin - ...t1.notdef-outline-gids.4E05,4E07,4E08,4E09.otf} | Bin - ...cmap14_font1.notdef-outline-gids.4E08,4E09.otf} | Bin - ...f => cmap14_font1.notdef-outline-gids.4E08.otf} | Bin - ...1.notdef-outline-gids.retain-all-codepoint.otf} | Bin - ...nt1.notdef-outline-name-ids.4E00,4E02,4E03.otf} | Bin - ...14_font1.notdef-outline-name-ids.4E00,4E03.otf} | Bin - ...nt1.notdef-outline-name-ids.4E00,4E05,4E07.otf} | Bin - ...nt1.notdef-outline-name-ids.4E02,4E03,4E08.otf} | Bin - ... cmap14_font1.notdef-outline-name-ids.4E02.otf} | Bin - ... cmap14_font1.notdef-outline-name-ids.4E03.otf} | Bin - ...otdef-outline-name-ids.4E05,4E07,4E08,4E09.otf} | Bin - ...14_font1.notdef-outline-name-ids.4E08,4E09.otf} | Bin - ... cmap14_font1.notdef-outline-name-ids.4E08.otf} | Bin - ...tdef-outline-name-ids.retain-all-codepoint.otf} | Bin - ....notdef-outline-retain-gids.4E00,4E02,4E03.otf} | Bin - ...font1.notdef-outline-retain-gids.4E00,4E03.otf} | Bin - ....notdef-outline-retain-gids.4E00,4E05,4E07.otf} | Bin - ....notdef-outline-retain-gids.4E02,4E03,4E08.otf} | Bin - ...ap14_font1.notdef-outline-retain-gids.4E02.otf} | Bin - ...ap14_font1.notdef-outline-retain-gids.4E03.otf} | Bin - ...ef-outline-retain-gids.4E05,4E07,4E08,4E09.otf} | Bin - ...font1.notdef-outline-retain-gids.4E08,4E09.otf} | Bin - ...ap14_font1.notdef-outline-retain-gids.4E08.otf} | Bin - ...f-outline-retain-gids.retain-all-codepoint.otf} | Bin - ...cmap14_font1.notdef-outline.4E00,4E02,4E03.otf} | Bin - ...f => cmap14_font1.notdef-outline.4E00,4E03.otf} | Bin - ...cmap14_font1.notdef-outline.4E00,4E05,4E07.otf} | Bin - ...cmap14_font1.notdef-outline.4E02,4E03,4E08.otf} | Bin - ...02.otf => cmap14_font1.notdef-outline.4E02.otf} | Bin - ...03.otf => cmap14_font1.notdef-outline.4E03.otf} | Bin - ...4_font1.notdef-outline.4E05,4E07,4E08,4E09.otf} | Bin - ...f => cmap14_font1.notdef-outline.4E08,4E09.otf} | Bin - ...08.otf => cmap14_font1.notdef-outline.4E08.otf} | Bin - ..._font1.notdef-outline.retain-all-codepoint.otf} | Bin - ...line-drop-hints-retain-gids.4E00,4E02,4E03.otf} | Bin - ...f-outline-drop-hints-retain-gids.4E00,4E03.otf} | Bin - ...line-drop-hints-retain-gids.4E00,4E05,4E07.otf} | Bin - ...line-drop-hints-retain-gids.4E02,4E03,4E08.otf} | Bin - ...notdef-outline-drop-hints-retain-gids.4E02.otf} | Bin - ...notdef-outline-drop-hints-retain-gids.4E03.otf} | Bin - ...drop-hints-retain-gids.4E05,4E07,4E08,4E09.otf} | Bin - ...f-outline-drop-hints-retain-gids.4E08,4E09.otf} | Bin - ...notdef-outline-drop-hints-retain-gids.4E08.otf} | Bin - ...rop-hints-retain-gids.retain-all-codepoint.otf} | Bin - ...2.notdef-outline-drop-hints.4E00,4E02,4E03.otf} | Bin - ..._font2.notdef-outline-drop-hints.4E00,4E03.otf} | Bin - ...2.notdef-outline-drop-hints.4E00,4E05,4E07.otf} | Bin - ...2.notdef-outline-drop-hints.4E02,4E03,4E08.otf} | Bin - ...map14_font2.notdef-outline-drop-hints.4E02.otf} | Bin - ...map14_font2.notdef-outline-drop-hints.4E03.otf} | Bin - ...def-outline-drop-hints.4E05,4E07,4E08,4E09.otf} | Bin - ..._font2.notdef-outline-drop-hints.4E08,4E09.otf} | Bin - ...map14_font2.notdef-outline-drop-hints.4E08.otf} | Bin - ...ef-outline-drop-hints.retain-all-codepoint.otf} | Bin - ...4_font2.notdef-outline-gids.4E00,4E02,4E03.otf} | Bin - ...cmap14_font2.notdef-outline-gids.4E00,4E03.otf} | Bin - ...4_font2.notdef-outline-gids.4E00,4E05,4E07.otf} | Bin - ...4_font2.notdef-outline-gids.4E02,4E03,4E08.otf} | Bin - ...f => cmap14_font2.notdef-outline-gids.4E02.otf} | Bin - ...f => cmap14_font2.notdef-outline-gids.4E03.otf} | Bin - ...t2.notdef-outline-gids.4E05,4E07,4E08,4E09.otf} | Bin - ...cmap14_font2.notdef-outline-gids.4E08,4E09.otf} | Bin - ...f => cmap14_font2.notdef-outline-gids.4E08.otf} | Bin - ...2.notdef-outline-gids.retain-all-codepoint.otf} | Bin - ...nt2.notdef-outline-name-ids.4E00,4E02,4E03.otf} | Bin - ...14_font2.notdef-outline-name-ids.4E00,4E03.otf} | Bin - ...nt2.notdef-outline-name-ids.4E00,4E05,4E07.otf} | Bin - ...nt2.notdef-outline-name-ids.4E02,4E03,4E08.otf} | Bin - ... cmap14_font2.notdef-outline-name-ids.4E02.otf} | Bin - ... cmap14_font2.notdef-outline-name-ids.4E03.otf} | Bin - ...otdef-outline-name-ids.4E05,4E07,4E08,4E09.otf} | Bin - ...14_font2.notdef-outline-name-ids.4E08,4E09.otf} | Bin - ... cmap14_font2.notdef-outline-name-ids.4E08.otf} | Bin - ...tdef-outline-name-ids.retain-all-codepoint.otf} | Bin - ....notdef-outline-retain-gids.4E00,4E02,4E03.otf} | Bin - ...font2.notdef-outline-retain-gids.4E00,4E03.otf} | Bin - ....notdef-outline-retain-gids.4E00,4E05,4E07.otf} | Bin - ....notdef-outline-retain-gids.4E02,4E03,4E08.otf} | Bin - ...ap14_font2.notdef-outline-retain-gids.4E02.otf} | Bin - ...ap14_font2.notdef-outline-retain-gids.4E03.otf} | Bin - ...ef-outline-retain-gids.4E05,4E07,4E08,4E09.otf} | Bin - ...font2.notdef-outline-retain-gids.4E08,4E09.otf} | Bin - ...ap14_font2.notdef-outline-retain-gids.4E08.otf} | Bin - ...f-outline-retain-gids.retain-all-codepoint.otf} | Bin - ...cmap14_font2.notdef-outline.4E00,4E02,4E03.otf} | Bin - ...f => cmap14_font2.notdef-outline.4E00,4E03.otf} | Bin - ...cmap14_font2.notdef-outline.4E00,4E05,4E07.otf} | Bin - ...cmap14_font2.notdef-outline.4E02,4E03,4E08.otf} | Bin - ...02.otf => cmap14_font2.notdef-outline.4E02.otf} | Bin - ...03.otf => cmap14_font2.notdef-outline.4E03.otf} | Bin - ...4_font2.notdef-outline.4E05,4E07,4E08,4E09.otf} | Bin - ...f => cmap14_font2.notdef-outline.4E08,4E09.otf} | Bin - ...08.otf => cmap14_font2.notdef-outline.4E08.otf} | Bin - ..._font2.notdef-outline.retain-all-codepoint.otf} | Bin - .../TwemojiMozilla.subset.default.32,3297,3299.ttf | Bin 1936 -> 1868 bytes - .../colr/TwemojiMozilla.subset.default.32,3297.ttf | Bin 1400 -> 1344 bytes - .../colr/TwemojiMozilla.subset.default.32,3299.ttf | Bin 1576 -> 1520 bytes - .../colr/TwemojiMozilla.subset.default.32.ttf | Bin 932 -> 888 bytes - .../TwemojiMozilla.subset.default.3297,3299.ttf | Bin 1916 -> 1860 bytes - .../colr/TwemojiMozilla.subset.default.3297.ttf | Bin 1376 -> 1332 bytes - .../colr/TwemojiMozilla.subset.default.3299.ttf | Bin 1552 -> 1508 bytes - ....subset.drop-hints-retain-gids.32,3297,3299.ttf | Bin 1916 -> 1848 bytes - ...zilla.subset.drop-hints-retain-gids.32,3297.ttf | Bin 1396 -> 1340 bytes - ...zilla.subset.drop-hints-retain-gids.32,3299.ttf | Bin 1576 -> 1520 bytes - ...ojiMozilla.subset.drop-hints-retain-gids.32.ttf | Bin 912 -> 868 bytes - ...lla.subset.drop-hints-retain-gids.3297,3299.ttf | Bin 1900 -> 1844 bytes - ...iMozilla.subset.drop-hints-retain-gids.3297.ttf | Bin 1372 -> 1328 bytes - ...iMozilla.subset.drop-hints-retain-gids.3299.ttf | Bin 1552 -> 1508 bytes - ...emojiMozilla.subset.drop-hints.32,3297,3299.ttf | Bin 1916 -> 1848 bytes - .../TwemojiMozilla.subset.drop-hints.32,3297.ttf | Bin 1380 -> 1324 bytes - .../TwemojiMozilla.subset.drop-hints.32,3299.ttf | Bin 1556 -> 1500 bytes - .../colr/TwemojiMozilla.subset.drop-hints.32.ttf | Bin 912 -> 868 bytes - .../TwemojiMozilla.subset.drop-hints.3297,3299.ttf | Bin 1896 -> 1840 bytes - .../colr/TwemojiMozilla.subset.drop-hints.3297.ttf | Bin 1356 -> 1312 bytes - .../colr/TwemojiMozilla.subset.drop-hints.3299.ttf | Bin 1532 -> 1488 bytes - ...mojiMozilla.subset.retain-gids.32,3297,3299.ttf | Bin 1936 -> 1868 bytes - .../TwemojiMozilla.subset.retain-gids.32,3297.ttf | Bin 1416 -> 1360 bytes - .../TwemojiMozilla.subset.retain-gids.32,3299.ttf | Bin 1596 -> 1540 bytes - .../colr/TwemojiMozilla.subset.retain-gids.32.ttf | Bin 932 -> 888 bytes - ...TwemojiMozilla.subset.retain-gids.3297,3299.ttf | Bin 1920 -> 1864 bytes - .../TwemojiMozilla.subset.retain-gids.3297.ttf | Bin 1392 -> 1348 bytes - .../TwemojiMozilla.subset.retain-gids.3299.ttf | Bin 1572 -> 1528 bytes - ...oColrEmojiGlyf-Regular.subset.default.1f35e.ttf | Bin 3004 -> 0 bytes - ...oColrEmojiGlyf-Regular.subset.default.1f696.ttf | Bin 3752 -> 0 bytes - ...Regular.subset.drop-hints-retain-gids.1f35e.ttf | Bin 3516 -> 0 bytes - ...Regular.subset.drop-hints-retain-gids.1f696.ttf | Bin 5048 -> 0 bytes - ...lrEmojiGlyf-Regular.subset.drop-hints.1f35e.ttf | Bin 3004 -> 0 bytes - ...lrEmojiGlyf-Regular.subset.drop-hints.1f696.ttf | Bin 3752 -> 0 bytes - ...rEmojiGlyf-Regular.subset.retain-gids.1f35e.ttf | Bin 3516 -> 0 bytes - ...rEmojiGlyf-Regular.subset.retain-gids.1f696.ttf | Bin 5048 -> 0 bytes - .../colrv1/TestCOLRv1.default.E000,E004.ttf | Bin 900 -> 0 bytes - .../colrv1/TestCOLRv1.default.E003,E004.ttf | Bin 1000 -> 0 bytes - .../expected/colrv1/TestCOLRv1.default.E004.ttf | Bin 744 -> 0 bytes - .../TestCOLRv1.default.retain-all-codepoint.ttf | Bin 1444 -> 0 bytes - ...TestCOLRv1.drop-hints-retain-gids.E000,E004.ttf | Bin 984 -> 0 bytes - ...TestCOLRv1.drop-hints-retain-gids.E003,E004.ttf | Bin 1076 -> 0 bytes - .../TestCOLRv1.drop-hints-retain-gids.E004.ttf | Bin 836 -> 0 bytes - ...drop-hints-retain-gids.retain-all-codepoint.ttf | Bin 1444 -> 0 bytes - .../colrv1/TestCOLRv1.drop-hints.E000,E004.ttf | Bin 900 -> 0 bytes - .../colrv1/TestCOLRv1.drop-hints.E003,E004.ttf | Bin 1000 -> 0 bytes - .../expected/colrv1/TestCOLRv1.drop-hints.E004.ttf | Bin 744 -> 0 bytes - .../TestCOLRv1.drop-hints.retain-all-codepoint.ttf | Bin 1444 -> 0 bytes - .../colrv1/TestCOLRv1.retain-gids.E000,E004.ttf | Bin 984 -> 0 bytes - .../colrv1/TestCOLRv1.retain-gids.E003,E004.ttf | Bin 1076 -> 0 bytes - .../colrv1/TestCOLRv1.retain-gids.E004.ttf | Bin 836 -> 0 bytes - ...TestCOLRv1.retain-gids.retain-all-codepoint.ttf | Bin 1444 -> 0 bytes - .../Roboto-Regular.default.1FC,21,41,20,62,63.ttf | Bin 3076 -> 3004 bytes - .../full-font/Roboto-Regular.default.61,62,63.ttf | Bin 2668 -> 2632 bytes - .../Roboto-Regular.default.D7,D8,D9,DA,DE.ttf | Bin 3020 -> 2960 bytes - ...oboto-Regular.drop-hints.1FC,21,41,20,62,63.ttf | Bin 1628 -> 1556 bytes - .../Roboto-Regular.drop-hints.61,62,63.ttf | Bin 1408 -> 1372 bytes - .../Roboto-Regular.drop-hints.D7,D8,D9,DA,DE.ttf | Bin 1644 -> 1584 bytes - ...ifVariable-Roman.default.1FC,21,41,20,62,63.ttf | Bin 3960 -> 3888 bytes - .../SourceSerifVariable-Roman.default.61,62,63.ttf | Bin 3820 -> 3784 bytes - ...eSerifVariable-Roman.default.D7,D8,D9,DA,DE.ttf | Bin 4384 -> 4324 bytes - ...ariable-Roman.drop-hints.1FC,21,41,20,62,63.ttf | Bin 3948 -> 3876 bytes - ...urceSerifVariable-Roman.drop-hints.61,62,63.ttf | Bin 3820 -> 3784 bytes - ...rifVariable-Roman.drop-hints.D7,D8,D9,DA,DE.ttf | Bin 4384 -> 4324 bytes - ...gular.default.3042,3044,3046,3048,304A,304B.ttf | Bin 2700 -> 2616 bytes - ...gular.default.3042,3044,3046,73E0,5EA6,8F38.ttf | Bin 2944 -> 2848 bytes - .../Mplus1p-Regular.default.61,63,65,6B.ttf | Bin 2320 -> 2248 bytes - ...gular.default.660E,6975,73E0,5EA6,8F38,6E05.ttf | Bin 3240 -> 3144 bytes - .../japanese/Mplus1p-Regular.default.660E.ttf | Bin 1980 -> 1944 bytes - ...ar.drop-hints.3042,3044,3046,3048,304A,304B.ttf | Bin 1972 -> 1888 bytes - ...ar.drop-hints.3042,3044,3046,73E0,5EA6,8F38.ttf | Bin 2216 -> 2120 bytes - .../Mplus1p-Regular.drop-hints.61,63,65,6B.ttf | Bin 1592 -> 1520 bytes - ...ar.drop-hints.660E,6975,73E0,5EA6,8F38,6E05.ttf | Bin 2512 -> 2416 bytes - .../japanese/Mplus1p-Regular.drop-hints.660E.ttf | Bin 1252 -> 1216 bytes - ...lar.keep-gdef.3042,3044,3046,3048,304A,304B.ttf | Bin 2700 -> 2616 bytes - ...lar.keep-gdef.3042,3044,3046,73E0,5EA6,8F38.ttf | Bin 2944 -> 2848 bytes - .../Mplus1p-Regular.keep-gdef.61,63,65,6B.ttf | Bin 2320 -> 2248 bytes - ...lar.keep-gdef.660E,6975,73E0,5EA6,8F38,6E05.ttf | Bin 3240 -> 3144 bytes - .../japanese/Mplus1p-Regular.keep-gdef.660E.ttf | Bin 1980 -> 1944 bytes - ...les_f1.notdef-outline-retain-gids.41,42,43.otf} | Bin 2052 -> 2016 bytes - ...brules_f1.notdef-outline-retain-gids.41,42.otf} | Bin 1948 -> 1912 bytes - ...brules_f1.notdef-outline-retain-gids.41,43.otf} | Bin 2068 -> 2020 bytes - ..._subrules_f1.notdef-outline-retain-gids.41.otf} | Bin 1932 -> 1896 bytes - ...f-outline-retain-gids.retain-all-codepoint.otf} | Bin 3912 -> 3876 bytes - ...ltiple_subrules_f1.notdef-outline.41,42,43.otf} | Bin 1340 -> 1304 bytes - ..._multiple_subrules_f1.notdef-outline.41,42.otf} | Bin 1240 -> 1204 bytes - ..._multiple_subrules_f1.notdef-outline.41,43.otf} | Bin 1348 -> 1300 bytes - ...xt1_multiple_subrules_f1.notdef-outline.41.otf} | Bin 1228 -> 1192 bytes - ...les_f1.notdef-outline.retain-all-codepoint.otf} | Bin 3912 -> 3876 bytes - ...les_f1.notdef-outline-retain-gids.41,42,43.otf} | Bin 2052 -> 2016 bytes - ...brules_f1.notdef-outline-retain-gids.41,42.otf} | Bin 1948 -> 1912 bytes - ...brules_f1.notdef-outline-retain-gids.41,43.otf} | Bin 2068 -> 2020 bytes - ..._subrules_f1.notdef-outline-retain-gids.41.otf} | Bin 1932 -> 1896 bytes - ...f-outline-retain-gids.retain-all-codepoint.otf} | Bin 3912 -> 3876 bytes - ...ltiple_subrules_f1.notdef-outline.41,42,43.otf} | Bin 1340 -> 1304 bytes - ..._multiple_subrules_f1.notdef-outline.41,42.otf} | Bin 1240 -> 1204 bytes - ..._multiple_subrules_f1.notdef-outline.41,43.otf} | Bin 1348 -> 1300 bytes - ...xt2_multiple_subrules_f1.notdef-outline.41.otf} | Bin 1228 -> 1192 bytes - ...les_f1.notdef-outline.retain-all-codepoint.otf} | Bin 3912 -> 3876 bytes - .../gpos_context3_simple_f1.default.41,42,43.otf | Bin 1320 -> 0 bytes - ...ple_f1.notdef-outline-retain-gids.41,42,43.otf} | Bin 2008 -> 1996 bytes - ...simple_f1.notdef-outline-retain-gids.41,42.otf} | Bin 1904 -> 1892 bytes - ..._simple_f1.notdef-outline-retain-gids.41,43.otf | Bin 0 -> 2000 bytes - ...t3_simple_f1.notdef-outline-retain-gids.41.otf} | Bin 1888 -> 1876 bytes - ...f-outline-retain-gids.retain-all-codepoint.otf} | Bin 3892 -> 3856 bytes - ...context3_simple_f1.notdef-outline.41,42,43.otf} | Bin 1296 -> 1284 bytes - ...os_context3_simple_f1.notdef-outline.41,42.otf} | Bin 1196 -> 1184 bytes - ...os_context3_simple_f1.notdef-outline.41,43.otf} | Bin 1304 -> 1280 bytes - .../gpos_context3_simple_f1.notdef-outline.41.otf} | Bin 1184 -> 1172 bytes - ...ple_f1.notdef-outline.retain-all-codepoint.otf} | Bin 3892 -> 3856 bytes - ...pos_context3_simple_f1.retain-gids.41,42,43.otf | Bin 2032 -> 0 bytes - .../gpos_context3_simple_f1.retain-gids.41,43.otf | Bin 2048 -> 0 bytes - ...AdobeVFPrototype.keep-gdef-gpos.41,42,43,57.otf | Bin 5460 -> 0 bytes - .../AdobeVFPrototype.keep-gdef-gpos.41,42,43.otf | Bin 4928 -> 0 bytes - .../AdobeVFPrototype.keep-gdef-gpos.41,42.otf | Bin 4448 -> 0 bytes - .../AdobeVFPrototype.keep-gdef-gpos.41,56,57.otf | Bin 4596 -> 0 bytes - .../AdobeVFPrototype.keep-gdef-gpos.41.otf | Bin 3748 -> 0 bytes - .../AdobeVFPrototype.keep-gdef-gpos.42,57.otf | Bin 4580 -> 0 bytes - ...type.notdef-outline-drop-hints.41,42,43,57.otf} | Bin - ...ototype.notdef-outline-drop-hints.41,42,43.otf} | Bin - ...FPrototype.notdef-outline-drop-hints.41,42.otf} | Bin - ...ototype.notdef-outline-drop-hints.41,56,57.otf} | Bin - ...beVFPrototype.notdef-outline-drop-hints.41.otf} | Bin - ...FPrototype.notdef-outline-drop-hints.42,57.otf} | Bin - ...dobeVFPrototype.notdef-outline.41,42,43,57.otf} | Bin - ...> AdobeVFPrototype.notdef-outline.41,42,43.otf} | Bin - ...f => AdobeVFPrototype.notdef-outline.41,42.otf} | Bin - ...> AdobeVFPrototype.notdef-outline.41,56,57.otf} | Bin - ....otf => AdobeVFPrototype.notdef-outline.41.otf} | Bin - ...f => AdobeVFPrototype.notdef-outline.42,57.otf} | Bin - .../Roboto-Regular.default.1E00,303.ttf | Bin 2520 -> 2472 bytes - .../layout.gdef/Roboto-Regular.default.303.ttf | Bin 2112 -> 2076 bytes - .../Roboto-Regular.default.309,20,30F.ttf | Bin 2208 -> 2148 bytes - .../layout.gdef/Roboto-Regular.default.323.ttf | Bin 2004 -> 1968 bytes - .../Roboto-Regular.default.41,42,43.ttf | Bin 2568 -> 2532 bytes - .../Roboto-Regular.drop-hints.1E00,303.ttf | Bin 1376 -> 1328 bytes - .../layout.gdef/Roboto-Regular.drop-hints.303.ttf | Bin 1108 -> 1072 bytes - .../Roboto-Regular.drop-hints.309,20,30F.ttf | Bin 1168 -> 1108 bytes - .../layout.gdef/Roboto-Regular.drop-hints.323.ttf | Bin 1052 -> 1016 bytes - .../Roboto-Regular.drop-hints.41,42,43.ttf | Bin 1384 -> 1348 bytes - .../Roboto-Regular.keep-gdef-gpos.1E00,303.ttf | Bin 2520 -> 2472 bytes - .../Roboto-Regular.keep-gdef-gpos.303.ttf | Bin 2112 -> 2076 bytes - .../Roboto-Regular.keep-gdef-gpos.309,20,30F.ttf | Bin 2208 -> 2148 bytes - .../Roboto-Regular.keep-gdef-gpos.323.ttf | Bin 2004 -> 1968 bytes - .../Roboto-Regular.keep-gdef-gpos.41,42,43.ttf | Bin 2568 -> 2532 bytes - ...os1_2_font.notdef-outline-retain-gids.41,43.otf | Bin 0 -> 1980 bytes - ...s1_2_font.notdef-outline-retain-gids.41,46.otf} | Bin 2188 -> 2140 bytes - ...gpos1_2_font.notdef-outline-retain-gids.41.otf} | Bin 1888 -> 1856 bytes - ...s1_2_font.notdef-outline-retain-gids.42,44.otf} | Bin 2012 -> 1964 bytes - ...s1_2_font.notdef-outline-retain-gids.43,46.otf} | Bin 2052 -> 2004 bytes - ...f-outline-retain-gids.retain-all-codepoint.otf} | Bin 3816 -> 3780 bytes - ...3.otf => gpos1_2_font.notdef-outline.41,43.otf} | Bin 1308 -> 1260 bytes - ...6.otf => gpos1_2_font.notdef-outline.41,46.otf} | Bin 1436 -> 1388 bytes - .../gpos1_2_font.notdef-outline.41.otf} | Bin 1184 -> 1152 bytes - ...4.otf => gpos1_2_font.notdef-outline.42,44.otf} | Bin 1280 -> 1232 bytes - ...6.otf => gpos1_2_font.notdef-outline.43,46.otf} | Bin 1300 -> 1252 bytes - ...2_font.notdef-outline.retain-all-codepoint.otf} | Bin 3816 -> 3780 bytes - .../layout.gpos/gpos1_2_font.retain-gids.41,43.otf | Bin 2028 -> 0 bytes - ..._font7.notdef-outline-retain-gids.21,23,25.otf} | Bin 1716 -> 1656 bytes - ...2_1_font7.notdef-outline-retain-gids.21,23.otf} | Bin 1580 -> 1532 bytes - ...2_1_font7.notdef-outline-retain-gids.2E,23.otf} | Bin 1960 -> 1912 bytes - ..._font7.notdef-outline-retain-gids.41,42,43.otf} | Bin 2008 -> 1976 bytes - ...f-outline-retain-gids.retain-all-codepoint.otf} | Bin 3816 -> 3780 bytes - ...f => gpos2_1_font7.notdef-outline.21,23,25.otf} | Bin 1372 -> 1312 bytes - ....otf => gpos2_1_font7.notdef-outline.21,23.otf} | Bin 1252 -> 1204 bytes - ....otf => gpos2_1_font7.notdef-outline.2E,23.otf} | Bin 1524 -> 1476 bytes - .../gpos2_1_font7.notdef-outline.41,42,43.otf} | Bin 1296 -> 1264 bytes - ..._font7.notdef-outline.retain-all-codepoint.otf} | Bin 3816 -> 3780 bytes - ..._font5.notdef-outline-retain-gids.21,23,25.otf} | Bin 1716 -> 1656 bytes - ...2_2_font5.notdef-outline-retain-gids.21,23.otf} | Bin 1580 -> 1532 bytes - ...2_2_font5.notdef-outline-retain-gids.2E,23.otf} | Bin 1960 -> 1912 bytes - ..._font5.notdef-outline-retain-gids.41,42,43.otf} | Bin 2012 -> 1976 bytes - ...f-outline-retain-gids.retain-all-codepoint.otf} | Bin 3816 -> 3780 bytes - ...f => gpos2_2_font5.notdef-outline.21,23,25.otf} | Bin 1372 -> 1312 bytes - ....otf => gpos2_2_font5.notdef-outline.21,23.otf} | Bin 1252 -> 1204 bytes - ....otf => gpos2_2_font5.notdef-outline.2E,23.otf} | Bin 1524 -> 1476 bytes - ...f => gpos2_2_font5.notdef-outline.41,42,43.otf} | Bin 1300 -> 1264 bytes - ..._font5.notdef-outline.retain-all-codepoint.otf} | Bin 3816 -> 3780 bytes - ...os3_font3.notdef-outline-retain-gids.28,29.otf} | Bin 1652 -> 1616 bytes - ...os3_font3.notdef-outline-retain-gids.28,2B.otf} | Bin 1800 -> 1752 bytes - ...os3_font3.notdef-outline-retain-gids.29,2B.otf} | Bin 1712 -> 1664 bytes - ..._font3.notdef-outline-retain-gids.41,42,43.otf} | Bin 2012 -> 1972 bytes - ...f-outline-retain-gids.retain-all-codepoint.otf} | Bin 3848 -> 3812 bytes - ...29.otf => gpos3_font3.notdef-outline.28,29.otf} | Bin 1260 -> 1224 bytes - ...2B.otf => gpos3_font3.notdef-outline.28,2B.otf} | Bin 1392 -> 1344 bytes - ...2B.otf => gpos3_font3.notdef-outline.29,2B.otf} | Bin 1304 -> 1256 bytes - .../gpos3_font3.notdef-outline.41,42,43.otf} | Bin 1300 -> 1260 bytes - ..._font3.notdef-outline.retain-all-codepoint.otf} | Bin 3848 -> 3812 bytes - .../gpos4_multiple_anchors_1.default.41,42,43.otf | Bin 1320 -> 0 bytes - .../gpos4_multiple_anchors_1.default.41.otf | Bin 1208 -> 0 bytes - ...s_1.notdef-outline-retain-gids.41,42,43,44.otf} | Bin 2220 -> 2208 bytes - ...s_1.notdef-outline-retain-gids.41,42,43,45.otf} | Bin 2268 -> 2220 bytes - ...chors_1.notdef-outline-retain-gids.41,42,43.otf | Bin 0 -> 1996 bytes - ...anchors_1.notdef-outline-retain-gids.41,42.otf} | Bin 1904 -> 1892 bytes - ....notdef-outline-retain-gids.41,43,44,45,46.otf} | Bin 2584 -> 2560 bytes - ...hors_1.notdef-outline-retain-gids.41,43,44.otf} | Bin 2240 -> 2216 bytes - ...hors_1.notdef-outline-retain-gids.41,43,45.otf} | Bin 2260 -> 2224 bytes - ..._anchors_1.notdef-outline-retain-gids.41,43.otf | Bin 0 -> 2000 bytes - ...le_anchors_1.notdef-outline-retain-gids.41.otf} | Bin 1892 -> 1876 bytes - ...f-outline-retain-gids.retain-all-codepoint.otf} | Bin 3880 -> 3844 bytes - ...tiple_anchors_1.notdef-outline.41,42,43,44.otf} | Bin 1504 -> 1492 bytes - ...tiple_anchors_1.notdef-outline.41,42,43,45.otf} | Bin 1512 -> 1488 bytes - ..._multiple_anchors_1.notdef-outline.41,42,43.otf | Bin 0 -> 1284 bytes - ...s4_multiple_anchors_1.notdef-outline.41,42.otf} | Bin 1196 -> 1184 bytes - ...le_anchors_1.notdef-outline.41,43,44,45,46.otf} | Bin 1856 -> 1832 bytes - ...multiple_anchors_1.notdef-outline.41,43,44.otf} | Bin 1516 -> 1492 bytes - ...multiple_anchors_1.notdef-outline.41,43,45.otf} | Bin 1524 -> 1488 bytes - ...s4_multiple_anchors_1.notdef-outline.41,43.otf} | Bin 1328 -> 1280 bytes - ...gpos4_multiple_anchors_1.notdef-outline.41.otf} | Bin 1188 -> 1172 bytes - ...hors_1.notdef-outline.retain-all-codepoint.otf} | Bin 3880 -> 3844 bytes - ...os4_multiple_anchors_1.retain-gids.41,42,43.otf | Bin 2032 -> 0 bytes - .../gpos4_multiple_anchors_1.retain-gids.41,43.otf | Bin 2048 -> 0 bytes - .../gpos4_multiple_anchors_1.retain-gids.41.otf | Bin 1912 -> 0 bytes - .../layout.gpos5/gpos5_font1.default.42.otf | Bin 1084 -> 0 bytes - ...nt1.notdef-outline-retain-gids.41,42,43,44.otf} | Bin 2260 -> 2224 bytes - ...nt1.notdef-outline-retain-gids.41,42,43,45.otf} | Bin 2284 -> 2236 bytes - ..._font1.notdef-outline-retain-gids.41,42,43.otf} | Bin 2048 -> 2012 bytes - ..._font1.notdef-outline-retain-gids.41,42,44.otf} | Bin 2192 -> 2144 bytes - ..._font1.notdef-outline-retain-gids.41,42,45.otf} | Bin 2192 -> 2144 bytes - ...os5_font1.notdef-outline-retain-gids.41,42.otf} | Bin 1944 -> 1908 bytes - ...pos5_font1.notdef-outline-retain-gids.41,43.otf | Bin 0 -> 2016 bytes - ... gpos5_font1.notdef-outline-retain-gids.41.otf} | Bin 1928 -> 1892 bytes - ... gpos5_font1.notdef-outline-retain-gids.42.otf} | Bin 1800 -> 1764 bytes - ...f-outline-retain-gids.retain-all-codepoint.otf} | Bin 3896 -> 3860 bytes - ... => gpos5_font1.notdef-outline.41,42,43,44.otf} | Bin 1544 -> 1508 bytes - ... => gpos5_font1.notdef-outline.41,42,43,45.otf} | Bin 1552 -> 1504 bytes - ...otf => gpos5_font1.notdef-outline.41,42,43.otf} | Bin 1336 -> 1300 bytes - ...otf => gpos5_font1.notdef-outline.41,42,44.otf} | Bin 1468 -> 1420 bytes - ...otf => gpos5_font1.notdef-outline.41,42,45.otf} | Bin 1456 -> 1408 bytes - ...42.otf => gpos5_font1.notdef-outline.41,42.otf} | Bin 1236 -> 1200 bytes - ...43.otf => gpos5_font1.notdef-outline.41,43.otf} | Bin 1344 -> 1296 bytes - ...lt.41.otf => gpos5_font1.notdef-outline.41.otf} | Bin 1224 -> 1188 bytes - .../layout.gpos5/gpos5_font1.notdef-outline.42.otf | Bin 0 -> 1048 bytes - ..._font1.notdef-outline.retain-all-codepoint.otf} | Bin 3896 -> 3860 bytes - .../layout.gpos5/gpos5_font1.retain-gids.41,43.otf | Bin 2064 -> 0 bytes - ...nt1.notdef-outline-retain-gids.41,42,43,44.otf} | Bin 2244 -> 2184 bytes - ...nt1.notdef-outline-retain-gids.41,42,43,45.otf} | Bin 2244 -> 2196 bytes - ...6_font1.notdef-outline-retain-gids.41,42,43.otf | Bin 0 -> 1972 bytes - ...os6_font1.notdef-outline-retain-gids.41,42.otf} | Bin 1928 -> 1868 bytes - ....notdef-outline-retain-gids.41,43,44,45,46.otf} | Bin 2608 -> 2536 bytes - ..._font1.notdef-outline-retain-gids.41,43,44.otf} | Bin 2264 -> 2192 bytes - ..._font1.notdef-outline-retain-gids.41,43,45.otf} | Bin 2284 -> 2200 bytes - ...pos6_font1.notdef-outline-retain-gids.41,43.otf | Bin 0 -> 1976 bytes - .../gpos6_font1.notdef-outline-retain-gids.41.otf} | Bin 1912 -> 1852 bytes - ...f-outline-retain-gids.retain-all-codepoint.otf} | Bin 3856 -> 3820 bytes - .../gpos6_font1.notdef-outline.41,42,43,44.otf} | Bin 1528 -> 1468 bytes - .../gpos6_font1.notdef-outline.41,42,43,45.otf} | Bin 1536 -> 1464 bytes - .../gpos6_font1.notdef-outline.41,42,43.otf | Bin 0 -> 1260 bytes - .../gpos6_font1.notdef-outline.41,42.otf} | Bin 1220 -> 1160 bytes - .../gpos6_font1.notdef-outline.41,43,44,45,46.otf} | Bin 1880 -> 1808 bytes - .../gpos6_font1.notdef-outline.41,43,44.otf} | Bin 1540 -> 1468 bytes - .../gpos6_font1.notdef-outline.41,43,45.otf} | Bin 1548 -> 1464 bytes - .../gpos6_font1.notdef-outline.41,43.otf} | Bin 1328 -> 1256 bytes - .../gpos6_font1.notdef-outline.41.otf} | Bin 1208 -> 1148 bytes - ..._font1.notdef-outline.retain-all-codepoint.otf} | Bin 3856 -> 3820 bytes - .../layout.gpos6/gpos6_font1.retain-gids.41,43.otf | Bin 2024 -> 0 bytes - ...ular.default.627,644,623,62D,644,627,645,2E.ttf | Bin 12684 -> 12592 bytes - .../Amiri-Regular.default.627,644,62D,628.ttf | Bin 9992 -> 9924 bytes - .../Amiri-Regular.default.627,644.ttf | Bin 4168 -> 4112 bytes - ...-Regular.default.633,645,627,621,20,644,627.ttf | Bin 9516 -> 9424 bytes - .../Amiri-Regular.default.63A,64A,631.ttf | Bin 7324 -> 7256 bytes - ....retain-gids.627,644,623,62D,644,627,645,2E.ttf | Bin 48012 -> 47920 bytes - .../Amiri-Regular.retain-gids.627,644,62D,628.ttf | Bin 42640 -> 42572 bytes - .../Amiri-Regular.retain-gids.627,644.ttf | Bin 36696 -> 36640 bytes - ...ular.retain-gids.633,645,627,621,20,644,627.ttf | Bin 45908 -> 45816 bytes - .../Amiri-Regular.retain-gids.63A,64A,631.ttf | Bin 37988 -> 37920 bytes - ...ning1_multiple_subrules_f1.default.41,42,43.otf | Bin 1344 -> 0 bytes - ..._f1.notdef-outline-retain-gids.30,31,32,33.otf} | Bin 2304 -> 2292 bytes - ...ules_f1.notdef-outline-retain-gids.41,42,43.otf | Bin 0 -> 2020 bytes - ...f-outline-retain-gids.retain-all-codepoint.otf} | Bin 3916 -> 3880 bytes - ...ple_subrules_f1.notdef-outline.30,31,32,33.otf} | Bin 1832 -> 1820 bytes - ...ultiple_subrules_f1.notdef-outline.41,42,43.otf | Bin 0 -> 1308 bytes - ...les_f1.notdef-outline.retain-all-codepoint.otf} | Bin 3916 -> 3880 bytes - ...1_multiple_subrules_f1.retain-gids.41,42,43.otf | Bin 2056 -> 0 bytes - ...ning2_multiple_subrules_f1.default.41,42,43.otf | Bin 1344 -> 0 bytes - ..._f1.notdef-outline-retain-gids.30,31,32,33.otf} | Bin 2328 -> 2292 bytes - ...ules_f1.notdef-outline-retain-gids.41,42,43.otf | Bin 0 -> 2020 bytes - ...f-outline-retain-gids.retain-all-codepoint.otf} | Bin 3916 -> 3880 bytes - ...ple_subrules_f1.notdef-outline.30,31,32,33.otf} | Bin 1856 -> 1820 bytes - ...ultiple_subrules_f1.notdef-outline.41,42,43.otf | Bin 0 -> 1308 bytes - ...les_f1.notdef-outline.retain-all-codepoint.otf} | Bin 3916 -> 3880 bytes - ...2_multiple_subrules_f1.retain-gids.41,42,43.otf | Bin 2056 -> 0 bytes - .../gpos_chaining3_simple_f1.default.41,42,43.otf | Bin 1320 -> 0 bytes - ..._f1.notdef-outline-retain-gids.30,31,32,33.otf} | Bin 2328 -> 2268 bytes - ...mple_f1.notdef-outline-retain-gids.41,42,43.otf | Bin 0 -> 1996 bytes - ...f-outline-retain-gids.retain-all-codepoint.otf} | Bin 3892 -> 3856 bytes - ...ning3_simple_f1.notdef-outline.30,31,32,33.otf} | Bin 1856 -> 1796 bytes - ...chaining3_simple_f1.notdef-outline.41,42,43.otf | Bin 0 -> 1284 bytes - ...ple_f1.notdef-outline.retain-all-codepoint.otf} | Bin 3892 -> 3856 bytes - ...os_chaining3_simple_f1.retain-gids.41,42,43.otf | Bin 2032 -> 0 bytes - .../layout.gpos9/gpos9_font2.default.42.otf | Bin 1044 -> 0 bytes - ...os9_font2.notdef-outline-retain-gids.41,42.otf} | Bin 1928 -> 1868 bytes - .../gpos9_font2.notdef-outline-retain-gids.41.otf | Bin 0 -> 1852 bytes - ... gpos9_font2.notdef-outline-retain-gids.42.otf} | Bin 1760 -> 1724 bytes - .../gpos9_font2.notdef-outline.41,42.otf} | Bin 1220 -> 1160 bytes - .../layout.gpos9/gpos9_font2.notdef-outline.41.otf | Bin 0 -> 1148 bytes - .../layout.gpos9/gpos9_font2.notdef-outline.42.otf | Bin 0 -> 1008 bytes - ...ub_alternate_substitution.default.53A9,53F1.otf | Bin 4372 -> 4316 bytes - .../gsub_alternate_substitution.default.53A9.otf | Bin 3928 -> 3884 bytes - .../gsub_alternate_substitution.default.53F1.otf | Bin 2484 -> 2440 bytes - ...e_substitution.default.retain-all-codepoint.otf | Bin 6064 -> 5984 bytes - ...lternate_substitution.retain-gids.53A9,53F1.otf | Bin 4496 -> 4440 bytes - ...sub_alternate_substitution.retain-gids.53A9.otf | Bin 4080 -> 4036 bytes - ...sub_alternate_substitution.retain-gids.53F1.otf | Bin 2676 -> 2632 bytes - ...bstitution.retain-gids.retain-all-codepoint.otf | Bin 6156 -> 6076 bytes - ...les_f2.notdef-outline-retain-gids.41,42,43.otf} | Bin 2064 -> 2028 bytes - ...brules_f2.notdef-outline-retain-gids.41,42.otf} | Bin 1960 -> 1924 bytes - ...brules_f2.notdef-outline-retain-gids.41,43.otf} | Bin 2080 -> 2032 bytes - ..._subrules_f2.notdef-outline-retain-gids.41.otf} | Bin 1944 -> 1908 bytes - ...f-outline-retain-gids.retain-all-codepoint.otf} | Bin 3924 -> 3888 bytes - ...ltiple_subrules_f2.notdef-outline.41,42,43.otf} | Bin 1352 -> 1316 bytes - ..._multiple_subrules_f2.notdef-outline.41,42.otf} | Bin 1252 -> 1216 bytes - ..._multiple_subrules_f2.notdef-outline.41,43.otf} | Bin 1360 -> 1312 bytes - ...xt1_multiple_subrules_f2.notdef-outline.41.otf} | Bin 1240 -> 1204 bytes - ...les_f2.notdef-outline.retain-all-codepoint.otf} | Bin 3924 -> 3888 bytes - ...les_f2.notdef-outline-retain-gids.41,42,43.otf} | Bin 2064 -> 2028 bytes - ...brules_f2.notdef-outline-retain-gids.41,42.otf} | Bin 1960 -> 1924 bytes - ...brules_f2.notdef-outline-retain-gids.41,43.otf} | Bin 2080 -> 2032 bytes - ..._subrules_f2.notdef-outline-retain-gids.41.otf} | Bin 1944 -> 1908 bytes - ...f-outline-retain-gids.retain-all-codepoint.otf} | Bin 3924 -> 3888 bytes - ...ltiple_subrules_f2.notdef-outline.41,42,43.otf} | Bin 1352 -> 1316 bytes - ..._multiple_subrules_f2.notdef-outline.41,42.otf} | Bin 1252 -> 1216 bytes - ..._multiple_subrules_f2.notdef-outline.41,43.otf} | Bin 1360 -> 1312 bytes - ...xt2_multiple_subrules_f2.notdef-outline.41.otf} | Bin 1240 -> 1204 bytes - ...les_f2.notdef-outline.retain-all-codepoint.otf} | Bin 3924 -> 3888 bytes - ...ive_f1.notdef-outline-retain-gids.41,42,43.otf} | Bin 2044 -> 2016 bytes - ...essive_f1.notdef-outline-retain-gids.41,42.otf} | Bin 1948 -> 1912 bytes - ...cessive_f1.notdef-outline-retain-gids.41,43.otf | Bin 0 -> 2020 bytes - ...uccessive_f1.notdef-outline-retain-gids.41.otf} | Bin 1932 -> 1896 bytes - ...f-outline-retain-gids.retain-all-codepoint.otf} | Bin 3912 -> 3876 bytes - ...ext3_successive_f1.notdef-outline.41,42,43.otf} | Bin 1332 -> 1304 bytes - ...ontext3_successive_f1.notdef-outline.41,42.otf} | Bin 1240 -> 1204 bytes - ...ontext3_successive_f1.notdef-outline.41,43.otf} | Bin 1348 -> 1300 bytes - ...b_context3_successive_f1.notdef-outline.41.otf} | Bin 1228 -> 1192 bytes - ...ive_f1.notdef-outline.retain-all-codepoint.otf} | Bin 3912 -> 3876 bytes - ...ub_context3_successive_f1.retain-gids.41,43.otf | Bin 2068 -> 0 bytes - ...ning1_multiple_subrules_f1.default.41,42,43.otf | Bin 1356 -> 0 bytes - ..._f1.notdef-outline-retain-gids.30,31,32,33.otf} | Bin 2316 -> 2304 bytes - ...les_f1.notdef-outline-retain-gids.41,42,43.otf} | Bin 2052 -> 2032 bytes - ...f-outline-retain-gids.retain-all-codepoint.otf} | Bin 3928 -> 3892 bytes - ...ple_subrules_f1.notdef-outline.30,31,32,33.otf} | Bin 1844 -> 1832 bytes - ...ltiple_subrules_f1.notdef-outline.41,42,43.otf} | Bin 1340 -> 1320 bytes - ...les_f1.notdef-outline.retain-all-codepoint.otf} | Bin 3928 -> 3892 bytes - ..._f1.notdef-outline-retain-gids.30,31,32,33.otf} | Bin 2340 -> 2304 bytes - ...les_f1.notdef-outline-retain-gids.41,42,43.otf} | Bin 2068 -> 2032 bytes - ...f-outline-retain-gids.retain-all-codepoint.otf} | Bin 3928 -> 3892 bytes - ...ple_subrules_f1.notdef-outline.30,31,32,33.otf} | Bin 1868 -> 1832 bytes - ...ltiple_subrules_f1.notdef-outline.41,42,43.otf} | Bin 1356 -> 1320 bytes - ...les_f1.notdef-outline.retain-all-codepoint.otf} | Bin 3928 -> 3892 bytes - ..._f2.notdef-outline-retain-gids.30,31,32,33.otf} | Bin 2340 -> 2280 bytes - ...ple_f2.notdef-outline-retain-gids.41,42,43.otf} | Bin 2068 -> 2008 bytes - ...f-outline-retain-gids.retain-all-codepoint.otf} | Bin 3904 -> 3868 bytes - ...ning3_simple_f2.notdef-outline.30,31,32,33.otf} | Bin 1868 -> 1808 bytes - ...chaining3_simple_f2.notdef-outline.41,42,43.otf | Bin 0 -> 1296 bytes - ...ple_f2.notdef-outline.retain-all-codepoint.otf} | Bin 3904 -> 3868 bytes - ...ine-retain-gids.41,42,43,44,45,46,47,48,49.otf} | Bin - ...f-outline-retain-gids.41,42,43,44,45,46,47.otf} | Bin - ...f-outline-retain-gids.41,42,43,44,45,46,4D.otf} | Bin - ...f-outline-retain-gids.41,42,43,44,45,46,51.otf} | Bin - ...tdef-outline-retain-gids.41,42,43,44,45,46.otf} | Bin - ...reated.notdef-outline-retain-gids.41,42,43.otf} | Bin - ...ally_created.notdef-outline-retain-gids.41.otf} | Bin - ...ally_created.notdef-outline-retain-gids.61.otf} | Bin - ...f-outline-retain-gids.retain-all-codepoint.otf} | Bin - ....notdef-outline.41,42,43,44,45,46,47,48,49.otf} | Bin - ...reated.notdef-outline.41,42,43,44,45,46,47.otf} | Bin - ...reated.notdef-outline.41,42,43,44,45,46,4D.otf} | Bin - ...reated.notdef-outline.41,42,43,44,45,46,51.otf} | Bin - ...y_created.notdef-outline.41,42,43,44,45,46.otf} | Bin - ...8_manually_created.notdef-outline.41,42,43.otf} | Bin - ...> gsub8_manually_created.notdef-outline.41.otf} | Bin - ...> gsub8_manually_created.notdef-outline.61.otf} | Bin - ...reated.notdef-outline.retain-all-codepoint.otf} | Bin - .../Roboto-Regular.smallcaps.default.41,42,43.ttf | Bin 2460 -> 2424 bytes - .../Roboto-Regular.smallcaps.default.41,43.ttf | Bin 2280 -> 2232 bytes - .../layout/Roboto-Regular.smallcaps.default.41.ttf | Bin 2080 -> 2044 bytes - .../layout/Roboto-Regular.smallcaps.default.43.ttf | Bin 2112 -> 2076 bytes - .../Roboto-Regular.smallcaps.default.CA,CB.ttf | Bin 2384 -> 2348 bytes - ...boto-Regular.smallcaps.retain-gids.41,42,43.ttf | Bin 2712 -> 2676 bytes - .../Roboto-Regular.smallcaps.retain-gids.41,43.ttf | Bin 2544 -> 2496 bytes - .../Roboto-Regular.smallcaps.retain-gids.41.ttf | Bin 2332 -> 2296 bytes - .../Roboto-Regular.smallcaps.retain-gids.43.ttf | Bin 2380 -> 2344 bytes - .../Roboto-Regular.smallcaps.retain-gids.CA,CB.ttf | Bin 6472 -> 6436 bytes - .../notdef-outline-desubroutinize-retain-gids.txt | 3 + - .../profiles/notdef-outline-desubroutinize.txt | 2 + - ...tline-drop-hints-desubroutinize-retain-gids.txt | 4 + - .../notdef-outline-drop-hints-desubroutinize.txt | 3 + - .../notdef-outline-drop-hints-retain-gids.txt | 3 + - .../data/profiles/notdef-outline-drop-hints.txt | 2 + - test/subset/data/profiles/notdef-outline-gids.txt | 2 + - .../data/profiles/notdef-outline-name-ids.txt | 2 + - .../data/profiles/notdef-outline-retain-gids.txt | 2 + - test/subset/data/tests/cff-full-font.tests | 16 ++-- - test/subset/data/tests/cmap14.tests | 12 +-- - test/subset/data/tests/layout.context.tests | 4 +- - test/subset/data/tests/layout.gdef-varstore.tests | 5 +- - test/subset/data/tests/layout.gpos.tests | 4 +- - test/subset/data/tests/layout.gpos2.tests | 4 +- - test/subset/data/tests/layout.gpos3.tests | 4 +- - test/subset/data/tests/layout.gpos4.tests | 4 +- - test/subset/data/tests/layout.gpos5.tests | 4 +- - test/subset/data/tests/layout.gpos6.tests | 4 +- - test/subset/data/tests/layout.gpos8.tests | 4 +- - test/subset/data/tests/layout.gpos9.tests | 4 +- - test/subset/data/tests/layout.gsub5.tests | 4 +- - test/subset/data/tests/layout.gsub6.tests | 4 +- - test/subset/data/tests/layout.gsub8.tests | 4 +- - 681 files changed, 162 insertions(+), 44 deletions(-) - -commit 84946e4d2c0c362e969eb13e5a6acae0a76c6015 -Author: Khaled Hosny -Date: Thu Aug 5 00:05:26 2021 +0200 - - [test] Suggest updating the expectation if ttx matches - - https://github.com/harfbuzz/harfbuzz/issues/3089#issuecomment-892208892 - - test/subset/run-tests.py | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit 09c3b82f5e5a25f07145f405776c466b02743442 -Author: Behdad Esfahbod -Date: Thu Jul 29 17:49:10 2021 -0600 - - [buffer] When shifting forward, leave no gap - - Trying to see if this fixes the fuzzer issue: - https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=36236 - - src/hb-buffer.cc | 9 ++++----- - 1 file changed, 4 insertions(+), 5 deletions(-) - -commit 5086e10538b893294f1b64a33deb8c5af4d22f1b -Author: Behdad Esfahbod -Date: Thu Jul 29 17:03:55 2021 -0600 - - [test] Add failing fuzzer test case - - From https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=36236 - https://oss-fuzz.com/testcase-detail/5061207689134080 - - ...z-testcase-minimized-hb-shape-fuzzer-5061207689134080 | Bin 0 -> 3344 bytes - 1 file changed, 0 insertions(+), 0 deletions(-) - -commit a150baf32c2cbb03a0efd6e260904c57d93275d9 -Author: Behdad Esfahbod -Date: Wed Aug 4 11:53:27 2021 -0600 - - [ot-map] Allocate top mask bit as global bit - - Avoids undefined-shift of 32 in the following line: - - map->mask = (1u << (next_bit + bits_needed)) - (1u << next_bit) - - Fixes https://bugs.chromium.org/p/chromium/issues/detail?id=1219263 - - src/hb-ot-map.cc | 11 +++++------ - 1 file changed, 5 insertions(+), 6 deletions(-) - -commit f698fe5aeede4027230046d4b06c265b33f0085a -Author: Khaled Hosny -Date: Wed Aug 4 12:08:18 2021 +0200 - - [test] Always fail subset tests if hashes don’t match - - Regardless of the pre sentience or absence of fonttools. - - test/subset/run-tests.py | 65 +++++++++++++++++++++--------------------------- - 1 file changed, 28 insertions(+), 37 deletions(-) - -commit e80c86ffa6868f8bbcfd3a21b4b82a1436527100 -Author: Behdad Esfahbod -Date: Wed Aug 4 10:24:14 2021 -0600 - - [coretext] Fix formatting - - src/hb-coretext.cc | 69 +++++++++++++++++++++++++++++------------------------- - 1 file changed, 37 insertions(+), 32 deletions(-) - -commit db6fbe29e47ce871e66ebbf2eb93657bad429d13 -Author: Behdad Esfahbod -Date: Tue Aug 3 10:13:17 2021 -0600 - - [util/hb-subset] Use driver_t<> in outer block as well - - https://github.com/harfbuzz/harfbuzz/commit/a363ce573c3aa706de3aecf0515519a5d7842af2#r54282223 - - util/hb-subset.cc | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit 66aef2818e1450a14549ca3e202e094e335f6b78 -Author: Simon Cozens -Date: Wed Aug 4 13:34:52 2021 +0100 - - Support passing variations to coretext shaper - - src/hb-coretext.cc | 33 +++++++++++++++++++++++++++++++++ - 1 file changed, 33 insertions(+) - -commit f25daa4794f22f7e0eaddb77ef7b47c8c6584453 -Merge: 62a535f15 9f544e500 -Author: Behdad Esfahbod -Date: Wed Aug 4 00:06:32 2021 -0600 - - Merge pull request #3110 from harfbuzz/subset-tests-fast - - [test] Make subset tests fast - -commit 9f544e5008e27346ace98abd7c3e8e5184724920 -Author: Khaled Hosny -Date: Wed Aug 4 04:20:14 2021 +0200 - - [test] Don’t skip subset tests early - - Check for FontTools only when the checksums are mismatching. - - test/subset/run-tests.py | 7 +++++-- - 1 file changed, 5 insertions(+), 2 deletions(-) - -commit b0841533174b752f9ac4b3c62f81c98cb7be197a -Author: Khaled Hosny -Date: Wed Aug 4 04:12:31 2021 +0200 - - [test] Remove subset tests from the slow suite - - test/subset/meson.build | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 7ccc52b0751795b32db989b71295f1fee2c9ab21 -Author: Khaled Hosny -Date: Wed Aug 4 03:57:18 2021 +0200 - - [test] Compare sha256 hash before TTX dumps - - Most of time the files are identical, so instead of comparing the TTX - dump we can check sha256 hashes of the files first and if they match, we - don’t have to check the TTX dumps at all, making the subset tests orders - of magnitude faster. - - time meson test --suite=subset down from: - real 0m19.418s - user 0m38.171s - sys 0m3.587s - - to: - real 0m3.102s - user 0m8.622s - sys 0m1.701s - - The expected files have been replaced by hb-subset output so they are - bit-identical where FontTools output might not. - - The generate-expected-outputs.py now compares the hb-subset output with - fontttols subset and errors of they don’t match. - - .../Comfortaa-Regular-new.default.61,62,63.ttf | Bin 7060 -> 7060 bytes - .../basics/Comfortaa-Regular-new.default.61,63.ttf | Bin 6692 -> 6692 bytes - .../basics/Comfortaa-Regular-new.default.61.ttf | Bin 6328 -> 6328 bytes - .../basics/Comfortaa-Regular-new.default.62.ttf | Bin 6200 -> 6200 bytes - .../basics/Comfortaa-Regular-new.default.63.ttf | Bin 6256 -> 6256 bytes - ...aa-Regular-new.default.retain-all-codepoint.ttf | Bin 220928 -> 222756 bytes - ...Regular-new.drop-hints-retain-gids.61,62,63.ttf | Bin 4608 -> 4608 bytes - ...aa-Regular-new.drop-hints-retain-gids.61,63.ttf | Bin 4312 -> 4312 bytes - ...ortaa-Regular-new.drop-hints-retain-gids.61.ttf | Bin 3724 -> 3724 bytes - ...ortaa-Regular-new.drop-hints-retain-gids.62.ttf | Bin 3900 -> 3900 bytes - ...ortaa-Regular-new.drop-hints-retain-gids.63.ttf | Bin 3972 -> 3972 bytes - ...drop-hints-retain-gids.retain-all-codepoint.ttf | Bin 189800 -> 191632 bytes - .../Comfortaa-Regular-new.drop-hints.61,62,63.ttf | Bin 2600 -> 2600 bytes - .../Comfortaa-Regular-new.drop-hints.61,63.ttf | Bin 2296 -> 2296 bytes - .../basics/Comfortaa-Regular-new.drop-hints.61.ttf | Bin 1976 -> 1976 bytes - .../basics/Comfortaa-Regular-new.drop-hints.62.ttf | Bin 1900 -> 1900 bytes - .../basics/Comfortaa-Regular-new.drop-hints.63.ttf | Bin 1968 -> 1968 bytes - ...Regular-new.drop-hints.retain-all-codepoint.ttf | Bin 189756 -> 191584 bytes - .../basics/Comfortaa-Regular-new.gids.61,62,63.ttf | Bin 7988 -> 7988 bytes - .../basics/Comfortaa-Regular-new.gids.61,63.ttf | Bin 7628 -> 7628 bytes - .../basics/Comfortaa-Regular-new.gids.61.ttf | Bin 7256 -> 7256 bytes - .../basics/Comfortaa-Regular-new.gids.62.ttf | Bin 7184 -> 7184 bytes - .../basics/Comfortaa-Regular-new.gids.63.ttf | Bin 7180 -> 7180 bytes - ...ortaa-Regular-new.gids.retain-all-codepoint.ttf | Bin 220928 -> 222756 bytes - .../Comfortaa-Regular-new.glyph-names.61,62,63.ttf | Bin 7072 -> 7072 bytes - .../Comfortaa-Regular-new.glyph-names.61,63.ttf | Bin 6700 -> 6700 bytes - .../Comfortaa-Regular-new.glyph-names.61.ttf | Bin 6336 -> 6336 bytes - .../Comfortaa-Regular-new.glyph-names.62.ttf | Bin 6208 -> 6208 bytes - .../Comfortaa-Regular-new.glyph-names.63.ttf | Bin 6264 -> 6264 bytes - ...egular-new.glyph-names.retain-all-codepoint.ttf | Bin 227920 -> 229748 bytes - ...gular-new.keep-all-layout-features.61,62,63.ttf | Bin 7504 -> 7508 bytes - ...-Regular-new.keep-all-layout-features.61,63.ttf | Bin 7140 -> 7144 bytes - ...taa-Regular-new.keep-all-layout-features.61.ttf | Bin 6772 -> 6776 bytes - ...taa-Regular-new.keep-all-layout-features.62.ttf | Bin 6200 -> 6200 bytes - ...taa-Regular-new.keep-all-layout-features.63.ttf | Bin 6256 -> 6256 bytes - ...ep-all-layout-features.retain-all-codepoint.ttf | Bin 221620 -> 223452 bytes - ...fortaa-Regular-new.layout-features.61,62,63.ttf | Bin 7060 -> 7060 bytes - ...Comfortaa-Regular-new.layout-features.61,63.ttf | Bin 6692 -> 6692 bytes - .../Comfortaa-Regular-new.layout-features.61.ttf | Bin 6328 -> 6328 bytes - .../Comfortaa-Regular-new.layout-features.62.ttf | Bin 6200 -> 6200 bytes - .../Comfortaa-Regular-new.layout-features.63.ttf | Bin 6256 -> 6256 bytes - ...ar-new.layout-features.retain-all-codepoint.ttf | Bin 219124 -> 220948 bytes - .../Comfortaa-Regular-new.name-ids.61,62,63.ttf | Bin 6800 -> 6800 bytes - .../Comfortaa-Regular-new.name-ids.61,63.ttf | Bin 6432 -> 6432 bytes - .../basics/Comfortaa-Regular-new.name-ids.61.ttf | Bin 6068 -> 6068 bytes - .../basics/Comfortaa-Regular-new.name-ids.62.ttf | Bin 5940 -> 5940 bytes - .../basics/Comfortaa-Regular-new.name-ids.63.ttf | Bin 5996 -> 5996 bytes - ...a-Regular-new.name-ids.retain-all-codepoint.ttf | Bin 220668 -> 222496 bytes - ...mfortaa-Regular-new.name-languages.61,62,63.ttf | Bin 7060 -> 7060 bytes - .../Comfortaa-Regular-new.name-languages.61,63.ttf | Bin 6692 -> 6692 bytes - .../Comfortaa-Regular-new.name-languages.61.ttf | Bin 6328 -> 6328 bytes - .../Comfortaa-Regular-new.name-languages.62.ttf | Bin 6200 -> 6200 bytes - .../Comfortaa-Regular-new.name-languages.63.ttf | Bin 6256 -> 6256 bytes - ...lar-new.name-languages.retain-all-codepoint.ttf | Bin 220928 -> 222756 bytes - .../Comfortaa-Regular-new.name-legacy.61,62,63.ttf | Bin 7060 -> 7060 bytes - .../Comfortaa-Regular-new.name-legacy.61,63.ttf | Bin 6692 -> 6692 bytes - .../Comfortaa-Regular-new.name-legacy.61.ttf | Bin 6328 -> 6328 bytes - .../Comfortaa-Regular-new.name-legacy.62.ttf | Bin 6200 -> 6200 bytes - .../Comfortaa-Regular-new.name-legacy.63.ttf | Bin 6256 -> 6256 bytes - ...egular-new.name-legacy.retain-all-codepoint.ttf | Bin 220928 -> 222756 bytes - ...egular-new.no-prune-unicode-ranges.61,62,63.ttf | Bin 7060 -> 7060 bytes - ...a-Regular-new.no-prune-unicode-ranges.61,63.ttf | Bin 6692 -> 6692 bytes - ...rtaa-Regular-new.no-prune-unicode-ranges.61.ttf | Bin 6328 -> 6328 bytes - ...rtaa-Regular-new.no-prune-unicode-ranges.62.ttf | Bin 6200 -> 6200 bytes - ...rtaa-Regular-new.no-prune-unicode-ranges.63.ttf | Bin 6256 -> 6256 bytes - ...o-prune-unicode-ranges.retain-all-codepoint.ttf | Bin 220928 -> 222756 bytes - ...mfortaa-Regular-new.notdef-outline.61,62,63.ttf | Bin 7652 -> 7652 bytes - .../Comfortaa-Regular-new.notdef-outline.61,63.ttf | Bin 7284 -> 7284 bytes - .../Comfortaa-Regular-new.notdef-outline.61.ttf | Bin 6920 -> 6920 bytes - .../Comfortaa-Regular-new.notdef-outline.62.ttf | Bin 6796 -> 6796 bytes - .../Comfortaa-Regular-new.notdef-outline.63.ttf | Bin 6844 -> 6844 bytes - ...lar-new.notdef-outline.retain-all-codepoint.ttf | Bin 221524 -> 223352 bytes - .../Comfortaa-Regular-new.retain-gids.61,62,63.ttf | Bin 9068 -> 9068 bytes - .../Comfortaa-Regular-new.retain-gids.61,63.ttf | Bin 8708 -> 8708 bytes - .../Comfortaa-Regular-new.retain-gids.61.ttf | Bin 8076 -> 8076 bytes - .../Comfortaa-Regular-new.retain-gids.62.ttf | Bin 8200 -> 8200 bytes - .../Comfortaa-Regular-new.retain-gids.63.ttf | Bin 8260 -> 8260 bytes - ...egular-new.retain-gids.retain-all-codepoint.ttf | Bin 220972 -> 222804 bytes - ...numMyeongjo-Regular-subset.default.61,62,63.ttf | Bin 4128 -> 4128 bytes - .../NanumMyeongjo-Regular-subset.default.61,63.ttf | Bin 3580 -> 3580 bytes - .../NanumMyeongjo-Regular-subset.default.61.ttf | Bin 3156 -> 3156 bytes - .../NanumMyeongjo-Regular-subset.default.62.ttf | Bin 3180 -> 3180 bytes - .../NanumMyeongjo-Regular-subset.default.63.ttf | Bin 3048 -> 3048 bytes - ...Regular-subset.default.retain-all-codepoint.ttf | Bin 9524 -> 9524 bytes - ...ular-subset.drop-hints-retain-gids.61,62,63.ttf | Bin 1452 -> 1452 bytes - ...Regular-subset.drop-hints-retain-gids.61,63.ttf | Bin 1284 -> 1284 bytes - ...jo-Regular-subset.drop-hints-retain-gids.61.ttf | Bin 1128 -> 1128 bytes - ...jo-Regular-subset.drop-hints-retain-gids.62.ttf | Bin 1144 -> 1144 bytes - ...jo-Regular-subset.drop-hints-retain-gids.63.ttf | Bin 1116 -> 1116 bytes - ...drop-hints-retain-gids.retain-all-codepoint.ttf | Bin 3536 -> 3536 bytes - ...Myeongjo-Regular-subset.drop-hints.61,62,63.ttf | Bin 1452 -> 1452 bytes - ...numMyeongjo-Regular-subset.drop-hints.61,63.ttf | Bin 1276 -> 1276 bytes - .../NanumMyeongjo-Regular-subset.drop-hints.61.ttf | Bin 1128 -> 1128 bytes - .../NanumMyeongjo-Regular-subset.drop-hints.62.ttf | Bin 1140 -> 1140 bytes - .../NanumMyeongjo-Regular-subset.drop-hints.63.ttf | Bin 1104 -> 1104 bytes - ...ular-subset.drop-hints.retain-all-codepoint.ttf | Bin 3536 -> 3536 bytes - .../NanumMyeongjo-Regular-subset.gids.61,62,63.ttf | Bin 4128 -> 4128 bytes - .../NanumMyeongjo-Regular-subset.gids.61,63.ttf | Bin 4128 -> 4128 bytes - .../NanumMyeongjo-Regular-subset.gids.61.ttf | Bin 4128 -> 4128 bytes - .../NanumMyeongjo-Regular-subset.gids.62.ttf | Bin 4128 -> 4128 bytes - .../NanumMyeongjo-Regular-subset.gids.63.ttf | Bin 4128 -> 4128 bytes - ...jo-Regular-subset.gids.retain-all-codepoint.ttf | Bin 9524 -> 9524 bytes - ...yeongjo-Regular-subset.glyph-names.61,62,63.ttf | Bin 4128 -> 4128 bytes - ...umMyeongjo-Regular-subset.glyph-names.61,63.ttf | Bin 3580 -> 3580 bytes - ...NanumMyeongjo-Regular-subset.glyph-names.61.ttf | Bin 3156 -> 3156 bytes - ...NanumMyeongjo-Regular-subset.glyph-names.62.ttf | Bin 3180 -> 3180 bytes - ...NanumMyeongjo-Regular-subset.glyph-names.63.ttf | Bin 3048 -> 3048 bytes - ...lar-subset.glyph-names.retain-all-codepoint.ttf | Bin 9524 -> 9524 bytes - ...ar-subset.keep-all-layout-features.61,62,63.ttf | Bin 4128 -> 4128 bytes - ...gular-subset.keep-all-layout-features.61,63.ttf | Bin 3580 -> 3580 bytes - ...-Regular-subset.keep-all-layout-features.61.ttf | Bin 3156 -> 3156 bytes - ...-Regular-subset.keep-all-layout-features.62.ttf | Bin 3180 -> 3180 bytes - ...-Regular-subset.keep-all-layout-features.63.ttf | Bin 3048 -> 3048 bytes - ...ep-all-layout-features.retain-all-codepoint.ttf | Bin 9524 -> 9524 bytes - ...gjo-Regular-subset.layout-features.61,62,63.ttf | Bin 4128 -> 4128 bytes - ...eongjo-Regular-subset.layout-features.61,63.ttf | Bin 3580 -> 3580 bytes - ...mMyeongjo-Regular-subset.layout-features.61.ttf | Bin 3156 -> 3156 bytes - ...mMyeongjo-Regular-subset.layout-features.62.ttf | Bin 3180 -> 3180 bytes - ...mMyeongjo-Regular-subset.layout-features.63.ttf | Bin 3048 -> 3048 bytes - ...subset.layout-features.retain-all-codepoint.ttf | Bin 9524 -> 9524 bytes - ...umMyeongjo-Regular-subset.name-ids.61,62,63.ttf | Bin 3924 -> 3924 bytes - ...NanumMyeongjo-Regular-subset.name-ids.61,63.ttf | Bin 3376 -> 3376 bytes - .../NanumMyeongjo-Regular-subset.name-ids.61.ttf | Bin 2952 -> 2952 bytes - .../NanumMyeongjo-Regular-subset.name-ids.62.ttf | Bin 2976 -> 2976 bytes - .../NanumMyeongjo-Regular-subset.name-ids.63.ttf | Bin 2844 -> 2844 bytes - ...egular-subset.name-ids.retain-all-codepoint.ttf | Bin 9320 -> 9320 bytes - ...ngjo-Regular-subset.name-languages.61,62,63.ttf | Bin 4172 -> 4172 bytes - ...yeongjo-Regular-subset.name-languages.61,63.ttf | Bin 3624 -> 3624 bytes - ...umMyeongjo-Regular-subset.name-languages.61.ttf | Bin 3200 -> 3200 bytes - ...umMyeongjo-Regular-subset.name-languages.62.ttf | Bin 3224 -> 3224 bytes - ...umMyeongjo-Regular-subset.name-languages.63.ttf | Bin 3092 -> 3092 bytes - ...-subset.name-languages.retain-all-codepoint.ttf | Bin 9568 -> 9568 bytes - ...yeongjo-Regular-subset.name-legacy.61,62,63.ttf | Bin 4128 -> 4128 bytes - ...umMyeongjo-Regular-subset.name-legacy.61,63.ttf | Bin 3580 -> 3580 bytes - ...NanumMyeongjo-Regular-subset.name-legacy.61.ttf | Bin 3156 -> 3156 bytes - ...NanumMyeongjo-Regular-subset.name-legacy.62.ttf | Bin 3180 -> 3180 bytes - ...NanumMyeongjo-Regular-subset.name-legacy.63.ttf | Bin 3048 -> 3048 bytes - ...lar-subset.name-legacy.retain-all-codepoint.ttf | Bin 9524 -> 9524 bytes - ...lar-subset.no-prune-unicode-ranges.61,62,63.ttf | Bin 4128 -> 4128 bytes - ...egular-subset.no-prune-unicode-ranges.61,63.ttf | Bin 3580 -> 3580 bytes - ...o-Regular-subset.no-prune-unicode-ranges.61.ttf | Bin 3156 -> 3156 bytes - ...o-Regular-subset.no-prune-unicode-ranges.62.ttf | Bin 3180 -> 3180 bytes - ...o-Regular-subset.no-prune-unicode-ranges.63.ttf | Bin 3048 -> 3048 bytes - ...o-prune-unicode-ranges.retain-all-codepoint.ttf | Bin 9524 -> 9524 bytes - ...ngjo-Regular-subset.notdef-outline.61,62,63.ttf | Bin 4128 -> 4128 bytes - ...yeongjo-Regular-subset.notdef-outline.61,63.ttf | Bin 3580 -> 3580 bytes - ...umMyeongjo-Regular-subset.notdef-outline.61.ttf | Bin 3156 -> 3156 bytes - ...umMyeongjo-Regular-subset.notdef-outline.62.ttf | Bin 3180 -> 3180 bytes - ...umMyeongjo-Regular-subset.notdef-outline.63.ttf | Bin 3048 -> 3048 bytes - ...-subset.notdef-outline.retain-all-codepoint.ttf | Bin 9524 -> 9524 bytes - ...yeongjo-Regular-subset.retain-gids.61,62,63.ttf | Bin 4128 -> 4128 bytes - ...umMyeongjo-Regular-subset.retain-gids.61,63.ttf | Bin 3588 -> 3588 bytes - ...NanumMyeongjo-Regular-subset.retain-gids.61.ttf | Bin 3156 -> 3156 bytes - ...NanumMyeongjo-Regular-subset.retain-gids.62.ttf | Bin 3184 -> 3184 bytes - ...NanumMyeongjo-Regular-subset.retain-gids.63.ttf | Bin 3060 -> 3060 bytes - ...lar-subset.retain-gids.retain-all-codepoint.ttf | Bin 9524 -> 9524 bytes - .../basics/Roboto-Regular.abc.default.61,62,63.ttf | Bin 2452 -> 2448 bytes - .../basics/Roboto-Regular.abc.default.61,63.ttf | Bin 2260 -> 2256 bytes - .../basics/Roboto-Regular.abc.default.61.ttf | Bin 2048 -> 2044 bytes - .../basics/Roboto-Regular.abc.default.62.ttf | Bin 1916 -> 1912 bytes - .../basics/Roboto-Regular.abc.default.63.ttf | Bin 1972 -> 1968 bytes - ...to-Regular.abc.default.retain-all-codepoint.ttf | Bin 2452 -> 2448 bytes - ...Regular.abc.drop-hints-retain-gids.61,62,63.ttf | Bin 1192 -> 1188 bytes - ...to-Regular.abc.drop-hints-retain-gids.61,63.ttf | Bin 1124 -> 1120 bytes - ...oboto-Regular.abc.drop-hints-retain-gids.61.ttf | Bin 984 -> 980 bytes - ...oboto-Regular.abc.drop-hints-retain-gids.62.ttf | Bin 880 -> 876 bytes - ...oboto-Regular.abc.drop-hints-retain-gids.63.ttf | Bin 968 -> 964 bytes - ...drop-hints-retain-gids.retain-all-codepoint.ttf | Bin 1192 -> 1188 bytes - .../Roboto-Regular.abc.drop-hints.61,62,63.ttf | Bin 1192 -> 1188 bytes - .../basics/Roboto-Regular.abc.drop-hints.61,63.ttf | Bin 1108 -> 1104 bytes - .../basics/Roboto-Regular.abc.drop-hints.61.ttf | Bin 984 -> 980 bytes - .../basics/Roboto-Regular.abc.drop-hints.62.ttf | Bin 876 -> 872 bytes - .../basics/Roboto-Regular.abc.drop-hints.63.ttf | Bin 956 -> 952 bytes - ...Regular.abc.drop-hints.retain-all-codepoint.ttf | Bin 1192 -> 1188 bytes - .../basics/Roboto-Regular.abc.gids.61,62,63.ttf | Bin 2452 -> 2448 bytes - .../basics/Roboto-Regular.abc.gids.61,63.ttf | Bin 2452 -> 2448 bytes - .../expected/basics/Roboto-Regular.abc.gids.61.ttf | Bin 2452 -> 2448 bytes - .../expected/basics/Roboto-Regular.abc.gids.62.ttf | Bin 2452 -> 2448 bytes - .../expected/basics/Roboto-Regular.abc.gids.63.ttf | Bin 2452 -> 2448 bytes - ...oboto-Regular.abc.gids.retain-all-codepoint.ttf | Bin 2452 -> 2448 bytes - .../Roboto-Regular.abc.glyph-names.61,62,63.ttf | Bin 2452 -> 2448 bytes - .../Roboto-Regular.abc.glyph-names.61,63.ttf | Bin 2260 -> 2256 bytes - .../basics/Roboto-Regular.abc.glyph-names.61.ttf | Bin 2048 -> 2044 bytes - .../basics/Roboto-Regular.abc.glyph-names.62.ttf | Bin 1916 -> 1912 bytes - .../basics/Roboto-Regular.abc.glyph-names.63.ttf | Bin 1972 -> 1968 bytes - ...egular.abc.glyph-names.retain-all-codepoint.ttf | Bin 2452 -> 2448 bytes - ...gular.abc.keep-all-layout-features.61,62,63.ttf | Bin 2452 -> 2448 bytes - ...-Regular.abc.keep-all-layout-features.61,63.ttf | Bin 2260 -> 2256 bytes - ...oto-Regular.abc.keep-all-layout-features.61.ttf | Bin 2048 -> 2044 bytes - ...oto-Regular.abc.keep-all-layout-features.62.ttf | Bin 1916 -> 1912 bytes - ...oto-Regular.abc.keep-all-layout-features.63.ttf | Bin 1972 -> 1968 bytes - ...ep-all-layout-features.retain-all-codepoint.ttf | Bin 2452 -> 2448 bytes - ...Roboto-Regular.abc.layout-features.61,62,63.ttf | Bin 2452 -> 2448 bytes - .../Roboto-Regular.abc.layout-features.61,63.ttf | Bin 2260 -> 2256 bytes - .../Roboto-Regular.abc.layout-features.61.ttf | Bin 2048 -> 2044 bytes - .../Roboto-Regular.abc.layout-features.62.ttf | Bin 1916 -> 1912 bytes - .../Roboto-Regular.abc.layout-features.63.ttf | Bin 1972 -> 1968 bytes - ...ar.abc.layout-features.retain-all-codepoint.ttf | Bin 2452 -> 2448 bytes - .../Roboto-Regular.abc.name-ids.61,62,63.ttf | Bin 2452 -> 2448 bytes - .../basics/Roboto-Regular.abc.name-ids.61,63.ttf | Bin 2260 -> 2256 bytes - .../basics/Roboto-Regular.abc.name-ids.61.ttf | Bin 2048 -> 2044 bytes - .../basics/Roboto-Regular.abc.name-ids.62.ttf | Bin 1916 -> 1912 bytes - .../basics/Roboto-Regular.abc.name-ids.63.ttf | Bin 1972 -> 1968 bytes - ...o-Regular.abc.name-ids.retain-all-codepoint.ttf | Bin 2452 -> 2448 bytes - .../Roboto-Regular.abc.name-languages.61,62,63.ttf | Bin 2452 -> 2448 bytes - .../Roboto-Regular.abc.name-languages.61,63.ttf | Bin 2260 -> 2256 bytes - .../Roboto-Regular.abc.name-languages.61.ttf | Bin 2048 -> 2044 bytes - .../Roboto-Regular.abc.name-languages.62.ttf | Bin 1916 -> 1912 bytes - .../Roboto-Regular.abc.name-languages.63.ttf | Bin 1972 -> 1968 bytes - ...lar.abc.name-languages.retain-all-codepoint.ttf | Bin 2452 -> 2448 bytes - .../Roboto-Regular.abc.name-legacy.61,62,63.ttf | Bin 2452 -> 2448 bytes - .../Roboto-Regular.abc.name-legacy.61,63.ttf | Bin 2260 -> 2256 bytes - .../basics/Roboto-Regular.abc.name-legacy.61.ttf | Bin 2048 -> 2044 bytes - .../basics/Roboto-Regular.abc.name-legacy.62.ttf | Bin 1916 -> 1912 bytes - .../basics/Roboto-Regular.abc.name-legacy.63.ttf | Bin 1972 -> 1968 bytes - ...egular.abc.name-legacy.retain-all-codepoint.ttf | Bin 2452 -> 2448 bytes - ...egular.abc.no-prune-unicode-ranges.61,62,63.ttf | Bin 2452 -> 2448 bytes - ...o-Regular.abc.no-prune-unicode-ranges.61,63.ttf | Bin 2260 -> 2256 bytes - ...boto-Regular.abc.no-prune-unicode-ranges.61.ttf | Bin 2048 -> 2044 bytes - ...boto-Regular.abc.no-prune-unicode-ranges.62.ttf | Bin 1916 -> 1912 bytes - ...boto-Regular.abc.no-prune-unicode-ranges.63.ttf | Bin 1972 -> 1968 bytes - ...o-prune-unicode-ranges.retain-all-codepoint.ttf | Bin 2452 -> 2448 bytes - .../Roboto-Regular.abc.notdef-outline.61,62,63.ttf | Bin 2452 -> 2448 bytes - .../Roboto-Regular.abc.notdef-outline.61,63.ttf | Bin 2260 -> 2256 bytes - .../Roboto-Regular.abc.notdef-outline.61.ttf | Bin 2048 -> 2044 bytes - .../Roboto-Regular.abc.notdef-outline.62.ttf | Bin 1916 -> 1912 bytes - .../Roboto-Regular.abc.notdef-outline.63.ttf | Bin 1972 -> 1968 bytes - ...lar.abc.notdef-outline.retain-all-codepoint.ttf | Bin 2452 -> 2448 bytes - .../Roboto-Regular.abc.retain-gids.61,62,63.ttf | Bin 2452 -> 2448 bytes - .../Roboto-Regular.abc.retain-gids.61,63.ttf | Bin 2276 -> 2272 bytes - .../basics/Roboto-Regular.abc.retain-gids.61.ttf | Bin 2048 -> 2044 bytes - .../basics/Roboto-Regular.abc.retain-gids.62.ttf | Bin 1924 -> 1920 bytes - .../basics/Roboto-Regular.abc.retain-gids.63.ttf | Bin 1988 -> 1984 bytes - ...egular.abc.retain-gids.retain-all-codepoint.ttf | Bin 2452 -> 2448 bytes - .../cbdt/NotoColorEmoji.subset.default.2049.ttf | Bin 3112 -> 3112 bytes - .../cbdt/NotoColorEmoji.subset.default.38,2049.ttf | Bin 4084 -> 4084 bytes - .../cbdt/NotoColorEmoji.subset.default.38,20E3.ttf | Bin 3568 -> 3568 bytes - ...rEmoji.subset.default.38,39,AE,2049,38,20E3.ttf | Bin 10124 -> 10124 bytes - .../NotoColorEmoji.subset.default.38,AE,2049.ttf | Bin 7544 -> 7544 bytes - .../cbdt/NotoColorEmoji.subset.default.39.ttf | Bin 1920 -> 1920 bytes - .../cbdt/NotoColorEmoji.subset.default.AE.ttf | Bin 4412 -> 4412 bytes - ...lorEmoji.subset.drop-hints-retain-gids.2049.ttf | Bin 3136 -> 3136 bytes - ...Emoji.subset.drop-hints-retain-gids.38,2049.ttf | Bin 4108 -> 4108 bytes - ...Emoji.subset.drop-hints-retain-gids.38,20E3.ttf | Bin 3600 -> 3600 bytes - ...rop-hints-retain-gids.38,39,AE,2049,38,20E3.ttf | Bin 10124 -> 10124 bytes - ...ji.subset.drop-hints-retain-gids.38,AE,2049.ttf | Bin 7564 -> 7564 bytes - ...ColorEmoji.subset.drop-hints-retain-gids.39.ttf | Bin 1928 -> 1928 bytes - ...ColorEmoji.subset.drop-hints-retain-gids.AE.ttf | Bin 4428 -> 4428 bytes - .../cbdt/NotoColorEmoji.subset.drop-hints.2049.ttf | Bin 3112 -> 3112 bytes - .../NotoColorEmoji.subset.drop-hints.38,2049.ttf | Bin 4084 -> 4084 bytes - .../NotoColorEmoji.subset.drop-hints.38,20E3.ttf | Bin 3568 -> 3568 bytes - ...oji.subset.drop-hints.38,39,AE,2049,38,20E3.ttf | Bin 10124 -> 10124 bytes - ...NotoColorEmoji.subset.drop-hints.38,AE,2049.ttf | Bin 7544 -> 7544 bytes - .../cbdt/NotoColorEmoji.subset.drop-hints.39.ttf | Bin 1920 -> 1920 bytes - .../cbdt/NotoColorEmoji.subset.drop-hints.AE.ttf | Bin 4412 -> 4412 bytes - .../NotoColorEmoji.subset.gap.default.2049.ttf | Bin 3112 -> 3112 bytes - .../NotoColorEmoji.subset.gap.default.38,2049.ttf | Bin 4084 -> 4084 bytes - .../NotoColorEmoji.subset.gap.default.38,20E3.ttf | Bin 3568 -> 3568 bytes - ...ji.subset.gap.default.38,39,AE,2049,38,20E3.ttf | Bin 9188 -> 9188 bytes - ...otoColorEmoji.subset.gap.default.38,AE,2049.ttf | Bin 7544 -> 7544 bytes - .../cbdt/NotoColorEmoji.subset.gap.default.39.ttf | Bin 908 -> 908 bytes - .../cbdt/NotoColorEmoji.subset.gap.default.AE.ttf | Bin 4412 -> 4412 bytes - ...moji.subset.gap.drop-hints-retain-gids.2049.ttf | Bin 3136 -> 3136 bytes - ...i.subset.gap.drop-hints-retain-gids.38,2049.ttf | Bin 4108 -> 4108 bytes - ...i.subset.gap.drop-hints-retain-gids.38,20E3.ttf | Bin 3600 -> 3600 bytes - ...rop-hints-retain-gids.38,39,AE,2049,38,20E3.ttf | Bin 9188 -> 9188 bytes - ...ubset.gap.drop-hints-retain-gids.38,AE,2049.ttf | Bin 7564 -> 7564 bytes - ...rEmoji.subset.gap.drop-hints-retain-gids.39.ttf | Bin 916 -> 916 bytes - ...rEmoji.subset.gap.drop-hints-retain-gids.AE.ttf | Bin 4428 -> 4428 bytes - .../NotoColorEmoji.subset.gap.drop-hints.2049.ttf | Bin 3112 -> 3112 bytes - ...otoColorEmoji.subset.gap.drop-hints.38,2049.ttf | Bin 4084 -> 4084 bytes - ...otoColorEmoji.subset.gap.drop-hints.38,20E3.ttf | Bin 3568 -> 3568 bytes - ...subset.gap.drop-hints.38,39,AE,2049,38,20E3.ttf | Bin 9188 -> 9188 bytes - ...ColorEmoji.subset.gap.drop-hints.38,AE,2049.ttf | Bin 7544 -> 7544 bytes - .../NotoColorEmoji.subset.gap.drop-hints.39.ttf | Bin 908 -> 908 bytes - .../NotoColorEmoji.subset.gap.drop-hints.AE.ttf | Bin 4412 -> 4412 bytes - .../NotoColorEmoji.subset.gap.retain-gids.2049.ttf | Bin 3136 -> 3136 bytes - ...toColorEmoji.subset.gap.retain-gids.38,2049.ttf | Bin 4108 -> 4108 bytes - ...toColorEmoji.subset.gap.retain-gids.38,20E3.ttf | Bin 3600 -> 3600 bytes - ...ubset.gap.retain-gids.38,39,AE,2049,38,20E3.ttf | Bin 9188 -> 9188 bytes - ...olorEmoji.subset.gap.retain-gids.38,AE,2049.ttf | Bin 7564 -> 7564 bytes - .../NotoColorEmoji.subset.gap.retain-gids.39.ttf | Bin 916 -> 916 bytes - .../NotoColorEmoji.subset.gap.retain-gids.AE.ttf | Bin 4428 -> 4428 bytes - ...olorEmoji.subset.index_format3.default.2049.ttf | Bin 3108 -> 3108 bytes - ...rEmoji.subset.index_format3.default.38,2049.ttf | Bin 4076 -> 4076 bytes - ...rEmoji.subset.index_format3.default.38,20E3.ttf | Bin 3560 -> 3560 bytes - ...index_format3.default.38,39,AE,2049,38,20E3.ttf | Bin 10112 -> 10112 bytes - ...oji.subset.index_format3.default.38,AE,2049.ttf | Bin 7536 -> 7536 bytes - ...oColorEmoji.subset.index_format3.default.39.ttf | Bin 1916 -> 1916 bytes - ...oColorEmoji.subset.index_format3.default.AE.ttf | Bin 4408 -> 4408 bytes - ...t.index_format3.drop-hints-retain-gids.2049.ttf | Bin 3132 -> 3132 bytes - ...ndex_format3.drop-hints-retain-gids.38,2049.ttf | Bin 4100 -> 4100 bytes - ...ndex_format3.drop-hints-retain-gids.38,20E3.ttf | Bin 3592 -> 3592 bytes - ...rop-hints-retain-gids.38,39,AE,2049,38,20E3.ttf | Bin 10112 -> 10112 bytes - ...x_format3.drop-hints-retain-gids.38,AE,2049.ttf | Bin 7552 -> 7552 bytes - ...set.index_format3.drop-hints-retain-gids.39.ttf | Bin 1924 -> 1924 bytes - ...set.index_format3.drop-hints-retain-gids.AE.ttf | Bin 4424 -> 4424 bytes - ...rEmoji.subset.index_format3.drop-hints.2049.ttf | Bin 3108 -> 3108 bytes - ...oji.subset.index_format3.drop-hints.38,2049.ttf | Bin 4076 -> 4076 bytes - ...oji.subset.index_format3.drop-hints.38,20E3.ttf | Bin 3560 -> 3560 bytes - ...ex_format3.drop-hints.38,39,AE,2049,38,20E3.ttf | Bin 10112 -> 10112 bytes - ....subset.index_format3.drop-hints.38,AE,2049.ttf | Bin 7536 -> 7536 bytes - ...lorEmoji.subset.index_format3.drop-hints.39.ttf | Bin 1916 -> 1916 bytes - ...lorEmoji.subset.index_format3.drop-hints.AE.ttf | Bin 4408 -> 4408 bytes - ...Emoji.subset.index_format3.retain-gids.2049.ttf | Bin 3132 -> 3132 bytes - ...ji.subset.index_format3.retain-gids.38,2049.ttf | Bin 4100 -> 4100 bytes - ...ji.subset.index_format3.retain-gids.38,20E3.ttf | Bin 3592 -> 3592 bytes - ...x_format3.retain-gids.38,39,AE,2049,38,20E3.ttf | Bin 10112 -> 10112 bytes - ...subset.index_format3.retain-gids.38,AE,2049.ttf | Bin 7552 -> 7552 bytes - ...orEmoji.subset.index_format3.retain-gids.39.ttf | Bin 1924 -> 1924 bytes - ...orEmoji.subset.index_format3.retain-gids.AE.ttf | Bin 4424 -> 4424 bytes - ...ji.subset.multiple_size_tables.default.2049.ttf | Bin 5312 -> 5312 bytes - ...subset.multiple_size_tables.default.38,2049.ttf | Bin 7244 -> 7244 bytes - ...subset.multiple_size_tables.default.38,20E3.ttf | Bin 6212 -> 6212 bytes - ...e_size_tables.default.38,39,AE,2049,38,20E3.ttf | Bin 19280 -> 19280 bytes - ...set.multiple_size_tables.default.38,AE,2049.ttf | Bin 14140 -> 14140 bytes - ...moji.subset.multiple_size_tables.default.39.ttf | Bin 2928 -> 2928 bytes - ...moji.subset.multiple_size_tables.default.AE.ttf | Bin 7916 -> 7916 bytes - ...ple_size_tables.drop-hints-retain-gids.2049.ttf | Bin 5336 -> 5336 bytes - ..._size_tables.drop-hints-retain-gids.38,2049.ttf | Bin 7268 -> 7268 bytes - ..._size_tables.drop-hints-retain-gids.38,20E3.ttf | Bin 6244 -> 6244 bytes - ...rop-hints-retain-gids.38,39,AE,2049,38,20E3.ttf | Bin 19280 -> 19280 bytes - ...ze_tables.drop-hints-retain-gids.38,AE,2049.ttf | Bin 14164 -> 14164 bytes - ...tiple_size_tables.drop-hints-retain-gids.39.ttf | Bin 2936 -> 2936 bytes - ...tiple_size_tables.drop-hints-retain-gids.AE.ttf | Bin 7932 -> 7932 bytes - ...subset.multiple_size_tables.drop-hints.2049.ttf | Bin 5312 -> 5312 bytes - ...set.multiple_size_tables.drop-hints.38,2049.ttf | Bin 7244 -> 7244 bytes - ...set.multiple_size_tables.drop-hints.38,20E3.ttf | Bin 6212 -> 6212 bytes - ...ize_tables.drop-hints.38,39,AE,2049,38,20E3.ttf | Bin 19280 -> 19280 bytes - ....multiple_size_tables.drop-hints.38,AE,2049.ttf | Bin 14140 -> 14140 bytes - ...i.subset.multiple_size_tables.drop-hints.39.ttf | Bin 2928 -> 2928 bytes - ...i.subset.multiple_size_tables.drop-hints.AE.ttf | Bin 7916 -> 7916 bytes - ...ubset.multiple_size_tables.retain-gids.2049.ttf | Bin 5336 -> 5336 bytes - ...et.multiple_size_tables.retain-gids.38,2049.ttf | Bin 7268 -> 7268 bytes - ...et.multiple_size_tables.retain-gids.38,20E3.ttf | Bin 6244 -> 6244 bytes - ...ze_tables.retain-gids.38,39,AE,2049,38,20E3.ttf | Bin 19280 -> 19280 bytes - ...multiple_size_tables.retain-gids.38,AE,2049.ttf | Bin 14164 -> 14164 bytes - ....subset.multiple_size_tables.retain-gids.39.ttf | Bin 2936 -> 2936 bytes - ....subset.multiple_size_tables.retain-gids.AE.ttf | Bin 7932 -> 7932 bytes - .../NotoColorEmoji.subset.retain-gids.2049.ttf | Bin 3136 -> 3136 bytes - .../NotoColorEmoji.subset.retain-gids.38,2049.ttf | Bin 4108 -> 4108 bytes - .../NotoColorEmoji.subset.retain-gids.38,20E3.ttf | Bin 3600 -> 3600 bytes - ...ji.subset.retain-gids.38,39,AE,2049,38,20E3.ttf | Bin 10124 -> 10124 bytes - ...otoColorEmoji.subset.retain-gids.38,AE,2049.ttf | Bin 7564 -> 7564 bytes - .../cbdt/NotoColorEmoji.subset.retain-gids.39.ttf | Bin 1928 -> 1928 bytes - .../cbdt/NotoColorEmoji.subset.retain-gids.AE.ttf | Bin 4428 -> 4428 bytes - ...eSansPro-Regular.default.1FC,21,41,20,62,63.otf | Bin 2580 -> 2592 bytes - .../SourceSansPro-Regular.default.61,62,63.otf | Bin 2216 -> 2224 bytes - ...ourceSansPro-Regular.default.D7,D8,D9,DA,DE.otf | Bin 2328 -> 2340 bytes - ...subroutinize-retain-gids.1FC,21,41,20,62,63.otf | Bin 20232 -> 20220 bytes - ...Regular.desubroutinize-retain-gids.61,62,63.otf | Bin 2316 -> 2324 bytes - ...r.desubroutinize-retain-gids.D7,D8,D9,DA,DE.otf | Bin 30540 -> 30528 bytes - ...o-Regular.desubroutinize.1FC,21,41,20,62,63.otf | Bin 2436 -> 2448 bytes - ...urceSansPro-Regular.desubroutinize.61,62,63.otf | Bin 2120 -> 2128 bytes - ...nsPro-Regular.desubroutinize.D7,D8,D9,DA,DE.otf | Bin 2312 -> 2320 bytes - ...subroutinize-retain-gids.1FC,21,41,20,62,63.otf | Bin 20064 -> 20052 bytes - ...p-hints-desubroutinize-retain-gids.61,62,63.otf | Bin 2192 -> 2200 bytes - ...s-desubroutinize-retain-gids.D7,D8,D9,DA,DE.otf | Bin 30372 -> 30360 bytes - ...rop-hints-desubroutinize.1FC,21,41,20,62,63.otf | Bin 2268 -> 2276 bytes - ...-Regular.drop-hints-desubroutinize.61,62,63.otf | Bin 1996 -> 2004 bytes - ...ar.drop-hints-desubroutinize.D7,D8,D9,DA,DE.otf | Bin 2148 -> 2156 bytes - ...r.drop-hints-retain-gids.1FC,21,41,20,62,63.otf | Bin 20156 -> 20144 bytes - ...Pro-Regular.drop-hints-retain-gids.61,62,63.otf | Bin 2228 -> 2240 bytes - ...gular.drop-hints-retain-gids.D7,D8,D9,DA,DE.otf | Bin 30384 -> 30376 bytes - ...nsPro-Regular.drop-hints.1FC,21,41,20,62,63.otf | Bin 2352 -> 2360 bytes - .../SourceSansPro-Regular.drop-hints.61,62,63.otf | Bin 2060 -> 2072 bytes - ...ceSansPro-Regular.drop-hints.D7,D8,D9,DA,DE.otf | Bin 2164 -> 2172 bytes - ...sPro-Regular.retain-gids.1FC,21,41,20,62,63.otf | Bin 20384 -> 20376 bytes - .../SourceSansPro-Regular.retain-gids.61,62,63.otf | Bin 2384 -> 2392 bytes - ...eSansPro-Regular.retain-gids.D7,D8,D9,DA,DE.otf | Bin 30556 -> 30544 bytes - ...ubset.default.3042,3044,3046,3048,304A,304B.otf | Bin 4884 -> 4912 bytes - ...ubset.default.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 6276 -> 6300 bytes - ...eHanSans-Regular_subset.default.61,63,65,6B.otf | Bin 2588 -> 2620 bytes - ...ubset.default.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 6736 -> 6744 bytes - .../SourceHanSans-Regular_subset.default.660E.otf | Bin 2456 -> 2488 bytes - ...e-retain-gids.3042,3044,3046,3048,304A,304B.otf | Bin 129876 -> 129912 bytes - ...e-retain-gids.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 130920 -> 130944 bytes - ...bset.desubroutinize-retain-gids.61,63,65,6B.otf | Bin 3412 -> 3444 bytes - ...e-retain-gids.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 122048 -> 122060 bytes - ...ular_subset.desubroutinize-retain-gids.660E.otf | Bin 50760 -> 50788 bytes - ...esubroutinize.3042,3044,3046,3048,304A,304B.otf | Bin 4724 -> 4748 bytes - ...esubroutinize.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 5928 -> 5944 bytes - ...s-Regular_subset.desubroutinize.61,63,65,6B.otf | Bin 2520 -> 2552 bytes - ...esubroutinize.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 6232 -> 6236 bytes - ...eHanSans-Regular_subset.desubroutinize.660E.otf | Bin 2440 -> 2472 bytes - ...e-retain-gids.3042,3044,3046,3048,304A,304B.otf | Bin 129448 -> 129468 bytes - ...e-retain-gids.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 130312 -> 130324 bytes - ...ints-desubroutinize-retain-gids.61,63,65,6B.otf | Bin 3288 -> 3324 bytes - ...e-retain-gids.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 121284 -> 121284 bytes - ....drop-hints-desubroutinize-retain-gids.660E.otf | Bin 50540 -> 50560 bytes - ...esubroutinize.3042,3044,3046,3048,304A,304B.otf | Bin 4420 -> 4440 bytes - ...esubroutinize.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 5416 -> 5428 bytes - ...ubset.drop-hints-desubroutinize.61,63,65,6B.otf | Bin 2416 -> 2448 bytes - ...esubroutinize.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 5556 -> 5560 bytes - ...gular_subset.drop-hints-desubroutinize.660E.otf | Bin 2308 -> 2336 bytes - ...s-retain-gids.3042,3044,3046,3048,304A,304B.otf | Bin 129576 -> 129608 bytes - ...s-retain-gids.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 130604 -> 130632 bytes - ...r_subset.drop-hints-retain-gids.61,63,65,6B.otf | Bin 3248 -> 3288 bytes - ...s-retain-gids.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 121776 -> 121784 bytes - ...-Regular_subset.drop-hints-retain-gids.660E.otf | Bin 50552 -> 50576 bytes - ...et.drop-hints.3042,3044,3046,3048,304A,304B.otf | Bin 4548 -> 4576 bytes - ...et.drop-hints.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 5708 -> 5732 bytes - ...nSans-Regular_subset.drop-hints.61,63,65,6B.otf | Bin 2448 -> 2480 bytes - ...et.drop-hints.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 6048 -> 6056 bytes - ...ourceHanSans-Regular_subset.drop-hints.660E.otf | Bin 2316 -> 2348 bytes - ...t.retain-gids.3042,3044,3046,3048,304A,304B.otf | Bin 130036 -> 130072 bytes - ...t.retain-gids.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 131272 -> 131300 bytes - ...Sans-Regular_subset.retain-gids.61,63,65,6B.otf | Bin 3408 -> 3444 bytes - ...t.retain-gids.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 122552 -> 122564 bytes - ...urceHanSans-Regular_subset.retain-gids.660E.otf | Bin 50776 -> 50804 bytes - ...otoSerifMyanmar-Regular.notdef-outline.1092.otf | Bin 1380 -> 1392 bytes - .../cmap/AdobeBlank-Regular.default.61,62.ttf | Bin 1252 -> 1252 bytes - .../cmap/AdobeBlank-Regular.default.61,FEFA.ttf | Bin 1264 -> 1264 bytes - .../cmap/AdobeBlank-Regular.default.FEE6,FECF.ttf | Bin 1216 -> 1216 bytes - .../cmap/AdobeBlank-Regular.default.FEF9,FEFA.ttf | Bin 1204 -> 1204 bytes - .../cmap/AdobeBlank-Regular.default.FEFA.ttf | Bin 1184 -> 1184 bytes - ...eBlank-Regular.drop-hints-retain-gids.61,62.ttf | Bin 1468 -> 1468 bytes - ...lank-Regular.drop-hints-retain-gids.61,FEFA.ttf | Bin 8232 -> 8232 bytes - ...nk-Regular.drop-hints-retain-gids.FEE6,FECF.ttf | Bin 8104 -> 8104 bytes - ...nk-Regular.drop-hints-retain-gids.FEF9,FEFA.ttf | Bin 8172 -> 8172 bytes - ...beBlank-Regular.drop-hints-retain-gids.FEFA.ttf | Bin 8156 -> 8156 bytes - .../cmap/AdobeBlank-Regular.drop-hints.61,62.ttf | Bin 1080 -> 1080 bytes - .../cmap/AdobeBlank-Regular.drop-hints.61,FEFA.ttf | Bin 1092 -> 1092 bytes - .../AdobeBlank-Regular.drop-hints.FEE6,FECF.ttf | Bin 1044 -> 1044 bytes - .../AdobeBlank-Regular.drop-hints.FEF9,FEFA.ttf | Bin 1032 -> 1032 bytes - .../cmap/AdobeBlank-Regular.drop-hints.FEFA.ttf | Bin 1012 -> 1012 bytes - .../cmap/AdobeBlank-Regular.name-ids.61,62.ttf | Bin 1000 -> 1000 bytes - .../cmap/AdobeBlank-Regular.name-ids.61,FEFA.ttf | Bin 1012 -> 1012 bytes - .../cmap/AdobeBlank-Regular.name-ids.FEE6,FECF.ttf | Bin 964 -> 964 bytes - .../cmap/AdobeBlank-Regular.name-ids.FEF9,FEFA.ttf | Bin 952 -> 952 bytes - .../cmap/AdobeBlank-Regular.name-ids.FEFA.ttf | Bin 932 -> 932 bytes - .../cmap/AdobeBlank-Regular.retain-gids.61,62.ttf | Bin 1640 -> 1640 bytes - .../AdobeBlank-Regular.retain-gids.61,FEFA.ttf | Bin 8404 -> 8404 bytes - .../AdobeBlank-Regular.retain-gids.FEE6,FECF.ttf | Bin 8276 -> 8276 bytes - .../AdobeBlank-Regular.retain-gids.FEF9,FEFA.ttf | Bin 8344 -> 8344 bytes - .../cmap/AdobeBlank-Regular.retain-gids.FEFA.ttf | Bin 8328 -> 8328 bytes - .../cmap14/cmap14_font1.default.4E00,4E02,4E03.otf | Bin 1360 -> 1376 bytes - .../cmap14/cmap14_font1.default.4E00,4E03.otf | Bin 1236 -> 1252 bytes - .../cmap14/cmap14_font1.default.4E00,4E05,4E07.otf | Bin 1328 -> 1348 bytes - .../cmap14/cmap14_font1.default.4E02,4E03,4E08.otf | Bin 1576 -> 1596 bytes - .../expected/cmap14/cmap14_font1.default.4E02.otf | Bin 996 -> 1012 bytes - .../expected/cmap14/cmap14_font1.default.4E03.otf | Bin 1080 -> 1096 bytes - .../cmap14_font1.default.4E05,4E07,4E08,4E09.otf | Bin 1848 -> 1864 bytes - .../cmap14/cmap14_font1.default.4E08,4E09.otf | Bin 1720 -> 1736 bytes - .../expected/cmap14/cmap14_font1.default.4E08.otf | Bin 1384 -> 1404 bytes - .../cmap14_font1.default.retain-all-codepoint.otf | Bin 2348 -> 2364 bytes - ...font1.drop-hints-retain-gids.4E00,4E02,4E03.otf | Bin 1388 -> 1404 bytes - ...ap14_font1.drop-hints-retain-gids.4E00,4E03.otf | Bin 1272 -> 1292 bytes - ...font1.drop-hints-retain-gids.4E00,4E05,4E07.otf | Bin 1396 -> 1416 bytes - ...font1.drop-hints-retain-gids.4E02,4E03,4E08.otf | Bin 1720 -> 1736 bytes - .../cmap14_font1.drop-hints-retain-gids.4E02.otf | Bin 1028 -> 1048 bytes - .../cmap14_font1.drop-hints-retain-gids.4E03.otf | Bin 1124 -> 1140 bytes - ....drop-hints-retain-gids.4E05,4E07,4E08,4E09.otf | Bin 1984 -> 2000 bytes - ...ap14_font1.drop-hints-retain-gids.4E08,4E09.otf | Bin 1872 -> 1888 bytes - .../cmap14_font1.drop-hints-retain-gids.4E08.otf | Bin 1544 -> 1560 bytes - ...drop-hints-retain-gids.retain-all-codepoint.otf | Bin 2436 -> 2452 bytes - .../cmap14_font1.drop-hints.4E00,4E02,4E03.otf | Bin 1292 -> 1308 bytes - .../cmap14/cmap14_font1.drop-hints.4E00,4E03.otf | Bin 1168 -> 1188 bytes - .../cmap14_font1.drop-hints.4E00,4E05,4E07.otf | Bin 1260 -> 1280 bytes - .../cmap14_font1.drop-hints.4E02,4E03,4E08.otf | Bin 1512 -> 1528 bytes - .../cmap14/cmap14_font1.drop-hints.4E02.otf | Bin 928 -> 944 bytes - .../cmap14/cmap14_font1.drop-hints.4E03.otf | Bin 1012 -> 1028 bytes - ...cmap14_font1.drop-hints.4E05,4E07,4E08,4E09.otf | Bin 1780 -> 1796 bytes - .../cmap14/cmap14_font1.drop-hints.4E08,4E09.otf | Bin 1652 -> 1672 bytes - .../cmap14/cmap14_font1.drop-hints.4E08.otf | Bin 1316 -> 1336 bytes - ...map14_font1.drop-hints.retain-all-codepoint.otf | Bin 2280 -> 2296 bytes - .../cmap14/cmap14_font1.gids.4E00,4E02,4E03.otf | Bin 1388 -> 1408 bytes - .../cmap14/cmap14_font1.gids.4E00,4E03.otf | Bin 1380 -> 1396 bytes - .../cmap14/cmap14_font1.gids.4E00,4E05,4E07.otf | Bin 1620 -> 1640 bytes - .../cmap14/cmap14_font1.gids.4E02,4E03,4E08.otf | Bin 1744 -> 1760 bytes - .../expected/cmap14/cmap14_font1.gids.4E02.otf | Bin 1312 -> 1332 bytes - .../expected/cmap14/cmap14_font1.gids.4E03.otf | Bin 1352 -> 1372 bytes - .../cmap14_font1.gids.4E05,4E07,4E08,4E09.otf | Bin 2164 -> 2184 bytes - .../cmap14/cmap14_font1.gids.4E08,4E09.otf | Bin 2036 -> 2056 bytes - .../expected/cmap14/cmap14_font1.gids.4E08.otf | Bin 1704 -> 1720 bytes - .../cmap14_font1.gids.retain-all-codepoint.otf | Bin 2380 -> 2400 bytes - .../cmap14_font1.name-ids.4E00,4E02,4E03.otf | Bin 1292 -> 1308 bytes - .../cmap14/cmap14_font1.name-ids.4E00,4E03.otf | Bin 1168 -> 1184 bytes - .../cmap14_font1.name-ids.4E00,4E05,4E07.otf | Bin 1260 -> 1280 bytes - .../cmap14_font1.name-ids.4E02,4E03,4E08.otf | Bin 1508 -> 1528 bytes - .../expected/cmap14/cmap14_font1.name-ids.4E02.otf | Bin 928 -> 944 bytes - .../expected/cmap14/cmap14_font1.name-ids.4E03.otf | Bin 1012 -> 1028 bytes - .../cmap14_font1.name-ids.4E05,4E07,4E08,4E09.otf | Bin 1780 -> 1796 bytes - .../cmap14/cmap14_font1.name-ids.4E08,4E09.otf | Bin 1652 -> 1668 bytes - .../expected/cmap14/cmap14_font1.name-ids.4E08.otf | Bin 1316 -> 1336 bytes - .../cmap14_font1.name-ids.retain-all-codepoint.otf | Bin 2280 -> 2296 bytes - .../cmap14_font1.retain-gids.4E00,4E02,4E03.otf | Bin 1452 -> 1472 bytes - .../cmap14/cmap14_font1.retain-gids.4E00,4E03.otf | Bin 1340 -> 1360 bytes - .../cmap14_font1.retain-gids.4E00,4E05,4E07.otf | Bin 1464 -> 1480 bytes - .../cmap14_font1.retain-gids.4E02,4E03,4E08.otf | Bin 1788 -> 1804 bytes - .../cmap14/cmap14_font1.retain-gids.4E02.otf | Bin 1096 -> 1116 bytes - .../cmap14/cmap14_font1.retain-gids.4E03.otf | Bin 1192 -> 1208 bytes - ...map14_font1.retain-gids.4E05,4E07,4E08,4E09.otf | Bin 2048 -> 2068 bytes - .../cmap14/cmap14_font1.retain-gids.4E08,4E09.otf | Bin 1940 -> 1956 bytes - .../cmap14/cmap14_font1.retain-gids.4E08.otf | Bin 1608 -> 1628 bytes - ...ap14_font1.retain-gids.retain-all-codepoint.otf | Bin 2500 -> 2520 bytes - .../cmap14/cmap14_font2.default.4E00,4E02,4E03.otf | Bin 1360 -> 1376 bytes - .../cmap14/cmap14_font2.default.4E00,4E03.otf | Bin 1236 -> 1252 bytes - .../cmap14/cmap14_font2.default.4E00,4E05,4E07.otf | Bin 1332 -> 1352 bytes - .../cmap14/cmap14_font2.default.4E02,4E03,4E08.otf | Bin 1576 -> 1596 bytes - .../expected/cmap14/cmap14_font2.default.4E02.otf | Bin 992 -> 1008 bytes - .../expected/cmap14/cmap14_font2.default.4E03.otf | Bin 1076 -> 1092 bytes - .../cmap14_font2.default.4E05,4E07,4E08,4E09.otf | Bin 1848 -> 1864 bytes - .../cmap14/cmap14_font2.default.4E08,4E09.otf | Bin 1716 -> 1732 bytes - .../expected/cmap14/cmap14_font2.default.4E08.otf | Bin 1380 -> 1400 bytes - .../cmap14_font2.default.retain-all-codepoint.otf | Bin 2344 -> 2360 bytes - ...font2.drop-hints-retain-gids.4E00,4E02,4E03.otf | Bin 1388 -> 1404 bytes - ...ap14_font2.drop-hints-retain-gids.4E00,4E03.otf | Bin 1272 -> 1292 bytes - ...font2.drop-hints-retain-gids.4E00,4E05,4E07.otf | Bin 1400 -> 1420 bytes - ...font2.drop-hints-retain-gids.4E02,4E03,4E08.otf | Bin 1720 -> 1736 bytes - .../cmap14_font2.drop-hints-retain-gids.4E02.otf | Bin 1024 -> 1044 bytes - .../cmap14_font2.drop-hints-retain-gids.4E03.otf | Bin 1120 -> 1136 bytes - ....drop-hints-retain-gids.4E05,4E07,4E08,4E09.otf | Bin 1984 -> 2000 bytes - ...ap14_font2.drop-hints-retain-gids.4E08,4E09.otf | Bin 1868 -> 1884 bytes - .../cmap14_font2.drop-hints-retain-gids.4E08.otf | Bin 1540 -> 1556 bytes - ...drop-hints-retain-gids.retain-all-codepoint.otf | Bin 2432 -> 2448 bytes - .../cmap14_font2.drop-hints.4E00,4E02,4E03.otf | Bin 1292 -> 1308 bytes - .../cmap14/cmap14_font2.drop-hints.4E00,4E03.otf | Bin 1168 -> 1188 bytes - .../cmap14_font2.drop-hints.4E00,4E05,4E07.otf | Bin 1264 -> 1284 bytes - .../cmap14_font2.drop-hints.4E02,4E03,4E08.otf | Bin 1512 -> 1528 bytes - .../cmap14/cmap14_font2.drop-hints.4E02.otf | Bin 924 -> 940 bytes - .../cmap14/cmap14_font2.drop-hints.4E03.otf | Bin 1008 -> 1024 bytes - ...cmap14_font2.drop-hints.4E05,4E07,4E08,4E09.otf | Bin 1780 -> 1796 bytes - .../cmap14/cmap14_font2.drop-hints.4E08,4E09.otf | Bin 1648 -> 1668 bytes - .../cmap14/cmap14_font2.drop-hints.4E08.otf | Bin 1312 -> 1332 bytes - ...map14_font2.drop-hints.retain-all-codepoint.otf | Bin 2276 -> 2292 bytes - .../cmap14/cmap14_font2.gids.4E00,4E02,4E03.otf | Bin 1388 -> 1408 bytes - .../cmap14/cmap14_font2.gids.4E00,4E03.otf | Bin 1380 -> 1396 bytes - .../cmap14/cmap14_font2.gids.4E00,4E05,4E07.otf | Bin 1624 -> 1644 bytes - .../cmap14/cmap14_font2.gids.4E02,4E03,4E08.otf | Bin 1744 -> 1760 bytes - .../expected/cmap14/cmap14_font2.gids.4E02.otf | Bin 1308 -> 1328 bytes - .../expected/cmap14/cmap14_font2.gids.4E03.otf | Bin 1348 -> 1368 bytes - .../cmap14_font2.gids.4E05,4E07,4E08,4E09.otf | Bin 2164 -> 2184 bytes - .../cmap14/cmap14_font2.gids.4E08,4E09.otf | Bin 2032 -> 2052 bytes - .../expected/cmap14/cmap14_font2.gids.4E08.otf | Bin 1700 -> 1716 bytes - .../cmap14_font2.gids.retain-all-codepoint.otf | Bin 2376 -> 2396 bytes - .../cmap14_font2.name-ids.4E00,4E02,4E03.otf | Bin 1292 -> 1308 bytes - .../cmap14/cmap14_font2.name-ids.4E00,4E03.otf | Bin 1168 -> 1184 bytes - .../cmap14_font2.name-ids.4E00,4E05,4E07.otf | Bin 1264 -> 1284 bytes - .../cmap14_font2.name-ids.4E02,4E03,4E08.otf | Bin 1508 -> 1528 bytes - .../expected/cmap14/cmap14_font2.name-ids.4E02.otf | Bin 924 -> 940 bytes - .../expected/cmap14/cmap14_font2.name-ids.4E03.otf | Bin 1008 -> 1024 bytes - .../cmap14_font2.name-ids.4E05,4E07,4E08,4E09.otf | Bin 1780 -> 1796 bytes - .../cmap14/cmap14_font2.name-ids.4E08,4E09.otf | Bin 1648 -> 1664 bytes - .../expected/cmap14/cmap14_font2.name-ids.4E08.otf | Bin 1312 -> 1332 bytes - .../cmap14_font2.name-ids.retain-all-codepoint.otf | Bin 2276 -> 2292 bytes - .../cmap14_font2.retain-gids.4E00,4E02,4E03.otf | Bin 1452 -> 1472 bytes - .../cmap14/cmap14_font2.retain-gids.4E00,4E03.otf | Bin 1340 -> 1360 bytes - .../cmap14_font2.retain-gids.4E00,4E05,4E07.otf | Bin 1468 -> 1484 bytes - .../cmap14_font2.retain-gids.4E02,4E03,4E08.otf | Bin 1788 -> 1804 bytes - .../cmap14/cmap14_font2.retain-gids.4E02.otf | Bin 1092 -> 1112 bytes - .../cmap14/cmap14_font2.retain-gids.4E03.otf | Bin 1188 -> 1204 bytes - ...map14_font2.retain-gids.4E05,4E07,4E08,4E09.otf | Bin 2048 -> 2068 bytes - .../cmap14/cmap14_font2.retain-gids.4E08,4E09.otf | Bin 1936 -> 1952 bytes - .../cmap14/cmap14_font2.retain-gids.4E08.otf | Bin 1604 -> 1624 bytes - ...ap14_font2.retain-gids.retain-all-codepoint.otf | Bin 2496 -> 2516 bytes - .../TwemojiMozilla.subset.default.32,3297,3299.ttf | Bin 1936 -> 1936 bytes - .../colr/TwemojiMozilla.subset.default.32,3297.ttf | Bin 1400 -> 1400 bytes - .../colr/TwemojiMozilla.subset.default.32,3299.ttf | Bin 1576 -> 1576 bytes - .../colr/TwemojiMozilla.subset.default.32.ttf | Bin 932 -> 932 bytes - .../TwemojiMozilla.subset.default.3297,3299.ttf | Bin 1916 -> 1916 bytes - .../colr/TwemojiMozilla.subset.default.3297.ttf | Bin 1376 -> 1376 bytes - .../colr/TwemojiMozilla.subset.default.3299.ttf | Bin 1552 -> 1552 bytes - ....subset.drop-hints-retain-gids.32,3297,3299.ttf | Bin 1916 -> 1916 bytes - ...zilla.subset.drop-hints-retain-gids.32,3297.ttf | Bin 1396 -> 1396 bytes - ...zilla.subset.drop-hints-retain-gids.32,3299.ttf | Bin 1576 -> 1576 bytes - ...ojiMozilla.subset.drop-hints-retain-gids.32.ttf | Bin 912 -> 912 bytes - ...lla.subset.drop-hints-retain-gids.3297,3299.ttf | Bin 1900 -> 1900 bytes - ...iMozilla.subset.drop-hints-retain-gids.3297.ttf | Bin 1372 -> 1372 bytes - ...iMozilla.subset.drop-hints-retain-gids.3299.ttf | Bin 1552 -> 1552 bytes - ...emojiMozilla.subset.drop-hints.32,3297,3299.ttf | Bin 1916 -> 1916 bytes - .../TwemojiMozilla.subset.drop-hints.32,3297.ttf | Bin 1380 -> 1380 bytes - .../TwemojiMozilla.subset.drop-hints.32,3299.ttf | Bin 1556 -> 1556 bytes - .../colr/TwemojiMozilla.subset.drop-hints.32.ttf | Bin 912 -> 912 bytes - .../TwemojiMozilla.subset.drop-hints.3297,3299.ttf | Bin 1896 -> 1896 bytes - .../colr/TwemojiMozilla.subset.drop-hints.3297.ttf | Bin 1356 -> 1356 bytes - .../colr/TwemojiMozilla.subset.drop-hints.3299.ttf | Bin 1532 -> 1532 bytes - ...mojiMozilla.subset.retain-gids.32,3297,3299.ttf | Bin 1936 -> 1936 bytes - .../TwemojiMozilla.subset.retain-gids.32,3297.ttf | Bin 1416 -> 1416 bytes - .../TwemojiMozilla.subset.retain-gids.32,3299.ttf | Bin 1596 -> 1596 bytes - .../colr/TwemojiMozilla.subset.retain-gids.32.ttf | Bin 932 -> 932 bytes - ...TwemojiMozilla.subset.retain-gids.3297,3299.ttf | Bin 1920 -> 1920 bytes - .../TwemojiMozilla.subset.retain-gids.3297.ttf | Bin 1392 -> 1392 bytes - .../TwemojiMozilla.subset.retain-gids.3299.ttf | Bin 1572 -> 1572 bytes - .../colr_with_components/colr-table.default.6B.ttf | Bin 4260 -> 4260 bytes - .../colr-table.drop-hints-retain-gids.6B.ttf | Bin 4984 -> 4984 bytes - .../colr-table.drop-hints.6B.ttf | Bin 4260 -> 4260 bytes - .../colr-table.retain-gids.6B.ttf | Bin 4984 -> 4984 bytes - .../Roboto-Regular.default.1FC,21,41,20,62,63.ttf | Bin 3080 -> 3076 bytes - .../full-font/Roboto-Regular.default.61,62,63.ttf | Bin 2672 -> 2668 bytes - .../Roboto-Regular.default.D7,D8,D9,DA,DE.ttf | Bin 3024 -> 3020 bytes - ...oboto-Regular.drop-hints.1FC,21,41,20,62,63.ttf | Bin 1632 -> 1628 bytes - .../Roboto-Regular.drop-hints.61,62,63.ttf | Bin 1412 -> 1408 bytes - .../Roboto-Regular.drop-hints.D7,D8,D9,DA,DE.ttf | Bin 1648 -> 1644 bytes - ...ifVariable-Roman.default.1FC,21,41,20,62,63.ttf | Bin 3992 -> 3960 bytes - .../SourceSerifVariable-Roman.default.61,62,63.ttf | Bin 3832 -> 3820 bytes - ...eSerifVariable-Roman.default.D7,D8,D9,DA,DE.ttf | Bin 4396 -> 4384 bytes - ...ariable-Roman.drop-hints.1FC,21,41,20,62,63.ttf | Bin 3968 -> 3948 bytes - ...urceSerifVariable-Roman.drop-hints.61,62,63.ttf | Bin 3832 -> 3820 bytes - ...rifVariable-Roman.drop-hints.D7,D8,D9,DA,DE.ttf | Bin 4396 -> 4384 bytes - .../Mplus1p-Regular.default.1D715,1D7D8,41,42.ttf | Bin 2344 -> 2340 bytes - .../japanese/Mplus1p-Regular.default.25771.ttf | Bin 1992 -> 1988 bytes - ...gular.default.3042,3044,3046,3048,304A,304B.ttf | Bin 2704 -> 2700 bytes - ...gular.default.3042,3044,3046,73E0,5EA6,8F38.ttf | Bin 2948 -> 2944 bytes - .../Mplus1p-Regular.default.61,63,65,6B.ttf | Bin 2324 -> 2320 bytes - ...gular.default.660E,6975,73E0,5EA6,8F38,6E05.ttf | Bin 3244 -> 3240 bytes - .../japanese/Mplus1p-Regular.default.660E.ttf | Bin 1984 -> 1980 bytes - ...plus1p-Regular.drop-hints.1D715,1D7D8,41,42.ttf | Bin 1616 -> 1612 bytes - .../japanese/Mplus1p-Regular.drop-hints.25771.ttf | Bin 1264 -> 1260 bytes - ...ar.drop-hints.3042,3044,3046,3048,304A,304B.ttf | Bin 1976 -> 1972 bytes - ...ar.drop-hints.3042,3044,3046,73E0,5EA6,8F38.ttf | Bin 2220 -> 2216 bytes - .../Mplus1p-Regular.drop-hints.61,63,65,6B.ttf | Bin 1596 -> 1592 bytes - ...ar.drop-hints.660E,6975,73E0,5EA6,8F38,6E05.ttf | Bin 2516 -> 2512 bytes - .../japanese/Mplus1p-Regular.drop-hints.660E.ttf | Bin 1256 -> 1252 bytes - ...Mplus1p-Regular.keep-gdef.1D715,1D7D8,41,42.ttf | Bin 2344 -> 2340 bytes - .../japanese/Mplus1p-Regular.keep-gdef.25771.ttf | Bin 1992 -> 1988 bytes - ...lar.keep-gdef.3042,3044,3046,3048,304A,304B.ttf | Bin 2704 -> 2700 bytes - ...lar.keep-gdef.3042,3044,3046,73E0,5EA6,8F38.ttf | Bin 2948 -> 2944 bytes - .../Mplus1p-Regular.keep-gdef.61,63,65,6B.ttf | Bin 2324 -> 2320 bytes - ...lar.keep-gdef.660E,6975,73E0,5EA6,8F38,6E05.ttf | Bin 3244 -> 3240 bytes - .../japanese/Mplus1p-Regular.keep-gdef.660E.ttf | Bin 1984 -> 1980 bytes - ...text1_multiple_subrules_f1.default.41,42,43.otf | Bin 1328 -> 1340 bytes - ...context1_multiple_subrules_f1.default.41,42.otf | Bin 1228 -> 1240 bytes - ...context1_multiple_subrules_f1.default.41,43.otf | Bin 1332 -> 1348 bytes - ...os_context1_multiple_subrules_f1.default.41.otf | Bin 1216 -> 1228 bytes - ...le_subrules_f1.default.retain-all-codepoint.otf | Bin 3700 -> 3912 bytes - ...1_multiple_subrules_f1.retain-gids.41,42,43.otf | Bin 2028 -> 2052 bytes - ...ext1_multiple_subrules_f1.retain-gids.41,42.otf | Bin 1932 -> 1948 bytes - ...ext1_multiple_subrules_f1.retain-gids.41,43.otf | Bin 2048 -> 2068 bytes - ...ontext1_multiple_subrules_f1.retain-gids.41.otf | Bin 1916 -> 1932 bytes - ...ubrules_f1.retain-gids.retain-all-codepoint.otf | Bin 3700 -> 3912 bytes - ...text2_multiple_subrules_f1.default.41,42,43.otf | Bin 1328 -> 1340 bytes - ...context2_multiple_subrules_f1.default.41,42.otf | Bin 1228 -> 1240 bytes - ...context2_multiple_subrules_f1.default.41,43.otf | Bin 1332 -> 1348 bytes - ...os_context2_multiple_subrules_f1.default.41.otf | Bin 1216 -> 1228 bytes - ...le_subrules_f1.default.retain-all-codepoint.otf | Bin 3700 -> 3912 bytes - ...2_multiple_subrules_f1.retain-gids.41,42,43.otf | Bin 2028 -> 2052 bytes - ...ext2_multiple_subrules_f1.retain-gids.41,42.otf | Bin 1932 -> 1948 bytes - ...ext2_multiple_subrules_f1.retain-gids.41,43.otf | Bin 2048 -> 2068 bytes - ...ontext2_multiple_subrules_f1.retain-gids.41.otf | Bin 1916 -> 1932 bytes - ...ubrules_f1.retain-gids.retain-all-codepoint.otf | Bin 3700 -> 3912 bytes - .../gpos_context3_simple_f1.default.41,42,43.otf | Bin 1308 -> 1320 bytes - .../gpos_context3_simple_f1.default.41,42.otf | Bin 1208 -> 1220 bytes - .../gpos_context3_simple_f1.default.41,43.otf | Bin 1312 -> 1328 bytes - .../gpos_context3_simple_f1.default.41.otf | Bin 1196 -> 1208 bytes - ...ext3_simple_f1.default.retain-all-codepoint.otf | Bin 3680 -> 3892 bytes - ...pos_context3_simple_f1.retain-gids.41,42,43.otf | Bin 2008 -> 2032 bytes - .../gpos_context3_simple_f1.retain-gids.41,42.otf | Bin 1912 -> 1928 bytes - .../gpos_context3_simple_f1.retain-gids.41,43.otf | Bin 2028 -> 2048 bytes - .../gpos_context3_simple_f1.retain-gids.41.otf | Bin 1896 -> 1912 bytes - ..._simple_f1.retain-gids.retain-all-codepoint.otf | Bin 3680 -> 3892 bytes - .../IndicTestJalandhar-Regular.default.A01.ttf | Bin 4176 -> 4172 bytes - .../IndicTestJalandhar-Regular.default.A05,A06.ttf | Bin 4752 -> 4748 bytes - .../IndicTestJalandhar-Regular.default.A07,A1B.ttf | Bin 4724 -> 4720 bytes - ...andhar-Regular.default.retain-all-codepoint.ttf | Bin 49244 -> 49248 bytes - .../IndicTestJalandhar-Regular.drop-hints.A01.ttf | Bin 1036 -> 1032 bytes - ...dicTestJalandhar-Regular.drop-hints.A05,A06.ttf | Bin 1344 -> 1340 bytes - ...dicTestJalandhar-Regular.drop-hints.A07,A1B.ttf | Bin 1344 -> 1340 bytes - ...har-Regular.drop-hints.retain-all-codepoint.ttf | Bin 29464 -> 29468 bytes - .../IndicTestJalandhar-Regular.keep-gdef.A01.ttf | Bin 4176 -> 4172 bytes - ...ndicTestJalandhar-Regular.keep-gdef.A05,A06.ttf | Bin 4752 -> 4748 bytes - ...ndicTestJalandhar-Regular.keep-gdef.A07,A1B.ttf | Bin 4724 -> 4720 bytes - ...dhar-Regular.keep-gdef.retain-all-codepoint.ttf | Bin 49244 -> 49248 bytes - .../AdobeVFPrototype.default.41,42,43,57.otf | Bin 5440 -> 5460 bytes - .../AdobeVFPrototype.default.41,42,43.otf | Bin 4908 -> 4928 bytes - .../AdobeVFPrototype.default.41,42.otf | Bin 4432 -> 4448 bytes - .../AdobeVFPrototype.default.41,56,57.otf | Bin 4576 -> 4596 bytes - .../AdobeVFPrototype.default.41.otf | Bin 3728 -> 3748 bytes - .../AdobeVFPrototype.default.42,57.otf | Bin 4564 -> 4580 bytes - .../AdobeVFPrototype.drop-hints.41,42,43,57.otf | Bin 5252 -> 5272 bytes - .../AdobeVFPrototype.drop-hints.41,42,43.otf | Bin 4720 -> 4740 bytes - .../AdobeVFPrototype.drop-hints.41,42.otf | Bin 4244 -> 4264 bytes - .../AdobeVFPrototype.drop-hints.41,56,57.otf | Bin 4384 -> 4408 bytes - .../AdobeVFPrototype.drop-hints.41.otf | Bin 3540 -> 3560 bytes - .../AdobeVFPrototype.drop-hints.42,57.otf | Bin 4376 -> 4396 bytes - ...AdobeVFPrototype.keep-gdef-gpos.41,42,43,57.otf | Bin 5440 -> 5460 bytes - .../AdobeVFPrototype.keep-gdef-gpos.41,42,43.otf | Bin 4908 -> 4928 bytes - .../AdobeVFPrototype.keep-gdef-gpos.41,42.otf | Bin 4432 -> 4448 bytes - .../AdobeVFPrototype.keep-gdef-gpos.41,56,57.otf | Bin 4576 -> 4596 bytes - .../AdobeVFPrototype.keep-gdef-gpos.41.otf | Bin 3728 -> 3748 bytes - .../AdobeVFPrototype.keep-gdef-gpos.42,57.otf | Bin 4564 -> 4580 bytes - .../Roboto-Regular.default.1E00,303.ttf | Bin 2524 -> 2520 bytes - .../layout.gdef/Roboto-Regular.default.303.ttf | Bin 2116 -> 2112 bytes - .../Roboto-Regular.default.309,20,30F.ttf | Bin 2212 -> 2208 bytes - .../layout.gdef/Roboto-Regular.default.323.ttf | Bin 2008 -> 2004 bytes - .../Roboto-Regular.default.41,42,43.ttf | Bin 2572 -> 2568 bytes - .../Roboto-Regular.drop-hints.1E00,303.ttf | Bin 1380 -> 1376 bytes - .../layout.gdef/Roboto-Regular.drop-hints.303.ttf | Bin 1112 -> 1108 bytes - .../Roboto-Regular.drop-hints.309,20,30F.ttf | Bin 1172 -> 1168 bytes - .../layout.gdef/Roboto-Regular.drop-hints.323.ttf | Bin 1056 -> 1052 bytes - .../Roboto-Regular.drop-hints.41,42,43.ttf | Bin 1388 -> 1384 bytes - .../Roboto-Regular.keep-gdef-gpos.1E00,303.ttf | Bin 2524 -> 2520 bytes - .../Roboto-Regular.keep-gdef-gpos.303.ttf | Bin 2116 -> 2112 bytes - .../Roboto-Regular.keep-gdef-gpos.309,20,30F.ttf | Bin 2212 -> 2208 bytes - .../Roboto-Regular.keep-gdef-gpos.323.ttf | Bin 2008 -> 2004 bytes - .../Roboto-Regular.keep-gdef-gpos.41,42,43.ttf | Bin 2572 -> 2568 bytes - .../layout.gpos/gpos1_2_font.default.41,43.otf | Bin 1292 -> 1308 bytes - .../layout.gpos/gpos1_2_font.default.41,46.otf | Bin 1424 -> 1436 bytes - .../layout.gpos/gpos1_2_font.default.41.otf | Bin 1176 -> 1188 bytes - .../layout.gpos/gpos1_2_font.default.42,44.otf | Bin 1268 -> 1280 bytes - .../layout.gpos/gpos1_2_font.default.43,46.otf | Bin 1288 -> 1300 bytes - .../gpos1_2_font.default.retain-all-codepoint.otf | Bin 3604 -> 3816 bytes - .../layout.gpos/gpos1_2_font.retain-gids.41,43.otf | Bin 2008 -> 2028 bytes - .../layout.gpos/gpos1_2_font.retain-gids.41,46.otf | Bin 2172 -> 2188 bytes - .../layout.gpos/gpos1_2_font.retain-gids.41.otf | Bin 1876 -> 1892 bytes - .../layout.gpos/gpos1_2_font.retain-gids.42,44.otf | Bin 1992 -> 2012 bytes - .../layout.gpos/gpos1_2_font.retain-gids.43,46.otf | Bin 2036 -> 2052 bytes - ...os1_2_font.retain-gids.retain-all-codepoint.otf | Bin 3604 -> 3816 bytes - .../gpos2_1_font7.default.21,23,25.otf | Bin 1360 -> 1372 bytes - .../layout.gpos2/gpos2_1_font7.default.21,23.otf | Bin 1240 -> 1252 bytes - .../layout.gpos2/gpos2_1_font7.default.2E,23.otf | Bin 1508 -> 1524 bytes - .../gpos2_1_font7.default.41,42,43.otf | Bin 1288 -> 1300 bytes - .../gpos2_1_font7.default.retain-all-codepoint.otf | Bin 3604 -> 3816 bytes - .../gpos2_1_font7.retain-gids.21,23,25.otf | Bin 1696 -> 1716 bytes - .../gpos2_1_font7.retain-gids.21,23.otf | Bin 1564 -> 1580 bytes - .../gpos2_1_font7.retain-gids.2E,23.otf | Bin 1944 -> 1960 bytes - .../gpos2_1_font7.retain-gids.41,42,43.otf | Bin 1988 -> 2012 bytes - ...s2_1_font7.retain-gids.retain-all-codepoint.otf | Bin 3604 -> 3816 bytes - .../gpos2_2_font5.default.21,23,25.otf | Bin 1360 -> 1372 bytes - .../layout.gpos2/gpos2_2_font5.default.21,23.otf | Bin 1240 -> 1252 bytes - .../layout.gpos2/gpos2_2_font5.default.2E,23.otf | Bin 1508 -> 1524 bytes - .../gpos2_2_font5.default.41,42,43.otf | Bin 1288 -> 1300 bytes - .../gpos2_2_font5.default.retain-all-codepoint.otf | Bin 3604 -> 3816 bytes - .../gpos2_2_font5.retain-gids.21,23,25.otf | Bin 1696 -> 1716 bytes - .../gpos2_2_font5.retain-gids.21,23.otf | Bin 1564 -> 1580 bytes - .../gpos2_2_font5.retain-gids.2E,23.otf | Bin 1944 -> 1960 bytes - .../gpos2_2_font5.retain-gids.41,42,43.otf | Bin 1988 -> 2012 bytes - ...s2_2_font5.retain-gids.retain-all-codepoint.otf | Bin 3604 -> 3816 bytes - .../layout.gpos3/gpos3_font3.default.28,29.otf | Bin 1248 -> 1260 bytes - .../layout.gpos3/gpos3_font3.default.28,2B.otf | Bin 1376 -> 1392 bytes - .../layout.gpos3/gpos3_font3.default.29,2B.otf | Bin 1292 -> 1304 bytes - .../layout.gpos3/gpos3_font3.default.41,42,43.otf | Bin 1284 -> 1296 bytes - .../gpos3_font3.default.retain-all-codepoint.otf | Bin 3636 -> 3848 bytes - .../layout.gpos3/gpos3_font3.retain-gids.28,29.otf | Bin 1632 -> 1652 bytes - .../layout.gpos3/gpos3_font3.retain-gids.28,2B.otf | Bin 1780 -> 1800 bytes - .../layout.gpos3/gpos3_font3.retain-gids.29,2B.otf | Bin 1696 -> 1712 bytes - .../gpos3_font3.retain-gids.41,42,43.otf | Bin 1984 -> 2008 bytes - ...pos3_font3.retain-gids.retain-all-codepoint.otf | Bin 3636 -> 3848 bytes - ...pos4_multiple_anchors_1.default.41,42,43,44.otf | Bin 1516 -> 1528 bytes - ...pos4_multiple_anchors_1.default.41,42,43,45.otf | Bin 1524 -> 1536 bytes - .../gpos4_multiple_anchors_1.default.41,42,43.otf | Bin 1308 -> 1320 bytes - .../gpos4_multiple_anchors_1.default.41,42.otf | Bin 1208 -> 1220 bytes - ...4_multiple_anchors_1.default.41,43,44,45,46.otf | Bin 1864 -> 1880 bytes - .../gpos4_multiple_anchors_1.default.41,43,44.otf | Bin 1524 -> 1540 bytes - .../gpos4_multiple_anchors_1.default.41,43,45.otf | Bin 1532 -> 1548 bytes - .../gpos4_multiple_anchors_1.default.41,43.otf | Bin 1312 -> 1328 bytes - .../gpos4_multiple_anchors_1.default.41.otf | Bin 1196 -> 1208 bytes - ...iple_anchors_1.default.retain-all-codepoint.otf | Bin 3668 -> 3880 bytes - ..._multiple_anchors_1.retain-gids.41,42,43,44.otf | Bin 2220 -> 2244 bytes - ..._multiple_anchors_1.retain-gids.41,42,43,45.otf | Bin 2244 -> 2268 bytes - ...os4_multiple_anchors_1.retain-gids.41,42,43.otf | Bin 2008 -> 2032 bytes - .../gpos4_multiple_anchors_1.retain-gids.41,42.otf | Bin 1912 -> 1928 bytes - ...ltiple_anchors_1.retain-gids.41,43,44,45,46.otf | Bin 2584 -> 2608 bytes - ...os4_multiple_anchors_1.retain-gids.41,43,44.otf | Bin 2240 -> 2264 bytes - ...os4_multiple_anchors_1.retain-gids.41,43,45.otf | Bin 2260 -> 2284 bytes - .../gpos4_multiple_anchors_1.retain-gids.41,43.otf | Bin 2028 -> 2048 bytes - .../gpos4_multiple_anchors_1.retain-gids.41.otf | Bin 1896 -> 1912 bytes - ..._anchors_1.retain-gids.retain-all-codepoint.otf | Bin 3668 -> 3880 bytes - .../gpos5_font1.default.41,42,43,44.otf | Bin 1536 -> 1544 bytes - .../gpos5_font1.default.41,42,43,45.otf | Bin 1544 -> 1552 bytes - .../layout.gpos5/gpos5_font1.default.41,42,43.otf | Bin 1328 -> 1336 bytes - .../layout.gpos5/gpos5_font1.default.41,42,44.otf | Bin 1460 -> 1468 bytes - .../layout.gpos5/gpos5_font1.default.41,42,45.otf | Bin 1448 -> 1456 bytes - .../layout.gpos5/gpos5_font1.default.41,42.otf | Bin 1228 -> 1236 bytes - .../layout.gpos5/gpos5_font1.default.41,43.otf | Bin 1332 -> 1344 bytes - .../layout.gpos5/gpos5_font1.default.41.otf | Bin 1216 -> 1224 bytes - .../layout.gpos5/gpos5_font1.default.42.otf | Bin 1076 -> 1084 bytes - .../gpos5_font1.default.retain-all-codepoint.otf | Bin 3688 -> 3896 bytes - .../gpos5_font1.retain-gids.41,42,43,44.otf | Bin 2240 -> 2260 bytes - .../gpos5_font1.retain-gids.41,42,43,45.otf | Bin 2264 -> 2284 bytes - .../gpos5_font1.retain-gids.41,42,43.otf | Bin 2028 -> 2048 bytes - .../gpos5_font1.retain-gids.41,42,44.otf | Bin 2176 -> 2192 bytes - .../gpos5_font1.retain-gids.41,42,45.otf | Bin 2172 -> 2192 bytes - .../layout.gpos5/gpos5_font1.retain-gids.41,42.otf | Bin 1932 -> 1944 bytes - .../layout.gpos5/gpos5_font1.retain-gids.41,43.otf | Bin 2048 -> 2064 bytes - .../layout.gpos5/gpos5_font1.retain-gids.41.otf | Bin 1916 -> 1928 bytes - .../layout.gpos5/gpos5_font1.retain-gids.42.otf | Bin 1788 -> 1800 bytes - ...pos5_font1.retain-gids.retain-all-codepoint.otf | Bin 3688 -> 3896 bytes - .../gpos6_font1.default.41,42,43,44.otf | Bin 1492 -> 1504 bytes - .../gpos6_font1.default.41,42,43,45.otf | Bin 1500 -> 1512 bytes - .../layout.gpos6/gpos6_font1.default.41,42,43.otf | Bin 1284 -> 1296 bytes - .../layout.gpos6/gpos6_font1.default.41,42.otf | Bin 1184 -> 1196 bytes - .../gpos6_font1.default.41,43,44,45,46.otf | Bin 1840 -> 1856 bytes - .../layout.gpos6/gpos6_font1.default.41,43,44.otf | Bin 1500 -> 1516 bytes - .../layout.gpos6/gpos6_font1.default.41,43,45.otf | Bin 1508 -> 1524 bytes - .../layout.gpos6/gpos6_font1.default.41,43.otf | Bin 1288 -> 1304 bytes - .../layout.gpos6/gpos6_font1.default.41.otf | Bin 1172 -> 1184 bytes - .../gpos6_font1.default.retain-all-codepoint.otf | Bin 3644 -> 3856 bytes - .../gpos6_font1.retain-gids.41,42,43,44.otf | Bin 2196 -> 2220 bytes - .../gpos6_font1.retain-gids.41,42,43,45.otf | Bin 2220 -> 2244 bytes - .../gpos6_font1.retain-gids.41,42,43.otf | Bin 1984 -> 2008 bytes - .../layout.gpos6/gpos6_font1.retain-gids.41,42.otf | Bin 1888 -> 1904 bytes - .../gpos6_font1.retain-gids.41,43,44,45,46.otf | Bin 2560 -> 2584 bytes - .../gpos6_font1.retain-gids.41,43,44.otf | Bin 2216 -> 2240 bytes - .../gpos6_font1.retain-gids.41,43,45.otf | Bin 2236 -> 2260 bytes - .../layout.gpos6/gpos6_font1.retain-gids.41,43.otf | Bin 2004 -> 2024 bytes - .../layout.gpos6/gpos6_font1.retain-gids.41.otf | Bin 1872 -> 1888 bytes - ...pos6_font1.retain-gids.retain-all-codepoint.otf | Bin 3644 -> 3856 bytes - ...ular.default.627,644,623,62D,644,627,645,2E.ttf | Bin 12684 -> 12684 bytes - .../Amiri-Regular.default.627,644,62D,628.ttf | Bin 9992 -> 9992 bytes - .../Amiri-Regular.default.627,644.ttf | Bin 4168 -> 4168 bytes - ...-Regular.default.633,645,627,621,20,644,627.ttf | Bin 9516 -> 9516 bytes - .../Amiri-Regular.default.63A,64A,631.ttf | Bin 7324 -> 7324 bytes - ....retain-gids.627,644,623,62D,644,627,645,2E.ttf | Bin 48012 -> 48012 bytes - .../Amiri-Regular.retain-gids.627,644,62D,628.ttf | Bin 42640 -> 42640 bytes - .../Amiri-Regular.retain-gids.627,644.ttf | Bin 36696 -> 36696 bytes - ...ular.retain-gids.633,645,627,621,20,644,627.ttf | Bin 45908 -> 45908 bytes - .../Amiri-Regular.retain-gids.63A,64A,631.ttf | Bin 37988 -> 37988 bytes - ...g1_multiple_subrules_f1.default.30,31,32,33.otf | Bin 1840 -> 1856 bytes - ...ning1_multiple_subrules_f1.default.41,42,43.otf | Bin 1332 -> 1344 bytes - ...le_subrules_f1.default.retain-all-codepoint.otf | Bin 3704 -> 3916 bytes - ...ultiple_subrules_f1.retain-gids.30,31,32,33.otf | Bin 2304 -> 2328 bytes - ...1_multiple_subrules_f1.retain-gids.41,42,43.otf | Bin 2032 -> 2056 bytes - ...ubrules_f1.retain-gids.retain-all-codepoint.otf | Bin 3704 -> 3916 bytes - ...g2_multiple_subrules_f1.default.30,31,32,33.otf | Bin 1840 -> 1856 bytes - ...ning2_multiple_subrules_f1.default.41,42,43.otf | Bin 1332 -> 1344 bytes - ...le_subrules_f1.default.retain-all-codepoint.otf | Bin 3704 -> 3916 bytes - ...ultiple_subrules_f1.retain-gids.30,31,32,33.otf | Bin 2304 -> 2328 bytes - ...2_multiple_subrules_f1.retain-gids.41,42,43.otf | Bin 2032 -> 2056 bytes - ...ubrules_f1.retain-gids.retain-all-codepoint.otf | Bin 3704 -> 3916 bytes - ...pos_chaining3_simple_f1.default.30,31,32,33.otf | Bin 1816 -> 1832 bytes - .../gpos_chaining3_simple_f1.default.41,42,43.otf | Bin 1308 -> 1320 bytes - ...ing3_simple_f1.default.retain-all-codepoint.otf | Bin 3680 -> 3892 bytes - ...chaining3_simple_f1.retain-gids.30,31,32,33.otf | Bin 2280 -> 2304 bytes - ...os_chaining3_simple_f1.retain-gids.41,42,43.otf | Bin 2008 -> 2032 bytes - ..._simple_f1.retain-gids.retain-all-codepoint.otf | Bin 3680 -> 3892 bytes - .../layout.gpos9/gpos9_font2.default.41,42.otf | Bin 1184 -> 1196 bytes - .../layout.gpos9/gpos9_font2.default.41.otf | Bin 1172 -> 1184 bytes - .../layout.gpos9/gpos9_font2.default.42.otf | Bin 1032 -> 1044 bytes - .../layout.gpos9/gpos9_font2.retain-gids.41,42.otf | Bin 1888 -> 1904 bytes - .../layout.gpos9/gpos9_font2.retain-gids.41.otf | Bin 1872 -> 1888 bytes - .../layout.gpos9/gpos9_font2.retain-gids.42.otf | Bin 1744 -> 1760 bytes - ...ub_alternate_substitution.default.53A9,53F1.otf | Bin 4348 -> 4372 bytes - .../gsub_alternate_substitution.default.53A9.otf | Bin 3904 -> 3928 bytes - .../gsub_alternate_substitution.default.53F1.otf | Bin 2452 -> 2484 bytes - ...e_substitution.default.retain-all-codepoint.otf | Bin 6040 -> 6064 bytes - ...lternate_substitution.retain-gids.53A9,53F1.otf | Bin 4472 -> 4496 bytes - ...sub_alternate_substitution.retain-gids.53A9.otf | Bin 4056 -> 4080 bytes - ...sub_alternate_substitution.retain-gids.53F1.otf | Bin 2648 -> 2676 bytes - ...bstitution.retain-gids.retain-all-codepoint.otf | Bin 6132 -> 6156 bytes - ...text1_multiple_subrules_f2.default.41,42,43.otf | Bin 1340 -> 1352 bytes - ...context1_multiple_subrules_f2.default.41,42.otf | Bin 1240 -> 1252 bytes - ...context1_multiple_subrules_f2.default.41,43.otf | Bin 1344 -> 1360 bytes - ...ub_context1_multiple_subrules_f2.default.41.otf | Bin 1228 -> 1240 bytes - ...le_subrules_f2.default.retain-all-codepoint.otf | Bin 3712 -> 3924 bytes - ...1_multiple_subrules_f2.retain-gids.41,42,43.otf | Bin 2040 -> 2064 bytes - ...ext1_multiple_subrules_f2.retain-gids.41,42.otf | Bin 1944 -> 1960 bytes - ...ext1_multiple_subrules_f2.retain-gids.41,43.otf | Bin 2060 -> 2080 bytes - ...ontext1_multiple_subrules_f2.retain-gids.41.otf | Bin 1928 -> 1944 bytes - ...ubrules_f2.retain-gids.retain-all-codepoint.otf | Bin 3712 -> 3924 bytes - ...text2_multiple_subrules_f2.default.41,42,43.otf | Bin 1340 -> 1352 bytes - ...context2_multiple_subrules_f2.default.41,42.otf | Bin 1240 -> 1252 bytes - ...context2_multiple_subrules_f2.default.41,43.otf | Bin 1344 -> 1360 bytes - ...ub_context2_multiple_subrules_f2.default.41.otf | Bin 1228 -> 1240 bytes - ...le_subrules_f2.default.retain-all-codepoint.otf | Bin 3712 -> 3924 bytes - ...2_multiple_subrules_f2.retain-gids.41,42,43.otf | Bin 2040 -> 2064 bytes - ...ext2_multiple_subrules_f2.retain-gids.41,42.otf | Bin 1944 -> 1960 bytes - ...ext2_multiple_subrules_f2.retain-gids.41,43.otf | Bin 2060 -> 2080 bytes - ...ontext2_multiple_subrules_f2.retain-gids.41.otf | Bin 1928 -> 1944 bytes - ...ubrules_f2.retain-gids.retain-all-codepoint.otf | Bin 3712 -> 3924 bytes - ...sub_context3_successive_f1.default.41,42,43.otf | Bin 1328 -> 1340 bytes - .../gsub_context3_successive_f1.default.41,42.otf | Bin 1228 -> 1240 bytes - .../gsub_context3_successive_f1.default.41,43.otf | Bin 1332 -> 1348 bytes - .../gsub_context3_successive_f1.default.41.otf | Bin 1216 -> 1228 bytes - ..._successive_f1.default.retain-all-codepoint.otf | Bin 3700 -> 3912 bytes - ...context3_successive_f1.retain-gids.41,42,43.otf | Bin 2028 -> 2052 bytes - ...ub_context3_successive_f1.retain-gids.41,42.otf | Bin 1932 -> 1948 bytes - ...ub_context3_successive_f1.retain-gids.41,43.otf | Bin 2048 -> 2068 bytes - .../gsub_context3_successive_f1.retain-gids.41.otf | Bin 1916 -> 1932 bytes - ...cessive_f1.retain-gids.retain-all-codepoint.otf | Bin 3700 -> 3912 bytes - ...g1_multiple_subrules_f1.default.30,31,32,33.otf | Bin 1852 -> 1868 bytes - ...ning1_multiple_subrules_f1.default.41,42,43.otf | Bin 1344 -> 1356 bytes - ...le_subrules_f1.default.retain-all-codepoint.otf | Bin 3716 -> 3928 bytes - ...ultiple_subrules_f1.retain-gids.30,31,32,33.otf | Bin 2316 -> 2340 bytes - ...1_multiple_subrules_f1.retain-gids.41,42,43.otf | Bin 2044 -> 2068 bytes - ...ubrules_f1.retain-gids.retain-all-codepoint.otf | Bin 3716 -> 3928 bytes - ...g2_multiple_subrules_f1.default.30,31,32,33.otf | Bin 1852 -> 1868 bytes - ...ning2_multiple_subrules_f1.default.41,42,43.otf | Bin 1344 -> 1356 bytes - ...le_subrules_f1.default.retain-all-codepoint.otf | Bin 3716 -> 3928 bytes - ...ultiple_subrules_f1.retain-gids.30,31,32,33.otf | Bin 2316 -> 2340 bytes - ...2_multiple_subrules_f1.retain-gids.41,42,43.otf | Bin 2044 -> 2068 bytes - ...ubrules_f1.retain-gids.retain-all-codepoint.otf | Bin 3716 -> 3928 bytes - ...sub_chaining3_simple_f2.default.30,31,32,33.otf | Bin 1828 -> 1844 bytes - .../gsub_chaining3_simple_f2.default.41,42,43.otf | Bin 1320 -> 1332 bytes - ...ing3_simple_f2.default.retain-all-codepoint.otf | Bin 3692 -> 3904 bytes - ...chaining3_simple_f2.retain-gids.30,31,32,33.otf | Bin 2292 -> 2316 bytes - ...ub_chaining3_simple_f2.retain-gids.41,42,43.otf | Bin 2020 -> 2044 bytes - ..._simple_f2.retain-gids.retain-all-codepoint.otf | Bin 3692 -> 3904 bytes - ..._created.default.41,42,43,44,45,46,47,48,49.otf | Bin 2176 -> 2188 bytes - ...nually_created.default.41,42,43,44,45,46,47.otf | Bin 1888 -> 1904 bytes - ...nually_created.default.41,42,43,44,45,46,4D.otf | Bin 1852 -> 1868 bytes - ...nually_created.default.41,42,43,44,45,46,51.otf | Bin 1932 -> 1948 bytes - ..._manually_created.default.41,42,43,44,45,46.otf | Bin 1832 -> 1844 bytes - .../gsub8_manually_created.default.41,42,43.otf | Bin 1284 -> 1296 bytes - .../gsub8_manually_created.default.41.otf | Bin 1172 -> 1184 bytes - .../gsub8_manually_created.default.61.otf | Bin 1224 -> 1236 bytes - ...nually_created.default.retain-all-codepoint.otf | Bin 3656 -> 3868 bytes - ...ated.retain-gids.41,42,43,44,45,46,47,48,49.otf | Bin 2884 -> 2916 bytes - ...ly_created.retain-gids.41,42,43,44,45,46,47.otf | Bin 2596 -> 2624 bytes - ...ly_created.retain-gids.41,42,43,44,45,46,4D.otf | Bin 2636 -> 2668 bytes - ...ly_created.retain-gids.41,42,43,44,45,46,51.otf | Bin 2760 -> 2792 bytes - ...ually_created.retain-gids.41,42,43,44,45,46.otf | Bin 2540 -> 2564 bytes - ...gsub8_manually_created.retain-gids.41,42,43.otf | Bin 1984 -> 2008 bytes - .../gsub8_manually_created.retain-gids.41.otf | Bin 1872 -> 1888 bytes - .../gsub8_manually_created.retain-gids.61.otf | Bin 2276 -> 2292 bytes - ...ly_created.retain-gids.retain-all-codepoint.otf | Bin 3656 -> 3868 bytes - .../expected/layout.khmer/Khmer.default.1780.ttf | Bin 4204 -> 4200 bytes - ...ult.1789,17BB,17C6,1794,17B6,1793,1798,17BE.ttf | Bin 6412 -> 6408 bytes - .../expected/layout.khmer/Khmer.default.31.ttf | Bin 4140 -> 4136 bytes - .../layout.khmer/Khmer.retain-gids.1780.ttf | Bin 4464 -> 4460 bytes - ...ids.1789,17BB,17C6,1794,17B6,1793,1798,17BE.ttf | Bin 7848 -> 7844 bytes - .../expected/layout.khmer/Khmer.retain-gids.31.ttf | Bin 4256 -> 4252 bytes - ...Bold.default.627,644,623,62D,644,627,645,2E.ttf | Bin 11396 -> 11388 bytes - ...toNastaliqUrdu-Bold.default.627,644,62D,628.ttf | Bin 18248 -> 17688 bytes - .../NotoNastaliqUrdu-Bold.default.627,644.ttf | Bin 3528 -> 3520 bytes - ...rdu-Bold.default.633,645,627,621,20,644,627.ttf | Bin 12368 -> 12380 bytes - .../NotoNastaliqUrdu-Bold.default.63A,64A,631.ttf | Bin 20368 -> 19380 bytes - ....retain-gids.627,644,623,62D,644,627,645,2E.ttf | Bin 18232 -> 18224 bytes - ...staliqUrdu-Bold.retain-gids.627,644,62D,628.ttf | Bin 24376 -> 23748 bytes - .../NotoNastaliqUrdu-Bold.retain-gids.627,644.ttf | Bin 9176 -> 9164 bytes - ...Bold.retain-gids.633,645,627,621,20,644,627.ttf | Bin 18172 -> 18184 bytes - ...toNastaliqUrdu-Bold.retain-gids.63A,64A,631.ttf | Bin 26588 -> 25432 bytes - .../Roboto-Regular.smallcaps.default.41,42,43.ttf | Bin 2464 -> 2460 bytes - .../Roboto-Regular.smallcaps.default.41,43.ttf | Bin 2284 -> 2280 bytes - .../layout/Roboto-Regular.smallcaps.default.41.ttf | Bin 2084 -> 2080 bytes - .../layout/Roboto-Regular.smallcaps.default.43.ttf | Bin 2116 -> 2112 bytes - .../Roboto-Regular.smallcaps.default.CA,CB.ttf | Bin 2388 -> 2384 bytes - ...boto-Regular.smallcaps.retain-gids.41,42,43.ttf | Bin 2716 -> 2712 bytes - .../Roboto-Regular.smallcaps.retain-gids.41,43.ttf | Bin 2548 -> 2544 bytes - .../Roboto-Regular.smallcaps.retain-gids.41.ttf | Bin 2336 -> 2332 bytes - .../Roboto-Regular.smallcaps.retain-gids.43.ttf | Bin 2384 -> 2380 bytes - .../Roboto-Regular.smallcaps.retain-gids.CA,CB.ttf | Bin 6476 -> 6472 bytes - .../data/expected/sbix/sbix.default.58,59.ttf | Bin 193528 -> 193528 bytes - test/subset/data/expected/sbix/sbix.default.58.ttf | Bin 121168 -> 121168 bytes - test/subset/data/expected/sbix/sbix.default.59.ttf | Bin 89364 -> 89364 bytes - .../sbix/sbix.drop-hints-retain-gids.58,59.ttf | Bin 193528 -> 193528 bytes - .../sbix/sbix.drop-hints-retain-gids.58.ttf | Bin 121168 -> 121168 bytes - .../sbix/sbix.drop-hints-retain-gids.59.ttf | Bin 89404 -> 89404 bytes - .../data/expected/sbix/sbix.drop-hints.58,59.ttf | Bin 193528 -> 193528 bytes - .../data/expected/sbix/sbix.drop-hints.58.ttf | Bin 121168 -> 121168 bytes - .../data/expected/sbix/sbix.drop-hints.59.ttf | Bin 89364 -> 89364 bytes - .../data/expected/sbix/sbix.retain-gids.58,59.ttf | Bin 193528 -> 193528 bytes - .../data/expected/sbix/sbix.retain-gids.58.ttf | Bin 121168 -> 121168 bytes - .../data/expected/sbix/sbix.retain-gids.59.ttf | Bin 89404 -> 89404 bytes - .../variable/Fraunces.default.26,66,69,124,125.ttf | Bin 15792 -> 15856 bytes - .../data/expected/variable/Fraunces.default.61.ttf | Bin 4228 -> 4232 bytes - test/subset/generate-expected-outputs.py | 54 +++++++++++++++++++-- - test/subset/run-tests.py | 12 ++++- - 948 files changed, 60 insertions(+), 6 deletions(-) - -commit 770fbd5aa66b8f557d45366ed51df5a0b26e9e4b -Author: Khaled Hosny -Date: Wed Aug 4 00:07:23 2021 +0200 - - Revert "[test] Speed-up subset tests by saving TTX dump" - - This reverts commit 278f44dcee34cea25403e42e06668f0afe2328c1. - - .../Comfortaa-Regular-new.default.61,62,63.ttf | Bin 0 -> 7060 bytes - .../Comfortaa-Regular-new.default.61,62,63.ttx | 4507 - - .../basics/Comfortaa-Regular-new.default.61,63.ttf | Bin 0 -> 6692 bytes - .../basics/Comfortaa-Regular-new.default.61,63.ttx | 4359 - - .../basics/Comfortaa-Regular-new.default.61.ttf | Bin 0 -> 6328 bytes - .../basics/Comfortaa-Regular-new.default.61.ttx | 4198 - - .../basics/Comfortaa-Regular-new.default.62.ttf | Bin 0 -> 6200 bytes - .../basics/Comfortaa-Regular-new.default.62.ttx | 4151 - - .../basics/Comfortaa-Regular-new.default.63.ttf | Bin 0 -> 6256 bytes - .../basics/Comfortaa-Regular-new.default.63.ttx | 4209 - - ...aa-Regular-new.default.retain-all-codepoint.ttf | Bin 0 -> 220928 bytes - ...aa-Regular-new.default.retain-all-codepoint.ttx | 132956 ----------------- - ...Regular-new.drop-hints-retain-gids.61,62,63.ttf | Bin 0 -> 4608 bytes - ...Regular-new.drop-hints-retain-gids.61,62,63.ttx | 1918 - - ...aa-Regular-new.drop-hints-retain-gids.61,63.ttf | Bin 0 -> 4312 bytes - ...aa-Regular-new.drop-hints-retain-gids.61,63.ttx | 1785 - - ...ortaa-Regular-new.drop-hints-retain-gids.61.ttf | Bin 0 -> 3724 bytes - ...ortaa-Regular-new.drop-hints-retain-gids.61.ttx | 1493 - - ...ortaa-Regular-new.drop-hints-retain-gids.62.ttf | Bin 0 -> 3900 bytes - ...ortaa-Regular-new.drop-hints-retain-gids.62.ttx | 1600 - - ...ortaa-Regular-new.drop-hints-retain-gids.63.ttf | Bin 0 -> 3972 bytes - ...ortaa-Regular-new.drop-hints-retain-gids.63.ttx | 1662 - - ...drop-hints-retain-gids.retain-all-codepoint.ttf | Bin 0 -> 189800 bytes - ...drop-hints-retain-gids.retain-all-codepoint.ttx | 122816 ---------------- - .../Comfortaa-Regular-new.drop-hints.61,62,63.ttf | Bin 0 -> 2600 bytes - .../Comfortaa-Regular-new.drop-hints.61,62,63.ttx | 813 - - .../Comfortaa-Regular-new.drop-hints.61,63.ttf | Bin 0 -> 2296 bytes - .../Comfortaa-Regular-new.drop-hints.61,63.ttx | 675 - - .../basics/Comfortaa-Regular-new.drop-hints.61.ttf | Bin 0 -> 1976 bytes - .../basics/Comfortaa-Regular-new.drop-hints.61.ttx | 523 - - .../basics/Comfortaa-Regular-new.drop-hints.62.ttf | Bin 0 -> 1900 bytes - .../basics/Comfortaa-Regular-new.drop-hints.62.ttx | 490 - - .../basics/Comfortaa-Regular-new.drop-hints.63.ttf | Bin 0 -> 1968 bytes - .../basics/Comfortaa-Regular-new.drop-hints.63.ttx | 547 - - ...Regular-new.drop-hints.retain-all-codepoint.ttf | Bin 0 -> 189756 bytes - ...Regular-new.drop-hints.retain-all-codepoint.ttx | 122806 ---------------- - .../basics/Comfortaa-Regular-new.gids.61,62,63.ttf | Bin 0 -> 7988 bytes - .../basics/Comfortaa-Regular-new.gids.61,62,63.ttx | 4929 - - .../basics/Comfortaa-Regular-new.gids.61,63.ttf | Bin 0 -> 7628 bytes - .../basics/Comfortaa-Regular-new.gids.61,63.ttx | 4778 - - .../basics/Comfortaa-Regular-new.gids.61.ttf | Bin 0 -> 7256 bytes - .../basics/Comfortaa-Regular-new.gids.61.ttx | 4614 - - .../basics/Comfortaa-Regular-new.gids.62.ttf | Bin 0 -> 7184 bytes - .../basics/Comfortaa-Regular-new.gids.62.ttx | 4606 - - .../basics/Comfortaa-Regular-new.gids.63.ttf | Bin 0 -> 7180 bytes - .../basics/Comfortaa-Regular-new.gids.63.ttx | 4623 - - ...ortaa-Regular-new.gids.retain-all-codepoint.ttf | Bin 0 -> 220928 bytes - ...ortaa-Regular-new.gids.retain-all-codepoint.ttx | 132956 ----------------- - .../Comfortaa-Regular-new.glyph-names.61,62,63.ttf | Bin 0 -> 7072 bytes - .../Comfortaa-Regular-new.glyph-names.61,62,63.ttx | 4519 - - .../Comfortaa-Regular-new.glyph-names.61,63.ttf | Bin 0 -> 6700 bytes - .../Comfortaa-Regular-new.glyph-names.61,63.ttx | 4371 - - .../Comfortaa-Regular-new.glyph-names.61.ttf | Bin 0 -> 6336 bytes - .../Comfortaa-Regular-new.glyph-names.61.ttx | 4210 - - .../Comfortaa-Regular-new.glyph-names.62.ttf | Bin 0 -> 6208 bytes - .../Comfortaa-Regular-new.glyph-names.62.ttx | 4163 - - .../Comfortaa-Regular-new.glyph-names.63.ttf | Bin 0 -> 6264 bytes - .../Comfortaa-Regular-new.glyph-names.63.ttx | 4221 - - ...egular-new.glyph-names.retain-all-codepoint.ttf | Bin 0 -> 227920 bytes - ...egular-new.glyph-names.retain-all-codepoint.ttx | 133598 ------------------ - ...gular-new.keep-all-layout-features.61,62,63.ttf | Bin 0 -> 7504 bytes - ...gular-new.keep-all-layout-features.61,62,63.ttx | 4670 - - ...-Regular-new.keep-all-layout-features.61,63.ttf | Bin 0 -> 7140 bytes - ...-Regular-new.keep-all-layout-features.61,63.ttx | 4519 - - ...taa-Regular-new.keep-all-layout-features.61.ttf | Bin 0 -> 6772 bytes - ...taa-Regular-new.keep-all-layout-features.61.ttx | 4355 - - ...taa-Regular-new.keep-all-layout-features.62.ttf | Bin 0 -> 6200 bytes - ...taa-Regular-new.keep-all-layout-features.62.ttx | 4151 - - ...taa-Regular-new.keep-all-layout-features.63.ttf | Bin 0 -> 6256 bytes - ...taa-Regular-new.keep-all-layout-features.63.ttx | 4209 - - ...ep-all-layout-features.retain-all-codepoint.ttf | Bin 0 -> 221620 bytes - ...ep-all-layout-features.retain-all-codepoint.ttx | 133303 ----------------- - ...fortaa-Regular-new.layout-features.61,62,63.ttf | Bin 0 -> 7060 bytes - ...fortaa-Regular-new.layout-features.61,62,63.ttx | 4507 - - ...Comfortaa-Regular-new.layout-features.61,63.ttf | Bin 0 -> 6692 bytes - ...Comfortaa-Regular-new.layout-features.61,63.ttx | 4359 - - .../Comfortaa-Regular-new.layout-features.61.ttf | Bin 0 -> 6328 bytes - .../Comfortaa-Regular-new.layout-features.61.ttx | 4198 - - .../Comfortaa-Regular-new.layout-features.62.ttf | Bin 0 -> 6200 bytes - .../Comfortaa-Regular-new.layout-features.62.ttx | 4151 - - .../Comfortaa-Regular-new.layout-features.63.ttf | Bin 0 -> 6256 bytes - .../Comfortaa-Regular-new.layout-features.63.ttx | 4209 - - ...ar-new.layout-features.retain-all-codepoint.ttf | Bin 0 -> 219124 bytes - ...ar-new.layout-features.retain-all-codepoint.ttx | 131168 ----------------- - .../Comfortaa-Regular-new.name-ids.61,62,63.ttf | Bin 0 -> 6800 bytes - .../Comfortaa-Regular-new.name-ids.61,62,63.ttx | 4495 - - .../Comfortaa-Regular-new.name-ids.61,63.ttf | Bin 0 -> 6432 bytes - .../Comfortaa-Regular-new.name-ids.61,63.ttx | 4347 - - .../basics/Comfortaa-Regular-new.name-ids.61.ttf | Bin 0 -> 6068 bytes - .../basics/Comfortaa-Regular-new.name-ids.61.ttx | 4186 - - .../basics/Comfortaa-Regular-new.name-ids.62.ttf | Bin 0 -> 5940 bytes - .../basics/Comfortaa-Regular-new.name-ids.62.ttx | 4139 - - .../basics/Comfortaa-Regular-new.name-ids.63.ttf | Bin 0 -> 5996 bytes - .../basics/Comfortaa-Regular-new.name-ids.63.ttx | 4197 - - ...a-Regular-new.name-ids.retain-all-codepoint.ttf | Bin 0 -> 220668 bytes - ...a-Regular-new.name-ids.retain-all-codepoint.ttx | 132944 ----------------- - ...mfortaa-Regular-new.name-languages.61,62,63.ttf | Bin 0 -> 7060 bytes - ...mfortaa-Regular-new.name-languages.61,62,63.ttx | 4507 - - .../Comfortaa-Regular-new.name-languages.61,63.ttf | Bin 0 -> 6692 bytes - .../Comfortaa-Regular-new.name-languages.61,63.ttx | 4359 - - .../Comfortaa-Regular-new.name-languages.61.ttf | Bin 0 -> 6328 bytes - .../Comfortaa-Regular-new.name-languages.61.ttx | 4198 - - .../Comfortaa-Regular-new.name-languages.62.ttf | Bin 0 -> 6200 bytes - .../Comfortaa-Regular-new.name-languages.62.ttx | 4151 - - .../Comfortaa-Regular-new.name-languages.63.ttf | Bin 0 -> 6256 bytes - .../Comfortaa-Regular-new.name-languages.63.ttx | 4209 - - ...lar-new.name-languages.retain-all-codepoint.ttf | Bin 0 -> 220928 bytes - ...lar-new.name-languages.retain-all-codepoint.ttx | 132956 ----------------- - .../Comfortaa-Regular-new.name-legacy.61,62,63.ttf | Bin 0 -> 7060 bytes - .../Comfortaa-Regular-new.name-legacy.61,62,63.ttx | 4507 - - .../Comfortaa-Regular-new.name-legacy.61,63.ttf | Bin 0 -> 6692 bytes - .../Comfortaa-Regular-new.name-legacy.61,63.ttx | 4359 - - .../Comfortaa-Regular-new.name-legacy.61.ttf | Bin 0 -> 6328 bytes - .../Comfortaa-Regular-new.name-legacy.61.ttx | 4198 - - .../Comfortaa-Regular-new.name-legacy.62.ttf | Bin 0 -> 6200 bytes - .../Comfortaa-Regular-new.name-legacy.62.ttx | 4151 - - .../Comfortaa-Regular-new.name-legacy.63.ttf | Bin 0 -> 6256 bytes - .../Comfortaa-Regular-new.name-legacy.63.ttx | 4209 - - ...egular-new.name-legacy.retain-all-codepoint.ttf | Bin 0 -> 220928 bytes - ...egular-new.name-legacy.retain-all-codepoint.ttx | 132956 ----------------- - ...egular-new.no-prune-unicode-ranges.61,62,63.ttf | Bin 0 -> 7060 bytes - ...egular-new.no-prune-unicode-ranges.61,62,63.ttx | 4507 - - ...a-Regular-new.no-prune-unicode-ranges.61,63.ttf | Bin 0 -> 6692 bytes - ...a-Regular-new.no-prune-unicode-ranges.61,63.ttx | 4359 - - ...rtaa-Regular-new.no-prune-unicode-ranges.61.ttf | Bin 0 -> 6328 bytes - ...rtaa-Regular-new.no-prune-unicode-ranges.61.ttx | 4198 - - ...rtaa-Regular-new.no-prune-unicode-ranges.62.ttf | Bin 0 -> 6200 bytes - ...rtaa-Regular-new.no-prune-unicode-ranges.62.ttx | 4151 - - ...rtaa-Regular-new.no-prune-unicode-ranges.63.ttf | Bin 0 -> 6256 bytes - ...rtaa-Regular-new.no-prune-unicode-ranges.63.ttx | 4209 - - ...o-prune-unicode-ranges.retain-all-codepoint.ttf | Bin 0 -> 220928 bytes - ...o-prune-unicode-ranges.retain-all-codepoint.ttx | 132956 ----------------- - ...mfortaa-Regular-new.notdef-outline.61,62,63.ttf | Bin 0 -> 7652 bytes - ...mfortaa-Regular-new.notdef-outline.61,62,63.ttx | 4758 - - .../Comfortaa-Regular-new.notdef-outline.61,63.ttf | Bin 0 -> 7284 bytes - .../Comfortaa-Regular-new.notdef-outline.61,63.ttx | 4610 - - .../Comfortaa-Regular-new.notdef-outline.61.ttf | Bin 0 -> 6920 bytes - .../Comfortaa-Regular-new.notdef-outline.61.ttx | 4449 - - .../Comfortaa-Regular-new.notdef-outline.62.ttf | Bin 0 -> 6796 bytes - .../Comfortaa-Regular-new.notdef-outline.62.ttx | 4402 - - .../Comfortaa-Regular-new.notdef-outline.63.ttf | Bin 0 -> 6844 bytes - .../Comfortaa-Regular-new.notdef-outline.63.ttx | 4460 - - ...lar-new.notdef-outline.retain-all-codepoint.ttf | Bin 0 -> 221524 bytes - ...lar-new.notdef-outline.retain-all-codepoint.ttx | 133207 ----------------- - .../Comfortaa-Regular-new.retain-gids.61,62,63.ttf | Bin 0 -> 9068 bytes - .../Comfortaa-Regular-new.retain-gids.61,62,63.ttx | 5612 - - .../Comfortaa-Regular-new.retain-gids.61,63.ttf | Bin 0 -> 8708 bytes - .../Comfortaa-Regular-new.retain-gids.61,63.ttx | 5469 - - .../Comfortaa-Regular-new.retain-gids.61.ttf | Bin 0 -> 8076 bytes - .../Comfortaa-Regular-new.retain-gids.61.ttx | 5168 - - .../Comfortaa-Regular-new.retain-gids.62.ttf | Bin 0 -> 8200 bytes - .../Comfortaa-Regular-new.retain-gids.62.ttx | 5261 - - .../Comfortaa-Regular-new.retain-gids.63.ttf | Bin 0 -> 8260 bytes - .../Comfortaa-Regular-new.retain-gids.63.ttx | 5324 - - ...egular-new.retain-gids.retain-all-codepoint.ttf | Bin 0 -> 220972 bytes - ...egular-new.retain-gids.retain-all-codepoint.ttx | 132966 ----------------- - ...numMyeongjo-Regular-subset.default.61,62,63.ttf | Bin 0 -> 4128 bytes - ...numMyeongjo-Regular-subset.default.61,62,63.ttx | 2032 - - .../NanumMyeongjo-Regular-subset.default.61,63.ttf | Bin 0 -> 3580 bytes - .../NanumMyeongjo-Regular-subset.default.61,63.ttx | 1822 - - .../NanumMyeongjo-Regular-subset.default.61.ttf | Bin 0 -> 3156 bytes - .../NanumMyeongjo-Regular-subset.default.61.ttx | 1696 - - .../NanumMyeongjo-Regular-subset.default.62.ttf | Bin 0 -> 3180 bytes - .../NanumMyeongjo-Regular-subset.default.62.ttx | 1719 - - .../NanumMyeongjo-Regular-subset.default.63.ttf | Bin 0 -> 3048 bytes - .../NanumMyeongjo-Regular-subset.default.63.ttx | 1635 - - ...Regular-subset.default.retain-all-codepoint.ttf | Bin 0 -> 9524 bytes - ...Regular-subset.default.retain-all-codepoint.ttx | 4391 - - ...ular-subset.drop-hints-retain-gids.61,62,63.ttf | Bin 0 -> 1452 bytes - ...ular-subset.drop-hints-retain-gids.61,62,63.ttx | 380 - - ...Regular-subset.drop-hints-retain-gids.61,63.ttf | Bin 0 -> 1284 bytes - ...Regular-subset.drop-hints-retain-gids.61,63.ttx | 314 - - ...jo-Regular-subset.drop-hints-retain-gids.61.ttf | Bin 0 -> 1128 bytes - ...jo-Regular-subset.drop-hints-retain-gids.61.ttx | 254 - - ...jo-Regular-subset.drop-hints-retain-gids.62.ttf | Bin 0 -> 1144 bytes - ...jo-Regular-subset.drop-hints-retain-gids.62.ttx | 261 - - ...jo-Regular-subset.drop-hints-retain-gids.63.ttf | Bin 0 -> 1116 bytes - ...jo-Regular-subset.drop-hints-retain-gids.63.ttx | 251 - - ...drop-hints-retain-gids.retain-all-codepoint.ttf | Bin 0 -> 3536 bytes - ...drop-hints-retain-gids.retain-all-codepoint.ttx | 1215 - - ...Myeongjo-Regular-subset.drop-hints.61,62,63.ttf | Bin 0 -> 1452 bytes - ...Myeongjo-Regular-subset.drop-hints.61,62,63.ttx | 380 - - ...numMyeongjo-Regular-subset.drop-hints.61,63.ttf | Bin 0 -> 1276 bytes - ...numMyeongjo-Regular-subset.drop-hints.61,63.ttx | 310 - - .../NanumMyeongjo-Regular-subset.drop-hints.61.ttf | Bin 0 -> 1128 bytes - .../NanumMyeongjo-Regular-subset.drop-hints.61.ttx | 254 - - .../NanumMyeongjo-Regular-subset.drop-hints.62.ttf | Bin 0 -> 1140 bytes - .../NanumMyeongjo-Regular-subset.drop-hints.62.ttx | 257 - - .../NanumMyeongjo-Regular-subset.drop-hints.63.ttf | Bin 0 -> 1104 bytes - .../NanumMyeongjo-Regular-subset.drop-hints.63.ttx | 243 - - ...ular-subset.drop-hints.retain-all-codepoint.ttf | Bin 0 -> 3536 bytes - ...ular-subset.drop-hints.retain-all-codepoint.ttx | 1215 - - .../NanumMyeongjo-Regular-subset.gids.61,62,63.ttf | Bin 0 -> 4128 bytes - .../NanumMyeongjo-Regular-subset.gids.61,62,63.ttx | 2032 - - .../NanumMyeongjo-Regular-subset.gids.61,63.ttf | Bin 0 -> 4128 bytes - .../NanumMyeongjo-Regular-subset.gids.61,63.ttx | 2032 - - .../NanumMyeongjo-Regular-subset.gids.61.ttf | Bin 0 -> 4128 bytes - .../NanumMyeongjo-Regular-subset.gids.61.ttx | 2032 - - .../NanumMyeongjo-Regular-subset.gids.62.ttf | Bin 0 -> 4128 bytes - .../NanumMyeongjo-Regular-subset.gids.62.ttx | 2032 - - .../NanumMyeongjo-Regular-subset.gids.63.ttf | Bin 0 -> 4128 bytes - .../NanumMyeongjo-Regular-subset.gids.63.ttx | 2032 - - ...jo-Regular-subset.gids.retain-all-codepoint.ttf | Bin 0 -> 9524 bytes - ...jo-Regular-subset.gids.retain-all-codepoint.ttx | 4391 - - ...yeongjo-Regular-subset.glyph-names.61,62,63.ttf | Bin 0 -> 4128 bytes - ...yeongjo-Regular-subset.glyph-names.61,62,63.ttx | 2032 - - ...umMyeongjo-Regular-subset.glyph-names.61,63.ttf | Bin 0 -> 3580 bytes - ...umMyeongjo-Regular-subset.glyph-names.61,63.ttx | 1822 - - ...NanumMyeongjo-Regular-subset.glyph-names.61.ttf | Bin 0 -> 3156 bytes - ...NanumMyeongjo-Regular-subset.glyph-names.61.ttx | 1696 - - ...NanumMyeongjo-Regular-subset.glyph-names.62.ttf | Bin 0 -> 3180 bytes - ...NanumMyeongjo-Regular-subset.glyph-names.62.ttx | 1719 - - ...NanumMyeongjo-Regular-subset.glyph-names.63.ttf | Bin 0 -> 3048 bytes - ...NanumMyeongjo-Regular-subset.glyph-names.63.ttx | 1635 - - ...lar-subset.glyph-names.retain-all-codepoint.ttf | Bin 0 -> 9524 bytes - ...lar-subset.glyph-names.retain-all-codepoint.ttx | 4391 - - ...ar-subset.keep-all-layout-features.61,62,63.ttf | Bin 0 -> 4128 bytes - ...ar-subset.keep-all-layout-features.61,62,63.ttx | 2032 - - ...gular-subset.keep-all-layout-features.61,63.ttf | Bin 0 -> 3580 bytes - ...gular-subset.keep-all-layout-features.61,63.ttx | 1822 - - ...-Regular-subset.keep-all-layout-features.61.ttf | Bin 0 -> 3156 bytes - ...-Regular-subset.keep-all-layout-features.61.ttx | 1696 - - ...-Regular-subset.keep-all-layout-features.62.ttf | Bin 0 -> 3180 bytes - ...-Regular-subset.keep-all-layout-features.62.ttx | 1719 - - ...-Regular-subset.keep-all-layout-features.63.ttf | Bin 0 -> 3048 bytes - ...-Regular-subset.keep-all-layout-features.63.ttx | 1635 - - ...ep-all-layout-features.retain-all-codepoint.ttf | Bin 0 -> 9524 bytes - ...ep-all-layout-features.retain-all-codepoint.ttx | 4391 - - ...gjo-Regular-subset.layout-features.61,62,63.ttf | Bin 0 -> 4128 bytes - ...gjo-Regular-subset.layout-features.61,62,63.ttx | 2032 - - ...eongjo-Regular-subset.layout-features.61,63.ttf | Bin 0 -> 3580 bytes - ...eongjo-Regular-subset.layout-features.61,63.ttx | 1822 - - ...mMyeongjo-Regular-subset.layout-features.61.ttf | Bin 0 -> 3156 bytes - ...mMyeongjo-Regular-subset.layout-features.61.ttx | 1696 - - ...mMyeongjo-Regular-subset.layout-features.62.ttf | Bin 0 -> 3180 bytes - ...mMyeongjo-Regular-subset.layout-features.62.ttx | 1719 - - ...mMyeongjo-Regular-subset.layout-features.63.ttf | Bin 0 -> 3048 bytes - ...mMyeongjo-Regular-subset.layout-features.63.ttx | 1635 - - ...subset.layout-features.retain-all-codepoint.ttf | Bin 0 -> 9524 bytes - ...subset.layout-features.retain-all-codepoint.ttx | 4391 - - ...umMyeongjo-Regular-subset.name-ids.61,62,63.ttf | Bin 0 -> 3924 bytes - ...umMyeongjo-Regular-subset.name-ids.61,62,63.ttx | 2020 - - ...NanumMyeongjo-Regular-subset.name-ids.61,63.ttf | Bin 0 -> 3376 bytes - ...NanumMyeongjo-Regular-subset.name-ids.61,63.ttx | 1810 - - .../NanumMyeongjo-Regular-subset.name-ids.61.ttf | Bin 0 -> 2952 bytes - .../NanumMyeongjo-Regular-subset.name-ids.61.ttx | 1684 - - .../NanumMyeongjo-Regular-subset.name-ids.62.ttf | Bin 0 -> 2976 bytes - .../NanumMyeongjo-Regular-subset.name-ids.62.ttx | 1707 - - .../NanumMyeongjo-Regular-subset.name-ids.63.ttf | Bin 0 -> 2844 bytes - .../NanumMyeongjo-Regular-subset.name-ids.63.ttx | 1623 - - ...egular-subset.name-ids.retain-all-codepoint.ttf | Bin 0 -> 9320 bytes - ...egular-subset.name-ids.retain-all-codepoint.ttx | 4379 - - ...ngjo-Regular-subset.name-languages.61,62,63.ttf | Bin 0 -> 4172 bytes - ...ngjo-Regular-subset.name-languages.61,62,63.ttx | 2041 - - ...yeongjo-Regular-subset.name-languages.61,63.ttf | Bin 0 -> 3624 bytes - ...yeongjo-Regular-subset.name-languages.61,63.ttx | 1831 - - ...umMyeongjo-Regular-subset.name-languages.61.ttf | Bin 0 -> 3200 bytes - ...umMyeongjo-Regular-subset.name-languages.61.ttx | 1705 - - ...umMyeongjo-Regular-subset.name-languages.62.ttf | Bin 0 -> 3224 bytes - ...umMyeongjo-Regular-subset.name-languages.62.ttx | 1728 - - ...umMyeongjo-Regular-subset.name-languages.63.ttf | Bin 0 -> 3092 bytes - ...umMyeongjo-Regular-subset.name-languages.63.ttx | 1644 - - ...-subset.name-languages.retain-all-codepoint.ttf | Bin 0 -> 9568 bytes - ...-subset.name-languages.retain-all-codepoint.ttx | 4400 - - ...yeongjo-Regular-subset.name-legacy.61,62,63.ttf | Bin 0 -> 4128 bytes - ...yeongjo-Regular-subset.name-legacy.61,62,63.ttx | 2032 - - ...umMyeongjo-Regular-subset.name-legacy.61,63.ttf | Bin 0 -> 3580 bytes - ...umMyeongjo-Regular-subset.name-legacy.61,63.ttx | 1822 - - ...NanumMyeongjo-Regular-subset.name-legacy.61.ttf | Bin 0 -> 3156 bytes - ...NanumMyeongjo-Regular-subset.name-legacy.61.ttx | 1696 - - ...NanumMyeongjo-Regular-subset.name-legacy.62.ttf | Bin 0 -> 3180 bytes - ...NanumMyeongjo-Regular-subset.name-legacy.62.ttx | 1719 - - ...NanumMyeongjo-Regular-subset.name-legacy.63.ttf | Bin 0 -> 3048 bytes - ...NanumMyeongjo-Regular-subset.name-legacy.63.ttx | 1635 - - ...lar-subset.name-legacy.retain-all-codepoint.ttf | Bin 0 -> 9524 bytes - ...lar-subset.name-legacy.retain-all-codepoint.ttx | 4391 - - ...lar-subset.no-prune-unicode-ranges.61,62,63.ttf | Bin 0 -> 4128 bytes - ...lar-subset.no-prune-unicode-ranges.61,62,63.ttx | 2032 - - ...egular-subset.no-prune-unicode-ranges.61,63.ttf | Bin 0 -> 3580 bytes - ...egular-subset.no-prune-unicode-ranges.61,63.ttx | 1822 - - ...o-Regular-subset.no-prune-unicode-ranges.61.ttf | Bin 0 -> 3156 bytes - ...o-Regular-subset.no-prune-unicode-ranges.61.ttx | 1696 - - ...o-Regular-subset.no-prune-unicode-ranges.62.ttf | Bin 0 -> 3180 bytes - ...o-Regular-subset.no-prune-unicode-ranges.62.ttx | 1719 - - ...o-Regular-subset.no-prune-unicode-ranges.63.ttf | Bin 0 -> 3048 bytes - ...o-Regular-subset.no-prune-unicode-ranges.63.ttx | 1635 - - ...o-prune-unicode-ranges.retain-all-codepoint.ttf | Bin 0 -> 9524 bytes - ...o-prune-unicode-ranges.retain-all-codepoint.ttx | 4391 - - ...ngjo-Regular-subset.notdef-outline.61,62,63.ttf | Bin 0 -> 4128 bytes - ...ngjo-Regular-subset.notdef-outline.61,62,63.ttx | 2032 - - ...yeongjo-Regular-subset.notdef-outline.61,63.ttf | Bin 0 -> 3580 bytes - ...yeongjo-Regular-subset.notdef-outline.61,63.ttx | 1822 - - ...umMyeongjo-Regular-subset.notdef-outline.61.ttf | Bin 0 -> 3156 bytes - ...umMyeongjo-Regular-subset.notdef-outline.61.ttx | 1696 - - ...umMyeongjo-Regular-subset.notdef-outline.62.ttf | Bin 0 -> 3180 bytes - ...umMyeongjo-Regular-subset.notdef-outline.62.ttx | 1719 - - ...umMyeongjo-Regular-subset.notdef-outline.63.ttf | Bin 0 -> 3048 bytes - ...umMyeongjo-Regular-subset.notdef-outline.63.ttx | 1635 - - ...-subset.notdef-outline.retain-all-codepoint.ttf | Bin 0 -> 9524 bytes - ...-subset.notdef-outline.retain-all-codepoint.ttx | 4391 - - ...yeongjo-Regular-subset.retain-gids.61,62,63.ttf | Bin 0 -> 4128 bytes - ...yeongjo-Regular-subset.retain-gids.61,62,63.ttx | 2032 - - ...umMyeongjo-Regular-subset.retain-gids.61,63.ttf | Bin 0 -> 3588 bytes - ...umMyeongjo-Regular-subset.retain-gids.61,63.ttx | 1826 - - ...NanumMyeongjo-Regular-subset.retain-gids.61.ttf | Bin 0 -> 3156 bytes - ...NanumMyeongjo-Regular-subset.retain-gids.61.ttx | 1696 - - ...NanumMyeongjo-Regular-subset.retain-gids.62.ttf | Bin 0 -> 3184 bytes - ...NanumMyeongjo-Regular-subset.retain-gids.62.ttx | 1723 - - ...NanumMyeongjo-Regular-subset.retain-gids.63.ttf | Bin 0 -> 3060 bytes - ...NanumMyeongjo-Regular-subset.retain-gids.63.ttx | 1643 - - ...lar-subset.retain-gids.retain-all-codepoint.ttf | Bin 0 -> 9524 bytes - ...lar-subset.retain-gids.retain-all-codepoint.ttx | 4391 - - .../basics/Roboto-Regular.abc.default.61,62,63.ttf | Bin 0 -> 2452 bytes - .../basics/Roboto-Regular.abc.default.61,62,63.ttx | 1407 - - .../basics/Roboto-Regular.abc.default.61,63.ttf | Bin 0 -> 2260 bytes - .../basics/Roboto-Regular.abc.default.61,63.ttx | 1259 - - .../basics/Roboto-Regular.abc.default.61.ttf | Bin 0 -> 2048 bytes - .../basics/Roboto-Regular.abc.default.61.ttx | 1127 - - .../basics/Roboto-Regular.abc.default.62.ttf | Bin 0 -> 1916 bytes - .../basics/Roboto-Regular.abc.default.62.ttx | 1025 - - .../basics/Roboto-Regular.abc.default.63.ttf | Bin 0 -> 1972 bytes - .../basics/Roboto-Regular.abc.default.63.ttx | 1073 - - ...to-Regular.abc.default.retain-all-codepoint.ttf | Bin 0 -> 2452 bytes - ...to-Regular.abc.default.retain-all-codepoint.ttx | 1407 - - ...Regular.abc.drop-hints-retain-gids.61,62,63.ttf | Bin 0 -> 1192 bytes - ...Regular.abc.drop-hints-retain-gids.61,62,63.ttx | 479 - - ...to-Regular.abc.drop-hints-retain-gids.61,63.ttf | Bin 0 -> 1124 bytes - ...to-Regular.abc.drop-hints-retain-gids.61,63.ttx | 433 - - ...oboto-Regular.abc.drop-hints-retain-gids.61.ttf | Bin 0 -> 984 bytes - ...oboto-Regular.abc.drop-hints-retain-gids.61.ttx | 374 - - ...oboto-Regular.abc.drop-hints-retain-gids.62.ttf | Bin 0 -> 880 bytes - ...oboto-Regular.abc.drop-hints-retain-gids.62.ttx | 297 - - ...oboto-Regular.abc.drop-hints-retain-gids.63.ttf | Bin 0 -> 968 bytes - ...oboto-Regular.abc.drop-hints-retain-gids.63.ttx | 369 - - ...drop-hints-retain-gids.retain-all-codepoint.ttf | Bin 0 -> 1192 bytes - ...drop-hints-retain-gids.retain-all-codepoint.ttx | 479 - - .../Roboto-Regular.abc.drop-hints.61,62,63.ttf | Bin 0 -> 1192 bytes - .../Roboto-Regular.abc.drop-hints.61,62,63.ttx | 479 - - .../basics/Roboto-Regular.abc.drop-hints.61,63.ttf | Bin 0 -> 1108 bytes - .../basics/Roboto-Regular.abc.drop-hints.61,63.ttx | 429 - - .../basics/Roboto-Regular.abc.drop-hints.61.ttf | Bin 0 -> 984 bytes - .../basics/Roboto-Regular.abc.drop-hints.61.ttx | 374 - - .../basics/Roboto-Regular.abc.drop-hints.62.ttf | Bin 0 -> 876 bytes - .../basics/Roboto-Regular.abc.drop-hints.62.ttx | 293 - - .../basics/Roboto-Regular.abc.drop-hints.63.ttf | Bin 0 -> 956 bytes - .../basics/Roboto-Regular.abc.drop-hints.63.ttx | 361 - - ...Regular.abc.drop-hints.retain-all-codepoint.ttf | Bin 0 -> 1192 bytes - ...Regular.abc.drop-hints.retain-all-codepoint.ttx | 479 - - .../basics/Roboto-Regular.abc.gids.61,62,63.ttf | Bin 0 -> 2452 bytes - .../basics/Roboto-Regular.abc.gids.61,62,63.ttx | 1407 - - .../basics/Roboto-Regular.abc.gids.61,63.ttf | Bin 0 -> 2452 bytes - .../basics/Roboto-Regular.abc.gids.61,63.ttx | 1407 - - .../expected/basics/Roboto-Regular.abc.gids.61.ttf | Bin 0 -> 2452 bytes - .../expected/basics/Roboto-Regular.abc.gids.61.ttx | 1407 - - .../expected/basics/Roboto-Regular.abc.gids.62.ttf | Bin 0 -> 2452 bytes - .../expected/basics/Roboto-Regular.abc.gids.62.ttx | 1407 - - .../expected/basics/Roboto-Regular.abc.gids.63.ttf | Bin 0 -> 2452 bytes - .../expected/basics/Roboto-Regular.abc.gids.63.ttx | 1407 - - ...oboto-Regular.abc.gids.retain-all-codepoint.ttf | Bin 0 -> 2452 bytes - ...oboto-Regular.abc.gids.retain-all-codepoint.ttx | 1407 - - .../Roboto-Regular.abc.glyph-names.61,62,63.ttf | Bin 0 -> 2452 bytes - .../Roboto-Regular.abc.glyph-names.61,62,63.ttx | 1407 - - .../Roboto-Regular.abc.glyph-names.61,63.ttf | Bin 0 -> 2260 bytes - .../Roboto-Regular.abc.glyph-names.61,63.ttx | 1259 - - .../basics/Roboto-Regular.abc.glyph-names.61.ttf | Bin 0 -> 2048 bytes - .../basics/Roboto-Regular.abc.glyph-names.61.ttx | 1127 - - .../basics/Roboto-Regular.abc.glyph-names.62.ttf | Bin 0 -> 1916 bytes - .../basics/Roboto-Regular.abc.glyph-names.62.ttx | 1025 - - .../basics/Roboto-Regular.abc.glyph-names.63.ttf | Bin 0 -> 1972 bytes - .../basics/Roboto-Regular.abc.glyph-names.63.ttx | 1073 - - ...egular.abc.glyph-names.retain-all-codepoint.ttf | Bin 0 -> 2452 bytes - ...egular.abc.glyph-names.retain-all-codepoint.ttx | 1407 - - ...gular.abc.keep-all-layout-features.61,62,63.ttf | Bin 0 -> 2452 bytes - ...gular.abc.keep-all-layout-features.61,62,63.ttx | 1407 - - ...-Regular.abc.keep-all-layout-features.61,63.ttf | Bin 0 -> 2260 bytes - ...-Regular.abc.keep-all-layout-features.61,63.ttx | 1259 - - ...oto-Regular.abc.keep-all-layout-features.61.ttf | Bin 0 -> 2048 bytes - ...oto-Regular.abc.keep-all-layout-features.61.ttx | 1127 - - ...oto-Regular.abc.keep-all-layout-features.62.ttf | Bin 0 -> 1916 bytes - ...oto-Regular.abc.keep-all-layout-features.62.ttx | 1025 - - ...oto-Regular.abc.keep-all-layout-features.63.ttf | Bin 0 -> 1972 bytes - ...oto-Regular.abc.keep-all-layout-features.63.ttx | 1073 - - ...ep-all-layout-features.retain-all-codepoint.ttf | Bin 0 -> 2452 bytes - ...ep-all-layout-features.retain-all-codepoint.ttx | 1407 - - ...Roboto-Regular.abc.layout-features.61,62,63.ttf | Bin 0 -> 2452 bytes - ...Roboto-Regular.abc.layout-features.61,62,63.ttx | 1407 - - .../Roboto-Regular.abc.layout-features.61,63.ttf | Bin 0 -> 2260 bytes - .../Roboto-Regular.abc.layout-features.61,63.ttx | 1259 - - .../Roboto-Regular.abc.layout-features.61.ttf | Bin 0 -> 2048 bytes - .../Roboto-Regular.abc.layout-features.61.ttx | 1127 - - .../Roboto-Regular.abc.layout-features.62.ttf | Bin 0 -> 1916 bytes - .../Roboto-Regular.abc.layout-features.62.ttx | 1025 - - .../Roboto-Regular.abc.layout-features.63.ttf | Bin 0 -> 1972 bytes - .../Roboto-Regular.abc.layout-features.63.ttx | 1073 - - ...ar.abc.layout-features.retain-all-codepoint.ttf | Bin 0 -> 2452 bytes - ...ar.abc.layout-features.retain-all-codepoint.ttx | 1407 - - .../Roboto-Regular.abc.name-ids.61,62,63.ttf | Bin 0 -> 2452 bytes - .../Roboto-Regular.abc.name-ids.61,62,63.ttx | 1407 - - .../basics/Roboto-Regular.abc.name-ids.61,63.ttf | Bin 0 -> 2260 bytes - .../basics/Roboto-Regular.abc.name-ids.61,63.ttx | 1259 - - .../basics/Roboto-Regular.abc.name-ids.61.ttf | Bin 0 -> 2048 bytes - .../basics/Roboto-Regular.abc.name-ids.61.ttx | 1127 - - .../basics/Roboto-Regular.abc.name-ids.62.ttf | Bin 0 -> 1916 bytes - .../basics/Roboto-Regular.abc.name-ids.62.ttx | 1025 - - .../basics/Roboto-Regular.abc.name-ids.63.ttf | Bin 0 -> 1972 bytes - .../basics/Roboto-Regular.abc.name-ids.63.ttx | 1073 - - ...o-Regular.abc.name-ids.retain-all-codepoint.ttf | Bin 0 -> 2452 bytes - ...o-Regular.abc.name-ids.retain-all-codepoint.ttx | 1407 - - .../Roboto-Regular.abc.name-languages.61,62,63.ttf | Bin 0 -> 2452 bytes - .../Roboto-Regular.abc.name-languages.61,62,63.ttx | 1407 - - .../Roboto-Regular.abc.name-languages.61,63.ttf | Bin 0 -> 2260 bytes - .../Roboto-Regular.abc.name-languages.61,63.ttx | 1259 - - .../Roboto-Regular.abc.name-languages.61.ttf | Bin 0 -> 2048 bytes - .../Roboto-Regular.abc.name-languages.61.ttx | 1127 - - .../Roboto-Regular.abc.name-languages.62.ttf | Bin 0 -> 1916 bytes - .../Roboto-Regular.abc.name-languages.62.ttx | 1025 - - .../Roboto-Regular.abc.name-languages.63.ttf | Bin 0 -> 1972 bytes - .../Roboto-Regular.abc.name-languages.63.ttx | 1073 - - ...lar.abc.name-languages.retain-all-codepoint.ttf | Bin 0 -> 2452 bytes - ...lar.abc.name-languages.retain-all-codepoint.ttx | 1407 - - .../Roboto-Regular.abc.name-legacy.61,62,63.ttf | Bin 0 -> 2452 bytes - .../Roboto-Regular.abc.name-legacy.61,62,63.ttx | 1407 - - .../Roboto-Regular.abc.name-legacy.61,63.ttf | Bin 0 -> 2260 bytes - .../Roboto-Regular.abc.name-legacy.61,63.ttx | 1259 - - .../basics/Roboto-Regular.abc.name-legacy.61.ttf | Bin 0 -> 2048 bytes - .../basics/Roboto-Regular.abc.name-legacy.61.ttx | 1127 - - .../basics/Roboto-Regular.abc.name-legacy.62.ttf | Bin 0 -> 1916 bytes - .../basics/Roboto-Regular.abc.name-legacy.62.ttx | 1025 - - .../basics/Roboto-Regular.abc.name-legacy.63.ttf | Bin 0 -> 1972 bytes - .../basics/Roboto-Regular.abc.name-legacy.63.ttx | 1073 - - ...egular.abc.name-legacy.retain-all-codepoint.ttf | Bin 0 -> 2452 bytes - ...egular.abc.name-legacy.retain-all-codepoint.ttx | 1407 - - ...egular.abc.no-prune-unicode-ranges.61,62,63.ttf | Bin 0 -> 2452 bytes - ...egular.abc.no-prune-unicode-ranges.61,62,63.ttx | 1407 - - ...o-Regular.abc.no-prune-unicode-ranges.61,63.ttf | Bin 0 -> 2260 bytes - ...o-Regular.abc.no-prune-unicode-ranges.61,63.ttx | 1259 - - ...boto-Regular.abc.no-prune-unicode-ranges.61.ttf | Bin 0 -> 2048 bytes - ...boto-Regular.abc.no-prune-unicode-ranges.61.ttx | 1127 - - ...boto-Regular.abc.no-prune-unicode-ranges.62.ttf | Bin 0 -> 1916 bytes - ...boto-Regular.abc.no-prune-unicode-ranges.62.ttx | 1025 - - ...boto-Regular.abc.no-prune-unicode-ranges.63.ttf | Bin 0 -> 1972 bytes - ...boto-Regular.abc.no-prune-unicode-ranges.63.ttx | 1073 - - ...o-prune-unicode-ranges.retain-all-codepoint.ttf | Bin 0 -> 2452 bytes - ...o-prune-unicode-ranges.retain-all-codepoint.ttx | 1407 - - .../Roboto-Regular.abc.notdef-outline.61,62,63.ttf | Bin 0 -> 2452 bytes - .../Roboto-Regular.abc.notdef-outline.61,62,63.ttx | 1407 - - .../Roboto-Regular.abc.notdef-outline.61,63.ttf | Bin 0 -> 2260 bytes - .../Roboto-Regular.abc.notdef-outline.61,63.ttx | 1259 - - .../Roboto-Regular.abc.notdef-outline.61.ttf | Bin 0 -> 2048 bytes - .../Roboto-Regular.abc.notdef-outline.61.ttx | 1127 - - .../Roboto-Regular.abc.notdef-outline.62.ttf | Bin 0 -> 1916 bytes - .../Roboto-Regular.abc.notdef-outline.62.ttx | 1025 - - .../Roboto-Regular.abc.notdef-outline.63.ttf | Bin 0 -> 1972 bytes - .../Roboto-Regular.abc.notdef-outline.63.ttx | 1073 - - ...lar.abc.notdef-outline.retain-all-codepoint.ttf | Bin 0 -> 2452 bytes - ...lar.abc.notdef-outline.retain-all-codepoint.ttx | 1407 - - .../Roboto-Regular.abc.retain-gids.61,62,63.ttf | Bin 0 -> 2452 bytes - .../Roboto-Regular.abc.retain-gids.61,62,63.ttx | 1407 - - .../Roboto-Regular.abc.retain-gids.61,63.ttf | Bin 0 -> 2276 bytes - .../Roboto-Regular.abc.retain-gids.61,63.ttx | 1264 - - .../basics/Roboto-Regular.abc.retain-gids.61.ttf | Bin 0 -> 2048 bytes - .../basics/Roboto-Regular.abc.retain-gids.61.ttx | 1127 - - .../basics/Roboto-Regular.abc.retain-gids.62.ttf | Bin 0 -> 1924 bytes - .../basics/Roboto-Regular.abc.retain-gids.62.ttx | 1030 - - .../basics/Roboto-Regular.abc.retain-gids.63.ttf | Bin 0 -> 1988 bytes - .../basics/Roboto-Regular.abc.retain-gids.63.ttx | 1083 - - ...egular.abc.retain-gids.retain-all-codepoint.ttf | Bin 0 -> 2452 bytes - ...egular.abc.retain-gids.retain-all-codepoint.ttx | 1407 - - .../cbdt/NotoColorEmoji.subset.default.2049.ttf | Bin 0 -> 3112 bytes - .../cbdt/NotoColorEmoji.subset.default.2049.ttx | 397 - - .../cbdt/NotoColorEmoji.subset.default.38,2049.ttf | Bin 0 -> 4084 bytes - .../cbdt/NotoColorEmoji.subset.default.38,2049.ttx | 474 - - .../cbdt/NotoColorEmoji.subset.default.38,20E3.ttf | Bin 0 -> 3568 bytes - .../cbdt/NotoColorEmoji.subset.default.38,20E3.ttx | 441 - - ...rEmoji.subset.default.38,39,AE,2049,38,20E3.ttf | Bin 0 -> 10124 bytes - ...rEmoji.subset.default.38,39,AE,2049,38,20E3.ttx | 898 - - .../NotoColorEmoji.subset.default.38,AE,2049.ttf | Bin 0 -> 7544 bytes - .../NotoColorEmoji.subset.default.38,AE,2049.ttx | 705 - - .../cbdt/NotoColorEmoji.subset.default.39.ttf | Bin 0 -> 1920 bytes - .../cbdt/NotoColorEmoji.subset.default.39.ttx | 323 - - .../cbdt/NotoColorEmoji.subset.default.AE.ttf | Bin 0 -> 4412 bytes - .../cbdt/NotoColorEmoji.subset.default.AE.ttx | 478 - - ...lorEmoji.subset.drop-hints-retain-gids.2049.ttf | Bin 0 -> 3136 bytes - ...lorEmoji.subset.drop-hints-retain-gids.2049.ttx | 406 - - ...Emoji.subset.drop-hints-retain-gids.38,2049.ttf | Bin 0 -> 4108 bytes - ...Emoji.subset.drop-hints-retain-gids.38,2049.ttx | 480 - - ...Emoji.subset.drop-hints-retain-gids.38,20E3.ttf | Bin 0 -> 3600 bytes - ...Emoji.subset.drop-hints-retain-gids.38,20E3.ttx | 450 - - ...rop-hints-retain-gids.38,39,AE,2049,38,20E3.ttf | Bin 0 -> 10124 bytes - ...rop-hints-retain-gids.38,39,AE,2049,38,20E3.ttx | 898 - - ...ji.subset.drop-hints-retain-gids.38,AE,2049.ttf | Bin 0 -> 7564 bytes - ...ji.subset.drop-hints-retain-gids.38,AE,2049.ttx | 708 - - ...ColorEmoji.subset.drop-hints-retain-gids.39.ttf | Bin 0 -> 1928 bytes - ...ColorEmoji.subset.drop-hints-retain-gids.39.ttx | 326 - - ...ColorEmoji.subset.drop-hints-retain-gids.AE.ttf | Bin 0 -> 4428 bytes - ...ColorEmoji.subset.drop-hints-retain-gids.AE.ttx | 484 - - .../cbdt/NotoColorEmoji.subset.drop-hints.2049.ttf | Bin 0 -> 3112 bytes - .../cbdt/NotoColorEmoji.subset.drop-hints.2049.ttx | 397 - - .../NotoColorEmoji.subset.drop-hints.38,2049.ttf | Bin 0 -> 4084 bytes - .../NotoColorEmoji.subset.drop-hints.38,2049.ttx | 474 - - .../NotoColorEmoji.subset.drop-hints.38,20E3.ttf | Bin 0 -> 3568 bytes - .../NotoColorEmoji.subset.drop-hints.38,20E3.ttx | 441 - - ...oji.subset.drop-hints.38,39,AE,2049,38,20E3.ttf | Bin 0 -> 10124 bytes - ...oji.subset.drop-hints.38,39,AE,2049,38,20E3.ttx | 898 - - ...NotoColorEmoji.subset.drop-hints.38,AE,2049.ttf | Bin 0 -> 7544 bytes - ...NotoColorEmoji.subset.drop-hints.38,AE,2049.ttx | 705 - - .../cbdt/NotoColorEmoji.subset.drop-hints.39.ttf | Bin 0 -> 1920 bytes - .../cbdt/NotoColorEmoji.subset.drop-hints.39.ttx | 323 - - .../cbdt/NotoColorEmoji.subset.drop-hints.AE.ttf | Bin 0 -> 4412 bytes - .../cbdt/NotoColorEmoji.subset.drop-hints.AE.ttx | 478 - - .../NotoColorEmoji.subset.gap.default.2049.ttf | Bin 0 -> 3112 bytes - .../NotoColorEmoji.subset.gap.default.2049.ttx | 397 - - .../NotoColorEmoji.subset.gap.default.38,2049.ttf | Bin 0 -> 4084 bytes - .../NotoColorEmoji.subset.gap.default.38,2049.ttx | 474 - - .../NotoColorEmoji.subset.gap.default.38,20E3.ttf | Bin 0 -> 3568 bytes - .../NotoColorEmoji.subset.gap.default.38,20E3.ttx | 441 - - ...ji.subset.gap.default.38,39,AE,2049,38,20E3.ttf | Bin 0 -> 9188 bytes - ...ji.subset.gap.default.38,39,AE,2049,38,20E3.ttx | 827 - - ...otoColorEmoji.subset.gap.default.38,AE,2049.ttf | Bin 0 -> 7544 bytes - ...otoColorEmoji.subset.gap.default.38,AE,2049.ttx | 705 - - .../cbdt/NotoColorEmoji.subset.gap.default.39.ttf | Bin 0 -> 908 bytes - .../cbdt/NotoColorEmoji.subset.gap.default.39.ttx | 207 - - .../cbdt/NotoColorEmoji.subset.gap.default.AE.ttf | Bin 0 -> 4412 bytes - .../cbdt/NotoColorEmoji.subset.gap.default.AE.ttx | 478 - - ...moji.subset.gap.drop-hints-retain-gids.2049.ttf | Bin 0 -> 3136 bytes - ...moji.subset.gap.drop-hints-retain-gids.2049.ttx | 406 - - ...i.subset.gap.drop-hints-retain-gids.38,2049.ttf | Bin 0 -> 4108 bytes - ...i.subset.gap.drop-hints-retain-gids.38,2049.ttx | 480 - - ...i.subset.gap.drop-hints-retain-gids.38,20E3.ttf | Bin 0 -> 3600 bytes - ...i.subset.gap.drop-hints-retain-gids.38,20E3.ttx | 450 - - ...rop-hints-retain-gids.38,39,AE,2049,38,20E3.ttf | Bin 0 -> 9188 bytes - ...rop-hints-retain-gids.38,39,AE,2049,38,20E3.ttx | 827 - - ...ubset.gap.drop-hints-retain-gids.38,AE,2049.ttf | Bin 0 -> 7564 bytes - ...ubset.gap.drop-hints-retain-gids.38,AE,2049.ttx | 708 - - ...rEmoji.subset.gap.drop-hints-retain-gids.39.ttf | Bin 0 -> 916 bytes - ...rEmoji.subset.gap.drop-hints-retain-gids.39.ttx | 210 - - ...rEmoji.subset.gap.drop-hints-retain-gids.AE.ttf | Bin 0 -> 4428 bytes - ...rEmoji.subset.gap.drop-hints-retain-gids.AE.ttx | 484 - - .../NotoColorEmoji.subset.gap.drop-hints.2049.ttf | Bin 0 -> 3112 bytes - .../NotoColorEmoji.subset.gap.drop-hints.2049.ttx | 397 - - ...otoColorEmoji.subset.gap.drop-hints.38,2049.ttf | Bin 0 -> 4084 bytes - ...otoColorEmoji.subset.gap.drop-hints.38,2049.ttx | 474 - - ...otoColorEmoji.subset.gap.drop-hints.38,20E3.ttf | Bin 0 -> 3568 bytes - ...otoColorEmoji.subset.gap.drop-hints.38,20E3.ttx | 441 - - ...subset.gap.drop-hints.38,39,AE,2049,38,20E3.ttf | Bin 0 -> 9188 bytes - ...subset.gap.drop-hints.38,39,AE,2049,38,20E3.ttx | 827 - - ...ColorEmoji.subset.gap.drop-hints.38,AE,2049.ttf | Bin 0 -> 7544 bytes - ...ColorEmoji.subset.gap.drop-hints.38,AE,2049.ttx | 705 - - .../NotoColorEmoji.subset.gap.drop-hints.39.ttf | Bin 0 -> 908 bytes - .../NotoColorEmoji.subset.gap.drop-hints.39.ttx | 207 - - .../NotoColorEmoji.subset.gap.drop-hints.AE.ttf | Bin 0 -> 4412 bytes - .../NotoColorEmoji.subset.gap.drop-hints.AE.ttx | 478 - - .../NotoColorEmoji.subset.gap.retain-gids.2049.ttf | Bin 0 -> 3136 bytes - .../NotoColorEmoji.subset.gap.retain-gids.2049.ttx | 406 - - ...toColorEmoji.subset.gap.retain-gids.38,2049.ttf | Bin 0 -> 4108 bytes - ...toColorEmoji.subset.gap.retain-gids.38,2049.ttx | 480 - - ...toColorEmoji.subset.gap.retain-gids.38,20E3.ttf | Bin 0 -> 3600 bytes - ...toColorEmoji.subset.gap.retain-gids.38,20E3.ttx | 450 - - ...ubset.gap.retain-gids.38,39,AE,2049,38,20E3.ttf | Bin 0 -> 9188 bytes - ...ubset.gap.retain-gids.38,39,AE,2049,38,20E3.ttx | 827 - - ...olorEmoji.subset.gap.retain-gids.38,AE,2049.ttf | Bin 0 -> 7564 bytes - ...olorEmoji.subset.gap.retain-gids.38,AE,2049.ttx | 708 - - .../NotoColorEmoji.subset.gap.retain-gids.39.ttf | Bin 0 -> 916 bytes - .../NotoColorEmoji.subset.gap.retain-gids.39.ttx | 210 - - .../NotoColorEmoji.subset.gap.retain-gids.AE.ttf | Bin 0 -> 4428 bytes - .../NotoColorEmoji.subset.gap.retain-gids.AE.ttx | 484 - - ...olorEmoji.subset.index_format3.default.2049.ttf | Bin 0 -> 3108 bytes - ...olorEmoji.subset.index_format3.default.2049.ttx | 397 - - ...rEmoji.subset.index_format3.default.38,2049.ttf | Bin 0 -> 4076 bytes - ...rEmoji.subset.index_format3.default.38,2049.ttx | 474 - - ...rEmoji.subset.index_format3.default.38,20E3.ttf | Bin 0 -> 3560 bytes - ...rEmoji.subset.index_format3.default.38,20E3.ttx | 441 - - ...index_format3.default.38,39,AE,2049,38,20E3.ttf | Bin 0 -> 10112 bytes - ...index_format3.default.38,39,AE,2049,38,20E3.ttx | 898 - - ...oji.subset.index_format3.default.38,AE,2049.ttf | Bin 0 -> 7536 bytes - ...oji.subset.index_format3.default.38,AE,2049.ttx | 705 - - ...oColorEmoji.subset.index_format3.default.39.ttf | Bin 0 -> 1916 bytes - ...oColorEmoji.subset.index_format3.default.39.ttx | 323 - - ...oColorEmoji.subset.index_format3.default.AE.ttf | Bin 0 -> 4408 bytes - ...oColorEmoji.subset.index_format3.default.AE.ttx | 478 - - ...t.index_format3.drop-hints-retain-gids.2049.ttf | Bin 0 -> 3132 bytes - ...t.index_format3.drop-hints-retain-gids.2049.ttx | 406 - - ...ndex_format3.drop-hints-retain-gids.38,2049.ttf | Bin 0 -> 4100 bytes - ...ndex_format3.drop-hints-retain-gids.38,2049.ttx | 480 - - ...ndex_format3.drop-hints-retain-gids.38,20E3.ttf | Bin 0 -> 3592 bytes - ...ndex_format3.drop-hints-retain-gids.38,20E3.ttx | 450 - - ...rop-hints-retain-gids.38,39,AE,2049,38,20E3.ttf | Bin 0 -> 10112 bytes - ...rop-hints-retain-gids.38,39,AE,2049,38,20E3.ttx | 898 - - ...x_format3.drop-hints-retain-gids.38,AE,2049.ttf | Bin 0 -> 7552 bytes - ...x_format3.drop-hints-retain-gids.38,AE,2049.ttx | 708 - - ...set.index_format3.drop-hints-retain-gids.39.ttf | Bin 0 -> 1924 bytes - ...set.index_format3.drop-hints-retain-gids.39.ttx | 326 - - ...set.index_format3.drop-hints-retain-gids.AE.ttf | Bin 0 -> 4424 bytes - ...set.index_format3.drop-hints-retain-gids.AE.ttx | 484 - - ...rEmoji.subset.index_format3.drop-hints.2049.ttf | Bin 0 -> 3108 bytes - ...rEmoji.subset.index_format3.drop-hints.2049.ttx | 397 - - ...oji.subset.index_format3.drop-hints.38,2049.ttf | Bin 0 -> 4076 bytes - ...oji.subset.index_format3.drop-hints.38,2049.ttx | 474 - - ...oji.subset.index_format3.drop-hints.38,20E3.ttf | Bin 0 -> 3560 bytes - ...oji.subset.index_format3.drop-hints.38,20E3.ttx | 441 - - ...ex_format3.drop-hints.38,39,AE,2049,38,20E3.ttf | Bin 0 -> 10112 bytes - ...ex_format3.drop-hints.38,39,AE,2049,38,20E3.ttx | 898 - - ....subset.index_format3.drop-hints.38,AE,2049.ttf | Bin 0 -> 7536 bytes - ....subset.index_format3.drop-hints.38,AE,2049.ttx | 705 - - ...lorEmoji.subset.index_format3.drop-hints.39.ttf | Bin 0 -> 1916 bytes - ...lorEmoji.subset.index_format3.drop-hints.39.ttx | 323 - - ...lorEmoji.subset.index_format3.drop-hints.AE.ttf | Bin 0 -> 4408 bytes - ...lorEmoji.subset.index_format3.drop-hints.AE.ttx | 478 - - ...Emoji.subset.index_format3.retain-gids.2049.ttf | Bin 0 -> 3132 bytes - ...Emoji.subset.index_format3.retain-gids.2049.ttx | 406 - - ...ji.subset.index_format3.retain-gids.38,2049.ttf | Bin 0 -> 4100 bytes - ...ji.subset.index_format3.retain-gids.38,2049.ttx | 480 - - ...ji.subset.index_format3.retain-gids.38,20E3.ttf | Bin 0 -> 3592 bytes - ...ji.subset.index_format3.retain-gids.38,20E3.ttx | 450 - - ...x_format3.retain-gids.38,39,AE,2049,38,20E3.ttf | Bin 0 -> 10112 bytes - ...x_format3.retain-gids.38,39,AE,2049,38,20E3.ttx | 898 - - ...subset.index_format3.retain-gids.38,AE,2049.ttf | Bin 0 -> 7552 bytes - ...subset.index_format3.retain-gids.38,AE,2049.ttx | 708 - - ...orEmoji.subset.index_format3.retain-gids.39.ttf | Bin 0 -> 1924 bytes - ...orEmoji.subset.index_format3.retain-gids.39.ttx | 326 - - ...orEmoji.subset.index_format3.retain-gids.AE.ttf | Bin 0 -> 4424 bytes - ...orEmoji.subset.index_format3.retain-gids.AE.ttx | 484 - - ...ji.subset.multiple_size_tables.default.2049.ttf | Bin 0 -> 5312 bytes - ...ji.subset.multiple_size_tables.default.2049.ttx | 587 - - ...subset.multiple_size_tables.default.38,2049.ttf | Bin 0 -> 7244 bytes - ...subset.multiple_size_tables.default.38,2049.ttx | 736 - - ...subset.multiple_size_tables.default.38,20E3.ttf | Bin 0 -> 6212 bytes - ...subset.multiple_size_tables.default.38,20E3.ttx | 671 - - ...e_size_tables.default.38,39,AE,2049,38,20E3.ttf | Bin 0 -> 19280 bytes - ...e_size_tables.default.38,39,AE,2049,38,20E3.ttx | 1570 - - ...set.multiple_size_tables.default.38,AE,2049.ttf | Bin 0 -> 14140 bytes - ...set.multiple_size_tables.default.38,AE,2049.ttx | 1193 - - ...moji.subset.multiple_size_tables.default.39.ttf | Bin 0 -> 2928 bytes - ...moji.subset.multiple_size_tables.default.39.ttx | 439 - - ...moji.subset.multiple_size_tables.default.AE.ttf | Bin 0 -> 7916 bytes - ...moji.subset.multiple_size_tables.default.AE.ttx | 749 - - ...ple_size_tables.drop-hints-retain-gids.2049.ttf | Bin 0 -> 5336 bytes - ...ple_size_tables.drop-hints-retain-gids.2049.ttx | 596 - - ..._size_tables.drop-hints-retain-gids.38,2049.ttf | Bin 0 -> 7268 bytes - ..._size_tables.drop-hints-retain-gids.38,2049.ttx | 742 - - ..._size_tables.drop-hints-retain-gids.38,20E3.ttf | Bin 0 -> 6244 bytes - ..._size_tables.drop-hints-retain-gids.38,20E3.ttx | 680 - - ...rop-hints-retain-gids.38,39,AE,2049,38,20E3.ttf | Bin 0 -> 19280 bytes - ...rop-hints-retain-gids.38,39,AE,2049,38,20E3.ttx | 1570 - - ...ze_tables.drop-hints-retain-gids.38,AE,2049.ttf | Bin 0 -> 14164 bytes - ...ze_tables.drop-hints-retain-gids.38,AE,2049.ttx | 1196 - - ...tiple_size_tables.drop-hints-retain-gids.39.ttf | Bin 0 -> 2936 bytes - ...tiple_size_tables.drop-hints-retain-gids.39.ttx | 442 - - ...tiple_size_tables.drop-hints-retain-gids.AE.ttf | Bin 0 -> 7932 bytes - ...tiple_size_tables.drop-hints-retain-gids.AE.ttx | 755 - - ...subset.multiple_size_tables.drop-hints.2049.ttf | Bin 0 -> 5312 bytes - ...subset.multiple_size_tables.drop-hints.2049.ttx | 587 - - ...set.multiple_size_tables.drop-hints.38,2049.ttf | Bin 0 -> 7244 bytes - ...set.multiple_size_tables.drop-hints.38,2049.ttx | 736 - - ...set.multiple_size_tables.drop-hints.38,20E3.ttf | Bin 0 -> 6212 bytes - ...set.multiple_size_tables.drop-hints.38,20E3.ttx | 671 - - ...ize_tables.drop-hints.38,39,AE,2049,38,20E3.ttf | Bin 0 -> 19280 bytes - ...ize_tables.drop-hints.38,39,AE,2049,38,20E3.ttx | 1570 - - ....multiple_size_tables.drop-hints.38,AE,2049.ttf | Bin 0 -> 14140 bytes - ....multiple_size_tables.drop-hints.38,AE,2049.ttx | 1193 - - ...i.subset.multiple_size_tables.drop-hints.39.ttf | Bin 0 -> 2928 bytes - ...i.subset.multiple_size_tables.drop-hints.39.ttx | 439 - - ...i.subset.multiple_size_tables.drop-hints.AE.ttf | Bin 0 -> 7916 bytes - ...i.subset.multiple_size_tables.drop-hints.AE.ttx | 749 - - ...ubset.multiple_size_tables.retain-gids.2049.ttf | Bin 0 -> 5336 bytes - ...ubset.multiple_size_tables.retain-gids.2049.ttx | 596 - - ...et.multiple_size_tables.retain-gids.38,2049.ttf | Bin 0 -> 7268 bytes - ...et.multiple_size_tables.retain-gids.38,2049.ttx | 742 - - ...et.multiple_size_tables.retain-gids.38,20E3.ttf | Bin 0 -> 6244 bytes - ...et.multiple_size_tables.retain-gids.38,20E3.ttx | 680 - - ...ze_tables.retain-gids.38,39,AE,2049,38,20E3.ttf | Bin 0 -> 19280 bytes - ...ze_tables.retain-gids.38,39,AE,2049,38,20E3.ttx | 1570 - - ...multiple_size_tables.retain-gids.38,AE,2049.ttf | Bin 0 -> 14164 bytes - ...multiple_size_tables.retain-gids.38,AE,2049.ttx | 1196 - - ....subset.multiple_size_tables.retain-gids.39.ttf | Bin 0 -> 2936 bytes - ....subset.multiple_size_tables.retain-gids.39.ttx | 442 - - ....subset.multiple_size_tables.retain-gids.AE.ttf | Bin 0 -> 7932 bytes - ....subset.multiple_size_tables.retain-gids.AE.ttx | 755 - - .../NotoColorEmoji.subset.retain-gids.2049.ttf | Bin 0 -> 3136 bytes - .../NotoColorEmoji.subset.retain-gids.2049.ttx | 406 - - .../NotoColorEmoji.subset.retain-gids.38,2049.ttf | Bin 0 -> 4108 bytes - .../NotoColorEmoji.subset.retain-gids.38,2049.ttx | 480 - - .../NotoColorEmoji.subset.retain-gids.38,20E3.ttf | Bin 0 -> 3600 bytes - .../NotoColorEmoji.subset.retain-gids.38,20E3.ttx | 450 - - ...ji.subset.retain-gids.38,39,AE,2049,38,20E3.ttf | Bin 0 -> 10124 bytes - ...ji.subset.retain-gids.38,39,AE,2049,38,20E3.ttx | 898 - - ...otoColorEmoji.subset.retain-gids.38,AE,2049.ttf | Bin 0 -> 7564 bytes - ...otoColorEmoji.subset.retain-gids.38,AE,2049.ttx | 708 - - .../cbdt/NotoColorEmoji.subset.retain-gids.39.ttf | Bin 0 -> 1928 bytes - .../cbdt/NotoColorEmoji.subset.retain-gids.39.ttx | 326 - - .../cbdt/NotoColorEmoji.subset.retain-gids.AE.ttf | Bin 0 -> 4428 bytes - .../cbdt/NotoColorEmoji.subset.retain-gids.AE.ttx | 484 - - ...eSansPro-Regular.default.1FC,21,41,20,62,63.otf | Bin 0 -> 2580 bytes - ...eSansPro-Regular.default.1FC,21,41,20,62,63.ttx | 738 - - .../SourceSansPro-Regular.default.61,62,63.otf | Bin 0 -> 2216 bytes - .../SourceSansPro-Regular.default.61,62,63.ttx | 587 - - ...ourceSansPro-Regular.default.D7,D8,D9,DA,DE.otf | Bin 0 -> 2328 bytes - ...ourceSansPro-Regular.default.D7,D8,D9,DA,DE.ttx | 578 - - ...subroutinize-retain-gids.1FC,21,41,20,62,63.otf | Bin 0 -> 20232 bytes - ...subroutinize-retain-gids.1FC,21,41,20,62,63.ttx | 6312 - - ...Regular.desubroutinize-retain-gids.61,62,63.otf | Bin 0 -> 2316 bytes - ...Regular.desubroutinize-retain-gids.61,62,63.ttx | 627 - - ...r.desubroutinize-retain-gids.D7,D8,D9,DA,DE.otf | Bin 0 -> 30540 bytes - ...r.desubroutinize-retain-gids.D7,D8,D9,DA,DE.ttx | 9248 -- - ...o-Regular.desubroutinize.1FC,21,41,20,62,63.otf | Bin 0 -> 2436 bytes - ...o-Regular.desubroutinize.1FC,21,41,20,62,63.ttx | 612 - - ...urceSansPro-Regular.desubroutinize.61,62,63.otf | Bin 0 -> 2120 bytes - ...urceSansPro-Regular.desubroutinize.61,62,63.ttx | 492 - - ...nsPro-Regular.desubroutinize.D7,D8,D9,DA,DE.otf | Bin 0 -> 2312 bytes - ...nsPro-Regular.desubroutinize.D7,D8,D9,DA,DE.ttx | 523 - - ...subroutinize-retain-gids.1FC,21,41,20,62,63.otf | Bin 0 -> 20064 bytes - ...subroutinize-retain-gids.1FC,21,41,20,62,63.ttx | 6281 - - ...p-hints-desubroutinize-retain-gids.61,62,63.otf | Bin 0 -> 2192 bytes - ...p-hints-desubroutinize-retain-gids.61,62,63.ttx | 607 - - ...s-desubroutinize-retain-gids.D7,D8,D9,DA,DE.otf | Bin 0 -> 30372 bytes - ...s-desubroutinize-retain-gids.D7,D8,D9,DA,DE.ttx | 9215 -- - ...rop-hints-desubroutinize.1FC,21,41,20,62,63.otf | Bin 0 -> 2268 bytes - ...rop-hints-desubroutinize.1FC,21,41,20,62,63.ttx | 581 - - ...-Regular.drop-hints-desubroutinize.61,62,63.otf | Bin 0 -> 1996 bytes - ...-Regular.drop-hints-desubroutinize.61,62,63.ttx | 472 - - ...ar.drop-hints-desubroutinize.D7,D8,D9,DA,DE.otf | Bin 0 -> 2148 bytes - ...ar.drop-hints-desubroutinize.D7,D8,D9,DA,DE.ttx | 490 - - ...r.drop-hints-retain-gids.1FC,21,41,20,62,63.otf | Bin 0 -> 20156 bytes - ...r.drop-hints-retain-gids.1FC,21,41,20,62,63.ttx | 6367 - - ...Pro-Regular.drop-hints-retain-gids.61,62,63.otf | Bin 0 -> 2228 bytes - ...Pro-Regular.drop-hints-retain-gids.61,62,63.ttx | 670 - - ...gular.drop-hints-retain-gids.D7,D8,D9,DA,DE.otf | Bin 0 -> 30384 bytes - ...gular.drop-hints-retain-gids.D7,D8,D9,DA,DE.ttx | 9259 -- - ...nsPro-Regular.drop-hints.1FC,21,41,20,62,63.otf | Bin 0 -> 2352 bytes - ...nsPro-Regular.drop-hints.1FC,21,41,20,62,63.ttx | 667 - - .../SourceSansPro-Regular.drop-hints.61,62,63.otf | Bin 0 -> 2060 bytes - .../SourceSansPro-Regular.drop-hints.61,62,63.ttx | 535 - - ...ceSansPro-Regular.drop-hints.D7,D8,D9,DA,DE.otf | Bin 0 -> 2164 bytes - ...ceSansPro-Regular.drop-hints.D7,D8,D9,DA,DE.ttx | 534 - - ...sPro-Regular.retain-gids.1FC,21,41,20,62,63.otf | Bin 0 -> 20384 bytes - ...sPro-Regular.retain-gids.1FC,21,41,20,62,63.ttx | 6438 - - .../SourceSansPro-Regular.retain-gids.61,62,63.otf | Bin 0 -> 2384 bytes - .../SourceSansPro-Regular.retain-gids.61,62,63.ttx | 722 - - ...eSansPro-Regular.retain-gids.D7,D8,D9,DA,DE.otf | Bin 0 -> 30556 bytes - ...eSansPro-Regular.retain-gids.D7,D8,D9,DA,DE.ttx | 9303 -- - ...ubset.default.3042,3044,3046,3048,304A,304B.otf | Bin 0 -> 4884 bytes - ...ubset.default.3042,3044,3046,3048,304A,304B.ttx | 1165 - - ...ubset.default.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 0 -> 6276 bytes - ...ubset.default.3042,3044,3046,73E0,5EA6,8F38.ttx | 1708 - - ...eHanSans-Regular_subset.default.61,63,65,6B.otf | Bin 0 -> 2588 bytes - ...eHanSans-Regular_subset.default.61,63,65,6B.ttx | 688 - - ...ubset.default.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 0 -> 6736 bytes - ...ubset.default.660E,6975,73E0,5EA6,8F38,6E05.ttx | 1585 - - .../SourceHanSans-Regular_subset.default.660E.otf | Bin 0 -> 2456 bytes - .../SourceHanSans-Regular_subset.default.660E.ttx | 577 - - ...e-retain-gids.3042,3044,3046,3048,304A,304B.otf | Bin 0 -> 129876 bytes - ...e-retain-gids.3042,3044,3046,3048,304A,304B.ttx | 62430 -------- - ...e-retain-gids.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 0 -> 130920 bytes - ...e-retain-gids.3042,3044,3046,73E0,5EA6,8F38.ttx | 62745 -------- - ...bset.desubroutinize-retain-gids.61,63,65,6B.otf | Bin 0 -> 3412 bytes - ...bset.desubroutinize-retain-gids.61,63,65,6B.ttx | 1081 - - ...e-retain-gids.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 0 -> 122048 bytes - ...e-retain-gids.660E,6975,73E0,5EA6,8F38,6E05.ttx | 57783 -------- - ...ular_subset.desubroutinize-retain-gids.660E.otf | Bin 0 -> 50760 bytes - ...ular_subset.desubroutinize-retain-gids.660E.ttx | 24455 ---- - ...esubroutinize.3042,3044,3046,3048,304A,304B.otf | Bin 0 -> 4724 bytes - ...esubroutinize.3042,3044,3046,3048,304A,304B.ttx | 1044 - - ...esubroutinize.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 0 -> 5928 bytes - ...esubroutinize.3042,3044,3046,73E0,5EA6,8F38.ttx | 1414 - - ...s-Regular_subset.desubroutinize.61,63,65,6B.otf | Bin 0 -> 2520 bytes - ...s-Regular_subset.desubroutinize.61,63,65,6B.ttx | 630 - - ...esubroutinize.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 0 -> 6232 bytes - ...esubroutinize.660E,6975,73E0,5EA6,8F38,6E05.ttx | 1152 - - ...eHanSans-Regular_subset.desubroutinize.660E.otf | Bin 0 -> 2440 bytes - ...eHanSans-Regular_subset.desubroutinize.660E.ttx | 560 - - ...e-retain-gids.3042,3044,3046,3048,304A,304B.otf | Bin 0 -> 129448 bytes - ...e-retain-gids.3042,3044,3046,3048,304A,304B.ttx | 62346 -------- - ...e-retain-gids.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 0 -> 130312 bytes - ...e-retain-gids.3042,3044,3046,73E0,5EA6,8F38.ttx | 62647 -------- - ...ints-desubroutinize-retain-gids.61,63,65,6B.otf | Bin 0 -> 3288 bytes - ...ints-desubroutinize-retain-gids.61,63,65,6B.ttx | 1055 - - ...e-retain-gids.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 0 -> 121284 bytes - ...e-retain-gids.660E,6975,73E0,5EA6,8F38,6E05.ttx | 57675 -------- - ....drop-hints-desubroutinize-retain-gids.660E.otf | Bin 0 -> 50540 bytes - ....drop-hints-desubroutinize-retain-gids.660E.ttx | 24416 ---- - ...esubroutinize.3042,3044,3046,3048,304A,304B.otf | Bin 0 -> 4420 bytes - ...esubroutinize.3042,3044,3046,3048,304A,304B.ttx | 986 - - ...esubroutinize.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 0 -> 5416 bytes - ...esubroutinize.3042,3044,3046,73E0,5EA6,8F38.ttx | 1337 - - ...ubset.drop-hints-desubroutinize.61,63,65,6B.otf | Bin 0 -> 2416 bytes - ...ubset.drop-hints-desubroutinize.61,63,65,6B.ttx | 609 - - ...esubroutinize.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 0 -> 5556 bytes - ...esubroutinize.660E,6975,73E0,5EA6,8F38,6E05.ttx | 1063 - - ...gular_subset.drop-hints-desubroutinize.660E.otf | Bin 0 -> 2308 bytes - ...gular_subset.drop-hints-desubroutinize.660E.ttx | 540 - - ...s-retain-gids.3042,3044,3046,3048,304A,304B.otf | Bin 0 -> 129576 bytes - ...s-retain-gids.3042,3044,3046,3048,304A,304B.ttx | 62443 -------- - ...s-retain-gids.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 0 -> 130604 bytes - ...s-retain-gids.3042,3044,3046,73E0,5EA6,8F38.ttx | 62929 --------- - ...r_subset.drop-hints-retain-gids.61,63,65,6B.otf | Bin 0 -> 3248 bytes - ...r_subset.drop-hints-retain-gids.61,63,65,6B.ttx | 1089 - - ...s-retain-gids.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 0 -> 121776 bytes - ...s-retain-gids.660E,6975,73E0,5EA6,8F38,6E05.ttx | 58100 -------- - ...-Regular_subset.drop-hints-retain-gids.660E.otf | Bin 0 -> 50552 bytes - ...-Regular_subset.drop-hints-retain-gids.660E.ttx | 24429 ---- - ...et.drop-hints.3042,3044,3046,3048,304A,304B.otf | Bin 0 -> 4548 bytes - ...et.drop-hints.3042,3044,3046,3048,304A,304B.ttx | 1083 - - ...et.drop-hints.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 0 -> 5708 bytes - ...et.drop-hints.3042,3044,3046,73E0,5EA6,8F38.ttx | 1619 - - ...nSans-Regular_subset.drop-hints.61,63,65,6B.otf | Bin 0 -> 2448 bytes - ...nSans-Regular_subset.drop-hints.61,63,65,6B.ttx | 643 - - ...et.drop-hints.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 0 -> 6048 bytes - ...et.drop-hints.660E,6975,73E0,5EA6,8F38,6E05.ttx | 1488 - - ...ourceHanSans-Regular_subset.drop-hints.660E.otf | Bin 0 -> 2316 bytes - ...ourceHanSans-Regular_subset.drop-hints.660E.ttx | 553 - - ...t.retain-gids.3042,3044,3046,3048,304A,304B.otf | Bin 0 -> 130036 bytes - ...t.retain-gids.3042,3044,3046,3048,304A,304B.ttx | 62551 -------- - ...t.retain-gids.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 0 -> 131272 bytes - ...t.retain-gids.3042,3044,3046,73E0,5EA6,8F38.ttx | 63039 --------- - ...Sans-Regular_subset.retain-gids.61,63,65,6B.otf | Bin 0 -> 3408 bytes - ...Sans-Regular_subset.retain-gids.61,63,65,6B.ttx | 1139 - - ...t.retain-gids.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 0 -> 122552 bytes - ...t.retain-gids.660E,6975,73E0,5EA6,8F38,6E05.ttx | 58216 -------- - ...urceHanSans-Regular_subset.retain-gids.660E.otf | Bin 0 -> 50776 bytes - ...urceHanSans-Regular_subset.retain-gids.660E.ttx | 24472 ---- - ...039,1005,100A,103A,1038,1010,103D,1031,104A.otf | Bin 0 -> 7724 bytes - ...039,1005,100A,103A,1038,1010,103D,1031,104A.ttx | 2971 - - ...otoSerifMyanmar-Regular.notdef-outline.1092.otf | Bin 0 -> 1380 bytes - ...otoSerifMyanmar-Regular.notdef-outline.1092.ttx | 264 - - .../cmap/AdobeBlank-Regular.default.61,62.ttf | Bin 0 -> 1252 bytes - .../cmap/AdobeBlank-Regular.default.61,62.ttx | 322 - - .../cmap/AdobeBlank-Regular.default.61,FEFA.ttf | Bin 0 -> 1264 bytes - .../cmap/AdobeBlank-Regular.default.61,FEFA.ttx | 320 - - .../cmap/AdobeBlank-Regular.default.FEE6,FECF.ttf | Bin 0 -> 1216 bytes - .../cmap/AdobeBlank-Regular.default.FEE6,FECF.ttx | 314 - - .../cmap/AdobeBlank-Regular.default.FEF9,FEFA.ttf | Bin 0 -> 1204 bytes - .../cmap/AdobeBlank-Regular.default.FEF9,FEFA.ttx | 314 - - .../cmap/AdobeBlank-Regular.default.FEFA.ttf | Bin 0 -> 1184 bytes - .../cmap/AdobeBlank-Regular.default.FEFA.ttx | 303 - - ...eBlank-Regular.drop-hints-retain-gids.61,62.ttf | Bin 0 -> 1468 bytes - ...eBlank-Regular.drop-hints-retain-gids.61,62.ttx | 606 - - ...lank-Regular.drop-hints-retain-gids.61,FEFA.ttf | Bin 0 -> 8232 bytes - ...lank-Regular.drop-hints-retain-gids.61,FEFA.ttx | 7356 - - ...nk-Regular.drop-hints-retain-gids.FEE6,FECF.ttf | Bin 0 -> 8104 bytes - ...nk-Regular.drop-hints-retain-gids.FEE6,FECF.ttx | 7270 - - ...nk-Regular.drop-hints-retain-gids.FEF9,FEFA.ttf | Bin 0 -> 8172 bytes - ...nk-Regular.drop-hints-retain-gids.FEF9,FEFA.ttx | 7350 - - ...beBlank-Regular.drop-hints-retain-gids.FEFA.ttf | Bin 0 -> 8156 bytes - ...beBlank-Regular.drop-hints-retain-gids.FEFA.ttx | 7343 - - .../cmap/AdobeBlank-Regular.drop-hints.61,62.ttf | Bin 0 -> 1080 bytes - .../cmap/AdobeBlank-Regular.drop-hints.61,62.ttx | 218 - - .../cmap/AdobeBlank-Regular.drop-hints.61,FEFA.ttf | Bin 0 -> 1092 bytes - .../cmap/AdobeBlank-Regular.drop-hints.61,FEFA.ttx | 216 - - .../AdobeBlank-Regular.drop-hints.FEE6,FECF.ttf | Bin 0 -> 1044 bytes - .../AdobeBlank-Regular.drop-hints.FEE6,FECF.ttx | 210 - - .../AdobeBlank-Regular.drop-hints.FEF9,FEFA.ttf | Bin 0 -> 1032 bytes - .../AdobeBlank-Regular.drop-hints.FEF9,FEFA.ttx | 210 - - .../cmap/AdobeBlank-Regular.drop-hints.FEFA.ttf | Bin 0 -> 1012 bytes - .../cmap/AdobeBlank-Regular.drop-hints.FEFA.ttx | 199 - - .../cmap/AdobeBlank-Regular.name-ids.61,62.ttf | Bin 0 -> 1000 bytes - .../cmap/AdobeBlank-Regular.name-ids.61,62.ttx | 310 - - .../cmap/AdobeBlank-Regular.name-ids.61,FEFA.ttf | Bin 0 -> 1012 bytes - .../cmap/AdobeBlank-Regular.name-ids.61,FEFA.ttx | 308 - - .../cmap/AdobeBlank-Regular.name-ids.FEE6,FECF.ttf | Bin 0 -> 964 bytes - .../cmap/AdobeBlank-Regular.name-ids.FEE6,FECF.ttx | 302 - - .../cmap/AdobeBlank-Regular.name-ids.FEF9,FEFA.ttf | Bin 0 -> 952 bytes - .../cmap/AdobeBlank-Regular.name-ids.FEF9,FEFA.ttx | 302 - - .../cmap/AdobeBlank-Regular.name-ids.FEFA.ttf | Bin 0 -> 932 bytes - .../cmap/AdobeBlank-Regular.name-ids.FEFA.ttx | 291 - - .../cmap/AdobeBlank-Regular.retain-gids.61,62.ttf | Bin 0 -> 1640 bytes - .../cmap/AdobeBlank-Regular.retain-gids.61,62.ttx | 710 - - .../AdobeBlank-Regular.retain-gids.61,FEFA.ttf | Bin 0 -> 8404 bytes - .../AdobeBlank-Regular.retain-gids.61,FEFA.ttx | 7460 - - .../AdobeBlank-Regular.retain-gids.FEE6,FECF.ttf | Bin 0 -> 8276 bytes - .../AdobeBlank-Regular.retain-gids.FEE6,FECF.ttx | 7374 - - .../AdobeBlank-Regular.retain-gids.FEF9,FEFA.ttf | Bin 0 -> 8344 bytes - .../AdobeBlank-Regular.retain-gids.FEF9,FEFA.ttx | 7454 - - .../cmap/AdobeBlank-Regular.retain-gids.FEFA.ttf | Bin 0 -> 8328 bytes - .../cmap/AdobeBlank-Regular.retain-gids.FEFA.ttx | 7447 - - .../cmap14/cmap14_font1.default.4E00,4E02,4E03.otf | Bin 0 -> 1360 bytes - .../cmap14/cmap14_font1.default.4E00,4E02,4E03.ttx | 276 - - .../cmap14/cmap14_font1.default.4E00,4E03.otf | Bin 0 -> 1236 bytes - .../cmap14/cmap14_font1.default.4E00,4E03.ttx | 261 - - .../cmap14/cmap14_font1.default.4E00,4E05,4E07.otf | Bin 0 -> 1328 bytes - .../cmap14/cmap14_font1.default.4E00,4E05,4E07.ttx | 278 - - .../cmap14/cmap14_font1.default.4E02,4E03,4E08.otf | Bin 0 -> 1576 bytes - .../cmap14/cmap14_font1.default.4E02,4E03,4E08.ttx | 294 - - .../expected/cmap14/cmap14_font1.default.4E02.otf | Bin 0 -> 996 bytes - .../expected/cmap14/cmap14_font1.default.4E02.ttx | 233 - - .../expected/cmap14/cmap14_font1.default.4E03.otf | Bin 0 -> 1080 bytes - .../expected/cmap14/cmap14_font1.default.4E03.ttx | 241 - - .../cmap14_font1.default.4E05,4E07,4E08,4E09.otf | Bin 0 -> 1848 bytes - .../cmap14_font1.default.4E05,4E07,4E08,4E09.ttx | 329 - - .../cmap14/cmap14_font1.default.4E08,4E09.otf | Bin 0 -> 1720 bytes - .../cmap14/cmap14_font1.default.4E08,4E09.ttx | 302 - - .../expected/cmap14/cmap14_font1.default.4E08.otf | Bin 0 -> 1384 bytes - .../expected/cmap14/cmap14_font1.default.4E08.ttx | 265 - - .../cmap14_font1.default.retain-all-codepoint.otf | Bin 0 -> 2348 bytes - .../cmap14_font1.default.retain-all-codepoint.ttx | 418 - - ...font1.drop-hints-retain-gids.4E00,4E02,4E03.otf | Bin 0 -> 1388 bytes - ...font1.drop-hints-retain-gids.4E00,4E02,4E03.ttx | 318 - - ...ap14_font1.drop-hints-retain-gids.4E00,4E03.otf | Bin 0 -> 1272 bytes - ...ap14_font1.drop-hints-retain-gids.4E00,4E03.ttx | 308 - - ...font1.drop-hints-retain-gids.4E00,4E05,4E07.otf | Bin 0 -> 1396 bytes - ...font1.drop-hints-retain-gids.4E00,4E05,4E07.ttx | 340 - - ...font1.drop-hints-retain-gids.4E02,4E03,4E08.otf | Bin 0 -> 1720 bytes - ...font1.drop-hints-retain-gids.4E02,4E03,4E08.ttx | 391 - - .../cmap14_font1.drop-hints-retain-gids.4E02.otf | Bin 0 -> 1028 bytes - .../cmap14_font1.drop-hints-retain-gids.4E02.ttx | 280 - - .../cmap14_font1.drop-hints-retain-gids.4E03.otf | Bin 0 -> 1124 bytes - .../cmap14_font1.drop-hints-retain-gids.4E03.ttx | 293 - - ....drop-hints-retain-gids.4E05,4E07,4E08,4E09.otf | Bin 0 -> 1984 bytes - ....drop-hints-retain-gids.4E05,4E07,4E08,4E09.ttx | 421 - - ...ap14_font1.drop-hints-retain-gids.4E08,4E09.otf | Bin 0 -> 1872 bytes - ...ap14_font1.drop-hints-retain-gids.4E08,4E09.ttx | 404 - - .../cmap14_font1.drop-hints-retain-gids.4E08.otf | Bin 0 -> 1544 bytes - .../cmap14_font1.drop-hints-retain-gids.4E08.ttx | 372 - - ...drop-hints-retain-gids.retain-all-codepoint.otf | Bin 0 -> 2436 bytes - ...drop-hints-retain-gids.retain-all-codepoint.ttx | 480 - - .../cmap14_font1.drop-hints.4E00,4E02,4E03.otf | Bin 0 -> 1292 bytes - .../cmap14_font1.drop-hints.4E00,4E02,4E03.ttx | 268 - - .../cmap14/cmap14_font1.drop-hints.4E00,4E03.otf | Bin 0 -> 1168 bytes - .../cmap14/cmap14_font1.drop-hints.4E00,4E03.ttx | 253 - - .../cmap14_font1.drop-hints.4E00,4E05,4E07.otf | Bin 0 -> 1260 bytes - .../cmap14_font1.drop-hints.4E00,4E05,4E07.ttx | 270 - - .../cmap14_font1.drop-hints.4E02,4E03,4E08.otf | Bin 0 -> 1512 bytes - .../cmap14_font1.drop-hints.4E02,4E03,4E08.ttx | 286 - - .../cmap14/cmap14_font1.drop-hints.4E02.otf | Bin 0 -> 928 bytes - .../cmap14/cmap14_font1.drop-hints.4E02.ttx | 225 - - .../cmap14/cmap14_font1.drop-hints.4E03.otf | Bin 0 -> 1012 bytes - .../cmap14/cmap14_font1.drop-hints.4E03.ttx | 233 - - ...cmap14_font1.drop-hints.4E05,4E07,4E08,4E09.otf | Bin 0 -> 1780 bytes - ...cmap14_font1.drop-hints.4E05,4E07,4E08,4E09.ttx | 321 - - .../cmap14/cmap14_font1.drop-hints.4E08,4E09.otf | Bin 0 -> 1652 bytes - .../cmap14/cmap14_font1.drop-hints.4E08,4E09.ttx | 294 - - .../cmap14/cmap14_font1.drop-hints.4E08.otf | Bin 0 -> 1316 bytes - .../cmap14/cmap14_font1.drop-hints.4E08.ttx | 257 - - ...map14_font1.drop-hints.retain-all-codepoint.otf | Bin 0 -> 2280 bytes - ...map14_font1.drop-hints.retain-all-codepoint.ttx | 410 - - .../cmap14/cmap14_font1.gids.4E00,4E02,4E03.otf | Bin 0 -> 1388 bytes - .../cmap14/cmap14_font1.gids.4E00,4E02,4E03.ttx | 297 - - .../cmap14/cmap14_font1.gids.4E00,4E03.otf | Bin 0 -> 1380 bytes - .../cmap14/cmap14_font1.gids.4E00,4E03.ttx | 289 - - .../cmap14/cmap14_font1.gids.4E00,4E05,4E07.otf | Bin 0 -> 1620 bytes - .../cmap14/cmap14_font1.gids.4E00,4E05,4E07.ttx | 318 - - .../cmap14/cmap14_font1.gids.4E02,4E03,4E08.otf | Bin 0 -> 1744 bytes - .../cmap14/cmap14_font1.gids.4E02,4E03,4E08.ttx | 326 - - .../expected/cmap14/cmap14_font1.gids.4E02.otf | Bin 0 -> 1312 bytes - .../expected/cmap14/cmap14_font1.gids.4E02.ttx | 277 - - .../expected/cmap14/cmap14_font1.gids.4E03.otf | Bin 0 -> 1352 bytes - .../expected/cmap14/cmap14_font1.gids.4E03.ttx | 280 - - .../cmap14_font1.gids.4E05,4E07,4E08,4E09.otf | Bin 0 -> 2164 bytes - .../cmap14_font1.gids.4E05,4E07,4E08,4E09.ttx | 373 - - .../cmap14/cmap14_font1.gids.4E08,4E09.otf | Bin 0 -> 2036 bytes - .../cmap14/cmap14_font1.gids.4E08,4E09.ttx | 346 - - .../expected/cmap14/cmap14_font1.gids.4E08.otf | Bin 0 -> 1704 bytes - .../expected/cmap14/cmap14_font1.gids.4E08.ttx | 309 - - .../cmap14_font1.gids.retain-all-codepoint.otf | Bin 0 -> 2380 bytes - .../cmap14_font1.gids.retain-all-codepoint.ttx | 439 - - .../cmap14_font1.name-ids.4E00,4E02,4E03.otf | Bin 0 -> 1292 bytes - .../cmap14_font1.name-ids.4E00,4E02,4E03.ttx | 264 - - .../cmap14/cmap14_font1.name-ids.4E00,4E03.otf | Bin 0 -> 1168 bytes - .../cmap14/cmap14_font1.name-ids.4E00,4E03.ttx | 249 - - .../cmap14_font1.name-ids.4E00,4E05,4E07.otf | Bin 0 -> 1260 bytes - .../cmap14_font1.name-ids.4E00,4E05,4E07.ttx | 266 - - .../cmap14_font1.name-ids.4E02,4E03,4E08.otf | Bin 0 -> 1508 bytes - .../cmap14_font1.name-ids.4E02,4E03,4E08.ttx | 282 - - .../expected/cmap14/cmap14_font1.name-ids.4E02.otf | Bin 0 -> 928 bytes - .../expected/cmap14/cmap14_font1.name-ids.4E02.ttx | 221 - - .../expected/cmap14/cmap14_font1.name-ids.4E03.otf | Bin 0 -> 1012 bytes - .../expected/cmap14/cmap14_font1.name-ids.4E03.ttx | 229 - - .../cmap14_font1.name-ids.4E05,4E07,4E08,4E09.otf | Bin 0 -> 1780 bytes - .../cmap14_font1.name-ids.4E05,4E07,4E08,4E09.ttx | 317 - - .../cmap14/cmap14_font1.name-ids.4E08,4E09.otf | Bin 0 -> 1652 bytes - .../cmap14/cmap14_font1.name-ids.4E08,4E09.ttx | 290 - - .../expected/cmap14/cmap14_font1.name-ids.4E08.otf | Bin 0 -> 1316 bytes - .../expected/cmap14/cmap14_font1.name-ids.4E08.ttx | 253 - - .../cmap14_font1.name-ids.retain-all-codepoint.otf | Bin 0 -> 2280 bytes - .../cmap14_font1.name-ids.retain-all-codepoint.ttx | 406 - - .../cmap14_font1.retain-gids.4E00,4E02,4E03.otf | Bin 0 -> 1452 bytes - .../cmap14_font1.retain-gids.4E00,4E02,4E03.ttx | 326 - - .../cmap14/cmap14_font1.retain-gids.4E00,4E03.otf | Bin 0 -> 1340 bytes - .../cmap14/cmap14_font1.retain-gids.4E00,4E03.ttx | 316 - - .../cmap14_font1.retain-gids.4E00,4E05,4E07.otf | Bin 0 -> 1464 bytes - .../cmap14_font1.retain-gids.4E00,4E05,4E07.ttx | 348 - - .../cmap14_font1.retain-gids.4E02,4E03,4E08.otf | Bin 0 -> 1788 bytes - .../cmap14_font1.retain-gids.4E02,4E03,4E08.ttx | 399 - - .../cmap14/cmap14_font1.retain-gids.4E02.otf | Bin 0 -> 1096 bytes - .../cmap14/cmap14_font1.retain-gids.4E02.ttx | 288 - - .../cmap14/cmap14_font1.retain-gids.4E03.otf | Bin 0 -> 1192 bytes - .../cmap14/cmap14_font1.retain-gids.4E03.ttx | 301 - - ...map14_font1.retain-gids.4E05,4E07,4E08,4E09.otf | Bin 0 -> 2048 bytes - ...map14_font1.retain-gids.4E05,4E07,4E08,4E09.ttx | 429 - - .../cmap14/cmap14_font1.retain-gids.4E08,4E09.otf | Bin 0 -> 1940 bytes - .../cmap14/cmap14_font1.retain-gids.4E08,4E09.ttx | 412 - - .../cmap14/cmap14_font1.retain-gids.4E08.otf | Bin 0 -> 1608 bytes - .../cmap14/cmap14_font1.retain-gids.4E08.ttx | 380 - - ...ap14_font1.retain-gids.retain-all-codepoint.otf | Bin 0 -> 2500 bytes - ...ap14_font1.retain-gids.retain-all-codepoint.ttx | 488 - - .../cmap14/cmap14_font2.default.4E00,4E02,4E03.otf | Bin 0 -> 1360 bytes - .../cmap14/cmap14_font2.default.4E00,4E02,4E03.ttx | 276 - - .../cmap14/cmap14_font2.default.4E00,4E03.otf | Bin 0 -> 1236 bytes - .../cmap14/cmap14_font2.default.4E00,4E03.ttx | 261 - - .../cmap14/cmap14_font2.default.4E00,4E05,4E07.otf | Bin 0 -> 1332 bytes - .../cmap14/cmap14_font2.default.4E00,4E05,4E07.ttx | 278 - - .../cmap14/cmap14_font2.default.4E02,4E03,4E08.otf | Bin 0 -> 1576 bytes - .../cmap14/cmap14_font2.default.4E02,4E03,4E08.ttx | 294 - - .../expected/cmap14/cmap14_font2.default.4E02.otf | Bin 0 -> 992 bytes - .../expected/cmap14/cmap14_font2.default.4E02.ttx | 233 - - .../expected/cmap14/cmap14_font2.default.4E03.otf | Bin 0 -> 1076 bytes - .../expected/cmap14/cmap14_font2.default.4E03.ttx | 241 - - .../cmap14_font2.default.4E05,4E07,4E08,4E09.otf | Bin 0 -> 1848 bytes - .../cmap14_font2.default.4E05,4E07,4E08,4E09.ttx | 329 - - .../cmap14/cmap14_font2.default.4E08,4E09.otf | Bin 0 -> 1716 bytes - .../cmap14/cmap14_font2.default.4E08,4E09.ttx | 302 - - .../expected/cmap14/cmap14_font2.default.4E08.otf | Bin 0 -> 1380 bytes - .../expected/cmap14/cmap14_font2.default.4E08.ttx | 265 - - .../cmap14_font2.default.retain-all-codepoint.otf | Bin 0 -> 2344 bytes - .../cmap14_font2.default.retain-all-codepoint.ttx | 418 - - ...font2.drop-hints-retain-gids.4E00,4E02,4E03.otf | Bin 0 -> 1388 bytes - ...font2.drop-hints-retain-gids.4E00,4E02,4E03.ttx | 318 - - ...ap14_font2.drop-hints-retain-gids.4E00,4E03.otf | Bin 0 -> 1272 bytes - ...ap14_font2.drop-hints-retain-gids.4E00,4E03.ttx | 308 - - ...font2.drop-hints-retain-gids.4E00,4E05,4E07.otf | Bin 0 -> 1400 bytes - ...font2.drop-hints-retain-gids.4E00,4E05,4E07.ttx | 340 - - ...font2.drop-hints-retain-gids.4E02,4E03,4E08.otf | Bin 0 -> 1720 bytes - ...font2.drop-hints-retain-gids.4E02,4E03,4E08.ttx | 391 - - .../cmap14_font2.drop-hints-retain-gids.4E02.otf | Bin 0 -> 1024 bytes - .../cmap14_font2.drop-hints-retain-gids.4E02.ttx | 280 - - .../cmap14_font2.drop-hints-retain-gids.4E03.otf | Bin 0 -> 1120 bytes - .../cmap14_font2.drop-hints-retain-gids.4E03.ttx | 293 - - ....drop-hints-retain-gids.4E05,4E07,4E08,4E09.otf | Bin 0 -> 1984 bytes - ....drop-hints-retain-gids.4E05,4E07,4E08,4E09.ttx | 421 - - ...ap14_font2.drop-hints-retain-gids.4E08,4E09.otf | Bin 0 -> 1868 bytes - ...ap14_font2.drop-hints-retain-gids.4E08,4E09.ttx | 404 - - .../cmap14_font2.drop-hints-retain-gids.4E08.otf | Bin 0 -> 1540 bytes - .../cmap14_font2.drop-hints-retain-gids.4E08.ttx | 372 - - ...drop-hints-retain-gids.retain-all-codepoint.otf | Bin 0 -> 2432 bytes - ...drop-hints-retain-gids.retain-all-codepoint.ttx | 480 - - .../cmap14_font2.drop-hints.4E00,4E02,4E03.otf | Bin 0 -> 1292 bytes - .../cmap14_font2.drop-hints.4E00,4E02,4E03.ttx | 268 - - .../cmap14/cmap14_font2.drop-hints.4E00,4E03.otf | Bin 0 -> 1168 bytes - .../cmap14/cmap14_font2.drop-hints.4E00,4E03.ttx | 253 - - .../cmap14_font2.drop-hints.4E00,4E05,4E07.otf | Bin 0 -> 1264 bytes - .../cmap14_font2.drop-hints.4E00,4E05,4E07.ttx | 270 - - .../cmap14_font2.drop-hints.4E02,4E03,4E08.otf | Bin 0 -> 1512 bytes - .../cmap14_font2.drop-hints.4E02,4E03,4E08.ttx | 286 - - .../cmap14/cmap14_font2.drop-hints.4E02.otf | Bin 0 -> 924 bytes - .../cmap14/cmap14_font2.drop-hints.4E02.ttx | 225 - - .../cmap14/cmap14_font2.drop-hints.4E03.otf | Bin 0 -> 1008 bytes - .../cmap14/cmap14_font2.drop-hints.4E03.ttx | 233 - - ...cmap14_font2.drop-hints.4E05,4E07,4E08,4E09.otf | Bin 0 -> 1780 bytes - ...cmap14_font2.drop-hints.4E05,4E07,4E08,4E09.ttx | 321 - - .../cmap14/cmap14_font2.drop-hints.4E08,4E09.otf | Bin 0 -> 1648 bytes - .../cmap14/cmap14_font2.drop-hints.4E08,4E09.ttx | 294 - - .../cmap14/cmap14_font2.drop-hints.4E08.otf | Bin 0 -> 1312 bytes - .../cmap14/cmap14_font2.drop-hints.4E08.ttx | 257 - - ...map14_font2.drop-hints.retain-all-codepoint.otf | Bin 0 -> 2276 bytes - ...map14_font2.drop-hints.retain-all-codepoint.ttx | 410 - - .../cmap14/cmap14_font2.gids.4E00,4E02,4E03.otf | Bin 0 -> 1388 bytes - .../cmap14/cmap14_font2.gids.4E00,4E02,4E03.ttx | 297 - - .../cmap14/cmap14_font2.gids.4E00,4E03.otf | Bin 0 -> 1380 bytes - .../cmap14/cmap14_font2.gids.4E00,4E03.ttx | 289 - - .../cmap14/cmap14_font2.gids.4E00,4E05,4E07.otf | Bin 0 -> 1624 bytes - .../cmap14/cmap14_font2.gids.4E00,4E05,4E07.ttx | 318 - - .../cmap14/cmap14_font2.gids.4E02,4E03,4E08.otf | Bin 0 -> 1744 bytes - .../cmap14/cmap14_font2.gids.4E02,4E03,4E08.ttx | 326 - - .../expected/cmap14/cmap14_font2.gids.4E02.otf | Bin 0 -> 1308 bytes - .../expected/cmap14/cmap14_font2.gids.4E02.ttx | 277 - - .../expected/cmap14/cmap14_font2.gids.4E03.otf | Bin 0 -> 1348 bytes - .../expected/cmap14/cmap14_font2.gids.4E03.ttx | 280 - - .../cmap14_font2.gids.4E05,4E07,4E08,4E09.otf | Bin 0 -> 2164 bytes - .../cmap14_font2.gids.4E05,4E07,4E08,4E09.ttx | 373 - - .../cmap14/cmap14_font2.gids.4E08,4E09.otf | Bin 0 -> 2032 bytes - .../cmap14/cmap14_font2.gids.4E08,4E09.ttx | 346 - - .../expected/cmap14/cmap14_font2.gids.4E08.otf | Bin 0 -> 1700 bytes - .../expected/cmap14/cmap14_font2.gids.4E08.ttx | 309 - - .../cmap14_font2.gids.retain-all-codepoint.otf | Bin 0 -> 2376 bytes - .../cmap14_font2.gids.retain-all-codepoint.ttx | 439 - - .../cmap14_font2.name-ids.4E00,4E02,4E03.otf | Bin 0 -> 1292 bytes - .../cmap14_font2.name-ids.4E00,4E02,4E03.ttx | 264 - - .../cmap14/cmap14_font2.name-ids.4E00,4E03.otf | Bin 0 -> 1168 bytes - .../cmap14/cmap14_font2.name-ids.4E00,4E03.ttx | 249 - - .../cmap14_font2.name-ids.4E00,4E05,4E07.otf | Bin 0 -> 1264 bytes - .../cmap14_font2.name-ids.4E00,4E05,4E07.ttx | 266 - - .../cmap14_font2.name-ids.4E02,4E03,4E08.otf | Bin 0 -> 1508 bytes - .../cmap14_font2.name-ids.4E02,4E03,4E08.ttx | 282 - - .../expected/cmap14/cmap14_font2.name-ids.4E02.otf | Bin 0 -> 924 bytes - .../expected/cmap14/cmap14_font2.name-ids.4E02.ttx | 221 - - .../expected/cmap14/cmap14_font2.name-ids.4E03.otf | Bin 0 -> 1008 bytes - .../expected/cmap14/cmap14_font2.name-ids.4E03.ttx | 229 - - .../cmap14_font2.name-ids.4E05,4E07,4E08,4E09.otf | Bin 0 -> 1780 bytes - .../cmap14_font2.name-ids.4E05,4E07,4E08,4E09.ttx | 317 - - .../cmap14/cmap14_font2.name-ids.4E08,4E09.otf | Bin 0 -> 1648 bytes - .../cmap14/cmap14_font2.name-ids.4E08,4E09.ttx | 290 - - .../expected/cmap14/cmap14_font2.name-ids.4E08.otf | Bin 0 -> 1312 bytes - .../expected/cmap14/cmap14_font2.name-ids.4E08.ttx | 253 - - .../cmap14_font2.name-ids.retain-all-codepoint.otf | Bin 0 -> 2276 bytes - .../cmap14_font2.name-ids.retain-all-codepoint.ttx | 406 - - .../cmap14_font2.retain-gids.4E00,4E02,4E03.otf | Bin 0 -> 1452 bytes - .../cmap14_font2.retain-gids.4E00,4E02,4E03.ttx | 326 - - .../cmap14/cmap14_font2.retain-gids.4E00,4E03.otf | Bin 0 -> 1340 bytes - .../cmap14/cmap14_font2.retain-gids.4E00,4E03.ttx | 316 - - .../cmap14_font2.retain-gids.4E00,4E05,4E07.otf | Bin 0 -> 1468 bytes - .../cmap14_font2.retain-gids.4E00,4E05,4E07.ttx | 348 - - .../cmap14_font2.retain-gids.4E02,4E03,4E08.otf | Bin 0 -> 1788 bytes - .../cmap14_font2.retain-gids.4E02,4E03,4E08.ttx | 399 - - .../cmap14/cmap14_font2.retain-gids.4E02.otf | Bin 0 -> 1092 bytes - .../cmap14/cmap14_font2.retain-gids.4E02.ttx | 288 - - .../cmap14/cmap14_font2.retain-gids.4E03.otf | Bin 0 -> 1188 bytes - .../cmap14/cmap14_font2.retain-gids.4E03.ttx | 301 - - ...map14_font2.retain-gids.4E05,4E07,4E08,4E09.otf | Bin 0 -> 2048 bytes - ...map14_font2.retain-gids.4E05,4E07,4E08,4E09.ttx | 429 - - .../cmap14/cmap14_font2.retain-gids.4E08,4E09.otf | Bin 0 -> 1936 bytes - .../cmap14/cmap14_font2.retain-gids.4E08,4E09.ttx | 412 - - .../cmap14/cmap14_font2.retain-gids.4E08.otf | Bin 0 -> 1604 bytes - .../cmap14/cmap14_font2.retain-gids.4E08.ttx | 380 - - ...ap14_font2.retain-gids.retain-all-codepoint.otf | Bin 0 -> 2496 bytes - ...ap14_font2.retain-gids.retain-all-codepoint.ttx | 488 - - .../TwemojiMozilla.subset.default.32,3297,3299.ttf | Bin 0 -> 1936 bytes - .../TwemojiMozilla.subset.default.32,3297,3299.ttx | 626 - - .../colr/TwemojiMozilla.subset.default.32,3297.ttf | Bin 0 -> 1400 bytes - .../colr/TwemojiMozilla.subset.default.32,3297.ttx | 411 - - .../colr/TwemojiMozilla.subset.default.32,3299.ttf | Bin 0 -> 1576 bytes - .../colr/TwemojiMozilla.subset.default.32,3299.ttx | 475 - - .../colr/TwemojiMozilla.subset.default.32.ttf | Bin 0 -> 932 bytes - .../colr/TwemojiMozilla.subset.default.32.ttx | 231 - - .../TwemojiMozilla.subset.default.3297,3299.ttf | Bin 0 -> 1916 bytes - .../TwemojiMozilla.subset.default.3297,3299.ttx | 617 - - .../colr/TwemojiMozilla.subset.default.3297.ttf | Bin 0 -> 1376 bytes - .../colr/TwemojiMozilla.subset.default.3297.ttx | 402 - - .../colr/TwemojiMozilla.subset.default.3299.ttf | Bin 0 -> 1552 bytes - .../colr/TwemojiMozilla.subset.default.3299.ttx | 466 - - ....subset.drop-hints-retain-gids.32,3297,3299.ttf | Bin 0 -> 1916 bytes - ....subset.drop-hints-retain-gids.32,3297,3299.ttx | 621 - - ...zilla.subset.drop-hints-retain-gids.32,3297.ttf | Bin 0 -> 1396 bytes - ...zilla.subset.drop-hints-retain-gids.32,3297.ttx | 410 - - ...zilla.subset.drop-hints-retain-gids.32,3299.ttf | Bin 0 -> 1576 bytes - ...zilla.subset.drop-hints-retain-gids.32,3299.ttx | 478 - - ...ojiMozilla.subset.drop-hints-retain-gids.32.ttf | Bin 0 -> 912 bytes - ...ojiMozilla.subset.drop-hints-retain-gids.32.ttx | 226 - - ...lla.subset.drop-hints-retain-gids.3297,3299.ttf | Bin 0 -> 1900 bytes - ...lla.subset.drop-hints-retain-gids.3297,3299.ttx | 616 - - ...iMozilla.subset.drop-hints-retain-gids.3297.ttf | Bin 0 -> 1372 bytes - ...iMozilla.subset.drop-hints-retain-gids.3297.ttx | 405 - - ...iMozilla.subset.drop-hints-retain-gids.3299.ttf | Bin 0 -> 1552 bytes - ...iMozilla.subset.drop-hints-retain-gids.3299.ttx | 473 - - ...emojiMozilla.subset.drop-hints.32,3297,3299.ttf | Bin 0 -> 1916 bytes - ...emojiMozilla.subset.drop-hints.32,3297,3299.ttx | 621 - - .../TwemojiMozilla.subset.drop-hints.32,3297.ttf | Bin 0 -> 1380 bytes - .../TwemojiMozilla.subset.drop-hints.32,3297.ttx | 406 - - .../TwemojiMozilla.subset.drop-hints.32,3299.ttf | Bin 0 -> 1556 bytes - .../TwemojiMozilla.subset.drop-hints.32,3299.ttx | 470 - - .../colr/TwemojiMozilla.subset.drop-hints.32.ttf | Bin 0 -> 912 bytes - .../colr/TwemojiMozilla.subset.drop-hints.32.ttx | 226 - - .../TwemojiMozilla.subset.drop-hints.3297,3299.ttf | Bin 0 -> 1896 bytes - .../TwemojiMozilla.subset.drop-hints.3297,3299.ttx | 612 - - .../colr/TwemojiMozilla.subset.drop-hints.3297.ttf | Bin 0 -> 1356 bytes - .../colr/TwemojiMozilla.subset.drop-hints.3297.ttx | 397 - - .../colr/TwemojiMozilla.subset.drop-hints.3299.ttf | Bin 0 -> 1532 bytes - .../colr/TwemojiMozilla.subset.drop-hints.3299.ttx | 461 - - ...mojiMozilla.subset.retain-gids.32,3297,3299.ttf | Bin 0 -> 1936 bytes - ...mojiMozilla.subset.retain-gids.32,3297,3299.ttx | 626 - - .../TwemojiMozilla.subset.retain-gids.32,3297.ttf | Bin 0 -> 1416 bytes - .../TwemojiMozilla.subset.retain-gids.32,3297.ttx | 415 - - .../TwemojiMozilla.subset.retain-gids.32,3299.ttf | Bin 0 -> 1596 bytes - .../TwemojiMozilla.subset.retain-gids.32,3299.ttx | 483 - - .../colr/TwemojiMozilla.subset.retain-gids.32.ttf | Bin 0 -> 932 bytes - .../colr/TwemojiMozilla.subset.retain-gids.32.ttx | 231 - - ...TwemojiMozilla.subset.retain-gids.3297,3299.ttf | Bin 0 -> 1920 bytes - ...TwemojiMozilla.subset.retain-gids.3297,3299.ttx | 621 - - .../TwemojiMozilla.subset.retain-gids.3297.ttf | Bin 0 -> 1392 bytes - .../TwemojiMozilla.subset.retain-gids.3297.ttx | 410 - - .../TwemojiMozilla.subset.retain-gids.3299.ttf | Bin 0 -> 1572 bytes - .../TwemojiMozilla.subset.retain-gids.3299.ttx | 478 - - .../colr_with_components/colr-table.default.6B.ttf | Bin 0 -> 4260 bytes - .../colr_with_components/colr-table.default.6B.ttx | 1435 - - .../colr-table.drop-hints-retain-gids.6B.ttf | Bin 0 -> 4984 bytes - .../colr-table.drop-hints-retain-gids.6B.ttx | 1919 - - .../colr-table.drop-hints.6B.ttf | Bin 0 -> 4260 bytes - .../colr-table.drop-hints.6B.ttx | 1435 - - .../colr-table.retain-gids.6B.ttf | Bin 0 -> 4984 bytes - .../colr-table.retain-gids.6B.ttx | 1919 - - ...oColrEmojiGlyf-Regular.subset.default.1f35e.ttf | Bin 0 -> 3004 bytes - ...oColrEmojiGlyf-Regular.subset.default.1f35e.ttx | 1077 - - ...oColrEmojiGlyf-Regular.subset.default.1f696.ttf | Bin 0 -> 3752 bytes - ...oColrEmojiGlyf-Regular.subset.default.1f696.ttx | 1449 - - ...Regular.subset.drop-hints-retain-gids.1f35e.ttf | Bin 0 -> 3516 bytes - ...Regular.subset.drop-hints-retain-gids.1f35e.ttx | 1417 - - ...Regular.subset.drop-hints-retain-gids.1f696.ttf | Bin 0 -> 5048 bytes - ...Regular.subset.drop-hints-retain-gids.1f696.ttx | 2313 - - ...lrEmojiGlyf-Regular.subset.drop-hints.1f35e.ttf | Bin 0 -> 3004 bytes - ...lrEmojiGlyf-Regular.subset.drop-hints.1f35e.ttx | 1077 - - ...lrEmojiGlyf-Regular.subset.drop-hints.1f696.ttf | Bin 0 -> 3752 bytes - ...lrEmojiGlyf-Regular.subset.drop-hints.1f696.ttx | 1449 - - ...rEmojiGlyf-Regular.subset.retain-gids.1f35e.ttf | Bin 0 -> 3516 bytes - ...rEmojiGlyf-Regular.subset.retain-gids.1f35e.ttx | 1417 - - ...rEmojiGlyf-Regular.subset.retain-gids.1f696.ttf | Bin 0 -> 5048 bytes - ...rEmojiGlyf-Regular.subset.retain-gids.1f696.ttx | 2313 - - .../colrv1/TestCOLRv1.default.E000,E004.ttf | Bin 0 -> 900 bytes - .../colrv1/TestCOLRv1.default.E000,E004.ttx | 316 - - .../colrv1/TestCOLRv1.default.E003,E004.ttf | Bin 0 -> 1000 bytes - .../colrv1/TestCOLRv1.default.E003,E004.ttx | 367 - - .../expected/colrv1/TestCOLRv1.default.E004.ttf | Bin 0 -> 744 bytes - .../expected/colrv1/TestCOLRv1.default.E004.ttx | 231 - - .../TestCOLRv1.default.retain-all-codepoint.ttf | Bin 0 -> 1444 bytes - .../TestCOLRv1.default.retain-all-codepoint.ttx | 596 - - ...TestCOLRv1.drop-hints-retain-gids.E000,E004.ttf | Bin 0 -> 984 bytes - ...TestCOLRv1.drop-hints-retain-gids.E000,E004.ttx | 364 - - ...TestCOLRv1.drop-hints-retain-gids.E003,E004.ttf | Bin 0 -> 1076 bytes - ...TestCOLRv1.drop-hints-retain-gids.E003,E004.ttx | 411 - - .../TestCOLRv1.drop-hints-retain-gids.E004.ttf | Bin 0 -> 836 bytes - .../TestCOLRv1.drop-hints-retain-gids.E004.ttx | 291 - - ...drop-hints-retain-gids.retain-all-codepoint.ttf | Bin 0 -> 1444 bytes - ...drop-hints-retain-gids.retain-all-codepoint.ttx | 596 - - .../colrv1/TestCOLRv1.drop-hints.E000,E004.ttf | Bin 0 -> 900 bytes - .../colrv1/TestCOLRv1.drop-hints.E000,E004.ttx | 316 - - .../colrv1/TestCOLRv1.drop-hints.E003,E004.ttf | Bin 0 -> 1000 bytes - .../colrv1/TestCOLRv1.drop-hints.E003,E004.ttx | 367 - - .../expected/colrv1/TestCOLRv1.drop-hints.E004.ttf | Bin 0 -> 744 bytes - .../expected/colrv1/TestCOLRv1.drop-hints.E004.ttx | 231 - - .../TestCOLRv1.drop-hints.retain-all-codepoint.ttf | Bin 0 -> 1444 bytes - .../TestCOLRv1.drop-hints.retain-all-codepoint.ttx | 596 - - .../colrv1/TestCOLRv1.retain-gids.E000,E004.ttf | Bin 0 -> 984 bytes - .../colrv1/TestCOLRv1.retain-gids.E000,E004.ttx | 364 - - .../colrv1/TestCOLRv1.retain-gids.E003,E004.ttf | Bin 0 -> 1076 bytes - .../colrv1/TestCOLRv1.retain-gids.E003,E004.ttx | 411 - - .../colrv1/TestCOLRv1.retain-gids.E004.ttf | Bin 0 -> 836 bytes - .../colrv1/TestCOLRv1.retain-gids.E004.ttx | 291 - - ...TestCOLRv1.retain-gids.retain-all-codepoint.ttf | Bin 0 -> 1444 bytes - ...TestCOLRv1.retain-gids.retain-all-codepoint.ttx | 596 - - .../Roboto-Regular.default.1FC,21,41,20,62,63.ttf | Bin 0 -> 3080 bytes - .../Roboto-Regular.default.1FC,21,41,20,62,63.ttx | 1659 - - .../full-font/Roboto-Regular.default.61,62,63.ttf | Bin 0 -> 2672 bytes - .../full-font/Roboto-Regular.default.61,62,63.ttx | 1422 - - .../Roboto-Regular.default.D7,D8,D9,DA,DE.ttf | Bin 0 -> 3024 bytes - .../Roboto-Regular.default.D7,D8,D9,DA,DE.ttx | 1571 - - ...oboto-Regular.drop-hints.1FC,21,41,20,62,63.ttf | Bin 0 -> 1632 bytes - ...oboto-Regular.drop-hints.1FC,21,41,20,62,63.ttx | 549 - - .../Roboto-Regular.drop-hints.61,62,63.ttf | Bin 0 -> 1412 bytes - .../Roboto-Regular.drop-hints.61,62,63.ttx | 494 - - .../Roboto-Regular.drop-hints.D7,D8,D9,DA,DE.ttf | Bin 0 -> 1648 bytes - .../Roboto-Regular.drop-hints.D7,D8,D9,DA,DE.ttx | 529 - - ...ifVariable-Roman.default.1FC,21,41,20,62,63.ttf | Bin 0 -> 3992 bytes - ...ifVariable-Roman.default.1FC,21,41,20,62,63.ttx | 1355 - - .../SourceSerifVariable-Roman.default.61,62,63.ttf | Bin 0 -> 3832 bytes - .../SourceSerifVariable-Roman.default.61,62,63.ttx | 1262 - - ...eSerifVariable-Roman.default.D7,D8,D9,DA,DE.ttf | Bin 0 -> 4396 bytes - ...eSerifVariable-Roman.default.D7,D8,D9,DA,DE.ttx | 1522 - - ...ariable-Roman.drop-hints.1FC,21,41,20,62,63.ttf | Bin 0 -> 3968 bytes - ...ariable-Roman.drop-hints.1FC,21,41,20,62,63.ttx | 1349 - - ...urceSerifVariable-Roman.drop-hints.61,62,63.ttf | Bin 0 -> 3832 bytes - ...urceSerifVariable-Roman.drop-hints.61,62,63.ttx | 1262 - - ...rifVariable-Roman.drop-hints.D7,D8,D9,DA,DE.ttf | Bin 0 -> 4396 bytes - ...rifVariable-Roman.drop-hints.D7,D8,D9,DA,DE.ttx | 1522 - - .../Mplus1p-Regular.default.1D715,1D7D8,41,42.ttf | Bin 0 -> 2344 bytes - .../Mplus1p-Regular.default.1D715,1D7D8,41,42.ttx | 1187 - - .../japanese/Mplus1p-Regular.default.25771.ttf | Bin 0 -> 1992 bytes - .../japanese/Mplus1p-Regular.default.25771.ttx | 1033 - - ...gular.default.3042,3044,3046,3048,304A,304B.ttf | Bin 0 -> 2704 bytes - ...gular.default.3042,3044,3046,3048,304A,304B.ttx | 1296 - - ...gular.default.3042,3044,3046,73E0,5EA6,8F38.ttf | Bin 0 -> 2948 bytes - ...gular.default.3042,3044,3046,73E0,5EA6,8F38.ttx | 1403 - - .../Mplus1p-Regular.default.61,63,65,6B.ttf | Bin 0 -> 2324 bytes - .../Mplus1p-Regular.default.61,63,65,6B.ttx | 1172 - - ...gular.default.660E,6975,73E0,5EA6,8F38,6E05.ttf | Bin 0 -> 3244 bytes - ...gular.default.660E,6975,73E0,5EA6,8F38,6E05.ttx | 1522 - - .../japanese/Mplus1p-Regular.default.660E.ttf | Bin 0 -> 1984 bytes - .../japanese/Mplus1p-Regular.default.660E.ttx | 1024 - - ...plus1p-Regular.drop-hints.1D715,1D7D8,41,42.ttf | Bin 0 -> 1616 bytes - ...plus1p-Regular.drop-hints.1D715,1D7D8,41,42.ttx | 522 - - .../japanese/Mplus1p-Regular.drop-hints.25771.ttf | Bin 0 -> 1264 bytes - .../japanese/Mplus1p-Regular.drop-hints.25771.ttx | 368 - - ...ar.drop-hints.3042,3044,3046,3048,304A,304B.ttf | Bin 0 -> 1976 bytes - ...ar.drop-hints.3042,3044,3046,3048,304A,304B.ttx | 631 - - ...ar.drop-hints.3042,3044,3046,73E0,5EA6,8F38.ttf | Bin 0 -> 2220 bytes - ...ar.drop-hints.3042,3044,3046,73E0,5EA6,8F38.ttx | 738 - - .../Mplus1p-Regular.drop-hints.61,63,65,6B.ttf | Bin 0 -> 1596 bytes - .../Mplus1p-Regular.drop-hints.61,63,65,6B.ttx | 507 - - ...ar.drop-hints.660E,6975,73E0,5EA6,8F38,6E05.ttf | Bin 0 -> 2516 bytes - ...ar.drop-hints.660E,6975,73E0,5EA6,8F38,6E05.ttx | 857 - - .../japanese/Mplus1p-Regular.drop-hints.660E.ttf | Bin 0 -> 1256 bytes - .../japanese/Mplus1p-Regular.drop-hints.660E.ttx | 359 - - ...Mplus1p-Regular.keep-gdef.1D715,1D7D8,41,42.ttf | Bin 0 -> 2344 bytes - ...Mplus1p-Regular.keep-gdef.1D715,1D7D8,41,42.ttx | 1187 - - .../japanese/Mplus1p-Regular.keep-gdef.25771.ttf | Bin 0 -> 1992 bytes - .../japanese/Mplus1p-Regular.keep-gdef.25771.ttx | 1033 - - ...lar.keep-gdef.3042,3044,3046,3048,304A,304B.ttf | Bin 0 -> 2704 bytes - ...lar.keep-gdef.3042,3044,3046,3048,304A,304B.ttx | 1296 - - ...lar.keep-gdef.3042,3044,3046,73E0,5EA6,8F38.ttf | Bin 0 -> 2948 bytes - ...lar.keep-gdef.3042,3044,3046,73E0,5EA6,8F38.ttx | 1403 - - .../Mplus1p-Regular.keep-gdef.61,63,65,6B.ttf | Bin 0 -> 2324 bytes - .../Mplus1p-Regular.keep-gdef.61,63,65,6B.ttx | 1172 - - ...lar.keep-gdef.660E,6975,73E0,5EA6,8F38,6E05.ttf | Bin 0 -> 3244 bytes - ...lar.keep-gdef.660E,6975,73E0,5EA6,8F38,6E05.ttx | 1522 - - .../japanese/Mplus1p-Regular.keep-gdef.660E.ttf | Bin 0 -> 1984 bytes - .../japanese/Mplus1p-Regular.keep-gdef.660E.ttx | 1024 - - ...text1_multiple_subrules_f1.default.41,42,43.otf | Bin 0 -> 1328 bytes - ...text1_multiple_subrules_f1.default.41,42,43.ttx | 284 - - ...context1_multiple_subrules_f1.default.41,42.otf | Bin 0 -> 1228 bytes - ...context1_multiple_subrules_f1.default.41,42.ttx | 265 - - ...context1_multiple_subrules_f1.default.41,43.otf | Bin 0 -> 1332 bytes - ...context1_multiple_subrules_f1.default.41,43.ttx | 275 - - ...os_context1_multiple_subrules_f1.default.41.otf | Bin 0 -> 1216 bytes - ...os_context1_multiple_subrules_f1.default.41.ttx | 256 - - ...le_subrules_f1.default.retain-all-codepoint.otf | Bin 0 -> 3700 bytes - ...le_subrules_f1.default.retain-all-codepoint.ttx | 1247 - - ...1_multiple_subrules_f1.retain-gids.41,42,43.otf | Bin 0 -> 2028 bytes - ...1_multiple_subrules_f1.retain-gids.41,42,43.ttx | 604 - - ...ext1_multiple_subrules_f1.retain-gids.41,42.otf | Bin 0 -> 1932 bytes - ...ext1_multiple_subrules_f1.retain-gids.41,42.ttx | 585 - - ...ext1_multiple_subrules_f1.retain-gids.41,43.otf | Bin 0 -> 2048 bytes - ...ext1_multiple_subrules_f1.retain-gids.41,43.ttx | 600 - - ...ontext1_multiple_subrules_f1.retain-gids.41.otf | Bin 0 -> 1916 bytes - ...ontext1_multiple_subrules_f1.retain-gids.41.ttx | 576 - - ...ubrules_f1.retain-gids.retain-all-codepoint.otf | Bin 0 -> 3700 bytes - ...ubrules_f1.retain-gids.retain-all-codepoint.ttx | 1247 - - ...text2_multiple_subrules_f1.default.41,42,43.otf | Bin 0 -> 1328 bytes - ...text2_multiple_subrules_f1.default.41,42,43.ttx | 284 - - ...context2_multiple_subrules_f1.default.41,42.otf | Bin 0 -> 1228 bytes - ...context2_multiple_subrules_f1.default.41,42.ttx | 265 - - ...context2_multiple_subrules_f1.default.41,43.otf | Bin 0 -> 1332 bytes - ...context2_multiple_subrules_f1.default.41,43.ttx | 275 - - ...os_context2_multiple_subrules_f1.default.41.otf | Bin 0 -> 1216 bytes - ...os_context2_multiple_subrules_f1.default.41.ttx | 256 - - ...le_subrules_f1.default.retain-all-codepoint.otf | Bin 0 -> 3700 bytes - ...le_subrules_f1.default.retain-all-codepoint.ttx | 1247 - - ...2_multiple_subrules_f1.retain-gids.41,42,43.otf | Bin 0 -> 2028 bytes - ...2_multiple_subrules_f1.retain-gids.41,42,43.ttx | 604 - - ...ext2_multiple_subrules_f1.retain-gids.41,42.otf | Bin 0 -> 1932 bytes - ...ext2_multiple_subrules_f1.retain-gids.41,42.ttx | 585 - - ...ext2_multiple_subrules_f1.retain-gids.41,43.otf | Bin 0 -> 2048 bytes - ...ext2_multiple_subrules_f1.retain-gids.41,43.ttx | 600 - - ...ontext2_multiple_subrules_f1.retain-gids.41.otf | Bin 0 -> 1916 bytes - ...ontext2_multiple_subrules_f1.retain-gids.41.ttx | 576 - - ...ubrules_f1.retain-gids.retain-all-codepoint.otf | Bin 0 -> 3700 bytes - ...ubrules_f1.retain-gids.retain-all-codepoint.ttx | 1247 - - .../gpos_context3_simple_f1.default.41,42,43.otf | Bin 0 -> 1308 bytes - .../gpos_context3_simple_f1.default.41,42,43.ttx | 284 - - .../gpos_context3_simple_f1.default.41,42.otf | Bin 0 -> 1208 bytes - .../gpos_context3_simple_f1.default.41,42.ttx | 265 - - .../gpos_context3_simple_f1.default.41,43.otf | Bin 0 -> 1312 bytes - .../gpos_context3_simple_f1.default.41,43.ttx | 275 - - .../gpos_context3_simple_f1.default.41.otf | Bin 0 -> 1196 bytes - .../gpos_context3_simple_f1.default.41.ttx | 256 - - ...ext3_simple_f1.default.retain-all-codepoint.otf | Bin 0 -> 3680 bytes - ...ext3_simple_f1.default.retain-all-codepoint.ttx | 1247 - - ...pos_context3_simple_f1.retain-gids.41,42,43.otf | Bin 0 -> 2008 bytes - ...pos_context3_simple_f1.retain-gids.41,42,43.ttx | 604 - - .../gpos_context3_simple_f1.retain-gids.41,42.otf | Bin 0 -> 1912 bytes - .../gpos_context3_simple_f1.retain-gids.41,42.ttx | 585 - - .../gpos_context3_simple_f1.retain-gids.41,43.otf | Bin 0 -> 2028 bytes - .../gpos_context3_simple_f1.retain-gids.41,43.ttx | 600 - - .../gpos_context3_simple_f1.retain-gids.41.otf | Bin 0 -> 1896 bytes - .../gpos_context3_simple_f1.retain-gids.41.ttx | 576 - - ..._simple_f1.retain-gids.retain-all-codepoint.otf | Bin 0 -> 3680 bytes - ..._simple_f1.retain-gids.retain-all-codepoint.ttx | 1247 - - .../IndicTestJalandhar-Regular.default.A01.ttf | Bin 0 -> 4176 bytes - .../IndicTestJalandhar-Regular.default.A01.ttx | 2916 - - .../IndicTestJalandhar-Regular.default.A05,A06.ttf | Bin 0 -> 4752 bytes - .../IndicTestJalandhar-Regular.default.A05,A06.ttx | 3167 - - .../IndicTestJalandhar-Regular.default.A07,A1B.ttf | Bin 0 -> 4724 bytes - .../IndicTestJalandhar-Regular.default.A07,A1B.ttx | 3148 - - ...andhar-Regular.default.retain-all-codepoint.ttf | Bin 0 -> 49244 bytes - ...andhar-Regular.default.retain-all-codepoint.ttx | 22554 --- - .../IndicTestJalandhar-Regular.drop-hints.A01.ttf | Bin 0 -> 1036 bytes - .../IndicTestJalandhar-Regular.drop-hints.A01.ttx | 281 - - ...dicTestJalandhar-Regular.drop-hints.A05,A06.ttf | Bin 0 -> 1344 bytes - ...dicTestJalandhar-Regular.drop-hints.A05,A06.ttx | 403 - - ...dicTestJalandhar-Regular.drop-hints.A07,A1B.ttf | Bin 0 -> 1344 bytes - ...dicTestJalandhar-Regular.drop-hints.A07,A1B.ttx | 404 - - ...har-Regular.drop-hints.retain-all-codepoint.ttf | Bin 0 -> 29464 bytes - ...har-Regular.drop-hints.retain-all-codepoint.ttx | 11627 -- - .../IndicTestJalandhar-Regular.keep-gdef.A01.ttf | Bin 0 -> 4176 bytes - .../IndicTestJalandhar-Regular.keep-gdef.A01.ttx | 2916 - - ...ndicTestJalandhar-Regular.keep-gdef.A05,A06.ttf | Bin 0 -> 4752 bytes - ...ndicTestJalandhar-Regular.keep-gdef.A05,A06.ttx | 3167 - - ...ndicTestJalandhar-Regular.keep-gdef.A07,A1B.ttf | Bin 0 -> 4724 bytes - ...ndicTestJalandhar-Regular.keep-gdef.A07,A1B.ttx | 3148 - - ...dhar-Regular.keep-gdef.retain-all-codepoint.ttf | Bin 0 -> 49244 bytes - ...dhar-Regular.keep-gdef.retain-all-codepoint.ttx | 22554 --- - .../AdobeVFPrototype.default.41,42,43,57.otf | Bin 0 -> 5440 bytes - .../AdobeVFPrototype.default.41,42,43,57.ttx | 1536 - - .../AdobeVFPrototype.default.41,42,43.otf | Bin 0 -> 4908 bytes - .../AdobeVFPrototype.default.41,42,43.ttx | 1338 - - .../AdobeVFPrototype.default.41,42.otf | Bin 0 -> 4432 bytes - .../AdobeVFPrototype.default.41,42.ttx | 1201 - - .../AdobeVFPrototype.default.41,56,57.otf | Bin 0 -> 4576 bytes - .../AdobeVFPrototype.default.41,56,57.ttx | 1310 - - .../AdobeVFPrototype.default.41.otf | Bin 0 -> 3728 bytes - .../AdobeVFPrototype.default.41.ttx | 1000 - - .../AdobeVFPrototype.default.42,57.otf | Bin 0 -> 4564 bytes - .../AdobeVFPrototype.default.42,57.ttx | 1253 - - .../AdobeVFPrototype.drop-hints.41,42,43,57.otf | Bin 0 -> 5252 bytes - .../AdobeVFPrototype.drop-hints.41,42,43,57.ttx | 1500 - - .../AdobeVFPrototype.drop-hints.41,42,43.otf | Bin 0 -> 4720 bytes - .../AdobeVFPrototype.drop-hints.41,42,43.ttx | 1302 - - .../AdobeVFPrototype.drop-hints.41,42.otf | Bin 0 -> 4244 bytes - .../AdobeVFPrototype.drop-hints.41,42.ttx | 1165 - - .../AdobeVFPrototype.drop-hints.41,56,57.otf | Bin 0 -> 4384 bytes - .../AdobeVFPrototype.drop-hints.41,56,57.ttx | 1274 - - .../AdobeVFPrototype.drop-hints.41.otf | Bin 0 -> 3540 bytes - .../AdobeVFPrototype.drop-hints.41.ttx | 964 - - .../AdobeVFPrototype.drop-hints.42,57.otf | Bin 0 -> 4376 bytes - .../AdobeVFPrototype.drop-hints.42,57.ttx | 1217 - - ...AdobeVFPrototype.keep-gdef-gpos.41,42,43,57.otf | Bin 0 -> 5440 bytes - ...AdobeVFPrototype.keep-gdef-gpos.41,42,43,57.ttx | 1536 - - .../AdobeVFPrototype.keep-gdef-gpos.41,42,43.otf | Bin 0 -> 4908 bytes - .../AdobeVFPrototype.keep-gdef-gpos.41,42,43.ttx | 1338 - - .../AdobeVFPrototype.keep-gdef-gpos.41,42.otf | Bin 0 -> 4432 bytes - .../AdobeVFPrototype.keep-gdef-gpos.41,42.ttx | 1201 - - .../AdobeVFPrototype.keep-gdef-gpos.41,56,57.otf | Bin 0 -> 4576 bytes - .../AdobeVFPrototype.keep-gdef-gpos.41,56,57.ttx | 1310 - - .../AdobeVFPrototype.keep-gdef-gpos.41.otf | Bin 0 -> 3728 bytes - .../AdobeVFPrototype.keep-gdef-gpos.41.ttx | 1000 - - .../AdobeVFPrototype.keep-gdef-gpos.42,57.otf | Bin 0 -> 4564 bytes - .../AdobeVFPrototype.keep-gdef-gpos.42,57.ttx | 1253 - - .../Roboto-Regular.default.1E00,303.ttf | Bin 0 -> 2524 bytes - .../Roboto-Regular.default.1E00,303.ttx | 1258 - - .../layout.gdef/Roboto-Regular.default.303.ttf | Bin 0 -> 2116 bytes - .../layout.gdef/Roboto-Regular.default.303.ttx | 1012 - - .../Roboto-Regular.default.309,20,30F.ttf | Bin 0 -> 2212 bytes - .../Roboto-Regular.default.309,20,30F.ttx | 1054 - - .../layout.gdef/Roboto-Regular.default.323.ttf | Bin 0 -> 2008 bytes - .../layout.gdef/Roboto-Regular.default.323.ttx | 949 - - .../Roboto-Regular.default.41,42,43.ttf | Bin 0 -> 2572 bytes - .../Roboto-Regular.default.41,42,43.ttx | 1349 - - .../Roboto-Regular.drop-hints.1E00,303.ttf | Bin 0 -> 1380 bytes - .../Roboto-Regular.drop-hints.1E00,303.ttx | 443 - - .../layout.gdef/Roboto-Regular.drop-hints.303.ttf | Bin 0 -> 1112 bytes - .../layout.gdef/Roboto-Regular.drop-hints.303.ttx | 312 - - .../Roboto-Regular.drop-hints.309,20,30F.ttf | Bin 0 -> 1172 bytes - .../Roboto-Regular.drop-hints.309,20,30F.ttx | 328 - - .../layout.gdef/Roboto-Regular.drop-hints.323.ttf | Bin 0 -> 1056 bytes - .../layout.gdef/Roboto-Regular.drop-hints.323.ttx | 291 - - .../Roboto-Regular.drop-hints.41,42,43.ttf | Bin 0 -> 1388 bytes - .../Roboto-Regular.drop-hints.41,42,43.ttx | 480 - - .../Roboto-Regular.keep-gdef-gpos.1E00,303.ttf | Bin 0 -> 2524 bytes - .../Roboto-Regular.keep-gdef-gpos.1E00,303.ttx | 1258 - - .../Roboto-Regular.keep-gdef-gpos.303.ttf | Bin 0 -> 2116 bytes - .../Roboto-Regular.keep-gdef-gpos.303.ttx | 1012 - - .../Roboto-Regular.keep-gdef-gpos.309,20,30F.ttf | Bin 0 -> 2212 bytes - .../Roboto-Regular.keep-gdef-gpos.309,20,30F.ttx | 1054 - - .../Roboto-Regular.keep-gdef-gpos.323.ttf | Bin 0 -> 2008 bytes - .../Roboto-Regular.keep-gdef-gpos.323.ttx | 949 - - .../Roboto-Regular.keep-gdef-gpos.41,42,43.ttf | Bin 0 -> 2572 bytes - .../Roboto-Regular.keep-gdef-gpos.41,42,43.ttx | 1349 - - .../layout.gpos/gpos1_2_font.default.41,43.otf | Bin 0 -> 1292 bytes - .../layout.gpos/gpos1_2_font.default.41,43.ttx | 275 - - .../layout.gpos/gpos1_2_font.default.41,46.otf | Bin 0 -> 1424 bytes - .../layout.gpos/gpos1_2_font.default.41,46.ttx | 286 - - .../layout.gpos/gpos1_2_font.default.41.otf | Bin 0 -> 1176 bytes - .../layout.gpos/gpos1_2_font.default.41.ttx | 256 - - .../layout.gpos/gpos1_2_font.default.42,44.otf | Bin 0 -> 1268 bytes - .../layout.gpos/gpos1_2_font.default.42,44.ttx | 265 - - .../layout.gpos/gpos1_2_font.default.43,46.otf | Bin 0 -> 1288 bytes - .../layout.gpos/gpos1_2_font.default.43,46.ttx | 275 - - .../gpos1_2_font.default.retain-all-codepoint.otf | Bin 0 -> 3604 bytes - .../gpos1_2_font.default.retain-all-codepoint.ttx | 1221 - - .../layout.gpos/gpos1_2_font.retain-gids.41,43.otf | Bin 0 -> 2008 bytes - .../layout.gpos/gpos1_2_font.retain-gids.41,43.ttx | 600 - - .../layout.gpos/gpos1_2_font.retain-gids.41,46.otf | Bin 0 -> 2172 bytes - .../layout.gpos/gpos1_2_font.retain-gids.41,46.ttx | 626 - - .../layout.gpos/gpos1_2_font.retain-gids.41.otf | Bin 0 -> 1876 bytes - .../layout.gpos/gpos1_2_font.retain-gids.41.ttx | 576 - - .../layout.gpos/gpos1_2_font.retain-gids.42,44.otf | Bin 0 -> 1992 bytes - .../layout.gpos/gpos1_2_font.retain-gids.42,44.ttx | 595 - - .../layout.gpos/gpos1_2_font.retain-gids.43,46.otf | Bin 0 -> 2036 bytes - .../layout.gpos/gpos1_2_font.retain-gids.43,46.ttx | 615 - - ...os1_2_font.retain-gids.retain-all-codepoint.otf | Bin 0 -> 3604 bytes - ...os1_2_font.retain-gids.retain-all-codepoint.ttx | 1221 - - .../gpos2_1_font7.default.21,23,25.otf | Bin 0 -> 1360 bytes - .../gpos2_1_font7.default.21,23,25.ttx | 287 - - .../layout.gpos2/gpos2_1_font7.default.21,23.otf | Bin 0 -> 1240 bytes - .../layout.gpos2/gpos2_1_font7.default.21,23.ttx | 268 - - .../layout.gpos2/gpos2_1_font7.default.2E,23.otf | Bin 0 -> 1508 bytes - .../layout.gpos2/gpos2_1_font7.default.2E,23.ttx | 291 - - .../gpos2_1_font7.default.41,42,43.otf | Bin 0 -> 1288 bytes - .../gpos2_1_font7.default.41,42,43.ttx | 284 - - .../gpos2_1_font7.default.retain-all-codepoint.otf | Bin 0 -> 3604 bytes - .../gpos2_1_font7.default.retain-all-codepoint.ttx | 1221 - - .../gpos2_1_font7.retain-gids.21,23,25.otf | Bin 0 -> 1696 bytes - .../gpos2_1_font7.retain-gids.21,23,25.ttx | 457 - - .../gpos2_1_font7.retain-gids.21,23.otf | Bin 0 -> 1564 bytes - .../gpos2_1_font7.retain-gids.21,23.ttx | 433 - - .../gpos2_1_font7.retain-gids.2E,23.otf | Bin 0 -> 1944 bytes - .../gpos2_1_font7.retain-gids.2E,23.ttx | 511 - - .../gpos2_1_font7.retain-gids.41,42,43.otf | Bin 0 -> 1988 bytes - .../gpos2_1_font7.retain-gids.41,42,43.ttx | 604 - - ...s2_1_font7.retain-gids.retain-all-codepoint.otf | Bin 0 -> 3604 bytes - ...s2_1_font7.retain-gids.retain-all-codepoint.ttx | 1221 - - .../gpos2_2_font5.default.21,23,25.otf | Bin 0 -> 1360 bytes - .../gpos2_2_font5.default.21,23,25.ttx | 287 - - .../layout.gpos2/gpos2_2_font5.default.21,23.otf | Bin 0 -> 1240 bytes - .../layout.gpos2/gpos2_2_font5.default.21,23.ttx | 268 - - .../layout.gpos2/gpos2_2_font5.default.2E,23.otf | Bin 0 -> 1508 bytes - .../layout.gpos2/gpos2_2_font5.default.2E,23.ttx | 291 - - .../gpos2_2_font5.default.41,42,43.otf | Bin 0 -> 1288 bytes - .../gpos2_2_font5.default.41,42,43.ttx | 284 - - .../gpos2_2_font5.default.retain-all-codepoint.otf | Bin 0 -> 3604 bytes - .../gpos2_2_font5.default.retain-all-codepoint.ttx | 1221 - - .../gpos2_2_font5.retain-gids.21,23,25.otf | Bin 0 -> 1696 bytes - .../gpos2_2_font5.retain-gids.21,23,25.ttx | 457 - - .../gpos2_2_font5.retain-gids.21,23.otf | Bin 0 -> 1564 bytes - .../gpos2_2_font5.retain-gids.21,23.ttx | 433 - - .../gpos2_2_font5.retain-gids.2E,23.otf | Bin 0 -> 1944 bytes - .../gpos2_2_font5.retain-gids.2E,23.ttx | 511 - - .../gpos2_2_font5.retain-gids.41,42,43.otf | Bin 0 -> 1988 bytes - .../gpos2_2_font5.retain-gids.41,42,43.ttx | 604 - - ...s2_2_font5.retain-gids.retain-all-codepoint.otf | Bin 0 -> 3604 bytes - ...s2_2_font5.retain-gids.retain-all-codepoint.ttx | 1221 - - .../layout.gpos3/gpos3_font3.default.28,29.otf | Bin 0 -> 1248 bytes - .../layout.gpos3/gpos3_font3.default.28,29.ttx | 276 - - .../layout.gpos3/gpos3_font3.default.28,2B.otf | Bin 0 -> 1376 bytes - .../layout.gpos3/gpos3_font3.default.28,2B.ttx | 282 - - .../layout.gpos3/gpos3_font3.default.29,2B.otf | Bin 0 -> 1292 bytes - .../layout.gpos3/gpos3_font3.default.29,2B.ttx | 277 - - .../layout.gpos3/gpos3_font3.default.41,42,43.otf | Bin 0 -> 1284 bytes - .../layout.gpos3/gpos3_font3.default.41,42,43.ttx | 284 - - .../gpos3_font3.default.retain-all-codepoint.otf | Bin 0 -> 3636 bytes - .../gpos3_font3.default.retain-all-codepoint.ttx | 1228 - - .../layout.gpos3/gpos3_font3.retain-gids.28,29.otf | Bin 0 -> 1632 bytes - .../layout.gpos3/gpos3_font3.retain-gids.28,29.ttx | 471 - - .../layout.gpos3/gpos3_font3.retain-gids.28,2B.otf | Bin 0 -> 1780 bytes - .../layout.gpos3/gpos3_font3.retain-gids.28,2B.ttx | 487 - - .../layout.gpos3/gpos3_font3.retain-gids.29,2B.otf | Bin 0 -> 1696 bytes - .../layout.gpos3/gpos3_font3.retain-gids.29,2B.ttx | 482 - - .../gpos3_font3.retain-gids.41,42,43.otf | Bin 0 -> 1984 bytes - .../gpos3_font3.retain-gids.41,42,43.ttx | 604 - - ...pos3_font3.retain-gids.retain-all-codepoint.otf | Bin 0 -> 3636 bytes - ...pos3_font3.retain-gids.retain-all-codepoint.ttx | 1228 - - ...pos4_multiple_anchors_1.default.41,42,43,44.otf | Bin 0 -> 1516 bytes - ...pos4_multiple_anchors_1.default.41,42,43,44.ttx | 304 - - ...pos4_multiple_anchors_1.default.41,42,43,45.otf | Bin 0 -> 1524 bytes - ...pos4_multiple_anchors_1.default.41,42,43,45.ttx | 305 - - .../gpos4_multiple_anchors_1.default.41,42,43.otf | Bin 0 -> 1308 bytes - .../gpos4_multiple_anchors_1.default.41,42,43.ttx | 284 - - .../gpos4_multiple_anchors_1.default.41,42.otf | Bin 0 -> 1208 bytes - .../gpos4_multiple_anchors_1.default.41,42.ttx | 265 - - ...4_multiple_anchors_1.default.41,43,44,45,46.otf | Bin 0 -> 1864 bytes - ...4_multiple_anchors_1.default.41,43,44,45,46.ttx | 336 - - .../gpos4_multiple_anchors_1.default.41,43,44.otf | Bin 0 -> 1524 bytes - .../gpos4_multiple_anchors_1.default.41,43,44.ttx | 295 - - .../gpos4_multiple_anchors_1.default.41,43,45.otf | Bin 0 -> 1532 bytes - .../gpos4_multiple_anchors_1.default.41,43,45.ttx | 296 - - .../gpos4_multiple_anchors_1.default.41,43.otf | Bin 0 -> 1312 bytes - .../gpos4_multiple_anchors_1.default.41,43.ttx | 275 - - .../gpos4_multiple_anchors_1.default.41.otf | Bin 0 -> 1196 bytes - .../gpos4_multiple_anchors_1.default.41.ttx | 256 - - ...iple_anchors_1.default.retain-all-codepoint.otf | Bin 0 -> 3668 bytes - ...iple_anchors_1.default.retain-all-codepoint.ttx | 1233 - - ..._multiple_anchors_1.retain-gids.41,42,43,44.otf | Bin 0 -> 2220 bytes - ..._multiple_anchors_1.retain-gids.41,42,43,44.ttx | 624 - - ..._multiple_anchors_1.retain-gids.41,42,43,45.otf | Bin 0 -> 2244 bytes - ..._multiple_anchors_1.retain-gids.41,42,43,45.ttx | 630 - - ...os4_multiple_anchors_1.retain-gids.41,42,43.otf | Bin 0 -> 2008 bytes - ...os4_multiple_anchors_1.retain-gids.41,42,43.ttx | 604 - - .../gpos4_multiple_anchors_1.retain-gids.41,42.otf | Bin 0 -> 1912 bytes - .../gpos4_multiple_anchors_1.retain-gids.41,42.ttx | 585 - - ...ltiple_anchors_1.retain-gids.41,43,44,45,46.otf | Bin 0 -> 2584 bytes - ...ltiple_anchors_1.retain-gids.41,43,44,45,46.ttx | 661 - - ...os4_multiple_anchors_1.retain-gids.41,43,44.otf | Bin 0 -> 2240 bytes - ...os4_multiple_anchors_1.retain-gids.41,43,44.ttx | 620 - - ...os4_multiple_anchors_1.retain-gids.41,43,45.otf | Bin 0 -> 2260 bytes - ...os4_multiple_anchors_1.retain-gids.41,43,45.ttx | 626 - - .../gpos4_multiple_anchors_1.retain-gids.41,43.otf | Bin 0 -> 2028 bytes - .../gpos4_multiple_anchors_1.retain-gids.41,43.ttx | 600 - - .../gpos4_multiple_anchors_1.retain-gids.41.otf | Bin 0 -> 1896 bytes - .../gpos4_multiple_anchors_1.retain-gids.41.ttx | 576 - - ..._anchors_1.retain-gids.retain-all-codepoint.otf | Bin 0 -> 3668 bytes - ..._anchors_1.retain-gids.retain-all-codepoint.ttx | 1233 - - .../gpos5_font1.default.41,42,43,44.otf | Bin 0 -> 1536 bytes - .../gpos5_font1.default.41,42,43,44.ttx | 323 - - .../gpos5_font1.default.41,42,43,45.otf | Bin 0 -> 1544 bytes - .../gpos5_font1.default.41,42,43,45.ttx | 324 - - .../layout.gpos5/gpos5_font1.default.41,42,43.otf | Bin 0 -> 1328 bytes - .../layout.gpos5/gpos5_font1.default.41,42,43.ttx | 303 - - .../layout.gpos5/gpos5_font1.default.41,42,44.otf | Bin 0 -> 1460 bytes - .../layout.gpos5/gpos5_font1.default.41,42,44.ttx | 304 - - .../layout.gpos5/gpos5_font1.default.41,42,45.otf | Bin 0 -> 1448 bytes - .../layout.gpos5/gpos5_font1.default.41,42,45.ttx | 305 - - .../layout.gpos5/gpos5_font1.default.41,42.otf | Bin 0 -> 1228 bytes - .../layout.gpos5/gpos5_font1.default.41,42.ttx | 284 - - .../layout.gpos5/gpos5_font1.default.41,43.otf | Bin 0 -> 1332 bytes - .../layout.gpos5/gpos5_font1.default.41,43.ttx | 294 - - .../layout.gpos5/gpos5_font1.default.41.otf | Bin 0 -> 1216 bytes - .../layout.gpos5/gpos5_font1.default.41.ttx | 275 - - .../layout.gpos5/gpos5_font1.default.42.otf | Bin 0 -> 1076 bytes - .../layout.gpos5/gpos5_font1.default.42.ttx | 264 - - .../gpos5_font1.default.retain-all-codepoint.otf | Bin 0 -> 3688 bytes - .../gpos5_font1.default.retain-all-codepoint.ttx | 1250 - - .../gpos5_font1.retain-gids.41,42,43,44.otf | Bin 0 -> 2240 bytes - .../gpos5_font1.retain-gids.41,42,43,44.ttx | 643 - - .../gpos5_font1.retain-gids.41,42,43,45.otf | Bin 0 -> 2264 bytes - .../gpos5_font1.retain-gids.41,42,43,45.ttx | 649 - - .../gpos5_font1.retain-gids.41,42,43.otf | Bin 0 -> 2028 bytes - .../gpos5_font1.retain-gids.41,42,43.ttx | 623 - - .../gpos5_font1.retain-gids.41,42,44.otf | Bin 0 -> 2176 bytes - .../gpos5_font1.retain-gids.41,42,44.ttx | 629 - - .../gpos5_font1.retain-gids.41,42,45.otf | Bin 0 -> 2172 bytes - .../gpos5_font1.retain-gids.41,42,45.ttx | 635 - - .../layout.gpos5/gpos5_font1.retain-gids.41,42.otf | Bin 0 -> 1932 bytes - .../layout.gpos5/gpos5_font1.retain-gids.41,42.ttx | 604 - - .../layout.gpos5/gpos5_font1.retain-gids.41,43.otf | Bin 0 -> 2048 bytes - .../layout.gpos5/gpos5_font1.retain-gids.41,43.ttx | 619 - - .../layout.gpos5/gpos5_font1.retain-gids.41.otf | Bin 0 -> 1916 bytes - .../layout.gpos5/gpos5_font1.retain-gids.41.ttx | 595 - - .../layout.gpos5/gpos5_font1.retain-gids.42.otf | Bin 0 -> 1788 bytes - .../layout.gpos5/gpos5_font1.retain-gids.42.ttx | 589 - - ...pos5_font1.retain-gids.retain-all-codepoint.otf | Bin 0 -> 3688 bytes - ...pos5_font1.retain-gids.retain-all-codepoint.ttx | 1250 - - .../gpos6_font1.default.41,42,43,44.otf | Bin 0 -> 1492 bytes - .../gpos6_font1.default.41,42,43,44.ttx | 304 - - .../gpos6_font1.default.41,42,43,45.otf | Bin 0 -> 1500 bytes - .../gpos6_font1.default.41,42,43,45.ttx | 305 - - .../layout.gpos6/gpos6_font1.default.41,42,43.otf | Bin 0 -> 1284 bytes - .../layout.gpos6/gpos6_font1.default.41,42,43.ttx | 284 - - .../layout.gpos6/gpos6_font1.default.41,42.otf | Bin 0 -> 1184 bytes - .../layout.gpos6/gpos6_font1.default.41,42.ttx | 265 - - .../gpos6_font1.default.41,43,44,45,46.otf | Bin 0 -> 1840 bytes - .../gpos6_font1.default.41,43,44,45,46.ttx | 336 - - .../layout.gpos6/gpos6_font1.default.41,43,44.otf | Bin 0 -> 1500 bytes - .../layout.gpos6/gpos6_font1.default.41,43,44.ttx | 295 - - .../layout.gpos6/gpos6_font1.default.41,43,45.otf | Bin 0 -> 1508 bytes - .../layout.gpos6/gpos6_font1.default.41,43,45.ttx | 296 - - .../layout.gpos6/gpos6_font1.default.41,43.otf | Bin 0 -> 1288 bytes - .../layout.gpos6/gpos6_font1.default.41,43.ttx | 275 - - .../layout.gpos6/gpos6_font1.default.41.otf | Bin 0 -> 1172 bytes - .../layout.gpos6/gpos6_font1.default.41.ttx | 256 - - .../gpos6_font1.default.retain-all-codepoint.otf | Bin 0 -> 3644 bytes - .../gpos6_font1.default.retain-all-codepoint.ttx | 1231 - - .../gpos6_font1.retain-gids.41,42,43,44.otf | Bin 0 -> 2196 bytes - .../gpos6_font1.retain-gids.41,42,43,44.ttx | 624 - - .../gpos6_font1.retain-gids.41,42,43,45.otf | Bin 0 -> 2220 bytes - .../gpos6_font1.retain-gids.41,42,43,45.ttx | 630 - - .../gpos6_font1.retain-gids.41,42,43.otf | Bin 0 -> 1984 bytes - .../gpos6_font1.retain-gids.41,42,43.ttx | 604 - - .../layout.gpos6/gpos6_font1.retain-gids.41,42.otf | Bin 0 -> 1888 bytes - .../layout.gpos6/gpos6_font1.retain-gids.41,42.ttx | 585 - - .../gpos6_font1.retain-gids.41,43,44,45,46.otf | Bin 0 -> 2560 bytes - .../gpos6_font1.retain-gids.41,43,44,45,46.ttx | 661 - - .../gpos6_font1.retain-gids.41,43,44.otf | Bin 0 -> 2216 bytes - .../gpos6_font1.retain-gids.41,43,44.ttx | 620 - - .../gpos6_font1.retain-gids.41,43,45.otf | Bin 0 -> 2236 bytes - .../gpos6_font1.retain-gids.41,43,45.ttx | 626 - - .../layout.gpos6/gpos6_font1.retain-gids.41,43.otf | Bin 0 -> 2004 bytes - .../layout.gpos6/gpos6_font1.retain-gids.41,43.ttx | 600 - - .../layout.gpos6/gpos6_font1.retain-gids.41.otf | Bin 0 -> 1872 bytes - .../layout.gpos6/gpos6_font1.retain-gids.41.ttx | 576 - - ...pos6_font1.retain-gids.retain-all-codepoint.otf | Bin 0 -> 3644 bytes - ...pos6_font1.retain-gids.retain-all-codepoint.ttx | 1231 - - ...ular.default.627,644,623,62D,644,627,645,2E.ttf | Bin 0 -> 12684 bytes - ...ular.default.627,644,623,62D,644,627,645,2E.ttx | 4529 - - .../Amiri-Regular.default.627,644,62D,628.ttf | Bin 0 -> 9992 bytes - .../Amiri-Regular.default.627,644,62D,628.ttx | 3537 - - .../Amiri-Regular.default.627,644.ttf | Bin 0 -> 4168 bytes - .../Amiri-Regular.default.627,644.ttx | 1383 - - ...-Regular.default.633,645,627,621,20,644,627.ttf | Bin 0 -> 9516 bytes - ...-Regular.default.633,645,627,621,20,644,627.ttx | 3371 - - .../Amiri-Regular.default.63A,64A,631.ttf | Bin 0 -> 7324 bytes - .../Amiri-Regular.default.63A,64A,631.ttx | 2587 - - ....retain-gids.627,644,623,62D,644,627,645,2E.ttf | Bin 0 -> 48012 bytes - ....retain-gids.627,644,623,62D,644,627,645,2E.ttx | 28725 ---- - .../Amiri-Regular.retain-gids.627,644,62D,628.ttf | Bin 0 -> 42640 bytes - .../Amiri-Regular.retain-gids.627,644,62D,628.ttx | 25101 ---- - .../Amiri-Regular.retain-gids.627,644.ttf | Bin 0 -> 36696 bytes - .../Amiri-Regular.retain-gids.627,644.ttx | 23003 --- - ...ular.retain-gids.633,645,627,621,20,644,627.ttf | Bin 0 -> 45908 bytes - ...ular.retain-gids.633,645,627,621,20,644,627.ttx | 27759 ---- - .../Amiri-Regular.retain-gids.63A,64A,631.ttf | Bin 0 -> 37988 bytes - .../Amiri-Regular.retain-gids.63A,64A,631.ttx | 22911 --- - ...g1_multiple_subrules_f1.default.30,31,32,33.otf | Bin 0 -> 1840 bytes - ...g1_multiple_subrules_f1.default.30,31,32,33.ttx | 328 - - ...ning1_multiple_subrules_f1.default.41,42,43.otf | Bin 0 -> 1332 bytes - ...ning1_multiple_subrules_f1.default.41,42,43.ttx | 284 - - ...le_subrules_f1.default.retain-all-codepoint.otf | Bin 0 -> 3704 bytes - ...le_subrules_f1.default.retain-all-codepoint.ttx | 1247 - - ...ultiple_subrules_f1.retain-gids.30,31,32,33.otf | Bin 0 -> 2304 bytes - ...ultiple_subrules_f1.retain-gids.30,31,32,33.ttx | 563 - - ...1_multiple_subrules_f1.retain-gids.41,42,43.otf | Bin 0 -> 2032 bytes - ...1_multiple_subrules_f1.retain-gids.41,42,43.ttx | 604 - - ...ubrules_f1.retain-gids.retain-all-codepoint.otf | Bin 0 -> 3704 bytes - ...ubrules_f1.retain-gids.retain-all-codepoint.ttx | 1247 - - ...g2_multiple_subrules_f1.default.30,31,32,33.otf | Bin 0 -> 1840 bytes - ...g2_multiple_subrules_f1.default.30,31,32,33.ttx | 328 - - ...ning2_multiple_subrules_f1.default.41,42,43.otf | Bin 0 -> 1332 bytes - ...ning2_multiple_subrules_f1.default.41,42,43.ttx | 284 - - ...le_subrules_f1.default.retain-all-codepoint.otf | Bin 0 -> 3704 bytes - ...le_subrules_f1.default.retain-all-codepoint.ttx | 1247 - - ...ultiple_subrules_f1.retain-gids.30,31,32,33.otf | Bin 0 -> 2304 bytes - ...ultiple_subrules_f1.retain-gids.30,31,32,33.ttx | 563 - - ...2_multiple_subrules_f1.retain-gids.41,42,43.otf | Bin 0 -> 2032 bytes - ...2_multiple_subrules_f1.retain-gids.41,42,43.ttx | 604 - - ...ubrules_f1.retain-gids.retain-all-codepoint.otf | Bin 0 -> 3704 bytes - ...ubrules_f1.retain-gids.retain-all-codepoint.ttx | 1247 - - ...pos_chaining3_simple_f1.default.30,31,32,33.otf | Bin 0 -> 1816 bytes - ...pos_chaining3_simple_f1.default.30,31,32,33.ttx | 328 - - .../gpos_chaining3_simple_f1.default.41,42,43.otf | Bin 0 -> 1308 bytes - .../gpos_chaining3_simple_f1.default.41,42,43.ttx | 284 - - ...ing3_simple_f1.default.retain-all-codepoint.otf | Bin 0 -> 3680 bytes - ...ing3_simple_f1.default.retain-all-codepoint.ttx | 1247 - - ...chaining3_simple_f1.retain-gids.30,31,32,33.otf | Bin 0 -> 2280 bytes - ...chaining3_simple_f1.retain-gids.30,31,32,33.ttx | 563 - - ...os_chaining3_simple_f1.retain-gids.41,42,43.otf | Bin 0 -> 2008 bytes - ...os_chaining3_simple_f1.retain-gids.41,42,43.ttx | 604 - - ..._simple_f1.retain-gids.retain-all-codepoint.otf | Bin 0 -> 3680 bytes - ..._simple_f1.retain-gids.retain-all-codepoint.ttx | 1247 - - .../layout.gpos9/gpos9_font2.default.41,42.otf | Bin 0 -> 1184 bytes - .../layout.gpos9/gpos9_font2.default.41,42.ttx | 265 - - .../layout.gpos9/gpos9_font2.default.41.otf | Bin 0 -> 1172 bytes - .../layout.gpos9/gpos9_font2.default.41.ttx | 256 - - .../layout.gpos9/gpos9_font2.default.42.otf | Bin 0 -> 1032 bytes - .../layout.gpos9/gpos9_font2.default.42.ttx | 245 - - .../layout.gpos9/gpos9_font2.retain-gids.41,42.otf | Bin 0 -> 1888 bytes - .../layout.gpos9/gpos9_font2.retain-gids.41,42.ttx | 585 - - .../layout.gpos9/gpos9_font2.retain-gids.41.otf | Bin 0 -> 1872 bytes - .../layout.gpos9/gpos9_font2.retain-gids.41.ttx | 576 - - .../layout.gpos9/gpos9_font2.retain-gids.42.otf | Bin 0 -> 1744 bytes - .../layout.gpos9/gpos9_font2.retain-gids.42.ttx | 570 - - ...ub_alternate_substitution.default.53A9,53F1.otf | Bin 0 -> 4348 bytes - ...ub_alternate_substitution.default.53A9,53F1.ttx | 1009 - - .../gsub_alternate_substitution.default.53A9.otf | Bin 0 -> 3904 bytes - .../gsub_alternate_substitution.default.53A9.ttx | 924 - - .../gsub_alternate_substitution.default.53F1.otf | Bin 0 -> 2452 bytes - .../gsub_alternate_substitution.default.53F1.ttx | 638 - - ...e_substitution.default.retain-all-codepoint.otf | Bin 0 -> 6040 bytes - ...e_substitution.default.retain-all-codepoint.ttx | 1387 - - ...lternate_substitution.retain-gids.53A9,53F1.otf | Bin 0 -> 4472 bytes - ...lternate_substitution.retain-gids.53A9,53F1.ttx | 1063 - - ...sub_alternate_substitution.retain-gids.53A9.otf | Bin 0 -> 4056 bytes - ...sub_alternate_substitution.retain-gids.53A9.ttx | 990 - - ...sub_alternate_substitution.retain-gids.53F1.otf | Bin 0 -> 2648 bytes - ...sub_alternate_substitution.retain-gids.53F1.ttx | 728 - - ...bstitution.retain-gids.retain-all-codepoint.otf | Bin 0 -> 6132 bytes - ...bstitution.retain-gids.retain-all-codepoint.ttx | 1423 - - ...text1_multiple_subrules_f2.default.41,42,43.otf | Bin 0 -> 1340 bytes - ...text1_multiple_subrules_f2.default.41,42,43.ttx | 290 - - ...context1_multiple_subrules_f2.default.41,42.otf | Bin 0 -> 1240 bytes - ...context1_multiple_subrules_f2.default.41,42.ttx | 271 - - ...context1_multiple_subrules_f2.default.41,43.otf | Bin 0 -> 1344 bytes - ...context1_multiple_subrules_f2.default.41,43.ttx | 281 - - ...ub_context1_multiple_subrules_f2.default.41.otf | Bin 0 -> 1228 bytes - ...ub_context1_multiple_subrules_f2.default.41.ttx | 262 - - ...le_subrules_f2.default.retain-all-codepoint.otf | Bin 0 -> 3712 bytes - ...le_subrules_f2.default.retain-all-codepoint.ttx | 1253 - - ...1_multiple_subrules_f2.retain-gids.41,42,43.otf | Bin 0 -> 2040 bytes - ...1_multiple_subrules_f2.retain-gids.41,42,43.ttx | 610 - - ...ext1_multiple_subrules_f2.retain-gids.41,42.otf | Bin 0 -> 1944 bytes - ...ext1_multiple_subrules_f2.retain-gids.41,42.ttx | 591 - - ...ext1_multiple_subrules_f2.retain-gids.41,43.otf | Bin 0 -> 2060 bytes - ...ext1_multiple_subrules_f2.retain-gids.41,43.ttx | 606 - - ...ontext1_multiple_subrules_f2.retain-gids.41.otf | Bin 0 -> 1928 bytes - ...ontext1_multiple_subrules_f2.retain-gids.41.ttx | 582 - - ...ubrules_f2.retain-gids.retain-all-codepoint.otf | Bin 0 -> 3712 bytes - ...ubrules_f2.retain-gids.retain-all-codepoint.ttx | 1253 - - ...text2_multiple_subrules_f2.default.41,42,43.otf | Bin 0 -> 1340 bytes - ...text2_multiple_subrules_f2.default.41,42,43.ttx | 290 - - ...context2_multiple_subrules_f2.default.41,42.otf | Bin 0 -> 1240 bytes - ...context2_multiple_subrules_f2.default.41,42.ttx | 271 - - ...context2_multiple_subrules_f2.default.41,43.otf | Bin 0 -> 1344 bytes - ...context2_multiple_subrules_f2.default.41,43.ttx | 281 - - ...ub_context2_multiple_subrules_f2.default.41.otf | Bin 0 -> 1228 bytes - ...ub_context2_multiple_subrules_f2.default.41.ttx | 262 - - ...le_subrules_f2.default.retain-all-codepoint.otf | Bin 0 -> 3712 bytes - ...le_subrules_f2.default.retain-all-codepoint.ttx | 1253 - - ...2_multiple_subrules_f2.retain-gids.41,42,43.otf | Bin 0 -> 2040 bytes - ...2_multiple_subrules_f2.retain-gids.41,42,43.ttx | 610 - - ...ext2_multiple_subrules_f2.retain-gids.41,42.otf | Bin 0 -> 1944 bytes - ...ext2_multiple_subrules_f2.retain-gids.41,42.ttx | 591 - - ...ext2_multiple_subrules_f2.retain-gids.41,43.otf | Bin 0 -> 2060 bytes - ...ext2_multiple_subrules_f2.retain-gids.41,43.ttx | 606 - - ...ontext2_multiple_subrules_f2.retain-gids.41.otf | Bin 0 -> 1928 bytes - ...ontext2_multiple_subrules_f2.retain-gids.41.ttx | 582 - - ...ubrules_f2.retain-gids.retain-all-codepoint.otf | Bin 0 -> 3712 bytes - ...ubrules_f2.retain-gids.retain-all-codepoint.ttx | 1253 - - ...sub_context3_successive_f1.default.41,42,43.otf | Bin 0 -> 1328 bytes - ...sub_context3_successive_f1.default.41,42,43.ttx | 290 - - .../gsub_context3_successive_f1.default.41,42.otf | Bin 0 -> 1228 bytes - .../gsub_context3_successive_f1.default.41,42.ttx | 271 - - .../gsub_context3_successive_f1.default.41,43.otf | Bin 0 -> 1332 bytes - .../gsub_context3_successive_f1.default.41,43.ttx | 281 - - .../gsub_context3_successive_f1.default.41.otf | Bin 0 -> 1216 bytes - .../gsub_context3_successive_f1.default.41.ttx | 262 - - ..._successive_f1.default.retain-all-codepoint.otf | Bin 0 -> 3700 bytes - ..._successive_f1.default.retain-all-codepoint.ttx | 1253 - - ...context3_successive_f1.retain-gids.41,42,43.otf | Bin 0 -> 2028 bytes - ...context3_successive_f1.retain-gids.41,42,43.ttx | 610 - - ...ub_context3_successive_f1.retain-gids.41,42.otf | Bin 0 -> 1932 bytes - ...ub_context3_successive_f1.retain-gids.41,42.ttx | 591 - - ...ub_context3_successive_f1.retain-gids.41,43.otf | Bin 0 -> 2048 bytes - ...ub_context3_successive_f1.retain-gids.41,43.ttx | 606 - - .../gsub_context3_successive_f1.retain-gids.41.otf | Bin 0 -> 1916 bytes - .../gsub_context3_successive_f1.retain-gids.41.ttx | 582 - - ...cessive_f1.retain-gids.retain-all-codepoint.otf | Bin 0 -> 3700 bytes - ...cessive_f1.retain-gids.retain-all-codepoint.ttx | 1253 - - ...g1_multiple_subrules_f1.default.30,31,32,33.otf | Bin 0 -> 1852 bytes - ...g1_multiple_subrules_f1.default.30,31,32,33.ttx | 334 - - ...ning1_multiple_subrules_f1.default.41,42,43.otf | Bin 0 -> 1344 bytes - ...ning1_multiple_subrules_f1.default.41,42,43.ttx | 290 - - ...le_subrules_f1.default.retain-all-codepoint.otf | Bin 0 -> 3716 bytes - ...le_subrules_f1.default.retain-all-codepoint.ttx | 1253 - - ...ultiple_subrules_f1.retain-gids.30,31,32,33.otf | Bin 0 -> 2316 bytes - ...ultiple_subrules_f1.retain-gids.30,31,32,33.ttx | 569 - - ...1_multiple_subrules_f1.retain-gids.41,42,43.otf | Bin 0 -> 2044 bytes - ...1_multiple_subrules_f1.retain-gids.41,42,43.ttx | 610 - - ...ubrules_f1.retain-gids.retain-all-codepoint.otf | Bin 0 -> 3716 bytes - ...ubrules_f1.retain-gids.retain-all-codepoint.ttx | 1253 - - ...g2_multiple_subrules_f1.default.30,31,32,33.otf | Bin 0 -> 1852 bytes - ...g2_multiple_subrules_f1.default.30,31,32,33.ttx | 334 - - ...ning2_multiple_subrules_f1.default.41,42,43.otf | Bin 0 -> 1344 bytes - ...ning2_multiple_subrules_f1.default.41,42,43.ttx | 290 - - ...le_subrules_f1.default.retain-all-codepoint.otf | Bin 0 -> 3716 bytes - ...le_subrules_f1.default.retain-all-codepoint.ttx | 1253 - - ...ultiple_subrules_f1.retain-gids.30,31,32,33.otf | Bin 0 -> 2316 bytes - ...ultiple_subrules_f1.retain-gids.30,31,32,33.ttx | 569 - - ...2_multiple_subrules_f1.retain-gids.41,42,43.otf | Bin 0 -> 2044 bytes - ...2_multiple_subrules_f1.retain-gids.41,42,43.ttx | 610 - - ...ubrules_f1.retain-gids.retain-all-codepoint.otf | Bin 0 -> 3716 bytes - ...ubrules_f1.retain-gids.retain-all-codepoint.ttx | 1253 - - ...sub_chaining3_simple_f2.default.30,31,32,33.otf | Bin 0 -> 1828 bytes - ...sub_chaining3_simple_f2.default.30,31,32,33.ttx | 334 - - .../gsub_chaining3_simple_f2.default.41,42,43.otf | Bin 0 -> 1320 bytes - .../gsub_chaining3_simple_f2.default.41,42,43.ttx | 290 - - ...ing3_simple_f2.default.retain-all-codepoint.otf | Bin 0 -> 3692 bytes - ...ing3_simple_f2.default.retain-all-codepoint.ttx | 1253 - - ...chaining3_simple_f2.retain-gids.30,31,32,33.otf | Bin 0 -> 2292 bytes - ...chaining3_simple_f2.retain-gids.30,31,32,33.ttx | 569 - - ...ub_chaining3_simple_f2.retain-gids.41,42,43.otf | Bin 0 -> 2020 bytes - ...ub_chaining3_simple_f2.retain-gids.41,42,43.ttx | 610 - - ..._simple_f2.retain-gids.retain-all-codepoint.otf | Bin 0 -> 3692 bytes - ..._simple_f2.retain-gids.retain-all-codepoint.ttx | 1253 - - ..._created.default.41,42,43,44,45,46,47,48,49.otf | Bin 0 -> 2176 bytes - ..._created.default.41,42,43,44,45,46,47,48,49.ttx | 392 - - ...nually_created.default.41,42,43,44,45,46,47.otf | Bin 0 -> 1888 bytes - ...nually_created.default.41,42,43,44,45,46,47.ttx | 357 - - ...nually_created.default.41,42,43,44,45,46,4D.otf | Bin 0 -> 1852 bytes - ...nually_created.default.41,42,43,44,45,46,4D.ttx | 351 - - ...nually_created.default.41,42,43,44,45,46,51.otf | Bin 0 -> 1932 bytes - ...nually_created.default.41,42,43,44,45,46,51.ttx | 364 - - ..._manually_created.default.41,42,43,44,45,46.otf | Bin 0 -> 1832 bytes - ..._manually_created.default.41,42,43,44,45,46.ttx | 343 - - .../gsub8_manually_created.default.41,42,43.otf | Bin 0 -> 1284 bytes - .../gsub8_manually_created.default.41,42,43.ttx | 285 - - .../gsub8_manually_created.default.41.otf | Bin 0 -> 1172 bytes - .../gsub8_manually_created.default.41.ttx | 259 - - .../gsub8_manually_created.default.61.otf | Bin 0 -> 1224 bytes - .../gsub8_manually_created.default.61.ttx | 268 - - ...nually_created.default.retain-all-codepoint.otf | Bin 0 -> 3656 bytes - ...nually_created.default.retain-all-codepoint.ttx | 1152 - - ...ated.retain-gids.41,42,43,44,45,46,47,48,49.otf | Bin 0 -> 2884 bytes - ...ated.retain-gids.41,42,43,44,45,46,47,48,49.ttx | 712 - - ...ly_created.retain-gids.41,42,43,44,45,46,47.otf | Bin 0 -> 2596 bytes - ...ly_created.retain-gids.41,42,43,44,45,46,47.ttx | 677 - - ...ly_created.retain-gids.41,42,43,44,45,46,4D.otf | Bin 0 -> 2636 bytes - ...ly_created.retain-gids.41,42,43,44,45,46,4D.ttx | 701 - - ...ly_created.retain-gids.41,42,43,44,45,46,51.otf | Bin 0 -> 2760 bytes - ...ly_created.retain-gids.41,42,43,44,45,46,51.ttx | 734 - - ...ually_created.retain-gids.41,42,43,44,45,46.otf | Bin 0 -> 2540 bytes - ...ually_created.retain-gids.41,42,43,44,45,46.ttx | 663 - - ...gsub8_manually_created.retain-gids.41,42,43.otf | Bin 0 -> 1984 bytes - ...gsub8_manually_created.retain-gids.41,42,43.ttx | 605 - - .../gsub8_manually_created.retain-gids.41.otf | Bin 0 -> 1872 bytes - .../gsub8_manually_created.retain-gids.41.ttx | 579 - - .../gsub8_manually_created.retain-gids.61.otf | Bin 0 -> 2276 bytes - .../gsub8_manually_created.retain-gids.61.ttx | 748 - - ...ly_created.retain-gids.retain-all-codepoint.otf | Bin 0 -> 3656 bytes - ...ly_created.retain-gids.retain-all-codepoint.ttx | 1152 - - .../expected/layout.khmer/Khmer.default.1780.ttf | Bin 0 -> 4204 bytes - .../expected/layout.khmer/Khmer.default.1780.ttx | 2504 - - ...ult.1789,17BB,17C6,1794,17B6,1793,1798,17BE.ttf | Bin 0 -> 6412 bytes - ...ult.1789,17BB,17C6,1794,17B6,1793,1798,17BE.ttx | 3406 - - .../expected/layout.khmer/Khmer.default.31.ttf | Bin 0 -> 4140 bytes - .../expected/layout.khmer/Khmer.default.31.ttx | 2486 - - .../layout.khmer/Khmer.retain-gids.1780.ttf | Bin 0 -> 4464 bytes - .../layout.khmer/Khmer.retain-gids.1780.ttx | 2676 - - ...ids.1789,17BB,17C6,1794,17B6,1793,1798,17BE.ttf | Bin 0 -> 7848 bytes - ...ids.1789,17BB,17C6,1794,17B6,1793,1798,17BE.ttx | 4310 - - .../expected/layout.khmer/Khmer.retain-gids.31.ttf | Bin 0 -> 4256 bytes - .../expected/layout.khmer/Khmer.retain-gids.31.ttx | 2562 - - ...Bold.default.627,644,623,62D,644,627,645,2E.ttf | Bin 0 -> 11396 bytes - ...Bold.default.627,644,623,62D,644,627,645,2E.ttx | 4986 - - ...toNastaliqUrdu-Bold.default.627,644,62D,628.ttf | Bin 0 -> 18248 bytes - ...toNastaliqUrdu-Bold.default.627,644,62D,628.ttx | 9792 -- - .../NotoNastaliqUrdu-Bold.default.627,644.ttf | Bin 0 -> 3528 bytes - .../NotoNastaliqUrdu-Bold.default.627,644.ttx | 1326 - - ...rdu-Bold.default.633,645,627,621,20,644,627.ttf | Bin 0 -> 12368 bytes - ...rdu-Bold.default.633,645,627,621,20,644,627.ttx | 5279 - - .../NotoNastaliqUrdu-Bold.default.63A,64A,631.ttf | Bin 0 -> 20368 bytes - .../NotoNastaliqUrdu-Bold.default.63A,64A,631.ttx | 10363 -- - ....retain-gids.627,644,623,62D,644,627,645,2E.ttf | Bin 0 -> 18232 bytes - ....retain-gids.627,644,623,62D,644,627,645,2E.ttx | 9170 -- - ...staliqUrdu-Bold.retain-gids.627,644,62D,628.ttf | Bin 0 -> 24376 bytes - ...staliqUrdu-Bold.retain-gids.627,644,62D,628.ttx | 13452 -- - .../NotoNastaliqUrdu-Bold.retain-gids.627,644.ttf | Bin 0 -> 9176 bytes - .../NotoNastaliqUrdu-Bold.retain-gids.627,644.ttx | 5158 - - ...Bold.retain-gids.633,645,627,621,20,644,627.ttf | Bin 0 -> 18172 bytes - ...Bold.retain-gids.633,645,627,621,20,644,627.ttx | 8915 -- - ...toNastaliqUrdu-Bold.retain-gids.63A,64A,631.ttf | Bin 0 -> 26588 bytes - ...toNastaliqUrdu-Bold.retain-gids.63A,64A,631.ttx | 14027 -- - .../Roboto-Regular.smallcaps.default.41,42,43.ttf | Bin 0 -> 2464 bytes - .../Roboto-Regular.smallcaps.default.41,42,43.ttx | 1251 - - .../Roboto-Regular.smallcaps.default.41,43.ttf | Bin 0 -> 2284 bytes - .../Roboto-Regular.smallcaps.default.41,43.ttx | 1120 - - .../layout/Roboto-Regular.smallcaps.default.41.ttf | Bin 0 -> 2084 bytes - .../layout/Roboto-Regular.smallcaps.default.41.ttx | 1008 - - .../layout/Roboto-Regular.smallcaps.default.43.ttf | Bin 0 -> 2116 bytes - .../layout/Roboto-Regular.smallcaps.default.43.ttx | 1017 - - .../Roboto-Regular.smallcaps.default.CA,CB.ttf | Bin 0 -> 2388 bytes - .../Roboto-Regular.smallcaps.default.CA,CB.ttx | 1200 - - ...boto-Regular.smallcaps.retain-gids.41,42,43.ttf | Bin 0 -> 2716 bytes - ...boto-Regular.smallcaps.retain-gids.41,42,43.ttx | 1431 - - .../Roboto-Regular.smallcaps.retain-gids.41,43.ttf | Bin 0 -> 2548 bytes - .../Roboto-Regular.smallcaps.retain-gids.41,43.ttx | 1305 - - .../Roboto-Regular.smallcaps.retain-gids.41.ttf | Bin 0 -> 2336 bytes - .../Roboto-Regular.smallcaps.retain-gids.41.ttx | 1188 - - .../Roboto-Regular.smallcaps.retain-gids.43.ttf | Bin 0 -> 2384 bytes - .../Roboto-Regular.smallcaps.retain-gids.43.ttx | 1207 - - .../Roboto-Regular.smallcaps.retain-gids.CA,CB.ttf | Bin 0 -> 6476 bytes - .../Roboto-Regular.smallcaps.retain-gids.CA,CB.ttx | 4120 - - .../data/expected/sbix/sbix.default.58,59.ttf | Bin 0 -> 193528 bytes - .../data/expected/sbix/sbix.default.58,59.ttx | 12367 -- - test/subset/data/expected/sbix/sbix.default.58.ttf | Bin 0 -> 121168 bytes - test/subset/data/expected/sbix/sbix.default.58.ttx | 7801 - - test/subset/data/expected/sbix/sbix.default.59.ttf | Bin 0 -> 89364 bytes - test/subset/data/expected/sbix/sbix.default.59.ttx | 5813 - - .../sbix/sbix.drop-hints-retain-gids.58,59.ttf | Bin 0 -> 193528 bytes - .../sbix/sbix.drop-hints-retain-gids.58,59.ttx | 12367 -- - .../sbix/sbix.drop-hints-retain-gids.58.ttf | Bin 0 -> 121168 bytes - .../sbix/sbix.drop-hints-retain-gids.58.ttx | 7801 - - .../sbix/sbix.drop-hints-retain-gids.59.ttf | Bin 0 -> 89404 bytes - .../sbix/sbix.drop-hints-retain-gids.59.ttx | 5826 - - .../data/expected/sbix/sbix.drop-hints.58,59.ttf | Bin 0 -> 193528 bytes - .../data/expected/sbix/sbix.drop-hints.58,59.ttx | 12367 -- - .../data/expected/sbix/sbix.drop-hints.58.ttf | Bin 0 -> 121168 bytes - .../data/expected/sbix/sbix.drop-hints.58.ttx | 7801 - - .../data/expected/sbix/sbix.drop-hints.59.ttf | Bin 0 -> 89364 bytes - .../data/expected/sbix/sbix.drop-hints.59.ttx | 5813 - - .../data/expected/sbix/sbix.retain-gids.58,59.ttf | Bin 0 -> 193528 bytes - .../data/expected/sbix/sbix.retain-gids.58,59.ttx | 12367 -- - .../data/expected/sbix/sbix.retain-gids.58.ttf | Bin 0 -> 121168 bytes - .../data/expected/sbix/sbix.retain-gids.58.ttx | 7801 - - .../data/expected/sbix/sbix.retain-gids.59.ttf | Bin 0 -> 89404 bytes - .../data/expected/sbix/sbix.retain-gids.59.ttx | 5826 - - .../variable/Fraunces.default.26,66,69,124,125.ttf | Bin 0 -> 15792 bytes - .../variable/Fraunces.default.26,66,69,124,125.ttx | 6907 - - .../data/expected/variable/Fraunces.default.61.ttf | Bin 0 -> 4228 bytes - .../data/expected/variable/Fraunces.default.61.ttx | 1427 - - test/subset/generate-expected-outputs.py | 1 - - test/subset/run-tests.py | 29 +- - test/subset/subset_test_suite.py | 18 +- - 1945 files changed, 23 insertions(+), 3999130 deletions(-) - -commit 62a535f154a9453c7d16c669094c254666a6caac -Author: Behdad Esfahbod -Date: Tue Aug 3 10:11:27 2021 -0600 - - [khmer] Fix comment - - Fixes https://github.com/harfbuzz/harfbuzz/issues/3104 - - src/hb-ot-shape-complex-indic.cc | 7 ++++--- - src/hb-ot-shape-complex-khmer.cc | 3 ++- - src/hb-ot-shape-complex-myanmar.cc | 3 ++- - src/hb-ot-shape-complex-use.cc | 3 ++- - 4 files changed, 10 insertions(+), 6 deletions(-) - -commit 2cc9ed2b9e3de9e162e9d127edce377f059fd56b -Author: Khaled Hosny -Date: Mon Aug 2 22:00:11 2021 +0200 - - [test] More lookup_collect_glyphs() tests - - test/api/test-ot-collect-glyphs.c | 95 +++++++++++++++++++++++++++++++++++++++ - 1 file changed, 95 insertions(+) - -commit 06640374016f1e78d1fbfa8c5e7b09f8b04a44cc -Author: Khaled Hosny -Date: Mon Aug 2 19:52:59 2021 +0200 - - [test] More lookup_collect_glyphs() tests - - test/api/test-ot-collect-glyphs.c | 66 +++++++++++++++++++++++++++++++++++++++ - 1 file changed, 66 insertions(+) - -commit ecdd8e3f18700113032a88cdfdc94bcf55e08542 -Author: Khaled Hosny -Date: Mon Aug 2 19:36:20 2021 +0200 - - [test] More lookup_collect_glyphs() tests - - test/api/fonts/Qahiri-Regular.ttf | Bin 0 -> 35984 bytes - test/api/test-ot-collect-glyphs.c | 122 ++++++++++++++++++++++++++++++++++++++ - 2 files changed, 122 insertions(+) - -commit f998d7e1ceee3c797104e90cc25caeff56407745 -Author: Khaled Hosny -Date: Mon Aug 2 16:10:13 2021 +0200 - - [test] Add API test for lookup_collect_glyphs() - - We don’t seem to have any tests exercising this API at all, and it is a - good check of GSUB/GPOS code. - - test/api/Makefile.am | 1 + - test/api/meson.build | 1 + - test/api/test-ot-collect-glyphs.c | 209 ++++++++++++++++++++++++++++++++++++++ - 3 files changed, 211 insertions(+) - -commit 47d47e8c43d71c6d6570d354400c0757940bbb94 -Author: Behdad Esfahbod -Date: Sun Aug 1 22:12:08 2021 -0600 - - [util/hb-shape/hb-subset] Don't terminate on first error in batch mode - - There's no reason to quit processing. The failure is already - communicated via stdout in both cases. - - util/hb-shape.cc | 4 ---- - util/hb-subset.cc | 3 --- - 2 files changed, 7 deletions(-) - -commit a363ce573c3aa706de3aecf0515519a5d7842af2 -Author: Behdad Esfahbod -Date: Sun Aug 1 22:11:13 2021 -0600 - - [util/hb-subset] Minor refactor of batch mode - - To match recent changes to hb-shape. - - util/hb-subset.cc | 14 ++++++++------ - 1 file changed, 8 insertions(+), 6 deletions(-) - -commit 10e73d188a28e777b7950e37a9eed908f3a19615 -Author: Khaled Hosny -Date: Sun Aug 1 11:11:12 2021 +0200 - - [test] Add batch mode to hb-subset and use it - - time meson test --suite=subset down from: - real 0m22.822s - user 0m44.561s - sys 0m9.255s - - to: - real 0m19.418s - user 0m38.171s - sys 0m3.587s - - Does not seem to help much, but it is something. - - Part of https://github.com/harfbuzz/harfbuzz/issues/3089 - - test/subset/run-repack-tests.py | 17 ++++++++++++++--- - test/subset/run-tests.py | 17 ++++++++++++++--- - util/hb-subset.cc | 34 ++++++++++++++++++++++++++++++++++ - 3 files changed, 62 insertions(+), 6 deletions(-) - -commit 75f314c47150270a04b659c3218ba1e4738d13d2 -Merge: ed99c8062 1fd3a261e -Author: Behdad Esfahbod -Date: Sun Aug 1 12:06:49 2021 -0600 - - Merge pull request #3103 from harfbuzz/test-reference - - [test] Remove unused shaping tests reference mode - -commit 1fd3a261e526745b1a99bf1eece8e87bcc673d49 -Author: Khaled Hosny -Date: Sun Aug 1 19:38:39 2021 +0200 - - [test] Remove unused shaping tests reference mode - - test/shaping/run-tests.py | 35 +++++++++++------------------------ - 1 file changed, 11 insertions(+), 24 deletions(-) - -commit ed99c80623ce6c81e5efedd97f2374b41f33d14b -Author: Behdad Esfahbod -Date: Sun Aug 1 08:14:59 2021 -0600 - - [util/hb-shape] Refactor driver type duplication - - util/hb-shape.cc | 11 +++++++++-- - 1 file changed, 9 insertions(+), 2 deletions(-) - -commit 05cf81283b90531710f060f7ef6e3216fe8b5330 -Author: Behdad Esfahbod -Date: Sun Aug 1 07:59:25 2021 -0600 - - [util/hb-shape] Fix use of EOF as end-of-line - - EOF is -1, which was being treated as a valid char (255). - Use int instead. - - test/api/test-style.c | 2 +- - util/main-font-text.hh | 2 +- - util/options.cc | 15 ++++++++------- - util/options.hh | 2 +- - 4 files changed, 11 insertions(+), 10 deletions(-) - -commit ee7473b8a447a05a67b185bd9ff6fac3f2ca24d8 -Author: Behdad Esfahbod -Date: Fri Jul 30 12:55:28 2021 -0600 - - [mutex] Remove unused HB_MUTEX_IMPL_INIT / HB_MUTEX_INIT - - https://github.com/harfbuzz/harfbuzz/pull/3100#issuecomment-890089096 - - src/hb-mutex.hh | 8 +------- - 1 file changed, 1 insertion(+), 7 deletions(-) - -commit 0e37c07f4c116c983693ce87ae6828b1ca77a347 -Author: Behdad Esfahbod -Date: Fri Jul 30 12:52:59 2021 -0600 - - Revert "Construct user_data in hb_object" - - This reverts commit a78eb43c79e7a2d870add6b686426748e104b7b3. - - See: https://github.com/harfbuzz/harfbuzz/pull/3100#issuecomment-890088227 - - src/hb-object.hh | 3 --- - 1 file changed, 3 deletions(-) - -commit 5dc4cd71cc950ccf2bbeee2a9f03e5908850b1eb -Author: Behdad Esfahbod -Date: Fri Jul 30 12:37:40 2021 -0600 - - [blob] Minor change in destruction - - No semantic change. - - src/hb-blob.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 7cbcdaf68a59ae87420503f7b5be490745607fbe -Author: Behdad Esfahbod -Date: Fri Jul 30 11:26:46 2021 -0600 - - Whitespace - - test/subset/data/tests/cff-full-font.tests | 1 - - test/subset/data/tests/cff-japanese.tests | 3 --- - test/subset/data/tests/japanese.tests | 2 -- - test/subset/data/tests/layout.gdef-varstore.tests | 1 - - 4 files changed, 7 deletions(-) - -commit 5d283aa0bd65739f78b384590e070e8cfb531d74 -Merge: bbeb3a62b f6c67a5fc -Author: Behdad Esfahbod -Date: Fri Jul 30 10:15:09 2021 -0600 - - Merge pull request #3095 from harfbuzz/subset-tests-speed - - [test] Speed-up subset tests by saving TTX dump - -commit bbeb3a62b0efbb598d8683f7c4b6cc7069a58aeb -Merge: a78eb43c7 b63ac5717 -Author: Behdad Esfahbod -Date: Fri Jul 30 09:54:55 2021 -0600 - - Merge pull request #3096 from googlefonts/multi_flag - - [subset] change input and plan flags to be bit sets. - -commit b63ac5717479cd8264e717f4e6a2df97d352bb67 -Author: Garret Rieger -Date: Thu Jul 29 18:23:41 2021 -0700 - - [subset] bail if collection region indices is in error. - - src/hb-ot-layout-common.hh | 4 ++++ - 1 file changed, 4 insertions(+) - -commit f9d8e4a97620eecd8dba3469b1bc115b3fbe242a -Author: Garret Rieger -Date: Thu Jul 29 15:25:41 2021 -0700 - - [subset] switch ..._set_flags to not take a mask. - - src/hb-subset-input.cc | 21 ++++++++------------- - src/hb-subset-input.hh | 4 +++- - src/hb-subset-plan.hh | 2 +- - src/hb-subset.h | 35 +++++++++++++++-------------------- - test/api/hb-subset-test.h | 3 +-- - test/api/test-subset-cff1.c | 20 +++++++++----------- - test/api/test-subset-cff2.c | 9 ++++----- - test/api/test-subset-glyf.c | 12 ++++++------ - test/api/test-subset-gvar.c | 2 +- - test/api/test-subset-hvar.c | 4 ++-- - test/api/test-subset-vvar.c | 2 +- - test/api/test-subset.c | 11 ++--------- - test/fuzzing/hb-subset-fuzzer.cc | 6 +++--- - util/options.hh | 9 +++++---- - 14 files changed, 61 insertions(+), 79 deletions(-) - -commit 46d4a5e67353517bb27d0ac2d944b7343a8cff3c -Author: Garret Rieger -Date: Thu Jul 29 15:07:13 2021 -0700 - - [subset] Convert subset plan to use a flags bit set. - - src/hb-ot-glyf-table.hh | 15 +++++++++------ - src/hb-ot-layout-gpos-table.hh | 6 +++--- - src/hb-ot-maxp-table.hh | 2 +- - src/hb-ot-name-table.hh | 6 +++++- - src/hb-ot-os2-table.hh | 3 ++- - src/hb-ot-post-table.hh | 5 +++-- - src/hb-ot-var-gvar-table.hh | 8 ++++++-- - src/hb-ot-var-hvar-table.hh | 2 +- - src/hb-subset-cff-common.hh | 13 ++++++++----- - src/hb-subset-cff1.cc | 4 ++-- - src/hb-subset-cff2.cc | 4 ++-- - src/hb-subset-plan.cc | 29 +++++++++++++++++------------ - src/hb-subset-plan.hh | 13 ++----------- - src/hb-subset.cc | 4 ++-- - 14 files changed, 63 insertions(+), 51 deletions(-) - -commit 3d534b146c545d95e4b81fbec2c5a7a73531fae5 -Author: Garret Rieger -Date: Thu Jul 29 11:52:14 2021 -0700 - - [subset] convert subset input flags into bit flags. - - Store the flags in a bit set. Updates the public api to work with the bit set directly. - - src/hb-subset-input.cc | 103 +++++++-------------------------------- - src/hb-subset-input.hh | 12 +---- - src/hb-subset-plan.cc | 22 ++++----- - src/hb-subset.h | 62 ++++++++++++----------- - test/api/hb-subset-test.h | 4 +- - test/api/test-subset-cff1.c | 24 ++++----- - test/api/test-subset-cff2.c | 11 +++-- - test/api/test-subset-glyf.c | 12 ++--- - test/api/test-subset-gvar.c | 2 +- - test/api/test-subset-hvar.c | 4 +- - test/api/test-subset-vvar.c | 2 +- - test/api/test-subset.c | 41 ++++++++++++++++ - test/fuzzing/hb-subset-fuzzer.cc | 33 +++---------- - util/hb-subset.cc | 2 +- - util/options-subset.cc | 23 +++++---- - util/options.hh | 24 +++++++++ - 16 files changed, 180 insertions(+), 201 deletions(-) - -commit f6c67a5fcfcf64e6e01b337c34d366f167800410 -Author: Khaled Hosny -Date: Fri Jul 30 02:20:19 2021 +0200 - - [test] Open file in UTF-8 - - It is 2021 and Python still does not default to UTF-8 on Windows! - - test/subset/run-tests.py | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit bafbade087d18f0045181ad31829a0a4ffbf0544 -Author: Khaled Hosny -Date: Fri Jul 30 01:42:45 2021 +0200 - - [test] Force FontTools to use \n on all platforms - - On Windows in helfuly uses \r\n. - - test/subset/run-tests.py | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit a78eb43c79e7a2d870add6b686426748e104b7b3 -Author: Ben Wagner -Date: Thu Jul 29 17:35:25 2021 -0400 - - Construct user_data in hb_object - - hb_object's user_data is created lazily. The previous implementation of - hb_object_set_user_data created space for the user_data but did not - actually construct it. This means that hb_user_data_array_t's lock was - not constructed. If hb_mutex_t is backed by an implementation which - requires that it be constructed (not just zero initialized) then errors - will occur when taking the lock when setting the user data. - - Change hb_object_set_user_data to construct the user_data in the created - space and hb_object_fini to call the destructor. - - src/hb-object.hh | 3 +++ - 1 file changed, 3 insertions(+) - -commit 278f44dcee34cea25403e42e06668f0afe2328c1 -Author: Khaled Hosny -Date: Thu Jul 29 23:43:56 2021 +0200 - - [test] Speed-up subset tests by saving TTX dump - - Speed-up subset tests by saving TTX dump of expected output instead of - generating it each time the tests are run. - - Cuts down meson test --suite=subset on my system from: - real 0m38.977s - user 1m12.024s - sys 0m10.547s - - to: - real 0m22.291s - user 0m44.548s - sys 0m9.221s - - Part of https://github.com/harfbuzz/harfbuzz/issues/3089 - - .../Comfortaa-Regular-new.default.61,62,63.ttf | Bin 7060 -> 0 bytes - .../Comfortaa-Regular-new.default.61,62,63.ttx | 4507 + - .../basics/Comfortaa-Regular-new.default.61,63.ttf | Bin 6692 -> 0 bytes - .../basics/Comfortaa-Regular-new.default.61,63.ttx | 4359 + - .../basics/Comfortaa-Regular-new.default.61.ttf | Bin 6328 -> 0 bytes - .../basics/Comfortaa-Regular-new.default.61.ttx | 4198 + - .../basics/Comfortaa-Regular-new.default.62.ttf | Bin 6200 -> 0 bytes - .../basics/Comfortaa-Regular-new.default.62.ttx | 4151 + - .../basics/Comfortaa-Regular-new.default.63.ttf | Bin 6256 -> 0 bytes - .../basics/Comfortaa-Regular-new.default.63.ttx | 4209 + - ...aa-Regular-new.default.retain-all-codepoint.ttf | Bin 220928 -> 0 bytes - ...aa-Regular-new.default.retain-all-codepoint.ttx | 132956 +++++++++++++++++ - ...Regular-new.drop-hints-retain-gids.61,62,63.ttf | Bin 4608 -> 0 bytes - ...Regular-new.drop-hints-retain-gids.61,62,63.ttx | 1918 + - ...aa-Regular-new.drop-hints-retain-gids.61,63.ttf | Bin 4312 -> 0 bytes - ...aa-Regular-new.drop-hints-retain-gids.61,63.ttx | 1785 + - ...ortaa-Regular-new.drop-hints-retain-gids.61.ttf | Bin 3724 -> 0 bytes - ...ortaa-Regular-new.drop-hints-retain-gids.61.ttx | 1493 + - ...ortaa-Regular-new.drop-hints-retain-gids.62.ttf | Bin 3900 -> 0 bytes - ...ortaa-Regular-new.drop-hints-retain-gids.62.ttx | 1600 + - ...ortaa-Regular-new.drop-hints-retain-gids.63.ttf | Bin 3972 -> 0 bytes - ...ortaa-Regular-new.drop-hints-retain-gids.63.ttx | 1662 + - ...drop-hints-retain-gids.retain-all-codepoint.ttf | Bin 189800 -> 0 bytes - ...drop-hints-retain-gids.retain-all-codepoint.ttx | 122816 ++++++++++++++++ - .../Comfortaa-Regular-new.drop-hints.61,62,63.ttf | Bin 2600 -> 0 bytes - .../Comfortaa-Regular-new.drop-hints.61,62,63.ttx | 813 + - .../Comfortaa-Regular-new.drop-hints.61,63.ttf | Bin 2296 -> 0 bytes - .../Comfortaa-Regular-new.drop-hints.61,63.ttx | 675 + - .../basics/Comfortaa-Regular-new.drop-hints.61.ttf | Bin 1976 -> 0 bytes - .../basics/Comfortaa-Regular-new.drop-hints.61.ttx | 523 + - .../basics/Comfortaa-Regular-new.drop-hints.62.ttf | Bin 1900 -> 0 bytes - .../basics/Comfortaa-Regular-new.drop-hints.62.ttx | 490 + - .../basics/Comfortaa-Regular-new.drop-hints.63.ttf | Bin 1968 -> 0 bytes - .../basics/Comfortaa-Regular-new.drop-hints.63.ttx | 547 + - ...Regular-new.drop-hints.retain-all-codepoint.ttf | Bin 189756 -> 0 bytes - ...Regular-new.drop-hints.retain-all-codepoint.ttx | 122806 ++++++++++++++++ - .../basics/Comfortaa-Regular-new.gids.61,62,63.ttf | Bin 7988 -> 0 bytes - .../basics/Comfortaa-Regular-new.gids.61,62,63.ttx | 4929 + - .../basics/Comfortaa-Regular-new.gids.61,63.ttf | Bin 7628 -> 0 bytes - .../basics/Comfortaa-Regular-new.gids.61,63.ttx | 4778 + - .../basics/Comfortaa-Regular-new.gids.61.ttf | Bin 7256 -> 0 bytes - .../basics/Comfortaa-Regular-new.gids.61.ttx | 4614 + - .../basics/Comfortaa-Regular-new.gids.62.ttf | Bin 7184 -> 0 bytes - .../basics/Comfortaa-Regular-new.gids.62.ttx | 4606 + - .../basics/Comfortaa-Regular-new.gids.63.ttf | Bin 7180 -> 0 bytes - .../basics/Comfortaa-Regular-new.gids.63.ttx | 4623 + - ...ortaa-Regular-new.gids.retain-all-codepoint.ttf | Bin 220928 -> 0 bytes - ...ortaa-Regular-new.gids.retain-all-codepoint.ttx | 132956 +++++++++++++++++ - .../Comfortaa-Regular-new.glyph-names.61,62,63.ttf | Bin 7072 -> 0 bytes - .../Comfortaa-Regular-new.glyph-names.61,62,63.ttx | 4519 + - .../Comfortaa-Regular-new.glyph-names.61,63.ttf | Bin 6700 -> 0 bytes - .../Comfortaa-Regular-new.glyph-names.61,63.ttx | 4371 + - .../Comfortaa-Regular-new.glyph-names.61.ttf | Bin 6336 -> 0 bytes - .../Comfortaa-Regular-new.glyph-names.61.ttx | 4210 + - .../Comfortaa-Regular-new.glyph-names.62.ttf | Bin 6208 -> 0 bytes - .../Comfortaa-Regular-new.glyph-names.62.ttx | 4163 + - .../Comfortaa-Regular-new.glyph-names.63.ttf | Bin 6264 -> 0 bytes - .../Comfortaa-Regular-new.glyph-names.63.ttx | 4221 + - ...egular-new.glyph-names.retain-all-codepoint.ttf | Bin 227920 -> 0 bytes - ...egular-new.glyph-names.retain-all-codepoint.ttx | 133598 ++++++++++++++++++ - ...gular-new.keep-all-layout-features.61,62,63.ttf | Bin 7504 -> 0 bytes - ...gular-new.keep-all-layout-features.61,62,63.ttx | 4670 + - ...-Regular-new.keep-all-layout-features.61,63.ttf | Bin 7140 -> 0 bytes - ...-Regular-new.keep-all-layout-features.61,63.ttx | 4519 + - ...taa-Regular-new.keep-all-layout-features.61.ttf | Bin 6772 -> 0 bytes - ...taa-Regular-new.keep-all-layout-features.61.ttx | 4355 + - ...taa-Regular-new.keep-all-layout-features.62.ttf | Bin 6200 -> 0 bytes - ...taa-Regular-new.keep-all-layout-features.62.ttx | 4151 + - ...taa-Regular-new.keep-all-layout-features.63.ttf | Bin 6256 -> 0 bytes - ...taa-Regular-new.keep-all-layout-features.63.ttx | 4209 + - ...ep-all-layout-features.retain-all-codepoint.ttf | Bin 221620 -> 0 bytes - ...ep-all-layout-features.retain-all-codepoint.ttx | 133303 +++++++++++++++++ - ...fortaa-Regular-new.layout-features.61,62,63.ttf | Bin 7060 -> 0 bytes - ...fortaa-Regular-new.layout-features.61,62,63.ttx | 4507 + - ...Comfortaa-Regular-new.layout-features.61,63.ttf | Bin 6692 -> 0 bytes - ...Comfortaa-Regular-new.layout-features.61,63.ttx | 4359 + - .../Comfortaa-Regular-new.layout-features.61.ttf | Bin 6328 -> 0 bytes - .../Comfortaa-Regular-new.layout-features.61.ttx | 4198 + - .../Comfortaa-Regular-new.layout-features.62.ttf | Bin 6200 -> 0 bytes - .../Comfortaa-Regular-new.layout-features.62.ttx | 4151 + - .../Comfortaa-Regular-new.layout-features.63.ttf | Bin 6256 -> 0 bytes - .../Comfortaa-Regular-new.layout-features.63.ttx | 4209 + - ...ar-new.layout-features.retain-all-codepoint.ttf | Bin 219124 -> 0 bytes - ...ar-new.layout-features.retain-all-codepoint.ttx | 131168 +++++++++++++++++ - .../Comfortaa-Regular-new.name-ids.61,62,63.ttf | Bin 6800 -> 0 bytes - .../Comfortaa-Regular-new.name-ids.61,62,63.ttx | 4495 + - .../Comfortaa-Regular-new.name-ids.61,63.ttf | Bin 6432 -> 0 bytes - .../Comfortaa-Regular-new.name-ids.61,63.ttx | 4347 + - .../basics/Comfortaa-Regular-new.name-ids.61.ttf | Bin 6068 -> 0 bytes - .../basics/Comfortaa-Regular-new.name-ids.61.ttx | 4186 + - .../basics/Comfortaa-Regular-new.name-ids.62.ttf | Bin 5940 -> 0 bytes - .../basics/Comfortaa-Regular-new.name-ids.62.ttx | 4139 + - .../basics/Comfortaa-Regular-new.name-ids.63.ttf | Bin 5996 -> 0 bytes - .../basics/Comfortaa-Regular-new.name-ids.63.ttx | 4197 + - ...a-Regular-new.name-ids.retain-all-codepoint.ttf | Bin 220668 -> 0 bytes - ...a-Regular-new.name-ids.retain-all-codepoint.ttx | 132944 +++++++++++++++++ - ...mfortaa-Regular-new.name-languages.61,62,63.ttf | Bin 7060 -> 0 bytes - ...mfortaa-Regular-new.name-languages.61,62,63.ttx | 4507 + - .../Comfortaa-Regular-new.name-languages.61,63.ttf | Bin 6692 -> 0 bytes - .../Comfortaa-Regular-new.name-languages.61,63.ttx | 4359 + - .../Comfortaa-Regular-new.name-languages.61.ttf | Bin 6328 -> 0 bytes - .../Comfortaa-Regular-new.name-languages.61.ttx | 4198 + - .../Comfortaa-Regular-new.name-languages.62.ttf | Bin 6200 -> 0 bytes - .../Comfortaa-Regular-new.name-languages.62.ttx | 4151 + - .../Comfortaa-Regular-new.name-languages.63.ttf | Bin 6256 -> 0 bytes - .../Comfortaa-Regular-new.name-languages.63.ttx | 4209 + - ...lar-new.name-languages.retain-all-codepoint.ttf | Bin 220928 -> 0 bytes - ...lar-new.name-languages.retain-all-codepoint.ttx | 132956 +++++++++++++++++ - .../Comfortaa-Regular-new.name-legacy.61,62,63.ttf | Bin 7060 -> 0 bytes - .../Comfortaa-Regular-new.name-legacy.61,62,63.ttx | 4507 + - .../Comfortaa-Regular-new.name-legacy.61,63.ttf | Bin 6692 -> 0 bytes - .../Comfortaa-Regular-new.name-legacy.61,63.ttx | 4359 + - .../Comfortaa-Regular-new.name-legacy.61.ttf | Bin 6328 -> 0 bytes - .../Comfortaa-Regular-new.name-legacy.61.ttx | 4198 + - .../Comfortaa-Regular-new.name-legacy.62.ttf | Bin 6200 -> 0 bytes - .../Comfortaa-Regular-new.name-legacy.62.ttx | 4151 + - .../Comfortaa-Regular-new.name-legacy.63.ttf | Bin 6256 -> 0 bytes - .../Comfortaa-Regular-new.name-legacy.63.ttx | 4209 + - ...egular-new.name-legacy.retain-all-codepoint.ttf | Bin 220928 -> 0 bytes - ...egular-new.name-legacy.retain-all-codepoint.ttx | 132956 +++++++++++++++++ - ...egular-new.no-prune-unicode-ranges.61,62,63.ttf | Bin 7060 -> 0 bytes - ...egular-new.no-prune-unicode-ranges.61,62,63.ttx | 4507 + - ...a-Regular-new.no-prune-unicode-ranges.61,63.ttf | Bin 6692 -> 0 bytes - ...a-Regular-new.no-prune-unicode-ranges.61,63.ttx | 4359 + - ...rtaa-Regular-new.no-prune-unicode-ranges.61.ttf | Bin 6328 -> 0 bytes - ...rtaa-Regular-new.no-prune-unicode-ranges.61.ttx | 4198 + - ...rtaa-Regular-new.no-prune-unicode-ranges.62.ttf | Bin 6200 -> 0 bytes - ...rtaa-Regular-new.no-prune-unicode-ranges.62.ttx | 4151 + - ...rtaa-Regular-new.no-prune-unicode-ranges.63.ttf | Bin 6256 -> 0 bytes - ...rtaa-Regular-new.no-prune-unicode-ranges.63.ttx | 4209 + - ...o-prune-unicode-ranges.retain-all-codepoint.ttf | Bin 220928 -> 0 bytes - ...o-prune-unicode-ranges.retain-all-codepoint.ttx | 132956 +++++++++++++++++ - ...mfortaa-Regular-new.notdef-outline.61,62,63.ttf | Bin 7652 -> 0 bytes - ...mfortaa-Regular-new.notdef-outline.61,62,63.ttx | 4758 + - .../Comfortaa-Regular-new.notdef-outline.61,63.ttf | Bin 7284 -> 0 bytes - .../Comfortaa-Regular-new.notdef-outline.61,63.ttx | 4610 + - .../Comfortaa-Regular-new.notdef-outline.61.ttf | Bin 6920 -> 0 bytes - .../Comfortaa-Regular-new.notdef-outline.61.ttx | 4449 + - .../Comfortaa-Regular-new.notdef-outline.62.ttf | Bin 6796 -> 0 bytes - .../Comfortaa-Regular-new.notdef-outline.62.ttx | 4402 + - .../Comfortaa-Regular-new.notdef-outline.63.ttf | Bin 6844 -> 0 bytes - .../Comfortaa-Regular-new.notdef-outline.63.ttx | 4460 + - ...lar-new.notdef-outline.retain-all-codepoint.ttf | Bin 221524 -> 0 bytes - ...lar-new.notdef-outline.retain-all-codepoint.ttx | 133207 +++++++++++++++++ - .../Comfortaa-Regular-new.retain-gids.61,62,63.ttf | Bin 9068 -> 0 bytes - .../Comfortaa-Regular-new.retain-gids.61,62,63.ttx | 5612 + - .../Comfortaa-Regular-new.retain-gids.61,63.ttf | Bin 8708 -> 0 bytes - .../Comfortaa-Regular-new.retain-gids.61,63.ttx | 5469 + - .../Comfortaa-Regular-new.retain-gids.61.ttf | Bin 8076 -> 0 bytes - .../Comfortaa-Regular-new.retain-gids.61.ttx | 5168 + - .../Comfortaa-Regular-new.retain-gids.62.ttf | Bin 8200 -> 0 bytes - .../Comfortaa-Regular-new.retain-gids.62.ttx | 5261 + - .../Comfortaa-Regular-new.retain-gids.63.ttf | Bin 8260 -> 0 bytes - .../Comfortaa-Regular-new.retain-gids.63.ttx | 5324 + - ...egular-new.retain-gids.retain-all-codepoint.ttf | Bin 220972 -> 0 bytes - ...egular-new.retain-gids.retain-all-codepoint.ttx | 132966 +++++++++++++++++ - ...numMyeongjo-Regular-subset.default.61,62,63.ttf | Bin 4128 -> 0 bytes - ...numMyeongjo-Regular-subset.default.61,62,63.ttx | 2032 + - .../NanumMyeongjo-Regular-subset.default.61,63.ttf | Bin 3580 -> 0 bytes - .../NanumMyeongjo-Regular-subset.default.61,63.ttx | 1822 + - .../NanumMyeongjo-Regular-subset.default.61.ttf | Bin 3156 -> 0 bytes - .../NanumMyeongjo-Regular-subset.default.61.ttx | 1696 + - .../NanumMyeongjo-Regular-subset.default.62.ttf | Bin 3180 -> 0 bytes - .../NanumMyeongjo-Regular-subset.default.62.ttx | 1719 + - .../NanumMyeongjo-Regular-subset.default.63.ttf | Bin 3048 -> 0 bytes - .../NanumMyeongjo-Regular-subset.default.63.ttx | 1635 + - ...Regular-subset.default.retain-all-codepoint.ttf | Bin 9524 -> 0 bytes - ...Regular-subset.default.retain-all-codepoint.ttx | 4391 + - ...ular-subset.drop-hints-retain-gids.61,62,63.ttf | Bin 1452 -> 0 bytes - ...ular-subset.drop-hints-retain-gids.61,62,63.ttx | 380 + - ...Regular-subset.drop-hints-retain-gids.61,63.ttf | Bin 1284 -> 0 bytes - ...Regular-subset.drop-hints-retain-gids.61,63.ttx | 314 + - ...jo-Regular-subset.drop-hints-retain-gids.61.ttf | Bin 1128 -> 0 bytes - ...jo-Regular-subset.drop-hints-retain-gids.61.ttx | 254 + - ...jo-Regular-subset.drop-hints-retain-gids.62.ttf | Bin 1144 -> 0 bytes - ...jo-Regular-subset.drop-hints-retain-gids.62.ttx | 261 + - ...jo-Regular-subset.drop-hints-retain-gids.63.ttf | Bin 1116 -> 0 bytes - ...jo-Regular-subset.drop-hints-retain-gids.63.ttx | 251 + - ...drop-hints-retain-gids.retain-all-codepoint.ttf | Bin 3536 -> 0 bytes - ...drop-hints-retain-gids.retain-all-codepoint.ttx | 1215 + - ...Myeongjo-Regular-subset.drop-hints.61,62,63.ttf | Bin 1452 -> 0 bytes - ...Myeongjo-Regular-subset.drop-hints.61,62,63.ttx | 380 + - ...numMyeongjo-Regular-subset.drop-hints.61,63.ttf | Bin 1276 -> 0 bytes - ...numMyeongjo-Regular-subset.drop-hints.61,63.ttx | 310 + - .../NanumMyeongjo-Regular-subset.drop-hints.61.ttf | Bin 1128 -> 0 bytes - .../NanumMyeongjo-Regular-subset.drop-hints.61.ttx | 254 + - .../NanumMyeongjo-Regular-subset.drop-hints.62.ttf | Bin 1140 -> 0 bytes - .../NanumMyeongjo-Regular-subset.drop-hints.62.ttx | 257 + - .../NanumMyeongjo-Regular-subset.drop-hints.63.ttf | Bin 1104 -> 0 bytes - .../NanumMyeongjo-Regular-subset.drop-hints.63.ttx | 243 + - ...ular-subset.drop-hints.retain-all-codepoint.ttf | Bin 3536 -> 0 bytes - ...ular-subset.drop-hints.retain-all-codepoint.ttx | 1215 + - .../NanumMyeongjo-Regular-subset.gids.61,62,63.ttf | Bin 4128 -> 0 bytes - .../NanumMyeongjo-Regular-subset.gids.61,62,63.ttx | 2032 + - .../NanumMyeongjo-Regular-subset.gids.61,63.ttf | Bin 4128 -> 0 bytes - .../NanumMyeongjo-Regular-subset.gids.61,63.ttx | 2032 + - .../NanumMyeongjo-Regular-subset.gids.61.ttf | Bin 4128 -> 0 bytes - .../NanumMyeongjo-Regular-subset.gids.61.ttx | 2032 + - .../NanumMyeongjo-Regular-subset.gids.62.ttf | Bin 4128 -> 0 bytes - .../NanumMyeongjo-Regular-subset.gids.62.ttx | 2032 + - .../NanumMyeongjo-Regular-subset.gids.63.ttf | Bin 4128 -> 0 bytes - .../NanumMyeongjo-Regular-subset.gids.63.ttx | 2032 + - ...jo-Regular-subset.gids.retain-all-codepoint.ttf | Bin 9524 -> 0 bytes - ...jo-Regular-subset.gids.retain-all-codepoint.ttx | 4391 + - ...yeongjo-Regular-subset.glyph-names.61,62,63.ttf | Bin 4128 -> 0 bytes - ...yeongjo-Regular-subset.glyph-names.61,62,63.ttx | 2032 + - ...umMyeongjo-Regular-subset.glyph-names.61,63.ttf | Bin 3580 -> 0 bytes - ...umMyeongjo-Regular-subset.glyph-names.61,63.ttx | 1822 + - ...NanumMyeongjo-Regular-subset.glyph-names.61.ttf | Bin 3156 -> 0 bytes - ...NanumMyeongjo-Regular-subset.glyph-names.61.ttx | 1696 + - ...NanumMyeongjo-Regular-subset.glyph-names.62.ttf | Bin 3180 -> 0 bytes - ...NanumMyeongjo-Regular-subset.glyph-names.62.ttx | 1719 + - ...NanumMyeongjo-Regular-subset.glyph-names.63.ttf | Bin 3048 -> 0 bytes - ...NanumMyeongjo-Regular-subset.glyph-names.63.ttx | 1635 + - ...lar-subset.glyph-names.retain-all-codepoint.ttf | Bin 9524 -> 0 bytes - ...lar-subset.glyph-names.retain-all-codepoint.ttx | 4391 + - ...ar-subset.keep-all-layout-features.61,62,63.ttf | Bin 4128 -> 0 bytes - ...ar-subset.keep-all-layout-features.61,62,63.ttx | 2032 + - ...gular-subset.keep-all-layout-features.61,63.ttf | Bin 3580 -> 0 bytes - ...gular-subset.keep-all-layout-features.61,63.ttx | 1822 + - ...-Regular-subset.keep-all-layout-features.61.ttf | Bin 3156 -> 0 bytes - ...-Regular-subset.keep-all-layout-features.61.ttx | 1696 + - ...-Regular-subset.keep-all-layout-features.62.ttf | Bin 3180 -> 0 bytes - ...-Regular-subset.keep-all-layout-features.62.ttx | 1719 + - ...-Regular-subset.keep-all-layout-features.63.ttf | Bin 3048 -> 0 bytes - ...-Regular-subset.keep-all-layout-features.63.ttx | 1635 + - ...ep-all-layout-features.retain-all-codepoint.ttf | Bin 9524 -> 0 bytes - ...ep-all-layout-features.retain-all-codepoint.ttx | 4391 + - ...gjo-Regular-subset.layout-features.61,62,63.ttf | Bin 4128 -> 0 bytes - ...gjo-Regular-subset.layout-features.61,62,63.ttx | 2032 + - ...eongjo-Regular-subset.layout-features.61,63.ttf | Bin 3580 -> 0 bytes - ...eongjo-Regular-subset.layout-features.61,63.ttx | 1822 + - ...mMyeongjo-Regular-subset.layout-features.61.ttf | Bin 3156 -> 0 bytes - ...mMyeongjo-Regular-subset.layout-features.61.ttx | 1696 + - ...mMyeongjo-Regular-subset.layout-features.62.ttf | Bin 3180 -> 0 bytes - ...mMyeongjo-Regular-subset.layout-features.62.ttx | 1719 + - ...mMyeongjo-Regular-subset.layout-features.63.ttf | Bin 3048 -> 0 bytes - ...mMyeongjo-Regular-subset.layout-features.63.ttx | 1635 + - ...subset.layout-features.retain-all-codepoint.ttf | Bin 9524 -> 0 bytes - ...subset.layout-features.retain-all-codepoint.ttx | 4391 + - ...umMyeongjo-Regular-subset.name-ids.61,62,63.ttf | Bin 3924 -> 0 bytes - ...umMyeongjo-Regular-subset.name-ids.61,62,63.ttx | 2020 + - ...NanumMyeongjo-Regular-subset.name-ids.61,63.ttf | Bin 3376 -> 0 bytes - ...NanumMyeongjo-Regular-subset.name-ids.61,63.ttx | 1810 + - .../NanumMyeongjo-Regular-subset.name-ids.61.ttf | Bin 2952 -> 0 bytes - .../NanumMyeongjo-Regular-subset.name-ids.61.ttx | 1684 + - .../NanumMyeongjo-Regular-subset.name-ids.62.ttf | Bin 2976 -> 0 bytes - .../NanumMyeongjo-Regular-subset.name-ids.62.ttx | 1707 + - .../NanumMyeongjo-Regular-subset.name-ids.63.ttf | Bin 2844 -> 0 bytes - .../NanumMyeongjo-Regular-subset.name-ids.63.ttx | 1623 + - ...egular-subset.name-ids.retain-all-codepoint.ttf | Bin 9320 -> 0 bytes - ...egular-subset.name-ids.retain-all-codepoint.ttx | 4379 + - ...ngjo-Regular-subset.name-languages.61,62,63.ttf | Bin 4172 -> 0 bytes - ...ngjo-Regular-subset.name-languages.61,62,63.ttx | 2041 + - ...yeongjo-Regular-subset.name-languages.61,63.ttf | Bin 3624 -> 0 bytes - ...yeongjo-Regular-subset.name-languages.61,63.ttx | 1831 + - ...umMyeongjo-Regular-subset.name-languages.61.ttf | Bin 3200 -> 0 bytes - ...umMyeongjo-Regular-subset.name-languages.61.ttx | 1705 + - ...umMyeongjo-Regular-subset.name-languages.62.ttf | Bin 3224 -> 0 bytes - ...umMyeongjo-Regular-subset.name-languages.62.ttx | 1728 + - ...umMyeongjo-Regular-subset.name-languages.63.ttf | Bin 3092 -> 0 bytes - ...umMyeongjo-Regular-subset.name-languages.63.ttx | 1644 + - ...-subset.name-languages.retain-all-codepoint.ttf | Bin 9568 -> 0 bytes - ...-subset.name-languages.retain-all-codepoint.ttx | 4400 + - ...yeongjo-Regular-subset.name-legacy.61,62,63.ttf | Bin 4128 -> 0 bytes - ...yeongjo-Regular-subset.name-legacy.61,62,63.ttx | 2032 + - ...umMyeongjo-Regular-subset.name-legacy.61,63.ttf | Bin 3580 -> 0 bytes - ...umMyeongjo-Regular-subset.name-legacy.61,63.ttx | 1822 + - ...NanumMyeongjo-Regular-subset.name-legacy.61.ttf | Bin 3156 -> 0 bytes - ...NanumMyeongjo-Regular-subset.name-legacy.61.ttx | 1696 + - ...NanumMyeongjo-Regular-subset.name-legacy.62.ttf | Bin 3180 -> 0 bytes - ...NanumMyeongjo-Regular-subset.name-legacy.62.ttx | 1719 + - ...NanumMyeongjo-Regular-subset.name-legacy.63.ttf | Bin 3048 -> 0 bytes - ...NanumMyeongjo-Regular-subset.name-legacy.63.ttx | 1635 + - ...lar-subset.name-legacy.retain-all-codepoint.ttf | Bin 9524 -> 0 bytes - ...lar-subset.name-legacy.retain-all-codepoint.ttx | 4391 + - ...lar-subset.no-prune-unicode-ranges.61,62,63.ttf | Bin 4128 -> 0 bytes - ...lar-subset.no-prune-unicode-ranges.61,62,63.ttx | 2032 + - ...egular-subset.no-prune-unicode-ranges.61,63.ttf | Bin 3580 -> 0 bytes - ...egular-subset.no-prune-unicode-ranges.61,63.ttx | 1822 + - ...o-Regular-subset.no-prune-unicode-ranges.61.ttf | Bin 3156 -> 0 bytes - ...o-Regular-subset.no-prune-unicode-ranges.61.ttx | 1696 + - ...o-Regular-subset.no-prune-unicode-ranges.62.ttf | Bin 3180 -> 0 bytes - ...o-Regular-subset.no-prune-unicode-ranges.62.ttx | 1719 + - ...o-Regular-subset.no-prune-unicode-ranges.63.ttf | Bin 3048 -> 0 bytes - ...o-Regular-subset.no-prune-unicode-ranges.63.ttx | 1635 + - ...o-prune-unicode-ranges.retain-all-codepoint.ttf | Bin 9524 -> 0 bytes - ...o-prune-unicode-ranges.retain-all-codepoint.ttx | 4391 + - ...ngjo-Regular-subset.notdef-outline.61,62,63.ttf | Bin 4128 -> 0 bytes - ...ngjo-Regular-subset.notdef-outline.61,62,63.ttx | 2032 + - ...yeongjo-Regular-subset.notdef-outline.61,63.ttf | Bin 3580 -> 0 bytes - ...yeongjo-Regular-subset.notdef-outline.61,63.ttx | 1822 + - ...umMyeongjo-Regular-subset.notdef-outline.61.ttf | Bin 3156 -> 0 bytes - ...umMyeongjo-Regular-subset.notdef-outline.61.ttx | 1696 + - ...umMyeongjo-Regular-subset.notdef-outline.62.ttf | Bin 3180 -> 0 bytes - ...umMyeongjo-Regular-subset.notdef-outline.62.ttx | 1719 + - ...umMyeongjo-Regular-subset.notdef-outline.63.ttf | Bin 3048 -> 0 bytes - ...umMyeongjo-Regular-subset.notdef-outline.63.ttx | 1635 + - ...-subset.notdef-outline.retain-all-codepoint.ttf | Bin 9524 -> 0 bytes - ...-subset.notdef-outline.retain-all-codepoint.ttx | 4391 + - ...yeongjo-Regular-subset.retain-gids.61,62,63.ttf | Bin 4128 -> 0 bytes - ...yeongjo-Regular-subset.retain-gids.61,62,63.ttx | 2032 + - ...umMyeongjo-Regular-subset.retain-gids.61,63.ttf | Bin 3588 -> 0 bytes - ...umMyeongjo-Regular-subset.retain-gids.61,63.ttx | 1826 + - ...NanumMyeongjo-Regular-subset.retain-gids.61.ttf | Bin 3156 -> 0 bytes - ...NanumMyeongjo-Regular-subset.retain-gids.61.ttx | 1696 + - ...NanumMyeongjo-Regular-subset.retain-gids.62.ttf | Bin 3184 -> 0 bytes - ...NanumMyeongjo-Regular-subset.retain-gids.62.ttx | 1723 + - ...NanumMyeongjo-Regular-subset.retain-gids.63.ttf | Bin 3060 -> 0 bytes - ...NanumMyeongjo-Regular-subset.retain-gids.63.ttx | 1643 + - ...lar-subset.retain-gids.retain-all-codepoint.ttf | Bin 9524 -> 0 bytes - ...lar-subset.retain-gids.retain-all-codepoint.ttx | 4391 + - .../basics/Roboto-Regular.abc.default.61,62,63.ttf | Bin 2452 -> 0 bytes - .../basics/Roboto-Regular.abc.default.61,62,63.ttx | 1407 + - .../basics/Roboto-Regular.abc.default.61,63.ttf | Bin 2260 -> 0 bytes - .../basics/Roboto-Regular.abc.default.61,63.ttx | 1259 + - .../basics/Roboto-Regular.abc.default.61.ttf | Bin 2048 -> 0 bytes - .../basics/Roboto-Regular.abc.default.61.ttx | 1127 + - .../basics/Roboto-Regular.abc.default.62.ttf | Bin 1916 -> 0 bytes - .../basics/Roboto-Regular.abc.default.62.ttx | 1025 + - .../basics/Roboto-Regular.abc.default.63.ttf | Bin 1972 -> 0 bytes - .../basics/Roboto-Regular.abc.default.63.ttx | 1073 + - ...to-Regular.abc.default.retain-all-codepoint.ttf | Bin 2452 -> 0 bytes - ...to-Regular.abc.default.retain-all-codepoint.ttx | 1407 + - ...Regular.abc.drop-hints-retain-gids.61,62,63.ttf | Bin 1192 -> 0 bytes - ...Regular.abc.drop-hints-retain-gids.61,62,63.ttx | 479 + - ...to-Regular.abc.drop-hints-retain-gids.61,63.ttf | Bin 1124 -> 0 bytes - ...to-Regular.abc.drop-hints-retain-gids.61,63.ttx | 433 + - ...oboto-Regular.abc.drop-hints-retain-gids.61.ttf | Bin 984 -> 0 bytes - ...oboto-Regular.abc.drop-hints-retain-gids.61.ttx | 374 + - ...oboto-Regular.abc.drop-hints-retain-gids.62.ttf | Bin 880 -> 0 bytes - ...oboto-Regular.abc.drop-hints-retain-gids.62.ttx | 297 + - ...oboto-Regular.abc.drop-hints-retain-gids.63.ttf | Bin 968 -> 0 bytes - ...oboto-Regular.abc.drop-hints-retain-gids.63.ttx | 369 + - ...drop-hints-retain-gids.retain-all-codepoint.ttf | Bin 1192 -> 0 bytes - ...drop-hints-retain-gids.retain-all-codepoint.ttx | 479 + - .../Roboto-Regular.abc.drop-hints.61,62,63.ttf | Bin 1192 -> 0 bytes - .../Roboto-Regular.abc.drop-hints.61,62,63.ttx | 479 + - .../basics/Roboto-Regular.abc.drop-hints.61,63.ttf | Bin 1108 -> 0 bytes - .../basics/Roboto-Regular.abc.drop-hints.61,63.ttx | 429 + - .../basics/Roboto-Regular.abc.drop-hints.61.ttf | Bin 984 -> 0 bytes - .../basics/Roboto-Regular.abc.drop-hints.61.ttx | 374 + - .../basics/Roboto-Regular.abc.drop-hints.62.ttf | Bin 876 -> 0 bytes - .../basics/Roboto-Regular.abc.drop-hints.62.ttx | 293 + - .../basics/Roboto-Regular.abc.drop-hints.63.ttf | Bin 956 -> 0 bytes - .../basics/Roboto-Regular.abc.drop-hints.63.ttx | 361 + - ...Regular.abc.drop-hints.retain-all-codepoint.ttf | Bin 1192 -> 0 bytes - ...Regular.abc.drop-hints.retain-all-codepoint.ttx | 479 + - .../basics/Roboto-Regular.abc.gids.61,62,63.ttf | Bin 2452 -> 0 bytes - .../basics/Roboto-Regular.abc.gids.61,62,63.ttx | 1407 + - .../basics/Roboto-Regular.abc.gids.61,63.ttf | Bin 2452 -> 0 bytes - .../basics/Roboto-Regular.abc.gids.61,63.ttx | 1407 + - .../expected/basics/Roboto-Regular.abc.gids.61.ttf | Bin 2452 -> 0 bytes - .../expected/basics/Roboto-Regular.abc.gids.61.ttx | 1407 + - .../expected/basics/Roboto-Regular.abc.gids.62.ttf | Bin 2452 -> 0 bytes - .../expected/basics/Roboto-Regular.abc.gids.62.ttx | 1407 + - .../expected/basics/Roboto-Regular.abc.gids.63.ttf | Bin 2452 -> 0 bytes - .../expected/basics/Roboto-Regular.abc.gids.63.ttx | 1407 + - ...oboto-Regular.abc.gids.retain-all-codepoint.ttf | Bin 2452 -> 0 bytes - ...oboto-Regular.abc.gids.retain-all-codepoint.ttx | 1407 + - .../Roboto-Regular.abc.glyph-names.61,62,63.ttf | Bin 2452 -> 0 bytes - .../Roboto-Regular.abc.glyph-names.61,62,63.ttx | 1407 + - .../Roboto-Regular.abc.glyph-names.61,63.ttf | Bin 2260 -> 0 bytes - .../Roboto-Regular.abc.glyph-names.61,63.ttx | 1259 + - .../basics/Roboto-Regular.abc.glyph-names.61.ttf | Bin 2048 -> 0 bytes - .../basics/Roboto-Regular.abc.glyph-names.61.ttx | 1127 + - .../basics/Roboto-Regular.abc.glyph-names.62.ttf | Bin 1916 -> 0 bytes - .../basics/Roboto-Regular.abc.glyph-names.62.ttx | 1025 + - .../basics/Roboto-Regular.abc.glyph-names.63.ttf | Bin 1972 -> 0 bytes - .../basics/Roboto-Regular.abc.glyph-names.63.ttx | 1073 + - ...egular.abc.glyph-names.retain-all-codepoint.ttf | Bin 2452 -> 0 bytes - ...egular.abc.glyph-names.retain-all-codepoint.ttx | 1407 + - ...gular.abc.keep-all-layout-features.61,62,63.ttf | Bin 2452 -> 0 bytes - ...gular.abc.keep-all-layout-features.61,62,63.ttx | 1407 + - ...-Regular.abc.keep-all-layout-features.61,63.ttf | Bin 2260 -> 0 bytes - ...-Regular.abc.keep-all-layout-features.61,63.ttx | 1259 + - ...oto-Regular.abc.keep-all-layout-features.61.ttf | Bin 2048 -> 0 bytes - ...oto-Regular.abc.keep-all-layout-features.61.ttx | 1127 + - ...oto-Regular.abc.keep-all-layout-features.62.ttf | Bin 1916 -> 0 bytes - ...oto-Regular.abc.keep-all-layout-features.62.ttx | 1025 + - ...oto-Regular.abc.keep-all-layout-features.63.ttf | Bin 1972 -> 0 bytes - ...oto-Regular.abc.keep-all-layout-features.63.ttx | 1073 + - ...ep-all-layout-features.retain-all-codepoint.ttf | Bin 2452 -> 0 bytes - ...ep-all-layout-features.retain-all-codepoint.ttx | 1407 + - ...Roboto-Regular.abc.layout-features.61,62,63.ttf | Bin 2452 -> 0 bytes - ...Roboto-Regular.abc.layout-features.61,62,63.ttx | 1407 + - .../Roboto-Regular.abc.layout-features.61,63.ttf | Bin 2260 -> 0 bytes - .../Roboto-Regular.abc.layout-features.61,63.ttx | 1259 + - .../Roboto-Regular.abc.layout-features.61.ttf | Bin 2048 -> 0 bytes - .../Roboto-Regular.abc.layout-features.61.ttx | 1127 + - .../Roboto-Regular.abc.layout-features.62.ttf | Bin 1916 -> 0 bytes - .../Roboto-Regular.abc.layout-features.62.ttx | 1025 + - .../Roboto-Regular.abc.layout-features.63.ttf | Bin 1972 -> 0 bytes - .../Roboto-Regular.abc.layout-features.63.ttx | 1073 + - ...ar.abc.layout-features.retain-all-codepoint.ttf | Bin 2452 -> 0 bytes - ...ar.abc.layout-features.retain-all-codepoint.ttx | 1407 + - .../Roboto-Regular.abc.name-ids.61,62,63.ttf | Bin 2452 -> 0 bytes - .../Roboto-Regular.abc.name-ids.61,62,63.ttx | 1407 + - .../basics/Roboto-Regular.abc.name-ids.61,63.ttf | Bin 2260 -> 0 bytes - .../basics/Roboto-Regular.abc.name-ids.61,63.ttx | 1259 + - .../basics/Roboto-Regular.abc.name-ids.61.ttf | Bin 2048 -> 0 bytes - .../basics/Roboto-Regular.abc.name-ids.61.ttx | 1127 + - .../basics/Roboto-Regular.abc.name-ids.62.ttf | Bin 1916 -> 0 bytes - .../basics/Roboto-Regular.abc.name-ids.62.ttx | 1025 + - .../basics/Roboto-Regular.abc.name-ids.63.ttf | Bin 1972 -> 0 bytes - .../basics/Roboto-Regular.abc.name-ids.63.ttx | 1073 + - ...o-Regular.abc.name-ids.retain-all-codepoint.ttf | Bin 2452 -> 0 bytes - ...o-Regular.abc.name-ids.retain-all-codepoint.ttx | 1407 + - .../Roboto-Regular.abc.name-languages.61,62,63.ttf | Bin 2452 -> 0 bytes - .../Roboto-Regular.abc.name-languages.61,62,63.ttx | 1407 + - .../Roboto-Regular.abc.name-languages.61,63.ttf | Bin 2260 -> 0 bytes - .../Roboto-Regular.abc.name-languages.61,63.ttx | 1259 + - .../Roboto-Regular.abc.name-languages.61.ttf | Bin 2048 -> 0 bytes - .../Roboto-Regular.abc.name-languages.61.ttx | 1127 + - .../Roboto-Regular.abc.name-languages.62.ttf | Bin 1916 -> 0 bytes - .../Roboto-Regular.abc.name-languages.62.ttx | 1025 + - .../Roboto-Regular.abc.name-languages.63.ttf | Bin 1972 -> 0 bytes - .../Roboto-Regular.abc.name-languages.63.ttx | 1073 + - ...lar.abc.name-languages.retain-all-codepoint.ttf | Bin 2452 -> 0 bytes - ...lar.abc.name-languages.retain-all-codepoint.ttx | 1407 + - .../Roboto-Regular.abc.name-legacy.61,62,63.ttf | Bin 2452 -> 0 bytes - .../Roboto-Regular.abc.name-legacy.61,62,63.ttx | 1407 + - .../Roboto-Regular.abc.name-legacy.61,63.ttf | Bin 2260 -> 0 bytes - .../Roboto-Regular.abc.name-legacy.61,63.ttx | 1259 + - .../basics/Roboto-Regular.abc.name-legacy.61.ttf | Bin 2048 -> 0 bytes - .../basics/Roboto-Regular.abc.name-legacy.61.ttx | 1127 + - .../basics/Roboto-Regular.abc.name-legacy.62.ttf | Bin 1916 -> 0 bytes - .../basics/Roboto-Regular.abc.name-legacy.62.ttx | 1025 + - .../basics/Roboto-Regular.abc.name-legacy.63.ttf | Bin 1972 -> 0 bytes - .../basics/Roboto-Regular.abc.name-legacy.63.ttx | 1073 + - ...egular.abc.name-legacy.retain-all-codepoint.ttf | Bin 2452 -> 0 bytes - ...egular.abc.name-legacy.retain-all-codepoint.ttx | 1407 + - ...egular.abc.no-prune-unicode-ranges.61,62,63.ttf | Bin 2452 -> 0 bytes - ...egular.abc.no-prune-unicode-ranges.61,62,63.ttx | 1407 + - ...o-Regular.abc.no-prune-unicode-ranges.61,63.ttf | Bin 2260 -> 0 bytes - ...o-Regular.abc.no-prune-unicode-ranges.61,63.ttx | 1259 + - ...boto-Regular.abc.no-prune-unicode-ranges.61.ttf | Bin 2048 -> 0 bytes - ...boto-Regular.abc.no-prune-unicode-ranges.61.ttx | 1127 + - ...boto-Regular.abc.no-prune-unicode-ranges.62.ttf | Bin 1916 -> 0 bytes - ...boto-Regular.abc.no-prune-unicode-ranges.62.ttx | 1025 + - ...boto-Regular.abc.no-prune-unicode-ranges.63.ttf | Bin 1972 -> 0 bytes - ...boto-Regular.abc.no-prune-unicode-ranges.63.ttx | 1073 + - ...o-prune-unicode-ranges.retain-all-codepoint.ttf | Bin 2452 -> 0 bytes - ...o-prune-unicode-ranges.retain-all-codepoint.ttx | 1407 + - .../Roboto-Regular.abc.notdef-outline.61,62,63.ttf | Bin 2452 -> 0 bytes - .../Roboto-Regular.abc.notdef-outline.61,62,63.ttx | 1407 + - .../Roboto-Regular.abc.notdef-outline.61,63.ttf | Bin 2260 -> 0 bytes - .../Roboto-Regular.abc.notdef-outline.61,63.ttx | 1259 + - .../Roboto-Regular.abc.notdef-outline.61.ttf | Bin 2048 -> 0 bytes - .../Roboto-Regular.abc.notdef-outline.61.ttx | 1127 + - .../Roboto-Regular.abc.notdef-outline.62.ttf | Bin 1916 -> 0 bytes - .../Roboto-Regular.abc.notdef-outline.62.ttx | 1025 + - .../Roboto-Regular.abc.notdef-outline.63.ttf | Bin 1972 -> 0 bytes - .../Roboto-Regular.abc.notdef-outline.63.ttx | 1073 + - ...lar.abc.notdef-outline.retain-all-codepoint.ttf | Bin 2452 -> 0 bytes - ...lar.abc.notdef-outline.retain-all-codepoint.ttx | 1407 + - .../Roboto-Regular.abc.retain-gids.61,62,63.ttf | Bin 2452 -> 0 bytes - .../Roboto-Regular.abc.retain-gids.61,62,63.ttx | 1407 + - .../Roboto-Regular.abc.retain-gids.61,63.ttf | Bin 2276 -> 0 bytes - .../Roboto-Regular.abc.retain-gids.61,63.ttx | 1264 + - .../basics/Roboto-Regular.abc.retain-gids.61.ttf | Bin 2048 -> 0 bytes - .../basics/Roboto-Regular.abc.retain-gids.61.ttx | 1127 + - .../basics/Roboto-Regular.abc.retain-gids.62.ttf | Bin 1924 -> 0 bytes - .../basics/Roboto-Regular.abc.retain-gids.62.ttx | 1030 + - .../basics/Roboto-Regular.abc.retain-gids.63.ttf | Bin 1988 -> 0 bytes - .../basics/Roboto-Regular.abc.retain-gids.63.ttx | 1083 + - ...egular.abc.retain-gids.retain-all-codepoint.ttf | Bin 2452 -> 0 bytes - ...egular.abc.retain-gids.retain-all-codepoint.ttx | 1407 + - .../cbdt/NotoColorEmoji.subset.default.2049.ttf | Bin 3112 -> 0 bytes - .../cbdt/NotoColorEmoji.subset.default.2049.ttx | 397 + - .../cbdt/NotoColorEmoji.subset.default.38,2049.ttf | Bin 4084 -> 0 bytes - .../cbdt/NotoColorEmoji.subset.default.38,2049.ttx | 474 + - .../cbdt/NotoColorEmoji.subset.default.38,20E3.ttf | Bin 3568 -> 0 bytes - .../cbdt/NotoColorEmoji.subset.default.38,20E3.ttx | 441 + - ...rEmoji.subset.default.38,39,AE,2049,38,20E3.ttf | Bin 10124 -> 0 bytes - ...rEmoji.subset.default.38,39,AE,2049,38,20E3.ttx | 898 + - .../NotoColorEmoji.subset.default.38,AE,2049.ttf | Bin 7544 -> 0 bytes - .../NotoColorEmoji.subset.default.38,AE,2049.ttx | 705 + - .../cbdt/NotoColorEmoji.subset.default.39.ttf | Bin 1920 -> 0 bytes - .../cbdt/NotoColorEmoji.subset.default.39.ttx | 323 + - .../cbdt/NotoColorEmoji.subset.default.AE.ttf | Bin 4412 -> 0 bytes - .../cbdt/NotoColorEmoji.subset.default.AE.ttx | 478 + - ...lorEmoji.subset.drop-hints-retain-gids.2049.ttf | Bin 3136 -> 0 bytes - ...lorEmoji.subset.drop-hints-retain-gids.2049.ttx | 406 + - ...Emoji.subset.drop-hints-retain-gids.38,2049.ttf | Bin 4108 -> 0 bytes - ...Emoji.subset.drop-hints-retain-gids.38,2049.ttx | 480 + - ...Emoji.subset.drop-hints-retain-gids.38,20E3.ttf | Bin 3600 -> 0 bytes - ...Emoji.subset.drop-hints-retain-gids.38,20E3.ttx | 450 + - ...rop-hints-retain-gids.38,39,AE,2049,38,20E3.ttf | Bin 10124 -> 0 bytes - ...rop-hints-retain-gids.38,39,AE,2049,38,20E3.ttx | 898 + - ...ji.subset.drop-hints-retain-gids.38,AE,2049.ttf | Bin 7564 -> 0 bytes - ...ji.subset.drop-hints-retain-gids.38,AE,2049.ttx | 708 + - ...ColorEmoji.subset.drop-hints-retain-gids.39.ttf | Bin 1928 -> 0 bytes - ...ColorEmoji.subset.drop-hints-retain-gids.39.ttx | 326 + - ...ColorEmoji.subset.drop-hints-retain-gids.AE.ttf | Bin 4428 -> 0 bytes - ...ColorEmoji.subset.drop-hints-retain-gids.AE.ttx | 484 + - .../cbdt/NotoColorEmoji.subset.drop-hints.2049.ttf | Bin 3112 -> 0 bytes - .../cbdt/NotoColorEmoji.subset.drop-hints.2049.ttx | 397 + - .../NotoColorEmoji.subset.drop-hints.38,2049.ttf | Bin 4084 -> 0 bytes - .../NotoColorEmoji.subset.drop-hints.38,2049.ttx | 474 + - .../NotoColorEmoji.subset.drop-hints.38,20E3.ttf | Bin 3568 -> 0 bytes - .../NotoColorEmoji.subset.drop-hints.38,20E3.ttx | 441 + - ...oji.subset.drop-hints.38,39,AE,2049,38,20E3.ttf | Bin 10124 -> 0 bytes - ...oji.subset.drop-hints.38,39,AE,2049,38,20E3.ttx | 898 + - ...NotoColorEmoji.subset.drop-hints.38,AE,2049.ttf | Bin 7544 -> 0 bytes - ...NotoColorEmoji.subset.drop-hints.38,AE,2049.ttx | 705 + - .../cbdt/NotoColorEmoji.subset.drop-hints.39.ttf | Bin 1920 -> 0 bytes - .../cbdt/NotoColorEmoji.subset.drop-hints.39.ttx | 323 + - .../cbdt/NotoColorEmoji.subset.drop-hints.AE.ttf | Bin 4412 -> 0 bytes - .../cbdt/NotoColorEmoji.subset.drop-hints.AE.ttx | 478 + - .../NotoColorEmoji.subset.gap.default.2049.ttf | Bin 3112 -> 0 bytes - .../NotoColorEmoji.subset.gap.default.2049.ttx | 397 + - .../NotoColorEmoji.subset.gap.default.38,2049.ttf | Bin 4084 -> 0 bytes - .../NotoColorEmoji.subset.gap.default.38,2049.ttx | 474 + - .../NotoColorEmoji.subset.gap.default.38,20E3.ttf | Bin 3568 -> 0 bytes - .../NotoColorEmoji.subset.gap.default.38,20E3.ttx | 441 + - ...ji.subset.gap.default.38,39,AE,2049,38,20E3.ttf | Bin 9188 -> 0 bytes - ...ji.subset.gap.default.38,39,AE,2049,38,20E3.ttx | 827 + - ...otoColorEmoji.subset.gap.default.38,AE,2049.ttf | Bin 7544 -> 0 bytes - ...otoColorEmoji.subset.gap.default.38,AE,2049.ttx | 705 + - .../cbdt/NotoColorEmoji.subset.gap.default.39.ttf | Bin 908 -> 0 bytes - .../cbdt/NotoColorEmoji.subset.gap.default.39.ttx | 207 + - .../cbdt/NotoColorEmoji.subset.gap.default.AE.ttf | Bin 4412 -> 0 bytes - .../cbdt/NotoColorEmoji.subset.gap.default.AE.ttx | 478 + - ...moji.subset.gap.drop-hints-retain-gids.2049.ttf | Bin 3136 -> 0 bytes - ...moji.subset.gap.drop-hints-retain-gids.2049.ttx | 406 + - ...i.subset.gap.drop-hints-retain-gids.38,2049.ttf | Bin 4108 -> 0 bytes - ...i.subset.gap.drop-hints-retain-gids.38,2049.ttx | 480 + - ...i.subset.gap.drop-hints-retain-gids.38,20E3.ttf | Bin 3600 -> 0 bytes - ...i.subset.gap.drop-hints-retain-gids.38,20E3.ttx | 450 + - ...rop-hints-retain-gids.38,39,AE,2049,38,20E3.ttf | Bin 9188 -> 0 bytes - ...rop-hints-retain-gids.38,39,AE,2049,38,20E3.ttx | 827 + - ...ubset.gap.drop-hints-retain-gids.38,AE,2049.ttf | Bin 7564 -> 0 bytes - ...ubset.gap.drop-hints-retain-gids.38,AE,2049.ttx | 708 + - ...rEmoji.subset.gap.drop-hints-retain-gids.39.ttf | Bin 916 -> 0 bytes - ...rEmoji.subset.gap.drop-hints-retain-gids.39.ttx | 210 + - ...rEmoji.subset.gap.drop-hints-retain-gids.AE.ttf | Bin 4428 -> 0 bytes - ...rEmoji.subset.gap.drop-hints-retain-gids.AE.ttx | 484 + - .../NotoColorEmoji.subset.gap.drop-hints.2049.ttf | Bin 3112 -> 0 bytes - .../NotoColorEmoji.subset.gap.drop-hints.2049.ttx | 397 + - ...otoColorEmoji.subset.gap.drop-hints.38,2049.ttf | Bin 4084 -> 0 bytes - ...otoColorEmoji.subset.gap.drop-hints.38,2049.ttx | 474 + - ...otoColorEmoji.subset.gap.drop-hints.38,20E3.ttf | Bin 3568 -> 0 bytes - ...otoColorEmoji.subset.gap.drop-hints.38,20E3.ttx | 441 + - ...subset.gap.drop-hints.38,39,AE,2049,38,20E3.ttf | Bin 9188 -> 0 bytes - ...subset.gap.drop-hints.38,39,AE,2049,38,20E3.ttx | 827 + - ...ColorEmoji.subset.gap.drop-hints.38,AE,2049.ttf | Bin 7544 -> 0 bytes - ...ColorEmoji.subset.gap.drop-hints.38,AE,2049.ttx | 705 + - .../NotoColorEmoji.subset.gap.drop-hints.39.ttf | Bin 908 -> 0 bytes - .../NotoColorEmoji.subset.gap.drop-hints.39.ttx | 207 + - .../NotoColorEmoji.subset.gap.drop-hints.AE.ttf | Bin 4412 -> 0 bytes - .../NotoColorEmoji.subset.gap.drop-hints.AE.ttx | 478 + - .../NotoColorEmoji.subset.gap.retain-gids.2049.ttf | Bin 3136 -> 0 bytes - .../NotoColorEmoji.subset.gap.retain-gids.2049.ttx | 406 + - ...toColorEmoji.subset.gap.retain-gids.38,2049.ttf | Bin 4108 -> 0 bytes - ...toColorEmoji.subset.gap.retain-gids.38,2049.ttx | 480 + - ...toColorEmoji.subset.gap.retain-gids.38,20E3.ttf | Bin 3600 -> 0 bytes - ...toColorEmoji.subset.gap.retain-gids.38,20E3.ttx | 450 + - ...ubset.gap.retain-gids.38,39,AE,2049,38,20E3.ttf | Bin 9188 -> 0 bytes - ...ubset.gap.retain-gids.38,39,AE,2049,38,20E3.ttx | 827 + - ...olorEmoji.subset.gap.retain-gids.38,AE,2049.ttf | Bin 7564 -> 0 bytes - ...olorEmoji.subset.gap.retain-gids.38,AE,2049.ttx | 708 + - .../NotoColorEmoji.subset.gap.retain-gids.39.ttf | Bin 916 -> 0 bytes - .../NotoColorEmoji.subset.gap.retain-gids.39.ttx | 210 + - .../NotoColorEmoji.subset.gap.retain-gids.AE.ttf | Bin 4428 -> 0 bytes - .../NotoColorEmoji.subset.gap.retain-gids.AE.ttx | 484 + - ...olorEmoji.subset.index_format3.default.2049.ttf | Bin 3108 -> 0 bytes - ...olorEmoji.subset.index_format3.default.2049.ttx | 397 + - ...rEmoji.subset.index_format3.default.38,2049.ttf | Bin 4076 -> 0 bytes - ...rEmoji.subset.index_format3.default.38,2049.ttx | 474 + - ...rEmoji.subset.index_format3.default.38,20E3.ttf | Bin 3560 -> 0 bytes - ...rEmoji.subset.index_format3.default.38,20E3.ttx | 441 + - ...index_format3.default.38,39,AE,2049,38,20E3.ttf | Bin 10112 -> 0 bytes - ...index_format3.default.38,39,AE,2049,38,20E3.ttx | 898 + - ...oji.subset.index_format3.default.38,AE,2049.ttf | Bin 7536 -> 0 bytes - ...oji.subset.index_format3.default.38,AE,2049.ttx | 705 + - ...oColorEmoji.subset.index_format3.default.39.ttf | Bin 1916 -> 0 bytes - ...oColorEmoji.subset.index_format3.default.39.ttx | 323 + - ...oColorEmoji.subset.index_format3.default.AE.ttf | Bin 4408 -> 0 bytes - ...oColorEmoji.subset.index_format3.default.AE.ttx | 478 + - ...t.index_format3.drop-hints-retain-gids.2049.ttf | Bin 3132 -> 0 bytes - ...t.index_format3.drop-hints-retain-gids.2049.ttx | 406 + - ...ndex_format3.drop-hints-retain-gids.38,2049.ttf | Bin 4100 -> 0 bytes - ...ndex_format3.drop-hints-retain-gids.38,2049.ttx | 480 + - ...ndex_format3.drop-hints-retain-gids.38,20E3.ttf | Bin 3592 -> 0 bytes - ...ndex_format3.drop-hints-retain-gids.38,20E3.ttx | 450 + - ...rop-hints-retain-gids.38,39,AE,2049,38,20E3.ttf | Bin 10112 -> 0 bytes - ...rop-hints-retain-gids.38,39,AE,2049,38,20E3.ttx | 898 + - ...x_format3.drop-hints-retain-gids.38,AE,2049.ttf | Bin 7552 -> 0 bytes - ...x_format3.drop-hints-retain-gids.38,AE,2049.ttx | 708 + - ...set.index_format3.drop-hints-retain-gids.39.ttf | Bin 1924 -> 0 bytes - ...set.index_format3.drop-hints-retain-gids.39.ttx | 326 + - ...set.index_format3.drop-hints-retain-gids.AE.ttf | Bin 4424 -> 0 bytes - ...set.index_format3.drop-hints-retain-gids.AE.ttx | 484 + - ...rEmoji.subset.index_format3.drop-hints.2049.ttf | Bin 3108 -> 0 bytes - ...rEmoji.subset.index_format3.drop-hints.2049.ttx | 397 + - ...oji.subset.index_format3.drop-hints.38,2049.ttf | Bin 4076 -> 0 bytes - ...oji.subset.index_format3.drop-hints.38,2049.ttx | 474 + - ...oji.subset.index_format3.drop-hints.38,20E3.ttf | Bin 3560 -> 0 bytes - ...oji.subset.index_format3.drop-hints.38,20E3.ttx | 441 + - ...ex_format3.drop-hints.38,39,AE,2049,38,20E3.ttf | Bin 10112 -> 0 bytes - ...ex_format3.drop-hints.38,39,AE,2049,38,20E3.ttx | 898 + - ....subset.index_format3.drop-hints.38,AE,2049.ttf | Bin 7536 -> 0 bytes - ....subset.index_format3.drop-hints.38,AE,2049.ttx | 705 + - ...lorEmoji.subset.index_format3.drop-hints.39.ttf | Bin 1916 -> 0 bytes - ...lorEmoji.subset.index_format3.drop-hints.39.ttx | 323 + - ...lorEmoji.subset.index_format3.drop-hints.AE.ttf | Bin 4408 -> 0 bytes - ...lorEmoji.subset.index_format3.drop-hints.AE.ttx | 478 + - ...Emoji.subset.index_format3.retain-gids.2049.ttf | Bin 3132 -> 0 bytes - ...Emoji.subset.index_format3.retain-gids.2049.ttx | 406 + - ...ji.subset.index_format3.retain-gids.38,2049.ttf | Bin 4100 -> 0 bytes - ...ji.subset.index_format3.retain-gids.38,2049.ttx | 480 + - ...ji.subset.index_format3.retain-gids.38,20E3.ttf | Bin 3592 -> 0 bytes - ...ji.subset.index_format3.retain-gids.38,20E3.ttx | 450 + - ...x_format3.retain-gids.38,39,AE,2049,38,20E3.ttf | Bin 10112 -> 0 bytes - ...x_format3.retain-gids.38,39,AE,2049,38,20E3.ttx | 898 + - ...subset.index_format3.retain-gids.38,AE,2049.ttf | Bin 7552 -> 0 bytes - ...subset.index_format3.retain-gids.38,AE,2049.ttx | 708 + - ...orEmoji.subset.index_format3.retain-gids.39.ttf | Bin 1924 -> 0 bytes - ...orEmoji.subset.index_format3.retain-gids.39.ttx | 326 + - ...orEmoji.subset.index_format3.retain-gids.AE.ttf | Bin 4424 -> 0 bytes - ...orEmoji.subset.index_format3.retain-gids.AE.ttx | 484 + - ...ji.subset.multiple_size_tables.default.2049.ttf | Bin 5312 -> 0 bytes - ...ji.subset.multiple_size_tables.default.2049.ttx | 587 + - ...subset.multiple_size_tables.default.38,2049.ttf | Bin 7244 -> 0 bytes - ...subset.multiple_size_tables.default.38,2049.ttx | 736 + - ...subset.multiple_size_tables.default.38,20E3.ttf | Bin 6212 -> 0 bytes - ...subset.multiple_size_tables.default.38,20E3.ttx | 671 + - ...e_size_tables.default.38,39,AE,2049,38,20E3.ttf | Bin 19280 -> 0 bytes - ...e_size_tables.default.38,39,AE,2049,38,20E3.ttx | 1570 + - ...set.multiple_size_tables.default.38,AE,2049.ttf | Bin 14140 -> 0 bytes - ...set.multiple_size_tables.default.38,AE,2049.ttx | 1193 + - ...moji.subset.multiple_size_tables.default.39.ttf | Bin 2928 -> 0 bytes - ...moji.subset.multiple_size_tables.default.39.ttx | 439 + - ...moji.subset.multiple_size_tables.default.AE.ttf | Bin 7916 -> 0 bytes - ...moji.subset.multiple_size_tables.default.AE.ttx | 749 + - ...ple_size_tables.drop-hints-retain-gids.2049.ttf | Bin 5336 -> 0 bytes - ...ple_size_tables.drop-hints-retain-gids.2049.ttx | 596 + - ..._size_tables.drop-hints-retain-gids.38,2049.ttf | Bin 7268 -> 0 bytes - ..._size_tables.drop-hints-retain-gids.38,2049.ttx | 742 + - ..._size_tables.drop-hints-retain-gids.38,20E3.ttf | Bin 6244 -> 0 bytes - ..._size_tables.drop-hints-retain-gids.38,20E3.ttx | 680 + - ...rop-hints-retain-gids.38,39,AE,2049,38,20E3.ttf | Bin 19280 -> 0 bytes - ...rop-hints-retain-gids.38,39,AE,2049,38,20E3.ttx | 1570 + - ...ze_tables.drop-hints-retain-gids.38,AE,2049.ttf | Bin 14164 -> 0 bytes - ...ze_tables.drop-hints-retain-gids.38,AE,2049.ttx | 1196 + - ...tiple_size_tables.drop-hints-retain-gids.39.ttf | Bin 2936 -> 0 bytes - ...tiple_size_tables.drop-hints-retain-gids.39.ttx | 442 + - ...tiple_size_tables.drop-hints-retain-gids.AE.ttf | Bin 7932 -> 0 bytes - ...tiple_size_tables.drop-hints-retain-gids.AE.ttx | 755 + - ...subset.multiple_size_tables.drop-hints.2049.ttf | Bin 5312 -> 0 bytes - ...subset.multiple_size_tables.drop-hints.2049.ttx | 587 + - ...set.multiple_size_tables.drop-hints.38,2049.ttf | Bin 7244 -> 0 bytes - ...set.multiple_size_tables.drop-hints.38,2049.ttx | 736 + - ...set.multiple_size_tables.drop-hints.38,20E3.ttf | Bin 6212 -> 0 bytes - ...set.multiple_size_tables.drop-hints.38,20E3.ttx | 671 + - ...ize_tables.drop-hints.38,39,AE,2049,38,20E3.ttf | Bin 19280 -> 0 bytes - ...ize_tables.drop-hints.38,39,AE,2049,38,20E3.ttx | 1570 + - ....multiple_size_tables.drop-hints.38,AE,2049.ttf | Bin 14140 -> 0 bytes - ....multiple_size_tables.drop-hints.38,AE,2049.ttx | 1193 + - ...i.subset.multiple_size_tables.drop-hints.39.ttf | Bin 2928 -> 0 bytes - ...i.subset.multiple_size_tables.drop-hints.39.ttx | 439 + - ...i.subset.multiple_size_tables.drop-hints.AE.ttf | Bin 7916 -> 0 bytes - ...i.subset.multiple_size_tables.drop-hints.AE.ttx | 749 + - ...ubset.multiple_size_tables.retain-gids.2049.ttf | Bin 5336 -> 0 bytes - ...ubset.multiple_size_tables.retain-gids.2049.ttx | 596 + - ...et.multiple_size_tables.retain-gids.38,2049.ttf | Bin 7268 -> 0 bytes - ...et.multiple_size_tables.retain-gids.38,2049.ttx | 742 + - ...et.multiple_size_tables.retain-gids.38,20E3.ttf | Bin 6244 -> 0 bytes - ...et.multiple_size_tables.retain-gids.38,20E3.ttx | 680 + - ...ze_tables.retain-gids.38,39,AE,2049,38,20E3.ttf | Bin 19280 -> 0 bytes - ...ze_tables.retain-gids.38,39,AE,2049,38,20E3.ttx | 1570 + - ...multiple_size_tables.retain-gids.38,AE,2049.ttf | Bin 14164 -> 0 bytes - ...multiple_size_tables.retain-gids.38,AE,2049.ttx | 1196 + - ....subset.multiple_size_tables.retain-gids.39.ttf | Bin 2936 -> 0 bytes - ....subset.multiple_size_tables.retain-gids.39.ttx | 442 + - ....subset.multiple_size_tables.retain-gids.AE.ttf | Bin 7932 -> 0 bytes - ....subset.multiple_size_tables.retain-gids.AE.ttx | 755 + - .../NotoColorEmoji.subset.retain-gids.2049.ttf | Bin 3136 -> 0 bytes - .../NotoColorEmoji.subset.retain-gids.2049.ttx | 406 + - .../NotoColorEmoji.subset.retain-gids.38,2049.ttf | Bin 4108 -> 0 bytes - .../NotoColorEmoji.subset.retain-gids.38,2049.ttx | 480 + - .../NotoColorEmoji.subset.retain-gids.38,20E3.ttf | Bin 3600 -> 0 bytes - .../NotoColorEmoji.subset.retain-gids.38,20E3.ttx | 450 + - ...ji.subset.retain-gids.38,39,AE,2049,38,20E3.ttf | Bin 10124 -> 0 bytes - ...ji.subset.retain-gids.38,39,AE,2049,38,20E3.ttx | 898 + - ...otoColorEmoji.subset.retain-gids.38,AE,2049.ttf | Bin 7564 -> 0 bytes - ...otoColorEmoji.subset.retain-gids.38,AE,2049.ttx | 708 + - .../cbdt/NotoColorEmoji.subset.retain-gids.39.ttf | Bin 1928 -> 0 bytes - .../cbdt/NotoColorEmoji.subset.retain-gids.39.ttx | 326 + - .../cbdt/NotoColorEmoji.subset.retain-gids.AE.ttf | Bin 4428 -> 0 bytes - .../cbdt/NotoColorEmoji.subset.retain-gids.AE.ttx | 484 + - ...eSansPro-Regular.default.1FC,21,41,20,62,63.otf | Bin 2580 -> 0 bytes - ...eSansPro-Regular.default.1FC,21,41,20,62,63.ttx | 738 + - .../SourceSansPro-Regular.default.61,62,63.otf | Bin 2216 -> 0 bytes - .../SourceSansPro-Regular.default.61,62,63.ttx | 587 + - ...ourceSansPro-Regular.default.D7,D8,D9,DA,DE.otf | Bin 2328 -> 0 bytes - ...ourceSansPro-Regular.default.D7,D8,D9,DA,DE.ttx | 578 + - ...subroutinize-retain-gids.1FC,21,41,20,62,63.otf | Bin 20232 -> 0 bytes - ...subroutinize-retain-gids.1FC,21,41,20,62,63.ttx | 6312 + - ...Regular.desubroutinize-retain-gids.61,62,63.otf | Bin 2316 -> 0 bytes - ...Regular.desubroutinize-retain-gids.61,62,63.ttx | 627 + - ...r.desubroutinize-retain-gids.D7,D8,D9,DA,DE.otf | Bin 30540 -> 0 bytes - ...r.desubroutinize-retain-gids.D7,D8,D9,DA,DE.ttx | 9248 ++ - ...o-Regular.desubroutinize.1FC,21,41,20,62,63.otf | Bin 2436 -> 0 bytes - ...o-Regular.desubroutinize.1FC,21,41,20,62,63.ttx | 612 + - ...urceSansPro-Regular.desubroutinize.61,62,63.otf | Bin 2120 -> 0 bytes - ...urceSansPro-Regular.desubroutinize.61,62,63.ttx | 492 + - ...nsPro-Regular.desubroutinize.D7,D8,D9,DA,DE.otf | Bin 2312 -> 0 bytes - ...nsPro-Regular.desubroutinize.D7,D8,D9,DA,DE.ttx | 523 + - ...subroutinize-retain-gids.1FC,21,41,20,62,63.otf | Bin 20064 -> 0 bytes - ...subroutinize-retain-gids.1FC,21,41,20,62,63.ttx | 6281 + - ...p-hints-desubroutinize-retain-gids.61,62,63.otf | Bin 2192 -> 0 bytes - ...p-hints-desubroutinize-retain-gids.61,62,63.ttx | 607 + - ...s-desubroutinize-retain-gids.D7,D8,D9,DA,DE.otf | Bin 30372 -> 0 bytes - ...s-desubroutinize-retain-gids.D7,D8,D9,DA,DE.ttx | 9215 ++ - ...rop-hints-desubroutinize.1FC,21,41,20,62,63.otf | Bin 2268 -> 0 bytes - ...rop-hints-desubroutinize.1FC,21,41,20,62,63.ttx | 581 + - ...-Regular.drop-hints-desubroutinize.61,62,63.otf | Bin 1996 -> 0 bytes - ...-Regular.drop-hints-desubroutinize.61,62,63.ttx | 472 + - ...ar.drop-hints-desubroutinize.D7,D8,D9,DA,DE.otf | Bin 2148 -> 0 bytes - ...ar.drop-hints-desubroutinize.D7,D8,D9,DA,DE.ttx | 490 + - ...r.drop-hints-retain-gids.1FC,21,41,20,62,63.otf | Bin 20156 -> 0 bytes - ...r.drop-hints-retain-gids.1FC,21,41,20,62,63.ttx | 6367 + - ...Pro-Regular.drop-hints-retain-gids.61,62,63.otf | Bin 2228 -> 0 bytes - ...Pro-Regular.drop-hints-retain-gids.61,62,63.ttx | 670 + - ...gular.drop-hints-retain-gids.D7,D8,D9,DA,DE.otf | Bin 30384 -> 0 bytes - ...gular.drop-hints-retain-gids.D7,D8,D9,DA,DE.ttx | 9259 ++ - ...nsPro-Regular.drop-hints.1FC,21,41,20,62,63.otf | Bin 2352 -> 0 bytes - ...nsPro-Regular.drop-hints.1FC,21,41,20,62,63.ttx | 667 + - .../SourceSansPro-Regular.drop-hints.61,62,63.otf | Bin 2060 -> 0 bytes - .../SourceSansPro-Regular.drop-hints.61,62,63.ttx | 535 + - ...ceSansPro-Regular.drop-hints.D7,D8,D9,DA,DE.otf | Bin 2164 -> 0 bytes - ...ceSansPro-Regular.drop-hints.D7,D8,D9,DA,DE.ttx | 534 + - ...sPro-Regular.retain-gids.1FC,21,41,20,62,63.otf | Bin 20384 -> 0 bytes - ...sPro-Regular.retain-gids.1FC,21,41,20,62,63.ttx | 6438 + - .../SourceSansPro-Regular.retain-gids.61,62,63.otf | Bin 2384 -> 0 bytes - .../SourceSansPro-Regular.retain-gids.61,62,63.ttx | 722 + - ...eSansPro-Regular.retain-gids.D7,D8,D9,DA,DE.otf | Bin 30556 -> 0 bytes - ...eSansPro-Regular.retain-gids.D7,D8,D9,DA,DE.ttx | 9303 ++ - ...ubset.default.3042,3044,3046,3048,304A,304B.otf | Bin 4884 -> 0 bytes - ...ubset.default.3042,3044,3046,3048,304A,304B.ttx | 1165 + - ...ubset.default.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 6276 -> 0 bytes - ...ubset.default.3042,3044,3046,73E0,5EA6,8F38.ttx | 1708 + - ...eHanSans-Regular_subset.default.61,63,65,6B.otf | Bin 2588 -> 0 bytes - ...eHanSans-Regular_subset.default.61,63,65,6B.ttx | 688 + - ...ubset.default.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 6736 -> 0 bytes - ...ubset.default.660E,6975,73E0,5EA6,8F38,6E05.ttx | 1585 + - .../SourceHanSans-Regular_subset.default.660E.otf | Bin 2456 -> 0 bytes - .../SourceHanSans-Regular_subset.default.660E.ttx | 577 + - ...e-retain-gids.3042,3044,3046,3048,304A,304B.otf | Bin 129876 -> 0 bytes - ...e-retain-gids.3042,3044,3046,3048,304A,304B.ttx | 62430 ++++++++ - ...e-retain-gids.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 130920 -> 0 bytes - ...e-retain-gids.3042,3044,3046,73E0,5EA6,8F38.ttx | 62745 ++++++++ - ...bset.desubroutinize-retain-gids.61,63,65,6B.otf | Bin 3412 -> 0 bytes - ...bset.desubroutinize-retain-gids.61,63,65,6B.ttx | 1081 + - ...e-retain-gids.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 122048 -> 0 bytes - ...e-retain-gids.660E,6975,73E0,5EA6,8F38,6E05.ttx | 57783 ++++++++ - ...ular_subset.desubroutinize-retain-gids.660E.otf | Bin 50760 -> 0 bytes - ...ular_subset.desubroutinize-retain-gids.660E.ttx | 24455 ++++ - ...esubroutinize.3042,3044,3046,3048,304A,304B.otf | Bin 4724 -> 0 bytes - ...esubroutinize.3042,3044,3046,3048,304A,304B.ttx | 1044 + - ...esubroutinize.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 5928 -> 0 bytes - ...esubroutinize.3042,3044,3046,73E0,5EA6,8F38.ttx | 1414 + - ...s-Regular_subset.desubroutinize.61,63,65,6B.otf | Bin 2520 -> 0 bytes - ...s-Regular_subset.desubroutinize.61,63,65,6B.ttx | 630 + - ...esubroutinize.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 6232 -> 0 bytes - ...esubroutinize.660E,6975,73E0,5EA6,8F38,6E05.ttx | 1152 + - ...eHanSans-Regular_subset.desubroutinize.660E.otf | Bin 2440 -> 0 bytes - ...eHanSans-Regular_subset.desubroutinize.660E.ttx | 560 + - ...e-retain-gids.3042,3044,3046,3048,304A,304B.otf | Bin 129448 -> 0 bytes - ...e-retain-gids.3042,3044,3046,3048,304A,304B.ttx | 62346 ++++++++ - ...e-retain-gids.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 130312 -> 0 bytes - ...e-retain-gids.3042,3044,3046,73E0,5EA6,8F38.ttx | 62647 ++++++++ - ...ints-desubroutinize-retain-gids.61,63,65,6B.otf | Bin 3288 -> 0 bytes - ...ints-desubroutinize-retain-gids.61,63,65,6B.ttx | 1055 + - ...e-retain-gids.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 121284 -> 0 bytes - ...e-retain-gids.660E,6975,73E0,5EA6,8F38,6E05.ttx | 57675 ++++++++ - ....drop-hints-desubroutinize-retain-gids.660E.otf | Bin 50540 -> 0 bytes - ....drop-hints-desubroutinize-retain-gids.660E.ttx | 24416 ++++ - ...esubroutinize.3042,3044,3046,3048,304A,304B.otf | Bin 4420 -> 0 bytes - ...esubroutinize.3042,3044,3046,3048,304A,304B.ttx | 986 + - ...esubroutinize.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 5416 -> 0 bytes - ...esubroutinize.3042,3044,3046,73E0,5EA6,8F38.ttx | 1337 + - ...ubset.drop-hints-desubroutinize.61,63,65,6B.otf | Bin 2416 -> 0 bytes - ...ubset.drop-hints-desubroutinize.61,63,65,6B.ttx | 609 + - ...esubroutinize.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 5556 -> 0 bytes - ...esubroutinize.660E,6975,73E0,5EA6,8F38,6E05.ttx | 1063 + - ...gular_subset.drop-hints-desubroutinize.660E.otf | Bin 2308 -> 0 bytes - ...gular_subset.drop-hints-desubroutinize.660E.ttx | 540 + - ...s-retain-gids.3042,3044,3046,3048,304A,304B.otf | Bin 129576 -> 0 bytes - ...s-retain-gids.3042,3044,3046,3048,304A,304B.ttx | 62443 ++++++++ - ...s-retain-gids.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 130604 -> 0 bytes - ...s-retain-gids.3042,3044,3046,73E0,5EA6,8F38.ttx | 62929 +++++++++ - ...r_subset.drop-hints-retain-gids.61,63,65,6B.otf | Bin 3248 -> 0 bytes - ...r_subset.drop-hints-retain-gids.61,63,65,6B.ttx | 1089 + - ...s-retain-gids.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 121776 -> 0 bytes - ...s-retain-gids.660E,6975,73E0,5EA6,8F38,6E05.ttx | 58100 ++++++++ - ...-Regular_subset.drop-hints-retain-gids.660E.otf | Bin 50552 -> 0 bytes - ...-Regular_subset.drop-hints-retain-gids.660E.ttx | 24429 ++++ - ...et.drop-hints.3042,3044,3046,3048,304A,304B.otf | Bin 4548 -> 0 bytes - ...et.drop-hints.3042,3044,3046,3048,304A,304B.ttx | 1083 + - ...et.drop-hints.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 5708 -> 0 bytes - ...et.drop-hints.3042,3044,3046,73E0,5EA6,8F38.ttx | 1619 + - ...nSans-Regular_subset.drop-hints.61,63,65,6B.otf | Bin 2448 -> 0 bytes - ...nSans-Regular_subset.drop-hints.61,63,65,6B.ttx | 643 + - ...et.drop-hints.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 6048 -> 0 bytes - ...et.drop-hints.660E,6975,73E0,5EA6,8F38,6E05.ttx | 1488 + - ...ourceHanSans-Regular_subset.drop-hints.660E.otf | Bin 2316 -> 0 bytes - ...ourceHanSans-Regular_subset.drop-hints.660E.ttx | 553 + - ...t.retain-gids.3042,3044,3046,3048,304A,304B.otf | Bin 130036 -> 0 bytes - ...t.retain-gids.3042,3044,3046,3048,304A,304B.ttx | 62551 ++++++++ - ...t.retain-gids.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 131272 -> 0 bytes - ...t.retain-gids.3042,3044,3046,73E0,5EA6,8F38.ttx | 63039 +++++++++ - ...Sans-Regular_subset.retain-gids.61,63,65,6B.otf | Bin 3408 -> 0 bytes - ...Sans-Regular_subset.retain-gids.61,63,65,6B.ttx | 1139 + - ...t.retain-gids.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 122552 -> 0 bytes - ...t.retain-gids.660E,6975,73E0,5EA6,8F38,6E05.ttx | 58216 ++++++++ - ...urceHanSans-Regular_subset.retain-gids.660E.otf | Bin 50776 -> 0 bytes - ...urceHanSans-Regular_subset.retain-gids.660E.ttx | 24472 ++++ - ...039,1005,100A,103A,1038,1010,103D,1031,104A.otf | Bin 7724 -> 0 bytes - ...039,1005,100A,103A,1038,1010,103D,1031,104A.ttx | 2971 + - ...otoSerifMyanmar-Regular.notdef-outline.1092.otf | Bin 1380 -> 0 bytes - ...otoSerifMyanmar-Regular.notdef-outline.1092.ttx | 264 + - .../cmap/AdobeBlank-Regular.default.61,62.ttf | Bin 1252 -> 0 bytes - .../cmap/AdobeBlank-Regular.default.61,62.ttx | 322 + - .../cmap/AdobeBlank-Regular.default.61,FEFA.ttf | Bin 1264 -> 0 bytes - .../cmap/AdobeBlank-Regular.default.61,FEFA.ttx | 320 + - .../cmap/AdobeBlank-Regular.default.FEE6,FECF.ttf | Bin 1216 -> 0 bytes - .../cmap/AdobeBlank-Regular.default.FEE6,FECF.ttx | 314 + - .../cmap/AdobeBlank-Regular.default.FEF9,FEFA.ttf | Bin 1204 -> 0 bytes - .../cmap/AdobeBlank-Regular.default.FEF9,FEFA.ttx | 314 + - .../cmap/AdobeBlank-Regular.default.FEFA.ttf | Bin 1184 -> 0 bytes - .../cmap/AdobeBlank-Regular.default.FEFA.ttx | 303 + - ...eBlank-Regular.drop-hints-retain-gids.61,62.ttf | Bin 1468 -> 0 bytes - ...eBlank-Regular.drop-hints-retain-gids.61,62.ttx | 606 + - ...lank-Regular.drop-hints-retain-gids.61,FEFA.ttf | Bin 8232 -> 0 bytes - ...lank-Regular.drop-hints-retain-gids.61,FEFA.ttx | 7356 + - ...nk-Regular.drop-hints-retain-gids.FEE6,FECF.ttf | Bin 8104 -> 0 bytes - ...nk-Regular.drop-hints-retain-gids.FEE6,FECF.ttx | 7270 + - ...nk-Regular.drop-hints-retain-gids.FEF9,FEFA.ttf | Bin 8172 -> 0 bytes - ...nk-Regular.drop-hints-retain-gids.FEF9,FEFA.ttx | 7350 + - ...beBlank-Regular.drop-hints-retain-gids.FEFA.ttf | Bin 8156 -> 0 bytes - ...beBlank-Regular.drop-hints-retain-gids.FEFA.ttx | 7343 + - .../cmap/AdobeBlank-Regular.drop-hints.61,62.ttf | Bin 1080 -> 0 bytes - .../cmap/AdobeBlank-Regular.drop-hints.61,62.ttx | 218 + - .../cmap/AdobeBlank-Regular.drop-hints.61,FEFA.ttf | Bin 1092 -> 0 bytes - .../cmap/AdobeBlank-Regular.drop-hints.61,FEFA.ttx | 216 + - .../AdobeBlank-Regular.drop-hints.FEE6,FECF.ttf | Bin 1044 -> 0 bytes - .../AdobeBlank-Regular.drop-hints.FEE6,FECF.ttx | 210 + - .../AdobeBlank-Regular.drop-hints.FEF9,FEFA.ttf | Bin 1032 -> 0 bytes - .../AdobeBlank-Regular.drop-hints.FEF9,FEFA.ttx | 210 + - .../cmap/AdobeBlank-Regular.drop-hints.FEFA.ttf | Bin 1012 -> 0 bytes - .../cmap/AdobeBlank-Regular.drop-hints.FEFA.ttx | 199 + - .../cmap/AdobeBlank-Regular.name-ids.61,62.ttf | Bin 1000 -> 0 bytes - .../cmap/AdobeBlank-Regular.name-ids.61,62.ttx | 310 + - .../cmap/AdobeBlank-Regular.name-ids.61,FEFA.ttf | Bin 1012 -> 0 bytes - .../cmap/AdobeBlank-Regular.name-ids.61,FEFA.ttx | 308 + - .../cmap/AdobeBlank-Regular.name-ids.FEE6,FECF.ttf | Bin 964 -> 0 bytes - .../cmap/AdobeBlank-Regular.name-ids.FEE6,FECF.ttx | 302 + - .../cmap/AdobeBlank-Regular.name-ids.FEF9,FEFA.ttf | Bin 952 -> 0 bytes - .../cmap/AdobeBlank-Regular.name-ids.FEF9,FEFA.ttx | 302 + - .../cmap/AdobeBlank-Regular.name-ids.FEFA.ttf | Bin 932 -> 0 bytes - .../cmap/AdobeBlank-Regular.name-ids.FEFA.ttx | 291 + - .../cmap/AdobeBlank-Regular.retain-gids.61,62.ttf | Bin 1640 -> 0 bytes - .../cmap/AdobeBlank-Regular.retain-gids.61,62.ttx | 710 + - .../AdobeBlank-Regular.retain-gids.61,FEFA.ttf | Bin 8404 -> 0 bytes - .../AdobeBlank-Regular.retain-gids.61,FEFA.ttx | 7460 + - .../AdobeBlank-Regular.retain-gids.FEE6,FECF.ttf | Bin 8276 -> 0 bytes - .../AdobeBlank-Regular.retain-gids.FEE6,FECF.ttx | 7374 + - .../AdobeBlank-Regular.retain-gids.FEF9,FEFA.ttf | Bin 8344 -> 0 bytes - .../AdobeBlank-Regular.retain-gids.FEF9,FEFA.ttx | 7454 + - .../cmap/AdobeBlank-Regular.retain-gids.FEFA.ttf | Bin 8328 -> 0 bytes - .../cmap/AdobeBlank-Regular.retain-gids.FEFA.ttx | 7447 + - .../cmap14/cmap14_font1.default.4E00,4E02,4E03.otf | Bin 1360 -> 0 bytes - .../cmap14/cmap14_font1.default.4E00,4E02,4E03.ttx | 276 + - .../cmap14/cmap14_font1.default.4E00,4E03.otf | Bin 1236 -> 0 bytes - .../cmap14/cmap14_font1.default.4E00,4E03.ttx | 261 + - .../cmap14/cmap14_font1.default.4E00,4E05,4E07.otf | Bin 1328 -> 0 bytes - .../cmap14/cmap14_font1.default.4E00,4E05,4E07.ttx | 278 + - .../cmap14/cmap14_font1.default.4E02,4E03,4E08.otf | Bin 1576 -> 0 bytes - .../cmap14/cmap14_font1.default.4E02,4E03,4E08.ttx | 294 + - .../expected/cmap14/cmap14_font1.default.4E02.otf | Bin 996 -> 0 bytes - .../expected/cmap14/cmap14_font1.default.4E02.ttx | 233 + - .../expected/cmap14/cmap14_font1.default.4E03.otf | Bin 1080 -> 0 bytes - .../expected/cmap14/cmap14_font1.default.4E03.ttx | 241 + - .../cmap14_font1.default.4E05,4E07,4E08,4E09.otf | Bin 1848 -> 0 bytes - .../cmap14_font1.default.4E05,4E07,4E08,4E09.ttx | 329 + - .../cmap14/cmap14_font1.default.4E08,4E09.otf | Bin 1720 -> 0 bytes - .../cmap14/cmap14_font1.default.4E08,4E09.ttx | 302 + - .../expected/cmap14/cmap14_font1.default.4E08.otf | Bin 1384 -> 0 bytes - .../expected/cmap14/cmap14_font1.default.4E08.ttx | 265 + - .../cmap14_font1.default.retain-all-codepoint.otf | Bin 2348 -> 0 bytes - .../cmap14_font1.default.retain-all-codepoint.ttx | 418 + - ...font1.drop-hints-retain-gids.4E00,4E02,4E03.otf | Bin 1388 -> 0 bytes - ...font1.drop-hints-retain-gids.4E00,4E02,4E03.ttx | 318 + - ...ap14_font1.drop-hints-retain-gids.4E00,4E03.otf | Bin 1272 -> 0 bytes - ...ap14_font1.drop-hints-retain-gids.4E00,4E03.ttx | 308 + - ...font1.drop-hints-retain-gids.4E00,4E05,4E07.otf | Bin 1396 -> 0 bytes - ...font1.drop-hints-retain-gids.4E00,4E05,4E07.ttx | 340 + - ...font1.drop-hints-retain-gids.4E02,4E03,4E08.otf | Bin 1720 -> 0 bytes - ...font1.drop-hints-retain-gids.4E02,4E03,4E08.ttx | 391 + - .../cmap14_font1.drop-hints-retain-gids.4E02.otf | Bin 1028 -> 0 bytes - .../cmap14_font1.drop-hints-retain-gids.4E02.ttx | 280 + - .../cmap14_font1.drop-hints-retain-gids.4E03.otf | Bin 1124 -> 0 bytes - .../cmap14_font1.drop-hints-retain-gids.4E03.ttx | 293 + - ....drop-hints-retain-gids.4E05,4E07,4E08,4E09.otf | Bin 1984 -> 0 bytes - ....drop-hints-retain-gids.4E05,4E07,4E08,4E09.ttx | 421 + - ...ap14_font1.drop-hints-retain-gids.4E08,4E09.otf | Bin 1872 -> 0 bytes - ...ap14_font1.drop-hints-retain-gids.4E08,4E09.ttx | 404 + - .../cmap14_font1.drop-hints-retain-gids.4E08.otf | Bin 1544 -> 0 bytes - .../cmap14_font1.drop-hints-retain-gids.4E08.ttx | 372 + - ...drop-hints-retain-gids.retain-all-codepoint.otf | Bin 2436 -> 0 bytes - ...drop-hints-retain-gids.retain-all-codepoint.ttx | 480 + - .../cmap14_font1.drop-hints.4E00,4E02,4E03.otf | Bin 1292 -> 0 bytes - .../cmap14_font1.drop-hints.4E00,4E02,4E03.ttx | 268 + - .../cmap14/cmap14_font1.drop-hints.4E00,4E03.otf | Bin 1168 -> 0 bytes - .../cmap14/cmap14_font1.drop-hints.4E00,4E03.ttx | 253 + - .../cmap14_font1.drop-hints.4E00,4E05,4E07.otf | Bin 1260 -> 0 bytes - .../cmap14_font1.drop-hints.4E00,4E05,4E07.ttx | 270 + - .../cmap14_font1.drop-hints.4E02,4E03,4E08.otf | Bin 1512 -> 0 bytes - .../cmap14_font1.drop-hints.4E02,4E03,4E08.ttx | 286 + - .../cmap14/cmap14_font1.drop-hints.4E02.otf | Bin 928 -> 0 bytes - .../cmap14/cmap14_font1.drop-hints.4E02.ttx | 225 + - .../cmap14/cmap14_font1.drop-hints.4E03.otf | Bin 1012 -> 0 bytes - .../cmap14/cmap14_font1.drop-hints.4E03.ttx | 233 + - ...cmap14_font1.drop-hints.4E05,4E07,4E08,4E09.otf | Bin 1780 -> 0 bytes - ...cmap14_font1.drop-hints.4E05,4E07,4E08,4E09.ttx | 321 + - .../cmap14/cmap14_font1.drop-hints.4E08,4E09.otf | Bin 1652 -> 0 bytes - .../cmap14/cmap14_font1.drop-hints.4E08,4E09.ttx | 294 + - .../cmap14/cmap14_font1.drop-hints.4E08.otf | Bin 1316 -> 0 bytes - .../cmap14/cmap14_font1.drop-hints.4E08.ttx | 257 + - ...map14_font1.drop-hints.retain-all-codepoint.otf | Bin 2280 -> 0 bytes - ...map14_font1.drop-hints.retain-all-codepoint.ttx | 410 + - .../cmap14/cmap14_font1.gids.4E00,4E02,4E03.otf | Bin 1388 -> 0 bytes - .../cmap14/cmap14_font1.gids.4E00,4E02,4E03.ttx | 297 + - .../cmap14/cmap14_font1.gids.4E00,4E03.otf | Bin 1380 -> 0 bytes - .../cmap14/cmap14_font1.gids.4E00,4E03.ttx | 289 + - .../cmap14/cmap14_font1.gids.4E00,4E05,4E07.otf | Bin 1620 -> 0 bytes - .../cmap14/cmap14_font1.gids.4E00,4E05,4E07.ttx | 318 + - .../cmap14/cmap14_font1.gids.4E02,4E03,4E08.otf | Bin 1744 -> 0 bytes - .../cmap14/cmap14_font1.gids.4E02,4E03,4E08.ttx | 326 + - .../expected/cmap14/cmap14_font1.gids.4E02.otf | Bin 1312 -> 0 bytes - .../expected/cmap14/cmap14_font1.gids.4E02.ttx | 277 + - .../expected/cmap14/cmap14_font1.gids.4E03.otf | Bin 1352 -> 0 bytes - .../expected/cmap14/cmap14_font1.gids.4E03.ttx | 280 + - .../cmap14_font1.gids.4E05,4E07,4E08,4E09.otf | Bin 2164 -> 0 bytes - .../cmap14_font1.gids.4E05,4E07,4E08,4E09.ttx | 373 + - .../cmap14/cmap14_font1.gids.4E08,4E09.otf | Bin 2036 -> 0 bytes - .../cmap14/cmap14_font1.gids.4E08,4E09.ttx | 346 + - .../expected/cmap14/cmap14_font1.gids.4E08.otf | Bin 1704 -> 0 bytes - .../expected/cmap14/cmap14_font1.gids.4E08.ttx | 309 + - .../cmap14_font1.gids.retain-all-codepoint.otf | Bin 2380 -> 0 bytes - .../cmap14_font1.gids.retain-all-codepoint.ttx | 439 + - .../cmap14_font1.name-ids.4E00,4E02,4E03.otf | Bin 1292 -> 0 bytes - .../cmap14_font1.name-ids.4E00,4E02,4E03.ttx | 264 + - .../cmap14/cmap14_font1.name-ids.4E00,4E03.otf | Bin 1168 -> 0 bytes - .../cmap14/cmap14_font1.name-ids.4E00,4E03.ttx | 249 + - .../cmap14_font1.name-ids.4E00,4E05,4E07.otf | Bin 1260 -> 0 bytes - .../cmap14_font1.name-ids.4E00,4E05,4E07.ttx | 266 + - .../cmap14_font1.name-ids.4E02,4E03,4E08.otf | Bin 1508 -> 0 bytes - .../cmap14_font1.name-ids.4E02,4E03,4E08.ttx | 282 + - .../expected/cmap14/cmap14_font1.name-ids.4E02.otf | Bin 928 -> 0 bytes - .../expected/cmap14/cmap14_font1.name-ids.4E02.ttx | 221 + - .../expected/cmap14/cmap14_font1.name-ids.4E03.otf | Bin 1012 -> 0 bytes - .../expected/cmap14/cmap14_font1.name-ids.4E03.ttx | 229 + - .../cmap14_font1.name-ids.4E05,4E07,4E08,4E09.otf | Bin 1780 -> 0 bytes - .../cmap14_font1.name-ids.4E05,4E07,4E08,4E09.ttx | 317 + - .../cmap14/cmap14_font1.name-ids.4E08,4E09.otf | Bin 1652 -> 0 bytes - .../cmap14/cmap14_font1.name-ids.4E08,4E09.ttx | 290 + - .../expected/cmap14/cmap14_font1.name-ids.4E08.otf | Bin 1316 -> 0 bytes - .../expected/cmap14/cmap14_font1.name-ids.4E08.ttx | 253 + - .../cmap14_font1.name-ids.retain-all-codepoint.otf | Bin 2280 -> 0 bytes - .../cmap14_font1.name-ids.retain-all-codepoint.ttx | 406 + - .../cmap14_font1.retain-gids.4E00,4E02,4E03.otf | Bin 1452 -> 0 bytes - .../cmap14_font1.retain-gids.4E00,4E02,4E03.ttx | 326 + - .../cmap14/cmap14_font1.retain-gids.4E00,4E03.otf | Bin 1340 -> 0 bytes - .../cmap14/cmap14_font1.retain-gids.4E00,4E03.ttx | 316 + - .../cmap14_font1.retain-gids.4E00,4E05,4E07.otf | Bin 1464 -> 0 bytes - .../cmap14_font1.retain-gids.4E00,4E05,4E07.ttx | 348 + - .../cmap14_font1.retain-gids.4E02,4E03,4E08.otf | Bin 1788 -> 0 bytes - .../cmap14_font1.retain-gids.4E02,4E03,4E08.ttx | 399 + - .../cmap14/cmap14_font1.retain-gids.4E02.otf | Bin 1096 -> 0 bytes - .../cmap14/cmap14_font1.retain-gids.4E02.ttx | 288 + - .../cmap14/cmap14_font1.retain-gids.4E03.otf | Bin 1192 -> 0 bytes - .../cmap14/cmap14_font1.retain-gids.4E03.ttx | 301 + - ...map14_font1.retain-gids.4E05,4E07,4E08,4E09.otf | Bin 2048 -> 0 bytes - ...map14_font1.retain-gids.4E05,4E07,4E08,4E09.ttx | 429 + - .../cmap14/cmap14_font1.retain-gids.4E08,4E09.otf | Bin 1940 -> 0 bytes - .../cmap14/cmap14_font1.retain-gids.4E08,4E09.ttx | 412 + - .../cmap14/cmap14_font1.retain-gids.4E08.otf | Bin 1608 -> 0 bytes - .../cmap14/cmap14_font1.retain-gids.4E08.ttx | 380 + - ...ap14_font1.retain-gids.retain-all-codepoint.otf | Bin 2500 -> 0 bytes - ...ap14_font1.retain-gids.retain-all-codepoint.ttx | 488 + - .../cmap14/cmap14_font2.default.4E00,4E02,4E03.otf | Bin 1360 -> 0 bytes - .../cmap14/cmap14_font2.default.4E00,4E02,4E03.ttx | 276 + - .../cmap14/cmap14_font2.default.4E00,4E03.otf | Bin 1236 -> 0 bytes - .../cmap14/cmap14_font2.default.4E00,4E03.ttx | 261 + - .../cmap14/cmap14_font2.default.4E00,4E05,4E07.otf | Bin 1332 -> 0 bytes - .../cmap14/cmap14_font2.default.4E00,4E05,4E07.ttx | 278 + - .../cmap14/cmap14_font2.default.4E02,4E03,4E08.otf | Bin 1576 -> 0 bytes - .../cmap14/cmap14_font2.default.4E02,4E03,4E08.ttx | 294 + - .../expected/cmap14/cmap14_font2.default.4E02.otf | Bin 992 -> 0 bytes - .../expected/cmap14/cmap14_font2.default.4E02.ttx | 233 + - .../expected/cmap14/cmap14_font2.default.4E03.otf | Bin 1076 -> 0 bytes - .../expected/cmap14/cmap14_font2.default.4E03.ttx | 241 + - .../cmap14_font2.default.4E05,4E07,4E08,4E09.otf | Bin 1848 -> 0 bytes - .../cmap14_font2.default.4E05,4E07,4E08,4E09.ttx | 329 + - .../cmap14/cmap14_font2.default.4E08,4E09.otf | Bin 1716 -> 0 bytes - .../cmap14/cmap14_font2.default.4E08,4E09.ttx | 302 + - .../expected/cmap14/cmap14_font2.default.4E08.otf | Bin 1380 -> 0 bytes - .../expected/cmap14/cmap14_font2.default.4E08.ttx | 265 + - .../cmap14_font2.default.retain-all-codepoint.otf | Bin 2344 -> 0 bytes - .../cmap14_font2.default.retain-all-codepoint.ttx | 418 + - ...font2.drop-hints-retain-gids.4E00,4E02,4E03.otf | Bin 1388 -> 0 bytes - ...font2.drop-hints-retain-gids.4E00,4E02,4E03.ttx | 318 + - ...ap14_font2.drop-hints-retain-gids.4E00,4E03.otf | Bin 1272 -> 0 bytes - ...ap14_font2.drop-hints-retain-gids.4E00,4E03.ttx | 308 + - ...font2.drop-hints-retain-gids.4E00,4E05,4E07.otf | Bin 1400 -> 0 bytes - ...font2.drop-hints-retain-gids.4E00,4E05,4E07.ttx | 340 + - ...font2.drop-hints-retain-gids.4E02,4E03,4E08.otf | Bin 1720 -> 0 bytes - ...font2.drop-hints-retain-gids.4E02,4E03,4E08.ttx | 391 + - .../cmap14_font2.drop-hints-retain-gids.4E02.otf | Bin 1024 -> 0 bytes - .../cmap14_font2.drop-hints-retain-gids.4E02.ttx | 280 + - .../cmap14_font2.drop-hints-retain-gids.4E03.otf | Bin 1120 -> 0 bytes - .../cmap14_font2.drop-hints-retain-gids.4E03.ttx | 293 + - ....drop-hints-retain-gids.4E05,4E07,4E08,4E09.otf | Bin 1984 -> 0 bytes - ....drop-hints-retain-gids.4E05,4E07,4E08,4E09.ttx | 421 + - ...ap14_font2.drop-hints-retain-gids.4E08,4E09.otf | Bin 1868 -> 0 bytes - ...ap14_font2.drop-hints-retain-gids.4E08,4E09.ttx | 404 + - .../cmap14_font2.drop-hints-retain-gids.4E08.otf | Bin 1540 -> 0 bytes - .../cmap14_font2.drop-hints-retain-gids.4E08.ttx | 372 + - ...drop-hints-retain-gids.retain-all-codepoint.otf | Bin 2432 -> 0 bytes - ...drop-hints-retain-gids.retain-all-codepoint.ttx | 480 + - .../cmap14_font2.drop-hints.4E00,4E02,4E03.otf | Bin 1292 -> 0 bytes - .../cmap14_font2.drop-hints.4E00,4E02,4E03.ttx | 268 + - .../cmap14/cmap14_font2.drop-hints.4E00,4E03.otf | Bin 1168 -> 0 bytes - .../cmap14/cmap14_font2.drop-hints.4E00,4E03.ttx | 253 + - .../cmap14_font2.drop-hints.4E00,4E05,4E07.otf | Bin 1264 -> 0 bytes - .../cmap14_font2.drop-hints.4E00,4E05,4E07.ttx | 270 + - .../cmap14_font2.drop-hints.4E02,4E03,4E08.otf | Bin 1512 -> 0 bytes - .../cmap14_font2.drop-hints.4E02,4E03,4E08.ttx | 286 + - .../cmap14/cmap14_font2.drop-hints.4E02.otf | Bin 924 -> 0 bytes - .../cmap14/cmap14_font2.drop-hints.4E02.ttx | 225 + - .../cmap14/cmap14_font2.drop-hints.4E03.otf | Bin 1008 -> 0 bytes - .../cmap14/cmap14_font2.drop-hints.4E03.ttx | 233 + - ...cmap14_font2.drop-hints.4E05,4E07,4E08,4E09.otf | Bin 1780 -> 0 bytes - ...cmap14_font2.drop-hints.4E05,4E07,4E08,4E09.ttx | 321 + - .../cmap14/cmap14_font2.drop-hints.4E08,4E09.otf | Bin 1648 -> 0 bytes - .../cmap14/cmap14_font2.drop-hints.4E08,4E09.ttx | 294 + - .../cmap14/cmap14_font2.drop-hints.4E08.otf | Bin 1312 -> 0 bytes - .../cmap14/cmap14_font2.drop-hints.4E08.ttx | 257 + - ...map14_font2.drop-hints.retain-all-codepoint.otf | Bin 2276 -> 0 bytes - ...map14_font2.drop-hints.retain-all-codepoint.ttx | 410 + - .../cmap14/cmap14_font2.gids.4E00,4E02,4E03.otf | Bin 1388 -> 0 bytes - .../cmap14/cmap14_font2.gids.4E00,4E02,4E03.ttx | 297 + - .../cmap14/cmap14_font2.gids.4E00,4E03.otf | Bin 1380 -> 0 bytes - .../cmap14/cmap14_font2.gids.4E00,4E03.ttx | 289 + - .../cmap14/cmap14_font2.gids.4E00,4E05,4E07.otf | Bin 1624 -> 0 bytes - .../cmap14/cmap14_font2.gids.4E00,4E05,4E07.ttx | 318 + - .../cmap14/cmap14_font2.gids.4E02,4E03,4E08.otf | Bin 1744 -> 0 bytes - .../cmap14/cmap14_font2.gids.4E02,4E03,4E08.ttx | 326 + - .../expected/cmap14/cmap14_font2.gids.4E02.otf | Bin 1308 -> 0 bytes - .../expected/cmap14/cmap14_font2.gids.4E02.ttx | 277 + - .../expected/cmap14/cmap14_font2.gids.4E03.otf | Bin 1348 -> 0 bytes - .../expected/cmap14/cmap14_font2.gids.4E03.ttx | 280 + - .../cmap14_font2.gids.4E05,4E07,4E08,4E09.otf | Bin 2164 -> 0 bytes - .../cmap14_font2.gids.4E05,4E07,4E08,4E09.ttx | 373 + - .../cmap14/cmap14_font2.gids.4E08,4E09.otf | Bin 2032 -> 0 bytes - .../cmap14/cmap14_font2.gids.4E08,4E09.ttx | 346 + - .../expected/cmap14/cmap14_font2.gids.4E08.otf | Bin 1700 -> 0 bytes - .../expected/cmap14/cmap14_font2.gids.4E08.ttx | 309 + - .../cmap14_font2.gids.retain-all-codepoint.otf | Bin 2376 -> 0 bytes - .../cmap14_font2.gids.retain-all-codepoint.ttx | 439 + - .../cmap14_font2.name-ids.4E00,4E02,4E03.otf | Bin 1292 -> 0 bytes - .../cmap14_font2.name-ids.4E00,4E02,4E03.ttx | 264 + - .../cmap14/cmap14_font2.name-ids.4E00,4E03.otf | Bin 1168 -> 0 bytes - .../cmap14/cmap14_font2.name-ids.4E00,4E03.ttx | 249 + - .../cmap14_font2.name-ids.4E00,4E05,4E07.otf | Bin 1264 -> 0 bytes - .../cmap14_font2.name-ids.4E00,4E05,4E07.ttx | 266 + - .../cmap14_font2.name-ids.4E02,4E03,4E08.otf | Bin 1508 -> 0 bytes - .../cmap14_font2.name-ids.4E02,4E03,4E08.ttx | 282 + - .../expected/cmap14/cmap14_font2.name-ids.4E02.otf | Bin 924 -> 0 bytes - .../expected/cmap14/cmap14_font2.name-ids.4E02.ttx | 221 + - .../expected/cmap14/cmap14_font2.name-ids.4E03.otf | Bin 1008 -> 0 bytes - .../expected/cmap14/cmap14_font2.name-ids.4E03.ttx | 229 + - .../cmap14_font2.name-ids.4E05,4E07,4E08,4E09.otf | Bin 1780 -> 0 bytes - .../cmap14_font2.name-ids.4E05,4E07,4E08,4E09.ttx | 317 + - .../cmap14/cmap14_font2.name-ids.4E08,4E09.otf | Bin 1648 -> 0 bytes - .../cmap14/cmap14_font2.name-ids.4E08,4E09.ttx | 290 + - .../expected/cmap14/cmap14_font2.name-ids.4E08.otf | Bin 1312 -> 0 bytes - .../expected/cmap14/cmap14_font2.name-ids.4E08.ttx | 253 + - .../cmap14_font2.name-ids.retain-all-codepoint.otf | Bin 2276 -> 0 bytes - .../cmap14_font2.name-ids.retain-all-codepoint.ttx | 406 + - .../cmap14_font2.retain-gids.4E00,4E02,4E03.otf | Bin 1452 -> 0 bytes - .../cmap14_font2.retain-gids.4E00,4E02,4E03.ttx | 326 + - .../cmap14/cmap14_font2.retain-gids.4E00,4E03.otf | Bin 1340 -> 0 bytes - .../cmap14/cmap14_font2.retain-gids.4E00,4E03.ttx | 316 + - .../cmap14_font2.retain-gids.4E00,4E05,4E07.otf | Bin 1468 -> 0 bytes - .../cmap14_font2.retain-gids.4E00,4E05,4E07.ttx | 348 + - .../cmap14_font2.retain-gids.4E02,4E03,4E08.otf | Bin 1788 -> 0 bytes - .../cmap14_font2.retain-gids.4E02,4E03,4E08.ttx | 399 + - .../cmap14/cmap14_font2.retain-gids.4E02.otf | Bin 1092 -> 0 bytes - .../cmap14/cmap14_font2.retain-gids.4E02.ttx | 288 + - .../cmap14/cmap14_font2.retain-gids.4E03.otf | Bin 1188 -> 0 bytes - .../cmap14/cmap14_font2.retain-gids.4E03.ttx | 301 + - ...map14_font2.retain-gids.4E05,4E07,4E08,4E09.otf | Bin 2048 -> 0 bytes - ...map14_font2.retain-gids.4E05,4E07,4E08,4E09.ttx | 429 + - .../cmap14/cmap14_font2.retain-gids.4E08,4E09.otf | Bin 1936 -> 0 bytes - .../cmap14/cmap14_font2.retain-gids.4E08,4E09.ttx | 412 + - .../cmap14/cmap14_font2.retain-gids.4E08.otf | Bin 1604 -> 0 bytes - .../cmap14/cmap14_font2.retain-gids.4E08.ttx | 380 + - ...ap14_font2.retain-gids.retain-all-codepoint.otf | Bin 2496 -> 0 bytes - ...ap14_font2.retain-gids.retain-all-codepoint.ttx | 488 + - .../TwemojiMozilla.subset.default.32,3297,3299.ttf | Bin 1936 -> 0 bytes - .../TwemojiMozilla.subset.default.32,3297,3299.ttx | 626 + - .../colr/TwemojiMozilla.subset.default.32,3297.ttf | Bin 1400 -> 0 bytes - .../colr/TwemojiMozilla.subset.default.32,3297.ttx | 411 + - .../colr/TwemojiMozilla.subset.default.32,3299.ttf | Bin 1576 -> 0 bytes - .../colr/TwemojiMozilla.subset.default.32,3299.ttx | 475 + - .../colr/TwemojiMozilla.subset.default.32.ttf | Bin 932 -> 0 bytes - .../colr/TwemojiMozilla.subset.default.32.ttx | 231 + - .../TwemojiMozilla.subset.default.3297,3299.ttf | Bin 1916 -> 0 bytes - .../TwemojiMozilla.subset.default.3297,3299.ttx | 617 + - .../colr/TwemojiMozilla.subset.default.3297.ttf | Bin 1376 -> 0 bytes - .../colr/TwemojiMozilla.subset.default.3297.ttx | 402 + - .../colr/TwemojiMozilla.subset.default.3299.ttf | Bin 1552 -> 0 bytes - .../colr/TwemojiMozilla.subset.default.3299.ttx | 466 + - ....subset.drop-hints-retain-gids.32,3297,3299.ttf | Bin 1916 -> 0 bytes - ....subset.drop-hints-retain-gids.32,3297,3299.ttx | 621 + - ...zilla.subset.drop-hints-retain-gids.32,3297.ttf | Bin 1396 -> 0 bytes - ...zilla.subset.drop-hints-retain-gids.32,3297.ttx | 410 + - ...zilla.subset.drop-hints-retain-gids.32,3299.ttf | Bin 1576 -> 0 bytes - ...zilla.subset.drop-hints-retain-gids.32,3299.ttx | 478 + - ...ojiMozilla.subset.drop-hints-retain-gids.32.ttf | Bin 912 -> 0 bytes - ...ojiMozilla.subset.drop-hints-retain-gids.32.ttx | 226 + - ...lla.subset.drop-hints-retain-gids.3297,3299.ttf | Bin 1900 -> 0 bytes - ...lla.subset.drop-hints-retain-gids.3297,3299.ttx | 616 + - ...iMozilla.subset.drop-hints-retain-gids.3297.ttf | Bin 1372 -> 0 bytes - ...iMozilla.subset.drop-hints-retain-gids.3297.ttx | 405 + - ...iMozilla.subset.drop-hints-retain-gids.3299.ttf | Bin 1552 -> 0 bytes - ...iMozilla.subset.drop-hints-retain-gids.3299.ttx | 473 + - ...emojiMozilla.subset.drop-hints.32,3297,3299.ttf | Bin 1916 -> 0 bytes - ...emojiMozilla.subset.drop-hints.32,3297,3299.ttx | 621 + - .../TwemojiMozilla.subset.drop-hints.32,3297.ttf | Bin 1380 -> 0 bytes - .../TwemojiMozilla.subset.drop-hints.32,3297.ttx | 406 + - .../TwemojiMozilla.subset.drop-hints.32,3299.ttf | Bin 1556 -> 0 bytes - .../TwemojiMozilla.subset.drop-hints.32,3299.ttx | 470 + - .../colr/TwemojiMozilla.subset.drop-hints.32.ttf | Bin 912 -> 0 bytes - .../colr/TwemojiMozilla.subset.drop-hints.32.ttx | 226 + - .../TwemojiMozilla.subset.drop-hints.3297,3299.ttf | Bin 1896 -> 0 bytes - .../TwemojiMozilla.subset.drop-hints.3297,3299.ttx | 612 + - .../colr/TwemojiMozilla.subset.drop-hints.3297.ttf | Bin 1356 -> 0 bytes - .../colr/TwemojiMozilla.subset.drop-hints.3297.ttx | 397 + - .../colr/TwemojiMozilla.subset.drop-hints.3299.ttf | Bin 1532 -> 0 bytes - .../colr/TwemojiMozilla.subset.drop-hints.3299.ttx | 461 + - ...mojiMozilla.subset.retain-gids.32,3297,3299.ttf | Bin 1936 -> 0 bytes - ...mojiMozilla.subset.retain-gids.32,3297,3299.ttx | 626 + - .../TwemojiMozilla.subset.retain-gids.32,3297.ttf | Bin 1416 -> 0 bytes - .../TwemojiMozilla.subset.retain-gids.32,3297.ttx | 415 + - .../TwemojiMozilla.subset.retain-gids.32,3299.ttf | Bin 1596 -> 0 bytes - .../TwemojiMozilla.subset.retain-gids.32,3299.ttx | 483 + - .../colr/TwemojiMozilla.subset.retain-gids.32.ttf | Bin 932 -> 0 bytes - .../colr/TwemojiMozilla.subset.retain-gids.32.ttx | 231 + - ...TwemojiMozilla.subset.retain-gids.3297,3299.ttf | Bin 1920 -> 0 bytes - ...TwemojiMozilla.subset.retain-gids.3297,3299.ttx | 621 + - .../TwemojiMozilla.subset.retain-gids.3297.ttf | Bin 1392 -> 0 bytes - .../TwemojiMozilla.subset.retain-gids.3297.ttx | 410 + - .../TwemojiMozilla.subset.retain-gids.3299.ttf | Bin 1572 -> 0 bytes - .../TwemojiMozilla.subset.retain-gids.3299.ttx | 478 + - .../colr_with_components/colr-table.default.6B.ttf | Bin 4260 -> 0 bytes - .../colr_with_components/colr-table.default.6B.ttx | 1435 + - .../colr-table.drop-hints-retain-gids.6B.ttf | Bin 4984 -> 0 bytes - .../colr-table.drop-hints-retain-gids.6B.ttx | 1919 + - .../colr-table.drop-hints.6B.ttf | Bin 4260 -> 0 bytes - .../colr-table.drop-hints.6B.ttx | 1435 + - .../colr-table.retain-gids.6B.ttf | Bin 4984 -> 0 bytes - .../colr-table.retain-gids.6B.ttx | 1919 + - ...oColrEmojiGlyf-Regular.subset.default.1f35e.ttf | Bin 3004 -> 0 bytes - ...oColrEmojiGlyf-Regular.subset.default.1f35e.ttx | 1077 + - ...oColrEmojiGlyf-Regular.subset.default.1f696.ttf | Bin 3752 -> 0 bytes - ...oColrEmojiGlyf-Regular.subset.default.1f696.ttx | 1449 + - ...Regular.subset.drop-hints-retain-gids.1f35e.ttf | Bin 3516 -> 0 bytes - ...Regular.subset.drop-hints-retain-gids.1f35e.ttx | 1417 + - ...Regular.subset.drop-hints-retain-gids.1f696.ttf | Bin 5048 -> 0 bytes - ...Regular.subset.drop-hints-retain-gids.1f696.ttx | 2313 + - ...lrEmojiGlyf-Regular.subset.drop-hints.1f35e.ttf | Bin 3004 -> 0 bytes - ...lrEmojiGlyf-Regular.subset.drop-hints.1f35e.ttx | 1077 + - ...lrEmojiGlyf-Regular.subset.drop-hints.1f696.ttf | Bin 3752 -> 0 bytes - ...lrEmojiGlyf-Regular.subset.drop-hints.1f696.ttx | 1449 + - ...rEmojiGlyf-Regular.subset.retain-gids.1f35e.ttf | Bin 3516 -> 0 bytes - ...rEmojiGlyf-Regular.subset.retain-gids.1f35e.ttx | 1417 + - ...rEmojiGlyf-Regular.subset.retain-gids.1f696.ttf | Bin 5048 -> 0 bytes - ...rEmojiGlyf-Regular.subset.retain-gids.1f696.ttx | 2313 + - .../colrv1/TestCOLRv1.default.E000,E004.ttf | Bin 900 -> 0 bytes - .../colrv1/TestCOLRv1.default.E000,E004.ttx | 316 + - .../colrv1/TestCOLRv1.default.E003,E004.ttf | Bin 1000 -> 0 bytes - .../colrv1/TestCOLRv1.default.E003,E004.ttx | 367 + - .../expected/colrv1/TestCOLRv1.default.E004.ttf | Bin 744 -> 0 bytes - .../expected/colrv1/TestCOLRv1.default.E004.ttx | 231 + - .../TestCOLRv1.default.retain-all-codepoint.ttf | Bin 1444 -> 0 bytes - .../TestCOLRv1.default.retain-all-codepoint.ttx | 596 + - ...TestCOLRv1.drop-hints-retain-gids.E000,E004.ttf | Bin 984 -> 0 bytes - ...TestCOLRv1.drop-hints-retain-gids.E000,E004.ttx | 364 + - ...TestCOLRv1.drop-hints-retain-gids.E003,E004.ttf | Bin 1076 -> 0 bytes - ...TestCOLRv1.drop-hints-retain-gids.E003,E004.ttx | 411 + - .../TestCOLRv1.drop-hints-retain-gids.E004.ttf | Bin 836 -> 0 bytes - .../TestCOLRv1.drop-hints-retain-gids.E004.ttx | 291 + - ...drop-hints-retain-gids.retain-all-codepoint.ttf | Bin 1444 -> 0 bytes - ...drop-hints-retain-gids.retain-all-codepoint.ttx | 596 + - .../colrv1/TestCOLRv1.drop-hints.E000,E004.ttf | Bin 900 -> 0 bytes - .../colrv1/TestCOLRv1.drop-hints.E000,E004.ttx | 316 + - .../colrv1/TestCOLRv1.drop-hints.E003,E004.ttf | Bin 1000 -> 0 bytes - .../colrv1/TestCOLRv1.drop-hints.E003,E004.ttx | 367 + - .../expected/colrv1/TestCOLRv1.drop-hints.E004.ttf | Bin 744 -> 0 bytes - .../expected/colrv1/TestCOLRv1.drop-hints.E004.ttx | 231 + - .../TestCOLRv1.drop-hints.retain-all-codepoint.ttf | Bin 1444 -> 0 bytes - .../TestCOLRv1.drop-hints.retain-all-codepoint.ttx | 596 + - .../colrv1/TestCOLRv1.retain-gids.E000,E004.ttf | Bin 984 -> 0 bytes - .../colrv1/TestCOLRv1.retain-gids.E000,E004.ttx | 364 + - .../colrv1/TestCOLRv1.retain-gids.E003,E004.ttf | Bin 1076 -> 0 bytes - .../colrv1/TestCOLRv1.retain-gids.E003,E004.ttx | 411 + - .../colrv1/TestCOLRv1.retain-gids.E004.ttf | Bin 836 -> 0 bytes - .../colrv1/TestCOLRv1.retain-gids.E004.ttx | 291 + - ...TestCOLRv1.retain-gids.retain-all-codepoint.ttf | Bin 1444 -> 0 bytes - ...TestCOLRv1.retain-gids.retain-all-codepoint.ttx | 596 + - .../Roboto-Regular.default.1FC,21,41,20,62,63.ttf | Bin 3080 -> 0 bytes - .../Roboto-Regular.default.1FC,21,41,20,62,63.ttx | 1659 + - .../full-font/Roboto-Regular.default.61,62,63.ttf | Bin 2672 -> 0 bytes - .../full-font/Roboto-Regular.default.61,62,63.ttx | 1422 + - .../Roboto-Regular.default.D7,D8,D9,DA,DE.ttf | Bin 3024 -> 0 bytes - .../Roboto-Regular.default.D7,D8,D9,DA,DE.ttx | 1571 + - ...oboto-Regular.drop-hints.1FC,21,41,20,62,63.ttf | Bin 1632 -> 0 bytes - ...oboto-Regular.drop-hints.1FC,21,41,20,62,63.ttx | 549 + - .../Roboto-Regular.drop-hints.61,62,63.ttf | Bin 1412 -> 0 bytes - .../Roboto-Regular.drop-hints.61,62,63.ttx | 494 + - .../Roboto-Regular.drop-hints.D7,D8,D9,DA,DE.ttf | Bin 1648 -> 0 bytes - .../Roboto-Regular.drop-hints.D7,D8,D9,DA,DE.ttx | 529 + - ...ifVariable-Roman.default.1FC,21,41,20,62,63.ttf | Bin 3992 -> 0 bytes - ...ifVariable-Roman.default.1FC,21,41,20,62,63.ttx | 1355 + - .../SourceSerifVariable-Roman.default.61,62,63.ttf | Bin 3832 -> 0 bytes - .../SourceSerifVariable-Roman.default.61,62,63.ttx | 1262 + - ...eSerifVariable-Roman.default.D7,D8,D9,DA,DE.ttf | Bin 4396 -> 0 bytes - ...eSerifVariable-Roman.default.D7,D8,D9,DA,DE.ttx | 1522 + - ...ariable-Roman.drop-hints.1FC,21,41,20,62,63.ttf | Bin 3968 -> 0 bytes - ...ariable-Roman.drop-hints.1FC,21,41,20,62,63.ttx | 1349 + - ...urceSerifVariable-Roman.drop-hints.61,62,63.ttf | Bin 3832 -> 0 bytes - ...urceSerifVariable-Roman.drop-hints.61,62,63.ttx | 1262 + - ...rifVariable-Roman.drop-hints.D7,D8,D9,DA,DE.ttf | Bin 4396 -> 0 bytes - ...rifVariable-Roman.drop-hints.D7,D8,D9,DA,DE.ttx | 1522 + - .../Mplus1p-Regular.default.1D715,1D7D8,41,42.ttf | Bin 2344 -> 0 bytes - .../Mplus1p-Regular.default.1D715,1D7D8,41,42.ttx | 1187 + - .../japanese/Mplus1p-Regular.default.25771.ttf | Bin 1992 -> 0 bytes - .../japanese/Mplus1p-Regular.default.25771.ttx | 1033 + - ...gular.default.3042,3044,3046,3048,304A,304B.ttf | Bin 2704 -> 0 bytes - ...gular.default.3042,3044,3046,3048,304A,304B.ttx | 1296 + - ...gular.default.3042,3044,3046,73E0,5EA6,8F38.ttf | Bin 2948 -> 0 bytes - ...gular.default.3042,3044,3046,73E0,5EA6,8F38.ttx | 1403 + - .../Mplus1p-Regular.default.61,63,65,6B.ttf | Bin 2324 -> 0 bytes - .../Mplus1p-Regular.default.61,63,65,6B.ttx | 1172 + - ...gular.default.660E,6975,73E0,5EA6,8F38,6E05.ttf | Bin 3244 -> 0 bytes - ...gular.default.660E,6975,73E0,5EA6,8F38,6E05.ttx | 1522 + - .../japanese/Mplus1p-Regular.default.660E.ttf | Bin 1984 -> 0 bytes - .../japanese/Mplus1p-Regular.default.660E.ttx | 1024 + - ...plus1p-Regular.drop-hints.1D715,1D7D8,41,42.ttf | Bin 1616 -> 0 bytes - ...plus1p-Regular.drop-hints.1D715,1D7D8,41,42.ttx | 522 + - .../japanese/Mplus1p-Regular.drop-hints.25771.ttf | Bin 1264 -> 0 bytes - .../japanese/Mplus1p-Regular.drop-hints.25771.ttx | 368 + - ...ar.drop-hints.3042,3044,3046,3048,304A,304B.ttf | Bin 1976 -> 0 bytes - ...ar.drop-hints.3042,3044,3046,3048,304A,304B.ttx | 631 + - ...ar.drop-hints.3042,3044,3046,73E0,5EA6,8F38.ttf | Bin 2220 -> 0 bytes - ...ar.drop-hints.3042,3044,3046,73E0,5EA6,8F38.ttx | 738 + - .../Mplus1p-Regular.drop-hints.61,63,65,6B.ttf | Bin 1596 -> 0 bytes - .../Mplus1p-Regular.drop-hints.61,63,65,6B.ttx | 507 + - ...ar.drop-hints.660E,6975,73E0,5EA6,8F38,6E05.ttf | Bin 2516 -> 0 bytes - ...ar.drop-hints.660E,6975,73E0,5EA6,8F38,6E05.ttx | 857 + - .../japanese/Mplus1p-Regular.drop-hints.660E.ttf | Bin 1256 -> 0 bytes - .../japanese/Mplus1p-Regular.drop-hints.660E.ttx | 359 + - ...Mplus1p-Regular.keep-gdef.1D715,1D7D8,41,42.ttf | Bin 2344 -> 0 bytes - ...Mplus1p-Regular.keep-gdef.1D715,1D7D8,41,42.ttx | 1187 + - .../japanese/Mplus1p-Regular.keep-gdef.25771.ttf | Bin 1992 -> 0 bytes - .../japanese/Mplus1p-Regular.keep-gdef.25771.ttx | 1033 + - ...lar.keep-gdef.3042,3044,3046,3048,304A,304B.ttf | Bin 2704 -> 0 bytes - ...lar.keep-gdef.3042,3044,3046,3048,304A,304B.ttx | 1296 + - ...lar.keep-gdef.3042,3044,3046,73E0,5EA6,8F38.ttf | Bin 2948 -> 0 bytes - ...lar.keep-gdef.3042,3044,3046,73E0,5EA6,8F38.ttx | 1403 + - .../Mplus1p-Regular.keep-gdef.61,63,65,6B.ttf | Bin 2324 -> 0 bytes - .../Mplus1p-Regular.keep-gdef.61,63,65,6B.ttx | 1172 + - ...lar.keep-gdef.660E,6975,73E0,5EA6,8F38,6E05.ttf | Bin 3244 -> 0 bytes - ...lar.keep-gdef.660E,6975,73E0,5EA6,8F38,6E05.ttx | 1522 + - .../japanese/Mplus1p-Regular.keep-gdef.660E.ttf | Bin 1984 -> 0 bytes - .../japanese/Mplus1p-Regular.keep-gdef.660E.ttx | 1024 + - ...text1_multiple_subrules_f1.default.41,42,43.otf | Bin 1328 -> 0 bytes - ...text1_multiple_subrules_f1.default.41,42,43.ttx | 284 + - ...context1_multiple_subrules_f1.default.41,42.otf | Bin 1228 -> 0 bytes - ...context1_multiple_subrules_f1.default.41,42.ttx | 265 + - ...context1_multiple_subrules_f1.default.41,43.otf | Bin 1332 -> 0 bytes - ...context1_multiple_subrules_f1.default.41,43.ttx | 275 + - ...os_context1_multiple_subrules_f1.default.41.otf | Bin 1216 -> 0 bytes - ...os_context1_multiple_subrules_f1.default.41.ttx | 256 + - ...le_subrules_f1.default.retain-all-codepoint.otf | Bin 3700 -> 0 bytes - ...le_subrules_f1.default.retain-all-codepoint.ttx | 1247 + - ...1_multiple_subrules_f1.retain-gids.41,42,43.otf | Bin 2028 -> 0 bytes - ...1_multiple_subrules_f1.retain-gids.41,42,43.ttx | 604 + - ...ext1_multiple_subrules_f1.retain-gids.41,42.otf | Bin 1932 -> 0 bytes - ...ext1_multiple_subrules_f1.retain-gids.41,42.ttx | 585 + - ...ext1_multiple_subrules_f1.retain-gids.41,43.otf | Bin 2048 -> 0 bytes - ...ext1_multiple_subrules_f1.retain-gids.41,43.ttx | 600 + - ...ontext1_multiple_subrules_f1.retain-gids.41.otf | Bin 1916 -> 0 bytes - ...ontext1_multiple_subrules_f1.retain-gids.41.ttx | 576 + - ...ubrules_f1.retain-gids.retain-all-codepoint.otf | Bin 3700 -> 0 bytes - ...ubrules_f1.retain-gids.retain-all-codepoint.ttx | 1247 + - ...text2_multiple_subrules_f1.default.41,42,43.otf | Bin 1328 -> 0 bytes - ...text2_multiple_subrules_f1.default.41,42,43.ttx | 284 + - ...context2_multiple_subrules_f1.default.41,42.otf | Bin 1228 -> 0 bytes - ...context2_multiple_subrules_f1.default.41,42.ttx | 265 + - ...context2_multiple_subrules_f1.default.41,43.otf | Bin 1332 -> 0 bytes - ...context2_multiple_subrules_f1.default.41,43.ttx | 275 + - ...os_context2_multiple_subrules_f1.default.41.otf | Bin 1216 -> 0 bytes - ...os_context2_multiple_subrules_f1.default.41.ttx | 256 + - ...le_subrules_f1.default.retain-all-codepoint.otf | Bin 3700 -> 0 bytes - ...le_subrules_f1.default.retain-all-codepoint.ttx | 1247 + - ...2_multiple_subrules_f1.retain-gids.41,42,43.otf | Bin 2028 -> 0 bytes - ...2_multiple_subrules_f1.retain-gids.41,42,43.ttx | 604 + - ...ext2_multiple_subrules_f1.retain-gids.41,42.otf | Bin 1932 -> 0 bytes - ...ext2_multiple_subrules_f1.retain-gids.41,42.ttx | 585 + - ...ext2_multiple_subrules_f1.retain-gids.41,43.otf | Bin 2048 -> 0 bytes - ...ext2_multiple_subrules_f1.retain-gids.41,43.ttx | 600 + - ...ontext2_multiple_subrules_f1.retain-gids.41.otf | Bin 1916 -> 0 bytes - ...ontext2_multiple_subrules_f1.retain-gids.41.ttx | 576 + - ...ubrules_f1.retain-gids.retain-all-codepoint.otf | Bin 3700 -> 0 bytes - ...ubrules_f1.retain-gids.retain-all-codepoint.ttx | 1247 + - .../gpos_context3_simple_f1.default.41,42,43.otf | Bin 1308 -> 0 bytes - .../gpos_context3_simple_f1.default.41,42,43.ttx | 284 + - .../gpos_context3_simple_f1.default.41,42.otf | Bin 1208 -> 0 bytes - .../gpos_context3_simple_f1.default.41,42.ttx | 265 + - .../gpos_context3_simple_f1.default.41,43.otf | Bin 1312 -> 0 bytes - .../gpos_context3_simple_f1.default.41,43.ttx | 275 + - .../gpos_context3_simple_f1.default.41.otf | Bin 1196 -> 0 bytes - .../gpos_context3_simple_f1.default.41.ttx | 256 + - ...ext3_simple_f1.default.retain-all-codepoint.otf | Bin 3680 -> 0 bytes - ...ext3_simple_f1.default.retain-all-codepoint.ttx | 1247 + - ...pos_context3_simple_f1.retain-gids.41,42,43.otf | Bin 2008 -> 0 bytes - ...pos_context3_simple_f1.retain-gids.41,42,43.ttx | 604 + - .../gpos_context3_simple_f1.retain-gids.41,42.otf | Bin 1912 -> 0 bytes - .../gpos_context3_simple_f1.retain-gids.41,42.ttx | 585 + - .../gpos_context3_simple_f1.retain-gids.41,43.otf | Bin 2028 -> 0 bytes - .../gpos_context3_simple_f1.retain-gids.41,43.ttx | 600 + - .../gpos_context3_simple_f1.retain-gids.41.otf | Bin 1896 -> 0 bytes - .../gpos_context3_simple_f1.retain-gids.41.ttx | 576 + - ..._simple_f1.retain-gids.retain-all-codepoint.otf | Bin 3680 -> 0 bytes - ..._simple_f1.retain-gids.retain-all-codepoint.ttx | 1247 + - .../IndicTestJalandhar-Regular.default.A01.ttf | Bin 4176 -> 0 bytes - .../IndicTestJalandhar-Regular.default.A01.ttx | 2916 + - .../IndicTestJalandhar-Regular.default.A05,A06.ttf | Bin 4752 -> 0 bytes - .../IndicTestJalandhar-Regular.default.A05,A06.ttx | 3167 + - .../IndicTestJalandhar-Regular.default.A07,A1B.ttf | Bin 4724 -> 0 bytes - .../IndicTestJalandhar-Regular.default.A07,A1B.ttx | 3148 + - ...andhar-Regular.default.retain-all-codepoint.ttf | Bin 49244 -> 0 bytes - ...andhar-Regular.default.retain-all-codepoint.ttx | 22554 +++ - .../IndicTestJalandhar-Regular.drop-hints.A01.ttf | Bin 1036 -> 0 bytes - .../IndicTestJalandhar-Regular.drop-hints.A01.ttx | 281 + - ...dicTestJalandhar-Regular.drop-hints.A05,A06.ttf | Bin 1344 -> 0 bytes - ...dicTestJalandhar-Regular.drop-hints.A05,A06.ttx | 403 + - ...dicTestJalandhar-Regular.drop-hints.A07,A1B.ttf | Bin 1344 -> 0 bytes - ...dicTestJalandhar-Regular.drop-hints.A07,A1B.ttx | 404 + - ...har-Regular.drop-hints.retain-all-codepoint.ttf | Bin 29464 -> 0 bytes - ...har-Regular.drop-hints.retain-all-codepoint.ttx | 11627 ++ - .../IndicTestJalandhar-Regular.keep-gdef.A01.ttf | Bin 4176 -> 0 bytes - .../IndicTestJalandhar-Regular.keep-gdef.A01.ttx | 2916 + - ...ndicTestJalandhar-Regular.keep-gdef.A05,A06.ttf | Bin 4752 -> 0 bytes - ...ndicTestJalandhar-Regular.keep-gdef.A05,A06.ttx | 3167 + - ...ndicTestJalandhar-Regular.keep-gdef.A07,A1B.ttf | Bin 4724 -> 0 bytes - ...ndicTestJalandhar-Regular.keep-gdef.A07,A1B.ttx | 3148 + - ...dhar-Regular.keep-gdef.retain-all-codepoint.ttf | Bin 49244 -> 0 bytes - ...dhar-Regular.keep-gdef.retain-all-codepoint.ttx | 22554 +++ - .../AdobeVFPrototype.default.41,42,43,57.otf | Bin 5440 -> 0 bytes - .../AdobeVFPrototype.default.41,42,43,57.ttx | 1536 + - .../AdobeVFPrototype.default.41,42,43.otf | Bin 4908 -> 0 bytes - .../AdobeVFPrototype.default.41,42,43.ttx | 1338 + - .../AdobeVFPrototype.default.41,42.otf | Bin 4432 -> 0 bytes - .../AdobeVFPrototype.default.41,42.ttx | 1201 + - .../AdobeVFPrototype.default.41,56,57.otf | Bin 4576 -> 0 bytes - .../AdobeVFPrototype.default.41,56,57.ttx | 1310 + - .../AdobeVFPrototype.default.41.otf | Bin 3728 -> 0 bytes - .../AdobeVFPrototype.default.41.ttx | 1000 + - .../AdobeVFPrototype.default.42,57.otf | Bin 4564 -> 0 bytes - .../AdobeVFPrototype.default.42,57.ttx | 1253 + - .../AdobeVFPrototype.drop-hints.41,42,43,57.otf | Bin 5252 -> 0 bytes - .../AdobeVFPrototype.drop-hints.41,42,43,57.ttx | 1500 + - .../AdobeVFPrototype.drop-hints.41,42,43.otf | Bin 4720 -> 0 bytes - .../AdobeVFPrototype.drop-hints.41,42,43.ttx | 1302 + - .../AdobeVFPrototype.drop-hints.41,42.otf | Bin 4244 -> 0 bytes - .../AdobeVFPrototype.drop-hints.41,42.ttx | 1165 + - .../AdobeVFPrototype.drop-hints.41,56,57.otf | Bin 4384 -> 0 bytes - .../AdobeVFPrototype.drop-hints.41,56,57.ttx | 1274 + - .../AdobeVFPrototype.drop-hints.41.otf | Bin 3540 -> 0 bytes - .../AdobeVFPrototype.drop-hints.41.ttx | 964 + - .../AdobeVFPrototype.drop-hints.42,57.otf | Bin 4376 -> 0 bytes - .../AdobeVFPrototype.drop-hints.42,57.ttx | 1217 + - ...AdobeVFPrototype.keep-gdef-gpos.41,42,43,57.otf | Bin 5440 -> 0 bytes - ...AdobeVFPrototype.keep-gdef-gpos.41,42,43,57.ttx | 1536 + - .../AdobeVFPrototype.keep-gdef-gpos.41,42,43.otf | Bin 4908 -> 0 bytes - .../AdobeVFPrototype.keep-gdef-gpos.41,42,43.ttx | 1338 + - .../AdobeVFPrototype.keep-gdef-gpos.41,42.otf | Bin 4432 -> 0 bytes - .../AdobeVFPrototype.keep-gdef-gpos.41,42.ttx | 1201 + - .../AdobeVFPrototype.keep-gdef-gpos.41,56,57.otf | Bin 4576 -> 0 bytes - .../AdobeVFPrototype.keep-gdef-gpos.41,56,57.ttx | 1310 + - .../AdobeVFPrototype.keep-gdef-gpos.41.otf | Bin 3728 -> 0 bytes - .../AdobeVFPrototype.keep-gdef-gpos.41.ttx | 1000 + - .../AdobeVFPrototype.keep-gdef-gpos.42,57.otf | Bin 4564 -> 0 bytes - .../AdobeVFPrototype.keep-gdef-gpos.42,57.ttx | 1253 + - .../Roboto-Regular.default.1E00,303.ttf | Bin 2524 -> 0 bytes - .../Roboto-Regular.default.1E00,303.ttx | 1258 + - .../layout.gdef/Roboto-Regular.default.303.ttf | Bin 2116 -> 0 bytes - .../layout.gdef/Roboto-Regular.default.303.ttx | 1012 + - .../Roboto-Regular.default.309,20,30F.ttf | Bin 2212 -> 0 bytes - .../Roboto-Regular.default.309,20,30F.ttx | 1054 + - .../layout.gdef/Roboto-Regular.default.323.ttf | Bin 2008 -> 0 bytes - .../layout.gdef/Roboto-Regular.default.323.ttx | 949 + - .../Roboto-Regular.default.41,42,43.ttf | Bin 2572 -> 0 bytes - .../Roboto-Regular.default.41,42,43.ttx | 1349 + - .../Roboto-Regular.drop-hints.1E00,303.ttf | Bin 1380 -> 0 bytes - .../Roboto-Regular.drop-hints.1E00,303.ttx | 443 + - .../layout.gdef/Roboto-Regular.drop-hints.303.ttf | Bin 1112 -> 0 bytes - .../layout.gdef/Roboto-Regular.drop-hints.303.ttx | 312 + - .../Roboto-Regular.drop-hints.309,20,30F.ttf | Bin 1172 -> 0 bytes - .../Roboto-Regular.drop-hints.309,20,30F.ttx | 328 + - .../layout.gdef/Roboto-Regular.drop-hints.323.ttf | Bin 1056 -> 0 bytes - .../layout.gdef/Roboto-Regular.drop-hints.323.ttx | 291 + - .../Roboto-Regular.drop-hints.41,42,43.ttf | Bin 1388 -> 0 bytes - .../Roboto-Regular.drop-hints.41,42,43.ttx | 480 + - .../Roboto-Regular.keep-gdef-gpos.1E00,303.ttf | Bin 2524 -> 0 bytes - .../Roboto-Regular.keep-gdef-gpos.1E00,303.ttx | 1258 + - .../Roboto-Regular.keep-gdef-gpos.303.ttf | Bin 2116 -> 0 bytes - .../Roboto-Regular.keep-gdef-gpos.303.ttx | 1012 + - .../Roboto-Regular.keep-gdef-gpos.309,20,30F.ttf | Bin 2212 -> 0 bytes - .../Roboto-Regular.keep-gdef-gpos.309,20,30F.ttx | 1054 + - .../Roboto-Regular.keep-gdef-gpos.323.ttf | Bin 2008 -> 0 bytes - .../Roboto-Regular.keep-gdef-gpos.323.ttx | 949 + - .../Roboto-Regular.keep-gdef-gpos.41,42,43.ttf | Bin 2572 -> 0 bytes - .../Roboto-Regular.keep-gdef-gpos.41,42,43.ttx | 1349 + - .../layout.gpos/gpos1_2_font.default.41,43.otf | Bin 1292 -> 0 bytes - .../layout.gpos/gpos1_2_font.default.41,43.ttx | 275 + - .../layout.gpos/gpos1_2_font.default.41,46.otf | Bin 1424 -> 0 bytes - .../layout.gpos/gpos1_2_font.default.41,46.ttx | 286 + - .../layout.gpos/gpos1_2_font.default.41.otf | Bin 1176 -> 0 bytes - .../layout.gpos/gpos1_2_font.default.41.ttx | 256 + - .../layout.gpos/gpos1_2_font.default.42,44.otf | Bin 1268 -> 0 bytes - .../layout.gpos/gpos1_2_font.default.42,44.ttx | 265 + - .../layout.gpos/gpos1_2_font.default.43,46.otf | Bin 1288 -> 0 bytes - .../layout.gpos/gpos1_2_font.default.43,46.ttx | 275 + - .../gpos1_2_font.default.retain-all-codepoint.otf | Bin 3604 -> 0 bytes - .../gpos1_2_font.default.retain-all-codepoint.ttx | 1221 + - .../layout.gpos/gpos1_2_font.retain-gids.41,43.otf | Bin 2008 -> 0 bytes - .../layout.gpos/gpos1_2_font.retain-gids.41,43.ttx | 600 + - .../layout.gpos/gpos1_2_font.retain-gids.41,46.otf | Bin 2172 -> 0 bytes - .../layout.gpos/gpos1_2_font.retain-gids.41,46.ttx | 626 + - .../layout.gpos/gpos1_2_font.retain-gids.41.otf | Bin 1876 -> 0 bytes - .../layout.gpos/gpos1_2_font.retain-gids.41.ttx | 576 + - .../layout.gpos/gpos1_2_font.retain-gids.42,44.otf | Bin 1992 -> 0 bytes - .../layout.gpos/gpos1_2_font.retain-gids.42,44.ttx | 595 + - .../layout.gpos/gpos1_2_font.retain-gids.43,46.otf | Bin 2036 -> 0 bytes - .../layout.gpos/gpos1_2_font.retain-gids.43,46.ttx | 615 + - ...os1_2_font.retain-gids.retain-all-codepoint.otf | Bin 3604 -> 0 bytes - ...os1_2_font.retain-gids.retain-all-codepoint.ttx | 1221 + - .../gpos2_1_font7.default.21,23,25.otf | Bin 1360 -> 0 bytes - .../gpos2_1_font7.default.21,23,25.ttx | 287 + - .../layout.gpos2/gpos2_1_font7.default.21,23.otf | Bin 1240 -> 0 bytes - .../layout.gpos2/gpos2_1_font7.default.21,23.ttx | 268 + - .../layout.gpos2/gpos2_1_font7.default.2E,23.otf | Bin 1508 -> 0 bytes - .../layout.gpos2/gpos2_1_font7.default.2E,23.ttx | 291 + - .../gpos2_1_font7.default.41,42,43.otf | Bin 1288 -> 0 bytes - .../gpos2_1_font7.default.41,42,43.ttx | 284 + - .../gpos2_1_font7.default.retain-all-codepoint.otf | Bin 3604 -> 0 bytes - .../gpos2_1_font7.default.retain-all-codepoint.ttx | 1221 + - .../gpos2_1_font7.retain-gids.21,23,25.otf | Bin 1696 -> 0 bytes - .../gpos2_1_font7.retain-gids.21,23,25.ttx | 457 + - .../gpos2_1_font7.retain-gids.21,23.otf | Bin 1564 -> 0 bytes - .../gpos2_1_font7.retain-gids.21,23.ttx | 433 + - .../gpos2_1_font7.retain-gids.2E,23.otf | Bin 1944 -> 0 bytes - .../gpos2_1_font7.retain-gids.2E,23.ttx | 511 + - .../gpos2_1_font7.retain-gids.41,42,43.otf | Bin 1988 -> 0 bytes - .../gpos2_1_font7.retain-gids.41,42,43.ttx | 604 + - ...s2_1_font7.retain-gids.retain-all-codepoint.otf | Bin 3604 -> 0 bytes - ...s2_1_font7.retain-gids.retain-all-codepoint.ttx | 1221 + - .../gpos2_2_font5.default.21,23,25.otf | Bin 1360 -> 0 bytes - .../gpos2_2_font5.default.21,23,25.ttx | 287 + - .../layout.gpos2/gpos2_2_font5.default.21,23.otf | Bin 1240 -> 0 bytes - .../layout.gpos2/gpos2_2_font5.default.21,23.ttx | 268 + - .../layout.gpos2/gpos2_2_font5.default.2E,23.otf | Bin 1508 -> 0 bytes - .../layout.gpos2/gpos2_2_font5.default.2E,23.ttx | 291 + - .../gpos2_2_font5.default.41,42,43.otf | Bin 1288 -> 0 bytes - .../gpos2_2_font5.default.41,42,43.ttx | 284 + - .../gpos2_2_font5.default.retain-all-codepoint.otf | Bin 3604 -> 0 bytes - .../gpos2_2_font5.default.retain-all-codepoint.ttx | 1221 + - .../gpos2_2_font5.retain-gids.21,23,25.otf | Bin 1696 -> 0 bytes - .../gpos2_2_font5.retain-gids.21,23,25.ttx | 457 + - .../gpos2_2_font5.retain-gids.21,23.otf | Bin 1564 -> 0 bytes - .../gpos2_2_font5.retain-gids.21,23.ttx | 433 + - .../gpos2_2_font5.retain-gids.2E,23.otf | Bin 1944 -> 0 bytes - .../gpos2_2_font5.retain-gids.2E,23.ttx | 511 + - .../gpos2_2_font5.retain-gids.41,42,43.otf | Bin 1988 -> 0 bytes - .../gpos2_2_font5.retain-gids.41,42,43.ttx | 604 + - ...s2_2_font5.retain-gids.retain-all-codepoint.otf | Bin 3604 -> 0 bytes - ...s2_2_font5.retain-gids.retain-all-codepoint.ttx | 1221 + - .../layout.gpos3/gpos3_font3.default.28,29.otf | Bin 1248 -> 0 bytes - .../layout.gpos3/gpos3_font3.default.28,29.ttx | 276 + - .../layout.gpos3/gpos3_font3.default.28,2B.otf | Bin 1376 -> 0 bytes - .../layout.gpos3/gpos3_font3.default.28,2B.ttx | 282 + - .../layout.gpos3/gpos3_font3.default.29,2B.otf | Bin 1292 -> 0 bytes - .../layout.gpos3/gpos3_font3.default.29,2B.ttx | 277 + - .../layout.gpos3/gpos3_font3.default.41,42,43.otf | Bin 1284 -> 0 bytes - .../layout.gpos3/gpos3_font3.default.41,42,43.ttx | 284 + - .../gpos3_font3.default.retain-all-codepoint.otf | Bin 3636 -> 0 bytes - .../gpos3_font3.default.retain-all-codepoint.ttx | 1228 + - .../layout.gpos3/gpos3_font3.retain-gids.28,29.otf | Bin 1632 -> 0 bytes - .../layout.gpos3/gpos3_font3.retain-gids.28,29.ttx | 471 + - .../layout.gpos3/gpos3_font3.retain-gids.28,2B.otf | Bin 1780 -> 0 bytes - .../layout.gpos3/gpos3_font3.retain-gids.28,2B.ttx | 487 + - .../layout.gpos3/gpos3_font3.retain-gids.29,2B.otf | Bin 1696 -> 0 bytes - .../layout.gpos3/gpos3_font3.retain-gids.29,2B.ttx | 482 + - .../gpos3_font3.retain-gids.41,42,43.otf | Bin 1984 -> 0 bytes - .../gpos3_font3.retain-gids.41,42,43.ttx | 604 + - ...pos3_font3.retain-gids.retain-all-codepoint.otf | Bin 3636 -> 0 bytes - ...pos3_font3.retain-gids.retain-all-codepoint.ttx | 1228 + - ...pos4_multiple_anchors_1.default.41,42,43,44.otf | Bin 1516 -> 0 bytes - ...pos4_multiple_anchors_1.default.41,42,43,44.ttx | 304 + - ...pos4_multiple_anchors_1.default.41,42,43,45.otf | Bin 1524 -> 0 bytes - ...pos4_multiple_anchors_1.default.41,42,43,45.ttx | 305 + - .../gpos4_multiple_anchors_1.default.41,42,43.otf | Bin 1308 -> 0 bytes - .../gpos4_multiple_anchors_1.default.41,42,43.ttx | 284 + - .../gpos4_multiple_anchors_1.default.41,42.otf | Bin 1208 -> 0 bytes - .../gpos4_multiple_anchors_1.default.41,42.ttx | 265 + - ...4_multiple_anchors_1.default.41,43,44,45,46.otf | Bin 1864 -> 0 bytes - ...4_multiple_anchors_1.default.41,43,44,45,46.ttx | 336 + - .../gpos4_multiple_anchors_1.default.41,43,44.otf | Bin 1524 -> 0 bytes - .../gpos4_multiple_anchors_1.default.41,43,44.ttx | 295 + - .../gpos4_multiple_anchors_1.default.41,43,45.otf | Bin 1532 -> 0 bytes - .../gpos4_multiple_anchors_1.default.41,43,45.ttx | 296 + - .../gpos4_multiple_anchors_1.default.41,43.otf | Bin 1312 -> 0 bytes - .../gpos4_multiple_anchors_1.default.41,43.ttx | 275 + - .../gpos4_multiple_anchors_1.default.41.otf | Bin 1196 -> 0 bytes - .../gpos4_multiple_anchors_1.default.41.ttx | 256 + - ...iple_anchors_1.default.retain-all-codepoint.otf | Bin 3668 -> 0 bytes - ...iple_anchors_1.default.retain-all-codepoint.ttx | 1233 + - ..._multiple_anchors_1.retain-gids.41,42,43,44.otf | Bin 2220 -> 0 bytes - ..._multiple_anchors_1.retain-gids.41,42,43,44.ttx | 624 + - ..._multiple_anchors_1.retain-gids.41,42,43,45.otf | Bin 2244 -> 0 bytes - ..._multiple_anchors_1.retain-gids.41,42,43,45.ttx | 630 + - ...os4_multiple_anchors_1.retain-gids.41,42,43.otf | Bin 2008 -> 0 bytes - ...os4_multiple_anchors_1.retain-gids.41,42,43.ttx | 604 + - .../gpos4_multiple_anchors_1.retain-gids.41,42.otf | Bin 1912 -> 0 bytes - .../gpos4_multiple_anchors_1.retain-gids.41,42.ttx | 585 + - ...ltiple_anchors_1.retain-gids.41,43,44,45,46.otf | Bin 2584 -> 0 bytes - ...ltiple_anchors_1.retain-gids.41,43,44,45,46.ttx | 661 + - ...os4_multiple_anchors_1.retain-gids.41,43,44.otf | Bin 2240 -> 0 bytes - ...os4_multiple_anchors_1.retain-gids.41,43,44.ttx | 620 + - ...os4_multiple_anchors_1.retain-gids.41,43,45.otf | Bin 2260 -> 0 bytes - ...os4_multiple_anchors_1.retain-gids.41,43,45.ttx | 626 + - .../gpos4_multiple_anchors_1.retain-gids.41,43.otf | Bin 2028 -> 0 bytes - .../gpos4_multiple_anchors_1.retain-gids.41,43.ttx | 600 + - .../gpos4_multiple_anchors_1.retain-gids.41.otf | Bin 1896 -> 0 bytes - .../gpos4_multiple_anchors_1.retain-gids.41.ttx | 576 + - ..._anchors_1.retain-gids.retain-all-codepoint.otf | Bin 3668 -> 0 bytes - ..._anchors_1.retain-gids.retain-all-codepoint.ttx | 1233 + - .../gpos5_font1.default.41,42,43,44.otf | Bin 1536 -> 0 bytes - .../gpos5_font1.default.41,42,43,44.ttx | 323 + - .../gpos5_font1.default.41,42,43,45.otf | Bin 1544 -> 0 bytes - .../gpos5_font1.default.41,42,43,45.ttx | 324 + - .../layout.gpos5/gpos5_font1.default.41,42,43.otf | Bin 1328 -> 0 bytes - .../layout.gpos5/gpos5_font1.default.41,42,43.ttx | 303 + - .../layout.gpos5/gpos5_font1.default.41,42,44.otf | Bin 1460 -> 0 bytes - .../layout.gpos5/gpos5_font1.default.41,42,44.ttx | 304 + - .../layout.gpos5/gpos5_font1.default.41,42,45.otf | Bin 1448 -> 0 bytes - .../layout.gpos5/gpos5_font1.default.41,42,45.ttx | 305 + - .../layout.gpos5/gpos5_font1.default.41,42.otf | Bin 1228 -> 0 bytes - .../layout.gpos5/gpos5_font1.default.41,42.ttx | 284 + - .../layout.gpos5/gpos5_font1.default.41,43.otf | Bin 1332 -> 0 bytes - .../layout.gpos5/gpos5_font1.default.41,43.ttx | 294 + - .../layout.gpos5/gpos5_font1.default.41.otf | Bin 1216 -> 0 bytes - .../layout.gpos5/gpos5_font1.default.41.ttx | 275 + - .../layout.gpos5/gpos5_font1.default.42.otf | Bin 1076 -> 0 bytes - .../layout.gpos5/gpos5_font1.default.42.ttx | 264 + - .../gpos5_font1.default.retain-all-codepoint.otf | Bin 3688 -> 0 bytes - .../gpos5_font1.default.retain-all-codepoint.ttx | 1250 + - .../gpos5_font1.retain-gids.41,42,43,44.otf | Bin 2240 -> 0 bytes - .../gpos5_font1.retain-gids.41,42,43,44.ttx | 643 + - .../gpos5_font1.retain-gids.41,42,43,45.otf | Bin 2264 -> 0 bytes - .../gpos5_font1.retain-gids.41,42,43,45.ttx | 649 + - .../gpos5_font1.retain-gids.41,42,43.otf | Bin 2028 -> 0 bytes - .../gpos5_font1.retain-gids.41,42,43.ttx | 623 + - .../gpos5_font1.retain-gids.41,42,44.otf | Bin 2176 -> 0 bytes - .../gpos5_font1.retain-gids.41,42,44.ttx | 629 + - .../gpos5_font1.retain-gids.41,42,45.otf | Bin 2172 -> 0 bytes - .../gpos5_font1.retain-gids.41,42,45.ttx | 635 + - .../layout.gpos5/gpos5_font1.retain-gids.41,42.otf | Bin 1932 -> 0 bytes - .../layout.gpos5/gpos5_font1.retain-gids.41,42.ttx | 604 + - .../layout.gpos5/gpos5_font1.retain-gids.41,43.otf | Bin 2048 -> 0 bytes - .../layout.gpos5/gpos5_font1.retain-gids.41,43.ttx | 619 + - .../layout.gpos5/gpos5_font1.retain-gids.41.otf | Bin 1916 -> 0 bytes - .../layout.gpos5/gpos5_font1.retain-gids.41.ttx | 595 + - .../layout.gpos5/gpos5_font1.retain-gids.42.otf | Bin 1788 -> 0 bytes - .../layout.gpos5/gpos5_font1.retain-gids.42.ttx | 589 + - ...pos5_font1.retain-gids.retain-all-codepoint.otf | Bin 3688 -> 0 bytes - ...pos5_font1.retain-gids.retain-all-codepoint.ttx | 1250 + - .../gpos6_font1.default.41,42,43,44.otf | Bin 1492 -> 0 bytes - .../gpos6_font1.default.41,42,43,44.ttx | 304 + - .../gpos6_font1.default.41,42,43,45.otf | Bin 1500 -> 0 bytes - .../gpos6_font1.default.41,42,43,45.ttx | 305 + - .../layout.gpos6/gpos6_font1.default.41,42,43.otf | Bin 1284 -> 0 bytes - .../layout.gpos6/gpos6_font1.default.41,42,43.ttx | 284 + - .../layout.gpos6/gpos6_font1.default.41,42.otf | Bin 1184 -> 0 bytes - .../layout.gpos6/gpos6_font1.default.41,42.ttx | 265 + - .../gpos6_font1.default.41,43,44,45,46.otf | Bin 1840 -> 0 bytes - .../gpos6_font1.default.41,43,44,45,46.ttx | 336 + - .../layout.gpos6/gpos6_font1.default.41,43,44.otf | Bin 1500 -> 0 bytes - .../layout.gpos6/gpos6_font1.default.41,43,44.ttx | 295 + - .../layout.gpos6/gpos6_font1.default.41,43,45.otf | Bin 1508 -> 0 bytes - .../layout.gpos6/gpos6_font1.default.41,43,45.ttx | 296 + - .../layout.gpos6/gpos6_font1.default.41,43.otf | Bin 1288 -> 0 bytes - .../layout.gpos6/gpos6_font1.default.41,43.ttx | 275 + - .../layout.gpos6/gpos6_font1.default.41.otf | Bin 1172 -> 0 bytes - .../layout.gpos6/gpos6_font1.default.41.ttx | 256 + - .../gpos6_font1.default.retain-all-codepoint.otf | Bin 3644 -> 0 bytes - .../gpos6_font1.default.retain-all-codepoint.ttx | 1231 + - .../gpos6_font1.retain-gids.41,42,43,44.otf | Bin 2196 -> 0 bytes - .../gpos6_font1.retain-gids.41,42,43,44.ttx | 624 + - .../gpos6_font1.retain-gids.41,42,43,45.otf | Bin 2220 -> 0 bytes - .../gpos6_font1.retain-gids.41,42,43,45.ttx | 630 + - .../gpos6_font1.retain-gids.41,42,43.otf | Bin 1984 -> 0 bytes - .../gpos6_font1.retain-gids.41,42,43.ttx | 604 + - .../layout.gpos6/gpos6_font1.retain-gids.41,42.otf | Bin 1888 -> 0 bytes - .../layout.gpos6/gpos6_font1.retain-gids.41,42.ttx | 585 + - .../gpos6_font1.retain-gids.41,43,44,45,46.otf | Bin 2560 -> 0 bytes - .../gpos6_font1.retain-gids.41,43,44,45,46.ttx | 661 + - .../gpos6_font1.retain-gids.41,43,44.otf | Bin 2216 -> 0 bytes - .../gpos6_font1.retain-gids.41,43,44.ttx | 620 + - .../gpos6_font1.retain-gids.41,43,45.otf | Bin 2236 -> 0 bytes - .../gpos6_font1.retain-gids.41,43,45.ttx | 626 + - .../layout.gpos6/gpos6_font1.retain-gids.41,43.otf | Bin 2004 -> 0 bytes - .../layout.gpos6/gpos6_font1.retain-gids.41,43.ttx | 600 + - .../layout.gpos6/gpos6_font1.retain-gids.41.otf | Bin 1872 -> 0 bytes - .../layout.gpos6/gpos6_font1.retain-gids.41.ttx | 576 + - ...pos6_font1.retain-gids.retain-all-codepoint.otf | Bin 3644 -> 0 bytes - ...pos6_font1.retain-gids.retain-all-codepoint.ttx | 1231 + - ...ular.default.627,644,623,62D,644,627,645,2E.ttf | Bin 12684 -> 0 bytes - ...ular.default.627,644,623,62D,644,627,645,2E.ttx | 4529 + - .../Amiri-Regular.default.627,644,62D,628.ttf | Bin 9992 -> 0 bytes - .../Amiri-Regular.default.627,644,62D,628.ttx | 3537 + - .../Amiri-Regular.default.627,644.ttf | Bin 4168 -> 0 bytes - .../Amiri-Regular.default.627,644.ttx | 1383 + - ...-Regular.default.633,645,627,621,20,644,627.ttf | Bin 9516 -> 0 bytes - ...-Regular.default.633,645,627,621,20,644,627.ttx | 3371 + - .../Amiri-Regular.default.63A,64A,631.ttf | Bin 7324 -> 0 bytes - .../Amiri-Regular.default.63A,64A,631.ttx | 2587 + - ....retain-gids.627,644,623,62D,644,627,645,2E.ttf | Bin 48012 -> 0 bytes - ....retain-gids.627,644,623,62D,644,627,645,2E.ttx | 28725 ++++ - .../Amiri-Regular.retain-gids.627,644,62D,628.ttf | Bin 42640 -> 0 bytes - .../Amiri-Regular.retain-gids.627,644,62D,628.ttx | 25101 ++++ - .../Amiri-Regular.retain-gids.627,644.ttf | Bin 36696 -> 0 bytes - .../Amiri-Regular.retain-gids.627,644.ttx | 23003 +++ - ...ular.retain-gids.633,645,627,621,20,644,627.ttf | Bin 45908 -> 0 bytes - ...ular.retain-gids.633,645,627,621,20,644,627.ttx | 27759 ++++ - .../Amiri-Regular.retain-gids.63A,64A,631.ttf | Bin 37988 -> 0 bytes - .../Amiri-Regular.retain-gids.63A,64A,631.ttx | 22911 +++ - ...g1_multiple_subrules_f1.default.30,31,32,33.otf | Bin 1840 -> 0 bytes - ...g1_multiple_subrules_f1.default.30,31,32,33.ttx | 328 + - ...ning1_multiple_subrules_f1.default.41,42,43.otf | Bin 1332 -> 0 bytes - ...ning1_multiple_subrules_f1.default.41,42,43.ttx | 284 + - ...le_subrules_f1.default.retain-all-codepoint.otf | Bin 3704 -> 0 bytes - ...le_subrules_f1.default.retain-all-codepoint.ttx | 1247 + - ...ultiple_subrules_f1.retain-gids.30,31,32,33.otf | Bin 2304 -> 0 bytes - ...ultiple_subrules_f1.retain-gids.30,31,32,33.ttx | 563 + - ...1_multiple_subrules_f1.retain-gids.41,42,43.otf | Bin 2032 -> 0 bytes - ...1_multiple_subrules_f1.retain-gids.41,42,43.ttx | 604 + - ...ubrules_f1.retain-gids.retain-all-codepoint.otf | Bin 3704 -> 0 bytes - ...ubrules_f1.retain-gids.retain-all-codepoint.ttx | 1247 + - ...g2_multiple_subrules_f1.default.30,31,32,33.otf | Bin 1840 -> 0 bytes - ...g2_multiple_subrules_f1.default.30,31,32,33.ttx | 328 + - ...ning2_multiple_subrules_f1.default.41,42,43.otf | Bin 1332 -> 0 bytes - ...ning2_multiple_subrules_f1.default.41,42,43.ttx | 284 + - ...le_subrules_f1.default.retain-all-codepoint.otf | Bin 3704 -> 0 bytes - ...le_subrules_f1.default.retain-all-codepoint.ttx | 1247 + - ...ultiple_subrules_f1.retain-gids.30,31,32,33.otf | Bin 2304 -> 0 bytes - ...ultiple_subrules_f1.retain-gids.30,31,32,33.ttx | 563 + - ...2_multiple_subrules_f1.retain-gids.41,42,43.otf | Bin 2032 -> 0 bytes - ...2_multiple_subrules_f1.retain-gids.41,42,43.ttx | 604 + - ...ubrules_f1.retain-gids.retain-all-codepoint.otf | Bin 3704 -> 0 bytes - ...ubrules_f1.retain-gids.retain-all-codepoint.ttx | 1247 + - ...pos_chaining3_simple_f1.default.30,31,32,33.otf | Bin 1816 -> 0 bytes - ...pos_chaining3_simple_f1.default.30,31,32,33.ttx | 328 + - .../gpos_chaining3_simple_f1.default.41,42,43.otf | Bin 1308 -> 0 bytes - .../gpos_chaining3_simple_f1.default.41,42,43.ttx | 284 + - ...ing3_simple_f1.default.retain-all-codepoint.otf | Bin 3680 -> 0 bytes - ...ing3_simple_f1.default.retain-all-codepoint.ttx | 1247 + - ...chaining3_simple_f1.retain-gids.30,31,32,33.otf | Bin 2280 -> 0 bytes - ...chaining3_simple_f1.retain-gids.30,31,32,33.ttx | 563 + - ...os_chaining3_simple_f1.retain-gids.41,42,43.otf | Bin 2008 -> 0 bytes - ...os_chaining3_simple_f1.retain-gids.41,42,43.ttx | 604 + - ..._simple_f1.retain-gids.retain-all-codepoint.otf | Bin 3680 -> 0 bytes - ..._simple_f1.retain-gids.retain-all-codepoint.ttx | 1247 + - .../layout.gpos9/gpos9_font2.default.41,42.otf | Bin 1184 -> 0 bytes - .../layout.gpos9/gpos9_font2.default.41,42.ttx | 265 + - .../layout.gpos9/gpos9_font2.default.41.otf | Bin 1172 -> 0 bytes - .../layout.gpos9/gpos9_font2.default.41.ttx | 256 + - .../layout.gpos9/gpos9_font2.default.42.otf | Bin 1032 -> 0 bytes - .../layout.gpos9/gpos9_font2.default.42.ttx | 245 + - .../layout.gpos9/gpos9_font2.retain-gids.41,42.otf | Bin 1888 -> 0 bytes - .../layout.gpos9/gpos9_font2.retain-gids.41,42.ttx | 585 + - .../layout.gpos9/gpos9_font2.retain-gids.41.otf | Bin 1872 -> 0 bytes - .../layout.gpos9/gpos9_font2.retain-gids.41.ttx | 576 + - .../layout.gpos9/gpos9_font2.retain-gids.42.otf | Bin 1744 -> 0 bytes - .../layout.gpos9/gpos9_font2.retain-gids.42.ttx | 570 + - ...ub_alternate_substitution.default.53A9,53F1.otf | Bin 4348 -> 0 bytes - ...ub_alternate_substitution.default.53A9,53F1.ttx | 1009 + - .../gsub_alternate_substitution.default.53A9.otf | Bin 3904 -> 0 bytes - .../gsub_alternate_substitution.default.53A9.ttx | 924 + - .../gsub_alternate_substitution.default.53F1.otf | Bin 2452 -> 0 bytes - .../gsub_alternate_substitution.default.53F1.ttx | 638 + - ...e_substitution.default.retain-all-codepoint.otf | Bin 6040 -> 0 bytes - ...e_substitution.default.retain-all-codepoint.ttx | 1387 + - ...lternate_substitution.retain-gids.53A9,53F1.otf | Bin 4472 -> 0 bytes - ...lternate_substitution.retain-gids.53A9,53F1.ttx | 1063 + - ...sub_alternate_substitution.retain-gids.53A9.otf | Bin 4056 -> 0 bytes - ...sub_alternate_substitution.retain-gids.53A9.ttx | 990 + - ...sub_alternate_substitution.retain-gids.53F1.otf | Bin 2648 -> 0 bytes - ...sub_alternate_substitution.retain-gids.53F1.ttx | 728 + - ...bstitution.retain-gids.retain-all-codepoint.otf | Bin 6132 -> 0 bytes - ...bstitution.retain-gids.retain-all-codepoint.ttx | 1423 + - ...text1_multiple_subrules_f2.default.41,42,43.otf | Bin 1340 -> 0 bytes - ...text1_multiple_subrules_f2.default.41,42,43.ttx | 290 + - ...context1_multiple_subrules_f2.default.41,42.otf | Bin 1240 -> 0 bytes - ...context1_multiple_subrules_f2.default.41,42.ttx | 271 + - ...context1_multiple_subrules_f2.default.41,43.otf | Bin 1344 -> 0 bytes - ...context1_multiple_subrules_f2.default.41,43.ttx | 281 + - ...ub_context1_multiple_subrules_f2.default.41.otf | Bin 1228 -> 0 bytes - ...ub_context1_multiple_subrules_f2.default.41.ttx | 262 + - ...le_subrules_f2.default.retain-all-codepoint.otf | Bin 3712 -> 0 bytes - ...le_subrules_f2.default.retain-all-codepoint.ttx | 1253 + - ...1_multiple_subrules_f2.retain-gids.41,42,43.otf | Bin 2040 -> 0 bytes - ...1_multiple_subrules_f2.retain-gids.41,42,43.ttx | 610 + - ...ext1_multiple_subrules_f2.retain-gids.41,42.otf | Bin 1944 -> 0 bytes - ...ext1_multiple_subrules_f2.retain-gids.41,42.ttx | 591 + - ...ext1_multiple_subrules_f2.retain-gids.41,43.otf | Bin 2060 -> 0 bytes - ...ext1_multiple_subrules_f2.retain-gids.41,43.ttx | 606 + - ...ontext1_multiple_subrules_f2.retain-gids.41.otf | Bin 1928 -> 0 bytes - ...ontext1_multiple_subrules_f2.retain-gids.41.ttx | 582 + - ...ubrules_f2.retain-gids.retain-all-codepoint.otf | Bin 3712 -> 0 bytes - ...ubrules_f2.retain-gids.retain-all-codepoint.ttx | 1253 + - ...text2_multiple_subrules_f2.default.41,42,43.otf | Bin 1340 -> 0 bytes - ...text2_multiple_subrules_f2.default.41,42,43.ttx | 290 + - ...context2_multiple_subrules_f2.default.41,42.otf | Bin 1240 -> 0 bytes - ...context2_multiple_subrules_f2.default.41,42.ttx | 271 + - ...context2_multiple_subrules_f2.default.41,43.otf | Bin 1344 -> 0 bytes - ...context2_multiple_subrules_f2.default.41,43.ttx | 281 + - ...ub_context2_multiple_subrules_f2.default.41.otf | Bin 1228 -> 0 bytes - ...ub_context2_multiple_subrules_f2.default.41.ttx | 262 + - ...le_subrules_f2.default.retain-all-codepoint.otf | Bin 3712 -> 0 bytes - ...le_subrules_f2.default.retain-all-codepoint.ttx | 1253 + - ...2_multiple_subrules_f2.retain-gids.41,42,43.otf | Bin 2040 -> 0 bytes - ...2_multiple_subrules_f2.retain-gids.41,42,43.ttx | 610 + - ...ext2_multiple_subrules_f2.retain-gids.41,42.otf | Bin 1944 -> 0 bytes - ...ext2_multiple_subrules_f2.retain-gids.41,42.ttx | 591 + - ...ext2_multiple_subrules_f2.retain-gids.41,43.otf | Bin 2060 -> 0 bytes - ...ext2_multiple_subrules_f2.retain-gids.41,43.ttx | 606 + - ...ontext2_multiple_subrules_f2.retain-gids.41.otf | Bin 1928 -> 0 bytes - ...ontext2_multiple_subrules_f2.retain-gids.41.ttx | 582 + - ...ubrules_f2.retain-gids.retain-all-codepoint.otf | Bin 3712 -> 0 bytes - ...ubrules_f2.retain-gids.retain-all-codepoint.ttx | 1253 + - ...sub_context3_successive_f1.default.41,42,43.otf | Bin 1328 -> 0 bytes - ...sub_context3_successive_f1.default.41,42,43.ttx | 290 + - .../gsub_context3_successive_f1.default.41,42.otf | Bin 1228 -> 0 bytes - .../gsub_context3_successive_f1.default.41,42.ttx | 271 + - .../gsub_context3_successive_f1.default.41,43.otf | Bin 1332 -> 0 bytes - .../gsub_context3_successive_f1.default.41,43.ttx | 281 + - .../gsub_context3_successive_f1.default.41.otf | Bin 1216 -> 0 bytes - .../gsub_context3_successive_f1.default.41.ttx | 262 + - ..._successive_f1.default.retain-all-codepoint.otf | Bin 3700 -> 0 bytes - ..._successive_f1.default.retain-all-codepoint.ttx | 1253 + - ...context3_successive_f1.retain-gids.41,42,43.otf | Bin 2028 -> 0 bytes - ...context3_successive_f1.retain-gids.41,42,43.ttx | 610 + - ...ub_context3_successive_f1.retain-gids.41,42.otf | Bin 1932 -> 0 bytes - ...ub_context3_successive_f1.retain-gids.41,42.ttx | 591 + - ...ub_context3_successive_f1.retain-gids.41,43.otf | Bin 2048 -> 0 bytes - ...ub_context3_successive_f1.retain-gids.41,43.ttx | 606 + - .../gsub_context3_successive_f1.retain-gids.41.otf | Bin 1916 -> 0 bytes - .../gsub_context3_successive_f1.retain-gids.41.ttx | 582 + - ...cessive_f1.retain-gids.retain-all-codepoint.otf | Bin 3700 -> 0 bytes - ...cessive_f1.retain-gids.retain-all-codepoint.ttx | 1253 + - ...g1_multiple_subrules_f1.default.30,31,32,33.otf | Bin 1852 -> 0 bytes - ...g1_multiple_subrules_f1.default.30,31,32,33.ttx | 334 + - ...ning1_multiple_subrules_f1.default.41,42,43.otf | Bin 1344 -> 0 bytes - ...ning1_multiple_subrules_f1.default.41,42,43.ttx | 290 + - ...le_subrules_f1.default.retain-all-codepoint.otf | Bin 3716 -> 0 bytes - ...le_subrules_f1.default.retain-all-codepoint.ttx | 1253 + - ...ultiple_subrules_f1.retain-gids.30,31,32,33.otf | Bin 2316 -> 0 bytes - ...ultiple_subrules_f1.retain-gids.30,31,32,33.ttx | 569 + - ...1_multiple_subrules_f1.retain-gids.41,42,43.otf | Bin 2044 -> 0 bytes - ...1_multiple_subrules_f1.retain-gids.41,42,43.ttx | 610 + - ...ubrules_f1.retain-gids.retain-all-codepoint.otf | Bin 3716 -> 0 bytes - ...ubrules_f1.retain-gids.retain-all-codepoint.ttx | 1253 + - ...g2_multiple_subrules_f1.default.30,31,32,33.otf | Bin 1852 -> 0 bytes - ...g2_multiple_subrules_f1.default.30,31,32,33.ttx | 334 + - ...ning2_multiple_subrules_f1.default.41,42,43.otf | Bin 1344 -> 0 bytes - ...ning2_multiple_subrules_f1.default.41,42,43.ttx | 290 + - ...le_subrules_f1.default.retain-all-codepoint.otf | Bin 3716 -> 0 bytes - ...le_subrules_f1.default.retain-all-codepoint.ttx | 1253 + - ...ultiple_subrules_f1.retain-gids.30,31,32,33.otf | Bin 2316 -> 0 bytes - ...ultiple_subrules_f1.retain-gids.30,31,32,33.ttx | 569 + - ...2_multiple_subrules_f1.retain-gids.41,42,43.otf | Bin 2044 -> 0 bytes - ...2_multiple_subrules_f1.retain-gids.41,42,43.ttx | 610 + - ...ubrules_f1.retain-gids.retain-all-codepoint.otf | Bin 3716 -> 0 bytes - ...ubrules_f1.retain-gids.retain-all-codepoint.ttx | 1253 + - ...sub_chaining3_simple_f2.default.30,31,32,33.otf | Bin 1828 -> 0 bytes - ...sub_chaining3_simple_f2.default.30,31,32,33.ttx | 334 + - .../gsub_chaining3_simple_f2.default.41,42,43.otf | Bin 1320 -> 0 bytes - .../gsub_chaining3_simple_f2.default.41,42,43.ttx | 290 + - ...ing3_simple_f2.default.retain-all-codepoint.otf | Bin 3692 -> 0 bytes - ...ing3_simple_f2.default.retain-all-codepoint.ttx | 1253 + - ...chaining3_simple_f2.retain-gids.30,31,32,33.otf | Bin 2292 -> 0 bytes - ...chaining3_simple_f2.retain-gids.30,31,32,33.ttx | 569 + - ...ub_chaining3_simple_f2.retain-gids.41,42,43.otf | Bin 2020 -> 0 bytes - ...ub_chaining3_simple_f2.retain-gids.41,42,43.ttx | 610 + - ..._simple_f2.retain-gids.retain-all-codepoint.otf | Bin 3692 -> 0 bytes - ..._simple_f2.retain-gids.retain-all-codepoint.ttx | 1253 + - ..._created.default.41,42,43,44,45,46,47,48,49.otf | Bin 2176 -> 0 bytes - ..._created.default.41,42,43,44,45,46,47,48,49.ttx | 392 + - ...nually_created.default.41,42,43,44,45,46,47.otf | Bin 1888 -> 0 bytes - ...nually_created.default.41,42,43,44,45,46,47.ttx | 357 + - ...nually_created.default.41,42,43,44,45,46,4D.otf | Bin 1852 -> 0 bytes - ...nually_created.default.41,42,43,44,45,46,4D.ttx | 351 + - ...nually_created.default.41,42,43,44,45,46,51.otf | Bin 1932 -> 0 bytes - ...nually_created.default.41,42,43,44,45,46,51.ttx | 364 + - ..._manually_created.default.41,42,43,44,45,46.otf | Bin 1832 -> 0 bytes - ..._manually_created.default.41,42,43,44,45,46.ttx | 343 + - .../gsub8_manually_created.default.41,42,43.otf | Bin 1284 -> 0 bytes - .../gsub8_manually_created.default.41,42,43.ttx | 285 + - .../gsub8_manually_created.default.41.otf | Bin 1172 -> 0 bytes - .../gsub8_manually_created.default.41.ttx | 259 + - .../gsub8_manually_created.default.61.otf | Bin 1224 -> 0 bytes - .../gsub8_manually_created.default.61.ttx | 268 + - ...nually_created.default.retain-all-codepoint.otf | Bin 3656 -> 0 bytes - ...nually_created.default.retain-all-codepoint.ttx | 1152 + - ...ated.retain-gids.41,42,43,44,45,46,47,48,49.otf | Bin 2884 -> 0 bytes - ...ated.retain-gids.41,42,43,44,45,46,47,48,49.ttx | 712 + - ...ly_created.retain-gids.41,42,43,44,45,46,47.otf | Bin 2596 -> 0 bytes - ...ly_created.retain-gids.41,42,43,44,45,46,47.ttx | 677 + - ...ly_created.retain-gids.41,42,43,44,45,46,4D.otf | Bin 2636 -> 0 bytes - ...ly_created.retain-gids.41,42,43,44,45,46,4D.ttx | 701 + - ...ly_created.retain-gids.41,42,43,44,45,46,51.otf | Bin 2760 -> 0 bytes - ...ly_created.retain-gids.41,42,43,44,45,46,51.ttx | 734 + - ...ually_created.retain-gids.41,42,43,44,45,46.otf | Bin 2540 -> 0 bytes - ...ually_created.retain-gids.41,42,43,44,45,46.ttx | 663 + - ...gsub8_manually_created.retain-gids.41,42,43.otf | Bin 1984 -> 0 bytes - ...gsub8_manually_created.retain-gids.41,42,43.ttx | 605 + - .../gsub8_manually_created.retain-gids.41.otf | Bin 1872 -> 0 bytes - .../gsub8_manually_created.retain-gids.41.ttx | 579 + - .../gsub8_manually_created.retain-gids.61.otf | Bin 2276 -> 0 bytes - .../gsub8_manually_created.retain-gids.61.ttx | 748 + - ...ly_created.retain-gids.retain-all-codepoint.otf | Bin 3656 -> 0 bytes - ...ly_created.retain-gids.retain-all-codepoint.ttx | 1152 + - .../expected/layout.khmer/Khmer.default.1780.ttf | Bin 4204 -> 0 bytes - .../expected/layout.khmer/Khmer.default.1780.ttx | 2504 + - ...ult.1789,17BB,17C6,1794,17B6,1793,1798,17BE.ttf | Bin 6412 -> 0 bytes - ...ult.1789,17BB,17C6,1794,17B6,1793,1798,17BE.ttx | 3406 + - .../expected/layout.khmer/Khmer.default.31.ttf | Bin 4140 -> 0 bytes - .../expected/layout.khmer/Khmer.default.31.ttx | 2486 + - .../layout.khmer/Khmer.retain-gids.1780.ttf | Bin 4464 -> 0 bytes - .../layout.khmer/Khmer.retain-gids.1780.ttx | 2676 + - ...ids.1789,17BB,17C6,1794,17B6,1793,1798,17BE.ttf | Bin 7848 -> 0 bytes - ...ids.1789,17BB,17C6,1794,17B6,1793,1798,17BE.ttx | 4310 + - .../expected/layout.khmer/Khmer.retain-gids.31.ttf | Bin 4256 -> 0 bytes - .../expected/layout.khmer/Khmer.retain-gids.31.ttx | 2562 + - ...Bold.default.627,644,623,62D,644,627,645,2E.ttf | Bin 11396 -> 0 bytes - ...Bold.default.627,644,623,62D,644,627,645,2E.ttx | 4986 + - ...toNastaliqUrdu-Bold.default.627,644,62D,628.ttf | Bin 18248 -> 0 bytes - ...toNastaliqUrdu-Bold.default.627,644,62D,628.ttx | 9792 ++ - .../NotoNastaliqUrdu-Bold.default.627,644.ttf | Bin 3528 -> 0 bytes - .../NotoNastaliqUrdu-Bold.default.627,644.ttx | 1326 + - ...rdu-Bold.default.633,645,627,621,20,644,627.ttf | Bin 12368 -> 0 bytes - ...rdu-Bold.default.633,645,627,621,20,644,627.ttx | 5279 + - .../NotoNastaliqUrdu-Bold.default.63A,64A,631.ttf | Bin 20368 -> 0 bytes - .../NotoNastaliqUrdu-Bold.default.63A,64A,631.ttx | 10363 ++ - ....retain-gids.627,644,623,62D,644,627,645,2E.ttf | Bin 18232 -> 0 bytes - ....retain-gids.627,644,623,62D,644,627,645,2E.ttx | 9170 ++ - ...staliqUrdu-Bold.retain-gids.627,644,62D,628.ttf | Bin 24376 -> 0 bytes - ...staliqUrdu-Bold.retain-gids.627,644,62D,628.ttx | 13452 ++ - .../NotoNastaliqUrdu-Bold.retain-gids.627,644.ttf | Bin 9176 -> 0 bytes - .../NotoNastaliqUrdu-Bold.retain-gids.627,644.ttx | 5158 + - ...Bold.retain-gids.633,645,627,621,20,644,627.ttf | Bin 18172 -> 0 bytes - ...Bold.retain-gids.633,645,627,621,20,644,627.ttx | 8915 ++ - ...toNastaliqUrdu-Bold.retain-gids.63A,64A,631.ttf | Bin 26588 -> 0 bytes - ...toNastaliqUrdu-Bold.retain-gids.63A,64A,631.ttx | 14027 ++ - .../Roboto-Regular.smallcaps.default.41,42,43.ttf | Bin 2464 -> 0 bytes - .../Roboto-Regular.smallcaps.default.41,42,43.ttx | 1251 + - .../Roboto-Regular.smallcaps.default.41,43.ttf | Bin 2284 -> 0 bytes - .../Roboto-Regular.smallcaps.default.41,43.ttx | 1120 + - .../layout/Roboto-Regular.smallcaps.default.41.ttf | Bin 2084 -> 0 bytes - .../layout/Roboto-Regular.smallcaps.default.41.ttx | 1008 + - .../layout/Roboto-Regular.smallcaps.default.43.ttf | Bin 2116 -> 0 bytes - .../layout/Roboto-Regular.smallcaps.default.43.ttx | 1017 + - .../Roboto-Regular.smallcaps.default.CA,CB.ttf | Bin 2388 -> 0 bytes - .../Roboto-Regular.smallcaps.default.CA,CB.ttx | 1200 + - ...boto-Regular.smallcaps.retain-gids.41,42,43.ttf | Bin 2716 -> 0 bytes - ...boto-Regular.smallcaps.retain-gids.41,42,43.ttx | 1431 + - .../Roboto-Regular.smallcaps.retain-gids.41,43.ttf | Bin 2548 -> 0 bytes - .../Roboto-Regular.smallcaps.retain-gids.41,43.ttx | 1305 + - .../Roboto-Regular.smallcaps.retain-gids.41.ttf | Bin 2336 -> 0 bytes - .../Roboto-Regular.smallcaps.retain-gids.41.ttx | 1188 + - .../Roboto-Regular.smallcaps.retain-gids.43.ttf | Bin 2384 -> 0 bytes - .../Roboto-Regular.smallcaps.retain-gids.43.ttx | 1207 + - .../Roboto-Regular.smallcaps.retain-gids.CA,CB.ttf | Bin 6476 -> 0 bytes - .../Roboto-Regular.smallcaps.retain-gids.CA,CB.ttx | 4120 + - .../data/expected/sbix/sbix.default.58,59.ttf | Bin 193528 -> 0 bytes - .../data/expected/sbix/sbix.default.58,59.ttx | 12367 ++ - test/subset/data/expected/sbix/sbix.default.58.ttf | Bin 121168 -> 0 bytes - test/subset/data/expected/sbix/sbix.default.58.ttx | 7801 + - test/subset/data/expected/sbix/sbix.default.59.ttf | Bin 89364 -> 0 bytes - test/subset/data/expected/sbix/sbix.default.59.ttx | 5813 + - .../sbix/sbix.drop-hints-retain-gids.58,59.ttf | Bin 193528 -> 0 bytes - .../sbix/sbix.drop-hints-retain-gids.58,59.ttx | 12367 ++ - .../sbix/sbix.drop-hints-retain-gids.58.ttf | Bin 121168 -> 0 bytes - .../sbix/sbix.drop-hints-retain-gids.58.ttx | 7801 + - .../sbix/sbix.drop-hints-retain-gids.59.ttf | Bin 89404 -> 0 bytes - .../sbix/sbix.drop-hints-retain-gids.59.ttx | 5826 + - .../data/expected/sbix/sbix.drop-hints.58,59.ttf | Bin 193528 -> 0 bytes - .../data/expected/sbix/sbix.drop-hints.58,59.ttx | 12367 ++ - .../data/expected/sbix/sbix.drop-hints.58.ttf | Bin 121168 -> 0 bytes - .../data/expected/sbix/sbix.drop-hints.58.ttx | 7801 + - .../data/expected/sbix/sbix.drop-hints.59.ttf | Bin 89364 -> 0 bytes - .../data/expected/sbix/sbix.drop-hints.59.ttx | 5813 + - .../data/expected/sbix/sbix.retain-gids.58,59.ttf | Bin 193528 -> 0 bytes - .../data/expected/sbix/sbix.retain-gids.58,59.ttx | 12367 ++ - .../data/expected/sbix/sbix.retain-gids.58.ttf | Bin 121168 -> 0 bytes - .../data/expected/sbix/sbix.retain-gids.58.ttx | 7801 + - .../data/expected/sbix/sbix.retain-gids.59.ttf | Bin 89404 -> 0 bytes - .../data/expected/sbix/sbix.retain-gids.59.ttx | 5826 + - .../variable/Fraunces.default.26,66,69,124,125.ttf | Bin 15792 -> 0 bytes - .../variable/Fraunces.default.26,66,69,124,125.ttx | 6907 + - .../data/expected/variable/Fraunces.default.61.ttf | Bin 4228 -> 0 bytes - .../data/expected/variable/Fraunces.default.61.ttx | 1427 + - test/subset/generate-expected-outputs.py | 1 + - test/subset/run-tests.py | 24 +- - test/subset/subset_test_suite.py | 18 +- - 1945 files changed, 3999127 insertions(+), 21 deletions(-) - -commit 30579f5a37a7f0e044572e978660f050dc85559a -Author: Behdad Esfahbod -Date: Thu Jul 29 11:19:13 2021 -0600 - - [set] Document & use open-ended del_range() - - src/hb-ot-layout-common.hh | 2 +- - src/hb-ot-layout-gsubgpos.hh | 2 +- - src/hb-set.cc | 3 +++ - 3 files changed, 5 insertions(+), 2 deletions(-) - -commit 72489f3e0e41fd5a6b68afd1d0493a79a508e97c -Author: Khaled Hosny -Date: Thu Jul 29 18:20:03 2021 +0200 - - [test] Free memory in hb-aots-tester - - test/shaping/data/aots/hb-aots-tester.cpp | 108 ++++++++++++++++-------------- - 1 file changed, 56 insertions(+), 52 deletions(-) - -commit 895162d6f324590f79654575bf2b6126034a2042 -Author: Khaled Hosny -Date: Thu Jul 29 18:03:00 2021 +0200 - - [test] Account for mark zeroing in AOTS tests - - The AOTS are not written with the face that mark glyphs gets their - advances zeroed. Taking this into account makes 16 more tests to pass. - - test/shaping/data/aots/hb-aots-tester.cpp | 17 ++++++++++++----- - test/shaping/data/aots/tests/gpos4_lookupflag.tests | 4 ++-- - .../data/aots/tests/gpos4_multiple_anchors.tests | 2 +- - test/shaping/data/aots/tests/gpos4_simple.tests | 10 +++++----- - test/shaping/data/aots/tests/gpos5.tests | 4 ++-- - test/shaping/data/aots/tests/gpos6.tests | 6 +++--- - .../data/aots/tests/gpos_chaining1_lookupflag.tests | 2 +- - .../data/aots/tests/gpos_chaining2_lookupflag.tests | 2 +- - .../data/aots/tests/gpos_chaining3_lookupflag.tests | 2 +- - .../data/aots/tests/gpos_context1_lookupflag.tests | 4 ++-- - .../data/aots/tests/gpos_context2_lookupflag.tests | 4 ++-- - .../data/aots/tests/gpos_context3_lookupflag.tests | 4 ++-- - 12 files changed, 34 insertions(+), 27 deletions(-) - -commit e65bf60500d575d83d71bc94723c58a4765d59ba -Author: Khaled Hosny -Date: Thu Jul 29 17:36:09 2021 +0200 - - [test] make this test runner less verbose - - Print the command being called once and in a way the can be manually - run. - - test/shaping/run-tests.py | 6 +----- - 1 file changed, 1 insertion(+), 5 deletions(-) - -commit 2d54c34680fd22e195eb6bd9e87c25a94e9a4b8b -Author: Behdad Esfahbod -Date: Wed Jul 28 18:20:53 2021 -0600 - - [subset/VarStore] Fix OOM in fuzzer test - - The test in question is the one added in c68a00b92eb62fdc79f9a2bd1fc7a6acc24a3602. - Culprit is that it's allocating lots of memory because of region_indices that - are out-of-range anyway. So, try to filter those out first. - - src/hb-ot-layout-common.hh | 28 ++++++++++++++++++---------- - src/hb-set.hh | 2 +- - 2 files changed, 19 insertions(+), 11 deletions(-) - -commit ff1fe25a5dbd249b8939f3c851d096b8fb1e50b5 -Author: Behdad Esfahbod -Date: Wed Jul 28 18:02:52 2021 -0600 - - [VarStore] Rename internal get_scalars() to get_region_scalars() - - src/hb-cff2-interp-cs.hh | 4 ++-- - src/hb-ot-layout-common.hh | 25 +++++++++++++------------ - 2 files changed, 15 insertions(+), 14 deletions(-) - -commit d7541f7b55dc30cd0cbb68f9066b2fff5f60e754 -Author: Behdad Esfahbod -Date: Thu Jul 29 00:09:24 2021 -0600 - - [util/hb-shape] Free cached resources on termination - - util/options.cc | 33 +++++++++++++++------------------ - util/options.hh | 18 ++++++++++++++---- - 2 files changed, 29 insertions(+), 22 deletions(-) - -commit ad03f34df75bfff32f12787f4af3b972ee57fb19 -Author: Behdad Esfahbod -Date: Wed Jul 28 19:05:12 2021 -0600 - - [util/hb-shape] Cache blob/face in batch mode - - util/options.cc | 41 +++++++++++++++++++++++++++++++++++------ - util/options.hh | 7 ++++++- - 2 files changed, 41 insertions(+), 7 deletions(-) - -commit 9a7ff54bb7ce9cafb563f740e25df931868e12dd -Author: Khaled Hosny -Date: Thu Jul 29 01:52:55 2021 +0200 - - [test] Write one sequence per-line - - https://github.com/harfbuzz/harfbuzz/pull/3087#issuecomment-888691436 - - src/gen-emoji-table.py | 21 +- - .../data/in-house/tests/emoji-clusters.tests | 3327 +++++++++++++++++++- - 2 files changed, 3265 insertions(+), 83 deletions(-) - -commit ddf87ffb22d30d6b15083f1f6d5d4fe20417b538 -Author: Khaled Hosny -Date: Thu Jul 29 01:12:46 2021 +0200 - - [test] Add generated tests for emoji clusters - - Fixes https://github.com/harfbuzz/harfbuzz/issues/3017 - - Uses AdobeBlank2.ttf from: - - https://github.com/adobe-fonts/adobe-blank-2 - - instead of a dummy empty font so that everything maps to GID 1 and - control code points are kept instead of being dropped because there is - not space glyph (otherwise we’d need to identify control code points - somehow when generating the expectations). - - src/gen-emoji-table.py | 39 +++++++++++- - test/shaping/data/in-house/Makefile.sources | 1 + - test/shaping/data/in-house/fonts/AdobeBlank2.ttf | Bin 0 -> 2360 bytes - test/shaping/data/in-house/meson.build | 1 + - .../data/in-house/tests/emoji-clusters.tests | 66 +++++++++++++++++++++ - 5 files changed, 105 insertions(+), 2 deletions(-) - -commit f0a1892ff991581e787193fb81361d68a93933e7 -Author: Behdad Esfahbod -Date: Wed Jul 28 17:36:22 2021 -0600 - - [serialize] Remove unnecessary pointer indirection - - src/hb-open-file.hh | 4 ++-- - src/hb-open-type.hh | 12 ++++++------ - src/hb-ot-cff-common.hh | 6 +++--- - src/hb-ot-cff1-table.hh | 4 ++-- - src/hb-ot-cmap-table.hh | 6 +++--- - src/hb-ot-color-sbix-table.hh | 2 +- - src/hb-ot-hdmx-table.hh | 2 +- - src/hb-ot-layout-common.hh | 20 ++++++++++---------- - src/hb-ot-layout-gpos-table.hh | 4 ++-- - src/hb-ot-layout-gsub-table.hh | 14 +++++++------- - src/hb-ot-var-hvar-table.hh | 2 +- - 11 files changed, 38 insertions(+), 38 deletions(-) - -commit 1c511ed6f6c0f36ec2767b88e4c93682530cfd0d -Author: Behdad Esfahbod -Date: Wed Jul 28 17:33:26 2021 -0600 - - [subset] Simplify VarStore serialization - - src/hb-ot-layout-common.hh | 9 +++++---- - 1 file changed, 5 insertions(+), 4 deletions(-) - -commit ad4c6924926830316fb1593a60d0c4858d095052 -Author: Behdad Esfahbod -Date: Wed Jul 28 16:50:34 2021 -0600 - - [subset] Simplify VarStore serialize - - src/hb-ot-layout-common.hh | 25 +++++++++++++------------ - 1 file changed, 13 insertions(+), 12 deletions(-) - -commit 25dee6097741e9594d545ff764623c30289e5c58 -Author: Behdad Esfahbod -Date: Wed Jul 28 13:58:24 2021 -0600 - - [sanitize] Revert some from c68a00b92eb62fdc79f9a2bd1fc7a6acc24a3602 - - That overflow check was already happening in arrayZ.sanitize(). - - src/hb-ot-layout-common.hh | 4 +--- - 1 file changed, 1 insertion(+), 3 deletions(-) - -commit 6fe0d7d6e8be657a64eaf288fc4049e010669c89 -Author: Behdad Esfahbod -Date: Wed Jul 28 12:06:49 2021 -0600 - - [GSUB] If MultipleSubst is applied to a ligature-component, preserve lig-id - - Fixes https://github.com/harfbuzz/harfbuzz/issues/3069 - - src/hb-ot-layout-gsub-table.hh | 9 +++++++-- - .../fonts/b31e6c52a31edadc16f1bec9efe6019e2d59824a.ttf | Bin 0 -> 6812 bytes - test/shaping/data/in-house/tests/ligature-id.tests | 1 + - 3 files changed, 8 insertions(+), 2 deletions(-) - -commit b926fb9bb010e838282b9f735c3cb2e39340c708 -Author: Behdad Esfahbod -Date: Wed Jul 28 11:58:10 2021 -0600 - - Whitespace - - src/hb-ot-layout-gsub-table.hh | 1 - - 1 file changed, 1 deletion(-) - -commit cc3a7ceea3322080d0607b4af7d0fa2b2f0e6c0e -Author: Behdad Esfahbod -Date: Wed Jul 28 11:53:06 2021 -0600 - - Fix macro-in-macro invocation - - ../src/hb-ot-color-colr-table.hh:980:2: error: embedding a directive within macro arguments has undefined behavior [-Werror,-Wembedded-directive] - \#if COLRV1_ENABLE_SUBSETTING == 1 - - src/hb-ot-color-colr-table.hh | 13 +++++-------- - 1 file changed, 5 insertions(+), 8 deletions(-) - -commit 087e2705de1ea5195eb77e144ef9196058d1ee7d -Author: Behdad Esfahbod -Date: Wed Jul 28 11:42:31 2021 -0600 - - Fix signed-ness error in 0ded6a70c829284a8220ce30a405b0a974061df4 - - src/hb-serialize.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit f3e031539f72d67e9bcfad96b28798367a79f1ec -Author: Garret Rieger -Date: Tue Jul 27 14:40:15 2021 -0700 - - Revert "[ci] Bin FontTools version due to recent COLRv1 changes" - - This reverts commit 163748b5059e7b02a8ea57e263b009020a3ed499. - - .circleci/config.yml | 4 ++-- - .github/workflows/linux-ci.yml | 2 +- - .github/workflows/macos-ci.yml | 2 +- - .github/workflows/msvc-ci.yml | 2 +- - .github/workflows/msys2-ci.yml | 2 +- - src/hb-ot-color-colr-table.hh | 13 +++++-------- - 6 files changed, 11 insertions(+), 14 deletions(-) - -commit acbd8b27dce3ee369f7d6022eb8bcddfd2fb666c -Author: Garret Rieger -Date: Tue Jul 27 14:31:18 2021 -0700 - - [subset] temporarily disable COLRv1 subsetting. - - Currently COLRv1 spec is being changed so the subsetting implementation is out of sync. Disable subsetting by failing sanitization for COLRv1 tables and disable all colrv1 tests. - - src/hb-ot-color-colr-table.hh | 15 +++++++++++++-- - test/subset/data/Makefile.am | 1 + - test/subset/data/Makefile.sources | 6 +++++- - test/subset/meson.build | 4 +++- - 4 files changed, 22 insertions(+), 4 deletions(-) - -commit 5dae8297bbb868e57557a22bd9c56514bb8dd00d -Author: Behdad Esfahbod -Date: Wed Jul 28 11:35:40 2021 -0600 - - [util] Minor followup to https://github.com/harfbuzz/harfbuzz/pull/3083 - - util/options.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 0ded6a70c829284a8220ce30a405b0a974061df4 -Author: Behdad Esfahbod -Date: Wed Jul 28 11:28:38 2021 -0600 - - [subset] Fix another fuzzer issue - - Addition could overflow on 32bit arch. - - Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=36636 - Fixes https://oss-fuzz.com/testcase-detail/5072358514753536 - - src/hb-serialize.hh | 5 +++-- - ...testcase-minimized-hb-subset-fuzzer-5072358514753536 | Bin 0 -> 55875 bytes - 2 files changed, 3 insertions(+), 2 deletions(-) - -commit c65e1e0842affc66149cf459e610159f7b7f3992 -Author: Khaled Hosny -Date: Wed Jul 28 17:04:10 2021 +0200 - - [test] Run AOTS cmap tests with ot font functions only - - We are not interested in testing FreeType cmap support. - - Fixes most format 4 tests. The remaining test seems to be peculiar, and - I can’t find any cmap implementation that produces the expected output. - - test/shaping/data/aots/hb-aots-tester.cpp | 2 +- - test/shaping/data/aots/tests/cmap0.tests | 2 +- - test/shaping/data/aots/tests/cmap10.tests | 4 ++-- - test/shaping/data/aots/tests/cmap12.tests | 2 +- - test/shaping/data/aots/tests/cmap2.tests | 2 +- - test/shaping/data/aots/tests/cmap4.tests | 12 ++++++------ - test/shaping/data/aots/tests/cmap6.tests | 4 ++-- - test/shaping/data/aots/tests/cmap8.tests | 2 +- - 8 files changed, 15 insertions(+), 15 deletions(-) - -commit 8396c523b6715893c67163c947521c9b1408f594 -Author: Khaled Hosny -Date: Wed Jul 28 16:29:43 2021 +0200 - - [test] Add AOTS cmap tests - - Uses https://github.com/adobe-type-tools/aots/pull/3 - - Related to https://github.com/unicode-org/text-rendering-tests/issues/70 - - We don’t support format 4 or 8, so these tests are disabled. We support - format 4 but most of the tests are failing, investigating. - - test/shaping/data/aots/Makefile.sources | 7 +++ - test/shaping/data/aots/hb-aots-tester.cpp | 82 +++++++++++++++++++++++++++++++ - test/shaping/data/aots/meson.build | 7 +++ - test/shaping/data/aots/tests/cmap0.tests | 1 + - test/shaping/data/aots/tests/cmap10.tests | 2 + - test/shaping/data/aots/tests/cmap12.tests | 1 + - test/shaping/data/aots/tests/cmap2.tests | 1 + - test/shaping/data/aots/tests/cmap4.tests | 6 +++ - test/shaping/data/aots/tests/cmap6.tests | 2 + - test/shaping/data/aots/tests/cmap8.tests | 1 + - 10 files changed, 110 insertions(+) - -commit 50379fbb1517387d91b3ec4cc55a7500dd09b436 -Author: Khaled Hosny -Date: Wed Jul 28 16:13:49 2021 +0200 - - [util] Don’t split text at new lines in batch mode - - In batch mode (which is used for testing) we are probably not interested - in splitting text into lines as we could have split the string into - different tests. This fixes a bunch of AOTS tests that use newlines as - input. - - test/shaping/data/aots/tests/lookupflag_ignore_attach.tests | 10 +++++----- - util/hb-shape.cc | 2 +- - util/main-font-text.hh | 4 ++-- - util/options.cc | 6 +++--- - util/options.hh | 2 +- - 5 files changed, 12 insertions(+), 12 deletions(-) - -commit 92b85749f2b284a370fff3905c0a554bbbc7b323 -Author: Khaled Hosny -Date: Wed Jul 28 15:56:53 2021 +0200 - - [util] Strip quotes when parsing features - - When running in batch mode, the quotes are not stripped by the shell and - end up in the feature string. This breaks one of the AOTS tests. - - Alternatively, we can remove the quotes from the test files, not sure - which is less hacky, though! - - test/shaping/data/aots/tests/gsub3_1_simple.tests | 2 +- - util/options.cc | 8 ++++++++ - 2 files changed, 9 insertions(+), 1 deletion(-) - -commit ad9559e3e23ab32c27dc62374f040330e25f24eb -Author: Khaled Hosny -Date: Wed Jul 28 14:35:23 2021 +0200 - - [tests] Make AOTS update.py work on macOS - - Use C++ compiler and make sure C++11 is used. - - test/shaping/data/aots/update.py | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit d84efca312b2a10dc1c7b5444bc802c2d1b19e17 -Author: Khaled Hosny -Date: Wed Jul 28 13:17:41 2021 +0200 - - [tests] Add missed test file to Makefile/meson - - It was introduced in 205737acdc268b1c90cf00bde2d2038519a8bf48 but was - not actually used. - - See https://github.com/harfbuzz/harfbuzz/issues/2098 - - test/shaping/data/in-house/Makefile.sources | 1 + - test/shaping/data/in-house/meson.build | 1 + - 2 files changed, 2 insertions(+) - -commit 09474d8d7b051b1465582828c8ec5afcccb6c3c6 -Author: Garret Rieger -Date: Tue Jun 29 16:07:14 2021 -0700 - - [subset] Fix fuzzer timeout in add_gid_and_children. - - The composite glyph graph isn't check for max operations by sanitize so track an operations count during the graph traversal. - - src/hb-ot-glyf-table.hh | 22 +++++++++++++++------ - ...ase-minimized-hb-subset-fuzzer-5991762219892736 | Bin 0 -> 80599 bytes - 2 files changed, 16 insertions(+), 6 deletions(-) - -commit c68a00b92eb62fdc79f9a2bd1fc7a6acc24a3602 -Author: Behdad Esfahbod -Date: Tue Jul 27 13:25:22 2021 -0600 - - [subset] Fix possible overflows in VarRegionList serialize - - Fixes https://oss-fuzz.com/testcase-detail/5362189182566400 - - src/harfbuzz.cc | 1 + - src/hb-ot-layout-common.hh | 7 +++++-- - ...testcase-minimized-hb-subset-fuzzer-5362189182566400 | Bin 0 -> 85171 bytes - 3 files changed, 6 insertions(+), 2 deletions(-) - -commit 7b8464b655b190c16bba33cefdd58acb03d32ddf -Author: Behdad Esfahbod -Date: Tue Jul 27 13:15:07 2021 -0600 - - [serialize] Check for overflow in allocate_size() - - If size was > INT_MAX, then the out-of-room check was failing to perform - as intended. - - Part of fixing https://oss-fuzz.com/testcase-detail/5362189182566400 - - src/hb-serialize.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit bf2c87bfe6b3826d187dfee2ca894b5a39f6d17e -Author: Behdad Esfahbod -Date: Tue Jul 27 13:10:41 2021 -0600 - - Add hb_memcpy() that does len=0 check - - src/hb-algs.hh | 8 ++++++++ - src/hb-set.hh | 8 ++------ - 2 files changed, 10 insertions(+), 6 deletions(-) - -commit 5f801da945025d66204c61fc11a2ff7fd55e3666 -Author: Khaled Hosny -Date: Tue Jul 27 20:54:19 2021 +0200 - - [hb-ms-features] Move code out of header file - - src/Makefile.sources | 2 + - src/hb-ms-feature-ranges.cc | 177 ++++++++++++++++++++++++++++++++++++++++++++ - src/hb-ms-feature-ranges.hh | 140 +---------------------------------- - src/meson.build | 2 + - 4 files changed, 185 insertions(+), 136 deletions(-) - -commit 990c15dbe5dfaf35de02089832938a4821369074 -Author: Khaled Hosny -Date: Tue Jul 27 20:43:53 2021 +0200 - - [hb-ms-features] Rename types to be less general - - src/hb-directwrite.cc | 2 +- - src/hb-ms-feature-ranges.hh | 79 ++++++++++++++++++++++----------------------- - src/hb-uniscribe.cc | 2 +- - 3 files changed, 41 insertions(+), 42 deletions(-) - -commit 69199211b7a9b7d7ea0a603ec9d8c25a48f1fcd5 -Author: Khaled Hosny -Date: Tue Jul 27 19:51:23 2021 +0200 - - [uniscribe/directwrite] Move feature setup to shared file - - Fixes https://github.com/harfbuzz/harfbuzz/issues/3070 - - src/hb-directwrite.cc | 236 +++++++++----------------------------------- - src/hb-ms-feature-ranges.hh | 229 ++++++++++++++++++++++++++++++++++++++++++ - src/hb-uniscribe.cc | 213 ++++++--------------------------------- - 3 files changed, 308 insertions(+), 370 deletions(-) - -commit fc7f77812068840fd6d6edc8c0647baf52f65d07 -Author: Garret Rieger -Date: Tue Jul 27 12:21:19 2021 -0600 - - [subset] add a note to hb-subset on what is and isn't supported (#3076) - - src/hb-subset.cc | 9 +++++++++ - 1 file changed, 9 insertions(+) - -commit 3e4f006fe24186182b12ec04776aedbc0f6659b3 -Merge: 163748b50 791a1bf3a -Author: Behdad Esfahbod -Date: Tue Jul 27 09:28:47 2021 -0600 - - Merge pull request #3079 from harfbuzz/windows-getenv - - Don’t disable getenv on Windows - -commit 791a1bf3a4e356d9ea0222e3ed6bc6b56011c64d -Author: Khaled Hosny -Date: Tue Jul 27 15:22:13 2021 +0200 - - Don’t disable getenv on Windows - - The condition is inverted, regression from - 40ec187dec07e97ed4004b9831e7be844e6e7948. - - src/hb.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 163748b5059e7b02a8ea57e263b009020a3ed499 -Author: Khaled Hosny -Date: Mon Jul 26 23:03:16 2021 +0200 - - [ci] Bin FontTools version due to recent COLRv1 changes - - Should be reverted once HarfBuzz updated to match FontTools. - - .circleci/config.yml | 4 ++-- - .github/workflows/linux-ci.yml | 2 +- - .github/workflows/macos-ci.yml | 2 +- - .github/workflows/msvc-ci.yml | 2 +- - .github/workflows/msys2-ci.yml | 2 +- - 5 files changed, 6 insertions(+), 6 deletions(-) - -commit 4762fcb415c8070dbbfbb04ff0cf2c55385c812d -Merge: aeec27845 71b5509c1 -Author: Behdad Esfahbod -Date: Mon Jul 26 11:48:55 2021 -0700 - - Merge pull request #3067 from googlefonts/glyph_names - - [subset] support option --glyph-names - -commit aeec278453c1d529003f276867f56b4e205b6e2e -Merge: 404b91b93 a9a607d36 -Author: Behdad Esfahbod -Date: Mon Jul 26 11:31:54 2021 -0700 - - Merge pull request #3068 from harfbuzz/hoi - - [variations] Support multiple axes with same tag, aka HOI - -commit 404b91b93d4dd333992b021e416b4a0c27f997d6 -Merge: c2d58c974 ec99fdb7e -Author: Behdad Esfahbod -Date: Mon Jul 26 11:07:55 2021 -0700 - - Merge pull request #3071 from harfbuzz/subset-flags - - [sebset] Use [s|g]et_flag for retain_all_layout_features - -commit ec99fdb7e83ebc70993385a9b852cc05bf4693bf -Author: Khaled Hosny -Date: Mon Jul 26 01:35:13 2021 +0200 - - [sebset] Use [s|g]et_flag for retain_all_layout_features - - Looks like this was missed when adding hb_subset_input_[s|g]et_flag() - - docs/harfbuzz-sections.txt | 2 -- - src/hb-subset-input.cc | 19 +++++-------------- - src/hb-subset.h | 11 +++++------ - 3 files changed, 10 insertions(+), 22 deletions(-) - -commit c2d58c9747794a91c4d1e9d71426039e8b16be0b -Merge: b235511ed acc7100a3 -Author: Behdad Esfahbod -Date: Mon Jul 26 00:08:34 2021 -0700 - - Merge pull request #3072 from harfbuzz/subset-docs - - [docs] Improve subset documentation - -commit acc7100a3f37fd72cfcd5953cf9446b04ef387b6 -Author: Khaled Hosny -Date: Mon Jul 26 02:13:49 2021 +0200 - - [docs] Improve subset documentation - - docs/harfbuzz-sections.txt | 1 + - src/hb-subset-input.cc | 58 +++++++++++++++++++++++++++++++++++----------- - src/hb-subset-plan.cc | 9 +++++-- - src/hb-subset.h | 4 ++-- - 4 files changed, 54 insertions(+), 18 deletions(-) - -commit 3e2734cf9131dc075ac120209c803d55720672b3 -Author: Khaled Hosny -Date: Mon Jul 26 02:12:21 2021 +0200 - - [docs] Don’t use GTK-Doc syntax for internal functions - - We don’t generate docs for them, reduces the number of warnings. - - src/hb-subset-cff-common.cc | 12 ++++-------- - src/hb-subset-cff1.cc | 6 ------ - src/hb-subset-cff2.cc | 4 ---- - 3 files changed, 4 insertions(+), 18 deletions(-) - -commit 71b5509c195546b38c27a4efa69f80c175da4d3a -Author: Qunxin Liu -Date: Tue Jul 20 20:05:35 2021 -0700 - - [subset] support option --glyph-names - - src/Makefile.sources | 1 + - src/hb-ot-post-table-v2subset.hh | 114 +++++++++++++++++++++ - src/hb-ot-post-table.hh | 25 ++++- - src/hb-subset-input.cc | 6 ++ - src/hb-subset-input.hh | 1 + - src/hb-subset-plan.cc | 1 + - src/hb-subset-plan.hh | 1 + - src/hb-subset.cc | 1 + - src/hb-subset.h | 3 + - .../Comfortaa-Regular-new.glyph-names.61,62,63.ttf | Bin 0 -> 7072 bytes - .../Comfortaa-Regular-new.glyph-names.61,63.ttf | Bin 0 -> 6700 bytes - .../Comfortaa-Regular-new.glyph-names.61.ttf | Bin 0 -> 6336 bytes - .../Comfortaa-Regular-new.glyph-names.62.ttf | Bin 0 -> 6208 bytes - .../Comfortaa-Regular-new.glyph-names.63.ttf | Bin 0 -> 6264 bytes - ...egular-new.glyph-names.retain-all-codepoint.ttf | Bin 0 -> 227920 bytes - ...yeongjo-Regular-subset.glyph-names.61,62,63.ttf | Bin 0 -> 4128 bytes - ...umMyeongjo-Regular-subset.glyph-names.61,63.ttf | Bin 0 -> 3580 bytes - ...NanumMyeongjo-Regular-subset.glyph-names.61.ttf | Bin 0 -> 3156 bytes - ...NanumMyeongjo-Regular-subset.glyph-names.62.ttf | Bin 0 -> 3180 bytes - ...NanumMyeongjo-Regular-subset.glyph-names.63.ttf | Bin 0 -> 3048 bytes - ...lar-subset.glyph-names.retain-all-codepoint.ttf | Bin 0 -> 9524 bytes - .../Roboto-Regular.abc.glyph-names.61,62,63.ttf | Bin 0 -> 2452 bytes - .../Roboto-Regular.abc.glyph-names.61,63.ttf | Bin 0 -> 2260 bytes - .../basics/Roboto-Regular.abc.glyph-names.61.ttf | Bin 0 -> 2048 bytes - .../basics/Roboto-Regular.abc.glyph-names.62.ttf | Bin 0 -> 1916 bytes - .../basics/Roboto-Regular.abc.glyph-names.63.ttf | Bin 0 -> 1972 bytes - ...egular.abc.glyph-names.retain-all-codepoint.ttf | Bin 0 -> 2452 bytes - test/subset/data/profiles/glyph-names.txt | 1 + - test/subset/data/tests/basics.tests | 1 + - util/options-subset.cc | 1 + - 30 files changed, 152 insertions(+), 4 deletions(-) - -commit b235511ed88e46d97d27a9176da1931f4a701b0d -Merge: 0a44feaed 1fde80ad2 -Author: Behdad Esfahbod -Date: Fri Jul 23 12:15:15 2021 -0700 - - Merge pull request #3021 from googlefonts/stable_api - - [subset] update hb_subset api with final changes before going stable. - -commit a9a607d360c491104517bffdb81701c99252cfe4 -Author: Behdad Esfahbod -Date: Thu Jul 22 16:49:56 2021 -0700 - - [variations] Support multiple axes with same tag, aka HOI - - The axes in fvar are in arbitrary order, NOT sorted. Hence have to - lsearch all entries. - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1673 - Fixes https://github.com/harfbuzz/harfbuzz/issues/2743 - - Test from https://github.com/ctrlcctrlv/FontForge-Higher-Order-Interpolation - - src/hb-font.cc | 21 ++++++++------- - src/hb-ot-var-fvar-table.hh | 29 +++------------------ - test/shaping/data/in-house/Makefile.sources | 3 +-- - .../e8691822f6a705e3e9fb48a0405c645b1a036590.ttf | Bin 0 -> 2192 bytes - test/shaping/data/in-house/meson.build | 3 +-- - .../data/in-house/tests/variations-rounding.tests | 2 -- - .../data/in-house/tests/variations-space.tests | 2 -- - test/shaping/data/in-house/tests/variations.tests | 5 ++++ - 8 files changed, 21 insertions(+), 44 deletions(-) - -commit 1fde80ad282affc5d6cb54cd38915a803eeb70cb -Author: Garret Rieger -Date: Thu Jul 22 16:45:48 2021 -0700 - - [subset] update comments referencing hb_subset_input_t parameter. - - src/hb-subset-input.cc | 26 +++++++++++++------------- - 1 file changed, 13 insertions(+), 13 deletions(-) - -commit c581d11eba0885d3e286d58cf648fec52caf6cd4 -Author: Garret Rieger -Date: Thu Jul 22 14:04:39 2021 -0700 - - [set] in hb_set_set() avoid calling memcpy on nullptr. - - src/hb-set.hh | 5 +++++ - 1 file changed, 5 insertions(+) - -commit 2b9cb29923ab1face19a84a03459dabe2d47fb67 -Author: Garret Rieger -Date: Thu Jul 22 13:26:03 2021 -0700 - - [subset] cleanup no_subset_tables on destruction. - - src/hb-subset-input.cc | 1 + - src/hb-subset-plan.cc | 1 + - 2 files changed, 2 insertions(+) - -commit 89fc399eba5c7adf61c67be60cf5e81cfb21bbdc -Author: Garret Rieger -Date: Thu Jul 22 13:00:34 2021 -0700 - - [subset] Add hb-subset section documentation. - - src/hb-subset.cc | 11 +++++++++++ - src/hb-subset.h | 4 ---- - 2 files changed, 11 insertions(+), 4 deletions(-) - -commit 792e2ed61c14ba850e7ffcedbddc107947394014 -Author: Garret Rieger -Date: Thu Jul 22 12:41:48 2021 -0700 - - [subset] convert no get/set prune unicode ranges to enum. - - src/hb-subset-input.cc | 45 ++++++--------------------------------------- - src/hb-subset.h | 26 +++----------------------- - 2 files changed, 9 insertions(+), 62 deletions(-) - -commit 0a44feaedaf211a47d93765014106495d161af3f -Author: Behdad Esfahbod -Date: Thu Jul 22 12:18:48 2021 -0700 - - [fvar] Make find_axis_index() return a range, not individual value - - src/hb-ot-var-fvar-table.hh | 24 ++++++++++++++++++++---- - 1 file changed, 20 insertions(+), 4 deletions(-) - -commit 1b6c1aa684df072a4212f9d350c78d9592f93413 -Author: Garret Rieger -Date: Mon Jun 28 12:57:39 2021 -0700 - - [subset] add hb-subset api to documentation generator. - - Standardize subset_input parameter to be input. - - docs/harfbuzz-docs.xml | 8 ++++- - docs/harfbuzz-sections.txt | 22 ++++++++++++ - src/hb-subset-input.cc | 84 +++++++++++++++++++++++----------------------- - src/hb-subset-plan.cc | 3 ++ - src/hb-subset.h | 22 ++++++------ - 5 files changed, 85 insertions(+), 54 deletions(-) - -commit 8ce968341285be9dd5bf10a6bd5cf316995248cd -Author: Garret Rieger -Date: Wed Jun 23 13:55:11 2021 -0700 - - [subset] add documentation for all hb-subset.h methods. - - src/hb-subset-input.cc | 71 +++++++++++++++++++++++++++++++++++++++++++++++--- - src/hb-subset.h | 59 ++++++++++++++++++++++------------------- - 2 files changed, 100 insertions(+), 30 deletions(-) - -commit 9ab751ac9ff139a7a1c286674f5560af386a7d23 -Author: Garret Rieger -Date: Wed Jun 23 13:38:47 2021 -0700 - - [subset] Remove hb_subset(). Leaving just hb_subset_or_fail(). - - src/hb-subset.cc | 15 --------------- - src/hb-subset.h | 22 +++++++++++----------- - test/api/hb-subset-test.h | 2 +- - test/api/test-subset-drop-tables.c | 3 ++- - test/api/test-subset-glyf.c | 7 +++---- - test/api/test-subset-hdmx.c | 5 ++--- - test/api/test-subset-hmtx.c | 5 ++--- - test/api/test-subset.c | 12 +++++------- - test/fuzzing/hb-subset-fuzzer.cc | 3 ++- - 9 files changed, 28 insertions(+), 46 deletions(-) - -commit e5c887fc0fc5263c4c84b32c327f1334b3b0dffc -Author: Garret Rieger -Date: Wed Jun 23 13:19:25 2021 -0700 - - [subset] add documentation for subset input flag enums. - - src/hb-subset.h | 20 ++++++++++++++++++++ - 1 file changed, 20 insertions(+) - -commit 372722ceee3bb4d30df9edd78c5899dbd6bbd66c -Author: Garret Rieger -Date: Wed Jun 23 13:10:03 2021 -0700 - - [subset] move notdef_outline to the subset input property enum. - - src/hb-subset-input.cc | 6 +++++- - src/hb-subset.h | 1 + - 2 files changed, 6 insertions(+), 1 deletion(-) - -commit a6c6cda48608e988a7debc3c18597186e3b4e2ee -Author: Garret Rieger -Date: Wed Jun 9 17:46:47 2021 -0700 - - [subset] Add no subset tables and passthrough unrecognized tables to the subset api. - - Matches fontTools options. - - src/hb-subset-input.cc | 29 ++++++++++++++++++++++++++++- - src/hb-subset-input.hh | 3 +++ - src/hb-subset-plan.cc | 2 ++ - src/hb-subset-plan.hh | 4 ++++ - src/hb-subset.cc | 22 ++++++++++++++++++---- - src/hb-subset.h | 15 +++++++++------ - 6 files changed, 64 insertions(+), 11 deletions(-) - -commit 668f2bd93e3ea72e43e57ce10981d300f39a1967 -Author: Garret Rieger -Date: Wed Jun 9 16:33:50 2021 -0700 - - [subset] Add hb_subset_or_fail () to public subset api. - - src/hb-subset.cc | 22 ++++++++++++++++++++-- - src/hb-subset.h | 3 +++ - util/hb-subset.cc | 10 ++++++---- - 3 files changed, 29 insertions(+), 6 deletions(-) - -commit aba2e13141c133091197adfcb1579de0a965a59d -Author: Garret Rieger -Date: Wed Jun 9 16:23:35 2021 -0700 - - [subset] Remove hb_subset_input_get/set_overlaps_flag (). - - src/hb-subset.h | 1 - - test/api/test-subset-glyf.c | 2 +- - 2 files changed, 1 insertion(+), 2 deletions(-) - -commit 7d82191f61f79aba910d37aff74d45f4ca0d48e9 -Author: Garret Rieger -Date: Wed Jun 9 16:20:55 2021 -0700 - - [subset] Remove hb_subset_input_get/set_name_legacy (). - - src/hb-subset-input.cc | 13 ------------- - src/hb-subset.h | 6 ------ - test/api/hb-subset-test.h | 2 +- - 3 files changed, 1 insertion(+), 20 deletions(-) - -commit 942636ae1300e56dfe599b5f961719f044bdf828 -Author: Garret Rieger -Date: Wed Jun 9 16:18:39 2021 -0700 - - [subset] Remove hb_subset_input_get/set_retain_gids. - - src/hb-subset-input.cc | 24 ------------------------ - src/hb-subset.h | 7 ------- - test/api/test-subset-cff1.c | 4 ++-- - test/api/test-subset-cff2.c | 2 +- - test/api/test-subset-glyf.c | 4 ++-- - test/api/test-subset-gvar.c | 2 +- - test/api/test-subset-hvar.c | 4 ++-- - test/api/test-subset-vvar.c | 2 +- - test/fuzzing/hb-subset-fuzzer.cc | 2 +- - 9 files changed, 10 insertions(+), 41 deletions(-) - -commit 77b4a1cd9634aafb6353b7d5e451d1f5a06e929b -Author: Garret Rieger -Date: Wed Jun 9 14:11:17 2021 -0700 - - [subset] Remove hb_subset_input_get/set_desubroutinize. - - src/hb-subset-input.cc | 13 ------------- - src/hb-subset.h | 6 ------ - test/api/test-subset-cff1.c | 8 ++++---- - test/api/test-subset-cff2.c | 4 ++-- - 4 files changed, 6 insertions(+), 25 deletions(-) - -commit 8bf5d4d4f787600e5e290bb8d59ee13f3a0d2515 -Author: Garret Rieger -Date: Wed Jun 9 14:05:17 2021 -0700 - - [subset] Remove hb_subset_input_get/set_drop_hints. - - src/hb-subset-input.cc | 13 ------------- - src/hb-subset-plan.cc | 2 +- - src/hb-subset.h | 6 +----- - test/api/test-subset-cff1.c | 10 +++++----- - test/api/test-subset-cff2.c | 4 ++-- - test/api/test-subset-glyf.c | 6 +++--- - test/fuzzing/hb-subset-fuzzer.cc | 2 +- - 7 files changed, 13 insertions(+), 30 deletions(-) - -commit 9fb3a2563333a0af1b67b2519f50cbc8278a8244 -Author: Garret Rieger -Date: Wed Jun 9 13:46:35 2021 -0700 - - [subset] Use hb_set_copy in subset input. - - src/hb-subset-plan.cc | 65 +++++++++++++++++++++++---------------------------- - 1 file changed, 29 insertions(+), 36 deletions(-) - -commit 38de3491a08633175d7e40d9acabd48d813f755a -Author: Garret Rieger -Date: Wed Jun 9 12:54:14 2021 -0700 - - [subset] add implementation for get/set flag on subset input. - - src/hb-subset-input.cc | 61 +++++++++++++++++++++++++++++++++++++++----------- - src/hb-subset.h | 35 ++++++++++++++++------------- - 2 files changed, 67 insertions(+), 29 deletions(-) - -commit 83727837ef8818eec7c7c840117e7752c4bb487e -Author: Garret Rieger -Date: Wed Jun 9 11:09:14 2021 -0700 - - [subset] add proposed enum property get/set method. - - src/hb-subset-input.cc | 15 +++++++++++++++ - src/hb-subset.h | 18 ++++++++++++++++++ - 2 files changed, 33 insertions(+) - -commit b38e49dcfa8c8cf11b4586ce93784ce7523b5f48 -Author: Garret Rieger -Date: Wed Jun 9 10:57:58 2021 -0700 - - [subset] add get/set user data methods to subset input. - - src/hb-subset-input.cc | 42 ++++++++++++++++++++++++++++++++++++++++++ - src/hb-subset.h | 10 ++++++++++ - 2 files changed, 52 insertions(+) - -commit edb57a8d9af6513c8d4ed5799bd208e4b9d68927 -Author: Garret Rieger -Date: Wed Jun 9 10:42:48 2021 -0700 - - Make subset input const in the subsetting operation. Don't modify the subset input's sets. - - src/hb-subset-plan.cc | 19 +++++++++++++------ - src/hb-subset-plan.hh | 2 +- - src/hb-subset.cc | 2 +- - src/hb-subset.h | 2 +- - 4 files changed, 16 insertions(+), 9 deletions(-) - -commit 233c29b3024469fed9ea68018e9a072a036884af -Author: Behdad Esfahbod -Date: Thu Jul 22 12:00:24 2021 -0700 - - [font] Call fvar.find_axis_index instead of find_axis_info in set_variations() - - src/hb-font.cc | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -commit 89018068cd4e247d556d42a501a7ffa8e6c9ef52 -Author: Behdad Esfahbod -Date: Thu Jul 22 11:59:23 2021 -0700 - - [fvar] Centralize axis finding logic - - Part of fixing https://github.com/harfbuzz/harfbuzz/issues/1673 - - src/hb-ot-var-fvar-table.hh | 13 ++++++++++--- - 1 file changed, 10 insertions(+), 3 deletions(-) - -commit 0b2280af909cb57570a28602922c7d5787ae42c7 -Author: Behdad Esfahbod -Date: Thu Jul 22 11:53:32 2021 -0700 - - [font] Call fvar table directly, instead of calling public get_axis_info - - To lighten it up in next commit. - - src/hb-font.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit b86a45ca55d0ce230965f9db507939f55e5145dd -Author: Behdad Esfahbod -Date: Thu Jul 22 11:46:44 2021 -0700 - - [fvar] Add TODO - - Fixing https://github.com/harfbuzz/harfbuzz/issues/1673 - - src/hb-ot-var-fvar-table.hh | 1 + - 1 file changed, 1 insertion(+) - -commit ba6db26b65c6ce00755def84691e117249b857ff -Author: Behdad Esfahbod -Date: Thu Jul 22 11:37:39 2021 -0700 - - Tolerate unsorted OT table entries for small number of entries - - See comment. - - Fixes https://github.com/harfbuzz/harfbuzz/issues/3065 - - src/hb-open-file.hh | 8 +++++++- - 1 file changed, 7 insertions(+), 1 deletion(-) - -commit 03cd9c5cbab9c70c091d4bc5d634fd67469f0658 -Author: Behdad Esfahbod -Date: Thu Jul 22 11:27:33 2021 -0700 - - Align lfind() API to match bfind() - - src/hb-array.hh | 43 +++++++++++++++++++++++++++++++------------ - src/hb-open-file.hh | 2 +- - src/hb-open-type.hh | 16 ++++++++++------ - src/hb-ot-layout-common.hh | 4 ++-- - src/hb-set.hh | 6 +++--- - src/hb-vector.hh | 2 +- - 6 files changed, 48 insertions(+), 25 deletions(-) - -commit f54f5c1b16b920464557ff29049b07668b12dad7 -Author: Behdad Esfahbod -Date: Thu Jul 22 11:09:02 2021 -0700 - - Fix debug printer of bool - - src/hb-debug.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 6269866bddd789be354d189ce31ad444b479a772 -Author: Garret Rieger -Date: Fri Jul 16 14:06:55 2021 -0700 - - [subset] Keep bimap consistent if only one of the internal maps is in error. - - src/hb-bimap.hh | 5 +++++ - src/hb-ot-layout-common.hh | 3 ++- - 2 files changed, 7 insertions(+), 1 deletion(-) - -commit 48edbef96f41a1ace04232af72bb2d55003614d9 -Author: Garret Rieger -Date: Tue Jun 29 13:14:26 2021 -0700 - - [subset] bail if region_map is in error. - - Fixes fuzzer case https://oss-fuzz.com/testcase-detail/5499162606043136. - - src/hb-ot-layout-common.hh | 1 + - 1 file changed, 1 insertion(+) - -commit 79e8b306090ebadafa0fd53242ffcfbc74c94ab6 -Author: Behdad Esfahbod -Date: Fri Jul 16 15:06:10 2021 -0600 - - [ot-shape] Fix application of kern table if GPOS kern is missing - - Was broken sometime after we implemented kerx and tweaking it. - - Fixes https://github.com/harfbuzz/harfbuzz/issues/3043 - - src/hb-ot-shape.cc | 9 ++++++--- - src/hb-ot-shape.hh | 1 + - test/shaping/data/in-house/Makefile.sources | 1 + - .../fonts/b121d4306b2e3add5abbaad21d95fcf04aacbd64.ttf | Bin 0 -> 1308 bytes - test/shaping/data/in-house/meson.build | 1 + - test/shaping/data/in-house/tests/tt-kern-gpos.tests | 1 + - 6 files changed, 10 insertions(+), 3 deletions(-) - -commit 1060b04938d6d744b4441414f3061613047cff92 -Merge: deee24fbe 9aa0ecef3 -Author: Behdad Esfahbod -Date: Wed Jul 14 17:50:46 2021 -0700 - - Merge pull request #3060 from googlefonts/unicode_collect - - [subset] de-duplicate the logic that finds unicodes corresponding to … - -commit 9aa0ecef3fd2070e37a645c3455471407b363fbe -Author: Garret Rieger -Date: Wed Jul 14 17:27:14 2021 -0700 - - [subset] de-duplicate the logic that finds unicodes corresponding to requested glyphs. - - Move the logic into subset planning and then re-use the results in cmap and OS2 subsetting. Removes depedency on cmap from os2. - - src/hb-ot-cmap-table.hh | 41 ++++++---------------------------- - src/hb-ot-os2-table.hh | 23 ++------------------ - src/hb-subset-plan.cc | 58 ++++++++++++++++++++++++++++++++++--------------- - 3 files changed, 50 insertions(+), 72 deletions(-) - -commit deee24fbef7a67989ed7f60d1f76538f926d22a7 -Author: Garret Rieger -Date: Wed Jul 14 13:46:36 2021 -0700 - - [subset] Add missing FontName op code in top dict parsing. - - Fix for #3058 - - src/hb-ot-cff1-table.hh | 1 + - test/subset/data/Makefile.am | 1 + - test/subset/data/Makefile.sources | 1 + - ...05,1039,1005,100A,103A,1038,1010,103D,1031,104A.otf | Bin 0 -> 7724 bytes - .../NotoSerifMyanmar-Regular.notdef-outline.1092.otf | Bin 0 -> 1380 bytes - test/subset/data/fonts/NotoSerifMyanmar-Regular.otf | Bin 0 -> 137544 bytes - test/subset/data/tests/cff.notoserifmyanmar.tests | 9 +++++++++ - test/subset/meson.build | 1 + - 8 files changed, 13 insertions(+) - -commit 9985ca64919b42b28010a741dc79b3cd0db4714d -Merge: f51384d37 2c7ef0db0 -Author: Behdad Esfahbod -Date: Tue Jul 13 13:42:09 2021 -0700 - - Merge pull request #3057 from harfbuzz/ci-coverage-macos - - [ci] Add macOS GitHub workflow - -commit 2c7ef0db0b1b0815fa32d5d21b2c53d3b753aab6 -Author: Khaled Hosny -Date: Tue Jul 13 13:23:53 2021 +0200 - - [ci] Generate only XML coverage data - - That is the one we are uploading, and HTML coverage seems broken on - macOS. - - .github/workflows/linux-ci.yml | 2 +- - .github/workflows/macos-ci.yml | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit f51384d375210aea7d6e3bba82d776c812024950 -Merge: 1cb0ca1f2 95b04f740 -Author: Behdad Esfahbod -Date: Mon Jul 12 16:51:43 2021 -0700 - - Merge pull request #3027 from harfbuzz/buffer-sync - - Improving buffer synchronization - -commit 95b04f7409e5af6dec97feb4ed18ba0bfae2cd88 -Author: Behdad Esfahbod -Date: Mon Jul 12 17:35:45 2021 -0600 - - [buffer] Remove unnecessary have_separate_output() - - src/hb-buffer.hh | 5 +---- - src/hb-ot-layout.cc | 2 -- - 2 files changed, 1 insertion(+), 6 deletions(-) - -commit 3e266e5f64b6d078d64fe0f3783f774d7e29472d -Author: Behdad Esfahbod -Date: Mon Jul 12 17:30:26 2021 -0600 - - [buffer] Update comments - - src/hb-buffer.cc | 9 +++++---- - src/hb-buffer.hh | 2 +- - 2 files changed, 6 insertions(+), 5 deletions(-) - -commit 3807061d634b60bd6235d6e1d8c47a034377f924 -Author: Behdad Esfahbod -Date: Mon Jul 12 17:02:03 2021 -0600 - - [ot-layout] Don't remove_output() before reverse substitution - - No need anymore, because of new swap_buffers() semantics. - - Just assert instead. - - src/hb-buffer.cc | 10 ---------- - src/hb-buffer.hh | 1 - - src/hb-ot-layout.cc | 4 +--- - 3 files changed, 1 insertion(+), 14 deletions(-) - -commit 10a9960f0af9d6fb93ff3d234b2a989f9bc00b21 -Author: Behdad Esfahbod -Date: Mon Jul 12 17:09:03 2021 -0600 - - [buffer] Restructure swap_buffers() - - Is more of a "commit" operation now. Will rename when ready. - - src/hb-buffer.cc | 20 +++++++------------- - 1 file changed, 7 insertions(+), 13 deletions(-) - -commit f6c9fcfd3e07dffe246fb727fce95429d028395a -Author: Khaled Hosny -Date: Tue Jul 13 01:12:43 2021 +0200 - - [ci] Add macOS GitHub workflow - - To collect codecov coverage on macOS as well (hopefully it will run the - macOS-specific tests). - - .github/workflows/macos-ci.yml | 27 +++++++++++++++++++++++++++ - 1 file changed, 27 insertions(+) - -commit d56afb750a1cde046158f13bb7bc6abbd8f1cb1b -Author: Khaled Hosny -Date: Tue Jul 13 00:56:54 2021 +0200 - - [tests] Ignore more symbols - - These seem to be exported when building with code coverage on macOS. - - src/check-symbols.py | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit a7f4c985a8080797482c971a7b6275636fe5be62 -Author: Behdad Esfahbod -Date: Mon Jul 12 17:00:46 2021 -0600 - - [ot-layout] Always swap_buffers() even if no substitutions happened - - src/hb-ot-layout.cc | 14 +++++--------- - 1 file changed, 5 insertions(+), 9 deletions(-) - -commit 62b441e6ff798f1d551d290a2a4970482254dbe2 -Author: Behdad Esfahbod -Date: Mon Jul 12 16:59:34 2021 -0600 - - [layout] Use Proxy::inplace instead of table index check - - Equivalent. - - src/hb-ot-layout.cc | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 431f164003d1d92b657b3facf984c8bbe342418b -Author: Behdad Esfahbod -Date: Mon Jul 12 16:57:25 2021 -0600 - - [layout] Don't call clear_output() before pause-func - - src/hb-ot-layout.cc | 3 --- - 1 file changed, 3 deletions(-) - -commit a623446a34a4a388f86afc97ed9c5a74792d5420 -Author: Behdad Esfahbod -Date: Mon Jul 12 16:55:54 2021 -0600 - - [shape] Remove stray clear_output() call in hb_shape() - - src/hb-ot-shape.cc | 2 -- - 1 file changed, 2 deletions(-) - -commit 05c17787c4fc5283925920b546952ccca0ba4a00 -Author: Behdad Esfahbod -Date: Mon Jul 12 16:55:08 2021 -0600 - - [buffer] Rewind cursor in clear_output() - - src/hb-buffer.cc | 1 + - 1 file changed, 1 insertion(+) - -commit 1cb0ca1f2cc24092e2977ac7b12274c399d6814a -Author: Behdad Esfahbod -Date: Mon Jul 12 16:52:31 2021 -0600 - - Whitespace - - src/hb-ot-layout.cc | 3 ++- - src/hb-ot-shape.cc | 4 +++- - 2 files changed, 5 insertions(+), 2 deletions(-) - -commit 5f5a8b4dd7ddba13cd2459c626c3eb2f3c19d9d5 -Author: Khaled Hosny -Date: Mon Jul 12 22:24:14 2021 +0200 - - [ci] Use the latest stable XCode image - - .circleci/config.yml | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 13187d29efdf9d6ce19d649a6ce8349e2a9d954e -Author: Khaled Hosny -Date: Mon Jul 12 22:21:47 2021 +0200 - - [ci] Drop macOS job using deprecated XCode image - - .circleci/config.yml | 14 -------------- - 1 file changed, 14 deletions(-) - -commit 69310f14a6b79399041a1d9d70c246722b58829f -Author: Behdad Esfahbod -Date: Fri Jul 9 17:24:29 2021 -0600 - - [buffer] Change nil buffer have_output to false - - Seems like a historical artefact that it was true. - - src/hb-buffer.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 40884af17e9fd0149051b5a7ea452226ba806283 -Author: Behdad Esfahbod -Date: Fri Jul 9 17:17:05 2021 -0600 - - [ot-layout] Narrow down random feature logic vs safe-to-break - - src/hb-ot-layout-gsub-table.hh | 5 +++++ - src/hb-ot-layout.cc | 2 -- - 2 files changed, 5 insertions(+), 2 deletions(-) - -commit 33b579d0ad06c34aec9780df90ae99eda697b7a1 -Author: Behdad Esfahbod -Date: Fri Jul 9 17:12:09 2021 -0600 - - [ot-layout] Clear random flag for subsequent flags - - Ouch! - - src/hb-ot-layout.cc | 7 +++---- - 1 file changed, 3 insertions(+), 4 deletions(-) - -commit 29c9833e579cddf9f97c4eca956ccca98c1683c4 -Author: Behdad Esfahbod -Date: Fri Jul 9 11:58:36 2021 -0600 - - Remove Offset::serialize() - - Finishing https://github.com/harfbuzz/harfbuzz/pull/2355 - - src/hb-open-file.hh | 20 +++++++++++++------- - src/hb-open-type.hh | 9 --------- - 2 files changed, 13 insertions(+), 16 deletions(-) - -commit 63e15eac4f443fa53565d1e4fb9611cdd7814f28 -Author: Khaled Hosny -Date: Thu Jul 8 22:46:33 2021 +0200 - - 2.8.2 - - NEWS | 16 ++++++++++++++++ - configure.ac | 2 +- - docs/harfbuzz-docs.xml | 1 + - meson.build | 2 +- - src/hb-blob.cc | 4 ++-- - src/hb-set.cc | 2 +- - src/hb-version.h | 4 ++-- - 7 files changed, 24 insertions(+), 7 deletions(-) - -commit eee36bbea3c96ab3c84a2b928cb254d9e1860069 -Author: Caleb Maclennan -Date: Thu Jul 8 21:19:57 2021 +0300 - - [releasing] Format notes as Markdown checklist for pasting in GH PR/Issue - - RELEASING.md | 49 ++++++++++++++++++++++++------------------------- - 1 file changed, 24 insertions(+), 25 deletions(-) - -commit eda5dcdb3eb1b85d914602c27a480ba3a16e43fb -Author: Caleb Maclennan -Date: Thu Jul 8 21:10:35 2021 +0300 - - [releasing] Drop obsolete release process items - - RELEASING.md | 8 +------- - 1 file changed, 1 insertion(+), 7 deletions(-) - -commit 2337f0d047f2561c13b29b70ad783bbf0d286654 -Author: Behdad Esfahbod -Date: Thu Jul 8 10:58:50 2021 -0600 - - Internally use hb_malloc/.../hb_free instead of malloc/.../free - - Redefining those stock names as macros was conflicting with gcc 10 - headers. - - Fixes https://github.com/harfbuzz/harfbuzz/issues/3044 - - src/hb-array.hh | 4 +-- - src/hb-blob.cc | 32 ++++++++--------- - src/hb-buffer.cc | 10 +++--- - src/hb-common.cc | 12 +++---- - src/hb-directwrite.cc | 4 +-- - src/hb-draw.cc | 2 +- - src/hb-face.cc | 18 +++++----- - src/hb-font.cc | 58 +++++++++++++++--------------- - src/hb-ft.cc | 24 ++++++------- - src/hb-gdi.cc | 6 ++-- - src/hb-gobject-structs.cc | 4 +-- - src/hb-graphite2.cc | 10 +++--- - src/hb-machinery.hh | 6 ++-- - src/hb-map.cc | 2 +- - src/hb-map.hh | 6 ++-- - src/hb-object.hh | 8 ++--- - src/hb-ot-color-cbdt-table.hh | 2 +- - src/hb-ot-glyf-table.hh | 4 +-- - src/hb-ot-layout-gsubgpos.hh | 4 +-- - src/hb-ot-name-table.hh | 4 +-- - src/hb-ot-post-table.hh | 6 ++-- - src/hb-ot-shape-complex-arabic-fallback.hh | 8 ++--- - src/hb-ot-shape-complex-arabic.cc | 4 +-- - src/hb-ot-shape-complex-hangul.cc | 4 +-- - src/hb-ot-shape-complex-indic.cc | 4 +-- - src/hb-ot-shape-complex-khmer.cc | 4 +-- - src/hb-ot-shape-complex-use.cc | 6 ++-- - src/hb-ot-tag.cc | 4 +-- - src/hb-pool.hh | 4 +-- - src/hb-repacker.hh | 4 +-- - src/hb-serialize.hh | 6 ++-- - src/hb-set.cc | 2 +- - src/hb-shape-plan.cc | 12 +++---- - src/hb-shape-plan.hh | 2 +- - src/hb-shape.cc | 4 +-- - src/hb-shaper.cc | 4 +-- - src/hb-subset-input.cc | 2 +- - src/hb-subset-plan.cc | 10 +++--- - src/hb-unicode.cc | 2 +- - src/hb-uniscribe.cc | 24 ++++++------- - src/hb-vector.hh | 4 +-- - src/hb.hh | 13 ++++--- - 42 files changed, 179 insertions(+), 174 deletions(-) - -commit bb48bf52a4645abda6fe98cc5ee33beab69931a5 -Author: Behdad Esfahbod -Date: Thu Jul 8 10:53:45 2021 -0600 - - Rename misc uses of "free" - - In preparation for fixing https://github.com/harfbuzz/harfbuzz/issues/3044 - - src/hb-array.hh | 4 ++-- - src/hb-cache.hh | 2 +- - src/hb-common.cc | 10 ++++------ - src/hb-iter.hh | 2 +- - src/hb-ot-face-table-list.hh | 2 +- - src/hb-ot-glyf-table.hh | 2 +- - src/hb-ot-layout-gpos-table.hh | 2 +- - src/hb-ot-layout.cc | 3 ++- - src/hb-pool.hh | 4 ++-- - src/hb-serialize.hh | 2 +- - src/hb-set.hh | 2 +- - src/hb-shape-plan.cc | 4 ++-- - src/hb-shape-plan.hh | 2 +- - src/test-repacker.cc | 8 ++++---- - 14 files changed, 24 insertions(+), 25 deletions(-) - -commit 7416faceeb7a875ba7316cee124edee2d59ea8d0 -Author: Qunxin Liu -Date: Wed Jul 7 11:27:49 2021 -0700 - - [subset] fuzzer fix: https://oss-fuzz.com/testcase-detail/5715464591376384 - - src/hb-ot-color-cpal-table.hh | 49 +++++++-------------- - ...ase-minimized-hb-subset-fuzzer-5715464591376384 | Bin 0 -> 2116 bytes - 2 files changed, 15 insertions(+), 34 deletions(-) - -commit 895acdf7c7ac128cc1540fa251f772323f0042e8 -Author: Khaled Hosny -Date: Wed Jun 23 14:53:28 2021 +0200 - - [ci] Don’t build Cairo subproject with FontConfig on win32 cross-build - - We don’t need it and it breaks the build because FontConfig renamed its - master branch and the released version of Cairo wants to build - FontConfig from master branch. - - .ci/build-win32.sh | 16 ++++++++++++++-- - 1 file changed, 14 insertions(+), 2 deletions(-) - -commit 0da9158f620077ec46dcdfa4c1556253b23337eb -Author: Garret Rieger -Date: Tue Jun 29 14:23:37 2021 -0700 - - [subset] Remove OffsetTo::serialize(). - - Convert remaining uses of it to serialize_serialize() which correctly uses the object packer. - - src/hb-open-type.hh | 4 ---- - src/hb-ot-layout-common.hh | 8 ++++---- - src/hb-ot-var-hvar-table.hh | 14 ++++++++------ - test/api/fonts/AdobeVFPrototype.abc.otf | Bin 6900 -> 5164 bytes - test/api/fonts/AdobeVFPrototype.ac.nohints.otf | Bin 4212 -> 4384 bytes - .../api/fonts/AdobeVFPrototype.ac.nosubrs.nohints.otf | Bin 4092 -> 4268 bytes - test/api/fonts/AdobeVFPrototype.ac.nosubrs.otf | Bin 6284 -> 4464 bytes - test/api/fonts/AdobeVFPrototype.ac.otf | Bin 6408 -> 4584 bytes - test/api/fonts/AdobeVFPrototype.ac.retaingids.otf | Bin 6412 -> 4584 bytes - .../fonts/SourceSansVariable-Roman-modHVAR.abc.ttf | Bin 3260 -> 3124 bytes - .../api/fonts/SourceSansVariable-Roman-modHVAR.ac.ttf | Bin 3032 -> 2892 bytes - test/api/fonts/SourceSansVariable-Roman.abc.ttf | Bin 3240 -> 3196 bytes - .../fonts/SourceSansVariable-Roman.ac.retaingids.ttf | Bin 2616 -> 2976 bytes - test/api/fonts/SourceSansVariable-Roman.ac.ttf | Bin 3028 -> 2964 bytes - test/api/fonts/SourceSerifVariable-Roman-VVAR.abc.ttf | Bin 5632 -> 3588 bytes - .../SourceSerifVariable-Roman-VVAR.ac.retaingids.ttf | Bin 5288 -> 3244 bytes - test/api/fonts/SourceSerifVariable-Roman-VVAR.ac.ttf | Bin 3224 -> 3224 bytes - 17 files changed, 12 insertions(+), 14 deletions(-) - -commit 0969614865a8664aaa13759e2d60caab0bd7df3a -Author: Behdad Esfahbod -Date: Sat Jun 26 08:52:53 2021 -0600 - - [ot-shape] Rewrite loop without foreach_grapheme() - - We were not using the graphemes, and that's costlier than just for(). - - src/hb-ot-shape.cc | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit eee7b459ee18cd722e9ba0d030c983e66b6e7777 -Author: Qunxin Liu -Date: Thu Jun 24 10:17:46 2021 -0700 - - [subset] add option --no-prune-unicode-ranges - - src/hb-ot-os2-table.hh | 1 + - src/hb-subset-input.cc | 14 ++++++++++++++ - src/hb-subset-input.hh | 1 + - src/hb-subset-plan.cc | 1 + - src/hb-subset-plan.hh | 1 + - src/hb-subset.h | 7 +++++++ - ...aa-Regular-new.no-prune-unicode-ranges.61,62,63.ttf | Bin 0 -> 7060 bytes - ...ortaa-Regular-new.no-prune-unicode-ranges.61,63.ttf | Bin 0 -> 6692 bytes - ...omfortaa-Regular-new.no-prune-unicode-ranges.61.ttf | Bin 0 -> 6328 bytes - ...omfortaa-Regular-new.no-prune-unicode-ranges.62.ttf | Bin 0 -> 6200 bytes - ...omfortaa-Regular-new.no-prune-unicode-ranges.63.ttf | Bin 0 -> 6256 bytes - ...ew.no-prune-unicode-ranges.retain-all-codepoint.ttf | Bin 0 -> 220928 bytes - ...Regular-subset.no-prune-unicode-ranges.61,62,63.ttf | Bin 0 -> 4128 bytes - ...jo-Regular-subset.no-prune-unicode-ranges.61,63.ttf | Bin 0 -> 3580 bytes - ...ongjo-Regular-subset.no-prune-unicode-ranges.61.ttf | Bin 0 -> 3156 bytes - ...ongjo-Regular-subset.no-prune-unicode-ranges.62.ttf | Bin 0 -> 3180 bytes - ...ongjo-Regular-subset.no-prune-unicode-ranges.63.ttf | Bin 0 -> 3048 bytes - ...et.no-prune-unicode-ranges.retain-all-codepoint.ttf | Bin 0 -> 9524 bytes - ...to-Regular.abc.no-prune-unicode-ranges.61,62,63.ttf | Bin 0 -> 2452 bytes - ...oboto-Regular.abc.no-prune-unicode-ranges.61,63.ttf | Bin 0 -> 2260 bytes - .../Roboto-Regular.abc.no-prune-unicode-ranges.61.ttf | Bin 0 -> 2048 bytes - .../Roboto-Regular.abc.no-prune-unicode-ranges.62.ttf | Bin 0 -> 1916 bytes - .../Roboto-Regular.abc.no-prune-unicode-ranges.63.ttf | Bin 0 -> 1972 bytes - ...bc.no-prune-unicode-ranges.retain-all-codepoint.ttf | Bin 0 -> 2452 bytes - test/subset/data/profiles/no-prune-unicode-ranges.txt | 1 + - test/subset/data/tests/basics.tests | 1 + - util/options-subset.cc | 1 + - 27 files changed, 28 insertions(+) - -commit c3be28ea26cd23011440db7e6afaf4412e5d705d -Author: Khaled Hosny -Date: Wed Jun 23 17:39:23 2021 +0200 - - [ot-shape] Numeric runs native direction is LTR - - See inline comments. Slightly modified version of the code from Jonathan - Kew on the linked issue. - - Fixes https://github.com/harfbuzz/harfbuzz/issues/501 - - src/hb-ot-shape.cc | 29 +++++++++++++++++++++ - src/hb-unicode.hh | 7 +++++ - test/shaping/data/in-house/Makefile.sources | 1 + - .../3b791518a9ba89675df02f1eefbc9026a50648a6.ttf | Bin 0 -> 3144 bytes - .../a6b17da98b9f1565ba428719777bbf94a66403c1.ttf | Bin 0 -> 3676 bytes - .../b082211be29a3e2cf91f0fd43497e40b2a27b344.ttf | Bin 0 -> 4800 bytes - .../e5ff44940364c2247abed50bdda30d2ef5aedfe4.ttf | Bin 0 -> 2548 bytes - test/shaping/data/in-house/meson.build | 1 + - test/shaping/data/in-house/tests/digits.tests | 5 ++++ - 9 files changed, 43 insertions(+) - -commit 71a62966202012300a2cf2c8fbaae32354d136ba -Author: Khaled Hosny -Date: Wed Jun 23 18:16:56 2021 +0200 - - [tests] Make record-test.sh work with .otf files - - It hard-codes the file extension, but fonttools sunset will use .otf for - CFF fonts, so hard-code the output file from subset as well. - - test/shaping/record-test.sh | 10 ++++++---- - 1 file changed, 6 insertions(+), 4 deletions(-) - -commit cc9bb294919e846ef8a0731b5e9f304f95ef3bb8 -Author: Behdad Esfahbod -Date: Sun Jun 20 18:47:03 2021 -0600 - - [blob] Fix-up recent mistake in hb_blob_create() destroy(user_data) - - https://github.com/harfbuzz/harfbuzz/pull/3026#discussion_r653437491 - - src/hb-blob.cc | 4 ++++ - 1 file changed, 4 insertions(+) - -commit bc06af977fc89b8b25bfd7180d010b915811c0d8 -Author: Garret Rieger -Date: Wed Jun 16 15:49:14 2021 -0700 - - [subset] speed up feature collection when tags are specified. - - Precompute a feature index filter to avoid needing to iterate the feature tag list for each encountered feature index. For this particular fuzzer case speeds up feature collection from 50s to 2s. - - src/hb-ot-layout.cc | 98 +++++++++++++-------- - ...ase-minimized-hb-subset-fuzzer-5241922561114112 | Bin 0 -> 638237 bytes - 2 files changed, 63 insertions(+), 35 deletions(-) - -commit 14f220b76159a2f2d926029e32b3fe975d1dc525 -Author: Khaled Hosny -Date: Sun Jun 20 18:59:13 2021 +0200 - - [directwrite] Support feature ranges - - Code copied from hb-uniscribe.cc and adapted to use DirectWrite types. - May be there is a better way to de-duplicate the code, though I'm not - exactly sure how or if it is worth it. - - src/hb-directwrite.cc | 198 +++++++++++++++++++++++++++++++++++++++++++++----- - 1 file changed, 180 insertions(+), 18 deletions(-) - -commit d2397d91f30c7eda0a446cefd623d78e16cf7268 -Author: Garret Rieger -Date: Fri Jun 18 18:12:19 2021 -0700 - - [subset] Add additional colrv1 subsetting tests that has a glyph with components. - - test/subset/data/Makefile.am | 1 + - test/subset/data/Makefile.sources | 1 + - .../NotoColrEmojiGlyf-Regular.subset.default.1f35e.ttf | Bin 0 -> 3004 bytes - .../NotoColrEmojiGlyf-Regular.subset.default.1f696.ttf | Bin 0 -> 3752 bytes - ...Glyf-Regular.subset.drop-hints-retain-gids.1f35e.ttf | Bin 0 -> 3516 bytes - ...Glyf-Regular.subset.drop-hints-retain-gids.1f696.ttf | Bin 0 -> 5048 bytes - ...otoColrEmojiGlyf-Regular.subset.drop-hints.1f35e.ttf | Bin 0 -> 3004 bytes - ...otoColrEmojiGlyf-Regular.subset.drop-hints.1f696.ttf | Bin 0 -> 3752 bytes - ...toColrEmojiGlyf-Regular.subset.retain-gids.1f35e.ttf | Bin 0 -> 3516 bytes - ...toColrEmojiGlyf-Regular.subset.retain-gids.1f696.ttf | Bin 0 -> 5048 bytes - .../data/fonts/NotoColrEmojiGlyf-Regular.subset.ttf | Bin 0 -> 71896 bytes - test/subset/data/tests/colrv1.notoemoji.tests | 12 ++++++++++++ - test/subset/meson.build | 1 + - 13 files changed, 15 insertions(+) - -commit 26c80adb61938288b3954b907fe6ddbb430fa468 -Author: Garret Rieger -Date: Fri Jun 18 14:14:20 2021 -0700 - - [subset] do colrv1 glyph closure before glyf composite closure. - - src/hb-subset-plan.cc | 21 +++++++++++---------- - 1 file changed, 11 insertions(+), 10 deletions(-) - -commit d07f789ae3997ee95923525af56627d4be4a90e4 -Author: Qunxin Liu -Date: Wed Jun 9 15:36:40 2021 -0700 - - [subset] support option "--notdef-outline" - - src/hb-ot-glyf-table.hh | 5 ++++- - src/hb-ot-var-gvar-table.hh | 4 ++-- - src/hb-subset-input.cc | 15 +++++++++++++++ - src/hb-subset-input.hh | 14 ++++++++------ - src/hb-subset-plan.cc | 1 + - src/hb-subset-plan.hh | 1 + - src/hb-subset.h | 7 +++++++ - .../Comfortaa-Regular-new.default.61,62,63.ttf | Bin 7652 -> 7060 bytes - .../basics/Comfortaa-Regular-new.default.61,63.ttf | Bin 7284 -> 6692 bytes - .../basics/Comfortaa-Regular-new.default.61.ttf | Bin 6920 -> 6328 bytes - .../basics/Comfortaa-Regular-new.default.62.ttf | Bin 6796 -> 6200 bytes - .../basics/Comfortaa-Regular-new.default.63.ttf | Bin 6844 -> 6256 bytes - ...aa-Regular-new.default.retain-all-codepoint.ttf | Bin 221524 -> 220928 bytes - ...Regular-new.drop-hints-retain-gids.61,62,63.ttf | Bin 5104 -> 4608 bytes - ...aa-Regular-new.drop-hints-retain-gids.61,63.ttf | Bin 4808 -> 4312 bytes - ...ortaa-Regular-new.drop-hints-retain-gids.61.ttf | Bin 4220 -> 3724 bytes - ...ortaa-Regular-new.drop-hints-retain-gids.62.ttf | Bin 4396 -> 3900 bytes - ...ortaa-Regular-new.drop-hints-retain-gids.63.ttf | Bin 4468 -> 3972 bytes - ...drop-hints-retain-gids.retain-all-codepoint.ttf | Bin 190296 -> 189800 bytes - .../Comfortaa-Regular-new.drop-hints.61,62,63.ttf | Bin 3100 -> 2600 bytes - .../Comfortaa-Regular-new.drop-hints.61,63.ttf | Bin 2792 -> 2296 bytes - .../basics/Comfortaa-Regular-new.drop-hints.61.ttf | Bin 2472 -> 1976 bytes - .../basics/Comfortaa-Regular-new.drop-hints.62.ttf | Bin 2396 -> 1900 bytes - .../basics/Comfortaa-Regular-new.drop-hints.63.ttf | Bin 2460 -> 1968 bytes - ...Regular-new.drop-hints.retain-all-codepoint.ttf | Bin 190252 -> 189756 bytes - .../basics/Comfortaa-Regular-new.gids.61,62,63.ttf | Bin 8580 -> 7988 bytes - .../basics/Comfortaa-Regular-new.gids.61,63.ttf | Bin 8220 -> 7628 bytes - .../basics/Comfortaa-Regular-new.gids.61.ttf | Bin 7848 -> 7256 bytes - .../basics/Comfortaa-Regular-new.gids.62.ttf | Bin 7772 -> 7184 bytes - .../basics/Comfortaa-Regular-new.gids.63.ttf | Bin 7776 -> 7180 bytes - ...ortaa-Regular-new.gids.retain-all-codepoint.ttf | Bin 221524 -> 220928 bytes - ...gular-new.keep-all-layout-features.61,62,63.ttf | Bin 8100 -> 7504 bytes - ...-Regular-new.keep-all-layout-features.61,63.ttf | Bin 7736 -> 7140 bytes - ...taa-Regular-new.keep-all-layout-features.61.ttf | Bin 7360 -> 6772 bytes - ...taa-Regular-new.keep-all-layout-features.62.ttf | Bin 6796 -> 6200 bytes - ...taa-Regular-new.keep-all-layout-features.63.ttf | Bin 6844 -> 6256 bytes - ...ep-all-layout-features.retain-all-codepoint.ttf | Bin 222212 -> 221620 bytes - ...fortaa-Regular-new.layout-features.61,62,63.ttf | Bin 7652 -> 7060 bytes - ...Comfortaa-Regular-new.layout-features.61,63.ttf | Bin 7284 -> 6692 bytes - .../Comfortaa-Regular-new.layout-features.61.ttf | Bin 6920 -> 6328 bytes - .../Comfortaa-Regular-new.layout-features.62.ttf | Bin 6796 -> 6200 bytes - .../Comfortaa-Regular-new.layout-features.63.ttf | Bin 6844 -> 6256 bytes - ...ar-new.layout-features.retain-all-codepoint.ttf | Bin 219716 -> 219124 bytes - .../Comfortaa-Regular-new.name-ids.61,62,63.ttf | Bin 7392 -> 6800 bytes - .../Comfortaa-Regular-new.name-ids.61,63.ttf | Bin 7024 -> 6432 bytes - .../basics/Comfortaa-Regular-new.name-ids.61.ttf | Bin 6660 -> 6068 bytes - .../basics/Comfortaa-Regular-new.name-ids.62.ttf | Bin 6536 -> 5940 bytes - .../basics/Comfortaa-Regular-new.name-ids.63.ttf | Bin 6584 -> 5996 bytes - ...a-Regular-new.name-ids.retain-all-codepoint.ttf | Bin 221264 -> 220668 bytes - ...mfortaa-Regular-new.name-languages.61,62,63.ttf | Bin 7652 -> 7060 bytes - .../Comfortaa-Regular-new.name-languages.61,63.ttf | Bin 7284 -> 6692 bytes - .../Comfortaa-Regular-new.name-languages.61.ttf | Bin 6920 -> 6328 bytes - .../Comfortaa-Regular-new.name-languages.62.ttf | Bin 6796 -> 6200 bytes - .../Comfortaa-Regular-new.name-languages.63.ttf | Bin 6844 -> 6256 bytes - ...lar-new.name-languages.retain-all-codepoint.ttf | Bin 221524 -> 220928 bytes - .../Comfortaa-Regular-new.name-legacy.61,62,63.ttf | Bin 7652 -> 7060 bytes - .../Comfortaa-Regular-new.name-legacy.61,63.ttf | Bin 7284 -> 6692 bytes - .../Comfortaa-Regular-new.name-legacy.61.ttf | Bin 6920 -> 6328 bytes - .../Comfortaa-Regular-new.name-legacy.62.ttf | Bin 6796 -> 6200 bytes - .../Comfortaa-Regular-new.name-legacy.63.ttf | Bin 6844 -> 6256 bytes - ...egular-new.name-legacy.retain-all-codepoint.ttf | Bin 221524 -> 220928 bytes - ...mfortaa-Regular-new.notdef-outline.61,62,63.ttf | Bin 0 -> 7652 bytes - .../Comfortaa-Regular-new.notdef-outline.61,63.ttf | Bin 0 -> 7284 bytes - .../Comfortaa-Regular-new.notdef-outline.61.ttf | Bin 0 -> 6920 bytes - .../Comfortaa-Regular-new.notdef-outline.62.ttf | Bin 0 -> 6796 bytes - .../Comfortaa-Regular-new.notdef-outline.63.ttf | Bin 0 -> 6844 bytes - ...lar-new.notdef-outline.retain-all-codepoint.ttf | Bin 0 -> 221524 bytes - .../Comfortaa-Regular-new.retain-gids.61,62,63.ttf | Bin 9656 -> 9068 bytes - .../Comfortaa-Regular-new.retain-gids.61,63.ttf | Bin 9300 -> 8708 bytes - .../Comfortaa-Regular-new.retain-gids.61.ttf | Bin 8668 -> 8076 bytes - .../Comfortaa-Regular-new.retain-gids.62.ttf | Bin 8796 -> 8200 bytes - .../Comfortaa-Regular-new.retain-gids.63.ttf | Bin 8852 -> 8260 bytes - ...egular-new.retain-gids.retain-all-codepoint.ttf | Bin 221568 -> 220972 bytes - ...ngjo-Regular-subset.notdef-outline.61,62,63.ttf | Bin 0 -> 4128 bytes - ...yeongjo-Regular-subset.notdef-outline.61,63.ttf | Bin 0 -> 3580 bytes - ...umMyeongjo-Regular-subset.notdef-outline.61.ttf | Bin 0 -> 3156 bytes - ...umMyeongjo-Regular-subset.notdef-outline.62.ttf | Bin 0 -> 3180 bytes - ...umMyeongjo-Regular-subset.notdef-outline.63.ttf | Bin 0 -> 3048 bytes - ...-subset.notdef-outline.retain-all-codepoint.ttf | Bin 0 -> 9524 bytes - .../Roboto-Regular.abc.notdef-outline.61,62,63.ttf | Bin 0 -> 2452 bytes - .../Roboto-Regular.abc.notdef-outline.61,63.ttf | Bin 0 -> 2260 bytes - .../Roboto-Regular.abc.notdef-outline.61.ttf | Bin 0 -> 2048 bytes - .../Roboto-Regular.abc.notdef-outline.62.ttf | Bin 0 -> 1916 bytes - .../Roboto-Regular.abc.notdef-outline.63.ttf | Bin 0 -> 1972 bytes - ...lar.abc.notdef-outline.retain-all-codepoint.ttf | Bin 0 -> 2452 bytes - .../cmap/AdobeBlank-Regular.default.61,62.ttf | Bin 1336 -> 1252 bytes - .../cmap/AdobeBlank-Regular.default.61,FEFA.ttf | Bin 1348 -> 1264 bytes - .../cmap/AdobeBlank-Regular.default.FEE6,FECF.ttf | Bin 1300 -> 1216 bytes - .../cmap/AdobeBlank-Regular.default.FEF9,FEFA.ttf | Bin 1288 -> 1204 bytes - .../cmap/AdobeBlank-Regular.default.FEFA.ttf | Bin 1268 -> 1184 bytes - ...eBlank-Regular.drop-hints-retain-gids.61,62.ttf | Bin 1552 -> 1468 bytes - ...lank-Regular.drop-hints-retain-gids.61,FEFA.ttf | Bin 8316 -> 8232 bytes - ...nk-Regular.drop-hints-retain-gids.FEE6,FECF.ttf | Bin 8188 -> 8104 bytes - ...nk-Regular.drop-hints-retain-gids.FEF9,FEFA.ttf | Bin 8256 -> 8172 bytes - ...beBlank-Regular.drop-hints-retain-gids.FEFA.ttf | Bin 8240 -> 8156 bytes - .../cmap/AdobeBlank-Regular.drop-hints.61,62.ttf | Bin 1164 -> 1080 bytes - .../cmap/AdobeBlank-Regular.drop-hints.61,FEFA.ttf | Bin 1176 -> 1092 bytes - .../AdobeBlank-Regular.drop-hints.FEE6,FECF.ttf | Bin 1128 -> 1044 bytes - .../AdobeBlank-Regular.drop-hints.FEF9,FEFA.ttf | Bin 1116 -> 1032 bytes - .../cmap/AdobeBlank-Regular.drop-hints.FEFA.ttf | Bin 1096 -> 1012 bytes - .../cmap/AdobeBlank-Regular.name-ids.61,62.ttf | Bin 1084 -> 1000 bytes - .../cmap/AdobeBlank-Regular.name-ids.61,FEFA.ttf | Bin 1096 -> 1012 bytes - .../cmap/AdobeBlank-Regular.name-ids.FEE6,FECF.ttf | Bin 1048 -> 964 bytes - .../cmap/AdobeBlank-Regular.name-ids.FEF9,FEFA.ttf | Bin 1036 -> 952 bytes - .../cmap/AdobeBlank-Regular.name-ids.FEFA.ttf | Bin 1016 -> 932 bytes - .../cmap/AdobeBlank-Regular.retain-gids.61,62.ttf | Bin 1724 -> 1640 bytes - .../AdobeBlank-Regular.retain-gids.61,FEFA.ttf | Bin 8488 -> 8404 bytes - .../AdobeBlank-Regular.retain-gids.FEE6,FECF.ttf | Bin 8360 -> 8276 bytes - .../AdobeBlank-Regular.retain-gids.FEF9,FEFA.ttf | Bin 8428 -> 8344 bytes - .../cmap/AdobeBlank-Regular.retain-gids.FEFA.ttf | Bin 8412 -> 8328 bytes - .../Roboto-Regular.default.1FC,21,41,20,62,63.ttf | Bin 3276 -> 3080 bytes - .../full-font/Roboto-Regular.default.61,62,63.ttf | Bin 2864 -> 2672 bytes - .../Roboto-Regular.default.D7,D8,D9,DA,DE.ttf | Bin 3216 -> 3024 bytes - ...oboto-Regular.drop-hints.1FC,21,41,20,62,63.ttf | Bin 1712 -> 1632 bytes - .../Roboto-Regular.drop-hints.61,62,63.ttf | Bin 1496 -> 1412 bytes - .../Roboto-Regular.drop-hints.D7,D8,D9,DA,DE.ttf | Bin 1728 -> 1648 bytes - ...ifVariable-Roman.default.1FC,21,41,20,62,63.ttf | Bin 4144 -> 3992 bytes - .../SourceSerifVariable-Roman.default.61,62,63.ttf | Bin 3984 -> 3832 bytes - ...eSerifVariable-Roman.default.D7,D8,D9,DA,DE.ttf | Bin 4548 -> 4396 bytes - ...ariable-Roman.drop-hints.1FC,21,41,20,62,63.ttf | Bin 4120 -> 3968 bytes - ...urceSerifVariable-Roman.drop-hints.61,62,63.ttf | Bin 3984 -> 3832 bytes - ...rifVariable-Roman.drop-hints.D7,D8,D9,DA,DE.ttf | Bin 4548 -> 4396 bytes - .../IndicTestJalandhar-Regular.default.A01.ttf | Bin 4220 -> 4176 bytes - .../IndicTestJalandhar-Regular.default.A05,A06.ttf | Bin 4796 -> 4752 bytes - .../IndicTestJalandhar-Regular.default.A07,A1B.ttf | Bin 4768 -> 4724 bytes - ...andhar-Regular.default.retain-all-codepoint.ttf | Bin 49288 -> 49244 bytes - .../IndicTestJalandhar-Regular.drop-hints.A01.ttf | Bin 1080 -> 1036 bytes - ...dicTestJalandhar-Regular.drop-hints.A05,A06.ttf | Bin 1388 -> 1344 bytes - ...dicTestJalandhar-Regular.drop-hints.A07,A1B.ttf | Bin 1388 -> 1344 bytes - ...har-Regular.drop-hints.retain-all-codepoint.ttf | Bin 29504 -> 29464 bytes - .../IndicTestJalandhar-Regular.keep-gdef.A01.ttf | Bin 4220 -> 4176 bytes - ...ndicTestJalandhar-Regular.keep-gdef.A05,A06.ttf | Bin 4796 -> 4752 bytes - ...ndicTestJalandhar-Regular.keep-gdef.A07,A1B.ttf | Bin 4768 -> 4724 bytes - ...dhar-Regular.keep-gdef.retain-all-codepoint.ttf | Bin 49288 -> 49244 bytes - .../Roboto-Regular.default.1E00,303.ttf | Bin 2720 -> 2524 bytes - .../layout.gdef/Roboto-Regular.default.303.ttf | Bin 2312 -> 2116 bytes - .../Roboto-Regular.default.309,20,30F.ttf | Bin 2408 -> 2212 bytes - .../layout.gdef/Roboto-Regular.default.323.ttf | Bin 2204 -> 2008 bytes - .../Roboto-Regular.default.41,42,43.ttf | Bin 2764 -> 2572 bytes - .../Roboto-Regular.drop-hints.1E00,303.ttf | Bin 1464 -> 1380 bytes - .../layout.gdef/Roboto-Regular.drop-hints.303.ttf | Bin 1196 -> 1112 bytes - .../Roboto-Regular.drop-hints.309,20,30F.ttf | Bin 1256 -> 1172 bytes - .../layout.gdef/Roboto-Regular.drop-hints.323.ttf | Bin 1136 -> 1056 bytes - .../Roboto-Regular.drop-hints.41,42,43.ttf | Bin 1472 -> 1388 bytes - .../Roboto-Regular.keep-gdef-gpos.1E00,303.ttf | Bin 2720 -> 2524 bytes - .../Roboto-Regular.keep-gdef-gpos.303.ttf | Bin 2312 -> 2116 bytes - .../Roboto-Regular.keep-gdef-gpos.309,20,30F.ttf | Bin 2408 -> 2212 bytes - .../Roboto-Regular.keep-gdef-gpos.323.ttf | Bin 2204 -> 2008 bytes - .../Roboto-Regular.keep-gdef-gpos.41,42,43.ttf | Bin 2764 -> 2572 bytes - ...ular.default.627,644,623,62D,644,627,645,2E.ttf | Bin 12724 -> 12684 bytes - .../Amiri-Regular.default.627,644,62D,628.ttf | Bin 10028 -> 9992 bytes - .../Amiri-Regular.default.627,644.ttf | Bin 4208 -> 4168 bytes - ...-Regular.default.633,645,627,621,20,644,627.ttf | Bin 9552 -> 9516 bytes - .../Amiri-Regular.default.63A,64A,631.ttf | Bin 7360 -> 7324 bytes - ....retain-gids.627,644,623,62D,644,627,645,2E.ttf | Bin 48052 -> 48012 bytes - .../Amiri-Regular.retain-gids.627,644,62D,628.ttf | Bin 42676 -> 42640 bytes - .../Amiri-Regular.retain-gids.627,644.ttf | Bin 36736 -> 36696 bytes - ...ular.retain-gids.633,645,627,621,20,644,627.ttf | Bin 45944 -> 45908 bytes - .../Amiri-Regular.retain-gids.63A,64A,631.ttf | Bin 38024 -> 37988 bytes - ...Bold.default.627,644,623,62D,644,627,645,2E.ttf | Bin 11436 -> 11396 bytes - ...toNastaliqUrdu-Bold.default.627,644,62D,628.ttf | Bin 18288 -> 18248 bytes - .../NotoNastaliqUrdu-Bold.default.627,644.ttf | Bin 3568 -> 3528 bytes - ...rdu-Bold.default.633,645,627,621,20,644,627.ttf | Bin 12408 -> 12368 bytes - .../NotoNastaliqUrdu-Bold.default.63A,64A,631.ttf | Bin 20408 -> 20368 bytes - ....retain-gids.627,644,623,62D,644,627,645,2E.ttf | Bin 18272 -> 18232 bytes - ...staliqUrdu-Bold.retain-gids.627,644,62D,628.ttf | Bin 24416 -> 24376 bytes - .../NotoNastaliqUrdu-Bold.retain-gids.627,644.ttf | Bin 9216 -> 9176 bytes - ...Bold.retain-gids.633,645,627,621,20,644,627.ttf | Bin 18212 -> 18172 bytes - ...toNastaliqUrdu-Bold.retain-gids.63A,64A,631.ttf | Bin 26628 -> 26588 bytes - .../variable/Fraunces.default.26,66,69,124,125.ttf | Bin 15912 -> 15792 bytes - .../data/expected/variable/Fraunces.default.61.ttf | Bin 4348 -> 4228 bytes - test/subset/data/profiles/notdef-outline.txt | 1 + - test/subset/data/tests/basics.tests | 1 + - test/subset/generate-expected-outputs.py | 3 +-- - util/options-subset.cc | 1 + - 175 files changed, 42 insertions(+), 11 deletions(-) - -commit 10ad1859320c0475bdbf706d4b547e1d292c7111 -Author: Garret Rieger -Date: Wed Jun 16 16:34:46 2021 -0700 - - [subset] add comment to copy_bytes(). - - src/hb-serialize.hh | 2 ++ - 1 file changed, 2 insertions(+) - -commit 675ebbeb3a0c5b007f87505d6805096a570dd10c -Author: Garret Rieger -Date: Wed Jun 16 10:40:46 2021 -0700 - - [subset] don't alloc zero bytes. - - It will be leaked later since hb_blob_create() won't set up the blob to cleanup since it has length zero. - - src/hb-serialize.hh | 2 ++ - ...zz-testcase-minimized-hb-subset-fuzzer-5269686781607936 | Bin 0 -> 48 bytes - 2 files changed, 2 insertions(+) - -commit 93e6a9bc4e1ac16abeccc9c0bead08a1eded1540 -Author: Behdad Esfahbod -Date: Tue Jun 15 15:38:49 2021 -0600 - - Revert "Remove unneeded buffer clear_output / remove_output calls" - - This reverts commit 06175b71433bc42edc07d342e6354035e37fb5fd. - - One of the sanitizers is failing. Pushing again as PR to debug. - I have suspicions. - - src/hb-buffer.cc | 10 ++++++++++ - src/hb-buffer.hh | 1 + - src/hb-ot-layout.cc | 12 ++++++++---- - src/hb-ot-shape.cc | 3 ++- - 4 files changed, 21 insertions(+), 5 deletions(-) - -commit 06175b71433bc42edc07d342e6354035e37fb5fd -Author: Behdad Esfahbod -Date: Tue Jun 15 14:33:27 2021 -0600 - - Remove unneeded buffer clear_output / remove_output calls - - Made sure clear_output is always paired with swap_buffers. - Trying to see if we can move towards RAII-like buffer iterators - instead of the buffer keeping an iterator internally. - - src/hb-buffer.cc | 10 ---------- - src/hb-buffer.hh | 1 - - src/hb-ot-layout.cc | 12 ++++-------- - src/hb-ot-shape.cc | 3 +-- - 4 files changed, 5 insertions(+), 21 deletions(-) - -commit bdfed8f113431a2156e13d59a4b21e19feb7efd9 -Author: Behdad Esfahbod -Date: Mon Jun 14 15:46:04 2021 -0600 - - [blob] Add failing versions of create API - - Fixes https://github.com/harfbuzz/harfbuzz/issues/2567 - - New API: - +hb_blob_create_or_fail() - +hb_blob_create_from_file_or_fail() - - Use these in util/ to distinguish empty file from not-found file. - Only err on the latter. - - docs/harfbuzz-sections.txt | 2 + - docs/usermanual-getting-started.xml | 2 +- - perf/perf-draw.hh | 4 +- - perf/perf-extents.hh | 4 +- - perf/perf-shaping.hh | 8 ++-- - src/hb-blob.cc | 89 ++++++++++++++++++++++++++++++------- - src/hb-blob.h | 10 +++++ - src/main.cc | 12 ++--- - src/test-buffer-serialize.cc | 5 ++- - src/test-gpos-size-params.cc | 5 ++- - src/test-gsub-would-substitute.cc | 5 ++- - src/test-ot-glyphname.cc | 5 ++- - src/test-ot-meta.cc | 5 ++- - src/test-ot-name.cc | 5 ++- - src/test.cc | 5 ++- - test/api/hb-test.h | 4 +- - test/fuzzing/main.cc | 10 +++-- - util/options.cc | 6 +-- - 18 files changed, 132 insertions(+), 54 deletions(-) - -commit 2fc8d0e6f0b7cfe3897f69ca0411265257dd4a18 -Merge: d3dd93630 085aa65e0 -Author: Behdad Esfahbod -Date: Tue Jun 15 12:56:17 2021 -0700 - - Merge pull request #3020 from googlefonts/serialize_serialize - - [subset] Always serialize objects point to by OffsetTo to a new serializer object. - -commit 085aa65e09e847cf28d6430e85238ea77cce20e2 -Author: Garret Rieger -Date: Mon Jun 14 16:47:45 2021 -0700 - - [subset] Convert offset serialization in gsubgpos and gdef to serialize_serialize(). - - src/hb-ot-layout-gdef-table.hh | 6 ++---- - src/hb-ot-layout-gsubgpos.hh | 6 ++---- - 2 files changed, 4 insertions(+), 8 deletions(-) - -commit cc96c4e87ee3d5de6364ab207676daf6d243f95b -Author: Garret Rieger -Date: Mon Jun 14 16:43:23 2021 -0700 - - [shaping] Update shaping substituion lookup serialization to use serializer pop()/pack(). - - src/hb-ot-layout-gsub-table.hh | 66 +++++++++++++++++++++++++++--------------- - 1 file changed, 43 insertions(+), 23 deletions(-) - -commit d3dd9363095fadaeb59dabe59b5101bb0ecddb41 -Author: Behdad Esfahbod -Date: Mon Jun 14 12:31:02 2021 -0600 - - [coretext] Round position info - - Test: - - Before: - $ ./hb-shape /System/Library/Fonts/ヒラギノ丸ゴ\ ProN\ W4.ttc 1 --features="+palt" --shaper=coretext - [gid781=0@-78,0+841] - $ ./hb-shape /System/Library/Fonts/ヒラギノ丸ゴ\ ProN\ W4.ttc 1 --features="+palt" --shaper=ot - [gid781=0@-78,0+842] - - After: - $ ./hb-shape /System/Library/Fonts/ヒラギノ丸ゴ\ ProN\ W4.ttc 1 --features="+palt" --shaper=coretext - [gid781=0@-78,0+842] - $ ./hb-shape /System/Library/Fonts/ヒラギノ丸ゴ\ ProN\ W4.ttc 1 --features="+palt" --shaper=ot - [gid781=0@-78,0+842] - - I've verified in the font that 842 is correct. - - src/hb-coretext.cc | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - -commit 8443cc85cb118e858043179ac27673ce170dad3b -Author: Garret Rieger -Date: Fri Jun 11 13:40:39 2021 -0700 - - [subset] Correct OffsetTo serialization in GPOS to use serialize_serialize (). - - src/hb-ot-layout-gpos-table.hh | 30 +++++++++++------------------- - 1 file changed, 11 insertions(+), 19 deletions(-) - -commit 5ba46ed067a04b6e1de1611153885c2478de3ceb -Author: Garret Rieger -Date: Fri Jun 11 13:34:00 2021 -0700 - - [subset] Correct OffsetTo serialization in GSUB to use serialize_serialize (). - - src/hb-ot-layout-gsub-table.hh | 44 +++++++++++++++++++----------------------- - 1 file changed, 20 insertions(+), 24 deletions(-) - -commit 35458b6b66f801194a1dad957308be9a71280425 -Author: Garret Rieger -Date: Fri Jun 11 13:14:51 2021 -0700 - - [subset] Add serialize_serialize to OffsetTo. - - Similar to serialize_subset() this will serialize the new object and then link it to the offset. - - src/hb-open-type.hh | 17 +++++++++++++++++ - src/hb-ot-layout-gsub-table.hh | 2 +- - 2 files changed, 18 insertions(+), 1 deletion(-) - -commit 2b0ced28b685de4edbd22cf5f59be30075984dfb -Author: Behdad Esfahbod -Date: Wed Jun 9 19:06:31 2021 -0600 - - Cluster Regional_Indicator pairs (aka emoji flags) - - Fixes https://github.com/harfbuzz/harfbuzz/issues/2265 - - src/hb-ot-shape.cc | 8 ++++++++ - 1 file changed, 8 insertions(+) - -commit 4e72d5e35d68b1772985ddafc522dcd4b0aceec2 -Author: Behdad Esfahbod -Date: Sun Jun 13 05:46:17 2021 -0600 - - [src/check-static-init] Ignore objdump "file format not recognized" error - - Fixes https://github.com/harfbuzz/harfbuzz/issues/3019 - - src/check-static-inits.py | 17 +++++++++++++++-- - 1 file changed, 15 insertions(+), 2 deletions(-) - -commit 5bc05ba155a0fd568b56423009e55d16ed42b91c -Author: Behdad Esfahbod -Date: Sun Jun 13 05:28:20 2021 -0600 - - Prefer GPOS over kerx, if GSUB was applied - - Fixes https://github.com/harfbuzz/harfbuzz/issues/3008 - - src/hb-ot-shape.cc | 6 ++++-- - test/shaping/data/in-house/tests/macos.tests | 3 +++ - 2 files changed, 7 insertions(+), 2 deletions(-) - -commit 13c6ad980fcff52567955d268f33d698ff78379e -Author: Behdad Esfahbod -Date: Sat Jun 12 11:00:19 2021 -0600 - - [src/check-*] Pickup $(NM), $(OBJDUMP), $(LDD), $(OTOOL) - - Fixes https://github.com/harfbuzz/harfbuzz/issues/3019 - - src/Makefile.am | 4 ++++ - src/check-libstdc++.py | 14 ++++++-------- - src/check-static-inits.py | 4 ++-- - src/check-symbols.py | 6 +++--- - src/gen-ragel-artifacts.py | 4 ++-- - 5 files changed, 17 insertions(+), 15 deletions(-) - -commit c61ce962cfdef3fc756850132eb9f76cb7a57ba5 -Author: Behdad Esfahbod -Date: Thu Jun 10 17:33:29 2021 -0600 - - [buffer] In hb_buffer_get_positions(), return NULL if inside message callback - - As discussed in https://github.com/harfbuzz/harfbuzz/issues/2468#issuecomment-645666066 - - Part of fixing https://github.com/harfbuzz/harfbuzz/issues/2468 - - src/hb-buffer.cc | 16 +++++++++++++--- - src/hb-buffer.hh | 9 +++++++++ - util/options.cc | 2 +- - 3 files changed, 23 insertions(+), 4 deletions(-) - -commit 855a3f478eea5b770e64611d09fd347336c56b67 -Author: Behdad Esfahbod -Date: Wed Jun 9 15:10:52 2021 -0600 - - [emoji] Fix emoji table generation - - Previously, the last of each range having Extended_Pictograph property - was not processed as so. Ouch! - - Test: - - $ echo x > null; hb-shape null -u U+1f43b,U+200d,U+2744,U+fe0f - - Before: - [gid0=0+1000|gid0=2+1000] - - After: - [gid0=0+1000|gid0=0+1000] - - Caught by https://github.com/harfbuzz/harfbuzz/issues/3017 - - src/gen-emoji-table.py | 2 +- - src/hb-unicode-emoji-table.hh | 64 +++++++++++++++++++++++-------------------- - 2 files changed, 36 insertions(+), 30 deletions(-) - -commit bd5502f09f09b3f464754395880f9db30a5fcf60 -Author: Behdad Esfahbod -Date: Wed Jun 9 14:03:25 2021 -0600 - - [set] Oops. Fix compile - - src/hb-set.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 3962225a7247582f1ae12193a4caee11dc876e1e -Author: Behdad Esfahbod -Date: Wed Jun 9 14:02:31 2021 -0600 - - [set] Add hb_set_copy() - - Fixes https://github.com/harfbuzz/harfbuzz/issues/3016 - - docs/harfbuzz-sections.txt | 1 + - src/hb-set.cc | 18 ++++++++++++++++++ - src/hb-set.h | 3 +++ - 3 files changed, 22 insertions(+) - -commit bc33b87f5e72648c66949cc9469291e77aa80701 -Author: Behdad Esfahbod -Date: Wed Jun 9 11:51:32 2021 -0600 - - [set] Use references, not pointers, in internal C++ API - - src/hb-ot-layout-gsubgpos.hh | 2 +- - src/hb-set.cc | 14 ++++----- - src/hb-set.hh | 69 ++++++++++++++++++++++---------------------- - src/hb-subset-plan.cc | 2 +- - 4 files changed, 44 insertions(+), 43 deletions(-) - -commit 9cfac093aa5816113289812764c44ec0c44c04c4 -Author: Behdad Esfahbod -Date: Wed Jun 9 11:41:59 2021 -0600 - - [set] Add copy constructor/assignment - - src/hb-set.hh | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -commit a83b9b0fec4c21e9da19b7c83ea76cb33aabd195 -Merge: 4811e8f5d 6119ff9d8 -Author: Behdad Esfahbod -Date: Mon Jun 7 16:41:27 2021 -0700 - - Merge pull request #3011 from harfbuzz/directwrite-cleanup - - Some directwrite cleanups - -commit 4811e8f5d76ef528b4cec00f241cc4ab8110db30 -Author: Khaled Hosny -Date: Mon Jun 7 10:54:36 2021 +0200 - - Trigger doc rebuild - - src/hb-face.cc | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -commit 09a2eb65d782c1e6bba5ebb5027eaf84c40fc31a -Author: Khaled Hosny -Date: Mon Jun 7 10:52:27 2021 +0200 - - Revert "Temporarily always push the docs commit" - - This reverts commit 6612fd39ae6f84446dad1b0507417d6febf22fa0. - - .ci/deploy-docs.sh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 6612fd39ae6f84446dad1b0507417d6febf22fa0 -Author: Khaled Hosny -Date: Mon Jun 7 10:36:02 2021 +0200 - - Temporarily always push the docs commit - - .ci/deploy-docs.sh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit b39b047505d0cd8a77fb9eafca2a08b717a07ead -Author: Khaled Hosny -Date: Mon Jun 7 10:27:33 2021 +0200 - - Try to fix doc deployment - - https://github.com/harfbuzz/harfbuzz.github.io/issues/4 - - From CI logs at https://github.com/harfbuzz/harfbuzz/runs/2758234200: - - + git init - hint: Using 'master' as the name for the initial branch. This default branch name - hint: is subject to change. To configure the initial branch name to use in all - hint: of your new repositories, which will suppress this warning, call: - hint: - hint: git config --global init.defaultBranch - hint: - hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and - hint: 'development'. The just-created branch can be renamed via this command: - hint: - hint: git branch -m - - We want the branch too be main not master. - - .ci/deploy-docs.sh | 1 + - 1 file changed, 1 insertion(+) - -commit 5585ea02eb90c013ddba73290d3a9ae435df9f15 -Author: David Corbett -Date: Sat Jun 5 08:35:28 2021 -0400 - - [syllabic] Set position of dotted circle for Indic - - src/hb-ot-shape-complex-indic.cc | 3 ++- - src/hb-ot-shape-complex-syllabic.cc | 5 ++++- - src/hb-ot-shape-complex-syllabic.hh | 3 ++- - .../fonts/fd07ea46e4d8368ada1776208c07fd596f727852.ttf | Bin 0 -> 956 bytes - test/shaping/data/in-house/tests/cluster.tests | 1 + - 5 files changed, 9 insertions(+), 3 deletions(-) - -commit a9fb6a0c3cb1ffdbd6c18c8a4b1ad7a51ade2e1c -Author: Khaled Hosny -Date: Sun Jun 6 14:40:50 2021 +0200 - - [aat] Add start table/end table to buffer messages - - Related to https://github.com/harfbuzz/harfbuzz/issues/3008 - - src/hb-aat-layout.cc | 6 ++++++ - src/hb-ot-layout.cc | 2 ++ - 2 files changed, 8 insertions(+) - -commit 19cb449358202b22b851f87032ea01b950b04f0f -Author: Behdad Esfahbod -Date: Sat Jun 5 13:44:51 2021 -0600 - - Update COPYING - - Mainly just to push any commit to see if it fixes our github.io site. - - https://github.com/harfbuzz/harfbuzz.github.io/issues/4 - - COPYING | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit cf9538e8080c6e96c840db09515191a799c85de9 -Author: Behdad Esfahbod -Date: Fri Jun 4 22:33:16 2021 -0600 - - Removal remaining uses of "blacklist" terminology - - src/gen-use-table.py | 4 ++-- - src/hb-config.hh | 2 +- - src/hb-ot-layout.cc | 6 +++--- - 3 files changed, 6 insertions(+), 6 deletions(-) - -commit 6119ff9d806db7de3ceef73de67fe589507800bb -Author: Khaled Hosny -Date: Thu Jun 3 13:02:53 2021 +0200 - - [hb-directwrite] Don't load dwrit.dll dynamically - - We already link to it, so I don't see the point of trying to load it - dynamically. - - src/hb-directwrite.cc | 36 ++---------------------------------- - 1 file changed, 2 insertions(+), 34 deletions(-) - -commit b2070a509c6aabc5a275749979d140f8d78206e6 -Author: Khaled Hosny -Date: Thu Jun 3 10:50:46 2021 +0200 - - [hb-directwrite] Don’t override new/delete - - This is a testing shaper, we don’t care for overridden malloc/free here. - Use malloc/free in the code called from hb_directwrite_face_create(). - - src/hb-directwrite.cc | 14 ++------------ - 1 file changed, 2 insertions(+), 12 deletions(-) - -commit 221d642b196a1bc1550e06a06d32bc8888590380 -Author: Khaled Hosny -Date: Thu Jun 3 10:45:23 2021 +0200 - - [hb-directwrite] Remove _hb_directwrite_shape_experimental_width - - Not used anywhere. - - src/hb-directwrite.cc | 128 +++----------------------------------------------- - 1 file changed, 6 insertions(+), 122 deletions(-) - -commit fa432a121e3c409de77cd2e2b1085b31b93be4c6 -Author: Khaled Hosny -Date: Sat Jun 5 04:06:58 2021 +0200 - - Rename various references to master branch - - .ci/deploy-docs.sh | 4 ++-- - .github/workflows/linux-ci.yml | 6 +++--- - .github/workflows/msvc-ci.yml | 4 ++-- - .github/workflows/msys2-ci.yml | 4 ++-- - README | 8 ++++---- - README.md | 4 ++-- - 6 files changed, 15 insertions(+), 15 deletions(-) - -commit 35d6af69435ff070cee00f7cd9741b3545ca161c -Author: Qunxin Liu -Date: Fri Jun 4 10:04:27 2021 -0700 - - [subset] fix fuzzer testcase: https://oss-fuzz.com/testcase-detail/5965777994907648 - - src/hb-ot-color-colr-table.hh | 15 +++++++++++++-- - ...-testcase-minimized-hb-subset-fuzzer-5965777994907648 | Bin 0 -> 159 bytes - 2 files changed, 13 insertions(+), 2 deletions(-) - -commit 92206345a390311e6ebe074238bf39d6dc77d79e -Author: Behdad Esfahbod -Date: Fri Jun 4 14:51:49 2021 -0600 - - [ci] Disable patch-level codecov failures - - Fixes https://github.com/harfbuzz/harfbuzz/issues/3004 - - .codecov.yml | 1 + - 1 file changed, 1 insertion(+) - -commit 3d48bfc18731e3c2187a5b0666a7e94dcab0150b -Author: Peter Williams -Date: Wed Jun 2 23:12:53 2021 -0400 - - Avoid a deprecation warning in graphite2 - - As of graphite2 1.3.7, `gr_make_face` is deprecated in favor of - `gr_make_face_with_ops`. It's a one-liner to port over to using it. - - This is potentially a compatibility break since I'm not sure when the - `with_ops` API was added, but the minimum version of graphite2 that's - supported by Harfbuzz doesn't seem to be documented anywhere anyway. - - src/hb-graphite2.cc | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 1b6008ca625e0f41cb34259368f91677a110b5dd -Author: Qunxin Liu -Date: Wed Jun 2 15:07:18 2021 -0700 - - fix fuzzer testcase: https://oss-fuzz.com/testcase-detail/5417934246772736 - - src/hb-ot-color-colr-table.hh | 12 +++++++++--- - ...z-testcase-minimized-hb-subset-fuzzer-5417934246772736 | Bin 0 -> 104 bytes - 2 files changed, 9 insertions(+), 3 deletions(-) - -commit 18f61210a43e2dc4e7001227e37fc899d5af7979 -Author: Garret Rieger -Date: Thu May 27 16:01:17 2021 -0700 - - Add public api methods to get/set the layout features to retain. - - src/hb-subset-input.cc | 20 ++++++++++++++++++++ - src/hb-subset.h | 9 +++++++++ - 2 files changed, 29 insertions(+) - -commit 243d056ff1c2af583ceb67e5dfbfaac51dc96e63 -Author: Andi-Bogdan Postelnicu -Date: Wed Jun 2 14:08:11 2021 +0300 - - Removed unused variable `supp_size` from plan_subset_encoding(...). - - src/hb-subset-cff1.cc | 4 +--- - 1 file changed, 1 insertion(+), 3 deletions(-) - -commit 7ab0f4eda9a8a1d7ccd334fa7f9fef4b038a1c24 -Author: Qunxin Liu -Date: Thu May 27 11:40:34 2021 -0700 - - fuzzer fix - - src/hb-subset.cc | 1 + - ...zz-testcase-minimized-hb-subset-fuzzer-4681956043390976 | Bin 0 -> 56 bytes - 2 files changed, 1 insertion(+) - -commit cb5a6b5a27cfe616113bafe7f23ad33f1b0d0a1e -Author: Qunxin Liu -Date: Wed May 19 17:33:46 2021 -0700 - - [subset] support option --layout-features - - src/hb-subset-input.cc | 91 +++++++++++++ - src/hb-subset-input.hh | 2 + - src/hb-subset-plan.cc | 147 +++++++++++---------- - src/hb-subset-plan.hh | 4 + - .../Comfortaa-Regular-new.default.61,62,63.ttf | Bin 8100 -> 7652 bytes - .../basics/Comfortaa-Regular-new.default.61,63.ttf | Bin 7736 -> 7284 bytes - .../basics/Comfortaa-Regular-new.default.61.ttf | Bin 7360 -> 6920 bytes - ...aa-Regular-new.default.retain-all-codepoint.ttf | Bin 222212 -> 221524 bytes - ...Regular-new.drop-hints-retain-gids.61,62,63.ttf | Bin 7012 -> 5104 bytes - ...aa-Regular-new.drop-hints-retain-gids.61,63.ttf | Bin 6712 -> 4808 bytes - ...ortaa-Regular-new.drop-hints-retain-gids.61.ttf | Bin 6388 -> 4220 bytes - ...drop-hints-retain-gids.retain-all-codepoint.ttf | Bin 190920 -> 190296 bytes - .../Comfortaa-Regular-new.drop-hints.61,62,63.ttf | Bin 3424 -> 3100 bytes - .../Comfortaa-Regular-new.drop-hints.61,63.ttf | Bin 3128 -> 2792 bytes - .../basics/Comfortaa-Regular-new.drop-hints.61.ttf | Bin 2800 -> 2472 bytes - ...Regular-new.drop-hints.retain-all-codepoint.ttf | Bin 190908 -> 190252 bytes - .../basics/Comfortaa-Regular-new.gids.61,62,63.ttf | Bin 9036 -> 8580 bytes - .../basics/Comfortaa-Regular-new.gids.61,63.ttf | Bin 8668 -> 8220 bytes - .../basics/Comfortaa-Regular-new.gids.61.ttf | Bin 8304 -> 7848 bytes - .../basics/Comfortaa-Regular-new.gids.62.ttf | Bin 8236 -> 7772 bytes - .../basics/Comfortaa-Regular-new.gids.63.ttf | Bin 8220 -> 7776 bytes - ...ortaa-Regular-new.gids.retain-all-codepoint.ttf | Bin 222212 -> 221524 bytes - ...gular-new.keep-all-layout-features.61,62,63.ttf | Bin 0 -> 8100 bytes - ...-Regular-new.keep-all-layout-features.61,63.ttf | Bin 0 -> 7736 bytes - ...taa-Regular-new.keep-all-layout-features.61.ttf | Bin 0 -> 7360 bytes - ...taa-Regular-new.keep-all-layout-features.62.ttf | Bin 0 -> 6796 bytes - ...taa-Regular-new.keep-all-layout-features.63.ttf | Bin 0 -> 6844 bytes - ...ep-all-layout-features.retain-all-codepoint.ttf | Bin 0 -> 222212 bytes - ...fortaa-Regular-new.layout-features.61,62,63.ttf | Bin 0 -> 7652 bytes - ...Comfortaa-Regular-new.layout-features.61,63.ttf | Bin 0 -> 7284 bytes - .../Comfortaa-Regular-new.layout-features.61.ttf | Bin 0 -> 6920 bytes - .../Comfortaa-Regular-new.layout-features.62.ttf | Bin 0 -> 6796 bytes - .../Comfortaa-Regular-new.layout-features.63.ttf | Bin 0 -> 6844 bytes - ...ar-new.layout-features.retain-all-codepoint.ttf | Bin 0 -> 219716 bytes - .../Comfortaa-Regular-new.name-ids.61,62,63.ttf | Bin 7840 -> 7392 bytes - .../Comfortaa-Regular-new.name-ids.61,63.ttf | Bin 7476 -> 7024 bytes - .../basics/Comfortaa-Regular-new.name-ids.61.ttf | Bin 7100 -> 6660 bytes - ...a-Regular-new.name-ids.retain-all-codepoint.ttf | Bin 221952 -> 221264 bytes - ...mfortaa-Regular-new.name-languages.61,62,63.ttf | Bin 8100 -> 7652 bytes - .../Comfortaa-Regular-new.name-languages.61,63.ttf | Bin 7736 -> 7284 bytes - .../Comfortaa-Regular-new.name-languages.61.ttf | Bin 7360 -> 6920 bytes - ...lar-new.name-languages.retain-all-codepoint.ttf | Bin 222212 -> 221524 bytes - .../Comfortaa-Regular-new.name-legacy.61,62,63.ttf | Bin 8100 -> 7652 bytes - .../Comfortaa-Regular-new.name-legacy.61,63.ttf | Bin 7736 -> 7284 bytes - .../Comfortaa-Regular-new.name-legacy.61.ttf | Bin 7360 -> 6920 bytes - ...egular-new.name-legacy.retain-all-codepoint.ttf | Bin 222212 -> 221524 bytes - .../Comfortaa-Regular-new.retain-gids.61,62,63.ttf | Bin 11688 -> 9656 bytes - .../Comfortaa-Regular-new.retain-gids.61,63.ttf | Bin 11320 -> 9300 bytes - .../Comfortaa-Regular-new.retain-gids.61.ttf | Bin 10952 -> 8668 bytes - ...egular-new.retain-gids.retain-all-codepoint.ttf | Bin 222224 -> 221568 bytes - ...ar-subset.keep-all-layout-features.61,62,63.ttf | Bin 0 -> 4128 bytes - ...gular-subset.keep-all-layout-features.61,63.ttf | Bin 0 -> 3580 bytes - ...-Regular-subset.keep-all-layout-features.61.ttf | Bin 0 -> 3156 bytes - ...-Regular-subset.keep-all-layout-features.62.ttf | Bin 0 -> 3180 bytes - ...-Regular-subset.keep-all-layout-features.63.ttf | Bin 0 -> 3048 bytes - ...ep-all-layout-features.retain-all-codepoint.ttf | Bin 0 -> 9524 bytes - ...gjo-Regular-subset.layout-features.61,62,63.ttf | Bin 0 -> 4128 bytes - ...eongjo-Regular-subset.layout-features.61,63.ttf | Bin 0 -> 3580 bytes - ...mMyeongjo-Regular-subset.layout-features.61.ttf | Bin 0 -> 3156 bytes - ...mMyeongjo-Regular-subset.layout-features.62.ttf | Bin 0 -> 3180 bytes - ...mMyeongjo-Regular-subset.layout-features.63.ttf | Bin 0 -> 3048 bytes - ...subset.layout-features.retain-all-codepoint.ttf | Bin 0 -> 9524 bytes - ...gular.abc.keep-all-layout-features.61,62,63.ttf | Bin 0 -> 2452 bytes - ...-Regular.abc.keep-all-layout-features.61,63.ttf | Bin 0 -> 2260 bytes - ...oto-Regular.abc.keep-all-layout-features.61.ttf | Bin 0 -> 2048 bytes - ...oto-Regular.abc.keep-all-layout-features.62.ttf | Bin 0 -> 1916 bytes - ...oto-Regular.abc.keep-all-layout-features.63.ttf | Bin 0 -> 1972 bytes - ...ep-all-layout-features.retain-all-codepoint.ttf | Bin 0 -> 2452 bytes - ...Roboto-Regular.abc.layout-features.61,62,63.ttf | Bin 0 -> 2452 bytes - .../Roboto-Regular.abc.layout-features.61,63.ttf | Bin 0 -> 2260 bytes - .../Roboto-Regular.abc.layout-features.61.ttf | Bin 0 -> 2048 bytes - .../Roboto-Regular.abc.layout-features.62.ttf | Bin 0 -> 1916 bytes - .../Roboto-Regular.abc.layout-features.63.ttf | Bin 0 -> 1972 bytes - ...ar.abc.layout-features.retain-all-codepoint.ttf | Bin 0 -> 2452 bytes - ...eSansPro-Regular.default.1FC,21,41,20,62,63.otf | Bin 4192 -> 2580 bytes - .../SourceSansPro-Regular.default.61,62,63.otf | Bin 3856 -> 2216 bytes - ...ourceSansPro-Regular.default.D7,D8,D9,DA,DE.otf | Bin 3144 -> 2328 bytes - ...subroutinize-retain-gids.1FC,21,41,20,62,63.otf | Bin 30788 -> 20232 bytes - ...Regular.desubroutinize-retain-gids.61,62,63.otf | Bin 30908 -> 2316 bytes - ...r.desubroutinize-retain-gids.D7,D8,D9,DA,DE.otf | Bin 31336 -> 30540 bytes - ...o-Regular.desubroutinize.1FC,21,41,20,62,63.otf | Bin 3968 -> 2436 bytes - ...urceSansPro-Regular.desubroutinize.61,62,63.otf | Bin 3556 -> 2120 bytes - ...nsPro-Regular.desubroutinize.D7,D8,D9,DA,DE.otf | Bin 3168 -> 2312 bytes - ...subroutinize-retain-gids.1FC,21,41,20,62,63.otf | Bin 30488 -> 20064 bytes - ...p-hints-desubroutinize-retain-gids.61,62,63.otf | Bin 30668 -> 2192 bytes - ...s-desubroutinize-retain-gids.D7,D8,D9,DA,DE.otf | Bin 31124 -> 30372 bytes - ...rop-hints-desubroutinize.1FC,21,41,20,62,63.otf | Bin 3668 -> 2268 bytes - ...-Regular.drop-hints-desubroutinize.61,62,63.otf | Bin 3320 -> 1996 bytes - ...ar.drop-hints-desubroutinize.D7,D8,D9,DA,DE.otf | Bin 2952 -> 2148 bytes - ...r.drop-hints-retain-gids.1FC,21,41,20,62,63.otf | Bin 30624 -> 20156 bytes - ...Pro-Regular.drop-hints-retain-gids.61,62,63.otf | Bin 30888 -> 2228 bytes - ...gular.drop-hints-retain-gids.D7,D8,D9,DA,DE.otf | Bin 31104 -> 30384 bytes - ...nsPro-Regular.drop-hints.1FC,21,41,20,62,63.otf | Bin 3808 -> 2352 bytes - .../SourceSansPro-Regular.drop-hints.61,62,63.otf | Bin 3524 -> 2060 bytes - ...ceSansPro-Regular.drop-hints.D7,D8,D9,DA,DE.otf | Bin 2932 -> 2164 bytes - ...sPro-Regular.retain-gids.1FC,21,41,20,62,63.otf | Bin 31012 -> 20384 bytes - .../SourceSansPro-Regular.retain-gids.61,62,63.otf | Bin 31208 -> 2384 bytes - ...eSansPro-Regular.retain-gids.D7,D8,D9,DA,DE.otf | Bin 31312 -> 30556 bytes - .../Roboto-Regular.default.1FC,21,41,20,62,63.ttf | Bin 4656 -> 3276 bytes - .../full-font/Roboto-Regular.default.61,62,63.ttf | Bin 3904 -> 2864 bytes - .../Roboto-Regular.default.D7,D8,D9,DA,DE.ttf | Bin 3976 -> 3216 bytes - ...oboto-Regular.drop-hints.1FC,21,41,20,62,63.ttf | Bin 2532 -> 1712 bytes - .../Roboto-Regular.drop-hints.61,62,63.ttf | Bin 2116 -> 1496 bytes - .../Roboto-Regular.drop-hints.D7,D8,D9,DA,DE.ttf | Bin 2184 -> 1728 bytes - ...ifVariable-Roman.default.1FC,21,41,20,62,63.ttf | Bin 6876 -> 4144 bytes - .../SourceSerifVariable-Roman.default.61,62,63.ttf | Bin 6552 -> 3984 bytes - ...eSerifVariable-Roman.default.D7,D8,D9,DA,DE.ttf | Bin 6136 -> 4548 bytes - ...ariable-Roman.drop-hints.1FC,21,41,20,62,63.ttf | Bin 6832 -> 4120 bytes - ...urceSerifVariable-Roman.drop-hints.61,62,63.ttf | Bin 6552 -> 3984 bytes - ...rifVariable-Roman.drop-hints.D7,D8,D9,DA,DE.ttf | Bin 6136 -> 4548 bytes - ...text1_multiple_subrules_f1.default.41,42,43.otf | Bin 1440 -> 1328 bytes - ...context1_multiple_subrules_f1.default.41,42.otf | Bin 1324 -> 1228 bytes - ...le_subrules_f1.default.retain-all-codepoint.otf | Bin 3812 -> 3700 bytes - ...1_multiple_subrules_f1.retain-gids.41,42,43.otf | Bin 2140 -> 2028 bytes - ...ext1_multiple_subrules_f1.retain-gids.41,42.otf | Bin 2028 -> 1932 bytes - ...ubrules_f1.retain-gids.retain-all-codepoint.otf | Bin 3812 -> 3700 bytes - ...text2_multiple_subrules_f1.default.41,42,43.otf | Bin 1456 -> 1328 bytes - ...context2_multiple_subrules_f1.default.41,42.otf | Bin 1336 -> 1228 bytes - ...le_subrules_f1.default.retain-all-codepoint.otf | Bin 3828 -> 3700 bytes - ...2_multiple_subrules_f1.retain-gids.41,42,43.otf | Bin 2156 -> 2028 bytes - ...ext2_multiple_subrules_f1.retain-gids.41,42.otf | Bin 2040 -> 1932 bytes - ...ubrules_f1.retain-gids.retain-all-codepoint.otf | Bin 3828 -> 3700 bytes - .../gpos_context3_simple_f1.default.41,42,43.otf | Bin 1420 -> 1308 bytes - ...ext3_simple_f1.default.retain-all-codepoint.otf | Bin 3792 -> 3680 bytes - ...pos_context3_simple_f1.retain-gids.41,42,43.otf | Bin 2120 -> 2008 bytes - ..._simple_f1.retain-gids.retain-all-codepoint.otf | Bin 3792 -> 3680 bytes - .../AdobeVFPrototype.default.41,42,43,57.otf | Bin 5460 -> 5440 bytes - .../AdobeVFPrototype.default.41,42,43.otf | Bin 4932 -> 4908 bytes - .../AdobeVFPrototype.default.41,42.otf | Bin 4452 -> 4432 bytes - .../AdobeVFPrototype.default.41,56,57.otf | Bin 4600 -> 4576 bytes - .../AdobeVFPrototype.default.41.otf | Bin 3748 -> 3728 bytes - .../AdobeVFPrototype.default.42,57.otf | Bin 4584 -> 4564 bytes - .../AdobeVFPrototype.drop-hints.41,42,43,57.otf | Bin 5272 -> 5252 bytes - .../AdobeVFPrototype.drop-hints.41,42,43.otf | Bin 4744 -> 4720 bytes - .../AdobeVFPrototype.drop-hints.41,42.otf | Bin 4264 -> 4244 bytes - .../AdobeVFPrototype.drop-hints.41,56,57.otf | Bin 4408 -> 4384 bytes - .../AdobeVFPrototype.drop-hints.41.otf | Bin 3560 -> 3540 bytes - .../AdobeVFPrototype.drop-hints.42,57.otf | Bin 4396 -> 4376 bytes - ...AdobeVFPrototype.keep-gdef-gpos.41,42,43,57.otf | Bin 5460 -> 5440 bytes - .../AdobeVFPrototype.keep-gdef-gpos.41,42,43.otf | Bin 4932 -> 4908 bytes - .../AdobeVFPrototype.keep-gdef-gpos.41,42.otf | Bin 4452 -> 4432 bytes - .../AdobeVFPrototype.keep-gdef-gpos.41,56,57.otf | Bin 4600 -> 4576 bytes - .../AdobeVFPrototype.keep-gdef-gpos.41.otf | Bin 3748 -> 3728 bytes - .../AdobeVFPrototype.keep-gdef-gpos.42,57.otf | Bin 4584 -> 4564 bytes - .../Roboto-Regular.default.41,42,43.ttf | Bin 3668 -> 2764 bytes - .../Roboto-Regular.drop-hints.41,42,43.ttf | Bin 2036 -> 1472 bytes - .../Roboto-Regular.keep-gdef-gpos.41,42,43.ttf | Bin 3668 -> 2764 bytes - .../layout.gpos/gpos1_2_font.default.41,43.otf | Bin 1352 -> 1292 bytes - .../layout.gpos/gpos1_2_font.default.41,46.otf | Bin 1484 -> 1424 bytes - .../layout.gpos/gpos1_2_font.default.41.otf | Bin 1232 -> 1176 bytes - .../layout.gpos/gpos1_2_font.default.43,46.otf | Bin 1348 -> 1288 bytes - .../gpos1_2_font.default.retain-all-codepoint.otf | Bin 3668 -> 3604 bytes - .../layout.gpos/gpos1_2_font.retain-gids.41,43.otf | Bin 2068 -> 2008 bytes - .../layout.gpos/gpos1_2_font.retain-gids.41,46.otf | Bin 2232 -> 2172 bytes - .../layout.gpos/gpos1_2_font.retain-gids.41.otf | Bin 1932 -> 1876 bytes - .../layout.gpos/gpos1_2_font.retain-gids.43,46.otf | Bin 2096 -> 2036 bytes - ...os1_2_font.retain-gids.retain-all-codepoint.otf | Bin 3668 -> 3604 bytes - .../gpos2_1_font7.default.21,23,25.otf | Bin 1428 -> 1360 bytes - .../layout.gpos2/gpos2_1_font7.default.21,23.otf | Bin 1308 -> 1240 bytes - .../gpos2_1_font7.default.retain-all-codepoint.otf | Bin 3688 -> 3604 bytes - .../gpos2_1_font7.retain-gids.21,23,25.otf | Bin 1764 -> 1696 bytes - .../gpos2_1_font7.retain-gids.21,23.otf | Bin 1632 -> 1564 bytes - ...s2_1_font7.retain-gids.retain-all-codepoint.otf | Bin 3688 -> 3604 bytes - .../gpos2_2_font5.default.21,23,25.otf | Bin 1480 -> 1360 bytes - .../layout.gpos2/gpos2_2_font5.default.21,23.otf | Bin 1360 -> 1240 bytes - .../gpos2_2_font5.default.retain-all-codepoint.otf | Bin 3724 -> 3604 bytes - .../gpos2_2_font5.retain-gids.21,23,25.otf | Bin 1816 -> 1696 bytes - .../gpos2_2_font5.retain-gids.21,23.otf | Bin 1684 -> 1564 bytes - ...s2_2_font5.retain-gids.retain-all-codepoint.otf | Bin 3724 -> 3604 bytes - .../layout.gpos3/gpos3_font3.default.28,29.otf | Bin 1328 -> 1248 bytes - .../layout.gpos3/gpos3_font3.default.28,2B.otf | Bin 1456 -> 1376 bytes - .../layout.gpos3/gpos3_font3.default.29,2B.otf | Bin 1368 -> 1292 bytes - .../gpos3_font3.default.retain-all-codepoint.otf | Bin 3728 -> 3636 bytes - .../layout.gpos3/gpos3_font3.retain-gids.28,29.otf | Bin 1712 -> 1632 bytes - .../layout.gpos3/gpos3_font3.retain-gids.28,2B.otf | Bin 1860 -> 1780 bytes - .../layout.gpos3/gpos3_font3.retain-gids.29,2B.otf | Bin 1772 -> 1696 bytes - ...pos3_font3.retain-gids.retain-all-codepoint.otf | Bin 3728 -> 3636 bytes - ...pos4_multiple_anchors_1.default.41,42,43,44.otf | Bin 1640 -> 1516 bytes - ...pos4_multiple_anchors_1.default.41,42,43,45.otf | Bin 1632 -> 1524 bytes - .../gpos4_multiple_anchors_1.default.41,42,43.otf | Bin 1404 -> 1308 bytes - ...4_multiple_anchors_1.default.41,43,44,45,46.otf | Bin 1992 -> 1864 bytes - .../gpos4_multiple_anchors_1.default.41,43,44.otf | Bin 1632 -> 1524 bytes - .../gpos4_multiple_anchors_1.default.41,43,45.otf | Bin 1632 -> 1532 bytes - .../gpos4_multiple_anchors_1.default.41,43.otf | Bin 1400 -> 1312 bytes - ...iple_anchors_1.default.retain-all-codepoint.otf | Bin 3816 -> 3668 bytes - ..._multiple_anchors_1.retain-gids.41,42,43,44.otf | Bin 2344 -> 2220 bytes - ..._multiple_anchors_1.retain-gids.41,42,43,45.otf | Bin 2352 -> 2244 bytes - ...os4_multiple_anchors_1.retain-gids.41,42,43.otf | Bin 2104 -> 2008 bytes - ...ltiple_anchors_1.retain-gids.41,43,44,45,46.otf | Bin 2712 -> 2584 bytes - ...os4_multiple_anchors_1.retain-gids.41,43,44.otf | Bin 2348 -> 2240 bytes - ...os4_multiple_anchors_1.retain-gids.41,43,45.otf | Bin 2360 -> 2260 bytes - .../gpos4_multiple_anchors_1.retain-gids.41,43.otf | Bin 2116 -> 2028 bytes - ..._anchors_1.retain-gids.retain-all-codepoint.otf | Bin 3816 -> 3668 bytes - .../gpos5_font1.default.41,42,43,44.otf | Bin 1668 -> 1536 bytes - .../gpos5_font1.default.41,42,43,45.otf | Bin 1660 -> 1544 bytes - .../layout.gpos5/gpos5_font1.default.41,42,43.otf | Bin 1432 -> 1328 bytes - .../layout.gpos5/gpos5_font1.default.41,42,44.otf | Bin 1588 -> 1460 bytes - .../layout.gpos5/gpos5_font1.default.41,42,45.otf | Bin 1560 -> 1448 bytes - .../layout.gpos5/gpos5_font1.default.41,42.otf | Bin 1328 -> 1228 bytes - .../gpos5_font1.default.retain-all-codepoint.otf | Bin 3884 -> 3688 bytes - .../gpos5_font1.retain-gids.41,42,43,44.otf | Bin 2372 -> 2240 bytes - .../gpos5_font1.retain-gids.41,42,43,45.otf | Bin 2380 -> 2264 bytes - .../gpos5_font1.retain-gids.41,42,43.otf | Bin 2132 -> 2028 bytes - .../gpos5_font1.retain-gids.41,42,44.otf | Bin 2304 -> 2176 bytes - .../gpos5_font1.retain-gids.41,42,45.otf | Bin 2284 -> 2172 bytes - .../layout.gpos5/gpos5_font1.retain-gids.41,42.otf | Bin 2032 -> 1932 bytes - ...pos5_font1.retain-gids.retain-all-codepoint.otf | Bin 3884 -> 3688 bytes - .../gpos6_font1.default.41,42,43,44.otf | Bin 1616 -> 1492 bytes - .../gpos6_font1.default.41,42,43,45.otf | Bin 1608 -> 1500 bytes - .../layout.gpos6/gpos6_font1.default.41,42,43.otf | Bin 1380 -> 1284 bytes - .../gpos6_font1.default.41,43,44,45,46.otf | Bin 1968 -> 1840 bytes - .../layout.gpos6/gpos6_font1.default.41,43,44.otf | Bin 1608 -> 1500 bytes - .../layout.gpos6/gpos6_font1.default.41,43,45.otf | Bin 1608 -> 1508 bytes - .../layout.gpos6/gpos6_font1.default.41,43.otf | Bin 1376 -> 1288 bytes - .../gpos6_font1.default.retain-all-codepoint.otf | Bin 3792 -> 3644 bytes - .../gpos6_font1.retain-gids.41,42,43,44.otf | Bin 2320 -> 2196 bytes - .../gpos6_font1.retain-gids.41,42,43,45.otf | Bin 2328 -> 2220 bytes - .../gpos6_font1.retain-gids.41,42,43.otf | Bin 2080 -> 1984 bytes - .../gpos6_font1.retain-gids.41,43,44,45,46.otf | Bin 2688 -> 2560 bytes - .../gpos6_font1.retain-gids.41,43,44.otf | Bin 2324 -> 2216 bytes - .../gpos6_font1.retain-gids.41,43,45.otf | Bin 2336 -> 2236 bytes - .../layout.gpos6/gpos6_font1.retain-gids.41,43.otf | Bin 2092 -> 2004 bytes - ...pos6_font1.retain-gids.retain-all-codepoint.otf | Bin 3792 -> 3644 bytes - ...ular.default.627,644,623,62D,644,627,645,2E.ttf | Bin 13288 -> 12724 bytes - .../Amiri-Regular.default.627,644,62D,628.ttf | Bin 10188 -> 10028 bytes - .../Amiri-Regular.default.627,644.ttf | Bin 4364 -> 4208 bytes - ...-Regular.default.633,645,627,621,20,644,627.ttf | Bin 10324 -> 9552 bytes - .../Amiri-Regular.default.63A,64A,631.ttf | Bin 7824 -> 7360 bytes - ....retain-gids.627,644,623,62D,644,627,645,2E.ttf | Bin 48596 -> 48052 bytes - .../Amiri-Regular.retain-gids.627,644,62D,628.ttf | Bin 42836 -> 42676 bytes - .../Amiri-Regular.retain-gids.627,644.ttf | Bin 36892 -> 36736 bytes - ...ular.retain-gids.633,645,627,621,20,644,627.ttf | Bin 46680 -> 45944 bytes - .../Amiri-Regular.retain-gids.63A,64A,631.ttf | Bin 42896 -> 38024 bytes - ...g1_multiple_subrules_f1.default.30,31,32,33.otf | Bin 1944 -> 1840 bytes - ...le_subrules_f1.default.retain-all-codepoint.otf | Bin 3832 -> 3704 bytes - ...ultiple_subrules_f1.retain-gids.30,31,32,33.otf | Bin 2408 -> 2304 bytes - ...ubrules_f1.retain-gids.retain-all-codepoint.otf | Bin 3832 -> 3704 bytes - ...g2_multiple_subrules_f1.default.30,31,32,33.otf | Bin 1964 -> 1840 bytes - ...le_subrules_f1.default.retain-all-codepoint.otf | Bin 3864 -> 3704 bytes - ...ultiple_subrules_f1.retain-gids.30,31,32,33.otf | Bin 2428 -> 2304 bytes - ...ubrules_f1.retain-gids.retain-all-codepoint.otf | Bin 3864 -> 3704 bytes - ...pos_chaining3_simple_f1.default.30,31,32,33.otf | Bin 1936 -> 1816 bytes - ...ing3_simple_f1.default.retain-all-codepoint.otf | Bin 3800 -> 3680 bytes - ...chaining3_simple_f1.retain-gids.30,31,32,33.otf | Bin 2400 -> 2280 bytes - ..._simple_f1.retain-gids.retain-all-codepoint.otf | Bin 3800 -> 3680 bytes - .../layout.gpos9/gpos9_font2.default.41,42.otf | Bin 1272 -> 1184 bytes - .../layout.gpos9/gpos9_font2.default.41.otf | Bin 1236 -> 1172 bytes - .../layout.gpos9/gpos9_font2.default.42.otf | Bin 1096 -> 1032 bytes - .../layout.gpos9/gpos9_font2.retain-gids.41,42.otf | Bin 1976 -> 1888 bytes - .../layout.gpos9/gpos9_font2.retain-gids.41.otf | Bin 1936 -> 1872 bytes - .../layout.gpos9/gpos9_font2.retain-gids.42.otf | Bin 1808 -> 1744 bytes - ...ub_alternate_substitution.default.53A9,53F1.otf | Bin 4984 -> 4348 bytes - .../gsub_alternate_substitution.default.53A9.otf | Bin 4524 -> 3904 bytes - .../gsub_alternate_substitution.default.53F1.otf | Bin 2816 -> 2452 bytes - ...e_substitution.default.retain-all-codepoint.otf | Bin 6728 -> 6040 bytes - ...lternate_substitution.retain-gids.53A9,53F1.otf | Bin 5108 -> 4472 bytes - ...sub_alternate_substitution.retain-gids.53A9.otf | Bin 4676 -> 4056 bytes - ...sub_alternate_substitution.retain-gids.53F1.otf | Bin 3012 -> 2648 bytes - ...bstitution.retain-gids.retain-all-codepoint.otf | Bin 6820 -> 6132 bytes - ...text1_multiple_subrules_f2.default.41,42,43.otf | Bin 1460 -> 1340 bytes - ...context1_multiple_subrules_f2.default.41,42.otf | Bin 1420 -> 1240 bytes - ...le_subrules_f2.default.retain-all-codepoint.otf | Bin 3808 -> 3712 bytes - ...1_multiple_subrules_f2.retain-gids.41,42,43.otf | Bin 2248 -> 2040 bytes - ...ext1_multiple_subrules_f2.retain-gids.41,42.otf | Bin 2224 -> 1944 bytes - ...ubrules_f2.retain-gids.retain-all-codepoint.otf | Bin 3808 -> 3712 bytes - ...text2_multiple_subrules_f2.default.41,42,43.otf | Bin 1476 -> 1340 bytes - ...context2_multiple_subrules_f2.default.41,42.otf | Bin 1432 -> 1240 bytes - ...le_subrules_f2.default.retain-all-codepoint.otf | Bin 3824 -> 3712 bytes - ...2_multiple_subrules_f2.retain-gids.41,42,43.otf | Bin 2264 -> 2040 bytes - ...ext2_multiple_subrules_f2.retain-gids.41,42.otf | Bin 2236 -> 1944 bytes - ...ubrules_f2.retain-gids.retain-all-codepoint.otf | Bin 3824 -> 3712 bytes - ..._successive_f1.default.retain-all-codepoint.otf | Bin 3828 -> 3700 bytes - ...cessive_f1.retain-gids.retain-all-codepoint.otf | Bin 3828 -> 3700 bytes - ...g1_multiple_subrules_f1.default.30,31,32,33.otf | Bin 1916 -> 1852 bytes - ...le_subrules_f1.default.retain-all-codepoint.otf | Bin 3804 -> 3716 bytes - ...ultiple_subrules_f1.retain-gids.30,31,32,33.otf | Bin 2380 -> 2316 bytes - ...ubrules_f1.retain-gids.retain-all-codepoint.otf | Bin 3804 -> 3716 bytes - ...g2_multiple_subrules_f1.default.30,31,32,33.otf | Bin 1944 -> 1852 bytes - ...le_subrules_f1.default.retain-all-codepoint.otf | Bin 3836 -> 3716 bytes - ...ultiple_subrules_f1.retain-gids.30,31,32,33.otf | Bin 2408 -> 2316 bytes - ...ubrules_f1.retain-gids.retain-all-codepoint.otf | Bin 3836 -> 3716 bytes - ...sub_chaining3_simple_f2.default.30,31,32,33.otf | Bin 1904 -> 1828 bytes - ...ing3_simple_f2.default.retain-all-codepoint.otf | Bin 3772 -> 3692 bytes - ...chaining3_simple_f2.retain-gids.30,31,32,33.otf | Bin 2368 -> 2292 bytes - ..._simple_f2.retain-gids.retain-all-codepoint.otf | Bin 3772 -> 3692 bytes - ..._created.default.41,42,43,44,45,46,47,48,49.otf | Bin 2384 -> 2176 bytes - ...nually_created.default.41,42,43,44,45,46,47.otf | Bin 1996 -> 1888 bytes - ...nually_created.default.41,42,43,44,45,46,4D.otf | Bin 1996 -> 1852 bytes - ...nually_created.default.41,42,43,44,45,46,51.otf | Bin 2044 -> 1932 bytes - .../gsub8_manually_created.default.61.otf | Bin 1540 -> 1224 bytes - ...nually_created.default.retain-all-codepoint.otf | Bin 3832 -> 3656 bytes - ...ated.retain-gids.41,42,43,44,45,46,47,48,49.otf | Bin 3172 -> 2884 bytes - ...ly_created.retain-gids.41,42,43,44,45,46,47.otf | Bin 2796 -> 2596 bytes - ...ly_created.retain-gids.41,42,43,44,45,46,4D.otf | Bin 2860 -> 2636 bytes - ...ly_created.retain-gids.41,42,43,44,45,46,51.otf | Bin 2864 -> 2760 bytes - .../gsub8_manually_created.retain-gids.61.otf | Bin 2584 -> 2276 bytes - ...ly_created.retain-gids.retain-all-codepoint.otf | Bin 3832 -> 3656 bytes - .../Roboto-Regular.smallcaps.default.41,42,43.ttf | Bin 3028 -> 2464 bytes - .../Roboto-Regular.smallcaps.default.41,43.ttf | Bin 2628 -> 2284 bytes - .../layout/Roboto-Regular.smallcaps.default.41.ttf | Bin 2252 -> 2084 bytes - .../layout/Roboto-Regular.smallcaps.default.43.ttf | Bin 2324 -> 2116 bytes - .../Roboto-Regular.smallcaps.default.CA,CB.ttf | Bin 2668 -> 2388 bytes - ...boto-Regular.smallcaps.retain-gids.41,42,43.ttf | Bin 6844 -> 2716 bytes - .../Roboto-Regular.smallcaps.retain-gids.41,43.ttf | Bin 6472 -> 2548 bytes - .../Roboto-Regular.smallcaps.retain-gids.41.ttf | Bin 6096 -> 2336 bytes - .../Roboto-Regular.smallcaps.retain-gids.43.ttf | Bin 6152 -> 2384 bytes - .../Roboto-Regular.smallcaps.retain-gids.CA,CB.ttf | Bin 7996 -> 6476 bytes - .../variable/Fraunces.default.26,66,69,124,125.ttf | Bin 18448 -> 15912 bytes - .../data/expected/variable/Fraunces.default.61.ttf | Bin 5880 -> 4348 bytes - .../data/profiles/keep-all-layout-features.txt | 1 + - test/subset/data/profiles/layout-features.txt | 1 + - test/subset/data/tests/basics.tests | 2 + - test/subset/generate-expected-outputs.py | 1 - - util/options-subset.cc | 53 ++++++++ - 314 files changed, 233 insertions(+), 69 deletions(-) - -commit 0989b5553af0e252d7201da9bf762d2f68fade9e -Author: Garret Rieger -Date: Tue May 18 17:12:50 2021 -0700 - - [subset] Add test for overlaps flag setting. - - test/api/fonts/Roboto-Regular.abcAE.ttf | Bin 0 -> 7224 bytes - test/api/fonts/Roboto-Regular.bAE.ttf | Bin 0 -> 6732 bytes - test/api/test-subset-glyf.c | 26 ++++++++++++++++++++++++++ - 3 files changed, 26 insertions(+) - -commit 73ff04a324c3ac721bbebd2a7817dbe819c351fa -Author: Garret Rieger -Date: Tue May 18 16:54:01 2021 -0700 - - [subset] add option to have the subsetter set the mac overlaps flag on each glyph. - - src/hb-ot-glyf-table.hh | 50 +++++++++++++++++++++++++++++++++++++++++-------- - src/hb-subset-input.cc | 14 ++++++++++++++ - src/hb-subset-input.hh | 1 + - src/hb-subset-plan.cc | 3 ++- - src/hb-subset-plan.hh | 1 + - src/hb-subset.h | 7 +++++++ - util/options-subset.cc | 3 ++- - 7 files changed, 69 insertions(+), 10 deletions(-) - -commit f739e1dc6a875d092d94bcc906d1604887729eac -Author: Qunxin Liu -Date: Tue May 11 11:44:32 2021 -0700 - - [subset] subset both CPAL and COLRv1 - - src/hb-ot-color-colr-table.hh | 69 +++++++++-- - src/hb-ot-color-cpal-table.hh | 131 ++++++++++++++++++++- - src/hb-subset-plan.cc | 28 ++++- - src/hb-subset-plan.hh | 2 +- - src/hb-subset.cc | 2 + - .../TwemojiMozilla.subset.default.32,3299.ttf | Bin 5264 -> 1576 bytes - .../api/fonts/TwemojiMozilla.subset.default.32.ttf | Bin 4660 -> 932 bytes - .../fonts/TwemojiMozilla.subset.default.3297.ttf | Bin 5068 -> 1376 bytes - test/api/fonts/TwemojiMozilla.subset.ttf | Bin 5712 -> 1936 bytes - .../TwemojiMozilla.subset.default.32,3297,3299.ttf | Bin 5712 -> 1936 bytes - .../colr/TwemojiMozilla.subset.default.32,3297.ttf | Bin 5176 -> 1400 bytes - .../colr/TwemojiMozilla.subset.default.32,3299.ttf | Bin 5352 -> 1576 bytes - .../colr/TwemojiMozilla.subset.default.32.ttf | Bin 4748 -> 932 bytes - .../TwemojiMozilla.subset.default.3297,3299.ttf | Bin 5692 -> 1916 bytes - .../colr/TwemojiMozilla.subset.default.3297.ttf | Bin 5152 -> 1376 bytes - .../colr/TwemojiMozilla.subset.default.3299.ttf | Bin 5328 -> 1552 bytes - ....subset.drop-hints-retain-gids.32,3297,3299.ttf | Bin 5692 -> 1916 bytes - ...zilla.subset.drop-hints-retain-gids.32,3297.ttf | Bin 5172 -> 1396 bytes - ...zilla.subset.drop-hints-retain-gids.32,3299.ttf | Bin 5352 -> 1576 bytes - ...ojiMozilla.subset.drop-hints-retain-gids.32.ttf | Bin 4728 -> 912 bytes - ...lla.subset.drop-hints-retain-gids.3297,3299.ttf | Bin 5676 -> 1900 bytes - ...iMozilla.subset.drop-hints-retain-gids.3297.ttf | Bin 5148 -> 1372 bytes - ...iMozilla.subset.drop-hints-retain-gids.3299.ttf | Bin 5328 -> 1552 bytes - ...emojiMozilla.subset.drop-hints.32,3297,3299.ttf | Bin 5692 -> 1916 bytes - .../TwemojiMozilla.subset.drop-hints.32,3297.ttf | Bin 5156 -> 1380 bytes - .../TwemojiMozilla.subset.drop-hints.32,3299.ttf | Bin 5332 -> 1556 bytes - .../colr/TwemojiMozilla.subset.drop-hints.32.ttf | Bin 4728 -> 912 bytes - .../TwemojiMozilla.subset.drop-hints.3297,3299.ttf | Bin 5672 -> 1896 bytes - .../colr/TwemojiMozilla.subset.drop-hints.3297.ttf | Bin 5132 -> 1356 bytes - .../colr/TwemojiMozilla.subset.drop-hints.3299.ttf | Bin 5308 -> 1532 bytes - ...mojiMozilla.subset.retain-gids.32,3297,3299.ttf | Bin 5712 -> 1936 bytes - .../TwemojiMozilla.subset.retain-gids.32,3297.ttf | Bin 5192 -> 1416 bytes - .../TwemojiMozilla.subset.retain-gids.32,3299.ttf | Bin 5372 -> 1596 bytes - .../colr/TwemojiMozilla.subset.retain-gids.32.ttf | Bin 4748 -> 932 bytes - ...TwemojiMozilla.subset.retain-gids.3297,3299.ttf | Bin 5696 -> 1920 bytes - .../TwemojiMozilla.subset.retain-gids.3297.ttf | Bin 5168 -> 1392 bytes - .../TwemojiMozilla.subset.retain-gids.3299.ttf | Bin 5348 -> 1572 bytes - .../colr_with_components/colr-table.default.6B.ttf | Bin 4576 -> 4260 bytes - .../colr-table.drop-hints-retain-gids.6B.ttf | Bin 5300 -> 4984 bytes - .../colr-table.drop-hints.6B.ttf | Bin 4576 -> 4260 bytes - .../colr-table.retain-gids.6B.ttf | Bin 5300 -> 4984 bytes - .../colrv1/TestCOLRv1.default.E000,E004.ttf | Bin 0 -> 900 bytes - .../colrv1/TestCOLRv1.default.E003,E004.ttf | Bin 0 -> 1000 bytes - .../expected/colrv1/TestCOLRv1.default.E004.ttf | Bin 0 -> 744 bytes - .../TestCOLRv1.default.retain-all-codepoint.ttf | Bin 0 -> 1444 bytes - ...TestCOLRv1.drop-hints-retain-gids.E000,E004.ttf | Bin 0 -> 984 bytes - ...TestCOLRv1.drop-hints-retain-gids.E003,E004.ttf | Bin 0 -> 1076 bytes - .../TestCOLRv1.drop-hints-retain-gids.E004.ttf | Bin 0 -> 836 bytes - ...drop-hints-retain-gids.retain-all-codepoint.ttf | Bin 0 -> 1444 bytes - .../colrv1/TestCOLRv1.drop-hints.E000,E004.ttf | Bin 0 -> 900 bytes - .../colrv1/TestCOLRv1.drop-hints.E003,E004.ttf | Bin 0 -> 1000 bytes - .../expected/colrv1/TestCOLRv1.drop-hints.E004.ttf | Bin 0 -> 744 bytes - .../TestCOLRv1.drop-hints.retain-all-codepoint.ttf | Bin 0 -> 1444 bytes - .../colrv1/TestCOLRv1.retain-gids.E000,E004.ttf | Bin 0 -> 984 bytes - .../colrv1/TestCOLRv1.retain-gids.E003,E004.ttf | Bin 0 -> 1076 bytes - .../colrv1/TestCOLRv1.retain-gids.E004.ttf | Bin 0 -> 836 bytes - ...TestCOLRv1.retain-gids.retain-all-codepoint.ttf | Bin 0 -> 1444 bytes - test/subset/data/fonts/TestCOLRv1.ttf | Bin 0 -> 1780 bytes - test/subset/data/tests/colrv1.tests | 21 ++++ - test/subset/subset_test_suite.py | 4 + - 60 files changed, 241 insertions(+), 16 deletions(-) - -commit 466e1fdf5dc2589fe134bec16a71d9ba9f0d035d -Author: Garret Rieger -Date: Wed May 26 14:22:21 2021 -0700 - - [subset] remove unnessecary brackets. - - src/hb-set.hh | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit 583237299d623b2e8afa36a4e334e396874da073 -Author: Garret Rieger -Date: Wed May 26 14:06:02 2021 -0700 - - Add cmp() method for major to page map. - - src/hb-set.hh | 14 ++++++++------ - 1 file changed, 8 insertions(+), 6 deletions(-) - -commit 2c137045dc53c4ad678e18499cc556c00a0ce3cb -Author: Garret Rieger -Date: Thu May 20 16:22:04 2021 -0700 - - [subset] Optimize set iteration by caching the last found page map index. - - Reuse it if possible on consecutive calls to next(). Will signifcantly speed up cases where the entire set is iterated. In local testing iterating a very large set was 10x faster. - - src/hb-set.hh | 37 ++++++++++++++++++++++++++++--------- - 1 file changed, 28 insertions(+), 9 deletions(-) - -commit 1bb00cd54b2343971371d520fdda159d2e2a9018 -Author: Garret Rieger -Date: Wed May 26 14:18:32 2021 -0700 - - [subset] add num-iterations flag to util/hb-subset. - - util/hb-subset.cc | 6 +++++- - util/options-subset.cc | 3 +++ - util/options.hh | 2 ++ - 3 files changed, 10 insertions(+), 1 deletion(-) - -commit 9e5738a86af1bc50480b0263664057b665b94cba -Author: Behdad Esfahbod -Date: Wed May 26 15:12:39 2021 -0600 - - [set] Okay, giving up on constexpr till C++14 - - ../src/hb-set.hh:213:89: error: call to non-'constexpr' function 'const elt_t& hb_vector_size_t::operator[](unsigned int) const [with elt_t = long long unsigned int; unsigned int byte_size = 64]' - - src/hb-set.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit fac0bc78764a368a22623ba5b5a49ed803b0e915 -Author: Khaled Hosny -Date: Wed May 26 14:44:58 2021 +0200 - - [meson] Drop more wraps we don’t use directly - - Makefile.am | 5 ++--- - subprojects/.gitignore | 5 ----- - subprojects/libffi.wrap | 5 ----- - subprojects/libpng.wrap | 12 ------------ - subprojects/pixman.wrap | 6 ------ - subprojects/proxy-libintl.wrap | 5 ----- - subprojects/zlib.wrap | 12 ------------ - 7 files changed, 2 insertions(+), 48 deletions(-) - -commit 21d1034dc0320a43061df89a1fcb1f20c58f56a2 -Author: Khaled Hosny -Date: Wed May 26 14:31:05 2021 +0200 - - [meson] Remove expat.wrap that we don’t use directly - - Fixes https://github.com/harfbuzz/harfbuzz/issues/2987 - - Makefile.am | 1 - - subprojects/.gitignore | 1 - - subprojects/expat.wrap | 9 --------- - 3 files changed, 11 deletions(-) - -commit 90fa558a5bfd9ac99dc8434810f50ef2b69014af -Author: Behdad Esfahbod -Date: Wed May 26 15:05:48 2021 -0600 - - [set] Another try at constexpr to make msvc happy - - src/hb-set.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit bf5d4a6392de3d0d26a4d2175490532639631d4c -Author: Behdad Esfahbod -Date: Wed May 26 14:27:02 2021 -0600 - - [set] Add TODO - - src/hb-set.hh | 1 + - 1 file changed, 1 insertion(+) - -commit 11d03f1ff973bb1a0731cdf6302d1587185c347a -Author: Behdad Esfahbod -Date: Wed May 26 14:26:05 2021 -0600 - - [set] Mark a couple methods as constexpr - - src/hb-set.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit d2829ad374a10957683b54f1d253df6653befd93 -Author: Behdad Esfahbod -Date: Wed May 26 14:24:27 2021 -0600 - - [set] Refactor code into page_t::is_subset() - - src/hb-set.hh | 18 ++++++++++++------ - 1 file changed, 12 insertions(+), 6 deletions(-) - -commit e47e44a8583d9f74bd13172a6a0b084745f7d5fe -Author: Behdad Esfahbod -Date: Wed May 26 14:19:27 2021 -0600 - - [set] Whitespace - - src/hb-set.hh | 15 ++------------- - 1 file changed, 2 insertions(+), 13 deletions(-) - -commit 2000f47ae539ff31c248626e4d142a3221522708 -Author: Kurt Kartaltepe -Date: Wed May 19 00:34:09 2021 -0700 - - [set] Compute is_subset by comparing pages. - - Test subsets one page at a time instead of by codepoints. On my machine - this is about 250x faster than the previous implementation. - - src/hb-set.hh | 44 +++++++++++++++++++++++++++++++++++++------- - test/api/test-set.c | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ - 2 files changed, 90 insertions(+), 7 deletions(-) - -commit 1dffb553613d8bcaa5440d27b411ae1ff22bf68b -Author: Dominik Röttsches -Date: Tue May 18 12:31:14 2021 +0300 - - Chromium build fixes for C++ 17 warning and missing _remap_indexes - - Use class instead of typename, move _remap_indexes out of #ifndef. - - Fixes #2979 - - src/hb-ot-color-colrv1-closure.hh | 8 ++++---- - src/hb-subset-plan.cc | 2 +- - 2 files changed, 5 insertions(+), 5 deletions(-) - -commit 89df3539966d7d544b49495a667ccebf94bb045c -Author: Jonathan Kew -Date: Thu May 13 11:45:32 2021 +0100 - - [aat] Add testcase for Apple Color Emoji couple-with-skin-tones sequence. - - test/shaping/data/in-house/tests/macos.tests | 3 +++ - 1 file changed, 3 insertions(+) - -commit bbc5fc373143b6a5f66b7e72eac42a9377c81d1e -Author: Jonathan Kew -Date: Thu May 13 11:39:09 2021 +0100 - - [aat] If shaping via morx, don't adjust mark positioning when zeroing widths. - - src/hb-ot-shape.cc | 8 +++++++- - 1 file changed, 7 insertions(+), 1 deletion(-) - -commit 4f1e8d2bf702910e45d3d3756227abbb9d659093 -Author: Jonathan Kew -Date: Wed May 5 11:11:43 2021 +0100 - - [aat] Update glyph properties from GDEF if available when doing a replacement. - - src/hb-aat-layout-common.hh | 4 ++++ - src/hb-aat-layout-morx-table.hh | 17 +++++++++++++++++ - src/hb-aat-layout.cc | 7 ++++--- - 3 files changed, 25 insertions(+), 3 deletions(-) - -commit 5e0ec33b3d9379b78084cd59a9ebed3fc583eed6 -Author: Garret Rieger -Date: Wed May 12 14:46:54 2021 -0700 - - Error when link width not in [2, 4] - - src/hb-repacker.hh | 17 +++++++++++------ - 1 file changed, 11 insertions(+), 6 deletions(-) - -commit b23f29bf05650134a9d398d03eb271840172ac9e -Author: Qunxin Liu -Date: Sat Apr 17 09:59:45 2021 -0700 - - [subset] Add subset () method for COLRv1 Paint tables, BaseGlyphV1List and LayerV1List - - Also add support for Offset24 in serializer and repacker - - src/hb-ot-color-colr-table.hh | 196 +++++++++++++++++++++++++++++++++++++++++- - src/hb-repacker.hh | 16 ++-- - src/hb-serialize.hh | 17 ++-- - 3 files changed, 216 insertions(+), 13 deletions(-) - -commit 413769bf8616c6b3cf420f35801bd19129155498 -Author: Garret Rieger -Date: Wed May 12 14:14:06 2021 -0700 - - Add hb-ot-color-colrv1-closure.hh to sources list. - - src/Makefile.sources | 1 + - 1 file changed, 1 insertion(+) - -commit de0eba20ed4fc38fb4bb81f8deab4a2e62187763 -Author: Garret Rieger -Date: Wed May 12 14:05:34 2021 -0700 - - Remove array for visited_paint. - - src/hb-ot-color-colr-table.hh | 12 +++++------- - 1 file changed, 5 insertions(+), 7 deletions(-) - -commit e59ffe54824ffefd97cd14c81b0778afb4d8a878 -Author: Qunxin Liu -Date: Thu Apr 1 12:01:19 2021 -0700 - - [subset] COLRv1 layer/palette indices closure - - src/hb-ot-color-colr-table.hh | 134 ++++++++++++++++++++++++++++++++++++++ - src/hb-ot-color-colrv1-closure.hh | 101 ++++++++++++++++++++++++++++ - src/hb-subset-plan.cc | 12 ++++ - src/hb-subset-plan.hh | 4 ++ - 4 files changed, 251 insertions(+) - -commit a08900b721fc8c5e26215dabe62c4124985d434d -Author: Garret Rieger -Date: Tue May 4 16:48:41 2021 -0700 - - [subset] fix failing colrv0 subsetting when font has composite glyphs. - - Composite glyph collection was happening along side colrv0 glyph collection which meant it was possible to miss grabbing the component glyphs for a glyph added by colrv0. - - src/hb-subset-plan.cc | 16 ++++++++++++---- - test/subset/data/Makefile.am | 1 + - test/subset/data/Makefile.sources | 1 + - .../colr_with_components/colr-table.default.6B.ttf | Bin 0 -> 4576 bytes - .../colr-table.drop-hints-retain-gids.6B.ttf | Bin 0 -> 5300 bytes - .../colr_with_components/colr-table.drop-hints.6B.ttf | Bin 0 -> 4576 bytes - .../colr_with_components/colr-table.retain-gids.6B.ttf | Bin 0 -> 5300 bytes - test/subset/data/fonts/colr-table.ttf | Bin 0 -> 26952 bytes - test/subset/data/tests/colr_with_components.tests | 11 +++++++++++ - test/subset/meson.build | 1 + - 10 files changed, 26 insertions(+), 4 deletions(-) - -commit b54d9b695a17afb86f022084e12d72bb4a199673 -Author: tstuefe -Date: Thu May 6 06:22:48 2021 +0200 - - start - - src/hb-ot-shape-complex-use-machine.hh | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit b07b97d5d753ffb58cd5abcbc898d602f76b0f72 -Author: Garret Rieger -Date: Mon Mar 29 10:39:38 2021 -0700 - - [subset] Add more Noto Nastaliq test cases. - - ...Urdu-Bold.default.627,644,623,62D,644,627,645,2E.ttf | Bin 0 -> 11436 bytes - .../NotoNastaliqUrdu-Bold.default.627,644,62D,628.ttf | Bin 0 -> 18288 bytes - .../NotoNastaliqUrdu-Bold.default.627,644.ttf | Bin 0 -> 3568 bytes - ...aliqUrdu-Bold.default.633,645,627,621,20,644,627.ttf | Bin 0 -> 12408 bytes - .../NotoNastaliqUrdu-Bold.default.63A,64A,631.ttf | Bin 0 -> 20408 bytes - ...-Bold.retain-gids.627,644,623,62D,644,627,645,2E.ttf | Bin 0 -> 18272 bytes - ...otoNastaliqUrdu-Bold.retain-gids.627,644,62D,628.ttf | Bin 0 -> 24416 bytes - .../NotoNastaliqUrdu-Bold.retain-gids.627,644,62D.ttf | Bin 11532 -> 0 bytes - .../NotoNastaliqUrdu-Bold.retain-gids.627,644.ttf | Bin 0 -> 9216 bytes - ...Urdu-Bold.retain-gids.633,645,627,621,20,644,627.ttf | Bin 0 -> 18212 bytes - .../NotoNastaliqUrdu-Bold.retain-gids.63A,64A,631.ttf | Bin 0 -> 26628 bytes - test/subset/data/tests/layout.notonastaliqurdu.tests | 7 ++++++- - 12 files changed, 6 insertions(+), 1 deletion(-) - -commit b37f03f16b39d397a626f097858e9ae550234ca0 -Author: Khaled Hosny -Date: Tue May 4 02:07:06 2021 +0200 - - 2.8.1 - - NEWS | 9 +++++++++ - configure.ac | 2 +- - meson.build | 2 +- - src/hb-version.h | 4 ++-- - 4 files changed, 13 insertions(+), 4 deletions(-) - -commit d3e84413fd512441e62e5200eab6a24d34282e9a -Author: Khaled Hosny -Date: Sun May 2 01:03:21 2021 +0200 - - [ci] Drop macos-10_13_6-aat-fonts job - - This version of macOS is no longer supported by Homebrew, it takes 26 - minutes to brew the dependencies before it fails. - - .circleci/config.yml | 14 -------------- - 1 file changed, 14 deletions(-) - -commit 517d68b26e04be63a306cdacec20218a18ede3a4 -Author: Khaled Hosny -Date: Sat May 1 23:50:39 2021 +0200 - - [ci] Pin fedora 33 docker image - - g-ir-scanner is broken on 34 image: - - FAILED: src/HarfBuzz-0.0.gir - /usr/bin/g-ir-scanner --no-libtool --namespace=HarfBuzz --nsversion=0.0 --warn-all --output src/HarfBuzz-0.0.gir --c-include=hb-gobject.h --cflags-begin -DHB_NO_SINGLE_HEADER_ERROR -DHAVE_GOBJECT -DHB_EXTERN= --cflags-end -I/root/project/src -I/root/project/build/src -I./. -I../. --filelist=/root/project/build/src/libharfbuzz-gobject.so.0.20800.0.p/HarfBuzz_0.0_gir_filelist --include=GObject-2.0 --symbol-prefix=hb --symbol-prefix=hb_gobject --identifier-prefix=hb_ --pkg-export=harfbuzz-gobject --cflags-begin -DHAVE_CONFIG_H -I./. -I../. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I./src/. -I../src/. -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gobject-introspection-1.0 --cflags-end --add-include-path=/usr/share/gir-1.0 -L/root/project/build/src --extra-library=harfbuzz --library harfbuzz-gobject -L/root/project/build/src -L/root/project/build/src --extra-library=glib-2.0 --extra-library=gobject-2.0 --extra-library=m --extra-library=freetype --extra-library=girepository-1.0 --sources-top-dirs /root/project/subprojects/ --sources-top-dirs /root/project/build/subprojects/ - ../src/hb-buffer.cc:641: Warning: HarfBuzz: unknown annotation: xconstructor - ../src/hb-face.cc:192: Warning: HarfBuzz: unknown annotation: xconstructor - ../src/hb-font.cc:551: Warning: HarfBuzz: unknown annotation: xconstructor - ../src/hb-font.cc:1519: Warning: HarfBuzz: unknown annotation: xconstructor - ../src/hb-map.cc:43: Warning: HarfBuzz: unknown annotation: xconstructor - ../src/hb-ot-name.cc:55: Warning: HarfBuzz: unexpected annotation: out - ../src/hb-set.cc:43: Warning: HarfBuzz: unknown annotation: xconstructor - ../src/hb-shape-plan.cc:173: Warning: HarfBuzz: unknown annotation: xconstructor - ../src/hb-shape-plan.cc:201: Warning: HarfBuzz: unknown annotation: xconstructor - ../src/hb-unicode.cc:172: Warning: HarfBuzz: unknown annotation: xconstructor - g-ir-scanner: link: gcc -pthread -o /root/project/build/tmp-introspecta9rymai3/HarfBuzz-0.0 /root/project/build/tmp-introspecta9rymai3/HarfBuzz-0.0.o -L. -Wl,-rpath,. -Wl,--no-as-needed -L/root/project/build/src -Wl,-rpath,/root/project/build/src -L/root/project/build/src -Wl,-rpath,/root/project/build/src -L/root/project/build/src -Wl,-rpath,/root/project/build/src -lharfbuzz-gobject -lharfbuzz -lglib-2.0 -lgobject-2.0 -lm -lfreetype -lgirepository-1.0 -lgio-2.0 -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0 - ldd: error: you do not have read permission for `/root/project/build/tmp-introspecta9rymai3/HarfBuzz-0.0' - Traceback (most recent call last): - File "/usr/bin/g-ir-scanner", line 99, in - sys.exit(scanner_main(sys.argv)) - File "/usr/lib64/gobject-introspection/giscanner/scannermain.py", line 599, in scanner_main - shlibs = create_binary(transformer, options, args) - File "/usr/lib64/gobject-introspection/giscanner/scannermain.py", line 428, in create_binary - shlibs = resolve_shlibs(options, binary, options.libraries) - File "/usr/lib64/gobject-introspection/giscanner/shlibs.py", line 170, in resolve_shlibs - _resolve_non_libtool(options, binary, non_libtool)) - File "/usr/lib64/gobject-introspection/giscanner/shlibs.py", line 106, in _resolve_non_libtool - output = subprocess.check_output(args) - File "/usr/lib64/python3.9/subprocess.py", line 424, in check_output - return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, - File "/usr/lib64/python3.9/subprocess.py", line 528, in run - raise CalledProcessError(retcode, process.args, - subprocess.CalledProcessError: Command '['ldd', '/root/project/build/tmp-introspecta9rymai3/HarfBuzz-0.0']' returned non-zero exit status 1. - ninja: build stopped: subcommand failed. - - .circleci/config.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 2b7647649a2016e1f10a0eacc2bf2285e1207954 -Author: Garret Rieger -Date: Fri Apr 30 13:34:16 2021 -0700 - - [subset] update test-subset-gpos expected files. - - test/api/fonts/AdobeVFPrototype.WA.gpos.otf | Bin 4148 -> 4096 bytes - test/api/fonts/Roboto-Regular-gpos-aw.ttf | Bin 2236 -> 2228 bytes - 2 files changed, 0 insertions(+), 0 deletions(-) - -commit be50779cda64d6b7bc8422d6b428892ca829733f -Author: Garret Rieger -Date: Fri Apr 30 12:59:17 2021 -0700 - - [subset] correct ClassDef format determination. - - It was possible for glyph_min to be a glyph mapped to class zero which threw off the number of glyph calculation. - - src/hb-ot-layout-common.hh | 8 +++++--- - 1 file changed, 5 insertions(+), 3 deletions(-) - -commit 90713f270eeb8286067c141245209814b9e7e706 -Author: Khaled Hosny -Date: Fri Apr 30 16:56:39 2021 +0200 - - [hb-ot-layout] Document some return values - - src/hb-ot-layout.cc | 25 +++++++++++++++++++++++-- - 1 file changed, 23 insertions(+), 2 deletions(-) - -commit 46362a954c1408f8e4046d1c2069f2f9d7f80dcd -Merge: 42bf8e3d4 e25efb31f -Author: Behdad Esfahbod -Date: Fri Apr 30 11:39:47 2021 -0600 - - Merge pull request #2958 from googlefonts/layout_by_default_gr - - [subset] Enable layout subsetting by default. - -commit 42bf8e3d49b789adc00c6d7602ba8c73757ebfaf -Author: Behdad Esfahbod -Date: Mon Apr 26 12:31:44 2021 -0600 - - [util] Disable chafa's truecolor mode - - See https://github.com/harfbuzz/harfbuzz/pull/2959#issuecomment-827056111 - - util/helper-cairo-ansi.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit c571a96eb0866093f6bece1069f292e34f933421 -Author: Khaled Hosny -Date: Sun Apr 25 15:43:30 2021 +0200 - - [ci] Disable Chafa on jobs that enables all auto features - - No suitable versions are available on these setups. - - .circleci/config.yml | 2 +- - .github/workflows/linux-ci.yml | 2 +- - .github/workflows/msys2-ci.yml | 3 ++- - 3 files changed, 4 insertions(+), 3 deletions(-) - -commit 8298c2f93b0dbe39eae66455c80e68e812213a2f -Author: Hans Petter Jansson -Date: Fri Apr 23 18:37:58 2021 +0200 - - [hb-view] Use Chafa for terminal graphics if available - - This produces high-quality terminal graphics using symbols or sixels - according to the detected terminal capabilities. - - Fixes #2430. - - configure.ac | 19 +++++++++ - meson.build | 7 ++++ - meson_options.txt | 2 + - util/Makefile.am | 2 + - util/helper-cairo-ansi.cc | 104 +++++++++++++++++++++++++++++++++++++++++++++- - util/meson.build | 2 +- - 6 files changed, 133 insertions(+), 3 deletions(-) - -commit e25efb31f21441d29866a2be866abb835b77d7c8 -Author: Garret Rieger -Date: Fri Apr 23 19:09:37 2021 -0700 - - [subset] consider all value formats when computing effective format. - - src/hb-ot-layout-gpos-table.hh | 9 ++++----- - 1 file changed, 4 insertions(+), 5 deletions(-) - -commit 84dbfacfec3818478a1e5ac2b9922d25917493ef -Author: Qunxin Liu -Date: Thu Apr 15 16:52:11 2021 -0700 - - [subset] fix collect_variation_idx in PairPosFormat2 - - src/hb-ot-layout-common.hh | 15 ++++++++++----- - src/hb-ot-layout-gdef-table.hh | 4 ++-- - src/hb-ot-layout-gpos-table.hh | 22 ++++++++++++++++++---- - 3 files changed, 30 insertions(+), 11 deletions(-) - -commit d356d0f79c6086e913722a8f40cbc0e59a365c1b -Author: Garret Rieger -Date: Fri Apr 23 17:41:09 2021 -0700 - - [subset] optimize ValueRecord's for PairPosFormat1. - - src/hb-ot-layout-gpos-table.hh | 53 +++++++++++++++++++++++++++++++++++++++++- - 1 file changed, 52 insertions(+), 1 deletion(-) - -commit f9fbe4817ebcb0c88865dc19b7a6e616842a7be6 -Author: Garret Rieger -Date: Fri Apr 23 17:06:06 2021 -0700 - - [subset] implement value record optimization for PairPosFormat2. - - src/hb-ot-layout-gpos-table.hh | 59 ++++++++++++++++++++++++++++-------------- - 1 file changed, 40 insertions(+), 19 deletions(-) - -commit badb8e409bf65a7a0a1f73af735c86870c5c7899 -Author: Garret Rieger -Date: Fri Apr 23 16:32:56 2021 -0700 - - [subset] use copy_values for PairPos serialize. - - src/hb-ot-layout-gpos-table.hh | 111 +++++++++++++++++++++++------------------ - 1 file changed, 62 insertions(+), 49 deletions(-) - -commit 2f50283cd33f20b41a9efd5e851272edacf1d8c1 -Author: Garret Rieger -Date: Fri Apr 23 15:21:30 2021 -0700 - - [subset] Begin implementing ValueRecord optimization: - - remove value records which have a zero value. - - src/hb-ot-layout-gpos-table.hh | 91 +++++++++++++++++++++++++++++++++++------- - 1 file changed, 76 insertions(+), 15 deletions(-) - -commit 5df7c668ba530fb5b27e6eed482aa286db3add23 -Author: Garret Rieger -Date: Thu Apr 22 16:45:14 2021 -0700 - - [subset] In SinglePosFormat1 serialize only 1 value record. - - Previously one record per glyph in the subset was serialized. - - src/hb-ot-layout-gpos-table.hh | 22 ++++++++++++++-------- - 1 file changed, 14 insertions(+), 8 deletions(-) - -commit 92757f68097aaae74043a5030789289cc3ce514e -Author: Garret Rieger -Date: Thu Apr 22 15:18:35 2021 -0700 - - [subset] Don't drop anchor device tables when dropping hints. These may contain variation data. - - Update subseting expected files to match latest version of fontTools. - - src/hb-ot-layout-gpos-table.hh | 20 +++++++++----------- - .../Comfortaa-Regular-new.default.61,62,63.ttf | Bin 8100 -> 8100 bytes - .../basics/Comfortaa-Regular-new.default.61,63.ttf | Bin 7736 -> 7736 bytes - .../basics/Comfortaa-Regular-new.default.61.ttf | Bin 7360 -> 7360 bytes - .../basics/Comfortaa-Regular-new.default.62.ttf | Bin 6796 -> 6796 bytes - ...aa-Regular-new.default.retain-all-codepoint.ttf | Bin 222212 -> 222212 bytes - ...Regular-new.drop-hints-retain-gids.61,62,63.ttf | Bin 7032 -> 7012 bytes - ...aa-Regular-new.drop-hints-retain-gids.61,63.ttf | Bin 6724 -> 6712 bytes - ...ortaa-Regular-new.drop-hints-retain-gids.61.ttf | Bin 6396 -> 6388 bytes - ...ortaa-Regular-new.drop-hints-retain-gids.62.ttf | Bin 4396 -> 4396 bytes - ...ortaa-Regular-new.drop-hints-retain-gids.63.ttf | Bin 4472 -> 4468 bytes - ...drop-hints-retain-gids.retain-all-codepoint.ttf | Bin 187952 -> 190920 bytes - .../Comfortaa-Regular-new.drop-hints.61,62,63.ttf | Bin 3444 -> 3424 bytes - .../Comfortaa-Regular-new.drop-hints.61,63.ttf | Bin 3140 -> 3128 bytes - .../basics/Comfortaa-Regular-new.drop-hints.61.ttf | Bin 2804 -> 2800 bytes - .../basics/Comfortaa-Regular-new.drop-hints.62.ttf | Bin 2396 -> 2396 bytes - .../basics/Comfortaa-Regular-new.drop-hints.63.ttf | Bin 2464 -> 2460 bytes - ...Regular-new.drop-hints.retain-all-codepoint.ttf | Bin 187944 -> 190908 bytes - .../basics/Comfortaa-Regular-new.gids.61,62,63.ttf | Bin 9036 -> 9036 bytes - .../basics/Comfortaa-Regular-new.gids.61,63.ttf | Bin 8668 -> 8668 bytes - .../basics/Comfortaa-Regular-new.gids.61.ttf | Bin 8304 -> 8304 bytes - .../basics/Comfortaa-Regular-new.gids.62.ttf | Bin 8236 -> 8236 bytes - .../basics/Comfortaa-Regular-new.gids.63.ttf | Bin 8220 -> 8220 bytes - ...ortaa-Regular-new.gids.retain-all-codepoint.ttf | Bin 222212 -> 222212 bytes - .../Comfortaa-Regular-new.name-ids.61,62,63.ttf | Bin 7840 -> 7840 bytes - .../Comfortaa-Regular-new.name-ids.61,63.ttf | Bin 7476 -> 7476 bytes - .../basics/Comfortaa-Regular-new.name-ids.61.ttf | Bin 7100 -> 7100 bytes - .../basics/Comfortaa-Regular-new.name-ids.62.ttf | Bin 6536 -> 6536 bytes - ...a-Regular-new.name-ids.retain-all-codepoint.ttf | Bin 221952 -> 221952 bytes - ...mfortaa-Regular-new.name-languages.61,62,63.ttf | Bin 8100 -> 8100 bytes - .../Comfortaa-Regular-new.name-languages.61,63.ttf | Bin 7736 -> 7736 bytes - .../Comfortaa-Regular-new.name-languages.61.ttf | Bin 7360 -> 7360 bytes - .../Comfortaa-Regular-new.name-languages.62.ttf | Bin 6796 -> 6796 bytes - ...lar-new.name-languages.retain-all-codepoint.ttf | Bin 222212 -> 222212 bytes - .../Comfortaa-Regular-new.name-legacy.61,62,63.ttf | Bin 8100 -> 8100 bytes - .../Comfortaa-Regular-new.name-legacy.61,63.ttf | Bin 7736 -> 7736 bytes - .../Comfortaa-Regular-new.name-legacy.61.ttf | Bin 7360 -> 7360 bytes - .../Comfortaa-Regular-new.name-legacy.62.ttf | Bin 6796 -> 6796 bytes - ...egular-new.name-legacy.retain-all-codepoint.ttf | Bin 222212 -> 222212 bytes - .../Comfortaa-Regular-new.retain-gids.61,62,63.ttf | Bin 11688 -> 11688 bytes - .../Comfortaa-Regular-new.retain-gids.61,63.ttf | Bin 11320 -> 11320 bytes - .../Comfortaa-Regular-new.retain-gids.61.ttf | Bin 10952 -> 10952 bytes - .../Comfortaa-Regular-new.retain-gids.62.ttf | Bin 8796 -> 8796 bytes - ...egular-new.retain-gids.retain-all-codepoint.ttf | Bin 222224 -> 222224 bytes - ...Regular.abc.drop-hints-retain-gids.61,62,63.ttf | Bin 1208 -> 1192 bytes - ...to-Regular.abc.drop-hints-retain-gids.61,63.ttf | Bin 1136 -> 1124 bytes - ...oboto-Regular.abc.drop-hints-retain-gids.61.ttf | Bin 988 -> 984 bytes - ...oboto-Regular.abc.drop-hints-retain-gids.63.ttf | Bin 972 -> 968 bytes - ...drop-hints-retain-gids.retain-all-codepoint.ttf | Bin 1208 -> 1192 bytes - .../Roboto-Regular.abc.drop-hints.61,62,63.ttf | Bin 1208 -> 1192 bytes - .../basics/Roboto-Regular.abc.drop-hints.61,63.ttf | Bin 1120 -> 1108 bytes - .../basics/Roboto-Regular.abc.drop-hints.61.ttf | Bin 988 -> 984 bytes - .../basics/Roboto-Regular.abc.drop-hints.63.ttf | Bin 960 -> 956 bytes - ...Regular.abc.drop-hints.retain-all-codepoint.ttf | Bin 1208 -> 1192 bytes - ...subroutinize-retain-gids.1FC,21,41,20,62,63.otf | Bin 30500 -> 30488 bytes - ...rop-hints-desubroutinize.1FC,21,41,20,62,63.otf | Bin 3680 -> 3668 bytes - ...r.drop-hints-retain-gids.1FC,21,41,20,62,63.otf | Bin 30636 -> 30624 bytes - ...nsPro-Regular.drop-hints.1FC,21,41,20,62,63.otf | Bin 3820 -> 3808 bytes - .../Roboto-Regular.drop-hints.D7,D8,D9,DA,DE.ttf | Bin 2192 -> 2184 bytes - ...ifVariable-Roman.default.1FC,21,41,20,62,63.ttf | Bin 6876 -> 6876 bytes - .../SourceSerifVariable-Roman.default.61,62,63.ttf | Bin 6552 -> 6552 bytes - ...ariable-Roman.drop-hints.1FC,21,41,20,62,63.ttf | Bin 6612 -> 6832 bytes - ...urceSerifVariable-Roman.drop-hints.61,62,63.ttf | Bin 6356 -> 6552 bytes - ...rifVariable-Roman.drop-hints.D7,D8,D9,DA,DE.ttf | Bin 5880 -> 6136 bytes - .../AdobeVFPrototype.drop-hints.41,42,43,57.otf | Bin 5180 -> 5272 bytes - .../AdobeVFPrototype.drop-hints.41,42,43.otf | Bin 4688 -> 4744 bytes - .../AdobeVFPrototype.drop-hints.41,42.otf | Bin 4236 -> 4264 bytes - .../AdobeVFPrototype.drop-hints.41,56,57.otf | Bin 4348 -> 4408 bytes - .../AdobeVFPrototype.drop-hints.41.otf | Bin 3552 -> 3560 bytes - .../AdobeVFPrototype.drop-hints.42,57.otf | Bin 4364 -> 4396 bytes - .../Roboto-Regular.drop-hints.1E00,303.ttf | Bin 1468 -> 1464 bytes - .../expected/layout.khmer/Khmer.default.1780.ttf | Bin 0 -> 4204 bytes - ...ult.1789,17BB,17C6,1794,17B6,1793,1798,17BE.ttf | Bin 0 -> 6412 bytes - .../expected/layout.khmer/Khmer.default.31.ttf | Bin 0 -> 4140 bytes - .../layout.khmer/Khmer.retain-gids.1780.ttf | Bin 0 -> 4464 bytes - ...ids.1789,17BB,17C6,1794,17B6,1793,1798,17BE.ttf | Bin 0 -> 7848 bytes - .../expected/layout.khmer/Khmer.retain-gids.31.ttf | Bin 0 -> 4256 bytes - .../variable/Fraunces.default.26,66,69,124,125.ttf | Bin 0 -> 18448 bytes - .../data/expected/variable/Fraunces.default.61.ttf | Bin 0 -> 5880 bytes - 79 files changed, 9 insertions(+), 11 deletions(-) - -commit 6fddc2bbf9224bde4327e1792a683de637ad5613 -Author: Garret Rieger -Date: Thu Apr 1 15:34:17 2021 -0700 - - [subset] subset layout tables (G*) by default. - - src/hb-subset-input.cc | 3 --- - .../Comfortaa-Regular-new.default.61,62,63.ttf | Bin 7392 -> 8100 bytes - .../basics/Comfortaa-Regular-new.default.61,63.ttf | Bin 7036 -> 7736 bytes - .../basics/Comfortaa-Regular-new.default.61.ttf | Bin 6684 -> 7360 bytes - .../basics/Comfortaa-Regular-new.default.62.ttf | Bin 6628 -> 6796 bytes - .../basics/Comfortaa-Regular-new.default.63.ttf | Bin 6608 -> 6844 bytes - ...aa-Regular-new.default.retain-all-codepoint.ttf | Bin 182876 -> 222212 bytes - ...Regular-new.drop-hints-retain-gids.61,62,63.ttf | Bin 4844 -> 7032 bytes - ...aa-Regular-new.drop-hints-retain-gids.61,63.ttf | Bin 4552 -> 6724 bytes - ...ortaa-Regular-new.drop-hints-retain-gids.61.ttf | Bin 3988 -> 6396 bytes - ...ortaa-Regular-new.drop-hints-retain-gids.62.ttf | Bin 4228 -> 4396 bytes - ...ortaa-Regular-new.drop-hints-retain-gids.63.ttf | Bin 4236 -> 4472 bytes - ...drop-hints-retain-gids.retain-all-codepoint.ttf | Bin 151672 -> 187952 bytes - .../Comfortaa-Regular-new.drop-hints.61,62,63.ttf | Bin 2852 -> 3444 bytes - .../Comfortaa-Regular-new.drop-hints.61,63.ttf | Bin 2552 -> 3140 bytes - .../basics/Comfortaa-Regular-new.drop-hints.61.ttf | Bin 2240 -> 2804 bytes - .../basics/Comfortaa-Regular-new.drop-hints.62.ttf | Bin 2228 -> 2396 bytes - .../basics/Comfortaa-Regular-new.drop-hints.63.ttf | Bin 2228 -> 2464 bytes - ...Regular-new.drop-hints.retain-all-codepoint.ttf | Bin 151608 -> 187944 bytes - .../basics/Comfortaa-Regular-new.gids.61,62,63.ttf | Bin 8296 -> 9036 bytes - .../basics/Comfortaa-Regular-new.gids.61,63.ttf | Bin 7944 -> 8668 bytes - .../basics/Comfortaa-Regular-new.gids.61.ttf | Bin 7588 -> 8304 bytes - .../basics/Comfortaa-Regular-new.gids.62.ttf | Bin 7528 -> 8236 bytes - .../basics/Comfortaa-Regular-new.gids.63.ttf | Bin 7516 -> 8220 bytes - ...ortaa-Regular-new.gids.retain-all-codepoint.ttf | Bin 182876 -> 222212 bytes - ...Regular-new.keep-layout-drop-hints.61,62,63.ttf | Bin 3444 -> 0 bytes - ...aa-Regular-new.keep-layout-drop-hints.61,63.ttf | Bin 3140 -> 0 bytes - ...ortaa-Regular-new.keep-layout-drop-hints.61.ttf | Bin 2804 -> 0 bytes - ...ortaa-Regular-new.keep-layout-drop-hints.62.ttf | Bin 2396 -> 0 bytes - ...ortaa-Regular-new.keep-layout-drop-hints.63.ttf | Bin 2464 -> 0 bytes - ...keep-layout-drop-hints.retain-all-codepoint.ttf | Bin 187944 -> 0 bytes - .../Comfortaa-Regular-new.keep-layout.61,62,63.ttf | Bin 8100 -> 0 bytes - .../Comfortaa-Regular-new.keep-layout.61,63.ttf | Bin 7736 -> 0 bytes - .../Comfortaa-Regular-new.keep-layout.61.ttf | Bin 7360 -> 0 bytes - .../Comfortaa-Regular-new.keep-layout.62.ttf | Bin 6796 -> 0 bytes - .../Comfortaa-Regular-new.keep-layout.63.ttf | Bin 6844 -> 0 bytes - ...egular-new.keep-layout.retain-all-codepoint.ttf | Bin 222212 -> 0 bytes - .../Comfortaa-Regular-new.name-ids.61,62,63.ttf | Bin 7132 -> 7840 bytes - .../Comfortaa-Regular-new.name-ids.61,63.ttf | Bin 6776 -> 7476 bytes - .../basics/Comfortaa-Regular-new.name-ids.61.ttf | Bin 6424 -> 7100 bytes - .../basics/Comfortaa-Regular-new.name-ids.62.ttf | Bin 6368 -> 6536 bytes - .../basics/Comfortaa-Regular-new.name-ids.63.ttf | Bin 6348 -> 6584 bytes - ...a-Regular-new.name-ids.retain-all-codepoint.ttf | Bin 182616 -> 221952 bytes - ...mfortaa-Regular-new.name-languages.61,62,63.ttf | Bin 7392 -> 8100 bytes - .../Comfortaa-Regular-new.name-languages.61,63.ttf | Bin 7036 -> 7736 bytes - .../Comfortaa-Regular-new.name-languages.61.ttf | Bin 6684 -> 7360 bytes - .../Comfortaa-Regular-new.name-languages.62.ttf | Bin 6628 -> 6796 bytes - .../Comfortaa-Regular-new.name-languages.63.ttf | Bin 6608 -> 6844 bytes - ...lar-new.name-languages.retain-all-codepoint.ttf | Bin 182876 -> 222212 bytes - .../Comfortaa-Regular-new.name-legacy.61,62,63.ttf | Bin 7392 -> 8100 bytes - .../Comfortaa-Regular-new.name-legacy.61,63.ttf | Bin 7036 -> 7736 bytes - .../Comfortaa-Regular-new.name-legacy.61.ttf | Bin 6684 -> 7360 bytes - .../Comfortaa-Regular-new.name-legacy.62.ttf | Bin 6628 -> 6796 bytes - .../Comfortaa-Regular-new.name-legacy.63.ttf | Bin 6608 -> 6844 bytes - ...egular-new.name-legacy.retain-all-codepoint.ttf | Bin 182876 -> 222212 bytes - .../Comfortaa-Regular-new.retain-gids.61,62,63.ttf | Bin 9384 -> 11688 bytes - .../Comfortaa-Regular-new.retain-gids.61,63.ttf | Bin 9036 -> 11320 bytes - .../Comfortaa-Regular-new.retain-gids.61.ttf | Bin 8432 -> 10952 bytes - .../Comfortaa-Regular-new.retain-gids.62.ttf | Bin 8628 -> 8796 bytes - .../Comfortaa-Regular-new.retain-gids.63.ttf | Bin 8616 -> 8852 bytes - ...egular-new.retain-gids.retain-all-codepoint.ttf | Bin 182940 -> 222224 bytes - ...ular-subset.keep-layout-drop-hints.61,62,63.ttf | Bin 1452 -> 0 bytes - ...Regular-subset.keep-layout-drop-hints.61,63.ttf | Bin 1276 -> 0 bytes - ...jo-Regular-subset.keep-layout-drop-hints.61.ttf | Bin 1128 -> 0 bytes - ...jo-Regular-subset.keep-layout-drop-hints.62.ttf | Bin 1140 -> 0 bytes - ...jo-Regular-subset.keep-layout-drop-hints.63.ttf | Bin 1104 -> 0 bytes - ...keep-layout-drop-hints.retain-all-codepoint.ttf | Bin 3536 -> 0 bytes - ...yeongjo-Regular-subset.keep-layout.61,62,63.ttf | Bin 4128 -> 0 bytes - ...umMyeongjo-Regular-subset.keep-layout.61,63.ttf | Bin 3580 -> 0 bytes - ...NanumMyeongjo-Regular-subset.keep-layout.61.ttf | Bin 3156 -> 0 bytes - ...NanumMyeongjo-Regular-subset.keep-layout.62.ttf | Bin 3180 -> 0 bytes - ...NanumMyeongjo-Regular-subset.keep-layout.63.ttf | Bin 3048 -> 0 bytes - ...lar-subset.keep-layout.retain-all-codepoint.ttf | Bin 9524 -> 0 bytes - .../basics/Roboto-Regular.abc.default.61,62,63.ttf | Bin 2168 -> 2452 bytes - .../basics/Roboto-Regular.abc.default.61,63.ttf | Bin 1988 -> 2260 bytes - .../basics/Roboto-Regular.abc.default.61.ttf | Bin 1792 -> 2048 bytes - .../basics/Roboto-Regular.abc.default.62.ttf | Bin 1740 -> 1916 bytes - .../basics/Roboto-Regular.abc.default.63.ttf | Bin 1716 -> 1972 bytes - ...to-Regular.abc.default.retain-all-codepoint.ttf | Bin 2168 -> 2452 bytes - ...Regular.abc.drop-hints-retain-gids.61,62,63.ttf | Bin 924 -> 1208 bytes - ...to-Regular.abc.drop-hints-retain-gids.61,63.ttf | Bin 856 -> 1136 bytes - ...oboto-Regular.abc.drop-hints-retain-gids.61.ttf | Bin 732 -> 988 bytes - ...oboto-Regular.abc.drop-hints-retain-gids.62.ttf | Bin 704 -> 880 bytes - ...oboto-Regular.abc.drop-hints-retain-gids.63.ttf | Bin 716 -> 972 bytes - ...drop-hints-retain-gids.retain-all-codepoint.ttf | Bin 924 -> 1208 bytes - .../Roboto-Regular.abc.drop-hints.61,62,63.ttf | Bin 924 -> 1208 bytes - .../basics/Roboto-Regular.abc.drop-hints.61,63.ttf | Bin 848 -> 1120 bytes - .../basics/Roboto-Regular.abc.drop-hints.61.ttf | Bin 732 -> 988 bytes - .../basics/Roboto-Regular.abc.drop-hints.62.ttf | Bin 700 -> 876 bytes - .../basics/Roboto-Regular.abc.drop-hints.63.ttf | Bin 704 -> 960 bytes - ...Regular.abc.drop-hints.retain-all-codepoint.ttf | Bin 924 -> 1208 bytes - .../basics/Roboto-Regular.abc.gids.61,62,63.ttf | Bin 2168 -> 2452 bytes - .../basics/Roboto-Regular.abc.gids.61,63.ttf | Bin 2168 -> 2452 bytes - .../expected/basics/Roboto-Regular.abc.gids.61.ttf | Bin 2168 -> 2452 bytes - .../expected/basics/Roboto-Regular.abc.gids.62.ttf | Bin 2168 -> 2452 bytes - .../expected/basics/Roboto-Regular.abc.gids.63.ttf | Bin 2168 -> 2452 bytes - ...oboto-Regular.abc.gids.retain-all-codepoint.ttf | Bin 2168 -> 2452 bytes - ...Regular.abc.keep-layout-drop-hints.61,62,63.ttf | Bin 1208 -> 0 bytes - ...to-Regular.abc.keep-layout-drop-hints.61,63.ttf | Bin 1120 -> 0 bytes - ...oboto-Regular.abc.keep-layout-drop-hints.61.ttf | Bin 988 -> 0 bytes - ...oboto-Regular.abc.keep-layout-drop-hints.62.ttf | Bin 876 -> 0 bytes - ...oboto-Regular.abc.keep-layout-drop-hints.63.ttf | Bin 960 -> 0 bytes - ...keep-layout-drop-hints.retain-all-codepoint.ttf | Bin 1208 -> 0 bytes - .../Roboto-Regular.abc.keep-layout.61,62,63.ttf | Bin 2452 -> 0 bytes - .../Roboto-Regular.abc.keep-layout.61,63.ttf | Bin 2260 -> 0 bytes - .../basics/Roboto-Regular.abc.keep-layout.61.ttf | Bin 2048 -> 0 bytes - .../basics/Roboto-Regular.abc.keep-layout.62.ttf | Bin 1916 -> 0 bytes - .../basics/Roboto-Regular.abc.keep-layout.63.ttf | Bin 1972 -> 0 bytes - ...egular.abc.keep-layout.retain-all-codepoint.ttf | Bin 2452 -> 0 bytes - .../Roboto-Regular.abc.name-ids.61,62,63.ttf | Bin 2168 -> 2452 bytes - .../basics/Roboto-Regular.abc.name-ids.61,63.ttf | Bin 1988 -> 2260 bytes - .../basics/Roboto-Regular.abc.name-ids.61.ttf | Bin 1792 -> 2048 bytes - .../basics/Roboto-Regular.abc.name-ids.62.ttf | Bin 1740 -> 1916 bytes - .../basics/Roboto-Regular.abc.name-ids.63.ttf | Bin 1716 -> 1972 bytes - ...o-Regular.abc.name-ids.retain-all-codepoint.ttf | Bin 2168 -> 2452 bytes - .../Roboto-Regular.abc.name-languages.61,62,63.ttf | Bin 2168 -> 2452 bytes - .../Roboto-Regular.abc.name-languages.61,63.ttf | Bin 1988 -> 2260 bytes - .../Roboto-Regular.abc.name-languages.61.ttf | Bin 1792 -> 2048 bytes - .../Roboto-Regular.abc.name-languages.62.ttf | Bin 1740 -> 1916 bytes - .../Roboto-Regular.abc.name-languages.63.ttf | Bin 1716 -> 1972 bytes - ...lar.abc.name-languages.retain-all-codepoint.ttf | Bin 2168 -> 2452 bytes - .../Roboto-Regular.abc.name-legacy.61,62,63.ttf | Bin 2168 -> 2452 bytes - .../Roboto-Regular.abc.name-legacy.61,63.ttf | Bin 1988 -> 2260 bytes - .../basics/Roboto-Regular.abc.name-legacy.61.ttf | Bin 1792 -> 2048 bytes - .../basics/Roboto-Regular.abc.name-legacy.62.ttf | Bin 1740 -> 1916 bytes - .../basics/Roboto-Regular.abc.name-legacy.63.ttf | Bin 1716 -> 1972 bytes - ...egular.abc.name-legacy.retain-all-codepoint.ttf | Bin 2168 -> 2452 bytes - .../Roboto-Regular.abc.retain-gids.61,62,63.ttf | Bin 2168 -> 2452 bytes - .../Roboto-Regular.abc.retain-gids.61,63.ttf | Bin 1996 -> 2276 bytes - .../basics/Roboto-Regular.abc.retain-gids.61.ttf | Bin 1792 -> 2048 bytes - .../basics/Roboto-Regular.abc.retain-gids.62.ttf | Bin 1748 -> 1924 bytes - .../basics/Roboto-Regular.abc.retain-gids.63.ttf | Bin 1732 -> 1988 bytes - ...egular.abc.retain-gids.retain-all-codepoint.ttf | Bin 2168 -> 2452 bytes - ...olorEmoji.subset.index_format3.default.2049.ttf | Bin 3112 -> 3108 bytes - ...rEmoji.subset.index_format3.default.38,2049.ttf | Bin 4080 -> 4076 bytes - ...rEmoji.subset.index_format3.default.38,20E3.ttf | Bin 3564 -> 3560 bytes - ...index_format3.default.38,39,AE,2049,38,20E3.ttf | Bin 10112 -> 10112 bytes - ...oji.subset.index_format3.default.38,AE,2049.ttf | Bin 7536 -> 7536 bytes - ...oColorEmoji.subset.index_format3.default.39.ttf | Bin 1920 -> 1916 bytes - ...oColorEmoji.subset.index_format3.default.AE.ttf | Bin 4412 -> 4408 bytes - ...t.index_format3.drop-hints-retain-gids.2049.ttf | Bin 3136 -> 3132 bytes - ...ndex_format3.drop-hints-retain-gids.38,2049.ttf | Bin 4104 -> 4100 bytes - ...ndex_format3.drop-hints-retain-gids.38,20E3.ttf | Bin 3596 -> 3592 bytes - ...rop-hints-retain-gids.38,39,AE,2049,38,20E3.ttf | Bin 10112 -> 10112 bytes - ...x_format3.drop-hints-retain-gids.38,AE,2049.ttf | Bin 7556 -> 7552 bytes - ...set.index_format3.drop-hints-retain-gids.39.ttf | Bin 1928 -> 1924 bytes - ...set.index_format3.drop-hints-retain-gids.AE.ttf | Bin 4428 -> 4424 bytes - ...rEmoji.subset.index_format3.drop-hints.2049.ttf | Bin 3112 -> 3108 bytes - ...oji.subset.index_format3.drop-hints.38,2049.ttf | Bin 4080 -> 4076 bytes - ...oji.subset.index_format3.drop-hints.38,20E3.ttf | Bin 3564 -> 3560 bytes - ...ex_format3.drop-hints.38,39,AE,2049,38,20E3.ttf | Bin 10112 -> 10112 bytes - ....subset.index_format3.drop-hints.38,AE,2049.ttf | Bin 7536 -> 7536 bytes - ...lorEmoji.subset.index_format3.drop-hints.39.ttf | Bin 1920 -> 1916 bytes - ...lorEmoji.subset.index_format3.drop-hints.AE.ttf | Bin 4412 -> 4408 bytes - ...Emoji.subset.index_format3.retain-gids.2049.ttf | Bin 3136 -> 3132 bytes - ...ji.subset.index_format3.retain-gids.38,2049.ttf | Bin 4104 -> 4100 bytes - ...ji.subset.index_format3.retain-gids.38,20E3.ttf | Bin 3596 -> 3592 bytes - ...x_format3.retain-gids.38,39,AE,2049,38,20E3.ttf | Bin 10112 -> 10112 bytes - ...subset.index_format3.retain-gids.38,AE,2049.ttf | Bin 7556 -> 7552 bytes - ...orEmoji.subset.index_format3.retain-gids.39.ttf | Bin 1928 -> 1924 bytes - ...orEmoji.subset.index_format3.retain-gids.AE.ttf | Bin 4428 -> 4424 bytes - ...eSansPro-Regular.default.1FC,21,41,20,62,63.otf | Bin 2180 -> 4192 bytes - .../SourceSansPro-Regular.default.61,62,63.otf | Bin 1892 -> 3856 bytes - ...ourceSansPro-Regular.default.D7,D8,D9,DA,DE.otf | Bin 2008 -> 3144 bytes - ...subroutinize-retain-gids.1FC,21,41,20,62,63.otf | Bin 19796 -> 30788 bytes - ...Regular.desubroutinize-retain-gids.61,62,63.otf | Bin 1992 -> 30908 bytes - ...r.desubroutinize-retain-gids.D7,D8,D9,DA,DE.otf | Bin 30208 -> 31336 bytes - ...o-Regular.desubroutinize.1FC,21,41,20,62,63.otf | Bin 2036 -> 3968 bytes - ...urceSansPro-Regular.desubroutinize.61,62,63.otf | Bin 1796 -> 3556 bytes - ...nsPro-Regular.desubroutinize.D7,D8,D9,DA,DE.otf | Bin 1992 -> 3168 bytes - ...subroutinize-retain-gids.1FC,21,41,20,62,63.otf | Bin 19636 -> 30500 bytes - ...p-hints-desubroutinize-retain-gids.61,62,63.otf | Bin 1868 -> 30668 bytes - ...s-desubroutinize-retain-gids.D7,D8,D9,DA,DE.otf | Bin 30060 -> 31124 bytes - ...rop-hints-desubroutinize.1FC,21,41,20,62,63.otf | Bin 1876 -> 3680 bytes - ...-Regular.drop-hints-desubroutinize.61,62,63.otf | Bin 1672 -> 3320 bytes - ...ar.drop-hints-desubroutinize.D7,D8,D9,DA,DE.otf | Bin 1844 -> 2952 bytes - ...r.drop-hints-retain-gids.1FC,21,41,20,62,63.otf | Bin 19728 -> 30636 bytes - ...Pro-Regular.drop-hints-retain-gids.61,62,63.otf | Bin 1904 -> 30888 bytes - ...gular.drop-hints-retain-gids.D7,D8,D9,DA,DE.otf | Bin 30072 -> 31104 bytes - ...nsPro-Regular.drop-hints.1FC,21,41,20,62,63.otf | Bin 1960 -> 3820 bytes - .../SourceSansPro-Regular.drop-hints.61,62,63.otf | Bin 1736 -> 3524 bytes - ...ceSansPro-Regular.drop-hints.D7,D8,D9,DA,DE.otf | Bin 1860 -> 2932 bytes - ...sPro-Regular.retain-gids.1FC,21,41,20,62,63.otf | Bin 19948 -> 31012 bytes - .../SourceSansPro-Regular.retain-gids.61,62,63.otf | Bin 2060 -> 31208 bytes - ...eSansPro-Regular.retain-gids.D7,D8,D9,DA,DE.otf | Bin 30224 -> 31312 bytes - ...ubset.default.3042,3044,3046,3048,304A,304B.otf | Bin 3036 -> 4884 bytes - ...ubset.default.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 3248 -> 6276 bytes - ...eHanSans-Regular_subset.default.61,63,65,6B.otf | Bin 2208 -> 2588 bytes - ...ubset.default.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 3468 -> 6736 bytes - .../SourceHanSans-Regular_subset.default.660E.otf | Bin 1928 -> 2456 bytes - ...e-retain-gids.3042,3044,3046,3048,304A,304B.otf | Bin 8932 -> 129876 bytes - ...e-retain-gids.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 116080 -> 130920 bytes - ...bset.desubroutinize-retain-gids.61,63,65,6B.otf | Bin 3016 -> 3412 bytes - ...e-retain-gids.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 116264 -> 122048 bytes - ...ular_subset.desubroutinize-retain-gids.660E.otf | Bin 50224 -> 50760 bytes - ...esubroutinize.3042,3044,3046,3048,304A,304B.otf | Bin 2960 -> 4724 bytes - ...esubroutinize.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 3144 -> 5928 bytes - ...s-Regular_subset.desubroutinize.61,63,65,6B.otf | Bin 2140 -> 2520 bytes - ...esubroutinize.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 3264 -> 6232 bytes - ...eHanSans-Regular_subset.desubroutinize.660E.otf | Bin 1904 -> 2440 bytes - ...e-retain-gids.3042,3044,3046,3048,304A,304B.otf | Bin 8672 -> 129448 bytes - ...e-retain-gids.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 115768 -> 130312 bytes - ...ints-desubroutinize-retain-gids.61,63,65,6B.otf | Bin 2892 -> 3288 bytes - ...e-retain-gids.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 115884 -> 121284 bytes - ....drop-hints-desubroutinize-retain-gids.660E.otf | Bin 50040 -> 50540 bytes - ...esubroutinize.3042,3044,3046,3048,304A,304B.otf | Bin 2800 -> 4420 bytes - ...esubroutinize.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 2904 -> 5416 bytes - ...ubset.drop-hints-desubroutinize.61,63,65,6B.otf | Bin 2036 -> 2416 bytes - ...esubroutinize.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 2972 -> 5556 bytes - ...gular_subset.drop-hints-desubroutinize.660E.otf | Bin 1812 -> 2308 bytes - ...s-retain-gids.3042,3044,3046,3048,304A,304B.otf | Bin 8740 -> 129576 bytes - ...s-retain-gids.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 115864 -> 130604 bytes - ...r_subset.drop-hints-retain-gids.61,63,65,6B.otf | Bin 2852 -> 3248 bytes - ...s-retain-gids.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 116084 -> 121776 bytes - ...-Regular_subset.drop-hints-retain-gids.660E.otf | Bin 50060 -> 50552 bytes - ...et.drop-hints.3042,3044,3046,3048,304A,304B.otf | Bin 2856 -> 4548 bytes - ...et.drop-hints.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 2996 -> 5708 bytes - ...nSans-Regular_subset.drop-hints.61,63,65,6B.otf | Bin 2068 -> 2448 bytes - ...et.drop-hints.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 3172 -> 6048 bytes - ...ourceHanSans-Regular_subset.drop-hints.660E.otf | Bin 1832 -> 2316 bytes - ...t.retain-gids.3042,3044,3046,3048,304A,304B.otf | Bin 9016 -> 130036 bytes - ...t.retain-gids.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 116184 -> 131272 bytes - ...Sans-Regular_subset.retain-gids.61,63,65,6B.otf | Bin 3012 -> 3408 bytes - ...t.retain-gids.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 116468 -> 122552 bytes - ...urceHanSans-Regular_subset.retain-gids.660E.otf | Bin 50244 -> 50776 bytes - .../TwemojiMozilla.subset.default.32,3297,3299.ttf | Bin 5624 -> 5712 bytes - .../colr/TwemojiMozilla.subset.default.32,3297.ttf | Bin 5088 -> 5176 bytes - .../colr/TwemojiMozilla.subset.default.32,3299.ttf | Bin 5264 -> 5352 bytes - .../colr/TwemojiMozilla.subset.default.32.ttf | Bin 4664 -> 4748 bytes - .../TwemojiMozilla.subset.default.3297,3299.ttf | Bin 5604 -> 5692 bytes - .../colr/TwemojiMozilla.subset.default.3297.ttf | Bin 5068 -> 5152 bytes - .../colr/TwemojiMozilla.subset.default.3299.ttf | Bin 5244 -> 5328 bytes - ....subset.drop-hints-retain-gids.32,3297,3299.ttf | Bin 5604 -> 5692 bytes - ...zilla.subset.drop-hints-retain-gids.32,3297.ttf | Bin 5084 -> 5172 bytes - ...zilla.subset.drop-hints-retain-gids.32,3299.ttf | Bin 5264 -> 5352 bytes - ...ojiMozilla.subset.drop-hints-retain-gids.32.ttf | Bin 4644 -> 4728 bytes - ...lla.subset.drop-hints-retain-gids.3297,3299.ttf | Bin 5588 -> 5676 bytes - ...iMozilla.subset.drop-hints-retain-gids.3297.ttf | Bin 5064 -> 5148 bytes - ...iMozilla.subset.drop-hints-retain-gids.3299.ttf | Bin 5244 -> 5328 bytes - ...emojiMozilla.subset.drop-hints.32,3297,3299.ttf | Bin 5604 -> 5692 bytes - .../TwemojiMozilla.subset.drop-hints.32,3297.ttf | Bin 5068 -> 5156 bytes - .../TwemojiMozilla.subset.drop-hints.32,3299.ttf | Bin 5244 -> 5332 bytes - .../colr/TwemojiMozilla.subset.drop-hints.32.ttf | Bin 4644 -> 4728 bytes - .../TwemojiMozilla.subset.drop-hints.3297,3299.ttf | Bin 5584 -> 5672 bytes - .../colr/TwemojiMozilla.subset.drop-hints.3297.ttf | Bin 5048 -> 5132 bytes - .../colr/TwemojiMozilla.subset.drop-hints.3299.ttf | Bin 5224 -> 5308 bytes - ...mojiMozilla.subset.retain-gids.32,3297,3299.ttf | Bin 5624 -> 5712 bytes - .../TwemojiMozilla.subset.retain-gids.32,3297.ttf | Bin 5104 -> 5192 bytes - .../TwemojiMozilla.subset.retain-gids.32,3299.ttf | Bin 5284 -> 5372 bytes - .../colr/TwemojiMozilla.subset.retain-gids.32.ttf | Bin 4664 -> 4748 bytes - ...TwemojiMozilla.subset.retain-gids.3297,3299.ttf | Bin 5608 -> 5696 bytes - .../TwemojiMozilla.subset.retain-gids.3297.ttf | Bin 5084 -> 5168 bytes - .../TwemojiMozilla.subset.retain-gids.3299.ttf | Bin 5264 -> 5348 bytes - .../Roboto-Regular.default.1FC,21,41,20,62,63.ttf | Bin 2984 -> 4656 bytes - .../full-font/Roboto-Regular.default.61,62,63.ttf | Bin 2580 -> 3904 bytes - .../Roboto-Regular.default.D7,D8,D9,DA,DE.ttf | Bin 2944 -> 3976 bytes - ...oboto-Regular.drop-hints.1FC,21,41,20,62,63.ttf | Bin 1436 -> 2532 bytes - .../Roboto-Regular.drop-hints.61,62,63.ttf | Bin 1228 -> 2116 bytes - .../Roboto-Regular.drop-hints.D7,D8,D9,DA,DE.ttf | Bin 1464 -> 2192 bytes - ...ifVariable-Roman.default.1FC,21,41,20,62,63.ttf | Bin 3572 -> 6876 bytes - .../SourceSerifVariable-Roman.default.61,62,63.ttf | Bin 3540 -> 6552 bytes - ...eSerifVariable-Roman.default.D7,D8,D9,DA,DE.ttf | Bin 4032 -> 6136 bytes - ...ariable-Roman.drop-hints.1FC,21,41,20,62,63.ttf | Bin 3572 -> 6612 bytes - ...urceSerifVariable-Roman.drop-hints.61,62,63.ttf | Bin 3540 -> 6356 bytes - ...rifVariable-Roman.drop-hints.D7,D8,D9,DA,DE.ttf | Bin 4032 -> 5880 bytes - .../Mplus1p-Regular.default.1D715,1D7D8,41,42.ttf | Bin 2108 -> 2344 bytes - .../japanese/Mplus1p-Regular.default.25771.ttf | Bin 1824 -> 1992 bytes - ...gular.default.3042,3044,3046,3048,304A,304B.ttf | Bin 2532 -> 2704 bytes - ...gular.default.3042,3044,3046,73E0,5EA6,8F38.ttf | Bin 2776 -> 2948 bytes - .../Mplus1p-Regular.default.61,63,65,6B.ttf | Bin 2076 -> 2324 bytes - ...gular.default.660E,6975,73E0,5EA6,8F38,6E05.ttf | Bin 3072 -> 3244 bytes - .../japanese/Mplus1p-Regular.default.660E.ttf | Bin 1816 -> 1984 bytes - ...plus1p-Regular.drop-hints.1D715,1D7D8,41,42.ttf | Bin 1380 -> 1616 bytes - .../japanese/Mplus1p-Regular.drop-hints.25771.ttf | Bin 1096 -> 1264 bytes - ...ar.drop-hints.3042,3044,3046,3048,304A,304B.ttf | Bin 1804 -> 1976 bytes - ...ar.drop-hints.3042,3044,3046,73E0,5EA6,8F38.ttf | Bin 2048 -> 2220 bytes - .../Mplus1p-Regular.drop-hints.61,63,65,6B.ttf | Bin 1348 -> 1596 bytes - ...ar.drop-hints.660E,6975,73E0,5EA6,8F38,6E05.ttf | Bin 2344 -> 2516 bytes - .../japanese/Mplus1p-Regular.drop-hints.660E.ttf | Bin 1088 -> 1256 bytes - ...Mplus1p-Regular.keep-gdef.1D715,1D7D8,41,42.ttf | Bin 2148 -> 2344 bytes - .../japanese/Mplus1p-Regular.keep-gdef.25771.ttf | Bin 1860 -> 1992 bytes - ...lar.keep-gdef.3042,3044,3046,3048,304A,304B.ttf | Bin 2572 -> 2704 bytes - ...lar.keep-gdef.3042,3044,3046,73E0,5EA6,8F38.ttf | Bin 2816 -> 2948 bytes - .../Mplus1p-Regular.keep-gdef.61,63,65,6B.ttf | Bin 2116 -> 2324 bytes - ...lar.keep-gdef.660E,6975,73E0,5EA6,8F38,6E05.ttf | Bin 3112 -> 3244 bytes - .../japanese/Mplus1p-Regular.keep-gdef.660E.ttf | Bin 1852 -> 1984 bytes - ...ext1_multiple_subrules_f1.default.41,42,43.otf} | Bin - ...ontext1_multiple_subrules_f1.default.41,42.otf} | Bin - ...ontext1_multiple_subrules_f1.default.41,43.otf} | Bin - ...s_context1_multiple_subrules_f1.default.41.otf} | Bin - ...e_subrules_f1.default.retain-all-codepoint.otf} | Bin - ..._multiple_subrules_f1.retain-gids.41,42,43.otf} | Bin - ...xt1_multiple_subrules_f1.retain-gids.41,42.otf} | Bin - ...xt1_multiple_subrules_f1.retain-gids.41,43.otf} | Bin - ...ntext1_multiple_subrules_f1.retain-gids.41.otf} | Bin - ...brules_f1.retain-gids.retain-all-codepoint.otf} | Bin - ...ext2_multiple_subrules_f1.default.41,42,43.otf} | Bin - ...ontext2_multiple_subrules_f1.default.41,42.otf} | Bin - ...ontext2_multiple_subrules_f1.default.41,43.otf} | Bin - ...s_context2_multiple_subrules_f1.default.41.otf} | Bin - ...e_subrules_f1.default.retain-all-codepoint.otf} | Bin - ..._multiple_subrules_f1.retain-gids.41,42,43.otf} | Bin - ...xt2_multiple_subrules_f1.retain-gids.41,42.otf} | Bin - ...xt2_multiple_subrules_f1.retain-gids.41,43.otf} | Bin - ...ntext2_multiple_subrules_f1.retain-gids.41.otf} | Bin - ...brules_f1.retain-gids.retain-all-codepoint.otf} | Bin - ...> gpos_context3_simple_f1.default.41,42,43.otf} | Bin - ...f => gpos_context3_simple_f1.default.41,42.otf} | Bin - ...f => gpos_context3_simple_f1.default.41,43.otf} | Bin - ....otf => gpos_context3_simple_f1.default.41.otf} | Bin - ...xt3_simple_f1.default.retain-all-codepoint.otf} | Bin - ...os_context3_simple_f1.retain-gids.41,42,43.otf} | Bin - ... gpos_context3_simple_f1.retain-gids.41,42.otf} | Bin - ... gpos_context3_simple_f1.retain-gids.41,43.otf} | Bin - ... => gpos_context3_simple_f1.retain-gids.41.otf} | Bin - ...simple_f1.retain-gids.retain-all-codepoint.otf} | Bin - .../IndicTestJalandhar-Regular.default.A01.ttf | Bin 4088 -> 4220 bytes - .../IndicTestJalandhar-Regular.default.A05,A06.ttf | Bin 4652 -> 4796 bytes - .../IndicTestJalandhar-Regular.default.A07,A1B.ttf | Bin 4620 -> 4768 bytes - ...andhar-Regular.default.retain-all-codepoint.ttf | Bin 28176 -> 49288 bytes - .../IndicTestJalandhar-Regular.drop-hints.A01.ttf | Bin 948 -> 1080 bytes - ...dicTestJalandhar-Regular.drop-hints.A05,A06.ttf | Bin 1244 -> 1388 bytes - ...dicTestJalandhar-Regular.drop-hints.A07,A1B.ttf | Bin 1240 -> 1388 bytes - ...har-Regular.drop-hints.retain-all-codepoint.ttf | Bin 15200 -> 29504 bytes - .../IndicTestJalandhar-Regular.keep-gdef.A01.ttf | Bin 4140 -> 4220 bytes - ...ndicTestJalandhar-Regular.keep-gdef.A05,A06.ttf | Bin 4716 -> 4796 bytes - ...ndicTestJalandhar-Regular.keep-gdef.A07,A1B.ttf | Bin 4688 -> 4768 bytes - ...dhar-Regular.keep-gdef.retain-all-codepoint.ttf | Bin 28604 -> 49288 bytes - .../AdobeVFPrototype.default.41,42,43,57.otf | Bin 4960 -> 5460 bytes - .../AdobeVFPrototype.default.41,42,43.otf | Bin 4540 -> 4932 bytes - .../AdobeVFPrototype.default.41,42.otf | Bin 4132 -> 4452 bytes - .../AdobeVFPrototype.default.41,56,57.otf | Bin 4152 -> 4600 bytes - .../AdobeVFPrototype.default.41.otf | Bin 3468 -> 3748 bytes - .../AdobeVFPrototype.default.42,57.otf | Bin 4208 -> 4584 bytes - .../AdobeVFPrototype.drop-hints.41,42,43,57.otf | Bin 4772 -> 5180 bytes - .../AdobeVFPrototype.drop-hints.41,42,43.otf | Bin 4352 -> 4688 bytes - .../AdobeVFPrototype.drop-hints.41,42.otf | Bin 3944 -> 4236 bytes - .../AdobeVFPrototype.drop-hints.41,56,57.otf | Bin 3964 -> 4348 bytes - .../AdobeVFPrototype.drop-hints.41.otf | Bin 3280 -> 3552 bytes - .../AdobeVFPrototype.drop-hints.42,57.otf | Bin 4020 -> 4364 bytes - ...AdobeVFPrototype.keep-gdef-gpos.41,42,43,57.otf | Bin 5400 -> 5460 bytes - .../AdobeVFPrototype.keep-gdef-gpos.41,42,43.otf | Bin 4872 -> 4932 bytes - .../AdobeVFPrototype.keep-gdef-gpos.41,42.otf | Bin 4392 -> 4452 bytes - .../AdobeVFPrototype.keep-gdef-gpos.41,56,57.otf | Bin 4540 -> 4600 bytes - .../AdobeVFPrototype.keep-gdef-gpos.41.otf | Bin 3688 -> 3748 bytes - .../AdobeVFPrototype.keep-gdef-gpos.42,57.otf | Bin 4524 -> 4584 bytes - .../Roboto-Regular.default.1E00,303.ttf | Bin 2456 -> 2720 bytes - .../layout.gdef/Roboto-Regular.default.303.ttf | Bin 2128 -> 2312 bytes - .../Roboto-Regular.default.309,20,30F.ttf | Bin 2220 -> 2408 bytes - .../layout.gdef/Roboto-Regular.default.323.ttf | Bin 2020 -> 2204 bytes - .../Roboto-Regular.default.41,42,43.ttf | Bin 2480 -> 3668 bytes - .../Roboto-Regular.drop-hints.1E00,303.ttf | Bin 1204 -> 1468 bytes - .../layout.gdef/Roboto-Regular.drop-hints.303.ttf | Bin 1012 -> 1196 bytes - .../Roboto-Regular.drop-hints.309,20,30F.ttf | Bin 1068 -> 1256 bytes - .../layout.gdef/Roboto-Regular.drop-hints.323.ttf | Bin 952 -> 1136 bytes - .../Roboto-Regular.drop-hints.41,42,43.ttf | Bin 1188 -> 2036 bytes - .../Roboto-Regular.keep-gdef-gpos.1E00,303.ttf | Bin 2648 -> 2720 bytes - .../Roboto-Regular.keep-gdef-gpos.303.ttf | Bin 2240 -> 2312 bytes - .../Roboto-Regular.keep-gdef-gpos.309,20,30F.ttf | Bin 2336 -> 2408 bytes - .../Roboto-Regular.keep-gdef-gpos.323.ttf | Bin 2132 -> 2204 bytes - .../Roboto-Regular.keep-gdef-gpos.41,42,43.ttf | Bin 2728 -> 3668 bytes - ...ut.41,43.otf => gpos1_2_font.default.41,43.otf} | Bin - ...ut.41,46.otf => gpos1_2_font.default.41,46.otf} | Bin - ...p-layout.41.otf => gpos1_2_font.default.41.otf} | Bin - ...ut.42,44.otf => gpos1_2_font.default.42,44.otf} | Bin - ...ut.43,46.otf => gpos1_2_font.default.43,46.otf} | Bin - ... gpos1_2_font.default.retain-all-codepoint.otf} | Bin - ...1,43.otf => gpos1_2_font.retain-gids.41,43.otf} | Bin - ...1,46.otf => gpos1_2_font.retain-gids.41,46.otf} | Bin - ...gids.41.otf => gpos1_2_font.retain-gids.41.otf} | Bin - ...2,44.otf => gpos1_2_font.retain-gids.42,44.otf} | Bin - ...3,46.otf => gpos1_2_font.retain-gids.43,46.otf} | Bin - ...s1_2_font.retain-gids.retain-all-codepoint.otf} | Bin - ...3,25.otf => gpos2_1_font7.default.21,23,25.otf} | Bin - ...t.21,23.otf => gpos2_1_font7.default.21,23.otf} | Bin - ...t.2E,23.otf => gpos2_1_font7.default.2E,23.otf} | Bin - ...2,43.otf => gpos2_1_font7.default.41,42,43.otf} | Bin - ...gpos2_1_font7.default.retain-all-codepoint.otf} | Bin - ....otf => gpos2_1_font7.retain-gids.21,23,25.otf} | Bin - ...,23.otf => gpos2_1_font7.retain-gids.21,23.otf} | Bin - ...,23.otf => gpos2_1_font7.retain-gids.2E,23.otf} | Bin - ....otf => gpos2_1_font7.retain-gids.41,42,43.otf} | Bin - ...2_1_font7.retain-gids.retain-all-codepoint.otf} | Bin - ...3,25.otf => gpos2_2_font5.default.21,23,25.otf} | Bin - ...t.21,23.otf => gpos2_2_font5.default.21,23.otf} | Bin - ...t.2E,23.otf => gpos2_2_font5.default.2E,23.otf} | Bin - ...2,43.otf => gpos2_2_font5.default.41,42,43.otf} | Bin - ...gpos2_2_font5.default.retain-all-codepoint.otf} | Bin - ....otf => gpos2_2_font5.retain-gids.21,23,25.otf} | Bin - ...,23.otf => gpos2_2_font5.retain-gids.21,23.otf} | Bin - ...,23.otf => gpos2_2_font5.retain-gids.2E,23.otf} | Bin - ....otf => gpos2_2_font5.retain-gids.41,42,43.otf} | Bin - ...2_2_font5.retain-gids.retain-all-codepoint.otf} | Bin - ...out.28,29.otf => gpos3_font3.default.28,29.otf} | Bin - ...out.28,2B.otf => gpos3_font3.default.28,2B.otf} | Bin - ...out.29,2B.otf => gpos3_font3.default.29,2B.otf} | Bin - ...,42,43.otf => gpos3_font3.default.41,42,43.otf} | Bin - ...> gpos3_font3.default.retain-all-codepoint.otf} | Bin - ...28,29.otf => gpos3_font3.retain-gids.28,29.otf} | Bin - ...28,2B.otf => gpos3_font3.retain-gids.28,2B.otf} | Bin - ...29,2B.otf => gpos3_font3.retain-gids.29,2B.otf} | Bin - ...43.otf => gpos3_font3.retain-gids.41,42,43.otf} | Bin - ...os3_font3.retain-gids.retain-all-codepoint.otf} | Bin - ...os4_multiple_anchors_1.default.41,42,43,44.otf} | Bin - ...os4_multiple_anchors_1.default.41,42,43,45.otf} | Bin - ... gpos4_multiple_anchors_1.default.41,42,43.otf} | Bin - ... => gpos4_multiple_anchors_1.default.41,42.otf} | Bin - ..._multiple_anchors_1.default.41,43,44,45,46.otf} | Bin - ... gpos4_multiple_anchors_1.default.41,43,44.otf} | Bin - ... gpos4_multiple_anchors_1.default.41,43,45.otf} | Bin - ... => gpos4_multiple_anchors_1.default.41,43.otf} | Bin - ...otf => gpos4_multiple_anchors_1.default.41.otf} | Bin - ...ple_anchors_1.default.retain-all-codepoint.otf} | Bin - ...multiple_anchors_1.retain-gids.41,42,43,44.otf} | Bin - ...multiple_anchors_1.retain-gids.41,42,43,45.otf} | Bin - ...s4_multiple_anchors_1.retain-gids.41,42,43.otf} | Bin - ...gpos4_multiple_anchors_1.retain-gids.41,42.otf} | Bin - ...tiple_anchors_1.retain-gids.41,43,44,45,46.otf} | Bin - ...s4_multiple_anchors_1.retain-gids.41,43,44.otf} | Bin - ...s4_multiple_anchors_1.retain-gids.41,43,45.otf} | Bin - ...gpos4_multiple_anchors_1.retain-gids.41,43.otf} | Bin - ...=> gpos4_multiple_anchors_1.retain-gids.41.otf} | Bin - ...anchors_1.retain-gids.retain-all-codepoint.otf} | Bin - ...,44.otf => gpos5_font1.default.41,42,43,44.otf} | Bin - ...,45.otf => gpos5_font1.default.41,42,43,45.otf} | Bin - ...,42,43.otf => gpos5_font1.default.41,42,43.otf} | Bin - ...,42,44.otf => gpos5_font1.default.41,42,44.otf} | Bin - ...,42,45.otf => gpos5_font1.default.41,42,45.otf} | Bin - ...out.41,42.otf => gpos5_font1.default.41,42.otf} | Bin - ...out.41,43.otf => gpos5_font1.default.41,43.otf} | Bin - ...ep-layout.41.otf => gpos5_font1.default.41.otf} | Bin - ...ep-layout.42.otf => gpos5_font1.default.42.otf} | Bin - ...> gpos5_font1.default.retain-all-codepoint.otf} | Bin - ...otf => gpos5_font1.retain-gids.41,42,43,44.otf} | Bin - ...otf => gpos5_font1.retain-gids.41,42,43,45.otf} | Bin - ...43.otf => gpos5_font1.retain-gids.41,42,43.otf} | Bin - ...44.otf => gpos5_font1.retain-gids.41,42,44.otf} | Bin - ...45.otf => gpos5_font1.retain-gids.41,42,45.otf} | Bin - ...41,42.otf => gpos5_font1.retain-gids.41,42.otf} | Bin - ...41,43.otf => gpos5_font1.retain-gids.41,43.otf} | Bin - ...-gids.41.otf => gpos5_font1.retain-gids.41.otf} | Bin - ...-gids.42.otf => gpos5_font1.retain-gids.42.otf} | Bin - ...os5_font1.retain-gids.retain-all-codepoint.otf} | Bin - ...,44.otf => gpos6_font1.default.41,42,43,44.otf} | Bin - ...,45.otf => gpos6_font1.default.41,42,43,45.otf} | Bin - ...,42,43.otf => gpos6_font1.default.41,42,43.otf} | Bin - ...out.41,42.otf => gpos6_font1.default.41,42.otf} | Bin - ....otf => gpos6_font1.default.41,43,44,45,46.otf} | Bin - ...,43,44.otf => gpos6_font1.default.41,43,44.otf} | Bin - ...,43,45.otf => gpos6_font1.default.41,43,45.otf} | Bin - ...out.41,43.otf => gpos6_font1.default.41,43.otf} | Bin - ...ep-layout.41.otf => gpos6_font1.default.41.otf} | Bin - ...> gpos6_font1.default.retain-all-codepoint.otf} | Bin - ...otf => gpos6_font1.retain-gids.41,42,43,44.otf} | Bin - ...otf => gpos6_font1.retain-gids.41,42,43,45.otf} | Bin - ...43.otf => gpos6_font1.retain-gids.41,42,43.otf} | Bin - ...41,42.otf => gpos6_font1.retain-gids.41,42.otf} | Bin - ... => gpos6_font1.retain-gids.41,43,44,45,46.otf} | Bin - ...44.otf => gpos6_font1.retain-gids.41,43,44.otf} | Bin - ...45.otf => gpos6_font1.retain-gids.41,43,45.otf} | Bin - ...41,43.otf => gpos6_font1.retain-gids.41,43.otf} | Bin - ...-gids.41.otf => gpos6_font1.retain-gids.41.otf} | Bin - ...os6_font1.retain-gids.retain-all-codepoint.otf} | Bin - ...lar.default.627,644,623,62D,644,627,645,2E.ttf} | Bin - ...f => Amiri-Regular.default.627,644,62D,628.ttf} | Bin - ...7,644.ttf => Amiri-Regular.default.627,644.ttf} | Bin - ...Regular.default.633,645,627,621,20,644,627.ttf} | Bin - ...1.ttf => Amiri-Regular.default.63A,64A,631.ttf} | Bin - ...retain-gids.627,644,623,62D,644,627,645,2E.ttf} | Bin - ... Amiri-Regular.retain-gids.627,644,62D,628.ttf} | Bin - ...4.ttf => Amiri-Regular.retain-gids.627,644.ttf} | Bin - ...lar.retain-gids.633,645,627,621,20,644,627.ttf} | Bin - ...f => Amiri-Regular.retain-gids.63A,64A,631.ttf} | Bin - ...1_multiple_subrules_f1.default.30,31,32,33.otf} | Bin - ...ing1_multiple_subrules_f1.default.41,42,43.otf} | Bin - ...e_subrules_f1.default.retain-all-codepoint.otf} | Bin - ...ltiple_subrules_f1.retain-gids.30,31,32,33.otf} | Bin - ..._multiple_subrules_f1.retain-gids.41,42,43.otf} | Bin - ...brules_f1.retain-gids.retain-all-codepoint.otf} | Bin - ...2_multiple_subrules_f1.default.30,31,32,33.otf} | Bin - ...ing2_multiple_subrules_f1.default.41,42,43.otf} | Bin - ...e_subrules_f1.default.retain-all-codepoint.otf} | Bin - ...ltiple_subrules_f1.retain-gids.30,31,32,33.otf} | Bin - ..._multiple_subrules_f1.retain-gids.41,42,43.otf} | Bin - ...brules_f1.retain-gids.retain-all-codepoint.otf} | Bin - ...os_chaining3_simple_f1.default.30,31,32,33.otf} | Bin - ... gpos_chaining3_simple_f1.default.41,42,43.otf} | Bin - ...ng3_simple_f1.default.retain-all-codepoint.otf} | Bin - ...haining3_simple_f1.retain-gids.30,31,32,33.otf} | Bin - ...s_chaining3_simple_f1.retain-gids.41,42,43.otf} | Bin - ...simple_f1.retain-gids.retain-all-codepoint.otf} | Bin - ...out.41,42.otf => gpos9_font2.default.41,42.otf} | Bin - ...ep-layout.41.otf => gpos9_font2.default.41.otf} | Bin - ...ep-layout.42.otf => gpos9_font2.default.42.otf} | Bin - ...41,42.otf => gpos9_font2.retain-gids.41,42.otf} | Bin - ...-gids.41.otf => gpos9_font2.retain-gids.41.otf} | Bin - ...-gids.42.otf => gpos9_font2.retain-gids.42.otf} | Bin - ...b_alternate_substitution.default.53A9,53F1.otf} | Bin - ...> gsub_alternate_substitution.default.53A9.otf} | Bin - ...> gsub_alternate_substitution.default.53F1.otf} | Bin - ..._substitution.default.retain-all-codepoint.otf} | Bin - ...ternate_substitution.retain-gids.53A9,53F1.otf} | Bin - ...ub_alternate_substitution.retain-gids.53A9.otf} | Bin - ...ub_alternate_substitution.retain-gids.53F1.otf} | Bin - ...stitution.retain-gids.retain-all-codepoint.otf} | Bin - ...ext1_multiple_subrules_f2.default.41,42,43.otf} | Bin - ...ontext1_multiple_subrules_f2.default.41,42.otf} | Bin - ...ontext1_multiple_subrules_f2.default.41,43.otf} | Bin - ...b_context1_multiple_subrules_f2.default.41.otf} | Bin - ...e_subrules_f2.default.retain-all-codepoint.otf} | Bin - ..._multiple_subrules_f2.retain-gids.41,42,43.otf} | Bin - ...xt1_multiple_subrules_f2.retain-gids.41,42.otf} | Bin - ...xt1_multiple_subrules_f2.retain-gids.41,43.otf} | Bin - ...ntext1_multiple_subrules_f2.retain-gids.41.otf} | Bin - ...brules_f2.retain-gids.retain-all-codepoint.otf} | Bin - ...ext2_multiple_subrules_f2.default.41,42,43.otf} | Bin - ...ontext2_multiple_subrules_f2.default.41,42.otf} | Bin - ...ontext2_multiple_subrules_f2.default.41,43.otf} | Bin - ...b_context2_multiple_subrules_f2.default.41.otf} | Bin - ...e_subrules_f2.default.retain-all-codepoint.otf} | Bin - ..._multiple_subrules_f2.retain-gids.41,42,43.otf} | Bin - ...xt2_multiple_subrules_f2.retain-gids.41,42.otf} | Bin - ...xt2_multiple_subrules_f2.retain-gids.41,43.otf} | Bin - ...ntext2_multiple_subrules_f2.retain-gids.41.otf} | Bin - ...brules_f2.retain-gids.retain-all-codepoint.otf} | Bin - ...ub_context3_successive_f1.default.41,42,43.otf} | Bin - ... gsub_context3_successive_f1.default.41,42.otf} | Bin - ... gsub_context3_successive_f1.default.41,43.otf} | Bin - ... => gsub_context3_successive_f1.default.41.otf} | Bin - ...successive_f1.default.retain-all-codepoint.otf} | Bin - ...ontext3_successive_f1.retain-gids.41,42,43.otf} | Bin - ...b_context3_successive_f1.retain-gids.41,42.otf} | Bin - ...b_context3_successive_f1.retain-gids.41,43.otf} | Bin - ...gsub_context3_successive_f1.retain-gids.41.otf} | Bin - ...essive_f1.retain-gids.retain-all-codepoint.otf} | Bin - ...1_multiple_subrules_f1.default.30,31,32,33.otf} | Bin - ...ing1_multiple_subrules_f1.default.41,42,43.otf} | Bin - ...e_subrules_f1.default.retain-all-codepoint.otf} | Bin - ...ltiple_subrules_f1.retain-gids.30,31,32,33.otf} | Bin - ..._multiple_subrules_f1.retain-gids.41,42,43.otf} | Bin - ...brules_f1.retain-gids.retain-all-codepoint.otf} | Bin - ...2_multiple_subrules_f1.default.30,31,32,33.otf} | Bin - ...ing2_multiple_subrules_f1.default.41,42,43.otf} | Bin - ...e_subrules_f1.default.retain-all-codepoint.otf} | Bin - ...ltiple_subrules_f1.retain-gids.30,31,32,33.otf} | Bin - ..._multiple_subrules_f1.retain-gids.41,42,43.otf} | Bin - ...brules_f1.retain-gids.retain-all-codepoint.otf} | Bin - ...ub_chaining3_simple_f2.default.30,31,32,33.otf} | Bin - ... gsub_chaining3_simple_f2.default.41,42,43.otf} | Bin - ...ng3_simple_f2.default.retain-all-codepoint.otf} | Bin - ...haining3_simple_f2.retain-gids.30,31,32,33.otf} | Bin - ...b_chaining3_simple_f2.retain-gids.41,42,43.otf} | Bin - ...simple_f2.retain-gids.retain-all-codepoint.otf} | Bin - ...created.default.41,42,43,44,45,46,47,48,49.otf} | Bin - ...ually_created.default.41,42,43,44,45,46,47.otf} | Bin - ...ually_created.default.41,42,43,44,45,46,4D.otf} | Bin - ...ually_created.default.41,42,43,44,45,46,51.otf} | Bin - ...manually_created.default.41,42,43,44,45,46.otf} | Bin - ...=> gsub8_manually_created.default.41,42,43.otf} | Bin - ...1.otf => gsub8_manually_created.default.41.otf} | Bin - ...1.otf => gsub8_manually_created.default.61.otf} | Bin - ...ually_created.default.retain-all-codepoint.otf} | Bin - ...ted.retain-gids.41,42,43,44,45,46,47,48,49.otf} | Bin - ...y_created.retain-gids.41,42,43,44,45,46,47.otf} | Bin - ...y_created.retain-gids.41,42,43,44,45,46,4D.otf} | Bin - ...y_created.retain-gids.41,42,43,44,45,46,51.otf} | Bin - ...ally_created.retain-gids.41,42,43,44,45,46.otf} | Bin - ...sub8_manually_created.retain-gids.41,42,43.otf} | Bin - ...f => gsub8_manually_created.retain-gids.41.otf} | Bin - ...f => gsub8_manually_created.retain-gids.61.otf} | Bin - ...y_created.retain-gids.retain-all-codepoint.otf} | Bin - .../Khmer.keep-layout-retain-gids.1780.ttf | Bin 4464 -> 0 bytes - ...ids.1789,17BB,17C6,1794,17B6,1793,1798,17BE.ttf | Bin 7848 -> 0 bytes - .../Khmer.keep-layout-retain-gids.31.ttf | Bin 4256 -> 0 bytes - .../layout.khmer/Khmer.keep-layout.1780.ttf | Bin 4204 -> 0 bytes - ...out.1789,17BB,17C6,1794,17B6,1793,1798,17BE.ttf | Bin 6412 -> 0 bytes - .../expected/layout.khmer/Khmer.keep-layout.31.ttf | Bin 4140 -> 0 bytes - ...oNastaliqUrdu-Bold.retain-gids.627,644,62D.ttf} | Bin - ... Roboto-Regular.smallcaps.default.41,42,43.ttf} | Bin - ... => Roboto-Regular.smallcaps.default.41,43.ttf} | Bin - ...ttf => Roboto-Regular.smallcaps.default.41.ttf} | Bin - ...ttf => Roboto-Regular.smallcaps.default.43.ttf} | Bin - ... => Roboto-Regular.smallcaps.default.CA,CB.ttf} | Bin - ...oto-Regular.smallcaps.retain-gids.41,42,43.ttf} | Bin - ...Roboto-Regular.smallcaps.retain-gids.41,43.ttf} | Bin - ...=> Roboto-Regular.smallcaps.retain-gids.41.ttf} | Bin - ...=> Roboto-Regular.smallcaps.retain-gids.43.ttf} | Bin - ...Roboto-Regular.smallcaps.retain-gids.CA,CB.ttf} | Bin - .../Fraunces.keep-layout.26,66,69,124,125.ttf | Bin 18496 -> 0 bytes - .../expected/variable/Fraunces.keep-layout.61.ttf | Bin 5880 -> 0 bytes - .../data/profiles/keep-layout-drop-hints.txt | 2 -- - .../data/profiles/keep-layout-retain-gids.txt | 2 -- - test/subset/data/profiles/keep-layout.txt | 1 - - test/subset/data/tests/basics.tests | 2 -- - test/subset/data/tests/layout.context.tests | 4 ++-- - test/subset/data/tests/layout.gpos.tests | 4 ++-- - test/subset/data/tests/layout.gpos2.tests | 4 ++-- - test/subset/data/tests/layout.gpos3.tests | 4 ++-- - test/subset/data/tests/layout.gpos4.tests | 4 ++-- - test/subset/data/tests/layout.gpos5.tests | 4 ++-- - test/subset/data/tests/layout.gpos6.tests | 4 ++-- - test/subset/data/tests/layout.gpos8.amiri.tests | 4 ++-- - test/subset/data/tests/layout.gpos8.tests | 4 ++-- - test/subset/data/tests/layout.gpos9.tests | 4 ++-- - test/subset/data/tests/layout.gsub3.tests | 4 ++-- - test/subset/data/tests/layout.gsub5.tests | 4 ++-- - test/subset/data/tests/layout.gsub6.tests | 4 ++-- - test/subset/data/tests/layout.gsub8.tests | 4 ++-- - test/subset/data/tests/layout.khmer.tests | 4 ++-- - .../data/tests/layout.notonastaliqurdu.tests | 2 +- - test/subset/data/tests/layout.tests | 4 ++-- - test/subset/data/tests/variable.tests | 2 +- - test/subset/generate-expected-outputs.py | 2 +- - test/subset/run-tests.py | 2 +- - 614 files changed, 36 insertions(+), 46 deletions(-) - -commit 425ba1f4ab4fd1ee0245bc822336d26bd1755c52 -Author: Garret Rieger -Date: Mon Apr 19 18:01:24 2021 -0700 - - [subset] fixes infinite loop in hb_set_get_max(). - - Fixes https://oss-fuzz.com/testcase-detail/5363902507515904 - - src/hb-set.hh | 2 +- - test/api/test-set.c | 7 ++++++- - ...-testcase-minimized-hb-subset-fuzzer-5363902507515904 | Bin 0 -> 1683 bytes - 3 files changed, 7 insertions(+), 2 deletions(-) - -commit ec4321068b9de1ea2730b8a62dda7cb23d064303 -Author: Garret Rieger -Date: Mon Apr 19 17:18:05 2021 -0700 - - [subset] fix infinite loop caused by alloc failure in repacker. - - Fixes: https://oss-fuzz.com/testcase-detail/5609112151916544. - - src/hb-repacker.hh | 8 ++++---- - ...testcase-minimized-hb-subset-fuzzer-5609112151916544 | Bin 0 -> 80225 bytes - 2 files changed, 4 insertions(+), 4 deletions(-) - -commit 0e845d973e2bf15b56cf68af9db778d1258b7709 -Author: Garret Rieger -Date: Mon Apr 19 16:09:37 2021 -0700 - - [subset] fix memory leak in repacker caused by failed alloc. - - Fixes: https://oss-fuzz.com/testcase-detail/5616763250278400. - - src/hb-repacker.hh | 4 +++- - ...testcase-minimized-hb-subset-fuzzer-5616763250278400 | Bin 0 -> 97363 bytes - 2 files changed, 3 insertions(+), 1 deletion(-) - -commit 3fb62cdc141d2d30ba0fc4a173dd50e7c1d56466 -Author: Garret Rieger -Date: Mon Apr 5 15:48:34 2021 -0700 - - [subset] fail on offset overflow in tables that we don't repack. - - Fixes: https://oss-fuzz.com/testcase-detail/5229304507138048 - - src/hb-subset.cc | 5 ++++- - ...testcase-minimized-hb-subset-fuzzer-5229304507138048 | Bin 0 -> 56552 bytes - 2 files changed, 4 insertions(+), 1 deletion(-) - -commit 19e096aa97b1b3af21313df5250a937ddfece7fb -Merge: ed2ee8a8c 23a28f5ad -Author: Behdad Esfahbod -Date: Fri Apr 16 14:35:04 2021 -0600 - - Merge pull request #2067 from harfbuzz/null-size - - Avoid undefined-behavior, another try - -commit ed2ee8a8c26dc39e39172c169d8a0d434083fefe -Author: Behdad Esfahbod -Date: Fri Apr 16 13:53:43 2021 -0600 - - Revert "Disable -Wunused-macros under GCC" - - This reverts commit 1b1413246b8b4a9c6f7e0aac16afd6d110c142cf. - - Err. It wasn't working. We already have that disabled in the files it - is warning about. Doesn't work. - - src/hb.hh | 1 - - 1 file changed, 1 deletion(-) - -commit 47cbf8f2c49ae82b85bf1edb211ade257f009800 -Author: Behdad Esfahbod -Date: Tue Mar 30 21:01:44 2021 -0600 - - [test] Silence more compiler warnings - - test/api/test-unicode.c | 3 +++ - 1 file changed, 3 insertions(+) - -commit 1b1413246b8b4a9c6f7e0aac16afd6d110c142cf -Author: Behdad Esfahbod -Date: Tue Mar 30 20:54:20 2021 -0600 - - Disable -Wunused-macros under GCC - - Since the pragram in hb-ot-shape-complex-indic-table.cc didn't seem to - silence GCC, eg: - - ../../src/hb-ot-shape-complex-indic-table.cc:55: warning: macro "ISC_TL" is not used [-Wunused-macros] - 55 | #define ISC_TL INDIC_SYLLABIC_CATEGORY_TONE_LETTER /* 7 chars; Tone_Letter */ - - disable it at compiler level. - - src/hb.hh | 1 + - 1 file changed, 1 insertion(+) - -commit 23a28f5ad059a45ff861a06a63d8537dab7f81b7 -Author: Behdad Esfahbod -Date: Fri Apr 16 13:22:05 2021 -0600 - - Avoid undefined-behavior - - If a struct had (because it's a union) sizeof that is larger than the null_size, - we were providing only null_size bytes for its Null object. We know we'd never - access beyond that, but is undefined-behavior nonetheless according to the - standard. - - The alternative fix would have required use of flexible-arrays, which are not - standard and have their own issues in various compiler. We've discussed that - extensively in the follow Mozilla issue (currently locked; I've asked that it - be opened): - - https://bugzilla.mozilla.org/show_bug.cgi?id=1577584 - - Part of - https://github.com/harfbuzz/harfbuzz/pull/2067 - - src/hb-null.hh | 11 ++++++++--- - 1 file changed, 8 insertions(+), 3 deletions(-) - -commit 499248c533eaf88f20920bc438a939989a359956 -Author: Behdad Esfahbod -Date: Fri Apr 16 13:14:48 2021 -0600 - - [blob] Use min_size, instead of null_size in .as() - - Part of https://github.com/harfbuzz/harfbuzz/pull/2067 - - src/hb-array.hh | 2 +- - src/hb-null.hh | 9 ++++++++- - 2 files changed, 9 insertions(+), 2 deletions(-) - -commit a4fb5da984d1dc50e419298a6212a0f53b4f761f -Author: Khaled Hosny -Date: Fri Apr 16 14:10:37 2021 +0200 - - [ci] Enable DirectWrite in win32 tarballs - - .ci/build-win32.sh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit f2240d12c2a847afda0eb2da635694ca2346de65 -Author: Khaled Hosny -Date: Fri Apr 16 02:37:11 2021 +0200 - - [ci] Use -j2 for make and ninja in distcheck job - - Lets see if this makes it faster without crashing gcc. - - .circleci/config.yml | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit f5c922b7091b9919cd6dbe17db663edb366aea52 -Author: Khaled Hosny -Date: Fri Apr 16 01:47:34 2021 +0200 - - [ci] Try to stop distcheck job from crashing gcc - - .circleci/config.yml | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit e116058bba1f5eb667d211c0c6c0be1bbffc6213 -Author: Khaled Hosny -Date: Thu Apr 15 13:52:19 2021 +0200 - - [directwrite] Use correct UTF-16 string length - - Fixes https://github.com/harfbuzz/harfbuzz/issues/2474 - - src/hb-directwrite.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 668acff1f07ed6bb1472467e59d16399befa68ae -Author: Ben Denckla -Date: Mon Apr 12 14:25:19 2021 -0400 - - similarly improve comments on Hebrew ccc 18 & 19 - - Should have committed this along with commit 9658435a25c2ba82 but forgot. - - src/hb-ot-shape-fallback.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 43d955207bcfcddbf5a5e3d35819fddb81605be3 -Author: Ben Denckla -Date: Mon Apr 12 14:01:56 2021 -0400 - - improve comments on Hebrew ccc 18 & 19 - - improve comments to reflect that: - ccc 18 includes both "flavors" of qamats: qamats [gadol] and qamats qatan - ccc 19 includes both "flavors" of holam: holam [not haser for vav] and holam haser for vav - This code and its comments may have been written before these code points were added to Unicode. - I.e. originally, these comments may have been complete, but they may have become incomplete in the meantime. - - src/hb-unicode.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 4cc4cd3b24ded40cfff651ebf63d20d19253c505 -Author: Ambient Lighter -Date: Sat Apr 10 14:11:23 2021 +0300 - - [docs] Fix spelling typo (#2945) - - docs/usermanual-object-model.xml | 2 +- - perf/texts/en-words.txt | 1 - - 2 files changed, 1 insertion(+), 2 deletions(-) - -commit 9dc9f0385dce05456d48730bf5dc7cac52eaa4da -Author: Qunxin Liu -Date: Thu Apr 8 11:00:17 2021 -0700 - - [subset] fix for fuzzer testcase: https://oss-fuzz.com/testcase-detail/5858518134554624 - - src/hb-ot-layout-gpos-table.hh | 4 ++++ - ...z-testcase-minimized-hb-subset-fuzzer-5858518134554624 | Bin 0 -> 802 bytes - 2 files changed, 4 insertions(+) - -commit 430a67ceaba5896c850c0a0da80f1bc211c022d8 -Author: Qunxin Liu -Date: Thu Apr 1 12:01:19 2021 -0700 - - [subset] COLRv1 struct definitions - - src/hb-ot-color-colr-table.hh | 479 +++++++++++++++++++++++++++++++++++++++++- - 1 file changed, 474 insertions(+), 5 deletions(-) - -commit 553ffaf6823040bf4a91bcd4c8e42592cd4d13c2 -Author: Qunxin Liu -Date: Wed Apr 7 17:15:32 2021 -0700 - - [subset] fix for fuzzer testcase: https://oss-fuzz.com/testcase-detail/6382598554255360 - avoid writing to null pointer - - src/hb-ot-layout-gpos-table.hh | 1 + - 1 file changed, 1 insertion(+) - -commit 4af5dacedc8d45c701c8a559962f1b071419ca50 -Author: Qunxin Liu -Date: Wed Apr 7 10:56:49 2021 -0700 - - [subset] add fuzzer testcase - - ...z-testcase-minimized-hb-subset-fuzzer-6382598554255360 | Bin 0 -> 766 bytes - 1 file changed, 0 insertions(+), 0 deletions(-) - -commit 8b686afeb5a7f959d98c0f85844d782c1cbc489f -Author: Garret Rieger -Date: Tue Apr 6 11:33:38 2021 -0700 - - [subset] add unlikely(). - - src/hb-ot-layout-gsubgpos.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 64122b5a443d78cc1c4c0c94fa2e489e1f22dd3e -Author: Garret Rieger -Date: Mon Apr 5 12:53:08 2021 -0700 - - [subset] don't visit lookup if covered glyph set has failed. - - If covered glyph set is in error then the same lookup can be recursed into repeatedly potentially causing a fuzzer timeout. Fixes: https://oss-fuzz.com/testcase-detail/5416421032067072. - - src/hb-ot-layout-gsubgpos.hh | 2 ++ - ...z-testcase-minimized-hb-subset-fuzzer-5416421032067072 | Bin 0 -> 114 bytes - 2 files changed, 2 insertions(+) - -commit 4ec18c85e6eebc0948c29df36fc13b5467fce86b -Author: Garret Rieger -Date: Fri Apr 2 15:33:54 2021 -0700 - - [subset] add subsetting tests with drop hints and layout subsetting enabled. - - ...taa-Regular-new.keep-layout-drop-hints.61,62,63.ttf | Bin 0 -> 3444 bytes - ...fortaa-Regular-new.keep-layout-drop-hints.61,63.ttf | Bin 0 -> 3140 bytes - ...Comfortaa-Regular-new.keep-layout-drop-hints.61.ttf | Bin 0 -> 2804 bytes - ...Comfortaa-Regular-new.keep-layout-drop-hints.62.ttf | Bin 0 -> 2396 bytes - ...Comfortaa-Regular-new.keep-layout-drop-hints.63.ttf | Bin 0 -> 2464 bytes - ...new.keep-layout-drop-hints.retain-all-codepoint.ttf | Bin 0 -> 187944 bytes - ...-Regular-subset.keep-layout-drop-hints.61,62,63.ttf | Bin 0 -> 1452 bytes - ...gjo-Regular-subset.keep-layout-drop-hints.61,63.ttf | Bin 0 -> 1276 bytes - ...eongjo-Regular-subset.keep-layout-drop-hints.61.ttf | Bin 0 -> 1128 bytes - ...eongjo-Regular-subset.keep-layout-drop-hints.62.ttf | Bin 0 -> 1140 bytes - ...eongjo-Regular-subset.keep-layout-drop-hints.63.ttf | Bin 0 -> 1104 bytes - ...set.keep-layout-drop-hints.retain-all-codepoint.ttf | Bin 0 -> 3536 bytes - ...oto-Regular.abc.keep-layout-drop-hints.61,62,63.ttf | Bin 0 -> 1208 bytes - ...Roboto-Regular.abc.keep-layout-drop-hints.61,63.ttf | Bin 0 -> 1120 bytes - .../Roboto-Regular.abc.keep-layout-drop-hints.61.ttf | Bin 0 -> 988 bytes - .../Roboto-Regular.abc.keep-layout-drop-hints.62.ttf | Bin 0 -> 876 bytes - .../Roboto-Regular.abc.keep-layout-drop-hints.63.ttf | Bin 0 -> 960 bytes - ...abc.keep-layout-drop-hints.retain-all-codepoint.ttf | Bin 0 -> 1208 bytes - test/subset/data/profiles/keep-layout-drop-hints.txt | 2 ++ - test/subset/data/tests/basics.tests | 1 + - 20 files changed, 3 insertions(+) - -commit 6f98a8ed4627b662d9591649328d2d302fc01987 -Author: Garret Rieger -Date: Fri Apr 2 14:37:10 2021 -0700 - - [subset] Anchor should only use format 1 when hints are dropped. - - Refactor Anchor to have a subset method instead of copy. This also allows - use to use serialize_subset in several places which simplifies calculating - offset bases. - - src/hb-ot-layout-gpos-table.hh | 189 +++++++++++++++++++++-------------------- - 1 file changed, 95 insertions(+), 94 deletions(-) - -commit 71d6d1560035619ee685dc9aa626eeefabe5e9f1 -Author: Garret Rieger -Date: Mon Apr 5 12:03:17 2021 -0700 - - [subset] clamp distance to prevent shifting outside of the limits of int64. - - Fixes https://oss-fuzz.com/testcase-detail/4961171477233664. - - src/hb-repacker.hh | 3 ++- - ...testcase-minimized-hb-subset-fuzzer-4961171477233664 | Bin 0 -> 39793 bytes - 2 files changed, 2 insertions(+), 1 deletion(-) - -commit fcacd17748b85a56ff0c1d822295bfcbd8e175a2 -Author: Khaled Hosny -Date: Mon Apr 5 22:27:39 2021 +0200 - - [ot] Update _hb_glyph_info_is_default_ignorable_and_not_hidden() - - Used _hb_glyph_info_substituted() similar to the change made to - _hb_glyph_info_is_default_ignorable() in - 7686ff854bbb9698bb1469dcfe6d288c695a76b7. - - src/hb-ot-layout.hh | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit 596f4258d0b6464a8186263625a2da1b16014bdd -Author: Garret Rieger -Date: Fri Apr 2 12:41:09 2021 -0700 - - [subset] copy Lookup::markFilteringSet when subseting. - - src/hb-ot-layout-common.hh | 8 ++++++++ - .../Comfortaa-Regular-new.keep-layout.61,62,63.ttf | Bin 0 -> 8100 bytes - .../basics/Comfortaa-Regular-new.keep-layout.61,63.ttf | Bin 0 -> 7736 bytes - .../basics/Comfortaa-Regular-new.keep-layout.61.ttf | Bin 0 -> 7360 bytes - .../basics/Comfortaa-Regular-new.keep-layout.62.ttf | Bin 0 -> 6796 bytes - .../basics/Comfortaa-Regular-new.keep-layout.63.ttf | Bin 0 -> 6844 bytes - ...aa-Regular-new.keep-layout.retain-all-codepoint.ttf | Bin 0 -> 222212 bytes - ...numMyeongjo-Regular-subset.keep-layout.61,62,63.ttf | Bin 0 -> 4128 bytes - .../NanumMyeongjo-Regular-subset.keep-layout.61,63.ttf | Bin 0 -> 3580 bytes - .../NanumMyeongjo-Regular-subset.keep-layout.61.ttf | Bin 0 -> 3156 bytes - .../NanumMyeongjo-Regular-subset.keep-layout.62.ttf | Bin 0 -> 3180 bytes - .../NanumMyeongjo-Regular-subset.keep-layout.63.ttf | Bin 0 -> 3048 bytes - ...Regular-subset.keep-layout.retain-all-codepoint.ttf | Bin 0 -> 9524 bytes - .../basics/Roboto-Regular.abc.keep-layout.61,62,63.ttf | Bin 0 -> 2452 bytes - .../basics/Roboto-Regular.abc.keep-layout.61,63.ttf | Bin 0 -> 2260 bytes - .../basics/Roboto-Regular.abc.keep-layout.61.ttf | Bin 0 -> 2048 bytes - .../basics/Roboto-Regular.abc.keep-layout.62.ttf | Bin 0 -> 1916 bytes - .../basics/Roboto-Regular.abc.keep-layout.63.ttf | Bin 0 -> 1972 bytes - ...to-Regular.abc.keep-layout.retain-all-codepoint.ttf | Bin 0 -> 2452 bytes - test/subset/data/tests/basics.tests | 1 + - 20 files changed, 9 insertions(+) - -commit d3a2f999e4d5c83e14f6380b780aab170d9cbd39 -Author: Behdad Esfahbod -Date: Fri Apr 2 08:32:41 2021 -0600 - - Fix up build - - This was left out; oops. - - src/hb-set-digest.hh | 8 ++++++++ - 1 file changed, 8 insertions(+) - -commit c35d7863979f2395140d70cda49a19857b98f515 -Author: Garret Rieger -Date: Thu Apr 1 14:32:38 2021 -0700 - - [subset] never drop the 'pref' feature. - - Never ever drop feature 'pref', even if it's empty. Harfbuzz uses it to choose the shaper for Khmer. - - src/hb-ot-layout-gsubgpos.hh | 7 +++++++ - test/subset/data/Makefile.am | 1 + - test/subset/data/Makefile.sources | 1 + - .../layout.khmer/Khmer.keep-layout-retain-gids.1780.ttf | Bin 0 -> 4464 bytes - ...ain-gids.1789,17BB,17C6,1794,17B6,1793,1798,17BE.ttf | Bin 0 -> 7848 bytes - .../layout.khmer/Khmer.keep-layout-retain-gids.31.ttf | Bin 0 -> 4256 bytes - .../expected/layout.khmer/Khmer.keep-layout.1780.ttf | Bin 0 -> 4204 bytes - ...p-layout.1789,17BB,17C6,1794,17B6,1793,1798,17BE.ttf | Bin 0 -> 6412 bytes - .../data/expected/layout.khmer/Khmer.keep-layout.31.ttf | Bin 0 -> 4140 bytes - test/subset/data/fonts/Khmer.ttf | Bin 0 -> 75368 bytes - test/subset/data/tests/layout.khmer.tests | 11 +++++++++++ - test/subset/meson.build | 1 + - 12 files changed, 21 insertions(+) - -commit 092094f7055c1632e9bdf2c07f16e984a88a65ec -Author: Behdad Esfahbod -Date: Thu Apr 1 15:47:21 2021 -0600 - - Use as_array() and range loops in a few places - - src/hb-ot-cmap-table.hh | 17 +++++++---------- - src/hb-ot-layout-common.hh | 26 +++++++++----------------- - src/hb-set.hh | 4 ++++ - 3 files changed, 20 insertions(+), 27 deletions(-) - -commit 55e7f3fe329021c77c880f1f3fd6d082f4ac27da -Author: Garret Rieger -Date: Thu Apr 1 13:35:30 2021 -0700 - - [subset] Match FeatureVariationRecord dropping from fontTools. - - Only drop records with no matching features that are at the end of the list. See: https://github.com/fonttools/fonttools/commit/cab7d13dc0883765cde435215c7d65e9212f152d - - src/hb-ot-layout-common.hh | 36 ++++++++++++++++++++++++++++++------ - 1 file changed, 30 insertions(+), 6 deletions(-) - -commit f0c78e028261a7823194cccc7be241aa9ddbac25 -Author: Garret Rieger -Date: Thu Mar 25 12:57:12 2021 -0700 - - [subset] don't drop features referenced in a feature variation substitution. - - src/hb-ot-layout-common.hh | 13 ++++++++++--- - 1 file changed, 10 insertions(+), 3 deletions(-) - -commit dae99b7769616d354e8cce41fbd7cf780353cb44 -Author: Garret Rieger -Date: Thu Mar 25 12:33:51 2021 -0700 - - [subset] don't keep FeatureVariationRecord's with no subsittutions. - - src/hb-ot-layout-common.hh | 13 +++++++------ - 1 file changed, 7 insertions(+), 6 deletions(-) - -commit 85b07287838440e000622c53cee9cc911ad0de6d -Author: Garret Rieger -Date: Thu Mar 25 12:17:18 2021 -0700 - - Add full variable font subsetting test. - - test/subset/data/Makefile.am | 1 + - test/subset/data/Makefile.sources | 1 + - .../variable/Fraunces.keep-layout.26,66,69,124,125.ttf | Bin 0 -> 18496 bytes - .../data/expected/variable/Fraunces.keep-layout.61.ttf | Bin 0 -> 5880 bytes - test/subset/data/fonts/Fraunces.ttf | Bin 0 -> 360440 bytes - test/subset/data/tests/variable.tests | 9 +++++++++ - test/subset/meson.build | 1 + - 7 files changed, 12 insertions(+) - -commit c4b49075f62eaa11799c95099a70acbb70e566c9 -Author: Behdad Esfahbod -Date: Thu Apr 1 10:47:18 2021 -0700 - - Update CMakeLists.txt - - Keep the warning. - - CMakeLists.txt | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 9945f327463066957f2677237d468651235a1f3d -Author: Timo Suoranta -Date: Sat Feb 6 14:24:25 2021 +0200 - - Test fix to export target include directories - - CMakeLists.txt | 8 +++++--- - 1 file changed, 5 insertions(+), 3 deletions(-) - -commit b10741ca7f4cd55526f303c47c72f0a5c1a932fe -Author: Garret Rieger -Date: Thu Mar 25 19:14:48 2021 -0700 - - [subset] when closing glyphs in context lookups don't use a current glyph set if a lookup is already applied. - - src/hb-ot-layout-gsubgpos.hh | 12 ++++++++---- - ...ayout-retain-gids.627,644,623,62D,644,627,645,2E.ttf | Bin 18272 -> 0 bytes - ...rdu-Bold.keep-layout-retain-gids.627,644,62D,628.ttf | Bin 24416 -> 0 bytes - ...liqUrdu-Bold.keep-layout-retain-gids.627,644,62D.ttf | Bin 0 -> 11532 bytes - ...astaliqUrdu-Bold.keep-layout-retain-gids.627,644.ttf | Bin 9216 -> 0 bytes - ...ep-layout-retain-gids.633,645,627,621,20,644,627.ttf | Bin 18212 -> 0 bytes - ...liqUrdu-Bold.keep-layout-retain-gids.63A,64A,631.ttf | Bin 26628 -> 0 bytes - ...-Bold.keep-layout.627,644,623,62D,644,627,645,2E.ttf | Bin 11436 -> 0 bytes - ...otoNastaliqUrdu-Bold.keep-layout.627,644,62D,628.ttf | Bin 18288 -> 0 bytes - .../NotoNastaliqUrdu-Bold.keep-layout.627,644.ttf | Bin 3568 -> 0 bytes - ...Urdu-Bold.keep-layout.633,645,627,621,20,644,627.ttf | Bin 12408 -> 0 bytes - .../NotoNastaliqUrdu-Bold.keep-layout.63A,64A,631.ttf | Bin 20408 -> 0 bytes - test/subset/data/tests/layout.notonastaliqurdu.tests | 7 +------ - 13 files changed, 9 insertions(+), 10 deletions(-) - -commit 2773d057403292e4a13e13ca12912437607b9d86 -Author: Garret Rieger -Date: Wed Nov 4 11:11:16 2020 -0800 - - [subset] Add a test case using NotoNastaliqUrdu. - - test/subset/data/Makefile.am | 1 + - test/subset/data/Makefile.sources | 1 + - ...ayout-retain-gids.627,644,623,62D,644,627,645,2E.ttf | Bin 0 -> 18272 bytes - ...rdu-Bold.keep-layout-retain-gids.627,644,62D,628.ttf | Bin 0 -> 24416 bytes - ...astaliqUrdu-Bold.keep-layout-retain-gids.627,644.ttf | Bin 0 -> 9216 bytes - ...ep-layout-retain-gids.633,645,627,621,20,644,627.ttf | Bin 0 -> 18212 bytes - ...liqUrdu-Bold.keep-layout-retain-gids.63A,64A,631.ttf | Bin 0 -> 26628 bytes - ...-Bold.keep-layout.627,644,623,62D,644,627,645,2E.ttf | Bin 0 -> 11436 bytes - ...otoNastaliqUrdu-Bold.keep-layout.627,644,62D,628.ttf | Bin 0 -> 18288 bytes - .../NotoNastaliqUrdu-Bold.keep-layout.627,644.ttf | Bin 0 -> 3568 bytes - ...Urdu-Bold.keep-layout.633,645,627,621,20,644,627.ttf | Bin 0 -> 12408 bytes - .../NotoNastaliqUrdu-Bold.keep-layout.63A,64A,631.ttf | Bin 0 -> 20408 bytes - test/subset/data/tests/layout.notonastaliqurdu.tests | 13 +++++++++++++ - test/subset/meson.build | 1 + - 14 files changed, 16 insertions(+) - -commit 8ef4257dc8d6b59b55d0169b66c8de135d5f199b -Author: Garret Rieger -Date: Wed Mar 31 15:00:46 2021 -0700 - - [sanitize] change max ops to track number of bytes processed. - - Counting bytes as the operations is likely to be a better proxy for how - much work processing the table will cost vs. the current approach of - counting the number of sub-objects. - - This should allow checks for max features, max scripts, etc. to be removed. - - I tested this change against the full collection of fonts at https://github.com/google/fonts - and a max ops factor of 3 was sufficient to successfully sanitize all of them. - - src/hb-sanitize.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 70110f6aaac541bc157eb5612b476d3b906b5d2a -Author: Behdad Esfahbod -Date: Wed Mar 31 17:04:02 2021 -0600 - - Modify OffsetTo<>::sanitize() overflow check - - The code in question was introduced in 70eb2ff682. - Rewrite it to not call sanitizer check_range() as we want to use - check_range() for byte accounting. - - Part of https://github.com/harfbuzz/harfbuzz/pull/2923 - - src/hb-open-type.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 4dba749d833491ec0c73fb4647f55236be1caee3 -Author: Behdad Esfahbod -Date: Wed Mar 31 16:09:39 2021 -0600 - - Add SortedArray{16,32}Of<> - - src/hb-open-type.hh | 5 ++++- - src/hb-ot-cmap-table.hh | 10 +++++----- - src/hb-ot-color-svg-table.hh | 2 +- - src/hb-ot-layout-base-table.hh | 8 ++++---- - src/hb-ot-layout-common.hh | 8 ++++---- - src/hb-ot-layout-jstf-table.hh | 2 +- - src/hb-ot-vorg-table.hh | 2 +- - 7 files changed, 20 insertions(+), 17 deletions(-) - -commit 5639e253f91bd71cdb626719ebc5b8d68631cc73 -Author: Behdad Esfahbod -Date: Wed Mar 31 16:04:43 2021 -0600 - - Add Array16Of<> - - src/hb-aat-layout-common.hh | 2 +- - src/hb-aat-layout-just-table.hh | 2 +- - src/hb-open-type.hh | 6 ++-- - src/hb-ot-gasp-table.hh | 2 +- - src/hb-ot-layout-common.hh | 12 +++---- - src/hb-ot-layout-gdef-table.hh | 4 +-- - src/hb-ot-layout-gpos-table.hh | 8 ++--- - src/hb-ot-layout-gsub-table.hh | 20 +++++------ - src/hb-ot-layout-gsubgpos.hh | 54 +++++++++++++++--------------- - src/hb-ot-math-table.hh | 10 +++--- - src/hb-ot-post-table.hh | 4 +-- - src/hb-ot-shape-complex-arabic-fallback.hh | 2 +- - src/hb-ot-var-avar-table.hh | 2 +- - 13 files changed, 64 insertions(+), 64 deletions(-) - -commit 2520a82df9116fbc287cec1be66d05874c467bbb -Author: Behdad Esfahbod -Date: Wed Mar 31 15:34:26 2021 -0600 - - s/LArrayOf/Array32Of/g - - src/hb-aat-layout-ankr-table.hh | 2 +- - src/hb-aat-layout-just-table.hh | 2 +- - src/hb-aat-ltag-table.hh | 2 +- - src/hb-open-file.hh | 4 ++-- - src/hb-open-type.hh | 4 ++-- - src/hb-ot-color-cbdt-table.hh | 8 ++++---- - src/hb-ot-layout-common.hh | 2 +- - src/hb-ot-meta-table.hh | 2 +- - 8 files changed, 13 insertions(+), 13 deletions(-) - -commit 5efe3609865b450305474b9abe672905bd25cc06 -Author: Behdad Esfahbod -Date: Wed Mar 31 15:33:22 2021 -0600 - - Rename (Unsized)OffsetListOf - - src/hb-aat-layout-morx-table.hh | 4 ++-- - src/hb-open-type.hh | 6 +++--- - src/hb-ot-layout-common.hh | 8 ++++---- - src/hb-ot-layout-gpos-table.hh | 2 +- - src/hb-ot-layout-gsubgpos.hh | 2 +- - src/hb-ot-layout-jstf-table.hh | 6 +++--- - 6 files changed, 14 insertions(+), 14 deletions(-) - -commit 6c4e0491d7ebdc41318db59c4b0911212b299341 -Author: Behdad Esfahbod -Date: Wed Mar 31 15:31:32 2021 -0600 - - s/OffsetArrayOf/Array16OfOffset16To/g - - src/hb-open-type.hh | 6 ++--- - src/hb-ot-layout-base-table.hh | 2 +- - src/hb-ot-layout-common.hh | 8 +++---- - src/hb-ot-layout-gdef-table.hh | 6 ++--- - src/hb-ot-layout-gpos-table.hh | 2 +- - src/hb-ot-layout-gsub-table.hh | 26 ++++++++++---------- - src/hb-ot-layout-gsubgpos.hh | 54 +++++++++++++++++++++--------------------- - 7 files changed, 52 insertions(+), 52 deletions(-) - -commit 1fc6b69aed28aa768b65a8cf0825b79aa851a71f -Author: Behdad Esfahbod -Date: Wed Mar 31 15:30:35 2021 -0600 - - s/UnsizedOffsetArrayOf/UnsizedArray16OfOffsetTo/g - - src/hb-open-type.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 2a54c9f744b195bb1412573afcc36db806d20a4b -Author: Behdad Esfahbod -Date: Wed Mar 31 15:26:42 2021 -0600 - - . - - src/hb-open-type.hh | 9 +++------ - src/hb-ot-color-sbix-table.hh | 4 ++-- - src/hb-ot-layout-common.hh | 4 ++-- - 3 files changed, 7 insertions(+), 10 deletions(-) - -commit c539afb08b1b698216541087b1eec222472699ea -Author: Behdad Esfahbod -Date: Wed Mar 31 13:28:25 2021 -0600 - - [CFF] Use NNOffsetTo<> instead of OffsetTo<> - - I'm pretty sure that's what is intended. - - src/hb-ot-cff1-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 9b4b58493b7e4c15565e4a47118181d96f517fae -Author: Behdad Esfahbod -Date: Wed Mar 31 13:27:21 2021 -0600 - - Fixup for recent OffsetTo<> changes - - src/hb-open-type.hh | 2 +- - src/hb-ot-layout-gsubgpos.hh | 8 ++++---- - 2 files changed, 5 insertions(+), 5 deletions(-) - -commit ad28f973f3ec6184b4c405efc0e17fba87b51062 -Author: Behdad Esfahbod -Date: Wed Mar 31 12:49:14 2021 -0600 - - Rename offset types to be explicit about their size - - Add Offset16To<>, Offset24To<>, and Offset32To<> for most use-cases. - - src/hb-aat-layout-ankr-table.hh | 6 +-- - src/hb-aat-layout-common.hh | 2 +- - src/hb-aat-layout-feat-table.hh | 2 +- - src/hb-aat-layout-just-table.hh | 12 ++--- - src/hb-aat-layout-kerx-table.hh | 14 +++--- - src/hb-aat-layout-opbd-table.hh | 8 ++-- - src/hb-aat-layout-trak-table.hh | 8 ++-- - src/hb-aat-ltag-table.hh | 2 +- - src/hb-open-file.hh | 12 ++--- - src/hb-open-type.hh | 14 +++--- - src/hb-ot-cmap-table.hh | 6 +-- - src/hb-ot-color-cbdt-table.hh | 4 +- - src/hb-ot-color-colr-table.hh | 4 +- - src/hb-ot-color-cpal-table.hh | 8 ++-- - src/hb-ot-color-sbix-table.hh | 4 +- - src/hb-ot-color-svg-table.hh | 4 +- - src/hb-ot-layout-base-table.hh | 28 ++++++------ - src/hb-ot-layout-common.hh | 22 +++++----- - src/hb-ot-layout-gdef-table.hh | 24 +++++----- - src/hb-ot-layout-gpos-table.hh | 70 +++++++++++++++--------------- - src/hb-ot-layout-gsub-table.hh | 14 +++--- - src/hb-ot-layout-gsubgpos.hh | 64 +++++++++++++-------------- - src/hb-ot-layout-jstf-table.hh | 24 +++++----- - src/hb-ot-math-table.hh | 34 +++++++-------- - src/hb-ot-meta-table.hh | 2 +- - src/hb-ot-name-table.hh | 4 +- - src/hb-ot-shape-complex-arabic-fallback.hh | 2 +- - src/hb-ot-stat-table.hh | 8 ++-- - src/hb-ot-var-fvar-table.hh | 2 +- - src/hb-ot-var-gvar-table.hh | 6 +-- - src/hb-ot-var-hvar-table.hh | 10 ++--- - src/hb-ot-var-mvar-table.hh | 2 +- - 32 files changed, 214 insertions(+), 212 deletions(-) - -commit c5c13006a1f8e5fb9b28a3c2081e93eb4e5d4c98 -Author: Garret Rieger -Date: Wed Mar 31 11:23:46 2021 -0700 - - [subset] fix memory leaks found in https://oss-fuzz.com/testcase-detail/5179935334465536 - - src/hb-repacker.hh | 3 ++- - src/hb-vector.hh | 5 +++++ - ...testcase-minimized-hb-subset-fuzzer-5179935334465536 | Bin 0 -> 50501 bytes - 3 files changed, 7 insertions(+), 1 deletion(-) - -commit bd2950b3939d88fed998717b05367651153dc21b -Author: Behdad Esfahbod -Date: Wed Mar 31 11:36:36 2021 -0600 - - Make VariationStore::get_delta(outer, inner) private - - src/hb-ot-layout-common.hh | 2 ++ - 1 file changed, 2 insertions(+) - -commit 934675a42958ba2e4e3e10aa4b55a9e772977399 -Author: Behdad Esfahbod -Date: Wed Mar 31 11:34:41 2021 -0600 - - Use VarIdx in VariationDevice - - src/hb-ot-layout-common.hh | 17 +++++++---------- - 1 file changed, 7 insertions(+), 10 deletions(-) - -commit 0f7f7536b9d98e65f345398529da9c6bc365a3fb -Author: Behdad Esfahbod -Date: Wed Mar 31 11:31:49 2021 -0600 - - [hvar] Change variation-index types from "unsigned int" to uint32_t - - src/hb-ot-var-hvar-table.hh | 14 +++++++------- - 1 file changed, 7 insertions(+), 7 deletions(-) - -commit 9ffc46b8ff5546998fc9b74cb54dec8618ed0ac7 -Author: Behdad Esfahbod -Date: Wed Mar 31 11:26:18 2021 -0600 - - Add VarIdx - - src/hb-open-type.hh | 6 ++++++ - src/hb-static.cc | 1 + - 2 files changed, 7 insertions(+) - -commit 2179281c406452392a2d9c7e17b81e02735fe50b -Author: Behdad Esfahbod -Date: Wed Mar 31 11:20:21 2021 -0600 - - Add Offset24 - - src/hb-open-type.hh | 1 + - 1 file changed, 1 insertion(+) - -commit b3159ed8d2dbe4af584d05298448e6de62d394d6 -Author: Behdad Esfahbod -Date: Tue Mar 30 20:52:56 2021 -0600 - - [util] Silence compiler warning - - util/helper-cairo.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit cab9d5a57dc56c47ba4db51b813fac618694c9a9 -Author: Andrzej Perczak -Date: Fri Mar 19 22:10:50 2021 +0100 - - hb-config: Include config-override earlier - - Currently config-override.h is included at the end of this file. This caused a problem for me while undefing HB_DISABLE_DEPRECATED, namely HB_IF_NOT_DEPRECATED was defined before actual undef took place and broke the whole build. I believe it would break builds for some other defines, too. Moving config-override.h include right after predefined configs is more sane and fixes all potential problems with includes. - - src/hb-config.hh | 7 +++---- - 1 file changed, 3 insertions(+), 4 deletions(-) - -commit adca4ce071d12998deea6bb53b223daa3aa163c5 -Author: Garret Rieger -Date: Tue Mar 30 13:20:50 2021 -0700 - - [subset] fixes https://oss-fuzz.com/testcase-detail/6173520787800064. - - Caused by incorrect bounds check in glyph closure for context lookups. - - src/hb-ot-layout-gsubgpos.hh | 2 +- - ...-testcase-minimized-hb-subset-fuzzer-6173520787800064 | Bin 0 -> 1731 bytes - 2 files changed, 1 insertion(+), 1 deletion(-) - -commit 9f77a0c1ff02765862d6d2bfed6b9aab78db6fff -Author: Garret Rieger -Date: Tue Mar 30 14:10:45 2021 -0700 - - [subset] use hb_set_clear to avoid calling clear() on null pool set. - - src/hb-ot-layout-gsubgpos.hh | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit 752e393ad2f5ec4f7faae84f5322fbef41ddb2ab -Author: Garret Rieger -Date: Mon Mar 29 17:23:33 2021 -0700 - - [subset] avoid calling clear on null pool set. - - src/hb-ot-layout-gsubgpos.hh | 3 ++- - ...z-testcase-minimized-hb-subset-fuzzer-5617065093365760 | Bin 0 -> 160 bytes - 2 files changed, 2 insertions(+), 1 deletion(-) - -commit 9ed5f04a7092c76744076ba65673b250aee22dcd -Author: Behdad Esfahbod -Date: Mon Mar 29 18:14:30 2021 -0600 - - [subset] Simplify recent out-of-memory fixes - - By checking return status of map->set(). - - src/hb-ot-layout-common.hh | 8 ++++---- - src/hb-ot-layout-gsubgpos.hh | 12 ++++++------ - 2 files changed, 10 insertions(+), 10 deletions(-) - -commit a8f9f85a919543ce79b5a7d5df90c132830ae772 -Author: Behdad Esfahbod -Date: Mon Mar 29 18:12:05 2021 -0600 - - [map] Return success from ->set() - - src/hb-map.hh | 16 +++++++++------- - 1 file changed, 9 insertions(+), 7 deletions(-) - -commit 8741914a8043757d4800b14192980fbc1ea24492 -Author: Garret Rieger -Date: Mon Mar 29 16:39:44 2021 -0700 - - [subset] fix memory leak when map insert fails. - - src/hb-ot-layout-common.hh | 17 ++++++++++++----- - ...estcase-minimized-hb-subset-fuzzer-6421315436281856 | Bin 0 -> 59 bytes - 2 files changed, 12 insertions(+), 5 deletions(-) - -commit 2397689387419f9a86b928ea5084b2318d136ac6 -Author: Behdad Esfahbod -Date: Mon Mar 29 17:34:23 2021 -0600 - - Remove hb_success_t - - Was not rolled-out yet. So just expand. - - src/hb-open-type.hh | 4 ++-- - src/hb.hh | 1 - - 2 files changed, 2 insertions(+), 3 deletions(-) - -commit 7a2eda7817a26e017c9da3db4700a24dde550dde -Author: Behdad Esfahbod -Date: Mon Mar 29 17:32:29 2021 -0600 - - Move code around - - src/hb-open-type.hh | 26 +++++++++++++------------- - 1 file changed, 13 insertions(+), 13 deletions(-) - -commit bcb57dccaabad4275ab96b14123413bbec6d0fec -Author: Behdad Esfahbod -Date: Mon Mar 29 17:31:09 2021 -0600 - - [sanitize] Add short-circuit to ArrayOfM1 - - Like the sibling ArrayOf types. - - src/hb-open-type.hh | 1 + - 1 file changed, 1 insertion(+) - -commit 5b6da6d2f0bcaeb7768705e6891f575ae73c8b41 -Author: Garret Rieger -Date: Mon Mar 29 16:19:17 2021 -0700 - - [subset] add fuzzer test case. - - ...z-testcase-minimized-hb-subset-fuzzer-5250795600740352 | Bin 0 -> 409 bytes - 1 file changed, 0 insertions(+), 0 deletions(-) - -commit 52df6b9fd8cf075f416372f0469a6915e814b0d6 -Author: Garret Rieger -Date: Mon Mar 29 16:17:27 2021 -0700 - - [subset] check for set insertion success. - - src/hb-ot-layout-gsubgpos.hh | 11 ++++++++--- - 1 file changed, 8 insertions(+), 3 deletions(-) - -commit c6adb90a273f22159b0775f798724d36d552d36c -Author: Garret Rieger -Date: Mon Mar 29 16:08:44 2021 -0700 - - [subset] fix nullptr deref. - - src/hb-ot-layout-gsubgpos.hh | 20 +++++++++++--------- - 1 file changed, 11 insertions(+), 9 deletions(-) - -commit 9a3537e5f688637a2ac2ced57de9e2b7c21d90a5 -Author: Garret Rieger -Date: Mon Mar 29 14:34:24 2021 -0700 - - [subset] invert err() return value. Undo previous change to check_success. - - src/hb-serialize.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit a804a0c903f6dd230954ff5855ed7ff1dd92844d -Author: Garret Rieger -Date: Mon Mar 29 14:25:20 2021 -0700 - - [subset] add fuzzer test case. - - ...-testcase-minimized-hb-subset-fuzzer-5887968763052032 | Bin 0 -> 3889 bytes - 1 file changed, 0 insertions(+), 0 deletions(-) - -commit cdba5d44c28a97ab8d9298a3bef60fcbd0845000 -Author: Garret Rieger -Date: Mon Mar 29 14:23:59 2021 -0700 - - [subset] fix incorrect handling of return value in check_success in the error case. - - src/hb-serialize.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 05e845c49ad2eebf110dcc6cb0ee48a7f68ca233 -Author: Behdad Esfahbod -Date: Mon Mar 29 16:02:10 2021 -0700 - - Make previous commit gcc-only - - src/hb.hh | 2 ++ - 1 file changed, 2 insertions(+) - -commit b5e40323921566ce8a15aa7808d22d36acac4edd -Author: Behdad Esfahbod -Date: Mon Mar 29 15:54:40 2021 -0700 - - -Wno-unused-result - - GCC doesn't let one turn off the warning using "(void) foo()". - People have introduced macros that do "unused << foo()" instead. - Until we do something similar, silence gcc. - - Clang on the other hand understands "(void) foo()". - - src/hb.hh | 1 + - 1 file changed, 1 insertion(+) - -commit c30349d54e67c1ee7e1ea759e8378fcf6a6c9ff4 -Author: Khaled Hosny -Date: Sun Mar 21 20:12:59 2021 +0200 - - [hb-view] Support kitty inline images protocol - - https://github.com/harfbuzz/harfbuzz/issues/2758 - - util/helper-cairo.cc | 36 ++++++++++++++++++++++++++++++++++++ - 1 file changed, 36 insertions(+) - -commit f7d5889b3ea9012d23407b83a176bcd54a94e21b -Author: Khaled Hosny -Date: Sun Mar 21 18:16:33 2021 +0200 - - [hb-view] Support iTerm2 inline images protocol - - https://github.com/harfbuzz/harfbuzz/issues/2758 - - util/helper-cairo.cc | 85 +++++++++++++++++++++++++++++++++++++++++++++++----- - 1 file changed, 78 insertions(+), 7 deletions(-) - -commit 743baf35436d8de937984e09467f453cdfba102e -Author: Khaled Hosny -Date: Mon Mar 22 15:51:17 2021 +0200 - - [build] Don’t look for FontConfig - - We don’t currently use it anywhere. It was used briefly for the - hb-fc-list tool, but this tool have not been built since 2015: - - commit cd042fc8c4a3984c3647cd22a27c34f00636f6e8 - Author: Behdad Esfahbod - Date: Thu Jun 18 10:55:13 2015 -0700 - - [util] Disable hb-fc-list for now - - Until I figure out what to do about the API, and finalize - the tool. - - .circleci/config.yml | 2 +- - Makefile.am | 1 - - configure.ac | 19 ------------------- - docs/usermanual-install-harfbuzz.xml | 20 -------------------- - meson.build | 7 ------- - meson_options.txt | 2 -- - subprojects/.gitignore | 1 - - subprojects/fontconfig.wrap | 6 ------ - 8 files changed, 1 insertion(+), 57 deletions(-) - -commit 95230e291dddc20185e6a34b69836631d894c0d8 -Author: Qunxin Liu -Date: Thu Mar 18 17:41:25 2021 -0700 - - [subset] support subsetting GSUB8 - - src/hb-ot-layout-gsub-table.hh | 73 ++++++++++++++++++++- - test/subset/data/Makefile.am | 1 + - test/subset/data/Makefile.sources | 1 + - ...yout-retain-gids.41,42,43,44,45,46,47,48,49.otf | Bin 0 -> 3172 bytes - ...eep-layout-retain-gids.41,42,43,44,45,46,47.otf | Bin 0 -> 2796 bytes - ...eep-layout-retain-gids.41,42,43,44,45,46,4D.otf | Bin 0 -> 2860 bytes - ...eep-layout-retain-gids.41,42,43,44,45,46,51.otf | Bin 0 -> 2864 bytes - ...d.keep-layout-retain-gids.41,42,43,44,45,46.otf | Bin 0 -> 2540 bytes - ...ly_created.keep-layout-retain-gids.41,42,43.otf | Bin 0 -> 1984 bytes - ...manually_created.keep-layout-retain-gids.41.otf | Bin 0 -> 1872 bytes - ...manually_created.keep-layout-retain-gids.61.otf | Bin 0 -> 2584 bytes - ...eep-layout-retain-gids.retain-all-codepoint.otf | Bin 0 -> 3832 bytes - ...ated.keep-layout.41,42,43,44,45,46,47,48,49.otf | Bin 0 -> 2384 bytes - ...ly_created.keep-layout.41,42,43,44,45,46,47.otf | Bin 0 -> 1996 bytes - ...ly_created.keep-layout.41,42,43,44,45,46,4D.otf | Bin 0 -> 1996 bytes - ...ly_created.keep-layout.41,42,43,44,45,46,51.otf | Bin 0 -> 2044 bytes - ...ually_created.keep-layout.41,42,43,44,45,46.otf | Bin 0 -> 1832 bytes - ...gsub8_manually_created.keep-layout.41,42,43.otf | Bin 0 -> 1284 bytes - .../gsub8_manually_created.keep-layout.41.otf | Bin 0 -> 1172 bytes - .../gsub8_manually_created.keep-layout.61.otf | Bin 0 -> 1540 bytes - ...ly_created.keep-layout.retain-all-codepoint.otf | Bin 0 -> 3832 bytes - test/subset/data/fonts/gsub8_manually_created.otf | Bin 0 -> 4824 bytes - test/subset/data/tests/layout.gsub8.tests | 17 +++++ - test/subset/meson.build | 1 + - 24 files changed, 91 insertions(+), 2 deletions(-) - -commit d18915f920a0d9ab7ce5cfec4654d3d610b1d082 -Author: David Corbett -Date: Sun Mar 28 10:09:13 2021 -0400 - - Reformat gen-tag-table.py - - src/gen-tag-table.py | 16 +++++++--------- - 1 file changed, 7 insertions(+), 9 deletions(-) - -commit 3c8273ab68e37ed5b08b4edacac995fc451d5732 -Author: Garret Rieger -Date: Thu Mar 25 11:39:57 2021 -0700 - - Check for alloc failures on the gsub/gpos_langsys maps in subset plan creation. - - src/hb-subset-plan.cc | 46 ++++++++++++++++++++++++++++------------------ - src/hb-subset.cc | 4 +++- - 2 files changed, 31 insertions(+), 19 deletions(-) - -commit 29708e959a04ee003b9c0738f0c5330584f15b4f -Author: Behdad Esfahbod -Date: Mon Mar 22 15:22:15 2021 -0700 - - [aat] Fix offsetToIndex math for out-of-bounds values - - Previously, some bad font data was accidentally being interpretted as - legit if it happened to not fall out of memory bounds. The intention - of the code was what this commit does. I'm surprised we weren't getting - a "arithmetic between signed and unsigned values" warning / error - before. - - src/hb-aat-layout-common.hh | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit c5d6bdb4bf2d8d595f5c762c3e618444621803ae -Merge: a7d120aea 46bf03d69 -Author: Behdad Esfahbod -Date: Thu Mar 18 14:38:55 2021 -0700 - - Merge pull request #2857 from googlefonts/repacker - - [subset] add a GSUB/GPOS table repacker to resolve offset overflows. - -commit 46bf03d6919087e4ce8f0626a3d342380346dc97 -Author: Garret Rieger -Date: Thu Mar 18 14:35:36 2021 -0700 - - [subset] add NODISCARD to error checking methods on serializer. - - src/hb-serialize.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 3827a3eb567b424e8144564a42a22df74a20a7c6 -Author: Garret Rieger -Date: Thu Mar 18 11:20:03 2021 -0700 - - [subset] rename serializer::set_error() to err(). - - src/hb-repacker.hh | 4 ++-- - src/hb-serialize.hh | 15 +++++++-------- - 2 files changed, 9 insertions(+), 10 deletions(-) - -commit f561fa6e4c5572c60c8fcf40e617919e531e6ee3 -Author: Garret Rieger -Date: Thu Mar 18 11:13:47 2021 -0700 - - Change priority queue to use (priority, value) instead of (value, priority). - - src/Makefile.sources | 2 +- - src/hb-priority-queue.hh | 24 +++++++++++++----------- - src/hb-repacker.hh | 14 +++++++------- - src/test-priority-queue.cc | 40 ++++++++++++++++++++-------------------- - 4 files changed, 41 insertions(+), 39 deletions(-) - -commit b14475d2ae488acf3c2a169126a4901796401157 -Author: Garret Rieger -Date: Thu Mar 18 10:51:26 2021 -0700 - - [subset] further changes to serializer error handling. - - - Rename enum type and enum members. - - in_errors() now returns true for any error having been set. hb-subset now looks for offset overflow only errors to divert to repacker. - - Added INT_OVERFLOW and ARRAY_OVERFLOW enum values. - - src/hb-cff-interp-common.hh | 2 +- - src/hb-open-type.hh | 8 +++---- - src/hb-ot-cmap-table.hh | 11 +++++----- - src/hb-ot-hmtx-table.hh | 2 +- - src/hb-ot-layout-gpos-table.hh | 8 +++---- - src/hb-ot-layout-gsub-table.hh | 2 +- - src/hb-repacker.hh | 4 ++-- - src/hb-serialize.hh | 50 ++++++++++++++++++++++++------------------ - src/hb-subset.cc | 4 ++-- - 9 files changed, 50 insertions(+), 41 deletions(-) - -commit 73ed59f7a68fc5363ef444b6de131c92cc5ca836 -Author: Garret Rieger -Date: Wed Mar 17 15:53:10 2021 -0700 - - [subset] store errors in the serializer as a flag set. - - Make check_assign/check_equal specify the type of error to set. - - src/hb-cff-interp-common.hh | 2 +- - src/hb-open-type.hh | 10 ++++--- - src/hb-ot-cmap-table.hh | 17 +++++++---- - src/hb-ot-hdmx-table.hh | 2 +- - src/hb-ot-hmtx-table.hh | 2 +- - src/hb-ot-layout-gpos-table.hh | 8 +++--- - src/hb-ot-layout-gsub-table.hh | 4 +-- - src/hb-ot-name-table.hh | 3 +- - src/hb-repacker.hh | 4 +-- - src/hb-serialize.hh | 64 +++++++++++++++++++++++++----------------- - src/hb-subset.cc | 8 +++--- - src/test-repacker.cc | 4 +-- - 12 files changed, 76 insertions(+), 52 deletions(-) - -commit b9ecc7420df811e94413d77e6d70140e18d6ebe6 -Author: Garret Rieger -Date: Tue Feb 16 13:39:10 2021 -0800 - - [subset] init offset_overflow in hb_serialize_context_t. - - src/hb-serialize.hh | 1 + - 1 file changed, 1 insertion(+) - -commit cf79fc342d7e59966fc7ba3e8460d58083b33966 -Author: Garret Rieger -Date: Tue Feb 16 13:24:43 2021 -0800 - - [subset] limit priority bumps to 16. - - src/hb-repacker.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 0104409959b15ca8dc344df4a60ce36fc7f40105 -Author: Garret Rieger -Date: Tue Feb 16 11:38:14 2021 -0800 - - Fix repack_tests for distcheck. - - test/subset/data/repack_tests/Makefile.am | 7 +++---- - 1 file changed, 3 insertions(+), 4 deletions(-) - -commit e2f14e81bd20cc944bdecba7fcea20a4b4eddec0 -Author: Garret Rieger -Date: Wed Nov 11 13:55:35 2020 -0800 - - [subset] fix memory leaks in test-repacker. - - src/test-repacker.cc | 19 ++++++++++++++++++- - 1 file changed, 18 insertions(+), 1 deletion(-) - -commit d3e2ba7c01b26da9cc5fac49a204fae8a54a3eb1 -Author: Garret Rieger -Date: Wed Nov 11 13:50:18 2020 -0800 - - [subset] comment cleanup in hb-repacker.hh - - src/hb-repacker.hh | 35 ++++++++++++++++++++++++----------- - 1 file changed, 24 insertions(+), 11 deletions(-) - -commit 832f2b599b3d4fad5eea6d0eeef77377d3e0bad0 -Author: Garret Rieger -Date: Tue Nov 10 16:15:37 2020 -0800 - - [subset] Refactor _subset () to reduce nesting and eliminate the use of 'goto'. - - src/hb-serialize.hh | 9 ++++ - src/hb-subset.cc | 134 +++++++++++++++++++++++++++++++--------------------- - src/meson.build | 1 + - 3 files changed, 90 insertions(+), 54 deletions(-) - -commit bb5c80a7c2d2454bba745a155146e7eaad912474 -Author: Garret Rieger -Date: Tue Nov 10 14:11:57 2020 -0800 - - [subset] add error tracking to the repacker. - Also check for allocation failures as needed. - - src/hb-repacker.hh | 93 ++++++++++++++++++++++++++++++++++++------------------ - 1 file changed, 62 insertions(+), 31 deletions(-) - -commit b8b8c58b9ff9b51108caf47f5d98a15801b39058 -Author: Garret Rieger -Date: Tue Nov 10 11:56:09 2020 -0800 - - [subset] add tests that check for successful repacking of a real font file. - - configure.ac | 1 + - test/subset/Makefile.am | 2 + - test/subset/data/Makefile.am | 2 +- - test/subset/data/fonts/NotoNastaliqUrdu-Bold.ttf | Bin 0 -> 459600 bytes - test/subset/data/repack_tests/Makefile.am | 22 +++++ - test/subset/data/repack_tests/Makefile.sources | 12 +++ - .../repack_tests/advanced_prioritization.tests | 72 ++++++++++++++ - test/subset/data/repack_tests/basic.tests | 52 +++++++++++ - test/subset/data/repack_tests/prioritization.tests | 77 +++++++++++++++ - .../data/repack_tests/table_duplication.tests | 97 +++++++++++++++++++ - test/subset/meson.build | 22 +++++ - test/subset/repack_test.py | 36 +++++++ - test/subset/run-repack-tests.py | 104 +++++++++++++++++++++ - 13 files changed, 498 insertions(+), 1 deletion(-) - -commit 6e9468fcfb71c731b0ec5a5e9c434119f16245e9 -Author: Garret Rieger -Date: Mon Nov 9 16:52:36 2020 -0800 - - [subset] cleanup memory leaks in the repacker. - - src/hb-repacker.hh | 7 ++++++- - src/hb-subset.cc | 12 ++++++++---- - 2 files changed, 14 insertions(+), 5 deletions(-) - -commit a7a86a6eb4da25822cf0d42d7dd1668a15325a8f -Author: Garret Rieger -Date: Fri Nov 6 16:22:48 2020 -0800 - - [subset] Add prioritization offset resolution. - Vertices can now be prioritized to force them to sort closer to their parent. The resolver will attempt to use this for overflows on non-shared vertices. - - src/hb-repacker.hh | 107 +++++++++++++++++++++++++++++++++++++++++---------- - src/test-repacker.cc | 1 + - 2 files changed, 88 insertions(+), 20 deletions(-) - -commit b452b2c76c9f76c9ea3501e8eb6534cb172f59ce -Author: Garret Rieger -Date: Fri Nov 6 15:37:05 2020 -0800 - - [subset] refactor repacker graph to cache edge count and distances of vertices. - - src/hb-repacker.hh | 315 ++++++++++++++++++++++++++++++--------------------- - src/test-repacker.cc | 158 +++++++++++++------------- - 2 files changed, 265 insertions(+), 208 deletions(-) - -commit 75414e82b52d5a3adeb1eb48e64f43472913cba2 -Author: Garret Rieger -Date: Thu Nov 5 16:39:23 2020 -0800 - - [subset] Add table duplication overflow resolution. - - src/hb-debug.hh | 4 ++ - src/hb-repacker.hh | 181 ++++++++++++++++++++++++++++++++++++++++------- - src/test-repacker.cc | 196 +++++++++++++++++++++++++++++++++++++++++++++++++-- - 3 files changed, 347 insertions(+), 34 deletions(-) - -commit 8286bd80940a7d136ee503dd1b1142190c6695ff -Author: Garret Rieger -Date: Thu Nov 5 14:23:29 2020 -0800 - - [subset] use vectors instead of hashmaps throughout the repacker since all keys will be mapped for these use cases. - - src/hb-repacker.hh | 65 ++++++++++++++++++++++++++---------------------------- - 1 file changed, 31 insertions(+), 34 deletions(-) - -commit 519ae96617e1e2867122c5dbbdc8f1bbce89cb24 -Author: Garret Rieger -Date: Thu Nov 5 11:22:16 2020 -0800 - - [subset] switch sort_shortest_distance() to use priority queue. - - src/hb-repacker.hh | 35 +++++++++++++---------------------- - 1 file changed, 13 insertions(+), 22 deletions(-) - -commit 5d3511e5b13eb825ea9914aa2400cc040edef8a7 -Author: Garret Rieger -Date: Thu Nov 5 10:34:26 2020 -0800 - - [subset] Change compute_distances() to use a priority queue. - - src/hb-repacker.hh | 38 ++++++++++++++++++++++++++++---------- - src/meson.build | 1 + - 2 files changed, 29 insertions(+), 10 deletions(-) - -commit 59ac0a0d0a99e91a75d18a3884ae276309370997 -Author: Garret Rieger -Date: Thu Nov 5 10:29:56 2020 -0800 - - [subset] Use priority for comparison in heap. - - src/hb-priority-queue.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 4c8dd41ed90292d4516c539be23c16d625d69a41 -Author: Garret Rieger -Date: Thu Nov 5 09:21:25 2020 -0800 - - [subset] re-write compute distances to use an array lookup for the distance map. - - src/hb-priority-queue.hh | 4 ++-- - src/hb-repacker.hh | 55 ++++++++++++++++++++---------------------------- - src/test-repacker.cc | 2 ++ - 3 files changed, 27 insertions(+), 34 deletions(-) - -commit 5c4e0ffd9768de0c51a42baa35d9c29636fdd99a -Author: Garret Rieger -Date: Wed Nov 4 16:08:01 2020 -0800 - - [subset] Add a basic priority queue datastructure (binary heap). - - src/Makefile.am | 6 +- - src/Makefile.sources | 1 + - src/hb-priority-queue.hh | 149 +++++++++++++++++++++++++++++++++++++++++++++ - src/test-priority-queue.cc | 89 +++++++++++++++++++++++++++ - 4 files changed, 244 insertions(+), 1 deletion(-) - -commit dd8e5d0e1b0c52190bf16ab091ee3756b30d4d97 -Author: Garret Rieger -Date: Tue Nov 3 14:01:42 2020 -0800 - - [subset] Only run the repacker for GSUB/GPOS. - - src/hb-subset.cc | 9 ++++++--- - 1 file changed, 6 insertions(+), 3 deletions(-) - -commit aaa7873d425a6267b1df16f5a1f3750578b438f0 -Author: Garret Rieger -Date: Mon Nov 2 16:16:27 2020 -0800 - - [subset] add topological sort by closest distance via Dijkstra's algorithm. - - src/hb-repacker.hh | 125 +++++++++++++++++++++++++++++++++++++++++++++++++++ - src/test-repacker.cc | 37 ++++++++++++++- - 2 files changed, 160 insertions(+), 2 deletions(-) - -commit 8ebe5d734f3543b7a1266f252fe96188efc69531 -Author: Garret Rieger -Date: Mon Nov 2 14:51:39 2020 -0800 - - Implement will_overflow (). - - src/hb-repacker.hh | 73 +++++++++++++++++++++++++++++++++++++++++++++++++--- - src/test-repacker.cc | 45 ++++++++++++++++++++++++++++++++ - 2 files changed, 114 insertions(+), 4 deletions(-) - -commit 6b1ea4cbe724af10309763b708abc36c968f14a7 -Author: Garret Rieger -Date: Fri Oct 30 12:16:26 2020 -0700 - - [subset] hook up the repacker to run if offset overflows are encountered during subsetting. - - src/hb-serialize.hh | 13 +++++++++++-- - src/hb-subset.cc | 30 +++++++++++++++++++++++++++++- - 2 files changed, 40 insertions(+), 3 deletions(-) - -commit f4c78cc7dd11c83aa3f3a3516e75f4fe689aff19 -Author: Garret Rieger -Date: Fri Oct 30 10:29:51 2020 -0700 - - [subset] Implement Kahn's algo for topological sorting instead of BFS. - - src/hb-repacker.hh | 88 +++++++++++++++++++++++++++++++++++----------------- - src/test-repacker.cc | 69 +++++++++++++++++++++++++++++++++++++--- - 2 files changed, 124 insertions(+), 33 deletions(-) - -commit 00f393dc3fdd40a761df4fe988745ecb0e62df4b -Author: Garret Rieger -Date: Thu Oct 29 14:58:34 2020 -0700 - - [subset] finish up BFS sort implementation. - - src/hb-repacker.hh | 93 +++++++++++++++++++++++++++++++++++++++----------- - src/test-repacker.cc | 95 ++++++++++++++++++++++++++++++++++++++++++---------- - 2 files changed, 151 insertions(+), 37 deletions(-) - -commit 1584d3cb8faf244ae439cd59eac5f3d006d7a106 -Author: Garret Rieger -Date: Wed Oct 28 17:49:09 2020 -0700 - - [subset] Start a proof of concept implementation of the GSUB/GPOS offset overflow resolver. - - src/Makefile.am | 6 +- - src/Makefile.sources | 1 + - src/hb-repacker.hh | 180 +++++++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-serialize.hh | 3 + - src/test-repacker.cc | 87 +++++++++++++++++++++++++ - 5 files changed, 276 insertions(+), 1 deletion(-) - -commit a7d120aeabbae6a08f3cdd39a5ef1d435c3a4854 -Merge: 69d772e52 56ca43578 -Author: Behdad Esfahbod -Date: Wed Mar 17 14:33:33 2021 -0700 - - Merge pull request #2835 from googlefonts/remove_redundant_sys - - [subset] Remove redundant LangSys - -commit 56ca435787c1686fcfe01bf4db822bb91d9ba769 -Author: Qunxin Liu -Date: Thu Jan 28 15:21:26 2021 -0800 - - [subset] fix for collect_features and remove_redundant_lamngsys - - previously remove_redundant_sys () is missing in harfbuzz, after - redundant langsys removal, some features are removed as well in - prune_features() in fonttools. This change is trying to get the same - result between harfbuzz and fonttools. - - src/hb-ot-layout-common.hh | 182 +++++++++++++++++++-- - src/hb-ot-layout-gpos-table.hh | 2 +- - src/hb-ot-layout-gsub-table.hh | 2 +- - src/hb-ot-layout-gsubgpos.hh | 75 ++++++++- - src/hb-subset-plan.cc | 43 ++++- - src/hb-subset-plan.hh | 6 +- - ...-retain-gids.627,644,623,62D,644,627,645,2E.ttf | Bin 48640 -> 48596 bytes - ...lar.keep-layout-retain-gids.627,644,62D,628.ttf | Bin 42884 -> 42836 bytes - ...iri-Regular.keep-layout-retain-gids.627,644.ttf | Bin 36940 -> 36892 bytes - ...yout-retain-gids.633,645,627,621,20,644,627.ttf | Bin 46724 -> 46680 bytes - ...Regular.keep-layout-retain-gids.63A,64A,631.ttf | Bin 42896 -> 42896 bytes - ....keep-layout.627,644,623,62D,644,627,645,2E.ttf | Bin 13332 -> 13288 bytes - .../Amiri-Regular.keep-layout.627,644,62D,628.ttf | Bin 10232 -> 10188 bytes - .../Amiri-Regular.keep-layout.627,644.ttf | Bin 4412 -> 4364 bytes - ...ular.keep-layout.633,645,627,621,20,644,627.ttf | Bin 10372 -> 10324 bytes - .../Amiri-Regular.keep-layout.63A,64A,631.ttf | Bin 7824 -> 7824 bytes - test/subset/data/fonts/Amiri-Regular.ttf | Bin 562684 -> 562980 bytes - 17 files changed, 284 insertions(+), 26 deletions(-) - -commit 69d772e522c60aa9d73b6ccd550f4a834e7bd9b8 -Author: Garret Rieger -Date: Wed Mar 17 14:11:16 2021 -0700 - - [subset] Fixed test gsub5 test files. - - ...2.keep-layout-retain-gids.retain-all-codepoint.otf | Bin 3752 -> 3808 bytes - ...e_subrules_f2.keep-layout.retain-all-codepoint.otf | Bin 3752 -> 3808 bytes - ...2.keep-layout-retain-gids.retain-all-codepoint.otf | Bin 3768 -> 3824 bytes - ...e_subrules_f2.keep-layout.retain-all-codepoint.otf | Bin 3768 -> 3824 bytes - ...1.keep-layout-retain-gids.retain-all-codepoint.otf | Bin 3772 -> 3828 bytes - ...successive_f1.keep-layout.retain-all-codepoint.otf | Bin 3772 -> 3828 bytes - 6 files changed, 0 insertions(+), 0 deletions(-) - -commit 0e1c0fa404e2ad087265dc59130dbec1c4682258 -Author: Qunxin Liu -Date: Tue Jan 12 10:17:14 2021 -0800 - - [subset] optimize glyph closure method: step 5 - - add testcase and some fixes - - src/hb-ot-layout-common.hh | 35 ++++---- - src/hb-ot-layout-gsub-table.hh | 10 +-- - src/hb-ot-layout-gsubgpos.hh | 95 +++++++++++++++------ - src/hb-ot-layout.cc | 18 +++- - test/subset/data/Makefile.am | 1 + - test/subset/data/Makefile.sources | 1 + - ...ubrules_f2.keep-layout-retain-gids.41,42,43.otf | Bin 0 -> 2248 bytes - ...e_subrules_f2.keep-layout-retain-gids.41,42.otf | Bin 0 -> 2224 bytes - ...e_subrules_f2.keep-layout-retain-gids.41,43.otf | Bin 0 -> 2060 bytes - ...iple_subrules_f2.keep-layout-retain-gids.41.otf | Bin 0 -> 1928 bytes - ...eep-layout-retain-gids.retain-all-codepoint.otf | Bin 0 -> 3752 bytes - ...1_multiple_subrules_f2.keep-layout.41,42,43.otf | Bin 0 -> 1460 bytes - ...ext1_multiple_subrules_f2.keep-layout.41,42.otf | Bin 0 -> 1420 bytes - ...ext1_multiple_subrules_f2.keep-layout.41,43.otf | Bin 0 -> 1344 bytes - ...ontext1_multiple_subrules_f2.keep-layout.41.otf | Bin 0 -> 1228 bytes - ...ubrules_f2.keep-layout.retain-all-codepoint.otf | Bin 0 -> 3752 bytes - ...ubrules_f2.keep-layout-retain-gids.41,42,43.otf | Bin 0 -> 2264 bytes - ...e_subrules_f2.keep-layout-retain-gids.41,42.otf | Bin 0 -> 2236 bytes - ...e_subrules_f2.keep-layout-retain-gids.41,43.otf | Bin 0 -> 2060 bytes - ...iple_subrules_f2.keep-layout-retain-gids.41.otf | Bin 0 -> 1928 bytes - ...eep-layout-retain-gids.retain-all-codepoint.otf | Bin 0 -> 3768 bytes - ...2_multiple_subrules_f2.keep-layout.41,42,43.otf | Bin 0 -> 1476 bytes - ...ext2_multiple_subrules_f2.keep-layout.41,42.otf | Bin 0 -> 1432 bytes - ...ext2_multiple_subrules_f2.keep-layout.41,43.otf | Bin 0 -> 1344 bytes - ...ontext2_multiple_subrules_f2.keep-layout.41.otf | Bin 0 -> 1228 bytes - ...ubrules_f2.keep-layout.retain-all-codepoint.otf | Bin 0 -> 3768 bytes - ...cessive_f1.keep-layout-retain-gids.41,42,43.otf | Bin 0 -> 2028 bytes - ...successive_f1.keep-layout-retain-gids.41,42.otf | Bin 0 -> 1932 bytes - ...successive_f1.keep-layout-retain-gids.41,43.otf | Bin 0 -> 2048 bytes - ...t3_successive_f1.keep-layout-retain-gids.41.otf | Bin 0 -> 1916 bytes - ...eep-layout-retain-gids.retain-all-codepoint.otf | Bin 0 -> 3772 bytes - ...context3_successive_f1.keep-layout.41,42,43.otf | Bin 0 -> 1328 bytes - ...ub_context3_successive_f1.keep-layout.41,42.otf | Bin 0 -> 1228 bytes - ...ub_context3_successive_f1.keep-layout.41,43.otf | Bin 0 -> 1332 bytes - .../gsub_context3_successive_f1.keep-layout.41.otf | Bin 0 -> 1216 bytes - ...cessive_f1.keep-layout.retain-all-codepoint.otf | Bin 0 -> 3772 bytes - .../fonts/gsub_context1_multiple_subrules_f2.otf | Bin 0 -> 4776 bytes - .../fonts/gsub_context2_multiple_subrules_f2.otf | Bin 0 -> 4796 bytes - .../data/fonts/gsub_context3_successive_f1.otf | Bin 0 -> 4760 bytes - test/subset/data/tests/layout.gsub5.tests | 15 ++++ - test/subset/meson.build | 1 + - 41 files changed, 124 insertions(+), 52 deletions(-) - -commit b8a58a0c0b7d62c33b106ad119a567b6d86d1d36 -Author: Qunxin Liu -Date: Sun Jan 10 15:50:04 2021 -0800 - - [subset] optimize glyph closure method: step 4 - - optimize recurse_lookups in Context/ChainContext - glyph closure, only the glyphs that the parent lookup - can apply the recursion to can participate in recursing - the lookup. - - src/hb-ot-layout-gsub-table.hh | 84 ++++------------ - src/hb-ot-layout-gsubgpos.hh | 219 +++++++++++++++++++++++++++++++---------- - 2 files changed, 186 insertions(+), 117 deletions(-) - -commit 62423504ee6dcf282177ea0b91268df4e7a1e30b -Author: Qunxin Liu -Date: Tue Jan 5 14:54:40 2021 -0800 - - [subset] optimize glyph closure method: step 3 - - Add function intersects_coverage_glyphs that collects - set of matching glyphs in Coverage table - - src/hb-ot-layout-common.hh | 39 ++++++++++++++++++++++++++++++++++----- - 1 file changed, 34 insertions(+), 5 deletions(-) - -commit ef78d0f92345eb452e94c73301bc929822755b27 -Author: Qunxin Liu -Date: Tue Jan 5 10:16:50 2021 -0800 - - [subset] optimize glyph closure method: step 2 - Add function intersects_class_glyphs that collects - set of glyphs matching class in ClassDef table - - src/hb-ot-layout-common.hh | 75 ++++++++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 75 insertions(+) - -commit b4fc593c3c34c45521c684cb6d0d24079d553e3a -Author: Qunxin Liu -Date: Wed Dec 9 10:44:18 2020 -0800 - - [subset] optimize glyph closure method: step1 - - Previous GSUB glyph closure is done by recursively visiting - all reachable lookup tables that apply to any glyphs in the - current/input glyph set, but actually only the glyphs that - the parent lookup can apply the recursion to can participate - in recursing the lookup. This is step 1 for glyph closure - optimization: - 1. Add stack of currently active glyph set pointers into hb_closure_context_t - 2. Update closure() method in simple GSUB tables to use - this stack in order not to change current glyph set at different stages - of recursion - 3. Add function may_have_non_1to1() to GSUB tables - - src/hb-ot-layout-gsub-table.hh | 100 ++++++++++++++++++++++++++++++++++++++--- - src/hb-ot-layout-gsubgpos.hh | 57 ++++++++++++++++++++++- - 2 files changed, 150 insertions(+), 7 deletions(-) - -commit 5f4c321d4aae659f83178143d5a4df0d2d6b4d02 -Merge: 03538e872 1b79b8cd2 -Author: Behdad Esfahbod -Date: Wed Mar 17 10:20:59 2021 -0700 - - Merge pull request #2894 from googlefonts/gpos_2 - - [subset] Update PairPosFormat2 subsetting to match fontTools - -commit 1b79b8cd2daebc99acd9310742755f02162e5ed0 -Author: Garret Rieger -Date: Tue Mar 16 15:23:11 2021 -0700 - - [subset] update gpos tests to reflect updated behaviour. - - test/api/fonts/AdobeVFPrototype.WA.gpos.otf | Bin 3948 -> 4148 bytes - test/api/fonts/Roboto-Regular-gpos-aw.ttf | Bin 2232 -> 2236 bytes - test/api/test-subset-gpos.c | 5 ----- - 3 files changed, 5 deletions(-) - -commit 2df39bcae7e34630361a49c44e9d295233367ce0 -Author: Garret Rieger -Date: Tue Mar 16 14:20:49 2021 -0700 - - [subset] don't allocate a set to use as a glyph filter for PairPosFormat2. - - src/hb-ot-layout-common.hh | 34 ++++++++++++++++++++++------------ - src/hb-ot-layout-gpos-table.hh | 7 +------ - 2 files changed, 23 insertions(+), 18 deletions(-) - -commit b1b1486d07f8fe3c7a1fb4bc87e6f037ff5b47d3 -Author: Garret Rieger -Date: Tue Mar 16 13:32:23 2021 -0700 - - [subset] update expected files to not include cmap12 pruning. - - .../Roboto-Regular.keep-gdef-gpos.1E00,303.ttf | Bin 2648 -> 2648 bytes - .../Roboto-Regular.keep-gdef-gpos.41,42,43.ttf | Bin 2736 -> 2728 bytes - ...os2_2_font5.keep-layout-retain-gids.21,23,25.otf | Bin 1824 -> 1816 bytes - .../gpos2_2_font5.keep-layout-retain-gids.21,23.otf | Bin 1692 -> 1684 bytes - .../gpos2_2_font5.keep-layout-retain-gids.2E,23.otf | Bin 2024 -> 1944 bytes - ...keep-layout-retain-gids.retain-all-codepoint.otf | Bin 3732 -> 3724 bytes - .../gpos2_2_font5.keep-layout.21,23,25.otf | Bin 1488 -> 1480 bytes - .../gpos2_2_font5.keep-layout.21,23.otf | Bin 1368 -> 1360 bytes - .../gpos2_2_font5.keep-layout.2E,23.otf | Bin 1588 -> 1508 bytes - ...os2_2_font5.keep-layout.retain-all-codepoint.otf | Bin 3732 -> 3724 bytes - ...t-retain-gids.627,644,623,62D,644,627,645,2E.ttf | Bin 48640 -> 48640 bytes - ...r.keep-layout.627,644,623,62D,644,627,645,2E.ttf | Bin 13332 -> 13332 bytes - 12 files changed, 0 insertions(+), 0 deletions(-) - -commit bb54e1047d2d501459bb366e47f24f51824c8db7 -Author: Garret Rieger -Date: Tue Mar 16 13:19:26 2021 -0700 - - [subset] Also filter class1 by coverage when collecting variation indices for PairPosFormat2. - - src/hb-ot-layout-gpos-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 190b7a98f8af54cc42d3ccdb6979e432dfd41aa9 -Author: Garret Rieger -Date: Thu Oct 8 14:44:54 2020 -0700 - - [subset] Update PairPosFormat2 subsetting to match fontTools updated subsetting (https://github.com/fonttools/fonttools/pull/2221) - - - subset class def 1 against the coverage table. - - Don't re-use class 0 in class def 2. - - Ignore class 0 glyphs for the purposes of determing format 1 vs format 2 encoding for ClassDef. - - Add an additional test case which demonstrates these issues. - - src/hb-ot-layout-common.hh | 43 +++++++++++++-------- - src/hb-ot-layout-gpos-table.hh | 14 +++++-- - ...AdobeVFPrototype.keep-gdef-gpos.41,42,43,57.otf | Bin 5444 -> 5400 bytes - .../AdobeVFPrototype.keep-gdef-gpos.41,42,43.otf | Bin 4916 -> 4872 bytes - .../AdobeVFPrototype.keep-gdef-gpos.41,42.otf | Bin 4436 -> 4392 bytes - .../AdobeVFPrototype.keep-gdef-gpos.41,56,57.otf | Bin 4556 -> 4540 bytes - .../AdobeVFPrototype.keep-gdef-gpos.41.otf | Bin 3692 -> 3688 bytes - .../AdobeVFPrototype.keep-gdef-gpos.42,57.otf | Bin 4556 -> 4524 bytes - ...gpos2_1_font7.keep-layout-retain-gids.2E,23.otf | Bin 0 -> 1944 bytes - .../gpos2_1_font7.keep-layout.2E,23.otf | Bin 0 -> 1508 bytes - ...s2_2_font5.keep-layout-retain-gids.21,23,25.otf | Bin 1776 -> 1824 bytes - ...gpos2_2_font5.keep-layout-retain-gids.21,23.otf | Bin 1644 -> 1692 bytes - ...gpos2_2_font5.keep-layout-retain-gids.2E,23.otf | Bin 0 -> 2024 bytes - ...s2_2_font5.keep-layout-retain-gids.41,42,43.otf | Bin 1988 -> 1988 bytes - ...eep-layout-retain-gids.retain-all-codepoint.otf | Bin 3684 -> 3732 bytes - .../gpos2_2_font5.keep-layout.21,23,25.otf | Bin 1440 -> 1488 bytes - .../gpos2_2_font5.keep-layout.21,23.otf | Bin 1320 -> 1368 bytes - .../gpos2_2_font5.keep-layout.2E,23.otf | Bin 0 -> 1588 bytes - .../gpos2_2_font5.keep-layout.41,42,43.otf | Bin 1288 -> 1288 bytes - ...s2_2_font5.keep-layout.retain-all-codepoint.otf | Bin 3684 -> 3732 bytes - test/subset/data/fonts/gpos2_2_font5.otf | Bin 4580 -> 4632 bytes - test/subset/data/tests/layout.gpos2.tests | 1 + - 22 files changed, 38 insertions(+), 20 deletions(-) - -commit 03538e872a0610a65fad692b33d3646f387cf578 -Author: Khaled Hosny -Date: Tue Mar 16 19:28:35 2021 +0200 - - 2.8.0 - - NEWS | 15 +++++++++++++++ - configure.ac | 2 +- - meson.build | 2 +- - src/hb-version.h | 6 +++--- - 4 files changed, 20 insertions(+), 5 deletions(-) - -commit 4c34478b28497acfce02b8a544fed4ae20526336 -Merge: daeb27734 f2d08578e -Author: Khaled Hosny -Date: Tue Mar 16 10:37:49 2021 +0200 - - Merge pull request #2899 from harfbuzz/ci-fix - - [ci] Don’t install meson from its master branch - -commit daeb27734693183232a4571bae76a88ba869224f -Merge: a5b8e7db4 f5356bcb6 -Author: Behdad Esfahbod -Date: Mon Mar 15 18:50:02 2021 -0700 - - Merge pull request #2900 from harfbuzz/nodiscard-buffer - - Mark buffer modification methods that can fail with nodiscard - -commit f2d08578e7a6c6febeff498dbba91ea1f747e14f -Author: Khaled Hosny -Date: Tue Mar 16 00:19:40 2021 +0200 - - [tests] Increase shape-fuzzer timeout - - test/fuzzing/meson.build | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit cad753e20f7f48d4910ce99c55bf8cc379a4aae7 -Author: Khaled Hosny -Date: Tue Mar 16 01:04:16 2021 +0200 - - [ci] Use known working Ubuntu version - - GitHub Actions seems to be moving ubuntu-latest from ubuntu-18.04 to - ubuntu-20.04, but gcovr is broken for us in the new version. - - .github/workflows/linux-ci.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit ff86c72e09f8d7c623fafec671d44d62ef940e50 -Author: Khaled Hosny -Date: Tue Mar 16 00:20:05 2021 +0200 - - [ci] Avoid duplicate builds on pull requests - - Don’t run GitHub Actions on pushing to branches other than master. This - was already the case for the linux-ci workflow. - - .github/workflows/msvc-ci.yml | 2 ++ - .github/workflows/msys2-ci.yml | 2 ++ - 2 files changed, 4 insertions(+) - -commit f5356bcb6186d21158275e69fce75f015eac5478 -Author: Behdad Esfahbod -Date: Mon Mar 15 16:52:39 2021 -0600 - - [ci] Switch back to c++2a - - Okay I guess we can be bothered to fix things up for next version of C++. - - Reverts meat of c0b3b9b2584c6dcb5fc37e3b49e26fba718d0e6c - - .circleci/config.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 9e397ff2fb1beb08a226f12d68a406a13023f03d -Author: Behdad Esfahbod -Date: Mon Mar 15 16:50:54 2021 -0600 - - [buffer] Fix order of HB_INTERNAL HB_DISCARD - - Sucks that has to be specified in this order. But that is what it is for now. - - Was only exhibiting problem on C++>=17 since that's when the [[nodiscard]] - was introduced. - - src/hb-buffer.hh | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 9582640eedbf73fa95e6877a83e9b70970d9d115 -Author: Behdad Esfahbod -Date: Mon Mar 15 16:47:27 2021 -0600 - - [ci] Remove more cruft - - All were commented out already. - - .circleci/config.yml | 6 +----- - 1 file changed, 1 insertion(+), 5 deletions(-) - -commit c0b3b9b2584c6dcb5fc37e3b49e26fba718d0e6c -Author: Behdad Esfahbod -Date: Mon Mar 15 16:46:13 2021 -0600 - - [ci] Don't test C++2a build - - One of the bots is unhappy when HB_NODISCARD comes after HB_INTERNAL. - No idea why. But, again, we're testing HarfBuzz, not C++, not clang. Ugh. - - In file included from src/harfbuzz.cc:1: - In file included from src/hb-aat-layout.cc:30: - In file included from src/hb-aat-layout.hh:32: - In file included from src/hb-ot-shape.hh:32: - In file included from src/hb-ot-map.hh:32: - src/hb-buffer.hh:335:15: error: an attribute list cannot appear here - HB_INTERNAL HB_NODISCARD bool move_to (unsigned int i); /* i is output-buffer index. */ - ^~~~~~~~~~~~ - https://app.circleci.com/pipelines/github/harfbuzz/harfbuzz/1693/workflows/77459205-a189-45d3-bc58-52a8fd952c3f/jobs/155912/parallel-runs/0/steps/0-110?invite=true - - .circleci/config.yml | 4 +--- - 1 file changed, 1 insertion(+), 3 deletions(-) - -commit 15f3ef01366c8dc1d6fa18f6c9e072b18f92afd7 -Author: Behdad Esfahbod -Date: Mon Mar 15 15:36:47 2021 -0600 - - [test] Fix output format - - test/shaping/run-tests.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 8450f43ae1d1a5825bdfc1ec665cb81b05f35cc2 -Author: Behdad Esfahbod -Date: Mon Mar 15 15:18:06 2021 -0600 - - [buffer] HB_NODISCARD next_glyph() - - src/gen-vowel-constraints.py | 6 ++--- - src/hb-aat-layout-common.hh | 2 +- - src/hb-buffer.hh | 2 +- - src/hb-ot-layout-gsubgpos.hh | 2 +- - src/hb-ot-layout.cc | 2 +- - src/hb-ot-shape-complex-hangul.cc | 18 +++++++-------- - src/hb-ot-shape-complex-syllabic.cc | 4 ++-- - src/hb-ot-shape-complex-thai.cc | 9 ++++---- - src/hb-ot-shape-complex-vowel-constraints.cc | 34 ++++++++++++++-------------- - src/hb-ot-shape-normalize.cc | 33 +++++++++++++++------------ - 10 files changed, 57 insertions(+), 55 deletions(-) - -commit f4bc7673db762db8dbb83caaeeb32b2c04dbcf9a -Author: Behdad Esfahbod -Date: Mon Mar 15 14:54:45 2021 -0600 - - [buffer] Implement copy_glyph() in terms of output_info() - - src/hb-buffer.hh | 10 ++++------ - 1 file changed, 4 insertions(+), 6 deletions(-) - -commit f73982a6992445141ea7ca402d1f4fea80f151c4 -Author: Behdad Esfahbod -Date: Mon Mar 15 14:52:19 2021 -0600 - - [buffer] Implement replace_glyph() in terms of replace_glyphs(1,1) - - I get exact same binary size with this, suggesting that compiler is - optimizing these as needed. - - src/hb-buffer.hh | 12 +----------- - 1 file changed, 1 insertion(+), 11 deletions(-) - -commit 862f913489a868154a3733a93e1ea0407e68cc05 -Author: Behdad Esfahbod -Date: Mon Mar 15 14:48:50 2021 -0600 - - [buffer] Implement output_glyph() in terms of replace_glyphs(0,1) - - To my surprise, saves ~20kb in my build (non-size-optimized) build. - The output_glyph() method is never used in the fast paths, so doesn't - matter if is not fully optimized for the special case it is. - - src/hb-buffer.hh | 9 +-------- - 1 file changed, 1 insertion(+), 8 deletions(-) - -commit 34a1204f10eb1dedbd49c63eb7d89b86315ca093 -Author: Behdad Esfahbod -Date: Mon Mar 15 14:39:06 2021 -0600 - - [buffer] HB_NODISCARD output_glyph() - - Also, generalize and use replace_glyphs() in morx where output_glyph() was used - in a loop. - - src/gen-vowel-constraints.py | 4 +-- - src/hb-aat-layout-morx-table.hh | 6 ++--- - src/hb-buffer.cc | 27 ------------------- - src/hb-buffer.hh | 40 ++++++++++++++++++++-------- - src/hb-ot-layout-gsubgpos.hh | 2 +- - src/hb-ot-shape-complex-thai.cc | 7 +++-- - src/hb-ot-shape-complex-vowel-constraints.cc | 4 +-- - src/hb-ot-shape-normalize.cc | 3 ++- - 8 files changed, 41 insertions(+), 52 deletions(-) - -commit 07315d9c83b9f7b15244c9922f97f4c71f89ae7d -Author: Khaled Hosny -Date: Mon Mar 15 22:37:02 2021 +0200 - - [ci] Don’t install meson from its master branch - - We are testing Harfbuzz not meson! - - .github/workflows/linux-ci.yml | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit e6be9eb4fbb9a5d1e028015cf1f92601da2984ac -Author: Behdad Esfahbod -Date: Mon Mar 15 14:12:10 2021 -0600 - - [buffer] HB_NODISCARD output_info() - - src/hb-buffer.hh | 2 +- - src/hb-ot-shape-complex-syllabic.cc | 2 +- - src/hb-ot-shape.cc | 2 +- - 3 files changed, 3 insertions(+), 3 deletions(-) - -commit 2a0dbb3ee59a83d1db568b002a17d617f4c45b63 -Author: Behdad Esfahbod -Date: Mon Mar 15 14:10:39 2021 -0600 - - [buffer] HB_NODISCARD copy_glyph() - - src/hb-aat-layout-morx-table.hh | 4 ++-- - src/hb-buffer.hh | 2 +- - 2 files changed, 3 insertions(+), 3 deletions(-) - -commit b05e5d9a7998529ffd0e34f3b8d3ae5bf4c200eb -Author: Behdad Esfahbod -Date: Mon Mar 15 14:08:08 2021 -0600 - - [buffer] HB_NODISCARD next_glyphs() - - src/hb-buffer.cc | 2 +- - src/hb-buffer.hh | 2 +- - src/hb-ot-shape-normalize.cc | 2 +- - 3 files changed, 3 insertions(+), 3 deletions(-) - -commit 4ae8aab83b83bc088719a993a359625b9ff1b6ab -Author: Behdad Esfahbod -Date: Mon Mar 15 14:01:52 2021 -0600 - - [buffer] HB_NODISCARD has_separate_output() - - src/hb-buffer.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 8d3701f507cfda835855a64f598bed468a4b31e3 -Author: Behdad Esfahbod -Date: Mon Mar 15 14:01:32 2021 -0600 - - [buffer] HB_NODISCARD in_error() - - src/hb-buffer.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 41e05479b6f1cc024576aca1f52b2185bdd93cef -Author: Behdad Esfahbod -Date: Mon Mar 15 14:00:00 2021 -0600 - - [buffer] HB_NODISCARD shift_forward() - - src/hb-buffer.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 83b3784d1d984ed3a94b696252b03eab514e3ffa -Author: Behdad Esfahbod -Date: Mon Mar 15 13:59:14 2021 -0600 - - [buffer] HB_NODISCARD make_room_for() - - src/hb-buffer.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit c355508a8907584e41c4317fb56eac49f9627969 -Author: Behdad Esfahbod -Date: Mon Mar 15 13:58:30 2021 -0600 - - [buffer] HB_NODISCARD ensure_glyphs() / ensure_unicode() - - src/hb-buffer.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit bc22305b6ab626719e8b0c0d6fa518bf7b7267f6 -Author: Behdad Esfahbod -Date: Mon Mar 15 13:57:18 2021 -0600 - - [buffer] HB_NODISCARD ensure_inplace() - - src/hb-buffer.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit cac6c86d2f8013a6f803f95e5760d7be6d27bbe0 -Author: Behdad Esfahbod -Date: Mon Mar 15 13:46:54 2021 -0600 - - [buffer] HB_NODISCARD move_to() - - src/hb-aat-layout-morx-table.hh | 14 +++++++------- - src/hb-buffer.hh | 2 +- - src/hb-ot-layout-gsubgpos.hh | 2 +- - 3 files changed, 9 insertions(+), 9 deletions(-) - -commit 05d2d37f9a6753c2c3e0a2404e171f0b0a26c4ac -Author: Behdad Esfahbod -Date: Mon Mar 15 13:43:29 2021 -0600 - - [buffer] HB_NODISCARD ensure() - - src/hb-buffer.cc | 7 +++++-- - src/hb-buffer.hh | 2 +- - src/hb-graphite2.cc | 2 +- - 3 files changed, 7 insertions(+), 4 deletions(-) - -commit d8028a076208d95fa66050d158f2c4b8c50040ad -Author: Behdad Esfahbod -Date: Mon Mar 15 13:34:36 2021 -0600 - - [buffer] HB_NODISCARD enlarge() - - src/hb-buffer.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 3f1998a065075284e7fe57788411bcc086259349 -Author: Behdad Esfahbod -Date: Mon Mar 15 13:33:44 2021 -0600 - - [buffer] HB_NODISCARD replace_glyph() - - src/hb-aat-layout-morx-table.hh | 4 ++-- - src/hb-buffer.hh | 2 +- - src/hb-ot-layout-gsubgpos.hh | 4 ++-- - src/hb-ot-shape-complex-thai.cc | 5 ++--- - 4 files changed, 7 insertions(+), 8 deletions(-) - -commit 607979d12f85eb8260b7d7b786a7866e60c3c49b -Author: Behdad Esfahbod -Date: Mon Mar 15 13:23:48 2021 -0600 - - [buffer] HB_NODISCARD replace_glyphs() - - src/hb-buffer.hh | 7 ++++--- - src/hb-ot-shape-complex-hangul.cc | 10 ++++------ - src/hb-ot-shape-normalize.cc | 2 +- - 3 files changed, 9 insertions(+), 10 deletions(-) - -commit 906c9928bb49a1694f6e32d80bb2a1ed637674f8 -Author: Behdad Esfahbod -Date: Mon Mar 15 13:13:45 2021 -0600 - - [buffer] Return success status from buffer ops that can fail - - Previous error-handling philosophy was that user doesn't need to - immediately know whether operation failed. But as can be seen after - we added malloc-failing fuzzing, there's just so many places in the - code that a failure of these operations needs to be mitigated before - further operations. So I'm moving towards returning success here, - and possibly making it nodiscard. - - src/hb-buffer.cc | 6 ++++-- - src/hb-buffer.hh | 33 ++++++++++++++++++--------------- - 2 files changed, 22 insertions(+), 17 deletions(-) - -commit a5b8e7db4d4a9aca46169e2be27be5bba1cdd4bd -Author: Behdad Esfahbod -Date: Mon Mar 15 12:46:58 2021 -0600 - - [hangul] Improve error handling - - I did a review; changed some "return"s to "break"s, which should be identical. - Removed one check just before "continue" because not necessary. - The added error check is the actual fix. - - Should fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=31755 - - src/hb-ot-shape-complex-hangul.cc | 9 ++++----- - 1 file changed, 4 insertions(+), 5 deletions(-) - -commit 99767f938689d308765ba96feb9ea67534b0c0d9 -Author: Behdad Esfahbod -Date: Mon Mar 15 12:36:59 2021 -0600 - - [hangul] Whitespace - - src/hb-ot-shape-complex-hangul.cc | 10 ++++++---- - 1 file changed, 6 insertions(+), 4 deletions(-) - -commit 3622120fab4e7d324a1b5e8465e7a6cfeb246e8d -Author: Behdad Esfahbod -Date: Wed Mar 10 12:21:43 2021 -0700 - - [subset] Make ClassDef format2 .intersects() return false if range value 0 - - We treat Class0 as "doesn't intersect". That's the only meaningful - interpretation. If one allos Class0 to mean "intersects", then the - intersects() result should be true iff glyphset is non-empty. - - Related to https://github.com/harfbuzz/harfbuzz/issues/2703 - - src/hb-ot-layout-common.hh | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -commit e19de65eaeca135b2c735439185e35bfe1c0aeb7 -Author: David Corbett -Date: Mon Mar 8 13:12:47 2021 -0500 - - Update hb-ot-tag-table.hh (#2890) - - src/gen-tag-table.py | 1 + - src/hb-ot-tag-table.hh | 15 ++++++++++++--- - 2 files changed, 13 insertions(+), 3 deletions(-) - -commit 7686ff854bbb9698bb1469dcfe6d288c695a76b7 -Author: Khaled Hosny -Date: Thu Mar 4 23:09:32 2021 +0200 - - [ot] Keep substituted Default_Ignorables (#2886) - - Don’t replace Default_Ignorables with zero-width space if they are - substituted or multiplied, not just when ligated. - - After this change, HarfBuzz output matches that of Uniscribe and - CoreText for the new tests. - - Fixes https://github.com/harfbuzz/harfbuzz/issues/2883 - - src/hb-ot-layout.hh | 3 ++- - .../fonts/08b4b136f418add748dc641eb4a83033476f1170.ttf | Bin 0 -> 2396 bytes - .../fonts/6677074106f94a2644da6aaaacd5bbd48cbdc7de.ttf | Bin 0 -> 2388 bytes - .../fonts/fcea341ba6489536390384d8403ce5287ba71a4a.ttf | Bin 0 -> 1824 bytes - .../shaping/data/in-house/tests/default-ignorables.tests | 3 +++ - .../in-house/tests/mongolian-variation-selector.tests | 2 +- - 6 files changed, 6 insertions(+), 2 deletions(-) - -commit 5efa04c8909cf61ad1491c0c1f41a6bb3f87e4e4 -Author: Behdad Esfahbod -Date: Tue Mar 2 16:26:41 2021 -0700 - - [Makefile] Rebuild .def files if config changed - - I was getting check-symbols failure because my previous build was - without CoreText, and after reconfiguring with CoreText, the old - harfbuzz.defs file was not being regenerated. - - src/Makefile.am | 1 + - 1 file changed, 1 insertion(+) - -commit d351bbf0fb7a20554bf4504fa568f85d4d68f266 -Author: Behdad Esfahbod -Date: Tue Mar 2 16:24:54 2021 -0700 - - [Makefile] Remove unused variable HBNODISTHEADERS - - Not sure what it was used for before. - - src/Makefile.am | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit fd489433a8a223068d904e04d4ce8bafa82900c7 -Author: Behdad Esfahbod -Date: Tue Mar 2 16:21:17 2021 -0700 - - [indic] Fix cluster-merging logic with cluster-level=1 - - Was producing non-monotonic cluster numbers because our faulty logic - was not merging clusters if something from before base and after base - had switched positions. - - Fixes https://github.com/harfbuzz/harfbuzz/issues/2272 - - src/hb-ot-shape-complex-indic.cc | 28 ++++++++++++++++++--- - .../6f36d056bad6d478fc0bf7397bd52dc3bd197d5f.ttf | Bin 0 -> 2920 bytes - test/shaping/data/in-house/tests/cluster.tests | 1 + - 3 files changed, 26 insertions(+), 3 deletions(-) - -commit 2902529b9276cd15319fa308a9b9e963fa21cc94 -Author: Behdad Esfahbod -Date: Tue Mar 2 15:05:22 2021 -0700 - - [subset] Fix HB_TINY build - - Fixes https://github.com/harfbuzz/harfbuzzjs/issues/34#issuecomment-789247723 - - src/hb-ot-layout-gsubgpos.hh | 9 ++++++--- - 1 file changed, 6 insertions(+), 3 deletions(-) - -commit 7cb22ba7ebf6ef053790a3201cb7014bacd51e46 -Author: Behdad Esfahbod -Date: Mon Mar 1 12:44:06 2021 -0700 - - Include C headers with their C++ names (#2882) - - Remove unnecessary includes. - - Fixes build with some known broken SDKs (Nintendo Switch?) - - https://en.cppreference.com/w/cpp/header - - Fixes https://github.com/harfbuzz/harfbuzz/pull/2881 - - src/hb-blob.cc | 3 --- - src/hb-coretext.cc | 1 - - src/hb-ot-color.cc | 3 --- - src/hb.hh | 20 ++++++++++---------- - src/test-buffer-serialize.cc | 2 -- - src/test-gpos-size-params.cc | 2 -- - src/test-gsub-would-substitute.cc | 2 -- - src/test-ot-glyphname.cc | 3 --- - src/test-ot-meta.cc | 3 --- - src/test-ot-name.cc | 3 --- - src/test.cc | 4 ---- - 11 files changed, 10 insertions(+), 36 deletions(-) - -commit dbcf2f417fc545a5fb3a0ee4fb413409a15a0805 -Author: Behdad Esfahbod -Date: Mon Mar 1 12:43:32 2021 -0700 - - [cmake] Fix syntax - - CMakeLists.txt | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit 93745f9f49ec6004dfc477a01bdb6fd06b6484d0 -Merge: 8b2f9adf2 486da35cc -Author: Behdad Esfahbod -Date: Tue Feb 23 14:54:45 2021 -0700 - - Merge pull request #2875 from harfbuzz/constexpr-inttype - - [constexpr] Add constructors to IntType - -commit 486da35cc0954505db57b2e0f5b5b0b45a7c4007 -Author: Behdad Esfahbod -Date: Tue Feb 23 13:58:14 2021 -0700 - - m Add comments to IntType cast out operator - - Okay, bots seem to be happy. Merging. - - src/hb-open-type.hh | 2 ++ - 1 file changed, 2 insertions(+) - -commit 83b66bfb665bb82fd03ae97c6f0e3eba01c0cba4 -Author: Behdad Esfahbod -Date: Tue Feb 23 13:04:25 2021 -0700 - - Another try to fix narrowing error - - ../src/hb-ot-layout-gsubgpos.hh: In instantiation of ‘void OT::ChainRule::serialize_array(hb_serialize_context_t*, OT::HBUINT16, Iterator) const [with Iterator = hb_map_iter_t >, const hb_map_t*&, (hb_function_sortedness_t)0, 0>; typename hb_enable_if::value>::type* = 0; OT::HBUINT16 = OT::IntType]’: - ../src/hb-ot-layout-gsubgpos.hh:2341:30: required from here - ../src/hb-ot-layout-gsubgpos.hh:2326:15: error: narrowing conversion of ‘(unsigned int)g’ from ‘unsigned int’ to ‘short unsigned int’ inside { } [-Werror=narrowing] - c->copy (HBUINT16 {g}); - ~~~~~~~~^~~~~~~~~~~~~~ - - https://github.com/harfbuzz/harfbuzz/pull/2875 - - src/hb-ot-layout-gsubgpos.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 6c4bb60829d6e00647cb7ee74d816d648905cc3f -Author: Behdad Esfahbod -Date: Mon Feb 22 22:45:32 2021 -0700 - - Fix narrowing errors with recent changes - - src/hb-ot-layout-common.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit d6bd00a488ace632d51748b028a0378a2bdaad2c -Author: Behdad Esfahbod -Date: Mon Feb 22 22:42:50 2021 -0700 - - Revert back IntType out cast to signed/unsigned - - Previous commit didn't fix the bots. Putting it back now that I - understand why I initially did the "Wide" casts. But only doing - it for out-cast this time. This causes "narrowing" warnings - whenever we are converting signed/unsigned to smaller HBUINT16 - etc. But those are valuable warnings. We should address those - separately instead of ignoring. - - Maybe we should start using uint16_t more liberally in the - internal subsetter function signatures then. - - src/hb-open-type.hh | 7 +------ - 1 file changed, 1 insertion(+), 6 deletions(-) - -commit 09836013995cab2b9f07577a179ad7b024130467 -Author: Behdad Esfahbod -Date: Mon Feb 22 22:33:17 2021 -0700 - - Add back wider cast to IntType - - My local clang12 is fine, but many bots are not: - - ../src/hb-ot-cff1-table.hh: In instantiation of ‘bool CFF::Charset1_2::sanitize(hb_sanitize_context_t*, unsigned int) const [with TYPE = OT::IntType]’: - ../src/hb-ot-cff1-table.hh:554:13: required from here - ../src/hb-ot-cff1-table.hh:377:60: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare] - if (unlikely (!ranges[i].sanitize (c) || (num_glyphs < ranges[i].nLeft + 1))) - ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ - - Enabling the extra cast operator mentioned in previous commit to see if - that fixes this case. - - Again, I'd be happy to say "use 1u instead of 1" if this was universally - erred on. But since some compilers happily compile this while others - err, it would be a huge headache. Let's see... - - https://github.com/harfbuzz/harfbuzz/pull/2875 - - src/hb-open-type.hh | 5 +++++ - 1 file changed, 5 insertions(+) - -commit 567cedcc5f99aae2db9c7f124b7f3a6f4b5ec57d -Author: Behdad Esfahbod -Date: Mon Feb 22 22:09:15 2021 -0700 - - Narrow down cast operators on IntType - - Say for USHORT, we were implementing casts from and to unsigned. - With this change, we cast from and to uint16_t only. This allows - compiler more opportunities to catch possible narrowing issues in - the code. - - It needed a couple of fixes in the codebase though, because - previously, if a USHORT was participating in arithmetic with signed - numbers, eg. "u + 1", the result would have been unsigned. With - this change, it would be signed. The correct fix is to update the - code to read "u + 1u". - - That said, I think about conditionally adding back the cast - out to signed/unsigned, to facilitate better type deduction. - But I couldn't think of a real situation where that would help - with anything. So I didn't add. Here's what it was: - - template , - hb_enable_if (sizeof (Type) < sizeof (Type2))> - operator hb_type_identity_t () const { return v; } - - https://github.com/harfbuzz/harfbuzz/pull/2875 - - src/hb-aat-layout-common.hh | 4 ++-- - src/hb-aat-layout-morx-table.hh | 4 ++-- - src/hb-open-type.hh | 9 ++++----- - 3 files changed, 8 insertions(+), 9 deletions(-) - -commit f4f35a4d5fd595bc6887b9951f1c92ce4d100fe8 -Author: Behdad Esfahbod -Date: Mon Feb 22 22:28:32 2021 -0700 - - [constexpr] Use initializer instead of assignment - - src/hb-ot-layout-common.hh | 6 ++---- - src/hb-ot-layout-gsubgpos.hh | 7 +------ - 2 files changed, 3 insertions(+), 10 deletions(-) - -commit cc16b26ef4b9e7217ad819a31b9df55855a6f780 -Author: Behdad Esfahbod -Date: Mon Feb 22 17:55:47 2021 -0700 - - [constexpr] IntType - - See https://github.com/harfbuzz/harfbuzz/pull/2875 - - src/hb-algs.hh | 13 ++++++++----- - src/hb-open-type.hh | 12 ++++++++---- - 2 files changed, 16 insertions(+), 9 deletions(-) - -commit 8b2f9adf2938513a183af58246e4b02b6173c359 -Author: Behdad Esfahbod -Date: Mon Feb 22 17:42:24 2021 -0700 - - m Simplify Tag operator char* - - src/hb-open-type.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 021a1725ed6b8b9f7b9b2987cbb89bed03a36477 -Merge: 1c693e8c2 11c28cb5f -Author: Behdad Esfahbod -Date: Mon Feb 22 17:40:22 2021 -0700 - - Merge pull request #2874 from harfbuzz/constexpr2 - - Some more cleanup towards using constexpr to simplify our internal datastrcutures. - - https://github.com/harfbuzz/harfbuzz/pull/2874 - -commit 11c28cb5fa101a47b179e702e15ebf39d6483b32 -Author: Behdad Esfahbod -Date: Mon Feb 22 17:38:53 2021 -0700 - - [cmake] Define HAVE_PTHREAD if not on win32 - - Yeah... - - CMakeLists.txt | 2 ++ - 1 file changed, 2 insertions(+) - -commit b368a0736be279fe1ae78caa818351d88dc7131a -Author: Behdad Esfahbod -Date: Mon Feb 22 17:23:53 2021 -0700 - - [atomic] Remove IBM/AIX implementation - - The C++11 implementation shall be enough for everyone. - - src/hb-atomic.hh | 28 +--------------------------- - 1 file changed, 1 insertion(+), 27 deletions(-) - -commit 52f91269607a45e4ae94ecca52df2299d6596de4 -Author: Behdad Esfahbod -Date: Mon Feb 22 17:22:09 2021 -0700 - - [atomic] Remove Windows implementation - - Since we require C++11 now, there's no point to do a macro version check. - Which means we don't hit the MSVC issue defining __cplusplus wrongly. - - src/hb-atomic.hh | 28 ++-------------------------- - 1 file changed, 2 insertions(+), 26 deletions(-) - -commit a666fe64a92206cc51d961be0848455d4fbd2bdd -Author: Behdad Esfahbod -Date: Mon Jun 29 10:43:49 2020 -0700 - - [atomic] Comment - - src/hb-atomic.hh | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit 3528a21e8d135e65d748895b469bf83c0ebec5ae -Author: Behdad Esfahbod -Date: Mon Jun 29 10:40:21 2020 -0700 - - [atomic] Remove Apple implementation - - Continuation of https://github.com/harfbuzz/harfbuzz/pull/676 - - src/hb-atomic.hh | 24 ------------------------ - 1 file changed, 24 deletions(-) - -commit 140797d4a2841d4109ad667a38226bfd59de5829 -Author: Behdad Esfahbod -Date: Mon Jun 29 03:51:09 2020 -0700 - - [constexpr] hb_atomic_int_t - - src/hb-atomic.hh | 13 ++++++++----- - src/hb-face.cc | 4 ++-- - src/hb-object.hh | 11 +++-------- - 3 files changed, 13 insertions(+), 15 deletions(-) - -commit 2ec802b42a0766c3fc159fd47a2596a5eaf27742 -Author: Behdad Esfahbod -Date: Mon Jun 29 03:48:38 2020 -0700 - - [object] Simplify reference_count_t - - src/hb-object.hh | 8 +++----- - 1 file changed, 3 insertions(+), 5 deletions(-) - -commit 4d116ed0f02920f9ba4634d87f6201343930b657 -Author: Behdad Esfahbod -Date: Mon Feb 22 17:14:45 2021 -0700 - - [ci] Remove cmake - - Apparently(?) our cmake build never bothered setting up pthreads. - So when I removed the busy-loop mutex impl it now doesn't build. - - 711c241f6c7e18c5403602375a733af74df76f83 - - https://github.com/harfbuzz/harfbuzz/pull/2874#issuecomment-782778263 - - .circleci/config.yml | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit 1c693e8c28478655e115ad6c25ff775222b7ac00 -Author: Behdad Esfahbod -Date: Sat Feb 20 18:53:20 2021 -0700 - - [test] Fix unused-var warning - - test/api/test-buffer.c | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit 12a283d5132a3fe03c91e75ef1f7baf65d6b5855 -Author: Behdad Esfahbod -Date: Mon Feb 22 12:50:41 2021 -0700 - - m[ft] No need to use atomic ops for cached_x_scale - - We have added a mutex since, so no need for atomicity. - - src/hb-ft.cc | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit b39c1f7829bb6c7a69eb783e579246fdb627cd94 -Author: Behdad Esfahbod -Date: Sat Feb 20 15:46:17 2021 -0700 - - a[build] Fix distcheck - - Makefile.am | 2 -- - 1 file changed, 2 deletions(-) - -commit a3c35aee30879cd86351413fc395d3128fe6817a -Author: Behdad Esfahbod -Date: Mon Jun 29 02:07:20 2020 -0700 - - m Move HB_SCRIPT_MYANMAR_ZAWGYI - - src/hb-ot-shape-complex.hh | 3 ++- - src/hb.hh | 8 -------- - 2 files changed, 2 insertions(+), 9 deletions(-) - -commit c55bf55154887ae485501bf8843e26abb5cdedaa -Author: Behdad Esfahbod -Date: Mon Jun 29 02:04:16 2020 -0700 - - Remove HB_CONST_FUNC and HB_PURE_FUNC - - They are not necessary for inline functions. - - src/hb-algs.hh | 6 +++--- - src/hb-face.hh | 2 +- - src/hb.hh | 4 ---- - 3 files changed, 4 insertions(+), 8 deletions(-) - -commit cba9893ac5470e5d70888ec240453b581a657252 -Author: Behdad Esfahbod -Date: Mon Jun 29 01:55:57 2020 -0700 - - m[algs] Move roundf() here - - src/hb-algs.hh | 7 +++++++ - src/hb.hh | 5 ----- - 2 files changed, 7 insertions(+), 5 deletions(-) - -commit f0947717ff43c37a6273e9de7c83d082ffec22eb -Author: Behdad Esfahbod -Date: Mon Jun 29 01:53:21 2020 -0700 - - m[machinery] Move HB_VAR_ARRAY here - - src/hb-machinery.hh | 5 +++++ - src/hb.hh | 5 ----- - 2 files changed, 5 insertions(+), 5 deletions(-) - -commit 69464e9da04b9e9b7f5ac33688d3832b84a8318d -Author: Behdad Esfahbod -Date: Sat Feb 20 15:42:44 2021 -0700 - - [algs] Another try at fixing BEInt constexpr - - ../src/hb-algs.hh:120:3: error: body of constexpr function ‘constexpr BEInt::operator Type() const [with Type = short unsigned int]’ not a return-statement - - src/hb-algs.hh | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit ff7bf88192b0ceed3e9489c82f6b902ced37e1b4 -Author: Behdad Esfahbod -Date: Sat Feb 20 15:39:29 2021 -0700 - - m[algs] Fix BEInt -Wnarrowing errors - - src/hb-algs.hh | 20 ++++++++++---------- - 1 file changed, 10 insertions(+), 10 deletions(-) - -commit a89d9f25b4baa538293c397920e5a4489859878c -Author: Behdad Esfahbod -Date: Sat Feb 20 15:35:28 2021 -0700 - - m Err on -Wnarrowing instead of -Wc++11-narrowing - - On clang, -Wnarrowing is synonym for -Wc++11-narrowing. - On gcc it isn't. So, use the widely-available one - - src/hb.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit e208f80449caccea19f68e395ad4c38353849da6 -Author: Behdad Esfahbod -Date: Sat Feb 20 15:31:27 2021 -0700 - - Make constexpr BEInt::operator Type() C++11-compatible - - Multiple return values not permitted until C++14 - - src/hb-algs.hh | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit c2fc2aa44cc8018ac689dde36efa34a635544197 -Author: Behdad Esfahbod -Date: Mon Jun 29 01:49:28 2020 -0700 - - [atomic] Remove Solaris intrinsics - - CMakeLists.txt | 17 ----------------- - configure.ac | 18 ------------------ - meson-cc-tests/solaris-atomic-operations.c | 8 -------- - meson.build | 4 ---- - src/hb-atomic.hh | 29 ----------------------------- - 5 files changed, 76 deletions(-) - -commit 7099a6dca18c12a3bb062adba4d429abc46d76a9 -Author: Behdad Esfahbod -Date: Mon Jun 29 01:47:37 2020 -0700 - - [atomic] Remove old Intel primitives implementation - - .github/workflows/coverity-scan.yml | 6 +++--- - CMakeLists.txt | 14 -------------- - configure.ac | 16 ---------------- - meson-cc-tests/intel-atomic-primitives-test.c | 6 ------ - meson.build | 4 ---- - src/hb-atomic.hh | 9 --------- - 6 files changed, 3 insertions(+), 52 deletions(-) - -commit 711c241f6c7e18c5403602375a733af74df76f83 -Author: Behdad Esfahbod -Date: Mon Jun 29 01:40:30 2020 -0700 - - m[mutex] Remove busyloop mutex implemenation - - Don't know why I ever added this. :) - - configure.ac | 5 ----- - meson.build | 3 --- - src/hb-mutex.hh | 18 ------------------ - 3 files changed, 26 deletions(-) - -commit 47f01c0726388102b82c1e04a5f134abb74b1831 -Author: Behdad Esfahbod -Date: Mon Jun 29 01:25:35 2020 -0700 - - m[algs] Move BEInt here - - src/hb-algs.hh | 81 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++- - src/hb.hh | 76 ------------------------------------------------------ - 2 files changed, 80 insertions(+), 77 deletions(-) - -commit e5b7bc424dd08c206f8c5baf5ac1b67d1dfd116e -Author: Behdad Esfahbod -Date: Mon Jun 29 01:24:02 2020 -0700 - - m Add default value to BEInt<> Size template parameter - - src/hb-open-type.hh | 14 +++++++------- - src/hb-serialize.hh | 2 +- - src/hb.hh | 4 ++-- - 3 files changed, 10 insertions(+), 10 deletions(-) - -commit 2caae4a59aadf889b410c4e2f42c0285013c22e6 -Author: Behdad Esfahbod -Date: Mon Jun 29 01:18:28 2020 -0700 - - m Move class traits - - src/hb-meta.hh | 11 +++++++++++ - src/hb.hh | 8 -------- - 2 files changed, 11 insertions(+), 8 deletions(-) - -commit c2dbd6cc0f9f30b2faed1fa0f40cfff742baae86 -Author: Behdad Esfahbod -Date: Mon Jun 29 01:15:36 2020 -0700 - - Remove static_assert of sizeof basic sized int types - - src/hb.hh | 8 -------- - 1 file changed, 8 deletions(-) - -commit e1706ffecdc0469063b90bbef6178c092dd7f32b -Author: Behdad Esfahbod -Date: Mon Jun 29 00:59:06 2020 -0700 - - m [algs] Move flags here - - src/hb-algs.hh | 36 ++++++++++++++++++++++++++++++++++++ - src/hb.hh | 36 ------------------------------------ - 2 files changed, 36 insertions(+), 36 deletions(-) - -commit 017f6b0d2441dc7602d9cb4b6783aaf5a0424f96 -Author: Behdad Esfahbod -Date: Mon Jun 29 00:44:41 2020 -0700 - - m Move static_assert_expr<> - - src/hb-meta.hh | 4 ++++ - src/hb.hh | 5 ----- - 2 files changed, 4 insertions(+), 5 deletions(-) - -commit 61f8d0e57dd9eee7e174f091f4e43646251dbb06 -Author: Behdad Esfahbod -Date: Mon Jun 29 00:38:56 2020 -0700 - - m Rename ASSERT_STATIC_EXPR_ZERO to static_assert_expr - - src/hb-ot-shape-complex-arabic-win1256.hh | 4 ++-- - src/hb-ot-shape-complex-indic.hh | 2 +- - src/hb.hh | 8 ++++---- - 3 files changed, 7 insertions(+), 7 deletions(-) - -commit 59cfffb1af82c706e181db64e81794f43af05cf4 -Author: Behdad Esfahbod -Date: Mon Jun 29 00:34:07 2020 -0700 - - m Change ASSERT_STATIC_EXPR_ZERO template arg type to bool - - src/hb.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 1981d83d7fefbc22d28d69714bfdac7aa5064d15 -Author: Behdad Esfahbod -Date: Mon Jun 29 00:28:31 2020 -0700 - - [constexpr] HB_MARK_AS_FLAG_T - - src/hb.hh | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit a4a99de0eb17b1de1be99534b5184fd1f1c53c37 -Author: Behdad Esfahbod -Date: Mon Jun 29 00:22:02 2020 -0700 - - [constexpr] bswap - - src/hb.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit f8ebe1dacd71d93dc2b401d0afbac86f5e14311d -Author: Behdad Esfahbod -Date: Mon Jun 29 00:20:45 2020 -0700 - - [constexpr] BEInt - - src/hb.hh | 64 +++++++++++++++++++++++---------------------------------------- - 1 file changed, 23 insertions(+), 41 deletions(-) - -commit 2fbd34f89a80fb25aa0f8edd1dbb692c66211842 -Author: Behdad Esfahbod -Date: Sun Jun 28 22:41:09 2020 -0700 - - m[set/map] Add operator bool() - - Probably should use in places.. - - src/hb-map.hh | 1 + - src/hb-set.hh | 1 + - 2 files changed, 2 insertions(+) - -commit bf75a0a03ac910879ee91cd29a4581c304edc644 -Author: Behdad Esfahbod -Date: Fri Feb 19 18:18:38 2021 -0700 - - m[dispatch] Use inline class member initialization - - Let's see how bots like this... - - src/hb-dispatch.hh | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit 82928d9cf65e275362188e9d855690d2ae71f005 -Author: Behdad Esfahbod -Date: Sun Jun 28 22:03:57 2020 -0700 - - m[blob] Move immutable check to C API boundary - - Similarly to 08ed9e3f779253e3b5f01c38d44d0e5db2d5e7aa - - src/hb-blob.cc | 10 +++------- - 1 file changed, 3 insertions(+), 7 deletions(-) - -commit 4020c6b286a5a2bacf8ca97a402b39bbf29f18c6 -Author: Behdad Esfahbod -Date: Sun Jun 28 21:59:46 2020 -0700 - - m[blob] An empty blob can always be made writable - - src/hb-blob.cc | 10 ++++++---- - 1 file changed, 6 insertions(+), 4 deletions(-) - -commit 2d39031f7b03543d8e9638354afad1af68872f06 -Author: Behdad Esfahbod -Date: Sun Jun 28 20:48:48 2020 -0700 - - [buffer/set/map] Move immutable check only to C API boundary - - The immutable objects are a concept only enforced by the C API. - So move checks only to that region. - - This does assume that the rest of the code is careful not getting - into these internal methods on immutable objects, which something - we do, but have no way of enforcing (currently). - - . - - src/hb-buffer.cc | 21 ++++++--------------- - src/hb-map.cc | 3 +++ - src/hb-map.hh | 4 ---- - src/hb-set.cc | 3 +++ - src/hb-set.hh | 5 ----- - 5 files changed, 12 insertions(+), 24 deletions(-) - -commit 6d83d44052d85f1a67ad14101b1a0a89cca642c9 -Author: Behdad Esfahbod -Date: Sun Jun 28 21:02:51 2020 -0700 - - m[set] Recover set from error in .reset() - - src/hb-set.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 445efe8d04b76e14148e7a53c891adb96e199dad -Author: Behdad Esfahbod -Date: Sun Jun 28 20:59:01 2020 -0700 - - m[vector] Recover vector from error in .reset() - - src/hb-vector.hh | 11 ++++++++--- - 1 file changed, 8 insertions(+), 3 deletions(-) - -commit 21433fa563028b1dda5f044bdeef9221511806f3 -Author: Behdad Esfahbod -Date: Sun Jun 28 20:46:02 2020 -0700 - - m[buffer] In hb_buffer_append() don't change until allocation success - - src/hb-buffer.cc | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -commit 0f61a6213acd3f8ad5dd93f11c526bacceff699c -Author: Behdad Esfahbod -Date: Sun Jun 28 20:40:25 2020 -0700 - - m[vowels] Simplify - - If we didn't "process" anything, swap_buffers() becomes a no-op. - - src/gen-vowel-constraints.py | 5 +---- - src/hb-ot-shape-complex-vowel-constraints.cc | 19 +------------------ - 2 files changed, 2 insertions(+), 22 deletions(-) - -commit 3b91e0b5920a4a1c16dc349c4c93b4a4daf006bc -Author: Behdad Esfahbod -Date: Sun Jun 28 20:33:54 2020 -0700 - - m[buffer] Rename internal variable - - src/hb-buffer.cc | 7 ++++--- - 1 file changed, 4 insertions(+), 3 deletions(-) - -commit 9fcba109bf62aaff3dd8469ecb387e7451031a76 -Author: Behdad Esfahbod -Date: Sun Jun 28 20:30:39 2020 -0700 - - [buffer] Make swap_buffers() copy rest - - src/gen-vowel-constraints.py | 4 ---- - src/hb-aat-layout-common.hh | 4 ---- - src/hb-buffer.cc | 3 +++ - src/hb-ot-shape-complex-vowel-constraints.cc | 4 ---- - src/hb-ot-shape.cc | 2 -- - 5 files changed, 3 insertions(+), 14 deletions(-) - -commit 86993c09a1f1d72b972592693ccfb18a5ab28af4 -Author: Behdad Esfahbod -Date: Fri Feb 19 17:09:33 2021 -0700 - - Ignore -Wrange-loop-analysis - - Fixes https://github.com/harfbuzz/harfbuzz/issues/2834 - - src/hb.hh | 1 + - 1 file changed, 1 insertion(+) - -commit 6d94194497b49ee4cd05c9f590f6cd871a5708e9 -Author: Behdad Esfahbod -Date: Fri Feb 19 17:08:10 2021 -0700 - - Use auto in range-for-loop more - - src/hb-ot-cff-common.hh | 2 +- - src/hb-ot-cmap-table.hh | 8 ++++---- - src/hb-ot-layout-gsubgpos.hh | 6 ++++-- - 3 files changed, 9 insertions(+), 7 deletions(-) - -commit 1551f3d51862ab8f6428c9c35c7f424b00af72ee -Author: justvanrossum -Date: Thu Feb 18 11:57:37 2021 +0100 - - fixing more expected test results - - test/api/test-draw.c | 20 ++++++++++---------- - 1 file changed, 10 insertions(+), 10 deletions(-) - -commit 79e4f436e7fc4634ed285d548cad48069c6390eb -Author: justvanrossum -Date: Wed Feb 17 10:21:58 2021 +0100 - - Apply rounding correctly when calculating glyph extents for CFF and CFF2; adjust expected test results - - src/hb-ot-cff1-table.cc | 4 ++-- - src/hb-ot-cff2-table.cc | 4 ++-- - test/api/test-ot-extents-cff.c | 6 +++--- - 3 files changed, 7 insertions(+), 7 deletions(-) - -commit d01ebeae21b8f17a7eff92b091340fdf804b4de2 -Author: justvanrossum -Date: Wed Feb 17 10:13:54 2021 +0100 - - calculate extents based on scaled then rounded values; undo two of the earlier test result adjustments - - src/hb-ot-glyf-table.hh | 4 ++-- - test/api/test-ot-metrics-tt-var.c | 4 ++-- - 2 files changed, 4 insertions(+), 4 deletions(-) - -commit 1d02e9c63bde6f5d064671401a292ffc440a9e99 -Author: justvanrossum -Date: Tue Feb 16 21:39:43 2021 +0100 - - two more adjusted expected extents results (still not convinced this is the right thing, though) - - test/api/test-ot-metrics-tt-var.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit cd0babe6a66ad8286fd8e60d7a87d7691b249482 -Author: justvanrossum -Date: Tue Feb 16 21:05:30 2021 +0100 - - adjust expected test result - - test/api/test-ot-metrics-tt-var.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 1d8a89504bc2fc37372f10ea699453992ae8fc0b -Author: justvanrossum -Date: Tue Feb 16 20:55:16 2021 +0100 - - do not round added deltas; fixes #2866 - - src/hb-ot-var-gvar-table.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 103ed7da83758e6327a0b0b3e8f521dd41f2232b -Author: Behdad Esfahbod -Date: Fri Feb 19 16:48:30 2021 -0700 - - [subset] Use dagger - - Better fix for https://github.com/harfbuzz/harfbuzz/pull/2858 - - src/hb-ot-layout-gpos-table.hh | 12 +++--------- - 1 file changed, 3 insertions(+), 9 deletions(-) - -commit d8ea552d1095b92f44657ca8a90e4fc9fcdbd37a -Author: Behdad Esfahbod -Date: Thu Feb 18 12:07:46 2021 -0700 - - [aat] Improve unsafe-to-break logic - - Reduces false-positives. See comments for new logic. - - Fixes https://github.com/harfbuzz/harfbuzz/issues/2860 - - Adjusts run-tests.sh to allow unhashed absolute filenames. - - src/hb-aat-layout-common.hh | 91 +++++++++++++++++++++------- - test/shaping/data/in-house/tests/macos.tests | 3 + - test/shaping/run-tests.py | 17 +++--- - 3 files changed, 81 insertions(+), 30 deletions(-) - -commit cf203936d7ba74dfb567a92378476c3125010023 -Author: Behdad Esfahbod -Date: Thu Feb 18 12:03:26 2021 -0700 - - [aat] Unbreak builds - - Some compilers don't like this: - - ../src/hb-aat-layout-common.hh:732:9: error: declaration of 'using StateTable = struct AAT::StateTable' changes meaning of 'StateTable' [-fpermissive] - 732 | using StateTable = StateTable; - - src/hb-aat-layout-common.hh | 14 +++++++------- - 1 file changed, 7 insertions(+), 7 deletions(-) - -commit b6fdaa6948a31beffa5a0715aca9718493bb9644 -Author: Behdad Esfahbod -Date: Thu Feb 18 11:16:37 2021 -0700 - - [minor:aat] Use injected class name - - src/hb-aat-layout-common.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit e27420bb189bff7b15f8830e834eaf486de63505 -Author: Behdad Esfahbod -Date: Thu Feb 18 11:15:25 2021 -0700 - - [minor:aat] Simplify template reference - - src/hb-aat-layout-common.hh | 14 ++++++++------ - 1 file changed, 8 insertions(+), 6 deletions(-) - -commit 7b8a8adb7d3d273e16ad5933b1a958f4d13a6572 -Author: Behdad Esfahbod -Date: Thu Feb 18 09:47:24 2021 -0700 - - [aat] Fix unsafe-to-break marking when end-of-text action kicks in - - The state we are dealing with here is the previous state; so it should - cause unsafe_to_break before current glyph. - - I'm surprised this wasn't caught by any tests. Guess we don't have any - fonts with fancy end-of-text forms. - - src/hb-aat-layout-common.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit aa80c7c8b4242d61e771b28775638bf2a2c5100f -Author: Behdad Esfahbod -Date: Thu Feb 18 09:31:46 2021 -0700 - - [aat] Add buffer->successful check before buffer->next_glyph() - - src/hb-aat-layout-common.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit bcd10bf2741266e16d514269cc1c8902105187db -Author: Behdad Esfahbod -Date: Wed Feb 17 13:58:56 2021 -0700 - - [normalize] Add buffer success check before ->next_glyph() - - Speculative fix for: - https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=27843 - - src/hb-ot-shape-normalize.cc | 1 + - 1 file changed, 1 insertion(+) - -commit 505b3fc6cfbed95a4101c9a9c75a76645eb6fb6b -Author: Behdad Esfahbod -Date: Wed Feb 17 11:34:47 2021 -0700 - - [harfbuzz.cc] Fix OffsetTable name clash with Mac headers - - There's no easy way to undo a "using namespace" in our sources, so by the time - we get to include hb-coretext.cc from harfbuzz.cc, we already have "using namespace OT" - active, which clashes with Mac headers. - - Error was: - $ gcc -O3 -Wall -arch i386 -DHAVE_CORETEXT=1 -c harfbuzz.cc -o harfbuzz.o -std=c++11 - /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextUtils.h:288:3: error: - reference to 'OffsetTable' is ambiguous - OffsetTable offsets, - ^ - /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/IntlResources.h:115:41: note: - candidate found by name lookup is 'OffsetTable' - typedef OffPair OffsetTable[3]; - ^ - ./hb-open-file.hh:81:16: note: candidate found by name lookup is 'OT::OffsetTable' - typedef struct OffsetTable - ^ - 1 error generated. - - src/hb-open-file.hh | 6 +++--- - src/hb-ot-head-table.hh | 2 +- - 2 files changed, 4 insertions(+), 4 deletions(-) - -commit 6a9f576fd438aef23242e72bd04285d0ea1279ad -Author: Behdad Esfahbod -Date: Wed Feb 17 11:31:32 2021 -0700 - - [coretext] Silence CoreText deprecation warning - - As suggested by Ned, just ignoring it. - - warning: 'CTGetCoreTextVersion' is deprecated: first deprecated in macOS 11.0 - Use - -[NSProcessInfo operatingSystemVersion] [-Wdeprecated-declarations] - - src/hb-coretext.cc | 3 +++ - 1 file changed, 3 insertions(+) - -commit 8e53c7c125ad93c1e83224da378d53caee00ca1e -Author: Behdad Esfahbod -Date: Wed Feb 17 11:12:56 2021 -0700 - - [coretext] Fix more CGFloat double-promotion warnings - - The warning is: - warning: implicit conversion increases floating-point precision: 'CGFloat' (aka 'float') to - 'double' [-Wdouble-promotion] - - src/hb-coretext.cc | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - -commit cd08c2528c69cc91d06efc3947ab21007269b00d -Author: Behdad Esfahbod -Date: Tue Feb 16 18:51:43 2021 -0700 - - Fix typo - - CONFIG.md | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 9c8032cb4b436e093c16dd8476284d8fdcc1c93e -Author: Khaled Hosny -Date: Tue Feb 16 22:00:20 2021 +0200 - - [meson] Don’t build FontConfig subproject from master - - Pin it to a known working tag instead. - - subprojects/fontconfig.wrap | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 5ca353a2d026f655af61ae159adcaeace1fdb09c -Author: Garret Rieger -Date: Fri Feb 12 15:16:59 2021 -0800 - - [subset] fix heap buffer overflow found by fuzzer. - - src/hb-ot-layout-gpos-table.hh | 3 +++ - ...z-testcase-minimized-hb-subset-fuzzer-4901143794810880 | Bin 0 -> 565 bytes - ...z-testcase-minimized-hb-subset-fuzzer-6372147008241664 | Bin 0 -> 775 bytes - 3 files changed, 3 insertions(+) - -commit ae860db893f74a7025b7656697a10c017e38e261 -Merge: 7a60f4e3a 751ed68fe -Author: Behdad Esfahbod -Date: Tue Feb 16 12:39:47 2021 -0700 - - Merge pull request #2859 from harfbuzz/override-0b55 - - [indic] Fix shaping of U+0B55 ORIYA SIGN OVERLINE - -commit 751ed68fee1d32f8a2c13b4fdc4bfaa9856608e8 -Author: David Corbett -Date: Sun Feb 14 12:47:34 2021 -0500 - - [indic] Fix shaping of U+0B55 ORIYA SIGN OVERLINE - - Fixes https://github.com/harfbuzz/harfbuzz/issues/2849 - - src/hb-ot-shape-complex-indic.hh | 1 + - .../fonts/b3075ca42b27dde7341c2d0ae16703c5b6640df0.ttf | Bin 0 -> 920 bytes - test/shaping/data/in-house/tests/indic-syllable.tests | 2 ++ - 3 files changed, 3 insertions(+) - -commit 7a60f4e3a407cdadedc3b723eb2f1d716e99cd72 -Author: Behdad Esfahbod -Date: Fri Feb 12 14:14:17 2021 -0700 - - [subset] Remove debug burden - - Fixes https://github.com/harfbuzz/harfbuzz/issues/2360 - - src/hb-subset-plan.hh | 15 +++++++++------ - 1 file changed, 9 insertions(+), 6 deletions(-) - -commit 00d9276343f4c3d5fe6919308e0ba229c2f9ff10 -Author: Garret Rieger -Date: Wed Oct 14 14:48:11 2020 -0700 - - Add gpos9 expected files to Makefile.am - - test/subset/data/Makefile.am | 1 + - 1 file changed, 1 insertion(+) - -commit 08a4997fdec4f8df388d73dab7274b67ace8dc67 -Author: Garret Rieger -Date: Tue Oct 6 13:02:12 2020 -0700 - - [subset] Add subset support for Extension lookups (GPOS 9, GSUB 7). - - src/hb-ot-layout-gsubgpos.hh | 30 +++++++++++++++++++++ - test/subset/data/Makefile.sources | 1 + - .../gpos9_font2.keep-layout-retain-gids.41,42.otf | Bin 0 -> 1976 bytes - .../gpos9_font2.keep-layout-retain-gids.41.otf | Bin 0 -> 1936 bytes - .../gpos9_font2.keep-layout-retain-gids.42.otf | Bin 0 -> 1808 bytes - .../layout.gpos9/gpos9_font2.keep-layout.41,42.otf | Bin 0 -> 1272 bytes - .../layout.gpos9/gpos9_font2.keep-layout.41.otf | Bin 0 -> 1236 bytes - .../layout.gpos9/gpos9_font2.keep-layout.42.otf | Bin 0 -> 1096 bytes - test/subset/data/fonts/gpos9_font2.otf | Bin 0 -> 4588 bytes - test/subset/data/tests/layout.gpos9.tests | 11 ++++++++ - test/subset/meson.build | 1 + - 11 files changed, 43 insertions(+) - -commit bbbea3dbd86ece2ba0f6a0f7f70ea240fbc5a40f -Author: Behdad Esfahbod -Date: Thu Feb 11 12:23:33 2021 -0700 - - [minor] Rewrite set operation in OS/2 subsetting - - This patch could be nicer: - https://github.com/harfbuzz/harfbuzz/pull/2572/files - - Just tiny touchup now. - - src/hb-ot-os2-table.hh | 9 ++++----- - 1 file changed, 4 insertions(+), 5 deletions(-) - -commit cdb9197b4137ccac7d775b0e10adf0e9ef485f0c -Author: Behdad Esfahbod -Date: Thu Feb 11 11:32:49 2021 -0700 - - [khmer] Remove more unused code - - Prodded by https://github.com/harfbuzz/harfbuzz/pull/2583 - - These are leftovers from when we forked Khmer shaper from the Indic shaper. - - src/hb-ot-shape-complex-khmer.cc | 23 ----------------------- - 1 file changed, 23 deletions(-) - -commit dfa9d7acdc320005749bb21b4c4711224a87d511 -Author: Behdad Esfahbod -Date: Thu Feb 11 11:08:52 2021 -0700 - - [minor] Use serializer->propagate_error() to simplify code - - src/hb-ot-color-cbdt-table.hh | 8 ++++---- - src/hb-ot-layout-gsubgpos.hh | 18 ++++++++---------- - src/hb-serialize.hh | 9 +++++---- - 3 files changed, 17 insertions(+), 18 deletions(-) - -commit 5faae8260ac9f81dbc022317edd63643c83bc8e4 -Author: Behdad Esfahbod -Date: Thu Feb 11 10:58:02 2021 -0700 - - [post] Remove unneeded error check - - src/hb-ot-post-table.hh | 1 - - 1 file changed, 1 deletion(-) - -commit d7e2a51de2fb6c18c05bbc4c270efb01e9d744e1 -Author: Behdad Esfahbod -Date: Thu Feb 11 10:55:03 2021 -0700 - - [minor] Add unlikely() when checking for error - - src/hb-face.cc | 2 +- - src/hb-ot-glyf-table.hh | 2 +- - src/hb-ot-layout-gsubgpos.hh | 8 ++++---- - 3 files changed, 6 insertions(+), 6 deletions(-) - -commit eb069f3948ee6e79b9ac5396a4fd1aa37e4e9136 -Author: Behdad Esfahbod -Date: Wed Feb 10 19:13:51 2021 -0700 - - [tests] Update expected output of recently-merged gpos5 - - The merged PR was from before landing this: - - commit 7a72b20aa2b604053696e731185a17286de73b08 - Author: Garret Rieger - Date: Thu Sep 24 15:58:48 2020 -0700 - - [subset] Subset GDEF during layout subsetting tests. - - ...1.keep-layout-retain-gids.retain-all-codepoint.otf | Bin 3840 -> 3884 bytes - .../gpos5_font1.keep-layout.retain-all-codepoint.otf | Bin 3840 -> 3884 bytes - 2 files changed, 0 insertions(+), 0 deletions(-) - -commit c7d232ce4e8eccdeaf8fc4bb4b73818b581d3fb9 -Merge: 68d576224 be33704c0 -Author: Behdad Esfahbod -Date: Wed Feb 10 18:13:38 2021 -0700 - - Merge pull request #2701 from googlefonts/Mark-To-Ligature_grieger - - [subset] GPOS 5 MarkToLigature subsetting support - -commit 68d576224fcd6fd649a20c77b4573203a781f9c4 -Merge: 094406b67 7b9e23f28 -Author: Behdad Esfahbod -Date: Wed Feb 10 14:56:29 2021 -0700 - - Merge pull request #2853 from harfbuzz/fix-g-ir-scanner - - [introspection] Fix g-ir-scanner syntax errors - -commit 7b9e23f28b2bf0540a2c49914f5d9c89079c96ba -Author: Khaled Hosny -Date: Wed Feb 10 23:37:43 2021 +0200 - - [introspection] Fix g-ir-scanner syntax errors - - Fixes https://github.com/harfbuzz/harfbuzz/issues/2851 - - src/Makefile.am | 9 +-------- - src/hb-aat-layout.h | 2 +- - src/hb-blob.h | 2 +- - src/hb-buffer.h | 2 +- - src/hb-common.h | 2 +- - src/hb-deprecated.h | 2 +- - src/hb-draw.h | 2 +- - src/hb-face.h | 2 +- - src/hb-font.h | 2 +- - src/hb-gobject-enums.h.tmpl | 2 +- - src/hb-gobject-structs.h | 2 +- - src/hb-map.h | 2 +- - src/hb-ot-color.h | 2 +- - src/hb-ot-deprecated.h | 2 +- - src/hb-ot-font.h | 2 +- - src/hb-ot-layout.h | 2 +- - src/hb-ot-math.h | 2 +- - src/hb-ot-meta.h | 2 +- - src/hb-ot-metrics.h | 2 +- - src/hb-ot-name.h | 2 +- - src/hb-ot-shape.h | 2 +- - src/hb-ot-var.h | 2 +- - src/hb-set.h | 2 +- - src/hb-shape-plan.h | 2 +- - src/hb-shape.h | 2 +- - src/hb-style.h | 2 +- - src/hb-unicode.h | 2 +- - src/hb-version.h | 2 +- - src/hb-version.h.in | 2 +- - src/meson.build | 10 ++-------- - 30 files changed, 31 insertions(+), 44 deletions(-) - -commit 094406b67b074c460d8c44e31c847f9c1bec3d05 -Author: Khaled Hosny -Date: Wed Feb 10 22:49:27 2021 +0200 - - [ci] Disable failing Arch Linux job - - Some g-ir-scanner failure that does not seem to be related to us. The - job does not seem to be testing anything interesting anyway. - - .circleci/config.yml | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit 554aaa0c5deb4c4f315184be8540eebe9077fe27 -Author: Khaled Hosny -Date: Wed Feb 10 22:25:16 2021 +0200 - - [build] Fix make distcheck - - A regression from 7b77ce0507e18fb981a9b865f3eaac0c2ae06044. - It was caught by the CI build in the PR, but apparently we are now used - to CI failures that they are effectively ignored. - - Also, yay for multiple build systems. - - test/subset/data/Makefile.am | 1 + - 1 file changed, 1 insertion(+) - -commit 1da75afbe8804ede5b2843759a9c185e015918b0 -Author: Behdad Esfahbod -Date: Wed Feb 10 00:03:30 2021 -0700 - - [minor] Add unlikely() - - src/hb-ot-layout-gsubgpos.hh | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit 6e1afac64bbf3222d3e7f484749bbd2d17fc1a25 -Author: Behdad Esfahbod -Date: Tue Feb 9 18:48:46 2021 -0700 - - [minor] Rename internal variable - - To address review comment: - https://github.com/harfbuzz/harfbuzz/pull/2699#discussion_r573370781 - - src/hb-ot-layout-gsubgpos.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 836814a571a18bca344c0b35d136b2122122f82e -Author: Behdad Esfahbod -Date: Fri Feb 5 13:41:19 2021 -0500 - - [array] Swap order of args to hb_equal() - - Prioritizes Key::cmp() over table's cmp. - - src/hb-array.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 98374cebe1001e726b40a588b9fdc13208c8a9b1 -Author: Behdad Esfahbod -Date: Fri Feb 5 13:40:10 2021 -0500 - - Conditionalize IntType::cmp() so it never fails to compile - - Useful with lfind() since that calls hb_equal() which SFINAEs which - cmp() to use. - - src/hb-open-type.hh | 17 ++++++++++++----- - 1 file changed, 12 insertions(+), 5 deletions(-) - -commit ed04174a64c77e6ba7a68294d0672391740d2d75 -Author: Behdad Esfahbod -Date: Fri Feb 5 13:36:46 2021 -0500 - - Whitespace - - src/hb-algs.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 6a3fd94f3b8fa8f4aa1d4e4c9cfe74d0c3b88270 -Merge: 8f47dd577 aace09a3a -Author: Behdad Esfahbod -Date: Tue Feb 9 20:49:04 2021 -0500 - - Merge pull request #2699 from googlefonts/gpos_8 - - [subset] Add a more complex layout subsetting test case and fix the issues it exposed. - -commit 8f47dd5779f7f78b5c11f307a74128892ec1d26c -Author: Garret Rieger -Date: Wed Nov 4 11:05:22 2020 -0800 - - [subset] don't set lookup visited in closure_lookups_context_t::recurse. - - Lookup::closure_lookups also checks if the lookups visited and sets the lookup to visited. If we set visited in 'recurse' then Lookup::closure_lookups will fail to recurse into the children of the lookup. - - Also when copying ChainRule's skip LookupRecord's that point to lookups which aren't retained. This matches FontTool's behaviour. - - src/hb-ot-layout-gsubgpos.hh | 16 +++++++++++----- - 1 file changed, 11 insertions(+), 5 deletions(-) - -commit feeff5928b7764934cec376d047a5c808e9412a6 -Author: Behdad Esfahbod -Date: Tue Feb 9 14:59:40 2021 -0700 - - [docs] Add destroy() call to sample - - docs/usermanual-fonts-and-faces.xml | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 319e5b3200a2896acb2b01cc047f1144305acc14 -Author: Khaled Hosny -Date: Fri Jan 1 01:31:19 2021 +0200 - - [manual] Fix font functions section - - Fixes https://github.com/harfbuzz/harfbuzz/issues/2731 - - docs/usermanual-fonts-and-faces.xml | 27 ++++++++++++++++++++------- - 1 file changed, 20 insertions(+), 7 deletions(-) - -commit 3583fce86d7c4a75b89d19107c9e0de45e169507 -Author: Khaled Hosny -Date: Thu Dec 31 19:45:11 2020 +0200 - - [manual] Give all chapters & sections pretty links - - docs/harfbuzz-docs.xml | 12 ++++++------ - docs/usermanual-getting-started.xml | 6 +++--- - docs/usermanual-what-is-harfbuzz.xml | 2 +- - 3 files changed, 10 insertions(+), 10 deletions(-) - -commit 84d4d9fc4d3b6811cefac097537136ef11ab78ee -Author: Khaled Hosny -Date: Thu Dec 31 18:27:10 2020 +0200 - - [manual] We don’t use ucdn library anymore - - docs/usermanual-utilities.xml | 28 +--------------------------- - 1 file changed, 1 insertion(+), 27 deletions(-) - -commit 68d2e1b221ca90a76f9a5179b05868e350ed0bd3 -Author: Khaled Hosny -Date: Thu Jan 21 14:39:19 2021 +0200 - - [meson] Disable benchmark feature by default - - It downloads a dependency from the internet, and in the same time not - used anywhere (one needs to explicitly call ninja benchmark), not even - on the CI (not sure if it that would make much sense since it does not - seem to ever fail). - - meson.build | 12 ++---------- - meson_options.txt | 2 +- - 2 files changed, 3 insertions(+), 11 deletions(-) - -commit b6f47af555e17dbc3b5cacc061bd22c54e0c80f9 -Author: Khaled Hosny -Date: Thu Jan 21 14:34:01 2021 +0200 - - [meson] Report more options in the summary - - meson.build | 5 +++++ - 1 file changed, 5 insertions(+) - -commit 33a0f0b6860e0a48f92bc855c179a0fc5864112f -Author: Behdad Esfahbod -Date: Tue Feb 9 12:55:45 2021 -0700 - - [test] Remove fuzzed test font that triggers virus alert - - Fixes https://github.com/harfbuzz/harfbuzz/issues/2750 - - ...testcase-minimized-hb-subset-fuzzer-5741295280848896 | Bin 98822 -> 0 bytes - 1 file changed, 0 insertions(+), 0 deletions(-) - -commit 99184fbe2b22b2662fdf1b29edd9aabc1abc040b -Author: Khaled Hosny -Date: Wed Feb 3 13:40:39 2021 +0200 - - [ci] Add top level directory to win32 zip file - - Fixes https://github.com/harfbuzz/harfbuzz/issues/2840 - - .ci/build-win32.sh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit d9e0244cdfa522d5dfdd523197078968d83dc038 -Author: josephshen -Date: Tue Feb 2 16:04:44 2021 +0800 - - remove duplicate file names - - src/Makefile.sources | 2 -- - src/meson.build | 2 -- - 2 files changed, 4 deletions(-) - -commit dad41c07e4076ff247042116a0815f33e41aa0d6 -Author: Behdad Esfahbod -Date: Mon Feb 1 13:54:12 2021 -0500 - - [use] Typo - - src/hb-ot-shape-complex-use-machine.rl | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 63a716c540657d2e0c71d3443a87ac97530cf265 -Author: Behdad Esfahbod -Date: Fri Jan 29 20:36:42 2021 -0700 - - [indic] Use lfind() - - src/hb-ot-shape-complex-indic.hh | 5 +---- - 1 file changed, 1 insertion(+), 4 deletions(-) - -commit 921b4e46b0096873cee8c182cade0dafa8b35b43 -Author: Behdad Esfahbod -Date: Fri Jan 29 20:35:05 2021 -0700 - - [algs] Add hb_equal() - - Use in hb_array_t::lfind() - - src/hb-algs.hh | 42 ++++++++++++++++++++++++++++++++++++++++-- - src/hb-array.hh | 2 +- - 2 files changed, 41 insertions(+), 3 deletions(-) - -commit f4ed3bf20bb8522189a8d5d12242089121617896 -Author: Behdad Esfahbod -Date: Fri Jan 29 20:05:38 2021 -0700 - - [indic] Remove categorization of Khmer Ra - - Khmer goes through its own shaper these days. - - src/hb-ot-shape-complex-indic.hh | 2 -- - 1 file changed, 2 deletions(-) - -commit 676d1e6adf9572f79544182491af1abb229d2ccf -Author: Behdad Esfahbod -Date: Fri Jan 29 19:53:39 2021 -0700 - - [indic] Spell out INDIC_TABLE_ELEMENT_TYPE - - src/gen-indic-table.py | 4 +- - src/hb-ot-shape-complex-indic-table.cc | 4 +- - src/hb-ot-shape-complex-indic.hh | 4 +- - src/hb-ot-shape-complex-khmer-machine.hh | 665 ++++++++++--------- - src/hb-ot-shape-complex-use-machine.hh | 1034 +++++++++++++++++------------- - 5 files changed, 953 insertions(+), 758 deletions(-) - -commit 769c2b19a3c3e87923928b9c9de4ded7307b3ed8 -Author: Behdad Esfahbod -Date: Fri Jan 29 11:40:59 2021 -0700 - - [indic/khmer/myanmar/use] Minor shuffling of found_syllable() macros - - src/hb-ot-shape-complex-indic-machine.hh | 32 +++++++++++++++--------------- - src/hb-ot-shape-complex-indic-machine.rl | 14 ++++++------- - src/hb-ot-shape-complex-khmer-machine.hh | 18 ++++++++--------- - src/hb-ot-shape-complex-khmer-machine.rl | 8 ++++---- - src/hb-ot-shape-complex-myanmar-machine.hh | 18 ++++++++--------- - src/hb-ot-shape-complex-myanmar-machine.rl | 12 +++++------ - src/hb-ot-shape-complex-use-machine.hh | 30 ++++++++++++++-------------- - src/hb-ot-shape-complex-use-machine.rl | 22 ++++++++++---------- - 8 files changed, 77 insertions(+), 77 deletions(-) - -commit 59721c2f372918555f3d238b449a61907d1fc94c -Author: Behdad Esfahbod -Date: Fri Jan 29 11:34:59 2021 -0700 - - [use] Move data table into same compilation unit - - src/Makefile.sources | 2 +- - src/gen-use-table.py | 11 +++-- - src/harfbuzz.cc | 1 - - src/hb-ot-shape-complex-use-machine.hh | 55 ++++++++++------------ - src/hb-ot-shape-complex-use-machine.rl | 5 -- - ...e-table.cc => hb-ot-shape-complex-use-table.hh} | 11 +++-- - src/hb-ot-shape-complex-use.cc | 1 + - src/meson.build | 2 +- - src/update-unicode-tables.make | 4 +- - 9 files changed, 42 insertions(+), 50 deletions(-) - -commit d9b167da3d261737ed7f5874f308eed3ad37fd0f -Author: Behdad Esfahbod -Date: Thu Jan 28 20:40:42 2021 -0700 - - [use] Remove hb-ot-shape-complex-use.hh - - Inline into ragel machine. - - src/Makefile.sources | 1 - - src/gen-use-table.py | 1 - - src/hb-ot-shape-complex-use-machine.hh | 100 ++++++++++++++++++++++++--------- - src/hb-ot-shape-complex-use-machine.rl | 50 ++++++++++++++++- - src/hb-ot-shape-complex-use-table.cc | 1 - - src/hb-ot-shape-complex-use.cc | 1 - - src/hb-ot-shape-complex-use.hh | 83 --------------------------- - src/meson.build | 1 - - 8 files changed, 123 insertions(+), 115 deletions(-) - -commit 3bb2653a5e843338ab42cc929a874923cc14bafa -Author: Behdad Esfahbod -Date: Thu Jan 28 20:36:51 2021 -0700 - - [use] Reuse category numbers exported from ragel machine - - Part of https://github.com/harfbuzz/harfbuzz/pull/2726 - - src/gen-use-table.py | 7 +-- - src/hb-ot-shape-complex-use-machine.hh | 57 ++++++++++++------------ - src/hb-ot-shape-complex-use-machine.rl | 11 +++-- - src/hb-ot-shape-complex-use-table.cc | 81 +++++++++++++++++----------------- - src/hb-ot-shape-complex-use.cc | 48 ++++++++++---------- - src/hb-ot-shape-complex-use.hh | 53 +--------------------- - 6 files changed, 107 insertions(+), 150 deletions(-) - -commit c417e0d2f91f673dfb55c6d04e9d1fcda985abe7 -Author: Behdad Esfahbod -Date: Thu Jan 28 20:27:59 2021 -0700 - - [indic/khmer/myanmar/use] Move enum category around - - Such that the generated -machine.hh headers are independent. - - src/hb-ot-shape-complex-indic-machine.hh | 61 +++++++++++++++------------ - src/hb-ot-shape-complex-indic-machine.rl | 9 ++++ - src/hb-ot-shape-complex-indic.cc | 14 +------ - src/hb-ot-shape-complex-khmer-machine.hh | 44 +++++++++++--------- - src/hb-ot-shape-complex-khmer-machine.rl | 6 +++ - src/hb-ot-shape-complex-khmer.cc | 10 +---- - src/hb-ot-shape-complex-myanmar-machine.hh | 45 +++++++++++--------- - src/hb-ot-shape-complex-myanmar-machine.rl | 7 ++++ - src/hb-ot-shape-complex-myanmar.cc | 12 +----- - src/hb-ot-shape-complex-use-machine.hh | 66 +++++++++++++++++++----------- - src/hb-ot-shape-complex-use-machine.rl | 16 ++++++++ - src/hb-ot-shape-complex-use.cc | 20 +-------- - 12 files changed, 169 insertions(+), 141 deletions(-) - -commit 675b6c29947befe1c893b1c7ec33741386ca2bad -Author: Behdad Esfahbod -Date: Thu Jan 28 20:17:33 2021 -0700 - - [indic/khmer/myanmar/use] Remove unused dump-*-data programs - - In prep for streamlining tables. - - src/Makefile.am | 19 ------------------- - src/dump-indic-data.cc | 43 ------------------------------------------- - src/dump-khmer-data.cc | 41 ----------------------------------------- - src/dump-myanmar-data.cc | 43 ------------------------------------------- - src/dump-use-data.cc | 38 -------------------------------------- - src/meson.build | 15 --------------- - 6 files changed, 199 deletions(-) - -commit 0a5c6311409547c7a24efbbd595ed5a50f754107 -Author: Behdad Esfahbod -Date: Thu Jan 28 19:53:20 2021 -0700 - - [use] Rename internal enum joinint_form_t members - - To ease upcoming change. - - src/hb-ot-shape-complex-use.cc | 22 +++++++++++----------- - 1 file changed, 11 insertions(+), 11 deletions(-) - -commit 880fdb7460caa88a0a08a535555e54cf5037eed3 -Author: Behdad Esfahbod -Date: Thu Jan 28 19:47:53 2021 -0700 - - [indic/khmer/myanmar/use] Export categories from Ragel source - - Not hooked up yet. - - Part of alternative approach to - https://github.com/harfbuzz/harfbuzz/pull/2726 - - src/hb-ot-shape-complex-indic-machine.hh | 32 +++++++++-- - src/hb-ot-shape-complex-indic-machine.rl | 36 ++++++------ - src/hb-ot-shape-complex-khmer-machine.hh | 30 ++++++++-- - src/hb-ot-shape-complex-khmer-machine.rl | 32 +++++------ - src/hb-ot-shape-complex-myanmar-machine.hh | 40 ++++++++++++-- - src/hb-ot-shape-complex-myanmar-machine.rl | 52 +++++++++--------- - src/hb-ot-shape-complex-use-machine.hh | 88 ++++++++++++++++++++++-------- - src/hb-ot-shape-complex-use-machine.rl | 87 +++++++++++++++-------------- - 8 files changed, 252 insertions(+), 145 deletions(-) - -commit f94bf9f06ff46d6fc33d04fbb4e92e5d25fcaa42 -Author: Garret Rieger -Date: Mon Jan 25 15:57:42 2021 -0800 - - [set fuzzer] limit the total number of set members in a fuzzing input. - Currently the fuzzer can create arbitarily long inputs which once big enough will trigger a timeout. - - test/fuzzing/hb-set-fuzzer.cc | 9 +++++++++ - 1 file changed, 9 insertions(+) - -commit b198d944890f107d8be09fded0ad402332230229 -Author: ckitagawa -Date: Mon Jan 25 16:34:11 2021 -0500 - - use {} rather than {0} - - src/hb-ot-color-colr-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 2e50b517e1f5346d87349c965ef0469ed61892da -Author: ckitagawa -Date: Mon Jan 25 16:19:07 2021 -0500 - - Nicer more idiomatic fix - - src/hb-ot-color-colr-table.hh | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit 8f6559a373363e8992cb964ecae2ce2a115e2d7d -Author: ckitagawa -Date: Mon Jan 25 10:37:59 2021 -0500 - - [subet/COLR] Default initialize firstLayerIdx - - src/hb-ot-color-colr-table.hh | 1 + - 1 file changed, 1 insertion(+) - -commit a650243d3994e5098a8528cce262d4ffb258b11d -Author: Behdad Esfahbod -Date: Sun Jan 24 13:30:06 2021 -0700 - - [sanitize] Fix typo - - src/hb-sanitize.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit e05e56061c75588dbc31a4ced73e13207e537fd9 -Author: Behdad Esfahbod -Date: Sun Jan 24 12:28:04 2021 -0700 - - [mingw] Reinstate win32 cross-compiling with autotools instructions - - Was removed in favor of meson in 6058ede3ae983c53d1d6f5352d4235bafce3499a. - However, those fail to build for me. - - Makefile.am | 1 + - README.mingw.md | 32 ++++++++++++++++++++++++-------- - mingw-configure.sh | 28 ++++++++++++++++++++++++++++ - 3 files changed, 53 insertions(+), 8 deletions(-) - -commit 881ad720fe78b27421945824e3c30f7536a8e6bf -Author: Behdad Esfahbod -Date: Thu Jan 21 14:27:45 2021 -0700 - - [algs] Remove passthru declaration - - Let compiler figure it out. - - src/hb-algs.hh | 8 -------- - src/hb-set.hh | 25 ++++++++++++++----------- - 2 files changed, 14 insertions(+), 19 deletions(-) - -commit ca0b7afee9422338886cfb163f0a68e2f1868f24 -Author: Behdad Esfahbod -Date: Thu Jan 21 12:18:48 2021 -0700 - - [set] Use hb_fill() - - src/hb-ot-layout-common.hh | 8 ++++---- - src/hb-set.hh | 5 ++--- - 2 files changed, 6 insertions(+), 7 deletions(-) - -commit 5fce8898e0be354a890c629516ecae76a3383a64 -Author: Behdad Esfahbod -Date: Thu Jan 21 12:14:20 2021 -0700 - - [iter] Allow passing rvalue iters to hb_fill() - - src/hb-iter.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 6463ee02d6127fa2bfc4ada5e65468a4f8815531 -Author: Behdad Esfahbod -Date: Thu Jan 21 12:01:13 2021 -0700 - - Speed up ClassDef/Coverage intersect methods - - Just avoiding overhead as measured by Garret. - Should rewrite as dagger in the future and confirm that it has the - same benefits. Later on, rewrite as lfind() maybe. - - Fixes https://github.com/harfbuzz/harfbuzz/issues/2826 - - src/hb-ot-layout-common.hh | 34 ++++++++++++++++++++++++---------- - 1 file changed, 24 insertions(+), 10 deletions(-) - -commit 33368a12b7f7b394cc2b36048a04f76aa1f7009e -Author: Garret Rieger -Date: Thu Jan 21 11:06:58 2021 -0800 - - uint32_t to unsigned in hb-set.hh - - src/hb-set.hh | 16 ++++++++-------- - 1 file changed, 8 insertions(+), 8 deletions(-) - -commit 2a0d0b901f687915eab4b270c48e658e52b95676 -Author: Garret Rieger -Date: Thu Jan 21 10:45:09 2021 -0800 - - Make set clear work even when set is in failed state. - - src/hb-set.hh | 28 ++++++++++++++-------------- - 1 file changed, 14 insertions(+), 14 deletions(-) - -commit 0ba73e980c210ea5b3542327aa889177f9e44a2e -Author: Garret Rieger -Date: Wed Sep 16 13:56:33 2020 -0700 - - [ENOMEM] handle allocation failures during page compaction. - - src/hb-set.hh | 50 +++++++++++++++++++++++++++++++++++++++----------- - 1 file changed, 39 insertions(+), 11 deletions(-) - -commit a4c3732f59188046322e599a1a67279680385cbd -Author: Garret Rieger -Date: Wed Sep 16 12:35:09 2020 -0700 - - [ENOMEM] fix set clear() causing corruption if the set is in_error(). - - src/hb-set.hh | 11 ++++++++--- - ...-testcase-minimized-hb-subset-fuzzer-5345734743031808 | Bin 0 -> 1240 bytes - 2 files changed, 8 insertions(+), 3 deletions(-) - -commit 9b8be9643cba165abf9256df1b8b8413b0574ab0 -Author: Khaled Hosny -Date: Wed Jan 20 23:49:24 2021 +0200 - - [docs] Ignore hb-gobject headers - - Fixes https://github.com/harfbuzz/harfbuzz/issues/2797 - - docs/Makefile.am | 3 -- - docs/harfbuzz-docs.xml | 1 - - docs/harfbuzz-sections.txt | 72 ---------------------------------------------- - docs/meson.build | 17 +++++------ - src/hb-gobject-structs.h | 30 ------------------- - 5 files changed, 7 insertions(+), 116 deletions(-) - -commit 2a6a49c90b1255d687e52121ba7b3b3c272c4a70 -Author: Khaled Hosny -Date: Thu Jan 21 00:06:03 2021 +0200 - - [meson] Don’t scan files outside src for docs - - Similar to what we do in Makefile.am. - - docs/meson.build | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 051a3c7b9a9b9064cf0a9fc8a2a32e6114f103ec -Author: Khaled Hosny -Date: Wed Jan 20 22:35:34 2021 +0200 - - [docs] Fix typo - - src/hb-font.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit a44dd339f9ebf789b2642b5a7eef2785fca6d809 -Author: Khaled Hosny -Date: Fri Jan 1 01:36:57 2021 +0200 - - [docs] Missing param docs - - src/hb-font.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 478d169c0fdbecbf859352ae2f03d5261cb49b11 -Author: Khaled Hosny -Date: Thu Dec 31 18:17:33 2020 +0200 - - [docs] Document more deprecated symbols - - src/hb-deprecated.h | 13 ++++++++++++- - src/hb-graphite2.cc | 5 +++++ - src/hb-ot-deprecated.h | 2 ++ - 3 files changed, 19 insertions(+), 1 deletion(-) - -commit ca0a7a838447947ea2530bb51487c775f02d48b4 -Author: Khaled Hosny -Date: Thu Dec 31 17:29:03 2020 +0200 - - [docs] Document hb_ot_math_constant_t somehow - - src/hb-ot-math.h | 61 ++++++++++++++++++++++++++++++++++++++++++++++++++++++-- - 1 file changed, 59 insertions(+), 2 deletions(-) - -commit 3ba1e7e783d2beab39fce656d98f5ce79fdf2843 -Author: Khaled Hosny -Date: Thu Dec 31 17:11:35 2020 +0200 - - [docs] Document HB_OT_TAG_DEFAULT_LANGUAGE/SCRIPT - - src/hb-ot-layout.h | 12 ++++++++++++ - 1 file changed, 12 insertions(+) - -commit 4bfa0b3c0214a35a2c7c0400aef9797a82bc5cac -Author: Khaled Hosny -Date: Thu Dec 31 16:30:05 2020 +0200 - - [docs] Fix hb_color_get_* docs - - src/hb-common.cc | 16 ++++++++++++---- - 1 file changed, 12 insertions(+), 4 deletions(-) - -commit 2cdc92c0c27ecdd07735e1a7d3768651991ea0e1 -Author: David Corbett -Date: Sat Aug 29 19:41:40 2020 -0400 - - [use] Move most joining scripts to USE - - src/hb-ot-shape-complex.hh | 37 +++++++++---------------------------- - 1 file changed, 9 insertions(+), 28 deletions(-) - -commit 5c73c9082b32a5dd955c1c0f0a4e08e85304c2e2 -Author: Behdad Esfahbod -Date: Mon Jan 18 12:47:25 2021 -0700 - - [syllabic] Fix signed/unsigned comparision errors - - src/hb-ot-shape-complex-syllabic.cc | 6 +++--- - src/hb-ot-shape-complex-syllabic.hh | 4 ++-- - 2 files changed, 5 insertions(+), 5 deletions(-) - -commit e3d4c2972759f0fd578213d450da7e4d8b5c83e8 -Author: Behdad Esfahbod -Date: Fri Jan 15 19:23:33 2021 -0700 - - [indic/khmer/myanmar] Minor: Fix mask - - Seems like a typo. No behavior change. - - src/hb-ot-shape-complex-indic.hh | 2 +- - src/hb-ot-shape-complex-khmer.hh | 2 +- - src/hb-ot-shape-complex-myanmar.hh | 2 +- - 3 files changed, 3 insertions(+), 3 deletions(-) - -commit 0ddade44cf02455bf78ebb782841c76f3c4cea9a -Author: Behdad Esfahbod -Date: Fri Jan 15 19:13:47 2021 -0700 - - [syllabic] Merge various insert_dotted_circles implementations - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1810 - - src/hb-ot-shape-complex-indic.cc | 70 ++++-------------------------------- - src/hb-ot-shape-complex-khmer.cc | 71 ++++-------------------------------- - src/hb-ot-shape-complex-myanmar.cc | 64 +++------------------------------ - src/hb-ot-shape-complex-syllabic.cc | 67 ++++++++++++++++++++++++++++++++++ - src/hb-ot-shape-complex-syllabic.hh | 8 +++++ - src/hb-ot-shape-complex-use.cc | 72 +++++-------------------------------- - 6 files changed, 101 insertions(+), 251 deletions(-) - -commit e8e9fd9556816e7d43f3c5c0a678789cd6b2cf24 -Author: Behdad Esfahbod -Date: Fri Jan 15 18:52:57 2021 -0700 - - [syllabic] Add hb-ot-shape-complex-syllabic.cc/hh - - Empty for now. - - Part of https://github.com/harfbuzz/harfbuzz/issues/1810 - - src/Makefile.sources | 2 ++ - src/harfbuzz.cc | 1 + - src/hb-ot-shape-complex-indic.hh | 2 +- - src/hb-ot-shape-complex-syllabic.cc | 33 +++++++++++++++++++++++++++++++++ - src/hb-ot-shape-complex-syllabic.hh | 33 +++++++++++++++++++++++++++++++++ - src/hb-ot-shape-complex-use.hh | 3 +-- - src/meson.build | 2 ++ - 7 files changed, 73 insertions(+), 3 deletions(-) - -commit 8af85c4e86ae88c02921b048c5100a57f27857c6 -Author: Behdad Esfahbod -Date: Fri Jan 15 18:48:12 2021 -0700 - - Remove hb-ot-shape-complex-machine-index.hh file - - Inline code into USE header. - - src/Makefile.sources | 1 - - src/hb-ot-shape-complex-machine-index.hh | 69 -------------------------------- - src/hb-ot-shape-complex-use-machine.hh | 49 +++++++++++------------ - src/hb-ot-shape-complex-use-machine.rl | 1 - - src/hb-ot-shape-complex-use.hh | 39 ++++++++++++++++++ - 5 files changed, 63 insertions(+), 96 deletions(-) - -commit 9dd61c5b78dfc229e36f5ffe23fd448fc9bf82f5 -Author: Behdad Esfahbod -Date: Fri Jan 15 18:42:30 2021 -0700 - - Rename internal buffer var use - - Part of https://github.com/harfbuzz/harfbuzz/issues/1810 - - src/hb-ot-shape-complex-arabic.cc | 2 +- - src/hb-ot-shape-complex-hangul.cc | 2 +- - src/hb-ot-shape-complex-indic.hh | 4 ++-- - src/hb-ot-shape-complex-use.cc | 2 +- - src/hb-ot-shape-complex.hh | 4 ++-- - 5 files changed, 7 insertions(+), 7 deletions(-) - -commit 6a140ef570bc29aafc1078d16d5399fceadd476f -Author: Khaled Hosny -Date: Sun Jan 17 22:48:50 2021 +0200 - - [meson] Pin Cairo subproject 1.17.4 - - There is now a release with meson build support. - - subprojects/cairo.wrap | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit fb1b29cee4bdea6805f14a530cb2984185f0d3ac -Author: Khaled Hosny -Date: Sun Jan 17 22:55:12 2021 +0200 - - [ci] Fix msys2 breakage - - What package manger randomly changes package names without fallback! - - .github/workflows/msys2-ci.yml | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 3c5b7886ebeee112ba7d2f2f7d7e581981ab61b0 -Author: Behdad Esfahbod -Date: Fri Jan 15 19:26:04 2021 -0700 - - Revert "Avoid category duplication between C++ and Ragel" - - This reverts commit 67ea8133d3fa82b3365cd917fb266ba752f16169. - - Merged accidentally on https://github.com/harfbuzz/harfbuzz/pull/2726 - - src/Makefile.sources | 2 - - src/gen-ragel-artifacts.py | 2 +- - src/hb-ot-shape-complex-indic-category.hh | 89 ------------------------------ - src/hb-ot-shape-complex-indic-machine.hh | 36 ++++++------ - src/hb-ot-shape-complex-indic-machine.rl | 19 ++++++- - src/hb-ot-shape-complex-indic.hh | 36 +++++++++++- - src/hb-ot-shape-complex-khmer-machine.hh | 22 ++++---- - src/hb-ot-shape-complex-khmer-machine.rl | 17 +++++- - src/hb-ot-shape-complex-khmer.hh | 29 +++++++--- - src/hb-ot-shape-complex-myanmar-machine.hh | 22 ++++---- - src/hb-ot-shape-complex-myanmar-machine.rl | 31 ++++++++++- - src/hb-ot-shape-complex-myanmar.hh | 32 +++++++++-- - src/hb-ot-shape-complex-use-category.hh | 87 ----------------------------- - src/hb-ot-shape-complex-use-machine.hh | 34 ++++++------ - src/hb-ot-shape-complex-use-machine.rl | 45 ++++++++++++++- - src/hb-ot-shape-complex-use.hh | 53 +++++++++++++++++- - src/meson.build | 2 - - 17 files changed, 299 insertions(+), 259 deletions(-) - -commit 67ea8133d3fa82b3365cd917fb266ba752f16169 -Author: David Corbett -Date: Sat Oct 17 14:37:22 2020 -0400 - - Avoid category duplication between C++ and Ragel - - src/Makefile.sources | 2 + - src/gen-ragel-artifacts.py | 2 +- - src/hb-ot-shape-complex-indic-category.hh | 89 ++++++++++++++++++++++++++++++ - src/hb-ot-shape-complex-indic-machine.hh | 36 ++++++------ - src/hb-ot-shape-complex-indic-machine.rl | 19 +------ - src/hb-ot-shape-complex-indic.hh | 36 +----------- - src/hb-ot-shape-complex-khmer-machine.hh | 22 ++++---- - src/hb-ot-shape-complex-khmer-machine.rl | 17 +----- - src/hb-ot-shape-complex-khmer.hh | 29 +++------- - src/hb-ot-shape-complex-myanmar-machine.hh | 22 ++++---- - src/hb-ot-shape-complex-myanmar-machine.rl | 31 +---------- - src/hb-ot-shape-complex-myanmar.hh | 32 ++--------- - src/hb-ot-shape-complex-use-category.hh | 87 +++++++++++++++++++++++++++++ - src/hb-ot-shape-complex-use-machine.hh | 34 ++++++------ - src/hb-ot-shape-complex-use-machine.rl | 45 +-------------- - src/hb-ot-shape-complex-use.hh | 53 +----------------- - src/meson.build | 2 + - 17 files changed, 259 insertions(+), 299 deletions(-) - -commit c8c5e52aba904cfede1c7e8e1043a392053938e6 -Author: David Corbett -Date: Mon Jan 4 20:31:12 2021 -0500 - - [use] Update overrides to 2021-01-04 - - This uses the data files from - . - - src/hb-ot-shape-complex-use-table.cc | 2 +- - src/ms-use/IndicSyllabicCategory-Additional.txt | 1 - - 2 files changed, 1 insertion(+), 2 deletions(-) - -commit 1fb7f3bda6de03279e2971086b6935a0970f4b98 -Author: Khaled Hosny -Date: Thu Dec 31 03:03:48 2020 +0200 - - [docs] Document various HB_SCRIPT_* - - Need to have something for all of them to keep GTK-Doc happy. - - src/hb-common.h | 500 ++++++++++++++++++++++++++++++++++++-------------------- - 1 file changed, 326 insertions(+), 174 deletions(-) - -commit ea0907abf938f787ebfc0c41f439d1e2b2ef98ba -Author: Khaled Hosny -Date: Thu Dec 31 02:34:45 2020 +0200 - - [docs] Document version macros - - src/hb-version.h | 29 +++++++++++++++++++++++++++++ - src/hb-version.h.in | 29 +++++++++++++++++++++++++++++ - 2 files changed, 58 insertions(+) - -commit 5e9f05ff3f7dad07ba593f4a38989e0d90311b36 -Author: Khaled Hosny -Date: Thu Dec 31 02:23:55 2020 +0200 - - [docs] Expand memory modes docs - - Per Behdad suggestions. - - src/hb-blob.h | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -commit 5151c2b668e76eac73a044c478319887e3fa9acb -Author: Khaled Hosny -Date: Thu Dec 31 00:28:27 2020 +0200 - - [introspection] Replace deprecated allow-none - - Use optional or nullable as appropriate. - - src/hb-aat-layout.cc | 2 +- - src/hb-buffer-serialize.cc | 16 ++++++++-------- - src/hb-ot-layout.cc | 32 ++++++++++++++++---------------- - src/hb-ot-name.cc | 8 ++++---- - src/hb-ot-tag.cc | 14 +++++++------- - src/hb-ot-var.cc | 6 +++--- - src/hb-shape.cc | 6 +++--- - 7 files changed, 42 insertions(+), 42 deletions(-) - -commit a64d56a3e5c7ecc0f0ecc491987487b9481dbdbc -Author: Khaled Hosny -Date: Thu Dec 31 00:27:49 2020 +0200 - - [introspection] nullable is for pointers - - src/hb-font.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 9936490c04e9333f4c3360312c4431a3e14468b8 -Author: Khaled Hosny -Date: Thu Dec 31 00:19:29 2020 +0200 - - [docs] Invalid use of "optional" annotation - - It is valid only for out and inout parameters. - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1787 - - src/hb-blob.cc | 4 ++-- - src/hb-buffer.cc | 4 ++-- - src/hb-deprecated.h | 6 +++--- - src/hb-face.cc | 4 ++-- - src/hb-font.cc | 12 ++++++------ - src/hb-font.h | 32 ++++++++++++++++---------------- - src/hb-ft.cc | 4 ++-- - src/hb-map.cc | 2 +- - src/hb-set.cc | 2 +- - src/hb-shape-plan.cc | 2 +- - src/hb-unicode.cc | 2 +- - src/hb-unicode.h | 12 ++++++------ - 12 files changed, 43 insertions(+), 43 deletions(-) - -commit bf5b4b71c589e8cbe1a528b1091229825c6fec77 -Author: Khaled Hosny -Date: Thu Dec 31 00:38:47 2020 +0200 - - [docs] Duplicated documentation - - src/hb-unicode.h | 28 ---------------------------- - 1 file changed, 28 deletions(-) - -commit 3d7a3616485e7d0ad8389547ab607234eb6ec11d -Author: Khaled Hosny -Date: Wed Dec 30 23:58:37 2020 +0200 - - [docs] Miscellaneous missing docs - - docs/harfbuzz-sections.txt | 3 +-- - src/hb-blob.h | 8 ++++---- - src/hb-coretext.cc | 2 +- - src/hb-directwrite.cc | 4 ++++ - src/hb-face.cc | 2 +- - src/hb-face.h | 13 +++++++++++++ - src/hb-gdi.cc | 2 ++ - src/hb-map.h | 6 +++++- - src/hb-ot-deprecated.h | 7 +++++++ - src/hb-ot-meta.cc | 4 +++- - src/hb-ot-var.h | 26 ++++++++++++++++---------- - src/hb-set.h | 6 +++++- - 12 files changed, 62 insertions(+), 21 deletions(-) - -commit a31a51cdec8cab763e7b29c42d161381c652d32d -Author: Khaled Hosny -Date: Wed Dec 30 23:48:25 2020 +0200 - - [docs] Complete hb-ft docs a bit - - src/hb-ft.cc | 18 +++++++++--------- - 1 file changed, 9 insertions(+), 9 deletions(-) - -commit 8c492d5c321ceee19102986e3eb2733bb5e6c5d7 -Author: Khaled Hosny -Date: Wed Dec 30 23:47:33 2020 +0200 - - [docs] Complete hb-ot-math docs a bit - - src/hb-ot-deprecated.h | 7 +++++++ - src/hb-ot-math.h | 22 +++++++++++++++++++++- - 2 files changed, 28 insertions(+), 1 deletion(-) - -commit 3f7ffd1b3d0bff1c641e5adf47de9be1925aa897 -Author: Khaled Hosny -Date: Wed Dec 30 23:46:13 2020 +0200 - - [docs] Complete hb-unicode docs a bit - - src/hb-deprecated.h | 33 ++++++++++++++++++++++----------- - src/hb-unicode.cc | 2 +- - src/hb-unicode.h | 4 +++- - 3 files changed, 26 insertions(+), 13 deletions(-) - -commit 2fdab788ad20ae6256542afe0d856b63b5cfc0e2 -Author: Khaled Hosny -Date: Wed Dec 30 23:44:30 2020 +0200 - - [docs] Complete hb-buffer docs a bit - - src/hb-buffer-serialize.cc | 32 +++++++++++++++----------- - src/hb-buffer.cc | 32 +++++++++++++------------- - src/hb-buffer.h | 57 ++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-deprecated.h | 10 ++++++++ - 4 files changed, 102 insertions(+), 29 deletions(-) - -commit 492a5a9096cc36f6d1860f576ccf09b6117e86b5 -Author: Khaled Hosny -Date: Wed Dec 30 23:42:49 2020 +0200 - - [docs] Complete hb-aat docs a bit - - src/hb-aat-layout.cc | 14 ++++----- - src/hb-aat-layout.h | 88 ++++++++++++++++++++++++++++------------------------ - 2 files changed, 55 insertions(+), 47 deletions(-) - -commit 3a012cc469d22b9889907a79717524e983ac95b7 -Author: Khaled Hosny -Date: Wed Dec 30 23:40:25 2020 +0200 - - [docs] Complete hb-metrics docs a bit - - src/hb-ot-metrics.cc | 31 ++++++++++++++++++++----------- - src/hb-ot-metrics.h | 3 ++- - 2 files changed, 22 insertions(+), 12 deletions(-) - -commit 5a55b31a383deadc3d479f83a6122cca821765eb -Author: Khaled Hosny -Date: Wed Dec 30 23:39:08 2020 +0200 - - [docs] Complete hb-shape-plan docs a bit - - src/hb-shape-plan.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 8e8c3e5878028f4fba783bb92e25e03db662c664 -Author: Khaled Hosny -Date: Wed Dec 30 23:37:49 2020 +0200 - - [docs] Complete hb-ot-layout docs a bit - - docs/harfbuzz-sections.txt | 2 ++ - src/hb-ot-layout.cc | 59 ++++++++++++++++++++++++++++------------------ - src/hb-ot-layout.h | 51 ++++++++++++++++++++++++++++++++++++++- - src/hb-ot-tag.cc | 15 ++++++++++-- - 4 files changed, 101 insertions(+), 26 deletions(-) - -commit 5b7b730d4b94b33a9915e5fa0908e84e343aae41 -Author: Khaled Hosny -Date: Mon Dec 28 05:23:26 2020 +0200 - - [docs] Complete hb-color docs a bit - - src/hb-ot-color.h | 4 ++++ - 1 file changed, 4 insertions(+) - -commit aa107e657b7940506548d003d5fda1510e8dfefa -Author: Khaled Hosny -Date: Wed Dec 30 23:34:17 2020 +0200 - - [docs] Complete hb-font docs a bit - - docs/harfbuzz-sections.txt | 4 +- - src/hb-deprecated.h | 37 +++++++++++-- - src/hb-font.cc | 28 +++++++--- - src/hb-font.h | 135 +++++++++++++++++++++++++++++++++++++++++---- - 4 files changed, 179 insertions(+), 25 deletions(-) - -commit 9b602e8e22d399d494f4e0a0eb22b2b4ea0d4a6a -Author: Khaled Hosny -Date: Wed Dec 30 23:28:54 2020 +0200 - - [docs] Complete hb-common docs a bit - - docs/harfbuzz-docs.xml | 3 + - src/hb-common.cc | 30 ++++++- - src/hb-common.h | 239 ++++++++++++++++--------------------------------- - 3 files changed, 107 insertions(+), 165 deletions(-) - -commit 53ed5597b2a0615299aa52e36e75a93437f9844a -Author: Khaled Hosny -Date: Wed Dec 30 23:11:33 2020 +0200 - - [docs] Add missing API indices - - docs/harfbuzz-docs.xml | 5 +++++ - 1 file changed, 5 insertions(+) - -commit c9c3b3c94c4dc8e8bd1af723de287b49c8acbf42 -Author: Khaled Hosny -Date: Wed Dec 30 23:09:59 2020 +0200 - - [docs] Use correct syntax - - src/hb-blob.cc | 2 +- - src/hb-set.cc | 12 ++++++------ - 2 files changed, 7 insertions(+), 7 deletions(-) - -commit a8e72ee7842bb0f7cff9d3b703d335215cfbc1af -Author: Khaled Hosny -Date: Wed Dec 30 23:08:40 2020 +0200 - - [docs] Use %true and %false consistently - - src/hb-aat-layout.cc | 6 +++--- - src/hb-blob.cc | 2 +- - src/hb-common.cc | 4 ++-- - src/hb-face.cc | 2 +- - src/hb-font.cc | 32 ++++++++++++++++---------------- - src/hb-map.cc | 4 ++-- - src/hb-ot-color.cc | 8 ++++---- - src/hb-ot-layout.cc | 32 ++++++++++++++++---------------- - src/hb-ot-math.cc | 4 ++-- - src/hb-ot-var.cc | 4 ++-- - src/hb-sanitize.hh | 2 +- - src/hb-set.cc | 16 ++++++++-------- - src/hb-unicode.cc | 6 +++--- - src/hb-unicode.h | 8 ++++---- - 14 files changed, 65 insertions(+), 65 deletions(-) - -commit a3fe43a41024f197936a12a62515c43a03a7c810 -Author: Khaled Hosny -Date: Wed Dec 30 21:58:43 2020 +0200 - - [docs] Hide private enum values - - "/*< skip >*/" does not seem to hide them. - - src/hb-ot-layout.h | 1 + - src/hb-ot-meta.h | 1 + - src/hb-ot-metrics.h | 1 + - src/hb-ot-var.h | 1 + - src/hb-style.cc | 1 + - 5 files changed, 5 insertions(+) - -commit b8e6f17eed5eec3715e9d16f7f3db4c352f6d312 -Author: Khaled Hosny -Date: Sun Dec 27 15:03:57 2020 +0200 - - [docs] Move note about harfbuzz-old to proper place - - Commit 443f87213272be5ae0579dce4749b2036dfe3815 seems to have moved it - to the API part by mistake. - - docs/harfbuzz-docs.xml | 60 ++++++++++++++++++++++++-------------------------- - 1 file changed, 29 insertions(+), 31 deletions(-) - -commit e93de6362b2388a3f11fa5cfa4f699d805c61c5d -Author: Khaled Hosny -Date: Sun Dec 27 00:57:29 2020 +0200 - - [docs] Document unused language in get_baseline - - Document that language_tag in hb_ot_layout_get_baseline() is currently - unused. - - Fixes https://github.com/harfbuzz/harfbuzz/issues/2662 - - src/hb-ot-layout.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit c7b2e64c6d9e2f9b130c8fd581f0e5a67021b76d -Author: Khaled Hosny -Date: Sun Dec 27 00:53:23 2020 +0200 - - [docs] make it clear that FT_Face must have size - - Fixes https://github.com/harfbuzz/harfbuzz/issues/2590 - - src/hb-ft.cc | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 4136ecf74149c533f9a31e039d67e9a234e1f9ce -Author: Khaled Hosny -Date: Sun Dec 27 00:22:31 2020 +0200 - - [docs] Don’t use FreeType in the simple example - - Also make the code actually compile. - - Fixes https://github.com/harfbuzz/harfbuzz/issues/2106 - - docs/usermanual-getting-started.xml | 31 ++++++++++++++++++------------- - 1 file changed, 18 insertions(+), 13 deletions(-) - -commit bfe4bbfc05319400572dd4547b093f7bcae7eba2 -Author: Khaled Hosny -Date: Sun Dec 27 18:38:54 2020 +0200 - - [docs] Older GTK-Doc does not support HB_DEPRECATED_FOR() at all - - Fixes CI build failure. - - docs/Makefile.am | 2 +- - docs/meson.build | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit 4161146e62f7fae28afc42c297e824d298741bb3 -Author: Khaled Hosny -Date: Sun Dec 27 18:27:19 2020 +0200 - - [docs] Fix generated docs for deprecated symbols - - Without ignoring HB_DEPRECATED, most deprecated symbols get missing from - documentation. Ignoring HB_DEPRECATED_FOR does not work, but this seems - to be a GTK-Doc bug. - - docs/Makefile.am | 2 +- - docs/meson.build | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit 7236c7e29cef1c2d76c7a284c5081ff4d3aa1127 -Author: Khaled Hosny -Date: Sun Dec 27 01:59:00 2020 +0200 - - 2.7.4 - - NEWS | 7 +++++++ - configure.ac | 2 +- - meson.build | 2 +- - src/hb-version.h | 4 ++-- - 4 files changed, 11 insertions(+), 4 deletions(-) - -commit 6808b1fb3075990c389e3a2e80cee8c4874a8f6f -Merge: 010bd5404 e8c15b7a1 -Author: Khaled Hosny -Date: Sun Dec 27 01:55:15 2020 +0200 - - Merge pull request #2781 from harfbuzz/g-i-dist - - [ci] Install gobject-introspection on distcheck job - -commit e8c15b7a1cd2c2174658e221193bb83d1ca4c635 -Author: Khaled Hosny -Date: Sat Dec 26 23:05:48 2020 +0200 - - [ci] Install gobject-introspection on distcheck job - - To fix missing --enable-introspection from release tarballs. - - Fixes https://github.com/harfbuzz/harfbuzz/issues/2779 - - .circleci/config.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 010bd5404008e45bb23ff63613551a03e3b60f58 -Merge: 462b71eaf fdf3e448f -Author: Khaled Hosny -Date: Sat Dec 26 01:17:27 2020 +0200 - - Merge pull request #2777 from harfbuzz/docs-unicode - - [docs] Improve hb-unicode docs a bit - -commit 462b71eaf3aff628cc50554f2ebcb78e27262e39 -Merge: 954167143 22468c8a9 -Author: Khaled Hosny -Date: Sat Dec 26 01:16:32 2020 +0200 - - Merge pull request #1676 from n8willis/docs-gtkdoc-core - - [Docs] Add gtkdoc comments for low-level core APIs - -commit 22468c8a9046d03751039ae82626c780c74fdc66 -Author: Khaled Hosny -Date: Thu Dec 24 22:38:06 2020 +0200 - - [docs] Give destroy callbacks have (optional) annotation - - src/hb-blob.cc | 4 ++-- - src/hb-font.h | 30 +++++++++++++++--------------- - src/hb-ft.cc | 2 +- - src/hb-map.cc | 2 +- - src/hb-set.cc | 2 +- - src/hb-shape-plan.cc | 2 +- - src/hb-unicode.cc | 2 +- - src/hb-unicode.h | 12 ++++++------ - 8 files changed, 28 insertions(+), 28 deletions(-) - -commit 35c4a15a676beb6d9198e2a9b7f06ac5ab669b2c -Author: Khaled Hosny -Date: Thu Dec 24 22:34:02 2020 +0200 - - [docs] Update hb-font documentation - - src/hb-font.cc | 20 +++++++++++--------- - 1 file changed, 11 insertions(+), 9 deletions(-) - -commit 8586f15957ac593aad786ad839b49596e45c0fa8 -Author: Khaled Hosny -Date: Thu Dec 24 22:23:47 2020 +0200 - - [docs] Update hb-common documentation - - src/hb-common.cc | 5 +++-- - src/hb-common.h | 16 +++++++--------- - 2 files changed, 10 insertions(+), 11 deletions(-) - -commit e8c21e003dfe84a2b8c8801821176575bfa7bbb4 -Author: Khaled Hosny -Date: Thu Dec 24 21:56:31 2020 +0200 - - [docs] Remove comments the duplicate docs - - src/hb-font.h | 14 +++++++------- - 1 file changed, 7 insertions(+), 7 deletions(-) - -commit ff96f73f8f62344fc9d0c557bcc79cd6c2d0b95f -Author: Khaled Hosny -Date: Thu Dec 24 21:53:11 2020 +0200 - - [docs] Add some missing API to harfbuzz-sections.txt - - docs/harfbuzz-sections.txt | 2 ++ - 1 file changed, 2 insertions(+) - -commit cb319f0d80ab76da00c7263a7e0a433558fa73a2 -Author: Khaled Hosny -Date: Thu Dec 24 21:47:05 2020 +0200 - - [docs] Add some missing annotations to hb-buffer.cc - - src/hb-buffer.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 9af0edd9511cdba61ad3bd2ce23eb789e9eb58fe -Author: Khaled Hosny -Date: Thu Dec 24 21:40:41 2020 +0200 - - [docs] Document return value of hb_blob_get_data() - - src/hb-blob.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit f88e845fc789cb1af3956b53b749987af8d6adc8 -Author: Khaled Hosny -Date: Thu Dec 24 21:28:37 2020 +0200 - - [docs] Minor fixes - - src/hb-blob.cc | 6 +++--- - src/hb-buffer.cc | 4 ++-- - src/hb-face.cc | 2 +- - src/hb-font.cc | 2 +- - src/hb-map.cc | 2 +- - src/hb-set.cc | 2 +- - src/hb-unicode.cc | 2 +- - 7 files changed, 10 insertions(+), 10 deletions(-) - -commit 82092d4005aa1ce38e069b43d35282089af4ea79 -Author: Nathan Willis -Date: Mon Apr 22 15:31:24 2019 +0100 - - [docs] Update gtk-doc comments in hb-font - - src/hb-font.cc | 623 +++++++++++++++++++++++++++++++++++---------------------- - src/hb-font.h | 371 ++++++++++++++++++++++++++-------- - 2 files changed, 679 insertions(+), 315 deletions(-) - -commit e8de26e1ef7b4486ff7b13aadb89c06300f1b705 -Author: Nathan Willis -Date: Sun Apr 21 20:31:54 2019 +0100 - - [docs] Add gtkdoc comments to hb-buffer - - src/hb-buffer.cc | 235 +++++++++++++++++++++++++++++-------------------------- - src/hb-buffer.h | 17 ++++ - 2 files changed, 139 insertions(+), 113 deletions(-) - -commit d13b7eaaf18e772387ce25e899e2b3d4252c9e96 -Author: Nathan Willis -Date: Sun Apr 21 20:31:31 2019 +0100 - - [docs] Add gtkdoc comments to hb-blob - - src/hb-blob.cc | 48 +++++++++++++++++++++++++++--------------------- - src/hb-blob.h | 35 ++++++++++++++++++++++++++--------- - 2 files changed, 53 insertions(+), 30 deletions(-) - -commit 4cdb12a3fa804392ec93e29633235f9552a4e106 -Author: Nathan Willis -Date: Sun Apr 21 20:31:09 2019 +0100 - - [docs] Add gtkdoc comments to hb-common - - src/hb-common.cc | 82 +++++++++------- - src/hb-common.h | 295 +++++++++++++++++++++++++++++++++++++++++++++++++++++-- - 2 files changed, 337 insertions(+), 40 deletions(-) - -commit 922c32eb2df9bfedc15420ceef99f35c6be07e12 -Author: Nathan Willis -Date: Sun Apr 21 20:30:54 2019 +0100 - - [docs] Add gtkdoc comments to hb-map - - src/hb-map.cc | 87 ++++++++++++++++++++++++++++++++++++----------------------- - src/hb-map.h | 6 +++++ - 2 files changed, 60 insertions(+), 33 deletions(-) - -commit 71af2c6d9b58213963577a01c97dc9dc021dc6b7 -Author: Nathan Willis -Date: Sun Apr 21 20:30:36 2019 +0100 - - [docs] Add gtkdoc comments to hb-set - - src/hb-set.cc | 207 ++++++++++++++++++++++++++++++++-------------------------- - src/hb-set.h | 9 +++ - 2 files changed, 124 insertions(+), 92 deletions(-) - -commit ec98730ff69a744955c5d98aa38078eb0bb8fd24 -Author: Nathan Willis -Date: Wed Apr 17 14:44:25 2019 +0100 - - [docs] regularize whitespace in function params - - src/hb-font.cc | 563 ++++++++++++++++++++++++++++++--------------------------- - 1 file changed, 295 insertions(+), 268 deletions(-) - -commit fdf3e448fdf92385675e64563b0489d8aea2e1b8 -Author: Khaled Hosny -Date: Thu Dec 24 00:41:45 2020 +0200 - - [docs] Improve hb-unicode docs a bit - - Down to only one warning. - - src/hb-unicode.h | 80 ++++++++++++++++++++++++++++++++++++++++---------------- - 1 file changed, 58 insertions(+), 22 deletions(-) - -commit 0fd6144a5fd0de86c509e35a552105faca458fb2 -Author: Khaled Hosny -Date: Thu Dec 24 00:10:27 2020 +0200 - - [docs] Fix warnings about unknown annotations - - Use square brackets so that gtk-doc does not consider these to be - annotations. - - src/hb-unicode.h | 168 +++++++++++++++++++++++++++---------------------------- - 1 file changed, 84 insertions(+), 84 deletions(-) - -commit 954167143befde8366150dcb885f50a9e64346a3 -Merge: 8560c3e35 71a3b54f3 -Author: Khaled Hosny -Date: Wed Dec 23 23:04:17 2020 +0200 - - Merge pull request #2776 from harfbuzz/release - - 2.7.3 - -commit 71a3b54f3c6c6fba52a2f99e6a9258c62b5104cd -Author: Khaled Hosny -Date: Wed Dec 23 15:33:15 2020 +0200 - - 2.7.3 - - NEWS | 23 +++++++++++++++++++++++ - configure.ac | 2 +- - meson.build | 2 +- - src/hb-buffer.cc | 2 +- - src/hb-version.h | 4 ++-- - 5 files changed, 28 insertions(+), 5 deletions(-) - -commit 8560c3e355dbfd199fbd9e7052151c40a9039b29 -Merge: 769a21aab 296e9d7f3 -Author: Behdad Esfahbod -Date: Wed Dec 23 00:25:10 2020 -0800 - - Merge pull request #2774 from harfbuzz/misc-doc - - Doc fixes - -commit 769a21aab6a2b1c43cc10d56de3861a3add723de -Author: Ryan -Date: Wed Dec 23 02:31:03 2020 -0500 - - meson: avoid regenerating hb-version.h unnecessarily - - The file is a dependency for the library as a whole, so previously editing the Meson build files at all would force a full rebuild. This will only rebuild it if the version has changed. - - src/gen-hb-version.py | 11 ++++++++++- - 1 file changed, 10 insertions(+), 1 deletion(-) - -commit 296e9d7f33fb314d0bd4e0dad5a85f60aefdade9 -Author: Khaled Hosny -Date: Wed Dec 23 01:18:10 2020 +0200 - - [ci] Install fonttools using pip on msys2 - - Hopefully fixes the broken package. - - .github/workflows/msys2-ci.yml | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -commit 3dba7ea93638df814b93d75d31ad3da24605704d -Author: Khaled Hosny -Date: Wed Dec 23 00:55:21 2020 +0200 - - [docs] Add missing API index for 1.4.0 release - - docs/harfbuzz-docs.xml | 1 + - 1 file changed, 1 insertion(+) - -commit c2e2c40bacb296526e1b395a957af0e13da4486f -Author: Khaled Hosny -Date: Wed Dec 23 00:49:23 2020 +0200 - - [docs] Fix gtk-doc comment syntax - - The documentation was not picked otherwise. - - src/hb-aat-layout.cc | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 0826940821e9b8068b0341dae4d3ea237df86aa2 -Author: Khaled Hosny -Date: Wed Dec 23 00:45:39 2020 +0200 - - [docs] Add messing sections - - Docs for these sections were not generated at all. - - docs/harfbuzz-docs.xml | 4 ++++ - src/hb-directwrite.cc | 9 +++++++++ - src/hb-gdi.cc | 10 ++++++++++ - src/hb-ot-metrics.cc | 9 +++++++++ - 4 files changed, 32 insertions(+) - -commit b8b13018edc4115e9857d7871d254c5737f90046 -Author: Khaled Hosny -Date: Wed Dec 23 00:22:56 2020 +0200 - - [docs] Make gtk-doc find these typedef’s - - src/hb-aat-layout.h | 3 +-- - src/hb-buffer.h | 3 +-- - src/hb-font.h | 6 ++---- - src/hb-ot-color.h | 3 +-- - src/hb-ot-deprecated.h | 3 +-- - src/hb-ot-name.h | 3 +-- - src/hb-ot-var.h | 3 +-- - 7 files changed, 8 insertions(+), 16 deletions(-) - -commit 8c3a530fd7aa832215b84f4f38d58f58ac8a5832 -Author: Khaled Hosny -Date: Tue Dec 22 23:52:46 2020 +0200 - - [docs] Some formatting fixes - - src/hb-buffer-serialize.cc | 10 ++++++---- - 1 file changed, 6 insertions(+), 4 deletions(-) - -commit b029a45caa6067c752643e49b30233a74a8be721 -Author: Khaled Hosny -Date: Tue Dec 22 23:32:48 2020 +0200 - - [docs] Add new API to harfbuzz-sections.txt - - docs/harfbuzz-docs.xml | 1 + - docs/harfbuzz-sections.txt | 3 +++ - 2 files changed, 4 insertions(+) - -commit ea4476d7389b8b5d30f1d969787c752856c32088 -Author: Khaled Hosny -Date: Mon Dec 21 17:44:03 2020 +0200 - - [autotools] Don’t fallback to icu-config - - ICU pkg-config support have been available for a long time, and - icu-config often breaks cross-compiling when the one from host system is - found. - - configure.ac | 19 ------------------- - 1 file changed, 19 deletions(-) - -commit 2953a66ab685957f57e52fb45f42445030d41e06 -Author: Chun-wei Fan -Date: Wed Dec 9 12:24:18 2020 +0800 - - CMake: Define HAVE_GOBJECT when harfbuzz-gobject is built - - Without this, the built library for harfbuzz-gobject is unuseful. - - CMakeLists.txt | 1 + - 1 file changed, 1 insertion(+) - -commit 25c0a792e3c2642e3796e0428fb315da9dc2618e -Author: Behdad Esfahbod -Date: Thu Dec 10 14:29:47 2020 -0700 - - Remove unused+wrong UnsizedArrayOf<> operators - - Said compiler is wrong to err since they are unused. But yeah, they - didn't make sense and were copy/paste leftover. - - Fixes https://github.com/harfbuzz/harfbuzz/issues/2763 - - src/hb-open-type.hh | 2 -- - 1 file changed, 2 deletions(-) - -commit 07e304b2a488261a89e74f396902399cb28f5608 -Merge: 7c241651a 5f32fdff1 -Author: Khaled Hosny -Date: Tue Dec 1 22:32:19 2020 +0200 - - Merge pull request #2755 from Myaamori/master - - meson: use meson.current_source_dir() instead of @CURRENT_SOURCE_DIR@ - -commit 7c241651ac3c8a4d97a0a04d4db5bd0088988ed9 -Author: Behdad Esfahbod -Date: Mon Nov 30 16:38:53 2020 -0700 - - [algs] Don't forward rvalue twice - - Part of https://github.com/harfbuzz/harfbuzz/issues/2293 - - src/hb-algs.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 53806e5b83cee0e275eac038d0780f95ac56588c -Author: Behdad Esfahbod -Date: Wed Nov 25 11:51:37 2020 -0700 - - Tiny improvement on previous commit - - Functionally the same. - - src/hb-blob.hh | 1 + - src/hb-null.hh | 1 + - src/hb-ot-layout-gsubgpos.hh | 2 +- - 3 files changed, 3 insertions(+), 1 deletion(-) - -commit a5f6f869e80c371665026dfe9d156f0088f2553d -Author: Dominik Röttsches -Date: Fri Oct 23 14:25:05 2020 +0300 - - Drop layout table if layout lookup accelerator allocation failed - - If the table is kept, when the table is present but only the accelerator - allocation failed, then we run into nullptr dereferences downstream in - hb_ot_map_t::apply when trying to access proxy.accels[i]. - - To fix this, instead of only setting lookup_count of accelerator_t - itself, drop the whole table to avoid hb-ot-map construction assuming - that the lookups will work correctly despite accelerator allocation - having failed. - - Fixes: - https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=24490 - https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=24490 - - src/hb-ot-layout-gsubgpos.hh | 4 ++++ - 1 file changed, 4 insertions(+) - -commit 5f32fdff11bca45ca842dea583f1afd51a6435b9 -Author: Myaamori -Date: Tue Nov 24 01:29:24 2020 +0000 - - meson: use meson.current_source_dir() instead of @CURRENT_SOURCE_DIR@ - - @CURRENT_SOURCE_DIR@ is not listed as a valid string substitution - for custom targets in the Meson reference, and in practice - it does not get substituted when using the vs2019 backend. - - src/meson.build | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit b2e7bb2a7caa20af244b7452ec960f9957eb8bba -Author: David Corbett -Date: Tue Oct 27 19:50:33 2020 -0400 - - Don’t map BCP 47 to coincidentally similar OT tag - - src/gen-tag-table.py | 34 ++++++++--- - src/hb-ot-tag-table.hh | 163 +++++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-ot-tag.cc | 1 + - test/api/test-ot-tag.c | 4 ++ - 4 files changed, 194 insertions(+), 8 deletions(-) - -commit e1df2c5277a365d5e0c83d811f0b95f66428430b -Author: David Corbett -Date: Mon Oct 26 19:16:35 2020 -0400 - - Map ISO 639 code qul to language system tag 'QUH ' - - src/gen-tag-table.py | 1 + - src/hb-ot-tag-table.hh | 1 + - 2 files changed, 2 insertions(+) - -commit bac8a856f8ce034fde04f024065455c8b29bba5e -Author: Khaled Hosny -Date: Sat Nov 21 16:07:57 2020 +0200 - - Revert "[CI] Don’t install ragel on circleci jobs" - - This reverts commit 9a9da110a54ea03a0bdd1e64fa9ff7a2b98ba53c. - - .circleci/config.yml | 14 +++++++------- - 1 file changed, 7 insertions(+), 7 deletions(-) - -commit f579c66108d4b9d122213704078c998bc194d427 -Author: Khaled Hosny -Date: Sat Nov 21 16:06:27 2020 +0200 - - Mark variable unused - - Hopefully fixes build with newer ragel. - - https://github.com/adrian-thurston/ragel/issues/56 - - Fixes https://github.com/harfbuzz/harfbuzz/issues/2752 - - src/hb-ot-shape-complex-use-machine.hh | 2 +- - src/hb-ot-shape-complex-use-machine.rl | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit f83496a9101f764e4eaec2ce205d55aa4f78558f -Author: David Corbett -Date: Fri Nov 20 08:16:36 2020 -0500 - - [use] Remove workaround for reserved code points - - See . - - src/gen-use-table.py | 4 +--- - src/ms-use/IndicSyllabicCategory-Additional.txt | 5 ++++- - 2 files changed, 5 insertions(+), 4 deletions(-) - -commit 17da41bd06f2b993976379c8ab9287b485f58dee -Author: David Corbett -Date: Tue Nov 17 14:29:05 2020 -0500 - - Update language system tag registry to OT 1.8.4 - - src/gen-tag-table.py | 7 +- - src/hb-ot-tag-table.hh | 909 +++++++++++++++++++++++++++++++++++++------------ - test/api/test-ot-tag.c | 6 +- - 3 files changed, 704 insertions(+), 218 deletions(-) - -commit 385d9c08d8906002690a7fbff86c1592f5b627b9 -Merge: c4ade4fdd 9722b4b26 -Author: Khaled Hosny -Date: Tue Nov 17 19:43:22 2020 +0200 - - Merge pull request #2700 from xclaesse/cairo-ft - - meson: Fix cairo_ft_dep when fontconfig is a subproject - -commit 9722b4b269bda2d7e84c3164d69caa1324f8f8b3 -Author: Xavier Claessens -Date: Tue Nov 17 11:56:52 2020 -0500 - - Meson: Update all wrap files to latest version - - subprojects/expat.wrap | 19 +++++++++---------- - subprojects/fontconfig.wrap | 6 +++--- - subprojects/google-benchmark.wrap | 15 ++++++++------- - subprojects/libpng.wrap | 22 ++++++++++++---------- - subprojects/zlib.wrap | 17 ++++++++++++----- - 5 files changed, 44 insertions(+), 35 deletions(-) - -commit a082fe400d1c981e22061168299334c853ad85a6 -Author: Xavier Claessens -Date: Fri Nov 6 13:02:21 2020 -0500 - - ci: Install meson 0.56.0 in crossbuild-win32 - - It is required for using cairo as subproject. - - .circleci/config.yml | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit e2ba0e009e499e82b2922db7e58e91bc5f452d03 -Author: Xavier Claessens -Date: Sat Oct 3 21:34:24 2020 -0400 - - meson: Fix check for cairo and cairo-ft dependencies - - When cairo comes from a subproject fallback it should still take - cairo-ft dependency, otherwise it miss freetype2 cflags. - - Also update wrap file to use upstream repository now that meson support - has been merged. - - This requires Meson >= 0.54.0 because cairo itself requires that version - and we use the new `fallback: 'cairo'` syntax without specifying a - variable name because cairo does not provide a variable name for - cairo-ft. - - meson.build | 37 +++++++++++++++++-------------------- - subprojects/cairo.wrap | 4 ++-- - 2 files changed, 19 insertions(+), 22 deletions(-) - -commit c4ade4fdd681b59c0694b7422d7a123fd1e9e6b8 -Merge: e6c21d7b5 fd8f4ffcc -Author: Khaled Hosny -Date: Tue Nov 17 14:32:04 2020 +0200 - - Merge pull request #2686 from simoncozens/more-tracing - - More tracing - -commit fd8f4ffcc6851ff9024957779be50411e87724d5 -Author: Simon Cozens -Date: Fri Sep 18 16:37:22 2020 +0100 - - Trace reorder, not normalize - - src/hb-ot-shape-normalize.cc | 3 ++- - src/hb-ot-shape.cc | 5 +---- - 2 files changed, 3 insertions(+), 5 deletions(-) - -commit 2e0193d7417d1134e1710bf3fa7690332bc561e0 -Author: Simon Cozens -Date: Fri Sep 18 16:28:29 2020 +0100 - - Add more cast spaces - - src/hb-ot-shape.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 4bb6d54e3bd16ae42364587f9703128b95de89de -Author: Simon Cozens -Date: Fri Sep 18 16:26:08 2020 +0100 - - Missing cast - - src/hb-ot-shape-complex-indic.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 8e1bedc50b13d19e1fb3c0fbb0cfa6d87f042f51 -Author: Simon Cozens -Date: Fri Sep 18 16:25:43 2020 +0100 - - Keep phase names - - src/hb-ot-shape.cc | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 428c111f1389e3ebf8b694f342ffdc011f2ee043 -Author: Simon Cozens -Date: Fri Sep 18 16:24:47 2020 +0100 - - Fix spacing around casts - - src/hb-ot-layout.cc | 4 ++-- - src/hb-ot-shape-complex-indic.cc | 2 +- - src/hb-ot-shape-complex-khmer.cc | 2 +- - src/hb-ot-shape-complex-myanmar.cc | 2 +- - src/hb-ot-shape-complex-use.cc | 2 +- - 5 files changed, 6 insertions(+), 6 deletions(-) - -commit f19018da412cf0949748dc8ba80e1a0a376238af -Author: Simon Cozens -Date: Thu Sep 17 15:08:32 2020 +0100 - - Smaller issues from review - - src/hb-ot-shape-complex-indic.cc | 12 ++++++------ - src/hb-ot-shape-complex-myanmar.cc | 2 +- - src/hb-ot-shape.cc | 6 +++--- - 3 files changed, 10 insertions(+), 10 deletions(-) - -commit 8b3b835a0aaf7b21825ad87f0e0ab9efbff34dcc -Author: Simon Cozens -Date: Thu Sep 17 14:27:31 2020 +0100 - - Trace normalization and preprocessing stages - - src/hb-ot-shape.cc | 15 ++++++++++++--- - 1 file changed, 12 insertions(+), 3 deletions(-) - -commit b50099bff22f9add10e100b6ace5a063a574a066 -Author: Simon Cozens -Date: Thu Sep 17 14:25:30 2020 +0100 - - Trace reordering in pause functions - - src/hb-ot-shape-complex-indic.cc | 10 ++++++++-- - src/hb-ot-shape-complex-khmer.cc | 10 ++++++---- - src/hb-ot-shape-complex-myanmar.cc | 9 ++++++--- - src/hb-ot-shape-complex-use.cc | 10 +++++++--- - 4 files changed, 27 insertions(+), 12 deletions(-) - -commit e6c21d7b58224f483395a6c9355fe89d88aedd54 -Merge: 3bd43bd02 0c3dcfae1 -Author: Khaled Hosny -Date: Tue Nov 17 08:53:32 2020 +0200 - - Merge pull request #2692 from ffontaine/master - - src/meson.build: allow introspection when cross-compiling - -commit 0c3dcfae193efd8d5333c44075ba01932edc1059 -Merge: 2604201ae 3bd43bd02 -Author: Fabrice Fontaine -Date: Tue Nov 17 07:31:07 2020 +0100 - - Merge remote-tracking branch 'upstream/master' - -commit 3bd43bd023ab713781058f9ce5bcb7566ecb2d68 -Author: David Corbett -Date: Mon Nov 16 21:55:02 2020 -0500 - - Map more ISO 15924 variants to `hb_script_t`s - - src/hb-common.cc | 5 +++++ - 1 file changed, 5 insertions(+) - -commit 27170e058d2925ea05bf59f1ee8f56fb0bcb576a -Author: David Corbett -Date: Wed Oct 28 18:02:55 2020 -0400 - - Fix names for language tag in gen-tag-table.py - - A BCP 47 language tag with both a script subtag and a region subtag - would be printed as a human-readable name in hb-ot-tag-table.hh as if it - only had its language subtag. - - src/gen-tag-table.py | 18 +++---- - src/hb-ot-tag-table.hh | 126 ++++++++++++++++++++++++------------------------- - 2 files changed, 73 insertions(+), 71 deletions(-) - -commit 5091ea7e247b118009c719076650a93b3e2dde6d -Merge: 69cc214c9 07961daed -Author: Khaled Hosny -Date: Sat Oct 24 22:37:52 2020 +0200 - - Merge pull request #2733 from astiob/buffer-context-doc - - [docs] Describe buffer context applicability more explicitly - -commit 07961daed06d181615d8087b25122985c83760cc -Author: Oleg Oshmyan -Date: Sat Oct 24 21:58:02 2020 +0300 - - [docs] Describe buffer context applicability more explicitly - - Make it abundantly clear that the context's script etc. don't matter. - - Fixes https://github.com/harfbuzz/harfbuzz/issues/2730 - - docs/usermanual-buffers-language-script-and-direction.xml | 8 +++++--- - 1 file changed, 5 insertions(+), 3 deletions(-) - -commit 69cc214c9a47ec9f19bfe477149c6c68cff6a483 -Merge: 49ebb9ebd 5adc1344a -Author: Khaled Hosny -Date: Sat Oct 24 10:41:33 2020 +0200 - - Merge pull request #2729 from khaledhosny/autotools-pkg-config - - [autotools] Require pkg-config 0.28 - -commit 5adc1344a4c695ed655aabd02c8bfab114bb4d52 -Author: Khaled Hosny -Date: Fri Oct 23 18:39:34 2020 +0200 - - [ci] Upload meason logs on some CircleCI jobs - - .circleci/config.yml | 6 ++++++ - 1 file changed, 6 insertions(+) - -commit 71376f88ef07163f1330f1f54f9f479cd3a67306 -Author: Khaled Hosny -Date: Fri Oct 23 18:21:41 2020 +0200 - - [ci] CircleCI removed xcode:9.0.1 image - - The replacement run newer versions of macOS (10.13.3), making this job - obsolete as it tests nothing the other jobs don’t test. - - .circleci/config.yml | 12 ------------ - 1 file changed, 12 deletions(-) - -commit 05403a07b5accbc248064ec44fb884efeb811fa2 -Author: Khaled Hosny -Date: Fri Oct 23 17:24:29 2020 +0200 - - [autotools] Require pkg-config 0.28 - - Follow up 0615c7b64b63400b2a70a1a6dd8a57d0b0fff10c, which fixes #1565. - This seems to be the version that fixed the circular dependency, based - on the ChangeLog: - https://cgit.freedesktop.org/pkg-config/commit/?h=pkg-config-0.28&id=74ceac54ef6f9247c00f08eecd8cca811a3c5934 - - configure.ac | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 49ebb9ebdd689490c74da835a3fb829f14df6ed1 -Author: David Corbett -Date: Sat Oct 17 12:03:44 2020 -0400 - - [use] Remove redundant O entries from the table - - src/gen-use-table.py | 11 +++--- - src/hb-ot-shape-complex-use-table.cc | 69 ++++++++++++++++++------------------ - 2 files changed, 39 insertions(+), 41 deletions(-) - -commit 79fd5ce22e03d9db6553dadc0a5e3862b0bfa20d -Author: David Corbett -Date: Sat Oct 17 11:57:08 2020 -0400 - - [use] Merge IND and Rsv classes into O - - src/gen-use-table.py | 10 ++------- - src/hb-ot-shape-complex-use-machine.hh | 40 +++++++++++++++++----------------- - src/hb-ot-shape-complex-use-machine.rl | 6 ++--- - src/hb-ot-shape-complex-use-table.cc | 20 +++++++---------- - src/hb-ot-shape-complex-use.hh | 2 -- - 5 files changed, 32 insertions(+), 46 deletions(-) - -commit c2cdcd4901132ea7690bda655602d84e63505eb1 -Author: Khaled Hosny -Date: Sat Oct 17 21:57:27 2020 +0200 - - [tests] warning: unused variable 'num_glyphs' - - test/api/test-buffer.c | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit e25aa49a1bcd8f25eeda1846c7daf9b887571d84 -Author: David Corbett -Date: Sat Oct 17 12:32:41 2020 -0400 - - Fix a dead link in CMakeLists.txt - - CMakeLists.txt | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 9a9da110a54ea03a0bdd1e64fa9ff7a2b98ba53c -Author: Khaled Hosny -Date: Sat Oct 17 17:58:11 2020 +0200 - - [CI] Don’t install ragel on circleci jobs - - Latest ragel version is broken (https://github.com/adrian-thurston/ragel/issues/56), but we also don’t need to regenerate state machine on CI jobs. - - .circleci/config.yml | 16 ++++++++-------- - 1 file changed, 8 insertions(+), 8 deletions(-) - -commit cde2cf84c0d6515c701296351b9d5a80a41d78c5 -Author: Behdad Esfahbod -Date: Fri Oct 16 23:49:31 2020 -0600 - - [use] Minor clean-up of unused categories - - src/hb-ot-shape-complex-use-machine.hh | 34 +++++++++++++++++----------------- - src/hb-ot-shape-complex-use-machine.rl | 7 ------- - src/hb-ot-shape-complex-use.cc | 3 +-- - src/hb-ot-shape-complex-use.hh | 7 ------- - 4 files changed, 18 insertions(+), 33 deletions(-) - -commit 0792690b73010e24848fe82d5983ef01f38ed1fb -Author: David Corbett -Date: Fri Oct 16 22:41:12 2020 -0400 - - [use] Skip WJ and ZWJ when clustering - - src/gen-use-table.py | 13 +- - src/hb-ot-shape-complex-use-machine.hh | 580 ++++++++++----------- - src/hb-ot-shape-complex-use-machine.rl | 9 +- - src/hb-ot-shape-complex-use-table.cc | 8 +- - src/hb-ot-shape-complex-use.hh | 2 - - .../shaping/data/in-house/tests/use-syllable.tests | 2 + - 6 files changed, 272 insertions(+), 342 deletions(-) - -commit 3fcf466b7b77f8eaf281f7a1a4e6ca90b5be54fe -Author: Laurenz -Date: Fri Oct 16 23:03:01 2020 +0200 - - [hb-shape-fallback] Use signed int for correction - - src/hb-ot-shape-fallback.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 77e704d1dbfbdb6c54127112814b24358ec52eea -Author: Behdad Esfahbod -Date: Thu Oct 15 02:02:04 2020 -0600 - - [buffer] Add assert_unicode()/assert_glyphs() and use internally - - src/hb-buffer-serialize.cc | 13 ++++--------- - src/hb-buffer.cc | 10 ++++------ - src/hb-buffer.hh | 10 ++++++++++ - src/hb-shape-plan.cc | 3 ++- - 4 files changed, 20 insertions(+), 16 deletions(-) - -commit 5ef0613909b8223396f2342119d217e2f24aff26 -Author: Behdad Esfahbod -Date: Thu Oct 15 01:54:28 2020 -0600 - - [buffer] Add ensure_glyphs()/ensure_unicode() - - Use in deserialize. To be used more. - - src/hb-buffer-deserialize-json.hh | 1257 +++++++++++++----------------- - src/hb-buffer-deserialize-json.rl | 21 +- - src/hb-buffer-deserialize-text.hh | 1531 +++++++++++++++++-------------------- - src/hb-buffer-deserialize-text.rl | 21 +- - src/hb-buffer.hh | 23 + - 5 files changed, 1270 insertions(+), 1583 deletions(-) - -commit 84dd65a8740a91e58eaef43c0006ace3a3aa54a7 -Author: Khaled Hosny -Date: Tue Oct 13 20:21:28 2020 +0200 - - [test] Remove timeout from test runners - - See https://github.com/harfbuzz/harfbuzz/issues/2707#issuecomment-707744079 - - This wasn’t inconsistent as well, HB_TEST_SUBSET_FUZZER_TIMEOUT defaulted - to 12 in the test runner, but it was overridden to 50 in meson.build, - and then meson has its own test timeout. - - .circleci/config.yml | 2 +- - test/fuzzing/meson.build | 1 - - test/fuzzing/run-draw-fuzzer-tests.py | 2 +- - test/fuzzing/run-shape-fuzzer-tests.py | 2 +- - test/fuzzing/run-subset-fuzzer-tests.py | 2 +- - 5 files changed, 4 insertions(+), 5 deletions(-) - -commit 3232e6f2a9053e31da67fc7ff293e007e698ef39 -Author: Behdad Esfahbod -Date: Thu Oct 15 00:20:17 2020 -0600 - - [buffer] Add hb_buffer_has_positions() - - Fixes https://github.com/harfbuzz/harfbuzz/issues/2716 - - docs/harfbuzz-sections.txt | 1 + - src/hb-buffer.cc | 21 ++++++++++++++++++++- - src/hb-buffer.h | 3 +++ - 3 files changed, 24 insertions(+), 1 deletion(-) - -commit 97a093c52f87dbfb0c800dd09a23436479e69861 -Author: Khaled Hosny -Date: Mon Oct 12 15:32:22 2020 +0200 - - [hb-subset] Improve error handling a bit - - * Check that output-file option is actually set before trying to open - it. - * Print file name and errno when opening the output file fails. - * Be more resilient when writing output file and use ferror() to check - for errors. - - Fixes https://github.com/harfbuzz/harfbuzz/issues/2711 - - util/hb-subset.cc | 36 ++++++++++++++++++------------------ - 1 file changed, 18 insertions(+), 18 deletions(-) - -commit fa771a7f85d6d07ed64db438c8f07cd6b3f65e3e -Author: Khaled Hosny -Date: Sun Oct 11 22:11:17 2020 +0200 - - [tests] Fix memory leak in test - - To make valgrind bot happy. - - test/api/test-buffer.c | 21 +++++++++++---------- - 1 file changed, 11 insertions(+), 10 deletions(-) - -commit dec52006d939755e38dfc3da6de100f2443d574c -Author: David Corbett -Date: Sat Oct 10 14:49:55 2020 -0400 - - Map BCP 47 tags to all macrolanguages - - The general rule is that if a BCP 47 macrolanguage maps to an OpenType - language system tag, all its individual languages map to it too. - Previously, a tag like "prs" (Dari) would not map to the language system - tag ('FAR ') of its macrolanguage ("fa") because "prs" already has its - own language system tag ('DRI '). That exception has been removed: now - "prs" maps to 'DRI ' and falls back to 'FAR '. - - src/gen-tag-table.py | 7 +-- - src/hb-ot-tag-table.hh | 128 ++++++++++++++++++++++++++++++++++++++++++------- - 2 files changed, 112 insertions(+), 23 deletions(-) - -commit 1d53268dfe39b6842b5129ce731f67021cb1d844 -Author: David Corbett -Date: Sat Oct 10 14:46:36 2020 -0400 - - Fix two-way mapping of "man" and 'MNK ' - - src/gen-tag-table.py | 4 ++-- - src/hb-ot-tag-table.hh | 2 ++ - test/api/test-ot-tag.c | 2 ++ - 3 files changed, 6 insertions(+), 2 deletions(-) - -commit ab38cf674658fbdde5732171b218fddaaccecbf9 -Author: David Corbett -Date: Sat Oct 10 14:21:20 2020 -0400 - - Map hy-arevmda to 'HYE ' instead of HYE0 - - src/gen-tag-table.py | 3 +++ - src/hb-ot-tag-table.hh | 7 +++++++ - 2 files changed, 10 insertions(+) - -commit 916c5a900708f25b3b6efa7079ae0b9ce701643c -Author: David Corbett -Date: Sat Oct 10 14:15:16 2020 -0400 - - Consistently emit BCP 47 subtag scope suffixes - - src/gen-tag-table.py | 23 ++++++++--- - src/hb-ot-tag-table.hh | 102 ++++++++++++++++++++++++------------------------- - 2 files changed, 69 insertions(+), 56 deletions(-) - -commit 1c05f6789b86ae7bf54fb74255b3c8cea31d9978 -Author: Behdad Esfahbod -Date: Sun Oct 11 12:28:25 2020 -0600 - - [buffer] Increase work limits - - Our previous limits of 64 per input character was already hit - by David Corbett's under-development Duployan font. - - Increase work limits by factor of 16, and number of glyphs by factor of 2. - - Fixes https://github.com/harfbuzz/harfbuzz/issues/2707 - - src/hb-buffer.hh | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit b37edebfcb10ef9d37258d504de4d1a97847d6eb -Author: Behdad Esfahbod -Date: Fri Oct 9 21:26:09 2020 -0600 - - [buffer/deserialize] Do not clear() buffer upon content type mismatch - - We return false. I don't see reason to clear buffer. - - src/hb-buffer-deserialize-json.hh | 54 +++++++++++------------- - src/hb-buffer-deserialize-json.rl | 8 +--- - src/hb-buffer-deserialize-text.hh | 86 ++++++++++++++++----------------------- - src/hb-buffer-deserialize-text.rl | 8 +--- - 4 files changed, 63 insertions(+), 93 deletions(-) - -commit c396e1600f732e6e53a8733815b0a215ab9be6ce -Author: Behdad Esfahbod -Date: Fri Oct 9 21:13:10 2020 -0600 - - [buffer/deserialize] Accept arbitrary glyph names - - Accepts escapes. Added TODO items for matching escaping in serialize(). - - src/hb-buffer-deserialize-json.hh | 201 ++++++------ - src/hb-buffer-deserialize-json.rl | 17 +- - src/hb-buffer-deserialize-text.hh | 630 +++++++++++++++++++++++--------------- - src/hb-buffer-deserialize-text.rl | 9 +- - src/hb-buffer-serialize.cc | 14 +- - 5 files changed, 524 insertions(+), 347 deletions(-) - -commit 4a4eebcf86f258b3dc465400092063300a588bbf -Author: Behdad Esfahbod -Date: Fri Oct 9 21:06:20 2020 -0600 - - [buffer/serialize] Minor renames in Ragel machines - - As per my previous review on: - https://github.com/harfbuzz/harfbuzz/pull/2687 - - src/hb-buffer-deserialize-json.hh | 2 +- - src/hb-buffer-deserialize-json.rl | 18 +++---- - src/hb-buffer-deserialize-text.hh | 104 +++++++++++++++++++++++--------------- - src/hb-buffer-deserialize-text.rl | 20 +++++--- - 4 files changed, 86 insertions(+), 58 deletions(-) - -commit 540d2cdddb4ae4a39194d3cf0efc19a9e9edaf22 -Author: Behdad Esfahbod -Date: Fri Oct 9 18:07:28 2020 -0600 - - [tests/buffer] Revert unintended whitespace changes - - From 9e5538d6a3d6f1ffbee7fad3c821621f17d61494 - - Tried squashing into, but too much merge conflict. - - test/api/test-buffer.c | 1332 ++++++++++++++++++++++++------------------------ - 1 file changed, 667 insertions(+), 665 deletions(-) - -commit 78fb6a11afde1b4b62c343d72ea31f9f21580402 -Author: Behdad Esfahbod -Date: Fri Oct 9 18:02:16 2020 -0600 - - Whitespace - - src/hb-buffer-serialize.cc | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - -commit 140552cec98684cdab72a29ee59ba6ddfcca75b4 -Author: Behdad Esfahbod -Date: Fri Oct 9 18:01:32 2020 -0600 - - [buffer/serialize] Only serialize empty buffers of CONTENT_TYPE_INVALID - - src/hb-buffer-serialize.cc | 2 ++ - 1 file changed, 2 insertions(+) - -commit 04658ec48f9c934e8453583b161e7b5260231a8d -Author: Behdad Esfahbod -Date: Fri Oct 9 17:59:54 2020 -0600 - - [tests/buffer] Update tests for previous commit - - test/api/test-buffer.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 8f5d8b155c0cbf9f61cf6a23d73dbc7130df21e0 -Author: Behdad Esfahbod -Date: Fri Oct 9 17:58:57 2020 -0600 - - [buffer] Buffer start <= end <= len requirement in (de-)serialize - - src/hb-buffer-serialize.cc | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -commit 3b64122a7fd5218df6e0f8b345becb7ff73510f7 -Author: Behdad Esfahbod -Date: Fri Oct 9 17:55:21 2020 -0600 - - [buffer] Fix immutable case with end_ptr==nullptr - - src/hb-buffer-serialize.cc | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -commit 7c0bc0bb926a37a5bc1289c1c0867843e476e863 -Author: Simon Cozens -Date: Fri Sep 25 21:24:41 2020 +0100 - - Serialize invalid buffer to !! (text) or [] (json) - - There is no generic deserialize - you have to choose glyphs or unicode - so there is no way to deserialize this buffer. - - src/hb-buffer-serialize.cc | 49 +++++++++++++++++++++++++++++++++++++++++----- - test/api/test-buffer.c | 20 ++++++++++++++++--- - 2 files changed, 61 insertions(+), 8 deletions(-) - -commit 5bb88c4f4569a2740d392c1a432ebb3537935e9c -Author: Simon Cozens -Date: Fri Sep 25 10:08:00 2020 +0100 - - Oops debug print - - src/hb-buffer-serialize.cc | 1 - - 1 file changed, 1 deletion(-) - -commit f56eb402f06003ef66f3922dd948257516fec18e -Author: Simon Cozens -Date: Fri Sep 25 10:06:33 2020 +0100 - - Immutable buffer fix - - src/hb-buffer-serialize.cc | 7 +++++++ - 1 file changed, 7 insertions(+) - -commit 150f391438a56ada7227fbcb94a6a86f3305c68e -Author: Simon Cozens -Date: Fri Sep 25 10:04:39 2020 +0100 - - Prohibit mixed glyphs/unicode buffers in deserialization - - src/hb-buffer-deserialize-json.hh | 190 ++++-- - src/hb-buffer-deserialize-json.rl | 28 +- - src/hb-buffer-deserialize-text.hh | 130 ++-- - src/hb-buffer-deserialize-text.rl | 28 +- - test/api/test-buffer.c | 1315 +++++++++++++++++++------------------ - 5 files changed, 938 insertions(+), 753 deletions(-) - -commit 6b1726b6efcd5c2a7c610277d58be57b0ec659dd -Author: Simon Cozens -Date: Mon Sep 21 16:35:40 2020 +0100 - - Typos - - src/hb-buffer-serialize.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 3d3c87e7e7bb8a6ec104da72aa7e6103941045bd -Author: Simon Cozens -Date: Mon Sep 21 14:35:05 2020 +0100 - - Put the flags back in and serialize clusters. - - Note that now JSON glyph buffers and Unicode buffers look very similar, except for the g/u property difference. - - src/hb-buffer-deserialize-json.hh | 467 +++++++++++++++++--------------------- - src/hb-buffer-deserialize-json.rl | 9 +- - src/hb-buffer-deserialize-text.hh | 434 +++++++++++++++++++---------------- - src/hb-buffer-deserialize-text.rl | 2 +- - src/hb-buffer-serialize.cc | 45 +++- - src/hb-buffer.h | 3 +- - test/api/test-buffer.c | 19 +- - 7 files changed, 500 insertions(+), 479 deletions(-) - -commit 432a05b2af8522c2c5f0c7c21f06e44ab6d6a07a -Author: Simon Cozens -Date: Fri Sep 18 14:19:39 2020 +0100 - - (Simple) tests for Unicode serialization/deserialization - - test/api/test-buffer.c | 41 +++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 41 insertions(+) - -commit c03a2001b2e19ff8b88e24f5b489af58952a86e7 -Author: Simon Cozens -Date: Fri Sep 18 14:19:17 2020 +0100 - - Deserialization routines for Unicode buffers - - src/hb-buffer-deserialize-json.hh | 467 ++++++++++++++++++++++---------------- - src/hb-buffer-deserialize-json.rl | 8 +- - src/hb-buffer-deserialize-text.hh | 456 +++++++++++++++++++++++-------------- - src/hb-buffer-deserialize-text.rl | 19 +- - src/hb-buffer-serialize.cc | 87 ++++++- - src/hb-buffer.h | 8 + - 6 files changed, 655 insertions(+), 390 deletions(-) - -commit c0716bb5dc8b25ec452e71afc74ebebbc927fed8 -Author: Simon Cozens -Date: Fri Sep 18 10:31:28 2020 +0100 - - Move delimiter addition into hb-buffer-serialize - - src/hb-buffer-serialize.cc | 23 ++++++++++++++++++++++- - util/options.cc | 8 -------- - 2 files changed, 22 insertions(+), 9 deletions(-) - -commit 36ede569622f64406b441758d03c7a44a55a3c50 -Author: Simon Cozens -Date: Fri Sep 18 10:24:29 2020 +0100 - - Fix docs - - Note the delimiters stuff isn’t true yet, will be working on that - - src/hb-buffer-serialize.cc | 59 +++++++++++++++++++++++++++++++++++++++++++++- - 1 file changed, 58 insertions(+), 1 deletion(-) - -commit bb7b634cd044846e95f47538fe0f3bb8c35abd5f -Author: Simon Cozens -Date: Fri Sep 18 09:49:19 2020 +0100 - - Simplify JSON unicode serialization - - It’s just an array of codepoints; no need to turn them into objects - - src/hb-buffer-serialize.cc | 5 ----- - 1 file changed, 5 deletions(-) - -commit 57a528ab2ca09b2252598008e3d83a9bda1576ae -Author: Simon Cozens -Date: Fri Sep 18 09:35:05 2020 +0100 - - Convert tabs to spaces - - src/hb-buffer-serialize.cc | 298 +++++++++++++++++++++------------------------ - 1 file changed, 136 insertions(+), 162 deletions(-) - -commit aff6a362665cd6c582c9f79cbc3724fb918e22ce -Author: Simon Cozens -Date: Fri Sep 18 09:27:27 2020 +0100 - - Use auxbuffer for serialize_unicode_text - - src/hb-buffer-serialize.cc | 39 ++++++++++++++++++++++----------------- - 1 file changed, 22 insertions(+), 17 deletions(-) - -commit a0203a28bb8e22a960eaeda8256ea7e657b2552a -Author: Simon Cozens -Date: Thu Sep 17 16:49:59 2020 +0100 - - Use hb_buffer_serialize to trace in utils - - util/hb-shape.cc | 2 +- - util/options.cc | 37 +++++++++++++------------------------ - util/options.hh | 4 +--- - 3 files changed, 15 insertions(+), 28 deletions(-) - -commit 58bcc1cedd5a38a0a0da569e7e11c7641cdfc910 -Author: Simon Cozens -Date: Thu Sep 17 16:29:40 2020 +0100 - - Serialize Unicode buffers - - src/hb-buffer-serialize.cc | 181 +++++++++++++++++++++++++++++++++++++++++++++ - src/hb-buffer.h | 20 +++++ - 2 files changed, 201 insertions(+) - -commit be33704c003732a7a45b8136736b42ca54be98b3 -Author: Garret Rieger -Date: Fri Oct 9 16:46:46 2020 -0700 - - Add gpos 5 tests to meson build file. - - test/subset/meson.build | 1 + - 1 file changed, 1 insertion(+) - -commit c39ab82c90479341dcf28eaa8174af6f08c0d7ae -Author: David Corbett -Date: Tue Oct 6 16:51:40 2020 -0400 - - Fix usage text of gen-use-table.py - - src/gen-use-table.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit aace09a3ad4249ee5b11c07a7ba343f763545d01 -Author: Garret Rieger -Date: Tue Oct 6 10:26:17 2020 -0700 - - [subset] Use glyphset gsub for layout variation indices collection. - - src/hb-subset-plan.cc | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -commit 1d9801e01290a62cfb802971061b2cc9f7c43bc1 -Author: Garret Rieger -Date: Mon Oct 5 14:41:55 2020 -0700 - - [subset] In AnchorMatrix::subset eliminate the use of dynamically allocated vector. - - src/hb-ot-layout-gpos-table.hh | 17 +++++------------ - 1 file changed, 5 insertions(+), 12 deletions(-) - -commit 093909b2ffb1d938206b4a543652ae02c99491b2 -Author: Garret Rieger -Date: Mon Oct 5 13:14:53 2020 -0700 - - [subset] Fix wrong offset base for subsetting LigatureArray. - Offsets from LigatureArray must be relative to the beginning of the LigatureArray table. For the serialization mechanism to use the correct beginning point the LigatureArray must be created using the push()/pop() mechanism. So convert LigatureArray subsetting to use serialize_subset() instead of a manually called serialize and subset. - - src/hb-ot-layout-gpos-table.hh | 78 +++++++++++++++++++----------------------- - 1 file changed, 36 insertions(+), 42 deletions(-) - -commit 147e93b910010b581f1abf8f835aa2f7eecc483d -Author: Garret Rieger -Date: Thu Oct 1 16:44:16 2020 -0700 - - [subset] Fixes to get GPOS 5 subsetting code compiling. - - src/hb-ot-layout-gpos-table.hh | 37 ++++++++++++++++++++++++++++--------- - 1 file changed, 28 insertions(+), 9 deletions(-) - -commit 3a0b05faf18afc5f1cfc436c55d0776d26b80e53 -Author: Qunxin Liu -Date: Thu Feb 6 15:08:26 2020 -0800 - - [subset] GPOS 5 MarkToLigature subsetting support - - src/hb-ot-layout-gpos-table.hh | 109 +++++++++++++++++++-- - test/subset/data/Makefile.am | 1 + - test/subset/data/Makefile.sources | 1 + - ...5_font1.keep-layout-retain-gids.41,42,43,44.otf | Bin 0 -> 2372 bytes - ...5_font1.keep-layout-retain-gids.41,42,43,45.otf | Bin 0 -> 2380 bytes - ...pos5_font1.keep-layout-retain-gids.41,42,43.otf | Bin 0 -> 2132 bytes - ...pos5_font1.keep-layout-retain-gids.41,42,44.otf | Bin 0 -> 2304 bytes - ...pos5_font1.keep-layout-retain-gids.41,42,45.otf | Bin 0 -> 2284 bytes - .../gpos5_font1.keep-layout-retain-gids.41,42.otf | Bin 0 -> 2032 bytes - .../gpos5_font1.keep-layout-retain-gids.41,43.otf | Bin 0 -> 2048 bytes - .../gpos5_font1.keep-layout-retain-gids.41.otf | Bin 0 -> 1916 bytes - .../gpos5_font1.keep-layout-retain-gids.42.otf | Bin 0 -> 1788 bytes - ...eep-layout-retain-gids.retain-all-codepoint.otf | Bin 0 -> 3840 bytes - .../gpos5_font1.keep-layout.41,42,43,44.otf | Bin 0 -> 1668 bytes - .../gpos5_font1.keep-layout.41,42,43,45.otf | Bin 0 -> 1660 bytes - .../gpos5_font1.keep-layout.41,42,43.otf | Bin 0 -> 1432 bytes - .../gpos5_font1.keep-layout.41,42,44.otf | Bin 0 -> 1588 bytes - .../gpos5_font1.keep-layout.41,42,45.otf | Bin 0 -> 1560 bytes - .../layout.gpos5/gpos5_font1.keep-layout.41,42.otf | Bin 0 -> 1328 bytes - .../layout.gpos5/gpos5_font1.keep-layout.41,43.otf | Bin 0 -> 1332 bytes - .../layout.gpos5/gpos5_font1.keep-layout.41.otf | Bin 0 -> 1216 bytes - .../layout.gpos5/gpos5_font1.keep-layout.42.otf | Bin 0 -> 1076 bytes - ...pos5_font1.keep-layout.retain-all-codepoint.otf | Bin 0 -> 3840 bytes - test/subset/data/fonts/gpos5_font1.otf | Bin 0 -> 4780 bytes - test/subset/data/tests/layout.gpos5.tests | 18 ++++ - 25 files changed, 121 insertions(+), 8 deletions(-) - -commit 718bf5aab397290ab5214c6a6bff3e248c4ab094 -Author: Garret Rieger -Date: Tue Sep 29 13:16:01 2020 -0700 - - [subset] only keep features reachable from script in the final subset. - Matches fontTools behaviour. - - src/hb-ot-layout-gsubgpos.hh | 31 +++++++++++++++++++++---------- - src/hb-subset-plan.cc | 21 +++++++++++++++++---- - 2 files changed, 38 insertions(+), 14 deletions(-) - -commit e583505334a5b0990b545fde6ed7e9d874b8db4d -Author: Garret Rieger -Date: Tue Sep 29 11:05:08 2020 -0700 - - [subset] Use plan->glyphset_gsub instead of plan->glyphset for GSUB/GPOS - This matches fontTools behaviour. glyphset_gsub does not contain gids added from closing over composite glyphs in glyf, since these cannot particpate in GSUB/GPOS processing. - - src/hb-ot-layout-common.hh | 8 ++++---- - src/hb-ot-layout-gpos-table.hh | 16 ++++++++-------- - src/hb-ot-layout-gsub-table.hh | 12 ++++++------ - src/hb-ot-layout-gsubgpos.hh | 6 +++--- - 4 files changed, 21 insertions(+), 21 deletions(-) - -commit a99e8721bfdb3f346d169e0d3ff0a52e13fbd1d7 -Author: David Corbett -Date: Mon Sep 28 21:12:46 2020 -0400 - - [use] Fix tests with MSVC - - src/hb-ot-shape-complex-use-machine.hh | 17 +++++++++-------- - src/hb-ot-shape-complex-use-machine.rl | 3 ++- - 2 files changed, 11 insertions(+), 9 deletions(-) - -commit 010accb3d5343b32c0ab8b98a0d48626df975cb8 -Author: Garret Rieger -Date: Mon Sep 28 17:39:09 2020 -0700 - - [subset] Add additional test cases for the Amiri tests. - - ...ayout-retain-gids.627,644,623,62D,644,627,645,2E.ttf | Bin 0 -> 48640 bytes - ...-Regular.keep-layout-retain-gids.627,644,62D,628.ttf | Bin 0 -> 42884 bytes - ...ep-layout-retain-gids.633,645,627,621,20,644,627.ttf | Bin 0 -> 46724 bytes - ...miri-Regular.keep-layout-retain-gids.63A,64A,631.ttf | Bin 0 -> 42896 bytes - ...gular.keep-layout.627,644,623,62D,644,627,645,2E.ttf | Bin 0 -> 13332 bytes - .../Amiri-Regular.keep-layout.627,644,62D,628.ttf | Bin 0 -> 10232 bytes - ...i-Regular.keep-layout.633,645,627,621,20,644,627.ttf | Bin 0 -> 10372 bytes - .../Amiri-Regular.keep-layout.63A,64A,631.ttf | Bin 0 -> 7824 bytes - test/subset/data/tests/layout.gpos8.amiri.tests | 4 ++++ - 9 files changed, 4 insertions(+) - -commit 940e1c6f9838b245839f742cca0e71cf37a9c87a -Author: Garret Rieger -Date: Mon Sep 28 17:22:01 2020 -0700 - - [subset] ChainContextFormat3 - don't subset glyph sequences. - The backtrack, input, and lookahead sequence must be matched in their entirety so these sequences should not be subset. If any of the coverage tables in a sequence subsets to empty then the whole subtable should be dropped since it's not possible for this lookup to be activated. - - src/hb-ot-layout-gsubgpos.hh | 18 +++++++++--------- - 1 file changed, 9 insertions(+), 9 deletions(-) - -commit e31c2690f80c312d13dd4691e6e51da1cab94813 -Author: Garret Rieger -Date: Mon Sep 28 16:51:25 2020 -0700 - - [subset] remove unnecessary returns. - - src/hb-ot-layout-gsubgpos.hh | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 3271a7cdaadcab3756261db42177500436e1c37e -Author: Garret Rieger -Date: Mon Sep 28 16:46:15 2020 -0700 - - [subset] Remove redundant langys from Amiri test font. - FontTools removes these when subsetting but harfbuzz does not yet support redundant langsys removal. So this gets the Amiri tests passing for now. - - ...iri-Regular.keep-layout-retain-gids.627,644.ttf | Bin 36892 -> 36940 bytes - .../Amiri-Regular.keep-layout.627,644.ttf | Bin 4364 -> 4412 bytes - test/subset/data/fonts/Amiri-Regular.ttf | Bin 562980 -> 562684 bytes - 3 files changed, 0 insertions(+), 0 deletions(-) - -commit ad241f991726b38cbda566fe00ac4eab55b14679 -Author: Garret Rieger -Date: Mon Sep 28 15:26:13 2020 -0700 - - [subset] check that sub rules in ChainContextFormat 1 and 2 intersect the glyphs set before recursing during closure lookups. - - src/hb-ot-layout-gsubgpos.hh | 42 +++++++++++++++++++++++++++++++++++------- - 1 file changed, 35 insertions(+), 7 deletions(-) - -commit 9fad540245bcfa0a5c07380ea075d8c264b3abcf -Author: Garret Rieger -Date: Mon Sep 28 13:24:25 2020 -0700 - - [subset] check that sub rules in ContextFormat 1 and 2 intersect the glyphs set before recursing during closure lookups. - - src/hb-ot-layout-gsubgpos.hh | 40 +++++++++++++++++++++++++++++++--------- - test/subset/meson.build | 1 + - 2 files changed, 32 insertions(+), 9 deletions(-) - -commit 7e6070a47f2127c90ad233ab3794097357a3f4ed -Author: Koji Ishii -Date: Mon Aug 31 17:21:21 2020 +0900 - - Set *coord to nullptr - - src/hb-ot-layout-base-table.hh | 18 +++++++++++++++--- - 1 file changed, 15 insertions(+), 3 deletions(-) - -commit 4e0bddb7fea3ada6dc1ba05ed2fab9f2b813640d -Author: Koji Ishii -Date: Wed Aug 19 20:49:10 2020 +0900 - - get_baseline - - src/hb-ot-layout-base-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 48fcb9094aeb04bb4ff581c04603fbb7acfd71df -Author: Behdad Esfahbod -Date: Sun Sep 27 16:53:32 2020 -0600 - - [docs] Remove misleading wording re OpenType - - HarfBuzz has not *just* been implementing OpenType for a while. - At least since 2.0, where we added native AAT support in Oct 2018. - - docs/harfbuzz-docs.xml | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit 5539d158b75470dcf41bb86e2e8b9a7a986447c0 -Merge: 1a15bf1c5 cc7b3a1ab -Author: Khaled Hosny -Date: Sat Sep 26 10:41:38 2020 +0200 - - Merge pull request #1679 from n8willis/docs-gtkdoc-extern - - [Docs] Add GTK-Doc comments for external APIs - -commit 1a15bf1c535236c4117dcf5eb9afa4e462fbe364 -Merge: 8c5d1332f fb0195ba8 -Author: Khaled Hosny -Date: Sat Sep 26 10:41:04 2020 +0200 - - Merge pull request #2695 from khaledhosny/docs-fix - - Minor build docs improvement - -commit cc7b3a1abd24aebabd812a151e0c206bf6f09635 -Author: Khaled Hosny -Date: Sat Sep 26 10:22:39 2020 +0200 - - [Docs] Address review comments - - src/hb-face.cc | 11 ++++++----- - src/hb-face.h | 2 -- - src/hb-unicode.cc | 5 +++++ - 3 files changed, 11 insertions(+), 7 deletions(-) - -commit 41b46a3cb2d18417d642c3101aacc38fc6a56dc9 -Author: n8willis -Date: Sun Apr 26 16:01:31 2020 +0100 - - Update hb-face.cc - - src/hb-face.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 726e320ece912a75918f4a3208dff973b18c4b45 -Author: n8willis -Date: Sun Apr 26 15:56:57 2020 +0100 - - Update inline doc for hb_face_create: explain index - - src/hb-face.cc | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit 70331ca4850427b2c5b235ab46f6b5fb6f7036f6 -Author: Nathan Willis -Date: Mon Apr 22 19:25:42 2019 +0100 - - [Docs] Minor - - update GTK-Doc comments in hb-ot-layout. - - src/hb-ot-layout.cc | 36 ++++++++++++++++++------------------ - 1 file changed, 18 insertions(+), 18 deletions(-) - -commit eb10ef46aa1c62d6871f4780831e7ea326af10cf -Author: Nathan Willis -Date: Mon Apr 22 19:22:24 2019 +0100 - - [Docs] Add GTK-Doc comments for hb-ot-font and hb-ot-shape. - - src/hb-ot-font.cc | 3 +++ - src/hb-ot-shape.cc | 15 +++++++++++++++ - 2 files changed, 18 insertions(+) - -commit 3e72febde020649cb7c213f71675804e09fb1926 -Author: Nathan Willis -Date: Mon Apr 22 19:21:27 2019 +0100 - - [Docs] Add GTK-Doc comments for hb-face. - - src/hb-face.cc | 174 +++++++++++++++++++++++++++++++++------------------------ - src/hb-face.h | 8 +++ - 2 files changed, 110 insertions(+), 72 deletions(-) - -commit 88cdea60e07187139419c0dc2cc76eb7a3c81a6e -Author: Nathan Willis -Date: Mon Apr 22 19:17:40 2019 +0100 - - [Docs] Add GTK-Doc comments to hb-shape-plan. - - src/hb-shape-plan.cc | 140 ++++++++++++++++++++++++++++++++++----------------- - src/hb-shape-plan.h | 14 ++++++ - 2 files changed, 109 insertions(+), 45 deletions(-) - -commit 5b43eb5a4caadd1494a7402ff0bea893102556d7 -Author: Nathan Willis -Date: Mon Apr 22 19:16:48 2019 +0100 - - [Docs] Add GTK-Dod comments to hb-unicode. - - src/hb-unicode.cc | 118 ++++++++++++--------- - src/hb-unicode.h | 307 +++++++++++++++++++++++++++++++++++++++++++++++------- - 2 files changed, 339 insertions(+), 86 deletions(-) - -commit fb0195ba8314a3e15e436ad82b68a65b20711098 -Author: Khaled Hosny -Date: Sat Sep 26 09:33:41 2020 +0200 - - [docs] Fix syntax and expand Windows section a tiny bit - - docs/usermanual-install-harfbuzz.xml | 7 +++++-- - 1 file changed, 5 insertions(+), 2 deletions(-) - -commit db2381c92d2ffae66f155567b09576ecbfaca0af -Author: Khaled Hosny -Date: Sat Sep 26 09:30:25 2020 +0200 - - [docs] Fix indentation of commands - - DocBook outputs the extra spacing before the commands verbatim. - - docs/usermanual-install-harfbuzz.xml | 52 +++++++++--------------------------- - 1 file changed, 13 insertions(+), 39 deletions(-) - -commit a5c0ec7516e8f44ced7a5531c3565e74e34d8092 -Author: Garret Rieger -Date: Fri Sep 25 14:57:20 2020 -0700 - - [subset] For [Chain]ContextFormat3 make sure the sub table intersects the retained glyphset before recursing to its lookups. - Otherwise the lookup closure will potentially pull in lookups which cannot be accessed via the retained glyph set. - - src/hb-ot-layout-gsubgpos.hh | 5 +++++ - 1 file changed, 5 insertions(+) - -commit dc375559fd8aec33b28ea5775f2288250fd7ede7 -Author: Garret Rieger -Date: Fri Sep 25 13:08:46 2020 -0700 - - [subset] shrink the serialize buffer when pruning empty offsets in ChainContextFormat2. - Currently the code reduces the array length, but does not trim back the space allocated in the serializer for those empty offsets. - - src/hb-ot-layout-gsubgpos.hh | 16 +++++++++------- - 1 file changed, 9 insertions(+), 7 deletions(-) - -commit 90eb1a40eb4498b8bcfd73e67cbc69a0eaab1423 -Author: Garret Rieger -Date: Fri Sep 25 12:36:32 2020 -0700 - - [subset] In ChainContextFormat3 don't skip subsetting if backtrack or lookahead are empty. - It's valid to have a ChainContextFormat3 with either an empty backtrack or lookahead. Only drop the lookup if the input sequence is empty. - - src/hb-ot-layout-gsubgpos.hh | 11 +++++++---- - 1 file changed, 7 insertions(+), 4 deletions(-) - -commit 2604201ae0f4f4e5b659d7af00684cb38d79c502 -Author: Fabrice Fontaine -Date: Thu Sep 24 21:00:34 2020 +0200 - - src/meson.build: allow introspection when cross-compiling - - introspection can be enabled when cross-compiling on certains conditions - (for example it is supported by buildroot) so, as suggested by - Tim-Philipp Müller, disable it by default for cross builds unless the - option was explicitly enabled by the user - - Signed-off-by: Fabrice Fontaine - - src/meson.build | 7 +------ - 1 file changed, 1 insertion(+), 6 deletions(-) - -commit 7b77ce0507e18fb981a9b865f3eaac0c2ae06044 -Author: Garret Rieger -Date: Thu Sep 24 16:35:59 2020 -0700 - - [subset] Add subsetting integration test using Amiri. - Demonstrates a failure in subsetting GPOS 8/GSUB 6. - - test/subset/data/Makefile.sources | 1 + - .../Amiri-Regular.keep-layout-retain-gids.627,644.ttf | Bin 0 -> 36892 bytes - .../Amiri-Regular.keep-layout.627,644.ttf | Bin 0 -> 4364 bytes - test/subset/data/fonts/Amiri-Regular.ttf | Bin 0 -> 562980 bytes - test/subset/data/tests/layout.gpos8.amiri.tests | 9 +++++++++ - 5 files changed, 10 insertions(+) - -commit 7a72b20aa2b604053696e731185a17286de73b08 -Author: Garret Rieger -Date: Thu Sep 24 15:58:48 2020 -0700 - - [subset] Subset GDEF during layout subsetting tests. - - ...1.keep-layout-retain-gids.retain-all-codepoint.otf | Bin 3756 -> 3812 bytes - ...e_subrules_f1.keep-layout.retain-all-codepoint.otf | Bin 3756 -> 3812 bytes - ...1.keep-layout-retain-gids.retain-all-codepoint.otf | Bin 3772 -> 3828 bytes - ...e_subrules_f1.keep-layout.retain-all-codepoint.otf | Bin 3772 -> 3828 bytes - ...1.keep-layout-retain-gids.retain-all-codepoint.otf | Bin 3736 -> 3792 bytes - ...xt3_simple_f1.keep-layout.retain-all-codepoint.otf | Bin 3736 -> 3792 bytes - ...3.keep-layout-retain-gids.retain-all-codepoint.otf | Bin 3692 -> 3728 bytes - .../gpos3_font3.keep-layout.retain-all-codepoint.otf | Bin 3692 -> 3728 bytes - ...1.keep-layout-retain-gids.retain-all-codepoint.otf | Bin 3772 -> 3816 bytes - ...ple_anchors_1.keep-layout.retain-all-codepoint.otf | Bin 3772 -> 3816 bytes - ...1.keep-layout-retain-gids.retain-all-codepoint.otf | Bin 3748 -> 3792 bytes - .../gpos6_font1.keep-layout.retain-all-codepoint.otf | Bin 3748 -> 3792 bytes - ...1.keep-layout-retain-gids.retain-all-codepoint.otf | Bin 3776 -> 3832 bytes - ...e_subrules_f1.keep-layout.retain-all-codepoint.otf | Bin 3776 -> 3832 bytes - ...1.keep-layout-retain-gids.retain-all-codepoint.otf | Bin 3808 -> 3864 bytes - ...e_subrules_f1.keep-layout.retain-all-codepoint.otf | Bin 3808 -> 3864 bytes - ...1.keep-layout-retain-gids.retain-all-codepoint.otf | Bin 3744 -> 3800 bytes - ...ng3_simple_f1.keep-layout.retain-all-codepoint.otf | Bin 3744 -> 3800 bytes - ...1.keep-layout-retain-gids.retain-all-codepoint.otf | Bin 3748 -> 3804 bytes - ...e_subrules_f1.keep-layout.retain-all-codepoint.otf | Bin 3748 -> 3804 bytes - ...1.keep-layout-retain-gids.retain-all-codepoint.otf | Bin 3780 -> 3836 bytes - ...e_subrules_f1.keep-layout.retain-all-codepoint.otf | Bin 3780 -> 3836 bytes - ...2.keep-layout-retain-gids.retain-all-codepoint.otf | Bin 3716 -> 3772 bytes - ...ng3_simple_f2.keep-layout.retain-all-codepoint.otf | Bin 3716 -> 3772 bytes - ...lar.smallcaps.keep-layout-retain-gids.41,42,43.ttf | Bin 6780 -> 6844 bytes - ...egular.smallcaps.keep-layout-retain-gids.41,43.ttf | Bin 6396 -> 6472 bytes - ...o-Regular.smallcaps.keep-layout-retain-gids.41.ttf | Bin 6032 -> 6096 bytes - ...o-Regular.smallcaps.keep-layout-retain-gids.43.ttf | Bin 6088 -> 6152 bytes - ...egular.smallcaps.keep-layout-retain-gids.CA,CB.ttf | Bin 7932 -> 7996 bytes - .../Roboto-Regular.smallcaps.keep-layout.41,42,43.ttf | Bin 2972 -> 3028 bytes - .../Roboto-Regular.smallcaps.keep-layout.41,43.ttf | Bin 2572 -> 2628 bytes - .../Roboto-Regular.smallcaps.keep-layout.41.ttf | Bin 2196 -> 2252 bytes - .../Roboto-Regular.smallcaps.keep-layout.43.ttf | Bin 2268 -> 2324 bytes - .../Roboto-Regular.smallcaps.keep-layout.CA,CB.ttf | Bin 2612 -> 2668 bytes - test/subset/data/profiles/keep-layout-retain-gids.txt | 2 +- - test/subset/data/profiles/keep-layout.txt | 2 +- - 36 files changed, 2 insertions(+), 2 deletions(-) - -commit 8c5d1332f152383563c2ef4b3377b9d54b151def -Merge: 82fe13182 df00f45e2 -Author: Khaled Hosny -Date: Thu Sep 24 13:09:38 2020 +0200 - - Merge pull request #1664 from n8willis/docs-gtkdoc-otvar - - [Docs] Add gtk-doc comments for hb-ot-var - -commit df00f45e261df757caf42d9435ec06f015e4a54d -Author: Khaled Hosny -Date: Thu Sep 24 11:57:12 2020 +0200 - - Fix annotation in previous commits - - src/hb-ot-var.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 5a695a79a0f1269b1ad3b4601f5dfb9794729982 -Author: Nathan Willis -Date: Sat May 11 13:54:40 2019 +0100 - - Swap # for () in gtk-doc function mention. - - src/hb-ot-var.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 379be7b7c8d25f86f3d302ea4179e1bf93f025b9 -Author: n8willis -Date: Thu May 9 14:40:57 2019 +0100 - - Update src/hb-ot-var.cc - - Co-Authored-By: Khaled Hosny - - src/hb-ot-var.cc | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 938add712a25d20fbc9752963885a32753e30937 -Author: Nathan Willis -Date: Thu Apr 11 19:45:12 2019 +0100 - - Add GTK-Doc comments for hb-ot-var. - - src/hb-ot-var.cc | 115 ++++++++++++++++++++++++++++++++++++++++++++++++++++--- - src/hb-ot-var.h | 41 +++++++++++++++++++- - 2 files changed, 150 insertions(+), 6 deletions(-) - -commit 82fe13182d928e5d0e7f2c93528bddc0848e163b -Merge: a1f4d285e 9a1be3fed -Author: Khaled Hosny -Date: Tue Sep 22 17:40:38 2020 +0200 - - Merge pull request #1661 from n8willis/docs-gtkdoc-aat - - [Docs] Add gtk-doc comments for hb-aat-layout - -commit 9a1be3fed58e75d23dcda087de63f7e410680631 -Author: Khaled Hosny -Date: Tue Sep 22 16:46:03 2020 +0200 - - Fix enum documentation syntax - - src/hb-aat-layout.h | 643 +++++++++++++++++++++++----------------------------- - 1 file changed, 283 insertions(+), 360 deletions(-) - -commit 3c9244e662c8225ed11c72db0c095dfe04b0f925 -Author: n8willis -Date: Sat May 11 16:44:30 2019 +0100 - - Update src/hb-aat-layout.cc - - Co-Authored-By: Khaled Hosny - - src/hb-aat-layout.cc | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit d619ba0681504a107e0bb8bde85d0564f9327edd -Author: Nathan Willis -Date: Mon Apr 8 20:17:38 2019 +0100 - - Add gtk-doc documentation to AAT layout functions and enums. - - src/hb-aat-layout.cc | 26 ++++++++++----- - src/hb-aat-layout.h | 92 ++++++++++++++++++++++++++++++++++++++++++++++++++-- - 2 files changed, 106 insertions(+), 12 deletions(-) - -commit 514e6baaf061ee5c601f6b181f8dd9cd436843a9 -Author: Nathan Willis -Date: Thu Apr 4 10:18:29 2019 +0100 - - [gtk-doc] document AAT functions and enums. - - src/hb-aat-layout.cc | 63 ++++++++--- - src/hb-aat-layout.h | 293 +++++++++++++++++++++++++++++++++++++++++++++++++++ - 2 files changed, 341 insertions(+), 15 deletions(-) - -commit a1f4d285e1305fda5da771c3c5555c912b8e2d65 -Author: Behdad Esfahbod -Date: Mon Sep 21 16:50:11 2020 -0600 - - [buffer] Fix invalid write access in hb_buffer_deserialize_glyphs() - - If buffer is immutable, we were trying to set content_type on it. - Ouch! - - src/hb-buffer-serialize.cc | 6 ++++++ - 1 file changed, 6 insertions(+) - -commit 18b8046c6aa2e311f0b47bfa66613c764d13283e -Merge: 1f8b1e7f1 e43b9a29a -Author: Caleb Maclennan -Date: Mon Sep 21 17:32:34 2020 +0300 - - Merge pull request #2678 from alerque/post-artifacts - -commit 1f8b1e7f186f44db575e18d0958c9fb3ea14a594 -Author: ebraminio -Date: Mon Sep 21 11:39:38 2020 +0330 - - [ENOMEM] Return gracefully if stages isn't initialized correctly (#2639) - - This happens if calls to 'm.lookups[table_index].push ()' has been - silently failed due to lack of memory. - - This change just returns gracefully instead issuing the assert. - - Fixes https://crbug.com/oss-fuzz/24494 - - src/hb-ot-map.hh | 4 ++-- - ...z-testcase-minimized-hb-shape-fuzzer-5753845452636160 | Bin 0 -> 2109 bytes - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit a0ebea5280abddb9eb22dcc8fd97c521c38da597 -Merge: e40c0d82e f9f473a4c -Author: Khaled Hosny -Date: Fri Sep 18 17:04:38 2020 +0200 - - Merge pull request #2665 from khaledhosny/doc-default-features - - [docs] Improve documentation for default features - -commit f9f473a4c40d95392fd314ff7e31f89d8b3b452d -Author: Khaled Hosny -Date: Wed Sep 2 16:40:52 2020 +0200 - - [docs] Improve documentation for default features - - Fixes https://github.com/harfbuzz/harfbuzz/issues/2213 - - docs/usermanual-opentype-features.xml | 44 +++++++++++++++++++++++++++++------ - 1 file changed, 37 insertions(+), 7 deletions(-) - -commit e40c0d82e2c01af4c180f7e4f8ccc4200e6a5362 -Author: Behdad Esfahbod -Date: Wed Sep 16 12:48:30 2020 -0600 - - [ENOMEM] Handle immutable buffer in shape_full() - - Move the content_type changing to shape_plan_execute() where it belongs. - Skip setting if content type is UNKNOWN, which happens with empty buffers - only, including the immutable buffer. - - Alternate fix to https://github.com/harfbuzz/harfbuzz/pull/2606 - and https://github.com/harfbuzz/harfbuzz/pull/2625 - - src/hb-shape-plan.cc | 55 +++++++++++++++++++++++++++++++++------------------- - src/hb-shape.cc | 4 ---- - 2 files changed, 35 insertions(+), 24 deletions(-) - -commit bbbcad0dbbe980209be946612de352cadae98522 -Author: Garret Rieger -Date: Wed Sep 16 11:19:40 2020 -0700 - - Revert "[ENOMEM] don't perform set process operations if the other set is in an error state." - - This reverts commit f3929abafe3b64f15d0dc2d21ad7b493eeb92dfe. - - src/hb-set.hh | 1 - - ...-testcase-minimized-hb-subset-fuzzer-5345734743031808 | Bin 1240 -> 0 bytes - 2 files changed, 1 deletion(-) - -commit f3929abafe3b64f15d0dc2d21ad7b493eeb92dfe -Author: Garret Rieger -Date: Tue Sep 15 13:06:36 2020 -0700 - - [ENOMEM] don't perform set process operations if the other set is in an error state. - Running a process while the other set is in an error state can potentially corrupt this sets map map (for example by overwritting all of the major values with 0). - - src/hb-set.hh | 1 + - ...-testcase-minimized-hb-subset-fuzzer-5345734743031808 | Bin 0 -> 1240 bytes - 2 files changed, 1 insertion(+) - -commit 584d3a43b269032322b00a19e240e3222425f2a9 -Merge: 8c3d4de79 7d64b0976 -Author: Simon Cozens -Date: Wed Sep 16 15:08:50 2020 +0100 - - Merge pull request #2681 from khaledhosny/myanmar-liga - - [myanmar] Don’t disable liga feature - -commit 7d64b09765e326da810e98d3234ca72209cd5aae -Author: Khaled Hosny -Date: Sat Sep 12 21:17:18 2020 +0200 - - [myanmar] Don’t disable liga feature - - This seems to have been carried over from the Indic shaper, but - Uniscribe enables it by default. - - See https://github.com/harfbuzz/harfbuzz/issues/2213#issuecomment-686062915 - - src/hb-ot-shape-complex-myanmar.cc | 8 +------- - test/shaping/data/in-house/Makefile.sources | 1 + - .../fonts/065b01e54f35f0d849fd43bd5b936212739a50cb.ttf | Bin 0 -> 1808 bytes - test/shaping/data/in-house/meson.build | 1 + - test/shaping/data/in-house/tests/myanmar-misc.tests | 1 + - 5 files changed, 4 insertions(+), 7 deletions(-) - -commit 8c3d4de796d8d691c63d5c20ac32051c652d72b8 -Author: Garret Rieger -Date: Wed Sep 9 12:38:34 2020 -0700 - - [subset] Fix integer underflow in ContextFormat2. - - src/hb-ot-layout-gsubgpos.hh | 2 +- - ...testcase-minimized-hb-subset-fuzzer-5689082504806400 | Bin 0 -> 84172 bytes - 2 files changed, 1 insertion(+), 1 deletion(-) - -commit e43b9a29a98d303240976bb0a7de27a0e3a56504 -Author: Caleb Maclennan -Date: Fri Sep 11 22:15:10 2020 +0300 - - [ci] Trigger dependencies of publish jobs on tags - - .circleci/config.yml | 14 ++++++++++---- - 1 file changed, 10 insertions(+), 4 deletions(-) - -commit deb09e0d7556cbe88e8003c6ff0fa2192052c337 -Author: Caleb Maclennan -Date: Fri Sep 11 19:52:46 2020 +0300 - - [ci] Tweak job names so config is valid Circle 2.1 schema - - .circleci/config.yml | 16 ++++++++-------- - 1 file changed, 8 insertions(+), 8 deletions(-) - -commit f4dea33f6d9acd6eea16f4a3130c9ec5d57928bf -Author: Caleb Maclennan -Date: Fri Sep 11 17:23:00 2020 +0300 - - [ci] Move repeated artifact upload job code to script - - .ci/publish_release_artifact.sh | 20 ++++++++++++++++++++ - .circleci/config.yml | 22 +++++----------------- - 2 files changed, 25 insertions(+), 17 deletions(-) - -commit 65be538fffb01a03d98212e77f5240225580dfe0 -Author: Caleb Maclennan -Date: Fri Sep 11 16:46:34 2020 +0300 - - [ci] Add job to publish autotools dist file to GitHub - - .circleci/config.yml | 27 +++++++++++++++++++++++++++ - 1 file changed, 27 insertions(+) - -commit 42bcc47d01d86eb44feae2df9d9fc6d4345270bb -Author: Caleb Maclennan -Date: Fri Sep 11 16:40:32 2020 +0300 - - [ci] Use executor with Circle's image for autotools job - - .circleci/config.yml | 8 +++++--- - 1 file changed, 5 insertions(+), 3 deletions(-) - -commit c70f5090229ea4dbdea823d5f92cc17e3d2e73f3 -Author: Caleb Maclennan -Date: Fri Sep 11 14:54:02 2020 +0300 - - [ci] Use `ghr` CLI tool to post Win32 artifact to GitHub - - .circleci/config.yml | 10 ++++++++++ - 1 file changed, 10 insertions(+) - -commit 610ed3b42c8a1b411f99654f45c68aba2215afbd -Author: Caleb Maclennan -Date: Fri Sep 11 10:47:08 2020 +0300 - - [ci] Add job to publish Win32 releases and pass it artifacts - - .circleci/config.yml | 18 ++++++++++++++++++ - 1 file changed, 18 insertions(+) - -commit a2d45cd5f7a16c8757f148f452561fdbe531ee4c -Author: Caleb Maclennan -Date: Fri Sep 11 14:14:20 2020 +0300 - - [ci] Use Circle's customized image for workspace support - - .circleci/config.yml | 12 ++++++++---- - 1 file changed, 8 insertions(+), 4 deletions(-) - -commit ac3f859a30731fcd2cf4be044d69a64cc43b5225 -Author: David Corbett -Date: Wed Sep 9 11:49:56 2020 -0400 - - Demote unregistered vendor-specific language tags - - src/gen-tag-table.py | 12 +----------- - src/hb-ot-tag-table.hh | 4 +--- - 2 files changed, 2 insertions(+), 14 deletions(-) - -commit ee12c078ed775cda64f177055a1d1640675fb2d2 -Merge: 695d85ca3 5aff83104 -Author: Khaled Hosny -Date: Tue Sep 8 15:37:30 2020 +0200 - - Merge pull request #2668 from rossburton/meson - - meson: add hb-version.h to dependencies correctly - -commit 695d85ca327cf6aaafcde36870a21f70d46fa863 -Merge: 91fe20f0f e876886d1 -Author: Khaled Hosny -Date: Tue Sep 8 15:37:00 2020 +0200 - - Merge pull request #2674 from rossburton/reprod - - src/hb-gobject-enums.cc.tmpl: write out only the filename, not the full path - -commit 91fe20f0f5b868fc375291c525a32a6777554bd3 -Author: David Corbett -Date: Fri Sep 4 09:18:19 2020 -0400 - - Disambiguate OT tags when primary tag is not first - - src/gen-tag-table.py | 4 ++++ - src/hb-ot-tag-table.hh | 8 +++++++- - test/api/test-ot-tag.c | 3 +++ - 3 files changed, 14 insertions(+), 1 deletion(-) - -commit e876886d1e877ad90b6f02badefd6ebee1bc0b09 -Author: Alexander Kanavin -Date: Tue Aug 18 10:31:47 2020 +0000 - - src/hb-gobject-enums.cc.tmpl: write out only the filename, not the full path - - This is beneficial for reproducible builds, as build paths can vary - between builds. - - src/hb-gobject-enums.cc.tmpl | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 5aff83104e03d6d2617987d24a51e490ab7a5cd1 -Author: Ross Burton -Date: Mon Sep 7 10:55:33 2020 +0100 - - [build] generate hb-version.h once at configure time with Meson - - Currently with Meson hb-version.h is generated during the build without - any explicit dependencies which can result in build failures due races - over the file. - - Change this to be generated at configure time, so that the file is always - generated once before the build itself. - - Closes #2667 - - src/meson.build | 17 ++++++++--------- - 1 file changed, 8 insertions(+), 9 deletions(-) - -commit bc1c93fbe04459a4b12c76c713ba1b750d2d9108 -Author: Ross Burton -Date: Mon Sep 7 17:11:17 2020 +0100 - - [build] No need to pass source directory to gen-hb-version - - The input file is by definition in the source directory, so dirname() - that instead of needing the directory to be passed. - - Needed because a follow-up commit will change when this is called, and the - source directory isn't trivially available at that point. - - src/gen-hb-version.py | 6 +++--- - src/meson.build | 2 +- - 2 files changed, 4 insertions(+), 4 deletions(-) - -commit faf09f5466370a45e1a9d7c07968af517d680d78 -Author: David Corbett -Date: Fri Aug 14 18:30:20 2020 -0400 - - [USE] Support hieroglyph clusters - - src/gen-use-table.py | 24 ++ - src/hb-ot-shape-complex-use-machine.hh | 465 +++++++++++++++++---------------- - src/hb-ot-shape-complex-use-machine.rl | 6 + - src/hb-ot-shape-complex-use-table.cc | 104 +++++++- - src/hb-ot-shape-complex-use.cc | 2 + - src/hb-ot-shape-complex-use.hh | 4 + - 6 files changed, 366 insertions(+), 239 deletions(-) - -commit 06f49fc8ae40f083758e1ca8e9bd9879549d8c39 -Author: David Corbett -Date: Thu Aug 13 13:37:45 2020 -0400 - - [USE] Update to the 2020-08-13 USE specification - - This also uses the data files from - . - - src/gen-use-table.py | 210 +++++++----- - src/hb-ot-shape-complex-use-machine.hh | 330 +++++++++--------- - src/hb-ot-shape-complex-use-machine.rl | 3 +- - src/hb-ot-shape-complex-use-table.cc | 398 ++++++++++++++++++---- - src/hb-ot-shape-complex-vowel-constraints.cc | 2 +- - src/hb-ot-shape-complex.hh | 7 + - src/ms-use/IndicPositionalCategory-Additional.txt | 102 ++++++ - src/ms-use/IndicShapingInvalidCluster.txt | 4 +- - src/ms-use/IndicSyllabicCategory-Additional.txt | 207 +++++++++++ - src/update-unicode-tables.make | 2 +- - 10 files changed, 946 insertions(+), 319 deletions(-) - -commit e3db84a9d05f40c5281d889a726eb2e4baa12328 -Author: David Corbett -Date: Fri May 3 23:29:58 2019 -0400 - - [use] Test CGJ and ZWNJ - - test/shaping/data/in-house/tests/use-syllable.tests | 4 ++++ - 1 file changed, 4 insertions(+) - -commit 6a38adeb577444cd164eeb6ace70741fe1a33791 -Author: David Corbett -Date: Fri May 3 14:16:50 2019 -0400 - - [use] Skip most default ignorables when clustering - - src/Makefile.sources | 1 + - src/gen-use-table.py | 12 +- - src/hb-ot-shape-complex-machine-index.hh | 69 ++++ - src/hb-ot-shape-complex-use-machine.hh | 592 +++++++++++++++---------------- - src/hb-ot-shape-complex-use-machine.rl | 55 ++- - src/hb-ot-shape-complex-use-table.cc | 76 ++-- - src/hb-ot-shape-complex-use.hh | 2 - - 7 files changed, 422 insertions(+), 385 deletions(-) - -commit 645f4e7cdd874bd454fceec76b33e57c0a205775 -Author: David Corbett -Date: Fri May 3 18:28:18 2019 -0400 - - Unhide CGJ before ccc=0 characters - - If a CGJ precedes a starter, then it cannot have blocked any reordering, - so it can safely be skipped. - - src/hb-ot-shape-normalize.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 9825e3dd2eaea4e267054adebc8d972e1f01cc0d -Author: Garret Rieger -Date: Wed Aug 26 17:31:50 2020 -0700 - - [ENOMEM] fix access to unitialized memory. - If the serialize() call fails to write the object then we can't safely read varstore_prime fields. Fixes https://oss-fuzz.com/testcase-detail/5137462782066688. - - src/hb-ot-layout-common.hh | 5 ++++- - ...testcase-minimized-hb-subset-fuzzer-5137462782066688 | Bin 0 -> 76354 bytes - 2 files changed, 4 insertions(+), 1 deletion(-) - -commit 45de128930a902004baa875831e38ef62780ae2e -Merge: 9c98b2b9a fe6381d9f -Author: Khaled Hosny -Date: Tue Sep 1 04:58:50 2020 +0300 - - Merge pull request #2661 from khaledhosny/failing-dw-build - - [ci] Fix failing DirectWrite build - -commit fe6381d9f1a34f33f020d4f7c871304376dc2844 -Author: Khaled Hosny -Date: Tue Sep 1 03:44:01 2020 +0200 - - [build] Minor - - src/meson.build | 12 ++++-------- - 1 file changed, 4 insertions(+), 8 deletions(-) - -commit a4f3a752ddd89b1155978fe862d6f45bd5a89d53 -Author: ebraminio -Date: Tue Sep 1 03:21:12 2020 +0200 - - [build] hb-directwrite needs a C++ linker - - src/meson.build | 10 +++++++++- - 1 file changed, 9 insertions(+), 1 deletion(-) - -commit 9c98b2b9a9e43669c5e2b37eaa41b1e07de1ede3 -Author: Khaled Hosny -Date: Sat Aug 29 00:39:42 2020 +0200 - - 2.7.2 - - NEWS | 9 ++++++++- - configure.ac | 2 +- - meson.build | 2 +- - src/hb-version.h | 4 ++-- - 4 files changed, 12 insertions(+), 5 deletions(-) - -commit c0a76cb5192f6c334c6713444ac5a02d59faaf74 -Merge: fcddf3b9b a495a5423 -Author: Khaled Hosny -Date: Sat Aug 29 00:14:01 2020 +0300 - - Merge pull request #2660 from harfbuzz/arabic-shaping-in-use - - [USE] Fix assertion failure for joining scripts - -commit a495a54236d69def7e8b1293f2887f18a6b2fecc -Author: David Corbett -Date: Fri Aug 28 14:33:25 2020 -0400 - - Ignore T & U when determining the joining scripts - - src/gen-arabic-joining-list.py | 2 ++ - src/hb-ot-shape-complex-arabic-joining-list.hh | 1 - - 2 files changed, 2 insertions(+), 1 deletion(-) - -commit 420a74f7725bec2d3d4688fda226163b06f9a564 -Author: David Corbett -Date: Fri Aug 28 14:11:48 2020 -0400 - - [USE] Fix assertion failure for joining scripts - - src/hb-ot-shape-complex-use.cc | 2 +- - test/shaping/data/in-house/tests/use.tests | 1 + - 2 files changed, 2 insertions(+), 1 deletion(-) - -commit fcddf3b9b43e391a9ec33c823ef22827d18a1fb9 -Author: ebraminio -Date: Fri Aug 14 10:19:33 2020 +0430 - - [docs] Minor in TESTING.md - - Start the fuzzer with test/fuzzing/fonts seeds - - TESTING.md | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 99b8a84cc50346b6788a67eadfe0ebe17545724a -Author: ebraminio -Date: Fri Aug 14 10:14:14 2020 +0430 - - [docs] Reorder TESTING.md sections - - And use --reconfigure where makes sense - - TESTING.md | 42 ++++++++++++++++++++---------------------- - 1 file changed, 20 insertions(+), 22 deletions(-) - -commit 1e48225ca312a955cc7f4a4b7683492e83d77117 -Author: ebraminio -Date: Thu Aug 13 23:22:14 2020 +0430 - - [ENOMEM] Check whether serialize context isn't in error - - src/hb-ot-shape-complex-arabic-fallback.hh | 4 ++-- - ...uzz-testcase-minimized-hb-shape-fuzzer-5138182937772032 | Bin 0 -> 68 bytes - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit 05ef75c55340400d4b318bd24d742653bbf825d9 -Author: Ebrahim Byagowi -Date: Thu Aug 13 20:52:03 2020 +0430 - - 2.7.1 - - NEWS | 8 ++++++++ - configure.ac | 2 +- - meson.build | 2 +- - src/hb-version.h | 4 ++-- - 4 files changed, 12 insertions(+), 4 deletions(-) - -commit 0a02f1e760db5c0568dc6e15c00fa394aa43ccbb -Author: Ebrahim Byagowi -Date: Thu Aug 13 15:33:39 2020 +0430 - - [meson] Abort if GDI/Uniscribe headers couldn't be found - - meson.build | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -commit 253a8f7a510ddfb8e2eb90de95db9763f2f42282 -Author: Ebrahim Byagowi -Date: Thu Aug 13 09:23:29 2020 +0430 - - [meson] Another approach to skip tests incompatible with MSVC - - src/meson.build | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -commit 24b42002434d3e8dc8d164f02dda7a9c3e5386b5 -Author: Ebrahim Byagowi -Date: Thu Aug 13 09:06:39 2020 +0430 - - [meson] Avoid using has_headers as that has added in 0.50.0 - - meson.build | 55 +++++++++++++++++++++++++++++-------------------------- - 1 file changed, 29 insertions(+), 26 deletions(-) - -commit 411b426c692f611dbcdec7a6516781aa4375d07e -Author: Ebrahim Byagowi -Date: Thu Aug 13 01:23:46 2020 +0430 - - [meson] minor - - src/meson.build | 14 ++++---------- - 1 file changed, 4 insertions(+), 10 deletions(-) - -commit 6e32145dc91e866132a3a3911870441e98737b16 -Author: Ebrahim Byagowi -Date: Thu Aug 13 00:13:06 2020 +0430 - - [meson] Make compatbile with 0.47.0 - - .circleci/config.yml | 2 +- - docs/meson.build | 4 ++-- - meson.build | 18 +++++++++++------- - perf/meson.build | 2 +- - src/meson.build | 21 ++++++++++----------- - test/fuzzing/meson.build | 6 +++--- - test/shaping/meson.build | 12 ++++++------ - test/subset/meson.build | 4 ++-- - 8 files changed, 36 insertions(+), 33 deletions(-) - -commit 58209c86a0d2d536ce3d35953ffe340762ad1f48 -Author: Ebrahim Byagowi -Date: Wed Aug 12 23:04:26 2020 +0430 - - [meson] Make compatbile with 0.49.0 - - Contains a just put together summary feature polyfill and workaround - to broken ternary operator. - - .circleci/config.yml | 3 +- - meson.build | 102 +++++++++++++++++++++++++++++++++------------------ - perf/meson.build | 8 +++- - src/meson.build | 28 +++++++++++--- - 4 files changed, 98 insertions(+), 43 deletions(-) - -commit 1e4fe10b98a291787ae561beca80cb70b481b108 -Author: Garret Rieger -Date: Wed Aug 12 13:06:37 2020 -0700 - - [ENOMEM] check for error in visited map during closure features. - - src/hb-ot-layout-gsubgpos.hh | 3 +++ - 1 file changed, 3 insertions(+) - -commit 9562239f0531c0e49e6ab7e157da578d454432c8 -Author: Garret Rieger -Date: Wed Aug 12 13:01:22 2020 -0700 - - [ENOMEM] check for error in lookup visited set. - - src/hb-ot-layout-gsubgpos.hh | 3 +++ - ...estcase-minimized-hb-subset-fuzzer-5741735372914688 | Bin 0 -> 560294 bytes - 2 files changed, 3 insertions(+) - -commit eea9b59fc5c7ad5649ba598765f335383795778f -Author: Tom Schoonjans -Date: Wed Aug 12 06:40:23 2020 +0200 - - [meson] fix generating introspection - - Only libharfbuzz_gobject is introspectable, not libharfbuzz. Therefore, - it makes no sense to target the latter for introspection: it should - instead be listed as a dependency. - - src/meson.build | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 7bffb5d7baf4dc8b96fab1f8dbc83740a6817b1a -Author: David Corbett -Date: Tue Aug 11 19:24:46 2020 -0400 - - Generate `has_arabic_joining` - - src/Makefile.am | 1 + - src/Makefile.sources | 1 + - src/gen-arabic-joining-list.py | 104 +++++++++++++++++++++++++ - src/hb-ot-shape-complex-arabic-joining-list.hh | 47 +++++++++++ - src/hb-ot-shape-complex-use.cc | 35 +-------- - src/meson.build | 1 + - src/update-unicode-tables.make | 3 + - 7 files changed, 158 insertions(+), 34 deletions(-) - -commit 6f754852c19ff26d693a1d78de55bab263281a72 -Author: Garret Rieger -Date: Tue Aug 11 15:40:47 2020 -0700 - - [ENOMEM] skip asserts in to_bias if serializer is in an error state. - - src/hb-serialize.hh | 1 + - ...testcase-minimized-hb-subset-fuzzer-5927551890096128 | Bin 0 -> 73364 bytes - 2 files changed, 1 insertion(+) - -commit 057769b1a316c604cf84c343a4a85a10f46c057c -Author: Ebrahim Byagowi -Date: Wed Aug 12 02:30:33 2020 +0430 - - [fuzzer] minor - - test/fuzzing/hb-draw-fuzzer.cc | 2 +- - test/fuzzing/hb-fuzzer.hh | 2 +- - test/fuzzing/hb-shape-fuzzer.cc | 2 +- - test/fuzzing/hb-subset-fuzzer.cc | 18 ++++++++---------- - 4 files changed, 11 insertions(+), 13 deletions(-) - -commit 04179380116d6e1efcf95a70f0d79b8e095b69c6 -Author: Ebrahim Byagowi -Date: Wed Aug 12 02:19:06 2020 +0430 - - [fuzzer] Mark alloc_state as unused - - It is really unused when failing-alloc isn't on. - - test/fuzzing/hb-fuzzer.hh | 8 +++++++- - 1 file changed, 7 insertions(+), 1 deletion(-) - -commit 2af58c351812603498f0b67e66f84f4a33a74455 -Author: Ebrahim Byagowi -Date: Wed Aug 12 00:51:07 2020 +0430 - - Revert "Remove cmake build files" - - This reverts commit 4e572c940724cdae6f140df924c9ad7f4baea35e. - - .circleci/config.yml | 3 +- - CMakeLists.txt | 768 +++++++++++++++++++++++++++++++++++++++++++++ - Makefile.am | 2 + - replace-enum-strings.cmake | 21 ++ - 4 files changed, 793 insertions(+), 1 deletion(-) - -commit ef2e3803429efe0f5a1fcb2679ae332139297917 -Author: Ebrahim Byagowi -Date: Wed Aug 12 00:50:33 2020 +0430 - - Revert "Remove cmake-config support of HarfBuzz" - - This reverts commit 75efa893433b6f352c28bda9d0a92683244900aa. - - configure.ac | 1 + - meson.build | 1 + - src/Makefile.am | 4 ++- - src/harfbuzz-config.cmake.in | 86 ++++++++++++++++++++++++++++++++++++++++++++ - src/meson.build | 10 ++++++ - 5 files changed, 101 insertions(+), 1 deletion(-) - -commit 0ca35570481ee16c44577913263032726a0c0a51 -Author: Ebrahim Byagowi -Date: Sun Aug 9 16:10:06 2020 +0430 - - Turn -Wunused-but-set-variable to warning - - As #2555 turned out some glib headers are imposing that so let's turn it to warning - - src/hb.hh | 1 + - 1 file changed, 1 insertion(+) - -commit 519335783224e2cbfd8a4a5b9071216fe2b139b5 -Author: Ebrahim Byagowi -Date: Tue Aug 11 23:51:59 2020 +0430 - - Revert "Remove autotools build support" - - This reverts commit 01ac32aab2109681abc58bb2f96a4ef4a7f0c6df. - - .circleci/config.yml | 15 + - Makefile.am | 96 ++ - README | 15 + - RELEASING.md | 2 +- - autogen.sh | 48 + - configure.ac | 540 +++++++++++ - docs/Makefile.am | 126 +++ - git.mk | 400 +++++++++ - m4/ax_check_link_flag.m4 | 74 ++ - m4/ax_code_coverage.m4 | 264 ++++++ - m4/ax_cxx_compile_stdcxx.m4 | 982 +++++++++++++++++++++ - m4/ax_pthread.m4 | 485 ++++++++++ - src/Makefile.am | 476 ++++++++++ - src/Makefile.sources | 284 ++++++ - test/Makefile.am | 15 + - test/api/Makefile.am | 222 +++++ - test/fuzzing/Makefile.am | 86 ++ - test/shaping/Makefile.am | 39 + - test/shaping/data/Makefile.am | 14 + - test/shaping/data/aots/Makefile.am | 27 + - test/shaping/data/aots/Makefile.sources | 126 +++ - test/shaping/data/in-house/Makefile.am | 26 + - test/shaping/data/in-house/Makefile.sources | 66 ++ - test/shaping/data/text-rendering-tests/Makefile.am | 32 + - .../data/text-rendering-tests/Makefile.sources | 95 ++ - test/subset/Makefile.am | 23 + - test/subset/data/Makefile.am | 45 + - test/subset/data/Makefile.sources | 31 + - util/Makefile.am | 78 ++ - util/Makefile.sources | 38 + - 30 files changed, 4769 insertions(+), 1 deletion(-) - -commit 9748ae7299330f0245e97f7b1f18cd1207043e62 -Author: Ebrahim Byagowi -Date: Tue Aug 11 17:52:48 2020 +0430 - - Revert "Reordering fails when GDEF table is absent #2140" - - This reverts commit f4cd99f28eefe695b86876736166fd119e22e04e. - - As requested in https://github.com/harfbuzz/harfbuzz/issues/2516#issuecomment-670969185 - - src/hb-ot-layout-gsubgpos.hh | 37 +++++++++++++++++-------------------- - src/hb-ot-layout.hh | 8 ++++---- - 2 files changed, 21 insertions(+), 24 deletions(-) - -commit d03eecb4d63e1cdac77a08d081179c28440b2d18 -Author: ebraminio -Date: Tue Aug 11 16:40:40 2020 +0430 - - [glyf] minor - - style improvement - - src/hb-ot-glyf-table.hh | 21 ++++++++++++--------- - 1 file changed, 12 insertions(+), 9 deletions(-) - -commit 732a9164d9c778a3d4315b189922d5b9c4a51495 -Author: ebraminio -Date: Tue Aug 11 16:37:55 2020 +0430 - - [gvar] minor - - src/hb-ot-var-gvar-table.hh | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit c0107c1e6ecf627d7dba344529fb5f054344f498 -Author: ebraminio -Date: Mon Aug 10 14:30:34 2020 +0430 - - [ci] test experimental APIs in Arch Linux and sanitizers - - .circleci/config.yml | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 0c1561894ac4899cd09ebef4b3d33a095e35c981 -Author: ebraminio -Date: Mon Aug 10 08:52:01 2020 +0430 - - [glyf] minor - - src/hb-ot-glyf-table.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit f06d7331e8b1643680df7f0126b2d89254563dcb -Author: Ebrahim Byagowi -Date: Mon Aug 10 08:35:06 2020 +0430 - - [glyf] minor - - src/hb-ot-glyf-table.hh | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -commit db96c7f67aac93ea025cf992c20acdf2364d93bc -Author: Ebrahim Byagowi -Date: Mon Aug 10 08:23:21 2020 +0430 - - [glyf] protect CompositeGlyph fields - - Introduce methods instead - - src/hb-ot-glyf-table.hh | 30 ++++++++++++++++++++---------- - 1 file changed, 20 insertions(+), 10 deletions(-) - -commit e5fe363aa5d06a4dfe665b97a22971f12c3f84f4 -Author: ebraminio -Date: Mon Aug 10 07:39:36 2020 +0430 - - [glyf] Minor, don't pass accelerator_t to points_aggregator_t - - No need to pass it to aggregator itself - - src/hb-ot-glyf-table.hh | 10 ++++------ - 1 file changed, 4 insertions(+), 6 deletions(-) - -commit 2b9927f7e16c7b25194b8aae36146bf23c73f131 -Author: ebraminio -Date: Mon Aug 10 06:26:21 2020 +0430 - - [glyf] minor - - No need to pass glyph_for_gid as a lambda now that we are passing the accelerator itself - - src/hb-ot-glyf-table.hh | 8 +++----- - 1 file changed, 3 insertions(+), 5 deletions(-) - -commit fce64a407d381372c92fcb5f0e551c17185ea735 -Author: Behdad Esfahbod -Date: Sat Aug 8 14:04:54 2020 -0600 - - Minor - - src/hb-ot-layout-gpos-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit ffe06c8f0498d7f5fe53c76e9d6fba9127997258 -Author: Ebrahim Byagowi -Date: Sat Aug 8 13:17:34 2020 +0430 - - [glyf] Guard all the public APIs against null pool runs - - Fixes https://crbug.com/oss-fuzz/24575 and https://crbug.com/oss-fuzz/24737 - - src/hb-ot-glyf-table.hh | 17 ++++++++++++----- - ...-testcase-minimized-hb-draw-fuzzer-5103082208493568 | Bin 0 -> 1069 bytes - ...-testcase-minimized-hb-draw-fuzzer-5641612227772416 | Bin 0 -> 1069 bytes - 3 files changed, 12 insertions(+), 5 deletions(-) - -commit 01ac32aab2109681abc58bb2f96a4ef4a7f0c6df -Author: Ebrahim Byagowi -Date: Sun Aug 2 11:35:55 2020 +0430 - - Remove autotools build support - - .circleci/config.yml | 15 - - Makefile.am | 96 -- - README | 15 - - RELEASING.md | 2 +- - autogen.sh | 48 - - configure.ac | 540 ----------- - docs/Makefile.am | 126 --- - git.mk | 400 --------- - m4/ax_check_link_flag.m4 | 74 -- - m4/ax_code_coverage.m4 | 264 ------ - m4/ax_cxx_compile_stdcxx.m4 | 982 --------------------- - m4/ax_pthread.m4 | 485 ---------- - src/Makefile.am | 476 ---------- - src/Makefile.sources | 284 ------ - test/Makefile.am | 15 - - test/api/Makefile.am | 222 ----- - test/fuzzing/Makefile.am | 86 -- - test/shaping/Makefile.am | 39 - - test/shaping/data/Makefile.am | 14 - - test/shaping/data/aots/Makefile.am | 27 - - test/shaping/data/aots/Makefile.sources | 126 --- - test/shaping/data/in-house/Makefile.am | 26 - - test/shaping/data/in-house/Makefile.sources | 66 -- - test/shaping/data/text-rendering-tests/Makefile.am | 32 - - .../data/text-rendering-tests/Makefile.sources | 95 -- - test/subset/Makefile.am | 23 - - test/subset/data/Makefile.am | 45 - - test/subset/data/Makefile.sources | 31 - - util/Makefile.am | 78 -- - util/Makefile.sources | 38 - - 30 files changed, 1 insertion(+), 4769 deletions(-) - -commit 3d164d5883ceb5698a98ca025b5f75ce465e1f51 -Author: Ryan Schmidt -Date: Thu Aug 6 20:45:44 2020 -0500 - - Use printf instead of echo -n in autogen.sh - - "echo -n" is not portable and on some POSIX systems it literally prints "-n". - - autogen.sh | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -commit 1f519c25670e8dfe694a7b3fa71c5bc7263b1b1f -Author: Ebrahim Byagowi -Date: Fri Aug 7 01:21:19 2020 +0430 - - [glyf] Optimize retrieval of hmtx/vmtx/gvar - - This should make glyf/gvar faster as makes it to invoke less table wrapper atomic operations and things. - - $ meson build -Dexperimental_api=true --buildtype=release && ninja -Cbuild && build/perf/perf "--benchmark_filter=glyf.*- ot -" - - Before: - extents/glyf - ot - SourceSerifVariable 46091 ns 46036 ns 16173 - extents/glyf/vf - ot - SourceSerifVariable 4160142 ns 4154913 ns 174 - extents/glyf - ot - Comfortaa 25754 ns 25726 ns 27030 - extents/glyf/vf - ot - Comfortaa 2627804 ns 2624596 ns 265 - extents/glyf - ot - Roboto 33556 ns 33540 ns 18513 - draw/glyf - ot - SourceSerifVariable 2716848 ns 2715438 ns 256 - draw/glyf/vf - ot - SourceSerifVariable 4602379 ns 4598907 ns 151 - draw/glyf - ot - Comfortaa 1659364 ns 1658142 ns 417 - draw/glyf/vf - ot - Comfortaa 2845100 ns 2842549 ns 246 - draw/glyf - ot - Roboto 1571509 ns 1570060 ns 442 - - After: - extents/glyf - ot - SourceSerifVariable 34738 ns 34713 ns 21332 - extents/glyf/vf - ot - SourceSerifVariable 3700510 ns 3698104 ns 187 - extents/glyf - ot - Comfortaa 21604 ns 21595 ns 31907 - extents/glyf/vf - ot - Comfortaa 2324787 ns 2323440 ns 296 - extents/glyf - ot - Roboto 31259 ns 31246 ns 21814 - draw/glyf - ot - SourceSerifVariable 2689230 ns 2687589 ns 260 - draw/glyf/vf - ot - SourceSerifVariable 4625135 ns 4622036 ns 131 - draw/glyf - ot - Comfortaa 1690336 ns 1689454 ns 402 - draw/glyf/vf - ot - Comfortaa 2898748 ns 2897074 ns 241 - draw/glyf - ot - Roboto 1570911 ns 1570138 ns 440 - - src/hb-ot-glyf-table.hh | 70 ++++++++++++++++++++++++++++++------------------- - 1 file changed, 43 insertions(+), 27 deletions(-) - -commit 0907c10214c9b989c76a34b260042e88c707f9bd -Author: Ebrahim Byagowi -Date: Fri Aug 7 00:15:32 2020 +0430 - - [gvar] minor - - src/hb-ot-var-gvar-table.hh | 11 +++-------- - 1 file changed, 3 insertions(+), 8 deletions(-) - -commit 679fac87dfbdef3192184b2d2374fda334205b41 -Author: Ebrahim Byagowi -Date: Thu Jul 30 15:29:43 2020 +0430 - - Skip hb_shape if buffer object is immutable - - src/hb-shape.cc | 2 ++ - test/fuzzing/hb-shape-fuzzer.cc | 6 ++---- - 2 files changed, 4 insertions(+), 4 deletions(-) - -commit 55c41f219f539464335c16dc8392787fd0ac1b46 -Author: Ebrahim Byagowi -Date: Thu Aug 6 23:37:43 2020 +0430 - - [glyf] Clamp advance value result - - Fixes a sanitizer complain https://circleci.com/gh/harfbuzz/harfbuzz/150247 revealed by 02d1ec1 - - src/hb-ot-glyf-table.hh | 9 +++++---- - 1 file changed, 5 insertions(+), 4 deletions(-) - -commit 02d1ec16585738d5e55354224bcfcc552b079a76 -Author: Ebrahim Byagowi -Date: Thu Aug 6 22:18:35 2020 +0430 - - [gvar] Don't fail on imprefect gvar - - No need to fail even if gvar doesn't have that much glyphs - - src/hb-ot-var-gvar-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit ec17b6245755a7527c7f5d5242868ce0886327c9 -Author: Ebrahim Byagowi -Date: Thu Aug 6 20:16:11 2020 +0430 - - [var] Apply variations on empty glyphs - - It was ignoring empty glyphs for no good reason, this fixes it. - - Fixes #2618 - - src/hb-ot-glyf-table.hh | 6 ++++-- - src/hb-ot-var-gvar-table.hh | 2 ++ - test/shaping/data/in-house/Makefile.sources | 1 + - .../fonts/ab40c89624a6104e5d0a2308e448a989302f515b.ttf | Bin 0 -> 7440 bytes - test/shaping/data/in-house/meson.build | 1 + - test/shaping/data/in-house/tests/variations-space.tests | 2 ++ - 6 files changed, 10 insertions(+), 2 deletions(-) - -commit 5cab55ca90a64da281ef2c55e892bb0d6ebb3019 -Author: Ebrahim Byagowi -Date: Thu Aug 6 18:54:58 2020 +0430 - - [gvar] minor - - src/hb-ot-var-gvar-table.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 20e42a212849554687b808b316f077a023126a95 -Author: Ebrahim Byagowi -Date: Tue Aug 4 16:49:27 2020 +0430 - - [docs] minor on TESTING.md - - TESTING.md | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit 5a2d216f309fa91faf76a1ebebbcf8a36e21f592 -Author: Ebrahim Byagowi -Date: Tue Aug 4 15:25:48 2020 +0430 - - [docs] meson related updates on install - - docs/usermanual-install-harfbuzz.xml | 83 +++++++++++++----------------------- - 1 file changed, 29 insertions(+), 54 deletions(-) - -commit 34a05320921629f430ed36c30e24494c9841079c -Author: Ebrahim Byagowi -Date: Tue Aug 4 15:14:59 2020 +0430 - - [meson] minor note - - meson.build | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit cac483bf1563381a6081b06592a96f7055427e10 -Author: Ebrahim Byagowi -Date: Mon Aug 3 18:41:49 2020 +0430 - - [docs] Update README.python.md with meson - - README.python.md | 9 ++------- - 1 file changed, 2 insertions(+), 7 deletions(-) - -commit 75efa893433b6f352c28bda9d0a92683244900aa -Author: Ebrahim Byagowi -Date: Thu Jul 30 01:17:42 2020 +0430 - - Remove cmake-config support of HarfBuzz - - Reverts d38f37b2 as discussed in #2316 - - configure.ac | 1 - - meson.build | 1 - - src/Makefile.am | 4 +-- - src/harfbuzz-config.cmake.in | 86 -------------------------------------------- - src/meson.build | 10 ------ - 5 files changed, 1 insertion(+), 101 deletions(-) - -commit 97079a7c8f7d52ff381b2b3d6e0c430358d1b340 -Author: Ebrahim Byagowi -Date: Sun Aug 2 12:34:21 2020 +0430 - - [meson] Pass cpp_eh=none and cpp_rtti=false as default options - - If we want to support a build with exception handling and RTTI - We should reflect that on library(..., link_language: 'c') also so for - now it is ok to just set it here to get MSVC support also and we - can remove hard coded flags later upon request. - - One other concern over just relying on it is on when harfbuzz is used - as a subproject and the parent project hasn't provided the same options, - that should be resolved first I think. - - Closes #2584 - - meson.build | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit 749e2754c83583e51034da09d3581af0f8d9e1a3 -Author: Ebrahim Byagowi -Date: Sun Aug 2 12:21:51 2020 +0430 - - [meson] remove useless note about -fvisibility-inlines-hidden - - It was put there as current situation of autotools but msys2 is ok - with the flag, if something like is needed for other it can handled - as a local patch. - - meson.build | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 903d6a1f1418a20094af53200a9da45214c1b6af -Author: Ebrahim Byagowi -Date: Sun Aug 2 11:40:47 2020 +0430 - - [perf] Enable ttf-parser build just with experimental_api - - ttf-parser API is subject to breaking change and we are interested on its - hb-draw like API so let's hide it more. - - perf/meson.build | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit cdb7d2b9bc0d5928ae4f6ba16fe905f603583688 -Author: Ebrahim Byagowi -Date: Sun Aug 2 11:26:29 2020 +0430 - - [docs] Update README.python.md with meson - - README.python.md | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 9fd48de6f0316fe6f1879879b96992b0471af88b -Author: Ebrahim Byagowi -Date: Sun Aug 2 11:22:09 2020 +0430 - - [docs] Adopt CONFIG.md with meson - - CONFIG.md | 15 +++++++-------- - 1 file changed, 7 insertions(+), 8 deletions(-) - -commit b0a4860d3429e9effc3e642d6ef57b92332d796b -Author: Ebrahim Byagowi -Date: Sun Aug 2 11:15:15 2020 +0430 - - [docs] Remove packagers related part - - Covered by https://github.com/harfbuzz/harfbuzz/wiki/Notes-on-migration-to-meson - - BUILD.md | 18 ++---------------- - 1 file changed, 2 insertions(+), 16 deletions(-) - -commit 50151567c13b8a3a2a838cbe1714b3cc1fd94bd6 -Author: Ebrahim Byagowi -Date: Sun Aug 2 10:43:25 2020 +0430 - - [ci] Disable Travis CI - - .ci/build-freetype.sh | 17 ----------------- - .ci/fail.sh | 18 ------------------ - .ci/run-coveralls.sh | 14 -------------- - .circleci/config.yml | 2 +- - .travis.yml | 43 ------------------------------------------- - README.md | 2 +- - 6 files changed, 2 insertions(+), 94 deletions(-) - -commit 11bb8aa83e57b288241b9156706e6f8d25eaf383 -Author: Ebrahim Byagowi -Date: Sun Aug 2 00:47:21 2020 +0430 - - [meson] limit check-libstdc++ check to 0.55 - - library(..., link_language: 'c') is introduced in 0.55 but we were relying on this anyway - assuming b_asneeded being true on meson. - - #2614 - - src/meson.build | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -commit 9d3fbe0588f8f4d5883e425680fc37778660b284 -Author: Ebrahim Byagowi -Date: Thu Jul 30 14:54:00 2020 +0430 - - [meson] Add darwin versions to library() - - We now have, - - $ otool -L src/libharfbuzz.dylib - src/libharfbuzz.dylib: - @rpath/libharfbuzz.0.dylib (compatibility version 0.0.0, current version 0.0.0) - - And with the change should we get - - $ otool -L src/libharfbuzz.dylib - src/libharfbuzz.dylib: - @rpath/libharfbuzz.0.dylib (compatibility version 20700.0.0, current version 20700.0.0) - - src/meson.build | 6 ++++++ - 1 file changed, 6 insertions(+) - -commit 18ab8029d5aab6ac20c240515ad1795bd31dca1e -Author: Garret Rieger -Date: Fri Jul 31 14:40:49 2020 -0700 - - [ENOMEM] check vector status in cmap subsetting. - - src/hb-ot-cmap-table.hh | 3 +++ - ...-testcase-minimized-hb-subset-fuzzer-6316256152780800 | Bin 0 -> 1335 bytes - 2 files changed, 3 insertions(+) - -commit 06dbb6acbbd322b3123820c73ed4371560efc558 -Author: Garret Rieger -Date: Fri Jul 31 15:56:14 2020 -0700 - - [ENOMEM] in GSUB ChainContext subsetting check maps for allocation errors. - - src/hb-ot-layout-gsubgpos.hh | 6 ++++++ - ...testcase-minimized-hb-subset-fuzzer-4880059756969984 | Bin 0 -> 45902 bytes - 2 files changed, 6 insertions(+) - -commit fb1477795cb950b25472efa8d47febe81340a45b -Author: Garret Rieger -Date: Fri Jul 31 14:00:38 2020 -0700 - - [ENOMEM] Check result of vector resize in CBDT subsetting. - - src/hb-ot-color-cbdt-table.hh | 6 +++++- - ...-testcase-minimized-hb-subset-fuzzer-6241118484955136 | Bin 0 -> 7345 bytes - 2 files changed, 5 insertions(+), 1 deletion(-) - -commit 8586bad2bdadccecd830fb0a1c973423115240fb -Author: Ebrahim Byagowi -Date: Fri Jul 31 09:28:51 2020 +0430 - - [ci] don't install rustc on linux-ci - - https://github.com/harfbuzz/harfbuzz/pull/2610/checks?check_run_id=930572217 - - .github/workflows/linux-ci.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit efd716de3f4c7616aedd5c449bf8d27d565d4ab6 -Author: Ebrahim Byagowi -Date: Fri Jul 31 08:58:53 2020 +0430 - - [cff] Check for scalars array resize result - - Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=24504 - - src/hb-cff2-interp-cs.hh | 8 +++++--- - ...zz-testcase-minimized-hb-draw-fuzzer-6231698648596480 | Bin 0 -> 2707 bytes - 2 files changed, 5 insertions(+), 3 deletions(-) - -commit 040ed094ef3cf032d84c4d65bd81f40c26f6f9e0 -Author: Garret Rieger -Date: Thu Jul 30 15:14:02 2020 -0700 - - [ENOMEM] popragate packed/packed_map errors to the serializer. - Will disable further modifications based on a bad state. - - src/hb-serialize.hh | 3 +++ - ...z-testcase-minimized-hb-subset-fuzzer-5661567174311936 | Bin 0 -> 473 bytes - 2 files changed, 3 insertions(+) - -commit 7f358a55f4b3c0eb6654be9e8c31ece29965b4d6 -Author: Garret Rieger -Date: Thu Jul 30 13:57:30 2020 -0700 - - [ENOMEM] unchecked resize in CFF2. - - src/hb-ot-cff2-table.hh | 3 ++- - ...-testcase-minimized-hb-subset-fuzzer-5181909018345472 | Bin 0 -> 2559 bytes - 2 files changed, 2 insertions(+), 1 deletion(-) - -commit 32f052b033f12fbeb8741c9616860743b1f567c4 -Author: Garret Rieger -Date: Thu Jul 30 13:45:04 2020 -0700 - - [ENOMEM] Fix several instances of not checking resize in CFF. - - src/hb-subset-cff-common.hh | 27 ++++++++++++++++++--- - src/hb-subset-cff1.cc | 14 +++++++++-- - src/hb-subset-plan.hh | 6 +++++ - ...ase-minimized-hb-subset-fuzzer-5707809174585344 | Bin 0 -> 107592 bytes - ...ase-minimized-hb-subset-fuzzer-5708623339323392 | Bin 0 -> 151 bytes - 5 files changed, 41 insertions(+), 6 deletions(-) - -commit 4cbc7d61bc5e7f0658fc58d807f94f3b7c335f0d -Author: Garret Rieger -Date: Thu Jul 30 12:20:31 2020 -0700 - - [ENOMEM] check for unset current in serializer->length(). - - src/hb-serialize.hh | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -commit 0d22fb38b97afb6082fb4e5791e6fdd0166fa4a9 -Author: Ebrahim Byagowi -Date: Thu Jul 30 23:18:57 2020 +0430 - - Copy parts of README.md to README - - Fixes https://github.com/harfbuzz/harfbuzz/issues/2591 - - README | 16 +++++++++++++++- - 1 file changed, 15 insertions(+), 1 deletion(-) - -commit cac30711834d343d36b0bea1138562beeb22340f -Author: Ebrahim Byagowi -Date: Thu Jul 30 16:25:42 2020 +0430 - - [meson] minor, use null_dep one more place - - perf/meson.build | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 4e572c940724cdae6f140df924c9ad7f4baea35e -Author: Ebrahim Byagowi -Date: Thu Jul 30 16:19:15 2020 +0430 - - Remove cmake build files - - As discussed in https://github.com/harfbuzz/harfbuzz/pull/2252 - - .circleci/config.yml | 3 +- - CMakeLists.txt | 768 --------------------------------------------- - Makefile.am | 2 - - replace-enum-strings.cmake | 21 -- - 4 files changed, 1 insertion(+), 793 deletions(-) - -commit 5f9ff04fb0002351f130f13cdb8719d81d1683e0 -Author: Ebrahim Byagowi -Date: Thu Jun 18 02:33:05 2020 +0430 - - Add comparison against ttf-parser - - .github/workflows/linux-ci.yml | 2 +- - perf/meson.build | 14 +++++- - perf/perf-draw.hh | 112 +++++++++++++++++++++++++++++------------ - perf/perf-extents.hh | 81 ++++++++++++++++++++--------- - perf/perf.cc | 1 + - subprojects/ttf-parser.wrap | 5 ++ - 6 files changed, 157 insertions(+), 58 deletions(-) - -commit 87f4aada9964d4eff92de50fa2cd3708c81b5066 -Author: Ebrahim Byagowi -Date: Thu Jul 30 15:20:17 2020 +0430 - - [docs] Update TESTING.md with meson - - TESTING.md | 67 ++++++++++++++++++-------------------------------------------- - 1 file changed, 19 insertions(+), 48 deletions(-) - -commit 15644ee60ecebb65fc4d8e6a5b999a3f1629c241 -Author: Garret Rieger -Date: Wed Jul 29 16:37:39 2020 -0700 - - [ENOMEM] fix memory leak if allocation fails during pop_pack(). - - src/hb-serialize.hh | 6 +++++- - ...zz-testcase-minimized-hb-subset-fuzzer-5684542900535296 | Bin 0 -> 70 bytes - 2 files changed, 5 insertions(+), 1 deletion(-) - -commit 42237adffcfd951616efc2f8fba2cd195eb002ea -Author: Garret Rieger -Date: Wed Jul 29 15:18:25 2020 -0700 - - [ENOMEM] make serializer modification operations no-ops if it's in an error state. - - src/hb-serialize.hh | 14 ++++++++++++++ - ...z-testcase-minimized-hb-subset-fuzzer-6231212713312256 | Bin 0 -> 76 bytes - 2 files changed, 14 insertions(+) - -commit d1f13014906d2540ea3f3e6f2aa2781e1314a869 -Author: Ebrahim Byagowi -Date: Thu Jul 30 02:01:43 2020 +0430 - - [icu] Remove support for versions older than 49 - - It just doesn't make sense anymore, https://github.com/harfbuzz/harfbuzz/commit/c9e5da8ded390b816613839214fe96137ca0a0a2#r41018112 - - src/hb-icu.cc | 2 -- - 1 file changed, 2 deletions(-) - -commit 0b74aaece71a3546c8ed4f60866c67b98e3659c0 -Author: Ebrahim Byagowi -Date: Thu Jul 30 01:47:30 2020 +0430 - - [icu] Remove useless HB_UNUSED tags - - As https://github.com/harfbuzz/harfbuzz/commit/c9e5da8ded390b816613839214fe96137ca0a0a2#r41018040 - - src/hb-icu.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit c9e5da8ded390b816613839214fe96137ca0a0a2 -Author: Ebrahim Byagowi -Date: Thu Jul 30 00:53:40 2020 +0430 - - [icu] Remove support of ICU versions before 42 - - ICU 42 is released in 2012, see also https://github.com/harfbuzz/harfbuzz/commit/44a3136ae6a28222922da13582bd2dfd3eb823c7#commitcomment-41016353 - - src/hb-icu.cc | 145 ++++++++++------------------------------------------------ - 1 file changed, 23 insertions(+), 122 deletions(-) - -commit 4ba8e3c6fd34cf0ab5f97e607bac708a978fa9b3 -Author: Garret Rieger -Date: Wed Jul 29 12:33:42 2020 -0700 - - [ENOMEM] Fix failure to check calloc return. - Fixes https://oss-fuzz.com/testcase-detail/6246465148813312. - - src/hb-ot-name-table.hh | 2 ++ - ...testcase-minimized-hb-subset-fuzzer-6246465148813312 | Bin 0 -> 24246 bytes - 2 files changed, 2 insertions(+) - -commit d307c24abf37b2702706cf9df0fab571a99e2a70 -Author: Garret Rieger -Date: Wed Jul 29 12:23:37 2020 -0700 - - [ENOMEM] check resize() return. - Fixes https://oss-fuzz.com/testcase-detail/5641892164009984. - - src/hb-ot-cff1-table.hh | 3 ++- - ...estcase-minimized-hb-subset-fuzzer-5641892164009984 | Bin 0 -> 124518 bytes - 2 files changed, 2 insertions(+), 1 deletion(-) - -commit 8b63de110921f139ffb74cf159e2b042b0cd73d8 -Author: Ebrahim Byagowi -Date: Wed Jul 29 17:25:00 2020 +0430 - - [docs] Use untouched result of rsvg-convert for HarfBuzz.svg render - - See also https://github.com/harfbuzz/harfbuzz/commit/1ec77522d838dd751733d3927e3d9589bf298853?short_path=1bb7b85 - - docs/HarfBuzz.png | Bin 4740 -> 6254 bytes - 1 file changed, 0 insertions(+), 0 deletions(-) - -commit 7bab6087bf1b7809ce05a9fb07a40d5708e4ff5d -Author: Ebrahim Byagowi -Date: Wed Jul 29 08:49:01 2020 +0430 - - [ci] Install meson's master - - As https://github.com/mesonbuild/meson/issues/7437 - - .github/workflows/linux-ci.yml | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 58a5961ca1f1d7c8ed89acf07620242208d33edf -Author: Ebrahim Byagowi -Date: Wed Jul 29 08:44:23 2020 +0430 - - minor spacing tweak - - src/hb-subset-plan.cc | 4 ++-- - util/hb-fc-list.c | 2 +- - 2 files changed, 3 insertions(+), 3 deletions(-) - -commit 07c43b8cf6c89c79eb3e23550c6a843eaade166b -Author: Ebrahim Byagowi -Date: Wed Jul 29 08:42:52 2020 +0430 - - minor spacing tweak - - src/hb-subset-plan.cc | 2 +- - util/options-subset.cc | 16 ++++++++-------- - 2 files changed, 9 insertions(+), 9 deletions(-) - -commit 5a7cc7fd8b6f7381c40be993faffb81b9608e9bf -Author: Ebrahim Byagowi -Date: Wed Jul 29 08:33:32 2020 +0430 - - minor spacing tweak - - perf/perf-draw.hh | 2 +- - src/hb-ot-cmap-table.hh | 154 ++++++++++++++++++++--------------------- - src/hb-ot-layout-common.hh | 8 +-- - src/hb-ot-layout-gdef-table.hh | 18 ++--- - src/hb-ot-layout-gpos-table.hh | 82 +++++++++++----------- - src/hb-ot-layout-gsub-table.hh | 4 +- - src/hb-ot-layout-gsubgpos.hh | 20 +++--- - src/hb-subset-plan.cc | 7 +- - src/hb-subset-plan.hh | 5 +- - util/options-subset.cc | 2 +- - 10 files changed, 149 insertions(+), 153 deletions(-) - -commit 48ad745996159337fb4733561e834a0ffbe3a1ae -Author: Ebrahim Byagowi -Date: Wed Jul 29 08:09:08 2020 +0430 - - [ENOMEM] Fix buffer's content check logic - - So now rest of shape fuzzer also can be enabled. - - Fixes #2571 - - src/hb-buffer-serialize.cc | 8 ++++---- - src/hb-buffer.cc | 12 ++++++------ - test/fuzzing/hb-shape-fuzzer.cc | 14 ++++++-------- - 3 files changed, 16 insertions(+), 18 deletions(-) - -commit c33e8006fdaec3b4acf8927c75e04129e0410a59 -Author: Ebrahim Byagowi -Date: Tue Jul 14 19:29:58 2020 +0430 - - [fuzz] Implement failing allocator - - src/failing-alloc.c | 57 ++++++++++++++++++++++++++++++++++++++++ - src/meson.build | 8 ++++++ - test/fuzzing/hb-draw-fuzzer.cc | 2 ++ - test/fuzzing/hb-fuzzer.hh | 8 ++++++ - test/fuzzing/hb-set-fuzzer.cc | 2 ++ - test/fuzzing/hb-shape-fuzzer.cc | 6 +++++ - test/fuzzing/hb-subset-fuzzer.cc | 2 ++ - test/fuzzing/meson.build | 4 ++- - 8 files changed, 88 insertions(+), 1 deletion(-) - -commit 44a3136ae6a28222922da13582bd2dfd3eb823c7 -Author: Ebrahim Byagowi -Date: Wed Jul 29 07:03:44 2020 +0430 - - [glib] Default to glib's script type handling - - 2.29.14 is almost released a decade ago, no need to support archaic glib versions. - - src/hb-glib.cc | 148 +-------------------------------------------------------- - 1 file changed, 1 insertion(+), 147 deletions(-) - -commit dae32b4f12da5d90de32886b0fd16653e3853e25 -Author: Garret Rieger -Date: Tue Jul 28 18:31:46 2020 -0700 - - [subset] bail out of subsetting if plan allocation fails. - - src/hb-face.cc | 3 +++ - src/hb-subset-plan.cc | 6 +++++- - src/hb-subset-plan.hh | 6 ++++++ - src/hb-subset.cc | 3 +++ - 4 files changed, 17 insertions(+), 1 deletion(-) - -commit d38d63319bcec35a5dccb5e6ab49eee123bd4c0e -Author: Ebrahim Byagowi -Date: Mon Jul 27 09:19:29 2020 +0430 - - [tests] minor - - test/subset/run-tests.py | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - -commit 322426f8c8ef818a60ec9090670ff077647fdfa2 -Author: Ebrahim Byagowi -Date: Mon Jul 27 09:03:35 2020 +0430 - - [tests] Use TTFont of fonttools to avoid temp files - - test/subset/run-tests.py | 56 +++++++++++++++++------------------------------- - 1 file changed, 20 insertions(+), 36 deletions(-) - -commit 08fef15818013e12ae49e44261f0bf8773124591 -Author: Hamidreza Bayat -Date: Sun Jul 26 17:16:07 2020 +0430 - - Use fonttools's python package instead of cli - - test/subset/run-tests.py | 16 ++++++++-------- - 1 file changed, 8 insertions(+), 8 deletions(-) - -commit bec3db49bd1002b4fbe5baf3ca462bce85fb7da5 -Author: Ebrahim Byagowi -Date: Sat Jul 25 13:45:34 2020 +0430 - - [ci] meson-gcc-mingw to crossbuild-win32 - - .circleci/config.yml | 16 +++------------- - 1 file changed, 3 insertions(+), 13 deletions(-) - -commit 24a6f046e467b875c71b8897078af1311dda11be -Author: Ebrahim Byagowi -Date: Sat Jul 25 13:18:54 2020 +0430 - - [releasing] unbreak the build - - Use lower number of parallel jobs as https://circleci.com/gh/harfbuzz/harfbuzz/149413 apparent compiler OOM issue - - .ci/build-win32.sh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit cddfe4ea275f869afedc9adfae65d6b1317552da -Author: Ebrahim Byagowi -Date: Sat Jul 25 13:09:57 2020 +0430 - - [releasing] Use release buildtype - - guess will optimize speed and size of the output, non important things anyway for the test only win32 packs - - .ci/build-win32.sh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit a01c7a380b9a3351bc7056c816e1340b5374a6f8 -Author: Ebrahim Byagowi -Date: Sat Jul 25 12:27:31 2020 +0430 - - 2.7.0 - - NEWS | 21 +++++++++++++++++++++ - configure.ac | 9 +++------ - meson.build | 4 +--- - src/hb-version.h | 6 +++--- - 4 files changed, 28 insertions(+), 12 deletions(-) - -commit b32f2e8b490b3909c2ba6eb1b97506710efcbe5f -Author: Evgeniy Reizner -Date: Thu Jul 23 11:48:19 2020 +0300 - - Remove unused code from the Khmer shaper. - - src/hb-ot-shape-complex-khmer.cc | 4 ---- - 1 file changed, 4 deletions(-) - -commit f9ac6ddbef0eba3ab172b1e2439ce776870b969f -Author: Ebrahim Byagowi -Date: Wed Jul 22 17:53:04 2020 +0430 - - [meson] Rename 'gtk_doc' option to 'docs' - - docs/meson.build | 2 +- - meson.build | 2 +- - meson_options.txt | 2 +- - 3 files changed, 3 insertions(+), 3 deletions(-) - -commit 11ae45f6ebbff8ef1d8706c384e3ee74889917a7 -Author: Ebrahim Byagowi -Date: Wed Jul 22 17:52:16 2020 +0430 - - [ci] Don't run cov-analyze - - https://stackoverflow.com/a/59353318 - - .github/workflows/coverity-scan.yml | 1 - - 1 file changed, 1 deletion(-) - -commit 46ec6db9656537997b29581cabb6dba901565767 -Author: Ebrahim Byagowi -Date: Wed Jul 22 17:30:48 2020 +0430 - - minor - - src/hb-aat-layout-kerx-table.hh | 4 +--- - src/hb-ot-map.hh | 4 ++-- - src/hb-subset-cff1.cc | 2 +- - 3 files changed, 4 insertions(+), 6 deletions(-) - -commit 5c46683ab8b3f390a8aa043be97d89674e24162d -Author: Ebrahim Byagowi -Date: Wed Jul 22 17:23:22 2020 +0430 - - [fuzz] increase shape fuzzer timeout - - as https://circleci.com/gh/harfbuzz/harfbuzz/149203 - - test/fuzzing/meson.build | 1 + - 1 file changed, 1 insertion(+) - -commit 83c44f69d3724acbb16b25c1c1dee564ca1c3604 -Author: insilications -Date: Mon Jul 20 17:35:10 2020 -0300 - - [tests] fix PGO build testing - - Adds 'mangle_path' to IGNORED_SYMBOLS - - src/check-symbols.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 024fc665da00be5b8615af88cd00ed1a0f7485e9 -Author: Ebrahim Byagowi -Date: Mon Jul 20 23:57:27 2020 +0430 - - [ci] disable clang nightly installation - - they don't like to work apparently for some reason https://circleci.com/gh/harfbuzz/harfbuzz/149164 - - better to use oss-fuzz docker images, gcr.io/oss-fuzz-base/base-clang, but the fact it uses 16.04 is showstopper for us. - - .circleci/config.yml | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit d058e56cf1015f6b922642d2cd7ccef27efd9958 -Author: Christoph Reiter -Date: Mon Jul 20 20:50:09 2020 +0200 - - [ci] Update to msys2/setup-msys2@v2 - - This update introduces better error handling and package caching by default. - - .github/workflows/msys2-ci.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit ae8a71dfb8ad3b6f7cb48ff79dbc8a103f6d6fca -Author: Ebrahim Byagowi -Date: Mon Jul 20 20:16:15 2020 +0430 - - [ci] minor, use --auto-features=enabled - - .github/workflows/linux-ci.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 9bb15ee2edf563797ab5cdded6bb3ea186cd2fd6 -Author: Ebrahim Byagowi -Date: Sun Jul 19 22:24:13 2020 +0430 - - [ci] remove irc notification - - is just a noise there, yet, done to see if is anyone really wants it let's see how I can bring it back in some other bot - - .travis.yml | 1 - - 1 file changed, 1 deletion(-) - -commit f65a8a33b60d04548ee755d1e052fc01ff6f1248 -Author: Ebrahim Byagowi -Date: Sun Jul 19 18:13:48 2020 +0430 - - [ci] run cov-analyze - - apparently we have to run that also ourselves, let's see - - .github/workflows/coverity-scan.yml | 1 + - 1 file changed, 1 insertion(+) - -commit ab1079b04621311b9e5b776adf77ab6038fefa66 -Merge: 05ed1ee0c 93aea76a2 -Author: Ebrahim Byagowi -Date: Sat Jul 18 23:05:50 2020 +0430 - - Merge pull request #2577 from lazka/gha-msvc - - Use GitHub Actions for msvc bots - -commit 05ed1ee0c41088481baf8aafddd8d6976db0bdac -Author: Ebrahim Byagowi -Date: Sat Jul 18 23:05:26 2020 +0430 - - [ci] Remove appveyor ci badge - - As https://github.com/harfbuzz/harfbuzz/pull/2577 - - README.md | 1 - - 1 file changed, 1 deletion(-) - -commit 93aea76a25640d923168272f001db43e776c8bdb -Author: Christoph Reiter -Date: Sat Jul 18 19:32:19 2020 +0200 - - Fix the GHA msvc build - - Use the 'ilammy/msvc-dev-cmd' action for setting up the msvc env, - so we can use powershell everywhere. - - Remove a directory from PATH which was interfering with the meson build - by providing an unrelated pkg-config.exe. - - .github/workflows/msvc-ci.yml | 26 +++++++++++++++++++------- - 1 file changed, 19 insertions(+), 7 deletions(-) - -commit d0e2addd43dad705d9f54134b97ae81757f5e25e -Author: Ebrahim Byagowi -Date: Sat Jul 18 22:14:52 2020 +0430 - - minor - - src/hb-aat-layout-bsln-table.hh | 2 +- - src/hb-aat-layout-kerx-table.hh | 8 +++----- - src/hb-aat-layout-morx-table.hh | 2 +- - src/hb-buffer.cc | 4 ++-- - src/hb-buffer.hh | 2 +- - src/hb-cff2-interp-cs.hh | 2 +- - src/hb-font.hh | 2 +- - src/hb-ot-cmap-table.hh | 30 +++++++++++++-------------- - src/hb-ot-layout-common.hh | 14 ++++++------- - src/hb-ot-layout-gdef-table.hh | 8 ++++---- - src/hb-ot-layout-gpos-table.hh | 45 ++++++++++++++++++++++++----------------- - src/hb-ot-layout-gsub-table.hh | 4 ++-- - src/hb-ot-layout-gsubgpos.hh | 8 ++++---- - src/hb-ot-math-table.hh | 16 +++++++-------- - src/hb-ot-shape.cc | 4 ++-- - src/hb-ot-var-gvar-table.hh | 2 +- - src/hb-subset-cff2.cc | 14 ++++++------- - 17 files changed, 87 insertions(+), 80 deletions(-) - -commit 3a46ae51273ce086aaec8ccf14420bbf5a36dffb -Author: Ebrahim Byagowi -Date: Wed Jul 15 12:46:34 2020 +0430 - - Use GitHub Actions for msvc bots - - .github/workflows/msvc-ci.yml | 38 ++++++++++++++++++++++++++++++++++++++ - appveyor.yml | 37 ------------------------------------- - 2 files changed, 38 insertions(+), 37 deletions(-) - -commit 7e3edfa4541189cc3f9f477192629ad1a197b727 -Author: Ebrahim Byagowi -Date: Sat Jul 18 19:03:36 2020 +0430 - - minor - - src/hb-open-type.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 8e5bc535d10fb166f721520db6977cc4e949f1c5 -Author: Qunxin Liu -Date: Wed Jul 15 18:54:52 2020 -0700 - - [subset] call collect_mapping only when --gids option is used. - - collect_mapping is time consuming as it iterates all codepoints in all - cmap subtables, only trigger it when necessary - - src/hb-ot-cmap-table.hh | 11 +++++++---- - src/hb-ot-os2-table.hh | 39 ++++++++++++++++++++++----------------- - 2 files changed, 29 insertions(+), 21 deletions(-) - -commit 1ebe5bad1a0b54b73ef0ab7cd1f67030120b3482 -Author: Ebrahim Byagowi -Date: Thu Jul 16 01:45:38 2020 +0430 - - [ci] minor fix - - appveyor.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit e9b71c296b45f1dc254f015caaa82b5b5f0792a4 -Author: Ebrahim Byagowi -Date: Thu Jul 16 01:40:48 2020 +0430 - - [ci] cleanup - - appveyor.yml | 13 +++---------- - 1 file changed, 3 insertions(+), 10 deletions(-) - -commit 8cbdb6fa41b7364f59bb03295a307dd903908eef -Author: Ebrahim Byagowi -Date: Wed Jul 15 13:32:57 2020 +0430 - - [meson] Don't enable benchmark under the conditions ever - - As we don't want to make headache for packagers as we don't want to - enable it when --auto-features=enabled is used. - - .github/workflows/msys2-ci.yml | 3 +-- - meson.build | 8 ++++---- - 2 files changed, 5 insertions(+), 6 deletions(-) - -commit dc981fe951f10e88723452d3eeab8be2ed7d1c55 -Author: Ebrahim Byagowi -Date: Wed Jul 15 13:15:27 2020 +0430 - - [meson] Merge gdi and uniscribe - - They are the same thing obviously - - meson.build | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit 8e7a9b6eebfa2fbdfe90b80189d4428a1fb3b14e -Author: Christoph Reiter -Date: Wed Jul 15 09:01:53 2020 +0200 - - msys2-ci: clean up - - .github/workflows/msys2-ci.yml | 20 +++++++------------- - 1 file changed, 7 insertions(+), 13 deletions(-) - -commit 9a4d590eeeda7f24e80c272aa4906f5446c07c1d -Author: Christoph Reiter -Date: Wed Jul 15 07:38:20 2020 +0200 - - CI: Port MSYS2 jobs from appveyor to github actions - - .github/workflows/msys2-ci.yml | 66 ++++++++++++++++++++++++++++++++++++++++++ - appveyor.yml | 18 ------------ - 2 files changed, 66 insertions(+), 18 deletions(-) - -commit 945bcd7230277e648734b7d8a82e868d1f13257f -Author: Ebrahim Byagowi -Date: Wed Jul 15 09:54:32 2020 +0430 - - minor - - test/fuzzing/hb-subset-fuzzer.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit fa0436ddd16e463dfd4600822b90f8943ff7baf5 -Author: Ebrahim Byagowi -Date: Wed Jul 15 09:52:40 2020 +0430 - - [ENOMEM][fuzzer/subset] early return if the result is null - - I don't see _or_fail APIs idiomatic for the project but since it is there, let's have this - - test/fuzzing/hb-subset-fuzzer.cc | 1 + - 1 file changed, 1 insertion(+) - -commit 7c433ffde2d566d849cd54a881abddad4d7e2f51 -Author: Ebrahim Byagowi -Date: Wed Jul 15 09:38:12 2020 +0430 - - Add HB_CUSTOM_MALLOC definition - - So one can use just HB_CUSTOM_MALLOC instead need for define each of hb_*alloc_impl - - src/hb.hh | 13 +++++++++---- - 1 file changed, 9 insertions(+), 4 deletions(-) - -commit 60959b08e532c0c61d0c5c89507a983595079df1 -Author: Ebrahim Byagowi -Date: Tue Jul 14 20:28:06 2020 +0430 - - [meson] execute find_program('gen-ragel-artifacts.py') only once - - should rename the script also - - src/meson.build | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 5c8e1bd2370e6b78de8d2b6ef6968c0429b37633 -Author: Ebrahim Byagowi -Date: Tue Jul 14 17:47:10 2020 +0430 - - [meson] Don't allow introspection on static library - - src/meson.build | 12 +++++++++++- - 1 file changed, 11 insertions(+), 1 deletion(-) - -commit 9566904cb3eee5c33c166641debf1567d9ca301b -Author: Ebrahim Byagowi -Date: Tue Jul 14 15:17:17 2020 +0430 - - [morx] minor, mark with unlikely - - at least just to show this is the unusual path - - src/hb-aat-layout-morx-table.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 11d583a9eaf5089418d0091a01e8e10be37485e1 -Author: Ebrahim Byagowi -Date: Tue Jul 14 06:23:06 2020 +0430 - - [aat] Consume glyph insertion from buffer's max_ops (#2223) - - Glyph insertion is an expensive operation and we like to have it limited - based on buffer's input size which is handled by buffer's max_ops. - - clusterfuzz-testcase-minimized-harfbuzz_fuzzer-5754958982021120: - - Before the change: 0.67s user 0.00s system 99% cpu 0.674 total - After the change: 0.02s user 0.00s system 98% cpu 0.024 total - - Which takes much longer on valgrind and tsan bots. - - src/hb-aat-layout-morx-table.hh | 2 ++ - ...zz-testcase-minimized-harfbuzz_fuzzer-5754958982021120 | Bin 0 -> 319 bytes - 2 files changed, 2 insertions(+) - -commit 6937092a66aefa7602a38827a52b4241d3f96168 -Author: Ebrahim Byagowi -Date: Mon Jul 13 21:32:15 2020 +0430 - - [py] apply lgtm.com python suggestions - - src/gen-indic-table.py | 5 ++--- - src/gen-use-table.py | 5 ++--- - 2 files changed, 4 insertions(+), 6 deletions(-) - -commit 2a182128b9c1ffd825f5c0b1f94cbff8b28a8934 -Author: Ebrahim Byagowi -Date: Mon Jul 13 20:41:13 2020 +0430 - - [py] minor, comment buffer_add_utf8 call - - mainly to apply lgtm suggestion, looks better also however, - some minor spacing is also applied. - - src/sample.py | 29 ++++++++++++++--------------- - 1 file changed, 14 insertions(+), 15 deletions(-) - -commit 2c1d699409cd43af4b86649143f533418b03cf29 -Author: Ebrahim Byagowi -Date: Mon Jul 13 20:26:57 2020 +0430 - - [ci] use clang for cov-build - - to be honest this is done as a let's see what - happens move but the background is coverity - reveals more things for Firefox project and there - should be an interesting reason for it. - - .github/workflows/coverity-scan.yml | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit cdf18e8338325f4d6fdc307f3b2216b4c4a24e14 -Author: Ebrahim Byagowi -Date: Mon Jul 13 20:07:51 2020 +0430 - - [py] minor, remove unnecessary pass - - discovered by lgtm - - src/gen-arabic-table.py | 1 - - 1 file changed, 1 deletion(-) - -commit 45d9e8d76c128fff73e6cf9291df60cfd8d1b25b -Author: Ebrahim Byagowi -Date: Mon Jul 13 19:25:53 2020 +0430 - - [py] minor, remove unused import - - src/gen-ragel-artifacts.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 9ab7525a0623048ac924467745683231488bc399 -Author: Ebrahim Byagowi -Date: Mon Jul 13 01:15:36 2020 +0430 - - [ci] use a fixed version of meson in gh actions bot - - a patch is uploaded to fix the issue with b_coverage in meson upstream thus let's revive our bot at least for now - - .github/workflows/linux-ci.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 3236db625b77337a048b9f3ab04fc28f4f6dcb0c -Author: Ebrahim Byagowi -Date: Mon Jul 13 01:06:24 2020 +0430 - - [ci] install a fixed version of meson in msys2 bots - - for some reason apparently msys2 installation here has 0.51 version, which, is weird, lets use a fixed version anyway - - appveyor.yml | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 51a8eb1c028ba430986bbe4b1e6afaf0063a6f76 -Author: Ebrahim Byagowi -Date: Sun Jul 12 23:40:50 2020 +0430 - - [ci] use meson package from msys2 - - as https://github.com/harfbuzz/harfbuzz/issues/2561#issuecomment-657261692 - - appveyor.yml | 17 +++++++---------- - 1 file changed, 7 insertions(+), 10 deletions(-) - -commit 3163e9fedb1029439f381c1192f0e057870437ea -Author: Ebrahim Byagowi -Date: Sun Jul 12 23:11:45 2020 +0430 - - [ci] Remove HB_TEST_SUBSET_FUZZER_TIMEOUT - - meson is passing it itself - - Fortunately oss-fuzz has its own timeout value, I just like to be conservative here - and not involve outsiders with flakiness of tests specially as meson which runs - them concurrently so consuming more time is expected on meson. - - .circleci/config.yml | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -commit cd6f62d9608c7fabd75028c2146a7e034bcc6a85 -Author: Ebrahim Byagowi -Date: Sun Jul 12 23:05:11 2020 +0430 - - [meson] Raise timeout value of subset fuzzer testcases - - happens when tsan is enabled - - test/fuzzing/meson.build | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 1dfa33854f065d5bee104e880f138b994448f44f -Author: Behdad Esfahbod -Date: Sun Jul 12 09:24:03 2020 -0700 - - [arabic] Remove stale comment - - src/hb-ot-shape-complex-arabic.cc | 2 -- - 1 file changed, 2 deletions(-) - -commit f8d345ee06596f90f0588d97e012dd3f62245897 -Author: Ebrahim Byagowi -Date: Thu Jul 9 10:57:51 2020 +0430 - - [ci] Remove ambiguous-reversed-operator warning from whitelist - - Should be fixed by 6a45df0 - - .circleci/config.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 6a45df0a543a74d6d19e249f043c9b223aae1935 -Author: Behdad Esfahbod -Date: Wed Jul 8 18:17:40 2020 -0500 - - Fix -Wambiguous-reversed-operator warning - - Fixes https://github.com/harfbuzz/harfbuzz/issues/2554 - - src/hb-map.hh | 2 +- - src/hb-object.hh | 4 ++-- - 2 files changed, 3 insertions(+), 3 deletions(-) - -commit 5ea11cb817efbad0daae1a6ca5b60edf55c19d79 -Author: Ebrahim Byagowi -Date: Wed Jul 8 19:29:47 2020 +0430 - - [ci] don't use harfbuzz.cc with -Weverything - - Causes - - In file included from src/harfbuzz.cc:13: - src/hb-ot-cff1-table.cc:36:17: error: using namespace directive in global context in header [-Werror,-Wheader-hygiene] - using namespace CFF; - ^ - In file included from src/harfbuzz.cc:14: - src/hb-ot-cff2-table.cc:35:17: error: using namespace directive in global context in header [-Werror,-Wheader-hygiene] - using namespace CFF; - ^ - 2 errors generated. - - .circleci/config.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit e4f9969108f7a01d7c37c856e6833b400d0278de -Author: Ebrahim Byagowi -Date: Wed Jul 8 15:10:25 2020 +0430 - - [ci] migrate to meson - - two bots, one bot here (distcheck) and one in travis still run autotools and - won't be removed till we decide about autotools - - .circleci/config.yml | 210 ++++++++------------------------ - test/fuzzing/run-draw-fuzzer-tests.py | 6 +- - test/fuzzing/run-shape-fuzzer-tests.py | 6 +- - test/fuzzing/run-subset-fuzzer-tests.py | 6 +- - 4 files changed, 55 insertions(+), 173 deletions(-) - -commit f62f4e388b1a904ea4b2863ec62bb7b4db153fe2 -Author: Ebrahim Byagowi -Date: Wed Jul 8 00:26:40 2020 +0430 - - [meson] minor on gdi, dwrite and icu - - meson.build | 49 ++++++++++++++++++++++--------------------------- - 1 file changed, 22 insertions(+), 27 deletions(-) - -commit 69a1e07acb721cc2345e731f4b85a786a1d95323 -Author: Ebrahim Byagowi -Date: Wed Jul 8 03:12:09 2020 +0430 - - [meson] don't enable benchmark if is in nodownload wrap mode - - Fixes #2551 - - meson.build | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit e04050e3b856d275779a2d010fc59ff230a8c4d8 -Author: Ebrahim Byagowi -Date: Wed Jul 8 01:06:30 2020 +0430 - - [meson] split fuzzer_ldflags before use - - test/fuzzing/meson.build | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 747f65f9ef28c552b53d4afa95cd7706acf78e44 -Author: Ebrahim Byagowi -Date: Tue Jul 7 11:37:16 2020 +0430 - - [meson] Remove HAVE_OT and HAVE_FALLBACK - - No need as 1e8fdd2 and 23768a9 - - meson.build | 2 -- - 1 file changed, 2 deletions(-) - -commit c5def347300b37368d3b342fc0f6e7a5fbd76ff4 -Author: Ebrahim Byagowi -Date: Mon Jul 6 23:29:56 2020 +0430 - - [meson] don't underscorify fuzzers names - - test/fuzzing/meson.build | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit d608f2ac85c5f7b5b98ffd8e9be76567af3aefb0 -Author: Ebrahim Byagowi -Date: Mon Jul 6 22:40:51 2020 +0430 - - [meson] Add fuzzer_ldflags - - As ots, https://github.com/khaledhosny/ots/commit/4d37b9b - - meson_options.txt | 2 ++ - test/fuzzing/meson.build | 12 +++++++++++- - 2 files changed, 13 insertions(+), 1 deletion(-) - -commit e1c35ca581886a0fe761ea95fdda2cfc3f720403 -Author: Ebrahim Byagowi -Date: Mon Jul 6 22:29:11 2020 +0430 - - [meson] rename the section - - As Behdad's comment - - meson.build | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit ddb103ea1a729893a8a0dde24881f13534727207 -Author: Ebrahim Byagowi -Date: Mon Jul 6 22:27:39 2020 +0430 - - [meson] minor - - meson.build | 20 +++++++++++--------- - 1 file changed, 11 insertions(+), 9 deletions(-) - -commit 13d78b50f2b8a3941e495bc47f0a019a1f6b5fa5 -Author: Ebrahim Byagowi -Date: Mon Jul 6 22:22:42 2020 +0430 - - [doc] minor - - BUILD.md | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit e5dd7d3ef94d68c3f28763962aa3855baf3488b8 -Author: Ebrahim Byagowi -Date: Mon Jul 6 21:40:19 2020 +0430 - - [doc] more on build - - BUILD.md | 24 ++++++++++++++++++++---- - 1 file changed, 20 insertions(+), 4 deletions(-) - -commit 471ae786ce1544e03181ff06d33f5e5a8a71aff4 -Author: Ebrahim Byagowi -Date: Mon Jul 6 18:29:23 2020 +0430 - - [ci] Install a newer meson version - - .circleci/config.yml | 12 ++++++++---- - 1 file changed, 8 insertions(+), 4 deletions(-) - -commit 694a0c6bbc7c7f8dae9617bb3e1718bba940ce6a -Author: Ebrahim Byagowi -Date: Mon Jul 6 18:28:31 2020 +0430 - - [meson] Always add icu deps - - .circleci/config.yml | 4 ++-- - test/api/meson.build | 15 +++++++-------- - 2 files changed, 9 insertions(+), 10 deletions(-) - -commit 28554cb831f60876c0c844b5016118ce11145fcd -Author: Ebrahim Byagowi -Date: Mon Jul 6 17:04:54 2020 +0430 - - [doc] add a note for packagers - - BUILD.md | 8 +++++++- - 1 file changed, 7 insertions(+), 1 deletion(-) - -commit 0fc52d3b2d918e0123d2083a005799b30cb9733b -Author: Ebrahim Byagowi -Date: Mon Jul 6 16:47:50 2020 +0430 - - [doc] Simplify and extend build instructions - - BUILD.md | 44 ++++++++------------------------------------ - 1 file changed, 8 insertions(+), 36 deletions(-) - -commit 3a8d137c2c0c06dd672894ed1b2dcd97f6bab27e -Author: Ebrahim Byagowi -Date: Mon Jul 6 16:31:32 2020 +0430 - - [ci] migrate macOS bots to meson - - .circleci/config.yml | 33 ++++++++++++++++----------------- - 1 file changed, 16 insertions(+), 17 deletions(-) - -commit a2b52cbb77e37b5287608b457f483e1b7712e1b2 -Author: Khaled Hosny -Date: Mon Jul 6 17:01:23 2020 +0200 - - [ci] Use --wrap-mode=default for MSVC builds - - appveyor.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit dc684103d4aededf91e92ead21a8c42ac2acef87 -Author: Khaled Hosny -Date: Mon Jul 6 14:48:37 2020 +0200 - - [meson] Set the default wrap mode to nofallback - - This, I believe, will prevent any automatic use of subprojects be - default and will only look for dependencies on the system. - https://mesonbuild.com/Subprojects.html#commandline-options - - meson.build | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 52199349aa898ae64ec83896d2a0edf6284a0715 -Author: Ebrahim Byagowi -Date: Mon Jul 6 16:30:59 2020 +0430 - - [meson] mark meson as tested - - tested in a CI bot that in a `-Dcoretext=enabled` build, `build/util/hb-shape --shaper=ot` works fine. - - meson.build | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit ba810ce83d392daeaa0c69af5549d020436a5ac7 -Author: Ebrahim Byagowi -Date: Sun Apr 5 22:51:58 2020 +0430 - - [tests] Replace space with colon in batch mode - - test/shaping/run-tests.py | 17 ++++++----------- - util/hb-shape.cc | 7 +++++-- - 2 files changed, 11 insertions(+), 13 deletions(-) - -commit 2013babcbffbd94e9fc0649d2862527a635d4e12 -Author: Ebrahim Byagowi -Date: Mon Jul 6 11:57:45 2020 +0430 - - [tests] Use HAVE_FREETYPE itself instead NO_FT_FUNCS - - test/shaping/data/aots/Makefile.am | 5 +++++ - test/shaping/data/in-house/Makefile.am | 5 +++++ - test/shaping/data/text-rendering-tests/Makefile.am | 5 +++++ - test/shaping/meson.build | 2 +- - test/shaping/run-tests.py | 6 +++--- - 5 files changed, 19 insertions(+), 4 deletions(-) - -commit d5238c18337e88e6ad3bb071296531d7a3354fb2 -Author: Ebrahim Byagowi -Date: Mon Jul 6 01:53:27 2020 +0430 - - [RELEASE] Rely to GitHub's tarball generation - - RELEASING.md | 36 +++++++++++++----------------------- - 1 file changed, 13 insertions(+), 23 deletions(-) - -commit a08ba46d86b1f6ba1a303fbb55ceebccd91f2fe2 -Author: Ebrahim Byagowi -Date: Mon Jul 6 00:31:42 2020 +0430 - - [meson] move meson version so can be referenced easier - - RELEASING.md | 2 +- - meson.build | 3 ++- - 2 files changed, 3 insertions(+), 2 deletions(-) - -commit 6d3d0ebba3103ec63737383385ed51d65f4e0eae -Author: Ebrahim Byagowi -Date: Mon Jul 6 00:26:07 2020 +0430 - - Remove .tarball-revision generation from meson dist - - Toward making release tarball identical to git checkout now that we are moving to meson. - - Makefile.am | 1 - - meson.build | 4 ---- - write-tarball-revision.py | 13 ------------- - 3 files changed, 18 deletions(-) - -commit 1e6027e29cd5d900337b23a20886b2a8d81bb2de -Author: jfkthame -Date: Sun Jul 5 22:44:10 2020 +0100 - - [aat] Correct array indexing when looking up actions in KerxSubTableFormat4 (#2539) - - * [aat] Correct array indexing when looking up actions in KerxSubTableFormat4. - - - For action_type 0 and 1, there are 2 values per action record; for action_type 2, there are 4. So we need to account for these factors when indexing into the ankrData array. - - Fixes https://github.com/harfbuzz/harfbuzz/issues/2531. - - src/hb-aat-layout-kerx-table.hh | 20 +++++++++++++------- - test/shaping/data/in-house/tests/macos.tests | 1 + - 2 files changed, 14 insertions(+), 7 deletions(-) - -commit aa732e454a69ce48bf9a878a43b1bb3c364dca4d -Author: Ebrahim Byagowi -Date: Mon Jul 6 00:10:16 2020 +0430 - - [tests] minor, ligcarets is fetched from gdef not gsub - - test/api/test-ot-ligature-carets.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 122a2897e4782c5e0a39ec7bb0eedb2e7d568913 -Author: Ebrahim Byagowi -Date: Sun Jul 5 22:45:11 2020 +0430 - - [aat] Remove lcar support - - Very low use, only two distinct font files, Apple Chancery.ttf and Hoefler Text.ttc - have it so it really doesn't worth the size addition and so, but one may argue that - whole ligature caret is low use but guess we better to encourage GDEF one anyway. - - src/Makefile.sources | 1 - - src/hb-aat-layout-lcar-table.hh | 174 ------------------------------------- - src/hb-ot-face-table-list.hh | 1 - - src/hb-ot-layout.cc | 18 +--- - src/meson.build | 1 - - test/api/fonts/lcar.ttf | Bin 808 -> 0 bytes - test/api/test-ot-ligature-carets.c | 75 ---------------- - 7 files changed, 1 insertion(+), 269 deletions(-) - -commit a3b9b94b63ba5b99803f9ed62ad5f951d19b61d2 -Author: Ebrahim Byagowi -Date: Mon Jul 6 00:05:21 2020 +0430 - - [style] Remove fdsc support (#2541) - - It isn't exposed yet and low use between Apple fonts, - 32 fdsc table vs 767 OS/2 tables, even Apple doesn't - support it anymore per Ned. - - src/Makefile.sources | 1 - - src/hb-aat-fdsc-table.hh | 126 ------------------------------------------- - src/hb-aat-layout.cc | 1 - - src/hb-ot-face-table-list.hh | 1 - - src/hb-style.cc | 14 ----- - src/meson.build | 1 - - test/api/fonts/aat-fdsc.ttf | Bin 556 -> 0 bytes - test/api/test-style.c | 20 ------- - 8 files changed, 164 deletions(-) - -commit 6a50aa4e54d3c1f678c589c7bbe0d53958bd5d60 -Author: Dirk Lemstra -Date: Sun Jul 5 18:46:29 2020 +0200 - - Corrected the link to the releases. - - docs/usermanual-install-harfbuzz.xml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit a6fb8ce98a6ee7b62fe42e233c946a427587bbd7 -Author: Ebrahim Byagowi -Date: Sat Jul 4 23:43:21 2020 +0430 - - Minor, fix -Wrange-loop-analysis warnings - - Fixing these complains raised by newer versions of clang, - - ./hb-ot-layout-common.hh:1720:53: error: loop variable 'gid_klass_pair' is always a copy because the range of type 'hb_map_iter_t, (lambda at ./hb-ot-layout-common.hh:1672:29), hb_function_sortedness_t::RETAINS_SORTING, nullptr>' does not return a reference [-Werror,-Wrange-loop-analysis] - for (const hb_pair_t& gid_klass_pair : + it) - - And - - ./hb-ot-color-colr-table.hh:177:44: error: loop variable '_' is always a copy because the range of type 'hb_map_iter_t, (lambda at ./hb-ot-color-colr-table.hh:209:31), hb_function_sortedness_t::RETAINS_SORTING, nullptr>, (anonymous struct at ./hb-algs.hh:331:1) &, (anonymous struct at ./hb-algs.hh:51:1) &, nullptr>, (anonymous struct at ./hb-algs.hh:338:1) &, hb_function_sortedness_t::RETAINS_SORTING, nullptr>' does not return a reference [-Werror,-Wrange-loop-analysis] - for (const hb_item_type& _ : + base_it.iter ()) - - src/hb-ot-color-colr-table.hh | 2 +- - src/hb-ot-layout-common.hh | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit a470b0b20545229a51209e470692f1ad607bd17e -Author: Ebrahim Byagowi -Date: Sat Jul 4 23:56:10 2020 +0430 - - Minor, disable strict-aliasing warning in set fuzzer - - ../test/fuzzing/hb-set-fuzzer.cc: In function ‘int LLVMFuzzerTestOneInput(const uint8_t*, size_t)’: - ../test/fuzzing/hb-set-fuzzer.cc:38:82: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] - 38 | const instructions_t &instructions = reinterpret_cast (data); - | - - And it is already disabled at project level so let's disable it here also. - - test/fuzzing/hb-set-fuzzer.cc | 3 +++ - 1 file changed, 3 insertions(+) - -commit 44444822979615b284f679564c48b59ea6927ad8 -Author: Jan Alexander Steffens (heftig) -Date: Thu Jul 2 17:46:56 2020 +0000 - - meson: Pin harfbuzz in .pc files to the built version - - This ensures that we link -subset, -icu and -gobject with a matching - version of the main library. - - src/meson.build | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 3adcf398a02f3b647d149b65e4dfd4506b4cc73e -Author: Jan Alexander Steffens (heftig) -Date: Thu Jul 2 16:41:22 2020 +0000 - - meson: Make Requires in .pc files match autotools - - Libreoffice tries to use only harfbuzz-icu.pc and assumes this includes - -lharfbuzz. - - src/meson.build | 3 +++ - 1 file changed, 3 insertions(+) - -commit 4db1b4f1a266b4b26ad0c445691abcc634a23ab8 -Author: Ebrahim Byagowi -Date: Sat Jul 4 15:02:19 2020 +0430 - - [tests] rename no_ft_funcs to NO_FT_FUNCS - - test/shaping/meson.build | 4 +--- - test/shaping/run-tests.py | 2 +- - 2 files changed, 2 insertions(+), 4 deletions(-) - -commit 6a2b0ba78a88c92b8fe2fcb2c4dd73289fce236f -Author: Ebrahim Byagowi -Date: Sat Jul 4 14:45:15 2020 +0430 - - [py] minor, replace exit with sys.exit - - src/gen-harfbuzzcc.py | 2 +- - src/gen-ragel-artifacts.py | 4 ++-- - 2 files changed, 3 insertions(+), 3 deletions(-) - -commit a07672d353a943d7133bc545bb4b9f0189e9d4d8 -Author: Ebrahim Byagowi -Date: Sat Jul 4 14:12:55 2020 +0430 - - [py] minor, replace os.environ.get with os.getenv - - src/check-c-linkage-decls.py | 6 +++--- - src/check-externs.py | 4 ++-- - src/check-header-guards.py | 6 +++--- - src/check-includes.py | 6 +++--- - src/check-libstdc++.py | 4 ++-- - src/check-static-inits.py | 4 ++-- - src/check-symbols.py | 4 ++-- - src/gen-def.py | 2 +- - test/fuzzing/run-draw-fuzzer-tests.py | 12 ++++++------ - test/fuzzing/run-shape-fuzzer-tests.py | 12 ++++++------ - test/fuzzing/run-subset-fuzzer-tests.py | 12 ++++++------ - test/shaping/data/aots/update.py | 2 +- - test/shaping/data/text-rendering-tests/update.py | 2 +- - write-tarball-revision.py | 4 ++-- - 14 files changed, 40 insertions(+), 40 deletions(-) - -commit 43e3ab019c6b6ab8e429b3dd3aa13a7b9e8316e6 -Author: Ebrahim Byagowi -Date: Thu Jul 2 17:34:24 2020 +0430 - - [tests] make tests work when ft isn't present - - test/shaping/meson.build | 8 ++++++++ - test/shaping/run-tests.py | 31 ++++++++++++++++++------------- - 2 files changed, 26 insertions(+), 13 deletions(-) - -commit c4b6bad73ae71c6372c97b9a2bb443138e1461b4 -Author: Ebrahim Byagowi -Date: Thu Jul 2 18:07:01 2020 +0430 - - [tests] revert da95a8c and use the shared hb-shape process - - test/shaping/run-tests.py | 40 +++++++++++++--------------------------- - 1 file changed, 13 insertions(+), 27 deletions(-) - -commit 359dbc97ae610a78759fb9dbad1b89ee2540cdf0 -Author: Ebrahim Byagowi -Date: Sat Jul 4 12:28:06 2020 +0430 - - [meson] Use the recommended way to generate harfbuzz.cc - - As https://github.com/harfbuzz/harfbuzz/pull/2532 - - src/gen-harfbuzzcc.py | 24 ++++++++++-------------- - src/meson.build | 14 +++++++------- - 2 files changed, 17 insertions(+), 21 deletions(-) - -commit a7e82e4ffdc377a2c18001beca36b5ebf0f08daa -Author: Ebrahim Byagowi -Date: Sat Jul 4 12:04:41 2020 +0430 - - [meson] use the recommended way to generate hb-version.h - - As https://github.com/harfbuzz/harfbuzz/pull/2532 - - src/gen-hb-version.py | 40 ++++++++++++++++++---------------------- - src/gen-ragel-artifacts.py | 4 +++- - src/meson.build | 3 ++- - 3 files changed, 23 insertions(+), 24 deletions(-) - -commit 404ecc252c7f8af6bc071e7b0823c7d406be6e3b -Author: Ebrahim Byagowi -Date: Sat Jul 4 03:13:32 2020 +0430 - - [meson] use basename in check scripts now that meson passes dir also - - src/check-c-linkage-decls.py | 4 ++-- - src/check-externs.py | 2 +- - src/check-header-guards.py | 4 ++-- - src/check-includes.py | 4 ++-- - src/meson.build | 4 ++-- - 5 files changed, 9 insertions(+), 9 deletions(-) - -commit 785a9a8f8ae9c8f88d7dc38d1ed1dae4d5896877 -Author: Ebrahim Byagowi -Date: Sat Jul 4 02:08:30 2020 +0430 - - [meson] use the recommended way to generate ragel headers - - As described in https://github.com/mesonbuild/meson/issues/7156#issuecomment-629622827 - - src/gen-harfbuzzcc.py | 2 +- - src/gen-ragel-artifacts.py | 45 ++++++++---------------- - src/meson.build | 87 +++++++++++++++++++++++++++------------------- - 3 files changed, 66 insertions(+), 68 deletions(-) - -commit 5c07c291c74050bfa74a661c1e3a9a753b1f221c -Author: Ebrahim Byagowi -Date: Sat Jul 4 04:33:46 2020 +0430 - - [make] use sed the way autotools used to generate hb-version.h - - Left from 1853f84 and now exactly is like 4fc6189a329c - - src/Makefile.am | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 63322513e42193ee27f3f50c90f9e6e0781fea78 -Author: Ebrahim Byagowi -Date: Sat Jul 4 03:34:58 2020 +0430 - - [make] Revert the way harfbuzz.cc and hb-version.h are generated - - Partially reverts 4fc6189 - - src/Makefile.am | 14 +++++++++++--- - 1 file changed, 11 insertions(+), 3 deletions(-) - -commit 1853f84abc64ed9dee6ef913760b0295c36a4ef5 -Author: Ebrahim Byagowi -Date: Fri Jul 3 15:14:10 2020 +0430 - - [py] overwrite harfbuzz.cc only when there is a needed change - - src/gen-harfbuzzcc.py | 12 ++++++++---- - 1 file changed, 8 insertions(+), 4 deletions(-) - -commit 82c6ddb986b2fe5333a92cb27526d7639972f905 -Author: Ebrahim Byagowi -Date: Fri Jul 3 15:09:10 2020 +0430 - - [py] remove not needed imports - - src/gen-emoji-table.py | 1 - - src/gen-harfbuzzcc.py | 2 +- - src/gen-hb-version.py | 2 +- - src/gen-indic-table.py | 1 - - src/gen-ragel-artifacts.py | 2 +- - src/gen-ucd-table.py | 2 +- - src/gen-use-table.py | 1 - - src/gen-vowel-constraints.py | 2 -- - 8 files changed, 4 insertions(+), 9 deletions(-) - -commit 38fa924904d9d9bb08a4371c5ee48fd3833c3ed7 -Author: Ebrahim Byagowi -Date: Fri Jul 3 11:44:44 2020 +0430 - - [meson] revert 020b182 as meson fails when there is cyclic dependency - - meson.build | 6 ------ - 1 file changed, 6 deletions(-) - -commit 42d039cc995f8b895dc3294e8888a45863e35c10 -Author: Ebrahim Byagowi -Date: Fri Jul 3 04:32:32 2020 +0430 - - [meson] minor - - meson.build | 13 ++++--------- - src/meson.build | 6 ++---- - 2 files changed, 6 insertions(+), 13 deletions(-) - -commit f2a80ab2c2ee2631ac4d12f10e2dd591e6cfb8c9 -Author: Ebrahim Byagowi -Date: Fri Jul 3 04:28:08 2020 +0430 - - [meson] use null_dep idiom - - meson.build | 15 ++++++++------- - src/meson.build | 4 ++-- - 2 files changed, 10 insertions(+), 9 deletions(-) - -commit 05ab073d9b252e39a3fc4bf60c86827045d3000f -Author: Ebrahim Byagowi -Date: Thu Jul 2 23:54:09 2020 +0430 - - [meson] Improve the way cairo-ft availability is checked - - meson.build | 17 +++++++++-------- - 1 file changed, 9 insertions(+), 8 deletions(-) - -commit d5439232946333b60f655d9ed37ec7dadf439287 -Author: Ebrahim Byagowi -Date: Thu Jul 2 01:30:24 2020 +0430 - - [fvar] minor - - src/hb-ot-var-fvar-table.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit aadcd3ed8af0ca8eac77a4aacd746be703d55a15 -Author: Ebrahim Byagowi -Date: Wed Jul 1 14:31:33 2020 +0430 - - [meson] use dependency's has_headers to make pulled cairo has ft support - - meson.build | 18 ++++++------------ - 1 file changed, 6 insertions(+), 12 deletions(-) - -commit 020b182c790ec7f401236b5cc595e3f186942d96 -Author: Ebrahim Byagowi -Date: Wed Jul 1 14:22:46 2020 +0430 - - [meson] try freetype without harfbuzz just as a last resort - - meson.build | 15 +++++++++++---- - 1 file changed, 11 insertions(+), 4 deletions(-) - -commit 01fa55e88fc03374214a961b9ced089d6812358f -Author: Xavier Claessens -Date: Wed Jun 24 15:56:09 2020 -0400 - - meson: Allow freetype and cairo subprojects to fail - - If their respective option is set to 'auto' configuration of the - fallback subproject should be allowed to fail for any reason. - - meson.build | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -commit 00c652adab5e1be9a3c35a0cc60f1684ca6bb81b -Author: Xavier Claessens -Date: Wed Jun 24 14:11:32 2020 -0400 - - meson: Fallback to cairo subproject when option is 'auto' - - meson.build | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -commit 571365df335f03f9fe0c9593f60db8226bd6d2ef -Author: Xavier Claessens -Date: Wed Jun 24 14:11:07 2020 -0400 - - meson: Simplify check for cairo library and headers - - meson.build | 5 ++--- - 1 file changed, 2 insertions(+), 3 deletions(-) - -commit c4bbe89b53570025f00d2302e56e1396229716ad -Author: Xavier Claessens -Date: Wed Jun 24 13:40:55 2020 -0400 - - meson: Fallback to freetype2 subproject when option is 'auto' - - But disable harfbuzz support when configuring freetype2 subproject to - avoid dependency cycle. - - meson.build | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit 33252ce5761a997c23da2b05bc95e7e5b0be6e35 -Author: Xavier Claessens -Date: Wed Jun 24 13:40:32 2020 -0400 - - meson: Simplify check for freetype2 library and headers - - meson.build | 5 ++--- - 1 file changed, 2 insertions(+), 3 deletions(-) - -commit 40ec187dec07e97ed4004b9831e7be844e6e7948 -Author: Hugo Beauzée-Luyssen -Date: Fri Apr 24 14:01:07 2020 +0200 - - win32: Cleanup PARTITION handling - - Use the WINAPI_PARTITION macro to filter desktop/app flavors. - We use a negated desktop check because the default (for mingw-w64 at - least) is to allow all API by combining desktop + app partitions. - This causes build failures if we were to filter using - WINAPI_PARTITION(WINAPI_FAMILY_APP) because it would always be true, but - those API also require Windows 8 or later, while we only require Vista - - Fixes warnings like - ../src/hb-blob.cc:572:47: warning: 'WINAPI_FAMILY_PC_APP' is not defined, evaluates to 0 [-Wundef] - #if defined(WINAPI_FAMILY) && (WINAPI_FAMILY==WINAPI_FAMILY_PC_APP || WINAPI_FAMILY==WINAPI_FAMILY_PHONE_APP) - ^ - ../src/hb-blob.cc:572:86: warning: 'WINAPI_FAMILY_PHONE_APP' is not defined, evaluates to 0 [-Wundef] - #if defined(WINAPI_FAMILY) && (WINAPI_FAMILY==WINAPI_FAMILY_PC_APP || WINAPI_FAMILY==WINAPI_FAMILY_PHONE_APP) - - src/hb-blob.cc | 6 +++--- - src/hb-mutex.hh | 3 +-- - src/hb.hh | 10 +++++++--- - 3 files changed, 11 insertions(+), 8 deletions(-) - -commit f3f9205fac1580085d0d0a0f76cdb258e6536a78 -Author: Ebrahim Byagowi -Date: Wed Jul 1 03:01:25 2020 +0430 - - [meson] Assume cairo_ft always available when cairo isn't from pkgconfig - - meson.build | 18 ++++++++++++------ - 1 file changed, 12 insertions(+), 6 deletions(-) - -commit aa8bade97eb9280f53ef0f235b930ed883c4fd5e -Author: Ebrahim Byagowi -Date: Wed Jul 1 01:30:13 2020 +0430 - - [meson] enable cairo as subproject - - .ci/build-win32.sh | 2 +- - subprojects/.gitignore | 5 ++++- - subprojects/cairo.wrap | 5 +++++ - subprojects/libpng.wrap | 10 ++++++++++ - subprojects/pixman.wrap | 6 ++++++ - subprojects/proxy-libintl.wrap | 2 +- - 6 files changed, 27 insertions(+), 3 deletions(-) - -commit ea8e784146664f807dc19a6273dc7651627a06ff -Author: Ebrahim Byagowi -Date: Tue Jun 30 12:54:29 2020 +0430 - - [fvar] Improve naming - - src/hb-ot-var-fvar-table.hh | 20 ++++++++++---------- - 1 file changed, 10 insertions(+), 10 deletions(-) - -commit 5de07b8acd226d2e3152d9890afb2117002c3716 -Author: Ebrahim Byagowi -Date: Tue Jun 30 11:08:42 2020 +0430 - - [fvar] Move normalize logic where it is actually filled - - src/hb-ot-var-fvar-table.hh | 62 ++++++++++++++++++++++++--------------------- - 1 file changed, 33 insertions(+), 29 deletions(-) - -commit 0f8dda2cf2c73e9f0feec8375bac4c434c62b205 -Author: Ebrahim Byagowi -Date: Tue Jun 30 10:53:12 2020 +0430 - - [fvar] Move shared axis filling values into a new method - - src/hb-ot-var-fvar-table.hh | 19 +++++++++++-------- - 1 file changed, 11 insertions(+), 8 deletions(-) - -commit 98c42b3bc72079a335937e5cee84fb5d6e8677da -Author: Ebrahim Byagowi -Date: Tue Jun 30 10:48:36 2020 +0430 - - [fvar] Make AxisRecord fields protected - - src/hb-ot-var-fvar-table.hh | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -commit 5f870dfadb6ce3f85e5289131c4291cda31706c6 -Author: Ebrahim Byagowi -Date: Mon Jun 29 02:22:02 2020 +0430 - - [meson] Make benchmark buildable also in dists - - Makefile.am | 14 ++++++++++++++ - 1 file changed, 14 insertions(+) - -commit 702847aadd6f46a37a79b66b088b1ccaba401010 -Author: Ebrahim Byagowi -Date: Mon Jun 29 00:39:43 2020 +0430 - - [meson] Turn benchmark to a feature - - .circleci/config.yml | 2 +- - .github/workflows/linux-ci.yml | 2 +- - meson.build | 5 ++++- - meson_options.txt | 2 +- - 4 files changed, 7 insertions(+), 4 deletions(-) - -commit 7ee3194f9825e988716d760c0c765b7af2a10639 -Author: Behdad Esfahbod -Date: Sun Jun 28 15:41:44 2020 -0700 - - [meta] Remove wrong comment - - src/hb-meta.hh | 1 - - 1 file changed, 1 deletion(-) - -commit 26b9670d996465161964bf1a0a7c4ecf2bf2212e -Author: Behdad Esfahbod -Date: Sun Jun 28 14:52:15 2020 -0700 - - [ft] Better handle allocation failures - - Fixes https://github.com/harfbuzz/harfbuzz/issues/2513 - - src/hb-ft.cc | 15 +++++---------- - 1 file changed, 5 insertions(+), 10 deletions(-) - -commit 26111a11ad1a648f8075b5289c05c48126cc2d3f -Author: Behdad Esfahbod -Date: Sun Jun 28 02:59:47 2020 -0700 - - [dagger] Minor cleanup using hb_enumerate - - src/hb-ot-layout-gsubgpos.hh | 18 +++++++++++------- - 1 file changed, 11 insertions(+), 7 deletions(-) - -commit fd8b0a44c4768be62d162fee0a681ab9a8be7970 -Author: Ebrahim Byagowi -Date: Mon Jun 29 00:19:38 2020 +0430 - - [ci] Limit number of processes ninja uses - - Our CricleCI bots run with 32 cores last time I check which makes random compile issues - like this https://circleci.com/gh/harfbuzz/harfbuzz/146030 to happen. Guess that has - something to do with the way virtualization is done in Circle CI so let's limit number of processes. - - .circleci/config.yml | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 831b09000120ce5b9c448d156e6f099011bfd10d -Author: Ebrahim Byagowi -Date: Sun Jun 28 14:31:21 2020 +0430 - - rebase draw test as recent roundf changes - - test/api/test-draw.c | 145 ++++++++++++++++++++++++++------------------------- - 1 file changed, 73 insertions(+), 72 deletions(-) - -commit cb7fb3cf4a018d6d8eafd2584c7f6934e1413324 -Author: Ebrahim Byagowi -Date: Sun Jun 28 13:41:33 2020 +0430 - - Add test for a783840789c93add42e4d70fdb407eb4ad6e062e - - test/shaping/data/in-house/Makefile.sources | 1 + - test/shaping/data/in-house/fonts/HBTest-VF.ttf | Bin 0 -> 1128 bytes - test/shaping/data/in-house/meson.build | 1 + - .../data/in-house/tests/variations-rounding.tests | 2 ++ - 4 files changed, 4 insertions(+) - -commit 1536271f6b4940eb0a4f28e406bfc96f00d1293d -Author: Ebrahim Byagowi -Date: Sun Jun 28 13:35:13 2020 +0430 - - Don't check roundf availability in cmake and meson - - CMakeLists.txt | 2 +- - meson.build | 1 - - 2 files changed, 1 insertion(+), 2 deletions(-) - -commit 08d57d9eca94c3695a495be504e9e63b6ad1aa59 -Author: Ebrahim Byagowi -Date: Sun Jun 28 13:13:25 2020 +0430 - - Add hb_array_t::lfind - - src/hb-array.hh | 25 ++++++++++++++++--------- - src/hb-open-type.hh | 6 ++++++ - src/hb-ot-stat-table.hh | 17 ++--------------- - src/hb-ot-var-fvar-table.hh | 26 ++++++++------------------ - src/hb-vector.hh | 3 +++ - 5 files changed, 35 insertions(+), 42 deletions(-) - -commit a783840789c93add42e4d70fdb407eb4ad6e062e -Author: Behdad Esfahbod -Date: Sat Jun 27 22:23:59 2020 -0700 - - Always round up - - Fixes https://github.com/harfbuzz/harfbuzz/issues/2496 - - configure.ac | 2 +- - src/hb.hh | 9 ++------- - 2 files changed, 3 insertions(+), 8 deletions(-) - -commit ca8202208a09376d061f50a8b400f5e276d8da06 -Author: Ebrahim Byagowi -Date: Sun Jun 28 11:34:01 2020 +0430 - - [ci] retire psvita and djgpp bots - - till update and overhaul - - .circleci/config.yml | 27 --------------------------- - 1 file changed, 27 deletions(-) - -commit 2267da4ee0d7cafe8f00d94e7a4d48179e3d28b5 -Author: Sebastian Rasmussen -Date: Sun Jun 28 11:18:16 2020 +0800 - - [ft] Do not deference ft_font if it is nullptr (#2502) - - src/hb-ft.cc | 4 ++++ - 1 file changed, 4 insertions(+) - -commit a373e16131ecc79be47edaaddc528efc6b411752 -Author: Sebastian Rasmussen -Date: Sun Jun 28 11:09:45 2020 +0800 - - [ot-shape] Free shape plan maps upon error creating data (#2497) - - src/hb-ot-shape.cc | 6 ++++++ - 1 file changed, 6 insertions(+) - -commit dbf9896e7aded3693a6e2080fa51b142a682a1f3 -Author: Sebastian Rasmussen -Date: Sun Jun 28 10:57:34 2020 +0800 - - [ft] Handle nullptr when destroying freetype font (#2494) - - src/hb-ft.cc | 3 +++ - 1 file changed, 3 insertions(+) - -commit 20d1fa3671134de585df993ab1ec9fc46a74634d -Author: Ebrahim Byagowi -Date: Thu Jun 25 12:50:46 2020 +0430 - - [perf] fix the build - - perf/perf-draw.hh | 1 + - 1 file changed, 1 insertion(+) - -commit 76ba619daa2a3e01a37528270774f9011ea42d53 -Author: Ebrahim Byagowi -Date: Tue Jun 23 20:49:43 2020 +0430 - - Fix autotools's harfbuzz.cc build - - How this works? gen-harfbuzzcc.py operates at its own source path (see its 7th line) - and that is reliable when used both on meson and autotools. - - Just like 19ecabed, weirdly this didn't come up sooner, guess it has something - to do with timestamps. Fortunately whole harfbuzz.cc just doesn't matter for - packagers but we can tag a release only for this if needed. - - src/Makefile.am | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit 95b1081be432e18642b889c8d3960ddac8ae643b -Author: Ebrahim Byagowi -Date: Tue Jun 9 17:37:36 2020 +0430 - - Add performance benchmark for shaping, get extents and draw - - .circleci/config.yml | 4 +- - .github/workflows/linux-ci.yml | 19 +++++- - meson.build | 4 ++ - meson_options.txt | 2 + - perf/meson.build | 9 +++ - perf/perf-draw.hh | 128 ++++++++++++++++++++++++++++++++++++++ - perf/perf-extents.hh | 65 +++++++++++++++++++ - perf/perf-shaping.hh | 65 +++++++++++++++++++ - perf/perf.cc | 15 +++++ - subprojects/.gitignore | 1 + - subprojects/google-benchmark.wrap | 8 +++ - 11 files changed, 318 insertions(+), 2 deletions(-) - -commit 12a9d572925a324be376440a1a26758eff832bcf -Author: Sebastian Rasmussen -Date: Wed Jun 24 03:25:43 2020 +0800 - - [face] Destroy blob if face closure can not be created (#2490) - - This fixes issue #2489. - - src/hb-face.cc | 7 ++++++- - 1 file changed, 6 insertions(+), 1 deletion(-) - -commit 53b0a183c7a40cd208b893ffd02fb4ba54137fc1 -Author: Ebrahim Byagowi -Date: Mon Jun 22 18:04:01 2020 +0430 - - Remove concept of stable/unstable from build tools - - We never practiced the concept of stable and unstable releases, let's - remove the code and always use the stable scheme. - - configure.ac | 11 +---------- - meson.build | 9 +-------- - src/meson.build | 2 +- - 3 files changed, 3 insertions(+), 19 deletions(-) - -commit e4203c14699cc0903a2b4611167a7b99532cfdb0 -Author: Ebrahim Byagowi -Date: Mon Jun 22 05:03:27 2020 +0430 - - 2.6.8 - - NEWS | 13 +++++++++++++ - configure.ac | 2 +- - meson.build | 2 +- - src/hb-ot-layout.cc | 2 +- - src/hb-version.h | 4 ++-- - 5 files changed, 18 insertions(+), 5 deletions(-) - -commit 8c84fee2e568c7b0a1852a7dad26386bbf6a9d0b -Author: Ebrahim Byagowi -Date: Mon Jun 22 04:04:40 2020 +0430 - - Update build systems status messages - - CMakeLists.txt | 2 +- - configure.ac | 11 +++++++++++ - meson.build | 2 +- - 3 files changed, 13 insertions(+), 2 deletions(-) - -commit e541fb474cc948659855dee9374946829de14581 -Author: Ebrahim Byagowi -Date: Sun Jun 21 09:49:48 2020 +0430 - - minor, replace single hb_apply daggers with foreach - - src/hb-map.hh | 10 ++++------ - src/hb-ot-hmtx-table.hh | 36 +++++++++++++++++------------------- - src/hb-ot-math-table.hh | 15 ++++++--------- - 3 files changed, 27 insertions(+), 34 deletions(-) - -commit 8bca9a420e1fcf460e2f3c115fbf7541c81abd9d -Author: Ebrahim Byagowi -Date: Sun Jun 21 09:18:12 2020 +0430 - - [fvar] minor - - src/hb-ot-var-fvar-table.hh | 19 ++++++++----------- - 1 file changed, 8 insertions(+), 11 deletions(-) - -commit b5ae8eab44e92089a184d1901758aac6650eeab0 -Author: Ebrahim Byagowi -Date: Sun Jun 21 08:51:46 2020 +0430 - - [ci] raise msan bot subset timeout - - .circleci/config.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 82ec9ef2e9c1a2c148b0fc7f91a2ca2c2a064ef5 -Author: Ebrahim Byagowi -Date: Sun Jun 21 01:36:16 2020 +0430 - - [fvar] minor simplification - - src/hb-ot-var-fvar-table.hh | 10 ++++------ - 1 file changed, 4 insertions(+), 6 deletions(-) - -commit 4e37c48e375f3721157e919497a7114bdcb0d454 -Author: Ebrahim Byagowi -Date: Sat Jun 20 23:57:45 2020 +0430 - - [fvar] Remove get_axis_info and get_axis_deprecated - - src/hb-ot-var-fvar-table.hh | 22 ++++++++-------------- - 1 file changed, 8 insertions(+), 14 deletions(-) - -commit 61c240f39963064852a2e58fc42897351e37d8b5 -Author: Ebrahim Byagowi -Date: Sat Jun 20 13:24:32 2020 +0430 - - [fvar] Push _axis_info fill logic deeper - - src/hb-ot-var-fvar-table.hh | 54 ++++++++++++++++++++++++--------------------- - 1 file changed, 29 insertions(+), 25 deletions(-) - -commit 47a0fbec31c2e49a2b895f6f926bf755820cacab -Author: Ebrahim Byagowi -Date: Sun Jun 21 02:34:59 2020 +0430 - - [meson] Mark longer tests with slow - - So one can skip them easily by `meson test -Cbuild --no-suite slow` - - src/meson.build | 2 +- - test/fuzzing/meson.build | 4 ++-- - test/subset/meson.build | 2 +- - 3 files changed, 4 insertions(+), 4 deletions(-) - -commit 47dedc7500843ac9c5a036621a7a65e1b1861a58 -Author: Ebrahim Byagowi -Date: Sun Jun 21 01:54:57 2020 +0430 - - [ci] increase tsan and ubsan subset fuzzer timeout - - as https://circleci.com/gh/harfbuzz/harfbuzz/144966 and https://circleci.com/gh/harfbuzz/harfbuzz/144970 - - .circleci/config.yml | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit b2d0dba5ef2ea9530c9c0d2a8ed33849a59b56f8 -Author: Ebrahim Byagowi -Date: Sat Jun 20 12:07:42 2020 +0430 - - [cpal] Port to dagger - - src/hb-ot-color-cpal-table.hh | 9 +++------ - 1 file changed, 3 insertions(+), 6 deletions(-) - -commit 08816117788491a989888c30b9676bc8d7849f96 -Author: Ebrahim Byagowi -Date: Sat Jun 20 01:02:50 2020 +0430 - - [fuzzer] Make some use for test_font API calls - - Making some use for result of some of the test_font calls to make - sure compilers in fuzzers aren't just optimizing the calls. - - test/api/test-ot-face.c | 42 +++++++++++++++++++++++++---------------- - test/fuzzing/hb-shape-fuzzer.cc | 8 ++++---- - 2 files changed, 30 insertions(+), 20 deletions(-) - -commit b4f34539c26561e35eaa09160784e07cec6b1b9c -Author: Ebrahim Byagowi -Date: Sat Jun 20 00:47:00 2020 +0430 - - [fuzzer] test more of ot-layout APIs - - test/api/test-ot-face.c | 17 +++++++++++++++++ - 1 file changed, 17 insertions(+) - -commit a6bcc577a9062c875854305aeebe4e90a9abe5f7 -Author: Ebrahim Byagowi -Date: Sat Jun 20 14:19:12 2020 +0430 - - [meson] don't `add_dist_script` when we are subproject - - Happens when harfbuzz is used as a meson subproject, - `ERROR: add_dist_script may not be used in a subproject.` - - meson.build | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit 175d93bbdaaf4640eb41baed2698fe0e2ee78831 -Author: Ebrahim Byagowi -Date: Sat Jun 20 14:03:10 2020 +0430 - - [mesos/docs] fix gobject headers ignoring logic - - fixes #2463 - - docs/meson.build | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 25cf6874430afdb9bf93fcb7f92ae4c11f51be89 -Author: Ebrahim Byagowi -Date: Sat Jun 20 01:36:50 2020 +0430 - - Use dagger in OffsetTable::get_table_tags (#2477) - - src/hb-open-file.hh | 13 ++++--------- - 1 file changed, 4 insertions(+), 9 deletions(-) - -commit dce4353f86fe9c5e1b62194b89c844ba5da86143 -Merge: 89a2c46e6 d38eb49f4 -Author: Ebrahim Byagowi -Date: Sat Jun 20 01:24:41 2020 +0430 - - Merge pull request #2476 from ebraminio/cv-get-chars - - [layout] Use dagger in hb_ot_layout_feature_get_characters - -commit 89a2c46e6198f188393415151620f6fb5f160e11 -Author: Ebrahim Byagowi -Date: Sat Jun 20 00:31:46 2020 +0430 - - [math] Use dagger (#2478) - - * [math] Use dagger - - * [ot-math] Address Behdad's review - - src/hb-ot-math-table.hh | 20 +++++++++----------- - 1 file changed, 9 insertions(+), 11 deletions(-) - -commit d38eb49f46a3381c7930568b4bfb35af4052c0f9 -Author: Ebrahim Byagowi -Date: Fri Jun 19 23:40:42 2020 +0430 - - Move the iteration logic to FeatureParamsCharacterVariants - - Hopefully I can make members protected also. - - src/hb-ot-layout-common.hh | 12 ++++++++++++ - src/hb-ot-layout.cc | 15 ++++----------- - 2 files changed, 16 insertions(+), 11 deletions(-) - -commit 9b3d4f457ef0010a1bd3f0a8186f886f2499f688 -Author: Ebrahim Byagowi -Date: Fri Jun 19 23:33:07 2020 +0430 - - Use dagger in hb_ot_layout_feature_get_characters - - The way it used to work was a bit nonidiomatic but the replacment - is idiomatic way of iterating used elsewhere. - - The new code just doesn't check nullability of "characters", which isn't - what we do anywhere else. - - src/hb-ot-layout.cc | 10 ++++------ - 1 file changed, 4 insertions(+), 6 deletions(-) - -commit 675854b2bac03612ef7f5bd406a7ff7207b89b59 -Author: Ebrahim Byagowi -Date: Fri Jun 19 23:27:39 2020 +0430 - - [test] Add one more test for hb_ot_layout_feature_get_characters - - test/api/test-ot-name.c | 9 +++++++++ - 1 file changed, 9 insertions(+) - -commit 63422c4cbc4cb53a19f3986b3c20312c1085b29f -Author: Ebrahim Byagowi -Date: Fri Jun 19 23:24:04 2020 +0430 - - [ot-layout] simplify - - src/hb-ot-layout.cc | 11 +++-------- - 1 file changed, 3 insertions(+), 8 deletions(-) - -commit 407bba3e0d591a5708955e76ae914aa67198044e -Author: Ebrahim Byagowi -Date: Fri Jun 19 23:12:42 2020 +0430 - - minor - - move FeatureParamsCharacterVariants::sanitize method right above members - - src/hb-ot-layout-common.hh | 14 +++++++------- - 1 file changed, 7 insertions(+), 7 deletions(-) - -commit f1488152bd47d4434532226d94f1be38c24ac735 -Author: Ebrahim Byagowi -Date: Fri Jun 19 23:07:28 2020 +0430 - - [doc] Remove the not needed comment - - All the other similar iterating API are like this and don't have such - comment, written at the time I wasn't familiar enough with the way such - API are shaped. - - src/hb-ot-layout.cc | 6 ------ - 1 file changed, 6 deletions(-) - -commit 1535440b48a081cea04cffb7f12cd63c197ae9d4 -Author: Behdad Esfahbod -Date: Fri Jun 19 08:30:59 2020 -0700 - - [dispatch] Fix debug builds - - src/hb-aat-layout-common.hh | 1 - - src/hb-aat-layout.cc | 3 +-- - src/hb-dispatch.hh | 3 ++- - src/hb-ot-layout-common.hh | 2 -- - src/hb-ot-layout-gsubgpos.hh | 6 +----- - src/hb-sanitize.hh | 2 -- - src/hb-subset.hh | 4 +--- - 7 files changed, 5 insertions(+), 16 deletions(-) - -commit bb9a40da653b5bab595f79de76a8feda18cb1b5c -Author: Ebrahim Byagowi -Date: Fri Jun 19 19:22:47 2020 +0430 - - [lcar] Use dagger - - src/hb-aat-layout-lcar-table.hh | 23 +++++++++++++---------- - 1 file changed, 13 insertions(+), 10 deletions(-) - -commit 6fbb59aba6680225d13a6c3e0ba7d033096e6c55 -Author: Behdad Esfahbod -Date: Thu Jun 18 15:12:37 2020 -0700 - - Use daggers in a few get_array functions - - As I review https://github.com/harfbuzz/harfbuzz/pull/2471 - - src/hb-ot-layout-common.hh | 21 +++++++++++---------- - src/hb-ot-layout-gdef-table.hh | 7 +++---- - 2 files changed, 14 insertions(+), 14 deletions(-) - -commit a512ca8eae70710974e845062305d73bf4012466 -Merge: 03bd3efaa 70d6696cc -Author: Ebrahim Byagowi -Date: Fri Jun 19 10:46:12 2020 +0430 - - Merge pull request #2473 from harfbuzz/gsub-alternate - - fixes #673 - -commit 03bd3efaa7072021b702ab3f4ce8abcd1ac47d46 -Author: Ebrahim Byagowi -Date: Fri Jun 19 10:32:46 2020 +0430 - - [meson] Write git revision to .tarball-revision on dist tarball - - Makefile.am | 1 + - meson.build | 2 ++ - write-tarball-revision.py | 13 +++++++++++++ - 3 files changed, 16 insertions(+) - -commit 70d6696cc6c863673a580b3bfc79d16d3a5d393d -Author: Behdad Esfahbod -Date: Thu Jun 18 17:09:39 2020 -0700 - - [dispatch] Don't require debug_depth for untraced objects - - src/hb-dispatch.hh | 1 + - src/hb-ot-layout-common.hh | 4 +--- - src/hb-ot-layout-gsubgpos.hh | 20 ++++---------------- - src/hb-ot-layout.cc | 4 +--- - 4 files changed, 7 insertions(+), 22 deletions(-) - -commit 5bc4cedde67854ecda72305d839c7e7ad297e83e -Author: Behdad Esfahbod -Date: Thu Jun 18 17:04:35 2020 -0700 - - Rename - - src/hb-ot-layout.cc | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - -commit dc492d7c8a49f0c0322848348d35ac8b818fce57 -Author: Behdad Esfahbod -Date: Thu Jun 18 17:03:05 2020 -0700 - - [dispatch] Comment - - src/hb-ot-layout-gsubgpos.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 25aec0265c1a1030c7d6453e85b2463589c8688a -Author: Behdad Esfahbod -Date: Thu Jun 18 16:58:01 2020 -0700 - - [dispatch] Default return type to hb_empty_t - - src/hb-dispatch.hh | 2 +- - src/hb-ot-layout-common.hh | 2 +- - src/hb-ot-layout-gsubgpos.hh | 8 ++++---- - 3 files changed, 6 insertions(+), 6 deletions(-) - -commit 8d0a90ac1bd9f6485d3e0fead7c648caa735eb81 -Author: Behdad Esfahbod -Date: Thu Jun 18 16:53:54 2020 -0700 - - [dispatch] Default debug level to 0 - - src/hb-dispatch.hh | 2 +- - src/hb-ot-layout-common.hh | 2 +- - src/hb-ot-layout-gsubgpos.hh | 14 +++++++------- - src/hb-ot-layout.cc | 2 +- - 4 files changed, 10 insertions(+), 10 deletions(-) - -commit d7d8604ec8526f96618b4f0f83ed9b3204e7b597 -Author: Behdad Esfahbod -Date: Thu Jun 18 16:51:01 2020 -0700 - - Remove excessive trace routes - - src/hb-debug.hh | 4 ---- - src/hb-ot-layout-gsubgpos.hh | 6 ++---- - 2 files changed, 2 insertions(+), 8 deletions(-) - -commit e47a2ab8f8a90d903653a1d0d970c220f0957158 -Author: Behdad Esfahbod -Date: Thu Jun 18 16:48:07 2020 -0700 - - Remove unused dispatcher names - - src/hb-dispatch.hh | 1 + - src/hb-ot-layout-common.hh | 1 - - src/hb-ot-layout-gsubgpos.hh | 5 ----- - src/hb-ot-layout.cc | 1 - - 4 files changed, 1 insertion(+), 7 deletions(-) - -commit b2a1acccd9776beddb25fb4f9e24ca6e272958f4 -Author: Behdad Esfahbod -Date: Thu Jun 18 16:41:31 2020 -0700 - - Simplify get_glyph_alternates() dispatcher - - Trying to make it **very simple** to add a specialized dispatcher for - one API to be routed to just a few objects (one in this case). - - src/hb-ot-layout-gsub-table.hh | 9 ++++++--- - src/hb-ot-layout-gsubgpos.hh | 40 ---------------------------------------- - src/hb-ot-layout.cc | 32 ++++++++++++++++++++++++++++++-- - 3 files changed, 36 insertions(+), 45 deletions(-) - -commit ffe8d3f39d5a742e51f87b5af66a2a7e63c87037 -Author: Behdad Esfahbod -Date: Thu Jun 18 16:31:39 2020 -0700 - - Use dispatch for get_glyph_alternates_t - - First time we do this in a way that if target object doesn't have the matching - function we basically "ignore". Risky but I feel like is the right decision - for this case. - - I'm going to put back the template varargs and use those, which would make - the dispatcher be just that: "dispatcher", and wouldn't need to carry the - call context. That would be a refreshing change I think. - - src/hb-ot-layout-gsub-table.hh | 41 +++-------------------------------------- - src/hb-ot-layout-gsubgpos.hh | 39 +++++++++++++++++++++++++++++++++++++++ - src/hb-ot-layout.cc | 5 ++++- - 3 files changed, 46 insertions(+), 39 deletions(-) - -commit bedf4171218ef7c64386aa492b574356277fc21f -Author: Behdad Esfahbod -Date: Thu Jun 18 15:49:01 2020 -0700 - - Push get_glyph_alternates() work all the way down - - src/hb-ot-layout-gsub-table.hh | 36 ++++++++++++------------------------ - 1 file changed, 12 insertions(+), 24 deletions(-) - -commit 5bede33885a5349c05e0724e8ee6948af8a25670 -Author: Behdad Esfahbod -Date: Thu Jun 18 15:25:19 2020 -0700 - - Whitespace - - src/hb-ot-layout.cc | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit e13aaaaa4566c8aa1a790402b38448713c6621ab -Author: Behdad Esfahbod -Date: Thu Jun 18 15:22:54 2020 -0700 - - Move API to right place in header - - src/hb-ot-layout.h | 16 ++++++++-------- - 1 file changed, 8 insertions(+), 8 deletions(-) - -commit 26514ad70e4e96b862ff6bd63fb2a03e136e7620 -Author: Behdad Esfahbod -Date: Thu Jun 18 15:22:07 2020 -0700 - - Fix API comment - - src/hb-ot-layout.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 1bac85828c134835ce0a3ecd517aefdcecf43d9a -Author: Ebrahim Byagowi -Date: Thu Jun 18 22:56:07 2020 +0430 - - [layout] Rename _get_alternates to _get_glyph_alternates - - docs/harfbuzz-sections.txt | 2 +- - src/hb-ot-layout-gsub-table.hh | 36 ++++++++++++++++++------------------ - src/hb-ot-layout.cc | 16 ++++++++-------- - src/hb-ot-layout.h | 12 ++++++------ - test/api/test-ot-alternates.c | 6 +++--- - 5 files changed, 36 insertions(+), 36 deletions(-) - -commit 9ef9ac3749abdc814088571108760144b0f6f812 -Author: Behdad Esfahbod -Date: Wed Jun 17 17:41:15 2020 -0700 - - [gpos] Break cycle-of-2 when cursive attaching - - Fix thinko this time around. - - Fixes https://github.com/harfbuzz/harfbuzz/issues/2469 - - src/hb-ot-layout-gpos-table.hh | 6 ++++++ - 1 file changed, 6 insertions(+) - -commit d3c169792ba4771b459c37a4430fab6f2dcbda5e -Author: Ebrahim Byagowi -Date: Thu Jun 18 08:37:21 2020 +0430 - - [layout] move alternate buffer iteration logic to AlternateSet - - src/hb-ot-layout-gsub-table.hh | 72 +++++++++++++++++++++++++++++++----------- - src/hb-ot-layout.cc | 13 ++------ - 2 files changed, 57 insertions(+), 28 deletions(-) - -commit 1348a2c865d368a4f6e83add0edfa9945d84914f -Author: Ebrahim Byagowi -Date: Tue Jun 16 21:05:16 2020 -0400 - - [layout] hb_ot_layout_lookup_get_alternates, a new API - - An API to retrieve one-to-one alternates from a given GSUB lookup index. - - docs/harfbuzz-sections.txt | 1 + - src/hb-ot-layout-gsub-table.hh | 30 ++++++++++++++++++++++++ - src/hb-ot-layout.cc | 37 +++++++++++++++++++++++++++++ - src/hb-ot-layout.h | 7 ++++++ - test/api/Makefile.am | 1 + - test/api/meson.build | 1 + - test/api/test-ot-alternates.c | 53 ++++++++++++++++++++++++++++++++++++++++++ - 7 files changed, 130 insertions(+) - -commit a4955e21fdd4069cad6f519900b9ce130408581b -Author: Ebrahim Byagowi -Date: Thu Jun 18 08:59:49 2020 +0430 - - [ci] install gobject-instrospection on linux ci - - .github/workflows/linux-ci.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 3fe719571362e39e70eb12ea9d7be9dabb505c4c -Author: Behdad Esfahbod -Date: Wed Jun 17 17:51:08 2020 -0700 - - Revert "[gpos] Break cycle-of-2 when cursive attaching" - - This reverts commit 7090707de67e660ae626ecf774f6af8a63a692ab. - - src/hb-ot-layout-gpos-table.hh | 6 ------ - 1 file changed, 6 deletions(-) - -commit 7090707de67e660ae626ecf774f6af8a63a692ab -Author: Behdad Esfahbod -Date: Wed Jun 17 17:41:15 2020 -0700 - - [gpos] Break cycle-of-2 when cursive attaching - - Fixes https://github.com/harfbuzz/harfbuzz/issues/2469 - - src/hb-ot-layout-gpos-table.hh | 6 ++++++ - 1 file changed, 6 insertions(+) - -commit 09dedb1b382d0f2f8725ead891c27b87359c072c -Author: Khaled Hosny -Date: Thu Jun 18 02:29:12 2020 +0200 - - [tests] I’m an idiot - - test/shaping/data/in-house/Makefile.sources | 1 + - test/shaping/data/in-house/meson.build | 1 + - test/shaping/data/in-house/tests/reverse-sub.tests | 1 + - test/shaping/texts/in-house/shaper-default/script-latin/misc/misc.txt | 1 - - 4 files changed, 3 insertions(+), 1 deletion(-) - -commit 2598855454b77b69633220e7e912b2ac82f450f9 -Author: Khaled Hosny -Date: Thu Jun 18 02:15:59 2020 +0200 - - [tests] Add test for ReverseChainSingleSubstFormat1 missing substitute - - https://github.com/harfbuzz/harfbuzz/issues/2467 - - .../fonts/a706511c65fb278fda87eaf2180ca6684a80f423.ttf | Bin 0 -> 924 bytes - .../in-house/shaper-default/script-latin/misc/misc.txt | 1 + - 2 files changed, 1 insertion(+) - -commit e5de3918f7fbed754ff912c78bec8f9825b06d52 -Author: Behdad Esfahbod -Date: Wed Jun 17 16:54:23 2020 -0700 - - [indic] Add comment - - https://github.com/harfbuzz/harfbuzz/issues/2298#issuecomment-615318654 - - src/hb-ot-shape-complex-indic.cc | 1 + - 1 file changed, 1 insertion(+) - -commit 41ef75f64afc36a8d7d6ab8382dd2093ad86fc49 -Author: Behdad Esfahbod -Date: Wed Jun 17 16:29:09 2020 -0700 - - [gsub] Don't substitute in ReverseChainSingleSubstFormat1 if missing substitute - - Fixes https://github.com/harfbuzz/harfbuzz/issues/2467 - - src/hb-ot-layout-gsub-table.hh | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit e7c79e16b8cb0983ee9cfed478d721c75949e757 -Merge: f31e3d426 fe926970b -Author: Behdad Esfahbod -Date: Wed Jun 17 15:32:40 2020 -0700 - - Merge pull request #2287 from simoncozens/instrumentation - - Add messages for GPOS/GSUB (take 2) - -commit fe926970bc16ee438fe74d8ee366393ed3576bd5 -Author: Simon Cozens -Date: Tue Jun 16 09:12:44 2020 +0100 - - Reformat messages again - - Messages can be: - - start/end table XXXX - start/end lookup NNNN - start/end subtable NNNN (for kerx/kern) - start/end chainsubtable NNNN (for morx) - - src/hb-aat-layout-kerx-table.hh | 4 ++-- - src/hb-aat-layout-morx-table.hh | 4 ++-- - src/hb-ot-layout.cc | 4 ++-- - 3 files changed, 6 insertions(+), 6 deletions(-) - -commit f31e3d426dbbc096bca4892cbc2dc3f541a36d1d -Author: Ebrahim Byagowi -Date: Fri Jun 12 17:33:11 2020 +0430 - - [ci] raise subset fuzzer timeout for asan and valgrind bots - - .circleci/config.yml | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit cccdaf45df8a0664bc20c54055064460080ccbb8 -Author: Ebrahim Byagowi -Date: Fri Jun 12 11:15:37 2020 +0430 - - [docs] minor - - revealed now that we turned gobject/gir build to 'auto' - - src/hb-ot-meta.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit be278acf44e862c5cf83a0ca118058e1cb61372d -Author: Ebrahim Byagowi -Date: Fri Jun 12 01:46:23 2020 +0430 - - [ci] raise subset fuzzer cases runner timeout - - the bots are either not optimized ones or sanitizer ones so not much value - on trying to optimize them further. - - .circleci/config.yml | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit b86bfe52915f61c0b1c228d967c42b14627fed5d -Author: Ebrahim Byagowi -Date: Fri Jun 12 01:42:27 2020 +0430 - - minor, fix lists sorting - - test/shaping/data/in-house/meson.build | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 4e7cb7e2c4b182e8062c3c0c9a15059bcfd40700 -Author: Ebrahim Byagowi -Date: Fri Jun 12 01:38:16 2020 +0430 - - minor, fix lists sorting - - src/Makefile.sources | 6 +++--- - src/meson.build | 6 +++--- - test/shaping/data/in-house/Makefile.sources | 6 +++--- - test/subset/data/Makefile.sources | 18 +++++++++--------- - 4 files changed, 18 insertions(+), 18 deletions(-) - -commit 973c47f6c9886cd2a50d29e09c978831b4e355f6 -Author: Qunxin Liu -Date: Thu Jun 11 11:27:57 2020 -0700 - - [subset] Move 2 experimental public api methods to be private methods in GSUB/GPOS. - - 2 methods are: hb_ot_layout_closure_lookups and hb_ot_layout_closure_features - - docs/harfbuzz-sections.txt | 2 -- - src/gen-def.py | 4 +-- - src/hb-ot-layout-gpos-table.hh | 5 +++ - src/hb-ot-layout-gsub-table.hh | 5 +++ - src/hb-ot-layout-gsubgpos.hh | 15 +++++++++ - src/hb-ot-layout.cc | 66 --------------------------------------- - src/hb-ot-layout.h | 14 --------- - src/hb-subset-plan.cc | 35 ++++++++------------- - test/api/test-ot-face.c | 6 ---- - test/subset/data/Makefile.sources | 3 -- - test/subset/meson.build | 5 --- - 11 files changed, 39 insertions(+), 121 deletions(-) - -commit 62de2f749c16ebbb3908dba09e5dfcd670765140 -Author: Ebrahim Byagowi -Date: Thu Jun 11 19:09:24 2020 +0430 - - [meson] Remove spaces before named parameter colons - - meson documentations sometimes adds the space and sometimes don't and we - aren't adding it most of the times unconsciously so let's the cases and - be consistent. - - meson.build | 18 +++++++++--------- - meson_options.txt | 10 +++++----- - 2 files changed, 14 insertions(+), 14 deletions(-) - -commit 2d91662294ebe8d4856342464243f0a9fa734702 -Author: Ebrahim Byagowi -Date: Thu Jun 11 19:04:08 2020 +0430 - - [meson] move tests lists to their directories - - We had to do so for text-rendering-tests list, let's apply the same for the rest also. - - test/shaping/data/aots/Makefile.am | 1 + - test/shaping/data/aots/meson.build | 123 +++++++++++++++++++++ - test/shaping/data/in-house/Makefile.am | 1 + - test/shaping/data/in-house/meson.build | 60 +++++++++++ - test/shaping/meson.build | 189 +-------------------------------- - 5 files changed, 188 insertions(+), 186 deletions(-) - -commit b8454c3d61808bb85996d8e734cdb87e5be059ae -Author: Ebrahim Byagowi -Date: Thu Jun 11 18:32:13 2020 +0430 - - [meson] use if blocks to separate different dependencies - - meson.build | 106 ++++++++++++++++++++++++++++++++---------------------------- - 1 file changed, 56 insertions(+), 50 deletions(-) - -commit 8571b3551c6bbb032503c7c301c13d3d961923b5 -Author: Ebrahim Byagowi -Date: Sat Jun 6 20:16:50 2020 +0430 - - [releasing] Remove tar signing procedure - - https://github.com/harfbuzz/harfbuzz/issues/2449#issuecomment-639898473 - - Makefile.am | 11 ----------- - RELEASING.md | 6 ++---- - 2 files changed, 2 insertions(+), 15 deletions(-) - -commit ebab4b8658ed415b06d3014fca78e0e1c0bba5df -Author: Ebrahim Byagowi -Date: Wed Jun 10 16:52:32 2020 +0430 - - [meson] Implement disabled state for cairo/freetype/icu - - 'disabled' wasn't implemented for some of the features so they were - getting found even with explicit -Dfeature=disabled, this implements it. - - Run the following command to test this change and check whether 'disabled' - was actually effective, - meson build -Dglib=disabled -Dgobject=disabled -Dcairo=disabled -Dfontconfig=disabled -Dicu=disabled -Dfreetype=disabled -Dintrospection=disabled -Dgtk_doc=disabled - - This is useful when one wants to integrate harfbuzz into another project via - meson's subproject mechanism. - - meson.build | 28 ++++++++++++++++++---------- - 1 file changed, 18 insertions(+), 10 deletions(-) - -commit b88f1096ad88c8ee3a88b6d483387c4e6eab6f61 -Author: Nirbheek Chauhan -Date: Tue Jun 9 20:06:50 2020 +0530 - - meson: Export symbols for a DLL when not building statically - - `default_library` might be 'both', in which case we will fail to link - when building with MSVC. - - src/meson.build | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 5c8900efe43c0f408a8683bfd2be274cd0dac8c4 -Author: Khaled Hosny -Date: Mon Jun 8 02:29:04 2020 +0200 - - [coretext] Properly check for macOS 10.10 - - Fixes https://github.com/harfbuzz/harfbuzz/issues/2452 - - src/hb-coretext.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 0151da23d605c7709d432ebfb17a337a5f662839 -Author: Ebrahim Byagowi -Date: Sat Jun 6 01:48:23 2020 +0430 - - [meson] Remove with_libstdcxx build option - - This was done in #770 but no indication of anyone is using it, - let's remove it from our meson port and we can just don't care about - it in autotools port after the migration to meson. - - meson_options.txt | 2 -- - src/meson.build | 21 +++++---------------- - 2 files changed, 5 insertions(+), 18 deletions(-) - -commit 56719474c208508220f24b78fd295d94564882fa -Author: Behdad Esfahbod -Date: Fri Jun 5 12:57:23 2020 -0700 - - s/blacklist/blocklist/g - - src/hb-ot-layout-gdef-table.hh | 4 ++-- - src/hb-ot-layout-gpos-table.hh | 2 +- - src/hb-ot-layout-gsub-table.hh | 2 +- - src/hb-ot-layout-gsubgpos.hh | 2 +- - src/hb-ot-layout.cc | 8 ++++---- - src/hb-ot-shape-complex-indic.cc | 2 +- - 6 files changed, 10 insertions(+), 10 deletions(-) - -commit 22048d55aa37acfe50a0f5ae7b361db8d323905e -Author: Ebrahim Byagowi -Date: Fri Jun 5 04:09:07 2020 +0430 - - [meson] Add -Bsymbolic-functions - - meson.build | 4 ++++ - 1 file changed, 4 insertions(+) - -commit e98aa0c89712d676f8db328a192cd19a009f28ce -Author: Ebrahim Byagowi -Date: Tue Jun 2 16:25:22 2020 +0430 - - [meson] Make gobject and introspection features automatic - - Meson doesn't have DISTCHECK_CONFIGURE_FLAGS like concept IIUC - and enabling them is the main thing we are doing with - distcheck flags anyway so lets turn them to auto. - - meson_options.txt | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 65462c4b0bf4b1656bacc5377d248f53e9966fd0 -Author: Ebrahim Byagowi -Date: Fri Jun 5 01:08:08 2020 +0430 - - minor, improve the need for graphite comment - - configure.ac | 2 +- - meson.build | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit 03bd6ead445b78560083caa22ce144058dcf4385 -Author: Christoph Reiter -Date: Wed Jun 3 23:52:10 2020 +0200 - - [meson] Only pass required dependencies to everything - - Instead of passing dependencies as required we used one giant shared - dependency list containing all dependencies for every library/executable. - While this kinda works, the specified deps are also used for generating - the pkg-config files and this leads to lots of Requires.private and Libs.private - entries which aren't really needed. - - This removes the "deps" array and replaces it with a few smaller ones and - makes sure the public libraries only get passed the dependencies actually - needed. - - Fixes #2441 - - meson.build | 29 ++++++++++------------------- - src/meson.build | 24 ++++++++++++++++-------- - test/api/meson.build | 2 +- - test/fuzzing/meson.build | 1 - - util/meson.build | 10 ++++++---- - 5 files changed, 33 insertions(+), 33 deletions(-) - -commit 759df46575db49dd7d15da6e6df441d622e65470 -Author: Ebrahim Byagowi -Date: Thu Jun 4 15:49:54 2020 +0430 - - [style] Hide behind HB_EXPERIMENTAL_API compile flag - - docs/harfbuzz-sections.txt | 6 ------ - src/gen-def.py | 1 + - src/hb-style.cc | 40 ++++++++++++++++++++++++++++++++++++++-- - src/hb-style.h | 38 +++----------------------------------- - test/api/test-ot-face.c | 2 ++ - test/api/test-style.c | 10 ++++++++++ - 6 files changed, 54 insertions(+), 43 deletions(-) - -commit d54de56870d136e59b6239b9d1db023fe8f002ab -Author: Ebrahim Byagowi -Date: Tue Apr 21 16:33:50 2020 +0430 - - [style] Adopt with meson - - src/meson.build | 2 ++ - test/api/meson.build | 1 + - 2 files changed, 3 insertions(+) - -commit de0ec5f4fef8730d10ca049c43991ede7ae42f6d -Author: Ebrahim Byagowi -Date: Sat Feb 8 14:09:09 2020 +0330 - - [style] give ptem value when asked for opsz - - ptem, used for AAT's tracking/`trak` table is equivalent to opsz of variable fonts. - - For variable AAT fonts, such as SFNS, ideally variable axis of the hb_font_t - should be set and equivalent to ptem, https://crbug.com/1005969#c37 - - src/hb-style.cc | 3 +++ - test/api/test-style.c | 3 +++ - 2 files changed, 6 insertions(+) - -commit 22037499b42d9fce100ee771a229b961b5e1cb2d -Author: Ebrahim Byagowi -Date: Sun Aug 4 11:31:31 2019 +0430 - - [style] New experimental API, hb_style_get_value - - Searches variation axes of a hb_font_t object for a specific axis first, - if not set, then tries to get default style values from different - tables of the font. - - docs/harfbuzz-sections.txt | 6 ++ - src/Makefile.sources | 2 + - src/harfbuzz.cc | 1 + - src/hb-config.hh | 2 +- - src/hb-ot-face-table-list.hh | 5 +- - src/hb-ot-stat-table.hh | 73 ++++++++++++++++++ - src/hb-style.cc | 110 +++++++++++++++++++++++++++ - src/hb-style.h | 75 ++++++++++++++++++ - src/hb-subset-plan.cc | 2 +- - src/hb.h | 1 + - test/api/Makefile.am | 1 + - test/api/fonts/aat-fdsc.ttf | Bin 0 -> 556 bytes - test/api/test-ot-face.c | 6 ++ - test/api/test-style.c | 177 +++++++++++++++++++++++++++++++++++++++++++ - 14 files changed, 457 insertions(+), 4 deletions(-) - -commit d67553d12fc72c4a89fcb75400829b62d53ca064 -Author: Ebrahim Byagowi -Date: Thu Jun 4 12:31:57 2020 +0430 - - [meson] fix with_libstdcxx effect - - oops - - src/meson.build | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 6f7048b917e7c81d276a7dc4a832a4cf042ffffe -Author: Ebrahim Byagowi -Date: Thu Jun 4 10:18:35 2020 +0430 - - [meson] Update subset tests list from autotools - - test/subset/meson.build | 4 ++++ - 1 file changed, 4 insertions(+) - -commit 7e74aa6a7811ddb0999be5f33581d7933af6ba1c -Author: Ebrahim Byagowi -Date: Thu Jun 4 09:32:20 2020 +0430 - - [ci] fix meson-gcc-mingw bot - - keep build folder for dist testing - - .circleci/config.yml | 7 +++---- - 1 file changed, 3 insertions(+), 4 deletions(-) - -commit b35764334e1ddf11c9aa4d0b1d0f9b7467d79106 -Author: Ebrahim Byagowi -Date: Thu Jun 4 04:10:11 2020 +0430 - - [ci] check workability of meson based dist - - .circleci/config.yml | 2 ++ - 1 file changed, 2 insertions(+) - -commit 6bf5e8e7e62620501b068230f398db1e9219f1b8 -Author: Ebrahim Byagowi -Date: Thu Jun 4 04:03:14 2020 +0430 - - [ci] Deploy only when there is something to push - - Apparently the previous version of gtk-doc was doing weird changes like https://github.com/harfbuzz/harfbuzz.github.io/commit/1b40da99bbd1985d060d273ef37f1ccad16913c4 and https://github.com/harfbuzz/harfbuzz.github.io/commit/d1d9bff14c805d1bcbd2446a4c22e633e8d365cf - in order to make every to have something for pushing and - now that we don't have such changes it will fail. - - Alternatively we can go for `git commit --allow-empty`, guess better to - pollute history of https://github.com/harfbuzz/harfbuzz.github.io however. - - .ci/deploy-docs.sh | 7 +++++-- - 1 file changed, 5 insertions(+), 2 deletions(-) - -commit 029ecf326e75071a84609a7510a8d4e58182f3e9 -Author: Ebrahim Byagowi -Date: Thu Jun 4 03:31:15 2020 +0430 - - [meson] Fix gen-hb-version.py run - - It gets complicated apparently when executed in the dist process, let's use raw - names now that we are operating in the script folder anyway. - - src/meson.build | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 870304df766f0518898a09cd191c1fb6d94240f7 -Author: Ebrahim Byagowi -Date: Thu Jun 4 03:19:53 2020 +0430 - - [meson] Remove amalgam build option - - Fixes #2444 - - .circleci/config.yml | 6 ++---- - meson_options.txt | 2 -- - src/meson.build | 9 +-------- - 3 files changed, 3 insertions(+), 14 deletions(-) - -commit 5293fdba239846e677ba4ef6139ee6593e60b4f0 -Author: Ebrahim Byagowi -Date: Thu Jun 4 02:38:27 2020 +0430 - - [ci] Move docs deployment from autotools to meson - - .ci/deploy-docs.sh | 9 ++------- - .github/workflows/linux-ci.yml | 10 ++++++++++ - .travis.yml | 1 - - 3 files changed, 12 insertions(+), 8 deletions(-) - -commit b8320340cebace11cd3781fc029afbd50e82ad97 -Author: Ebrahim Byagowi -Date: Wed Jun 3 23:40:57 2020 +0430 - - [meson] fix gen script input - - matters more when harfbuzz is a subproject - - src/meson.build | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit 50d3f531ee96ffa862bc05429814ba104dddd4a2 -Author: Ebrahim Byagowi -Date: Wed Jun 3 17:59:41 2020 +0430 - - Use output names in update-unicode-tables.make - - src/update-unicode-tables.make | 51 +++++++++++++++++++----------------------- - 1 file changed, 23 insertions(+), 28 deletions(-) - -commit fb46a32ed0322d3f617dbfc7b982ff26f47d789c -Author: Ebrahim Byagowi -Date: Wed Jun 3 12:54:26 2020 +0430 - - 2.6.7 - - NEWS | 12 ++++++++++++ - configure.ac | 2 +- - meson.build | 2 +- - src/hb-common.h | 2 +- - src/hb-version.h | 4 ++-- - 5 files changed, 17 insertions(+), 5 deletions(-) - -commit 23091864683390d49ca710373b205e89004ef065 -Author: Ebrahim Byagowi -Date: Tue Jun 2 21:52:57 2020 +0430 - - Move unicode tables update script to its own make file - - Also downloads things needed for unicode tables generators - - src/Makefile.am | 35 +------------------------ - src/update-unicode-tables.make | 59 ++++++++++++++++++++++++++++++++++++++++++ - 2 files changed, 60 insertions(+), 34 deletions(-) - -commit 19ecabed37914bfff22dd79c633021fd5c1abd93 -Author: Ebrahim Byagowi -Date: Tue Jun 2 20:01:03 2020 +0430 - - minor, fix hb-version.h generation for out-of-tree builds - - src/Makefile.am | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 9737170b6fa7dcc29e3295b9491ea8bfef484ab8 -Author: Ebrahim Byagowi -Date: Tue Jun 2 19:18:35 2020 +0430 - - minor fixes on src gen scripts - - src/gen-harfbuzzcc.py | 2 ++ - src/gen-hb-version.py | 4 +++- - 2 files changed, 5 insertions(+), 1 deletion(-) - -commit 6058ede3ae983c53d1d6f5352d4235bafce3499a -Author: Ebrahim Byagowi -Date: Mon Jun 1 12:58:31 2020 +0430 - - Build win32 artifacts using meson - - As a part of meson migration, this builds hb-shape dependencies - using meson subprojects and removes different unrelated mingw - files we've put on source root about things that aren't really our - concern. This also simplifies all the instructions we've put in - README.mingw.md and makes it easy to build the project on - distros that no mingw libraries (such i686-win32-{freetype,glib,...} - are packaged. The known catch is however lack of hb-view as its need - for build of cairo which apparently isn't that straightforward. - - .ci/build-win32.sh | 15 +++++++++++ - .ci/win32-cross-file.txt | 20 +++++++++++++++ - .ci/win64-cross-file.txt | 20 +++++++++++++++ - .circleci/config.yml | 28 +++++++++------------ - Makefile.am | 19 -------------- - README.mingw.md | 29 +++++----------------- - RELEASING.md | 6 +---- - meson-mingw-cross.txt | 17 ------------- - meson.build | 3 +++ - mingw-configure.sh | 28 --------------------- - mingw-ldd.py | 56 ------------------------------------------ - mingw-meson.sh | 33 ------------------------- - mingw32.sh | 2 -- - mingw64.sh | 2 -- - subprojects/fontconfig.wrap | 1 + - subprojects/freetype2.wrap | 1 + - subprojects/glib.wrap | 1 + - subprojects/libffi.wrap | 3 ++- - subprojects/proxy-libintl.wrap | 1 + - subprojects/zlib.wrap | 1 + - 20 files changed, 84 insertions(+), 202 deletions(-) - -commit bb719915d95e5822b3da5f92d9192de08ce5532f -Author: Ebrahim Byagowi -Date: Sun May 31 12:57:26 2020 +0430 - - [tests/aots] move the update script to update.py - - test/shaping/data/aots/Makefile.am | 18 +----------------- - test/shaping/data/aots/update.py | 29 +++++++++++++++++++++++++++++ - 2 files changed, 30 insertions(+), 17 deletions(-) - -commit b318229993cb681027f403e491cc1e652441864c -Author: Ebrahim Byagowi -Date: Sun May 31 12:52:53 2020 +0430 - - [tests/test-rendering-tests] run git pull on correct dir - - test/shaping/data/text-rendering-tests/update.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 8a9a802636728f47f42cc0d58a8c98c1b22f9609 -Author: Ebrahim Byagowi -Date: Sun May 31 10:51:24 2020 +0430 - - minor, fix extra dist list - - test/shaping/data/text-rendering-tests/Makefile.am | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit 419c2d0a00d6f5c5c8a3a8ecd705aa1fa97c4768 -Author: Ebrahim Byagowi -Date: Sun May 31 02:33:36 2020 +0430 - - [test/text-rendering-tests] Adopt the update script with meson - - test/shaping/data/text-rendering-tests/meson.build | 95 ++++++++++++++++++++++ - test/shaping/data/text-rendering-tests/update.py | 8 ++ - test/shaping/meson.build | 87 +------------------- - 3 files changed, 105 insertions(+), 85 deletions(-) - -commit 2681656073f1bddc82f49019aeb49f0cb8dd7b5a -Author: Ebrahim Byagowi -Date: Sun May 31 02:23:49 2020 +0430 - - [test/text-rendering-tests] Update from upstream - - test/shaping/data/text-rendering-tests/DISABLED | 12 ++++ - .../data/text-rendering-tests/Makefile.sources | 24 +++++--- - .../data/text-rendering-tests/fonts/TestAVAR.ttf | Bin 1608 -> 1608 bytes - .../data/text-rendering-tests/fonts/TestCMAP14.otf | Bin 1628 -> 1628 bytes - .../text-rendering-tests/fonts/TestGPOSThree.ttf | Bin 3500 -> 3500 bytes - .../text-rendering-tests/fonts/TestGPOSTwo.otf | Bin 1680 -> 1680 bytes - .../text-rendering-tests/fonts/TestGSUBThree.ttf | Bin 1504 -> 1504 bytes - .../text-rendering-tests/fonts/TestGVARNine.ttf | Bin 2168 -> 2168 bytes - .../text-rendering-tests/fonts/TestHVAROne.otf | Bin 3984 -> 3984 bytes - .../text-rendering-tests/fonts/TestKERNOne.otf | Bin 1380 -> 1380 bytes - .../text-rendering-tests/fonts/TestMORXEight.ttf | Bin 2184 -> 2184 bytes - .../fonts/TestMORXEighteen.ttf | Bin 3256 -> 3256 bytes - .../text-rendering-tests/fonts/TestMORXEleven.ttf | Bin 1624 -> 1624 bytes - .../text-rendering-tests/fonts/TestMORXForty.ttf | Bin 2408 -> 2408 bytes - .../text-rendering-tests/fonts/TestMORXFour.ttf | Bin 4764 -> 4764 bytes - .../fonts/TestMORXFourteen.ttf | Bin 1816 -> 1816 bytes - .../fonts/TestMORXFourtyone.ttf | Bin 2248 -> 2248 bytes - .../text-rendering-tests/fonts/TestMORXNine.ttf | Bin 1624 -> 1624 bytes - .../text-rendering-tests/fonts/TestMORXOne.ttf | Bin 2404 -> 2404 bytes - .../fonts/TestMORXSeventeen.ttf | Bin 1788 -> 1788 bytes - .../text-rendering-tests/fonts/TestMORXSixteen.ttf | Bin 1812 -> 1812 bytes - .../text-rendering-tests/fonts/TestMORXTen.ttf | Bin 1620 -> 1620 bytes - .../fonts/TestMORXThirteen.ttf | Bin 1820 -> 1820 bytes - .../fonts/TestMORXThirtyeight.ttf | Bin 2444 -> 2444 bytes - .../fonts/TestMORXThirtyfive.ttf | Bin 1968 -> 1968 bytes - .../fonts/TestMORXThirtyfour.ttf | Bin 3608 -> 3608 bytes - .../fonts/TestMORXThirtynine.ttf | Bin 2436 -> 2436 bytes - .../fonts/TestMORXThirtyone.ttf | Bin 2964 -> 2964 bytes - .../fonts/TestMORXThirtyseven.ttf | Bin 2444 -> 2444 bytes - .../fonts/TestMORXThirtysix.ttf | Bin 1836 -> 1836 bytes - .../fonts/TestMORXThirtythree.ttf | Bin 1520 -> 1520 bytes - .../fonts/TestMORXThirtytwo.ttf | Bin 2948 -> 2948 bytes - .../text-rendering-tests/fonts/TestMORXThree.ttf | Bin 4104 -> 4104 bytes - .../text-rendering-tests/fonts/TestMORXTwelve.ttf | Bin 2200 -> 2200 bytes - .../text-rendering-tests/fonts/TestMORXTwenty.ttf | Bin 3232 -> 3232 bytes - .../fonts/TestMORXTwentyeight.ttf | Bin 2660 -> 2660 bytes - .../fonts/TestMORXTwentyfive.ttf | Bin 3260 -> 3260 bytes - .../fonts/TestMORXTwentyfour.ttf | Bin 1828 -> 1828 bytes - .../fonts/TestMORXTwentynine.ttf | Bin 3012 -> 3012 bytes - .../fonts/TestMORXTwentyone.ttf | Bin 3244 -> 3244 bytes - .../fonts/TestMORXTwentyseven.ttf | Bin 2432 -> 2432 bytes - .../fonts/TestMORXTwentysix.ttf | Bin 3252 -> 3252 bytes - .../fonts/TestMORXTwentythree.ttf | Bin 1836 -> 1836 bytes - .../fonts/TestMORXTwentytwo.ttf | Bin 3256 -> 3256 bytes - .../text-rendering-tests/fonts/TestMORXTwo.ttf | Bin 4960 -> 4960 bytes - .../text-rendering-tests/fonts/TestSFNTOne.otf | Bin 0 -> 3228 bytes - .../text-rendering-tests/fonts/TestSFNTTwo.ttf | Bin 0 -> 3228 bytes - .../fonts/TestSVGgradientTransform.otf | Bin 0 -> 48292 bytes - .../text-rendering-tests/fonts/TestSVGgzip.otf | Bin 0 -> 3024 bytes - .../fonts/TestSVGmultiGlyphs.otf | Bin 0 -> 10876 bytes - .../text-rendering-tests/fonts/TestShapeLana.ttf | Bin 0 -> 87032 bytes - .../text-rendering-tests/fonts/TestTRAKOne.ttf | Bin 1752 -> 1752 bytes - .../data/text-rendering-tests/tests/AVAR-1.tests | 34 +++++------ - .../data/text-rendering-tests/tests/CFF-1.tests | 26 ++++----- - .../data/text-rendering-tests/tests/CFF-2.tests | 26 ++++----- - .../data/text-rendering-tests/tests/CFF2-1.tests | 18 +++--- - .../data/text-rendering-tests/tests/CMAP-1.tests | 8 +-- - .../data/text-rendering-tests/tests/CMAP-2.tests | 4 +- - .../data/text-rendering-tests/tests/CMAP-3.tests | 40 ++++++------- - .../data/text-rendering-tests/tests/CVAR-1.tests | 6 +- - .../data/text-rendering-tests/tests/CVAR-2.tests | 6 +- - .../data/text-rendering-tests/tests/GLYF-1.tests | 2 +- - .../data/text-rendering-tests/tests/GPOS-1.tests | 38 ++++++------- - .../data/text-rendering-tests/tests/SFNT-1.tests | 2 + - .../data/text-rendering-tests/tests/SFNT-2.tests | 2 + - .../data/text-rendering-tests/tests/SHARAN-1.tests | 12 ++-- - .../data/text-rendering-tests/tests/SHBALI-1.tests | 44 +++++++-------- - .../data/text-rendering-tests/tests/SHBALI-2.tests | 24 ++++---- - .../data/text-rendering-tests/tests/SHKNDA-2.tests | 32 +++++------ - .../data/text-rendering-tests/tests/SHKNDA-3.tests | 62 ++++++++++----------- - .../data/text-rendering-tests/tests/SHLANA-1.tests | 52 +++++++++++++++++ - .../text-rendering-tests/tests/SHLANA-10.tests | 47 ++++++++++++++++ - .../data/text-rendering-tests/tests/SHLANA-2.tests | 37 ++++++++++++ - .../data/text-rendering-tests/tests/SHLANA-3.tests | 13 +++++ - .../data/text-rendering-tests/tests/SHLANA-4.tests | 3 + - .../data/text-rendering-tests/tests/SHLANA-5.tests | 13 +++++ - .../data/text-rendering-tests/tests/SHLANA-6.tests | 7 +++ - .../data/text-rendering-tests/tests/SHLANA-7.tests | 18 ++++++ - .../data/text-rendering-tests/tests/SHLANA-8.tests | 13 +++++ - .../data/text-rendering-tests/tests/SHLANA-9.tests | 6 ++ - 80 files changed, 433 insertions(+), 198 deletions(-) - -commit ff89ba6e4d8e0e7e3545bc386bbc32d3153faab8 -Author: Ebrahim Byagowi -Date: Sun May 31 02:20:53 2020 +0430 - - [tests] Port text-rendering-tests update script to python - - .../data/text-rendering-tests/extract-tests.py | 61 ----------- - test/shaping/data/text-rendering-tests/update.py | 112 +++++++++++++++++++++ - test/shaping/data/text-rendering-tests/update.sh | 46 --------- - 3 files changed, 112 insertions(+), 107 deletions(-) - -commit a9d13463b554981cc48349de64bf6d44147ff754 -Author: Ebrahim Byagowi -Date: Sat May 30 14:17:56 2020 +0430 - - [meson] Categorize tests using `suite: [...]` - - So one can run a category of interested tests like - - meson test -Cbuild --suite aots --suite src --print-errorlogs - - Intead issuing particular tests which also is possible like - - meson test -Cbuild test-shape --print-errorlogs - - src/meson.build | 8 ++++++-- - test/api/meson.build | 2 +- - test/fuzzing/meson.build | 12 +++++++++--- - test/shaping/meson.build | 3 +++ - test/subset/meson.build | 1 + - 5 files changed, 20 insertions(+), 6 deletions(-) - -commit 9d13124cfd6db1396f2a0ad5f7a9633825432898 -Author: Ebrahim Byagowi -Date: Sat May 30 14:45:22 2020 +0430 - - [ci] fix alpine build issue - - .circleci/config.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 7250adee263f068634f6110b2c8d94f105294c13 -Author: Ebrahim Byagowi -Date: Fri May 29 12:34:30 2020 +0430 - - [tests] Port check scripts to python - - src/Makefile.am | 14 ++++----- - src/check-c-linkage-decls.py | 26 ++++++++++++++++ - src/check-c-linkage-decls.sh | 27 ---------------- - src/check-externs.py | 20 ++++++++++++ - src/check-externs.sh | 22 ------------- - src/check-header-guards.py | 22 +++++++++++++ - src/check-header-guards.sh | 24 --------------- - src/check-includes.py | 39 +++++++++++++++++++++++ - src/check-includes.sh | 44 -------------------------- - src/check-libstdc++.py | 41 +++++++++++++++++++++++++ - src/check-libstdc++.sh | 43 -------------------------- - src/check-static-inits.py | 38 +++++++++++++++++++++++ - src/check-static-inits.sh | 49 ----------------------------- - src/check-symbols.py | 73 ++++++++++++++++++++++++++++++++++++++++++++ - src/check-symbols.sh | 61 ------------------------------------ - src/meson.build | 61 +++++++++++++++++------------------- - 16 files changed, 294 insertions(+), 310 deletions(-) - -commit 5eb6cafd2eff067ee2915d084c14e872691dffac -Author: Ebrahim Byagowi -Date: Fri May 29 23:54:14 2020 +0430 - - [meson] reflect chosen linker update - - As d9177a594bc2846b03a43b8d00949d23ab0d91c2 - - meson_options.txt | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 0d8442a55f6b34ca3b5f444de2a3cdcce27421ff -Author: Ebrahim Byagowi -Date: Fri May 29 16:11:32 2020 +0430 - - [meson] minor, find run-tests.py only once - - test/shaping/meson.build | 8 +++++--- - 1 file changed, 5 insertions(+), 3 deletions(-) - -commit 3c5bdd9bb8eb97b8ff7109884cbf03c645e4eaa7 -Author: Qunxin Liu -Date: Tue Feb 18 10:02:19 2020 -0800 - - [subset] GDEF AttachList subsetting support - - src/hb-ot-layout-gdef-table.hh | 41 +++++++++++++++++++-- - test/subset/data/Makefile.am | 1 + - test/subset/data/Makefile.sources | 1 + - .../IndicTestJalandhar-Regular.default.A01.ttf | Bin 0 -> 4088 bytes - .../IndicTestJalandhar-Regular.default.A05,A06.ttf | Bin 0 -> 4652 bytes - .../IndicTestJalandhar-Regular.default.A07,A1B.ttf | Bin 0 -> 4620 bytes - ...andhar-Regular.default.retain-all-codepoint.ttf | Bin 0 -> 28176 bytes - .../IndicTestJalandhar-Regular.drop-hints.A01.ttf | Bin 0 -> 948 bytes - ...dicTestJalandhar-Regular.drop-hints.A05,A06.ttf | Bin 0 -> 1244 bytes - ...dicTestJalandhar-Regular.drop-hints.A07,A1B.ttf | Bin 0 -> 1240 bytes - ...har-Regular.drop-hints.retain-all-codepoint.ttf | Bin 0 -> 15200 bytes - .../IndicTestJalandhar-Regular.keep-gdef.A01.ttf | Bin 0 -> 4140 bytes - ...ndicTestJalandhar-Regular.keep-gdef.A05,A06.ttf | Bin 0 -> 4716 bytes - ...ndicTestJalandhar-Regular.keep-gdef.A07,A1B.ttf | Bin 0 -> 4688 bytes - ...dhar-Regular.keep-gdef.retain-all-codepoint.ttf | Bin 0 -> 28604 bytes - .../data/fonts/IndicTestJalandhar-Regular.ttf | Bin 0 -> 49816 bytes - .../subset/data/tests/layout.gdef-attachlist.tests | 13 +++++++ - 17 files changed, 52 insertions(+), 4 deletions(-) - -commit 368ca306413da698f93562281926fec6f0e56863 -Author: Ebrahim Byagowi -Date: Fri May 29 00:42:32 2020 +0430 - - minor on python scripts - - * remove not needed imports - * remove semicolons - - src/gen-harfbuzzcc.py | 2 +- - src/gen-hb-version.py | 2 +- - src/gen-os2-unicode-ranges.py | 1 - - src/gen-ragel-artifacts.py | 6 +++--- - src/gen-ucd-table.py | 2 +- - test/subset/run-tests.py | 2 +- - test/subset/subset_test_suite.py | 4 ++-- - 7 files changed, 9 insertions(+), 10 deletions(-) - -commit ad87155fd000aa05b5c6bf09c5a3ffbda658d60c -Author: Ebrahim Byagowi -Date: Fri May 29 00:11:19 2020 +0430 - - minor, use py3's open(encoding=) - - src/gen-arabic-table.py | 4 ++-- - src/gen-def.py | 4 ++-- - src/gen-indic-table.py | 4 ++-- - src/gen-os2-unicode-ranges.py | 2 +- - src/gen-tag-table.py | 5 ++--- - src/gen-use-table.py | 3 +-- - src/gen-vowel-constraints.py | 5 ++--- - test/subset/generate-expected-outputs.py | 3 +-- - test/subset/run-tests.py | 7 +++---- - test/subset/subset_test_suite.py | 3 +-- - 10 files changed, 17 insertions(+), 23 deletions(-) - -commit cd5580e2d62038725f3ad3e828d326b6cd7934da -Author: Ebrahim Byagowi -Date: Thu May 28 23:43:55 2020 +0430 - - minor, enable printing to stderr in run-tests.py - - As was originally intended https://github.com/harfbuzz/harfbuzz/blob/3ce6c7b/test/shaping/run-tests.sh - - test/shaping/run-tests.py | 10 +++++----- - test/subset/run-tests.py | 2 +- - 2 files changed, 6 insertions(+), 6 deletions(-) - -commit 7554f618ecfbc0ba07937c7167ca6b456d55d712 -Author: Ebrahim Byagowi -Date: Thu May 28 22:51:29 2020 +0430 - - minor, use sys.exit print shorthand - - mingw-ldd.py | 3 +- - src/gen-arabic-table.py | 3 +- - src/gen-emoji-table.py | 3 +- - src/gen-harfbuzzcc.py | 2 +- - src/gen-indic-table.py | 3 +- - src/gen-tag-table.py | 3 +- - src/gen-ucd-table.py | 3 +- - src/gen-use-table.py | 3 +- - src/gen-vowel-constraints.py | 3 +- - test/fuzzing/run-draw-fuzzer-tests.py | 9 ++---- - test/fuzzing/run-shape-fuzzer-tests.py | 9 ++---- - test/fuzzing/run-subset-fuzzer-tests.py | 9 ++---- - .../data/text-rendering-tests/extract-tests.py | 3 +- - test/shaping/hb-diff | 3 +- - test/shaping/hb_test_tools.py | 33 +++++++++------------- - test/shaping/run-tests.py | 3 +- - test/subset/run-tests.py | 9 ++---- - 17 files changed, 39 insertions(+), 65 deletions(-) - -commit 08f1d95a50f9efc2864dddef2a7713f57d387a26 -Author: Ebrahim Byagowi -Date: Thu May 28 15:01:15 2020 +0430 - - minor, move scripts manuals to __doc__ - - src/gen-arabic-table.py | 14 ++++++++------ - src/gen-def.py | 4 +++- - src/gen-emoji-table.py | 11 +++++++---- - src/gen-harfbuzzcc.py | 4 +++- - src/gen-hb-version.py | 4 +++- - src/gen-indic-table.py | 13 ++++++++----- - src/gen-os2-unicode-ranges.py | 9 +++++---- - src/gen-tag-table.py | 12 +++++++----- - src/gen-ucd-table.py | 11 +++++++---- - src/gen-use-table.py | 17 ++++++++++------- - src/gen-vowel-constraints.py | 9 +++++---- - 11 files changed, 66 insertions(+), 42 deletions(-) - -commit 593e58c84287968f5625c8aa0dd7c60f1a03b705 -Author: Qunxin Liu -Date: Wed May 20 18:00:25 2020 -0700 - - [subset] ChainContext subsetting fix: add lookup index remapping - - src/hb-ot-layout-gsubgpos.hh | 57 ++++++++++++++------- - test/subset/data/Makefile.am | 1 + - test/subset/data/Makefile.sources | 1 + - ...ules_f1.keep-layout-retain-gids.30,31,32,33.otf | Bin 0 -> 2408 bytes - ...ubrules_f1.keep-layout-retain-gids.41,42,43.otf | Bin 0 -> 2032 bytes - ...eep-layout-retain-gids.retain-all-codepoint.otf | Bin 0 -> 3776 bytes - ...ultiple_subrules_f1.keep-layout.30,31,32,33.otf | Bin 0 -> 1944 bytes - ...1_multiple_subrules_f1.keep-layout.41,42,43.otf | Bin 0 -> 1332 bytes - ...ubrules_f1.keep-layout.retain-all-codepoint.otf | Bin 0 -> 3776 bytes - ...ules_f1.keep-layout-retain-gids.30,31,32,33.otf | Bin 0 -> 2428 bytes - ...ubrules_f1.keep-layout-retain-gids.41,42,43.otf | Bin 0 -> 2032 bytes - ...eep-layout-retain-gids.retain-all-codepoint.otf | Bin 0 -> 3808 bytes - ...ultiple_subrules_f1.keep-layout.30,31,32,33.otf | Bin 0 -> 1964 bytes - ...2_multiple_subrules_f1.keep-layout.41,42,43.otf | Bin 0 -> 1332 bytes - ...ubrules_f1.keep-layout.retain-all-codepoint.otf | Bin 0 -> 3808 bytes - ...mple_f1.keep-layout-retain-gids.30,31,32,33.otf | Bin 0 -> 2400 bytes - ..._simple_f1.keep-layout-retain-gids.41,42,43.otf | Bin 0 -> 2008 bytes - ...eep-layout-retain-gids.retain-all-codepoint.otf | Bin 0 -> 3744 bytes - ...chaining3_simple_f1.keep-layout.30,31,32,33.otf | Bin 0 -> 1936 bytes - ...os_chaining3_simple_f1.keep-layout.41,42,43.otf | Bin 0 -> 1308 bytes - ..._simple_f1.keep-layout.retain-all-codepoint.otf | Bin 0 -> 3744 bytes - .../fonts/gpos_chaining1_multiple_subrules_f1.otf | Bin 0 -> 4772 bytes - .../fonts/gpos_chaining2_multiple_subrules_f1.otf | Bin 0 -> 4860 bytes - .../subset/data/fonts/gpos_chaining3_simple_f1.otf | Bin 0 -> 4740 bytes - test/subset/data/tests/layout.gpos8.tests | 13 +++++ - 25 files changed, 53 insertions(+), 19 deletions(-) - -commit e3af529e511ca492284cdd9f4584666b88a9e00f -Author: Ebrahim Byagowi -Date: Sat May 23 22:13:32 2020 +0430 - - [meson] update generated headers only when the result is different - - This way it won't ruin incremental builds. - - We need a better way to declare source altering tasks - https://github.com/mesonbuild/meson/issues/7156 - yet this is good enough despite being not idiomatic. - - It is however not that smooth yet as the change may is detected on the - next meson run. One of course can issue ./gen-ragel-artifacts.py - manually for better experience before running meson. - - src/gen-hb-version.py | 12 ++++++++++-- - src/gen-ragel-artifacts.py | 26 ++++++++++++++++++++++---- - src/meson.build | 15 ++++++--------- - 3 files changed, 38 insertions(+), 15 deletions(-) - -commit b32d169d22278a108b0772ab1dc72fd0c344af52 -Author: Ebrahim Byagowi -Date: Sat May 23 13:03:06 2020 +0430 - - [test] run aat APIs in shape fuzzer - - test/api/test-ot-face.c | 10 ++++++++++ - 1 file changed, 10 insertions(+) - -commit 1fbb7883262d4d6eb28d283d236c152d2216db50 -Author: Ebrahim Byagowi -Date: Sat May 23 12:38:07 2020 +0430 - - [gdef] minor, use dagger in ligature carets fetch - - src/hb-ot-layout-gdef-table.hh | 29 +++++++++++++++-------------- - 1 file changed, 15 insertions(+), 14 deletions(-) - -commit 2264a7011f82140ac8dc12ec307ba5c563aad4a1 -Author: Ebrahim Byagowi -Date: Sat May 23 12:14:40 2020 +0430 - - [tests] some more ligature carets tests - - test/api/test-ot-ligature-carets.c | 69 +++++++++++++++++++++++++++++++++++++- - 1 file changed, 68 insertions(+), 1 deletion(-) - -commit d7c012a08e347dcfd1ed4229d70c0a4be496c02b -Author: Qunxin Liu -Date: Wed Feb 26 13:11:42 2020 -0800 - - [subset] GDEF Variation Store: step 2 - do subset based on variation indices collected in step 1 - - src/hb-ot-layout-common.hh | 96 ++++++++++++++- - src/hb-ot-layout-gdef-table.hh | 28 +++-- - src/hb-ot-layout-gpos-table.hh | 136 ++++++++++++--------- - src/hb-ot-layout-gsubgpos.hh | 5 +- - src/hb-ot-layout.cc | 32 ----- - src/hb-ot-layout.h | 7 -- - src/hb-subset-plan.cc | 22 +++- - test/subset/data/Makefile.am | 1 + - test/subset/data/Makefile.sources | 1 + - .../AdobeVFPrototype.default.41,42,43,57.otf | Bin 0 -> 4960 bytes - .../AdobeVFPrototype.default.41,42,43.otf | Bin 0 -> 4540 bytes - .../AdobeVFPrototype.default.41,42.otf | Bin 0 -> 4132 bytes - .../AdobeVFPrototype.default.41,56,57.otf | Bin 0 -> 4152 bytes - .../AdobeVFPrototype.default.41.otf | Bin 0 -> 3468 bytes - .../AdobeVFPrototype.default.42,57.otf | Bin 0 -> 4208 bytes - .../AdobeVFPrototype.drop-hints.41,42,43,57.otf | Bin 0 -> 4772 bytes - .../AdobeVFPrototype.drop-hints.41,42,43.otf | Bin 0 -> 4352 bytes - .../AdobeVFPrototype.drop-hints.41,42.otf | Bin 0 -> 3944 bytes - .../AdobeVFPrototype.drop-hints.41,56,57.otf | Bin 0 -> 3964 bytes - .../AdobeVFPrototype.drop-hints.41.otf | Bin 0 -> 3280 bytes - .../AdobeVFPrototype.drop-hints.42,57.otf | Bin 0 -> 4020 bytes - ...AdobeVFPrototype.keep-gdef-gpos.41,42,43,57.otf | Bin 0 -> 5444 bytes - .../AdobeVFPrototype.keep-gdef-gpos.41,42,43.otf | Bin 0 -> 4916 bytes - .../AdobeVFPrototype.keep-gdef-gpos.41,42.otf | Bin 0 -> 4436 bytes - .../AdobeVFPrototype.keep-gdef-gpos.41,56,57.otf | Bin 0 -> 4556 bytes - .../AdobeVFPrototype.keep-gdef-gpos.41.otf | Bin 0 -> 3692 bytes - .../AdobeVFPrototype.keep-gdef-gpos.42,57.otf | Bin 0 -> 4556 bytes - test/subset/data/fonts/AdobeVFPrototype.otf | Bin 0 -> 120400 bytes - test/subset/data/tests/layout.gdef-varstore.tests | 16 +++ - 29 files changed, 232 insertions(+), 112 deletions(-) - -commit 8200e48ffc1918daa8aaa9432048334844f3b8a5 -Author: Qunxin Liu -Date: Wed Feb 26 13:11:42 2020 -0800 - - [subset] GDEF Variation Store: step 1 - closure device variation indexes, create old->new variation idx mapping - and store them in subset-plan - - src/hb-ot-layout-common.hh | 47 ++++++ - src/hb-ot-layout-gdef-table.hh | 60 ++++++++ - src/hb-ot-layout-gpos-table.hh | 325 +++++++++++++++++++++++++++++++++++++++-- - src/hb-ot-layout-gsubgpos.hh | 15 ++ - src/hb-ot-layout.cc | 31 ++++ - src/hb-ot-layout.h | 6 + - src/hb-subset-plan.cc | 28 +++- - src/hb-subset-plan.hh | 5 + - 8 files changed, 504 insertions(+), 13 deletions(-) - -commit 8ba0077ea3b946efff40cd96ee0bfb36c776dfca -Author: Vincent Torri -Date: Thu May 21 19:53:42 2020 +0200 - - Add shell script and cross-compilation file to compile Harfbuzz with meson - - meson-mingw-cross.txt | 17 +++++++++++++++++ - mingw-meson.sh | 33 +++++++++++++++++++++++++++++++++ - 2 files changed, 50 insertions(+) - -commit d2e3a048d190330270af1c4f439d55b62d8df81d -Author: Ebrahim Byagowi -Date: Thu May 21 21:48:01 2020 +0430 - - [meson] Fix fix_get_types.py shabang, minor format - - src/fix_get_types.py | 22 +++++++++++----------- - 1 file changed, 11 insertions(+), 11 deletions(-) - -commit 887aa0214feade3f5b782ebb25e5c52704d0aa64 -Author: Ebrahim Byagowi -Date: Thu May 21 20:02:47 2020 +0430 - - [meson] Use find_program for locating python script - - Apparently that is the simplest and supported way of finding python scripts. - - meson.build | 2 -- - src/meson.build | 4 ++-- - test/shaping/meson.build | 9 +++------ - 3 files changed, 5 insertions(+), 10 deletions(-) - -commit d9177a594bc2846b03a43b8d00949d23ab0d91c2 -Author: Ebrahim Byagowi -Date: Thu May 21 19:34:56 2020 +0430 - - [meson] Use a c linker for on Windows also - - Using a C linker was limited to non-Windows as 20a840c7, let's - revisit this while transition to meson. - - Packagers easily override that via the option and use a C++ linker - if needed. - - src/meson.build | 5 +---- - 1 file changed, 1 insertion(+), 4 deletions(-) - -commit cc53fd158c09451a83cef7fda7371a84d906be20 -Author: Ebrahim Byagowi -Date: Thu May 21 19:33:18 2020 +0430 - - [meson] Normalize options names - - As https://github.com/harfbuzz/harfbuzz/pull/2412#discussion_r426275027 - - .circleci/config.yml | 4 ++-- - meson.build | 4 ++-- - meson_options.txt | 10 +++++----- - src/meson.build | 6 +++--- - test/subset/meson.build | 2 +- - 5 files changed, 13 insertions(+), 13 deletions(-) - -commit a9e8328ae2b14341c3dee1b6610bb454f50e34aa -Author: Ebrahim Byagowi -Date: Thu May 21 16:28:24 2020 +0430 - - [meson] Add build configuration summary just like autotools - - docs/meson.build | 2 ++ - meson.build | 27 +++++++++++++++++++++++++++ - src/meson.build | 1 + - 3 files changed, 30 insertions(+) - -commit 99e2342a6b129cfc69f23081b9efb826f9aa950e -Author: Ebrahim Byagowi -Date: Thu May 21 17:41:45 2020 +0430 - - [ci] Install newer meson from pip - - .circleci/config.yml | 8 ++++---- - appveyor.yml | 4 ++-- - 2 files changed, 6 insertions(+), 6 deletions(-) - -commit f7562672f909d9cca8118659c017c552328796af -Author: Ebrahim Byagowi -Date: Thu May 21 17:01:04 2020 +0430 - - [meson] Use / instead join_paths - - We need some of the very recent features of meson, let's use the new features also - - docs/meson.build | 4 ++-- - meson.build | 2 +- - src/meson.build | 8 ++++---- - test/fuzzing/meson.build | 6 +++--- - test/shaping/meson.build | 12 ++++++------ - test/subset/meson.build | 4 ++-- - 6 files changed, 18 insertions(+), 18 deletions(-) - -commit b8d1760bc00071580a41b1e41fca6675f1e4aa04 -Author: Ebrahim Byagowi -Date: Thu May 21 14:45:41 2020 +0430 - - [meson/ci] Increase cmap fuzzer timeout even more - - test/fuzzing/meson.build | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 4b12b8466faa14cd09d57ba5c3819c2d24e66b1e -Author: Ebrahim Byagowi -Date: Thu May 21 14:23:36 2020 +0430 - - [meson] Increase timeout in hope to resolve Actions' bot timeout - - test/fuzzing/meson.build | 2 +- - test/subset/meson.build | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit 1c4dd79cfb2ce617f51778be96cd7fb99fda0382 -Author: Ebrahim Byagowi -Date: Thu May 21 08:49:14 2020 +0430 - - [ci] Increase timeout as gh bot issue isn't resolved by serial test - - test/fuzzing/meson.build | 2 +- - test/subset/meson.build | 3 +-- - 2 files changed, 2 insertions(+), 3 deletions(-) - -commit eac2c3bdb1953d42b4ba07292a4c8e6a9bf94cad -Author: Ebrahim Byagowi -Date: Thu May 21 07:09:03 2020 +0430 - - [ci] Enable sanitizer bots again - - .circleci/config.yml | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -commit f9b31ddaaa81b63c2f3be325aa879796703e5a18 -Author: Ebrahim Byagowi -Date: Thu May 21 08:37:44 2020 +0430 - - [build] State encoding explicitly for hb-version.h.in - - As https://circleci.com/gh/harfbuzz/harfbuzz/140481 - Traceback (most recent call last): - File "./gen-hb-version.py", line 14, in - output_file.write (input_file.read () - File "/usr/lib/python3.4/encodings/ascii.py", line 26, in decode - return codecs.ascii_decode(input, self.errors)[0] - UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 16: ordinal not in range(128) - - src/gen-hb-version.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 759ab4fe561b329d8a2d7682e42b8b4f85aa78f6 -Author: Ebrahim Byagowi -Date: Thu May 21 08:24:15 2020 +0430 - - [meson] Use subdir_done to simplify test/api/meson.build - - test/api/meson.build | 161 ++++++++++++++++++++++++++------------------------- - 1 file changed, 81 insertions(+), 80 deletions(-) - -commit a79d0e405b65c9c077a5e29b0b9313a606da691b -Author: Ebrahim Byagowi -Date: Thu May 21 07:32:58 2020 +0430 - - [subset] minor, use a better type in iteration - - In file included from hb-ot-face.cc:34: - In file included from ./hb-ot-kern-table.hh:30: - In file included from ./hb-aat-layout-kerx-table.hh:31: - In file included from ./hb-kern.hh:32: - In file included from ./hb-ot-layout-gpos-table.hh:32: - ./hb-ot-layout-gsubgpos.hh:1878:63: error: loop variable '_' binds to a temporary value produced by a range of type 'decltype((hb_forward>(rhs)(hb_forward, hb_array_t, true>>>>(lhs))))' (aka 'hb_filter_iter_t, hb_array_t, true>>>, hb_map_t &, const (anonymous struct at ./hb-algs.hh:331:1) &>') [-Werror,-Wrange-loop-bind-reference] - for (const hb_pair_t&>& _ : + hb_enumerate (ruleSet) - ^ - ./hb-ot-layout-gsubgpos.hh:1878:10: note: use non-reference type 'hb_pair_t &>' - for (const hb_pair_t&>& _ : + hb_enumerate (ruleSet) - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - - src/hb-ot-layout-gsubgpos.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 8667df552c640c41413cb34d2ef008eb037988d2 -Author: Ebrahim Byagowi -Date: Thu May 21 07:19:37 2020 +0430 - - [meson] Unbreak the build, oops - - test/fuzzing/meson.build | 2 +- - test/subset/meson.build | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit 37f9cccc210dd17af93c71ef3a9327d4365181c0 -Author: Ebrahim Byagowi -Date: Thu May 21 07:17:18 2020 +0430 - - [meson] Don't run subset tests in parallel - - Hopefully resolves https://github.com/harfbuzz/harfbuzz/runs/695051808#step:6:700 for now - - test/subset/meson.build | 1 + - 1 file changed, 1 insertion(+) - -commit 791debdc4ae18b2b22842b1fb28a26e93633ce7b -Author: Ebrahim Byagowi -Date: Thu May 21 07:15:09 2020 +0430 - - [meson][ci] Don't run subset fuzzer test in parallel - - resolves https://github.com/harfbuzz/harfbuzz/runs/695051808#step:6:595 failure - - test/fuzzing/meson.build | 1 + - 1 file changed, 1 insertion(+) - -commit 8a5368e2d6d136357f7114e638635a15e7759841 -Author: Ebrahim Byagowi -Date: Thu May 21 07:00:40 2020 +0430 - - [tests] Enable more gid misc calls on draw fuzzer - - test/fuzzing/hb-draw-fuzzer.cc | 42 ++++++++++++++++++++++++++++++++++++++++-- - 1 file changed, 40 insertions(+), 2 deletions(-) - -commit c68ab4b52b898f5c168cf662137b3dce922c29d9 -Author: Ebrahim Byagowi -Date: Thu May 21 00:25:17 2020 +0430 - - Fix _get_ligature_caret's oob read issue - - AAT::Lookup has no other way to detect whether it is returned from - a real and sanitized font data or from a null pool, this checks if - the table has been recognized valid by sanitizer by checking - table's major version which is zero if returned from a null pool and - non-zero if is from a sanitized font data, it is expected the other - calls of the table (unlikely to have more calls however) also do a - similar version check before calling the lookups used on the table. - - src/hb-aat-layout-lcar-table.hh | 9 +++++++++ - test/api/test-ot-face.c | 2 ++ - test/api/test-ot-ligature-carets.c | 14 ++++---------- - test/fuzzing/hb-draw-fuzzer.cc | 3 +++ - 4 files changed, 18 insertions(+), 10 deletions(-) - -commit 57886e2162312b789dd5a1956a883c3fd2c1cee0 -Author: Ebrahim Byagowi -Date: Thu May 21 06:29:33 2020 +0430 - - [test] Enable tests fixed by 461cd5a which was regressed by b986fea - - test/api/test-ot-ligature-carets.c | 10 ++++------ - 1 file changed, 4 insertions(+), 6 deletions(-) - -commit 8b5d3ebd9653375025e5ff439191370332e1b346 -Author: Qunxin Liu -Date: Fri Apr 17 11:58:31 2020 -0700 - - [subset] GSUB5/GPOS7 Contextual Subst/Pos Subtbale Subsetting support - - src/hb-ot-layout-gsubgpos.hh | 160 ++++++++++++++++++++- - src/hb-subset.cc | 2 +- - src/hb-subset.hh | 7 +- - test/subset/data/Makefile.am | 1 + - test/subset/data/Makefile.sources | 1 + - ...ubrules_f1.keep-layout-retain-gids.41,42,43.otf | Bin 0 -> 2140 bytes - ...e_subrules_f1.keep-layout-retain-gids.41,42.otf | Bin 0 -> 2028 bytes - ...e_subrules_f1.keep-layout-retain-gids.41,43.otf | Bin 0 -> 2048 bytes - ...iple_subrules_f1.keep-layout-retain-gids.41.otf | Bin 0 -> 1916 bytes - ...eep-layout-retain-gids.retain-all-codepoint.otf | Bin 0 -> 3756 bytes - ...1_multiple_subrules_f1.keep-layout.41,42,43.otf | Bin 0 -> 1440 bytes - ...ext1_multiple_subrules_f1.keep-layout.41,42.otf | Bin 0 -> 1324 bytes - ...ext1_multiple_subrules_f1.keep-layout.41,43.otf | Bin 0 -> 1332 bytes - ...ontext1_multiple_subrules_f1.keep-layout.41.otf | Bin 0 -> 1216 bytes - ...ubrules_f1.keep-layout.retain-all-codepoint.otf | Bin 0 -> 3756 bytes - ...ubrules_f1.keep-layout-retain-gids.41,42,43.otf | Bin 0 -> 2156 bytes - ...e_subrules_f1.keep-layout-retain-gids.41,42.otf | Bin 0 -> 2040 bytes - ...e_subrules_f1.keep-layout-retain-gids.41,43.otf | Bin 0 -> 2048 bytes - ...iple_subrules_f1.keep-layout-retain-gids.41.otf | Bin 0 -> 1916 bytes - ...eep-layout-retain-gids.retain-all-codepoint.otf | Bin 0 -> 3772 bytes - ...2_multiple_subrules_f1.keep-layout.41,42,43.otf | Bin 0 -> 1456 bytes - ...ext2_multiple_subrules_f1.keep-layout.41,42.otf | Bin 0 -> 1336 bytes - ...ext2_multiple_subrules_f1.keep-layout.41,43.otf | Bin 0 -> 1332 bytes - ...ontext2_multiple_subrules_f1.keep-layout.41.otf | Bin 0 -> 1216 bytes - ...ubrules_f1.keep-layout.retain-all-codepoint.otf | Bin 0 -> 3772 bytes - ..._simple_f1.keep-layout-retain-gids.41,42,43.otf | Bin 0 -> 2120 bytes - ...xt3_simple_f1.keep-layout-retain-gids.41,42.otf | Bin 0 -> 1912 bytes - ...xt3_simple_f1.keep-layout-retain-gids.41,43.otf | Bin 0 -> 2028 bytes - ...ntext3_simple_f1.keep-layout-retain-gids.41.otf | Bin 0 -> 1896 bytes - ...eep-layout-retain-gids.retain-all-codepoint.otf | Bin 0 -> 3736 bytes - ...pos_context3_simple_f1.keep-layout.41,42,43.otf | Bin 0 -> 1420 bytes - .../gpos_context3_simple_f1.keep-layout.41,42.otf | Bin 0 -> 1208 bytes - .../gpos_context3_simple_f1.keep-layout.41,43.otf | Bin 0 -> 1312 bytes - .../gpos_context3_simple_f1.keep-layout.41.otf | Bin 0 -> 1196 bytes - ..._simple_f1.keep-layout.retain-all-codepoint.otf | Bin 0 -> 3736 bytes - .../fonts/gpos_context1_multiple_subrules_f1.otf | Bin 0 -> 4760 bytes - .../fonts/gpos_context2_multiple_subrules_f1.otf | Bin 0 -> 4780 bytes - test/subset/data/fonts/gpos_context3_simple_f1.otf | Bin 0 -> 4732 bytes - test/subset/data/tests/layout.context.tests | 15 ++ - 39 files changed, 176 insertions(+), 10 deletions(-) - -commit 00aba82a6d4b00b2d512e13ea1ee7aefea5d7441 -Merge: ca2705f1f 461cd5a15 -Author: Ebrahim Byagowi -Date: Thu May 21 00:10:33 2020 +0430 - - Merge pull request #2415 from pipcet/fix-ligature-carets - - minor: fix hb_ot_layout_get_ligature_carets - -commit ca2705f1fbd7e60fdabf59a93f8dc6c19fa2fcd0 -Author: Ebrahim Byagowi -Date: Thu May 21 00:05:42 2020 +0430 - - [tests] Add more tests for _get_ligature_carets - - test/api/fonts/NotoNastaliqUrdu-Regular.ttf | Bin 0 -> 497204 bytes - test/api/test-ot-ligature-carets.c | 153 +++++++++++++++++++++++++--- - 2 files changed, 138 insertions(+), 15 deletions(-) - -commit 461cd5a158cd01163c205e0e8cfeb366779c100e -Author: Pip Cet -Date: Wed May 20 10:01:24 2020 +0000 - - minor: fix hb_ot_layout_get_ligature_carets - - src/hb-ot-layout.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 3dd7b2105b3f36ce08dfa5bdaed792dc4eb69ad3 -Author: Tim-Philipp Müller -Date: Sun May 17 00:12:08 2020 +0100 - - meson: build documentation with gtk-doc - - Fixes https://github.com/harfbuzz/harfbuzz/issues/2409 - - docs/Makefile.am | 2 +- - docs/meson.build | 67 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ - meson.build | 4 ++++ - meson_options.txt | 2 ++ - 4 files changed, 74 insertions(+), 1 deletion(-) - -commit 4fc6189a329cdf5fbf0b5bef34b37b726c4a6959 -Author: Ebrahim Byagowi -Date: Tue Apr 21 12:19:16 2020 +0430 - - [meson] Generate harfbuzz.cc, hb-version.h and ragel artifacts - - src/Makefile.am | 18 +++++++----------- - src/gen-harfbuzzcc.py | 14 ++++++++++++++ - src/gen-hb-version.py | 19 +++++++++++++++++++ - src/gen-ragel-artifacts.py | 22 ++++++++++++++++++++++ - src/meson.build | 30 ++++++++++++++++++++++++++++++ - 5 files changed, 92 insertions(+), 11 deletions(-) - -commit b19f927f967f50aecd64913dc37ee92085919644 -Author: Christoph Reiter -Date: Sat May 16 09:27:05 2020 +0200 - - meson: error out if introspection is enabled but gobject isn't - - In case a user passed -Dintrospection=enabled the build would just ignore - it by default because gobject defaults to disabled and the introspection build - gets skipped. - - Instead, if introspection is explicitly enabled but gobject is for some reason - missing error out. - - Fixes #2404 - - src/meson.build | 4 ++++ - 1 file changed, 4 insertions(+) - -commit b207eab842bf7c18e3de49338726b26138c77c69 -Author: David Corbett -Date: Thu Apr 30 11:53:21 2020 -0400 - - Round-trip OpenType tags through BCP 47 - - src/hb-algs.hh | 6 ++++ - src/hb-ot-tag.cc | 74 +++++++++++++++++++++++++++++--------------------- - test/api/test-ot-tag.c | 58 +++++++++++++++++++++++++++++---------- - 3 files changed, 93 insertions(+), 45 deletions(-) - -commit 10d6605bbe6cdde66e8901e1b2aee63e664516ad -Author: Qunxin Liu -Date: Fri May 15 10:52:49 2020 -0700 - - [subset] don't use << operator in collect_mapping - - src/hb-ot-cmap-table.hh | 24 ++++++++++++------------ - 1 file changed, 12 insertions(+), 12 deletions(-) - -commit ba3c77ef23eab3d0ab597ed89a7811be12ca0a6a -Author: Ebrahim Byagowi -Date: Fri May 15 12:14:23 2020 +0430 - - [docs] minor update on releasing - - RELEASING.md | 8 +++----- - 1 file changed, 3 insertions(+), 5 deletions(-) - -commit 0722889a6ee9e3d2c186d53d2c414cc7b28ca4b0 -Author: Ebrahim Byagowi -Date: Fri May 15 10:10:27 2020 +0430 - - [meson] increase subset tests timeout - - https://github.com/harfbuzz/harfbuzz/runs/676665822#step:6:570 - - fails because meson runs the tests in parallel, correct fix will be making the tests smaller - - test/subset/meson.build | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit c15146448b534479de08b6aa8e6b1795221a2e1e -Merge: 069c5de9f 7a961692e -Author: Behdad Esfahbod -Date: Thu May 14 19:12:41 2020 -0700 - - Merge pull request #2264 from harfbuzz/unicode-13 - - Update to Unicode 13.0.0 - -commit 069c5de9f8d95ac8fb1b909e3276af9887311222 -Author: Behdad Esfahbod -Date: Thu May 14 18:58:53 2020 -0700 - - [util/hb-view] Add --font-extents - - Fixes https://github.com/harfbuzz/harfbuzz/issues/2402 - - util/options.cc | 23 +++++++++++++++++++++++ - util/options.hh | 6 ++++++ - util/view-cairo.cc | 25 ++++++++++++++++--------- - 3 files changed, 45 insertions(+), 9 deletions(-) - -commit 7a961692e9568806221de8b2e2bf41bdfc1b8b3f -Author: David Corbett -Date: Wed Apr 1 17:26:07 2020 -0400 - - Update IANA Language Subtag Registry to 2020-05-12 - - src/gen-tag-table.py | 1 + - src/hb-ot-tag-table.hh | 125 ++++++++++++++++++++++++++++++++++++++++++++++--- - 2 files changed, 119 insertions(+), 7 deletions(-) - -commit b2a965df5ef1a90a1260b40ff3b4775ae9a222f3 -Author: Qunxin Liu -Date: Wed Apr 22 15:58:41 2020 -0700 - - [subset] Add support for "--gids" option - cmap subsetting now retains entries associated with any glyph ids explicitly requested - - src/hb-ot-cmap-table.hh | 205 +++++++++++++++++++-- - src/hb-ot-os2-table.hh | 21 ++- - src/hb-subset-plan.cc | 2 + - src/hb-subset-plan.hh | 3 + - test/api/test-subset-cmap.c | 4 +- - test/subset/data/Makefile.sources | 2 +- - .../basics/Comfortaa-Regular-new.gids.61,62,63.ttf | Bin 0 -> 8296 bytes - .../basics/Comfortaa-Regular-new.gids.61,63.ttf | Bin 0 -> 7944 bytes - .../basics/Comfortaa-Regular-new.gids.61.ttf | Bin 0 -> 7588 bytes - .../basics/Comfortaa-Regular-new.gids.62.ttf | Bin 0 -> 7528 bytes - .../basics/Comfortaa-Regular-new.gids.63.ttf | Bin 0 -> 7516 bytes - ...ortaa-Regular-new.gids.retain-all-codepoint.ttf | Bin 0 -> 182876 bytes - .../NanumMyeongjo-Regular-subset.gids.61,62,63.ttf | Bin 0 -> 4128 bytes - .../NanumMyeongjo-Regular-subset.gids.61,63.ttf | Bin 0 -> 4128 bytes - .../NanumMyeongjo-Regular-subset.gids.61.ttf | Bin 0 -> 4128 bytes - .../NanumMyeongjo-Regular-subset.gids.62.ttf | Bin 0 -> 4128 bytes - .../NanumMyeongjo-Regular-subset.gids.63.ttf | Bin 0 -> 4128 bytes - ...jo-Regular-subset.gids.retain-all-codepoint.ttf | Bin 0 -> 9524 bytes - .../basics/Roboto-Regular.abc.gids.61,62,63.ttf | Bin 0 -> 2168 bytes - .../basics/Roboto-Regular.abc.gids.61,63.ttf | Bin 0 -> 2168 bytes - .../expected/basics/Roboto-Regular.abc.gids.61.ttf | Bin 0 -> 2168 bytes - .../expected/basics/Roboto-Regular.abc.gids.62.ttf | Bin 0 -> 2168 bytes - .../expected/basics/Roboto-Regular.abc.gids.63.ttf | Bin 0 -> 2168 bytes - ...oboto-Regular.abc.gids.retain-all-codepoint.ttf | Bin 0 -> 2168 bytes - .../cmap14/cmap14_font1.gids.4E00,4E02,4E03.otf | Bin 0 -> 1388 bytes - .../cmap14/cmap14_font1.gids.4E00,4E03.otf | Bin 0 -> 1380 bytes - .../cmap14/cmap14_font1.gids.4E00,4E05,4E07.otf | Bin 0 -> 1620 bytes - .../cmap14/cmap14_font1.gids.4E02,4E03,4E08.otf | Bin 0 -> 1744 bytes - .../expected/cmap14/cmap14_font1.gids.4E02.otf | Bin 0 -> 1312 bytes - .../expected/cmap14/cmap14_font1.gids.4E03.otf | Bin 0 -> 1352 bytes - .../cmap14_font1.gids.4E05,4E07,4E08,4E09.otf | Bin 0 -> 2164 bytes - .../cmap14/cmap14_font1.gids.4E08,4E09.otf | Bin 0 -> 2036 bytes - .../expected/cmap14/cmap14_font1.gids.4E08.otf | Bin 0 -> 1704 bytes - .../cmap14_font1.gids.retain-all-codepoint.otf | Bin 0 -> 2380 bytes - .../cmap14/cmap14_font2.gids.4E00,4E02,4E03.otf | Bin 0 -> 1388 bytes - .../cmap14/cmap14_font2.gids.4E00,4E03.otf | Bin 0 -> 1380 bytes - .../cmap14/cmap14_font2.gids.4E00,4E05,4E07.otf | Bin 0 -> 1624 bytes - .../cmap14/cmap14_font2.gids.4E02,4E03,4E08.otf | Bin 0 -> 1744 bytes - .../expected/cmap14/cmap14_font2.gids.4E02.otf | Bin 0 -> 1308 bytes - .../expected/cmap14/cmap14_font2.gids.4E03.otf | Bin 0 -> 1348 bytes - .../cmap14_font2.gids.4E05,4E07,4E08,4E09.otf | Bin 0 -> 2164 bytes - .../cmap14/cmap14_font2.gids.4E08,4E09.otf | Bin 0 -> 2032 bytes - .../expected/cmap14/cmap14_font2.gids.4E08.otf | Bin 0 -> 1700 bytes - .../cmap14_font2.gids.retain-all-codepoint.otf | Bin 0 -> 2376 bytes - .../japanese/Mplus1p-Regular.default.25771.ttf | Bin 0 -> 1824 bytes - .../japanese/Mplus1p-Regular.drop-hints.25771.ttf | Bin 0 -> 1096 bytes - .../japanese/Mplus1p-Regular.keep-gdef.25771.ttf | Bin 0 -> 1860 bytes - test/subset/data/profiles/gids.txt | 1 + - test/subset/data/tests/basics.tests | 1 + - test/subset/data/tests/cmap14.tests | 1 + - test/subset/data/tests/japanese.tests | 1 + - test/subset/meson.build | 3 +- - util/options-subset.cc | 61 ++++++ - 53 files changed, 282 insertions(+), 23 deletions(-) - -commit 44d88cff95e9255fb851bf59b40f685b264dc082 -Author: Qunxin Liu -Date: Fri May 8 15:33:34 2020 -0700 - - [subset] fix intersects () for Context/ChainContext tables - return true only when all values in array are intersected with input - - src/hb-ot-layout-gsubgpos.hh | 38 +++++++++++++++++++------------------- - 1 file changed, 19 insertions(+), 19 deletions(-) - -commit 42025680cb0a30eba4ed48d125586a4dda3c973e -Author: Ebrahim Byagowi -Date: Tue May 12 00:14:33 2020 +0430 - - 2.6.6 - - NEWS | 7 +++++++ - configure.ac | 2 +- - meson.build | 2 +- - src/hb-version.h | 4 ++-- - 4 files changed, 11 insertions(+), 4 deletions(-) - -commit 57d67f177508c11a2a9b9e8aa5f2d3540b5319f5 -Author: Ebrahim Byagowi -Date: Tue May 12 00:03:17 2020 +0430 - - [RELEASE] minor update - - RELEASING.md | 20 +++++--------------- - 1 file changed, 5 insertions(+), 15 deletions(-) - -commit b169a52c1e3c5d16adcf3e80cba37bb86adcbe77 -Author: Khaled Hosny -Date: Mon May 11 14:35:11 2020 +0200 - - [blob] Fix build when HAVE_MMAP is not defined - - src/hb-blob.cc | 7 +++---- - 1 file changed, 3 insertions(+), 4 deletions(-) - -commit a2ce96881b40c1689319c1f699f1469afc3ffe40 -Author: Ebrahim Byagowi -Date: Mon May 11 17:15:37 2020 +0430 - - [cff] remove the not used member - - src/hb-subset-cff1.cc | 4 ---- - 1 file changed, 4 deletions(-) - -commit 2cc78a58c3fecf7a3cb26c01949e9cd4d0cd9ee5 -Author: Ebrahim Byagowi -Date: Mon May 11 15:56:54 2020 +0430 - - [number] minor - - src/hb-number-parser.hh | 16 +++++++--------- - src/hb-number-parser.rl | 8 +++----- - 2 files changed, 10 insertions(+), 14 deletions(-) - -commit bb095e1bdd0f7f1de88651d6f7223bc04bf70d70 -Author: Ebrahim Byagowi -Date: Sun May 10 22:00:05 2020 +0430 - - [meson] make -subset target dependent to deps to get libm dependency - - src/meson.build | 1 + - 1 file changed, 1 insertion(+) - -commit dca8ba6b6d637ebfc51d658a893e8dbda28b7709 -Author: Ebrahim Byagowi -Date: Sun May 10 16:57:45 2020 +0430 - - [number] Make hb_parse_double simpler now that we don't have to mimic strtod - - src/hb-number-parser.hh | 23 ++++++++++++----------- - src/hb-number-parser.rl | 15 ++++++++------- - src/hb-number.cc | 25 +++++++++++++------------ - src/test-number.cc | 20 -------------------- - 4 files changed, 33 insertions(+), 50 deletions(-) - -commit 44fe1c8ff19048d11785ff154993d6637b447fdd -Author: Ebrahim Byagowi -Date: Wed Mar 25 16:36:48 2020 +0430 - - Remove xlocale use now that isn't available in most distros - - Our CI bots don't detect it in Alpine, ArchLinux, Ubuntu and Fedora - so let's get rid of it use the fallback we are using anyway for a - long time. - - CMakeLists.txt | 6 +---- - configure.ac | 4 +-- - meson.build | 3 --- - src/hb-number.cc | 71 +----------------------------------------------------- - src/test-number.cc | 9 ------- - 5 files changed, 4 insertions(+), 89 deletions(-) - -commit eea99d7b7253027570f7afe64ca63962618553b7 -Author: Ebrahim Byagowi -Date: Sun May 10 14:46:16 2020 +0430 - - [meson] Let name_prefix of exported libraries the default - - meson complains about this and it is the default per #2256 - - Fixes #2256 - - src/meson.build | 10 ++++------ - 1 file changed, 4 insertions(+), 6 deletions(-) - -commit 2ac4222022ee261269994ce4eaf4d7c070152492 -Author: Ebrahim Byagowi -Date: Sun May 10 14:20:27 2020 +0430 - - [meson] specify preferred linker to avoid stdc++ linking - - meson_options.txt | 2 ++ - src/meson.build | 19 ++++++++++++++++++- - 2 files changed, 20 insertions(+), 1 deletion(-) - -commit 15083c24ee7c69e17eee4d99ee9db121a150338b -Author: Ebrahim Byagowi -Date: Sun May 10 14:12:20 2020 +0430 - - [meson] Reenable make check-symbols compatible with gcov - - src/check-symbols.sh | 2 +- - src/meson.build | 29 ++++++++++++++++++++--------- - 2 files changed, 21 insertions(+), 10 deletions(-) - -commit 68855e4a6dedf40d643a1ec9ac89c9ae32ce763c -Author: Khaled Hosny -Date: Fri May 8 00:51:15 2020 +0200 - - [docs] Don’t recommend outdated FDO releases pages - - docs/usermanual-install-harfbuzz.xml | 10 ++-------- - 1 file changed, 2 insertions(+), 8 deletions(-) - -commit 1ec77522d838dd751733d3927e3d9589bf298853 -Author: Ebrahim Byagowi -Date: Thu May 7 14:08:05 2020 +0430 - - [docs] Simplify logo's SVG source, down scale png version - - * SVG version is simplified using SVGO and some hand tweak - * PNG result of SVG logo is optimized using pngwolf-zopfli - * Down scaled to fit visually a little better on docs page - - docs/HarfBuzz.png | Bin 8814 -> 4740 bytes - docs/HarfBuzz.svg | 283 ++---------------------------------------------------- - 2 files changed, 7 insertions(+), 276 deletions(-) - -commit 0b261c5d0b38f1b9a564798ea26edb698e872841 -Author: Ebrahim Byagowi -Date: Thu May 7 10:28:24 2020 +0430 - - [ci] disable clang-{everthing,*san} bots - - are flaky, will enable them somewhere else - - .circleci/config.yml | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -commit 385d64eef1d5dd37187310a08ca6f0408a2e4625 -Author: Ebrahim Byagowi -Date: Thu May 7 09:59:01 2020 +0430 - - Add a not discardable bool type, hb_success_t - - src/hb-open-type.hh | 4 ++-- - src/hb.hh | 12 ++++++++++++ - 2 files changed, 14 insertions(+), 2 deletions(-) - -commit 1026b3d0b65fd101939ce8d2b74aaf074c44c3e6 -Author: jfkthame -Date: Wed May 6 21:32:24 2020 +0100 - - [subset] Check vector resize() call for failure (#2389) - - Other .resize() calls are checked, presumably this one should be as well. - - src/hb-subset-cff2.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 100d40c827eb8336b2b671856f151275d47e71ad -Author: jfkthame -Date: Wed May 6 01:48:24 2020 +0100 - - [aat] Fix implementation of AAT kerning for Geeza Pro. (#2388) - - * [aat] Fix implementation of AAT kerning for Geeza Pro. - - Despite what the comment in the code used to say, it appears that Geeza Pro - does rely on accumulating kerning values from successive subtables. With - this change, the results now match Core Text rendering (and avoid the clear - visual breakage reported in #2358). - - Testcase: U+0644,U+064E,U+0645,U+064E,U+0651,U+0627 - - Fixes #2358. - - * [aat] Update test expectations, add new testcase. - - src/hb-aat-layout-kerx-table.hh | 50 +++++++++++++--------------- - test/shaping/data/in-house/tests/macos.tests | 12 ++++--- - 2 files changed, 31 insertions(+), 31 deletions(-) - -commit 9fc774ab00be92dbfd1cc1c03b4e6cadcd9b7674 -Author: Ebrahim Byagowi -Date: Thu Apr 30 23:14:54 2020 +0430 - - minor spacing - - src/hb-blob.cc | 4 ++-- - src/hb-ot-color-cbdt-table.hh | 12 ++++++------ - 2 files changed, 8 insertions(+), 8 deletions(-) - -commit 09b9d63e56eb8dac50db9684cf5a77a84eb31a60 -Author: Khaled Hosny -Date: Thu Apr 30 18:51:46 2020 +0200 - - [blob] Try to support resource fork fonts on macOS - - If the size of opened file is zero, try opening resource fork by - appending "/..namedfork/rsrc" to the file name. This is guarded with - __APPLE__ ifdef and uses _PATH_RSRCFORKSPEC macro from sys/paths.h. - - Defining HB_NO_RESOURCE_FORK will disable this fallback. - - Fixes https://github.com/harfbuzz/harfbuzz/issues/2383 - - src/hb-blob.cc | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 50 insertions(+) - -commit fd748fac41366166307fd67a083759465d03bd64 -Author: David Corbett -Date: Sun Mar 15 15:59:31 2020 -0400 - - Update to Unicode 13.0.0 - - src/Makefile.am | 2 +- - src/gen-arabic-table.py | 4 +- - src/gen-emoji-table.py | 4 +- - src/gen-indic-table.py | 2 +- - src/gen-tag-table.py | 2 +- - src/gen-ucd-table.py | 2 +- - src/gen-use-table.py | 20 +- - src/gen-vowel-constraints.py | 2 +- - src/hb-common.cc | 4 + - src/hb-common.h | 8 + - src/hb-ot-shape-complex-arabic-table.hh | 56 +- - src/hb-ot-shape-complex-indic-table.cc | 60 +- - src/hb-ot-shape-complex-indic.hh | 1 + - src/hb-ot-shape-complex-use-table.cc | 91 +- - src/hb-ot-shape-complex-vowel-constraints.cc | 4 +- - src/hb-ot-shape-complex.hh | 4 + - src/hb-ucd-table.hh | 6248 +++++++++++++------------- - src/hb-unicode-emoji-table.hh | 12 +- - test/api/test-unicode.c | 12 + - 19 files changed, 3336 insertions(+), 3202 deletions(-) - -commit 28633b1979d1363c76888a7d8380e6e9e78bd837 -Author: Behdad Esfahbod -Date: Wed Apr 29 11:15:25 2020 -0700 - - [vowel-constraints] Simplify generated code - - Fixes https://github.com/harfbuzz/harfbuzz/issues/2385 - - src/gen-vowel-constraints.py | 4 ++-- - src/hb-ot-shape-complex-vowel-constraints.cc | 6 ++---- - 2 files changed, 4 insertions(+), 6 deletions(-) - -commit 665483c9790c2a45bbbd5f2d4fece369126b17f4 -Author: David Corbett -Date: Wed Apr 1 17:28:12 2020 -0400 - - Recognize Elymaic as a right-to-left script - - src/hb-common.cc | 3 +++ - 1 file changed, 3 insertions(+) - -commit d6ddb232fc9b8c3a04398360a1d3a0b7931033e3 -Author: René Meusel -Date: Tue Apr 28 19:30:00 2020 +0200 - - FIX: -Wextra-semi-stmt in Clang9 - - src/hb-coretext.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 8ba8980222731a51f23ebc12b0145d29caee1a91 -Author: Ebrahim Byagowi -Date: Tue Apr 28 20:14:17 2020 +0430 - - [ci] enable experimental apis in coverity scan - - .github/workflows/coverity-scan.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit d63ee13a2a3d4e480bd563dcbac74817b675e812 -Author: Ebrahim Byagowi -Date: Tue Apr 28 20:01:11 2020 +0430 - - [ci] enable more on coverity - - .github/workflows/coverity-scan.yml | 7 ++++--- - 1 file changed, 4 insertions(+), 3 deletions(-) - -commit ace202e17e7f41aa3347618426b334be3d9f0e17 -Author: Ebrahim Byagowi -Date: Tue Apr 28 19:38:04 2020 +0430 - - [ci] remove trigger-coverity.sh - - hopefully not needed, we are submitting it in a bot - - .ci/trigger-coverity.sh | 11 ----------- - 1 file changed, 11 deletions(-) - -commit a22e6de0e96b68b28cd750e3041fdc864bf3331a -Author: Ebrahim Byagowi -Date: Tue Apr 28 19:25:37 2020 +0430 - - [blob] close file reader handle - - fortunately it isn't in that use as having mmap reader as the default - - src/hb-blob.cc | 1 + - 1 file changed, 1 insertion(+) - -commit 39976ee660ba82c75e4fa757134f7925740b1c4d -Author: Ebrahim Byagowi -Date: Tue Apr 28 18:50:33 2020 +0430 - - [ci] install fonttools in linux-ci bot - - .github/workflows/linux-ci.yml | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 1801489b49f4c2c6ef82fba89440d4e766de3555 -Author: Ebrahim Byagowi -Date: Tue Apr 28 18:47:39 2020 +0430 - - [ci] Add coverity scan bot - - .github/workflows/coverity-scan.yml | 38 +++++++++++++++++++++++++++++++++++++ - 1 file changed, 38 insertions(+) - -commit 156714f797fcb5bc07ff5e22ae8ee8d78a7cf79b -Author: Ebrahim Byagowi -Date: Tue Apr 28 16:32:15 2020 +0430 - - [ci] fix linux-ci bot - - It shows some percentage of coverage regression - as the switch from lcov to gcovr and autotools to meson while this travis to github actions switch. - - .github/workflows/linux-ci.yml | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -commit 4b298cc6c4e3ecdde2d27dfa28e8cbb377a5e05d -Author: Ebrahim Byagowi -Date: Tue Apr 28 15:50:03 2020 +0430 - - [ci] remove travis's clang bot - - we are testing it on other bots, let's remove it from travis - - .travis.yml | 24 ++---------------------- - 1 file changed, 2 insertions(+), 22 deletions(-) - -commit 34a4ce98f4ccf7c6aa6cb7d4e4497da4cf2aeb0f -Author: Ebrahim Byagowi -Date: Tue Apr 28 15:34:29 2020 +0430 - - [ci] run apt-get with sudo - - .github/workflows/linux-ci.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit f27c0065d42f22c3f1484d97cac34f727832ff78 -Author: Ebrahim Byagowi -Date: Tue Apr 28 15:30:25 2020 +0430 - - [ci] Add a GitHub CI bot - - Run coverage also - - .github/workflows/linux-ci.yml | 25 +++++++++++++++++++++++++ - 1 file changed, 25 insertions(+) - -commit 482f4aafd53982d96f08eaebe9af6e7dd4419dc9 -Author: Ebrahim Byagowi -Date: Tue Apr 28 15:29:19 2020 +0430 - - [ci] Remove coverity and codecov - - * This coverity runner doesn't work from here but will try again in GitHub Actions bot - * Trying to move codecov to GitHub Actions - - .travis.yml | 13 ------------- - 1 file changed, 13 deletions(-) - -commit 6890554256f96d2dee43261ad5012e788695754c -Author: Ebrahim Byagowi -Date: Tue Apr 28 14:56:47 2020 +0430 - - [ci/meson] temporarily disable check-symbols - - will enable again - - src/meson.build | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit e53c44e3260d6136e27635b5bbcb2da43bc4f1b1 -Author: Qunxin Liu -Date: Fri Apr 24 14:06:13 2020 -0700 - - [subset] temporarily revert previous cmap commit - Required in https://github.com/harfbuzz/harfbuzz/issues/2356 - - src/hb-ot-cmap-table.hh | 3 ++- - test/api/test-subset-cmap.c | 4 +++- - test/subset/data/Makefile.sources | 2 +- - .../expected/japanese/Mplus1p-Regular.default.25771.ttf | Bin 1824 -> 0 bytes - .../japanese/Mplus1p-Regular.drop-hints.25771.ttf | Bin 1096 -> 0 bytes - .../japanese/Mplus1p-Regular.keep-gdef.25771.ttf | Bin 1860 -> 0 bytes - test/subset/data/tests/japanese.tests | 1 - - test/subset/meson.build | 1 - - 8 files changed, 6 insertions(+), 5 deletions(-) - -commit 08428a15c392e2fff267aa3bc92b343f566c983a -Author: Ebrahim Byagowi -Date: Fri Apr 24 23:45:17 2020 +0430 - - minor, spacing - - src/hb-aat-fdsc-table.hh | 4 +- - src/hb-aat-layout-just-table.hh | 8 +-- - src/hb-aat-layout-opbd-table.hh | 4 +- - src/hb-aat-layout-trak-table.hh | 2 +- - src/hb-ot-cff-common.hh | 3 +- - src/hb-ot-cmap-table.hh | 4 +- - src/hb-ot-hdmx-table.hh | 10 ++-- - src/hb-ot-hhea-table.hh | 61 ++++++++++--------- - src/hb-ot-hmtx-table.hh | 44 +++++++------- - src/hb-ot-kern-table.hh | 37 +++++++----- - src/hb-ot-layout-gsubgpos.hh | 2 +- - src/hb-ot-math-table.hh | 130 ++++++++++++++++++++++------------------ - src/hb-ot-maxp-table.hh | 7 ++- - src/hb-ot-meta-table.hh | 5 +- - src/hb-ot-name-table.hh | 8 +-- - src/hb-ot-post-table.hh | 2 +- - src/hb-ot-stat-table.hh | 14 ++--- - src/hb-ot-var-fvar-table.hh | 6 +- - src/hb-ot-vorg-table.hh | 7 ++- - 19 files changed, 194 insertions(+), 164 deletions(-) - -commit 89ad3c6cc520517af15174391a9725e634929107 -Author: Behdad Esfahbod -Date: Thu Apr 23 10:57:30 2020 -0700 - - Rename add_class to collect_class - - src/hb-ot-layout-common.hh | 10 +++++----- - src/hb-ot-layout-gdef-table.hh | 2 +- - src/hb-ot-layout-gsubgpos.hh | 2 +- - 3 files changed, 7 insertions(+), 7 deletions(-) - -commit 5cf53c06e66d3307d7b30ea32059437887abcab1 -Author: Behdad Esfahbod -Date: Thu Apr 23 10:55:41 2020 -0700 - - Rename add_coverage to collect_coverage - - src/hb-ot-layout-common.hh | 28 ++++++++++++++-------------- - src/hb-ot-layout-gpos-table.hh | 28 ++++++++++++++-------------- - src/hb-ot-layout-gsub-table.hh | 20 ++++++++++---------- - src/hb-ot-layout-gsubgpos.hh | 30 +++++++++++++++--------------- - 4 files changed, 53 insertions(+), 53 deletions(-) - -commit 689f3f57fa26922af4f2ab451eb834ae6c3119b2 -Author: Behdad Esfahbod -Date: Thu Apr 23 10:51:12 2020 -0700 - - [set] Add << overload for range-sink - - src/hb-set.hh | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -commit a7df5a7bdaef870617b6bdb7350a26ebbec5824a -Author: Behdad Esfahbod -Date: Thu Apr 23 10:50:02 2020 -0700 - - [hashmap] Minor - - src/hb-map.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit cc1ed76f381531c800833cb0f5b41fc524ed20a3 -Merge: 5a0936f53 a11db0b9d -Author: Behdad Esfahbod -Date: Fri Apr 24 08:15:32 2020 -0700 - - Merge pull request #1729 from n8willis/usermanual-integration - - [Docs] Usermanual: Add OS/platform-integration chapter - -commit 5a0936f53ef533787a91063c0884275cc121585f -Author: David Corbett -Date: Thu Apr 23 19:09:00 2020 -0400 - - Increase the size of the serialization buffer - - util/options.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit a11db0b9d4d3e7cc22a4a53374d4f8a049ce067e -Merge: 1ed30515c 19346524c -Author: Behdad Esfahbod -Date: Thu Apr 23 15:32:43 2020 -0700 - - Merge branch 'master' into usermanual-integration - -commit 19346524c698586c24b0461648b33373092c60df -Author: Ebrahim Byagowi -Date: Thu Apr 23 14:22:33 2020 +0430 - - minor, add an option to skip private APIs use in main.cc - - src/main.cc | 4 ++++ - 1 file changed, 4 insertions(+) - -commit 2e3dfdcd5fe6ebf38872d8fd817a562bfade8c46 -Author: Ebrahim Byagowi -Date: Thu Apr 23 14:04:24 2020 +0430 - - [meson] make 'tests' option enabled by default - - Not sure what 'auto' can mean here but it makes my local test to not run properly - - meson_options.txt | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 6881939f77e2d89ceba4cb6ed08075b93de6e500 -Author: Hugo Beauzée-Luyssen -Date: Thu Apr 23 10:08:45 2020 +0200 - - src: meson: Reindent after last changes - - src/meson.build | 162 ++++++++++++++++++++++++++++---------------------------- - 1 file changed, 81 insertions(+), 81 deletions(-) - -commit e18858c68509e1d4576bb14c7a07a5e9818c50ae -Author: Hugo Beauzée-Luyssen -Date: Thu Apr 23 10:06:20 2020 +0200 - - src: Don't build tests when they are disabled - - src/meson.build | 2 ++ - 1 file changed, 2 insertions(+) - -commit 0c65a232fa00a1eb09ca0e9d1d8d26747b27416e -Author: Ebrahim Byagowi -Date: Thu Apr 23 11:23:54 2020 +0430 - - minor, add unlikely around lookup_limit_exceeded checks - - addresses https://github.com/harfbuzz/harfbuzz/pull/2294#issuecomment-618022488 - - src/hb-ot-layout-gsubgpos.hh | 16 ++++++++-------- - 1 file changed, 8 insertions(+), 8 deletions(-) - -commit 3e686d24590fc0b30a4bbbf4dc762d6858de8e8f -Author: Evgeniy Reizner -Date: Wed Apr 22 13:44:53 2020 +0300 - - [kern] Refactoring. - - src/hb-kern.hh | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit 186976ebd6cefdfe993b5ae400a559ca33c66688 -Author: Behdad Esfahbod -Date: Tue Apr 21 22:37:56 2020 -0700 - - [autotools] C++11 requirement is mandatory - - How was this not updated? - - configure.ac | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit f4cd99f28eefe695b86876736166fd119e22e04e -Author: Behdad Esfahbod -Date: Wed Apr 22 14:45:57 2020 -0700 - - Reordering fails when GDEF table is absent #2140 - - Preserve glyph class if there's no GDEF and no guess. - - Fixes https://github.com/harfbuzz/harfbuzz/issues/2140 - - src/hb-ot-layout-gsubgpos.hh | 41 ++++++++++++++++++++++------------------- - src/hb-ot-layout.hh | 8 ++++---- - 2 files changed, 26 insertions(+), 23 deletions(-) - -commit 05be05eb65ed2a5d5d88df55f9e36d005408d66c -Author: Evgeniy Reizner -Date: Wed Apr 22 13:34:51 2020 +0300 - - [kern] Test format 3. - - test/shaping/data/in-house/tests/macos.tests | 1 + - 1 file changed, 1 insertion(+) - -commit c7afb6d7b83da9f7503a033d289d4bba6af2ae39 -Author: Khaled Hosny -Date: Wed Apr 22 15:18:40 2020 +0200 - - [docs] Fix broken link - - src/hb-ot-layout.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit bd8aa1b043a6fb9e1d5dce735715ae9530d9ff20 -Author: Behdad Esfahbod -Date: Tue Apr 21 22:19:46 2020 -0700 - - Minor - - src/hb-null.hh | 4 ++-- - src/hb-shaper.hh | 2 +- - 2 files changed, 3 insertions(+), 3 deletions(-) - -commit b22f61d86a27e1dcbcab5ecdbbff579175dc5aaf -Author: ckitagawa -Date: Tue Apr 21 11:49:05 2020 -0400 - - Fix bug - - src/hb-ot-color-cbdt-table.hh | 7 ++++++- - ...-testcase-minimized-hb-subset-fuzzer-5684014636859392 | Bin 0 -> 7148 bytes - 2 files changed, 6 insertions(+), 1 deletion(-) - -commit 1cd14b40e794721d594553614cf4ece11410a934 -Author: Ebrahim Byagowi -Date: Tue Apr 21 14:42:17 2020 +0430 - - minor, update ragel generated hb-number-parser.hh - - src/hb-number-parser.hh | 22 +++++++++++----------- - 1 file changed, 11 insertions(+), 11 deletions(-) - -commit 6d5e8e5ee49aac1f51a35f67335ee2f633470d76 -Author: Ebrahim Byagowi -Date: Tue Apr 21 14:38:09 2020 +0430 - - minor - - following to c37100e7d - - src/hb-number-parser.rl | 2 -- - 1 file changed, 2 deletions(-) - -commit 5b91c52083aee1653c0cf1e778923de00c08fa5d -Author: Ebrahim Byagowi -Date: Mon Apr 20 21:44:01 2020 +0000 - - [ci] run experimental APIs tests - - .circleci/config.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 750bb73e32f967ce40e29751338e6a64042b5674 -Author: Ebrahim Byagowi -Date: Tue Apr 21 01:13:13 2020 +0430 - - [meson] Add an experimental-api option - - .circleci/config.yml | 4 ++-- - meson.build | 4 ++++ - meson_options.txt | 2 ++ - src/gen-def.py | 2 +- - src/main.cc | 12 ++++++------ - src/meson.build | 8 +++++++- - test/subset/meson.build | 23 ++++++++++++++--------- - 7 files changed, 36 insertions(+), 19 deletions(-) - -commit 262eced2adae740de7dd7bcbb4359e892471536b -Author: Behdad Esfahbod -Date: Mon Apr 20 12:17:28 2020 -0700 - - [subset] FeatureVariations subsetting is wrong - - Never drop FeatureVariationRecord for now. - - Fixes https://github.com/harfbuzz/harfbuzz/issues/2334 - - src/hb-ot-layout-common.hh | 5 ++--- - 1 file changed, 2 insertions(+), 3 deletions(-) - -commit 2a549aadd334b43d37444fed37fdbf8ec673ec14 -Author: Ebrahim Byagowi -Date: Tue Apr 21 00:32:34 2020 +0430 - - minor - - util/options.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 2be859d289a9e04199a29bd4b8d393a502ed4791 -Author: Ebrahim Byagowi -Date: Mon Apr 20 23:48:23 2020 +0430 - - minor, replace nullptr checks with implicit ones - - src/hb-blob.cc | 12 ++++++------ - src/hb-cff-interp-common.hh | 6 +++--- - src/hb-cff-interp-cs-common.hh | 4 ++-- - src/hb-cff2-interp-cs.hh | 2 +- - src/hb-directwrite.cc | 2 +- - src/hb-ot-cff-common.hh | 18 ++++++++---------- - src/hb-ot-cff1-table.hh | 26 +++++++++++++------------- - src/hb-ot-cff2-table.hh | 6 +++--- - src/hb-ot-layout.cc | 2 +- - src/hb-ot-os2-unicode-ranges.hh | 3 +-- - src/hb-subset-cff-common.cc | 6 +++--- - src/hb-subset-cff-common.hh | 22 +++++++++++----------- - src/hb-subset-cff1.cc | 28 ++++++++++++++-------------- - src/hb-subset-cff2.cc | 17 ++++++++--------- - src/main.cc | 4 ++-- - src/test-buffer-serialize.cc | 2 +- - util/hb-subset.cc | 4 ++-- - util/options.cc | 10 ++++++---- - 18 files changed, 86 insertions(+), 88 deletions(-) - -commit 0181f03019ec13031c179727eb2a38c478c05f5c -Author: Ebrahim Byagowi -Date: Mon Apr 20 17:07:09 2020 +0430 - - [test] Workaround Windows pipe issue by storing ttx in a file - - test/subset/run-tests.py | 40 +++++++++++++++++++++++++++++----------- - 1 file changed, 29 insertions(+), 11 deletions(-) - -commit 4cfb6cb9649fa58b606154e52bf7bb05d23f3f5b -Author: Ebrahim Byagowi -Date: Mon Apr 20 16:40:25 2020 +0430 - - [ci] Switch msys2 bot to meson - - appveyor.yml | 8 ++++++-- - 1 file changed, 6 insertions(+), 2 deletions(-) - -commit 2dda6dd744b192616c65ca4aa5fce8e90fd0ff30 -Author: Ebrahim Byagowi -Date: Mon Apr 20 14:12:45 2020 +0430 - - minor, tweak spacing - - turn 8 spaces to tab, add space before Null/Crap - - src/hb-aat-layout-ankr-table.hh | 2 +- - src/hb-aat-layout-common.hh | 6 +- - src/hb-aat-layout-morx-table.hh | 6 +- - src/hb-aat-layout.cc | 2 +- - src/hb-aat-map.cc | 10 +-- - src/hb-aat-map.hh | 4 +- - src/hb-blob.cc | 2 +- - src/hb-buffer.cc | 2 +- - src/hb-buffer.h | 2 +- - src/hb-buffer.hh | 4 +- - src/hb-cff-interp-common.hh | 6 +- - src/hb-cff-interp-cs-common.hh | 2 +- - src/hb-cff2-interp-cs.hh | 2 +- - src/hb-draw.hh | 2 +- - src/hb-face.cc | 2 +- - src/hb-font.cc | 2 +- - src/hb-font.hh | 2 +- - src/hb-machinery.hh | 2 +- - src/hb-map.cc | 2 +- - src/hb-map.hh | 4 +- - src/hb-null.hh | 8 +- - src/hb-open-file.hh | 4 +- - src/hb-ot-cff-common.hh | 4 +- - src/hb-ot-cff1-table.hh | 107 ++++++++++++------------ - src/hb-ot-cff2-table.hh | 18 ++--- - src/hb-ot-cmap-table.hh | 34 ++++---- - src/hb-ot-color-cpal-table.hh | 2 +- - src/hb-ot-glyf-table.hh | 4 +- - src/hb-ot-hmtx-table.hh | 2 +- - src/hb-ot-layout-common.hh | 126 ++++++++++++++--------------- - src/hb-ot-layout-gdef-table.hh | 10 +-- - src/hb-ot-layout-gpos-table.hh | 26 +++--- - src/hb-ot-layout-gsubgpos.hh | 70 ++++++++-------- - src/hb-ot-layout.cc | 18 ++--- - src/hb-ot-name-table.hh | 2 +- - src/hb-ot-shape-complex-arabic-fallback.hh | 4 +- - src/hb-ot-shape-complex-arabic.cc | 2 +- - src/hb-ot-var-hvar-table.hh | 4 +- - src/hb-set.cc | 62 +++++++------- - src/hb-set.hh | 24 +++--- - src/hb-shape-plan.cc | 2 +- - src/hb-subset-cff-common.hh | 2 +- - src/hb-subset-cff1.cc | 12 +-- - src/hb-subset-cff2.cc | 6 +- - src/hb-subset.hh | 2 +- - src/hb-unicode.cc | 2 +- - src/hb-vector.hh | 6 +- - src/test-iter.cc | 2 +- - 48 files changed, 316 insertions(+), 315 deletions(-) - -commit ac26f19c9ea1ff170cd5226470115f7d08860e02 -Author: Ebrahim Byagowi -Date: Sun Apr 19 22:25:14 2020 +0430 - - Refactor test/api/meson.build and always run test-unicode test - - test/api/meson.build | 39 ++++++++++----------------------------- - 1 file changed, 10 insertions(+), 29 deletions(-) - -commit 0133cb55e2d76c81ccfeef3baf4c46e31297665c -Author: Ebrahim Byagowi -Date: Sun Apr 19 22:42:57 2020 +0430 - - Minor, use hb_sorted_array::bsearch where possible - - src/hb-aat-layout.cc | 2 +- - src/hb-ot-cff1-table.cc | 4 ++-- - src/hb-ot-os2-unicode-ranges.hh | 7 +++---- - 3 files changed, 6 insertions(+), 7 deletions(-) - -commit 1ed30515cb6308f1cf651cd502012ee5c8bd24ef -Author: n8willis -Date: Sun Apr 19 15:38:52 2020 +0100 - - [Docs, usernmanual] Fix with-icu=builtin explanation - - docs/usermanual-integration.xml | 14 +++++++++----- - 1 file changed, 9 insertions(+), 5 deletions(-) - -commit d6edd9a4083f523b6290ba29c1fcbb5a6b7f96bb -Author: n8willis -Date: Sun Apr 19 15:26:28 2020 +0100 - - [Docs, usermanual] Reword hb_ft_font_create_referenced explanation - - docs/usermanual-integration.xml | 29 +++++++++++++++++++---------- - 1 file changed, 19 insertions(+), 10 deletions(-) - -commit fb3acdbcb645f30671db0776577652d7545d21ed -Author: Christoph Reiter -Date: Sun Apr 19 14:57:04 2020 +0200 - - meson: only install gobject/icu headers if the features are enabled - - src/meson.build | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -commit ad5dcda0b5a7fe3acb09615c0ba020927cca5cee -Author: Christoph Reiter -Date: Sun Apr 19 14:53:05 2020 +0200 - - meson: install hb-icu.h header - - src/meson.build | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 2cc85281c2cc4169b972e9c5d951ddfcded6ddde -Author: Behdad Esfahbod -Date: Sat Apr 18 16:29:32 2020 -0700 - - [serializer] Make snapshot()/revert() revert current object links - - Fixes https://github.com/harfbuzz/harfbuzz/issues/2325 - - src/hb-serialize.hh | 38 +++++++++++++++++++++++++------------- - 1 file changed, 25 insertions(+), 13 deletions(-) - -commit 6f6e78a26ecdd874403b7fe397e335f386ac02e7 -Author: Behdad Esfahbod -Date: Sat Apr 18 16:12:18 2020 -0700 - - Fix float-to-double warnings - - ./hb-ot-glyf-table.hh:978:37: warning: implicit conversion increases floating-point precision: 'float' to 'double' [-Wdouble-promotion] - - src/hb-ot-glyf-table.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit c37100e7d9a1bcce35c9db651f404a1a87c8a1a1 -Author: Behdad Esfahbod -Date: Sat Apr 18 16:02:55 2020 -0700 - - Clean up math.h and float.h includes - - src/hb-cff-interp-dict-common.hh | 2 -- - src/hb-number-parser.hh | 2 -- - src/hb-ot-glyf-table.hh | 2 -- - src/hb.hh | 1 + - 4 files changed, 1 insertion(+), 6 deletions(-) - -commit c6b3f73b098225728d36448e15499473ff9419b8 -Author: Ebrahim Byagowi -Date: Sun Apr 19 00:54:24 2020 +0430 - - [meson] Make harfbuzz-icu separate module optout-able - - meson.build | 3 +++ - meson_options.txt | 2 ++ - src/meson.build | 13 ++++++++++--- - test/api/meson.build | 2 +- - 4 files changed, 16 insertions(+), 4 deletions(-) - -commit 8ae06c9489f132844cbede80b5fe8241ce47fc0e -Author: Christoph Reiter -Date: Sat Apr 18 20:22:45 2020 +0200 - - meson: build a separate library for harfbuzz-icu - - This adds a seperate library like with autotools. - - This also fixes the ico feature option which was just set to required:false - when disabled instead of really disabling it. - Disabling is still broken with msvc because it then tries to find the library - another way, but that's broken for all other deps as well so I left it as is. - - For tests only test-unicode.c is using icu specific functions so split it out - into its own category which depends on harfbuzz-icu. - - Fixes #2338 - - meson.build | 7 +++++-- - src/meson.build | 33 +++++++++++++++++++++++++++------ - test/api/meson.build | 16 +++++++++++++++- - 3 files changed, 47 insertions(+), 9 deletions(-) - -commit 2354a90008043b0679e46c09165a9e53e47d39ab -Author: Christoph Reiter -Date: Sat Apr 18 20:28:25 2020 +0200 - - tests: fix subset/run-tests.py under Windows - - It assumed that stdout of a subprocess in binary mode was using - utf-8 which isn't the case. Instead open stdout of the subprocess - in text mode and let Python handle the decoding. - - test/subset/run-tests.py | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit c1228990b9693226d8d14740414e4e93597f4a0f -Author: Christoph Reiter -Date: Sat Apr 18 15:29:56 2020 +0200 - - autotools: Add fix_get_types.py to EXTRA_DIST - - So it ends up in the release tarball and can be used in the meson build. - - Fixes #2337 - - src/Makefile.am | 1 + - 1 file changed, 1 insertion(+) - -commit dced2fbee97a4f8af9572076306d3b2e6476640e -Author: Christoph Reiter -Date: Sat Apr 18 14:37:03 2020 +0200 - - meson: complete introspection build config - - Pass the same config to gobject-introspection as with cmake/autotools. - - This makes sure the c-include and package name is included in the gir - and also fixes the build because of the missing HB_AAT_H* defines. - - Fixes #2336 - - src/meson.build | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -commit 22f7c61acf8073cb8db8db47e92aef18864a85c6 -Author: ariza -Date: Fri Apr 17 23:49:51 2020 -0700 - - implement SID to glyph ID mapping with predefined Charset - Also fixes oss-fuzz 21769 - - src/hb-ot-cff1-table.cc | 99 +++++++++++++++++++++ - src/hb-ot-cff1-table.hh | 29 +++++- - test/api/test-ot-glyphname.c | 15 ++++ - ...case-minimized-hb-shape-fuzzer-5769590820044800 | Bin 0 -> 87807 bytes - 4 files changed, 142 insertions(+), 1 deletion(-) - -commit f9bc373381ddf8553f943b774596ae5a53bf2641 -Author: Ebrahim Byagowi -Date: Fri Apr 17 22:37:48 2020 +0430 - - 2.6.5 - - NEWS | 13 +++++++++++++ - configure.ac | 2 +- - meson.build | 2 +- - src/hb-ft.cc | 4 ++-- - src/hb-version.h | 4 ++-- - 5 files changed, 19 insertions(+), 6 deletions(-) - -commit a8455292f4fc44ffee5a4efae04cd94195696908 -Author: Ebrahim Byagowi -Date: Fri Apr 17 22:50:48 2020 +0430 - - [layout] minor on doc - - src/hb-ot-layout.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit fefaa8c835cf42f3ee5327a927aac62a10165019 -Author: Ebrahim Byagowi -Date: Fri Apr 17 22:28:09 2020 +0430 - - [test] define G_APPROX_VALUE and EPSILON only when used - - resolves -Weverything bot complain - - test/api/test-var-coords.c | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -commit 29c903223b31c30ad609a23c75a98231674c3a73 -Author: Ebrahim Byagowi -Date: Fri Apr 17 22:11:40 2020 +0430 - - Move hb_ot_layout_closure_{features,lookups} behind EXPERIMENTAL flag - - src/gen-def.py | 4 +++- - src/hb-ot-layout.cc | 2 ++ - src/hb-ot-layout.h | 2 ++ - src/hb-subset-plan.cc | 6 ++++++ - test/api/test-ot-face.c | 4 ++++ - test/api/test-subset-gpos.c | 4 ++++ - test/subset/data/Makefile.sources | 13 ++++++++----- - test/subset/meson.build | 18 +++++++++--------- - 8 files changed, 38 insertions(+), 15 deletions(-) - -commit 9b7fb5c23fb7b333e0e81b8c82160aac4a21b27e -Author: Ebrahim Byagowi -Date: Fri Apr 17 20:12:24 2020 +0430 - - Move hb_font_get_var_coords_design behind HB_EXPERIMENTAL_API - - src/gen-def.py | 3 ++- - src/hb-font.cc | 4 +++- - src/hb-font.h | 2 ++ - test/api/test-var-coords.c | 2 ++ - 4 files changed, 9 insertions(+), 2 deletions(-) - -commit 41c671e701e13bdd4a196030b74172fe1c6b7ccf -Author: Behdad Esfahbod -Date: Fri Apr 17 08:37:25 2020 -0700 - - [build] Adjust check-symbols for -flto - - Fixes https://github.com/harfbuzz/harfbuzz/issues/2328 - - src/check-symbols.sh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit e7d5fa4a5891a4fb4c4a5d8ba0a05540c4358a33 -Author: n8willis -Date: Fri Apr 17 15:54:40 2020 +0100 - - [Usermanual, utilities] - correct DocBook tags - - Changes stray DocBook tags on this page to . No instances found in the other docs. - - docs/usermanual-utilities.xml | 28 ++++++++++++++-------------- - 1 file changed, 14 insertions(+), 14 deletions(-) - -commit 8f6d0f8401ffd011332981fd9ba6d38d18b6cf3b -Author: Ebrahim Byagowi -Date: Fri Apr 17 11:30:27 2020 +0430 - - [os2] minor, fix font_page_t enum naming - - As https://github.com/harfbuzz/harfbuzz/pull/986#pullrequestreview-395052800 - - src/hb-ot-os2-table.hh | 17 +++++++++-------- - 1 file changed, 9 insertions(+), 8 deletions(-) - -commit 818f109bdec9659c05f9fd9a1de1db85ece65cbe -Author: Ebrahim Byagowi -Date: Thu Apr 16 21:25:32 2020 +0430 - - Use float in avar calculation instead ints and checking their overflows - - src/hb-algs.hh | 12 ------------ - src/hb-ot-var-avar-table.hh | 9 ++------- - src/hb.hh | 4 ---- - 3 files changed, 2 insertions(+), 23 deletions(-) - -commit 9ffa50fe5dfeb7e999a178e031d7092121e0c146 -Author: Ebrahim Byagowi -Date: Thu Apr 16 21:25:32 2020 +0430 - - Add an appropriate fallback to hb_int_mul_overflows - - src/hb-algs.hh | 15 ++++++++------- - src/hb-ot-var-avar-table.hh | 6 +++--- - src/hb.hh | 4 ++++ - 3 files changed, 15 insertions(+), 10 deletions(-) - -commit 32f431406e602e977bde17e335a4ad086064494e -Author: Ebrahim Byagowi -Date: Thu Apr 16 22:07:07 2020 +0430 - - [docs] minor - - Fixes https://github.com/harfbuzz/harfbuzz/issues/2321 - - docs/usermanual-buffers-language-script-and-direction.xml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit a5e5a79004c5ebdef52ab282c7772ab0d9cf354b -Author: Ebrahim Byagowi -Date: Thu Apr 16 01:38:43 2020 +0430 - - [tests] Enable the just added macOS test for older version - - The test is added in 7035c9cd but the same font is available in older versions of macOS - so let's run it in older versions also. - - It doesn't matter much, more for consistency reasons. - - test/shaping/data/in-house/tests/macos.tests | 3 +++ - 1 file changed, 3 insertions(+) - -commit 7035c9cdfe38dd6654bd9b71e3bb5cbf49e4014d -Author: Jonathan Kew -Date: Fri Apr 3 19:00:42 2020 +0100 - - Add test for #2290. - - This tests that we can set two separate Type=Ligature selectors at the same time, - common=off + discretionary=on. - - test/shaping/data/in-house/tests/macos.tests | 1 + - 1 file changed, 1 insertion(+) - -commit 573b6bf82692c5fdd54d55a512405f7f75556362 -Author: Jonathan Kew -Date: Mon Mar 30 23:20:30 2020 +0100 - - Handle non-exclusive features when mapping OpenType tags to AAT feature type/selector pairs. - - Fixes #2290. - - src/hb-aat-layout-feat-table.hh | 2 ++ - src/hb-aat-layout-morx-table.hh | 6 ++++-- - src/hb-aat-map.cc | 15 ++++++++++++--- - src/hb-aat-map.hh | 13 +++++++++---- - 4 files changed, 27 insertions(+), 9 deletions(-) - -commit b57b9042420538f998cc0941407be8059b6e7562 -Author: n8willis -Date: Wed Apr 15 18:46:31 2020 +0100 - - Add detail to hb_ft_font_create inline comments - - Providing lengthier explanation for how the destroy function works on the hb_font_t but that destroying the FT_Face (and not destroying it too early) remains the client's responsibility. - - src/hb-ft.cc | 6 ++++++ - 1 file changed, 6 insertions(+) - -commit 1bca2be256ce1c2c4d74efac2286db80dbfa5c48 -Author: n8willis -Date: Wed Apr 15 18:30:47 2020 +0100 - - Rewrite hb_ft_font_set_funcs inline explanation - - src/hb-ft.cc | 13 +++++++++++-- - 1 file changed, 11 insertions(+), 2 deletions(-) - -commit 80c01d768734faafe5701414bd63c63cd243a404 -Author: n8willis -Date: Wed Apr 15 18:08:55 2020 +0100 - - Update hb-ft.cc - - src/hb-ft.cc | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 9457b60edc6f3c7b3b4ccf7460d4569c072bc98e -Author: n8willis -Date: Mon Apr 13 17:01:15 2020 +0100 - - Update usermanual-integration.xml - - docs/usermanual-integration.xml | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 05b7bdb4dd57d1bf233379e0f4ae5ec6451113d7 -Author: n8willis -Date: Mon Apr 13 16:59:41 2020 +0100 - - Update usermanual-integration.xml - - docs/usermanual-integration.xml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit f782d736cefa7808ef31712bcc6a51cfa2d02826 -Author: n8willis -Date: Mon Apr 13 16:57:36 2020 +0100 - - Update usermanual-integration.xml - - docs/usermanual-integration.xml | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 17b60efc38fbc32953424fa9a21daf3738ff8935 -Author: n8willis -Date: Mon Apr 13 16:51:58 2020 +0100 - - Update docs/usermanual-integration.xml - - Co-Authored-By: Khaled Hosny - - docs/usermanual-integration.xml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 9b91669cb4e92281f155e4b1b1cef26ba562e786 -Author: n8willis -Date: Mon Apr 13 16:40:15 2020 +0100 - - Update hb-ft.cc - - src/hb-ft.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 3a47921e88ad20873e08e19dff22205ecdf48f98 -Author: n8willis -Date: Mon Apr 13 15:42:00 2020 +0100 - - Update usermanual-integration.xml - - docs/usermanual-integration.xml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit a29578c17a10f409db651ed55f20ca3eb20953ae -Author: n8willis -Date: Mon Apr 13 15:30:18 2020 +0100 - - Update usermanual-integration.xml - - docs/usermanual-integration.xml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit c241e82f00dad423bf1d15cc8e365224fb7a8575 -Author: n8willis -Date: Mon Apr 13 15:28:42 2020 +0100 - - Update docs/usermanual-integration.xml - - Co-Authored-By: Khaled Hosny - - docs/usermanual-integration.xml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit fd59cc700ade05fa86b89d10cf07eef7f57c9973 -Author: n8willis -Date: Mon Apr 13 15:15:00 2020 +0100 - - Update src/hb-glib.cc - - Co-Authored-By: Khaled Hosny - - src/hb-glib.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit fb9d106797f4ae458717dd9e9d0b2c9eca4b89c2 -Author: n8willis -Date: Mon Apr 13 15:14:42 2020 +0100 - - Update src/hb-graphite2.cc - - Co-Authored-By: Khaled Hosny - - src/hb-graphite2.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit a199eab20eca8710e58fab845b8c330aada797a3 -Author: n8willis -Date: Mon Apr 13 15:14:28 2020 +0100 - - Update src/hb-graphite2.cc - - Co-Authored-By: Khaled Hosny - - src/hb-graphite2.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit aff21795b2da558e8f595706e7a46f11b891f8be -Author: n8willis -Date: Mon Apr 13 15:14:06 2020 +0100 - - Update src/hb-icu.cc - - Co-Authored-By: Khaled Hosny - - src/hb-icu.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit ccc235698394aab2cea69bd2e00a0caa766d577b -Author: n8willis -Date: Mon Apr 13 15:13:56 2020 +0100 - - Update src/hb-graphite2.h - - Co-Authored-By: Khaled Hosny - - src/hb-graphite2.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 0d5695983e8bf3184ecd4cb92f737b9dfe5d6d25 -Author: Qunxin Liu -Date: Sun Apr 5 18:44:26 2020 -0700 - - [subset] fixes dangling object_t issue in FeatureVariationRecord - Fixes https://crbug.com/oss-fuzz/21560 - revert () does not clean up useless object_t. Adjust the order of - subsetting substitutions and conditions to avoid dangling object_t. - - src/hb-ot-layout-common.hh | 9 +++++---- - ...z-testcase-minimized-hb-subset-fuzzer-5759725666041856 | Bin 0 -> 114 bytes - 2 files changed, 5 insertions(+), 4 deletions(-) - -commit 57b7de032f60d0499ae2debb293d0f8456acfdfb -Author: Ebrahim Byagowi -Date: Sun Apr 5 17:07:48 2020 +0430 - - [subset] Fail ClassDefFormat1 serialization if no space available - - Fixes https://crbug.com/oss-fuzz/21580 - - src/hb-ot-layout-common.hh | 2 +- - ...-testcase-minimized-hb-subset-fuzzer-5704307501694976 | Bin 0 -> 1062 bytes - 2 files changed, 1 insertion(+), 1 deletion(-) - -commit c8cc1e378df500122d8082a2038d68179eec63d0 -Author: Qunxin Liu -Date: Thu Apr 2 16:57:01 2020 -0700 - - fix issues in ClassDefFormat1 serialize: - glyph ids in Iterator may be non-consecutive, - so the number in classValue might be larger than length of the Iterator - - src/hb-ot-layout-common.hh | 20 +++++++++++++++----- - src/hb-ot-layout-gpos-table.hh | 2 +- - ...f => Roboto-Regular.keep-gdef-gpos.1E00,303.ttf} | Bin 2520 -> 2648 bytes - ...03.ttf => Roboto-Regular.keep-gdef-gpos.303.ttf} | Bin 2192 -> 2240 bytes - ...=> Roboto-Regular.keep-gdef-gpos.309,20,30F.ttf} | Bin 2288 -> 2336 bytes - ...23.ttf => Roboto-Regular.keep-gdef-gpos.323.ttf} | Bin 2084 -> 2132 bytes - ...f => Roboto-Regular.keep-gdef-gpos.41,42,43.ttf} | Bin 2536 -> 2736 bytes - test/subset/data/profiles/keep-gdef-gpos.txt | 1 + - test/subset/data/tests/layout.gdef.tests | 2 +- - 9 files changed, 18 insertions(+), 7 deletions(-) - -commit 4a49b36a9e244e176a8e6d9ae9d6caadabfbcc6c -Author: Ebrahim Byagowi -Date: Fri Apr 3 19:36:48 2020 +0430 - - [tests/macos] Adopt added Apple Chancery tests with older macos versions - - test/shaping/data/in-house/tests/macos.tests | 30 ++++++++++++++++++++++------ - 1 file changed, 24 insertions(+), 6 deletions(-) - -commit 75cae46dc2702e4edd32a92fe59300172931ed9f -Author: Ebrahim Byagowi -Date: Fri Apr 3 20:04:16 2020 +0430 - - [aat] minor spacing - - src/hb-aat-map.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 37377763842c80bf261d7bc0b3502cd5213244a4 -Author: Ebrahim Byagowi -Date: Fri Apr 3 20:03:20 2020 +0430 - - [aat] add the bug link, minor - - src/hb-aat-map.cc | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit 548a25259e183f95713c0fdf0ad8c9450af73252 -Author: Jonathan Kew -Date: Fri Apr 3 16:18:20 2020 +0100 - - Add a test for #2307. - - test/shaping/data/in-house/tests/macos.tests | 1 + - 1 file changed, 1 insertion(+) - -commit 1faf0caae165f680689610b20c467b9308275308 -Author: Jonathan Kew -Date: Fri Apr 3 16:10:34 2020 +0100 - - Special-case 'smcp' when checking for exposed AAT features. - - This may be implemented by selectors under either LETTER_CASE or LOWER_CASE feature types - in AAT, so we need to check for the presence of either one. - - Fixes #2307. - - src/hb-aat-map.cc | 12 +++++++++++- - 1 file changed, 11 insertions(+), 1 deletion(-) - -commit 120d86fa189ca4f3dbb8502e92f7ac63f66d0037 -Author: Jonathan Kew -Date: Fri Apr 3 15:10:14 2020 +0100 - - Add tests for #2305. - - test/shaping/data/in-house/tests/macos.tests | 5 +++++ - 1 file changed, 5 insertions(+) - -commit b87cf6e8d44aa60e162a68225394386cecb0e690 -Author: Jonathan Kew -Date: Fri Apr 3 15:02:07 2020 +0100 - - Fix sense of comparsion in hb_aat_map_builder_t::feature_info_t. - - This makes bsearch actually work for the features array. - - Fixes #2305. - - src/hb-aat-map.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit b027cb518dc7e6ac7e41e617364476e3c7839792 -Author: Jonathan Kew -Date: Mon Mar 30 18:47:22 2020 +0100 - - Set sequence number when adding feature to aat map builder, to support stable sort. - - Fixes #2288. - - src/hb-aat-map.cc | 2 ++ - 1 file changed, 2 insertions(+) - -commit e0e77270641fb932552b36bbb35813fbc5cfac1e -Author: Ebrahim Byagowi -Date: Fri Apr 3 01:12:16 2020 +0430 - - [ci] Update macOS 10.15's version - - .circleci/config.yml | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 89fa70f511a62fedc46e68f692b6f19e119d647e -Author: Ebrahim Byagowi -Date: Fri Apr 3 00:05:40 2020 +0430 - - [aat] minor over previous feat related changes - - src/hb-aat-layout-feat-table.hh | 2 +- - src/hb-aat-map.cc | 12 +++++------- - test/shaping/data/in-house/tests/macos.tests | 14 ++++++++++++-- - 3 files changed, 18 insertions(+), 10 deletions(-) - -commit 58b4d18b53a530b1bbc2fea2c3123754b9be4868 -Author: Jonathan Kew -Date: Thu Apr 2 17:54:09 2020 +0100 - - Add a couple testcases for issue 2285. - - A few simple testcases to confirm that setting liga=0 does not break shaping with - the Tibetan AAT font Kokonor, but does still disable common ligatures in Times. - - test/shaping/data/in-house/tests/macos.tests | 6 ++++++ - 1 file changed, 6 insertions(+) - -commit b1c0b9da2ff105d3476fed411e1d7010decb394e -Author: Jonathan Kew -Date: Thu Apr 2 14:39:13 2020 +0100 - - [AAT] Don't map OT tags to AAT feature types that are not exposed. - - If an AAT feature type is not exposed in the 'feat' table, we assume it is not intended - to be user-controllable and so we should not map any OT feature tag requests to it. - - Fixes #2285. - - src/hb-aat-layout-feat-table.hh | 6 ++++++ - src/hb-aat-map.cc | 7 +++++++ - 2 files changed, 13 insertions(+) - -commit e0c3979af1c84f82b8879c710a07f027fe32f564 -Author: Qunxin Liu -Date: Wed Apr 1 16:49:53 2020 -0700 - - typo fix - - src/hb-ot-layout-common.hh | 2 +- - src/hb-ot-layout-gsubgpos.hh | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit 65f413630366ded4867522ca9ffa0d7e936380ac -Author: ariza -Date: Wed Apr 1 19:49:18 2020 -0700 - - minor; fixes #2292 - - src/hb-serialize.hh | 5 ++--- - 1 file changed, 2 insertions(+), 3 deletions(-) - -commit 014e038b2c2fd55e0bffbe5c5adc893c07df187a -Author: Garret Rieger -Date: Tue Mar 31 16:29:29 2020 -0700 - - [subset] Bail out of context lookup expansion once the lookup limit is encountered. - - src/hb-ot-layout-gsubgpos.hh | 8 ++++++++ - ...testcase-minimized-hb-shape-fuzzer-5158673602314240 | Bin 0 -> 881650 bytes - 2 files changed, 8 insertions(+) - -commit 5d345d0cd169dcc8c0205918a6e064f03e4bc07a -Author: Garret Rieger -Date: Tue Mar 31 17:46:19 2020 -0700 - - [subset] Limit the number of lookup indices processed subsetting Feature. - > Also, remove two unnessecary full iterations of the lookup index iterator during serialization of the index array. Fixes fuzzer found timeout. - - src/hb-ot-layout-common.hh | 25 +++++++++++++++------ - ...ase-minimized-hb-subset-fuzzer-5719588814979072 | Bin 0 -> 1048576 bytes - 2 files changed, 18 insertions(+), 7 deletions(-) - -commit bdda2ff6092a3ddce2fe236dfe8cf3176330589b -Author: Simon Cozens -Date: Mon Mar 30 16:40:29 2020 +0100 - - More strictly follow noun/verb/identifier format for GPOS/GSUB lookups - - Less generic than the previous commit, but more descriptive and more consistent. - - src/hb-ot-layout.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit bef7ef81da8030628ca99c27a3eb52ab642e6a85 -Author: Simon Cozens -Date: Mon Mar 30 16:39:43 2020 +0100 - - Reformat kerx/morx instrumentation to 'verb noun identifier' - - src/hb-aat-layout-kerx-table.hh | 4 ++-- - src/hb-aat-layout-morx-table.hh | 4 ++-- - 2 files changed, 4 insertions(+), 4 deletions(-) - -commit 42aac64030c54e514c4c031b49f646ece2b878fa -Author: Simon Cozens -Date: Mon Mar 30 16:06:30 2020 +0100 - - Add table index to lookup messages - - We could say GSUB/GPOS explicitly, but using the index is more general, in case future tables (such as JSTF, Silf) become supported. - - src/hb-ot-layout.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 2cea796b75702d4fd433da2f4733810cf3dd3cfa -Author: Simon Cozens -Date: Mon Mar 30 16:04:17 2020 +0100 - - Instrument entering GSUB/GPOS tables - - src/hb-ot-layout.cc | 4 ++++ - 1 file changed, 4 insertions(+) - -commit 1b64b73080994ac577a6d936a0109b3c6f5d21de -Author: Khaled Hosny -Date: Mon Mar 30 16:49:23 2020 +0200 - - Revert "Add messages for GPOS/GSUB phases" - - This reverts commit b07714d6b53bb20a2796f5efa607dc32aac587f1. - - src/hb-ot-layout.cc | 2 -- - 1 file changed, 2 deletions(-) - -commit 2e1bf61dd5afcef71957b349254b80e7cfd14e45 -Author: Ebrahim Byagowi -Date: Thu Mar 26 22:59:26 2020 +0430 - - [gsubgpos] Use FeatureVariations::NOT_FOUND_INDEX instead Index:: - - As noted by https://github.com/harfbuzz/harfbuzz/issues/2280#issuecomment-604386389 - - Added on b143e34, fixed on 2571891 - - Closes #2280 - - src/hb-ot-layout-gsubgpos.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 96d792ae80c448715ef317c9f69eb30dc3d34a10 -Author: Ebrahim Byagowi -Date: Tue Mar 24 14:05:47 2020 +0430 - - [avar] Prevent mul overflow - - Fixes https://crbug.com/oss-fuzz/21350 - - src/hb-algs.hh | 29 ++++++++++++++++----- - src/hb-ot-var-avar-table.hh | 10 ++++--- - ...tcase-minimized-hb-draw-fuzzer-5712313459146752 | Bin 0 -> 146696 bytes - 3 files changed, 30 insertions(+), 9 deletions(-) - -commit 18fc9197e23460f2599670b65548d07a522d5a73 -Author: Ebrahim Byagowi -Date: Thu Mar 26 13:34:28 2020 +0430 - - [meson] Run check-symbols.sh and check-static-inits.sh correctly - - * Search src/ build directory for objects in check-static-inits.sh - * Find .def files in src/ build directory in src/check-symbols.sh - * Pass builddir also in autotools also, we may just remove libs passing after autotools removal - * Move harfbuzz_subset_def target so can be referenced as a check-static-inits.sh dependency - - src/Makefile.am | 1 + - src/check-static-inits.sh | 13 ++++++++-- - src/check-symbols.sh | 7 +++--- - src/meson.build | 63 +++++++++++++++++++++++++---------------------- - 4 files changed, 50 insertions(+), 34 deletions(-) - -commit 9c2c9553eb85b272c2838f5fc60301aafe361549 -Author: Ebrahim Byagowi -Date: Thu Mar 26 13:24:38 2020 +0430 - - [test] Check -subset also doesn't link to lib[std]c++ - - src/check-libstdc++.sh | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit 25718913d4263ed709bd7142a107e128c9f91d4c -Author: Ebrahim Byagowi -Date: Thu Mar 26 14:04:37 2020 +0430 - - [gsubgpos] minor build fix - - src/hb-ot-layout-gsubgpos.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit b143e34ee1bb56d104e33b78abff70302a93d3d0 -Author: Ebrahim Byagowi -Date: Thu Mar 26 11:58:45 2020 +0430 - - [gsubgpos] Initialize variation index on HB_NO_VAR - - hb_shape_plan_key_t::equal expects hb_ot_shape_plan_key_t be initialized by - hb_ot_layout_table_find_feature_variations calls but it won't get initialized - when HB_NO_VAR build config is used. - - Related to https://github.com/harfbuzz/harfbuzz/issues/2280 - - src/hb-ot-layout-gsubgpos.hh | 1 + - 1 file changed, 1 insertion(+) - -commit 071e2e345fb0a78d13462744dca9b1a8b15e78cb -Author: Ebrahim Byagowi -Date: Thu Mar 26 12:01:53 2020 +0430 - - minor - - src/hb-ot-layout-gsubgpos.hh | 2 +- - src/hb-ot-shape.hh | 6 +++--- - 2 files changed, 4 insertions(+), 4 deletions(-) - -commit cc977b6e5c263803abc47f52538b530458f08f16 -Author: Ebrahim Byagowi -Date: Thu Mar 26 11:18:02 2020 +0430 - - [gsubgpos] Minor simplification - - Just changed the order, no functional change - - src/hb-ot-layout-gsubgpos.hh | 23 ++++++++++++----------- - 1 file changed, 12 insertions(+), 11 deletions(-) - -commit 1a48278511c396799693f23dde98c82b44a5f7d3 -Author: Ebrahim Byagowi -Date: Thu Mar 26 11:15:09 2020 +0430 - - [gsubgpos] Minor style improve - - src/hb-ot-layout-gsubgpos.hh | 24 ++++++------------------ - 1 file changed, 6 insertions(+), 18 deletions(-) - -commit 4ad686b9c0460bdc88663b882e5039b808bf8cce -Author: Garret Rieger -Date: Wed Mar 25 23:32:28 2020 -0700 - - [subset] fix fuzzer timeout in layout closure - - Bail out of chain context lookup expansion once the lookup limit is encountered. - - src/hb-ot-layout-gsubgpos.hh | 26 +++++++++++++++++++++ - ...ase-minimized-hb-subset-fuzzer-5713850117914624 | Bin 0 -> 1048576 bytes - 2 files changed, 26 insertions(+) - -commit f0ce56bbd031a8b922e9695670c09c8a385c657f -Author: Ebrahim Byagowi -Date: Tue Mar 24 22:53:38 2020 +0430 - - [meson] Don't compile test-bimap on msvc either - - MSVC doens't like its NullPool, - - test-bimap.cc.obj : error LNK2019: unresolved external symbol "unsigned __int64 const * const _hb_NullPool" (?_hb_NullPool@@3QB_KB) referenced in function - - src/meson.build | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 22f311e100bf18728f3d697b724e643a4a5c917e -Author: Ebrahim Byagowi -Date: Tue Mar 24 22:43:02 2020 +0430 - - [meson] Don't compile noinst_programs in msvc for now - - src/meson.build | 40 ++++++++++++++++++++++------------------ - 1 file changed, 22 insertions(+), 18 deletions(-) - -commit 7054b122068f14fda3442c1a3d2c05562ef8453d -Author: Ebrahim Byagowi -Date: Tue Mar 24 22:35:41 2020 +0430 - - [meson] Mark rest of non-install executables explicitly - - src/meson.build | 12 ++++++------ - test/api/meson.build | 2 ++ - test/fuzzing/meson.build | 1 + - 3 files changed, 9 insertions(+), 6 deletions(-) - -commit 68df3f7dacfa85d61fa7c059a13a09925b613484 -Author: Ebrahim Byagowi -Date: Tue Mar 24 20:58:38 2020 +0430 - - [meson] test/api, separate subset tests - - test/api/meson.build | 20 ++++++++++++++++---- - 1 file changed, 16 insertions(+), 4 deletions(-) - -commit 600bf21fbc9076e1a7c276b41a7fcd610dae8adc -Author: Ebrahim Byagowi -Date: Tue Mar 24 20:08:40 2020 +0430 - - [meson] Add draw-fuzzer runner - - test/fuzzing/meson.build | 22 ++++++++++++++-------- - 1 file changed, 14 insertions(+), 8 deletions(-) - -commit 466dbaa2583c9570016208655951b0b2466ac6c7 -Author: Ebrahim Byagowi -Date: Tue Mar 24 19:52:43 2020 +0430 - - [meson] Add a note on meson stability status - - meson.build | 2 ++ - 1 file changed, 2 insertions(+) - -commit 28deb6b718997976a519e66e9aa8c15d8f117217 -Author: Ebrahim Byagowi -Date: Tue Mar 24 19:41:53 2020 +0430 - - [meson] test/fuzzing simplify - - test/fuzzing/meson.build | 7 ++----- - 1 file changed, 2 insertions(+), 5 deletions(-) - -commit 78622231ac6da55bf86e598a7bca9e50471c03ab -Author: Ebrahim Byagowi -Date: Tue Mar 24 19:39:42 2020 +0430 - - [meson] More comment on tests are causing timeout failure - - test/fuzzing/meson.build | 3 ++- - test/subset/meson.build | 5 +++-- - 2 files changed, 5 insertions(+), 3 deletions(-) - -commit 9bc792f416dddd4aabb99780c632010d97054f5d -Author: Ebrahim Byagowi -Date: Tue Mar 24 19:37:56 2020 +0430 - - [meson] Don't set MALLOC_PERTURB_ as it is already set by meson - - test/api/meson.build | 9 ++------- - 1 file changed, 2 insertions(+), 7 deletions(-) - -commit e8808c1c203c306f7b7667f9a0f32422c9f7abbb -Author: Ebrahim Byagowi -Date: Tue Mar 24 19:15:09 2020 +0430 - - [meson] Minor, replace tabs with spaces - - .editorconfig | 1 + - meson.build | 4 ++-- - src/meson.build | 32 ++++++++++++++++---------------- - test/shaping/meson.build | 16 ++++++++-------- - 4 files changed, 27 insertions(+), 26 deletions(-) - -commit 4dfda9feaa431c2ab19d87cb177cc2502f5f0c21 -Author: Ebrahim Byagowi -Date: Tue Mar 24 19:33:31 2020 +0430 - - [meson] Update and simplify test/shaping - - test/shaping/meson.build | 538 +++++++++++++++++++++++------------------------ - 1 file changed, 268 insertions(+), 270 deletions(-) - -commit f22e92bb300775c1d494c841c6fb26b0bbc96668 -Author: Ebrahim Byagowi -Date: Tue Mar 24 19:32:55 2020 +0430 - - [meson] Update test/api from autotools - - test/api/meson.build | 118 ++++++++++++++++++++++++++++++--------------------- - 1 file changed, 70 insertions(+), 48 deletions(-) - -commit e248a4e46c5c94b6de349d0fd0e1765b29acad99 -Author: Ebrahim Byagowi -Date: Tue Mar 24 18:56:49 2020 +0430 - - [make] Minor reordering on test/api/Makefile.am - - test/api/Makefile.am | 30 +++++++++++------------------- - 1 file changed, 11 insertions(+), 19 deletions(-) - -commit 2db8279162be7ac184ccf99982fad2aeeb0d7540 -Author: Ebrahim Byagowi -Date: Tue Mar 24 18:55:56 2020 +0430 - - [meson] Don't compile test-{algs,iter,meta} on msvc - - src/meson.build | 11 ++++++++--- - 1 file changed, 8 insertions(+), 3 deletions(-) - -commit 3385afacd3daabc98e69d1880dad558faa932842 -Author: Ebrahim Byagowi -Date: Tue Mar 24 18:55:01 2020 +0430 - - [meson] Don't run check-includes if is amalgam build - - src/meson.build | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -commit 6a8a1dc5bb67e2acd3fb3e8aae4cb558e3b093f7 -Author: Ebrahim Byagowi -Date: Tue Mar 24 16:04:33 2020 +0430 - - [meson] Port src/ binary artifacts to meson - - src/meson.build | 416 +++++++++++++++++++++++++++++++++++++++++--------------- - 1 file changed, 306 insertions(+), 110 deletions(-) - -commit d57fc627e9923579aed3d451c8f3b15520805fc1 -Author: Ebrahim Byagowi -Date: Tue Mar 24 16:03:04 2020 +0430 - - [meson] raise timeout value of subset fuzzer - - test/fuzzing/meson.build | 2 ++ - 1 file changed, 2 insertions(+) - -commit 4738dff18e7644306c3526b8cc9429fda6d6db0d -Author: Ebrahim Byagowi -Date: Mon Mar 23 23:37:49 2020 +0430 - - [make] minor move on Makefile.am - - src/Makefile.am | 40 ++++++++++++++++++++-------------------- - 1 file changed, 20 insertions(+), 20 deletions(-) - -commit b07714d6b53bb20a2796f5efa607dc32aac587f1 -Author: Simon Cozens -Date: Sat Mar 14 17:55:27 2020 +0000 - - Add messages for GPOS/GSUB phases - - src/hb-ot-layout.cc | 2 ++ - 1 file changed, 2 insertions(+) - -commit 748e1cf8980e8c54b61ec86599f94450e98ad47a -Author: Ebrahim Byagowi -Date: Sat Mar 21 23:31:52 2020 +0430 - - [subset] Avoid linking to libstdc++ in libharfbuzz-subset.so - - Just like other targets (except harfbuzz-icu) avoid linking to libstdc++ - - src/Makefile.am | 1 + - 1 file changed, 1 insertion(+) - -commit 761695264b309693346dd027d38e6bc53056c3ab -Author: Ebrahim Byagowi -Date: Thu Mar 19 11:43:37 2020 +0330 - - [tests] Remove py2 workaround for lack of timeout in subprocess - - test/fuzzing/run-draw-fuzzer-tests.py | 28 ++++++---------------------- - test/fuzzing/run-shape-fuzzer-tests.py | 28 ++++++---------------------- - test/fuzzing/run-subset-fuzzer-tests.py | 32 ++++++++------------------------ - 3 files changed, 20 insertions(+), 68 deletions(-) - -commit b5526a09ff89780de4584ff422127cb962b138f3 -Author: Ebrahim Byagowi -Date: Wed Mar 18 23:58:20 2020 +0330 - - [tools] Remove in-house 'which' now that we have py3 - - test/fuzzing/run-draw-fuzzer-tests.py | 22 ++-------------------- - test/fuzzing/run-shape-fuzzer-tests.py | 22 ++-------------------- - test/fuzzing/run-subset-fuzzer-tests.py | 22 ++-------------------- - test/subset/run-tests.py | 22 +++------------------- - 4 files changed, 9 insertions(+), 79 deletions(-) - -commit a0c58be371f67aa03335f40b98aa7073f1968cab -Author: Ebrahim Byagowi -Date: Wed Mar 18 23:40:59 2020 +0330 - - [tools] Remove py2 remains - - src/gen-os2-unicode-ranges.py | 5 ----- - src/gen-use-table.py | 7 +------ - test/shaping/hb_test_tools.py | 4 ---- - 3 files changed, 1 insertion(+), 15 deletions(-) - -commit 2e29a4077b48e11d5c33a0d054dafcd17749ff07 -Author: Ebrahim Byagowi -Date: Sat Mar 14 16:34:36 2020 +0330 - - [ci/appveyor] Adopt with Meson - - appveyor.yml | 59 +++++++++++++---------------------------------------------- - 1 file changed, 13 insertions(+), 46 deletions(-) - -commit 03564fd2cfa752c28a3f306994cfc8865d208cfd -Author: Ebrahim Byagowi -Date: Sat Mar 14 20:09:00 2020 +0330 - - [test] fix misspell - - test/shaping/run-tests.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 1b8a37f75f44bf6cd20250c0dcfc1c0a70879aa5 -Author: Ebrahim Byagowi -Date: Sat Mar 14 20:06:41 2020 +0330 - - [test] minor fix - - oops... - - test/shaping/run-tests.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 0423da33732cda737354f52b37053809a80571b1 -Author: Ebrahim Byagowi -Date: Sat Mar 14 20:05:23 2020 +0330 - - [test] minor fix - - macos tests are using absolute path which aren't relevant in Windows - - test/shaping/run-tests.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 74fdd34f4d1912b506b2e640f52b3606dad4a3aa -Author: Ebrahim Byagowi -Date: Sat Mar 14 20:03:14 2020 +0330 - - [test] make run-tests.py work on Windows - - test/shaping/run-tests.py | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -commit 93b3e30215599fad6ec40351e5eef0a91e2ae031 -Author: Tim-Philipp Müller -Date: Sat Mar 14 11:27:50 2020 +0000 - - [meson] fix icu-related linking errors in test with amalgam build - - test-unicode.c:960: undefined reference to `hb_icu_get_unicode_funcs' - test-unicode.c:961: undefined reference to `hb_icu_get_unicode_funcs' - - For now add the icu sources to libharfbuzz also for the amalgam - build, later we need to have a separate harfbuzz-icu module and - link against that, and/or generate harfbuzz.cc. - - src/meson.build | 11 ++++++----- - 1 file changed, 6 insertions(+), 5 deletions(-) - -commit a3892be70108adb0cbafcff9bf4c2ebc0f65acb0 -Author: Tim-Philipp Müller -Date: Sat Mar 14 01:08:15 2020 +0000 - - [meson] fix spurious warning when building test/api C sources - - Fixes compiler warning - - test-unicode.c:589:1: warning: ‘test_unicode_properties_lenient’ defined but not used - - which didn't happen with autotools. - - Reason it does with meson is that the setup for C was slightly wrong. - We would only add -DHAVE_CONFIG_H to cpp_args which is only valid when - compiling C++ code, but not plain C code, and many of these tests were - plain C. - - Instead pass -DHAVE_CONFIG_H via add_project_arguments() and make sure - to set both c_args and cpp_args when building test executables. - - Fixes https://github.com/harfbuzz/harfbuzz/issues/2257 - - meson.build | 5 +++-- - test/api/meson.build | 3 +-- - 2 files changed, 4 insertions(+), 4 deletions(-) - -commit bb8aaa310887aa6b4a5ec2bfa9ee0330f1619c75 -Author: Tim-Philipp Müller -Date: Sat Mar 14 01:05:38 2020 +0000 - - [meson] use add_project_arguments() instead of add_global_arguments() - - .. and simplify, can pass two languages in one go. - - add_global_arguments() won't work if harfbuzz is used as a - meson subproject. - - meson.build | 7 +++---- - 1 file changed, 3 insertions(+), 4 deletions(-) - -commit 2f556c38c08d6d19bed115cc5ab5e0e369d9b4d0 -Author: Garret Rieger -Date: Fri Mar 13 12:21:10 2020 -0700 - - [subset] Fix crash when serializer runs out of room during gpos subsetting. - - src/hb-ot-layout-gpos-table.hh | 1 + - 1 file changed, 1 insertion(+) - -commit 430bf696537a4cf19e3ad371c4485f9580b4433b -Author: Garret Rieger -Date: Fri Mar 13 11:20:34 2020 -0700 - - Add potentially crashing font as a fuzzer seed. - - test/fuzzing/fonts/kanit.ttf | Bin 0 -> 160304 bytes - 1 file changed, 0 insertions(+), 0 deletions(-) - -commit c54ab9ba791efe5492dac89c64ac449de308eb6f -Author: Ebrahim Byagowi -Date: Fri Mar 13 14:41:28 2020 +0330 - - Provide meson wrap files on release tarball - - Makefile.am | 7 +++++++ - 1 file changed, 7 insertions(+) - -commit f1dd605cd9023b697c319b6640fdc25f78ef7e8c -Author: Ebrahim Byagowi -Date: Fri Mar 13 14:40:07 2020 +0330 - - [docs] Update to mention meson - - BUILD.md | 7 ++----- - CONFIG.md | 2 +- - TESTING.md | 5 ++--- - 3 files changed, 5 insertions(+), 9 deletions(-) - -commit 838346c54a332cc7acafea676b4272ab8419c9e8 -Author: Chun-wei Fan -Date: Fri Mar 13 18:01:17 2020 +0800 - - meson: Support GDI integration - - ...and supersede the configuration option uniscribe with gdi, as Uniscribe is - tightly tied to GDI. This means that enabling GDI would also mean enabling - Uniscribe. - - meson.build | 9 +++++---- - meson_options.txt | 4 ++-- - src/meson.build | 5 +++++ - 3 files changed, 12 insertions(+), 6 deletions(-) - -commit 9d0e6aef8abe12270df161d7535d6bc741cf4c31 -Author: Chun-wei Fan -Date: Fri Mar 13 16:56:55 2020 +0800 - - Meson: Look harder for Cairo on Visual Studio - - Since Cairo's build system for Visual Studio does not generate pkg-config files - for us, look for cairo.h and cairo.lib manually if the pkg-config files cannot - be found. - - Also look for cairo-ft more carefully: ensure that we have cairo-ft.h, and one - of its symbols can be found in the same cairo.lib that we previously found. - - meson.build | 18 +++++++++++++++--- - 1 file changed, 15 insertions(+), 3 deletions(-) - -commit 5efce600ab3a8e4e7f429f5d683595c33d6cbe45 -Author: Chun-wei Fan -Date: Fri Mar 13 16:40:20 2020 +0800 - - Meson: Try harder to look for ICU on Visual Studio - - ICU's Visual Studio build files do not generate pkg-config files for us, unless - it is built with Cygwin instead of the project files. If pkg-config files for - ICU cannot be found, look for its headers and .lib manually. - - meson.build | 21 ++++++++++++++++++++- - 1 file changed, 20 insertions(+), 1 deletion(-) - -commit 7baa8e0dbe816769f1ceeffdc2e72af7797e5df9 -Author: Chun-wei Fan -Date: Fri Mar 13 16:21:25 2020 +0800 - - meson: Updates to Uniscribe and DirectWrite build support - - Update the DirectWrite support to look for dwrite_1.h, and give the green light - for both the DirectWrite and Uniscribe build options. - - meson.build | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 733414b286b544b54c48e72ba8ae78d5584c157d -Author: Chun-wei Fan -Date: Fri Mar 13 16:15:21 2020 +0800 - - meson: Try harder to find FreeType on Visual Studio - - If we can't find FreeType via pkg-config or CMake, try looking for it manually, - before we attempt to build it as a fallback. - - meson.build | 14 ++++++++++++-- - 1 file changed, 12 insertions(+), 2 deletions(-) - -commit 4b4d5c295d584809e0281b27687757e895e7edfc -Author: Chun-wei Fan -Date: Fri Mar 13 16:00:09 2020 +0800 - - src/meson.build: Some cleanups for Visual Studio builds - - We don't actually need the .def files (vs_module_defs) entry when we are - building DLLs with Visual Studio as long as we have HB_DLL_EXPORT defined. - - Plus, to maintain compatibility with the CMake builds, for Visual Studio builds - we do not prefix the libraries with 'lib', nor have a '-0' suffix for the DLL - file name. - - src/meson.build | 26 +++++++++++++++----------- - 1 file changed, 15 insertions(+), 11 deletions(-) - -commit da95a8c239bda7020716cc8c7ba34c380f68ffc3 -Author: Chun-wei Fan -Date: Fri Mar 13 15:49:08 2020 +0800 - - Shaping tests: Skip FreeType tests if support not present - - HarfBuzz could have been built without FreeType, so we skip the test - when hb-shape reports that the font function `ft' is unknown - - test/shaping/run-tests.py | 40 +++++++++++++++++++++++++++------------- - 1 file changed, 27 insertions(+), 13 deletions(-) - -commit 91ca17e1fd8145e863a5df27092ddd20aa2599f5 -Author: Chun-wei Fan -Date: Fri Mar 13 12:19:32 2020 +0800 - - src/hb-gobject-enums.cc.tmpl: Replace © with (C) - - This was, we also avoid Visual Studio compiler warnings C4828 as that sign is - not favored when /utf-8 is enabled, which is the norm nowadays as Visual Studio - 2015 or later is required to build harfbuzz nowadays. - - src/hb-gobject-enums.cc.tmpl | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 62fb6738d5115298ee7c72a4da3d9858b08a7269 -Author: Chun-wei Fan -Date: Fri Mar 13 12:18:09 2020 +0800 - - Fix gen-def for harefbuzz-gobject - - The © sign is causing issues for the script, so replace those with (C) - - src/hb-gobject-enums.h.tmpl | 2 +- - src/hb-gobject-structs.h | 2 +- - src/hb-gobject.h | 2 +- - 3 files changed, 3 insertions(+), 3 deletions(-) - -commit 8d425ed446e6b6cce30c5da16d9ad7d492f0c368 -Author: Chun-wei Fan -Date: Fri Mar 13 12:15:28 2020 +0800 - - meson: Fix harfbuzz-gobject builds without introspection - - Make the `sources:` field reflect the items depending on whether introspection - is being built - - src/meson.build | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 3341d5346e530cd67d23f93cbc85e21bba7e8d0e -Author: Chun-wei Fan -Date: Fri Mar 13 12:07:06 2020 +0800 - - meson: Don't apply -DHB_DLL_EXPORT to all targets - - Only have it apply to the libraries when they are not built statically on - Visual Studio - - meson.build | 1 - - src/meson.build | 11 ++++++++--- - 2 files changed, 8 insertions(+), 4 deletions(-) - -commit a224f4179fea20b782cc131e4840c258cc3600ad -Author: Ebrahim Byagowi -Date: Fri Mar 13 08:33:34 2020 +0330 - - Turn more of simple dagger chains to foreach - - Less noise, as was agreed before and applied 385741d also - - src/hb-ot-cff-common.hh | 21 ++++--- - src/hb-ot-cmap-table.hh | 142 ++++++++++++++++++++++-------------------------- - src/hb-ot-hdmx-table.hh | 7 +-- - src/hb-pool.hh | 4 +- - 4 files changed, 79 insertions(+), 95 deletions(-) - -commit 755a77d6608c5b6d4e9ee3374a4721c77ff693ac -Author: Ebrahim Byagowi -Date: Wed Jan 29 22:26:04 2020 +0330 - - Move outline draw API behind HB_EXPERIMENTAL_API directive - - .circleci/config.yml | 2 ++ - docs/harfbuzz-sections.txt | 21 --------------------- - src/gen-def.py | 24 +++++++++++++++++++++++- - src/hb-draw.cc | 24 +++++++++++++----------- - src/hb-draw.h | 4 +++- - src/hb-draw.hh | 2 ++ - src/hb-font.h | 2 ++ - src/hb-ot-cff1-table.cc | 2 ++ - src/hb-ot-cff1-table.hh | 2 ++ - src/hb-ot-cff2-table.cc | 2 ++ - src/hb-ot-cff2-table.hh | 2 ++ - src/hb-ot-glyf-table.hh | 2 ++ - src/main.cc | 4 ++++ - test/api/test-draw.c | 7 +++++++ - test/api/test-ot-face.c | 2 ++ - test/fuzzing/hb-draw-fuzzer.cc | 8 ++++++++ - 16 files changed, 76 insertions(+), 34 deletions(-) - -commit dfab7a254655f5ef5d68a2b92f0d5c197517c853 -Author: Ebrahim Byagowi -Date: Thu Mar 12 21:05:01 2020 +0330 - - [cmake] Bring it back to release tarball - - .circleci/config.yml | 6 ++++-- - Makefile.am | 3 ++- - 2 files changed, 6 insertions(+), 3 deletions(-) - -commit e860000db5c393139c546a1273ba37983c729b41 -Author: Ebrahim Byagowi -Date: Thu Mar 12 21:04:06 2020 +0330 - - [cmake] Suggest Meson port in CMake - - CMakeLists.txt | 2 ++ - 1 file changed, 2 insertions(+) - -commit b1c3d0b8b0f3d8f644e7bc2f0e4aae2d383f4d79 -Author: Ebrahim Byagowi -Date: Thu Mar 12 20:59:18 2020 +0330 - - [cmake] cleanup - - CMakeLists.txt | 21 --------------------- - 1 file changed, 21 deletions(-) - -commit cc63eb66ce7e8579c92303f8b9d8a8183ec76513 -Author: Ebrahim Byagowi -Date: Thu Mar 12 14:53:26 2020 +0330 - - [editorconfig] Add meson config - - .editorconfig | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 1dd389668847bcbc5e94573c80bb71bb87ee0d9c -Author: Ebrahim Byagowi -Date: Thu Mar 12 13:41:10 2020 +0330 - - [meson] Make it work on autotools dist - - .circleci/config.yml | 3 ++- - Makefile.am | 3 +++ - src/Makefile.am | 1 + - util/Makefile.am | 2 ++ - 4 files changed, 8 insertions(+), 1 deletion(-) - -commit 47a047bd16c072d883a86a8dfc6ab22de9a4be5b -Author: Ebrahim Byagowi -Date: Thu Mar 12 14:47:40 2020 +0330 - - [ci] Remove the not used azure-pipelines.yml - - We will use GitHub Actions instead, same infrastructure anyway, or even better, CircleCI's Windows support - - azure-pipelines.yml | 21 --------------------- - 1 file changed, 21 deletions(-) - -commit 834a224a507bc8b971b280483de3f067a709611f -Author: Garret Rieger -Date: Thu Mar 12 03:02:36 2020 -0700 - - [subset] Put a limit on the number of lookup indices that can be visited during closures - - Fixes https://crbug.com/oss-fuzz/21025 - - src/hb-ot-layout-common.hh | 3 +++ - src/hb-ot-layout-gsubgpos.hh | 20 +++++++++++++++++--- - ...case-minimized-hb-subset-fuzzer-5662792105590784 | Bin 0 -> 1047599 bytes - 3 files changed, 20 insertions(+), 3 deletions(-) - -commit 31218b41c6bf8e8d43220f7bc87af03a7c70783b -Author: Ebrahim Byagowi -Date: Wed Mar 11 22:27:32 2020 +0330 - - [meson] Explicit state C++11 for older compilers - - Needed as https://circleci.com/gh/harfbuzz/harfbuzz/132417 - - meson.build | 1 + - 1 file changed, 1 insertion(+) - -commit 749cf378e81be77eb7d23ba1a4f26e5dbbc67037 -Author: Ebrahim Byagowi -Date: Wed Mar 11 22:25:27 2020 +0330 - - [meson] test meson's own unity feature also - - .circleci/config.yml | 2 ++ - 1 file changed, 2 insertions(+) - -commit f8c8be05640618cadbbcb5e4717261e6360828d5 -Author: Ebrahim Byagowi -Date: Wed Mar 11 20:51:40 2020 +0330 - - [meson] Add amalgam build option - - .circleci/config.yml | 7 +++++-- - meson_options.txt | 3 +++ - src/meson.build | 5 +++++ - 3 files changed, 13 insertions(+), 2 deletions(-) - -commit 365d2d3cc32fc0117d88e4a161a34c952151ba58 -Author: Ebrahim Byagowi -Date: Wed Mar 11 20:16:36 2020 +0330 - - [meson] Add needed compiler flags - - meson.build | 13 +++++++++++++ - 1 file changed, 13 insertions(+) - -commit 12df69e59c1e54137c36113a5ceb1e3000e0dc0f -Author: Ebrahim Byagowi -Date: Wed Mar 11 21:52:43 2020 +0330 - - Minor, delete not needed cmake testing file - - test/subset/CMakeLists.txt | 10 ---------- - 1 file changed, 10 deletions(-) - -commit 943bfeda53f6a8e0aa9b32c7cb0fcc9d01b7dcff -Author: Ebrahim Byagowi -Date: Wed Mar 11 20:30:41 2020 +0330 - - [meson] Enable more of the subset tests - - test/subset/meson.build | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -commit c494d7abcd626c274477319859b9bcb873aca388 -Author: Ebrahim Byagowi -Date: Wed Mar 11 19:44:13 2020 +0330 - - Remove cmake testing and add meson build bot - - CMake tests are broken anyway as py3 changes so let's get rid of them - - .circleci/config.yml | 90 ++++----------------------------------------- - CMakeLists.txt | 52 -------------------------- - Makefile.am | 2 +- - test/CMakeLists.txt | 4 -- - test/Makefile.am | 2 +- - test/api/CMakeLists.txt | 36 ------------------ - test/api/Makefile.am | 2 +- - test/fuzzing/CMakeLists.txt | 27 -------------- - test/fuzzing/Makefile.am | 2 +- - test/shaping/CMakeLists.txt | 28 -------------- - test/shaping/Makefile.am | 2 +- - test/subset/Makefile.am | 2 +- - 12 files changed, 13 insertions(+), 236 deletions(-) - -commit 1c3f80ba136bffec00343bae87269bbc9c33ecde -Author: Ebrahim Byagowi -Date: Wed Mar 11 19:29:47 2020 +0330 - - [meson] Minor updates - - meson.build | 4 ++-- - test/fuzzing/meson.build | 2 ++ - test/subset/meson.build | 22 +++++++++++++++++++++- - 3 files changed, 25 insertions(+), 3 deletions(-) - -commit 68f982415be747b8fd675d3eb55332a8277805e5 -Author: Aaron Boxer -Date: Mon Jul 22 12:12:02 2019 -0600 - - meson: update to latest master - - meson_options.txt | 2 -- - src/meson.build | 21 ++++++++++++--------- - util/meson.build | 1 + - 3 files changed, 13 insertions(+), 11 deletions(-) - -commit 535186fd84d0fba3710cb33a4983efbbc074fcca -Author: Tim-Philipp Müller -Date: Mon Dec 3 20:51:06 2018 +0100 - - meson: provide a harfbuzz-config for use from CMake - - See #822 and #1437. - - meson.build | 16 ++++++++++++++++ - src/meson.build | 14 +++++++++++++- - 2 files changed, 29 insertions(+), 1 deletion(-) - -commit 6afa7e1c3682b70ea49e3ec0f75a4e0b1deae3cc -Author: Tim-Philipp Müller -Date: Sun Dec 2 01:28:23 2018 +0000 - - meson: update harfbuzz version - - meson.build | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit f1e5f4a78440b2f43a8a3fb753fe88971eddad8b -Author: Tim-Philipp Müller -Date: Sun Dec 2 00:33:43 2018 +0000 - - meson: tests: shaping: add aots tests - - test/shaping/meson.build | 139 +++++++++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 139 insertions(+) - -commit 84725fb005777990890a85ba9e67566c7f2e0a74 -Author: Tim-Philipp Müller -Date: Sun Dec 2 00:32:57 2018 +0000 - - meson: tests: shaping: add missing in-house tests - - test/shaping/meson.build | 2 ++ - 1 file changed, 2 insertions(+) - -commit 8fc66dbf9f95c707f57c7714b0ee1c88338d4bd3 -Author: Tim-Philipp Müller -Date: Sat Dec 1 21:15:33 2018 +0000 - - meson: tests: subset: no need to check for 'which' command any more - - Test runner script now handles that. - - test/subset/meson.build | 33 +++++++++++++-------------------- - 1 file changed, 13 insertions(+), 20 deletions(-) - -commit 0976300be4f4f3c049f48fdc29bcabb385b6e182 -Author: Tim-Philipp Müller -Date: Sat Dec 1 21:10:57 2018 +0000 - - meson: pin glib wrap to 2.58.1 release - - subprojects/glib.wrap | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 0fcf098206e669ab4ca17e2e04c4aa52e6ef0e90 -Author: Tim-Philipp Müller -Date: Sat Dec 1 18:22:46 2018 +0000 - - meson: fix linking on MSVC - - meson.build | 1 + - 1 file changed, 1 insertion(+) - -commit 4a47f1aabc300317a87c581b71e21048416d2c20 -Author: Tim-Philipp Müller -Date: Sat Dec 1 11:05:27 2018 +0000 - - meson: suppress some spurious compiler warnings with MSVC - - meson.build | 18 ++++++++++++++++++ - 1 file changed, 18 insertions(+) - -commit 7eaf3754dc39f91295ba769714e01e37ddf23189 -Author: Tim-Philipp Müller -Date: Fri Nov 16 16:26:06 2018 +0000 - - meson: update for changes in master - - And remove header files from sources list, Meson figures - out header dependencies by itself (via the compiler). - - src/meson.build | 104 +++++--------------------------------------------------- - 1 file changed, 9 insertions(+), 95 deletions(-) - -commit 04438554c838abcfc860a646df866cb3baed5621 -Author: Khaled Hosny -Date: Thu Nov 15 00:25:41 2018 +0200 - - meson: Update build files after rebase - - src/meson.build | 111 ++++++++++++++++++++++++++++++++++++++++++++--- - test/api/meson.build | 16 +++++-- - test/fuzzing/meson.build | 2 - - test/shaping/meson.build | 64 ++++++++++++++++++++++++++- - 4 files changed, 181 insertions(+), 12 deletions(-) - -commit 618584e9234c13369505b5064949214d0871e2d0 -Author: Tim-Philipp Müller -Date: Wed Nov 14 20:19:36 2018 +0000 - - meson: rename incbase to incconfig - - Makes it clearer what it's for: config.h. See #4. - - meson.build | 2 +- - src/meson.build | 6 +++--- - test/api/meson.build | 2 +- - test/fuzzing/meson.build | 2 +- - util/meson.build | 8 ++++---- - 5 files changed, 10 insertions(+), 10 deletions(-) - -commit 14b5c774c205a1f8db72fa68a3e626391e917e09 -Author: Khaled Hosny -Date: Wed Nov 14 21:05:47 2018 +0200 - - meson: Fix include directory when used as subproject - - HarfBuzz headers are under src/ not the root directory, without using - incsrc no headers will be found by the dependent project. I think - incbase is superfluous, it should be replaced by incsrc or dropped. - - src/meson.build | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 6abe7983edcf820d7b8b35e1a7dddaaf3d0f1346 -Author: Tim-Philipp Müller -Date: Wed Nov 14 13:49:03 2018 +0000 - - meson: add g-i introspection - - meson_options.txt | 4 ++-- - src/meson.build | 24 ++++++++++++++++++++++++ - 2 files changed, 26 insertions(+), 2 deletions(-) - -commit 6147df337ee5a0b8135453443c696f85624dbfa3 -Author: Tim-Philipp Müller -Date: Wed Nov 14 10:12:40 2018 +0000 - - meson: add option to disable tests - - meson.build | 5 ++++- - meson_options.txt | 4 ++-- - 2 files changed, 6 insertions(+), 3 deletions(-) - -commit d230a02048efb860190a6d694ecc2729d4c4fb12 -Author: Tim-Philipp Müller -Date: Mon Nov 12 19:41:39 2018 +0000 - - meson: generate .def file for MSVC symbol export on the fly - - Fix symbol export with MSVC when features are disabled, - such as GLib. We need to generate the list of exported - symbols on the fly to make sure we only export symbols - that are actually available. - - Needs some minor modifications to the gen-def.py script: - - accept header list also via command line args; we can't - pass things to a configure_file() command via the environment - in Meson. - - strip any leading 'src/' from library filename. This might - be there because in Meson the script might be called from - the top-level directory and not the current source directory. - - Remove .def files again which had been checked in for earlier - versions of the Meson port. - - src/gen-def.py | 2 +- - src/harfbuzz-gobject.def | 33 ----- - src/harfbuzz-icu.def | 5 - - src/harfbuzz-subset.def | 12 -- - src/harfbuzz.def | 310 ----------------------------------------------- - src/meson.build | 56 ++++++--- - 6 files changed, 38 insertions(+), 380 deletions(-) - -commit 4840c8237e484177b676e774ffebbdf40c654133 -Author: Tim-Philipp Müller -Date: Mon Nov 12 16:56:56 2018 +0000 - - meson: add option and build system plumbing for CoreText on macOS/iOS - - Untested though. - - meson.build | 21 +++++++++++++++++++++ - meson_options.txt | 2 ++ - src/meson.build | 9 +++++---- - 3 files changed, 28 insertions(+), 4 deletions(-) - -commit 83ebbe4ade0c74ec83d62fcfc6ba04de87384ff5 -Author: Tim-Philipp Müller -Date: Mon Nov 12 16:56:56 2018 +0000 - - meson: add option and build system plumbing for DirectWrite on Windows - - Untested though. - - meson.build | 10 ++++++++++ - meson_options.txt | 2 ++ - src/meson.build | 9 +++++---- - 3 files changed, 17 insertions(+), 4 deletions(-) - -commit b7796a5d6984d40a44fbd828a6d3006c71f1cb3d -Author: Tim-Philipp Müller -Date: Mon Nov 12 16:56:56 2018 +0000 - - meson: add option and build system plumbing for uniscribe on Windows - - Untested though. - - meson.build | 14 ++++++++++++++ - meson_options.txt | 2 ++ - src/meson.build | 9 +++++---- - 3 files changed, 21 insertions(+), 4 deletions(-) - -commit c81290b0c11a6bcc960ab5d043502ac3a5998abd -Author: Tim-Philipp Müller -Date: Mon Nov 12 15:58:09 2018 +0000 - - meson: add feature option for internal ucdn lib - - meson_options.txt | 2 ++ - src/meson.build | 17 ++++++++--------- - 2 files changed, 10 insertions(+), 9 deletions(-) - -commit 49ba211a9d4518ebba0c44e2d22946e23a2cead8 -Author: Tim-Philipp Müller -Date: Mon Nov 12 15:36:27 2018 +0000 - - meson: add options to enable/disable various features - - And fix build without GLib. Fixes #2. - - meson.build | 16 ++++++++-------- - meson_options.txt | 21 +++++++++++++++++++++ - util/meson.build | 4 ++++ - 3 files changed, 33 insertions(+), 8 deletions(-) - -commit c5f2e5e5abb9754460e9db37b54cd314b665a8d2 -Author: Tim-Philipp Müller -Date: Mon Nov 12 10:05:04 2018 +0000 - - meson: use proxy-libintl from frida - - subprojects/proxy-libintl.wrap | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 54417b127b3cfb4952788f8535ad5bfa788fb2b8 -Author: Tim-Philipp Müller -Date: Mon Nov 12 10:04:15 2018 +0000 - - meson: fix glib git url - - It's on gitlab now. - - Fixes #1 - - subprojects/glib.wrap | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit f65def4dc7bad244742be1f6aed2552c23d12b8f -Author: Nirbheek Chauhan -Date: Fri Oct 12 19:41:49 2018 +0530 - - meson: Declare dependencies for use as a subproject - - Also use fallbacks for dependencies that have meson build files - - meson.build | 28 ++++++++++++++++++++++------ - src/meson.build | 17 +++++++++++++++++ - 2 files changed, 39 insertions(+), 6 deletions(-) - -commit 14432b3ded153972b02fe2aed4f5c3d095ef5b4a -Author: Mathieu Duponchelle -Date: Wed Jul 4 17:54:28 2018 +0200 - - meson: remove debug message - - meson.build | 2 -- - 1 file changed, 2 deletions(-) - -commit 07cadc9c870c9ed49973ecf8828cbbe9e3e9daf2 -Author: Mathieu Duponchelle -Date: Mon Jun 18 17:18:05 2018 +0200 - - meson: update minimum meson version - - meson.build | 1 + - 1 file changed, 1 insertion(+) - -commit 04bcdb9c73ff47a4b624608b69bde86b88505588 -Author: Mathieu Duponchelle -Date: Tue Jun 5 20:59:29 2018 +0200 - - meson: misc fixes - - meson.build | 24 +++++++++++++----------- - 1 file changed, 13 insertions(+), 11 deletions(-) - -commit 29c47d8eb5adf4967fe0b05013d0f53856066288 -Author: Mathieu Duponchelle -Date: Tue Jun 5 18:19:29 2018 +0200 - - meson: pass subdirs to pkgconfig.generate() - - src/meson.build | 3 +++ - 1 file changed, 3 insertions(+) - -commit 484313ff3667f279f0a1d98021b2e5719508ad31 -Author: Mathieu Duponchelle -Date: Tue Jun 5 02:15:43 2018 +0200 - - meson: install - - meson.build | 1 + - src/meson.build | 32 +++++++++++++++++++++++++++++--- - util/meson.build | 14 +++++++++----- - 3 files changed, 39 insertions(+), 8 deletions(-) - -commit d4a723732791a4806d92828d55fd6138d857722d -Author: Mathieu Duponchelle -Date: Thu May 17 16:25:22 2018 -0700 - - meson: all tests passing on Windows / MSVC - - src/harfbuzz-gobject.def | 33 +++++ - src/harfbuzz-icu.def | 5 + - src/harfbuzz-subset.def | 12 ++ - src/harfbuzz.def | 310 +++++++++++++++++++++++++++++++++++++++++ - subprojects/.gitignore | 2 + - subprojects/proxy-libintl.wrap | 4 + - subprojects/zlib.wrap | 4 + - test/fuzzing/meson.build | 6 +- - test/shaping/meson.build | 8 +- - test/subset/meson.build | 27 ++-- - 10 files changed, 393 insertions(+), 18 deletions(-) - -commit 99b26789d2ff2874ec8adf760416f2434e3093ad -Author: Mathieu Duponchelle -Date: Thu May 17 14:53:20 2018 -0700 - - meson: more windows fixes - - src/meson.build | 14 +++++++++++--- - util/meson.build | 59 ++++++++++++++++++++++++++++++-------------------------- - 2 files changed, 43 insertions(+), 30 deletions(-) - -commit 7ee650b173dc39fa998fb16aa10206dc8501a004 -Author: Mathieu Duponchelle -Date: Thu May 17 23:52:36 2018 +0200 - - meson: refactor fuzzing test - - test/fuzzing/meson.build | 16 +++++++++++----- - 1 file changed, 11 insertions(+), 5 deletions(-) - -commit fce88f9905f336aa83c934f346c44eb0829abeae -Author: Mathieu Duponchelle -Date: Thu May 17 16:20:10 2018 +0200 - - meson: add subproject wraps for dependencies - - meson.build | 29 ++++++++++------------------- - subprojects/.gitignore | 6 ++++++ - subprojects/expat.wrap | 10 ++++++++++ - subprojects/fontconfig.wrap | 5 +++++ - subprojects/freetype2.wrap | 5 +++++ - subprojects/glib.wrap | 5 +++++ - subprojects/libffi.wrap | 4 ++++ - 7 files changed, 45 insertions(+), 19 deletions(-) - -commit 920efc0ef72eb4bb5dce02ee9f9adcdd5fdf8f7a -Author: Mathieu Duponchelle -Date: Thu May 17 01:28:53 2018 +0200 - - Add Meson build definitions - - Fixes #490 - - http://mesonbuild.com - - meson-cc-tests/intel-atomic-primitives-test.c | 6 + - meson-cc-tests/solaris-atomic-operations.c | 8 + - meson.build | 189 ++++++++++++++++++++ - src/fix_get_types.py | 15 ++ - src/meson.build | 237 ++++++++++++++++++++++++++ - test/api/meson.build | 51 ++++++ - test/fuzzing/meson.build | 32 ++++ - test/meson.build | 4 + - test/shaping/meson.build | 110 ++++++++++++ - test/subset/meson.build | 20 +++ - util/meson.build | 51 ++++++ - 11 files changed, 723 insertions(+) - -commit 0615c7b64b63400b2a70a1a6dd8a57d0b0fff10c -Author: Khaled Hosny -Date: Tue Mar 10 21:57:31 2020 +0200 - - Remove workaround for old pkg-config - - Add FreeType dependency to .pc, Ubuntu 14.4 is long dead. - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1565 - - src/Makefile.am | 7 +------ - 1 file changed, 1 insertion(+), 6 deletions(-) - -commit 78eabf247e3127413a80ad92f7d576b00a438687 -Author: Ebrahim Byagowi -Date: Tue Mar 10 13:34:42 2020 +0330 - - [test] Enable OT funcs on tests that are working - - .../data/in-house/tests/indic-joiners.tests | 8 +-- - test/shaping/data/in-house/tests/use.tests | 2 +- - .../data/text-rendering-tests/tests/AVAR-1.tests | 34 ++++++------ - .../data/text-rendering-tests/tests/CFF-1.tests | 26 ++++----- - .../data/text-rendering-tests/tests/CFF-2.tests | 26 ++++----- - .../data/text-rendering-tests/tests/CFF2-1.tests | 18 +++---- - .../data/text-rendering-tests/tests/CMAP-1.tests | 8 +-- - .../data/text-rendering-tests/tests/CMAP-2.tests | 4 +- - .../data/text-rendering-tests/tests/CMAP-3.tests | 40 +++++++------- - .../data/text-rendering-tests/tests/CVAR-1.tests | 6 +-- - .../data/text-rendering-tests/tests/CVAR-2.tests | 6 +-- - .../data/text-rendering-tests/tests/GLYF-1.tests | 2 +- - .../data/text-rendering-tests/tests/GPOS-1.tests | 38 ++++++------- - .../data/text-rendering-tests/tests/SHARAN-1.tests | 12 ++--- - .../data/text-rendering-tests/tests/SHBALI-1.tests | 44 +++++++-------- - .../data/text-rendering-tests/tests/SHBALI-2.tests | 24 ++++----- - .../data/text-rendering-tests/tests/SHKNDA-2.tests | 32 +++++------ - .../data/text-rendering-tests/tests/SHKNDA-3.tests | 62 +++++++++++----------- - 18 files changed, 196 insertions(+), 196 deletions(-) - -commit 47f5a860362180f6655d49956d7d12e0d296463d -Author: Ebrahim Byagowi -Date: Tue Mar 10 13:57:46 2020 +0330 - - minor, use NN on every OffsetTo> - - src/hb-aat-layout-feat-table.hh | 2 +- - src/hb-aat-layout-trak-table.hh | 2 +- - src/hb-ot-meta-table.hh | 2 +- - 3 files changed, 3 insertions(+), 3 deletions(-) - -commit 648338c7d495f69a896348faabd2175c1e21981f -Author: Ebrahim Byagowi -Date: Tue Mar 10 13:12:00 2020 +0330 - - [gvar] Add fields docs from ot-spec as other tables - - src/hb-ot-var-gvar-table.hh | 151 ++++++++++++++++++++++++++------------------ - 1 file changed, 88 insertions(+), 63 deletions(-) - -commit 1b3b96973bc00294f00adc18104ab12997b75661 -Author: Ebrahim Byagowi -Date: Tue Mar 10 12:46:09 2020 +0330 - - [gvar] Don't copy shared tuples into gvar's accelerator - - src/hb-ot-var-gvar-table.hh | 26 +++++++------------------- - 1 file changed, 7 insertions(+), 19 deletions(-) - -commit 29dd1fe506d254abdf8b4cccd7dfdf48d6f5e7e6 -Author: Ebrahim Byagowi -Date: Tue Mar 10 11:41:51 2020 +0330 - - [gvar] Don't check again against face num glyph - - Done once by sanitize_shallow - - src/hb-ot-var-gvar-table.hh | 4 ---- - 1 file changed, 4 deletions(-) - -commit d4b11817600e3ac444895336dd78a72dbeaf2a56 -Author: Ebrahim Byagowi -Date: Tue Mar 10 11:29:56 2020 +0330 - - [gvar] minor, rename gvar_table to table - - src/hb-ot-var-gvar-table.hh | 22 +++++++++++----------- - 1 file changed, 11 insertions(+), 11 deletions(-) - -commit 5c376938644f820c7fd69991c8d2e9c4952145c4 -Author: Ebrahim Byagowi -Date: Tue Mar 10 10:51:38 2020 +0330 - - [gvar] Remove axisCount comparison with fvar as we runtime check that - - src/hb-ot-var-gvar-table.hh | 10 +++------- - 1 file changed, 3 insertions(+), 7 deletions(-) - -commit ba22df36adf2d60df442330ac13618fe640f8d4c -Author: Ebrahim Byagowi -Date: Tue Mar 10 10:42:20 2020 +0330 - - minor - - makes search for sanitize calls easier for me - - src/hb-ot-color-svg-table.hh | 2 +- - src/hb-ot-hmtx-table.hh | 4 ++-- - src/hb-ot-layout-gdef-table.hh | 4 ++-- - src/hb-ot-layout-gsubgpos.hh | 2 +- - src/hb-ot-name-table.hh | 2 +- - 5 files changed, 7 insertions(+), 7 deletions(-) - -commit 8ca9df7acb6283eb68fcf3d66aacac6faafcc94c -Author: Ebrahim Byagowi -Date: Tue Mar 10 10:40:05 2020 +0330 - - [subset] Remove not needed blob sanitize call - - src/hb-subset-cff1.cc | 10 +++------- - src/hb-subset-cff2.cc | 11 +++-------- - 2 files changed, 6 insertions(+), 15 deletions(-) - -commit 07acd1a0426a5ba3f4924e3bb79a6715c164782c -Author: Ebrahim Byagowi -Date: Sun Mar 8 23:39:24 2020 +0330 - - [subset] Rename src_base args to base to match sanitize methods - - So it will become easier to follow that serialize methods signatures should - match with their sanitize methods counterparts. - - src/hb-open-type.hh | 18 ++---- - src/hb-ot-cmap-table.hh | 37 ++++++----- - src/hb-ot-color-cbdt-table.hh | 4 +- - src/hb-ot-layout-common.hh | 135 +++++++++++++++++------------------------ - src/hb-ot-layout-gpos-table.hh | 51 +++++++--------- - src/hb-ot-layout-gsubgpos.hh | 6 +- - src/hb-ot-name-table.hh | 5 +- - 7 files changed, 108 insertions(+), 148 deletions(-) - -commit 188a0a47c225a0bf1869b2d4c14db96055c2099c -Author: ariza -Date: Sat Mar 7 11:02:36 2020 -0800 - - removed default base; replaced w/ bias if required - - src/hb-open-type.hh | 11 +++---- - src/hb-ot-cmap-table.hh | 18 +++++------ - src/hb-ot-color-cbdt-table.hh | 7 ++--- - src/hb-ot-color-sbix-table.hh | 10 +++--- - src/hb-ot-layout-common.hh | 70 +++++++++++++++++------------------------- - src/hb-ot-layout-gdef-table.hh | 20 ++++++------ - src/hb-ot-layout-gpos-table.hh | 55 ++++++++++++++++----------------- - src/hb-ot-layout-gsub-table.hh | 8 ++--- - src/hb-ot-layout-gsubgpos.hh | 30 ++++++++---------- - src/hb-ot-name-table.hh | 2 +- - src/hb-serialize.hh | 22 +++++-------- - 11 files changed, 112 insertions(+), 141 deletions(-) - -commit 4c3af7d406359d2addd51b2fc91d49b3a8d45c29 -Author: blueshade7 -Date: Thu Mar 5 15:40:44 2020 -0800 - - add "add_link()" with bias arg - - issue #2227 - - src/hb-ot-cff-common.hh | 2 +- - src/hb-serialize.hh | 37 +++++++++++++++++++++---------------- - 2 files changed, 22 insertions(+), 17 deletions(-) - -commit bdf372b24c19516c7e608b3eb254fb3720b36b6c -Author: Ebrahim Byagowi -Date: Sun Mar 8 00:47:25 2020 +0330 - - [subset/cbdt] Release the referenced cbdt table on error - - Just accidentally spotted it, when the table has less than 4 bytes - - src/hb-ot-color-cbdt-table.hh | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -commit 0d729b4b7237934abfca0b5738ad4383f3f22476 -Author: Ebrahim Byagowi -Date: Sat Mar 7 11:53:12 2020 +0330 - - [avar] Fix out-of-bound read when input is bigger than all the coords - - 'i' shouldn't become equal to array's length which as the increament - is happened at end of the loop, if the input is bigger than all the - table coords, it will be equal to array's length. - - Fixes https://crbug.com/oss-fuzz/21092 - - src/hb-ot-var-avar-table.hh | 2 +- - ...zz-testcase-minimized-hb-draw-fuzzer-5681465586352128 | Bin 0 -> 4448 bytes - 2 files changed, 1 insertion(+), 1 deletion(-) - -commit 6924e29f62a320c91d987a91d4efa752d13c7660 -Author: Ebrahim Byagowi -Date: Tue Mar 3 13:11:11 2020 +0330 - - [var] Fix hb_ot_var_get_axis_infos's offset semantic - - The API was adding offset to input's infos buffer index also which is - unusual between our APIs and wrong. - - src/hb-ot-var-fvar-table.hh | 26 ++++---------------------- - test/api/test-var-coords.c | 25 +++++++++++++++++++++++++ - 2 files changed, 29 insertions(+), 22 deletions(-) - -commit b7617f6b3cfa0abf10292ea79bcd53ef61a08e90 -Author: Ebrahim Byagowi -Date: Thu Mar 5 12:07:33 2020 +0330 - - [glyf] Update to latests of ttf-parser - - src/hb-ot-glyf-table.hh | 45 +++++++++++++++++++++------------------------ - 1 file changed, 21 insertions(+), 24 deletions(-) - -commit 0b290538646b08d391321fcbb9a1cb5f648d83ff -Author: ariza -Date: Wed Mar 4 22:31:21 2020 -0800 - - removed unused code - - src/hb-ot-cff1-table.hh | 24 ++++++++++++------------ - src/hb-ot-cff2-table.hh | 10 +++++----- - src/hb-subset-cff-common.hh | 6 +++--- - src/hb-subset-cff1.cc | 16 ++++++++-------- - 4 files changed, 28 insertions(+), 28 deletions(-) - -commit e8f010d7938b9f8c6065ca455c6b24968fcfd898 -Author: ariza -Date: Wed Mar 4 16:54:27 2020 -0800 - - removed unused code & data; rename - - src/hb-cff-interp-dict-common.hh | 13 -------- - src/hb-ot-cff-common.hh | 62 +------------------------------------- - src/hb-ot-cff1-table.hh | 65 ++++++++-------------------------------- - src/hb-ot-cff2-table.hh | 44 ++++----------------------- - src/hb-subset-cff-common.hh | 52 +++----------------------------- - src/hb-subset-cff1.cc | 18 +++++------ - 6 files changed, 31 insertions(+), 223 deletions(-) - -commit 14a7b6f1ab1926680369bf43efc9ee8d5f89402d -Author: Garret Rieger -Date: Wed Feb 26 15:09:04 2020 -0800 - - Set hb_buffer_t to use array_t.reverse(). - - src/Makefile.am | 6 ++++- - src/hb-array.hh | 25 ++++++++++-------- - src/hb-buffer.cc | 18 ++----------- - src/test-array.cc | 76 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ - 4 files changed, 97 insertions(+), 28 deletions(-) - -commit 5935a1dc0b45d1256c81b214222125b47e3db345 -Author: ariza -Date: Tue Mar 3 12:12:51 2020 -0800 - - add pop_discard() calls to errror returns - - src/hb-subset-cff1.cc | 135 ++++++++++++++++++++++++++++++++++---------------- - src/hb-subset-cff2.cc | 54 +++++++++++++------- - 2 files changed, 130 insertions(+), 59 deletions(-) - -commit c05458ec7f11753be95d1c3cdd7c377d07d7b981 -Author: ariza -Date: Mon Mar 2 16:51:19 2020 -0800 - - update cff & cff2 subsetters - - src/hb-ot-cff-common.hh | 201 ++++---- - src/hb-ot-cff1-table.hh | 58 ++- - src/hb-ot-cff2-table.hh | 9 +- - src/hb-subset-cff-common.hh | 63 +-- - src/hb-subset-cff1.cc | 526 ++++++--------------- - src/hb-subset-cff2.cc | 320 ++++--------- - test/api/fonts/AdobeVFPrototype.ac.nohints.otf | Bin 6220 -> 4212 bytes - .../fonts/AdobeVFPrototype.ac.nosubrs.nohints.otf | Bin 6100 -> 4092 bytes - test/api/fonts/cff1_expert.2D,F6E9,FB00.otf | Bin 3096 -> 1412 bytes - 9 files changed, 430 insertions(+), 747 deletions(-) - -commit 446d1e3bbce4627f2edf24bb991fe606465f2d7e -Author: Ebrahim Byagowi -Date: Wed Mar 4 23:32:50 2020 +0330 - - [fuzz] Add more of fixed cases - - ...fuzz-testcase-hb-subset-fuzzer-5686749313892352 | Bin 0 -> 2808 bytes - ...case-minimized-harfbuzz_fuzzer-5017946948370432 | Bin 0 -> 1321 bytes - ...case-minimized-harfbuzz_fuzzer-5170405903695872 | Bin 0 -> 1271 bytes - ...case-minimized-harfbuzz_fuzzer-6223034666713088 | Bin 0 -> 1260 bytes - ...case-minimized-hb-shape-fuzzer-5154718402215936 | Bin 0 -> 226 bytes - ...case-minimized-hb-shape-fuzzer-5196560812474368 | Bin 0 -> 1816 bytes - ...case-minimized-hb-shape-fuzzer-5632586529898496 | Bin 0 -> 695 bytes - ...case-minimized-hb-shape-fuzzer-5642666339991552 | Bin 0 -> 32 bytes - ...case-minimized-hb-shape-fuzzer-5642899625082880 | Bin 0 -> 759578 bytes - ...case-minimized-hb-shape-fuzzer-5648999235715072 | Bin 0 -> 297 bytes - ...case-minimized-hb-shape-fuzzer-5652700541222912 | Bin 0 -> 232 bytes - ...case-minimized-hb-shape-fuzzer-5711096049041408 | Bin 0 -> 93 bytes - ...case-minimized-hb-shape-fuzzer-5711472756260864 | Bin 0 -> 154432 bytes - ...case-minimized-hb-shape-fuzzer-5742079188140032 | Bin 0 -> 16731 bytes - ...case-minimized-hb-shape-fuzzer-5749627240841216 | Bin 0 -> 99 bytes - ...case-minimized-hb-shape-fuzzer-6306977171374080 | Bin 0 -> 713443 bytes - ...ase-minimized-hb-subset-fuzzer-5160311461511168 | Bin 0 -> 68 bytes - ...ase-minimized-hb-subset-fuzzer-5640452927127552 | Bin 0 -> 32376 bytes - ...ase-minimized-hb-subset-fuzzer-5640889218629632 | Bin 0 -> 1490 bytes - ...ase-minimized-hb-subset-fuzzer-5641053680173056 | Bin 0 -> 2863 bytes - ...ase-minimized-hb-subset-fuzzer-5674228796358656 | Bin 0 -> 913 bytes - ...ase-minimized-hb-subset-fuzzer-5675720390475776 | Bin 299037 -> 131084 bytes - ...ase-minimized-hb-subset-fuzzer-5678476148867072 | Bin 0 -> 113915 bytes - ...ase-minimized-hb-subset-fuzzer-5685097303375872 | Bin 0 -> 134 bytes - ...ase-minimized-hb-subset-fuzzer-5695865298092032 | Bin 0 -> 139054 bytes - ...ase-minimized-hb-subset-fuzzer-5697351339999232 | Bin 0 -> 391689 bytes - ...ase-minimized-hb-subset-fuzzer-5708063625969664 | Bin 0 -> 155466 bytes - ...ase-minimized-hb-subset-fuzzer-5711849555755008 | Bin 0 -> 1896 bytes - ...ase-minimized-hb-subset-fuzzer-5733203291144192 | Bin 0 -> 34 bytes - ...ase-minimized-hb-subset-fuzzer-5735719311507456 | Bin 0 -> 879 bytes - ...ase-minimized-hb-subset-fuzzer-5745268385906688 | Bin 0 -> 291536 bytes - ...ase-minimized-hb-subset-fuzzer-5756658848890880 | Bin 0 -> 2734 bytes - ...ase-minimized-hb-subset-fuzzer-5758358618898432 | Bin 0 -> 20112 bytes - ...ase-minimized-hb-subset-fuzzer-5764020596899840 | Bin 0 -> 1766 bytes - test/fuzzing/fonts/fuzz-0-harfbuzz_hb-fuzzer | Bin 0 -> 3266 bytes - 35 files changed, 0 insertions(+), 0 deletions(-) - -commit 9004848560141d98dff61eda2dea01412ddc24ea -Author: Ebrahim Byagowi -Date: Wed Mar 4 12:12:35 2020 +0330 - - [gvar] Make sure font's num_coords matches with gvar.axisCount - - src/hb-ot-glyf-table.hh | 2 +- - src/hb-ot-var-gvar-table.hh | 11 ++++++----- - 2 files changed, 7 insertions(+), 6 deletions(-) - -commit 1af3363f9e4b52d68e6dd5600cef4479614292d5 -Author: Ebrahim Byagowi -Date: Wed Mar 4 11:32:01 2020 +0330 - - [gvar] Use hb_array_t instead indexing raw pointers - - src/hb-ot-var-gvar-table.hh | 39 ++++++++++++++++++--------------------- - 1 file changed, 18 insertions(+), 21 deletions(-) - -commit 99b5b3f1b125010aea0cbb9183950fa18fe089b5 -Author: Ebrahim Byagowi -Date: Wed Mar 4 11:15:46 2020 +0330 - - [gvar] Make sure TupleVarHeader has the needed size - - Fixes https://crbug.com/oss-fuzz/21026 - - src/hb-ot-var-gvar-table.hh | 2 +- - ...zz-testcase-minimized-hb-draw-fuzzer-5703524300357632 | Bin 0 -> 1515 bytes - 2 files changed, 1 insertion(+), 1 deletion(-) - -commit b398748d8bd61dbf61a3f8ec7e6aaf715bf57f65 -Author: Ebrahim Byagowi -Date: Wed Mar 4 11:18:19 2020 +0330 - - [algs] Add hb_clamp - - Similar to stl and glsl's clamp - - src/hb-algs.hh | 7 +++++++ - src/hb-ot-var-fvar-table.hh | 2 +- - src/hb-sanitize.hh | 6 +++--- - 3 files changed, 11 insertions(+), 4 deletions(-) - -commit 558f922788ccceaa80c31bf0e379be4c96598d13 -Author: Ebrahim Byagowi -Date: Tue Mar 3 20:27:19 2020 +0330 - - [fuzz] Avoid empty memcpy and ubsan complain by length checking before memcpy - - test/fuzzing/hb-shape-fuzzer.cc | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 6543d166fded5aefb223bcaf614985654a2dafc0 -Author: Ebrahim Byagowi -Date: Tue Mar 3 20:26:46 2020 +0330 - - [fuzz] Remove the not yet fixed timeout, going to investigate - - ...zz-testcase-minimized-harfbuzz_fuzzer-5754958982021120 | Bin 319 -> 0 bytes - 1 file changed, 0 insertions(+), 0 deletions(-) - -commit 2bbf1c8673a549be22b316a8055c080787129f55 -Author: Ebrahim Byagowi -Date: Tue Mar 3 19:42:38 2020 +0330 - - [fuzz] Add more of supposed to already be fixed cases from Chromium bug tracker - - ...usterfuzz-testcase-harfbuzz_fuzzer-4822416500195328 | Bin 0 -> 16800 bytes - ...usterfuzz-testcase-harfbuzz_fuzzer-5598263003840512 | Bin 0 -> 16800 bytes - ...usterfuzz-testcase-harfbuzz_fuzzer-6327734241591296 | Bin 0 -> 30 bytes - ...testcase-minimized-harfbuzz_fuzzer-4601449528688640 | Bin 0 -> 99 bytes - ...testcase-minimized-harfbuzz_fuzzer-4684060812378112 | Bin 0 -> 604 bytes - ...testcase-minimized-harfbuzz_fuzzer-4710179695493120 | Bin 0 -> 982 bytes - ...testcase-minimized-harfbuzz_fuzzer-4850271066914816 | Bin 0 -> 386 bytes - ...testcase-minimized-harfbuzz_fuzzer-4977194146988032 | Bin 0 -> 520 bytes - ...testcase-minimized-harfbuzz_fuzzer-5012913062150144 | Bin 0 -> 283 bytes - ...testcase-minimized-harfbuzz_fuzzer-5103148350963712 | Bin 0 -> 112 bytes - ...testcase-minimized-harfbuzz_fuzzer-5151890782027776 | Bin 0 -> 318 bytes - ...testcase-minimized-harfbuzz_fuzzer-5157039562162176 | Bin 0 -> 363 bytes - ...testcase-minimized-harfbuzz_fuzzer-5163560220753920 | Bin 0 -> 520 bytes - ...testcase-minimized-harfbuzz_fuzzer-5180622648770560 | Bin 0 -> 110 bytes - ...testcase-minimized-harfbuzz_fuzzer-5221177988743168 | Bin 0 -> 936 bytes - ...testcase-minimized-harfbuzz_fuzzer-5334300410773504 | Bin 0 -> 99 bytes - ...testcase-minimized-harfbuzz_fuzzer-5644474732249088 | Bin 0 -> 568 bytes - ...testcase-minimized-harfbuzz_fuzzer-5677289226108928 | Bin 0 -> 47 bytes - ...testcase-minimized-harfbuzz_fuzzer-5719356528656384 | Bin 0 -> 330 bytes - ...testcase-minimized-harfbuzz_fuzzer-5754958982021120 | Bin 0 -> 319 bytes - ...testcase-minimized-harfbuzz_fuzzer-5952939792531456 | 0 - ...testcase-minimized-harfbuzz_fuzzer-6107935408390144 | Bin 0 -> 16800 bytes - ...testcase-minimized-harfbuzz_fuzzer-6120104833843200 | Bin 0 -> 81 bytes - ...testcase-minimized-harfbuzz_fuzzer-6128803416637440 | Bin 0 -> 4041 bytes - ...testcase-minimized-harfbuzz_fuzzer-6142466903506944 | Bin 0 -> 926 bytes - ...testcase-minimized-harfbuzz_fuzzer-6198448785981440 | Bin 0 -> 2357 bytes - ...testcase-minimized-harfbuzz_fuzzer-6462232674959360 | Bin 0 -> 2738 bytes - ...testcase-minimized-harfbuzz_fuzzer-6600932143136768 | Bin 0 -> 988 bytes - ...testcase-minimized-harfbuzz_fuzzer-6603291950841856 | Bin 0 -> 1384 bytes - ...testcase-minimized-harfbuzz_fuzzer-6712347260092416 | Bin 0 -> 196336 bytes - ...case-minimized-harfbuzz_fuzzer.exe-5470269447340032 | Bin 0 -> 341 bytes - ...z-testcase-minimized-hb-set-fuzzer-6255224052514816 | 1 + - test/fuzzing/fonts/fuzz-0-harfbuzz_fuzzer | Bin 0 -> 982 bytes - test/fuzzing/fonts/fuzz-1-harfbuzz_fuzzer | Bin 0 -> 10424 bytes - test/fuzzing/fonts/fuzz-1-harfbuzz_fuzzer(1) | Bin 0 -> 16144 bytes - test/fuzzing/fonts/fuzz-2-harfbuzz_fuzzer | Bin 0 -> 1010 bytes - test/fuzzing/fonts/fuzz-2-harfbuzz_fuzzer(1) | Bin 0 -> 1010 bytes - test/fuzzing/fonts/fuzz-3-harfbuzz_fuzzer | Bin 0 -> 6791 bytes - test/fuzzing/fonts/fuzz-3-harfbuzz_fuzzer(1) | Bin 0 -> 2625 bytes - test/fuzzing/fonts/fuzz-3-harfbuzz_fuzzer(2) | Bin 0 -> 2813 bytes - test/fuzzing/fonts/fuzz-3-harfbuzz_fuzzer(3) | Bin 0 -> 2813 bytes - test/fuzzing/fonts/fuzz-3-harfbuzz_fuzzer(4) | Bin 0 -> 646 bytes - test/fuzzing/fonts/fuzz-3-harfbuzz_fuzzer(5) | Bin 0 -> 6791 bytes - 43 files changed, 1 insertion(+) - -commit f745777c60455e31d4f30ca0b06f06b8d062b013 -Author: Ebrahim Byagowi -Date: Tue Mar 3 19:14:41 2020 +0330 - - minor, debug bit, ops - - src/hb-ot-layout-gsubgpos.hh | 1 - - 1 file changed, 1 deletion(-) - -commit f253f06cf368d74f1ec5d84c6439ae2a571e99f1 -Author: Ebrahim Byagowi -Date: Tue Mar 3 18:57:13 2020 +0330 - - [fuzz] Add another fixed case - - https://crbug.com/oss-fuzz/14626 - - another numerous subtables count which is fixed by d38360397 - - src/hb-ot-layout-gsubgpos.hh | 1 + - ...testcase-minimized-hb-shape-fuzzer-5712050577211392 | Bin 0 -> 647751 bytes - 2 files changed, 1 insertion(+) - -commit d38360397609d2f3d2dd115bcb0f58d10a1bb4a3 -Author: Ebrahim Byagowi -Date: Mon Mar 2 22:41:08 2020 +0330 - - Limit OT::Lookup subtables (#2219) - - Fixes https://crbug.com/oss-fuzz/13943 - - src/hb-ot-layout-common.hh | 7 +++++-- - src/hb-sanitize.hh | 13 +++++++++++-- - ...testcase-minimized-hb-shape-fuzzer-5666162551029760 | Bin 0 -> 202319 bytes - 3 files changed, 16 insertions(+), 4 deletions(-) - -commit 29efd964f20625e12e697d74ae226b0d3b158aa5 -Author: Ebrahim Byagowi -Date: Mon Mar 2 14:22:29 2020 +0330 - - [fuzz] Add cases that marked as wontfix - - Let's see if they were really false alarms, if so, let's just have them. - - ...usterfuzz-testcase-hb-shape-fuzzer-5072750494875648 | Bin 0 -> 35 bytes - ...usterfuzz-testcase-hb-shape-fuzzer-5638729035677696 | Bin 0 -> 946 bytes - ...usterfuzz-testcase-hb-shape-fuzzer-5643643755429888 | Bin 0 -> 1776 bytes - ...usterfuzz-testcase-hb-shape-fuzzer-5644258942386176 | Bin 0 -> 61 bytes - ...usterfuzz-testcase-hb-shape-fuzzer-5657878543728640 | Bin 0 -> 1828 bytes - ...usterfuzz-testcase-hb-shape-fuzzer-5680362806575104 | Bin 0 -> 564 bytes - ...usterfuzz-testcase-hb-shape-fuzzer-5689920685867008 | Bin 0 -> 42 bytes - ...sterfuzz-testcase-hb-subset-fuzzer-5756332481708032 | Bin 0 -> 6065 bytes - ...estcase-minimized-hb-subset-fuzzer-5121706490593280 | Bin 0 -> 161328 bytes - ...estcase-minimized-hb-subset-fuzzer-5759783999635456 | Bin 0 -> 165952 bytes - 10 files changed, 0 insertions(+), 0 deletions(-) - -commit 60262e4ca9dc8acd740e47b14d6e7b586c16ceac -Author: Ebrahim Byagowi -Date: Sat Feb 29 22:57:59 2020 +0330 - - [var] Build end-points array on gvar itself - - src/hb-ot-glyf-table.hh | 13 +++---------- - src/hb-ot-var-gvar-table.hh | 8 ++++++-- - 2 files changed, 9 insertions(+), 12 deletions(-) - -commit cb65150fecee43b47cb706ed51be4f428b8f33df -Author: Ebrahim Byagowi -Date: Sat Feb 29 16:12:54 2020 +0330 - - [draw] minor - - test/fuzzing/hb-draw-fuzzer.cc | 6 ------ - 1 file changed, 6 deletions(-) - -commit 44169f3396af0c60ebc74fd4c624988d871dcf0f -Author: Ebrahim Byagowi -Date: Sat Feb 29 16:04:03 2020 +0330 - - [draw] Fix invalid rendering of some glyph on Estedad-VF - - Basically reverts 11f3fca so I can do the same tested and better later - - Fixes #2215 - - src/hb-ot-glyf-table.hh | 15 ++++++++--- - src/hb-ot-var-gvar-table.hh | 26 ++++++------------ - test/api/fonts/Estedad-VF.ttf | Bin 0 -> 94364 bytes - test/api/fonts/README | 2 ++ - test/api/test-draw.c | 61 ++++++++++++++++++++++++++++++++++++++++++ - 5 files changed, 83 insertions(+), 21 deletions(-) - -commit 86c40b3a1d8c7d970ce1b450f4dfadef8d9d0126 -Author: Ebrahim Byagowi -Date: Sat Feb 29 14:11:46 2020 +0330 - - [fuzz/draw] Call _get_glyph_extents - - Other render related APIs also may be added also later such - as ot-color and future rendering things. - - test/fuzzing/hb-draw-fuzzer.cc | 13 +++++++++++-- - 1 file changed, 11 insertions(+), 2 deletions(-) - -commit 5ab50eebd7846b79528058a1e4e83bb181416c30 -Author: Michiharu Ariza -Date: Sat Feb 29 01:32:29 2020 -0800 - - collect_unicodes() with clamp, calling add_range() - - Use add_range instead an inner loop, clamp its input number by - number of glyphs a face has. - - Even the face cmap12 and 13 have 32-bit hb_codepoint_t, which is here - used to make timeout, face's maxp has 16-bit gid limitation at least for now, - using that makes sure we both fix and the timeout and don't need to change - much things here also in order to support 32-bit gids also someday. - - Fixes #2204 - - src/hb-face.cc | 2 +- - src/hb-ot-cmap-table.hh | 30 ++++++++++++--------- - .../fonts/1746cad6bc3fb2b355db50a5af37c9b58d9ad376 | Bin 0 -> 23293 bytes - 3 files changed, 19 insertions(+), 13 deletions(-) - -commit 414529e45a4cb3ee444c2dd5a2a9cbd6be0598af -Author: Garret Rieger -Date: Fri Feb 28 15:15:55 2020 -0800 - - [subset] Limit the number of feature indices processed during script subsetting. - - src/hb-ot-layout-common.hh | 20 ++++++++++++++++++-- - src/hb-ot-layout-gsubgpos.hh | 2 +- - 2 files changed, 19 insertions(+), 3 deletions(-) - -commit 75622b0d246eefe5d912a6918d14c7250ebaea78 -Author: Garret Rieger -Date: Fri Feb 28 14:11:48 2020 -0800 - - [subset] Limit the number of features processed in the feature closure. - - src/hb-ot-layout-gsubgpos.hh | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 410b4881d088e924781385d1958878f2923645d0 -Author: Garret Rieger -Date: Fri Feb 28 10:38:27 2020 -0800 - - [subset] Add fuzzer timeout testcase. - - ...estcase-minimized-hb-subset-fuzzer-6276691949518848 | Bin 0 -> 184722 bytes - 1 file changed, 0 insertions(+), 0 deletions(-) - -commit c66ee213b70eb204b750675d60f25549d942d3d7 -Author: Garret Rieger -Date: Thu Feb 27 12:25:01 2020 -0800 - - Limit the number of feature indices processed during feature collection. - - src/hb-ot-layout-common.hh | 5 +++++ - src/hb-ot-layout.cc | 14 +++++++++++--- - 2 files changed, 16 insertions(+), 3 deletions(-) - -commit e57ced5fc06bd14a579a983db73e94416f6fedf4 -Author: Ebrahim Byagowi -Date: Fri Feb 28 23:29:05 2020 +0330 - - [gvar] Add other possibly fixed fuzzer case - - Speculatively should've been fixed by 61208401 - - https://crbug.com/oss-fuzz/20924 related - - ...zz-testcase-minimized-hb-draw-fuzzer-5750654771658752 | Bin 0 -> 4004 bytes - 1 file changed, 0 insertions(+), 0 deletions(-) - -commit 758fda728ba5c9d4542ea2385482f7d090ffda0d -Author: Ebrahim Byagowi -Date: Fri Feb 28 23:19:06 2020 +0330 - - [glyf] Don't accept gids higher than maxp's glyphs number - - This specially becomes concerning on sub-components where a gvar table - that is sanitized using maxp's glyphs number overflows when a high gid - accepted here goes to it, maybe an additional check can be put there - also, this however feels to be enough. - - Fixes https://crbug.com/oss-fuzz/20944 - - src/hb-ot-glyf-table.hh | 1 + - ...zz-testcase-minimized-hb-draw-fuzzer-5668491560747008 | Bin 0 -> 8771 bytes - 2 files changed, 1 insertion(+) - -commit e642aab1166cf7782fb55f1721eba057c2bfd609 -Author: Ebrahim Byagowi -Date: Fri Feb 28 22:24:25 2020 +0330 - - [subset] Add source_blob as a hb_subset_context_t field (#2203) - - So no more double sanitizing source table. - - src/hb-ot-color-sbix-table.hh | 23 ++++++++--------------- - src/hb-ot-var-gvar-table.hh | 27 ++++++--------------------- - src/hb-subset.cc | 2 +- - src/hb-subset.hh | 5 ++++- - 4 files changed, 19 insertions(+), 38 deletions(-) - -commit e90213868b121af72d19b6022a671ebe72ff55aa -Author: Ebrahim Byagowi -Date: Fri Feb 28 21:24:27 2020 +0330 - - Revert "collect_unicodes() to check gid < num_glyphs with cmap 12" - - Didn't fix the case actually, making bots to fail. - - This reverts commit 15b43a410400c74a32d40f4b89dbea02fa7cd6e1. - - src/hb-face.cc | 2 +- - src/hb-ot-cmap-table.hh | 30 +++++++++------------ - .../fonts/1746cad6bc3fb2b355db50a5af37c9b58d9ad376 | Bin 23293 -> 0 bytes - 3 files changed, 13 insertions(+), 19 deletions(-) - -commit 61208401f41f5d41f32d436cee500c630706f6be -Author: Ebrahim Byagowi -Date: Fri Feb 28 21:09:07 2020 +0330 - - [gvar] Use hb_bytes_t.check_range instead having in house one - - And use TupleVarHeader calculated size for validity check. - - Fixes https://crbug.com/oss-fuzz/20919 and possibly other gvar related issues - - src/hb-ot-var-gvar-table.hh | 36 ++++++++------------- - ...tcase-minimized-hb-draw-fuzzer-5686960406659072 | Bin 0 -> 4004 bytes - 2 files changed, 13 insertions(+), 23 deletions(-) - -commit 15b43a410400c74a32d40f4b89dbea02fa7cd6e1 -Author: Michiharu Ariza -Date: Fri Feb 28 08:45:39 2020 -0800 - - collect_unicodes() to check gid < num_glyphs with cmap 12 - - fixes #2204 - - src/hb-face.cc | 2 +- - src/hb-ot-cmap-table.hh | 30 ++++++++++++--------- - .../fonts/1746cad6bc3fb2b355db50a5af37c9b58d9ad376 | Bin 0 -> 23293 bytes - 3 files changed, 19 insertions(+), 13 deletions(-) - -commit 868ecf7b2660747f7628df2b3a17a8d68b0325eb -Author: Ebrahim Byagowi -Date: Fri Feb 28 19:50:30 2020 +0330 - - [draw] Add fuzzer runner - - test/fuzzing/Makefile.am | 3 + - test/fuzzing/run-draw-fuzzer-tests.py | 107 ++++++++++++++++++++++++++++++++++ - 2 files changed, 110 insertions(+) - -commit b0749bfaa53cdf34180b2d15c6e3840f03d5ece2 -Author: Qunxin Liu -Date: Fri Feb 14 13:49:44 2020 -0800 - - [subset] GDEF LigCaretList subsetting support - - src/hb-ot-layout-gdef-table.hh | 73 +++++++++++++++++++++++++++++++++++++++++- - 1 file changed, 72 insertions(+), 1 deletion(-) - -commit 002f0e20c4c6e35e0ff379ff58cfe1e19067133a -Author: ariza -Date: Thu Feb 27 17:34:26 2020 -0800 - - reimplment serialize_int using check_assign() - - src/hb-cff-interp-common.hh | 23 ++++++++++------------- - src/hb-ot-cff-common.hh | 24 +++++++++++++----------- - src/hb-subset-cff1.cc | 2 +- - 3 files changed, 24 insertions(+), 25 deletions(-) - -commit 14b134379d7a34af1a78b0ea930a6fab79779723 -Author: Ebrahim Byagowi -Date: Thu Feb 27 15:58:58 2020 +0330 - - [gvar] Minor, check whether sub_array result also have enough room - - src/hb-ot-var-gvar-table.hh | 5 ++--- - 1 file changed, 2 insertions(+), 3 deletions(-) - -commit 8eba66c1c6d19bcc779a3b4e7b68251511986ee8 -Author: Ebrahim Byagowi -Date: Thu Feb 27 15:58:58 2020 +0330 - - [gvar] Fix invalid memory access by refactoring GlyphVarData fetch logic - - Fixes https://crbug.com/oss-fuzz/20906 - - src/hb-ot-var-gvar-table.hh | 70 +++++++++++---------- - ...tcase-minimized-hb-draw-fuzzer-5088336521986048 | Bin 0 -> 1413 bytes - 2 files changed, 36 insertions(+), 34 deletions(-) - -commit f44e1dc07d24abb4c9311d4a55725219665ca84c -Author: Evgeniy Reizner -Date: Thu Feb 27 02:02:22 2020 +0200 - - Fix spelling. - - src/hb-ot-glyf-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 5ad761b943721c3541d0ca0472f34f7d54b89b5b -Author: Qunxin Liu -Date: Tue Feb 11 13:05:40 2020 -0800 - - [subset] GDEF MarkGlyphSets subsetting support - - src/hb-ot-layout-gdef-table.hh | 43 ++++++++++++++++++++- - test/subset/data/Makefile.am | 1 + - test/subset/data/Makefile.sources | 1 + - .../Roboto-Regular.default.1E00,303.ttf | Bin 0 -> 2456 bytes - .../layout.gdef/Roboto-Regular.default.303.ttf | Bin 0 -> 2128 bytes - .../Roboto-Regular.default.309,20,30F.ttf | Bin 0 -> 2220 bytes - .../layout.gdef/Roboto-Regular.default.323.ttf | Bin 0 -> 2020 bytes - .../Roboto-Regular.default.41,42,43.ttf | Bin 0 -> 2480 bytes - .../Roboto-Regular.drop-hints.1E00,303.ttf | Bin 0 -> 1204 bytes - .../layout.gdef/Roboto-Regular.drop-hints.303.ttf | Bin 0 -> 1012 bytes - .../Roboto-Regular.drop-hints.309,20,30F.ttf | Bin 0 -> 1068 bytes - .../layout.gdef/Roboto-Regular.drop-hints.323.ttf | Bin 0 -> 952 bytes - .../Roboto-Regular.drop-hints.41,42,43.ttf | Bin 0 -> 1188 bytes - .../Roboto-Regular.keep-gdef.1E00,303.ttf | Bin 0 -> 2520 bytes - .../layout.gdef/Roboto-Regular.keep-gdef.303.ttf | Bin 0 -> 2192 bytes - .../Roboto-Regular.keep-gdef.309,20,30F.ttf | Bin 0 -> 2288 bytes - .../layout.gdef/Roboto-Regular.keep-gdef.323.ttf | Bin 0 -> 2084 bytes - .../Roboto-Regular.keep-gdef.41,42,43.ttf | Bin 0 -> 2536 bytes - test/subset/data/tests/layout.gdef.tests | 14 +++++++ - 19 files changed, 58 insertions(+), 1 deletion(-) - -commit fcd7f33bbb12d66b3a50caa448cb91ef7c0daa9e -Author: Qunxin Liu -Date: Mon Feb 10 10:36:50 2020 -0800 - - [subset] GDEF glyphClassDef subsetting support - glyphClassDef uses the same ClassDef format. However, glyphClassDef table - uses predefined class values so we do not remap class values. - - src/hb-ot-layout-common.hh | 42 ++++++++++++--------- - ...Mplus1p-Regular.keep-gdef.1D715,1D7D8,41,42.ttf | Bin 0 -> 2148 bytes - .../japanese/Mplus1p-Regular.keep-gdef.25771.ttf | Bin 0 -> 1860 bytes - ...lar.keep-gdef.3042,3044,3046,3048,304A,304B.ttf | Bin 0 -> 2572 bytes - ...lar.keep-gdef.3042,3044,3046,73E0,5EA6,8F38.ttf | Bin 0 -> 2816 bytes - .../Mplus1p-Regular.keep-gdef.61,63,65,6B.ttf | Bin 0 -> 2116 bytes - ...lar.keep-gdef.660E,6975,73E0,5EA6,8F38,6E05.ttf | Bin 0 -> 3112 bytes - .../japanese/Mplus1p-Regular.keep-gdef.660E.ttf | Bin 0 -> 1852 bytes - test/subset/data/profiles/keep-gdef.txt | 1 + - test/subset/data/tests/japanese.tests | 1 + - 10 files changed, 26 insertions(+), 18 deletions(-) - -commit 50129b03a1cc0bb08231d46571a34aca85b7b14f -Author: Garret Rieger -Date: Tue Feb 25 17:39:59 2020 -0800 - - Add a reverse () call to hb_array_t. - - src/hb-array.hh | 15 +++++++++++++++ - src/hb-ot-cmap-table.hh | 26 +++++++++++++++----------- - 2 files changed, 30 insertions(+), 11 deletions(-) - -commit 38c6598c1c7d645b46970ec2e7f345d45dd38380 -Author: Garret Rieger -Date: Tue Feb 25 17:20:05 2020 -0800 - - Switch to C style comments. - - src/hb-ot-cmap-table.hh | 38 +++++++++++++++++++++----------------- - 1 file changed, 21 insertions(+), 17 deletions(-) - -commit 52b6e0baa0c479511d3e06d3a71a65f73e88cfdc -Author: Garret Rieger -Date: Mon Feb 10 12:26:40 2020 -0800 - - When serializing cmap14 order the offsets from smallest to largest. - Current versions of OTS fail fonts with cmap 14's who's last offset does not point to the a block at the end of the table. - - src/hb-ot-cmap-table.hh | 115 ++++++++++++++++++++++++++++++++++-------------- - 1 file changed, 83 insertions(+), 32 deletions(-) - -commit a99134c5bee945e144b9429ba4a4d58ff18313b4 -Author: ariza -Date: Wed Feb 26 09:58:03 2020 -0800 - - add oss-fuzz 20886 test file - - ...-testcase-minimized-hb-subset-fuzzer-5641370503217152 | Bin 0 -> 3099 bytes - 1 file changed, 0 insertions(+), 0 deletions(-) - -commit d0aaba5c5087781c7231e26fdd190c65baebde95 -Author: ariza -Date: Wed Feb 26 09:35:32 2020 -0800 - - fixes oss-fuzz 20886 - - hb_set_t::resize () is needed after compact() - - src/hb-set.hh | 1 + - 1 file changed, 1 insertion(+) - -commit 05a25c1a5bfbc70ed9151ab9c368ddc6aa4e8fd4 -Author: Ebrahim Byagowi -Date: Wed Feb 26 19:35:27 2020 +0330 - - [cff] minor, remove unused fields - - src/hb-ot-cff1-table.cc | 6 ++---- - 1 file changed, 2 insertions(+), 4 deletions(-) - -commit 9fe0dc3464391e1cd51c01c499b6110d99895d25 -Author: Ebrahim Byagowi -Date: Wed Feb 26 17:40:44 2020 +0330 - - [draw] Pass draw_helper_t itself around instead recreating it - - Specially helpful if we want to change the design - - src/hb-draw.cc | 7 ++++--- - src/hb-draw.hh | 4 ++-- - src/hb-ot-cff1-table.cc | 43 ++++++++++++++++++++----------------------- - src/hb-ot-cff1-table.hh | 4 ++-- - src/hb-ot-cff2-table.cc | 23 ++++++++++------------- - src/hb-ot-cff2-table.hh | 4 ++-- - src/hb-ot-glyf-table.hh | 42 ++++++++++++++++++++---------------------- - 7 files changed, 60 insertions(+), 67 deletions(-) - -commit 1b8b8638980d4276f424e8c4f59731f50832d119 -Author: Ebrahim Byagowi -Date: Wed Feb 26 16:36:48 2020 +0330 - - minor - - test/fuzzing/hb-draw-fuzzer.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 4cdaa9d1f4ca4e9225fab6383f16d24f9a323995 -Author: Ebrahim Byagowi -Date: Wed Feb 26 16:27:04 2020 +0330 - - [glyf] Simplify contour end logic - - So no need for infinite loop here - - src/hb-ot-glyf-table.hh | 53 +++++++++++++++++++++---------------------------- - 1 file changed, 23 insertions(+), 30 deletions(-) - -commit 132fcfbc4733c521733e9fea84e19c58746980f2 -Author: Ebrahim Byagowi -Date: Wed Feb 26 16:15:17 2020 +0330 - - [fuzz] minor don't abort main.cc when the file was empty or not found - - test/fuzzing/main.cc | 7 +------ - 1 file changed, 1 insertion(+), 6 deletions(-) - -commit 84163c83d398665c694b1c90d1a94344e95464b7 -Author: Ebrahim Byagowi -Date: Wed Feb 26 15:58:11 2020 +0330 - - [draw] Skip commands and paths not contributing anything - - They aren't contributing to rendering and making issue for stroking, let's skip them - ourselves as Skia does also https://skia-review.googlesource.com/c/skia/+/268166 - - They are useful for extracting extents and so which that functionality won't be effected by this change. - - src/hb-draw.hh | 22 ++++++++++++++++------ - test/api/test-draw.c | 8 ++++---- - test/fuzzing/hb-draw-fuzzer.cc | 8 +++++++- - 3 files changed, 27 insertions(+), 11 deletions(-) - -commit 073d4954e01c45e8dd1cf63a53ad35563f46ef17 -Author: Ebrahim Byagowi -Date: Wed Feb 26 15:40:40 2020 +0330 - - [draw] Port glyf path extract to draw_helper_t - - src/hb-draw.hh | 44 +++++++++++++------- - src/hb-ot-glyf-table.hh | 104 +++++++++++------------------------------------- - 2 files changed, 52 insertions(+), 96 deletions(-) - -commit 0ebf3a4e62f5f54f3557e954f4493b4de43990dd -Author: Ebrahim Byagowi -Date: Wed Feb 26 15:14:41 2020 +0330 - - [draw] Move common CFF path building logic to draw_helper_t - - src/hb-draw.hh | 70 +++++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-ot-cff1-table.cc | 60 +++++++++--------------------------------- - src/hb-ot-cff2-table.cc | 67 ++++++++-------------------------------------- - 3 files changed, 93 insertions(+), 104 deletions(-) - -commit c400cb8863abb5f894e021da5d524c1e28b1e980 -Merge: c21eb86bf 4081439d2 -Author: Michiharu Ariza -Date: Tue Feb 25 16:06:03 2020 -0800 - - Re-implement hb_set_t::del_range (#2194) - - * optimize hb_set_del_range() - - fix issue #2193 - - * fixed bug & added tests - - * coding & comment tweaks - -commit c21eb86bfd671b04aca54395988cbfe6c9fd2e27 -Merge: 152000d9c 4aa354beb -Author: Ebrahim Byagowi -Date: Wed Feb 26 02:54:38 2020 +0330 - - Merge pull request #2163 from harfbuzz/absolute-link - - added add_link_abs() - -commit 4081439d2a49f5dfde2f9043b0e53f2008ff211f -Author: ariza -Date: Tue Feb 25 15:03:12 2020 -0800 - - tweak reflecting review & add test cases - - src/hb-set.hh | 37 ++++++++++++++++++++++--------------- - test/api/test-set.c | 53 +++++++++++++++++++++++++++++++++++------------------ - 2 files changed, 57 insertions(+), 33 deletions(-) - -commit 152000d9c761233261cfbfb22e771eb97576aab3 -Author: Ebrahim Byagowi -Date: Tue Feb 25 20:07:25 2020 +0330 - - [fuzz] Practice variations on font object - - test/api/test-ot-face.c | 8 +++----- - test/fuzzing/hb-shape-fuzzer.cc | 16 ++++++++++++++-- - 2 files changed, 17 insertions(+), 7 deletions(-) - -commit 036d868913b2d4564880d588eb67c48924bd861b -Author: Ebrahim Byagowi -Date: Mon Feb 24 10:34:51 2020 +0330 - - [draw] Add a fuzzer - - Specially checks correctness of the API semantics: - * no move happens when a path is already opened with move-to. - * no path will be left open and close-path will happen at the end of opened paths. - * no path opens with a move-to and will be closed with no length. - * paths start and ending points matches. - * no line/quadratic/cubic command will be issued when no path is started. - - test/fuzzing/Makefile.am | 9 ++++ - test/fuzzing/hb-draw-fuzzer.cc | 117 +++++++++++++++++++++++++++++++++++++++++ - 2 files changed, 126 insertions(+) - -commit de896278f7534c876d28d9b5cf344c5d707d3490 -Author: ariza -Date: Tue Feb 25 07:12:20 2020 -0800 - - coding & comment tweaks - - src/hb-set.hh | 14 +++++++------- - 1 file changed, 7 insertions(+), 7 deletions(-) - -commit 2f97aa65e556b6ce0ce220c088a3da5504738189 -Author: Ebrahim Byagowi -Date: Tue Feb 25 18:07:44 2020 +0330 - - [cff] Make sure previous is ended on processing a seac - - src/hb-ot-cff1-table.cc | 3 +++ - 1 file changed, 3 insertions(+) - -commit acc2d4738eec3444b6f789ccbd30a7790383f2c8 -Author: Ebrahim Byagowi -Date: Tue Feb 25 18:05:48 2020 +0330 - - [cff] Make path extract easier to read and more defensive - - src/hb-ot-cff1-table.cc | 8 ++++---- - src/hb-ot-cff2-table.cc | 8 ++++---- - 2 files changed, 8 insertions(+), 8 deletions(-) - -commit b59eb54f70c20d0260026067177a958e11c3a044 -Author: Ebrahim Byagowi -Date: Tue Feb 25 10:30:59 2020 +0330 - - [glyf] Refactor, move get_points inside Glyph - - src/hb-ot-glyf-table.hh | 267 +++++++++++++++++++++++------------------------- - 1 file changed, 125 insertions(+), 142 deletions(-) - -commit 173b745da8bfd8bda710c90ab48427364068eeb5 -Author: ariza -Date: Mon Feb 24 22:56:57 2020 -0800 - - fixed bug & added tests - - src/hb-set.hh | 3 ++- - test/api/test-set.c | 10 ++++++---- - 2 files changed, 8 insertions(+), 5 deletions(-) - -commit a5012e97c4a392d2788777580e0d08b44e036750 -Author: ariza -Date: Mon Feb 24 17:09:48 2020 -0800 - - optimize hb_set_del_range() - - fix issue #2193 - - src/hb-set.hh | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++--- - test/api/test-set.c | 29 +++++++++++++++++++++++++++ - 2 files changed, 82 insertions(+), 3 deletions(-) - -commit 96b71e802fe8d1fa9a14d1dece7935f4eb9789af -Author: Ebrahim Byagowi -Date: Mon Feb 24 23:00:58 2020 +0330 - - [fuzz] make the custom loader to handle multiple files - - Actually this was the way it used to work :) - - test/fuzzing/main.cc | 27 ++++++++++++--------------- - 1 file changed, 12 insertions(+), 15 deletions(-) - -commit 1f5a54c768159e1bcf1c772ab236737994f638aa -Author: Ebrahim Byagowi -Date: Mon Feb 24 13:18:24 2020 +0330 - - [gvar] fix infinite loop introduced by 11f3fca - - The attempt on removing end_points had made the code unreadable - and has intrdouced infinite, fixed by making the code clear what - it tries to achieve. - - src/hb-ot-var-gvar-table.hh | 22 ++++++++++++++++------ - test/api/fonts/TestGVAREight.ttf | Bin 0 -> 4692 bytes - test/api/test-ot-metrics-tt-var.c | 18 ++++++++++++++++++ - 3 files changed, 34 insertions(+), 6 deletions(-) - -commit f00eb4ebfa02dea593c4842a7672aa2640a6bbf2 -Author: Ebrahim Byagowi -Date: Mon Feb 24 09:21:25 2020 +0330 - - [gvar] Don't compare against Null address - - src/hb-ot-var-gvar-table.hh | 18 ++++++++++-------- - 1 file changed, 10 insertions(+), 8 deletions(-) - -commit 19b78d56cdec354d4f35bf6ae529f670cba88fb3 -Author: Ebrahim Byagowi -Date: Mon Feb 24 09:08:01 2020 +0330 - - [gvar] Accept coord_count even if is higher than gvar's axisCount - - src/hb-ot-var-gvar-table.hh | 1 + - 1 file changed, 1 insertion(+) - -commit 197e2e929b7184b8c1365b08a1b275871fc08012 -Author: Ebrahim Byagowi -Date: Mon Feb 24 08:53:53 2020 +0330 - - [gvar] Return gracefully even if gvar wasn't used at all - - src/hb-ot-var-gvar-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 346ab9884b019ce919c2ab2ee3a3c373bec6fc33 -Author: Ebrahim Byagowi -Date: Mon Feb 24 08:46:08 2020 +0330 - - [gvar] Return gracefully even if coords_count != gvar's axis count - - It shouldn't be that common to have the situation, even so, no need to - reject entire a glyph even if gvar isn't used. - - src/hb-ot-var-gvar-table.hh | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit 5f23a76e99f627f06ff7e56dddd9b53b4cbaae84 -Author: Ebrahim Byagowi -Date: Mon Feb 24 08:23:23 2020 +0330 - - [cff] Don't remove coords const qualification - - We should find some way to audit all the const removals, perhaps by - enabling -Wold-style-cast warning on the project and turning all the - implicit const removals to const_cast. - - src/hb-cff2-interp-cs.hh | 5 ++--- - src/hb-ot-layout-common.hh | 4 ++-- - 2 files changed, 4 insertions(+), 5 deletions(-) - -commit ff5223ba6075ea4d9c9844e3733ad7a0dc5875bd -Author: Michiharu Ariza -Date: Sun Feb 23 15:53:21 2020 -0800 - - remove invalid glyphs from closure (#2188) - - fix issue #2186 - - src/hb-ot-layout-gsubgpos.hh | 1 + - 1 file changed, 1 insertion(+) - -commit e17fd0d91cbd69fa9c01b20bd5c448d0a4fe0e67 -Author: Ebrahim Byagowi -Date: Sun Feb 23 23:58:39 2020 +0330 - - [tools] More on py3 compatibility - - src/gen-tag-table.py | 23 +++++++---------------- - src/gen-vowel-constraints.py | 13 ++++--------- - test/shaping/hb-diff | 2 +- - test/shaping/hb_test_tools.py | 6 +++--- - 4 files changed, 15 insertions(+), 29 deletions(-) - -commit 0cf050a7b13703e0d665f8dd263cc0d22a95c4f1 -Author: Ebrahim Byagowi -Date: Sun Feb 23 23:00:48 2020 +0330 - - [draw] Merge consequent move-to commands of CFF/CFF2 - - src/hb-ot-cff1-table.cc | 4 ++-- - src/hb-ot-cff2-table.cc | 7 ++----- - test/api/fonts/Stroking.otf | Bin 0 -> 1060 bytes - test/api/test-draw.c | 26 +++++++++++++++++++++++++- - 4 files changed, 29 insertions(+), 8 deletions(-) - -commit 86bd5a0ba12e389eb0742bf63eb9c88ca3fd8786 -Author: Ebrahim Byagowi -Date: Sun Feb 23 22:46:26 2020 +0330 - - [draw] End CFF paths with a line-to - - Issue a line-to command when start and end point of a path isn't same, matches freetype also. - - src/hb-ot-cff1-table.cc | 35 ++++++++++++++++++++++++++++++++--- - src/hb-ot-cff2-table.cc | 40 ++++++++++++++++++++++++++++++++++++---- - test/api/test-draw.c | 16 +++++++++------- - 3 files changed, 77 insertions(+), 14 deletions(-) - -commit a46ba770ab6ce2f3fd2c420f550600d2589642d3 -Author: Ebrahim Byagowi -Date: Sat Feb 22 17:15:00 2020 +0330 - - [number] minor - - src/hb-number-parser.hh | 4 ++-- - src/hb-number-parser.rl | 4 ++-- - 2 files changed, 4 insertions(+), 4 deletions(-) - -commit 4aa354beba8b01f32257225de052b5e6a6feab3a -Author: ariza -Date: Thu Feb 20 05:03:15 2020 -0800 - - chain second OffsetTo::serialize_copy() to first - - src/hb-open-type.hh | 18 ++---------------- - 1 file changed, 2 insertions(+), 16 deletions(-) - -commit 6120f50c8f52ff2e8e3c7d4f86f17fc259dcec50 -Author: ariza -Date: Wed Feb 19 13:55:39 2020 -0800 - - fix Head with link.bias - - src/hb-serialize.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit e65bff09433b66c207f1c40cd6e5b73c7f19d7cd -Author: ariza -Date: Wed Feb 19 13:38:04 2020 -0800 - - workaround whence_t as bit-field - - src/hb-serialize.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 1aed6d223ccf7e3cce5ed277200c57d4ecf9e2a7 -Author: ariza -Date: Wed Feb 19 13:20:29 2020 -0800 - - fix whence=Head; position as 28 bits - - src/hb-serialize.hh | 11 ++++++++--- - 1 file changed, 8 insertions(+), 3 deletions(-) - -commit 4ca8e0d9891591c56ecca7e4cea3e06c6a5a8e38 -Author: ariza -Date: Wed Feb 19 12:52:18 2020 -0800 - - re-implement Tail; rewrote name table with it - - src/hb-open-type.hh | 24 ++++++++++++++++++++ - src/hb-ot-name-table.hh | 16 ++++---------- - src/hb-serialize.hh | 58 ++++++++++++++++++------------------------------- - 3 files changed, 49 insertions(+), 49 deletions(-) - -commit c1313e4be24017478deacfec1d9ee0284c411bbd -Author: ariza -Date: Mon Feb 17 17:33:18 2020 -0800 - - minor: undid unintended change - - src/hb-serialize.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 9c65680b48fc993b31526c8aa9b9b71d772fdb52 -Author: ariza -Date: Mon Feb 17 16:59:45 2020 -0800 - - rename enums to avoid conflict on win - - src/hb-serialize.hh | 14 +++++++------- - 1 file changed, 7 insertions(+), 7 deletions(-) - -commit 555f6f1daa5cc1365930e2b6ed7283c704b3b438 -Author: ariza -Date: Mon Feb 17 16:29:40 2020 -0800 - - merge add_link_abs() into add_link() - - src/hb-serialize.hh | 92 ++++++++++++++++++++++++++--------------------------- - 1 file changed, 46 insertions(+), 46 deletions(-) - -commit 017cd945bf6351a89c661ba00b0f7e1dad69b52a -Author: ariza -Date: Thu Feb 6 16:11:58 2020 -0800 - - added add_link_abs() - - src/hb-serialize.hh | 69 ++++++++++++++++++++++++++++++++++++++++++++--------- - 1 file changed, 58 insertions(+), 11 deletions(-) - -commit 07504569d5e7ca2f7da987fc016fc4141eeca263 -Author: Ebrahim Byagowi -Date: Fri Feb 21 13:05:44 2020 +0330 - - [gsub] minor format - - src/hb-ot-layout-gsub-table.hh | 19 +++++++++---------- - 1 file changed, 9 insertions(+), 10 deletions(-) - -commit 411225426ffca0b93f4e83f7a488a62a54b17880 -Author: Garret Rieger -Date: Thu Feb 20 13:43:06 2020 -0800 - - Fix glyph closure for alternate substitution. - It was not filtering on the glyphs to be retained. - - src/hb-ot-layout-gsub-table.hh | 1 + - test/subset/data/Makefile.am | 1 + - test/subset/data/Makefile.sources | 1 + - ...te_substitution.keep-layout-retain-gids.53A9,53F1.otf | Bin 0 -> 5108 bytes - ...ternate_substitution.keep-layout-retain-gids.53A9.otf | Bin 0 -> 4676 bytes - ...ternate_substitution.keep-layout-retain-gids.53F1.otf | Bin 0 -> 3012 bytes - ...tion.keep-layout-retain-gids.retain-all-codepoint.otf | Bin 0 -> 6820 bytes - ...gsub_alternate_substitution.keep-layout.53A9,53F1.otf | Bin 0 -> 4984 bytes - .../gsub_alternate_substitution.keep-layout.53A9.otf | Bin 0 -> 4524 bytes - .../gsub_alternate_substitution.keep-layout.53F1.otf | Bin 0 -> 2816 bytes - ...ate_substitution.keep-layout.retain-all-codepoint.otf | Bin 0 -> 6728 bytes - test/subset/data/fonts/gsub_alternate_substitution.otf | Bin 0 -> 8448 bytes - test/subset/data/tests/layout.gsub3.tests | 12 ++++++++++++ - 13 files changed, 15 insertions(+) - -commit da37880e172c207001ceff65c51276538a2d90db -Author: Ebrahim Byagowi -Date: Thu Feb 20 19:01:43 2020 +0330 - - [draw] Add a private bit field instead null-checking quad-to callback - - This doesn't imply the the design is good or stable just is better - to not fail due to null quad-to callback so as our quad-cubic curves - translation is currently table limited which can be revisited anytime. - - src/hb-draw.cc | 9 ++++++++- - src/hb-draw.hh | 1 + - src/hb-ot-glyf-table.hh | 4 ++-- - 3 files changed, 11 insertions(+), 3 deletions(-) - -commit 79b2b8a91fe5c011bda03a5350a3f482e053d0ba -Author: Ebrahim Byagowi -Date: Wed Feb 19 16:41:13 2020 +0330 - - minor - - CMakeLists.txt | 2 +- - m4/ax_cxx_compile_stdcxx.m4 | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit 8c652f72fc1323b811b5cde53604f0a71334efa2 -Author: Ebrahim Byagowi -Date: Wed Feb 19 16:32:44 2020 +0330 - - Minor, switch to https links where possible - - src/gen-tag-table.py | 2 +- - src/hb-ot-cff1-table.hh | 2 +- - src/hb-ot-shape-complex-arabic.cc | 2 +- - src/hb-unicode-emoji-table.hh | 4 ++-- - test/api/hb-test.h | 8 ++++---- - test/shaping/hb_test_tools.py | 2 +- - 6 files changed, 10 insertions(+), 10 deletions(-) - -commit bbcbcafc2579a3d4b1dbe743fa77a0167e3f949c -Author: Ebrahim Byagowi -Date: Wed Feb 19 16:21:47 2020 +0330 - - [tool] Minor, move input files link - - src/gen-tag-table.py | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -commit 83db1e117e4d6f5624eafa6fe51b1622a8642b65 -Author: Ebrahim Byagowi -Date: Wed Feb 19 15:15:18 2020 +0330 - - [ci] Compatibility with Python 3 - - Disabled CMake test runners as it goes for Python 2 and updated the bots - - Install Python 3 on macOS 10.12 bot - - .circleci/config.yml | 14 ++++++-------- - 1 file changed, 6 insertions(+), 8 deletions(-) - -commit 8d199077045bd28cc74d4dc66fc6e1a734ea3bda -Author: Ebrahim Byagowi -Date: Wed Feb 19 14:56:55 2020 +0330 - - Remove python2 support from tests/utils scripts - - mingw-ldd.py | 3 +- - src/gen-arabic-table.py | 4 +- - src/gen-def.py | 4 +- - src/gen-emoji-table.py | 3 +- - src/gen-indic-table.py | 4 +- - src/gen-os2-unicode-ranges.py | 6 +- - src/gen-tag-table.py | 10 +-- - src/gen-ucd-table.py | 4 +- - src/gen-use-table.py | 4 +- - src/gen-vowel-constraints.py | 4 +- - src/sample.py | 19 +---- - test/fuzzing/run-shape-fuzzer-tests.py | 4 +- - test/fuzzing/run-subset-fuzzer-tests.py | 4 +- - .../data/text-rendering-tests/extract-tests.py | 4 +- - test/shaping/hb-diff | 2 +- - test/shaping/hb-diff-colorize | 2 +- - test/shaping/hb-diff-filter-failures | 2 +- - test/shaping/hb-diff-stat | 2 +- - test/shaping/hb-unicode-decode | 2 +- - test/shaping/hb-unicode-encode | 2 +- - test/shaping/hb-unicode-prettyname | 2 +- - test/shaping/hb_test_tools.py | 86 ++-------------------- - test/shaping/record-test.sh | 2 +- - test/shaping/run-tests.py | 4 +- - test/subset/generate-expected-outputs.py | 4 +- - test/subset/run-tests.py | 4 +- - test/subset/subset_test_suite.py | 2 +- - 27 files changed, 35 insertions(+), 158 deletions(-) - -commit 2c9fbf5561e4ca5abe93ce3990c0cca3982f3517 -Author: Rico Tzschichholz -Date: Wed Feb 12 14:59:52 2020 +0100 - - Improve GIR build - - CMakeLists.txt | 6 ++++-- - src/Makefile.am | 11 ++++++++++- - 2 files changed, 14 insertions(+), 3 deletions(-) - -commit bd13470f23744a5bbe44b7b20846e112579abe0d -Author: Ebrahim Byagowi -Date: Wed Feb 19 13:19:38 2020 +0330 - - [ci] Update Ubuntu bots versions - - .circleci/config.yml | 40 ++++++++++++++++++++-------------------- - 1 file changed, 20 insertions(+), 20 deletions(-) - -commit 493e40ff787222af598b4227f40af7718548f335 -Author: Qunxin Liu -Date: Tue Feb 18 13:09:08 2020 -0800 - - [subset] add one empty byte to glyf table - if it's going to end up empty after subsetting - This will make OTS happy and match what fontTools is doing now. - - src/hb-ot-glyf-table.hh | 12 ++++++++++++ - .../colr/TwemojiMozilla.subset.default.32.ttf | Bin 4660 -> 4664 bytes - ...wemojiMozilla.subset.drop-hints-retain-gids.32.ttf | Bin 4640 -> 4644 bytes - .../colr/TwemojiMozilla.subset.drop-hints.32.ttf | Bin 4640 -> 4644 bytes - .../colr/TwemojiMozilla.subset.retain-gids.32.ttf | Bin 4660 -> 4664 bytes - 5 files changed, 12 insertions(+) - -commit a7dec0cb515d5f9ffc6cf39e712ed0b0b93bd1f0 -Author: Ebrahim Byagowi -Date: Tue Feb 18 16:22:12 2020 +0330 - - [glyf] Tweak path_builder_t - - src/hb-ot-glyf-table.hh | 66 ++++++++++++++++++++++++++++--------------------- - 1 file changed, 38 insertions(+), 28 deletions(-) - -commit d52ea2a42ce9332564cc2f049734545796e0c79b -Author: Ebrahim Byagowi -Date: Tue Feb 18 15:46:02 2020 +0330 - - [glyf] minor - - src/hb-ot-glyf-table.hh | 15 +++++++++------ - 1 file changed, 9 insertions(+), 6 deletions(-) - -commit 3b0c58f811203ac59d96d94ab3675a1b85adb411 -Author: Ebrahim Byagowi -Date: Tue Feb 18 15:42:48 2020 +0330 - - [glyf] minor, use private font coords to simplify - - src/hb-ot-glyf-table.hh | 8 ++------ - 1 file changed, 2 insertions(+), 6 deletions(-) - -commit dcd2729e717f48013e07d0b93b64826507c049cc -Author: Ebrahim Byagowi -Date: Tue Feb 18 15:38:57 2020 +0330 - - [glyf] Move contour_bounds_t into scope it is actually used - - src/hb-ot-glyf-table.hh | 81 ++++++++++++++++++++++++------------------------- - 1 file changed, 40 insertions(+), 41 deletions(-) - -commit 8bb47fa17d53d8e4c729d427b7a5d49d8e14953c -Author: Ebrahim Byagowi -Date: Tue Feb 18 15:06:43 2020 +0330 - - [glyf] minor, spacing - - src/hb-ot-glyf-table.hh | 46 +++++++++++++++++++++++----------------------- - 1 file changed, 23 insertions(+), 23 deletions(-) - -commit 21a5fe4f0981bbae8eaa9caec9c288e44c716470 -Author: Ebrahim Byagowi -Date: Tue Feb 18 14:38:55 2020 +0330 - - [glyf] Make returning phantoms to not require another vector - - src/hb-ot-glyf-table.hh | 27 +++++++++++++-------------- - 1 file changed, 13 insertions(+), 14 deletions(-) - -commit 5c03fbe7e0b563ac0f1ce8f867bd747c5e72da86 -Author: Ebrahim Byagowi -Date: Tue Feb 18 13:55:28 2020 +0330 - - [glyf] do a phantom only iteration when possible - - src/hb-ot-glyf-table.hh | 50 +++++++++++++++++++++++++++++++------------------ - 1 file changed, 32 insertions(+), 18 deletions(-) - -commit 11f3fca01d6840f3a690b59040ad7452e5343abf -Author: Ebrahim Byagowi -Date: Tue Feb 18 12:53:20 2020 +0330 - - [glyf/gvar] Remove need of passing end points vector around - - src/hb-ot-glyf-table.hh | 30 +++++++++--------------------- - src/hb-ot-var-gvar-table.hh | 24 ++++++++++++------------ - 2 files changed, 21 insertions(+), 33 deletions(-) - -commit 0f2c2d989b6ad4ddd5bb7d64d90aa3e57dc85a68 -Author: Ebrahim Byagowi -Date: Tue Feb 18 11:52:16 2020 +0330 - - [glyf] Push consumer machine one more level further - - src/hb-ot-glyf-table.hh | 69 +++++++++++++++++++++++++------------------------ - 1 file changed, 35 insertions(+), 34 deletions(-) - -commit 11f5f7c59cbf5a430a99831c1d6f0a8ac93090b0 -Author: Ebrahim Byagowi -Date: Mon Feb 17 23:44:31 2020 +0330 - - [glyf] Adopt a state machine like style for the path builder - - Toward making glyf path reader alloc free at least on gvar absence. - - src/hb-ot-glyf-table.hh | 279 +++++++++++++++++++++++++----------------------- - 1 file changed, 145 insertions(+), 134 deletions(-) - -commit 60f8f384f9d272a8ae2795e3e7a533bdec452da9 -Author: Ebrahim Byagowi -Date: Mon Feb 17 10:11:49 2020 +0330 - - [glyf] Switch to ttf-parser's glyf to path algorithm - - It consumes each point at a time and doesn't need to know contour size before hand - - src/hb-ot-glyf-table.hh | 151 ++++++++++++++++------- - test/api/test-draw.c | 309 +++++++++++++++++++++++------------------------- - 2 files changed, 254 insertions(+), 206 deletions(-) - -commit 3c792c2aa5ccbe5760a7415df24e8bf04edf7914 -Author: ariza -Date: Mon Feb 17 07:18:08 2020 -0800 - - add test cases for hb_unwrap_type - - src/test-meta.cc | 5 +++++ - 1 file changed, 5 insertions(+) - -commit 168ceeac496f15b4c81b106cfb790dd5739a0143 -Author: ariza -Date: Fri Feb 14 11:56:56 2020 -0800 - - renamed to hb_unrwap_type(); now recursive - - src/hb-meta.hh | 13 ++++++------- - 1 file changed, 6 insertions(+), 7 deletions(-) - -commit 71552ecc269c84aab46aa8f078526a546a288925 -Author: ariza -Date: Thu Feb 13 12:58:22 2020 -0800 - - add hb_get_type - - src/hb-meta.hh | 12 ++++++++++++ - 1 file changed, 12 insertions(+) - -commit 65858463523aa5abb776d0181bf14da7bfb2931e -Author: ariza -Date: Sun Feb 16 17:16:29 2020 -0800 - - pop_pack(share=false) in end_serialize() - - issue #2177 - - src/hb-serialize.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 39fb57c0e456ec352b2d0a6e6dc61b9bdee85665 -Author: Michiharu Ariza -Date: Sun Feb 16 08:38:41 2020 -0800 - - add share option to pop_pack() (#2176) - - as a solution for #2164 - - src/hb-serialize.hh | 21 +++++++++++++++------ - 1 file changed, 15 insertions(+), 6 deletions(-) - -commit 9c6499d9f4556b9755487c1755e4d2386979d82b -Author: ariza -Date: Sun Feb 16 00:56:31 2020 -0800 - - rewrite read_points() to take lambda & consts args - - replacing awkward x/y_setter_t structs - - src/hb-ot-glyf-table.hh | 35 ++++++++++++----------------------- - 1 file changed, 12 insertions(+), 23 deletions(-) - -commit a94d1af193ac1601a1725266dbb0dd51195af98b -Author: Ebrahim Byagowi -Date: Wed Feb 12 19:25:10 2020 +0330 - - [fuzz] minor style fixes - - test/fuzzing/hb-set-fuzzer.cc | 51 +++++++++++++++++++++---------------------- - 1 file changed, 25 insertions(+), 26 deletions(-) - -commit 1c015d3e9f5d514da9647dab258af0a09b3ba550 -Author: Ebrahim Byagowi -Date: Wed Feb 12 19:19:37 2020 +0330 - - [fuzz] minor fuzzer case move, oops - - ...fuzz-testcase-minimized-hb-shape-fuzzer-5658272078495744 | Bin - 1 file changed, 0 insertions(+), 0 deletions(-) - -commit 49341faee27df689e1c155b1990874c2679b563f -Author: Ebrahim Byagowi -Date: Wed Feb 12 19:15:16 2020 +0330 - - [fuzz] minor, move two fuzzer cases to their correct place - - ...fuzz-testcase-minimized-hb-shape-fuzzer-5658272078495744 | Bin - ...erfuzz-testcase-minimized-hb-set-fuzzer-6255224052514816 | 0 - 2 files changed, 0 insertions(+), 0 deletions(-) - -commit d663e28af1b84f27bea9730a9a8f18212387bb7f -Author: Behdad Esfahbod -Date: Wed Feb 12 15:41:21 2020 +0000 - - [serialize] Catch signedness overflows in check_assign() - - Should address https://github.com/harfbuzz/harfbuzz/pull/2163#pullrequestreview-355137936 - - src/hb-serialize.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 97229244ebd2e50ec0021ecd442e3c1c27156a5c -Author: Ebrahim Byagowi -Date: Wed Feb 12 15:41:22 2020 +0330 - - [fuzzer] Fix hb-set-fuzzer minor overflow issue - - Size shouldn't be smaller than the struct not its pointer size. - - Fixes https://crbug.com/oss-fuzz/20655 - - .../clusterfuzz-testcase-minimized-hb-set-fuzzer-6255224052514816 | 1 + - test/fuzzing/hb-set-fuzzer.cc | 8 ++++---- - 2 files changed, 5 insertions(+), 4 deletions(-) - -commit 7b42403c1c03e6f2f32fcc792b588ca5a42b1e19 -Author: Garret Rieger -Date: Tue Feb 11 12:25:57 2020 -0800 - - Add explicit values to the set fuzzer enums. - - test/fuzzing/hb-set-fuzzer.cc | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit e805923310af6b502e94903b504477266b55b028 -Author: Garret Rieger -Date: Tue Feb 11 12:20:54 2020 -0800 - - Add a few basic seeds for the set fuzzer. - - test/fuzzing/sets/intersect_01 | Bin 0 -> 21 bytes - test/fuzzing/sets/subtract_01 | Bin 0 -> 21 bytes - test/fuzzing/sets/symmetric_diff_01 | Bin 0 -> 21 bytes - test/fuzzing/sets/union_01 | Bin 0 -> 21 bytes - 4 files changed, 0 insertions(+), 0 deletions(-) - -commit ff984ed3cdd18290ed3a37c76961176d9f86c9cd -Author: Ebrahim Byagowi -Date: Tue Feb 11 19:50:51 2020 +0330 - - Use multiplication to avoid undefined behaviour per clang - - Newer versions of MSVC with /we4146 don't like putting negative sign behind a - unsigned number as https://github.com/harfbuzz/harfbuzz/pull/2069 - That however have made https://crbug.com/1050424 this complain: - src/hb-ot-color-sbix-table.hh:304:28: runtime error: negation of -2147483648 cannot be represented in type 'int'; - cast to an unsigned type to negate this value to itself - which apparently can be fixed using this change. - - Let's see if this won't make another ubsan complain! - - src/hb-ot-color-sbix-table.hh | 2 +- - ...zz-testcase-minimized-hb_shape_fuzzer-5633785895911424 | Bin 0 -> 582 bytes - 2 files changed, 1 insertion(+), 1 deletion(-) - -commit 21e1b1310ab20628d0a81c02b17cc5e49a56a4a7 -Author: Ebrahim Byagowi -Date: Tue Feb 11 17:08:55 2020 +0330 - - [colr] minor style fix - - src/hb-ot-color-colr-table.hh | 87 ++++++++++++++++++++++--------------------- - 1 file changed, 44 insertions(+), 43 deletions(-) - -commit cbb45c3ee7be42091a04fc1edfd98a07cfcd864c -Author: Ebrahim Byagowi -Date: Tue Feb 11 16:46:14 2020 +0330 - - [subset/colr] minor improve to resolve msvc complain - - MSVC says, - hb-ot-color-colr-table.hh(215): warning C4700: uninitialized local variable 'new_record' used [build\harfbuzz-subset.vcxproj] - harfbuzz-subset.vcxproj -> build\Debug\harfbuzz-subset.lib - - src/hb-ot-color-colr-table.hh | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit bca9bc6b92cfdba1118f74c1d1d6fdb1301f5c81 -Author: Garret Rieger -Date: Thu Feb 6 13:02:58 2020 -0800 - - Add hb-set-fuzzer. - It fuzzes all of the hb_set process methods (intersection, subtraction, union, and symmetric difference). - - test/fuzzing/Makefile.am | 11 +++++++ - test/fuzzing/hb-set-fuzzer.cc | 77 +++++++++++++++++++++++++++++++++++++++++++ - 2 files changed, 88 insertions(+) - -commit 352ac63ef937629385da7517408cd3d6df7db08a -Author: Ebrahim Byagowi -Date: Tue Feb 11 03:03:03 2020 +0330 - - Fix an unlikely UAF on the deprecated _set_glyph_func API - - Fixes https://github.com/harfbuzz/harfbuzz/issues/2168 - - src/hb-font.cc | 10 +++++++++- - 1 file changed, 9 insertions(+), 1 deletion(-) - -commit 6a390df8af534cc95c19a07ec2bbdd818ade6cac -Author: Ebrahim Byagowi -Date: Mon Feb 10 17:19:23 2020 +0330 - - [tools] Print unicode links on gen-* tools output - - As Behdad's review - - src/gen-arabic-table.py | 13 +++++++------ - src/gen-emoji-table.py | 7 ++++--- - src/gen-indic-table.py | 12 ++++++------ - src/gen-ucd-table.py | 7 ++++--- - src/gen-use-table.py | 14 +++++++------- - src/gen-vowel-constraints.py | 6 ++++-- - 6 files changed, 32 insertions(+), 27 deletions(-) - -commit 4dc87365d79d9cb0ad85b351b6afe978c3abee3c -Author: Evgeniy Reizner -Date: Sun Feb 9 18:39:33 2020 +0200 - - Add links to files used by python scripts. - - Closes #2150 - - src/gen-arabic-table.py | 5 +++++ - src/gen-emoji-table.py | 2 ++ - src/gen-indic-table.py | 5 +++++ - src/gen-tag-table.py | 4 ++++ - src/gen-ucd-table.py | 2 ++ - src/gen-use-table.py | 6 ++++++ - src/gen-vowel-constraints.py | 2 ++ - 7 files changed, 26 insertions(+) - -commit 40166eb0e5d4095772059d509aa647ef4118f794 -Author: Ebrahim Byagowi -Date: Sat Feb 8 13:17:06 2020 +0330 - - [var] Fix the just introduced hb_font_set_var_coords_design storing bug - - The memcpy call was using the current coords count which is zero initially so no copy at all. - - Sad that no test has caught it, should see why, will however with the upcoming style API tests. - - src/hb-font.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 5c1a023f67806ee5316518d11f3c236c66fa5c87 -Author: Ebrahim Byagowi -Date: Sat Feb 8 10:57:07 2020 +0330 - - [tool] Optimize COLR glyph dump - - Move palette colors fetching out of gid iteration so not - fetching all the colors of a palette each time. - - src/main.cc | 91 +++++++++++++++++++++++++++++++------------------------------ - 1 file changed, 46 insertions(+), 45 deletions(-) - -commit 0b76e8130e1711754184118fdef8523e943d51c9 -Author: Ebrahim Byagowi -Date: Tue Aug 20 15:15:22 2019 +0430 - - Don't use _normalize_variations to avoid twice axis fetch - - src/hb-font.cc | 11 +++++++---- - 1 file changed, 7 insertions(+), 4 deletions(-) - -commit ab2d3ec542799baa0ac056cfcd264e5b3c301d82 -Author: Ebrahim Byagowi -Date: Wed Aug 14 18:42:51 2019 +0430 - - [var] Implement hb_font_get_var_coords_design - - Hold design coords and simulate when normalized coords are set directly. - - docs/harfbuzz-sections.txt | 1 + - src/hb-font.cc | 121 ++++++++++++++++++++++++++++++++++++--------- - src/hb-font.h | 4 ++ - src/hb-font.hh | 1 + - test/api/Makefile.am | 1 + - test/api/test-var-coords.c | 76 ++++++++++++++++++++++++++++ - 6 files changed, 180 insertions(+), 24 deletions(-) - -commit 5a10f3a0551c2e62bc0969fd857033ed53f10943 -Author: Garret Rieger -Date: Fri Feb 7 10:38:27 2020 -0800 - - Use vector instead of map during page compaction in hb-set. - - src/hb-set.hh | 14 ++++++++------ - 1 file changed, 8 insertions(+), 6 deletions(-) - -commit 2742c8162479a33d9276fa7a1e6deecc65fef5aa -Author: Garret Rieger -Date: Tue Jan 28 13:55:31 2020 -0800 - - Fix page_map corruption in hb_set_t during process(). - - If a process operation results in less pages then the current set has, it will likely corrupt the page_map since it overwrites page_map entries ahead of where it's processing. This fixes that problem by removing page_map entries that will be dropped. Then dropping orphaned pages and re-indexing retained pages. - - src/hb-set.hh | 51 ++++++++++++++++++++++++++++++++-- - test/api/test-set.c | 79 +++++++++++++++++++++++++++++++++++++++++++++++++++++ - 2 files changed, 127 insertions(+), 3 deletions(-) - -commit eb7849a806699c1c5efc435cf39ee3a0eb9b9e1c -Author: Qunxin Liu -Date: Wed Feb 5 15:29:03 2020 -0800 - - [subset] GPOS6 MarkToMark subsetting support - - src/hb-ot-layout-gpos-table.hh | 66 ++++++++++++++++++++- - test/subset/data/Makefile.am | 1 + - test/subset/data/Makefile.sources | 1 + - ...6_font1.keep-layout-retain-gids.41,42,43,44.otf | Bin 0 -> 2320 bytes - ...6_font1.keep-layout-retain-gids.41,42,43,45.otf | Bin 0 -> 2328 bytes - ...pos6_font1.keep-layout-retain-gids.41,42,43.otf | Bin 0 -> 2080 bytes - .../gpos6_font1.keep-layout-retain-gids.41,42.otf | Bin 0 -> 1888 bytes - ...ont1.keep-layout-retain-gids.41,43,44,45,46.otf | Bin 0 -> 2688 bytes - ...pos6_font1.keep-layout-retain-gids.41,43,44.otf | Bin 0 -> 2324 bytes - ...pos6_font1.keep-layout-retain-gids.41,43,45.otf | Bin 0 -> 2336 bytes - .../gpos6_font1.keep-layout-retain-gids.41,43.otf | Bin 0 -> 2092 bytes - .../gpos6_font1.keep-layout-retain-gids.41.otf | Bin 0 -> 1872 bytes - ...eep-layout-retain-gids.retain-all-codepoint.otf | Bin 0 -> 3748 bytes - .../gpos6_font1.keep-layout.41,42,43,44.otf | Bin 0 -> 1616 bytes - .../gpos6_font1.keep-layout.41,42,43,45.otf | Bin 0 -> 1608 bytes - .../gpos6_font1.keep-layout.41,42,43.otf | Bin 0 -> 1380 bytes - .../layout.gpos6/gpos6_font1.keep-layout.41,42.otf | Bin 0 -> 1184 bytes - .../gpos6_font1.keep-layout.41,43,44,45,46.otf | Bin 0 -> 1968 bytes - .../gpos6_font1.keep-layout.41,43,44.otf | Bin 0 -> 1608 bytes - .../gpos6_font1.keep-layout.41,43,45.otf | Bin 0 -> 1608 bytes - .../layout.gpos6/gpos6_font1.keep-layout.41,43.otf | Bin 0 -> 1376 bytes - .../layout.gpos6/gpos6_font1.keep-layout.41.otf | Bin 0 -> 1172 bytes - ...pos6_font1.keep-layout.retain-all-codepoint.otf | Bin 0 -> 3748 bytes - test/subset/data/fonts/gpos6_font1.otf | Bin 0 -> 4688 bytes - test/subset/data/tests/layout.gpos6.tests | 18 ++++++ - 25 files changed, 84 insertions(+), 2 deletions(-) - -commit 82afc75835364338b8db4e978ad8a0c466e41225 -Author: Qunxin Liu -Date: Tue Feb 4 13:24:37 2020 -0800 - - [subset] GPOS4 MarkBase subsetting support - - src/hb-open-type.hh | 7 + - src/hb-ot-layout-gpos-table.hh | 145 ++++++++++++++++++++- - test/subset/data/Makefile.am | 1 + - test/subset/data/Makefile.sources | 1 + - ...chors_1.keep-layout-retain-gids.41,42,43,44.otf | Bin 0 -> 2344 bytes - ...chors_1.keep-layout-retain-gids.41,42,43,45.otf | Bin 0 -> 2352 bytes - ..._anchors_1.keep-layout-retain-gids.41,42,43.otf | Bin 0 -> 2104 bytes - ...ple_anchors_1.keep-layout-retain-gids.41,42.otf | Bin 0 -> 1912 bytes - ...rs_1.keep-layout-retain-gids.41,43,44,45,46.otf | Bin 0 -> 2712 bytes - ..._anchors_1.keep-layout-retain-gids.41,43,44.otf | Bin 0 -> 2348 bytes - ..._anchors_1.keep-layout-retain-gids.41,43,45.otf | Bin 0 -> 2360 bytes - ...ple_anchors_1.keep-layout-retain-gids.41,43.otf | Bin 0 -> 2116 bytes - ...ltiple_anchors_1.keep-layout-retain-gids.41.otf | Bin 0 -> 1896 bytes - ...eep-layout-retain-gids.retain-all-codepoint.otf | Bin 0 -> 3772 bytes - ..._multiple_anchors_1.keep-layout.41,42,43,44.otf | Bin 0 -> 1640 bytes - ..._multiple_anchors_1.keep-layout.41,42,43,45.otf | Bin 0 -> 1632 bytes - ...os4_multiple_anchors_1.keep-layout.41,42,43.otf | Bin 0 -> 1404 bytes - .../gpos4_multiple_anchors_1.keep-layout.41,42.otf | Bin 0 -> 1208 bytes - ...ltiple_anchors_1.keep-layout.41,43,44,45,46.otf | Bin 0 -> 1992 bytes - ...os4_multiple_anchors_1.keep-layout.41,43,44.otf | Bin 0 -> 1632 bytes - ...os4_multiple_anchors_1.keep-layout.41,43,45.otf | Bin 0 -> 1632 bytes - .../gpos4_multiple_anchors_1.keep-layout.41,43.otf | Bin 0 -> 1400 bytes - .../gpos4_multiple_anchors_1.keep-layout.41.otf | Bin 0 -> 1196 bytes - ..._anchors_1.keep-layout.retain-all-codepoint.otf | Bin 0 -> 3772 bytes - .../subset/data/fonts/gpos4_multiple_anchors_1.otf | Bin 0 -> 4712 bytes - test/subset/data/tests/layout.gpos4.tests | 18 +++ - 26 files changed, 169 insertions(+), 3 deletions(-) - -commit 4dc3db7344b464695d3c8cfdb7f3e5d518b4a6ac -Author: Ebrahim Byagowi -Date: Thu Feb 6 12:12:41 2020 +0330 - - Minor, fix warnings raised when built with -std=c++2a - - Follow up to c184180, - - It was raising, - - src/hb-ot-layout-common.hh:1067:63: warning: implicit capture of 'this' with a capture default of '=' is deprecated [-Wdeprecated-this-capture] - | hb_filter ([=] (const OffsetTo &_) { return (this+_).intersects (glyphset, lookup_type); }) - ^ - src/hb-ot-layout-common.hh:1067:19: note: add an explicit capture of 'this' to capture '*this' by reference - | hb_filter ([=] (const OffsetTo &_) { return (this+_).intersects (glyphset, lookup_type); }) - ^ - , this - - and - - src/hb-ot-layout-common.hh:2626:38: warning: implicit capture of 'this' with a capture default of '=' is deprecated [-Wdeprecated-this-capture] - { r.collect_lookups (this, lookup_indexes); }) - ^ - src/hb-ot-layout-common.hh:2625:18: note: add an explicit capture of 'this' to capture '*this' by reference - | hb_apply ([=] (const FeatureTableSubstitutionRecord& r) - ^ - , this - - and - - src/hb-ot-hdmx-table.hh:141:44: error: implicit capture of 'this' with a capture default of '=' is deprecated [-Werror,-Wdeprecated-this-capture] - return device_record->widthsZ.as_array (get_num_glyphs ()) [_]; - ^ - src/hb-ot-hdmx-table.hh:137:17: note: add an explicit capture of 'this' to capture '*this' by reference - | hb_map ([=] (hb_codepoint_t _) - ^ - , this - - .circleci/config.yml | 4 +++- - src/hb-ot-hdmx-table.hh | 4 ++-- - src/hb-ot-layout-common.hh | 18 ++++++++---------- - 3 files changed, 13 insertions(+), 13 deletions(-) - -commit b4d3bf1d8a97b77cbea6dd770a16aea618af7aee -Author: Ebrahim Byagowi -Date: Sun Feb 2 14:32:38 2020 +0330 - - [draw] Add hb_draw_funcs_is_immutable and hb_draw_funcs_make_immutable - - docs/harfbuzz-sections.txt | 2 ++ - src/hb-draw.cc | 32 ++++++++++++++++++++++++++++++++ - src/hb-draw.h | 6 ++++++ - test/api/test-draw.c | 13 +++++++++++++ - 4 files changed, 53 insertions(+) - -commit 63b8190db884d9ae88a80336067eab539a44b882 -Author: Ebrahim Byagowi -Date: Thu Feb 6 11:38:11 2020 +0330 - - [test] minor - - Remained from previous naming. - - test/api/test-draw.c | 32 ++++++++++++++++---------------- - 1 file changed, 16 insertions(+), 16 deletions(-) - -commit 3a98c7fae196fd149078af4553b966dc1c8d763b -Author: Ebrahim Byagowi -Date: Thu Feb 6 01:11:00 2020 +0330 - - [glyf] Skip empty contours - - As https://savannah.nongnu.org/bugs/index.php?57701 - - src/hb-ot-glyf-table.hh | 8 ++++++ - test/api/fonts/Stroking.ttf | Bin 0 -> 3380 bytes - test/api/test-draw.c | 60 +++++++++++++++++++++++++++++++++++++++++--- - 3 files changed, 65 insertions(+), 3 deletions(-) - -commit c31762e9e89bc440d21a94d8da34608d1649dc85 -Author: Ebrahim Byagowi -Date: Wed Feb 5 23:12:37 2020 +0330 - - [test] minor - - don't test first ten glyph, just testing cp just like other API calls is enough - - test/api/test-ot-face.c | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit 03f778cf3c1170051c3cfb21d9a835252a0123c9 -Author: ckitagawa -Date: Wed Feb 5 09:26:45 2020 -0500 - - [cmap] remove dead code - - src/hb-ot-cmap-table.hh | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit 43253e404d25da31d8b8a57f1fc3ef5c2bb1d1fd -Merge: 71a201860 774725b43 -Author: Ebrahim Byagowi -Date: Wed Feb 5 17:45:19 2020 +0330 - - Merge remote-tracking branch 'upstream/master' - -commit 71a201860023e61ef413b5bf05449c624d3ff575 -Author: Ebrahim Byagowi -Date: Wed Feb 5 17:15:50 2020 +0330 - - [cbdt] minor, tweak spaces - - src/hb-ot-color-cbdt-table.hh | 437 +++++++++++++++++++++--------------------- - 1 file changed, 214 insertions(+), 223 deletions(-) - -commit eaa2402a793501bc03e7aa7e662333da2b1aadb1 -Author: Ebrahim Byagowi -Date: Wed Feb 5 17:02:03 2020 +0330 - - [cbdt] Merge hb-ot-color-cbdt-table.cc into its header file - - Not needed as far as can be said. - - src/Makefile.sources | 2 -- - src/harfbuzz.cc | 1 - - src/hb-ot-color-cbdt-table.cc | 75 ------------------------------------------- - src/hb-ot-color-cbdt-table.hh | 55 ++++++++++++++++++++++++------- - 4 files changed, 43 insertions(+), 90 deletions(-) - -commit a7f694d4b0d5e95a6202da926ba3c29df6fbb6f0 -Merge: 43016715e b114b26a5 -Author: Ebrahim Byagowi -Date: Wed Feb 5 16:31:21 2020 +0330 - - Merge branch 'subset_cblc' into master - -commit 774725b43a05d7e44286a809bb3767f18189c1a4 -Author: ckitagawa-work <59700018+ckitagawa-work@users.noreply.github.com> -Date: Wed Feb 5 07:43:10 2020 -0500 - - [subset] Avoid incorrectly dropping cmap for NotoColorEmoji.ttf - - NotoColorEmoji.ttf uses two cmap subtables - - Format 14 | Platform ID 0 | Platform Encoding ID 5 - Format 12 | Platform ID 3 | Platform Encoding ID 10 - - This combination results in the cmap table being dropped during subsetting despite being valid/required. - - src/hb-ot-cmap-table.hh | 2 +- - test/api/fonts/NotoColorEmoji.cmap.38,AE,2049.ttf | Bin 0 -> 10032 bytes - test/api/fonts/NotoColorEmoji.cmap.ttf | Bin 0 -> 10052 bytes - test/api/test-subset-cmap.c | 44 +++++++++++++++++++++ - .../cmap14/cmap14_font2.default.4E00,4E02,4E03.otf | Bin 0 -> 1360 bytes - .../cmap14/cmap14_font2.default.4E00,4E03.otf | Bin 0 -> 1236 bytes - .../cmap14/cmap14_font2.default.4E00,4E05,4E07.otf | Bin 0 -> 1332 bytes - .../cmap14/cmap14_font2.default.4E02,4E03,4E08.otf | Bin 0 -> 1576 bytes - .../expected/cmap14/cmap14_font2.default.4E02.otf | Bin 0 -> 992 bytes - .../expected/cmap14/cmap14_font2.default.4E03.otf | Bin 0 -> 1076 bytes - .../cmap14_font2.default.4E05,4E07,4E08,4E09.otf | Bin 0 -> 1848 bytes - .../cmap14/cmap14_font2.default.4E08,4E09.otf | Bin 0 -> 1716 bytes - .../expected/cmap14/cmap14_font2.default.4E08.otf | Bin 0 -> 1380 bytes - .../cmap14_font2.default.retain-all-codepoint.otf | Bin 0 -> 2344 bytes - ...font2.drop-hints-retain-gids.4E00,4E02,4E03.otf | Bin 0 -> 1388 bytes - ...ap14_font2.drop-hints-retain-gids.4E00,4E03.otf | Bin 0 -> 1272 bytes - ...font2.drop-hints-retain-gids.4E00,4E05,4E07.otf | Bin 0 -> 1400 bytes - ...font2.drop-hints-retain-gids.4E02,4E03,4E08.otf | Bin 0 -> 1720 bytes - .../cmap14_font2.drop-hints-retain-gids.4E02.otf | Bin 0 -> 1024 bytes - .../cmap14_font2.drop-hints-retain-gids.4E03.otf | Bin 0 -> 1120 bytes - ....drop-hints-retain-gids.4E05,4E07,4E08,4E09.otf | Bin 0 -> 1984 bytes - ...ap14_font2.drop-hints-retain-gids.4E08,4E09.otf | Bin 0 -> 1868 bytes - .../cmap14_font2.drop-hints-retain-gids.4E08.otf | Bin 0 -> 1540 bytes - ...drop-hints-retain-gids.retain-all-codepoint.otf | Bin 0 -> 2432 bytes - .../cmap14_font2.drop-hints.4E00,4E02,4E03.otf | Bin 0 -> 1292 bytes - .../cmap14/cmap14_font2.drop-hints.4E00,4E03.otf | Bin 0 -> 1168 bytes - .../cmap14_font2.drop-hints.4E00,4E05,4E07.otf | Bin 0 -> 1264 bytes - .../cmap14_font2.drop-hints.4E02,4E03,4E08.otf | Bin 0 -> 1512 bytes - .../cmap14/cmap14_font2.drop-hints.4E02.otf | Bin 0 -> 924 bytes - .../cmap14/cmap14_font2.drop-hints.4E03.otf | Bin 0 -> 1008 bytes - ...cmap14_font2.drop-hints.4E05,4E07,4E08,4E09.otf | Bin 0 -> 1780 bytes - .../cmap14/cmap14_font2.drop-hints.4E08,4E09.otf | Bin 0 -> 1648 bytes - .../cmap14/cmap14_font2.drop-hints.4E08.otf | Bin 0 -> 1312 bytes - ...map14_font2.drop-hints.retain-all-codepoint.otf | Bin 0 -> 2276 bytes - .../cmap14_font2.name-ids.4E00,4E02,4E03.otf | Bin 0 -> 1292 bytes - .../cmap14/cmap14_font2.name-ids.4E00,4E03.otf | Bin 0 -> 1168 bytes - .../cmap14_font2.name-ids.4E00,4E05,4E07.otf | Bin 0 -> 1264 bytes - .../cmap14_font2.name-ids.4E02,4E03,4E08.otf | Bin 0 -> 1508 bytes - .../expected/cmap14/cmap14_font2.name-ids.4E02.otf | Bin 0 -> 924 bytes - .../expected/cmap14/cmap14_font2.name-ids.4E03.otf | Bin 0 -> 1008 bytes - .../cmap14_font2.name-ids.4E05,4E07,4E08,4E09.otf | Bin 0 -> 1780 bytes - .../cmap14/cmap14_font2.name-ids.4E08,4E09.otf | Bin 0 -> 1648 bytes - .../expected/cmap14/cmap14_font2.name-ids.4E08.otf | Bin 0 -> 1312 bytes - .../cmap14_font2.name-ids.retain-all-codepoint.otf | Bin 0 -> 2276 bytes - .../cmap14_font2.retain-gids.4E00,4E02,4E03.otf | Bin 0 -> 1452 bytes - .../cmap14/cmap14_font2.retain-gids.4E00,4E03.otf | Bin 0 -> 1340 bytes - .../cmap14_font2.retain-gids.4E00,4E05,4E07.otf | Bin 0 -> 1468 bytes - .../cmap14_font2.retain-gids.4E02,4E03,4E08.otf | Bin 0 -> 1788 bytes - .../cmap14/cmap14_font2.retain-gids.4E02.otf | Bin 0 -> 1092 bytes - .../cmap14/cmap14_font2.retain-gids.4E03.otf | Bin 0 -> 1188 bytes - ...map14_font2.retain-gids.4E05,4E07,4E08,4E09.otf | Bin 0 -> 2048 bytes - .../cmap14/cmap14_font2.retain-gids.4E08,4E09.otf | Bin 0 -> 1936 bytes - .../cmap14/cmap14_font2.retain-gids.4E08.otf | Bin 0 -> 1604 bytes - ...ap14_font2.retain-gids.retain-all-codepoint.otf | Bin 0 -> 2496 bytes - test/subset/data/fonts/cmap14_font2.otf | Bin 0 -> 4480 bytes - test/subset/data/tests/cmap14.tests | 1 + - 56 files changed, 46 insertions(+), 1 deletion(-) - -commit 43016715e1b4d48bc0cf598f374ffa9213b5fe2e -Author: Ebrahim Byagowi -Date: Wed Feb 5 15:02:20 2020 +0330 - - [subset] minor on _subset - - src/hb-subset.cc | 32 ++++++++++++++------------------ - 1 file changed, 14 insertions(+), 18 deletions(-) - -commit dcb5dfc970f2720b9c76efd672c83cf2bdbd4bf0 -Author: Ebrahim Byagowi -Date: Wed Feb 5 15:01:25 2020 +0330 - - [subset] minor on tables iteration - - src/hb-subset.cc | 38 +++++++++++++++++--------------------- - 1 file changed, 17 insertions(+), 21 deletions(-) - -commit a8593339e2bd76eef30d0b87a9f509c5f2e8366c -Author: Ebrahim Byagowi -Date: Wed Feb 5 15:00:25 2020 +0330 - - [subset] minor on switch statements - - src/hb-subset.cc | 166 ++++++++++++++++++------------------------------------- - 1 file changed, 55 insertions(+), 111 deletions(-) - -commit b1f63109c6f084ee1b963ebcb85b440f8639e322 -Author: Ebrahim Byagowi -Date: Wed Feb 5 00:28:21 2020 +0330 - - [subset] Optimize _is_table_present - - One call for most of the fonts and no malloc - - src/hb-subset.cc | 18 +++++++++--------- - 1 file changed, 9 insertions(+), 9 deletions(-) - -commit 25707e37e32777aee76317c55a234921c4a3b51e -Author: Ebrahim Byagowi -Date: Wed Feb 5 00:27:28 2020 +0330 - - [cff] minor - - src/hb-ot-cff1-table.hh | 5 +---- - src/hb-ot-cff2-table.hh | 5 +---- - 2 files changed, 2 insertions(+), 8 deletions(-) - -commit 0d61926ca7c2f3e1d06231dd659ff3c43aa41746 -Author: ckitagawa -Date: Tue Feb 4 13:36:51 2020 -0500 - - [subset] Keep head when no glyf table - - src/hb-ot-cff1-table.hh | 12 +------ - src/hb-ot-cff2-table.hh | 12 +------ - src/hb-ot-head-table.hh | 12 +++++++ - src/hb-subset.cc | 91 ++++++++++++++++++++++++++++++------------------- - 4 files changed, 69 insertions(+), 58 deletions(-) - -commit 7f9b2228a610ad614b77b24503bf02f95e0bf4b8 -Author: Ebrahim Byagowi -Date: Tue Feb 4 23:05:46 2020 +0330 - - [glyf] minor - - Improve using https://developer.blender.org/diffusion/B/browse/master/source/blender/blenlib/intern/freetypefont.c$572 - - src/hb-ot-glyf-table.hh | 14 ++++++-------- - 1 file changed, 6 insertions(+), 8 deletions(-) - -commit 5b436033851960ea3638fbf882100b8c04d6d5a3 -Author: Ebrahim Byagowi -Date: Tue Feb 4 21:29:19 2020 +0330 - - [subset] Rename _subset2 to _subset - - src/hb-subset.cc | 62 +++++++++++++++++++------------------------------------- - 1 file changed, 21 insertions(+), 41 deletions(-) - -commit 2792fb8ba1b542b4f974c272a51014aadbecc670 -Author: ariza -Date: Sun Feb 2 22:00:53 2020 -0800 - - first rewrite of cff/cff2 _subset with _subset2 - - src/hb-ot-cff1-table.hh | 12 ++---- - src/hb-ot-cff2-table.hh | 12 ++---- - src/hb-subset-cff1.cc | 106 ++++++++++++++++++++---------------------------- - src/hb-subset-cff1.hh | 3 +- - src/hb-subset-cff2.cc | 90 ++++++++++++++++------------------------ - src/hb-subset-cff2.hh | 3 +- - src/hb-subset.cc | 4 +- - 7 files changed, 89 insertions(+), 141 deletions(-) - -commit b114b26a56234c17c620f69d30b1f388fc5fb6df -Author: ckitagawa -Date: Tue Feb 4 09:49:24 2020 -0500 - - Add guard to copy_glyph_at_idx - - src/hb-ot-color-cbdt-table.cc | 2 +- - src/hb-ot-color-cbdt-table.hh | 9 ++++++++- - 2 files changed, 9 insertions(+), 2 deletions(-) - -commit b2a68ed587b9931168bba5cae684e40840afc699 -Author: Ebrahim Byagowi -Date: Sat Feb 1 23:16:26 2020 +0330 - - [name] Minor, use subtraction instead ternary operator - - Guess ternary was a bit more legible, apparently however we agreed to use subtraction, - https://github.com/harfbuzz/harfbuzz/pull/2139#discussion_r372582005 - - src/hb-ot-name-table.hh | 20 ++++++++++---------- - 1 file changed, 10 insertions(+), 10 deletions(-) - -commit 490ef1cc236ae77b8168218d77cbc3b85ecb81bc -Author: Qunxin Liu -Date: Tue Jan 28 15:57:33 2020 -0800 - - [subset] Fix namerecord ordering - This will fix inconsistency with fontTools. - Also according to the spec, namerecords must be sorted - first by platform ID, then by platform-specific ID, - then by language ID, and then by name ID. - - src/hb-ot-name-table.hh | 37 ++++++++++++++++++++- - ...numMyeongjo-Regular-subset.default.61,62,63.ttf | Bin 0 -> 4128 bytes - .../NanumMyeongjo-Regular-subset.default.61,63.ttf | Bin 0 -> 3580 bytes - .../NanumMyeongjo-Regular-subset.default.61.ttf | Bin 0 -> 3156 bytes - .../NanumMyeongjo-Regular-subset.default.62.ttf | Bin 0 -> 3180 bytes - .../NanumMyeongjo-Regular-subset.default.63.ttf | Bin 0 -> 3048 bytes - ...Regular-subset.default.retain-all-codepoint.ttf | Bin 0 -> 9524 bytes - ...ular-subset.drop-hints-retain-gids.61,62,63.ttf | Bin 0 -> 1452 bytes - ...Regular-subset.drop-hints-retain-gids.61,63.ttf | Bin 0 -> 1284 bytes - ...jo-Regular-subset.drop-hints-retain-gids.61.ttf | Bin 0 -> 1128 bytes - ...jo-Regular-subset.drop-hints-retain-gids.62.ttf | Bin 0 -> 1144 bytes - ...jo-Regular-subset.drop-hints-retain-gids.63.ttf | Bin 0 -> 1116 bytes - ...drop-hints-retain-gids.retain-all-codepoint.ttf | Bin 0 -> 3536 bytes - ...Myeongjo-Regular-subset.drop-hints.61,62,63.ttf | Bin 0 -> 1452 bytes - ...numMyeongjo-Regular-subset.drop-hints.61,63.ttf | Bin 0 -> 1276 bytes - .../NanumMyeongjo-Regular-subset.drop-hints.61.ttf | Bin 0 -> 1128 bytes - .../NanumMyeongjo-Regular-subset.drop-hints.62.ttf | Bin 0 -> 1140 bytes - .../NanumMyeongjo-Regular-subset.drop-hints.63.ttf | Bin 0 -> 1104 bytes - ...ular-subset.drop-hints.retain-all-codepoint.ttf | Bin 0 -> 3536 bytes - ...umMyeongjo-Regular-subset.name-ids.61,62,63.ttf | Bin 0 -> 3924 bytes - ...NanumMyeongjo-Regular-subset.name-ids.61,63.ttf | Bin 0 -> 3376 bytes - .../NanumMyeongjo-Regular-subset.name-ids.61.ttf | Bin 0 -> 2952 bytes - .../NanumMyeongjo-Regular-subset.name-ids.62.ttf | Bin 0 -> 2976 bytes - .../NanumMyeongjo-Regular-subset.name-ids.63.ttf | Bin 0 -> 2844 bytes - ...egular-subset.name-ids.retain-all-codepoint.ttf | Bin 0 -> 9320 bytes - ...ngjo-Regular-subset.name-languages.61,62,63.ttf | Bin 0 -> 4172 bytes - ...yeongjo-Regular-subset.name-languages.61,63.ttf | Bin 0 -> 3624 bytes - ...umMyeongjo-Regular-subset.name-languages.61.ttf | Bin 0 -> 3200 bytes - ...umMyeongjo-Regular-subset.name-languages.62.ttf | Bin 0 -> 3224 bytes - ...umMyeongjo-Regular-subset.name-languages.63.ttf | Bin 0 -> 3092 bytes - ...-subset.name-languages.retain-all-codepoint.ttf | Bin 0 -> 9568 bytes - ...yeongjo-Regular-subset.name-legacy.61,62,63.ttf | Bin 0 -> 4128 bytes - ...umMyeongjo-Regular-subset.name-legacy.61,63.ttf | Bin 0 -> 3580 bytes - ...NanumMyeongjo-Regular-subset.name-legacy.61.ttf | Bin 0 -> 3156 bytes - ...NanumMyeongjo-Regular-subset.name-legacy.62.ttf | Bin 0 -> 3180 bytes - ...NanumMyeongjo-Regular-subset.name-legacy.63.ttf | Bin 0 -> 3048 bytes - ...lar-subset.name-legacy.retain-all-codepoint.ttf | Bin 0 -> 9524 bytes - ...yeongjo-Regular-subset.retain-gids.61,62,63.ttf | Bin 0 -> 4128 bytes - ...umMyeongjo-Regular-subset.retain-gids.61,63.ttf | Bin 0 -> 3588 bytes - ...NanumMyeongjo-Regular-subset.retain-gids.61.ttf | Bin 0 -> 3156 bytes - ...NanumMyeongjo-Regular-subset.retain-gids.62.ttf | Bin 0 -> 3184 bytes - ...NanumMyeongjo-Regular-subset.retain-gids.63.ttf | Bin 0 -> 3060 bytes - ...lar-subset.retain-gids.retain-all-codepoint.ttf | Bin 0 -> 9524 bytes - .../japanese/Mplus1p-Regular.default.25771.ttf | Bin 1824 -> 1824 bytes - .../japanese/Mplus1p-Regular.drop-hints.25771.ttf | Bin 1096 -> 1096 bytes - .../data/fonts/NanumMyeongjo-Regular-subset.ttf | Bin 0 -> 9964 bytes - test/subset/data/tests/basics.tests | 1 + - 47 files changed, 37 insertions(+), 1 deletion(-) - -commit e128f8027888536cb8f84f950bd2dbd6ecaf67a9 -Author: ckitagawa -Date: Tue Jan 21 13:35:43 2020 -0500 - - parent 777ba47b50f6379b9f9abf1d72559316b7116b9e - author ckitagawa 1579631743 -0500 - committer ckitagawa 1580506176 -0500 - - [subset] Add CBLC support - - src/Makefile.sources | 2 + - src/harfbuzz.cc | 1 + - src/hb-ot-cmap-table.hh | 6 +- - src/hb-ot-color-cbdt-table.cc | 75 ++++ - src/hb-ot-color-cbdt-table.hh | 411 ++++++++++++++++++++- - src/hb-ot-head-table.hh | 12 + - src/hb-subset.cc | 98 +++-- - test/api/Makefile.am | 2 + - .../fonts/NotoColorEmoji.subset.default.2049.ttf | Bin 0 -> 3112 bytes - .../api/fonts/NotoColorEmoji.subset.default.39.ttf | Bin 0 -> 1920 bytes - ...oji.subset.index_format3.default.38,AE,2049.ttf | Bin 0 -> 7536 bytes - .../fonts/NotoColorEmoji.subset.index_format3.ttf | Bin 0 -> 10112 bytes - ...set.multiple_size_tables.default.38,AE,2049.ttf | Bin 0 -> 14140 bytes - .../NotoColorEmoji.subset.multiple_size_tables.ttf | Bin 0 -> 19280 bytes - test/api/fonts/NotoColorEmoji.subset.ttf | Bin 0 -> 10124 bytes - test/api/test-subset-cbdt.c | 158 ++++++++ - .../fonts/NotoColorEmoji.subset.index_format3.ttf | Bin 0 -> 10112 bytes - .../NotoColorEmoji.subset.multiple_size_tables.ttf | Bin 0 -> 19280 bytes - test/fuzzing/fonts/NotoColorEmoji.subset.ttf | Bin 0 -> 10124 bytes - test/subset/data/Makefile.am | 1 + - test/subset/data/Makefile.sources | 1 + - .../cbdt/NotoColorEmoji.subset.default.2049.ttf | Bin 0 -> 3112 bytes - .../cbdt/NotoColorEmoji.subset.default.38,2049.ttf | Bin 0 -> 4084 bytes - .../cbdt/NotoColorEmoji.subset.default.38,20E3.ttf | Bin 0 -> 3568 bytes - ...rEmoji.subset.default.38,39,AE,2049,38,20E3.ttf | Bin 0 -> 10124 bytes - .../NotoColorEmoji.subset.default.38,AE,2049.ttf | Bin 0 -> 7544 bytes - .../cbdt/NotoColorEmoji.subset.default.39.ttf | Bin 0 -> 1920 bytes - .../cbdt/NotoColorEmoji.subset.default.AE.ttf | Bin 0 -> 4412 bytes - ...lorEmoji.subset.drop-hints-retain-gids.2049.ttf | Bin 0 -> 3136 bytes - ...Emoji.subset.drop-hints-retain-gids.38,2049.ttf | Bin 0 -> 4108 bytes - ...Emoji.subset.drop-hints-retain-gids.38,20E3.ttf | Bin 0 -> 3600 bytes - ...rop-hints-retain-gids.38,39,AE,2049,38,20E3.ttf | Bin 0 -> 10124 bytes - ...ji.subset.drop-hints-retain-gids.38,AE,2049.ttf | Bin 0 -> 7564 bytes - ...ColorEmoji.subset.drop-hints-retain-gids.39.ttf | Bin 0 -> 1928 bytes - ...ColorEmoji.subset.drop-hints-retain-gids.AE.ttf | Bin 0 -> 4428 bytes - .../cbdt/NotoColorEmoji.subset.drop-hints.2049.ttf | Bin 0 -> 3112 bytes - .../NotoColorEmoji.subset.drop-hints.38,2049.ttf | Bin 0 -> 4084 bytes - .../NotoColorEmoji.subset.drop-hints.38,20E3.ttf | Bin 0 -> 3568 bytes - ...oji.subset.drop-hints.38,39,AE,2049,38,20E3.ttf | Bin 0 -> 10124 bytes - ...NotoColorEmoji.subset.drop-hints.38,AE,2049.ttf | Bin 0 -> 7544 bytes - .../cbdt/NotoColorEmoji.subset.drop-hints.39.ttf | Bin 0 -> 1920 bytes - .../cbdt/NotoColorEmoji.subset.drop-hints.AE.ttf | Bin 0 -> 4412 bytes - .../NotoColorEmoji.subset.gap.default.2049.ttf | Bin 0 -> 3112 bytes - .../NotoColorEmoji.subset.gap.default.38,2049.ttf | Bin 0 -> 4084 bytes - .../NotoColorEmoji.subset.gap.default.38,20E3.ttf | Bin 0 -> 3568 bytes - ...ji.subset.gap.default.38,39,AE,2049,38,20E3.ttf | Bin 0 -> 9188 bytes - ...otoColorEmoji.subset.gap.default.38,AE,2049.ttf | Bin 0 -> 7544 bytes - .../cbdt/NotoColorEmoji.subset.gap.default.39.ttf | Bin 0 -> 908 bytes - .../cbdt/NotoColorEmoji.subset.gap.default.AE.ttf | Bin 0 -> 4412 bytes - ...moji.subset.gap.drop-hints-retain-gids.2049.ttf | Bin 0 -> 3136 bytes - ...i.subset.gap.drop-hints-retain-gids.38,2049.ttf | Bin 0 -> 4108 bytes - ...i.subset.gap.drop-hints-retain-gids.38,20E3.ttf | Bin 0 -> 3600 bytes - ...rop-hints-retain-gids.38,39,AE,2049,38,20E3.ttf | Bin 0 -> 9188 bytes - ...ubset.gap.drop-hints-retain-gids.38,AE,2049.ttf | Bin 0 -> 7564 bytes - ...rEmoji.subset.gap.drop-hints-retain-gids.39.ttf | Bin 0 -> 916 bytes - ...rEmoji.subset.gap.drop-hints-retain-gids.AE.ttf | Bin 0 -> 4428 bytes - .../NotoColorEmoji.subset.gap.drop-hints.2049.ttf | Bin 0 -> 3112 bytes - ...otoColorEmoji.subset.gap.drop-hints.38,2049.ttf | Bin 0 -> 4084 bytes - ...otoColorEmoji.subset.gap.drop-hints.38,20E3.ttf | Bin 0 -> 3568 bytes - ...subset.gap.drop-hints.38,39,AE,2049,38,20E3.ttf | Bin 0 -> 9188 bytes - ...ColorEmoji.subset.gap.drop-hints.38,AE,2049.ttf | Bin 0 -> 7544 bytes - .../NotoColorEmoji.subset.gap.drop-hints.39.ttf | Bin 0 -> 908 bytes - .../NotoColorEmoji.subset.gap.drop-hints.AE.ttf | Bin 0 -> 4412 bytes - .../NotoColorEmoji.subset.gap.retain-gids.2049.ttf | Bin 0 -> 3136 bytes - ...toColorEmoji.subset.gap.retain-gids.38,2049.ttf | Bin 0 -> 4108 bytes - ...toColorEmoji.subset.gap.retain-gids.38,20E3.ttf | Bin 0 -> 3600 bytes - ...ubset.gap.retain-gids.38,39,AE,2049,38,20E3.ttf | Bin 0 -> 9188 bytes - ...olorEmoji.subset.gap.retain-gids.38,AE,2049.ttf | Bin 0 -> 7564 bytes - .../NotoColorEmoji.subset.gap.retain-gids.39.ttf | Bin 0 -> 916 bytes - .../NotoColorEmoji.subset.gap.retain-gids.AE.ttf | Bin 0 -> 4428 bytes - ...olorEmoji.subset.index_format3.default.2049.ttf | Bin 0 -> 3112 bytes - ...rEmoji.subset.index_format3.default.38,2049.ttf | Bin 0 -> 4080 bytes - ...rEmoji.subset.index_format3.default.38,20E3.ttf | Bin 0 -> 3564 bytes - ...index_format3.default.38,39,AE,2049,38,20E3.ttf | Bin 0 -> 10112 bytes - ...oji.subset.index_format3.default.38,AE,2049.ttf | Bin 0 -> 7536 bytes - ...oColorEmoji.subset.index_format3.default.39.ttf | Bin 0 -> 1920 bytes - ...oColorEmoji.subset.index_format3.default.AE.ttf | Bin 0 -> 4412 bytes - ...t.index_format3.drop-hints-retain-gids.2049.ttf | Bin 0 -> 3136 bytes - ...ndex_format3.drop-hints-retain-gids.38,2049.ttf | Bin 0 -> 4104 bytes - ...ndex_format3.drop-hints-retain-gids.38,20E3.ttf | Bin 0 -> 3596 bytes - ...rop-hints-retain-gids.38,39,AE,2049,38,20E3.ttf | Bin 0 -> 10112 bytes - ...x_format3.drop-hints-retain-gids.38,AE,2049.ttf | Bin 0 -> 7556 bytes - ...set.index_format3.drop-hints-retain-gids.39.ttf | Bin 0 -> 1928 bytes - ...set.index_format3.drop-hints-retain-gids.AE.ttf | Bin 0 -> 4428 bytes - ...rEmoji.subset.index_format3.drop-hints.2049.ttf | Bin 0 -> 3112 bytes - ...oji.subset.index_format3.drop-hints.38,2049.ttf | Bin 0 -> 4080 bytes - ...oji.subset.index_format3.drop-hints.38,20E3.ttf | Bin 0 -> 3564 bytes - ...ex_format3.drop-hints.38,39,AE,2049,38,20E3.ttf | Bin 0 -> 10112 bytes - ....subset.index_format3.drop-hints.38,AE,2049.ttf | Bin 0 -> 7536 bytes - ...lorEmoji.subset.index_format3.drop-hints.39.ttf | Bin 0 -> 1920 bytes - ...lorEmoji.subset.index_format3.drop-hints.AE.ttf | Bin 0 -> 4412 bytes - ...Emoji.subset.index_format3.retain-gids.2049.ttf | Bin 0 -> 3136 bytes - ...ji.subset.index_format3.retain-gids.38,2049.ttf | Bin 0 -> 4104 bytes - ...ji.subset.index_format3.retain-gids.38,20E3.ttf | Bin 0 -> 3596 bytes - ...x_format3.retain-gids.38,39,AE,2049,38,20E3.ttf | Bin 0 -> 10112 bytes - ...subset.index_format3.retain-gids.38,AE,2049.ttf | Bin 0 -> 7556 bytes - ...orEmoji.subset.index_format3.retain-gids.39.ttf | Bin 0 -> 1928 bytes - ...orEmoji.subset.index_format3.retain-gids.AE.ttf | Bin 0 -> 4428 bytes - ...ji.subset.multiple_size_tables.default.2049.ttf | Bin 0 -> 5312 bytes - ...subset.multiple_size_tables.default.38,2049.ttf | Bin 0 -> 7244 bytes - ...subset.multiple_size_tables.default.38,20E3.ttf | Bin 0 -> 6212 bytes - ...e_size_tables.default.38,39,AE,2049,38,20E3.ttf | Bin 0 -> 19280 bytes - ...set.multiple_size_tables.default.38,AE,2049.ttf | Bin 0 -> 14140 bytes - ...moji.subset.multiple_size_tables.default.39.ttf | Bin 0 -> 2928 bytes - ...moji.subset.multiple_size_tables.default.AE.ttf | Bin 0 -> 7916 bytes - ...ple_size_tables.drop-hints-retain-gids.2049.ttf | Bin 0 -> 5336 bytes - ..._size_tables.drop-hints-retain-gids.38,2049.ttf | Bin 0 -> 7268 bytes - ..._size_tables.drop-hints-retain-gids.38,20E3.ttf | Bin 0 -> 6244 bytes - ...rop-hints-retain-gids.38,39,AE,2049,38,20E3.ttf | Bin 0 -> 19280 bytes - ...ze_tables.drop-hints-retain-gids.38,AE,2049.ttf | Bin 0 -> 14164 bytes - ...tiple_size_tables.drop-hints-retain-gids.39.ttf | Bin 0 -> 2936 bytes - ...tiple_size_tables.drop-hints-retain-gids.AE.ttf | Bin 0 -> 7932 bytes - ...subset.multiple_size_tables.drop-hints.2049.ttf | Bin 0 -> 5312 bytes - ...set.multiple_size_tables.drop-hints.38,2049.ttf | Bin 0 -> 7244 bytes - ...set.multiple_size_tables.drop-hints.38,20E3.ttf | Bin 0 -> 6212 bytes - ...ize_tables.drop-hints.38,39,AE,2049,38,20E3.ttf | Bin 0 -> 19280 bytes - ....multiple_size_tables.drop-hints.38,AE,2049.ttf | Bin 0 -> 14140 bytes - ...i.subset.multiple_size_tables.drop-hints.39.ttf | Bin 0 -> 2928 bytes - ...i.subset.multiple_size_tables.drop-hints.AE.ttf | Bin 0 -> 7916 bytes - ...ubset.multiple_size_tables.retain-gids.2049.ttf | Bin 0 -> 5336 bytes - ...et.multiple_size_tables.retain-gids.38,2049.ttf | Bin 0 -> 7268 bytes - ...et.multiple_size_tables.retain-gids.38,20E3.ttf | Bin 0 -> 6244 bytes - ...ze_tables.retain-gids.38,39,AE,2049,38,20E3.ttf | Bin 0 -> 19280 bytes - ...multiple_size_tables.retain-gids.38,AE,2049.ttf | Bin 0 -> 14164 bytes - ....subset.multiple_size_tables.retain-gids.39.ttf | Bin 0 -> 2936 bytes - ....subset.multiple_size_tables.retain-gids.AE.ttf | Bin 0 -> 7932 bytes - .../NotoColorEmoji.subset.retain-gids.2049.ttf | Bin 0 -> 3136 bytes - .../NotoColorEmoji.subset.retain-gids.38,2049.ttf | Bin 0 -> 4108 bytes - .../NotoColorEmoji.subset.retain-gids.38,20E3.ttf | Bin 0 -> 3600 bytes - ...ji.subset.retain-gids.38,39,AE,2049,38,20E3.ttf | Bin 0 -> 10124 bytes - ...otoColorEmoji.subset.retain-gids.38,AE,2049.ttf | Bin 0 -> 7564 bytes - .../cbdt/NotoColorEmoji.subset.retain-gids.39.ttf | Bin 0 -> 1928 bytes - .../cbdt/NotoColorEmoji.subset.retain-gids.AE.ttf | Bin 0 -> 4428 bytes - .../data/fonts/NotoColorEmoji.subset.gap.ttf | Bin 0 -> 9188 bytes - .../fonts/NotoColorEmoji.subset.index_format3.ttf | Bin 0 -> 10112 bytes - .../NotoColorEmoji.subset.multiple_size_tables.ttf | Bin 0 -> 19280 bytes - test/subset/data/fonts/NotoColorEmoji.subset.ttf | Bin 0 -> 10124 bytes - test/subset/data/tests/cbdt.tests | 20 + - 138 files changed, 747 insertions(+), 40 deletions(-) - -commit b4377afd28c8158ff0c8234aa9b2bfec3a54abd1 -Author: Evgeniy Reizner -Date: Fri Jan 31 15:11:45 2020 +0200 - - Minor hb_ot_layout documentation fixes. - - src/hb-ot-layout.cc | 8 ++++---- - src/hb-ot-layout.h | 10 +++++----- - 2 files changed, 9 insertions(+), 9 deletions(-) - -commit 0216a96b0fd6bd1ab4030cd7097873a1063cd846 -Author: Qunxin Liu -Date: Thu Jan 30 12:36:58 2020 -0800 - - [subset] Fix simple glyph trim_padding in glyf table - Detail: when numOfContours = 1 and flag = 0x31 - xCoordinates and yCoordinates would be empty - - src/hb-ot-glyf-table.hh | 1 - - 1 file changed, 1 deletion(-) - -commit b6a8f5e63c144868edb0259e45b33e14275d1e3e -Author: Qunxin Liu -Date: Tue Jan 28 09:30:51 2020 -0800 - - [subset] CMAP table subsetting fix - Not all codepoints smaller than 0xFFFF go to cmap4 table. - Only subset codepoints existing in each table. - This will also make harfbuzz consistent with fontTools' behavior - - src/hb-ot-cmap-table.hh | 15 ++++++++++++--- - test/subset/data/Makefile.am | 1 + - test/subset/data/Makefile.sources | 1 + - .../expected/cmap/AdobeBlank-Regular.default.61,62.ttf | Bin 0 -> 1336 bytes - .../cmap/AdobeBlank-Regular.default.61,FEFA.ttf | Bin 0 -> 1348 bytes - .../cmap/AdobeBlank-Regular.default.FEE6,FECF.ttf | Bin 0 -> 1300 bytes - .../cmap/AdobeBlank-Regular.default.FEF9,FEFA.ttf | Bin 0 -> 1288 bytes - .../expected/cmap/AdobeBlank-Regular.default.FEFA.ttf | Bin 0 -> 1268 bytes - .../AdobeBlank-Regular.drop-hints-retain-gids.61,62.ttf | Bin 0 -> 1552 bytes - ...dobeBlank-Regular.drop-hints-retain-gids.61,FEFA.ttf | Bin 0 -> 8316 bytes - ...beBlank-Regular.drop-hints-retain-gids.FEE6,FECF.ttf | Bin 0 -> 8188 bytes - ...beBlank-Regular.drop-hints-retain-gids.FEF9,FEFA.ttf | Bin 0 -> 8256 bytes - .../AdobeBlank-Regular.drop-hints-retain-gids.FEFA.ttf | Bin 0 -> 8240 bytes - .../cmap/AdobeBlank-Regular.drop-hints.61,62.ttf | Bin 0 -> 1164 bytes - .../cmap/AdobeBlank-Regular.drop-hints.61,FEFA.ttf | Bin 0 -> 1176 bytes - .../cmap/AdobeBlank-Regular.drop-hints.FEE6,FECF.ttf | Bin 0 -> 1128 bytes - .../cmap/AdobeBlank-Regular.drop-hints.FEF9,FEFA.ttf | Bin 0 -> 1116 bytes - .../cmap/AdobeBlank-Regular.drop-hints.FEFA.ttf | Bin 0 -> 1096 bytes - .../expected/cmap/AdobeBlank-Regular.name-ids.61,62.ttf | Bin 0 -> 1084 bytes - .../cmap/AdobeBlank-Regular.name-ids.61,FEFA.ttf | Bin 0 -> 1096 bytes - .../cmap/AdobeBlank-Regular.name-ids.FEE6,FECF.ttf | Bin 0 -> 1048 bytes - .../cmap/AdobeBlank-Regular.name-ids.FEF9,FEFA.ttf | Bin 0 -> 1036 bytes - .../expected/cmap/AdobeBlank-Regular.name-ids.FEFA.ttf | Bin 0 -> 1016 bytes - .../cmap/AdobeBlank-Regular.retain-gids.61,62.ttf | Bin 0 -> 1724 bytes - .../cmap/AdobeBlank-Regular.retain-gids.61,FEFA.ttf | Bin 0 -> 8488 bytes - .../cmap/AdobeBlank-Regular.retain-gids.FEE6,FECF.ttf | Bin 0 -> 8360 bytes - .../cmap/AdobeBlank-Regular.retain-gids.FEF9,FEFA.ttf | Bin 0 -> 8428 bytes - .../cmap/AdobeBlank-Regular.retain-gids.FEFA.ttf | Bin 0 -> 8412 bytes - test/subset/data/fonts/AdobeBlank-Regular.ttf | Bin 0 -> 72408 bytes - test/subset/data/tests/cmap.tests | 16 ++++++++++++++++ - 30 files changed, 30 insertions(+), 3 deletions(-) - -commit 777ba47b50f6379b9f9abf1d72559316b7116b9e -Merge: 5b069c361 92f43a99c -Author: Ebrahim Byagowi -Date: Thu Jan 30 22:38:43 2020 +0330 - - Merge pull request #2132 from ckitagawa-work/subset_colr - - [subset] Add COLR support - -commit 5b069c3612e0347db4b7932135f6a3b9e1f84f58 -Author: Ebrahim Byagowi -Date: Thu Jan 30 18:05:01 2020 +0330 - - [draw][docs] update to new terminology - - src/hb-draw.h | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 920dca4550f73f05d79e95ddf537054e2775f7e5 -Author: Ebrahim Byagowi -Date: Thu Jan 30 18:03:06 2020 +0330 - - [draw][docs] update to new terminlogy - - src/hb-draw.cc | 32 ++++++++++++++++---------------- - 1 file changed, 16 insertions(+), 16 deletions(-) - -commit 1632726c1fbcd49d8c27c03948859e80476b41bd -Author: Ebrahim Byagowi -Date: Thu Jan 30 16:48:34 2020 +0330 - - [draw] minor - - src/hb-draw.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 92f43a99c685752416f216c22b6edb9d87ce5d35 -Author: ckitagawa -Date: Wed Jan 29 16:06:55 2020 -0500 - - [subset] COLR, simplify logic and use add_array - - src/hb-ot-color-colr-table.hh | 15 ++++++--------- - 1 file changed, 6 insertions(+), 9 deletions(-) - -commit fba5128a9e9459de5b08367c96d05674aa1363a9 -Author: ckitagawa -Date: Wed Jan 29 10:24:55 2020 -0500 - - Fix build - - src/hb-ot-color-colr-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 7d542a5274d56229a72c30e53aecbae8ea938f4e -Author: ckitagawa -Date: Wed Jan 29 10:20:00 2020 -0500 - - Refactor to two iterators - - src/hb-ot-color-colr-table.hh | 142 ++++++++++++--------- - src/hb-subset-plan.cc | 2 +- - .../TwemojiMozilla.subset.default.32,3299.ttf | Bin 0 -> 5264 bytes - test/api/test-subset-colr.c | 21 +++ - 4 files changed, 105 insertions(+), 60 deletions(-) - -commit 0aed54dca6fefbc26f466ace6c105881c536baa2 -Author: ckitagawa -Date: Fri Jan 24 15:51:06 2020 -0500 - - Use one-liner methods - - src/hb-ot-color-colr-table.hh | 18 ++++-------------- - 1 file changed, 4 insertions(+), 14 deletions(-) - -commit 81c469eb62294666c27bcd82e4e6fcad742dcbf3 -Author: ckitagawa -Date: Fri Jan 24 15:49:25 2020 -0500 - - Try to fix Wrange-loop-analysis - - src/hb-ot-color-colr-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 0d1ba94ac7910f0fc8232c539d4f6709cd2493fd -Author: ckitagawa -Date: Fri Jan 24 15:44:40 2020 -0500 - - Minor style fixes - - src/hb-ot-color-colr-table.hh | 13 ++++++++----- - 1 file changed, 8 insertions(+), 5 deletions(-) - -commit 49b98e865007bbbfd5780b301a68daa7b3800ec3 -Author: ckitagawa -Date: Fri Jan 24 15:39:02 2020 -0500 - - Fix nullptr de-reference failure if both blobs in a subset test are 0 in size - - test/api/hb-subset-test.h | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -commit ed857c4680721d767ce9c60cf081ad0a1bcee8e6 -Author: ckitagawa -Date: Fri Jan 24 08:52:23 2020 -0500 - - [subset] Add COLR support - - src/hb-ot-color-colr-table.hh | 127 ++++++++++++++++++++- - src/hb-subset-plan.cc | 5 + - src/hb-subset.cc | 4 + - test/api/Makefile.am | 2 + - .../api/fonts/TwemojiMozilla.subset.default.32.ttf | Bin 0 -> 4660 bytes - .../fonts/TwemojiMozilla.subset.default.3297.ttf | Bin 0 -> 5068 bytes - test/api/fonts/TwemojiMozilla.subset.ttf | Bin 0 -> 5712 bytes - test/api/test-subset-colr.c | 99 ++++++++++++++++ - test/fuzzing/fonts/TwemojiMozilla.subset.ttf | Bin 0 -> 5712 bytes - test/subset/data/Makefile.am | 1 + - test/subset/data/Makefile.sources | 1 + - .../TwemojiMozilla.subset.default.32,3297,3299.ttf | Bin 0 -> 5624 bytes - .../colr/TwemojiMozilla.subset.default.32,3297.ttf | Bin 0 -> 5088 bytes - .../colr/TwemojiMozilla.subset.default.32,3299.ttf | Bin 0 -> 5264 bytes - .../colr/TwemojiMozilla.subset.default.32.ttf | Bin 0 -> 4660 bytes - .../TwemojiMozilla.subset.default.3297,3299.ttf | Bin 0 -> 5604 bytes - .../colr/TwemojiMozilla.subset.default.3297.ttf | Bin 0 -> 5068 bytes - .../colr/TwemojiMozilla.subset.default.3299.ttf | Bin 0 -> 5244 bytes - ....subset.drop-hints-retain-gids.32,3297,3299.ttf | Bin 0 -> 5604 bytes - ...zilla.subset.drop-hints-retain-gids.32,3297.ttf | Bin 0 -> 5084 bytes - ...zilla.subset.drop-hints-retain-gids.32,3299.ttf | Bin 0 -> 5264 bytes - ...ojiMozilla.subset.drop-hints-retain-gids.32.ttf | Bin 0 -> 4640 bytes - ...lla.subset.drop-hints-retain-gids.3297,3299.ttf | Bin 0 -> 5588 bytes - ...iMozilla.subset.drop-hints-retain-gids.3297.ttf | Bin 0 -> 5064 bytes - ...iMozilla.subset.drop-hints-retain-gids.3299.ttf | Bin 0 -> 5244 bytes - ...emojiMozilla.subset.drop-hints.32,3297,3299.ttf | Bin 0 -> 5604 bytes - .../TwemojiMozilla.subset.drop-hints.32,3297.ttf | Bin 0 -> 5068 bytes - .../TwemojiMozilla.subset.drop-hints.32,3299.ttf | Bin 0 -> 5244 bytes - .../colr/TwemojiMozilla.subset.drop-hints.32.ttf | Bin 0 -> 4640 bytes - .../TwemojiMozilla.subset.drop-hints.3297,3299.ttf | Bin 0 -> 5584 bytes - .../colr/TwemojiMozilla.subset.drop-hints.3297.ttf | Bin 0 -> 5048 bytes - .../colr/TwemojiMozilla.subset.drop-hints.3299.ttf | Bin 0 -> 5224 bytes - ...mojiMozilla.subset.retain-gids.32,3297,3299.ttf | Bin 0 -> 5624 bytes - .../TwemojiMozilla.subset.retain-gids.32,3297.ttf | Bin 0 -> 5104 bytes - .../TwemojiMozilla.subset.retain-gids.32,3299.ttf | Bin 0 -> 5284 bytes - .../colr/TwemojiMozilla.subset.retain-gids.32.ttf | Bin 0 -> 4660 bytes - ...TwemojiMozilla.subset.retain-gids.3297,3299.ttf | Bin 0 -> 5608 bytes - .../TwemojiMozilla.subset.retain-gids.3297.ttf | Bin 0 -> 5084 bytes - .../TwemojiMozilla.subset.retain-gids.3299.ttf | Bin 0 -> 5264 bytes - test/subset/data/fonts/TwemojiMozilla.subset.ttf | Bin 0 -> 5712 bytes - test/subset/data/tests/colr.tests | 17 +++ - 41 files changed, 255 insertions(+), 1 deletion(-) - -commit d106900bfd61ed45fbd4ffd93875d167d86e01e4 -Author: Ebrahim Byagowi -Date: Tue Jan 28 15:26:13 2020 +0330 - - [draw][glyf] Implement quadratic to cubic call translation - - src/hb-draw.cc | 7 +----- - src/hb-draw.h | 3 +++ - src/hb-ot-glyf-table.hh | 58 ++++++++++++++++++++++++++++++++++++++++++++----- - test/api/test-draw.c | 27 +++++++++++++++++++++-- - 4 files changed, 81 insertions(+), 14 deletions(-) - -commit 74fdcdcac8bf0467c50ddf6793b147e93b790a52 -Author: Ebrahim Byagowi -Date: Tue Jan 28 13:45:22 2020 +0330 - - [draw] Rename conic_to to quadratic_to - - docs/harfbuzz-sections.txt | 4 ++-- - src/hb-draw.cc | 16 ++++++++-------- - src/hb-draw.h | 10 +++++----- - src/hb-draw.hh | 2 +- - src/hb-ot-glyf-table.hh | 4 ++-- - src/main.cc | 8 ++++---- - test/api/test-draw.c | 8 ++++---- - 7 files changed, 26 insertions(+), 26 deletions(-) - -commit ac81e94016be3fb638c16bae38bd61cc131104ac -Author: Ebrahim Byagowi -Date: Tue Jan 28 12:34:47 2020 +0330 - - Rename hb_outline_decompose to hb_font_draw_glyph and hb_outline_decompose_funcs_t to hb_draw_funcs_t - - docs/harfbuzz-sections.txt | 38 ++++++------- - src/Makefile.sources | 6 +-- - src/harfbuzz.cc | 2 +- - src/hb-config.hh | 2 +- - src/{hb-outline.cc => hb-draw.cc} | 91 +++++++++++++++---------------- - src/hb-draw.h | 87 ++++++++++++++++++++++++++++++ - src/{hb-outline.hh => hb-draw.hh} | 18 +++---- - src/hb-font.h | 5 ++ - src/hb-ot-cff1-table.cc | 12 ++--- - src/hb-ot-cff1-table.hh | 2 +- - src/hb-ot-cff2-table.cc | 8 +-- - src/hb-ot-cff2-table.hh | 2 +- - src/hb-ot-glyf-table.hh | 4 +- - src/hb-outline.h | 92 -------------------------------- - src/hb.h | 2 +- - src/main.cc | 26 ++++----- - test/api/Makefile.am | 2 +- - test/api/{test-outline.c => test-draw.c} | 70 ++++++++++++------------ - test/api/test-ot-face.c | 6 +-- - 19 files changed, 238 insertions(+), 237 deletions(-) - -commit cf5f94675669154ab84695e5b24a1d54d2ad8c5e -Author: Ebrahim Byagowi -Date: Mon Jan 27 23:38:39 2020 +0330 - - [outline] use hb_object_is_immutable instead comparing to Null - - src/hb-outline.cc | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -commit 981125aa2adbe4f513d3ecf357459e5bcfd06d0a -Author: Ebrahim Byagowi -Date: Sat Jan 25 21:31:36 2020 +0330 - - Rename hb_ot_glyph_* to hb_outline_* - - docs/harfbuzz-sections.txt | 38 +++++----- - src/Makefile.sources | 6 +- - src/harfbuzz.cc | 2 +- - src/hb-config.hh | 2 +- - src/hb-ot-cff1-table.cc | 12 ++-- - src/hb-ot-cff1-table.hh | 2 +- - src/hb-ot-cff2-table.cc | 8 +-- - src/hb-ot-cff2-table.hh | 2 +- - src/hb-ot-glyf-table.hh | 4 +- - src/hb-ot-glyph.h | 92 ------------------------ - src/hb-ot.h | 1 - - src/{hb-ot-glyph.cc => hb-outline.cc} | 88 +++++++++++------------ - src/hb-outline.h | 92 ++++++++++++++++++++++++ - src/{hb-ot-glyph.hh => hb-outline.hh} | 18 ++--- - src/hb.h | 1 + - src/main.cc | 26 +++---- - test/api/Makefile.am | 2 +- - test/api/test-ot-face.c | 6 +- - test/api/{test-ot-glyph.c => test-outline.c} | 104 +++++++++++++-------------- - 19 files changed, 253 insertions(+), 253 deletions(-) - -commit 30857089a59b673b80b1fbaafe8ed65ae21ed472 -Author: Ebrahim Byagowi -Date: Mon Jan 27 21:16:57 2020 +0330 - - [test][glyph] add subcomponent scale test - - test/api/test-ot-glyph.c | 7 ++++++- - 1 file changed, 6 insertions(+), 1 deletion(-) - -commit d809aca8d05c64c0e871923b36bdd3b17a85358d -Author: Ebrahim Byagowi -Date: Mon Jan 27 20:52:56 2020 +0330 - - [test] test for not applying morx on horizontal runs if gsub exists - - https://github.com/harfbuzz/harfbuzz/pull/2130 - - test/shaping/data/in-house/tests/macos.tests | 2 ++ - 1 file changed, 2 insertions(+) - -commit cd7b46ca1569850929974ef146aa1ca083c2557d -Author: Evgeniy Reizner -Date: Sun Jan 26 20:46:19 2020 +0200 - - Use correct return type in _unsafe_to_break_find_min_cluster. - - src/hb-buffer.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 1438bae7a5a2c7cc631e041bcf75745578935014 -Author: Ebrahim Byagowi -Date: Sun Jan 26 23:48:30 2020 +0330 - - [ot-glyph] Add fontkit non variables fonts tests - - test/api/fonts/Mada-VF.ttf | Bin 0 -> 120384 bytes - .../fonts/NotoSansCJKkr-Regular-subset-colon.ttf | Bin 0 -> 2084 bytes - test/api/fonts/OpenSans-Regular.ttf | Bin 0 -> 217360 bytes - test/api/fonts/SourceSansPro-Regular.otf | Bin 0 -> 220852 bytes - test/api/test-ot-glyph.c | 113 ++++++++++++++++++++- - 5 files changed, 112 insertions(+), 1 deletion(-) - -commit 9bb1c79a2c41b85ab48ef0086a412e08ce18acd8 -Author: Ebrahim Byagowi -Date: Sun Jan 26 22:10:47 2020 +0330 - - [ot-glyph][test] Avoid sprintf use - - test/api/test-ot-glyph.c | 160 ++++++++++++++++++++++++++++++++++------------- - 1 file changed, 116 insertions(+), 44 deletions(-) - -commit 99f8e52d5e32b837648550b5cf09267ea7efcb48 -Author: Ebrahim Byagowi -Date: Sun Jan 26 17:02:11 2020 +0330 - - [ot-glyph] Add fontkits's variations toSVG tests - - test/api/fonts/AdobeVFPrototype-Subset.otf | Bin 0 -> 7096 bytes - test/api/fonts/TestGVARFour.ttf | Bin 0 -> 3204 bytes - test/api/fonts/TestGVAROne.ttf | Bin 0 -> 14312 bytes - test/api/fonts/TestGVARThree.ttf | Bin 0 -> 14336 bytes - test/api/fonts/TestGVARTwo.ttf | Bin 0 -> 15668 bytes - test/api/test-ot-glyph.c | 246 ++++++++++++++++++++++++++++- - 6 files changed, 244 insertions(+), 2 deletions(-) - -commit e44982f5485571e852810cad7e55eca5c14e3758 -Author: Ebrahim Byagowi -Date: Sun Jan 26 14:30:03 2020 +0330 - - [ot-glyph] Add ttf-parser's outline_glyph tests - - test/api/fonts/README | 2 + - test/api/fonts/glyphs.ttf | Bin 0 -> 808 bytes - test/api/test-ot-glyph.c | 92 ++++++++++++++++++++++++++++++++++++++++++++++ - 3 files changed, 94 insertions(+) - -commit 5440313924172e155e34391f033f5e6c5e2390b3 -Author: Ebrahim Byagowi -Date: Sun Jan 26 00:07:28 2020 +0330 - - Update COPYING - - 2020 update and add my name for years had more or less considerable contributions - - COPYING | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit cd266e4f3d3c8ef338c007a93a2ae356467d7953 -Author: Ebrahim Byagowi -Date: Sat Jan 25 21:33:38 2020 +0330 - - minor - - src/hb-ot-glyph.hh | 3 --- - 1 file changed, 3 deletions(-) - -commit f9070cfef8b0bb3e9dc5a934d24ef6348eb19880 -Author: Ebrahim Byagowi -Date: Fri Jan 24 22:19:03 2020 +0330 - - Run morx if run is horizontal or GSUB doesn't exist - - src/hb-ot-shape.cc | 13 +++++++++++-- - 1 file changed, 11 insertions(+), 2 deletions(-) - -commit 58976972508d6f6d564cb3305bbb6f706bd1ba33 -Author: Ebrahim Byagowi -Date: Sat Jan 25 00:32:46 2020 +0330 - - [test] Increase subset timeout - - No random timeout please - - test/fuzzing/run-subset-fuzzer-tests.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit d1830437c92caf1ba3869c9ddae8acb5f8f96739 -Author: Ebrahim Byagowi -Date: Sat Jan 25 00:09:47 2020 +0330 - - [tests] Apply expected results of Mplus1p-Regular subset - - Related to #2131 - - .../japanese/Mplus1p-Regular.default.25771.ttf | Bin 1976 -> 1824 bytes - .../japanese/Mplus1p-Regular.drop-hints.25771.ttf | Bin 1248 -> 1096 bytes - 2 files changed, 0 insertions(+), 0 deletions(-) - -commit 8e0898080faf6e8aeee0b1e41e842fe7611d9c44 -Author: Ebrahim Byagowi -Date: Fri Jan 24 23:39:44 2020 +0330 - - [sbix] minor style fixes - - src/hb-ot-color-sbix-table.hh | 55 +++++++++++++++++++++++-------------------- - 1 file changed, 29 insertions(+), 26 deletions(-) - -commit 36a5c042d701f19f574442d987b1c3dcf7d5943b -Author: Qunxin Liu -Date: Tue Jan 21 13:37:28 2020 -0800 - - [subset] Add "--name-languages" and "--name-legacy" options - Make name table subsetting consistent with fontTools - - src/hb-ot-name-table.hh | 11 ++++ - src/hb-subset-input.cc | 23 ++++++++ - src/hb-subset-input.hh | 2 + - src/hb-subset-plan.cc | 3 ++ - src/hb-subset-plan.hh | 4 ++ - src/hb-subset.h | 9 ++++ - test/api/hb-subset-test.h | 5 ++ - .../Comfortaa-Regular-new.default.61,62,63.ttf | Bin 7460 -> 7392 bytes - .../basics/Comfortaa-Regular-new.default.61,63.ttf | Bin 7104 -> 7036 bytes - .../basics/Comfortaa-Regular-new.default.61.ttf | Bin 6752 -> 6684 bytes - .../basics/Comfortaa-Regular-new.default.62.ttf | Bin 6696 -> 6628 bytes - .../basics/Comfortaa-Regular-new.default.63.ttf | Bin 6676 -> 6608 bytes - ...aa-Regular-new.default.retain-all-codepoint.ttf | Bin 182944 -> 182876 bytes - ...Regular-new.drop-hints-retain-gids.61,62,63.ttf | Bin 4912 -> 4844 bytes - ...aa-Regular-new.drop-hints-retain-gids.61,63.ttf | Bin 4620 -> 4552 bytes - ...ortaa-Regular-new.drop-hints-retain-gids.61.ttf | Bin 4056 -> 3988 bytes - ...ortaa-Regular-new.drop-hints-retain-gids.62.ttf | Bin 4296 -> 4228 bytes - ...ortaa-Regular-new.drop-hints-retain-gids.63.ttf | Bin 4304 -> 4236 bytes - ...drop-hints-retain-gids.retain-all-codepoint.ttf | Bin 151740 -> 151672 bytes - .../Comfortaa-Regular-new.drop-hints.61,62,63.ttf | Bin 2920 -> 2852 bytes - .../Comfortaa-Regular-new.drop-hints.61,63.ttf | Bin 2620 -> 2552 bytes - .../basics/Comfortaa-Regular-new.drop-hints.61.ttf | Bin 2308 -> 2240 bytes - .../basics/Comfortaa-Regular-new.drop-hints.62.ttf | Bin 2296 -> 2228 bytes - .../basics/Comfortaa-Regular-new.drop-hints.63.ttf | Bin 2296 -> 2228 bytes - ...Regular-new.drop-hints.retain-all-codepoint.ttf | Bin 151676 -> 151608 bytes - .../Comfortaa-Regular-new.name-ids.61,62,63.ttf | Bin 7204 -> 7132 bytes - .../Comfortaa-Regular-new.name-ids.61,63.ttf | Bin 6848 -> 6776 bytes - .../basics/Comfortaa-Regular-new.name-ids.61.ttf | Bin 6496 -> 6424 bytes - .../basics/Comfortaa-Regular-new.name-ids.62.ttf | Bin 6440 -> 6368 bytes - .../basics/Comfortaa-Regular-new.name-ids.63.ttf | Bin 6420 -> 6348 bytes - ...a-Regular-new.name-ids.retain-all-codepoint.ttf | Bin 182688 -> 182616 bytes - ...mfortaa-Regular-new.name-languages.61,62,63.ttf | Bin 0 -> 7392 bytes - .../Comfortaa-Regular-new.name-languages.61,63.ttf | Bin 0 -> 7036 bytes - .../Comfortaa-Regular-new.name-languages.61.ttf | Bin 0 -> 6684 bytes - .../Comfortaa-Regular-new.name-languages.62.ttf | Bin 0 -> 6628 bytes - .../Comfortaa-Regular-new.name-languages.63.ttf | Bin 0 -> 6608 bytes - ...lar-new.name-languages.retain-all-codepoint.ttf | Bin 0 -> 182876 bytes - .../Comfortaa-Regular-new.name-legacy.61,62,63.ttf | Bin 0 -> 7392 bytes - .../Comfortaa-Regular-new.name-legacy.61,63.ttf | Bin 0 -> 7036 bytes - .../Comfortaa-Regular-new.name-legacy.61.ttf | Bin 0 -> 6684 bytes - .../Comfortaa-Regular-new.name-legacy.62.ttf | Bin 0 -> 6628 bytes - .../Comfortaa-Regular-new.name-legacy.63.ttf | Bin 0 -> 6608 bytes - ...egular-new.name-legacy.retain-all-codepoint.ttf | Bin 0 -> 182876 bytes - .../Comfortaa-Regular-new.retain-gids.61,62,63.ttf | Bin 9452 -> 9384 bytes - .../Comfortaa-Regular-new.retain-gids.61,63.ttf | Bin 9104 -> 9036 bytes - .../Comfortaa-Regular-new.retain-gids.61.ttf | Bin 8500 -> 8432 bytes - .../Comfortaa-Regular-new.retain-gids.62.ttf | Bin 8696 -> 8628 bytes - .../Comfortaa-Regular-new.retain-gids.63.ttf | Bin 8684 -> 8616 bytes - ...egular-new.retain-gids.retain-all-codepoint.ttf | Bin 183008 -> 182940 bytes - .../Roboto-Regular.abc.name-languages.61,62,63.ttf | Bin 0 -> 2168 bytes - .../Roboto-Regular.abc.name-languages.61,63.ttf | Bin 0 -> 1988 bytes - .../Roboto-Regular.abc.name-languages.61.ttf | Bin 0 -> 1792 bytes - .../Roboto-Regular.abc.name-languages.62.ttf | Bin 0 -> 1740 bytes - .../Roboto-Regular.abc.name-languages.63.ttf | Bin 0 -> 1716 bytes - ...lar.abc.name-languages.retain-all-codepoint.ttf | Bin 0 -> 2168 bytes - .../Roboto-Regular.abc.name-legacy.61,62,63.ttf | Bin 0 -> 2168 bytes - .../Roboto-Regular.abc.name-legacy.61,63.ttf | Bin 0 -> 1988 bytes - .../basics/Roboto-Regular.abc.name-legacy.61.ttf | Bin 0 -> 1792 bytes - .../basics/Roboto-Regular.abc.name-legacy.62.ttf | Bin 0 -> 1740 bytes - .../basics/Roboto-Regular.abc.name-legacy.63.ttf | Bin 0 -> 1716 bytes - ...egular.abc.name-legacy.retain-all-codepoint.ttf | Bin 0 -> 2168 bytes - ...eSansPro-Regular.default.1FC,21,41,20,62,63.otf | Bin 2384 -> 2180 bytes - .../SourceSansPro-Regular.default.61,62,63.otf | Bin 2096 -> 1892 bytes - ...ourceSansPro-Regular.default.D7,D8,D9,DA,DE.otf | Bin 2212 -> 2008 bytes - ...subroutinize-retain-gids.1FC,21,41,20,62,63.otf | Bin 20000 -> 19796 bytes - ...Regular.desubroutinize-retain-gids.61,62,63.otf | Bin 2196 -> 1992 bytes - ...r.desubroutinize-retain-gids.D7,D8,D9,DA,DE.otf | Bin 30412 -> 30208 bytes - ...o-Regular.desubroutinize.1FC,21,41,20,62,63.otf | Bin 2240 -> 2036 bytes - ...urceSansPro-Regular.desubroutinize.61,62,63.otf | Bin 2000 -> 1796 bytes - ...nsPro-Regular.desubroutinize.D7,D8,D9,DA,DE.otf | Bin 2196 -> 1992 bytes - ...subroutinize-retain-gids.1FC,21,41,20,62,63.otf | Bin 19840 -> 19636 bytes - ...p-hints-desubroutinize-retain-gids.61,62,63.otf | Bin 2072 -> 1868 bytes - ...s-desubroutinize-retain-gids.D7,D8,D9,DA,DE.otf | Bin 30264 -> 30060 bytes - ...rop-hints-desubroutinize.1FC,21,41,20,62,63.otf | Bin 2080 -> 1876 bytes - ...-Regular.drop-hints-desubroutinize.61,62,63.otf | Bin 1876 -> 1672 bytes - ...ar.drop-hints-desubroutinize.D7,D8,D9,DA,DE.otf | Bin 2048 -> 1844 bytes - ...r.drop-hints-retain-gids.1FC,21,41,20,62,63.otf | Bin 19932 -> 19728 bytes - ...Pro-Regular.drop-hints-retain-gids.61,62,63.otf | Bin 2108 -> 1904 bytes - ...gular.drop-hints-retain-gids.D7,D8,D9,DA,DE.otf | Bin 30276 -> 30072 bytes - ...nsPro-Regular.drop-hints.1FC,21,41,20,62,63.otf | Bin 2164 -> 1960 bytes - .../SourceSansPro-Regular.drop-hints.61,62,63.otf | Bin 1940 -> 1736 bytes - ...ceSansPro-Regular.drop-hints.D7,D8,D9,DA,DE.otf | Bin 2064 -> 1860 bytes - ...sPro-Regular.retain-gids.1FC,21,41,20,62,63.otf | Bin 20152 -> 19948 bytes - .../SourceSansPro-Regular.retain-gids.61,62,63.otf | Bin 2264 -> 2060 bytes - ...eSansPro-Regular.retain-gids.D7,D8,D9,DA,DE.otf | Bin 30428 -> 30224 bytes - .../Roboto-Regular.default.1FC,21,41,20,62,63.ttf | Bin 3164 -> 2984 bytes - .../full-font/Roboto-Regular.default.61,62,63.ttf | Bin 2760 -> 2580 bytes - .../Roboto-Regular.default.D7,D8,D9,DA,DE.ttf | Bin 3124 -> 2944 bytes - ...oboto-Regular.drop-hints.1FC,21,41,20,62,63.ttf | Bin 1616 -> 1436 bytes - .../Roboto-Regular.drop-hints.61,62,63.ttf | Bin 1408 -> 1228 bytes - .../Roboto-Regular.drop-hints.D7,D8,D9,DA,DE.ttf | Bin 1644 -> 1464 bytes - ...ifVariable-Roman.default.1FC,21,41,20,62,63.ttf | Bin 4132 -> 3572 bytes - .../SourceSerifVariable-Roman.default.61,62,63.ttf | Bin 4100 -> 3540 bytes - ...eSerifVariable-Roman.default.D7,D8,D9,DA,DE.ttf | Bin 4592 -> 4032 bytes - ...ariable-Roman.drop-hints.1FC,21,41,20,62,63.ttf | Bin 4132 -> 3572 bytes - ...urceSerifVariable-Roman.drop-hints.61,62,63.ttf | Bin 4100 -> 3540 bytes - ...rifVariable-Roman.drop-hints.D7,D8,D9,DA,DE.ttf | Bin 4592 -> 4032 bytes - .../Mplus1p-Regular.default.1D715,1D7D8,41,42.ttf | Bin 2260 -> 2108 bytes - ...gular.default.3042,3044,3046,3048,304A,304B.ttf | Bin 2684 -> 2532 bytes - ...gular.default.3042,3044,3046,73E0,5EA6,8F38.ttf | Bin 2928 -> 2776 bytes - .../Mplus1p-Regular.default.61,63,65,6B.ttf | Bin 2228 -> 2076 bytes - ...gular.default.660E,6975,73E0,5EA6,8F38,6E05.ttf | Bin 3224 -> 3072 bytes - .../japanese/Mplus1p-Regular.default.660E.ttf | Bin 1968 -> 1816 bytes - ...plus1p-Regular.drop-hints.1D715,1D7D8,41,42.ttf | Bin 1532 -> 1380 bytes - ...ar.drop-hints.3042,3044,3046,3048,304A,304B.ttf | Bin 1956 -> 1804 bytes - ...ar.drop-hints.3042,3044,3046,73E0,5EA6,8F38.ttf | Bin 2200 -> 2048 bytes - .../Mplus1p-Regular.drop-hints.61,63,65,6B.ttf | Bin 1500 -> 1348 bytes - ...ar.drop-hints.660E,6975,73E0,5EA6,8F38,6E05.ttf | Bin 2496 -> 2344 bytes - .../japanese/Mplus1p-Regular.drop-hints.660E.ttf | Bin 1240 -> 1088 bytes - test/subset/data/profiles/name-languages.txt | 1 + - test/subset/data/profiles/name-legacy.txt | 1 + - test/subset/data/tests/basics.tests | 2 + - test/subset/generate-expected-outputs.py | 6 +-- - util/options-subset.cc | 58 +++++++++++++++++++++ - 114 files changed, 121 insertions(+), 4 deletions(-) - -commit b7762c70680324fca0c1ae26ad3b7f432c0c990e -Author: Ebrahim Byagowi -Date: Fri Jan 24 21:20:07 2020 +0330 - - Disable hb_ot_glyph_decompose in HB_TINY - - src/hb-config.hh | 1 + - src/hb-ot-glyph.cc | 2 +- - src/main.cc | 5 +++++ - 3 files changed, 7 insertions(+), 1 deletion(-) - -commit 0e4b2676bdffeef3cb79b235bc9624f2a49dccad -Author: ckitagawa-work <59700018+ckitagawa-work@users.noreply.github.com> -Date: Fri Jan 24 12:16:08 2020 -0500 - - [subset] sbix fix missed offset is_null() check - - src/hb-ot-color-sbix-table.hh | 9 ++++++--- - ...testcase-minimized-hb-subset-fuzzer-5747280156295168 | Bin 0 -> 98811 bytes - 2 files changed, 6 insertions(+), 3 deletions(-) - -commit 5532374f61284a254d5b2a8de9472c64f138c854 -Author: Ebrahim Byagowi -Date: Thu Jan 23 20:27:21 2020 +0330 - - [ot-glyph] Add a test for #2053 - - test/api/fonts/README | 2 ++ - test/api/fonts/RanaKufi-Regular.subset.otf | Bin 0 -> 2260 bytes - test/api/test-ot-glyph.c | 26 ++++++++++++++++++++++++++ - 3 files changed, 28 insertions(+) - -commit f7187e90d2ec703f8f99f94077c5e449541c0462 -Author: Ebrahim Byagowi -Date: Fri Jan 24 20:22:27 2020 +0330 - - [cmake] Don't build src/main - - Closes #2108 - - CMakeLists.txt | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 1a6d53d3c05ee5bce7bd3e2a86471a84377d21c0 -Author: Ebrahim Byagowi -Date: Fri Jan 24 20:00:23 2020 +0330 - - [ci] Increase msan and fedora-O0 bots subset fuzzer timeout - - .circleci/config.yml | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 2d14735588e8a7a22e2c9801d70374835a058898 -Author: Ebrahim Byagowi -Date: Fri Jan 24 19:41:26 2020 +0330 - - [src/main] separate the places use private API, minor - - src/main.cc | 191 +++++++++++++++++++++++++++++++----------------------------- - 1 file changed, 100 insertions(+), 91 deletions(-) - -commit 23277beef968aae8639f18f913eac8c69d323478 -Author: Ebrahim Byagowi -Date: Fri Jan 24 18:49:48 2020 +0330 - - Fold src/test-ot-glyph and src/test-ot-color into src/main - - src/Makefile.am | 10 -- - src/main.cc | 305 ++++++++++++++++++++++++++++++++++++++++++-- - src/test-ot-color.cc | 347 --------------------------------------------------- - src/test-ot-glyph.cc | 143 --------------------- - 4 files changed, 297 insertions(+), 508 deletions(-) - -commit b72337e57e791dd7f043a910273c0b433922d8e2 -Author: Ebrahim Byagowi -Date: Thu Jan 23 21:23:13 2020 +0330 - - [test] Adopt test-ot-color with ot-glyph and remove freetype/cairo dependecy - - src/Makefile.am | 8 +- - src/test-ot-color.cc | 237 +++++++++++++++++++++++++-------------------------- - 2 files changed, 120 insertions(+), 125 deletions(-) - -commit e171beeb5f3f26dee84373b4db223512675f5837 -Author: Ebrahim Byagowi -Date: Fri Jan 24 19:51:21 2020 +0330 - - Revert "[subset] Add "--name-languages" and "--name-legacy" options" - - Causes tests failures, please reapply when tests are fixed, thanks. - - This reverts commit fd85818b5b85fb0ad2db71c60e94ca0689d38bca. - - src/hb-ot-name-table.hh | 11 ---- - src/hb-subset-input.cc | 23 -------- - src/hb-subset-input.hh | 2 - - src/hb-subset-plan.cc | 3 -- - src/hb-subset-plan.hh | 4 -- - src/hb-subset.h | 9 ---- - test/api/hb-subset-test.h | 5 -- - .../Comfortaa-Regular-new.default.61,62,63.ttf | Bin 7392 -> 7460 bytes - .../basics/Comfortaa-Regular-new.default.61,63.ttf | Bin 7036 -> 7104 bytes - .../basics/Comfortaa-Regular-new.default.61.ttf | Bin 6684 -> 6752 bytes - .../basics/Comfortaa-Regular-new.default.62.ttf | Bin 6628 -> 6696 bytes - .../basics/Comfortaa-Regular-new.default.63.ttf | Bin 6608 -> 6676 bytes - ...aa-Regular-new.default.retain-all-codepoint.ttf | Bin 182876 -> 182944 bytes - ...Regular-new.drop-hints-retain-gids.61,62,63.ttf | Bin 4844 -> 4912 bytes - ...aa-Regular-new.drop-hints-retain-gids.61,63.ttf | Bin 4552 -> 4620 bytes - ...ortaa-Regular-new.drop-hints-retain-gids.61.ttf | Bin 3988 -> 4056 bytes - ...ortaa-Regular-new.drop-hints-retain-gids.62.ttf | Bin 4228 -> 4296 bytes - ...ortaa-Regular-new.drop-hints-retain-gids.63.ttf | Bin 4236 -> 4304 bytes - ...drop-hints-retain-gids.retain-all-codepoint.ttf | Bin 151672 -> 151740 bytes - .../Comfortaa-Regular-new.drop-hints.61,62,63.ttf | Bin 2852 -> 2920 bytes - .../Comfortaa-Regular-new.drop-hints.61,63.ttf | Bin 2552 -> 2620 bytes - .../basics/Comfortaa-Regular-new.drop-hints.61.ttf | Bin 2240 -> 2308 bytes - .../basics/Comfortaa-Regular-new.drop-hints.62.ttf | Bin 2228 -> 2296 bytes - .../basics/Comfortaa-Regular-new.drop-hints.63.ttf | Bin 2228 -> 2296 bytes - ...Regular-new.drop-hints.retain-all-codepoint.ttf | Bin 151608 -> 151676 bytes - .../Comfortaa-Regular-new.name-ids.61,62,63.ttf | Bin 7132 -> 7204 bytes - .../Comfortaa-Regular-new.name-ids.61,63.ttf | Bin 6776 -> 6848 bytes - .../basics/Comfortaa-Regular-new.name-ids.61.ttf | Bin 6424 -> 6496 bytes - .../basics/Comfortaa-Regular-new.name-ids.62.ttf | Bin 6368 -> 6440 bytes - .../basics/Comfortaa-Regular-new.name-ids.63.ttf | Bin 6348 -> 6420 bytes - ...a-Regular-new.name-ids.retain-all-codepoint.ttf | Bin 182616 -> 182688 bytes - ...mfortaa-Regular-new.name-languages.61,62,63.ttf | Bin 7392 -> 0 bytes - .../Comfortaa-Regular-new.name-languages.61,63.ttf | Bin 7036 -> 0 bytes - .../Comfortaa-Regular-new.name-languages.61.ttf | Bin 6684 -> 0 bytes - .../Comfortaa-Regular-new.name-languages.62.ttf | Bin 6628 -> 0 bytes - .../Comfortaa-Regular-new.name-languages.63.ttf | Bin 6608 -> 0 bytes - ...lar-new.name-languages.retain-all-codepoint.ttf | Bin 182876 -> 0 bytes - .../Comfortaa-Regular-new.name-legacy.61,62,63.ttf | Bin 7392 -> 0 bytes - .../Comfortaa-Regular-new.name-legacy.61,63.ttf | Bin 7036 -> 0 bytes - .../Comfortaa-Regular-new.name-legacy.61.ttf | Bin 6684 -> 0 bytes - .../Comfortaa-Regular-new.name-legacy.62.ttf | Bin 6628 -> 0 bytes - .../Comfortaa-Regular-new.name-legacy.63.ttf | Bin 6608 -> 0 bytes - ...egular-new.name-legacy.retain-all-codepoint.ttf | Bin 182876 -> 0 bytes - .../Comfortaa-Regular-new.retain-gids.61,62,63.ttf | Bin 9384 -> 9452 bytes - .../Comfortaa-Regular-new.retain-gids.61,63.ttf | Bin 9036 -> 9104 bytes - .../Comfortaa-Regular-new.retain-gids.61.ttf | Bin 8432 -> 8500 bytes - .../Comfortaa-Regular-new.retain-gids.62.ttf | Bin 8628 -> 8696 bytes - .../Comfortaa-Regular-new.retain-gids.63.ttf | Bin 8616 -> 8684 bytes - ...egular-new.retain-gids.retain-all-codepoint.ttf | Bin 182940 -> 183008 bytes - .../Roboto-Regular.abc.name-languages.61,62,63.ttf | Bin 2168 -> 0 bytes - .../Roboto-Regular.abc.name-languages.61,63.ttf | Bin 1988 -> 0 bytes - .../Roboto-Regular.abc.name-languages.61.ttf | Bin 1792 -> 0 bytes - .../Roboto-Regular.abc.name-languages.62.ttf | Bin 1740 -> 0 bytes - .../Roboto-Regular.abc.name-languages.63.ttf | Bin 1716 -> 0 bytes - ...lar.abc.name-languages.retain-all-codepoint.ttf | Bin 2168 -> 0 bytes - .../Roboto-Regular.abc.name-legacy.61,62,63.ttf | Bin 2168 -> 0 bytes - .../Roboto-Regular.abc.name-legacy.61,63.ttf | Bin 1988 -> 0 bytes - .../basics/Roboto-Regular.abc.name-legacy.61.ttf | Bin 1792 -> 0 bytes - .../basics/Roboto-Regular.abc.name-legacy.62.ttf | Bin 1740 -> 0 bytes - .../basics/Roboto-Regular.abc.name-legacy.63.ttf | Bin 1716 -> 0 bytes - ...egular.abc.name-legacy.retain-all-codepoint.ttf | Bin 2168 -> 0 bytes - ...eSansPro-Regular.default.1FC,21,41,20,62,63.otf | Bin 2180 -> 2384 bytes - .../SourceSansPro-Regular.default.61,62,63.otf | Bin 1892 -> 2096 bytes - ...ourceSansPro-Regular.default.D7,D8,D9,DA,DE.otf | Bin 2008 -> 2212 bytes - ...subroutinize-retain-gids.1FC,21,41,20,62,63.otf | Bin 19796 -> 20000 bytes - ...Regular.desubroutinize-retain-gids.61,62,63.otf | Bin 1992 -> 2196 bytes - ...r.desubroutinize-retain-gids.D7,D8,D9,DA,DE.otf | Bin 30208 -> 30412 bytes - ...o-Regular.desubroutinize.1FC,21,41,20,62,63.otf | Bin 2036 -> 2240 bytes - ...urceSansPro-Regular.desubroutinize.61,62,63.otf | Bin 1796 -> 2000 bytes - ...nsPro-Regular.desubroutinize.D7,D8,D9,DA,DE.otf | Bin 1992 -> 2196 bytes - ...subroutinize-retain-gids.1FC,21,41,20,62,63.otf | Bin 19636 -> 19840 bytes - ...p-hints-desubroutinize-retain-gids.61,62,63.otf | Bin 1868 -> 2072 bytes - ...s-desubroutinize-retain-gids.D7,D8,D9,DA,DE.otf | Bin 30060 -> 30264 bytes - ...rop-hints-desubroutinize.1FC,21,41,20,62,63.otf | Bin 1876 -> 2080 bytes - ...-Regular.drop-hints-desubroutinize.61,62,63.otf | Bin 1672 -> 1876 bytes - ...ar.drop-hints-desubroutinize.D7,D8,D9,DA,DE.otf | Bin 1844 -> 2048 bytes - ...r.drop-hints-retain-gids.1FC,21,41,20,62,63.otf | Bin 19728 -> 19932 bytes - ...Pro-Regular.drop-hints-retain-gids.61,62,63.otf | Bin 1904 -> 2108 bytes - ...gular.drop-hints-retain-gids.D7,D8,D9,DA,DE.otf | Bin 30072 -> 30276 bytes - ...nsPro-Regular.drop-hints.1FC,21,41,20,62,63.otf | Bin 1960 -> 2164 bytes - .../SourceSansPro-Regular.drop-hints.61,62,63.otf | Bin 1736 -> 1940 bytes - ...ceSansPro-Regular.drop-hints.D7,D8,D9,DA,DE.otf | Bin 1860 -> 2064 bytes - ...sPro-Regular.retain-gids.1FC,21,41,20,62,63.otf | Bin 19948 -> 20152 bytes - .../SourceSansPro-Regular.retain-gids.61,62,63.otf | Bin 2060 -> 2264 bytes - ...eSansPro-Regular.retain-gids.D7,D8,D9,DA,DE.otf | Bin 30224 -> 30428 bytes - .../Roboto-Regular.default.1FC,21,41,20,62,63.ttf | Bin 2984 -> 3164 bytes - .../full-font/Roboto-Regular.default.61,62,63.ttf | Bin 2580 -> 2760 bytes - .../Roboto-Regular.default.D7,D8,D9,DA,DE.ttf | Bin 2944 -> 3124 bytes - ...oboto-Regular.drop-hints.1FC,21,41,20,62,63.ttf | Bin 1436 -> 1616 bytes - .../Roboto-Regular.drop-hints.61,62,63.ttf | Bin 1228 -> 1408 bytes - .../Roboto-Regular.drop-hints.D7,D8,D9,DA,DE.ttf | Bin 1464 -> 1644 bytes - ...ifVariable-Roman.default.1FC,21,41,20,62,63.ttf | Bin 3572 -> 4132 bytes - .../SourceSerifVariable-Roman.default.61,62,63.ttf | Bin 3540 -> 4100 bytes - ...eSerifVariable-Roman.default.D7,D8,D9,DA,DE.ttf | Bin 4032 -> 4592 bytes - ...ariable-Roman.drop-hints.1FC,21,41,20,62,63.ttf | Bin 3572 -> 4132 bytes - ...urceSerifVariable-Roman.drop-hints.61,62,63.ttf | Bin 3540 -> 4100 bytes - ...rifVariable-Roman.drop-hints.D7,D8,D9,DA,DE.ttf | Bin 4032 -> 4592 bytes - .../Mplus1p-Regular.default.1D715,1D7D8,41,42.ttf | Bin 2108 -> 2260 bytes - ...gular.default.3042,3044,3046,3048,304A,304B.ttf | Bin 2532 -> 2684 bytes - ...gular.default.3042,3044,3046,73E0,5EA6,8F38.ttf | Bin 2776 -> 2928 bytes - .../Mplus1p-Regular.default.61,63,65,6B.ttf | Bin 2076 -> 2228 bytes - ...gular.default.660E,6975,73E0,5EA6,8F38,6E05.ttf | Bin 3072 -> 3224 bytes - .../japanese/Mplus1p-Regular.default.660E.ttf | Bin 1816 -> 1968 bytes - ...plus1p-Regular.drop-hints.1D715,1D7D8,41,42.ttf | Bin 1380 -> 1532 bytes - ...ar.drop-hints.3042,3044,3046,3048,304A,304B.ttf | Bin 1804 -> 1956 bytes - ...ar.drop-hints.3042,3044,3046,73E0,5EA6,8F38.ttf | Bin 2048 -> 2200 bytes - .../Mplus1p-Regular.drop-hints.61,63,65,6B.ttf | Bin 1348 -> 1500 bytes - ...ar.drop-hints.660E,6975,73E0,5EA6,8F38,6E05.ttf | Bin 2344 -> 2496 bytes - .../japanese/Mplus1p-Regular.drop-hints.660E.ttf | Bin 1088 -> 1240 bytes - test/subset/data/profiles/name-languages.txt | 1 - - test/subset/data/profiles/name-legacy.txt | 1 - - test/subset/data/tests/basics.tests | 2 - - test/subset/generate-expected-outputs.py | 6 ++- - util/options-subset.cc | 58 --------------------- - 114 files changed, 4 insertions(+), 121 deletions(-) - -commit 298c46afbfd48f014243be7d3e6dbba5e69d242d -Author: Dominik Röttsches -Date: Fri Jan 24 12:11:07 2020 +0200 - - Only prefer AAT morx for horizontal layout - - Fixes #2124. - - src/hb-ot-shape.cc | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit fd85818b5b85fb0ad2db71c60e94ca0689d38bca -Author: Qunxin Liu -Date: Tue Jan 21 13:37:28 2020 -0800 - - [subset] Add "--name-languages" and "--name-legacy" options - Make name table subsetting consistent with fontTools - - src/hb-ot-name-table.hh | 11 ++++ - src/hb-subset-input.cc | 23 ++++++++ - src/hb-subset-input.hh | 2 + - src/hb-subset-plan.cc | 3 ++ - src/hb-subset-plan.hh | 4 ++ - src/hb-subset.h | 9 ++++ - test/api/hb-subset-test.h | 5 ++ - .../Comfortaa-Regular-new.default.61,62,63.ttf | Bin 7460 -> 7392 bytes - .../basics/Comfortaa-Regular-new.default.61,63.ttf | Bin 7104 -> 7036 bytes - .../basics/Comfortaa-Regular-new.default.61.ttf | Bin 6752 -> 6684 bytes - .../basics/Comfortaa-Regular-new.default.62.ttf | Bin 6696 -> 6628 bytes - .../basics/Comfortaa-Regular-new.default.63.ttf | Bin 6676 -> 6608 bytes - ...aa-Regular-new.default.retain-all-codepoint.ttf | Bin 182944 -> 182876 bytes - ...Regular-new.drop-hints-retain-gids.61,62,63.ttf | Bin 4912 -> 4844 bytes - ...aa-Regular-new.drop-hints-retain-gids.61,63.ttf | Bin 4620 -> 4552 bytes - ...ortaa-Regular-new.drop-hints-retain-gids.61.ttf | Bin 4056 -> 3988 bytes - ...ortaa-Regular-new.drop-hints-retain-gids.62.ttf | Bin 4296 -> 4228 bytes - ...ortaa-Regular-new.drop-hints-retain-gids.63.ttf | Bin 4304 -> 4236 bytes - ...drop-hints-retain-gids.retain-all-codepoint.ttf | Bin 151740 -> 151672 bytes - .../Comfortaa-Regular-new.drop-hints.61,62,63.ttf | Bin 2920 -> 2852 bytes - .../Comfortaa-Regular-new.drop-hints.61,63.ttf | Bin 2620 -> 2552 bytes - .../basics/Comfortaa-Regular-new.drop-hints.61.ttf | Bin 2308 -> 2240 bytes - .../basics/Comfortaa-Regular-new.drop-hints.62.ttf | Bin 2296 -> 2228 bytes - .../basics/Comfortaa-Regular-new.drop-hints.63.ttf | Bin 2296 -> 2228 bytes - ...Regular-new.drop-hints.retain-all-codepoint.ttf | Bin 151676 -> 151608 bytes - .../Comfortaa-Regular-new.name-ids.61,62,63.ttf | Bin 7204 -> 7132 bytes - .../Comfortaa-Regular-new.name-ids.61,63.ttf | Bin 6848 -> 6776 bytes - .../basics/Comfortaa-Regular-new.name-ids.61.ttf | Bin 6496 -> 6424 bytes - .../basics/Comfortaa-Regular-new.name-ids.62.ttf | Bin 6440 -> 6368 bytes - .../basics/Comfortaa-Regular-new.name-ids.63.ttf | Bin 6420 -> 6348 bytes - ...a-Regular-new.name-ids.retain-all-codepoint.ttf | Bin 182688 -> 182616 bytes - ...mfortaa-Regular-new.name-languages.61,62,63.ttf | Bin 0 -> 7392 bytes - .../Comfortaa-Regular-new.name-languages.61,63.ttf | Bin 0 -> 7036 bytes - .../Comfortaa-Regular-new.name-languages.61.ttf | Bin 0 -> 6684 bytes - .../Comfortaa-Regular-new.name-languages.62.ttf | Bin 0 -> 6628 bytes - .../Comfortaa-Regular-new.name-languages.63.ttf | Bin 0 -> 6608 bytes - ...lar-new.name-languages.retain-all-codepoint.ttf | Bin 0 -> 182876 bytes - .../Comfortaa-Regular-new.name-legacy.61,62,63.ttf | Bin 0 -> 7392 bytes - .../Comfortaa-Regular-new.name-legacy.61,63.ttf | Bin 0 -> 7036 bytes - .../Comfortaa-Regular-new.name-legacy.61.ttf | Bin 0 -> 6684 bytes - .../Comfortaa-Regular-new.name-legacy.62.ttf | Bin 0 -> 6628 bytes - .../Comfortaa-Regular-new.name-legacy.63.ttf | Bin 0 -> 6608 bytes - ...egular-new.name-legacy.retain-all-codepoint.ttf | Bin 0 -> 182876 bytes - .../Comfortaa-Regular-new.retain-gids.61,62,63.ttf | Bin 9452 -> 9384 bytes - .../Comfortaa-Regular-new.retain-gids.61,63.ttf | Bin 9104 -> 9036 bytes - .../Comfortaa-Regular-new.retain-gids.61.ttf | Bin 8500 -> 8432 bytes - .../Comfortaa-Regular-new.retain-gids.62.ttf | Bin 8696 -> 8628 bytes - .../Comfortaa-Regular-new.retain-gids.63.ttf | Bin 8684 -> 8616 bytes - ...egular-new.retain-gids.retain-all-codepoint.ttf | Bin 183008 -> 182940 bytes - .../Roboto-Regular.abc.name-languages.61,62,63.ttf | Bin 0 -> 2168 bytes - .../Roboto-Regular.abc.name-languages.61,63.ttf | Bin 0 -> 1988 bytes - .../Roboto-Regular.abc.name-languages.61.ttf | Bin 0 -> 1792 bytes - .../Roboto-Regular.abc.name-languages.62.ttf | Bin 0 -> 1740 bytes - .../Roboto-Regular.abc.name-languages.63.ttf | Bin 0 -> 1716 bytes - ...lar.abc.name-languages.retain-all-codepoint.ttf | Bin 0 -> 2168 bytes - .../Roboto-Regular.abc.name-legacy.61,62,63.ttf | Bin 0 -> 2168 bytes - .../Roboto-Regular.abc.name-legacy.61,63.ttf | Bin 0 -> 1988 bytes - .../basics/Roboto-Regular.abc.name-legacy.61.ttf | Bin 0 -> 1792 bytes - .../basics/Roboto-Regular.abc.name-legacy.62.ttf | Bin 0 -> 1740 bytes - .../basics/Roboto-Regular.abc.name-legacy.63.ttf | Bin 0 -> 1716 bytes - ...egular.abc.name-legacy.retain-all-codepoint.ttf | Bin 0 -> 2168 bytes - ...eSansPro-Regular.default.1FC,21,41,20,62,63.otf | Bin 2384 -> 2180 bytes - .../SourceSansPro-Regular.default.61,62,63.otf | Bin 2096 -> 1892 bytes - ...ourceSansPro-Regular.default.D7,D8,D9,DA,DE.otf | Bin 2212 -> 2008 bytes - ...subroutinize-retain-gids.1FC,21,41,20,62,63.otf | Bin 20000 -> 19796 bytes - ...Regular.desubroutinize-retain-gids.61,62,63.otf | Bin 2196 -> 1992 bytes - ...r.desubroutinize-retain-gids.D7,D8,D9,DA,DE.otf | Bin 30412 -> 30208 bytes - ...o-Regular.desubroutinize.1FC,21,41,20,62,63.otf | Bin 2240 -> 2036 bytes - ...urceSansPro-Regular.desubroutinize.61,62,63.otf | Bin 2000 -> 1796 bytes - ...nsPro-Regular.desubroutinize.D7,D8,D9,DA,DE.otf | Bin 2196 -> 1992 bytes - ...subroutinize-retain-gids.1FC,21,41,20,62,63.otf | Bin 19840 -> 19636 bytes - ...p-hints-desubroutinize-retain-gids.61,62,63.otf | Bin 2072 -> 1868 bytes - ...s-desubroutinize-retain-gids.D7,D8,D9,DA,DE.otf | Bin 30264 -> 30060 bytes - ...rop-hints-desubroutinize.1FC,21,41,20,62,63.otf | Bin 2080 -> 1876 bytes - ...-Regular.drop-hints-desubroutinize.61,62,63.otf | Bin 1876 -> 1672 bytes - ...ar.drop-hints-desubroutinize.D7,D8,D9,DA,DE.otf | Bin 2048 -> 1844 bytes - ...r.drop-hints-retain-gids.1FC,21,41,20,62,63.otf | Bin 19932 -> 19728 bytes - ...Pro-Regular.drop-hints-retain-gids.61,62,63.otf | Bin 2108 -> 1904 bytes - ...gular.drop-hints-retain-gids.D7,D8,D9,DA,DE.otf | Bin 30276 -> 30072 bytes - ...nsPro-Regular.drop-hints.1FC,21,41,20,62,63.otf | Bin 2164 -> 1960 bytes - .../SourceSansPro-Regular.drop-hints.61,62,63.otf | Bin 1940 -> 1736 bytes - ...ceSansPro-Regular.drop-hints.D7,D8,D9,DA,DE.otf | Bin 2064 -> 1860 bytes - ...sPro-Regular.retain-gids.1FC,21,41,20,62,63.otf | Bin 20152 -> 19948 bytes - .../SourceSansPro-Regular.retain-gids.61,62,63.otf | Bin 2264 -> 2060 bytes - ...eSansPro-Regular.retain-gids.D7,D8,D9,DA,DE.otf | Bin 30428 -> 30224 bytes - .../Roboto-Regular.default.1FC,21,41,20,62,63.ttf | Bin 3164 -> 2984 bytes - .../full-font/Roboto-Regular.default.61,62,63.ttf | Bin 2760 -> 2580 bytes - .../Roboto-Regular.default.D7,D8,D9,DA,DE.ttf | Bin 3124 -> 2944 bytes - ...oboto-Regular.drop-hints.1FC,21,41,20,62,63.ttf | Bin 1616 -> 1436 bytes - .../Roboto-Regular.drop-hints.61,62,63.ttf | Bin 1408 -> 1228 bytes - .../Roboto-Regular.drop-hints.D7,D8,D9,DA,DE.ttf | Bin 1644 -> 1464 bytes - ...ifVariable-Roman.default.1FC,21,41,20,62,63.ttf | Bin 4132 -> 3572 bytes - .../SourceSerifVariable-Roman.default.61,62,63.ttf | Bin 4100 -> 3540 bytes - ...eSerifVariable-Roman.default.D7,D8,D9,DA,DE.ttf | Bin 4592 -> 4032 bytes - ...ariable-Roman.drop-hints.1FC,21,41,20,62,63.ttf | Bin 4132 -> 3572 bytes - ...urceSerifVariable-Roman.drop-hints.61,62,63.ttf | Bin 4100 -> 3540 bytes - ...rifVariable-Roman.drop-hints.D7,D8,D9,DA,DE.ttf | Bin 4592 -> 4032 bytes - .../Mplus1p-Regular.default.1D715,1D7D8,41,42.ttf | Bin 2260 -> 2108 bytes - ...gular.default.3042,3044,3046,3048,304A,304B.ttf | Bin 2684 -> 2532 bytes - ...gular.default.3042,3044,3046,73E0,5EA6,8F38.ttf | Bin 2928 -> 2776 bytes - .../Mplus1p-Regular.default.61,63,65,6B.ttf | Bin 2228 -> 2076 bytes - ...gular.default.660E,6975,73E0,5EA6,8F38,6E05.ttf | Bin 3224 -> 3072 bytes - .../japanese/Mplus1p-Regular.default.660E.ttf | Bin 1968 -> 1816 bytes - ...plus1p-Regular.drop-hints.1D715,1D7D8,41,42.ttf | Bin 1532 -> 1380 bytes - ...ar.drop-hints.3042,3044,3046,3048,304A,304B.ttf | Bin 1956 -> 1804 bytes - ...ar.drop-hints.3042,3044,3046,73E0,5EA6,8F38.ttf | Bin 2200 -> 2048 bytes - .../Mplus1p-Regular.drop-hints.61,63,65,6B.ttf | Bin 1500 -> 1348 bytes - ...ar.drop-hints.660E,6975,73E0,5EA6,8F38,6E05.ttf | Bin 2496 -> 2344 bytes - .../japanese/Mplus1p-Regular.drop-hints.660E.ttf | Bin 1240 -> 1088 bytes - test/subset/data/profiles/name-languages.txt | 1 + - test/subset/data/profiles/name-legacy.txt | 1 + - test/subset/data/tests/basics.tests | 2 + - test/subset/generate-expected-outputs.py | 6 +-- - util/options-subset.cc | 58 +++++++++++++++++++++ - 114 files changed, 121 insertions(+), 4 deletions(-) - -commit c370da45ff0dd64c2868be313e640272931cffed -Author: Qunxin Liu -Date: Wed Jan 22 11:36:15 2020 -0800 - - [subset] Cmap table: remove encodingRecord entry for empty cmap4 subtable - - src/hb-ot-cmap-table.hh | 10 ++++++---- - test/api/fonts/Roboto-Regular.empty.ttf | Bin 0 -> 1456 bytes - test/api/test-subset-cmap.c | 21 +++++++++++++++++++++ - .../japanese/Mplus1p-Regular.default.25771.ttf | Bin 0 -> 1976 bytes - .../japanese/Mplus1p-Regular.drop-hints.25771.ttf | Bin 0 -> 1248 bytes - test/subset/data/tests/japanese.tests | 1 + - 6 files changed, 28 insertions(+), 4 deletions(-) - -commit d3fff622b35725bbdfb07fea98a58f56199991f4 -Author: ckitagawa -Date: Thu Jan 23 11:36:47 2020 -0500 - - Move push call to caller - - src/hb-ot-color-sbix-table.hh | 4 +--- - 1 file changed, 1 insertion(+), 3 deletions(-) - -commit 7dc341fe745bc1784b08efd4c658de292b958b0d -Author: ckitagawa -Date: Thu Jan 23 11:09:15 2020 -0500 - - [subset] Fix UBSAN issue in sbix - - src/hb-ot-color-sbix-table.hh | 5 +++-- - ...z-testcase-minimized-hb-subset-fuzzer-5753173985984512 | Bin 0 -> 616 bytes - 2 files changed, 3 insertions(+), 2 deletions(-) - -commit acb4627ebaf595e266cf294ef047e87084b520da -Author: ariza -Date: Wed Jan 22 12:28:30 2020 -0800 - - add api test - - test/api/fonts/AdobeVFPrototype.WA.gpos.otf | Bin 0 -> 3948 bytes - test/api/fonts/AdobeVFPrototype.WAV.gpos.otf | Bin 0 -> 4448 bytes - test/api/test-subset-gpos.c | 27 +++++++++++++++++++++++++++ - 3 files changed, 27 insertions(+) - -commit 1ab3924b3171b408438f5df6a4d48124d9d1bd68 -Author: ariza -Date: Wed Jan 22 11:20:56 2020 -0800 - - refix PR #2087 subset PairPos1 - - also added oss-fuzz 20211 data fixed by this - - src/hb-ot-layout-gpos-table.hh | 10 ++++------ - ...-testcase-minimized-hb-subset-fuzzer-5206191479455744 | Bin 0 -> 3558 bytes - 2 files changed, 4 insertions(+), 6 deletions(-) - -commit 7633b7695e5b6188d6180fc5592c0678f03327ed -Merge: 3747b329b 02f324c94 -Author: Ebrahim Byagowi -Date: Thu Jan 23 18:51:40 2020 +0330 - - Merge pull request #2016 from ebraminio/glyf - - Implement glyph outline path API - -commit 02f324c9499a95463c363926a0f38c261fad7117 -Author: Ebrahim Byagowi -Date: Thu Jan 23 15:12:12 2020 +0330 - - [ot-glyph] remove open callback - - Apparently it wasn't requested actually and can be detected easily - as paths are opened usually when move command is issued anyway. - - docs/harfbuzz-sections.txt | 2 -- - src/hb-ot-cff1-table.cc | 2 +- - src/hb-ot-cff2-table.cc | 2 +- - src/hb-ot-glyf-table.hh | 1 - - src/hb-ot-glyph.cc | 31 ++++++++----------------------- - src/hb-ot-glyph.h | 5 ----- - src/hb-ot-glyph.hh | 1 - - src/test-ot-glyph.cc | 1 + - test/api/test-ot-glyph.c | 4 ---- - 9 files changed, 11 insertions(+), 38 deletions(-) - -commit 684ff3e0cd77dfa5e83c2110ea613b8b9678d4f5 -Author: Ebrahim Byagowi -Date: Thu Jan 23 14:48:59 2020 +0330 - - [ot-glyph] noop->nil, fix close path - - src/hb-ot-cff1-table.cc | 10 +++++----- - src/hb-ot-cff2-table.cc | 6 +++--- - src/hb-ot-glyph.cc | 23 ++++++++++------------- - test/api/test-ot-glyph.c | 22 +++++++++++----------- - 4 files changed, 29 insertions(+), 32 deletions(-) - -commit 3747b329b2a8be0f234fca861364951bf9de1797 -Author: ckitagawa -Date: Wed Jan 22 09:07:32 2020 -0500 - - Address garretrieger@'s comments - - src/hb-ot-color-sbix-table.hh | 18 ++++++++---------- - 1 file changed, 8 insertions(+), 10 deletions(-) - -commit b18cb5b5ee56477e85cf82b299ac08df6202b148 -Author: ckitagawa -Date: Tue Jan 21 15:43:12 2020 -0500 - - Add second fixed test - - ...estcase-minimized-hb-subset-fuzzer-5747028458209280 | Bin 0 -> 100109 bytes - 1 file changed, 0 insertions(+), 0 deletions(-) - -commit af62c1c3b036904a18e0ed0748ead255029bc9f3 -Author: ckitagawa -Date: Tue Jan 21 15:19:33 2020 -0500 - - Fix style issue - - src/hb-ot-color-sbix-table.hh | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 8614a30bc9763ba7f8b452df5527d806bacf4fd9 -Author: ckitagawa -Date: Tue Jan 21 15:14:03 2020 -0500 - - [subset] Fix sbix fuzz problem - - src/hb-ot-color-sbix-table.hh | 20 +++++++++++++------- - ...case-minimized-hb-subset-fuzzer-5741295280848896 | Bin 0 -> 98822 bytes - 2 files changed, 13 insertions(+), 7 deletions(-) - -commit 72cbfb9059ac4f041cffaef86a1d8067a93b16ec -Author: ariza -Date: Sat Jan 18 16:35:52 2020 -0800 - - remove empty lookup subtables - - Added a variant of subset_offset_array which takes an extra arg passed to serialize_subset for this impl. - Added a new api test "test-subset-gpos" for this. - - src/hb-ot-layout-common.hh | 70 ++++++++++++++++++++++++----- - src/hb-ot-layout-gpos-table.hh | 6 +++ - src/hb-ot-layout-gsub-table.hh | 6 +++ - test/api/Makefile.am | 2 + - test/api/fonts/Roboto-Regular-gpos-.aw.ttf | Bin 0 -> 2368 bytes - test/api/fonts/Roboto-Regular-gpos-aw.ttf | Bin 0 -> 2232 bytes - test/api/test-subset-gpos.c | 65 +++++++++++++++++++++++++++ - 7 files changed, 139 insertions(+), 10 deletions(-) - -commit a3cf4ae0804f2971bcda4266dbeec245bce21eb1 -Author: Qunxin Liu -Date: Fri Jan 17 13:02:47 2020 -0800 - - [subset] Add more tests for GPOS1 subsetting - These tests were left out because of issue: https://github.com/fonttools/fonttools/issues/1709 - Now re-adding these tests since the issue is resolved. - - .../gpos1_2_font.keep-layout-retain-gids.41.otf | Bin 0 -> 1932 bytes - .../layout.gpos/gpos1_2_font.keep-layout.41,43.otf | Bin 0 -> 1352 bytes - .../layout.gpos/gpos1_2_font.keep-layout.41,46.otf | Bin 0 -> 1484 bytes - .../expected/layout.gpos/gpos1_2_font.keep-layout.41.otf | Bin 0 -> 1232 bytes - .../layout.gpos/gpos1_2_font.keep-layout.42,44.otf | Bin 0 -> 1268 bytes - .../layout.gpos/gpos1_2_font.keep-layout.43,46.otf | Bin 0 -> 1348 bytes - .../gpos1_2_font.keep-layout.retain-all-codepoint.otf | Bin 0 -> 3668 bytes - test/subset/data/tests/layout.gpos.tests | 2 ++ - 8 files changed, 2 insertions(+) - -commit 8f49aaa16f2dff5902142988b3a5a039a03129eb -Author: Michiharu Ariza -Date: Thu Jan 16 15:15:15 2020 -0800 - - minor: un-include glyf.hh in gvar.hh - - src/hb-ot-var-gvar-table.hh | 1 - - 1 file changed, 1 deletion(-) - -commit c828d7bf76dd039be1775edff1d798dbcc10708b -Author: Michiharu Ariza -Date: Wed Jan 15 15:32:44 2020 -0800 - - [subset] fixed GPOS device table sanitize & serialize (#2087) - - src/hb-ot-layout-gpos-table.hh | 112 ++++++++++++++++++++++++++++++++++------- - 1 file changed, 93 insertions(+), 19 deletions(-) - -commit e565d1f9bcf3d9bf607e194e3a9cf06f5d2e3633 -Author: Qunxin Liu -Date: Fri Nov 1 10:21:36 2019 -0700 - - [subset] subset lookup/feature/script lists for GSUB/GPOS - - src/hb-ot-layout-common.hh | 396 +++++++++++++++++---- - src/hb-ot-layout-gpos-table.hh | 5 +- - src/hb-ot-layout-gsub-table.hh | 5 +- - src/hb-ot-layout-gsubgpos.hh | 41 ++- - test/api/test-ot-face.c | 7 + - .../gpos1_2_font.keep-layout-retain-gids.42,44.otf | Bin 0 -> 1992 bytes - ...s2_1_font7.keep-layout-retain-gids.41,42,43.otf | Bin 0 -> 1988 bytes - .../gpos2_1_font7.keep-layout.41,42,43.otf | Bin 0 -> 1288 bytes - ...s2_2_font5.keep-layout-retain-gids.41,42,43.otf | Bin 0 -> 1988 bytes - .../gpos2_2_font5.keep-layout.41,42,43.otf | Bin 0 -> 1288 bytes - ...pos3_font3.keep-layout-retain-gids.41,42,43.otf | Bin 0 -> 1984 bytes - .../gpos3_font3.keep-layout.41,42,43.otf | Bin 0 -> 1284 bytes - ...ubrules_f1.keep-layout-retain-gids.41,42,43.otf | Bin 0 -> 2044 bytes - ...1_multiple_subrules_f1.keep-layout.41,42,43.otf | Bin 0 -> 1344 bytes - ...ubrules_f1.keep-layout-retain-gids.41,42,43.otf | Bin 0 -> 2044 bytes - ...2_multiple_subrules_f1.keep-layout.41,42,43.otf | Bin 0 -> 1344 bytes - ..._simple_f2.keep-layout-retain-gids.41,42,43.otf | Bin 0 -> 2020 bytes - ...ub_chaining3_simple_f2.keep-layout.41,42,43.otf | Bin 0 -> 1320 bytes - test/subset/data/tests/layout.gpos.tests | 1 + - test/subset/data/tests/layout.gpos2.tests | 1 + - test/subset/data/tests/layout.gpos3.tests | 1 + - test/subset/data/tests/layout.gsub6.tests | 1 + - 22 files changed, 380 insertions(+), 78 deletions(-) - -commit 93376a64362a0d062aa3f9f39bfe0d7b4328a92e -Author: ckitagawa -Date: Wed Jan 15 13:11:40 2020 -0500 - - Add unittests - - src/hb-subset-input.cc | 2 - - test/api/Makefile.am | 2 + - test/api/fonts/sbix.ttf | Bin 0 -> 193528 bytes - test/api/fonts/sbix_X.ttf | Bin 0 -> 121168 bytes - test/api/test-subset-sbix.c | 81 +++++++++++++++++++++ - .../data/expected/sbix/sbix.default.58,59.ttf | Bin 196080 -> 193528 bytes - test/subset/data/expected/sbix/sbix.default.58.ttf | Bin 122736 -> 121168 bytes - test/subset/data/expected/sbix/sbix.default.59.ttf | Bin 90344 -> 89364 bytes - .../sbix/sbix.drop-hints-retain-gids.58,59.ttf | Bin 196080 -> 193528 bytes - .../sbix/sbix.drop-hints-retain-gids.58.ttf | Bin 122736 -> 121168 bytes - .../sbix/sbix.drop-hints-retain-gids.59.ttf | Bin 90384 -> 89404 bytes - .../data/expected/sbix/sbix.drop-hints.58,59.ttf | Bin 196080 -> 193528 bytes - .../data/expected/sbix/sbix.drop-hints.58.ttf | Bin 122736 -> 121168 bytes - .../data/expected/sbix/sbix.drop-hints.59.ttf | Bin 90344 -> 89364 bytes - .../data/expected/sbix/sbix.retain-gids.58,59.ttf | Bin 196080 -> 193528 bytes - .../data/expected/sbix/sbix.retain-gids.58.ttf | Bin 122736 -> 121168 bytes - .../data/expected/sbix/sbix.retain-gids.59.ttf | Bin 90384 -> 89404 bytes - test/subset/data/fonts/sbix.ttf | Bin 196080 -> 193528 bytes - 18 files changed, 83 insertions(+), 2 deletions(-) - -commit 6bcf57eaa3d9b1381e384743a2fbee912d72474e -Author: ckitagawa -Date: Tue Jan 14 14:56:02 2020 -0500 - - Simplify copy and add fuzzing coverage - - src/hb-ot-color-sbix-table.hh | 7 ++----- - test/fuzzing/fonts/sbix.ttf | Bin 0 -> 196080 bytes - 2 files changed, 2 insertions(+), 5 deletions(-) - -commit 78b50a67be6fb40e715132eabe9b05c64ddd99c8 -Author: ckitagawa -Date: Tue Jan 14 11:01:09 2020 -0500 - - Address initial comments - - src/hb-ot-color-sbix-table.hh | 49 +++++++++------------ - .../data/expected/sbix/sbix.default.58,59.ttf | Bin 0 -> 196080 bytes - .../sbix/sbix.drop-hints-retain-gids.58,59.ttf | Bin 0 -> 196080 bytes - .../data/expected/sbix/sbix.drop-hints.58,59.ttf | Bin 0 -> 196080 bytes - .../data/expected/sbix/sbix.retain-gids.58,59.ttf | Bin 0 -> 196080 bytes - test/subset/data/tests/sbix.tests | 2 +- - 6 files changed, 23 insertions(+), 28 deletions(-) - -commit 43b6c865aeb763944362375e1c345afcd60211b4 -Author: ckitagawa -Date: Thu Jan 9 10:44:20 2020 -0500 - - [subset] Support sbix subsetting - - src/hb-ot-color-sbix-table.hh | 126 +++++++++++++++++++++ - src/hb-subset.cc | 4 + - test/subset/data/Makefile.am | 1 + - test/subset/data/Makefile.sources | 1 + - test/subset/data/expected/sbix/sbix.default.58.ttf | Bin 0 -> 122736 bytes - test/subset/data/expected/sbix/sbix.default.59.ttf | Bin 0 -> 90344 bytes - .../sbix/sbix.drop-hints-retain-gids.58.ttf | Bin 0 -> 122736 bytes - .../sbix/sbix.drop-hints-retain-gids.59.ttf | Bin 0 -> 90384 bytes - .../data/expected/sbix/sbix.drop-hints.58.ttf | Bin 0 -> 122736 bytes - .../data/expected/sbix/sbix.drop-hints.59.ttf | Bin 0 -> 90344 bytes - .../data/expected/sbix/sbix.retain-gids.58.ttf | Bin 0 -> 122736 bytes - .../data/expected/sbix/sbix.retain-gids.59.ttf | Bin 0 -> 90384 bytes - test/subset/data/fonts/sbix.ttf | Bin 0 -> 196080 bytes - test/subset/data/tests/sbix.tests | 13 +++ - test/subset/generate-expected-outputs.py | 1 + - test/subset/run-tests.py | 3 +- - 16 files changed, 148 insertions(+), 1 deletion(-) - -commit 79fed9a1e42397ed4044d3ce8f042309f0e4cde8 -Author: Ebrahim Byagowi -Date: Tue Jan 14 17:23:30 2020 +0330 - - [ot-glyph] Add open/close callbacks - - docs/harfbuzz-sections.txt | 4 ++++ - src/hb-ot-cff1-table.cc | 4 ++-- - src/hb-ot-cff2-table.cc | 4 ++-- - src/hb-ot-glyf-table.hh | 9 ++++++-- - src/hb-ot-glyph.cc | 39 +++++++++++++++++++++++++++++++ - src/hb-ot-glyph.h | 10 ++++++++ - src/hb-ot-glyph.hh | 2 ++ - src/test-ot-glyph.cc | 6 +++++ - test/api/test-ot-glyph.c | 57 +++++++++++++++++++++++++++++----------------- - 9 files changed, 108 insertions(+), 27 deletions(-) - -commit ec1fba1388c329c7216bcdaa9a86627abfc85637 -Author: Ebrahim Byagowi -Date: Mon Jan 13 19:31:18 2020 +0330 - - [ot-glyph] make hb_ot_glyph_decompose_funcs_t struct opaque - - docs/harfbuzz-sections.txt | 11 +++- - src/Makefile.sources | 1 + - src/hb-ot-cff1-table.cc | 11 ++-- - src/hb-ot-cff1-table.hh | 2 +- - src/hb-ot-cff2-table.cc | 7 +- - src/hb-ot-cff2-table.hh | 2 +- - src/hb-ot-glyf-table.hh | 3 +- - src/hb-ot-glyph.cc | 156 ++++++++++++++++++++++++++++++++++++++++++++- - src/hb-ot-glyph.h | 41 ++++++++---- - src/hb-ot-glyph.hh | 44 +++++++++++++ - src/test-ot-glyph.cc | 14 ++-- - test/api/test-ot-face.c | 34 ++-------- - test/api/test-ot-glyph.c | 51 ++++++--------- - 13 files changed, 281 insertions(+), 96 deletions(-) - -commit 8ffc9add2237899afc57184ad3297404659bc1cd -Author: Qunxin Liu -Date: Thu Oct 31 15:59:02 2019 -0700 - - [subset] layout closure_features and store them in subset-plan - - docs/harfbuzz-sections.txt | 1 + - src/hb-ot-layout-common.hh | 35 ++++++++++++++++++++++++++++ - src/hb-ot-layout-gsubgpos.hh | 14 +++++++++++ - src/hb-ot-layout.cc | 21 +++++++++++++++++ - src/hb-ot-layout.h | 6 +++++ - src/hb-subset-plan.cc | 55 +++++++++++++++++++++++++++++++------------- - src/hb-subset-plan.hh | 4 ++++ - 7 files changed, 120 insertions(+), 16 deletions(-) - -commit 66dfd605b5b9aaf74ff806ba1719ca09a1003909 -Author: Dominik Röttsches -Date: Mon Jan 13 15:50:27 2020 +0200 - - Fix duplicate check in hb_ot_rotate chars - - Fixes #2099. Fix indentation in mirroring section as well. - - src/hb-ot-shape.cc | 1 - - 1 file changed, 1 deletion(-) - -commit d7c3cb18ee6b2ffe529c5d703fae1cd965f39dc9 -Author: Ebrahim Byagowi -Date: Mon Jan 13 17:35:57 2020 +0330 - - [ot-glyph] minor on tests - - src/test-ot-glyph.cc | 28 +++++++---------- - test/api/test-ot-face.c | 13 ++++---- - test/api/test-ot-glyph.c | 81 ++++++++++++++++++++++++++++++++++-------------- - 3 files changed, 77 insertions(+), 45 deletions(-) - -commit dc03a993d0f2b6db7c5cfb11eaa6e8a4f6f274e6 -Author: Ebrahim Byagowi -Date: Sun Jan 12 14:21:29 2020 +0330 - - Fix collect lookups logic of FeatureTableSubstitution (#2097) - - https://crbug.com/oss-fuzz/20036 - - src/hb-ot-layout-common.hh | 6 +++--- - ...-testcase-minimized-hb-subset-fuzzer-5715299773186048 | Bin 0 -> 6717 bytes - 2 files changed, 3 insertions(+), 3 deletions(-) - -commit a32ecc15aec6518f5a126fb8f3643e563327f74d -Author: Ebrahim Byagowi -Date: Sat Jan 11 15:37:24 2020 +0330 - - Fix collect lookups logic of FeatureVariationRecord - - As "Offset to a feature table substitution table, from beginning of the FeatureVariations table." - from https://docs.microsoft.com/en-us/typography/opentype/spec/chapter2 the record should - match its sanitize logic not the reverse way. - - Fixes https://crbug.com/oss-fuzz/20021 and https://crbug.com/oss-fuzz/20022 - - src/hb-ot-layout-common.hh | 7 ++++--- - ...zz-testcase-minimized-hb-subset-fuzzer-5167653459329024 | Bin 0 -> 46 bytes - ...zz-testcase-minimized-hb-subset-fuzzer-5642531954229248 | Bin 0 -> 46 bytes - 3 files changed, 4 insertions(+), 3 deletions(-) - -commit 1a4c658b43152ab01bcb6d151940c09cc1e8fc56 -Author: Ebrahim Byagowi -Date: Sat Jan 11 01:30:05 2020 +0330 - - Use REPLACEME tag - - So we can use the version we like when we decide what it should be while the next release - and can review the API before the release one other time. - - src/hb-ot-layout.cc | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit d7454cf07eeb87600d8fcf23ada3617b6bda0f35 -Merge: 9cd76813a 0b39c4806 -Author: Ebrahim Byagowi -Date: Sat Jan 11 01:24:39 2020 +0330 - - [subset] closure lookups for GSUB/GPOS - -commit 0b39c48064864850193bc80e2566839546be3551 -Author: Qunxin Liu -Date: Tue Oct 22 16:00:43 2019 -0700 - - [subset] closure lookups for GSUB/GPOS - - docs/harfbuzz-sections.txt | 1 + - src/hb-ot-layout-common.hh | 30 ++++++++ - src/hb-ot-layout-gpos-table.hh | 42 +++++++++++ - src/hb-ot-layout-gsub-table.hh | 39 ++++++++++ - src/hb-ot-layout-gsubgpos.hh | 158 ++++++++++++++++++++++++++++++++++++++++- - src/hb-ot-layout.cc | 44 ++++++++++++ - src/hb-ot-layout.h | 6 ++ - src/hb-subset-plan.cc | 56 +++++++++++++-- - src/hb-subset-plan.hh | 4 ++ - test/api/test-ot-face.c | 5 ++ - 10 files changed, 379 insertions(+), 6 deletions(-) - -commit 42f4f1ea5013e9879fdb008021956c32247fa3db -Author: Ebrahim Byagowi -Date: Sat Jan 11 00:00:51 2020 +0330 - - [ot-glyph] Add tests for hb_ot_glyph_decompose - - src/hb-ot-glyf-table.hh | 2 +- - test/api/Makefile.am | 1 + - test/api/test-ot-face.c | 24 +++--- - test/api/test-ot-glyph.c | 190 +++++++++++++++++++++++++++++++++++++++++++++++ - 4 files changed, 207 insertions(+), 10 deletions(-) - -commit 06a1fcb3b47050257f7819eb3d6043cf78ebbac2 -Author: Ebrahim Byagowi -Date: Fri Jan 10 23:12:30 2020 +0330 - - [ot-glyphs] fix the tests - - src/hb-ot-cff1-table.cc | 4 ++-- - src/hb-ot-cff2-table.cc | 2 +- - src/hb-ot-glyph.h | 2 +- - test/api/test-ot-face.c | 25 +++++++++++++++++++++++-- - 4 files changed, 27 insertions(+), 6 deletions(-) - -commit 084a8182fb5c79cb8ebb41e015992fc4e4daea4a -Author: Ebrahim Byagowi -Date: Fri Jan 10 22:14:46 2020 +0330 - - [ot-glyphs] Move CFF glyph decompose logic to their tables - - Thus making path decompose zero alloc on CFF/CFF2 - - docs/harfbuzz-sections.txt | 14 ++++---- - src/hb-ot-cff1-table.cc | 85 +++++++++++++++++++++++++++------------------- - src/hb-ot-cff1-table.hh | 3 +- - src/hb-ot-cff2-table.cc | 62 ++++++++++++++++----------------- - src/hb-ot-cff2-table.hh | 6 ++-- - src/hb-ot-glyph.cc | 41 ++-------------------- - 6 files changed, 93 insertions(+), 118 deletions(-) - -commit 61185235025db6b205dea65c5423905d69c457cd -Author: Ebrahim Byagowi -Date: Fri Jan 10 21:08:21 2020 +0330 - - [ot-glyph] move glyph decompose logic of glyf to itself - - One less vector allocation yet isn't zero alloc yet - which needs more work. - - src/hb-ot-glyf-table.hh | 31 +++++++++++++++---------------- - src/hb-ot-glyph.cc | 16 ++++++---------- - src/test-ot-glyph.cc | 7 ++++++- - 3 files changed, 27 insertions(+), 27 deletions(-) - -commit 017f606c83cbf410cb61b7a4cdc2e9cd1bb3e1b6 -Author: Ebrahim Byagowi -Date: Fri Jan 10 20:44:15 2020 +0330 - - [ot-glyph] rewrite the API - - src/hb-ot-glyph.cc | 176 ++++++++++++--------------------------------------- - src/hb-ot-glyph.h | 59 +++++++++-------- - src/test-ot-glyph.cc | 83 +++++++++++++++--------- - 3 files changed, 126 insertions(+), 192 deletions(-) - -commit 9cd76813ab0280238dd7baa1bc58405333e5fa5d -Author: Evgeniy Reizner -Date: Fri Jan 10 17:36:41 2020 +0200 - - Fix malformed readme. (#2093) - - README.md | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 05443e55bc232f0a6a08d5ef6cc58ebf3e373ee7 -Author: Ebrahim Byagowi -Date: Thu Nov 28 09:16:58 2019 +0330 - - [ot-glyph] Return empty path for empty faces - - src/hb-ot-glyph.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 6e7602c1049a1b409c1db61ac2dfa2d2b57a170d -Author: Ebrahim Byagowi -Date: Thu Nov 28 08:43:00 2019 +0330 - - [ot-glyph] Fix leaks - - src/hb-ot-glyph.cc | 17 +++++++++++++++-- - 1 file changed, 15 insertions(+), 2 deletions(-) - -commit 5b08596d60f4e8b8efb92d3701eeb100bdad71ca -Author: Ebrahim Byagowi -Date: Thu Nov 28 08:42:45 2019 +0330 - - [gvar] Don't apply anything when no coords is given - - src/hb-ot-var-gvar-table.hh | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 742aaa136343e1aed223612f0801a7e17bb92936 -Author: Ebrahim Byagowi -Date: Wed Nov 27 23:18:43 2019 +0330 - - [ot-glyf] Fix leak issue - - src/hb-ot-glyph.cc | 2 ++ - 1 file changed, 2 insertions(+) - -commit fddf79fc3735274f0252596c28fff8034916b1ca -Author: Ebrahim Byagowi -Date: Mon Oct 21 14:11:27 2019 +0330 - - [glyf] minor - - src/hb-ot-glyf-table.hh | 7 ++----- - test/api/test-ot-face.c | 3 +++ - 2 files changed, 5 insertions(+), 5 deletions(-) - -commit 0b559d750fbc2a99d1605e1c35c228f938bf2bf1 -Author: Ebrahim Byagowi -Date: Mon Oct 21 13:52:48 2019 +0330 - - [ot-glyph] Improve API names - - docs/harfbuzz-sections.txt | 12 ++++++++++++ - src/hb-ot-glyph.cc | 10 +++++----- - src/hb-ot-glyph.h | 23 ++++++++++++----------- - src/test-ot-glyph.cc | 10 ++++++++-- - 4 files changed, 37 insertions(+), 18 deletions(-) - -commit af08f388ab2c2e48f39c0b31644baab5b37c1975 -Author: Ebrahim Byagowi -Date: Mon Oct 21 13:28:05 2019 +0330 - - [ot-glyph] Support CFF1's seac - - src/hb-ot-cff1-table.cc | 45 +++++++++++++++++++++------------------------ - 1 file changed, 21 insertions(+), 24 deletions(-) - -commit 04ac7fb1c9f93c7002792e5d676b6a145d3be628 -Author: Ebrahim Byagowi -Date: Mon Oct 21 13:06:12 2019 +0330 - - [ot-glyph] Add cff2 support - - src/hb-ot-cff1-table.cc | 45 +++++++++++++++---------- - src/hb-ot-cff2-table.cc | 87 +++++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-ot-cff2-table.hh | 4 +++ - src/hb-ot-glyf-table.hh | 26 +++++++++------ - src/hb-ot-glyph.cc | 25 +++++++------- - src/hb-ot-glyph.h | 2 +- - 6 files changed, 148 insertions(+), 41 deletions(-) - -commit 5cc09c462bad8532c220813b1cccb72d2e2ff855 -Author: Ebrahim Byagowi -Date: Sun Oct 20 16:24:14 2019 +0330 - - [ot-glyph] Initial cff1 support - - src/hb-ot-cff1-table.cc | 110 ++++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-ot-cff1-table.hh | 1 + - src/hb-ot-glyph.cc | 5 +++ - 3 files changed, 116 insertions(+) - -commit 3dcba9f21554db54daf89d4566938c5a69636b5b -Author: Ebrahim Byagowi -Date: Sun Oct 20 16:23:27 2019 +0330 - - [ot-glyph] Redesign the API - - src/hb-ot-glyph.cc | 143 ++++++++++++++++++++++++++++++++++++++++++++------- - src/hb-ot-glyph.h | 40 +++++++++----- - src/test-ot-glyph.cc | 38 ++++++++++---- - 3 files changed, 179 insertions(+), 42 deletions(-) - -commit b8b3ff1a02c637163d8629d51843f6822a12cdef -Author: Ebrahim Byagowi -Date: Mon Oct 14 15:37:41 2019 +0330 - - [glyph] Don't copy, write directly into result - - src/hb-ot-glyf-table.hh | 26 ++++++++++---------------- - src/hb-ot-glyph.cc | 25 ++++++++++++++++--------- - src/test-ot-glyph.cc | 6 ++++-- - 3 files changed, 30 insertions(+), 27 deletions(-) - -commit f883c31cce18372269fc1e46b3379295de7c9f7c -Author: Ebrahim Byagowi -Date: Sun Oct 13 12:31:53 2019 +0330 - - Implement glyph outline path API - - Got help from https://github.com/opentypejs/opentype.js/blob/4e0bb99/src/tables/glyf.js#L222 - - src/Makefile.am | 5 ++ - src/Makefile.sources | 2 + - src/harfbuzz.cc | 1 + - src/hb-ot-glyf-table.hh | 119 +++++++++++++++++++++++++++++++++----------- - src/hb-ot-glyph.cc | 50 +++++++++++++++++++ - src/hb-ot-glyph.h | 52 +++++++++++++++++++ - src/hb-ot-var-gvar-table.hh | 6 ++- - src/hb-ot.h | 1 + - src/test-ot-glyph.cc | 84 +++++++++++++++++++++++++++++++ - 9 files changed, 290 insertions(+), 30 deletions(-) - -commit d2ab1ec65b1697b113b2b923c63e300659cf1998 -Author: Michiharu Ariza -Date: Thu Jan 9 20:24:16 2020 -0800 - - fixes oss-fuzz 19978: Null-dereference READ (#2091) - - src/hb-ot-var-hvar-table.hh | 1 + - ...-testcase-minimized-hb-subset-fuzzer-5148388450631680 | Bin 0 -> 2685 bytes - 2 files changed, 1 insertion(+) - -commit 5e55a6d6910e3c942638ad6e9fa1e38befb36c12 -Author: Ebrahim Byagowi -Date: Thu Jan 9 23:40:40 2020 +0330 - - [subset/hvar] minor - - not super excited about state of the code around, assuming was needed - so let's add this may unlikely check also. - - src/hb-ot-var-hvar-table.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 257a197ae723b55d26c3254dbe1edd8b0509af1b -Author: Ebrahim Byagowi -Date: Thu Jan 9 22:55:45 2020 +0330 - - Fail serialize when map has incorrect value - - fixes https://crbug.com/oss-fuzz/19956 - - am not super happy with the fix, guess we should do some check - before the memcpy anyway as @blueshade7 thinks also, - so let's have it or revert it when we have a better approach for the case. - - src/hb-ot-layout-common.hh | 7 ++++++- - ...-testcase-minimized-hb-subset-fuzzer-5708764082864128 | Bin 0 -> 6452 bytes - 2 files changed, 6 insertions(+), 1 deletion(-) - -commit 1db2c1d0da9eed4b330ca0c6a46c19482c6e377b -Author: Qunxin Liu -Date: Tue Jan 7 11:10:40 2020 -0800 - - fix for cmap4 and OS_2 subsetting: maximum character code allowed is 0xFFFF - - src/hb-ot-cmap-table.hh | 14 ++++++++---- - src/hb-ot-os2-table.hh | 4 ++-- - test/api/fonts/Mplus1p-Regular-cmap4-testing.ttf | Bin 0 -> 2024 bytes - test/api/fonts/Mplus1p-Regular.ttf | Bin 0 -> 1757292 bytes - test/api/test-subset-cmap.c | 24 +++++++++++++++++++++ - .../Mplus1p-Regular.default.1D715,1D7D8,41,42.ttf | Bin 0 -> 2260 bytes - ...plus1p-Regular.drop-hints.1D715,1D7D8,41,42.ttf | Bin 0 -> 1532 bytes - test/subset/data/tests/japanese.tests | 2 +- - 8 files changed, 37 insertions(+), 7 deletions(-) - -commit 8ed46c3678cd4518efe5c9907bb9d22e6161bbd5 -Author: Ebrahim Byagowi -Date: Tue Jan 7 23:43:53 2020 +0330 - - [fuzz] minor, add another already fixed case - - https://crbug.com/oss-fuzz/19907 - - ...z-testcase-minimized-hb-subset-fuzzer-5695925913911296 | Bin 0 -> 385 bytes - 1 file changed, 0 insertions(+), 0 deletions(-) - -commit 341407f7a52680be84144eb285e6cb09131b2956 -Author: Ebrahim Byagowi -Date: Tue Jan 7 09:10:24 2020 +0330 - - [fuzz] minor, upload another fixed case - - https://crbug.com/oss-fuzz/19878 - - ...z-testcase-minimized-hb-subset-fuzzer-5169035432165376 | Bin 0 -> 108 bytes - 1 file changed, 0 insertions(+), 0 deletions(-) - -commit 7950beecfcc66194541437349c91625fd27c0071 -Author: Ebrahim Byagowi -Date: Mon Jan 6 21:25:00 2020 +0330 - - [subset] Fix null pointer dereference in hvar/vvar subset (#2085) - - Rest of the code assumes there is at least one subtable, lets return here if not. - - * https://crbug.com/oss-fuzz/19827 - * https://crbug.com/oss-fuzz/19847 - - src/hb-ot-var-hvar-table.hh | 2 ++ - ...lusterfuzz-testcase-hb-subset-fuzzer-5641053680173056 | Bin 0 -> 4229 bytes - ...-testcase-minimized-hb-subset-fuzzer-5650879734874112 | Bin 0 -> 3278 bytes - 3 files changed, 2 insertions(+) - -commit 8ed27757b197670ee9f91cfb27ec50bcd3045a2f -Author: Ebrahim Byagowi -Date: Mon Jan 6 19:01:13 2020 +0330 - - Remove _POSIX_C_SOURCE definition from the project - - Added fpr suncc support but apparently is causing more issues - even on suncc so let's see if we can go without it. - - Fixes #2084 - - src/hb-blob.cc | 12 ------------ - 1 file changed, 12 deletions(-) - -commit e7d1aeb61023dff22852048561f6161c6972ec75 -Author: Ebrahim Byagowi -Date: Mon Jan 6 12:48:22 2020 +0330 - - [hvar] minor, fix unlikely statement - - src/hb-ot-var-hvar-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 57b1534198ae07c840010cff5af7997c5f738e88 -Author: Ebrahim Byagowi -Date: Mon Jan 6 12:46:50 2020 +0330 - - [glyf] minor, fix unlikely statements - - src/hb-ot-glyf-table.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 9e48c6e9ef3f6d398c7140933a2cd90980f0ed5b -Author: Ebrahim Byagowi -Date: Tue Dec 31 15:57:39 2019 +0330 - - minor, use private API of hb_set_t where possible - - src/hb-ot-var-hvar-table.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit ce114d6b27976f38effba015d9cdf00b96c2fdfc -Author: Ebrahim Byagowi -Date: Tue Dec 31 15:53:02 2019 +0330 - - minor, tweak spaces - - src/hb-aat-fdsc-table.hh | 4 ++-- - src/hb-aat-layout-ankr-table.hh | 2 +- - src/hb-aat-layout-just-table.hh | 36 +++++++++++++++--------------- - src/hb-aat-layout-trak-table.hh | 4 ++-- - src/hb-debug.hh | 2 +- - src/hb-ot-cff-common.hh | 6 ++--- - src/hb-ot-cff1-table.hh | 12 +++++----- - src/hb-ot-color-cbdt-table.hh | 2 +- - src/hb-ot-gasp-table.hh | 4 ++-- - src/hb-ot-layout-common.hh | 14 ++++++------ - src/hb-ot-layout-gsubgpos.hh | 8 +++---- - src/hb-ot-layout-jstf-table.hh | 2 +- - src/hb-ot-math-table.hh | 33 ++++++++++++++------------- - src/hb-ot-shape-complex-indic-machine.rl | 2 +- - src/hb-ot-shape-complex-myanmar-machine.rl | 2 +- - src/hb-ot-var-avar-table.hh | 2 +- - src/hb-ot-var-gvar-table.hh | 18 +++++++-------- - src/hb-ot-var-hvar-table.hh | 12 +++++----- - src/hb-subset-cff-common.cc | 2 +- - src/hb-subset-cff-common.hh | 34 ++++++++++++++-------------- - src/hb-subset-cff1.cc | 16 ++++++------- - src/hb-subset-cff2.cc | 8 +++---- - util/options.cc | 2 +- - 23 files changed, 114 insertions(+), 113 deletions(-) - -commit 33c3d63a0a9734a9cca9411a666d6ba9793d642f -Merge: 68c1798a6 ea8fdfa07 -Author: Ebrahim Byagowi -Date: Tue Dec 31 13:52:50 2019 +0330 - - Merge pull request #1594 from harfbuzz/var-subset - - Issue 1558: [subset] TrueType/CFF2 variable font - -commit 68c1798a6703f9476b29c53abe95dd59ae280613 -Author: Khaled Hosny -Date: Wed Dec 18 15:57:14 2019 +0200 - - [coretext] Use kCTFontOpenTypeFeatureTag - - Instead of trying to map OpenType features to AAT feature selectors - which only works for a small subset of OpenType features, use the - simpler kCTFontOpenTypeFeatureTag with OpenType feature tags directly. - - With this change, features like cvXX can be enabled in coretext shaper, - while they were previously ignored due to missing mapping. - - This seems to work even with AAT fonts that don’t have OpenType layout - tables, which suggests that CoreText is doing the mapping itself in this - case. - - kCTFontOpenTypeFeatureTag seems to have been introduced in macOS 10.10 - and iOS 8.0, though, so its use is conditional on version check for now. - Not sure how to check iOS version, so I left this out. - - src/hb-coretext.cc | 20 +++++++++++++++++++- - 1 file changed, 19 insertions(+), 1 deletion(-) - -commit b28c282585afd3bff844e84eae7f29e1a1267aef -Author: Marcel Fabian Krüger -Date: Tue Dec 17 02:58:51 2019 +0100 - - Check to avoid overflows - - src/hb-sanitize.hh | 9 ++++++--- - 1 file changed, 6 insertions(+), 3 deletions(-) - -commit d70afb1e5a32f23d03cc69bbbc725d1e668eb616 -Author: Marcel Fabian Krüger -Date: Tue Dec 17 02:29:28 2019 +0100 - - Clamp max_ops to upper bound in hb-sanitize.hh - - src/hb-sanitize.hh | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit aa43e183dda2288b9d83fe7473f357422a4771f1 -Author: Behdad Esfahbod -Date: Sun Dec 15 16:04:00 2019 -0800 - - [perf Add texts/en-words.txt - - $ cat docs/usermanual-*.xml src/hb*.cc src/hb*.{h,hh,cc} | sed 's/[^a-zA-Z ]/ /g' | tr ' ' '\n' | sort | uniq | grep . > perf/texts/en-words.txt - - perf/texts/en-words.txt | 12392 ++++++++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 12392 insertions(+) - -commit 80762cc4d0663a9ca465e94e73424e3b352de24c -Author: Ebrahim Byagowi -Date: Sun Dec 15 23:21:10 2019 +0330 - - [ci] Speedup tsan bot - - We don't expect fails thus expecting readable failure backtrace so let's speed it up instead - - .circleci/config.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit b79ceac3c68a41a0b7f624c0f172e99eb7498737 -Author: Evgeniy Reizner -Date: Sun Dec 15 16:50:01 2019 +0200 - - Prefer UINT_MAX instead of uint overflow. - - Also, prefer HB_FEATURE_GLOBAL_START and HB_FEATURE_GLOBAL_END. - - src/hb-buffer.cc | 6 +++--- - src/hb-common.cc | 4 ++-- - src/hb-face.hh | 2 +- - src/hb-graphite2.cc | 2 +- - src/hb-ot-map.hh | 4 ++-- - src/hb-ot-shape-complex-arabic.cc | 6 +++--- - src/hb-ot-shape.cc | 2 +- - src/hb-set.hh | 4 ++-- - test/shaping/data/aots/hb-aots-tester.cpp | 4 ++-- - util/ansi-print.cc | 6 +++--- - util/options.cc | 2 +- - util/options.hh | 2 +- - 12 files changed, 22 insertions(+), 22 deletions(-) - -commit b618e0ae1368aa22050ce0fe48329b723e2fd632 -Author: Evgeniy Reizner -Date: Sun Dec 15 16:26:50 2019 +0200 - - Remove non-breaking spaces from comments. - - `0xC2A0` was used, for some reasons. It's not really a problem, but Qt Creator - constatly trying to replace them with regular spaces, so I have to edit those - files separately. - - src/hb-buffer.cc | 4 ++-- - src/hb-common.cc | 20 ++++++++++---------- - 2 files changed, 12 insertions(+), 12 deletions(-) - -commit 780d640c02e01664ea13729f4e4b416c440c3cdf -Author: Evgeniy Reizner -Date: Sun Dec 15 16:11:37 2019 +0200 - - Remove unnecessary check in hb_buffer_t::set_masks. - - Bounds are already checked by the caller. - - Closes #2073 - - src/hb-buffer.cc | 7 ------- - 1 file changed, 7 deletions(-) - -commit 34ed8e7218d9147a6ccd99198db594cf8f66f61b -Author: Evgeniy Reizner -Date: Fri Dec 13 07:25:34 2019 +0200 - - Prefer _hb_glyph_info_is_unicode_mark where possible. - - src/hb-ot-shape-fallback.cc | 6 +++--- - src/hb-ot-shape-normalize.cc | 6 +++--- - 2 files changed, 6 insertions(+), 6 deletions(-) - -commit 3e1a2632dce396157a4e8ff6669740a145e7062c -Author: Ebrahim Byagowi -Date: Thu Dec 12 15:48:27 2019 +0330 - - [unscribe] fix leak issue - - with no user_data provided, `free` will be called with `(0)` thus silently having a leak - - src/hb-uniscribe.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit e75d785b51d713de2e37ad41c62de5423fc95949 -Author: Ebrahim Byagowi -Date: Thu Dec 12 15:42:37 2019 +0330 - - [doc] fix hb_blob_create call example - - otherwise free(0) will be called that silently makes a leak - - docs/usermanual-object-model.xml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 4ef597e17003402c0ceebcb5a0c185f08c97aac1 -Author: Daeren -Date: Wed Dec 11 13:44:05 2019 +0300 - - Fix unary minus operator applied to unsigned int - - Applying unary minus operator to unsigned int causes the following error on MSVS: error C4146 - This patch fixes the error. - - src/hb-ot-color-sbix-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 1770493cf5e0c098a0566281bc1dd089101f0f78 -Author: Daeren -Date: Wed Dec 11 13:44:15 2019 +0300 - - Fix unary minus operator applied to unsigned int - - Applying unary minus operator to unsigned int causes the following error on MSVS: error C4146 - This patch fixes the error. - - src/hb-ot-color-cbdt-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit a061e47fcc84a8947ca478b7ff2d02efeafecbce -Author: Behdad Esfahbod -Date: Tue Dec 10 13:31:50 2019 -0600 - - Change a few HB_INTERNAL static methods to static inline - - src/hb-ot-layout-gpos-table.hh | 10 +++++----- - src/hb-ot-layout-gsub-table.hh | 10 +++++----- - src/hb-ot-layout-gsubgpos.hh | 2 +- - 3 files changed, 11 insertions(+), 11 deletions(-) - -commit dd3972a3649e30c2bee88303ee56f88b260deb53 -Author: Behdad Esfahbod -Date: Tue Dec 10 13:21:26 2019 -0600 - - [GSUB] Simplify Extension is_reverse() - - We don't allow extension lookups to chain to another extension lookup. - Simplify code for that. - - src/hb-ot-layout-gpos-table.hh | 10 +++++----- - src/hb-ot-layout-gsub-table.hh | 14 +++++--------- - 2 files changed, 10 insertions(+), 14 deletions(-) - -commit 858b627984c50e94bc71b9530c340a8fff59d330 -Author: Behdad Esfahbod -Date: Tue Dec 10 13:18:32 2019 -0600 - - [machinery] Remove CastR<>() - - src/hb-machinery.hh | 8 -------- - src/hb-open-file.hh | 2 +- - src/hb-ot-layout-common.hh | 4 ++-- - src/hb-ot-layout-gpos-table.hh | 2 +- - src/hb-ot-layout-gsub-table.hh | 6 +++--- - src/hb-ot-layout-gsubgpos.hh | 8 ++++---- - 6 files changed, 11 insertions(+), 19 deletions(-) - -commit b84ceb2fcf7a71fe03f499dd0c4611254b561f1d -Author: Behdad Esfahbod -Date: Tue Dec 10 13:02:48 2019 -0600 - - [machinery] Remove CastP - - src/hb-machinery.hh | 8 -------- - src/hb-ot-layout-gpos-table.hh | 8 +++++--- - src/main.cc | 4 ++-- - 3 files changed, 7 insertions(+), 13 deletions(-) - -commit 85574ec28735c1e9d53ccff9abafbbc25cf34f0f -Author: Behdad Esfahbod -Date: Tue Dec 10 12:52:32 2019 -0600 - - [machinery] Minor - - src/hb-machinery.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit e101a6725731a2e82f3e2a146c3281111c747d90 -Author: Behdad Esfahbod -Date: Tue Dec 10 12:46:14 2019 -0600 - - [perf] Add texts/fa-thelittleprince.txt - - perf/texts/en-thelittleprince.txt | 3 - - perf/texts/fa-thelittleprince.txt | 923 ++++++++++++++++++++++++++++++++++++++ - 2 files changed, 923 insertions(+), 3 deletions(-) - -commit 2c781a670108d52149a61fb7bc5b9b6eb3592b9d -Author: Behdad Esfahbod -Date: Tue Dec 10 12:43:42 2019 -0600 - - [perf] More rename - - perf/run.sh | 2 +- - perf/{text => texts}/en-thelittleprince.txt | 0 - perf/{text => texts}/fa-monologue.txt | 0 - 3 files changed, 1 insertion(+), 1 deletion(-) - -commit d703392afef578cbeb17968783109c8cbe117890 -Author: Behdad Esfahbod -Date: Tue Dec 10 12:42:29 2019 -0600 - - [perf] Adjust text/fa-monologue.txt - - perf/text/fa-monologue.txt | 17 ----------------- - 1 file changed, 17 deletions(-) - -commit 19d1b9d4f319b75121bfbba677122ca74bf6f796 -Author: Behdad Esfahbod -Date: Tue Dec 10 12:39:01 2019 -0600 - - [perf] Renames - - perf/run.sh | 2 +- - perf/text/{littleprince.txt => en-thelittleprince.txt} | 0 - perf/text/{test-long-arabic-paragraph.txt => fa-monologue.txt} | 0 - 3 files changed, 1 insertion(+), 1 deletion(-) - -commit 6a60ca117c51e15279ba39dcae19301d24789c62 -Author: Behdad Esfahbod -Date: Tue Dec 10 12:32:37 2019 -0600 - - [algs] Fold last other bsearch() in - - Now truly have only one bsearch implementation. - - src/hb-ot-cmap-table.hh | 37 ++++++++++++++++++++----------------- - 1 file changed, 20 insertions(+), 17 deletions(-) - -commit 53dc8d944f71481ce7f18a32aca63c3f004e6e0c -Author: Ebrahim Byagowi -Date: Tue Dec 10 21:53:30 2019 +0330 - - Add initial shaping performance test and profiler - - perf/fonts/Amiri-Regular.ttf | Bin 0 -> 551560 bytes - perf/fonts/NotoNastaliqUrdu-Regular.ttf | Bin 0 -> 497204 bytes - perf/fonts/NotoSansDevanagari-Regular.ttf | Bin 0 -> 212740 bytes - perf/fonts/Roboto-Regular.ttf | Bin 0 -> 305608 bytes - perf/run.sh | 25 + - perf/text/littleprince.txt | 1896 +++++++++++++++++++++++++++++ - perf/text/test-long-arabic-paragraph.txt | 18 + - 7 files changed, 1939 insertions(+) - -commit 39afe608b476c3d09460dfceae75df65a9eb22b4 -Author: Behdad Esfahbod -Date: Tue Dec 10 12:04:44 2019 -0600 - - [algs] Fold one more custom bsearch() in - - One more to go. - - src/hb-ot-layout-gpos-table.hh | 49 ++++++++++++++++-------------------------- - 1 file changed, 19 insertions(+), 30 deletions(-) - -commit b1dc676eaa606660584f3c67f0570457e9f09dd3 -Author: Behdad Esfahbod -Date: Tue Dec 10 11:41:24 2019 -0600 - - [algs] Reduce one more bsearch() impl - - Ouch, there were three more left. Down one. Two to go. - - src/hb-open-type.hh | 21 +++++++++------------ - 1 file changed, 9 insertions(+), 12 deletions(-) - -commit 6f76c325e5244adfa1599952040ed7f13b10f38c -Author: Ebrahim Byagowi -Date: Tue Dec 10 21:43:11 2019 +0330 - - [test] Update 10.15 results - - Turned out only SFNS, which wasn't available in 10.14 anyway, needed an update - See https://crbug.com/1005969#c37 also - - test/shaping/data/in-house/tests/macos.tests | 9 ++++++--- - 1 file changed, 6 insertions(+), 3 deletions(-) - -commit 2241a676ba084214fdfc6d35f35862a64f296271 -Author: Ebrahim Byagowi -Date: Tue Dec 10 19:50:34 2019 +0330 - - [test] Add macOS 10.15 related fonts - - breaks the test and 10.15 bot, will add the fix in next commit, also adds a broken test for f47cbade1 - - test/shaping/data/in-house/tests/macos.tests | 20 ++++++++++++++++++++ - 1 file changed, 20 insertions(+) - -commit f3de3b6d3db278845bee1392ffdb3659921c6410 -Author: Ebrahim Byagowi -Date: Tue Dec 10 16:37:48 2019 +0330 - - [ci] fix macOS 10.15 bot - - Xcode 11.3.0 image is supposed to work per https://circleci.com/docs/2.0/testing-ios/ - but isn't https://circleci.com/gh/harfbuzz/harfbuzz/118693 AFAICS - - Let's try Xcode 11.2.1 image - - .circleci/config.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 49434bdd49eec61a3bcb18e242b30e72cdc81279 -Author: Ebrahim Byagowi -Date: Tue Dec 10 16:28:04 2019 +0330 - - [ci] Add a macOS 10.15 bot - - Should update macos.tests with the fonts, for now - - .circleci/config.yml | 14 +++++++++++++- - 1 file changed, 13 insertions(+), 1 deletion(-) - -commit f47cbade18acc4f9c935ba2c6c863beb6087d781 -Author: Behdad Esfahbod -Date: Mon Dec 9 18:10:34 2019 -0600 - - [aat] Adjust fallback positioning logic - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1528 - - Wish could add a test... - - $ ./hb-view --font-file Thonburi.ttc --unicodes U+0E17,U+0E35,U+0E48,U+0E4A --shaper ot - - ▃ - - ▂▃▃▄▃▂▁▊ ▃ ▃ ▎ - ▗ ▅▆▆▅ ▌ ▆▆▅▆▙ ▌▗ - ▗ ▙ ▂ ▎▗ ▟ - ▅▆▆▆▇▇▇▇▇▇▇▆▆▅▄ ▇▅▅▅ ▙▆▇ - ▁▁▂▁ ▁▁ - ▖ ▖ ▂▂ - ▉ ▁ ▆▆ ▌ ▆ ▙▄ ▁▁ - ▙ ▉ ▃▖ ▟ - ▊ ▉ ▅▟ ▗▄ - ▊ ▉ ▗ ▏ ▇▆ - ▊ ▟ ▉ ▆ ▖ - ▊ ▉ ▌ ▂ - ▊ ▏ ▉ ▌ ▗ ▄▟ - ▊ ▆ - - src/hb-ot-shape-complex-default.cc | 20 ++++++++++++++++++++ - src/hb-ot-shape-complex.hh | 5 +++-- - src/hb-ot-shape.cc | 5 +++-- - 3 files changed, 26 insertions(+), 4 deletions(-) - -commit fa7edf87c99a46d29a9f0d58b2896bc24a43853e -Author: Behdad Esfahbod -Date: Sat Dec 7 22:01:13 2019 -0600 - - [bsearch] Massage API some more - - src/hb-algs.hh | 25 +++++++++++++++---------- - src/hb-array.hh | 23 ++++++++++------------- - 2 files changed, 25 insertions(+), 23 deletions(-) - -commit 70aa5071d89dbba792c4c9fb4df7ca716304656a -Author: Behdad Esfahbod -Date: Sat Dec 7 22:35:34 2019 -0600 - - [algs] Adjust return value of hb_ctz(0) to be 32 instead of 0 - - src/hb-algs.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit eefb78f674c9a71aaaca45cc1246584848622923 -Author: Behdad Esfahbod -Date: Sun Dec 8 21:07:00 2019 -0600 - - Minor - - src/hb-common.cc | 32 -------------------------------- - src/hb-static.cc | 36 ++++++++++++++++++++++++++++++++++++ - 2 files changed, 36 insertions(+), 32 deletions(-) - -commit 9fb030585a1c429c13e86fbd128d9db004d3a355 -Author: Behdad Esfahbod -Date: Sat Dec 7 19:45:08 2019 +0000 - - Rename start/end to first/last in RangeRecord - - Because that's what they are. - - src/hb-ot-layout-common.hh | 48 +++++++++++++++++++++++----------------------- - 1 file changed, 24 insertions(+), 24 deletions(-) - -commit 8ac4ba14dca7c700b6dfdc19ceb5385a7e6fb889 -Author: Evgeniy Reizner -Date: Mon Dec 9 18:58:28 2019 +0200 - - Fix typo in TESTING.md (#2066) - - TESTING.md | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 9b1d5c4a59c6d3d9c248eae5d05d801791d42b7a -Author: Ebrahim Byagowi -Date: Mon Dec 9 12:29:28 2019 +0330 - - [number] fix where strtod_l not available - - src/hb-number.cc | 1 + - 1 file changed, 1 insertion(+) - -commit 5c8f96028988f647cace1af9f5a4c33c29b6e562 -Author: Ebrahim Byagowi -Date: Mon Dec 9 10:48:43 2019 +0330 - - [number] minor, include the renamed header - - src/hb-number.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 48eef2724c8aa55d081fb742a5e6cef17ff5d4a2 -Author: Behdad Esfahbod -Date: Fri Dec 6 05:04:11 2019 +0000 - - [algs/array] Consolidate the last two bsearch implementations! - - Yay! Seems to work. - - src/hb-algs.hh | 31 +++++++++++++++++-------------- - src/hb-array.hh | 31 +++++++++++-------------------- - 2 files changed, 28 insertions(+), 34 deletions(-) - -commit ed35dea8c07f1ecc50df48657bb330fcd77ca8e3 -Author: Behdad Esfahbod -Date: Fri Dec 6 04:37:11 2019 +0000 - - Fourth try... sighs - - src/hb-algs.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 9168310bb4c9d7d0652c7ead53017e30d1fafda2 -Author: Behdad Esfahbod -Date: Fri Dec 6 04:28:06 2019 +0000 - - Fix build, third times... - - src/hb-ot-post-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 34f5cc2cc80cf1fd45bc9697d828d3536e3ac74f -Author: Behdad Esfahbod -Date: Fri Dec 6 04:09:33 2019 +0000 - - Second try at fixing build - - src/hb-algs.hh | 13 +++++++++++-- - 1 file changed, 11 insertions(+), 2 deletions(-) - -commit 14ce5ab0b7ae012c6e46511bab399c472eb39eb2 -Author: Behdad Esfahbod -Date: Fri Dec 6 03:54:46 2019 +0000 - - First try at fixing build errors - - src/hb-algs.hh | 3 +++ - 1 file changed, 3 insertions(+) - -commit 2274270c6ac2e170cf939e03a89721f03f2f98bd -Author: Behdad Esfahbod -Date: Fri Dec 6 03:42:21 2019 +0000 - - [algs] Streamline bsearch some more - - src/hb-algs.hh | 46 ++++++++++++++++++++++++++++++++-------------- - 1 file changed, 32 insertions(+), 14 deletions(-) - -commit bd55d4b49fcd1ac1335e60ead1fe9941e7b01f8c -Author: Behdad Esfahbod -Date: Fri Dec 6 03:35:24 2019 +0000 - - [algs] Streamline bsearch() API more towards hb_array_t::bsearch_impl() - - Preparing to merge the two finally! - - src/hb-aat-layout.cc | 6 +----- - src/hb-aat-layout.hh | 10 ++-------- - src/hb-algs.hh | 27 +++++++++++++++++++-------- - src/hb-ot-name-language-static.hh | 15 +++------------ - src/hb-ot-name-table.hh | 12 +++++------- - src/hb-ot-os2-unicode-ranges.hh | 20 +++----------------- - src/hb-ot-post-table.hh | 3 +-- - src/hb-ot-var-mvar-table.hh | 4 +++- - src/hb-ucd.cc | 18 ++++++++++-------- - 9 files changed, 47 insertions(+), 68 deletions(-) - -commit fd6df520a1a4aa9cdaa0c2e515f29ba93d2910d1 -Author: Behdad Esfahbod -Date: Fri Dec 6 03:00:23 2019 +0000 - - [array] Isolate bsearch implementation more - - src/hb-array.hh | 26 ++++++++++++++++++++------ - 1 file changed, 20 insertions(+), 6 deletions(-) - -commit 06d3c2019fc2dd9a284a3c2471a1eabef47584c5 -Author: Behdad Esfahbod -Date: Fri Dec 6 02:52:54 2019 +0000 - - [array] Simplify bfind() positioning - - I had copied the old scheme from fontconfig's fccharset.c. I just - convinced myself that this change is correct and produces exact - same results. But I also am skeptical. Anyone else feel like - convincing themselves as well please? - - src/hb-array.hh | 4 +--- - 1 file changed, 1 insertion(+), 3 deletions(-) - -commit d67ba649a38aec1646525a30f992d5f50c4cf06d -Author: Ebrahim Byagowi -Date: Thu Dec 5 13:15:21 2019 +0330 - - Rename hb_array_t::in_range to hb_array_t::check_range - - src/hb-array.hh | 2 +- - src/hb-ot-glyf-table.hh | 20 ++++++++++---------- - src/hb-ot-var-gvar-table.hh | 16 ++++++++-------- - 3 files changed, 19 insertions(+), 19 deletions(-) - -commit 72d83a0280b95f99b94c64380bc46558fc941462 -Author: Ebrahim Byagowi -Date: Thu Dec 5 13:09:48 2019 +0330 - - Make hb_array_t::in_range similar to hb_sanitize_context_t::check_range - - src/hb-array.hh | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit b1167d19e9d72bcadc1a71873afa8dcbe0e26f29 -Author: Behdad Esfahbod -Date: Thu Dec 5 15:46:58 2019 +0000 - - Fix! - - .../fonts/2681c1c72d6484ed3410417f521b1b819b4e2392.ttf | Bin 0 -> 1288 bytes - .../fonts/28cbcd9409236705ff14bec11a273d16cffdd543.ttf | Bin 1080 -> 0 bytes - 2 files changed, 0 insertions(+), 0 deletions(-) - -commit 5ff410b493f3abadb397347c118fdfbcfd278e69 -Author: Behdad Esfahbod -Date: Thu Dec 5 15:37:56 2019 +0000 - - Add files, oops - - .../fonts/28cbcd9409236705ff14bec11a273d16cffdd543.ttf | Bin 0 -> 1080 bytes - test/shaping/data/in-house/tests/rotation.tests | 4 ++++ - 2 files changed, 4 insertions(+) - -commit 2dc20e632efd6aab2abe0ad15ed110ca4553f3ba -Author: Behdad Esfahbod -Date: Thu Dec 5 15:28:42 2019 +0000 - - Implement fallback vertical shaping from Firefox - - Fixes https://github.com/harfbuzz/harfbuzz/issues/355 - - src/hb-ot-shape.cc | 92 ++++++++++++++++++++++++----- - src/hb-ot-shape.hh | 1 + - test/shaping/data/in-house/Makefile.sources | 1 + - 3 files changed, 80 insertions(+), 14 deletions(-) - -commit b6d0f1529df9461f1fdb93fae7b5103702ae1517 -Author: Behdad Esfahbod -Date: Thu Dec 5 12:19:52 2019 +0000 - - [indic] Fix old-spec base-finding logic w vatu feature - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1587 - - src/hb-ot-shape-complex-indic.cc | 12 ++++++++++-- - 1 file changed, 10 insertions(+), 2 deletions(-) - -commit 0414341ac576c4403231f507e216c7716c8f0828 -Author: Behdad Esfahbod -Date: Thu Dec 5 11:26:39 2019 +0000 - - Prefer AAT shaping over OT if both available - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1529 - - src/hb-common.cc | 1 - - src/hb-debug.hh | 1 - - src/hb-ot-layout.cc | 21 --------------------- - src/hb-ot-shape.cc | 25 ++----------------------- - 4 files changed, 2 insertions(+), 46 deletions(-) - -commit 82545c5e2ba2067f2eb117c7358ed6d5b50ca942 -Author: blueshade7 -Date: Tue Nov 26 10:24:32 2019 -0800 - - more coding style fixes - - src/hb-ot-font.cc | 19 +++++++++---------- - 1 file changed, 9 insertions(+), 10 deletions(-) - -commit 2e7c1239c886ea8fa6ba37b7597d76b2d319f468 -Author: blueshade7 -Date: Tue Nov 26 09:57:53 2019 -0800 - - minor: coding style - - src/hb-ot-font.cc | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit ed94e41065797b3b22860f1aa68a0b2ea47317e7 -Author: blueshade7 -Date: Wed Nov 20 10:42:50 2019 -0800 - - fixed api test test-ot-glyphname - - test/api/test-ot-glyphname.c | 8 ++------ - 1 file changed, 2 insertions(+), 6 deletions(-) - -commit 7a4745ba8da89f945b7c62f59bbb3d1cc5a45e2d -Author: blueshade7 -Date: Wed Nov 20 10:15:41 2019 -0800 - - added api test test-ot-glyphname - - test/api/Makefile.am | 1 + - test/api/test-ot-glyphname.c | 83 ++++++++++++++++++++++++++++++++++++++++++++ - 2 files changed, 84 insertions(+) - -commit ab525ac66dc2e72a636d3f04b575f766af76f9e0 -Author: blueshade7 -Date: Tue Nov 19 20:36:56 2019 -0800 - - fix HB_TINY buid - - src/hb-subset-plan.cc | 6 ++++++ - 1 file changed, 6 insertions(+) - -commit ff64652cf6bda18d1d7d54f511eed131464e1f3d -Author: blueshade7 -Date: Tue Nov 19 18:50:57 2019 -0800 - - fix shape-fuzzer failure - - src/hb-ot-cff1-table.hh | 1 + - 1 file changed, 1 insertion(+) - -commit a333b0f7172923ff70dcb1bca15a5474fd84f82f -Author: blueshade7 -Date: Tue Nov 19 18:01:53 2019 -0800 - - add hb-ot-cff1-std-str.hh to Makefile.sources - - src/Makefile.sources | 1 + - 1 file changed, 1 insertion(+) - -commit 61707266a3ea9fc54323742de6559fb00987dc29 -Author: blueshade7 -Date: Tue Nov 19 17:09:12 2019 -0800 - - fix get_sid crash - - src/hb-ot-cff1-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 4c4e08a1eff5a4bf355f032f32fb4fa25b9349d7 -Author: blueshade7 -Date: Tue Nov 19 16:50:28 2019 -0800 - - add cff1::accelerator_t::fini - - src/hb-ot-cff1-table.hh | 7 +++++++ - 1 file changed, 7 insertions(+) - -commit ff87465b400af4685680a7a3076533ee6b635dd3 -Author: blueshade7 -Date: Tue Nov 19 16:18:33 2019 -0800 - - add get_glyph_from_name & test. use hb_string_array - - src/Makefile.am | 5 + - src/hb-ot-cff1-std-str.hh | 425 ++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-ot-cff1-table.cc | 69 -------- - src/hb-ot-cff1-table.hh | 85 +++++++++- - src/hb-ot-font.cc | 6 +- - src/test-ot-glyphname.cc | 91 ++++++++++ - 6 files changed, 602 insertions(+), 79 deletions(-) - -commit 51e772852191e99206bd69f2f06d029ba01e5745 -Author: blueshade7 -Date: Sun Nov 17 02:25:39 2019 -0800 - - minor - - src/hb-ot-cff1-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 6d9eb9c04095db74f40c00a3d6e5a6432491059d -Author: blueshade7 -Date: Sun Nov 17 02:20:22 2019 -0800 - - fixed failure with language-tags.tests - - src/hb-ot-cff1-table.hh | 1 + - 1 file changed, 1 insertion(+) - -commit 59fe379797adca37e29c002ffabc27f9c74f8746 -Author: blueshade7 -Date: Sat Nov 16 19:47:31 2019 -0800 - - fixed hb-shape-fuzzer failures in get_sid - - src/hb-ot-cff1-table.hh | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit e26df436bcf215d1a4520e9851aa607b0de0ca84 -Author: blueshade7 -Date: Sat Nov 16 19:12:34 2019 -0800 - - fix test-ot-face crash - - src/hb-ot-cff1-table.hh | 1 + - 1 file changed, 1 insertion(+) - -commit 7b49042ef4812d8550d884a400936331fad9951a -Author: blueshade7 -Date: Sat Nov 16 18:20:16 2019 -0800 - - add cff1::get_glyph_name - - src/hb-ot-cff1-table.cc | 69 +++++++++++++++++++++++++++ - src/hb-ot-cff1-table.hh | 124 +++++++++++++++++++++++++++--------------------- - src/hb-ot-font.cc | 6 ++- - 3 files changed, 144 insertions(+), 55 deletions(-) - -commit ea8fdfa07939b97db6636327c8d55cd3b5a62b4c -Merge: 453050ad3 d5338ba18 -Author: blueshade7 -Date: Fri Nov 22 15:59:09 2019 -0800 - - Merge branch 'master' into var-subset - -commit d5338ba1894f73629528a2a505e30cd681a5f1c6 -Author: Behdad Esfahbod -Date: Fri Nov 22 16:22:27 2019 -0500 - - [ft] Add locking FT_Face API - - Now that we mutex our internal FT_Face, share it with clients. - - New API: - - hb_ft_font_lock_face() - - hb_ft_font_unlock_face() - - docs/harfbuzz-sections.txt | 2 ++ - src/hb-ft.cc | 56 +++++++++++++++++++++++++++++++++++++++++++--- - src/hb-ft.h | 6 +++++ - 3 files changed, 61 insertions(+), 3 deletions(-) - -commit e5c7ee9f757baa166a96d73b7ec0cb2b1ae23385 -Author: Behdad Esfahbod -Date: Wed Nov 20 14:22:01 2019 -0500 - - [set] Fix undefined-behavior shift in _previous() - - harfbuzz/src/hb-set.hh:138:43: runtime error: shift exponent 64 is too large for 64-bit type 'hb_set_t::page_t::elt_t' (aka 'unsigned long long') - - src/hb-set.hh | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -commit 5fddc5f1698aa50e1be9cd729032c40fa5bd64b1 -Author: Behdad Esfahbod -Date: Wed Nov 20 13:07:26 2019 -0500 - - Use foreach_cluster - - src/hb-buffer.cc | 14 ++------------ - 1 file changed, 2 insertions(+), 12 deletions(-) - -commit e4a101ed38f61b3ac710e483528816372cbeb3d0 -Author: Behdad Esfahbod -Date: Tue Nov 19 20:04:00 2019 -0500 - - [ft] Fix for HB_NO_VAR build - - src/hb-ft.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 76c27462c242f00e26d3b172dbdf618121aac306 -Author: David Corbett -Date: Tue Nov 19 16:51:33 2019 -0500 - - Don’t modify a ccc to 6 - - ccc=6 will be used in Unicode 13.0. - - src/hb-unicode.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 8fdafee2a621f64101a5d55ded64de9e693db34a -Author: Michiharu Ariza -Date: Mon Nov 18 16:44:25 2019 -0800 - - undef HB_STRING_ARRAY_LENG_NAME - - src/hb-string-array.hh | 1 + - 1 file changed, 1 insertion(+) - -commit 5e9863f3c63c6b9060d270d5cf959e16ac1294bb -Author: blueshade7 -Date: Mon Nov 18 15:40:43 2019 -0800 - - ARRAY_LENGTH fails with -Wglobal-constructors - - src/hb-string-array.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit a75983690d0b3575ef208592c51f730410230af7 -Author: blueshade7 -Date: Mon Nov 18 15:09:24 2019 -0800 - - calculate hb_string_array length automatically - - src/hb-ot-post-table.hh | 10 ++++------ - src/hb-string-array.hh | 3 +++ - 2 files changed, 7 insertions(+), 6 deletions(-) - -commit 57da16bc5986ce714fb3f57501e5f45a33aaa99a -Author: Khaled Hosny -Date: Sun Nov 17 21:32:12 2019 +0200 - - [cff] Check rcurveline and rlinecurve arguments - - Make sure the number of arguments is not too many or too few, otherwise - skip the command. - - src/hb-cff-interp-cs-common.hh | 41 +++++++++++++++++++++++------------------ - 1 file changed, 23 insertions(+), 18 deletions(-) - -commit 9f1524ce83ebd2c3320ffc90776cb0f533db143f -Author: Khaled Hosny -Date: Sun Nov 17 16:17:20 2019 +0200 - - [cff] Fix a typo in processing rlinecurve - - We want to process all pairs of arguments except the last 6 as lines, so - should have been subtracting 6 here, otherwise if the number of - arguments happens to be multiples of 6 they will be all treated as - curves. - - See https://github.com/harfbuzz/harfbuzz/pull/2016#issuecomment-554640098 - - src/hb-cff-interp-cs-common.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 78d5eca813250b79e9b1fbfd2de3eae7ccf1fcf3 -Author: Behdad Esfahbod -Date: Mon Nov 18 13:09:29 2019 -0500 - - [set] Fix range-based-loop condition - - Alternative to https://github.com/harfbuzz/harfbuzz/pull/2046 - - src/hb-set.hh | 13 ++++++++++--- - 1 file changed, 10 insertions(+), 3 deletions(-) - -commit 4dae7cee4b44fd6ffb295f8c99a52e42934d0c3c -Author: Hal Canary -Date: Wed Nov 13 10:08:35 2019 -0500 - - [minor] Fix common typos: substition, the the. - - s/substition/substitution/ - s/the the/the/ - - src/hb-ot-layout.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit e6351d9b2c44c9abde90a6599ae7ebf0f6416c65 -Author: David Corbett -Date: Mon Nov 11 17:39:55 2019 -0500 - - Add ms-use/IndicShapingInvalidCluster.txt - - src/Makefile.am | 2 +- - src/gen-vowel-constraints.py | 4 +- - src/hb-ot-shape-complex-vowel-constraints.cc | 2 +- - src/ms-use/COPYING | 21 ++++++ - src/ms-use/IndicShapingInvalidCluster.txt | 105 +++++++++++++++++++++++++++ - 5 files changed, 130 insertions(+), 4 deletions(-) - -commit b372c3e95694c8b1cabc0eb01c5abef6c41d3dbd -Author: David Corbett -Date: Fri Nov 8 20:59:48 2019 -0500 - - Insert a dotted circle within - - src/HBIndicVowelConstraints.txt | 97 ---------------------------- - src/Makefile.am | 2 +- - src/gen-vowel-constraints.py | 25 ++++--- - src/hb-ot-shape-complex-vowel-constraints.cc | 27 ++++++-- - 4 files changed, 40 insertions(+), 111 deletions(-) - -commit 64a45be5198f6e22c91454bda7bd9a9294552dff -Author: Ebrahim Byagowi -Date: Sat Nov 9 12:25:33 2019 +0330 - - [ubsan] Don't decrease pointer if match_glyph_data is null (#2048) - - Similar to fix on https://github.com/harfbuzz/harfbuzz/pull/2022 - - Fixes https://crbug.com/1023070 - - src/hb-ot-layout-gsubgpos.hh | 6 +++++- - ...zz-testcase-minimized-harfbuzz_fuzzer-5740518101090304 | Bin 0 -> 439 bytes - 2 files changed, 5 insertions(+), 1 deletion(-) - -commit 878e3588a3349c2660b0f9aa6d94a994034d7c10 -Author: Don -Date: Tue Nov 5 15:26:01 2019 -0800 - - [cmake] Add harfbuzz-icu library - - CMakeLists.txt | 21 +++++++++++++++++++++ - 1 file changed, 21 insertions(+) - -commit 84b86a12d99e996cfd85f9fe6fd2c2a593dd5cc2 -Author: Ebrahim Byagowi -Date: Wed Nov 6 09:22:34 2019 +0330 - - [fuzz] Remove just added case - - It didn't fail locally but on bots causing timeout, let remove for now. - - ...estcase-minimized-hb-subset-fuzzer-5121706490593280 | Bin 161328 -> 0 bytes - 1 file changed, 0 insertions(+), 0 deletions(-) - -commit a8f049c9a18f166a826c78caa153330a1ec04214 -Author: Ebrahim Byagowi -Date: Tue Nov 5 22:26:36 2019 +0330 - - [fuzz] Upload testcase of https://crbug.com/oss-fuzz/18529 - - Apparently false alarm per last comment and was ok locally also but lets have it here also - - ...estcase-minimized-hb-subset-fuzzer-5121706490593280 | Bin 0 -> 161328 bytes - 1 file changed, 0 insertions(+), 0 deletions(-) - -commit 7cde68f10cdf2c3ff77c1d9077475c0fc034c75c -Author: Ebrahim Byagowi -Date: Sat Nov 2 19:04:14 2019 +0330 - - [ci] install pip in fedora bot - - .circleci/config.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 46178c0325afc6b3131388fa2496e85d2aacace6 -Author: Ebrahim Byagowi -Date: Sat Nov 2 14:36:30 2019 +0330 - - [ci] fix fedora bot - - .circleci/config.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 486754a888d067c990d6a4351ccd41570f08c956 -Author: Ebrahim Byagowi -Date: Mon Sep 23 23:48:08 2019 +0330 - - [serialize] Extract iterable copy, copy_all - - src/hb-ot-cmap-table.hh | 6 +++--- - src/hb-ot-layout-gpos-table.hh | 7 ++----- - src/hb-ot-name-table.hh | 2 +- - src/hb-ot-vorg-table.hh | 2 +- - src/hb-serialize.hh | 6 ++++++ - 5 files changed, 13 insertions(+), 10 deletions(-) - -commit 35218c488c3966aa6d459ec5a007a2b43208e97c -Author: Behdad Esfahbod -Date: Thu Oct 31 13:19:44 2019 -0700 - - Minor - - Allow empty HB_VAR_ARRAY definition. Though, doesn't compile with any - compiler I know of. - - src/hb-machinery.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 1a1d64bc6f52b42e21609e8ceb4269bdf53b3c40 -Author: Behdad Esfahbod -Date: Thu Oct 31 12:50:47 2019 -0700 - - If applying morx, apply kern table even if GPOS is present and has kern - - Since we won't be applying GPOS if morx... - - To be adjusted as I receive more information from Ned. But for now - fixes this: - - $ ./hb-shape GillSans.ttc Ty - [T=0+1109|y=1@-128,0+769] - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1982 for now. - - src/hb-ot-shape.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 3a74ee528255cc027d84b204a87b5c25e47bff79 -Author: Behdad Esfahbod -Date: Tue Oct 29 12:27:03 2019 -0700 - - 2.6.4 - - NEWS | 7 +++++++ - configure.ac | 2 +- - src/hb-version.h | 4 ++-- - 3 files changed, 10 insertions(+), 3 deletions(-) - -commit 3958f6fb2378d83dd5107d62a8464187c93707b0 -Author: Ebrahim Byagowi -Date: Tue Oct 29 22:36:50 2019 +0330 - - Add in_range in hb_bytes_t to merge range_checker_t with it - - src/hb-array.hh | 9 +++++++++ - src/hb-ot-glyf-table.hh | 28 ++++++++++++-------------- - src/hb-ot-var-gvar-table.hh | 49 +++++++++++++++------------------------------ - 3 files changed, 38 insertions(+), 48 deletions(-) - -commit 7915c5d6fa3efac99df08a54d4437eca0b780033 -Author: Ebrahim Byagowi -Date: Tue Oct 29 22:55:34 2019 +0330 - - [ci] Check the recipt introduce in 7152ac3 - - .circleci/config.yml | 1 + - 1 file changed, 1 insertion(+) - -commit aa3831e295540083350c640d4a630f53e70d822f -Author: Ebrahim Byagowi -Date: Tue Oct 29 21:37:07 2019 +0330 - - [glyf] Use contour_bounds_t::empty to simplify get_extents logic - - src/hb-ot-glyf-table.hh | 20 ++++++-------------- - 1 file changed, 6 insertions(+), 14 deletions(-) - -commit d59ae5836d1349b885db980cbb741da33caebfde -Author: Ebrahim Byagowi -Date: Tue Oct 29 21:30:04 2019 +0330 - - [glyf] Refactor contour_bounds_t use to make its fields protected - - src/hb-ot-glyf-table.hh | 47 ++++++++++++++++++++++++++--------------------- - 1 file changed, 26 insertions(+), 21 deletions(-) - -commit 773ee8041e8905bfb06c1a71d2b4fc99110b3dc6 -Merge: 47b4074d5 0efbda7a4 -Author: Behdad Esfahbod -Date: Tue Oct 29 10:58:56 2019 -0700 - - Merge pull request #2038 from ebraminio/glyf-contour - - Remove contour_point_t so we won't need to zero its unused var - -commit 0efbda7a40742cbdf30d5a85061ffb6a0a55bcc0 -Author: Ebrahim Byagowi -Date: Tue Oct 29 21:03:26 2019 +0330 - - Remove contour_point_t so we won't need to zero its unused var - - src/hb-ot-glyf-table.hh | 27 +++++++++++++-------------- - 1 file changed, 13 insertions(+), 14 deletions(-) - -commit 47b4074d5f98d71d2983470602eff9b93f102af4 -Merge: dd8a84603 dd288840d -Author: Behdad Esfahbod -Date: Tue Oct 29 03:16:34 2019 -0700 - - Merge pull request #2034 from khaledhosny/cmap-notdef - - [cmap] Check GID before adding ranges in format 4 & 12 - -commit dd8a8460377ca54207877ea9da96931175dbb15f -Author: jfkthame -Date: Tue Oct 29 09:20:41 2019 +0000 - - Use proper y-scale factor for height value - - src/hb-ot-cff1-table.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 7152ac3fcfe8a599aa0d20f8d02ef38c69111231 -Author: Behdad Esfahbod -Date: Mon Oct 28 17:12:55 2019 -0700 - - Fix build - - $ make CPPFLAGS="-DHB_TINY -DHB_NO_OT_FONT" libharfbuzz-subset.la - - src/hb-subset-plan.cc | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -commit dd288840d6f87acd13b99b71408dcdb35a2be9cb -Author: Khaled Hosny -Date: Tue Oct 29 01:45:49 2019 +0200 - - [cmap] Check GID before adding ranges in format 4 & 12 - - Fixes https://github.com/harfbuzz/harfbuzz/issues/2031 - - src/hb-ot-cmap-table.hh | 32 ++++++++++++++++++++++++-------- - test/api/fonts/cmunrm.otf | Bin 0 -> 330492 bytes - test/api/test-collect-unicodes.c | 22 ++++++++++++++++++++++ - 3 files changed, 46 insertions(+), 8 deletions(-) - -commit fd71c045b46380281ba8a7e351fac7248938c74c -Author: Behdad Esfahbod -Date: Mon Oct 28 17:06:53 2019 -0700 - - Hopefully fix up previous commit and bots - - src/hb.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit e832dc4c642f604d2cbb8e6b2f0b8d37151936f1 -Author: Behdad Esfahbod -Date: Mon Oct 28 17:02:40 2019 -0700 - - [config] Make HB_NO_ERRNO work with systems defining errno as a macro - - src/hb.hh | 8 +++++--- - 1 file changed, 5 insertions(+), 3 deletions(-) - -commit ce11df1b5b8e49712bef249de19bc4768f3a691c -Author: Behdad Esfahbod -Date: Mon Oct 28 14:45:31 2019 -0700 - - 2.6.3 - - NEWS | 8 ++++++++ - configure.ac | 2 +- - src/hb-font.cc | 2 +- - src/hb-version.h | 4 ++-- - 4 files changed, 12 insertions(+), 4 deletions(-) - -commit 5a59de2b983ed7a1c639ea3e4d23c341134cd6d5 -Author: Behdad Esfahbod -Date: Mon Oct 28 14:02:47 2019 -0700 - - Actually add +hb_font_get_nominal_glyphs() - - New API: - +hb_font_get_nominal_glyphs() - - src/hb-font.cc | 23 +++++++++++++++++++++++ - src/hb-font.h | 8 ++++++++ - 2 files changed, 31 insertions(+) - -commit 03028a5fe512978a8f8e2396001cf8e425b44f72 -Author: Behdad Esfahbod -Date: Mon Oct 28 13:46:56 2019 -0700 - - Revert "Don't include codepoint 0 in the results of collect_unicodes." - - This reverts commit 14ad96ffbf77c33d8d33d2686d17c2375381989e. - - This was wrong. My bad! - - https://github.com/harfbuzz/harfbuzz/issues/2031 - - src/hb-ot-cmap-table.hh | 8 +------- - 1 file changed, 1 insertion(+), 7 deletions(-) - -commit 2714dc31b8d0ffe3c043935dd7619be0dd7b7635 -Merge: aca639028 14ad96ffb -Author: Behdad Esfahbod -Date: Mon Oct 28 13:01:34 2019 -0700 - - Merge pull request #2032 from googlefonts/collect_unicodes - - Don't include codepoint 0 in the results of collect_unicodes. - -commit 14ad96ffbf77c33d8d33d2686d17c2375381989e -Author: Garret Rieger -Date: Mon Oct 28 12:56:04 2019 -0700 - - Don't include codepoint 0 in the results of collect_unicodes. - It is always assumed to be the notdef glyph. - - src/hb-ot-cmap-table.hh | 8 +++++++- - 1 file changed, 7 insertions(+), 1 deletion(-) - -commit aca63902814748b36bf6939421cfa95eed3a1ca7 -Author: Ebrahim Byagowi -Date: Tue Oct 22 00:06:46 2019 +0330 - - [gpos] Don't move pointer when match_glyph_data is not set - - src/hb-ot-layout-gsubgpos.hh | 16 ++++++++-------- - 1 file changed, 8 insertions(+), 8 deletions(-) - -commit defe9b6da018bc85750c999454c51fde0cadb9b2 -Author: Qunxin Liu -Date: Fri Oct 25 10:07:26 2019 -0700 - - crash fix : Heap-buffer-overflow READ 2 - https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=18513 - - src/hb-ot-layout-gpos-table.hh | 12 ++++++------ - ...z-testcase-minimized-hb-subset-fuzzer-5677906231033856 | Bin 0 -> 938 bytes - 2 files changed, 6 insertions(+), 6 deletions(-) - -commit b2fcca6e14afc8085cc1c2491b2d7c780dad1450 -Author: Qunxin Liu -Date: Thu Oct 24 15:15:26 2019 -0700 - - fuzzer crash fix - https://oss-fuzz.com/testcase-detail/5643107869917184 - - src/hb-ot-layout-gsubgpos.hh | 11 +++++++---- - ...-testcase-minimized-hb-subset-fuzzer-5643107869917184 | Bin 0 -> 3232 bytes - 2 files changed, 7 insertions(+), 4 deletions(-) - -commit 9815ca0338b47c6ea4e82f2fbd39d70e3456aca1 -Author: Ebrahim Byagowi -Date: Thu Oct 24 21:05:38 2019 +0330 - - [ci] Use custom subset fuzzer timeout for failing sanitizer bots - - .circleci/config.yml | 8 ++++---- - test/fuzzing/run-shape-fuzzer-tests.py | 3 ++- - test/fuzzing/run-subset-fuzzer-tests.py | 3 ++- - 3 files changed, 8 insertions(+), 6 deletions(-) - -commit b03b62cb304279195569180061cde745e0c9880a -Author: Ebrahim Byagowi -Date: Wed Oct 23 12:18:21 2019 +0330 - - [ci] Add HB_NO_MT on non HB_TINY no-build-system builds - - .circleci/config.yml | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 5e489670e15329f5eced16e5a76145c6149a265f -Author: Behdad Esfahbod -Date: Tue Oct 22 15:03:47 2019 -0700 - - Remove hb-warning.cc - - Fixes https://github.com/harfbuzz/harfbuzz/issues/2005 - - src/Makefile.sources | 1 - - src/harfbuzz.cc | 1 - - src/hb-atomic.hh | 16 +++++----------- - src/hb-mutex.hh | 25 ++++++------------------- - src/hb-warning.cc | 37 ------------------------------------- - 5 files changed, 11 insertions(+), 69 deletions(-) - -commit 05bcdb39d8648c49f7984c404aee096f2ad1d655 -Author: Garret Rieger -Date: Mon Oct 21 16:10:06 2019 -0700 - - Add a specialization of array_t:hash for hb_bytes_t and hb_ubytes_t. - - src/hb-array.hh | 34 ++++++++++++++++++++++++---------- - src/hb-ot-layout-gsubgpos.hh | 2 -- - 2 files changed, 24 insertions(+), 12 deletions(-) - -commit 95ab110cd9a6083a854e538211618b2733aba643 -Author: Garret Rieger -Date: Mon Oct 21 13:15:46 2019 -0700 - - Optimize intersects_array to fix fuzzer timeout. - - src/hb-ot-layout-gsubgpos.hh | 10 +++++----- - ...estcase-minimized-hb-subset-fuzzer-5763024094232576 | Bin 0 -> 125681 bytes - 2 files changed, 5 insertions(+), 5 deletions(-) - -commit be5cdcdfa21a2d956fc8c445452a78e77ede95fb -Author: Garret Rieger -Date: Tue Oct 22 11:55:04 2019 -0700 - - Store the hash value of a key in item_t in hb_map to reduce the number of hash computations. - - src/hb-map.hh | 70 ++++++++++++++++++++++++++++++++++------------------------- - 1 file changed, 40 insertions(+), 30 deletions(-) - -commit b33a0d628e5e76992fdd02fd4178906137e6153c -Author: Qunxin Liu -Date: Mon Oct 21 13:24:52 2019 -0700 - - fuzzer crash fix: Null-dereference WRITE - https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=18363 - - src/hb-ot-layout-common.hh | 4 +++- - ...z-testcase-minimized-hb-subset-fuzzer-5659903036751872 | Bin 0 -> 781 bytes - 2 files changed, 3 insertions(+), 1 deletion(-) - -commit cf414e361a99decd9c1710f1012236bffd067878 -Author: Garret Rieger -Date: Fri Sep 27 09:55:17 2019 -0700 - - Added profiling instructions to TESTING.md - - TESTING.md | 11 +++++++++++ - 1 file changed, 11 insertions(+) - -commit 1f0a9d9be979de01527c05f4dbe6fbc62799597c -Author: Qunxin Liu -Date: Tue Sep 17 11:10:08 2019 -0700 - - [subset] GPOS Lookup Type 2: PairPos - - src/hb-ot-layout-gpos-table.hh | 131 ++++++++++++++++++++- - test/subset/data/Makefile.am | 1 + - test/subset/data/Makefile.sources | 1 + - ...s2_1_font7.keep-layout-retain-gids.21,23,25.otf | Bin 0 -> 1764 bytes - ...gpos2_1_font7.keep-layout-retain-gids.21,23.otf | Bin 0 -> 1632 bytes - ...eep-layout-retain-gids.retain-all-codepoint.otf | Bin 0 -> 3688 bytes - .../gpos2_1_font7.keep-layout.21,23,25.otf | Bin 0 -> 1428 bytes - .../gpos2_1_font7.keep-layout.21,23.otf | Bin 0 -> 1308 bytes - ...s2_1_font7.keep-layout.retain-all-codepoint.otf | Bin 0 -> 3688 bytes - ...s2_2_font5.keep-layout-retain-gids.21,23,25.otf | Bin 0 -> 1776 bytes - ...gpos2_2_font5.keep-layout-retain-gids.21,23.otf | Bin 0 -> 1644 bytes - ...eep-layout-retain-gids.retain-all-codepoint.otf | Bin 0 -> 3684 bytes - .../gpos2_2_font5.keep-layout.21,23,25.otf | Bin 0 -> 1440 bytes - .../gpos2_2_font5.keep-layout.21,23.otf | Bin 0 -> 1320 bytes - ...s2_2_font5.keep-layout.retain-all-codepoint.otf | Bin 0 -> 3684 bytes - test/subset/data/fonts/gpos2_1_font7.otf | Bin 0 -> 4584 bytes - test/subset/data/fonts/gpos2_2_font5.otf | Bin 0 -> 4580 bytes - test/subset/data/tests/layout.gpos2.tests | 12 ++ - 18 files changed, 139 insertions(+), 6 deletions(-) - -commit e766783152b91fb20baf0c657586628fd7959b1b -Author: Ebrahim Byagowi -Date: Mon Oct 21 22:17:06 2019 +0330 - - [fuzz] Add https://crbug.com/oss-fuzz/17898 testcase - - ...sterfuzz-testcase-hb-subset-fuzzer-5717414645334016 | Bin 0 -> 310324 bytes - 1 file changed, 0 insertions(+), 0 deletions(-) - -commit b66094ada0ae7e69d5d08ee8423554629eabccaf -Author: Qunxin Liu -Date: Mon Sep 30 16:19:18 2019 -0700 - - [subset] GSUB Lookup Type 6: ChainContextSubst - - src/hb-ot-layout-common.hh | 260 ++++++++++++++------- - src/hb-ot-layout-gsubgpos.hh | 218 ++++++++++++++++- - test/subset/data/Makefile.am | 1 + - test/subset/data/Makefile.sources | 1 + - ...ules_f1.keep-layout-retain-gids.30,31,32,33.otf | Bin 0 -> 2380 bytes - ...eep-layout-retain-gids.retain-all-codepoint.otf | Bin 0 -> 3748 bytes - ...ultiple_subrules_f1.keep-layout.30,31,32,33.otf | Bin 0 -> 1916 bytes - ...ubrules_f1.keep-layout.retain-all-codepoint.otf | Bin 0 -> 3748 bytes - ...ules_f1.keep-layout-retain-gids.30,31,32,33.otf | Bin 0 -> 2408 bytes - ...eep-layout-retain-gids.retain-all-codepoint.otf | Bin 0 -> 3780 bytes - ...ultiple_subrules_f1.keep-layout.30,31,32,33.otf | Bin 0 -> 1944 bytes - ...ubrules_f1.keep-layout.retain-all-codepoint.otf | Bin 0 -> 3780 bytes - ...mple_f2.keep-layout-retain-gids.30,31,32,33.otf | Bin 0 -> 2368 bytes - ...eep-layout-retain-gids.retain-all-codepoint.otf | Bin 0 -> 3716 bytes - ...chaining3_simple_f2.keep-layout.30,31,32,33.otf | Bin 0 -> 1904 bytes - ..._simple_f2.keep-layout.retain-all-codepoint.otf | Bin 0 -> 3716 bytes - .../fonts/gsub_chaining1_multiple_subrules_f1.otf | Bin 0 -> 4700 bytes - .../fonts/gsub_chaining2_multiple_subrules_f1.otf | Bin 0 -> 4780 bytes - .../subset/data/fonts/gsub_chaining3_simple_f2.otf | Bin 0 -> 4668 bytes - test/subset/data/tests/layout.gsub6.tests | 12 + - 20 files changed, 405 insertions(+), 87 deletions(-) - -commit eff91bbb4b1e6f4cc8401b1915d5ddad64e053bb -Author: Garret Rieger -Date: Wed Oct 16 16:58:57 2019 -0700 - - Add missing pop() for the failure case of script subsetting. - - src/hb-ot-layout-common.hh | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -commit eab191fd9c851cb7881163ddd5e11a2ebc58cef4 -Author: Garret Rieger -Date: Wed Oct 2 14:28:53 2019 -0700 - - Rewrite hash and == function for hb_array_t as a plain loop. - - Profling showed that the current implementation were accounting for nearly all processing time in some cases. These implementations look to be about 10x faster. - - src/hb-array.hh | 21 +++++++++++---------- - 1 file changed, 11 insertions(+), 10 deletions(-) - -commit 831daf4c76aed87d229b1edfb59a0a37caa8e581 -Author: Garret Rieger -Date: Tue Oct 1 17:46:27 2019 -0700 - - Enforce HB_MAX_LANGSYS limit during layout subsetting. - - src/hb-ot-layout-common.hh | 68 +++++++++++++-------- - ...ase-minimized-hb-subset-fuzzer-5721073428987904 | Bin 0 -> 349561 bytes - 2 files changed, 41 insertions(+), 27 deletions(-) - -commit 9871461bce9a1557807f69615300e5df4f6ae322 -Author: Garret Rieger -Date: Tue Oct 1 16:29:24 2019 -0700 - - Enforce HB_MAX_SCRIPTS during subsetting of the script table. - - src/hb-ot-layout-common.hh | 46 +++++++++++++++++++++++++++++++++++++++++----- - 1 file changed, 41 insertions(+), 5 deletions(-) - -commit 029775bcbd0a25ee1cdb6c0653a2ce189774490a -Author: Behdad Esfahbod -Date: Wed Oct 9 11:00:09 2019 +0700 - - [buffer] Minor; improve HB_NO_BUFFER_MESSAGE - - src/hb-buffer.cc | 2 ++ - src/hb-buffer.hh | 2 +- - 2 files changed, 3 insertions(+), 1 deletion(-) - -commit 9a68e6b901967da14a5da5acb535c944794627b8 -Author: Ebrahim Byagowi -Date: Wed Oct 16 13:28:15 2019 +0330 - - [doc] minor - - Addresses https://github.com/harfbuzz/harfbuzz/pull/2013/files#r335196908 - - src/hb-common.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 453050ad3083ed344bc2ab3b1651babbed34934d -Merge: d7df7db16 b0b8551af -Author: Ebrahim Byagowi -Date: Sun Oct 13 08:38:56 2019 +0330 - - Merge remote-tracking branch 'upstream/master' into var-subset - -commit b0b8551afc2ff86d027fdb380210601cb465af41 -Author: Ebrahim Byagowi -Date: Sat Oct 12 21:12:19 2019 +0330 - - [glyf] Use range_checker_t in composite_iter_t - - src/hb-ot-glyf-table.hh | 12 +++++++----- - src/hb-ot-var-gvar-table.hh | 19 +++++++++---------- - 2 files changed, 16 insertions(+), 15 deletions(-) - -commit 06e35ce052388e7ce079c0250db62428ae0c5bc8 -Author: Ebrahim Byagowi -Date: Sat Oct 12 15:16:31 2019 +0330 - - [glyf] minor - - src/hb-ot-glyf-table.hh | 128 +++++++++++++++++++++++++----------------------- - 1 file changed, 67 insertions(+), 61 deletions(-) - -commit d13bb4bd94a6ba8cdd4a03d40d8089a8f8b3a7ec -Author: Ebrahim Byagowi -Date: Sat Oct 12 12:13:57 2019 +0330 - - [glyf] other cleanups - - src/hb-ot-glyf-table.hh | 338 +++++++++++++++++++++++------------------------- - 1 file changed, 160 insertions(+), 178 deletions(-) - -commit e7aa8c5d22b034f3d7bcf187a63cdec27732fa8a -Author: Ebrahim Byagowi -Date: Sat Oct 12 11:25:32 2019 +0330 - - [glyf] Introduce glyf::Glyph, a hb_bytes_t/GlyphHeader pair - - src/hb-ot-glyf-table.hh | 177 +++++++++++++++++++++++++----------------------- - 1 file changed, 91 insertions(+), 86 deletions(-) - -commit 546ffc9faf869b4971765e9a4fd232cfe0eecaea -Author: Ebrahim Byagowi -Date: Sat Oct 12 09:51:57 2019 +0330 - - [glyf] minor - - src/hb-ot-glyf-table.hh | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit 4299ea266e03b64db4e8a132983fed9fd0a967ee -Author: Ebrahim Byagowi -Date: Sat Oct 12 09:51:27 2019 +0330 - - [glyf] Move get_contour_points to GlyphHeader - - src/hb-ot-glyf-table.hh | 260 ++++++++++++++++++++++++++---------------------- - 1 file changed, 141 insertions(+), 119 deletions(-) - -commit b918cd8c76a6333e43b9be23178afc9e74e17024 -Author: Ben Wagner -Date: Thu Oct 10 15:30:48 2019 -0400 - - Document hb_feature_t. - - This documents hb_feature_t. This is motivated mostly by the ambiguity - of the units for 'start' and 'end' (clusters) and whether they are - inclusive or exclusive. This also documents that for lookup type 3 the - value is the one based index into the alternates and that in a list of - features later feature values override previous feature values with the - same tag. - - src/hb-common.h | 15 +++++++++++++++ - src/hb-shape.cc | 4 +++- - 2 files changed, 18 insertions(+), 1 deletion(-) - -commit e637a4b3de2fb8bdbc1b82e822f4a6cc579e794b -Merge: 670fec231 e4464f448 -Author: Behdad Esfahbod -Date: Fri Oct 11 10:28:58 2019 +0700 - - Merge pull request #2012 from harfbuzz/lepcha-oo - - Reorder U+1C29 LEPCHA VOWEL SIGN OO - -commit 670fec231d31bf7417de590efd3485f337a7330f -Author: Ebrahim Byagowi -Date: Thu Oct 10 09:21:08 2019 +0330 - - Minor, add a zero length tolerant memset, hb_memset - - src/hb-algs.hh | 10 +++++++++- - src/hb-buffer.cc | 3 +-- - 2 files changed, 10 insertions(+), 3 deletions(-) - -commit e4464f4484009b4efe7144570384d836cb6bbac8 -Author: David Corbett -Date: Wed Oct 9 20:55:52 2019 -0400 - - Reorder U+1C29 LEPCHA VOWEL SIGN OO - - src/gen-use-table.py | 3 +++ - src/hb-ot-shape-complex-use-table.cc | 2 +- - 2 files changed, 4 insertions(+), 1 deletion(-) - -commit e17e7443007fc0debc4a26e5cf37d5d76c747fbf -Author: Garret Rieger -Date: Wed Oct 9 11:45:42 2019 -0700 - - Convert existing uses of serialize_append in gsub subsetting to use subset_offset_array. - - src/hb-ot-layout-gsub-table.hh | 44 +++--------------------------------------- - 1 file changed, 3 insertions(+), 41 deletions(-) - -commit 36f18cecbbaf8635a2179a827242ca99d5283666 -Author: Garret Rieger -Date: Mon Oct 7 14:02:31 2019 -0700 - - Add subset_offset_array helper function which simplifies subsetting offset arrays during stream operations. - - src/hb-ot-layout-common.hh | 54 ++++++++++++++++++++++++++++++++++++++++++ - src/hb-ot-layout-gsub-table.hh | 15 +----------- - 2 files changed, 55 insertions(+), 14 deletions(-) - -commit dc45f225212da7b8eca0ddcb3c9cd66e65983605 -Author: Ebrahim Byagowi -Date: Tue Oct 8 23:27:37 2019 +0330 - - [ot-metrics] Don't use mixed scaled and not scaled for generating extents - - src/hb-ot-cff1-table.cc | 4 ++-- - src/hb-ot-cff2-table.cc | 4 ++-- - src/hb-ot-color-sbix-table.hh | 7 +++++++ - src/hb-ot-glyf-table.hh | 6 +++--- - test/api/test-ot-extents-cff.c | 6 +++--- - 5 files changed, 17 insertions(+), 10 deletions(-) - -commit b068e25f8f89d9b07963dddd5d5e14f61539556f -Author: Ebrahim Byagowi -Date: Tue Oct 8 16:29:15 2019 +0330 - - [glyf] Address Behdad's reviews - - Addresses https://github.com/harfbuzz/harfbuzz/pull/1999#issuecomment-539298559 - * Don't check against Null pool - * Remove cryptic _tt suffix - - src/hb-ot-font.cc | 4 ++-- - src/hb-ot-hmtx-table.hh | 16 ++++++++-------- - 2 files changed, 10 insertions(+), 10 deletions(-) - -commit 6961766db2c53ea813079c61e4d996234ae8be4f -Author: Ebrahim Byagowi -Date: Tue Oct 8 16:26:48 2019 +0330 - - [glyf] fix scaling direction - - src/hb-ot-glyf-table.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 0527fda4c75e4354198df79275526d4726a3aacc -Author: Ebrahim Byagowi -Date: Tue Oct 8 16:19:39 2019 +0330 - - minor - - src/hb-subset-cff-common.cc | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit b2628f1a3e3a6875dcdf7cb89f5b10a4ae76e6f9 -Author: Ebrahim Byagowi -Date: Tue Oct 8 15:09:09 2019 +0330 - - [glyf] Move glyph bytes drop hints logic to GlyphHeader - - src/hb-ot-glyf-table.hh | 92 ++++++++++++++++++++----------------------------- - 1 file changed, 37 insertions(+), 55 deletions(-) - -commit 1fb9c3b6463fdee9eb4dac697beab4d3d7a5fdcf -Author: Ebrahim Byagowi -Date: Tue Oct 8 13:50:16 2019 +0330 - - [glyf] Implement depth limit for add_gid_and_children - - src/hb-ot-glyf-table.hh | 8 +++++--- - 1 file changed, 5 insertions(+), 3 deletions(-) - -commit be0eddd41896824cb093024c2b4929b612ee1fae -Author: Ebrahim Byagowi -Date: Tue Oct 8 13:46:55 2019 +0330 - - [glyf] Move add_gid_and_children to glyf table - - src/hb-ot-glyf-table.hh | 14 ++++++++++++++ - src/hb-subset-plan.cc | 19 +------------------ - 2 files changed, 15 insertions(+), 18 deletions(-) - -commit c7621cf21115aa563ee4fb9d2fcb601984848494 -Author: Ebrahim Byagowi -Date: Tue Oct 8 13:24:26 2019 +0330 - - Minor, replace hb_set_add with private API - - src/hb-ot-map.cc | 2 +- - src/hb-subset-cff-common.hh | 2 +- - src/hb-subset-cff1.cc | 2 +- - src/hb-subset-cff2.cc | 2 +- - src/hb-subset-plan.cc | 10 +++++----- - 5 files changed, 9 insertions(+), 9 deletions(-) - -commit ad86806dcb702b25fac6a3364cf0f85e1b8f4b2a -Author: Ebrahim Byagowi -Date: Tue Oct 8 12:14:14 2019 +0330 - - [glyf] Move subset related methods inside GlyphHeader - - src/hb-ot-glyf-table.hh | 428 ++++++++++++++++++++++++------------------------ - src/hb-subset-plan.cc | 4 +- - 2 files changed, 214 insertions(+), 218 deletions(-) - -commit 7839e23558344f206175b5a798149e0f04f38266 -Author: Ebrahim Byagowi -Date: Mon Oct 7 11:14:26 2019 +0330 - - [glyf] minor - - src/hb-ot-glyf-table.hh | 38 +++++++++++++++----------------------- - 1 file changed, 15 insertions(+), 23 deletions(-) - -commit cbefbb2439c1a2f4c20877e611f8986b3933234e -Author: Ebrahim Byagowi -Date: Mon Oct 7 10:15:18 2019 +0330 - - [glyf] Move padding removal logic to GlyphHeader - - src/hb-ot-glyf-table.hh | 219 +++++++++++++++++++++++------------------------- - 1 file changed, 105 insertions(+), 114 deletions(-) - -commit 1ab8f9aa7a182fa078f6c6a5a78ef95686b1ac54 -Author: Ebrahim Byagowi -Date: Mon Oct 7 08:24:12 2019 +0330 - - [glyf] minor - - src/hb-ot-glyf-table.hh | 15 +++++++++------ - 1 file changed, 9 insertions(+), 6 deletions(-) - -commit 13fb5612ad545b419ca217f031864dde1b71c43f -Author: Ebrahim Byagowi -Date: Sun Oct 6 23:24:06 2019 +0330 - - [glyf] Aggregate get_offsets uses - - src/hb-ot-glyf-table.hh | 29 +++++++---------------------- - 1 file changed, 7 insertions(+), 22 deletions(-) - -commit 5179b96958f2db71c315c1d8c224bab87e2f4ae8 -Author: Ebrahim Byagowi -Date: Tue Oct 8 11:09:12 2019 +0330 - - [cff] minor on number_t - - src/hb-cff-interp-common.hh | 11 ++++------- - 1 file changed, 4 insertions(+), 7 deletions(-) - -commit d73cdcf3612ae6114a0f828e0f667d447ed1a964 -Author: Ebrahim Byagowi -Date: Sun Oct 6 18:09:14 2019 +0330 - - [ot-font] Apply font scaling before turning to int - - src/hb-ot-cff1-table.cc | 12 ++++----- - src/hb-ot-cff1-table.hh | 2 +- - src/hb-ot-cff2-table.cc | 8 +++--- - src/hb-ot-color-cbdt-table.hh | 14 +++++----- - src/hb-ot-color-sbix-table.hh | 8 +++--- - src/hb-ot-font.cc | 12 +++------ - src/hb-ot-glyf-table.hh | 58 ++++++++++++++++++++---------------------- - src/hb-ot-hmtx-table.hh | 2 +- - src/hb-ot-var-hvar-table.hh | 5 ++-- - test/api/test-ot-extents-cff.c | 20 +++++++-------- - 10 files changed, 66 insertions(+), 75 deletions(-) - -commit d7df7db160992e92c31afb6c79c7ccdad510fec1 -Merge: 74a2dbbce f2339964b -Author: Ebrahim Byagowi -Date: Sun Oct 6 17:18:59 2019 +0330 - - Merge remote-tracking branch 'upstream/master' into var-subset - -commit 74a2dbbcedb4647bf14dac17eb4faf1d1d57cf99 -Author: Ebrahim Byagowi -Date: Sun Oct 6 17:06:40 2019 +0330 - - minor - - .gitignore | 1 - - src/Makefile.sources | 1 - - src/hb-ot-font.cc | 1 - - src/hb-ot-hmtx-table.hh | 1 - - src/hb-ot-var-hvar-table.hh | 37 +++++++++++++++++-------------------- - 5 files changed, 17 insertions(+), 24 deletions(-) - -commit f2339964b713815c8e0e33699bf34ee24db12215 -Author: Ebrahim Byagowi -Date: Sun Oct 6 16:41:52 2019 +0330 - - [glyf] minor, remove GlyphHeader::simple_* helpers - - src/hb-ot-glyf-table.hh | 16 +++------------- - 1 file changed, 3 insertions(+), 13 deletions(-) - -commit 2d7ca6a76a754a42ec09a66319ac3e4ab5efc618 -Author: Ebrahim Byagowi -Date: Sun Oct 6 16:31:29 2019 +0330 - - [glyf] Move get_instruction_length inside GlyphHeader struct - - src/hb-ot-glyf-table.hh | 153 ++++++++++++++++++++++++++---------------------- - 1 file changed, 84 insertions(+), 69 deletions(-) - -commit 50aef4d7f80b6c8a19481ad3d0fa89c7c7f222c2 -Author: Ebrahim Byagowi -Date: Sun Oct 6 14:00:07 2019 +0330 - - [glyf] cleanup - - src/hb-ot-glyf-table.hh | 128 +++++++++++++++++++++--------------------------- - 1 file changed, 55 insertions(+), 73 deletions(-) - -commit ee3f4630d70099c42fd9c84796b29a236f6135b6 -Author: Ebrahim Byagowi -Date: Sun Oct 6 13:56:35 2019 +0330 - - [glyf] Remove get_composite_iter and refactor bytes_for_glyph for shape uses - - src/hb-ot-glyf-table.hh | 42 ++++++++++++++++-------------------------- - src/hb-subset-plan.cc | 2 +- - 2 files changed, 17 insertions(+), 27 deletions(-) - -commit 8378ab96e28fa34f154583850ff1c2c672a4310d -Author: Ebrahim Byagowi -Date: Sun Oct 6 13:49:45 2019 +0330 - - [glyf] Rewrite composite iterator to new iterators convention - - src/hb-ot-glyf-table.hh | 201 ++++++++++++++++++++---------------------------- - src/hb-subset-plan.cc | 10 +-- - 2 files changed, 85 insertions(+), 126 deletions(-) - -commit 100dbccaa50b2f965f3877f2156d388453f0948a -Merge: c54ee4853 b7684fa9f -Author: Ebrahim Byagowi -Date: Sun Oct 6 09:18:22 2019 +0330 - - Merge remote-tracking branch 'upstream/master' into var-subset - -commit b7684fa9f42dffa6bd81acfade163123b30800b8 -Merge: 79ec65ae1 21c80d955 -Author: Ebrahim Byagowi -Date: Sun Oct 6 09:00:48 2019 +0330 - - Merge pull request #1999 from ebraminio/glyf-var - - Implement gvar table and variable glyf - -commit 21c80d955f69c1242c77e0ec7ccd852360dd54dd -Author: Ebrahim Byagowi -Date: Sat Oct 5 23:58:52 2019 +0330 - - [gvar] minor - - src/hb-ot-var-gvar-table.hh | 43 +++++++++++++++++++++---------------------- - 1 file changed, 21 insertions(+), 22 deletions(-) - -commit 5752863640cf4292dec313edebb57aecd47496f3 -Author: Ebrahim Byagowi -Date: Sat Oct 5 23:51:50 2019 +0330 - - [glyf][gvar] Make HB_NO_VAR buildable - - src/hb-ot-font.cc | 2 ++ - src/hb-ot-glyf-table.hh | 6 ++++++ - src/hb-ot-hmtx-table.hh | 8 ++++++++ - 3 files changed, 16 insertions(+) - -commit 8e33510343d151afe49730f3a0b263a2853822b8 -Author: Ebrahim Byagowi -Date: Fri Oct 4 01:11:03 2019 +0330 - - [gvar] minor - - src/hb-ot-var-gvar-table.hh | 132 ++++++++++++++++++++++---------------------- - 1 file changed, 66 insertions(+), 66 deletions(-) - -commit b3afa8164460d63031a80d399200bcaa769c0fa1 -Author: Ebrahim Byagowi -Date: Fri Oct 4 00:32:04 2019 +0330 - - [glyf] Use common convention of other tables access, format - - src/hb-ot-face-table-list.hh | 1 + - src/hb-ot-glyf-table.hh | 65 +++++++++++++++++++------------------------- - 2 files changed, 29 insertions(+), 37 deletions(-) - -commit 88bd342c0ff686daad88bb6b4f2968bbd8b01a24 -Author: Ebrahim Byagowi -Date: Thu Oct 3 22:45:37 2019 +0330 - - [glyf] minor - - src/hb-ot-glyf-table.hh | 247 +++++++++++++++++++++++--------------------- - src/hb-ot-var-gvar-table.hh | 54 +++++----- - 2 files changed, 155 insertions(+), 146 deletions(-) - -commit ee7610181cee5bbc0b5dc291228fbe032097bde4 -Author: Ebrahim Byagowi -Date: Thu Oct 3 15:59:45 2019 +0330 - - [hmtx] Use more conventional internal API style - - src/Makefile.sources | 1 - - src/harfbuzz.cc | 1 - - src/hb-ot-font.cc | 12 ++++++++++++ - src/hb-ot-hmtx-table.cc | 42 ------------------------------------------ - src/hb-ot-hmtx-table.hh | 18 ++++++++++-------- - 5 files changed, 22 insertions(+), 52 deletions(-) - -commit c9577a630fd5bd08482ee7b94bc03c91fcf366c7 -Author: Ebrahim Byagowi -Date: Thu Oct 3 15:48:35 2019 +0330 - - [hmtx] Use more optimal way to access glyf table - - src/hb-ot-hmtx-table.cc | 20 ++++---------------- - src/hb-ot-hmtx-table.hh | 4 ++-- - 2 files changed, 6 insertions(+), 18 deletions(-) - -commit b9ff43c162e8f61cff8e48d3dcbf7c1fe263d625 -Author: Michiharu Ariza -Date: Tue Oct 1 16:13:40 2019 +0330 - - Implement gvar table and variable glyf - - Split from Ariza's "[subset] TrueType/CFF2 variable font" work on #1594 - - src/Makefile.sources | 2 + - src/harfbuzz.cc | 1 + - src/hb-ot-font.cc | 4 +- - src/hb-ot-glyf-table.hh | 618 ++++++++++++++--- - src/hb-ot-hmtx-table.cc | 54 ++ - src/hb-ot-hmtx-table.hh | 33 +- - src/hb-ot-var-gvar-table.hh | 734 +++++++++++++++++++++ - test/api/Makefile.am | 1 + - .../SourceSansVariable-Roman-nohvar-41,C1.ttf | Bin 0 -> 4696 bytes - test/api/fonts/SourceSansVariable-Roman.anchor.ttf | Bin 0 -> 4708 bytes - .../api/fonts/SourceSansVariable-Roman.modcomp.ttf | Bin 0 -> 3252 bytes - .../fonts/SourceSerifVariable-Roman-VVAR.abc.ttf | Bin 0 -> 5632 bytes - test/api/test-ot-metrics-tt-var.c | 250 +++++++ - 13 files changed, 1588 insertions(+), 109 deletions(-) - -commit c54ee4853092b8a7f9a47da36407455992f55d93 -Merge: 19d45dcab 79ec65ae1 -Author: Ebrahim Byagowi -Date: Thu Oct 3 14:28:37 2019 +0330 - - Merge remote-tracking branch 'upstream/master' into var-subset - -commit 79ec65ae10f959aeddaa1e39eba5226c604a8c87 -Author: Ebrahim Byagowi -Date: Thu Oct 3 14:27:51 2019 +0330 - - [ot-font] Use var vmtx side bearing in calculating v-origin - - src/hb-ot-font.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 19d45dcab732f3a836e17d31be9ca92f01c818b0 -Merge: 8106ba7f8 3fd555be5 -Author: Ebrahim Byagowi -Date: Thu Oct 3 13:39:17 2019 +0330 - - Merge remote-tracking branch 'upstream/master' into var-subset - -commit 3fd555be543a3e9bf9fee509327dbbc9a7b51cdb -Author: Ebrahim Byagowi -Date: Thu Oct 3 13:02:41 2019 +0330 - - [hmtx] Prepare to fix and minor fixes - - src/hb-ot-hmtx-table.hh | 41 ++++++++++++++++------------------------- - src/hb-ot-var-hvar-table.hh | 9 +++++---- - 2 files changed, 21 insertions(+), 29 deletions(-) - -commit 6d09b5a8a0f6ed7a2a92d91ac3d027bd54c452be -Author: Michiharu Ariza -Date: Thu Oct 3 12:01:39 2019 +0330 - - Implement hmtx/vmtx metrics read from hvar/vvar - - src/hb-ot-hmtx-table.hh | 46 ++++++++++++++++++++++++++++++++++++++++----- - src/hb-ot-var-hvar-table.hh | 19 +++++++++++++------ - 2 files changed, 54 insertions(+), 11 deletions(-) - -commit cfafee52e4ff0441a33530847533f1b1f6019006 -Author: Ebrahim Byagowi -Date: Wed Oct 2 09:22:46 2019 +0330 - - Add Repology badges by @luzpaz - - fixes #2002 - to track downstream packaging of harfbuzz - - README.md | 9 +++++++++ - 1 file changed, 9 insertions(+) - -commit 2d7221a0e3552b1d902629d4ab6c0ce22db983a6 -Author: Ebrahim Byagowi -Date: Tue Oct 1 15:05:02 2019 +0330 - - [cff] minor - - src/hb-ot-cff-common.hh | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -commit 0558413f27e9a18188c0e3d55f5ee57ea42b1548 -Author: Ebrahim Byagowi -Date: Tue Oct 1 13:49:55 2019 +0330 - - Minor, tweak spaces - - src/hb-aat-layout-kerx-table.hh | 4 ++-- - src/hb-array.hh | 4 ++-- - src/hb-buffer.hh | 3 +-- - src/hb-font.h | 4 ++-- - src/hb-font.hh | 8 ++++---- - src/hb-open-file.hh | 2 +- - src/hb-open-type.hh | 10 +++++----- - src/hb-ot-cff-common.hh | 4 ++-- - src/hb-ot-cff1-table.cc | 11 +++++------ - src/hb-ot-cff1-table.hh | 24 ++++++++++++------------ - src/hb-ot-cff2-table.cc | 4 ++-- - src/hb-ot-cmap-table.hh | 6 ++---- - src/hb-ot-color-cbdt-table.hh | 2 +- - src/hb-ot-color-cpal-table.hh | 2 +- - src/hb-ot-kern-table.hh | 12 ++++++------ - src/hb-ot-layout-common.hh | 2 +- - src/hb-ot-layout-gpos-table.hh | 14 +++++++------- - src/hb-ot-os2-table.hh | 4 ++-- - src/hb-ot-shape-complex-myanmar.cc | 4 ++-- - src/hb-subset-cff-common.hh | 2 +- - src/hb-unicode.cc | 8 ++++---- - src/hb-unicode.h | 20 ++++++++++---------- - src/hb-vector.hh | 4 ++-- - src/main.cc | 37 +++++++++++++++++++++++-------------- - src/test-iter.cc | 2 +- - 25 files changed, 101 insertions(+), 96 deletions(-) - -commit 51b720f686adf45bc1b6db3aa76b7d2e62ad1304 -Author: Ebrahim Byagowi -Date: Tue Oct 1 12:06:22 2019 +0330 - - Fix -Wsizeof-array-div clang warning - - src/hb-ot-shape-complex-arabic-fallback.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit faace9437ea09d89ef5f5f9c9fc3ce0dbc672142 -Merge: e48ef0804 f0dd724c1 -Author: Behdad Esfahbod -Date: Mon Sep 30 13:34:05 2019 -0700 - - Merge pull request #1807 from harfbuzz/subset-varstore - - VariationStore serializer - -commit e48ef0804ad7e4abd35ff3646fa6ed10ad32f1ef -Author: Behdad Esfahbod -Date: Mon Sep 30 12:39:06 2019 -0700 - - 2.6.2 - - NEWS | 6 ++++++ - configure.ac | 2 +- - src/hb-version.h | 4 ++-- - 3 files changed, 9 insertions(+), 3 deletions(-) - -commit d6ad613159aabce42fc21d57f6f1a4762c5617bf -Author: Behdad Esfahbod -Date: Tue Sep 10 15:31:44 2019 -0700 - - [docs] Misc fixes - - docs/harfbuzz-sections.txt | 4 ++-- - src/hb-gdi.cc | 2 +- - src/hb-ot-layout.cc | 2 +- - 3 files changed, 4 insertions(+), 4 deletions(-) - -commit 2dce85ed06a8cc7ca20900c65662af659c53e717 -Author: Ebrahim Byagowi -Date: Thu Sep 26 21:15:59 2019 +0330 - - [icu] Remove HB_ICU_STMT (#1993) - - And ignore extra semicolon error to ICU versions < 65 - - src/hb-icu.cc | 43 ++++++++++++++++++++++++------------------- - 1 file changed, 24 insertions(+), 19 deletions(-) - -commit d6a83abd6a0c684bd9a27f593d5be388819022b7 -Author: Iceflower -Date: Thu Sep 26 11:42:11 2019 +0200 - - Define HB_UNUSED for clang - - src/hb.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit c4567968cd175dc367ab951c9e3141ab5c03c2d6 -Author: Iceflower -Date: Thu Sep 26 11:35:27 2019 +0200 - - [dwrite] Fix extra semicolon issue - - src/hb-directwrite.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit b0c3eb06b64dcfcfee09a25dde8250804484f77d -Author: Qunxin Liu -Date: Wed Sep 18 16:11:44 2019 -0700 - - [subset] GPOS Lookup Type 3: CursivePos - - src/hb-ot-layout-common.hh | 33 ++++++++ - src/hb-ot-layout-gpos-table.hh | 87 ++++++++++++++++++++- - test/subset/data/Makefile.am | 1 + - test/subset/data/Makefile.sources | 1 + - .../gpos3_font3.keep-layout-retain-gids.28,29.otf | Bin 0 -> 1712 bytes - .../gpos3_font3.keep-layout-retain-gids.28,2B.otf | Bin 0 -> 1860 bytes - .../gpos3_font3.keep-layout-retain-gids.29,2B.otf | Bin 0 -> 1772 bytes - ...eep-layout-retain-gids.retain-all-codepoint.otf | Bin 0 -> 3692 bytes - .../layout.gpos3/gpos3_font3.keep-layout.28,29.otf | Bin 0 -> 1328 bytes - .../layout.gpos3/gpos3_font3.keep-layout.28,2B.otf | Bin 0 -> 1456 bytes - .../layout.gpos3/gpos3_font3.keep-layout.29,2B.otf | Bin 0 -> 1368 bytes - ...pos3_font3.keep-layout.retain-all-codepoint.otf | Bin 0 -> 3692 bytes - test/subset/data/fonts/gpos3_font3.otf | Bin 0 -> 4624 bytes - test/subset/data/tests/layout.gpos3.tests | 12 +++ - 14 files changed, 132 insertions(+), 2 deletions(-) - -commit 68d39ea4866a9d2bae60107619aad25dac6da241 -Author: Ebrahim Byagowi -Date: Tue Sep 24 13:52:46 2019 +0330 - - Revert previous change and fix -Wrange-loop-analysis complains - - src/hb-ot-layout-gpos-table.hh | 6 +++--- - src/hb-ot-vorg-table.hh | 2 +- - 2 files changed, 4 insertions(+), 4 deletions(-) - -commit cbc0646a6cfc0f6a04804d6888636f12130cd51b -Author: Ebrahim Byagowi -Date: Tue Sep 24 12:08:12 2019 +0330 - - Minor, normalize for each calls - - src/hb-ot-glyf-table.hh | 5 +---- - src/hb-ot-layout-gpos-table.hh | 10 +++++----- - src/hb-ot-name-table.hh | 3 +-- - src/hb-ot-vorg-table.hh | 3 +-- - 4 files changed, 8 insertions(+), 13 deletions(-) - -commit 22b6c6a5c7b9bebe123822c702b9661e144ebd6b -Author: Ebrahim Byagowi -Date: Tue Sep 24 12:06:28 2019 +0330 - - [serialize] use for each as #resolve_links, format - - src/hb-serialize.hh | 22 +++++++--------------- - 1 file changed, 7 insertions(+), 15 deletions(-) - -commit 512551f27600adac875de3381533b52d78f6b22d -Author: Qunxin Liu <48925186+qxliu76@users.noreply.github.com> -Date: Mon Sep 23 17:28:16 2019 -0700 - - memory leak fix in serializer (#1988) - - src/hb-serialize.hh | 1 + - 1 file changed, 1 insertion(+) - -commit f0a7677993e51ba4076a0f9a0e7d032d99917d34 -Author: Ebrahim Byagowi -Date: Mon Sep 23 21:09:39 2019 +0330 - - [gpos] minor - - src/hb-ot-layout-gpos-table.hh | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 035ec3d1b46b8e60bea3aa8dcf29cf47a5a42d57 -Author: Ebrahim Byagowi -Date: Mon Sep 23 20:51:43 2019 +0330 - - [cmap] remove has_format14, minor format - - fixes #1986 - - src/hb-ot-cmap-table.hh | 9 ++++----- - 1 file changed, 4 insertions(+), 5 deletions(-) - -commit c1a585fab0c17fe47b0728cf67920791c2173019 -Author: Ebrahim Byagowi -Date: Sat Sep 21 23:30:52 2019 +0430 - - [gpos] minor - - src/hb-ot-layout-gpos-table.hh | 22 +++++++--------------- - 1 file changed, 7 insertions(+), 15 deletions(-) - -commit d87d38998a4ff7bec3d8fb658dc9299f144a2fcb -Author: Ebrahim Byagowi -Date: Sat Sep 21 17:27:39 2019 +0430 - - Fix clang -Wrange-loop-analysis complains - - ./hb-ot-layout-gpos-table.hh:674:43: error: loop variable '_' is always a copy because the range of type 'hb_zip_iter_t > &>, hb_iter_type > &> >' (aka 'hb_zip_iter_t >, hb_array_t > >') does not return a reference [-Werror,-Wrange-loop-analysis] - for (const hb_pair_t& _ : hb_zip (val_iter, first_val_iter)) - ^ - ./hb-ot-layout-gpos-table.hh:674:12: note: use non-reference type 'hb_pair_t' (aka 'hb_pair_t, IntType >') - for (const hb_pair_t& _ : hb_zip (val_iter, first_val_iter)) - - and - - In file included from hb-subset.cc:44: - ./hb-ot-vorg-table.hh:87:34: error: loop variable '_' is always a copy because the range of type 'hb_map_iter_t, const hb_set_t *, OT::HBGlyphID OT::VertOriginMetric::*, nullptr>, (lambda at ./hb-ot-vorg-table.hh:100:15), hb_function_sortedness_t::NOT_SORTED, nullptr>' does not return a reference [-Werror,-Wrange-loop-analysis] - for (const VertOriginMetric& _ : it) - ^ - ./hb-ot-vorg-table.hh:113:17: note: in instantiation of function template specialization 'OT::VORG::serialize, const hb_set_t *, OT::HBGlyphID OT::VertOriginMetric::*, nullptr>, (lambda at ./hb-ot-vorg-table.hh:100:15), hb_function_sortedness_t::NOT_SORTED, nullptr>, nullptr>' requested here - vorg_prime->serialize (c->serializer, it, defaultVertOriginY); - ^ - ./hb-ot-vorg-table.hh:87:10: note: use non-reference type 'OT::VertOriginMetric' - for (const VertOriginMetric& _ : it) - ^~~~~~~~~~~~~~~~~~~~~~~~~~~ - - src/hb-ot-layout-gpos-table.hh | 2 +- - src/hb-ot-vorg-table.hh | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit 6e42a418c8fe4231c3cc080bc771455578b0cce0 -Author: Ebrahim Byagowi -Date: Sat Sep 21 16:25:54 2019 +0430 - - Minor, turn more of hb_apply to for each - - src/hb-ot-glyf-table.hh | 5 ++--- - src/hb-ot-layout-gpos-table.hh | 42 ++++++++++++++---------------------------- - src/hb-ot-name-table.hh | 5 ++--- - src/hb-ot-vorg-table.hh | 5 ++--- - 4 files changed, 20 insertions(+), 37 deletions(-) - -commit 0665dce1163317390adbed9394cce2b1325ddb6c -Author: Ebrahim Byagowi -Date: Sat Sep 21 17:22:02 2019 +0430 - - [fuzzer] Don't process output in debug mode as it causes timeout - - test/fuzzing/run-shape-fuzzer-tests.py | 7 ++++++- - test/fuzzing/run-subset-fuzzer-tests.py | 7 ++++++- - 2 files changed, 12 insertions(+), 2 deletions(-) - -commit dc886f6638f50e45e73d01e49db77b4bcefc85e1 -Author: Ebrahim Byagowi -Date: Sat Sep 14 11:18:47 2019 +0430 - - [ci] Re-enable debug builds on fedora bot - - .circleci/config.yml | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 70228f68ac413ee19281861e3039a82d90c17f2a -Author: Ebrahim Byagowi -Date: Sat Sep 21 16:24:41 2019 +0430 - - [ci] Enable HB_WITH_WIN1256 on -Weverything bot - - To catch its compile warnings, #1969 related - - .circleci/config.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 385741d565de1cc90de23664f8e66fc77c31efae -Author: Ebrahim Byagowi -Date: Sat Sep 21 15:26:14 2019 +0430 - - [cmap] Turn hb_apply into foreach where possible - - src/hb-ot-cmap-table.hh | 151 +++++++++++++++++++----------------------------- - 1 file changed, 61 insertions(+), 90 deletions(-) - -commit 1023c2cc6de0f33602df8709134bef8cdb66ba0c -Author: Ebrahim Byagowi -Date: Sat Sep 21 14:33:43 2019 +0430 - - [cmap] minor - - src/hb-ot-cmap-table.hh | 62 ++++++++++++++++++------------------------------- - 1 file changed, 22 insertions(+), 40 deletions(-) - -commit ead46eefe3bf2bea61c86689f4c5a1da9b7e446b -Author: Ebrahim Byagowi -Date: Sat Sep 21 14:25:11 2019 +0430 - - minor, use internal API instead public hb_set_has - - src/hb-ot-cmap-table.hh | 4 ++-- - src/hb-subset-plan.cc | 2 +- - 2 files changed, 3 insertions(+), 3 deletions(-) - -commit d8af4e7701fe63d63f6669706ce7a5bb3a15a19d -Author: Ebrahim Byagowi -Date: Sat Sep 21 14:19:14 2019 +0430 - - [cmap] minor, turn 8 spaces to tab - - src/hb-ot-cmap-table.hh | 228 ++++++++++++++++++++++++------------------------ - src/hb-subset-plan.cc | 6 +- - 2 files changed, 117 insertions(+), 117 deletions(-) - -commit 4315666283a7d1b175d1c3ed43b5ac85fdc84a50 -Author: Qunxin Liu -Date: Thu Aug 29 11:17:20 2019 -0700 - - [subset] updates according to review comments - - src/hb-ot-cmap-table.hh | 95 ++++++++++++++++++++++++------------------------- - 1 file changed, 47 insertions(+), 48 deletions(-) - -commit bf66d1bf589b6af2ceb30c18619f210b718c9db9 -Author: Qunxin Liu -Date: Wed Aug 21 14:24:33 2019 -0700 - - [subset] Add integration tests for cmap14 - - test/subset/data/Makefile.am | 1 + - test/subset/data/Makefile.sources | 1 + - .../cmap14/cmap14_font1.default.4E00,4E02,4E03.otf | Bin 0 -> 1360 bytes - .../cmap14/cmap14_font1.default.4E00,4E03.otf | Bin 0 -> 1236 bytes - .../cmap14/cmap14_font1.default.4E00,4E05,4E07.otf | Bin 0 -> 1328 bytes - .../cmap14/cmap14_font1.default.4E02,4E03,4E08.otf | Bin 0 -> 1576 bytes - .../expected/cmap14/cmap14_font1.default.4E02.otf | Bin 0 -> 996 bytes - .../expected/cmap14/cmap14_font1.default.4E03.otf | Bin 0 -> 1080 bytes - .../cmap14_font1.default.4E05,4E07,4E08,4E09.otf | Bin 0 -> 1848 bytes - .../cmap14/cmap14_font1.default.4E08,4E09.otf | Bin 0 -> 1720 bytes - .../expected/cmap14/cmap14_font1.default.4E08.otf | Bin 0 -> 1384 bytes - .../cmap14_font1.default.retain-all-codepoint.otf | Bin 0 -> 2348 bytes - ...font1.drop-hints-retain-gids.4E00,4E02,4E03.otf | Bin 0 -> 1388 bytes - ...ap14_font1.drop-hints-retain-gids.4E00,4E03.otf | Bin 0 -> 1272 bytes - ...font1.drop-hints-retain-gids.4E00,4E05,4E07.otf | Bin 0 -> 1396 bytes - ...font1.drop-hints-retain-gids.4E02,4E03,4E08.otf | Bin 0 -> 1720 bytes - .../cmap14_font1.drop-hints-retain-gids.4E02.otf | Bin 0 -> 1028 bytes - .../cmap14_font1.drop-hints-retain-gids.4E03.otf | Bin 0 -> 1124 bytes - ....drop-hints-retain-gids.4E05,4E07,4E08,4E09.otf | Bin 0 -> 1984 bytes - ...ap14_font1.drop-hints-retain-gids.4E08,4E09.otf | Bin 0 -> 1872 bytes - .../cmap14_font1.drop-hints-retain-gids.4E08.otf | Bin 0 -> 1544 bytes - ...drop-hints-retain-gids.retain-all-codepoint.otf | Bin 0 -> 2436 bytes - .../cmap14_font1.drop-hints.4E00,4E02,4E03.otf | Bin 0 -> 1292 bytes - .../cmap14/cmap14_font1.drop-hints.4E00,4E03.otf | Bin 0 -> 1168 bytes - .../cmap14_font1.drop-hints.4E00,4E05,4E07.otf | Bin 0 -> 1260 bytes - .../cmap14_font1.drop-hints.4E02,4E03,4E08.otf | Bin 0 -> 1512 bytes - .../cmap14/cmap14_font1.drop-hints.4E02.otf | Bin 0 -> 928 bytes - .../cmap14/cmap14_font1.drop-hints.4E03.otf | Bin 0 -> 1012 bytes - ...cmap14_font1.drop-hints.4E05,4E07,4E08,4E09.otf | Bin 0 -> 1780 bytes - .../cmap14/cmap14_font1.drop-hints.4E08,4E09.otf | Bin 0 -> 1652 bytes - .../cmap14/cmap14_font1.drop-hints.4E08.otf | Bin 0 -> 1316 bytes - ...map14_font1.drop-hints.retain-all-codepoint.otf | Bin 0 -> 2280 bytes - .../cmap14_font1.name-ids.4E00,4E02,4E03.otf | Bin 0 -> 1292 bytes - .../cmap14/cmap14_font1.name-ids.4E00,4E03.otf | Bin 0 -> 1168 bytes - .../cmap14_font1.name-ids.4E00,4E05,4E07.otf | Bin 0 -> 1260 bytes - .../cmap14_font1.name-ids.4E02,4E03,4E08.otf | Bin 0 -> 1508 bytes - .../expected/cmap14/cmap14_font1.name-ids.4E02.otf | Bin 0 -> 928 bytes - .../expected/cmap14/cmap14_font1.name-ids.4E03.otf | Bin 0 -> 1012 bytes - .../cmap14_font1.name-ids.4E05,4E07,4E08,4E09.otf | Bin 0 -> 1780 bytes - .../cmap14/cmap14_font1.name-ids.4E08,4E09.otf | Bin 0 -> 1652 bytes - .../expected/cmap14/cmap14_font1.name-ids.4E08.otf | Bin 0 -> 1316 bytes - .../cmap14_font1.name-ids.retain-all-codepoint.otf | Bin 0 -> 2280 bytes - .../cmap14_font1.retain-gids.4E00,4E02,4E03.otf | Bin 0 -> 1452 bytes - .../cmap14/cmap14_font1.retain-gids.4E00,4E03.otf | Bin 0 -> 1340 bytes - .../cmap14_font1.retain-gids.4E00,4E05,4E07.otf | Bin 0 -> 1464 bytes - .../cmap14_font1.retain-gids.4E02,4E03,4E08.otf | Bin 0 -> 1788 bytes - .../cmap14/cmap14_font1.retain-gids.4E02.otf | Bin 0 -> 1096 bytes - .../cmap14/cmap14_font1.retain-gids.4E03.otf | Bin 0 -> 1192 bytes - ...map14_font1.retain-gids.4E05,4E07,4E08,4E09.otf | Bin 0 -> 2048 bytes - .../cmap14/cmap14_font1.retain-gids.4E08,4E09.otf | Bin 0 -> 1940 bytes - .../cmap14/cmap14_font1.retain-gids.4E08.otf | Bin 0 -> 1608 bytes - ...ap14_font1.retain-gids.retain-all-codepoint.otf | Bin 0 -> 2500 bytes - test/subset/data/fonts/cmap14_font1.otf | Bin 0 -> 4484 bytes - test/subset/data/tests/cmap14.tests | 21 +++++++++++++++++++++ - 54 files changed, 23 insertions(+) - -commit 2583afa0eb90134274ddd92864ea5270eeebc52e -Author: Qunxin Liu -Date: Fri Aug 16 13:54:24 2019 -0700 - - [subset] subsetting cmap14 - - src/hb-ot-cmap-table.hh | 295 +++++++++++++++++++++++++++++++++++++++++++----- - 1 file changed, 265 insertions(+), 30 deletions(-) - -commit 078ddbd0f6ad660e740809b7f4c067e02309b98d -Author: Qunxin Liu -Date: Wed Aug 7 13:17:26 2019 -0700 - - [subset] glyph closure for CMAP14 - - src/hb-ot-cmap-table.hh | 34 +++++++++++++++++++++++++++++++++- - src/hb-subset-plan.cc | 10 ++++++++++ - 2 files changed, 43 insertions(+), 1 deletion(-) - -commit bbe878006d347893fc70e282c2aaafef5dd622b4 -Author: Ebrahim Byagowi -Date: Wed Sep 18 22:22:01 2019 +0430 - - Avoid bitwise negate of enum value - - Fixes this -fno-sanitize-recover=undefined fail, - - hb-ot-map.hh:188:1: runtime error: load of value 4294967294, which is not a valid value for type 'hb_ot_map_feature_flags_t' - #0 0x7f62bfa9b227 in operator&=(hb_ot_map_feature_flags_t&, hb_ot_map_feature_flags_t) /home/ebrahim/Desktop/harfbuzz/src/./hb-ot-map.hh:188:1 - #1 0x7f62bfa9b227 in hb_ot_map_builder_t::compile(hb_ot_map_t&, hb_ot_shape_plan_key_t const&) /home/ebrahim/Desktop/harfbuzz/src/hb-ot-map.cc:194 - #2 0x7f62bface650 in hb_ot_shape_planner_t::compile(hb_ot_shape_plan_t&, hb_ot_shape_plan_key_t const&) /home/ebrahim/Desktop/harfbuzz/src/hb-ot-shape.cc:108:7 - #3 0x7f62bfacec1e in hb_ot_shape_plan_t::init0(hb_face_t*, hb_shape_plan_key_t const*) /home/ebrahim/Desktop/harfbuzz/src/hb-ot-shape.cc:225:11 - #4 0x7f62bfae1318 in hb_shape_plan_create2 /home/ebrahim/Desktop/harfbuzz/src/hb-shape-plan.cc:232:7 - #5 0x7f62bfae1d2a in hb_shape_plan_create_cached2 /home/ebrahim/Desktop/harfbuzz/src/hb-shape-plan.cc:489:33 - #6 0x7f62bfae2527 in hb_shape_full /home/ebrahim/Desktop/harfbuzz/src/hb-shape.cc:135:33 - #7 0x55ed360b6588 in shape_options_t::shape(hb_font_t*, hb_buffer_t*, char const**) /home/ebrahim/Desktop/harfbuzz/util/./options.hh:242:10 - #8 0x55ed360b5d9c in shape_consumer_t::consume_line(char const*, unsigned int, char const*, char const*) /home/ebrahim/Desktop/harfbuzz/util/./shape-consumer.hh:67:19 - #9 0x55ed360b549f in main_font_text_t, 2147483647, 0>::main(int, char**) /home/ebrahim/Desktop/harfbuzz/util/./main-font-text.hh:81:16 - #10 0x55ed360b4e23 in main /home/ebrahim/Desktop/harfbuzz/util/hb-shape.cc:189:17 - #11 0x7f62bf104ee2 in __libc_start_main (/usr/lib/libc.so.6+0x26ee2) - #12 0x55ed3608f7ad in _start (/home/ebrahim/Desktop/harfbuzz/util/.libs/lt-hb-shape+0xd7ad) - - src/hb-ot-map.cc | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit e6909ee58d0f7b954f3bb227c2f90ca4cfd0c858 -Author: Ebrahim Byagowi -Date: Wed Sep 18 22:12:25 2019 +0430 - - minor - - src/hb-buffer.cc | 2 +- - src/hb-common.cc | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit bb41b74fd1fb42b08e9069c22ee046daeee98e6b -Author: Ebrahim Byagowi -Date: Wed Sep 18 00:55:24 2019 +0430 - - Don't rely on undefined left shift of negative value behavior - - Fixes this -fno-sanitize-recover=undefined check, - - hb-ft.cc:869:27: runtime error: left shift of negative value -16384 - #0 0x7ff8f47da843 in hb_ft_font_set_funcs /home/ebrahim/Desktop/harfbuzz/src/hb-ft.cc:869:27 - #1 0x55f20a66c7d6 in font_options_t::get_font() const /home/ebrahim/Desktop/harfbuzz/util/options.cc:731:3 - #2 0x55f20a668c1f in shape_consumer_t::init(hb_buffer_t*, font_options_t const*) /home/ebrahim/Desktop/harfbuzz/util/./shape-consumer.hh:47:42 - #3 0x55f20a668441 in main_font_text_t, 2147483647, 0>::main(int, char**) /home/ebrahim/Desktop/harfbuzz/util/./main-font-text.hh:75:14 - #4 0x55f20a667f91 in main /home/ebrahim/Desktop/harfbuzz/util/hb-shape.cc:180:21 - #5 0x7ff8f3df7ee2 in __libc_start_main (/usr/lib/libc.so.6+0x26ee2) - #6 0x55f20a6427ad in _start (/home/ebrahim/Desktop/harfbuzz/util/.libs/lt-hb-shape+0xd7ad) - - src/hb-ft.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit b73313ade75130bf86ad1efbd312ce4106166089 -Author: Ebrahim Byagowi -Date: Wed Sep 18 00:50:32 2019 +0430 - - Don't seek of out-of-bound value even if the result is not used - - Fixes this -fno-sanitize-recover=undefined fail, - - /set/iter: hb-algs.hh:1016:60: runtime error: index 4294967295 out of bounds for type 'unsigned long long const[8]' - #0 0x4d1e09 in hb_vector_size_t::operator[](unsigned int) const /home/user/code/harfbuzz/src/./hb-algs.hh:1016:60 - #1 0x4d8b5f in hb_set_t::page_t::previous(unsigned int*) const /home/user/code/harfbuzz/src/./hb-set.hh:139:53 - #2 0x4d0ada in hb_set_t::previous(unsigned int*) const /home/user/code/harfbuzz/src/./hb-set.hh:602:36 - #3 0x4cd76f in hb_set_previous /home/user/code/harfbuzz/src/hb-set.cc:494:15 - #4 0x4ca8af in test_set_iter /home/user/code/harfbuzz/test/api/test-set.c:310:3 - #5 0x7f3a4f3e0f49 (/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x72f49) - #6 0x7f3a4f3e0e7a (/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x72e7a) - #7 0x7f3a4f3e1121 in g_test_run_suite (/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x73121) - #8 0x7f3a4f3e1140 in g_test_run (/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x73140) - #9 0x4c8894 in hb_test_run /home/user/code/harfbuzz/test/api/./hb-test.h:88:10 - #10 0x4c8894 in main /home/user/code/harfbuzz/test/api/test-set.c:408:10 - #11 0x7f3a4e3d2b96 in __libc_start_main /build/glibc-OTsEL5/glibc-2.27/csu/../csu/libc-start.c:310 - #12 0x41e7d9 in _start (/home/user/code/harfbuzz/test/api/test-set+0x41e7d9) - - src/hb-set.hh | 7 ++++++- - 1 file changed, 6 insertions(+), 1 deletion(-) - -commit d8af9ee017ed1018343d30272f55b90dd03a3559 -Author: Ebrahim Byagowi -Date: Wed Sep 18 00:47:55 2019 +0430 - - Don't rely on nullptr deref recovery - - Fixes this -fno-sanitize-recover=undefined fail, - - /types/language: hb-common.cc:385:20: runtime error: member access within null pointer of type 'const struct hb_language_impl_t' - #0 0x4caa34 in hb_language_to_string /home/user/code/harfbuzz/src/hb-common.cc:385:20 - #1 0x4c9be8 in test_types_language /home/user/code/harfbuzz/test/api/test-common.c:205:3 - #2 0x7f9557e72f49 (/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x72f49) - #3 0x7f9557e72e7a (/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x72e7a) - #4 0x7f9557e73121 in g_test_run_suite (/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x73121) - #5 0x7f9557e73140 in g_test_run (/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x73140) - #6 0x4c88a3 in hb_test_run /home/user/code/harfbuzz/test/api/./hb-test.h:88:10 - #7 0x4c88a3 in main /home/user/code/harfbuzz/test/api/test-common.c:224:10 - #8 0x7f9556e64b96 in __libc_start_main /build/glibc-OTsEL5/glibc-2.27/csu/../csu/libc-start.c:310 - #9 0x41e7d9 in _start (/home/user/code/harfbuzz/test/api/test-common+0x41e7d9) - - src/hb-common.cc | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit bfb155a5f19b26f9dcff667a76a24cd5c3b83234 -Author: Ebrahim Byagowi -Date: Wed Sep 18 00:44:52 2019 +0430 - - Don't call memset when length is zero - - Fixes this -fno-sanitize-recover=undefined check, - - /buffer/positions/empty: hb-buffer.cc:327:11: runtime error: null pointer passed as argument 1, which is declared to never be null - - /usr/include/string.h:60:62: note: nonnull attribute specified here - #0 0x4cf31c in hb_buffer_t::clear_positions() /home/user/code/harfbuzz/src/hb-buffer.cc:327:3 - #1 0x4d4dd4 in hb_buffer_get_glyph_positions /home/user/code/harfbuzz/src/hb-buffer.cc:1418:13 - #2 0x4cb553 in test_buffer_positions /home/user/code/harfbuzz/test/api/test-buffer.c:305:3 - #3 0x7f324187bf49 (/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x72f49) - #4 0x7f324187be7a (/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x72e7a) - #5 0x7f324187be7a (/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x72e7a) - #6 0x7f324187c121 in g_test_run_suite (/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x73121) - #7 0x7f324187c140 in g_test_run (/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x73140) - #8 0x4c8bd3 in hb_test_run /home/user/code/harfbuzz/test/api/./hb-test.h:88:10 - #9 0x4c8bd3 in main /home/user/code/harfbuzz/test/api/test-buffer.c:884:10 - #10 0x7f324086db96 in __libc_start_main /build/glibc-OTsEL5/glibc-2.27/csu/../csu/libc-start.c:310 - #11 0x41e919 in _start (/home/user/code/harfbuzz/test/api/test-buffer+0x41e919) - - src/hb-buffer.cc | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 5a1cc199ab7b619935af04584ecc650216a83d66 -Author: Ebrahim Byagowi -Date: Wed Sep 18 00:43:44 2019 +0430 - - [ci] Run -fno-sanitize-recover=undefined checks - - .circleci/config.yml | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit c930ae2bd8b6f626ddec0628ae6b38e3134e3c97 -Author: Ebrahim Byagowi -Date: Mon Sep 16 14:04:34 2019 +0430 - - Avoid stdint.h in Kernel module compiles - - src/hb-common.h | 2 ++ - 1 file changed, 2 insertions(+) - -commit 412d6cac3a46d710159ed4b3cc3bb59fd5876d5f -Author: Ebrahim Byagowi -Date: Mon Sep 16 13:50:11 2019 +0430 - - Extract an avoid errno compile flag - - src/hb-blob.cc | 1 - - src/hb-config.hh | 1 + - src/hb.hh | 9 +++++++-- - 3 files changed, 8 insertions(+), 3 deletions(-) - -commit 8a16d6f1c13388e6d9ca844a309632ec583ee1a2 -Author: Ebrahim Byagowi -Date: Sun Sep 15 20:43:33 2019 +0430 - - [doc] fix minor typo - - src/hb-ot-layout.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit aab279b33dda45ae0e45c887f2fad6381b5138dc -Author: Ebrahim Byagowi -Date: Sat Sep 14 11:20:09 2019 +0430 - - [ci] Install cmake on macOS cmake/amalgam tester - - .circleci/config.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit f3214df6f63919ebe73c713b1e80bba1097a0cea -Author: Ebrahim Byagowi -Date: Sat Sep 14 10:56:00 2019 +0430 - - [coretext] Fix double promotion warnings by making casts explicit - - src/hb-coretext.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit cbbb6fa45519a8670870c784841d7b9e1ab71dd1 -Author: Ebrahim Byagowi -Date: Sat Sep 14 10:53:12 2019 +0430 - - [ci] Don't build cmake tests in macOS bot - - .circleci/config.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 6e4736a3c5acc0eea1b16c79b95d1a3082baa320 -Author: Ebrahim Byagowi -Date: Sat Sep 14 10:38:52 2019 +0430 - - [name] Undef entry_{index,score} to avoid collision in amalgam builds - - src/hb-ot-name-table.hh | 3 +++ - 1 file changed, 3 insertions(+) - -commit d512087e4dfb5d9483b78eaf8443b4fa8724b8e1 -Author: Ebrahim Byagowi -Date: Sat Sep 14 10:36:29 2019 +0430 - - Rename GlyphID to HBGlyphID - - Avoid collision with macOS's ATSUnicodeTypes.h GlyphID - - src/hb-aat-layout-bsln-table.hh | 4 +- - src/hb-aat-layout-common.hh | 16 +++---- - src/hb-aat-layout-just-table.hh | 8 ++-- - src/hb-aat-layout-kerx-table.hh | 4 +- - src/hb-aat-layout-morx-table.hh | 32 ++++++------- - src/hb-open-type.hh | 4 +- - src/hb-ot-cmap-table.hh | 4 +- - src/hb-ot-color-cbdt-table.hh | 8 ++-- - src/hb-ot-color-colr-table.hh | 4 +- - src/hb-ot-glyf-table.hh | 2 +- - src/hb-ot-layout-base-table.hh | 2 +- - src/hb-ot-layout-common.hh | 22 ++++----- - src/hb-ot-layout-gpos-table.hh | 2 +- - src/hb-ot-layout-gsub-table.hh | 72 +++++++++++++++--------------- - src/hb-ot-layout-jstf-table.hh | 2 +- - src/hb-ot-math-table.hh | 4 +- - src/hb-ot-shape-complex-arabic-fallback.hh | 14 +++--- - src/hb-ot-vorg-table.hh | 2 +- - 18 files changed, 103 insertions(+), 103 deletions(-) - -commit bf08611044d83b6f5d6dec443f5216db259b4085 -Author: Ebrahim Byagowi -Date: Sat Sep 14 10:35:08 2019 +0430 - - [ci] Update and compile cmake/amalgam on macOS bot - - .circleci/config.yml | 7 ++++--- - 1 file changed, 4 insertions(+), 3 deletions(-) - -commit 229ef1d29d5c7a370ebb10a1131c04719f34dc81 -Author: Behdad Esfahbod -Date: Tue Sep 10 10:31:07 2019 -0700 - - Rename Fixed to HBFixed - - Fixes(!!) https://github.com/harfbuzz/harfbuzz/issues/1966 - - src/hb-aat-fdsc-table.hh | 4 ++-- - src/hb-aat-layout-just-table.hh | 20 ++++++++++---------- - src/hb-aat-layout-trak-table.hh | 8 ++++---- - src/hb-open-type.hh | 4 ++-- - src/hb-ot-post-table.hh | 2 +- - src/hb-ot-stat-table.hh | 14 +++++++------- - src/hb-ot-var-fvar-table.hh | 16 ++++++++-------- - 7 files changed, 34 insertions(+), 34 deletions(-) - -commit 170b5dd856b1ba8f26e79863fe0c64a52eb68951 -Author: Behdad Esfahbod -Date: Sun Sep 8 16:34:11 2019 -0400 - - [aat] Minor - - src/hb-aat-layout-morx-table.hh | 14 +++++--------- - 1 file changed, 5 insertions(+), 9 deletions(-) - -commit a0695687eb03bcf80c4dec19917127cdd8d8797d -Author: Behdad Esfahbod -Date: Sun Sep 8 16:32:12 2019 -0400 - - [aat] Minor - - src/hb-aat-layout-morx-table.hh | 2 -- - 1 file changed, 2 deletions(-) - -commit 4905a2198b4c47c12c6356f72ae0d2b178630d25 -Author: Ebrahim Byagowi -Date: Mon Sep 9 12:36:12 2019 +0430 - - [number] Add static to hb-number-parser.hh functions - - src/hb-number-parser.hh | 4 ++-- - src/hb-number-parser.rl | 4 ++-- - 2 files changed, 4 insertions(+), 4 deletions(-) - -commit 30e5cdfbf1ce2aadadf29ccfd0733355ced2d065 -Author: Ebrahim Byagowi -Date: Mon Sep 9 00:28:16 2019 +0430 - - [number] Optimize _pow10 constants (#1963) - - src/hb-number-parser.hh | 43 +++++++++++++++++++------------------------ - src/hb-number-parser.rl | 31 +++++++++++++------------------ - 2 files changed, 32 insertions(+), 42 deletions(-) - -commit 3f2cdf07a417f81aeeb1e296db493b6e02d76ba8 -Author: Behdad Esfahbod -Date: Sun Sep 8 15:08:02 2019 -0400 - - Change HB_VAR_ARRAY to 1 again - - To fix MSVC bots, while I work on changing this to 0 permanently. - - src/hb.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 39cf8e21be2bf69717cf60a339b3ad26c6f7985b -Author: Ebrahim Byagowi -Date: Sat Sep 7 15:27:30 2019 +0430 - - [number] Add overflow checks used to be done in parse_bcd - - Which were removed in 1083df8 - - src/hb-number-parser.hh | 60 +++++++++++++++++++++++++++++++++---------------- - src/hb-number-parser.rl | 38 ++++++++++++++++++++++++------- - 2 files changed, 71 insertions(+), 27 deletions(-) - -commit 47d82713a144e06e00a486b3aa7d3934d62d68fd -Author: Ebrahim Byagowi -Date: Fri Sep 6 20:33:10 2019 +0430 - - Replace strtod with a ragel implementation - - Use a ragel based number parser when strtod_l couldn't be found - as libc's strtod may is locale sensetivity which we need to not. - - src/Makefile.sources | 2 + - src/hb-number-parser.hh | 223 ++++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-number-parser.rl | 122 ++++++++++++++++++++++++++ - src/hb-number.cc | 3 +- - src/test-number.cc | 30 +++++++ - 5 files changed, 379 insertions(+), 1 deletion(-) - -commit 80613e5b9ee31125f4390012719e6f39970118d3 -Author: Ebrahim Byagowi -Date: Sat Sep 7 14:25:54 2019 +0430 - - Minor, remove unused header - - src/hb-common.cc | 3 --- - 1 file changed, 3 deletions(-) - -commit 5902198cee9b9939ae310f459f9f18f5f1b07424 -Author: Behdad Esfahbod -Date: Fri Sep 6 21:36:31 2019 -0400 - - [kerx] Fix offset issue in kern format 2 - - Fixes tests with HB_VAR_ARRAY != 1, as done in previous commit. - - src/hb-aat-layout-common.hh | 2 +- - src/hb-aat-layout-kerx-table.hh | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit 861547d5315be4cb22f3a1e7cd59696d8657ca49 -Author: Behdad Esfahbod -Date: Fri Sep 6 16:55:00 2019 -0400 - - Change HB_VAR_ARRAY from 1 to 0 - - Going to see which compilers it breaks and special-case those... - - src/hb.hh | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit 0e294c455e7f2e50172f65463ab016f1372d4c59 -Author: Behdad Esfahbod -Date: Fri Sep 6 16:54:27 2019 -0400 - - Rename VAR to HB_VAR_ARRAY - - src/hb-machinery.hh | 2 +- - src/hb-open-type.hh | 8 ++++---- - src/hb-ot-cff-common.hh | 6 +++--- - src/hb-ot-cff1-table.hh | 4 ++-- - src/hb-ot-layout-common.hh | 2 +- - src/hb-ot-maxp-table.hh | 2 +- - src/hb-string-array.hh | 2 +- - src/hb.hh | 2 +- - 8 files changed, 14 insertions(+), 14 deletions(-) - -commit c379faed2bcca1cc1a81b0de132fc3c4f7f7a080 -Author: Behdad Esfahbod -Date: Fri Sep 6 16:41:12 2019 -0400 - - Fix a few struct size declarations - - Was wrong. As excercised by defining VAR to other than 1 in hb.hh. - - src/hb-aat-layout-feat-table.hh | 2 +- - src/hb-ot-cff-common.hh | 2 +- - src/hb-ot-color-sbix-table.hh | 2 +- - src/hb-ot-layout-common.hh | 2 +- - 4 files changed, 4 insertions(+), 4 deletions(-) - -commit 7d4da8b86242d5a541e501937ddf321716b43f07 -Author: Evgeniy Reizner -Date: Fri Sep 6 19:24:32 2019 +0300 - - Remove duplicated tests from test-ot-tag (#1958) - - test/api/test-ot-tag.c | 3 --- - 1 file changed, 3 deletions(-) - -commit 3aceee2527ad921e0d589e42a1fe451e0fc67ee0 -Author: Behdad Esfahbod -Date: Fri Sep 6 12:17:18 2019 -0400 - - Revert "[null] Silence undefined-behavior complaints with too-small null bytes" - - This reverts commit 911c76abcdfe89770b252eb0d4eb621c0db00ad5. - - Broke tests. I'm not sure I understand why. At any rate, this was a - bad way to fix. I'll look into understanding as well as better fix. - - src/hb-null.hh | 6 ------ - 1 file changed, 6 deletions(-) - -commit 911c76abcdfe89770b252eb0d4eb621c0db00ad5 -Author: Behdad Esfahbod -Date: Fri Sep 6 11:53:11 2019 -0400 - - [null] Silence undefined-behavior complaints with too-small null bytes - - Fixes https://bugzilla.mozilla.org/show_bug.cgi?id=1577584 - - src/hb-null.hh | 6 ++++++ - 1 file changed, 6 insertions(+) - -commit 3c81246f66585edd8ee4515d226b133c290e9d7c -Author: Behdad Esfahbod -Date: Sun Sep 1 19:25:50 2019 -0500 - - [subset] Use newer iter tools in SinglePosFormat1 - - src/hb-ot-layout-gpos-table.hh | 8 ++------ - 1 file changed, 2 insertions(+), 6 deletions(-) - -commit 9510e918f72d2496f5e2ec84c58e79af944c8a0b -Author: Behdad Esfahbod -Date: Sun Sep 1 16:25:33 2019 -0500 - - [iter] Partialize hb_zip() - - src/hb-iter.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 52d19ba4591e822708e52a8fc96d9821fe2668f4 -Author: Behdad Esfahbod -Date: Sun Sep 1 19:42:08 2019 -0500 - - Minor - - test/subset/Makefile.am | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit cad698568a36ea6c929b4c888bd5e8aafe8d39e3 -Author: Ebrahim Byagowi -Date: Wed Sep 4 10:59:19 2019 +0430 - - Use roundf to fix cast to int difference of msys2 w64 - - src/test-number.cc | 14 +++++++------- - 1 file changed, 7 insertions(+), 7 deletions(-) - -commit 88c73359da3f7078d02f27087790c7109ab4d248 -Author: Ebrahim Byagowi -Date: Wed Sep 4 11:16:18 2019 +0430 - - Check roundf availibity in autotools - - Hmm, not sure how I missed it. - - configure.ac | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 1083df8b80b08aa1a4f2dabfe414aaa4a0ec8aa1 -Author: Ebrahim Byagowi -Date: Wed Sep 4 01:22:21 2019 +0430 - - Use hb_parse_double in CFF::dict_opset_t::parse_bcd - - src/Makefile.sources | 2 + - src/hb-cff-interp-dict-common.hh | 136 +++++++++------------------------------ - 2 files changed, 31 insertions(+), 107 deletions(-) - -commit 57f88e11d4c48f40a2e56625a54bdfed4aae601a -Author: Ebrahim Byagowi -Date: Wed Sep 4 01:20:50 2019 +0430 - - [number] Turn hb_parse_float into hb_parse_double - - src/hb-common.cc | 6 +++++- - src/hb-number.cc | 16 ++++++++-------- - src/hb-number.hh | 4 ++-- - src/test-number.cc | 44 ++++++++++++++++++++++---------------------- - 4 files changed, 37 insertions(+), 33 deletions(-) - -commit 65690b5a4bf1186a072e8e918c5e01464f918d46 -Author: Ebrahim Byagowi -Date: Tue Sep 3 23:09:47 2019 +0430 - - [number] Add whole buffer check and test it - - src/hb-algs.hh | 6 ++---- - src/hb-buffer-serialize.cc | 12 ++++-------- - src/hb-number.cc | 39 ++++++++++++++++++++++++--------------- - src/hb-number.hh | 9 ++++++--- - src/test-number.cc | 19 ++++++++++++++++--- - 5 files changed, 52 insertions(+), 33 deletions(-) - -commit 3661eb6105a33a763736d8dc4a2cd95c01aa4332 -Author: Ebrahim Byagowi -Date: Tue Sep 3 19:43:14 2019 +0430 - - Don't check null terminaion of source in hb_codepoint_parse - - This isn't what intended originally, just checking if consumed - all the buffer is enough. - - src/hb-algs.hh | 4 ++-- - src/test-number.cc | 32 +++++++++++++++++++++++++++++++- - 2 files changed, 33 insertions(+), 3 deletions(-) - -commit 3a162727501ad0c56d5d6561cace115d858eacb7 -Author: Ebrahim Byagowi -Date: Tue Sep 3 17:19:33 2019 +0430 - - [test] resolve msvc complain on signedness comparing - - src/test-number.cc | 14 +++++++------- - 1 file changed, 7 insertions(+), 7 deletions(-) - -commit 005389beb5a28e2a94b40d0bb8229e9598b84b1d -Author: Ebrahim Byagowi -Date: Tue Sep 3 17:00:46 2019 +0430 - - Use hb_parse_uint in deserializer token parser - - src/hb-buffer-serialize.cc | 9 ++++++--- - 1 file changed, 6 insertions(+), 3 deletions(-) - -commit 3d5b1df7ab689871db37ec9a2f5b1ff1665fdb20 -Author: Ebrahim Byagowi -Date: Tue Sep 3 16:58:16 2019 +0430 - - [number] Add test - - src/Makefile.am | 6 +- - src/test-number.cc | 180 +++++++++++++++++++++++++++++++++++++++++++++++++++++ - 2 files changed, 185 insertions(+), 1 deletion(-) - -commit b5e6805ee777347ae13ba0133ca0d64252ef9d55 -Author: Ebrahim Byagowi -Date: Tue Sep 3 15:23:40 2019 +0430 - - [number] Minor tweak on parser related codes - - src/hb-algs.hh | 6 +++--- - src/hb-buffer-serialize.cc | 6 ++---- - src/hb-common.cc | 14 ++++++-------- - src/hb-number.cc | 6 ++---- - 4 files changed, 13 insertions(+), 19 deletions(-) - -commit e2cecf1f34fe1cc62fd8260172f9bd694a17fac5 -Author: Ebrahim Byagowi -Date: Tue Sep 3 15:14:21 2019 +0430 - - [number] Remove parsing code duplication of the calls using lambda - - src/hb-number.cc | 57 +++++++++++++++++++------------------------------------- - 1 file changed, 19 insertions(+), 38 deletions(-) - -commit a77bb7eb41d34b19a672bb4ede038cc1b19a3945 -Author: Ebrahim Byagowi -Date: Tue Sep 3 14:49:14 2019 +0430 - - Move hb_codepoint_parse to hb_parse_uint - - src/hb-algs.hh | 20 +++++++++----------- - src/hb-buffer-serialize.cc | 1 - - src/hb-common.cc | 1 - - src/hb-number.cc | 26 +++++++++++++++++++++++--- - src/hb-number.hh | 3 +++ - src/hb.hh | 3 ++- - 6 files changed, 37 insertions(+), 17 deletions(-) - -commit 43372fbb5afe31ea1e66d450f29de718b6190828 -Author: Ebrahim Byagowi -Date: Tue Sep 3 01:02:40 2019 +0430 - - Merge and aggregate number parsing logics to form hb-number - - src/Makefile.sources | 2 + - src/harfbuzz.cc | 1 + - src/hb-buffer-serialize.cc | 41 +++++--------- - src/hb-common.cc | 121 +++------------------------------------ - src/hb-number.cc | 138 +++++++++++++++++++++++++++++++++++++++++++++ - src/hb-number.hh | 35 ++++++++++++ - 6 files changed, 197 insertions(+), 141 deletions(-) - -commit d50d2fcbc7233f0473493e17ab3fb243d8d30edd -Author: Ebrahim Byagowi -Date: Tue Sep 3 05:02:06 2019 +0430 - - Fallback if roundf didn't exist, like in dietlibc (#1953) - - CMakeLists.txt | 2 +- - src/hb.hh | 9 +++++++++ - 2 files changed, 10 insertions(+), 1 deletion(-) - -commit d3b984d3790d61931d4427ad7c0ae6547f8f1076 -Author: Ebrahim Byagowi -Date: Mon Sep 2 18:18:25 2019 +0430 - - Revert in-house pow10 (d80a3ea) and fix oss-fuzz/16922 - - Probably can be fixed but merging it was wrong so let's revert. - - src/hb-cff-interp-dict-common.hh | 37 ++------------------- - ...ase-minimized-hb-subset-fuzzer-5728664968232960 | Bin 0 -> 28 bytes - 2 files changed, 3 insertions(+), 34 deletions(-) - -commit 41d6e95b0d47c874b73b314cd147e6ea8ec5ddfb -Author: Ebrahim Byagowi -Date: Mon Sep 2 01:41:48 2019 +0430 - - [subset] Use internal API of hb_set_t - - src/hb-subset.cc | 7 +++---- - 1 file changed, 3 insertions(+), 4 deletions(-) - -commit 8ccf328d548a51140e22fe61ba6fdae3f7194aa2 -Author: Ebrahim Byagowi -Date: Mon Sep 2 00:02:06 2019 +0430 - - [subset] Run once for a tag - - src/hb-subset.cc | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -commit 0954c8f7a003b4130cfdc1b3f29db8c57953a78f -Author: Khaled Hosny -Date: Sun Sep 1 17:09:08 2019 +0200 - - [ft] Prefer symbol cmap subtable if found (#1948) - - Similar to commit d304d60e4d49df14ed85d6646680085f27bafbf2 for ot-font. - - src/hb-ft.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 4375858792f3e3cc2fae72c3ae3327f52884f780 -Author: Ebrahim Byagowi -Date: Sun Sep 1 15:13:05 2019 +0430 - - [editorconfig] Treat Ragel files also as C sources - - .editorconfig | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit d80a3ea983534e291aee273dba5b1c6e889dadfa -Author: Ebrahim Byagowi -Date: Sun Sep 1 14:05:16 2019 +0430 - - [cff] Implement in-house power of 10 - - A minimal power only for natural numbers exponents of ten, for portability. - - Found the idea in Tcl/Tk but wrote it myself after weeks and it turned out - being a different implementation, reverse direction, constexpr, etc. - - src/hb-cff-interp-dict-common.hh | 37 ++++++++++++++++++++++++++++++++++--- - 1 file changed, 34 insertions(+), 3 deletions(-) - -commit f441a7c00837fbe7843df6faedd5f6383c2258c3 -Author: Ebrahim Byagowi -Date: Sun Sep 1 02:18:09 2019 +0430 - - Don't allow reference blob be accessed using empty tag in hb_face_reference_table (#1947) - - src/hb-face.cc | 3 +++ - src/hb-subset.cc | 5 ----- - 2 files changed, 3 insertions(+), 5 deletions(-) - -commit c9eb913f4cf3d9d4a28059c7ecf7145ad3c49c65 -Author: Behdad Esfahbod -Date: Sat Aug 31 15:21:02 2019 -0500 - - [iter] Simplify hb_chop() - - src/hb-iter.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 67ec9fa9e48714f595ab17bb8a673b5ee7c73aa8 -Author: Behdad Esfahbod -Date: Sat Aug 31 14:51:49 2019 -0500 - - [iter] Add hb_chop() - - src/hb-iter.hh | 14 ++++++++++++++ - src/test-iter.cc | 2 +- - 2 files changed, 15 insertions(+), 1 deletion(-) - -commit 5828d8e83c023547f0add77b6413967056c2a13c -Author: Behdad Esfahbod -Date: Sat Aug 31 14:36:44 2019 -0500 - - [iter] Add hb_take() specialization for arrays - - src/hb-iter.hh | 11 +++++++++++ - 1 file changed, 11 insertions(+) - -commit 398b296f3b205daa8964de1a63957efeb59f6bdf -Author: Behdad Esfahbod -Date: Sat Aug 31 12:44:24 2019 -0500 - - [iter] Add hb_len() - - src/hb-iter.hh | 8 ++++++++ - src/test-iter.cc | 2 +- - 2 files changed, 9 insertions(+), 1 deletion(-) - -commit 875131d47854c162c1d0a39a5c0f8f8d0c5f24e0 -Author: Behdad Esfahbod -Date: Sat Aug 31 12:42:52 2019 -0500 - - [iter] Add hb_take() - - src/hb-iter.hh | 12 ++++++++++-- - src/test-iter.cc | 1 + - 2 files changed, 11 insertions(+), 2 deletions(-) - -commit 1f88dae9f54d18cd740f149d020b2bb435dc9378 -Author: Behdad Esfahbod -Date: Sat Aug 31 12:24:42 2019 -0500 - - [iter] Make iota() accept invokable for increasing to next item - - src/hb-iter.hh | 21 ++++++++++++++++----- - src/test-iter.cc | 1 + - 2 files changed, 17 insertions(+), 5 deletions(-) - -commit 3bc86fb237b668e738a78397be04c603e7cf083b -Author: Behdad Esfahbod -Date: Fri Aug 30 16:39:52 2019 -0500 - - [algs] Fix hb_inc/dec signature - - src/hb-algs.hh | 5 +++-- - src/test-algs.cc | 4 ++++ - 2 files changed, 7 insertions(+), 2 deletions(-) - -commit b1378d8a217a53e17562abebee22276e09528f8c -Author: Behdad Esfahbod -Date: Fri Aug 30 12:10:45 2019 -0500 - - [iter] Add hb_repeat() - - src/hb-iter.hh | 37 +++++++++++++++++++++++++++++++++---- - src/test-iter.cc | 3 +++ - 2 files changed, 36 insertions(+), 4 deletions(-) - -commit 966a18b92a8b95d8024ae67bc237eeffe5019711 -Author: Behdad Esfahbod -Date: Fri Aug 30 12:07:17 2019 -0500 - - [iter] Remove some && - - src/hb-iter.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit de45775c37873dd5818058dfe316cc0e98590334 -Author: Behdad Esfahbod -Date: Fri Aug 30 12:02:46 2019 -0500 - - [iter] Use hb_ridentity instead of lazy + - - src/hb-iter.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit ce4d63beec08995aaa6b8b45f7986f074a73f295 -Author: Behdad Esfahbod -Date: Fri Aug 30 11:59:50 2019 -0500 - - [iter] Separate hb_iota implementation from hb_range - - src/hb-iter.hh | 29 +++++++++++++++++++++++++++-- - 1 file changed, 27 insertions(+), 2 deletions(-) - -commit 814dc3cbe5a5e51b48cb962a6f7053797bbb8e0d -Author: Behdad Esfahbod -Date: Fri Aug 30 10:20:30 2019 -0500 - - [iter] Rename - - Moving towards making iota useful for non-integers. - - src/hb-iter.hh | 35 ++++++++++++++++++----------------- - 1 file changed, 18 insertions(+), 17 deletions(-) - -commit 2d5643aed4a5a4bc3ea129d4af3dcbe7af7b9995 -Author: Behdad Esfahbod -Date: Fri Aug 30 09:51:22 2019 -0500 - - [algs] Add hb_inc() and hb_dec()) - - src/hb-algs.hh | 12 ++++++++++++ - 1 file changed, 12 insertions(+) - -commit 7eafe94705bb818aac71fbc142158a22da622d19 -Author: Behdad Esfahbod -Date: Fri Aug 30 09:40:40 2019 -0500 - - Revert "[array] Add chop()" - - This reverts commit 545fe9d9f0870568c40c17591f3f224c228feba6. - - Breaks gcc 4.8 and MSVC all versions. - - Will add hb_chop() that works on all iterators instead. - - src/hb-array.hh | 14 -------------- - 1 file changed, 14 deletions(-) - -commit 28c8dcb53f0af0dd3f4e7909285e67865a10b67b -Author: Ebrahim Byagowi -Date: Sat Aug 31 12:27:14 2019 +0430 - - [subset] minor - - src/hb-subset.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 545fe9d9f0870568c40c17591f3f224c228feba6 -Author: Behdad Esfahbod -Date: Thu Aug 29 15:48:21 2019 -0700 - - [array] Add chop() - - Takes n, and returns iterator of iterators that contain up to - n items each. Basically cuts the array into subarrays of size n. - The last sub-array might contain fewer. - - Ideally this should become a generic iter tool, not array-specific, - so we can use it in GPOS to chop a value matrix into rows and elements. - - src/hb-array.hh | 14 ++++++++++++++ - 1 file changed, 14 insertions(+) - -commit c72589f13f24ca24a0613f7d9bc28b7fe1ef25c0 -Author: Behdad Esfahbod -Date: Thu Aug 29 15:45:21 2019 -0700 - - [iter] Change item_size to get_item_size() - - By moving access to hb_static_size(Type) into a function instead of - a class-const, we can refer to iter types of incomplete types, which - come handy when a method of hb_array_t wants to return iterator - of hb_array_t. That kind of stuff. Next commit needs this to - build on clang... - - src/hb-array.hh | 8 ++++---- - src/hb-iter.hh | 4 ++-- - 2 files changed, 6 insertions(+), 6 deletions(-) - -commit d58e248df62457bdc8a5bab743e5de26c6fc57be -Author: Behdad Esfahbod -Date: Thu Aug 29 15:23:48 2019 -0700 - - [array] Add truncate() method - - src/hb-array.hh | 4 ++++ - 1 file changed, 4 insertions(+) - -commit a06edf1430ba73d24104fce5406f2bc787ce5f11 -Author: Behdad Esfahbod -Date: Thu Aug 29 15:21:18 2019 -0700 - - [array] Use injected class name more - - src/hb-array.hh | 24 ++++++++++++------------ - 1 file changed, 12 insertions(+), 12 deletions(-) - -commit e0e0c8c10948212e97426e987b6f296dc4270c43 -Author: Behdad Esfahbod -Date: Thu Aug 29 14:58:16 2019 -0700 - - Minor - - src/hb-ot-layout-gpos-table.hh | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -commit 0313ef86e32a217e14950d46a3c3b98362a53dee -Author: qxliu76 <48925186+qxliu76@users.noreply.github.com> -Date: Thu Aug 29 14:09:05 2019 -0700 - - bug fix in optimizing coverage table format (#1942) - - We are comparing number of shorts, NOT number of bytes. - - src/hb-ot-layout-common.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 38f95baf6b7a74547906e8e813c826ee8f8c272f -Author: Behdad Esfahbod -Date: Thu Aug 29 13:40:46 2019 -0700 - - [subset] in SingleSubst subsetting, check for substitute in glyphset - - That matches what fonttools does and allows for specifying exact - glyphset for subset. - - src/hb-ot-layout-gsub-table.hh | 8 ++++++-- - 1 file changed, 6 insertions(+), 2 deletions(-) - -commit 8106ba7f882f087be114801e857bc945e42cf45b -Author: Ebrahim Byagowi -Date: Thu Aug 29 20:33:36 2019 +0430 - - [glyf] Reapply use of hb_bytes_t.as () - - src/hb-ot-glyf-table.hh | 37 ++++++++++++++++++------------------- - 1 file changed, 18 insertions(+), 19 deletions(-) - -commit 9e80fc683639fc63870f7705feff8fc962363167 -Author: Ebrahim Byagowi -Date: Thu Aug 29 20:17:31 2019 +0430 - - [glyf] Reapply common moving logic to GlyphHeader struct - - src/hb-ot-glyf-table.hh | 27 +++++++++++++++++---------- - 1 file changed, 17 insertions(+), 10 deletions(-) - -commit 852c9aa0e33744669cba2343f08cab67376edf14 -Author: Ebrahim Byagowi -Date: Thu Aug 29 20:12:53 2019 +0430 - - [glyf] Reapply style fixes - - src/hb-ot-glyf-table.hh | 162 +++++++++++++++++++++++++++--------------------- - 1 file changed, 90 insertions(+), 72 deletions(-) - -commit 9ff32b79b37e686bab0b4baa924c97b841bd8413 -Merge: 6b3e09391 499029644 -Author: Ebrahim Byagowi -Date: Thu Aug 29 19:53:18 2019 +0430 - - Merge remote-tracking branch 'upstream/master' into glyf-rebase - -commit 499029644f35be7feedca7edf4610b2594855f01 -Author: Ebrahim Byagowi -Date: Thu Aug 29 15:09:39 2019 +0430 - - [gsub] Fix clang's semicolon complains - - src/hb-ot-layout-gsub-table.hh | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 28620310b8a86092074d5a1c40c87fdc9a91ba61 -Author: Ebrahim Byagowi -Date: Thu Aug 29 14:55:54 2019 +0430 - - [test] Avoid alloca use as clang complain - - Fixes https://circleci.com/gh/harfbuzz/harfbuzz/108171 complain - - test/api/test-ot-color.c | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit 875985cd481f1609d10ad0472f1e77af075c93bc -Author: Ebrahim Byagowi -Date: Thu Aug 29 14:51:22 2019 +0430 - - [subset] Don't allow malicious fonts to insert unlimited table headers - - Fixes https://crbug.com/oss-fuzz/16810 - - src/hb-subset.cc | 5 +++++ - ...estcase-minimized-hb-subset-fuzzer-5675720390475776 | Bin 0 -> 299037 bytes - 2 files changed, 5 insertions(+) - -commit dc9222b1dd197ba50f7b63eb97f3fe0891a7b7b5 -Author: Behdad Esfahbod -Date: Wed Aug 28 15:38:46 2019 -0700 - - [subset] Implement AlternateSubst subsetting - - src/hb-ot-layout-gsub-table.hh | 61 +++++++++++++++++++++++++++++++++++++----- - 1 file changed, 55 insertions(+), 6 deletions(-) - -commit 23681b6da4368895fc049beda5a79af58aad8d69 -Author: Behdad Esfahbod -Date: Wed Aug 28 15:30:37 2019 -0700 - - Minor - - src/hb-ot-layout-gsub-table.hh | 21 ++++++++------------- - 1 file changed, 8 insertions(+), 13 deletions(-) - -commit 33c8e2303c23e8dfacb79ac15d8a0e6c7f866c89 -Author: Behdad Esfahbod -Date: Wed Aug 28 15:25:55 2019 -0700 - - [subset] Implement MultipleSubst subsetting - - src/hb-ot-layout-gsub-table.hh | 50 ++++++++++++++++++++++++++++++++++++++++-- - 1 file changed, 48 insertions(+), 2 deletions(-) - -commit 5c43a7ba7e4cac229593f9cbe1017d3c55b111ac -Author: Behdad Esfahbod -Date: Wed Aug 28 15:09:58 2019 -0700 - - [GSUB] Use dagger in Ligature::intersects() - - src/hb-ot-layout-gsub-table.hh | 8 +------- - 1 file changed, 1 insertion(+), 7 deletions(-) - -commit b8c642c1f597fb28ef323ac3cd78541eb462a2f7 -Author: Behdad Esfahbod -Date: Wed Aug 28 15:06:45 2019 -0700 - - Minor - - src/hb-ot-layout-gsub-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit dc2c9aa0c398ac068e1385fffe1fb2b28c80d099 -Author: Behdad Esfahbod -Date: Wed Aug 28 15:05:49 2019 -0700 - - Rename - - src/hb-open-type.hh | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -commit bc5ef765a874ecd9fc0634dccf0848d1ee839c9a -Author: Behdad Esfahbod -Date: Wed Aug 28 14:51:28 2019 -0700 - - [subset] Subset ligature substitutes! - - Test with: - - $ ./hb-subset -o out.ttf NotoSansArabic-Regular.ttf --drop-tables= سلام && ./hb-view out.ttf سلام - - src/hb-ot-layout-gsub-table.hh | 79 ++++++++++++++++++++++++++++++++++++++++-- - 1 file changed, 76 insertions(+), 3 deletions(-) - -commit 42d887bd221879f57ef939838d4f72bf38268943 -Author: Behdad Esfahbod -Date: Wed Aug 28 14:47:14 2019 -0700 - - Beef up HeadlessArrayOf<> - - Should be merged with ArrayOf... - https://github.com/harfbuzz/harfbuzz/issues/1937 - - src/hb-open-type.hh | 37 ++++++++++++++++++++++++++++++------- - 1 file changed, 30 insertions(+), 7 deletions(-) - -commit 3ca809e3623e59b9a99bc0b9e5d10b02238bba3c -Author: Behdad Esfahbod -Date: Wed Aug 28 13:49:35 2019 -0700 - - Add ArrayOf::pop() - - src/hb-open-type.hh | 2 ++ - 1 file changed, 2 insertions(+) - -commit 307bd6d79f11eb175f06c08c321947a447496291 -Author: Behdad Esfahbod -Date: Wed Aug 28 13:49:17 2019 -0700 - - Add arithmetic operators to IntType<> - - src/hb-open-type.hh | 8 ++++++++ - 1 file changed, 8 insertions(+) - -commit 2e1d00c85bba98f08a728c4f6f8112d5a25d8062 -Author: Behdad Esfahbod -Date: Wed Aug 28 13:49:04 2019 -0700 - - [debug] Minor - - src/hb-debug.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 062cad5e28574f9f004f917afa7d010fa68fdad0 -Author: Behdad Esfahbod -Date: Wed Aug 28 13:33:08 2019 -0700 - - Add ArrayOf::serialize_append - - src/hb-open-type.hh | 12 ++++++++++++ - 1 file changed, 12 insertions(+) - -commit b66076812d067f893a5a422af2656916ff479d8f -Author: Adrian Wong -Date: Wed Aug 28 21:31:27 2019 +1000 - - Adjustments to the generated Indic table output (#1936) - - * Add empty parentheses after print call - - * Minor: newlines. Move #pragma pop down one; #endif up one - - * Adjust #define ISC/IMC output - - * Regenerate Indic table - - src/gen-indic-table.py | 21 ++++--- - src/hb-ot-shape-complex-indic-table.cc | 109 +++++++++++++++++---------------- - 2 files changed, 70 insertions(+), 60 deletions(-) - -commit 4ef08dbce1a9acd7e941168245c96e010248ecb6 -Author: Ebrahim Byagowi -Date: Tue Aug 27 14:49:46 2019 +0430 - - Use hb_bytes_t as in hb_blob_t - - src/hb-blob.hh | 8 ++------ - 1 file changed, 2 insertions(+), 6 deletions(-) - -commit dce42cef2b769379a0690053da0e7467ff086195 -Author: Ebrahim Byagowi -Date: Tue Aug 27 14:32:05 2019 +0430 - - [glyf] Move GlyphHeader::from_bytes to hb_bytes_t, introduce .as () - - src/hb-array.hh | 6 ++++++ - src/hb-ot-glyf-table.hh | 24 +++++++++--------------- - 2 files changed, 15 insertions(+), 15 deletions(-) - -commit 6e82d59b4f72e8f2ff1830fb384907dcba95962a -Author: Ebrahim Byagowi -Date: Tue Aug 27 12:33:42 2019 +0430 - - [glyf] Revert the way indexToLocFormat is set - - src/hb-ot-glyf-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 88e9db19d29480fadcd4f49f0f4d9029ac64b429 -Author: Ebrahim Byagowi -Date: Tue Aug 27 02:44:26 2019 +0430 - - [subset] Remove subset table size assertion - - As https://github.com/harfbuzz/harfbuzz/pull/1930#issuecomment-525036802 - - src/hb-subset.cc | 1 - - 1 file changed, 1 deletion(-) - -commit a0b4ac4dce392326284138fc47cf3741e2798e21 -Author: Ebrahim Byagowi -Date: Sat Aug 24 17:57:14 2019 +0430 - - Turn 8 spaces to tab across the project - - According to the current code style of the project - - src/hb-aat-layout-kerx-table.hh | 12 +- - src/hb-aat-layout-morx-table.hh | 16 +-- - src/hb-aat-layout-trak-table.hh | 6 +- - src/hb-array.hh | 4 +- - src/hb-blob.cc | 4 +- - src/hb-buffer-serialize.cc | 2 +- - src/hb-buffer.cc | 22 ++-- - src/hb-buffer.h | 4 +- - src/hb-common.cc | 4 +- - src/hb-coretext.cc | 50 ++++---- - src/hb-dispatch.hh | 2 +- - src/hb-font.cc | 16 +-- - src/hb-ft.cc | 2 +- - src/hb-graphite2.cc | 10 +- - src/hb-iter.hh | 4 +- - src/hb-kern.hh | 6 +- - src/hb-machinery.hh | 2 +- - src/hb-object.hh | 2 +- - src/hb-open-file.hh | 4 +- - src/hb-open-type.hh | 2 +- - src/hb-ot-cmap-table.hh | 252 ++++++++++++++++++------------------- - src/hb-ot-color-cbdt-table.hh | 2 +- - src/hb-ot-color-cpal-table.hh | 2 +- - src/hb-ot-color-sbix-table.hh | 8 +- - src/hb-ot-font.cc | 16 +-- - src/hb-ot-hmtx-table.hh | 62 ++++----- - src/hb-ot-layout-common.hh | 16 +-- - src/hb-ot-layout-gdef-table.hh | 4 +- - src/hb-ot-layout-gpos-table.hh | 74 +++++------ - src/hb-ot-layout.cc | 26 ++-- - src/hb-ot-layout.h | 18 +-- - src/hb-ot-map.cc | 2 +- - src/hb-ot-maxp-table.hh | 2 +- - src/hb-ot-name-table.hh | 8 +- - src/hb-ot-name.cc | 2 +- - src/hb-ot-shape-complex-arabic.cc | 14 +-- - src/hb-ot-shape-complex-hangul.cc | 12 +- - src/hb-ot-shape-complex-indic.cc | 34 ++--- - src/hb-ot-shape-complex-khmer.cc | 2 +- - src/hb-ot-shape-complex-myanmar.cc | 2 +- - src/hb-ot-shape-complex-use.cc | 2 +- - src/hb-ot-shape-fallback.cc | 46 +++---- - src/hb-ot-shape-normalize.cc | 4 +- - src/hb-ot-shape.cc | 16 +-- - src/hb-ot-stat-table.hh | 4 +- - src/hb-ot-var-avar-table.hh | 2 +- - src/hb-ot-var-fvar-table.hh | 6 +- - src/hb-ot-vorg-table.hh | 28 ++--- - src/hb-pool.hh | 2 +- - src/hb-sanitize.hh | 6 +- - src/hb-set.hh | 36 +++--- - src/hb-shape-plan.cc | 50 ++++---- - src/hb-subset-cff2.cc | 18 +-- - src/hb-subset-input.cc | 2 +- - src/hb-subset-plan.cc | 34 ++--- - src/hb-subset-plan.hh | 8 +- - src/hb-subset.h | 2 +- - src/hb-uniscribe.cc | 8 +- - src/hb-utf.hh | 8 +- - src/hb-vector.hh | 2 +- - src/hb.hh | 12 +- - src/test-ot-color.cc | 4 +- - src/test-unicode-ranges.cc | 6 +- - test/api/hb-subset-test.h | 6 +- - test/api/test-buffer.c | 2 +- - test/api/test-object.c | 2 +- - test/api/test-ot-math.c | 132 +++++++++---------- - test/api/test-unicode.c | 16 +-- - util/ansi-print.cc | 26 ++-- - util/hb-fc-list.c | 2 +- - util/hb-fc.cc | 4 +- - util/hb-shape.cc | 2 +- - util/hb-subset.cc | 10 +- - util/helper-cairo-ansi.cc | 4 +- - util/helper-cairo.cc | 2 +- - util/options-subset.cc | 26 ++-- - util/options.cc | 50 ++++---- - util/options.hh | 8 +- - 78 files changed, 662 insertions(+), 668 deletions(-) - -commit 269a120f137ca69ca83b6fa00bb6a0ff1a87ae3e -Author: Ebrahim Byagowi -Date: Sun Aug 25 20:37:00 2019 +0430 - - [subset] Raise the bar in new vs old table size - - https://crbug.com/oss-fuzz/16740 - - This is actually an interesting thing that {h,v}mtx allocates as - much as a font pretends to have glyphs but the solution is not - that obvious as regular fonts can have less than actually containing - metrics in their {h,v}mtx. This change raises the bar to consider this - hmtx 4 byte for every glyph case. - - Initially we wanted to just find things allocating crazy amount of - memory but having the assert has led to interesting findings also - so let's don't remove the assert and see what we can find elsewhere. - - src/hb-subset.cc | 2 +- - ...z-testcase-minimized-hb-subset-fuzzer-5667673584697344 | Bin 0 -> 178 bytes - 2 files changed, 1 insertion(+), 1 deletion(-) - -commit 2f8e823331aca2c73b940f057f4b149a89af0502 -Author: Ebrahim Byagowi -Date: Sun Aug 25 12:37:40 2019 +0430 - - [glyf] minor - - src/hb-ot-glyf-table.hh | 5 ++--- - 1 file changed, 2 insertions(+), 3 deletions(-) - -commit 07e467a30e2bab9731900d72dbf926dbe6fc6e1d -Author: Ebrahim Byagowi -Date: Sun Aug 25 00:36:58 2019 +0430 - - [glyf] Move GlyphHeader size checking to a static method - - src/hb-ot-glyf-table.hh | 69 ++++++++++++++++++++++++++----------------------- - 1 file changed, 36 insertions(+), 33 deletions(-) - -commit 139d14dc899250cf06a8d03b70504687184d5c7f -Author: Ebrahim Byagowi -Date: Sat Aug 24 17:23:16 2019 +0430 - - [glyf] Move GlyphHeader related logics to its, making its fields protected - - src/hb-ot-glyf-table.hh | 73 +++++++++++++++++++++++++------------------------ - 1 file changed, 38 insertions(+), 35 deletions(-) - -commit d57819cbdbab18ccf20caa25cb72cd66efe30848 -Author: Ebrahim Byagowi -Date: Sat Aug 24 16:26:42 2019 +0430 - - [glyf] format source - - src/hb-ot-glyf-table.hh | 282 ++++++++++++++++++++++++++---------------------- - 1 file changed, 154 insertions(+), 128 deletions(-) - -commit 2aef3013f3e6d71eacd0123f4faa63445034c32b -Author: Ebrahim Byagowi -Date: Sat Aug 24 02:59:18 2019 +0430 - - [subset] Consider instruction length place itself - - Now fixes https://crbug.com/oss-fuzz/16639 completely - - src/hb-ot-glyf-table.hh | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit 922898c814b328712fac6c3259740804679dae11 -Author: Ebrahim Byagowi -Date: Fri Aug 23 22:04:14 2019 +0430 - - [subset] Fail on table grow more than 16x+4096 - - src/hb-subset.cc | 1 + - 1 file changed, 1 insertion(+) - -commit 28aba780c4035cc85a31b778db0f5553c896dd6a -Author: Ebrahim Byagowi -Date: Fri Aug 23 16:47:15 2019 +0430 - - [subset] Fix blob leak of _subset2 when returns early - - Fixes https://crbug.com/oss-fuzz/16639 - - src/hb-subset.cc | 2 ++ - ...z-testcase-minimized-hb-subset-fuzzer-5754526379802624 | Bin 0 -> 288 bytes - 2 files changed, 2 insertions(+) - -commit 541f3c2d7dcae47eb55650082e372286369d4a55 -Author: Behdad Esfahbod -Date: Fri Aug 23 12:25:58 2019 -0700 - - [debug] Fix extra semicolon issue - - https://github.com/harfbuzz/harfbuzz/issues/1923 - - src/hb-debug.hh | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 4dcaca84115bf8de130fc2c9e03bd7e63fcf9607 -Author: Behdad Esfahbod -Date: Fri Aug 23 12:24:15 2019 -0700 - - Whitespace - - src/hb-debug.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 569426d861ac9336f4083e55f98284b4c647c795 -Author: Behdad Esfahbod -Date: Fri Aug 23 11:54:20 2019 -0700 - - [debug] Fix build with HB_DEBUG - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1923 - - src/hb-debug.hh | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit f233e6c8014cde9b2396c5350c29a3277cd3a657 -Author: Khaled Hosny -Date: Fri Aug 23 13:15:37 2019 +0200 - - [doc] Update list of default features in the manual - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1921 - - docs/usermanual-opentype-features.xml | 8 +++++--- - 1 file changed, 5 insertions(+), 3 deletions(-) - -commit be97e9d678017d4ec66625fa2b17ef3485552cad -Author: Behdad Esfahbod -Date: Thu Aug 22 15:52:24 2019 -0700 - - 2.6.1 - - NEWS | 11 +++++++++++ - configure.ac | 2 +- - src/hb-version.h | 4 ++-- - 3 files changed, 14 insertions(+), 3 deletions(-) - -commit d304d60e4d49df14ed85d6646680085f27bafbf2 -Author: Behdad Esfahbod -Date: Wed Aug 21 12:30:22 2019 -0700 - - [ot-font] Prefer symbol cmap subtable if found - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1918 - - Hopefully doesn't break anyone... - - src/hb-ot-cmap-table.hh | 16 +++++++++------- - 1 file changed, 9 insertions(+), 7 deletions(-) - -commit 2a3d4987a75fb2cd51ccf4c1d08baba383ceda7b -Author: Ebrahim Byagowi -Date: Wed Aug 21 03:02:01 2019 +0430 - - Remove hb_directwrite_shape_experimental_width public API - - I had specially exposed the API as I didn't know how to embed harfbuzz - easily elsewhere but now with harfbuzz.cc it has become very easy - and I don't like to see its use anywhere as it has a bad naming and - its Kashida adding is bogus and only useful to check where it should - be added, not visually useful however. - - src/hb-directwrite.cc | 29 ++++++----------------------- - src/hb-directwrite.h | 5 ----- - 2 files changed, 6 insertions(+), 28 deletions(-) - -commit 163a66dc737645852d7515381304d69706688e16 -Author: Behdad Esfahbod -Date: Tue Aug 20 14:22:57 2019 -0700 - - [test] Add test for aaa85931f3542639cd9d0dfb92fd6baab5b0298d - - test/api/test-shape.c | 48 ++++++++++++++++++++++++++++++------------------ - 1 file changed, 30 insertions(+), 18 deletions(-) - -commit aaa85931f3542639cd9d0dfb92fd6baab5b0298d -Author: Behdad Esfahbod -Date: Tue Aug 20 13:06:10 2019 -0700 - - [font] Update multipliers when creating sub_font - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1910 - - src/hb-font.cc | 1 + - 1 file changed, 1 insertion(+) - -commit bbad1b8298125d78c159ed7fdd7bde6a3f3fff56 -Author: Ebrahim Byagowi -Date: Tue Aug 20 14:46:48 2019 +0430 - - [trak] minor, use roundf instead round to normalize the use - - The change to `round` wasn't intended - - src/hb-aat-layout-trak-table.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit e67cb500e9c5f6717d0d1cd152de84d88ec7370e -Author: Ebrahim Byagowi -Date: Tue Aug 20 13:30:34 2019 +0430 - - [readme] add oss-fuzz badge - - Related: - https://github.com/google/oss-fuzz/pull/2513 - https://github.com/systemd/systemd/commit/ce2098b7e9443cd6f31fb70af7f72308cd2962a3 - - README.md | 1 + - 1 file changed, 1 insertion(+) - -commit d59d89b28128cf644d76098c709b9309b834eb09 -Author: Ebrahim Byagowi -Date: Tue Aug 20 13:07:17 2019 +0430 - - [test] Rebase 10.14 trak related test - - test/shaping/data/in-house/tests/macos.tests | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 20b1a27c8a319d43a582c3efa8233b9f2c3cc73e -Merge: 5ee1e451c 37de38ade -Author: Ebrahim Byagowi -Date: Tue Aug 20 13:04:51 2019 +0430 - - Merge remove-coretext-96dpi-assumption, @drott - - Remove assumption about Core Text working in 96 DPI - -commit 37de38adeae48e1855c2431a39639db873a74554 -Merge: f401f85a5 5ee1e451c -Author: Ebrahim Byagowi -Date: Tue Aug 20 12:59:33 2019 +0430 - - Merge branch 'master' into remove-coretext-96dpi-assumption - -commit 5ee1e451cfc75dc6ddbc3ae300ba7394a0cd560e -Author: Behdad Esfahbod -Date: Mon Aug 19 14:23:17 2019 -0700 - - Minor touch-up for recent change - - src/hb-ot-var-avar-table.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 33489928444b94bdd2cc523dac14707eb29d667e -Author: Ebrahim Byagowi -Date: Wed Aug 7 20:07:58 2019 +0430 - - [avar] Implement inverse map, unmap - - src/hb-ot-var-avar-table.hh | 30 ++++++++++++++++++++++++------ - 1 file changed, 24 insertions(+), 6 deletions(-) - -commit 981f5a54c3cbc1de45ba941fdf5315c62d86b6f3 -Author: Ebrahim Byagowi -Date: Wed Aug 7 18:45:39 2019 +0430 - - [fvar] Implement inverse normalize, unnormalize - - src/hb-ot-var-fvar-table.hh | 14 ++++++++++++++ - 1 file changed, 14 insertions(+) - -commit dcb4cd400fb44172872a20ba54baa011d748b61d -Author: Behdad Esfahbod -Date: Mon Aug 19 11:35:37 2019 -0700 - - Minor - - src/hb-font.cc | 4 +--- - 1 file changed, 1 insertion(+), 3 deletions(-) - -commit ca54440324745afc388edac40ad1047e92567fdb -Author: Ebrahim Byagowi -Date: Sun Aug 18 11:58:04 2019 +0430 - - Remove continuous development helper script - - Not have used it personally for a long time, lets remove it - - src/dev-run.sh | 99 ---------------------------------------------------------- - 1 file changed, 99 deletions(-) - -commit 40aef1b473f63701ab901880d764e33682f13414 -Author: Khaled Hosny -Date: Fri Aug 16 01:00:30 2019 +0200 - - [ot-shape] Keep horizontal_features array sorted - - src/hb-ot-shape.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit da5118da77898ae4778af1ace4af52334b210dd6 -Author: Khaled Hosny -Date: Fri Aug 16 00:48:26 2019 +0200 - - [ot-shape] Enable abvm/blwm features by default - - Core Text seems to apply them to Latin text, but Uniscribe doesn’t. - - See https://github.com/harfbuzz/harfbuzz/pull/1908#issuecomment-521819343 - - src/hb-ot-shape-complex-indic.cc | 9 --------- - src/hb-ot-shape-complex-khmer.cc | 9 --------- - src/hb-ot-shape-complex-myanmar.cc | 21 --------------------- - src/hb-ot-shape-complex-use.cc | 14 -------------- - src/hb-ot-shape.cc | 2 ++ - test/shaping/data/in-house/Makefile.sources | 2 +- - .../ea3f63620511b2097200d23774ffef197e829e69.ttf | Bin 0 -> 1804 bytes - .../f79eb71df4e4c9c273b67b89a06e5ff9e3c1f834.ttf | Bin 0 -> 1860 bytes - test/shaping/data/in-house/tests/dist.tests | 1 - - .../data/in-house/tests/positioning-features.tests | 3 +++ - 10 files changed, 6 insertions(+), 55 deletions(-) - -commit 2164bd6f29df265acdc04b84f5f94cf63b2cea8a -Author: Khaled Hosny -Date: Fri Aug 16 00:28:41 2019 +0200 - - [ot-shape] Enable dist feature by default (#1908) - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1907 - - src/hb-ot-shape-complex-indic.cc | 2 -- - src/hb-ot-shape-complex-khmer.cc | 2 -- - src/hb-ot-shape-complex-myanmar.cc | 1 - - src/hb-ot-shape-complex-use.cc | 1 - - src/hb-ot-shape.cc | 1 + - test/shaping/data/in-house/Makefile.sources | 1 + - .../fonts/53a91c20e33a596f2be17fb68b382d6b7eb85d5c.ttf | Bin 0 -> 2020 bytes - test/shaping/data/in-house/tests/dist.tests | 1 + - 8 files changed, 3 insertions(+), 6 deletions(-) - -commit bc27f86ffef537835f6c9dbbecbc2ee6792cb127 -Author: Ebrahim Byagowi -Date: Wed Aug 14 22:37:00 2019 +0430 - - Move HB_NO_VAR to a better place in hb-font.cc - - Needed for other works - - src/hb-font.cc | 5 ++--- - 1 file changed, 2 insertions(+), 3 deletions(-) - -commit 1cc844da66ab527991ff96efdf10d97f6b626bfe -Author: Ebrahim Byagowi -Date: Wed Aug 14 19:10:02 2019 +0430 - - minor - - Use hb_font_t coords directly - - src/hb-ot-cff2-table.cc | 4 +--- - 1 file changed, 1 insertion(+), 3 deletions(-) - -commit 6a194b6876db12f083ae5391ca01972168d4e68a -Author: Ebrahim Byagowi -Date: Wed Aug 14 18:49:57 2019 +0430 - - Minor, remove trailing spaces in hb-font.{cc,h} as .editorconfig - - src/hb-font.cc | 338 ++++++++++++++++++++++++++++----------------------------- - src/hb-font.h | 26 ++--- - 2 files changed, 182 insertions(+), 182 deletions(-) - -commit 3ae44645d60fe8271ad18b004434d475eaeb7ad6 -Author: Ebrahim Byagowi -Date: Wed Aug 14 14:34:55 2019 +0430 - - Fix caret_count value when AAT is disabled - - Set caret_count to zero as that is what we want to happen inside lcar when - there is no result. - - src/hb-ot-layout.cc | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -commit a5aa67b9f288687e21ca7a9887483f7fe1cbce54 -Author: Ebrahim Byagowi -Date: Wed Aug 14 14:29:01 2019 +0430 - - [lcar] Use multiformat convention - - src/hb-aat-layout-lcar-table.hh | 115 +++++++++++++++++++++++++++++++--------- - 1 file changed, 90 insertions(+), 25 deletions(-) - -commit bfffe85dd7d7557e10ec9f9886b86fe0d8b4a7a2 -Author: Ebrahim Byagowi -Date: Wed Aug 14 13:55:49 2019 +0430 - - [opbd] Use multiformat convention on the table - - src/hb-aat-layout-opbd-table.hh | 116 ++++++++++++++++++++++++++++++---------- - 1 file changed, 89 insertions(+), 27 deletions(-) - -commit d6206dbcc4e4ef8c034ee714e74d3a76c5333a12 -Author: Ebrahim Byagowi -Date: Wed Aug 14 11:24:06 2019 +0430 - - [opbd] Turn OpticalBounds fields to FWORD - - src/hb-aat-layout-opbd-table.hh | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 6461143b44f81a4190d3f1cb02238750536f08e4 -Author: Behdad Esfahbod -Date: Tue Aug 13 22:20:54 2019 -0700 - - 2.6.0 - - NEWS | 23 +++++++++++++++++++++++ - configure.ac | 2 +- - docs/harfbuzz-docs.xml | 4 ++++ - src/hb-font.cc | 2 +- - src/hb-gdi.cc | 2 +- - src/hb-ot-layout.cc | 2 ++ - src/hb-ot-layout.h | 2 +- - src/hb-ot-meta.cc | 4 ++-- - src/hb-ot-meta.h | 2 +- - src/hb-ot-metrics.cc | 8 ++++---- - src/hb-ot-metrics.h | 2 +- - src/hb-version.h | 6 +++--- - 12 files changed, 44 insertions(+), 15 deletions(-) - -commit e56d4ff43b97ca35a8324be2acf1c8644f3b0a24 -Author: Behdad Esfahbod -Date: Tue Aug 13 21:02:47 2019 -0700 - - Rename hb_ot_meta_get_entries() to +hb_ot_meta_get_entry_tags() - - docs/harfbuzz-sections.txt | 2 +- - src/hb-ot-meta.cc | 8 ++++---- - src/hb-ot-meta.h | 8 ++++---- - src/test-ot-meta.cc | 4 ++-- - test/api/test-ot-face.c | 2 +- - test/api/test-ot-meta.c | 6 +++--- - 6 files changed, 15 insertions(+), 15 deletions(-) - -commit aade9b70aabd8a97dd8a28cda2cf4d0694dd7350 -Author: Behdad Esfahbod -Date: Tue Aug 13 16:09:20 2019 -0700 - - [pool] Fix alignment assertion - - I *think* it should fix https://github.com/harfbuzz/harfbuzz/issues/1901 - - Ie. if on a system, alignof(void*) < sizeof(void*)... - - src/hb-pool.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit b31d627f151c8eeeb12ed84c3282392d6adbc5b4 -Author: Ebrahim Byagowi -Date: Sun Aug 11 23:34:48 2019 +0430 - - Increase subset fuzzer timeout to 16s - - To satisfy -valgrind and -tsan bots, very ugly - - test/fuzzing/run-subset-fuzzer-tests.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 5b9cf191fe1fb13bd4bf914e0f4c03c3b2795a73 -Author: Ebrahim Byagowi -Date: Sun Aug 11 23:07:29 2019 +0430 - - [ci] Disable vcpkg thus running the test suit in Windows - - vcpkg apparently doesn't like to work the same way used to anymore, lets disable it - - appveyor.yml | 20 ++++++++++---------- - 1 file changed, 10 insertions(+), 10 deletions(-) - -commit 60d9f0097580a339c7ffe582cc0657698e315cea -Author: Ebrahim Byagowi -Date: Sun Aug 11 16:15:19 2019 +0430 - - Implement opbd table parsing - - https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6opbd.html - - src/Makefile.sources | 1 + - src/hb-aat-layout-opbd-table.hh | 111 ++++++++++++++++++++++++++++++++++++++++ - src/hb-ot-face-table-list.hh | 1 + - src/hb-ot-layout.cc | 1 + - 4 files changed, 114 insertions(+) - -commit 8762676e34cef13f4b263b377b485b199b66d4d1 -Author: Ebrahim Byagowi -Date: Sat Aug 10 01:26:55 2019 +0430 - - [os2] Replace null pool addr compare by checking vital fields (#1896) - - src/hb-ot-os2-table.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 1f926fb2b642094a15e686be6a910e709b15ebd0 -Author: Ebrahim Byagowi -Date: Wed Aug 7 20:22:20 2019 +0430 - - [fvar] Use roundf instead hardcoding round logic - - src/hb-ot-var-fvar-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 60485ab0473630c585bb96fcdc14dbe415edf4f2 -Author: Ebrahim Byagowi -Date: Wed Aug 7 23:23:06 2019 +0430 - - [os2] Get defined lower/upper optical size - - src/hb-ot-os2-table.hh | 17 +++++++++++++++++ - 1 file changed, 17 insertions(+) - -commit 321d5588d4fa96bcc4aa558d2f982430031f242e -Author: Qunxin Liu -Date: Tue Jul 2 16:30:57 2019 -0700 - - [subset] Add subsetting for GPOS Lookup Type 1: Single Adjustment Positioning Subtable - - src/hb-ot-layout-gpos-table.hh | 157 ++++++++++++++++++++- - test/subset/data/Makefile.am | 1 + - test/subset/data/Makefile.sources | 1 + - .../gpos1_2_font.keep-layout-retain-gids.41,43.otf | Bin 0 -> 2068 bytes - .../gpos1_2_font.keep-layout-retain-gids.41,46.otf | Bin 0 -> 2232 bytes - .../gpos1_2_font.keep-layout-retain-gids.43,46.otf | Bin 0 -> 2096 bytes - ...eep-layout-retain-gids.retain-all-codepoint.otf | Bin 0 -> 3668 bytes - test/subset/data/fonts/gpos1_2_font.otf | Bin 0 -> 4564 bytes - test/subset/data/tests/layout.gpos.tests | 11 ++ - 9 files changed, 166 insertions(+), 4 deletions(-) - -commit 37572882e7a685d804384eaf11f0f3e53af38341 -Author: Qunxin Liu -Date: Tue Jun 25 13:17:30 2019 -0700 - - [subset] cmap table to use _subset2 and new iterator frameworks - - src/hb-ot-cmap-table.hh | 670 +++++++++++------------ - src/hb-subset.cc | 2 +- - test/api/fonts/Roboto-Regular.D7,D8,D9,DA,DE.ttf | Bin 2816 -> 2532 bytes - test/api/fonts/Roboto-Regular.abc.ttf | Bin 2460 -> 2168 bytes - test/api/fonts/Roboto-Regular.ac.ttf | Bin 2268 -> 1988 bytes - 5 files changed, 320 insertions(+), 352 deletions(-) - -commit 06596cf90700ff76f23297141c656dfc317eece6 -Author: Khaled Hosny -Date: Sat Aug 3 13:55:34 2019 +0200 - - Some styling - - README.python.md | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - -commit 5848c890cf2f8a14c9d9e329c4f8283feac1f0c3 -Author: Ebrahim Byagowi -Date: Sat Aug 3 14:19:28 2019 +0430 - - [metrics] Add metrics tags documentation - - src/hb-ot-metrics.h | 28 ++++++++++++++++++++++++++++ - 1 file changed, 28 insertions(+) - -commit 4d1872b8e019659a92a59b1d7cba6fd81ed3607d -Author: Ebrahim Byagowi -Date: Sat Aug 3 14:06:46 2019 +0430 - - [base] Add documentation for baseline tags from ot spec - - src/hb-ot-layout.h | 19 ++++++++++++++++++- - 1 file changed, 18 insertions(+), 1 deletion(-) - -commit bbeee84a7f048633b0aaa95aa6129871a3a22164 -Author: Ebrahim Byagowi -Date: Sat Aug 3 13:47:55 2019 +0430 - - [meta] Add metadata tags documentation from ot spec - - src/hb-ot-meta.h | 8 +++++++- - 1 file changed, 7 insertions(+), 1 deletion(-) - -commit 6b3e093911aaf834c0adf5b2a114d357914322ee -Merge: 07f27accb 521c7013a -Author: Michiharu Ariza -Date: Wed Jul 31 16:04:48 2019 -0700 - - Merge branch 'master' into var-subset - -commit 07f27accb9c3823cef5d652150701f24af89fca2 -Merge: a87fbb872 6e3bfecf3 -Author: Michiharu Ariza -Date: Wed Jul 31 14:58:53 2019 -0700 - - Merge branch 'var-subset' of https://github.com/harfbuzz/harfbuzz into var-subset - -commit 521c7013abab84a0994fda3977ccd1ba3d496242 -Author: Ebrahim Byagowi -Date: Tue Jul 30 18:10:40 2019 +0430 - - [cpal] revert port to dagger - - It has a different semantic, maybe we should just do a zero memset, - letting Behdad to decide. - - src/hb-ot-color-cpal-table.hh | 5 ++--- - 1 file changed, 2 insertions(+), 3 deletions(-) - -commit 8014ce198a09d20cb947e4a465c7d893a84c55be -Author: Ebrahim Byagowi -Date: Tue Jul 30 17:31:34 2019 +0430 - - [cpal] port to dagger (#1887) - - src/hb-ot-color-cpal-table.hh | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit d67201da5a2142cb9d039a8cb2cb713556d945af -Author: Ebrahim Byagowi -Date: Tue Jul 30 17:20:18 2019 +0430 - - [colr] minor - - src/hb-ot-color-colr-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 8c0a2e68ad91e55a11162da0cddb355810a4c8a0 -Author: Ebrahim Byagowi -Date: Tue Jul 30 13:16:15 2019 +0430 - - [fuzz] Add dummy call of the added APIs (#1886) - - test/api/test-ot-face.c | 10 ++++++++++ - 1 file changed, 10 insertions(+) - -commit e5cf9718c07c8bf1fc20cd573cef2d125c28281f -Author: Ebrahim Byagowi -Date: Tue Jul 30 04:44:23 2019 +0430 - - [colr][feat][meta] Port sub_array iteration to dagger (#1868) - - src/hb-aat-layout-feat-table.hh | 37 ++++++++++++++++++------------------- - src/hb-ot-color-colr-table.hh | 14 ++++++-------- - src/hb-ot-meta-table.hh | 8 +++++--- - 3 files changed, 29 insertions(+), 30 deletions(-) - -commit 9f2b4956b484b802eb37f36974c11785c90493ce -Author: Ebrahim Byagowi -Date: Tue Jul 30 04:42:51 2019 +0430 - - [base] Add hb_ot_layout_get_baseline API - - docs/harfbuzz-sections.txt | 2 + - src/hb-ot-face-table-list.hh | 6 ++- - src/hb-ot-layout.cc | 87 ++++++++++++-------------------------------- - src/hb-ot-layout.h | 32 ++++++++++++++++ - test/api/test-baseline.c | 4 +- - 5 files changed, 63 insertions(+), 68 deletions(-) - -commit 40a4b6ddbdc84a25f76bd4d7ff41b1322fe95b83 -Author: Ebrahim Byagowi -Date: Sat Jul 27 13:33:46 2019 +0430 - - [var] Add a new API, hb_font_set_var_named_instance - - docs/harfbuzz-sections.txt | 1 + - src/hb-font.cc | 28 ++++++++++++++++++++++++++++ - src/hb-font.h | 4 ++++ - test/api/test-ot-extents-cff.c | 32 ++++++++++++++++++++++++++++++++ - 4 files changed, 65 insertions(+) - -commit b6a2281f1a2d29cc5797f4f266800f7141591585 -Author: Ebrahim Byagowi -Date: Tue Jul 30 03:45:45 2019 +0430 - - [meta] Make values match their enum type naming - - src/hb-ot-meta.h | 10 +++++----- - test/api/test-ot-meta.c | 4 ++-- - 2 files changed, 7 insertions(+), 7 deletions(-) - -commit 20072a2eca8943a82e36cbb603ad31481cfc56cd -Author: Ebrahim Byagowi -Date: Tue Jul 30 03:43:15 2019 +0430 - - [metrics] Make values match their enum type naming - - src/hb-ot-font.cc | 12 +++--- - src/hb-ot-metrics.cc | 100 ++++++++++++++++++++++----------------------- - src/hb-ot-metrics.h | 58 +++++++++++++------------- - test/api/test-ot-metrics.c | 26 ++++++------ - 4 files changed, 98 insertions(+), 98 deletions(-) - -commit ed2965a8527ee89994c8eecf451bf71846b3ca86 -Author: Ebrahim Byagowi -Date: Tue Jul 30 03:34:10 2019 +0430 - - [base] Don't use enum inside the table - - src/hb-ot-layout-base-table.hh | 31 ++++++++++++++----------------- - 1 file changed, 14 insertions(+), 17 deletions(-) - -commit 388fa9b32611a8726b9bbfe7ccf8cdbcd818fd70 -Author: Ebrahim Byagowi -Date: Sat Jul 27 14:56:18 2019 +0430 - - [lcar] flip for and switch position - - src/hb-aat-layout-lcar-table.hh | 16 ++++++++++------ - 1 file changed, 10 insertions(+), 6 deletions(-) - -commit f0dd724c1e091f42f289efbebd2c50e830e59c6e -Merge: 68ac767e4 4e1da6bb6 -Author: blueshade7 -Date: Mon Jul 29 14:21:05 2019 -0700 - - Merge branch 'master' into subset-varstore - -commit 6e3bfecf358a1785995a64c18eb4c1d7cf926ca5 -Merge: 5988ab8a4 4e1da6bb6 -Author: blueshade7 -Date: Mon Jul 29 12:25:43 2019 -0700 - - Merge branch 'master' into var-subset - -commit 4e1da6bb612b0c6386ab143dbb4ca19ff25bc2ba -Author: Ebrahim Byagowi -Date: Mon Jul 29 22:03:56 2019 +0430 - - [metrics] Rename hb_ot_metrics_t to hb_ot_metrics_tag_t - - src/hb-ot-metrics.cc | 22 +++++++++++----------- - src/hb-ot-metrics.h | 16 ++++++++-------- - src/hb-ot-metrics.hh | 6 +++--- - 3 files changed, 22 insertions(+), 22 deletions(-) - -commit 2c2a2b97dbe24ae2e09018f435559c97a460bdcb -Author: Ebrahim Byagowi -Date: Mon Jul 29 22:01:13 2019 +0430 - - [meta] Rename hb_ot_meta_t to hb_ot_meta_tag_t - - src/hb-ot-meta-table.hh | 10 +++++----- - src/hb-ot-meta.cc | 10 +++++----- - src/hb-ot-meta.h | 14 +++++++------- - src/test-ot-meta.cc | 4 ++-- - test/api/test-ot-meta.c | 6 +++--- - 5 files changed, 22 insertions(+), 22 deletions(-) - -commit 7bcc5dfa97a43d9c5f6dfdb87b4f0d5a589ecd48 -Author: Behdad Esfahbod -Date: Sun Jul 28 20:55:50 2019 -0700 - - [iter] Fix accumulate to accept const types - - src/hb-iter.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit e21bdf500d4ecc3a5fd6f79aabf6232f3967035e -Author: Ebrahim Byagowi -Date: Sun Jul 28 22:59:09 2019 +0430 - - Increase subset fuzzer timeout to 8s - - Probably we should just remove timeout when running tsan and vaglrind here, the flaky bots - - test/fuzzing/run-subset-fuzzer-tests.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 87454c447d705327a26c1f879e0a4f3002ae2667 -Author: Ebrahim Byagowi -Date: Sun Jul 28 20:46:47 2019 +0430 - - [base] fix logic - - src/hb-ot-layout-base-table.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 69655d5bc3c7b240424545bdef197d9d7251e509 -Author: Ebrahim Byagowi -Date: Sun Jul 28 20:39:20 2019 +0430 - - [base] minor - - src/hb-ot-layout-base-table.hh | 5 ++--- - 1 file changed, 2 insertions(+), 3 deletions(-) - -commit d9c44e7239daf59e283fecd4166c984b43d48e24 -Author: Ebrahim Byagowi -Date: Sun Jul 28 20:35:32 2019 +0430 - - [base] Check if the returned base_coord is valid - - src/hb-ot-layout-base-table.hh | 13 ++++++++----- - 1 file changed, 8 insertions(+), 5 deletions(-) - -commit 53853c044a6382ece51393dfc3a4fe6a5f8a5a23 -Author: Ebrahim Byagowi -Date: Sun Jul 28 20:23:48 2019 +0430 - - [meta] minor - - src/hb-ot-meta-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit ed126d8c37c45d8d60eb0368143c6776d1fcfbff -Author: Ebrahim Byagowi -Date: Sun Jul 28 20:21:59 2019 +0430 - - [base] fix build - - src/hb-ot-layout-base-table.hh | 3 +++ - 1 file changed, 3 insertions(+) - -commit c7b22b96cc64c81248362a70f2d60d93ee520f2d -Author: Ebrahim Byagowi -Date: Sun Jul 28 19:46:57 2019 +0430 - - [base] minor - - src/hb-ot-layout-base-table.hh | 4 +--- - 1 file changed, 1 insertion(+), 3 deletions(-) - -commit a157342fce2616141ee62d68ad8e3fb93e52187e -Author: Ebrahim Byagowi -Date: Sun Jul 28 18:54:13 2019 +0430 - - [base] Fix use of bsearch - - src/hb-ot-layout-base-table.hh | 94 ++++++++++++++---------------------------- - 1 file changed, 31 insertions(+), 63 deletions(-) - -commit eddd45653282ffff8ef002ad2163bcf8bf4f3df1 -Author: Ebrahim Byagowi -Date: Sun Jul 28 02:21:54 2019 +0430 - - [base] minor spacing - - src/hb-ot-layout-base-table.hh | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -commit 0a18efd766b3b6cc987ee18785f7858fe2bd1c67 -Author: Behdad Esfahbod -Date: Fri Jul 26 14:34:26 2019 -0700 - - Minor - - src/hb-ot-layout-gsub-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 60d0fe2eda9c0eb67f50d61e905b584b8edc3e95 -Merge: 6d53cda1b 658424b29 -Author: Ebrahim Byagowi -Date: Sat Jul 27 01:20:55 2019 +0430 - - Merge pull request #1872 from darktohka/cmake-regex-fix - - [cmake] Fix CMake build on newer CMake versions - -commit 658424b29efbc758541a790193c42171bb7fa965 -Author: Derzsi Dániel -Date: Fri Jul 26 22:52:03 2019 +0300 - - [cmake] Fix CMake build on newer CMake versions - - Unfortunately, newer CMake versions die during regex variable extraction, causing the build to fail. - - This is caused by the lack of escaping used around variables in the extract_make_variable function, causing these variables to be automatically unwrapped into empty strings. - - CMakeLists.txt | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 6d53cda1baf130853e5725fe8fea1d1c5f766a79 -Author: Zero King -Date: Fri Jul 26 15:43:51 2019 +0000 - - [util] Fix memory leak - - util/options.cc | 1 + - 1 file changed, 1 insertion(+) - -commit d3d99f8bb6ad77d1ac73901885acfffd3bb3e7f7 -Author: Ebrahim Byagowi -Date: Fri Jul 26 16:46:04 2019 +0430 - - [metrics] Expose raw OS2/HHEA asc/dsc values using private tags (#1867) - - src/hb-ot-metrics.cc | 16 ++++++++++++++++ - 1 file changed, 16 insertions(+) - -commit aaffe41094f8ddefad6f33e86cbd04a24dd9bfff -Author: Ebrahim Byagowi -Date: Fri Jul 26 01:14:37 2019 +0430 - - [meta] minor, simplify iterator - - src/hb-ot-meta-table.hh | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 62932c14bd256f10031380047ededd93a2aacd88 -Author: Ebrahim Byagowi -Date: Fri Jul 26 00:30:29 2019 +0430 - - [meta] Rename ot-metadata to ot-meta per review - - docs/harfbuzz-sections.txt | 7 +++--- - src/Makefile.am | 8 +++---- - src/Makefile.sources | 4 ++-- - src/harfbuzz.cc | 2 +- - src/hb-ot-meta-table.hh | 8 +++---- - src/{hb-ot-metadata.cc => hb-ot-meta.cc} | 22 +++++++++--------- - src/{hb-ot-metadata.h => hb-ot-meta.h} | 30 ++++++++++++------------- - src/hb-ot.h | 2 +- - src/{test-ot-metadata.cc => test-ot-meta.cc} | 10 ++++----- - test/api/Makefile.am | 2 +- - test/api/{test-ot-metadata.c => test-ot-meta.c} | 26 ++++++++++----------- - 11 files changed, 61 insertions(+), 60 deletions(-) - -commit 821d9e9034c57c5c593741284b134c76cc3c7c0f -Author: Ebrahim Byagowi -Date: Fri Jul 26 00:08:58 2019 +0430 - - Use .sub_array for DataMap tags iteration - - src/hb-ot-meta-table.hh | 8 +++----- - 1 file changed, 3 insertions(+), 5 deletions(-) - -commit a250af98ae74c94ac3aa069e6e5958a937586bfc -Author: Ebrahim Byagowi -Date: Wed Jul 24 03:10:41 2019 +0430 - - [meta] Add max value to hb_ot_metadata_t - - src/hb-ot-metadata.h | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit 80e246a1f2b3c4e3c25a4a3ec042e7610944abd4 -Author: Ebrahim Byagowi -Date: Wed Jul 24 03:08:34 2019 +0430 - - [meta] Add a test program for metadata - - src/Makefile.am | 5 ++++ - src/test-ot-metadata.cc | 70 +++++++++++++++++++++++++++++++++++++++++++++++++ - 2 files changed, 75 insertions(+) - -commit bc65ebbce765545bc4455d8ae5ba4a6a99201e41 -Author: Ebrahim Byagowi -Date: Wed Jul 24 02:28:09 2019 +0430 - - [meta] hb_ot_metadata_get_entries, tags iteration API - - src/hb-ot-meta-table.hh | 17 +++++++++++++++++ - src/hb-ot-metadata.cc | 28 ++++++++++++++++++++++++---- - src/hb-ot-metadata.h | 8 +++++++- - test/api/test-ot-metadata.c | 26 ++++++++++++++++++++++++++ - 4 files changed, 74 insertions(+), 5 deletions(-) - -commit 3ac03bd67cb9f4a72e636bf56bc4a79e04bcba62 -Author: Ebrahim Byagowi -Date: Mon Jul 22 23:35:08 2019 +0430 - - [meta] New API, hb_ot_metadata_reference_entry for fetching meta entries - - docs/harfbuzz-sections.txt | 6 +++++ - src/Makefile.sources | 2 ++ - src/harfbuzz.cc | 1 + - src/hb-config.hh | 1 + - src/hb-ot-face-table-list.hh | 4 ++- - src/hb-ot-face.cc | 1 + - src/hb-ot-layout.cc | 1 - - src/hb-ot-meta-table.hh | 20 +++++++++++++++ - src/hb-ot-metadata.cc | 57 ++++++++++++++++++++++++++++++++++++++++++ - src/hb-ot-metadata.h | 57 ++++++++++++++++++++++++++++++++++++++++++ - src/hb-ot.h | 1 + - test/api/Makefile.am | 1 + - test/api/fonts/meta.ttf | Bin 0 -> 320 bytes - test/api/test-ot-metadata.c | 58 +++++++++++++++++++++++++++++++++++++++++++ - 14 files changed, 208 insertions(+), 2 deletions(-) - -commit aab8e084873eb098c55ed2569c15bb308c59e436 -Author: Ebrahim Byagowi -Date: Fri Jul 26 02:19:22 2019 +0430 - - minor spacing fix (#1869) - - src/hb-open-type.hh | 16 ++++++++-------- - src/hb-ot-vorg-table.hh | 2 +- - src/hb-vector.hh | 8 ++++---- - 3 files changed, 13 insertions(+), 13 deletions(-) - -commit d791446a930f8e2009c5ab5ea389da98d1ed9b95 -Author: Ebrahim Byagowi -Date: Fri Jul 26 02:12:06 2019 +0430 - - [feat] minor - - src/hb-aat-layout-feat-table.hh | 4 +--- - 1 file changed, 1 insertion(+), 3 deletions(-) - -commit 356b68a00afaf972908cb2a478170e3933eaf974 -Author: Ebrahim Byagowi -Date: Thu Jul 25 23:22:00 2019 +0430 - - [metrics] Add a test that actually practices variation (#1858) - - test/api/fonts/TestCFF2VF.otf | Bin 0 -> 3636 bytes - test/api/test-ot-metrics.c | 28 ++++++++++++++++++++++++++-- - 2 files changed, 26 insertions(+), 2 deletions(-) - -commit a744fdc6c8217d0d4bfce30e638ed2e5200cf380 -Author: Ebrahim Byagowi -Date: Thu Jul 25 14:49:02 2019 +0430 - - Add _MAX_VALUE to hb_ot_metrics_t (#1861) - - src/hb-ot-metrics.cc | 4 ++-- - src/hb-ot-metrics.h | 4 +++- - 2 files changed, 5 insertions(+), 3 deletions(-) - -commit 069872c51b31fe1a618e3ca5c3b0ab8ccba0cf81 -Author: Ebrahim Byagowi -Date: Thu Jul 25 14:27:43 2019 +0430 - - minor - - src/hb-ot-layout.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 737eb85a4ec8861791157d83dd170ac48fa2cfc7 -Author: Ebrahim Byagowi -Date: Thu Jul 25 14:26:30 2019 +0430 - - Add _MAX_VALUE to disabled baseline types enum - - src/hb-ot-layout.cc | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit dd9a0ed3f0c0a8a94e107689318463d62414cf60 -Author: Ebrahim Byagowi -Date: Wed Jul 24 00:47:19 2019 +0430 - - Replace 0x7FFFFFFFu in enums with HB_TAG_MAX_SIGNED - - src/hb-aat-layout.h | 4 ++-- - src/hb-ot-var.h | 2 +- - 2 files changed, 3 insertions(+), 3 deletions(-) - -commit 5988ab8a4e0d2b6d174f2ff0f18addc3f41b7a94 -Merge: 4cba7bdae 636ae4223 -Author: blueshade7 -Date: Mon Jul 22 14:36:16 2019 -0700 - - Merge branch 'master' into var-subset - -commit 636ae422372ed7f17b695e78c9c9015188b204e8 -Author: Ebrahim Byagowi -Date: Mon Jul 22 22:50:21 2019 +0430 - - minor, comment out meta table in list till its use - - src/hb-ot-face-table-list.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 04c11a19b75663af35d16c827e295aa2e555d110 -Merge: 41ab56e09 c9796d15e -Author: Khaled Hosny -Date: Mon Jul 22 16:44:47 2019 +0200 - - Merge pull request #1851 from khaledhosny/fix-sbix-extents - - Fix sbix glyph extents - -commit 41ab56e09586b675b1c5de745cf5f520a808bba1 -Author: Ebrahim Byagowi -Date: Mon Jul 22 18:46:52 2019 +0430 - - Implement meta table parsing - - src/Makefile.sources | 1 + - src/hb-ot-face-table-list.hh | 1 + - src/hb-ot-layout.cc | 15 ++++---- - src/hb-ot-meta-table.hh | 89 ++++++++++++++++++++++++++++++++++++++++++++ - 4 files changed, 99 insertions(+), 7 deletions(-) - -commit a51aa951b5ad8da4ac7effc891437345e012a0ac -Author: Ebrahim Byagowi -Date: Mon Jul 22 18:35:55 2019 +0430 - - [metrics] Fix _get_variation API to works with actual coord values - - src/hb-ot-metrics.cc | 16 ++++++++-------- - src/hb-ot-metrics.h | 2 +- - test/api/test-ot-metrics.c | 2 +- - 3 files changed, 10 insertions(+), 10 deletions(-) - -commit 77141dff7d73fa6290f51c9e1ca56ce51a5deec0 -Author: Behdad Esfahbod -Date: Mon Jul 22 07:48:32 2019 -0400 - - [metrics] _-prefix internal symbol - - src/hb-ot-font.cc | 12 ++++++------ - src/hb-ot-metrics.cc | 8 ++++---- - src/hb-ot-metrics.hh | 6 +++--- - 3 files changed, 13 insertions(+), 13 deletions(-) - -commit 89228ccb9a81b728bc9955082c17c68c848c50c4 -Author: Behdad Esfahbod -Date: Mon Jul 22 07:07:37 2019 -0400 - - Fix warning on IBM compilers - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1852 - - src/hb.hh | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit c9796d15e1ec5f8939f8b1ae368cb3352b6a9cb9 -Author: Khaled Hosny -Date: Mon Jul 22 03:57:24 2019 +0200 - - Fix sbix glyph extents - - * The ‘height’ needs to be negated since the API returns “distance from - top to bottom side”. - * Similarly, the ‘y_offset‘ needs to be added to the height to get the - ‘y_bearing’, since sbix’s offset is “the point in the glyph relative - to its lower-left corner which corresponds to the origin” while - ‘y_bearing’ is the “top side of glyph from origin”. - - With these changes the sbix glyph metrics return values similar to other - tables, as they were otherwise unusable. - - src/hb-ot-color-sbix-table.hh | 4 ++-- - test/api/test-ot-color.c | 4 ++-- - .../fonts/fcbaa518d3cce441ed37ae3b1fed6a19e9b54efd.ttf | Bin 0 -> 3128 bytes - test/shaping/data/in-house/tests/color-fonts.tests | 1 + - 4 files changed, 5 insertions(+), 4 deletions(-) - -commit 759f3bd486c99bb09fb9fa5f42e621ec21399df8 -Author: Ebrahim Byagowi -Date: Mon Jul 22 02:06:07 2019 +0430 - - [metrics] Don't use metrics API in _common - - As it is exposed with a different condition - - src/hb-ot-metrics.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit eb8bd2f7eccde483d33406f102c69260fde6fe23 -Author: Ebrahim Byagowi -Date: Tue Jul 16 22:27:01 2019 +0430 - - Add hb_gdi_face_create API - - Based on Konstantin Ritt work posted on mailing list - - CMakeLists.txt | 8 +++++ - appveyor.yml | 2 +- - configure.ac | 23 +++++++++++++++ - docs/harfbuzz-sections.txt | 5 ++++ - src/Makefile.am | 8 +++++ - src/Makefile.sources | 3 ++ - src/harfbuzz.cc | 1 + - src/hb-directwrite.cc | 9 ++---- - src/hb-gdi.cc | 73 ++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-gdi.h | 39 +++++++++++++++++++++++++ - src/hb-uniscribe.cc | 7 ----- - src/hb.hh | 5 ++++ - 12 files changed, 168 insertions(+), 15 deletions(-) - -commit 3d03bb84d44bc9ef8a77e974d0e937a3385ffb92 -Author: Ebrahim Byagowi -Date: Sun Jul 21 12:38:04 2019 +0430 - - [metrics] minor, tweak comment - - src/hb-ot-metrics.cc | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit e540d402f6120e8761ff655bdbffb07d91a5f643 -Author: Behdad Esfahbod -Date: Fri Jul 19 11:19:31 2019 -0700 - - [docs] Minor - - docs/harfbuzz-sections.txt | 2 ++ - src/hb-ot-math.h | 2 +- - 2 files changed, 3 insertions(+), 1 deletion(-) - -commit 00e13985fbc5291850b8ea3d021e5f83c8a297e3 -Author: Ebrahim Byagowi -Date: Sat Jul 20 23:03:51 2019 +0430 - - Revert hhea fallback to OS/2 to its reverse way - - As searching number of hhea having fonts beats the number of OS/2 - having ones in macOS 10.14.2 - - src/hb-ot-metrics.cc | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - -commit c13ef9cc64a447e74abfed75f4f418bf644be88d -Author: Ebrahim Byagowi -Date: Sat Jul 20 15:01:37 2019 +0430 - - Bring back asc/desc abs logic used to be in hmtx table - - src/hb-ot-metrics.cc | 21 ++++++++++++++++++--- - 1 file changed, 18 insertions(+), 3 deletions(-) - -commit 772e62688cd72c02910f623653d2ec8ef6990928 -Author: Ebrahim Byagowi -Date: Sat Jul 20 14:50:31 2019 +0430 - - Make HB_TINY builds work again by separating the always needed part - - src/hb-ot-font.cc | 12 +++++----- - src/hb-ot-metrics.cc | 62 ++++++++++++++++++++++++++++++++++++++++------------ - src/hb-ot-metrics.hh | 5 +++++ - 3 files changed, 59 insertions(+), 20 deletions(-) - -commit cb704337407ae9ccb57ae7631567002028b93c84 -Author: Ebrahim Byagowi -Date: Sat Jul 20 14:33:57 2019 +0430 - - Merge _get_position_internal into _get_position - - src/hb-ot-metrics.cc | 143 ++++++++++++++++++--------------------------------- - src/hb-ot-metrics.hh | 5 -- - 2 files changed, 49 insertions(+), 99 deletions(-) - -commit ac3518af58464b33f1b16b34b8846c302b935208 -Author: Ebrahim Byagowi -Date: Sat Jul 20 14:03:36 2019 +0430 - - Define post table only when used - - src/hb-ot-face-table-list.hh | 2 ++ - 1 file changed, 2 insertions(+) - -commit 471f798ace08b4551f0c9ead6855a4e49b72ba25 -Author: Ebrahim Byagowi -Date: Sat Jul 20 14:00:20 2019 +0430 - - Merge ot-metrics-internal.cc with ot-metrics now that isn't needed in subset - - src/Makefile.sources | 3 -- - src/harfbuzz.cc | 1 - - src/hb-ot-metrics-internal.cc | 100 ------------------------------------------ - src/hb-ot-metrics.cc | 71 +++++++++++++++++++++++++++++- - 4 files changed, 70 insertions(+), 105 deletions(-) - -commit 29444d7e9fd5007bf39efa2cf57a0117aabfc770 -Author: Ebrahim Byagowi -Date: Sat Jul 20 13:52:21 2019 +0430 - - Don't cache ascender/descender metrics - - src/hb-ot-font.cc | 24 ++++++++---------------- - src/hb-ot-hmtx-table.hh | 20 -------------------- - 2 files changed, 8 insertions(+), 36 deletions(-) - -commit 5e28c2654d030655d7b93ec0d6213d2b9fb2956e -Author: Ebrahim Byagowi -Date: Sat Jul 20 14:08:11 2019 +0430 - - [doc] minor, improve hb-ot-metrics doc a bit - - src/hb-ot-metrics.cc | 11 ++++++----- - 1 file changed, 6 insertions(+), 5 deletions(-) - -commit ac8b6e330a443a66c3e0fb83af9794310688d848 -Merge: ec8dde814 08b48e89d -Author: Ebrahim Byagowi -Date: Sat Jul 20 13:16:16 2019 +0430 - - Merge pull request #1844 from ebraminio/hhea - - Fallback hhea's ascender/descender to OS2 - -commit 08b48e89d3c1bafe252badc7c65a9fc2f166a693 -Author: Ebrahim Byagowi -Date: Sat Jul 20 12:53:40 2019 +0430 - - [os2] minor spacing tweaks - - src/hb-ot-os2-table.hh | 11 +++++------ - 1 file changed, 5 insertions(+), 6 deletions(-) - -commit 54b9ab704dbf62e2916f1d5276ffef2543bcc2a7 -Author: Ebrahim Byagowi -Date: Sat Jul 20 12:51:38 2019 +0430 - - Fallback hhea's ascender/descender to OS2 - - src/hb-ot-metrics-internal.cc | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - -commit ec8dde8142fbf9e5bc0aee9318a7c4e73d61c758 -Author: Behdad Esfahbod -Date: Fri Jul 19 11:13:50 2019 -0700 - - [metrics] Fall back to hhea if OS2 metrics are empty - - Reinstates previous logic, even if it might be unnecessary. - - src/hb-ot-metrics-internal.cc | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - -commit 2e5b49d11d1dbfd44d8c640cb9ce5de7d26ca873 -Author: Ebrahim Byagowi -Date: Fri Jul 19 11:41:07 2019 +0430 - - Add HB_NO_METRICS and fix HB_TINY build (#1839) - - src/hb-config.hh | 1 + - src/hb-ot-face-table-list.hh | 2 -- - src/hb-ot-metrics-internal.cc | 8 +++++++- - src/hb-ot-metrics.cc | 6 ++++++ - 4 files changed, 14 insertions(+), 3 deletions(-) - -commit bdfdac0f26aafb3e9ff2db123116f0406fa49efc -Author: Ebrahim Byagowi -Date: Fri Jul 19 10:33:00 2019 +0430 - - [ci][fuzzer] print valgrind failure if an error happened - - test/fuzzing/run-shape-fuzzer-tests.py | 34 +++++++++++++++++----------------- - 1 file changed, 17 insertions(+), 17 deletions(-) - -commit 2bd953ff4f656f042dba2845f0479a7fe7c439a6 -Author: Behdad Esfahbod -Date: Thu Jul 18 14:25:45 2019 -0700 - - [metrics] Fix weird use of xor - - I believe that was a try to use one approach as fallback to other. But - felt wrong. Just believe what's in OS/2 table to be correct. - - src/hb-ot-metrics-internal.cc | 12 ++++++------ - src/hb-ot-os2-table.hh | 2 +- - 2 files changed, 7 insertions(+), 7 deletions(-) - -commit 9675a067bf1cc0e5d4707c1345736fda4be75b82 -Author: Behdad Esfahbod -Date: Thu Jul 18 14:15:08 2019 -0700 - - [ot-metrics] Touch up - - src/harfbuzz.cc | 2 ++ - src/hb-ot-hmtx-table.hh | 19 +++++++++---------- - 2 files changed, 11 insertions(+), 10 deletions(-) - -commit 87e628436e32786635796fbb07ed200f8c0da68f -Author: Ebrahim Byagowi -Date: Tue Nov 20 23:26:46 2018 +0330 - - Implement a simple API for fetching opentype metrics - - Fixes https://github.com/harfbuzz/harfbuzz/pull/1432 - - docs/harfbuzz-sections.txt | 9 +++ - src/Makefile.sources | 6 ++ - src/hb-ot-face-table-list.hh | 2 + - src/hb-ot-hhea-table.hh | 2 + - src/hb-ot-hmtx-table.hh | 62 +++++++++---------- - src/hb-ot-layout.cc | 1 - - src/hb-ot-metrics-internal.cc | 94 +++++++++++++++++++++++++++++ - src/hb-ot-metrics.cc | 135 ++++++++++++++++++++++++++++++++++++++++++ - src/hb-ot-metrics.h | 92 ++++++++++++++++++++++++++++ - src/hb-ot-metrics.hh | 35 +++++++++++ - src/hb-ot-os2-table.hh | 4 ++ - src/hb-ot-post-table.hh | 5 +- - src/hb-ot.h | 1 + - test/api/Makefile.am | 1 + - test/api/test-ot-metrics.c | 54 +++++++++++++++++ - 15 files changed, 467 insertions(+), 36 deletions(-) - -commit 4cba7bdae94d21ae780b5a71186c5d6da0800fa2 -Author: blueshade7 -Date: Thu Jul 18 14:03:33 2019 -0700 - - regenerate Confortaa subset test expected results - - ...aa-Regular-new.default.retain-all-codepoint.ttf | Bin 97204 -> 182944 bytes - ...drop-hints-retain-gids.retain-all-codepoint.ttf | Bin 65976 -> 151740 bytes - ...Regular-new.drop-hints.retain-all-codepoint.ttf | Bin 65936 -> 151676 bytes - ...a-Regular-new.name-ids.retain-all-codepoint.ttf | Bin 96948 -> 182688 bytes - ...egular-new.retain-gids.retain-all-codepoint.ttf | Bin 97244 -> 183008 bytes - 5 files changed, 0 insertions(+), 0 deletions(-) - -commit ed67efcc8c3638c625b2904833af3f27ef51db14 -Author: David Corbett -Date: Mon Jun 17 10:16:24 2019 -0400 - - Revert "[Myanmar] Prevent reordering between Asat and Dot below" - - This reverts commit 1c8654ead41ca746d577549c92d2a41c594ab639. - - src/hb-unicode.hh | 3 --- - 1 file changed, 3 deletions(-) - -commit a76d8b0d5531a6a8d682ea9d5150ee7893932269 -Merge: 386a4a64f 504bb1728 -Author: blueshade7 -Date: Wed Jul 17 14:12:06 2019 -0700 - - Merge commit '504bb17287c978d60a4a515555852465319f74ed' into var-subset - -commit 504bb17287c978d60a4a515555852465319f74ed -Author: Ebrahim Byagowi -Date: Wed Jul 17 22:57:46 2019 +0430 - - [ci] Bring back -linux-arm64 bot - - Let's see if 576065b has fixed it - - .circleci/config.yml | 16 ++++++++-------- - 1 file changed, 8 insertions(+), 8 deletions(-) - -commit 6157bbe5127bbcbd17348622601976cffcd11c63 -Author: Behdad Esfahbod -Date: Wed Jul 17 11:20:08 2019 -0700 - - Revert "Revert previous change" - - This reverts commit b8e90ca1a10fbd472eda1aa8cc3797011da52356. - - Works now. - - src/hb-subset-plan.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 576065b4429109359c3af491b34b9ab0c6b149ee -Author: Behdad Esfahbod -Date: Wed Jul 17 11:19:34 2019 -0700 - - [iter] Fix reduce type deduction - - src/hb-iter.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 4552864c82c876da738ec3bf772cc089216f2fd2 -Author: Ebrahim Byagowi -Date: Wed Jul 17 22:08:39 2019 +0430 - - [ci] Disable -linux-arm64 bot - - This is its failure https://circleci.com/gh/harfbuzz/harfbuzz/99864 - - Trying to fix like ee05627, interestingly, makes the bot and the - others to fail like this https://circleci.com/gh/harfbuzz/harfbuzz/99841 - - .circleci/config.yml | 16 ++++++++-------- - 1 file changed, 8 insertions(+), 8 deletions(-) - -commit b8e90ca1a10fbd472eda1aa8cc3797011da52356 -Author: Ebrahim Byagowi -Date: Wed Jul 17 21:38:19 2019 +0430 - - Revert previous change - - Interestingly all of the bots disagreed with the change and the complain is... weird. - - src/hb-subset-plan.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit ee05627aff2993c51ed8a4bff3170450c000a28a -Author: Ebrahim Byagowi -Date: Wed Jul 17 21:28:25 2019 +0430 - - Improve syntax to make out linux-arm64 a little happy - - Decided to apply is we did the same on other places however this won't - fix all of its complains - - src/hb-subset-plan.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 6a6bf7b7bc4a0b375fcf04ff7c674bf76e6d51aa -Author: Ebrahim Byagowi -Date: Wed Jul 17 21:22:38 2019 +0430 - - Downgrade -Wdeprecated-declarations to warning - - Fixes #1834 at least till fix of #1829 - - src/hb.hh | 1 + - 1 file changed, 1 insertion(+) - -commit 25e2562fdff6c14a9cb70999a1ad71ee1bdff494 -Author: Behdad Esfahbod -Date: Wed Jul 17 09:35:56 2019 -0700 - - [amalgam] Fix redundant-declaration warning/error - - src/hb-unicode.cc | 8 ++++++-- - 1 file changed, 6 insertions(+), 2 deletions(-) - -commit c184180228540c23405aaa03b6b571bb41103b45 -Author: Ali Javadi -Date: Tue Jul 16 22:10:24 2019 +0430 - - Fix C++20 compile warning on implicit capture of this with '=' default capture (#1833) - - Happens when compiled with -std=c++2a, the fix just makes the captures explicit to resolve the issue. Just adding this in addition to = doesn't work in C++11. - - src/hb-ot-layout-gpos-table.hh:737:18: warning: implicit capture of 'this' with a capture default of '=' is deprecated [-Wdeprecated-this-capture] - { return (this+_).intersects (glyphs, valueFormat); }) - ^ - src/hb-ot-layout-gpos-table.hh:736:16: note: add an explicit capture of 'this' to capture '*this' by reference - | hb_map ([=] (const OffsetTo &_) - ^ - , this - - src/hb-ot-layout-gpos-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 1f94388516befe137d265c261f687a47ce6f8e69 -Author: Ebrahim Byagowi -Date: Tue Jul 16 11:24:29 2019 +0430 - - [usp] define atfree callback only if used - - src/hb-uniscribe.cc | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 1da1b4dc94c500e4c9c833ab74fced07364d13fb -Author: Qunxin Liu -Date: Wed Jun 26 13:23:24 2019 -0700 - - [subset] For option "--unicodes", add support for "*" to retain all code points - - ...aa-Regular-new.default.retain-all-codepoint.ttf | Bin 0 -> 97204 bytes - ...drop-hints-retain-gids.retain-all-codepoint.ttf | Bin 0 -> 65976 bytes - ...Regular-new.drop-hints.retain-all-codepoint.ttf | Bin 0 -> 65936 bytes - ...a-Regular-new.name-ids.retain-all-codepoint.ttf | Bin 0 -> 96948 bytes - ...egular-new.retain-gids.retain-all-codepoint.ttf | Bin 0 -> 97244 bytes - ...to-Regular.abc.default.retain-all-codepoint.ttf | Bin 0 -> 2168 bytes - ...drop-hints-retain-gids.retain-all-codepoint.ttf | Bin 0 -> 924 bytes - ...Regular.abc.drop-hints.retain-all-codepoint.ttf | Bin 0 -> 924 bytes - ...o-Regular.abc.name-ids.retain-all-codepoint.ttf | Bin 0 -> 2168 bytes - ...egular.abc.retain-gids.retain-all-codepoint.ttf | Bin 0 -> 2168 bytes - test/subset/data/tests/basics.tests | 1 + - test/subset/subset_test_suite.py | 20 +++++++--- - util/hb-subset.cc | 7 ++++ - util/options.cc | 44 ++++++++++++--------- - 14 files changed, 48 insertions(+), 24 deletions(-) - -commit 68ac767e430c4dfe4c556b2c4f962cc3dfc5d3e4 -Author: blueshade7 -Date: Fri Jul 12 23:02:29 2019 -0700 - - added skip(), get_next_value() to inc_bimap to subset VarStore with retain-gids - - src/hb-bimap.hh | 25 ++++++++++++++++++++++++- - src/hb-ot-layout-common.hh | 14 +++++++------- - 2 files changed, 31 insertions(+), 8 deletions(-) - -commit 386a4a64f5ae0e2ba941f80966585a0a66813576 -Author: blueshade7 -Date: Fri Jul 12 17:05:34 2019 -0700 - - regenerate subset api test result SourceHanSans-Regular.41,4C2E.retaingids.otf - - .../SourceHanSans-Regular.41,4C2E.retaingids.otf | Bin 2736 -> 2664 bytes - 1 file changed, 0 insertions(+), 0 deletions(-) - -commit 670768e5b9f24958f60a74f3d194b24333def446 -Author: blueshade7 -Date: Fri Jul 12 16:14:23 2019 -0700 - - fix inc-bimap for subsetting VarStore with retain-gids - - src/hb-bimap.hh | 19 ++++++++- - src/hb-ot-layout-common.hh | 43 ++++++++++----------- - src/hb-ot-var-hvar-table.hh | 5 ++- - test/api/fonts/AdobeVFPrototype.ac.retaingids.otf | Bin 6416 -> 6412 bytes - .../SourceHanSans-Regular.41,4C2E.retaingids.otf | Bin 2656 -> 2736 bytes - .../SourceSansVariable-Roman.ac.retaingids.ttf | Bin 2616 -> 2616 bytes - ...ourceSerifVariable-Roman-VVAR.ac.retaingids.ttf | Bin 5296 -> 5288 bytes - 7 files changed, 42 insertions(+), 25 deletions(-) - -commit 4730b350b7ee90338caf3e962343af42412ce3df -Author: Behdad Esfahbod -Date: Fri Jul 12 15:38:35 2019 -0700 - - Revert "Update Graphite API to latest (#1215)" - - This reverts commit e4e74c2751ac24178086cce2811d34d8019b6f85. - - See https://github.com/harfbuzz/harfbuzz/issues/1829 - - src/hb-graphite2.cc | 28 +--------------------------- - 1 file changed, 1 insertion(+), 27 deletions(-) - -commit f8242b61ab01002e9f7374daa8755e92c6a92eb4 -Author: Ebrahim Byagowi -Date: Thu Jul 11 15:10:36 2019 +0430 - - [fuzz] Increase subset runner timeout for tsan bot - - Now is flaky let's just increase and maybe investigate later - - test/fuzzing/run-subset-fuzzer-tests.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit b65bad18aa527684af999b5808a9087404c0759a -Author: Ebrahim Byagowi -Date: Thu Jul 11 14:31:55 2019 +0430 - - [fuzz] Don't fail when blob is empty - - And enable more tests able to trig the issue. - - ...zz-testcase-minimized-hb-subset-fuzzer-5738978499624960 | Bin 0 -> 28 bytes - test/fuzzing/hb-subset-fuzzer.cc | 2 +- - test/fuzzing/run-subset-fuzzer-tests.py | 9 +++++---- - 3 files changed, 6 insertions(+), 5 deletions(-) - -commit 7a9d643c297990f9889a2f7b4a470ef933bac131 -Author: Ebrahim Byagowi -Date: Thu Jul 11 01:35:06 2019 +0430 - - Fix unintialized memory read in cmap subset (#1826) - - src/hb-ot-cmap-table.hh | 10 +++++++++- - 1 file changed, 9 insertions(+), 1 deletion(-) - -commit a6065d05cf38620c06b6dd10b8a841ed236f76c2 -Author: Ebrahim Byagowi -Date: Wed Jul 10 16:41:40 2019 +0430 - - Don't call memcpy when a table is empty - - src/hb-open-file.hh | 7 ++++--- - 1 file changed, 4 insertions(+), 3 deletions(-) - -commit c85f624b519df1db141bf55d9452bc2837ef35c4 -Author: Ebrahim Byagowi -Date: Wed Jul 10 14:28:06 2019 +0430 - - Force blob generation and memory check in hb-subset-fuzzer - - test/fuzzing/hb-subset-fuzzer.cc | 14 ++++++++++++++ - 1 file changed, 14 insertions(+) - -commit 0eef8113d8a7940b4529a340790976a577fe829e -Author: blueshade7 -Date: Tue Jul 9 11:43:59 2019 -0700 - - retain gids in HVAR so in sync with fontTools - regenerate Comfortaa subset test results - - src/hb-bimap.hh | 6 + - src/hb-ot-var-hvar-table.hh | 123 +++++++++++++-------- - .../Comfortaa-Regular-new.default.61,62,63.ttf | Bin 6492 -> 7460 bytes - .../basics/Comfortaa-Regular-new.default.61,63.ttf | Bin 6316 -> 7104 bytes - .../basics/Comfortaa-Regular-new.default.61.ttf | Bin 6148 -> 6752 bytes - .../basics/Comfortaa-Regular-new.default.62.ttf | Bin 6088 -> 6696 bytes - .../basics/Comfortaa-Regular-new.default.63.ttf | Bin 6068 -> 6676 bytes - ...Regular-new.drop-hints-retain-gids.61,62,63.ttf | Bin 3284 -> 4912 bytes - ...aa-Regular-new.drop-hints-retain-gids.61,63.ttf | Bin 3164 -> 4620 bytes - ...ortaa-Regular-new.drop-hints-retain-gids.61.ttf | Bin 2868 -> 4056 bytes - ...ortaa-Regular-new.drop-hints-retain-gids.62.ttf | Bin 3020 -> 4296 bytes - ...ortaa-Regular-new.drop-hints-retain-gids.63.ttf | Bin 3024 -> 4304 bytes - .../Comfortaa-Regular-new.drop-hints.61,62,63.ttf | Bin 1952 -> 2920 bytes - .../Comfortaa-Regular-new.drop-hints.61,63.ttf | Bin 1832 -> 2620 bytes - .../basics/Comfortaa-Regular-new.drop-hints.61.ttf | Bin 1704 -> 2308 bytes - .../basics/Comfortaa-Regular-new.drop-hints.62.ttf | Bin 1688 -> 2296 bytes - .../basics/Comfortaa-Regular-new.drop-hints.63.ttf | Bin 1688 -> 2296 bytes - .../Comfortaa-Regular-new.name-ids.61,62,63.ttf | Bin 6236 -> 7204 bytes - .../Comfortaa-Regular-new.name-ids.61,63.ttf | Bin 6060 -> 6848 bytes - .../basics/Comfortaa-Regular-new.name-ids.61.ttf | Bin 5892 -> 6496 bytes - .../basics/Comfortaa-Regular-new.name-ids.62.ttf | Bin 5832 -> 6440 bytes - .../basics/Comfortaa-Regular-new.name-ids.63.ttf | Bin 5812 -> 6420 bytes - .../Comfortaa-Regular-new.retain-gids.61,62,63.ttf | Bin 7824 -> 9452 bytes - .../Comfortaa-Regular-new.retain-gids.61,63.ttf | Bin 7648 -> 9104 bytes - .../Comfortaa-Regular-new.retain-gids.61.ttf | Bin 7312 -> 8500 bytes - .../Comfortaa-Regular-new.retain-gids.62.ttf | Bin 7420 -> 8696 bytes - .../Comfortaa-Regular-new.retain-gids.63.ttf | Bin 7404 -> 8684 bytes - test/subset/run-tests.py | 2 +- - 28 files changed, 85 insertions(+), 46 deletions(-) - -commit a87fbb872b31c7a292ed8b414be728aa951e2833 -Merge: 49252c42b 6e35668b4 -Author: Michiharu Ariza -Date: Tue Jul 9 10:25:54 2019 -0700 - - Merge branch 'var-subset' of https://github.com/harfbuzz/harfbuzz into var-subset - -commit 6e35668b452cef86702e2563f4006a1db5d8fd74 -Author: blueshade7 -Date: Tue Jul 9 09:47:54 2019 -0700 - - fix var-subset build - - src/harfbuzz.cc | 1 + - test/subset/run-tests.py | 2 +- - 2 files changed, 2 insertions(+), 1 deletion(-) - -commit 8bf989ea70804dad66fb1c2d0c625ef5e562a309 -Merge: 5763a9274 2e7021da7 -Author: blueshade7 -Date: Mon Jul 8 17:13:29 2019 -0700 - - update from master - -commit 2e7021da7d1726a37822e6a001b9218f82255bc8 -Author: Dominik Röttsches -Date: Mon Jul 8 10:19:49 2019 +0300 - - Revert "Minor" - revert moving extern "C" definitions in-function - - This reverts commit 62e60322cb9e18b3ee75f1b4a2a6d3069f587407 since it - breaks building HarfBuzz as part of Chromium. - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1821. - - src/hb-unicode.cc | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit f18ea1dd3a9961661a383b2966de57ea68a267e7 -Author: Behdad Esfahbod -Date: Fri Jul 5 13:56:45 2019 -0700 - - [font] Remove division when scaling - - Yoohoo. This seems to be precise enough! Let's see if it sticks. - I'm asking Dominik to run this in Chrome test suite and report. - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1801 - - src/hb-font.hh | 23 +++++++++-------------- - src/hb-ot-math-table.hh | 16 ++++++++-------- - 2 files changed, 17 insertions(+), 22 deletions(-) - -commit b847769292aca13345fd1facae35aaf999198ad4 -Author: Behdad Esfahbod -Date: Fri Jul 5 13:52:09 2019 -0700 - - [font] Keep font-space to user-space multiplier - - Part of https://github.com/harfbuzz/harfbuzz/issues/1801 - - src/hb-font.cc | 5 +++++ - src/hb-font.hh | 13 +++++++++++-- - 2 files changed, 16 insertions(+), 2 deletions(-) - -commit df6edcd44ceb63d01d9c0d6d2aa06b6c6cbb914d -Author: Behdad Esfahbod -Date: Fri Jul 5 13:45:15 2019 -0700 - - Make face immutable in hb_font_set_face() - - src/hb-font.cc | 1 + - 1 file changed, 1 insertion(+) - -commit 0d425e1eeaea97bf5e4fc9ce40e549332bc0cea1 -Author: Behdad Esfahbod -Date: Fri Jul 5 13:18:05 2019 -0700 - - [ot-font] Optimize rounding - - Part of https://github.com/harfbuzz/harfbuzz/issues/1801 - - The assumption that compiler optimizes "upem/2" to a shift only - works if upem is unsigned... Anyway, spoon-feed the compiler. - - src/hb-font.hh | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -commit 144326e215671a42fb3ac9f00ddef779ba354345 -Author: Simon Sapin -Date: Fri Jul 5 19:05:11 2019 +0200 - - Clusters are reversed based on the direction, not script - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1818 - - docs/usermanual-clusters.xml | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -commit cf1a782a5ca82a880906cae3d4cb76b10ec2aad2 -Author: Simon Sapin -Date: Thu Jul 4 21:06:59 2019 +0200 - - Docs: fix a typo in function name - - docs/usermanual-fonts-and-faces.xml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit ffa736f151f27adb76fb0bf91e18e1ec5cb8fe8d -Author: Simon Sapin -Date: Thu Jul 4 23:05:50 2019 +0200 - - hb_set_previous_range docs: fix presumed copy/paste error - - src/hb-set.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 641f33738089ef7ccbedce09886309edcd2e1718 -Author: Simon Sapin -Date: Thu Jul 4 23:03:45 2019 +0200 - - Docs typo fix: slower → lower - - src/hb-set.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 9fea6b4dd41bfe2b85f788523162658a7ab9bd49 -Author: Ebrahim Byagowi -Date: Fri Jul 5 18:46:41 2019 +0430 - - [amalgam] Use it in cmake port and fix conflicts (#1812) - - .circleci/config.yml | 8 ++--- - CMakeLists.txt | 74 ++++-------------------------------------- - src/Makefile.am | 2 ++ - src/hb-cff-interp-common.hh | 6 ++-- - src/hb-cff-interp-cs-common.hh | 2 +- - src/hb-coretext.cc | 4 +-- - src/hb-directwrite.cc | 14 ++++---- - src/hb-ft.cc | 4 +-- - 8 files changed, 27 insertions(+), 87 deletions(-) - -commit b240d701fd98efa59a7f772ff39654fc95b8fc8f -Author: Behdad Esfahbod -Date: Wed Jul 3 12:17:57 2019 -0700 - - [amalgam] Include integration source files as well - - Just for those that are normally built into libharfbuzz itself. - - Part of https://github.com/harfbuzz/harfbuzz/issues/1809 - - src/Makefile.am | 12 ++++++++++-- - src/harfbuzz.cc | 6 ++++++ - 2 files changed, 16 insertions(+), 2 deletions(-) - -commit d51524204528b36907ab0f48bf2a48ec124c93d9 -Author: Behdad Esfahbod -Date: Wed Jul 3 12:10:03 2019 -0700 - - [amalgam] Rename hb.cc to harfbuzz.cc - - Part of https://github.com/harfbuzz/harfbuzz/issues/1809 - - src/Makefile.am | 8 ++++---- - src/{hb.cc => harfbuzz.cc} | 0 - 2 files changed, 4 insertions(+), 4 deletions(-) - -commit 4cb180d227c1adc32e921c241a93cd1f50a98d33 -Author: Behdad Esfahbod -Date: Tue Jul 2 19:44:18 2019 -0700 - - Revert "Use constexpr to replace passthru_ bools" - - This reverts commit c4aa10ebc8dc28b1f9c90af2ca2092a7535f8395. - - Broke several compilers... Sigh. The version without constexpr - didn't fully optimize out the unreachable code on clang. - So, revert it is... - - src/hb-algs.hh | 8 ++++++++ - src/hb-set.hh | 18 ++++++++---------- - 2 files changed, 16 insertions(+), 10 deletions(-) - -commit c4aa10ebc8dc28b1f9c90af2ca2092a7535f8395 -Author: Behdad Esfahbod -Date: Tue Jul 2 19:15:03 2019 -0700 - - Use constexpr to replace passthru_ bools - - src/hb-algs.hh | 8 -------- - src/hb-set.hh | 18 ++++++++++-------- - 2 files changed, 10 insertions(+), 16 deletions(-) - -commit 2e48fd077954410f59156b3100c16bf56a507948 -Author: Behdad Esfahbod -Date: Tue Jul 2 17:55:58 2019 -0700 - - Sprinkle constexpr around - - Being conservative. Also not sure it makes any real difference - in our codebase. - - src/hb-algs.hh | 48 ++++++++++++++++++++++++------------------------ - src/hb-meta.hh | 18 +++++++++--------- - 2 files changed, 33 insertions(+), 33 deletions(-) - -commit df4448064e370a410404708a15ce819daf1d9386 -Author: Behdad Esfahbod -Date: Tue Jul 2 17:11:09 2019 -0700 - - Remove unused 'inline' specifier - - src/hb-ot-map.hh | 4 ++-- - src/hb-shape-plan.hh | 18 +++++++++--------- - 2 files changed, 11 insertions(+), 11 deletions(-) - -commit 04a4957040380bba58880ff51d529c5cccf1d2c7 -Author: Behdad Esfahbod -Date: Tue Jul 2 16:19:18 2019 -0700 - - [amalgam] Add hb.cc to git - - Part of https://github.com/harfbuzz/harfbuzz/issues/1809 - - src/Makefile.am | 1 + - src/hb.cc | 44 ++++++++++++++++++++++++++++++++++++++++++++ - 2 files changed, 45 insertions(+) - -commit 62e60322cb9e18b3ee75f1b4a2a6d3069f587407 -Author: Behdad Esfahbod -Date: Tue Jul 2 16:07:03 2019 -0700 - - Minor - - src/hb-unicode.cc | 5 ++--- - 1 file changed, 2 insertions(+), 3 deletions(-) - -commit ceb4c212dc91a277f646c4a5354e4362f548a9f6 -Author: Behdad Esfahbod -Date: Tue Jul 2 16:02:13 2019 -0700 - - [amalgam] Fix UCD issue - - This actually makes it build now! - - Part https://github.com/harfbuzz/harfbuzz/issues/1809 - - Keeping open to add tests, CI, etc. - - src/hb-ucd.cc | 5 +---- - src/hb-unicode.cc | 2 -- - src/hb-unicode.hh | 3 +++ - 3 files changed, 4 insertions(+), 6 deletions(-) - -commit 7ca54811f471a28163de6b3c561990c85aa39880 -Author: Behdad Esfahbod -Date: Tue Jul 2 16:00:58 2019 -0700 - - [amalgam] Fix CFF - - Part of https://github.com/harfbuzz/harfbuzz/issues/1809 - - src/hb-ot-cff1-table.cc | 18 +++++++++--------- - src/hb-ot-cff2-table.cc | 16 ++++++++-------- - 2 files changed, 17 insertions(+), 17 deletions(-) - -commit 3724f13ba0292055197efdbfcacfe3d7b067175c -Author: Behdad Esfahbod -Date: Tue Jul 2 15:23:00 2019 -0700 - - [amalgam] Finish fixing Indic-like shapers - - Part of https://github.com/harfbuzz/harfbuzz/issues/1809 - - src/hb-ot-shape-complex-indic.cc | 34 +++++++++++++++++----------------- - src/hb-ot-shape-complex-indic.hh | 9 ++++++++- - src/hb-ot-shape-complex-khmer.cc | 18 +++++++++--------- - src/hb-ot-shape-complex-khmer.hh | 17 ++++++++--------- - src/hb-ot-shape-complex-myanmar.cc | 8 ++++---- - src/hb-ot-shape-complex-myanmar.hh | 16 ++++++++-------- - src/hb-ot-shape-complex-use.cc | 14 +++++++------- - 7 files changed, 61 insertions(+), 55 deletions(-) - -commit eb37bc9d93b3abebee24390708940510fe37477a -Author: Behdad Esfahbod -Date: Tue Jul 2 15:19:39 2019 -0700 - - [use] Remove Syriac features - - This was non-standard, and unused anyway. - - src/hb-ot-shape-complex-use.cc | 7 +------ - 1 file changed, 1 insertion(+), 6 deletions(-) - -commit dc480fc4717937d53cf38860a5c5d48211e8cbc8 -Author: Behdad Esfahbod -Date: Tue Jul 2 15:17:56 2019 -0700 - - [amalgam] More Indic-like issues - - Part of https://github.com/harfbuzz/harfbuzz/issues/1809 - - src/hb-ot-shape-complex-indic.cc | 76 +++++++++++++++++++++------------------- - src/hb-ot-shape-complex-khmer.cc | 36 ++++++++++--------- - src/hb-ot-shape-complex-use.cc | 32 ++++++++--------- - 3 files changed, 74 insertions(+), 70 deletions(-) - -commit d8b5353e07650cf243ba182dbf52e7f198719762 -Author: Behdad Esfahbod -Date: Tue Jul 2 15:09:26 2019 -0700 - - [amalgam] More - - Part of https://github.com/harfbuzz/harfbuzz/issues/1809 - - src/hb-ot-shape-complex-myanmar.cc | 28 ++++++++++++++-------------- - src/hb-ot-shape-complex-use.cc | 28 ++++++++++++++-------------- - 2 files changed, 28 insertions(+), 28 deletions(-) - -commit d115a9e022c0b687fb402cfd2b90d516beded5c0 -Author: Behdad Esfahbod -Date: Tue Jul 2 14:42:45 2019 -0700 - - [amalgam] Fix most duplicate-id instances in Indic-like shapers - - Part of https://github.com/harfbuzz/harfbuzz/issues/1809 - - src/hb-ot-layout.hh | 22 +++++ - src/hb-ot-shape-complex-indic-machine.hh | 6 +- - src/hb-ot-shape-complex-indic-machine.rl | 6 +- - src/hb-ot-shape-complex-indic.cc | 130 +++++++++---------------- - src/hb-ot-shape-complex-indic.hh | 26 +++++ - src/hb-ot-shape-complex-khmer-machine.hh | 6 +- - src/hb-ot-shape-complex-khmer-machine.rl | 6 +- - src/hb-ot-shape-complex-khmer.cc | 97 ++++++------------- - src/hb-ot-shape-complex-myanmar-machine.hh | 4 +- - src/hb-ot-shape-complex-myanmar-machine.rl | 4 +- - src/hb-ot-shape-complex-myanmar.cc | 69 ++++++-------- - src/hb-ot-shape-complex-use-machine.hh | 4 +- - src/hb-ot-shape-complex-use-machine.rl | 4 +- - src/hb-ot-shape-complex-use.cc | 148 ++++++++++++----------------- - 14 files changed, 230 insertions(+), 302 deletions(-) - -commit c073233f45da6ad8131dd38cb43b125f48c17432 -Author: Behdad Esfahbod -Date: Tue Jul 2 14:26:45 2019 -0700 - - Add make rule to build hb.cc - - Part of https://github.com/harfbuzz/harfbuzz/issues/1809 - - src/Makefile.am | 6 ++++++ - 1 file changed, 6 insertions(+) - -commit f1d20d9b4dcbeead3757650b9286393918b4be8a -Author: Behdad Esfahbod -Date: Tue Jul 2 14:18:38 2019 -0700 - - Add ucd-table make target - - src/Makefile.am | 23 +++++++++++++++-------- - src/gen-ucd-table.py | 8 +++++--- - 2 files changed, 20 insertions(+), 11 deletions(-) - -commit 634390ecaf600176245e3354edd8dfdcb7f64cc5 -Author: blueshade7 -Date: Mon Jul 1 18:52:57 2019 -0700 - - added VariationStore serializer to be used by HVAR/VVAR subsetters - - src/hb-ot-layout-common.hh | 165 ++++++++++++++++++++++++++++++++++++++++++++- - 1 file changed, 163 insertions(+), 2 deletions(-) - -commit 5763a92749386e134f2b4073531c10e9586d1d19 -Merge: 6f35cf7a6 6bcbe495b -Author: Michiharu Ariza -Date: Mon Jul 1 15:17:19 2019 -0700 - - Merge branch 'master' into var-subset - -commit 040b261deeed8924edcb087e27a61392d1f85023 -Author: Michiharu Ariza -Date: Sun Jun 30 16:13:07 2019 -0700 - - add bimap test along with bug fix/tweaks - - src/Makefile.am | 6 ++++- - src/hb-bimap.hh | 4 +++ - src/test-bimap.cc | 76 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ - 3 files changed, 85 insertions(+), 1 deletion(-) - -commit 9c93f5cc2de5c60d5464a65890fc7d8c25aa9702 -Merge: ad341d5f1 4ab2d1d67 -Author: Ebrahim Byagowi -Date: Mon Jul 1 20:08:22 2019 +0430 - - Merge pull request #1806 from carlo-bramini/master - - Make harfbuzz working on all existing versions of Windows - -commit 4ab2d1d6767568c45495be515e016805cce0c69a -Author: Ebrahim Byagowi -Date: Mon Jul 1 19:30:21 2019 +0430 - - [dwrite] Apply minor style improves - - src/hb-directwrite.cc | 16 ++++++++-------- - 1 file changed, 8 insertions(+), 8 deletions(-) - -commit 5ebd265e66cbcd167469837dcf8647484310dfb5 -Author: Carlo Bramini <30959007+carlo-bramini@users.noreply.github.com> -Date: Mon Jul 1 16:06:43 2019 +0200 - - Fix error rised by GCC8+ - - src/hb-directwrite.cc | 10 ++++++++++ - 1 file changed, 10 insertions(+) - -commit 693dacbb1c0bc805e3e6aedaca5a57f04eb6ec9c -Author: Carlo Bramini <30959007+carlo-bramini@users.noreply.github.com> -Date: Mon Jul 1 13:31:26 2019 +0200 - - Use lower case file name with #include - - I tried to cross compile harfbuzz for Windows and an error was generated because `DWrite_1.h` was not found. - This happened because the filesystem is case sensitive and for this reason that include file was not found. - The right name of the file to be used is `dwrite_1.h`, with all letters not capitalized: - https://docs.microsoft.com/en-us/windows/desktop/api/dwrite_1/ - I also verified in the installation of VS2017 with Windows Kit v10 and in that place it was also lower case. - So, in my opinion it should be better to change this. - - src/hb-directwrite.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit a4543d408b31376c38bab878b2f72d4323abc564 -Author: Carlo Bramini <30959007+carlo-bramini@users.noreply.github.com> -Date: Sun Jun 30 15:06:30 2019 +0200 - - Empty DIRECTWRITE_LIBS - - Not used anymore since DWRITE is loaded dynamically. - - configure.ac | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 601b6825b05f67354b48dd3629b95e0d8bf68a14 -Author: Carlo Bramini <30959007+carlo-bramini@users.noreply.github.com> -Date: Sun Jun 30 15:03:44 2019 +0200 - - Dynamically load DWRITE - - Also checks if DWriteCreateFactory() has been executed successfully. - - src/hb-directwrite.cc | 41 +++++++++++++++++++++++++++++++++-------- - 1 file changed, 33 insertions(+), 8 deletions(-) - -commit ad341d5f1624f4e30b2d0eb2a171054a973053b5 -Author: Behdad Esfahbod -Date: Fri Jun 28 16:00:37 2019 -0700 - - [config] Fix CoreText build with NO_AAT - - src/hb-aat-layout.cc | 8 +++++--- - 1 file changed, 5 insertions(+), 3 deletions(-) - -commit 3f806673fbeacdbe1b31399394ccc26c773a794b -Author: Ebrahim Byagowi -Date: Sat Jun 29 00:00:00 2019 +0430 - - Apply some minor improves on CFFIndex - - src/hb-ot-cff-common.hh | 38 +++++++++++++------------------------- - 1 file changed, 13 insertions(+), 25 deletions(-) - -commit ddd29e5594ccc9d0281e6da7373a1f115f6f6f3a -Author: Ebrahim Byagowi -Date: Fri Jun 28 23:44:14 2019 +0430 - - minor, reuse StructAtOffset logic in StructAtOffsetOrNull - - src/hb-ot-cff-common.hh | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - -commit 9db7ce73d7ac6566837cdd70d38c45f3aefd7769 -Author: Ebrahim Byagowi -Date: Fri Jun 28 23:11:52 2019 +0430 - - minor style improve in hb-cff-interp-common.hh - - src/hb-cff-interp-common.hh | 91 +++++++++++++++------------------------------ - 1 file changed, 30 insertions(+), 61 deletions(-) - -commit 9a7b7bd9fc5bde7796ffdd997ee65cb33cbf6b29 -Author: Ebrahim Byagowi -Date: Fri Jun 28 22:53:51 2019 +0430 - - style fix for pylint complain - - src/gen-emoji-table.py | 20 ++++++++++---------- - 1 file changed, 10 insertions(+), 10 deletions(-) - -commit 8d36ef50c8712be476572514d73b7bddf43e5951 -Author: Behdad Esfahbod -Date: Thu Jun 27 14:48:10 2019 -0700 - - [config] Add links - - CONFIG.md | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -commit f53590971c5326dd15f4296764bfd1255ec0506a -Author: Behdad Esfahbod -Date: Thu Jun 27 13:42:51 2019 -0700 - - [test] Make Unicode tests strict against internal UCD - - https://github.com/harfbuzz/harfbuzz/pull/1799 - - test/api/test-unicode.c | 30 ++++++++++++++++++++++-------- - 1 file changed, 22 insertions(+), 8 deletions(-) - -commit d42264f151a61a4a77e5d5712e535fc6e2daf338 -Author: David Corbett -Date: Wed Jun 26 21:10:11 2019 -0400 - - Test at least one character per Unicode version - - test/api/test-unicode.c | 142 ++++++++++++++++++++++++++++++++++++++++++++++-- - 1 file changed, 138 insertions(+), 4 deletions(-) - -commit 7185bd6ffb4dd8c0efebdab5b930e62c5695e3ab -Merge: cd65305b0 8341c0b30 -Author: Ebrahim Byagowi -Date: Thu Jun 27 22:09:28 2019 +0430 - - Merge pull request #1800 from harfbuzz/harfbuzz/cffnull_fix2 - - [CFF] fix for Subrs null ptr access - -commit 8341c0b304ee3bb0b7d150bcfb42a8b9e6448687 -Author: Michiharu Ariza -Date: Thu Jun 27 08:43:31 2019 -0700 - - add test case file - - ...z-testcase-minimized-harfbuzz_fuzzer-5093685255077888 | Bin 0 -> 1160 bytes - 1 file changed, 0 insertions(+), 0 deletions(-) - -commit 01832fd16b605971466fc3b174cb932787ef4bfb -Author: Michiharu Ariza -Date: Wed Jun 26 15:58:38 2019 -0700 - - alternate fix for https://crbug.com/971933 - - src/hb-cff-interp-cs-common.hh | 6 +++--- - src/hb-cff1-interp-cs.hh | 2 +- - src/hb-cff2-interp-cs.hh | 2 +- - 3 files changed, 5 insertions(+), 5 deletions(-) - -commit cd65305b059e7495f4f993d25cfda4d88781589b -Author: Behdad Esfahbod -Date: Wed Jun 26 14:57:48 2019 -0700 - - [config] Don't disable emoji sequences in HB_TINY - - It makes sense to disable this code these if editing is not needed. - However, this is also necessary to correctly display emoji sequences - in right-to-left direction. For that reason, don't auto-disable it. - - src/hb-config.hh | 1 - - src/hb-ot-shape.cc | 2 +- - src/hb-unicode.cc | 2 +- - 3 files changed, 2 insertions(+), 3 deletions(-) - -commit 7298716a3cfbdabedd15960404623317a64db3ae -Author: Behdad Esfahbod -Date: Wed Jun 26 14:51:17 2019 -0700 - - [config] Compile out modified combining-class if HB_NO_OT_SHAPE - - Part of https://github.com/harfbuzz/harfbuzz/issues/1652 - - src/hb-unicode.cc | 2 ++ - 1 file changed, 2 insertions(+) - -commit 1cdd0fa60d9a6aaddc20e646d294d642e2db9be4 -Author: Behdad Esfahbod -Date: Wed Jun 26 14:49:15 2019 -0700 - - [emoji] Port generator to packtab - - src/gen-emoji-table.py | 18 ++++-- - src/hb-unicode-emoji-table.hh | 126 ++++++++++++++++-------------------------- - src/hb-unicode.cc | 5 +- - 3 files changed, 60 insertions(+), 89 deletions(-) - -commit 5130c90ac0173c542b550049c93738ab5de84bb9 -Author: Behdad Esfahbod -Date: Wed Jun 26 14:29:39 2019 -0700 - - [config] Add HB_NO_EMOJI - - Part of https://github.com/harfbuzz/harfbuzz/issues/1652 - - src/hb-config.hh | 1 + - src/hb-ot-shape.cc | 2 ++ - src/hb-unicode.cc | 2 ++ - 3 files changed, 5 insertions(+) - -commit 9d5b5348c7ca1e39faa9e197fdebfb8f5d3aeece -Author: Behdad Esfahbod -Date: Wed Jun 26 13:58:40 2019 -0700 - - [config] Add HB_NO_SHAPER - - Don't know who would want when why. But makes sense to have. - - src/hb-shaper-list.hh | 6 ++++++ - src/hb-shaper.cc | 2 ++ - 2 files changed, 8 insertions(+) - -commit 8fe15485cbc2f56adb29d4d5f0c3957869bd0e1a -Author: Behdad Esfahbod -Date: Wed Jun 26 13:49:42 2019 -0700 - - [config] Add HB_NO_OT_TAG - - Part of https://github.com/harfbuzz/harfbuzz/issues/1652 - - src/hb-config.hh | 1 + - src/hb-ot-layout.cc | 4 ++++ - src/hb-ot-tag.cc | 5 +++++ - src/hb-uniscribe.cc | 4 ++++ - 4 files changed, 14 insertions(+) - -commit 7dcf8e126ecf52c67f59745e04d21df68b1a6992 -Author: Behdad Esfahbod -Date: Wed Jun 26 13:44:10 2019 -0700 - - [config] Fix build with HB_NO_OT_LAYOUT - - src/hb-ot-face-table-list.hh | 2 ++ - src/hb-ot-layout-gpos-table.hh | 3 ++- - src/hb-ot-layout-gsub-table.hh | 5 +++-- - src/hb-ot-layout-gsubgpos.hh | 8 +++++++- - 4 files changed, 14 insertions(+), 4 deletions(-) - -commit 2804790bceb9398cc9b668ca63f5aa9ffe29beeb -Author: Behdad Esfahbod -Date: Wed Jun 26 13:38:14 2019 -0700 - - [config] Add dependency - - src/hb-ot-shape.cc | 4 ++++ - 1 file changed, 4 insertions(+) - -commit b0fd16eec62dea29d984bab879064ae9d91afdfc -Author: Behdad Esfahbod -Date: Wed Jun 26 13:31:51 2019 -0700 - - [config] Add dependency - - src/hb-config.hh | 4 ++++ - 1 file changed, 4 insertions(+) - -commit 12092a46d8826eec5dcf69e7817921380e4bc507 -Author: Behdad Esfahbod -Date: Wed Jun 26 13:31:01 2019 -0700 - - [config] Rename HB_NO_SHAPE_AAT to HB_NO_AAT_SHAPE - - src/hb-aat-map.cc | 2 +- - src/hb-config.hh | 2 +- - src/hb-ot-kern-table.hh | 14 +++++++------- - src/hb-ot-layout.cc | 2 +- - src/hb-ot-shape.cc | 36 ++++++++++++++++++------------------ - src/hb-ot-shape.hh | 8 ++++---- - 6 files changed, 32 insertions(+), 32 deletions(-) - -commit bb4bbe617d3878ca7e5e359ada493c68ec7f0a90 -Author: Behdad Esfahbod -Date: Wed Jun 26 13:29:58 2019 -0700 - - [config] Add HB_NO_OT_LAYOUT - - Part of https://github.com/harfbuzz/harfbuzz/issues/1652 - - src/hb-config.hh | 1 + - src/hb-ot-layout.cc | 7 +++++++ - src/hb-ot-map.cc | 7 +++++++ - 3 files changed, 15 insertions(+) - -commit ab40a2feecf53d2ef787b7785132bf57e5bdcff9 -Author: Behdad Esfahbod -Date: Wed Jun 26 13:25:02 2019 -0700 - - [config] Enable HB_NO_OT_FONT in HB_NO_OT - - CONFIG.md | 4 ++-- - src/hb-config.hh | 1 + - 2 files changed, 3 insertions(+), 2 deletions(-) - -commit 7aad53657eb23264f658711a71da3e50f2264455 -Author: Behdad Esfahbod -Date: Wed Jun 26 13:21:03 2019 -0700 - - [config] Add HB_NO_OT_SHAPE / HB_NO_OT - - Part of https://github.com/harfbuzz/harfbuzz/issues/1652 - - CONFIG.md | 14 ++++++++++++++ - src/gen-indic-table.py | 6 ++++++ - src/gen-use-table.py | 6 ++++++ - src/gen-vowel-constraints.py | 7 +++++++ - src/hb-config.hh | 4 ++++ - src/hb-ot-shape-complex-arabic.cc | 6 ++++++ - src/hb-ot-shape-complex-default.cc | 7 +++++++ - src/hb-ot-shape-complex-hangul.cc | 7 +++++++ - src/hb-ot-shape-complex-hebrew.cc | 7 +++++++ - src/hb-ot-shape-complex-indic-table.cc | 6 ++++++ - src/hb-ot-shape-complex-indic.cc | 7 +++++++ - src/hb-ot-shape-complex-khmer.cc | 7 +++++++ - src/hb-ot-shape-complex-myanmar.cc | 7 +++++++ - src/hb-ot-shape-complex-thai.cc | 7 +++++++ - src/hb-ot-shape-complex-use-table.cc | 6 ++++++ - src/hb-ot-shape-complex-use.cc | 7 +++++++ - src/hb-ot-shape-complex-vowel-constraints.cc | 6 ++++++ - src/hb-ot-shape-fallback.cc | 7 +++++++ - src/hb-ot-shape-normalize.cc | 7 +++++++ - src/hb-ot-shape.cc | 7 +++++++ - src/hb-shape-plan.cc | 10 ++++++++++ - src/hb-shape-plan.hh | 4 ++++ - src/hb-shaper-list.hh | 2 ++ - 23 files changed, 154 insertions(+) - -commit cee9f6e044278b590694f4dff6f22eaad9371385 -Author: Behdad Esfahbod -Date: Wed Jun 26 13:01:58 2019 -0700 - - Fail compile if no shapers enabled - - src/hb-shaper.cc | 1 + - 1 file changed, 1 insertion(+) - -commit 8786820a5a7406be95bc4a6b6e2aca736126420c -Author: Behdad Esfahbod -Date: Wed Jun 26 12:53:57 2019 -0700 - - [src] Add make targets "tiny" and "tinyz" - - src/Makefile.am | 4 ++++ - 1 file changed, 4 insertions(+) - -commit b14e413fae8f14b75c5956e9b38e413c878ded0c -Author: Behdad Esfahbod -Date: Wed Jun 26 10:44:10 2019 -0700 - - 2.5.3 - - NEWS | 7 +++++++ - configure.ac | 2 +- - src/hb-version.h | 4 ++-- - 3 files changed, 10 insertions(+), 3 deletions(-) - -commit 3bfa878c98cceeaae074d81c14329e358bea8912 -Author: Behdad Esfahbod -Date: Tue Jun 25 19:07:07 2019 -0700 - - [gen-ucd] Protect against accidents like previous commit - - https://github.com/harfbuzz/harfbuzz/pull/1796 - - src/gen-ucd-table.py | 24 +++++++++++------------- - 1 file changed, 11 insertions(+), 13 deletions(-) - -commit f4ea1a9afb4849e7cfb7a5eb9e81e4f656c3f89e -Author: David Corbett -Date: Tue Jun 25 21:08:14 2019 -0400 - - [ucd] Include scripts added in Unicode 10 or later - - src/gen-ucd-table.py | 2 +- - src/hb-ucd-table.hh | 970 +++++++++++++++++++++++++++------------------------ - 2 files changed, 511 insertions(+), 461 deletions(-) - -commit 10bd6b8d913a57260b35c1ef830db37c06eebd18 -Author: Michiharu Ariza -Date: Thu Jun 20 16:22:08 2019 -0700 - - minor - - src/hb-bimap.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit f3ee2bd020f8ca313fae783cc49a374f1377e877 -Author: Michiharu Ariza -Date: Thu Jun 20 14:33:09 2019 -0700 - - add ops & methods to hb_bimap_t making it more like hb_map_t - moved has () to hb_bimap_t from hb_inc_bimap_t - moved identity () to hb_inc_bimap_t - removed forward() - - src/hb-bimap.hh | 38 ++++++++++++++++++++++++-------------- - src/hb-ot-cff-common.hh | 2 +- - src/hb-ot-cff1-table.hh | 4 ++-- - src/hb-subset-cff-common.cc | 2 +- - src/hb-subset-cff-common.hh | 4 ++-- - src/hb-subset-cff1.cc | 4 ++-- - src/hb-subset-cff2.cc | 2 +- - 7 files changed, 33 insertions(+), 23 deletions(-) - -commit 094966959f96d9a41fb612fd0b870f5ae8f5a954 -Author: Michiharu Ariza -Date: Mon Jun 17 22:12:40 2019 -0700 - - add hb_bimap_t, subclass hb_inc_bimap_t replacing CFF::remap_t - - src/Makefile.sources | 1 + - src/hb-bimap.hh | 129 ++++++++++++++++++++++++++++++++++++++++++++ - src/hb-ot-cff-common.hh | 64 +++------------------- - src/hb-ot-cff1-table.hh | 16 +++--- - src/hb-subset-cff-common.cc | 12 ++--- - src/hb-subset-cff-common.hh | 40 ++++++-------- - src/hb-subset-cff1.cc | 26 ++++----- - src/hb-subset-cff2.cc | 31 +++++------ - 8 files changed, 191 insertions(+), 128 deletions(-) - -commit 0660175dc82d82bbb38c45b9cb53190e06f55750 -Author: David Corbett -Date: Tue Jun 25 10:14:03 2019 -0400 - - Categorize U+1133B for use in Tamil - - src/hb-ot-shape-complex-indic.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit fb0df17b2701c1c5623198440aa88a676985bd4f -Author: David Corbett -Date: Mon Jun 24 21:54:26 2019 -0400 - - Correct "nonunihan" to "nounihan" - - src/gen-ucd-table.py | 4 ++-- - src/hb-ucd-table.hh | 2 +- - 2 files changed, 3 insertions(+), 3 deletions(-) - -commit bb4cdf8e0bcc98a036c22cfd44242502b107fb32 -Author: Ebrahim Byagowi -Date: Tue Jun 25 01:42:42 2019 +0430 - - Replace create_from_file with empty blob if HB_NO_OPEN is defined - - src/main.cc | 4 ++++ - src/test-buffer-serialize.cc | 4 ++++ - src/test-gpos-size-params.cc | 4 ++++ - src/test-gsub-would-substitute.cc | 4 ++++ - src/test-ot-color.cc | 4 ++++ - src/test-ot-name.cc | 4 ++++ - src/test.cc | 4 ++++ - 7 files changed, 28 insertions(+) - -commit ccf1448238c91da3cba8370ee527229013f6d362 -Author: GaryQian -Date: Mon Jun 24 12:57:13 2019 -0700 - - Cast long->size_t to ensure comparison of similar types - - src/hb-common.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit ec8e635e0c1a8e5c631a90820be68cf07c52c1a0 -Author: Behdad Esfahbod -Date: Mon Jun 24 12:37:23 2019 -0700 - - [ucd] Use custom encoding to shrink composition data - - Saves another 2.5kb. - - Part of https://github.com/harfbuzz/harfbuzz/issues/1652 - - src/gen-ucd-table.py | 22 +- - src/hb-algs.hh | 5 + - src/hb-ucd-table.hh | 963 ++++++++++++++++++++++++++++++++++----------------- - src/hb-ucd.cc | 49 ++- - 4 files changed, 704 insertions(+), 335 deletions(-) - -commit 9c933acaa443889bc2484dbe3ef3e990b299cd52 -Author: Behdad Esfahbod -Date: Sun Jun 23 17:14:27 2019 -0700 - - [ucd] Save a few more bytes - - Part of https://github.com/harfbuzz/harfbuzz/issues/1652 - - src/gen-ucd-table.py | 11 ++++++----- - src/hb-ucd-table.hh | 34 +++++++++++++++++----------------- - src/hb-ucd.cc | 12 ++++++------ - 3 files changed, 29 insertions(+), 28 deletions(-) - -commit 9bd8d66c2ba97aec57597ff85e059a7618260a1c -Author: Qunxin Liu -Date: Wed Jun 12 11:02:48 2019 -0700 - - [subset] VORG table to use _subset2 method and new iterator frameworks - - src/hb-ot-vorg-table.hh | 128 ++++++++++++++---------------------------------- - src/hb-subset.cc | 2 +- - 2 files changed, 39 insertions(+), 91 deletions(-) - -commit 8062979990d348671b465c877e4dd672e1337665 -Merge: ad97ec950 c2d7dfc68 -Author: Ebrahim Byagowi -Date: Sun Jun 23 11:19:48 2019 +0430 - - Merge pull request #1788 from jameshilliard/configure-svg - - Add missing cairo-svg dependency to test-ot-color - -commit c2d7dfc68ffcb389c9f73b5ef94da7b270bdcf9e -Author: James Hilliard -Date: Sat Jun 22 19:38:48 2019 -0600 - - Add missing cairo-svg dependency to test-ot-color - - src/test-ot-color.cc | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit ad97ec95019b1e5170d00953d4dfe392cfb4abb0 -Author: Behdad Esfahbod -Date: Fri Jun 21 00:44:29 2019 -0700 - - [config/ucd] Add HB_NO_UNICODE_UNASSIGNED and activate in HB_TINY - - Saves another 12kb: - - $ python ./gen-ucd-table.py ucd.nounihan.grouped.zip > hb-ucd-table.hh && make -j5 CPPFLAGS='-Os -DHB_TINY' -C ~/hb/build/src/ && size ~/hb/build/src/.libs/libharfbuzz_la-hb-ucd.o - INFO: Loading UCDXML... - INFO: Preparing data tables... - INFO: Generating output... - INFO: Compression=1: - INFO: Dataset=gc FullCost=18612 - INFO: Dataset=ccc FullCost=3550 - INFO: Dataset=bmg FullCost=1548 - INFO: Dataset=sc FullCost=17765 - INFO: Dataset=dm FullCost=13325 - INFO: Compression=3: - INFO: Dataset=gc FullCost=10726 - INFO: Dataset=ccc FullCost=2389 - INFO: Dataset=bmg FullCost=1052 - INFO: Dataset=sc FullCost=13669 - INFO: Dataset=dm FullCost=7780 - INFO: Compression=5: - INFO: Dataset=gc FullCost=8274 - INFO: Dataset=ccc FullCost=2055 - INFO: Dataset=bmg FullCost=908 - INFO: Dataset=sc FullCost=4073 - INFO: Dataset=dm FullCost=7780 - INFO: Done. - - Part of https://github.com/harfbuzz/harfbuzz/issues/1652 - - CONFIG.md | 3 +- - src/gen-ucd-table.py | 27 +- - src/hb-config.hh | 1 + - src/hb-ucd-table.hh | 1161 +++++++++++++++++++++++++++++++++++++++++++++++++- - 4 files changed, 1185 insertions(+), 7 deletions(-) - -commit ccea7fa119d139b6a3a429b3b81fac8448f3bab1 -Author: Behdad Esfahbod -Date: Fri Jun 21 00:42:06 2019 -0700 - - [config] Make test build under HB_TINY - - src/test-gpos-size-params.cc | 9 +++++++-- - 1 file changed, 7 insertions(+), 2 deletions(-) - -commit 12cec6c12ec1856e483097e702126214dd25a34a -Author: Ebrahim Byagowi -Date: Fri Jun 21 22:39:42 2019 +0430 - - Don't define hb_blob_create_from_file if HB_NO_OPEN is defined - - src/hb-blob.cc | 6 ++---- - 1 file changed, 2 insertions(+), 4 deletions(-) - -commit 7f3b409e85897ff267f1b6a5ce1b5cdafbfe7afe -Author: Behdad Esfahbod -Date: Thu Jun 20 14:24:43 2019 -0700 - - Fix build with -O0 - - message_impl was not defined. That causes trouble if compiler didn't - optimize the unreachable call out... - - src/hb-buffer.cc | 1 - - src/hb-buffer.hh | 4 ++++ - 2 files changed, 4 insertions(+), 1 deletion(-) - -commit 6b44bf85382146b355a5a3cbbfde48166721ce52 -Author: Behdad Esfahbod -Date: Thu Jun 20 11:57:19 2019 -0700 - - 2.5.2 - - NEWS | 12 ++++++++++++ - configure.ac | 2 +- - src/hb-version.h | 4 ++-- - 3 files changed, 15 insertions(+), 3 deletions(-) - -commit e9f7b338ef599b9cbffa125fe594a9939b8517cb -Author: Behdad Esfahbod -Date: Thu Jun 20 11:48:44 2019 -0700 - - [config] Adjust description of HB_LEAN - - https://github.com/harfbuzz/harfbuzz/commit/d84932ba50482b3b47e393714eb77b19173d1f14 - - CONFIG.md | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit fce3bf8127321bb53b14eb8a5528a2347cd9be8a -Author: Behdad Esfahbod -Date: Wed Jun 19 20:34:29 2019 -0700 - - [config] Add HB_NO_LAYOUT_COLLECT_GLYPHS - - Part of - - src/hb-config.hh | 1 + - src/hb-ot-layout.cc | 2 ++ - 2 files changed, 3 insertions(+) - -commit 6c725c7799bf4870fb8b4f896a537a2c0f7a1ccc -Author: Behdad Esfahbod -Date: Wed Jun 19 20:12:25 2019 -0700 - - [config] Add HB_NO_LAYOUT_FEATURE_PARAMS - - Part of https://github.com/harfbuzz/harfbuzz/issues/1652 - - src/hb-config.hh | 1 + - src/hb-ot-layout-common.hh | 7 +++++-- - src/hb-ot-layout.cc | 6 ++---- - 3 files changed, 8 insertions(+), 6 deletions(-) - -commit 27de7c44fe80e69c527578c99c26280ba9f26c15 -Author: Behdad Esfahbod -Date: Wed Jun 19 20:07:02 2019 -0700 - - [config] Add HB_NO_FACE_COLLECT_UNICODES - - Part of https://github.com/harfbuzz/harfbuzz/issues/1652 - - src/hb-config.hh | 1 + - src/hb-face.cc | 5 ++--- - src/hb-ot-face-table-list.hh | 2 ++ - 3 files changed, 5 insertions(+), 3 deletions(-) - -commit 3caa32d737e7c2b4fe6ccd10950760998524f573 -Author: Behdad Esfahbod -Date: Wed Jun 19 19:50:54 2019 -0700 - - [config] Add HB_NO_CMAP_LEGACY_SUBTABLES - - Part of https://vimeo.com/331852453/06eec89c65 - - src/hb-config.hh | 1 + - src/hb-ot-cmap-table.hh | 16 ++++++++++++---- - 2 files changed, 13 insertions(+), 4 deletions(-) - -commit 8e3cde67dfa4aa17c0f1156b4a4acd0c95bdbe6f -Author: Behdad Esfahbod -Date: Wed Jun 19 19:58:24 2019 -0700 - - Fix MSVC build - - MSVC warning: - - c:\projects\harfbuzz\src\hb-ot-layout-gsubgpos.hh(2732): error C2121: '#': invalid character: possibly the result of a macro expansion [C:\projects\harfbuzz\build\harfbuzz.vcxproj] - - Clang warning for it: - - ./hb-ot-layout-gsubgpos.hh:2729:2: error: embedding a directive within macro arguments has undefined behavior [-Werror,-Wembedded-directive] - - src/hb-ot-layout-gsubgpos.hh | 18 +++++++++++------- - src/hb.hh | 1 + - 2 files changed, 12 insertions(+), 7 deletions(-) - -commit c8f529a07eca06acf2216935921377e7cad8436f -Author: Behdad Esfahbod -Date: Wed Jun 19 19:33:15 2019 -0700 - - [config] Add HB_NO_HINTING, enabled by HB_TINY - - Disables HintingDevice tables and Anchors addressing contour points. - - Part of https://github.com/harfbuzz/harfbuzz/issues/1652 - - src/hb-config.hh | 3 ++- - src/hb-ot-layout-common.hh | 6 ++++++ - src/hb-ot-layout-gpos-table.hh | 7 +++++++ - 3 files changed, 15 insertions(+), 1 deletion(-) - -commit a849873124efea6577b4938b23501d9e4f4af2f4 -Author: Behdad Esfahbod -Date: Wed Jun 19 19:26:22 2019 -0700 - - [config] Add HB_NO_VAR to disable variations support, enabled by HB_TINY - - Part of https://github.com/harfbuzz/harfbuzz/issues/1652 - - src/hb-config.hh | 1 + - src/hb-font.cc | 3 ++- - src/hb-ot-face-table-list.hh | 2 ++ - src/hb-ot-layout-common.hh | 34 ++++++++++++++++++++++++++++------ - src/hb-ot-layout-gsubgpos.hh | 18 +++++++++++++++--- - src/hb-ot-var.cc | 7 ++++++- - src/hb-subset-plan.cc | 2 ++ - 7 files changed, 56 insertions(+), 11 deletions(-) - -commit 230adf2c417bbb6b5f367eb857dd6f98bea3ef26 -Author: Behdad Esfahbod -Date: Wed Jun 19 18:49:52 2019 -0700 - - [config] Add HB_NO_OT_FONT_GLYPH_NAMES - - Part of https://github.com/harfbuzz/harfbuzz/issues/1652 - - src/hb-config.hh | 1 + - src/hb-ot-face-table-list.hh | 4 +++- - src/hb-ot-font.cc | 5 ++++- - 3 files changed, 8 insertions(+), 2 deletions(-) - -commit b0debc32f6cedfa76a4851aa391f88ed1860955d -Author: Behdad Esfahbod -Date: Wed Jun 19 18:42:39 2019 -0700 - - [subset] Simplify collect_name_ids - - src/hb-subset-plan.cc | 19 ++----------------- - 1 file changed, 2 insertions(+), 17 deletions(-) - -commit a5897463d4d0b83cb1bfe4ae1477dac4e3851252 -Author: Behdad Esfahbod -Date: Wed Jun 19 18:36:35 2019 -0700 - - [config] Add HB_NO_STAT - - Part of https://github.com/harfbuzz/harfbuzz/issues/1652 - - src/hb-config.hh | 1 + - src/hb-ot-face-table-list.hh | 2 ++ - src/hb-subset-plan.cc | 2 ++ - 3 files changed, 5 insertions(+) - -commit ffc2b8d56e5d35b4dc19499c830d8fc4b643213a -Author: Behdad Esfahbod -Date: Wed Jun 19 18:33:29 2019 -0700 - - [config] Don't include name table in face if HB_NO_NAME - - Part of https://github.com/harfbuzz/harfbuzz/issues/1652 - - src/hb-ot-face-table-list.hh | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit 1432df102ebf206592f92677f48bb950871675b3 -Author: Behdad Esfahbod -Date: Wed Jun 19 18:32:40 2019 -0700 - - [config] Disable hb-ot-font code if HB_NO_OT_FONT - - Part of https://github.com/harfbuzz/harfbuzz/issues/1652 - - src/hb-ot-font.cc | 5 +++++ - 1 file changed, 5 insertions(+) - -commit b1a2384a5244ea3ea63ca94eb095c4add2cd451d -Author: Behdad Esfahbod -Date: Wed Jun 19 17:34:12 2019 -0700 - - [ucd] Print out table sizes - - src/gen-ucd-table.py | 27 +++++++++++++++++++-------- - src/hb-ucd-table.hh | 1 - - 2 files changed, 19 insertions(+), 9 deletions(-) - -commit f4de0c775408e34474a688361fa319251e1a9c18 -Author: Behdad Esfahbod -Date: Wed Jun 19 17:08:26 2019 -0700 - - [config] Disable AAT map - - Part of https://github.com/harfbuzz/harfbuzz/issues/1652 - - src/hb-aat-map.cc | 15 +++++++-------- - src/hb-ot-shape.cc | 6 ++++++ - 2 files changed, 13 insertions(+), 8 deletions(-) - -commit d8bf6723a1176ca26e97e8015044c8829ec77c36 -Author: Behdad Esfahbod -Date: Wed Jun 19 17:04:16 2019 -0700 - - [config] Disable more legacy kerning - - Part of https://github.com/harfbuzz/harfbuzz/issues/1652 - - src/hb-ot-shape.cc | 4 +++- - src/hb-ot-shape.hh | 8 ++++++++ - 2 files changed, 11 insertions(+), 1 deletion(-) - -commit 43d7048d59b1a0af62b80bd914805bdec74a29d2 -Author: Behdad Esfahbod -Date: Wed Jun 19 17:02:32 2019 -0700 - - [config] More trak disabling - - Part of https://github.com/harfbuzz/harfbuzz/issues/1652 - - src/hb-ot-shape.cc | 4 +++- - src/hb-ot-shape.hh | 8 ++++++++ - 2 files changed, 11 insertions(+), 1 deletion(-) - -commit d84932ba50482b3b47e393714eb77b19173d1f14 -Author: Behdad Esfahbod -Date: Wed Jun 19 16:57:48 2019 -0700 - - [config] add HB_NO_OT_SHAPE_FRACTIONS, enabled in HB_LEAN - - Part of https://github.com/harfbuzz/harfbuzz/issues/1652 - - src/hb-config.hh | 1 + - src/hb-ot-shape.cc | 9 +++++++++ - src/hb-ot-shape.hh | 10 ++++++++++ - 3 files changed, 20 insertions(+) - -commit eaf4a7364c28663720a9da57bf4d576b6009e17d -Author: Behdad Esfahbod -Date: Wed Jun 19 16:51:13 2019 -0700 - - [config] Minor trak disable - - Part of https://github.com/harfbuzz/harfbuzz/issues/1652 - - src/hb-ot-shape.cc | 2 ++ - 1 file changed, 2 insertions(+) - -commit 971330c0588307bcd73934e44c6343db55b1f5b6 -Author: Behdad Esfahbod -Date: Wed Jun 19 16:37:35 2019 -0700 - - [config] Add HB_NO_LANGUAGE_PRIVATE_SUBTAG - - Part of https://github.com/harfbuzz/harfbuzz/issues/1652 - - src/hb-config.hh | 1 + - src/hb-ot-tag.cc | 4 ++++ - 2 files changed, 5 insertions(+) - -commit f642a5fa6c42b145574593a0e18815dc74d3c617 -Author: Behdad Esfahbod -Date: Wed Jun 19 16:36:09 2019 -0700 - - Restructure code - - src/hb-ot-tag.cc | 44 ++++++++++++++++++++------------------------ - 1 file changed, 20 insertions(+), 24 deletions(-) - -commit d2ff73b256599a655e4ddedbe1ca75abdf837d23 -Author: Behdad Esfahbod -Date: Wed Jun 19 16:28:08 2019 -0700 - - [config] Remove remaining AAT context bits if HB_NO_OT_KERN - - Part of https://github.com/harfbuzz/harfbuzz/issues/1652 - - src/hb-aat-layout.cc | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -commit 588697afd0ddf411e8201866ade1f593ccb61aab -Author: Behdad Esfahbod -Date: Wed Jun 19 16:24:51 2019 -0700 - - [config] Add HB_NO_OT_KERN, enabled by HB_MINI / HB_NO_LEGACY - - Part of https://github.com/harfbuzz/harfbuzz/issues/1652 - - src/hb-config.hh | 1 + - src/hb-ot-face-table-list.hh | 6 +++++- - src/hb-ot-layout.cc | 4 ++-- - src/hb-ot-shape.cc | 16 ++++++++++++++-- - src/hb-ot-shape.hh | 4 ++++ - 5 files changed, 26 insertions(+), 5 deletions(-) - -commit 2e3e929d2b0fa6026c55eb92f91de0498fb22646 -Author: Behdad Esfahbod -Date: Wed Jun 19 15:50:13 2019 -0700 - - Fix build - - src/hb-ot-face-table-list.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 631da9d816da381c5fd4b3cc640c41fda736a96f -Author: Behdad Esfahbod -Date: Wed Jun 19 15:36:14 2019 -0700 - - [config] Remove tables from hb_face_t for disabled features - - Part of https://github.com/harfbuzz/harfbuzz/issues/1652 - - src/Makefile.sources | 1 + - src/hb-ot-face-table-list.hh | 112 +++++++++++++++++++++++++++++++++++++++++++ - src/hb-ot-face.cc | 8 +--- - src/hb-ot-face.hh | 52 ++------------------ - src/hb-ot-layout.cc | 2 + - 5 files changed, 120 insertions(+), 55 deletions(-) - -commit e710888188ff3285a162c25c89d886d9535d9f02 -Author: Misty De Meo -Date: Tue Jun 18 15:20:38 2019 -0700 - - coretext: remove trailing macro from SCRATCH_RESTORE - - src/hb-coretext.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 10bac21bb5b25cf20c2198934e99e444625dfd97 -Author: Behdad Esfahbod -Date: Tue Jun 18 15:15:06 2019 -0700 - - [coretext/uniscribe/directwrite] Remove extra semicolons - - Fixes https://github.com/harfbuzz/harfbuzz/pull/1783 - - src/hb-coretext.cc | 2 +- - src/hb-directwrite.cc | 2 +- - src/hb-uniscribe.cc | 2 +- - 3 files changed, 3 insertions(+), 3 deletions(-) - -commit f0b0fd4e78e94315c9d01b9232ebfb09bbfef556 -Author: Behdad Esfahbod -Date: Tue Jun 18 14:40:24 2019 -0700 - - Remove dead code - - src/hb-ot-layout.cc | 10 ++-------- - 1 file changed, 2 insertions(+), 8 deletions(-) - -commit d7e27cd65a085a76c85cddd93cea48ce4b7be03f -Author: Behdad Esfahbod -Date: Tue Jun 18 14:38:05 2019 -0700 - - [config] Don't use VORG table if HB_NO_OT_FONT_CFF - - Part of https://github.com/harfbuzz/harfbuzz/issues/1652 - - src/hb-ot-font.cc | 2 ++ - 1 file changed, 2 insertions(+) - -commit 37f8ebff5f1973423c7e4ed9dea88881d0642b61 -Author: Behdad Esfahbod -Date: Tue Jun 18 14:33:49 2019 -0700 - - [config] Fixup for AAT ltag table access - - Part of https://github.com/harfbuzz/harfbuzz/issues/1652 - - src/hb-aat-layout.hh | 8 -------- - src/hb-ot-name-table.hh | 2 +- - 2 files changed, 1 insertion(+), 9 deletions(-) - -commit f08066ce9a41469e2a7396f0accd61e1c02e5649 -Author: Behdad Esfahbod -Date: Tue Jun 18 14:29:27 2019 -0700 - - [config] One more morx disabling - - Part of https://github.com/harfbuzz/harfbuzz/issues/1652 - - src/hb-ot-layout.cc | 3 +++ - 1 file changed, 3 insertions(+) - -commit 231d0257883ec9e8904afae1adfd73f3c225f177 -Author: Behdad Esfahbod -Date: Tue Jun 18 14:25:52 2019 -0700 - - [config] Don't compile AAT API if HB_NO_AAT - - Part of https://github.com/harfbuzz/harfbuzz/issues/1652 - - src/hb-aat-layout.cc | 131 ++++++++++++++++----------------------------------- - src/hb-ot-shape.cc | 19 ++++++-- - 2 files changed, 56 insertions(+), 94 deletions(-) - -commit bf9424a9a198b99d49c005536a10f27387630064 -Author: Behdad Esfahbod -Date: Tue Jun 18 13:31:35 2019 -0700 - - [config] Don't compile unused layout API if HB_NO_LAYOUT_UNUSED - - Part of https://github.com/harfbuzz/harfbuzz/issues/1652 - - src/hb-ot-layout.cc | 16 ++-------------- - 1 file changed, 2 insertions(+), 14 deletions(-) - -commit eb9798ef733da53e69966054b67752cd8937eb7b -Author: Behdad Esfahbod -Date: Tue Jun 18 13:29:55 2019 -0700 - - [config] Dont' compile buffer message API if HB_NO_BUFFER_MESSAGE - - Part of https://github.com/harfbuzz/harfbuzz/issues/1652 - - src/hb-buffer.cc | 2 ++ - src/hb-buffer.hh | 5 ++++- - 2 files changed, 6 insertions(+), 1 deletion(-) - -commit be1c0ab2186a728eabdf6666632a9f759474f901 -Author: Behdad Esfahbod -Date: Tue Jun 18 13:26:03 2019 -0700 - - [config] Don't compile buffer serialize API if HB_NO_BUFFER_SERIALIZE - - Part of https://github.com/harfbuzz/harfbuzz/issues/1652 - - src/hb-buffer-serialize.cc | 19 +++++++------------ - src/test-buffer-serialize.cc | 7 ++++++- - 2 files changed, 13 insertions(+), 13 deletions(-) - -commit bdbabd110cfdb4c59cf24bd500ce63073a5213e4 -Author: Behdad Esfahbod -Date: Tue Jun 18 13:21:25 2019 -0700 - - Minor header include cleanup - - src/hb-aat-layout.cc | 1 - - src/hb-ot-math.cc | 3 --- - src/hb-ot-name.cc | 1 - - src/hb-ot-var.cc | 4 ++-- - 4 files changed, 2 insertions(+), 7 deletions(-) - -commit 83de3a60ab7383cf3ee25c1f8c33a45a7778d003 -Author: Behdad Esfahbod -Date: Tue Jun 18 13:18:15 2019 -0700 - - [config] Don't compile color API if HB_NO_COLOR - - Part of https://github.com/harfbuzz/harfbuzz/issues/1652 - - src/hb-ot-color.cc | 55 +++++++++------------------------------------------- - src/test-ot-color.cc | 9 ++++++++- - 2 files changed, 17 insertions(+), 47 deletions(-) - -commit 350f98ea47aaf0fe008065b92c8b6fe2bc519fa7 -Author: Behdad Esfahbod -Date: Tue Jun 18 13:11:41 2019 -0700 - - [config] Don't compile name table API if HB_NO_NAME - - Part of https://github.com/harfbuzz/harfbuzz/issues/1652 - - src/hb-ot-name.cc | 25 +++++-------------------- - src/test-ot-name.cc | 5 ++++- - 2 files changed, 9 insertions(+), 21 deletions(-) - -commit da51a2cb0efae664d4ee83c6036f29a21621e993 -Author: Behdad Esfahbod -Date: Tue Jun 18 13:09:22 2019 -0700 - - [config] Don't compile math API if HB_NO_MATH - - Part of https://github.com/harfbuzz/harfbuzz/issues/1652 - - src/hb-ot-math.cc | 47 +++++++---------------------------------------- - 1 file changed, 7 insertions(+), 40 deletions(-) - -commit 737436d3f8aacfd0bd586cd54d7034bae3afc4e1 -Author: Behdad Esfahbod -Date: Tue Jun 18 13:07:44 2019 -0700 - - Streamline HB_NO_CFF - - src/hb-ot-cff1-table.cc | 7 +++++-- - src/hb-ot-cff2-table.cc | 7 +++++-- - src/hb-subset-cff-common.cc | 7 +++++++ - src/hb-subset-cff1.cc | 7 +++++-- - src/hb-subset-cff2.cc | 7 +++++-- - 5 files changed, 27 insertions(+), 8 deletions(-) - -commit 60653a7adbbd8143d187b3edf33cb7a2dddadf74 -Author: Behdad Esfahbod -Date: Tue Jun 18 13:01:11 2019 -0700 - - Remove HB_VECTOR_SIZE - - It was cumbersome to get it to work reliably, for dubious performance - gain, mostly in the subsetter maybe... - - Life is easier without. It was disabled forever anyway. - - src/hb-algs.hh | 36 +++++++++--------------------------- - src/hb-null.hh | 4 ++-- - src/hb-static.cc | 4 ++-- - src/hb.hh | 32 -------------------------------- - 4 files changed, 13 insertions(+), 63 deletions(-) - -commit 24060d3aa77f1e1a18960cc61c3d1ac241875507 -Author: Behdad Esfahbod -Date: Tue Jun 18 12:50:42 2019 -0700 - - Add hb_bitwise_neg - - src/hb-algs.hh | 33 +++++++++++++++++++++------------ - 1 file changed, 21 insertions(+), 12 deletions(-) - -commit 7cf9169078f35299ec0633a7b212256acdd71661 -Author: Behdad Esfahbod -Date: Tue Jun 18 12:44:03 2019 -0700 - - Remove accidentally left cruft - - src/hb-algs.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 6172ec5d879653c536d7cb3d3b3760fbb6d0f3f3 -Author: Behdad Esfahbod -Date: Tue Jun 18 12:41:56 2019 -0700 - - Remove (unused) posix_memalign fallback - - Was wrong. The returned pointer couldn't be passed to free(). Ouch! - - configure.ac | 2 +- - src/hb.hh | 34 ---------------------------------- - 2 files changed, 1 insertion(+), 35 deletions(-) - -commit eb28d6e48b02a8c49875cfcd084a16c1c66c367e -Author: Ebrahim Byagowi -Date: Tue Jun 18 12:14:10 2019 +0430 - - [ci] Test no build system builds - - Introduced in aa3450c, let's preserve it - - .circleci/config.yml | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit efef672911dd6c3b80e53294f3fcd59dbb64597a -Author: Behdad Esfahbod -Date: Mon Jun 17 22:57:51 2019 -0700 - - Fix cmake build - - Hopefullly. - - CMakeLists.txt | 4 ---- - 1 file changed, 4 deletions(-) - -commit aa3450cac148280f747fb88864b6fcc4ec70cc51 -Author: Behdad Esfahbod -Date: Mon Jun 17 22:41:49 2019 -0700 - - [config] Don't compile disabled features - - This makes it possible to include all .cc files into build, even if not - building CoreText, Uniscribe, etc. - - This was mostly to help custom builders. But also means that we can - include all files in our own build system. Not sure if we should. - Definitely simplifies things, but slightly only. - - src/Makefile.am | 1 + - src/hb-coretext.cc | 6 ++++++ - src/hb-directwrite.cc | 6 ++++++ - src/hb-ft.cc | 5 +++++ - src/hb-glib.cc | 5 +++++ - src/hb-gobject-enums.cc.tmpl | 7 +++++++ - src/hb-gobject-structs.cc | 5 +++++ - src/hb-graphite2.cc | 7 +++++++ - src/hb-icu.cc | 5 +++++ - src/hb-uniscribe.cc | 4 ++++ - 10 files changed, 51 insertions(+) - -commit 33d8b76e74579a27b06fa788d0bf696a9dd44cc4 -Author: Behdad Esfahbod -Date: Mon Jun 17 21:54:20 2019 -0700 - - [config] Flesh out CONFIG.md - - Part of https://github.com/harfbuzz/harfbuzz/issues/1652 - - CONFIG.md | 87 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--- - 1 file changed, 84 insertions(+), 3 deletions(-) - -commit 23ccd00a3d5033b812f2bebcc5b793a4415b252b -Author: Behdad Esfahbod -Date: Mon Jun 17 20:35:04 2019 -0700 - - Minor - - src/hb-config.hh | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 23768a99e08cbe691772b7514c023d3184989ff8 -Author: Behdad Esfahbod -Date: Mon Jun 17 20:29:29 2019 -0700 - - [config] Replace HAVE_FALLBACK with HB_NO_FALLBACK_SHAPE - - This disables fallback shaper in tiny builds. Projects that don't - use our build system and want to disable fallback shaper (eg. Firefox) - should define HB_NO_FALLBACK_SHAPE now. - - Part of https://github.com/harfbuzz/harfbuzz/issues/1652 - - CMakeLists.txt | 2 -- - configure.ac | 8 -------- - src/Makefile.am | 4 ---- - src/Makefile.sources | 5 +---- - src/hb-config.hh | 1 + - src/hb-fallback-shape.cc | 3 +++ - src/hb-shaper-list.hh | 2 +- - 7 files changed, 6 insertions(+), 19 deletions(-) - -commit 3a9394635ffd663d8acd0715236dd01d9f22f3b8 -Author: Behdad Esfahbod -Date: Mon Jun 17 20:10:36 2019 -0700 - - Add CONFIG.md - - https://github.com/harfbuzz/harfbuzz/issues/1652 - - CONFIG.md | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ - Makefile.am | 1 + - README.md | 2 ++ - 3 files changed, 54 insertions(+) - -commit 1c56b5d1d8307efd12519556e41fc50c5371f136 -Author: Behdad Esfahbod -Date: Mon Jun 17 14:23:04 2019 -0700 - - [serialize] Fix copy() calling operator= - - https://github.com/googlefonts/harfbuzz/commit/9f610ae239a11e86f94621e26bc15849b65ce41b#commitcomment-33944686 - - src/hb-serialize.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 6492b2345cd913223b0eb931e9e11f7e5ad33049 -Author: Behdad Esfahbod -Date: Mon Jun 17 14:19:13 2019 -0700 - - Minor - - src/hb-open-type.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 8938dd23c64f80dbd31f87133d9df88cd0c98c1a -Author: Behdad Esfahbod -Date: Mon Jun 17 14:12:11 2019 -0700 - - Use injected class name - - src/hb-open-type.hh | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit bfb5569d530a2b65dafd0d9be45d594af9e742ce -Author: Behdad Esfahbod -Date: Mon Jun 17 14:06:04 2019 -0700 - - Disable non-OpenType kerning with hb-ft in HB_TINY - - src/hb-ft.cc | 4 ++++ - 1 file changed, 4 insertions(+) - -commit 0819f3ca863af520fe546e6ef0596300e9e28b01 -Author: Behdad Esfahbod -Date: Mon Jun 17 14:02:47 2019 -0700 - - Deprecate v_kerning callback again - - Part of https://github.com/harfbuzz/harfbuzz/issues/1682 - - docs/harfbuzz-sections.txt | 6 +++--- - src/hb-deprecated.h | 23 +++++++++++++++++++++++ - src/hb-font.cc | 7 +++---- - src/hb-font.h | 20 -------------------- - src/hb-font.hh | 2 +- - 5 files changed, 30 insertions(+), 28 deletions(-) - -commit eb2825c7f140185f41922a371434873a0114ef67 -Author: Behdad Esfahbod -Date: Mon Jun 17 13:42:53 2019 -0700 - - Minor - - src/hb-ot-font.cc | 1 - - 1 file changed, 1 deletion(-) - -commit 896416bd4c6ac486eb4e1926eaa09d5a9b693763 -Author: Behdad Esfahbod -Date: Mon Jun 17 13:39:49 2019 -0700 - - Partially revert "[ft/ot] Remove implementation of deprecated kerning funcs" - - This reverts commit 47030b1855f04c0d75899ffb6f5021fea3c19b90. - - Reverts only the hb-ft part, to reinstate non-OpenType kerning with - FreeType. - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1682 - - src/hb-ft.cc | 19 +++++++++++++++++++ - 1 file changed, 19 insertions(+) - -commit 2682efb02df72fb254c819cb76fc23592c30fc45 -Author: Behdad Esfahbod -Date: Mon Jun 17 13:38:08 2019 -0700 - - Revert "Deprecate font kern API" - - This reverts commit d219f899f4b2fb4b39ebc1dff9fb648fc5d6d112. - - API change: Un-deprecate font kern API. - - Part of https://github.com/harfbuzz/harfbuzz/issues/1682 - - We should document that this API is only necessary to hook up - non-OpenType kerning. hb-ot-font will continue to NOT implement them. - - docs/harfbuzz-sections.txt | 16 +++++++------- - src/hb-deprecated.h | 54 ---------------------------------------------- - src/hb-font.cc | 3 --- - src/hb-font.h | 51 +++++++++++++++++++++++++++++++++++++++++++ - 4 files changed, 59 insertions(+), 65 deletions(-) - -commit d6cb244f7d63338e0cbfa774c2a32e6e7e06f15b -Author: David Corbett -Date: Sat Jun 15 21:38:27 2019 -0400 - - Canonically reorder U+0C55 and U+0C56 - - src/hb-unicode.hh | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 82d4bfb8f3ac30fecce41f8abe59f58ad64ba98a -Author: Michiharu Ariza -Date: Fri Jun 14 10:49:42 2019 -0700 - - enable cff subset tests - - add Unicode UCS-4 cmap - fix Unicode bits in OS/2 - add Unicode cmap sub-table in SourceHanSans-Regular_subset.otf - regenerate cff subset test expected results - - src/hb-ot-cmap-table.hh | 73 +++++++++++++++++---- - src/hb-ot-os2-table.hh | 10 ++- - test/subset/data/Makefile.am | 2 + - test/subset/data/Makefile.sources | 2 + - ...subroutinize-retain-gids.1FC,21,41,20,62,63.otf | Bin 32124 -> 20000 bytes - ...Regular.desubroutinize-retain-gids.61,62,63.otf | Bin 29688 -> 2196 bytes - ...r.desubroutinize-retain-gids.D7,D8,D9,DA,DE.otf | Bin 33316 -> 30412 bytes - ...subroutinize-retain-gids.1FC,21,41,20,62,63.otf | Bin 31960 -> 19840 bytes - ...p-hints-desubroutinize-retain-gids.61,62,63.otf | Bin 29564 -> 2072 bytes - ...s-desubroutinize-retain-gids.D7,D8,D9,DA,DE.otf | Bin 33168 -> 30264 bytes - ...r.drop-hints-retain-gids.1FC,21,41,20,62,63.otf | Bin 32052 -> 19932 bytes - ...Pro-Regular.drop-hints-retain-gids.61,62,63.otf | Bin 29632 -> 2108 bytes - ...gular.drop-hints-retain-gids.D7,D8,D9,DA,DE.otf | Bin 33180 -> 30276 bytes - ...sPro-Regular.retain-gids.1FC,21,41,20,62,63.otf | Bin 32276 -> 20152 bytes - .../SourceSansPro-Regular.retain-gids.61,62,63.otf | Bin 29788 -> 2264 bytes - ...eSansPro-Regular.retain-gids.D7,D8,D9,DA,DE.otf | Bin 33332 -> 30428 bytes - ...ubset.default.3042,3044,3046,3048,304A,304B.otf | Bin 3028 -> 3036 bytes - ...ubset.default.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 3240 -> 3248 bytes - ...eHanSans-Regular_subset.default.61,63,65,6B.otf | Bin 2200 -> 2208 bytes - ...ubset.default.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 3460 -> 3468 bytes - .../SourceHanSans-Regular_subset.default.660E.otf | Bin 1920 -> 1928 bytes - ...e-retain-gids.3042,3044,3046,3048,304A,304B.otf | Bin 90956 -> 8932 bytes - ...e-retain-gids.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 125820 -> 116080 bytes - ...bset.desubroutinize-retain-gids.61,63,65,6B.otf | Bin 88392 -> 3016 bytes - ...e-retain-gids.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 126004 -> 116264 bytes - ...ular_subset.desubroutinize-retain-gids.660E.otf | Bin 103780 -> 50224 bytes - ...esubroutinize.3042,3044,3046,3048,304A,304B.otf | Bin 2952 -> 2960 bytes - ...esubroutinize.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 3136 -> 3144 bytes - ...s-Regular_subset.desubroutinize.61,63,65,6B.otf | Bin 2132 -> 2140 bytes - ...esubroutinize.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 3256 -> 3264 bytes - ...eHanSans-Regular_subset.desubroutinize.660E.otf | Bin 1896 -> 1904 bytes - ...e-retain-gids.3042,3044,3046,3048,304A,304B.otf | Bin 90656 -> 8672 bytes - ...e-retain-gids.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 125468 -> 115768 bytes - ...ints-desubroutinize-retain-gids.61,63,65,6B.otf | Bin 88156 -> 2892 bytes - ...e-retain-gids.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 125584 -> 115884 bytes - ....drop-hints-desubroutinize-retain-gids.660E.otf | Bin 103556 -> 50040 bytes - ...esubroutinize.3042,3044,3046,3048,304A,304B.otf | Bin 2792 -> 2800 bytes - ...esubroutinize.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 2896 -> 2904 bytes - ...ubset.drop-hints-desubroutinize.61,63,65,6B.otf | Bin 2028 -> 2036 bytes - ...esubroutinize.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 2964 -> 2972 bytes - ...gular_subset.drop-hints-desubroutinize.660E.otf | Bin 1804 -> 1812 bytes - ...s-retain-gids.3042,3044,3046,3048,304A,304B.otf | Bin 90724 -> 8740 bytes - ...s-retain-gids.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 125560 -> 115864 bytes - ...r_subset.drop-hints-retain-gids.61,63,65,6B.otf | Bin 88196 -> 2852 bytes - ...s-retain-gids.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 125780 -> 116084 bytes - ...-Regular_subset.drop-hints-retain-gids.660E.otf | Bin 103572 -> 50060 bytes - ...et.drop-hints.3042,3044,3046,3048,304A,304B.otf | Bin 2848 -> 2856 bytes - ...et.drop-hints.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 2988 -> 2996 bytes - ...nSans-Regular_subset.drop-hints.61,63,65,6B.otf | Bin 2060 -> 2068 bytes - ...et.drop-hints.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 3164 -> 3172 bytes - ...ourceHanSans-Regular_subset.drop-hints.660E.otf | Bin 1824 -> 1832 bytes - ...t.retain-gids.3042,3044,3046,3048,304A,304B.otf | Bin 91040 -> 9016 bytes - ...t.retain-gids.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 125924 -> 116184 bytes - ...Sans-Regular_subset.retain-gids.61,63,65,6B.otf | Bin 88468 -> 3012 bytes - ...t.retain-gids.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 126208 -> 116468 bytes - ...urceHanSans-Regular_subset.retain-gids.660E.otf | Bin 103800 -> 50244 bytes - .../data/fonts/SourceHanSans-Regular_subset.otf | Bin 2707728 -> 2707736 bytes - 57 files changed, 70 insertions(+), 17 deletions(-) - -commit 6bcbe495bff221169f8c0769dde1b4b2c165a211 -Author: Ebrahim Byagowi -Date: Thu Jun 13 15:04:51 2019 +0430 - - [cff] minor format (#1774) - - src/hb-subset-cff-common.cc | 104 ++++++++++++++++++++------------------------ - 1 file changed, 48 insertions(+), 56 deletions(-) - -commit 4f37c0db9bf4e3d536a50126d17b36009b12f9cb -Author: David Corbett -Date: Tue Jun 11 17:55:31 2019 -0400 - - Remove 'mym3' - - src/hb-ot-tag.cc | 4 +++- - test/api/test-ot-tag.c | 2 +- - 2 files changed, 4 insertions(+), 2 deletions(-) - -commit 90872a29ee5d0bef6df1c2900f7001c11106c4da -Author: Michiharu Ariza -Date: Tue Jun 11 12:28:30 2019 -0700 - - change assert(false) to failure - - src/hb-subset-cff-common.cc | 2 +- - ...z-testcase-minimized-hb-subset-fuzzer-5680398559870976 | Bin 0 -> 145 bytes - 2 files changed, 1 insertion(+), 1 deletion(-) - -commit 0c5da57d1aab91d7677a5c6517a3da254d53267f -Author: Behdad Esfahbod -Date: Mon Jun 10 14:06:25 2019 -0700 - - Fix typo :) - - src/hb-blob.cc | 3 ++- - src/hb-config.hh | 2 +- - 2 files changed, 3 insertions(+), 2 deletions(-) - -commit 19b8eb08e5457cd643aee5f9b9ad1c80b2243895 -Author: Ebrahim Byagowi -Date: Tue Jun 11 01:33:30 2019 +0430 - - Move HB_NO_SETLOCALE to closer place to its to unbreak HB_TINY build (#1768) - - src/hb-common.cc | 3 +++ - src/hb.hh | 4 ---- - 2 files changed, 3 insertions(+), 4 deletions(-) - -commit b4a5a69ad8625e3b90eb907a1b70e3ed24d4ff97 -Author: Ebrahim Byagowi -Date: Tue Jun 11 01:33:09 2019 +0430 - - Add HB_NO_OEPN (#1767) - - src/hb-blob.cc | 3 +++ - src/hb-config.hh | 2 ++ - 2 files changed, 5 insertions(+) - -commit a36ff941710b5a5f7e464e6d72aff36cf5549a91 -Author: Ebrahim Byagowi -Date: Mon Jun 10 15:48:28 2019 +0430 - - Add HB_NO_SETLOCALE - - src/hb-config.hh | 1 + - src/hb.hh | 6 +++++- - 2 files changed, 6 insertions(+), 1 deletion(-) - -commit c4cae81a26a816979f3206418c47856b5ed2d8bb -Author: Ebrahim Byagowi -Date: Mon Jun 10 15:32:54 2019 +0430 - - Remove round polyfill - - Added in 01dff1e and 19256bef, this was targeted at older - msvc versions that don't support C99 but now as we require - C++11 we don't target places those envs thus removing this. - - CMakeLists.txt | 2 +- - configure.ac | 6 ------ - src/hb.hh | 14 -------------- - 3 files changed, 1 insertion(+), 21 deletions(-) - -commit ff9b9b1c89d5529fafc74ce84c0acb71b5d6031b -Author: Behdad Esfahbod -Date: Mon Jun 10 12:48:25 2019 -0700 - - Simplify HB_PARTIALIZE impl - - +this works on gcc 4.8 as well as default code path. - - src/hb-algs.hh | 17 +++++------------ - 1 file changed, 5 insertions(+), 12 deletions(-) - -commit 451edbd4d063a4b43c1ca3d2b60c7392602ae7b7 -Author: Behdad Esfahbod -Date: Mon Jun 10 12:46:54 2019 -0700 - - Revert "Test new solution for HB_PARTIALIZE" - - This reverts commit a0c4900799c26e4ff34180842a5ff21048fe31a0. - - src/hb-algs.hh | 18 +++++++++++++++++- - 1 file changed, 17 insertions(+), 1 deletion(-) - -commit a0c4900799c26e4ff34180842a5ff21048fe31a0 -Author: Behdad Esfahbod -Date: Mon Jun 10 12:33:23 2019 -0700 - - Test new solution for HB_PARTIALIZE - - Just testing bots. Will finish based on results. - - src/hb-algs.hh | 18 +----------------- - 1 file changed, 1 insertion(+), 17 deletions(-) - -commit 4a2b58555f173b692b767c933d280a51142926dd -Author: Ebrahim Byagowi -Date: Mon Jun 10 08:16:51 2019 -0700 - - [ci] Use HB_OPTIMIZE_SIZE instead of __OPTIMIZE_SIZE__ - - .circleci/config.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit a228bb5f1d471a334bc9727f5d4f5b59dbe829ff -Author: Ebrahim Byagowi -Date: Mon Jun 10 15:56:36 2019 +0430 - - [ci] Test -Os and optimize size in Alpine bot - - __OPTIMIZE_SIZE__ should be defined whenever -Os but some Internet thread - indicate may not so lets do that ourselves as that is the main intention - - .circleci/config.yml | 8 ++++++-- - 1 file changed, 6 insertions(+), 2 deletions(-) - -commit 9407ef8d4bb96346b1f8b07757d79d3f8cc61cf7 -Author: Ebrahim Byagowi -Date: Mon Jun 10 15:17:43 2019 +0430 - - minor, add HB_USE_INTERNAL_QSORT - - The only thing I need for a working wasm in a minimum libc, - otherwise I have to provide the very same qsort inside that libc - - src/hb-algs.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 801d93fc58aa13082dea86fb2c3821bc6362f593 -Author: Ebrahim Byagowi -Date: Mon Jun 10 14:53:14 2019 +0430 - - [ci] remove wine from fedora bot - - We are not testing Windows exes in fedora mingw bot, we don't have to as - probably won't go that smoothly and we have real Windows bots anyway - and as wine installation itself is time taking let's remove it - - .circleci/config.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 7dcfc5357df879491f847bd7d2941645e58f268c -Author: Ebrahim Byagowi -Date: Sun Jun 9 11:58:08 2019 +0430 - - [stat] minor format - - src/hb-ot-stat-table.hh | 72 ++++++++++++++++++++++++------------------------- - 1 file changed, 36 insertions(+), 36 deletions(-) - -commit 2646c7149ce49d3b6cf90e354658df35254bcce0 -Author: Ebrahim Byagowi -Date: Sun Jun 9 11:51:58 2019 +0430 - - [stat] minor - - src/hb-ot-stat-table.hh | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit c4669fda7890bc741ef934ebc360e366eba94866 -Author: Ebrahim Byagowi -Date: Sun Jun 9 11:50:36 2019 +0430 - - [algs] minor - - src/hb-algs.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 9b853f755dd05ccef3429d3d3d0d561a99cc4c2d -Author: Ebrahim Byagowi -Date: Sun Jun 9 11:49:25 2019 +0430 - - [cff] Use switch on multi-format structs (#1762) - - src/hb-cff-interp-cs-common.hh | 4 +- - src/hb-cff-interp-dict-common.hh | 12 +-- - src/hb-ot-cff-common.hh | 135 ++++++++++++------------ - src/hb-ot-cff1-table.hh | 215 ++++++++++++++++++++++----------------- - src/hb-ot-cff2-table.hh | 68 +++++++------ - src/hb-subset-cff1.cc | 2 +- - src/hb-subset-cff2.cc | 2 +- - 7 files changed, 233 insertions(+), 205 deletions(-) - -commit eff579f743a91c0b1c543f4b69ab33580cae6392 -Author: Ebrahim Byagowi -Date: Fri Jun 7 12:58:09 2019 +0430 - - Update and use internal qsort everywhere - - src/hb-algs.hh | 210 +++++++++++++++++++++++++++++++++++------------- - src/hb-array.hh | 6 +- - src/hb-ot-post-table.hh | 2 +- - 3 files changed, 158 insertions(+), 60 deletions(-) - -commit 5074d665a8b0980f202a5986bda52808674cfb54 -Author: Behdad Esfahbod -Date: Fri Jun 7 14:20:45 2019 -0700 - - [ucd] Save another 1.5kb - - https://github.com/harfbuzz/harfbuzz/issues/1652 - - src/gen-ucd-table.py | 8 +++++--- - src/hb-ucd-table.hh | 37 +++++++++++++++++++++---------------- - src/hb-ucd.cc | 12 +++++++++--- - 3 files changed, 35 insertions(+), 22 deletions(-) - -commit 6d58b45782833f8c6c8efd9426e2785c78e6462a -Author: Ebrahim Byagowi -Date: Sat Jun 8 00:40:18 2019 +0430 - - [ci] use trusty for its gcc 4.8 again - - .travis.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 973699c49b905e142ecc5cefd1f4fa15aad8e309 -Author: Behdad Esfahbod -Date: Fri Jun 7 12:49:06 2019 -0700 - - Disable clang gcc impersonator - - src/hb-algs.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit e4e518f33d933a02058bad86a6aae714e59814db -Author: Behdad Esfahbod -Date: Fri Jun 7 12:41:09 2019 -0700 - - Fix build on gcc 4.8 - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1724 - - src/hb-algs.hh | 29 +++++++++++++++++++++++++++-- - 1 file changed, 27 insertions(+), 2 deletions(-) - -commit 3c240bd3dc0aaca38154da555d0aef350da62ee6 -Author: Behdad Esfahbod -Date: Fri Jun 7 10:56:24 2019 -0700 - - Downgrade double-promotion from error to warning - - https://github.com/harfbuzz/harfbuzz/issues/1740 - - src/hb.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 385e436692e94588fc4cb3a7afbeb862035db09b -Author: Ebrahim Byagowi -Date: Fri Jun 7 10:44:53 2019 -0700 - - Minor, fix gcc maybe-uninitialized complain - - I guess all of its field will be initialized anyway here but lets make it more defensive - - src/hb-ot-glyf-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 1bada656a86e9cb27d4a6b9fcc50748f0bd9c1d9 -Author: Ebrahim Byagowi -Date: Fri Jun 7 02:01:27 2019 +0430 - - Minor, remove unnecessary semicolon - - Causing -Wextra-semi-stmt build error when no primitive has chosen - Interesting that nobody has noticed it yet. - - src/hb-mutex.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit f9b1ae73360054d9f121a2d36820377909888b35 -Author: Garret Rieger -Date: Wed Jun 5 17:40:59 2019 -0700 - - [subset] Move OS/2 to subset2. - - src/hb-ot-os2-table.hh | 32 ++++++++++++++++---------------- - src/hb-subset.cc | 2 +- - 2 files changed, 17 insertions(+), 17 deletions(-) - -commit 93d592e0e181f436ea47038fef419134007208aa -Author: Qunxin Liu -Date: Wed Jun 5 16:51:31 2019 -0700 - - [subset] post table to use _subset2 - - src/hb-ot-post-table.hh | 31 +++++++++++++++---------------- - src/hb-subset.cc | 2 +- - 2 files changed, 16 insertions(+), 17 deletions(-) - -commit 6f35cf7a637f5efc0ef3888d929a6392cc2863c3 -Author: Michiharu Ariza -Date: Thu Jun 6 09:15:34 2019 -0700 - - regenerate SourceSerifVariable expected subset results - - .gitignore | 1 + - ...SerifVariable-Roman.default.1FC,21,41,20,62,63.ttf | Bin 5464 -> 4132 bytes - .../SourceSerifVariable-Roman.default.61,62,63.ttf | Bin 5432 -> 4100 bytes - ...urceSerifVariable-Roman.default.D7,D8,D9,DA,DE.ttf | Bin 5924 -> 4592 bytes - ...ifVariable-Roman.drop-hints.1FC,21,41,20,62,63.ttf | Bin 5464 -> 4132 bytes - .../SourceSerifVariable-Roman.drop-hints.61,62,63.ttf | Bin 5432 -> 4100 bytes - ...eSerifVariable-Roman.drop-hints.D7,D8,D9,DA,DE.ttf | Bin 5924 -> 4592 bytes - 7 files changed, 1 insertion(+) - -commit db938479d7b1e3ec35a39a9ad31c945e09e6d5e5 -Author: Qunxin Liu -Date: Tue Jun 4 10:30:53 2019 -0700 - - [subset] maxp table to use _subset2 - - src/hb-ot-maxp-table.hh | 48 ++++++++++++++++++++++-------------------------- - src/hb-subset.cc | 2 +- - 2 files changed, 23 insertions(+), 27 deletions(-) - -commit 66361c72f655cc9170fd8c25610ed192fa0ff86d -Author: Michiharu Ariza -Date: Wed Jun 5 14:51:04 2019 -0700 - - restore gvar/MVAR/HVAR tables in subset tests - - test/subset/generate-expected-outputs.py | 2 +- - test/subset/run-tests.py | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit d5e5f378329b6ce21944b79b568369ea7bc36cf3 -Author: Eli Zaretskii -Date: Wed Jun 5 22:20:03 2019 +0300 - - This makes minor changes to allow building HarfBuzz with - mingw.org's MinGW. - - src/hb-algs.hh: Don't compile _BitScanForward and _BitScanReverse - for GCC >= 4. mingw.org's MinGW doesn't have these functions. - - src/hb-atomic.hh: MemoryBarrier does exist in mingw.org's MinGW, - but it is not a macro, it is an inline function. __MINGW32_VERSION - is a macro that exists only in mingw.org's MinGW, so conditioning - on it should not affect MinGW64, where MemoryBarrier is a macro. - - src/hb-uniscribe.cc: Define E_NOT_SUFFICIENT_BUFFER if it is not - defined (mingw.org's MinGW doesn't). - - src/hb.hh: Don't include intrin.h for mingw.org's MinGW, since that - header is not available; instead, include windows.h. Conditioned - on __MINGW32_VERSION to avoid affecting MinGW64. - - src/hb-algs.hh | 4 ++-- - src/hb-atomic.hh | 2 +- - src/hb-uniscribe.cc | 4 ++++ - src/hb.hh | 7 +++++++ - 4 files changed, 14 insertions(+), 3 deletions(-) - -commit 8f8e8a84795db45098c95e19a7ff83d898d3bc7d -Author: Michiharu Ariza -Date: Wed Jun 5 12:59:09 2019 -0700 - - fix build - - src/hb-ot-font.cc | 2 +- - src/hb-ot-glyf-table.hh | 8 ++++---- - src/hb-ot-hmtx-table.hh | 2 +- - src/hb-ot-var-gvar-table.hh | 6 +++--- - src/hb-ot-var-hvar-table.hh | 2 +- - 5 files changed, 10 insertions(+), 10 deletions(-) - -commit c7439d4e3a76d596845aad4e4bc860bd61ee47e3 -Author: Behdad Esfahbod -Date: Wed Jun 5 12:13:49 2019 -0700 - - Slightly massage buffer-messaging commit - - Saves a few bytes. - - src/hb-buffer.cc | 3 --- - src/hb-buffer.hh | 8 +++++++- - 2 files changed, 7 insertions(+), 4 deletions(-) - -commit 4ddab6facc0c7ffe7623bf6449ab9b27166924a6 -Merge: 157a414bd 4b1b0bf2f -Author: Michiharu Ariza -Date: Wed Jun 5 11:21:27 2019 -0700 - - Merge branch 'master' into var-subset - -commit 4b1b0bf2f51f806d3285a7e7dec378b9eab9333e -Merge: 659eeddb2 815f002bb -Author: Ebrahim Byagowi -Date: Wed Jun 5 12:57:28 2019 +0430 - - Merge pull request #1755 from ebraminio/slim - - Don't use vsnprintf when HB_NO_BUFFER_MESSAGE is defined - -commit 815f002bb9230a52768a165383497cc98c58eadb -Author: Ebrahim Byagowi -Date: Wed Jun 5 10:38:06 2019 +0430 - - Don't use vsnprintf when HB_NO_BUFFER_MESSAGE is defined - - src/hb-buffer.cc | 5 ++++- - src/hb-config.hh | 1 + - 2 files changed, 5 insertions(+), 1 deletion(-) - -commit 659eeddb2df5b97cc01bd39e106381f65c9f41f1 -Author: Bruce Mitchener -Date: Mon Jun 3 22:31:50 2019 +0700 - - Use C++11 override keyword. - - util/hb-ot-shape-closure.cc | 2 +- - util/options.hh | 30 +++++++++++++++--------------- - 2 files changed, 16 insertions(+), 16 deletions(-) - -commit 2e16593b70688dfcee1788f38c6af03c5a589f6e -Author: David Corbett -Date: Sat Jun 1 20:54:46 2019 -0400 - - [myanmar] Make medial_group match the OT spec - - Sometime between [July 2018] and [January 2019], the OpenType Myanmar - grammar changed: one asat is now allowed after a medial ya, before any - other medial consonant. - - [July 2018]: http://web.archive.org/web/20180711011550/https://docs.microsoft.com/en-us/typography/script-development/myanmar - [January 2019]: http://web.archive.org/web/20190115044451/https://docs.microsoft.com/en-us/typography/script-development/myanmar - - This also reverts commit 439b05867c0856a81fa8f9bea3a7465b4b4bdd91, which - allowed an asat immediately after a medial ra. - - src/hb-ot-shape-complex-myanmar-machine.hh | 249 +++++++++++++++-------------- - src/hb-ot-shape-complex-myanmar-machine.rl | 2 +- - 2 files changed, 129 insertions(+), 122 deletions(-) - -commit 209491fc37c46281e063c3e6707d686d5f2b2ba4 -Author: Qunxin Liu -Date: Wed May 29 14:03:17 2019 -0700 - - [subset] Hmtx/vmtx tables to use subset2 and new iterator frameworks - - src/hb-ot-hmtx-table.hh | 115 +++++++++++++++++++++++------------------------- - src/hb-subset.cc | 6 +-- - 2 files changed, 59 insertions(+), 62 deletions(-) - -commit 89a7a880a1d5cd5e585d43fdde6d44c6dba559cf -Merge: 760eb1bf9 12febd68d -Author: Ebrahim Byagowi -Date: Tue Jun 4 10:52:16 2019 +0430 - - Merge pull request #1747 from harfbuzz/cff2-fdselect-fix - - fixed faulty FDSelect::sanitize - -commit 12febd68d694cc1bae44b0b672d88bf9fbe8568d -Author: Michiharu Ariza -Date: Mon Jun 3 16:40:03 2019 -0700 - - added parentheses to FDSelect::sanitize as well - - src/hb-ot-cff-common.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 65e66a2d371f42d018b1a22f31a6428d19a90284 -Author: Michiharu Ariza -Date: Mon Jun 3 16:31:41 2019 -0700 - - added test data - - ...zz-testcase-minimized-harfbuzz_fuzzer-6252118652092416 | Bin 0 -> 126 bytes - 1 file changed, 0 insertions(+), 0 deletions(-) - -commit be82a2fc0c7ad3553f2e6dc8082a3255cb6c917c -Author: Michiharu Ariza -Date: Mon Jun 3 15:52:23 2019 -0700 - - parenthesized cond-exp in CFF2FDSelect::sanitize - - src/hb-ot-cff2-table.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 760eb1bf9398bd37103ca879e825fad9bef4bfdd -Author: Ebrahim Byagowi -Date: Mon Jun 3 05:48:04 2019 -0700 - - Reapply possible bsearch overflow fix - - Originally introduced in 21ede86 (#1314) but as it wasn't applied to hb_bsearch - accidentally removed while merging hb_bsearch_r to it. - - src/hb-algs.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 5846884f86cae61c1b0c369c81427712fb97ed83 -Author: Bruce Mitchener -Date: Mon Jun 3 15:00:25 2019 +0700 - - test: Use nullptr in C++ code. (#1744) - - src/test-ot-color.cc | 8 ++++---- - test/fuzzing/hb-shape-fuzzer.cc | 6 +++--- - test/fuzzing/hb-subset-fuzzer.cc | 2 +- - util/options-subset.cc | 2 +- - 4 files changed, 9 insertions(+), 9 deletions(-) - -commit 7c14b9014587e1423ef7481058e48dae84a65fce -Author: Ebrahim Byagowi -Date: Sun Jun 2 13:51:26 2019 +0430 - - [ci] revert to xenial - - It should've done in a branch - - .travis.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 8278ff7dce41e6694eba15a7c94a0c0eb3bca427 -Author: Ebrahim Byagowi -Date: Sun Jun 2 00:36:30 2019 +0430 - - minor - - src/hb-algs.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 33d38e793e2e4882337e5f42fbbae7d00d343940 -Author: Ebrahim Byagowi -Date: Sun Jun 2 00:19:57 2019 +0430 - - Use a unified bsearch (#1741) - - A part of #593 - - src/hb-aat-layout.cc | 10 +++++----- - src/hb-algs.hh | 29 ++++------------------------- - src/hb-ot-post-table.hh | 4 ++-- - src/hb-ot-var-mvar-table.hh | 6 +++--- - 4 files changed, 14 insertions(+), 35 deletions(-) - -commit 97b92685775983a280f335423263a6a8d82c3941 -Author: Ebrahim Byagowi -Date: Sat Jun 1 21:25:09 2019 +0430 - - [ci] Downgrade Travis distribution upon Behdad request - - .travis.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit faf69e03f5ab9f3926442525f6c6e30fbc7a93d5 -Author: Ebrahim Byagowi -Date: Sat Jun 1 11:02:25 2019 +0430 - - [ci] Install ragel on appveyor mingw bots - - Hopefully autotools timestamps issues will go - - appveyor.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit c91f3fa3eaf77fa255292c779f88da4feaaae8a0 -Author: Ebrahim Byagowi -Date: Sat Jun 1 10:55:37 2019 +0430 - - [dwrite] Replace REPLACEME with release version the symbol had - - src/hb-directwrite.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 93c455567fe3d92a7efe65bf0e9ac2af794e2c4f -Author: Behdad Esfahbod -Date: Fri May 31 22:53:27 2019 -0700 - - 2.5.1 - - NEWS | 11 +++++++++++ - configure.ac | 2 +- - src/hb-version.h | 4 ++-- - 3 files changed, 14 insertions(+), 3 deletions(-) - -commit 10e3cb9246ab3d288af4effe484f4d8beb2243d6 -Author: Behdad Esfahbod -Date: Fri May 31 22:56:37 2019 -0700 - - [docs] Fix dist - - docs/Makefile.am | 1 + - 1 file changed, 1 insertion(+) - -commit 619f5f1eb9e5e2a4f326f89c9e3e05b01f9c042f -Author: Behdad Esfahbod -Date: Fri May 31 22:31:35 2019 -0700 - - Fourth try at building VS bots - - Based on https://github.com/harfbuzz/harfbuzz/issues/1730#issuecomment-497151210 - - src/hb-algs.hh | 16 +++++++++++----- - 1 file changed, 11 insertions(+), 5 deletions(-) - -commit f387a09742bd8e4a7a8da6db954339609839a113 -Author: Behdad Esfahbod -Date: Fri May 31 22:12:23 2019 -0700 - - [ci] Disable VS 2013 - - That one doesn't even understand constexpr. - - appveyor.yml | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - -commit aba3888d933474a874d2f3ff02397b523846466c -Author: Behdad Esfahbod -Date: Fri May 31 22:11:27 2019 -0700 - - Third try at fixing VS build - - https://github.com/harfbuzz/harfbuzz/issues/1730 - - src/hb-algs.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 8aaecbb5832568135f6149254ed9e17ac4310341 -Author: Behdad Esfahbod -Date: Fri May 31 21:41:40 2019 -0700 - - Second VS fix try - - https://github.com/harfbuzz/harfbuzz/issues/1730 - - src/hb-algs.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 5a1b5c0a8b91a2291e7327e84acba2406a14414e -Author: Behdad Esfahbod -Date: Fri May 31 21:08:39 2019 -0700 - - Try fixing VS builds - - Hopefully fixes https://github.com/harfbuzz/harfbuzz/issues/1730 - - src/hb-algs.hh | 7 ++++++- - 1 file changed, 6 insertions(+), 1 deletion(-) - -commit 66381fb73f21e8e3c1c14b196e64d1004be303c7 -Author: Behdad Esfahbod -Date: Fri May 31 20:20:43 2019 -0700 - - [ci] Enable other versions of Visual Studio - - https://github.com/harfbuzz/harfbuzz/issues/1730 - - appveyor.yml | 44 ++++++++++++++++++++++++-------------------- - 1 file changed, 24 insertions(+), 20 deletions(-) - -commit 92fde3dea282d308fad2b8e93cd638aa813c6f2a -Author: Behdad Esfahbod -Date: Fri May 31 20:16:25 2019 -0700 - - Whitespace - - src/hb-algs.hh | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 49879adbfc57c3173a25bbc55afc0796ee71b6da -Author: rsheeter -Date: Fri May 31 15:14:44 2019 -0700 - - [subset] Correct calculation of max offset; fixes bug where loca would erroneously be short - - src/hb-ot-glyf-table.hh | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -commit 2ad4ba7bc04fbbd886a2da6fbc55a4e13468d878 -Author: Behdad Esfahbod -Date: Fri May 31 15:48:54 2019 -0700 - - [gsub] Minor - - src/hb-ot-layout-gsub-table.hh | 40 +++++++++++++++++++++------------------- - 1 file changed, 21 insertions(+), 19 deletions(-) - -commit 2dbdec66a17af94fffc50949e4712465aada9a68 -Author: Behdad Esfahbod -Date: Fri May 31 15:38:11 2019 -0700 - - [gsub] Porting serialize to iterators - - src/hb-ot-layout-gsub-table.hh | 15 ++++++++++----- - 1 file changed, 10 insertions(+), 5 deletions(-) - -commit 1834cf86d40abfbb536db1edb366c90318ba49fc -Author: Behdad Esfahbod -Date: Fri May 31 14:39:32 2019 -0700 - - [serialize] Pass offset to serialize_subset() - - src/hb-open-type.hh | 14 +++++++++----- - src/hb-ot-layout-common.hh | 4 ++-- - src/hb-ot-layout-gdef-table.hh | 12 ++++++------ - src/hb-ot-layout-gsubgpos.hh | 7 ++++--- - 4 files changed, 21 insertions(+), 16 deletions(-) - -commit 926044162472aeca8f5032b11b544d38be587110 -Author: Behdad Esfahbod -Date: Fri May 31 14:34:34 2019 -0700 - - [serialize] Pass offset to serialize_copy() - - src/hb-open-type.hh | 12 ++++++++---- - src/hb-ot-layout-common.hh | 4 ++-- - src/hb-ot-layout-gsubgpos.hh | 2 +- - src/hb-ot-name-table.hh | 2 +- - 4 files changed, 12 insertions(+), 8 deletions(-) - -commit 87dd4bff1c42f1845fb3d11477e5de210121d48e -Author: Behdad Esfahbod -Date: Thu May 30 11:26:17 2019 -0400 - - [math] Rename HB_MATH_GLYPH_PART_FLAG_EXTENDER - - To HB_OT_MATH_GLYPH_PART_FLAG_EXTENDER. Added a deprecated macro. - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1734 - - src/hb-ot-deprecated.h | 4 ++++ - src/hb-ot-math-table.hh | 2 +- - src/hb-ot-math.h | 2 +- - test/api/test-ot-math.c | 16 ++++++++-------- - 4 files changed, 14 insertions(+), 10 deletions(-) - -commit 88f9dab366491af144da316384991e74af443226 -Author: Ebrahim Byagowi -Date: Wed May 29 01:55:31 2019 +0430 - - [ci] Clean up and add disabled bots of other msvc versions (#1733) - - appveyor.yml | 41 ++++++++++++++++++++++++++++++----------- - 1 file changed, 30 insertions(+), 11 deletions(-) - -commit da9d43171ba4ae0a78c92e9de83498fd2f513c8b -Author: Bruce Mitchener -Date: Tue May 28 21:50:17 2019 +0700 - - Fix some typos. - - docs/usermanual-clusters.xml | 4 ++-- - docs/usermanual-fonts-and-faces.xml | 2 +- - src/hb-ot-math.h | 2 +- - 3 files changed, 4 insertions(+), 4 deletions(-) - -commit 8a133718472d152fa1f69ec52862b019b71b371f -Author: Ebrahim Byagowi -Date: Tue May 28 13:54:45 2019 +0430 - - [test] minor, fix copyright - - nothing important, fixing a copy paste error inconsistency - - test/api/test-aat-layout.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 13316ac5d435f11c2c65fd2d762841a819afb639 -Author: Ebrahim Byagowi -Date: Tue May 28 13:48:39 2019 +0430 - - [test] minor style improve - - test/subset/run-tests.py | 38 +++++++++++++++++++------------------- - 1 file changed, 19 insertions(+), 19 deletions(-) - -commit d64fb9db520d77eb7bb40ceda4e20be5e602bf91 -Author: David Corbett -Date: Sun May 26 11:05:54 2019 -0400 - - [use] Allow U+1A60 TAI THAM SIGN SAKOT after vowel - - src/gen-use-table.py | 7 +- - src/hb-ot-shape-complex-use-machine.hh | 609 +++++++++++---------- - src/hb-ot-shape-complex-use-machine.rl | 20 +- - src/hb-ot-shape-complex-use-table.cc | 4 +- - src/hb-ot-shape-complex-use.cc | 3 + - src/hb-ot-shape-complex-use.hh | 2 + - .../3cc01fede4debd4b7794ccb1b16cdb9987ea7571.ttf | Bin 0 -> 1144 bytes - .../fd565cabd5208d345d0ed4fda7ae742917d846a5.ttf | Bin 1056 -> 0 bytes - .../shaping/data/in-house/tests/use-syllable.tests | 5 +- - 9 files changed, 351 insertions(+), 299 deletions(-) - -commit 179570d4cae9aefcd91d540b8865a81d569b3358 -Author: Behdad Esfahbod -Date: Mon May 27 13:08:07 2019 -0400 - - [atomic] Fix warning, second time - - Fixes https://bugzilla.mozilla.org/show_bug.cgi?id=1554306 - - src/hb-atomic.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit ad17a8bdd571c7b275f9735e3602a8068f12934f -Author: Behdad Esfahbod -Date: Sat May 25 16:33:21 2019 -0400 - - [ucd] Update for latest packTab - - src/gen-ucd-table.py | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 771712b3ca97035ba5690e65bd7e63a852286159 -Author: Behdad Esfahbod -Date: Sat May 25 15:58:45 2019 -0400 - - [ucd] Update for recent packTab - - No need for separate youseedy package. - - src/gen-ucd-table.py | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 52aa6c57c5a4b18807a1329549dface90b148f22 -Author: Ebrahim Byagowi -Date: Sat May 25 22:55:06 2019 +0430 - - [ci] minor - - .circleci/config.yml | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 9b75da4299adb5487519ddf96e99949b1dad2d5c -Author: Ebrahim Byagowi -Date: Sat May 25 22:46:10 2019 +0430 - - [ci] minor - - .circleci/config.yml | 2 ++ - 1 file changed, 2 insertions(+) - -commit 9158cab3f9f9e1a4941c1dbf0aa71455ceb00da6 -Author: Ebrahim Byagowi -Date: Sat May 25 22:33:02 2019 +0430 - - [ci] Store dist-win result instead - - .circleci/config.yml | 11 +++++------ - 1 file changed, 5 insertions(+), 6 deletions(-) - -commit 85b68a42af541bc91f2851389ac09b012a6d3aa1 -Author: Behdad Esfahbod -Date: Sat May 25 12:59:01 2019 -0400 - - [atomic] Fix warnings - - https://bugzilla.mozilla.org/show_bug.cgi?id=1554306 - - src/hb-atomic.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 941c1b6d711b8528d0f5faa5655b09ea74f7dfb4 -Author: Behdad Esfahbod -Date: Sat May 25 12:52:16 2019 -0400 - - [mingw] Update instructions - - https://github.com/harfbuzz/harfbuzz/issues/1728 - - RELEASING.md | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 210f93c143d0fa2a7b293a6ffd138b3e01cab7c0 -Author: Behdad Esfahbod -Date: Sat May 25 12:49:20 2019 -0400 - - [mutex] Prefer pthread over windows - - https://github.com/harfbuzz/harfbuzz/issues/1728 - - src/hb-mutex.hh | 22 +++++++++++----------- - 1 file changed, 11 insertions(+), 11 deletions(-) - -commit a5d1b0bdaa0183e2bd310640f5867426096e0b18 -Author: Behdad Esfahbod -Date: Sat May 25 12:45:40 2019 -0400 - - Look for pthread even if win32 - - https://github.com/harfbuzz/harfbuzz/issues/1728 - - configure.ac | 4 +--- - 1 file changed, 1 insertion(+), 3 deletions(-) - -commit f3b132187fc734cbb3705b405361c8bad9a72582 -Author: Behdad Esfahbod -Date: Sat May 25 12:42:38 2019 -0400 - - [mingw] Some more tweaks - - It now survives ./config.status --recheck as well. - - https://github.com/harfbuzz/harfbuzz/issues/1728 - - mingw-configure.sh | 37 ++++++++++++++++++------------------- - mingw32.sh | 2 +- - mingw64.sh | 2 +- - 3 files changed, 20 insertions(+), 21 deletions(-) - -commit c41ed54b169c16fb9862e88ddf127ae68c1561e9 -Author: Behdad Esfahbod -Date: Sat May 25 12:35:09 2019 -0400 - - [mingw] Add "make dist-win" to toplevel Makefile - - Makefile.am | 16 +++++++++++++--- - 1 file changed, 13 insertions(+), 3 deletions(-) - -commit a0a75a7c701932f4533b104eeb3c6087d01aa2ae -Author: Behdad Esfahbod -Date: Sat May 25 12:16:28 2019 -0400 - - [mingw] More - - Makefile.am | 8 +++++++- - mingw-configure.sh | 29 +++++++++++++++++++++++++++++ - mingw32.sh | 25 ++----------------------- - mingw64.sh | 25 ++----------------------- - 4 files changed, 40 insertions(+), 47 deletions(-) - -commit 309a9d8ffb499f89738864acef596685ca495150 -Author: Ebrahim Byagowi -Date: Sat May 25 20:40:03 2019 +0430 - - [ci] Remove --without-icu now that we have it in ./mingw{32,64} scripts - - .circleci/config.yml | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit ccfe642c0cdc9fbc8280669e3e8b01dc5eb682d8 -Author: Behdad Esfahbod -Date: Sat May 25 12:08:05 2019 -0400 - - [mingw] Force off ICU - - If cross-compiled ICU is not available, we might end up finding the - native ICU via icu-config. That's distracting. - - mingw32.sh | 2 +- - mingw64.sh | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit 0e6b7f7cd51d7376f21a422881cb4eb542360b0b -Author: Ebrahim Byagowi -Date: Sat May 25 20:27:29 2019 +0430 - - [ci] Build mingw on Fedora and store .exe outputs - - .circleci/config.yml | 16 ++++++++++++---- - 1 file changed, 12 insertions(+), 4 deletions(-) - -commit 7b716cbbe6de2902ca6b1f67024b3f8cdb41340c -Author: Behdad Esfahbod -Date: Sat May 25 11:37:23 2019 -0400 - - [ming2] Update instructions - - Part of https://github.com/harfbuzz/harfbuzz/issues/1728 - - Only left to write how to create a win32 bundle. - - README.mingw.md | 44 ++++++++++++++++++++++++++------------------ - RELEASING.md | 54 ++++++------------------------------------------------ - 2 files changed, 32 insertions(+), 66 deletions(-) - -commit 77a1b6b7c3bd5490ffa5bb48a8b52d9c4c18e669 -Author: Behdad Esfahbod -Date: Sat May 25 11:18:40 2019 -0400 - - [mingw] Rename README.wine - - Makefile.am | 2 +- - README.wine.md => README.mingw.md | 0 - 2 files changed, 1 insertion(+), 1 deletion(-) - -commit c68b4264880c0f99bcb579345e51ce54e799655b -Author: Behdad Esfahbod -Date: Sat May 25 11:17:56 2019 -0400 - - [mingw] Update for recent change - - README.wine.md | 2 +- - RELEASING.md | 4 ++-- - 2 files changed, 3 insertions(+), 3 deletions(-) - -commit 5cf2e648a67e1af20a23e010c86e8812a74ff7a4 -Author: Behdad Esfahbod -Date: Sat May 25 11:15:15 2019 -0400 - - [mingw] Update for Fedora mingw installation location - - Also adds --with-uniscribe by default. - - Part of https://github.com/harfbuzz/harfbuzz/issues/1728 - - mingw32.sh | 9 +++++---- - mingw64.sh | 9 +++++---- - 2 files changed, 10 insertions(+), 8 deletions(-) - -commit e7ed85de95d3ccdb674ec5a30ae66d53cea74b3a -Merge: f93a5e6a7 97ba206be -Author: n8willis -Date: Sat May 25 16:05:07 2019 +0100 - - Merge pull request #1691 from n8willis/usermanual-shaping - - Usermanual: Add new chapters. - -commit 97ba206bed341dc7c915a86531512b1e0617303d -Author: Nathan Willis -Date: Sat May 25 12:26:50 2019 +0100 - - Usermanual; minor. - - ...usermanual-buffers-language-script-and-direction.xml | 2 +- - docs/usermanual-opentype-features.xml | 17 ++++++++++------- - 2 files changed, 11 insertions(+), 8 deletions(-) - -commit f93a5e6a7dad4fde2bf61c241bf32da678525c8b -Author: Behdad Esfahbod -Date: Fri May 24 17:02:38 2019 -0400 - - [win] Add mingw-ldd.py - - Part of https://github.com/harfbuzz/harfbuzz/issues/1728 - - mingw-ldd.py | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 58 insertions(+) - -commit 5fd3ece5237ac6a4ee95b2665b5e20102ed176bb -Author: Behdad Esfahbod -Date: Fri May 24 15:56:15 2019 -0400 - - 2.5.0 - - Makefile.am | 2 +- - NEWS | 14 ++++++++++++++ - configure.ac | 2 +- - src/hb-version.h | 4 ++-- - 4 files changed, 18 insertions(+), 4 deletions(-) - -commit 1da089179b9bd06f071f967d128819e85998b809 -Author: Behdad Esfahbod -Date: Fri May 24 15:41:34 2019 -0400 - - Put back Since: tags for hb_color_get_* - - src/hb-common.cc | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit dd5ad6b6b5aed3db62bc03b89acf90c68795edb4 -Author: Nathan Willis -Date: Fri May 24 20:30:22 2019 +0100 - - Usermanual-buffers-chapter: trim out fallback-of-ufuncs talk and just mention that stuff exists if you care to go find it. - - docs/usermanual-buffers-language-script-and-direction.xml | 13 +++++++------ - 1 file changed, 7 insertions(+), 6 deletions(-) - -commit e1a5ce6aa661251e998df7b3612a1d5d39e28827 -Author: Qunxin Liu -Date: Fri May 24 10:58:52 2019 -0700 - - Fix fuzzer crash testcase - - Add a check for stringOffSet(uint16) overflow, - return early if overflow happens - - src/hb-ot-name-table.hh | 2 +- - ...estcase-minimized-hb-subset-fuzzer-5077547978588160 | Bin 0 -> 339602 bytes - ...estcase-minimized-hb-subset-fuzzer-5761434614497280 | Bin 0 -> 532 bytes - 3 files changed, 1 insertion(+), 1 deletion(-) - -commit 240540ff9a463cf386ae5755471a5621b94290df -Author: Nathan Willis -Date: Fri May 24 20:13:35 2019 +0100 - - Usermanual-buffers-chapter: explain ICU fallback for Ufuncs. - - docs/usermanual-buffers-language-script-and-direction.xml | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit d100ccad02b038719472b2cc733940ffb0374cd1 -Author: David Corbett -Date: Sun May 19 10:01:20 2019 -0400 - - [use] Allow multiple FMs in a cluster - - src/gen-use-table.py | 12 +- - src/hb-ot-shape-complex-use-machine.hh | 567 ++++++++++++++++----------------- - src/hb-ot-shape-complex-use-machine.rl | 14 +- - src/hb-ot-shape-complex-use-table.cc | 38 ++- - src/hb-ot-shape-complex-use.hh | 11 +- - 5 files changed, 315 insertions(+), 327 deletions(-) - -commit 322df806eef74247c8bf0da200a2cde29133950e -Author: Nathan Willis -Date: Fri May 24 19:49:19 2019 +0100 - - [Docs] Usermanual: integration chapter; add GI-Python section. - - docs/usermanual-integration.xml | 35 +++++++++++++++++++++++------------ - 1 file changed, 23 insertions(+), 12 deletions(-) - -commit 487879e013758aef2c7f824033a40cd56361d240 -Author: Behdad Esfahbod -Date: Fri May 24 12:37:53 2019 -0400 - - Don't compile in UCD if HB_NO_UCD defined - - src/hb-ucd.cc | 3 +++ - 1 file changed, 3 insertions(+) - -commit 1fffe51a295b6106a442bed8107d305c325bef05 -Author: Behdad Esfahbod -Date: Fri May 24 10:52:09 2019 -0400 - - [blob] Shuffle - - src/hb-blob.h | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 773c85f343e8958daf271d91d64033514289c236 -Author: Nathan Willis -Date: Fri May 24 19:23:19 2019 +0100 - - [Docs] Usermanual: integration chapter; add ICU section. - - docs/usermanual-integration.xml | 47 +++++++++++++++++++++++++++++++++++++++-- - 1 file changed, 45 insertions(+), 2 deletions(-) - -commit 96de94768b08287325be8947255917502368c337 -Merge: c96c6b287 1197bef26 -Author: rsheeter -Date: Fri May 24 11:22:41 2019 -0700 - - Merge pull request #1722 from googlefonts/glyf - - [subset] Use iterators in glyf/loca subsetting - -commit 1197bef26c63ee896bea3fab5788635cb0fc9d18 -Author: Rod Sheeter -Date: Fri May 24 10:52:49 2019 -0700 - - [subset] Per code review, use hb_array to avoid duplicated type name - - src/hb-ot-glyf-table.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit c0bb66ecbff712221fb7c97f628ed026926229b2 -Author: Nathan Willis -Date: Fri May 24 18:49:40 2019 +0100 - - [Docs] Usermanual: integration chapter; add CoreText/Mac section. - - docs/usermanual-integration.xml | 107 +++++++++++++++++++++++++++++++++------- - 1 file changed, 89 insertions(+), 18 deletions(-) - -commit e66253283385aa67eb9c5ab627139a56f9ae5a71 -Author: Rod Sheeter -Date: Fri May 24 10:39:56 2019 -0700 - - [subset] Cppcheck complaints - - test/api/hb-test.h | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 13b3cd307e7dedea3b419fb06d81a008e49ccff6 -Author: Rod Sheeter -Date: Fri May 24 10:10:12 2019 -0700 - - [subset] Address @behdad review feedback - - src/hb-ot-glyf-table.hh | 18 ++++++++---------- - 1 file changed, 8 insertions(+), 10 deletions(-) - -commit dd1c7656a5918702a81bc3aaf66e0e54fdb3c545 -Author: Nathan Willis -Date: Fri May 24 14:30:15 2019 +0100 - - [Docs] Usermanual: integration chapter; add Uniscribe/Windows section. - - docs/usermanual-integration.xml | 110 ++++++++++++++++++++++++++++++++++++++-- - 1 file changed, 105 insertions(+), 5 deletions(-) - -commit 2da567e7b69da95738015b445901afb00094d92b -Author: Nathan Willis -Date: Fri May 24 11:13:53 2019 +0100 - - [Docs] Usermanual: platform integration chapter; add intro, GLib, FreeType sections. Update XML TOCs to match. - - docs/Makefile.am | 1 + - docs/harfbuzz-docs.xml | 1 + - docs/usermanual-integration.xml | 365 ++++++++++++++++++++++++++++++++++++++++ - 3 files changed, 367 insertions(+) - -commit c96c6b287ff1d96da6a50a8cb3f641fe8705e5f7 -Author: Behdad Esfahbod -Date: Thu May 23 21:37:17 2019 -0400 - - One more - - .circleci/config.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit b567d4ea14cc6ec0e8efc64a4993a9b0461adb20 -Author: Behdad Esfahbod -Date: Thu May 23 21:36:42 2019 -0400 - - Fix build after UCDN -> UCD - - CMakeLists.txt | 14 -------------- - configure.ac | 18 +----------------- - docs/usermanual-install-harfbuzz.xml | 34 ++++++++-------------------------- - 3 files changed, 9 insertions(+), 57 deletions(-) - -commit 226ab06ec110f4cbd56b39ce0d05d349dfec35b9 -Author: Behdad Esfahbod -Date: Thu May 23 20:39:04 2019 -0400 - - [ucd] Add URL to dependencies - - src/gen-ucd-table.py | 3 +++ - 1 file changed, 3 insertions(+) - -commit 65392b734e38668b870b1ffcbfb4b42ec289ef58 -Author: Behdad Esfahbod -Date: Wed May 22 16:21:21 2019 -0400 - - [ucdn] Replace UCDN with a new UCD implementation - - UCDN was ~120kb of data. New implementatoin is 69kb in default builds, - and 49kb if built with HB_OPTIMIZE_SIZE or __OPTIMIZE_SIZE__. The - latter automatically enabled if built with -Os or -Oz. - - There's room to shave off another 10kb or 20kb. That will follow later. - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1652 - - src/Makefile.am | 11 - - src/Makefile.sources | 5 +- - src/gen-ucd-table.py | 11 +- - src/hb-algs.hh | 8 + - src/hb-ot-layout.cc | 76 +- - src/hb-ucd-table.hh | 5160 +++++++++++++++++++++++++++++++++++++ - src/hb-ucd.cc | 209 ++ - src/hb-ucdn.cc | 272 -- - src/hb-ucdn/COPYING | 13 - - src/hb-ucdn/Makefile.am | 16 - - src/hb-ucdn/Makefile.sources | 7 - - src/hb-ucdn/README | 40 - - src/hb-ucdn/ucdn.c | 361 --- - src/hb-ucdn/ucdn.h | 472 ---- - src/hb-ucdn/ucdn_db.h | 5790 ------------------------------------------ - src/hb-unicode.cc | 8 +- - 16 files changed, 5427 insertions(+), 7032 deletions(-) - -commit 12c59f6c40401c8221facc5d0aed63f510a77dd7 -Author: Behdad Esfahbod -Date: Thu May 23 13:33:21 2019 -0400 - - [deprecated] Minor - - src/hb-deprecated.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 36dee9221f8de3a2a6a23f0548460aab4982b594 -Author: Behdad Esfahbod -Date: Wed May 22 15:51:53 2019 -0400 - - [gen-ucd] Rename - - src/Makefile.am | 1 + - src/{gen-ucd.py => gen-ucd-table.py} | 0 - 2 files changed, 1 insertion(+) - -commit 831c213501fc38229755be7958b2952fe0cdff0e -Author: Behdad Esfahbod -Date: Wed May 22 15:46:19 2019 -0400 - - [gen-ucd] Minor - - src/gen-ucd.py | 30 +++++++++++++++++++++++++++--- - 1 file changed, 27 insertions(+), 3 deletions(-) - -commit 15a9e32b566fbf6f4a2c6fd488d8cc3865234b17 -Merge: 993d81b9c ff7fc6d48 -Author: Ebrahim Byagowi -Date: Thu May 23 11:02:15 2019 +0430 - - Merge pull request #1723 from googlefonts/drop_tables - - [subset] Add morx, mort, kern, and kernx to the default layout tables… - -commit ff7fc6d488f37e3faaca4986cde35836f013b03f -Author: Garret Rieger -Date: Wed May 22 17:36:16 2019 -0700 - - [subset] Add morx, mort, kern, and kernx to the default layout tables drop list. - - src/hb-subset-input.cc | 4 ++++ - src/hb-subset.cc | 4 ++++ - 2 files changed, 8 insertions(+) - -commit 993d81b9c57f2e27d80d276953b0430821129425 -Author: Qunxin Liu -Date: Tue May 14 13:55:11 2019 -0700 - - [subset] Add one ttf file with fvar/STAT tables to integration test - Ignore gvar/MVAR/HVAR table - add support for --nameIDs=* option - - src/hb-ot-cmap-table.hh | 27 +++++++++++++++++---- - src/hb-ot-stat-table.hh | 2 +- - src/hb-subset-input.cc | 1 + - src/hb-subset-plan.cc | 6 +---- - test/api/hb-subset-test.h | 2 +- - .../Comfortaa-Regular-new.default.61,62,63.ttf | Bin 0 -> 6492 bytes - .../basics/Comfortaa-Regular-new.default.61,63.ttf | Bin 0 -> 6316 bytes - .../basics/Comfortaa-Regular-new.default.61.ttf | Bin 0 -> 6148 bytes - .../basics/Comfortaa-Regular-new.default.62.ttf | Bin 0 -> 6088 bytes - .../basics/Comfortaa-Regular-new.default.63.ttf | Bin 0 -> 6068 bytes - ...Regular-new.drop-hints-retain-gids.61,62,63.ttf | Bin 0 -> 3284 bytes - ...aa-Regular-new.drop-hints-retain-gids.61,63.ttf | Bin 0 -> 3164 bytes - ...ortaa-Regular-new.drop-hints-retain-gids.61.ttf | Bin 0 -> 2868 bytes - ...ortaa-Regular-new.drop-hints-retain-gids.62.ttf | Bin 0 -> 3020 bytes - ...ortaa-Regular-new.drop-hints-retain-gids.63.ttf | Bin 0 -> 3024 bytes - .../Comfortaa-Regular-new.drop-hints.61,62,63.ttf | Bin 0 -> 1952 bytes - .../Comfortaa-Regular-new.drop-hints.61,63.ttf | Bin 0 -> 1832 bytes - .../basics/Comfortaa-Regular-new.drop-hints.61.ttf | Bin 0 -> 1704 bytes - .../basics/Comfortaa-Regular-new.drop-hints.62.ttf | Bin 0 -> 1688 bytes - .../basics/Comfortaa-Regular-new.drop-hints.63.ttf | Bin 0 -> 1688 bytes - .../Comfortaa-Regular-new.name-ids.61,62,63.ttf | Bin 0 -> 6236 bytes - .../Comfortaa-Regular-new.name-ids.61,63.ttf | Bin 0 -> 6060 bytes - .../basics/Comfortaa-Regular-new.name-ids.61.ttf | Bin 0 -> 5892 bytes - .../basics/Comfortaa-Regular-new.name-ids.62.ttf | Bin 0 -> 5832 bytes - .../basics/Comfortaa-Regular-new.name-ids.63.ttf | Bin 0 -> 5812 bytes - .../Comfortaa-Regular-new.retain-gids.61,62,63.ttf | Bin 0 -> 7824 bytes - .../Comfortaa-Regular-new.retain-gids.61,63.ttf | Bin 0 -> 7648 bytes - .../Comfortaa-Regular-new.retain-gids.61.ttf | Bin 0 -> 7312 bytes - .../Comfortaa-Regular-new.retain-gids.62.ttf | Bin 0 -> 7420 bytes - .../Comfortaa-Regular-new.retain-gids.63.ttf | Bin 0 -> 7404 bytes - ...eSansPro-Regular.default.1FC,21,41,20,62,63.otf | Bin 3784 -> 2384 bytes - .../SourceSansPro-Regular.default.61,62,63.otf | Bin 3496 -> 2096 bytes - ...ourceSansPro-Regular.default.D7,D8,D9,DA,DE.otf | Bin 3612 -> 2212 bytes - ...subroutinize-retain-gids.1FC,21,41,20,62,63.otf | Bin 33516 -> 32124 bytes - ...Regular.desubroutinize-retain-gids.61,62,63.otf | Bin 31080 -> 29688 bytes - ...r.desubroutinize-retain-gids.D7,D8,D9,DA,DE.otf | Bin 34708 -> 33316 bytes - ...o-Regular.desubroutinize.1FC,21,41,20,62,63.otf | Bin 3640 -> 2240 bytes - ...urceSansPro-Regular.desubroutinize.61,62,63.otf | Bin 3400 -> 2000 bytes - ...nsPro-Regular.desubroutinize.D7,D8,D9,DA,DE.otf | Bin 3596 -> 2196 bytes - ...subroutinize-retain-gids.1FC,21,41,20,62,63.otf | Bin 33352 -> 31960 bytes - ...p-hints-desubroutinize-retain-gids.61,62,63.otf | Bin 30956 -> 29564 bytes - ...s-desubroutinize-retain-gids.D7,D8,D9,DA,DE.otf | Bin 34560 -> 33168 bytes - ...rop-hints-desubroutinize.1FC,21,41,20,62,63.otf | Bin 3480 -> 2080 bytes - ...-Regular.drop-hints-desubroutinize.61,62,63.otf | Bin 3288 -> 1876 bytes - ...ar.drop-hints-desubroutinize.D7,D8,D9,DA,DE.otf | Bin 3448 -> 2048 bytes - ...r.drop-hints-retain-gids.1FC,21,41,20,62,63.otf | Bin 33448 -> 32052 bytes - ...Pro-Regular.drop-hints-retain-gids.61,62,63.otf | Bin 31028 -> 29632 bytes - ...gular.drop-hints-retain-gids.D7,D8,D9,DA,DE.otf | Bin 34576 -> 33180 bytes - ...nsPro-Regular.drop-hints.1FC,21,41,20,62,63.otf | Bin 3564 -> 2164 bytes - .../SourceSansPro-Regular.drop-hints.61,62,63.otf | Bin 3340 -> 1940 bytes - ...ceSansPro-Regular.drop-hints.D7,D8,D9,DA,DE.otf | Bin 3464 -> 2064 bytes - ...sPro-Regular.retain-gids.1FC,21,41,20,62,63.otf | Bin 33668 -> 32276 bytes - .../SourceSansPro-Regular.retain-gids.61,62,63.otf | Bin 31180 -> 29788 bytes - ...eSansPro-Regular.retain-gids.D7,D8,D9,DA,DE.otf | Bin 34724 -> 33332 bytes - .../Roboto-Regular.default.1FC,21,41,20,62,63.ttf | Bin 3772 -> 3164 bytes - .../full-font/Roboto-Regular.default.61,62,63.ttf | Bin 3368 -> 2760 bytes - .../Roboto-Regular.default.D7,D8,D9,DA,DE.ttf | Bin 3732 -> 3124 bytes - ...oboto-Regular.drop-hints.1FC,21,41,20,62,63.ttf | Bin 2224 -> 1616 bytes - .../Roboto-Regular.drop-hints.61,62,63.ttf | Bin 2016 -> 1408 bytes - .../Roboto-Regular.drop-hints.D7,D8,D9,DA,DE.ttf | Bin 2252 -> 1644 bytes - ...gular.default.3042,3044,3046,3048,304A,304B.ttf | Bin 3112 -> 2684 bytes - ...gular.default.3042,3044,3046,73E0,5EA6,8F38.ttf | Bin 3356 -> 2928 bytes - .../Mplus1p-Regular.default.61,63,65,6B.ttf | Bin 2656 -> 2228 bytes - ...gular.default.660E,6975,73E0,5EA6,8F38,6E05.ttf | Bin 3652 -> 3224 bytes - .../japanese/Mplus1p-Regular.default.660E.ttf | Bin 2396 -> 1968 bytes - ...ar.drop-hints.3042,3044,3046,3048,304A,304B.ttf | Bin 2384 -> 1956 bytes - ...ar.drop-hints.3042,3044,3046,73E0,5EA6,8F38.ttf | Bin 2628 -> 2200 bytes - .../Mplus1p-Regular.drop-hints.61,63,65,6B.ttf | Bin 1928 -> 1500 bytes - ...ar.drop-hints.660E,6975,73E0,5EA6,8F38,6E05.ttf | Bin 2924 -> 2496 bytes - .../japanese/Mplus1p-Regular.drop-hints.660E.ttf | Bin 1668 -> 1240 bytes - test/subset/data/fonts/Comfortaa-Regular-new.ttf | Bin 0 -> 230316 bytes - test/subset/data/tests/basics.tests | 1 + - test/subset/generate-expected-outputs.py | 3 +-- - test/subset/run-tests.py | 3 ++- - util/options-subset.cc | 23 +++++++++++++++--- - 75 files changed, 50 insertions(+), 18 deletions(-) - -commit 58ce477ac170969430310750b78dcb5f9e3b06a3 -Author: Rod Sheeter -Date: Tue May 21 20:22:40 2019 -0700 - - [subset] Report failure more often - - src/hb-ot-glyf-table.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 51a0129f7322e97825455df4eb6eecfea14980f5 -Author: Rod Sheeter -Date: Tue May 21 20:12:19 2019 -0700 - - [subset] Thar be comparison of integers of different signs - - test/api/hb-test.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 14e3b0cf41d9657c39f1f921f7e09a1418fa3278 -Author: Rod Sheeter -Date: Tue May 21 20:09:36 2019 -0700 - - [subset] Code review feedback - - src/hb-ot-glyf-table.hh | 53 +++++++++++++++++++++++++------------------------ - 1 file changed, 27 insertions(+), 26 deletions(-) - -commit a03ed95e7d50b9dd947e8982c7730de969795b05 -Author: Behdad Esfahbod -Date: Tue May 21 16:43:14 2019 -0400 - - [gen-ucd] Generate decomposition tables - - Code is ugly. Ugh. - - src/gen-ucd.py | 40 ++++++++++++++++++++-------------------- - 1 file changed, 20 insertions(+), 20 deletions(-) - -commit 8a48c88fa9fe047a83ba4a45dbd6399412ca3302 -Author: Behdad Esfahbod -Date: Tue May 21 13:02:54 2019 -0400 - - [gen-ucd] Comment - - src/gen-ucd.py | 4 ++++ - 1 file changed, 4 insertions(+) - -commit b71d353cee89a6654810f75e7a1d7fd156b76faa -Author: Behdad Esfahbod -Date: Mon May 20 17:33:55 2019 -0400 - - [gen-ucd] Remove some code - - src/gen-ucd.py | 7 ------- - 1 file changed, 7 deletions(-) - -commit 4ea44112b5163591ce0b086e0d13ec368f4f6ddc -Author: Rod Sheeter -Date: Tue May 21 13:07:43 2019 -0700 - - [subset] Remove missed reference to hb-subset-glyf, was deleted - - src/Makefile.sources | 1 - - 1 file changed, 1 deletion(-) - -commit b928de91a755788fd0fad9fa0f5f03c5670ac6a3 -Author: Garret Rieger -Date: Tue May 21 11:23:26 2019 -0700 - - [subset] Add test/subset/data/expected/layout to dist list. - - test/subset/data/Makefile.am | 1 + - 1 file changed, 1 insertion(+) - -commit 0af9de13b78ddd35f58ee02ce8ffeffd99509ec5 -Author: Garret Rieger -Date: Mon May 20 15:04:20 2019 -0700 - - [subset] For gsub subsetting only consider glyphs reachable via gsub closure. - - src/hb-ot-layout-gsub-table.hh | 4 +-- - src/hb-subset-plan.cc | 55 ++++++++++++++++++++---------------------- - src/hb-subset-plan.hh | 10 ++++++++ - 3 files changed, 38 insertions(+), 31 deletions(-) - -commit c740c8636b48b1790bba42445a301e8e1cf8f749 -Author: Garret Rieger -Date: Thu May 16 10:57:33 2019 -0700 - - [subset] Add integration tests for SingleSubst. - - test/subset/data/Makefile.sources | 1 + - ...ular.smallcaps.keep-layout-retain-gids.41,42,43.ttf | Bin 0 -> 6780 bytes - ...Regular.smallcaps.keep-layout-retain-gids.41,43.ttf | Bin 0 -> 6396 bytes - ...to-Regular.smallcaps.keep-layout-retain-gids.41.ttf | Bin 0 -> 6032 bytes - ...to-Regular.smallcaps.keep-layout-retain-gids.43.ttf | Bin 0 -> 6088 bytes - ...Regular.smallcaps.keep-layout-retain-gids.CA,CB.ttf | Bin 0 -> 7932 bytes - .../Roboto-Regular.smallcaps.keep-layout.41,42,43.ttf | Bin 0 -> 2972 bytes - .../Roboto-Regular.smallcaps.keep-layout.41,43.ttf | Bin 0 -> 2572 bytes - .../layout/Roboto-Regular.smallcaps.keep-layout.41.ttf | Bin 0 -> 2196 bytes - .../layout/Roboto-Regular.smallcaps.keep-layout.43.ttf | Bin 0 -> 2268 bytes - .../Roboto-Regular.smallcaps.keep-layout.CA,CB.ttf | Bin 0 -> 2612 bytes - test/subset/data/fonts/Roboto-Regular.smallcaps.ttf | Bin 0 -> 131632 bytes - test/subset/data/profiles/keep-layout-retain-gids.txt | 2 ++ - test/subset/data/profiles/keep-layout.txt | 1 + - test/subset/data/tests/full-font.tests | 1 - - test/subset/data/tests/layout.tests | 13 +++++++++++++ - test/subset/generate-expected-outputs.py | 3 ++- - 17 files changed, 19 insertions(+), 2 deletions(-) - -commit 349d692b0ee45330220fd3ec9267979d73acd149 -Author: Rod Sheeter -Date: Tue May 21 12:38:53 2019 -0700 - - [subset] Iter in and out for loca - - src/hb-ot-glyf-table.hh | 31 ++++++++++++++++--------------- - test/api/hb-test.h | 7 ++----- - 2 files changed, 18 insertions(+), 20 deletions(-) - -commit 95445d79be0a79e6e2d384d46819730146d397d8 -Author: Rod Sheeter -Date: Tue May 21 11:14:31 2019 -0700 - - [subset] Write loca using more idiomatic harfbuzzese - - src/hb-ot-glyf-table.hh | 35 +++++++++++++++++++---------------- - 1 file changed, 19 insertions(+), 16 deletions(-) - -commit d1b12a546561a78ae3c3e9d6bffa057caf82dbee -Merge: 3a43603ec f49a5bec9 -Author: Rod Sheeter -Date: Mon May 20 21:29:54 2019 -0700 - - Merge branch 'master' of https://github.com/harfbuzz/harfbuzz into glyf - -commit 3a43603ecea2c349f58396e103a52948776681e0 -Author: Rod Sheeter -Date: Mon May 20 20:40:55 2019 -0700 - - [subset] Fix memory leak caused by failure to cleanup glyf accelerator - - src/hb-ot-glyf-table.hh | 42 ++++++++++++++++++++++++++---------------- - 1 file changed, 26 insertions(+), 16 deletions(-) - -commit 5cedda5e4a3f726168b87d357aee723e6fd919cd -Author: Rod Sheeter -Date: Thu May 16 19:16:52 2019 -0700 - - [subset] Fix null pointer deref, tidy up a bit - - src/hb-ot-glyf-table.hh | 282 +++++++++++++++++++++++++------------------- - test/api/test-subset-glyf.c | 18 +-- - 2 files changed, 167 insertions(+), 133 deletions(-) - -commit 8a84b540c7b850c1fb30d5bc1ffdeb43033be173 -Author: Rod Sheeter -Date: Thu May 16 19:14:16 2019 -0700 - - [subset] Tests passing using iterator based glyf - - src/hb-ot-glyf-table.hh | 117 +++++++++++++++++++++++++++++++------------- - test/api/test-subset-glyf.c | 4 +- - 2 files changed, 86 insertions(+), 35 deletions(-) - -commit 82bbec306376d61b6700461c4038c6789e60a998 -Merge: 9d09ac13a b7be59311 -Author: Rod Sheeter -Date: Thu May 16 15:14:01 2019 -0700 - - Merge branch 'master' of https://github.com/harfbuzz/harfbuzz into glyf - -commit 9d09ac13a114967576284d0b006a0ac7965d928a -Author: rsheeter -Date: Sat May 11 23:16:40 2019 -0700 - - [subset] Tweak hint stripping - - src/hb-ot-glyf-table.hh | 46 +++++++++++++++++++++++++++++++++------------- - 1 file changed, 33 insertions(+), 13 deletions(-) - -commit 3a4c928fcfce5a8c7a56907b9945e87b0ce8e327 -Author: rsheeter -Date: Sat May 11 22:06:46 2019 -0700 - - [subset] Fix glyf tests except hint stripping & local test asan - - src/hb-ot-glyf-table.hh | 93 +++++++++++++++++++++++++++++++++------------ - test/api/hb-subset-test.h | 2 +- - test/api/hb-test.h | 13 +++++++ - test/api/test-subset-glyf.c | 8 ++-- - 4 files changed, 86 insertions(+), 30 deletions(-) - -commit b77dde8f138442935e5ca99460a520a4117d6dd2 -Author: Rod Sheeter -Date: Fri May 10 16:52:19 2019 -0700 - - [subset] Destroy blob - - src/hb-ot-glyf-table.hh | 2 ++ - 1 file changed, 2 insertions(+) - -commit 14db6512f8dca80a575f468708949346b005834a -Author: Rod Sheeter -Date: Fri May 10 09:32:43 2019 -0700 - - [subset] Correct flipped use short computation - - src/hb-ot-glyf-table.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit ab3fe5de2bbe10fdc13711537f824b62d091f995 -Author: Rod Sheeter -Date: Thu May 9 22:12:20 2019 -0700 - - [subset] Glyf by iter now runs but fails tests - - src/hb-ot-glyf-table.hh | 88 +++++++++++++++++++++++++++++++++---------------- - 1 file changed, 59 insertions(+), 29 deletions(-) - -commit f8de063b48c243d551c8892bdd2a799606fda3f4 -Merge: 0d7fef2d5 8f174870e -Author: Rod Sheeter -Date: Thu May 9 20:02:38 2019 -0700 - - Merge branch 'glyf' of github.com:googlefonts/harfbuzz into glyf - -commit 0d7fef2d50bba714815c0c13f3b3dd6464710a1d -Author: rsheeter -Date: Wed May 8 16:52:00 2019 -0700 - - [subset] Dinner time, checkpoint - - src/hb-ot-glyf-table.hh | 97 +++++++++++++++++++++++++++++-------------------- - 1 file changed, 58 insertions(+), 39 deletions(-) - -commit 240bc86e3a0b177ee84ec9c60723304a0cf4c405 -Author: rsheeter -Date: Wed May 8 14:59:03 2019 -0700 - - [subset] Remove subset-glyf; want everything to point to new iter-based edition. Some of the code will resurface as impl builds out. - - src/Makefile.sources | 2 - - src/hb-ot-glyf-table.hh | 9 +- - src/hb-subset-glyf.cc | 346 ------------------------------------------------ - src/hb-subset-glyf.hh | 40 ------ - src/hb-subset.cc | 1 - - 5 files changed, 6 insertions(+), 392 deletions(-) - -commit 02d4d4f3e67dcc37915bc386d506bb272455ff1e -Author: rsheeter -Date: Wed May 8 14:43:18 2019 -0700 - - [subset] Starting to sketch glyf as iter - - src/hb-ot-glyf-table.hh | 60 ++++++++++++++++++++++++++++++++++++------------- - src/hb-subset-plan.hh | 2 ++ - src/hb-subset.cc | 2 +- - 3 files changed, 47 insertions(+), 17 deletions(-) - -commit 8f174870e9eed4c47463fdb0d4fe3e22a6f5fdc8 -Author: rsheeter -Date: Wed May 8 16:52:00 2019 -0700 - - [subset] Dinner time, checkpoint - - src/hb-ot-glyf-table.hh | 97 +++++++++++++++++++++++++++++-------------------- - 1 file changed, 58 insertions(+), 39 deletions(-) - -commit 723d054dcb6ad44e9eab4dc8cc55f8d480d2ff16 -Merge: ed727d4bb e2a51ff72 -Author: rsheeter -Date: Wed May 8 16:45:35 2019 -0700 - - Merge branch 'master' of https://github.com/harfbuzz/harfbuzz into glyf - -commit ed727d4bb74860c126675e94f87f65ff7874dbb6 -Merge: fb9bff955 e8b45c193 -Author: rsheeter -Date: Wed May 8 16:39:45 2019 -0700 - - Merge branch 'master' of https://github.com/harfbuzz/harfbuzz into glyf - -commit fb9bff955a9356b053c5c9bcd7aa9101edb55767 -Author: rsheeter -Date: Wed May 8 14:59:03 2019 -0700 - - [subset] Remove subset-glyf; want everything to point to new iter-based edition. Some of the code will resurface as impl builds out. - - src/Makefile.sources | 2 - - src/hb-ot-glyf-table.hh | 9 +- - src/hb-subset-glyf.cc | 346 ------------------------------------------------ - src/hb-subset-glyf.hh | 40 ------ - src/hb-subset.cc | 1 - - 5 files changed, 6 insertions(+), 392 deletions(-) - -commit f9b089b695edc89023e3d62700ae68d5648f8494 -Author: rsheeter -Date: Wed May 8 14:43:18 2019 -0700 - - [subset] Starting to sketch glyf as iter - - src/hb-ot-glyf-table.hh | 60 ++++++++++++++++++++++++++++++++++++------------- - src/hb-subset-plan.hh | 2 ++ - src/hb-subset.cc | 2 +- - 3 files changed, 47 insertions(+), 17 deletions(-) - -commit f49a5bec9fc241c098be5a49233aa83cd5dc098e -Author: rsheeter -Date: Mon May 20 20:45:11 2019 -0700 - - [docs] Tweak fuzzer doc - - TESTING.md | 6 ++++++ - 1 file changed, 6 insertions(+) - -commit 1aadd1449c65c50d5f35191f43136841c64ad399 -Author: Behdad Esfahbod -Date: Mon May 20 17:29:13 2019 -0400 - - [gen-ucd] Generate script order table - - src/gen-ucd.py | 7 ++++++- - 1 file changed, 6 insertions(+), 1 deletion(-) - -commit be8de188671c04ddd8ec4d7af38b313322189136 -Author: Behdad Esfahbod -Date: Mon May 20 17:17:38 2019 -0400 - - [gen-ucd] Start adding script-order - - src/gen-ucd.py | 14 +++++++++++++- - 1 file changed, 13 insertions(+), 1 deletion(-) - -commit 4a0eb066fdceb0cab48107f17670d6943ec0d61e -Author: Behdad Esfahbod -Date: Mon May 20 16:57:04 2019 -0400 - - [gen-ucd] Add gc order - - src/gen-ucd.py | 7 ++++++- - 1 file changed, 6 insertions(+), 1 deletion(-) - -commit d1f9b2f961c71e5218ee359e8fb20cfbdb894c7e -Author: Behdad Esfahbod -Date: Mon May 20 15:47:49 2019 -0400 - - [gen-ucd] Flesh out a bit more - - src/gen-ucd.py | 52 ++++++++++++++++++++++++++++++++++++++++------------ - 1 file changed, 40 insertions(+), 12 deletions(-) - -commit d6de4659aa7edb991507f8838dc566874e5b6a61 -Author: Behdad Esfahbod -Date: Mon May 20 15:33:23 2019 -0400 - - Add HB_OPTIMIZE_SIZE - - Part of https://github.com/harfbuzz/harfbuzz/issues/1652 - - src/hb-config.hh | 8 ++++++++ - 1 file changed, 8 insertions(+) - -commit 0ff3618c2d841d16cce9ba2d73321048e7ca6a2d -Author: Garret Rieger -Date: Fri May 17 15:30:01 2019 -0700 - - [subset] Use hb_subset_input_t inside of subset_options_t so that input defaults are shared between the library and cli. - - src/hb-subset-input.cc | 42 ++++++++----- - src/hb-subset-input.hh | 7 +-- - src/hb-subset-plan.cc | 3 +- - src/hb-subset-plan.hh | 1 - - src/hb-subset.cc | 23 +------ - src/hb-subset.h | 6 -- - test/api/test-subset-glyf.c | 8 ++- - test/fuzzing/hb-subset-fuzzer.cc | 8 ++- - util/Makefile.am | 5 +- - util/Makefile.sources | 1 + - util/hb-subset.cc | 9 +-- - util/options-subset.cc | 127 +++++++++++++++++++++++++++++++++++++++ - util/options.cc | 101 ------------------------------- - util/options.hh | 20 ++---- - 14 files changed, 182 insertions(+), 179 deletions(-) - -commit 67064294a0c521550f5277b51b8c7e5d6bb27e68 -Author: Garret Rieger -Date: Thu May 16 15:13:39 2019 -0700 - - [subset] Add drop-tables option to hb-subset util. - - util/hb-subset.cc | 1 + - util/options.cc | 45 ++++++++++++++++++++++++++++++++++++++++++--- - util/options.hh | 3 +++ - 3 files changed, 46 insertions(+), 3 deletions(-) - -commit 3be0ffe45d1ba32ddd8d3af25ff2c420be85da76 -Author: Garret Rieger -Date: Thu May 16 11:29:15 2019 -0700 - - [subset] Add drop tables to subset input. - - src/hb-subset-input.cc | 8 +++++ - src/hb-subset-input.hh | 1 + - src/hb-subset-plan.cc | 3 ++ - src/hb-subset-plan.hh | 5 ++- - src/hb-subset.cc | 3 ++ - src/hb-subset.h | 3 ++ - test/api/Makefile.am | 2 ++ - test/api/test-subset-drop-tables.c | 71 ++++++++++++++++++++++++++++++++++++++ - 8 files changed, 95 insertions(+), 1 deletion(-) - -commit d00a20bedc5706d4d764f78ea108ca4316651b11 -Author: Nathan Willis -Date: Mon May 20 17:38:38 2019 +0100 - - [Docs] Add gtk-doc comments to hb-graphite2. - - src/hb-graphite2.cc | 16 ++++++++++++++-- - src/hb-graphite2.h | 10 +++++++++- - 2 files changed, 23 insertions(+), 3 deletions(-) - -commit 0a5a8fcbceb49f317a16803da090864f9ea03577 -Author: Nathan Willis -Date: Mon May 20 17:38:13 2019 +0100 - - [Docs] Add gtk-doc comments to hb-icu. - - src/hb-icu.cc | 35 ++++++++++++++++++++++++++++++++++- - 1 file changed, 34 insertions(+), 1 deletion(-) - -commit 9126a5ff070fe1191dfaf852aa601d506ddcffcb -Author: Nathan Willis -Date: Mon May 20 17:37:56 2019 +0100 - - [Docs] Add gtk-doc comments to hb-ft. - - src/hb-ft.cc | 135 +++++++++++++++++++++++++++++++++++++++++++++++++++-------- - 1 file changed, 117 insertions(+), 18 deletions(-) - -commit bfa7b0af02a6ec66898723fe3e82f74760996a10 -Author: Nathan Willis -Date: Mon May 20 17:36:55 2019 +0100 - - [Docs] Add gtk-doc comments to hb-gobject and hb-glib. - - src/hb-glib.cc | 44 +++++++++++++++++++++++++++++++++++++++++++- - src/hb-gobject-structs.cc | 13 +++++++++++-- - 2 files changed, 54 insertions(+), 3 deletions(-) - -commit 27222253d42d0485ec5a9a3db602f5cba64df94e -Author: Nathan Willis -Date: Mon May 20 17:36:18 2019 +0100 - - [Docs] Add gtk-doc comments to hb-uniscribe. - - src/hb-uniscribe.cc | 22 +++++++++++++++++++++- - 1 file changed, 21 insertions(+), 1 deletion(-) - -commit 32ae0d3e78c4e1f7299cb4fa251c0e66b3d5ae78 -Author: Nathan Willis -Date: Mon May 20 17:35:39 2019 +0100 - - [Docs] Add gtk-doc comments to hb-coretext. - - src/hb-coretext.cc | 45 +++++++++++++++++++++++++++++++++++++++++---- - src/hb-coretext.h | 32 ++++++++++++++++++++++++++++++++ - 2 files changed, 73 insertions(+), 4 deletions(-) - -commit 0ca7ad4352eff357cbb5cc1dfe62aa15b440de84 -Author: Behdad Esfahbod -Date: Mon May 20 11:39:07 2019 -0400 - - [cff] Fix unlikely invocations - - src/hb-ot-cff-common.hh | 8 ++++---- - src/hb-ot-cff1-table.hh | 2 +- - 2 files changed, 5 insertions(+), 5 deletions(-) - -commit 9ef241cd409b7ad4eeb8259cbf1a7a01358a766e -Author: Behdad Esfahbod -Date: Mon May 20 11:38:02 2019 -0400 - - [test] Add one more - - ...-testcase-minimized-hb-subset-fuzzer-5634197349203968 | Bin 0 -> 5791 bytes - 1 file changed, 0 insertions(+), 0 deletions(-) - -commit 3efb7af7e28061f8cd138eb2ed5261bf521abc63 -Author: Behdad Esfahbod -Date: Mon May 20 11:37:16 2019 -0400 - - [STAT] Fix sanitize condition - - Oops! - - Fixes https://oss-fuzz.com/testcase-detail/5696825891225600 - - src/hb-ot-stat-table.hh | 2 +- - ...zz-testcase-minimized-hb-subset-fuzzer-5696825891225600 | Bin 0 -> 69 bytes - 2 files changed, 1 insertion(+), 1 deletion(-) - -commit e66eb21a46b2374bfb51f86ed9f5eec35ba87a61 -Author: Ebrahim Byagowi -Date: Sat May 18 07:44:48 2019 -0700 - - Don't set _POSIX_C_SOURCE in NetBSD - - According to a harfbuzz package patch on NetBSD project - https://github.com/NetBSD/pkgsrc/blob/trunk/fonts/harfbuzz/patches/patch-src_hb-blob.cc - - src/hb-blob.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 08c3648c6e18a0969a64284337dbd5b435d40f37 -Author: Behdad Esfahbod -Date: Fri May 17 16:21:34 2019 -0700 - - Oops, fix include - - src/hb-set.hh | 1 + - 1 file changed, 1 insertion(+) - -commit 24958b8868a8003936e872d8fda873c52d528bcf -Author: Behdad Esfahbod -Date: Fri May 17 16:20:36 2019 -0700 - - [set] Use StructAtOffsetUnaligned - - src/hb-set.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit a0febbac439ac4cc58af674f676e473d2f6d726f -Author: rsheeter -Date: Thu May 16 15:58:49 2019 -0700 - - Update TESTING.md - - TESTING.md | 5 +++++ - 1 file changed, 5 insertions(+) - -commit b7be59311f27112791e9b9c6356464e1c3ff92c1 -Author: Behdad Esfahbod -Date: Thu May 16 13:32:56 2019 -0700 - - Fix msan issue - - The fact that HB_AUTO_RETURN will return rvalue-references for rvalues - is very disturbing. - - Even apart from that, I'm totally lost re any hb_move needs or - hb_forward'ing to functions/templates where the type is fixed by - explicitly specifying template parameters. - - ==1==ERROR: AddressSanitizer: stack-use-after-return on address 0x7f6ad65e51e0 at pc 0x0000005da240 bp 0x7ffc104ab670 sp 0x7ffc104ab668 - READ of size 4 at 0x7f6ad65e51e0 thread T0 - SCARINESS: 55 (4-byte-read-stack-use-after-return) - #0 0x5da23f in bool OT::Coverage::serialize, OT::SingleSubstFormat1::subset(hb_subset_context_t*) const::'lambda'(unsigned int), (hb_function_sortedness_t)1, (void*)0>, $_20&, (hb_function_sortedness_t)1, (void*)0>, (void*)0>(hb_serialize_context_t*, hb_map_iter_t, OT::SingleSubstFormat1::subset(hb_subset_context_t*) const::'lambda'(unsigned int), (hb_function_sortedness_t)1, (void*)0>, $_20&, (hb_function_sortedness_t)1, (void*)0>) harfbuzz/src/hb-ot-layout-common.hh:1055:16 - #1 0x5d88f9 in bool OT::SingleSubstFormat1::serialize, OT::SingleSubstFormat1::subset(hb_subset_context_t*) const::'lambda'(unsigned int), (hb_function_sortedness_t)1, (void*)0>, $_20&, (hb_function_sortedness_t)1, (void*)0>, (void*)0>(hb_serialize_context_t*, hb_map_iter_t, OT::SingleSubstFormat1::subset(hb_subset_context_t*) const::'lambda'(unsigned int), (hb_function_sortedness_t)1, (void*)0>, $_20&, (hb_function_sortedness_t)1, (void*)0>, unsigned int) harfbuzz/src/hb-ot-layout-gsub-table.hh:98:9 - - src/hb-algs.hh | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit bcd3ffc948f63f59a709923a3ba6dc9d591aae6b -Author: Behdad Esfahbod -Date: Thu May 16 13:22:09 2019 -0700 - - Whitespace - - src/hb-ot-layout-gsub-table.hh | 24 ++++++++++++------------ - 1 file changed, 12 insertions(+), 12 deletions(-) - -commit 05bc5f96fb0818531404174b71c6ff497d5e2738 -Author: Behdad Esfahbod -Date: Thu May 16 13:05:58 2019 -0700 - - [subset] Remove extra iteration - - src/hb-ot-layout-gsub-table.hh | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -commit 6555f209586886a4b2562412363cf152d7837d5c -Author: Garret Rieger -Date: Wed May 15 09:42:38 2019 -0700 - - [subset] Truncate empty gids at the end in retain-gids mode. - - src/hb-subset-plan.cc | 8 ++++--- - test/api/fonts/Roboto-Regular.a.retaingids.ttf | Bin 0 -> 2068 bytes - .../SourceHanSans-Regular.41,4C2E.retaingids.otf | Bin 2736 -> 2656 bytes - test/api/test-subset-glyf.c | 25 +++++++++++++++++++++ - ...oboto-Regular.abc.drop-hints-retain-gids.61.ttf | Bin 744 -> 732 bytes - ...oboto-Regular.abc.drop-hints-retain-gids.62.ttf | Bin 712 -> 704 bytes - .../basics/Roboto-Regular.abc.retain-gids.61.ttf | Bin 1808 -> 1792 bytes - .../basics/Roboto-Regular.abc.retain-gids.62.ttf | Bin 1756 -> 1748 bytes - 8 files changed, 30 insertions(+), 3 deletions(-) - -commit 2376867649f97d25e4319f45845525ec207887f7 -Author: Behdad Esfahbod -Date: Wed May 15 21:57:26 2019 -0700 - - Use hb_map(hb_add(this)) to dereference OffsetTo<>'s - - src/hb-ot-layout-gsub-table.hh | 30 ++++++++++++++------- - src/hb-ot-layout-gsubgpos.hh | 60 ++++++++++++++++++++++++++++-------------- - src/hb-ot-stat-table.hh | 2 +- - 3 files changed, 61 insertions(+), 31 deletions(-) - -commit 6f51e5552477125480f764a6af763dad9f8e3e1b -Author: Behdad Esfahbod -Date: Wed May 15 21:41:12 2019 -0700 - - [algs] Rename hb_bind to hb_partial - - Since our API is the invers of what std::bind is, and closer to Python - functools.partial(). - - src/hb-algs.hh | 12 ++++++------ - src/test-algs.cc | 6 +++--- - 2 files changed, 9 insertions(+), 9 deletions(-) - -commit 0888e7bc86454020db45f78ee1136d6f3a1b9527 -Author: Behdad Esfahbod -Date: Wed May 15 21:36:42 2019 -0700 - - [algs] Change hb_bind parameter number to be from one - - To match std:;bind, even though our interfaces are very different. - - src/hb-algs.hh | 24 +++++++++++++----------- - src/test-algs.cc | 6 +++--- - 2 files changed, 16 insertions(+), 14 deletions(-) - -commit dfa5e4297147b52f0ed2f569c9b90a0c68c003c4 -Author: Behdad Esfahbod -Date: Wed May 15 21:18:14 2019 -0700 - - Add back symmetric OffsetTo<>::friend operator+ - - Finally seems to be working now. - - src/hb-open-type.hh | 6 ++++++ - 1 file changed, 6 insertions(+) - -commit a06a236891611da9db601ddbc2b1513380ad12e6 -Author: Behdad Esfahbod -Date: Wed May 15 21:12:22 2019 -0700 - - [algs] Partialize all operators - - src/hb-algs.hh | 66 +++++++++++++++++++++++++++++++++++--------------------- - src/test-algs.cc | 4 ++-- - 2 files changed, 44 insertions(+), 26 deletions(-) - -commit edc69ec935511d1993240fb68b54b2cfd6afa888 -Author: Behdad Esfahbod -Date: Wed May 15 21:09:56 2019 -0700 - - [algs] Rewrite bind API - - And add a partialization API use example to hb_add() - - src/hb-algs.hh | 45 ++++++++++++++++++++------------------------- - src/test-algs.cc | 9 ++++++--- - 2 files changed, 26 insertions(+), 28 deletions(-) - -commit 16a3540ea4257a19b9bfd9d5300a280e18b423a1 -Author: Behdad Esfahbod -Date: Wed May 15 20:48:20 2019 -0700 - - [algs] Add hb_bind0 and hb_bind1 - - src/hb-algs.hh | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ - src/test-algs.cc | 7 +++++++ - 2 files changed, 61 insertions(+) - -commit d214b07883a626f3ecebb027797e8bb994e174a4 -Author: Behdad Esfahbod -Date: Wed May 15 19:07:39 2019 -0700 - - Fix clang build - - Ugh. - - In file included from hb-ot-face.cc:41: - ./hb-ot-layout-gsub-table.hh:293:7: error: template parameter redefines default argument - hb_requires (hb_is_sorted_source_of (Iterator, - ^ - ./hb-meta.hh:59:27: note: expanded from macro 'hb_requires' - define hb_requires(Cond) hb_enable_if((Cond)) - ^ - ./hb-meta.hh:57:67: note: expanded from macro 'hb_enable_if' - define hb_enable_if(Cond) typename hb_enable_if<(Cond)>::type* = nullptr - ^ - ./hb-ot-layout-gsub-table.hh:40:5: note: previous default template argument defined here - hb_requires (hb_is_sorted_source_of (Iterator, - ^ - ./hb-meta.hh:59:27: note: expanded from macro 'hb_requires' - define hb_requires(Cond) hb_enable_if((Cond)) - ^ - ./hb-meta.hh:57:67: note: expanded from macro 'hb_enable_if' - define hb_enable_if(Cond) typename hb_enable_if<(Cond)>::type* = nullptr - ^ - - src/hb-ot-layout-gsub-table.hh | 4 +--- - 1 file changed, 1 insertion(+), 3 deletions(-) - -commit 371b55c7a0c718fcaca0330edfeacf610797cf7a -Author: Behdad Esfahbod -Date: Wed May 15 18:54:07 2019 -0700 - - Fix clang build - - In file included from hb-ot-face.cc:41: - ./hb-ot-layout-gsub-table.hh:293:7: error: template parameter redefines default argument - hb_requires (hb_is_sorted_source_of (Iterator, - ^ - ./hb-meta.hh:59:27: note: expanded from macro 'hb_requires' - define hb_requires(Cond) hb_enable_if((Cond)) - ^ - ./hb-meta.hh:57:67: note: expanded from macro 'hb_enable_if' - define hb_enable_if(Cond) typename hb_enable_if<(Cond)>::type* = nullptr - ^ - ./hb-ot-layout-gsub-table.hh:40:5: note: previous default template argument defined here - hb_requires (hb_is_sorted_source_of (Iterator, - ^ - ./hb-meta.hh:59:27: note: expanded from macro 'hb_requires' - define hb_requires(Cond) hb_enable_if((Cond)) - ^ - ./hb-meta.hh:57:67: note: expanded from macro 'hb_enable_if' - define hb_enable_if(Cond) typename hb_enable_if<(Cond)>::type* = nullptr - ^ - 1 error generated. - - src/hb-ot-layout-gsub-table.hh | 4 +--- - 1 file changed, 1 insertion(+), 3 deletions(-) - -commit 243a5a6af2565937705d6bc20e65a62b686bb664 -Author: Behdad Esfahbod -Date: Wed May 15 19:03:59 2019 -0700 - - [algs] Remove pair copy constructor - - Use default. - - src/hb-algs.hh | 1 - - src/test-algs.cc | 1 + - 2 files changed, 1 insertion(+), 1 deletion(-) - -commit f92d188d7703184d04e8f205ae46ca3081d3e048 -Author: Behdad Esfahbod -Date: Wed May 15 18:52:57 2019 -0700 - - Whitespace - - src/hb-ot-layout-gsub-table.hh | 16 ++++++++-------- - 1 file changed, 8 insertions(+), 8 deletions(-) - -commit 962f95cf802404dafadf2f999772d3f9fc949d63 -Author: Garret Rieger -Date: Thu May 9 13:04:11 2019 -0700 - - [subset] Switch SingleSubst to use iterators in serialize. - - src/hb-ot-layout-common.hh | 6 +-- - src/hb-ot-layout-gsub-table.hh | 97 +++++++++++++++++++++++++----------------- - 2 files changed, 62 insertions(+), 41 deletions(-) - -commit 78d35f0e780dd811ae103c96f3b1060d49046a7a -Author: Behdad Esfahbod -Date: Wed May 15 18:15:05 2019 -0700 - - Reduce captures of lambdas - - src/hb-ot-hdmx-table.hh | 4 ++-- - src/hb-ot-layout-gpos-table.hh | 2 +- - src/hb-ot-layout-gsub-table.hh | 29 +++++++++++++++-------------- - src/hb-ot-layout-gsubgpos.hh | 12 ++++++------ - src/hb-ot-name-table.hh | 2 +- - src/hb-ot-stat-table.hh | 2 +- - src/hb-ot-var-fvar-table.hh | 4 ++-- - src/hb-subset-plan.cc | 2 +- - src/test-iter.cc | 4 ++-- - 9 files changed, 31 insertions(+), 30 deletions(-) - -commit 5266ca86b633b84850492b7982334fb63271ccbc -Author: Behdad Esfahbod -Date: Wed May 15 17:59:00 2019 -0700 - - Fix tests - - Oops. - - src/test-algs.cc | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 5da8a3a90db5e5ccaaf68de2ac312108af911821 -Author: Behdad Esfahbod -Date: Wed May 15 17:11:18 2019 -0700 - - Remove variadic form of hb_min/hb_max - - Unused, and why here and not in other functions... - - src/hb-algs.hh | 22 ++-------------------- - 1 file changed, 2 insertions(+), 20 deletions(-) - -commit e5cfe9d582d86281eda2bcb85d3d1cbd4afbb5bb -Author: Behdad Esfahbod -Date: Wed May 15 16:59:36 2019 -0700 - - Add arithmetic operators - - src/hb-algs.hh | 44 ++++++++++++++++++++++++++++++-------------- - 1 file changed, 30 insertions(+), 14 deletions(-) - -commit f7a458510d9c34d1c52579985ded5082ad0f3458 -Author: Behdad Esfahbod -Date: Wed May 15 16:49:35 2019 -0700 - - Add hb_bitwise_* ops - - src/hb-algs.hh | 56 +++++++++++++++++++++++++++++++++++--------------------- - src/hb-set.hh | 14 +++++++------- - 2 files changed, 42 insertions(+), 28 deletions(-) - -commit d822e0a16f914ec6a7e629d21ed972d009a88561 -Author: Behdad Esfahbod -Date: Wed May 15 16:30:08 2019 -0700 - - [array] Adjust operator!= - - See comments. - - src/hb-array.hh | 7 ++++++- - src/hb-vector.hh | 1 + - 2 files changed, 7 insertions(+), 1 deletion(-) - -commit 203ea58bf67b3df3e376f94cdfb37382dd3858a0 -Author: Behdad Esfahbod -Date: Wed May 15 16:14:40 2019 -0700 - - More adjustment to OffsetTo<>::friend opeator+ - - Let's see if I break any bots. But yeah, it wasn't accepting a - non-const pointer. It just happens that we don't use that in the - code it seems. - - src/hb-open-type.hh | 10 ++++++---- - 1 file changed, 6 insertions(+), 4 deletions(-) - -commit ebf47a95f29dd959319feb7f8728f7c0162a181e -Author: Behdad Esfahbod -Date: Wed May 15 15:14:26 2019 -0700 - - [iter] Simplify operator!= of iterator filters - - Both to save ops, and also because lambdas don't implement operator!=, - so this was failing in range-based for loop if a lambda was passed to - hb_map() or hb_filter(). Just check end-condition assuming that we - are comparing to .end() or iterators that are otherwise derived from - current iterator. Ie. don't compare things that are expected to be - in common. - - src/hb-iter.hh | 8 +++++--- - 1 file changed, 5 insertions(+), 3 deletions(-) - -commit d3e1d5044f23a2dc910f4253c3f4976bf08f93ab -Author: Behdad Esfahbod -Date: Wed May 15 14:25:54 2019 -0700 - - Add all pair_t comparison operators - - src/hb-algs.hh | 5 +++++ - 1 file changed, 5 insertions(+) - -commit f244224dbb5ee8929af109a0c4e23d2d993c8df8 -Author: Behdad Esfahbod -Date: Wed May 15 14:19:20 2019 -0700 - - [iter] Use default operators instead of redefining empty ones - - src/hb-iter.hh | 26 +++++++++++++++----------- - 1 file changed, 15 insertions(+), 11 deletions(-) - -commit 125c45ed368ae61a74e2c558b9c884cfde6295e1 -Author: David Corbett -Date: Wed May 15 17:02:32 2019 -0400 - - Convert Consonant_Initial_Postfixed to CONS_MED - - src/gen-use-table.py | 6 +++--- - src/hb-ot-shape-complex-use-table.cc | 2 +- - .../fonts/fd565cabd5208d345d0ed4fda7ae742917d846a5.ttf | Bin 0 -> 1056 bytes - test/shaping/data/in-house/tests/use-syllable.tests | 1 + - 4 files changed, 5 insertions(+), 4 deletions(-) - -commit 99ca956c131563b57d490b1ec3c8de920645e53f -Author: David Corbett -Date: Wed May 15 16:29:51 2019 -0400 - - Fix record-test.sh on machines without sha1sum - - test/shaping/record-test.sh | 13 ++++++++++++- - 1 file changed, 12 insertions(+), 1 deletion(-) - -commit e2767e438c56b8ee0bc2f2040c10b13b34d37f95 -Author: Ebrahim Byagowi -Date: Wed May 15 13:14:09 2019 +0430 - - [ci][test] Ignore other gcov symbols also - - To fix https://travis-ci.org/harfbuzz/harfbuzz/jobs/532693197 - - src/check-symbols.sh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 397cbbd5ff25c9796ecd56b8270e83de1eb322ac -Author: Ebrahim Byagowi -Date: Wed May 15 13:03:28 2019 +0430 - - [ci][travis] Update its distribution - - It may break things, lets see - - .travis.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 763ea4224bf612f3efb80d5744d1e8852682683e -Author: Behdad Esfahbod -Date: Wed May 15 01:15:11 2019 -0700 - - Another try - - src/hb-open-type.hh | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -commit e1b2edb04af7bd2b4eecb59392f75abcc72cd8a6 -Author: Behdad Esfahbod -Date: Wed May 15 01:12:04 2019 -0700 - - Completely revert the thing back - - src/hb-open-type.hh | 14 +++++--------- - 1 file changed, 5 insertions(+), 9 deletions(-) - -commit c58eeb5fb35ec6a8d0a4394fd83cb2571cd5af4f -Author: Behdad Esfahbod -Date: Wed May 15 01:10:31 2019 -0700 - - Another try at fix - - Fails locally. Trying to understand. Sigh - - src/hb-open-type.hh | 18 +++++++++--------- - 1 file changed, 9 insertions(+), 9 deletions(-) - -commit 004edf3bdac77564d39516b51b0666de60e65ece -Author: Behdad Esfahbod -Date: Wed May 15 01:02:50 2019 -0700 - - Ugh. How was the Travis bot happy before, but isn't now?! :( - - src/hb-open-type.hh | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit e01c7b1648dbbb76966b3bd4437bcf7699e77c35 -Author: Behdad Esfahbod -Date: Wed May 15 00:52:17 2019 -0700 - - Move OffsetTo operator+ back out of class - - Apparently there's different overload resolution rules that apply, at - least with some (older?) version of gcc. - - hb-ot-name-table.hh: In member function ‘void OT::name::accelerator_t::init(hb_face_t*)’: - hb-ot-name-table.hh:244:62: error: ambiguous overload for ‘operator+’ (operand types are ‘hb_blob_ptr_t’ and ‘OT::NNOffsetTo > > {aka const OT::OffsetTo >, OT::IntType, false>}’) - this->pool = (const char *) (const void *) (this->table+this->table->stringOffset); - ^ - hb-ot-name-table.hh:244:62: note: candidates are: - hb-ot-name-table.hh:244:62: note: operator+(const C*, long int) - hb-ot-name-table.hh:244:62: note: operator+(const char*, long int) - - src/hb-open-type.hh | 18 +++++++++--------- - 1 file changed, 9 insertions(+), 9 deletions(-) - -commit b213042f87dd736bad7a852fe98269f84cbff493 -Author: Behdad Esfahbod -Date: Wed May 15 00:50:48 2019 -0700 - - Revert "Revert symmetric OffsetTo overloads" - - This reverts commit 01912efb74fc554a81c8cfe572145ce45b8fa58b. - - Actually this didn't break things. Fixing - - src/hb-open-type.hh | 4 ++++ - 1 file changed, 4 insertions(+) - -commit 01912efb74fc554a81c8cfe572145ce45b8fa58b -Author: Behdad Esfahbod -Date: Wed May 15 00:42:47 2019 -0700 - - Revert symmetric OffsetTo overloads - - Reverts 57f65ae9355004044325dd6441cde761bca5e0a3 - - Caused ambiguous-overload on some gcc... - - src/hb-open-type.hh | 4 ---- - 1 file changed, 4 deletions(-) - -commit d0df996cdc249a245c9dad1fa6503213c84dbcd2 -Author: Behdad Esfahbod -Date: Wed May 15 00:32:41 2019 -0700 - - Use implicit lambda return type - - src/hb-array.hh | 4 ++-- - src/hb-ot-layout-gsub-table.hh | 8 ++++---- - src/hb-ot-layout-gsubgpos.hh | 18 +++++++++--------- - src/hb-ot-stat-table.hh | 2 +- - src/hb-ot-var-fvar-table.hh | 4 ++-- - src/test-iter.cc | 8 ++++---- - src/test-meta.cc | 1 - - 7 files changed, 22 insertions(+), 23 deletions(-) - -commit 57f65ae9355004044325dd6441cde761bca5e0a3 -Author: Behdad Esfahbod -Date: Tue May 14 22:52:59 2019 -0700 - - Add symmetric friend operator+ for OffsetTo - - src/hb-open-type.hh | 4 ++++ - 1 file changed, 4 insertions(+) - -commit 71208e5047c71108dec7361fd7c3e594c8b6c2d8 -Author: Behdad Esfahbod -Date: Tue May 14 22:51:59 2019 -0700 - - Move OffsetTo<> deref operators in-class as friends - - src/hb-open-type.hh | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -commit e6d6f4b96dd5517406265093cd57834c00850d41 -Author: Behdad Esfahbod -Date: Tue May 14 22:45:03 2019 -0700 - - Whitespace - - src/hb-ot-stat-table.hh | 2 +- - src/hb-ot-var-fvar-table.hh | 4 ++-- - 2 files changed, 3 insertions(+), 3 deletions(-) - -commit 889dc1eb06a80ea9be4223a19011e47a52abebdd -Author: Behdad Esfahbod -Date: Tue May 14 22:28:07 2019 -0700 - - [iter] Remove sort categorization - - See comments. - - src/hb-array.hh | 2 +- - src/hb-iter.hh | 48 ++++++++++++++++++++++++++++++---------------- - src/hb-ot-layout-common.hh | 2 +- - src/hb-set.hh | 2 +- - 4 files changed, 35 insertions(+), 19 deletions(-) - -commit b4eff38397c2a4e475f426df38e040dddf94a4fa -Author: Behdad Esfahbod -Date: Tue May 14 09:07:20 2019 -0700 - - Start of gen-ucd.py, to replace UCDN - - src/gen-ucd.py | 46 ++++++++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 46 insertions(+) - -commit 02e5e5d939be36d8f108029601a1ce1f533e5ccb -Author: Qunxin Liu -Date: Mon May 13 09:38:42 2019 -0700 - - [subset] retian nameids from STAT and fvar tables - - src/hb-ot-stat-table.hh | 76 +++++++++++++++++++++++++++++++++++++++++---- - src/hb-ot-var-fvar-table.hh | 21 +++++++++++++ - src/hb-subset-plan.cc | 26 ++++++++++++++++ - 3 files changed, 117 insertions(+), 6 deletions(-) - -commit ff7995200e706f3161b9fc5c27bb950e3d87e8e2 -Author: Behdad Esfahbod -Date: Tue May 14 07:44:03 2019 -0700 - - Hopefully last warning fix - - src/hb-subset-cff2.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit d1baf99697d215584b2ecb8d2d38ba5b9045955c -Author: Ebrahim Byagowi -Date: Tue May 14 16:16:46 2019 +0430 - - [ci] add HB_TINY to asmjs builder - - .circleci/config.yml | 28 ++++++++++++++-------------- - 1 file changed, 14 insertions(+), 14 deletions(-) - -commit 9e7c9c3adb33b06610951be38f3c820342333092 -Author: Ebrahim Byagowi -Date: Tue May 14 15:58:51 2019 +0430 - - Fix -Wunused-function on HB_NO_SHAPE_AAT - - We should add a bot for it - Part of #1652 - - src/hb-ot-shape.cc | 2 ++ - 1 file changed, 2 insertions(+) - -commit c73d7ba75d4556d9b8e05b10d6572f74f4814f7a -Author: Dominik Röttsches -Date: Tue May 14 13:26:18 2019 +0300 - - Fix building with HB_NO_SUBSET_LAYOUT - - Fixes an unused function warning when building with HB_NO_SUBSET_LAYOUT - as part of the Chrome build. - - src/hb-subset-plan.cc | 2 ++ - 1 file changed, 2 insertions(+) - -commit f39934983f459c992e27075cd2c45ac0025183d0 -Author: Behdad Esfahbod -Date: Tue May 14 00:13:21 2019 -0700 - - [ucdn] Fix Hangul composition - - https://github.com/grigorig/ucdn/issues/23 - - src/hb-ucdn/ucdn.c | 3 ++- - test/api/test-unicode.c | 4 ++++ - 2 files changed, 6 insertions(+), 1 deletion(-) - -commit b2ab15a78c219016e20389582716e0ac0ee8aeb5 -Author: Behdad Esfahbod -Date: Mon May 13 23:47:28 2019 -0700 - - Fix more warnings - - src/hb-ot-cff1-table.hh | 8 ++++---- - src/hb-subset-cff1.cc | 4 ++-- - 2 files changed, 6 insertions(+), 6 deletions(-) - -commit 42ae468a8a76e1e4e6a8121eec5dc118f52086ee -Author: Behdad Esfahbod -Date: Mon May 13 23:43:45 2019 -0700 - - [config] Add NDEBUG and HB_NDEBUG - - Part of https://github.com/harfbuzz/harfbuzz/issues/1652 - - src/hb-config.hh | 10 ++++++++++ - src/hb.hh | 10 ---------- - 2 files changed, 10 insertions(+), 10 deletions(-) - -commit 0a01deb76fa582afa83da70a09478299d8080827 -Author: Behdad Esfahbod -Date: Mon May 13 18:04:09 2019 -0700 - - One more warning fix - - No idea where these appear from... - - src/hb-ot-cff-common.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit f76e9f2ede76a189d48ddd4f2275442d8e849815 -Author: Behdad Esfahbod -Date: Mon May 13 17:39:46 2019 -0700 - - [icu] Comment - - src/hb-icu.cc | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 70fe9e73555f3354238f7cda5ff0f0c0b75e1d62 -Author: Behdad Esfahbod -Date: Mon May 13 17:35:02 2019 -0700 - - Fix moreeeeeeeeeee - - src/hb-icu.cc | 28 +++++++++++++++------------- - src/hb-subset-plan.cc | 2 +- - 2 files changed, 16 insertions(+), 14 deletions(-) - -commit 68e12e68f813bfd22dda040463d042cc06b958ec -Author: Behdad Esfahbod -Date: Mon May 13 17:28:59 2019 -0700 - - Fix more semi-colon issues - - src/hb-coretext.cc | 4 ++-- - src/hb-directwrite.cc | 4 ++-- - src/hb-graphite2.cc | 4 ++-- - src/hb-uniscribe.cc | 4 ++-- - 4 files changed, 8 insertions(+), 8 deletions(-) - -commit 4d3cf2adb669c345cc43832d11689271995e160a -Author: Behdad Esfahbod -Date: Mon May 13 17:25:07 2019 -0700 - - [iter] Fix zip iterator sortedness classification logic - - src/hb-iter.hh | 9 ++------- - 1 file changed, 2 insertions(+), 7 deletions(-) - -commit c572732f29787d1cf7ff39b8160b3935d4b13ba4 -Author: Behdad Esfahbod -Date: Mon May 13 15:41:09 2019 -0700 - - Fix more excess semi-colon errors - - src/hb-common.cc | 2 +- - src/hb-ot-name.cc | 4 ++-- - src/hb-ot-shape-complex-indic.hh | 2 +- - src/hb-ot-shape-complex-khmer.hh | 2 +- - 4 files changed, 5 insertions(+), 5 deletions(-) - -commit 513762849a683914fc266a17ddf38f133cccf072 -Author: Behdad Esfahbod -Date: Mon May 13 15:36:14 2019 -0700 - - [iter] Track strictly-sorted iterators - - This make output of hb_enumerate() sorted regardless of input iterator. - - src/hb-array.hh | 2 +- - src/hb-iter.hh | 30 +++++++++++++++++++++--------- - src/hb-ot-layout-common.hh | 2 +- - src/hb-set.hh | 2 +- - 4 files changed, 24 insertions(+), 12 deletions(-) - -commit 7e02063f3202712b4e5fbddac0354adadb924f72 -Author: Behdad Esfahbod -Date: Mon May 13 15:26:00 2019 -0700 - - [iter] Minor - - src/hb-iter.hh | 21 +++++++++++---------- - 1 file changed, 11 insertions(+), 10 deletions(-) - -commit a5fb44a8cbbaad194ddf6d02a6b6c98b0b637149 -Author: Garret Rieger -Date: Mon May 13 14:57:40 2019 -0700 - - [subset] Fix shadowed 'groups' param in cmap. - - src/hb-ot-cmap-table.hh | 18 +++++++++--------- - 1 file changed, 9 insertions(+), 9 deletions(-) - -commit 73943bdf21a96f4e12cb9efd8458a2711de0d870 -Author: Behdad Esfahbod -Date: Mon May 13 14:48:31 2019 -0700 - - Adjust uniscribe_bug_compatible mode - - More correct behavior. We were commenting out some legit conditions - before. - - Part of https://github.com/harfbuzz/harfbuzz/issues/1652 - - src/hb-ot-shape-complex-indic.cc | 10 ++-------- - 1 file changed, 2 insertions(+), 8 deletions(-) - -commit 809c58708359bcc22bb1273069886f2cbf68be65 -Author: Behdad Esfahbod -Date: Mon May 13 14:45:51 2019 -0700 - - [config] Better compile away morx/kerx/trak - - Part of https://github.com/harfbuzz/harfbuzz/issues/1652 - - src/hb-ot-shape.cc | 38 ++++++++++++++------------------------ - src/hb-ot-shape.hh | 12 +++++++++++- - 2 files changed, 25 insertions(+), 25 deletions(-) - -commit b1d3e54bd3c881794b05831e811b1a77a7d427c5 -Author: Behdad Esfahbod -Date: Mon May 13 14:35:04 2019 -0700 - - [indic] Don't constrain how many C, M, ... occur - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1709 - - Part of https://github.com/harfbuzz/harfbuzz/issues/1652 - - src/hb-ot-shape-complex-indic-machine.hh | 1225 ++++++++---------------------- - src/hb-ot-shape-complex-indic-machine.rl | 8 +- - 2 files changed, 305 insertions(+), 928 deletions(-) - -commit 148d88368013ba9bf70a7dd275b1a0f9c64fd45c -Author: Behdad Esfahbod -Date: Mon May 13 14:33:06 2019 -0700 - - [test] Don't call deprecated API - - test/api/test-font.c | 3 --- - test/api/test-shape.c | 16 ++-------------- - 2 files changed, 2 insertions(+), 17 deletions(-) - -commit a487fc33248ea2f934ff4cb857cb556065c11841 -Author: Behdad Esfahbod -Date: Mon May 13 14:16:33 2019 -0700 - - Another extra semi-colon - - src/hb-ot-layout-common.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 8461ade7832110d28001dc641342d3f9461e03b0 -Author: Behdad Esfahbod -Date: Mon May 13 14:10:48 2019 -0700 - - Revert "[ragel] Regenerate ragel-generated files using ragel 7.0.0.11 May 2018" - - This reverts commit 9b05db33b54e6e5f0b4658f4c06e7fe563f8923b. - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1708 - - src/hb-buffer-deserialize-json.hh | 1051 ++++++----- - src/hb-buffer-deserialize-text.hh | 1009 ++++++----- - src/hb-ot-shape-complex-indic-machine.hh | 2678 ++++++++++++---------------- - src/hb-ot-shape-complex-khmer-machine.hh | 709 ++++---- - src/hb-ot-shape-complex-myanmar-machine.hh | 820 ++++----- - src/hb-ot-shape-complex-use-machine.hh | 1144 ++++++------ - 6 files changed, 3452 insertions(+), 3959 deletions(-) - -commit 52c15b053aec06d351404a4c15609384946b26e1 -Author: Behdad Esfahbod -Date: Mon May 13 14:10:28 2019 -0700 - - Revert "[ragel] Switch to -T1 output instead of -F1" - - This reverts commit ae8719eb596485ebff07dd5016256015cd0cf86b. - - Part of https://github.com/harfbuzz/harfbuzz/issues/1708 - - src/Makefile.am | 2 +- - src/hb-buffer-deserialize-json.hh | 381 ++- - src/hb-buffer-deserialize-text.hh | 308 +-- - src/hb-ot-shape-complex-indic-machine.hh | 3527 +++++++--------------------- - src/hb-ot-shape-complex-khmer-machine.hh | 396 +--- - src/hb-ot-shape-complex-myanmar-machine.hh | 742 ++---- - src/hb-ot-shape-complex-use-machine.hh | 1011 ++------ - 7 files changed, 1658 insertions(+), 4709 deletions(-) - -commit e98f0ddd6373f64ef4b542daa36b5841399170af -Author: Behdad Esfahbod -Date: Mon May 13 13:53:06 2019 -0700 - - Fix extra semi-colon - - src/hb-iter.hh | 2 +- - src/hb.hh | 1 + - 2 files changed, 2 insertions(+), 1 deletion(-) - -commit ae8719eb596485ebff07dd5016256015cd0cf86b -Author: Behdad Esfahbod -Date: Mon May 13 12:27:10 2019 -0700 - - [ragel] Switch to -T1 output instead of -F1 - - Fedora upgraded to ragel 7, which is buggy if char is signed. - Switching to -G2 output fails with sign-compare error: - - ../../src/hb-buffer-deserialize-json.hh:107:12: error: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘const char’ [-Werror=sign-compare] - if ( 9u <= ( (*( p))) && ( (*( p))) <= 13u ) { - ~~~^~~~~~~~~~~~~ - - Switching to -T1 for now. It actually results in smaller code, - at the expense of some binary searching instead of flat tables. - In the not distant future, we might actually generate two different - outputs and choose between depending on size-optimize options. - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1708 - - src/Makefile.am | 2 +- - src/hb-buffer-deserialize-json.hh | 381 ++-- - src/hb-buffer-deserialize-text.hh | 308 ++- - src/hb-ot-shape-complex-indic-machine.hh | 3401 +++++++++++++++++++++------- - src/hb-ot-shape-complex-khmer-machine.hh | 396 +++- - src/hb-ot-shape-complex-myanmar-machine.hh | 742 ++++-- - src/hb-ot-shape-complex-use-machine.hh | 1011 ++++++--- - 7 files changed, 4646 insertions(+), 1595 deletions(-) - -commit df3f36f0bb7aeed0554843f24f6542852e40f6cc -Author: Behdad Esfahbod -Date: Sun May 12 20:56:36 2019 -0700 - - Minor - - src/gen-os2-unicode-ranges.py | 2 ++ - 1 file changed, 2 insertions(+) - -commit ccc88e98f34453100830d6408fdabfe90e6b47b8 -Author: Behdad Esfahbod -Date: Sun May 12 16:12:06 2019 -0700 - - Fix MSVC build - - src/hb-ot-shape-complex-indic.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit f8f9cb93b7166b0d8c816610596da486443c7391 -Author: Behdad Esfahbod -Date: Sun May 12 15:56:25 2019 -0700 - - [config] Define HB_NO_SUBSET_LAYOUT in HB_LEAN - - Assumning subsetter would be used for printing-like uses in that case, - which don't need GSUB/GPOS. - - src/hb-config.hh | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit a1394a28fc4b3d15ef45481f3147f0685d343acb -Author: Behdad Esfahbod -Date: Sun May 12 15:47:46 2019 -0700 - - [config] Add HB_NO_UNISCRIBE_BUG_COMPATIBLE - - Part of https://github.com/harfbuzz/harfbuzz/issues/1652 - - src/hb-config.hh | 4 ++++ - src/hb-ot-shape-complex-indic.cc | 24 ++++++++++++++++++------ - 2 files changed, 22 insertions(+), 6 deletions(-) - -commit dba1ac1b0e8f5f96974fc1119b318ae6127daa82 -Author: Behdad Esfahbod -Date: Sun May 12 15:33:31 2019 -0700 - - [config] Disable buffer serialize routines in HB_TINY - - Part of https://github.com/harfbuzz/harfbuzz/issues/1652 - - src/hb-buffer-serialize.cc | 14 +++++++++++++- - src/hb-config.hh | 1 + - 2 files changed, 14 insertions(+), 1 deletion(-) - -commit 3d9be2ad5036aaf02b69095faaf9c18705c2c5bc -Merge: a20db496f 1a850abd6 -Author: n8willis -Date: Sun May 12 20:03:29 2019 +0100 - - Merge pull request #1665 from n8willis/docs-gtkdoc-colormath - - [Docs] Add gtk-doc comments for OT color and OT math - -commit a20db496f090abc5b937857b7c5f077161b6ffe4 -Author: Behdad Esfahbod -Date: Sun May 12 11:08:45 2019 -0700 - - Fix builds - - src/hb-subset-plan.cc | 2 ++ - 1 file changed, 2 insertions(+) - -commit 8694d6082901661e90e2ffcf732e9985a215063f -Author: Behdad Esfahbod -Date: Sun May 12 11:05:24 2019 -0700 - - [config] Enable HB_NO_MT in HB_TINY - - Now that user can override it if needed... - - Part of https://github.com/harfbuzz/harfbuzz/issues/1652 - - src/hb-config.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 7f6fca4ef78cf3c9384bf835def14219b2ce8791 -Author: Behdad Esfahbod -Date: Sun May 12 10:29:47 2019 -0700 - - Force-disable CFF code under disabling conditions - - Subsetter size goes down from 190kb to 119kb. Main library about 7kb. - - Part of https://github.com/harfbuzz/harfbuzz/issues/1652 - - src/hb-ot-cff1-table.cc | 4 ++++ - src/hb-ot-cff2-table.cc | 4 ++++ - src/hb-subset-cff1.cc | 4 ++++ - src/hb-subset-cff2.cc | 4 ++++ - 4 files changed, 16 insertions(+) - -commit 5249eee43748db32b40ad2602b3243d2491642b3 -Author: Behdad Esfahbod -Date: Sat May 11 16:12:07 2019 -0700 - - [config] Allow overriding chosen config - - src/hb-config.hh | 6 ++++++ - 1 file changed, 6 insertions(+) - -commit 30c059a978c91fcd38d47f1ac4a03295f887a7da -Author: Ebrahim Byagowi -Date: Sat May 11 18:48:41 2019 -0400 - - [test] minor, fix -Weverything bot - - test/fuzzing/main.cc | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit a29b1de55abca2e90733caff7423e5251d72e03c -Author: Nathan Willis -Date: Sat May 11 20:56:55 2019 +0100 - - Usermanual, fix up userfeatures example code in OpenType features section of shaping chapter. - - docs/usermanual-opentype-features.xml | 15 +++++++++++---- - 1 file changed, 11 insertions(+), 4 deletions(-) - -commit 78fcb14db9041af0e0d5ea209cf0cb1977f6dcc3 -Author: Nathan Willis -Date: Sat May 11 20:56:02 2019 +0100 - - Usermanual, minor: flesh out invisible-glyph discussion in buffers chapter. - - ...ermanual-buffers-language-script-and-direction.xml | 19 +++++++++++++++---- - 1 file changed, 15 insertions(+), 4 deletions(-) - -commit 25531a30394c451a7a2aee77928e0a550015b803 -Author: Ebrahim Byagowi -Date: Sat May 11 19:50:42 2019 +0000 - - [test] minor - - style fix and add return statement - - test/fuzzing/main.cc | 10 +++++++--- - 1 file changed, 7 insertions(+), 3 deletions(-) - -commit 1a850abd66999707b6f4795050e748fc879b92ef -Merge: 8a544171d a6048e4cd -Author: n8willis -Date: Sat May 11 20:16:57 2019 +0100 - - Merge branch 'master' into docs-gtkdoc-colormath - -commit 8a544171d15bb36c15ca7bf679643b2b14f94b45 -Author: Nathan Willis -Date: Sat May 11 20:11:49 2019 +0100 - - Corrections to OT Color gtk-doc comments. - - src/hb-ot-color.cc | 14 +++++++------- - 1 file changed, 7 insertions(+), 7 deletions(-) - -commit 301f5091f6663cc8a1fff848bf5285aa15cc0598 -Author: Nathan Willis -Date: Sat May 11 20:11:36 2019 +0100 - - Corrections to OT Math gtk-doc comments. - - src/hb-ot-math.cc | 33 +++++++++++++++++++++++---------- - 1 file changed, 23 insertions(+), 10 deletions(-) - -commit a6048e4cd013987ecb846e0683a7cf6f0caa65f9 -Author: Behdad Esfahbod -Date: Sat May 11 12:11:22 2019 -0700 - - Fix build - - src/hb-ot-font.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 32d3c06b61f2f4252f4403b55c6ba07fbb572149 -Author: Behdad Esfahbod -Date: Sat May 11 11:59:18 2019 -0700 - - Disable sbix if no-color or no-ot-font-bitmap - - Part of https://github.com/harfbuzz/harfbuzz/issues/1652 - - src/hb-ot-font.cc | 21 +++++++++++---------- - 1 file changed, 11 insertions(+), 10 deletions(-) - -commit 606841b07017ac80dea2fc5ada25b5976f2f9192 -Author: Behdad Esfahbod -Date: Sat May 11 11:54:30 2019 -0700 - - [iter] Check for more before forwarding/rewinding past ends - - src/hb-iter.hh | 4 ++-- - src/test-iter.cc | 6 ++---- - 2 files changed, 4 insertions(+), 6 deletions(-) - -commit c1c122e7b3f60dc7b5a224c68d2acb106fda8b49 -Author: David Corbett -Date: Sat May 11 11:38:06 2019 -0400 - - [iter] Fix filter rewinding - - src/hb-iter.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit b854d4ff46602104343201361919f30169144cf1 -Author: David Corbett -Date: Fri May 10 22:51:49 2019 -0400 - - [array] Fix rewinding - - src/hb-array.hh | 22 +++++++++++++--------- - 1 file changed, 13 insertions(+), 9 deletions(-) - -commit 76e80c5ca5e820e955438e4c727929ddd99e695e -Author: n8willis -Date: Sat May 11 19:51:24 2019 +0100 - - Update src/hb-ot-color.cc - - Co-Authored-By: Khaled Hosny - - src/hb-ot-color.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 79126df3070f00193fe3caefe9deb62c4520e048 -Author: Behdad Esfahbod -Date: Sat May 11 11:23:31 2019 -0700 - - [iter] Add hb_map_sorted() and hb_map_retains_sorting() - - src/hb-iter.hh | 38 +++++++++++++++++++++++++++++++------- - 1 file changed, 31 insertions(+), 7 deletions(-) - -commit bcd81932f0bcb2258276ae313709780e90e9b0f6 -Author: n8willis -Date: Sat May 11 14:10:32 2019 +0100 - - Update src/hb-ot-math.cc - - Co-Authored-By: Khaled Hosny - - src/hb-ot-math.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit ddc6dd42f753a20204898e41cc711b0100638330 -Author: n8willis -Date: Sat May 11 14:10:11 2019 +0100 - - Update src/hb-ot-math.cc - - Co-Authored-By: Khaled Hosny - - src/hb-ot-math.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 46e05ecca16e561a0ff4ca60bb064f480374590a -Author: n8willis -Date: Sat May 11 14:09:52 2019 +0100 - - Update src/hb-ot-color.cc - - Co-Authored-By: Khaled Hosny - - src/hb-ot-color.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 6d9870b4799f20a6c58a2c071713e56aa93b0221 -Author: n8willis -Date: Sat May 11 14:09:26 2019 +0100 - - Update src/hb-ot-color.cc - - Co-Authored-By: Khaled Hosny - - src/hb-ot-color.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 12ea4a24c40c7ac28d058e9721479347951e3482 -Author: n8willis -Date: Sat May 11 14:08:40 2019 +0100 - - Update src/hb-ot-color.cc - - Co-Authored-By: Khaled Hosny - - src/hb-ot-color.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 3535f2d31efe1ebe44ba63f980882ba23cdcde3b -Author: n8willis -Date: Sat May 11 14:07:38 2019 +0100 - - Update src/hb-ot-color.cc - - Co-Authored-By: Khaled Hosny - - src/hb-ot-color.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 12d2c472fe8ec3268a4b39a57603dcc734ab7b88 -Author: n8willis -Date: Sat May 11 14:06:56 2019 +0100 - - Update src/hb-ot-color.cc - - Co-Authored-By: Khaled Hosny - - src/hb-ot-color.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 7f45ce42dbf11366e904f48db45cf5405e4e94df -Author: Behdad Esfahbod -Date: Sat May 11 01:28:31 2019 -0700 - - [config] Rename - - src/hb-config.hh | 2 +- - src/hb-ot-layout.cc | 4 ++-- - 2 files changed, 3 insertions(+), 3 deletions(-) - -commit 0e78d4ddaec5f29d6652cc4185cbcca98c3a2927 -Author: Behdad Esfahbod -Date: Sat May 11 01:27:50 2019 -0700 - - [config] Add HB_NO_NAME - - Part of https://github.com/harfbuzz/harfbuzz/issues/1652 - - src/hb-config.hh | 6 +++++- - src/hb-ot-name.cc | 20 ++++++++++++++++++++ - 2 files changed, 25 insertions(+), 1 deletion(-) - -commit 1fc077211771c752768f63f178116d2b8f2f7d03 -Author: Behdad Esfahbod -Date: Sat May 11 01:24:23 2019 -0700 - - [config] HB_NO_OT_NAME_LANGUAGE AAT - - src/hb-config.hh | 4 ++-- - src/hb-ot-name-language-static.hh | 3 +++ - src/hb-ot-name-table.hh | 4 +++- - 3 files changed, 8 insertions(+), 3 deletions(-) - -commit 4381bb2de7a554a148302836b86a5d73264abeae -Author: Behdad Esfahbod -Date: Sat May 11 01:14:04 2019 -0700 - - [config] Comment - - src/hb-config.hh | 1 + - 1 file changed, 1 insertion(+) - -commit 9c921e6c32ab5ac4c524f554b7a7841eeeb0908f -Author: Behdad Esfahbod -Date: Sat May 11 01:08:51 2019 -0700 - - [config] Enable HB_NO_NAME_TABLE_AAT - - Part of https://github.com/harfbuzz/harfbuzz/issues/1652 - - src/hb-config.hh | 2 ++ - 1 file changed, 2 insertions(+) - -commit 81b79dfc397599182f43d63bf9346eee28e2d220 -Author: Behdad Esfahbod -Date: Sat May 11 00:53:52 2019 -0700 - - [config] Add HB_NO_COLOR to HB_LEAN - - Part of https://github.com/harfbuzz/harfbuzz/issues/1652 - - src/hb-config.hh | 1 + - src/hb-ot-color.cc | 49 +++++++++++++++++++++++++++++++++++++++++++++---- - src/hb-ot-color.h | 2 +- - src/hb-ot-layout.h | 2 +- - 4 files changed, 48 insertions(+), 6 deletions(-) - -commit b63a8e173cbc5a81f2ca4a0a82f20b9dafaedb30 -Author: Behdad Esfahbod -Date: Sat May 11 00:47:20 2019 -0700 - - [config Add HB_NO_OT_SHAPE_COMPLEX_VOWEL_CONSTRAINTS to LEAN - - Already I don't like the inflexibility of this approach :(. - - Part of https://github.com/harfbuzz/harfbuzz/issues/1652 - - src/hb-config.hh | 1 + - 1 file changed, 1 insertion(+) - -commit 42a21284778f3203d96133f74b0f846cd1567958 -Author: Behdad Esfahbod -Date: Sat May 11 00:44:22 2019 -0700 - - [config] Disbale getenv() and atexit() if HB_LEAN - - Part of https://github.com/harfbuzz/harfbuzz/issues/1652 - - src/hb-config.hh | 2 ++ - 1 file changed, 2 insertions(+) - -commit fca27860417812d51e40f040de97c10177b1250e -Author: Behdad Esfahbod -Date: Sat May 11 00:37:01 2019 -0700 - - [config] Make HB_DISABLE_DEPRECATED actually compile - - Part of https://github.com/harfbuzz/harfbuzz/issues/1652 - - src/hb-config.hh | 7 +++++++ - src/hb-font.cc | 8 ++++++++ - src/hb-font.hh | 12 ++++++++++-- - src/hb-graphite2.cc | 2 ++ - src/hb-icu.cc | 2 +- - src/hb-ot-layout.cc | 7 ++++++- - src/hb-ot-shape-fallback.cc | 4 ++++ - src/hb-ot-tag.cc | 4 ++++ - src/hb-ot-var-fvar-table.hh | 6 ++++++ - src/hb-ot-var.cc | 2 ++ - src/hb-set.cc | 2 ++ - src/hb-unicode.cc | 6 ++++++ - src/hb-unicode.hh | 10 +++++++--- - 13 files changed, 65 insertions(+), 7 deletions(-) - -commit 5a48611ccd045de5782ad2fd5f6718357fe232a2 -Author: Behdad Esfahbod -Date: Sat May 11 00:19:03 2019 -0700 - - [config] Add HB_NO_OT_LAYOUT_UNUSED - - Part of https://github.com/harfbuzz/harfbuzz/issues/1652 - - src/hb-config.hh | 1 + - src/hb-ot-layout.cc | 12 ++++++++++++ - 2 files changed, 13 insertions(+) - -commit 771f1b21d1d7128440d6b4488705456d43dbc0e7 -Author: Behdad Esfahbod -Date: Sat May 11 00:16:18 2019 -0700 - - [config] Adjust - - src/hb-config.hh | 12 +++++++----- - 1 file changed, 7 insertions(+), 5 deletions(-) - -commit 484f6e8215038006a945da67d245f14db3eeeb2e -Author: Behdad Esfahbod -Date: Sat May 11 00:13:35 2019 -0700 - - [config] Add HB_LEAN - - Part of https://github.com/harfbuzz/harfbuzz/issues/1652 - - src/hb-config.hh | 5 +++++ - src/hb-ot-math.cc | 40 ++++++++++++++++++++++++++++++++++++++++ - 2 files changed, 45 insertions(+) - -commit 0bfd14c0ed2f95f00d0b94d396c777399afa4d68 -Author: Behdad Esfahbod -Date: Sat May 11 00:06:57 2019 -0700 - - [config] Fix tests - - src/hb-config.hh | 3 +++ - 1 file changed, 3 insertions(+) - -commit 784df8eba1aaf20d2db464f8b3ea0984f7ea1308 -Author: Behdad Esfahbod -Date: Sat May 11 00:04:59 2019 -0700 - - [config] Flesh out more - - Part of https://github.com/harfbuzz/harfbuzz/issues/1652 - - src/hb-config.hh | 17 +++++++++++++++++ - 1 file changed, 17 insertions(+) - -commit 799c6a5081e5058260199eeeb2091ee2c1dfefff -Author: Behdad Esfahbod -Date: Fri May 10 23:55:22 2019 -0700 - - [config] Add some - - src/hb-aat-layout.cc | 26 +++++++++++++------------- - src/hb-aat-map.cc | 4 ++-- - src/hb-config.hh | 18 ++++++++++++++++++ - src/hb-ot-kern-table.hh | 14 +++++++------- - src/hb-ot-shape.cc | 22 +++++++++++----------- - 5 files changed, 51 insertions(+), 33 deletions(-) - -commit e6582de12f1af9ab5e3122d762a3e12438a66b6b -Author: Behdad Esfahbod -Date: Fri May 10 23:53:38 2019 -0700 - - Add hb-config.hh - - src/Makefile.sources | 1 + - src/hb-config.hh | 36 ++++++++++++++++++++++++++++++++++++ - src/hb.hh | 7 ++++--- - 3 files changed, 41 insertions(+), 3 deletions(-) - -commit d43af339e7a7f5dab1690703a78d2690baefbd59 -Author: Behdad Esfahbod -Date: Fri May 10 23:46:22 2019 -0700 - - [subset] More HB_NO_SUBSET_LAYOUT - - Part of https://github.com/harfbuzz/harfbuzz/issues/1652 - - src/hb-subset-plan.cc | 13 ++++++++----- - 1 file changed, 8 insertions(+), 5 deletions(-) - -commit 31c591d69f6a7605088883db59149e83c80d019c -Author: Behdad Esfahbod -Date: Fri May 10 23:39:53 2019 -0700 - - [cff] Prune more code if HB_NO_OT_FONT_CFF - - Part of https://github.com/harfbuzz/harfbuzz/issues/1652 - - src/hb-ot-cff1-table.cc | 5 +++++ - src/hb-ot-cff2-table.cc | 5 +++++ - 2 files changed, 10 insertions(+) - -commit 5ea8ad5c48f9baabc4ccf81dce4aee1067c401f6 -Author: Behdad Esfahbod -Date: Fri May 10 23:36:42 2019 -0700 - - [subset] Add HB_NO_SUBSET_CFF - - Doesn't fully prune all the relevant code. To be fixed later. - - Part of https://github.com/harfbuzz/harfbuzz/issues/1652 - - src/hb-subset.cc | 3 +++ - 1 file changed, 3 insertions(+) - -commit 2c93f0dee31b2277567ccbee041539732b9bd26d -Author: Behdad Esfahbod -Date: Fri May 10 23:31:05 2019 -0700 - - Add HB_NO_AAT - - Part of https://github.com/harfbuzz/harfbuzz/issues/1652 - - src/hb-aat-layout.cc | 58 +++++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-aat-map.cc | 8 +++++++ - src/hb-ot-kern-table.hh | 14 ++++++++++++ - src/hb-ot-shape.cc | 28 +++++++++++++++++++++++- - 4 files changed, 107 insertions(+), 1 deletion(-) - -commit 62dfe7aea23c95f4550543085071990e20ee4d54 -Author: Behdad Esfahbod -Date: Fri May 10 23:17:15 2019 -0700 - - [cff] Minor - - src/hb-subset-cff1.cc | 2 +- - src/hb-subset-cff2.cc | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit 227d85e138d4c785c2d658e225ed35f5acd1235f -Author: Behdad Esfahbod -Date: Fri May 10 23:15:58 2019 -0700 - - Minor - - src/hb-atomic.hh | 2 +- - src/hb-debug.hh | 2 +- - src/hb-font.cc | 2 +- - src/hb-ot-font.cc | 4 ++-- - src/hb-ot-layout.cc | 6 +++--- - src/hb-ot-name-table.hh | 2 +- - src/hb-ot-shape-complex-arabic.cc | 2 +- - src/hb-ot-shape-complex-hebrew.cc | 2 +- - src/hb-ot-shape-complex-thai.cc | 2 +- - src/hb-ot-shape-complex-vowel-constraints.cc | 2 +- - src/hb-ot-shape-fallback.cc | 6 +++--- - src/hb-subset.cc | 4 ++-- - src/hb-warning.cc | 4 ++-- - src/hb.hh | 10 +++++----- - 14 files changed, 25 insertions(+), 25 deletions(-) - -commit 9bfe22af6113ee8cd24cb9ee091f0841c27bbf98 -Author: Behdad Esfahbod -Date: Fri May 10 22:44:19 2019 -0700 - - [sanitize] Fix previous commit - - src/hb-open-type.hh | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 4dcf65328f04a11594fc190fd7e976afa54455e9 -Author: Behdad Esfahbod -Date: Fri May 10 22:23:24 2019 -0700 - - [sanitize] Simplify - - src/hb-open-type.hh | 45 ++++++++++----------------------------------- - 1 file changed, 10 insertions(+), 35 deletions(-) - -commit 23168c3981f7c80883663fa69c608caee98d3d99 -Author: Behdad Esfahbod -Date: Fri May 10 22:11:51 2019 -0700 - - [sanitize] Use hb_is_trivially_copyable() - - src/hb-open-type.hh | 64 +++++++---------------------------------------------- - 1 file changed, 8 insertions(+), 56 deletions(-) - -commit 0ff7954f9f09f80654ac91c16712154744a0dd2d -Author: Behdad Esfahbod -Date: Fri May 10 22:04:40 2019 -0700 - - [meta] Add hb_is_trivial - - src/hb-meta.hh | 7 +++++++ - src/test-meta.cc | 4 ++++ - 2 files changed, 11 insertions(+) - -commit 7162a97bca6e0dde3d277701a3bf15688deef61d -Author: Behdad Esfahbod -Date: Fri May 10 22:03:03 2019 -0700 - - [meta] Add hb_is_trivially_copyable() - - src/hb-meta.hh | 11 +++++++++++ - src/test-meta.cc | 4 ++++ - 2 files changed, 15 insertions(+) - -commit f2398f34c019a55d4f0e1a7031961714afadf2b3 -Author: Behdad Esfahbod -Date: Fri May 10 21:59:57 2019 -0700 - - [meta] Add is_trivially_destructible - - src/hb-meta.hh | 6 +++--- - src/test-meta.cc | 7 +++++-- - 2 files changed, 8 insertions(+), 5 deletions(-) - -commit 72cb5b8e52b7103c18adcb82cbcd4b91a2c85474 -Author: Behdad Esfahbod -Date: Fri May 10 21:50:15 2019 -0700 - - Remove accidentally included include - - src/test-meta.cc | 3 --- - 1 file changed, 3 deletions(-) - -commit 086772e409759e8f1edd0e34f6f25374e51e9e10 -Author: Behdad Esfahbod -Date: Fri May 10 21:49:25 2019 -0700 - - [meta] Add is_destructible - - src/hb-meta.hh | 14 ++++++++++++++ - 1 file changed, 14 insertions(+) - -commit b14745278ad16fe7f4e838b685029e3fdda516ca -Author: Behdad Esfahbod -Date: Fri May 10 21:42:59 2019 -0700 - - [met]a Add is_constructible, ... - - src/hb-meta.hh | 73 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ - src/test-meta.cc | 23 ++++++++++++++++++ - 2 files changed, 96 insertions(+) - -commit 19e08a146712dacd11359370c91a7bad55bc6f62 -Author: Behdad Esfahbod -Date: Fri May 10 21:25:07 2019 -0700 - - [iter] Adjust source_of/sink_of - - src/hb-iter.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit c0485e32a320e17dd0634b2cc8b4dd8c4fdc65e0 -Author: Behdad Esfahbod -Date: Fri May 10 21:03:14 2019 -0700 - - Use hb_void_t<> the way it's supposed to be used - - src/hb-null.hh | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - -commit 40fb36a39de5dd3ee9a4c84f1f76205b6bb68660 -Author: Behdad Esfahbod -Date: Fri May 10 21:01:19 2019 -0700 - - [meta] Minor - - src/hb-meta.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit f9a96a0a97f59a0b31ee0f901d1c21dde6b3cfaf -Author: Behdad Esfahbod -Date: Fri May 10 20:56:16 2019 -0700 - - [meta] More rewrites - - src/hb-meta.hh | 18 +++++++++--------- - 1 file changed, 9 insertions(+), 9 deletions(-) - -commit 5252677e53ff4473701172bbbd4e953ac6b08e6f -Author: Behdad Esfahbod -Date: Fri May 10 20:49:52 2019 -0700 - - [meta] Rewrite hb_int_min/max - - src/hb-meta.hh | 44 ++++++++++++++++++++++---------------------- - 1 file changed, 22 insertions(+), 22 deletions(-) - -commit caa3f92e91062ff78b657aec23569b099de48640 -Author: Behdad Esfahbod -Date: Fri May 10 20:43:51 2019 -0700 - - [meta] void_tt -> void_t - - src/hb-meta.hh | 9 ++++----- - 1 file changed, 4 insertions(+), 5 deletions(-) - -commit 7df3ecfb4069d275cd277c71165962bb5769364a -Author: Behdad Esfahbod -Date: Fri May 10 20:43:26 2019 -0700 - - [meta] hb_void_t -> hb_empty_t - - src/hb-debug.hh | 6 +++--- - src/hb-meta.hh | 2 +- - src/hb-ot-layout-gsub-table.hh | 2 +- - src/hb-ot-layout-gsubgpos.hh | 18 +++++++++--------- - 4 files changed, 14 insertions(+), 14 deletions(-) - -commit 149c3db8a2d41894b5d65f4c4b7c20757f6de6dd -Author: Behdad Esfahbod -Date: Fri May 10 20:34:52 2019 -0700 - - [meta] Minor - - src/hb-meta.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 707ff5b59d3903b60312a028f2ba5d74c18db101 -Author: Behdad Esfahbod -Date: Fri May 10 20:31:20 2019 -0700 - - Minor - - src/hb-meta.hh | 5 ----- - src/hb-open-type.hh | 2 +- - 2 files changed, 1 insertion(+), 6 deletions(-) - -commit ce300f4fb68a25d46d165e8b0a4825482c83a966 -Author: Behdad Esfahbod -Date: Fri May 10 20:26:29 2019 -0700 - - [meta] Rewrite is_signed, add is_unsigned - - src/hb-meta.hh | 29 ++++++++++++----------------- - 1 file changed, 12 insertions(+), 17 deletions(-) - -commit e939d88bd72e0db0ebe357649b7a0fa3447c0bf4 -Author: Behdad Esfahbod -Date: Fri May 10 20:20:51 2019 -0700 - - [meta] Rewrite is_integral / is_floating_point, add is_arithmetic - - src/hb-meta.hh | 49 +++++++++++++++++++++++++++++++------------------ - 1 file changed, 31 insertions(+), 18 deletions(-) - -commit c3a456a26e8e5f8bc483b326f1928e9c603a7216 -Author: Behdad Esfahbod -Date: Fri May 10 20:17:30 2019 -0700 - - [meta] Rewrite is_cr_convertible - - src/hb-meta.hh | 13 +++++-------- - 1 file changed, 5 insertions(+), 8 deletions(-) - -commit b4ad6af9c4ec30c462078bd93ae12653619c5fea -Author: Behdad Esfahbod -Date: Fri May 10 20:15:03 2019 -0700 - - [meta] Rewrite is_base_of - - src/hb-meta.hh | 5 +---- - 1 file changed, 1 insertion(+), 4 deletions(-) - -commit 5a171ed3a69313e10df6e42a03affb5e8bfe8e95 -Author: Behdad Esfahbod -Date: Fri May 10 20:11:29 2019 -0700 - - [null] Modernize template work - - src/hb-null.hh | 19 ++++++------------- - 1 file changed, 6 insertions(+), 13 deletions(-) - -commit 61d150c916d181cc3f333d0378108e08210370ad -Author: Behdad Esfahbod -Date: Fri May 10 20:06:31 2019 -0700 - - [meta] Add integral_constant, true_t -> true_type, false_t -> false_type - - src/hb-iter.hh | 20 ++++++++++---------- - src/hb-meta.hh | 17 ++++++++--------- - src/hb-null.hh | 4 ++-- - 3 files changed, 20 insertions(+), 21 deletions(-) - -commit 38e3a8bd531ef3d35ca0fbcfad09db3f83345038 -Author: Behdad Esfahbod -Date: Fri May 10 20:03:14 2019 -0700 - - [meta] bool_tt -> bool_constant - - src/hb-meta.hh | 6 +++--- - src/hb-null.hh | 4 ++-- - 2 files changed, 5 insertions(+), 5 deletions(-) - -commit 3919ca41b5e657764c7f75dfdc21cf8ca20bd66f -Author: Behdad Esfahbod -Date: Fri May 10 19:56:36 2019 -0700 - - [meta] Add is_floating_point - - src/hb-meta.hh | 33 +++++++++++++++++++-------------- - 1 file changed, 19 insertions(+), 14 deletions(-) - -commit 25bb7e005d96c367731fd8d129d764d101b1200f -Author: Behdad Esfahbod -Date: Fri May 10 19:49:26 2019 -0700 - - [meta] Add is_signed for floating point types - - src/hb-meta.hh | 3 +++ - 1 file changed, 3 insertions(+) - -commit e0315b4aadb3fbc6b618de56d643471e8d1f7859 -Author: Behdad Esfahbod -Date: Fri May 10 19:48:02 2019 -0700 - - [meta] is_integer -> is_integral - - src/hb-algs.hh | 2 +- - src/hb-map.hh | 4 ++-- - src/hb-meta.hh | 26 +++++++++++++------------- - 3 files changed, 16 insertions(+), 16 deletions(-) - -commit 9574de7a3e763b9c5eacf65b4b8c148724c00b82 -Author: Behdad Esfahbod -Date: Fri May 10 19:29:32 2019 -0700 - - [meta] Add add_const, add_pointer, add_lvalue_reference, add_rvalue_reference - - src/hb-meta.hh | 11 +++++++++++ - 1 file changed, 11 insertions(+) - -commit 2fb3a8327ab35248a0c7877c48422718cfbe375d -Author: Behdad Esfahbod -Date: Fri May 10 18:40:29 2019 -0700 - - [vector] Simplify arrayZ - - Was turned into function when we had static ones and wanted to be - move-safe... Not the case anymore. - - src/hb-coretext.cc | 2 +- - src/hb-ot-cff-common.hh | 2 +- - src/hb-uniscribe.cc | 10 +++---- - src/hb-vector.hh | 71 ++++++++++++++++++++++--------------------------- - 4 files changed, 39 insertions(+), 46 deletions(-) - -commit 4d67743ffd99ed9f2278ab21adfac7eb314c0df0 -Author: Behdad Esfahbod -Date: Fri May 10 16:35:31 2019 -0700 - - [subset] Use more auto typing - - src/hb-ot-layout-common.hh | 8 ++++---- - src/hb-ot-layout-gdef-table.hh | 2 +- - src/hb-ot-layout-gsubgpos.hh | 4 ++-- - 3 files changed, 7 insertions(+), 7 deletions(-) - -commit a27a31b9ee2601a05575cb581dc227caa73742c4 -Author: Behdad Esfahbod -Date: Fri May 10 16:26:19 2019 -0700 - - Minor - - src/hb-ot-layout-common.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 2ade0086286963ae2c65d44b94e63cb3836ce36b -Author: Behdad Esfahbod -Date: Fri May 10 16:21:03 2019 -0700 - - [serialize] More rewrite - - src/hb-ot-layout-common.hh | 42 ++++++++++++++++++++++++------------------ - 1 file changed, 24 insertions(+), 18 deletions(-) - -commit 99ed6e29d86bbf391c12ee1f980b8af9dc35615e -Author: Behdad Esfahbod -Date: Fri May 10 16:07:51 2019 -0700 - - [serialize] Fix a TODO - - src/hb-ot-layout-common.hh | 16 ++++++++++------ - 1 file changed, 10 insertions(+), 6 deletions(-) - -commit d8a49b53e3676ad742bdb8edf0ec3ca6f7a7cac9 -Author: rsheeter -Date: Fri May 10 16:52:43 2019 -0700 - - Update TESTING.md - - TESTING.md | 9 ++++++++- - 1 file changed, 8 insertions(+), 1 deletion(-) - -commit 25a5b287f220802728cd3312692f368c45d22862 -Author: Behdad Esfahbod -Date: Fri May 10 16:01:39 2019 -0700 - - Fix sanitize fail of extension sublookups - - Fixes https://bugs.chromium.org/p/chromium/issues/detail?id=960331 - - src/hb-ot-layout-common.hh | 10 ++++++++-- - src/hb-sanitize.hh | 2 ++ - ...uzz-testcase-minimized-harfbuzz_fuzzer-5702671124791296 | Bin 0 -> 94 bytes - 3 files changed, 10 insertions(+), 2 deletions(-) - -commit 9c0c3589f31106d1898f8922cc9a2e18cb054989 -Author: Behdad Esfahbod -Date: Fri May 10 13:56:50 2019 -0700 - - Minor - - src/hb-ot-layout-common.hh | 14 ++++++++------ - 1 file changed, 8 insertions(+), 6 deletions(-) - -commit 5d773ec60029e1a6edec45c27ea918d9be4ea806 -Author: Behdad Esfahbod -Date: Fri May 10 13:53:15 2019 -0700 - - Minor - - src/hb-ot-layout-gsubgpos.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit ac737f8c9e7cbc81cdb5a0542a2494671f236895 -Author: Behdad Esfahbod -Date: Fri May 10 13:51:12 2019 -0700 - - Minor again - - src/hb-ot-layout-gsubgpos.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 5d4437fad0f99508ebd5c026a3d927f5d649615e -Author: Behdad Esfahbod -Date: Fri May 10 13:43:29 2019 -0700 - - Minor - - src/hb-ot-layout-common.hh | 1 - - 1 file changed, 1 deletion(-) - -commit cd9bc732a75c716121a86e39ab588d2e0af58eba -Author: Behdad Esfahbod -Date: Fri May 10 13:17:41 2019 -0700 - - [gsubgpos] Minor - - src/hb-ot-layout-gsubgpos.hh | 9 ++------- - 1 file changed, 2 insertions(+), 7 deletions(-) - -commit 6d63e27ca41b12ba2e8fb22fd6bc44417651c518 -Author: Behdad Esfahbod -Date: Fri May 10 11:53:02 2019 -0700 - - Generate tarball in .xz instead of .bz2 - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1662 - - configure.ac | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 1d870cce68f7033f6d3967ce4e9ba622a6fafe79 -Author: Behdad Esfahbod -Date: Fri May 10 11:32:59 2019 -0700 - - Fix bot - - Any way to catch these? - - src/test-meta.cc | 26 +++++++++++++------------- - 1 file changed, 13 insertions(+), 13 deletions(-) - -commit 30e4ae6bd19bf297b029205b5f86c1a0ae14943d -Author: Behdad Esfahbod -Date: Fri May 10 11:26:39 2019 -0700 - - [meta] Add hb_is_base_of - - src/hb-meta.hh | 7 +++++++ - src/test-meta.cc | 16 ++++++++++++++++ - 2 files changed, 23 insertions(+) - -commit 98974ac16f5caf282c9c7cf0c417b494efd6af1d -Author: Behdad Esfahbod -Date: Fri May 10 11:18:52 2019 -0700 - - [iter] Adjust is_source_of / is_sink_of - - There are two cases that we accept. Encode both. - - src/hb-iter.hh | 8 +++++++- - 1 file changed, 7 insertions(+), 1 deletion(-) - -commit 1b58bf22ca70908bb578910757795ee32d48b65a -Author: rsheeter -Date: Thu May 9 20:06:29 2019 -0700 - - Update TESTING.md - - TESTING.md | 18 +++++++++--------- - 1 file changed, 9 insertions(+), 9 deletions(-) - -commit ed972d5d73ba0592e1ba92426adf2a8f67acf9c9 -Author: Behdad Esfahbod -Date: Thu May 9 16:58:28 2019 -0700 - - [iter] Rewrite test functions - - Notably, add hb_is_source_of(,) and hb_is_sink_of(,) to replace most - uses of hb_is_iterator_of(,). - - src/hb-iter.hh | 65 +++++++++++++++++++++++++++++----------------- - src/hb-open-type.hh | 7 +++-- - src/hb-ot-layout-common.hh | 6 ++--- - src/hb-ot-name-table.hh | 2 +- - src/test-iter.cc | 2 +- - 5 files changed, 49 insertions(+), 33 deletions(-) - -commit 42901d7af91b4c5cffee9752f653447e4f4bd4f7 -Author: Behdad Esfahbod -Date: Thu May 9 16:22:08 2019 -0700 - - Minor - - src/hb-meta.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 322627ae1daa16f62f7a91c3c3ed02eb5b708ca5 -Author: Behdad Esfahbod -Date: Thu May 9 16:08:10 2019 -0700 - - Whitespace - - src/hb-array.hh | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -commit 489f3c35bddb22cfe40c45d3a5c1cb6d88ccaf1f -Author: Behdad Esfahbod -Date: Thu May 9 15:39:32 2019 -0700 - - Fix bot - - src/test-meta.cc | 70 ++++++++++++++++++++++++++++---------------------------- - 1 file changed, 35 insertions(+), 35 deletions(-) - -commit 790315e0dbc0ce796f0081a60953f74bd3fbdb63 -Author: Behdad Esfahbod -Date: Thu May 9 15:31:24 2019 -0700 - - [algs] Implement implicit casting between compatible pair types - - src/hb-algs.hh | 5 +++++ - src/test-algs.cc | 3 +++ - 2 files changed, 8 insertions(+) - -commit 69d9114b5372c1fcea5f20e75a187158c31c52f8 -Author: Behdad Esfahbod -Date: Thu May 9 15:24:14 2019 -0700 - - [meta] Rewrite hb_is_cr_converitble - - src/hb-meta.hh | 22 ++++++++++------------ - 1 file changed, 10 insertions(+), 12 deletions(-) - -commit ceda1f03b7b06248ffd056eb7b2400088bb4a121 -Author: Behdad Esfahbod -Date: Thu May 9 15:19:42 2019 -0700 - - Fix compile - - NameRecord is not copy-constructible, so should be iterator of - const-reference. - - src/hb-meta.hh | 2 -- - src/hb-ot-name-table.hh | 2 +- - src/test-meta.cc | 12 ++++++++++++ - 3 files changed, 13 insertions(+), 3 deletions(-) - -commit 3686c3b65c017cf8689b67db440b4cddd399538b -Author: Behdad Esfahbod -Date: Thu May 9 15:09:07 2019 -0700 - - Adjust is_cr_convertible - - If To is const& then From doesn't need to be &. - - src/hb-meta.hh | 14 ++++++++++---- - 1 file changed, 10 insertions(+), 4 deletions(-) - -commit 726002a6a615e2d213186d402cca4e8d7e7a7f58 -Author: Behdad Esfahbod -Date: Thu May 9 14:53:02 2019 -0700 - - [iter] Make hb_is_iterator_of() check is_convertible - - Instead of is_cr_convertible. - - src/hb-array.hh | 8 ++++---- - src/hb-iter.hh | 2 +- - src/hb-meta.hh | 8 ++++---- - 3 files changed, 9 insertions(+), 9 deletions(-) - -commit 70a49f2e4a9ab05fe04d1949bbf7a128d14a1284 -Author: Behdad Esfahbod -Date: Thu May 9 14:35:15 2019 -0700 - - [meta] Add hb_conditional<> and hb_is_convertible() - - src/Makefile.am | 6 ++++- - src/hb-meta.hh | 56 +++++++++++++++++++++++++++++++++++++-------- - src/test-meta.cc | 70 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ - 3 files changed, 121 insertions(+), 11 deletions(-) - -commit 5e3cbed048b19ee579277ab4c56167a15d13104e -Author: Garret Rieger -Date: Wed May 8 16:33:03 2019 -0700 - - [subset] Switch building of glyph maps in subset plan to use iterators. - - src/hb-algs.hh | 4 +--- - src/hb-subset-plan.cc | 52 +++++++++++++++++++++++++-------------------------- - 2 files changed, 27 insertions(+), 29 deletions(-) - -commit 971020eca7c5d576816b93431607f1e63e9584a4 -Author: Garret Rieger -Date: Wed May 8 16:31:52 2019 -0700 - - Add sink support for hb_hashmap_t and a reverse call to hb_pair_t. - - src/hb-algs.hh | 5 +++++ - src/hb-map.hh | 4 ++++ - 2 files changed, 9 insertions(+) - -commit 98eec3dd5f527cc562d98784429db0c7269e82a8 -Author: Behdad Esfahbod -Date: Thu May 9 13:15:36 2019 -0700 - - Add hb_pair_t(,) macro as alternative to hb_pair_t<,> - - Just so it's easier to use it in other macros. - - src/hb-algs.hh | 1 + - 1 file changed, 1 insertion(+) - -commit c9b287a867d6130a0cc745d7fd3ccfa4dcb4c32e -Author: Behdad Esfahbod -Date: Thu May 9 12:43:57 2019 -0700 - - Add hb_lidentity(), and rename hb_rvalue() to hb_ridentity() - - src/hb-algs.hh | 13 ++++++++++++- - src/hb-map.hh | 4 ++-- - src/test-iter.cc | 2 +- - 3 files changed, 15 insertions(+), 4 deletions(-) - -commit 00195a22ce5198345cb39825a45863cef7d8f7fc -Author: Behdad Esfahbod -Date: Thu May 9 12:14:36 2019 -0700 - - [hdmx] Adjust to hb_iota() behavior change - - Use hb_range() instead. - - src/hb-ot-hdmx-table.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 4f2ad75a839708de71e7341f23c2d4b72059fc58 -Author: Behdad Esfahbod -Date: Thu May 9 12:07:45 2019 -0700 - - [enumerate] Fix hb_enumerate() len for step=0 - - src/hb-iter.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 5da3c9c33f02010a3fc57cf0e1d07955af681e7c -Author: Behdad Esfahbod -Date: Thu May 9 11:30:31 2019 -0700 - - [iter] Fix hb_zip() end condition - - We should compare-equal to end if either iterator's end reaches, - not if both reach at the same time. Fixes infinite-loop in test - which was happening after hb_enumerate() switched to using hb_zip(). - - src/hb-iter.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 57a5256fbcef6e5d29fc40cf019cc4b2c29c9dcf -Author: Behdad Esfahbod -Date: Thu May 9 11:30:27 2019 -0700 - - [iter] Minor - - src/hb-iter.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 12dd56f8573cb86169580d5ac31b986208805c03 -Author: Behdad Esfahbod -Date: Thu May 9 11:25:02 2019 -0700 - - [iter] Minor - - src/hb-iter.hh | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -commit 57d545932f539d06c52862310ecdfe79c143bb6b -Author: Behdad Esfahbod -Date: Thu May 9 11:23:41 2019 -0700 - - [test-iter] Don't walk past end - - That's not legal. - - src/test-iter.cc | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -commit 46837910e628248edc09e45e212532a3493905da -Author: Behdad Esfahbod -Date: Thu May 9 11:20:41 2019 -0700 - - [iter] Allow negative step in hb_iota() - - src/hb-iter.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 087327af1eac8c3a16115904557cbf3ab0f28072 -Author: Behdad Esfahbod -Date: Thu May 9 11:14:06 2019 -0700 - - [iter] Minor - - src/hb-iter.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 64f0899a9f5e5aff65c5a78fa796ceae6f35c008 -Author: Behdad Esfahbod -Date: Thu May 9 11:10:31 2019 -0700 - - [iter] Bug fix - - src/hb-iter.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 5d263556b95047bced88e4a6252178d2fc0f9a19 -Author: Behdad Esfahbod -Date: Thu May 9 11:08:25 2019 -0700 - - [iter] Fix - - src/hb-iter.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 2c24ea37b1ef63f79fcc24752dd180ce53540eda -Author: Behdad Esfahbod -Date: Thu May 9 11:07:38 2019 -0700 - - [iter] Take start value in hb_enumerate() - - Also rewrite it via composition. - - src/hb-iter.hh | 61 ++++++++++++-------------------------------------------- - src/test-iter.cc | 1 + - 2 files changed, 14 insertions(+), 48 deletions(-) - -commit 7675d0d3a6cc13ade1a2047019ef7fac8c373a3c -Author: Behdad Esfahbod -Date: Thu May 9 11:02:56 2019 -0700 - - [iter] Add hb_range() - - hb_range() is like Python range. hb_iota() has slightly different API. - Ie. it takes a start, instead of end. - - src/hb-iter.hh | 29 ++++++++++++++++++----------- - src/test-iter.cc | 19 +++++++++++-------- - 2 files changed, 29 insertions(+), 19 deletions(-) - -commit 05867d9f5315c7e4f49e5873a5aba6bba7121f04 -Author: Behdad Esfahbod -Date: Thu May 9 11:00:43 2019 -0700 - - [meta] Add hb_int_max() - - src/hb-meta.hh | 91 ++++++++++++++++++++++++++++++++++++---------------------- - 1 file changed, 56 insertions(+), 35 deletions(-) - -commit 71537f93e0ce27121012bf1e81270b6b03b22224 -Author: Behdad Esfahbod -Date: Thu May 9 10:46:49 2019 -0700 - - [iota] end -> end_ to not shadow - - src/hb-iter.hh | 22 +++++++++++----------- - 1 file changed, 11 insertions(+), 11 deletions(-) - -commit 6bc82579100992e3f04c11f36b9c2f0014d880f2 -Merge: 347644542 6d9a86ae7 -Author: n8willis -Date: Thu May 9 14:39:05 2019 +0100 - - Merge pull request #1680 from n8willis/usermanual-obj - - Usermanual: object-model chapter - -commit 3476445420d0e6432c09710b6667205453799129 -Author: Behdad Esfahbod -Date: Wed May 8 21:14:01 2019 -0700 - - Remove unnecessary template keyword - - Should fix MSVC. - - src/hb-array.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit e2a51ff7264940312197184318f5ad4ec971492f -Author: Behdad Esfahbod -Date: Wed May 8 16:41:39 2019 -0700 - - Remove unused var - - src/hb-open-type.hh | 1 - - 1 file changed, 1 deletion(-) - -commit e8b45c19330d8718cd6d7aef0ca2db0539a53294 -Author: Behdad Esfahbod -Date: Wed May 8 16:37:38 2019 -0700 - - [array] Add .copy() - - src/hb-array.hh | 11 +++++++++++ - src/hb-open-type.hh | 10 ++++------ - src/hb-serialize.hh | 2 +- - 3 files changed, 16 insertions(+), 7 deletions(-) - -commit afb013f350b0022ae6c05f140aeba23d5de34101 -Author: Behdad Esfahbod -Date: Wed May 8 16:16:43 2019 -0700 - - Fix msan issue - - hb_identity returns rvalue-reference if input is rvalue. That, can leak - the reference and cause in bad access to temporaries after they are - destructed. This is unfortunately unfixable given the desired - transparency of hb_identity :(. Just don't use it with hb_map(). - - src/test-iter.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 4c94bc63d914fac7e11940eb165b6cf1039ba5a1 -Author: Behdad Esfahbod -Date: Wed May 8 15:57:33 2019 -0700 - - Move hb_invoke() back to hb-algs.hh - - src/hb-algs.hh | 32 ++++++++++++++++++++++++++++++++ - src/hb-meta.hh | 32 -------------------------------- - 2 files changed, 32 insertions(+), 32 deletions(-) - -commit b710176ce28e863a01797987d7ce37d19aaf2fd3 -Author: Behdad Esfahbod -Date: Wed May 8 15:46:51 2019 -0700 - - [hdmx] Touch up - - src/hb-ot-hdmx-table.hh | 24 ++++++++++++++---------- - 1 file changed, 14 insertions(+), 10 deletions(-) - -commit e8ef0e627c493af700e254bdd2767f8955f2d03f -Author: Garret Rieger -Date: Tue May 7 17:23:02 2019 -0700 - - [subset] WIP convert hdmx subsetting to use iterators. - - src/hb-ot-hdmx-table.hh | 121 +++++++++++++++++++------------------------- - test/api/test-subset-hdmx.c | 23 --------- - 2 files changed, 51 insertions(+), 93 deletions(-) - -commit d5decf9bf77db914b67ffc446379df621516e362 -Author: Garret Rieger -Date: Tue May 7 15:47:38 2019 -0700 - - [subset] Move hdmx to subset2. - - src/hb-ot-hdmx-table.hh | 36 ++++++------------------------------ - src/hb-subset.cc | 2 +- - 2 files changed, 7 insertions(+), 31 deletions(-) - -commit 27b2093009745b6c30663605f45ac95deb1562cc -Author: Behdad Esfahbod -Date: Wed May 8 15:32:57 2019 -0700 - - [map] Return rvalues from keys()/values() - - src/hb-algs.hh | 7 +++++++ - src/hb-map.hh | 2 ++ - 2 files changed, 9 insertions(+) - -commit 372c5b97bfa3b744de1d017cf662607eb8a2fa6e -Author: Behdad Esfahbod -Date: Wed May 8 15:28:39 2019 -0700 - - [map] Fix bots - - Older compilers don't like calling iter() from return-type decltype() - - ../src/hb-map.hh:226:12: error: cannot call member function 'decltype ((((+ hb_array(((const hb_hashmap_t*)this)->hb_hashmap_t::items, (((const hb_hashmap_t*)this)->hb_hashmap_t::mask ? (((const hb_hashmap_t*)this)->hb_hashmap_t::mask + 1) : 0))) | hb_filter((& hb_hashmap_t::item_t:: is_real))) | hb_map((& hb_hashmap_t::item_t:: get_pair)))) hb_hashmap_t::iter() const [with K = const hb_serialize_context_t::object_t*; V = unsigned int; K kINVALID = 0u; V vINVALID = 0u; decltype ((((+ hb_array(((const hb_hashmap_t*)this)->hb_hashmap_t::items, (((const hb_hashmap_t*)this)->hb_hashmap_t::mask ? (((const hb_hashmap_t*)this)->hb_hashmap_t::mask + 1) : 0))) | hb_filter((& hb_hashmap_t::item_t:: is_real))) | hb_map((& hb_hashmap_t::item_t:: get_pair)))) = hb_map_iter_t::item_t>, bool (hb_hashmap_t::item_t::*)() const, const&, 0u>, hb_pair_t (hb_hashmap_t::item_t::*)() const, 0u>]' without object - + iter() - ^ - ../src/hb-meta.hh:58:41: note: in definition of macro 'HB_AUTO_RETURN' - #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } - ^ - - src/hb-map.hh | 10 ++++++---- - 1 file changed, 6 insertions(+), 4 deletions(-) - -commit a30482718491e3455365167e1c85981c8c0f542b -Author: Behdad Esfahbod -Date: Wed May 8 15:08:10 2019 -0700 - - [map] Add .values() iterator - - src/hb-map.hh | 6 +++++- - src/test-iter.cc | 8 ++++++++ - 2 files changed, 13 insertions(+), 1 deletion(-) - -commit 3c69505b3a7850b68a931849a2badb84b6b36d51 -Author: Behdad Esfahbod -Date: Wed May 8 15:05:10 2019 -0700 - - [map] Fix iter - - src/hb-map.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 5ceaafa5de8dff51fe91f7008a12ec9c304a1376 -Author: Behdad Esfahbod -Date: Wed May 8 14:59:25 2019 -0700 - - [algs] Fix identity return type - - src/hb-algs.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit f5705d7656817cbfdbc4479b1cb0be3af6f4abdf -Author: Behdad Esfahbod -Date: Wed May 8 14:46:55 2019 -0700 - - Whitespace - - src/hb-map.hh | 10 +++++----- - src/test-iter.cc | 11 +++++++---- - 2 files changed, 12 insertions(+), 9 deletions(-) - -commit a17f0fa3a10a25959561582ae63ef2e5208647e2 -Author: Behdad Esfahbod -Date: Wed May 8 14:44:11 2019 -0700 - - [meta] Capture rvalue-references in is_reference / remove_reference - - src/hb-meta.hh | 1 + - 1 file changed, 1 insertion(+) - -commit 7166bd563447a64eda05c66668bd4a178292bd79 -Author: Behdad Esfahbod -Date: Wed May 8 14:24:57 2019 -0700 - - Minor - - src/hb-open-type.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit b827181ba1f539c990e1bd8fdd3559f1589c8d28 -Author: rsheeter -Date: Wed May 8 13:51:11 2019 -0700 - - [map] tweak test-iter.cc - - src/hb-map.hh | 1 - - src/test-iter.cc | 2 +- - 2 files changed, 1 insertion(+), 2 deletions(-) - -commit 492af0f1bf1d7198b474fda2faca451908af267f -Author: rsheeter -Date: Wed May 8 12:47:18 2019 -0700 - - [map] add keys() - - src/hb-map.hh | 9 ++++++++- - src/test-iter.cc | 4 ++++ - 2 files changed, 12 insertions(+), 1 deletion(-) - -commit ba60512813caafc2006b26214e95bbfe1c0e460a -Author: rsheeter -Date: Wed May 8 12:09:10 2019 -0700 - - [map] add a test for iteration - - src/hb-map.hh | 2 +- - src/test-iter.cc | 4 ++++ - 2 files changed, 5 insertions(+), 1 deletion(-) - -commit 183b8094b577dcb7f40b7fcd64b60d405845897a -Author: rsheeter -Date: Wed May 8 11:40:31 2019 -0700 - - [map] add iteration - - src/hb-map.hh | 11 +++++++++++ - 1 file changed, 11 insertions(+) - -commit df237d2fe78086ad16bdbd2cc60639ae9ce909d6 -Author: Ebrahim Byagowi -Date: Wed May 8 14:17:14 2019 -0700 - - [test] Add https://crbug.com/oss-fuzz/14641 testcase - - As 503748d fix - - ...-testcase-minimized-hb-subset-fuzzer-5676773460672512 | Bin 0 -> 2172 bytes - 1 file changed, 0 insertions(+), 0 deletions(-) - -commit 02ae2591d930563cec8c3c63086afb0a3a12c4aa -Author: Michiharu Ariza -Date: Wed May 8 13:44:03 2019 -0700 - - initialize return param subr_num in popSubrNum - - also snake_cased popSubrtNum and other surrounding function names - - src/hb-cff-interp-cs-common.hh | 15 ++++++++------- - src/hb-subset-cff1.cc | 4 ++-- - src/hb-subset-cff2.cc | 4 ++-- - 3 files changed, 12 insertions(+), 11 deletions(-) - -commit 503748d8a80dd5db450c8c4dc109f2b97049d989 -Author: Behdad Esfahbod -Date: Wed May 8 12:45:02 2019 -0700 - - [name] Sanitize records for reals - - Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=14641 - - src/hb-ot-name-table.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 5875d775e1253c0e14b900539c28c2de881da7aa -Author: Behdad Esfahbod -Date: Wed May 8 12:25:34 2019 -0700 - - [iter] Rename hb_iter_t() to hb_iter_type<> and add hb_item_type<> - - src/hb-iter.hh | 18 ++++++++++-------- - 1 file changed, 10 insertions(+), 8 deletions(-) - -commit bad16066392e4dbdd8490a4b1c70d1dcddcc8ec8 -Author: Behdad Esfahbod -Date: Wed May 8 12:11:52 2019 -0700 - - [map] Make .has() optionally return value - - src/hb-map.hh | 7 ++++++- - 1 file changed, 6 insertions(+), 1 deletion(-) - -commit 750d5af48e38627c3c84a2f3857a7ee602221e24 -Author: Behdad Esfahbod -Date: Wed May 8 12:01:55 2019 -0700 - - Make compiler happy with -Og - - src/hb-cff-interp-cs-common.hh | 2 +- - src/hb-ot-cmap-table.hh | 6 +++--- - src/hb-ot-glyf-table.hh | 2 +- - src/hb-subset-glyf.cc | 4 ++-- - 4 files changed, 7 insertions(+), 7 deletions(-) - -commit cdb61eb0431d426f7152f975e89ee3ba4431083f -Author: Behdad Esfahbod -Date: Wed May 8 11:00:18 2019 -0700 - - [iter] Accept pointer in hb_iter() and hb_iter_t() - - src/hb-iter.hh | 4 ++-- - src/test-iter.cc | 3 +++ - 2 files changed, 5 insertions(+), 2 deletions(-) - -commit c93eeba9b21cb8f8ba64ebaf284bf9c8a8544886 -Author: Behdad Esfahbod -Date: Wed May 8 10:56:09 2019 -0700 - - [iter] Accept pointer in hb_map() - - src/hb-iter.hh | 4 ++-- - src/test-iter.cc | 7 ++++++- - 2 files changed, 8 insertions(+), 3 deletions(-) - -commit 4c9e0c37a34e8355d752af39507b310f473bffa5 -Author: Behdad Esfahbod -Date: Wed May 8 10:40:39 2019 -0700 - - [serialize] LangSys subset->copy - - src/hb-ot-layout-common.hh | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -commit 50dc3e7d9f4f290c7353313c5e5f888cb7c4846d -Author: Behdad Esfahbod -Date: Wed May 8 10:35:02 2019 -0700 - - Add hb_iota() - - src/hb-iter.hh | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ - src/test-iter.cc | 10 ++++++++++ - 2 files changed, 61 insertions(+) - -commit aa4ac13f0be34bba66b00d04fd7806c474ff59c0 -Author: Behdad Esfahbod -Date: Wed May 8 10:02:30 2019 -0700 - - [iter] Actually fix previous commit - - The iter objects shouldn't not be const. D'oh. - - src/hb-iter.hh | 16 ++++++++-------- - 1 file changed, 8 insertions(+), 8 deletions(-) - -commit a66598e0306fe80063c5d6a678bbca4a931bc4d4 -Author: Behdad Esfahbod -Date: Wed May 8 09:56:29 2019 -0700 - - [iter] For ref-qualified variants - - src/hb-iter.hh | 14 ++++++++++---- - 1 file changed, 10 insertions(+), 4 deletions(-) - -commit fa576ce1874fd886688bf3f16b714d86aebb07ec -Author: rsheeter -Date: Wed May 8 09:53:58 2019 -0700 - - Update README.md - - README.md | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit d109c9e767ff3198d51e23a7ac8931d0bc4d5d72 -Author: rsheeter -Date: Wed May 8 09:53:29 2019 -0700 - - Update README.md - - README.md | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 4063181791d6b3efb35e7c748dee12273e64ebd4 -Author: rsheeter -Date: Wed May 8 09:47:34 2019 -0700 - - [docs] add fuzzer instructions (courtesy of Garret) - - TESTING.md | 10 ++++++++++ - 1 file changed, 10 insertions(+) - -commit 00946ca3aa45f109c455871ce89c5872fd243624 -Author: Roderick Sheeter -Date: Wed May 8 09:42:35 2019 -0700 - - [docs] add sample commands for test exec - - README.md | 4 ++++ - TESTING.md | 47 +++++++++++++++++++++++++++++++++++++++++++++++ - 2 files changed, 51 insertions(+) - -commit 8479eb5955c93cbc8951d0319b2fe43ff19cc403 -Author: Behdad Esfahbod -Date: Wed May 8 09:48:55 2019 -0700 - - [iter] Fix hb_sink() to accept rvalue - - src/hb-iter.hh | 2 +- - src/test-iter.cc | 4 ++++ - 2 files changed, 5 insertions(+), 1 deletion(-) - -commit 710d459acac88fd784d4ead0ba75b9aa623c48d4 -Author: Behdad Esfahbod -Date: Wed May 8 09:33:09 2019 -0700 - - [iter] Default predicates to hb_identity instead of hb_bool - - The bool conversion happens after predicate is called automatically. - - src/hb-iter.hh | 16 ++++++++-------- - 1 file changed, 8 insertions(+), 8 deletions(-) - -commit fe14a4000a58528878bcc75fde0972de2b779316 -Author: Behdad Esfahbod -Date: Wed May 8 09:32:19 2019 -0700 - - Adjust hb_all/any/none - - src/hb-iter.hh | 18 +++++++++--------- - src/test-iter.cc | 10 ++++++---- - 2 files changed, 15 insertions(+), 13 deletions(-) - -commit 4a101d8ffccd6f907f16ef190125ded5e27e0d8b -Author: Behdad Esfahbod -Date: Wed May 8 09:16:33 2019 -0700 - - Add hb_match - - src/hb-algs.hh | 30 +++++++++++++++++++++++++++++- - 1 file changed, 29 insertions(+), 1 deletion(-) - -commit 26adefd9eaf4bc1d80b1ffececf0d86f3308f9ee -Author: Behdad Esfahbod -Date: Wed May 8 09:14:44 2019 -0700 - - [algs] Try f[v] in hb_get() as last resort - - src/hb-algs.hh | 10 ++++++++-- - 1 file changed, 8 insertions(+), 2 deletions(-) - -commit 0601a19d38b2b0fc5dd36fd821af634a49322ebf -Author: Behdad Esfahbod -Date: Wed May 8 07:47:36 2019 -0700 - - Fix a few more double-pomotion errors - - src/hb-coretext.cc | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 2ba984fcbbef4561d35c3a2c502610c38b26f4fb -Author: Behdad Esfahbod -Date: Tue May 7 23:28:22 2019 -0700 - - Fix signed comparison on 32bit - - src/hb-sanitize.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit dfc57802450360f06026668b7b61495aaa2d1943 -Author: Behdad Esfahbod -Date: Tue May 7 23:26:09 2019 -0700 - - Fix more double-promotion errors - - WHy do only some of the clang bots catch this I have no idea :(. - - src/hb-aat-layout-trak-table.hh | 4 ++-- - src/hb-font.hh | 2 +- - src/hb-open-type.hh | 4 ++-- - src/hb-ot-color-cbdt-table.hh | 12 ++++++------ - src/hb-ot-color-sbix-table.hh | 10 +++++----- - src/hb-ot-layout-gpos-table.hh | 20 ++++++++++---------- - 6 files changed, 26 insertions(+), 26 deletions(-) - -commit c2c9d204fa5c2189e369726276a1c0e92e09a9ce -Author: Behdad Esfahbod -Date: Tue May 7 23:13:38 2019 -0700 - - Fix double-promotion warnings - - Make it an error. - - src/hb-ot-var-fvar-table.hh | 12 ++++++------ - src/hb.hh | 1 + - 2 files changed, 7 insertions(+), 6 deletions(-) - -commit 2c7093ed01f417828d5521d983eae63042363197 -Author: Behdad Esfahbod -Date: Tue May 7 23:10:59 2019 -0700 - - More tests - - src/test-algs.cc | 3 +++ - 1 file changed, 3 insertions(+) - -commit 56d2d0294b836ea1e2dea9e242ae72c99387d00a -Author: Behdad Esfahbod -Date: Tue May 7 23:08:49 2019 -0700 - - [algs] Sprinkle hb_min/max with hb-forward salad - - Let's see if fixes MSVC fail. Though, the error doesn't make sense to me. - - hb-blob.cc - c:\projects\harfbuzz\src\hb-algs.hh(166): error C2440: 'return': cannot convert from 'unsigned int' to 'unsigned int &&' [C:\projects\harfbuzz\build\harfbuzz.vcxproj] - c:\projects\harfbuzz\src\hb-algs.hh(166): note: You cannot bind an lvalue to an rvalue reference - c:\projects\harfbuzz\src\hb-algs.hh(174): note: see reference to function template instantiation 'T &&::impl(T &&,T2) const' being compiled - with - [ - T=unsigned int, - T2=unsigned int & - ] - - src/hb-algs.hh | 10 ++++++---- - 1 file changed, 6 insertions(+), 4 deletions(-) - -commit bdbfdc92b58d5c9f8654e430075dab543d1ba394 -Author: Behdad Esfahbod -Date: Tue May 7 22:52:43 2019 -0700 - - [iter] Add value and projection to hb_all/any/none - - Allows for eg, checking all values equal 2: hb_all (it, 2). - - src/hb-iter.hh | 24 ++++++++++++++++++------ - src/test-iter.cc | 10 +++++++++- - 2 files changed, 27 insertions(+), 7 deletions(-) - -commit cf61acb9eaa2bb3fe479a9050116b4b96934e3ed -Author: Behdad Esfahbod -Date: Tue May 7 22:45:01 2019 -0700 - - [iter] Accept rvalues to hb_enumerate() - - src/hb-iter.hh | 2 +- - src/test-iter.cc | 2 ++ - 2 files changed, 3 insertions(+), 1 deletion(-) - -commit e8bd5fc3fa2cc5c5f8f254629553902aed3496ba -Author: Behdad Esfahbod -Date: Tue May 7 22:29:40 2019 -0700 - - [meta] Move hb_invoke from algs to meta - - src/hb-algs.hh | 31 ------------------------------- - src/hb-meta.hh | 32 ++++++++++++++++++++++++++++++++ - 2 files changed, 32 insertions(+), 31 deletions(-) - -commit af571dbffc12e6bb7a3146762d12bb4ac3f19bdc -Author: Behdad Esfahbod -Date: Tue May 7 21:39:20 2019 -0700 - - [meta] Replace most hb_enable_if with hb_requires - - They do absolutely same thing. hb_requires is to encode constraints, - whereas hb_enable_if is for more conditional enabling. - - src/hb-iter.hh | 63 +++++++++++++++++++++------------------------- - src/hb-open-type.hh | 6 ++--- - src/hb-ot-layout-common.hh | 6 ++--- - src/test-iter.cc | 6 ++--- - 4 files changed, 37 insertions(+), 44 deletions(-) - -commit 6fa1f38070e710b2f80a836bd633b6ab33e1bc80 -Author: Behdad Esfahbod -Date: Tue May 7 21:33:26 2019 -0700 - - [algs] Accept varargs in hb_min/max - - src/hb-algs.hh | 24 +++++++++++++++++++++--- - src/test-algs.cc | 8 ++++++++ - 2 files changed, 29 insertions(+), 3 deletions(-) - -commit 1ad07080c3ea7f6a1b3cb247529ec0c78575a6d3 -Author: Behdad Esfahbod -Date: Tue May 7 21:00:23 2019 -0700 - - Rename - - src/hb-algs.hh | 24 ++++++++++++------------ - 1 file changed, 12 insertions(+), 12 deletions(-) - -commit 83e3eabd84e2b53c696768d1357a6a259bcd3576 -Author: Behdad Esfahbod -Date: Tue May 7 20:58:43 2019 -0700 - - Whitespace - - src/hb-aat-layout-common.hh | 2 +- - src/hb-aat-layout-kerx-table.hh | 2 +- - src/hb-aat-layout-morx-table.hh | 2 +- - src/hb-algs.hh | 6 +++--- - src/hb-dispatch.hh | 2 +- - src/hb-open-type.hh | 18 +++++++++--------- - src/hb-ot-kern-table.hh | 4 ++-- - src/hb-ot-layout-common.hh | 2 +- - src/hb-ot-layout-gpos-table.hh | 16 ++++++++-------- - src/hb-ot-layout-gsub-table.hh | 14 +++++++------- - src/hb-ot-layout-gsubgpos.hh | 8 ++++---- - src/hb-sanitize.hh | 6 +++--- - src/hb-serialize.hh | 12 ++++++------ - src/hb-subset.hh | 6 +++--- - 14 files changed, 50 insertions(+), 50 deletions(-) - -commit 2b9402a86a4e37e6386f8028bdf3789ae262a4c4 -Author: Behdad Esfahbod -Date: Tue May 7 20:55:33 2019 -0700 - - Use universal references in hb_min/max - - src/hb-algs.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 41248cce0e32653227a83eb4e42ccf793f040fc2 -Author: Behdad Esfahbod -Date: Tue May 7 20:54:31 2019 -0700 - - Remove MIN/MAX in favor of hb_min/hb_max - - src/hb-aat-layout-common.hh | 8 ++++---- - src/hb-aat-layout-feat-table.hh | 2 +- - src/hb-aat-layout-kerx-table.hh | 2 +- - src/hb-aat-layout-morx-table.hh | 18 +++++++++--------- - src/hb-algs.hh | 14 +++++--------- - src/hb-array.hh | 4 ++-- - src/hb-blob.cc | 2 +- - src/hb-buffer-serialize.cc | 32 ++++++++++++++++---------------- - src/hb-buffer.cc | 4 ++-- - src/hb-buffer.hh | 2 +- - src/hb-common.cc | 20 ++++++++++---------- - src/hb-coretext.cc | 6 +++--- - src/hb-debug.hh | 2 +- - src/hb-directwrite.cc | 2 +- - src/hb-ft.cc | 2 +- - src/hb-iter.hh | 2 +- - src/hb-open-file.hh | 2 +- - src/hb-open-type.hh | 2 +- - src/hb-ot-cmap-table.hh | 8 ++++---- - src/hb-ot-color-cbdt-table.hh | 6 +++--- - src/hb-ot-color-cpal-table.hh | 2 +- - src/hb-ot-color-sbix-table.hh | 2 +- - src/hb-ot-glyf-table.hh | 14 +++++++------- - src/hb-ot-hmtx-table.hh | 2 +- - src/hb-ot-layout-gpos-table.hh | 2 +- - src/hb-ot-layout-gsub-table.hh | 4 ++-- - src/hb-ot-layout-gsubgpos.hh | 6 +++--- - src/hb-ot-layout.cc | 2 +- - src/hb-ot-map.cc | 8 ++++---- - src/hb-ot-post-table.hh | 2 +- - src/hb-ot-shape-complex-indic.cc | 8 ++++---- - src/hb-ot-shape-complex-use.cc | 2 +- - src/hb-ot-shape.cc | 4 ++-- - src/hb-ot-tag.cc | 2 +- - src/hb-ot-var-avar-table.hh | 2 +- - src/hb-ot-var-fvar-table.hh | 18 +++++++++--------- - src/hb-sanitize.hh | 4 ++-- - src/hb-uniscribe.cc | 2 +- - 38 files changed, 111 insertions(+), 115 deletions(-) - -commit 5c0f62adc969696b46c1ceb57cd3c2fa408eb94f -Author: Behdad Esfahbod -Date: Tue May 7 17:23:46 2019 -0700 - - [serializer] Accept pointer & reference in more methods - - src/hb-serialize.hh | 39 ++++++++++++++++++++++++--------------- - 1 file changed, 24 insertions(+), 15 deletions(-) - -commit 839618de3b3da285e8753b6ca6d767e9a483bfde -Author: Behdad Esfahbod -Date: Tue May 7 17:21:27 2019 -0700 - - [serializer] Minor - - src/hb-serialize.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 035b818e34bbd2d5c1f65328c9847c845d74d919 -Author: Behdad Esfahbod -Date: Tue May 7 17:21:18 2019 -0700 - - [meta] Fix addressof() - - src/hb-meta.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 7654ebe3a51c98b4d3bf6fb11779024f1c770962 -Author: Behdad Esfahbod -Date: Tue May 7 16:53:03 2019 -0700 - - Whitespace - - src/hb-algs.hh | 30 ++++++++++++++++++++---------- - src/hb-iter.hh | 39 ++++++++++++++++++++++++++------------- - src/hb-meta.hh | 11 ++++++----- - 3 files changed, 52 insertions(+), 28 deletions(-) - -commit 95426ea983bde01fadf4681926cb77e3b3c0d40a -Author: Behdad Esfahbod -Date: Tue May 7 15:56:51 2019 -0700 - - Add comment - - src/hb-open-type.hh | 1 + - 1 file changed, 1 insertion(+) - -commit e33ad252222481a6078a8bb423505e713b081313 -Author: Behdad Esfahbod -Date: Tue May 7 15:46:24 2019 -0700 - - [serialize] FeatureVariations subset->copy - - src/hb-ot-layout-common.hh | 6 +++--- - src/hb-ot-layout-gsubgpos.hh | 2 +- - 2 files changed, 4 insertions(+), 4 deletions(-) - -commit fa8c4ba81175f671c3f39f1586d0a1d9067d9f89 -Author: Behdad Esfahbod -Date: Tue May 7 14:26:03 2019 -0700 - - Minor - - src/hb-serialize.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit c09d6c58e99dba50f29a569e4c53916b5b507ef1 -Author: Behdad Esfahbod -Date: Tue May 7 14:09:00 2019 -0700 - - [iter] Require lvalue in operators that return reference - - src/hb-iter.hh | 16 ++++++++-------- - 1 file changed, 8 insertions(+), 8 deletions(-) - -commit 52f6c04c1e0eab2aaa0c7d817b212c01ba993fe9 -Author: Behdad Esfahbod -Date: Tue May 7 13:45:48 2019 -0700 - - Minor - - src/hb-serialize.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 7c037bd2be2e794dfd882b806f684ad74c56dbb8 -Author: Behdad Esfahbod -Date: Tue May 7 13:37:43 2019 -0700 - - [name] Clean up some more - - src/hb-meta.hh | 2 ++ - src/hb-ot-name-table.hh | 30 ++++++++++++++---------------- - 2 files changed, 16 insertions(+), 16 deletions(-) - -commit f982b9d9f8d6b61efd2a3e89cc3d34923c1914b0 -Author: Behdad Esfahbod -Date: Tue May 7 13:29:01 2019 -0700 - - [name] Clean up serialize() API - - src/hb-ot-name-table.hh | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 59ee61fddc76cd18f19f351bca7dd293eb610333 -Author: Behdad Esfahbod -Date: Tue May 7 13:26:15 2019 -0700 - - [name] Use iterators more - - src/hb-ot-name-table.hh | 46 +++++++++++++++------------------------------- - src/hb-subset-plan.cc | 3 +++ - 2 files changed, 18 insertions(+), 31 deletions(-) - -commit 2eb7e0e0e923d096d2598133cacd6e5ee04a6a04 -Author: Behdad Esfahbod -Date: Tue May 7 12:45:38 2019 -0700 - - [serialize] Minor - - src/hb-serialize.hh | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -commit 1c81cff2d3f9df2c18ffbdfff02ed418560480c1 -Author: Behdad Esfahbod -Date: Tue May 7 11:51:10 2019 -0700 - - Fix signed-comparison error on 32bit - - src/hb-serialize.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 938de315756e08bd2b5fa816c7951640e5835b2e -Author: Behdad Esfahbod -Date: Tue May 7 11:47:02 2019 -0700 - - Comment - - src/hb-subset-glyf.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 159fe962e90dd3b758ad10046b9d75cf87c1d4f3 -Author: Behdad Esfahbod -Date: Tue May 7 11:46:11 2019 -0700 - - [doc] Make header search more resilient - - How stupid to scan all files... Sigh. - - docs/Makefile.am | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 9b05db33b54e6e5f0b4658f4c06e7fe563f8923b -Author: Behdad Esfahbod -Date: Tue May 7 11:39:44 2019 -0700 - - [ragel] Regenerate ragel-generated files using ragel 7.0.0.11 May 2018 - - src/hb-buffer-deserialize-json.hh | 1051 +++++------ - src/hb-buffer-deserialize-text.hh | 1009 +++++------ - src/hb-ot-shape-complex-indic-machine.hh | 2678 ++++++++++++++++------------ - src/hb-ot-shape-complex-khmer-machine.hh | 709 ++++---- - src/hb-ot-shape-complex-myanmar-machine.hh | 820 +++++---- - src/hb-ot-shape-complex-use-machine.hh | 1144 ++++++------ - 6 files changed, 3959 insertions(+), 3452 deletions(-) - -commit 521262b236dacf7b2b64e0a1d3c79d6a10b07063 -Author: Behdad Esfahbod -Date: Tue May 7 11:08:08 2019 -0700 - - [subset] Add TODO - - src/hb-subset.cc | 2 ++ - 1 file changed, 2 insertions(+) - -commit e6a622b5b202533d64f83e71d7ff8a8104d46e26 -Author: Behdad Esfahbod -Date: Tue May 7 11:06:43 2019 -0700 - - [serialize] Enable bias assertion - - src/hb-serialize.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 530ddbbc320bd24b4902ee6d49bf80242a591794 -Author: Behdad Esfahbod -Date: Tue May 7 11:05:51 2019 -0700 - - [serialize] Use range-based loop - - src/hb-serialize.hh | 15 ++++++--------- - 1 file changed, 6 insertions(+), 9 deletions(-) - -commit 0987c4204fae66f80224c6f01d9c5dc3abe809e0 -Author: Behdad Esfahbod -Date: Tue May 7 11:01:02 2019 -0700 - - [name] Remove dead code - - src/hb-ot-name-table.hh | 88 +------------------------------------------------ - 1 file changed, 1 insertion(+), 87 deletions(-) - -commit 5ac4ab686809be9352e91bc3213e1edf3ba66a93 -Author: Behdad Esfahbod -Date: Thu May 2 16:29:07 2019 -0700 - - [subset] fix for name table serializing with new serializer machinery - - src/hb-ot-name-table.hh | 8 ++++++-- - test/api/fonts/nameID.expected.ttf | Bin 170696 -> 2388 bytes - 2 files changed, 6 insertions(+), 2 deletions(-) - -commit c548fcedc404c03442c042059a71194d97d23bb6 -Author: Behdad Esfahbod -Date: Thu May 2 16:29:07 2019 -0700 - - [WIP] [name] Port to fancy serializer machinery - - src/hb-ot-name-table.hh | 18 +++++++++++------- - 1 file changed, 11 insertions(+), 7 deletions(-) - -commit fa2d97161f8b7de3d7a70e06d41b6f7e154012ad -Author: Behdad Esfahbod -Date: Tue May 7 00:34:50 2019 -0700 - - Remove use of deprecated implicit copy/move assignment operators - - By removing custom copy constructor. - - src/hb-meta.hh | 2 -- - 1 file changed, 2 deletions(-) - -commit 45f5e56236912359d0ac72310dcdba9259cfee66 -Author: Behdad Esfahbod -Date: Tue May 7 00:33:32 2019 -0700 - - Warn on -Wdeprecated - - src/hb.hh | 1 + - 1 file changed, 1 insertion(+) - -commit c3e0eafc80481f8c16516fdae1841c563e7253d4 -Author: Ebrahim Byagowi -Date: Tue May 7 12:04:00 2019 +0430 - - [ci] Upgrade Ubuntu 17.10 bots to 19.04 - - .circleci/config.yml | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 8903040fcd09e7d7ad5112ac2a583718bb85795d -Author: Behdad Esfahbod -Date: Tue May 7 00:13:11 2019 -0700 - - Actually make it work - - src/hb-iter.hh | 2 ++ - src/hb-meta.hh | 6 ++++-- - 2 files changed, 6 insertions(+), 2 deletions(-) - -commit 025eaa3c81214cdb20f2f588bab665512d21507c -Author: Behdad Esfahbod -Date: Tue May 7 00:05:37 2019 -0700 - - [iter] Make filter/map copyable - - src/hb-iter.hh | 18 +++++++++--------- - src/test-iter.cc | 4 ++-- - 2 files changed, 11 insertions(+), 11 deletions(-) - -commit 03a68165d8296ed5cc0eb2434500381419409e79 -Author: Behdad Esfahbod -Date: Tue May 7 00:03:35 2019 -0700 - - [meta] Add hb_reference_wrapper<> - - Functionality kinda superset of std:: counterpart. - - src/hb-meta.hh | 21 +++++++++++++++++++++ - 1 file changed, 21 insertions(+) - -commit 0bf86d9c5dcb0de206b38c3cf1824d2254376f37 -Author: Behdad Esfahbod -Date: Mon May 6 23:39:26 2019 -0700 - - Whitespace - - src/hb-meta.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 72eb91deb9eb7a08e38e100a3234518651fe4cb8 -Author: Behdad Esfahbod -Date: Mon May 6 23:39:13 2019 -0700 - - Add hb_ref() - - Unused. - - src/hb-meta.hh | 10 ++++++++++ - 1 file changed, 10 insertions(+) - -commit 240f57e58d3b0161feb90621d5db9e2fc4d99b27 -Author: Behdad Esfahbod -Date: Mon May 6 23:17:39 2019 -0700 - - Rename hb_deref_pointer() to hb_deref() - - src/hb-algs.hh | 12 ++++++------ - src/hb-map.hh | 2 +- - src/hb-meta.hh | 2 +- - src/hb-serialize.hh | 2 +- - 4 files changed, 9 insertions(+), 9 deletions(-) - -commit 0b1ca5a13b6921cb4d00f8651bb99fc7c7037ec2 -Author: Behdad Esfahbod -Date: Mon May 6 23:04:32 2019 -0700 - - [iter] Adjust hb_filter - - src/hb-iter.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 4c2fd05ca5fa34303b986c34948b512d770ab8fe -Author: Behdad Esfahbod -Date: Mon May 6 19:57:15 2019 -0700 - - [iter] Implement range-based for loops - - Part of https://github.com/harfbuzz/harfbuzz/issues/1648 - - src/hb-array.hh | 6 ++++ - src/hb-iter.hh | 74 ++++++++++++++++++++++++++++++++++++++++++++-- - src/hb-ot-layout-common.hh | 14 +++++++++ - src/hb-set.hh | 3 ++ - src/test-iter.cc | 28 ++++++++++++++---- - 5 files changed, 118 insertions(+), 7 deletions(-) - -commit e261dc3a4043230ae1b4f56e2cc7d3133b7da4ca -Author: Ebrahim Byagowi -Date: Tue May 7 01:24:55 2019 +0430 - - Ignore -Wc++11-compat as we require C++11 actually - - pollutes gcc bots logs https://circleci.com/gh/harfbuzz/harfbuzz/85395 - - src/hb.hh | 1 + - 1 file changed, 1 insertion(+) - -commit 9f9890e9e82c620e733d123f421f7c63d91ce8e1 -Author: Behdad Esfahbod -Date: Mon May 6 12:16:51 2019 -0700 - - Remove HB_NO_OPTIONS in favor of HB_NO_GETENV - - Part of https://github.com/harfbuzz/harfbuzz/issues/1652 - - src/hb-debug.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 36bb24f7b4dbbe171b945639bac749c46785e17c -Author: Behdad Esfahbod -Date: Sun May 5 10:14:17 2019 -0700 - - [dispatch] Forward arguments in all dispatch multiplexers - - src/hb-aat-layout-kerx-table.hh | 14 ++++----- - src/hb-aat-layout-morx-table.hh | 14 ++++----- - src/hb-ot-kern-table.hh | 16 +++++----- - src/hb-ot-layout-common.hh | 6 ++-- - src/hb-ot-layout-gpos-table.hh | 68 ++++++++++++++++++++--------------------- - src/hb-ot-layout-gsub-table.hh | 58 +++++++++++++++++------------------ - src/hb-ot-layout-gsubgpos.hh | 32 +++++++++---------- - 7 files changed, 104 insertions(+), 104 deletions(-) - -commit c14efb8e68e31fb7537bcfe5eea779c0830a0b0c -Author: Behdad Esfahbod -Date: Sun May 5 09:54:58 2019 -0700 - - Fix previous commit - - Priority should be given to specific over dispatch. Broke sanitize before. - This fixes it, by moving prioritization to the context implementation, since - the correct priority cannot be done in the dispatch implementation. Done - for subset and sanitize only, which need it. - - src/hb-aat-layout-common.hh | 2 +- - src/hb-dispatch.hh | 10 +--------- - src/hb-ot-layout-gsubgpos.hh | 14 +++++++------- - src/hb-sanitize.hh | 16 +++++++++++++--- - src/hb-subset.hh | 15 ++++++++++++--- - 5 files changed, 34 insertions(+), 23 deletions(-) - -commit b10f65933a77434bf8d68058793037f38a8ed5a6 -Author: Behdad Esfahbod -Date: Sun May 5 09:23:35 2019 -0700 - - [dispatch] Use functionality from previous commit - - To remove a couple of unwanted wrapper methods - - src/hb-dispatch.hh | 15 +++++++++------ - src/hb-open-type.hh | 10 +++++----- - src/hb-ot-layout-gpos-table.hh | 6 ------ - src/hb-ot-layout-gsub-table.hh | 6 ------ - src/hb-sanitize.hh | 5 +++-- - src/hb-subset.hh | 5 +++-- - 6 files changed, 20 insertions(+), 27 deletions(-) - -commit ac350c92fd6b04845c6240a5f3b77ceaf29e51d0 -Author: Behdad Esfahbod -Date: Sun May 5 09:10:46 2019 -0700 - - [dispatch] Try obj.dispatch(c) before trying c->dispatch(obj) - - src/hb-aat-layout-common.hh | 2 +- - src/hb-dispatch.hh | 13 +++++++++++++ - src/hb-ot-layout-gsubgpos.hh | 14 +++++++------- - src/hb-sanitize.hh | 2 +- - src/hb-subset.hh | 4 ++-- - 5 files changed, 24 insertions(+), 11 deletions(-) - -commit 49252c42bb00380663ba9612e075c07f1be606b3 -Author: Michiharu Ariza -Date: Fri May 3 10:42:11 2019 -0700 - - get rid of O(n^2) loop from apply_deltas_to_points - - src/hb-ot-var-gvar-table.hh | 55 +++++++++++++++++++++++++++++++-------------- - 1 file changed, 38 insertions(+), 17 deletions(-) - -commit 0d5fd168f8e3c1202358a82161a28e407149b1b4 -Author: Behdad Esfahbod -Date: Fri May 3 10:37:32 2019 -0700 - - Revert "[WIP] [name] Port to fancy serializer machinery" - - This reverts commit c7f366fbbb208d0a9103ac4ee4ac00ff726c31e4. - - Don't know how it got to master! - - src/hb-ot-name-table.hh | 18 +++++++----------- - 1 file changed, 7 insertions(+), 11 deletions(-) - -commit 72e3eba8f87e2a8b145a4f98e24499f0aafe099b -Author: Cody Planteen -Date: Thu May 2 13:03:15 2019 -0600 - - Add configuration option HB_NO_GETENV to disable use of getenv() - - src/hb.hh | 12 ++++++++++-- - 1 file changed, 10 insertions(+), 2 deletions(-) - -commit c7f366fbbb208d0a9103ac4ee4ac00ff726c31e4 -Author: Behdad Esfahbod -Date: Thu May 2 16:29:07 2019 -0700 - - [WIP] [name] Port to fancy serializer machinery - - src/hb-ot-name-table.hh | 18 +++++++++++------- - 1 file changed, 11 insertions(+), 7 deletions(-) - -commit 8855af38a8497d7788924d368baa9eeae4916940 -Author: Behdad Esfahbod -Date: Thu May 2 16:26:06 2019 -0700 - - [name] Add NameRecord::copy() - - src/hb-ot-name-table.hh | 10 ++++++++++ - 1 file changed, 10 insertions(+) - -commit 097bb3f0af391dbb5d498df548b769f165f35c8a -Author: Behdad Esfahbod -Date: Thu May 2 16:25:00 2019 -0700 - - [name] Minor changes - - src/hb-ot-name-table.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 431b6e1c449582619169722e16b472e872b02d58 -Author: Behdad Esfahbod -Date: Thu May 2 16:22:32 2019 -0700 - - [serialize] Disable assertion for now - - src/hb-serialize.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 8a32c9eecbdc907415195eca9ebad47c8acf2df5 -Author: Behdad Esfahbod -Date: Thu May 2 16:20:18 2019 -0700 - - [serialize] Misc getting copy() to work - - src/hb-open-type.hh | 16 +++++++++------- - src/hb-serialize.hh | 26 ++++++++++++++++---------- - 2 files changed, 25 insertions(+), 17 deletions(-) - -commit 7d497a3a92973d4cec14888b932091f49de1d190 -Author: Behdad Esfahbod -Date: Thu May 2 16:20:03 2019 -0700 - - [debug] Allow return_trace() to return any type - - src/hb-debug.hh | 14 ++++++++------ - 1 file changed, 8 insertions(+), 6 deletions(-) - -commit 49b1c763a0459d586b7f0aa86eadd13d21b24867 -Author: Behdad Esfahbod -Date: Thu May 2 16:19:34 2019 -0700 - - [test] Run "fonttools ttx" instead of "ttx" - - test/subset/run-tests.py | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -commit 91176d5b778b44172591e82ba84127e5eff1372d -Author: Behdad Esfahbod -Date: Thu May 2 15:12:07 2019 -0700 - - [serialize] Check offset base is within (possibly end of) object - - src/hb-serialize.hh | 1 + - 1 file changed, 1 insertion(+) - -commit 0f1a6ce8268b197732aab40069bbda57eddac2e0 -Author: Behdad Esfahbod -Date: Thu May 2 15:03:41 2019 -0700 - - [name] Fix format of susbetted table to 0 - - src/hb-ot-name-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 87810fc958e28d0c5e05097b1b3fe78d962fdc62 -Author: Behdad Esfahbod -Date: Thu May 2 14:45:57 2019 -0700 - - [name] Use variable forwarding to simplify sanitize() - - src/hb-ot-name-table.hh | 7 ++----- - 1 file changed, 2 insertions(+), 5 deletions(-) - -commit bf91b418b0e988619c230156f5f062c5d2802dd8 -Author: Behdad Esfahbod -Date: Thu May 2 14:42:37 2019 -0700 - - [name] - - src/hb-ot-name-table.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 998b0b68ac2eafd1d5bca51b3723fa753e4db7c4 -Author: Behdad Esfahbod -Date: Thu May 2 14:39:52 2019 -0700 - - [serializer] Add copy() to (Unsized)ArrayOf - - src/hb-open-type.hh | 41 +++++++++++++++++++++++++++++++++++++++++ - src/hb-serialize.hh | 4 ++-- - 2 files changed, 43 insertions(+), 2 deletions(-) - -commit 88a41472404a8e7754e1099ca4a5b2146dae5298 -Author: Behdad Esfahbod -Date: Thu May 2 14:22:31 2019 -0700 - - [serializer] Accept exact type in serialize_subset/copy() - - src/hb-open-type.hh | 12 ++++++------ - src/hb-ot-layout-common.hh | 33 ++------------------------------- - src/hb-ot-layout-gpos-table.hh | 6 ++++++ - src/hb-ot-layout-gsub-table.hh | 6 ++++++ - 4 files changed, 20 insertions(+), 37 deletions(-) - -commit 88fdeeecc0ef57e41219d92c90f35f13cbd3a35e -Author: Behdad Esfahbod -Date: Thu May 2 14:14:33 2019 -0700 - - [serialize] Take arguments in copy() - - src/hb-open-type.hh | 6 +++--- - src/hb-serialize.hh | 10 ++++++---- - 2 files changed, 9 insertions(+), 7 deletions(-) - -commit 273ed6127bd9471fd11b3c1c7f232638f1ff1dba -Author: Behdad Esfahbod -Date: Thu May 2 14:04:51 2019 -0700 - - [serializer] Add serialize_copy() - - src/hb-open-type.hh | 14 ++++++++++++++ - 1 file changed, 14 insertions(+) - -commit bf22338f49fb1711f7cbcad2d9949d7962cdc0bc -Author: Behdad Esfahbod -Date: Thu May 2 13:51:52 2019 -0700 - - Remove dead code - - src/hb-algs.hh | 3 --- - 1 file changed, 3 deletions(-) - -commit 157a414bd9fb8b1b7a066603e7c44b8680b48e28 -Author: Michiharu Ariza -Date: Thu May 2 11:25:10 2019 -0700 - - fix mixup of TRACE_SUBSET/SERIALIZE - - src/hb-ot-layout-common.hh | 4 ++-- - src/hb-ot-var-hvar-table.hh | 4 ++-- - 2 files changed, 4 insertions(+), 4 deletions(-) - -commit 14e1fabc41a9a5ead3d91d560773050469982f54 -Author: David Corbett -Date: Wed May 1 21:29:06 2019 -0400 - - Sync gen-vowel-constraints.py with current output - - src/gen-vowel-constraints.py | 3 +++ - 1 file changed, 3 insertions(+) - -commit 026ab825c8e41980e286be911cc6fbb958dd7cd3 -Author: David Corbett -Date: Wed May 1 16:15:58 2019 -0400 - - Add dotted circles to more broken clusters - - src/gen-use-table.py | 9 + - src/hb-ot-shape-complex-myanmar-machine.hh | 196 +++++----- - src/hb-ot-shape-complex-myanmar-machine.rl | 4 +- - src/hb-ot-shape-complex-use-machine.hh | 602 +++++++++++++++-------------- - src/hb-ot-shape-complex-use-machine.rl | 11 +- - src/hb-ot-shape-complex-use-table.cc | 2 +- - 6 files changed, 433 insertions(+), 391 deletions(-) - -commit 92588782d7a45e0c023c5f48cbd19b11cfa8f0d2 -Author: Ebrahim Byagowi -Date: Tue Apr 30 13:05:10 2019 -0700 - - Remove space between right angle brackets now that we have C++11 (#1689) - - src/hb-aat-layout-ankr-table.hh | 2 +- - src/hb-aat-layout-common.hh | 14 +++---- - src/hb-aat-layout-just-table.hh | 4 +- - src/hb-aat-layout-kerx-table.hh | 14 +++---- - src/hb-aat-layout-lcar-table.hh | 2 +- - src/hb-aat-layout-morx-table.hh | 14 +++---- - src/hb-aat-layout-trak-table.hh | 2 +- - src/hb-aat-ltag-table.hh | 2 +- - src/hb-cff-interp-cs-common.hh | 2 +- - src/hb-cff1-interp-cs.hh | 2 +- - src/hb-cff2-interp-cs.hh | 2 +- - src/hb-iter.hh | 4 +- - src/hb-null.hh | 8 ++-- - src/hb-open-file.hh | 8 ++-- - src/hb-open-type.hh | 8 ++-- - src/hb-ot-color-cbdt-table.hh | 2 +- - src/hb-ot-color-colr-table.hh | 4 +- - src/hb-ot-color-cpal-table.hh | 8 ++-- - src/hb-ot-color-sbix-table.hh | 2 +- - src/hb-ot-color-svg-table.hh | 4 +- - src/hb-ot-kern-table.hh | 6 +-- - src/hb-ot-layout-base-table.hh | 2 +- - src/hb-ot-layout-common.hh | 10 ++--- - src/hb-ot-layout-gdef-table.hh | 4 +- - src/hb-ot-layout-gpos-table.hh | 6 +-- - src/hb-ot-layout-gsub-table.hh | 18 ++++----- - src/hb-ot-layout-gsubgpos.hh | 86 ++++++++++++++++++++--------------------- - src/hb-ot-math-table.hh | 2 +- - src/hb-ot-name-table.hh | 10 ++--- - src/hb-ot-stat-table.hh | 4 +- - src/hb-subset-cff1.cc | 2 +- - src/test-iter.cc | 10 ++--- - 32 files changed, 134 insertions(+), 134 deletions(-) - -commit f27fdca4aa438ec366ee17370fbc9fdeb962c397 -Author: Ebrahim Byagowi -Date: Tue Apr 30 13:01:04 2019 -0700 - - [doc] Add documentation to hb_color_get_* and hb_directwrite_face_* (#1690) - - src/hb-common.cc | 12 ++++++++---- - src/hb-directwrite.cc | 8 ++++++-- - 2 files changed, 14 insertions(+), 6 deletions(-) - -commit c52294eb28e9b043306f91611e4444651fe5e8ef -Author: Michiharu Ariza -Date: Tue Apr 30 10:40:45 2019 -0700 - - renaming & arg reorder - - src/hb-ot-var-hvar-table.hh | 56 ++++++++++++++++++++++----------------------- - 1 file changed, 28 insertions(+), 28 deletions(-) - -commit fe4a0ac707802b5bb36787723f8d55a58c2946a5 -Author: David Corbett -Date: Tue Apr 30 13:35:50 2019 -0400 - - Fix some dead links - - src/gen-os2-unicode-ranges.py | 2 +- - src/gen-use-table.py | 6 +++--- - src/hb-ot-shape-complex-myanmar.hh | 2 +- - 3 files changed, 5 insertions(+), 5 deletions(-) - -commit 68749e996aedbae9b1c4553f5672f74e1727b850 -Author: Nathan Willis -Date: Tue Apr 30 17:23:55 2019 +0100 - - [Docs] Usermanual; update XML manifest for new chapters. - - docs/Makefile.am | 4 ++-- - docs/harfbuzz-docs.xml | 4 ++-- - 2 files changed, 4 insertions(+), 4 deletions(-) - -commit 30d7d1064ee339ca216699851030f9bae8c07c68 -Author: Nathan Willis -Date: Tue Apr 30 17:23:19 2019 +0100 - - [Docs] Usermanual; add Utilities chapter. - - docs/usermanual-utilities.xml | 244 ++++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 244 insertions(+) - -commit d0f5a05aef73293fe21ddb022084166a7a095862 -Author: Nathan Willis -Date: Tue Apr 30 17:22:54 2019 +0100 - - [Docs] Usermanual; add Shaping, Features, and Plans. - - docs/usermanual-opentype-features.xml | 279 +++++++++++++++++++++++++++++++++- - 1 file changed, 277 insertions(+), 2 deletions(-) - -commit 8354c99fbee2887cb71440f4e25ad1e6f46b2592 -Author: Nathan Willis -Date: Tue Apr 30 17:22:08 2019 +0100 - - [Docs] Usermanual; add Fonts And Faces chapter. - - docs/usermanual-fonts-and-faces.xml | 445 +++++++++++++++++++++++++++++++++++- - 1 file changed, 437 insertions(+), 8 deletions(-) - -commit 3b301c5ac6b15728f858cb6f5de8dfc6a77209fa -Author: Nathan Willis -Date: Tue Apr 30 17:21:33 2019 +0100 - - [Docs] Usermanual; fill out Buffers chapter. - - ...anual-buffers-language-script-and-direction.xml | 358 +++++++++++++++++++-- - 1 file changed, 335 insertions(+), 23 deletions(-) - -commit 6d9a86ae7535ea8e3c108a49c6da877a78cdac26 -Author: Nathan Willis -Date: Tue Apr 30 16:09:01 2019 +0100 - - [Docs] Usermanual; fixes to Object Model chapter - - docs/usermanual-object-model.xml | 35 ++++++++++++++++++++++------------- - 1 file changed, 22 insertions(+), 13 deletions(-) - -commit 1223a352b7c8d1cc362693b850f348af4d4d03fb -Merge: aa3ac5924 9542bdd0e -Author: Michiharu Ariza -Date: Mon Apr 29 16:43:48 2019 -0700 - - Merge branch 'master' into var-subset - -commit 9542bdd0ed2d581cdb4bd950ac3cd7e3bf899478 -Author: Ebrahim Byagowi -Date: Mon Apr 29 14:52:28 2019 -0700 - - Add color channels getters ABI (#1513) - - So can be used with language wrappers - - src/hb-common.cc | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-common.h | 40 +++++++++++----------------------------- - 2 files changed, 64 insertions(+), 29 deletions(-) - -commit e200d165a4e8a5f901165c705d617b6e457ec595 -Author: Ebrahim Byagowi -Date: Tue Apr 30 02:10:50 2019 +0430 - - [ci] Remove crosscompile-notest-freebsd9 bot - - It was testing an old version of freebsd and now it's image is gone. - We really like to test the environment. - - .circleci/config.yml | 10 ---------- - 1 file changed, 10 deletions(-) - -commit 4aa546b70ad7b11154b901e67f98c1ec6bc5c364 -Author: David Corbett -Date: Mon Apr 29 14:16:51 2019 -0400 - - Allow some Balinese Po & So as aksara modre bases - - src/gen-use-table.py | 10 ++++++++-- - src/hb-ot-shape-complex-use-table.cc | 4 ++-- - 2 files changed, 10 insertions(+), 4 deletions(-) - -commit 6d6edc8b25395c87477181a647a8e6d02f2cad4f -Author: Ebrahim Byagowi -Date: Sun Apr 28 11:54:07 2019 -0700 - - [valgrind] Use libtool and support run-subset-fuzzer-tests (#1668) - - test/fuzzing/Makefile.am | 4 +- - test/fuzzing/run-shape-fuzzer-tests.py | 28 ++++++------ - test/fuzzing/run-subset-fuzzer-tests.py | 75 ++++++++++++++++++++++++++++++--- - 3 files changed, 85 insertions(+), 22 deletions(-) - -commit 62c6e170728303f4225aaa25523675fc260ae1ab -Author: Ebrahim Byagowi -Date: Sun Apr 28 10:55:07 2019 -0700 - - [test] Add crbug.com/oss-fuzz/14474 testcase - - Fixed at 6977a95f - - ...testcase-minimized-hb-subset-fuzzer-5716947896893440 | Bin 0 -> 65833 bytes - 1 file changed, 0 insertions(+), 0 deletions(-) - -commit 6977a95fed8a35d6e915ed3fc3a3ea8709f3d4a4 -Author: Behdad Esfahbod -Date: Sat Apr 27 10:05:25 2019 -0700 - - [subset] Don't crash if subsetting GSUB/GPOS fails - - Fixes fuzzer issue. - - src/hb-subset.cc | 27 ++++++++++++++------------- - 1 file changed, 14 insertions(+), 13 deletions(-) - -commit 2b051e7aa147c78cfbf953b6f0eb18c25b732eb2 -Author: Behdad Esfahbod -Date: Sat Apr 27 10:01:11 2019 -0700 - - [subset] Check error after calling serializer end - - src/hb-subset.cc | 5 ++--- - 1 file changed, 2 insertions(+), 3 deletions(-) - -commit 750b65e9a980efc13e50ea5d0388ecf06e7a93b1 -Author: Behdad Esfahbod -Date: Fri Apr 26 17:14:25 2019 -0700 - - [meta] Add hb_type_identity<> - - To block template argument deduction. - - src/hb-meta.hh | 4 ++++ - 1 file changed, 4 insertions(+) - -commit 8c8922a019eb1ceb8beffc05ca638ee0ca25b565 -Author: Qunxin Liu -Date: Thu Apr 25 09:17:58 2019 -0700 - - [subset] Updates due to changes in resolve_links() on master branch - - src/Makefile.sources | 1 + - src/hb-ot-name-table.hh | 7 +++++-- - src/hb-static.cc | 3 +-- - 3 files changed, 7 insertions(+), 4 deletions(-) - -commit 2f6ec35344db08d0c892152bc7a7eaa67e7c03f0 -Author: Garret Rieger -Date: Wed Apr 24 15:15:36 2019 -0700 - - Move implementations of hb-ot-name-language.cc into a hb-static.cc - - src/hb-aat-layout.hh | 1 - - src/hb-ot-name-language-static.hh | 462 ++++++++++++++++++++++++++++++++++++++ - src/hb-ot-name-language.hh | 432 +---------------------------------- - src/hb-static.cc | 2 + - 4 files changed, 468 insertions(+), 429 deletions(-) - -commit 19afd25004487cfaa7b487b1768b4dae1ab37296 -Author: Qunxin Liu -Date: Wed Apr 24 14:02:29 2019 -0700 - - [subset] Update to use _subset2() for name table - - src/hb-ot-name-table.hh | 47 ++++++++++------------------------------------- - src/hb-subset.cc | 4 ++-- - 2 files changed, 12 insertions(+), 39 deletions(-) - -commit 1ca4b5c77012ed586413f39e730b03bf965e1305 -Author: Qunxin Liu -Date: Mon Apr 22 11:31:23 2019 -0700 - - [subset] Add unit test for str de-dup - Also move the implementation of some methods from the .cc to the .hh - - src/Makefile.sources | 1 - - src/hb-aat-layout.cc | 8 - - src/hb-aat-layout.hh | 9 +- - src/hb-ot-name-language.cc | 457 --------------------------------- - src/hb-ot-name-language.hh | 432 ++++++++++++++++++++++++++++++- - test/api/fonts/nameID.dup.expected.ttf | Bin 0 -> 2340 bytes - test/api/fonts/nameID.dup.origin.ttf | Bin 0 -> 170680 bytes - test/api/test-subset-nameids.c | 21 ++ - 8 files changed, 456 insertions(+), 472 deletions(-) - -commit 9ad14f56b6cf2a345104b3a897b52a1f4c0f33a5 -Author: Qunxin Liu -Date: Tue Apr 16 11:20:58 2019 -0700 - - [subset] update name table subsetting with new serializer - - src/hb-ot-name-table.hh | 126 ++++++++++++++++++++++++++++-------------------- - 1 file changed, 75 insertions(+), 51 deletions(-) - -commit 6faac8df83bb59f08e5d329e76435ba438b2ea54 -Author: Qunxin Liu -Date: Wed Apr 10 16:38:35 2019 -0700 - - [subset] Subsetting Name Table Step 4 - Add unit test and integration test - - test/api/Makefile.am | 2 + - test/api/fonts/nameID.expected.ttf | Bin 0 -> 170696 bytes - test/api/fonts/nameID.origin.ttf | Bin 0 -> 170976 bytes - test/api/hb-subset-test.h | 9 ++++ - test/api/test-subset-nameids.c | 58 +++++++++++++++++++++ - .../Roboto-Regular.abc.name-ids.61,62,63.ttf | Bin 0 -> 2168 bytes - .../basics/Roboto-Regular.abc.name-ids.61,63.ttf | Bin 0 -> 1988 bytes - .../basics/Roboto-Regular.abc.name-ids.61.ttf | Bin 0 -> 1792 bytes - .../basics/Roboto-Regular.abc.name-ids.62.ttf | Bin 0 -> 1740 bytes - .../basics/Roboto-Regular.abc.name-ids.63.ttf | Bin 0 -> 1716 bytes - test/subset/data/profiles/name-ids.txt | 1 + - test/subset/data/tests/basics.tests | 1 + - 12 files changed, 71 insertions(+) - -commit e501ea143d1e63974903cdb41932c50f4222ff4e -Author: Qunxin Liu -Date: Fri Apr 5 10:05:55 2019 -0700 - - [subset] Subset name table step 3, add --nameids option to guide the - selection of which name records to keep in the subset method. - - src/hb-ot-name-table.hh | 28 ++++++++++++++++------------ - src/hb-subset-input.cc | 8 ++++++++ - src/hb-subset-input.hh | 3 ++- - src/hb-subset-plan.cc | 10 ++++++---- - src/hb-subset-plan.hh | 3 +++ - src/hb-subset.h | 3 +++ - util/hb-subset.cc | 1 + - util/options.cc | 45 +++++++++++++++++++++++++++++++++++++++++++++ - util/options.hh | 8 ++++++++ - 9 files changed, 92 insertions(+), 17 deletions(-) - -commit 2637a81615c80443911a603cbd161ade525c79f1 -Author: Qunxin Liu -Date: Tue Apr 2 13:38:27 2019 -0700 - - [subset] subset name table step 2, add implementation for collecting subset - elements and serialize method - - src/hb-ot-name-table.hh | 131 ++++++++++++++++++++++++++++++++++++++++-------- - 1 file changed, 109 insertions(+), 22 deletions(-) - -commit 408c1daeb4ff86d2204ed1bdd059513357ada392 -Author: Qunxin Liu -Date: Fri Mar 29 10:34:32 2019 -0700 - - [subset] subset name table step 1, write out table unmodified, use accelerator to access - string - - src/hb-ot-name-table.hh | 53 +++++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-subset.cc | 4 ++++ - 2 files changed, 57 insertions(+) - -commit 3a7f5bdd18314676425ec811199767a5f8e65a40 -Author: Behdad Esfahbod -Date: Fri Apr 26 14:40:01 2019 -0700 - - Rewrite hb_is_signed() - - src/hb-meta.hh | 20 +++++++++++--------- - 1 file changed, 11 insertions(+), 9 deletions(-) - -commit 73c82f2301a52cf2111296b34691bc898a7a6363 -Author: Behdad Esfahbod -Date: Fri Apr 26 13:16:48 2019 -0700 - - [iter] Fix hb_is_iterator_of() to actually check item type - - src/hb-iter.hh | 20 +++++++++----------- - 1 file changed, 9 insertions(+), 11 deletions(-) - -commit c51f15ddfcae8578483693b761b81ceaebf05f2a -Author: Behdad Esfahbod -Date: Fri Apr 26 13:03:41 2019 -0700 - - [array] Adjust hb_sorted_array_t copy constructor/assignment to match hb_array_t - - src/hb-array.hh | 13 ++++++++++--- - 1 file changed, 10 insertions(+), 3 deletions(-) - -commit b2758c360cc08d7a0334aae11845d0c5d50c46af -Author: Behdad Esfahbod -Date: Fri Apr 26 12:58:06 2019 -0700 - - [array] Use hb_is_cr_convertible_to() - - src/hb-array.hh | 14 ++------------ - 1 file changed, 2 insertions(+), 12 deletions(-) - -commit 8ecae793aa79056a312d3c8518106cfeca42390e -Author: Behdad Esfahbod -Date: Fri Apr 26 12:57:56 2019 -0700 - - [meta] Add hb_is_cr_convertible_to() - - src/hb-meta.hh | 5 +++++ - 1 file changed, 5 insertions(+) - -commit 52bb0346d319c322f117567a096fafa1bc804e26 -Author: Behdad Esfahbod -Date: Fri Apr 26 12:52:28 2019 -0700 - - [meta] Add hb_decay<> - - src/hb-meta.hh | 2 ++ - 1 file changed, 2 insertions(+) - -commit 474f3587cd18fdaf86b2068647fa03b107557d8c -Author: Michiharu Ariza -Date: Fri Apr 26 10:12:38 2019 -0700 - - copy retain_gids from input to plan - - src/hb-subset-plan.cc | 1 + - src/hb-subset-plan.hh | 1 + - 2 files changed, 2 insertions(+) - -commit 3fc066314ac19005ea8157a6541412cfd24abbc2 -Author: Behdad Esfahbod -Date: Wed Apr 24 16:41:57 2019 -0700 - - Another try at fixing cmake build - - CMakeLists.txt | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit c69f02784ac53a7fd13eee559559b38d8224ef59 -Author: Behdad Esfahbod -Date: Wed Apr 24 16:31:37 2019 -0700 - - Fix sign-compare error on 32-bit systems - - src/hb-open-type.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit f2d20dd9d3b52f434f5fe9dbef82bd95eb499edf -Author: Behdad Esfahbod -Date: Wed Apr 24 15:08:27 2019 -0700 - - [THANKS] Add Ivan Kuckir - - https://github.com/harfbuzz/harfbuzz/issues/1633#issuecomment-485764140 - - THANKS | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 0ca358f21a2a6e86a3d5c145a70bb84ab6e2db32 -Author: Behdad Esfahbod -Date: Wed Apr 24 16:36:29 2019 -0400 - - Try fixing cmake build - - CMakeLists.txt | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 59a8fa53533b10b9c25458d9ba2d68b7b01c3ff0 -Author: Behdad Esfahbod -Date: Wed Apr 24 12:19:13 2019 -0400 - - [iter] Add tests for casting to hb_iter_t<> base class for hb_sorted_array_t<> - - Something's phishy about hb_sorted_array_t<>. Can't get it work nicely with - change I'm making. Ugh.. - - src/test-iter.cc | 7 ++++++- - 1 file changed, 6 insertions(+), 1 deletion(-) - -commit 714307cc437f375f128e17e5ab01eba0c57aaf01 -Author: Behdad Esfahbod -Date: Wed Apr 24 10:56:12 2019 -0400 - - [iter] Remove fixed TODO - - src/hb-iter.hh | 3 --- - 1 file changed, 3 deletions(-) - -commit 22da12318a3e9fd9955f24fd0092de1a4a1a940d -Author: Behdad Esfahbod -Date: Wed Apr 24 10:53:16 2019 -0400 - - [map] Fix TODO - - src/hb-map.hh | 6 ++---- - src/hb-meta.hh | 6 ++++++ - src/hb-ot-cff1-table.cc | 1 - - src/hb-ot-cff2-table.cc | 1 - - src/hb.hh | 3 +-- - 5 files changed, 9 insertions(+), 8 deletions(-) - -commit 4c6136e976af4f7332f703f5a7625505ffc296b6 -Author: Behdad Esfahbod -Date: Wed Apr 24 10:44:24 2019 -0400 - - [mutex] Remove TODO - - src/hb-mutex.hh | 2 -- - 1 file changed, 2 deletions(-) - -commit 0268db11965d022883d5ef2ef828c0635165b7bd -Author: Behdad Esfahbod -Date: Wed Apr 24 10:43:40 2019 -0400 - - [map] Use hb_invoke() with pointer-to-method - - src/hb-algs.hh | 5 ++++- - src/hb-map.hh | 4 ++-- - src/test-algs.cc | 8 ++++++++ - 3 files changed, 14 insertions(+), 3 deletions(-) - -commit 8f79a5750e8982f9ab73c0dc6a8534dffef74610 -Author: Behdad Esfahbod -Date: Wed Apr 24 10:32:49 2019 -0400 - - [algs] Add more hb_forward<>()'s - - src/hb-algs.hh | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -commit 42526d1697e2449fa23741f84721dcf2ce688af7 -Author: Behdad Esfahbod -Date: Wed Apr 24 10:24:33 2019 -0400 - - [serialize] Fix SingleSubstFormat1 failure - - src/hb-ot-layout-gsub-table.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 6cc9707c9c0885a3133b7844f615cdcdaeccec18 -Author: Behdad Esfahbod -Date: Wed Apr 24 10:22:06 2019 -0400 - - [serialize] Rename - - src/hb-serialize.hh | 8 +++----- - 1 file changed, 3 insertions(+), 5 deletions(-) - -commit 085793d6cd35a1590a66712f39260030367490db -Author: Behdad Esfahbod -Date: Wed Apr 24 10:15:59 2019 -0400 - - Remove wrong TODOs - - src/hb-ot-layout-gsubgpos.hh | 2 +- - src/hb-ot-shape-complex-indic.cc | 1 - - src/hb-ot-shape-complex-khmer.cc | 4 ++-- - src/hb-ot-shape-complex-myanmar.cc | 3 ++- - src/hb-ot-shape-complex-use.cc | 4 ++-- - 5 files changed, 7 insertions(+), 7 deletions(-) - -commit 915b9ea5f48d56df21419761477b2d4ba2843b54 -Author: Behdad Esfahbod -Date: Wed Apr 24 10:07:19 2019 -0400 - - [serialize] Add c->check_assign() - - To check for assignment overflows. - - src/hb-open-type.hh | 7 +++---- - src/hb-ot-layout-gsub-table.hh | 2 +- - src/hb-serialize.hh | 20 +++++++++++++------- - 3 files changed, 17 insertions(+), 12 deletions(-) - -commit 00a00bc1f23c681d64fbd4df33582ec0165e337a -Author: Behdad Esfahbod -Date: Wed Apr 24 10:01:30 2019 -0400 - - Fix two TODOs - - src/hb-ot-layout-gsub-table.hh | 11 +++++------ - 1 file changed, 5 insertions(+), 6 deletions(-) - -commit 11ab889a8d743304c8ec17920e209a514f46739d -Author: Behdad Esfahbod -Date: Wed Apr 24 09:55:24 2019 -0400 - - Rename a few test programs - - src/Makefile.am | 24 +++++++++++----------- - ...est-size-params.cc => test-gpos-size-params.cc} | 0 - ...substitute.cc => test-gsub-would-substitute.cc} | 0 - src/{test-name-table.cc => test-ot-name.cc} | 0 - 4 files changed, 12 insertions(+), 12 deletions(-) - -commit 12017db0bfe62e7777e1ab6ba5b14729dcd4c351 -Author: Behdad Esfahbod -Date: Wed Apr 24 09:24:38 2019 -0400 - - Move test code around - - src/test-algs.cc | 8 ++++++++ - src/test-iter.cc | 9 --------- - 2 files changed, 8 insertions(+), 9 deletions(-) - -commit 27377a7e287dd39e3f7caad5c1e0691ae381ccf8 -Author: Behdad Esfahbod -Date: Wed Apr 24 09:22:14 2019 -0400 - - Rely on variadic parameter pack more - - src/hb-open-type.hh | 16 ++++++++-------- - 1 file changed, 8 insertions(+), 8 deletions(-) - -commit 3ad20c38ade76aca8aed024014977ecb5f2b636e -Author: Behdad Esfahbod -Date: Wed Apr 24 09:09:00 2019 -0400 - - [serialize] Fix a few overflow TODO items - - src/hb-open-type.hh | 7 ++++--- - 1 file changed, 4 insertions(+), 3 deletions(-) - -commit 175bdad8bff5b0e9732ab1fb97617a9293680fd4 -Author: Behdad Esfahbod -Date: Tue Apr 23 23:57:11 2019 -0400 - - One more variadic parameter pack use - - src/hb-aat-layout-common.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 441cca235477a5399af214c9ac85320d4de69f0b -Author: Behdad Esfahbod -Date: Tue Apr 23 23:49:21 2019 -0400 - - Use hb_forward() when forwarding parameter pack - - src/hb-open-type.hh | 32 ++++++++++++++++---------------- - src/hb-serialize.hh | 3 ++- - 2 files changed, 18 insertions(+), 17 deletions(-) - -commit 20f3134789f65b10f301c4635c9f80c2dda0fb97 -Author: Behdad Esfahbod -Date: Tue Apr 23 12:58:52 2019 -0400 - - Use variadic templates in OffsetTo<> and various ArrayOf<>s - - src/hb-open-type.hh | 145 ++++++++++++++++++---------------------------------- - 1 file changed, 49 insertions(+), 96 deletions(-) - -commit aa6692cb0079bbe1e003f211a321e8fe6a18ea94 -Author: Nathan Willis -Date: Tue Apr 23 17:56:44 2019 +0100 - - Usermanual: update Makefile SGML list. Again. - - docs/Makefile.am | 1 + - 1 file changed, 1 insertion(+) - -commit 98c54cdef8b0615a95382bdba4ecd008789f8c9e -Author: Nathan Willis -Date: Tue Apr 23 17:48:42 2019 +0100 - - Usermanual: add chapter on object model. - - docs/harfbuzz-docs.xml | 1 + - docs/usermanual-object-model.xml | 249 +++++++++++++++++++++++++++++++++++++++ - 2 files changed, 250 insertions(+) - -commit 64ca2ffa4c88b961dcbd9d06be8ac7dd80ad8182 -Author: Ebrahim Byagowi -Date: Tue Apr 23 01:10:46 2019 -0700 - - Fix clang's -Wmain complain (#1678) - - src/test-iter.cc | 8 +++++++- - 1 file changed, 7 insertions(+), 1 deletion(-) - -commit 7c218351ab45c41e48147b2196393357f7b551d4 -Author: Ebrahim Byagowi -Date: Tue Apr 23 12:40:29 2019 +0430 - - .editorconfig, minor - - still doesn't work with vscode - - .editorconfig | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 25dd88efc6521b972babe1067c0de1b9d4f5dbe5 -Author: Behdad Esfahbod -Date: Mon Apr 22 17:45:23 2019 -0400 - - Err, fix hb_invoke() variadic - - src/hb-algs.hh | 6 +++--- - src/test-iter.cc | 5 ++++- - 2 files changed, 7 insertions(+), 4 deletions(-) - -commit c862a532df0bc3ce0b47f3fde9bf1dd300ff8bee -Author: Behdad Esfahbod -Date: Mon Apr 22 17:32:19 2019 -0400 - - Add variadic arguments to hb_invoke() - - src/hb-algs.hh | 22 +++++++++++----------- - 1 file changed, 11 insertions(+), 11 deletions(-) - -commit 9c724e48a2f5d61c31c79f0b4660f08e5d07db10 -Author: Behdad Esfahbod -Date: Mon Apr 22 15:37:10 2019 -0400 - - [serializer] Add err_propagaged_error() - - src/hb-serialize.hh | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -commit ae8da4b61b4cc3b55242b85fe7c63393d65bd6cf -Author: Behdad Esfahbod -Date: Mon Apr 22 15:25:11 2019 -0400 - - Minor - - src/hb-iter.hh | 9 ++++++--- - 1 file changed, 6 insertions(+), 3 deletions(-) - -commit 24da1d08603a7fe262ae88d687986efc0343956f -Author: Behdad Esfahbod -Date: Mon Apr 22 15:20:25 2019 -0400 - - Use variadic template args for propagate_error() - - Let's see if bots happy. - - Not sure where else we can use these. Mm. Maybe in hb_invoke(). - - src/hb-serialize.hh | 7 ++----- - 1 file changed, 2 insertions(+), 5 deletions(-) - -commit 9bab398462fa598047f34fd6d23e07a91305b1b3 -Author: Behdad Esfahbod -Date: Mon Apr 22 15:16:35 2019 -0400 - - Simplify propagate_error() - - src/hb-serialize.hh | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - -commit ecac94ca763e80d217ba5db429745e8882b38464 -Author: Behdad Esfahbod -Date: Sun Apr 21 12:27:32 2019 -0400 - - [docs] Remove fdo repo - - Has not been updated. - - docs/harfbuzz-docs.xml | 6 +----- - 1 file changed, 1 insertion(+), 5 deletions(-) - -commit 8ed7655be89c658219ab702e34a79734ba0efb73 -Author: Behdad Esfahbod -Date: Sun Apr 21 12:25:19 2019 -0400 - - Update AUTHORS / COPYING - - AUTHORS | 3 +++ - COPYING | 3 ++- - 2 files changed, 5 insertions(+), 1 deletion(-) - -commit a464cbeecea73aeaa03c262f49fed8584057d9bb -Author: Ebrahim Byagowi -Date: Fri Apr 19 12:14:09 2019 -0700 - - Revert "Add harfbuzzjs build configuration (#1636)" (#1675) - - This reverts commit 694cb1beeefe1c54b2e613d2d566a21e248a2c9c. - - CMakeLists.txt | 35 ----------------------------------- - 1 file changed, 35 deletions(-) - -commit 694cb1beeefe1c54b2e613d2d566a21e248a2c9c -Author: Ebrahim Byagowi -Date: Fri Apr 19 07:51:04 2019 -0700 - - Add harfbuzzjs build configuration (#1636) - - CMakeLists.txt | 35 +++++++++++++++++++++++++++++++++++ - 1 file changed, 35 insertions(+) - -commit 42f4bd6b801f96fc33a365db8ab6390e74cef05a -Author: Behdad Esfahbod -Date: Thu Apr 18 19:04:59 2019 -0400 - - Minor warning fix again - - src/hb-ot-map.cc | 20 ++++++++++---------- - test/api/test-ot-face.c | 2 +- - 2 files changed, 11 insertions(+), 11 deletions(-) - -commit 267fb9c7163e61c9cdbafbb16005bc659ec5a4a2 -Author: Michiharu Ariza -Date: Thu Apr 18 15:17:10 2019 -0700 - - add spaces - - src/hb-ot-cff1-table.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit ba0386060d92dffcde2d14f9e523a46ea8713de2 -Author: Michiharu Ariza -Date: Thu Apr 18 14:53:35 2019 -0700 - - fix oss-fuzz issue 14345 - - src/hb-ot-cff1-table.hh | 3 ++- - ...testcase-minimized-hb-subset-fuzzer-5923632099885056 | Bin 0 -> 25847 bytes - 2 files changed, 2 insertions(+), 1 deletion(-) - -commit 63a2108480cca2d9c1a2f61d6642d70496f1a5e3 -Author: Michiharu Ariza -Date: Thu Apr 18 13:54:58 2019 -0700 - - silence MVC warnings 3rd attempt - - src/hb-ot-cff1-table.cc | 5 +++-- - src/hb-ot-cff2-table.cc | 9 +++++---- - 2 files changed, 8 insertions(+), 6 deletions(-) - -commit 705dde57fe7bd5aafe93f284db2aa809aad932dc -Author: Michiharu Ariza -Date: Thu Apr 18 11:32:10 2019 -0700 - - silence MVC warnings 2nd attempt - - src/hb-ot-cff1-table.cc | 4 ++-- - src/hb-ot-cff2-table.cc | 8 ++++---- - 2 files changed, 6 insertions(+), 6 deletions(-) - -commit dd4c37529bcecee33d43015a852a3fcf9e978b7f -Author: Michiharu Ariza -Date: Thu Apr 18 10:38:57 2019 -0700 - - silence MVC warnings - - src/hb-cff-interp-common.hh | 2 +- - src/hb-ot-cff1-table.cc | 4 ++-- - src/hb-ot-cff2-table.cc | 8 ++++---- - 3 files changed, 7 insertions(+), 7 deletions(-) - -commit 518e6e07f29d9bb7e532313fb0af6177d8022ea5 -Author: Behdad Esfahbod -Date: Thu Apr 18 12:21:25 2019 -0400 - - Minor - - src/hb-ot-map.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 91d958acc08cb99ddd3b656922e13497b9d1595d -Author: Behdad Esfahbod -Date: Thu Apr 18 10:04:10 2019 -0400 - - [array] Simplify copy assignment/constructor - - To fix bogus MSVC warnings: - - c:\projects\harfbuzz\src\hb-array.hh(189): warning C4521: 'hb_array_t': multiple copy constructors specified [C:\projects\harfbuzz\build\harfbuzz.vcxproj] - c:\projects\harfbuzz\src\hb-array.hh(189): warning C4522: 'hb_array_t': multiple assignment operators specified [C:\projects\harfbuzz\build\harfbuzz.vcxproj] - - src/hb-array.hh | 29 +++++++++++++++++++---------- - 1 file changed, 19 insertions(+), 10 deletions(-) - -commit 693d91cd49fda3e728b59e6885bea8d7b01958ef -Author: Behdad Esfahbod -Date: Wed Apr 17 17:59:39 2019 -0400 - - [serialize] Fix offset calculation - - src/hb-serialize.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit db0c9a1485ae6ca7ca9af38a43504f1ae4ea09c8 -Author: Behdad Esfahbod -Date: Wed Apr 17 17:58:13 2019 -0400 - - [subset] Assert offsets are zero during relocation - - If they're not, it's a bug in our subsetting logic somewhere. So check. - - src/hb-serialize.hh | 2 ++ - 1 file changed, 2 insertions(+) - -commit aa3ac59245a9f90c6636fbf6d3489d2b7caa4fd3 -Author: Michiharu Ariza -Date: Wed Apr 17 12:43:53 2019 -0700 - - fix build - - src/hb-ot-var-hvar-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit c87488b46d1f302e1ad313c365e2cd440e60141a -Merge: 49fe81fde c67a0d581 -Author: Michiharu Ariza -Date: Wed Apr 17 12:07:15 2019 -0700 - - Merge branch 'master' into var-subset - -commit 49fe81fdeb236e10c1b525b34edb4ec8aaeac35f -Author: Michiharu Ariza -Date: Wed Apr 17 11:48:12 2019 -0700 - - updated api test results for HVAR/VVAR subset changes - - test/api/fonts/AdobeVFPrototype.abc.otf | Bin 6952 -> 6900 bytes - test/api/fonts/AdobeVFPrototype.ac.nohints.otf | Bin 6272 -> 6220 bytes - .../api/fonts/AdobeVFPrototype.ac.nosubrs.nohints.otf | Bin 6152 -> 6100 bytes - test/api/fonts/AdobeVFPrototype.ac.nosubrs.otf | Bin 6336 -> 6284 bytes - test/api/fonts/AdobeVFPrototype.ac.otf | Bin 6460 -> 6408 bytes - test/api/fonts/AdobeVFPrototype.ac.retaingids.otf | Bin 6464 -> 6416 bytes - .../fonts/SourceSansVariable-Roman.ac.retaingids.ttf | Bin 3040 -> 2616 bytes - .../SourceSerifVariable-Roman-VVAR.ac.retaingids.ttf | Bin 5288 -> 5296 bytes - 8 files changed, 0 insertions(+), 0 deletions(-) - -commit efbba7ad26dda5930f5d1bd5292304835432f504 -Author: Behdad Esfahbod -Date: Wed Apr 17 11:00:08 2019 -0400 - - [serializer] Add copy() - - Calls obj.copy() or obj.operator=() in that order. - - src/hb-serialize.hh | 18 ++++++++++++++++++ - 1 file changed, 18 insertions(+) - -commit c67a0d581fcc50df5563c23060b4fcd9dac4c87c -Author: Behdad Esfahbod -Date: Wed Apr 17 10:20:02 2019 -0400 - - Add HB_RETURN - - src/hb-algs.hh | 13 ++++++------- - src/hb-meta.hh | 34 ++++++++++++++++++++-------------- - 2 files changed, 26 insertions(+), 21 deletions(-) - -commit 6745a600bfec13b3f5468b3d31bab7d82b1e61ce -Author: David Corbett -Date: Tue Apr 16 17:29:34 2019 -0400 - - Comment out ot_languages where fallback suffices - - src/gen-tag-table.py | 15 +- - src/hb-ot-tag-table.hh | 443 +++++++++++++++++++++++++------------------------ - src/hb-ot-tag.cc | 19 ++- - test/api/test-ot-tag.c | 5 +- - 4 files changed, 255 insertions(+), 227 deletions(-) - -commit 5daeff3e68e4e202effb152f52702a044c09f386 -Author: David Corbett -Date: Wed Apr 17 09:11:44 2019 -0400 - - Fix "hb_script_" doc typo - - src/hb-common.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 6916b77863cd5ce492a274eb85f196f2152fbb96 -Author: Behdad Esfahbod -Date: Tue Apr 16 18:33:51 2019 -0400 - - One more auto return type - - src/hb-iter.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 5b33427f2c4d596a12f05ffebebfd68655fd63eb -Author: Behdad Esfahbod -Date: Tue Apr 16 18:28:17 2019 -0400 - - Rename HB_AUTO_RETURN_EXPR to HB_AUTO_RETURN - - src/hb-algs.hh | 34 +++++++++++++++++----------------- - src/hb-meta.hh | 8 ++++---- - 2 files changed, 21 insertions(+), 21 deletions(-) - -commit da293b0e59a0d6c47e9b3a7807115a168a0a5c94 -Author: Behdad Esfahbod -Date: Tue Apr 16 18:27:25 2019 -0400 - - Use HB_AUTO_RETURN_EXPR in hb_min/max - - src/hb-algs.hh | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 0241a40f2aff43aba045fb7de4a2c3e5f1e9626a -Author: Behdad Esfahbod -Date: Tue Apr 16 18:26:30 2019 -0400 - - Use auto return type for hb_first/hb_second - - src/hb-algs.hh | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit fe30fcd228ff95be1f169f580b30184c8511d1c3 -Author: Behdad Esfahbod -Date: Tue Apr 16 17:34:06 2019 -0400 - - Use hb_deref_pointer() to reduce number of overloads - - src/hb-algs.hh | 27 ++++++++++----------------- - src/hb-meta.hh | 36 +++++++++++++++++++----------------- - 2 files changed, 29 insertions(+), 34 deletions(-) - -commit c918a6706fa759696569ad6dcaae03fed76306bc -Author: Behdad Esfahbod -Date: Tue Apr 16 17:28:18 2019 -0400 - - Properly prioritize hb_hash() - - src/hb-algs.hh | 46 +++++++++++++++++++++++----------------------- - 1 file changed, 23 insertions(+), 23 deletions(-) - -commit 75fd845a4abccc2596f0e1fe2294f936199e61f3 -Author: Behdad Esfahbod -Date: Tue Apr 16 17:22:29 2019 -0400 - - Move around - - src/hb-algs.hh | 25 ++++++++++++------------- - 1 file changed, 12 insertions(+), 13 deletions(-) - -commit 973717175d46d62471772318bb0b607070c53ec7 -Author: Behdad Esfahbod -Date: Tue Apr 16 16:50:07 2019 -0400 - - Fix priorities - - src/hb-algs.hh | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -commit 54ece299bcb3436763cc4f3b6b0ca11de8133b28 -Author: Behdad Esfahbod -Date: Tue Apr 16 16:45:53 2019 -0400 - - Use type aliasing for meta-functions, ie. those returning a type - - src/hb-algs.hh | 3 ++- - src/hb-array.hh | 6 +++--- - src/hb-atomic.hh | 2 +- - src/hb-blob.hh | 2 +- - src/hb-common.cc | 2 +- - src/hb-ft.cc | 2 +- - src/hb-iter.hh | 2 +- - src/hb-meta.hh | 12 ++++++------ - src/hb-null.hh | 6 +++--- - 9 files changed, 19 insertions(+), 18 deletions(-) - -commit 6cde814a360eaeab6755685cf7980887af3225d1 -Merge: 007bb3e0d 1ce11b443 -Author: Michiharu Ariza -Date: Tue Apr 16 11:35:07 2019 -0700 - - Merge branch 'master' into var-subset - -commit 007bb3e0d1478912f8006f4c440866b4628cc28f -Author: Michiharu Ariza -Date: Tue Apr 16 10:33:51 2019 -0700 - - retain-gids in HVAR/VVAR (unused deltas retained) - - src/hb-ot-var-hvar-table.hh | 24 ++++++++++++------------ - 1 file changed, 12 insertions(+), 12 deletions(-) - -commit 1ce11b44375dae74e8984ace1db4f08c51ac9c38 -Author: David Corbett -Date: Tue Apr 16 10:04:45 2019 -0400 - - Reduce LangTag from 3 language system tags to 1 - - src/gen-tag-table.py | 13 +- - src/hb-ot-tag-table.hh | 2078 ++++++++++++++++++++++++------------------------ - src/hb-ot-tag.cc | 22 +- - 3 files changed, 1053 insertions(+), 1060 deletions(-) - -commit 155e92f25908830bef192304a2039853f6f5d4b5 -Author: Behdad Esfahbod -Date: Tue Apr 16 11:35:09 2019 -0400 - - Reduce NullPool size - - src/hb-null.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 4fc2d2d7248171c386c39630aa2612f240669a58 -Author: Behdad Esfahbod -Date: Tue Apr 16 11:24:42 2019 -0400 - - [meta] Flesh out hb_invoke() - - src/hb-algs.hh | 14 ++++++++++++-- - 1 file changed, 12 insertions(+), 2 deletions(-) - -commit e03d9395aa79a29d731607bfd46533b700dc1a37 -Author: Behdad Esfahbod -Date: Tue Apr 16 11:20:16 2019 -0400 - - Comment - - src/hb-algs.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit b8e763fd7140b3e298863e04053ec0f3c73a6a70 -Author: Behdad Esfahbod -Date: Tue Apr 16 10:50:22 2019 -0400 - - [meta] Add hb_invoke() - - src/hb-algs.hh | 34 ++++++++++++++++++++++++++++++++-- - src/hb-iter.hh | 2 +- - 2 files changed, 33 insertions(+), 3 deletions(-) - -commit a3fcb9a370ad7a3c205342f831d8529c81660466 -Author: Behdad Esfahbod -Date: Tue Apr 16 10:45:20 2019 -0400 - - [meta] Add HB_AUTO_RETURN_EXPR, HB_VOID_RETURN_EXPR, hb_priority, hb_has(), hb_get() - - The first three based on range-v3. - - src/hb-algs.hh | 46 ++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-iter.hh | 7 ++++--- - src/hb-meta.hh | 32 +++++++++++++++----------------- - src/hb.hh | 2 +- - 4 files changed, 66 insertions(+), 21 deletions(-) - -commit ff68be31bf2ea82bf6bfcc6f993fb6806a895f97 -Author: Behdad Esfahbod -Date: Tue Apr 16 09:59:08 2019 -0400 - - Add hb_void_tt<> ala std::void_t - - src/hb-meta.hh | 7 +++++++ - 1 file changed, 7 insertions(+) - -commit eb348fc5c00df2330f98ea769699ce586f97e1d6 -Author: Michiharu Ariza -Date: Mon Apr 15 16:24:22 2019 -0700 - - optimize out regions & region index lists & short count - - src/hb-ot-layout-common.hh | 107 +++++++++++++++++++++++++++++++++------------ - 1 file changed, 80 insertions(+), 27 deletions(-) - -commit 89fea21697adfbba5057dd1d69c9806ee86e5ca8 -Author: Behdad Esfahbod -Date: Mon Apr 15 17:36:09 2019 -0400 - - Fix copyright - - src/hb-iter.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit b7384c89e2685cec1b6761c918ec7d91e8ae3af8 -Author: Behdad Esfahbod -Date: Mon Apr 15 16:53:10 2019 -0400 - - [fuzzing] Run valgrind with --leak-check=full - - test/fuzzing/run-shape-fuzzer-tests.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 3ff66c00292b20325b0d991dfd5eee80284cb9a8 -Author: Behdad Esfahbod -Date: Mon Apr 15 16:52:21 2019 -0400 - - [fuzzing] Fail if valgrind is requested but not found - - test/fuzzing/run-shape-fuzzer-tests.py | 3 +++ - 1 file changed, 3 insertions(+) - -commit 07776b60965d503dfb7fb5c611397e40759b0bdc -Author: Behdad Esfahbod -Date: Mon Apr 15 16:43:34 2019 -0400 - - More tweaks to previous commit - - Delete assignment operator of OffsetTo<> instead of Offset<>. - - In simple ArrayOf<>::sanitize() assert that Type has assignment operator. - Ideally we should SFINAE this and fallback to calling Type::sanitize() - if assignment operator is not available. But we don't have a case of - that in the codebase. - - src/hb-open-file.hh | 4 ++-- - src/hb-open-type.hh | 16 +++++++++++----- - 2 files changed, 13 insertions(+), 7 deletions(-) - -commit 699de689e9aa2246ba9207c07140ccd564f5ec20 -Author: Behdad Esfahbod -Date: Mon Apr 15 16:00:20 2019 -0400 - - Delete default assignment operator Offset<> - - src/hb-open-type.hh | 3 +++ - src/hb-ot-cmap-table.hh | 2 +- - src/hb-ot-layout-common.hh | 14 +++++++------- - 3 files changed, 11 insertions(+), 8 deletions(-) - -commit 02d864aa26359b7f057e2aa81404309e17180d47 -Author: Behdad Esfahbod -Date: Mon Apr 15 15:39:03 2019 -0400 - - Add HB_FUNCOBJ() - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1651 - - src/hb-algs.hh | 28 +++++++++++++++------------- - src/hb-iter.hh | 56 ++++++++++++++++++++++++++++---------------------------- - src/hb-meta.hh | 22 +++++++++++++--------- - src/hb.hh | 7 +++++++ - 4 files changed, 63 insertions(+), 50 deletions(-) - -commit 60be1450ad04612a6c2a6116036dbf3e436018de -Author: Nathan Willis -Date: Mon Apr 15 18:05:14 2019 +0100 - - [Usermanual]: fix Tamil error in Why-do-I-need-a-shaping-engine section. - - docs/usermanual-what-is-harfbuzz.xml | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 38b1d0b9b2e798dd808a816a397323ed7ba697ab -Author: Behdad Esfahbod -Date: Mon Apr 15 12:44:31 2019 -0400 - - Move static const to post-struct for a function object - - Just sending this to bots to see if all happy, then turn it into macro and - apply everywhere. - - Part of https://github.com/harfbuzz/harfbuzz/issues/1651 - - src/hb-algs.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 19e800c9d881ec016ab2e5fcaadab55ab5188398 -Author: Behdad Esfahbod -Date: Mon Apr 15 12:07:00 2019 -0400 - - Ugh. Another try, to unbreak gcc this time! - - Jenga. - - src/hb-subset.cc | 7 +++++-- - 1 file changed, 5 insertions(+), 2 deletions(-) - -commit 3a88f55c15b625a0ad10fbfadf4562bcbb41ae53 -Author: Behdad Esfahbod -Date: Mon Apr 15 11:59:57 2019 -0400 - - Move location of HB_UNUSED to make MSVC happy - - src/hb-subset.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 1ae265888e144328dbf1df796d379bf742c4151a -Author: Behdad Esfahbod -Date: Mon Apr 15 11:31:40 2019 -0400 - - Fix gcc warning - - src/hb-array.hh | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit c0ea37b557f53b50094042f11fe2611b1b30d725 -Author: Ebrahim Byagowi -Date: Mon Apr 15 00:34:04 2019 +0430 - - [ci] Fix macOS glib issue - - .circleci/config.yml | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit ad126036643e44a98c4c42d2a2a4a3b4a3649937 -Merge: 341b70a3b 47e538a35 -Author: Nathan Willis -Date: Sun Apr 14 15:42:42 2019 +0100 - - Merge branch 'master' of https://github.com/harfbuzz/harfbuzz - -commit cd9889cac3ac3b271f7335f3e94acc4667a59b40 -Author: Nathan Willis -Date: Sun Apr 14 15:33:56 2019 +0100 - - Docs: update and extended GTK-Doc comments for hb-ot-math. - - src/hb-ot-math.cc | 133 ++++++++++++++++++++++++++++++++---------------------- - src/hb-ot-math.h | 21 +++++++++ - 2 files changed, 99 insertions(+), 55 deletions(-) - -commit 3f74b7a14bffb8e91cd98edd0c3ddf0b0ddc169a -Author: Nathan Willis -Date: Sun Apr 14 15:20:56 2019 +0100 - - Docs: Regularize GTK-Doc comments for hb-ot-color. - - src/hb-ot-color.cc | 136 ++++++++++++++++++++++++++++++----------------------- - src/hb-ot-color.h | 6 +-- - 2 files changed, 80 insertions(+), 62 deletions(-) - -commit 47e538a35f9072e5775a65e2bf110ae895818321 -Author: Behdad Esfahbod -Date: Fri Apr 12 22:50:22 2019 -0400 - - Add HB_NO_SUBSET_LAYOUT - - Part of https://github.com/harfbuzz/harfbuzz/issues/1652 - - src/hb-subset.cc | 10 +++++++++- - 1 file changed, 9 insertions(+), 1 deletion(-) - -commit a98e4068e76d50bd9562d85a452b56e681f1d62b -Author: Behdad Esfahbod -Date: Fri Apr 12 22:42:44 2019 -0400 - - Revert "Hide symbols in hb-iter" - - This reverts commit 98f14c4cdb837a962083a6702f401d41b4c1ec5c. - - Same as previous commit. - - src/hb-iter.hh | 88 +++++++++++++++++++++++++++++----------------------------- - 1 file changed, 44 insertions(+), 44 deletions(-) - -commit dab92bdd4623aa7dac8eb00b14131566d75d095e -Author: Behdad Esfahbod -Date: Fri Apr 12 22:39:38 2019 -0400 - - Revert "Hide more symbols" - - This reverts commit 2e86d50915cf1a791da9acb95245aa820a3d70f4. - - I think the setup that caused me to do this is faulty and not hiding inlines. - - src/hb-blob.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 98f14c4cdb837a962083a6702f401d41b4c1ec5c -Author: Behdad Esfahbod -Date: Fri Apr 12 18:11:18 2019 -0400 - - Hide symbols in hb-iter - - Painful. All template methods need to be explicitly hidden :(. - - Maybe we should switch to -fvisibility=hidden pragma. - - A LOT more to go. - - src/hb-iter.hh | 88 +++++++++++++++++++++++++++++----------------------------- - 1 file changed, 44 insertions(+), 44 deletions(-) - -commit 2e86d50915cf1a791da9acb95245aa820a3d70f4 -Author: Behdad Esfahbod -Date: Fri Apr 12 18:07:42 2019 -0400 - - Hide more symbols - - Exposed by: - - $ make -j5 CPPFLAGS="-O0" CXXFLAGS=-flto=thin LDFLAGS=-lc++ && ./check-symbols.sh - - src/hb-blob.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit caa20e4ef9dff61a86312daec5d5a1df27d95ff7 -Author: Behdad Esfahbod -Date: Fri Apr 12 17:59:18 2019 -0400 - - Hide a few more symbols - - Exposed by: - - $ make CPPFLAGS=-O0 - - src/hb-array.hh | 4 ++-- - src/hb-meta.hh | 6 +++--- - 2 files changed, 5 insertions(+), 5 deletions(-) - -commit 95df00aec1996d521acdff6deff063ba98214fb9 -Author: Behdad Esfahbod -Date: Fri Apr 12 17:50:03 2019 -0400 - - Hide a few static methods - - Looks like static methods that do not get inlined end up exported. - We have a lot more. Need to protect all at some point. Wish there - was an easier way, like the visibility flag we pass that automatically - hides all inline methods. - - Was exposed by check-symbols.sh when compiling on OS X 10.14 with: - - $ make CPPFLAGS=-Oz CXXFLAGS=-flto=thin LDFLAGS=-lc++ - - src/hb-aat-layout.hh | 2 +- - src/hb-aat-map.hh | 2 +- - src/hb-array.hh | 2 +- - src/hb-coretext.cc | 4 ++-- - src/hb-open-file.hh | 2 +- - src/hb-open-type.hh | 3 ++- - src/hb-ot-cmap-table.hh | 14 +++++++------- - src/hb-ot-layout-base-table.hh | 6 +++--- - src/hb-ot-layout-gpos-table.hh | 8 ++++---- - src/hb-ot-layout-gsub-table.hh | 8 ++++---- - src/hb-ot-layout-gsubgpos.hh | 2 +- - src/hb-ot-map.hh | 4 ++-- - src/hb-uniscribe.cc | 4 ++-- - 13 files changed, 31 insertions(+), 30 deletions(-) - -commit 2f4be4ba54b539fbadc31fc53bdcfca81d7db77a -Author: Behdad Esfahbod -Date: Fri Apr 12 16:21:58 2019 -0400 - - Add HB_NO_OPTIONS - - Part of https://github.com/harfbuzz/harfbuzz/issues/1652 - - src/hb-debug.hh | 3 +++ - 1 file changed, 3 insertions(+) - -commit 3e524bf77280e5f3cd0c4d7429d2a6a5ec49268d -Author: Michiharu Ariza -Date: Fri Apr 12 12:48:48 2019 -0700 - - fix VarData serialize to remove unused data sets - - add api test case for that - - src/hb-ot-layout-common.hh | 14 ++++++++++---- - .../fonts/SourceSansVariable-Roman-modHVAR.abc.ttf | Bin 0 -> 3260 bytes - .../fonts/SourceSansVariable-Roman-modHVAR.ac.ttf | Bin 0 -> 3032 bytes - test/api/test-subset-hvar.c | 21 +++++++++++++++++++++ - 4 files changed, 31 insertions(+), 4 deletions(-) - -commit 079d2dcbb2607cda3daa497199090c5813a51de5 -Author: Behdad Esfahbod -Date: Fri Apr 12 15:00:37 2019 -0400 - - Add HB_NO_NAME_TABLE_AAT - - Part of https://github.com/harfbuzz/harfbuzz/issues/1652 - - src/hb-ot-name-table.hh | 2 ++ - 1 file changed, 2 insertions(+) - -commit 60a58aa61c09cafd12c432fdc1f7325f2a6d44bd -Author: Behdad Esfahbod -Date: Fri Apr 12 14:58:53 2019 -0400 - - Add HB_NO_OT_FONT_BITMAP - - Part of https://github.com/harfbuzz/harfbuzz/issues/1652 - - src/hb-ot-font.cc | 2 ++ - 1 file changed, 2 insertions(+) - -commit 160c4d8b2d9f6c205b713236f043081e6dd532ee -Author: Behdad Esfahbod -Date: Fri Apr 12 14:57:49 2019 -0400 - - Add HB_NO_OT_FONT_CFF - - Part of https://github.com/harfbuzz/harfbuzz/issues/1652 - - src/hb-ot-font.cc | 2 ++ - 1 file changed, 2 insertions(+) - -commit 35f3b97fac3b106d345a06a4970f6adce182797b -Author: Behdad Esfahbod -Date: Fri Apr 12 10:16:12 2019 -0400 - - Add HB_NO_OT_SHAPE_COMPLEX_HEBREW_FALLBACK - - Part of https://github.com/harfbuzz/harfbuzz/issues/1652 - - src/hb-ot-shape-complex-hebrew.cc | 4 ++++ - 1 file changed, 4 insertions(+) - -commit 414c5de26b34c0c53f6f4b5f00ddc8e1a3b62ac2 -Author: Behdad Esfahbod -Date: Fri Apr 12 10:12:11 2019 -0400 - - Add HB_NO_OT_SHAPE_FALLBACK - - Part of https://github.com/harfbuzz/harfbuzz/issues/1652 - - src/hb-ot-shape-fallback.cc | 12 ++++++++++++ - 1 file changed, 12 insertions(+) - -commit fe0018f7ef804acefa729e888f5a9935e571079d -Author: Behdad Esfahbod -Date: Fri Apr 12 09:35:29 2019 -0400 - - Add HB_NO_OT_SHAPE_COMPLEX_THAI_FALLBACK - - Part of https://github.com/harfbuzz/harfbuzz/issues/1652 - - src/hb-ot-shape-complex-thai.cc | 4 ++++ - 1 file changed, 4 insertions(+) - -commit 9ddbfa006d752f6ddd3610ff968f84cf18dec031 -Author: Behdad Esfahbod -Date: Fri Apr 12 09:33:25 2019 -0400 - - Add HB_NO_OT_LAYOUT_BLACKLIST - - Part of https://github.com/harfbuzz/harfbuzz/issues/1652 - - src/hb-ot-layout.cc | 9 +++++++++ - 1 file changed, 9 insertions(+) - -commit 571fad4cf17d90434562d1b6f5d08b6f27343c7a -Author: Behdad Esfahbod -Date: Thu Apr 11 17:54:38 2019 -0400 - - Add HB_NO_OT_SHAPE_COMPLEX_VOWEL_CONSTRAINTS - - Part of https://github.com/harfbuzz/harfbuzz/issues/1652 - - src/hb-ot-shape-complex-vowel-constraints.cc | 3 +++ - 1 file changed, 3 insertions(+) - -commit a90e4916df74f6f84ce78eb2a73b6f325e7e8617 -Merge: 945737026 3db227265 -Author: Michiharu Ariza -Date: Thu Apr 11 15:57:32 2019 -0700 - - Merge branch 'master' into var-subset - -commit 3db227265bc0790ffd718bf265d245c78598a49d -Author: Nathan Willis -Date: Tue Apr 2 18:49:40 2019 +0100 - - Update gtk-doc annotations for inout counts on various getter functions. - - src/hb-ot-layout.cc | 122 ++++++++++++++++++++++++++++++---------------------- - 1 file changed, 70 insertions(+), 52 deletions(-) - -commit c08ddbd91b7f0fffe761638a2ee4893304b012db -Author: Nathan Willis -Date: Sun Mar 24 15:07:07 2019 +0000 - - [Docs] Minor edits to gtk-doc inline comment review. - - src/hb-ot-layout.cc | 21 +++++++++++++-------- - 1 file changed, 13 insertions(+), 8 deletions(-) - -commit af5230bce39020cf6fc87ee5e21cca3ba201a417 -Author: Nathan Willis -Date: Mon Mar 18 14:03:16 2019 +0000 - - [Docs] Minor; fix formatting for gtk-doc multiple-annotations. - - src/hb-ot-layout.cc | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - -commit 6c0a1e8cd67144d20c8b5fcad23953910eeeea51 -Author: Nathan Willis -Date: Sun Mar 17 14:50:47 2019 +0000 - - [Docs] Annotate gtk-doc formatting with some un-annotated (out)s. - - src/hb-ot-layout.cc | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 5122805c740961d4fdfbff440ed68792b63d50ed -Author: Nathan Willis -Date: Sun Mar 17 14:43:06 2019 +0000 - - [Docs] Fix gtk-doc formatting for (out) and (inout). - - src/hb-ot-layout.cc | 108 ++++++++++++++++++++++++++-------------------------- - 1 file changed, 54 insertions(+), 54 deletions(-) - -commit d3178aa52ae822ac6af606027ac8150ded0a2966 -Author: Nathan Willis -Date: Sun Mar 17 14:27:27 2019 +0000 - - [Docs] Fix gtk-doc references to 'kern' table functions, clarifying that GPOS is not examined. - - src/hb-ot-layout.cc | 10 +++++++--- - 1 file changed, 7 insertions(+), 3 deletions(-) - -commit 3449031fad9dff7acedde7dceb0e47db708fc025 -Author: Nathan Willis -Date: Sat Mar 16 15:38:08 2019 +0000 - - [Docs] Add inline gtk-doc documentation of GDEF glyph classes. - - src/hb-ot-layout.h | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - -commit 930f6fc3da04ce1897e65862fccb03afa9d3a780 -Author: Nathan Willis -Date: Sat Mar 16 15:10:21 2019 +0000 - - [Docs] Add inlind gtk-doc comments for hb-ot-layout functions. - - src/hb-ot-layout.cc | 456 +++++++++++++++++++++++++++++++++++++++++++++++++++- - src/hb-ot-layout.h | 11 ++ - 2 files changed, 462 insertions(+), 5 deletions(-) - -commit 945737026d5647c42c1fb897a88364613a7dd51c -Author: Michiharu Ariza -Date: Thu Apr 11 10:52:11 2019 -0700 - - tweak: moved xshift code out of get_points_var - - src/hb-ot-glyf-table.hh | 21 +++++++++------------ - 1 file changed, 9 insertions(+), 12 deletions(-) - -commit e8140832025e31d62784ce16a03fc5667b0c4015 -Author: Michiharu Ariza -Date: Thu Apr 11 09:59:13 2019 -0700 - - undo hb_ot_ge_glyph_v_origin to fix test failures - - src/hb-ot-font.cc | 4 +--- - 1 file changed, 1 insertion(+), 3 deletions(-) - -commit b52c0e54b9855a1f3d400e4dbcd0372520f2c2fc -Author: Behdad Esfahbod -Date: Thu Apr 11 11:20:10 2019 -0400 - - Use injected class name to simplify macros - - src/hb-open-type.hh | 10 +++++----- - src/hb.hh | 14 -------------- - 2 files changed, 5 insertions(+), 19 deletions(-) - -commit baf1e79075b0f917b79484446cd2ca47b58f50aa -Author: Behdad Esfahbod -Date: Thu Apr 11 11:18:04 2019 -0400 - - [C++11] Use deleted methods - - src/hb.hh | 30 +++++++++++++++--------------- - 1 file changed, 15 insertions(+), 15 deletions(-) - -commit 824fd342d5d66584a5ed88951e05975f33c55617 -Author: Behdad Esfahbod -Date: Thu Apr 11 11:16:01 2019 -0400 - - Rename a few macros - - src/hb-map.hh | 2 +- - src/hb-open-type.hh | 10 +++++----- - src/hb-set.hh | 2 +- - src/hb.hh | 12 ++++++------ - 4 files changed, 13 insertions(+), 13 deletions(-) - -commit 9e79285ef3b4d7490b4bbad0eef16dd73fd8fb62 -Merge: 6d79a25be c5509be93 -Author: Michiharu Ariza -Date: Wed Apr 10 17:24:29 2019 -0700 - - Merge branch 'master' into var-subset - -commit 6d79a25bed110b2d8842bd102ffdb5606023b8a1 -Merge: ab9d30965 196481ccb -Author: Michiharu Ariza -Date: Wed Apr 10 17:23:00 2019 -0700 - - Merge branch 'var-subset' of https://github.com/harfbuzz/harfbuzz into var-subset - -commit ab9d30965d298c10e0f1934364b03276067cf8a5 -Author: Michiharu Ariza -Date: Wed Apr 10 17:21:37 2019 -0700 - - Add tt var metrics test cases & bug fixes - - src/hb-ot-font.cc | 4 +- - src/hb-ot-glyf-table.hh | 131 ++++++++++----------- - src/hb-ot-hmtx-table.hh | 4 +- - src/hb-ot-var-gvar-table.hh | 4 +- - .../api/fonts/SourceSansVariable-Roman.modcomp.ttf | Bin 0 -> 3252 bytes - test/api/test-ot-metrics-tt-var.c | 79 ++++++++++++- - 6 files changed, 147 insertions(+), 75 deletions(-) - -commit edfc6be4a0362efa5c1d39f4792a28b5726c3ce5 -Author: Behdad Esfahbod -Date: Wed Apr 10 15:53:48 2019 -0400 - - [arabic] Disable fallback shaping if HB_NO_OT_SHAPE_COMPLEX_ARABIC_FALLBACK defined - - Part of https://github.com/harfbuzz/harfbuzz/issues/1652 - - src/hb-ot-shape-complex-arabic-fallback.hh | 1 - - src/hb-ot-shape-complex-arabic.cc | 4 ++++ - 2 files changed, 4 insertions(+), 1 deletion(-) - -commit 4d31662b5da20790f6f860cec8f5fdabf48210f0 -Author: Behdad Esfahbod -Date: Wed Apr 10 15:40:03 2019 -0400 - - Don't install ot-font funcs on new fonts if HB_NO_OT_FONT defined - - Currently linker cannot GC hb-ot-font completely because we install - it on fonts by default. Don't do that if HB_NO_OT_FONT defined. - - Part of https://github.com/harfbuzz/harfbuzz/issues/1652 - - src/hb-font.cc | 2 ++ - 1 file changed, 2 insertions(+) - -commit b111b3de020cde6fb0686efc224cace4608f2e45 -Author: Behdad Esfahbod -Date: Wed Apr 10 15:38:15 2019 -0400 - - Don't use any default unicode funcs if HB_NO_UNICODE_FUNCS is defined - - Part of https://github.com/harfbuzz/harfbuzz/issues/1652 - - src/hb-unicode.cc | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit c5509be93a351177724f2891dd5e9ddb02553452 -Author: Behdad Esfahbod -Date: Mon Apr 8 14:50:58 2019 -0400 - - [coretext] Fix unused-variable error - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1659 - - src/hb-coretext.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 196481ccb913d23e30cbd267df296deada919e88 -Author: Michiharu Ariza -Date: Fri Apr 5 16:37:12 2019 -0700 - - shift glyph horizontally at top level, not components - - src/hb-ot-glyf-table.hh | 1 + - 1 file changed, 1 insertion(+) - -commit 8a92ffd9bb9357cdf219e166c8a71abc90823976 -Author: Michiharu Ariza -Date: Fri Apr 5 15:04:23 2019 -0700 - - fix failure to check glyf recursion - - src/hb-ot-glyf-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 4c19aa26204d0dc2f08b6e4a824e9088301f68d8 -Author: Maks Naumov -Date: Fri Apr 5 21:46:27 2019 +0300 - - Fix MSVC C4068 warning (#1656) - - src/hb-blob.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit e44b83aac0443bd23df15b505a3d638883621b0e -Author: Michiharu Ariza -Date: Fri Apr 5 10:15:08 2019 -0700 - - replace test font SourceHanSans with its subet - - ...gular.default.3042,3044,3046,3048,304A,304B.otf | Bin 6356 -> 0 bytes - ...gular.default.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 6564 -> 0 bytes - .../SourceHanSans-Regular.default.61,63,65,6B.otf | Bin 5532 -> 0 bytes - ...gular.default.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 6780 -> 0 bytes - .../SourceHanSans-Regular.default.660E.otf | Bin 5248 -> 0 bytes - ...e-retain-gids.3042,3044,3046,3048,304A,304B.otf | Bin 537992 -> 0 bytes - ...e-retain-gids.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 692312 -> 0 bytes - ...ular.desubroutinize-retain-gids.61,63,65,6B.otf | Bin 531624 -> 0 bytes - ...e-retain-gids.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 692496 -> 0 bytes - ...ans-Regular.desubroutinize-retain-gids.660E.otf | Bin 613836 -> 0 bytes - ...esubroutinize.3042,3044,3046,3048,304A,304B.otf | Bin 6272 -> 0 bytes - ...esubroutinize.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 6456 -> 0 bytes - ...eHanSans-Regular.desubroutinize.61,63,65,6B.otf | Bin 5460 -> 0 bytes - ...esubroutinize.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 6572 -> 0 bytes - .../SourceHanSans-Regular.desubroutinize.660E.otf | Bin 5224 -> 0 bytes - ...e-retain-gids.3042,3044,3046,3048,304A,304B.otf | Bin 537424 -> 0 bytes - ...e-retain-gids.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 691692 -> 0 bytes - ...ints-desubroutinize-retain-gids.61,63,65,6B.otf | Bin 531124 -> 0 bytes - ...e-retain-gids.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 691808 -> 0 bytes - ....drop-hints-desubroutinize-retain-gids.660E.otf | Bin 613348 -> 0 bytes - ...esubroutinize.3042,3044,3046,3048,304A,304B.otf | Bin 6096 -> 0 bytes - ...esubroutinize.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 6204 -> 0 bytes - ...gular.drop-hints-desubroutinize.61,63,65,6B.otf | Bin 5344 -> 0 bytes - ...esubroutinize.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 6268 -> 0 bytes - ...Sans-Regular.drop-hints-desubroutinize.660E.otf | Bin 5120 -> 0 bytes - ...s-retain-gids.3042,3044,3046,3048,304A,304B.otf | Bin 537492 -> 0 bytes - ...s-retain-gids.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 691788 -> 0 bytes - ...-Regular.drop-hints-retain-gids.61,63,65,6B.otf | Bin 531164 -> 0 bytes - ...-Regular.drop-hints-retain-gids.61,63,65,6B.ttx | 393879 ------------------ - ...s-retain-gids.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 692008 -> 0 bytes - ...HanSans-Regular.drop-hints-retain-gids.660E.otf | Bin 613368 -> 0 bytes - ...ar.drop-hints.3042,3044,3046,3048,304A,304B.otf | Bin 6164 -> 0 bytes - ...ar.drop-hints.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 6300 -> 0 bytes - ...ourceHanSans-Regular.drop-hints.61,63,65,6B.otf | Bin 5376 -> 0 bytes - ...ar.drop-hints.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 6472 -> 0 bytes - .../SourceHanSans-Regular.drop-hints.660E.otf | Bin 5140 -> 0 bytes - ...r.retain-gids.3042,3044,3046,3048,304A,304B.otf | Bin 538076 -> 0 bytes - ...r.retain-gids.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 692420 -> 0 bytes - ...urceHanSans-Regular.retain-gids.61,63,65,6B.otf | Bin 531704 -> 0 bytes - ...r.retain-gids.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 692700 -> 0 bytes - .../SourceHanSans-Regular.retain-gids.660E.otf | Bin 613860 -> 0 bytes - ...ubset.default.3042,3044,3046,3048,304A,304B.otf | Bin 0 -> 3028 bytes - ...ubset.default.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 0 -> 3240 bytes - ...eHanSans-Regular_subset.default.61,63,65,6B.otf | Bin 0 -> 2200 bytes - ...ubset.default.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 0 -> 3460 bytes - .../SourceHanSans-Regular_subset.default.660E.otf | Bin 0 -> 1920 bytes - ...e-retain-gids.3042,3044,3046,3048,304A,304B.otf | Bin 0 -> 90956 bytes - ...e-retain-gids.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 0 -> 125820 bytes - ...bset.desubroutinize-retain-gids.61,63,65,6B.otf | Bin 0 -> 88392 bytes - ...e-retain-gids.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 0 -> 126004 bytes - ...ular_subset.desubroutinize-retain-gids.660E.otf | Bin 0 -> 103780 bytes - ...esubroutinize.3042,3044,3046,3048,304A,304B.otf | Bin 0 -> 2952 bytes - ...esubroutinize.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 0 -> 3136 bytes - ...s-Regular_subset.desubroutinize.61,63,65,6B.otf | Bin 0 -> 2132 bytes - ...esubroutinize.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 0 -> 3256 bytes - ...eHanSans-Regular_subset.desubroutinize.660E.otf | Bin 0 -> 1896 bytes - ...e-retain-gids.3042,3044,3046,3048,304A,304B.otf | Bin 0 -> 90656 bytes - ...e-retain-gids.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 0 -> 125468 bytes - ...ints-desubroutinize-retain-gids.61,63,65,6B.otf | Bin 0 -> 88156 bytes - ...e-retain-gids.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 0 -> 125584 bytes - ....drop-hints-desubroutinize-retain-gids.660E.otf | Bin 0 -> 103556 bytes - ...esubroutinize.3042,3044,3046,3048,304A,304B.otf | Bin 0 -> 2792 bytes - ...esubroutinize.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 0 -> 2896 bytes - ...ubset.drop-hints-desubroutinize.61,63,65,6B.otf | Bin 0 -> 2028 bytes - ...esubroutinize.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 0 -> 2964 bytes - ...gular_subset.drop-hints-desubroutinize.660E.otf | Bin 0 -> 1804 bytes - ...s-retain-gids.3042,3044,3046,3048,304A,304B.otf | Bin 0 -> 90724 bytes - ...s-retain-gids.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 0 -> 125560 bytes - ...r_subset.drop-hints-retain-gids.61,63,65,6B.otf | Bin 0 -> 88196 bytes - ...s-retain-gids.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 0 -> 125780 bytes - ...-Regular_subset.drop-hints-retain-gids.660E.otf | Bin 0 -> 103572 bytes - ...et.drop-hints.3042,3044,3046,3048,304A,304B.otf | Bin 0 -> 2848 bytes - ...et.drop-hints.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 0 -> 2988 bytes - ...nSans-Regular_subset.drop-hints.61,63,65,6B.otf | Bin 0 -> 2060 bytes - ...et.drop-hints.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 0 -> 3164 bytes - ...ourceHanSans-Regular_subset.drop-hints.660E.otf | Bin 0 -> 1824 bytes - ...t.retain-gids.3042,3044,3046,3048,304A,304B.otf | Bin 0 -> 91040 bytes - ...t.retain-gids.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 0 -> 125924 bytes - ...Sans-Regular_subset.retain-gids.61,63,65,6B.otf | Bin 0 -> 88468 bytes - ...t.retain-gids.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 0 -> 126208 bytes - ...urceHanSans-Regular_subset.retain-gids.660E.otf | Bin 0 -> 103800 bytes - test/subset/data/fonts/SourceHanSans-Regular.otf | Bin 16427580 -> 0 bytes - .../data/fonts/SourceHanSans-Regular_subset.otf | Bin 0 -> 2707728 bytes - test/subset/data/tests/cff-japanese.tests | 2 +- - 84 files changed, 1 insertion(+), 393880 deletions(-) - -commit a96d003d6ec4212fadad4f5b9058c9f8b07bcf89 -Author: Maks Naumov -Date: Fri Apr 5 12:29:56 2019 +0300 - - Fix MSVC C4138 warning (#1657) - - src/hb-ot-cff-common.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit c68eb7002f1c2b847d955797e27f5403199e3d9d -Author: Behdad Esfahbod -Date: Wed Apr 3 16:24:12 2019 -0700 - - Minor - - src/hb-ot-layout-common.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 85adf4ad5c76172514f281bfbe3850ef35473cc7 -Author: Behdad Esfahbod -Date: Wed Apr 3 16:06:55 2019 -0700 - - [GDEF] Don't assume glyphlist is sorted - - As was hit by the fuzzer. - - Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=14032 - - src/hb-ot-layout-common.hh | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit ecabdffc61cb0b71424f4845aeda8cd0a6d25a29 -Author: Behdad Esfahbod -Date: Wed Apr 3 16:06:34 2019 -0700 - - [algs] Add hb_min() and hb_max() - - src/hb-algs.hh | 11 +++++++++++ - 1 file changed, 11 insertions(+) - -commit 7b863142ceb82fc2fd23802f19f7379aa2f152e5 -Author: Behdad Esfahbod -Date: Wed Apr 3 15:48:27 2019 -0700 - - [serialize] Make putting breakpoint on out-of-memory easier - - src/hb-serialize.hh | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -commit 2bd275023405b6a669d59ad4cdcb2e8cb410d593 -Author: Behdad Esfahbod -Date: Wed Apr 3 15:31:53 2019 -0700 - - [iter] Tweak SFINAE again - - Don't think we need hb_is_same(). - - src/hb-iter.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit f02ebc89ec89e78a348f9b67d613a2024feabc18 -Author: Behdad Esfahbod -Date: Wed Apr 3 15:23:06 2019 -0700 - - [array] Add compy assignment operator since copy constructor is explicit - - src/hb-array.hh | 6 ++++++ - 1 file changed, 6 insertions(+) - -commit 20a73da2c9227a0f9bc943a3d766eedeb5bed3b3 -Author: Behdad Esfahbod -Date: Wed Apr 3 14:32:15 2019 -0700 - - [array] Add default copy constructor - - MSVC seems to need it. - - src/hb-array.hh | 1 + - 1 file changed, 1 insertion(+) - -commit d419a9a4376de7b2ae1dec7df09f8d034cc2d039 -Author: Behdad Esfahbod -Date: Wed Apr 3 14:18:19 2019 -0700 - - [iter] Use different SFINAE scheme to make MSVC happy - - From Orvid King: TLDR; MSVC has some issues using sizeof(declval()) for - SFINAE of templated types, so I just used SFINAE in a different context where - MSVC doesn't have the issue. - - src/hb-iter.hh | 21 ++++++++++++--------- - 1 file changed, 12 insertions(+), 9 deletions(-) - -commit 2778df7972f537192b51cd0719adf2ab4d1f3397 -Author: Behdad Esfahbod -Date: Wed Apr 3 14:15:01 2019 -0700 - - [meta] Add hb_is_same() - - src/hb-meta.hh | 9 ++++++--- - 1 file changed, 6 insertions(+), 3 deletions(-) - -commit b999ce9bf06fc90c4cb3c531357967835d7e706d -Merge: c2d727a47 6215fb8e6 -Author: Michiharu Ariza -Date: Wed Apr 3 10:34:09 2019 -0700 - - Merge branch 'master' into var-subset - -commit c2d727a479429b7c14126569e0f3e41d4b0beadf -Author: Michiharu Ariza -Date: Wed Apr 3 10:33:55 2019 -0700 - - fix xshift by (lsb - xMin) - - src/hb-ot-glyf-table.hh | 14 ++++++++------ - 1 file changed, 8 insertions(+), 6 deletions(-) - -commit 6215fb8e68bdf69f4af9f7f4959ad55a70723774 -Author: Behdad Esfahbod -Date: Tue Apr 2 23:10:03 2019 -0700 - - [serialize] Actually reclaim storage from duplicate objects - - src/hb-serialize.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 3305a2cad24f878f5d8773c2acae491ebd5a9059 -Author: Behdad Esfahbod -Date: Tue Apr 2 22:42:22 2019 -0700 - - [serialize] Port to use object pool - - Tested, but feels fragile :(. - - src/hb-pool.hh | 5 +- - src/hb-serialize.hh | 141 ++++++++++++++++++++++++++++++++-------------------- - 2 files changed, 91 insertions(+), 55 deletions(-) - -commit 5efbc01174127bede4d533866acac239e5a0cfd5 -Author: Behdad Esfahbod -Date: Tue Apr 2 22:41:06 2019 -0700 - - [pool] Uses memset() instead of assigning Null() - - Assignment is invalid on invalid object. - - src/hb-pool.hh | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit 434d78bf91ac5204ffbf2144f199eb7a0f65c421 -Author: Behdad Esfahbod -Date: Tue Apr 2 21:46:40 2019 -0700 - - Add hb_pool_t<> for pooled memory allocation - - src/Makefile.sources | 1 + - src/hb-pool.hh | 98 ++++++++++++++++++++++++++++++++++++++++++++++++++++ - 2 files changed, 99 insertions(+) - -commit 8e4df1a152f3916613594fa1bac308efdb61d512 -Author: Behdad Esfahbod -Date: Tue Apr 2 20:20:53 2019 -0700 - - [serialize] Disable packed_map again - - Ugh. Need to think of something else. - - src/hb-serialize.hh | 1 + - 1 file changed, 1 insertion(+) - -commit 31c1a83899147310b27bd40fac755c629cb59cef -Author: Behdad Esfahbod -Date: Tue Apr 2 20:17:27 2019 -0700 - - [map] Protect more against pointer deref - - src/hb-map.hh | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit 5bffa9e375fe294718452ad51e4c5ff017a046b4 -Author: Behdad Esfahbod -Date: Tue Apr 2 20:13:16 2019 -0700 - - More - - src/hb-map.hh | 5 +++++ - src/hb-set.hh | 9 ++++++++- - src/hb-vector.hh | 8 ++++---- - 3 files changed, 17 insertions(+), 5 deletions(-) - -commit 5b66b033fd2cd9c95284d283f08d6789c7ec985d -Author: Behdad Esfahbod -Date: Tue Apr 2 19:27:02 2019 -0700 - - [serialize] Fix hb_hashmap_t<> for pointers and use in packed_map - - src/hb-array.hh | 12 +++++++++++- - src/hb-map.hh | 22 ++++++++++++++-------- - src/hb-serialize.hh | 8 +++----- - src/hb-vector.hh | 1 + - 4 files changed, 29 insertions(+), 14 deletions(-) - -commit 42ab32cbbaf8b403c351953f091c0fbe8464c4cb -Author: Behdad Esfahbod -Date: Tue Apr 2 18:41:33 2019 -0700 - - [iter] Remove passing pointer to hb_iter() - - While doable with hb_deref_pointer() as well, we also would then - need to do it in a ton of places. Not worth it / messy. - - src/hb-array.hh | 2 +- - src/hb-iter.hh | 5 ----- - src/test-iter.cc | 3 --- - 3 files changed, 1 insertion(+), 9 deletions(-) - -commit d0da547b3741323493398eed8975a76f4a5742c2 -Author: Behdad Esfahbod -Date: Tue Apr 2 18:22:39 2019 -0700 - - [array] Use dagger for hashing array - - Also switch to better mixing. - - src/hb-array.hh | 9 +++++---- - 1 file changed, 5 insertions(+), 4 deletions(-) - -commit b6f29bf14153cac51b218e3aaba9e1b3aa747a8c -Author: Behdad Esfahbod -Date: Tue Apr 2 18:12:01 2019 -0700 - - [iter] Accept pointers in hb_iter() - - No idea how to avoid dupicating code. Was hoping hb_deref_pointer() - would do it, but looks like a pointer can't bind to a universal - reference T&&. Humm. - - src/hb-iter.hh | 5 +++++ - src/test-iter.cc | 3 +++ - 2 files changed, 8 insertions(+) - -commit fc24bb9046e7e39d52a245bdc3480a30095cb6ee -Author: Behdad Esfahbod -Date: Tue Apr 2 17:49:52 2019 -0700 - - [serialize] Towards maintaining packed_map - - src/hb-serialize.hh | 4 ++++ - 1 file changed, 4 insertions(+) - -commit aa2293a55eaa39f4e77b60851bbdee56b1120225 -Author: Behdad Esfahbod -Date: Tue Apr 2 17:42:10 2019 -0700 - - [serialize] Minor - - src/hb-open-type.hh | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -commit e42b82c828ecec6f534040dae5518e04643b5f10 -Author: Behdad Esfahbod -Date: Tue Apr 2 17:21:54 2019 -0700 - - [serialize] Handle non-nullable offsets - - src/hb-open-type.hh | 13 +++++++++---- - 1 file changed, 9 insertions(+), 4 deletions(-) - -commit e04518bafc66224887bf7f478e1affb54bc7acd0 -Author: Behdad Esfahbod -Date: Tue Apr 2 17:20:04 2019 -0700 - - [serialize] Movce empty-object handling earlier - - src/hb-serialize.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 7f73c9744e6c0e8dd37a208b75a4bc299bccbd4d -Author: Behdad Esfahbod -Date: Tue Apr 2 17:12:24 2019 -0700 - - [serialize] Minor - - src/hb-open-type.hh | 14 +++++--------- - 1 file changed, 5 insertions(+), 9 deletions(-) - -commit 27d3bac8ef77d56f91a7bd88bed02c3f1aceba0a -Author: Michiharu Ariza -Date: Tue Apr 2 17:02:11 2019 -0700 - - fix 2x2 component transform - - src/hb-ot-var-gvar-table.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 5a3de4f4f8791139d2c04a66244001aba192ef6b -Author: Behdad Esfahbod -Date: Tue Apr 2 16:53:05 2019 -0700 - - [serialize] Allow offset links that have base offset from the object base - - Rarely used, but used, in name table or similar constructs. - - src/hb-serialize.hh | 18 +++++++++--------- - 1 file changed, 9 insertions(+), 9 deletions(-) - -commit edad6b2c450e22e67ae86c5f2328cca3c29aaad2 -Author: Ebrahim Byagowi -Date: Wed Apr 3 00:48:59 2019 +0430 - - [test][iter] minor, fix double promotion warning - - src/test-iter.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 8801b80d724d36f9e6547b7975aaf1cc1a355734 -Author: Michiharu Ariza -Date: Tue Apr 2 13:10:36 2019 -0700 - - refix: orig_points must be saved before any adjustment - - src/hb-ot-var-gvar-table.hh | 11 ++++++----- - 1 file changed, 6 insertions(+), 5 deletions(-) - -commit ee58f6012e9570c8d56e23d14c605a2186d4a265 -Author: Michiharu Ariza -Date: Tue Apr 2 11:24:29 2019 -0700 - - infer gvar deltas for each region (not after accumulation) - - src/hb-ot-var-gvar-table.hh | 74 ++++++++++++++++++++++----------------------- - 1 file changed, 37 insertions(+), 37 deletions(-) - -commit 2c31652c8a9186068ee8958b46139121c51f1bf4 -Author: Michiharu Ariza -Date: Tue Apr 2 10:07:43 2019 -0700 - - fix private_indices vs shared_indices - - src/hb-ot-var-gvar-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 062f5d6e7aa061358eb5874a8f3a3f3bd6e9f16f -Author: Ebrahim Byagowi -Date: Tue Apr 2 20:27:00 2019 +0430 - - [test] minor, c style comments - - src/test-iter.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit afdbf960d6147ec607ddb2c780d3a83068f61357 -Author: Ebrahim Byagowi -Date: Tue Apr 2 20:25:06 2019 +0430 - - [iter][test] Add another test for hb_reduce - - Different initial and accumulator types - - src/test-iter.cc | 6 ++++++ - 1 file changed, 6 insertions(+) - -commit bfa02bef4546f448e048288c1162988c8c39322a -Author: Behdad Esfahbod -Date: Mon Apr 1 21:36:13 2019 -0700 - - [serialize] Switch to tetris-packing - - src/hb-open-type.hh | 15 +++++++++++---- - 1 file changed, 11 insertions(+), 4 deletions(-) - -commit f0ea3ac17bef98409d302b9f285e94015e069823 -Author: Behdad Esfahbod -Date: Mon Apr 1 21:36:03 2019 -0700 - - [serialize] Fix linking - - src/hb-serialize.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 7c0e2054e0799ed89cdc5de8c1416d009c0029b5 -Author: Behdad Esfahbod -Date: Mon Apr 1 21:32:29 2019 -0700 - - [serialize] Minor - - src/hb-serialize.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit dce9e5e622b94aaf8ba7e81dd6e09a0cead0c51f -Author: Michiharu Ariza -Date: Mon Apr 1 20:55:02 2019 -0700 - - fix get_start_tuple, get_end_tuple - - src/hb-ot-var-gvar-table.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 64d0f0893812fa1cb2746071d8b021560969526d -Author: Behdad Esfahbod -Date: Mon Apr 1 16:50:28 2019 -0700 - - [cmap] Minor - - src/hb-ot-cmap-table.hh | 7 ++++--- - 1 file changed, 4 insertions(+), 3 deletions(-) - -commit 2e675cc7b50b5a57ceddf799d63811801ffcfe94 -Author: Behdad Esfahbod -Date: Mon Apr 1 16:45:50 2019 -0700 - - [subset] Call serialize start/end around it - - To be cleaned up. - - src/hb-subset.cc | 2 ++ - 1 file changed, 2 insertions(+) - -commit abe33c6149719eb371c5f2b0d8c143550938129e -Author: Behdad Esfahbod -Date: Mon Apr 1 16:45:40 2019 -0700 - - [serialize] Assert stack - - src/hb-serialize.hh | 1 + - 1 file changed, 1 insertion(+) - -commit 72e9b2c16cd1bc183226ca0aa8a58a5b1222573d -Author: Behdad Esfahbod -Date: Mon Apr 1 16:17:30 2019 -0700 - - [serialize] Add add_link() to add link - - src/hb-serialize.hh | 26 +++++++++++++++++++++++--- - 1 file changed, 23 insertions(+), 3 deletions(-) - -commit 74addbecac3b8be699ac90b3853970f6c7efd0eb -Author: Behdad Esfahbod -Date: Mon Apr 1 14:17:09 2019 -0700 - - [serialize] Add default template type to push() - - src/hb-serialize.hh | 7 ++++++- - 1 file changed, 6 insertions(+), 1 deletion(-) - -commit b8642087e6c2ec96dc70fcef617128b6ce353a7e -Author: Ebrahim Byagowi -Date: Tue Apr 2 00:30:06 2019 +0430 - - [iter] hb_reduce, accumulator with a different type - - src/hb-iter.hh | 22 ++++++++++++---------- - src/test-iter.cc | 26 +++++++++++++++++++++++++- - 2 files changed, 37 insertions(+), 11 deletions(-) - -commit e526414c759ebca82f1071cdeafe1160bcaa9637 -Author: Ebrahim Byagowi -Date: Sun Mar 31 12:41:58 2019 +0430 - - [iter] Implement hb_reduce - - src/hb-iter.hh | 28 ++++++++++++++++++++++++++++ - src/test-iter.cc | 5 +++++ - 2 files changed, 33 insertions(+) - -commit 72545cb83949571393f06b0f26c36adf461b967e -Author: Michiharu Ariza -Date: Mon Apr 1 16:49:15 2019 -0700 - - fixed off by one bug in apply_deltas_to_points() - - src/hb-ot-var-gvar-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit f3aca6aa267f7687a0406c7c545aefb5eed300b2 -Author: Behdad Esfahbod -Date: Sun Mar 31 21:37:14 2019 -0700 - - [serialize] Implement linking - - Untested! - - src/hb-serialize.hh | 29 +++++++++++++++++++++++++++-- - 1 file changed, 27 insertions(+), 2 deletions(-) - -commit 17f0cfa7ea3a5f0946d8800b98c1582c05dad853 -Author: Behdad Esfahbod -Date: Sun Mar 31 21:34:19 2019 -0700 - - Move BEInt to hb.hh - - I knows... - - src/hb-machinery.hh | 88 ---------------------------------------------------- - src/hb.hh | 89 +++++++++++++++++++++++++++++++++++++++++++++++++++++ - 2 files changed, 89 insertions(+), 88 deletions(-) - -commit 78fc43f2930064cd6cf4229c1e4cb76edb8ed7f6 -Author: Behdad Esfahbod -Date: Sun Mar 31 19:17:07 2019 -0700 - - [iter] Fix up build, ouch - - Yeah, some things not very clear... - - src/hb-iter.hh | 8 ++++++-- - src/test-iter.cc | 4 ++-- - 2 files changed, 8 insertions(+), 4 deletions(-) - -commit e5d6fe9782a9fcde0786392c075c6c0b85c24829 -Author: Jonathan Kew -Date: Sun Mar 31 19:17:32 2019 +0100 - - Don't skip setting the .end field of the first range - - Fixes a bug in CoverageFormat2::serialize whereby the first range - was not serialized correctly if it consists of only a single glyph ID. - This broke shaping of U+0626 in the Arabic fallback shaper, because it - is not found in the coverage table of the 'init' and 'medi' lookups. - - Also fix similar bug in ClassDefFormat2::serialize, noted during code - inspection (I haven't observed a case that was actually affected by - this, but it looks broken). - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1504 - - src/hb-ot-layout-common.hh | 14 +++++++++----- - 1 file changed, 9 insertions(+), 5 deletions(-) - -commit 8a8d45b924cdb4343b4b11a7ef14e2d1fabb6f82 -Author: Behdad Esfahbod -Date: Sun Mar 31 19:00:09 2019 -0700 - - [iter] Adjust hb_copy() and use it - - Untested. - - src/hb-iter.hh | 11 ++++------- - src/hb-vector.hh | 4 ++-- - 2 files changed, 6 insertions(+), 9 deletions(-) - -commit ba4b7be45523e88c26f763f8a329cc43c13b98a1 -Author: Ebrahim Byagowi -Date: Sun Mar 31 01:32:30 2019 -0700 - - Remove coretext_aat shaper (#1581) - - coretext_aat was a temporary shaper to redirect shaping of AAT fonts - to CoreText and leaving the rest for HarfBuzz. As HarfBuzz now supports - AAT and Chrome now actually ships that on a stable version on macOS, - we no longer care about such use-case. If a client really wants 100% - metrics compatibility with CoreText better to use it directly or through - our API. Replicating the same behavior still is possible using - hb_shape_full, something we don't care or like to offer anymore. - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1478 - - src/hb-coretext.cc | 56 --------------------------------------------------- - src/hb-shaper-list.hh | 4 ---- - 2 files changed, 60 deletions(-) - -commit ef11305bfda0e261f0793acd81c9478df1719b1e -Author: Michiharu Ariza -Date: Sun Mar 31 00:23:58 2019 -0700 - - fixed tt var extents - - max bounds were not correctly initialized - - src/hb-ot-glyf-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit f7700fc479c25599e89b9d59edaad66e103a742d -Merge: 43725d363 d6005b49b -Author: Michiharu Ariza -Date: Sat Mar 30 20:49:34 2019 -0700 - - Merge branch 'master' into var-subset - -commit d6005b49b32410543a8dfa93ce2a213223cf8f01 -Author: Behdad Esfahbod -Date: Sat Mar 30 19:49:56 2019 -0700 - - [serialize] Start implementing linking - - src/hb-serialize.hh | 15 ++++++++++++--- - 1 file changed, 12 insertions(+), 3 deletions(-) - -commit 313b3057c335da6baa4cd447bac95812992413b9 -Author: Behdad Esfahbod -Date: Sat Mar 30 19:46:35 2019 -0700 - - [serializer] Implement dedup! - - src/hb-serialize.hh | 18 +++++++++++++++--- - 1 file changed, 15 insertions(+), 3 deletions(-) - -commit b189bbc48fb4b7c251d30b26a57ad84d1cb6dbe4 -Author: Behdad Esfahbod -Date: Sat Mar 30 19:41:48 2019 -0700 - - Implement hashing of objects - - Should be improved for hb_bytes_t. - - src/hb-algs.hh | 2 +- - src/hb-array.hh | 13 +++++++++++++ - src/hb-serialize.hh | 5 +++++ - src/hb-vector.hh | 5 +++++ - 4 files changed, 24 insertions(+), 1 deletion(-) - -commit d6b28057a5cc636138cd453947d3a2008f18729f -Author: Behdad Esfahbod -Date: Sat Mar 30 19:31:51 2019 -0700 - - Fix hb_hash(pointer) - - src/hb-algs.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit d74dc3ef65a159fe585e906deccdb32b570433aa -Author: Behdad Esfahbod -Date: Sat Mar 30 19:26:37 2019 -0700 - - [serialize] Don't insert empty object into tree - - src/hb-serialize.hh | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -commit 7fd82283263f8caded4870d6e12f74c7e660fa8d -Author: Behdad Esfahbod -Date: Sat Mar 30 19:16:20 2019 -0700 - - [serialize] Towards maintaining hashmap - - src/hb-algs.hh | 2 +- - src/hb-serialize.hh | 16 ++++++++++++++-- - src/hb-vector.hh | 1 + - 3 files changed, 16 insertions(+), 3 deletions(-) - -commit f254f45a1e6b1de6d83c97033773d20408772763 -Author: Behdad Esfahbod -Date: Sat Mar 30 19:05:51 2019 -0700 - - [serialize] Only pack main object if there are other objects - - Avoids a memmove for tables that don't use the object packing mechanism. - - src/hb-serialize.hh | 7 +++++-- - 1 file changed, 5 insertions(+), 2 deletions(-) - -commit 946d446f9b795f657d56ca443edbc0b77d660a50 -Author: Behdad Esfahbod -Date: Sat Mar 30 19:03:55 2019 -0700 - - [serialize] Copy both sides of the buffer - - src/hb-serialize.hh | 13 +++++++++---- - 1 file changed, 9 insertions(+), 4 deletions(-) - -commit 8512dc565d310e9fd80d831282736284cc3ecd2e -Author: Behdad Esfahbod -Date: Sat Mar 30 19:01:23 2019 -0700 - - [serialize] Simplify copy - - src/hb-serialize.hh | 22 +++++++--------------- - 1 file changed, 7 insertions(+), 15 deletions(-) - -commit 43725d36322b7277d515b958b5e894e1c892cede -Merge: 294d520f6 a7c63cd8f -Author: Michiharu Ariza -Date: Sat Mar 30 18:51:15 2019 -0700 - - Merge branch 'master' into var-subset - -commit 0b1fe7b716628f7b7b4098da9ef544e1518008f5 -Author: Behdad Esfahbod -Date: Sat Mar 30 18:48:26 2019 -0700 - - [serializer] Unbreak for now - - src/hb-serialize.hh | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit 10f062234eb7c762a36cf750e75fe6f74ee89a3d -Author: Behdad Esfahbod -Date: Sat Mar 30 18:44:01 2019 -0700 - - [map] Shuffle fini code - - src/hb-map.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit e6b78003efbe02ba4542cadcc13bc1dd0b1d57b0 -Author: Behdad Esfahbod -Date: Sat Mar 30 18:33:30 2019 -0700 - - [vector] Add move semantics - - src/hb-vector.hh | 16 ++++++++++++++++ - 1 file changed, 16 insertions(+) - -commit 4c4d3c3ed55a8f1eea20593c08322e61fe1cdd3c -Author: Behdad Esfahbod -Date: Sat Mar 30 18:30:50 2019 -0700 - - [vector] Add some move and forwarding - - src/hb-serialize.hh | 2 +- - src/hb-vector.hh | 8 ++++---- - 2 files changed, 5 insertions(+), 5 deletions(-) - -commit 7c9ceabcef426ca6fc54b70db9dd8cb63937710b -Author: Behdad Esfahbod -Date: Sat Mar 30 18:19:36 2019 -0700 - - [meta] Add hb_move and hb_forward ala std:: - - src/hb-meta.hh | 11 +++++++++++ - 1 file changed, 11 insertions(+) - -commit 9a19b885f9136b0b7cdfa04679274cd4b6d16188 -Author: Behdad Esfahbod -Date: Sat Mar 30 18:14:30 2019 -0700 - - [serialize] Flesh out packing - - src/hb-serialize.hh | 58 +++++++++++++++++++++++++++++++---------------------- - 1 file changed, 34 insertions(+), 24 deletions(-) - -commit 357c7c611cc20f86c646bd2d392c243140f92d34 -Author: Behdad Esfahbod -Date: Sat Mar 30 18:13:57 2019 -0700 - - [vector] Add copy constructor and assignment operator - - src/hb-vector.hh | 17 ++++++++++++++++- - 1 file changed, 16 insertions(+), 1 deletion(-) - -commit 6f69c9d26fa53cd8a2331395bbc146bfc85fd1e3 -Author: Behdad Esfahbod -Date: Sat Mar 30 18:00:03 2019 -0700 - - [serialize] Minor - - src/hb-serialize.hh | 9 +++++---- - 1 file changed, 5 insertions(+), 4 deletions(-) - -commit a43290192beedc6335efc3841c05ec7fa54e8871 -Author: Behdad Esfahbod -Date: Sat Mar 30 17:51:26 2019 -0700 - - [serialize] Add packed_map - - src/hb-map.hh | 7 +++++++ - src/hb-serialize.hh | 24 +++++++++++++++++++++--- - 2 files changed, 28 insertions(+), 3 deletions(-) - -commit bed150bd2e8d61950ea17d1b5a4bf4705801c1cc -Author: Behdad Esfahbod -Date: Sat Mar 30 17:26:35 2019 -0700 - - [serialize] Start fleshing out object stack - - src/hb-serialize.hh | 91 ++++++++++++++++++++++++++++++++++++++--------------- - src/hb-vector.hh | 9 ++++-- - 2 files changed, 72 insertions(+), 28 deletions(-) - -commit 63c35651893b2a1c555f728012e9ad36c0f84145 -Author: Behdad Esfahbod -Date: Sat Mar 30 17:12:40 2019 -0700 - - [serialize] Simplify propagate_error() - - src/hb-serialize.hh | 9 ++------- - 1 file changed, 2 insertions(+), 7 deletions(-) - -commit dbe9ba6711c6d35374de645097babfd81bc295b2 -Author: Behdad Esfahbod -Date: Sat Mar 30 17:10:59 2019 -0700 - - [serialize] Add object_t, link_t, and snapshot_t - - src/hb-serialize.hh | 32 +++++++++++++++++++++++++++++++- - 1 file changed, 31 insertions(+), 1 deletion(-) - -commit 38d57b9a66008c9722125d4d677d759a910cf2a1 -Author: Behdad Esfahbod -Date: Sat Mar 30 16:38:06 2019 -0700 - - [map] Add another TODO item - - src/hb-map.hh | 2 ++ - 1 file changed, 2 insertions(+) - -commit 7fd940f899da4948d2c61ed497c1face42776187 -Author: Behdad Esfahbod -Date: Sat Mar 30 16:29:19 2019 -0700 - - [map] Add TODO - - src/hb-map.hh | 8 ++++++++ - 1 file changed, 8 insertions(+) - -commit 6dcf7c4017619c782dbc8bd2c584bb33df96fc83 -Author: Behdad Esfahbod -Date: Sat Mar 30 15:08:39 2019 -0700 - - [serialize] Add unused 'tail' - - src/hb-serialize.hh | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit fe05e48086be9ed685b8a6ca4af966660744bc0f -Author: Behdad Esfahbod -Date: Sat Mar 30 15:06:25 2019 -0700 - - [serialize] Add ran_out_of_room - - src/hb-serialize.hh | 8 +++++++- - src/hb-subset.cc | 7 ++++++- - 2 files changed, 13 insertions(+), 2 deletions(-) - -commit a7c63cd8f8475c6de7fd5bb6444bf5d24082a191 -Author: Behdad Esfahbod -Date: Sat Mar 30 14:59:40 2019 -0700 - - Split sanitize and dispatch into their own files - - src/Makefile.sources | 2 + - src/hb-dispatch.hh | 50 +++++++ - src/hb-machinery.hh | 369 +----------------------------------------------- - src/hb-sanitize.hh | 388 +++++++++++++++++++++++++++++++++++++++++++++++++++ - 4 files changed, 442 insertions(+), 367 deletions(-) - -commit be66b575fc15dbbe82cf1a7fa0b58020e86cffdc -Author: Behdad Esfahbod -Date: Sat Mar 30 14:53:54 2019 -0700 - - Move serializer to hb-serialize.hh - - src/Makefile.sources | 1 + - src/hb-machinery.hh | 164 +----------------------------------------- - src/hb-serialize.hh | 196 +++++++++++++++++++++++++++++++++++++++++++++++++++ - 3 files changed, 198 insertions(+), 163 deletions(-) - -commit bb22462f292995a724bf20363adf52d3a8357a97 -Author: Behdad Esfahbod -Date: Sat Mar 30 14:46:54 2019 -0700 - - Whitespace - - src/hb-machinery.hh | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit ef33b5d1f6d3ec21e15ad74ca2524a117f594e06 -Author: Behdad Esfahbod -Date: Sat Mar 30 14:39:21 2019 -0700 - - [map] Deref pointers before equality check - - src/hb-map.hh | 6 ++++-- - src/hb-meta.hh | 4 ++-- - 2 files changed, 6 insertions(+), 4 deletions(-) - -commit c98f51da719d1792bf23b53a9a345926056bf34d -Author: Behdad Esfahbod -Date: Sat Mar 30 14:30:22 2019 -0700 - - [map] Templatize hb_map_t - - Template name is hb_hashmap_t. - - src/hb-map.hh | 65 ++++++++++++++++++++++++++++++++++------------------------- - 1 file changed, 37 insertions(+), 28 deletions(-) - -commit 294d520f6542198fa6cf08764f7732fe138e5c97 -Author: Michiharu Ariza -Date: Sat Mar 30 13:58:22 2019 -0700 - - more iter changes from master - - src/hb-iter.hh | 4 ++-- - src/hb-ot-layout-gsubgpos.hh | 12 ++++++------ - src/test-iter.cc | 2 +- - 3 files changed, 9 insertions(+), 9 deletions(-) - -commit 4b7f4dbc0cf58d87f4c91f059734e91e4d988480 -Author: Behdad Esfahbod -Date: Sat Mar 30 13:48:32 2019 -0700 - - Add hb_deref_pointer() - - src/hb-algs.hh | 18 +++++++++++++----- - src/hb-meta.hh | 8 ++++++++ - 2 files changed, 21 insertions(+), 5 deletions(-) - -commit 8f2ce82f7699e12b80986fcdf408f7b43358bcc8 -Author: Michiharu Ariza -Date: Sat Mar 30 11:50:24 2019 -0700 - - hb.hh from master - - src/hb.hh | 53 ----------------------------------------------------- - 1 file changed, 53 deletions(-) - -commit 3bfd3a367cdd8714b151d2504148b772f1159558 -Author: Michiharu Ariza -Date: Sat Mar 30 00:27:02 2019 -0700 - - fix build - - src/Makefile.sources | 1 + - 1 file changed, 1 insertion(+) - -commit c7ca8853ae286b685d8e3dea342c044237213341 -Author: Michiharu Ariza -Date: Sat Mar 30 00:11:58 2019 -0700 - - more change set() to = - - src/hb-ot-layout-common.hh | 14 +++++++------- - 1 file changed, 7 insertions(+), 7 deletions(-) - -commit d75b73a309d5b6064a6e13d9a7eb998e0ec53822 -Author: Michiharu Ariza -Date: Sat Mar 30 00:06:54 2019 -0700 - - fix rebase errors - - .circleci/config.yml | 11 ----------- - src/hb-common.h | 2 +- - src/hb-directwrite.cc | 15 ++++++++++++++- - src/hb-directwrite.h | 3 +++ - src/hb-null.hh | 2 +- - 5 files changed, 19 insertions(+), 14 deletions(-) - -commit 3fbd242ba62835a5c41164807bfdb0e4f63260da -Author: Michiharu Ariza -Date: Fri Mar 29 23:53:06 2019 -0700 - - replace .set() with = - - remove .gitignore - - .gitignore | 1 - - src/hb-ot-var-gvar-table.hh | 26 +++++++++++++------------- - src/hb-ot-var-hvar-table.hh | 18 +++++++++--------- - 3 files changed, 22 insertions(+), 23 deletions(-) - -commit 8a8965be39d909198d6c91d5a45aede6802ebd71 -Merge: cc94a9ed3 3236623e1 -Author: Michiharu Ariza -Date: Fri Mar 29 23:38:16 2019 -0700 - - Merge branch 'var-subset' of https://github.com/harfbuzz/harfbuzz into var-subset - -commit cc94a9ed3b63cf74aa64c83a203137f16c6e152c -Merge: 435bc7f3e ce6093a96 -Author: Michiharu Ariza -Date: Fri Mar 29 18:41:38 2019 -0700 - - Merge branch 'var-subset' of https://github.com/harfbuzz/harfbuzz into var-subset - rebase master - -commit e5306927994e8e412dea5dd960b8b3ed4ca848eb -Author: Behdad Esfahbod -Date: Fri Mar 29 23:31:07 2019 -0700 - - [iter] Fix bug in hb_any() and hb_none() - - src/hb-iter.hh | 4 ++-- - src/hb-ot-layout-gsubgpos.hh | 12 ++++++------ - src/test-iter.cc | 2 +- - 3 files changed, 9 insertions(+), 9 deletions(-) - -commit ce6093a96ba4c68b4eb4f1cd4b695eb41f1fa334 -Merge: ddb84dcec a1177fec8 -Author: Michiharu Ariza -Date: Fri Mar 29 10:32:45 2019 -0700 - - Merge branch 'var-subset' of https://github.com/harfbuzz/harfbuzz into var-subset - -commit a1177fec8f43a65bca6696378995d6d39d8f6330 -Merge: 58c8c7a49 f505b5d5c -Author: Michiharu Ariza -Date: Fri Mar 29 08:43:47 2019 -0700 - - Merge branch 'master' into var-subset - - rebase master - -commit f505b5d5c9c05741a933b4b986503e1697bbdfdb -Author: Behdad Esfahbod -Date: Fri Mar 29 22:55:02 2019 -0700 - - [iter] Port remaining "for (auto" instances to daggers - - src/hb-ot-layout-gsubgpos.hh | 35 +++++++++++++++++++++++------------ - 1 file changed, 23 insertions(+), 12 deletions(-) - -commit 668d2d562fec797d779c6d6a43eb6e1c7cfbc07a -Author: Behdad Esfahbod -Date: Fri Mar 29 22:48:38 2019 -0700 - - [iter] One more dagger - - src/hb-ot-layout-gsubgpos.hh | 13 +++++++------ - 1 file changed, 7 insertions(+), 6 deletions(-) - -commit d51452500f909803a346f26c71cf4b3f84f619bd -Author: Behdad Esfahbod -Date: Fri Mar 29 22:48:12 2019 -0700 - - [iter] Remove more wrong &&'s - - Sigh... - - src/hb-iter.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 05f2130a1c479afe7982e8ddcfb3d83af9960e5b -Author: Behdad Esfahbod -Date: Fri Mar 29 22:40:13 2019 -0700 - - [iter] More daggers - - src/hb-ot-layout-gsubgpos.hh | 110 +++++++++++++++++++++++++------------------ - 1 file changed, 64 insertions(+), 46 deletions(-) - -commit 22ec4c3aa5aa41b7aa2a89290851ddd386273579 -Author: Behdad Esfahbod -Date: Fri Mar 29 22:27:46 2019 -0700 - - [iter] More daggers - - src/hb-ot-layout-gsubgpos.hh | 55 ++++++++++++++++++++++++++------------------ - 1 file changed, 33 insertions(+), 22 deletions(-) - -commit 688069bbfb40d69fb141371633cd499d91324cc2 -Author: Behdad Esfahbod -Date: Fri Mar 29 22:17:31 2019 -0700 - - [iter] One more dagger - - src/hb-ot-layout-gsub-table.hh | 13 +++++-------- - 1 file changed, 5 insertions(+), 8 deletions(-) - -commit 90b60bd6909ffc6d0bff3e6901057439460407ca -Author: Behdad Esfahbod -Date: Fri Mar 29 22:12:42 2019 -0700 - - Remove HB_DEBUG_WOULD_APPLY - - Not that useful. - - src/hb-debug.hh | 15 +--------- - src/hb-ot-layout-gsub-table.hh | 49 ++++++++++---------------------- - src/hb-ot-layout-gsubgpos.hh | 64 ++++++++++++++++++------------------------ - 3 files changed, 43 insertions(+), 85 deletions(-) - -commit 4d28267e59406cc85761131b84c5b2b4c65c6b35 -Author: Behdad Esfahbod -Date: Fri Mar 29 22:04:15 2019 -0700 - - [iter] Port more to daggers - - src/hb-ot-layout-gsub-table.hh | 22 +++++++++++----------- - 1 file changed, 11 insertions(+), 11 deletions(-) - -commit 9d8c72042b4a023b55cb39779407fdecaf098af1 -Author: Behdad Esfahbod -Date: Fri Mar 29 21:59:28 2019 -0700 - - Whitespace - - src/hb-ot-layout-gpos-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 418e9d07e2120f806852312f4c74204fa085a6cc -Author: Behdad Esfahbod -Date: Fri Mar 29 21:57:26 2019 -0700 - - Simplify code - - src/hb-ot-layout-gsub-table.hh | 20 +++----------------- - 1 file changed, 3 insertions(+), 17 deletions(-) - -commit f5ef8a7347656ad5f5bb8cec5f9a3de262a79411 -Author: Behdad Esfahbod -Date: Fri Mar 29 21:57:17 2019 -0700 - - [iter] Port one more function to dagger - - src/hb-ot-layout-gpos-table.hh | 14 ++++++++------ - 1 file changed, 8 insertions(+), 6 deletions(-) - -commit bcab098c8f35ac4bef6618d949a7bf1d95869fa5 -Author: Behdad Esfahbod -Date: Fri Mar 29 21:49:18 2019 -0700 - - [iter] Port more code to daggers - - src/hb-ot-layout-gsub-table.hh | 14 ++++++++------ - 1 file changed, 8 insertions(+), 6 deletions(-) - -commit 4c75158e1803e73d6126f715aa4b22ebe30aa7c7 -Author: Behdad Esfahbod -Date: Fri Mar 29 21:46:13 2019 -0700 - - [iter] Port two more functions to daggers - - src/hb-ot-layout-gsub-table.hh | 29 +++++++++++++++++------------ - 1 file changed, 17 insertions(+), 12 deletions(-) - -commit e70ccbe9edd4d5e033df4afa728b3593ba9f78af -Author: Behdad Esfahbod -Date: Fri Mar 29 21:45:49 2019 -0700 - - Fix pair signature - - Oh well. Again, who does fully understand what is right??? - - src/hb-algs.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 6237b47f0c59fd3913b19b23800cdf83eaa01fb6 -Author: Behdad Esfahbod -Date: Fri Mar 29 21:36:49 2019 -0700 - - [iter] Add hb_unzip() - - src/hb-iter.hh | 38 ++++++++++++++++++++++++++++++++++++++ - 1 file changed, 38 insertions(+) - -commit f1dad91eb3ce9dcdedbb4a0d6e34517db0154a84 -Author: Behdad Esfahbod -Date: Fri Mar 29 21:17:08 2019 -0700 - - Whitespace - - src/hb-ot-layout-gsub-table.hh | 3 +++ - 1 file changed, 3 insertions(+) - -commit 896b31670d07cbe276feff1db249b64faa5c552c -Author: Behdad Esfahbod -Date: Fri Mar 29 21:16:30 2019 -0700 - - [iter] Port two more loops to dagger - - src/hb-ot-layout-gsub-table.hh | 14 +++++++++----- - 1 file changed, 9 insertions(+), 5 deletions(-) - -commit 8e34cb251a9b22d6fbc637fd2f25965beb260270 -Author: Behdad Esfahbod -Date: Fri Mar 29 21:14:20 2019 -0700 - - [iter] Remove unneeded && - - Next commit needs this. I never fully get this, sigh. - - src/hb-iter.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 12a4c0441ff13e56bb87f53eab45930c2a6142ed -Author: Behdad Esfahbod -Date: Fri Mar 29 21:06:10 2019 -0700 - - Whitespace - - src/hb-ot-layout-gsub-table.hh | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - -commit 4c38a9f6011a9b1dd6c4fc98620e23decc340322 -Author: Behdad Esfahbod -Date: Fri Mar 29 20:23:07 2019 -0700 - - Remove hb_assign() - - Not needed anymore. We just use operator= now. - - src/hb-iter.hh | 2 +- - src/hb-machinery.hh | 2 +- - src/hb-null.hh | 13 ------------- - src/hb-open-type.hh | 2 +- - 4 files changed, 3 insertions(+), 16 deletions(-) - -commit b986c6a321f7d997eba0a9308b651966644bf336 -Author: Behdad Esfahbod -Date: Fri Mar 29 20:17:46 2019 -0700 - - [C++11] Remove IntType::set() in favor of operator= - - src/hb-cff-interp-common.hh | 4 +- - src/hb-ft.cc | 2 +- - src/hb-null.hh | 6 --- - src/hb-open-file.hh | 14 +++--- - src/hb-open-type.hh | 43 +++++++++++------ - src/hb-ot-cff-common.hh | 24 +++++----- - src/hb-ot-cff1-table.hh | 32 ++++++------- - src/hb-ot-cmap-table.hh | 77 +++++++++++++++--------------- - src/hb-ot-glyf-table.hh | 2 +- - src/hb-ot-hdmx-table.hh | 12 ++--- - src/hb-ot-hmtx-table.hh | 8 ++-- - src/hb-ot-layout-common.hh | 44 ++++++++--------- - src/hb-ot-layout-gdef-table.hh | 8 ++-- - src/hb-ot-layout-gsub-table.hh | 18 +++---- - src/hb-ot-maxp-table.hh | 16 +++---- - src/hb-ot-os2-table.hh | 10 ++-- - src/hb-ot-post-table.hh | 2 +- - src/hb-ot-shape-complex-arabic-fallback.hh | 10 ++-- - src/hb-ot-vorg-table.hh | 12 ++--- - src/hb-subset-cff-common.cc | 12 ++--- - src/hb-subset-cff-common.hh | 2 +- - src/hb-subset-cff1.cc | 10 ++-- - src/hb-subset-cff2.cc | 8 ++-- - src/hb-subset-glyf.cc | 8 ++-- - src/hb-uniscribe.cc | 22 ++++----- - 25 files changed, 206 insertions(+), 200 deletions(-) - -commit 58ad357951a732f05d9680573d00a4764171a9dd -Author: Behdad Esfahbod -Date: Fri Mar 29 20:05:19 2019 -0700 - - [vector] Accept all types in push(...) - - Let assignment operator worry about conversion. - - src/hb-vector.hh | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -commit 489faf826ca16e9bc89515869ebaf52653450b54 -Author: Behdad Esfahbod -Date: Fri Mar 29 20:01:37 2019 -0700 - - [C++11] Use type aliases for template partial instantiations - - src/hb-open-type.hh | 24 ++++++++++++++---------- - 1 file changed, 14 insertions(+), 10 deletions(-) - -commit 3236623e1f4a11c23f8f2fb41d886d1255c2bc63 -Merge: 435bc7f3e d30e5e748 -Author: Michiharu Ariza -Date: Fri Mar 29 18:41:38 2019 -0700 - - Merge branch 'var-subset' of https://github.com/harfbuzz/harfbuzz into var-subset - -commit 435bc7f3e2290e108550ed460f4fdeacf25e9f28 -Author: Michiharu Ariza -Date: Fri Mar 29 18:39:30 2019 -0700 - - Update hb-ot-var-gvar-table.hh - - src/hb-ot-var-gvar-table.hh | 1 - - 1 file changed, 1 deletion(-) - -commit 8fdb8fcf808da7d928aa289e0d1c432223fb1a26 -Author: Michiharu Ariza -Date: Fri Mar 29 18:39:27 2019 -0700 - - fix rebase errors - - src/hb-ot-layout-common.hh | 21 ++++++-- - src/hb-ot-var-gvar-table.hh | 119 ++++++++++++++------------------------------ - 2 files changed, 54 insertions(+), 86 deletions(-) - -commit 1ccb457cbb7be2466536661d76d62de9fe582639 -Author: Michiharu Ariza -Date: Fri Mar 29 18:28:25 2019 -0700 - - fix gvar fuzz bug - - src/hb-ot-var-gvar-table.hh | 8 +++++++- - 1 file changed, 7 insertions(+), 1 deletion(-) - -commit 3f84589232b5a6397e711774351bfe8dc6b1cfd7 -Author: Behdad Esfahbod -Date: Thu Mar 28 21:21:26 2019 -0700 - - 2.4.0 - - NEWS | 11 +++++++++++ - configure.ac | 2 +- - src/hb-buffer.h | 2 +- - src/hb-version.h | 6 +++--- - 4 files changed, 16 insertions(+), 5 deletions(-) - -commit 282c76d9a01cbe4300d9306d391c387f1890c391 -Author: Behdad Esfahbod -Date: Thu Mar 28 21:00:58 2019 -0700 - - Use internal bsearch() for language tags - - Fixes https://github.com/harfbuzz/harfbuzz/pull/1639 - - src/hb-ot-tag.cc | 46 ++++++++++++++++++++++------------------------ - 1 file changed, 22 insertions(+), 24 deletions(-) - -commit 3bed03dc6aded78037b09f21ea1defe842bfb73c -Author: Behdad Esfahbod -Date: Thu Mar 28 20:50:04 2019 -0700 - - [indic] Add back medial-consonant to grammar - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1592 - - src/hb-ot-shape-complex-indic-machine.hh | 1244 +++++++++++--------- - src/hb-ot-shape-complex-indic-machine.rl | 5 +- - src/hb-ot-shape-complex-indic.cc | 2 +- - src/hb-ot-shape-complex-indic.hh | 6 +- - .../f75c4b05a0a4d67c1a808081ae3d74a9c66509e8.ttf | Bin 0 -> 1924 bytes - .../data/in-house/tests/indic-syllable.tests | 2 + - 6 files changed, 672 insertions(+), 587 deletions(-) - -commit f8803fbacec52d633adc37acfd2c9c79c4c12041 -Author: Behdad Esfahbod -Date: Thu Mar 28 20:23:12 2019 -0700 - - [khmer] Add trailing Coeng to syllable grammar - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1541 - - src/hb-ot-shape-complex-khmer-machine.hh | 248 ++++++++++----------- - src/hb-ot-shape-complex-khmer-machine.rl | 2 +- - .../ad01ab2ea1cb1a4d3a2783e2675112ef11ae6404.ttf | Bin 0 -> 1500 bytes - test/shaping/data/in-house/tests/khmer-misc.tests | 1 + - 4 files changed, 122 insertions(+), 129 deletions(-) - -commit 93a6a063dc448b7b8303fe10fc9bbf1c2298b5f8 -Author: Ebrahim Byagowi -Date: Thu Mar 28 16:57:56 2019 -0700 - - [ci] Tweak macos and psvita bots (#1638) - - * Add --with-graphite2 to macOS - * Add a dummy ragel script for psvita - - .circleci/config.yml | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit f84342c094727a41be6225d484d30170d1ddf118 -Author: Michiharu Ariza -Date: Thu Mar 28 16:17:36 2019 -0700 - - minor - - src/hb-ot-var-hvar-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 7e8c4585accc9608a7cb167279ab1ca9e6e1f779 -Author: Ebrahim Byagowi -Date: Thu Mar 28 15:42:45 2019 -0700 - - [ci] Use only CircleCI for macOS (#1637) - - .circleci/config.yml | 5 +++-- - .travis.yml | 18 ------------------ - 2 files changed, 3 insertions(+), 20 deletions(-) - -commit 3e18447c6445f4d5e35f706f086872a21f46e9f4 -Author: Michiharu Ariza -Date: Thu Mar 28 15:07:49 2019 -0700 - - fixed a fuzzer bug - - src/hb-ot-var-hvar-table.hh | 1 + - 1 file changed, 1 insertion(+) - -commit 4774283a2c8c286bc431fa1c56950ece3b57f13f -Author: Behdad Esfahbod -Date: Thu Mar 28 13:44:38 2019 -0700 - - Fix shell syntax error - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1612 - - src/check-symbols.sh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 4b763affa640735cf5c7382e15f16dbcb88cf54e -Author: Behdad Esfahbod -Date: Thu Mar 28 11:11:52 2019 -0700 - - Comment - - src/hb.hh | 1 + - 1 file changed, 1 insertion(+) - -commit d9d6649bf2de061704651eb2b7f57f4434e75c49 -Author: punchcutter -Date: Wed Mar 27 23:12:58 2019 -0700 - - Override USE category for Grantha and Tirhuta visargas to allow marks - - src/gen-use-table.py | 3 ++- - src/hb-ot-shape-complex-use-table.cc | 4 ++-- - 2 files changed, 4 insertions(+), 3 deletions(-) - -commit 13ae138af3e108eb81a0df907f1232f581245091 -Author: Egor Pugin -Date: Thu Mar 28 19:06:12 2019 +0300 - - Disable unwanted C++ definitions for MSVC. - - MSVC does not set __cplusplus to the latest standard and also it does not like redefining some keywords. - - src/hb.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 53d40426e10f14b2b4e583b7d51f23bfefbd0700 -Author: Michiharu Ariza -Date: Wed Mar 27 08:52:46 2019 -0700 - - tweaked recursion checks - - src/hb-ot-glyf-table.hh | 22 +++++++++++----------- - 1 file changed, 11 insertions(+), 11 deletions(-) - -commit dc07ecbd80814f79733ce3a2662d17bcbb54b1e9 -Author: Ebrahim Byagowi -Date: Wed Mar 27 16:38:39 2019 +0430 - - [ci] remove ragel from psvita compile bot - - .circleci/config.yml | 1 - - 1 file changed, 1 deletion(-) - -commit dd3624b6d5186e910dd70dd6939192507324b089 -Author: Ebrahim Byagowi -Date: Wed Mar 27 16:21:47 2019 +0430 - - [ci] Don't install ragel on cmake build bot images - - It is not needed anyway - - .circleci/config.yml | 5 ----- - 1 file changed, 5 deletions(-) - -commit 4f351754bbb91795b373e12c2c004f59c071af1d -Author: Michiharu Ariza -Date: Tue Mar 26 20:35:01 2019 -0700 - - add recursion checks - - src/hb-ot-glyf-table.hh | 24 ++++++++++++++---------- - 1 file changed, 14 insertions(+), 10 deletions(-) - -commit 0008963b28d57f180bcd7930d63b451381f4a02f -Author: Michiharu Ariza -Date: Tue Mar 26 17:10:46 2019 -0700 - - add support of anchor point & SCALED/UNSCALED_COMPONENT_OFFSET - - some code cleanup - - src/hb-ot-glyf-table.hh | 166 ++++++++++++++------- - src/hb-ot-var-gvar-table.hh | 38 ++++- - test/api/fonts/SourceSansVariable-Roman.anchor.ttf | Bin 0 -> 4708 bytes - test/api/test-ot-metrics-tt-var.c | 33 ++++ - 4 files changed, 179 insertions(+), 58 deletions(-) - -commit ea281aa8d07dac2b90bf4762882a3f3d2bca8249 -Author: Behdad Esfahbod -Date: Tue Mar 26 16:18:03 2019 -0700 - - Use class templates for Null objects - - This allows partial-instantiating custom Null object for template Lookup. - Before, this had to be handcoded per instantiation. Apparently I missed - adding one for AAT::ankr.lookupTable, so it was getting the wrong (generic) - null for Lookup object, which is wrong and unsafe. - - Fixes https://bugs.chromium.org/p/chromium/issues/detail?id=944346 - - src/hb-aat-layout-common.hh | 14 ++++------ - src/hb-null.hh | 31 +++++++++++++-------- - ...case-minimized-harfbuzz_fuzzer-5748102301614080 | Bin 0 -> 213 bytes - 3 files changed, 24 insertions(+), 21 deletions(-) - -commit 1dfc2dfff57802633d819a66708c210f76174461 -Author: Behdad Esfahbod -Date: Tue Mar 26 16:17:45 2019 -0700 - - [aat] Add missing check to ankr table - - Isn't absolutely needed. But helps. - - src/hb-aat-layout-ankr-table.hh | 1 + - 1 file changed, 1 insertion(+) - -commit 782961d216f53ff3237bdb6fd9544f54a1bc69a5 -Author: Behdad Esfahbod -Date: Mon Mar 25 15:15:37 2019 -0700 - - [docs] Update - - docs/harfbuzz-docs.xml | 1 + - 1 file changed, 1 insertion(+) - -commit d4fb54508d17d1c64636f336a699ef8352d8c863 -Author: Behdad Esfahbod -Date: Mon Mar 25 15:08:14 2019 -0700 - - Update ChangeLog generation - - Let's see if I can make a release on Mac... - - Makefile.am | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 2f97cd7a525c64a98730466f195d1d3c5cd3ea50 -Author: Qunxin Liu -Date: Tue Mar 26 10:37:24 2019 -0700 - - completely remove lines that are commented out - - src/hb-subset-plan.cc | 6 ------ - src/hb-subset-plan.hh | 3 --- - 2 files changed, 9 deletions(-) - -commit e74d646d9ee3ecfda4f338a0e3bf2e0564fb1858 -Author: Qunxin Liu -Date: Tue Mar 26 09:15:56 2019 -0700 - - update arguments in_populate_gids_to_retain() and _create_old_gid_to_new_gid_map() - so they don't use deprecated variable - - src/hb-subset-plan.cc | 36 ++++++++++++++++++------------------ - 1 file changed, 18 insertions(+), 18 deletions(-) - -commit b12a5daad7cd5ec4c019c8d4827bf8456ef632c9 -Author: Qunxin Liu -Date: Mon Mar 25 19:59:37 2019 -0700 - - try to remove deprecated variable from struct definition - - src/hb-subset-plan.cc | 9 +++++---- - src/hb-subset-plan.hh | 2 +- - 2 files changed, 6 insertions(+), 5 deletions(-) - -commit 9c5d694af2c6146833011498c3adcf68c0123c31 -Author: Michiharu Ariza -Date: Fri Mar 22 11:05:23 2019 -0700 - - add HVAR & VVAR advance width api test - - test/api/test-ot-metrics-tt-var.c | 41 +++++++++++++++++++++++++++++++++++++-- - 1 file changed, 39 insertions(+), 2 deletions(-) - -commit ae3db1f4e3bb1c451e04b96125cb95cdfce964d4 -Author: Michiharu Ariza -Date: Thu Mar 21 18:09:37 2019 -0700 - - added api test for subset VVAR & bug fix - - added a mod copy of SourceSerifVariable-Roman.ttf with VVAR as a test font - - src/hb-ot-var-hvar-table.hh | 7 +- - test/api/Makefile.am | 2 + - .../fonts/SourceSerifVariable-Roman-VVAR.abc.ttf | Bin 0 -> 5632 bytes - ...ourceSerifVariable-Roman-VVAR.ac.retaingids.ttf | Bin 0 -> 5288 bytes - .../fonts/SourceSerifVariable-Roman-VVAR.ac.ttf | Bin 0 -> 3224 bytes - test/api/test-subset-vvar.c | 103 +++++++++++++++++++++ - 6 files changed, 108 insertions(+), 4 deletions(-) - -commit b3007ec2098884721979c1105a0f1e428b95e2ca -Author: Michiharu Ariza -Date: Thu Mar 21 09:50:53 2019 -0700 - - regenerated expected full fonts data after fontTools bug 1550 fixed - - ...eSerifVariable-Roman.drop-hints.D7,D8,D9,DA,DE.ttf | Bin 5928 -> 5924 bytes - 1 file changed, 0 insertions(+), 0 deletions(-) - -commit fe5aa8b36c040b3561e33aac79006337fffda282 -Author: Michiharu Ariza -Date: Wed Mar 20 15:10:59 2019 -0700 - - added TT VF full font test & fixed bugs - - updated CFF2 VF api test results too - - src/hb-ot-layout-common.hh | 34 +++++++++++--- - src/hb-ot-var-hvar-table.hh | 51 +++++++++++---------- - test/api/fonts/AdobeVFPrototype.abc.otf | Bin 6772 -> 6952 bytes - test/api/fonts/AdobeVFPrototype.ac.nohints.otf | Bin 6096 -> 6272 bytes - .../fonts/AdobeVFPrototype.ac.nosubrs.nohints.otf | Bin 6160 -> 6152 bytes - test/api/fonts/AdobeVFPrototype.ac.nosubrs.otf | Bin 6376 -> 6336 bytes - test/api/fonts/AdobeVFPrototype.ac.otf | Bin 6312 -> 6460 bytes - test/api/fonts/AdobeVFPrototype.ac.retaingids.otf | Bin 6316 -> 6464 bytes - ...ifVariable-Roman.default.1FC,21,41,20,62,63.ttf | Bin 0 -> 5464 bytes - .../SourceSerifVariable-Roman.default.61,62,63.ttf | Bin 0 -> 5432 bytes - ...eSerifVariable-Roman.default.D7,D8,D9,DA,DE.ttf | Bin 0 -> 5924 bytes - ...ariable-Roman.drop-hints.1FC,21,41,20,62,63.ttf | Bin 0 -> 5464 bytes - ...urceSerifVariable-Roman.drop-hints.61,62,63.ttf | Bin 0 -> 5432 bytes - ...rifVariable-Roman.drop-hints.D7,D8,D9,DA,DE.ttf | Bin 0 -> 5928 bytes - .../data/fonts/SourceSerifVariable-Roman.ttf | Bin 0 -> 586100 bytes - test/subset/data/tests/full-font.tests | 1 + - 16 files changed, 56 insertions(+), 30 deletions(-) - -commit 2bd2e656f96111bc1261e4670851c2dc5f3acfd9 -Author: Michiharu Ariza -Date: Tue Mar 19 18:23:14 2019 -0700 - - update CFF2 test results - - test/api/fonts/AdobeVFPrototype.abc.otf | Bin 7456 -> 6772 bytes - test/api/fonts/AdobeVFPrototype.ac.nohints.otf | Bin 6780 -> 6096 bytes - .../api/fonts/AdobeVFPrototype.ac.nosubrs.nohints.otf | Bin 6844 -> 6160 bytes - test/api/fonts/AdobeVFPrototype.ac.nosubrs.otf | Bin 7060 -> 6376 bytes - test/api/fonts/AdobeVFPrototype.ac.otf | Bin 6996 -> 6312 bytes - test/api/fonts/AdobeVFPrototype.ac.retaingids.otf | Bin 7000 -> 6316 bytes - 6 files changed, 0 insertions(+), 0 deletions(-) - -commit 212dcb758c9c43dc74da3d4507a54ac78c6bee57 -Author: Michiharu Ariza -Date: Tue Mar 19 16:00:01 2019 -0700 - - add api test cases for HVAR with index map (and fix) - - src/hb-ot-var-hvar-table.hh | 2 +- - test/api/test-subset-hvar.c | 76 +++++++++++++++++++++++++++++++++++++++++---- - 2 files changed, 71 insertions(+), 7 deletions(-) - -commit dc10a7ef603b911b15596e80f12b702ecfcd60c4 -Author: Michiharu Ariza -Date: Tue Mar 19 12:34:03 2019 -0700 - - add gvar & HVAR retain-gids test cases - - .../SourceSansVariable-Roman.ac.retaingids.ttf | Bin 0 -> 3040 bytes - test/api/test-subset-gvar.c | 22 ++++++++++++++++++++ - test/api/test-subset-hvar.c | 23 +++++++++++++++++++++ - 3 files changed, 45 insertions(+) - -commit 43420dfa964c2ee4ccc359001e5664def5371623 -Author: Michiharu Ariza -Date: Tue Mar 19 01:00:53 2019 -0700 - - fix test build - - test/api/Makefile.am | 2 ++ - 1 file changed, 2 insertions(+) - -commit 6ee71166b0003b3464d9a20554a0270f5ead5194 -Author: Michiharu Ariza -Date: Tue Mar 19 00:41:41 2019 -0700 - - add api tests for subset gvar & HVAR; bug fixes - - src/hb-ot-layout-common.hh | 3 +- - src/hb-ot-var-gvar-table.hh | 24 +++---- - src/hb-ot-var-hvar-table.hh | 19 +++++- - test/api/Makefile.am | 2 + - test/api/fonts/SourceSansVariable-Roman.abc.ttf | Bin 0 -> 3240 bytes - test/api/fonts/SourceSansVariable-Roman.ac.ttf | Bin 0 -> 3028 bytes - test/api/test-subset-gvar.c | 81 ++++++++++++++++++++++++ - test/api/test-subset-hvar.c | 81 ++++++++++++++++++++++++ - 8 files changed, 194 insertions(+), 16 deletions(-) - -commit 6e066464f0c1611738ff784ee7f8f3d84645e85f -Author: Michiharu Ariza -Date: Mon Mar 18 18:11:00 2019 -0700 - - replaced tt var api test with a composite glyph - - for better coverage - - .../SourceSansVariable-Roman-nohvar-41,C1.ttf | Bin 0 -> 4696 bytes - test/api/fonts/SourceSansVariable-Roman.abc.ttf | Bin 3168 -> 0 bytes - test/api/test-ot-metrics-tt-var.c | 36 ++++++++++----------- - 3 files changed, 18 insertions(+), 18 deletions(-) - -commit 84d0af456bb42f5a468fb5ef9edb04647e7840d8 -Author: Michiharu Ariza -Date: Mon Mar 18 17:50:20 2019 -0700 - - move rounding advance width to glyf - - src/hb-ot-glyf-table.hh | 24 ++++++++++++++---------- - src/hb-ot-hmtx-table.cc | 8 ++++---- - 2 files changed, 18 insertions(+), 14 deletions(-) - -commit 10f264da7518ba3cc48b635d00343ecce9d734e7 -Author: Michiharu Ariza -Date: Mon Mar 18 17:16:43 2019 -0700 - - fix empty glyf's advance width - - src/hb-ot-glyf-table.hh | 8 +++++++- - src/hb-ot-hmtx-table.cc | 4 ++-- - 2 files changed, 9 insertions(+), 3 deletions(-) - -commit 511518c759c13ebad32e4879146c036c9af031ac -Author: Michiharu Ariza -Date: Mon Mar 18 15:39:10 2019 -0700 - - add api test for tt var advance widths - - stripped HVAR from SourceSansVariable-Roman.abc.ttf so glyf gets parsed - - src/hb-ot-hmtx-table.hh | 1 - - test/api/fonts/SourceSansVariable-Roman.abc.ttf | Bin 3240 -> 3168 bytes - test/api/test-ot-metrics-tt-var.c | 37 ++++++++++++++++++++++++ - 3 files changed, 37 insertions(+), 1 deletion(-) - -commit bee8d86671c45b093d4f238ceba9eebe4120e0bb -Author: Michiharu Ariza -Date: Mon Mar 18 10:48:53 2019 -0700 - - fix build - - src/hb-ot-hmtx-table.cc | 15 ++++----------- - src/hb-ot-hmtx-table.hh | 15 +++++++++------ - src/hb-ot-var-gvar-table.hh | 1 + - 3 files changed, 14 insertions(+), 17 deletions(-) - -commit f74712a4e025375730176be7578359945bedcef0 -Author: Michiharu Ariza -Date: Sun Mar 17 22:49:18 2019 -0700 - - fix composite glyf extents - - src/hb-ot-glyf-table.hh | 41 +++++++++++++++++++++++++++-------------- - src/hb-ot-var-gvar-table.hh | 3 +++ - 2 files changed, 30 insertions(+), 14 deletions(-) - -commit cd817e7955c45c3e56b33a304027e7fd6c6e0520 -Author: Michiharu Ariza -Date: Sun Mar 17 18:45:30 2019 -0700 - - fix unpack_points - - src/hb-ot-var-gvar-table.hh | 7 +++++-- - 1 file changed, 5 insertions(+), 2 deletions(-) - -commit a35e3dfc775f8a86b8a95623059f581c02cf8e00 -Author: Michiharu Ariza -Date: Sun Mar 17 17:48:10 2019 -0700 - - fix infer_delta - - code cleanup - - src/hb-ot-glyf-table.hh | 22 ++++++++++++++-------- - src/hb-ot-var-gvar-table.hh | 9 +++++++-- - 2 files changed, 21 insertions(+), 10 deletions(-) - -commit 4f4fbb1d5e4b120336a2f8f6d23417b64888b37e -Author: Michiharu Ariza -Date: Sun Mar 17 16:01:49 2019 -0700 - - added explicit casts to metrics - - src/hb-ot-hmtx-table.cc | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit c302ec6d945411b3023e9a633ea288aa3024366d -Author: Michiharu Ariza -Date: Sun Mar 17 15:36:26 2019 -0700 - - moved most of var code from gvar to glyf - - initialize phantom points from metrics from htmx/vmtx & glyf bbox before execution - added source file hb-ot-hmtx-table.cc to call glyf from hmtx/vmtx indirectly & temporarily, workaround a cyclic reference between the two - - src/Makefile.sources | 1 + - src/hb-ot-face.hh | 1 - - src/hb-ot-font.cc | 8 +- - src/hb-ot-glyf-table.hh | 236 +++++++++++++++++++++++++++++++++++++------- - src/hb-ot-hmtx-table.cc | 61 ++++++++++++ - src/hb-ot-hmtx-table.hh | 39 ++++---- - src/hb-ot-var-gvar-table.hh | 123 ++++++++--------------- - src/hb-ot-var-hvar-table.hh | 10 +- - 8 files changed, 333 insertions(+), 146 deletions(-) - -commit bd040a43548b30e8e7ff56cacbf35885becb6173 -Author: Michiharu Ariza -Date: Sat Mar 16 16:27:33 2019 -0700 - - add components transformation - - src/hb-ot-glyf-table.hh | 44 ++++++++++++++++++++++++++++++++++++++++++-- - src/hb-ot-var-gvar-table.hh | 31 ++++++++++++++++++------------- - 2 files changed, 60 insertions(+), 15 deletions(-) - -commit 139e87b56caf46a63bb78290316b3ddeb71e1e65 -Author: Michiharu Ariza -Date: Sat Mar 16 00:08:03 2019 -0700 - - fix tt var extents & add test - - src/hb-ot-glyf-table.hh | 32 +-- - src/hb-ot-var-gvar-table.hh | 257 ++++++++++++------------ - test/api/Makefile.am | 1 + - test/api/fonts/SourceSansVariable-Roman.abc.ttf | Bin 0 -> 3240 bytes - test/api/test-ot-metrics-tt-var.c | 72 +++++++ - 5 files changed, 223 insertions(+), 139 deletions(-) - -commit 9584b090bbd4286d611dda4de00f81c87f808ec7 -Author: Michiharu Ariza -Date: Fri Mar 15 13:46:25 2019 -0700 - - cff2 subset fuzzer issues (#1619) - - * add check to FDArray::serialize - - * add test files - - * fix off by one - - src/hb-ot-cff-common.hh | 1 + - ...z-testcase-minimized-hb-subset-fuzzer-5739000398086144 | Bin 0 -> 620 bytes - ...z-testcase-minimized-hb-subset-fuzzer-5760768497156096 | Bin 0 -> 210 bytes - ...z-testcase-minimized-hb-subset-fuzzer-5764268627066880 | Bin 0 -> 687 bytes - 4 files changed, 1 insertion(+) - -commit 161e61fc3beae6173253f7ec13b504dc70052cc1 -Author: Michiharu Ariza -Date: Fri Mar 1 21:49:04 2019 -0800 - - minor edits - - src/hb-ot-layout-common.hh | 2 ++ - 1 file changed, 2 insertions(+) - -commit ebbfe36510e50fb713469437d625c5c9293154cd -Author: Michiharu Ariza -Date: Fri Mar 1 15:14:22 2019 -0800 - - calculate VF advance widths from gvar & glyf - - src/hb-ot-glyf-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 9690461a91df3a6bb467cc111e0dfe1da20a821e -Author: Michiharu Ariza -Date: Tue Feb 26 11:11:50 2019 -0800 - - Added hb-ot-var-gvar-table.hh - - implemented sanitize() - placeholder subset() - some code cleanup - - src/hb-ot-gvar-table.hh | 211 -------------------------------------------- - src/hb-ot-var-gvar-table.hh | 12 +-- - 2 files changed, 6 insertions(+), 217 deletions(-) - -commit 9168b32a1bb4ce4efbdefbee8ea7d0b73fb84753 -Author: Michiharu Ariza -Date: Mon Feb 25 09:59:27 2019 -0800 - - renamed hb_map2_t to hb_bimap_h in its own .hh - - src/hb-ot-gvar-table.hh | 211 +++++++++++++++++++++++++++++++++++++++++++++ - src/hb-ot-layout-common.hh | 77 ----------------- - 2 files changed, 211 insertions(+), 77 deletions(-) - -commit d102c7a65258b3421f4d5628e5630e8688528743 -Author: Michiharu Ariza -Date: Fri Feb 22 10:22:08 2019 -0800 - - unuse set in hb_map2_t impl - - also some code cleanup - - src/hb-ot-layout-common.hh | 46 +++++++++++++++++++++++----------------------- - 1 file changed, 23 insertions(+), 23 deletions(-) - -commit dd67214210da15c6b61096cde3d60ac3a238967c -Author: Michiharu Ariza -Date: Wed Feb 20 15:48:29 2019 -0800 - - subset HVAR - - Re-implemented & repurposed CFF:remap_t as hb_map2_t (moved to hb-ot-layout-common.hh) for two-way mapping for use by index map subsetting. - Hooked up HVAR subsetter through _subset2. - Some renaming in CFF code. - - src/hb-ot-layout-common.hh | 81 +++++++++++++++++++++++++++++++++++++++++++-- - src/hb-ot-var-hvar-table.hh | 2 +- - 2 files changed, 79 insertions(+), 4 deletions(-) - -commit 5bbe78a0f353bb806a686fd97ad411fa8a9ebf5b -Author: Ebrahim Byagowi -Date: Thu Mar 14 16:49:42 2019 -0700 - - Allow zero length ranges in sanitization (#1617) - - Fixes fvar table sanitization where there are no named instance - by allowing zero length ranges starting from Null() address. - - Fixes #1607 - - src/hb-machinery.hh | 30 ++++++++++++++++-------------- - test/api/fonts/Zycon.ttf | Bin 0 -> 21036 bytes - test/api/test-ot-face.c | 9 +++++++++ - 3 files changed, 25 insertions(+), 14 deletions(-) - -commit ee8719eaaf4d5719053f0ba21a2b116771aa1b2f -Author: Khaled Hosny -Date: Thu Mar 14 21:41:25 2019 +0200 - - [ci] Cache FreeType build on Travis - - .ci/build-freetype.sh | 17 +++++++++++++++++ - .travis.yml | 18 ++++++++++++------ - 2 files changed, 29 insertions(+), 6 deletions(-) - -commit 5d7725ad1a950bceaef184b113fd5a8b7ba3dff7 -Author: David Corbett -Date: Tue Mar 12 19:30:47 2019 -0400 - - Categorize U+09FC as Consonant_Placeholder - - src/hb-ot-shape-complex-indic.hh | 1 + - 1 file changed, 1 insertion(+) - -commit b150bb4a49d9214f747c55d506975ea9b4f0a60e -Author: Khaled Hosny -Date: Wed Mar 13 13:21:12 2019 +0200 - - [ci] Simplify and fix Travis CI macOS build - - .travis.yml | 16 +++++++++------- - 1 file changed, 9 insertions(+), 7 deletions(-) - -commit 628d457c871954bdbf2bca2cc7b1bb821f4bd638 -Author: Michiharu Ariza -Date: Tue Mar 12 11:03:53 2019 -0700 - - add gvar::get_extents - - src/hb-ot-face.hh | 1 + - src/hb-ot-font.cc | 3 + - src/hb-ot-glyf-table.hh | 21 ++++-- - src/hb-ot-var-gvar-table.hh | 164 +++++++++++++++++++++++++++++++++++++++++--- - 4 files changed, 175 insertions(+), 14 deletions(-) - -commit 7b27fe5255b14e7701966b1435e2bb5585b29cbc -Author: Behdad Esfahbod -Date: Mon Mar 11 18:09:51 2019 -0700 - - Remove redundant hb_ot_layout_lookup_would_substitute_fast - - src/hb-ot-layout.cc | 13 ------------- - src/hb-ot-layout.hh | 7 ------- - src/hb-ot-shape-complex-indic.cc | 2 +- - src/hb-ot-shape-complex-khmer.cc | 2 +- - 4 files changed, 2 insertions(+), 22 deletions(-) - -commit 56164f754f0302cb99fecc30298699a1216c94ab -Author: Khaled Hosny -Date: Tue Mar 12 01:09:27 2019 +0200 - - [doc] Add placeholder since version for new flag - - src/hb-buffer.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit cb758f2669cfd04e732788f6ca8bead67a1a5ee8 -Author: David Corbett -Date: Fri Mar 8 09:46:48 2019 -0500 - - Remove obsolete overrides from Indic/USE scripts - - src/gen-indic-table.py | 4 ---- - src/gen-use-table.py | 30 +++++++----------------------- - src/hb-ot-shape-complex-use-table.cc | 2 +- - 3 files changed, 8 insertions(+), 28 deletions(-) - -commit 40c4bd3e123deb97506526d868cbc94b972b4bee -Author: Eric Muller -Date: Tue Feb 12 11:41:16 2019 -0800 - - Update generation code for hb-ot-shape-complex-vowel-constraints.cc. Remove 'unlikely' - - src/gen-vowel-constraints.py | 3 +++ - src/hb-ot-shape-complex-vowel-constraints.cc | 2 +- - 2 files changed, 4 insertions(+), 1 deletion(-) - -commit ce7f2c4da3a933444b3c331c08847a9d7d0f2ef0 -Author: Eric Muller -Date: Sun Feb 10 04:31:41 2019 -0800 - - Fix coding style. - - src/hb-ot-shape-complex-hangul.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit a86356913e65efff195697016de27cc8cbd2186f -Author: Eric Muller -Date: Sat Feb 9 02:55:27 2019 -0800 - - Add a flag to hb_buffer_t to prevent the insertion of dotted circles on incorrect character sequences. - - Current behavior unchanged if this flag is not set (and it isn't by default). - - src/hb-buffer.h | 7 ++++++- - src/hb-ot-shape-complex-hangul.cc | 3 ++- - src/hb-ot-shape-complex-indic.cc | 3 +++ - src/hb-ot-shape-complex-khmer.cc | 3 +++ - src/hb-ot-shape-complex-myanmar.cc | 3 +++ - src/hb-ot-shape-complex-use.cc | 3 +++ - src/hb-ot-shape-complex-vowel-constraints.cc | 3 +++ - src/hb-ot-shape.cc | 3 +++ - 8 files changed, 26 insertions(+), 2 deletions(-) - -commit 9b5556d985b6d06a2475af588cc329385b29ffa4 -Author: Ebrahim Byagowi -Date: Fri Mar 8 01:33:41 2019 +0330 - - Add a macOS 10.14.3 fonts tests (#1608) - - .circleci/config.yml | 11 +++++++++++ - test/shaping/data/in-house/tests/macos.tests | 19 +++++++++++++++++++ - 2 files changed, 30 insertions(+) - -commit 4a19d3b0806ed110ac5f05492ab98caabfa6306e -Author: David Corbett -Date: Wed Mar 6 12:37:25 2019 -0500 - - Update to Unicode 12.0.0 - - src/gen-use-table.py | 1 - - src/gen-vowel-constraints.py | 1 + - src/hb-common.h | 8 + - src/hb-ot-shape-complex-arabic-table.hh | 14 +- - src/hb-ot-shape-complex-indic-table.cc | 56 +- - src/hb-ot-shape-complex-use-table.cc | 49 +- - src/hb-ot-shape-complex-vowel-constraints.cc | 4 +- - src/hb-ot-shape-complex.hh | 3 + - src/hb-ot-tag-table.hh | 12 +- - src/hb-ucdn.cc | 4 + - src/hb-ucdn/ucdn.h | 11 + - src/hb-ucdn/ucdn_db.h | 2998 +++++++++++++------------- - src/hb-unicode-emoji-table.hh | 6 +- - 13 files changed, 1631 insertions(+), 1536 deletions(-) - -commit 4f03d5c79d6fccbd63ede421daa9d270e7677964 -Author: Adrian Wong -Date: Wed Feb 13 21:04:46 2019 +1100 - - [indic] Remove superfluous ZWNJ check in final reorder of pre-base matras - - src/hb-ot-shape-complex-indic.cc | 11 ++++++++--- - 1 file changed, 8 insertions(+), 3 deletions(-) - -commit 7b7852efa5422b2e1481addf09e6c0afa0b25830 -Author: Stephan Bergmann -Date: Tue Mar 5 17:18:57 2019 +0100 - - Fix hb_atomic_* variants based on C++11 atomics - - I stumbled over this when trying to upgrade the version of HarfBuzz used by - LibreOffice to 3.2.1 (see "Upgrade to latest - HarfBuzz 2.3.1"), where building with MSVC 2017 failed like - - > c:\cygwin\home\tdf\lode\jenkins\workspace\gerrit_windows\workdir\unpackedtarball\harfbuzz\src\hb-atomic.hh(272): error C2440: 'reinterpret_cast': cannot convert from 'const int *' to 'std::atomic *' - > c:\cygwin\home\tdf\lode\jenkins\workspace\gerrit_windows\workdir\unpackedtarball\harfbuzz\src\hb-atomic.hh(272): note: Conversion loses qualifiers - > c:\cygwin\home\tdf\lode\jenkins\workspace\gerrit_windows\workdir\unpackedtarball\harfbuzz\src\hb-atomic.hh(272): error C2227: left of '->load' must point to class/struct/union/generic type - - (see ). - - I added all the necessary "const" to make building of HarfBuzz 2.3.1 with - MSVC 2017 succeed for me. There may be more missing at least conceptually. - - src/hb-atomic.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 72962420465f6d4b6b140032f2b14feea0e54fb9 -Author: Martin Hosken -Date: Mon Mar 4 11:12:21 2019 +0700 - - Fix offset drift in graphite integration - - src/hb-graphite2.cc | 35 +++++++++++++++++++---------------- - 1 file changed, 19 insertions(+), 16 deletions(-) - -commit 5fc99b3d341a120d22f9789d0ce112af3eaa0d83 -Author: Michiharu Ariza -Date: Fri Mar 1 21:54:49 2019 -0800 - - fix build - - src/hb-ot-var-gvar-table.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 696b841a5a0c8b3d54514e76f442455c31c5107d -Author: Michiharu Ariza -Date: Fri Mar 1 21:49:04 2019 -0800 - - minor edits - - src/hb-ot-cff-common.hh | 2 +- - src/hb-ot-layout-common.hh | 2 ++ - 2 files changed, 3 insertions(+), 1 deletion(-) - -commit 14be8b9e877c2f3998e28241f1c1cc9aa2d03238 -Author: Michiharu Ariza -Date: Fri Mar 1 21:33:21 2019 -0800 - - build fix attempt - - src/hb-ot-glyf-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 618de1c7f9973c2297e4488e2d5e0698e209a87d -Author: Michiharu Ariza -Date: Fri Mar 1 18:24:56 2019 -0800 - - more build fixes - - src/hb-ot-glyf-table.hh | 2 +- - src/hb-ot-var-gvar-table.hh | 13 ++++++------- - 2 files changed, 7 insertions(+), 8 deletions(-) - -commit f2c556594a54196ed3cce771afc6371249463068 -Author: Michiharu Ariza -Date: Fri Mar 1 18:12:31 2019 -0800 - - fix build attempt - - src/hb-ot-var-gvar-table.hh | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - -commit 64eb1ddc2685d830fb0f96447dbd3a2734874218 -Author: Ebrahim Byagowi -Date: Sat Mar 2 03:24:49 2019 +0330 - - Minor, remove .editorconfig hack - - As vscode is going to support it soon - - .editorconfig | 7 ++----- - 1 file changed, 2 insertions(+), 5 deletions(-) - -commit 40dfca72132775b8a2fc34b3b9aea0999f1e193a -Author: Michiharu Ariza -Date: Fri Mar 1 15:14:22 2019 -0800 - - calculate VF advance widths from gvar & glyf - - src/hb-ot-glyf-table.hh | 151 ++++++++++++++++ - src/hb-ot-hmtx-table.hh | 23 ++- - src/hb-ot-var-gvar-table.hh | 410 +++++++++++++++++++++++++++++++++++++++----- - 3 files changed, 542 insertions(+), 42 deletions(-) - -commit d0b6d539f6b5424b8f769f800c1126a5cf5374c9 -Author: Garret Rieger -Date: Thu Feb 28 17:25:05 2019 -0800 - - Make hb_subset_input_glyph_set () actually do something. - - src/hb-subset-plan.cc | 3 +++ - test/api/hb-subset-test.h | 11 ++++++++++- - test/api/test-subset-glyf.c | 24 ++++++++++++++++++++++++ - 3 files changed, 37 insertions(+), 1 deletion(-) - -commit a842fdfbf0986c05b91efa02a5d95583e80511e9 -Author: Michiharu Ariza -Date: Tue Feb 26 16:54:00 2019 -0800 - - gvar::subset() - - src/hb-ot-var-gvar-table.hh | 81 +++++++++++++++++++++++++++++++++++++++------ - 1 file changed, 71 insertions(+), 10 deletions(-) - -commit c2e9d750351665324fa86d8d20eace9fe349892d -Author: Ebrahim Byagowi -Date: Fri Feb 22 13:13:42 2019 +0330 - - [dwrite] hb_directwrite_face_create, a new API - - It makes a hb_face_t from IDWriteFontFace, useful when using - DirectWrite facilities for font selection, loading and rendering - but using harfbuzz for shaping. - - src/hb-directwrite.cc | 70 +++++++++++++++++++++++++++++++++++++++++++++++---- - src/hb-directwrite.h | 5 +++- - 2 files changed, 69 insertions(+), 6 deletions(-) - -commit 2c5ed7f152afe989e039de4e6d41a7e72f0de80f -Author: Michiharu Ariza -Date: Tue Feb 26 11:11:50 2019 -0800 - - Added hb-ot-var-gvar-table.hh - - implemented sanitize() - placeholder subset() - some code cleanup - - src/Makefile.sources | 1 + - src/hb-bimap.hh | 6 +- - src/hb-ot-gvar-table.hh | 211 -------------------------------------------- - src/hb-ot-var-gvar-table.hh | 207 +++++++++++++++++++++++++++++++++++++++++++ - src/hb-ot-var-hvar-table.hh | 14 +-- - src/hb-subset.cc | 4 + - 6 files changed, 222 insertions(+), 221 deletions(-) - -commit 087b9a0ad0759f6c190597ec5ee65d998fd2b829 -Author: David Corbett -Date: Mon Feb 18 22:30:40 2019 -0500 - - Fix or document unsupported font-feature-settings - - src/hb-common.cc | 18 ++++++++++++------ - util/options.cc | 3 ++- - 2 files changed, 14 insertions(+), 7 deletions(-) - -commit bb29ece23ae860f923741bb09af6efcf56ac41c4 -Author: Joël R. Langlois -Date: Mon Feb 25 15:26:58 2019 -0500 - - Remove Forcing Diagnostic Colours from CMakeLists.txt (#1597) - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1596 - - CMakeLists.txt | 12 ------------ - 1 file changed, 12 deletions(-) - -commit f1e97c189ec506ec1dfd74a413884b63dedcb682 -Author: Michiharu Ariza -Date: Mon Feb 25 09:59:27 2019 -0800 - - renamed hb_map2_t to hb_bimap_h in its own .hh - - src/Makefile.sources | 1 + - src/hb-bimap.hh | 109 +++++++++++++++++++++++ - src/hb-ot-cff-common.hh | 4 +- - src/hb-ot-cff1-table.hh | 4 +- - src/hb-ot-gvar-table.hh | 211 ++++++++++++++++++++++++++++++++++++++++++++ - src/hb-ot-layout-common.hh | 84 +----------------- - src/hb-ot-var-hvar-table.hh | 12 +-- - src/hb-subset-cff-common.cc | 2 +- - src/hb-subset-cff-common.hh | 4 +- - src/hb-subset-cff1.cc | 8 +- - src/hb-subset-cff2.cc | 2 +- - 11 files changed, 343 insertions(+), 98 deletions(-) - -commit 655bc96bc23265f85c1c3c531957ee7e4aa3bf2c -Author: Michiharu Ariza -Date: Fri Feb 22 14:53:06 2019 -0800 - - subset VVAR & outer indices - - src/hb-ot-var-hvar-table.hh | 49 ++++++++++++++++++++++++++++++++++++--------- - src/hb-subset.cc | 3 +++ - 2 files changed, 43 insertions(+), 9 deletions(-) - -commit 6ecfaaa6d5f0fd7f3ab3e1670a055b372975fffb -Author: Michiharu Ariza -Date: Fri Feb 22 10:22:08 2019 -0800 - - unuse set in hb_map2_t impl - - also some code cleanup - - src/hb-ot-layout-common.hh | 46 +++++++++++++++++++++++----------------------- - 1 file changed, 23 insertions(+), 23 deletions(-) - -commit a762cf5033e4520cc01949854a772207bb27191f -Author: Michiharu Ariza -Date: Thu Feb 21 16:42:30 2019 -0800 - - fixed compiler gripes - - src/hb-ot-var-hvar-table.hh | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - -commit a00d1d5e7454dadf70328c723111f219b0ef9a39 -Author: Michiharu Ariza -Date: Thu Feb 21 16:34:49 2019 -0800 - - fix CFF2 local subr subsetting - - bug exposed by impl change of fdmap - also fixed name of subr_remap_ts as subr_remaps_t - - src/hb-subset-cff-common.hh | 8 ++++---- - src/hb-subset-cff2.cc | 20 +++++++++----------- - 2 files changed, 13 insertions(+), 15 deletions(-) - -commit 8bd9d28e2a4d21aa939918626121e90e37d1e61f -Author: Michiharu Ariza -Date: Thu Feb 21 15:47:27 2019 -0800 - - fix HVAR & VarStore subsetting - - src/hb-ot-layout-common.hh | 15 +++-- - src/hb-ot-var-hvar-table.hh | 140 ++++++++++++++++++++++---------------------- - 2 files changed, 77 insertions(+), 78 deletions(-) - -commit 4fd02f6ee58ebf7b4ecf0526328938c5bd74a180 -Author: Behdad Esfahbod -Date: Fri Mar 29 17:57:59 2019 -0700 - - Remove unused line - - src/hb-machinery.hh | 1 - - 1 file changed, 1 deletion(-) - -commit 9a5b15dc1eda4f34496bb942d78f0df4e975b469 -Author: Behdad Esfahbod -Date: Fri Mar 29 17:57:24 2019 -0700 - - [C++11] Replace BEInt.set() with operator= - - src/hb-machinery.hh | 15 +++++++++++---- - src/hb-open-type.hh | 8 ++++---- - 2 files changed, 15 insertions(+), 8 deletions(-) - -commit 0aa59b1de34ddebc242cca3ebddde6859269f5f1 -Author: Behdad Esfahbod -Date: Fri Mar 29 17:49:55 2019 -0700 - - [C++11] Add operator= to IntType<> - - Now that we require C++11 we can do this. - - src/hb-open-type.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit eca466e6b1a3e29532af92a2d30b2555c0fafbfc -Author: Behdad Esfahbod -Date: Fri Mar 29 15:59:04 2019 -0700 - - Err. Fixup C++11 polyfill removal - - Fixes 1d75db19fb5df139b9648ff3f5e6184a5c554345 - - src/hb.hh | 27 +++++++++++++++++++++------ - 1 file changed, 21 insertions(+), 6 deletions(-) - -commit 3f36c89f2ea16e293f8af7e7f549ebcd7247ea97 -Author: Behdad Esfahbod -Date: Fri Mar 29 15:22:46 2019 -0700 - - Inline explicit_operator macro - - Now that we require C++11, no need to macro. - - src/hb-iter.hh | 2 +- - src/hb-machinery.hh | 2 +- - src/hb-open-type.hh | 2 +- - src/hb-vector.hh | 6 +++--- - src/hb.hh | 5 ----- - 5 files changed, 6 insertions(+), 11 deletions(-) - -commit 1d75db19fb5df139b9648ff3f5e6184a5c554345 -Author: Behdad Esfahbod -Date: Fri Mar 29 15:20:34 2019 -0700 - - Remove C++<11 polyfill - - Leaving hb-atomic.hh as is since harmless and other projects might - copy from that file. - - src/hb.hh | 81 --------------------------------------------------------------- - 1 file changed, 81 deletions(-) - -commit 8e7887ca5f8a2822345bdcbdc873c73a31c81177 -Merge: 7929b0f07 90aebc6cf -Author: Behdad Esfahbod -Date: Fri Mar 29 14:37:04 2019 -0700 - - Merge branch 'master' into iter - -commit 90aebc6cf1aaca281ce51cb8e23831d7167cdcd3 -Author: Behdad Esfahbod -Date: Fri Mar 29 14:30:02 2019 -0700 - - Update RELEASING - - RELEASING.md | 9 +++++---- - 1 file changed, 5 insertions(+), 4 deletions(-) - -commit 7929b0f07e87a77687ea50205e6e4013c9264f85 -Author: Behdad Esfahbod -Date: Fri Mar 29 14:14:55 2019 -0700 - - [ci] Fix build - - .circleci/config.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit b292772e6ef15728dd66329e637265748df0efe1 -Author: Ebrahim Byagowi -Date: Fri Mar 29 13:00:56 2019 -0700 - - [dwrite] A new API, hb_directwrite_face_get_font_face (#1600) - - Can be useful when using HarfBuzz for font loading and shaping - but using DirectWrite for rendering. - - docs/harfbuzz-sections.txt | 10 ++++++++-- - src/hb-directwrite.cc | 34 ++++++++++++++++++++++++++++++---- - src/hb-directwrite.h | 3 +++ - 3 files changed, 41 insertions(+), 6 deletions(-) - -commit 59f36f36820f6e6fb1d3b6da26d6b5ee7588c42f -Author: Behdad Esfahbod -Date: Fri Mar 29 10:55:12 2019 -0700 - - Replace REPLACEME's left out of 2.4.0 - - https://github.com/harfbuzz/harfbuzz/issues/1641 - - src/hb-common.h | 2 +- - src/hb-directwrite.cc | 2 +- - src/hb-subset-input.cc | 4 ++-- - 3 files changed, 4 insertions(+), 4 deletions(-) - -commit fe570bc043ca2c6be71b18f7401c8f06e73527e0 -Author: Behdad Esfahbod -Date: Fri Mar 29 10:51:38 2019 -0700 - - [docs] Remove unexisting section - - docs/harfbuzz-docs.xml | 1 - - 1 file changed, 1 deletion(-) - -commit 443db2a24624b63c49fa3ad9a10d3b4c523af1ce -Author: Behdad Esfahbod -Date: Fri Mar 29 10:46:44 2019 -0700 - - [iter] Remove hb_len() - - Not planning on using it. So remove. Can add later if needed. - - src/hb-iter.hh | 8 -------- - src/test-iter.cc | 2 -- - 2 files changed, 10 deletions(-) - -commit d30e5e74814c6db23fdedbe75fd9b89c0dfb4dce -Merge: ddb84dcec a252392bc -Author: Michiharu Ariza -Date: Fri Mar 29 10:32:45 2019 -0700 - - Merge branch 'var-subset' of https://github.com/harfbuzz/harfbuzz into var-subset - -commit ddb84dcece8a12a5615cb1609030a52387bd2fce -Author: Michiharu Ariza -Date: Fri Mar 29 10:32:42 2019 -0700 - - fix gvar fuzz bug - - .gitignore | 1 + - src/hb-ot-var-gvar-table.hh | 8 +++++++- - 2 files changed, 8 insertions(+), 1 deletion(-) - -commit a252392bc05e8e9e4127e0002b10fe514323730f -Merge: 58c8c7a49 d6fc1d49a -Author: Michiharu Ariza -Date: Fri Mar 29 08:43:47 2019 -0700 - - Merge branch 'master' into var-subset - -commit bdd5a9c48d644b660f8fcac16902a576cc7ff443 -Author: Behdad Esfahbod -Date: Thu Mar 28 21:58:07 2019 -0700 - - Add hb_hash() - - I don't like the hb_remove_reference() hack, but necessary. - - src/hb-algs.hh | 17 +++++++++++++++++ - src/hb-map.hh | 10 +--------- - src/hb.hh | 2 +- - 3 files changed, 19 insertions(+), 10 deletions(-) - -commit 343e6063dcd512164a999f1d12bae50877392a82 -Author: Behdad Esfahbod -Date: Thu Mar 28 21:44:12 2019 -0700 - - Add hb_is_integer(T) - - src/hb-meta.hh | 14 ++++++++++++++ - 1 file changed, 14 insertions(+) - -commit f639b9a8eab369bee6e36b3e60b585b4f720e77e -Author: Behdad Esfahbod -Date: Thu Mar 28 21:34:47 2019 -0700 - - [iter] Add hb_len() function-object - - src/hb-iter.hh | 8 ++++++++ - src/test-iter.cc | 2 ++ - 2 files changed, 10 insertions(+) - -commit a030ce4ff83e0948e4f865accc5670e8b5e78dde -Merge: 11456b2d9 d6fc1d49a -Author: Behdad Esfahbod -Date: Thu Mar 28 21:26:50 2019 -0700 - - Merge branch 'master' into iter - -commit d6fc1d49aa099104a889c96bc9087c21d8fc0960 -Author: Behdad Esfahbod -Date: Thu Mar 28 21:21:26 2019 -0700 - - 2.4.0 - - NEWS | 11 +++++++++++ - configure.ac | 2 +- - src/hb-buffer.h | 2 +- - src/hb-version.h | 6 +++--- - 4 files changed, 16 insertions(+), 5 deletions(-) - -commit d2db71fdc4764eecf8320cf465ee0e4254146b6e -Author: Behdad Esfahbod -Date: Thu Mar 28 21:00:58 2019 -0700 - - Use internal bsearch() for language tags - - Fixes https://github.com/harfbuzz/harfbuzz/pull/1639 - - src/hb-ot-tag.cc | 46 ++++++++++++++++++++++------------------------ - 1 file changed, 22 insertions(+), 24 deletions(-) - -commit 21bb80ebf2e20025a196386cee8fd92dd1eb4597 -Author: Behdad Esfahbod -Date: Thu Mar 28 20:50:04 2019 -0700 - - [indic] Add back medial-consonant to grammar - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1592 - - src/hb-ot-shape-complex-indic-machine.hh | 1244 +++++++++++--------- - src/hb-ot-shape-complex-indic-machine.rl | 5 +- - src/hb-ot-shape-complex-indic.cc | 2 +- - src/hb-ot-shape-complex-indic.hh | 6 +- - .../f75c4b05a0a4d67c1a808081ae3d74a9c66509e8.ttf | Bin 0 -> 1924 bytes - .../data/in-house/tests/indic-syllable.tests | 2 + - 6 files changed, 672 insertions(+), 587 deletions(-) - -commit 5ab6de7a6fbad4c4a954c2c81d216486a5a14f72 -Author: Behdad Esfahbod -Date: Thu Mar 28 20:23:12 2019 -0700 - - [khmer] Add trailing Coeng to syllable grammar - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1541 - - src/hb-ot-shape-complex-khmer-machine.hh | 248 ++++++++++----------- - src/hb-ot-shape-complex-khmer-machine.rl | 2 +- - .../ad01ab2ea1cb1a4d3a2783e2675112ef11ae6404.ttf | Bin 0 -> 1500 bytes - test/shaping/data/in-house/tests/khmer-misc.tests | 1 + - 4 files changed, 122 insertions(+), 129 deletions(-) - -commit 7360265e69a8cdaa9f993c36def2860a79cca49f -Author: Ebrahim Byagowi -Date: Thu Mar 28 16:57:56 2019 -0700 - - [ci] Tweak macos and psvita bots (#1638) - - * Add --with-graphite2 to macOS - * Add a dummy ragel script for psvita - - .circleci/config.yml | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 58c8c7a495fcc353d09158fc23a45f35b2dab2dc -Merge: 485fe06f7 a548d1da7 -Author: Michiharu Ariza -Date: Thu Mar 28 16:17:41 2019 -0700 - - Merge branch 'master' into var-subset - -commit 485fe06f74d7dce41480d7d6f0dbe0129a7b2a39 -Author: Michiharu Ariza -Date: Thu Mar 28 16:17:36 2019 -0700 - - minor - - src/hb-ot-var-hvar-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit a548d1da78b506cc6460fdde3715f6ef13ccad48 -Author: Ebrahim Byagowi -Date: Thu Mar 28 15:42:45 2019 -0700 - - [ci] Use only CircleCI for macOS (#1637) - - .circleci/config.yml | 5 +++-- - .travis.yml | 18 ------------------ - 2 files changed, 3 insertions(+), 20 deletions(-) - -commit 5f36771c2ab612b403e55504b7901b0390b1b76d -Merge: 99f0c107f 061bd0a99 -Author: Michiharu Ariza -Date: Thu Mar 28 15:07:53 2019 -0700 - - Merge branch 'var-subset' of https://github.com/harfbuzz/harfbuzz into var-subset - -commit 99f0c107f7e1083d3b8ad8354876770f69fddf52 -Author: Michiharu Ariza -Date: Thu Mar 28 15:07:49 2019 -0700 - - fixed a fuzzer bug - - src/hb-ot-var-hvar-table.hh | 1 + - 1 file changed, 1 insertion(+) - -commit 160b4a2b01e925812fbf0e7db5bc9dcb90dc81cc -Author: Behdad Esfahbod -Date: Thu Mar 28 13:44:38 2019 -0700 - - Fix shell syntax error - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1612 - - src/check-symbols.sh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 8665b9b0a24e4d46e486057d72c0486b9da16523 -Author: Behdad Esfahbod -Date: Thu Mar 28 11:11:52 2019 -0700 - - Comment - - src/hb.hh | 1 + - 1 file changed, 1 insertion(+) - -commit a7eed7e41dba8e583a9c740a4ca7ddf53e77de63 -Author: punchcutter -Date: Wed Mar 27 23:12:58 2019 -0700 - - Override USE category for Grantha and Tirhuta visargas to allow marks - - src/gen-use-table.py | 3 ++- - src/hb-ot-shape-complex-use-table.cc | 4 ++-- - 2 files changed, 4 insertions(+), 3 deletions(-) - -commit cf040c0fef4a049a75a5ec7972f518b9034bdc76 -Author: Egor Pugin -Date: Thu Mar 28 19:06:12 2019 +0300 - - Disable unwanted C++ definitions for MSVC. - - MSVC does not set __cplusplus to the latest standard and also it does not like redefining some keywords. - - src/hb.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 061bd0a99b0724953fcbdaaef4ea91a54cd7d3ce -Merge: d8e3e3607 67175987b -Author: Michiharu Ariza -Date: Wed Mar 27 08:53:50 2019 -0700 - - Merge branch 'var-subset' of https://github.com/harfbuzz/harfbuzz into var-subset - -commit d8e3e3607e6435b994a3e2f4285c5b4d17c5dfa4 -Merge: bcd689bb1 717181c59 -Author: Michiharu Ariza -Date: Wed Mar 27 08:53:48 2019 -0700 - - Merge branch 'master' into var-subset - -commit 67175987bd6c90ca2e79e8d604a73e6052e82823 -Author: Michiharu Ariza -Date: Wed Mar 27 08:52:46 2019 -0700 - - tweaked recursion checks - - src/hb-ot-glyf-table.hh | 22 +++++++++++----------- - 1 file changed, 11 insertions(+), 11 deletions(-) - -commit 717181c5943c13a682c719dce10bfc3d9cc47e6b -Author: Ebrahim Byagowi -Date: Wed Mar 27 16:38:39 2019 +0430 - - [ci] remove ragel from psvita compile bot - - .circleci/config.yml | 1 - - 1 file changed, 1 deletion(-) - -commit 08e36c5d8be22b3a7e31f33af9452372dafeacc0 -Author: Ebrahim Byagowi -Date: Wed Mar 27 16:21:47 2019 +0430 - - [ci] Don't install ragel on cmake build bot images - - It is not needed anyway - - .circleci/config.yml | 5 ----- - 1 file changed, 5 deletions(-) - -commit feb712d8d80c48e08f3f715a41400e4ef19b80de -Author: Michiharu Ariza -Date: Tue Mar 26 20:35:01 2019 -0700 - - add recursion checks - - src/hb-ot-glyf-table.hh | 24 ++++++++++++++---------- - 1 file changed, 14 insertions(+), 10 deletions(-) - -commit bcd689bb1090a1bf5113e67edfce583832bb2187 -Merge: 49f935963 ec2a5dc85 -Author: Michiharu Ariza -Date: Tue Mar 26 17:13:31 2019 -0700 - - Merge branch 'master' into var-subset - -commit 49f9359632c78754b6e1eb32f2505b340cde55c8 -Author: Michiharu Ariza -Date: Tue Mar 26 17:10:46 2019 -0700 - - add support of anchor point & SCALED/UNSCALED_COMPONENT_OFFSET - - some code cleanup - - src/hb-ot-glyf-table.hh | 166 ++++++++++++++------- - src/hb-ot-var-gvar-table.hh | 38 ++++- - test/api/fonts/SourceSansVariable-Roman.anchor.ttf | Bin 0 -> 4708 bytes - test/api/test-ot-metrics-tt-var.c | 33 ++++ - 4 files changed, 179 insertions(+), 58 deletions(-) - -commit ec2a5dc859b03ceb92518aa992e4e9c053b30534 -Author: Behdad Esfahbod -Date: Tue Mar 26 16:18:03 2019 -0700 - - Use class templates for Null objects - - This allows partial-instantiating custom Null object for template Lookup. - Before, this had to be handcoded per instantiation. Apparently I missed - adding one for AAT::ankr.lookupTable, so it was getting the wrong (generic) - null for Lookup object, which is wrong and unsafe. - - Fixes https://bugs.chromium.org/p/chromium/issues/detail?id=944346 - - src/hb-aat-layout-common.hh | 14 ++++------ - src/hb-null.hh | 31 +++++++++++++-------- - ...case-minimized-harfbuzz_fuzzer-5748102301614080 | Bin 0 -> 213 bytes - 3 files changed, 24 insertions(+), 21 deletions(-) - -commit 96f12377942dbe1c6b1d0ffa7d626d99cb265443 -Author: Behdad Esfahbod -Date: Tue Mar 26 16:17:45 2019 -0700 - - [aat] Add missing check to ankr table - - Isn't absolutely needed. But helps. - - src/hb-aat-layout-ankr-table.hh | 1 + - 1 file changed, 1 insertion(+) - -commit e5dfffb1ef610a982ed9878fbf3f9ee49cbc3a97 -Author: Behdad Esfahbod -Date: Mon Mar 25 15:15:37 2019 -0700 - - [docs] Update - - docs/harfbuzz-docs.xml | 1 + - 1 file changed, 1 insertion(+) - -commit 0dd3fdf9d227f9bd79f395078f8e58dcfc32d1bf -Author: Behdad Esfahbod -Date: Mon Mar 25 15:08:14 2019 -0700 - - Update ChangeLog generation - - Let's see if I can make a release on Mac... - - Makefile.am | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 2d9034491eca0a63db82d3801f05c067a5241b7d -Author: Qunxin Liu -Date: Tue Mar 26 10:37:24 2019 -0700 - - completely remove lines that are commented out - - src/hb-subset-plan.cc | 6 ------ - src/hb-subset-plan.hh | 3 --- - 2 files changed, 9 deletions(-) - -commit 3147133b6173487c26813a2a406aebd067b53fbf -Author: Qunxin Liu -Date: Tue Mar 26 09:15:56 2019 -0700 - - update arguments in_populate_gids_to_retain() and _create_old_gid_to_new_gid_map() - so they don't use deprecated variable - - src/hb-subset-plan.cc | 36 ++++++++++++++++++------------------ - 1 file changed, 18 insertions(+), 18 deletions(-) - -commit 79a6c258497e80be15245a7b576e34443d9f7bff -Author: Qunxin Liu -Date: Mon Mar 25 19:59:37 2019 -0700 - - try to remove deprecated variable from struct definition - - src/hb-subset-plan.cc | 9 +++++---- - src/hb-subset-plan.hh | 2 +- - 2 files changed, 6 insertions(+), 5 deletions(-) - -commit 94ef1a703ff20614538680587a23cec5f1649189 -Author: Michiharu Ariza -Date: Fri Mar 22 11:05:23 2019 -0700 - - add HVAR & VVAR advance width api test - - test/api/test-ot-metrics-tt-var.c | 41 +++++++++++++++++++++++++++++++++++++-- - 1 file changed, 39 insertions(+), 2 deletions(-) - -commit 3c4f041e9e8adc5d906a7bd37dc86345c2bf91e8 -Author: Michiharu Ariza -Date: Fri Mar 22 10:26:48 2019 -0700 - - fix uninitialized memory bug - - src/hb-ot-layout-common.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit d2a0149c2999eab315a0582a5e1fa31a2511b869 -Author: Michiharu Ariza -Date: Thu Mar 21 18:09:37 2019 -0700 - - added api test for subset VVAR & bug fix - - added a mod copy of SourceSerifVariable-Roman.ttf with VVAR as a test font - - src/hb-ot-var-hvar-table.hh | 7 +- - test/api/Makefile.am | 2 + - .../fonts/SourceSerifVariable-Roman-VVAR.abc.ttf | Bin 0 -> 5632 bytes - ...ourceSerifVariable-Roman-VVAR.ac.retaingids.ttf | Bin 0 -> 5288 bytes - .../fonts/SourceSerifVariable-Roman-VVAR.ac.ttf | Bin 0 -> 3224 bytes - test/api/test-subset-vvar.c | 103 +++++++++++++++++++++ - 6 files changed, 108 insertions(+), 4 deletions(-) - -commit 8ec279072e039c7a75ea90e2284d46bd9faee8ee -Merge: 0593a95e2 5390e3934 -Author: Michiharu Ariza -Date: Thu Mar 21 10:38:12 2019 -0700 - - Merge branch 'var-subset' of https://github.com/harfbuzz/harfbuzz into var-subset - -commit 0593a95e28e08a130c87f23c527156ac1d46219b -Author: Michiharu Ariza -Date: Thu Mar 21 10:36:53 2019 -0700 - - refix short count - - src/hb-ot-layout-common.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 5390e39342e78566095b580603bd1f76cdafc010 -Merge: 084be9a0f 5f15fca66 -Author: Michiharu Ariza -Date: Thu Mar 21 10:21:50 2019 -0700 - - Merge branch 'var-subset' of https://github.com/harfbuzz/harfbuzz into var-subset - -commit 084be9a0f466134998da79e9a81191836f847ab8 -Merge: 3faaa52aa bcb4e505d -Author: Michiharu Ariza -Date: Thu Mar 21 10:21:31 2019 -0700 - - Merge branch 'master' into var-subset - -commit 5f15fca66206af36cafc9a7b650462b544460d6e -Author: Michiharu Ariza -Date: Thu Mar 21 10:18:03 2019 -0700 - - fix short count optimization - - src/hb-ot-layout-common.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 3faaa52aa7e4c72d94657702047e2d3dddbb3292 -Author: Michiharu Ariza -Date: Thu Mar 21 09:50:53 2019 -0700 - - regenerated expected full fonts data after fontTools bug 1550 fixed - - ...eSerifVariable-Roman.drop-hints.D7,D8,D9,DA,DE.ttf | Bin 5928 -> 5924 bytes - 1 file changed, 0 insertions(+), 0 deletions(-) - -commit 325918172e7a346b6de6a8afcd94a4d7fd35d5c0 -Author: Michiharu Ariza -Date: Wed Mar 20 15:10:59 2019 -0700 - - added TT VF full font test & fixed bugs - - updated CFF2 VF api test results too - - src/hb-ot-layout-common.hh | 53 +++++++++++++++++---- - src/hb-ot-var-hvar-table.hh | 51 +++++++++++--------- - test/api/fonts/AdobeVFPrototype.abc.otf | Bin 6772 -> 6952 bytes - test/api/fonts/AdobeVFPrototype.ac.nohints.otf | Bin 6096 -> 6272 bytes - .../fonts/AdobeVFPrototype.ac.nosubrs.nohints.otf | Bin 6160 -> 6152 bytes - test/api/fonts/AdobeVFPrototype.ac.nosubrs.otf | Bin 6376 -> 6336 bytes - test/api/fonts/AdobeVFPrototype.ac.otf | Bin 6312 -> 6460 bytes - test/api/fonts/AdobeVFPrototype.ac.retaingids.otf | Bin 6316 -> 6464 bytes - ...ifVariable-Roman.default.1FC,21,41,20,62,63.ttf | Bin 0 -> 5464 bytes - .../SourceSerifVariable-Roman.default.61,62,63.ttf | Bin 0 -> 5432 bytes - ...eSerifVariable-Roman.default.D7,D8,D9,DA,DE.ttf | Bin 0 -> 5924 bytes - ...ariable-Roman.drop-hints.1FC,21,41,20,62,63.ttf | Bin 0 -> 5464 bytes - ...urceSerifVariable-Roman.drop-hints.61,62,63.ttf | Bin 0 -> 5432 bytes - ...rifVariable-Roman.drop-hints.D7,D8,D9,DA,DE.ttf | Bin 0 -> 5928 bytes - .../data/fonts/SourceSerifVariable-Roman.ttf | Bin 0 -> 586100 bytes - test/subset/data/tests/full-font.tests | 1 + - 16 files changed, 72 insertions(+), 33 deletions(-) - -commit 92bc74055831acae3d296f6e1470fa4cd4d193fd -Author: Michiharu Ariza -Date: Tue Mar 19 18:23:14 2019 -0700 - - update CFF2 test results - - test/api/fonts/AdobeVFPrototype.abc.otf | Bin 7456 -> 6772 bytes - test/api/fonts/AdobeVFPrototype.ac.nohints.otf | Bin 6780 -> 6096 bytes - .../api/fonts/AdobeVFPrototype.ac.nosubrs.nohints.otf | Bin 6844 -> 6160 bytes - test/api/fonts/AdobeVFPrototype.ac.nosubrs.otf | Bin 7060 -> 6376 bytes - test/api/fonts/AdobeVFPrototype.ac.otf | Bin 6996 -> 6312 bytes - test/api/fonts/AdobeVFPrototype.ac.retaingids.otf | Bin 7000 -> 6316 bytes - 6 files changed, 0 insertions(+), 0 deletions(-) - -commit 1051faf7aa639abc27974da213eb48f549f8c39c -Author: Michiharu Ariza -Date: Tue Mar 19 16:00:01 2019 -0700 - - add api test cases for HVAR with index map (and fix) - - src/hb-ot-var-hvar-table.hh | 2 +- - test/api/test-subset-hvar.c | 76 +++++++++++++++++++++++++++++++++++++++++---- - 2 files changed, 71 insertions(+), 7 deletions(-) - -commit 0576253a340243eb8e4feabb3481f354a82a11a1 -Author: Michiharu Ariza -Date: Tue Mar 19 12:34:03 2019 -0700 - - add gvar & HVAR retain-gids test cases - - .../SourceSansVariable-Roman.ac.retaingids.ttf | Bin 0 -> 3040 bytes - test/api/test-subset-gvar.c | 22 ++++++++++++++++++++ - test/api/test-subset-hvar.c | 23 +++++++++++++++++++++ - 3 files changed, 45 insertions(+) - -commit 6dd1077b68e20e97b595c676267b964dd5cbbe1c -Author: Michiharu Ariza -Date: Tue Mar 19 01:00:53 2019 -0700 - - fix test build - - test/api/Makefile.am | 2 ++ - 1 file changed, 2 insertions(+) - -commit 2e6038a209022c8b7957daf661488edfc166bdc5 -Author: Michiharu Ariza -Date: Tue Mar 19 00:41:41 2019 -0700 - - add api tests for subset gvar & HVAR; bug fixes - - src/hb-ot-layout-common.hh | 3 +- - src/hb-ot-var-gvar-table.hh | 24 +++---- - src/hb-ot-var-hvar-table.hh | 19 +++++- - test/api/Makefile.am | 2 + - test/api/fonts/SourceSansVariable-Roman.abc.ttf | Bin 0 -> 3240 bytes - test/api/fonts/SourceSansVariable-Roman.ac.ttf | Bin 0 -> 3028 bytes - test/api/test-subset-gvar.c | 81 ++++++++++++++++++++++++ - test/api/test-subset-hvar.c | 81 ++++++++++++++++++++++++ - 8 files changed, 194 insertions(+), 16 deletions(-) - -commit aeddb30f87ea957e7e780705c099e849c6d7e27d -Author: Michiharu Ariza -Date: Mon Mar 18 18:11:00 2019 -0700 - - replaced tt var api test with a composite glyph - - for better coverage - - .../SourceSansVariable-Roman-nohvar-41,C1.ttf | Bin 0 -> 4696 bytes - test/api/fonts/SourceSansVariable-Roman.abc.ttf | Bin 3168 -> 0 bytes - test/api/test-ot-metrics-tt-var.c | 36 ++++++++++----------- - 3 files changed, 18 insertions(+), 18 deletions(-) - -commit 560bcd774473691b310e746d2e7c0287c2bea9fe -Author: Michiharu Ariza -Date: Mon Mar 18 17:50:20 2019 -0700 - - move rounding advance width to glyf - - src/hb-ot-glyf-table.hh | 24 ++++++++++++++---------- - src/hb-ot-hmtx-table.cc | 8 ++++---- - 2 files changed, 18 insertions(+), 14 deletions(-) - -commit c7edd14dc96af59cb53e9560a45f48d809fe8bb1 -Author: Michiharu Ariza -Date: Mon Mar 18 17:16:43 2019 -0700 - - fix empty glyf's advance width - - src/hb-ot-glyf-table.hh | 8 +++++++- - src/hb-ot-hmtx-table.cc | 4 ++-- - 2 files changed, 9 insertions(+), 3 deletions(-) - -commit 9d3a252030e8f86aff4a35ce56fe77eb718e2071 -Author: Michiharu Ariza -Date: Mon Mar 18 15:39:10 2019 -0700 - - add api test for tt var advance widths - - stripped HVAR from SourceSansVariable-Roman.abc.ttf so glyf gets parsed - - src/hb-ot-hmtx-table.hh | 1 - - test/api/fonts/SourceSansVariable-Roman.abc.ttf | Bin 3240 -> 3168 bytes - test/api/test-ot-metrics-tt-var.c | 37 ++++++++++++++++++++++++ - 3 files changed, 37 insertions(+), 1 deletion(-) - -commit 9d9d5c706b68a16b2d07f8b8972b2b499c94bf0a -Author: Michiharu Ariza -Date: Mon Mar 18 10:48:53 2019 -0700 - - fix build - - src/hb-ot-hmtx-table.cc | 15 ++++----------- - src/hb-ot-hmtx-table.hh | 15 +++++++++------ - src/hb-ot-var-gvar-table.hh | 1 + - 3 files changed, 14 insertions(+), 17 deletions(-) - -commit b6cc838888cc302f0de19030b75773fe0fda372f -Author: Michiharu Ariza -Date: Sun Mar 17 22:49:18 2019 -0700 - - fix composite glyf extents - - src/hb-ot-glyf-table.hh | 41 +++++++++++++++++++++++++++-------------- - src/hb-ot-var-gvar-table.hh | 3 +++ - 2 files changed, 30 insertions(+), 14 deletions(-) - -commit 597ad4df0cdff4a0355121e3da2a59e7fa8ee68f -Author: Michiharu Ariza -Date: Sun Mar 17 18:45:30 2019 -0700 - - fix unpack_points - - src/hb-ot-var-gvar-table.hh | 7 +++++-- - 1 file changed, 5 insertions(+), 2 deletions(-) - -commit cabe22fc6967e6299c3a06bbfa9c19e9a23a0ae3 -Author: Michiharu Ariza -Date: Sun Mar 17 17:48:10 2019 -0700 - - fix infer_delta - - code cleanup - - src/hb-ot-glyf-table.hh | 22 ++++++++++++------- - src/hb-ot-var-gvar-table.hh | 52 ++++++++++++++++++++++++++++++--------------- - 2 files changed, 49 insertions(+), 25 deletions(-) - -commit c8b31773a6513e7051e5db98d7d26700856a32a3 -Author: Michiharu Ariza -Date: Sun Mar 17 16:01:49 2019 -0700 - - added explicit casts to metrics - - src/hb-ot-hmtx-table.cc | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 8a7998fd6ce730dd0f182d69d598b802476250dc -Author: Michiharu Ariza -Date: Sun Mar 17 15:36:26 2019 -0700 - - moved most of var code from gvar to glyf - - initialize phantom points from metrics from htmx/vmtx & glyf bbox before execution - added source file hb-ot-hmtx-table.cc to call glyf from hmtx/vmtx indirectly & temporarily, workaround a cyclic reference between the two - - src/Makefile.sources | 1 + - src/hb-ot-face.hh | 1 - - src/hb-ot-font.cc | 8 +- - src/hb-ot-glyf-table.hh | 236 +++++++++++++++++++++++++++++++++++++------- - src/hb-ot-hmtx-table.cc | 61 ++++++++++++ - src/hb-ot-hmtx-table.hh | 39 ++++---- - src/hb-ot-var-gvar-table.hh | 195 ++++++++---------------------------- - src/hb-ot-var-hvar-table.hh | 10 +- - 8 files changed, 333 insertions(+), 218 deletions(-) - -commit 00b2653ac3b927f93ac350dbe1d3711790a50119 -Author: Michiharu Ariza -Date: Sat Mar 16 16:27:33 2019 -0700 - - add components transformation - - src/hb-ot-glyf-table.hh | 44 ++++++++++++++++++++++++++++++++++++++++++-- - src/hb-ot-var-gvar-table.hh | 31 ++++++++++++++++++------------- - 2 files changed, 60 insertions(+), 15 deletions(-) - -commit 434ea06841e60b98601b529ca20cf6bf25f6c165 -Author: Michiharu Ariza -Date: Sat Mar 16 00:08:03 2019 -0700 - - fix tt var extents & add test - - src/hb-ot-glyf-table.hh | 32 +-- - src/hb-ot-var-gvar-table.hh | 270 +++++++++++++----------- - test/api/Makefile.am | 1 + - test/api/fonts/SourceSansVariable-Roman.abc.ttf | Bin 0 -> 3240 bytes - test/api/test-ot-metrics-tt-var.c | 72 +++++++ - 5 files changed, 236 insertions(+), 139 deletions(-) - -commit bcb4e505d6ffe33e3268a06698e75d6be0e64957 -Author: Michiharu Ariza -Date: Fri Mar 15 13:46:25 2019 -0700 - - cff2 subset fuzzer issues (#1619) - - * add check to FDArray::serialize - - * add test files - - * fix off by one - - src/hb-ot-cff-common.hh | 1 + - ...z-testcase-minimized-hb-subset-fuzzer-5739000398086144 | Bin 0 -> 620 bytes - ...z-testcase-minimized-hb-subset-fuzzer-5760768497156096 | Bin 0 -> 210 bytes - ...z-testcase-minimized-hb-subset-fuzzer-5764268627066880 | Bin 0 -> 687 bytes - 4 files changed, 1 insertion(+) - -commit a5118c1db51d6d3b24622a52e50246e00b07fa74 -Merge: 90ea140ac 079c386ca -Author: Michiharu Ariza -Date: Fri Mar 15 10:33:03 2019 -0700 - - Merge branch 'var-subset' of https://github.com/harfbuzz/harfbuzz into var-subset - -commit 079c386ca89b6d2833786db3ba54b7137d045188 -Merge: 99502b324 8aaab78ef -Author: Michiharu Ariza -Date: Fri Mar 15 10:12:19 2019 -0700 - - Merge branch 'master' into var-subset - -commit 90ea140aca18d073401fc971681ce48403fbf399 -Merge: d23c201f5 99502b324 -Author: Michiharu Ariza -Date: Thu Mar 14 16:58:19 2019 -0700 - - Merge branch 'var-subset' of https://github.com/harfbuzz/harfbuzz into var-subset - -commit d23c201f5d8af8f9b38c666e1ba6525d38ef0806 -Author: Michiharu Ariza -Date: Tue Mar 12 11:03:53 2019 -0700 - - add gvar::get_extents - - src/hb-ot-face.hh | 1 + - src/hb-ot-font.cc | 3 + - src/hb-ot-glyf-table.hh | 21 ++++-- - src/hb-ot-var-gvar-table.hh | 164 +++++++++++++++++++++++++++++++++++++++++--- - 4 files changed, 175 insertions(+), 14 deletions(-) - -commit dde8bb1f6d0bfaac283fd8c2ad15e354c233bac1 -Author: Michiharu Ariza -Date: Fri Mar 1 21:54:49 2019 -0800 - - fix build - - src/hb-ot-var-gvar-table.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 5ec65f779bef1ebf2479f83f4b76f4e24d69ddad -Author: Michiharu Ariza -Date: Fri Mar 1 21:49:04 2019 -0800 - - minor edits - - src/hb-ot-cff-common.hh | 2 +- - src/hb-ot-layout-common.hh | 2 ++ - 2 files changed, 3 insertions(+), 1 deletion(-) - -commit 2d7ad3f28ba3a9c97287eb9e1bf75ad353a908c6 -Author: Michiharu Ariza -Date: Fri Mar 1 21:33:21 2019 -0800 - - build fix attempt - - src/hb-ot-glyf-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit cf2ef92c741a20158d15d7ea7c14f6ba82906d36 -Author: Michiharu Ariza -Date: Fri Mar 1 18:24:56 2019 -0800 - - more build fixes - - src/hb-ot-glyf-table.hh | 2 +- - src/hb-ot-var-gvar-table.hh | 13 ++++++------- - 2 files changed, 7 insertions(+), 8 deletions(-) - -commit ae0a557c2e56064d204ae549a3be135dca884f67 -Author: Michiharu Ariza -Date: Fri Mar 1 18:12:31 2019 -0800 - - fix build attempt - - src/hb-ot-var-gvar-table.hh | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - -commit baf2ccf1471856f948ed8d2d46e4d68b0c0b739a -Author: Michiharu Ariza -Date: Fri Mar 1 15:14:22 2019 -0800 - - calculate VF advance widths from gvar & glyf - - src/hb-ot-glyf-table.hh | 151 ++++++++++++++++ - src/hb-ot-hmtx-table.hh | 23 ++- - src/hb-ot-var-gvar-table.hh | 410 +++++++++++++++++++++++++++++++++++++++----- - 3 files changed, 542 insertions(+), 42 deletions(-) - -commit 0b1ae2385b5564efe3dbcd5d068462bcd55effe2 -Author: Michiharu Ariza -Date: Tue Feb 26 16:54:00 2019 -0800 - - gvar::subset() - - src/hb-ot-var-gvar-table.hh | 81 +++++++++++++++++++++++++++++++++++++++------ - 1 file changed, 71 insertions(+), 10 deletions(-) - -commit eddbc9d0dbb09589a09e7d8e661004cdd7487e87 -Author: Michiharu Ariza -Date: Tue Feb 26 11:11:50 2019 -0800 - - Added hb-ot-var-gvar-table.hh - - implemented sanitize() - placeholder subset() - some code cleanup - - src/Makefile.sources | 1 + - src/hb-bimap.hh | 6 +- - src/hb-ot-gvar-table.hh | 211 -------------------------------------------- - src/hb-ot-var-gvar-table.hh | 207 +++++++++++++++++++++++++++++++++++++++++++ - src/hb-ot-var-hvar-table.hh | 14 +-- - src/hb-subset.cc | 4 + - 6 files changed, 222 insertions(+), 221 deletions(-) - -commit f289ffe5eaf1c8cc87f9ee80f77a4af974919611 -Author: Michiharu Ariza -Date: Mon Feb 25 09:59:27 2019 -0800 - - renamed hb_map2_t to hb_bimap_h in its own .hh - - src/Makefile.sources | 1 + - src/hb-bimap.hh | 109 +++++++++++++++++++++++ - src/hb-ot-cff-common.hh | 4 +- - src/hb-ot-cff1-table.hh | 4 +- - src/hb-ot-gvar-table.hh | 211 ++++++++++++++++++++++++++++++++++++++++++++ - src/hb-ot-layout-common.hh | 84 +----------------- - src/hb-ot-var-hvar-table.hh | 12 +-- - src/hb-subset-cff-common.cc | 2 +- - src/hb-subset-cff-common.hh | 4 +- - src/hb-subset-cff1.cc | 8 +- - src/hb-subset-cff2.cc | 2 +- - 11 files changed, 343 insertions(+), 98 deletions(-) - -commit 8563169291bf257400608aa0900fc3ee8c2f9e8b -Author: Michiharu Ariza -Date: Fri Feb 22 14:53:06 2019 -0800 - - subset VVAR & outer indices - - src/hb-ot-var-hvar-table.hh | 49 ++++++++++++++++++++++++++++++++++++--------- - src/hb-subset.cc | 3 +++ - 2 files changed, 43 insertions(+), 9 deletions(-) - -commit 08dc86594bb17e31df2d5c0e25521ee1f072871b -Author: Michiharu Ariza -Date: Fri Feb 22 10:22:08 2019 -0800 - - unuse set in hb_map2_t impl - - also some code cleanup - - src/hb-ot-layout-common.hh | 46 +++++++++++++++++++++++----------------------- - 1 file changed, 23 insertions(+), 23 deletions(-) - -commit 1b13cc775c3b8143b1218e205b21b91b0852f8bd -Author: Michiharu Ariza -Date: Thu Feb 21 16:42:30 2019 -0800 - - fixed compiler gripes - - src/hb-ot-var-hvar-table.hh | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - -commit c485b77c7c1df2fcd2f21107692d1afd0ed34e1f -Author: Michiharu Ariza -Date: Thu Feb 21 16:34:49 2019 -0800 - - fix CFF2 local subr subsetting - - bug exposed by impl change of fdmap - also fixed name of subr_remap_ts as subr_remaps_t - - src/hb-subset-cff-common.hh | 8 ++++---- - src/hb-subset-cff2.cc | 20 +++++++++----------- - 2 files changed, 13 insertions(+), 15 deletions(-) - -commit c9b07c75a14b6efb4b32cb12b2f3e8cfc1953638 -Author: Michiharu Ariza -Date: Thu Feb 21 15:47:27 2019 -0800 - - fix HVAR & VarStore subsetting - - src/hb-ot-layout-common.hh | 15 +++-- - src/hb-ot-var-hvar-table.hh | 140 ++++++++++++++++++++++---------------------- - 2 files changed, 77 insertions(+), 78 deletions(-) - -commit c8420109ccb74a7bf15c4af425f9f58bc315d2ce -Author: Michiharu Ariza -Date: Wed Feb 20 15:48:29 2019 -0800 - - subset HVAR - - Re-implemented & repurposed CFF:remap_t as hb_map2_t (moved to hb-ot-layout-common.hh) for two-way mapping for use by index map subsetting. - Hooked up HVAR subsetter through _subset2. - Some renaming in CFF code. - - src/hb-ot-cff-common.hh | 63 ++---------- - src/hb-ot-cff1-table.hh | 8 +- - src/hb-ot-layout-common.hh | 158 ++++++++++++++++++++++++++++-- - src/hb-ot-var-hvar-table.hh | 232 +++++++++++++++++++++++++++++++++++++++++++- - src/hb-subset-cff-common.cc | 9 +- - src/hb-subset-cff-common.hh | 27 ++---- - src/hb-subset-cff1.cc | 29 +++--- - src/hb-subset-cff2.cc | 12 +-- - src/hb-subset.cc | 4 + - 9 files changed, 426 insertions(+), 116 deletions(-) - -commit 8aaab78efcac81a05ec919be13792c98741ea1b5 -Author: Ebrahim Byagowi -Date: Thu Mar 14 16:49:42 2019 -0700 - - Allow zero length ranges in sanitization (#1617) - - Fixes fvar table sanitization where there are no named instance - by allowing zero length ranges starting from Null() address. - - Fixes #1607 - - src/hb-machinery.hh | 30 ++++++++++++++++-------------- - test/api/fonts/Zycon.ttf | Bin 0 -> 21036 bytes - test/api/test-ot-face.c | 9 +++++++++ - 3 files changed, 25 insertions(+), 14 deletions(-) - -commit b1dfb8c850f36d4065190a779a6e3342a5fbb593 -Author: Khaled Hosny -Date: Thu Mar 14 21:41:25 2019 +0200 - - [ci] Cache FreeType build on Travis - - .ci/build-freetype.sh | 17 +++++++++++++++++ - .travis.yml | 18 ++++++++++++------ - 2 files changed, 29 insertions(+), 6 deletions(-) - -commit 7de9f92ee9ced6f4c176459cf25f4ca931ca5ceb -Author: David Corbett -Date: Tue Mar 12 19:30:47 2019 -0400 - - Categorize U+09FC as Consonant_Placeholder - - src/hb-ot-shape-complex-indic.hh | 1 + - 1 file changed, 1 insertion(+) - -commit 8b1eaecd9485fe504af364db1537bb04852b265c -Author: Khaled Hosny -Date: Wed Mar 13 13:21:12 2019 +0200 - - [ci] Simplify and fix Travis CI macOS build - - .travis.yml | 16 +++++++++------- - 1 file changed, 9 insertions(+), 7 deletions(-) - -commit 99502b324dd6cb45d401bc5f6cc08d7a77677ba5 -Author: Michiharu Ariza -Date: Tue Mar 12 11:03:53 2019 -0700 - - add gvar::get_extents - - src/hb-ot-face.hh | 1 + - src/hb-ot-font.cc | 3 + - src/hb-ot-glyf-table.hh | 21 ++++-- - src/hb-ot-var-gvar-table.hh | 164 +++++++++++++++++++++++++++++++++++++++++--- - 4 files changed, 175 insertions(+), 14 deletions(-) - -commit 23e2d5ac86968c7548df0d212c1a321d09328ffa -Merge: f5a466389 e52ec3fc2 -Author: Michiharu Ariza -Date: Tue Mar 12 10:53:15 2019 -0700 - - Merge branch 'master' into var-subset - -commit e52ec3fc23c2d5a881849f047885e0423bd74740 -Author: Behdad Esfahbod -Date: Mon Mar 11 18:09:51 2019 -0700 - - Remove redundant hb_ot_layout_lookup_would_substitute_fast - - src/hb-ot-layout.cc | 13 ------------- - src/hb-ot-layout.hh | 7 ------- - src/hb-ot-shape-complex-indic.cc | 2 +- - src/hb-ot-shape-complex-khmer.cc | 2 +- - 4 files changed, 2 insertions(+), 22 deletions(-) - -commit c2442c90d6ecfaee987ed8ac6f93a9ac6b07c642 -Author: Khaled Hosny -Date: Tue Mar 12 01:09:27 2019 +0200 - - [doc] Add placeholder since version for new flag - - src/hb-buffer.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 8c42f03215097d7c1bae74db7e98315263d3e8a4 -Author: David Corbett -Date: Fri Mar 8 09:46:48 2019 -0500 - - Remove obsolete overrides from Indic/USE scripts - - src/gen-indic-table.py | 4 ---- - src/gen-use-table.py | 30 +++++++----------------------- - src/hb-ot-shape-complex-use-table.cc | 2 +- - 3 files changed, 8 insertions(+), 28 deletions(-) - -commit b38bab86229bc40d9cdf4819d6dc6aab444d0291 -Author: Eric Muller -Date: Tue Feb 12 11:41:16 2019 -0800 - - Update generation code for hb-ot-shape-complex-vowel-constraints.cc. Remove 'unlikely' - - src/gen-vowel-constraints.py | 3 +++ - src/hb-ot-shape-complex-vowel-constraints.cc | 2 +- - 2 files changed, 4 insertions(+), 1 deletion(-) - -commit 44a67ddeb878f7639b30d1884e38b1525aab4f4a -Author: Eric Muller -Date: Sun Feb 10 04:31:41 2019 -0800 - - Fix coding style. - - src/hb-ot-shape-complex-hangul.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 30d7c40f8ce9f47d733b1f43a93f20739772859e -Author: Eric Muller -Date: Sat Feb 9 02:55:27 2019 -0800 - - Add a flag to hb_buffer_t to prevent the insertion of dotted circles on incorrect character sequences. - - Current behavior unchanged if this flag is not set (and it isn't by default). - - src/hb-buffer.h | 7 ++++++- - src/hb-ot-shape-complex-hangul.cc | 3 ++- - src/hb-ot-shape-complex-indic.cc | 3 +++ - src/hb-ot-shape-complex-khmer.cc | 3 +++ - src/hb-ot-shape-complex-myanmar.cc | 3 +++ - src/hb-ot-shape-complex-use.cc | 3 +++ - src/hb-ot-shape-complex-vowel-constraints.cc | 3 +++ - src/hb-ot-shape.cc | 3 +++ - 8 files changed, 26 insertions(+), 2 deletions(-) - -commit 8b6eb6cf465032d0ca747f4b75f6e9155082bc45 -Author: Ebrahim Byagowi -Date: Fri Mar 8 01:33:41 2019 +0330 - - Add a macOS 10.14.3 fonts tests (#1608) - - .circleci/config.yml | 11 +++++++++++ - test/shaping/data/in-house/tests/macos.tests | 19 +++++++++++++++++++ - 2 files changed, 30 insertions(+) - -commit e723c04de1b3dcd96e6a70baf09e3ae2ddbbc0bf -Author: David Corbett -Date: Wed Mar 6 12:37:25 2019 -0500 - - Update to Unicode 12.0.0 - - src/gen-use-table.py | 1 - - src/gen-vowel-constraints.py | 1 + - src/hb-common.h | 8 + - src/hb-ot-shape-complex-arabic-table.hh | 14 +- - src/hb-ot-shape-complex-indic-table.cc | 56 +- - src/hb-ot-shape-complex-use-table.cc | 49 +- - src/hb-ot-shape-complex-vowel-constraints.cc | 4 +- - src/hb-ot-shape-complex.hh | 3 + - src/hb-ot-tag-table.hh | 12 +- - src/hb-ucdn.cc | 4 + - src/hb-ucdn/ucdn.h | 11 + - src/hb-ucdn/ucdn_db.h | 2998 +++++++++++++------------- - src/hb-unicode-emoji-table.hh | 6 +- - 13 files changed, 1631 insertions(+), 1536 deletions(-) - -commit 2f125b0fa763c3be7d8d74489c027f7155607756 -Author: Adrian Wong -Date: Wed Feb 13 21:04:46 2019 +1100 - - [indic] Remove superfluous ZWNJ check in final reorder of pre-base matras - - src/hb-ot-shape-complex-indic.cc | 11 ++++++++--- - 1 file changed, 8 insertions(+), 3 deletions(-) - -commit d936ad4582a0017cf88406372d7c08b9896beed6 -Author: Stephan Bergmann -Date: Tue Mar 5 17:18:57 2019 +0100 - - Fix hb_atomic_* variants based on C++11 atomics - - I stumbled over this when trying to upgrade the version of HarfBuzz used by - LibreOffice to 3.2.1 (see "Upgrade to latest - HarfBuzz 2.3.1"), where building with MSVC 2017 failed like - - > c:\cygwin\home\tdf\lode\jenkins\workspace\gerrit_windows\workdir\unpackedtarball\harfbuzz\src\hb-atomic.hh(272): error C2440: 'reinterpret_cast': cannot convert from 'const int *' to 'std::atomic *' - > c:\cygwin\home\tdf\lode\jenkins\workspace\gerrit_windows\workdir\unpackedtarball\harfbuzz\src\hb-atomic.hh(272): note: Conversion loses qualifiers - > c:\cygwin\home\tdf\lode\jenkins\workspace\gerrit_windows\workdir\unpackedtarball\harfbuzz\src\hb-atomic.hh(272): error C2227: left of '->load' must point to class/struct/union/generic type - - (see ). - - I added all the necessary "const" to make building of HarfBuzz 2.3.1 with - MSVC 2017 succeed for me. There may be more missing at least conceptually. - - src/hb-atomic.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 731b13e4e9190a45e51f855f19e88869a7718d43 -Author: Martin Hosken -Date: Mon Mar 4 11:12:21 2019 +0700 - - Fix offset drift in graphite integration - - src/hb-graphite2.cc | 35 +++++++++++++++++++---------------- - 1 file changed, 19 insertions(+), 16 deletions(-) - -commit f5a466389382183cbc009b66734e0fa339f168ff -Author: Michiharu Ariza -Date: Fri Mar 1 21:54:49 2019 -0800 - - fix build - - src/hb-ot-var-gvar-table.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 2e1965e572f5643c56e5a0c11a8bf7d5cf68a483 -Author: Michiharu Ariza -Date: Fri Mar 1 21:49:04 2019 -0800 - - minor edits - - src/hb-ot-cff-common.hh | 2 +- - src/hb-ot-layout-common.hh | 2 ++ - 2 files changed, 3 insertions(+), 1 deletion(-) - -commit ff60f34dd6b57401c8904a8808c1775ee09f4458 -Author: Michiharu Ariza -Date: Fri Mar 1 21:33:21 2019 -0800 - - build fix attempt - - src/hb-ot-glyf-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 9aa5805a44e883c3dcb09a43e952b8bf40016423 -Author: Michiharu Ariza -Date: Fri Mar 1 18:24:56 2019 -0800 - - more build fixes - - src/hb-ot-glyf-table.hh | 2 +- - src/hb-ot-var-gvar-table.hh | 13 ++++++------- - 2 files changed, 7 insertions(+), 8 deletions(-) - -commit 3f3da718632e9beef9a1d9cf8b5775025ffe3fd6 -Merge: 21aaf3005 f448195a4 -Author: Michiharu Ariza -Date: Fri Mar 1 18:12:35 2019 -0800 - - Merge branch 'var-subset' of https://github.com/harfbuzz/harfbuzz into var-subset - -commit 21aaf30058823e06c121908734b05c6c7f0bdeec -Author: Michiharu Ariza -Date: Fri Mar 1 18:12:31 2019 -0800 - - fix build attempt - - src/hb-ot-var-gvar-table.hh | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - -commit 8a25868e6a41a3d82782aadb3c7b744ad87d20ff -Author: Ebrahim Byagowi -Date: Sat Mar 2 03:24:49 2019 +0330 - - Minor, remove .editorconfig hack - - As vscode is going to support it soon - - .editorconfig | 7 ++----- - 1 file changed, 2 insertions(+), 5 deletions(-) - -commit f448195a4b041db83b0e515c829b99d2349bf73f -Merge: fa2b3d30f 4f37ab63d -Author: Michiharu Ariza -Date: Fri Mar 1 15:22:17 2019 -0800 - - Merge branch 'master' into var-subset - -commit fa2b3d30f6562a7457acca205f1bf544089c88ba -Author: Michiharu Ariza -Date: Fri Mar 1 15:14:22 2019 -0800 - - calculate VF advance widths from gvar & glyf - - src/hb-ot-glyf-table.hh | 151 ++++++++++++++++ - src/hb-ot-hmtx-table.hh | 23 ++- - src/hb-ot-var-gvar-table.hh | 410 +++++++++++++++++++++++++++++++++++++++----- - 3 files changed, 542 insertions(+), 42 deletions(-) - -commit 4f37ab63de9705d7bf74ee75364747e41b7c06a1 -Author: Garret Rieger -Date: Thu Feb 28 17:25:05 2019 -0800 - - Make hb_subset_input_glyph_set () actually do something. - - src/hb-subset-plan.cc | 3 +++ - test/api/hb-subset-test.h | 11 ++++++++++- - test/api/test-subset-glyf.c | 24 ++++++++++++++++++++++++ - 3 files changed, 37 insertions(+), 1 deletion(-) - -commit 33354ab6b87211ae2e702bee162fa4260078e70a -Author: Michiharu Ariza -Date: Tue Feb 26 16:54:00 2019 -0800 - - gvar::subset() - - src/hb-ot-var-gvar-table.hh | 81 +++++++++++++++++++++++++++++++++++++++------ - 1 file changed, 71 insertions(+), 10 deletions(-) - -commit 45149eb34f9735b5d690a2a7956adb42b938c8d9 -Author: Ebrahim Byagowi -Date: Fri Feb 22 13:13:42 2019 +0330 - - [dwrite] hb_directwrite_face_create, a new API - - It makes a hb_face_t from IDWriteFontFace, useful when using - DirectWrite facilities for font selection, loading and rendering - but using harfbuzz for shaping. - - src/hb-directwrite.cc | 70 +++++++++++++++++++++++++++++++++++++++++++++++---- - src/hb-directwrite.h | 5 +++- - 2 files changed, 69 insertions(+), 6 deletions(-) - -commit 6f91e0d903d7510a4612a9cc7306ec04260cefed -Author: Michiharu Ariza -Date: Tue Feb 26 11:11:50 2019 -0800 - - Added hb-ot-var-gvar-table.hh - - implemented sanitize() - placeholder subset() - some code cleanup - - src/Makefile.sources | 1 + - src/hb-bimap.hh | 6 +- - src/hb-ot-gvar-table.hh | 211 -------------------------------------------- - src/hb-ot-var-gvar-table.hh | 207 +++++++++++++++++++++++++++++++++++++++++++ - src/hb-ot-var-hvar-table.hh | 14 +-- - src/hb-subset.cc | 4 + - 6 files changed, 222 insertions(+), 221 deletions(-) - -commit 45adc185260f0fa1fa86472aafb7f91f942c567e -Author: David Corbett -Date: Mon Feb 18 22:30:40 2019 -0500 - - Fix or document unsupported font-feature-settings - - src/hb-common.cc | 18 ++++++++++++------ - util/options.cc | 3 ++- - 2 files changed, 14 insertions(+), 7 deletions(-) - -commit d66f7e14a0097d8ca54ad9824f7aa7daee6c7f72 -Author: Joël R. Langlois -Date: Mon Feb 25 15:26:58 2019 -0500 - - Remove Forcing Diagnostic Colours from CMakeLists.txt (#1597) - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1596 - - CMakeLists.txt | 12 ------------ - 1 file changed, 12 deletions(-) - -commit d817b446a132816e48e9ce4e3619a52a340ab35a -Author: Michiharu Ariza -Date: Mon Feb 25 09:59:27 2019 -0800 - - renamed hb_map2_t to hb_bimap_h in its own .hh - - src/Makefile.sources | 1 + - src/hb-bimap.hh | 109 +++++++++++++++++++++++ - src/hb-ot-cff-common.hh | 4 +- - src/hb-ot-cff1-table.hh | 4 +- - src/hb-ot-gvar-table.hh | 211 ++++++++++++++++++++++++++++++++++++++++++++ - src/hb-ot-layout-common.hh | 84 +----------------- - src/hb-ot-var-hvar-table.hh | 12 +-- - src/hb-subset-cff-common.cc | 2 +- - src/hb-subset-cff-common.hh | 4 +- - src/hb-subset-cff1.cc | 8 +- - src/hb-subset-cff2.cc | 2 +- - 11 files changed, 343 insertions(+), 98 deletions(-) - -commit 5d781f62ba4df4f322b01ded5008d1c936acd585 -Author: Michiharu Ariza -Date: Fri Feb 22 14:53:06 2019 -0800 - - subset VVAR & outer indices - - src/hb-ot-var-hvar-table.hh | 49 ++++++++++++++++++++++++++++++++++++--------- - src/hb-subset.cc | 3 +++ - 2 files changed, 43 insertions(+), 9 deletions(-) - -commit 2d545e1e86d94af05550118cac20ec097bc843b4 -Author: Michiharu Ariza -Date: Fri Feb 22 10:22:08 2019 -0800 - - unuse set in hb_map2_t impl - - also some code cleanup - - src/hb-ot-layout-common.hh | 46 +++++++++++++++++++++++----------------------- - 1 file changed, 23 insertions(+), 23 deletions(-) - -commit ca3b4a21dff4fcd804b0bf2249fb3f286486d8fa -Author: Michiharu Ariza -Date: Thu Feb 21 16:42:30 2019 -0800 - - fixed compiler gripes - - src/hb-ot-var-hvar-table.hh | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - -commit a7b801f6d1410443f518cec5dad4d89a8feaf01d -Author: Michiharu Ariza -Date: Thu Feb 21 16:34:49 2019 -0800 - - fix CFF2 local subr subsetting - - bug exposed by impl change of fdmap - also fixed name of subr_remap_ts as subr_remaps_t - - src/hb-subset-cff-common.hh | 8 ++++---- - src/hb-subset-cff2.cc | 20 +++++++++----------- - 2 files changed, 13 insertions(+), 15 deletions(-) - -commit a190140fa47ff5655edbb4eb414175852f722f85 -Author: Michiharu Ariza -Date: Thu Feb 21 15:47:27 2019 -0800 - - fix HVAR & VarStore subsetting - - src/hb-ot-layout-common.hh | 15 +++-- - src/hb-ot-var-hvar-table.hh | 140 ++++++++++++++++++++++---------------------- - 2 files changed, 77 insertions(+), 78 deletions(-) - -commit 09df17e71b1860e250638e8e76deee1da5e7a06b -Author: Michiharu Ariza -Date: Wed Feb 20 15:48:29 2019 -0800 - - subset HVAR - - Re-implemented & repurposed CFF:remap_t as hb_map2_t (moved to hb-ot-layout-common.hh) for two-way mapping for use by index map subsetting. - Hooked up HVAR subsetter through _subset2. - Some renaming in CFF code. - - src/hb-ot-cff-common.hh | 63 ++---------- - src/hb-ot-cff1-table.hh | 8 +- - src/hb-ot-layout-common.hh | 158 ++++++++++++++++++++++++++++-- - src/hb-ot-var-hvar-table.hh | 232 +++++++++++++++++++++++++++++++++++++++++++- - src/hb-subset-cff-common.cc | 9 +- - src/hb-subset-cff-common.hh | 27 ++---- - src/hb-subset-cff1.cc | 29 +++--- - src/hb-subset-cff2.cc | 12 +-- - src/hb-subset.cc | 4 + - 9 files changed, 426 insertions(+), 116 deletions(-) - -commit 93739242e1aab9b745d0ba3c22c33b4acaf9526c -Author: Michiharu Ariza -Date: Wed Feb 20 13:23:12 2019 -0800 - - minor edit - - src/hb-map.hh | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit eebc21c8de08d58c806fcd3d0f3a5aedee867776 -Author: Michiharu Ariza -Date: Wed Feb 20 12:43:18 2019 -0800 - - fix crash in hb_map_t::clear() - - in case called immediately after init() - - src/hb-map.hh | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit a17ed8459ee1e01caf4761f682bcda821bc8e656 -Author: Khaled Hosny -Date: Tue Feb 19 21:14:11 2019 +0200 - - [doc] Move hb_variation_t to hb-common section - - docs/harfbuzz-sections.txt | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 9caabc9cf898e1d66921f88890d5b7d46494dc90 -Author: Khaled Hosny -Date: Tue Feb 19 19:27:28 2019 +0200 - - [doc] Move feature_t and its function to hb-common - - It is rather confusing to have script, language etc, in hb-common section - while feature is in hb-shape section. I keep looking for it in hb-common - section then using the API index because I can’t find it there. - - docs/harfbuzz-sections.txt | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -commit d29c8424c8bfa47c910d0e270f05b5c0a1f803a2 -Author: Evgeniy Reizner -Date: Tue Feb 19 18:35:00 2019 +0200 - - Typo (#1588) - - Fixed a small typo. - [skip ci] - - src/hb-ot-font.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 6bd4c082e49143d0631881645b81f999347257f8 -Author: Khaled Hosny -Date: Tue Feb 19 02:23:58 2019 +0200 - - [doc] Document hb_feature_from_string() syntax - - Copied and edited from the util option documentation. The docbook table - syntax is too verbose, but that is the best I can come up with. - - src/hb-common.cc | 35 ++++++++++++++++++++++++++++++++++- - 1 file changed, 34 insertions(+), 1 deletion(-) - -commit 11456b2d9c1c567d1ad6496a3056154b69cafa21 -Author: Behdad Esfahbod -Date: Fri Feb 15 16:58:43 2019 -0800 - - WHitespace - - src/hb-ot-layout-gsubgpos.hh | 4 ---- - 1 file changed, 4 deletions(-) - -commit 77060bcda229dc237d3952fbf5da59709cd81e05 -Author: Behdad Esfahbod -Date: Fri Feb 15 16:55:08 2019 -0800 - - [iter] Add hb_all, hb_any, hb_none - - src/hb-iter.hh | 46 +++++++++++++++++++++++++++++++++++++++++++++- - src/test-iter.cc | 2 ++ - 2 files changed, 47 insertions(+), 1 deletion(-) - -commit 72dd5e34e0fc2902857c39cd4609d40b71fa4736 -Author: Behdad Esfahbod -Date: Fri Feb 15 16:11:32 2019 -0800 - - [iter] Make hb_iter() into function-object - - src/hb-iter.hh | 28 +++++++++++++++++++--------- - 1 file changed, 19 insertions(+), 9 deletions(-) - -commit 98be7bd77ada32e58dad76897cefcf1d99538d2b -Author: Behdad Esfahbod -Date: Fri Feb 15 16:09:29 2019 -0800 - - [iter] Make hb_map into function-object - - src/hb-iter.hh | 11 +++++++---- - 1 file changed, 7 insertions(+), 4 deletions(-) - -commit c1e5ba81fe4888143c1cf4a3deb3597875580c6d -Merge: b8b3b3e38 3da79dd5b -Author: Behdad Esfahbod -Date: Fri Feb 15 16:06:03 2019 -0800 - - Merge remote-tracking branch 'origin/master' into iter - -commit b8b3b3e38b08ee7bb8d44481dd25febcee693554 -Author: Behdad Esfahbod -Date: Fri Feb 15 16:05:36 2019 -0800 - - [iter] Add hb_enumerate() and use it - - src/hb-iter.hh | 39 +++++++++++++++++++++++++++++++++++++-- - src/hb-ot-layout-gsubgpos.hh | 32 ++++++++++++-------------------- - 2 files changed, 49 insertions(+), 22 deletions(-) - -commit 3da79dd5b92b89fbf062cbe591e6b1ba83083aec -Merge: 500055018 d8a68728a -Author: Behdad Esfahbod -Date: Fri Feb 15 15:54:51 2019 -0800 - - Merge pull request #1557 from harfbuzz/cff-more-arrayof-fixes - - CFF more arrayof fixes - -commit 5000550183022db8c9cfef63a9ed90eb9f37764d -Merge: 5c2bb1de8 90c8bbf98 -Author: Behdad Esfahbod -Date: Fri Feb 15 15:54:13 2019 -0800 - - Merge pull request #1583 from harfbuzz/cff-retain-gids - - [subset] Implement --retain-gids with CFF/CFF2 - -commit d8a68728a077a8c5fc8ceae19f2866cdc8b70baf -Merge: 1cb1d5d7f 5c2bb1de8 -Author: Michiharu Ariza -Date: Fri Feb 15 14:48:10 2019 -0800 - - Merge branch 'master' into cff-more-arrayof-fixes - -commit 90c8bbf98747eb29687471da892b4a34a9236242 -Merge: 6f1dfd082 5c2bb1de8 -Author: Michiharu Ariza -Date: Fri Feb 15 14:47:38 2019 -0800 - - Merge branch 'master' into cff-retain-gids - -commit 5c2bb1de8de31fecf0dae2ef905b896e42d39f1d -Author: Martin <44297768+TheRealMDoerr@users.noreply.github.com> -Date: Fri Feb 15 19:23:46 2019 +0100 - - Support xlclang++ on AIX. (#1584) - - src/hb-atomic.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 1558a43342e2c5649cf48cb5860ac8a7aa9faf1d -Author: Behdad Esfahbod -Date: Thu Feb 14 20:46:13 2019 -0800 - - [test] Minor - - src/test-algs.cc | 1 + - 1 file changed, 1 insertion(+) - -commit fa373584def11c97d8a7db00d9abc04851ca9480 -Author: Behdad Esfahbod -Date: Thu Feb 14 20:15:07 2019 -0800 - - [algs] Test pair more - - src/test-algs.cc | 4 ++++ - 1 file changed, 4 insertions(+) - -commit 0d7af5fb02723d8f4e8ad93848e9abe384174b36 -Author: Behdad Esfahbod -Date: Thu Feb 14 19:37:57 2019 -0800 - - [algs] Use universal references for hb_pair() - - Such that it carries lvalues inside. - - src/Makefile.am | 6 +++++- - src/hb-algs.hh | 2 +- - src/test-algs.cc | 45 +++++++++++++++++++++++++++++++++++++++++++++ - 3 files changed, 51 insertions(+), 2 deletions(-) - -commit 5b99c92d4c6e294bb328113308e5c9cd23b3ed67 -Author: Behdad Esfahbod -Date: Thu Feb 14 17:10:04 2019 -0800 - - [iter] Use more - - src/hb-iter.hh | 4 ++-- - src/hb-ot-layout-gsubgpos.hh | 10 ++++------ - 2 files changed, 6 insertions(+), 8 deletions(-) - -commit 72c1b59588bec30322abfa4de04b53e93122b25b -Author: Behdad Esfahbod -Date: Thu Feb 14 15:43:20 2019 -0800 - - [iter] Use in more places - - src/hb-ot-layout-gsubgpos.hh | 48 ++++++++++++++++++-------------------------- - 1 file changed, 20 insertions(+), 28 deletions(-) - -commit 40cce41eaeac731334251cccaa124407e6bffccb -Author: Behdad Esfahbod -Date: Thu Feb 14 15:14:37 2019 -0800 - - [iter] Use in a couple more intersects() calls - - src/hb-ot-layout-gsubgpos.hh | 10 ++++------ - 1 file changed, 4 insertions(+), 6 deletions(-) - -commit bafdf1829d15e658df55eabc0548e9ca71d18b1b -Author: Behdad Esfahbod -Date: Thu Feb 14 15:13:16 2019 -0800 - - [iter] Use in a couple more closure() calls - - src/hb-ot-layout-gsubgpos.hh | 10 ++++------ - 1 file changed, 4 insertions(+), 6 deletions(-) - -commit fa35d3fd81c1ddb847cdd83556f817db9ef7f35b -Author: Behdad Esfahbod -Date: Thu Feb 14 14:04:05 2019 -0800 - - [iter] Add hb_drain - - src/hb-iter.hh | 11 +++++++++++ - src/test-iter.cc | 7 ++++++- - 2 files changed, 17 insertions(+), 1 deletion(-) - -commit f4cfd6b6adbe0a87fe565a29b6cd600cf86f65dd -Author: Behdad Esfahbod -Date: Thu Feb 14 13:45:52 2019 -0800 - - [iter] A couple more hb_apply() + lambda uses - - src/hb-ot-layout-gsub-table.hh | 16 +++++++++------- - 1 file changed, 9 insertions(+), 7 deletions(-) - -commit 7514a49f217c42ae0c895755e305f1d5b75c759d -Author: Behdad Esfahbod -Date: Thu Feb 14 13:16:33 2019 -0800 - - [iter] Use hb_apply() with lambda functions in a few places - - src/hb-ot-layout-gsub-table.hh | 30 +++++++++++++++++------------- - 1 file changed, 17 insertions(+), 13 deletions(-) - -commit 0670e1a6f5d9938d30d5d0674ea10752d4a58114 -Author: Behdad Esfahbod -Date: Thu Feb 14 11:53:40 2019 -0800 - - [iter] Remove excess use of universal references - - Every time I have to study these to understand why a change is right.. - - src/hb-iter.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 773d75637c36426b96be43f1188c68d77ac4ba47 -Author: Behdad Esfahbod -Date: Thu Feb 14 11:40:22 2019 -0800 - - [iter] Add hb_apply() - - src/hb-iter.hh | 30 ++++++++++++++++++++++++++++++ - src/test-iter.cc | 3 +++ - 2 files changed, 33 insertions(+) - -commit 5b725784e53a96ba4d983184a2670aba2aa0fd9c -Merge: 00db94095 28f773613 -Author: Behdad Esfahbod -Date: Thu Feb 14 11:34:55 2019 -0800 - - Merge branch 'master' into iter - -commit 28f77361322886360743fdbffd388c9482cf4257 -Author: Behdad Esfahbod -Date: Thu Feb 14 11:34:28 2019 -0800 - - [CI] Install more packages - - Wish there was a way to streamline this :(. - - .circleci/config.yml | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 00db94095d53bd5e954be31caa428a3fd8f5f4c2 -Author: Behdad Esfahbod -Date: Thu Feb 14 11:10:13 2019 -0800 - - [iter] Make hb_filter() a function-object - - src/hb-iter.hh | 13 ++++++++----- - 1 file changed, 8 insertions(+), 5 deletions(-) - -commit aa4c3212628f6861f1ef3ecb9eb5205b5780ac91 -Author: Behdad Esfahbod -Date: Thu Feb 14 11:07:12 2019 -0800 - - [iter] Make hb_zip() a function-object - - src/hb-iter.hh | 13 ++++++++----- - 1 file changed, 8 insertions(+), 5 deletions(-) - -commit f8fcfb263e197c27015eeea56761b2dc8138da91 -Author: Behdad Esfahbod -Date: Thu Feb 14 11:03:29 2019 -0800 - - [iter] Accept pointers to hb_sink() - - src/hb-iter.hh | 4 ++++ - src/hb-ot-layout-gsub-table.hh | 6 +++--- - 2 files changed, 7 insertions(+), 3 deletions(-) - -commit b530573ad9b30e06d5cecfd107941c573cd5d999 -Author: Behdad Esfahbod -Date: Thu Feb 14 11:00:10 2019 -0800 - - [iter] Make hb_sink function-object - - src/hb-iter.hh | 11 ++++++----- - 1 file changed, 6 insertions(+), 5 deletions(-) - -commit bb139cb8d0e4339042c5d0d0f192e13707c2bda4 -Author: Behdad Esfahbod -Date: Thu Feb 14 10:51:47 2019 -0800 - - [iter] Back to dagger formatting for pipelines - - src/hb-ot-layout-gsub-table.hh | 9 ++++++--- - 1 file changed, 6 insertions(+), 3 deletions(-) - -commit 5fa52e62b1744347970c42f42bbcd8d2e82d6c60 -Author: Behdad Esfahbod -Date: Thu Feb 14 10:51:02 2019 -0800 - - [iter] Accept iterator, not iterable, in hb_sink()() - - src/hb-iter.hh | 8 ++++---- - src/test-iter.cc | 1 + - 2 files changed, 5 insertions(+), 4 deletions(-) - -commit 0f292ea85f54b3496fe87e6466acf43b76f57dcd -Author: Behdad Esfahbod -Date: Thu Feb 14 10:49:31 2019 -0800 - - [iter] Accept iterator, not iterable, in hb_filter()() - - src/hb-iter.hh | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -commit 345bfbb207b4d1174ee0ec41cf35cdc2e14936ff -Author: Behdad Esfahbod -Date: Thu Feb 14 10:48:20 2019 -0800 - - [iter] Accept iterator, not iterable, in hb_map()() - - src/hb-iter.hh | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -commit 16cc313dcd7d4ddf16451cadc118aeb680101384 -Author: Behdad Esfahbod -Date: Thu Feb 14 10:40:05 2019 -0800 - - [iter] Use hb_sink() - - src/hb-ot-layout-gsub-table.hh | 22 +++++++++++----------- - 1 file changed, 11 insertions(+), 11 deletions(-) - -commit b702a0cbf8abae4622a99adf3a3b6adda3d9f2c1 -Author: Behdad Esfahbod -Date: Thu Feb 14 10:39:58 2019 -0800 - - [iter] Add hb_sink() - - src/hb-iter.hh | 25 +++++++++++++++++++++++++ - 1 file changed, 25 insertions(+) - -commit 1cb1d5d7fb74e9f42dc8361dcdf669ed479d595d -Merge: 8a568a885 d5287e1ba -Author: Michiharu Ariza -Date: Thu Feb 14 10:09:19 2019 -0800 - - Merge branch 'master' into cff-more-arrayof-fixes - -commit 6f1dfd082cf79488ae6773e7d99172f13575668c -Merge: b1dbc77fa d5287e1ba -Author: Michiharu Ariza -Date: Thu Feb 14 10:08:16 2019 -0800 - - Merge branch 'master' into cff-retain-gids - -commit 9e7383d124f1f1422f542720c76b4ee9605bda8b -Author: Behdad Esfahbod -Date: Wed Feb 13 23:54:36 2019 -0800 - - [CI] Disable cmake-oracledeveloperstudio bot - - Weird error: - - "/root/project/src/hb-iter.hh", line 277: Error: Type name expected instead of "decltype()". - "/root/project/src/hb-iter.hh", line 278: Error: Invalid type while substituting into Iter::item_t. - "/root/project/src/hb-iter.hh", line 317: Error: Type name expected instead of "decltype()". - "/root/project/src/hb-iter.hh", line 318: Error: Invalid type while substituting into Iter::item_t. - - .circleci/config.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 4103252323b15a821f0a912b580c2107211b918f -Merge: f1b893440 d5287e1ba -Author: Behdad Esfahbod -Date: Wed Feb 13 23:46:43 2019 -0800 - - Merge branch 'master' into iter - -commit d5287e1ba40638be5d48178ce3d64557b622b01f -Author: Behdad Esfahbod -Date: Wed Feb 13 23:46:17 2019 -0800 - - [CI] Install wget on clang-O3-O0 bot - - .circleci/config.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit f1b8934400137fe832909730ad86d73595612e9e -Author: Behdad Esfahbod -Date: Wed Feb 13 23:30:21 2019 -0800 - - [CI] Remove macos-notest-ios bot - - Not sure what ancient compiler it is (gcc 4.2?), but didn't like hb_zip SFINAE - apparently: - - In file included from /Users/distiller/project/src/hb-aat-layout.cc:28: - In file included from /Users/distiller/project/src/hb-open-type.hh:32: - In file included from /Users/distiller/project/src/hb.hh:642: - /Users/distiller/project/src/hb-iter.hh:364:1: note: candidate template ignored: substitution failure [with A = OT::Coverage, B = OT::OffsetArrayOf]: non-type template argument does not refer to any declaration - hb_zip (const A& a, const B &b) - ^ - In file included from /Users/distiller/project/src/hb-aat-layout.cc:37: - In file included from /Users/distiller/project/src/hb-aat-layout-kerx-table.hh:31: - In file included from /Users/distiller/project/src/hb-kern.hh:32: - /Users/distiller/project/src/hb-ot-layout-gpos-table.hh:725:20: error: no matching function for call to 'hb_zip' - for (auto it = hb_zip (this+coverage, pairSet) - ^~~~~~ - - Not going to try to appease. - - .circleci/config.yml | 13 ------------- - 1 file changed, 13 deletions(-) - -commit 7d2376de336c7fc14d69e01add02115335f92db8 -Merge: 2d940946d 890d0ee77 -Author: Behdad Esfahbod -Date: Wed Feb 13 22:08:54 2019 -0800 - - Merge branch 'master' into iter - -commit 890d0ee77fecd6aa4f19b663bb2897735a0d4c0b -Author: Ebrahim Byagowi -Date: Thu Feb 14 00:27:01 2019 +0330 - - Minor, use a meaningful naming in template parameter (#1582) - - src/hb-ot-layout.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 8a568a8858b44a81ca43a82761a70bf8d53e7c26 -Merge: c83412e4c 1e1d0e63d -Author: Michiharu Ariza -Date: Wed Feb 13 11:25:00 2019 -0800 - - Merge branch 'master' into cff-more-arrayof-fixes - -commit b1dbc77fa62a99047df539663cfd1e8778d2c907 -Merge: c3a3536c9 1e1d0e63d -Author: Michiharu Ariza -Date: Wed Feb 13 11:24:38 2019 -0800 - - Merge branch 'master' into cff-retain-gids - -commit 1e1d0e63df405730ed542ae1d729928623addf08 -Author: Ebrahim Byagowi -Date: Wed Feb 13 12:58:01 2019 +0330 - - Fix djgpp complains by tweaking templates (#1579) - - For some reasons djgpp doesn't understand "unsigned int" can be same - with one of uint*_t anyway so lets do that for it explicitly. - - Just to note, our CI's djgpp is based GCC 7.2.0 and isn't old. - - src/hb-ot-layout.hh | 4 ++-- - src/hb-ot-shape-complex-arabic.cc | 6 +++--- - 2 files changed, 5 insertions(+), 5 deletions(-) - -commit c3a3536c9a00a989ebd83d52e67d06525ed669bc -Merge: bc33c617b 85a6d3121 -Author: Michiharu Ariza -Date: Tue Feb 12 15:10:59 2019 -0800 - - Merge branch 'cff-retain-gids' of https://github.com/harfbuzz/harfbuzz into cff-retain-gids - -commit bc33c617b85988f4d81312e62a75f92601852c76 -Merge: c6af84617 fdfa3d29b -Author: Michiharu Ariza -Date: Tue Feb 12 15:10:50 2019 -0800 - - Merge branch 'master' into cff-retain-gids - -commit c6af846178bba10af318bcea1e9ac5165ec2aea6 -Author: Michiharu Ariza -Date: Tue Feb 12 15:10:43 2019 -0800 - - tweaked --desubroutinize to remove hintmask only subrs - - src/hb-subset-cff-common.hh | 26 ++++++++++++++++++++++++-- - 1 file changed, 24 insertions(+), 2 deletions(-) - -commit 85a6d3121a26c9bcbec60d37b64643ff8dc97a0a -Merge: d9ded0699 fdfa3d29b -Author: Michiharu Ariza -Date: Mon Feb 11 14:25:21 2019 -0800 - - Merge branch 'master' into cff-retain-gids - -commit c83412e4cec10f6f6f6ac38f202b3ce373da5daf -Merge: 1239b6b2b fdfa3d29b -Author: Michiharu Ariza -Date: Mon Feb 11 14:16:25 2019 -0800 - - Merge branch 'master' into cff-more-arrayof-fixes - -commit fdfa3d29b7c347b5038f4f9148428c80dde462ae -Author: Ken <21211439+kencu@users.noreply.github.com> -Date: Sun Feb 10 23:46:05 2019 -0800 - - hb-coretext.cc: remove TARGET_OS_MAC from test (#1578) - - it is always true when building on APPLE systems - and this file only builds on APPLE systems - - src/hb-coretext.cc | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -commit f55e7bf5835c59e478d6a448327d53027c4e9f4a -Author: Ebrahim Byagowi -Date: Sun Feb 10 01:08:05 2019 +0330 - - [ci] Install 'base-devel' on ArchLinux CI bot - - .circleci/config.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 8f4eb919bd0498e997852aa39656adc4c65b3f0e -Author: Ebrahim Byagowi -Date: Sat Feb 9 16:58:02 2019 +0330 - - [ci] Install 'which' in ArchLinux bot - - .circleci/config.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 02294349618037f59b32834b49880ca75ed96261 -Author: Ebrahim Byagowi -Date: Sat Feb 9 16:33:28 2019 +0330 - - [ci] Speculative fix for Alpine and ArchLinux bots - - .circleci/config.yml | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit d9ded069926bf46a5d8e5edbf5201c98044db78e -Merge: a5e933eba 84694af72 -Author: Michiharu Ariza -Date: Fri Feb 8 14:44:20 2019 -0800 - - Merge branch 'master' into cff-retain-gids - -commit a5e933eba08ff50ac3beb1055ae952ccc26d0af7 -Author: Michiharu Ariza -Date: Fri Feb 8 14:44:13 2019 -0800 - - Updated expected/cff-japanese fonts with retained FDs - - ...gular.default.3042,3044,3046,3048,304A,304B.otf | Bin 6324 -> 6356 bytes - ...gular.default.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 6568 -> 6564 bytes - .../SourceHanSans-Regular.default.61,63,65,6B.otf | Bin 5500 -> 5532 bytes - ...gular.default.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 6780 -> 6780 bytes - .../SourceHanSans-Regular.default.660E.otf | Bin 5248 -> 5248 bytes - ...e-retain-gids.3042,3044,3046,3048,304A,304B.otf | Bin 536352 -> 537992 bytes - ...e-retain-gids.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 690752 -> 692312 bytes - ...ular.desubroutinize-retain-gids.61,63,65,6B.otf | Bin 530004 -> 531624 bytes - ...e-retain-gids.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 690868 -> 692496 bytes - ...ans-Regular.desubroutinize-retain-gids.660E.otf | Bin 612212 -> 613836 bytes - ...esubroutinize.3042,3044,3046,3048,304A,304B.otf | Bin 6248 -> 6272 bytes - ...esubroutinize.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 6432 -> 6456 bytes - ...eHanSans-Regular.desubroutinize.61,63,65,6B.otf | Bin 5428 -> 5460 bytes - ...esubroutinize.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 6552 -> 6572 bytes - .../SourceHanSans-Regular.desubroutinize.660E.otf | Bin 5196 -> 5224 bytes - ...e-retain-gids.3042,3044,3046,3048,304A,304B.otf | Bin 536176 -> 537424 bytes - ...e-retain-gids.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 690500 -> 691692 bytes - ...ints-desubroutinize-retain-gids.61,63,65,6B.otf | Bin 529888 -> 531124 bytes - ...e-retain-gids.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 690564 -> 691808 bytes - ....drop-hints-desubroutinize-retain-gids.660E.otf | Bin 612108 -> 613348 bytes - ...s-retain-gids.3042,3044,3046,3048,304A,304B.otf | Bin 536244 -> 537492 bytes - ...s-retain-gids.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 690596 -> 691788 bytes - ...-Regular.drop-hints-retain-gids.61,63,65,6B.otf | Bin 529928 -> 531164 bytes - ...-Regular.drop-hints-retain-gids.61,63,65,6B.ttx | 393879 ++++++++++++++++++ - ...s-retain-gids.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 690768 -> 692008 bytes - ...HanSans-Regular.drop-hints-retain-gids.660E.otf | Bin 612128 -> 613368 bytes - ...ar.drop-hints.3042,3044,3046,3048,304A,304B.otf | Bin 6132 -> 6164 bytes - ...ar.drop-hints.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 6304 -> 6300 bytes - ...ourceHanSans-Regular.drop-hints.61,63,65,6B.otf | Bin 5344 -> 5376 bytes - ...ar.drop-hints.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 6472 -> 6472 bytes - .../SourceHanSans-Regular.drop-hints.660E.otf | Bin 5140 -> 5140 bytes - ...r.retain-gids.3042,3044,3046,3048,304A,304B.otf | Bin 536436 -> 538076 bytes - ...r.retain-gids.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 690860 -> 692420 bytes - ...urceHanSans-Regular.retain-gids.61,63,65,6B.otf | Bin 530084 -> 531704 bytes - ...r.retain-gids.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 691076 -> 692700 bytes - .../SourceHanSans-Regular.retain-gids.660E.otf | Bin 612236 -> 613860 bytes - 36 files changed, 393879 insertions(+) - -commit 84694af723bde07cf3231ed2d2e193123f5f73ed -Author: Ebrahim Byagowi -Date: Fri Feb 8 15:30:17 2019 +0330 - - [ci] Disable the just added bot - - Doesn't play well with CircleCI apparently - - https://circleci.com/gh/harfbuzz/harfbuzz/74289 - - .circleci/config.yml | 19 ++++++++++--------- - 1 file changed, 10 insertions(+), 9 deletions(-) - -commit 81ae4974e35aa8ca408abd6238eb768f5c948287 -Author: Ebrahim Byagowi -Date: Fri Feb 8 15:18:26 2019 +0330 - - [ci] Add a Void Linux bot - - https://voidlinux.org/ is yet another and different distro written from scratch, thus completely eligible to have a bot here! - - Seriously however not that useful yet however but I will try to overload it other tasks later, like our other bots. - - No test yet also, couldn't install cairo-devel, will try to fix that later. - - Their harfbuzz package source: https://github.com/void-linux/void-packages/blob/master/srcpkgs/harfbuzz/template - - .circleci/config.yml | 11 ++++++++++- - 1 file changed, 10 insertions(+), 1 deletion(-) - -commit e2856c2d85eb0f6ce0c780d1889dc9bb05cdc433 -Author: Michiharu Ariza -Date: Thu Feb 7 15:32:32 2019 -0800 - - retain FDSelect & FDArray with --retain-gids - - so in sync with fonttools behavior - - src/hb-subset-cff-common.cc | 12 ++++-------- - .../SourceHanSans-Regular.41,4C2E.retaingids.otf | Bin 2604 -> 2736 bytes - 2 files changed, 4 insertions(+), 8 deletions(-) - -commit 1239b6b2b4430658aea78216a1dcc885724a7ab4 -Merge: 9f80eb017 126abca98 -Author: Michiharu Ariza -Date: Thu Feb 7 10:29:40 2019 -0800 - - Merge branch 'master' into cff-more-arrayof-fixes - -commit a5fa76977b5bdf3bd40ede3cdd0da9c5546557a6 -Merge: 214d0b024 126abca98 -Author: Michiharu Ariza -Date: Thu Feb 7 10:28:13 2019 -0800 - - Merge branch 'master' into cff-retain-gids - -commit 214d0b024b49edd51974ff2c051535ae06de0709 -Author: Michiharu Ariza -Date: Thu Feb 7 10:27:43 2019 -0800 - - minor change - - src/hb-subset-cff-common.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 126abca98a954f7ec3374d0593fee25f78dc10f3 -Merge: 1e0628210 7859decdd -Author: Behdad Esfahbod -Date: Wed Feb 6 13:36:52 2019 -0800 - - Merge pull request #1571 from kencu/cleanostests - - hb-coretext.cc: clean up macosx test - -commit 7859decdd02f65dfb3da07bd95742b14b4697638 -Author: Ken Cunningham -Date: Tue Feb 5 20:26:49 2019 -0800 - - hb-coretext.cc: clean up macosx test - - TARGET_OS_OSX was introduced only in late OS versions - so always returns as "0" on older systems. - - if !TARGET_OS_IPHONE can work, as it returns as !0 on older - systems where TARGET_OS_IPHONE is not defined, but is not - specific - - if TARGET_OS_MAC && !(defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE) - is both specific and accurate on all systems. - - src/hb-coretext.cc | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -commit 9328354a83252a8d8d74fe424ab3894d398b0bd0 -Author: Michiharu Ariza -Date: Mon Feb 4 11:28:15 2019 -0800 - - separate CFF from TrueType in full font tests - - ...eSansPro-Regular.default.1FC,21,41,20,62,63.otf | Bin - .../SourceSansPro-Regular.default.61,62,63.otf | Bin - ...ourceSansPro-Regular.default.D7,D8,D9,DA,DE.otf | Bin - ...subroutinize-retain-gids.1FC,21,41,20,62,63.otf | Bin - ...Regular.desubroutinize-retain-gids.61,62,63.otf | Bin - ...r.desubroutinize-retain-gids.D7,D8,D9,DA,DE.otf | Bin - ...o-Regular.desubroutinize.1FC,21,41,20,62,63.otf | Bin - ...urceSansPro-Regular.desubroutinize.61,62,63.otf | Bin - ...nsPro-Regular.desubroutinize.D7,D8,D9,DA,DE.otf | Bin - ...subroutinize-retain-gids.1FC,21,41,20,62,63.otf | Bin - ...p-hints-desubroutinize-retain-gids.61,62,63.otf | Bin - ...s-desubroutinize-retain-gids.D7,D8,D9,DA,DE.otf | Bin - ...rop-hints-desubroutinize.1FC,21,41,20,62,63.otf | Bin - ...-Regular.drop-hints-desubroutinize.61,62,63.otf | Bin - ...ar.drop-hints-desubroutinize.D7,D8,D9,DA,DE.otf | Bin - ...r.drop-hints-retain-gids.1FC,21,41,20,62,63.otf | Bin - ...Pro-Regular.drop-hints-retain-gids.61,62,63.otf | Bin - ...gular.drop-hints-retain-gids.D7,D8,D9,DA,DE.otf | Bin - ...nsPro-Regular.drop-hints.1FC,21,41,20,62,63.otf | Bin - .../SourceSansPro-Regular.drop-hints.61,62,63.otf | Bin - ...ceSansPro-Regular.drop-hints.D7,D8,D9,DA,DE.otf | Bin - ...sPro-Regular.retain-gids.1FC,21,41,20,62,63.otf | Bin - .../SourceSansPro-Regular.retain-gids.61,62,63.otf | Bin - ...eSansPro-Regular.retain-gids.D7,D8,D9,DA,DE.otf | Bin - ...gular.default.3042,3044,3046,3048,304A,304B.otf | Bin - ...gular.default.3042,3044,3046,73E0,5EA6,8F38.otf | Bin - .../SourceHanSans-Regular.default.61,63,65,6B.otf | Bin - ...gular.default.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin - .../SourceHanSans-Regular.default.660E.otf | Bin - ...e-retain-gids.3042,3044,3046,3048,304A,304B.otf | Bin - ...e-retain-gids.3042,3044,3046,73E0,5EA6,8F38.otf | Bin - ...ular.desubroutinize-retain-gids.61,63,65,6B.otf | Bin - ...e-retain-gids.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin - ...ans-Regular.desubroutinize-retain-gids.660E.otf | Bin - ...esubroutinize.3042,3044,3046,3048,304A,304B.otf | Bin - ...esubroutinize.3042,3044,3046,73E0,5EA6,8F38.otf | Bin - ...eHanSans-Regular.desubroutinize.61,63,65,6B.otf | Bin - ...esubroutinize.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin - .../SourceHanSans-Regular.desubroutinize.660E.otf | Bin - ...e-retain-gids.3042,3044,3046,3048,304A,304B.otf | Bin - ...e-retain-gids.3042,3044,3046,73E0,5EA6,8F38.otf | Bin - ...ints-desubroutinize-retain-gids.61,63,65,6B.otf | Bin - ...e-retain-gids.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin - ....drop-hints-desubroutinize-retain-gids.660E.otf | Bin - ...esubroutinize.3042,3044,3046,3048,304A,304B.otf | Bin - ...esubroutinize.3042,3044,3046,73E0,5EA6,8F38.otf | Bin - ...gular.drop-hints-desubroutinize.61,63,65,6B.otf | Bin - ...esubroutinize.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin - ...Sans-Regular.drop-hints-desubroutinize.660E.otf | Bin - ...s-retain-gids.3042,3044,3046,3048,304A,304B.otf | Bin - ...s-retain-gids.3042,3044,3046,73E0,5EA6,8F38.otf | Bin - ...-Regular.drop-hints-retain-gids.61,63,65,6B.otf | Bin - ...s-retain-gids.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin - ...HanSans-Regular.drop-hints-retain-gids.660E.otf | Bin - ...ar.drop-hints.3042,3044,3046,3048,304A,304B.otf | Bin - ...ar.drop-hints.3042,3044,3046,73E0,5EA6,8F38.otf | Bin - ...ourceHanSans-Regular.drop-hints.61,63,65,6B.otf | Bin - ...ar.drop-hints.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin - .../SourceHanSans-Regular.drop-hints.660E.otf | Bin - ...r.retain-gids.3042,3044,3046,3048,304A,304B.otf | Bin - ...r.retain-gids.3042,3044,3046,73E0,5EA6,8F38.otf | Bin - ...urceHanSans-Regular.retain-gids.61,63,65,6B.otf | Bin - ...r.retain-gids.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin - .../SourceHanSans-Regular.retain-gids.660E.otf | Bin - test/subset/data/tests/cff-full-font.tests | 18 +++++++++++++++++ - test/subset/data/tests/cff-japanese.tests | 22 +++++++++++++++++++++ - test/subset/data/tests/full-font.tests | 7 ------- - test/subset/data/tests/japanese.tests | 7 ------- - test/subset/subset_test_suite.py | 7 +------ - 69 files changed, 41 insertions(+), 20 deletions(-) - -commit ec30a8a9acf7be9918a8a6bff41696127090173f -Author: Michiharu Ariza -Date: Fri Feb 1 15:58:03 2019 -0800 - - removed unused test data - - ...ts.desubroutinize-retain-gids.1FC,21,41,20,62,63.otf | Bin 15456 -> 0 bytes - ...r.drop-hints.desubroutinize-retain-gids.61,62,63.otf | Bin 13036 -> 0 bytes - ...-hints.desubroutinize-retain-gids.D7,D8,D9,DA,DE.otf | Bin 16656 -> 0 bytes - ...nsPro-Regular.drop-hints.desubroutinize.61,62,63.otf | Bin 3276 -> 0 bytes - ...-hints.desubroutinize.retain-gids.D7,D8,D9,DA,DE.otf | Bin 34560 -> 0 bytes - ...ro-Regular.drop-hints.retain-gids.D7,D8,D9,DA,DE.otf | Bin 34576 -> 0 bytes - 6 files changed, 0 insertions(+), 0 deletions(-) - -commit 30b781f20a8e386732f8e2858a22665d7af98061 -Merge: c12862657 1e0628210 -Author: Michiharu Ariza -Date: Fri Feb 1 14:50:34 2019 -0800 - - Merge branch 'master' into cff-retain-gids - -commit c12862657f24b6c197e23d99a4edbdfcf3c90653 -Author: Michiharu Ariza -Date: Fri Feb 1 14:50:01 2019 -0800 - - added desubroutinize & retain-gids full test cases with CFF fonts - - and CFF retain-gids fixes - - src/hb-subset-cff1.cc | 44 +++++++++------------ - .../SourceHanSans-Regular.41,4C2E.retaingids.otf | Bin 2600 -> 2604 bytes - ...subroutinize-retain-gids.1FC,21,41,20,62,63.otf | Bin 0 -> 33516 bytes - ...Regular.desubroutinize-retain-gids.61,62,63.otf | Bin 0 -> 31080 bytes - ...r.desubroutinize-retain-gids.D7,D8,D9,DA,DE.otf | Bin 0 -> 34708 bytes - ...subroutinize-retain-gids.1FC,21,41,20,62,63.otf | Bin 0 -> 33352 bytes - ...p-hints-desubroutinize-retain-gids.61,62,63.otf | Bin 0 -> 30956 bytes - ...s-desubroutinize-retain-gids.D7,D8,D9,DA,DE.otf | Bin 0 -> 34560 bytes - ...op-hints-desubroutinize.1FC,21,41,20,62,63.otf} | Bin - ...-Regular.drop-hints-desubroutinize.61,62,63.otf | Bin 0 -> 3288 bytes - ...r.drop-hints-desubroutinize.D7,D8,D9,DA,DE.otf} | Bin - ...r.drop-hints-retain-gids.1FC,21,41,20,62,63.otf | Bin 0 -> 33448 bytes - ...Pro-Regular.drop-hints-retain-gids.61,62,63.otf | Bin 0 -> 31028 bytes - ...gular.drop-hints-retain-gids.D7,D8,D9,DA,DE.otf | Bin 0 -> 34576 bytes - ...subroutinize-retain-gids.1FC,21,41,20,62,63.otf | Bin 0 -> 15456 bytes - ...p-hints.desubroutinize-retain-gids.61,62,63.otf | Bin 0 -> 13036 bytes - ...s.desubroutinize-retain-gids.D7,D8,D9,DA,DE.otf | Bin 0 -> 16656 bytes - ...s.desubroutinize.retain-gids.D7,D8,D9,DA,DE.otf | Bin 0 -> 34560 bytes - ...gular.drop-hints.retain-gids.D7,D8,D9,DA,DE.otf | Bin 0 -> 34576 bytes - ...sPro-Regular.retain-gids.1FC,21,41,20,62,63.otf | Bin 0 -> 33668 bytes - .../SourceSansPro-Regular.retain-gids.61,62,63.otf | Bin 0 -> 31180 bytes - ...eSansPro-Regular.retain-gids.D7,D8,D9,DA,DE.otf | Bin 0 -> 34724 bytes - ...e-retain-gids.3042,3044,3046,3048,304A,304B.otf | Bin 0 -> 536352 bytes - ...e-retain-gids.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 0 -> 690752 bytes - ...ular.desubroutinize-retain-gids.61,63,65,6B.otf | Bin 0 -> 530004 bytes - ...e-retain-gids.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 0 -> 690868 bytes - ...ans-Regular.desubroutinize-retain-gids.660E.otf | Bin 0 -> 612212 bytes - .../SourceHanSans-Regular.desubroutinize..otf | Bin 2340 -> 0 bytes - ...e-retain-gids.3042,3044,3046,3048,304A,304B.otf | Bin 0 -> 536176 bytes - ...e-retain-gids.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 0 -> 690500 bytes - ...ints-desubroutinize-retain-gids.61,63,65,6B.otf | Bin 0 -> 529888 bytes - ...e-retain-gids.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 0 -> 690564 bytes - ....drop-hints-desubroutinize-retain-gids.660E.otf | Bin 0 -> 612108 bytes - ...subroutinize.3042,3044,3046,3048,304A,304B.otf} | Bin 6076 -> 6096 bytes - ...subroutinize.3042,3044,3046,73E0,5EA6,8F38.otf} | Bin 6180 -> 6204 bytes - ...ular.drop-hints-desubroutinize.61,63,65,6B.otf} | Bin 5312 -> 5344 bytes - ...subroutinize.660E,6975,73E0,5EA6,8F38,6E05.otf} | Bin 6248 -> 6268 bytes - ...ans-Regular.drop-hints-desubroutinize.660E.otf} | Bin 5140 -> 5120 bytes - ...s-retain-gids.3042,3044,3046,3048,304A,304B.otf | Bin 0 -> 536244 bytes - ...s-retain-gids.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 0 -> 690596 bytes - ...-Regular.drop-hints-retain-gids.61,63,65,6B.otf | Bin 0 -> 529928 bytes - ...s-retain-gids.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 0 -> 690768 bytes - ...HanSans-Regular.drop-hints-retain-gids.660E.otf | Bin 0 -> 612128 bytes - ...eHanSans-Regular.drop-hints.desubroutinize..otf | Bin 2188 -> 0 bytes - ...r.retain-gids.3042,3044,3046,3048,304A,304B.otf | Bin 0 -> 536436 bytes - ...r.retain-gids.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 0 -> 690860 bytes - ...urceHanSans-Regular.retain-gids.61,63,65,6B.otf | Bin 0 -> 530084 bytes - ...r.retain-gids.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 0 -> 691076 bytes - .../SourceHanSans-Regular.retain-gids.660E.otf | Bin 0 -> 612236 bytes - .../data/profiles/desubroutinize-retain-gids.txt | 2 + - .../drop-hints-desubroutinize-retain-gids.txt | 3 ++ - test/subset/data/tests/full-font.tests | 6 +++ - test/subset/data/tests/japanese.tests | 6 +++ - test/subset/subset_test_suite.py | 2 +- - 54 files changed, 36 insertions(+), 27 deletions(-) - -commit f2908b4d8f9b02ce06d3f648c3f08757797073b6 -Author: Michiharu Ariza -Date: Thu Jan 31 14:16:37 2019 -0800 - - Implement subset --regain-gids option with CFF1/2 - - along with api tests & expected results - - src/hb-subset-cff-common.cc | 17 +++- - src/hb-subset-cff-common.hh | 91 +++++++++++++-------- - src/hb-subset-cff1.cc | 89 ++++++++++++-------- - src/hb-subset-cff2.cc | 30 ++++--- - test/api/fonts/AdobeVFPrototype.ac.retaingids.otf | Bin 0 -> 7000 bytes - .../SourceHanSans-Regular.41,4C2E.retaingids.otf | Bin 0 -> 2600 bytes - .../fonts/SourceSansPro-Regular.ac.retaingids.otf | Bin 0 -> 1708 bytes - test/api/test-subset-cff1.c | 48 +++++++++++ - test/api/test-subset-cff2.c | 24 ++++++ - 9 files changed, 217 insertions(+), 82 deletions(-) - -commit 1e06282105a2d579aab32094cc7abc10ed231978 -Author: Behdad Esfahbod -Date: Thu Jan 31 13:56:58 2019 -0800 - - Adjust hb_is_signed<> - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1535 - - src/hb-dsalgs.hh | 27 +++++++++------------------ - 1 file changed, 9 insertions(+), 18 deletions(-) - -commit 21ea1c91529471c05e03b6db61df256f24fa23c1 -Author: Behdad Esfahbod -Date: Thu Jan 31 13:49:18 2019 -0800 - - Remove stale comment - - src/hb-dsalgs.hh | 5 ----- - 1 file changed, 5 deletions(-) - -commit 9f80eb0177e527253818ad9171fc75fb565318cb -Merge: b37990075 d14d2c20b -Author: Michiharu Ariza -Date: Thu Jan 31 12:54:36 2019 -0800 - - Merge branch 'master' into cff-more-arrayof-fixes - -commit 2d940946d5af0e3869a2324b6e36ca8ea3698c48 -Author: Behdad Esfahbod -Date: Wed Jan 30 16:03:16 2019 -0800 - - [iter] Fix mystery crash - - Fuzzer caught it: - - ==14==ERROR: AddressSanitizer: stack-use-after-return on address 0x7fca2ed7a3e0 at pc 0x0000006057aa bp 0x7ffc3290f1d0 sp 0x7ffc3290f1c8 - READ of size 4 at 0x7fca2ed7a3e0 thread T0 - SCARINESS: 55 (4-byte-read-stack-use-after-return) - #0 0x6057a9 in OT::SingleSubstFormat2::subset(hb_subset_context_t*) const /src/harfbuzz/src/./hb-ot-layout-gsub-table.hh:194:40 - #1 0x5ff921 in hb_subset_context_t::return_t OT::SingleSubst::dispatch(hb_subset_context_t*) const /src/harfbuzz/src/./hb-ot-layout-gsub-table.hh:256:13 - - I can't reproduce locally, but many of the bots are failing because of this - as well. - - It's a pity that operator-> must return pointer. Ugh. Why?! - - src/hb-iter.hh | 4 ++++ - src/hb-ot-layout-gsub-table.hh | 4 ++-- - 2 files changed, 6 insertions(+), 2 deletions(-) - -commit d14d2c20b05c5acf0a6f9c6dc36a7b8d8966153e -Merge: acf5f0a3a dc04261a5 -Author: Behdad Esfahbod -Date: Wed Jan 30 18:36:57 2019 -0500 - - Merge pull request #1567 from googlefonts/fuzzer - - [subset] Update the subset fuzzer to get options to use from test case. - -commit dc04261a5b8408bcfde16090ddf91568c3d8dae7 -Author: Garret Rieger -Date: Wed Jan 30 15:23:19 2019 -0800 - - [subset] Update the subset fuzzer to determine which options to use based on data in the fuzzing test case. - Add support for toggling retain_gids. - - test/fuzzing/hb-subset-fuzzer.cc | 32 +++++++++++++++++++------------- - 1 file changed, 19 insertions(+), 13 deletions(-) - -commit 2e675d49f2f705a5b5d95574a5336d5e670a0fba -Merge: ede117dc4 acf5f0a3a -Author: Behdad Esfahbod -Date: Wed Jan 30 15:10:43 2019 -0800 - - Merge branch 'master' into iter - -commit acf5f0a3aff0e128509b0979f629edf0596fcee5 -Author: Behdad Esfahbod -Date: Wed Jan 30 15:10:23 2019 -0800 - - [configure] Fix up - - configure.ac | 11 +++++------ - 1 file changed, 5 insertions(+), 6 deletions(-) - -commit ede117dc40d547cd457a420c9f7c9829cdb5f307 -Author: Behdad Esfahbod -Date: Wed Jan 30 15:10:23 2019 -0800 - - [configure] Fix up - - configure.ac | 11 +++++------ - 1 file changed, 5 insertions(+), 6 deletions(-) - -commit cbe2118c588622070612ba7ac7eae7496a092e3c -Merge: 8b46c2d93 6b834c1c7 -Author: Behdad Esfahbod -Date: Wed Jan 30 15:07:09 2019 -0800 - - Merge branch 'master' into iter - -commit 6b834c1c76b867ef32747202a755255d2f360f1e -Author: Behdad Esfahbod -Date: Wed Jan 30 15:06:22 2019 -0800 - - [configure] Print compiler version info in report - - configure.ac | 6 ++++++ - 1 file changed, 6 insertions(+) - -commit 8b46c2d933b546a88799b08f4a74fd1285518ed5 -Author: Behdad Esfahbod -Date: Wed Jan 30 15:06:22 2019 -0800 - - [configure] Print compiler version info in report - - configure.ac | 6 ++++++ - 1 file changed, 6 insertions(+) - -commit 4aa4eedfd5633ee84d37469c9625d12856dbc575 -Author: Behdad Esfahbod -Date: Wed Jan 30 15:02:29 2019 -0800 - - [ci] Switch clang-O3-O0 bot to Ubuntu image - - https://github.com/harfbuzz/harfbuzz/issues/1566 - - .circleci/config.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 7c292c0853140540f13f73d43ef7f7e0746e5f28 -Author: Behdad Esfahbod -Date: Wed Jan 30 14:54:23 2019 -0800 - - [iter] Warning fix - - Not sure why I don't get it, but this warning: - - warning: base class ‘struct hb_iter_fallback_mixin_t, const OT::UVSMapping&>’ should be explicitly initialized in the copy constructor [-Wextra] - - src/hb-iter.hh | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit a84b0145ea799c9452ecb97713689247955d30ff -Author: Behdad Esfahbod -Date: Wed Jan 30 14:42:48 2019 -0800 - - [ci] Disable -Wunused-template on -Weverything bot - - ./hb-algs.hh:37:3: error: unused function template 'operator()' [-Werror,-Wunused-template] - operator () (const T& v) const { return v; } - ^ - - .circleci/config.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit d983c529b66b530715e9c813c69e699b1d8029d3 -Merge: 55d1d7c8b e6ffcc590 -Author: Behdad Esfahbod -Date: Wed Jan 30 17:17:59 2019 -0500 - - Merge pull request #1564 from googlefonts/retain_gids - - [subset] Add --retain-gids option to the subsetter. - -commit 55d1d7c8bcd8d97c4e618e5dd21f13df50b10ce8 -Author: Behdad Esfahbod -Date: Wed Jan 30 13:54:15 2019 -0800 - - 2.3.1 - - NEWS | 7 +++++++ - configure.ac | 2 +- - src/hb-version.h | 4 ++-- - 3 files changed, 10 insertions(+), 3 deletions(-) - -commit e799004e9f6821864b955a09673544d92e8b45e6 -Author: Behdad Esfahbod -Date: Tue Jan 29 17:15:12 2019 -0800 - - [iter] Whitespace - - src/hb-iter.hh | 23 ++++++++++++++--------- - 1 file changed, 14 insertions(+), 9 deletions(-) - -commit 849a0f1758b67eb3b4d864047b9df671e76404a5 -Author: Behdad Esfahbod -Date: Tue Jan 29 17:10:19 2019 -0800 - - [iter] Add hb_iter_with_fallback_t instead - - src/hb-array.hh | 5 +---- - src/hb-iter.hh | 29 +++++++++++++---------------- - src/hb-ot-layout-common.hh | 5 +---- - src/hb-set.hh | 5 +---- - src/test-iter.cc | 5 +---- - 5 files changed, 17 insertions(+), 32 deletions(-) - -commit 4d40ed9d1a7a4f18af6710a1b8ba90257b8456a0 -Author: Behdad Esfahbod -Date: Tue Jan 29 13:55:23 2019 -0800 - - [iter] Add hb_iter_with_mixin_t<> - - src/hb-array.hh | 5 +++-- - src/hb-iter.hh | 18 ++++++++++++++++-- - src/hb-ot-layout-common.hh | 5 +++-- - src/hb-set.hh | 5 +++-- - src/test-iter.cc | 5 +++-- - 5 files changed, 28 insertions(+), 10 deletions(-) - -commit 6521d5b201cb8df5a3c2657b4da703cf52472f81 -Author: Behdad Esfahbod -Date: Tue Jan 29 13:44:39 2019 -0800 - - [iter] Export operator << / >> - - src/hb-iter.hh | 2 ++ - 1 file changed, 2 insertions(+) - -commit 84a25d79c649776a299526c087bf369a9705f89e -Author: Behdad Esfahbod -Date: Tue Jan 29 13:39:19 2019 -0800 - - [iter] Rename - - src/hb-array.hh | 2 +- - src/hb-iter.hh | 12 ++++++------ - src/hb-ot-layout-common.hh | 2 +- - src/hb-set.hh | 2 +- - src/test-iter.cc | 2 +- - 5 files changed, 10 insertions(+), 10 deletions(-) - -commit e6ffcc5904ab88143cad0c7a7a4c990147af278b -Author: Garret Rieger -Date: Mon Jan 28 18:12:19 2019 -0800 - - [subset] Add expected files for retain-gids integration tests. - - ...oboto-Regular.abc.drop-hints-retain-gids.61,62,63.ttf | Bin 0 -> 924 bytes - .../Roboto-Regular.abc.drop-hints-retain-gids.61,63.ttf | Bin 0 -> 856 bytes - .../Roboto-Regular.abc.drop-hints-retain-gids.61.ttf | Bin 0 -> 744 bytes - .../Roboto-Regular.abc.drop-hints-retain-gids.62.ttf | Bin 0 -> 712 bytes - .../Roboto-Regular.abc.drop-hints-retain-gids.63.ttf | Bin 0 -> 716 bytes - .../basics/Roboto-Regular.abc.retain-gids.61,62,63.ttf | Bin 0 -> 2168 bytes - .../basics/Roboto-Regular.abc.retain-gids.61,63.ttf | Bin 0 -> 1996 bytes - .../basics/Roboto-Regular.abc.retain-gids.61.ttf | Bin 0 -> 1808 bytes - .../basics/Roboto-Regular.abc.retain-gids.62.ttf | Bin 0 -> 1756 bytes - .../basics/Roboto-Regular.abc.retain-gids.63.ttf | Bin 0 -> 1732 bytes - test/subset/data/profiles/retain-gids.txt | 1 - - 11 files changed, 1 deletion(-) - -commit 198859bb3702e45cb271dd51b7231f10d01576be -Author: Garret Rieger -Date: Mon Jan 28 18:10:56 2019 -0800 - - [subset] For retain gids don't truncate glyphs past the highest requested subset glyph. - - src/hb-subset-plan.cc | 8 +++++--- - 1 file changed, 5 insertions(+), 3 deletions(-) - -commit 490d52f908aaa4722e71a4a682de20e94d89ad00 -Author: Garret Rieger -Date: Mon Jan 28 17:43:42 2019 -0800 - - [subset] Add retain-gids option to hb-subset executable. - - util/hb-subset.cc | 1 + - util/options.cc | 1 + - util/options.hh | 2 ++ - 3 files changed, 4 insertions(+) - -commit a903f9c228d1f3e8065f89de16e50027d6018e58 -Author: Garret Rieger -Date: Mon Jan 28 17:43:11 2019 -0800 - - [subset] Add some subsetting integration tests covering retain gids. - - test/subset/data/profiles/drop-hints-retain-gids.txt | 2 ++ - test/subset/data/profiles/retain-gids.txt | 2 ++ - test/subset/data/tests/basics.tests | 2 ++ - 3 files changed, 6 insertions(+) - -commit 05e99c86baa0e95c2bff1c87d601eaf022c9d1f8 -Author: Garret Rieger -Date: Mon Jan 28 17:05:04 2019 -0800 - - [subset] A few small fixes for the new subset plan api. - - src/hb-ot-hdmx-table.hh | 6 +++--- - src/hb-ot-hmtx-table.hh | 9 +++------ - src/hb-subset.cc | 2 +- - 3 files changed, 7 insertions(+), 10 deletions(-) - -commit bdbe047d6ce3d8873c6740500d38d1b0c4e851f8 -Author: Garret Rieger -Date: Mon Jan 28 16:59:15 2019 -0800 - - [subset] Update hb-subset-plan.cc to match hb-subset-plan.hh. - - src/hb-subset-plan.cc | 20 ++++++++++---------- - src/hb-subset-plan.hh | 1 - - 2 files changed, 10 insertions(+), 11 deletions(-) - -commit 74c44ffebafe7758937d82524758be8bb4ecc4e2 -Author: Garret Rieger -Date: Mon Jan 28 16:53:01 2019 -0800 - - [subset] Update hb-subset-glyf.cc to use new hb-subset-plan API. - - src/hb-subset-glyf.cc | 57 ++++++++++++++++++++------------------------------- - 1 file changed, 22 insertions(+), 35 deletions(-) - -commit 4842294b861b9fe322c811abef0ebb0553be2bf0 -Author: Garret Rieger -Date: Mon Jan 28 16:51:27 2019 -0800 - - [subset] Update gsub to use glyphset() method of subset plan. - - src/hb-ot-layout-gsub-table.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 853b1f1aa5489b8439c41c30be77ed042c8c89e5 -Author: Garret Rieger -Date: Mon Jan 28 16:50:56 2019 -0800 - - [subset] Correct maxp num glyph's to use new subset plan method. - - src/hb-ot-maxp-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 846e05a298bc088f2cd2fe53b75ca531916a56f8 -Author: Garret Rieger -Date: Mon Jan 28 16:50:20 2019 -0800 - - [subset] Re-add glyphs array to subset plan, with new name 'glyphs_deprecated'. Switch CFF subsetting to use it. - - src/hb-subset-cff1.cc | 36 ++++++++++++++++++------------------ - src/hb-subset-cff2.cc | 12 ++++++------ - src/hb-subset-plan.hh | 3 +++ - 3 files changed, 27 insertions(+), 24 deletions(-) - -commit 03e88eab5c0f8775ccffc0925532748140d93470 -Author: Garret Rieger -Date: Mon Jan 28 16:15:06 2019 -0800 - - Re-implement HMTX/VMTX subsetting. Update it to support glyph renumbering and simplify the implementation. - - src/hb-ot-hmtx-table.hh | 99 +++++++++++++++++++++++++------------------------ - src/hb-subset-plan.cc | 2 +- - src/hb-subset-plan.hh | 2 +- - 3 files changed, 53 insertions(+), 50 deletions(-) - -commit 925be2922348336335a96d84e606d4bdd9a11110 -Author: Garret Rieger -Date: Fri Jan 25 18:04:41 2019 -0800 - - Update hb-ot-vorg-table and hb-ot-layout-common to use the updated subset plan api. - - src/hb-ot-layout-common.hh | 4 ++-- - src/hb-ot-vorg-table.hh | 30 +++++++++++++++++++----------- - 2 files changed, 21 insertions(+), 13 deletions(-) - -commit 4af3be6ef8654ae05b331941e6e690ac197fd144 -Author: Garret Rieger -Date: Fri Jan 25 18:03:47 2019 -0800 - - Remove glyph array from subset plan, make num_glyphs and glyphset private. - - src/hb-subset-plan.hh | 51 +++++++++++++++++++++++++++++++++++++++++---------- - 1 file changed, 41 insertions(+), 10 deletions(-) - -commit 23f364429dc9350ee06146bdf0ff73d7035e1d71 -Author: Garret Rieger -Date: Fri Jan 18 18:33:21 2019 -0800 - - [subset] Fix hdmx subsetting when retain gids is enabled. - - src/hb-ot-hdmx-table.hh | 19 +++++++++++-------- - src/hb-subset-plan.cc | 10 ++++++++++ - src/hb-subset-plan.hh | 16 +++++++++++++++- - 3 files changed, 36 insertions(+), 9 deletions(-) - -commit 2da1654aefbe4f8e5f1320f1c061adbf90963951 -Author: Garret Rieger -Date: Fri Jan 18 17:49:35 2019 -0800 - - [subset] Compute num_glyphs during subset plan construction. - Update maxp to use the correct num glyphs. - - src/hb-ot-maxp-table.hh | 2 +- - src/hb-subset-glyf.cc | 6 +----- - src/hb-subset-plan.cc | 16 +++++++++++++--- - src/hb-subset-plan.hh | 1 + - 4 files changed, 16 insertions(+), 9 deletions(-) - -commit ccc59dc6121e98ed8d610350b43218e540f61f25 -Author: Garret Rieger -Date: Fri Jan 18 17:36:32 2019 -0800 - - [subset] Add unit test for glyf subsetting and retain gids. - - test/api/fonts/Roboto-Regular.ac.retaingids.ttf | Bin 0 -> 2284 bytes - test/api/test-subset-glyf.c | 26 ++++++++++++++++++++++++ - 2 files changed, 26 insertions(+) - -commit 96b038f375bcfcfdf76c75200ca02758ea7a4ff6 -Author: Garret Rieger -Date: Fri Jan 18 16:41:08 2019 -0800 - - [subset] fix failure to init instruction ranges values for an invalid glyph. - - src/hb-subset-glyf.cc | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 4b1ac3a2fa0a5842b5d45d287fe33e5050ffda3f -Author: Garret Rieger -Date: Fri Jan 18 15:11:26 2019 -0800 - - [subset] Do some refactoring in hb-subset-glyf.cc. - - Extract code out into helper methods in several places. - - Bundle loca address, size and is short into a struct. - - src/hb-subset-glyf.cc | 264 ++++++++++++++++++++++++++++---------------------- - 1 file changed, 148 insertions(+), 116 deletions(-) - -commit b7f971884ed838636be85de216bf60ca4a28ccb9 -Author: Garret Rieger -Date: Thu Jan 17 18:55:56 2019 -0800 - - Add retain_gids option to subset input. Update glyf and loca handling to respect retain_gids. - - src/hb-subset-glyf.cc | 39 ++++++++++++++++++++++++++++++--------- - src/hb-subset-input.cc | 27 +++++++++++++++++++++++++++ - src/hb-subset-input.hh | 1 + - src/hb-subset-plan.cc | 14 ++++++++++---- - src/hb-subset.h | 6 ++++++ - 5 files changed, 74 insertions(+), 13 deletions(-) - -commit b3799007554f2909170df941b07c72f7dc02dfcd -Merge: c68564438 fe5329231 -Author: Michiharu Ariza -Date: Tue Jan 29 12:19:57 2019 -0800 - - Merge branch 'master' into cff-more-arrayof-fixes - -commit e75b22039f4129b5057f4b175c9e9d79634b1728 -Author: Behdad Esfahbod -Date: Mon Jan 28 21:26:23 2019 -0500 - - Move hb_addressof() to hb-meta.hh - - src/hb-algs.hh | 12 ------------ - src/hb-iter.hh | 1 - - src/hb-meta.hh | 14 +++++++++++++- - src/hb.hh | 2 +- - 4 files changed, 14 insertions(+), 15 deletions(-) - -commit 6cf25c2971aa9a7471b1cc00176ef36e9acacad4 -Merge: 71157a452 fe5329231 -Author: Behdad Esfahbod -Date: Mon Jan 28 21:23:28 2019 -0500 - - Merge branch 'master' into iter - -commit 71157a4520ae5cdbbeb197a979ae02b484856686 -Author: Behdad Esfahbod -Date: Mon Jan 28 21:20:12 2019 -0500 - - [meta] Remove _ft struct names - - Using decltype() instead. - - src/hb-algs.hh | 8 ++++---- - src/hb-iter.hh | 2 +- - 2 files changed, 5 insertions(+), 5 deletions(-) - -commit 9103bd056fadd73eab2531f632790920ce602f18 -Author: Behdad Esfahbod -Date: Mon Jan 28 21:16:51 2019 -0500 - - [pair] Use decltype - - src/hb-algs.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit fe532923101586e316b300d419a337d357cd93da -Author: Behdad Esfahbod -Date: Mon Jan 28 20:47:58 2019 -0500 - - [CI] Peg CircleCI badge link to master branch - - [skip ci] - - README.md | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 9569819e24f72926a5b26e4c8a86d815c0132745 -Author: Behdad Esfahbod -Date: Mon Jan 28 20:43:43 2019 -0500 - - [ci] Peg build status badges to master branch - - [skip ci] - - README.md | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 1e29906a77c275c34a440a416654a514810485e1 -Author: Behdad Esfahbod -Date: Mon Jan 28 20:38:15 2019 -0500 - - Switch README / README.md - - [skip ci] - - README | 19 +------------------ - README.md | 19 ++++++++++++++++++- - 2 files changed, 19 insertions(+), 19 deletions(-) - -commit a30e13469e6d3ec6ff412211722d26f70a97e261 -Author: Behdad Esfahbod -Date: Mon Jan 28 16:39:01 2019 -0500 - - [iter] Add operator << to set / vector - - src/hb-set.hh | 3 +++ - src/hb-vector.hh | 3 +++ - 2 files changed, 6 insertions(+) - -commit d438e610420d931a203b31332cf74d7e0f9dd3f7 -Author: Behdad Esfahbod -Date: Mon Jan 28 16:34:04 2019 -0500 - - [iter] Fix operator() impls - - src/hb-map.hh | 5 +++-- - src/hb-ot-layout-common.hh | 8 +++++--- - src/hb-set.hh | 3 ++- - 3 files changed, 10 insertions(+), 6 deletions(-) - -commit 57795bc8dd6a9ee894c2abb8633c271876b5f596 -Author: Behdad Esfahbod -Date: Mon Jan 28 16:23:12 2019 -0500 - - [iter] Add operator>> and operator<< - - src/hb-iter.hh | 4 ++++ - src/test-iter.cc | 4 ++++ - 2 files changed, 8 insertions(+) - -commit 8bd96be9940ca73e45138172f9f4178190566225 -Author: Behdad Esfahbod -Date: Mon Jan 28 16:17:36 2019 -0500 - - [iter] Use auto c = C.iter() internally - - src/hb-iter.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 073fa4ac5aff4ee72bbb38676bd351b5aa1ec167 -Merge: d592bd16c 9a1df82e3 -Author: Behdad Esfahbod -Date: Mon Jan 28 14:35:41 2019 -0500 - - Merge branch 'master' into iter - -commit 9a1df82e3f13fbd4488ee9955814bbb5d0957074 -Author: Behdad Esfahbod -Date: Mon Jan 28 14:15:18 2019 -0500 - - [uniscribe] Whitelist function type cast - - src/hb-uniscribe.cc | 3 +++ - 1 file changed, 3 insertions(+) - -commit 6e1c3eaf7005d06c89f0807f693aadd835aa0468 -Author: Behdad Esfahbod -Date: Mon Jan 28 14:12:41 2019 -0500 - - Fix sign comparison error - - src/hb-open-file.hh | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 9db7a7da6339eacbb6c699fa1939bbd7e9e148f5 -Author: Behdad Esfahbod -Date: Mon Jan 28 14:09:59 2019 -0500 - - Fix warning - - c:\projects\harfbuzz\src\hb-ot-color-cbdt-table.hh(59): warning C4146: unary minus operator applied to unsigned type, result still unsigned [C:\projects\harfbuzz\build\harfbuzz.vcxproj] - - src/hb-ot-color-cbdt-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 51b584880e550545ced3aa8ba4ccad3cf79bb53e -Author: Behdad Esfahbod -Date: Mon Jan 28 14:09:45 2019 -0500 - - [pragma] Silence MSVC unknown-pragma warning - - src/hb.hh | 3 +++ - 1 file changed, 3 insertions(+) - -commit d592bd16cd6c5ad1ee351d90d213ee2a1ea71b05 -Author: Behdad Esfahbod -Date: Mon Jan 28 13:41:40 2019 -0500 - - Try fixing MSVC build - - src/hb-algs.hh | 16 ++++++++-------- - 1 file changed, 8 insertions(+), 8 deletions(-) - -commit 0363ce650b6085f62e66aff4639aa203fa17d419 -Author: Behdad Esfahbod -Date: Sun Jan 27 01:03:56 2019 +0100 - - [iter] Accept C arrays in hb_iter() - - src/hb-array.hh | 4 +--- - src/hb-iter.hh | 11 +++++++++++ - src/test-iter.cc | 5 ++++- - 3 files changed, 16 insertions(+), 4 deletions(-) - -commit b62e7f9223a6369768bde2500efe1bd1d27a0ea2 -Author: Behdad Esfahbod -Date: Sun Jan 27 00:51:43 2019 +0100 - - [test] Test unary operator+ - - "Test" as in compiles.. - - src/test-iter.cc | 4 ++++ - 1 file changed, 4 insertions(+) - -commit 778c96b8d7b86ae2a0fe944f499fa4a57c12e365 -Author: Behdad Esfahbod -Date: Sun Jan 27 00:50:54 2019 +0100 - - [iter] Fix hb_iter() - - src/hb-algs.hh | 4 ---- - src/hb-iter.hh | 10 +++++++--- - src/test-iter.cc | 2 +- - 3 files changed, 8 insertions(+), 8 deletions(-) - -commit 2f5b1a9104e5f4a14aa77a2f4c3c6e1c2837500c -Author: Behdad Esfahbod -Date: Sun Jan 27 00:49:37 2019 +0100 - - [iter] Add unary operator+ that returns a copy - - src/hb-iter.hh | 1 + - src/test-iter.cc | 2 +- - 2 files changed, 2 insertions(+), 1 deletion(-) - -commit fbab07f9b3dac90ce2136506f72879335193fc02 -Author: Behdad Esfahbod -Date: Sun Jan 27 00:44:45 2019 +0100 - - [iter] Add hb_bool() and make hb_filter default to it for predicate - - src/hb-algs.hh | 6 ++++++ - src/hb-iter.hh | 4 ++-- - src/test-iter.cc | 10 +++++++++- - 3 files changed, 17 insertions(+), 3 deletions(-) - -commit 313d63e240736bfe7c312133fe8c09ccff428d52 -Author: Behdad Esfahbod -Date: Sat Jan 26 22:58:26 2019 +0100 - - [meta] Back to using _ft suffix for function-object types - - Seprate namespace, cleaner, more clear. - - src/hb-algs.hh | 6 +++--- - src/hb-iter.hh | 2 +- - 2 files changed, 4 insertions(+), 4 deletions(-) - -commit 2aff6d9625673062b1129e2af5b7d029f7622e71 -Author: Behdad Esfahbod -Date: Sat Jan 26 22:54:25 2019 +0100 - - [iter] Test that default-constructed iterators are empty - - src/test-iter.cc | 2 ++ - 1 file changed, 2 insertions(+) - -commit f35e7eabf10d99c2a4ddab054cf89f3da359e7a8 -Author: Behdad Esfahbod -Date: Sat Jan 26 22:50:00 2019 +0100 - - pragma GCC diagnostic error "-Winjected-class-name" - - See 6b6783e1588ebe5772a1edc19552219e9d931bda - - src/hb.hh | 1 + - 1 file changed, 1 insertion(+) - -commit 509353357c220a3a60910b70b3a90ea8fa6a14a8 -Author: Behdad Esfahbod -Date: Sat Jan 26 22:47:35 2019 +0100 - - [iter] Use hb_declval() instead of Null() to get instance - - I had used Null to make one of the bots happy before. Not going - to bend to such demands anymore.. - - src/hb-iter.hh | 3 +-- - src/hb.hh | 2 +- - 2 files changed, 2 insertions(+), 3 deletions(-) - -commit 6b6783e1588ebe5772a1edc19552219e9d931bda -Author: Behdad Esfahbod -Date: Sat Jan 26 22:44:09 2019 +0100 - - [iter/meta] Fix build on newer clang - - The mystery failure had to do with SFINAE failure because the template - function involved was accessing ::iter_t of a type that was also named iter_t. - In this context, apparently: - - warning: ISO C++ specifies that qualified reference to 'iter_t' is a - constructor name rather than a type in this context, despite preceding 'typename' keyword - [-Winjected-class-name] - - We use a new macro, also called hb_iter_t(), to get iterator type of - a type. This uses declval/hb_decltype, and has the added benefit - that it returns correct type for const vs non-const objects, if they - have different iterators. - - src/hb-iter.hh | 22 ++++++++++++---------- - 1 file changed, 12 insertions(+), 10 deletions(-) - -commit 5adb113bafb2cf10ea768ff7a15ad4e6a1270a29 -Author: Behdad Esfahbod -Date: Sat Jan 26 22:15:59 2019 +0100 - - [meta] Mark function-objects as const - - src/hb-algs.hh | 6 +++--- - src/hb-iter.hh | 2 +- - 2 files changed, 4 insertions(+), 4 deletions(-) - -commit ac90f17c552e5264ad0a9d17c50fac9008d6ebe7 -Merge: 090fe56dc 60022ecce -Author: Behdad Esfahbod -Date: Sat Jan 26 14:05:39 2019 +0100 - - Merge branch 'master' into iter - -commit 60022ecced202760daa7f75516bba6a4689a49de -Author: Behdad Esfahbod -Date: Sat Jan 26 14:04:51 2019 +0100 - - Fix -Wcast-function-type warnings in util/ with gcc 4.8 - - src/hb.hh | 1 + - util/options.hh | 5 ++++- - 2 files changed, 5 insertions(+), 1 deletion(-) - -commit a9321cb5f88cae1dafbd623b8bf7c68a82a3c211 -Author: Behdad Esfahbod -Date: Fri Jan 25 16:11:45 2019 +0100 - - Fix mac test - - test/shaping/data/in-house/tests/macos.tests | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit f39809752909f193a9c60f4357a88ea1c3ce1162 -Author: Behdad Esfahbod -Date: Fri Jan 25 16:08:25 2019 +0100 - - More static constexpr - - src/hb-machinery.hh | 10 +++++----- - src/hb-set-digest.hh | 14 +++++++------- - 2 files changed, 12 insertions(+), 12 deletions(-) - -commit 090fe56dc6ef5f7afa297f2cb200418a520a2026 -Merge: 21c0713a1 06358ae97 -Author: Behdad Esfahbod -Date: Fri Jan 25 15:34:03 2019 +0100 - - Merge branch 'master' into iter - -commit 06358ae9746ae72c0917e8a5f294d14fd695f380 -Author: Behdad Esfahbod -Date: Fri Jan 25 15:11:47 2019 +0100 - - [AAT] Add test for recent Ligature stack fix, using Zapfino on Mac - - test/shaping/data/in-house/tests/macos.tests | 2 ++ - 1 file changed, 2 insertions(+) - -commit c685644386d1c88d6df6e024e56d61c792d94418 -Merge: 0bd0a3311 e970de48b -Author: Michiharu Ariza -Date: Thu Jan 24 13:19:18 2019 -0800 - - Merge branch 'master' into cff-more-arrayof-fixes - -commit e970de48bcbdccd29350f331288c0a98f7846c16 -Author: Behdad Esfahbod -Date: Thu Jan 24 18:16:17 2019 +0100 - - [AAT] Minor sign - - src/hb-aat-layout-morx-table.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit a371a28cda23805cbea22867e0a3ed53ecb811ed -Author: Behdad Esfahbod -Date: Thu Jan 24 18:12:25 2019 +0100 - - [AAT] Use a ring buffer for ligature stack - - I think Apple does very similarly, but probably with a stack size of 16. - We do it with a stack size that is currently set to 64. - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1531 - - src/hb-aat-layout-morx-table.hh | 15 ++++++--------- - 1 file changed, 6 insertions(+), 9 deletions(-) - -commit 7886b1578fceee368ae5afe206ff98f50e1c42e3 -Author: Behdad Esfahbod -Date: Thu Jan 24 18:06:17 2019 +0100 - - Whitespace - - src/hb-aat-layout-morx-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit b976940243bf1f174bd6abb85955789ef2631d24 -Author: Behdad Esfahbod -Date: Thu Jan 24 18:01:07 2019 +0100 - - [AAT] Handle transition errors during machine operation - - Before we used to give up. Now, just ignore error and continue processing. - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1531 - - src/hb-aat-layout-common.hh | 3 +-- - src/hb-aat-layout-kerx-table.hh | 21 +++++++-------------- - src/hb-aat-layout-morx-table.hh | 34 +++++++++++++--------------------- - 3 files changed, 21 insertions(+), 37 deletions(-) - -commit 0bd0a3311cfded5ffa4d9d488d404558cf65e8ed -Merge: 12cd3171b f60282c5b -Author: Michiharu Ariza -Date: Thu Jan 24 08:53:28 2019 -0800 - - Merge branch 'master' into cff-more-arrayof-fixes - -commit e234bb6a428cd6c8ddf57eb078cd51b9d1f25ba8 -Author: Behdad Esfahbod -Date: Thu Jan 24 17:23:11 2019 +0100 - - [AAT] Ignore machine errors and continue - - src/hb-aat-layout-common.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 1ec90514f69efc329691186466f62373efa863b1 -Author: Behdad Esfahbod -Date: Thu Jan 24 17:21:41 2019 +0100 - - [AAT] Minor - - src/hb-aat-layout-common.hh | 12 ++++---- - src/hb-aat-layout-kerx-table.hh | 38 +++++++++++------------ - src/hb-aat-layout-morx-table.hh | 68 ++++++++++++++++++++--------------------- - 3 files changed, 59 insertions(+), 59 deletions(-) - -commit 299eca0c3b28c99add006420bc667431d874fb2e -Author: Behdad Esfahbod -Date: Thu Jan 24 17:17:00 2019 +0100 - - [AAT] Handle out-of-bounds classes - - src/hb-aat-layout-common.hh | 13 ++++++------- - 1 file changed, 6 insertions(+), 7 deletions(-) - -commit c4623db4a3f963394db940449007fa3312460993 -Author: Behdad Esfahbod -Date: Thu Jan 24 17:10:12 2019 +0100 - - [AAT] Minor - - src/hb-aat-layout-common.hh | 11 ++++------- - 1 file changed, 4 insertions(+), 7 deletions(-) - -commit c4e36f97b6df1eb5fba588b09ae1630bb5c49589 -Author: Behdad Esfahbod -Date: Thu Jan 24 17:06:16 2019 +0100 - - [AAT] Minor - - src/hb-aat-layout-common.hh | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit f60282c5bff4a317ba3180e3519274963c6e8849 -Author: Behdad Esfahbod -Date: Thu Jan 24 16:29:09 2019 +0100 - - More pragma control - - Fixes https://bugs.chromium.org/p/chromium/issues/detail?id=924848 - - src/hb.hh | 16 +++++++++++++++- - 1 file changed, 15 insertions(+), 1 deletion(-) - -commit fd0889f903ac1ba2da06e77eed8424395ea85a90 -Author: Behdad Esfahbod -Date: Thu Jan 24 16:12:52 2019 +0100 - - Comment - - src/hb-ot-shape.cc | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 00f06d1aa61e9a6d01b5943ce55ba2b0c40237ee -Author: Behdad Esfahbod -Date: Thu Jan 24 16:11:05 2019 +0100 - - Fix test - - test/shaping/data/in-house/tests/cluster.tests | 1 - - test/shaping/data/in-house/tests/emoji.tests | 3 ++- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit 9f314177336f9551756944e0e555614c9189c7a5 -Author: Behdad Esfahbod -Date: Thu Jan 24 16:08:33 2019 +0100 - - Form cluster for Emoji sub-region tag sequences - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1556 - - src/hb-ot-shape.cc | 13 +++++++++++++ - .../fonts/8d9c4b193808b8bde94389ba7831c1fc6f9e794e.ttf | Bin 0 -> 1548 bytes - test/shaping/data/in-house/tests/cluster.tests | 1 + - 3 files changed, 14 insertions(+) - -commit 5034f8f2ab8f53eb0395e6f6ce2f8da69a08460d -Author: Behdad Esfahbod -Date: Thu Jan 24 12:50:38 2019 +0100 - - Fix macos tests with previous commit - - test/shaping/data/in-house/tests/macos.tests | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 3ecda71041a7239ca37ec7b888809efe8f595a19 -Author: Behdad Esfahbod -Date: Thu Jan 24 12:08:23 2019 +0100 - - Adjust mark offsets when zeroing from fallback mark positioning code - - Adjust tests. - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1532 - - src/hb-ot-shape-fallback.cc | 31 +++++++++++++++------- - src/hb-ot-shape-fallback.hh | 3 ++- - src/hb-ot-shape.cc | 3 ++- - .../in-house/tests/arabic-fallback-shaping.tests | 2 +- - test/shaping/data/in-house/tests/cluster.tests | 2 +- - .../data/in-house/tests/fallback-positioning.tests | 4 +-- - 6 files changed, 30 insertions(+), 15 deletions(-) - -commit 12cd3171ba3b84eff9f359778fabcab8f66ce36e -Merge: 261a74218 36fb2b4da -Author: Michiharu Ariza -Date: Wed Jan 23 14:05:42 2019 -0800 - - Merge branch 'master' into cff-more-arrayof-fixes - -commit 261a7421814d83f84d8def046b7108a245347461 -Author: Michiharu Ariza -Date: Wed Jan 23 14:04:29 2019 -0800 - - more rewriting with ArrayOf<> - - CFF1 Encoding0, Encoding1, CFF1SuppEncData - - src/hb-ot-cff1-table.hh | 51 +++++++++++++++++++++++-------------------------- - 1 file changed, 24 insertions(+), 27 deletions(-) - -commit 36fb2b4da9718a86978fa07c99ba4345f7ca9b4b -Author: Behdad Esfahbod -Date: Wed Jan 23 20:53:57 2019 +0100 - - [AAT] In InsertionChain, set mark to previous-position if inserting - - Fixes MORX-31 - - src/hb-aat-layout-morx-table.hh | 8 +++++--- - 1 file changed, 5 insertions(+), 3 deletions(-) - -commit cbe0ed117ac86179183c389977d15981d26524f7 -Author: Behdad Esfahbod -Date: Wed Jan 23 20:45:18 2019 +0100 - - [AAT] Re-enable tests MORX-31 and MORX-41 - - test/shaping/data/text-rendering-tests/DISABLED | 3 --- - test/shaping/data/text-rendering-tests/Makefile.sources | 2 ++ - 2 files changed, 2 insertions(+), 3 deletions(-) - -commit baf4d6a68a031bf65e17ccd5dac15fe7d0df33b6 -Author: Behdad Esfahbod -Date: Wed Jan 23 20:36:07 2019 +0100 - - [AAT] Remove mark_set from InsertionChain - - src/hb-aat-layout-morx-table.hh | 7 +------ - 1 file changed, 1 insertion(+), 6 deletions(-) - -commit 410731d3fb678365c07a4d1745b72b6bb3142b70 -Author: Behdad Esfahbod -Date: Wed Jan 23 20:30:48 2019 +0100 - - [test/text-rendering-tests] Update from upstream - - test/shaping/data/text-rendering-tests/extract-tests.py | 2 +- - test/shaping/data/text-rendering-tests/tests/MORX-14.tests | 2 +- - test/shaping/data/text-rendering-tests/tests/MORX-32.tests | 8 ++++---- - test/shaping/data/text-rendering-tests/tests/MORX-41.tests | 4 ++-- - 4 files changed, 8 insertions(+), 8 deletions(-) - -commit 0b2fa342de88bbe609b2147444e56c94680cbd38 -Author: Behdad Esfahbod -Date: Tue Jan 22 16:36:00 2019 +0100 - - More of previous - - src/hb-subset-cff1.cc | 20 ++++++++++---------- - 1 file changed, 10 insertions(+), 10 deletions(-) - -commit a5e5dd8b42b40c3647e06e6bb62580af77bed42b -Author: Behdad Esfahbod -Date: Tue Jan 22 16:30:07 2019 +0100 - - Fix sign-compare error resulted from promoting unsigned integers to signed larger ints - - Clang and gcc know not to warn in these cases, but not nonmainstream compilers - - src/hb-subset-cff2.cc | 14 +++++++------- - 1 file changed, 7 insertions(+), 7 deletions(-) - -commit 32379bbf10726bb7ed2e507d0a6b5917c350e056 -Author: Behdad Esfahbod -Date: Tue Jan 22 12:55:29 2019 +0100 - - Cast HB_UNTAG results to uint8_t - - src/hb-common.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 83d4aa5ca9a39dbe66db9b81b34f5b568503bd7e -Author: Behdad Esfahbod -Date: Tue Jan 22 12:52:23 2019 +0100 - - More -Wcast-error fix - - src/hb-dsalgs.hh | 3 +++ - 1 file changed, 3 insertions(+) - -commit 447323b85a7b68bd41561a87c91431cd05227b97 -Author: Behdad Esfahbod -Date: Tue Jan 22 12:45:40 2019 +0100 - - Better fix for -Wcast-align errors - - src/hb-font.cc | 33 +++++++++------------------------ - src/hb-ft.cc | 14 ++++---------- - src/hb-machinery.hh | 16 ++++++++++++++++ - src/hb-ot-cmap-table.hh | 7 ++----- - src/hb-ot-font.cc | 14 ++++---------- - 5 files changed, 35 insertions(+), 49 deletions(-) - -commit 81ec543d800c4a94b5e608fd87e84d33d7dae8ac -Author: Behdad Esfahbod -Date: Tue Jan 22 12:43:12 2019 +0100 - - More -Wcast-error fixes - - src/hb-font.cc | 8 ++++---- - src/hb-ft.cc | 2 +- - src/hb-ot-font.cc | 4 ++-- - 3 files changed, 7 insertions(+), 7 deletions(-) - -commit 90772725493108c79487a67620f0240e5d68f4ee -Author: Behdad Esfahbod -Date: Tue Jan 22 12:40:18 2019 +0100 - - pragma GCC diagnostic error "-Wsign-compare" - - src/hb.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 8d05bf7dc0094e75be07ca1f7ef852a1e45d0687 -Author: Behdad Esfahbod -Date: Tue Jan 22 12:34:05 2019 +0100 - - Fix cast-align error - - If compiler doesn't inline StructAtOffset, this was an error since we - only disable cast-align at call-site. So, move the cast out. - - ../src/hb-machinery.hh: In instantiation of 'const Type& StructAtOffset(const void*, unsigned int) [with Type = unsigned int]': - ../src/hb-font.cc:146:85: required from here - ../src/hb-machinery.hh:63:12: error: cast from 'const char*' to 'const unsigned int*' increases required alignment of target type [-Werror=cast-align] - { return * reinterpret_cast ((const char *) P + offset); } - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ../src/hb-machinery.hh: In instantiation of 'Type& StructAtOffset(void*, unsigned int) [with Type = unsigned int]': - ../src/hb-font.cc:147:79: required from here - ../src/hb-machinery.hh:66:12: error: cast from 'char*' to 'unsigned int*' increases required alignment of target type [-Werror=cast-align] - { return * reinterpret_cast ((char *) P + offset); } - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - - src/hb-font.cc | 8 ++++---- - src/hb-ft.cc | 6 +++--- - src/hb-ot-cmap-table.hh | 4 ++-- - src/hb-ot-font.cc | 4 ++-- - 4 files changed, 11 insertions(+), 11 deletions(-) - -commit b270cee6c5800c019aafb55e9ca9d7e92a92d3ec -Author: Behdad Esfahbod -Date: Tue Jan 22 12:29:05 2019 +0100 - - [CI] Remove gcc 4.2 bots - - We don't support that version anymore. - - .circleci/config.yml | 25 ------------------------- - 1 file changed, 25 deletions(-) - -commit 70a52d6bd8c45630ca90e945fc4d716fe9114010 -Author: Behdad Esfahbod -Date: Tue Jan 22 12:15:23 2019 +0100 - - Convert all other enum class consts to static constexpr - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1553 - - src/hb-cff-interp-common.hh | 2 +- - src/hb-iter.hh | 2 +- - src/hb-machinery.hh | 12 ++++++------ - src/hb-open-type.hh | 8 ++++---- - src/hb-set-digest.hh | 4 ++-- - src/hb-set.hh | 10 +++++----- - src/hb-vector.hh | 2 +- - 7 files changed, 20 insertions(+), 20 deletions(-) - -commit 5d4b0377b99ddc4112b8ffb2b787eac0b383081c -Author: Behdad Esfahbod -Date: Tue Jan 22 12:11:24 2019 +0100 - - Convert unsigned enum class consts to static constexpr - - Part of https://github.com/harfbuzz/harfbuzz/issues/1553 - - src/hb-aat-layout-common.hh | 6 +++--- - src/hb-aat-layout-kerx-table.hh | 2 +- - src/hb-buffer.hh | 2 +- - src/hb-open-type.hh | 2 +- - src/hb-ot-kern-table.hh | 4 ++-- - src/hb-ot-layout-common.hh | 2 +- - src/hb-ot-layout.cc | 4 ++-- - 7 files changed, 11 insertions(+), 11 deletions(-) - -commit ef00654962204ae706b276871e2b6758fbbf69e0 -Author: Behdad Esfahbod -Date: Tue Jan 22 12:08:57 2019 +0100 - - Convert tag enum class consts to static constexpr - - Part of https://github.com/harfbuzz/harfbuzz/issues/1553 - - src/hb-aat-fdsc-table.hh | 2 +- - src/hb-aat-layout-ankr-table.hh | 2 +- - src/hb-aat-layout-bsln-table.hh | 2 +- - src/hb-aat-layout-feat-table.hh | 2 +- - src/hb-aat-layout-just-table.hh | 2 +- - src/hb-aat-layout-kerx-table.hh | 2 +- - src/hb-aat-layout-lcar-table.hh | 2 +- - src/hb-aat-layout-morx-table.hh | 6 +++--- - src/hb-aat-layout-trak-table.hh | 2 +- - src/hb-aat-ltag-table.hh | 2 +- - src/hb-ot-cff1-table.hh | 2 +- - src/hb-ot-cff2-table.hh | 2 +- - src/hb-ot-cmap-table.hh | 2 +- - src/hb-ot-color-cbdt-table.hh | 4 ++-- - src/hb-ot-color-colr-table.hh | 2 +- - src/hb-ot-color-cpal-table.hh | 2 +- - src/hb-ot-color-sbix-table.hh | 2 +- - src/hb-ot-color-svg-table.hh | 2 +- - src/hb-ot-gasp-table.hh | 2 +- - src/hb-ot-glyf-table.hh | 4 ++-- - src/hb-ot-hdmx-table.hh | 2 +- - src/hb-ot-head-table.hh | 2 +- - src/hb-ot-hhea-table.hh | 4 ++-- - src/hb-ot-hmtx-table.hh | 12 ++++++------ - src/hb-ot-kern-table.hh | 6 +++--- - src/hb-ot-layout-base-table.hh | 2 +- - src/hb-ot-layout-gdef-table.hh | 2 +- - src/hb-ot-layout-gpos-table.hh | 2 +- - src/hb-ot-layout-gsub-table.hh | 2 +- - src/hb-ot-layout-jstf-table.hh | 2 +- - src/hb-ot-math-table.hh | 2 +- - src/hb-ot-maxp-table.hh | 2 +- - src/hb-ot-name-table.hh | 2 +- - src/hb-ot-os2-table.hh | 2 +- - src/hb-ot-post-table.hh | 2 +- - src/hb-ot-stat-table.hh | 2 +- - src/hb-ot-var-avar-table.hh | 2 +- - src/hb-ot-var-fvar-table.hh | 2 +- - src/hb-ot-var-hvar-table.hh | 8 ++++---- - src/hb-ot-var-mvar-table.hh | 2 +- - src/hb-ot-vorg-table.hh | 2 +- - 41 files changed, 56 insertions(+), 56 deletions(-) - -commit 39e1b6d03f71ccb8f18d64dfbff64acfaf02970b -Author: Behdad Esfahbod -Date: Tue Jan 22 12:07:43 2019 +0100 - - Convert boolean enum class consts to static constexpr - - Part of https://github.com/harfbuzz/harfbuzz/issues/1553 - - src/hb-aat-layout-common.hh | 4 ++-- - src/hb-aat-layout-kerx-table.hh | 4 ++-- - src/hb-aat-layout-morx-table.hh | 8 ++++---- - src/hb-dsalgs.hh | 16 ++++++++-------- - src/hb-ot-kern-table.hh | 4 ++-- - src/hb-ot-layout.cc | 4 ++-- - 6 files changed, 20 insertions(+), 20 deletions(-) - -commit 271cb7c1c0f49c7af786daa5d5310b9f08142148 -Author: Behdad Esfahbod -Date: Tue Jan 22 12:05:35 2019 +0100 - - Make some enum constants unsigned - - src/hb-aat-layout-common.hh | 6 +++--- - src/hb-buffer.hh | 2 +- - src/hb-ot-layout.cc | 8 ++++---- - 3 files changed, 8 insertions(+), 8 deletions(-) - -commit 3d9a6e62662fb769e0f785fa7a43df806988d2a2 -Author: Behdad Esfahbod -Date: Tue Jan 22 12:02:06 2019 +0100 - - Whitespace - - src/hb-ot-layout-gsubgpos.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit c81f02fd06fcbc4426c9e3255833f8d7057cc97a -Author: Behdad Esfahbod -Date: Tue Jan 22 12:00:44 2019 +0100 - - pragma GCC diagnostic error "-Wvla" - - src/hb.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit ff98109455bfbf92f7633262bc570b05d15d5d01 -Author: Alfie John -Date: Tue Jan 22 19:58:36 2019 +1100 - - Fix grammar - - docs/usermanual-clusters.xml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit e9c0f5e714cc62bcf6349b86b13e1c031f9bb764 -Author: Alfie John -Date: Tue Jan 22 00:03:02 2019 +0000 - - Grammar fix - - docs/usermanual-clusters.xml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 789396ed6bf2c76c1bb955e80efb43f75e3c61d2 -Author: Behdad Esfahbod -Date: Sun Jan 20 20:09:10 2019 -0500 - - Remove wrongly added files - - test/api/test-ot-extents-cff | Bin 8574336 -> 0 bytes - .../test-ot-extents-cff.dSYM/Contents/Info.plist | 20 -------------------- - .../Contents/Resources/DWARF/test-ot-extents-cff | Bin 7650053 -> 0 bytes - 3 files changed, 20 deletions(-) - -commit 380c3cffb9353083913a3bb505c2c62367613096 -Author: Behdad Esfahbod -Date: Sun Jan 20 19:51:08 2019 -0500 - - Use enum for class constant - - src/hb-cff-interp-common.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 6d042a18e7079e07a2b2f465a6a56483a42ef189 -Author: Behdad Esfahbod -Date: Sun Jan 20 19:49:59 2019 -0500 - - [CFF] Use enum for tableTag - - src/hb-ot-cff1-table.hh | 2 +- - src/hb-ot-cff2-table.hh | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit c1cbbb94595641f0609cc8d2dbe8415540c10f77 -Author: Behdad Esfahbod -Date: Sun Jan 20 19:47:52 2019 -0500 - - Use static constexpr for large class constants - - src/hb-map.hh | 2 +- - src/hb-set.hh | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit 30ae62779f1a68c5657ab27bc7e77496ba8a906c -Author: Khaled Hosny -Date: Mon Jan 21 16:44:48 2019 +0200 - - Regular spaces will do - - docs/usermanual-getting-started.xml | 16 ++++++++-------- - 1 file changed, 8 insertions(+), 8 deletions(-) - -commit ed62551d67ac5bb8dbfaf3fa5eb51013157b214a -Author: Alfie John -Date: Mon Jan 21 05:00:01 2019 +0000 - - Adding leading space for code example - - docs/usermanual-getting-started.xml | 16 ++++++++-------- - 1 file changed, 8 insertions(+), 8 deletions(-) - -commit 3e332544db35ca08de767ecab01b489a9905c559 -Author: Alfie John -Date: Mon Jan 21 04:54:27 2019 +0000 - - Fix description of example - - docs/usermanual-getting-started.xml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 2144ca9f01d01b6de386d17ada73a288372ee553 -Author: Alfie John -Date: Mon Jan 21 04:47:05 2019 +0000 - - Added option to build docs to docs - - docs/usermanual-install-harfbuzz.xml | 12 ++++++++++++ - 1 file changed, 12 insertions(+) - -commit 21c0713a1cf4b42b5dfa8fb9bdf1c1935a481b00 -Author: Behdad Esfahbod -Date: Wed Jan 9 21:24:51 2019 -0800 - - Whitespace - - src/hb-ot-layout-gsub-table.hh | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 934d3fa2a7d5d47da7030f43ea7ca7234625fc7e -Author: Behdad Esfahbod -Date: Wed Jan 9 21:00:13 2019 -0800 - - Use more iter pipelines - - src/hb-ot-layout-gpos-table.hh | 9 +++++---- - src/hb-ot-layout-gsubgpos.hh | 32 ++++++++++++++++++-------------- - 2 files changed, 23 insertions(+), 18 deletions(-) - -commit 420d8ac350590d776832dc7b353d997857cd7b45 -Author: Behdad Esfahbod -Date: Wed Jan 9 20:58:25 2019 -0800 - - [algs] Add hb_iter() - - Makes it nicer in pipelines. - - src/hb-algs.hh | 4 ++++ - src/hb-ot-layout-gsub-table.hh | 6 +++--- - 2 files changed, 7 insertions(+), 3 deletions(-) - -commit 54ec48ea20d7d7d9e62bca12265e2f26383f9bc1 -Author: Behdad Esfahbod -Date: Wed Jan 9 20:54:21 2019 -0800 - - Use iter pipelines more - - src/hb-ot-layout-gsub-table.hh | 81 +++++++++++++++++++++++------------------- - 1 file changed, 44 insertions(+), 37 deletions(-) - -commit 83cecd80d93a1e09231b8deaa6ecf8cd44875dfd -Author: Behdad Esfahbod -Date: Wed Jan 9 19:49:13 2019 -0800 - - [iter] Default projection to identity - - src/hb-algs.hh | 6 +++--- - src/hb-iter.hh | 4 ++-- - 2 files changed, 5 insertions(+), 5 deletions(-) - -commit a699c6b17cf2d272ac445838e82db6b0017cdbd7 -Author: Behdad Esfahbod -Date: Wed Jan 9 19:42:41 2019 -0800 - - [algs] Add hb_identity - - src/hb-algs.hh | 8 +++++--- - 1 file changed, 5 insertions(+), 3 deletions(-) - -commit 463cfb426ff94b78b8e44f1c5662931b948beca7 -Author: Behdad Esfahbod -Date: Wed Jan 9 16:19:40 2019 -0800 - - Fix unused-variable warnings - - inline variables are not C++11, so mark them unused... - - src/hb-algs.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit f4cbb1ee0c7e1c2911c3676936e1bb571f6b255f -Author: Behdad Esfahbod -Date: Wed Jan 9 13:28:00 2019 -0800 - - WIP - - src/hb-ot-layout-gsub-table.hh | 8 +++++--- - 1 file changed, 5 insertions(+), 3 deletions(-) - -commit 471e96e55d3366a6ad723fe88c9aa895921c048f -Author: Behdad Esfahbod -Date: Wed Jan 9 12:42:01 2019 -0800 - - [iter] Use forwarding references - - src/hb-iter.hh | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - -commit 528ea66f24c326d7361663a145bd9b8081c7c5c2 -Author: Behdad Esfahbod -Date: Wed Jan 9 12:36:17 2019 -0800 - - [algs] Fix hb_first() / hb_second() - - src/hb-algs.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 343f5a4bfcf528ed8f5239fae9ddfca64b998fde -Author: Behdad Esfahbod -Date: Wed Jan 9 12:35:45 2019 -0800 - - [iter] Misc fixes to get piping almost work - - src/hb-iter.hh | 19 ++++++++++++------- - 1 file changed, 12 insertions(+), 7 deletions(-) - -commit 7cedf7f64c2be0d16771dba73fd370325f7b66a1 -Author: Behdad Esfahbod -Date: Wed Jan 9 12:22:14 2019 -0800 - - Change hb_first() and hb_second() to function objects - - src/hb-algs.hh | 14 ++++++++++---- - 1 file changed, 10 insertions(+), 4 deletions(-) - -commit f35568d603df6409e4f867acf2f58794560f6649 -Author: Behdad Esfahbod -Date: Wed Jan 9 11:32:33 2019 -0800 - - [iter] Add hb_filter() - - Untested. - - src/hb-iter.hh | 39 +++++++++++++++++++++++++++++++++++++++ - 1 file changed, 39 insertions(+) - -commit 1733e4702c4f4f8058e69500008d050cf9df0318 -Author: Behdad Esfahbod -Date: Wed Jan 9 11:15:49 2019 -0800 - - [iter] Add hb_map() - - Untested. - - src/hb-iter.hh | 43 ++++++++++++++++++++++++++++++++++++++++++- - 1 file changed, 42 insertions(+), 1 deletion(-) - -commit f7fcc476418099e2b89c52068ac81280a95bf76f -Author: Behdad Esfahbod -Date: Wed Jan 9 11:00:32 2019 -0800 - - [iter] Make hb_zip() take const references - - src/hb-iter.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit ede1a71b31f49a6dc247ac0491b78508346e9932 -Author: Behdad Esfahbod -Date: Wed Jan 9 10:45:53 2019 -0800 - - Minor rename - - src/hb-ot-layout-gsub-table.hh | 12 ++++++------ - src/hb-ot-layout-gsubgpos.hh | 6 +++--- - 2 files changed, 9 insertions(+), 9 deletions(-) - -commit 93551669c5a41ee11a156ef60a9f80dc328430b9 -Author: Behdad Esfahbod -Date: Wed Jan 9 10:18:49 2019 -0800 - - Remove unused Coverage::iter_t::get_coverage() - - src/hb-ot-layout-common.hh | 11 ----------- - 1 file changed, 11 deletions(-) - -commit af2067e87b06995a9cc9154baab2a5bc4f3f6955 -Author: Behdad Esfahbod -Date: Wed Jan 9 10:17:33 2019 -0800 - - Use hb_zip() moooore - - src/hb-ot-layout-gsub-table.hh | 24 ++++++++++++------------ - 1 file changed, 12 insertions(+), 12 deletions(-) - -commit 0d1fdf939de13bb1994bc8f70da7f9f511b7e5be -Author: Behdad Esfahbod -Date: Wed Jan 9 10:06:48 2019 -0800 - - Use hb_zip() some mooore - - src/hb-ot-layout-gpos-table.hh | 13 +++------ - src/hb-ot-layout-gsub-table.hh | 64 +++++++++++------------------------------- - 2 files changed, 21 insertions(+), 56 deletions(-) - -commit af6c1902356c937bc47ad8c37ab6f037b5810b67 -Author: Behdad Esfahbod -Date: Wed Jan 9 10:01:28 2019 -0800 - - Use hb_zip() some moore - - src/hb-ot-layout-gsubgpos.hh | 52 ++++++++++++-------------------------------- - 1 file changed, 14 insertions(+), 38 deletions(-) - -commit 83ad0b6d0f3e7656f78611e89d7ebb939cd8e713 -Author: Behdad Esfahbod -Date: Wed Jan 9 09:57:36 2019 -0800 - - Use hb_zip() some more - - src/hb-ot-layout-gsub-table.hh | 36 ++++++++++-------------------------- - 1 file changed, 10 insertions(+), 26 deletions(-) - -commit f0dd0656b8d2038ae6aa8d0a39d17130ddc8f16f -Author: Behdad Esfahbod -Date: Wed Jan 9 09:52:10 2019 -0800 - - Use hb_zip() some - - src/hb-ot-layout-gsub-table.hh | 20 +++++--------------- - 1 file changed, 5 insertions(+), 15 deletions(-) - -commit 200cdb721bfb125cd462437ccbcc40554560c4d0 -Author: Behdad Esfahbod -Date: Wed Jan 9 09:49:12 2019 -0800 - - [iter] Rename hb_zip_t to hb_zip_iter_t - - src/hb-iter.hh | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - -commit 3290c181c17db33991cd1b79eca49f70d2601ce0 -Author: Behdad Esfahbod -Date: Wed Jan 9 09:08:15 2019 -0800 - - [algs] Whitespace - - src/hb-algs.hh | 12 +++++++----- - 1 file changed, 7 insertions(+), 5 deletions(-) - -commit 014c50292b471de0167b65fdc0eb446245438b84 -Author: Behdad Esfahbod -Date: Wed Jan 9 09:07:01 2019 -0800 - - [iter] Move code - - src/hb-iter.hh | 47 ++++++++++++++++++++++++++++------------------- - 1 file changed, 28 insertions(+), 19 deletions(-) - -commit 6e3ad650d1b864742084c6254d020734f09cb396 -Author: Behdad Esfahbod -Date: Wed Jan 9 09:05:01 2019 -0800 - - Rename hb-dsalgs to hb-algs - - src/Makefile.sources | 2 +- - src/{hb-dsalgs.hh => hb-algs.hh} | 6 +++--- - src/hb-array.hh | 2 +- - src/hb-debug.hh | 2 +- - src/hb-iter.hh | 2 +- - src/hb.hh | 8 ++++---- - 6 files changed, 11 insertions(+), 11 deletions(-) - -commit f27607580e4d13e8ddf721df971a7d5062c54fb2 -Author: Behdad Esfahbod -Date: Wed Jan 9 09:03:21 2019 -0800 - - [algs] Add hb_first() and hb_second() - - src/hb-dsalgs.hh | 7 +++++++ - 1 file changed, 7 insertions(+) - -commit a7de144df342f30b3d6f9e61c3fe3d1348ab222d -Author: Behdad Esfahbod -Date: Wed Jan 9 08:39:25 2019 -0800 - - Implement uniform map interface - - Coverage, ClassDef, hb_set_t, and hb_map_t implement. - - src/hb-map.hh | 13 +++++++------ - src/hb-ot-layout-common.hh | 14 ++++++++++++-- - src/hb-set.hh | 17 ++++++++++++----- - 3 files changed, 31 insertions(+), 13 deletions(-) - -commit 7987095e64e52b509661828aeadabe0b27bba0d0 -Author: Behdad Esfahbod -Date: Wed Jan 9 01:02:38 2019 -0800 - - [meta] Remove hb_enable_if_t - - It was only used for C++<11 which does not allow default parameters - in function templates. Looks like we cannot support <11 anyway, so, - start cleaning up. - - src/hb-iter.hh | 18 +++++++++--------- - src/hb-meta.hh | 1 - - src/hb-open-type.hh | 14 ++++++-------- - src/hb-ot-layout-common.hh | 21 +++++++++------------ - src/test-iter.cc | 12 ++++++------ - 5 files changed, 30 insertions(+), 36 deletions(-) - -commit 15a69284369ce739e79bf288a55c4c3010313144 -Author: Behdad Esfahbod -Date: Wed Jan 9 00:36:47 2019 -0800 - - [iter] Implement operator-> unconditionally - - The right condition to check for would have been "is_struct", which - we don't have. - - src/hb-iter.hh | 1 - - 1 file changed, 1 deletion(-) - -commit 8f52a827e7d93abf3ef6159fd00f7c85c6d46793 -Author: Behdad Esfahbod -Date: Wed Jan 9 00:36:26 2019 -0800 - - Allow rvalues in hb_addressof() - - src/hb-dsalgs.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit a4ea0d368015b91df8d4c164a8838c45943562dc -Author: Behdad Esfahbod -Date: Wed Jan 9 00:32:11 2019 -0800 - - [iter] Change from const_iter_t/iter_t to iter_t/writer_t - - src/hb-open-type.hh | 26 ++++++++++++-------------- - src/hb-vector.hh | 13 ++++++------- - 2 files changed, 18 insertions(+), 21 deletions(-) - -commit 7798e4fcc34edca5c7d5d2fe7abd09a0540f0fea -Author: Behdad Esfahbod -Date: Wed Jan 9 00:25:53 2019 -0800 - - [iter] Change Coverage iterator to only return glyph-id - - src/hb-ot-layout-common.hh | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 84e5d002290eb2f58392743bc841fa7def7fc96d -Author: Behdad Esfahbod -Date: Tue Jan 8 23:57:16 2019 -0800 - - [iter] Add hb_zip() - - src/hb-iter.hh | 34 ++++++++++++++++++++++++++++++++++ - src/test-iter.cc | 2 ++ - 2 files changed, 36 insertions(+) - -commit 636786ecaf18c52d4c337d009434b22e868ab796 -Author: Behdad Esfahbod -Date: Tue Jan 8 23:48:35 2019 -0800 - - [iter] Rename __item_type__ to __item_t__ - - src/hb-array.hh | 2 +- - src/hb-iter.hh | 4 ++-- - src/hb-ot-layout-common.hh | 4 ++-- - src/hb-set.hh | 2 +- - src/test-iter.cc | 2 +- - 5 files changed, 7 insertions(+), 7 deletions(-) - -commit 6caf76f4a8b5e232a87b84dc5e357dddef63d00b -Author: Behdad Esfahbod -Date: Tue Jan 8 23:28:05 2019 -0800 - - Tighten Coverage iteration - - src/hb-ot-layout-common.hh | 7 +++++-- - 1 file changed, 5 insertions(+), 2 deletions(-) - -commit ff3a7ce1e75b020c2d536200beb5610ed054e097 -Author: Behdad Esfahbod -Date: Tue Jan 8 23:20:23 2019 -0800 - - [subset] Minor - - src/hb-ot-layout-common.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 42bf80e578a1b7f4023b3edeea7de103a3c7d7be -Author: Behdad Esfahbod -Date: Tue Jan 8 19:13:17 2019 -0800 - - [iter] More semicolon - - src/hb-iter.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit f78f837ef17591144d6b22ae3cc71c49458253ff -Author: Behdad Esfahbod -Date: Tue Jan 8 16:38:08 2019 -0800 - - [iter] Use aliasing using for types - - Fix ambiguity of hb_sorted_array_t::item_t with gcc. No idea if that's a gcc bug - or what spec requires, but using aliasing using seems to fix it. It probably breaks - our non-C++11 bots, in which case I have to condition the change. Testing. - - src/hb-iter.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 3fc03e42ce73021c4573729a637d19346f7e5f44 -Author: Behdad Esfahbod -Date: Tue Jan 8 16:33:31 2019 -0800 - - [iter] Use static_assert with hb_is_random_access_iterator() - - Both, checks constexpr'ness, and fixes build with cra**y implementations - of assert() macro: - - test-iter.cc:108:11: error: too many arguments provided to function-like macro invocation - assert (hb_is_random_access_iterator (array_iter_t)); - ^ - ./hb-iter.hh:186:42: note: expanded from macro 'hb_is_random_access_iterator' - hb_is_random_access_iterator_of (Iter, typename Iter::item_t) - ^ - /usr/include/x86_64-linux-gnu/sys/cdefs.h:89:9: note: macro '__STRING' defined here - \#define __STRING(x) #x - ^ - test-iter.cc:108:3: error: use of undeclared identifier '__STRING' - assert (hb_is_random_access_iterator (array_iter_t)); - ^ - /usr/include/assert.h:91:21: note: expanded from macro 'assert' - : __assert_fail (__STRING(expr), __FILE__, __LINE__, __ASSERT_FUNCTION)) - ^ - - src/test-iter.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 6af9c5f18eaf51f2d7e564d23d9b09219af9d700 -Author: Behdad Esfahbod -Date: Tue Jan 8 16:27:37 2019 -0800 - - [iter] Remove stray semicolons - - src/hb-iter.hh | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 74ca7b580c284d6fe3bf7067a19a2095102e72d1 -Author: Behdad Esfahbod -Date: Tue Jan 8 13:48:42 2019 -0800 - - [OT] Implement operator[] for Coverage and ClassDef - - src/hb-ot-layout-common.hh | 7 ++++++- - 1 file changed, 6 insertions(+), 1 deletion(-) - -commit 6c548b6657d419e013969f9a456418e46bef0b30 -Author: Behdad Esfahbod -Date: Tue Jan 8 13:43:49 2019 -0800 - - [iter] Add TODO - - src/hb-iter.hh | 4 ++++ - 1 file changed, 4 insertions(+) - -commit 362d4e7cc324bf99b087aa34a4fae6898e50674f -Author: Behdad Esfahbod -Date: Tue Jan 8 13:41:30 2019 -0800 - - [iter] Implement for OT::ArrayOf / OT::SortedArrayOf - - src/hb-open-type.hh | 36 ++++++++++++++++++++++++------------ - 1 file changed, 24 insertions(+), 12 deletions(-) - -commit 2f837a365c0986c2f925624d9c00ede8cd9e7669 -Author: Behdad Esfahbod -Date: Tue Jan 8 13:05:01 2019 -0800 - - [SortedArrayOf] Fix sub_array() return type - - src/hb-open-type.hh | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 54c30e949e7d0a80c19cb8a12c300d62425683a9 -Author: Behdad Esfahbod -Date: Tue Jan 8 13:00:06 2019 -0800 - - [iter] Constrain hb_fill() and hb_copy() - - src/hb-iter.hh | 10 +++++++--- - 1 file changed, 7 insertions(+), 3 deletions(-) - -commit dc0a98cbe7be25a38220eda19ee06b19bf2d130d -Author: Behdad Esfahbod -Date: Tue Jan 8 12:57:01 2019 -0800 - - [iter] Add TODO - - src/hb-iter.hh | 3 +++ - 1 file changed, 3 insertions(+) - -commit 2658e40ffb66dba6e2e5525d6ee4792fe1ea1dd1 -Author: Behdad Esfahbod -Date: Tue Jan 8 12:53:02 2019 -0800 - - [iter] Add hb_is_random_access_iterator() - - src/hb-iter.hh | 10 +++++++--- - src/test-iter.cc | 2 ++ - 2 files changed, 9 insertions(+), 3 deletions(-) - -commit 445364d80a06007de5ac4c0fca9bb0b846f25c9c -Author: Behdad Esfahbod -Date: Tue Jan 8 12:42:15 2019 -0800 - - [iter] Rename hb_is_[sorted_]iterator() -> hb_is_[sorted_]iterator_of() - - src/hb-iter.hh | 15 +++++++++------ - src/hb-open-type.hh | 4 ++-- - src/hb-ot-layout-common.hh | 6 +++--- - src/test-iter.cc | 2 +- - 4 files changed, 15 insertions(+), 12 deletions(-) - -commit a6c013b1bf1f828f1eea7db801f2efb9a1486773 -Author: Behdad Esfahbod -Date: Tue Jan 8 14:27:51 2019 -0500 - - [meta] Add hb_declval() macro - - src/hb-iter.hh | 2 +- - src/hb-meta.hh | 1 + - 2 files changed, 2 insertions(+), 1 deletion(-) - -commit adc5910a63f209e35133c59f4466443844c9a18a -Author: Behdad Esfahbod -Date: Tue Jan 8 14:26:41 2019 -0500 - - [iter] Syntax - - src/hb-iter.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit ca6adcd1ad35932aeac4d46a191809b010636b3d -Author: Behdad Esfahbod -Date: Tue Jan 8 14:23:12 2019 -0500 - - [iter] Test hb_is_iterable / hb_is_iterator - - src/test-iter.cc | 12 ++++++++---- - 1 file changed, 8 insertions(+), 4 deletions(-) - -commit 8237809f065f41653a12c95885e3b76409c42f36 -Author: Behdad Esfahbod -Date: Mon Jan 7 22:00:45 2019 -0500 - - [serialize] Make SortedArrayOf:;serialize() take sorted-iterator - - src/hb-open-type.hh | 17 +++++++++++++++++ - src/hb-ot-cmap-table.hh | 18 +++++++++--------- - 2 files changed, 26 insertions(+), 9 deletions(-) - -commit 47333c8a304c6f57f848b5f60eea8ec85ffe2b33 -Author: Behdad Esfahbod -Date: Mon Jan 7 21:38:49 2019 -0500 - - [iter] Fix operator-> - - src/hb-iter.hh | 3 ++- - src/test-iter.cc | 3 +++ - 2 files changed, 5 insertions(+), 1 deletion(-) - -commit 177a8af380738e5be598952adbf275503bb3f5bc -Author: Behdad Esfahbod -Date: Mon Jan 7 20:20:44 2019 -0500 - - [array] SFINAE fun - - src/hb-array.hh | 2 ++ - 1 file changed, 2 insertions(+) - -commit 8414f167879c1af8ce5c80a15ba1aec2f7e436a6 -Author: Behdad Esfahbod -Date: Mon Jan 7 19:41:52 2019 -0500 - - [meta] Rename - - src/hb-meta.hh | 18 +++++++++--------- - 1 file changed, 9 insertions(+), 9 deletions(-) - -commit 8e0a58e1b3f338098d2384f2e6e0b4ad08d6c042 -Author: Behdad Esfahbod -Date: Mon Jan 7 19:03:53 2019 -0500 - - [array] Remove construction that was removing constness - - src/hb-array.hh | 2 -- - 1 file changed, 2 deletions(-) - -commit 85969e357a34691cc42c88490fc7e341175783dd -Author: Behdad Esfahbod -Date: Mon Jan 7 18:59:26 2019 -0500 - - [iter] Fix test - - src/test-iter.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit da4996183693b4acecf245c58b58d6040d92a1bf -Author: Behdad Esfahbod -Date: Mon Jan 7 18:36:14 2019 -0500 - - [iter] Remove comment - - src/hb-iter.hh | 1 - - 1 file changed, 1 deletion(-) - -commit 815cde9fa3465828030ca1ed4f32ca1df72c1f37 -Author: Behdad Esfahbod -Date: Mon Jan 7 18:33:04 2019 -0500 - - [iter] Use is_sorted_iterator - - src/hb-aat-map.hh | 2 +- - src/hb-array.hh | 4 +++ - src/hb-meta.hh | 23 +++++++++------- - src/hb-ot-layout-common.hh | 8 +++--- - src/hb-ot-layout-gsub-table.hh | 42 +++++++++++++++--------------- - src/hb-ot-map.hh | 2 +- - src/hb-ot-shape-complex-arabic-fallback.hh | 4 +-- - src/hb-set.hh | 2 +- - src/hb-vector.hh | 32 ++++++++++++++--------- - 9 files changed, 66 insertions(+), 53 deletions(-) - -commit ed4336680d3fc080f99c7dd67db48c55bcd7a020 -Author: Behdad Esfahbod -Date: Mon Jan 7 17:24:23 2019 -0500 - - [iter] Handhold hb_is_iterator() type deduction - - by partial-instantiating on Iter. - - src/hb-iter.hh | 18 +++++++++++------- - 1 file changed, 11 insertions(+), 7 deletions(-) - -commit cb5011d364904452a625cfc0485f5a713f472d07 -Author: Behdad Esfahbod -Date: Fri Jan 4 11:22:32 2019 -0500 - - Revert "[iter] Add hb_iter_of_t<>" - - This reverts commit d6cbe96e2fc7bc8f1c10e631b52b1ef31ff9a6f5. - - Isn't useful, as duplicate inheritance of same type results in ambiguity - errors... - - src/hb-iter.hh | 14 ++++++-------- - 1 file changed, 6 insertions(+), 8 deletions(-) - -commit c132cda9d98286f002d2f5b27d1d00bf80b42a9c -Author: Behdad Esfahbod -Date: Wed Jan 2 17:00:01 2019 -0500 - - [iter] Fix warnings - - src/hb-iter.hh | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -commit c9d8a07e30d05b870c3d2374853adba019601b02 -Author: Behdad Esfahbod -Date: Wed Jan 2 16:43:52 2019 -0500 - - [iter] Add hb_iter_of_t<> - - src/hb-iter.hh | 14 ++++++++------ - 1 file changed, 8 insertions(+), 6 deletions(-) - -commit b5d6fe1a452c72dd47d20c03a563321771330acc -Author: Behdad Esfahbod -Date: Wed Jan 2 16:20:40 2019 -0500 - - [iter] Remove hb_sorted_iter_t - - Not enforcing it using type hierarchy. - - src/hb-array.hh | 6 ++++-- - src/hb-iter.hh | 26 ++++---------------------- - src/hb-ot-layout-common.hh | 3 ++- - src/hb-set.hh | 3 ++- - 4 files changed, 12 insertions(+), 26 deletions(-) - -commit 255085bd599cb108779d467690b372263f304dcb -Author: Behdad Esfahbod -Date: Wed Jan 2 16:14:00 2019 -0500 - - [iter] Const correctness - - src/hb-open-type.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 415f3f4320c80d47e03fe9594a917fb2964b1144 -Author: Behdad Esfahbod -Date: Mon Dec 31 13:37:13 2018 -0500 - - Add operator= to IntType, commented out - - https://github.com/harfbuzz/harfbuzz/pull/1510 - - src/hb-open-type.hh | 1 + - 1 file changed, 1 insertion(+) - -commit 183be8f452862aaf0cdedb28d54ec114d67745b2 -Author: Behdad Esfahbod -Date: Sun Dec 30 20:58:25 2018 -0500 - - [iter] Minor - - src/hb-iter.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 6cd96ba1aca99b6eb31f8402d02c565dd4e96e03 -Author: Behdad Esfahbod -Date: Sun Dec 30 20:51:31 2018 -0500 - - [iter] Make is_random_access_iterator a constant - - We cannot rely on constexpr functions... - - src/hb-array.hh | 2 +- - src/hb-iter.hh | 11 ++++------- - src/test-iter.cc | 2 +- - 3 files changed, 6 insertions(+), 9 deletions(-) - -commit a685bfe8fc93ac1886a708687ea6fa7aa0b7c8c4 -Author: Behdad Esfahbod -Date: Sun Dec 30 20:24:21 2018 -0500 - - Separate GlyphID from HBUINT16 - - For stricter enforcement. - - src/hb-dsalgs.hh | 8 ++++---- - src/hb-open-type.hh | 2 +- - src/hb-ot-layout-common.hh | 2 +- - src/hb-ot-shape-complex-arabic-fallback.hh | 8 ++++++-- - 4 files changed, 12 insertions(+), 8 deletions(-) - -commit 8ac64d00907756333d5917db4b627619420f9260 -Author: Behdad Esfahbod -Date: Sun Dec 30 20:06:12 2018 -0500 - - [iter] Fix sorted_iter iter class - - src/hb-array.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 93615b9598f6b5e514384327b30acfd6bd8cfcfb -Author: Behdad Esfahbod -Date: Sun Dec 30 19:12:06 2018 -0500 - - [iter/meta] Add hb_is_sorted_iterator() - - src/hb-iter.hh | 16 ++++++++++++---- - 1 file changed, 12 insertions(+), 4 deletions(-) - -commit 92f25db1e86c7b79962a2eb735cd3596c302f71f -Author: Behdad Esfahbod -Date: Sun Dec 30 19:10:26 2018 -0500 - - [iter] Remove stale comment - - src/hb-iter.hh | 5 +---- - 1 file changed, 1 insertion(+), 4 deletions(-) - -commit 40c24fd4a623c5f570e657f22fb4e88cba48b02b -Author: Behdad Esfahbod -Date: Sun Dec 30 19:06:47 2018 -0500 - - [iter] Port Coverage towards iter_t instead of array_t specifics - - src/hb-ot-layout-common.hh | 12 ++++++++---- - 1 file changed, 8 insertions(+), 4 deletions(-) - -commit d552b6818c21efe9eae8b9cd72d5199dadd3724f -Author: Behdad Esfahbod -Date: Sun Dec 30 18:54:07 2018 -0500 - - [meta] Move typename around - - We'll see if bots like. - - src/hb-atomic.hh | 2 +- - src/hb-blob.hh | 2 +- - src/hb-iter.hh | 2 +- - src/hb-meta.hh | 6 +++--- - src/hb-null.hh | 6 +++--- - 5 files changed, 9 insertions(+), 9 deletions(-) - -commit f64ea8fc65b0dacc2ac3b1de97c92488b6e1b6fa -Author: Behdad Esfahbod -Date: Sun Dec 30 18:49:34 2018 -0500 - - [meta] Move code around - - src/hb-atomic.hh | 1 + - src/hb-meta.hh | 10 ++++++++++ - src/hb.hh | 14 +------------- - 3 files changed, 12 insertions(+), 13 deletions(-) - -commit aa2ab4f0617c50de2501722205d3d0eaaf808ff4 -Author: Behdad Esfahbod -Date: Sun Dec 30 18:47:47 2018 -0500 - - [iter] WHitespace - - src/hb-iter.hh | 12 ++++-------- - 1 file changed, 4 insertions(+), 8 deletions(-) - -commit 851fbb23ea552bc639269670949a9937236d96d5 -Author: Behdad Esfahbod -Date: Sun Dec 30 18:45:50 2018 -0500 - - [iter] Port Coverage::serialize to hb_is_iterator - - src/hb-open-type.hh | 2 +- - src/hb-ot-layout-common.hh | 18 ++++++++++++------ - 2 files changed, 13 insertions(+), 7 deletions(-) - -commit 06a44e2e537303ab8ed1fb761bf3885eb433a718 -Author: Behdad Esfahbod -Date: Sun Dec 30 18:42:14 2018 -0500 - - [iter/meta] Match hb_is_iterator<> using SFINAE - - By specifying Item type, which is desirable. - - src/hb-iter.hh | 28 +++++++++++----------------- - src/hb-open-type.hh | 2 +- - 2 files changed, 12 insertions(+), 18 deletions(-) - -commit bcb913efb484e971d8a76ac1a897a1724bdad58b -Author: Behdad Esfahbod -Date: Sun Dec 30 17:54:24 2018 -0500 - - Minor - - src/hb-ot-layout-common.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit fa1ae3d465fd627ea99c5eb597b85cffe04c1e34 -Author: Behdad Esfahbod -Date: Sun Dec 30 12:01:13 2018 -0500 - - Use C++11 when available - - configure.ac | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit dc0f98298eca6520efd6e05d34f9aa7847979203 -Author: Behdad Esfahbod -Date: Sun Dec 30 11:22:16 2018 -0500 - - [ci] Remove unused config for gcc 4.2 - - [skip ci] - - .circleci/config.yml | 25 ------------------------- - 1 file changed, 25 deletions(-) - -commit eaa9023634282bed5955a068f9f92b8ef1733c39 -Author: Behdad Esfahbod -Date: Sun Dec 30 11:16:14 2018 -0500 - - [ci] Disable other gcc 4.2 bot - - .circleci/config.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 859a880b083c67e767162c394e08c46367078b0b -Author: Behdad Esfahbod -Date: Sun Dec 30 02:11:03 2018 -0500 - - [iter] Add back operator + - - Too ugly to remove.. - - src/hb-iter.hh | 6 +++--- - src/test-iter.cc | 4 ++-- - 2 files changed, 5 insertions(+), 5 deletions(-) - -commit 076faf7c1803238f135034579935e6b8f10c774c -Author: Behdad Esfahbod -Date: Sun Dec 30 01:40:08 2018 -0500 - - [iter] Disable operator + - - To see if it makes bots happy... This is frustrating. - - src/hb-iter.hh | 5 +++-- - src/test-iter.cc | 5 +++-- - 2 files changed, 6 insertions(+), 4 deletions(-) - -commit a46874f1ab4b2470784c9ef688c7a8e00592165f -Author: Behdad Esfahbod -Date: Fri Dec 28 21:23:26 2018 -0500 - - [iter] Revert back uses of C++11 auto type deduction - - src/hb-ot-layout-gpos-table.hh | 2 +- - src/hb-ot-layout-gsub-table.hh | 26 +++++++++++++------------- - src/hb-ot-layout-gsubgpos.hh | 8 ++++---- - 3 files changed, 18 insertions(+), 18 deletions(-) - -commit 0828db8444d4b6922469770ca1b432356512db18 -Author: Behdad Esfahbod -Date: Fri Dec 28 21:22:26 2018 -0500 - - [iter] Rename - - src/hb-ot-layout-common.hh | 18 +++++++++--------- - 1 file changed, 9 insertions(+), 9 deletions(-) - -commit 037f735efdc77ae9c8a24527da5d9805163180a6 -Author: Behdad Esfahbod -Date: Fri Dec 28 21:09:15 2018 -0500 - - [iter] Remove friend operator +, hoping to fix some bots - - src/hb-iter.hh | 1 - - src/test-iter.cc | 1 - - 2 files changed, 2 deletions(-) - -commit cb27918d0a104c5f3884013a7dc7c99f3e3e3378 -Author: Behdad Esfahbod -Date: Fri Dec 28 20:16:44 2018 -0500 - - Use Null() instead of declval(), hoping to fix some bots - - src/hb-iter.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 3d22900f6251b4386d8a7dfd7e2118dd75f12763 -Author: Behdad Esfahbod -Date: Fri Dec 28 20:01:57 2018 -0500 - - [meta] Don't use template default arguments for functions - - That's a C++11 extension apparently... - - src/hb-meta.hh | 2 +- - src/hb-open-type.hh | 8 ++++---- - 2 files changed, 5 insertions(+), 5 deletions(-) - -commit b89d20dd9f7e0b4fad3f6c8803c73d2ace34c340 -Author: Behdad Esfahbod -Date: Fri Dec 28 16:41:04 2018 -0500 - - [meta] Fix unused-function-template warning - - src/hb-meta.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit df138da2e67ce72bec13e656e3146b21b4600c14 -Author: Behdad Esfahbod -Date: Fri Dec 28 16:29:48 2018 -0500 - - [iter/meta] Implement is_iterator - - Removes use of auto type deduction again, which was not supported on many bots. - - src/hb-iter.hh | 42 +++++++++++++++++++++++++++++++++++++++--- - src/hb-meta.hh | 4 ++-- - src/hb-open-type.hh | 13 +++++++------ - 3 files changed, 48 insertions(+), 11 deletions(-) - -commit 8570da1d741bbe6becbfd27d7bce3b2a6b78dae7 -Author: Behdad Esfahbod -Date: Fri Dec 28 14:40:30 2018 -0500 - - [meta] Minor - - src/hb-iter.hh | 4 ++-- - src/hb-null.hh | 8 ++++---- - 2 files changed, 6 insertions(+), 6 deletions(-) - -commit 442f4a58919b8e997daf5465b948975ecbe7e3df -Author: Behdad Esfahbod -Date: Fri Dec 28 14:34:00 2018 -0500 - - [meta] Move more code here - - src/hb-dsalgs.hh | 20 -------------------- - src/hb-meta.hh | 31 +++++++++++++++++++++++++++++++ - src/hb-open-type.hh | 6 +----- - 3 files changed, 32 insertions(+), 25 deletions(-) - -commit 8c6cbbdfa326d6edee4a4b5f33971ad1ecfbcd2c -Author: Behdad Esfahbod -Date: Fri Dec 28 14:29:09 2018 -0500 - - [iter/meta] Add hb_is_iterable - - src/hb-iter.hh | 26 +++++++++++++++++++++++--- - src/hb-meta.hh | 15 ++++++++++----- - src/hb-null.hh | 17 ++++++++--------- - src/hb-open-type.hh | 6 ++++-- - src/hb.hh | 2 +- - 5 files changed, 46 insertions(+), 20 deletions(-) - -commit 576d5e242028b492c2a8bbe56edeaa484b8a886a -Author: Behdad Esfahbod -Date: Thu Dec 27 18:39:39 2018 -0500 - - Don't use delegating constructors - - Not all C++11 features are created equal when it comes to support... - - src/hb-dsalgs.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit e32bf3976686c01fe9804086a8ca48aa0069b392 -Author: Behdad Esfahbod -Date: Thu Dec 27 17:38:26 2018 -0500 - - [meta] Add enable_if - - src/hb-meta.hh | 16 ++++++++++++++++ - 1 file changed, 16 insertions(+) - -commit e76a3cae0fd8cb1e716f4e55f4abbb57af49b10f -Author: Behdad Esfahbod -Date: Thu Dec 27 17:23:12 2018 -0500 - - Add hb-meta.hh for meta-programming - - src/Makefile.sources | 1 + - src/hb-dsalgs.hh | 4 ---- - src/hb-iter.hh | 1 + - src/hb-meta.hh | 40 ++++++++++++++++++++++++++++++++++++++++ - src/hb.hh | 3 ++- - 5 files changed, 44 insertions(+), 5 deletions(-) - -commit 5ec11ce13a6bf4479205f3cf2a9cc96342df7f60 -Author: Behdad Esfahbod -Date: Thu Dec 27 17:17:28 2018 -0500 - - [iter] Clarify readonly vs lvalue iterators - - lvalue iterators must declare __item_type__ as a reference. - - src/hb-array.hh | 6 +++--- - src/hb-iter.hh | 11 ++++++----- - src/hb-set.hh | 6 +++--- - src/test-iter.cc | 6 ++++-- - 4 files changed, 16 insertions(+), 13 deletions(-) - -commit 2cbf5bf3a959402a7f69b328469232b7050bae01 -Author: Behdad Esfahbod -Date: Thu Dec 27 16:55:18 2018 -0500 - - [iter] Test OT::Coverage iter - - src/hb-dsalgs.hh | 6 +++++- - src/hb-ot-layout-common.hh | 6 +++--- - src/test-iter.cc | 9 ++++++++- - 3 files changed, 16 insertions(+), 5 deletions(-) - -commit fd75d29f0f317c4fb36b093c8fabf2a7dcd28042 -Author: Behdad Esfahbod -Date: Thu Dec 27 16:29:22 2018 -0500 - - [iter] Streamline vector iterators - - src/hb-vector.hh | 15 +++++++-------- - 1 file changed, 7 insertions(+), 8 deletions(-) - -commit 570473a345a73ab05ea8e8acf88cfba9b90a81a4 -Author: Behdad Esfahbod -Date: Thu Dec 27 13:29:51 2018 -0500 - - [iter] Make hb_sorted_array_t work as iter - - Ugly, but does the job. - - src/hb-array.hh | 6 ++++-- - src/hb-iter.hh | 18 ++++++++++++++++++ - src/test-iter.cc | 2 ++ - 3 files changed, 24 insertions(+), 2 deletions(-) - -commit d6024794fb072647d8233b184c25da5def26c435 -Author: Behdad Esfahbod -Date: Thu Dec 27 09:56:41 2018 -0500 - - Change hb_void_t implementation - - src/hb-dsalgs.hh | 3 +-- - src/hb-ot-layout-gsub-table.hh | 2 +- - src/hb-ot-layout-gsubgpos.hh | 12 ++++++------ - 3 files changed, 8 insertions(+), 9 deletions(-) - -commit cde31988c26043a47e4599bf7e0d88ea67fc333f -Author: Behdad Esfahbod -Date: Thu Dec 27 09:39:34 2018 -0500 - - [iter] Mark Coverage iterator sorted - - src/hb-ot-layout-common.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 49161d411f30d06bc920f4153f5925944895cdbc -Author: Behdad Esfahbod -Date: Wed Dec 26 22:50:33 2018 -0500 - - [subset] Take iterator in ArrayOf serialize - - Still not satisfied with how I can enforce iterators only, but - seems to work for now. - - src/hb-open-type.hh | 12 +++++++----- - 1 file changed, 7 insertions(+), 5 deletions(-) - -commit e16884248f80c52cd29e39a9b27b15422d76b0f1 -Author: Behdad Esfahbod -Date: Wed Dec 26 22:27:23 2018 -0500 - - [iter] Port Coverage iterator to hb_iter_t - - src/hb-ot-layout-common.hh | 12 +++++++++--- - src/hb-ot-layout-gpos-table.hh | 2 +- - src/hb-ot-layout-gsub-table.hh | 26 +++++++++++++------------- - src/hb-ot-layout-gsubgpos.hh | 8 ++++---- - 4 files changed, 27 insertions(+), 21 deletions(-) - -commit c68bca0f953f5b7b7e15780f65a8e3da24917800 -Author: Behdad Esfahbod -Date: Wed Dec 26 22:21:58 2018 -0500 - - Add hb_pair_t<> and hb_pair() - - src/hb-dsalgs.hh | 17 +++++++++++++++++ - 1 file changed, 17 insertions(+) - -commit 8303a9b011eb2ab710371b9bd7d75693c7639bc1 -Author: Behdad Esfahbod -Date: Wed Dec 26 22:08:54 2018 -0500 - - [Coverage] Ensure increasing coverage in iteration - - src/hb-ot-layout-common.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 50cd26d3941156daefb1d9ba7f514049eed04b16 -Author: Behdad Esfahbod -Date: Wed Dec 26 22:05:25 2018 -0500 - - [Coverage] Mark iterator methods const - - src/hb-ot-layout-common.hh | 25 ++++++++++++------------- - 1 file changed, 12 insertions(+), 13 deletions(-) - -commit 9df1a6eba77e8b7319fc7724e41ceaeda70c2590 -Author: Behdad Esfahbod -Date: Wed Dec 26 20:28:41 2018 -0500 - - [iter] Use operator bool in a few places - - src/hb-ot-layout-common.hh | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - -commit 7788ac14a408e038fae9da4299fad69158c7b465 -Author: Behdad Esfahbod -Date: Wed Dec 26 20:06:10 2018 -0500 - - [iter] Remove redundant methods - - src/hb-iter.hh | 44 +++++++++++++++++--------------------------- - 1 file changed, 17 insertions(+), 27 deletions(-) - -commit 3dea9affdaa063c01d67d6697df1f16c62f55c9a -Author: Behdad Esfahbod -Date: Wed Dec 26 19:56:37 2018 -0500 - - [iter] Test default-constructability - - src/test-iter.cc | 2 ++ - 1 file changed, 2 insertions(+) - -commit 743ff09368f223c56beeda9b72b0520766130322 -Author: Behdad Esfahbod -Date: Wed Dec 26 19:54:52 2018 -0500 - - [iter] Implement friend opeator + (int, iter) - - src/hb-iter.hh | 1 + - src/test-iter.cc | 1 + - 2 files changed, 2 insertions(+) - -commit 6dc4a1c9b1f6aa38bca094d251154f9e51049d4d -Author: Behdad Esfahbod -Date: Wed Dec 26 19:49:13 2018 -0500 - - [iter] Remove const_iter - - src/hb-iter.hh | 2 -- - src/hb-set.hh | 14 ++++++-------- - src/hb-vector.hh | 6 +++--- - 3 files changed, 9 insertions(+), 13 deletions(-) - -commit d12b80c05a2673c4e4bf2337e2cd4f3100e9f88b -Author: Behdad Esfahbod -Date: Wed Dec 26 19:15:21 2018 -0500 - - [ci] Disable macos-llvm-gcc-4.2 again - - Not C++11. - - .circleci/config.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit f2b56af3ef721ce3961bea7d2ee8b6dba6f3fbf2 -Author: Behdad Esfahbod -Date: Wed Dec 26 19:14:39 2018 -0500 - - [iter] Remove hack for older compilers - - src/hb-iter.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 2ea79e0340c01d58ebeeaab9d31ffdd64250a24b -Author: Behdad Esfahbod -Date: Wed Dec 26 19:01:46 2018 -0500 - - [iter] Minor - - src/test-iter.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit fb053b633351afe2012ece0874a8ac15d504a15c -Author: Behdad Esfahbod -Date: Wed Dec 26 19:01:30 2018 -0500 - - [iter] Rename random_access() to constexpr is_random_access() - - src/hb-iter.hh | 4 ++-- - src/test-iter.cc | 2 ++ - 2 files changed, 4 insertions(+), 2 deletions(-) - -commit 2790aad28ce58acf0077e02921332120325edb4c -Author: Behdad Esfahbod -Date: Wed Dec 26 18:58:42 2018 -0500 - - [iter] Add operator -> - - src/hb-iter.hh | 2 ++ - src/hb.hh | 2 +- - 2 files changed, 3 insertions(+), 1 deletion(-) - -commit d3976b7e63559b87ef34abc62acf5033f3369197 -Author: Behdad Esfahbod -Date: Wed Dec 26 18:54:27 2018 -0500 - - [iter] Make them work, mostly - - src/hb-iter.hh | 11 ++++++++--- - src/hb-set.hh | 18 ++++++++++-------- - src/test-iter.cc | 25 +++++++++++++++++++++++++ - 3 files changed, 43 insertions(+), 11 deletions(-) - -commit 959bb58bdda8e78690789441e07cf22a99113c53 -Author: Behdad Esfahbod -Date: Wed Dec 26 18:54:15 2018 -0500 - - [vector] Add iterator - - src/hb-vector.hh | 10 ++++++++-- - 1 file changed, 8 insertions(+), 2 deletions(-) - -commit 6fc6a141e6d68955310d15c91f6e3d061f7221fb -Author: Behdad Esfahbod -Date: Sun Jan 20 20:09:10 2019 -0500 - - Remove wrongly added files - - test/api/test-ot-extents-cff | Bin 8574336 -> 0 bytes - .../test-ot-extents-cff.dSYM/Contents/Info.plist | 20 -------------------- - .../Contents/Resources/DWARF/test-ot-extents-cff | Bin 7650053 -> 0 bytes - 3 files changed, 20 deletions(-) - -commit dd7c628ed122f858be9ad08c184c87ff31f2ec2d -Author: Behdad Esfahbod -Date: Sun Jan 20 19:51:08 2019 -0500 - - Use enum for class constant - - src/hb-cff-interp-common.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit cf7edf52c3cb38989af20b196a69bf099a1681d6 -Author: Behdad Esfahbod -Date: Sun Jan 20 19:49:59 2019 -0500 - - [CFF] Use enum for tableTag - - src/hb-ot-cff1-table.hh | 2 +- - src/hb-ot-cff2-table.hh | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit bd1318b8ccf08d5f9241851dbb689c7dac717f0a -Author: Behdad Esfahbod -Date: Sun Jan 20 19:47:52 2019 -0500 - - Use static constexpr for large class constants - - src/hb-map.hh | 2 +- - src/hb-set.hh | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit 043b610fa698ed247347dfaa042f032f3fd3f572 -Author: Behdad Esfahbod -Date: Sat Jan 19 09:20:46 2019 -0500 - - Fix sign compare warnings - - ../../third_party/harfbuzz-ng/src/src/hb-map.hh(56,45): warning: comparison of integers of different signs: 'const hb_codepoint_t' (aka 'const unsigned int') and 'hb_map_t::(anonymous enum at ../../third_party/harfbuzz-ng/src/src/hb-map.hh:169:3)' [-Wsign-compare] - bool is_unused () const { return key == INVALID; } - - src/hb-map.hh | 2 +- - src/hb-set.hh | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit ce317d032061d81c520180a338172ce38b427135 -Author: Behdad Esfahbod -Date: Sat Jan 19 09:18:03 2019 -0500 - - Fix warning - - warning: '_WIN64' is not defined, evaluates to 0 [-Wundef] - - src/hb-dsalgs.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 0c2bd1b160fda4e77919889ac80f9460967fa251 -Author: Ebrahim Byagowi -Date: Sat Jan 19 16:30:07 2019 +0330 - - [dwrite] Fix delete-non-virtual-dtor warning (#1550) - - src/hb-directwrite.cc | 4 ++++ - 1 file changed, 4 insertions(+) - -commit 89bcfb204c736f5962d377896af2c1350f179882 -Author: Behdad Esfahbod -Date: Fri Jan 18 14:59:18 2019 -0500 - - Remove TRACE_COLLECT_GLYPHS - - src/hb-debug.hh | 13 ------------- - src/hb-ot-layout-gpos-table.hh | 26 ++++---------------------- - src/hb-ot-layout-gsub-table.hh | 21 +++------------------ - src/hb-ot-layout-gsubgpos.hh | 12 +----------- - 4 files changed, 8 insertions(+), 64 deletions(-) - -commit f13b6786f0aefd2060ca976f7e42db7387b49450 -Author: Behdad Esfahbod -Date: Fri Jan 18 14:53:54 2019 -0500 - - [pragma] Only add if GCC or clang - - src/hb.hh | 3 +++ - 1 file changed, 3 insertions(+) - -commit c2ea7a9da463c567d321233b23813c59762841bb -Author: Behdad Esfahbod -Date: Fri Jan 18 13:45:33 2019 -0500 - - [directwrite] More fix - - src/hb-directwrite.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 9714d3ec5c45b2fe460fa6b21bdb3487c62029d3 -Author: Ebrahim Byagowi -Date: Fri Jan 18 21:55:21 2019 +0330 - - [dwrite] Try to fix delete-non-virtual-dtor warnings - - Fixes #1548 hopefully - - src/hb-directwrite.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 0772c06f96c3f5a319485c390416531b8125251b -Author: Behdad Esfahbod -Date: Fri Jan 18 12:53:06 2019 -0500 - - Remove tracing from closure - - src/hb-debug.hh | 13 ------------- - src/hb-ot-layout-gsub-table.hh | 15 ++------------- - src/hb-ot-layout-gsubgpos.hh | 14 +------------- - 3 files changed, 3 insertions(+), 39 deletions(-) - -commit d9f6be3a61edfe9e1bce01ea9b11e2bcb16f9618 -Author: Behdad Esfahbod -Date: Fri Jan 18 12:48:01 2019 -0500 - - Fix -Wundef errors with __GNUC__ - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1549 - - src/hb-common.h | 4 ++-- - src/hb.hh | 10 +++++----- - 2 files changed, 7 insertions(+), 7 deletions(-) - -commit 28917e58f973e5875d3ef3004c16e1ee1a5a973c -Author: Michiharu Ariza -Date: Fri Jan 18 09:43:51 2019 -0800 - - init interp_env_t::hintmask_size - - fixes issue #1547 - - src/hb-cff-interp-cs-common.hh | 1 + - test/api/test-ot-extents-cff | Bin 0 -> 8574336 bytes - .../test-ot-extents-cff.dSYM/Contents/Info.plist | 20 ++++++++++++++++++++ - .../Contents/Resources/DWARF/test-ot-extents-cff | Bin 0 -> 7650053 bytes - 4 files changed, 21 insertions(+) - -commit 9b4e51b2e44d7dea026b1f9201d2f83277bab1cf -Author: Behdad Esfahbod -Date: Fri Jan 18 12:23:02 2019 -0500 - - [pragma] Enable error -Wdelete-non-virtual-dtor - - Currently fails directwrite backend. - - src/hb.hh | 1 + - 1 file changed, 1 insertion(+) - -commit e65272281c71d416f0ff886a55536597665b9dc3 -Author: Behdad Esfahbod -Date: Fri Jan 18 12:22:07 2019 -0500 - - [directwrite] Fix error - - hb-directwrite.cc: In constructor 'TextAnalysis::TextAnalysis(const wchar_t*, uint32_t, const wchar_t*, DWRITE_READING_DIRECTION)': - hb-directwrite.cc:489:18: error: 'TextAnalysis::mText' will be initialized after [-Werror=reorder] - const wchar_t* mText; - ^~~~~ - hb-directwrite.cc:488:12: error: 'uint32_t TextAnalysis::mTextLength' [-Werror=reorder] - uint32_t mTextLength; - ^~~~~~~~~~~ - hb-directwrite.cc:282:3: error: when initialized here [-Werror=reorder] - TextAnalysis (const wchar_t* text, uint32_t textLength, - ^~~~~~~~~~~~ - hb-directwrite.cc: In function 'hb_bool_t _hb_directwrite_shape_full(hb_shape_plan_t*, hb_font_t*, hb_buffer_t*, const hb_feature_t*, unsigned int, float)': - - src/hb-directwrite.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit b900f78088abb87ebec263474b2802593afa0264 -Author: Behdad Esfahbod -Date: Fri Jan 18 10:08:23 2019 -0500 - - [pragma] More cast-align whitelist - - src/hb-font.cc | 20 +++++++++++++++----- - src/hb-ft.cc | 6 ++++++ - src/hb-ot-cmap-table.hh | 3 +++ - src/hb-ot-font.cc | 6 ++++++ - 4 files changed, 30 insertions(+), 5 deletions(-) - -commit 0d8b931bbeee9743d2e3bd37dd2fa9dffb807eaa -Author: Behdad Esfahbod -Date: Fri Jan 18 10:03:43 2019 -0500 - - [pragma] Allow cast-align in hb-font.cc - - ../src/hb-machinery.hh: In instantiation of 'const Type& StructAtOffset(const void*, unsigned int) [with Type = unsigned int]': - ../src/hb-font.cc:144:85: required from here - ../src/hb-machinery.hh:63:12: error: cast from 'const char*' to 'const unsigned int*' increases required alignment of target type [-Werror=cast-align] - { return * reinterpret_cast ((const char *) P + offset); } - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ../src/hb-machinery.hh: In instantiation of 'Type& StructAtOffset(void*, unsigned int) [with Type = unsigned int]': - ../src/hb-font.cc:145:79: required from here - ../src/hb-machinery.hh:66:12: error: cast from 'char*' to 'unsigned int*' increases required alignment of target type [-Werror=cast-align] - { return * reinterpret_cast ((char *) P + offset); } - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ../src/hb-machinery.hh: In instantiation of 'Type& StructAtOffset(void*, unsigned int) [with Type = int]': - - src/hb-font.cc | 5 +++++ - 1 file changed, 5 insertions(+) - -commit a25174a56b8fc334a050aa63be3654f53a7d8893 -Author: Behdad Esfahbod -Date: Fri Jan 18 09:59:36 2019 -0500 - - [pragma] GCC diagnostic error "-Wreorder" - - src/hb.hh | 1 + - 1 file changed, 1 insertion(+) - -commit 4660090569efbf64d3acc99ef6fa33e01abc9701 -Author: Behdad Esfahbod -Date: Fri Jan 18 09:53:16 2019 -0500 - - [pragma] GCC diagnostic warning "-Wmaybe-uninitialized" - - src/hb.hh | 1 + - 1 file changed, 1 insertion(+) - -commit 7a634d7d5b859eb1121acd0b17c727c541a7f540 -Author: Behdad Esfahbod -Date: Fri Jan 18 09:49:14 2019 -0500 - - [pragma] Massage more - - src/hb.hh | 106 ++++++++++++++++++++++++++++++++------------------------------ - 1 file changed, 55 insertions(+), 51 deletions(-) - -commit 16e5ba85b1822ff9d2b2f85f45ddd44f1a05f4b1 -Author: Behdad Esfahbod -Date: Fri Jan 18 09:46:17 2019 -0500 - - [pragma] More - - src/hb.hh | 17 ++++++++++++++++- - 1 file changed, 16 insertions(+), 1 deletion(-) - -commit 2bd530d59883cce437a5093323625f94b9618d89 -Author: Behdad Esfahbod -Date: Fri Jan 18 09:28:22 2019 -0500 - - [pragma] Reorg again - - https://github.com/harfbuzz/harfbuzz/issues/1546 - - src/hb.hh | 91 ++++++++++++++++++++++++++++++++------------------------------- - 1 file changed, 46 insertions(+), 45 deletions(-) - -commit c04272fac81cac48b6310182d58d54569117f298 -Author: Behdad Esfahbod -Date: Fri Jan 18 08:49:45 2019 -0500 - - [pragma] GCC diagnostic ignored "-Wunknown-warning-option" - - Try at fixing https://github.com/harfbuzz/harfbuzz/issues/1546 - - src/hb.hh | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 4d3c8f9685b1744077ab264ffc0e0457d63c4b9a -Author: Behdad Esfahbod -Date: Thu Jan 17 19:58:54 2019 -0500 - - [uniscribe] More warnings - - src/hb-uniscribe.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 6a5d2b21d8457001a59537e85596461feba3dbd5 -Author: Behdad Esfahbod -Date: Thu Jan 17 19:57:17 2019 -0500 - - [uniscribe] Fix warnings - - src/hb-uniscribe.cc | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 5b13e458c34d16fef6540a9389225e0597a99df5 -Author: Behdad Esfahbod -Date: Thu Jan 17 19:52:32 2019 -0500 - - Fix build - - src/hb-directwrite.cc | 1 - - 1 file changed, 1 deletion(-) - -commit a77bd6bb8960ecff35aac07f221653c65d08e58e -Author: Behdad Esfahbod -Date: Thu Jan 17 19:33:41 2019 -0500 - - [pragma] GCC diagnostic ignored "-Wclass-memaccess" - - src/hb.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit e1302842d9c589ccbed90d29c953fea503d3901f -Author: Behdad Esfahbod -Date: Thu Jan 17 19:12:07 2019 -0500 - - [ci] Remove unnecessary warning declarations - - clang -Weverything still left to be ported to pragmas - - .circleci/config.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 436c7b294ab12ae338aaa879fe4280caae6c6155 -Author: Behdad Esfahbod -Date: Thu Jan 17 19:03:33 2019 -0500 - - [pragma] ignored -Wunsafe-loop-optimizations // TODO fix - - src/hb.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit e3b3181e9ddd8b76428d7eaca64a3e03a99fcdd5 -Author: Behdad Esfahbod -Date: Thu Jan 17 19:02:06 2019 -0500 - - [pragma] error -Wclass-memaccess - - src/hb.hh | 1 + - 1 file changed, 1 insertion(+) - -commit 1a6b97a491f2ba4f84e52c89517b7a02faa70cc3 -Author: Behdad Esfahbod -Date: Thu Jan 17 18:55:03 2019 -0500 - - [pragma] More - - src/hb.hh | 11 ++++++++++- - 1 file changed, 10 insertions(+), 1 deletion(-) - -commit 06e8091661352873c4d6040fd06a940136497e6f -Author: Behdad Esfahbod -Date: Thu Jan 17 18:47:32 2019 -0500 - - [pragma] More - - src/hb.hh | 18 +++++++++++++++++- - 1 file changed, 17 insertions(+), 1 deletion(-) - -commit 1077e40bf12f998976df4bf509c69df9f9e2a590 -Author: Behdad Esfahbod -Date: Thu Jan 17 18:36:10 2019 -0500 - - [pragma] Flesh out more - - src/hb.hh | 22 +++++++++++++++++----- - 1 file changed, 17 insertions(+), 5 deletions(-) - -commit 7e6bd510fc695c423a7fa6b25c15805482f7d185 -Author: Behdad Esfahbod -Date: Thu Jan 17 18:24:18 2019 -0500 - - Use NNOffsetTo<> in rest of places - - src/hb-aat-layout-common.hh | 8 ++++---- - src/hb-aat-layout-kerx-table.hh | 22 +++++++++++----------- - src/hb-aat-layout-morx-table.hh | 10 +++++----- - 3 files changed, 20 insertions(+), 20 deletions(-) - -commit b1152d5e66d7463a30af8ca2a485f75e0c8e6ffd -Author: Behdad Esfahbod -Date: Thu Jan 17 18:17:04 2019 -0500 - - Use NNOffsetTo<> - - src/hb-aat-layout-ankr-table.hh | 6 +++--- - src/hb-aat-layout-trak-table.hh | 2 +- - src/hb-aat-ltag-table.hh | 2 +- - src/hb-open-file.hh | 10 +++++----- - src/hb-ot-cff2-table.hh | 6 +++--- - src/hb-ot-color-cbdt-table.hh | 2 +- - src/hb-ot-color-colr-table.hh | 4 ++-- - src/hb-ot-color-cpal-table.hh | 8 ++++---- - src/hb-ot-color-svg-table.hh | 2 +- - src/hb-ot-name-table.hh | 2 +- - src/hb-ot-stat-table.hh | 4 ++-- - 11 files changed, 24 insertions(+), 24 deletions(-) - -commit 205d72a198805ba276c1d0e63b1ca313c7bd517f -Author: Behdad Esfahbod -Date: Thu Jan 17 18:10:38 2019 -0500 - - Add NNOffsetTo<> - - src/hb-open-type.hh | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -commit c99d13d860e3d34e16cd2c070070d4f5d7d58cf4 -Author: Behdad Esfahbod -Date: Thu Jan 17 17:56:27 2019 -0500 - - [AAT] Comment - - src/hb-aat-layout-common.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit f39b5603ffa0452528b2366f8641e7e770960847 -Author: Behdad Esfahbod -Date: Thu Jan 17 17:49:55 2019 -0500 - - Comment - - src/hb-ot-layout-gpos-table.hh | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 347ad454b88b89fc4bc30fca86c9ca37bea0be5b -Author: Behdad Esfahbod -Date: Thu Jan 17 17:47:29 2019 -0500 - - [AAT] Remove unused code - - src/hb-aat-layout-ankr-table.hh | 3 +-- - src/hb-aat-layout-common.hh | 3 +-- - src/hb-aat-layout-kerx-table.hh | 6 ++---- - src/hb-aat-layout.cc | 14 +++----------- - 4 files changed, 7 insertions(+), 19 deletions(-) - -commit b344d4385af5bc9adac2a24850cb963929d4ae9e -Author: Behdad Esfahbod -Date: Thu Jan 17 17:44:39 2019 -0500 - - [AAT] Allow null in ankr lookupTable offset - - src/hb-aat-layout-ankr-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 14a560a245109376b7314c949895968d0a54452c -Author: Behdad Esfahbod -Date: Thu Jan 17 17:42:44 2019 -0500 - - [pragma GCC] Ignore -Wtype-limits - - src/hb.hh | 1 + - 1 file changed, 1 insertion(+) - -commit 41b4312e936a0dfc396e6f0ef13c2c691dac6e40 -Author: Behdad Esfahbod -Date: Thu Jan 17 16:07:27 2019 -0500 - - [ci] Remove -Werror from Travis - - hb-machinery.hh:111:37: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits] - - Also ignore -Wtype-limits. - - .travis.yml | 2 -- - 1 file changed, 2 deletions(-) - -commit 3f2daae63073bd536bceb1ae71dffd3187afce11 -Author: Behdad Esfahbod -Date: Thu Jan 17 15:27:31 2019 -0500 - - More GCC pragmas - - src/hb.hh | 2 ++ - 1 file changed, 2 insertions(+) - -commit d6c5473e1f86cae7f1060abe18f73ccb8e536d6c -Author: Behdad Esfahbod -Date: Thu Jan 17 15:22:46 2019 -0500 - - Rename macro - - src/hb.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit a9946b7cfef185d53304e804169d6e53e9d522a0 -Author: Behdad Esfahbod -Date: Thu Jan 17 15:22:28 2019 -0500 - - Add more GCC warning pragmas - - src/hb.hh | 6 ++++++ - 1 file changed, 6 insertions(+) - -commit 868b0c0c2e2f1a2dea9b0d3c8eb6e56ded8b1a14 -Author: Behdad Esfahbod -Date: Thu Jan 17 15:08:36 2019 -0500 - - Move -Wcast-align to hb.hh - - configure.ac | 3 --- - src/hb.hh | 4 ++++ - 2 files changed, 4 insertions(+), 3 deletions(-) - -commit 8874eef8ff70de6416266d719fa74eec39e5d8f9 -Author: Behdad Esfahbod -Date: Thu Jan 17 15:04:44 2019 -0500 - - Add pragram GCC diagnostic ignored "-Wunused-macros" - - src/gen-indic-table.py | 3 +++ - src/gen-use-table.py | 3 +++ - src/hb-blob.cc | 3 +++ - src/hb-ot-shape-complex-indic-table.cc | 3 +++ - src/hb-ot-shape-complex-use-table.cc | 3 +++ - 5 files changed, 15 insertions(+) - -commit cc8e9a436fa408a1c63f4b9afb7643cea76a079c -Author: Behdad Esfahbod -Date: Thu Jan 17 14:54:32 2019 -0500 - - [AAT] Fully sanitize ankr table at sanitize time - - Third try to fix access. Followup 6879efc2c1596d11a6a6ad296f80063b558d5e0f - - Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=12532 - Fixes https://bugs.chromium.org/p/chromium/issues/detail?id=922303 - - src/hb-aat-layout-ankr-table.hh | 13 ++++--------- - 1 file changed, 4 insertions(+), 9 deletions(-) - -commit 6879efc2c1596d11a6a6ad296f80063b558d5e0f -Author: Behdad Esfahbod -Date: Thu Jan 17 14:06:37 2019 -0500 - - [AAT] Fix anchor bound checking, again - - Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=12532 - Fixes https://bugs.chromium.org/p/chromium/issues/detail?id=922303 - - src/hb-aat-layout-ankr-table.hh | 3 ++- - ...zz-testcase-minimized-harfbuzz_fuzzer-5166320261529600 | Bin 0 -> 393 bytes - ...zz-testcase-minimized-hb-shape-fuzzer-5667182741028864 | Bin 0 -> 407 bytes - 3 files changed, 2 insertions(+), 1 deletion(-) - -commit a262eb3d0b7009aabd9e0beebc77e5c0a2a65548 -Author: Behdad Esfahbod -Date: Thu Jan 17 14:06:32 2019 -0500 - - [aat] Minor - - src/hb-aat-layout-kerx-table.hh | 16 ++++++++-------- - 1 file changed, 8 insertions(+), 8 deletions(-) - -commit c986ca15a6320d78471adf950394f391e8729b15 -Author: Behdad Esfahbod -Date: Tue Jan 15 13:58:19 2019 -0500 - - Improve overflow avoidance - - Better fix for 480406cd3ef9e5ab8476ddfa04498bf23906c508 - This way we behave the same on 32bit and 64bit archs. - - src/hb-machinery.hh | 10 +++------- - 1 file changed, 3 insertions(+), 7 deletions(-) - -commit f401f85a5a3ec4ab9c28012a0bfe713d7ee96951 -Author: Tor Arne Vestbø -Date: Mon Dec 17 00:48:35 2018 +0100 - - Remove assumption about Core Text working in 96 DPI - - Core Text doesn't actually have a concept of DPI internally, as it - doesn't rasterize anything by itself, it just generates vector paths - that get passed along to Core Graphics. - - In practice this means Core Text operates in the classical macOS - logical DPI of 72, with one typographic point corresponding to one - point in the Core Graphics coordinate system, which for a normal - bitmap context then corresponds to one pixel -- or two pixels for - a "retina" context with a 2x scale transform. - - Scaling the font point sizes given to HarfBuzz to an assumed DPI - of 96 is problematic with this in mind, as fonts with optical - features such as 'trak' tables for tracking, or color glyphs, - will then base the metrics off of the wrong point size compared - to what the client asked for. - - This in turn causes mismatches between the metrics of the shaped - text and the actual rasterization, which doesn't include the 72 - to 96 DPI scaling. - - If a 96 DPI is needed, such as on the Web, the scaling should be - done outside of HarfBuzz, allowing the client to keep the DPI of - the shaping in sync with the rasterization. - - The recommended way to do that is by scaling the font point size, - not by applying a transform to the target Core Graphics context, - to let Core Text choose the right optical features of the target - point size, as described in WWDC 2015 session 804: - - https://developer.apple.com/videos/play/wwdc2015/804/ - - src/hb-aat-layout-trak-table.hh | 11 ++--------- - src/hb-coretext.cc | 25 ++++--------------------- - test/shaping/data/in-house/tests/aat-trak.tests | 14 +++++++------- - test/shaping/data/in-house/tests/macos.tests | 4 ++-- - 4 files changed, 15 insertions(+), 39 deletions(-) - -commit 0d2727f4fe734af146785df10a44e3505e410ba1 -Author: Behdad Esfahbod -Date: Mon Jan 14 18:23:17 2019 -0800 - - fix FDSelect fuzzing bug (#1539) - - Rewrote struct FDSelect3_4.ranges as ArrayOf - Updated FDSelect3_4::sanitize () to call ranges.sanitize () - nRanges now a function to return a reference to ranges.len - - src/hb-ot-cff-common.hh | 29 +++++++++++++++-------------- - src/hb-subset-cff-common.cc | 2 +- - 2 files changed, 16 insertions(+), 15 deletions(-) - -commit 9f6172d669d53abbf3bf2a3546429cb5036e3d5f -Author: Behdad Esfahbod -Date: Mon Jan 14 20:45:31 2019 -0500 - - Move _POSIX_SOURCE definition - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1308 - - src/hb-blob.cc | 9 +++++++++ - src/hb.hh | 4 ---- - 2 files changed, 9 insertions(+), 4 deletions(-) - -commit 91d774712fa76dd26c441526712bddddca5b4bdd -Author: Behdad Esfahbod -Date: Mon Jan 14 15:31:31 2019 -0500 - - [test] Add test for previous commit - - ...uzz-testcase-minimized-harfbuzz_fuzzer-5662548265009152 | Bin 0 -> 28 bytes - 1 file changed, 0 insertions(+), 0 deletions(-) - -commit 480406cd3ef9e5ab8476ddfa04498bf23906c508 -Author: Behdad Esfahbod -Date: Mon Jan 14 15:27:34 2019 -0500 - - Fix assertion on address overflow - - Fixes https://bugs.chromium.org/p/chromium/issues/detail?id=917031 - - src/hb-machinery.hh | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit 7a6686a589ed6bf17a5af0b8012501e4d4ee2ded -Author: Behdad Esfahbod -Date: Mon Jan 14 15:09:14 2019 -0500 - - [AAT] Fix mort ContextualSubtable offset access - - Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=12312 - - src/hb-aat-layout-morx-table.hh | 3 ++- - ...zz-testcase-minimized-hb-shape-fuzzer-5631444412530688 | Bin 0 -> 336 bytes - 2 files changed, 2 insertions(+), 1 deletion(-) - -commit a3fa7d33360a58df5333dbbd121328e580f08849 -Author: Behdad Esfahbod -Date: Mon Jan 14 14:37:36 2019 -0500 - - [AAT] Fix ankr table access - - Fixes https://bugs.chromium.org/p/chromium/issues/detail?id=918340 - - src/hb-aat-layout-ankr-table.hh | 7 ++++--- - ...z-testcase-minimized-harfbuzz_fuzzer-5126525414014976 | Bin 0 -> 1141 bytes - 2 files changed, 4 insertions(+), 3 deletions(-) - -commit 760303d411b1561533f8f08c7c15db331c71ece8 -Author: Michiharu Ariza -Date: Fri Jan 11 15:27:35 2019 -0800 - - deleted a duplicate fontdicts_mod.fini() call (#1538) - - src/hb-subset-cff1.cc | 1 - - 1 file changed, 1 deletion(-) - -commit 5110f3da9a4711a35bfb780ea06cda677cc00209 -Author: Ebrahim Byagowi -Date: Wed Jan 9 16:01:11 2019 +0330 - - Add an initial .clang-format config - - There are things can be improved on clang-format side I guess before - the full assertion, but is the best we can get for now I guess. - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1536 - - .clang-format | 38 ++++++++++++++++++++++++++++++++++++++ - 1 file changed, 38 insertions(+) - -commit 099bca6d406af9c8e12a66b93fcc9a38ff7914f9 -Author: Ebrahim Byagowi -Date: Wed Jan 9 15:56:32 2019 +0330 - - Minor, hack .editorconfig for vscode use - - As VSCode and Atom https://github.com/Microsoft/vscode/issues/44438 don't support it - - .editorconfig | 7 +++++-- - 1 file changed, 5 insertions(+), 2 deletions(-) - -commit 7b48641aa8551115d21c534940ac4fb364e5ab92 -Author: Michiharu Ariza -Date: Tue Jan 8 12:37:48 2019 -0800 - - fix leak in subset_enc_supp_codes (#1537) - - oss-fuzz issue 12310 - - src/hb-subset-cff1.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 97f67a3c3d499959d33e66aeed449e2957a14bc6 -Author: Ebrahim Byagowi -Date: Fri Jan 4 23:10:39 2019 +0330 - - [ci] Enable more of GCC compile warnings (#1533) - - .circleci/config.yml | 16 ++++++++-------- - src/hb-gobject-structs.cc | 4 ++-- - 2 files changed, 10 insertions(+), 10 deletions(-) - -commit ad954870383a880262edcd01acd8e171c4614a68 -Author: Nathan Willis -Date: Mon Dec 3 12:49:44 2018 -0600 - - Usermanual: small formatting and wording fixes. - - docs/usermanual-getting-started.xml | 3 +++ - docs/usermanual-install-harfbuzz.xml | 30 ++++++++++++++---------------- - docs/usermanual-what-is-harfbuzz.xml | 11 ++++++----- - 3 files changed, 23 insertions(+), 21 deletions(-) - -commit ed13caddf2de68312608e12c37d0e6287c1ac0a0 -Author: Nathan Willis -Date: Wed Nov 28 13:48:38 2018 -0600 - - Usermanual: small updates. - - ...anual-buffers-language-script-and-direction.xml | 7 +- - docs/usermanual-clusters.xml | 279 ++++++++++++++++----- - docs/usermanual-getting-started.xml | 91 ++++++- - docs/usermanual-install-harfbuzz.xml | 3 +- - docs/usermanual-shaping-concepts.xml | 11 +- - 5 files changed, 314 insertions(+), 77 deletions(-) - -commit 26c5b54fb09fb45e02c9c4618bcea4958c698953 -Author: cclauss -Date: Mon Dec 31 04:30:43 2018 +0100 - - CircleCI: Test for Python 3 syntax errors and undefined names (#1522) - - Catch missing imports and errors like #1520 and #1521 - - __E901,E999,F821,F822,F823__ are the "_showstopper_" [flake8](http://flake8.pycqa.org) issues that can halt the runtime with a SyntaxError, NameError, etc. Most other flake8 issues are merely "style violations" -- useful for readability but they do not effect runtime safety. - * F821: undefined name `name` - * F822: undefined name `name` in `__all__` - * F823: local variable name referenced before assignment - * E901: SyntaxError or IndentationError - * E999: SyntaxError -- failed to compile a file into an Abstract Syntax Tree - - .circleci/config.yml | 3 ++- - src/gen-use-table.py | 4 +++- - test/subset/subset_test_suite.py | 2 +- - 3 files changed, 6 insertions(+), 3 deletions(-) - -commit 686e6f2e40da378e031b4c9871a471599c6d61cf -Author: Behdad Esfahbod -Date: Sun Dec 30 11:27:42 2018 -0500 - - Fix automake warnings - - [skip ci] - - test/api/Makefile.am | 1 - - test/subset/data/Makefile.am | 2 +- - 2 files changed, 1 insertion(+), 2 deletions(-) - -commit b5c12b9f4d2c32a5013c340f7e40649cb5f2b41a -Author: cclauss -Date: Sun Dec 30 13:07:28 2018 +0100 - - print() is a function in Python 3 (#1520) - - test/subset/generate-expected-outputs.py | 8 +++++--- - 1 file changed, 5 insertions(+), 3 deletions(-) - -commit f4da28b1f153ccf293b367363a1a4d83c056e4e1 -Author: cclauss -Date: Sun Dec 30 12:58:34 2018 +0100 - - Python 3 fixes to gen-os2-unicode-ranges.py (#1521) - - In Python 3, __reload()__ was moved and __sys.setdefaultencoding()__ because the default is already utf-8. Also __Error()__ is an _undefined name_ and __Exception()__ creates a generic exception. - - src/gen-os2-unicode-ranges.py | 11 +++++++---- - 1 file changed, 7 insertions(+), 4 deletions(-) - -commit e5989e0962309b27b2486d8fd20f3cbc05c3d79a -Author: Ebrahim Byagowi -Date: Sun Dec 30 10:23:47 2018 +0330 - - [cmake] Enable C++11 on CMake (#1519) - - CMakeLists.txt | 10 +++++++++- - 1 file changed, 9 insertions(+), 1 deletion(-) - -commit d092fb27198f24423e51ce07375ebd6d486f64d3 -Author: Behdad Esfahbod -Date: Sun Dec 30 01:53:03 2018 -0500 - - Ouch! Fix build on C++<11 - - src/hb.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 89949ed28db96edabeb09433fcc09f28168163d2 -Author: Behdad Esfahbod -Date: Sun Dec 30 01:52:19 2018 -0500 - - Fix ubsan with passing nullptr to qsort() - - src/hb-array.hh | 9 ++++++--- - 1 file changed, 6 insertions(+), 3 deletions(-) - -commit 357a0a7ad344caf898eb1697fcdb859d118b7a13 -Author: Behdad Esfahbod -Date: Thu Dec 27 18:29:23 2018 -0500 - - Fix build on C++ < 11 - - src/hb.hh | 1 + - 1 file changed, 1 insertion(+) - -commit 54c0a1731069a17ae4f3b79b419af75709f03f5b -Author: Behdad Esfahbod -Date: Thu Dec 27 18:27:36 2018 -0500 - - [vector] Fix warning - - src/hb-vector.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 1043ddbee878a14df0ad8d83fbaa893370ef5a75 -Author: Behdad Esfahbod -Date: Thu Dec 27 18:27:11 2018 -0500 - - [aat] Minor - - src/hb-aat-layout-morx-table.hh | 2 +- - src/hb-aat-map.hh | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit 71da9ca62fa87bd3e0fa9d40924bb4c220313a03 -Author: Behdad Esfahbod -Date: Thu Dec 27 18:01:06 2018 -0500 - - [vector] Remove use of arrayZ() by using casts - - src/hb-ot-name-table.hh | 2 +- - src/hb-ot-name.cc | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit fa333e34d6230210bc73a88b0ba6df2102dcda51 -Author: Behdad Esfahbod -Date: Thu Dec 27 17:56:22 2018 -0500 - - [vector] Remove static_array - - Was good idea, but with C++ types with constructor/destructor, was getting in - the way as compiler was destructing those items where it was not desired. - Since C++ does not allow zero-sized arrays, just remove it... - - src/hb-aat-map.hh | 4 ++-- - src/hb-cff-interp-common.hh | 2 +- - src/hb-face.cc | 2 +- - src/hb-object.hh | 2 +- - src/hb-ot-cff-common.hh | 2 +- - src/hb-ot-layout-gsubgpos.hh | 2 +- - src/hb-ot-map.hh | 10 +++++----- - src/hb-ot-post-table.hh | 2 +- - src/hb-set.hh | 4 ++-- - src/hb-vector.hh | 34 +++++++++++----------------------- - src/hb.hh | 3 +++ - 11 files changed, 29 insertions(+), 38 deletions(-) - -commit ab2258a419abbace9ff27916143b46f88e8ccef3 -Author: Behdad Esfahbod -Date: Thu Dec 27 17:45:05 2018 -0500 - - [vector] Use allocated = -1 to signify failure - - src/hb-vector.hh | 16 +++++++++------- - 1 file changed, 9 insertions(+), 7 deletions(-) - -commit 09fa536d89d969998fe6bbe274a9964c73d1d982 -Author: Michiharu Ariza -Date: Thu Dec 27 08:33:09 2018 -0800 - - fix lealk with cff2::accelerator_templ_t::topDict (#1517) - - src/hb-ot-cff2-table.hh | 1 + - 1 file changed, 1 insertion(+) - -commit 3b81442cd5c11099ae9245074d24ef679b4473fa -Author: Behdad Esfahbod -Date: Mon Dec 24 11:31:04 2018 -0500 - - [vector] Change pre-alloced count from 8 to 2 - - I'm thinking about dropping it to zero, but that needs slight code changes. - - src/hb-vector.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit d25a2f1496d13846ddaea123ac6fb9807dc5669a -Author: Behdad Esfahbod -Date: Sun Dec 23 20:19:52 2018 -0500 - - Fix a few warnings - - src/hb-aat-layout-common.hh | 12 ++++++------ - src/hb-iter.hh | 8 ++++---- - src/hb-null.hh | 2 +- - src/hb-ot-cff1-table.hh | 2 +- - src/hb-ot-cff2-table.hh | 2 +- - src/hb-subset-cff-common.hh | 3 ++- - src/hb.hh | 3 ++- - 7 files changed, 17 insertions(+), 15 deletions(-) - -commit 85003b594b3aa1f6638e274bc89f18999a5de9f5 -Author: Behdad Esfahbod -Date: Sat Dec 22 16:19:10 2018 -0500 - - [iter] Fix warning - - src/hb-iter.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit e4355b1ca177200db6769136ead1ee25da86ec85 -Author: Behdad Esfahbod -Date: Sat Dec 22 16:11:22 2018 -0500 - - [set] Add iter_t as alias to const_iter_t - - src/hb-set.hh | 6 ++++-- - src/test-iter.cc | 2 ++ - 2 files changed, 6 insertions(+), 2 deletions(-) - -commit 33f8de61863efa538c488121c476fd0e907020d0 -Author: Behdad Esfahbod -Date: Sat Dec 22 15:10:18 2018 -0500 - - [set] Change to const_iter - - src/hb-set.hh | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit f88fed5cd8787e3deeec05dac4353337dc02abdd -Author: Behdad Esfahbod -Date: Sat Dec 22 11:11:10 2018 -0500 - - [set] Cache length in iterator - - src/hb-set.hh | 7 +++++-- - 1 file changed, 5 insertions(+), 2 deletions(-) - -commit d0a706c7fdb72a1d224b4a5bdbad0fb8c90e3186 -Author: Ebrahim Byagowi -Date: Sat Dec 22 19:47:48 2018 +0330 - - Minor, remove redundant inline - - src/hb-ot-layout.cc | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit ae6e348d642194585543f0d548fb94d210575fe4 -Author: Ebrahim Byagowi -Date: Sat Dec 22 19:47:29 2018 +0330 - - Minor, tweak spaces - - src/hb-ot-glyf-table.hh | 8 ++++---- - src/hb-subset-cff-common.hh | 15 ++++++--------- - 2 files changed, 10 insertions(+), 13 deletions(-) - -commit 29f0b6bce7da4c599f54066f7e7f6000f10d2f29 -Author: Michiharu Ariza -Date: Sat Dec 22 07:47:04 2018 -0800 - - CFF renaming (#1507) - - * reimplement ByteStr as byte_str_t based on hb_ubytes_t - - Unuse start_embed - Also renamed SubByteStr to byte_str_ref_t - More renaming to come - - * substr renamed to str_ref in line with its type byte_str_ref_t - - * uncamelize non-table struct names - - * uncamelized non-struct types OpCode etc - - * add byte_str_t copy ctor - - * test - - * test2 - - * undo tests - - * fix bot failure - - * undo the previous change - - * fixed tabs, added inline - - * Revert "fixed tabs, added inline" - - This reverts commit 21163c30e9d18759414f7fe2518628241599f039. - - * fix tabs - - src/hb-cff-interp-common.hh | 215 +++++++++++++++------------------ - src/hb-cff-interp-cs-common.hh | 250 +++++++++++++++++++-------------------- - src/hb-cff-interp-dict-common.hh | 64 +++++----- - src/hb-cff1-interp-cs.hh | 26 ++-- - src/hb-cff2-interp-cs.hh | 56 ++++----- - src/hb-ot-cff-common.hh | 59 ++++----- - src/hb-ot-cff1-table.cc | 56 ++++----- - src/hb-ot-cff1-table.hh | 147 ++++++++++++----------- - src/hb-ot-cff2-table.cc | 28 ++--- - src/hb-ot-cff2-table.hh | 128 ++++++++++---------- - src/hb-subset-cff-common.cc | 10 +- - src/hb-subset-cff-common.hh | 232 ++++++++++++++++++------------------ - src/hb-subset-cff1.cc | 244 +++++++++++++++++++------------------- - src/hb-subset-cff2.cc | 100 ++++++++-------- - 14 files changed, 796 insertions(+), 819 deletions(-) - -commit 89d04129e2f4dedb865635dcb8f0fd020e4218c2 -Author: Behdad Esfahbod -Date: Fri Dec 21 20:07:52 2018 -0500 - - [set] Actually derive iterator from hb_sorted_iter_t<> - - src/hb-set.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit fc35919d015c5b8d231933d6bc6ea640c83af6b2 -Author: Behdad Esfahbod -Date: Fri Dec 21 20:06:17 2018 -0500 - - [set] Implement unified iterator - - src/hb-set.hh | 20 ++++++++++++++++++++ - 1 file changed, 20 insertions(+) - -commit 4911e67d2d2188ee9bdc0315e121e51d9967b567 -Author: Behdad Esfahbod -Date: Fri Dec 21 20:00:52 2018 -0500 - - [set] Mark some internals protected - - src/hb-set.hh | 2 ++ - 1 file changed, 2 insertions(+) - -commit 954b985422a8964f6e7da9f71ab7a68074017111 -Author: Behdad Esfahbod -Date: Fri Dec 21 19:55:02 2018 -0500 - - [iter] Add hb_sorted_iter_t<> - - src/hb-array.hh | 2 +- - src/hb-iter.hh | 11 +++++++++++ - 2 files changed, 12 insertions(+), 1 deletion(-) - -commit b205105c9e1c6295b17cfd88ffb8ca7d963ef173 -Author: Behdad Esfahbod -Date: Fri Dec 21 19:48:21 2018 -0500 - - [iter] Change operator[] operand to be signed - - To fix older compilers again (this was the case in hb_array_t). - - hb-ot-layout-common.hh:1353: note: candidate 2: operator[](T*, int) - hb-ot-layout-common.hh:1354: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: - hb-iter.hh:63: note: candidate 1: Item& hb_iter_t::operator[](unsigned int) const [with Iter = hb_array_t >, Item = const OT::IntType] - hb-ot-layout-common.hh:1354: note: candidate 2: operator[](T*, int) - hb-ot-layout-common.hh: In member function 'bool OT::ClassDef::serialize(hb_serialize_context_t*, hb_array_t >, hb_array_t >)': - hb-ot-layout-common.hh:1490: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: - hb-iter.hh:63: note: candidate 1: Item& hb_iter_t::operator[](unsigned int) const [with Iter = hb_array_t >, Item = const OT::IntType] - hb-ot-layout-common.hh:1490: note: candidate 2: operator[](T*, int) - - src/hb-iter.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 25786f49c1df36fdb5f78681055a1f4aa4b17f86 -Author: Behdad Esfahbod -Date: Fri Dec 21 19:29:00 2018 -0500 - - [array] Port to hb_iter_t<> - - hb_array_t is its own iterator... - - src/hb-array.hh | 75 +++++++++++++++++++++++++-------------------------------- - src/hb-iter.hh | 5 ++-- - 2 files changed, 36 insertions(+), 44 deletions(-) - -commit 2a33ab0560a13cb8fef5983bfe0f6d68dfd47b14 -Author: Behdad Esfahbod -Date: Fri Dec 21 18:49:27 2018 -0500 - - [iter] Change __more__ to fallback to __len__ - - src/hb-iter.hh | 15 ++++++--------- - src/test-iter.cc | 1 - - 2 files changed, 6 insertions(+), 10 deletions(-) - -commit 474a12058d681f2d7cef84db0cf20f9f784fa400 -Author: Behdad Esfahbod -Date: Fri Dec 21 18:46:51 2018 -0500 - - [array/vector] Rename len to length - - src/hb-aat-layout-feat-table.hh | 5 ++- - src/hb-aat-layout-lcar-table.hh | 2 +- - src/hb-aat-map.cc | 4 +-- - src/hb-array.hh | 72 ++++++++++++++++++++--------------------- - src/hb-cff-interp-common.hh | 10 +++--- - src/hb-cff2-interp-cs.hh | 6 ++-- - src/hb-coretext.cc | 12 +++---- - src/hb-face.cc | 4 +-- - src/hb-object.hh | 23 +++++++------ - src/hb-open-file.hh | 4 +-- - src/hb-open-type.hh | 8 ++--- - src/hb-ot-cff-common.hh | 38 +++++++++++----------- - src/hb-ot-cff1-table.hh | 28 ++++++++-------- - src/hb-ot-cmap-table.hh | 24 +++++++------- - src/hb-ot-color-colr-table.hh | 6 ++-- - src/hb-ot-hdmx-table.hh | 6 ++-- - src/hb-ot-hmtx-table.hh | 8 ++--- - src/hb-ot-layout-common.hh | 32 +++++++++--------- - src/hb-ot-layout-gdef-table.hh | 4 +-- - src/hb-ot-layout-gsub-table.hh | 24 +++++++------- - src/hb-ot-layout-gsubgpos.hh | 2 +- - src/hb-ot-layout.cc | 2 +- - src/hb-ot-map.cc | 22 ++++++------- - src/hb-ot-map.hh | 4 +-- - src/hb-ot-math-table.hh | 4 +-- - src/hb-ot-maxp-table.hh | 2 +- - src/hb-ot-name-table.hh | 8 ++--- - src/hb-ot-name.cc | 4 +-- - src/hb-ot-post-table.hh | 8 ++--- - src/hb-ot-var-fvar-table.hh | 2 +- - src/hb-ot-vorg-table.hh | 10 +++--- - src/hb-set.hh | 36 ++++++++++----------- - src/hb-subset-cff-common.cc | 8 ++--- - src/hb-subset-cff-common.hh | 50 ++++++++++++++-------------- - src/hb-subset-cff1.cc | 48 +++++++++++++-------------- - src/hb-subset-cff2.cc | 16 ++++----- - src/hb-subset-glyf.cc | 14 ++++---- - src/hb-subset-plan.cc | 2 +- - src/hb-uniscribe.cc | 26 +++++++-------- - src/hb-vector.hh | 56 ++++++++++++++++---------------- - src/test-iter.cc | 4 +-- - 41 files changed, 325 insertions(+), 323 deletions(-) - -commit 2fc1860a5b40f5deba720c0c1099fdd0450b77c0 -Author: Behdad Esfahbod -Date: Fri Dec 21 18:09:45 2018 -0500 - - [iter] Split hb_iter_t<> into hb_iter_t<> and hb_iter_mixin_t<> - - src/hb-iter.hh | 31 ++++++++++++++++++++----------- - src/test-iter.cc | 2 +- - 2 files changed, 21 insertions(+), 12 deletions(-) - -commit 865deeb3be1cb40efe3d7c42db48b0cdf977de47 -Author: Behdad Esfahbod -Date: Fri Dec 21 17:35:58 2018 -0500 - - Adjust internal header dependencies - - src/hb-array.hh | 5 ++++- - src/hb-dsalgs.hh | 1 - - src/hb-iter.hh | 1 + - src/hb-vector.hh | 1 + - src/hb.hh | 15 +++++++++------ - src/test-iter.cc | 1 + - src/test-unicode-ranges.cc | 1 + - 7 files changed, 17 insertions(+), 8 deletions(-) - -commit 8e5c2bc60bd9a800dacc96cc29c6ff831a852ae3 -Author: Behdad Esfahbod -Date: Fri Dec 21 17:29:11 2018 -0500 - - [Makefile.am] Minor - - src/Makefile.am | 14 ++++++++------ - 1 file changed, 8 insertions(+), 6 deletions(-) - -commit f419cef4174c5447bf5031e771483f3274ae4dce -Author: Behdad Esfahbod -Date: Fri Dec 21 17:22:09 2018 -0500 - - [iter] Include from hb.hh - - src/hb.hh | 1 + - 1 file changed, 1 insertion(+) - -commit 7557e34872c846433c2465b21b99bf7c5f961673 -Author: Behdad Esfahbod -Date: Fri Dec 21 17:21:19 2018 -0500 - - [iter] Move hb_fill() and hb_copy() to hb-iter.hh - - src/hb-iter.hh | 18 ++++++++++++++++++ - src/test-iter.cc | 16 ---------------- - 2 files changed, 18 insertions(+), 16 deletions(-) - -commit 5e1840e031cff1127842fc5cc8ee93e5959f02d5 -Author: Behdad Esfahbod -Date: Fri Dec 21 16:39:57 2018 -0500 - - [iter] Disallow copy-construction or assignment of hb_iter_t<> - - Should only be done by subclass. - - src/hb-iter.hh | 5 +++++ - 1 file changed, 5 insertions(+) - -commit 65e8bd56ad26912636fbdc400a83cc48db2a13ce -Author: Behdad Esfahbod -Date: Fri Dec 21 16:20:30 2018 -0500 - - [iter] Fix hb_copy() return value - - src/test-iter.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 40d71211a8969ec4414d2476a209e60d0a3525d3 -Author: Behdad Esfahbod -Date: Fri Dec 21 16:19:44 2018 -0500 - - [iter] Add const_iter_t / const_iter() - - src/hb-iter.hh | 2 ++ - 1 file changed, 2 insertions(+) - -commit aaddfaa57a841726a8b49653af3f8b702831da1b -Author: Behdad Esfahbod -Date: Fri Dec 21 16:04:38 2018 -0500 - - [iter] Make hb_fill() take collection type, not iter - - Starting to get the hang of when take which. - - src/test-iter.cc | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 7b4eea853c36fd59db6e5d68bbef9b8cebad760e -Author: Behdad Esfahbod -Date: Fri Dec 21 16:02:16 2018 -0500 - - [array] Add more hb_array() / hb_sorted_array() variants - - src/hb-array.hh | 15 +++++++++++---- - 1 file changed, 11 insertions(+), 4 deletions(-) - -commit 09740148e310021a4a690666c2e2836c2005353d -Author: Behdad Esfahbod -Date: Fri Dec 21 15:56:01 2018 -0500 - - [serialize] Use component_list by reference, as a supplier - - src/hb-ot-layout-gsub-table.hh | 4 +--- - 1 file changed, 1 insertion(+), 3 deletions(-) - -commit 3dbe1e364c19d82ab436b9ea7b41c9754d43e923 -Author: Behdad Esfahbod -Date: Fri Dec 21 15:53:09 2018 -0500 - - [iter] Add .random_access() - - src/hb-iter.hh | 4 ++++ - src/test-iter.cc | 1 + - 2 files changed, 5 insertions(+) - -commit 20f14b4aa6311d8fb2ed80c47bb15e8d87d2f6b3 -Author: Behdad Esfahbod -Date: Fri Dec 21 15:19:22 2018 -0500 - - [iter] Fix __end__() - - src/hb-iter.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 95265aeab7da54f31d4f68590af7730054b6be16 -Author: Behdad Esfahbod -Date: Fri Dec 21 15:12:55 2018 -0500 - - [array] Remove copy constructor - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1502 - - src/hb-array.hh | 1 - - 1 file changed, 1 deletion(-) - -commit 69d232eaea323b8c42e5fa1788553ac4e8bf3a50 -Author: Behdad Esfahbod -Date: Fri Dec 21 15:08:06 2018 -0500 - - Fix bot - - C:\projects\harfbuzz\src\hb-uniscribe.cc(709): error C2666: 'hb_vector_t::operator +': 3 overloads have similar conversions [C:\projects\harfbuzz\build\harfbuzz.vcxproj] - - src/hb-uniscribe.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit b9a51f531009ce201b86a0326aff662fd19a68a1 -Author: Behdad Esfahbod -Date: Fri Dec 21 15:05:00 2018 -0500 - - Minor - - src/hb-ot-layout-gpos-table.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit bdb6da72267c8fa4802a2183ba69a1535653378b -Author: Behdad Esfahbod -Date: Fri Dec 21 11:20:27 2018 -0500 - - [iter] Fix test again - - src/test-iter.cc | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit e9520752489298e0ce1a08da10ec3d439f9356d9 -Author: Behdad Esfahbod -Date: Fri Dec 21 11:15:16 2018 -0500 - - Minor - - src/Makefile.am | 6 +++--- - src/test-iter.cc | 1 - - 2 files changed, 3 insertions(+), 4 deletions(-) - -commit 35503d7d7324293162b605ffe0bd712656dd52b8 -Author: Behdad Esfahbod -Date: Fri Dec 21 03:03:46 2018 -0500 - - [iter] More prototyping - - src/test-iter.cc | 18 ++++++++++++++++++ - 1 file changed, 18 insertions(+) - -commit 73c7a896d1395539e3c9e71b073ce5094c835aa0 -Author: Behdad Esfahbod -Date: Fri Dec 21 02:48:28 2018 -0500 - - [iter] Make hb_fill() and hb_copy() take iterators - - I'm still going back and force... - - src/test-iter.cc | 11 ++++------- - 1 file changed, 4 insertions(+), 7 deletions(-) - -commit 12e506fda4bfd82d67e4beede29ae7dbc02ad8f4 -Author: Behdad Esfahbod -Date: Fri Dec 21 02:47:04 2018 -0500 - - [iter] Add hb_fill() - - src/test-iter.cc | 20 ++++++++++++++------ - 1 file changed, 14 insertions(+), 6 deletions(-) - -commit ad3ed58de5297930826c67d18b99991b93d29654 -Author: Behdad Esfahbod -Date: Fri Dec 21 02:12:55 2018 -0500 - - [iter] Start prototyping hb_copy() - - src/test-iter.cc | 18 ++++++++++++++---- - 1 file changed, 14 insertions(+), 4 deletions(-) - -commit 44af738d19486095c0fbc2ef2b359a298126ac2b -Author: Behdad Esfahbod -Date: Fri Dec 21 01:59:37 2018 -0500 - - [iter] Showcase implicit casts - - src/test-iter.cc | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit 879faa2aee74e237594901426096ceeb78a716a4 -Author: Behdad Esfahbod -Date: Fri Dec 21 01:57:40 2018 -0500 - - Rename - - src/hb-array.hh | 2 +- - src/hb-open-type.hh | 4 ++-- - src/hb-vector.hh | 2 +- - 3 files changed, 4 insertions(+), 4 deletions(-) - -commit aeb696a91cd1cdc73bf5b87e56163c7f64778616 -Author: Behdad Esfahbod -Date: Fri Dec 21 01:57:02 2018 -0500 - - [iter] Rename - - src/hb-iter.hh | 44 ++++++++++++++++++++++---------------------- - 1 file changed, 22 insertions(+), 22 deletions(-) - -commit 8001e00a470ad06f0307002b4cade5612ee7b521 -Author: Behdad Esfahbod -Date: Fri Dec 21 01:53:27 2018 -0500 - - [iter] First sample use - - src/Makefile.am | 5 ++++- - src/hb-iter.hh | 25 +++++++++++-------------- - src/test-iter.cc | 25 ++++++++++++++++++++----- - 3 files changed, 35 insertions(+), 20 deletions(-) - -commit 19d2b5013d8ac7aa45b3b8e8c61ad90773c86925 -Author: Behdad Esfahbod -Date: Fri Dec 21 01:17:35 2018 -0500 - - [iter] Add bidirectionality - - src/hb-iter.hh | 14 ++++++++++++-- - 1 file changed, 12 insertions(+), 2 deletions(-) - -commit 314d8698d0746416efd332f5fae45aecb26df7ee -Author: Behdad Esfahbod -Date: Fri Dec 21 00:54:55 2018 -0500 - - [iter] Sketch new iterator design - - src/hb-iter.hh | 154 +++++++++++++++++++------------------------------------ - src/test-iter.cc | 16 ++++++ - 2 files changed, 69 insertions(+), 101 deletions(-) - -commit f6d5f1e91ced2b6b1114ad765f568f799dd3612f -Author: Behdad Esfahbod -Date: Fri Dec 21 00:23:34 2018 -0500 - - [iter] Add empty test - - src/Makefile.am | 7 +++++-- - src/hb-machinery.hh | 1 - - src/test-iter.cc | 33 +++++++++++++++++++++++++++++++++ - src/test-unicode-ranges.cc | 2 -- - 4 files changed, 38 insertions(+), 5 deletions(-) - -commit b80b97b549dacc10d314bf8b5fd4ace596ccdfe1 -Author: Behdad Esfahbod -Date: Fri Dec 21 00:08:05 2018 -0500 - - Revert "Remove unused hb-iter.hh" - - This reverts commit 969ff3c7aadbe721cdd414488eb170433f10d00c. - - src/Makefile.sources | 1 + - src/hb-iter.hh | 146 +++++++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-machinery.hh | 1 + - 3 files changed, 148 insertions(+) - -commit a728c63a98281fd4a0661e17fc01171bc3205b27 -Author: Behdad Esfahbod -Date: Thu Dec 20 23:15:49 2018 -0500 - - [vector] Add operator bool - - src/hb-vector.hh | 2 ++ - 1 file changed, 2 insertions(+) - -commit bd369773921b4891996bd21f325702e490f47ca4 -Author: Behdad Esfahbod -Date: Thu Dec 20 23:14:24 2018 -0500 - - Rename - - src/hb-array.hh | 2 +- - src/hb-open-type.hh | 4 ++-- - src/hb-vector.hh | 2 +- - 3 files changed, 4 insertions(+), 4 deletions(-) - -commit e6ebc9b6f89e62d888b3bcf926afd624f16f3e95 -Author: Behdad Esfahbod -Date: Thu Dec 20 23:13:36 2018 -0500 - - Remove unused typedef - - src/hb-machinery.hh | 3 --- - 1 file changed, 3 deletions(-) - -commit 4941e95f10fe0fe658752134a42b58896fb19c42 -Author: Behdad Esfahbod -Date: Thu Dec 20 21:48:57 2018 -0500 - - 2.3.0 - - NEWS | 15 +++++++++++++++ - configure.ac | 2 +- - src/hb-aat-layout.cc | 6 +++--- - src/hb-version.h | 4 ++-- - 4 files changed, 21 insertions(+), 6 deletions(-) - -commit 87f7c83fffb7e64970be23c8e3c620d32a3b8f5b -Author: Behdad Esfahbod -Date: Thu Dec 20 15:54:17 2018 -0500 - - [serializer] Add operator << - - Not sure if we are going to use it. But might incentivize us to. - - src/hb-machinery.hh | 2 ++ - 1 file changed, 2 insertions(+) - -commit 5b70074edf1c12a9442037d54c03d3025bd93995 -Author: Behdad Esfahbod -Date: Thu Dec 20 15:38:59 2018 -0500 - - Add hb_assign(obj, value) - - src/hb-machinery.hh | 2 +- - src/hb-null.hh | 24 +++++++++++++++++++++++- - src/hb-open-type.hh | 5 +++-- - 3 files changed, 27 insertions(+), 4 deletions(-) - -commit 6124123393eabb77d34830c971ec463998d50aba -Author: Behdad Esfahbod -Date: Thu Dec 20 12:26:30 2018 -0500 - - [serialize] Adjust ClassDef - - [skip ci] - - src/hb-ot-layout-common.hh | 32 ++++++++++++++++---------------- - 1 file changed, 16 insertions(+), 16 deletions(-) - -commit 4220b7bdd7706622563401bf8f055c4b1482b4e5 -Author: Behdad Esfahbod -Date: Thu Dec 20 11:48:45 2018 -0500 - - Fix code on big-endian gcc / clang - - Ouch! We need a bigendian bot... - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1498 - - src/hb-machinery.hh | 8 +++++++- - 1 file changed, 7 insertions(+), 1 deletion(-) - -commit c87ee72232416099a73b563ca7aaf293b1c87b2a -Author: Behdad Esfahbod -Date: Wed Dec 19 22:28:16 2018 -0500 - - Minor [skip ci] - - src/hb-dsalgs.hh | 13 +++++++------ - 1 file changed, 7 insertions(+), 6 deletions(-) - -commit 5000a59a6391d588c2cbdda132839b1fb1f75bf2 -Author: Behdad Esfahbod -Date: Wed Dec 19 21:07:53 2018 -0500 - - [saitnize] Minor - - src/hb-machinery.hh | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -commit 3ee4ea945674c4b96c9aa6b0367bbf22dc8745d1 -Author: fanc999 -Date: Thu Dec 20 11:26:54 2018 +0800 - - Fix build on older Visual Studio versions (#1499) - - * src/hb-cff-interp-dict-common.hh: Use ull for unsigned int64_t - - The llu suffix does not work for older Visual Studio versions - (pre-2013), but ull works for all the compilers that we attempt to - support. - - * test/api: Fix build on pre-C99 compilers - - Ensure variables are declared at the top of the block. - - * src/hb-dsalgs.hh: Add specialization for hb_is_signed<> for __int8 - - Pre-Visual Studio 2010 does not consider __int8 (which is typedef'ed to - int8_t) to be equivilant to signed char, so the compiler cannot find the - corresponding hb_is_signed<> specialization that is needed. - - The interesting thing is unsigned __int8 is considered to be equivilant - to unsigned char, so as the other types (short, int, long) that we look - for here, so only the specialization for __int8 is added here. - - This will fix builds on Visual Studio 2008 at least. - - src/hb-cff-interp-dict-common.hh | 2 +- - src/hb-dsalgs.hh | 9 +++++++++ - test/api/test-aat-layout.c | 3 ++- - test/api/test-subset-cff1.c | 12 ++++++++---- - 4 files changed, 20 insertions(+), 6 deletions(-) - -commit a62870506d16949582bf0b54e3dc8846b9747a4a -Author: Behdad Esfahbod -Date: Wed Dec 19 21:05:00 2018 -0500 - - [sanitize] Use hb_static_size instead of ::static_size - - https://github.com/harfbuzz/harfbuzz/issues/1496#issuecomment-448818112 - - src/hb-machinery.hh | 11 +++++------ - 1 file changed, 5 insertions(+), 6 deletions(-) - -commit 0c9cd5d5f4d96df77e4298e16c786e67b83f9bc4 -Author: Ebrahim Byagowi -Date: Wed Dec 19 21:18:30 2018 +0330 - - [test] Fix test-name-table.cc leak issue - - Spotted it accidentally but wanted to see if is anything serious so went for fixing it - - src/test-name-table.cc | 2 ++ - 1 file changed, 2 insertions(+) - -commit 3d9d7dc4dd4be8e746507282569504b511afa709 -Author: Behdad Esfahbod -Date: Tue Dec 18 22:11:23 2018 -0500 - - [arrays] Add hb_ubytes_t for unsigned char - - src/hb-array.hh | 1 + - 1 file changed, 1 insertion(+) - -commit f1e95e40edc871c840abe8a8a695efc252af40f5 -Author: Behdad Esfahbod -Date: Tue Dec 18 16:49:08 2018 -0500 - - [arrays] Remove hb_supplier_t<> - - src/hb-array.hh | 11 -- - src/hb-cff2-interp-cs.hh | 2 +- - src/hb-face.cc | 6 +- - src/hb-open-file.hh | 15 +- - src/hb-open-type.hh | 18 +- - src/hb-ot-cmap-table.hh | 3 +- - src/hb-ot-layout-common.hh | 104 ++++-------- - src/hb-ot-layout-gsub-table.hh | 257 +++++++++++++---------------- - src/hb-ot-shape-complex-arabic-fallback.hh | 23 +-- - 9 files changed, 170 insertions(+), 269 deletions(-) - -commit f9417af29bd5a1d2f5b55389a1cc6f4280b347d8 -Author: Behdad Esfahbod -Date: Tue Dec 18 13:23:32 2018 -0500 - - [serialize] Propagate error from hb-face - - src/hb-face.cc | 1 + - 1 file changed, 1 insertion(+) - -commit 9aebfb418222427a324d911b32abfc11256ca9e3 -Author: Behdad Esfahbod -Date: Tue Dec 18 13:22:17 2018 -0500 - - [serialize] Streamline error propagation - - src/hb-buffer.hh | 2 ++ - src/hb-machinery.hh | 35 ++++++++++++++++++++++++++--------- - src/hb-map.hh | 2 ++ - src/hb-ot-layout-common.hh | 4 ++-- - src/hb-ot-layout-gsub-table.hh | 4 ++-- - src/hb-set.hh | 2 ++ - src/hb-subset.cc | 2 +- - 7 files changed, 37 insertions(+), 14 deletions(-) - -commit 969ff3c7aadbe721cdd414488eb170433f10d00c -Author: Behdad Esfahbod -Date: Mon Dec 17 22:43:00 2018 -0500 - - Remove unused hb-iter.hh - - The ideas there are all part of hb-array.hh now. To be determined how we - want to use generic iterator patterns. - - src/Makefile.sources | 1 - - src/hb-iter.hh | 146 --------------------------------------------------- - src/hb-machinery.hh | 1 - - 3 files changed, 148 deletions(-) - -commit b1094fc2d2b614c1407b502d15bd98407a5ffb56 -Author: Behdad Esfahbod -Date: Mon Dec 17 22:41:04 2018 -0500 - - [arrays] Minor tweaks to hb_supplier_t - - I think I like to keep this hb_supplier_t thing separately from hb_array_t. - - src/hb-array.hh | 5 +++++ - 1 file changed, 5 insertions(+) - -commit cf39c242057636feebafce347f8e7ac2b305112a -Author: Behdad Esfahbod -Date: Mon Dec 17 22:36:23 2018 -0500 - - [arrays] Rename Supplier to hb_supplier_t - - src/hb-array.hh | 6 +- - src/hb-face.cc | 2 +- - src/hb-open-file.hh | 4 +- - src/hb-open-type.hh | 4 +- - src/hb-ot-cmap-table.hh | 2 +- - src/hb-ot-layout-common.hh | 34 ++++----- - src/hb-ot-layout-gsub-table.hh | 108 ++++++++++++++--------------- - src/hb-ot-shape-complex-arabic-fallback.hh | 14 ++-- - 8 files changed, 87 insertions(+), 87 deletions(-) - -commit 6b5eaa753047b6b0389cb7521c52efbaccf72daf -Author: Behdad Esfahbod -Date: Mon Dec 17 21:55:33 2018 -0500 - - Hide hb_addressof() - - src/hb-dsalgs.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 6befa75cdf83d561de69fb342f68694cd7b46f5e -Author: Behdad Esfahbod -Date: Mon Dec 17 20:34:51 2018 -0500 - - Enable __builtin_* on clang - - We'll see which old clang versions this breaks... - - src/hb-dsalgs.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 8d2d41025619e24160ed80edd1c413168a2dda36 -Author: Behdad Esfahbod -Date: Mon Dec 17 20:23:26 2018 -0500 - - Add hb_addressof() and use it to fix bug after hb_bytes_t merge - - We cannot take address hb_bytes_t direction. We need to use the - newly added hb_addressof(), ala std::addressof(). - - src/hb-dsalgs.hh | 9 +++++++++ - src/hb-ot-post-table.hh | 3 ++- - 2 files changed, 11 insertions(+), 1 deletion(-) - -commit 49334f9b509fc15e8baa93d49b86886ca933de04 -Author: Behdad Esfahbod -Date: Mon Dec 17 18:27:36 2018 -0500 - - Enable system extensions in hb.hh - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1491 - - configure.ac | 1 - - src/hb.hh | 26 ++++++++++++++++++++++++++ - 2 files changed, 26 insertions(+), 1 deletion(-) - -commit 37c14bc7459e8b9cc0840b68223123ffb950b4cc -Author: prrace -Date: Mon Dec 17 14:59:37 2018 -0800 - - Fix Solaris use after free (#1495) - - src/hb-atomic.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 483f2491e40ccf660836ed2797738297e40bd100 -Author: Behdad Esfahbod -Date: Mon Dec 17 17:56:10 2018 -0500 - - Remove define GNU_SOURCE - - Not needed. We get it in our config.h automatically thanks to - AC_USE_SYSTEM_EXTENSIONS. Let's see whose build it breaks... - If we end up putting it back, we should add other things from - that macro and remove the macro. - - src/hb.hh | 2 -- - 1 file changed, 2 deletions(-) - -commit 87ff65aea117391c732d51d874964b3e32d6fa94 -Author: Behdad Esfahbod -Date: Mon Dec 17 17:19:42 2018 -0500 - - Fix more warnings - - src/hb.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit f9d219a17417f61fa2c6152d2181504866583a72 -Author: prrace -Date: Mon Dec 17 14:18:47 2018 -0800 - - Fix Solaris Trailing comma in enum warnings (#1490) - - src/hb-ot-color.h | 2 +- - src/hb-ot-name.h | 2 +- - src/hb-ot-var.h | 2 +- - 3 files changed, 3 insertions(+), 3 deletions(-) - -commit 244a8627f7b0ed651d6010c7ee7e54fa8fcca400 -Author: Ebrahim Byagowi -Date: Mon Dec 17 21:31:43 2018 +0330 - - Lower coretext_aat shaper priority (#1488) - - Related to https://github.com/harfbuzz/harfbuzz/issues/1478 - - src/hb-shaper-list.hh | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit e41200859997ccf8fd7d36fff654f3ceea3a4160 -Author: Ebrahim Byagowi -Date: Mon Dec 17 21:31:01 2018 +0330 - - Remove redundant void from C++ sources (#1486) - - src/dump-indic-data.cc | 2 +- - src/dump-khmer-data.cc | 2 +- - src/dump-myanmar-data.cc | 2 +- - src/dump-use-data.cc | 2 +- - src/hb-aat-fdsc-table.hh | 4 +- - src/hb-aat-layout-common.hh | 23 +++--- - src/hb-aat-layout-feat-table.hh | 8 +-- - src/hb-aat-layout-just-table.hh | 2 +- - src/hb-aat-layout-kerx-table.hh | 21 +++--- - src/hb-aat-layout-morx-table.hh | 10 +-- - src/hb-aat-layout-trak-table.hh | 4 +- - src/hb-aat-layout.cc | 6 +- - src/hb-aat-map.hh | 4 +- - src/hb-array.hh | 24 +++---- - src/hb-atomic.hh | 18 ++--- - src/hb-blob.cc | 8 +-- - src/hb-blob.hh | 33 ++++----- - src/hb-buffer-serialize.cc | 2 +- - src/hb-buffer.cc | 24 +++---- - src/hb-buffer.hh | 51 ++++++------- - src/hb-cache.hh | 6 +- - src/hb-cff-interp-common.hh | 113 +++++++++++++---------------- - src/hb-cff-interp-cs-common.hh | 26 +++---- - src/hb-cff-interp-dict-common.hh | 12 ++-- - src/hb-cff1-interp-cs.hh | 4 +- - src/hb-cff2-interp-cs.hh | 24 +++---- - src/hb-common.cc | 20 +++--- - src/hb-coretext.cc | 2 +- - src/hb-debug.hh | 6 +- - src/hb-directwrite.cc | 16 ++--- - src/hb-dsalgs.hh | 2 +- - src/hb-face.cc | 6 +- - src/hb-face.hh | 8 +-- - src/hb-font.cc | 6 +- - src/hb-font.hh | 6 +- - src/hb-ft.cc | 18 ++--- - src/hb-glib.cc | 8 +-- - src/hb-gobject-enums.cc.tmpl | 2 +- - src/hb-gobject-enums.h.tmpl | 2 +- - src/hb-gobject-structs.cc | 2 +- - src/hb-icu.cc | 8 +-- - src/hb-iter.hh | 15 ++-- - src/hb-machinery.hh | 150 ++++++++++++++++----------------------- - src/hb-map.cc | 4 +- - src/hb-map.hh | 24 +++---- - src/hb-mutex.hh | 10 +-- - src/hb-null.hh | 32 ++++----- - src/hb-object.hh | 22 +++--- - src/hb-open-file.hh | 32 ++++----- - src/hb-open-type.hh | 66 +++++++++-------- - src/hb-ot-cff-common.hh | 30 ++++---- - src/hb-ot-cff1-table.cc | 17 ++--- - src/hb-ot-cff1-table.hh | 52 ++++++-------- - src/hb-ot-cff2-table.cc | 8 +-- - src/hb-ot-cff2-table.hh | 34 ++++----- - src/hb-ot-cmap-table.hh | 10 +-- - src/hb-ot-color-cbdt-table.hh | 4 +- - src/hb-ot-color-colr-table.hh | 2 +- - src/hb-ot-color-cpal-table.hh | 10 +-- - src/hb-ot-color-sbix-table.hh | 11 ++- - src/hb-ot-color-svg-table.hh | 7 +- - src/hb-ot-face.cc | 2 +- - src/hb-ot-face.hh | 2 +- - src/hb-ot-font.cc | 8 +-- - src/hb-ot-glyf-table.hh | 6 +- - src/hb-ot-hdmx-table.hh | 4 +- - src/hb-ot-head-table.hh | 8 +-- - src/hb-ot-hmtx-table.hh | 2 +- - src/hb-ot-kern-table.hh | 20 +++--- - src/hb-ot-layout-base-table.hh | 10 +-- - src/hb-ot-layout-common.hh | 67 +++++++++-------- - src/hb-ot-layout-gdef-table.hh | 20 +++--- - src/hb-ot-layout-gpos-table.hh | 34 ++++----- - src/hb-ot-layout-gsub-table.hh | 24 +++---- - src/hb-ot-layout-gsubgpos.hh | 92 +++++++++++------------- - src/hb-ot-layout-jstf-table.hh | 8 +-- - src/hb-ot-map.cc | 2 +- - src/hb-ot-map.hh | 8 +-- - src/hb-ot-math-table.hh | 11 ++- - src/hb-ot-maxp-table.hh | 5 +- - src/hb-ot-name-table.hh | 6 +- - src/hb-ot-os2-table.hh | 18 ++--- - src/hb-ot-post-table.hh | 4 +- - src/hb-ot-shape.cc | 2 +- - src/hb-ot-shape.hh | 2 +- - src/hb-ot-tag.cc | 4 +- - src/hb-ot-var-fvar-table.hh | 9 ++- - src/hb-ot-var-hvar-table.hh | 9 +-- - src/hb-ot-vorg-table.hh | 2 +- - src/hb-set-digest.hh | 4 +- - src/hb-set.cc | 4 +- - src/hb-set.hh | 38 +++++----- - src/hb-shape-plan.cc | 2 +- - src/hb-shape-plan.hh | 5 +- - src/hb-shape.cc | 10 +-- - src/hb-shaper.cc | 14 ++-- - src/hb-shaper.hh | 6 +- - src/hb-static.cc | 4 +- - src/hb-subset-cff-common.hh | 91 +++++++++++------------- - src/hb-subset-cff1.cc | 20 ++---- - src/hb-subset-cff2.cc | 8 +-- - src/hb-subset-input.cc | 2 +- - src/hb-subset.hh | 4 +- - src/hb-ucdn.cc | 10 +-- - src/hb-unicode.cc | 64 ++++++++--------- - src/hb-uniscribe.cc | 12 ++-- - src/hb-vector.hh | 38 +++++----- - src/hb.hh | 6 +- - src/test-unicode-ranges.cc | 4 +- - util/ansi-print.cc | 6 +- - util/hb-fc.cc | 2 +- - util/hb-shape.cc | 5 +- - util/helper-cairo.cc | 2 +- - util/helper-cairo.hh | 2 +- - util/main-font-text.hh | 2 +- - util/options.cc | 8 +-- - util/options.hh | 22 +++--- - util/view-cairo.hh | 14 ++-- - 118 files changed, 861 insertions(+), 1024 deletions(-) - -commit 7ace10078c23d00da4af0480f91b877faeed3d38 -Author: Ebrahim Byagowi -Date: Mon Dec 17 20:07:04 2018 +0330 - - Minor, fix two more ArrayOf incorrect operator logic - - src/hb-open-type.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit a1240383aa82fd88e922a1e751444d14033ae882 -Author: Behdad Esfahbod -Date: Mon Dec 17 10:44:14 2018 -0500 - - [arrays] Minor fix - - src/hb-open-type.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 381c3548e9022a421bcf88db148cc11f337f3b79 -Author: Behdad Esfahbod -Date: Mon Dec 17 00:39:30 2018 -0500 - - [array] Add cast operator to add const to Type - - In lieu of constructor removed in previous commit. - - src/hb-array.hh | 1 + - 1 file changed, 1 insertion(+) - -commit 15acf33c228e0c8e0f8cc6a04e566970164dd5f1 -Author: Behdad Esfahbod -Date: Mon Dec 17 00:38:13 2018 -0500 - - [array] Remove problematic constructor - - src/hb-array.hh | 1 - - 1 file changed, 1 deletion(-) - -commit 470369a871791b610e0c42212558e83baeb83409 -Author: Behdad Esfahbod -Date: Mon Dec 17 00:20:19 2018 -0500 - - [array] Add arithmetic operators - - src/hb-array.hh | 22 ++++++++++++++++++---- - 1 file changed, 18 insertions(+), 4 deletions(-) - -commit 6cd60c2f2aa17e3f02b50c19cf640b3f183f3354 -Author: Behdad Esfahbod -Date: Mon Dec 17 00:09:06 2018 -0500 - - [array] Return Crap instead of Null if Type is not const - - Ouch! - - src/hb-array.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 94e72cf1c9af563fbf522efb7f2e0b1fcd616418 -Author: Behdad Esfahbod -Date: Mon Dec 17 00:06:40 2018 -0500 - - [array] Add operator * - - src/hb-array.hh | 2 ++ - 1 file changed, 2 insertions(+) - -commit 68d4a5eee0f248891d20d69b897201d105951aef -Author: Behdad Esfahbod -Date: Mon Dec 17 00:02:42 2018 -0500 - - [array] Add constructor from fixed-size array - - src/hb-array.hh | 1 + - src/hb-iter.hh | 4 ++-- - 2 files changed, 3 insertions(+), 2 deletions(-) - -commit a4354d2fd36377ec8b544c7b88a231cb1273dccd -Author: Behdad Esfahbod -Date: Sun Dec 16 23:57:27 2018 -0500 - - [array] Organize - - src/hb-array.hh | 75 ++++++++++++++++++++++++++++++++++++--------------------- - 1 file changed, 48 insertions(+), 27 deletions(-) - -commit 84c1865821151d83a8798ae11ebba3329a12c560 -Author: Behdad Esfahbod -Date: Sun Dec 16 23:52:17 2018 -0500 - - [arrays] Reduce Supplier<> even further - - src/hb-array.hh | 24 +++--------------------- - 1 file changed, 3 insertions(+), 21 deletions(-) - -commit 1bcc4fc9f34ab518fc822c9464a73ba3e90f5f1c -Author: Behdad Esfahbod -Date: Sun Dec 16 23:47:56 2018 -0500 - - Whitespace - - src/hb-ot-shape-complex-arabic-fallback.hh | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -commit f85f6e815f439075f8c6f5391e5c8dfe77e0f00d -Author: Behdad Esfahbod -Date: Sun Dec 16 23:45:07 2018 -0500 - - [array] Add operator += - - src/hb-array.hh | 18 +++++++++--------- - 1 file changed, 9 insertions(+), 9 deletions(-) - -commit 7c0e3e9b2b077fced829a10f616ed3d6b51c15c4 -Author: Behdad Esfahbod -Date: Sun Dec 16 23:43:17 2018 -0500 - - [array] Add constructor from hb_array_t - - src/hb-array.hh | 1 + - 1 file changed, 1 insertion(+) - -commit 92680361ec68734ad38e2158626feebaf18eec88 -Author: Behdad Esfahbod -Date: Sun Dec 16 23:38:51 2018 -0500 - - [arrays] Move Supplier<> to hb-array.hh - - src/hb-array.hh | 33 +++++++++++++++++++++++++++++++++ - src/hb-machinery.hh | 32 -------------------------------- - 2 files changed, 33 insertions(+), 32 deletions(-) - -commit 2a3fa3f82ffdb778a2d21fc01e859579161237c9 -Author: Behdad Esfahbod -Date: Sun Dec 16 23:33:03 2018 -0500 - - [arrays] Remove unnecessary constructor from Supplier<> - - Looks like operator hb_array_t<> from vector works here. :) - - src/hb-machinery.hh | 5 ----- - 1 file changed, 5 deletions(-) - -commit 507cac4943e987879b95d842fe60643abbf22efa -Author: Behdad Esfahbod -Date: Sun Dec 16 23:31:19 2018 -0500 - - [arrays] Start moving Supplier<> to hb_array_t<> - - src/hb-machinery.hh | 31 +++++++++++-------------------- - 1 file changed, 11 insertions(+), 20 deletions(-) - -commit 1e2c98126e8500ace31483b05d77478afd59bab8 -Author: Behdad Esfahbod -Date: Sun Dec 16 22:30:44 2018 -0500 - - [arrays] Remove unused stride from Supplier - - src/hb-machinery.hh | 10 +++------- - 1 file changed, 3 insertions(+), 7 deletions(-) - -commit 0d0fe9df46c645538feaee1ec99a0108383a3669 -Author: Behdad Esfahbod -Date: Sun Dec 16 22:29:40 2018 -0500 - - [arrays] Remove need of stride in Supplier<> - - src/hb-face.cc | 6 ++---- - src/hb-open-file.hh | 19 +++++++++---------- - src/hb-vector.hh | 2 +- - 3 files changed, 12 insertions(+), 15 deletions(-) - -commit dcfa4a8d711716de88b94a370663e9564e3e7ccc -Author: Behdad Esfahbod -Date: Sun Dec 16 20:40:07 2018 -0500 - - [array] Remove custom hb_bytes_t implementation - - src/hb-array.hh | 67 +++++++++++++++++-------------------------------- - src/hb-machinery.hh | 2 +- - src/hb-ot-name-table.hh | 8 +++--- - src/hb-ot-name.cc | 10 ++++---- - 4 files changed, 33 insertions(+), 54 deletions(-) - -commit 3656f56d47cf6b89a25990d7836704fef79fa5b4 -Author: Behdad Esfahbod -Date: Sun Dec 16 20:35:11 2018 -0500 - - [arrays] Minor - - src/hb-array.hh | 3 ++- - src/hb-open-type.hh | 10 ++++------ - src/hb-vector.hh | 4 +--- - 3 files changed, 7 insertions(+), 10 deletions(-) - -commit aa8f94714ee720c56be1a3406df7bacb0550158c -Author: Behdad Esfahbod -Date: Sun Dec 16 20:20:35 2018 -0500 - - [array] Minor - - src/hb-array.hh | 4 ++++ - src/hb-iter.hh | 2 +- - 2 files changed, 5 insertions(+), 1 deletion(-) - -commit 5a552f75468d777d8d4bd3168e28f56a3369eafd -Author: Behdad Esfahbod -Date: Sun Dec 16 20:07:44 2018 -0500 - - [array] Move hb_array_t and related types to hb-array.hh - - src/Makefile.sources | 1 + - src/hb-array.hh | 241 +++++++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-dsalgs.hh | 206 ------------------------------------------- - src/hb-machinery.hh | 1 + - src/hb-vector.hh | 2 +- - 5 files changed, 244 insertions(+), 207 deletions(-) - -commit 01d06e34ffa746d3737df00bb692cdb1e859c1c6 -Author: Behdad Esfahbod -Date: Sun Dec 16 14:27:43 2018 -0500 - - Minor change to explicit_operator aesthetics - - src/hb-iter.hh | 2 +- - src/hb-machinery.hh | 2 +- - src/hb-vector.hh | 4 ++-- - src/hb.hh | 4 ++-- - 4 files changed, 6 insertions(+), 6 deletions(-) - -commit b2ebaa9afac0f57006283db92d1f3b4df3d6bd7e -Author: Ebrahim Byagowi -Date: Sun Dec 16 22:38:10 2018 +0330 - - Remove redundant 'inline' from methods (#1483) - - src/hb-aat-fdsc-table.hh | 12 +- - src/hb-aat-layout-ankr-table.hh | 12 +- - src/hb-aat-layout-bsln-table.hh | 13 +- - src/hb-aat-layout-common.hh | 150 +++++++------- - src/hb-aat-layout-feat-table.hh | 46 ++--- - src/hb-aat-layout-just-table.hh | 26 +-- - src/hb-aat-layout-kerx-table.hh | 120 +++++------ - src/hb-aat-layout-lcar-table.hh | 14 +- - src/hb-aat-layout-morx-table.hh | 104 +++++----- - src/hb-aat-layout-trak-table.hh | 28 +-- - src/hb-aat-layout.hh | 2 +- - src/hb-aat-ltag-table.hh | 6 +- - src/hb-aat-map.hh | 7 +- - src/hb-atomic.hh | 26 +-- - src/hb-blob.hh | 32 ++- - src/hb-buffer.hh | 76 ++++--- - src/hb-cache.hh | 10 +- - src/hb-cff-interp-common.hh | 197 +++++++++--------- - src/hb-cff-interp-cs-common.hh | 166 +++++++-------- - src/hb-cff-interp-dict-common.hh | 26 +-- - src/hb-cff1-interp-cs.hh | 21 +- - src/hb-cff2-interp-cs.hh | 48 ++--- - src/hb-common.cc | 13 +- - src/hb-debug.hh | 20 +- - src/hb-directwrite.cc | 2 +- - src/hb-dsalgs.hh | 84 ++++---- - src/hb-face.cc | 2 +- - src/hb-face.hh | 6 +- - src/hb-font.hh | 216 ++++++++++---------- - src/hb-ft.cc | 8 +- - src/hb-glib.cc | 2 +- - src/hb-icu.cc | 2 +- - src/hb-iter.hh | 18 +- - src/hb-kern.hh | 8 +- - src/hb-machinery.hh | 210 +++++++++---------- - src/hb-map.hh | 38 ++-- - src/hb-mutex.hh | 12 +- - src/hb-null.hh | 26 +-- - src/hb-object.hh | 34 ++-- - src/hb-open-file.hh | 92 ++++----- - src/hb-open-type.hh | 253 ++++++++++++----------- - src/hb-ot-cff-common.hh | 177 ++++++++-------- - src/hb-ot-cff1-table.cc | 32 +-- - src/hb-ot-cff1-table.hh | 160 +++++++-------- - src/hb-ot-cff2-table.cc | 16 +- - src/hb-ot-cff2-table.hh | 62 +++--- - src/hb-ot-cmap-table.hh | 185 +++++++++-------- - src/hb-ot-color-cbdt-table.hh | 40 ++-- - src/hb-ot-color-colr-table.hh | 18 +- - src/hb-ot-color-cpal-table.hh | 55 +++-- - src/hb-ot-color-sbix-table.hh | 48 ++--- - src/hb-ot-color-svg-table.hh | 20 +- - src/hb-ot-font.cc | 2 +- - src/hb-ot-gasp-table.hh | 6 +- - src/hb-ot-glyf-table.hh | 37 ++-- - src/hb-ot-hdmx-table.hh | 36 ++-- - src/hb-ot-head-table.hh | 10 +- - src/hb-ot-hhea-table.hh | 2 +- - src/hb-ot-hmtx-table.hh | 18 +- - src/hb-ot-kern-table.hh | 44 ++-- - src/hb-ot-layout-base-table.hh | 104 +++++----- - src/hb-ot-layout-common.hh | 425 ++++++++++++++++++++------------------- - src/hb-ot-layout-gdef-table.hh | 126 ++++++------ - src/hb-ot-layout-gpos-table.hh | 209 +++++++++---------- - src/hb-ot-layout-gsub-table.hh | 360 ++++++++++++++++----------------- - src/hb-ot-layout-gsubgpos.hh | 353 ++++++++++++++++---------------- - src/hb-ot-layout-jstf-table.hh | 44 ++-- - src/hb-ot-map.hh | 38 ++-- - src/hb-ot-math-table.hh | 142 ++++++------- - src/hb-ot-maxp-table.hh | 12 +- - src/hb-ot-name-table.hh | 21 +- - src/hb-ot-os2-table.hh | 34 ++-- - src/hb-ot-post-table.hh | 26 +-- - src/hb-ot-shape-complex-indic.cc | 10 +- - src/hb-ot-shape-complex-khmer.cc | 10 +- - src/hb-ot-shape.hh | 6 +- - src/hb-ot-stat-table.hh | 16 +- - src/hb-ot-var-avar-table.hh | 8 +- - src/hb-ot-var-fvar-table.hh | 55 +++-- - src/hb-ot-var-hvar-table.hh | 16 +- - src/hb-ot-var-mvar-table.hh | 10 +- - src/hb-ot-vorg-table.hh | 22 +- - src/hb-set-digest.hh | 41 ++-- - src/hb-set.hh | 114 +++++------ - src/hb-shape.cc | 14 +- - src/hb-shaper.cc | 14 +- - src/hb-shaper.hh | 10 +- - src/hb-subset-cff-common.hh | 175 ++++++++-------- - src/hb-subset-cff1.cc | 91 ++++----- - src/hb-subset-cff2.cc | 36 ++-- - src/hb-subset-plan.hh | 12 +- - src/hb-subset.hh | 4 +- - src/hb-ucdn.cc | 2 +- - src/hb-unicode.hh | 26 +-- - src/hb-uniscribe.cc | 16 +- - src/hb-utf.hh | 54 +++-- - src/hb-vector.hh | 86 ++++---- - 97 files changed, 2911 insertions(+), 2987 deletions(-) - -commit 7251c7729061b7df29efe2b466315e96c81ad03f -Author: Behdad Esfahbod -Date: Sat Dec 15 21:00:55 2018 -0500 - - Whitespace - - src/hb-buffer-serialize.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 829b56b1a22736eac49132b2e56dc480157afca2 -Author: Behdad Esfahbod -Date: Sat Dec 15 13:02:13 2018 -0500 - - Whitespace - - src/hb-ot-cff-common.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 42a1012562c1f020f470526a34b68ed21ad138cc -Author: Behdad Esfahbod -Date: Thu Dec 13 19:39:59 2018 -0500 - - [subset] Actually subset GDEF - - src/hb-subset.cc | 3 +++ - 1 file changed, 3 insertions(+) - -commit c9c746c7f6091e575fd74ba8f8cae2c4fd44a1ad -Author: Behdad Esfahbod -Date: Thu Dec 13 18:37:37 2018 -0500 - - [subset] Fix up ClassDef some more - - src/hb-ot-layout-common.hh | 13 +++++++++---- - 1 file changed, 9 insertions(+), 4 deletions(-) - -commit 7ee6128902333716dd8d8df6e38a8d1ebacb0a46 -Author: Behdad Esfahbod -Date: Thu Dec 13 18:32:04 2018 -0500 - - [subset] Fix ClassDefFormat1 subsetting - - src/hb-ot-layout-common.hh | 13 ++++++++----- - 1 file changed, 8 insertions(+), 5 deletions(-) - -commit 1b6d0c44b3067f5840d3fdac99fbc7448d0f37bf -Author: Behdad Esfahbod -Date: Thu Dec 13 18:10:48 2018 -0500 - - [subset] Sketch GDEF subsetting - - src/hb-ot-layout-gdef-table.hh | 20 ++++++++++++++++++++ - src/hb-ot-layout-gsubgpos.hh | 2 ++ - 2 files changed, 22 insertions(+) - -commit 705e2f5056d60c28154004e0c5d3b0ec67fe93c8 -Author: Behdad Esfahbod -Date: Thu Dec 13 17:48:42 2018 -0500 - - [subset] Implement for ClassDef - - src/hb-ot-layout-common.hh | 80 ++++++++++++++++++++++++++++++++++++++++++ - src/hb-ot-layout-gsub-table.hh | 8 ++--- - 2 files changed, 84 insertions(+), 4 deletions(-) - -commit 6e33a3955df77b9d1fda5ea44302d97b21e7871c -Author: Behdad Esfahbod -Date: Thu Dec 13 16:40:01 2018 -0500 - - Minor - - src/hb-machinery.hh | 12 +++++++++--- - src/hb-ot-cmap-table.hh | 3 +-- - src/hb-ot-layout-gsub-table.hh | 8 ++++---- - 3 files changed, 14 insertions(+), 9 deletions(-) - -commit cc65901ca7185df926570d5067ace763a2cc759e -Author: Behdad Esfahbod -Date: Thu Dec 13 16:01:45 2018 -0500 - - [serialize] Implement for ClassDef - - src/hb-ot-layout-common.hh | 33 +++++++++++++++++++++++++++++++-- - 1 file changed, 31 insertions(+), 2 deletions(-) - -commit e5309e4fd8583aa5c5ad9f3934d8aa593c850468 -Author: Behdad Esfahbod -Date: Thu Dec 13 15:57:12 2018 -0500 - - [serialize] Implement for ClassDefFormat2 - - src/hb-ot-layout-common.hh | 50 ++++++++++++++++++++++++++++++++++++++++++---- - 1 file changed, 46 insertions(+), 4 deletions(-) - -commit c8b43cbe316b07507aece4dc769f38226cd706da -Author: Behdad Esfahbod -Date: Thu Dec 13 15:50:13 2018 -0500 - - [serialize] Implement for ClassDefFormat1 - - src/hb-ot-layout-common.hh | 34 ++++++++++++++++++++++++++++++++++ - 1 file changed, 34 insertions(+) - -commit 576103132945c9d916514720d4034b398e099cfa -Author: Behdad Esfahbod -Date: Wed Dec 12 21:21:26 2018 -0500 - - [subset] Minor - - src/hb-subset.cc | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 798e98c47bd9fa4d434487ae92e2c88ebb8a19a5 -Author: Michiharu Ariza -Date: Wed Dec 12 18:08:15 2018 -0800 - - [CFF] bad offset in Index (#1476) - - * Update hb-ot-cff-common.hh - - * fix bug - - * bummer fix wasn't hit. refix - - * additional sanity check - - * Added test cases for oss-fuzz issues 11805, 11806 - - src/hb-ot-cff-common.hh | 10 ++++++++-- - ...clusterfuzz-testcase-hb-subset-fuzzer-5643036478930944 | Bin 0 -> 369 bytes - ...clusterfuzz-testcase-hb-subset-fuzzer-5686186874503168 | Bin 0 -> 962 bytes - 3 files changed, 8 insertions(+), 2 deletions(-) - -commit bcb4ecaf68c7219e89a801352bfc6a682b1581ef -Author: Michiharu Ariza -Date: Wed Dec 12 17:36:01 2018 -0800 - - [CFF] check out of range FD index (#1477) - - * add fd index checks to subr subsetter - - also added oss-fuzz test case - - * undid SubrSubsetParam::is_valid - - because already validated by SubrClosures.valid - - src/hb-subset-cff-common.hh | 10 ++++++++++ - ...lusterfuzz-testcase-hb-subset-fuzzer-5762137968869376 | Bin 0 -> 2037 bytes - 2 files changed, 10 insertions(+) - -commit 3f8e7a98d3cc10fefe65b9638c8abdf3ebe152cb -Author: Behdad Esfahbod -Date: Wed Dec 12 11:32:57 2018 -0500 - - [util/hb-subset] Add --layout to keep GDEF/GSUB/GPOS - - Will become default and option removed in the future. - - util/hb-subset.cc | 1 + - util/options.cc | 1 + - util/options.hh | 2 ++ - 3 files changed, 4 insertions(+) - -commit 2cc993e035cb37711f894968246817e53a9e823d -Author: Behdad Esfahbod -Date: Wed Dec 12 10:07:38 2018 -0500 - - [dispatch] Minor - - src/hb-ot-layout-gpos-table.hh | 4 +--- - src/hb-ot-layout-gsub-table.hh | 4 +--- - 2 files changed, 2 insertions(+), 6 deletions(-) - -commit 602fbfe3c96b3f18b0109239528ba18a19be4948 -Author: Behdad Esfahbod -Date: Wed Dec 12 09:56:47 2018 -0500 - - [sanitize] Fix sanitizing sublookup array - - src/hb-ot-layout-common.hh | 12 +++++++++++- - 1 file changed, 11 insertions(+), 1 deletion(-) - -commit c78e4784fbe06ceb27b54a1d8908016ade071cb4 -Author: Behdad Esfahbod -Date: Wed Dec 12 09:50:18 2018 -0500 - - [dispatch] Minor - - src/hb-machinery.hh | 1 + - src/hb-ot-layout-gsubgpos.hh | 3 --- - src/hb-subset.hh | 1 - - 3 files changed, 1 insertion(+), 4 deletions(-) - -commit f9d211af1d6d78d092038d263b222ec8a65cf09d -Author: Behdad Esfahbod -Date: Wed Dec 12 09:44:30 2018 -0500 - - Revert "Minor fix re sanitize of Lookup subtables" - - This reverts commit 7146718bef81492e13aede0a2801cda1da41ce35. - - Fixing differently. - - src/hb-ot-layout-common.hh | 4 +--- - 1 file changed, 1 insertion(+), 3 deletions(-) - -commit 7ee5c52345c122436e054062084cd51292b90ad1 -Author: Ebrahim Byagowi -Date: Wed Dec 12 15:14:37 2018 +0330 - - minor style fix, use void in methods on no argument - - src/hb-aat-fdsc-table.hh | 4 +- - src/hb-aat-layout-common.hh | 6 +- - src/hb-aat-layout-feat-table.hh | 4 +- - src/hb-aat-layout-trak-table.hh | 18 +-- - src/hb-aat-layout.cc | 4 +- - src/hb-buffer.cc | 48 +++---- - src/hb-directwrite.cc | 297 +++++++++++++++++++--------------------- - src/hb-dsalgs.hh | 5 +- - src/hb-map.hh | 20 +-- - src/hb-ot-cmap-table.hh | 2 +- - src/hb-ot-color-cbdt-table.hh | 2 +- - src/hb-ot-color-cpal-table.hh | 4 +- - src/hb-ot-color-sbix-table.hh | 10 +- - src/hb-ot-color-svg-table.hh | 15 +- - src/hb-ot-glyf-table.hh | 2 +- - src/hb-ot-hdmx-table.hh | 6 +- - src/hb-ot-layout-base-table.hh | 11 +- - src/hb-ot-os2-table.hh | 15 +- - 18 files changed, 211 insertions(+), 262 deletions(-) - -commit a33f238f8888cc969e1e393deda0518fb8dd6b13 -Merge: 7146718be 1e09add23 -Author: Ebrahim Byagowi -Date: Wed Dec 12 12:44:06 2018 +0330 - - Merge pull request #1474 from fanc999/master.msvc - - Few fixes for Visual Studio builds - -commit 7146718bef81492e13aede0a2801cda1da41ce35 -Author: Behdad Esfahbod -Date: Tue Dec 11 23:44:29 2018 -0500 - - Minor fix re sanitize of Lookup subtables - - We were dereferencing Null pointers and trying to sanitize them, - which is not necessary... - - src/hb-ot-layout-common.hh | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit ce069d193229cde12c77a3f464fc10286bedf5f3 -Author: Behdad Esfahbod -Date: Tue Dec 11 23:07:48 2018 -0500 - - Minor - - src/hb-open-type.hh | 1 - - 1 file changed, 1 deletion(-) - -commit 1aea86944605e7e18acfd2c0a77ba60e62239274 -Author: Behdad Esfahbod -Date: Tue Dec 11 22:53:58 2018 -0500 - - [subset] Map glyphs during SingleSubst subsetting - - Ha! - - src/hb-ot-layout-gsub-table.hh | 10 ++++++---- - 1 file changed, 6 insertions(+), 4 deletions(-) - -commit 41d1a1c10f7e5ca69a337ae164d270e09b5f93ac -Author: Behdad Esfahbod -Date: Tue Dec 11 22:48:27 2018 -0500 - - [subset] Minor - - src/hb-machinery.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 2aba2c6c73301396f7e0e5dee819ab6863e74900 -Author: Behdad Esfahbod -Date: Tue Dec 11 21:18:47 2018 -0500 - - [serialize] Break down assert - - src/hb-machinery.hh | 18 ++++++++---------- - 1 file changed, 8 insertions(+), 10 deletions(-) - -commit 9844c880e280e9cd28dcbeac2e581ac923c5ddf3 -Author: Behdad Esfahbod -Date: Tue Dec 11 17:28:04 2018 -0500 - - Minor - - test/shaping/Makefile.am | 2 ++ - util/Makefile.am | 2 ++ - 2 files changed, 4 insertions(+) - -commit 2941208f1eedabec2715b2a67d40f058df7eb5e6 -Author: Michiharu Ariza -Date: Tue Dec 11 12:21:24 2018 -0800 - - [CFF] oss-fuzz issue 11690 ASSERT: substr.offset >= opStart (#1461) - - * fix oss-fuzz 11690: substr.offset >= opStart - - detect recursive subroutine call & handle as error - - * fix build failure - - * add minimized test case for oss-fuzz 11690 - - * removed asserts - - src/hb-cff-interp-common.hh | 9 ++++----- - src/hb-subset-cff-common.hh | 12 ++++++++++-- - src/hb-subset-cff1.cc | 4 ++-- - src/hb-subset-cff2.cc | 4 ++-- - ...testcase-minimized-hb-subset-fuzzer-5750420593442816 | Bin 0 -> 96091 bytes - 5 files changed, 18 insertions(+), 11 deletions(-) - -commit 333586245cb37668c8a29af17920474c09667f4b -Author: Michiharu Ariza -Date: Tue Dec 11 12:20:20 2018 -0800 - - minimize use of assert: removed or changed to error handling (#1467) - - src/hb-ot-cff-common.hh | 2 +- - src/hb-ot-cff1-table.hh | 12 ++++++++---- - src/hb-subset-cff-common.cc | 6 ++++-- - src/hb-subset-cff-common.hh | 1 - - src/hb-subset-cff1.cc | 22 +++++++++++++++++----- - src/hb-subset-cff2.cc | 14 +++++++++++--- - 6 files changed, 41 insertions(+), 16 deletions(-) - -commit f24498c1e95e816889eb7a2f8b1062bbf15bed1b -Author: Ebrahim Byagowi -Date: Tue Dec 11 23:02:52 2018 +0330 - - [ci] Fix Travis macOS bot ICU issue (#1472) - - .travis.yml | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -commit 9f3a51ddb952e1281f9a656fde7193c3e3b8dad2 -Author: 👻 -Date: Tue Dec 11 13:38:05 2018 -0500 - - [ucdn] Fix header - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1470 - - src/hb-ucdn/ucdn.h | 4 +--- - 1 file changed, 1 insertion(+), 3 deletions(-) - -commit b225593d6baf3455e1ac951efc0df5015fdf7c69 -Author: David Corbett -Date: Tue Dec 11 13:19:17 2018 -0500 - - Correct REPLACEMENT CHARACTER's code point to FFFD (#1471) - - test/shaping/hb_test_tools.py | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 1e09add232e14ef61d2f222a5ee05a2105af64f0 -Author: Chun-wei Fan -Date: Wed Dec 12 01:32:01 2018 +0800 - - test/api: Fix building on pre-C99 compilers - - Ensure variables are declared at the top of the block. - - test/api/hb-test.h | 3 ++- - test/api/test-aat-layout.c | 3 ++- - test/api/test-font.c | 2 +- - test/api/test-map.c | 9 ++++++--- - test/api/test-ot-color.c | 9 +++++---- - test/api/test-ot-face.c | 14 ++++++++------ - test/api/test-ot-name.c | 30 ++++++++++++++++-------------- - test/api/test-ot-tag.c | 11 ++++++----- - 8 files changed, 46 insertions(+), 35 deletions(-) - -commit 09b16c536d31376de771eedde54620dd6c8f39d7 -Author: Chun-wei Fan -Date: Wed Dec 12 01:23:53 2018 +0800 - - CMake: Fix Introspection builds - - We need to add -DHB_AAT_H and -DHB_AAT_H_IN to the flags that are passed - to g-ir-scanner, so that introspection builds can proceed normally. - - CMakeLists.txt | 2 ++ - 1 file changed, 2 insertions(+) - -commit 1683bb2c9337fa34e5e80d459ab5eab99d7a9804 -Author: Ebrahim Byagowi -Date: Sat Dec 8 13:57:39 2018 +0330 - - [glyf] minor - - src/hb-ot-glyf-table.hh | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -commit f7cfe99815c07f82d5ad253af1e811db734bf92b -Author: Ebrahim Byagowi -Date: Sat Dec 8 13:40:44 2018 +0330 - - [os2] Move typometrics detection logic to the table (#1465) - - src/hb-ot-hmtx-table.hh | 14 +++++--------- - src/hb-ot-os2-table.hh | 7 ++++--- - 2 files changed, 9 insertions(+), 12 deletions(-) - -commit 47cf9a9633bbff12fef1131e7179dfc351f7e5f3 -Author: Ebrahim Byagowi -Date: Sat Dec 8 10:20:25 2018 +0330 - - Apply non-controversial parts of ot-style (#1464) - - Things to be used in https://github.com/harfbuzz/harfbuzz/pull/1459 - - src/hb-aat-fdsc-table.hh | 29 +++++++++++++++++++++++++--- - src/hb-aat-layout-common.hh | 1 + - src/hb-ot-head-table.hh | 13 +++++++++++++ - src/hb-ot-os2-table.hh | 46 +++++++++++++++++++++++++++++++++++++++++++++ - src/hb-ot-stat-table.hh | 38 ++++++++++++++++++------------------- - 5 files changed, 105 insertions(+), 22 deletions(-) - -commit 4d809696ef4db046d11072e5433ea5ff36bd7b26 -Author: Michiharu Ariza -Date: Fri Dec 7 20:49:39 2018 -0800 - - fix for issue #1447 (#1462) - - Added case for OpCode_BaseFontName. This opcode in spec but practically unused. - Added a comment for default case which can't be hit - - src/hb-ot-cff1-table.hh | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -commit 1abd4fcaec31053b442525d7f240af489c5974b1 -Author: Ebrahim Byagowi -Date: Fri Dec 7 22:34:12 2018 +0330 - - [fdsc] minor - - src/hb-aat-fdsc-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 59345cdef38cf1f514a6a0eb6e8852350acb6166 -Author: Michiharu Ariza -Date: Thu Dec 6 13:36:26 2018 -0800 - - [CFF] Refix oss-fuzz 11714: set_blends (PR #1458) (#1460) - - * pass subarray of stack to set_blends - - * get_subarray to return a value, not ref - - * restored error check (with tweak) - - src/hb-cff-interp-common.hh | 5 +++++ - src/hb-cff2-interp-cs.hh | 14 +++++++++----- - 2 files changed, 14 insertions(+), 5 deletions(-) - -commit 20245f0000a0f04f2ba172b51ce69ee7ebb256aa -Author: Behdad Esfahbod -Date: Thu Dec 6 10:27:37 2018 -0800 - - Fix likely check - - Ouch! - - src/hb-cff-interp-dict-common.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit d866e905fd555d393464ed58d5fc11ee453c7ea4 -Author: Behdad Esfahbod -Date: Thu Dec 6 10:26:32 2018 -0800 - - Add default value to first argument of sub_array() - - src/hb-dsalgs.hh | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -commit f1352f7486caaf6d3480ef2ac6b4719acf73e6a2 -Author: Behdad Esfahbod -Date: Thu Dec 6 10:21:06 2018 -0800 - - Add sub_array to hb_vector_t - - src/hb-vector.hh | 18 ++++++++++++++++++ - 1 file changed, 18 insertions(+) - -commit ca23b719357b01e98a5cf533bbf637d6706a4ec2 -Author: Behdad Esfahbod -Date: Thu Dec 6 10:19:03 2018 -0800 - - Add default-value for second arg of sub_array() - - src/hb-dsalgs.hh | 7 +++---- - src/hb-open-type.hh | 8 ++++---- - 2 files changed, 7 insertions(+), 8 deletions(-) - -commit 6ad3fcddaf2ba8ebc9ad49ff9e7b33b60fcad16a -Merge: f95324a33 ae087d10c -Author: Ebrahim Byagowi -Date: Thu Dec 6 10:21:00 2018 +0330 - - Merge pull request #1458 from harfbuzz/cff-check-blends - - [CFF] oss-fuzz issue 11714: set_blends - -commit ae087d10c22249f3aec3239e4eac98a728f71f75 -Author: Michiharu Ariza -Date: Wed Dec 5 21:47:34 2018 -0800 - - add minimized test case for oss-fuzz issue 11714 - - ...-testcase-minimized-hb-subset-fuzzer-5710107829075968 | Bin 0 -> 3660 bytes - 1 file changed, 0 insertions(+), 0 deletions(-) - -commit 1ccbdcf73bbc967f5f94c0bc7f7e869bd87d9fa0 -Merge: 14d29a104 f95324a33 -Author: Michiharu Ariza -Date: Wed Dec 5 21:37:38 2018 -0800 - - Merge branch 'master' into cff-check-blends - -commit 14d29a10437205566c4bd7bcfa2282d34d9f4f2f -Author: Michiharu Ariza -Date: Wed Dec 5 21:33:29 2018 -0800 - - check number of blends against args on stack - - src/hb-cff2-interp-cs.hh | 5 +++++ - 1 file changed, 5 insertions(+) - -commit f95324a3351c1f699214ad84d073268218ea83a3 -Merge: 6727c4b6f 9d8f3b0df -Author: Ebrahim Byagowi -Date: Thu Dec 6 08:33:44 2018 +0330 - - Merge pull request #1457 from harfbuzz/cff-varstore-sanitize - - [CFF] oss-fuzz issue 11713 (CFF2VariationStore::serialize) - -commit 6727c4b6f0356b08803b4d5cde608ec004e3533f -Merge: d9dabc00e 34e3ef8ff -Author: Behdad Esfahbod -Date: Wed Dec 5 17:37:21 2018 -0800 - - Merge pull request #1456 from harfbuzz/cff-subr-sanitize - - [CFF] fix oss-fuzz issue 11691 (BlendArg::set_blends) - -commit 9d8f3b0dfbf39f5dfa25d52f47e8af6ad318eb17 -Author: Michiharu Ariza -Date: Wed Dec 5 17:14:51 2018 -0800 - - add minimized test case for oss-fuzz issue 11713 - - ...z-testcase-minimized-hb-subset-fuzzer-5660711141769216 | Bin 0 -> 383 bytes - 1 file changed, 0 insertions(+), 0 deletions(-) - -commit c31092ab34641072606f854408eb1bea18ed2507 -Author: Michiharu Ariza -Date: Wed Dec 5 17:04:55 2018 -0800 - - sanitize variationStore in CFF2 against its size - - src/hb-ot-cff2-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 34e3ef8ff394f281b8d7e2c08f346a9495692edc -Merge: 72d8f7636 d9dabc00e -Author: Michiharu Ariza -Date: Wed Dec 5 15:50:05 2018 -0800 - - Merge branch 'master' into cff-subr-sanitize - -commit 72d8f76368b264a42fe58438fe15811d458a7935 -Author: Michiharu Ariza -Date: Wed Dec 5 15:49:11 2018 -0800 - - add minimized test case for oss-fuzz issue 11691 - - ...z-testcase-minimized-hb-shape-fuzzer-5686369209286656 | Bin 0 -> 2880 bytes - 1 file changed, 0 insertions(+), 0 deletions(-) - -commit d9dabc00e9278a346e85538212c126da7e610d55 -Merge: 81cfd3c77 010e2ddb3 -Author: Behdad Esfahbod -Date: Wed Dec 5 15:39:34 2018 -0800 - - Merge pull request #1454 from harfbuzz/cff-fixbcd - - [CFF] fix oss-fuzz issue 11674: parse_bcd - -commit 81cfd3c775dbc470f57d7fe2775cc068ffa367b6 -Merge: 8394a6cb2 6708c5595 -Author: Behdad Esfahbod -Date: Wed Dec 5 15:37:15 2018 -0800 - - Merge pull request #1455 from harfbuzz/cff-strinc_assert - - [CFF] fix oss-fuzz issue 11675 (ASSERT: count <= str.len) - -commit 6dcfda92c17a7701479118751a8290246e9a3c05 -Author: Michiharu Ariza -Date: Wed Dec 5 15:07:46 2018 -0800 - - sanitize CFF1 & CFF2 global subrs - - src/hb-ot-cff1-table.hh | 2 +- - src/hb-ot-cff2-table.hh | 1 + - 2 files changed, 2 insertions(+), 1 deletion(-) - -commit 6708c5595fc6babdae0132f8a23cbe3558a58703 -Author: Michiharu Ariza -Date: Wed Dec 5 12:51:18 2018 -0800 - - fix oss-fuzz issue 11675 (ASSERT: count <= str.len) - - Also added an additional error check to avail () - - src/hb-cff-interp-common.hh | 18 ++++++++++++++++-- - ...stcase-minimized-hb-subset-fuzzer-5768186323009536 | Bin 0 -> 337 bytes - 2 files changed, 16 insertions(+), 2 deletions(-) - -commit 010e2ddb384b5a721172fd7466aafec58dbf8063 -Author: Michiharu Ariza -Date: Wed Dec 5 12:23:58 2018 -0800 - - minimized test case for oss-fuzz issue 11674 - - ...zz-testcase-minimized-hb-subset-fuzzer-5672006905757696 | Bin 0 -> 73 bytes - 1 file changed, 0 insertions(+), 0 deletions(-) - -commit 2cb9d4c183afc838ecf2ba0d47814e9eaa6f09c6 -Merge: a5fa843c7 8394a6cb2 -Author: Michiharu Ariza -Date: Wed Dec 5 11:25:29 2018 -0800 - - Merge branch 'master' into cff-fixbcd - -commit a5fa843c746e20aaca48ece6cff057deb8d916ca -Author: Michiharu Ariza -Date: Wed Dec 5 11:18:16 2018 -0800 - - fixed a bug with fractional part in a negative value - - src/hb-cff-interp-dict-common.hh | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -commit 8394a6cb252dd8b4230c2b59e8c346ec5403bf88 -Author: Ebrahim Byagowi -Date: Wed Dec 5 15:23:41 2018 +0330 - - [os2] Make newer table fields accessible (#1452) - - src/hb-ot-os2-table.hh | 88 +++++++++++++++++++++++++++++++++++++------------- - 1 file changed, 66 insertions(+), 22 deletions(-) - -commit 5ab086ebb18112ef48bf6c913acc91b2009a9bed -Author: Ebrahim Byagowi -Date: Wed Dec 5 14:17:37 2018 +0330 - - [fdsc] Implement the table parsing - - Related to https://github.com/harfbuzz/harfbuzz/issues/1337 - - May used in addition to an API related to STAT. - - Lots of Apple fonts have it. - - src/Makefile.sources | 1 + - src/hb-aat-fdsc-table.hh | 103 +++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-aat-layout.cc | 1 + - 3 files changed, 105 insertions(+) - -commit 8f80e53341a3d5bac6c2c39ab6d6973eedb0b074 -Author: Ebrahim Byagowi -Date: Wed Dec 5 13:51:14 2018 +0330 - - [gasp] Implement the table parsing - - May or may not be used in https://github.com/harfbuzz/harfbuzz/pull/1432 - - src/Makefile.sources | 1 + - src/hb-ot-gasp-table.hh | 84 +++++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-ot-layout.cc | 5 +-- - 3 files changed, 88 insertions(+), 2 deletions(-) - -commit 79e7e3445efef2dc57f8a10c7e355e802af08868 -Merge: cf4b7db6b 78f639b8b -Author: Ebrahim Byagowi -Date: Wed Dec 5 13:25:18 2018 +0330 - - Merge pull request #1449 from harfbuzz/cff-fixcharset - - [CFF] fix for oss-fuzz 11657: Charset overrun - -commit cf4b7db6b1e01c11d7a8a26d95cf947935a234a7 -Merge: 32cc46c75 803d2f92d -Author: Ebrahim Byagowi -Date: Wed Dec 5 13:23:23 2018 +0330 - - Merge pull request #1448 from harfbuzz/cff-leak - - [CFF] fix leak: oss-fuzz 11662 - -commit 620d1ef588c6ce25644891cfe4b9c20fd8a9d1db -Author: Michiharu Ariza -Date: Wed Dec 5 00:36:11 2018 -0800 - - fix unsigned long const - - src/hb-cff-interp-dict-common.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 28dfb4c14280b05ad0a519f9df2b0eda41a62540 -Author: Michiharu Ariza -Date: Wed Dec 5 00:26:03 2018 -0800 - - fix signed/unsigned comparison - - src/hb-cff-interp-dict-common.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit f9cee08edd32182044407bf6ffde00df0feb09b7 -Author: Michiharu Ariza -Date: Tue Dec 4 23:58:26 2018 -0800 - - use sized int types in parse_bcd - - src/hb-cff-interp-dict-common.hh | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - -commit c01a5f32a33fa875de68ca29a4672fd36a05245b -Author: Michiharu Ariza -Date: Tue Dec 4 23:23:23 2018 -0800 - - refix - - src/hb-cff-interp-dict-common.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 755fefc92113e469a1aadee2546958fede156c01 -Author: Michiharu Ariza -Date: Tue Dec 4 23:18:28 2018 -0800 - - fix bug - - src/hb-cff-interp-dict-common.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 0e81b153aff1f2e301e73ca1a15a9bc5b2e7bb82 -Author: Michiharu Ariza -Date: Tue Dec 4 22:40:07 2018 -0800 - - fix typo - - src/hb-cff-interp-dict-common.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 85d4b15cd88ce9a6ffccccf90300f9c184166058 -Author: Michiharu Ariza -Date: Tue Dec 4 22:30:33 2018 -0800 - - include float.h - - src/hb-cff-interp-dict-common.hh | 1 + - 1 file changed, 1 insertion(+) - -commit 5a7c371e4c6f1775ebbfe120fafe92afe402a954 -Author: Michiharu Ariza -Date: Tue Dec 4 22:24:38 2018 -0800 - - check overflow & clamp - - src/hb-cff-interp-dict-common.hh | 36 +++++++++++++++++++++++++++--------- - 1 file changed, 27 insertions(+), 9 deletions(-) - -commit 32cc46c75a5f163f254b7998ed9193d5bbc85e4b -Author: Michiharu Ariza -Date: Tue Dec 4 21:32:34 2018 -0800 - - [CFF] fix oss-fuzz issue 11670: NULL dereference (#1450) - - * guard against no subr access - - * code tweak - - * add minimized testcase for oss-fuzz 11670 (Null deference) - - src/hb-cff-interp-cs-common.hh | 22 ++++++++++++++++----- - src/hb-ot-cff-common.hh | 2 +- - ...ase-minimized-hb-subset-fuzzer-5672913680728064 | Bin 0 -> 861 bytes - 3 files changed, 18 insertions(+), 6 deletions(-) - -commit 78f639b8bf508ccfb27224f12442f8e8a1460e08 -Author: Michiharu Ariza -Date: Tue Dec 4 14:17:03 2018 -0800 - - added minimized testcase for oss-fuzz issue 11657 - - ...zz-testcase-minimized-hb-shape-fuzzer-5700264032468992 | Bin 0 -> 648 bytes - 1 file changed, 0 insertions(+), 0 deletions(-) - -commit d3d2f32c6e85de1d7fbbb18afef356e09110e61c -Author: Michiharu Ariza -Date: Tue Dec 4 13:51:26 2018 -0800 - - fix oss-fuzz 11657: buffer overrun - - Check overrun in Charset1_2::get_glyph - - src/hb-ot-cff1-table.hh | 10 ++++++---- - 1 file changed, 6 insertions(+), 4 deletions(-) - -commit d0a250a7b15f1099c2005bc2427d62e7370dcc33 -Author: Ebrahim Byagowi -Date: Tue Dec 4 23:42:13 2018 +0330 - - Reuse hb_aat_layout_has_* logic in coretext-aat detection logic (#1442) - - src/hb-coretext.cc | 16 ++-------------- - 1 file changed, 2 insertions(+), 14 deletions(-) - -commit 803d2f92dca329a84d92c224a73e13906e8b8d56 -Merge: 6ce8d10b4 c775adc13 -Author: Michiharu Ariza -Date: Tue Dec 4 11:01:26 2018 -0800 - - Merge branch 'master' into cff-leak - -commit 6ce8d10b45598f5f6dade38e65486f793f33d0b6 -Author: Michiharu Ariza -Date: Tue Dec 4 10:39:17 2018 -0800 - - add unlikely to error handling - - src/hb-ot-cff1-table.hh | 2 +- - src/hb-ot-cff2-table.hh | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit b61f74f69a84f427b40deefefed429fbc915981c -Author: Michiharu Ariza -Date: Tue Dec 4 10:30:35 2018 -0800 - - added minimized test case for oss-fuzz issue 11662 - - ...testcase-minimized-hb-shape-fuzzer-5175735354916864 | Bin 0 -> 354461 bytes - 1 file changed, 0 insertions(+), 0 deletions(-) - -commit 0b952e6026c8be13d16d97f464034ee477e6282f -Author: Michiharu Ariza -Date: Tue Dec 4 10:22:35 2018 -0800 - - more leak fixes - - src/hb-ot-cff1-table.hh | 2 +- - src/hb-ot-cff2-table.hh | 3 ++- - 2 files changed, 3 insertions(+), 2 deletions(-) - -commit c775adc1383f72f02b1329628b3eba1dc377a0f7 -Merge: c968869f2 04f2ca942 -Author: Ebrahim Byagowi -Date: Tue Dec 4 21:30:07 2018 +0330 - - Merge pull request #1444 from harfbuzz/cff-assert - - removed assert, fixes https://github.com/harfbuzz/harfbuzz/issues/1443 - -commit 9473463f5c884fcb1de8a7ba7410da2601e6ffa8 -Author: Michiharu Ariza -Date: Tue Dec 4 09:58:48 2018 -0800 - - fix attempt for oss-fuzz 11662 leak - - src/hb-ot-cff1-table.hh | 1 + - 1 file changed, 1 insertion(+) - -commit 04f2ca94212983d675ed2cd36350be23ff2a6e19 -Author: Michiharu Ariza -Date: Tue Dec 4 09:24:07 2018 -0800 - - removed assert - - src/hb-ot-cff1-table.hh | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit c968869f212dbfcb86d42fb36049328521cbf00c -Merge: 8c05b955e c48f53d30 -Author: Behdad Esfahbod -Date: Tue Dec 4 04:14:13 2018 -0500 - - Merge pull request #1441 from harfbuzz/cff-doublenum - - use double as CFF Number implementation - -commit c48f53d30901dfc20b7432c2947e66642010dc4e -Author: Michiharu Ariza -Date: Mon Dec 3 16:59:41 2018 -0800 - - more double changes - - src/hb-cff2-interp-cs.hh | 4 ++-- - test/api/test-ot-extents-cff.c | 2 +- - 2 files changed, 3 insertions(+), 3 deletions(-) - -commit 9424e8052686a6a93e0d30e38aecbe927db9d787 -Author: Michiharu Ariza -Date: Mon Dec 3 16:18:10 2018 -0800 - - added minimized test cases - - ...zz-testcase-minimized-hb-shape-fuzzer-5647267827023872 | Bin 0 -> 655 bytes - ...zz-testcase-minimized-hb-shape-fuzzer-5725855502827520 | Bin 0 -> 655 bytes - ...zz-testcase-minimized-hb-shape-fuzzer-5736657639178240 | Bin 0 -> 459 bytes - 3 files changed, 0 insertions(+), 0 deletions(-) - -commit 5fff6ab0024547a8ac47723a0047f4b17416d6ce -Author: Michiharu Ariza -Date: Mon Dec 3 16:06:58 2018 -0800 - - additional precision made a difference in extents test - - src/hb-cff-interp-common.hh | 2 +- - src/hb-cff2-interp-cs.hh | 2 +- - test/api/test-ot-extents-cff.c | 2 +- - 3 files changed, 3 insertions(+), 3 deletions(-) - -commit 9e5180cd444b6900a0fa0c3df4c8138f9a663383 -Author: Michiharu Ariza -Date: Mon Dec 3 15:32:42 2018 -0800 - - more double changes - - src/hb-cff-interp-common.hh | 8 ++++---- - src/hb-cff-interp-dict-common.hh | 10 +++++----- - 2 files changed, 9 insertions(+), 9 deletions(-) - -commit 9af33d7a2ad5ce88fc508bc5c6a56be4650d2621 -Author: Michiharu Ariza -Date: Mon Dec 3 14:48:46 2018 -0800 - - Number to use double for all types - - src/hb-cff-interp-common.hh | 84 +++++++-------------------------------------- - 1 file changed, 13 insertions(+), 71 deletions(-) - -commit 8c05b955eb4aa088b2b5df9b6415863486eaf59c -Merge: d19b1680b 01f628cf5 -Author: Behdad Esfahbod -Date: Mon Dec 3 14:30:51 2018 -0500 - - Merge pull request #1439 from ebraminio/tracking - - [aat] Expose hb_aat_layout_has_tracking API - -commit 01f628cf5571b8b58108ab66cfc3e929c9840e31 -Author: Ebrahim Byagowi -Date: Mon Dec 3 22:04:48 2018 +0330 - - [aat] Expose hb_aat_layout_has_tracking API - - docs/harfbuzz-sections.txt | 7 ++++--- - src/hb-aat-layout.cc | 9 ++++++++- - src/hb-aat-layout.h | 8 ++++++++ - src/hb-aat-layout.hh | 3 --- - test/api/fonts/aat-morx.ttf | Bin 0 -> 1620 bytes - test/api/fonts/aat-trak.ttf | Bin 0 -> 2456 bytes - test/api/test-aat-layout.c | 13 +++++++++++++ - 7 files changed, 33 insertions(+), 7 deletions(-) - -commit d19b1680b53e54f449736432f369a676c394ebf8 -Author: Behdad Esfahbod -Date: Mon Dec 3 10:41:37 2018 -0500 - - [aat] Expose a couple APIs - - New API: - +hb_aat_layout_has_substitution() - +hb_aat_layout_has_positioning() - - docs/harfbuzz-sections.txt | 2 ++ - src/hb-aat-layout.cc | 20 ++++++++++++++++---- - src/hb-aat-layout.h | 16 ++++++++++++++++ - src/hb-aat-layout.hh | 6 ------ - 4 files changed, 34 insertions(+), 10 deletions(-) - -commit 84efe0438e1cfc5b070e114b70e8c070be6119ca -Author: Behdad Esfahbod -Date: Sun Dec 2 12:38:53 2018 -0500 - - [aat] Fix division sign fallout - - Happened after 11d2f49af8f53340134c844173f4d8655b00dea3 - since now nClasses is unsigned int... - - src/hb-aat-layout-common.hh | 2 +- - ...zz-testcase-minimized-hb-shape-fuzzer-5768046065483776 | Bin 0 -> 342 bytes - 2 files changed, 1 insertion(+), 1 deletion(-) - -commit 2087f5a2a743380b36399ba8a2b4ff9e93890fcf -Author: Behdad Esfahbod -Date: Sat Dec 1 20:04:45 2018 -0500 - - Add casts to hb_array_t<> - - src/hb-open-type.hh | 13 ++++++++++--- - src/hb-vector.hh | 2 ++ - 2 files changed, 12 insertions(+), 3 deletions(-) - -commit 58d4d19947794aded4e966290b01e1034f216a7d -Author: Behdad Esfahbod -Date: Sat Dec 1 19:34:18 2018 -0500 - - Simplify build source list - - CMakeLists.txt | 12 +-- - src/Makefile.am | 6 -- - src/Makefile.sources | 231 ++++++++++++++++++++++++--------------------------- - 3 files changed, 111 insertions(+), 138 deletions(-) - -commit 967a204ee92548163a0d19678a237dcaf3720c20 -Author: Behdad Esfahbod -Date: Sat Dec 1 19:28:17 2018 -0500 - - Minor - - test/api/hb-subset-test.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 11d2f49af8f53340134c844173f4d8655b00dea3 -Author: Behdad Esfahbod -Date: Sat Dec 1 13:12:21 2018 -0500 - - New approach to change BigEndian casts to be int-sized - - Fixes spurious warnings like: - Fixes https://github.com/harfbuzz/harfbuzz/issues/1436 - - src/hb-open-type.hh | 12 ++++++++++-- - 1 file changed, 10 insertions(+), 2 deletions(-) - -commit 50e0273ab18acd2fbb21bcf18ad487092e890b4e -Author: Behdad Esfahbod -Date: Sat Dec 1 13:03:52 2018 -0500 - - Change hb_assert_unsigned_t<> to hb_is_signed<> - - src/hb-dsalgs.hh | 16 ++++++++++------ - 1 file changed, 10 insertions(+), 6 deletions(-) - -commit c3a8b047aab47e40dc107a952b3a1472068ec932 -Author: Behdad Esfahbod -Date: Sat Dec 1 00:14:48 2018 -0500 - - Revert "Change BigEndian casts to be int-sized" - - This reverts commit eb5ddd32bf4e458ca0af8d5784f8fd46485ad225. - - Broke tests, badly. To be investigated and reenabled. - - src/hb-open-type.hh | 16 ++++++++-------- - 1 file changed, 8 insertions(+), 8 deletions(-) - -commit be45677ab605efc711a433323d66e4051c289252 -Author: Behdad Esfahbod -Date: Sat Dec 1 00:04:29 2018 -0500 - - Minor - - src/hb-ot-layout-gsub-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit eb5ddd32bf4e458ca0af8d5784f8fd46485ad225 -Author: Behdad Esfahbod -Date: Sat Dec 1 00:03:01 2018 -0500 - - Change BigEndian casts to be int-sized - - Fixes spurious warnings like: - Fixes https://github.com/harfbuzz/harfbuzz/issues/1436 - - src/hb-open-type.hh | 16 ++++++++-------- - 1 file changed, 8 insertions(+), 8 deletions(-) - -commit e8860fdcaa69e3452edd903f78599bc8fa9d109c -Author: Behdad Esfahbod -Date: Fri Nov 30 23:38:24 2018 -0500 - - Fix more warning - - src/hb-ot-cff-common.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit af349ee3487b31c2328f0a37a43d31b248ed14e5 -Author: Behdad Esfahbod -Date: Fri Nov 30 23:20:50 2018 -0500 - - Fix warning - - src/hb-ot-cff-common.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 825df6dbc7fd013c68d7b5672f81e69b69bc14e7 -Author: Behdad Esfahbod -Date: Fri Nov 30 23:04:59 2018 -0500 - - [CFF] Change spaces to tabs - - src/hb-cff-interp-common.hh | 389 ++++++++++++++++----------------- - src/hb-cff-interp-cs-common.hh | 324 ++++++++++++++-------------- - src/hb-cff-interp-dict-common.hh | 190 ++++++++-------- - src/hb-cff1-interp-cs.hh | 72 +++---- - src/hb-cff2-interp-cs.hh | 76 +++---- - src/hb-ot-cff-common.hh | 128 +++++------ - src/hb-ot-cff1-table.cc | 4 +- - src/hb-ot-cff1-table.hh | 456 +++++++++++++++++++-------------------- - src/hb-ot-cff2-table.cc | 4 +- - src/hb-ot-cff2-table.hh | 216 +++++++++---------- - src/hb-subset-cff-common.cc | 76 +++---- - src/hb-subset-cff-common.hh | 384 ++++++++++++++++----------------- - src/hb-subset-cff1.cc | 416 +++++++++++++++++------------------ - src/hb-subset-cff1.hh | 2 +- - src/hb-subset-cff2.cc | 240 ++++++++++----------- - src/hb-subset-cff2.hh | 2 +- - 16 files changed, 1492 insertions(+), 1487 deletions(-) - -commit 592f39b3c4ed04a6f6cf129020358e64782c7108 -Author: Behdad Esfahbod -Date: Fri Nov 30 22:54:57 2018 -0500 - - [CFF] Whitespace - - src/hb-cff-interp-common.hh | 7 +++---- - src/hb-cff-interp-cs-common.hh | 6 +++--- - src/hb-cff-interp-dict-common.hh | 6 +++--- - src/hb-cff2-interp-cs.hh | 2 +- - src/hb-ot-cff-common.hh | 12 ++++++------ - src/hb-ot-cff1-table.hh | 30 +++++++++++++++--------------- - src/hb-ot-cff2-table.hh | 12 ++++++------ - src/hb-subset-cff-common.cc | 8 ++++---- - src/hb-subset-cff-common.hh | 34 +++++++++++++++++----------------- - src/hb-subset-cff1.cc | 20 ++++++++++---------- - src/hb-subset-cff2.cc | 18 +++++++++--------- - 11 files changed, 77 insertions(+), 78 deletions(-) - -commit a2e8d1d455c5d0ae22927567cf8a9a2539cd3470 -Author: Behdad Esfahbod -Date: Fri Nov 30 22:54:20 2018 -0500 - - Minor - - src/Makefile.sources | 27 +++++++++++++-------------- - 1 file changed, 13 insertions(+), 14 deletions(-) - -commit e3dc47c6357813d2dd098aad312d79e9d7c2aa18 -Author: Behdad Esfahbod -Date: Fri Nov 30 22:43:22 2018 -0500 - - Remove generated files that were accidentally added by CFF2 branch - - gtk-doc.make | 320 -- - m4/libtool.m4 | 8369 ----------------------------------------------------- - m4/ltoptions.m4 | 437 --- - m4/ltsugar.m4 | 124 - - m4/ltversion.m4 | 23 - - m4/lt~obsolete.m4 | 99 - - 6 files changed, 9372 deletions(-) - -commit 5e64e0f53259dbc0a3ea8e220ded15e85bbc1782 -Merge: 09096aa89 d8c691376 -Author: Behdad Esfahbod -Date: Fri Nov 30 22:40:54 2018 -0500 - - Merge pull request #1113 from harfbuzz/cff-subset - - CFF/CFF2 subsetter - -commit 09096aa89f1944dff94a5518bce578eba8989e74 -Author: Bruce Mitchener -Date: Sat Dec 1 10:22:49 2018 +0700 - - Use nullptr instead of 0/NULL. (#1435) - - * Use nullptr instead of 0/NULL. - - * Update test-name-table.cc - - src/hb-debug.hh | 2 +- - src/test-name-table.cc | 4 ++-- - 2 files changed, 3 insertions(+), 3 deletions(-) - -commit d8c69137655fbe9678d1dfef0eb3c4172f8bbfc0 -Author: Michiharu Ariza -Date: Fri Nov 30 18:58:14 2018 -0800 - - undo 0u - - src/hb-cff2-interp-cs.hh | 2 +- - src/hb-ot-cff1-table.hh | 4 ++-- - src/hb-ot-vorg-table.hh | 2 +- - src/hb-subset-cff-common.hh | 4 ++-- - src/hb-subset-cff1.cc | 4 ++-- - 5 files changed, 8 insertions(+), 8 deletions(-) - -commit 2c859b3880868b30823eb00bed90dc0de873628b -Merge: 9483da145 bb72de66d -Author: Michiharu Ariza -Date: Fri Nov 30 18:47:34 2018 -0800 - - Merge branch 'master' into cff-subset - -commit bb72de66ddf3ae9ae53cf68642cb228e88aa64f5 -Merge: fedd8e6c1 fb0590821 -Author: Behdad Esfahbod -Date: Fri Nov 30 21:36:35 2018 -0500 - - Merge pull request #1433 from harfbuzz/overload-overload - - Fix ambiguous overload errors with old compilers - -commit fb059082138bf17a5a8616410d9a35f927f9fd85 -Author: Behdad Esfahbod -Date: Fri Nov 30 20:45:40 2018 -0500 - - Revert ugly fixes - - Now that we have 6daf45e0, revert cryptic hacks... - - This reverts commit abd81ed4f5cbc5a94171747909bc6b77551cb929. - This reverts commit 9c6921c08c905a0cf45ba0182134e6ff910fac51. - This reverts commit d39760cabfe4007cefdfc45231e85e93fababac2. - This reverts commit fedd8e6c176dea85194693399e50243eb1c117c4. - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1374 - - src/hb-aat-layout-morx-table.hh | 4 ++-- - src/hb-face.cc | 4 ++-- - src/hb-machinery.hh | 4 ++-- - src/hb-ot-color-cpal-table.hh | 2 +- - src/hb-ot-kern-table.hh | 2 +- - src/hb-ot-layout-gpos-table.hh | 32 ++++++++++++++++---------------- - src/hb-ot-layout-gsubgpos.hh | 14 +++++++------- - 7 files changed, 31 insertions(+), 31 deletions(-) - -commit dfad19ad5aefdacecca6af81917abc2670d4416f -Author: Behdad Esfahbod -Date: Fri Nov 30 19:57:12 2018 -0500 - - Make operator [] take signed int - - The built-in operator takes signed int. So, match it, such that - the built-in is never a better or equally-good match to our operator. - Fixes "ambiguous overload" errors from gcc 4.2 and VS 2008. - - See https://github.com/harfbuzz/harfbuzz/issues/1374 - - src/hb-dsalgs.hh | 3 ++- - src/hb-open-type.hh | 42 ++++++++++++++++++++++++++++-------------- - src/hb-vector.hh | 6 ++++-- - 3 files changed, 34 insertions(+), 17 deletions(-) - -commit 9483da145d6da1bdfa3224fe13a5b4e9b449d19f -Author: Michiharu Ariza -Date: Fri Nov 30 16:59:41 2018 -0800 - - redo fixes - - src/hb-cff2-interp-cs.hh | 2 +- - src/hb-ot-cff1-table.hh | 4 ++-- - src/hb-subset-cff-common.hh | 6 +++--- - src/hb-subset-cff1.cc | 4 ++-- - 4 files changed, 8 insertions(+), 8 deletions(-) - -commit 291da448237cdc0b5534fbc1ce2288e1aa8e7b8a -Author: Michiharu Ariza -Date: Fri Nov 30 16:50:46 2018 -0800 - - yet another - - src/hb-subset-cff-common.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit b1821b9d092e4fd7fd888f4bffc341283bace461 -Author: Michiharu Ariza -Date: Fri Nov 30 16:31:01 2018 -0800 - - some more - - src/hb-subset-cff-common.hh | 4 ++-- - src/hb-subset-cff1.cc | 4 ++-- - 2 files changed, 4 insertions(+), 4 deletions(-) - -commit 9784cff55688d1ee93275e39c2339d5a486ed78b -Author: Michiharu Ariza -Date: Fri Nov 30 16:07:08 2018 -0800 - - fix another pesky gcc error - - src/hb-cff2-interp-cs.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 23a797b44365ed76fc7db25be13bd9c3580a8695 -Author: Michiharu Ariza -Date: Fri Nov 30 15:15:31 2018 -0800 - - silence picky gcc errors - - src/hb-ot-cff1-table.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 9ae954f43ad1eb703d54db98ce46157370b71a9c -Merge: 471db3aa6 fedd8e6c1 -Author: Michiharu Ariza -Date: Fri Nov 30 15:00:52 2018 -0800 - - Merge branch 'master' into cff-subset - -commit fedd8e6c176dea85194693399e50243eb1c117c4 -Author: Behdad Esfahbod -Date: Fri Nov 30 16:50:30 2018 -0500 - - One more......... - - I wonder if there's something better to do about these :(. - - In file included from hb-ot-color.cc:31: - hb-ot-color-cpal-table.hh: In member function 'unsigned int OT::CPAL::get_size() const': - hb-ot-color-cpal-table.hh:118: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: - - src/hb-ot-color-cpal-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit bc5db9b0807767ac04d6e50070d69cb9c520f06e -Author: Behdad Esfahbod -Date: Fri Nov 30 16:04:52 2018 -0500 - - One more.... - - hb-ot-vorg-table.hh:96: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: - hb-vector.hh:87: note: candidate 1: const Type& hb_vector_t::operator[](unsigned int) const [with Type = OT::VertOriginMetric, unsigned int PreallocedCount = 8u] - hb-ot-vorg-table.hh:96: note: candidate 2: operator[](const T*, int) - - src/hb-ot-vorg-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit d39760cabfe4007cefdfc45231e85e93fababac2 -Author: Behdad Esfahbod -Date: Fri Nov 30 15:55:30 2018 -0500 - - One more... - - Sigh. - - hb-ot-kern-table.hh: In member function 'int OT::KernSubTableFormat3::get_kerning(hb_codepoint_t, hb_codepoint_t) const': - hb-ot-kern-table.hh:59: error: ambiguous overload for 'operator[]' in 'kernValue[kernIndex[i]]' - hb-ot-kern-table.hh:59: note: candidates are: operator[](T*, int) - hb-dsalgs.hh:574: note: Type& hb_array_t::operator[](unsigned int) const [with Type = const OT::IntType] - - src/hb-ot-kern-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 9c6921c08c905a0cf45ba0182134e6ff910fac51 -Author: Behdad Esfahbod -Date: Fri Nov 30 15:16:57 2018 -0500 - - More... - - hb-ot-layout-gsubgpos.hh:1707: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: - ... - - src/hb-aat-layout-morx-table.hh | 4 ++-- - src/hb-ot-layout-gpos-table.hh | 32 ++++++++++++++++---------------- - src/hb-ot-layout-gsubgpos.hh | 16 ++++++++-------- - 3 files changed, 26 insertions(+), 26 deletions(-) - -commit f998bb2086342d6fdcd4295593eddea91396e0b6 -Author: Behdad Esfahbod -Date: Fri Nov 30 12:52:21 2018 -0500 - - More weird fixes - - In file included from hb-ot-name.cc:29: - hb-ot-name-table.hh: In member function 'unsigned int OT::name::get_size() const': - hb-ot-name-table.hh:157: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: - hb-open-type.hh:354: note: candidate 1: const Type& OT::UnsizedArrayOf::operator[](unsigned int) const [with Type = OT::NameRecord] - hb-ot-name-table.hh:157: note: candidate 2: operator[](const T*, int) - hb-ot-name-table.hh: In member function 'void OT::name::accelerator_t::init(hb_face_t*)': - hb-ot-name-table.hh:196: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: - hb-dsalgs.hh:574: note: candidate 1: Type& hb_array_t::operator[](unsigned int) const [with Type = const OT::NameRecord] - hb-ot-name-table.hh:196: note: candidate 2: operator[](T*, int) - hb-ot-name-table.hh:197: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: - hb-dsalgs.hh:574: note: candidate 1: Type& hb_array_t::operator[](unsigned int) const [with Type = const OT::NameRecord] - hb-ot-name-table.hh:197: note: candidate 2: operator[](T*, int) - hb-ot-name-table.hh:198: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: - hb-dsalgs.hh:574: note: candidate 1: Type& hb_array_t::operator[](unsigned int) const [with Type = const OT::NameRecord] - hb-ot-name-table.hh:198: note: candidate 2: operator[](T*, int) - make[4]: *** [libharfbuzz_la-hb-ot-name.lo] Error 1 - make[3]: *** [all-recursive] Error 1 - - src/hb-ot-name-table.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 67fd94da98f950b5feb719ac805f2a45379fc935 -Merge: abd81ed4f ae79fdaa7 -Author: Behdad Esfahbod -Date: Fri Nov 30 11:53:30 2018 -0500 - - Merge commit 'ae79fdaa7774d3f886a8f03926577c3bd2010b03' - -commit abd81ed4f5cbc5a94171747909bc6b77551cb929 -Author: Behdad Esfahbod -Date: Fri Nov 30 11:51:26 2018 -0500 - - Umm. Cryptic, yes - - In file included from hb-face.cc:35: - hb-ot-cmap-table.hh: In member function 'void OT::CmapSubtableFormat4::_compiles_assertion_on_line_388() const': - hb-ot-cmap-table.hh:388: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: - hb-open-type.hh:354: note: candidate 1: const Type& OT::UnsizedArrayOf::operator[](unsigned int) const [with Type = OT::IntType] - hb-ot-cmap-table.hh:388: note: candidate 2: operator[](const T*, int) - hb-ot-cmap-table.hh: In member function 'void OT::CmapSubtableFormat4::_instance_assertion_on_line_388() const': - hb-ot-cmap-table.hh:388: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: - hb-open-type.hh:354: note: candidate 1: const Type& OT::UnsizedArrayOf::operator[](unsigned int) const [with Type = OT::IntType] - hb-ot-cmap-table.hh:388: note: candidate 2: operator[](const T*, int) - hb-face.cc: In function 'hb_blob_t* _hb_face_builder_data_reference_blob(hb_face_builder_data_t*)': - hb-face.cc:650: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: - hb-vector.hh:81: note: candidate 1: Type& hb_vector_t::operator[](unsigned int) [with Type = hb_face_builder_data_t::table_entry_t, unsigned int PreallocedCount = 32u] - hb-face.cc:650: note: candidate 2: operator[](T*, int) - hb-face.cc:650: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: - hb-vector.hh:81: note: candidate 1: Type& hb_vector_t::operator[](unsigned int) [with Type = hb_face_builder_data_t::table_entry_t, unsigned int PreallocedCount = 32u] - hb-face.cc:650: note: candidate 2: operator[](const T*, int) - hb-face.cc:651: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: - hb-vector.hh:81: note: candidate 1: Type& hb_vector_t::operator[](unsigned int) [with Type = hb_face_builder_data_t::table_entry_t, unsigned int PreallocedCount = 32u] - hb-face.cc:651: note: candidate 2: operator[](T*, int) - hb-face.cc:651: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: - hb-vector.hh:81: note: candidate 1: Type& hb_vector_t::operator[](unsigned int) [with Type = hb_face_builder_data_t::table_entry_t, unsigned int PreallocedCount = 32u] - hb-face.cc:651: note: candidate 2: operator[](const T*, int) - - src/hb-face.cc | 4 ++-- - src/hb-machinery.hh | 4 ++-- - 2 files changed, 4 insertions(+), 4 deletions(-) - -commit ae79fdaa7774d3f886a8f03926577c3bd2010b03 -Author: Behdad Esfahbod -Date: Fri Nov 30 11:51:26 2018 -0500 - - Umm. Cryptic, yes - - hb-face.cc:650: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: - hb-vector.hh:81: note: candidate 1: Type& hb_vector_t::operator[](unsigned int) [with Type = hb_face_builder_data_t::table_entry_t, unsigned int PreallocedCount = 32u] - hb-face.cc:650: note: candidate 2: operator[](T*, int) - - src/hb-face.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 0f32c95e1487ffcc37439635c3294f941eae857a -Author: Behdad Esfahbod -Date: Fri Nov 30 11:31:39 2018 -0500 - - Fix a few more sizeof(vector[0]) errors with weird compilers - - src/hb-face.cc | 4 ++-- - src/hb-set.hh | 2 +- - 2 files changed, 3 insertions(+), 3 deletions(-) - -commit 88630a458b21b811075bed9e761a94c50736dc11 -Author: Behdad Esfahbod -Date: Fri Nov 30 01:11:04 2018 -0500 - - Fix build for realz - - src/hb-ot-deprecated.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 346286d04eb616c43ba8c796211fa2e5e7bf1983 -Author: Behdad Esfahbod -Date: Fri Nov 30 00:44:40 2018 -0500 - - Fix build - - src/hb-ot-deprecated.h | 1 + - 1 file changed, 1 insertion(+) - -commit 31f39cb41e1497a76c5838c93f9b4034089049f2 -Author: Behdad Esfahbod -Date: Fri Nov 30 00:38:08 2018 -0500 - - [post] Rename v2 to v2X - - src/hb-ot-post-table.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit e3dd47e6025a7f082af4830ba483d90d9b44381f -Author: Behdad Esfahbod -Date: Fri Nov 30 00:32:12 2018 -0500 - - Move things - - src/Makefile.sources | 1 + - src/hb-deprecated.h | 61 +--------------------------- - src/hb-ot-deprecated.h | 106 +++++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-ot.h | 1 + - 4 files changed, 109 insertions(+), 60 deletions(-) - -commit 27a6b0a2f7255ed6fc7bfe1f10052c2e344e319b -Author: Behdad Esfahbod -Date: Thu Nov 29 16:29:30 2018 -0500 - - Fix build for realz - - src/hb-coretext.cc | 2 +- - src/hb-uniscribe.cc | 10 +++++----- - 2 files changed, 6 insertions(+), 6 deletions(-) - -commit e2af4dd1ecbe398c60fe5f3f370dd35400d7e1eb -Author: Behdad Esfahbod -Date: Thu Nov 29 16:03:15 2018 -0500 - - [uniscribe] Fix build - - src/hb-uniscribe.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit bf738ba3ba80778c7feb95ece446607a250d9382 -Author: Ebrahim Byagowi -Date: Fri Nov 30 00:06:40 2018 +0330 - - [test][aat] Remove extra --shaper ot - - As run-tests.py already adds it - - test/shaping/data/in-house/tests/macos.tests | 64 ++++++++++++++-------------- - 1 file changed, 32 insertions(+), 32 deletions(-) - -commit b65645bbafb3f1f9f956df3028cf4479a4bdc265 -Author: Ebrahim Byagowi -Date: Thu Nov 29 23:57:50 2018 +0330 - - [ci] Re-enable llvm-gcc-4.2 bots (#1429) - - .circleci/config.yml | 48 ++++++++++++++++++++++++------------------------ - 1 file changed, 24 insertions(+), 24 deletions(-) - -commit e7bd29ea11bd6301a332b471120a4a2cd8575d09 -Author: Ebrahim Byagowi -Date: Thu Nov 29 23:47:20 2018 +0330 - - Limit __builtin_bswap16 to GCC >= 5 as it was implemented on 4.8 - - src/hb-machinery.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit ac0264717b949df8840b179d882a9bed2993fb74 -Author: Behdad Esfahbod -Date: Thu Nov 29 15:07:44 2018 -0500 - - [coretext] Fix compile - - Fingers crossed. - - src/hb-coretext.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 5c4fead734b082e0168e6811bec4bcaa19acc36a -Author: Behdad Esfahbod -Date: Thu Nov 29 15:04:34 2018 -0500 - - Convert "static const hb_tag_t" constants to enum - - src/hb-aat-layout-ankr-table.hh | 2 +- - src/hb-aat-layout-bsln-table.hh | 2 +- - src/hb-aat-layout-feat-table.hh | 2 +- - src/hb-aat-layout-just-table.hh | 2 +- - src/hb-aat-layout-kerx-table.hh | 2 +- - src/hb-aat-layout-lcar-table.hh | 2 +- - src/hb-aat-layout-morx-table.hh | 6 +++--- - src/hb-aat-layout-trak-table.hh | 2 +- - src/hb-aat-ltag-table.hh | 2 +- - src/hb-ot-cmap-table.hh | 2 +- - src/hb-ot-color-cbdt-table.hh | 4 ++-- - src/hb-ot-color-colr-table.hh | 2 +- - src/hb-ot-color-cpal-table.hh | 2 +- - src/hb-ot-color-sbix-table.hh | 2 +- - src/hb-ot-color-svg-table.hh | 2 +- - src/hb-ot-glyf-table.hh | 4 ++-- - src/hb-ot-hdmx-table.hh | 2 +- - src/hb-ot-head-table.hh | 2 +- - src/hb-ot-hhea-table.hh | 4 ++-- - src/hb-ot-hmtx-table.hh | 14 +++++++------- - src/hb-ot-kern-table.hh | 6 +++--- - src/hb-ot-layout-base-table.hh | 2 +- - src/hb-ot-layout-gdef-table.hh | 2 +- - src/hb-ot-layout-gpos-table.hh | 2 +- - src/hb-ot-layout-gsub-table.hh | 2 +- - src/hb-ot-layout-jstf-table.hh | 2 +- - src/hb-ot-math-table.hh | 2 +- - src/hb-ot-maxp-table.hh | 2 +- - src/hb-ot-name-table.hh | 2 +- - src/hb-ot-os2-table.hh | 2 +- - src/hb-ot-post-table.hh | 2 +- - src/hb-ot-stat-table.hh | 2 +- - src/hb-ot-var-avar-table.hh | 2 +- - src/hb-ot-var-fvar-table.hh | 2 +- - src/hb-ot-var-hvar-table.hh | 8 ++++---- - src/hb-ot-var-mvar-table.hh | 2 +- - src/hb-ot-vorg-table.hh | 2 +- - 37 files changed, 53 insertions(+), 53 deletions(-) - -commit 9e4138c82548c2b29a1ae8801d2c6c7c1f1a9c7a -Author: Behdad Esfahbod -Date: Thu Nov 29 15:01:10 2018 -0500 - - Convert misc "static const" constants to enum - - src/hb-aat-layout-kerx-table.hh | 4 ++-- - src/hb-map.hh | 2 +- - src/hb-ot-kern-table.hh | 4 ++-- - src/hb-set-digest.hh | 14 +++++++------- - 4 files changed, 12 insertions(+), 12 deletions(-) - -commit 44cbd2ea3dc36312bd80860983b6616586e78c6c -Author: Behdad Esfahbod -Date: Thu Nov 29 14:53:43 2018 -0500 - - Convert "static const bool" constants to anonymous enum - - src/hb-aat-layout-common.hh | 4 ++-- - src/hb-aat-layout-kerx-table.hh | 4 ++-- - src/hb-aat-layout-morx-table.hh | 8 ++++---- - src/hb-dsalgs.hh | 16 ++++++++-------- - src/hb-ot-kern-table.hh | 4 ++-- - src/hb-ot-layout.cc | 4 ++-- - 6 files changed, 20 insertions(+), 20 deletions(-) - -commit 861bc75349257f74c12b261abfcd5ab9e2f04863 -Author: Behdad Esfahbod -Date: Thu Nov 29 14:34:44 2018 -0500 - - [vector] Make pointer cast explicit - - Too bad this doesn't help MSVC 2008 build, as explicit operators are - C++11. - - src/hb-machinery.hh | 2 +- - src/hb-ot-cmap-table.hh | 3 ++- - src/hb-set.hh | 4 ++-- - src/hb-subset.cc | 2 +- - src/hb-vector.hh | 4 ++-- - 5 files changed, 8 insertions(+), 7 deletions(-) - -commit 72955e68256806f082439d65e6f9b5cf2e35fa8a -Author: Behdad Esfahbod -Date: Thu Nov 29 14:28:44 2018 -0500 - - Hand-hold older compilers - - src/hb-set.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 1a182e97ee71de0e78a70ff823ae17fa93a31830 -Author: Behdad Esfahbod -Date: Thu Nov 29 12:39:52 2018 -0500 - - [test/text-rendering-tests] Update from upstream - - .../text-rendering-tests/fonts/TestGVAR-Composite-0.ttf | Bin 0 -> 3136 bytes - .../fonts/TestGVAR-Composite-Missing.ttf | Bin 0 -> 2984 bytes - 2 files changed, 0 insertions(+), 0 deletions(-) - -commit 000d4b128eba58677acdc3b361829ff2f9a257b1 -Author: Behdad Esfahbod -Date: Thu Nov 29 12:32:47 2018 -0500 - - Make shaper's override_features() override user features as well - - The override_features is used to override features that are normally - discretionary features, but in a specific shaper are for various - reasons desired to be bolted on or off, because they've been used - for inherent shaping. As such, it makes sense that they also - override user features. Ie. if user turned 'liga' on, we don't - want Khmer shaping to become broken... Or turn 'clig' off... - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1310 - - src/hb-ot-shape.cc | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit a95d9d8c8465ebc927bc2194dffe4ea95542e54c -Author: Behdad Esfahbod -Date: Thu Nov 29 12:30:14 2018 -0500 - - [khmer] Move 'clig' to overrides - - Prerequisite for https://github.com/harfbuzz/harfbuzz/issues/1310 - - src/hb-ot-shape-complex-khmer.cc | 15 +++++++++------ - 1 file changed, 9 insertions(+), 6 deletions(-) - -commit 282ce7230b8bd8ad65c408cdaf1499504038247d -Author: Behdad Esfahbod -Date: Thu Nov 29 12:18:14 2018 -0500 - - Fix "typename outside template" issues - - Nothing an extra template class wouldn't fix... - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1419 - - src/hb-null.hh | 25 +++++++++++++++++++------ - 1 file changed, 19 insertions(+), 6 deletions(-) - -commit dc41ecef85b094b30c612113606597b91c55351c -Author: Behdad Esfahbod -Date: Thu Nov 29 11:53:53 2018 -0500 - - 2.2.0 - - NEWS | 35 +++++++++++++++++++++++++++++++++++ - configure.ac | 2 +- - src/hb-aat-layout.cc | 6 +++--- - src/hb-aat-layout.h | 4 ++-- - src/hb-deprecated.h | 4 ++-- - src/hb-ot-var.cc | 8 ++++---- - src/hb-ot-var.h | 4 ++-- - src/hb-version.h | 6 +++--- - 8 files changed, 52 insertions(+), 17 deletions(-) - -commit 7b85081be4fbd6cad75dc28ae933ce920f71b22d -Author: Behdad Esfahbod -Date: Thu Nov 29 11:34:22 2018 -0500 - - [icu] Minor - - src/hb-icu.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 0bcb1de1265368a27e53c6d935c965cbcb4130a0 -Merge: e0307de81 a85886fc7 -Author: Behdad Esfahbod -Date: Thu Nov 29 10:39:18 2018 -0500 - - Merge pull request #1418 from gvictor/replace_icu_deprecated - - Replace @Deprecated ICU API - USCRIPT_CODE_LIMIT - -commit e0307de818ad1f70ef96938642bda61d7a62532a -Author: Ebrahim Byagowi -Date: Thu Nov 29 11:36:05 2018 +0330 - - [test][aat.kern] More (#1427) - - test/shaping/data/in-house/tests/macos.tests | 12 ++++++++---- - 1 file changed, 8 insertions(+), 4 deletions(-) - -commit 471db3aa6f963ecd4ebaf66daa81ef245d30d3b8 -Author: Michiharu Ariza -Date: Wed Nov 28 17:06:11 2018 -0800 - - workaround for issue #1417 - - src/hb-cff-interp-common.hh | 9 +++++++++ - 1 file changed, 9 insertions(+) - -commit 32d291ae899eb095500052bed2a22e5255a34838 -Merge: 1ecbf4d3e 949655aa7 -Author: Michiharu Ariza -Date: Wed Nov 28 16:27:45 2018 -0800 - - Merge branch 'master' into cff-subset - -commit 949655aa7853a4513af6b5247b9822be38f5d322 -Merge: 7b78d2233 d3d0f15f7 -Author: Behdad Esfahbod -Date: Wed Nov 28 17:21:57 2018 -0500 - - Merge pull request #1425 from mbutterick/patch-1 - - update simple shaping example (closes #298) - -commit d3d0f15f7d20bedf7018fb2fb652f92ff4159bd7 -Author: Matthew Butterick -Date: Wed Nov 28 13:46:12 2018 -0800 - - update simple shaping example (closes #298) - - add call to `FT_Set_Char_Size`, otherwise default size remains at `0`, and glyph positions come back as `0` too - - docs/usermanual-getting-started.xml | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 7b78d2233df0e51e2967bc54a9202b3f9e05059a -Author: Ebrahim Byagowi -Date: Thu Nov 29 00:55:05 2018 +0330 - - [test][aat] Update expectency - - It is not visually noticeable but apparently affected by kern format2 correct implementation. - I should've checked CoreText result which can't as CircleCI outage. - - test/shaping/data/in-house/tests/macos.tests | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 5155067e10011f78f1ce35b3dadb062bccd3a706 -Author: Ebrahim Byagowi -Date: Thu Nov 29 00:07:00 2018 +0330 - - [test] Add test for format2 kern (#1423) - - test/shaping/data/in-house/Makefile.sources | 1 + - .../fonts/e39391c77a6321c2ac7a2d644de0396470cd4bfe.ttf | Bin 0 -> 34116 bytes - test/shaping/data/in-house/tests/kern-format2.tests | 3 +++ - 3 files changed, 4 insertions(+) - -commit 42a2b496e428521151ff5cb07454d2e993f892cc -Author: Behdad Esfahbod -Date: Wed Nov 28 15:24:30 2018 -0500 - - [kerx] Fix Format2 index calc again - - src/hb-aat-layout-common.hh | 14 ++++++++++++++ - src/hb-aat-layout-kerx-table.hh | 2 +- - 2 files changed, 15 insertions(+), 1 deletion(-) - -commit 9e4f03b6ed80a81f8aee5ba93564f5eabab4299c -Merge: 19863c805 a3267cf80 -Author: Behdad Esfahbod -Date: Wed Nov 28 15:08:01 2018 -0500 - - Merge remote-tracking branch 'fdo/master' - -commit a3267cf803082af157a7f2b0026af2633b14f8e3 -Author: Behdad Esfahbod -Date: Wed Nov 28 15:06:01 2018 -0500 - - [kern] Fix kern table Format2 offsetToIndex - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1421 - - src/hb-aat-layout-kerx-table.hh | 8 ++++++-- - 1 file changed, 6 insertions(+), 2 deletions(-) - -commit f9a9c0fd1e561715d696c7bd840bab552d0718ee -Author: Behdad Esfahbod -Date: Wed Nov 28 14:51:56 2018 -0500 - - [kerx] Fix ClassTable implementation for 'kern' table Format 2 - - src/hb-aat-layout-common.hh | 8 +++++--- - src/hb-aat-layout-kerx-table.hh | 10 ++-------- - 2 files changed, 7 insertions(+), 11 deletions(-) - -commit 5b4a789ca857664668ff69936574dcd09bee6065 -Author: Behdad Esfahbod -Date: Wed Nov 28 14:46:26 2018 -0500 - - [aat] Towards adding two ClassTable's - - src/hb-aat-layout-common.hh | 40 ++++++++++++++++++++-------------------- - 1 file changed, 20 insertions(+), 20 deletions(-) - -commit 19863c805982d5d1d059d4dd9376039d3fdaabcd -Author: Ebrahim Byagowi -Date: Wed Nov 28 20:28:42 2018 +0330 - - [test][aat] Add a test and make macOS runners faster (#1422) - - .circleci/config.yml | 15 +++----- - test/shaping/data/in-house/tests/macos.tests | 54 ++++++++++++++-------------- - 2 files changed, 33 insertions(+), 36 deletions(-) - -commit 987f4187722a05e3f360b85c66309a351fc5d6ad -Merge: 1042d9fbc 4e2a03b6b -Author: Behdad Esfahbod -Date: Tue Nov 27 17:40:32 2018 -0500 - - Merge pull request #1398 from Adenilson/bigInt01 - - Optimize harfbuzz big integer conversions - -commit 4e2a03b6b6e0c0d1c4edea10dc1aae63eeb6c581 -Author: Behdad Esfahbod -Date: Tue Nov 27 17:40:09 2018 -0500 - - Comment - - src/hb-machinery.hh | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit 4a719a7f4c997ea7e47588bc0288c97706dae015 -Author: Adenilson Cavalcanti -Date: Tue Nov 20 14:41:19 2018 -0800 - - Optimize harfbuzz big integer conversions - - Profiling showed that type conversions were adding considerable cycles in time - spent doing text shaping. - - The idea is to optimize it using native processor instructions to help Blink - layout performance. - - Doing further investigation revelead that compilers may not use the - proper instruction on ARM 32bits builds (i.e. REV16). - - One way to insure that the generated ASM was ideal for both gcc/clang - was using __builtin_bswap16. - - Added bonus is that we no longer need to test for CPU architecture. - - src/hb-machinery.hh | 4 ++++ - 1 file changed, 4 insertions(+) - -commit a85886fc77083084e9a12ee15b47eab7876f9f53 -Author: Victor Chang -Date: Tue Nov 27 11:34:56 2018 +0000 - - Replace @Deprecated ICU API - USCRIPT_CODE_LIMIT - - Use of the deprecated API USCRIPT_CODE_LIMIT prevents harfbuzz - using the ICU4C as a shared library. - - The API has been replaced by u_getIntPropertyMaxValue(UCHAR_SCRIPT) - - src/hb-icu.cc | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 1042d9fbc05aff9d51f15c2824a8521e963d0acd -Author: Ebrahim Byagowi -Date: Mon Nov 26 18:58:39 2018 +0330 - - [ci] Add .codecov.yml - - Similar to https://github.com/GoogleChrome/lighthouse/blob/master/.codecov.yml - - No strong preference on commenting, feel free to enable it again - - .codecov.yml | 7 +++++++ - 1 file changed, 7 insertions(+) - -commit 97eaedca5de76c74534bab41562aee130098558a -Author: Ebrahim Byagowi -Date: Mon Nov 26 16:58:58 2018 +0330 - - [test][aat] Enable Tamil MN test (#1414) - - test/shaping/data/in-house/tests/macos.tests | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit 574d888c8a409295a952361a39c8e83a52a0fc3d -Author: Behdad Esfahbod -Date: Sun Nov 25 16:51:22 2018 -0500 - - [aat] Ignore GSUB table of Muthu Foundry if they have morx table - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1410 - - src/hb-ot-layout-gpos-table.hh | 3 +++ - src/hb-ot-layout-gsub-table.hh | 3 +++ - src/hb-ot-layout-gsubgpos.hh | 5 +++++ - src/hb-ot-layout.cc | 36 +++++++++++++++++++++++++++++++++++- - 4 files changed, 46 insertions(+), 1 deletion(-) - -commit 4151c2848d8df75b6d0a4f5d79bee843158aa4a4 -Author: Behdad Esfahbod -Date: Sun Nov 25 16:38:36 2018 -0500 - - [GDEF] Move more code - - src/hb-ot-layout-gdef-table.hh | 10 +++++++++- - src/hb-ot-layout.cc | 11 ----------- - 2 files changed, 9 insertions(+), 12 deletions(-) - -commit 4f21703f225b6977196ef180e8d7300ea86d2cc3 -Author: Behdad Esfahbod -Date: Sun Nov 25 15:59:18 2018 -0500 - - [GDEF] Move code around - - src/hb-ot-layout-gdef-table.hh | 3 +++ - src/hb-ot-layout.cc | 16 +++++++--------- - 2 files changed, 10 insertions(+), 9 deletions(-) - -commit 4ed9fb1a0050f3151f9332f08c8bb2c13652c607 -Author: Behdad Esfahbod -Date: Sun Nov 25 15:51:01 2018 -0500 - - [GDEF] Minor - - src/hb-ot-layout.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 0e3a48e54248d69197e8fb23c824d987f91b3bf7 -Author: Ebrahim Byagowi -Date: Sun Nov 25 13:37:23 2018 +0330 - - [test][aat] fix 10.13.6 Helvetica expectation - - test/shaping/data/in-house/tests/macos.tests | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit cbc541b426f01717641f1f3529a7c9703aec7a28 -Author: Ebrahim Byagowi -Date: Sun Nov 25 12:50:30 2018 +0330 - - [aat] Add m grave test (#1412) - - test/shaping/data/in-house/tests/macos.tests | 4 ++++ - 1 file changed, 4 insertions(+) - -commit fa26ad0f48462063f2160a43cb62b018bb21e251 -Author: Ebrahim Byagowi -Date: Sun Nov 25 11:25:17 2018 +0330 - - [aat] Fix macos expectation - - test/shaping/data/in-house/tests/macos.tests | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 926f512f354835f8323bb2c2e58789dd918a9b65 -Author: Behdad Esfahbod -Date: Sun Nov 25 01:14:40 2018 -0500 - - [aat.feat] Rework API and implementation - - Fixes https://github.com/harfbuzz/harfbuzz/pull/1346 - - docs/harfbuzz-docs.xml | 5 +++ - docs/harfbuzz-sections.txt | 7 ++-- - src/hb-aat-layout-feat-table.hh | 89 +++++++++++++++++++++++------------------ - src/hb-aat-layout.cc | 80 ++++++++++++++++-------------------- - src/hb-aat-layout.h | 32 +++++++++------ - test/api/test-aat-layout.c | 58 ++++++++++++++------------- - 6 files changed, 141 insertions(+), 130 deletions(-) - -commit 84dacbca7ea54a3ca2d5d711d50272a7f3baf456 -Author: Behdad Esfahbod -Date: Sat Nov 24 12:08:36 2018 -0500 - - [aat.feat] Add _MAX_VALUE to enums - - src/hb-aat-layout.h | 8 ++++++-- - 1 file changed, 6 insertions(+), 2 deletions(-) - -commit 3922aae1620958768d3257c0988432d5609dca1b -Author: Behdad Esfahbod -Date: Sat Nov 24 11:02:04 2018 -0500 - - [aat.feat] Minor - - src/hb-aat-layout-feat-table.hh | 12 ++---------- - 1 file changed, 2 insertions(+), 10 deletions(-) - -commit 0f8e98eca2463da3b83d1b66a19259a584df1682 -Author: Behdad Esfahbod -Date: Sat Nov 24 11:00:42 2018 -0500 - - [aat.feat] Whitespace - - src/hb-aat-layout-feat-table.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit c2256068339c9e10c8e6df5d1749be4b4eb04ad4 -Author: Behdad Esfahbod -Date: Sat Nov 24 10:54:40 2018 -0500 - - [aat.feat] Port to SortedUnsizedArrayOf.bsearch() - - src/hb-aat-layout-feat-table.hh | 19 +++++++------------ - 1 file changed, 7 insertions(+), 12 deletions(-) - -commit 52ae9867efd6520d17306b9f3ad612fe5463e93d -Author: Behdad Esfahbod -Date: Sat Nov 24 10:46:56 2018 -0500 - - [AAT.feat] Use lsearch for looking up SettingName's - - They are not sorted. - - src/hb-aat-layout-feat-table.hh | 18 ++++++------------ - src/hb-open-type.hh | 16 ++++++++-------- - src/hb-static.cc | 6 ++++-- - 3 files changed, 18 insertions(+), 22 deletions(-) - -commit 44b9331f663c09174d94e06baf36d48a50599c42 -Author: Behdad Esfahbod -Date: Sat Nov 24 10:30:35 2018 -0500 - - [aat] Fix include issues - - src/Makefile.am | 2 ++ - src/hb-aat.h | 2 ++ - 2 files changed, 4 insertions(+) - -commit b206133d1f616339a57996b634dadc7f0a2c4cfb -Author: Behdad Esfahbod -Date: Fri Nov 23 14:05:11 2018 -0500 - - [aat] Move contents of hb-aat.h to hb-aat-layout.h - - Since it was pages and pages... - - src/Makefile.sources | 1 + - src/hb-aat-layout.cc | 1 - - src/hb-aat-layout.h | 452 +++++++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-aat-layout.hh | 1 - - src/hb-aat-map.hh | 1 - - src/hb-aat.h | 417 +---------------------------------------------- - src/hb.hh | 2 + - 7 files changed, 458 insertions(+), 417 deletions(-) - -commit 2cb235d0210e74ea4ee123767b489301a9c340ab -Author: Behdad Esfahbod -Date: Fri Nov 23 12:23:35 2018 -0500 - - [aat.feat] Fix enum namespace - - src/hb-aat-layout-feat-table.hh | 2 +- - src/hb-aat-layout-morx-table.hh | 4 +- - src/hb-aat-layout.cc | 150 ++++++------ - src/hb-aat.h | 502 ++++++++++++++++++++-------------------- - test/api/test-aat-layout.c | 2 +- - 5 files changed, 330 insertions(+), 330 deletions(-) - -commit 712762cabbbe85e6ab8361cd115c22a176827734 -Author: Behdad Esfahbod -Date: Fri Nov 23 12:21:02 2018 -0500 - - Minor - - src/hb-aat.h | 10 ++++++---- - 1 file changed, 6 insertions(+), 4 deletions(-) - -commit e20f81f4fa977a8d22c6afee1e46fbf46bc182d9 -Author: Behdad Esfahbod -Date: Fri Nov 23 11:57:42 2018 -0500 - - [aat] Rename feat API a bit more - - docs/harfbuzz-sections.txt | 10 +++++----- - src/hb-aat-layout-feat-table.hh | 8 ++++---- - src/hb-aat-layout.cc | 32 ++++++++++++++++---------------- - src/hb-aat.h | 26 +++++++++++++------------- - test/api/test-aat-layout.c | 28 ++++++++++++++-------------- - 5 files changed, 52 insertions(+), 52 deletions(-) - -commit 54f4c17f0a932b0ca0317e1ad5e5e43a11a83fd1 -Author: Ebrahim Byagowi -Date: Fri Nov 23 12:05:06 2018 +0330 - - [feat] Rename API uses of setting to selector - - docs/harfbuzz-sections.txt | 6 +-- - src/hb-aat-layout-feat-table.hh | 52 ++++++++++++------------ - src/hb-aat-layout-morx-table.hh | 2 +- - src/hb-aat-layout.cc | 88 ++++++++++++++++++++--------------------- - src/hb-aat-layout.hh | 4 +- - src/hb-aat-map.cc | 2 +- - src/hb-aat-map.hh | 2 +- - src/hb-aat.h | 20 +++++----- - test/api/test-aat-layout.c | 46 ++++++++++----------- - 9 files changed, 111 insertions(+), 111 deletions(-) - -commit 9c64b216ec7ae2c2c124ebd00dc6fa568752be78 -Author: Ebrahim Byagowi -Date: Fri Nov 23 11:44:53 2018 +0330 - - [feat] Apply renamings and add documentation - - docs/harfbuzz-sections.txt | 10 ++++++++++ - src/hb-aat-layout.cc | 44 ++++++++++++++++++++++++++++++++++++++------ - src/hb-aat.h | 6 +++--- - test/api/test-aat-layout.c | 28 ++++++++++++++-------------- - 4 files changed, 65 insertions(+), 23 deletions(-) - -commit a8726cb4830f51a820db4bc6346ed09c91493817 -Author: Ebrahim Byagowi -Date: Sat Nov 17 14:23:11 2018 +0330 - - [feat] Use bsearch - - src/hb-aat-layout-feat-table.hh | 36 ++++++++++++++++++++++-------------- - src/hb-aat-layout-morx-table.hh | 2 +- - src/hb.hh | 2 ++ - 3 files changed, 25 insertions(+), 15 deletions(-) - -commit 4009a05ca7de21fff2176621597cd0cd01e9d80e -Author: Ebrahim Byagowi -Date: Sat Nov 17 11:30:50 2018 +0330 - - [feat] Address Behdad comments - - src/hb-aat-layout-feat-table.hh | 114 ++++--- - src/hb-aat-layout.cc | 14 +- - src/hb-aat.h | 673 +++++++++++++++++----------------------- - test/api/test-aat-layout.c | 88 +++--- - 4 files changed, 423 insertions(+), 466 deletions(-) - -commit 19b6025534a98df96d67eee45c5c1ea6fbc1cc43 -Author: Ebrahim Byagowi -Date: Sat Nov 17 01:07:09 2018 +0330 - - [feat] Address @behdad comments - - src/Makefile.sources | 2 +- - src/hb-aat-layout-feat-table.hh | 82 +++---- - src/hb-aat-layout-morx-table.hh | 2 +- - src/hb-aat-layout.cc | 104 ++++---- - src/hb-aat-map.cc | 2 +- - src/hb-aat.h | 533 ++++++++++++---------------------------- - src/hb-ot.h | 1 - - test/api/test-aat-layout.c | 84 +++---- - 8 files changed, 282 insertions(+), 528 deletions(-) - -commit 9212ec203c948e290a1d92b701619ccdbc89377c -Author: Ebrahim Byagowi -Date: Fri Nov 9 00:50:10 2018 +0330 - - [feat] Complete feature types list - - src/hb-aat-layout-morx-table.hh | 2 +- - src/hb-aat-layout.cc | 154 ++++----- - src/hb-aat.h | 697 ++++++++++++++++++++++++++++++++++++++-- - 3 files changed, 752 insertions(+), 101 deletions(-) - -commit fbad794bd2c574363a0c5c5fefabce764496f93c -Author: Ebrahim Byagowi -Date: Thu Nov 1 22:24:42 2018 +0330 - - [feat] Add feature iteration API - - src/hb-aat-layout-feat-table.hh | 36 +++++++++++++++++++++-------- - src/hb-aat-layout.cc | 26 +++++++++++---------- - src/hb-aat.h | 23 +++++++++++++++++-- - test/api/test-aat-layout.c | 51 +++++++++++++++++++++++++++-------------- - 4 files changed, 96 insertions(+), 40 deletions(-) - -commit 7a0471aa356bcd062d31a59bdb19c335249116c7 -Author: Ebrahim Byagowi -Date: Thu Nov 1 21:38:54 2018 +0330 - - [feat] Turn AAT feature id into enum - - src/hb-aat-layout-feat-table.hh | 20 ++--- - src/hb-aat-layout-morx-table.hh | 10 +-- - src/hb-aat-layout.cc | 170 ++++++++++++++++++++-------------------- - src/hb-aat-layout.hh | 6 +- - src/hb-aat-map.cc | 2 +- - src/hb-aat-map.hh | 4 +- - src/hb-aat.h | 64 +++++++++------ - test/api/test-aat-layout.c | 8 +- - test/api/test-c.c | 1 + - 9 files changed, 150 insertions(+), 135 deletions(-) - -commit b233fa4bc9cdb1c6677b37106d96d878d6e03bfd -Author: Ebrahim Byagowi -Date: Thu Nov 1 20:02:57 2018 +0330 - - [feat] Rename records to selectors as @drott - - src/hb-aat-layout-feat-table.hh | 20 ++++++++++---------- - src/hb-aat-layout.cc | 10 +++++----- - src/hb-aat.h | 4 ++-- - 3 files changed, 17 insertions(+), 17 deletions(-) - -commit a157b3e4ebd57ad29f217c4cef6519e7398cfa5c -Author: Ebrahim Byagowi -Date: Thu Nov 1 19:56:16 2018 +0330 - - [feat] Apply @behdad comments - - src/Makefile.sources | 2 +- - src/hb-aat-layout-feat-table.hh | 1 + - src/hb-aat-layout.cc | 16 ++++++++-------- - src/hb-aat-layout.hh | 2 +- - src/hb-aat-map.hh | 2 +- - src/{hb-aat-layout.h => hb-aat.h} | 22 +++++++++++++--------- - src/hb-ot.h | 1 + - test/api/test-aat-layout.c | 14 +++++++------- - test/api/test-c.c | 1 - - 9 files changed, 33 insertions(+), 28 deletions(-) - -commit 3aff3f822f0d7bf7a2b5160ad93df3fe413c7c47 -Author: Ebrahim Byagowi -Date: Thu Nov 1 19:20:20 2018 +0330 - - [feat] Apply @drott and @jfkthame comments - - src/hb-aat-layout-feat-table.hh | 14 ++++++-------- - src/hb-aat-layout.cc | 12 +++++++----- - src/hb-aat-layout.h | 10 +++++----- - test/api/test-aat-layout.c | 4 ++-- - 4 files changed, 20 insertions(+), 20 deletions(-) - -commit b791bbbae47aa19709da640a1dc5e84590c5c2c2 -Author: Ebrahim Byagowi -Date: Thu Nov 1 15:15:56 2018 +0330 - - [feat] Apply @jfkthame reviews - - src/hb-aat-layout-feat-table.hh | 27 +++++++++++++++------------ - src/hb-aat-layout.cc | 23 ++++++++++++----------- - src/hb-aat-layout.h | 14 +++++++++----- - test/api/fonts/aat-feat.ttf | Bin 0 -> 1132 bytes - test/api/test-aat-layout.c | 30 ++++++++++++++++++------------ - 5 files changed, 54 insertions(+), 40 deletions(-) - -commit 95abd53758e281325b9124f0942aafb382a89090 -Author: Ebrahim Byagowi -Date: Thu Nov 1 13:14:29 2018 +0330 - - [feat] Expose public API - - * hb_aat_get_feature_settings - - src/Makefile.sources | 1 + - src/hb-aat-layout-feat-table.hh | 68 ++++++++++++++++++++++++++++++- - src/hb-aat-layout-morx-table.hh | 6 +-- - src/hb-aat-layout.cc | 33 +++++++++++++++ - src/hb-aat-layout.h | 75 ++++++++++++++++++++++++++++++++++ - src/hb-aat-layout.hh | 7 ++-- - src/hb-aat-map.hh | 5 ++- - src/hb-ot-face.hh | 1 + - test/api/Makefile.am | 1 + - test/api/test-aat-layout.c | 89 +++++++++++++++++++++++++++++++++++++++++ - test/api/test-c.c | 1 + - 11 files changed, 278 insertions(+), 9 deletions(-) - -commit 264c4a539cbfd8d5e5f143206d9d27230a186897 -Author: Behdad Esfahbod -Date: Sun Nov 25 00:30:08 2018 -0500 - - [test] Reorder test suites - - aots is less interesting. Run text-rendering-tests before aots. - - test/shaping/data/Makefile.am | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 9326912941e5927bcfb4689689c954b9a3995baa -Author: Behdad Esfahbod -Date: Sun Nov 25 00:27:23 2018 -0500 - - [kerx] Fix crash - - src/hb-machinery.hh | 2 ++ - 1 file changed, 2 insertions(+) - -commit 6ee401049d475b2a2d9c859e6dbf8ff2750a1609 -Author: Behdad Esfahbod -Date: Sun Nov 25 00:21:13 2018 -0500 - - Simplify sanitize set_object() / fix bots - - src/hb-machinery.hh | 26 +++++++++++++------------- - 1 file changed, 13 insertions(+), 13 deletions(-) - -commit c5a6b355e165e90d8d90454ceeca7b100282945f -Author: Behdad Esfahbod -Date: Sat Nov 24 23:49:23 2018 -0500 - - [kerx] Port to hb_sanitize_with_object_t - - src/hb-aat-layout-kerx-table.hh | 19 +++++++------------ - 1 file changed, 7 insertions(+), 12 deletions(-) - -commit c405ed0509afaa7c3846e8e461bedfbceb0cd937 -Author: Behdad Esfahbod -Date: Sat Nov 24 23:46:15 2018 -0500 - - [morx] Port to hb_sanitize_with_object_t - - src/hb-aat-layout-morx-table.hh | 18 +++++++++--------- - 1 file changed, 9 insertions(+), 9 deletions(-) - -commit 1e8994221fb5cfdb1902d5249c7a75cde6d6e3c8 -Author: Behdad Esfahbod -Date: Sat Nov 24 23:38:06 2018 -0500 - - Add hb_sanitize_with_object_t - - Context manager. - - src/hb-machinery.hh | 17 +++++++++++++++++ - 1 file changed, 17 insertions(+) - -commit b3c5affc05a3c7bbcfbd98521703d3d3447fcd7d -Author: Behdad Esfahbod -Date: Sat Nov 24 23:34:34 2018 -0500 - - Simplify sanitize set_object() - - src/hb-aat-layout-kerx-table.hh | 12 ++++++------ - src/hb-aat-layout-morx-table.hh | 10 +++++----- - src/hb-machinery.hh | 26 +++++++++++++------------- - 3 files changed, 24 insertions(+), 24 deletions(-) - -commit 3d3097269995aa227b4b198d4da2baf942b65c66 -Author: Behdad Esfahbod -Date: Sat Nov 24 23:12:28 2018 -0500 - - [aat] Skip terminator in VarSizedBinSearchArray<> - - Fixes shaping with Apple Chancery on 10.13 again. In that font, - there was a terminator segment, that was tripping off sanitize(). - - src/hb-aat-layout-common.hh | 6 ++++++ - src/hb-open-type.hh | 21 ++++++++++++++++++++- - 2 files changed, 26 insertions(+), 1 deletion(-) - -commit 4202a3cde3b6065124feb7f4c662563de1e08126 -Author: Behdad Esfahbod -Date: Sat Nov 24 22:48:34 2018 -0500 - - Minor - - src/hb-open-type.hh | 21 ++++++++++++++++----- - 1 file changed, 16 insertions(+), 5 deletions(-) - -commit 1c2302bbf1d2d0e66f49ab54ad98d1b61bc5603d -Author: Behdad Esfahbod -Date: Sat Nov 24 22:32:17 2018 -0500 - - [debug] Print function in return_trace() - - src/hb-debug.hh | 16 +++++++++++----- - 1 file changed, 11 insertions(+), 5 deletions(-) - -commit 748198a6718adbb200ee24ac013c617f62c946a4 -Author: Behdad Esfahbod -Date: Sat Nov 24 22:16:59 2018 -0500 - - Revert "[aat.morx] Remove set_object() business" - - This reverts commit ae8ed58a6e53441d9ccbf67afd8a00b815cde99e. - - Apparently this broke Apple Chancery from OS X 10.12 :(. - Investigating... - - src/hb-aat-layout-morx-table.hh | 8 ++++++++ - 1 file changed, 8 insertions(+) - -commit c8a2dc820eb0ee3124e3762cb1167ac9e528ad28 -Author: Behdad Esfahbod -Date: Sat Nov 24 22:16:53 2018 -0500 - - Revert "[aat.kerx] Remove kerx subtable boundary enforcement" - - This reverts commit 15905a2a2998f7ddd964f920a4828602235d6b00. - - src/hb-aat-layout-kerx-table.hh | 21 +++++++++++++++++++++ - 1 file changed, 21 insertions(+) - -commit 9eeebd8ddedb96c03860ce7eb5500aafa3969d6b -Author: Behdad Esfahbod -Date: Sat Nov 24 22:16:47 2018 -0500 - - Revert "[sanitize] Remove now-unused set_object() machinery" - - This reverts commit bbdb6edb3e1cea4c5b7076c4f6b3e6998ae36dae. - - src/hb-machinery.hh | 25 ++++++++++++++++++++++++- - 1 file changed, 24 insertions(+), 1 deletion(-) - -commit 248ce22857c8918bf3468ef48d906de4c19c3d4d -Author: Behdad Esfahbod -Date: Sat Nov 24 22:01:06 2018 -0500 - - [tests] Minor - - test/shaping/run-tests.py | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit f47c5da0aa04a88b37d9c3af4730204319a9a36b -Author: Behdad Esfahbod -Date: Sat Nov 24 21:36:57 2018 -0500 - - [arrays] Use hb_array_t<> in all places with sub_array() - - src/hb-aat-layout-lcar-table.hh | 6 +++--- - src/hb-ot-layout-gdef-table.hh | 14 ++++++++------ - src/hb-ot-math-table.hh | 10 ++++------ - 3 files changed, 15 insertions(+), 15 deletions(-) - -commit 3246a8ebbd900bcc3e3c70532eab0f406b8f5c4a -Author: Behdad Esfahbod -Date: Sat Nov 24 21:32:00 2018 -0500 - - [arrays] Merge ArrayOf's sub_array into hb_array_t's - - src/hb-dsalgs.hh | 44 +++++++++++++++++++++++++++----------------- - src/hb-open-type.hh | 30 ++++++++++++++++++------------ - 2 files changed, 45 insertions(+), 29 deletions(-) - -commit e6877e28cd30e89af7cce59d903184a5a01ec970 -Author: Ebrahim Byagowi -Date: Sun Nov 25 02:12:40 2018 +0330 - - [test] Add the missed aots fonts - - test/shaping/data/aots/fonts/classdef1_font1.otf | Bin 0 -> 6004 bytes - test/shaping/data/aots/fonts/classdef1_font2.otf | Bin 0 -> 6020 bytes - test/shaping/data/aots/tests/classdef1_empty.tests | 2 +- - 3 files changed, 1 insertion(+), 1 deletion(-) - -commit 825ea5a4607fafa11c56a72a82bda773f6b44e79 -Author: Ebrahim Byagowi -Date: Sun Nov 25 01:59:54 2018 +0330 - - [test] Merge 10.12.6 and 10.13.6 tests, update to Apple Chancery fix - - test/shaping/data/in-house/Makefile.sources | 3 +-- - .../data/in-house/tests/macos-10.12.6.tests | 11 --------- - .../data/in-house/tests/macos-10.13.6.tests | 13 ----------- - test/shaping/data/in-house/tests/macos.tests | 26 ++++++++++++++++++++++ - 4 files changed, 27 insertions(+), 26 deletions(-) - -commit bbdb6edb3e1cea4c5b7076c4f6b3e6998ae36dae -Author: Behdad Esfahbod -Date: Sat Nov 24 17:15:38 2018 -0500 - - [sanitize] Remove now-unused set_object() machinery - - src/hb-machinery.hh | 25 +------------------------ - 1 file changed, 1 insertion(+), 24 deletions(-) - -commit 15905a2a2998f7ddd964f920a4828602235d6b00 -Author: Behdad Esfahbod -Date: Sat Nov 24 17:14:39 2018 -0500 - - [aat.kerx] Remove kerx subtable boundary enforcement - - Have not encountered fonts needing this, but same reasoning as - for morx (see previos commit.) - - src/hb-aat-layout-kerx-table.hh | 21 --------------------- - 1 file changed, 21 deletions(-) - -commit ae8ed58a6e53441d9ccbf67afd8a00b815cde99e -Author: Behdad Esfahbod -Date: Sat Nov 24 17:11:09 2018 -0500 - - [aat.morx] Remove set_object() business - - With OS X 10.13 Apple Chancery fails to ligate if we limit each morx - sub-chain to its declared length. Perhaps their newer compiler does - object-sharing across sub-chains. Anyway, since that's a valid, if - unspecified, way to compile tables, remove enforcement. - - Probably do the same with kern/kerx. - - src/hb-aat-layout-morx-table.hh | 8 -------- - 1 file changed, 8 deletions(-) - -commit b518e5af9f66414396752069bb8f43466a9236fa -Author: Ebrahim Byagowi -Date: Sun Nov 25 01:39:00 2018 +0330 - - Add 10.13.6 aat fonts tests and bot (#1409) - - .circleci/config.yml | 16 ++++++++++++++-- - test/shaping/data/in-house/Makefile.sources | 3 ++- - .../in-house/tests/{macos.tests => macos-10.12.6.tests} | 2 -- - test/shaping/data/in-house/tests/macos-10.13.6.tests | 13 +++++++++++++ - 4 files changed, 29 insertions(+), 5 deletions(-) - -commit b7f7950e8fc4b9e229b466ac2453d57b8da9a5a6 -Author: Behdad Esfahbod -Date: Sat Nov 24 15:56:17 2018 -0500 - - [aat] Add test for recent regression - - test/shaping/data/in-house/tests/macos.tests | 1 + - 1 file changed, 1 insertion(+) - -commit ea9512e61a7ed333b810918e74cce4c8bd2291b9 -Author: Behdad Esfahbod -Date: Sat Nov 24 15:49:33 2018 -0500 - - [tests] Redo test runner logging a bit - - test/shaping/run-tests.py | 44 +++++++++++++++++++++++--------------------- - 1 file changed, 23 insertions(+), 21 deletions(-) - -commit 5020affc3877d39377506245ecaf01a659eef82a -Author: Behdad Esfahbod -Date: Sat Nov 24 15:42:11 2018 -0500 - - [tests] Minor - - test/shaping/data/in-house/tests/macos.tests | 2 ++ - 1 file changed, 2 insertions(+) - -commit ee3a3e10d45f5df1a74b65fbe3df77f8dd8f902e -Author: Behdad Esfahbod -Date: Sat Nov 24 15:37:01 2018 -0500 - - [tests/shaping] Allow comments in test files - - Line should start with "# ". - - test/shaping/run-tests.py | 17 +++++++++++++++-- - 1 file changed, 15 insertions(+), 2 deletions(-) - -commit ed900ee9afa0dabdbf6bf9d2af46c2343a16773f -Author: Behdad Esfahbod -Date: Sat Nov 24 15:22:09 2018 -0500 - - [tests] Rename - - test/shaping/data/in-house/Makefile.sources | 2 +- - test/shaping/data/in-house/tests/{macos-10.12.tests => macos.tests} | 0 - 2 files changed, 1 insertion(+), 1 deletion(-) - -commit 20edc70d537b01e8a384ee05673335f2f8a18238 -Author: Behdad Esfahbod -Date: Sat Nov 24 14:52:34 2018 -0500 - - [morx/kerx] Fix sanitize regression - - Broke in 8dcc1913a1670ede7b124f7b5b775d7ab8791386 - - If sanitizer is left with another object, it wouldn't work. - - Better fix coming soon. - - src/hb-aat-layout-kerx-table.hh | 6 +----- - src/hb-aat-layout-morx-table.hh | 4 +--- - 2 files changed, 2 insertions(+), 8 deletions(-) - -commit 3cc14e78aeb1c70eb82891ab4513c0e7d0f59928 -Author: Ebrahim Byagowi -Date: Sat Nov 24 20:49:21 2018 +0330 - - [test] Enable more of aots tests (#1408) - - The ones commented out in this change should've be passed :/ - a closer look is needed. - - test/shaping/data/aots/Makefile.sources | 76 +++++++++++----------- - test/shaping/data/aots/hb-aots-tester.cpp | 1 + - test/shaping/data/aots/tests/classdef1_empty.tests | 2 +- - test/shaping/data/aots/tests/gsub3_1_simple.tests | 2 +- - .../data/aots/tests/lookupflag_ignore_attach.tests | 10 +-- - 5 files changed, 46 insertions(+), 45 deletions(-) - -commit 24887d1115ee41cfad70577eb243382f6c23ab6e -Author: Ebrahim Byagowi -Date: Sat Nov 24 20:07:24 2018 +0330 - - Add Adobe AOTS tests (#1395) - - Annotated OpenType Specification or aots, https://github.com/adobe-type-tools/aots - provides a set of tests for OpenType specification, this change add those tests in addition - to modified version of their HarfBuzz test runner for generating harfbuzz project specific tests. - - configure.ac | 1 + - test/shaping/CMakeLists.txt | 13 +- - test/shaping/data/Makefile.am | 1 + - test/shaping/data/aots/COPYING | 13 + - test/shaping/data/aots/Makefile.am | 37 +++ - test/shaping/data/aots/Makefile.sources | 126 ++++++++ - test/shaping/data/aots/fonts/classdef1_font3.otf | Bin 0 -> 6060 bytes - test/shaping/data/aots/fonts/classdef1_font4.otf | Bin 0 -> 5984 bytes - test/shaping/data/aots/fonts/classdef2_font1.otf | Bin 0 -> 6004 bytes - test/shaping/data/aots/fonts/classdef2_font2.otf | Bin 0 -> 6016 bytes - test/shaping/data/aots/fonts/classdef2_font3.otf | Bin 0 -> 6052 bytes - test/shaping/data/aots/fonts/classdef2_font4.otf | Bin 0 -> 5984 bytes - test/shaping/data/aots/fonts/cmap0_font1.otf | Bin 0 -> 5196 bytes - test/shaping/data/aots/fonts/cmap10_font1.otf | Bin 0 -> 4968 bytes - test/shaping/data/aots/fonts/cmap10_font2.otf | Bin 0 -> 4960 bytes - test/shaping/data/aots/fonts/cmap12_font1.otf | Bin 0 -> 4980 bytes - test/shaping/data/aots/fonts/cmap14_font1.otf | Bin 0 -> 5028 bytes - test/shaping/data/aots/fonts/cmap2_font1.otf | Bin 0 -> 6000 bytes - test/shaping/data/aots/fonts/cmap4_font1.otf | Bin 0 -> 4964 bytes - test/shaping/data/aots/fonts/cmap4_font2.otf | Bin 0 -> 4956 bytes - test/shaping/data/aots/fonts/cmap4_font3.otf | Bin 0 -> 4956 bytes - test/shaping/data/aots/fonts/cmap4_font4.otf | Bin 0 -> 4972 bytes - test/shaping/data/aots/fonts/cmap6_font1.otf | Bin 0 -> 4948 bytes - test/shaping/data/aots/fonts/cmap6_font2.otf | Bin 0 -> 4944 bytes - test/shaping/data/aots/fonts/cmap8_font1.otf | Bin 0 -> 13224 bytes - .../data/aots/fonts/cmap_composition_font1.otf | Bin 0 -> 5096 bytes - .../aots/fonts/cmap_subtableselection_font1.otf | Bin 0 -> 6412 bytes - .../aots/fonts/cmap_subtableselection_font2.otf | Bin 0 -> 6140 bytes - .../aots/fonts/cmap_subtableselection_font3.otf | Bin 0 -> 5872 bytes - .../aots/fonts/cmap_subtableselection_font4.otf | Bin 0 -> 5600 bytes - .../aots/fonts/cmap_subtableselection_font5.otf | Bin 0 -> 5332 bytes - .../data/aots/fonts/gpos1_1_lookupflag_f1.otf | Bin 0 -> 5208 bytes - test/shaping/data/aots/fonts/gpos1_1_simple_f1.otf | Bin 0 -> 5136 bytes - test/shaping/data/aots/fonts/gpos1_1_simple_f2.otf | Bin 0 -> 5136 bytes - test/shaping/data/aots/fonts/gpos1_1_simple_f3.otf | Bin 0 -> 5136 bytes - test/shaping/data/aots/fonts/gpos1_1_simple_f4.otf | Bin 0 -> 5136 bytes - test/shaping/data/aots/fonts/gpos1_2_font1.otf | Bin 0 -> 5108 bytes - test/shaping/data/aots/fonts/gpos1_2_font2.otf | Bin 0 -> 5148 bytes - test/shaping/data/aots/fonts/gpos2_1_font6.otf | Bin 0 -> 5120 bytes - test/shaping/data/aots/fonts/gpos2_1_font7.otf | Bin 0 -> 5132 bytes - .../data/aots/fonts/gpos2_1_lookupflag_f1.otf | Bin 0 -> 5220 bytes - .../data/aots/fonts/gpos2_1_lookupflag_f2.otf | Bin 0 -> 5220 bytes - .../data/aots/fonts/gpos2_1_next_glyph_f1.otf | Bin 0 -> 5180 bytes - .../data/aots/fonts/gpos2_1_next_glyph_f2.otf | Bin 0 -> 5176 bytes - test/shaping/data/aots/fonts/gpos2_1_simple_f1.otf | Bin 0 -> 5148 bytes - test/shaping/data/aots/fonts/gpos2_2_font1.otf | Bin 0 -> 5148 bytes - test/shaping/data/aots/fonts/gpos2_2_font2.otf | Bin 0 -> 5188 bytes - test/shaping/data/aots/fonts/gpos2_2_font3.otf | Bin 0 -> 5188 bytes - test/shaping/data/aots/fonts/gpos2_2_font4.otf | Bin 0 -> 5148 bytes - test/shaping/data/aots/fonts/gpos2_2_font5.otf | Bin 0 -> 5140 bytes - test/shaping/data/aots/fonts/gpos3_font1.otf | Bin 0 -> 5120 bytes - test/shaping/data/aots/fonts/gpos3_font2.otf | Bin 0 -> 5160 bytes - test/shaping/data/aots/fonts/gpos3_font3.otf | Bin 0 -> 5164 bytes - .../data/aots/fonts/gpos4_lookupflag_f1.otf | Bin 0 -> 5256 bytes - .../data/aots/fonts/gpos4_lookupflag_f2.otf | Bin 0 -> 5240 bytes - .../data/aots/fonts/gpos4_multiple_anchors_1.otf | Bin 0 -> 5352 bytes - test/shaping/data/aots/fonts/gpos4_simple_1.otf | Bin 0 -> 5200 bytes - test/shaping/data/aots/fonts/gpos5_font1.otf | Bin 0 -> 5284 bytes - test/shaping/data/aots/fonts/gpos6_font1.otf | Bin 0 -> 5176 bytes - test/shaping/data/aots/fonts/gpos7_1_font1.otf | Bin 0 -> 5160 bytes - test/shaping/data/aots/fonts/gpos9_font1.otf | Bin 0 -> 5096 bytes - test/shaping/data/aots/fonts/gpos9_font2.otf | Bin 0 -> 5124 bytes - .../data/aots/fonts/gpos_chaining1_boundary_f1.otf | Bin 0 -> 5496 bytes - .../data/aots/fonts/gpos_chaining1_boundary_f2.otf | Bin 0 -> 5500 bytes - .../data/aots/fonts/gpos_chaining1_boundary_f3.otf | Bin 0 -> 5496 bytes - .../data/aots/fonts/gpos_chaining1_boundary_f4.otf | Bin 0 -> 5496 bytes - .../aots/fonts/gpos_chaining1_lookupflag_f1.otf | Bin 0 -> 5520 bytes - .../fonts/gpos_chaining1_multiple_subrules_f1.otf | Bin 0 -> 5592 bytes - .../fonts/gpos_chaining1_multiple_subrules_f2.otf | Bin 0 -> 5592 bytes - .../aots/fonts/gpos_chaining1_next_glyph_f1.otf | Bin 0 -> 5540 bytes - .../data/aots/fonts/gpos_chaining1_simple_f1.otf | Bin 0 -> 5488 bytes - .../data/aots/fonts/gpos_chaining1_simple_f2.otf | Bin 0 -> 5488 bytes - .../aots/fonts/gpos_chaining1_successive_f1.otf | Bin 0 -> 5524 bytes - .../data/aots/fonts/gpos_chaining2_boundary_f1.otf | Bin 0 -> 5704 bytes - .../data/aots/fonts/gpos_chaining2_boundary_f2.otf | Bin 0 -> 5708 bytes - .../data/aots/fonts/gpos_chaining2_boundary_f3.otf | Bin 0 -> 5704 bytes - .../data/aots/fonts/gpos_chaining2_boundary_f4.otf | Bin 0 -> 5704 bytes - .../aots/fonts/gpos_chaining2_lookupflag_f1.otf | Bin 0 -> 5728 bytes - .../fonts/gpos_chaining2_multiple_subrules_f1.otf | Bin 0 -> 5800 bytes - .../fonts/gpos_chaining2_multiple_subrules_f2.otf | Bin 0 -> 5800 bytes - .../aots/fonts/gpos_chaining2_next_glyph_f1.otf | Bin 0 -> 5744 bytes - .../data/aots/fonts/gpos_chaining2_simple_f1.otf | Bin 0 -> 5696 bytes - .../data/aots/fonts/gpos_chaining2_simple_f2.otf | Bin 0 -> 5696 bytes - .../aots/fonts/gpos_chaining2_successive_f1.otf | Bin 0 -> 5732 bytes - .../data/aots/fonts/gpos_chaining3_boundary_f1.otf | Bin 0 -> 5504 bytes - .../data/aots/fonts/gpos_chaining3_boundary_f2.otf | Bin 0 -> 5508 bytes - .../data/aots/fonts/gpos_chaining3_boundary_f3.otf | Bin 0 -> 5500 bytes - .../data/aots/fonts/gpos_chaining3_boundary_f4.otf | Bin 0 -> 5500 bytes - .../aots/fonts/gpos_chaining3_lookupflag_f1.otf | Bin 0 -> 5548 bytes - .../aots/fonts/gpos_chaining3_next_glyph_f1.otf | Bin 0 -> 5524 bytes - .../data/aots/fonts/gpos_chaining3_simple_f1.otf | Bin 0 -> 5496 bytes - .../data/aots/fonts/gpos_chaining3_simple_f2.otf | Bin 0 -> 5516 bytes - .../aots/fonts/gpos_chaining3_successive_f1.otf | Bin 0 -> 5544 bytes - .../data/aots/fonts/gpos_context1_boundary_f1.otf | Bin 0 -> 5480 bytes - .../data/aots/fonts/gpos_context1_boundary_f2.otf | Bin 0 -> 5480 bytes - .../data/aots/fonts/gpos_context1_expansion_f1.otf | Bin 0 -> 5492 bytes - .../aots/fonts/gpos_context1_lookupflag_f1.otf | Bin 0 -> 5508 bytes - .../aots/fonts/gpos_context1_lookupflag_f2.otf | Bin 0 -> 5500 bytes - .../fonts/gpos_context1_multiple_subrules_f1.otf | Bin 0 -> 5568 bytes - .../fonts/gpos_context1_multiple_subrules_f2.otf | Bin 0 -> 5568 bytes - .../aots/fonts/gpos_context1_next_glyph_f1.otf | Bin 0 -> 5500 bytes - .../data/aots/fonts/gpos_context1_simple_f1.otf | Bin 0 -> 5476 bytes - .../data/aots/fonts/gpos_context1_simple_f2.otf | Bin 0 -> 5468 bytes - .../aots/fonts/gpos_context1_successive_f1.otf | Bin 0 -> 5508 bytes - .../data/aots/fonts/gpos_context2_boundary_f1.otf | Bin 0 -> 5492 bytes - .../data/aots/fonts/gpos_context2_boundary_f2.otf | Bin 0 -> 5496 bytes - .../data/aots/fonts/gpos_context2_classes_f1.otf | Bin 0 -> 5540 bytes - .../data/aots/fonts/gpos_context2_classes_f2.otf | Bin 0 -> 5564 bytes - .../data/aots/fonts/gpos_context2_expansion_f1.otf | Bin 0 -> 5524 bytes - .../aots/fonts/gpos_context2_lookupflag_f1.otf | Bin 0 -> 5540 bytes - .../aots/fonts/gpos_context2_lookupflag_f2.otf | Bin 0 -> 5532 bytes - .../fonts/gpos_context2_multiple_subrules_f1.otf | Bin 0 -> 5600 bytes - .../fonts/gpos_context2_multiple_subrules_f2.otf | Bin 0 -> 5600 bytes - .../aots/fonts/gpos_context2_next_glyph_f1.otf | Bin 0 -> 5512 bytes - .../data/aots/fonts/gpos_context2_simple_f1.otf | Bin 0 -> 5508 bytes - .../data/aots/fonts/gpos_context2_simple_f2.otf | Bin 0 -> 5484 bytes - .../aots/fonts/gpos_context2_successive_f1.otf | Bin 0 -> 5544 bytes - .../data/aots/fonts/gpos_context3_boundary_f1.otf | Bin 0 -> 5476 bytes - .../data/aots/fonts/gpos_context3_boundary_f2.otf | Bin 0 -> 5472 bytes - .../aots/fonts/gpos_context3_lookupflag_f1.otf | Bin 0 -> 5512 bytes - .../aots/fonts/gpos_context3_lookupflag_f2.otf | Bin 0 -> 5504 bytes - .../aots/fonts/gpos_context3_next_glyph_f1.otf | Bin 0 -> 5496 bytes - .../data/aots/fonts/gpos_context3_simple_f1.otf | Bin 0 -> 5480 bytes - .../aots/fonts/gpos_context3_successive_f1.otf | Bin 0 -> 5516 bytes - .../data/aots/fonts/gsub1_1_lookupflag_f1.otf | Bin 0 -> 5208 bytes - test/shaping/data/aots/fonts/gsub1_1_modulo_f1.otf | Bin 0 -> 5216 bytes - test/shaping/data/aots/fonts/gsub1_1_simple_f1.otf | Bin 0 -> 5136 bytes - .../data/aots/fonts/gsub1_2_lookupflag_f1.otf | Bin 0 -> 5212 bytes - test/shaping/data/aots/fonts/gsub1_2_simple_f1.otf | Bin 0 -> 5140 bytes - .../data/aots/fonts/gsub2_1_lookupflag_f1.otf | Bin 0 -> 5224 bytes - .../aots/fonts/gsub2_1_multiple_sequences_f1.otf | Bin 0 -> 5248 bytes - test/shaping/data/aots/fonts/gsub2_1_simple_f1.otf | Bin 0 -> 5144 bytes - .../data/aots/fonts/gsub3_1_lookupflag_f1.otf | Bin 0 -> 5224 bytes - .../data/aots/fonts/gsub3_1_multiple_f1.otf | Bin 0 -> 5168 bytes - test/shaping/data/aots/fonts/gsub3_1_simple_f1.otf | Bin 0 -> 5144 bytes - .../data/aots/fonts/gsub4_1_lookupflag_f1.otf | Bin 0 -> 5220 bytes - .../aots/fonts/gsub4_1_multiple_ligatures_f1.otf | Bin 0 -> 5252 bytes - .../aots/fonts/gsub4_1_multiple_ligatures_f2.otf | Bin 0 -> 5252 bytes - .../aots/fonts/gsub4_1_multiple_ligsets_f1.otf | Bin 0 -> 5240 bytes - test/shaping/data/aots/fonts/gsub4_1_simple_f1.otf | Bin 0 -> 5148 bytes - test/shaping/data/aots/fonts/gsub7_font1.otf | Bin 0 -> 5096 bytes - test/shaping/data/aots/fonts/gsub7_font2.otf | Bin 0 -> 5116 bytes - .../data/aots/fonts/gsub_chaining1_boundary_f1.otf | Bin 0 -> 5516 bytes - .../data/aots/fonts/gsub_chaining1_boundary_f2.otf | Bin 0 -> 5520 bytes - .../data/aots/fonts/gsub_chaining1_boundary_f3.otf | Bin 0 -> 5520 bytes - .../data/aots/fonts/gsub_chaining1_boundary_f4.otf | Bin 0 -> 5520 bytes - .../aots/fonts/gsub_chaining1_lookupflag_f1.otf | Bin 0 -> 5544 bytes - .../fonts/gsub_chaining1_multiple_subrules_f1.otf | Bin 0 -> 5616 bytes - .../fonts/gsub_chaining1_multiple_subrules_f2.otf | Bin 0 -> 5616 bytes - .../aots/fonts/gsub_chaining1_next_glyph_f1.otf | Bin 0 -> 5560 bytes - .../data/aots/fonts/gsub_chaining1_simple_f1.otf | Bin 0 -> 5508 bytes - .../data/aots/fonts/gsub_chaining1_simple_f2.otf | Bin 0 -> 5512 bytes - .../aots/fonts/gsub_chaining1_successive_f1.otf | Bin 0 -> 5544 bytes - .../data/aots/fonts/gsub_chaining2_boundary_f1.otf | Bin 0 -> 5724 bytes - .../data/aots/fonts/gsub_chaining2_boundary_f2.otf | Bin 0 -> 5728 bytes - .../data/aots/fonts/gsub_chaining2_boundary_f3.otf | Bin 0 -> 5728 bytes - .../data/aots/fonts/gsub_chaining2_boundary_f4.otf | Bin 0 -> 5728 bytes - .../aots/fonts/gsub_chaining2_lookupflag_f1.otf | Bin 0 -> 5752 bytes - .../fonts/gsub_chaining2_multiple_subrules_f1.otf | Bin 0 -> 5824 bytes - .../fonts/gsub_chaining2_multiple_subrules_f2.otf | Bin 0 -> 5824 bytes - .../aots/fonts/gsub_chaining2_next_glyph_f1.otf | Bin 0 -> 5764 bytes - .../data/aots/fonts/gsub_chaining2_simple_f1.otf | Bin 0 -> 5716 bytes - .../data/aots/fonts/gsub_chaining2_simple_f2.otf | Bin 0 -> 5720 bytes - .../aots/fonts/gsub_chaining2_successive_f1.otf | Bin 0 -> 5752 bytes - .../data/aots/fonts/gsub_chaining3_boundary_f1.otf | Bin 0 -> 5528 bytes - .../data/aots/fonts/gsub_chaining3_boundary_f2.otf | Bin 0 -> 5532 bytes - .../data/aots/fonts/gsub_chaining3_boundary_f3.otf | Bin 0 -> 5524 bytes - .../data/aots/fonts/gsub_chaining3_boundary_f4.otf | Bin 0 -> 5524 bytes - .../aots/fonts/gsub_chaining3_lookupflag_f1.otf | Bin 0 -> 5572 bytes - .../aots/fonts/gsub_chaining3_next_glyph_f1.otf | Bin 0 -> 5548 bytes - .../data/aots/fonts/gsub_chaining3_simple_f1.otf | Bin 0 -> 5520 bytes - .../data/aots/fonts/gsub_chaining3_simple_f2.otf | Bin 0 -> 5540 bytes - .../aots/fonts/gsub_chaining3_successive_f1.otf | Bin 0 -> 5568 bytes - .../data/aots/fonts/gsub_context1_boundary_f1.otf | Bin 0 -> 5500 bytes - .../data/aots/fonts/gsub_context1_boundary_f2.otf | Bin 0 -> 5504 bytes - .../data/aots/fonts/gsub_context1_expansion_f1.otf | Bin 0 -> 5516 bytes - .../aots/fonts/gsub_context1_lookupflag_f1.otf | Bin 0 -> 5532 bytes - .../aots/fonts/gsub_context1_lookupflag_f2.otf | Bin 0 -> 5524 bytes - .../fonts/gsub_context1_multiple_subrules_f1.otf | Bin 0 -> 5592 bytes - .../fonts/gsub_context1_multiple_subrules_f2.otf | Bin 0 -> 5592 bytes - .../aots/fonts/gsub_context1_next_glyph_f1.otf | Bin 0 -> 5520 bytes - .../data/aots/fonts/gsub_context1_simple_f1.otf | Bin 0 -> 5500 bytes - .../data/aots/fonts/gsub_context1_simple_f2.otf | Bin 0 -> 5492 bytes - .../aots/fonts/gsub_context1_successive_f1.otf | Bin 0 -> 5528 bytes - .../data/aots/fonts/gsub_context2_boundary_f1.otf | Bin 0 -> 5516 bytes - .../data/aots/fonts/gsub_context2_boundary_f2.otf | Bin 0 -> 5516 bytes - .../data/aots/fonts/gsub_context2_classes_f1.otf | Bin 0 -> 5564 bytes - .../data/aots/fonts/gsub_context2_classes_f2.otf | Bin 0 -> 5584 bytes - .../data/aots/fonts/gsub_context2_expansion_f1.otf | Bin 0 -> 5544 bytes - .../aots/fonts/gsub_context2_lookupflag_f1.otf | Bin 0 -> 5560 bytes - .../aots/fonts/gsub_context2_lookupflag_f2.otf | Bin 0 -> 5552 bytes - .../fonts/gsub_context2_multiple_subrules_f1.otf | Bin 0 -> 5620 bytes - .../fonts/gsub_context2_multiple_subrules_f2.otf | Bin 0 -> 5620 bytes - .../aots/fonts/gsub_context2_next_glyph_f1.otf | Bin 0 -> 5536 bytes - .../data/aots/fonts/gsub_context2_simple_f1.otf | Bin 0 -> 5528 bytes - .../data/aots/fonts/gsub_context2_simple_f2.otf | Bin 0 -> 5504 bytes - .../aots/fonts/gsub_context2_successive_f1.otf | Bin 0 -> 5568 bytes - .../data/aots/fonts/gsub_context3_boundary_f1.otf | Bin 0 -> 5500 bytes - .../data/aots/fonts/gsub_context3_boundary_f2.otf | Bin 0 -> 5496 bytes - .../aots/fonts/gsub_context3_lookupflag_f1.otf | Bin 0 -> 5536 bytes - .../aots/fonts/gsub_context3_lookupflag_f2.otf | Bin 0 -> 5528 bytes - .../aots/fonts/gsub_context3_next_glyph_f1.otf | Bin 0 -> 5520 bytes - .../data/aots/fonts/gsub_context3_simple_f1.otf | Bin 0 -> 5504 bytes - .../aots/fonts/gsub_context3_successive_f1.otf | Bin 0 -> 5540 bytes - .../aots/fonts/lookupflag_ignore_attach_f1.otf | Bin 0 -> 5416 bytes - .../data/aots/fonts/lookupflag_ignore_base_f1.otf | Bin 0 -> 5256 bytes - .../fonts/lookupflag_ignore_combination_f1.otf | Bin 0 -> 5408 bytes - .../aots/fonts/lookupflag_ignore_ligatures_f1.otf | Bin 0 -> 5320 bytes - .../data/aots/fonts/lookupflag_ignore_marks_f1.otf | Bin 0 -> 5288 bytes - test/shaping/data/aots/hb-aots-tester.cpp | 343 +++++++++++++++++++++ - test/shaping/data/aots/tests/classdef1.tests | 1 + - test/shaping/data/aots/tests/classdef1_empty.tests | 1 + - .../data/aots/tests/classdef1_multiple.tests | 1 + - .../shaping/data/aots/tests/classdef1_single.tests | 1 + - test/shaping/data/aots/tests/classdef2.tests | 1 + - test/shaping/data/aots/tests/classdef2_empty.tests | 1 + - .../data/aots/tests/classdef2_multiple.tests | 1 + - .../shaping/data/aots/tests/classdef2_single.tests | 1 + - .../data/aots/tests/gpos1_1_lookupflag.tests | 1 + - test/shaping/data/aots/tests/gpos1_1_simple.tests | 4 + - test/shaping/data/aots/tests/gpos1_2.tests | 1 + - .../data/aots/tests/gpos1_2_lookupflag.tests | 1 + - test/shaping/data/aots/tests/gpos2_1.tests | 2 + - .../data/aots/tests/gpos2_1_lookupflag.tests | 2 + - .../data/aots/tests/gpos2_1_next_glyph.tests | 2 + - test/shaping/data/aots/tests/gpos2_1_simple.tests | 2 + - test/shaping/data/aots/tests/gpos2_2.tests | 5 + - test/shaping/data/aots/tests/gpos3.tests | 11 + - .../shaping/data/aots/tests/gpos3_lookupflag.tests | 2 + - .../shaping/data/aots/tests/gpos4_lookupflag.tests | 2 + - .../data/aots/tests/gpos4_multiple_anchors.tests | 1 + - test/shaping/data/aots/tests/gpos4_simple.tests | 5 + - test/shaping/data/aots/tests/gpos5.tests | 2 + - test/shaping/data/aots/tests/gpos6.tests | 3 + - test/shaping/data/aots/tests/gpos7_1.tests | 2 + - test/shaping/data/aots/tests/gpos9.tests | 2 + - .../data/aots/tests/gpos_chaining1_boundary.tests | 4 + - .../aots/tests/gpos_chaining1_lookupflag.tests | 1 + - .../tests/gpos_chaining1_multiple_subrules.tests | 2 + - .../aots/tests/gpos_chaining1_next_glyph.tests | 1 + - .../data/aots/tests/gpos_chaining1_simple.tests | 11 + - .../aots/tests/gpos_chaining1_successive.tests | 1 + - .../data/aots/tests/gpos_chaining2_boundary.tests | 4 + - .../aots/tests/gpos_chaining2_lookupflag.tests | 1 + - .../tests/gpos_chaining2_multiple_subrules.tests | 2 + - .../aots/tests/gpos_chaining2_next_glyph.tests | 1 + - .../data/aots/tests/gpos_chaining2_simple.tests | 11 + - .../aots/tests/gpos_chaining2_successive.tests | 1 + - .../data/aots/tests/gpos_chaining3_boundary.tests | 4 + - .../aots/tests/gpos_chaining3_lookupflag.tests | 1 + - .../aots/tests/gpos_chaining3_next_glyph.tests | 1 + - .../data/aots/tests/gpos_chaining3_simple.tests | 11 + - .../aots/tests/gpos_chaining3_successive.tests | 1 + - .../data/aots/tests/gpos_context1_boundary.tests | 2 + - .../data/aots/tests/gpos_context1_expansion.tests | 1 + - .../data/aots/tests/gpos_context1_lookupflag.tests | 2 + - .../tests/gpos_context1_multiple_subrules.tests | 2 + - .../data/aots/tests/gpos_context1_next_glyph.tests | 1 + - .../data/aots/tests/gpos_context1_simple.tests | 3 + - .../data/aots/tests/gpos_context1_successive.tests | 1 + - .../data/aots/tests/gpos_context2_boundary.tests | 2 + - .../data/aots/tests/gpos_context2_classes.tests | 2 + - .../data/aots/tests/gpos_context2_expansion.tests | 1 + - .../data/aots/tests/gpos_context2_lookupflag.tests | 2 + - .../tests/gpos_context2_multiple_subrules.tests | 2 + - .../data/aots/tests/gpos_context2_next_glyph.tests | 1 + - .../data/aots/tests/gpos_context2_simple.tests | 3 + - .../data/aots/tests/gpos_context2_successive.tests | 1 + - .../data/aots/tests/gpos_context3_boundary.tests | 2 + - .../data/aots/tests/gpos_context3_lookupflag.tests | 2 + - .../data/aots/tests/gpos_context3_next_glyph.tests | 1 + - .../data/aots/tests/gpos_context3_simple.tests | 2 + - .../data/aots/tests/gpos_context3_successive.tests | 1 + - .../data/aots/tests/gsub1_1_lookupflag.tests | 1 + - test/shaping/data/aots/tests/gsub1_1_modulo.tests | 1 + - test/shaping/data/aots/tests/gsub1_1_simple.tests | 1 + - .../data/aots/tests/gsub1_2_lookupflag.tests | 1 + - test/shaping/data/aots/tests/gsub1_2_simple.tests | 1 + - .../data/aots/tests/gsub2_1_lookupflag.tests | 1 + - .../aots/tests/gsub2_1_multiple_sequences.tests | 1 + - test/shaping/data/aots/tests/gsub2_1_simple.tests | 2 + - .../data/aots/tests/gsub3_1_lookupflag.tests | 1 + - .../shaping/data/aots/tests/gsub3_1_multiple.tests | 1 + - test/shaping/data/aots/tests/gsub3_1_simple.tests | 1 + - .../data/aots/tests/gsub4_1_lookupflag.tests | 1 + - .../aots/tests/gsub4_1_multiple_ligatures.tests | 2 + - .../data/aots/tests/gsub4_1_multiple_ligsets.tests | 1 + - test/shaping/data/aots/tests/gsub4_1_simple.tests | 1 + - test/shaping/data/aots/tests/gsub7.tests | 2 + - .../data/aots/tests/gsub_chaining1_boundary.tests | 4 + - .../aots/tests/gsub_chaining1_lookupflag.tests | 1 + - .../tests/gsub_chaining1_multiple_subrules.tests | 2 + - .../aots/tests/gsub_chaining1_next_glyph.tests | 1 + - .../data/aots/tests/gsub_chaining1_simple.tests | 11 + - .../aots/tests/gsub_chaining1_successive.tests | 1 + - .../data/aots/tests/gsub_chaining2_boundary.tests | 4 + - .../aots/tests/gsub_chaining2_lookupflag.tests | 1 + - .../tests/gsub_chaining2_multiple_subrules.tests | 2 + - .../aots/tests/gsub_chaining2_next_glyph.tests | 1 + - .../data/aots/tests/gsub_chaining2_simple.tests | 11 + - .../aots/tests/gsub_chaining2_successive.tests | 1 + - .../data/aots/tests/gsub_chaining3_boundary.tests | 4 + - .../aots/tests/gsub_chaining3_lookupflag.tests | 1 + - .../aots/tests/gsub_chaining3_next_glyph.tests | 1 + - .../data/aots/tests/gsub_chaining3_simple.tests | 11 + - .../aots/tests/gsub_chaining3_successive.tests | 1 + - .../data/aots/tests/gsub_context1_boundary.tests | 2 + - .../data/aots/tests/gsub_context1_expansion.tests | 1 + - .../data/aots/tests/gsub_context1_lookupflag.tests | 2 + - .../tests/gsub_context1_multiple_subrules.tests | 2 + - .../data/aots/tests/gsub_context1_next_glyph.tests | 1 + - .../data/aots/tests/gsub_context1_simple.tests | 3 + - .../data/aots/tests/gsub_context1_successive.tests | 1 + - .../data/aots/tests/gsub_context2_boundary.tests | 2 + - .../data/aots/tests/gsub_context2_classes.tests | 2 + - .../data/aots/tests/gsub_context2_expansion.tests | 1 + - .../data/aots/tests/gsub_context2_lookupflag.tests | 2 + - .../tests/gsub_context2_multiple_subrules.tests | 2 + - .../data/aots/tests/gsub_context2_next_glyph.tests | 1 + - .../data/aots/tests/gsub_context2_simple.tests | 3 + - .../data/aots/tests/gsub_context2_successive.tests | 1 + - .../data/aots/tests/gsub_context3_boundary.tests | 2 + - .../data/aots/tests/gsub_context3_lookupflag.tests | 2 + - .../data/aots/tests/gsub_context3_next_glyph.tests | 1 + - .../data/aots/tests/gsub_context3_simple.tests | 2 + - .../data/aots/tests/gsub_context3_successive.tests | 1 + - .../data/aots/tests/lookupflag_ignore_attach.tests | 5 + - .../data/aots/tests/lookupflag_ignore_base.tests | 2 + - .../aots/tests/lookupflag_ignore_combination.tests | 3 + - .../aots/tests/lookupflag_ignore_ligatures.tests | 3 + - .../data/aots/tests/lookupflag_ignore_marks.tests | 1 + - test/shaping/run-tests.py | 9 +- - 332 files changed, 815 insertions(+), 3 deletions(-) - -commit ae96c98dfaef3a789227ffecd40b92518dface8a -Author: Behdad Esfahbod -Date: Sat Nov 24 10:25:10 2018 -0500 - - [color] Use SortedUnsizedArrayOf<> - - src/hb-ot-color-colr-table.hh | 16 ++-------------- - 1 file changed, 2 insertions(+), 14 deletions(-) - -commit 4a3b20738fca3231e5d9a36adba333b5bce05f4a -Author: Behdad Esfahbod -Date: Sat Nov 24 10:17:59 2018 -0500 - - [trak] Coment - - src/hb-aat-layout-trak-table.hh | 1 - - 1 file changed, 1 deletion(-) - -commit 918b1ee54d43eb493c9226bff7677ed8ec07934b -Author: Behdad Esfahbod -Date: Sat Nov 24 10:09:17 2018 -0500 - - [arrays] Add not_found to reference bsearch as well - - src/hb-open-type.hh | 16 ++++++++-------- - 1 file changed, 8 insertions(+), 8 deletions(-) - -commit d77a098b735cf14aa601feab5bdb9f4e474c794f -Author: Behdad Esfahbod -Date: Sat Nov 24 10:06:13 2018 -0500 - - [arrays] Improve bfind() interface - - Much more useful now. :) - - src/hb-dsalgs.hh | 29 +++++++++++++++++++++++++---- - src/hb-open-file.hh | 9 +-------- - src/hb-open-type.hh | 12 ++++++++---- - src/hb-ot-layout-common.hh | 10 ++-------- - src/hb-set.hh | 6 +++--- - src/hb-vector.hh | 6 ++++-- - 6 files changed, 43 insertions(+), 29 deletions(-) - -commit 1204a247a5d9a4da39675d3da85d4fd3268a5b66 -Author: Behdad Esfahbod -Date: Sat Nov 24 09:49:21 2018 -0500 - - [fuzzing] Add tests for previous commit - - Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=11526 - Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=11522 - - ...zz-testcase-minimized-hb-shape-fuzzer-5634620935110656 | Bin 0 -> 41 bytes - ...zz-testcase-minimized-hb-shape-fuzzer-5716208469409792 | Bin 0 -> 243 bytes - 2 files changed, 0 insertions(+), 0 deletions(-) - -commit 8dcc1913a1670ede7b124f7b5b775d7ab8791386 -Author: Behdad Esfahbod -Date: Sat Nov 24 09:47:45 2018 -0500 - - [kerx/morx] Make sure object length is sanitized before accessing it - - src/hb-aat-layout-kerx-table.hh | 5 +++++ - src/hb-aat-layout-morx-table.hh | 5 +++++ - 2 files changed, 10 insertions(+) - -commit 70d80c90fe2f4eca66bec3e1d313bbf7e4d0ab65 -Author: Behdad Esfahbod -Date: Sat Nov 24 01:59:50 2018 -0500 - - [arrays] Port ArrayOf.qsort() and hb_vector_t.qsort() to hb_array_t - - src/hb-dsalgs.hh | 14 ++++++++++++-- - src/hb-open-type.hh | 14 ++++++++++++-- - 2 files changed, 24 insertions(+), 4 deletions(-) - -commit 073d837aa2394d29dda72679802d583c559c3c5b -Author: Behdad Esfahbod -Date: Sat Nov 24 01:48:48 2018 -0500 - - [arrays] Port ArrayOf.qsort() to hb_array_t's - - src/hb-open-type.hh | 4 +--- - 1 file changed, 1 insertion(+), 3 deletions(-) - -commit ad5c871d801b481f95dd32c8b65ecc70def597be -Author: Behdad Esfahbod -Date: Sat Nov 24 01:47:49 2018 -0500 - - [arrays] Add copy-constructor to hb_array_t and hb_sorted_array_t - - src/hb-dsalgs.hh | 2 ++ - 1 file changed, 2 insertions(+) - -commit 61de55bf496c1edb120e4d096140eb1125552bbe -Author: Behdad Esfahbod -Date: Sat Nov 24 01:45:58 2018 -0500 - - [arrays] Port hb_vector_t.qsort() to hb_array_t's - - src/hb-dsalgs.hh | 16 +++++++++++++--- - src/hb-vector.hh | 10 ++-------- - 2 files changed, 15 insertions(+), 11 deletions(-) - -commit e3face8e791d677f94154e8a7f3d787d0d69a02f -Author: Behdad Esfahbod -Date: Sat Nov 24 01:42:17 2018 -0500 - - [arrays] Remove one flavor of hb_vector_t.qsort() - - src/hb-vector.hh | 8 ++------ - 1 file changed, 2 insertions(+), 6 deletions(-) - -commit 7c1600dcd9813ca560ecccc5c54877a5750caf4e -Author: Behdad Esfahbod -Date: Sat Nov 24 01:37:11 2018 -0500 - - [arrays] Add (unused) SortedUnsizedArrayOf<> - - src/hb-open-type.hh | 21 +++++++++++++++++++++ - 1 file changed, 21 insertions(+) - -commit e700392f5cbf366f1e03dc7e7b1a2eb6c3027b92 -Author: Behdad Esfahbod -Date: Sat Nov 24 01:31:00 2018 -0500 - - [arrays] Port SortedArrayOf.bsearch/bfind to hb_sorted_array_t's - - src/hb-dsalgs.hh | 9 +++------ - src/hb-open-type.hh | 50 ++++++++++---------------------------------------- - src/hb-vector.hh | 35 ++++++++++------------------------- - 3 files changed, 23 insertions(+), 71 deletions(-) - -commit e604306f2829804e9016966c1378166253b19d29 -Author: Behdad Esfahbod -Date: Sat Nov 24 01:24:48 2018 -0500 - - [arrays] Port hb_vector_t.bsearch/bfind to (new) hb_sorted_array_t's - - src/hb-dsalgs.hh | 63 +++++++++++++++++++++++++++++++++++++++++++++++++---- - src/hb-open-type.hh | 12 ++++++---- - src/hb-vector.hh | 57 +++++++++++++++++++----------------------------- - 3 files changed, 89 insertions(+), 43 deletions(-) - -commit 268eca24921e85eda98f4f0cce05d40c7235ba62 -Author: Behdad Esfahbod -Date: Sat Nov 24 01:11:12 2018 -0500 - - [arrays] Port (unused) ArrayOf.lsearch() to hb_array_t's - - src/hb-open-type.hh | 12 ++---------- - 1 file changed, 2 insertions(+), 10 deletions(-) - -commit 830856ba6b9454bf507e00416f9d45e9975fb7dc -Author: Behdad Esfahbod -Date: Sat Nov 24 01:09:28 2018 -0500 - - [arrays] Port hb_vector_t.lsearch() to hb_array_t's - - src/hb-dsalgs.hh | 26 +++++++++++++++++++++++--- - src/hb-vector.hh | 16 ++++------------ - 2 files changed, 27 insertions(+), 15 deletions(-) - -commit 96cf0889804b7d72a96274b25641bb18f7dd2e1e -Author: Behdad Esfahbod -Date: Sat Nov 24 01:07:15 2018 -0500 - - [arrays] More - - src/hb-face.cc | 6 +++--- - src/hb-vector.hh | 4 ++-- - 2 files changed, 5 insertions(+), 5 deletions(-) - -commit 3e26c8d2b10fc08642c25c7f13aef68b0b1008f6 -Author: Behdad Esfahbod -Date: Sat Nov 24 00:58:44 2018 -0500 - - [arrays] Update ArrayOf.lsearch() - - Currently unused apparently - - src/hb-open-type.hh | 17 +++++++++++++---- - 1 file changed, 13 insertions(+), 4 deletions(-) - -commit 22e1857b01c71714245ddca05cb3fa0127bf7da2 -Author: Behdad Esfahbod -Date: Sat Nov 24 00:53:19 2018 -0500 - - [arrays] Change argument type of cmp called by hb_vector_t.bsearch() - - Towards consolidating all array bsearch/... - - src/hb-aat-map.hh | 4 ++-- - src/hb-ot-map.hh | 4 ++-- - src/hb-set.hh | 2 +- - src/hb-vector.hh | 4 ++-- - 4 files changed, 7 insertions(+), 7 deletions(-) - -commit 5fdf7b724eb3cb5ac60cd7f90d3250877ad7ca06 -Author: Nathan Willis -Date: Thu Nov 15 17:40:21 2018 -0600 - - Usermanual: clusters chapter; add brief grapheme definition and clarify monotonous cluster handling. - - docs/usermanual-clusters.xml | 56 ++++++++++++++++++++++++++++++-------------- - 1 file changed, 39 insertions(+), 17 deletions(-) - -commit 939220e57da613e090d247aa1af2396c28370af4 -Author: Nathan Willis -Date: Thu Nov 15 15:47:03 2018 -0600 - - Usermanual: clusters chapter, minor updates. - - docs/usermanual-clusters.xml | 25 ++++++++++++++++--------- - 1 file changed, 16 insertions(+), 9 deletions(-) - -commit 53ac46e974cf0ee8720b40ef394714eb97ff53b9 -Author: Nathan Willis -Date: Mon Nov 12 12:17:06 2018 -0600 - - Usermanual: expand clusters chapter. - - docs/usermanual-clusters.xml | 743 +++++++++++++++++++++++++++---------------- - 1 file changed, 473 insertions(+), 270 deletions(-) - -commit 30cb45b3eaacda15cc45435815cae3fd50e87557 -Author: Behdad Esfahbod -Date: Sat Nov 24 00:35:31 2018 -0500 - - Change ArrayOf.bsearch() return semantics - - Towards consolidating all array bsearch/... - - src/hb-aat-layout-kerx-table.hh | 16 +++------------- - src/hb-open-file.hh | 12 ++++++++---- - src/hb-open-type.hh | 42 ++++++++++++++++++++++++++++++++--------- - src/hb-ot-cmap-table.hh | 30 ++++++++++++----------------- - src/hb-ot-color-svg-table.hh | 3 +-- - src/hb-ot-layout-common.hh | 29 +++++++++++----------------- - src/hb-ot-vorg-table.hh | 9 ++++----- - src/hb-vector.hh | 14 +++++++++----- - 8 files changed, 81 insertions(+), 74 deletions(-) - -commit 5cd9546ba73d9f8c8b7b8db0960d657c50b70f64 -Author: Behdad Esfahbod -Date: Sat Nov 24 00:38:36 2018 -0500 - - Minor - - src/hb-ot-layout-common.hh | 5 +---- - 1 file changed, 1 insertion(+), 4 deletions(-) - -commit fd94e729cb50f2b6bd83b80cbf400e10ac633a1c -Author: Behdad Esfahbod -Date: Sat Nov 24 00:45:55 2018 -0500 - - Whitespace - - src/hb-ot-layout-common.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit bb2a2065080a3099eb0dc82d1df0891ad2601316 -Author: Behdad Esfahbod -Date: Sat Nov 24 00:31:40 2018 -0500 - - Assert that item-type of arrays have static size - - src/hb-dsalgs.hh | 2 ++ - src/hb-open-type.hh | 4 ++++ - src/hb-vector.hh | 2 ++ - 3 files changed, 8 insertions(+) - -commit 690d9eb83d3421b397b0cb824cd768d6d73cbf12 -Author: Behdad Esfahbod -Date: Sat Nov 24 00:29:22 2018 -0500 - - [vector] Rename - - src/hb-vector.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit ba38378fd4374f3d44bdc9aa0de902401b60b13d -Author: Behdad Esfahbod -Date: Sat Nov 24 00:27:57 2018 -0500 - - [aat] Minor - - src/hb-aat-layout-common.hh | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -commit 39b9d63b014380d421cc9b94a49dd411c7a5aabf -Author: Behdad Esfahbod -Date: Sat Nov 24 00:25:40 2018 -0500 - - Add hb_static_size(T) - - src/hb-null.hh | 19 +++++++++++++++++++ - 1 file changed, 19 insertions(+) - -commit f99abcc37990a478189dda691d1fdac7b9d51386 -Author: Behdad Esfahbod -Date: Sat Nov 24 00:22:21 2018 -0500 - - Add template-function convenience macros - - src/hb-atomic.hh | 2 +- - src/hb-blob.hh | 4 ++-- - src/hb-common.cc | 2 +- - src/hb-ft.cc | 2 +- - src/hb-null.hh | 11 ++++++----- - src/hb.hh | 3 +++ - 6 files changed, 14 insertions(+), 10 deletions(-) - -commit ec83b2228e0bbb6df7e7b94dad49db32b041af4a -Author: Behdad Esfahbod -Date: Fri Nov 23 19:58:49 2018 -0500 - - Add null bytes for CmapSubtableLongGroup - - src/hb-ot-cmap-table.hh | 1 + - src/hb-static.cc | 4 +++- - 2 files changed, 4 insertions(+), 1 deletion(-) - -commit e2ffb33a534a427c760dae53d0469eeced4343ba -Author: Behdad Esfahbod -Date: Fri Nov 23 16:24:28 2018 -0500 - - Remove lsearch for small TableDirectorys - - src/hb-open-file.hh | 4 +--- - 1 file changed, 1 insertion(+), 3 deletions(-) - -commit 04f7e5536924e7f277d72b8cb9d878239877c331 -Author: Behdad Esfahbod -Date: Fri Nov 23 16:07:43 2018 -0500 - - [arrays] Add as_array() to hb_vector_t<> - - src/hb-vector.hh | 3 +++ - 1 file changed, 3 insertions(+) - -commit c514f65181390ab98b0f738632f71cda31e46b68 -Author: Behdad Esfahbod -Date: Fri Nov 23 16:04:56 2018 -0500 - - [arrays] Add as_array() to ArrayOf<> - - src/hb-open-type.hh | 3 +++ - 1 file changed, 3 insertions(+) - -commit 9552f4ef0da0b7e1fb28cb2738b865888e7941d9 -Author: Behdad Esfahbod -Date: Fri Nov 23 15:24:17 2018 -0500 - - [kern] Don't enforce length of last subtable - - src/hb-aat-layout-kerx-table.hh | 19 +++++++++++++++++-- - 1 file changed, 17 insertions(+), 2 deletions(-) - -commit 992b7128656e72f935089dc2e12c2d2a25511886 -Merge: c9cc96c0c 018ba46e4 -Author: Behdad Esfahbod -Date: Fri Nov 23 13:49:34 2018 -0500 - - Merge pull request #1407 from harfbuzz/at-sign - - Don't canonicalize '@' to '-' in language tags - -commit 018ba46e4d003a5dd0f6d2d899226129c4ef0c60 -Author: David Corbett -Date: Fri Nov 23 13:21:22 2018 -0500 - - Don't canonicalize '@' to '-' in language tags - - Fixes #1406. - - src/hb-common.cc | 2 +- - test/api/test-ot-tag.c | 3 +++ - 2 files changed, 4 insertions(+), 1 deletion(-) - -commit c9cc96c0cfbbb87b9292e413d500a454182be9f4 -Author: Ebrahim Byagowi -Date: Fri Nov 23 19:58:56 2018 +0330 - - [aat] Update expectation - - test/shaping/data/in-house/tests/macos-10.12.tests | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 748962264a9f098b32b9cb3fe4d18c786907a184 -Author: Behdad Esfahbod -Date: Fri Nov 23 11:10:17 2018 -0500 - - [aat] Disable mark advance zeroing if kern table has state-machines - - Geeza Pro for example, relies on that for fancy mark positioning. - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1405 - - src/hb-aat-layout-kerx-table.hh | 15 +++++++++++++++ - src/hb-ot-kern-table.hh | 9 +++++++++ - src/hb-ot-layout.cc | 6 ++++++ - src/hb-ot-layout.hh | 3 +++ - src/hb-ot-shape.cc | 4 +++- - 5 files changed, 36 insertions(+), 1 deletion(-) - -commit 3d2b98ef14af29acd74f01647bef60cd410825fb -Author: Behdad Esfahbod -Date: Fri Nov 23 10:45:44 2018 -0500 - - Minor - - src/hb.hh | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 341851efe158599a34d241a97593058a4333852e -Author: Ebrahim Byagowi -Date: Fri Nov 23 15:40:05 2018 +0330 - - [aat] Add macOS specific tests (#1404) - - .circleci/config.yml | 46 ++++++++++++++-------- - test/shaping/CMakeLists.txt | 2 + - test/shaping/data/in-house/Makefile.sources | 1 + - test/shaping/data/in-house/tests/macos-10.12.tests | 10 +++++ - test/shaping/run-tests.py | 38 ++++++++++++++---- - 5 files changed, 73 insertions(+), 24 deletions(-) - -commit 22798e93c414a2655c757a6e41b300f67e04a9a3 -Author: Behdad Esfahbod -Date: Thu Nov 22 22:47:51 2018 -0500 - - [use] Minor clarification - - src/hb-ot-shape-complex-use.cc | 34 +++++++++++++++++----------------- - 1 file changed, 17 insertions(+), 17 deletions(-) - -commit a2d6c1075a5595a08ef09357293919d9df8eb64a -Author: Behdad Esfahbod -Date: Thu Nov 22 22:40:57 2018 -0500 - - Minor tweak to FLAG64 - - src/hb.hh | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 8280459e74cff2dec3de012abd309cda9578b759 -Merge: e4a4555d1 3c7792ca3 -Author: Behdad Esfahbod -Date: Thu Nov 22 22:39:12 2018 -0500 - - Merge pull request #1291 from harfbuzz/use-reordering - - [use] Fix reordering - -commit e4a4555d1e40dacdf72452805e9e6b6109627d63 -Author: Behdad Esfahbod -Date: Thu Nov 22 22:17:49 2018 -0500 - - [cmap] Move code around - - src/hb-ot-cmap-table.hh | 18 ++++++++++-------- - 1 file changed, 10 insertions(+), 8 deletions(-) - -commit 758c9d68e2143493978d8ac8391f4af2a2abc26a -Author: Behdad Esfahbod -Date: Thu Nov 22 22:16:12 2018 -0500 - - [morx/kerx] Limit range to subtable when sanitizing - - src/hb-aat-layout-kerx-table.hh | 2 ++ - src/hb-aat-layout-morx-table.hh | 2 ++ - 2 files changed, 4 insertions(+) - -commit a9fe787a11fc391d9a43a4ea19e6eb1c474199bd -Author: Behdad Esfahbod -Date: Thu Nov 22 22:12:36 2018 -0500 - - [sanitizer] Add reset_object(), make set_object() do bounds-check - - Affects morx/kerx run-time only currently. Will adjust their sanitize next. - - src/hb-aat-layout-kerx-table.hh | 1 + - src/hb-aat-layout-morx-table.hh | 1 + - src/hb-machinery.hh | 30 +++++++++++++++++++----------- - 3 files changed, 21 insertions(+), 11 deletions(-) - -commit 2c8188bf599e351a4e0804d74612f9643b3d2443 -Author: Behdad Esfahbod -Date: Thu Nov 22 22:02:19 2018 -0500 - - [kerx] Make sure subtables are non-zero-length - - Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=11400 - - src/hb-aat-layout-kerx-table.hh | 1 + - src/hb-aat-layout-morx-table.hh | 2 +- - ...z-testcase-minimized-hb-shape-fuzzer-5722888989048832 | Bin 0 -> 3608 bytes - 3 files changed, 2 insertions(+), 1 deletion(-) - -commit a9e0bdc35dfcbead7d4b6fa249d60ebedd7d43ca -Author: Behdad Esfahbod -Date: Thu Nov 22 21:30:04 2018 -0500 - - [GSUB] Don't flush glyphset during recursion in closure() - - See comment. - - Supercedes https://github.com/harfbuzz/harfbuzz/pull/1401 - Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=11366 - - src/hb-ot-layout-gsub-table.hh | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -commit 8982830d3ec54f50cc951de9569520fafc735e75 -Author: Garret Rieger -Date: Mon Nov 19 13:00:24 2018 -0800 - - [subset] add fuzzer testcase. - - ...z-testcase-minimized-hb-subset-fuzzer-5067936541179904 | Bin 0 -> 172 bytes - 1 file changed, 0 insertions(+), 0 deletions(-) - -commit d0e81b2cc85d09d01905c5fc5b3382c25eaa3bb3 -Author: Behdad Esfahbod -Date: Thu Nov 22 21:20:39 2018 -0500 - - [set] Rename - - src/hb-set.hh | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - -commit e866910579e9cdc5b1ffa2e401fd0c056d44ca6a -Author: Behdad Esfahbod -Date: Thu Nov 22 18:07:59 2018 -0500 - - Enforce requiring null_size even if min_size is 0 - - This concludes null-size enforcement changes - - src/hb-null.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 4d4fd64ff47da04a7008d410c92e8fb4ad970781 -Author: Behdad Esfahbod -Date: Thu Nov 22 18:07:36 2018 -0500 - - Allow non-nullable OffsetTo<> to non-Null'able objects - - src/hb-open-type.hh | 16 +++++++++++++++- - 1 file changed, 15 insertions(+), 1 deletion(-) - -commit fa9f585ec53bc7145d3bed1a4bd756d64dae1e55 -Author: Behdad Esfahbod -Date: Thu Nov 22 17:56:51 2018 -0500 - - [glyf] Don't mark structs UNBOUNDED - - See comments. - - src/hb-ot-glyf-table.hh | 8 ++++++-- - 1 file changed, 6 insertions(+), 2 deletions(-) - -commit f47a60a7543dbaf41086c25a1a22ae518d8b92a9 -Author: Behdad Esfahbod -Date: Thu Nov 22 17:53:29 2018 -0500 - - Mark UnsizedArrayOf<> as UNBOUNDED - - Since min_size is 0, Null() still accepts this type. - - src/hb-open-type.hh | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 199a0f7b41b691e371487fd569c0d0146da3c3f3 -Author: Behdad Esfahbod -Date: Thu Nov 22 17:31:07 2018 -0500 - - [ot-shape] Simplify logic - - src/hb-ot-shape.cc | 9 ++++++--- - 1 file changed, 6 insertions(+), 3 deletions(-) - -commit 014e4980ed9c8c473001abdb3a44121eb73fd50d -Author: Behdad Esfahbod -Date: Thu Nov 22 16:21:49 2018 -0500 - - Move - - src/hb-ot-shape.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 62890dee18b88865a2014fb6a1322c1c9218bd49 -Author: Behdad Esfahbod -Date: Thu Nov 22 16:20:29 2018 -0500 - - [aat] Zero mark advances if decided so even if there's cross-kerning - - Cross-kerning can only take care of positioning vertically. It doesn't - adjust mark advance... - - src/hb-ot-shape.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit a201fa74cd67f36a402a5c8093889c9d793e9fd5 -Author: Behdad Esfahbod -Date: Thu Nov 22 15:52:29 2018 -0500 - - [aat] Tweak fallback positioning logic when applying morx - - Such that for Indic-like scripts (eg. Khmer), we don't do any fallback mark - advance-zeroing / positioning, but we do for Latin, etc. Reuses preferences - of our script-specific OpenType shapers for those. - - Fixes regression: https://github.com/harfbuzz/harfbuzz/issues/1393 - Which means, fixes again: https://github.com/harfbuzz/harfbuzz/issues/1264 - While not regressing: https://github.com/harfbuzz/harfbuzz/issues/1357 - - src/hb-ot-shape.cc | 38 +++++++++++++++++++++++--------------- - src/hb-ot-shape.hh | 3 +++ - 2 files changed, 26 insertions(+), 15 deletions(-) - -commit fa0bd8964d110c168a918bc331dcd350c3fed8c1 -Author: Behdad Esfahbod -Date: Thu Nov 22 14:46:39 2018 -0500 - - [myanmar] Minor move - - src/hb-ot-shape-complex.hh | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - -commit 7dc561984bdb1f29f09ae0793195b5fbf772522b -Author: Behdad Esfahbod -Date: Thu Nov 22 14:45:46 2018 -0500 - - [myanmar] If there's no GSUB table, pick myanmar shaper - - Needed for morx+kern mark-zeroing interaction. All other scripts - work this way. - - src/hb-ot-shape-complex.hh | 16 +++++++++++++--- - 1 file changed, 13 insertions(+), 3 deletions(-) - -commit 25f52f58c20715cc0dee2dd2885669078a128b08 -Author: Behdad Esfahbod -Date: Thu Nov 22 14:41:01 2018 -0500 - - [myanmar] Remove myanmar_old shaper - - Over time it has become the same as default shaper. So, remove. - - src/hb-ot-shape-complex-myanmar.cc | 21 --------------------- - src/hb-ot-shape-complex.hh | 4 +--- - 2 files changed, 1 insertion(+), 24 deletions(-) - -commit eeed802b1d0f932c61a088d3e0156ae70645b9e2 -Author: Behdad Esfahbod -Date: Thu Nov 22 01:53:36 2018 -0500 - - Fix spurious gcc warnings - - ../../src/hb-null.hh:53:39: warning: enum constant in boolean context [-Wint-in-bool-context] - - src/hb-null.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit b96ecb9971a9ad089a631d0139f05ae9d880fc55 -Author: Behdad Esfahbod -Date: Thu Nov 22 01:49:12 2018 -0500 - - More - - This makes more of the gcc spurious warning: - - ../../src/hb-null.hh:53:39: warning: enum constant in boolean context [-Wint-in-bool-context] - - But not going to let that defeat correct code. Type to switch to clang - as my main compiler... - - src/hb-blob.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 2737aa81e5aee721e868bf0c72f19c0245c721fe -Author: Behdad Esfahbod -Date: Thu Nov 22 01:44:27 2018 -0500 - - Fix up recent change - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1300 - - src/hb-null.hh | 12 +++++++++--- - src/hb-open-type.hh | 5 ----- - src/hb-ot-glyf-table.hh | 4 ++-- - 3 files changed, 11 insertions(+), 10 deletions(-) - -commit fffea5aff7a631eedd13c38c1fb7ea4f5f950930 -Author: Behdad Esfahbod -Date: Thu Nov 22 01:25:34 2018 -0500 - - Minor - - src/hb-open-type.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 209b58ef731f102b92179ed76551e2fd6b5ed075 -Author: Behdad Esfahbod -Date: Thu Nov 22 01:22:33 2018 -0500 - - Minor - - src/hb-ot-kern-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 3b9fd176e83bbebc4d0b5fc967c15b08fdef7015 -Author: Behdad Esfahbod -Date: Thu Nov 22 01:18:55 2018 -0500 - - Disallow taking Null() of unbounded structs - - Not sure I've marked all such structs. To be done as we discover. - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1300 - - src/hb-aat-layout-common.hh | 2 +- - src/hb-machinery.hh | 4 ++++ - src/hb-ot-kern-table.hh | 2 +- - src/hb-ot-var-fvar-table.hh | 31 ++++++++++++++++--------------- - 4 files changed, 22 insertions(+), 17 deletions(-) - -commit f2b91d6510face95008151bb0d25837723536f9f -Author: Behdad Esfahbod -Date: Thu Nov 22 01:10:22 2018 -0500 - - Use Type::null_size for our structs in Null(), sizeof() for other types - - src/hb-null.hh | 17 +++++++++++++++-- - 1 file changed, 15 insertions(+), 2 deletions(-) - -commit 7dd945a8764cbbf76f686fd9387918b63f7d2fb4 -Author: Behdad Esfahbod -Date: Thu Nov 22 01:05:02 2018 -0500 - - One more time.. - - src/hb-machinery.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit d062ad10de6c63d94676660b76526a160cf4299e -Author: Behdad Esfahbod -Date: Thu Nov 22 00:39:14 2018 -0500 - - Fix bots happy again, hopefully - - So, our fallback static_assert cannot be had more than once per line - of source. - - src/hb-machinery.hh | 16 +++++++--------- - 1 file changed, 7 insertions(+), 9 deletions(-) - -commit fb10c021c8a32f8dc054f008caf86af82667e109 -Author: Behdad Esfahbod -Date: Thu Nov 22 00:21:49 2018 -0500 - - Revert alignof() == 1 check - - Bots not happy with using "this" inside assertion... - - This reverts 2656644887e77a9d814bb12374af3c26b42fd935 - - src/hb-machinery.hh | 12 ++++-------- - 1 file changed, 4 insertions(+), 8 deletions(-) - -commit 8d778877b88155dec1808a994416ead0b3d98ae7 -Author: Behdad Esfahbod -Date: Wed Nov 21 23:46:09 2018 -0500 - - .. - - src/hb-machinery.hh | 8 ++++++-- - src/hb-null.hh | 4 ++-- - 2 files changed, 8 insertions(+), 4 deletions(-) - -commit 8cfeed99486e87c3217dc141bc24b7768a460f32 -Author: Behdad Esfahbod -Date: Wed Nov 21 23:42:31 2018 -0500 - - Minor - - src/hb-machinery.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit e5d954a2fb0c390ea67e83763e3c3a47caa2eb50 -Author: Behdad Esfahbod -Date: Wed Nov 21 23:30:50 2018 -0500 - - Minor - - src/hb-machinery.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit e987059c618e03d2346c31ed64429d67ce0e367a -Author: Behdad Esfahbod -Date: Wed Nov 21 23:25:06 2018 -0500 - - Minor - - src/hb-machinery.hh | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit a2b6d308a40d737f54a79f00bc7ace226bad5aaf -Author: Behdad Esfahbod -Date: Wed Nov 21 23:23:49 2018 -0500 - - Remove DEFINE_SIZE_ARRAY2 - - src/hb-machinery.hh | 6 ------ - src/hb-ot-layout-common.hh | 8 ++++---- - src/hb-ot-post-table.hh | 6 +++--- - 3 files changed, 7 insertions(+), 13 deletions(-) - -commit 2656644887e77a9d814bb12374af3c26b42fd935 -Author: Behdad Esfahbod -Date: Wed Nov 21 23:23:21 2018 -0500 - - Check alignof() structs are 1 - - src/hb-machinery.hh | 16 +++++++++++----- - 1 file changed, 11 insertions(+), 5 deletions(-) - -commit 6321fdf7040ce48e3de8d34fdcc57caa6433cb66 -Author: Behdad Esfahbod -Date: Wed Nov 21 23:19:00 2018 -0500 - - Whitespace - - src/hb-machinery.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit f961c1eb88af0d178e5d3431b9d57bdf79669488 -Merge: ecdceea86 264439c6c -Author: Behdad Esfahbod -Date: Wed Nov 21 17:27:27 2018 -0500 - - Merge pull request #1400 from harfbuzz/sharada-sandhi-mark - - Test U+111C9 SHARADA SANDHI MARK - -commit 264439c6c308ac5f01c4ba4faf64daa2d642236a -Author: David Corbett -Date: Wed Nov 21 16:33:45 2018 -0500 - - Test U+111C9 SHARADA SANDHI MARK - - .../fonts/86cdd983c4e4c4d7f27dd405d6ceb7d4b9ed3d35.ttf | Bin 0 -> 968 bytes - test/shaping/data/in-house/tests/use-syllable.tests | 1 + - 2 files changed, 1 insertion(+) - -commit ecdceea861952be003e1d435aa3282a4e3e200a9 -Merge: b89c7fd3d b3d5b0a5d -Author: Behdad Esfahbod -Date: Wed Nov 21 16:12:32 2018 -0500 - - Merge pull request #1399 from harfbuzz/sharada-sandhi-mark - - Fix USE categories for U+111C9 SHARADA SANDHI MARK - -commit b89c7fd3dc505a958dd4b6acec0e0f8e57224fd8 -Author: Behdad Esfahbod -Date: Wed Nov 21 12:32:48 2018 -0500 - - Allow defining HB_USE_ATEXIT to 0 - - That's better use of that value than requiring extra macro HB_NO_ATEXIT - - src/hb-common.cc | 10 +++++----- - src/hb-ft.cc | 12 ++++++------ - src/hb-glib.cc | 6 +++--- - src/hb-icu.cc | 6 +++--- - src/hb-ot-font.cc | 6 +++--- - src/hb-shape.cc | 6 +++--- - src/hb-shaper.cc | 6 +++--- - src/hb-ucdn.cc | 6 +++--- - src/hb-uniscribe.cc | 4 ++-- - src/hb.hh | 5 ++++- - 10 files changed, 35 insertions(+), 32 deletions(-) - -commit b3d5b0a5d92115ca672b8103999ab7ac88e39a4a -Author: David Corbett -Date: Wed Nov 21 11:35:44 2018 -0500 - - Fix USE categories for U+111C9 SHARADA SANDHI MARK - - src/gen-use-table.py | 7 ++++++- - src/hb-ot-shape-complex-use-table.cc | 2 +- - 2 files changed, 7 insertions(+), 2 deletions(-) - -commit f48bb9a3939067f24a81007e642caaac77cc7167 -Author: Behdad Esfahbod -Date: Tue Nov 20 20:40:55 2018 -0500 - - [var] Deprecated axis enumeration API and add new version - - New version has axis flags. - - New API: - +hb_ot_var_axis_info_t - +hb_ot_var_find_axis_info() - +hb_ot_var_get_axis_infos() - - Deprecated API: - -HB_OT_VAR_NO_AXIS_INDEX - -hb_ot_var_axis_t - -hb_ot_var_find_axis() - -hb_ot_var_get_axes() - - docs/harfbuzz-sections.txt | 14 +++--- - src/hb-deprecated.h | 37 +++++++++++++++ - src/hb-ot-var-fvar-table.hh | 112 ++++++++++++++++++++++++++++++++------------ - src/hb-ot-var.cc | 43 ++++++++++++++--- - src/hb-ot-var.h | 61 ++++++++++++------------ - test/api/test-ot-face.c | 2 +- - 6 files changed, 192 insertions(+), 77 deletions(-) - -commit b2d803cef6974519d5892af2c9efeb8dfba87618 -Author: Behdad Esfahbod -Date: Tue Nov 20 11:42:25 2018 -0500 - - Remove newly-added -hb_ot_var_axis_get_flags() - - src/hb-ot-var-fvar-table.hh | 6 ------ - src/hb-ot-var.cc | 12 ------------ - src/hb-ot-var.h | 4 ---- - 3 files changed, 22 deletions(-) - -commit 736897d7a1410fd281fbcedc084b85bf4ba1410c -Author: Behdad Esfahbod -Date: Tue Nov 20 11:40:43 2018 -0500 - - [var] Make sure hb_ot_var_axis_flags_t is int-sized - - src/hb-ot-var.h | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit eab5d15f6156e771cb606b760dd170b96c5cd398 -Author: Behdad Esfahbod -Date: Tue Nov 20 11:33:33 2018 -0500 - - [var] Move code - - src/hb-ot-var.h | 27 ++++++++++++++------------- - 1 file changed, 14 insertions(+), 13 deletions(-) - -commit 1ecbf4d3e3de7edc86651c6f805788747d6d89af -Merge: 515f1a161 064f703c7 -Author: Michiharu Ariza -Date: Tue Nov 20 17:19:05 2018 -0800 - - Merge branch 'master' into cff-subset - -commit 064f703c7ac5a28803a8221720e922ea6dbd2505 -Merge: be1828daa 829511827 -Author: Behdad Esfahbod -Date: Tue Nov 20 16:29:30 2018 -0500 - - Merge pull request #1397 from harfbuzz/small-emoji-table - - Shrink the emoji table by merging adjacent ranges - -commit 82951182799772a642d32195dd87e6f0c116f545 -Author: David Corbett -Date: Tue Nov 20 15:41:45 2018 -0500 - - Shrink the emoji table by merging adjacent ranges - - src/gen-emoji-table.py | 13 +-- - src/hb-unicode-emoji-table.hh | 189 ++++-------------------------------------- - 2 files changed, 23 insertions(+), 179 deletions(-) - -commit be1828daaa1e1a72d971aed8d34fff54688d0f41 -Author: Behdad Esfahbod -Date: Tue Nov 20 11:16:23 2018 -0500 - - [var] Fix type of coords returned - - Ouch. Wonder how none of the bots caught the float->int truncation. - - src/hb-ot-var-fvar-table.hh | 2 +- - src/hb-ot-var.cc | 2 +- - src/hb-ot-var.h | 2 +- - 3 files changed, 3 insertions(+), 3 deletions(-) - -commit 8f3ee17ae468950a34439785d2e6ac4182efb65c -Author: Behdad Esfahbod -Date: Tue Nov 20 01:38:23 2018 -0500 - - [travis] Update Coverity token - - .travis.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit f9552362986efd0973b2637d21b787edbc8479f2 -Author: Behdad Esfahbod -Date: Tue Nov 20 01:21:36 2018 -0500 - - Add codecov.io badge - - README | 13 +++++++------ - 1 file changed, 7 insertions(+), 6 deletions(-) - -commit 831ba74382e35f110006539f22bebce4d57c8502 -Author: Behdad Esfahbod -Date: Tue Nov 20 01:16:08 2018 -0500 - - Fix Codacy "issues" - - src/test-name-table.cc | 2 +- - src/test-ot-color.cc | 14 +++++++------- - test/api/test-buffer.c | 5 +++-- - test/api/test-object.c | 2 +- - test/api/test-ot-name.c | 2 +- - 5 files changed, 13 insertions(+), 12 deletions(-) - -commit c49e43c1ffee0e9664da6202ace493d932b725a1 -Author: Behdad Esfahbod -Date: Tue Nov 20 01:06:50 2018 -0500 - - [travis] Another push for codecov.io after setting token - - .travis.yml | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 96b24c5124a085b7601215360eed847ce5302699 -Author: Behdad Esfahbod -Date: Tue Nov 20 01:03:42 2018 -0500 - - [travis] Add codecov.io - - .travis.yml | 1 + - 1 file changed, 1 insertion(+) - -commit 3c7792ca326abfb989285f794d6ee71ad9f6bf89 -Author: David Corbett -Date: Sat Oct 20 15:02:26 2018 -0400 - - [use] Fix reordering - - Fixes #1235. - - src/hb-ot-shape-complex-use.cc | 48 ++++++++++++++------- - src/hb.hh | 2 + - .../4afb0e8b9a86bb9bd73a1247de4e33fbe3c1fd93.ttf | Bin 0 -> 1824 bytes - test/shaping/data/in-house/tests/use.tests | 3 ++ - 4 files changed, 38 insertions(+), 15 deletions(-) - -commit 587d49fc657c10c8a20f2409a04d72bf80bb361e -Author: Behdad Esfahbod -Date: Mon Nov 19 14:27:19 2018 -0500 - - [fvar] Add named-instance API - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1241 - - docs/harfbuzz-sections.txt | 4 ++++ - src/hb-ot-var-fvar-table.hh | 55 ++++++++++++++++++++++++++++++++++++++++++--- - src/hb-ot-var.cc | 33 +++++++++++++++++++++++++++ - src/hb-ot-var.h | 32 ++++++++++++++++++++++++++ - 4 files changed, 121 insertions(+), 3 deletions(-) - -commit 46c0da820fc313bad8afaf019d2cd9065fa5f514 -Author: Behdad Esfahbod -Date: Mon Nov 19 13:32:48 2018 -0500 - - Fix build - - src/hb-dsalgs.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 56c9238d3da8c034336cf80ba37e03e33c493718 -Author: Behdad Esfahbod -Date: Mon Nov 19 13:09:53 2018 -0500 - - [fvar] Rewrite sanitize - - src/hb-ot-var-fvar-table.hh | 8 +++----- - 1 file changed, 3 insertions(+), 5 deletions(-) - -commit 4a6a692e3ea4fab632a0162c6d513dc151054d8f -Author: Behdad Esfahbod -Date: Mon Nov 19 13:04:43 2018 -0500 - - [fvar] Use hb_array_t for axes - - src/hb-dsalgs.hh | 6 ++++++ - src/hb-ot-var-fvar-table.hh | 14 ++++---------- - 2 files changed, 10 insertions(+), 10 deletions(-) - -commit e0097396010c40cf62641cd12ceb12dd5d79c9c7 -Author: Behdad Esfahbod -Date: Mon Nov 19 12:53:53 2018 -0500 - - [fvar] Minor - - src/hb-ot-var-fvar-table.hh | 9 +++++---- - 1 file changed, 5 insertions(+), 4 deletions(-) - -commit 1a2eb108b857de9c5e84cc5de0c12c7657e04498 -Author: Behdad Esfahbod -Date: Mon Nov 19 12:36:56 2018 -0500 - - [ot-var] Add hb_ot_var_axis_get_flags() - - Part of https://github.com/harfbuzz/harfbuzz/issues/1241 - - New API: - +hb_ot_var_axis_flags_t - +hb_ot_var_axis_get_flags - - docs/harfbuzz-sections.txt | 2 ++ - src/hb-buffer.h | 2 ++ - src/hb-ot-var-fvar-table.hh | 9 +++++++++ - src/hb-ot-var.cc | 12 ++++++++++++ - src/hb-ot-var.h | 13 +++++++++++++ - 5 files changed, 38 insertions(+) - -commit bd6b2ba1d3910cc259db7abeb6c9bd7ed9494857 -Author: Behdad Esfahbod -Date: Mon Nov 19 11:34:56 2018 -0500 - - [ot-var] Add flags - - Unfortunate that we don't have room in hb_ot_var_axis_t to expose flags :(. - - src/hb-ot-var-fvar-table.hh | 9 +++++++-- - 1 file changed, 7 insertions(+), 2 deletions(-) - -commit c076c7b85ce4d069ae8b2b04143aca4c4f052ae9 -Author: Behdad Esfahbod -Date: Mon Nov 19 11:30:40 2018 -0500 - - [ot-var] Use hb_ot_name_id_t - - src/hb-ot-var.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 515f1a16140f78c9ec379854851f77a1b44af145 -Merge: a6da9b941 e3a1a8350 -Author: Michiharu Ariza -Date: Fri Nov 16 17:38:47 2018 -0800 - - Merge branch 'master' into cff-subset - -commit a6da9b9415bae43c58f12a8e43b77ba31dd432a6 -Author: Michiharu Ariza -Date: Fri Nov 16 17:29:03 2018 -0800 - - fixed Charset format selection - - src/hb-subset-cff1.cc | 9 ++++++--- - 1 file changed, 6 insertions(+), 3 deletions(-) - -commit e3a1a8350a6a7933b0a100194985f4425ab9de19 -Author: Behdad Esfahbod -Date: Fri Nov 16 16:53:25 2018 -0800 - - 2.1.3 - - NEWS | 6 ++++++ - configure.ac | 2 +- - src/hb-version.h | 4 ++-- - 3 files changed, 9 insertions(+), 3 deletions(-) - -commit 9714e114b88893bd962b1bcf36382bdacbc4866c -Author: Behdad Esfahbod -Date: Fri Nov 16 16:52:42 2018 -0800 - - Fix recent commits - - src/hb-open-type.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 0328a1ce41611ed981d41384ae5727479699f3a0 -Author: Behdad Esfahbod -Date: Fri Nov 16 16:48:28 2018 -0800 - - Revert b4c61130324455bfd42095b01fa14ac901e441f1 - - Was causing more trouble than it solved. We use unsigned for indexing, - and it's not helpful to allow that wrapping to negative integers on - 32bit machines. The only way we could work around it would have been - by accepting int64_t arg, but that's overkill. - - Ignore the MSVC 2008 build issue. We don't support that compiler. - - src/hb-open-type.hh | 17 ++++------------- - 1 file changed, 4 insertions(+), 13 deletions(-) - -commit 52f61cdb87b67ef42a25288d8624170d0b6d3a25 -Author: Behdad Esfahbod -Date: Fri Nov 16 16:41:59 2018 -0800 - - Detect over/under-flow in UnsizedArray::operator[] - - Was causing bad substitutions in mort table because of WordOffsetToIndex() - producing negative numbers that were cast to unsigned int and returned as - large numbers (which was desirable, so they would be rejected), but then - they were cast to int when passed to this operator and acting as small - negative integers, which was bad... - - Detect overflow. Ouch, however, now I see this still fails on 32-bit. - Guess I'm going to revert an earlier change. - - src/hb-open-type.hh | 21 ++++++++++++++++----- - 1 file changed, 16 insertions(+), 5 deletions(-) - -commit 6910ff03e66f5f4c9eb5592262d414ef7d91df04 -Author: Behdad Esfahbod -Date: Fri Nov 16 16:11:02 2018 -0800 - - [aat] Fix mort shaping - - Ouch! - - src/hb-aat-layout.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit fdb29ab2b0058c9813f9fc44c83dd9048db92d16 -Author: Behdad Esfahbod -Date: Fri Nov 16 15:38:11 2018 -0800 - - 2.1.2 - - NEWS | 13 ++++++++++++- - configure.ac | 2 +- - src/hb-version.h | 4 ++-- - 3 files changed, 15 insertions(+), 4 deletions(-) - -commit cff4c6087fdb667a40f54f20ca3c49251bf076de -Author: Behdad Esfahbod -Date: Fri Nov 16 15:04:41 2018 -0800 - - Fix vertical fallback space sign - - Ouch! - - Follow-up to cf203af8a33591c163b63dbdf0fd341bc4606190 - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1343 - - src/hb-ot-shape-fallback.cc | 8 ++++---- - test/shaping/data/in-house/tests/spaces.tests | 22 +++++++++++----------- - 2 files changed, 15 insertions(+), 15 deletions(-) - -commit 7a97f7074052a5d746af29f0743abd20682b09a2 -Author: Behdad Esfahbod -Date: Fri Nov 16 14:46:40 2018 -0800 - - Don't apply GPOS if applying morx - - That's what Apple does, and it wouldn't degrade our OpenType performance. - - Part of https://github.com/harfbuzz/harfbuzz/issues/1348 - - src/hb-ot-shape.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit eafd515639497098436ecf4c7b836e231bced323 -Author: Behdad Esfahbod -Date: Fri Nov 16 14:45:56 2018 -0800 - - Prefer morx table if GSUB is empty (no scripts) - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1348 - - src/hb-ot-shape.cc | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -commit aa06574823e27c4dbb378d2467a3e6f6f36af9fe -Author: Behdad Esfahbod -Date: Fri Nov 16 14:31:05 2018 -0800 - - Minor - - src/hb-aat-layout-trak-table.hh | 2 +- - src/hb-ot-layout-gdef-table.hh | 2 +- - src/hb-ot-layout-gsubgpos.hh | 2 +- - src/hb-ot-math-table.hh | 2 +- - src/hb-ot-var-fvar-table.hh | 2 +- - 5 files changed, 5 insertions(+), 5 deletions(-) - -commit b6903bd6c4b0c792c821e37a8e223088ae40e5fa -Author: Michiharu Ariza -Date: Fri Nov 16 13:46:58 2018 -0800 - - ensure fdmap initialized as identity for single-FD (non-CID) fonts - - src/hb-subset-cff1.cc | 13 ++++++++++--- - src/hb-subset-cff2.cc | 2 ++ - 2 files changed, 12 insertions(+), 3 deletions(-) - -commit b403be8ad98ffd2dbe95dad73e96c7ed1295d9fc -Merge: b67a7c731 50d1a41c0 -Author: Michiharu Ariza -Date: Fri Nov 16 12:29:18 2018 -0800 - - Merge branch 'master' into cff-subset - -commit b67a7c731f041323c19ab245f0285c304d9ae3d2 -Author: Michiharu Ariza -Date: Fri Nov 16 12:28:24 2018 -0800 - - drop dotsection as hint along with test case - - src/hb-subset-cff-common.hh | 4 ++++ - src/hb-subset-cff1.cc | 1 + - test/api/fonts/cff1_dotsect.nohints.otf | Bin 0 -> 3132 bytes - test/api/fonts/cff1_dotsect.otf | Bin 0 -> 3220 bytes - test/api/test-subset-cff1.c | 21 +++++++++++++++++++++ - 5 files changed, 26 insertions(+) - -commit 50d1a41c08ad3508a94240b52df03c383ae8f1f8 -Author: Behdad Esfahbod -Date: Fri Nov 16 08:52:57 2018 -0500 - - [coretext] Hopefully the last one - - src/hb-coretext.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 0aab861f9cda6fba5ce71562d9f087d924e8a161 -Author: Behdad Esfahbod -Date: Fri Nov 16 08:43:25 2018 -0500 - - [coretext] Another round - - src/hb-coretext.cc | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 0809b76a9a1d7bd53818df7e83a9c81e664dfe0e -Author: Behdad Esfahbod -Date: Fri Nov 16 08:29:47 2018 -0500 - - [coretext] One more try.. - - src/hb-coretext.cc | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -commit 78bd4475946f2d255539306e4b1115f408c54b54 -Author: Behdad Esfahbod -Date: Fri Nov 16 04:10:53 2018 -0500 - - [coretext] One more try - - src/hb-coretext.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit fd27a23c824bbbd4f4c7e75701cc5d287289704b -Author: Behdad Esfahbod -Date: Fri Nov 16 03:57:12 2018 -0500 - - [coretext] Another build fix attemt - - src/hb-coretext.cc | 3 --- - 1 file changed, 3 deletions(-) - -commit 729aedf0da90cbf11235a35588cfdc06ba87a784 -Author: Behdad Esfahbod -Date: Fri Nov 16 03:26:46 2018 -0500 - - [directwrite] Fix build - - src/hb-directwrite.cc | 2 -- - 1 file changed, 2 deletions(-) - -commit cfb9771a3b096006cbae98438f1ba101d222e0e4 -Author: Behdad Esfahbod -Date: Fri Nov 16 03:24:22 2018 -0500 - - [coretext] Try to fix - - src/hb-coretext.cc | 48 ++++++++++++++++++++++++++++++++++++++---------- - src/hb-machinery.hh | 15 +++++---------- - src/hb-shaper.hh | 44 -------------------------------------------- - 3 files changed, 43 insertions(+), 64 deletions(-) - -commit e3e9547365417e547beec84494c8bf6e4e2947fb -Author: Behdad Esfahbod -Date: Fri Nov 16 02:55:29 2018 -0500 - - [coretext] Unbreak build - - src/hb-coretext.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit ce5da0f36a2ece29c387810a060531df15ad6c7b -Author: Behdad Esfahbod -Date: Fri Nov 16 02:29:13 2018 -0500 - - [shaper] Rewrite shaper data code to be more template-driven than macro-driven - - src/hb-coretext.cc | 17 +++---- - src/hb-directwrite.cc | 9 +--- - src/hb-face.cc | 12 +---- - src/hb-face.hh | 13 ++---- - src/hb-fallback-shape.cc | 5 -- - src/hb-font.cc | 14 ++---- - src/hb-font.hh | 12 ++--- - src/hb-graphite2.cc | 11 ++--- - src/hb-machinery.hh | 14 ++---- - src/hb-ot-shape.cc | 5 -- - src/hb-shape-plan.cc | 4 +- - src/hb-shaper-impl.hh | 9 +--- - src/hb-shaper.hh | 117 ++++++++++++++++++++++++++++++++--------------- - src/hb-uniscribe.cc | 32 +++++-------- - 14 files changed, 127 insertions(+), 147 deletions(-) - -commit cb4bf85b14afb3761a85e3da130f2844ac94a49d -Author: Behdad Esfahbod -Date: Fri Nov 16 02:02:24 2018 -0500 - - [hdmx] Fix bounds checking - - Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=11351 - - src/hb-ot-hdmx-table.hh | 11 +++++------ - 1 file changed, 5 insertions(+), 6 deletions(-) - -commit af727b4e629f8b07d7afb809be69d053827f6a51 -Author: Behdad Esfahbod -Date: Fri Nov 16 01:55:39 2018 -0500 - - [hdmx] Minor - - src/hb-ot-hdmx-table.hh | 14 +++++++------- - 1 file changed, 7 insertions(+), 7 deletions(-) - -commit 9e9f16c92debecb4caf533fa112898dfec116d98 -Author: Behdad Esfahbod -Date: Fri Nov 16 01:48:26 2018 -0500 - - [subset] Remove invalid glyphs from glypset to retain - - Fixes https://github.com/harfbuzz/harfbuzz/pull/1388 - - src/hb-subset-plan.cc | 13 +++++++++++++ - 1 file changed, 13 insertions(+) - -commit 072c7aba92d3c92c84454a12578264f12439bb0d -Author: Michiharu Ariza -Date: Thu Nov 15 15:41:46 2018 -0800 - - use 2-byte offset instead of 4-byte for local subrs - - more than enough since local subrs immediately follow its corresponding private dict, as the result 2-byte redunction for each font dict with local subrs - updated api test expected subset fonts accordingly - - src/hb-subset-cff-common.hh | 4 ++-- - test/api/fonts/AdobeVFPrototype.abc.otf | Bin 7460 -> 7456 bytes - test/api/fonts/AdobeVFPrototype.ac.nohints.otf | Bin 6780 -> 6780 bytes - test/api/fonts/AdobeVFPrototype.ac.otf | Bin 6996 -> 6996 bytes - .../fonts/SourceHanSans-Regular.41,4C2E.nohints.otf | Bin 2380 -> 2376 bytes - test/api/fonts/SourceHanSans-Regular.41,4C2E.otf | Bin 2576 -> 2572 bytes - test/api/fonts/SourceSansPro-Regular.abc.otf | Bin 1812 -> 1808 bytes - test/api/fonts/SourceSansPro-Regular.ac.nohints.otf | Bin 1592 -> 1592 bytes - test/api/fonts/SourceSansPro-Regular.ac.otf | Bin 1708 -> 1704 bytes - test/api/fonts/cff1_seac.C0.otf | Bin 1604 -> 1600 bytes - 10 files changed, 2 insertions(+), 2 deletions(-) - -commit 9d0231cfe7c404da3b5bc360ad76180a7aded62c -Author: Michiharu Ariza -Date: Thu Nov 15 15:39:43 2018 -0800 - - fixed a subset bug when no font dicts reduce - - src/hb-ot-cff-common.hh | 11 +++++++++++ - src/hb-subset-cff-common.cc | 24 +++++++++++++----------- - src/hb-subset-cff1.cc | 27 ++++++--------------------- - src/hb-subset-cff2.cc | 25 +++++-------------------- - 4 files changed, 35 insertions(+), 52 deletions(-) - -commit 11aa0468ac2c62ff734ba6b0f6eb43d1bd6f602b -Author: Ebrahim Byagowi -Date: Thu Nov 15 23:10:56 2018 +0330 - - [subset] minor, adjust spaces - - src/hb-open-type.hh | 70 ++++++------ - src/hb-ot-cmap-table.hh | 182 +++++++++++++++---------------- - src/hb-ot-glyf-table.hh | 242 ++++++++++++++++++++--------------------- - src/hb-ot-hdmx-table.hh | 20 ++-- - src/hb-ot-hmtx-table.hh | 14 +-- - src/hb-ot-layout-common.hh | 77 ++++++------- - src/hb-ot-layout-gpos-table.hh | 16 +-- - src/hb-ot-layout-gsub-table.hh | 4 +- - src/hb-ot-layout-gsubgpos.hh | 88 +++++++-------- - src/hb-ot-os2-table.hh | 24 ++-- - src/hb-ot-post-table.hh | 26 ++--- - src/hb-subset-glyf.cc | 182 +++++++++++++++---------------- - src/hb-subset-glyf.hh | 6 +- - src/hb-subset-input.cc | 4 +- - src/hb-subset-plan.cc | 32 +++--- - src/hb-subset-plan.hh | 12 +- - src/hb-subset.cc | 46 ++++---- - src/hb-subset.h | 7 +- - util/hb-subset.cc | 2 +- - 19 files changed, 510 insertions(+), 544 deletions(-) - -commit d7c50ff0d65192fd2b7b80704e227fa108c06de3 -Author: Ebrahim Byagowi -Date: Thu Nov 15 23:10:49 2018 +0330 - - [math] minor, adjust spaces - - src/hb-ot-math-table.hh | 28 ++++++++++++++-------------- - 1 file changed, 14 insertions(+), 14 deletions(-) - -commit 13735570f051c4131cdc481939799d76c38c758b -Author: Michiharu Ariza -Date: Thu Nov 15 12:10:23 2018 -0800 - - reject nested seac - - src/hb-cff1-interp-cs.hh | 4 ++++ - src/hb-ot-cff1-table.cc | 11 ++++++----- - 2 files changed, 10 insertions(+), 5 deletions(-) - -commit c37aecd41c5b55e5ef496f3c4cc255a1e2ce7f9f -Merge: ecdb77f0a cabe433fb -Author: Michiharu Ariza -Date: Thu Nov 15 11:03:46 2018 -0800 - - Merge branch 'master' into cff-subset - -commit ecdb77f0ae1ef9b129cf9195dbdaa9f6c4425ed5 -Author: Michiharu Ariza -Date: Thu Nov 15 10:54:15 2018 -0800 - - fixed CFF1 subset of std encoding & non-std charset combo - - src/hb-ot-cff-common.hh | 2 -- - src/hb-ot-cff1-table.hh | 2 ++ - src/hb-subset-cff1.cc | 5 +++-- - 3 files changed, 5 insertions(+), 4 deletions(-) - -commit cabe433fbb81d314ad9e3cbed768dd13983a4477 -Author: Behdad Esfahbod -Date: Thu Nov 15 02:48:50 2018 -0500 - - [base] Add TODO items - - src/hb-ot-layout-base-table.hh | 9 ++++++--- - 1 file changed, 6 insertions(+), 3 deletions(-) - -commit 3bf1ce748fa89316dd32de28bfdc636495e657fb -Author: Behdad Esfahbod -Date: Wed Nov 14 21:08:54 2018 -0500 - - [shaper] Rename - - src/hb-shape-plan.cc | 2 +- - src/hb-shape.cc | 2 +- - src/hb-shaper.cc | 16 ++++++++-------- - src/hb-shaper.hh | 4 ++-- - 4 files changed, 12 insertions(+), 12 deletions(-) - -commit c221dc0ba70fd4af94d8f735a9cef1ab92cc6ede -Author: Behdad Esfahbod -Date: Wed Nov 14 14:49:34 2018 -0500 - - [ot-shape] Move code around - - src/hb-aat-layout-common.hh | 4 ++-- - src/hb-aat-layout.cc | 8 ++++---- - src/hb-aat-layout.hh | 6 +++--- - src/hb-ot-layout.cc | 2 +- - src/hb-ot-layout.hh | 2 +- - src/hb-ot-shape.cc | 44 +++++++++++++++++++++++++++++--------------- - src/hb-ot-shape.hh | 6 +++--- - 7 files changed, 43 insertions(+), 29 deletions(-) - -commit 892ab37e7c9580e35b35a4d82a99e2ea73ac7b0b -Merge: 3787c0785 7867c2bad -Author: Michiharu Ariza -Date: Wed Nov 14 13:54:07 2018 -0800 - - Merge branch 'master' into cff-subset - -commit 3787c078561f1157bd04644f092c4467f63c717c -Author: Michiharu Ariza -Date: Wed Nov 14 13:38:03 2018 -0800 - - Implemented seac for extents & subset along with API tests - - gtk-doc.make | 321 +++++++++++++++++++++++++++++++++++++++- - src/hb-cff-interp-common.hh | 2 +- - src/hb-cff-interp-cs-common.hh | 7 + - src/hb-cff1-interp-cs.hh | 29 +++- - src/hb-ot-cff1-table.cc | 256 +++++++++++++++++++++++++------- - src/hb-ot-cff1-table.hh | 88 ++++++++--- - src/hb-subset-plan.cc | 19 +++ - test/api/fonts/cff1_seac.C0.otf | Bin 0 -> 1604 bytes - test/api/fonts/cff1_seac.otf | Bin 0 -> 2260 bytes - test/api/test-ot-extents-cff.c | 31 ++++ - test/api/test-subset-cff1.c | 19 +++ - 11 files changed, 699 insertions(+), 73 deletions(-) - -commit 7867c2bad05fe48f9e4a1b776fb7da67b747fb4e -Author: Ebrahim Byagowi -Date: Wed Nov 14 22:13:50 2018 +0330 - - [STAT] Add table parsing (#1384) - - src/Makefile.sources | 1 + - src/hb-ot-face.hh | 2 + - src/hb-ot-font.cc | 4 +- - src/hb-ot-hmtx-table.hh | 11 +- - src/hb-ot-stat-table.hh | 280 ++++++++++++++++++++++++++++++++++++++++++++++++ - 5 files changed, 290 insertions(+), 8 deletions(-) - -commit 48d16c2ab2b181c733accd4fd9730963e59b6323 -Author: Behdad Esfahbod -Date: Wed Nov 14 09:56:30 2018 -0500 - - [hmtx] Fix signedness issue - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1248#issuecomment-438689499 - - src/hb-ot-hmtx-table.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 29db2a44a6b7a28ade5e288779dbf5a200b43acd -Author: Ebrahim Byagowi -Date: Wed Nov 14 12:13:16 2018 +0330 - - [ot-color/svg] Note that it can be gzipped - - src/hb-ot-color.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit a9c27d576ffe4452d1a3dae73964a8f4d6dcc088 -Merge: 3c3eb5ea9 e543e1a08 -Author: Ebrahim Byagowi -Date: Wed Nov 14 08:29:17 2018 +0330 - - Merge pull request #1383 from punchcutter/master - - Add test for https://github.com/harfbuzz/harfbuzz/issues/1379 - -commit e543e1a0858bb5d7384d82600a789d40b62d9821 -Author: punchcutter -Date: Tue Nov 13 20:44:27 2018 -0800 - - Add Grantha test - - .../fonts/dcf774ca21062e7439f98658b18974ea8b956d0c.ttf | Bin 0 -> 2568 bytes - test/shaping/data/in-house/tests/use.tests | 1 + - 2 files changed, 1 insertion(+) - -commit 3c3eb5ea9ccf34d33e94f83b9961b3a5e903d196 -Author: Behdad Esfahbod -Date: Tue Nov 13 21:10:10 2018 -0500 - - [aat] Disable fallback mark advance zeroing and positioning if morx applied - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1357 - - src/hb-ot-shape.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit dc4225ccd1d16a1139cbc6092353db9ed03e8980 -Author: Behdad Esfahbod -Date: Tue Nov 13 20:48:46 2018 -0500 - - Don't retry creating again and again in lazy_loader if create failed - - Still does that if get_null() returns nullptr. Our shaper data objects - are like that. Shrug. - - src/hb-machinery.hh | 14 ++++++++++---- - 1 file changed, 10 insertions(+), 4 deletions(-) - -commit 086235f59310ed77542d4916d31a4285c68630ff -Merge: 2092f595c c565fc3fb -Author: Behdad Esfahbod -Date: Tue Nov 13 19:50:25 2018 -0500 - - Merge pull request #1382 from punchcutter/master - - Change USE Category for Grantha Virama - -commit 2092f595c7a4c591cace41cb99d31620fa6d5fa4 -Merge: 475be9d5c eee5b5ed0 -Author: Behdad Esfahbod -Date: Tue Nov 13 19:49:06 2018 -0500 - - Merge pull request #1380 from kbrow1i/cygwin - - Don't use Win32 API on Cygwin - -commit c565fc3fb3b14c02e30af28b9d4d4289b0d2e162 -Author: punchcutter -Date: Tue Nov 13 12:51:10 2018 -0800 - - Change USE Category for Grantha Virama - https://github.com/harfbuzz/harfbuzz/issues/1379 - - src/gen-use-table.py | 3 ++- - src/hb-ot-shape-complex-use-table.cc | 2 +- - 2 files changed, 3 insertions(+), 2 deletions(-) - -commit 475be9d5c672db6e1764d9425ed7fdaa0dff35c9 -Author: Behdad Esfahbod -Date: Tue Nov 13 13:01:13 2018 -0500 - - Fix Windows build - - src/hb-atomic.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit fc44dea341f1750fec801faed66656b8a58dcded -Author: Behdad Esfahbod -Date: Tue Nov 13 11:54:33 2018 -0500 - - Use atomic ints for upem and num_glyphs on face - - src/hb-aat-layout-lcar-table.hh | 3 ++- - src/hb-face.cc | 10 +++++----- - src/hb-face.hh | 24 ++++++++++++++---------- - src/hb-ot-color-sbix-table.hh | 2 +- - src/hb-static.cc | 13 +++++++++---- - 5 files changed, 31 insertions(+), 21 deletions(-) - -commit 9579ed9755d7c3e47435c55881c9841a5f60ad7e -Author: Behdad Esfahbod -Date: Tue Nov 13 11:45:12 2018 -0500 - - Make atomic types' internal values non-mutable - - This resulted from confusion previously... - - src/hb-atomic.hh | 10 +++++----- - src/hb-object.hh | 2 +- - 2 files changed, 6 insertions(+), 6 deletions(-) - -commit c52d5bcd9405dbaa9289d720d9f0853aeac6b244 -Author: Behdad Esfahbod -Date: Tue Nov 13 11:41:29 2018 -0500 - - [ot-face] Add 'head' table - - src/hb-ot-face.hh | 1 + - src/hb-ot-glyf-table.hh | 11 +++-------- - src/hb-static.cc | 5 +---- - 3 files changed, 5 insertions(+), 12 deletions(-) - -commit eee5b5ed04f588f618a2251397dd5b850c378627 -Author: Ken Brown -Date: Mon Nov 12 21:05:39 2018 -0500 - - Don't use Win32 API on Cygwin - - Cygwin is a Posix platform to the extent possible. It should use the - Posix API except in special circumstances. - - src/hb-atomic.hh | 2 +- - src/hb-blob.cc | 10 +++++----- - src/hb-mutex.hh | 2 +- - src/hb-ot-shape-complex-arabic-fallback.hh | 2 +- - src/hb.hh | 2 +- - 5 files changed, 9 insertions(+), 9 deletions(-) - -commit 56f541d0001f6d7e2e35cdd15217bdf52ebf8391 -Author: Behdad Esfahbod -Date: Mon Nov 12 19:46:37 2018 -0500 - - [shape-plan] Remove unused code - - src/hb-shape-plan.hh | 12 +----------- - 1 file changed, 1 insertion(+), 11 deletions(-) - -commit 6c22f3fd95617a8c3cd558858c6758a0d548d370 -Author: Behdad Esfahbod -Date: Mon Nov 12 19:26:01 2018 -0500 - - [shape-plan] Implement fine-grained caching plans with user-features - - Only tag, value, and global-ness of features are considered, not their - start/end offsets. - - src/hb-shape-plan.cc | 69 ++++++++++++++++++++++++++++++---------------------- - src/hb-shape-plan.hh | 17 ++----------- - 2 files changed, 42 insertions(+), 44 deletions(-) - -commit cc8428756a1b18b0445c2c5fbb38e05453693dad -Author: Behdad Esfahbod -Date: Mon Nov 12 18:48:10 2018 -0500 - - [shape-plan] Cache shape plans with variations based on variation indices - - src/hb-aat-map.cc | 4 +--- - src/hb-aat-map.hh | 4 +--- - src/hb-ot-map.cc | 18 +++++------------ - src/hb-ot-map.hh | 6 +++--- - src/hb-ot-shape.cc | 13 +++++-------- - src/hb-ot-shape.hh | 28 +++++++++++++++++++++++--- - src/hb-shape-plan.cc | 55 ++++------------------------------------------------ - src/hb-shape-plan.hh | 23 ++++++++++++++++++---- - 8 files changed, 63 insertions(+), 88 deletions(-) - -commit 8284cb9fb3600268e06d8a2ba8400700510de7a5 -Author: Behdad Esfahbod -Date: Mon Nov 12 18:18:20 2018 -0500 - - [shape-plan] Refactor more - - src/hb-shape-plan.cc | 46 ++++++++++++++++++++++++++-------------------- - 1 file changed, 26 insertions(+), 20 deletions(-) - -commit 1082338525c96206f43785e283e41b3e959871fd -Author: Behdad Esfahbod -Date: Mon Nov 12 18:05:02 2018 -0500 - - [shape-plan] Only use shape-plan key to initialize hb_ot_shape_plan_t - - Such that we don't accidentally use info not in the cache key. - - src/hb-ot-shape.cc | 25 +++++++++++-------------- - src/hb-ot-shape.hh | 8 +++----- - src/hb-shape-plan.cc | 7 +------ - 3 files changed, 15 insertions(+), 25 deletions(-) - -commit 7ac03f88a22325fb4d6b77ee7694ad11f6a99bcb -Author: Behdad Esfahbod -Date: Mon Nov 12 17:50:30 2018 -0500 - - [shape-plan] Minor - - src/hb-shape-plan.cc | 32 ++++++++++++++++---------------- - 1 file changed, 16 insertions(+), 16 deletions(-) - -commit c7be933439af1bc8251b2b19df75b42bd0f3bdb5 -Author: Behdad Esfahbod -Date: Mon Nov 12 17:49:15 2018 -0500 - - [shape-plan] Refactor some more - - src/hb-shape-plan.cc | 147 ++++++++++++++++++++++++++++----------------------- - src/hb-shape-plan.hh | 15 ++++++ - 2 files changed, 95 insertions(+), 67 deletions(-) - -commit fc27777833e052dab91ca5777802e6c4e956deb4 -Author: Behdad Esfahbod -Date: Mon Nov 12 17:27:34 2018 -0500 - - [shape-plan] Refactor more - - src/hb-shape-plan.cc | 44 +++++++++++++++++++++++--------------------- - 1 file changed, 23 insertions(+), 21 deletions(-) - -commit 566612295b7c9bc003e9f1723f2491113724b788 -Author: Behdad Esfahbod -Date: Mon Nov 12 17:19:45 2018 -0500 - - [shape-plan] Turn hb_shape_plan_proposal_t into hb_shape_plan_key_t - - And include it in hb_shape_plan_t itself. - - src/hb-shape-plan.cc | 206 +++++++++++++++++++-------------------------------- - src/hb-shape-plan.hh | 27 +++---- - 2 files changed, 92 insertions(+), 141 deletions(-) - -commit af123bd1b814b4fb881ea3d11f1ef0bcced75942 -Author: Behdad Esfahbod -Date: Mon Nov 12 16:27:08 2018 -0500 - - Add hb_memcmp() - - src/hb-dsalgs.hh | 17 ++++++++++++----- - src/hb-set.hh | 2 +- - 2 files changed, 13 insertions(+), 6 deletions(-) - -commit 65456bff37ef61094c35574a35c96f6437fd6015 -Author: Behdad Esfahbod -Date: Mon Nov 12 16:15:26 2018 -0500 - - [shape-plan] Minor - - src/hb-shape-plan.cc | 15 ++++++++------- - src/hb-shape-plan.hh | 9 +++++---- - 2 files changed, 13 insertions(+), 11 deletions(-) - -commit 1db672a5e903de39f955e70b8814c275ccbe1b5c -Author: Behdad Esfahbod -Date: Mon Nov 12 16:05:09 2018 -0500 - - [shaper] Rename - - src/hb-shape-plan.cc | 2 +- - src/hb-shape.cc | 2 +- - src/hb-shaper.cc | 16 ++++++++-------- - src/hb-shaper.hh | 4 ++-- - 4 files changed, 12 insertions(+), 12 deletions(-) - -commit 5212cd8af2171b9d0e9b78196e7758c37f148b80 -Author: Behdad Esfahbod -Date: Mon Nov 12 14:25:18 2018 -0500 - - [fuzzing] Add new test - - ...zz-testcase-minimized-hb-shape-fuzzer-5754863779053568 | Bin 0 -> 100 bytes - 1 file changed, 0 insertions(+), 0 deletions(-) - -commit 274f4c726f461f49f54a79557d63bf95d22903cf -Author: Behdad Esfahbod -Date: Mon Nov 12 14:24:36 2018 -0500 - - Rename check_array2() to check_array() - - src/hb-aat-layout-kerx-table.hh | 2 +- - src/hb-machinery.hh | 8 ++++---- - 2 files changed, 5 insertions(+), 5 deletions(-) - -commit e014405a214bceff3a1ce80f0b98273c44078e82 -Author: Behdad Esfahbod -Date: Mon Nov 12 14:23:31 2018 -0500 - - Rename check_array(array, a, b) to check_range() - - src/hb-aat-layout-common.hh | 8 ++++++-- - src/hb-machinery.hh | 31 +++++++++++++++++++++++-------- - src/hb-open-type.hh | 4 +++- - src/hb-ot-layout-common.hh | 5 +++-- - src/hb-ot-layout-gpos-table.hh | 11 ++++++++--- - src/hb-ot-var-hvar-table.hh | 4 +++- - src/hb-ot-var-mvar-table.hh | 4 +++- - 7 files changed, 49 insertions(+), 18 deletions(-) - -commit c8f4cc49272d8bcd47706a6306a625d724349f5a -Author: Behdad Esfahbod -Date: Mon Nov 12 14:11:29 2018 -0500 - - [kerx] Fix integer overflow in multiply - - Fixes https://oss-fuzz.com/v2/testcase-detail/5754863779053568 - - src/hb-aat-layout-kerx-table.hh | 2 +- - src/hb-machinery.hh | 29 ++++++++++++++++------------- - 2 files changed, 17 insertions(+), 14 deletions(-) - -commit 1300f027a938d8898cdc9abbcad71afadf70e6e6 -Author: Behdad Esfahbod -Date: Mon Nov 12 13:56:48 2018 -0500 - - [kerx] Minor tweak on previous commit - - src/hb-aat-layout-kerx-table.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit d6666b3866037c9d3e8a497958af9ba8d2f47a73 -Author: Behdad Esfahbod -Date: Mon Nov 12 13:21:14 2018 -0500 - - [fuzzing] Remove limited-edition build of libraries - - Use normal, production, shared libraries. - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1237 - - src/Makefile.am | 31 ------------------------------- - test/fuzzing/Makefile.am | 39 +++++++++++++-------------------------- - 2 files changed, 13 insertions(+), 57 deletions(-) - -commit a549aa14a0b60436a16f7f8924a5b5f82b4d5b7e -Author: Behdad Esfahbod -Date: Mon Nov 12 13:01:22 2018 -0500 - - [kerx] Protect against stack underflow - - Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=11367 - - src/hb-aat-layout-kerx-table.hh | 2 +- - ...uzz-testcase-minimized-hb-shape-fuzzer-5691469793329152 | Bin 0 -> 69 bytes - 2 files changed, 1 insertion(+), 1 deletion(-) - -commit 41a8bc7fd9399def8f580b02627a77f3972cc0e9 -Merge: 0dfa584cb 77bd0a645 -Author: Michiharu Ariza -Date: Mon Nov 12 08:49:00 2018 -0800 - - Merge branch 'master' into cff-subset - -commit 0dfa584cb4af6be2852d038e9bd591f67ea9fc6e -Author: Michiharu Ariza -Date: Mon Nov 12 08:47:07 2018 -0800 - - changed Adobe company name - - src/hb-cff-interp-common.hh | 2 +- - src/hb-cff-interp-cs-common.hh | 2 +- - src/hb-cff-interp-dict-common.hh | 2 +- - src/hb-cff1-interp-cs.hh | 2 +- - src/hb-cff2-interp-cs.hh | 2 +- - src/hb-ot-cff-common.hh | 2 +- - src/hb-ot-cff1-table.cc | 2 +- - src/hb-ot-cff1-table.hh | 2 +- - src/hb-ot-cff2-table.cc | 2 +- - src/hb-ot-cff2-table.hh | 2 +- - src/hb-ot-vorg-table.hh | 2 +- - src/hb-subset-cff-common.cc | 2 +- - src/hb-subset-cff-common.hh | 2 +- - src/hb-subset-cff1.cc | 2 +- - src/hb-subset-cff1.hh | 2 +- - src/hb-subset-cff2.cc | 2 +- - src/hb-subset-cff2.hh | 2 +- - test/api/test-ot-extents-cff.c | 2 +- - test/api/test-subset-cff1.c | 2 +- - test/api/test-subset-cff2.c | 2 +- - 20 files changed, 20 insertions(+), 20 deletions(-) - -commit 3e284e02c2a5da758526360a45364a330b8ab8e9 -Author: Behdad Esfahbod -Date: Sun Nov 11 22:51:34 2018 -0500 - - [shape-plan] Minor - - src/hb-ot-shape.cc | 26 ++++++++++++++------------ - src/hb-ot-shape.hh | 15 ++++++++------- - src/hb-shape-plan.cc | 3 ++- - 3 files changed, 24 insertions(+), 20 deletions(-) - -commit 420c9de6447cdb491184e7f8caf0811b0c962c05 -Author: Behdad Esfahbod -Date: Sun Nov 11 22:38:05 2018 -0500 - - [shape-plan] Minor rename - - src/hb-shape-plan.cc | 22 +++++++++++----------- - 1 file changed, 11 insertions(+), 11 deletions(-) - -commit 77bd0a6458a9169df59f6be667a8eb79bd353dc9 -Author: Behdad Esfahbod -Date: Sun Nov 11 22:08:48 2018 -0500 - - Add variation coords to shape_plan proposal - - This is the root cause of bug worked around in 19e77e01bc13f44138e1d50533327d314dd0a018. - - Still no shape plan caching for variations though. - - src/hb-shape-plan.cc | 2 ++ - 1 file changed, 2 insertions(+) - -commit 9c767d075d0be85227b8dc146061de9bd24f3fec -Author: Behdad Esfahbod -Date: Sun Nov 11 22:03:15 2018 -0500 - - Minor - - src/hb-shape-plan.cc | 31 +++++++++++++------------------ - 1 file changed, 13 insertions(+), 18 deletions(-) - -commit f521a28b4aad1566664cf14d70a911728ee0b962 -Author: Behdad Esfahbod -Date: Sun Nov 11 21:32:01 2018 -0500 - - Embed hb_ot_shape_plan_t into hb_shape_plan_t - - No other shaper will need shape_plan_data, by definition. So, remove - abstraction layer and always create hb_ot_shape_plan_t as part of - hb_shape_plan_t. - - src/hb-coretext.cc | 45 ---------------------- - src/hb-directwrite.cc | 21 ---------- - src/hb-fallback-shape.cc | 22 ----------- - src/hb-graphite2.cc | 22 ----------- - src/hb-ot-shape.cc | 99 ++++++++++++++++++++++-------------------------- - src/hb-ot-shape.hh | 21 +++++----- - src/hb-shape-plan.cc | 22 ++++++----- - src/hb-shape-plan.hh | 3 +- - src/hb-uniscribe.cc | 22 ----------- - 9 files changed, 70 insertions(+), 207 deletions(-) - -commit fabb01210433ce1c6d5f630bc270f82a8a4a4014 -Author: Behdad Esfahbod -Date: Sun Nov 11 17:10:23 2018 -0500 - - Remove wrong comment - - src/hb-shape-plan.cc | 1 - - 1 file changed, 1 deletion(-) - -commit 1fd183ee1c40e2eedf86b5e82d1b547c5650ebf5 -Author: Behdad Esfahbod -Date: Sun Nov 11 16:47:52 2018 -0500 - - Finish off eecccc919ce15f60ae7ef9da5cfb311b4aa05c63 - - src/hb-machinery.hh | 5 +---- - 1 file changed, 1 insertion(+), 4 deletions(-) - -commit 1beacdded9cd1e4467b52244cdfd8497516eb107 -Author: Behdad Esfahbod -Date: Sun Nov 11 16:35:28 2018 -0500 - - Minor - - src/hb-coretext.cc | 8 ++++---- - src/hb-directwrite.cc | 4 ++-- - src/hb-fallback-shape.cc | 4 ++-- - src/hb-graphite2.cc | 4 ++-- - src/hb-ot-shape.cc | 4 ++-- - src/hb-shaper.hh | 3 ++- - src/hb-uniscribe.cc | 4 ++-- - 7 files changed, 16 insertions(+), 15 deletions(-) - -commit e88d47b7f2f9aee5b0b3cdc0b8f708884175a71f -Author: Behdad Esfahbod -Date: Sun Nov 11 16:25:43 2018 -0500 - - Minor - - src/hb-face.cc | 2 +- - src/hb-face.hh | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit 55c66c7c56c1ecd493f51fe66fd434b28addfb41 -Author: Behdad Esfahbod -Date: Sun Nov 11 16:09:38 2018 -0500 - - Revert "Declare Null() constexpr" - - This reverts commit 442a72d95ab1fb3a47b486d8d1eb68e909d0ffb8. - - Doesn't make sense. No idea how my local compilers where happy with it! - - src/hb-null.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 98c6f03ccdd0630282ea0b166f66dcfb2a9c1f51 -Author: Behdad Esfahbod -Date: Sun Nov 11 15:54:20 2018 -0500 - - Minor - - src/hb-face.cc | 1 - - 1 file changed, 1 deletion(-) - -commit 442a72d95ab1fb3a47b486d8d1eb68e909d0ffb8 -Author: Behdad Esfahbod -Date: Sun Nov 11 15:51:23 2018 -0500 - - Declare Null() constexpr - - src/hb-null.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit eecccc919ce15f60ae7ef9da5cfb311b4aa05c63 -Author: Behdad Esfahbod -Date: Sun Nov 11 15:48:47 2018 -0500 - - Don't store to null object - - Ouch :). - - src/hb-machinery.hh | 9 ++++----- - 1 file changed, 4 insertions(+), 5 deletions(-) - -commit 903856ab505cbc6b756d7b904650df72e90f67a7 -Author: Behdad Esfahbod -Date: Sun Nov 11 15:45:58 2018 -0500 - - Remove unused function - - src/hb-machinery.hh | 5 ----- - 1 file changed, 5 deletions(-) - -commit 0e0af11c62c6a55248a5d3c8868da91ef36384c5 -Author: Behdad Esfahbod -Date: Sun Nov 11 12:54:16 2018 -0500 - - [hdmx] Renames - - src/hb-ot-hdmx-table.hh | 46 +++++++++++++++++++++++----------------------- - 1 file changed, 23 insertions(+), 23 deletions(-) - -commit da6aa3b0333de3f2169a5cfcb33374e1b2fe346e -Author: Behdad Esfahbod -Date: Sun Nov 11 11:40:57 2018 -0500 - - Add hb_blob_ptr_t.destroy() - - src/hb-blob.hh | 1 + - src/hb-ot-cmap-table.hh | 2 +- - src/hb-ot-color-cbdt-table.hh | 4 ++-- - src/hb-ot-color-sbix-table.hh | 2 +- - src/hb-ot-color-svg-table.hh | 2 +- - src/hb-ot-glyf-table.hh | 4 ++-- - src/hb-ot-hmtx-table.hh | 6 +++--- - src/hb-ot-layout-gdef-table.hh | 2 +- - src/hb-ot-layout-gsubgpos.hh | 2 +- - src/hb-ot-name-table.hh | 2 +- - src/hb-ot-post-table.hh | 2 +- - 11 files changed, 15 insertions(+), 14 deletions(-) - -commit bb9abb4efd7d72198ffe8abb137ccf07ae17743e -Author: Behdad Esfahbod -Date: Sun Nov 11 00:39:52 2018 -0500 - - [hmtx/port] Use hb_blob_ptr_t - - src/hb-ot-hmtx-table.hh | 24 ++++++++++-------------- - src/hb-ot-post-table.hh | 11 +++++------ - 2 files changed, 15 insertions(+), 20 deletions(-) - -commit 0e2680a6e8d16afd38ffdb6e8cf244150a5e3837 -Author: Behdad Esfahbod -Date: Sun Nov 11 00:28:47 2018 -0500 - - [cmap] Port to hb_blob_ptr_t - - Although didn't need it... - - src/hb-ot-cmap-table.hh | 7 +++---- - 1 file changed, 3 insertions(+), 4 deletions(-) - -commit 0b0fad3ea8888d57d1e077077f5897d1901c5371 -Author: Behdad Esfahbod -Date: Sun Nov 11 00:26:55 2018 -0500 - - [color] Port to hb_blob_ptr_t - - Fix hb_blob_ptr_t::get_length () as well. - - src/hb-blob.hh | 2 +- - src/hb-ot-color-cbdt-table.hh | 38 +++++++++++++------------------------- - src/hb-ot-color-sbix-table.hh | 10 ++++------ - src/hb-ot-color-svg-table.hh | 11 +++++------ - src/hb-ot-glyf-table.hh | 22 ++++++++-------------- - 5 files changed, 31 insertions(+), 52 deletions(-) - -commit 925b7a214f06b83b6f2278052656dabc4ebdd6b7 -Author: Behdad Esfahbod -Date: Sun Nov 11 00:17:30 2018 -0500 - - Comment - - src/hb-font.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit dcb63868333ba8e229fd8756377151440dd9fd23 -Author: Behdad Esfahbod -Date: Sun Nov 11 00:16:17 2018 -0500 - - [shape-plan] Remove use of custom null object - - src/hb-shape-plan.cc | 24 ------------------------ - src/hb-shape-plan.hh | 1 - - 2 files changed, 25 deletions(-) - -commit 109891d49876de4de14a91adefbdf681c2b9acc2 -Author: Behdad Esfahbod -Date: Sun Nov 11 00:15:08 2018 -0500 - - [shape-plan] Make null object all zeros - - To remove custom null object next.. - - src/hb-shape-plan.cc | 8 ++++---- - src/hb-shape-plan.hh | 2 +- - 2 files changed, 5 insertions(+), 5 deletions(-) - -commit 34185ff3bc7ece5620145fc05da07c79da950f34 -Author: Behdad Esfahbod -Date: Sun Nov 11 00:12:30 2018 -0500 - - [blob] Use default null object - - src/hb-blob.cc | 12 ------------ - src/hb-blob.hh | 1 - - 2 files changed, 13 deletions(-) - -commit 2ee1d9f555fba60342bab63294a6dacca10466de -Author: Behdad Esfahbod -Date: Sun Nov 11 00:11:28 2018 -0500 - - [blob] Change null object memory mode to DUPLICATE - - We never rely on that being equal to readonly. Just not being - writable. Maybe not even that given that the object is inert. - - In prep for next commit, using default null pool. - - src/hb-blob.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 5d0078a48b246e713817e5bb6b4efada9618bea3 -Author: Behdad Esfahbod -Date: Sat Nov 10 23:52:15 2018 -0500 - - Add hb_blob_ptr_t - - Use in a couple of places. Push to bots to see how many unhappy before - I convert the rest. - - src/hb-blob.hh | 23 +++++++++++++++++++++++ - src/hb-ot-layout-gdef-table.hh | 5 ++--- - src/hb-ot-layout-gsubgpos.hh | 8 +++----- - src/hb-ot-layout.cc | 14 ++++++-------- - src/hb-ot-name-table.hh | 12 +++++------- - 5 files changed, 39 insertions(+), 23 deletions(-) - -commit e44046ec499949884b9b77c4c9937ad381386850 -Author: Behdad Esfahbod -Date: Sat Nov 10 22:41:35 2018 -0500 - - Minor - - src/hb-ot-layout.cc | 5 ++--- - 1 file changed, 2 insertions(+), 3 deletions(-) - -commit 752bd8a192af209f44dacaf1d3510d0bfc6354b8 -Author: Behdad Esfahbod -Date: Sat Nov 10 21:13:13 2018 -0500 - - [kerx] Fix Format1 tupleKern sanitization - - Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=11312 - Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=11305 - - src/hb-aat-layout-kerx-table.hh | 6 +++--- - ...uzz-testcase-minimized-hb-shape-fuzzer-5629524117553152 | Bin 0 -> 93 bytes - 2 files changed, 3 insertions(+), 3 deletions(-) - -commit f9e0552debc45afedd86c848484bcd169af62dc2 -Author: Behdad Esfahbod -Date: Sat Nov 10 21:01:49 2018 -0500 - - [fuzzing] Make "make lib" faster and more usable - - src/Makefile.am | 2 +- - test/fuzzing/Makefile.am | 12 +++++++----- - 2 files changed, 8 insertions(+), 6 deletions(-) - -commit 4674655841bb810e7b68f03431d7b5a7c34c6f20 -Author: Behdad Esfahbod -Date: Sat Nov 10 20:11:10 2018 -0500 - - Minor - - src/hb-ot-shape-complex-arabic-fallback.hh | 3 +++ - 1 file changed, 3 insertions(+) - -commit a953b647507fe2ae8f5187fbfb04e69d2a2952e4 -Author: Behdad Esfahbod -Date: Sat Nov 10 20:10:03 2018 -0500 - - Revert parts of previous commit that made clang unhappy - - src/hb-machinery.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 1d66cdcf770e45d995a318592352e4349faecb71 -Author: Behdad Esfahbod -Date: Sat Nov 10 19:54:08 2018 -0500 - - Better fix for MSVC 2008 - - Follow up on b4c61130324455bfd42095b01fa14ac901e441f1 - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1374 - - src/hb-machinery.hh | 8 ++++---- - src/hb-open-type.hh | 8 ++++++++ - src/hb-ot-cmap-table.hh | 4 ++-- - src/hb-ot-layout-gpos-table.hh | 4 ++-- - src/hb-ot-var-avar-table.hh | 9 ++++----- - 5 files changed, 20 insertions(+), 13 deletions(-) - -commit fb2a037f54f3cd323a447925f6534eccd1c709c1 -Merge: 879841658 b4c611303 -Author: Michiharu Ariza -Date: Sat Nov 10 16:23:11 2018 -0800 - - Merge branch 'master' into cff-subset - -commit b4c61130324455bfd42095b01fa14ac901e441f1 -Author: Behdad Esfahbod -Date: Sat Nov 10 16:35:39 2018 -0500 - - Try fixing MSVC 2008 build - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1374 - - src/hb-open-type.hh | 12 ++++++++++-- - 1 file changed, 10 insertions(+), 2 deletions(-) - -commit f2e942f3023e3c5cb3e732ee7b4782b3df170a85 -Author: Behdad Esfahbod -Date: Sat Nov 10 16:11:14 2018 -0500 - - Fix hb_bytes_t's unused template array constructor - - src/hb-dsalgs.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 6213a75b68825037fbaf6f5ad4eef66e8bad4b3c -Author: Behdad Esfahbod -Date: Sat Nov 10 16:09:21 2018 -0500 - - Add trivial casts to hb_bytes_t - - src/hb-dsalgs.hh | 3 +++ - 1 file changed, 3 insertions(+) - -commit 8bb97d2ce140b7fe81d0726c32e024d887e0be1c -Author: Behdad Esfahbod -Date: Sat Nov 10 15:54:33 2018 -0500 - - Revert back hb_bytes_t.cmp() to the scheme it was - - But fix UBSan complaint. - - There's nothing in hb_bytes_t that guarantees lexical ordering, and - ordering by length first is much faster. - - src/hb-dsalgs.hh | 13 ++++++------- - 1 file changed, 6 insertions(+), 7 deletions(-) - -commit 534e1d7694c96f61e853daef481b41274d5d16d8 -Author: Behdad Esfahbod -Date: Sat Nov 10 15:43:16 2018 -0500 - - Fix hb_bytes_t.cmp() for realz this time - - src/hb-dsalgs.hh | 10 ++++++---- - 1 file changed, 6 insertions(+), 4 deletions(-) - -commit 929f07dbfc8b8c40771d27a502f6e5842c1c1e90 -Author: Behdad Esfahbod -Date: Sat Nov 10 15:38:48 2018 -0500 - - Fix hb_bytes_t.cmp() - - Ouch! - - src/hb-dsalgs.hh | 8 +++++--- - 1 file changed, 5 insertions(+), 3 deletions(-) - -commit 5547bfa9f2815df727fa524b0ea0f136a6f955b7 -Merge: 3a9fa8c02 1d82b4761 -Author: Behdad Esfahbod -Date: Sat Nov 10 15:35:12 2018 -0500 - - Merge pull request #1376 from ebraminio/minor - - [colr/feat/trak] minor - -commit 1d82b4761d0a2e2e0be002e8a6bfe060f7b6dec3 -Author: Ebrahim Byagowi -Date: Sat Nov 10 18:08:11 2018 +0330 - - [colr/feat/trak] minor - - src/hb-aat-layout-feat-table.hh | 14 +++++++------- - src/hb-aat-layout-trak-table.hh | 35 +++++++++++++++++++---------------- - src/hb-ot-color-colr-table.hh | 18 ++++++------------ - 3 files changed, 32 insertions(+), 35 deletions(-) - -commit 3a9fa8c026bf28bf87e20ec95327f74fd7070b74 -Author: Behdad Esfahbod -Date: Sat Nov 10 01:56:37 2018 -0500 - - [qsort] Fix O(N^2) behavior if all array elements are the same - - Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=11327 - - Reported as https://github.com/noporpoise/sort_r/issues/7 - - src/hb-dsalgs.hh | 15 +++++++++++---- - ...-testcase-minimized-hb-shape-fuzzer-5634443633491968 | Bin 0 -> 41814 bytes - 2 files changed, 11 insertions(+), 4 deletions(-) - -commit b308aaccf0773e252880b9b887f3d3d1dec00168 -Author: Behdad Esfahbod -Date: Sat Nov 10 00:37:17 2018 -0500 - - [post] Minor - - src/hb-ot-post-table.hh | 22 +++++++++------------- - 1 file changed, 9 insertions(+), 13 deletions(-) - -commit 4111c3b8cd1b1c44f722877614ec1ee25111e78c -Author: Behdad Esfahbod -Date: Sat Nov 10 00:26:36 2018 -0500 - - [post] Move sanitize close to data fields - - src/hb-ot-post-table.hh | 26 +++++++++++++------------- - 1 file changed, 13 insertions(+), 13 deletions(-) - -commit e26e6dbb336e48a5898738dbbd9e56e3a00b7bed -Author: Behdad Esfahbod -Date: Sat Nov 10 00:19:50 2018 -0500 - - [post] Remove unnecessary hb_nonnull_ptr_t<> - - src/hb-ot-post-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 6b8178c6499f8d0ee45a57332af778af0e48d1b5 -Author: Ebrahim Byagowi -Date: Sat Nov 10 02:42:08 2018 +0330 - - [glyf] minor - - src/hb-ot-glyf-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 87984165877c90bf4e0a0418a6407e44c048335d -Author: Michiharu Ariza -Date: Fri Nov 9 08:59:18 2018 -0800 - - fixed vstem handling (lack thereof) in check_width - - bug exposed by U+2261 equivalence in SourceCodePro-Regular.otf - - src/hb-cff1-interp-cs.hh | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -commit 5f97fe9956274d9de4e7813d7f2e850d9ffd8224 -Author: Behdad Esfahbod -Date: Fri Nov 9 10:01:50 2018 -0500 - - Fix a few MSVC 2008 warnings - - https://github.com/harfbuzz/harfbuzz/issues/1374 - - src/hb-set.hh | 4 ++-- - src/hb-vector.hh | 3 +++ - 2 files changed, 5 insertions(+), 2 deletions(-) - -commit f51bb6ee7bd4ebca9b432851adc527ec086360fe -Merge: 2d987110c b986fead0 -Author: Behdad Esfahbod -Date: Thu Nov 8 14:42:40 2018 -0500 - - Merge pull request #1358 from ebraminio/lcar - - Hook AAT's lcar to _get_ligature_carets - -commit b986fead0aee52d219ce85dd49c9109bfaf31801 -Author: Ebrahim Byagowi -Date: Mon Nov 5 12:31:58 2018 +0330 - - Hook AAT's lcar to _get_ligature_carets - - src/Makefile.sources | 1 + - src/hb-aat-layout-lcar-table.hh | 92 +++++++++++++++++++++++++++++++++++++ - src/hb-ot-face.hh | 1 + - src/hb-ot-layout-gdef-table.hh | 6 +-- - src/hb-ot-layout.cc | 17 ++++--- - test/api/Makefile.am | 1 + - test/api/fonts/lcar.ttf | Bin 0 -> 808 bytes - test/api/test-ot-ligature-carets.c | 67 +++++++++++++++++++++++++++ - 8 files changed, 175 insertions(+), 10 deletions(-) - -commit 2d987110c067ccbf63b1399d2a87820121925e39 -Author: Ebrahim Byagowi -Date: Thu Nov 8 21:46:26 2018 +0330 - - [aat] Minor - - src/hb-aat-layout-just-table.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 9fae611740f514e5fc101a18c4551a20b4a47b59 -Author: Behdad Esfahbod -Date: Thu Nov 8 12:17:09 2018 -0500 - - [test/text-rendering-tests] Update from upstream - - test/shaping/data/text-rendering-tests/DISABLED | 1 + - test/shaping/data/text-rendering-tests/Makefile.sources | 2 +- - .../data/text-rendering-tests/tests/MORX-31.tests | 16 ++++++++-------- - 3 files changed, 10 insertions(+), 9 deletions(-) - -commit b989507fa6b36eb9950001d4e28f3946ffbe75f9 -Author: Ebrahim Byagowi -Date: Thu Nov 8 20:48:54 2018 +0330 - - [aat] Minor (#1369) - - src/hb-aat-layout-just-table.hh | 11 ++++++----- - src/hb-aat-layout-trak-table.hh | 12 ++++++------ - 2 files changed, 12 insertions(+), 11 deletions(-) - -commit 26c291aaa023d31c793b6f505c76e0dd7acbff9b -Merge: 417963dd9 f90423847 -Author: Michiharu Ariza -Date: Thu Nov 8 09:06:49 2018 -0800 - - Merge branch 'master' into cff-subset - -commit 417963dd9f93a316e672c77493e763978bfdbc28 -Author: Michiharu Ariza -Date: Thu Nov 8 09:01:20 2018 -0800 - - got rid of Remap::fullset() as incorrect, redundant, inefficient - - src/hb-ot-cff-common.hh | 22 ---------------------- - 1 file changed, 22 deletions(-) - -commit f90423847b07ff9c9f66be6dfa3b6071f9c7d9d3 -Author: Ebrahim Byagowi -Date: Thu Nov 8 19:17:02 2018 +0330 - - [just] Initial table implementation (#1364) - - A starting point, its sanitization is not tested however - - src/Makefile.sources | 1 + - src/hb-aat-layout-just-table.hh | 416 ++++++++++++++++++++++++++++++++++++++++ - src/hb-aat-layout.cc | 1 + - 3 files changed, 418 insertions(+) - -commit b8b00fb3c60d23efca5720db15555c4a01c56a45 -Author: Ebrahim Byagowi -Date: Thu Nov 8 18:53:14 2018 +0330 - - [aat] Support Lookup>, needed by just and lcar (#1368) - - src/hb-aat-layout-common.hh | 57 +++++++++++++++++++++++++++++++++++++++++++++ - src/hb-open-type.hh | 11 +++++++++ - 2 files changed, 68 insertions(+) - -commit 073d0a9fbcf4f9cf44878f3f91afa27615b14e5c -Author: Ebrahim Byagowi -Date: Thu Nov 8 10:59:50 2018 +0330 - - [ci] minor - - .circleci/config.yml | 1 + - 1 file changed, 1 insertion(+) - -commit 15326826bf20f1f3d5ef3ddde2ad17b0ccbfa605 -Author: Behdad Esfahbod -Date: Wed Nov 7 21:58:04 2018 -0500 - - [aat] Ignore cross-stream offset of deleted-glyphs - - I think it makes sense to accumulate it, but Ned tells me that's - what CoreText does. - - src/hb-aat-layout.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 636a6833c57eb88ebaa92034c1f4722471f70781 -Author: Michiharu Ariza -Date: Wed Nov 7 17:58:45 2018 -0800 - - fixed ends_in_hint bug - - subr ends in hint itself should be regarded as hint - this flag should propagate to its caller if the call itself is at the end of the caller - - src/hb-subset-cff-common.hh | 15 +++++++++++++-- - 1 file changed, 13 insertions(+), 2 deletions(-) - -commit 0bf76154f1bb15aa2fc361eb725977313f103a58 -Author: Behdad Esfahbod -Date: Wed Nov 7 19:11:43 2018 -0500 - - [fuzzing] Take whatever text we can - - test/fuzzing/hb-shape-fuzzer.cc | 24 +++++++++++++----------- - 1 file changed, 13 insertions(+), 11 deletions(-) - -commit 517a1bac97b6273e03562deefcca129648698c31 -Merge: 9d5027696 b18a56a29 -Author: Behdad Esfahbod -Date: Wed Nov 7 18:40:48 2018 -0500 - - Merge pull request #1362 from harfbuzz/cross-kern - - Vastly improve kern/kerx tables, including cross-stream "kerning" - -commit b18a56a290bf5330e81019b33f15e6951dd86a8b -Author: Behdad Esfahbod -Date: Wed Nov 7 18:13:22 2018 -0500 - - [kerx] Comment - - src/hb-aat-layout-kerx-table.hh | 4 ++++ - 1 file changed, 4 insertions(+) - -commit 4d740206943ecb72e4be7cc4815e0a3aa3edaa9d -Merge: e0c30b961 9d5027696 -Author: Michiharu Ariza -Date: Wed Nov 7 15:09:30 2018 -0800 - - Merge branch 'master' into cff-subset - -commit e0c30b961de87d38bff8dd49e86785a5b74fcad3 -Merge: 0996c0ff6 ae8fd0dbf -Author: Michiharu Ariza -Date: Wed Nov 7 15:08:55 2018 -0800 - - merge with cff-subset branch - -commit 006386be3a069199ebaf22bcc55fa7233c62e0d5 -Author: Behdad Esfahbod -Date: Wed Nov 7 18:04:53 2018 -0500 - - [kern] Implement negative state numbers - - Let the fuzzing bots rip this code apart... - - src/hb-aat-layout-common.hh | 90 ++++++++++++++++++++++++++++++----------- - src/hb-aat-layout-kerx-table.hh | 10 ----- - 2 files changed, 66 insertions(+), 34 deletions(-) - -commit 0996c0ff6279f377e2b14f08663df2ce82de2b14 -Author: Michiharu Ariza -Date: Wed Nov 7 14:48:37 2018 -0800 - - implented no-desubroutinize with CFF2 along with API test - - replaced AdobeVFPrototype.abc.otf with a hinted (maually) & subroutinized copy - replaced expected results as well - - src/hb-cff-interp-dict-common.hh | 4 +- - src/hb-cff2-interp-cs.hh | 16 +- - src/hb-ot-cff-common.hh | 22 +-- - src/hb-subset-cff-common.hh | 64 +++++--- - src/hb-subset-cff2.cc | 180 ++++++++++++++++++--- - test/api/fonts/AdobeVFPrototype.abc.nohints.otf | Bin 7800 -> 0 bytes - test/api/fonts/AdobeVFPrototype.abc.otf | Bin 7800 -> 7460 bytes - test/api/fonts/AdobeVFPrototype.ac.nohints.otf | Bin 7152 -> 6780 bytes - .../fonts/AdobeVFPrototype.ac.nosubrs.nohints.otf | Bin 0 -> 6844 bytes - test/api/fonts/AdobeVFPrototype.ac.nosubrs.otf | Bin 0 -> 7060 bytes - test/api/fonts/AdobeVFPrototype.ac.otf | Bin 7336 -> 6996 bytes - test/api/test-subset-cff2.c | 51 +++++- - 12 files changed, 271 insertions(+), 66 deletions(-) - -commit 29c5302376ff2bc8f04b0fc0efba3ce40ef564a7 -Author: Behdad Esfahbod -Date: Wed Nov 7 17:29:37 2018 -0500 - - [morx] Minor - - src/hb-aat-layout-morx-table.hh | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - -commit 385f78b3123f268e4c7ff423621e5ce9e8a5c54b -Author: Behdad Esfahbod -Date: Wed Nov 7 17:19:21 2018 -0500 - - [aat] Remove deleted-glyhs after applying kerx/kern - - Finally: Fixes https://github.com/harfbuzz/harfbuzz/issues/1356 - - Test case: - $ ./hb-shape GeezaPro.ttc -u U+0628,U+064A,U+064E,U+0651,U+0629 - [u0629.final.tehMarbuta=4+713|u064e_u0651.shaddaFatha=1@0,-200+0|u064a.medial.yeh=1+656|u0628.initial.beh=0+656] - - The mark positioning (kern table CrossStream kerning) only works if deleted - glyph (as result of ligation) is still in stream and pushed through the - state machine. - - src/hb-aat-layout-morx-table.hh | 16 ------- - src/hb-aat-layout.cc | 30 ++++++++++-- - src/hb-aat-layout.hh | 12 +++-- - src/hb-ot-layout-gpos-table.hh | 6 +-- - src/hb-ot-layout.cc | 60 +++++++++++++++++++++-- - src/hb-ot-layout.hh | 23 +++++---- - src/hb-ot-shape.cc | 102 ++++++++++++++-------------------------- - 7 files changed, 142 insertions(+), 107 deletions(-) - -commit 1909072235e59eb80f9169300279b65779b932a4 -Author: Behdad Esfahbod -Date: Wed Nov 7 16:42:16 2018 -0500 - - [aat] Add debug info to state machine - - src/hb-aat-layout-common.hh | 3 +++ - 1 file changed, 3 insertions(+) - -commit ca23567f41a2d6389f6fd2483a994cf5aa6aeaf8 -Author: Behdad Esfahbod -Date: Wed Nov 7 16:19:51 2018 -0500 - - Disable fallback mark positioning if kern table has cross-stream kerning - - Happens even if the cross-stream kerning is for cursive attachment only. Oh well.. - - src/hb-ot-layout.cc | 6 ++++++ - src/hb-ot-layout.hh | 3 +++ - src/hb-ot-shape.cc | 14 ++++++-------- - src/hb-ot-shape.hh | 2 +- - 4 files changed, 16 insertions(+), 9 deletions(-) - -commit 5cf6f94dfd30a468ab8464435e846811c39d9226 -Author: Behdad Esfahbod -Date: Wed Nov 7 16:07:22 2018 -0500 - - Don't apply both kerx and kern - - Ouch! - - src/hb-ot-shape.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 41cff7afc916048810a7ea4aa33ecdee7401df74 -Author: Behdad Esfahbod -Date: Wed Nov 7 16:05:36 2018 -0500 - - Minor - - src/hb-ot-shape.cc | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 9af983af24788afad4b37bd2297b86cdca7c5c29 -Author: Behdad Esfahbod -Date: Wed Nov 7 16:03:09 2018 -0500 - - [kern] Switch to dispatch - - src/hb-aat-layout-kerx-table.hh | 7 +++++-- - src/hb-ot-kern-table.hh | 28 +++++++++++++++------------- - src/hb-ot-layout.cc | 6 ++---- - 3 files changed, 22 insertions(+), 19 deletions(-) - -commit bc06e2805ae55f5c152dfb70ee91c75830ad8f54 -Author: Behdad Esfahbod -Date: Wed Nov 7 16:02:40 2018 -0500 - - [kerx/kern] Add has_cross_stream() - - src/hb-aat-layout-kerx-table.hh | 15 +++++++++++++++ - src/hb-ot-kern-table.hh | 9 +++++++++ - 2 files changed, 24 insertions(+) - -commit ea579f9ccc87718d4c2ca8945a997e6679428a12 -Author: Behdad Esfahbod -Date: Wed Nov 7 15:44:40 2018 -0500 - - [kerx] Fix peculiar indexing that was needed previously - - Not needed now that we use GPOS attachment for cursive kerx. - - src/hb-aat-layout-kerx-table.hh | 20 +++++++------------- - 1 file changed, 7 insertions(+), 13 deletions(-) - -commit 6ee6cd93d8c61389cf242e42a531cc6e7214b21a -Author: Behdad Esfahbod -Date: Wed Nov 7 15:40:55 2018 -0500 - - [GPOS] Only mark unsafe-to-break if kerning happened - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1365 - - src/hb-ot-layout-gpos-table.hh | 56 ++++++++++++++++++++++++------------------ - 1 file changed, 32 insertions(+), 24 deletions(-) - -commit 501a364d9bb6c5828f9d660bae8b6e93b158b275 -Author: Behdad Esfahbod -Date: Wed Nov 7 15:02:16 2018 -0500 - - [GPOS] Add TODO item - - src/hb-ot-layout-gpos-table.hh | 2 ++ - 1 file changed, 2 insertions(+) - -commit 7a9629f2f11a11d1c064662a08a0172ac2001668 -Author: Behdad Esfahbod -Date: Wed Nov 7 14:52:36 2018 -0500 - - [kerx] Implement CrossStream kerning for non-state-machine subtables - - Untested. - - src/hb-aat-layout-kerx-table.hh | 12 ++++++------ - src/hb-kern.hh | 43 +++++++++++++++++++++++++++++------------ - src/hb-ot-kern-table.hh | 4 ++-- - 3 files changed, 39 insertions(+), 20 deletions(-) - -commit 0eb4157011e78c332d781e28b54b020aa08957c0 -Author: Behdad Esfahbod -Date: Wed Nov 7 14:42:15 2018 -0500 - - [kerx] Disable backwards-kerning for non-state-machine tables - - That's what the spec says for Backwards flag, only applicable to - formats 1 and 4. - - src/hb-aat-layout-kerx-table.hh | 8 +++----- - src/hb-ot-kern-table.hh | 2 +- - 2 files changed, 4 insertions(+), 6 deletions(-) - -commit b2f687c2569a3cc0b1cd0335c5ca0f8d193f8a39 -Author: Behdad Esfahbod -Date: Wed Nov 7 14:38:29 2018 -0500 - - [kerx] Use GPOS attachment facilities for CrossStream kerning - - src/hb-aat-layout-kerx-table.hh | 51 ++++++++++++++++++++++++++++------------- - 1 file changed, 35 insertions(+), 16 deletions(-) - -commit e10a856eb24ae45e301c3ffa778caa4c0a995bb9 -Author: Behdad Esfahbod -Date: Wed Nov 7 14:11:48 2018 -0500 - - [kerx] Format - - src/hb-aat-layout-kerx-table.hh | 58 ++++++++++++++++++++--------------------- - 1 file changed, 28 insertions(+), 30 deletions(-) - -commit 649cc3ef2773950b0b5884d9d1caf414aac888bf -Author: Behdad Esfahbod -Date: Wed Nov 7 14:04:04 2018 -0500 - - [kerx] Don't disable crossKerning if kern feature is off - - src/hb-aat-layout-kerx-table.hh | 9 +++++---- - src/hb-ot-shape.cc | 2 +- - 2 files changed, 6 insertions(+), 5 deletions(-) - -commit 0c3b061ac244fa8a8657366e1b95523503fdf7be -Author: Behdad Esfahbod -Date: Wed Nov 7 13:58:41 2018 -0500 - - [kern] Apply erlier, where GPOS/kerx are applied - - src/hb-aat-layout-kerx-table.hh | 3 +-- - src/hb-ot-shape-fallback.cc | 9 +++++++++ - src/hb-ot-shape.cc | 12 +++++------- - 3 files changed, 15 insertions(+), 9 deletions(-) - -commit f4bad0086e40c70d66d6514f038ddda1411657c8 -Author: Behdad Esfahbod -Date: Wed Nov 7 13:51:17 2018 -0500 - - [kerx] Implement tupleKerning for Format1 - - Untested. - - src/hb-aat-layout-kerx-table.hh | 7 +++---- - 1 file changed, 3 insertions(+), 4 deletions(-) - -commit 39b4ef6f18605e85c68cbcec534e137fc831dbca -Author: Behdad Esfahbod -Date: Wed Nov 7 13:48:45 2018 -0500 - - [kerx] Better sanitize tupleKerning - - src/hb-aat-layout-kerx-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 14772da06f9c67d0d40712369e26064e3dee2a91 -Author: Behdad Esfahbod -Date: Wed Nov 7 13:40:22 2018 -0500 - - [kern/kerx] Share KernTable, renamed to KerxTable - - src/hb-aat-layout-kerx-table.hh | 77 ++++++++++++++++++++++-------- - src/hb-ot-kern-table.hh | 103 ++-------------------------------------- - 2 files changed, 61 insertions(+), 119 deletions(-) - -commit c038f5be6b70b8edffc701dd3e4e3cd08d14e2f0 -Author: Behdad Esfahbod -Date: Wed Nov 7 13:35:06 2018 -0500 - - [fallback] Minor - - src/hb-ot-shape-fallback.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit db6e658e8c0c4953c2f026f6a67a5d2fb4bdc204 -Author: Behdad Esfahbod -Date: Wed Nov 7 13:33:23 2018 -0500 - - [kern/kerx] More towards sharing KernTable - - src/hb-aat-layout-kerx-table.hh | 48 ++++++++++++++++++--------------- - src/hb-ot-kern-table.hh | 59 ++++++++++++++++++++++++++++------------- - 2 files changed, 67 insertions(+), 40 deletions(-) - -commit 89ec095979bde94bd203ed2c394f6e40629e9e78 -Author: Behdad Esfahbod -Date: Wed Nov 7 13:10:05 2018 -0500 - - [kern] Disable Format1 and Format3 for OT-style tables - - src/hb-ot-kern-table.hh | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -commit ab57bcae0fd4505c80bb4ccdef6838bb2805ce79 -Author: Behdad Esfahbod -Date: Wed Nov 7 13:04:21 2018 -0500 - - [kern] Minor - - src/hb-ot-kern-table.hh | 8 +++++--- - 1 file changed, 5 insertions(+), 3 deletions(-) - -commit 30af5b4a4c2071599dc87bc092a7329befcc45cc -Author: Behdad Esfahbod -Date: Wed Nov 7 12:57:10 2018 -0500 - - [kern] Move code - - src/hb-ot-kern-table.hh | 118 +++++++++++++++++++++++++----------------------- - 1 file changed, 62 insertions(+), 56 deletions(-) - -commit 1ff300464a1075b8cd5311970afbbcf4bb3b6f3d -Author: Behdad Esfahbod -Date: Wed Nov 7 12:51:49 2018 -0500 - - [kern] Massage more - - src/hb-ot-kern-table.hh | 15 +++++++-------- - 1 file changed, 7 insertions(+), 8 deletions(-) - -commit 8e9f6cd0fddd572e048487aae3141d3dbb1b99cb -Author: Behdad Esfahbod -Date: Wed Nov 7 12:49:20 2018 -0500 - - [kerx] More minor - - src/hb-aat-layout-kerx-table.hh | 7 +++---- - 1 file changed, 3 insertions(+), 4 deletions(-) - -commit f8c3df7d4a685bb86a1c15a5ef95485e8ef30305 -Author: Behdad Esfahbod -Date: Wed Nov 7 12:48:06 2018 -0500 - - [kern/kerx] Minor - - src/hb-aat-layout-kerx-table.hh | 5 +++-- - src/hb-ot-kern-table.hh | 19 ++++++++++--------- - 2 files changed, 13 insertions(+), 11 deletions(-) - -commit f5e0a63a22f91720a997f5070b84e982e57de661 -Author: Behdad Esfahbod -Date: Wed Nov 7 12:32:39 2018 -0500 - - [kern/kerx] Towards sharing KernTable - - src/hb-aat-layout-kerx-table.hh | 4 ++-- - src/hb-ot-kern-table.hh | 19 +++++++------------ - 2 files changed, 9 insertions(+), 14 deletions(-) - -commit 330508497d301c0ba5d5fb5d0900b62c191aabb5 -Author: Behdad Esfahbod -Date: Wed Nov 7 12:27:44 2018 -0500 - - [kern/kerx] Minor - - src/hb-aat-layout-kerx-table.hh | 2 +- - src/hb-ot-kern-table.hh | 5 +++-- - 2 files changed, 4 insertions(+), 3 deletions(-) - -commit 1a5ef8490034f4bd8965a3c71d34a5930ebe11b7 -Author: Behdad Esfahbod -Date: Wed Nov 7 12:19:52 2018 -0500 - - [kern/kerx] Share Format2 - - This, enables Format2 for kern table, which was disabled before. - - src/hb-aat-layout-kerx-table.hh | 6 ++++ - src/hb-ot-kern-table.hh | 73 +---------------------------------------- - 2 files changed, 7 insertions(+), 72 deletions(-) - -commit 8faec4e33486616fdc0d690ad80d4a38a73c8182 -Author: Behdad Esfahbod -Date: Wed Nov 7 12:16:38 2018 -0500 - - [kerx] Towards merging Format2 - - src/hb-aat-layout-kerx-table.hh | 17 ++++++++++------- - 1 file changed, 10 insertions(+), 7 deletions(-) - -commit ae8fd0dbfb57afadfe815c5bde4ad4a6485fd950 -Author: Michiharu Ariza -Date: Wed Nov 7 09:16:12 2018 -0800 - - clear stack after vsindex op - - src/hb-cff2-interp-cs.hh | 1 + - src/hb-ot-cff2-table.hh | 1 + - 2 files changed, 2 insertions(+) - -commit 7fed7d80f72b35900b41878ae59e38fd1cb49dc8 -Author: Michiharu Ariza -Date: Wed Nov 7 09:09:13 2018 -0800 - - fixed off-by-one error in CFF1 Encoding lookup - - src/hb-ot-cff1-table.hh | 4 ++++ - 1 file changed, 4 insertions(+) - -commit d5c0ca210fef315fd039e5b1825a865f36606a3f -Author: Behdad Esfahbod -Date: Wed Nov 7 12:08:44 2018 -0500 - - [aat] Minor - - src/hb-aat-layout-common.hh | 16 ++++++++++------ - src/hb-ot-kern-table.hh | 4 ++-- - 2 files changed, 12 insertions(+), 8 deletions(-) - -commit e72e041c3cda164b2ffb02d770b35d0d70954818 -Author: Behdad Esfahbod -Date: Wed Nov 7 11:56:36 2018 -0500 - - [kerx] Rename - - src/hb-aat-layout-kerx-table.hh | 22 +++++++++++----------- - 1 file changed, 11 insertions(+), 11 deletions(-) - -commit 241ba7da518adee334fff105ae19dfb051868a57 -Author: Behdad Esfahbod -Date: Wed Nov 7 11:51:40 2018 -0500 - - [morx/kerx] Rename types - - src/hb-aat-layout-common.hh | 4 ++-- - src/hb-aat-layout-kerx-table.hh | 17 +++++++++-------- - src/hb-aat-layout-morx-table.hh | 4 ++-- - src/hb-ot-kern-table.hh | 4 ++-- - 4 files changed, 15 insertions(+), 14 deletions(-) - -commit c808e444da12840ac3ab1d78569504b9b7e876f9 -Author: Behdad Esfahbod -Date: Wed Nov 7 11:28:36 2018 -0500 - - [kern/kerx] Share Format1 subtable - - src/hb-aat-layout-kerx-table.hh | 9 +- - src/hb-ot-kern-table.hh | 187 +--------------------------------------- - 2 files changed, 4 insertions(+), 192 deletions(-) - -commit a244190afa90ac253724a2ff23a3bdf0c507d0e6 -Author: Behdad Esfahbod -Date: Wed Nov 7 11:43:25 2018 -0500 - - [kerx] Minor - - src/hb-aat-layout-kerx-table.hh | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit 2a720911964a00ad607ff712be09ea3ea0925c9b -Author: Behdad Esfahbod -Date: Wed Nov 7 11:25:55 2018 -0500 - - [kerx] Minor - - src/hb-aat-layout-kerx-table.hh | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit f5f4ca7871ec2be2b5666a7b9e6e5e28133b8393 -Author: Behdad Esfahbod -Date: Wed Nov 7 11:21:09 2018 -0500 - - [kern/kerx] Enable crossStream kerning in vertical - - CoreText doesn't, but no reason we shouldn't do. - - src/hb-aat-layout-kerx-table.hh | 8 ++++---- - src/hb-ot-kern-table.hh | 8 ++++---- - 2 files changed, 8 insertions(+), 8 deletions(-) - -commit d5c88af4a23bffc09840c43e6b1403b64a9f74d5 -Author: Behdad Esfahbod -Date: Wed Nov 7 11:20:14 2018 -0500 - - [kerx] More towards sharing Format1 - - src/hb-aat-layout-kerx-table.hh | 35 +++++++++++++++++++++++++++++++---- - src/hb-aat-layout-morx-table.hh | 10 ++++++---- - 2 files changed, 37 insertions(+), 8 deletions(-) - -commit b693fd0dc6c7979dcacdff060ecf12a2e107071d -Author: Behdad Esfahbod -Date: Wed Nov 7 11:05:28 2018 -0500 - - [morx] Simplify - - src/hb-aat-layout-morx-table.hh | 27 +++++++++++---------------- - 1 file changed, 11 insertions(+), 16 deletions(-) - -commit ce3451dc2aad2241c148953842e696e9f53b5deb -Author: Behdad Esfahbod -Date: Wed Nov 7 11:02:04 2018 -0500 - - [kerx] Towards sharing Format1 - - src/hb-aat-layout-kerx-table.hh | 61 +++++++++++++++++++++++++++++++---------- - 1 file changed, 47 insertions(+), 14 deletions(-) - -commit e890753ebbf0d20c1c86796837918d530610df3b -Author: Behdad Esfahbod -Date: Wed Nov 7 10:58:50 2018 -0500 - - [morx] Minor - - src/hb-aat-layout-morx-table.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 5b17853547ca6848ee652ef6990a81bb345ac06f -Author: Behdad Esfahbod -Date: Wed Nov 7 10:45:25 2018 -0500 - - [kern/kerx] Share Format0 - - src/hb-aat-layout-kerx-table.hh | 22 +++++++++++++----- - src/hb-ot-kern-table.hh | 50 ++++++----------------------------------- - 2 files changed, 23 insertions(+), 49 deletions(-) - -commit c97dde5d55929df394fbe57c1ba1a725592c6732 -Author: Behdad Esfahbod -Date: Wed Nov 7 10:39:39 2018 -0500 - - [kern/kerx] Towards merge more - - src/hb-aat-layout-kerx-table.hh | 75 ++++++++++++++++++++++++++++++----------- - src/hb-kern.hh | 33 ------------------ - src/hb-ot-kern-table.hh | 7 ++-- - 3 files changed, 58 insertions(+), 57 deletions(-) - -commit 540ccc38b0f95804d08047f8b2d059bfd1e09337 -Author: Behdad Esfahbod -Date: Wed Nov 7 10:33:46 2018 -0500 - - [kern/kerx] More towards sharing - - src/hb-aat-layout-kerx-table.hh | 7 ++++--- - src/hb-ot-kern-table.hh | 10 +++++++--- - 2 files changed, 11 insertions(+), 6 deletions(-) - -commit d0f8f4c200670bc0bfbffbf301139a3613865a7f -Author: Behdad Esfahbod -Date: Wed Nov 7 10:25:25 2018 -0500 - - [kern] Move kern machine to hb-kern.hh - - src/Makefile.sources | 1 + - src/hb-aat-layout-kerx-table.hh | 5 +- - src/hb-kern.hh | 153 ++++++++++++++++++++++++++++++++++++++++ - src/hb-ot-kern-table.hh | 115 +----------------------------- - src/hb-ot-shape-fallback.cc | 2 +- - 5 files changed, 157 insertions(+), 119 deletions(-) - -commit a6acff252c72457ecfa856fd6c57081b3a4290dd -Author: Behdad Esfahbod -Date: Wed Nov 7 10:19:46 2018 -0500 - - [kerx] Towards sharing subtables with kern - - src/hb-aat-layout-kerx-table.hh | 41 +++++++++++++++++++++++------------------ - 1 file changed, 23 insertions(+), 18 deletions(-) - -commit befac337ca2c705e2cea60a9a92e40e0dbbc40aa -Author: Behdad Esfahbod -Date: Wed Nov 7 09:53:02 2018 -0500 - - [kern] Remove Override business - - Not used in any fonts. Not well-specified when mixing kerning with - Cross-Stream positioning. - - src/hb-ot-kern-table.hh | 16 ---------------- - 1 file changed, 16 deletions(-) - -commit 9d5027696e418b7c2a5ccbc18faafe6b9290d08b -Author: Behdad Esfahbod -Date: Wed Nov 7 09:16:53 2018 -0500 - - [post] Return true on truncation - - Client can check that buffer was completely filled out and reallocate. - - src/hb-ot-post-table.hh | 7 +++---- - 1 file changed, 3 insertions(+), 4 deletions(-) - -commit 7d91f07edf29c4923716af6cee8eb94f948ac91f -Author: Behdad Esfahbod -Date: Wed Nov 7 09:14:42 2018 -0500 - - [post] Protect against huge empty tables - - src/hb-ot-post-table.hh | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit 5ed816ab5900ac4ff7feca3d98cbd92e62fd1754 -Author: Behdad Esfahbod -Date: Wed Nov 7 09:13:51 2018 -0500 - - [post] Minor - - src/hb-ot-post-table.hh | 4 ++++ - 1 file changed, 4 insertions(+) - -commit 64f0becd89cc2b0136c7dc1609abc9f957525cf8 -Author: Behdad Esfahbod -Date: Wed Nov 7 09:10:55 2018 -0500 - - [post] Fix bound checking - - src/hb-ot-post-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 7ec694ddf25a313483044256f7ed88b644432e15 -Author: HinTak -Date: Wed Nov 7 13:19:36 2018 +0000 - - Use non-GRID-fitted values for metrics (#1363) - - * Use non-GRID-fitted values for metrics - - See freetype/src/base/ftobjs.c:ft_recompute_scaled_metrics() and - the usage of GRID_FIT_METRICS inside. - - Fixes https://github.com/behdad/harfbuzz/issues/1262 - - * Update hb-ft.cc - - src/hb-ft.cc | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 59e04e42312293c30714a666c4479e209aec3c0e -Author: Behdad Esfahbod -Date: Wed Nov 7 00:25:48 2018 -0500 - - [kern/kerx] Fix cursive joining - - Tested with Waseem TTC: - - $ hb-shape Waseem.ttc جحخج - [F1Jeem_R2=3@0,180+479|M1Khah_L2_R2=2@0,682+403|M1Hah_L2_R2=1@0,1184+403|I1Jeem_L2=0@0,1184+744] - - src/hb-aat-layout-kerx-table.hh | 2 ++ - src/hb-ot-kern-table.hh | 2 ++ - 2 files changed, 4 insertions(+) - -commit 8d0f797139e853d13cb2383d541c2e691d9dbae3 -Author: Behdad Esfahbod -Date: Wed Nov 7 00:04:40 2018 -0500 - - [kern/kerx] Fix "reset" magic value - - src/hb-aat-layout-kerx-table.hh | 2 +- - src/hb-ot-kern-table.hh | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit 0123976a0c1e2f629252969a7ff632dc2b1dbbc9 -Author: Behdad Esfahbod -Date: Tue Nov 6 21:45:40 2018 -0500 - - [kerx] Adjust CrossStream kern to match 'kern' table - - src/hb-aat-layout-kerx-table.hh | 62 +++++++++++++++++++++++++++++++---------- - 1 file changed, 48 insertions(+), 14 deletions(-) - -commit 80a33b9ac351d81793f35a92e0255ffbf5ceb8b9 -Author: Behdad Esfahbod -Date: Tue Nov 6 21:41:28 2018 -0500 - - [kern] More tweaks - - Solves a mystery or two. I'm fairly confident this is what CoreText does now. - - src/hb-ot-kern-table.hh | 40 ++++++++++++++++++++++------------------ - 1 file changed, 22 insertions(+), 18 deletions(-) - -commit 564e8ac0465d8ced3a98ecb55d09ffaa45eefc2f -Author: Behdad Esfahbod -Date: Tue Nov 6 21:04:40 2018 -0500 - - [kern] Adjust some more - - Getting closer. So many open questions still... - - src/hb-ot-kern-table.hh | 36 ++++++++++++++++++++++-------------- - 1 file changed, 22 insertions(+), 14 deletions(-) - -commit 4d003b8503f9c984abe2ac0de8c526a276ea8e54 -Author: Behdad Esfahbod -Date: Tue Nov 6 21:04:02 2018 -0500 - - [kern] Add TODO - - src/hb-ot-kern-table.hh | 9 +++++++++ - 1 file changed, 9 insertions(+) - -commit 9810f0b80e5b6580a7a15debcec073dfc9ca759f -Author: Behdad Esfahbod -Date: Tue Nov 6 19:24:04 2018 -0500 - - [kern] Minor - - src/hb-ot-kern-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 9c04b6058306cd4b2123a33a7cbeb47505434217 -Author: Behdad Esfahbod -Date: Tue Nov 6 18:35:58 2018 -0500 - - [kern] In Format1, adjust how kerning is done - - In a series of kerns in one action, kern all but last glyph forward, - and the last one backward. Seems to better match what CoreText is doing. - - Test cases, with GeezaPro Arabic: - - $ ./hb-shape GeezaPro_10_10.ttc -u U+0631,U+0628 - [u0628.beh=1+1415|u0631.reh=0@-202,0+700] - - $ ./hb-shape GeezaPro_10_10.ttc -u U+0628,U+064F - [u064f.damma=0@0,-250+-250|u0628.beh=0@250,0+1665] - - In a later change, I'll make kern machine avoid producing negative kerns. - - src/hb-ot-kern-table.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit e8c47724638c29d78001905610c662de99c59cad -Author: Behdad Esfahbod -Date: Tue Nov 6 17:16:04 2018 -0500 - - [kern] XXX Negate CrossKerning sign - - Not sure why, but seems to better match GeezaPro Arabic w CoreText. - - Quite possibly I'm doing something very wrong... - - src/hb-ot-kern-table.hh | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 01bf43ac01576a6415336cc56c74bb1a872566d1 -Author: Behdad Esfahbod -Date: Tue Nov 6 14:48:42 2018 -0500 - - [kern] Implement CrossStream kerning - - src/hb-aat-layout-kerx-table.hh | 75 ++++++++++++++++++++++++++--------------- - src/hb-ot-kern-table.hh | 63 ++++++++++++++++++++++++++++------ - 2 files changed, 101 insertions(+), 37 deletions(-) - -commit b11830c09e0d78bbdaf86ef02191d00b3d8256c4 -Author: Behdad Esfahbod -Date: Tue Nov 6 15:23:18 2018 -0500 - - [kern] Improve Format 2 - - Still disabled. - - src/hb-aat-layout-common.hh | 20 +++++++++----------- - src/hb-ot-kern-table.hh | 35 ++++++----------------------------- - 2 files changed, 15 insertions(+), 40 deletions(-) - -commit c0383c6bb725bed2a48485988a427348384f3f87 -Author: Behdad Esfahbod -Date: Tue Nov 6 15:07:19 2018 -0500 - - Minor - - src/hb-aat-layout-common.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 10e6f708f30986bab9f7b506935f2555d6b79ff4 -Author: Behdad Esfahbod -Date: Tue Nov 6 13:32:13 2018 -0500 - - [kern] Minor - - src/hb-ot-kern-table.hh | 30 +++++++++++------------------- - 1 file changed, 11 insertions(+), 19 deletions(-) - -commit 164eedd9181345d84d5f8059475ad4b97784fd46 -Author: Behdad Esfahbod -Date: Tue Nov 6 13:18:27 2018 -0500 - - [kern] Minor - - src/hb-ot-kern-table.hh | 14 +++++++++----- - 1 file changed, 9 insertions(+), 5 deletions(-) - -commit 220a5991baa213b7bd173ea02090dc6fc8aef655 -Author: Behdad Esfahbod -Date: Tue Nov 6 13:51:39 2018 -0500 - - [kern/kerx] Fix trace numbering - - src/hb-aat-layout-kerx-table.hh | 1 + - src/hb-ot-kern-table.hh | 1 + - 2 files changed, 2 insertions(+) - -commit 7b21319edfd6531a444846f71e87303bc09f4621 -Author: Michiharu Ariza -Date: Tue Nov 6 13:59:07 2018 -0800 - - don't reject empty Dict - - src/hb-cff-interp-dict-common.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 43ee0e4d006ce7b4ade4483f2c8ec3d39723fc94 -Merge: ec6817c1b bfafe208d -Author: Michiharu Ariza -Date: Tue Nov 6 09:57:17 2018 -0800 - - Merge branch 'master' into cff-subset - -commit bfafe208da11817b5ebf3751f02af2dcdf57bd19 -Author: Behdad Esfahbod -Date: Tue Nov 6 12:11:45 2018 -0500 - - [kern] Switch to dispatch - - src/hb-aat-layout-kerx-table.hh | 12 ++++++------ - src/hb-ot-kern-table.hh | 31 +++++++++++++++---------------- - 2 files changed, 21 insertions(+), 22 deletions(-) - -commit 213fa3bf711dae5028e3d041e305cdd35223de77 -Author: Behdad Esfahbod -Date: Tue Nov 6 12:07:15 2018 -0500 - - [kern] Refactor to include header in each subtable type - - src/hb-ot-kern-table.hh | 189 +++++++++++++++++++++++------------------------- - 1 file changed, 91 insertions(+), 98 deletions(-) - -commit b0da2cd0b9c1346b7cda5997fb799e895e34aace -Author: Behdad Esfahbod -Date: Tue Nov 6 11:16:45 2018 -0500 - - [kern] Some more - - src/hb-ot-kern-table.hh | 9 ++++----- - 1 file changed, 4 insertions(+), 5 deletions(-) - -commit 75b00b51c8fca5d605c479333eb3abd608623613 -Author: Behdad Esfahbod -Date: Tue Nov 6 11:13:40 2018 -0500 - - [kern] Renames - - src/hb-ot-kern-table.hh | 20 +++++++++----------- - 1 file changed, 9 insertions(+), 11 deletions(-) - -commit 5c3ccbc634158ba9f84d365c9a31a596f6d8825b -Author: Khaled Hosny -Date: Tue Nov 6 18:10:56 2018 +0200 - - Another missing backlash - - Did this ever work? - - test/api/Makefile.am | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit d29602b962c13836f4c0d46796bc693f66f9b9fe -Author: Khaled Hosny -Date: Tue Nov 6 18:07:47 2018 +0200 - - Add missing backslash - - test/api/Makefile.am | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 9bddfde25dc8c302c765a1e9a8a2c38c4a836e2e -Author: Behdad Esfahbod -Date: Tue Nov 6 11:03:34 2018 -0500 - - [util] Fix up previous commit - - util/options.cc | 8 ++++++-- - 1 file changed, 6 insertions(+), 2 deletions(-) - -commit 3ec2e4fa7bec07ec181a0390e5f5fd695abee611 -Author: Behdad Esfahbod -Date: Tue Nov 6 10:49:19 2018 -0500 - - [util] Don't terminate string after a a 0 in -u - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1361 - - util/options.cc | 4 +++- - util/options.hh | 2 ++ - 2 files changed, 5 insertions(+), 1 deletion(-) - -commit 8790b2740a334f1789fb0cf329f2b8ac9733793c -Author: Behdad Esfahbod -Date: Tue Nov 6 10:24:54 2018 -0500 - - [fuzzing] Fix test - - test/fuzzing/hb-shape-fuzzer.cc | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 3af0a7edd0c99aaef846ae787056d7664bc69d35 -Author: Behdad Esfahbod -Date: Tue Nov 6 10:20:57 2018 -0500 - - [fuzzing] Add make check-valgrind - - test/fuzzing/Makefile.am | 2 ++ - 1 file changed, 2 insertions(+) - -commit b062378ce640eb418cb413b595b79cc81a193209 -Author: Behdad Esfahbod -Date: Tue Nov 6 10:20:36 2018 -0500 - - [test] Minor - - test/api/.valgrind-suppressions | 0 - test/api/Makefile.am | 2 +- - 2 files changed, 1 insertion(+), 1 deletion(-) - -commit 37f421c951c853dff165df6731d0ab9c46350790 -Author: Behdad Esfahbod -Date: Tue Nov 6 10:03:38 2018 -0500 - - Minor - - src/hb-ot-layout.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit b6112e5ea4d08fcbfa8f7cb4ef3903514a6e99f3 -Author: Ebrahim Byagowi -Date: Tue Nov 6 11:42:47 2018 +0330 - - [test] Fix -Weverything bot complain - - test/api/test-ot-name.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit a49df419f04b4065fc7f70a77c5cbc453e6ba906 -Author: Ebrahim Byagowi -Date: Tue Nov 6 11:26:30 2018 +0330 - - [test] Test hb_ot_name_{list_names,get_utf8} on test-ot-name - - test/api/test-ot-name.c | 27 ++++++++++++++++++++++++--- - 1 file changed, 24 insertions(+), 3 deletions(-) - -commit 9139cc23ea9fb339be9426860e0c72038d32a2ab -Author: Ebrahim Byagowi -Date: Tue Nov 6 11:17:14 2018 +0330 - - Fix link issue of some of the bots - - e.g. https://circleci.com/gh/harfbuzz/harfbuzz/52410 - - src/hb-ot-layout.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 98b37f0c109d0f7454e91c9563c56d1903d6d496 -Author: Ebrahim Byagowi -Date: Tue Nov 6 09:16:28 2018 +0330 - - [mort] Fix table detection logic - - mort really needs some initial tests at least. - - src/hb-aat-layout.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit fa3ebf845fcffa827600fc4ca9fdde3aaa99f4c5 -Author: Behdad Esfahbod -Date: Mon Nov 5 23:34:07 2018 -0500 - - Simplify some more - - src/hb-aat-layout.cc | 10 +++++----- - src/hb-ot-layout.cc | 2 +- - 2 files changed, 6 insertions(+), 6 deletions(-) - -commit 61f52231f430c72e1b66b76dabb018cfe45a01d5 -Author: Behdad Esfahbod -Date: Mon Nov 5 23:28:52 2018 -0500 - - [math] Shorten names a bit - - src/hb-ot-math-table.hh | 4 ++-- - src/hb-ot-math.cc | 33 +++++++++++++++++++-------------- - 2 files changed, 21 insertions(+), 16 deletions(-) - -commit 737efbe65583a71d7df9ae7b423d9fb1d68599b7 -Author: Behdad Esfahbod -Date: Mon Nov 5 23:26:29 2018 -0500 - - [ot-layout] Simplify GSUB/GPOS access - - This concludes simplifying table access to face->table.XXXX. - - src/hb-ot-layout.cc | 31 +++++++++++++------------------ - 1 file changed, 13 insertions(+), 18 deletions(-) - -commit 5e68cec17913e9f6e98e5017a56c78a5614e4030 -Author: Behdad Esfahbod -Date: Mon Nov 5 23:23:57 2018 -0500 - - [ot-layout] Simplify GDEF access - - src/hb-ot-layout.cc | 44 ++++++++++++++++---------------------------- - 1 file changed, 16 insertions(+), 28 deletions(-) - -commit 33b006cc51b0d27cbe1d8ed498bbf2b548cb6554 -Author: Behdad Esfahbod -Date: Mon Nov 5 23:19:04 2018 -0500 - - [ot-layout] Simplify some access - - src/hb-ot-layout-gdef-table.hh | 2 +- - src/hb-ot-layout-gpos-table.hh | 9 +++++---- - src/hb-ot-layout-gsub-table.hh | 9 +++++---- - src/hb-ot-layout-gsubgpos.hh | 2 +- - src/hb-ot-layout.hh | 12 +----------- - 5 files changed, 13 insertions(+), 21 deletions(-) - -commit db35409f0db9faf91a10defc81e4d6d60dc7822a -Author: Behdad Esfahbod -Date: Mon Nov 5 23:11:46 2018 -0500 - - [ot-layout] Remove ensures - - src/hb-ot-layout.cc | 14 ++++---------- - 1 file changed, 4 insertions(+), 10 deletions(-) - -commit 9198de7b9b6020c1e3d6a48783e36db7e1f7e99a -Author: Behdad Esfahbod -Date: Mon Nov 5 23:10:37 2018 -0500 - - [ot-font] Remove ensure - - src/hb-ot-font.cc | 1 - - 1 file changed, 1 deletion(-) - -commit ea6d9b661fc3cf6bc4366feeb7694c0b712abfae -Author: Behdad Esfahbod -Date: Mon Nov 5 23:09:29 2018 -0500 - - [ot-face] Remove a few ensures - - src/hb-face.cc | 3 --- - 1 file changed, 3 deletions(-) - -commit 0fe7a745c9a323a3fc76beb011b6ab8919cf905b -Author: Behdad Esfahbod -Date: Mon Nov 5 23:08:33 2018 -0500 - - [ot-face] Simplify more table access - - src/hb-face.cc | 6 +++--- - src/hb-ot-face.hh | 3 --- - src/hb-ot-font.cc | 4 +--- - src/hb-ot-layout.cc | 34 +++++++++++++++++----------------- - 4 files changed, 21 insertions(+), 26 deletions(-) - -commit a35c92cbe771a75df40412fd248ad06f6a0cfebf -Author: Behdad Esfahbod -Date: Mon Nov 5 22:58:43 2018 -0500 - - [ot-face] Simplify table access - - Yoohoo! - - src/hb-aat-layout.cc | 107 ++++++++++----------------------------------------- - src/hb-ot-color.cc | 66 ++++++++----------------------- - src/hb-ot-layout.cc | 20 ++-------- - src/hb-ot-math.cc | 47 ++++++++-------------- - src/hb-ot-name.cc | 11 +----- - src/hb-ot-var.cc | 33 ++++------------ - 6 files changed, 64 insertions(+), 220 deletions(-) - -commit 914b595f2598d5bdb2c750832d567a57d45db84e -Author: Behdad Esfahbod -Date: Mon Nov 5 22:39:50 2018 -0500 - - [ot-face] Include hb-ot-face directly in hb_face_t - - Simplifying access coming next. - - src/hb-face.cc | 4 ++++ - src/hb-face.hh | 3 +++ - src/hb-ot-face.cc | 24 ++---------------------- - src/hb-ot-face.hh | 39 +++++++++++++++------------------------ - src/hb-ot-font.cc | 24 ++++++++++++------------ - src/hb-ot-math.cc | 3 +-- - src/hb-ot-shape.cc | 5 +++-- - 7 files changed, 40 insertions(+), 62 deletions(-) - -commit 56ba998cddbb2ba5d24fb0b02d2bf77a46c0f23f -Author: Behdad Esfahbod -Date: Mon Nov 5 19:49:54 2018 -0500 - - [cmap] Push get_nominal_glyphs down into cmap accelerator - - src/hb-ot-cmap-table.hh | 21 +++++++++++++++++++++ - src/hb-ot-font.cc | 13 +++---------- - 2 files changed, 24 insertions(+), 10 deletions(-) - -commit 36d85dce25abd079252d973f804220bf7b97e987 -Author: Behdad Esfahbod -Date: Mon Nov 5 19:46:29 2018 -0500 - - [cmap] Use hb_nonnullptr_t - - src/hb-ot-cmap-table.hh | 34 ++++++++++++++-------------------- - 1 file changed, 14 insertions(+), 20 deletions(-) - -commit 8be74d85534534dbdd39a0a6f496e26e9f3e661d -Author: Behdad Esfahbod -Date: Mon Nov 5 18:47:22 2018 -0500 - - 2.1.1 - - NEWS | 8 ++++++++ - configure.ac | 2 +- - src/hb-version.h | 4 ++-- - 3 files changed, 11 insertions(+), 3 deletions(-) - -commit 6482fda519ca7d173e3bcb3717aa30e237f04b25 -Author: Behdad Esfahbod -Date: Mon Nov 5 15:03:18 2018 -0500 - - [fuzzing] Fuzz glyph-id etc in test-ot-face - - test/api/test-ot-face.c | 57 +++++++++++++++++++++-------------------- - test/fuzzing/hb-shape-fuzzer.cc | 19 +------------- - 2 files changed, 30 insertions(+), 46 deletions(-) - -commit 252632c477b963f305116d69fcafacd8bf7b97bf -Author: Behdad Esfahbod -Date: Mon Nov 5 14:33:41 2018 -0500 - - [uniscribe] Fix use of deprecated API - - src/hb-uniscribe.cc | 8 +++++++- - 1 file changed, 7 insertions(+), 1 deletion(-) - -commit bb380ec18394b2c581b672ecbf98991e14897f2e -Author: Behdad Esfahbod -Date: Mon Nov 5 13:45:12 2018 -0500 - - [cmap] Make null accelerator safe - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1146 - - src/hb-ot-cmap-table.hh | 50 ++++++++++++++++++++++++------------------------- - 1 file changed, 25 insertions(+), 25 deletions(-) - -commit f6fc5574d3dae177a54b10195e0d1f368a74f768 -Author: Behdad Esfahbod -Date: Mon Nov 5 13:23:54 2018 -0500 - - Add pointer magic operators to hb_atomic_ptr_t - - src/hb-atomic.hh | 3 +++ - src/hb-common.cc | 6 +++--- - src/hb-face.cc | 2 +- - src/hb-graphite2.cc | 8 ++++---- - src/hb-machinery.hh | 1 + - src/hb-ot-shape-complex-arabic.cc | 4 ++-- - src/hb-shape-plan.cc | 2 +- - 7 files changed, 15 insertions(+), 11 deletions(-) - -commit f6e7cb51b13aabb447dc97a59602d65eb42edc4b -Author: Behdad Esfahbod -Date: Mon Nov 5 13:23:07 2018 -0500 - - Fix const-confusion in hb_array_t as well - - src/hb-dsalgs.hh | 6 ++---- - 1 file changed, 2 insertions(+), 4 deletions(-) - -commit 0da22fb0ada8a54fc59739057f281a406a993212 -Author: Behdad Esfahbod -Date: Mon Nov 5 13:13:39 2018 -0500 - - [null] Tweak hb_nonnull_ptr_t some more - - src/hb-null.hh | 18 ++++++------------ - 1 file changed, 6 insertions(+), 12 deletions(-) - -commit 03348ce0051cfae7172ac0d09b83ed5f82fa842a -Author: Behdad Esfahbod -Date: Mon Nov 5 12:59:32 2018 -0500 - - Minor - - src/hb-aat-layout.cc | 12 ++++++------ - src/hb-ot-color.cc | 10 +++++----- - src/hb-ot-font.cc | 18 +++++++++--------- - src/hb-ot-layout.cc | 2 +- - src/hb-ot-math.cc | 2 +- - src/hb-ot-name.cc | 2 +- - src/hb-ot-var.cc | 6 ++---- - 7 files changed, 25 insertions(+), 27 deletions(-) - -commit ec6817c1bd82a60b84cb868e4d7ff4c65cb80ccc -Author: Michiharu Ariza -Date: Mon Nov 5 07:59:08 2018 -0800 - - remove build files accidentally pushed - - INSTALL | 370 - - Makefile | 954 -- - Makefile.in | 954 -- - aclocal.m4 | 1496 --- - ar-lib | 270 - - autom4te.cache/output.0 | 23333 ---------------------------------------------- - autom4te.cache/output.1 | 23333 ---------------------------------------------- - autom4te.cache/output.2 | 23333 ---------------------------------------------- - autom4te.cache/requests | 555 -- - autom4te.cache/traces.0 | 3823 -------- - autom4te.cache/traces.1 | 1229 --- - autom4te.cache/traces.2 | 3823 -------- - compile | 347 - - config.guess | 1421 --- - config.h | 227 - - config.h.in | 226 - - config.log | 1560 ---- - config.status | 2420 ----- - config.sub | 1807 ---- - configure | 23333 ---------------------------------------------- - depcomp | 791 -- - install-sh | 501 - - libtool | 11805 ----------------------- - ltmain.sh | 11147 ---------------------- - missing | 215 - - stamp-h1 | 1 - - test-driver | 148 - - 27 files changed, 139422 deletions(-) - -commit b721fdae662673ab706da897aaa1db126f8ca1a5 -Author: Michiharu Ariza -Date: Sun Nov 4 16:19:15 2018 -0800 - - fixed leaks in CFF subr subset - - src/hb-ot-cff-common.hh | 10 +++++++++- - src/hb-subset-cff-common.hh | 10 +++++++++- - 2 files changed, 18 insertions(+), 2 deletions(-) - -commit 85f5644e8e9fe18032e37d4153c3c928d087ac6a -Author: Michiharu Ariza -Date: Sun Nov 4 14:17:30 2018 -0800 - - added missing switch breaks - - src/hb-subset-cff-common.hh | 2 ++ - 1 file changed, 2 insertions(+) - -commit 1682d1bbecaeeddc8a1678a01c57c0e0023bf7c4 -Merge: d8fadec09 b605db2f6 -Author: Michiharu Ariza -Date: Sun Nov 4 13:25:41 2018 -0800 - - Merge branch 'master' into cff-subset - -commit d8fadec098935335e69e46c1101da3f142824638 -Author: Michiharu Ariza -Date: Sun Nov 4 13:12:20 2018 -0800 - - added desubroutinize full font test profiles & expected fonts - - modified subset_test_suite.py to apply desubroutinize profiles to CFF only (not to TT) - - ...urceSansPro-Regular.default.1FC,21,41,20,62,63.otf | Bin 3640 -> 3784 bytes - .../SourceSansPro-Regular.default.61,62,63.otf | Bin 3400 -> 3496 bytes - .../SourceSansPro-Regular.default.D7,D8,D9,DA,DE.otf | Bin 3596 -> 3612 bytes - ...sPro-Regular.desubroutinize.1FC,21,41,20,62,63.otf | Bin 0 -> 3640 bytes - .../SourceSansPro-Regular.desubroutinize.61,62,63.otf | Bin 0 -> 3400 bytes - ...eSansPro-Regular.desubroutinize.D7,D8,D9,DA,DE.otf | Bin 0 -> 3596 bytes - ...eSansPro-Regular.drop-hints.1FC,21,41,20,62,63.otf | Bin 3480 -> 3564 bytes - .../SourceSansPro-Regular.drop-hints.61,62,63.otf | Bin 3276 -> 3340 bytes - ...ourceSansPro-Regular.drop-hints.D7,D8,D9,DA,DE.otf | Bin 3448 -> 3464 bytes - ...r.drop-hints.desubroutinize.1FC,21,41,20,62,63.otf | Bin 0 -> 3480 bytes - ...Pro-Regular.drop-hints.desubroutinize.61,62,63.otf | Bin 0 -> 3276 bytes - ...gular.drop-hints.desubroutinize.D7,D8,D9,DA,DE.otf | Bin 0 -> 3448 bytes - ...-Regular.default.3042,3044,3046,3048,304A,304B.otf | Bin 6248 -> 6324 bytes - ...-Regular.default.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 6432 -> 6568 bytes - .../SourceHanSans-Regular.default.61,63,65,6B.otf | Bin 5428 -> 5500 bytes - ...-Regular.default.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 6552 -> 6780 bytes - .../japanese/SourceHanSans-Regular.default.660E.otf | Bin 5196 -> 5248 bytes - ....otf => SourceHanSans-Regular.desubroutinize..otf} | Bin - ...r.desubroutinize.3042,3044,3046,3048,304A,304B.otf | Bin 0 -> 6248 bytes - ...r.desubroutinize.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 0 -> 6432 bytes - ...urceHanSans-Regular.desubroutinize.61,63,65,6B.otf | Bin 0 -> 5428 bytes - ...r.desubroutinize.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 0 -> 6552 bytes - .../SourceHanSans-Regular.desubroutinize.660E.otf | Bin 0 -> 5196 bytes - ...gular.drop-hints.3042,3044,3046,3048,304A,304B.otf | Bin 6076 -> 6132 bytes - ...gular.drop-hints.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 6180 -> 6304 bytes - .../SourceHanSans-Regular.drop-hints.61,63,65,6B.otf | Bin 5312 -> 5344 bytes - ...gular.drop-hints.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 6248 -> 6472 bytes - .../SourceHanSans-Regular.drop-hints.660E.otf | Bin 5088 -> 5140 bytes - ...rceHanSans-Regular.drop-hints.desubroutinize..otf} | Bin - ...s.desubroutinize.3042,3044,3046,3048,304A,304B.otf | Bin 0 -> 6076 bytes - ...s.desubroutinize.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 0 -> 6180 bytes - ...-Regular.drop-hints.desubroutinize.61,63,65,6B.otf | Bin 0 -> 5312 bytes - ...s.desubroutinize.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 0 -> 6248 bytes - ...HanSans-Regular.drop-hints.desubroutinize.660E.otf | Bin 0 -> 5140 bytes - test/subset/data/profiles/desubroutinize.txt | 1 + - .../data/profiles/drop-hints-desubroutinize.txt | 2 ++ - test/subset/generate-expected-outputs.py | 1 - - test/subset/subset_test_suite.py | 7 ++++++- - 38 files changed, 9 insertions(+), 2 deletions(-) - -commit b605db2f65e62ad6727a61481f78015933dbf207 -Author: Behdad Esfahbod -Date: Sun Nov 4 12:58:02 2018 -0500 - - [aat] Clean up ankr table include mess - - src/hb-aat-layout-ankr-table.hh | 2 ++ - src/hb-aat-layout-common.hh | 31 +++++++++--------------------- - src/hb-aat-layout-kerx-table.hh | 16 ++++++++-------- - src/hb-aat-layout.cc | 42 +++++++++++++++++++++++++++++++++++++++-- - src/hb-ot-kern-table.hh | 1 - - src/hb-static.cc | 1 - - 6 files changed, 59 insertions(+), 34 deletions(-) - -commit bce437cf0b71e9b60bbf058eaf61593fed30ae33 -Author: Behdad Esfahbod -Date: Sun Nov 4 02:47:34 2018 -0500 - - [test] Call test-ot-face.c test from hb-shape-fuzzer - - Should increase coverage... - - test/api/test-ot-face.c | 28 ++++++++++++++++++---------- - test/fuzzing/hb-shape-fuzzer.cc | 6 ++++++ - 2 files changed, 24 insertions(+), 10 deletions(-) - -commit 777c22425cae97009ca4dc5b1e400670c4aa0799 -Author: Behdad Esfahbod -Date: Sun Nov 4 02:40:20 2018 -0500 - - [test] More funcs in test-ot-face - - test/api/test-font.c | 5 +++++ - test/api/test-ot-face.c | 21 +++++++++++++++++++-- - 2 files changed, 24 insertions(+), 2 deletions(-) - -commit 17335a8161e674e630287e18a6d304ec0c33767c -Author: Behdad Esfahbod -Date: Sun Nov 4 02:25:07 2018 -0500 - - Clean up buffer->swap_buffers() calls - - That function checks for buffer->successful already. No need - to check at call site. - - src/gen-vowel-constraints.py | 4 +--- - src/hb-aat-layout-common.hh | 3 +-- - src/hb-aat-layout-morx-table.hh | 3 +-- - src/hb-ot-shape-complex-indic.cc | 1 - - src/hb-ot-shape-complex-khmer.cc | 1 - - src/hb-ot-shape-complex-myanmar.cc | 1 - - src/hb-ot-shape-complex-thai.cc | 3 +-- - src/hb-ot-shape-complex-use.cc | 1 - - src/hb-ot-shape-complex-vowel-constraints.cc | 5 ++--- - src/hb-ot-shape.cc | 1 - - 10 files changed, 6 insertions(+), 17 deletions(-) - -commit 191ca0f15b7fc9ab959e1f6472c48839687402ec -Author: Michiharu Ariza -Date: Sat Nov 3 22:42:22 2018 -0700 - - CFF1 no-desubr fixes - - make sure charstring/subrs not ending with endchar/return handled correctly - if no local subrs, skip serializing Subrs op in Private - misc fixes - - src/hb-ot-cff-common.hh | 13 +++++++++- - src/hb-subset-cff-common.hh | 59 +++++++++++++++++++++++---------------------- - src/hb-subset-cff1.cc | 27 +++++++++++++++------ - 3 files changed, 62 insertions(+), 37 deletions(-) - -commit 4eb52460c8c6dc48af240f2254f76fae065bfa97 -Author: Behdad Esfahbod -Date: Sat Nov 3 21:45:39 2018 -0400 - - Fix >> - - src/hb-ot-post-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit ae9ad1076e536aee370f9863cde8351b79f01b3b -Author: Behdad Esfahbod -Date: Sat Nov 3 21:41:50 2018 -0400 - - Fix "Warning: extra ";" ignored." - - src/hb.hh | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit d0163afb7bed83935c6a54d57a0e7366caeba0b3 -Author: Behdad Esfahbod -Date: Sat Nov 3 21:38:24 2018 -0400 - - Revert "Add operator char * to the naked array types as well" - - This reverts commit db889c182ee5f54127285bfaab5bc94dafe46bda. - - Was resulting in ambigious overloads... - - src/hb-dsalgs.hh | 4 +--- - src/hb-open-type.hh | 2 -- - 2 files changed, 1 insertion(+), 5 deletions(-) - -commit c8f94a1ca6928f07749285da910b63087d485537 -Author: Behdad Esfahbod -Date: Sat Nov 3 21:07:39 2018 -0400 - - Minor - - src/hb-ot-name.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 9779e602ed7ac214c0da2c90e104b38460422476 -Author: Behdad Esfahbod -Date: Sat Nov 3 20:50:56 2018 -0400 - - [test] Add test for empty face - - test/api/Makefile.am | 1 + - test/api/test-ot-face.c | 94 +++++++++++++++++++++++++++++++++++++++++++++++++ - 2 files changed, 95 insertions(+) - -commit 1da4de7e7b71dfde734cb77ec6acb31f574585f2 -Author: Michiharu Ariza -Date: Sat Nov 3 15:41:29 2018 -0700 - - fix for subset fuzzer failure - - A called subr must be freshly parsed or completely parsed. otherwise the prevoius parse must have terminated prematurely - - src/hb-subset-cff1.cc | 3 +++ - 1 file changed, 3 insertions(+) - -commit 0b0b38ec1e6a815a30bef98193043d255b52c4a1 -Author: Behdad Esfahbod -Date: Sat Nov 3 16:15:30 2018 -0400 - - Fix null accelerator's - - Fixes all except for cmap. To be done separately. - - Part of https://github.com/harfbuzz/harfbuzz/issues/1146 - - src/hb-ot-color-cbdt-table.hh | 10 ++-------- - src/hb-ot-color-sbix-table.hh | 11 ++++------- - src/hb-ot-color-svg-table.hh | 11 ++++------- - src/hb-ot-glyf-table.hh | 6 +++--- - src/hb-ot-layout-gdef-table.hh | 2 +- - src/hb-ot-layout-gsubgpos.hh | 2 +- - src/hb-ot-name-table.hh | 2 +- - src/hb-ot-post-table.hh | 2 +- - 8 files changed, 17 insertions(+), 29 deletions(-) - -commit db889c182ee5f54127285bfaab5bc94dafe46bda -Author: Behdad Esfahbod -Date: Sat Nov 3 16:04:19 2018 -0400 - - Add operator char * to the naked array types as well - - src/hb-dsalgs.hh | 4 +++- - src/hb-open-type.hh | 2 ++ - 2 files changed, 5 insertions(+), 1 deletion(-) - -commit d6fdae310f2a98ca624c3a77c3aa03b8b3bd393a -Author: Behdad Esfahbod -Date: Sat Nov 3 16:02:03 2018 -0400 - - Add operator char * to hb_nonnull_ptr_t - - src/hb-null.hh | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 7430ff604aa54bedcb07cc1c2962eae85fcade76 -Author: Behdad Esfahbod -Date: Sat Nov 3 15:59:13 2018 -0400 - - Template casts in hb_nonnull_ptr_t - - src/hb-null.hh | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -commit da408fce98153e0fab3d82fe28813085feed0974 -Author: Behdad Esfahbod -Date: Sat Nov 3 15:49:37 2018 -0400 - - [blob] Allow null parent in create_sub_blob() - - Like font and unicode. - - src/hb-blob.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit fb0f30f55a5d654b2f1f9b99efa9b8abc51dbf34 -Author: Behdad Esfahbod -Date: Sat Nov 3 15:24:14 2018 -0400 - - Add hb_nonnull_ptr_t - - Towards fixing https://github.com/harfbuzz/harfbuzz/issues/1146 - - src/hb-null.hh | 28 ++++++++++++++++++++++++++++ - 1 file changed, 28 insertions(+) - -commit 8d98c51d133b058a845ed7a84bfe8a43083bbb03 -Author: Behdad Esfahbod -Date: Sat Nov 3 15:14:57 2018 -0400 - - [kern] Third try fix access violation in Format3 - - Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=11245 - - src/hb-ot-kern-table.hh | 1 - - 1 file changed, 1 deletion(-) - -commit f074da8c2b6a7061c71d12213a6c494c119eb20e -Author: Behdad Esfahbod -Date: Sat Nov 3 15:06:45 2018 -0400 - - [kern] Really fix access violation in Format3 - - Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=11245 - - src/hb-ot-kern-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 93ef20a83b31e6528bb1835d2b4b83b913805885 -Author: Behdad Esfahbod -Date: Sat Nov 3 15:03:06 2018 -0400 - - Replace most uses of is_inert with is_immutable - - src/hb-buffer.cc | 32 ++++++++++++++++---------------- - src/hb-coretext.cc | 2 +- - src/hb-font.cc | 2 +- - src/hb-set.hh | 8 +++++--- - src/hb-shape-plan.cc | 2 +- - 5 files changed, 24 insertions(+), 22 deletions(-) - -commit 0589787ff55bff9bd5849c4443229e926cc574a5 -Author: Behdad Esfahbod -Date: Sat Nov 3 14:58:54 2018 -0400 - - [kern] Fix access violation in Format3 - - Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=11245 - - src/hb-ot-kern-table.hh | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -commit 5570c87f21f061cc197e02bd0526ab44c63ed6f1 -Author: Behdad Esfahbod -Date: Sat Nov 3 14:51:38 2018 -0400 - - Port objects to use header.writable instead of immutable - - Saves 4 or 8 bytes per object on 64bit archs. - - src/hb-blob.cc | 12 ++++-------- - src/hb-blob.hh | 2 -- - src/hb-face.cc | 16 ++++++---------- - src/hb-face.hh | 2 -- - src/hb-font.cc | 46 +++++++++++++++++++--------------------------- - src/hb-font.hh | 4 ---- - src/hb-ft.cc | 2 +- - src/hb-object.hh | 11 ++++++++--- - src/hb-unicode.cc | 11 ++++------- - src/hb-unicode.hh | 2 -- - 10 files changed, 42 insertions(+), 66 deletions(-) - -commit ee351a38ec0c62b76dd1b3f20fe56cb4d63e62be -Author: Behdad Esfahbod -Date: Sat Nov 3 14:28:55 2018 -0400 - - [object] Add "writable" - - src/hb-object.hh | 14 +++++++++++++- - 1 file changed, 13 insertions(+), 1 deletion(-) - -commit b8a78ce201608e9ac6d7f77447b2bbef6f09e9ff -Author: Ebrahim Byagowi -Date: Sat Nov 3 22:28:30 2018 +0330 - - [BASE] Improvements (#1347) - - src/hb-ot-layout-base-table.hh | 610 ++++++++++++++++++----------------------- - src/hb-ot-layout.cc | 65 ++++- - src/hb-ot-layout.h | 16 -- - test/api/Makefile.am | 1 + - test/api/fonts/base.ttf | Bin 0 -> 5596 bytes - test/api/test-baseline.c | 58 ++++ - 6 files changed, 380 insertions(+), 370 deletions(-) - -commit c560ca92512c0283e826c059431273ffecf5d993 -Author: Ebrahim Byagowi -Date: Sat Nov 3 13:03:36 2018 +0330 - - [fuzz] A new testcase - - ...uzz-testcase-minimized-hb-shape-fuzzer-5735679418433536 | Bin 0 -> 36 bytes - 1 file changed, 0 insertions(+), 0 deletions(-) - -commit 34b06d994a79124963d2a7432d0ec945e72bfdbd -Author: Michiharu Ariza -Date: Fri Nov 2 16:40:20 2018 -0700 - - fixed FDSelect size calcluation - - src/hb-ot-cff-common.hh | 2 +- - src/hb-subset-cff-common.cc | 6 +++--- - test/api/fonts/SourceHanSans-Regular.41,3041,4C2E.otf | Bin 2576 -> 3892 bytes - 3 files changed, 4 insertions(+), 4 deletions(-) - -commit 481fdfdc23f557400ad3aceeceeab07add78f005 -Merge: 1bc710a8c 2840a104c -Author: Michiharu Ariza -Date: Fri Nov 2 15:28:09 2018 -0700 - - Merge branch 'cff-subset' of https://github.com/harfbuzz/harfbuzz into cff-subset - -commit 1bc710a8c94fbe08ca3a3e535c7b6597a57883df -Author: Michiharu Ariza -Date: Fri Nov 2 15:28:01 2018 -0700 - - added CFF1 desubr api test cases & bug fixes - - src/hb-cff1-interp-cs.hh | 7 -- - src/hb-ot-cff-common.hh | 56 ++++++---- - src/hb-subset-cff-common.hh | 100 +++++++++-------- - src/hb-subset-cff1.cc | 53 ++++----- - .../fonts/SourceHanSans-Regular.41,3041,4C2E.otf | Bin 3892 -> 2576 bytes - .../SourceHanSans-Regular.41,4C2E.nohints.otf | Bin 0 -> 2380 bytes - ...urceHanSans-Regular.41,4C2E.nosubrs.nohints.otf | Bin 0 -> 2360 bytes - .../SourceHanSans-Regular.41,4C2E.nosubrs.otf | Bin 0 -> 2548 bytes - test/api/fonts/SourceHanSans-Regular.41,4C2E.otf | Bin 2548 -> 2576 bytes - test/api/fonts/SourceSansPro-Regular.abc.otf | Bin 3412 -> 1812 bytes - .../api/fonts/SourceSansPro-Regular.ac.nohints.otf | Bin 3228 -> 1592 bytes - .../SourceSansPro-Regular.ac.nosubrs.nohints.otf | Bin 0 -> 1540 bytes - .../api/fonts/SourceSansPro-Regular.ac.nosubrs.otf | Bin 0 -> 1632 bytes - test/api/fonts/SourceSansPro-Regular.ac.otf | Bin 3332 -> 1708 bytes - test/api/test-subset-cff1.c | 122 +++++++++++++++++++++ - 15 files changed, 232 insertions(+), 106 deletions(-) - -commit 2c68f34bddbe506d0b22948562f2f59b9a5b6050 -Author: Khaled Hosny -Date: Fri Nov 2 23:06:00 2018 +0200 - - [os2] Capitalize table tag and struct - - Other tables follow the case of the OT tag, except this one. - - src/hb-ot-hmtx-table.hh | 6 +++--- - src/hb-ot-os2-table.hh | 12 ++++++------ - src/hb-subset.cc | 4 ++-- - 3 files changed, 11 insertions(+), 11 deletions(-) - -commit 8034d1dda091998d356e77f249d3c9f50501cc77 -Author: Behdad Esfahbod -Date: Fri Nov 2 14:47:42 2018 -0400 - - [kern] Implement Format1 - - Also, implement backwards kerning for Format1 in kern and kerx. - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1350 - - src/hb-aat-layout-kerx-table.hh | 11 +++- - src/hb-ot-kern-table.hh | 127 ++++++++++++++++++++++++++++++++++++++++ - 2 files changed, 136 insertions(+), 2 deletions(-) - -commit 46b3885c1a8ea3b85efbdd1704edcee385797c5d -Author: Behdad Esfahbod -Date: Fri Nov 2 14:43:38 2018 -0400 - - [kern] Set subtable on sanitizer - - src/hb-ot-kern-table.hh | 2 ++ - 1 file changed, 2 insertions(+) - -commit 74c7a2c6c892446dcec574986e128967bd570e47 -Author: Behdad Esfahbod -Date: Fri Nov 2 14:26:04 2018 -0400 - - [kern] Respect more flags - - src/hb-ot-kern-table.hh | 21 +++++++++++++++------ - 1 file changed, 15 insertions(+), 6 deletions(-) - -commit 9f880bad0d7291eaab10d814567c7a680e139c48 -Author: Behdad Esfahbod -Date: Fri Nov 2 13:57:41 2018 -0400 - - [kern] Minor - - We like check_struct() more. - - src/hb-ot-kern-table.hh | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit 04b82b181d06c229a98314c1620d3ae8a2825267 -Author: Behdad Esfahbod -Date: Fri Nov 2 13:47:33 2018 -0400 - - Remove pointer cast operators from ArrayOf<> - - ArrayOf<>, unlike UnsizedArrayOf<>, has data before the array. - This was confusing. Remove. - - src/hb-open-type.hh | 3 --- - 1 file changed, 3 deletions(-) - -commit f1df441bedaf5b2c7fadf9954ea39616af87702a -Author: Behdad Esfahbod -Date: Fri Nov 2 13:26:15 2018 -0400 - - [kern] Comment - - src/hb-ot-kern-table.hh | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit 095f5add0b1ca39dd09842594b80fae92f0796e4 -Author: Behdad Esfahbod -Date: Fri Nov 2 13:23:54 2018 -0400 - - [kern] Push apply loop to each subtable - - src/hb-ot-kern-table.hh | 153 ++++++++++++++++++++++++++++++++++++++---------- - src/hb-ot-layout.cc | 28 ++++++--- - src/hb-ot-layout.hh | 8 ++- - src/hb-ot-shape.cc | 2 +- - 4 files changed, 149 insertions(+), 42 deletions(-) - -commit 949dad89a81ff5b6ef92e8737962b667249a3f2b -Author: Behdad Esfahbod -Date: Fri Nov 2 12:47:55 2018 -0400 - - [kern] Remove accelerator - - It wasn't doing anything. - - src/hb-ot-face.hh | 2 +- - src/hb-ot-kern-table.hh | 55 ++++++++++++++----------------------------------- - src/hb-ot-layout.cc | 4 ++-- - 3 files changed, 18 insertions(+), 43 deletions(-) - -commit 0382b7184addf5b3723db40a57790e5e62ac1703 -Author: Behdad Esfahbod -Date: Fri Nov 2 12:23:26 2018 -0400 - - Use as_array in more places - - src/hb-aat-layout-morx-table.hh | 4 ++-- - src/hb-ot-layout-gsubgpos.hh | 22 +++++++++++++--------- - 2 files changed, 15 insertions(+), 11 deletions(-) - -commit 91de9dfcf3bba7cbeef1e709679c8e24ab684c97 -Author: Behdad Esfahbod -Date: Fri Nov 2 12:14:21 2018 -0400 - - Fix &array_of<> - - src/hb-dsalgs.hh | 3 +++ - src/hb-open-type.hh | 4 ++-- - 2 files changed, 5 insertions(+), 2 deletions(-) - -commit 9b7cb137946013592c9a5a9f0a3464fb4613577b -Author: Behdad Esfahbod -Date: Fri Nov 2 12:00:55 2018 -0400 - - Fixup - - src/hb-dsalgs.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 6e06fe162ed79bb47f62aae03669cd72b99014a0 -Author: Behdad Esfahbod -Date: Fri Nov 2 11:56:55 2018 -0400 - - [kern] Implement Format3 - - Untested. - - src/hb-ot-kern-table.hh | 51 +++++++++++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 51 insertions(+) - -commit c6ef5dbd5c40cc8934756456221e080012a82530 -Author: Behdad Esfahbod -Date: Fri Nov 2 11:51:21 2018 -0400 - - Add cast operators to hb_array_t - - src/hb-dsalgs.hh | 21 +++++++++++++-------- - 1 file changed, 13 insertions(+), 8 deletions(-) - -commit 72462eb76584a2892f1d961c90fd289240ea9380 -Author: Behdad Esfahbod -Date: Fri Nov 2 11:46:24 2018 -0400 - - Add UnsizedArrayOf::as_array() instead of hb_array() template - - src/hb-aat-layout-trak-table.hh | 2 +- - src/hb-dsalgs.hh | 2 -- - src/hb-open-file.hh | 2 +- - src/hb-open-type.hh | 11 +++-------- - src/hb-ot-color-cpal-table.hh | 6 +++--- - 5 files changed, 8 insertions(+), 15 deletions(-) - -commit 1cf075ecb674cc0c7043bffe2fef5ef187c15335 -Author: Behdad Esfahbod -Date: Fri Nov 2 11:38:00 2018 -0400 - - Add get_size to UnsizedArrayOf - - src/hb-open-type.hh | 3 +++ - 1 file changed, 3 insertions(+) - -commit a4a7a623893fd4c8db3a987d81a1c80243006f1e -Author: Behdad Esfahbod -Date: Fri Nov 2 11:16:43 2018 -0400 - - [kern] Add buffer message - - src/hb-ot-kern-table.hh | 5 +++++ - 1 file changed, 5 insertions(+) - -commit 0b2870085ddecdde8370eebc7c2bb346b1992b93 -Author: Michiharu Ariza -Date: Thu Nov 1 22:43:17 2018 -0700 - - removed unused code - - src/hb-cff-interp-common.hh | 18 ------------------ - 1 file changed, 18 deletions(-) - -commit 6186dbf1be4da88d9c4f1ef5cea19fd7779f29ab -Author: Michiharu Ariza -Date: Thu Nov 1 17:25:23 2018 -0700 - - added hb_subset_input_set_desubroutinize API - - hooked up with CFF1 subroutinizer - a renaming - - src/hb-subset-cff-common.hh | 2 +- - src/hb-subset-cff1.cc | 4 ++-- - src/hb-subset-input.cc | 13 +++++++++++++ - src/hb-subset.h | 5 +++++ - util/hb-subset.cc | 1 + - util/options.cc | 2 +- - 6 files changed, 23 insertions(+), 4 deletions(-) - -commit b1d0c589154d080ff519c3e80aea923185787b13 -Author: Michiharu Ariza -Date: Thu Nov 1 16:33:46 2018 -0700 - - removed extraneous ;s - - src/hb-cff-interp-common.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 2840a104c1288af79cbda720afa9e37aec6fb29d -Author: Michiharu Ariza -Date: Thu Nov 1 16:18:13 2018 -0700 - - tweaks to build with new merge - - src/hb-cff2-interp-cs.hh | 11 +++++++---- - src/hb-ot-cff2-table.cc | 9 +++++---- - src/hb-ot-cff2-table.hh | 7 +++---- - src/hb-subset-cff-common.cc | 12 ++++-------- - src/hb-subset-cff-common.hh | 3 +-- - src/hb-subset-cff1.cc | 3 +-- - src/hb-subset-cff2.cc | 3 +-- - 7 files changed, 22 insertions(+), 26 deletions(-) - -commit e600e5440b3b77294df47fae947758137ea02501 -Merge: 82248b928 de96e5c81 -Author: Michiharu Ariza -Date: Thu Nov 1 16:13:56 2018 -0700 - - Merge branch 'master' into cff-subset - -commit de96e5c81c7f473520df93052ecea162baa5a350 -Author: Behdad Esfahbod -Date: Thu Nov 1 18:13:58 2018 -0400 - - [Crap] Avoid operator= - - src/hb-null.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit f9353bd68c112dea8962dd586bf5e664f75a2a07 -Author: Behdad Esfahbod -Date: Thu Nov 1 18:05:22 2018 -0400 - - [aat] Rely on vector auto initialization - - src/hb-aat-map.hh | 10 +--------- - 1 file changed, 1 insertion(+), 9 deletions(-) - -commit 5a18d97b35d05c826c242e6847764c2418831a55 -Author: Behdad Esfahbod -Date: Thu Nov 1 18:01:26 2018 -0400 - - [aat] Remove unused forward declaration - - src/hb-aat-map.hh | 2 -- - 1 file changed, 2 deletions(-) - -commit 82248b9287e7b208c304e761393b745604a51c6e -Author: Michiharu Ariza -Date: Thu Nov 1 10:36:50 2018 -0700 - - fix leak attempt ^2 - - src/hb-subset-cff2.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit a9c305c2b00b7e793dc3d8333eee43d677aebd42 -Author: Michiharu Ariza -Date: Thu Nov 1 10:31:21 2018 -0700 - - fix leaks - - src/hb-subset-cff1.cc | 4 ++-- - src/hb-subset-cff2.cc | 3 +-- - 2 files changed, 3 insertions(+), 4 deletions(-) - -commit 049ce078e51bebce50b17889f3edae3db3ea39f5 -Author: Michiharu Ariza -Date: Thu Nov 1 08:46:21 2018 -0700 - - fix bogus width with --no-hinting - - src/hb-cff1-interp-cs.hh | 15 +++++++++------ - 1 file changed, 9 insertions(+), 6 deletions(-) - -commit 07ec792212063851ee41eae33792d3d90d31e6a1 -Author: Behdad Esfahbod -Date: Thu Nov 1 10:31:12 2018 -0400 - - Warning fix - - src/test-ot-color.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit c32280b30fb3844addda31a0d97ae7cb55ef07d2 -Author: Ebrahim Byagowi -Date: Thu Nov 1 15:31:14 2018 +0330 - - [ot-layout] minor - - src/hb-ot-layout.cc | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit cad90be4ea56a85ddc084f86f36dd7129850f6d7 -Author: Ebrahim Byagowi -Date: Thu Nov 1 13:39:06 2018 +0330 - - [test] minor - - test/api/test-ot-color.c | 2 -- - 1 file changed, 2 deletions(-) - -commit d56e338a903a5a7c4f8ccd0f4d983cd492243ed6 -Author: Michiharu Ariza -Date: Wed Oct 31 22:30:34 2018 -0700 - - CFF1 no-desubroutinize + no-hinting - - no-desubroutinize option is disabled for now - code cleanup (esp. CFF1 width handling) - bug fixes & renaming - - src/hb-cff-interp-common.hh | 49 +++ - src/hb-cff-interp-cs-common.hh | 93 +++++- - src/hb-cff-interp-dict-common.hh | 45 +-- - src/hb-cff1-interp-cs.hh | 66 +++- - src/hb-cff2-interp-cs.hh | 1 + - src/hb-ot-cff-common.hh | 85 ++--- - src/hb-ot-cff1-table.hh | 20 +- - src/hb-ot-cff2-table.hh | 25 +- - src/hb-subset-cff-common.hh | 702 ++++++++++++++++++++++++++++++++++++--- - src/hb-subset-cff1.cc | 242 +++++++++++--- - src/hb-subset-cff2.cc | 45 +-- - src/hb-subset-input.hh | 1 + - src/hb-subset-plan.cc | 1 + - src/hb-subset-plan.hh | 1 + - util/options.cc | 2 + - util/options.hh | 2 + - 16 files changed, 1130 insertions(+), 250 deletions(-) - -commit 52a00cd87f63c8ab32413a1a9ce792a3e2ec84e2 -Author: Behdad Esfahbod -Date: Wed Oct 31 19:05:53 2018 -0700 - - [aat] Implement 'aalt' mapping - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1160 - - src/hb-aat-map.cc | 8 ++++++++ - 1 file changed, 8 insertions(+) - -commit 6e3ea269fa1fe0a3de7a8a13c6e853c91231808e -Author: Behdad Esfahbod -Date: Wed Oct 31 19:00:11 2018 -0700 - - [aat] Add 'afrc' feature mapping - - https://github.com/harfbuzz/harfbuzz/issues/1342#issuecomment-434829028 - - src/hb-aat-layout.cc | 1 + - 1 file changed, 1 insertion(+) - -commit 40b19fd46951e2f9b402e59e1fbbf06fde7ecd61 -Author: Behdad Esfahbod -Date: Wed Oct 31 18:51:45 2018 -0700 - - [aat] Fallback to old style "Letter Case" small caps - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1342 - - src/hb-aat-layout-morx-table.hh | 8 ++++++++ - 1 file changed, 8 insertions(+) - -commit f9289319481a1e9762ad366b287e781c44ba9fc6 -Author: Behdad Esfahbod -Date: Wed Oct 31 18:25:05 2018 -0700 - - [test] Minor - - test/shaping/run-tests.py | 13 +++++++------ - 1 file changed, 7 insertions(+), 6 deletions(-) - -commit cf203af8a33591c163b63dbdf0fd341bc4606190 -Author: Behdad Esfahbod -Date: Wed Oct 31 18:21:48 2018 -0700 - - Implement space fallback in vertical direction - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1343 - - src/hb-ot-shape-fallback.cc | 36 +++++++++++++++++++-------- - test/shaping/data/in-house/tests/spaces.tests | 17 +++++++++++++ - 2 files changed, 42 insertions(+), 11 deletions(-) - -commit e01250230b1ad85e49cc0021365d1ee43feb9855 -Author: Behdad Esfahbod -Date: Wed Oct 31 18:14:00 2018 -0700 - - [hmtx/vmtx] Fix a crasher - - src/hb-ot-hmtx-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 36e90ef56e6c0643ef61e947d7361c6fa4eadf10 -Author: Behdad Esfahbod -Date: Wed Oct 31 15:09:09 2018 -0700 - - [mort] Massage some more - - src/hb-aat-layout-common.hh | 28 ++++++++++++++++++++++++++++ - src/hb-aat-layout-morx-table.hh | 21 +++++---------------- - 2 files changed, 33 insertions(+), 16 deletions(-) - -commit cbaff4ef1910e2872bfff61f3d5427c076b3673d -Author: Behdad Esfahbod -Date: Wed Oct 31 15:06:12 2018 -0700 - - [mort] Some more - - src/hb-aat-layout-morx-table.hh | 34 ++++++++++++++++------------------ - 1 file changed, 16 insertions(+), 18 deletions(-) - -commit 3087046d3144afb50bcc13e4afa2d20d9f71f2c8 -Author: Behdad Esfahbod -Date: Wed Oct 31 14:59:14 2018 -0700 - - [mort] Refactor offset-to-index mapping - - src/hb-aat-layout-morx-table.hh | 27 ++++++++++++++++----------- - 1 file changed, 16 insertions(+), 11 deletions(-) - -commit b9db610add702da0a257db2eb21f3a7fb56682f7 -Author: Behdad Esfahbod -Date: Wed Oct 31 14:22:31 2018 -0700 - - Minor - - src/hb-font.cc | 28 ++++++++++++++-------------- - src/hb-font.h | 2 +- - 2 files changed, 15 insertions(+), 15 deletions(-) - -commit 995bf6c6f82d6b2dabcb81e1426910ee82b91b44 -Author: Behdad Esfahbod -Date: Wed Oct 31 13:21:33 2018 -0700 - - [sbix] Rely on blob->as<> checking size against Type::min_size - - src/hb-ot-color-sbix-table.hh | 6 ------ - 1 file changed, 6 deletions(-) - -commit 4d4e526b5cc703111eb445b7e319a4cd1917489f -Author: Behdad Esfahbod -Date: Wed Oct 31 13:19:42 2018 -0700 - - Improve blob->as<> - - It's true that blob->as<> should only be called on null or sanitized - data. But this change is safe, so keep it. - - src/hb-blob.hh | 2 +- - src/hb-ot-glyf-table.hh | 3 ++- - 2 files changed, 3 insertions(+), 2 deletions(-) - -commit 5854d3fa251069f8158b97a831d1439c2ff8b510 -Author: Behdad Esfahbod -Date: Wed Oct 31 10:42:49 2018 -0700 - - [set] Warning fix with gcc 8.1 - - https://github.com/harfbuzz/harfbuzz/pull/1334 - - src/hb-dsalgs.hh | 6 ++++-- - src/hb-set.hh | 4 ++-- - 2 files changed, 6 insertions(+), 4 deletions(-) - -commit 850a7af3a419c6c4ab92bff59991758a2951d41f -Author: Ebrahim Byagowi -Date: Wed Oct 31 14:20:23 2018 +0330 - - [ot-color-test] Remove the non-working exact strike size storing (#1339) - - src/test-ot-color.cc | 135 +++++++++++++++++++++++---------------------------- - 1 file changed, 62 insertions(+), 73 deletions(-) - -commit 2e639c47c9d35ff7dc4dde21f744f9ee695a27f3 -Author: Ebrahim Byagowi -Date: Wed Oct 31 14:20:14 2018 +0330 - - [aat] Fix older compilers by not referencing enum directly (#1340) - - src/hb-aat-layout-morx-table.hh | 5 ++--- - 1 file changed, 2 insertions(+), 3 deletions(-) - -commit 642c9dcf1b34b51ffdbf88ccbef4762aa12a5cbe -Author: Ebrahim Byagowi -Date: Wed Oct 31 14:02:37 2018 +0330 - - [aat] Minor, remove extra semicolons - - src/hb-aat-layout-morx-table.hh | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit c962d5e714a6f88c4cb20bed219177b1bc4a2dfd -Author: Behdad Esfahbod -Date: Wed Oct 31 01:16:33 2018 -0700 - - [mort] Make ligatures work - - ./hb-shape Apple_Chancery_10_12.ttf "Th th ll te to tr fr fu fj" - [T_h=0+2308|space=2+569|t_h=3+1687|space=5+569|l_l=6+1108|space=8+569|t_e=9+1408|space=11+569|t_o=12+1531|space=14+569|t_r=15+1385|space=17+569|f_r=18+1432|space=20+569|f_u=21+1733|space=23+569|f_j=24+1098] - - Part of https://github.com/harfbuzz/harfbuzz/issues/1331 - - src/hb-aat-layout-morx-table.hh | 25 +++++++++++++++++-------- - 1 file changed, 17 insertions(+), 8 deletions(-) - -commit c07798960004439fcd8fa0f4ae33e225428d1065 -Author: Behdad Esfahbod -Date: Wed Oct 31 00:36:03 2018 -0700 - - [mort] More Ligature work - - src/hb-aat-layout-morx-table.hh | 54 ++++++++++++++++++++++++++++++----------- - 1 file changed, 40 insertions(+), 14 deletions(-) - -commit 431c6e496be56e441ee4b9b705f40a1246bdd0d6 -Author: Behdad Esfahbod -Date: Wed Oct 31 00:15:00 2018 -0700 - - [mort] Some Ligature work - - src/hb-aat-layout-morx-table.hh | 38 +++++++++++++++++++++++++++++++------- - 1 file changed, 31 insertions(+), 7 deletions(-) - -commit 28b68cffe4e5ebf82217ebf439f428431d672af3 -Author: Behdad Esfahbod -Date: Tue Oct 30 23:33:30 2018 -0700 - - [mort] Implement / adjust Contextual substitution - - src/hb-aat-layout-morx-table.hh | 70 ++++++++++++++++++++++++++++++----------- - src/hb-open-type.hh | 7 +++++ - 2 files changed, 59 insertions(+), 18 deletions(-) - -commit 11dbf0f12926b80d0c308c70a218342280045c23 -Author: Behdad Esfahbod -Date: Tue Oct 30 21:49:59 2018 -0700 - - [mort] More fixes] - - src/hb-aat-layout-common.hh | 5 ++--- - 1 file changed, 2 insertions(+), 3 deletions(-) - -commit e1552af95b6c17571f7ee58ebac92f48d93c8f98 -Author: Behdad Esfahbod -Date: Tue Oct 30 21:09:05 2018 -0700 - - [maxp] Minor - - src/hb-ot-maxp-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 0cf282a32e5b0fe1fec454ff293ffe04b33f1112 -Author: Behdad Esfahbod -Date: Tue Oct 30 20:51:44 2018 -0700 - - [mort] Grind some more - - src/hb-aat-layout-common.hh | 17 ++++++++++++----- - 1 file changed, 12 insertions(+), 5 deletions(-) - -commit 90667b31bc3e61e68e27966e4781aba456c6b93b -Author: Behdad Esfahbod -Date: Tue Oct 30 20:15:28 2018 -0700 - - [mort] Hook up more - - src/hb-aat-layout.cc | 14 +++++++++++++- - 1 file changed, 13 insertions(+), 1 deletion(-) - -commit 9346b1f158dfd7d25ed0057b40aaa6980a85ea17 -Author: Behdad Esfahbod -Date: Tue Oct 30 20:04:13 2018 -0700 - - [morx] Remove stale comment - - src/hb-aat-layout-morx-table.hh | 2 -- - 1 file changed, 2 deletions(-) - -commit f864ef215e1354a1e5a3c8796afafba761404e08 -Author: Behdad Esfahbod -Date: Tue Oct 30 19:42:21 2018 -0700 - - [mort] More massaging towards mort - - src/hb-aat-layout-morx-table.hh | 53 +++++++++++++++++++++-------------------- - 1 file changed, 27 insertions(+), 26 deletions(-) - -commit 2d9467340b1498ccc0cd47bf915b84ab12dfa025 -Author: Behdad Esfahbod -Date: Tue Oct 30 19:33:31 2018 -0700 - - [mort] Fix version check in sanitize - - src/hb-aat-layout-morx-table.hh | 5 ++--- - 1 file changed, 2 insertions(+), 3 deletions(-) - -commit c2527a1bc2b493473f06ea6ae79f0a87b722c4d3 -Author: Behdad Esfahbod -Date: Tue Oct 30 19:26:16 2018 -0700 - - [mort] Make it compile / hook it up - - Untested. - - src/hb-aat-layout-common.hh | 11 +++++----- - src/hb-aat-layout-morx-table.hh | 2 +- - src/hb-aat-layout.cc | 47 ++++++++++++++++++++++++++--------------- - 3 files changed, 36 insertions(+), 24 deletions(-) - -commit 933babdc075c27fbcc1b726c3c9b2aa67338c6ad -Author: Behdad Esfahbod -Date: Tue Oct 30 19:22:43 2018 -0700 - - [mort] Fixup on previous commit - - src/hb-aat-layout-morx-table.hh | 24 ++++++++++++------------ - 1 file changed, 12 insertions(+), 12 deletions(-) - -commit b053cabacd99ff69144a1459fe02ffd574c2416c -Author: Ebrahim Byagowi -Date: Tue Oct 30 18:41:34 2018 +0330 - - [mort] Bring back mort generalizations - - Started by reverting https://github.com/harfbuzz/harfbuzz/commit/1f1c85a5 - - Just a starting point, if we agree even mort can come back. - - src/hb-aat-layout-common.hh | 76 +++++++++++++++++++---- - src/hb-aat-layout-kerx-table.hh | 17 ++--- - src/hb-aat-layout-morx-table.hh | 133 ++++++++++++++++++++++++---------------- - src/hb-aat-layout.cc | 16 ++++- - src/hb-ot-face.hh | 1 + - 5 files changed, 171 insertions(+), 72 deletions(-) - -commit 5cd544a621f10b307bb97aea27ea54e55aacb2e9 -Author: Behdad Esfahbod -Date: Tue Oct 30 19:16:00 2018 -0700 - - Fix build - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1338 - - src/test-ot-color.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 69297bb21640677532b7030332f803c0768c6579 -Author: Behdad Esfahbod -Date: Tue Oct 30 19:06:21 2018 -0700 - - [fuzzing] Call hb-ot-color API - - test/fuzzing/hb-shape-fuzzer.cc | 4 ++++ - 1 file changed, 4 insertions(+) - -commit 1019391046cf01524c4ef20c9256a47b7411610b -Author: Behdad Esfahbod -Date: Tue Oct 30 15:52:26 2018 -0700 - - 2.1.0 - - NEWS | 81 ++++++++++++++++++++++++++++++++++++++++++++++++++ - RELEASING.md | 3 +- - configure.ac | 2 +- - docs/harfbuzz-docs.xml | 1 + - src/hb-ot-color.cc | 22 +++++++++----- - src/hb-ot-color.h | 4 +-- - src/hb-version.h | 6 ++-- - 7 files changed, 105 insertions(+), 14 deletions(-) - -commit bfd549daaa078e7edba5a65971b1d3e872664f2d -Author: Behdad Esfahbod -Date: Tue Oct 30 14:47:27 2018 -0700 - - Fix everything-bot - - src/hb-ot-layout.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 0e1ad5a075c6858ca60bad0e2da58b5256e15815 -Author: Garret Rieger -Date: Tue Oct 30 11:29:58 2018 -0700 - - [subset] Limit the number of scripts and langsys' that should be checked when collecting features. - - src/hb-ot-layout-common.hh | 8 ++++++++ - src/hb-ot-layout.cc | 11 ++++++++++- - 2 files changed, 18 insertions(+), 1 deletion(-) - -commit a7aba99baab2d6e6105675ceedbe22222fa0f166 -Author: Behdad Esfahbod -Date: Tue Oct 30 14:04:09 2018 -0700 - - [name] Rename hb_name_id_t to hb_ot_name_id_t - - https://github.com/harfbuzz/harfbuzz/pull/1254 - - docs/harfbuzz-sections.txt | 3 +- - src/hb-ot-color-cpal-table.hh | 12 +++--- - src/hb-ot-color.cc | 6 +-- - src/hb-ot-color.h | 4 +- - src/hb-ot-layout.cc | 44 +++++++++---------- - src/hb-ot-layout.h | 28 ++++++------- - src/hb-ot-name-table.hh | 6 +-- - src/hb-ot-name.cc | 38 ++++++++--------- - src/hb-ot-name.h | 98 +++++++++++++++++++++---------------------- - test/api/test-ot-color.c | 30 ++++++------- - test/api/test-ot-name.c | 8 ++-- - 11 files changed, 139 insertions(+), 138 deletions(-) - -commit 881e1054bc66fd07489d661dd5c3f84a5d077edc -Author: Simon Tooke -Date: Tue Oct 30 14:16:23 2018 -0400 - - fix various GCC function pointer warnings - - src/hb-debug.hh | 6 +++--- - src/hb-set.hh | 4 ++-- - 2 files changed, 5 insertions(+), 5 deletions(-) - -commit dc9bd29feac6675c79343b88a06f03f356f9175b -Author: Behdad Esfahbod -Date: Tue Oct 30 13:16:07 2018 -0700 - - [CBDT] Implement Format18 get_extens - - Part of https://github.com/harfbuzz/harfbuzz/issues/1327 - - src/hb-ot-color-cbdt-table.hh | 10 +++++++++- - 1 file changed, 9 insertions(+), 1 deletion(-) - -commit a2a7422aaf47dd43c2c55ad48dd15513f9d5b081 -Author: Behdad Esfahbod -Date: Tue Oct 30 13:14:56 2018 -0700 - - [CBDT] Bound checks in reference_png - - src/hb-ot-color-cbdt-table.hh | 57 ++++++++++++++++++++++++++----------------- - 1 file changed, 34 insertions(+), 23 deletions(-) - -commit f236f790884d7b5c7afb73768724c360d4ea5212 -Author: Nathan Willis -Date: Tue Oct 30 11:24:56 2018 -0500 - - Docs Makefile: sync SGML list to harfbuzz-docs.xml include list. Hopefully fixes distcheck failure. - - docs/Makefile.am | 11 ++++++----- - 1 file changed, 6 insertions(+), 5 deletions(-) - -commit 9f4b375e396fe65b30c792b9524a732da0b477d1 -Author: Nathan Willis -Date: Mon Oct 29 17:10:53 2018 -0500 - - Usermanual: minor wording updates, build fixes. - - ...rmanual-buffers-language-script-and-direction.xml | 8 +++++++- - docs/usermanual-clusters.xml | 6 ++++++ - docs/usermanual-fonts-and-faces.xml | 8 +++++++- - docs/usermanual-getting-started.xml | 6 ++++++ - docs/usermanual-glyph-information.xml | 8 +++++++- - docs/usermanual-install-harfbuzz.xml | 20 +++++++++++++++++--- - docs/usermanual-opentype-features.xml | 8 +++++++- - docs/usermanual-shaping-concepts.xml | 6 ++++++ - docs/usermanual-what-is-harfbuzz.xml | 12 +++++++----- - 9 files changed, 70 insertions(+), 12 deletions(-) - -commit e110032b914db9f417cc152b2beb51cda0a91dd7 -Author: Nathan Willis -Date: Mon Oct 29 16:42:59 2018 -0500 - - Usermanual: update DTD in chapter XML to avoid HTML entity parsing errors. - - docs/usermanual-what-is-harfbuzz.xml | 10 ++++++++-- - 1 file changed, 8 insertions(+), 2 deletions(-) - -commit 01400f7425f7aec852f39ebee17aa502a74025fb -Author: Nathan Willis -Date: Sat Oct 20 17:21:49 2018 +0100 - - Usermanual; minor wording changes. - - docs/usermanual-getting-started.xml | 14 +++++++------- - docs/usermanual-install-harfbuzz.xml | 10 +++++++++- - docs/usermanual-what-is-harfbuzz.xml | 31 ++++++++++--------------------- - 3 files changed, 26 insertions(+), 29 deletions(-) - -commit e89f43dc0884cb4a73beff86e49b7bd8565a01f1 -Author: Khaled Hosny -Date: Sat Oct 20 16:12:45 2018 +0100 - - Minor; rewording unsafe-to-break note. - - Co-Authored-By: n8willis - - docs/usermanual-getting-started.xml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit ccdfb634382596a6114380c72f2f344b1af23f94 -Author: Khaled Hosny -Date: Sat Oct 20 15:46:04 2018 +0100 - - Trivial; typo. - - Co-Authored-By: n8willis - - docs/usermanual-what-is-harfbuzz.xml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 722099487be72346e7109872b6abf30696f3b7c3 -Author: Khaled Hosny -Date: Sat Oct 20 15:45:24 2018 +0100 - - Minor; simplify example code - - Co-Authored-By: n8willis - - docs/usermanual-getting-started.xml | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit 6e4dd58a4af003eeec93cbe90d1258d91a38b53c -Author: Khaled Hosny -Date: Sat Oct 20 15:44:51 2018 +0100 - - Minor: simplify example code - - Co-Authored-By: n8willis - - docs/usermanual-getting-started.xml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit f9ee0deceebd8952a8d80f3fd7b264b33e70f703 -Author: Khaled Hosny -Date: Sat Oct 20 15:41:00 2018 +0100 - - Minor; drop 'OpenType' from sentence - - Co-Authored-By: n8willis - - docs/usermanual-what-is-harfbuzz.xml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit f028da59d902c39e61021b48fc73f2821a9f3be2 -Author: Nathan Willis -Date: Sat Oct 20 15:18:29 2018 +0100 - - Minor. - - docs/harfbuzz-docs.xml | 12 +++++++----- - 1 file changed, 7 insertions(+), 5 deletions(-) - -commit ed5547f828fe7559cc3331f05780ae9f041b1e0f -Author: Khaled Hosny -Date: Sat Oct 20 15:00:52 2018 +0100 - - Use 'glyphs' instead of 'text' - - Co-Authored-By: n8willis - - docs/harfbuzz-docs.xml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 236285545b5da8513f2b61fc8066ba78308a555a -Author: Nathan Willis -Date: Wed Oct 17 10:10:48 2018 -0500 - - Docs: minor, update Makefile w new file name. - - docs/Makefile.am | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 163ab81ab0f4000d968cc55b418402497e605e6c -Author: Nathan Willis -Date: Tue Oct 16 17:48:15 2018 -0500 - - Docs: rename Hello HarfBuzz to Getting Started. - - docs/harfbuzz-docs.xml | 2 +- - docs/{usermanual-hello-harfbuzz.xml => usermanual-getting-started.xml} | 0 - 2 files changed, 1 insertion(+), 1 deletion(-) - -commit 9e7efa3f47557a77852a15d89619787fd9933ed1 -Author: Nathan Willis -Date: Tue Oct 16 17:46:03 2018 -0500 - - Docs: usermanual, add API Overview to Hello HarfBuzz chapter. Start Terminology section. - - docs/usermanual-hello-harfbuzz.xml | 309 +++++++++++++++++++++++++------------ - 1 file changed, 212 insertions(+), 97 deletions(-) - -commit 3a27e8fb97f716c17b03e3a4a634a4900bcb6045 -Author: Nathan Willis -Date: Fri Oct 12 18:23:26 2018 -0500 - - Docs: usermanual, add Shaping Concepts chapter. - - docs/harfbuzz-docs.xml | 5 +- - docs/usermanual-shaping-concepts.xml | 368 +++++++++++++++++++++++++++++++++++ - 2 files changed, 371 insertions(+), 2 deletions(-) - -commit 9aa865dcc68ec207741e07ba3f7aacf4ac750c1c -Author: Nathan Willis -Date: Fri Oct 12 18:22:41 2018 -0500 - - Docs: usermanual, minor cleanup to What Is HarfBuzz chapter. - - docs/usermanual-what-is-harfbuzz.xml | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 443f87213272be5ae0579dce4749b2036dfe3815 -Author: Nathan Willis -Date: Thu Oct 11 15:40:08 2018 -0500 - - Docs: move harfbuzz-ng-vs-old discussion down below the TOC; put in note. - - docs/harfbuzz-docs.xml | 63 ++++++++++++++++++++++++++++++++++---------------- - 1 file changed, 43 insertions(+), 20 deletions(-) - -commit 792af5d254fddcdc4292dffb76b81d65754e65a9 -Author: Nathan Willis -Date: Thu Oct 11 14:05:59 2018 -0500 - - Docs: flesh out config options in Usermanual:Install chapter. - - docs/usermanual-install-harfbuzz.xml | 108 +++++++++++++++++++++++++++-------- - 1 file changed, 85 insertions(+), 23 deletions(-) - -commit 325e2745cfa55f9ef114ee8eeaf7bd8176743822 -Author: Nathan Willis -Date: Wed Oct 10 17:01:21 2018 -0500 - - Docs: add basic config-options section to Usermanual Installation chapter. - - docs/usermanual-install-harfbuzz.xml | 132 ++++++++++++++++++++++++++++++++++- - 1 file changed, 131 insertions(+), 1 deletion(-) - -commit 97c1c46cd2241d77b531a582dd1a2432af976357 -Author: Nathan Willis -Date: Wed Oct 10 16:38:22 2018 -0500 - - Docs: update and linearize build instructions; add installation overview material. - - docs/usermanual-install-harfbuzz.xml | 229 ++++++++++++++++++++++++++++------- - 1 file changed, 188 insertions(+), 41 deletions(-) - -commit 088755f9e654d2ec638dce0c68d523084b9eaf5a -Author: Nathan Willis -Date: Wed Oct 10 16:37:29 2018 -0500 - - Docs: update usermanual What Is HarfBuzz material. - - docs/usermanual-what-is-harfbuzz.xml | 220 +++++++++++++++++++++++++++-------- - 1 file changed, 172 insertions(+), 48 deletions(-) - -commit 0956ab41851d30f50c39c28730cf30ea0bbc5466 -Author: Nathan Willis -Date: Fri Sep 28 17:15:59 2018 -0500 - - Docs: Move What-HarfBuzz-doesnt-do to Usermanual-what-is-HarfBuzz. - - docs/usermanual-hello-harfbuzz.xml | 98 +++------------------------------ - docs/usermanual-what-is-harfbuzz.xml | 101 +++++++++++++++++++++++++++++++++-- - 2 files changed, 104 insertions(+), 95 deletions(-) - -commit fd270beedb331c4685e918f5a3ef5789a23ffaeb -Author: Nathan Willis -Date: Fri Sep 28 16:36:38 2018 -0500 - - Docs: Usermanual- What is HarfBuzz; add intro to shaping concepts. - - docs/usermanual-what-is-harfbuzz.xml | 51 ++++++++++++++++++++++++++++++++++++ - 1 file changed, 51 insertions(+) - -commit d9fd92721002726c4aeaae9cc3a519a41f694e48 -Author: Nathan Willis -Date: Fri Sep 28 16:07:37 2018 -0500 - - Docs: update Usermanual-What Is HarfBuzz. - - docs/usermanual-what-is-harfbuzz.xml | 199 +++++++++++++++++++++++------------ - 1 file changed, 130 insertions(+), 69 deletions(-) - -commit 0af3d176a64c0a57c7acb2a64ce8b9d08f449241 -Author: Khaled Hosny -Date: Tue Oct 30 17:05:28 2018 +0200 - - [sbix] Fix memory leak in early return - - Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=11210 - - src/hb-ot-color-sbix-table.hh | 3 +++ - ...zz-testcase-minimized-hb-shape-fuzzer-5768601332613120 | Bin 0 -> 108 bytes - 2 files changed, 3 insertions(+) - -commit edaa768253cfeb97d614537253f90d47aa93ff6f -Author: Behdad Esfahbod -Date: Tue Oct 30 01:35:58 2018 -0700 - - [util] Use fgets instead of getline such that windows passes - - util/hb-shape.cc | 6 ++---- - 1 file changed, 2 insertions(+), 4 deletions(-) - -commit 56738429d667f6c35e5c7af30b51604fc133c23c -Author: Behdad Esfahbod -Date: Tue Oct 30 01:33:22 2018 -0700 - - [test] Fix warnings - - test/api/test-ot-tag.c | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 138f9e0f25752bbf7f8e867f230ca91442f40028 -Author: Behdad Esfahbod -Date: Tue Oct 30 01:31:13 2018 -0700 - - Minor - - src/hb-machinery.hh | 13 +++++++------ - 1 file changed, 7 insertions(+), 6 deletions(-) - -commit 83a612739accf6b0f2e1cb1be15097402f7ecf33 -Author: Behdad Esfahbod -Date: Tue Oct 30 01:24:23 2018 -0700 - - [util] Minor - - util/options.cc | 6 ------ - util/options.hh | 8 ++------ - 2 files changed, 2 insertions(+), 12 deletions(-) - -commit 64e41d2c89c533f554e49ffbd18e6653a70ab999 -Author: Behdad Esfahbod -Date: Tue Oct 30 01:08:34 2018 -0700 - - [test] Fix Python3 - - test/shaping/run-tests.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit f7a08cd41df1ff3e44aa838306218ae0565b7273 -Author: Ebrahim Byagowi -Date: Tue Oct 30 11:29:09 2018 +0330 - - Fix extra semicolon issues and test that on CI (#1330) - - .circleci/config.yml | 2 +- - src/hb-machinery.hh | 16 ++++++++-------- - src/hb-ot-layout-common.hh | 6 +++--- - src/hb-ot-layout-gsubgpos.hh | 2 +- - src/hb.hh | 2 +- - util/options.hh | 2 +- - 6 files changed, 15 insertions(+), 15 deletions(-) - -commit 422debb830fe150c26e1628f77531f41f0871325 -Author: Behdad Esfahbod -Date: Tue Oct 30 00:51:43 2018 -0700 - - [test/shaping] Spawn one hb-shape per test file - - Speeds up runnings in-house tests from over 20s to 2s. - - test/shaping/run-tests.py | 32 ++++++++++++-------------------- - 1 file changed, 12 insertions(+), 20 deletions(-) - -commit 58e20f53bf61244e3eef09be8ebed60aaf52fb11 -Author: Behdad Esfahbod -Date: Tue Oct 30 00:50:18 2018 -0700 - - [util] Add hb-shape --batch - - util/hb-shape.cc | 30 ++++++++++++++++++++++++++++++ - 1 file changed, 30 insertions(+) - -commit 6131fb6283cff87333db14b9b32e92be6139c3d6 -Author: Behdad Esfahbod -Date: Tue Oct 30 00:38:01 2018 -0700 - - [util] Don't close stdin/stdout - - util/options.cc | 6 ++++++ - util/options.hh | 8 ++++++-- - 2 files changed, 12 insertions(+), 2 deletions(-) - -commit 7e998d193a1429b42bb69582f9e5738aa6fd1a72 -Author: Behdad Esfahbod -Date: Mon Oct 29 23:31:42 2018 -0700 - - Fix spurious warning re uninitialized use - - src/hb-ot-layout-common.hh | 1 + - 1 file changed, 1 insertion(+) - -commit 1b7bfb5e1864fc355715b536faac6693b5ce0218 -Author: Ebrahim Byagowi -Date: Tue Oct 30 10:19:40 2018 +0330 - - [cmake] Make build of tests and subset optional (#1329) - - .circleci/config.yml | 2 +- - CMakeLists.txt | 19 ++++++------------- - 2 files changed, 7 insertions(+), 14 deletions(-) - -commit b186274362725b7501211c2a782c1a0badd57107 -Author: Behdad Esfahbod -Date: Mon Oct 29 23:21:14 2018 -0700 - - [set/map] Fix uninitialized memory - - I keep forgetting that primitive types are NOT initialized during construction. :| - - src/hb-map.hh | 4 ++-- - src/hb-object.hh | 1 + - src/hb-set.hh | 4 ++-- - 3 files changed, 5 insertions(+), 4 deletions(-) - -commit ad3cededdd5ee6a364161e9d27e4cf4d95a80177 -Author: Behdad Esfahbod -Date: Mon Oct 29 22:53:16 2018 -0700 - - [fuzzing] Make test runners less verbose - - test/fuzzing/run-shape-fuzzer-tests.py | 3 ++- - test/fuzzing/run-subset-fuzzer-tests.py | 1 - - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit 4ef671f25f38895e3f87cd69687670c3d8ea4600 -Author: Behdad Esfahbod -Date: Mon Oct 29 22:46:19 2018 -0700 - - [unicode] Fix a long-standing double-declaration warning - - src/hb-unicode.cc | 31 +++++++------------------------ - 1 file changed, 7 insertions(+), 24 deletions(-) - -commit 166ae8b0aa3b1e7298a1bbb872647cb352a0f924 -Author: Behdad Esfahbod -Date: Mon Oct 29 22:40:37 2018 -0700 - - Remove now unused hb_auto_t<> - - src/hb-dsalgs.hh | 20 -------------------- - 1 file changed, 20 deletions(-) - -commit 56e0fd345c4e68753123a05cd80291e933d71061 -Author: Behdad Esfahbod -Date: Mon Oct 29 22:35:44 2018 -0700 - - Remove last use of hb_auto_t<> - - src/hb-ot-cmap-table.hh | 8 ++++++-- - 1 file changed, 6 insertions(+), 2 deletions(-) - -commit ca5e5a4979fa4aca873ba986e60b3010aaf0b1de -Author: Behdad Esfahbod -Date: Mon Oct 29 22:30:21 2018 -0700 - - Port Coverage::Iter off hb_auto_t<> - - src/hb-ot-layout-common.hh | 4 +--- - src/hb-ot-layout-gpos-table.hh | 2 +- - src/hb-ot-layout-gsub-table.hh | 26 +++++++++++++------------- - src/hb-ot-layout-gsubgpos.hh | 8 ++++---- - 4 files changed, 19 insertions(+), 21 deletions(-) - -commit 3a4e5dd425a2a37ff4c37db953943386c0b6e5d8 -Author: Behdad Esfahbod -Date: Mon Oct 29 18:05:25 2018 -0700 - - Remove a few unnecessary hb_auto_t<>'s - - See a85641446c30247c4e948263f0f8c1147ed4efb9 - - src/hb-coretext.cc | 8 ++++---- - src/hb-ot-cmap-table.hh | 6 ++---- - src/hb-ot-layout-gsub-table.hh | 8 ++++---- - src/hb-ot-layout-gsubgpos.hh | 2 +- - src/hb-ot-layout.cc | 10 +++++----- - src/hb-subset-plan.cc | 2 +- - src/hb-subset.cc | 2 +- - src/hb-uniscribe.cc | 12 ++++++------ - 8 files changed, 24 insertions(+), 26 deletions(-) - -commit 67a22f377dee0dbd89f301f0a1fec6f787867b5e -Author: Behdad Esfahbod -Date: Mon Oct 29 17:37:41 2018 -0700 - - [set/map/vector] Make constructable, but not copy or assignable - - Disable copy/assign on them, as they shouldn't. - - Make constructor / destructor call init_shallow/fini_shallow, - and make those idempotent. So, these three can be constructed - on stack now and no init/fini call is needed. As such, - hb_auto_t<> is not needed anymore. I'll remove that separately. - - src/hb-map.hh | 6 ++++++ - src/hb-set.hh | 5 +++++ - src/hb-vector.hh | 37 ++++++++++++++++++++----------------- - src/hb.hh | 12 ++++++++++++ - 4 files changed, 43 insertions(+), 17 deletions(-) - -commit ea0e51d1b161245aaf5ad0f844bb5316b1cbcd5e -Author: Behdad Esfahbod -Date: Mon Oct 29 16:00:23 2018 -0700 - - Add HB_NO_CREATE_COPY_ASSIGN - - src/hb-open-type.hh | 10 +++++----- - src/hb.hh | 15 +++++++++------ - 2 files changed, 14 insertions(+), 11 deletions(-) - -commit 5b563640b2df5b100130c9901b666713b2e1767e -Author: Behdad Esfahbod -Date: Mon Oct 29 15:58:44 2018 -0700 - - Remove HB_DISALLOW_COPY_AND_ASSIGN from hb_ot_shape_planner_t - - It was arbitrary that this struct had it and not dozens of others. - - src/hb-ot-shape.hh | 3 --- - 1 file changed, 3 deletions(-) - -commit 14b353c1852be64db244f84bf5e95b4b7f3e65b6 -Author: Behdad Esfahbod -Date: Mon Oct 29 15:29:13 2018 -0700 - - One more iteration - - src/hb.hh | 1 - - 1 file changed, 1 deletion(-) - -commit c7c5df9ffd4f7bcc84a9a02a565ccc1807cca529 -Author: Behdad Esfahbod -Date: Mon Oct 29 15:16:52 2018 -0700 - - Try fixing older bots - - Older C++ doesn't allow struct-with-constructor in union. - - src/hb.hh | 13 ++++++++++++- - 1 file changed, 12 insertions(+), 1 deletion(-) - -commit be87959a67b8ccf2b21d3cfdb7d16202f18df670 -Author: Behdad Esfahbod -Date: Mon Oct 29 15:16:38 2018 -0700 - - [cmap] Minor - - src/hb-ot-cmap-table.hh | 16 ++-------------- - 1 file changed, 2 insertions(+), 14 deletions(-) - -commit 35d410f2bad62e98f3634c5ee156d0aea9031067 -Author: Behdad Esfahbod -Date: Mon Oct 29 14:45:44 2018 -0700 - - Remove ASSERT_POD - - Newer compilers / language allows structs with constructor in union. - So, this was not actually testing anything. Indeed, the recent - change in DISALLOW_COPY *is* making some of our types non-POD. - That broke some bots. - - Just remove this since it wasn't doing much, and I'd rather have - DISALLOW_COPY. - - src/hb-blob.hh | 1 - - src/hb-buffer.hh | 1 - - src/hb-face.hh | 1 - - src/hb-font.hh | 2 -- - src/hb-machinery.hh | 5 +---- - src/hb-object.hh | 6 +----- - src/hb-ot-shape-complex-arabic-fallback.hh | 2 -- - src/hb-ot-shape-complex-arabic.cc | 2 -- - src/hb-ot-shape-complex-hangul.cc | 2 -- - src/hb-ot-shape-complex-indic.cc | 2 -- - src/hb-ot-shape-complex-khmer.cc | 2 -- - src/hb-ot-shape-complex-use.cc | 2 -- - src/hb-set-digest.hh | 4 ---- - src/hb-shape-plan.hh | 1 - - src/hb-subset-input.hh | 1 - - src/hb-subset-plan.hh | 1 - - src/hb-unicode.hh | 1 - - src/hb.hh | 26 -------------------------- - 18 files changed, 2 insertions(+), 60 deletions(-) - -commit 6f0454e176efdb8b99c8aa59b5ad765ca455b8d6 -Author: Behdad Esfahbod -Date: Mon Oct 29 13:51:15 2018 -0700 - - Fix extra-semicolon warnings - - src/hb-machinery.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit a256a92b3fbb72487cf073a63e646eab952b42ed -Author: Behdad Esfahbod -Date: Mon Oct 29 11:25:35 2018 -0700 - - Make Array types uncopyable-unassignable - - Finally! Catches hard-to-find errors like this: - - - const SortedArrayOf docs = this+svgDocEntries; - + const SortedArrayOf &docs = this+svgDocEntries; - - We implement this for our array types. This, in turn, trickles down - into all types that embed the arrays. So, as long as we define all - open-ended structs in terms of Array types (all can be done using - UnsizedArrayOf), this achieves the goal of making uncopyable all - structs that are variable-sized. Yay! - - src/hb-open-type.hh | 11 +++++++++++ - src/hb.hh | 6 ++++++ - 2 files changed, 17 insertions(+) - -commit 31cc1f74b7028ef88fa0e93e7f12166c7e06de8e -Author: Behdad Esfahbod -Date: Mon Oct 29 11:14:37 2018 -0700 - - [svg] Minor - - src/hb-ot-color-svg-table.hh | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit 1366bb9760d0f171f8f655e5739e74dfd2537652 -Author: Behdad Esfahbod -Date: Mon Oct 29 11:01:25 2018 -0700 - - Fix g-i warnings - - src/hb-ot-color.h | 4 +++- - src/hb-ot-name.cc | 4 ++-- - 2 files changed, 5 insertions(+), 3 deletions(-) - -commit ae802c2c6e001492f8f639e4c24546f0e21d86c7 -Author: Ebrahim Byagowi -Date: Mon Oct 29 13:42:14 2018 +0330 - - [test-ot-color] Minor - - src/test-ot-color.cc | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 7170e35096f0afd084be1350d080695c70c65d40 -Author: Ebrahim Byagowi -Date: Mon Oct 29 13:11:01 2018 +0330 - - Rename deprecated symbols list file name and clean it up (#1328) - - src/Makefile.am | 6 +++--- - src/gen-def.py | 9 ++++----- - test/api/Makefile.am | 2 +- - 3 files changed, 8 insertions(+), 9 deletions(-) - -commit 1dfe964378e97e45eedf9db9b9a7f675fe38c0bf -Merge: f10252b4b 9c692e5b8 -Author: Ebrahim Byagowi -Date: Mon Oct 29 12:34:33 2018 +0330 - - Merge pull request #1326 from ebraminio/test-ot-color - - Revive and rename dump-emoji to test-ot-color but use public APIs instead - -commit 9c692e5b8d195d8e82538594d89865c609d708f3 -Author: Ebrahim Byagowi -Date: Mon Oct 29 11:36:11 2018 +0330 - - [test-ot-color] Use public APIs on the tool - - src/Makefile.am | 9 +++ - src/test-ot-color.cc | 184 +++++++++++++++++++++++++++++---------------------- - 2 files changed, 113 insertions(+), 80 deletions(-) - -commit fb525f8943b43fe241424c93461bee2b94af28e3 -Author: Ebrahim Byagowi -Date: Mon Oct 29 09:43:17 2018 +0330 - - Rename dump-emoji to test-ot-color - - src/{dump-emoji.cc => test-ot-color.cc} | 0 - 1 file changed, 0 insertions(+), 0 deletions(-) - -commit 81bcf47e9ea7eb447ff95ce48ecbc5c4439cb53f -Author: Ebrahim Byagowi -Date: Mon Oct 29 09:40:39 2018 +0330 - - Revive dump-emoji - - src/dump-emoji.cc | 322 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 322 insertions(+) - -commit f10252b4b637b4aa0b74bb75963ae1e1a41b5b9f -Author: Ebrahim Byagowi -Date: Mon Oct 29 10:29:58 2018 +0330 - - [svg] Fix incorrect array referencing - - src/hb-ot-color-svg-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 5eb251aab041d89b06b0d3f65906ff6712608263 -Author: Behdad Esfahbod -Date: Sun Oct 28 23:16:13 2018 -0700 - - [cbdt] Implement strike selection logic - - src/hb-ot-color-cbdt-table.hh | 25 ++++++++++++++++++++----- - 1 file changed, 20 insertions(+), 5 deletions(-) - -commit 98bddbc8ef3330bc5635f6255e6b9c16593a1934 -Author: Behdad Esfahbod -Date: Sun Oct 28 23:14:15 2018 -0700 - - [sbix] Minor - - src/hb-ot-color-sbix-table.hh | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit 8cffee0577284839a24d9fb863206886d2373974 -Author: Behdad Esfahbod -Date: Sun Oct 28 23:07:59 2018 -0700 - - [cbdt] Simplify more - - src/hb-ot-color-cbdt-table.hh | 22 +++++++--------------- - 1 file changed, 7 insertions(+), 15 deletions(-) - -commit 574579d3766b7b42e62495cb9a98f3ffd91079e8 -Author: Behdad Esfahbod -Date: Sun Oct 28 23:04:37 2018 -0700 - - [color] Rename get_strike() to choose_strike() - - src/hb-ot-color-cbdt-table.hh | 8 ++++---- - src/hb-ot-color-sbix-table.hh | 10 +++++----- - 2 files changed, 9 insertions(+), 9 deletions(-) - -commit 0aa90271fdbb2b85389cd5af029b6d4468fb8146 -Author: Behdad Esfahbod -Date: Sun Oct 28 23:03:20 2018 -0700 - - [tests] Fix for recent rounding change in CBDT - - test/shaping/data/in-house/tests/color-fonts.tests | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit e2ba96da4c39ba5fe941bf2704c1e7cc5f98034f -Author: Behdad Esfahbod -Date: Sun Oct 28 23:01:57 2018 -0700 - - [cbdt] Refactor get_strike() - - src/hb-ot-color-cbdt-table.hh | 39 ++++++++++++++++----------------------- - src/hb-ot-color.cc | 2 +- - 2 files changed, 17 insertions(+), 24 deletions(-) - -commit 6983cca9c865752fe0a9a065f9b0278b686c3abc -Author: Behdad Esfahbod -Date: Sun Oct 28 22:46:18 2018 -0700 - - [cbdt] Minor - - src/hb-ot-color-cbdt-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit e998fb9fbfbd79b476d758238af60f6a4ddff20c -Author: Behdad Esfahbod -Date: Sun Oct 28 22:45:53 2018 -0700 - - [color] Round extents when scaling - - src/hb-ot-color-cbdt-table.hh | 12 +++++++----- - src/hb-ot-color-sbix-table.hh | 12 ++++++------ - 2 files changed, 13 insertions(+), 11 deletions(-) - -commit c929ccfcea18c5c35d6d41ae921845eeffba978a -Author: Ebrahim Byagowi -Date: Mon Oct 29 08:41:13 2018 +0330 - - [ot-color/png] Consider strike ppem on scaling - - src/hb-ot-color-cbdt-table.hh | 5 +++-- - src/hb-ot-color-sbix-table.hh | 23 +++++++++++++++++++---- - src/hb-ot-color.cc | 2 +- - src/hb-ot-font.cc | 2 +- - test/api/test-ot-color.c | 4 ++-- - 5 files changed, 26 insertions(+), 10 deletions(-) - -commit a8c9facf7a73cca39e3fed1f637db4858e64414a -Author: Behdad Esfahbod -Date: Sun Oct 28 18:32:37 2018 -0700 - - [svg] Cosmetic - - src/hb-ot-color-svg-table.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 9c1460e5685448ad4eac8faff9f05e456f87ed28 -Author: Behdad Esfahbod -Date: Sun Oct 28 18:29:14 2018 -0700 - - [svg] Use SortedArrayOf.bsearch - - src/hb-ot-color-svg-table.hh | 18 +++--------------- - 1 file changed, 3 insertions(+), 15 deletions(-) - -commit 18dd6363a5021cfd770b431a6320386f94447674 -Author: Behdad Esfahbod -Date: Sun Oct 28 18:26:49 2018 -0700 - - [svg] Minor - - src/hb-ot-color-svg-table.hh | 23 +++++++++++------------ - 1 file changed, 11 insertions(+), 12 deletions(-) - -commit 4876c938a20af356988d566ba95472d3bcbb133d -Author: Behdad Esfahbod -Date: Sun Oct 28 18:01:25 2018 -0700 - - [sbix] Comment - - src/hb-ot-color-sbix-table.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 519fca101466283ca5c993dec2ec2c6891d8add5 -Author: Behdad Esfahbod -Date: Sun Oct 28 16:32:20 2018 -0700 - - [color] Minor - - src/hb-ot-color.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit e8ff27c2082ffcf3bd213e7a77d823dc1809857e -Author: Behdad Esfahbod -Date: Sun Oct 28 16:29:09 2018 -0700 - - Minor - - src/hb-open-type.hh | 6 ++++-- - src/hb-ot-layout-common.hh | 4 ++-- - 2 files changed, 6 insertions(+), 4 deletions(-) - -commit 65621723815138150e8a6354413ed14d53cf35b5 -Author: Behdad Esfahbod -Date: Sun Oct 28 16:27:18 2018 -0700 - - [sbix] Use LOffsetLArrayOf<> - - src/hb-open-type.hh | 2 ++ - src/hb-ot-color-sbix-table.hh | 2 +- - 2 files changed, 3 insertions(+), 1 deletion(-) - -commit a3ddd8067f266e49d9451c53a0fd40aff8551af7 -Author: Behdad Esfahbod -Date: Sun Oct 28 16:26:03 2018 -0700 - - [sbix] Add get_strike - - src/hb-ot-color-sbix-table.hh | 8 +++++--- - 1 file changed, 5 insertions(+), 3 deletions(-) - -commit 95524ed9bccdcd0d6a46c5dcc372e96a0c34b5f0 -Author: Behdad Esfahbod -Date: Sun Oct 28 15:58:48 2018 -0700 - - [sbix] Remove sbix_len - - src/hb-ot-color-sbix-table.hh | 29 +++++++++++++++++++++-------- - 1 file changed, 21 insertions(+), 8 deletions(-) - -commit 69e9846452f829f82f6866a683845167b3d3d6e5 -Author: Behdad Esfahbod -Date: Sun Oct 28 15:53:11 2018 -0700 - - [sbix] Fix get_glyph_blob() on Null object - - src/hb-ot-color-sbix-table.hh | 7 +++---- - 1 file changed, 3 insertions(+), 4 deletions(-) - -commit 4e0ee2af091634198c4b9b17036d9391a4e6b084 -Author: Behdad Esfahbod -Date: Sun Oct 28 15:44:40 2018 -0700 - - [sbix] Simplify ppem access - - If struct members are simple and needed publicly, we make them public. - - src/hb-ot-color-sbix-table.hh | 10 ++++------ - 1 file changed, 4 insertions(+), 6 deletions(-) - -commit 6ac9a4eaa3a47c9b9f2c7aa123255e82ccc53551 -Author: Behdad Esfahbod -Date: Sun Oct 28 15:43:54 2018 -0700 - - [sbix] Simplify glyph_length calc - - src/hb-ot-color-sbix-table.hh | 22 +++++----------------- - 1 file changed, 5 insertions(+), 17 deletions(-) - -commit 0730d623854dc17ce0c3f1f2755a90b656c8e52c -Author: Behdad Esfahbod -Date: Sun Oct 28 15:38:42 2018 -0700 - - [sbix] Check glyph data end is in range - - src/hb-ot-color-sbix-table.hh | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit b76dc03108d04975335dbf3580f8d02321cb5d25 -Author: Behdad Esfahbod -Date: Sun Oct 28 15:36:17 2018 -0700 - - [sbix] Reduce code - - src/hb-ot-color-sbix-table.hh | 7 +++---- - 1 file changed, 3 insertions(+), 4 deletions(-) - -commit 50fb02a219dbf168d300c4ccf9f29aee38a78e6c -Author: Behdad Esfahbod -Date: Sun Oct 28 15:33:12 2018 -0700 - - [sbix] Check glyph id before looking into unsafe array - - That 'Z' at end of imageOffsetsZ is a reminder that you should check... - - src/hb-ot-color-sbix-table.hh | 7 ++++--- - 1 file changed, 4 insertions(+), 3 deletions(-) - -commit a8cb9c73da29afa89b0253b6475ff220613e100a -Author: Behdad Esfahbod -Date: Sun Oct 28 15:30:57 2018 -0700 - - [sbix] Simplify 'dupe' handling logic - - src/hb-ot-color-sbix-table.hh | 21 +++++++++++---------- - 1 file changed, 11 insertions(+), 10 deletions(-) - -commit d7eb534e59064633732959c3771b6557cc97005e -Author: Behdad Esfahbod -Date: Sun Oct 28 15:27:04 2018 -0700 - - [sbix] Check offsets before proceeding - - src/hb-ot-color-sbix-table.hh | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit c8380bd3e4a2e51dfbe2e44e19738445be16ac75 -Author: Behdad Esfahbod -Date: Sun Oct 28 15:20:33 2018 -0700 - - [color] Remove more dump-emoji cruft - - src/hb-ot-color-cbdt-table.hh | 53 ------------------------------------------- - src/hb-ot-color-sbix-table.hh | 13 ----------- - 2 files changed, 66 deletions(-) - -commit 68f2c832c894d71715073d4748ad321a9d271a0e -Author: Behdad Esfahbod -Date: Sun Oct 28 15:18:55 2018 -0700 - - Remove dump-emoji - - src/Makefile.am | 9 -- - src/dump-emoji.cc | 322 ------------------------------------------ - src/hb-ot-color-sbix-table.hh | 4 +- - 3 files changed, 3 insertions(+), 332 deletions(-) - -commit b46de42b3a4bdf110154f4f067656f153f5a7d1b -Author: Behdad Esfahbod -Date: Sun Oct 28 15:13:45 2018 -0700 - - [sbix] Fix order of parameters - - src/hb-ot-color-sbix-table.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit a91cda72abdfc5e401510474c59dd14026e8b6cb -Author: Behdad Esfahbod -Date: Sun Oct 28 15:12:05 2018 -0700 - - [sbix] Remove redundant parameter - - src/hb-ot-color-sbix-table.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit c712005f55b2a1e5c782302d8a548cf1231c01f0 -Author: Behdad Esfahbod -Date: Sun Oct 28 15:11:10 2018 -0700 - - [sbix] Add get_strike() - - src/hb-ot-color-sbix-table.hh | 23 +++++++++++++---------- - 1 file changed, 13 insertions(+), 10 deletions(-) - -commit 400bc3f030b4ffebe24aa3562d8eb5fcc1cf4bdd -Author: Behdad Esfahbod -Date: Sun Oct 28 15:05:40 2018 -0700 - - [sbix] Remove a couple of extra checks - - src/hb-ot-color-sbix-table.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 3770282c837aacbf49b16be1986c91a608faa7da -Author: Behdad Esfahbod -Date: Sun Oct 28 15:02:53 2018 -0700 - - [sbix] Rename sbix_table to table in accelerator - - src/hb-ot-color-sbix-table.hh | 26 +++++++++++++------------- - 1 file changed, 13 insertions(+), 13 deletions(-) - -commit 7346841807ad96fc65bfc6ee9e78c3f190488f2a -Author: Behdad Esfahbod -Date: Sun Oct 28 15:00:13 2018 -0700 - - [cbdt] Rename reference_blob_for_glyph() to reference_png() - - src/hb-ot-color-cbdt-table.hh | 8 ++++---- - src/hb-ot-color.cc | 2 +- - 2 files changed, 5 insertions(+), 5 deletions(-) - -commit 1f33b8525d578323d6c798c08fc23c56896f9de0 -Author: Behdad Esfahbod -Date: Sun Oct 28 14:56:55 2018 -0700 - - [sbix] Rename ugly reference_blob_for_glyph() to reference_png() - - src/hb-ot-color-sbix-table.hh | 16 +++++++--------- - src/hb-ot-color.cc | 4 +--- - 2 files changed, 8 insertions(+), 12 deletions(-) - -commit 946b5344193183133bfc9799e26d3d0436d86404 -Author: Behdad Esfahbod -Date: Sun Oct 28 14:52:25 2018 -0700 - - [sbix] Fix uninitialized variables - - src/hb-ot-color-sbix-table.hh | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit 01c7d53fb739b547f3633972194893f68a4738bc -Author: Behdad Esfahbod -Date: Sun Oct 28 14:51:18 2018 -0700 - - [sbix] Select best strike based on ppem - - src/hb-ot-color-sbix-table.hh | 50 ++++++++++++++++++++++++------------------- - src/hb-ot-color.cc | 3 +-- - src/hb-ot-font.cc | 2 +- - 3 files changed, 30 insertions(+), 25 deletions(-) - -commit f9f26bff4c79d65a92affd6b73e2b3de017f2d6d -Author: Behdad Esfahbod -Date: Sun Oct 28 14:20:50 2018 -0700 - - [sbix] Move code around. Add get_extents() - - src/hb-ot-color-sbix-table.hh | 15 +++++++++++++-- - src/hb-ot-font.cc | 2 +- - 2 files changed, 14 insertions(+), 3 deletions(-) - -commit 48bc3039cb46d2b8cf672d86b63b4235a86252e6 -Author: Behdad Esfahbod -Date: Sun Oct 28 14:16:52 2018 -0700 - - [sbix] Check blob length against PNG header leangth - - src/hb-ot-color-sbix-table.hh | 37 +++++++++++++++++++++++-------------- - 1 file changed, 23 insertions(+), 14 deletions(-) - -commit d3ec31a57cb99048fb33bca65041da9dc884d8cb -Author: Ebrahim Byagowi -Date: Mon Oct 29 00:28:44 2018 +0330 - - [ot-color] More on PNGHeader fields - - src/hb-ot-color-sbix-table.hh | 12 +++++++++--- - 1 file changed, 9 insertions(+), 3 deletions(-) - -commit 35fa3d326096639a33635e19f204a9cb31f20826 -Author: Ebrahim Byagowi -Date: Mon Oct 29 00:07:26 2018 +0330 - - [ot-color] Apply Behdad comment - - src/hb-ot-color-sbix-table.hh | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit 307d61867a2b70073eecd1e0cb9b7d912e1c3f06 -Author: Ebrahim Byagowi -Date: Mon Oct 29 00:03:01 2018 +0330 - - [ot-color] Make PNGHeader reading actually work - - src/hb-ot-color-sbix-table.hh | 6 +++--- - test/api/test-ot-color.c | 4 ++-- - 2 files changed, 5 insertions(+), 5 deletions(-) - -commit 632e9af862aba49ab31343c4fd07dffef6d2749f -Author: Ebrahim Byagowi -Date: Sun Oct 28 23:43:50 2018 +0330 - - [ot-color] Implement PNGHeader and test it, it doesn't work however - - src/hb-ot-color-sbix-table.hh | 20 +++++++++++++++----- - src/hb-ot-font.cc | 4 +--- - test/api/test-ot-color.c | 16 ++++++++++++++++ - 3 files changed, 32 insertions(+), 8 deletions(-) - -commit 38706a0746822865008f810f9f577740c32580fa -Author: Ebrahim Byagowi -Date: Sun Oct 28 23:19:04 2018 +0330 - - [ot-color] Preparation for setting PNG width/height in extents - - src/dump-emoji.cc | 7 +++--- - src/hb-ot-color-sbix-table.hh | 52 +++++++++++++++++++++++++++++++++++-------- - src/hb-ot-color.cc | 14 +++++------- - src/hb-ot-font.cc | 7 +++++- - 4 files changed, 59 insertions(+), 21 deletions(-) - -commit d6d6f3bc225bab57c1ab29b41876c98ac4ec1e4d -Author: Behdad Esfahbod -Date: Sun Oct 28 11:41:33 2018 -0700 - - [docs] Add comment - - src/hb-ot-font.cc | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit 3d4c1f6a41022ec99adefa2bdd2489622e2f9a66 -Author: Ebrahim Byagowi -Date: Sun Oct 28 21:38:56 2018 +0330 - - [ot-color] Apply Behdad reviews - - docs/harfbuzz-sections.txt | 4 ++-- - src/hb-ot-color-cbdt-table.hh | 15 ++++----------- - src/hb-ot-color-sbix-table.hh | 6 ++---- - src/hb-ot-color.cc | 8 ++++---- - src/hb-ot-color.h | 4 ++-- - test/api/test-ot-color.c | 14 +++++++------- - 6 files changed, 21 insertions(+), 30 deletions(-) - -commit 8ef0d2ef928ac47278d7c6db8c8040a47f076e85 -Author: Ebrahim Byagowi -Date: Sun Oct 28 20:09:40 2018 +0330 - - [ot-color] Apply Behdad comment - - src/dump-emoji.cc | 2 +- - src/hb-ot-color-cbdt-table.hh | 16 +++++++--------- - src/hb-ot-color-sbix-table.hh | 14 ++++---------- - src/hb-ot-color.cc | 22 +++++++--------------- - src/hb-ot-color.h | 5 +---- - test/api/test-ot-color.c | 15 ++++----------- - 6 files changed, 24 insertions(+), 50 deletions(-) - -commit dbd419bedef06a07c844b6a748a5e2868016000c -Author: Ebrahim Byagowi -Date: Sat Oct 27 15:15:24 2018 +0330 - - [ot-color] Add public API for CBDT/sbix/SVG color Emojis - - docs/harfbuzz-sections.txt | 4 ++++ - src/dump-emoji.cc | 4 ++-- - src/hb-ot-color.cc | 39 ++++----------------------------------- - src/hb-ot-color.h | 24 ++++++++++++++++++++++++ - test/api/test-ot-color.c | 8 ++------ - 5 files changed, 36 insertions(+), 43 deletions(-) - -commit 6ce49a921a80f1238ddc537f77a1fceea5274a21 -Author: Behdad Esfahbod -Date: Sun Oct 28 08:26:30 2018 -0700 - - [name] Change hb_name_id_t back to unsigned int - - https://github.com/harfbuzz/harfbuzz/commit/d941f66c75fe26f909b1ba248535cc372bbde851#commitcomment-31076011 - - docs/harfbuzz-sections.txt | 2 -- - src/hb-ot-color-cpal-table.hh | 4 ++-- - src/hb-ot-layout.cc | 12 ++++++------ - src/hb-ot-name-table.hh | 2 +- - src/hb-ot-name.h | 6 +++--- - src/test-size-params.cc | 2 +- - 6 files changed, 13 insertions(+), 15 deletions(-) - -commit a4f4f5ba5f64174dea931e02367aa4067d034383 -Author: Behdad Esfahbod -Date: Sun Oct 28 08:23:36 2018 -0700 - - [docs] Fix titles here as well - - src/hb-map.cc | 2 +- - src/hb-set.cc | 2 +- - src/hb-shape-plan.cc | 2 +- - 3 files changed, 3 insertions(+), 3 deletions(-) - -commit 213b6dd33564d0273b1db1c17a4e82548b727dfe -Author: Behdad Esfahbod -Date: Sat Oct 27 18:36:24 2018 -0700 - - [name] Make sure hb_name_id_t is int-sized - - https://github.com/harfbuzz/harfbuzz/commit/d941f66c75fe26f909b1ba248535cc372bbde851#commitcomment-31068905 - - src/hb-ot-name.h | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit 4740a3593d6bbb97758593b7d5cd1b86eccbed78 -Author: Behdad Esfahbod -Date: Sat Oct 27 05:07:54 2018 -0700 - - [docs] Divide reference API into three chapters - - docs/harfbuzz-docs.xml | 213 +++++++++++++------------------------------------ - 1 file changed, 56 insertions(+), 157 deletions(-) - -commit 1d40d72f291ed5e11850f8bd51a8562b57de1997 -Author: Behdad Esfahbod -Date: Sat Oct 27 05:00:42 2018 -0700 - - [docs] Hook up hb-var - - docs/harfbuzz-docs.xml | 1 + - src/hb-ot-var.cc | 11 +++++++++++ - 2 files changed, 12 insertions(+) - -commit 80d9a427cf61f61512de13cd88bdc63d881019fe -Author: Behdad Esfahbod -Date: Sat Oct 27 04:58:32 2018 -0700 - - [docs] Document remaining sections - - src/hb-ot-color.cc | 10 ++++++++++ - src/hb-ot-font.cc | 10 ++++++++++ - src/hb-ot-layout.cc | 10 ++++++++++ - src/hb-ot-math.cc | 11 +++++++++++ - src/hb-ot-name.cc | 10 ++++++++++ - src/hb-ot-shape.cc | 10 ++++++++++ - 6 files changed, 61 insertions(+) - -commit cf5fa57f00613d324b55732d9e21c779ba0d2de2 -Author: Behdad Esfahbod -Date: Sat Oct 27 04:50:38 2018 -0700 - - [docs] Change section titles again - - I think I like the uniform "hb-*" more. - - src/hb-blob.cc | 2 +- - src/hb-buffer.cc | 2 +- - src/hb-common.cc | 4 ++-- - src/hb-deprecated.h | 12 ++++++++++++ - src/hb-face.cc | 2 +- - src/hb-font.cc | 2 +- - src/hb-shape.cc | 2 +- - src/hb-unicode.cc | 2 +- - 8 files changed, 20 insertions(+), 8 deletions(-) - -commit 04981ee05d83ed30c9f818106589a4de9c3e9b7f -Author: Behdad Esfahbod -Date: Sat Oct 27 04:40:43 2018 -0700 - - [docs] More - - src/hb-coretext.cc | 10 ++++++++++ - src/hb-ft.cc | 11 +++++++++++ - src/hb-glib.cc | 10 ++++++++++ - src/hb-gobject-structs.cc | 12 ++++++++++++ - src/hb-graphite2.cc | 10 ++++++++++ - src/hb-icu.cc | 10 ++++++++++ - src/hb-uniscribe.cc | 10 ++++++++++ - 7 files changed, 73 insertions(+) - -commit 5dd86aa33b4e52a0de4fcd96b2ea7bafcae8dd34 -Author: Behdad Esfahbod -Date: Sat Oct 27 04:28:40 2018 -0700 - - [docs] Rename section titles to object names - - More useful. - - src/hb-blob.cc | 2 +- - src/hb-buffer.cc | 2 +- - src/hb-face.cc | 4 ++-- - src/hb-font.cc | 4 ++-- - src/hb-map.cc | 2 +- - src/hb-set.cc | 2 +- - src/hb-shape-plan.cc | 2 +- - src/hb-unicode.cc | 2 +- - 8 files changed, 10 insertions(+), 10 deletions(-) - -commit 524fb70216d7fec17f5327237faa4d092ae15a00 -Author: Behdad Esfahbod -Date: Sat Oct 27 04:27:36 2018 -0700 - - [docs] More - - src/hb-map.cc | 11 ++++++++++- - src/hb-set.cc | 11 ++++++++++- - 2 files changed, 20 insertions(+), 2 deletions(-) - -commit 46072b7cb55bfeb8c46a78cbdb335dfdcce48298 -Author: Behdad Esfahbod -Date: Sat Oct 27 04:21:20 2018 -0700 - - [ot] Fold hb-ot-tag.h into hb-ot-layout.h - - docs/harfbuzz-docs.xml | 1 - - docs/harfbuzz-sections.txt | 20 +++++------- - src/Makefile.sources | 1 - - src/hb-graphite2.cc | 2 +- - src/hb-ot-layout.h | 42 ++++++++++++++++++++++++- - src/hb-ot-tag.h | 78 ---------------------------------------------- - src/hb-ot.h | 1 - - src/hb-uniscribe.cc | 2 +- - 8 files changed, 51 insertions(+), 96 deletions(-) - -commit 00cf4e5eb6dcb04406d5a519712da799277cec2e -Author: Behdad Esfahbod -Date: Sat Oct 27 04:07:33 2018 -0700 - - [docs] Fill in some sections - - docs/harfbuzz-docs.xml | 20 ++++++-------- - docs/harfbuzz-sections.txt | 65 +++++++++++++++++++--------------------------- - src/hb-blob.cc | 13 ++++++++++ - src/hb-buffer.cc | 3 ++- - src/hb-common.cc | 23 ++++++++++++++++ - src/hb-face.cc | 13 ++++++++++ - src/hb-font.cc | 13 ++++++++++ - src/hb-shape-plan.cc | 13 ++++++++++ - src/hb-shape.cc | 4 ++- - src/hb-unicode.cc | 14 ++++++++++ - 10 files changed, 129 insertions(+), 52 deletions(-) - -commit 55a19d73b4d5e7ddd328263d241a442f16f005b2 -Author: Behdad Esfahbod -Date: Sat Oct 27 04:01:19 2018 -0700 - - Move HB_EXTERN - - src/hb-common.h | 4 ++++ - src/hb.h | 4 ---- - 2 files changed, 4 insertions(+), 4 deletions(-) - -commit 524e854c15f9d6c50c5456ae0e188f039dcf153c -Merge: 4ee3c8272 8180c37df -Author: Ebrahim Byagowi -Date: Sat Oct 27 15:04:43 2018 +0330 - - Merge pull request #1318 from ebraminio/png - - Add a non-hooked _png _svg get emoji blob - -commit 8180c37df0a856dbc3564c0aefd8b2acab8baf8a -Author: Ebrahim Byagowi -Date: Sat Oct 27 14:45:00 2018 +0330 - - [ot-color] Remove _png and _svg public APIs - - docs/harfbuzz-sections.txt | 4 ---- - src/dump-emoji.cc | 11 ++++++++--- - src/hb-ot-color.cc | 39 +++++++++++++++++++++++++++++++++++---- - src/hb-ot-color.h | 24 ------------------------ - test/api/test-ot-color.c | 8 ++++++-- - 5 files changed, 49 insertions(+), 37 deletions(-) - -commit 9aa6279a2d64ab8057b0d7acbcc77044442c6d0e -Author: Ebrahim Byagowi -Date: Sat Oct 27 14:24:58 2018 +0330 - - [ot-color/png] Try to get image blob from sbix first options.aat is set - - src/hb-ot-color.cc | 16 +++++++++++----- - 1 file changed, 11 insertions(+), 5 deletions(-) - -commit b42661ee91ea92309e827a970f370cacc62c73aa -Author: Ebrahim Byagowi -Date: Sat Oct 27 14:15:38 2018 +0330 - - [ot-color] Add some documentation - - src/hb-ot-color.cc | 37 +++++++++++++++++++------------------ - src/hb-ot-color.h | 2 +- - 2 files changed, 20 insertions(+), 19 deletions(-) - -commit 4ee3c8272c31736980218cba95f97fed53d24e14 -Author: Behdad Esfahbod -Date: Sat Oct 27 03:18:45 2018 -0700 - - [docs] Fix hb_name_id_t - - Yep, was not recognized without this patch! - - src/hb-ot-name.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 9435fb24daadf08add9a701816da01bd54c0cd78 -Author: Ebrahim Byagowi -Date: Sat Oct 27 13:32:14 2018 +0330 - - [ot-color/png] Implement CBDT part - - src/hb-ot-color-cbdt-table.hh | 56 +++++++++++++++++++++++++++++++++++++++---- - src/hb-ot-color.cc | 19 ++------------- - src/hb-ot-color.h | 4 ++++ - test/api/test-ot-color.c | 25 ++++++++++++++++--- - 4 files changed, 79 insertions(+), 25 deletions(-) - -commit 9457cfd7bcc9c2fff38194f2bb82ab7be881bfeb -Author: Behdad Esfahbod -Date: Sat Oct 27 03:15:34 2018 -0700 - - [docs] Hook up hb-map - - docs/harfbuzz-docs.xml | 1 + - 1 file changed, 1 insertion(+) - -commit d941f66c75fe26f909b1ba248535cc372bbde851 -Author: Behdad Esfahbod -Date: Sat Oct 27 02:55:52 2018 -0700 - - [name] Make hb_name_id_t be the enum - - This is like hb_script_t. - - We had this exposed as unsigned int since 2.0.0 release in two APIs, - as well as hb_ot_layout_get_size_params() from earlier. - But since no one uses those (right?!), let's just fix this now. - - docs/harfbuzz-docs.xml | 6 ++++-- - docs/harfbuzz-sections.txt | 4 +++- - src/hb-ot-color-cpal-table.hh | 12 ++++++------ - src/hb-ot-layout.cc | 16 ++++++++-------- - src/hb-ot-name-table.hh | 2 +- - src/hb-ot-name.h | 15 ++++----------- - src/test-size-params.cc | 2 +- - 7 files changed, 27 insertions(+), 30 deletions(-) - -commit 40496a54a03864c5e6a1224c18b4b93a1f578eed -Author: Behdad Esfahbod -Date: Sat Oct 27 02:49:32 2018 -0700 - - [name] Move HB_NAME_ID_INVALID into the enum - - Don't know how to document anonymous enum members. - - src/hb-ot-name.h | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit a8a55b9f892a5e4f086b20bbe337dc29182210af -Author: Behdad Esfahbod -Date: Sat Oct 27 02:45:57 2018 -0700 - - [name] Move around - - src/hb-ot-name.h | 74 ++++++++++++++++++++++++++++---------------------------- - 1 file changed, 37 insertions(+), 37 deletions(-) - -commit 3b7e5f131383956e19642d28c938f1bc0d16295f -Author: Behdad Esfahbod -Date: Sat Oct 27 02:39:20 2018 -0700 - - [name] Rename hb_ot_name_get_names() to hb_ot_name_list_names() - - And swap return value positions, so can be annotated for gobject-introspectin. - - docs/harfbuzz-sections.txt | 2 +- - src/hb-ot-name.cc | 17 ++++++++--------- - src/hb-ot-name.h | 6 +++--- - src/test-name-table.cc | 4 ++-- - 4 files changed, 14 insertions(+), 15 deletions(-) - -commit 4025ad804383dc8d5ace9654ae21d4d726d0dbc4 -Author: Behdad Esfahbod -Date: Sat Oct 27 02:35:06 2018 -0700 - - Document new API - - src/hb-common.h | 30 +++++++++++++++++++++++++- - src/hb-ot-color.cc | 16 +++++++------- - src/hb-ot-layout.cc | 2 +- - src/hb-ot-name.cc | 61 ++++++++++++++++++++++++++++++++++++++++++++++++++++- - src/hb-ot-name.h | 15 +++++++++++++ - 5 files changed, 113 insertions(+), 11 deletions(-) - -commit 5e2a52f71a8d081441fbc1c57a3550e3a9573e46 -Author: Ebrahim Byagowi -Date: Sat Oct 27 12:44:33 2018 +0330 - - [sbix] Remove dump method from sbix accelerator - - src/dump-emoji.cc | 36 ++++++++++++++++++++++++------------ - src/hb-ot-color-sbix-table.hh | 26 ++++++++++---------------- - 2 files changed, 34 insertions(+), 28 deletions(-) - -commit 0353ac6cde47df8f5386733f5c12cc60732a5bf4 -Author: Ebrahim Byagowi -Date: Sat Oct 27 12:24:53 2018 +0330 - - Fix test-name-table on older bots - - src/test-name-table.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit dc11a38107ac1f0a2d3edacae33ff7f10f5e894c -Author: Ebrahim Byagowi -Date: Sat Oct 27 12:15:25 2018 +0330 - - [sbix] Set num_glyphs on accelerator - - dump-emoji was broken without it - - src/hb-ot-color-sbix-table.hh | 1 + - 1 file changed, 1 insertion(+) - -commit 6a38fd68a8f4e66d9248e0c943ae3a1cf45c521b -Author: Ebrahim Byagowi -Date: Sat Oct 27 10:50:53 2018 +0330 - - [ot-color/png] sbix runtime memory check - - src/hb-ot-color-cbdt-table.hh | 16 +++++++--------- - src/hb-ot-color-sbix-table.hh | 18 ++++++++++++------ - src/hb-ot-color-svg-table.hh | 4 ++-- - 3 files changed, 21 insertions(+), 17 deletions(-) - -commit ca645accb97841e01846e45cda32e6bd2ad15940 -Author: Behdad Esfahbod -Date: Sat Oct 27 00:39:31 2018 -0700 - - Comment - - src/hb-ot-shape-complex-indic.cc | 2 ++ - 1 file changed, 2 insertions(+) - -commit 265ad408ca41e9d0b5a1056a751d834d4eadc911 -Author: Ebrahim Byagowi -Date: Fri Oct 26 23:55:11 2018 +0330 - - [ot-color/png] Implement sbix part - - docs/harfbuzz-sections.txt | 2 + - src/dump-emoji.cc | 5 ++- - src/hb-ot-color-cbdt-table.hh | 27 ++++++++---- - src/hb-ot-color-sbix-table.hh | 98 +++++++++++++++++++++++++++++++++++++------ - src/hb-ot-color.cc | 64 ++++++++++++++++++++++++++++ - src/hb-ot-color.h | 9 ++++ - test/api/test-ot-color.c | 32 ++++++++++++++ - 7 files changed, 215 insertions(+), 22 deletions(-) - -commit 7f5941e162bf7806299656edafd452a47b5a55b9 -Author: Behdad Esfahbod -Date: Sat Oct 27 00:06:48 2018 -0700 - - Remove stale comment - - Ugliness was fixed in 30eab97a0072fbc22d353082249e0e6e546cd86b - But yeah, my smell detector was working. Ugliness was buggy. - - src/hb-ot-shape-normalize.cc | 1 - - 1 file changed, 1 deletion(-) - -commit e7400c0275cad4f584eeaf21ce6d5c6adca29bbb -Author: Behdad Esfahbod -Date: Fri Oct 26 22:09:17 2018 -0700 - - [docs] Hook up new symbols - - docs/harfbuzz-docs.xml | 46 +++++++++++++++++++++++++++++++++++++++++----- - docs/harfbuzz-sections.txt | 21 +++++++++++++++++++++ - src/hb-ot-color.cc | 2 +- - 3 files changed, 63 insertions(+), 6 deletions(-) - -commit 6aa019c4af6b64bb732205e6051f3e73e1b70721 -Author: Behdad Esfahbod -Date: Fri Oct 26 22:02:17 2018 -0700 - - [morx] Fix merge_cluster to end at last ligature component - - Don't assume current position was a component in the ligature. - - src/hb-aat-layout-morx-table.hh | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 00ae4be6bf8b1d0800043167c5cf95187ac12515 -Author: Behdad Esfahbod -Date: Fri Oct 26 21:59:20 2018 -0700 - - [morx] Fix bailing out ligation at end-of-text - - Check was after a move_to, which wouldn't work. - - Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=11147 - - src/hb-aat-layout-morx-table.hh | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit 30eab97a0072fbc22d353082249e0e6e546cd86b -Author: Behdad Esfahbod -Date: Fri Oct 26 21:54:07 2018 -0700 - - Fix invalid memory read - - Buffer might be relocated inside replace_glyphs(). - - Fixes https://bugs.chromium.org/p/chromium/issues/detail?id=895117 - - src/hb-ot-shape-normalize.cc | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 79b2fa62ca7eb5a875778d3a2ecae63350083ba3 -Author: Behdad Esfahbod -Date: Fri Oct 26 21:21:18 2018 -0700 - - [indic] Fix infinite loop - - Fixes https://bugs.chromium.org/p/chromium/issues/detail?id=863044 - - src/hb-ot-shape-complex-indic.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 39bd07aed5fe6ccddde53206bafceec32d56dcc1 -Author: Behdad Esfahbod -Date: Fri Oct 26 21:01:11 2018 -0700 - - Fix bunch of unused parameter warnings - - Show up with gcc -O0. - - There's a few more but those are functions that need to be filled in. - - Maybe this is a lost battle... - - src/gen-vowel-constraints.py | 4 ++-- - src/hb-aat-layout-common.hh | 7 +++++-- - src/hb-aat-layout-kerx-table.hh | 4 ++-- - src/hb-aat-layout-morx-table.hh | 10 +++++----- - src/hb-face.cc | 2 +- - src/hb-font.cc | 29 ++++++++++++++-------------- - src/hb-graphite2.cc | 9 ++++++--- - src/hb-machinery.hh | 4 ++-- - src/hb-ot-color-cbdt-table.hh | 2 +- - src/hb-ot-glyf-table.hh | 4 ++-- - src/hb-ot-hmtx-table.hh | 2 +- - src/hb-ot-layout-gpos-table.hh | 2 +- - src/hb-ot-math-table.hh | 2 +- - src/hb-ot-maxp-table.hh | 2 +- - src/hb-ot-shape-complex-arabic-fallback.hh | 6 +++--- - src/hb-ot-shape-complex-arabic.cc | 6 +++--- - src/hb-ot-shape-complex-hangul.cc | 2 +- - src/hb-ot-shape-complex-khmer.cc | 2 +- - src/hb-ot-shape-complex-myanmar.cc | 6 +++--- - src/hb-ot-shape-complex-use.cc | 8 ++++---- - src/hb-ot-shape-complex-vowel-constraints.cc | 4 ++-- - src/hb-ot-shape-fallback.cc | 4 ++-- - src/hb-ot-shape-normalize.cc | 4 +++- - src/hb-ot-shape.cc | 2 +- - src/hb-ot-tag.cc | 3 +-- - src/hb-ot-vorg-table.hh | 2 +- - src/hb-set.cc | 2 +- - src/hb-shape-plan.cc | 2 +- - src/hb-utf.hh | 2 +- - 29 files changed, 73 insertions(+), 65 deletions(-) - -commit b2e1ec374cbd2a6e4d79419bd5601a4e2ecb9864 -Author: Behdad Esfahbod -Date: Fri Oct 26 20:45:28 2018 -0700 - - [subset] Fix warning - - src/hb-subset.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 337ea0b7175793305e9d8935aecf385b707a5bc4 -Author: Behdad Esfahbod -Date: Fri Oct 26 20:31:14 2018 -0700 - - [fuzzing] Remove HB_NDEBUG - - Not sure why it ever was added. - - src/Makefile.am | 1 - - 1 file changed, 1 deletion(-) - -commit 12058e44d100c28816f42c91c63a0f960a662181 -Author: Behdad Esfahbod -Date: Fri Oct 26 16:23:50 2018 -0700 - - [fuzzing] Add more test - - ...z-testcase-minimized-harfbuzz_fuzzer-5659690013556736 | Bin 0 -> 2732 bytes - 1 file changed, 0 insertions(+), 0 deletions(-) - -commit c965eeadbc71943f2336a20dc16ac691c805b90e -Author: Behdad Esfahbod -Date: Thu Oct 25 13:43:25 2018 -0700 - - [name] Default to "en" if language is not specified - - src/hb-ot-name.cc | 3 +++ - 1 file changed, 3 insertions(+) - -commit 3fd6e5dbefe52a4a2e604c28a4edfbd40ed16027 -Author: Behdad Esfahbod -Date: Wed Oct 24 13:42:38 2018 -0700 - - [name] Add pre-defined nameIDs - - src/hb-ot-name.h | 29 +++++++++++++++++++++++++++++ - 1 file changed, 29 insertions(+) - -commit 20d0171d20cf9f3f93bdd6878bbc1d7d8329e75f -Author: Behdad Esfahbod -Date: Wed Oct 24 13:20:19 2018 -0700 - - [name] Fill out most missing language codes - - src/hb-ot-name-language.cc | 114 +++++++++++++++++++++++---------------------- - 1 file changed, 58 insertions(+), 56 deletions(-) - -commit 622b014faf7bbe7a97f9aff959c434d1664c10d0 -Author: Behdad Esfahbod -Date: Wed Oct 24 12:40:15 2018 -0700 - - [name] Skip enumerating names with unknown language - - src/hb-ot-name-table.hh | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 2c39f359e4a7312e3b518f76815d79e42ee96a32 -Author: Behdad Esfahbod -Date: Wed Oct 24 12:34:30 2018 -0700 - - [utf] Remove unused typedef - - src/hb-utf.hh | 1 - - 1 file changed, 1 deletion(-) - -commit ce81c7429810ad3902c37e50016ca54b9bae6f91 -Author: Behdad Esfahbod -Date: Wed Oct 24 12:34:03 2018 -0700 - - [utf] Fix ASCII - - src/hb-utf.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 327546e633b590d6dedfb901810ccf490a0bf922 -Author: Behdad Esfahbod -Date: Tue Oct 23 23:33:44 2018 -0700 - - [name] Hook up ltag table - - src/hb-aat-layout.cc | 15 ++++++++++++++- - src/hb-aat-layout.hh | 5 +++++ - src/hb-aat-ltag-table.hh | 17 +++++++++++++++-- - src/hb-ot-face.hh | 3 ++- - src/hb-ot-name-table.hh | 9 +++++---- - 5 files changed, 41 insertions(+), 8 deletions(-) - -commit dc9a5f88b401fcad598946fcf735010c563741ac -Author: Behdad Esfahbod -Date: Tue Oct 23 23:16:06 2018 -0700 - - [name] Do record sanitization at run-time - - src/hb-dsalgs.hh | 62 +++++++++++++++++++++++++++---------------------- - src/hb-ot-name-table.hh | 22 +++++++++++------- - src/hb-ot-name.cc | 2 +- - 3 files changed, 49 insertions(+), 37 deletions(-) - -commit a53d301b1c9f72cb42cc0fc321e2ad4dbac8e064 -Author: Behdad Esfahbod -Date: Tue Oct 23 23:05:55 2018 -0700 - - [name] Minor - - src/hb-ot-name-table.hh | 7 ++++--- - 1 file changed, 4 insertions(+), 3 deletions(-) - -commit c442fd9a10b3e91ab18720188afff08325adf6dc -Author: Behdad Esfahbod -Date: Tue Oct 23 22:45:45 2018 -0700 - - [name] Add src/test-name-table tool to show all font names - - src/Makefile.am | 17 ++++++++----- - src/test-name-table.cc | 67 ++++++++++++++++++++++++++++++++++++++++++++++++++ - 2 files changed, 78 insertions(+), 6 deletions(-) - -commit 7007bd9dff9f8eef3263f1b39327552ff1ebae3f -Author: Behdad Esfahbod -Date: Tue Oct 23 22:44:36 2018 -0700 - - [name] Rebuild language list, include missing entries - - src/hb-ot-name-language.cc | 634 ++++++++++++++++++++++++++------------------- - 1 file changed, 370 insertions(+), 264 deletions(-) - -commit 68f172101c1228a7d669d71da1d0eeb96a10565e -Author: Behdad Esfahbod -Date: Tue Oct 23 22:19:09 2018 -0700 - - [name] Fix cmp for invalid language - - src/hb-ot-name-table.hh | 3 +++ - 1 file changed, 3 insertions(+) - -commit 888a65615c7b11222749ae85c124aaa9a36fe863 -Author: Behdad Esfahbod -Date: Tue Oct 23 22:16:32 2018 -0700 - - [name] Fix nul-termination bug - - src/hb-ot-name.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 9b532e2ed432611005b19c40cac7e626afcccd08 -Author: Behdad Esfahbod -Date: Tue Oct 23 22:00:19 2018 -0700 - - [name] Add language mapping - - src/Makefile.sources | 2 + - src/hb-ot-name-language.cc | 349 +++++++++++++++++++++++++++++++++++++++++++++ - src/hb-ot-name-language.hh | 40 ++++++ - src/hb-ot-name-table.hh | 21 ++- - 4 files changed, 399 insertions(+), 13 deletions(-) - -commit e2f9b657758cda3708c0a9db971c467ca59d5c19 -Author: Behdad Esfahbod -Date: Tue Oct 23 21:19:56 2018 -0700 - - [name] Start adding language support - - src/hb-ot-name-table.hh | 25 ++++++++++++++++++++++++- - 1 file changed, 24 insertions(+), 1 deletion(-) - -commit 6db6bbe64bd63554919647c5b527e03aedbaee4e -Author: Behdad Esfahbod -Date: Tue Oct 23 21:12:58 2018 -0700 - - [name] Remove unused cmp function - - src/hb-ot-name-table.hh | 16 ---------------- - 1 file changed, 16 deletions(-) - -commit 4668a05006e6c4797df19651489b4589817e1e01 -Author: Behdad Esfahbod -Date: Tue Oct 23 20:51:53 2018 -0700 - - [name] Hook things up - - Accept Mac Latin name entries as ASCII as well. - - src/hb-ot-name-table.hh | 24 +++++++++++++++------ - src/hb-ot-name.cc | 8 +++++-- - src/hb-utf.hh | 55 +++++++++++++++++++++++++++++++++++++++++++++++++ - 3 files changed, 79 insertions(+), 8 deletions(-) - -commit 69f5da0629f1e5a307fc49fe58490aa92d1bd0e2 -Author: Behdad Esfahbod -Date: Tue Oct 23 20:30:40 2018 -0700 - - [name] More - - It assumes all names are encoded in UTF16-BE. Other than that, and not - listing languages correctly, it's *supposed* to work. - - src/hb-dsalgs.hh | 21 +++++++++++++++++++++ - src/hb-ot-name-table.hh | 37 ++++++++++++++++++++++++++++++------- - src/hb-ot-name.cc | 12 ++++++++---- - src/hb-ot-os2-unicode-ranges.hh | 10 +++++----- - src/hb-unicode.cc | 8 ++++---- - src/hb-unicode.hh | 2 +- - 6 files changed, 69 insertions(+), 21 deletions(-) - -commit 64334aff8c2ea5aa066d77a95844bc6f84efe725 -Author: Behdad Esfahbod -Date: Tue Oct 23 20:15:53 2018 -0700 - - [name] Fix check - - src/hb-ot-name.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 5531bd068e759a5acb3b8d301c0ff9c64844166e -Author: Behdad Esfahbod -Date: Tue Oct 23 20:04:05 2018 -0700 - - [name] Flesh out UTF-X to UTF-X conversion routines - - src/hb-ot-name.cc | 84 ++++++++++++++++++++++++++++++++++++------ - src/hb-ot-name.h | 10 ++--- - src/hb-utf.hh | 107 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ - 3 files changed, 182 insertions(+), 19 deletions(-) - -commit 84811a06a26508effe9f4a9eaf1be15297ecf0cb -Author: Behdad Esfahbod -Date: Tue Oct 23 03:16:03 2018 -0700 - - [name] Fix for rebase changes to hb_array_t - - src/hb-ot-name-table.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 1046b1938b16ab6be861b0828b446fa13cf0377b -Author: Behdad Esfahbod -Date: Wed Oct 17 05:42:23 2018 -0700 - - [name] Some more - - src/hb-ot-name.cc | 19 +++++++++++++------ - 1 file changed, 13 insertions(+), 6 deletions(-) - -commit b4d4d1ea787c829dea023d99f974a38bdc3de0ae -Author: Behdad Esfahbod -Date: Tue Oct 16 19:55:17 2018 -0700 - - [name] Return full string length from API - - src/hb-ot-name.cc | 6 +++--- - src/hb-ot-name.h | 6 +++--- - 2 files changed, 6 insertions(+), 6 deletions(-) - -commit 8d304ef7f9094a71fabc3efd87b37a030c437adf -Author: Behdad Esfahbod -Date: Tue Oct 16 19:04:48 2018 -0700 - - [utf] Add UTF16-BE and UTF32-BE - - src/hb-buffer.cc | 4 +-- - src/hb-utf.hh | 80 ++++++++++++++++++++++++++++++++------------------------ - 2 files changed, 48 insertions(+), 36 deletions(-) - -commit a826a8730f21ae996ae8f4d12c44dc18b9e8e933 -Author: Behdad Esfahbod -Date: Tue Oct 16 13:06:56 2018 -0700 - - [name] Hide internal details from public API - - src/hb-ot-name-table.hh | 23 +++++++++++++---------- - src/hb-ot-name.h | 3 +-- - 2 files changed, 14 insertions(+), 12 deletions(-) - -commit e7c595a9f09ba1552b2de1f8d56cbdcf376b9cad -Author: Behdad Esfahbod -Date: Mon Oct 15 23:34:54 2018 -0700 - - [name] More - - src/hb-ot-name.cc | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit 75cd8c86bd9b0973864bb92e0244bf038980765e -Author: Behdad Esfahbod -Date: Mon Oct 15 23:32:08 2018 -0700 - - [name] Add hb_ot_name_get_utf() - - src/hb-ot-name.cc | 24 ++++++++++++++++++------ - 1 file changed, 18 insertions(+), 6 deletions(-) - -commit c783d36324dd1e2031d3387064afab1ce5d90b6f -Author: Behdad Esfahbod -Date: Mon Oct 15 23:28:49 2018 -0700 - - [name] Pre-allocate array - - src/hb-ot-name-table.hh | 1 + - 1 file changed, 1 insertion(+) - -commit c2aa409537c3e8a7b8592ef90f8304bd6588561d -Author: Behdad Esfahbod -Date: Mon Oct 15 23:09:28 2018 -0700 - - [name] Start implementing hb_ot_name_get_utf16() - - src/hb-ot-name-table.hh | 6 ++++-- - src/hb-ot-name.cc | 22 ++++++++++++++++++++++ - src/hb-ot-name.h | 8 ++++++-- - 3 files changed, 32 insertions(+), 4 deletions(-) - -commit 740cde8991283b8b4e1e77e022175251eb37d3d1 -Author: Behdad Esfahbod -Date: Mon Oct 15 23:00:27 2018 -0700 - - [name] Implement hb_bytes_t get_name() - - src/hb-ot-name-table.hh | 24 +++++------------------- - 1 file changed, 5 insertions(+), 19 deletions(-) - -commit c3425f2401dffb1f3b5bd6fdbc0c3e9aad0f4306 -Author: Behdad Esfahbod -Date: Mon Oct 15 22:53:40 2018 -0700 - - [name] Add hb-ot-name.cc for realz - - src/hb-ot-name.cc | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 50 insertions(+) - -commit 90420ed8cb297f1ceff75f5a75c8fa7b6ea6f65e -Author: Behdad Esfahbod -Date: Mon Oct 15 22:48:48 2018 -0700 - - [name] Implement hb_ot_name_get_names() - - src/Makefile.sources | 1 + - src/hb-ot-name-table.hh | 3 +-- - src/hb-ot-name.h | 4 ++-- - 3 files changed, 4 insertions(+), 4 deletions(-) - -commit 9a6c87c17d51fd57e4225c776a0fabbfd313f4f4 -Author: Behdad Esfahbod -Date: Mon Oct 15 22:42:04 2018 -0700 - - [name] Finish accelerator sorting - - src/hb-ot-name-table.hh | 61 +++++++++++++++++++++++++++++++++++++++++-------- - src/hb-ot-name.h | 3 ++- - 2 files changed, 53 insertions(+), 11 deletions(-) - -commit 2157e56b34e7b932dd144ee3563f5bd682bbed30 -Author: Behdad Esfahbod -Date: Mon Oct 15 22:22:50 2018 -0700 - - [name] Start implementing public API infrastructure - - src/hb-ot-face.cc | 1 + - src/hb-ot-face.hh | 7 +++--- - src/hb-ot-name-table.hh | 60 +++++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-ot-name.h | 3 +++ - 4 files changed, 68 insertions(+), 3 deletions(-) - -commit 0bf93ec0fb549d838b0a246de02a95559a9b2772 -Author: Behdad Esfahbod -Date: Mon Oct 15 21:34:10 2018 -0700 - - [name] Add public API declarations - - src/hb-ot-name.h | 34 ++++++++++++++++++++++++++++++++++ - 1 file changed, 34 insertions(+) - -commit 982c2f4a65d127e56e09e7ab583f84099b8136bb -Author: Behdad Esfahbod -Date: Fri Oct 26 15:40:12 2018 -0700 - - [indic/khmer/myanmar/use] Clarify clear_syllable - - No logic change. - - src/hb-ot-shape-complex-indic.cc | 3 ++- - src/hb-ot-shape-complex-khmer.cc | 4 +--- - src/hb-ot-shape-complex-myanmar.cc | 40 ++++++++++++++++++-------------------- - src/hb-ot-shape-complex-use.cc | 22 +++++++++++++++------ - 4 files changed, 38 insertions(+), 31 deletions(-) - -commit 143ffe65aa7f20d6c53219905cbc2520d680b8dd -Author: Ebrahim Byagowi -Date: Fri Oct 26 12:14:30 2018 +0330 - - [fuzz] Add a new testcase - - ...z-testcase-minimized-hb-shape-fuzzer-5658272078495744 | Bin 0 -> 2252 bytes - 1 file changed, 0 insertions(+), 0 deletions(-) - -commit 30f18039b3c0e5748101f8934ae82aebfc5a83f7 -Author: Ebrahim Byagowi -Date: Fri Oct 26 09:34:34 2018 +0330 - - [svg] Rename _svg_create_blob to _glyph_reference_blob_svg - - docs/harfbuzz-sections.txt | 2 ++ - src/dump-emoji.cc | 2 +- - src/hb-ot-color.cc | 4 ++-- - src/hb-ot-color.h | 2 +- - test/api/test-ot-color.c | 6 +++--- - 5 files changed, 9 insertions(+), 7 deletions(-) - -commit 5cb1ce868138a10c0663a18c3891bc717aa4bc64 -Author: Ebrahim Byagowi -Date: Thu Oct 25 22:39:58 2018 +0330 - - [svg] Collapse SVGDocumentIndex into SVG - - src/hb-ot-color-svg-table.hh | 54 +++++++++++++++----------------------------- - src/hb-ot-color.cc | 2 +- - test/api/test-ot-color.c | 2 +- - 3 files changed, 20 insertions(+), 38 deletions(-) - -commit 4ceabb8c2126fe365303b8d69e667005276c0241 -Author: Ebrahim Byagowi -Date: Thu Oct 25 21:52:35 2018 +0330 - - [svg] Hide start_glyph and end_glyph from API - - src/dump-emoji.cc | 21 ++++++++------------- - src/hb-ot-color-svg-table.hh | 42 ++++++++++++------------------------------ - src/hb-ot-color.cc | 9 ++------- - src/hb-ot-color.h | 5 +---- - test/api/test-ot-color.c | 11 ++--------- - 5 files changed, 25 insertions(+), 63 deletions(-) - -commit c7a4e3dfb5c8dd4f8faf08e327bb1900c0096cf6 -Author: Ebrahim Byagowi -Date: Tue Oct 23 18:00:48 2018 +0330 - - [svg] Add public API - - * hb_ot_color_has_svg - * hb_ot_color_glyph_svg_create_blob - - src/dump-emoji.cc | 51 +++++++++++++++---------- - src/hb-open-type.hh | 1 - - src/hb-ot-color-sbix-table.hh | 2 + - src/hb-ot-color-svg-table.hh | 86 ++++++++++++++++++++++++++++++++----------- - src/hb-ot-color.cc | 53 ++++++++++++++++++++++---- - src/hb-ot-color.h | 13 +++++++ - src/hb-ot-face.cc | 2 + - src/hb-ot-face.hh | 4 +- - src/hb-ot-layout.cc | 4 -- - test/api/test-ot-color.c | 43 +++++++++++++++++++--- - 10 files changed, 199 insertions(+), 60 deletions(-) - -commit e98af6d1eda33346f72de8a45fbd317fc0e15935 -Author: Behdad Esfahbod -Date: Thu Oct 25 22:25:29 2018 -0700 - - [layout] Try to speed up collect_lookups some more - - Barely made a dent :(. - - src/hb-ot-layout-common.hh | 2 ++ - src/hb-ot-layout.cc | 23 ++++------------------- - 2 files changed, 6 insertions(+), 19 deletions(-) - -commit eb44bfc864f91c0c833c3156475d191ac1b79c72 -Author: Behdad Esfahbod -Date: Thu Oct 25 21:42:19 2018 -0700 - - [layout] Memoize collect_features - - Fixes https://github.com/harfbuzz/harfbuzz/pull/1317 - Fixes https://oss-fuzz.com/v2/testcase-detail/6543700493598720 - - src/hb-ot-layout.cc | 55 ++++++++++++++++++++++++++++++++++++++++++++++------- - 1 file changed, 48 insertions(+), 7 deletions(-) - -commit 84098b1639775aea5bf3f5d91fa6e657b612ce3a -Author: Behdad Esfahbod -Date: Thu Oct 25 21:33:12 2018 -0700 - - [layout] Remove unintentionally added code - - src/hb-ot-layout-common.hh | 2 -- - 1 file changed, 2 deletions(-) - -commit 941600a9e06309f148d51403fa07dc56ce542572 -Author: Behdad Esfahbod -Date: Thu Oct 25 21:26:08 2018 -0700 - - [layout] Add hb_collect_features_context_t - - Towards https://github.com/harfbuzz/harfbuzz/pull/1317 - - src/hb-ot-layout.cc | 66 +++++++++++++++++++++++++++++------------------------ - 1 file changed, 36 insertions(+), 30 deletions(-) - -commit c237cdfcc74d33f77b2399b4d08228c2fcf50df5 -Author: Behdad Esfahbod -Date: Thu Oct 25 21:17:30 2018 -0700 - - [lookup] Fold another function inline - - src/hb-ot-layout.cc | 48 +++++++++++++++++++++--------------------------- - 1 file changed, 21 insertions(+), 27 deletions(-) - -commit fe5520ddea3941f7a72888d908fd2b895e2f388e -Author: Behdad Esfahbod -Date: Thu Oct 25 20:58:34 2018 -0700 - - [layout] More prep work to memoize collect_features() work - - src/hb-ot-layout.cc | 62 ++++++++++++++++++++--------------------------------- - 1 file changed, 23 insertions(+), 39 deletions(-) - -commit e8e67503ff0a50eb10ad410d6a76a282ea494cf4 -Author: Behdad Esfahbod -Date: Thu Oct 25 20:48:20 2018 -0700 - - [lookup] More prep work for memoizing collect_features - - https://github.com/harfbuzz/harfbuzz/pull/1317 - - src/hb-ot-layout-common.hh | 2 ++ - src/hb-ot-layout.cc | 83 +++++++++++++++++++++------------------------- - 2 files changed, 40 insertions(+), 45 deletions(-) - -commit 96828b97a8fc2c50721ce040bdde63c462908791 -Author: Behdad Esfahbod -Date: Thu Oct 25 20:34:29 2018 -0700 - - [layout] Minor - - We were returning the accelerator's lookup count. Returns table's. - They are the same except for OOM cases. Just shorter code. - - src/hb-ot-layout.cc | 14 +------------- - 1 file changed, 1 insertion(+), 13 deletions(-) - -commit 73449cd213c3a12468e99b9c3d840fc60a334902 -Author: Behdad Esfahbod -Date: Thu Oct 25 20:32:05 2018 -0700 - - [layout] Fold one function inline - - Preparation for fixing https://github.com/harfbuzz/harfbuzz/pull/1317 - - src/hb-ot-layout.cc | 22 +++------------------- - 1 file changed, 3 insertions(+), 19 deletions(-) - -commit ba5ca6a762cb46a17f41673b14996a12e6cfe3d1 -Author: Behdad Esfahbod -Date: Thu Oct 25 17:41:26 2018 -0700 - - [morx] Use deleted-glyph, instead of actual deletion, in Ligation - - Closer to what CoreText does. - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1302 - - src/hb-aat-layout-morx-table.hh | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit 5c272e3613667ca532f32764824784c63d797f57 -Author: Behdad Esfahbod -Date: Thu Oct 25 17:36:33 2018 -0700 - - [morx] Remove deleted-glyph at the end of processing - - src/hb-aat-layout-morx-table.hh | 17 +++++++++++++++++ - 1 file changed, 17 insertions(+) - -commit 1bb8ed86d6cfec0fc87c8e1930d9a86426b42001 -Author: Behdad Esfahbod -Date: Thu Oct 25 17:33:48 2018 -0700 - - [aat] Minor - - src/hb-aat-layout-common.hh | 4 +--- - 1 file changed, 1 insertion(+), 3 deletions(-) - -commit 102af615f15d04da20c17d80eb38f5948020f9ac -Author: Behdad Esfahbod -Date: Thu Oct 25 17:29:32 2018 -0700 - - [aat] Start adding support for DELETED-GLYPH - - https://github.com/harfbuzz/harfbuzz/issues/1302 - - src/hb-aat-layout-common.hh | 2 ++ - 1 file changed, 2 insertions(+) - -commit 955aa56b11e4fa14bc6d5b1b56cb810e28fab6cd -Author: Behdad Esfahbod -Date: Thu Oct 25 16:50:38 2018 -0700 - - [vector] Make it act more like pointer - - Add pointer cast operator and plus operator. - - src/hb-coretext.cc | 2 +- - src/hb-machinery.hh | 2 +- - src/hb-ot-cmap-table.hh | 2 +- - src/hb-set.hh | 8 ++++---- - src/hb-subset.cc | 2 +- - src/hb-uniscribe.cc | 12 ++++++------ - src/hb-vector.hh | 6 ++++++ - 7 files changed, 20 insertions(+), 14 deletions(-) - -commit 8d55e2adef9a376a5cf83c20aff2dba27dd64da8 -Author: Behdad Esfahbod -Date: Thu Oct 25 16:37:53 2018 -0700 - - [set] Minor - - src/hb-set.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 64c32edfe18f5ef3b348e5c84077ee1f6faf4f48 -Author: Behdad Esfahbod -Date: Thu Oct 25 16:35:36 2018 -0700 - - [set] Make array access more explicit - - Follow up on 94e421abbfc7ede9aaf3c8d86bb0ff9992ea3123 - - src/hb-set.hh | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit e3ceb2dde3525824de68914e12ad4e8a873ab90a -Author: Behdad Esfahbod -Date: Thu Oct 25 14:30:24 2018 -0700 - - Fix again - - test/shaping/data/in-house/fonts/DFONT.dfont | Bin 0 -> 3505 bytes - 1 file changed, 0 insertions(+), 0 deletions(-) - -commit eceeb85666814023f57ee3517bbb304830a60c55 -Author: Ebrahim Byagowi -Date: Fri Oct 26 00:23:45 2018 +0330 - - [docs] Add hb-ot-color section - - docs/harfbuzz-sections.txt | 14 ++++++++++++++ - 1 file changed, 14 insertions(+) - -commit be746009e9b7063dcb57e30e342f9410387ef8b6 -Author: Michiharu Ariza -Date: Thu Oct 25 13:40:40 2018 -0700 - - dropped support of legacy CFF CharString ops - - along with test & font - - src/hb-cff1-interp-cs.hh | 135 +------------------------------------- - test/api/fonts/cff1_legacyops.otf | Bin 3104 -> 0 bytes - test/api/test-ot-extents-cff.c | 23 ------- - 3 files changed, 1 insertion(+), 157 deletions(-) - -commit 1cfe702872058ebc50d6cb5543daa38fb3a7ebfb -Author: Behdad Esfahbod -Date: Thu Oct 25 13:37:08 2018 -0700 - - Fixup - - test/shaping/data/in-house/fonts/{TRAK.tff => TRAK.ttf} | Bin - 1 file changed, 0 insertions(+), 0 deletions(-) - -commit 5739c876d0d080e7feaefd323245702c663f33be -Author: Behdad Esfahbod -Date: Thu Oct 25 13:23:33 2018 -0700 - - [test] Rename some fonts - - If we have duplicae font files in different directories, that would - break the oss-fuzz build currently. So, rename some to avoid - name class with text-rendering-test. Would be better to find - another solution. - - ...TestMORXTwentyeight.ttf => MORXTwentyeight.ttf} | Bin - .../data/in-house/fonts/{TestTRAK.ttf => TRAK.tff} | Bin - .../data/in-house/fonts/{TestTTC.ttc => TTC.ttc} | Bin - test/shaping/data/in-house/fonts/TestDFONT.dfont | Bin 3505 -> 0 bytes - test/shaping/data/in-house/tests/aat-morx.tests | 2 +- - test/shaping/data/in-house/tests/aat-trak.tests | 22 ++++++++++----------- - test/shaping/data/in-house/tests/collections.tests | 12 +++++------ - 7 files changed, 18 insertions(+), 18 deletions(-) - -commit 21ede867df28d1214ca677a24ac65ab0b7e95f42 -Author: Behdad Esfahbod -Date: Thu Oct 25 13:19:34 2018 -0700 - - Fix possible overflow in bsearch impls - - From bungeman. - - Fixes https://github.com/harfbuzz/harfbuzz/pull/1314 - - src/hb-dsalgs.hh | 2 +- - src/hb-open-type.hh | 4 ++-- - src/hb-ot-cmap-table.hh | 2 +- - src/hb-ot-layout-gpos-table.hh | 2 +- - src/hb-vector.hh | 2 +- - 5 files changed, 6 insertions(+), 6 deletions(-) - -commit 2ebf36010206cebdbe58bab6edf4e3bc011b6479 -Merge: 36c2c374b 94e421abb -Author: Michiharu Ariza -Date: Thu Oct 25 13:05:06 2018 -0700 - - Merge branch 'master' into cff-subset - -commit 94e421abbfc7ede9aaf3c8d86bb0ff9992ea3123 -Author: Ben Wagner -Date: Thu Oct 25 13:44:27 2018 -0400 - - Remove some use of Crap in hb-set. - - When hb_set_t::page_for_insert needs to insert at the end of the page_map - it ends up evaluating '&page_map[i + 1]' which has hb_vector return an - lvalue of a Crap so that nothing can be moved to its address. This turns - into issues with ThreadSanitizer on Crap when two threads modify different - hb_set_t instances. This can be avoided by using '&page_map[i] + 1' - instead. - - src/hb-set.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 2798ac1c28edc4ba6f2283784d1027393f588f8c -Author: azure-pipelines[bot] -Date: Thu Oct 25 15:22:54 2018 +0000 - - Set up CI with Azure Pipelines - - azure-pipelines.yml | 21 +++++++++++++++++++++ - 1 file changed, 21 insertions(+) - -commit 9a830a17318446dab86e1439f7167d8a698eb856 -Author: Khaled Hosny -Date: Thu Oct 25 01:55:10 2018 +0200 - - [appveyor] Drop Cygwin builds again - - They are so slow and we had only a couple of Cygwin build failure - reported in ~5 years. - - appveyor.yml | 11 ----------- - 1 file changed, 11 deletions(-) - -commit 00e51a10832965f4c1d65a6d71c9582782f02c2b -Author: Khaled Hosny -Date: Wed Oct 24 22:58:22 2018 +0200 - - [appveyor] Limit make to three jobs - - https://github.com/harfbuzz/harfbuzz/pull/1309#issuecomment-432778270 - - appveyor.yml | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit ae9e8f292b2ad79b01776ae5785a94afbfc4b3e4 -Author: Behdad Esfahbod -Date: Wed Oct 24 16:46:07 2018 -0700 - - [vowel-constraints] Reset continuation on all dottedcircles - - One of the was missed before. Not intentional. - - src/gen-vowel-constraints.py | 9 +++++++-- - src/hb-ot-shape-complex-vowel-constraints.cc | 9 +++++++-- - 2 files changed, 14 insertions(+), 4 deletions(-) - -commit d2b20ba18dfe3fe507ee7cb64fd73e3f1e1e5ae0 -Author: Khaled Hosny -Date: Wed Oct 24 11:37:09 2018 +0200 - - [appveyor] Build on Cygwin and msys2 in parallel - - appveyor.yml | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 0d2fa7fd4c4df0dcf7800b1267d1126e5a4b1ab1 -Author: Khaled Hosny -Date: Wed Oct 24 11:23:21 2018 +0200 - - [appveyor] Do not update msys2 - - Looks like AppVeyor has new enough packages for our needs. Cuts CI build - time by 5 minutes. - - appveyor.yml | 5 ++--- - 1 file changed, 2 insertions(+), 3 deletions(-) - -commit 6a3ad245609ce8496d08404b28217dca8d01c10b -Author: Khaled Hosny -Date: Wed Oct 24 09:49:08 2018 +0200 - - [appveyor] Organize config file a bit - - appveyor.yml | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - -commit 0cd7d041d83ae28e8c7d8a156750464af76de291 -Author: Khaled Hosny -Date: Wed Oct 24 09:43:10 2018 +0200 - - [appveyor] Don’t build branches with open PR twice - - appveyor.yml | 3 +++ - 1 file changed, 3 insertions(+) - -commit 401cdf07922f66c762dabfd8e3d45c35e33de7c0 -Author: Behdad Esfahbod -Date: Tue Oct 23 17:00:49 2018 -0700 - - [ot-font] Fix sign of ascent/descent - - Some fonts, like msmincho, have positive number as descent - in vhea table. That's wrong. Just enforce sign on ascent/descent - when reading both horizontal and vertical metrics. - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1248 - - src/hb-ot-hmtx-table.hh | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit ba502dea1e81981f3893b5353400909bf60e354f -Author: Behdad Esfahbod -Date: Tue Oct 23 16:46:10 2018 -0700 - - [morx] Fix cluster-merging when ligating - - Only merge when actual ligature happened. - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1305 - - src/hb-aat-layout-morx-table.hh | 7 ++++--- - test/shaping/data/in-house/Makefile.sources | 1 + - test/shaping/data/in-house/fonts/TestMORXTwentyeight.ttf | Bin 0 -> 2660 bytes - test/shaping/data/in-house/tests/aat-morx.tests | 1 + - 4 files changed, 6 insertions(+), 3 deletions(-) - -commit aa5af8d041521507f8bc8ded8a365ee56098388c -Author: Garret Rieger -Date: Tue Oct 23 15:45:35 2018 -0700 - - Fix size calculation in DEFINE_SIZE_ARRAY_SIZED. - - src/hb-machinery.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 36c2c374bf9c2d0ca903e601760e69bfc3da5388 -Author: Michiharu Ariza -Date: Tue Oct 23 15:11:09 2018 -0700 - - removed unused multi_val from DictVal - - src/hb-cff-interp-common.hh | 16 ---------------- - src/hb-cff-interp-dict-common.hh | 3 --- - src/hb-ot-cff1-table.hh | 2 +- - src/hb-ot-cff2-table.hh | 1 - - 4 files changed, 1 insertion(+), 21 deletions(-) - -commit f33ad6d69216a983624e832177895481549bdc07 -Author: Behdad Esfahbod -Date: Tue Oct 23 14:31:51 2018 -0700 - - [aat] Fix up previous commit and add files - - src/hb-aat-map.cc | 62 +++++++++++++++++++++++++++++++ - src/hb-aat-map.hh | 106 +++++++++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-ot-map.cc | 1 + - src/hb-ot-shape.cc | 15 ++++++-- - 4 files changed, 181 insertions(+), 3 deletions(-) - -commit ffe347844803a6a9036d8357b744a982f5e5a6c9 -Author: Behdad Esfahbod -Date: Tue Oct 23 14:14:03 2018 -0700 - - [aat] Allow enabling/disabling features - - Only works at entire-buffer range, not sub-ranges. - - Test with: - - $ hb-shape Zapfino.dfont Zapfino - [Z_a_p_f_i_n_o=0+2333] - - $ hb-shape Zapfino.dfont Zapfino --features=-dlig - [Z=0+416|a=1@-21,0+264|p_f=2+433|i=4+181|n=5+261|o=6+250] - - $ hb-shape Zapfino.dfont Zapfino --features=+dlig - [Z_a_p_f_i_n_o=0+2333] - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1303 - - src/Makefile.sources | 2 ++ - src/hb-aat-layout-morx-table.hh | 29 +++++++++++++++++++++++++---- - src/hb-aat-layout.cc | 8 ++++++++ - src/hb-aat-layout.hh | 3 +++ - src/hb-ot-shape.cc | 4 ++++ - src/hb-ot-shape.hh | 5 +++++ - 6 files changed, 47 insertions(+), 4 deletions(-) - -commit 8be0e5fd4540b18e26b28b414bd99af3bb1548b1 -Author: Behdad Esfahbod -Date: Tue Oct 23 13:39:50 2018 -0700 - - [ot-map] Minor - - src/hb-ot-map.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit e8fccbc36b2cc5e1c9f218c83cad7f606c03e7a1 -Author: Behdad Esfahbod -Date: Tue Oct 23 13:25:03 2018 -0700 - - Minor - - src/hb-ot-map.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 76324d95caa4b83cd4b515f516c2d3674455ea5e -Author: Behdad Esfahbod -Date: Tue Oct 23 13:09:30 2018 -0700 - - Shift code around - - src/hb-ot-shape.cc | 18 ++++++++++-------- - src/hb-ot-shape.hh | 9 +++------ - 2 files changed, 13 insertions(+), 14 deletions(-) - -commit e1241636d60a63cbfd741288716b55797a4dc8ee -Merge: 960267fc4 cf92d6579 -Author: Michiharu Ariza -Date: Tue Oct 23 11:25:51 2018 -0700 - - Merge branch 'master' into cff-subset - -commit cf92d6579e91d326598dcff93457fe85dfa962c2 -Author: Behdad Esfahbod -Date: Tue Oct 23 03:10:56 2018 -0700 - - [trak] Allow disabling tracking for ranges of text - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1303 - - src/hb-aat-layout-trak-table.hh | 4 ++++ - src/hb-ot-shape.cc | 11 +++++++---- - src/hb-ot-shape.hh | 5 ++++- - test/shaping/data/in-house/tests/aat-trak.tests | 1 + - 4 files changed, 16 insertions(+), 5 deletions(-) - -commit 8869436cb8a338b46c138305966a4b7b2c3ee374 -Author: Behdad Esfahbod -Date: Tue Oct 23 03:07:48 2018 -0700 - - When parsing feature ranges, accept ';' instead of ':' - - src/hb-common.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 22ecefd88e1ea1841f363057b948aa792ac871a6 -Author: Ebrahim Byagowi -Date: Tue Oct 23 00:52:05 2018 +0330 - - Make tracking optout possible using 'trak' ot feature - - So '--features=-trak' or 'font-feature-settings: 'trak' 0;' can prevent - applying of tracking if used. - - src/hb-ot-shape.cc | 10 +++++++--- - test/shaping/data/in-house/tests/aat-trak.tests | 2 ++ - 2 files changed, 9 insertions(+), 3 deletions(-) - -commit 6d40eb8372a2c74a6e1294b44a2b19c99d11e7da -Author: Behdad Esfahbod -Date: Tue Oct 23 02:51:42 2018 -0700 - - Touch up on previous commit - - https://github.com/harfbuzz/harfbuzz/pull/1273 - - src/HBIndicVowelConstraints.txt | 97 ++++++ - src/Makefile.am | 6 +- - src/Makefile.sources | 1 + - src/gen-vowel-constraints.py | 124 ++------ - src/hb-ot-shape-complex-indic.cc | 10 +- - src/hb-ot-shape-complex-use.cc | 11 +- - src/hb-ot-shape-complex-vowel-constraints.cc | 433 ++++++++++++++++++++++++++ - src/hb-ot-shape-complex-vowel-constraints.hh | 447 ++------------------------- - 8 files changed, 606 insertions(+), 523 deletions(-) - -commit 205737acdc268b1c90cf00bde2d2038519a8bf48 -Author: David Corbett -Date: Fri Oct 12 16:54:54 2018 -0400 - - [use] Prohibit visually ambiguous vowel sequences - - src/Makefile.am | 7 +- - src/Makefile.sources | 1 + - src/gen-vowel-constraints.py | 286 ++++++++++++++ - src/hb-ot-shape-complex-indic.cc | 272 +------------ - src/hb-ot-shape-complex-use.cc | 3 +- - src/hb-ot-shape-complex-vowel-constraints.hh | 434 +++++++++++++++++++++ - test/shaping/README.md | 4 +- - .../46669c8860cbfea13562a6ca0d83130ee571137b.ttf | Bin 0 -> 7184 bytes - .../in-house/tests/use-vowel-letter-spoofing.tests | 94 +++++ - 9 files changed, 827 insertions(+), 274 deletions(-) - -commit 48ed598a356983f4623029dd5e87254fb59e3691 -Author: Behdad Esfahbod -Date: Tue Oct 23 02:19:32 2018 -0700 - - [VORG] Hook up to hb-ot-font's v_origin - - Fixes https://github.com/harfbuzz/harfbuzz/issues/544 - - Test added with NotoSansCJK, eg. with U+FF38. - - src/hb-ot-face.cc | 1 - - src/hb-ot-font.cc | 11 +++++++++-- - src/hb-ot-vorg-table.hh | 6 ++++-- - .../fonts/4cbbc461be066fccc611dcc634af6e8cb2705537.ttf | Bin 0 -> 2808 bytes - test/shaping/data/in-house/tests/vertical.tests | 1 + - 5 files changed, 14 insertions(+), 5 deletions(-) - -commit 097ecfd4a991d4fa306bab7330d9952966e94d1f -Author: Behdad Esfahbod -Date: Tue Oct 23 02:09:42 2018 -0700 - - [VORG] Add get_y_origin() - - Unhooked. - - src/hb-ot-vorg-table.hh | 16 ++++++++++++++-- - 1 file changed, 14 insertions(+), 2 deletions(-) - -commit 6fb24d5e3e0cf61c0ed3574e5bcf4598a13d6b69 -Author: Behdad Esfahbod -Date: Tue Oct 23 01:58:59 2018 -0700 - - [VORG] Add VORG table - - Cherry-picked from cff-subset branch. - - src/Makefile.sources | 1 + - src/hb-ot-face.cc | 1 + - src/hb-ot-face.hh | 1 + - src/hb-ot-vorg-table.hh | 168 ++++++++++++++++++++++++++++++++++++++++++++++++ - 4 files changed, 171 insertions(+) - -commit 531f9822b2e8a60f03c43d6f86ef9ed32c951f0e -Author: Behdad Esfahbod -Date: Tue Oct 23 01:32:08 2018 -0700 - - [morx] Add a few debug messages to Ligature chain - - src/hb-aat-layout-morx-table.hh | 10 ++++++++++ - 1 file changed, 10 insertions(+) - -commit 0e5bcdef7fb592f986ad5b4e07b80d2efb5e3344 -Author: Behdad Esfahbod -Date: Tue Oct 23 00:39:44 2018 -0700 - - [morx] Clear stack upon underflow when acting ligatures - - src/hb-aat-layout-morx-table.hh | 4 ++++ - 1 file changed, 4 insertions(+) - -commit 1bfb96a9c8d7653f0dee5c5fab3c6e85cea900cd -Author: Behdad Esfahbod -Date: Mon Oct 22 23:41:47 2018 -0700 - - [test/text-rendering-tests] Update from upstream - - test/shaping/data/text-rendering-tests/Makefile.sources | 2 +- - .../data/text-rendering-tests/fonts/TestTRAKOne.ttf | Bin 0 -> 1752 bytes - 2 files changed, 1 insertion(+), 1 deletion(-) - -commit 792071de4075cb9af0793f0d7c70da0780923bb6 -Author: Behdad Esfahbod -Date: Mon Oct 22 23:38:34 2018 -0700 - - [morx] Leave ligature on stack after ligating - - Test with Apple Color Emoji.ttf of ~66MB and following sequence: - - ./hb-shape Apple\ Color\ Emoji-old.ttf --font-funcs=ot -u U+1F468,200d,U+1F469,200d,U+1F467,200d,1f466 - - Should form full family if matching works correctly. It first makes - family of three, then makes family of four out of that and the last - two characters. - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1292 - - src/hb-aat-layout-morx-table.hh | 1 - - 1 file changed, 1 deletion(-) - -commit e1b8e933f099efae3c3e1f5706be19120b44de20 -Author: Ebrahim Byagowi -Date: Tue Oct 23 09:23:48 2018 +0330 - - [ci] Disable llvm-gcc - - #define Null(Type) Null::value>::value>() - - raises: - hb-blob.cc: In function 'hb_blob_t* hb_blob_get_empty()': - hb-blob.cc:194: error: using 'typename' outside of template - hb-blob.cc:194: error: using 'typename' outside of template - - Removing "typename"s fixes the issue but makes newer compiler fail apparently. - - Probably downstream can patch that locally till we get a solution. - - .circleci/config.yml | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 8c78ced95b639730efd0edc521e4e81ad50af501 -Author: Behdad Esfahbod -Date: Mon Oct 22 21:49:42 2018 -0700 - - Unbreak builds - - src/hb-dsalgs.hh | 2 +- - src/hb-open-type.hh | 4 ++-- - 2 files changed, 3 insertions(+), 3 deletions(-) - -commit 8d689f8a7bccda861bcb286d52f1a90fca52df0f -Author: Behdad Esfahbod -Date: Mon Oct 22 21:33:18 2018 -0700 - - Add hb_array<>() specialization for UnsizedArrayOf - - Related https://github.com/harfbuzz/harfbuzz/issues/1301 - - src/hb-aat-layout-trak-table.hh | 2 +- - src/hb-open-file.hh | 2 +- - src/hb-open-type.hh | 8 ++++++++ - src/hb-ot-color-cpal-table.hh | 6 +++--- - 4 files changed, 13 insertions(+), 5 deletions(-) - -commit abfbba191141c3e3cf2a391f365b5323f9dc37c0 -Author: Behdad Esfahbod -Date: Mon Oct 22 21:27:45 2018 -0700 - - Add hb_array<>() - - Simplifies transient object creation. - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1301 - - src/hb-aat-layout-trak-table.hh | 2 +- - src/hb-dsalgs.hh | 2 ++ - src/hb-open-file.hh | 3 +-- - src/hb-ot-color-cpal-table.hh | 6 +++--- - 4 files changed, 7 insertions(+), 6 deletions(-) - -commit 17ffbc070ff4190d8ebaf88f8db62f19e6fa370d -Author: Behdad Esfahbod -Date: Mon Oct 22 21:22:25 2018 -0700 - - [color] Use Index for colorIdx - - Doesn't matter, but matches the description. - - src/hb-ot-color-colr-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 07386ea410af13e8fc844eb939a6c6e47c2adaf1 -Author: Behdad Esfahbod -Date: Mon Oct 22 21:18:27 2018 -0700 - - Remove const and references when binding Null() - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1299 - - Removes anomaly I was seeing in cpal table trying to use implicit Null(NameID). - - src/hb-atomic.hh | 5 +---- - src/hb-common.cc | 2 +- - src/hb-ft.cc | 2 +- - src/hb-null.hh | 4 ++-- - src/hb-open-type.hh | 6 ++---- - src/hb-ot-color-cpal-table.hh | 8 ++------ - src/hb-static.cc | 1 - - src/hb.hh | 9 +++++++++ - 8 files changed, 18 insertions(+), 19 deletions(-) - -commit b18acab7bce062fef397d3d8b0efc7826f473b50 -Author: Behdad Esfahbod -Date: Mon Oct 22 18:20:57 2018 -0700 - - [color] Add HB_COLOR - - Normally I would have added to_string / from_string like other types - have. But since we don't use hb_color_t much, I'm not going to do that. - Although, if we did, we could use it in hb-view to parse colors... - - src/hb-common.h | 14 +++++++++----- - 1 file changed, 9 insertions(+), 5 deletions(-) - -commit 228f96c9d09272c8f677935a640e75e173b817a3 -Author: Behdad Esfahbod -Date: Mon Oct 22 16:55:12 2018 -0700 - - [color] Finish reviewing / revamping CPAL - - Now to hb_color_t. - - src/hb-ot-color-cpal-table.hh | 52 ++++++++++++++++++++++--------------------- - src/hb-ot-color.cc | 33 +++++---------------------- - src/hb-ot-color.h | 10 ++++----- - 3 files changed, 38 insertions(+), 57 deletions(-) - -commit 960267fc4315a138f0963e78407e3af2ec6007af -Author: Michiharu Ariza -Date: Mon Oct 22 16:37:39 2018 -0700 - - fix build attempt ^4 - - src/hb-ot-cff-common.hh | 5 +---- - 1 file changed, 1 insertion(+), 4 deletions(-) - -commit 683fad062792a199e2fe86fe161f41b9389d08c3 -Author: Behdad Esfahbod -Date: Mon Oct 22 16:35:03 2018 -0700 - - [color] Minor - - src/hb-ot-color.cc | 6 ++---- - 1 file changed, 2 insertions(+), 4 deletions(-) - -commit 14474d21040bf9b025b53bb9b0df599eaf260119 -Author: Behdad Esfahbod -Date: Mon Oct 22 16:30:30 2018 -0700 - - [color] Rely on CPALV1Tail Null object - - src/hb-ot-color-cpal-table.hh | 39 ++++++++++++++------------------------- - 1 file changed, 14 insertions(+), 25 deletions(-) - -commit d7865107ea4664e04c03a1d79678cdcadc0d5ea5 -Author: Behdad Esfahbod -Date: Mon Oct 22 16:18:34 2018 -0700 - - Remove const from hb_array_t details - - Will come in through if desired. - - src/hb-aat-layout-trak-table.hh | 6 +++--- - src/hb-dsalgs.hh | 6 +++--- - src/hb-open-file.hh | 4 ++-- - 3 files changed, 8 insertions(+), 8 deletions(-) - -commit f3336580dd0c6959a1871f92b4a37f7c0a4b2160 -Author: Behdad Esfahbod -Date: Mon Oct 22 16:16:21 2018 -0700 - - [color] Use hb_array_t in CPAL - - Doesn't work though, ouch :(. Need to figure out if it's unreasonable - to expect Null(T) inside hb_array_t to see the later specialization - of Null for NameID. - - src/hb-open-type.hh | 3 ++- - src/hb-ot-color-cpal-table.hh | 47 ++++++++++++++++++++++--------------------- - src/hb-static.cc | 1 + - 3 files changed, 27 insertions(+), 24 deletions(-) - -commit 5ae18855d115577ff796158d483db7b890d9956f -Author: Behdad Esfahbod -Date: Mon Oct 22 14:54:55 2018 -0700 - - [color] Check for null CPAL arrays - - We cannot use a nullable offset here though. - - src/hb-ot-color-cpal-table.hh | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - -commit 69ab72e4aa7cbf197873d38f7e623866b4e40502 -Author: Behdad Esfahbod -Date: Mon Oct 22 14:51:40 2018 -0700 - - [color] More CPAL rename - - src/hb-ot-color-cpal-table.hh | 104 +++++++++++++++++++++--------------------- - src/hb-ot-color.cc | 6 +-- - 2 files changed, 54 insertions(+), 56 deletions(-) - -commit 0befb06c468aa36f3337b5ef2235f6d69dda8397 -Author: Behdad Esfahbod -Date: Mon Oct 22 14:46:21 2018 -0700 - - [color] More CPAL rename - - src/hb-ot-color-cpal-table.hh | 16 ++++++++-------- - 1 file changed, 8 insertions(+), 8 deletions(-) - -commit 3600d206037ef23d6448c79a3f010c4f903a971c -Author: Behdad Esfahbod -Date: Mon Oct 22 14:43:12 2018 -0700 - - [color] Rename vars in CPAL - - src/hb-ot-color-cpal-table.hh | 32 ++++++++++++++++---------------- - src/hb-ot-color.cc | 1 + - 2 files changed, 17 insertions(+), 16 deletions(-) - -commit ba055a8d53595ab49747ed3e02d90c9b6a3cf4f3 -Author: Michiharu Ariza -Date: Mon Oct 22 16:20:04 2018 -0700 - - fix build attempt ^3 - - test/api/test-ot-extents-cff.c | 2 +- - test/api/test-subset-cff1.c | 1 + - test/api/test-subset-cff2.c | 1 + - 3 files changed, 3 insertions(+), 1 deletion(-) - -commit b11032afaefb2c84f9a4bbffe95c91f6374df802 -Author: Michiharu Ariza -Date: Mon Oct 22 15:52:37 2018 -0700 - - fix build attempt ^2 - - src/hb-ot-cff-common.hh | 2 +- - test/api/test-ot-extents-cff.c | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit 3d3df5575c5be0e3c69b99ca1d8df2cea1672aaf -Author: Michiharu Ariza -Date: Mon Oct 22 15:23:39 2018 -0700 - - fix build attempt - - src/hb-ot-cff-common.hh | 5 ++++- - test/api/test-ot-extents-cff.c | 11 +++++------ - test/api/test-subset-cff1.c | 19 +++++++++---------- - test/api/test-subset-cff2.c | 11 +++++------ - 4 files changed, 23 insertions(+), 23 deletions(-) - -commit 0babf761c986855f9cdd1a2679380ee6a02390c8 -Author: Ebrahim Byagowi -Date: Tue Oct 23 01:33:45 2018 +0330 - - Adopt dump-emoji with latest unreleased APIs changes (#1297) - - src/dump-emoji.cc | 24 +++++++++++------------- - 1 file changed, 11 insertions(+), 13 deletions(-) - -commit 7997144b5f08c81b2cce2c7c2a085fb7eeb506e3 -Author: Behdad Esfahbod -Date: Mon Oct 22 13:02:04 2018 -0700 - - [color] Revamp palette API - - src/hb-ot-color.cc | 81 ++++++++++++++--------------- - src/hb-ot-color.h | 26 +++++----- - test/api/test-ot-color.c | 130 +++++++++++++++++++++++------------------------ - 3 files changed, 117 insertions(+), 120 deletions(-) - -commit 3bf91bd2690cda34a7687ed5465dc4bb0672f2b6 -Author: Behdad Esfahbod -Date: Mon Oct 22 12:40:38 2018 -0700 - - [color] Rewrite colr access - - COLR table has one function: return layers for a glyph, and we expose exactly - that, so should just wire it through. Also use sub_array() for verifiable - safety. - - Also, BaseGlyphRecord's null object is enough. We don't need to special-case - the not-found. - - src/hb-dsalgs.hh | 11 +++++++++ - src/hb-open-type.hh | 2 +- - src/hb-ot-color-colr-table.hh | 53 +++++++++++++++++++++++-------------------- - src/hb-ot-color.cc | 19 +--------------- - 4 files changed, 41 insertions(+), 44 deletions(-) - -commit 1de17bdb80b0668f4d4a4700e3f80c8caee3303d -Author: Behdad Esfahbod -Date: Mon Oct 22 10:29:01 2018 -0700 - - [colr] Add hb_ot_color_layer_t - - We never return parallel arrays from functions. That's inconvenient - and hard to bind. - - src/hb-ot-color.cc | 18 ++++++++---------- - src/hb-ot-color.h | 22 ++++++++++++++++------ - test/api/test-ot-color.c | 33 +++++++++++++++------------------ - 3 files changed, 39 insertions(+), 34 deletions(-) - -commit 3b3668acc8b16afacb96d8c525eff603ef5f411f -Author: Behdad Esfahbod -Date: Sun Oct 21 19:23:11 2018 -0700 - - [color] Rename / reorder a bit - - Implement has_data() for realz. - - src/hb-ot-color-colr-table.hh | 2 ++ - src/hb-ot-color-cpal-table.hh | 2 ++ - src/hb-ot-color.cc | 78 ++++++++++++++++++++++++------------------- - src/hb-ot-color.h | 33 ++++++++++++------ - test/api/test-ot-color.c | 30 ++++++++--------- - 5 files changed, 85 insertions(+), 60 deletions(-) - -commit 570b77f7d2b41262ccb20fadbee2c6b455cd06c6 -Merge: 857c58279 d440c8d3f -Author: Michiharu Ariza -Date: Mon Oct 22 13:06:47 2018 -0700 - - Merge branch 'master' into cff-subset - -commit 9085a72deb041cf10edfa61d24b7c25f947f736b -Author: Behdad Esfahbod -Date: Sun Oct 21 19:08:25 2018 -0700 - - [cpal] Touch up palette flags - - src/hb-ot-color.h | 16 ++++++++++------ - test/api/test-ot-color.c | 4 ++-- - 2 files changed, 12 insertions(+), 8 deletions(-) - -commit ee11fae9d0d2c16a3a4b4ecf5cf328ffe950bb03 -Author: Behdad Esfahbod -Date: Sun Oct 21 19:02:47 2018 -0700 - - [color] Rename "gid" to "glyph" - - We don't expose "gid" in API. - - src/hb-ot-color.cc | 12 ++++++------ - src/hb-ot-color.h | 8 ++++---- - 2 files changed, 10 insertions(+), 10 deletions(-) - -commit 228fa71bf9186faedff48b3a259d696c7c07b5b5 -Author: Behdad Esfahbod -Date: Sun Oct 21 17:43:29 2018 -0700 - - [colr] Move sanitize - - src/hb-ot-color-colr-table.hh | 17 ++++++++--------- - 1 file changed, 8 insertions(+), 9 deletions(-) - -commit d440c8d3fbb907f17b1eb9287918009ced27a8c1 -Author: Ebrahim Byagowi -Date: Mon Oct 22 22:07:59 2018 +0330 - - Add chromacheck Emoji test fonts and minor preparations (#1294) - - src/hb-ot-color.cc | 26 ++++++++++++++++++++++++++ - src/hb-ot-face.hh | 8 +++++--- - test/api/fonts/README | 2 ++ - test/api/fonts/chromacheck-cbdt.ttf | Bin 0 -> 792 bytes - test/api/fonts/chromacheck-colr.ttf | Bin 0 -> 652 bytes - test/api/fonts/chromacheck-sbix.ttf | Bin 0 -> 864 bytes - test/api/fonts/chromacheck-svg.ttf | Bin 0 -> 792 bytes - test/api/hb-test.h | 2 +- - test/api/test-ot-color.c | 21 +++++++++++++++++++++ - 9 files changed, 55 insertions(+), 4 deletions(-) - -commit 857c58279e82897ed69e8ade2f736073fa12883b -Merge: 51fba41cc b92b9d7e5 -Author: Michiharu Ariza -Date: Mon Oct 22 09:57:20 2018 -0700 - - Merge branch 'master' into cff-subset - -commit b92b9d7e5290eaa83e94fd40cddaee71628a3c2a -Author: Behdad Esfahbod -Date: Sun Oct 21 17:42:51 2018 -0700 - - [colr] Move compare function into a static - - Not sure if MSVC would be unhappy about this. - - src/hb-ot-color-colr-table.hh | 16 ++++++++-------- - 1 file changed, 8 insertions(+), 8 deletions(-) - -commit b6b171732a12b396a704984699bd0da906f5dc24 -Author: Behdad Esfahbod -Date: Sun Oct 21 17:41:49 2018 -0700 - - [colr] Minor - - src/hb-ot-color-colr-table.hh | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit a6ade3471e730d7a8b56e4ed706a8eb126e957f6 -Author: Behdad Esfahbod -Date: Sun Oct 21 17:39:39 2018 -0700 - - [colr] Move sanitize() to right place - - Sanitize always comes just before data member definitions, so - it's easy to cross-check. - - src/hb-ot-color-colr-table.hh | 16 ++++++++-------- - 1 file changed, 8 insertions(+), 8 deletions(-) - -commit 24adc1575745a711558dab79488760f1ceb24750 -Author: Behdad Esfahbod -Date: Sun Oct 21 17:39:00 2018 -0700 - - [colr] Touch up a bit - - When a struct is plain old data with no references, etc, it's okay - to mark its members public. - - src/hb-ot-color-colr-table.hh | 36 +++++++++++++++++++++++------------- - 1 file changed, 23 insertions(+), 13 deletions(-) - -commit cc6e77ca98e90fb531dd90a5c9c41d14d1dda9c4 -Author: Khaled Hosny -Date: Sun Oct 21 13:29:40 2018 +0200 - - [color] Fix documentation a bit - - src/hb-ot-color.cc | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - -commit 37ba2413c19f6a1d62868178fc80f870ee44e7ab -Author: Ebrahim Byagowi -Date: Sun Oct 21 11:46:51 2018 +0330 - - Minor - - src/hb-ot-color-cpal-table.hh | 10 +++++----- - src/hb-ot-color.cc | 25 ++++++++++++++----------- - src/hb-ot-color.h | 12 ++++++------ - 3 files changed, 25 insertions(+), 22 deletions(-) - -commit 44f79b4bf8ac341c5968a27f6a2a13a8af48b34f -Author: Ebrahim Byagowi -Date: Sun Oct 21 10:17:34 2018 +0330 - - Remove _palette_entry_count as can be done with _palette_colors - - src/hb-ot-color.cc | 18 ++---------------- - src/hb-ot-color.h | 3 --- - test/api/test-ot-color.c | 8 ++------ - 3 files changed, 4 insertions(+), 25 deletions(-) - -commit 6795dcfc0884b87b72fce8d902654f28ffe1366c -Author: Ebrahim Byagowi -Date: Sun Oct 21 09:51:15 2018 +0330 - - [test] Test hb_ot_color_has_{colr,cpal}_data - - src/dump-emoji.cc | 3 ++- - src/hb-ot-color.cc | 7 ++++--- - test/api/test-ot-color.c | 23 +++++++++++++++++++++++ - 3 files changed, 29 insertions(+), 4 deletions(-) - -commit b8ee3a0ec89d63721618ac90c01ac6da228f5055 -Author: Ebrahim Byagowi -Date: Sun Oct 21 09:44:16 2018 +0330 - - [CPAL] Add palette entry and enable palette flag API - - src/hb-ot-color-cpal-table.hh | 66 +++++++++++++++---------- - src/hb-ot-color.cc | 109 ++++++++++++++++++++++++------------------ - src/hb-ot-color.h | 23 +++++++++ - test/api/test-ot-color.c | 35 ++++++++++++-- - 4 files changed, 158 insertions(+), 75 deletions(-) - -commit d4261b4bb6d20fac7deebacfbe120fb84a92e423 -Author: Ebrahim Byagowi -Date: Sun Oct 21 08:48:07 2018 +0330 - - Add API test for hb_ot_color_get_color_layers - - src/dump-emoji.cc | 3 ++- - src/hb-ot-color.cc | 2 +- - src/hb-ot-color.h | 2 ++ - test/api/test-ot-color.c | 31 +++++++++++++++++++++++++++++-- - 4 files changed, 34 insertions(+), 4 deletions(-) - -commit 456978d408cd41156e1123abfc3689800558e89b -Author: Ebrahim Byagowi -Date: Sun Oct 21 08:26:40 2018 +0330 - - Address COLR/CPAL reviews and revive cpal_v1 tests - - src/dump-emoji.cc | 26 ++++---- - src/hb-common.h | 12 ++++ - src/hb-ot-color-cpal-table.hh | 37 +++++------- - src/hb-ot-color.cc | 136 +++++++++++++++++++++++++----------------- - src/hb-ot-color.h | 38 +++--------- - test/api/test-ot-color.c | 101 +++++++++++++++---------------- - 6 files changed, 179 insertions(+), 171 deletions(-) - -commit 687f679b80c071c69d0924f07a315f9d2691b7fc -Author: Ebrahim Byagowi -Date: Sat Oct 20 17:50:39 2018 +0330 - - [color] Fix alpha channel value and adjust spaces - - src/dump-emoji.cc | 36 ++++++++++++++++++------------------ - src/hb-buffer-serialize.cc | 14 +++++++------- - src/hb-ot-color.cc | 10 +++++----- - 3 files changed, 30 insertions(+), 30 deletions(-) - -commit 00e94ce24efb1f5b3a9cd13c0b9f81f405ad8055 -Author: Ebrahim Byagowi -Date: Sat Oct 20 00:31:04 2018 +0330 - - [dump-emoji] Formatting - - src/dump-emoji.cc | 26 ++++++++++++++++---------- - 1 file changed, 16 insertions(+), 10 deletions(-) - -commit e9d798dc12d42e97ae8c19e7b73e25abc34d265a -Author: Ebrahim Byagowi -Date: Fri Oct 19 18:30:01 2018 +0330 - - [test] Use hb_test_open_font_file - - test/api/test-ot-color.c | 16 ++-------------- - 1 file changed, 2 insertions(+), 14 deletions(-) - -commit e8a6f5b8039cce3f7ec568fd90fe73690e49a037 -Author: Ebrahim Byagowi -Date: Fri Oct 19 18:23:42 2018 +0330 - - Add three macros for separating color channels - - src/dump-emoji.cc | 8 ++++---- - src/hb-ot-color.cc | 1 - - src/hb-ot-color.h | 15 ++++++++++----- - test/api/test-ot-color.c | 10 +++++----- - 4 files changed, 19 insertions(+), 15 deletions(-) - -commit 0e33467e52942e62e04cf825a6bd105fa311c864 -Author: Ebrahim Byagowi -Date: Fri Oct 19 17:44:06 2018 +0330 - - Make ot-color tests pass - - test/api/test-ot-color.c | 52 ++++++++++++++++++++++++------------------------ - 1 file changed, 26 insertions(+), 26 deletions(-) - -commit d4e928b1421c154adbda9b6e1f2cf804b21654cb -Author: Khaled Hosny -Date: Tue May 1 17:16:46 2018 +0200 - - [color] Minimal API for COLR/CPAL - - src/Makefile.sources | 1 + - src/dump-emoji.cc | 114 +++++++++++---------- - src/hb-ot-color-colr-table.hh | 12 +-- - src/hb-ot-color-cpal-table.hh | 51 +++------ - src/hb-ot-color.cc | 87 +++++++++++----- - src/hb-ot-color.h | 85 +++++++++++++++ - src/hb-ot-face.hh | 3 + - src/hb-ot.h | 1 + - .../fonts/cpal-v0.ttf} | Bin - .../fonts/cpal-v1.ttf} | Bin - test/api/test-ot-color.c | 43 +++++--- - 11 files changed, 257 insertions(+), 140 deletions(-) - -commit 0229eaea299443b4faa3bd086f23ec1496d6112c -Author: Ebrahim Byagowi -Date: Mon Oct 22 10:51:37 2018 +0330 - - [fuzz] Add a found hb-subset testcase - - ...z-testcase-minimized-hb-subset-fuzzer-5725847365877760 | Bin 0 -> 880 bytes - 1 file changed, 0 insertions(+), 0 deletions(-) - -commit 0ecddad7c5948ecd7879bc7507f8a7a2d99eee86 -Author: Ebrahim Byagowi -Date: Mon Oct 22 00:44:28 2018 +0330 - - [ci] Disable flaky -windows-x64 and add a comment for iOS - - .circleci/config.yml | 20 +++++++++++--------- - 1 file changed, 11 insertions(+), 9 deletions(-) - -commit 9b3461574f6473c8ff7c995202858cf46012eed8 -Author: Ebrahim Byagowi -Date: Sun Oct 21 11:37:38 2018 +0330 - - [fuzz] Add more testcases - - Fixed already but better to have anyway. - - One didn't have minimized but it was only 164 B, so - - ...uzz-testcase-minimized-hb-shape-fuzzer-5706010589659136 | Bin 0 -> 52 bytes - 1 file changed, 0 insertions(+), 0 deletions(-) - -commit 4fa94a3e39c21bc1dcdbbd5bda99bff1e1490b0e -Merge: 217a3728b c110878cb -Author: Ebrahim Byagowi -Date: Sun Oct 21 11:36:41 2018 +0330 - - Merge pull request #1290 from ebraminio/testopenfont - - [test] Unify font file opening across the tests - -commit c110878cb61f5df99e9d97dda253f2987ddce58e -Author: Ebrahim Byagowi -Date: Sun Oct 21 11:07:17 2018 +0330 - - [test] Unify font file opening across the tests - - test/api/hb-subset-test.h | 21 --------------------- - test/api/hb-test.h | 21 +++++++++++++++++++++ - test/api/test-collect-unicodes.c | 6 +++--- - test/api/test-multithread.c | 26 +++++--------------------- - test/api/test-ot-name.c | 27 ++++----------------------- - test/api/test-subset-cmap.c | 8 ++++---- - test/api/test-subset-glyf.c | 28 ++++++++++++++-------------- - test/api/test-subset-hdmx.c | 14 +++++++------- - test/api/test-subset-hmtx.c | 20 ++++++++++---------- - test/api/test-subset-os2.c | 4 ++-- - test/api/test-subset-post.c | 4 ++-- - test/api/test-subset-vmtx.c | 6 +++--- - test/api/test-subset.c | 6 +++--- - 13 files changed, 78 insertions(+), 113 deletions(-) - -commit 217a3728b4991a855070678bc079cb400eee605a -Author: Behdad Esfahbod -Date: Sat Oct 20 20:39:56 2018 -0700 - - [fuzzing] Add more font - - .../clusterfuzz-testcase-hb-shape-fuzzer-5097734906839040 | Bin 0 -> 164 bytes - 1 file changed, 0 insertions(+), 0 deletions(-) - -commit 1e39833ba8547c90a0a4ed7f265a6c4bc8eb8fe1 -Author: Behdad Esfahbod -Date: Sat Oct 20 16:56:06 2018 -0700 - - [docs] Minor - - src/hb-buffer.h | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit a5ad8c658dac1fbe63d1034cdfe8df33f50462b6 -Author: Behdad Esfahbod -Date: Sat Oct 20 16:52:55 2018 -0700 - - [docs] More fixes - - src/hb-ot-layout.cc | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -commit 2d9198f205fafda557520d7206f9cfbf3373353f -Author: Behdad Esfahbod -Date: Sat Oct 20 16:50:39 2018 -0700 - - [docs] Fix for hb-version.h being in src tree - - docs/Makefile.am | 1 - - 1 file changed, 1 deletion(-) - -commit 314b1af74f1fb71ea5cfcb5a58766773f0b2a5a1 -Author: Behdad Esfahbod -Date: Sat Oct 20 16:49:16 2018 -0700 - - [docs] Fix warning - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1260 - - src/hb-deprecated.h | 6 ------ - src/hb-unicode.cc | 1 + - 2 files changed, 1 insertion(+), 6 deletions(-) - -commit b713c1397718bf1f702a2ead2afb4dcee2c1505a -Author: Behdad Esfahbod -Date: Sat Oct 20 14:56:28 2018 -0700 - - [kerx] Implement tuple-kerning in Format0 - - src/hb-aat-layout-kerx-table.hh | 44 ++++++++++++++++++++++++++++------------- - 1 file changed, 30 insertions(+), 14 deletions(-) - -commit 0a3b7a0fb0734a66926dfda5d95d3cacea8890ce -Author: Behdad Esfahbod -Date: Sat Oct 20 13:14:07 2018 -0700 - - 2.0.2 - - NEWS | 6 ++++++ - configure.ac | 2 +- - src/hb-version.h | 4 ++-- - 3 files changed, 9 insertions(+), 3 deletions(-) - -commit 8931bc4a6b41a2a41069b99cb5c551fa30216f0b -Author: Ebrahim Byagowi -Date: Sat Oct 20 23:23:32 2018 +0330 - - [test] Fix -Wunused-parameter on test-font.c - - test/api/test-font.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 68b705076808d4b0a4ac3bfa945b8f9ae23db1df -Author: Behdad Esfahbod -Date: Sat Oct 20 12:09:41 2018 -0700 - - [kerx] Fix sanitize of KerxSubtableFormat2::array read - - Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=11033 - - src/hb-aat-layout-kerx-table.hh | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit 00fdbca4f6a5c4623b9c4838da502cccce8aaa74 -Author: Behdad Esfahbod -Date: Sat Oct 20 12:04:51 2018 -0700 - - [aat] Fix LookupFormat10 sanitize - - Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=11060 - - src/hb-aat-layout-common.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit f11c557662dee16a59bb54276c50a96e4e675201 -Author: Behdad Esfahbod -Date: Sat Oct 20 11:56:30 2018 -0700 - - [test] Fix leak - - test/api/test-font.c | 2 ++ - 1 file changed, 2 insertions(+) - -commit 440a675c7cc72c7c77b4ad7b20c855c53808ef48 -Author: Ebrahim Byagowi -Date: Sat Oct 20 21:13:25 2018 +0330 - - [TODO] Remove BCP 47 language handling item - - Closes https://github.com/harfbuzz/harfbuzz/issues/1286 - - TODO | 2 -- - 1 file changed, 2 deletions(-) - -commit d39acc5a95f968b0dbfd5a942abda606d9aa3343 -Author: Ebrahim Byagowi -Date: Sat Oct 20 12:20:30 2018 +0330 - - [fuzzing] Add new testcases - - .../clusterfuzz-testcase-hb-shape-fuzzer-5688420752424960 | Bin 0 -> 163 bytes - ...zz-testcase-minimized-hb-shape-fuzzer-5688420752424960 | Bin 0 -> 69 bytes - 2 files changed, 0 insertions(+), 0 deletions(-) - -commit 1e55e21dea78aaaddc0715e7df96fd198ec8f78a -Merge: 964ae32aa d084719ff -Author: Ebrahim Byagowi -Date: Sat Oct 20 07:45:46 2018 +0330 - - Merge pull request #1283 from khaledhosny/cygwin - - Cygwin fixes and CI build - -commit 964ae32aac793540a49c44efab878592394d48db -Author: Ebrahim Byagowi -Date: Sat Oct 20 07:39:18 2018 +0330 - - Run valgrind on run-shape-fuzzer only when RUN_VALGRIND is set (#1285) - - .circleci/config.yml | 2 +- - test/fuzzing/run-shape-fuzzer-tests.py | 4 +++- - 2 files changed, 4 insertions(+), 2 deletions(-) - -commit f70f994112b2577271c20a929f7b980fa1d17428 -Author: Behdad Esfahbod -Date: Fri Oct 19 20:00:36 2018 -0700 - - Minor - - test/api/test-ot-name.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 4e09fb8f7a93ec0c8d7f71cd58772ba468b5523f -Author: Behdad Esfahbod -Date: Fri Oct 19 19:59:41 2018 -0700 - - Oops. Fix build - - test/api/test-map.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 9e288d29d86ef27acacd397b1abf04d512f1e61e -Author: Behdad Esfahbod -Date: Fri Oct 19 19:47:27 2018 -0700 - - [test-map] Cosmetic - - test/api/test-map.c | 11 ++++------- - 1 file changed, 4 insertions(+), 7 deletions(-) - -commit 7c2c8ac301b526da8b5384d6b90f156ca096568e -Author: Behdad Esfahbod -Date: Fri Oct 19 19:37:46 2018 -0700 - - 2.0.1 - - NEWS | 15 ++++++++++++++- - configure.ac | 2 +- - src/hb-version.h | 4 ++-- - 3 files changed, 17 insertions(+), 4 deletions(-) - -commit 5a24ea15e0c242c3e2a4a49980da3ab7dd61a3df -Author: Bruce Mitchener -Date: Sat Oct 20 08:09:52 2018 +0700 - - Make more 'coords' params const. - - src/hb-ot-layout-common.hh | 8 ++++---- - src/hb-ot-layout-gsubgpos.hh | 2 +- - src/hb-ot-var-hvar-table.hh | 2 +- - src/hb-ot-var-mvar-table.hh | 2 +- - 4 files changed, 7 insertions(+), 7 deletions(-) - -commit 08b7172969b442cc83b47f44e685a0495b2d8cd4 -Author: Behdad Esfahbod -Date: Fri Oct 19 19:12:33 2018 -0700 - - [font] Fix parallel funcs passing to eachover in infinite-loop - - Fixes test just added. - - src/hb-font.cc | 20 +++++++++++++------- - src/hb-font.hh | 8 ++++++++ - 2 files changed, 21 insertions(+), 7 deletions(-) - -commit 77d5c3df07bec8e9d2dd57f89d5810b768bdc4f5 -Author: Behdad Esfahbod -Date: Fri Oct 19 19:01:01 2018 -0700 - - [font] Add failing test amongst font-func parallels infinite-looping - - Reported by Nona while updating Android to HarfBuzz 2.0.0. - - test/api/test-font.c | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 64 insertions(+) - -commit d084719ff5a9e0e363bf352037f85b884bff11a7 -Author: Khaled Hosny -Date: Sat Oct 20 00:18:36 2018 +0200 - - Add Cygwin CI build - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1274 - - appveyor.yml | 15 +++++++++++++++ - 1 file changed, 15 insertions(+) - -commit 29d877518fc2c29083cd7b955b422087966235f7 -Author: Behdad Esfahbod -Date: Fri Oct 19 16:06:54 2018 -0700 - - [kerx] Implement variation-kerning tables (without the variation part) - - SFSNDisplay uses these. We just apply the default kern without - variations right now. But at least makes the default kern work. - - src/hb-aat-layout-kerx-table.hh | 37 +++++++++++++++++++++++++++++-------- - 1 file changed, 29 insertions(+), 8 deletions(-) - -commit f7c0b4319c6f82f1e0020a0029469d8953a7a161 -Author: Behdad Esfahbod -Date: Fri Oct 19 15:23:49 2018 -0700 - - [aat] Implement LookupFormat10 - - src/hb-aat-layout-ankr-table.hh | 6 +++-- - src/hb-aat-layout-common.hh | 55 ++++++++++++++++++++++++++++++++++++++--- - src/hb-machinery.hh | 4 +++ - src/hb-open-type.hh | 3 +++ - 4 files changed, 63 insertions(+), 5 deletions(-) - -commit cf92cb7e002f479505fed8c2c55ab12dcbea2d83 -Author: Khaled Hosny -Date: Fri Oct 19 22:21:39 2018 +0200 - - Use g_strdup instead of strdup - - Cygwin does not seem to have strdup. - - util/options.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 30cbe6158de1ddc0546d55e4edc1fe264e1b86ef -Author: Khaled Hosny -Date: Fri Oct 19 22:04:56 2018 +0200 - - Use O_BINARY instead of _O_BINARY - - Cygwin does not seem to have the later - - src/hb-blob.cc | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 257ded1f9ec653d15e79d2ea0a83bd8c5c53d831 -Author: Behdad Esfahbod -Date: Fri Oct 19 11:20:14 2018 -0700 - - [trak] Fix test for previous fix - - test/shaping/data/in-house/tests/aat-trak.tests | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 72bb139b807c21f1569058fb5fb260dcdd81eba4 -Author: Behdad Esfahbod -Date: Fri Oct 19 11:15:35 2018 -0700 - - [RELEASING] Post-mortem - - Re https://github.com/harfbuzz/harfbuzz/issues/1271 - - RELEASING.md | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -commit 79b63561552bdfe8dc67a450d740fda8802486ad -Author: Behdad Esfahbod -Date: Fri Oct 19 11:00:20 2018 -0700 - - [trak] Fix extrapolation at end side - - src/hb-aat-layout-trak-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 2352cc3539b2e58d0481cdb8b9cd48cbc09a778e -Author: Behdad Esfahbod -Date: Fri Oct 19 09:58:45 2018 -0700 - - [kerx] Whitespace - - src/hb-aat-layout-kerx-table.hh | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 114f66dda6a07d61b5e64da5c44b05db7aa51cc9 -Author: Ebrahim Byagowi -Date: Fri Oct 19 12:05:26 2018 +0330 - - Fix hb_map_is_empty logic - - This needs reviewing - - src/hb-map.hh | 2 +- - test/api/test-map.c | 13 ++++++++----- - 2 files changed, 9 insertions(+), 6 deletions(-) - -commit 9df2fb1611e03e401f0d5a9432b440641085ba1e -Author: Ebrahim Byagowi -Date: Fri Oct 19 12:04:47 2018 +0330 - - Add API tests for hb_map_t - - src/Makefile.am | 2 +- - test/api/Makefile.am | 6 ++- - test/api/test-map.c | 114 +++++++++++++++++++++++++++++++++++++++++++++++++++ - 3 files changed, 120 insertions(+), 2 deletions(-) - -commit 8a5eba711069285e8d8b6d682eea0090256527bb -Author: Ebrahim Byagowi -Date: Fri Oct 19 10:20:16 2018 +0330 - - [test] cosmetic, use g_assert_cmpint - - test/api/test-ot-name.c | 18 +++++++++--------- - 1 file changed, 9 insertions(+), 9 deletions(-) - -commit c6eb5e852c24e12fec3138cf9def5eb76acedfd6 -Author: Ebrahim Byagowi -Date: Fri Oct 19 10:14:25 2018 +0330 - - Don't report deprecated symbols as unused symbols - - src/Makefile.am | 2 ++ - test/api/Makefile.am | 4 +++- - 2 files changed, 5 insertions(+), 1 deletion(-) - -commit 34f357c78a7a530fdb3580ec9d3d865600c06128 -Author: Ebrahim Byagowi -Date: Fri Oct 19 10:13:53 2018 +0330 - - Add test for hb_set_del - - test/api/test-set.c | 3 +++ - 1 file changed, 3 insertions(+) - -commit 4594730f64e534e975065afce925b581fd9c6acd -Author: Bruce Mitchener -Date: Fri Oct 19 22:12:25 2018 +0700 - - Remove redundant return at end of void-returning function. - - src/hb-ot-layout-gsubgpos.hh | 2 -- - 1 file changed, 2 deletions(-) - -commit 093c7c4a54b37f5b12ad21e2d67f109597d068b1 -Author: Ebrahim Byagowi -Date: Fri Oct 19 18:46:41 2018 +0330 - - [ci] Run valgrind on test/api - - run-shape-fuzzer-tests.py automatically runs valgrind if see available - but test/api runs it by request, we probably should normalize the approaches - later - - .circleci/config.yml | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -commit 8d1e479d1dcf7789be99a6cd0db0b883a90299dc -Author: Bruce Mitchener -Date: Thu Oct 18 22:18:42 2018 +0700 - - Use bool literals instead of 0/1. - - src/hb-common.cc | 2 +- - src/hb-coretext.cc | 4 ++-- - src/hb-ot-layout-gpos-table.hh | 2 +- - src/hb-ot-tag.cc | 2 +- - src/hb-shape-plan.cc | 8 ++++---- - 5 files changed, 9 insertions(+), 9 deletions(-) - -commit 257d0e5aa36fd5b3e54e04918ce12bb7d7e0d177 -Author: Bruce Mitchener -Date: Fri Oct 19 22:49:21 2018 +0700 - - Fix typos. - - BUILD.md | 2 +- - CMakeLists.txt | 8 ++++---- - README.python.md | 2 +- - README.wine.md | 6 +++--- - src/hb-machinery.hh | 2 +- - src/hb-null.hh | 4 ++-- - src/hb-open-file.hh | 2 +- - src/hb-ot-layout-common.hh | 2 +- - src/hb-ot-layout-gdef-table.hh | 2 +- - src/hb-ot-layout-gsub-table.hh | 2 +- - src/hb-ot-layout-gsubgpos.hh | 2 +- - 11 files changed, 17 insertions(+), 17 deletions(-) - -commit b7cef8cb1dfaf1f0f2c0d79b96b171049b69466a -Author: Ebrahim Byagowi -Date: Fri Oct 19 09:24:21 2018 +0330 - - Enable valgrind and dedicate a bot to it - - .circleci/config.yml | 13 +++++++++++++ - test/fuzzing/run-shape-fuzzer-tests.py | 31 +++++++++++++++++++++++++++++++ - 2 files changed, 44 insertions(+) - -commit bccd09d6c7baa99fdaccb8c5b3ff7e1834edd3bf -Author: Ebrahim Byagowi -Date: Fri Oct 19 09:06:42 2018 +0330 - - Minor, tweak spaces on hb-shape-fuzzer.cc - - test/fuzzing/hb-shape-fuzzer.cc | 42 ++++++++++++++++++++--------------------- - 1 file changed, 21 insertions(+), 21 deletions(-) - -commit fbf665b307c8cc9f16f5897671bfdd8719a195b5 -Author: Ebrahim Byagowi -Date: Fri Oct 19 08:09:53 2018 +0330 - - [fuzz] Add more found cases (#1275) - - ...clusterfuzz-testcase-hb-shape-fuzzer-5728971283496960 | Bin 0 -> 101 bytes - ...terfuzz-testcase-minimized-hb-fuzzer-5713868010553344 | Bin 0 -> 370 bytes - ...terfuzz-testcase-minimized-hb-fuzzer-6278851874258944 | Bin 0 -> 598 bytes - ...z-testcase-minimized-hb-shape-fuzzer-5649959857160192 | Bin 0 -> 3608 bytes - ...z-testcase-minimized-hb-shape-fuzzer-5664873493561344 | Bin 0 -> 400 bytes - ...z-testcase-minimized-hb-shape-fuzzer-5762953198960640 | Bin 0 -> 62 bytes - ...z-testcase-minimized-hb-shape-fuzzer-5764636557705216 | Bin 0 -> 2184 bytes - ...-testcase-minimized-hb-subset-fuzzer-5690658895953920 | Bin 0 -> 2735 bytes - ...-testcase-minimized-hb-subset-fuzzer-5695279609675776 | Bin 0 -> 135 bytes - ...-testcase-minimized-hb-subset-fuzzer-5718215406125056 | Bin 0 -> 107 bytes - ...-testcase-minimized-hb-subset-fuzzer-5743250149736448 | Bin 0 -> 103 bytes - ...-testcase-minimized-hb-subset-fuzzer-5765071062958080 | Bin 0 -> 329 bytes - ...ized-hb-subset-get-codepoints-fuzzer-5930139383758848 | Bin 0 -> 9410 bytes - 13 files changed, 0 insertions(+), 0 deletions(-) - -commit 51fba41cc958ded3afc6c1e738895b0a81993e18 -Merge: e555ed961 3d9a0306e -Author: Michiharu Ariza -Date: Thu Oct 18 13:08:42 2018 -0700 - - Merge branch 'master' into cff-subset - -commit e555ed961e86104e059861efe4245b7b146dbd3b -Author: Michiharu Ariza -Date: Thu Oct 18 13:04:41 2018 -0700 - - added flex extents test - - test/api/fonts/cff1_flex.otf | Bin 0 -> 3152 bytes - test/api/test-ot-extents-cff.c | 23 +++++++++++++++++++++++ - 2 files changed, 23 insertions(+) - -commit 8679d02b4b3f2f9147c4ea0319eb39851c4e40e6 -Author: Michiharu Ariza -Date: Thu Oct 18 13:04:21 2018 -0700 - - implement flex ops for glyph extents/subset - - also removed unused CSInterpEnv::move_[xy]_with_arg - fixed bug a width being left over on argStack with CFF1 - - src/hb-cff-interp-cs-common.hh | 157 +++++++++++++++++++++++++++++++++++------ - src/hb-cff1-interp-cs.hh | 1 + - src/hb-subset-cff1.cc | 4 -- - src/hb-subset-cff2.cc | 4 -- - 4 files changed, 138 insertions(+), 28 deletions(-) - -commit 3d9a0306ebb48706778fd2c487c3cacc7d508d6c -Author: Behdad Esfahbod -Date: Thu Oct 18 05:58:17 2018 -0700 - - 2.0.0 - - NEWS | 68 +++++++++++++++++++++++++++++++++++++++++++++++++++++ - configure.ac | 2 +- - src/hb-buffer.cc | 4 ++-- - src/hb-common.h | 4 ++-- - src/hb-deprecated.h | 18 +++++++------- - src/hb-font.cc | 6 ++--- - src/hb-font.h | 2 +- - src/hb-ot-layout.cc | 8 +++---- - src/hb-ot-name.h | 4 ++-- - src/hb-ot-tag.cc | 4 ++-- - src/hb-ot-tag.h | 4 ++-- - src/hb-version.h | 6 ++--- - 12 files changed, 99 insertions(+), 31 deletions(-) - -commit 535ca678bf9c8ab470ebf5ad84a090328d79d42b -Author: Behdad Esfahbod -Date: Thu Oct 18 05:58:04 2018 -0700 - - [test] Don't use newer glib API - - test/api/test-ot-tag.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 03e144135b5c691e3942d1aef917fe2246665fb6 -Author: Ebrahim Byagowi -Date: Thu Oct 18 11:06:37 2018 +0330 - - [ubsan] Use unsigned int instead enum where needed (#1270) - - Actually the check is right, - - On -myanmar.hh, on that particular switch, OT_C is indic_category_t - but OT_D is myanmar_category_t so we are mixing the types in one variable. - - And on -arabic.cc, step can goes one number higher than step_t enum in the - loop so we are actually using it as an unsinged int. - - .circleci/config.yml | 2 +- - src/hb-ot-shape-complex-arabic.cc | 4 ++-- - src/hb-ot-shape-complex-myanmar.hh | 48 +++++++++++++++++++------------------- - 3 files changed, 27 insertions(+), 27 deletions(-) - -commit 64df6b0b0f9d221e14811084f2412a01cf4deb46 -Author: Behdad Esfahbod -Date: Thu Oct 18 00:35:01 2018 -0700 - - [AUTHORS] Add Ebrahim and Khaled - - AUTHORS | 12 +++++++----- - 1 file changed, 7 insertions(+), 5 deletions(-) - -commit f1ced9be378d7c7ad3ea35a1cee6f9aff7a44a13 -Author: Behdad Esfahbod -Date: Wed Oct 17 23:06:53 2018 -0700 - - More warning fix - - Okay, let's see if the gods are happy now... - - src/hb-static.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 40606abd0cd40faf3973d0a8c30af90d36ae8231 -Author: Behdad Esfahbod -Date: Wed Oct 17 23:06:37 2018 -0700 - - Fix build - - src/hb-static.cc | 1 + - 1 file changed, 1 insertion(+) - -commit c406aca19303e61fa5ba15d215386cfc6d920124 -Author: Behdad Esfahbod -Date: Wed Oct 17 22:58:43 2018 -0700 - - Fix warning - - src/hb-machinery.hh | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 270a37c3244b32dd839a99eb379be241613ee895 -Author: Behdad Esfahbod -Date: Wed Oct 17 22:42:47 2018 -0700 - - Kick bots - - src/hb-aat-layout-common.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 6da8ef3f9f4706fe88715fabdba7904ff279539b -Author: Behdad Esfahbod -Date: Wed Oct 17 22:37:34 2018 -0700 - - Fix some wierdness... - - src/hb-static.cc | 7 +++---- - 1 file changed, 3 insertions(+), 4 deletions(-) - -commit 83780308b41b029513ac2568b6688d3eaad77338 -Author: Behdad Esfahbod -Date: Wed Oct 17 22:34:16 2018 -0700 - - [aat] Fix sanitize slowdown - - Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=11034 - - src/hb-aat-layout-common.hh | 4 ++++ - src/hb-machinery.hh | 2 +- - 2 files changed, 5 insertions(+), 1 deletion(-) - -commit b9478e28ac4361353e4920d749cc5d29e5bfef67 -Author: Behdad Esfahbod -Date: Wed Oct 17 21:52:14 2018 -0700 - - Revert "[test] Remove not-fixed yet testcases (#1268)" - - This reverts commit 191eef823fe95355425621f8e002dfe7fe632383. - - ...rfuzz-testcase-minimized-hb-fuzzer-4548492505645056 | Bin 0 -> 122 bytes - ...rfuzz-testcase-minimized-hb-fuzzer-6210176798425088 | Bin 0 -> 1420 bytes - ...testcase-minimized-hb-shape-fuzzer-5738888765636608 | Bin 0 -> 267731 bytes - 3 files changed, 0 insertions(+), 0 deletions(-) - -commit af99b20dfddbca75e68f84c5aa465a54728990a6 -Author: Ebrahim Byagowi -Date: Thu Oct 18 08:35:20 2018 +0330 - - [ci/ubsan] Disable enum sanitization - - Behdad apparently not interested on them - - .circleci/config.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 9e8a9b846ec24e9124d61706272a0e5fa58d7a24 -Author: Behdad Esfahbod -Date: Wed Oct 17 21:41:25 2018 -0700 - - [aat] Another try at fixing Lookup null objects... - - Ugly as hell, and don't even understand why some bits are needed. - But the logic is sound. - - src/hb-aat-layout-common.hh | 23 ++++++++++++++++++++--- - src/hb-static.cc | 4 ++++ - 2 files changed, 24 insertions(+), 3 deletions(-) - -commit 191eef823fe95355425621f8e002dfe7fe632383 -Author: Ebrahim Byagowi -Date: Thu Oct 18 08:04:18 2018 +0330 - - [test] Remove not-fixed yet testcases (#1268) - - I added them but now that I think, it is a bad idea to have them as - fuzzing bots will find good seeds to tweak in order to find easy new - testcases which causes duplicated issues. - - ...rfuzz-testcase-minimized-hb-fuzzer-4548492505645056 | Bin 122 -> 0 bytes - ...rfuzz-testcase-minimized-hb-fuzzer-6210176798425088 | Bin 1420 -> 0 bytes - ...testcase-minimized-hb-shape-fuzzer-5738888765636608 | Bin 267731 -> 0 bytes - 3 files changed, 0 insertions(+), 0 deletions(-) - -commit 392e1f4ddd7eb649e1a71755b9bcf6431739f98f -Author: Ebrahim Byagowi -Date: Thu Oct 18 07:42:20 2018 +0330 - - [test/shape-fuzzer] fail on timeout and ubsan errors (#1267) - - test/fuzzing/run-shape-fuzzer-tests.py | 38 ++++++++++++++++++++++++++++++---- - 1 file changed, 34 insertions(+), 4 deletions(-) - -commit eeddda3ec6c28b411d33c74938ec6198c7f6888d -Author: Ebrahim Byagowi -Date: Thu Oct 18 07:38:47 2018 +0330 - - [util] Better file-not-found error from hb-shape / hb-view - - fixes #1266 - - util/options.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 751c10e55e43e2266a5bba024d560c5127fae4b8 -Author: Ebrahim Byagowi -Date: Thu Oct 18 06:36:48 2018 +0330 - - [fuzz] Add more new testcases - - ...testcase-minimized-hb-shape-fuzzer-5718464350650368 | Bin 0 -> 41 bytes - ...testcase-minimized-hb-shape-fuzzer-5738888765636608 | Bin 0 -> 267731 bytes - 2 files changed, 0 insertions(+), 0 deletions(-) - -commit fd282eb3285e6d20f77e8a3a7237b677433ccbb4 -Author: Ebrahim Byagowi -Date: Thu Oct 18 06:33:39 2018 +0330 - - [fuzz] Add a new testcase - - .../clusterfuzz-testcase-hb-shape-fuzzer-5634395566768128 | Bin 0 -> 106 bytes - 1 file changed, 0 insertions(+), 0 deletions(-) - -commit 9d42d70269b879e67f3c7724beab8e4cdbfc877a -Author: Behdad Esfahbod -Date: Wed Oct 17 17:55:47 2018 -0700 - - [trak] Fix calc - - We were getting the first track record always. Ie. this line: - - if (trackTable[i].get_track_value () == 0.f) - { - - trackTableEntry = &trackTable[0]; - + trackTableEntry = &trackTable[i]; - break; - } - - The rest is cleanup. - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1263 for the most part. - - src/hb-aat-layout-trak-table.hh | 17 ++++++++--------- - 1 file changed, 8 insertions(+), 9 deletions(-) - -commit 3341c7fbfb9bc8e137afd9f16da8cf18eb67b25b -Author: Behdad Esfahbod -Date: Wed Oct 17 15:04:35 2018 -0700 - - [fuzzing] Move fuzzing fonts from api/ here - - ...estcase-minimized-hb-subset-fuzzer-5521982557782016 | Bin 1228 -> 0 bytes - ...estcase-minimized-hb-subset-fuzzer-5542653037903872 | Bin 160249 -> 0 bytes - ...estcase-minimized-hb-subset-fuzzer-5609911946838016 | Bin 313 -> 0 bytes - ...estcase-minimized-hb-subset-fuzzer-5670861909524480 | Bin 1298 -> 0 bytes - ...estcase-minimized-hb-subset-fuzzer-5750092395970560 | Bin 72435 -> 0 bytes - ...estcase-minimized-hb-subset-fuzzer-6651660668502016 | Bin 15229 -> 0 bytes - ...ed-hb-subset-get-codepoints-fuzzer-5973295416475648 | Bin 109 -> 0 bytes - ...ed-hb-subset-get-codepoints-fuzzer-6136125075750912 | Bin 65816 -> 0 bytes - test/api/test-subset-glyf.c | 2 +- - test/api/test-subset-hdmx.c | 4 ++-- - test/api/test-subset-hmtx.c | 2 +- - test/api/test-subset.c | 6 +++--- - .../crash-4b60576767ee4d9fe1cc10959d89baf73d4e8249 | Bin - .../crash-b577db318b30f2851828a4c9ef97cb30678b1b54 | Bin - .../crash-ccc61c92d589f895174cdef6ff2e3b20e9999a1a | Bin - .../crash-e4e0bb1458a91b692eba492c907ae1f94e635480 | Bin - .../fonts/oom-6ef8c96d3710262511bcc730dce9c00e722cb653 | Bin - .../fonts/oom-ccc61c92d589f895174cdef6ff2e3b20e9999a1a | Bin - 18 files changed, 7 insertions(+), 7 deletions(-) - -commit 1f34388e8b40a77157f61c8e1a2fc7c4846c192e -Merge: 9ade3e7bb 2e7c71651 -Author: Michiharu Ariza -Date: Wed Oct 17 09:34:48 2018 -0700 - - Merge branch 'master' into cff-subset - -commit 2e7c716511e8b2cfcd059fa2a2ed4cdd48b351bf -Author: Behdad Esfahbod -Date: Tue Oct 16 18:35:03 2018 -0700 - - [buffer] Add an assert - - See if it helps debugging https://bugs.chromium.org/p/chromium/issues/detail?id=895117 - - src/hb-buffer.cc | 2 ++ - 1 file changed, 2 insertions(+) - -commit 5842756b1398253d38749c4c8a23a1450e642caf -Author: Behdad Esfahbod -Date: Tue Oct 16 18:28:55 2018 -0700 - - [fuzzing] Delete blink fuzzed data - - These are text, not font. - - ...minimized-blink_harfbuzz_shaper_fuzzer-5099655095123968 | Bin 88 -> 0 bytes - 1 file changed, 0 insertions(+), 0 deletions(-) - -commit 25fe7e7e1031401d38db1efed360cd75ea7910b9 -Author: Behdad Esfahbod -Date: Tue Oct 16 18:22:54 2018 -0700 - - [aat] Comment - - src/hb-aat-layout-common.hh | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 26092bb3d1aa239de5e933700e0371619d147f65 -Author: HinTak -Date: Wed Oct 17 00:54:39 2018 +0100 - - "allow-none" annotation for "out" parameters - - Fixes the following warnings: - hb-ot-tag.cc:330: Warning: HarfBuzz: invalid "allow-none" annotation: only valid for pointer types and out parameters - hb-ot-tag.cc:334: Warning: HarfBuzz: invalid "allow-none" annotation: only valid for pointer types and out parameters - - src/hb-ot-tag.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit ba42651608da1be0d152e03ad42ea96fc8476ac7 -Author: Behdad Esfahbod -Date: Tue Oct 16 17:35:46 2018 -0700 - - Fix indent - - test/fuzzing/run-shape-fuzzer-tests.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 49bdb54427b17d439eadf31732a5f2a0add46bf5 -Author: HinTak -Date: Wed Oct 17 00:36:04 2018 +0100 - - typo in gobject annotation - "in/out" should be "inout" - - "in/out" should be "inout" - - src/hb-ot-layout.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit c0c190c16a2c1b281f40dacdcf515dc5a59ab3bb -Author: Behdad Esfahbod -Date: Tue Oct 16 16:39:29 2018 -0700 - - [fuzzing] Run tests against fuzzing fonts - - Some disable. - - test/fuzzing/run-shape-fuzzer-tests.py | 12 ++-- - test/fuzzing/run-subset-fuzzer-tests.py | 35 ++++++----- - test/shaping/data/in-house/Makefile.sources | 1 - - test/shaping/data/in-house/tests/fuzzed.tests | 84 --------------------------- - 4 files changed, 24 insertions(+), 108 deletions(-) - -commit 7b37705fb579a39334be0618c6215c1b887bf9fc -Author: Behdad Esfahbod -Date: Tue Oct 16 16:33:06 2018 -0700 - - [fuzzing] Rename - - ...ebdebc6.ttf => 0509e80afb379d16560e9e47bdd7d888bebdebc6} | Bin - ...63b6daf.ttf => 1a6f1687b7a221f9f2c834b0b360d3c8463b6daf} | Bin - ...28b22cb.ttf => 205edd09bd3d141cc9580f650109556cc28b22cb} | Bin - ...f026462.ttf => 217a934cfe15c548b572c203dceb2befdf026462} | Bin - ...ac34f18.ttf => 3511ff5c1647150595846ac414c595cccac34f18} | Bin - ...675d5a3.ttf => 375d6ae32a3cbe52fbf81a4e5777e3377675d5a3} | Bin - ...9c9a56b.ttf => 43979b90b2dd929723cf4fe1715990bcb9c9a56b} | Bin - ...1a8e2b0.ttf => 558661aa659912f4d30ecd27bd09835171a8e2b0} | Bin - ...0655fa8.ttf => 5a5daf5eb5a4db77a2baa3ad9c7a6ed6e0655fa8} | Bin - ...c149ddc.ttf => 641bd9db850193064d17575053ae2bf8ec149ddc} | Bin - ...bcf861f.ttf => 8240789f6d12d4cfc4b5e8e6f246c3701bcf861f} | Bin - ...1386016.ttf => a34a9191d9376bda419836effeef7e75c1386016} | Bin - ...bdae30e.ttf => a69118c2c2ada48ff803d9149daa54c9ebdae30e} | Bin - ...6b31fe2.ttf => b9e2aaa0d75fcef6971ec3a96d806ba4a6b31fe2} | Bin - ...14a0467.ttf => e88c339237f52d21e01c55f01b9c1b4cc14a0467} | Bin - ...1395725.ttf => fab39d60d758cb586db5a504f218442cd1395725} | Bin - 16 files changed, 0 insertions(+), 0 deletions(-) - -commit 3676c685d407cc7b9b813b4a08e7c5bcd9a47ea1 -Author: Behdad Esfahbod -Date: Tue Oct 16 16:32:26 2018 -0700 - - [fuzzing] Move rest of fuzzing tests here - - .../fonts/0509e80afb379d16560e9e47bdd7d888bebdebc6.ttf | Bin - .../fonts/1a6f1687b7a221f9f2c834b0b360d3c8463b6daf.ttf | Bin - .../fonts/205edd09bd3d141cc9580f650109556cc28b22cb.ttf | Bin - .../fonts/217a934cfe15c548b572c203dceb2befdf026462.ttf | Bin - .../fonts/3511ff5c1647150595846ac414c595cccac34f18.ttf | Bin - .../fonts/375d6ae32a3cbe52fbf81a4e5777e3377675d5a3.ttf | Bin - .../fonts/43979b90b2dd929723cf4fe1715990bcb9c9a56b.ttf | Bin - .../fonts/558661aa659912f4d30ecd27bd09835171a8e2b0.ttf | Bin - .../fonts/5a5daf5eb5a4db77a2baa3ad9c7a6ed6e0655fa8.ttf | Bin - .../fonts/641bd9db850193064d17575053ae2bf8ec149ddc.ttf | Bin - .../fonts/8240789f6d12d4cfc4b5e8e6f246c3701bcf861f.ttf | Bin - .../fonts/a34a9191d9376bda419836effeef7e75c1386016.ttf | Bin - .../fonts/a69118c2c2ada48ff803d9149daa54c9ebdae30e.ttf | Bin - .../fonts/b9e2aaa0d75fcef6971ec3a96d806ba4a6b31fe2.ttf | Bin - .../fonts/e88c339237f52d21e01c55f01b9c1b4cc14a0467.ttf | Bin - .../fonts/fab39d60d758cb586db5a504f218442cd1395725.ttf | Bin - test/shaping/data/in-house/tests/fuzzed.tests | 16 ---------------- - 17 files changed, 16 deletions(-) - -commit 1487173dcf4137fb210b15d9a869aa1f0c626d15 -Author: Behdad Esfahbod -Date: Tue Oct 16 16:30:38 2018 -0700 - - [fuzzing] Delete duplicate fonts - - .../233c1e252e737ca79e03a9fd56b71aaa4a230f2b.ttf | Bin 1048576 -> 0 bytes - .../243798dd281c1c77c065958e1ff467420faa9bde.ttf | Bin 225 -> 0 bytes - .../9d8a94a67932a3ab75a596fc8b5c6d0392ca9e49.ttf | Bin 4545 -> 0 bytes - .../b6acef662e0beb8d5fcf5b61c6b0ca69537b7402.ttf | Bin 3301 -> 0 bytes - .../bbf4a308c402f0678c3e82844892a4da2ebe598f.ttf | Bin 204 -> 0 bytes - .../dd9f0c7c7c36f75a18be0cab1cddf8f3ab0f366b.ttf | Bin 2786 -> 0 bytes - .../ef2511f215aa3ca847cbfffbf861793b42170875.ttf | Bin 1152 -> 0 bytes - test/shaping/data/in-house/tests/fuzzed.tests | 7 ------- - 8 files changed, 7 deletions(-) - -commit 49c041f7c5b135cbcbd1663e18047afd54fc948b -Author: Behdad Esfahbod -Date: Tue Oct 16 16:25:24 2018 -0700 - - Minor - - test/fuzzing/clusterfuzz-testcase-6107935408390144 | Bin 16800 -> 0 bytes - 1 file changed, 0 insertions(+), 0 deletions(-) - -commit 36f38ea7033b4e52c6cd94a8a0d686a95c0cc148 -Author: Behdad Esfahbod -Date: Tue Oct 16 16:24:03 2018 -0700 - - [gpos] Protect mark attachment against out-of-bounds - - Not sure how can happen, but does... - - src/hb-ot-layout-gpos-table.hh | 14 ++++++++++---- - 1 file changed, 10 insertions(+), 4 deletions(-) - -commit 1147ce2392ac6b3d12fdabe69ac5da9bae97e30d -Author: Behdad Esfahbod -Date: Tue Oct 16 16:18:32 2018 -0700 - - [fuzzing] Add more tests - - .../fuzzing/fonts/clusterfuzz-testcase-6107935408390144 | Bin 0 -> 16800 bytes - ...-testcase-minimized-harfbuzz_fuzzer-5973566991106048 | Bin 0 -> 4047 bytes - ...-testcase-minimized-hb-shape-fuzzer-5633985665826816 | Bin 0 -> 73 bytes - 3 files changed, 0 insertions(+), 0 deletions(-) - -commit 12cbe195ae65656dbc9e32b4d50696bc4223136b -Author: Behdad Esfahbod -Date: Tue Oct 16 16:13:53 2018 -0700 - - [aat] Another non-null offset - - src/hb-aat-layout-ankr-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 87205ef935ede70365187549d133014669ea47f2 -Author: Behdad Esfahbod -Date: Tue Oct 16 15:40:44 2018 -0700 - - [aat] Make sure Lookup offset is never nulled - - It has unbounded size... - - Fixes https://oss-fuzz.com/v2/testcase-detail/5718889451749376 - - src/hb-aat-layout-ankr-table.hh | 2 +- - src/hb-aat-layout-common.hh | 3 ++- - src/hb-aat-layout-kerx-table.hh | 18 ++++++++---------- - src/hb-aat-layout-morx-table.hh | 4 ++-- - src/hb-open-type.hh | 12 ++++++------ - 5 files changed, 19 insertions(+), 20 deletions(-) - -commit 1aa353e4fc79dfa880559ff75113ed58fac8392b -Author: Behdad Esfahbod -Date: Tue Oct 16 15:26:51 2018 -0700 - - Fix tests - - test/shaping/data/in-house/tests/fuzzed.tests | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 98d4ad02b97628e5a9a7bfe3187ccc3851c00b18 -Author: Behdad Esfahbod -Date: Tue Oct 16 15:17:31 2018 -0700 - - [fuzzing] One more - - test/fuzzing/clusterfuzz-testcase-6107935408390144 | Bin 0 -> 16800 bytes - 1 file changed, 0 insertions(+), 0 deletions(-) - -commit e6f267c3dfe3e93dfc726266672da5a235fbd930 -Author: Behdad Esfahbod -Date: Tue Oct 16 15:16:20 2018 -0700 - - [fuzzing] Add more clusterfuzz tests I had lying around - - .../fonts/clusterfuzz-testcase-5517117891805184 | Bin 0 -> 178 bytes - ...sterfuzz-testcase-hb-shape-fuzzer-5746142327865344 | Bin 0 -> 219 bytes - ...sterfuzz-testcase-hb-shape-fuzzer-5750379279548416 | Bin 0 -> 317 bytes - .../clusterfuzz-testcase-minimized-4884742786777088 | Bin 0 -> 393 bytes - .../clusterfuzz-testcase-minimized-5255344882188288 | Bin 0 -> 65 bytes - .../clusterfuzz-testcase-minimized-5720051798769664 | Bin 0 -> 1048576 bytes - .../clusterfuzz-testcase-minimized-5924299061854208 | Bin 0 -> 2786 bytes - .../clusterfuzz-testcase-minimized-6460279560863744 | Bin 0 -> 589 bytes - ...ized-blink_harfbuzz_shaper_fuzzer-5099655095123968 | Bin 0 -> 88 bytes - ...estcase-minimized-hb-shape-fuzzer-5650286710882304 | Bin 0 -> 76 bytes - ...stcase-minimized-hb-shape-fuzzer-5672261407735808} | Bin - 11 files changed, 0 insertions(+), 0 deletions(-) - -commit e53206271db4a83834433ab5f82d16815a18b998 -Author: Ebrahim Byagowi -Date: Wed Oct 17 01:42:04 2018 +0330 - - Add all the fonts found by fuzzers to the repo (#1258) - - test/fuzzing/Makefile.am | 1 + - ...clusterfuzz-testcase-hb-fuzzer-4666056377368576 | Bin 0 -> 1152 bytes - ...clusterfuzz-testcase-hb-fuzzer-5662671558934528 | Bin 0 -> 242272 bytes - ...clusterfuzz-testcase-hb-fuzzer-6243458541944832 | Bin 0 -> 370187 bytes - ...clusterfuzz-testcase-hb-fuzzer-6303297511096320 | Bin 0 -> 4545 bytes - ...clusterfuzz-testcase-hb-fuzzer-6696647723581440 | Bin 0 -> 3266 bytes - ...z-testcase-minimized-hb-fuzzer-4523479581851648 | Bin 0 -> 322 bytes - ...z-testcase-minimized-hb-fuzzer-4535496598355968 | Bin 0 -> 2786 bytes - ...z-testcase-minimized-hb-fuzzer-4548492505645056 | Bin 0 -> 122 bytes - ...z-testcase-minimized-hb-fuzzer-4595692015190016 | Bin 0 -> 225 bytes - ...z-testcase-minimized-hb-fuzzer-4687441845813248 | Bin 0 -> 162 bytes - ...z-testcase-minimized-hb-fuzzer-4706238090706944 | Bin 0 -> 350 bytes - ...z-testcase-minimized-hb-fuzzer-4769173588672512 | Bin 0 -> 37 bytes - ...z-testcase-minimized-hb-fuzzer-4827735151083520 | Bin 0 -> 1384 bytes - ...z-testcase-minimized-hb-fuzzer-4841745322868736 | Bin 0 -> 660 bytes - ...z-testcase-minimized-hb-fuzzer-4884742786777088 | Bin 0 -> 393 bytes - ...z-testcase-minimized-hb-fuzzer-5216838347653120 | Bin 0 -> 157600 bytes - ...z-testcase-minimized-hb-fuzzer-5255344882188288 | Bin 0 -> 65 bytes - ...z-testcase-minimized-hb-fuzzer-5294584596791296 | Bin 0 -> 1602 bytes - ...z-testcase-minimized-hb-fuzzer-5303930168803328 | Bin 0 -> 7321 bytes - ...z-testcase-minimized-hb-fuzzer-5331901587914752 | Bin 0 -> 3301 bytes - ...z-testcase-minimized-hb-fuzzer-5388906574905344 | Bin 0 -> 9937 bytes - ...z-testcase-minimized-hb-fuzzer-5517117891805184 | Bin 0 -> 178 bytes - ...z-testcase-minimized-hb-fuzzer-5617496443846656 | Bin 0 -> 195 bytes - ...z-testcase-minimized-hb-fuzzer-5672141338968064 | Bin 0 -> 176 bytes - ...z-testcase-minimized-hb-fuzzer-5700697074958336 | Bin 0 -> 878 bytes - ...z-testcase-minimized-hb-fuzzer-5720051798769664 | Bin 0 -> 1048576 bytes - ...z-testcase-minimized-hb-fuzzer-5924299061854208 | Bin 0 -> 2786 bytes - ...z-testcase-minimized-hb-fuzzer-6023178755244032 | Bin 0 -> 2261 bytes - ...z-testcase-minimized-hb-fuzzer-6111685556305920 | Bin 0 -> 586 bytes - ...z-testcase-minimized-hb-fuzzer-6160439919509504 | Bin 0 -> 204 bytes - ...z-testcase-minimized-hb-fuzzer-6210176798425088 | Bin 0 -> 1420 bytes - ...z-testcase-minimized-hb-fuzzer-6260579246276608 | Bin 0 -> 700 bytes - ...z-testcase-minimized-hb-fuzzer-6264625609834496 | Bin 0 -> 1731 bytes - ...z-testcase-minimized-hb-fuzzer-6424351550210048 | Bin 0 -> 73 bytes - ...z-testcase-minimized-hb-fuzzer-6460279560863744 | Bin 0 -> 589 bytes - ...z-testcase-minimized-hb-fuzzer-6576177596596224 | Bin 0 -> 385 bytes - ...z-testcase-minimized-hb-fuzzer-6595199411159040 | Bin 0 -> 1862 bytes - ...z-testcase-minimized-hb-fuzzer-6624904746106880 | Bin 0 -> 42 bytes - ...z-testcase-minimized-hb-fuzzer-6723367514144768 | Bin 0 -> 1074 bytes - ...case-minimized-hb-shape-fuzzer-5630246225707008 | Bin 0 -> 109 bytes - ...case-minimized-hb-shape-fuzzer-5635082459545600 | Bin 0 -> 52 bytes - ...case-minimized-hb-shape-fuzzer-5652019562414080 | Bin 0 -> 49 bytes - ...case-minimized-hb-shape-fuzzer-5656511058018304 | Bin 0 -> 28 bytes - ...case-minimized-hb-shape-fuzzer-5659641787187200 | Bin 0 -> 3498 bytes - ...case-minimized-hb-shape-fuzzer-5668791174823936 | Bin 0 -> 3608 bytes - ...ase-minimized-hb-shape-fuzzer-56722614077358084 | Bin 0 -> 192 bytes - ...case-minimized-hb-shape-fuzzer-5674361600606208 | Bin 0 -> 518 bytes - ...case-minimized-hb-shape-fuzzer-5677421274071040 | Bin 0 -> 3608 bytes - ...case-minimized-hb-shape-fuzzer-5679244475105280 | Bin 0 -> 256 bytes - ...case-minimized-hb-shape-fuzzer-5685596677210112 | Bin 0 -> 58 bytes - ...case-minimized-hb-shape-fuzzer-5695615258853376 | Bin 0 -> 194 bytes - ...case-minimized-hb-shape-fuzzer-5696686572175360 | Bin 0 -> 256 bytes - ...case-minimized-hb-shape-fuzzer-5718889451749376 | Bin 0 -> 1680 bytes - ...case-minimized-hb-shape-fuzzer-5719982789361664 | Bin 0 -> 3608 bytes - ...case-minimized-hb-shape-fuzzer-5725129603022848 | Bin 0 -> 3608 bytes - ...case-minimized-hb-shape-fuzzer-5726089628876800 | Bin 0 -> 76 bytes - ...case-minimized-hb-shape-fuzzer-5729361857085440 | Bin 0 -> 2250 bytes - ...case-minimized-hb-shape-fuzzer-5733166795456512 | Bin 0 -> 78 bytes - ...case-minimized-hb-shape-fuzzer-5734736291430400 | Bin 0 -> 66 bytes - ...case-minimized-hb-shape-fuzzer-5740171484463104 | Bin 0 -> 186 bytes - ...case-minimized-hb-shape-fuzzer-5750379279548416 | Bin 0 -> 219 bytes - ...case-minimized-hb-shape-fuzzer-5762490181353472 | Bin 0 -> 101 bytes - ...ase-minimized-hb-subset-fuzzer-5359635656605696 | Bin 0 -> 393270 bytes - ...ase-minimized-hb-subset-fuzzer-5521982557782016 | Bin 0 -> 1228 bytes - ...ase-minimized-hb-subset-fuzzer-5542653037903872 | Bin 0 -> 160249 bytes - ...ase-minimized-hb-subset-fuzzer-5609911946838016 | Bin 0 -> 313 bytes - ...ase-minimized-hb-subset-fuzzer-5629878397829120 | Bin 0 -> 3746 bytes - ...ase-minimized-hb-subset-fuzzer-5651059347816448 | Bin 0 -> 2648 bytes - ...ase-minimized-hb-subset-fuzzer-5669437462544384 | Bin 0 -> 284427 bytes - ...ase-minimized-hb-subset-fuzzer-5670861909524480 | Bin 0 -> 1298 bytes - ...ase-minimized-hb-subset-fuzzer-5696607199166464 | Bin 0 -> 28 bytes - ...ase-minimized-hb-subset-fuzzer-5711951464759296 | Bin 0 -> 284521 bytes - ...ase-minimized-hb-subset-fuzzer-5747265633779712 | Bin 0 -> 177090 bytes - ...ase-minimized-hb-subset-fuzzer-5750092395970560 | Bin 0 -> 72435 bytes - ...ase-minimized-hb-subset-fuzzer-5758598970343424 | Bin 0 -> 64 bytes - ...ase-minimized-hb-subset-fuzzer-6543700493598720 | Bin 0 -> 138425 bytes - ...ase-minimized-hb-subset-fuzzer-6651660668502016 | Bin 0 -> 15229 bytes - ...b-subset-get-codepoints-fuzzer-5203067375976448 | Bin 0 -> 16310 bytes - ...b-subset-get-codepoints-fuzzer-5630904853069824 | Bin 0 -> 580 bytes - ...b-subset-get-codepoints-fuzzer-5687638085337088 | Bin 0 -> 1206 bytes - ...b-subset-get-codepoints-fuzzer-5736539338833920 | Bin 0 -> 512 bytes - ...b-subset-get-codepoints-fuzzer-5973295416475648 | Bin 0 -> 109 bytes - ...b-subset-get-codepoints-fuzzer-6136125075750912 | Bin 0 -> 65816 bytes - ...b-subset-get-codepoints-fuzzer-6394290358976512 | Bin 0 -> 1868 bytes - test/fuzzing/run-shape-fuzzer-tests.py | 4 + - test/shaping/data/in-house/tests/fuzzed.tests | 84 +++++++++++++++++++++ - 87 files changed, 89 insertions(+) - -commit 2137582c9696b6e38d70b4a0d4199b315c9fd4ce -Author: Behdad Esfahbod -Date: Tue Oct 16 14:46:07 2018 -0700 - - [morx] Reword ligation - - Still fails MORX-41. Am talking to Sascha to better understand what CoreText - is doing. - - src/hb-aat-layout-morx-table.hh | 25 ++++++++++++---------- - test/shaping/data/text-rendering-tests/DISABLED | 2 ++ - .../data/text-rendering-tests/Makefile.sources | 2 +- - 3 files changed, 17 insertions(+), 12 deletions(-) - -commit c53a25c6579a4d3fe8e6a6fc198d70add41035ec -Author: Behdad Esfahbod -Date: Tue Oct 16 13:57:35 2018 -0700 - - [morx] Comment - - src/hb-aat-layout-morx-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit c46d42f8f2c303817467c6a4e19d69d0e433dba6 -Author: Behdad Esfahbod -Date: Tue Oct 16 13:39:54 2018 -0700 - - [test/text-rendering-tests] Update from upstream - - test/shaping/data/text-rendering-tests/Makefile.sources | 1 + - .../text-rendering-tests/fonts/TestMORXFourtyone.ttf | Bin 0 -> 2248 bytes - .../data/text-rendering-tests/tests/MORX-41.tests | 4 ++++ - 3 files changed, 5 insertions(+) - -commit 5eb7e7f6461bcf5b1e1d8ccb49eb904382762533 -Author: Behdad Esfahbod -Date: Tue Oct 16 13:32:52 2018 -0700 - - Revert "[vector] Simplify Sort" and "More of the same" - - This reverts commit de0b9a466490c2c13d6ec6f59d5122b0a87d3180. - This reverts commit 921f0e6ec722940a1e37660e1291aa69f9f39db8. - - Annnnd, revert. MSVC doesn't like it. - - src/hb-vector.hh | 11 ++++++++--- - 1 file changed, 8 insertions(+), 3 deletions(-) - -commit 661340c475dc928f227d54b3f36eaf6f41c2b6e3 -Author: Behdad Esfahbod -Date: Tue Oct 16 13:24:29 2018 -0700 - - [kern] Scale kern pairs before applying - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1255 - Fixes https://github.com/harfbuzz/harfbuzz/issues/1252 - - src/hb-ot-kern-table.hh | 18 ++++++++++++------ - src/hb-ot-shape-fallback.cc | 2 +- - 2 files changed, 13 insertions(+), 7 deletions(-) - -commit de0b9a466490c2c13d6ec6f59d5122b0a87d3180 -Author: Behdad Esfahbod -Date: Mon Oct 15 22:20:26 2018 -0700 - - [vector] More of the same - - src/hb-vector.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 921f0e6ec722940a1e37660e1291aa69f9f39db8 -Author: Behdad Esfahbod -Date: Mon Oct 15 22:19:17 2018 -0700 - - [vector] Simplify sort - - Hopefully this fits fine with SFINAE with all our compilers. - - src/hb-vector.hh | 7 +------ - 1 file changed, 1 insertion(+), 6 deletions(-) - -commit 61510b63c15e91d80e36a497260db0e2d6d36c66 -Author: Ebrahim Byagowi -Date: Tue Oct 16 14:17:21 2018 +0330 - - [test] Minor cleanup in test-multithread and test-ot-name (#1256) - - test/api/CMakeLists.txt | 2 +- - test/api/Makefile.am | 2 +- - test/api/test-multithread.c | 6 ++- - test/api/{test-ot-nameid.c => test-ot-name.c} | 58 ++++++++++++++------------- - 4 files changed, 36 insertions(+), 32 deletions(-) - -commit 42b75dc3a701b13665115e2a234bfa5dedafef3f -Author: Ebrahim Byagowi -Date: Tue Oct 16 10:58:09 2018 +0330 - - [kerx] Minor, remove debug bit - - src/hb-aat-layout-kerx-table.hh | 1 - - 1 file changed, 1 deletion(-) - -commit 11703afce6cebbb4c5e7cdea59ca59a1787608b8 -Author: Behdad Esfahbod -Date: Mon Oct 15 21:16:58 2018 -0700 - - [kerx] Fix Format6 sanitize - - Fixes https://oss-fuzz.com/v2/testcase-detail/5650286710882304 - - src/hb-aat-layout-kerx-table.hh | 21 +++++++++++---------- - 1 file changed, 11 insertions(+), 10 deletions(-) - -commit 4c27da7638f6d072c3ff93223488c4ab316236c1 -Author: Behdad Esfahbod -Date: Mon Oct 15 19:46:45 2018 -0700 - - [CBDT] Fix more offsetting - - Fixes https://oss-fuzz.com/v2/testcase-detail/5750379279548416 - - src/hb-ot-color-cbdt-table.hh | 7 ++++--- - 1 file changed, 4 insertions(+), 3 deletions(-) - -commit 9ade3e7bb81be43b3c0811614b9b9533127894b0 -Merge: 6420ffe00 0f85edb77 -Author: Michiharu Ariza -Date: Mon Oct 15 14:03:23 2018 -0700 - - Merge branch 'master' into cff-subset - -commit 6420ffe00fc4f4c6ffa63b80d961f70bc36c2caf -Author: Michiharu Ariza -Date: Mon Oct 15 14:03:18 2018 -0700 - - fixed type casting bug - - src/hb-cff-interp-common.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 0f85edb7781f4d5ec2de676979be75a0f6559d80 -Author: Behdad Esfahbod -Date: Mon Oct 15 11:15:54 2018 -0700 - - [morx] Another end-of-text corner case - - Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=10990 - - src/hb-aat-layout-morx-table.hh | 2 ++ - 1 file changed, 2 insertions(+) - -commit 55d5ea666c25f75e9b1bc2eb43cfb104a16ebe04 -Author: Behdad Esfahbod -Date: Mon Oct 15 11:04:49 2018 -0700 - - [kerx] Merge clusters in Ligature - - src/hb-aat-layout-morx-table.hh | 7 ++++++- - 1 file changed, 6 insertions(+), 1 deletion(-) - -commit bb35725cd760f07fdb0586453512a106e534b739 -Author: Behdad Esfahbod -Date: Mon Oct 15 10:20:39 2018 -0700 - - [kerx/morx] More end-of-text protection - - src/hb-aat-layout-kerx-table.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 8f3048a1f838484babc4948754c16dda8f53daf1 -Author: Ebrahim Byagowi -Date: Mon Oct 15 12:16:47 2018 +0330 - - [dump-emoji] minor - - src/dump-emoji.cc | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 27e095a613ed0a753231405cab887da19e9aecd1 -Author: Ebrahim Byagowi -Date: Mon Oct 15 12:04:14 2018 +0330 - - [dump-emoji] better explaination of the usage - - src/dump-emoji.cc | 21 ++++++++++++++++++++- - 1 file changed, 20 insertions(+), 1 deletion(-) - -commit 8dc6296818e3a52c003852aa185f2b7eb6afa5d3 -Author: Behdad Esfahbod -Date: Mon Oct 15 01:09:05 2018 -0700 - - [ot-font] Implement TrueType v_origin - - Fixes https://github.com/harfbuzz/harfbuzz/issues/537 - - src/hb-ot-font.cc | 31 +++++++++++++++++- - src/hb-ot-hmtx-table.hh | 43 ++++++++++++++++--------- - test/shaping/data/in-house/tests/vertical.tests | 2 +- - 3 files changed, 59 insertions(+), 17 deletions(-) - -commit 6e07076fd094afc8c9c8ad8f08453e7882294592 -Author: Behdad Esfahbod -Date: Sun Oct 14 22:22:45 2018 -0700 - - [blob] Fix UBSan error - - src/hb-blob.cc | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit fc812faaa96aa4e67814a92376b2da751d5a0aba -Author: Behdad Esfahbod -Date: Sun Oct 14 21:32:09 2018 -0700 - - [CBDT] Fix more offsetting issues - - Fixes https://github.com/harfbuzz/harfbuzz/issues/960 - - dump-emoji still segfaults. Needs debugging. - - src/hb-ot-color-cbdt-table.hh | 28 +++++++++++++++------------- - 1 file changed, 15 insertions(+), 13 deletions(-) - -commit 6aee3bb87cee88525b745a640df294cb721245f6 -Author: Behdad Esfahbod -Date: Sun Oct 14 21:08:42 2018 -0700 - - [CBDT] Fix offset handling - - Fixes https://github.com/harfbuzz/harfbuzz/issues/960 - - src/hb-ot-color-cbdt-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit da744c6b3e79b778f414ec9f4d9070d06ec2a706 -Author: Behdad Esfahbod -Date: Sun Oct 14 20:49:21 2018 -0700 - - [CBDT] More UnsizedArrayOf cleanup - - src/hb-ot-color-cbdt-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 2995b4465bce52b30de2cb6ba24cc80d8602413d -Author: Behdad Esfahbod -Date: Sun Oct 14 20:37:57 2018 -0700 - - [CBDT] Simplify sanitize - - src/hb-ot-color-cbdt-table.hh | 7 +------ - 1 file changed, 1 insertion(+), 6 deletions(-) - -commit 1c76c8f6ff7877e486f6e94d04b2dc65348b26d5 -Author: Behdad Esfahbod -Date: Sun Oct 14 19:39:31 2018 -0700 - - [morx] Handle end-of-text conditions in Insertion - - Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=10955 - - src/hb-aat-layout-morx-table.hh | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 60c13976733ea05e71c66c486d62e31ffbb71bac -Author: Behdad Esfahbod -Date: Sun Oct 14 19:36:46 2018 -0700 - - [buffer] Fix output_glyph at end of buffer - - Part of https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=10955 - - src/hb-buffer.hh | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -commit 7efa38257b6f79d1c6e2a9bad29c33af276abe29 -Author: Behdad Esfahbod -Date: Sun Oct 14 19:30:44 2018 -0700 - - [aat] More protection against buffer fail - - src/hb-aat-layout-common.hh | 7 ++++--- - 1 file changed, 4 insertions(+), 3 deletions(-) - -commit e1add2a275a8afa5efc22aa44a4e62646f0b0ba4 -Author: Behdad Esfahbod -Date: Sun Oct 14 16:26:03 2018 -0700 - - [hmtx] Whitespace - - src/hb-ot-hmtx-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 62376a7d983442408059b0b8987e7ca8d1de154e -Author: Behdad Esfahbod -Date: Sun Oct 14 15:20:50 2018 -0700 - - Ignore signed-integer-overflow while kerning - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1247 - - src/hb-ot-kern-table.hh | 1 + - src/hb.hh | 9 +++++++++ - 2 files changed, 10 insertions(+) - -commit 40f2b9355cf827c7b82ea5e55b112ce0032a9abf -Author: Behdad Esfahbod -Date: Sun Oct 14 14:56:32 2018 -0700 - - [kerx] Fix Format1 sanitize - - Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=10948 - - src/hb-aat-layout-kerx-table.hh | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -commit 44af1f93ee32e236a5c14085c72d3fa102a14f5e -Author: Behdad Esfahbod -Date: Sun Oct 14 14:52:17 2018 -0700 - - [aat] Whitespace - - src/hb-aat-layout-common.hh | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit db0d83ddc73ecf50ec4489fc10eddf3fa5835ae2 -Merge: 9228db06f 56b8dd17f -Author: Michiharu Ariza -Date: Sat Oct 13 17:25:38 2018 -0700 - - Merge branch 'master' into cff-subset - -commit 9228db06f46908afd0e62f5964470c37c66ba91f -Author: Michiharu Ariza -Date: Sat Oct 13 17:25:09 2018 -0700 - - added CFF1 Expert Encoding subset test & bug fixes - - src/hb-ot-cff1-table.hh | 8 +++++++- - src/hb-subset-cff1.cc | 10 ++++++++-- - test/api/fonts/cff1_expert.2D,F6E9,FB00.otf | Bin 0 -> 3096 bytes - test/api/fonts/cff1_expert.otf | Bin 0 -> 3656 bytes - test/api/test-subset-cff1.c | 21 +++++++++++++++++++++ - 5 files changed, 36 insertions(+), 3 deletions(-) - -commit 56b8dd17f677ffe97e4d917c47924e1ac7632c71 -Author: Behdad Esfahbod -Date: Sat Oct 13 19:03:33 2018 -0400 - - [aat] Finish off massaging table - - src/hb-aat-layout.cc | 163 +++++++++++++++++++++++++-------------------------- - 1 file changed, 81 insertions(+), 82 deletions(-) - -commit e0c5e0d91bbc0c8b2bb547ba5cb118989affc617 -Author: Behdad Esfahbod -Date: Sat Oct 13 18:37:14 2018 -0400 - - [aat] WIP remove feature mapping here from hb-coretext - - Need to map enum values to numerics since we don't have CoreText headers. - - src/hb-aat-layout.cc | 94 +++++++++++++++++++++++++ - src/hb-aat-layout.hh | 22 ++++++ - src/hb-coretext.cc | 189 +-------------------------------------------------- - 3 files changed, 117 insertions(+), 188 deletions(-) - -commit cb057749131826dd89bc3b92527116a974ae3bbe -Author: Behdad Esfahbod -Date: Sat Oct 13 17:03:32 2018 -0400 - - [coretext] Prepare AAT feature mapping to be moved - - src/hb-coretext.cc | 39 ++++++++++++++++++++++----------------- - 1 file changed, 22 insertions(+), 17 deletions(-) - -commit de6e414c565de5f27b9da8c7b8b11f88659a4c42 -Author: Behdad Esfahbod -Date: Sat Oct 13 13:48:22 2018 -0400 - - [kerx] Sanitize more - - src/hb-aat-layout-kerx-table.hh | 9 ++++++--- - 1 file changed, 6 insertions(+), 3 deletions(-) - -commit 71f76f2f39c88998b430b171c99b85818d4fa0ab -Author: Behdad Esfahbod -Date: Sat Oct 13 13:36:27 2018 -0400 - - [kerx] Fix-up previous commit - - A "&" was missing. Go back to using pointers that are less error-prone. - - src/hb-aat-layout-kerx-table.hh | 18 +++++++++--------- - 1 file changed, 9 insertions(+), 9 deletions(-) - -commit 6d4b054234b4736ca9927268ee3e2d9a0f8f6ead -Author: Behdad Esfahbod -Date: Sat Oct 13 12:20:33 2018 -0400 - - [kerx] Use sanitizer instead of handcoded runtime sanitization - - src/hb-aat-layout-kerx-table.hh | 24 +++++++++--------------- - 1 file changed, 9 insertions(+), 15 deletions(-) - -commit 5733113662e668a25187e0042935d955e44fb488 -Author: Behdad Esfahbod -Date: Sat Oct 13 12:16:12 2018 -0400 - - [kerx] Wire up context down to get_kerning - - src/hb-aat-layout-kerx-table.hh | 32 ++++++++++++++------------------ - 1 file changed, 14 insertions(+), 18 deletions(-) - -commit c4502833b711a76cce1af0c5bf075692b965c991 -Author: Behdad Esfahbod -Date: Sat Oct 13 11:48:49 2018 -0400 - - [kerx] Use sanitizer.get_num_glyphs() instead of face->get_num_glyphs() - - src/hb-aat-layout-kerx-table.hh | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit fc45e698f2d8a6d577f33b1e69a83714aceae528 -Author: Behdad Esfahbod -Date: Sat Oct 13 11:39:12 2018 -0400 - - [kerx] Protext against overflows - - src/hb-aat-layout-kerx-table.hh | 8 +++++--- - 1 file changed, 5 insertions(+), 3 deletions(-) - -commit ed2ee78136c40de8e7b915dfdfd3ca92880912c3 -Author: Behdad Esfahbod -Date: Sat Oct 13 09:47:51 2018 -0400 - - [hangul] Fix use-after-free issue - - out_info might have moved since we copied it's position into local - info var. - - Fixes https://bugs.chromium.org/p/chromium/issues/detail?id=894937 - - src/hb-ot-shape-complex-hangul.cc | 16 +++++++++------- - 1 file changed, 9 insertions(+), 7 deletions(-) - -commit 63109432cf61333e01af4ef5163d4202bb43f84d -Author: Ebrahim Byagowi -Date: Sat Oct 13 14:00:05 2018 +0330 - - Cosmetic and minor changes - - src/hb-buffer-serialize.cc | 4 +- - src/hb-ot-cmap-table.hh | 4 +- - src/hb-ot-layout-common.hh | 4 +- - src/hb-ot-layout-gsubgpos.hh | 8 +-- - src/hb-ot-layout.cc | 127 +++++++++++++++++++------------------------ - src/hb-ot-layout.h | 25 +++++---- - src/hb-ot-math-table.hh | 8 +-- - src/hb-ot-name.h | 1 - - src/hb-ot-shape-complex.hh | 18 +++--- - 9 files changed, 93 insertions(+), 106 deletions(-) - -commit b64ef69b9e3d9cd4e81a2149cea3fe6e9e371cac -Author: Michiharu Ariza -Date: Fri Oct 12 14:14:21 2018 -0700 - - from encode_int removed assert hit by fuzzer - - clamp the value instead - - src/hb-subset-cff-common.hh | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -commit c0a6814b49e376984a0cae9d385a6f6ba8c73579 -Author: Behdad Esfahbod -Date: Fri Oct 12 16:05:56 2018 -0400 - - Touch up new API - - New API: - +hb_ot_layout_feature_get_name_ids() - +hb_ot_layout_feature_get_characters() - - src/hb-ot-layout.cc | 16 +++++++++------- - src/hb-ot-layout.h | 2 -- - test/api/test-ot-nameid.c | 16 ++++++++++------ - 3 files changed, 19 insertions(+), 15 deletions(-) - -commit 477bc9aafeaf89708d13a436869126351e2d9b50 -Author: Behdad Esfahbod -Date: Fri Oct 12 15:52:31 2018 -0400 - - Add hb-ot-name.h - - Actual name-fetching API to come later. - - New API: - hb_name_id_t - HB_NAME_ID_INVALID - - src/Makefile.sources | 1 + - src/hb-ot-layout-common.hh | 2 +- - src/hb-ot-layout.h | 12 ++--------- - src/hb-ot-name.h | 54 ++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-ot.h | 1 + - 5 files changed, 59 insertions(+), 11 deletions(-) - -commit dc49bd8d813571fe16d9e5342e4a3926ff947bd6 -Author: Ebrahim Byagowi -Date: Fri Oct 12 03:00:59 2018 +0330 - - Add two APIs for getting stylistic set labels - - * hb_ot_layout_feature_get_characters - * hb_ot_layout_feature_get_name_ids - - However HarfBuzz currently doesn't expose an API for retrieving the actual - information associated with NameId from the `name` table and that should be - done separately. - - docs/harfbuzz-sections.txt | 2 + - src/hb-ot-layout-common.hh | 14 +++++ - src/hb-ot-layout.cc | 133 +++++++++++++++++++++++++++++++++++++++++++++ - src/hb-ot-layout.h | 29 ++++++++++ - test/api/CMakeLists.txt | 2 + - test/api/Makefile.am | 1 + - test/api/fonts/cv01.otf | Bin 0 -> 1956 bytes - test/api/test-ot-nameid.c | 96 ++++++++++++++++++++++++++++++++ - 8 files changed, 277 insertions(+) - -commit e9f9c0d81c73d8b6d87700aadb5b886bd289769a -Author: Behdad Esfahbod -Date: Thu Oct 11 21:37:45 2018 -0400 - - [sanitize] Reorder condition to silence bogus gcc warning - - Was givin a dozen of: - - ../../src/hb-machinery.hh: In member function ‘bool AAT::ankr::sanitize(hb_sanitize_context_t*) const’: - ../../src/hb-machinery.hh:307:23: warning: missed loop optimization, the loop counter may overflow [-Wunsafe-loop-optimizations] - bool ok = --this->max_ops > 0 && - ~~~~~~~~~~~~~~~~~~~~~~ - this->start <= p && - ~~~~~~~~~~~~~~~~~~~ - p <= this->end && - ~~~~~~~~~~~~~~~^~ - (unsigned int) (this->end - p) >= len; - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - - I believe those are bogus, but this silences them and does not introduce - logic issues I believe. - - src/hb-machinery.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 1a6b5ac6c300ed2ccdcd8eadde433120f6e07f2a -Author: Behdad Esfahbod -Date: Thu Oct 11 21:22:49 2018 -0400 - - Add HB_DEPRECATED_FOR and mark relevant symbols - - src/hb-common.h | 8 ++++++++ - src/hb-deprecated.h | 10 +++++----- - src/hb-graphite2.h | 2 +- - 3 files changed, 14 insertions(+), 6 deletions(-) - -commit c9413d7bb575093411b39ac21974795b6ad91454 -Author: Behdad Esfahbod -Date: Thu Oct 11 21:19:39 2018 -0400 - - [graphite] Add HB_DEPRECATED annotation - - src/hb-graphite2.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 68c86af187ff645a1305ac3b64832f3bb2350519 -Author: Behdad Esfahbod -Date: Thu Oct 11 21:18:20 2018 -0400 - - Always compile deprecated symbols - - We haven't been keeping this updated. So, while we don't expose the - symbols in the headers if HB_DISABLE_DEPRECATED is defined, we still - always build them. - - src/hb-font.cc | 4 ---- - 1 file changed, 4 deletions(-) - -commit fc0153a1d4903a57b21974cc8d0b0a82d7bc43dc -Merge: 7d99a6cef c55100000 -Author: Michiharu Ariza -Date: Fri Oct 12 12:16:50 2018 -0700 - - Merge branch 'master' into cff-subset - -commit 7d99a6cef80ec178c10dcf0e848394614c5e6912 -Author: Michiharu Ariza -Date: Fri Oct 12 02:16:07 2018 -0700 - - overhauled error handling in CFF interpreter - - minimized "if (error) return false" idiom - - src/hb-cff-interp-common.hh | 138 +++++++++++++++++++++++---------------- - src/hb-cff-interp-cs-common.hh | 43 ++++++------ - src/hb-cff-interp-dict-common.hh | 72 +++++++++++--------- - src/hb-cff1-interp-cs.hh | 72 +++++++++++--------- - src/hb-cff2-interp-cs.hh | 50 +++++++------- - src/hb-ot-cff1-table.hh | 91 +++++++++++--------------- - src/hb-ot-cff2-table.hh | 71 +++++++++----------- - 7 files changed, 281 insertions(+), 256 deletions(-) - -commit c55100000bc20d7c8319cfc54294215a923ffc25 -Author: David Corbett -Date: Thu Oct 11 22:08:14 2018 -0400 - - Add missing colons to GObject annotations - - src/hb-ot-tag.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 1e816d62efe1b3540ef605092b97794e68ec0832 -Author: David Corbett -Date: Thu Oct 11 20:37:49 2018 -0400 - - Fix Indic script tags in Graphite - - src/hb-graphite2.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit bf8469be9a8932cc407b60daf4d494fef46e233b -Author: Behdad Esfahbod -Date: Thu Oct 11 20:45:00 2018 -0400 - - Attach CursivePositioning backwards, not forward - - This is how Uniscribe does it. So, adjust. This is only relevant - to fonts that apply cursive positioning from a contextual lookup. - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1181 - - src/hb-ot-layout-gpos-table.hh | 20 ++++++++++---------- - .../9fc3e6960b3520e5304033ef5fd540285f72f14d.ttf | Bin 0 -> 2380 bytes - .../data/in-house/tests/cursive-positioning.tests | 1 + - 3 files changed, 11 insertions(+), 10 deletions(-) - -commit bdb53ca24a5ad9671d8e29e17d1d8981505bd882 -Author: Behdad Esfahbod -Date: Thu Oct 11 20:20:00 2018 -0400 - - [myanmar] Implement Zawgyi shaper - - Enabled if script tag 'Qaag' is passed to HarfBuzz. Disables mark - advance-zeroing and fallback mark-positioning. - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1162 - - src/hb-ot-shape-complex-myanmar.cc | 22 +++++++++++++++++++++ - src/hb-ot-shape-complex.hh | 5 +++++ - src/hb.hh | 8 ++++++++ - test/shaping/data/in-house/Makefile.sources | 1 + - .../ab14b4eb9d7a67e293f51d30d719add06c9d6e06.ttf | Bin 0 -> 1792 bytes - .../data/in-house/tests/myanmar-zawgyi.tests | 1 + - 6 files changed, 37 insertions(+) - -commit 00c5c4a79dfb352a679a5c56bf9c756ab0fa98d2 -Author: Behdad Esfahbod -Date: Thu Oct 11 20:15:31 2018 -0400 - - [myanmar] Shuffle - - src/hb-ot-shape-complex-myanmar.cc | 33 +++++++++++++++++---------------- - 1 file changed, 17 insertions(+), 16 deletions(-) - -commit ec8f493bf9fefc33f027db24c4b175990b2d751c -Author: Behdad Esfahbod -Date: Thu Oct 11 20:15:00 2018 -0400 - - [graphite] Remove assert - - src/hb-graphite2.cc | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit 5646dcbd1125049c3af342fadfcfcbd523ce53d3 -Author: Behdad Esfahbod -Date: Thu Oct 11 19:39:07 2018 -0400 - - Minor - - src/hb-ot-tag.cc | 5 ++--- - 1 file changed, 2 insertions(+), 3 deletions(-) - -commit 788e1478557603d30966f12449eef0d0bd51c880 -Author: Behdad Esfahbod -Date: Thu Oct 11 19:24:52 2018 -0400 - - [test] Add test for USE indic3 - - test/shaping/data/in-house/Makefile.sources | 1 + - .../fonts/3c96e7a303c58475a8c750bf4289bbe73784f37d.ttf | Bin 0 -> 3364 bytes - test/shaping/data/in-house/tests/use-indic3.tests | 1 + - 3 files changed, 2 insertions(+) - -commit a11972787a2a90b541f92cc56bb885859390a0c0 -Author: Behdad Esfahbod -Date: Thu Oct 11 19:23:36 2018 -0400 - - Minor - - test/shaping/record-test.sh | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit 654365dc894326f04abaaba415f48ca5ba2d1286 -Author: Behdad Esfahbod -Date: Thu Oct 11 17:51:21 2018 -0400 - - Pass indic3 tags to USE shaper - - Fixes https://github.com/harfbuzz/harfbuzz/issues/539 - - src/hb-ot-shape-complex.hh | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -commit 28d091d045b042506a1ec2cdefe7cf0d718e8b22 -Author: David Corbett -Date: Thu Oct 11 17:15:22 2018 -0400 - - Parse Indic3 tags - - src/hb-ot-tag.cc | 11 ++++++++--- - test/api/test-ot-tag.c | 44 +++++++++++++++++++++++++------------------- - 2 files changed, 33 insertions(+), 22 deletions(-) - -commit 211cd3691ba01b1cb2eeb8a91ac3532181791a8a -Author: Behdad Esfahbod -Date: Thu Oct 11 17:31:29 2018 -0400 - - Remove remains of get-codepoint-fuzzer - - test/fuzzing/CMakeLists.txt | 7 +------ - test/fuzzing/run-subset-fuzzer-tests.py | 12 ------------ - 2 files changed, 1 insertion(+), 18 deletions(-) - -commit 120ed0272569e6a34172a511d4a5a70a3a18f1d2 -Author: Behdad Esfahbod -Date: Thu Oct 11 17:08:12 2018 -0400 - - [fuzzing] Fold get-codepoints-fuzzer into subset-fuzzer - - test/fuzzing/Makefile.am | 16 ---------------- - test/fuzzing/hb-subset-fuzzer.cc | 5 +++++ - test/fuzzing/hb-subset-get-codepoints-fuzzer.cc | 23 ----------------------- - 3 files changed, 5 insertions(+), 39 deletions(-) - -commit 2c824d3644e16643c2bbe85fb88f9fb6fed53ce7 -Author: Behdad Esfahbod -Date: Thu Oct 11 16:41:01 2018 -0400 - - [aat] Fix two wrongs that made a right before! - - Unfortunately our static asserts (DEFINE_SIZE_STATIC) don't actually - fail when used in templates, thanks to SFINAE. Le sighs. - - Probably fixes https://oss-fuzz.com/v2/testcase-detail/5740171484463104 - - src/hb-aat-layout-common.hh | 4 ++-- - src/hb-open-type.hh | 2 +- - 2 files changed, 3 insertions(+), 3 deletions(-) - -commit e940530c9723c3a581a5d5b31e5f419865dd6cc7 -Author: Behdad Esfahbod -Date: Thu Oct 11 15:56:17 2018 -0400 - - [aat] Fix mul overflow - - Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=10897 - - src/hb-aat-layout-common.hh | 11 ++++++++--- - 1 file changed, 8 insertions(+), 3 deletions(-) - -commit 1d995a340b9e17fc8dca7a3e88e0918de2d8f02c -Author: Behdad Esfahbod -Date: Thu Oct 11 15:42:54 2018 -0400 - - Minor - - test/api/hb-subset-test.h | 6 ++---- - test/api/test-multithread.c | 5 +---- - test/fuzzing/main.cc | 2 +- - 3 files changed, 4 insertions(+), 9 deletions(-) - -commit 0744a02cb12e4d800abb611dfa5d268bb2dfd9f3 -Author: Behdad Esfahbod -Date: Thu Oct 11 15:14:18 2018 -0400 - - [arabic] Update to latest UTR#53 - - From Lorna Evans: "That was a new character added to Unicode 11.0" - - src/hb-ot-shape-complex-arabic.cc | 1 + - 1 file changed, 1 insertion(+) - -commit 57b05210b1a8968d18ccbbe70879b2e11b6a09f2 -Author: Behdad Esfahbod -Date: Thu Oct 11 15:03:21 2018 -0400 - - [test] Fix use of deprecated symbols - - test/api/test-ot-tag.c | 60 ++++++++++++++++++++++++++++++++++++++------------ - 1 file changed, 46 insertions(+), 14 deletions(-) - -commit ca37172ee3908bac12cc3d97768b95ae571530d2 -Author: Michiharu Ariza -Date: Thu Oct 11 11:55:55 2018 -0700 - - fixed leak - - test/api/test-ot-extents-cff.c | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit 4f9e36e8cf5d9d3d3e5a1ed46149355ee5f5e9fb -Author: Behdad Esfahbod -Date: Thu Oct 11 14:32:59 2018 -0400 - - [graphite] Remove deprecated symbol use - - src/hb-graphite2.cc | 10 ++++++++-- - 1 file changed, 8 insertions(+), 2 deletions(-) - -commit da591f2a9d2ae2a5878d3b2ef78a6d589b19aab0 -Author: Behdad Esfahbod -Date: Thu Oct 11 14:30:15 2018 -0400 - - Whitespace - - src/hb-ot-tag.cc | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit 4d205f0462b19f371df495b9cc12c0128f507de9 -Author: Behdad Esfahbod -Date: Thu Oct 11 14:25:48 2018 -0400 - - [graphite] Fix deva/dev2 resolution - - See https://github.com/harfbuzz/harfbuzz/pull/730#issuecomment-428277800 - - src/hb-graphite2.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 8061664ad1a5933098adc3bc1dca0b5be48586ef -Author: Behdad Esfahbod -Date: Thu Oct 11 14:16:55 2018 -0400 - - Add doc stubs for recently added API - - Thanks to David Corbett who revamped our script and language processing - and implemented full BCP 47 support. - - https://github.com/harfbuzz/harfbuzz/pull/730 - - New API: - +hb_ot_layout_table_select_script() - +hb_ot_layout_script_select_language() - +HB_OT_MAX_TAGS_PER_SCRIPT - +HB_OT_MAX_TAGS_PER_LANGUAGE - +hb_ot_tags_from_script_and_language() - +hb_ot_tags_to_script_and_language() - - Deprecated API: - -hb_ot_layout_table_choose_script() - -hb_ot_layout_script_find_language() - -hb_ot_tags_from_script() - -hb_ot_tag_from_language() - - src/hb-ot-layout.cc | 10 ++++++++++ - src/hb-ot-tag.cc | 21 ++++++++++++++++----- - src/hb-ot-tag.h | 10 ++++++++++ - src/hb-unicode.h | 2 +- - 4 files changed, 37 insertions(+), 6 deletions(-) - -commit cf975ac653bff369f4ed7ba7fc04fae6ce2cec95 -Author: Behdad Esfahbod -Date: Thu Oct 11 14:07:44 2018 -0400 - - Remove use of deprecated function - - src/hb-ot-layout.cc | 23 ++++++++++++----------- - src/hb-ot-layout.h | 12 ++++++------ - 2 files changed, 18 insertions(+), 17 deletions(-) - -commit 66790d64c7120b75c72bf91c769dc52d95858909 -Author: David Corbett -Date: Mon Sep 10 13:15:00 2018 -0400 - - Increase HB_OT_MAX_TAGS_PER_SCRIPT to 3 - - No script has 3 tags yet, but the plan is for the Indic scripts to each - get a third tag someday. - - src/hb-ot-tag.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit bca7a16938609539e4adb5cdf943734b7dfa1561 -Author: David Corbett -Date: Mon Sep 10 12:05:51 2018 -0400 - - Update language system tag registry to OT 1.8.3 - - src/gen-tag-table.py | 10 +++++++++- - src/hb-ot-tag-table.hh | 44 +++++++++++++++++++++++++++++++++----------- - 2 files changed, 42 insertions(+), 12 deletions(-) - -commit 7f1fbfe2e312f397db9271dd17a8e701489ffc79 -Author: David Corbett -Date: Mon Jul 23 21:19:23 2018 -0400 - - Add hb_ot_tags_to_script_and_language - - docs/harfbuzz-sections.txt | 3 +- - src/hb-ot-map.cc | 2 +- - src/hb-ot-tag.cc | 75 ++++++++++++++++++++++++++++++++++++++++------ - src/hb-ot-tag.h | 18 +++++++---- - test/api/test-ot-tag.c | 33 ++++++++++++++++++-- - 5 files changed, 112 insertions(+), 19 deletions(-) - -commit 3f8877473fb4c72a6f3edfcfc927b9993a5f3616 -Author: David Corbett -Date: Thu Jul 19 13:48:07 2018 -0400 - - Switch on the first char of a complex language tag - - This results in a tenfold speed-up for the common case of tags that are - not complex, in the sense of `hb_ot_tags_from_complex_language`. - - src/gen-tag-table.py | 171 ++++-- - src/hb-ot-tag-table.hh | 1580 ++++++++++++++++++++++++------------------------ - 2 files changed, 922 insertions(+), 829 deletions(-) - -commit a754d44195021603306af2a296d06187eda95409 -Author: David Corbett -Date: Mon Jul 16 21:14:48 2018 -0400 - - Map Quechua languages to closest ones with tags - - OpenType only officially maps four ISO 639 codes to Quechua languages, - but prior versions of HarfBuzz also mapped qu to 'QUZ '. Because qu is a - macrolanguage, the mapping now applies to all individual Quechua - languages. OpenType calls 'QUZ ' "Quechua", but it really corresponds to - Cusco Quechua, so the individual Quechua languages should not all - necessarily be mapped to it. - - src/gen-tag-table.py | 32 ++++++++++++++++++++++++++ - src/hb-ot-tag-table.hh | 62 +++++++++++++++++++++++++++----------------------- - 2 files changed, 65 insertions(+), 29 deletions(-) - -commit 65d01f77552a5102ee114d9917fd2ecf091a35c3 -Author: David Corbett -Date: Thu Jan 18 16:33:39 2018 -0500 - - Test deprecated tag fallback in a font - - The font supports the deprecated tag 'DHV ' instead of 'DIV '. dv is - mapped to 'DIV ' and 'DHV ', in that order. The test specifies - `--language=dv`, demonstrating that if a font does not support the first - OpenType tag mapped to a BCP 47 tag, it will fall back to the next tag. - - .../fonts/d3129450fafe5e5c98cfc25a4e71809b1b4d2855.ttf | Bin 0 -> 956 bytes - test/shaping/data/in-house/tests/language-tags.tests | 1 + - 2 files changed, 1 insertion(+) - -commit 7c7cb2a98907d99ca86bdbfca0bf9c48bfa4ed49 -Author: David Corbett -Date: Sat Jan 20 15:53:09 2018 -0500 - - Match extlang subtags - - If the second subtag of a BCP 47 tag is three letters long, it denotes - an extended language. The tag converter ignores the language subtag and - uses the extended language instead. - - There are some grandfathered exceptions, which are handled earlier. - - src/gen-tag-table.py | 2 +- - src/hb-ot-tag-table.hh | 21 +++++++++++++++++++++ - src/hb-ot-tag.cc | 10 +++++++++- - test/api/test-ot-tag.c | 7 +++++++ - 4 files changed, 38 insertions(+), 2 deletions(-) - -commit 2f1f961cc0f0f907916b4b00342d8a2dda8b4ee1 -Author: David Corbett -Date: Fri Dec 8 22:45:52 2017 -0500 - - Autogenerate the BCP 47 to OpenType mappings - - The new script, gen-tag-table.py, generates `ot_languages` automatically - from the [OpenType language system tag registry][ot] and the [IANA - Language Subtag Registry][bcp47] with some manual modifications. If an - OpenType tag maps to a BCP 47 macrolanguage, all the macrolanguage's - individual languages are mapped to the same OpenType tag, except for - individual languages with their own OpenType mappings. Deprecated - BCP 47 tags are canonicalized. - - [ot]: https://docs.microsoft.com/en-us/typography/opentype/spec/languagetags - [bcp47]: https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry - - Some OpenType tags correspond to multiple ISO 639 codes. The mapping - from ISO 639 codes lists OpenType tags in priority order, such that more - specific or more likely tags appear first. - - Some OpenType tags have no corresponding ISO 639 code in the registry so - their mappings use BCP 47 subtags besides the language. For example, any - BCP 47 tag with a fonipa variant subtag is mapped to 'IPPH', and 'IPPH' - is mapped back to und-fonipa. - - Other OpenType tags have no corresponding ISO 639 code because it is not - clear what they are for. HarfBuzz just ignores these tags. - - One such ignored tag is 'ZHP ' (Chinese Phonetic). It probably means - zh-Latn. However, it is used in Microsoft JhengHei and Microsoft YaHei - with the script tag 'hani', implying that it is not a romanization - scheme after all. It would be simple enough to add this mapping to - gen-tag-table.py once a definitive mapping is determined. - - The manual modifications are mainly either obvious mappings that the - OpenType registry omits or mappings for compatibility with previous - versions of HarfBuzz. Some of the old mappings were discarded, though, - for homophonous language names. For example, OpenType maps 'KUI ' to - kxu; previous versions of HarfBuzz also mapped it to kvd, because kvd - and kxu both happen to be called "Kui". - - gen-tag-table.py also generates a function to convert multi-subtag tags - like el-polyton and zh-HK to OpenType tags, replacing `ot_languages_zh` - and the hard-coded list of special cases in `hb_ot_tags_from_language`. - It also generates a function to convert OpenType tags to BCP 47, - replacing the hard-coded list of special cases in - `hb_ot_tag_to_language`. - - src/Makefile.am | 9 +- - src/Makefile.sources | 1 + - src/gen-tag-table.py | 1013 ++++++++++++++++++++++++ - src/hb-ot-tag-table.hh | 1997 ++++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-ot-tag.cc | 842 +------------------- - src/hb-ot-tag.h | 2 +- - test/api/test-ot-tag.c | 66 +- - 7 files changed, 3092 insertions(+), 838 deletions(-) - -commit 2c7d4db7af16e228bb30eddf7334a524b74ae26c -Author: David Corbett -Date: Fri Dec 29 20:19:05 2017 +0800 - - Deprecate obsolete functions - - `hb_ot_tags` replaces `hb_ot_tags_from_script` and - `hb_ot_tag_from_language`. - - `hb_ot_layout_table_select_script` replaces - `hb_ot_layout_table_choose_script`. - - `hb_ot_layout_script_select_language` replaces - `hb_ot_layout_script_find_language`. - - docs/harfbuzz-sections.txt | 8 ++++---- - src/hb-deprecated.h | 23 +++++++++++++++++++++++ - src/hb-ot-layout.h | 15 --------------- - src/hb-ot-tag.h | 8 -------- - 4 files changed, 27 insertions(+), 27 deletions(-) - -commit 91067716f5e7b15d9a642f69019246c83fc7c108 -Author: David Corbett -Date: Fri Dec 8 11:21:14 2017 -0500 - - Refactor the selection of script and language tags - - The old hb-ot-tag.cc functions, `hb_ot_tags_from_script` and - `hb_ot_tag_from_language`, are now wrappers around a new function: - `hb_ot_tags`. It converts a script and a language to arrays of script - tags and language tags. This will make it easier to add new script tags - to scripts, like 'dev3'. It also allows for language fallback chains; - nothing produces more than one language yet though. - - Where the old functions return the default tags 'DFLT' and 'dflt', - `hb_ot_tags` returns an empty array. The caller is responsible for - using the default tag in that case. - - The new function also adds a new private use subtag syntax for script - overrides: "x-hbscabcd" requests a script tag of 'abcd'. - - The old hb-ot-layout.cc functions,`hb_ot_layout_table_choose_script` and - `hb_ot_layout_script_find_language` are now wrappers around the new - functions `hb_ot_layout_table_select_script` and - `hb_ot_layout_script_select_language`. They are essentially the same as - the old ones plus a tag count parameter. - - Closes #495. - - docs/harfbuzz-sections.txt | 5 + - src/hb-ot-layout.cc | 43 +- - src/hb-ot-layout.h | 16 + - src/hb-ot-map.cc | 13 +- - src/hb-ot-tag.cc | 1639 ++++++++++++++++++++++++-------------------- - src/hb-ot-tag.h | 11 + - test/api/test-ot-tag.c | 107 +++ - 7 files changed, 1070 insertions(+), 764 deletions(-) - -commit a03f5f4dfbbf885db567c3909241a55eb5869fce -Author: David Corbett -Date: Thu Dec 28 22:59:29 2017 +0800 - - Replace "ISO 639" with "BCP 47" - - `hb_language_from_string` accepts not only ISO 639 but also BCP 47. Not - all ISO 639 codes are valid BCP 47 tags but the function does not accept - overlong language subtags anyway. - - src/hb-buffer.cc | 2 +- - src/hb-common.cc | 6 +++--- - 2 files changed, 4 insertions(+), 4 deletions(-) - -commit ce6639cd27f79856466a5e8abf58f544f069e25d -Merge: a6b6faf2b 0b9d60e1a -Author: Michiharu Ariza -Date: Thu Oct 11 10:53:48 2018 -0700 - - Merge branch 'master' into cff-subset - -commit a6b6faf2b87f113fb23cf8e040f8b7875e2daf80 -Author: Michiharu Ariza -Date: Thu Oct 11 10:53:44 2018 -0700 - - Replaced CFF1 J subset font for better coverage - - in api test-ot-extents-cff - - test/api/fonts/SourceHanSans-Regular.41,3041,4C2E.otf | Bin 0 -> 3892 bytes - test/api/fonts/SourceHanSans-Regular.41,3041,4E9D.otf | Bin 5864 -> 0 bytes - test/api/fonts/SourceHanSans-Regular.41,4C2E.otf | Bin 0 -> 2548 bytes - test/api/fonts/SourceHanSans-Regular.41,4E9D.otf | Bin 5500 -> 0 bytes - test/api/test-ot-extents-cff.c | 15 +++++++++++++++ - test/api/test-subset-cff1.c | 18 +++++++++--------- - 6 files changed, 24 insertions(+), 9 deletions(-) - -commit 0b9d60e1a1c4b7867ac907bbd7c004191a14e697 -Author: Behdad Esfahbod -Date: Thu Oct 11 13:26:58 2018 -0400 - - [aat] Apply kerx if GPOS kern was not applied - - Ned tells me this is what Apple does. - - src/hb-ot-shape.cc | 18 ++++++++---------- - 1 file changed, 8 insertions(+), 10 deletions(-) - -commit b59a428af08d6451a47f40ed01e594815ebf6303 -Author: Behdad Esfahbod -Date: Thu Oct 11 13:24:17 2018 -0400 - - Minor - - src/hb-ot-shape.cc | 6 +++++- - src/hb-ot-shape.hh | 5 +++-- - 2 files changed, 8 insertions(+), 3 deletions(-) - -commit 100e95f48e3d137c654d206e858d6419ea62a12c -Author: Behdad Esfahbod -Date: Thu Oct 11 11:30:45 2018 -0400 - - [trak] Add tests - - test/shaping/data/in-house/Makefile.sources | 1 + - test/shaping/data/in-house/fonts/TestTRAK.ttf | Bin 0 -> 2456 bytes - test/shaping/data/in-house/tests/aat-trak.tests | 8 ++++++++ - 3 files changed, 9 insertions(+) - -commit 04f72e8990ea61ffc6b62105c75e0a3e1b1ebab4 -Author: Behdad Esfahbod -Date: Thu Oct 11 11:25:07 2018 -0400 - - [trak] Implement extrapolation - - This concludes trak, as well as AAT shaping support! - - src/hb-aat-layout-trak-table.hh | 39 ++++++++++++++++++++------------------- - 1 file changed, 20 insertions(+), 19 deletions(-) - -commit d6a12dba6da6262fd9e5d8397b46ac8516136cae -Author: Behdad Esfahbod -Date: Thu Oct 11 11:10:06 2018 -0400 - - [trak] Fix, and hook up - - Works beautifully! Test coming. - - src/hb-aat-layout-common.hh | 4 ++-- - src/hb-aat-layout-trak-table.hh | 6 ++++-- - src/hb-aat-layout.cc | 25 ++++++++++++++++++++++++- - src/hb-aat-layout.hh | 8 ++++++++ - src/hb-ot-shape.cc | 2 ++ - 5 files changed, 40 insertions(+), 5 deletions(-) - -commit 3d7dea6dfdc9e75dcca100a79525aa3736dbe29c -Author: Behdad Esfahbod -Date: Thu Oct 11 10:32:08 2018 -0400 - - [trak] Handle nSizes=0 and 1 - - src/hb-aat-layout-trak-table.hh | 11 ++++++++++- - 1 file changed, 10 insertions(+), 1 deletion(-) - -commit 451f3de521ff1b7f4d3b8ebb2cc0b95d88c9314a -Author: Behdad Esfahbod -Date: Thu Oct 11 10:30:32 2018 -0400 - - [trak] Fix counting - - src/hb-aat-layout-trak-table.hh | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit a5be380cae9b49ed85c8620f1921209ef61a72ad -Author: Behdad Esfahbod -Date: Thu Oct 11 10:29:02 2018 -0400 - - [trak] More - - src/hb-aat-layout-trak-table.hh | 26 +++++++++++++++++--------- - 1 file changed, 17 insertions(+), 9 deletions(-) - -commit d06c4a867f0d383d8c27f2957e646d9e3fe6853b -Author: Behdad Esfahbod -Date: Thu Oct 11 10:22:01 2018 -0400 - - [trak] Only adjust around first glyph - - Assumes graphemes only have one base glyph. - - src/hb-aat-layout-trak-table.hh | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - -commit 071a2cbcddcbafae9458e674c21db5001b39518d -Author: Behdad Esfahbod -Date: Thu Oct 11 10:18:46 2018 -0400 - - [trak] Clean up - - src/hb-aat-layout-trak-table.hh | 67 +++++++++++++++++++++++------------------ - 1 file changed, 37 insertions(+), 30 deletions(-) - -commit fbbd926dba163d9a2a6a62f380951f03363c2b14 -Author: Behdad Esfahbod -Date: Thu Oct 11 01:22:29 2018 -0400 - - [kerx] Implement Format4 action_type=1 contour-point-based attachment - - Untested. - - This concludes kerx table support! - - src/hb-aat-layout-kerx-table.hh | 17 ++++++++++++++++- - 1 file changed, 16 insertions(+), 1 deletion(-) - -commit b6bc0d4ff62e4509643db3b304306a72bbcb2c38 -Author: Behdad Esfahbod -Date: Thu Oct 11 01:17:57 2018 -0400 - - [kerx] Implement Format4 action_type=2 coordinate-based attachment - - Untested. - - src/hb-aat-layout-kerx-table.hh | 21 ++++++++++++--------- - 1 file changed, 12 insertions(+), 9 deletions(-) - -commit 1622ba5943d14b2d50d45dc17fb723f4c9ddb0bb -Author: Behdad Esfahbod -Date: Thu Oct 11 01:14:18 2018 -0400 - - [kerx] Implement Format4 'ankr'-based mark attachment - - Tested with Kannada MN: - - $ HB_OPTIONS=aat ./hb-shape Kannada\ MN.ttc -u 0CCD,0C95,0CD6 - [kn_ka.vattu=0+230|kn_ai_length_mark=1@326,0+607] - - src/hb-aat-layout-common.hh | 8 ++++++-- - src/hb-aat-layout-kerx-table.hh | 20 +++++++++++++++++--- - src/hb-aat-layout.cc | 20 ++++++++++++++++---- - src/hb-ot-layout-gpos-table.hh | 4 ---- - 4 files changed, 39 insertions(+), 13 deletions(-) - -commit 7bb4da7d9538f3d4b1d28030d43e0c3d720d821b -Author: Behdad Esfahbod -Date: Thu Oct 11 00:52:07 2018 -0400 - - [aat] Wire up 'ankr' table to apply context - - src/hb-aat-layout-common.hh | 7 +++++-- - src/hb-aat-layout.cc | 8 +++++++- - 2 files changed, 12 insertions(+), 3 deletions(-) - -commit 28f0367aab648c486d6e8d0e13dbbb2af1b65dcc -Author: Behdad Esfahbod -Date: Thu Oct 11 00:12:49 2018 -0400 - - [kerx] Flesh out Format4 - - Doesn't apply actions yet. - - src/hb-aat-layout-kerx-table.hh | 122 ++++++++++++++++++++++++++++++++++++++-- - 1 file changed, 118 insertions(+), 4 deletions(-) - -commit 947962a287d9aca2cb509c11f44cb5150aa6daf1 -Author: Behdad Esfahbod -Date: Wed Oct 10 23:07:03 2018 -0400 - - [ankr] Implement table access - - src/hb-aat-layout-ankr-table.hh | 16 ++++++++++++++++ - 1 file changed, 16 insertions(+) - -commit 7281cb3eeb00091c6e6085895afd4a38a0516f35 -Author: Behdad Esfahbod -Date: Wed Oct 10 22:56:52 2018 -0400 - - [ankr] Start fixing - - src/hb-aat-layout-ankr-table.hh | 9 ++++----- - 1 file changed, 4 insertions(+), 5 deletions(-) - -commit 34caadc5c78e3d09faf11ef60bfade8f64f55de2 -Author: Behdad Esfahbod -Date: Wed Oct 10 22:17:07 2018 -0400 - - Ugh. Re-enable accidentally disabled GPOS - - src/hb-ot-shape.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit f7c45bc33ec1559c960a039b770d5c37bd82f057 -Author: Behdad Esfahbod -Date: Wed Oct 10 22:15:13 2018 -0400 - - [kerx] Allow granularly disabling kerning - - src/hb-aat-layout-kerx-table.hh | 14 +++++++++----- - 1 file changed, 9 insertions(+), 5 deletions(-) - -commit 2b72c4b63d29eea39b646c8a1a1cfc2db732e1a6 -Author: Behdad Esfahbod -Date: Wed Oct 10 21:53:14 2018 -0400 - - [kerx] Comment - - src/hb-aat-layout-kerx-table.hh | 3 +++ - 1 file changed, 3 insertions(+) - -commit 9f450f07b0a1593962e3b45d00f2cf93916f3466 -Author: Behdad Esfahbod -Date: Wed Oct 10 21:46:58 2018 -0400 - - [kerx] Make Format1 work - - Tested using Kannada MN: - - $ HB_OPTIONS=aat ./hb-shape Kannada\ MN.ttc -u 0C95,0CCd,C95,CCD - [kn_ka.virama=0+1299|kn_ka.vattu=0+115|_blank=0@-115,0+385] - - $ HB_OPTIONS=aat ./hb-shape Kannada\ MN.ttc -u 0C95,0CCd,C95,CCD --features=-kern - [kn_ka.virama=0+1799|kn_ka.vattu=0+230|_blank=0+0] - - I don't see the GPOS table in the font do the same. ¯\_(ツ)_/¯ - - src/hb-aat-layout-kerx-table.hh | 15 ++++++++++----- - 1 file changed, 10 insertions(+), 5 deletions(-) - -commit b5aa5dbb1158a5dfba29f7b119df9b4b319e8489 -Merge: af61c3b10 ab1f30bd0 -Author: Michiharu Ariza -Date: Wed Oct 10 18:36:35 2018 -0700 - - Merge branch 'master' into cff-subset - -commit af61c3b10f83a00b4862cc0cb92fc9f0856e7dd6 -Author: Michiharu Ariza -Date: Wed Oct 10 18:35:12 2018 -0700 - - added vsindex test & fixed process_vsindex - - src/hb-cff2-interp-cs.hh | 12 +++++----- - test/api/fonts/AdobeVFPrototype_vsindex.otf | Bin 0 -> 7036 bytes - test/api/test-ot-extents-cff.c | 33 ++++++++++++++++++++++++++++ - 3 files changed, 40 insertions(+), 5 deletions(-) - -commit 504cb68fc972c7f606bf9fc62015376382f78f45 -Author: Behdad Esfahbod -Date: Wed Oct 10 21:29:46 2018 -0400 - - Disable mark advance zeroing as well as mark fallback positioning if doing kerx - - src/hb-ot-shape.cc | 50 ++++++++++++++++++++++++++------------------------ - 1 file changed, 26 insertions(+), 24 deletions(-) - -commit 84967537966a76297c89460d95e7336f1bfc332d -Author: Behdad Esfahbod -Date: Wed Oct 10 21:18:37 2018 -0400 - - [kerx] Implement Format1 - - Untested. - - src/hb-aat-layout-kerx-table.hh | 62 +++++++++++++++++++++++++++++++++-------- - src/hb-aat-layout-morx-table.hh | 2 +- - 2 files changed, 52 insertions(+), 12 deletions(-) - -commit c9165f5450b99e6d93e2a168b198384a221eef58 -Author: Behdad Esfahbod -Date: Wed Oct 10 20:43:21 2018 -0400 - - [kerx] More UnsizedArrayOf<> - - src/hb-aat-layout-kerx-table.hh | 18 +++++++++--------- - 1 file changed, 9 insertions(+), 9 deletions(-) - -commit ca54eba4846d0afda4601929556617a7ebe51714 -Author: Behdad Esfahbod -Date: Wed Oct 10 20:41:16 2018 -0400 - - [kerx] Fix bound-checking error introduced a couple commits past - - src/hb-aat-layout-kerx-table.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 339036dd970625e03696b4533ced1e25fc4fd131 -Author: Behdad Esfahbod -Date: Wed Oct 10 20:37:22 2018 -0400 - - [kerx] Start fleshing out Format1 - - src/hb-aat-layout-kerx-table.hh | 59 +++++++++++++++++++++++++++++++++++------ - src/hb-aat-layout-morx-table.hh | 2 +- - 2 files changed, 52 insertions(+), 9 deletions(-) - -commit ab1f30bd059f1d2270793e9726b60666b328d2b8 -Author: Behdad Esfahbod -Date: Wed Oct 10 20:10:20 2018 -0400 - - [kerx] Implement Format6 - - Untested. The only Apple font shipping with this format is San Francisco fonts - that use this for their kerx variation tables, which we don't support. - - src/hb-aat-layout-kerx-table.hh | 73 +++++++++++++++++++++++++++++++++-------- - 1 file changed, 60 insertions(+), 13 deletions(-) - -commit c9a2ce9e05f91730a2150b9214dc6a49f31555c1 -Author: Behdad Esfahbod -Date: Wed Oct 10 20:00:44 2018 -0400 - - [kerx] Move bounds-checking to subtable length itself - - src/hb-aat-layout-kerx-table.hh | 12 +++++------- - 1 file changed, 5 insertions(+), 7 deletions(-) - -commit 22955b23cdeb48e46cdffd0eb906a855a420c4d1 -Author: Behdad Esfahbod -Date: Wed Oct 10 19:58:20 2018 -0400 - - [kerx] Start fleshing out Format6 - - src/hb-aat-layout-kerx-table.hh | 42 ++++++++++++++++++++++++++++++++--------- - src/hb-open-type.hh | 3 +++ - 2 files changed, 36 insertions(+), 9 deletions(-) - -commit f6aaad9b4ffb42e6cd8398f6439fe420e393c8f6 -Author: Behdad Esfahbod -Date: Wed Oct 10 19:20:06 2018 -0400 - - [kerx] When rejecting variable kerning, also check for tupleCount - - src/hb-aat-layout-kerx-table.hh | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 7ed5366d3cfca9c533250cb419e8cc878f32505d -Author: Behdad Esfahbod -Date: Wed Oct 10 19:11:30 2018 -0400 - - [kerx] No-op - - Tested that Format0 works with Kannada MN font: - - $ make -j5 lib -s && HB_OPTIONS=aat ./hb-shape Kannada\ MN.ttc -u 0C95,0CC2 - [kn_ka=0+1000|kn_matra_uu=0@-30,0+1345] - - $ make -j5 lib -s && HB_OPTIONS=aat ./hb-shape Kannada\ MN.ttc -u 0C95,0CC2 --features=-kern - [kn_ka=0+1030|kn_matra_uu=0+1375] - - Note that GPOS does the same with 'dist' feature, and applies the whole difference to the - same glyph: - - $ make -j5 lib -s && ./hb-shape Kannada\ MN.ttc -u 0C95,0CC2 - [kn_ka=0+970|kn_matra_uu=0+1375] - - $ make -j5 lib -s && ./hb-shape Kannada\ MN.ttc -u 0C95,0CC2 --features=-dist - [kn_ka=0+1030|kn_matra_uu=0+1375] - - src/hb-aat-layout-kerx-table.hh | 4 +--- - 1 file changed, 1 insertion(+), 3 deletions(-) - -commit 7fa69e92ca3dd9d8fa92aba0e01098165d2b7975 -Author: Behdad Esfahbod -Date: Wed Oct 10 19:02:32 2018 -0400 - - Comment - - src/hb-machinery.hh | 7 +++++++ - 1 file changed, 7 insertions(+) - -commit 7e6e5bf6147596d6d096e2ba37f3a6eefd7429cd -Author: Behdad Esfahbod -Date: Wed Oct 10 18:59:07 2018 -0400 - - Fix option string matching - - src/hb-common.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 5d34164d98f04816aafaa0abfc44cd899c7d70b3 -Author: Behdad Esfahbod -Date: Wed Oct 10 18:14:41 2018 -0400 - - [kern/kerx] Fix offset base - - Disable kern Format2. - - Fix kerx Format2. Manually tested this with Tamil MN font and it works: - - $ HB_OPTIONS=aat ./hb-shape Tamil\ MN.ttc -u 0B94,0B95 - [tgv_au=0+3435|tgc_ka=1@-75,0+1517] - - HB_OPTIONS=aat ./hb-shape Tamil\ MN.ttc -u 0B94,0B95 --features=-kern - [tgv_au=0+3510|tgc_ka=1+1592] - - src/hb-aat-layout-kerx-table.hh | 73 +++++++++++++++++++++++++---------------- - src/hb-ot-kern-table.hh | 7 ++++ - 2 files changed, 52 insertions(+), 28 deletions(-) - -commit 60f86d32d7c735ccf783b382e18ecdc096eaa682 -Author: Behdad Esfahbod -Date: Wed Oct 10 18:10:05 2018 -0400 - - [kerx] Don't loop over kerning subtables if kerning disabled - - src/hb-aat-layout-kerx-table.hh | 12 ++++++++++++ - src/hb-ot-shape.cc | 4 ++-- - src/hb-ot-shape.hh | 1 + - 3 files changed, 15 insertions(+), 2 deletions(-) - -commit 38a7a8a89ed035a1d1fc34a675a1860ad660b6ff -Author: Behdad Esfahbod -Date: Wed Oct 10 17:44:46 2018 -0400 - - Allow HB_OPTIONS=aat to prefer AAT tables over OT - - Fixes https://github.com/harfbuzz/harfbuzz/issues/322 - - src/hb-common.cc | 23 +++++++++++++++++++++-- - src/hb-debug.hh | 7 ++++--- - src/hb-ot-shape.cc | 24 ++++++++++++++++-------- - 3 files changed, 41 insertions(+), 13 deletions(-) - -commit 44f09afd5bd4f4f1ea47ca54ac9d605219b06910 -Author: Behdad Esfahbod -Date: Wed Oct 10 17:32:32 2018 -0400 - - [kerx] Skip variation subtables - - src/hb-aat-layout-kerx-table.hh | 14 +++++++------- - 1 file changed, 7 insertions(+), 7 deletions(-) - -commit 1e8fdd285f90b7b715b6d9ca9222a3c91cbea6b8 -Author: Behdad Esfahbod -Date: Wed Oct 10 16:32:35 2018 -0400 - - Remove HAVE_OT - - We never tested compiling without it. Just kill it. We always build - our own shaper. - - CMakeLists.txt | 1 - - configure.ac | 6 ------ - src/Makefile.am | 2 -- - src/hb-shaper-list.hh | 2 -- - src/hb.hh | 2 -- - test/api/Makefile.am | 4 +--- - test/api/test-c.c | 5 +---- - util/Makefile.am | 4 ---- - util/options.cc | 4 ---- - util/options.hh | 2 -- - 10 files changed, 2 insertions(+), 30 deletions(-) - -commit 7727e737566ddc826647e19fc645b296ad5a0cac -Author: Behdad Esfahbod -Date: Wed Oct 10 13:24:51 2018 -0400 - - [kerx] Actually hook up, and fix crash - - src/hb-aat-layout-common.hh | 6 ++++++ - src/hb-aat-layout-kerx-table.hh | 4 ++-- - src/hb-ot-shape.cc | 4 ++-- - 3 files changed, 10 insertions(+), 4 deletions(-) - -commit b3390990f508def9c375716614b92fc7b0038228 -Author: Behdad Esfahbod -Date: Wed Oct 10 12:07:49 2018 -0400 - - Add per-subtable set-digests - - This speeds up Roboto shaping by ~10%. I was hoping for more. - Still, good defense against lookups with many subtables. - - src/hb-null.hh | 2 +- - src/hb-ot-layout-gsubgpos.hh | 108 +++++++++++++++++++++++-------------------- - 2 files changed, 59 insertions(+), 51 deletions(-) - -commit e78549edfb4df617128a5f5ddd12692f1d0af4bf -Author: Behdad Esfahbod -Date: Wed Oct 10 11:54:48 2018 -0400 - - Move apply down into subtables accel - - src/hb-ot-layout-gsubgpos.hh | 10 +++++++++- - src/hb-ot-layout.cc | 17 +++-------------- - 2 files changed, 12 insertions(+), 15 deletions(-) - -commit 78c09bf21335a0f2b538b37de6647af08e3b1161 -Author: Behdad Esfahbod -Date: Wed Oct 10 11:50:46 2018 -0400 - - Move subtable array into lookup accel - - src/hb-null.hh | 2 +- - src/hb-ot-layout-gsubgpos.hh | 14 +++++++++++--- - src/hb-ot-layout.cc | 16 ++++++---------- - 3 files changed, 18 insertions(+), 14 deletions(-) - -commit 97e5913d5ac2cd313fb3923e9602358d7f75f11d -Author: Behdad Esfahbod -Date: Wed Oct 10 11:41:05 2018 -0400 - - Move more code - - src/hb-ot-layout-gsubgpos.hh | 17 +++++++++++++++++ - src/hb-ot-layout.cc | 12 ++++++------ - src/hb-ot-layout.hh | 20 ++------------------ - src/hb-ot-shape-complex-arabic-fallback.hh | 2 +- - 4 files changed, 26 insertions(+), 25 deletions(-) - -commit c8f2d9334c0f91ec30f1c7821eb44bb5149bd31c -Author: Behdad Esfahbod -Date: Wed Oct 10 11:36:28 2018 -0400 - - Move code - - In preparation to move add per-subtable set digests... - - src/hb-ot-layout-gsubgpos.hh | 50 ++++++++++++++++++++++++++++++++++++++ - src/hb-ot-layout.cc | 57 ++++---------------------------------------- - 2 files changed, 54 insertions(+), 53 deletions(-) - -commit a03850a3567d532c3a4d7655aa71bfe73dfb0e33 -Author: Behdad Esfahbod -Date: Wed Oct 10 10:57:28 2018 -0400 - - Fix GPOS/kern interaction - - Oops. Was checking for kern feature in GSUB, not GPOS. - - src/hb-ot-shape.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit d1be805e784dfaadf2ce9caa830a3f851fdd67da -Author: Behdad Esfahbod -Date: Wed Oct 10 10:49:45 2018 -0400 - - More rewriting plan compile - - Hopefully more clear. - - src/hb-ot-shape.cc | 55 ++++++++++++++++++++++++++++++++++++++---------------- - src/hb-ot-shape.hh | 1 - - 2 files changed, 39 insertions(+), 17 deletions(-) - -commit 961ab46b24ca9f3ef42a56398646191f106bf5bd -Author: Behdad Esfahbod -Date: Wed Oct 10 10:42:10 2018 -0400 - - More reshuffle plan compile - - src/hb-ot-shape.cc | 16 ++++++++-------- - 1 file changed, 8 insertions(+), 8 deletions(-) - -commit 2091b509e3e3b7fb7315539679fae81da2879280 -Author: Behdad Esfahbod -Date: Wed Oct 10 10:41:08 2018 -0400 - - [kerx] Hook up to shaper - - src/hb-aat-layout.cc | 31 ++++++++++++++++++++++++------- - src/hb-aat-layout.hh | 3 +++ - src/hb-ot-shape.cc | 6 ++++-- - src/hb-ot-shape.hh | 1 + - 4 files changed, 32 insertions(+), 9 deletions(-) - -commit 8d00c39bfc558895c63e22148d88db51cde39164 -Author: Behdad Esfahbod -Date: Wed Oct 10 10:18:39 2018 -0400 - - [kern] Minor - - src/hb-ot-shape-fallback.cc | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit e655fd38cf20eefb1c071a52282a4caccb6f08ea -Author: Behdad Esfahbod -Date: Wed Oct 10 10:16:09 2018 -0400 - - Apply TT or fallback kerning when GPOS does not have kern feature - - Previously we only did if there was no GPOS whatsoever. This applies - to Arial, Times New Roman, etc in Win7. Was not kerning before. It - is now. - - src/hb-ot-shape.cc | 25 ++++++++++++++++--------- - 1 file changed, 16 insertions(+), 9 deletions(-) - -commit 754cf440bf80ced36461a98a5d4607a700f44fd3 -Author: Behdad Esfahbod -Date: Wed Oct 10 10:04:05 2018 -0400 - - Minor - - src/hb-ot-shape-fallback.cc | 2 ++ - 1 file changed, 2 insertions(+) - -commit 187df7d7a9a1d9cd67cb2f72d4d6ed8cae1eed61 -Author: Ebrahim Byagowi -Date: Wed Oct 10 17:12:52 2018 +0330 - - [circleci] Add an iOS bot (#1233) - - .circleci/config.yml | 12 +++++ - CMakeLists.txt | 140 ++++++++++++++++++++++++++++++++------------------- - 2 files changed, 100 insertions(+), 52 deletions(-) - -commit c06a5dff0b0f8d1c5aba53bcfd7fb0b680f1ca92 -Merge: 83c5298f3 0537a4019 -Author: Michiharu Ariza -Date: Tue Oct 9 22:00:10 2018 -0700 - - Merge branch 'master' into cff-subset - -commit 83c5298f33e66cfd3d84d246297683f0de80c57d -Author: Michiharu Ariza -Date: Tue Oct 9 21:59:36 2018 -0700 - - added cff1_legacyops.otf as test-ot-extents-cff test case - - fixed roll operator bugs uncovered by the test - - src/hb-cff-interp-common.hh | 4 ++-- - test/api/fonts/cff1_legacyops.otf | Bin 0 -> 3104 bytes - test/api/test-ot-extents-cff.c | 23 +++++++++++++++++++++++ - 3 files changed, 25 insertions(+), 2 deletions(-) - -commit 0537a40193e803d50a99cd6b993d6d9301e84ebf -Author: Behdad Esfahbod -Date: Tue Oct 9 23:35:07 2018 -0400 - - [kerx] Comment - - src/hb-aat-layout-kerx-table.hh | 2 +- - src/hb-ot-kern-table.hh | 1 + - 2 files changed, 2 insertions(+), 1 deletion(-) - -commit 362d3241195bb7054c395fb4b029b6d55da4612a -Author: Behdad Esfahbod -Date: Tue Oct 9 23:27:00 2018 -0400 - - [aat] Rename - - src/hb-aat-layout-kerx-table.hh | 4 ++-- - src/hb-aat-layout-morx-table.hh | 6 +++--- - 2 files changed, 5 insertions(+), 5 deletions(-) - -commit 54c9ecb92d196e62901eef3f8bc025c024ed16bb -Author: Behdad Esfahbod -Date: Tue Oct 9 23:18:19 2018 -0400 - - [morx] Use subtable range for embedded sanitizer here as well - - src/hb-aat-layout-morx-table.hh | 2 ++ - 1 file changed, 2 insertions(+) - -commit d35315cc028e70dd1b3ffc8cb079a2336b22a0c3 -Author: Behdad Esfahbod -Date: Tue Oct 9 23:17:32 2018 -0400 - - [aat] Fixup recent commit - - For 329f2401082011007d9ce12b15ce0225cd267c57 - - max_ops is signed. - - src/hb-aat-layout-common.hh | 2 +- - src/hb-machinery.hh | 5 ++++- - 2 files changed, 5 insertions(+), 2 deletions(-) - -commit 948f59a13a4c643ae310f5fc643e29fefd6c3787 -Author: Behdad Esfahbod -Date: Tue Oct 9 23:07:47 2018 -0400 - - [kerx] Use subtable range for runtime checks - - src/hb-aat-layout-kerx-table.hh | 4 +++- - src/hb-machinery.hh | 8 ++++++++ - 2 files changed, 11 insertions(+), 1 deletion(-) - -commit 329f2401082011007d9ce12b15ce0225cd267c57 -Author: Behdad Esfahbod -Date: Tue Oct 9 23:02:53 2018 -0400 - - [aat] Set embedded sanitizer max ops really high - - Since we consume it legitimately during shaping. - - src/hb-aat-layout-common.hh | 1 + - src/hb-machinery.hh | 2 ++ - 2 files changed, 3 insertions(+) - -commit ad763074861da60ed51211931788ca5b27fc1512 -Author: Behdad Esfahbod -Date: Tue Oct 9 22:57:00 2018 -0400 - - [kerx] Comment - - src/hb-aat-layout-kerx-table.hh | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -commit db9600bbe15035cea6c2d4e8e9d184a5e23e357e -Author: Behdad Esfahbod -Date: Tue Oct 9 22:55:47 2018 -0400 - - [kerx] Remove junk - - src/hb-aat-layout-kerx-table.hh | 16 ---------------- - 1 file changed, 16 deletions(-) - -commit 27db859416c0362f211e2b42dc9a2ebb53b0e0f4 -Author: Behdad Esfahbod -Date: Tue Oct 9 22:52:41 2018 -0400 - - [kern/kerx] Adjust bounds check - - src/hb-aat-layout-kerx-table.hh | 8 +++----- - src/hb-ot-kern-table.hh | 8 +++----- - 2 files changed, 6 insertions(+), 10 deletions(-) - -commit c66f7f8c5deaac109e34bf65fc16cff92b74e69a -Author: Behdad Esfahbod -Date: Tue Oct 9 22:49:33 2018 -0400 - - [kerx] Implement Format2 apply() - - Still, not hooked. - - src/hb-aat-layout-kerx-table.hh | 5 +---- - 1 file changed, 1 insertion(+), 4 deletions(-) - -commit 4b461785bdf356e4b5586cb6e5b226f47da04b7d -Author: Behdad Esfahbod -Date: Tue Oct 9 22:46:30 2018 -0400 - - Fix check - - src/hb-aat-layout-kerx-table.hh | 2 ++ - src/hb-aat-layout.cc | 4 +++- - 2 files changed, 5 insertions(+), 1 deletion(-) - -commit 4df8eb200def767d342762654b96d5d9314e5b21 -Author: Behdad Esfahbod -Date: Tue Oct 9 22:46:12 2018 -0400 - - [kern] Use kern subtable length for sanitizing in the accelerator - - src/hb-ot-kern-table.hh | 16 ++++++++-------- - 1 file changed, 8 insertions(+), 8 deletions(-) - -commit 8bff1d2994876a5202c8605d1cc37522431c6c84 -Author: Behdad Esfahbod -Date: Tue Oct 9 22:39:31 2018 -0400 - - [kern] Minor - - src/hb-ot-kern-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 53e55945000347fb19168bb4c13a470d30d46251 -Author: Behdad Esfahbod -Date: Tue Oct 9 22:35:22 2018 -0400 - - [kerx] Implement Format0 apply() - - Not hooked up to be called yet. - - src/hb-aat-layout-common.hh | 6 ++++-- - src/hb-aat-layout-kerx-table.hh | 29 ++++++++++++++++++++++++++--- - src/hb-aat-layout.cc | 6 ++++-- - src/hb-aat-layout.hh | 12 +++++++----- - src/hb-ot-shape.cc | 2 +- - 5 files changed, 42 insertions(+), 13 deletions(-) - -commit 60318f87153b559e5da103f0bfcce6bad8bab3b0 -Author: Behdad Esfahbod -Date: Tue Oct 9 22:25:53 2018 -0400 - - Minor - - src/hb-mutex.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 210f899acad1959d60892538ac1968a36dbbb51b -Author: Behdad Esfahbod -Date: Tue Oct 9 21:56:37 2018 -0400 - - [kern] Sanitize 4 bytes, not 2 - - src/hb-ot-kern-table.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 588518ea51b2226bdb41417946848d18c3913a67 -Author: Michiharu Ariza -Date: Tue Oct 9 14:48:04 2018 -0700 - - fixed test-ot-extents-cff failure on some platforms - - test/api/test-ot-extents-cff.c | 11 +++-------- - 1 file changed, 3 insertions(+), 8 deletions(-) - -commit be2f148da474d6dd30132c22dd467ea33a942edf -Author: Behdad Esfahbod -Date: Tue Oct 9 16:24:50 2018 -0400 - - [ft] Use mutex to lock access to FT_Face - - Makes our FT-backed hb_font_t safe to use from multiple threads. Still, - the underlying FT_Face should NOT be used from other threads by client - or other libraries. - - Maybe I add a lock()/unlock() public API ala PangoFT2 and cairo-ft. - Maybe not. - - src/hb-ft.cc | 18 +++++++++++++++++- - src/hb-mutex.hh | 8 ++++++++ - test/api/test-multithread.c | 7 ++----- - 3 files changed, 27 insertions(+), 6 deletions(-) - -commit d18c3c5861d40291077eb8b8667dc2f12b649cf2 -Author: Behdad Esfahbod -Date: Tue Oct 9 16:07:55 2018 -0400 - - [ft] Remove (probably) stale comment - - src/hb-ft.cc | 7 +------ - 1 file changed, 1 insertion(+), 6 deletions(-) - -commit 7003b601afd02b0ba7e839510a7d0b886da09aaa -Author: Behdad Esfahbod -Date: Tue Oct 9 15:55:26 2018 -0400 - - Minor - - src/hb-ot-shape-complex-arabic.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 07899435b8065d494e563f83e0a35300c828eefe -Author: Behdad Esfahbod -Date: Tue Oct 9 15:39:51 2018 -0400 - - Install ot-funcs on newly created funcs - - **Finally**! Casual users can stop caring about font-funcs completely now, - like they haven't been needing to care re unicode-funcs for a few years. - - src/hb-font.cc | 39 ++++++++++++++++++++++++++------------- - 1 file changed, 26 insertions(+), 13 deletions(-) - -commit 55153553675445e8aad06e363295d399aa79c54f -Author: Behdad Esfahbod -Date: Tue Oct 9 15:12:09 2018 -0400 - - [ot-font] Don't pre-load cmap table - - Now that we have get_h_advances() and get_nominal_glyphs() implemented, the - overhead of doing a proper atomic load would be once per run, NOT once per - glyph. So, no need to pre-load the tables to avoid that overhead. - - As such, hb_ot_font_set_funcs() has become really cheap. Can *finally* make - it be default font functions on all newly created fonts! - - src/hb-ot-font.cc | 9 +++------ - 1 file changed, 3 insertions(+), 6 deletions(-) - -commit ec84460e46fdaa5f8a3c16c8d48dabe2b0c869da -Author: Behdad Esfahbod -Date: Tue Oct 9 15:07:04 2018 -0400 - - [ot/ft] Implement get_nominal_glyphs() callback - - Some more measurable speedup. The recent commits' speedups are as follows: - - Testing with Roboto, ****when disabling kern and liga****: - - Before: - - FT --features=-kern,-liga - user↦ 0m0.521s - - OT --features=-liga,-kern - user↦ 0m0.568s - - After: - - FT --features=-liga,-kern - user↦ 0m0.428s - - OT --features=-liga,-kern - user↦ 0m0.470s - - So, 17% speedup. - - Note that FT callbacks are faster than OT these days since we added an advance - cache to FT. I don't think the difference is enough to justify adding a cache - to OT. - - When not disabling kern, the thing is three times slower, so the speedups - are three times less impressive... Still, 5% not bad for a codebase that I - otherwise thought is optimized out. - - Note that, because of this and other optimiztions in our main shaper, - disabling kern and liga, the OT shaper is now *faster* than the fallback - shaper. So, that's my recommendation to clients that need the absolute - fastest... - - src/hb-ft.cc | 26 ++++++++++++++++++++++++++ - src/hb-ot-font.cc | 24 ++++++++++++++++++++++++ - 2 files changed, 50 insertions(+) - -commit e883f52732a25f5495ec30656489954afd8cc3a4 -Author: Behdad Esfahbod -Date: Tue Oct 9 14:50:57 2018 -0400 - - Call get_nominal_glyphs() for runs of simple clusters at a time - - Even without FT or OT font funcs implementing get_nominal_glyphs(), there's measurable - speedup. - - src/hb-buffer.hh | 20 +++++++++++++++++++- - src/hb-ot-shape-normalize.cc | 9 +++++++++ - 2 files changed, 28 insertions(+), 1 deletion(-) - -commit 8008bca83b0bb310fc434dbdd339545af951193b -Author: Behdad Esfahbod -Date: Tue Oct 9 14:38:23 2018 -0400 - - Whitespace - - src/hb-font.hh | 2 +- - src/hb-ot-shape-normalize.cc | 52 ++++++++++++++++++++++++-------------------- - 2 files changed, 29 insertions(+), 25 deletions(-) - -commit 30c114ffec335770452e60729224b1634586c5b0 -Author: Behdad Esfahbod -Date: Tue Oct 9 14:37:08 2018 -0400 - - Avoid sort and recompose stages if all clusters simple - - Even has measurable speedup... - - src/hb-ot-shape-normalize.cc | 52 ++++++++++++++++++++++++-------------------- - 1 file changed, 29 insertions(+), 23 deletions(-) - -commit 9f79365c3b183278d14352ba6241c7d4ec274984 -Author: Behdad Esfahbod -Date: Tue Oct 9 14:36:25 2018 -0400 - - Fix warning - - How come this one is not generated by clang everything bot?! - - ../../../test/api/test-multithread.c:37:26: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] - static char *font_path = "fonts/Inconsolata-Regular.abc.ttf"; - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ../../../test/api/test-multithread.c:38:21: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] - - test/api/test-multithread.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 24382debe893450088acd1e4b387ac31145d4553 -Author: Behdad Esfahbod -Date: Tue Oct 9 14:33:24 2018 -0400 - - Rewrite main normalizer loop to isolate runs of simple clusters - - src/hb-ot-shape-normalize.cc | 24 +++++++++++++++++++----- - 1 file changed, 19 insertions(+), 5 deletions(-) - -commit b5371f18effbeb91565fd8c554c120b911641f0b -Author: Behdad Esfahbod -Date: Tue Oct 9 14:12:59 2018 -0400 - - Inline decompose_cluster - - Towards separating the common case into its own loop. - - src/hb-ot-shape-normalize.cc | 14 ++++---------- - 1 file changed, 4 insertions(+), 10 deletions(-) - -commit f5f505b5120c316f06306318c6c2f0db4496ba04 -Merge: 8b349040e 4035158de -Author: Michiharu Ariza -Date: Tue Oct 9 10:10:35 2018 -0700 - - Merge branch 'master' into cff-subset - -commit b314c4e9abf4236c6650a63d1287471b61f64885 -Author: Behdad Esfahbod -Date: Tue Oct 9 09:23:51 2018 -0400 - - [font] Add get_nominal_glyphs() callback (note the plural) - - Unused as of now. To be wired up to normalizer, which would remove - overhead and allow hb-ot-font initialization to become a no-op, so - we can enable it by default. - - docs/harfbuzz-sections.txt | 3 +++ - src/hb-font.cc | 33 +++++++++++++++++++++++++++++++++ - src/hb-font.h | 24 ++++++++++++++++++++++++ - src/hb-font.hh | 13 +++++++++++++ - 4 files changed, 73 insertions(+) - -commit ca6a317012a13ee84b58a69e14e74c94c5b158ff -Author: Behdad Esfahbod -Date: Tue Oct 9 09:06:07 2018 -0400 - - Minor - - src/hb-font.cc | 6 +++--- - src/hb-font.h | 8 ++++---- - src/hb-font.hh | 2 +- - 3 files changed, 8 insertions(+), 8 deletions(-) - -commit 4035158de46ce373b7521daf61c5b6df83312968 -Author: Chun-wei Fan -Date: Wed Jul 25 18:26:10 2018 +0800 - - test/api/test-subset-*.c: Fix build on pre-C99 - - Ensure that we have the variables at the beginning of the block. These - are the only fixes that we need for building HarfBuzz on older - compilers. - - test/api/test-collect-unicodes.c | 9 ++++++--- - test/api/test-subset-glyf.c | 19 +++++++++++++------ - test/api/test-subset-hdmx.c | 8 ++++++-- - test/api/test-subset-hmtx.c | 3 ++- - test/api/test-subset-post.c | 3 ++- - test/api/test-subset-vmtx.c | 6 ++++-- - test/api/test-subset.c | 12 +++++++++--- - 7 files changed, 42 insertions(+), 18 deletions(-) - -commit 8e4ad1d7a0a35298ca04828ef1ef18b4c019ec03 -Author: Chun-wei Fan -Date: Wed Jul 25 18:12:34 2018 +0800 - - builds: Fix and clean up MSVC DLL builds - - Instead of passing a CFLAG/CXXFLAG to define HB_EXTERN, define it - directly in src/hb.hh as __declspec(dllexport) extern when we are - building HarfBuzz as DLLs on Visual Studio. Define HB_INTERNAL - as nothing without defining HB_NO_VISIBILITY when building HarfBuzz as - DLLs to avoid linker errors on Visual Studio builds. - - Also "install" harfbuzz-subset.dll into $(PREFIX)\bin as the - hb-subset utility will depend on that DLL at runtime, when HarfBuzz is - built as DLLs. Since it consists of private APIs that are subject to - change, we do not install its headers nor .lib file. - - CMakeLists.txt | 7 ++++++- - src/hb.hh | 10 ++++++++-- - 2 files changed, 14 insertions(+), 3 deletions(-) - -commit e640f3a6b16f41cee5f7868ec738fda01244e96a -Author: Behdad Esfahbod -Date: Tue Oct 9 08:28:07 2018 -0400 - - Another old bot fix - - src/hb-aat-layout-kerx-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit e4f27f368f8f0509fa47f6a28f3984e90b40588f -Author: Behdad Esfahbod -Date: Tue Oct 9 08:20:10 2018 -0400 - - Try fixing older bots - - src/hb-ot-shape-fallback.cc | 42 +++++++++++++++++++++--------------------- - 1 file changed, 21 insertions(+), 21 deletions(-) - -commit bee93e269711a3eda4e7d762b730522564fe6e87 -Author: Behdad Esfahbod -Date: Tue Oct 9 08:01:49 2018 -0400 - - Add const to get_*_advances API - - Ouch! - - src/hb-font.cc | 10 +++++----- - src/hb-font.h | 8 ++++---- - src/hb-font.hh | 6 +++--- - src/hb-ft.cc | 2 +- - src/hb-ot-font.cc | 4 ++-- - 5 files changed, 15 insertions(+), 15 deletions(-) - -commit eb2be97f864c726feaa2434e290f962ddfa97069 -Author: Behdad Esfahbod -Date: Tue Oct 9 07:48:52 2018 -0400 - - Port test off deprecated API - - test/api/test-shape.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit cc126f2817844a2e83e973129e5b2caa18de599f -Author: Behdad Esfahbod -Date: Tue Oct 9 01:10:15 2018 -0400 - - Minor - - src/Makefile.am | 2 +- - test/shaping/Makefile.am | 2 ++ - test/subset/Makefile.am | 2 +- - 3 files changed, 4 insertions(+), 2 deletions(-) - -commit b2fbe55b828ea5864bc0aed54db7109a2e189de2 -Author: Behdad Esfahbod -Date: Tue Oct 9 01:07:36 2018 -0400 - - [icu] Unbreak - - src/hb-icu.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit a353c1768dc1d7934b8ac293761620f561304bb2 -Author: Behdad Esfahbod -Date: Tue Oct 9 01:05:28 2018 -0400 - - Remove test for deprecated hb_set_invert() - - test/api/test-set.c | 4 ---- - 1 file changed, 4 deletions(-) - -commit a52bc039c33b3c01dbb96b815dc24df7f03bc4be -Author: Behdad Esfahbod -Date: Tue Oct 9 00:56:33 2018 -0400 - - Properly remove deprecated stuff - - src/hb-glib.cc | 15 ++++++--------- - src/hb-icu.cc | 15 ++++++--------- - src/hb-ucdn.cc | 15 ++++++--------- - 3 files changed, 18 insertions(+), 27 deletions(-) - -commit 8b349040e92b8894a7f8a609fac8070bcb110f96 -Merge: df964a093 fc5091658 -Author: Michiharu Ariza -Date: Mon Oct 8 21:46:23 2018 -0700 - - Merge branch 'master' into cff-subset - -commit fc50916589a300e49183b5ee598e64ca28d0bd9a -Author: Behdad Esfahbod -Date: Tue Oct 9 00:39:42 2018 -0400 - - Remove deprecated decompose_compatibility stuff - - src/hb-glib.cc | 31 +----------------------------- - src/hb-icu.cc | 33 +------------------------------- - src/hb-ucdn.cc | 8 +------- - test/api/test-unicode.c | 51 ------------------------------------------------- - 4 files changed, 3 insertions(+), 120 deletions(-) - -commit eed737f6726d3408191a4e64592805b70d8bb247 -Author: Behdad Esfahbod -Date: Tue Oct 9 00:33:30 2018 -0400 - - Remove deprecated eastasian_width - - src/hb-glib.cc | 8 +------ - src/hb-icu.cc | 19 +-------------- - src/hb-ucdn.cc | 9 +------ - test/api/test-unicode.c | 64 ------------------------------------------------- - 4 files changed, 3 insertions(+), 97 deletions(-) - -commit 47030b1855f04c0d75899ffb6f5021fea3c19b90 -Author: Behdad Esfahbod -Date: Tue Oct 9 00:30:45 2018 -0400 - - [ft/ot] Remove implementation of deprecated kerning funcs - - src/hb-ft.cc | 19 ------------------- - src/hb-ot-font.cc | 13 ------------- - 2 files changed, 32 deletions(-) - -commit 977c8a8e5c811995f47b0eb721199d0dc3689e48 -Author: Behdad Esfahbod -Date: Tue Oct 9 00:22:08 2018 -0400 - - [kern] Minor - - src/hb-ot-kern-table.hh | 11 +++++++++-- - 1 file changed, 9 insertions(+), 2 deletions(-) - -commit ed5cfa42c7fb8d5ff2d74bdb452a0590174f4e19 -Author: Behdad Esfahbod -Date: Tue Oct 9 00:20:35 2018 -0400 - - [kern] Minor - - src/hb-aat-layout-kerx-table.hh | 1 + - 1 file changed, 1 insertion(+) - -commit d219f899f4b2fb4b39ebc1dff9fb648fc5d6d112 -Author: Behdad Esfahbod -Date: Tue Oct 9 00:01:09 2018 -0400 - - Deprecate font kern API - - docs/harfbuzz-sections.txt | 16 +++++++------- - src/hb-deprecated.h | 54 ++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-font.cc | 3 +++ - src/hb-font.h | 51 ------------------------------------------- - 4 files changed, 65 insertions(+), 59 deletions(-) - -commit a51958819fcf51ade3f8eb38001e680a419ebbba -Author: Behdad Esfahbod -Date: Mon Oct 8 23:57:45 2018 -0400 - - Apply TrueType/OpenType kern table when GPOS kern feature is not available - - Fixes https://github.com/harfbuzz/harfbuzz/issues/250 - - src/hb-ot-kern-table.hh | 24 +++++++++++-------- - src/hb-ot-layout.cc | 57 ++++++++++++++++++++------------------------- - src/hb-ot-layout.hh | 13 +++++++++++ - src/hb-ot-shape-fallback.cc | 4 ++-- - src/hb-ot-shape.cc | 10 +++++--- - src/hb-ot-shape.hh | 1 + - 6 files changed, 62 insertions(+), 47 deletions(-) - -commit 09ad2613c8d8a60dac69a878c2d568adfea054c8 -Author: Behdad Esfahbod -Date: Mon Oct 8 23:30:24 2018 -0400 - - Separate fallback kern vs mark positioning - - src/hb-ot-shape-fallback.cc | 12 ++++++------ - src/hb-ot-shape-fallback.hh | 12 ++++++------ - src/hb-ot-shape.cc | 15 ++++++++------- - src/hb-ot-shape.hh | 4 ++-- - 4 files changed, 22 insertions(+), 21 deletions(-) - -commit 3c23ff9b7c4241ec23054a95f1fdfbdef2c51f40 -Author: Behdad Esfahbod -Date: Mon Oct 8 23:26:26 2018 -0400 - - [kern] Add kerning driver to TT kern table - - src/hb-ot-kern-table.hh | 19 +++++++++++++++++-- - src/hb-ot-shape-fallback.cc | 2 +- - 2 files changed, 18 insertions(+), 3 deletions(-) - -commit 683c3a95330928129cfbb1488650f708414d68ba -Author: Behdad Esfahbod -Date: Mon Oct 8 23:09:48 2018 -0400 - - [kern] Abstract away kerning machine - - src/hb-font.hh | 2 +- - src/hb-ot-kern-table.hh | 71 +++++++++++++++++++++++++++++++++++++++++++++ - src/hb-ot-shape-fallback.cc | 67 +++++++++++------------------------------- - 3 files changed, 89 insertions(+), 51 deletions(-) - -commit fb4f43838154a77912a9fc3437110c81e9d34aac -Author: Behdad Esfahbod -Date: Mon Oct 8 22:44:16 2018 -0400 - - Add HB_DEPRECATED - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1232 - - src/hb-common.h | 9 +++++++++ - src/hb-deprecated.h | 12 ++++++------ - 2 files changed, 15 insertions(+), 6 deletions(-) - -commit 80e3102b8a216f9a751d073f9a2f7900ca758086 -Author: Behdad Esfahbod -Date: Mon Oct 8 22:41:08 2018 -0400 - - [kerx] Process coverage flags - - src/hb-aat-layout-kerx-table.hh | 27 +++++++++++++++++++++++++++ - 1 file changed, 27 insertions(+) - -commit 26d7305da7a7e2cf765b068f565836442872ffe7 -Author: Behdad Esfahbod -Date: Mon Oct 8 22:31:35 2018 -0400 - - Deprecate decompose_compatibility stuff - - docs/harfbuzz-sections.txt | 7 +++--- - src/hb-deprecated.h | 63 ++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-unicode.h | 47 ---------------------------------- - 3 files changed, 67 insertions(+), 50 deletions(-) - -commit 42b51eee54f143854b7c6c3be5d84bfbbd895100 -Author: Behdad Esfahbod -Date: Mon Oct 8 22:26:39 2018 -0400 - - Deprecate eastasian_width stuff - - docs/harfbuzz-sections.txt | 5 +++-- - src/hb-deprecated.h | 37 +++++++++++++++++++++++++++++++++++++ - src/hb-unicode.h | 28 ---------------------------- - 3 files changed, 40 insertions(+), 30 deletions(-) - -commit df964a09319bbf5b0a7528b906311726d4f640d6 -Author: Michiharu Ariza -Date: Mon Oct 8 15:38:05 2018 -0700 - - fixed test-subset-cff2 - - src/hb-cff2-interp-cs.hh | 7 +++---- - src/hb-ot-cff2-table.cc | 2 +- - 2 files changed, 4 insertions(+), 5 deletions(-) - -commit a90fd8b9feeee3b02d139f2e7db774766d7855cb -Merge: b51418f59 e42cd58c9 -Author: Michiharu Ariza -Date: Mon Oct 8 15:07:58 2018 -0700 - - Merge branch 'master' into cff-subset - -commit b51418f596097aa5d1b28fb0a02b613c36bacd8e -Author: Michiharu Ariza -Date: Mon Oct 8 15:05:36 2018 -0700 - - added CFF2 get_extents - - added source hb-ot-cff2-table.cc - augmented VariationData to return scalars - misc bug fixes, renaming, cleanup - - src/Makefile.sources | 2 + - src/hb-cff-interp-common.hh | 37 ++++++----- - src/hb-cff-interp-cs-common.hh | 134 +++++++++++++++++++------------------- - src/hb-cff-interp-dict-common.hh | 6 +- - src/hb-cff2-interp-cs.hh | 102 ++++++++++++++++++++++++----- - src/hb-ot-cff1-table.hh | 4 +- - src/hb-ot-cff2-table.cc | 135 +++++++++++++++++++++++++++++++++++++++ - src/hb-ot-cff2-table.hh | 71 ++++++++++++-------- - src/hb-ot-face.cc | 1 + - src/hb-ot-face.hh | 1 + - src/hb-ot-font.cc | 4 ++ - src/hb-ot-layout-common.hh | 28 +++++++- - src/hb-subset-cff1.cc | 2 +- - src/hb-subset-cff2.cc | 4 +- - test/api/test-ot-extents-cff.c | 36 +++++++++++ - 15 files changed, 426 insertions(+), 141 deletions(-) - -commit 286a45641fc6732bb7cab02f06c90396834541b1 -Author: Behdad Esfahbod -Date: Mon Oct 8 16:41:08 2018 -0400 - - Minor - - src/hb-ot-shape-normalize.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit c0d3bf1bafe7b6d2e8f2798c1f55aaec71350d90 -Author: Behdad Esfahbod -Date: Mon Oct 8 16:32:44 2018 -0400 - - Minor - - src/hb-ot-shape.cc | 26 +++++++++++++------------- - 1 file changed, 13 insertions(+), 13 deletions(-) - -commit 9c1bb81f5c5ca64ad1c665edd16947e4bc6f6c46 -Author: Behdad Esfahbod -Date: Mon Oct 8 16:10:54 2018 -0400 - - [test/text-rendering-tests] Update from upstream - - test/shaping/data/text-rendering-tests/DISABLED | 3 --- - test/shaping/data/text-rendering-tests/Makefile.sources | 2 +- - test/shaping/data/text-rendering-tests/tests/MORX-35.tests | 4 ++-- - 3 files changed, 3 insertions(+), 6 deletions(-) - -commit 1a5a3325a26f4989ab8c4bb91515d4898ffa4631 -Author: Behdad Esfahbod -Date: Sun Oct 7 23:08:39 2018 -0400 - - [kerx] Minor - - src/hb-aat-layout-kerx-table.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit d62b4011cc600ade2b130f81a077dd08d4e4464f -Author: Behdad Esfahbod -Date: Sun Oct 7 22:58:06 2018 -0400 - - [kern] Shout less - - src/hb-ot-kern-table.hh | 36 +++++++++++++++++++----------------- - 1 file changed, 19 insertions(+), 17 deletions(-) - -commit c6bb3a588f493630b40d8823532b482f407bacbf -Author: Behdad Esfahbod -Date: Sun Oct 7 22:52:53 2018 -0400 - - [kerx] Clean up Format2 - - src/hb-aat-layout-kerx-table.hh | 48 ++++++++--------------------------------- - 1 file changed, 9 insertions(+), 39 deletions(-) - -commit 8aa83d97f9e7f63e2fcb4ae965b75a39961c7d87 -Author: Behdad Esfahbod -Date: Sun Oct 7 22:43:59 2018 -0400 - - [kern/kerx] Fix Format2 offsetting - - "The values in the right class table are stored pre-multiplied by the - number of bytes in a single kerning value, and the values in the left - class table are stored pre-multiplied by the number of bytes in one - row. This eliminates needing to multiply the row and column values - together to determine the location of the kerning value. The array can - be indexed by doing the right- and left-hand class mappings, adding the - class values to the address of the array, and fetching the kerning - value to which the new address points." - - src/hb-aat-layout-kerx-table.hh | 2 +- - src/hb-ot-kern-table.hh | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit ed2a404272bc99234c6f71f22b5a642834e59e6c -Author: Behdad Esfahbod -Date: Sun Oct 7 22:33:41 2018 -0400 - - [kerx] Clean up Format0 - - src/hb-aat-layout-kerx-table.hh | 48 +++++++++++------------------------------ - 1 file changed, 12 insertions(+), 36 deletions(-) - -commit 4c3b19d52ec7a1fa46f8d0971e377a7d29b87e27 -Author: Behdad Esfahbod -Date: Sun Oct 7 22:30:42 2018 -0400 - - Support HBUINT32 BinSearchArrayOf - - src/hb-open-type.hh | 13 +++++++------ - 1 file changed, 7 insertions(+), 6 deletions(-) - -commit 456a68c506238e9c6b019244237d4443bd3589af -Author: Behdad Esfahbod -Date: Sun Oct 7 22:28:45 2018 -0400 - - Move code - - src/hb-aat-layout-common.hh | 105 -------------------------------------------- - src/hb-open-type.hh | 105 +++++++++++++++++++++++++++++++++++++++++++- - 2 files changed, 104 insertions(+), 106 deletions(-) - -commit 3515c8b187e2316dcf3abaefc84917b09449d485 -Author: Behdad Esfahbod -Date: Sun Oct 7 22:27:00 2018 -0400 - - [aat] Rename - - src/hb-aat-layout-common.hh | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - -commit e42cd58c997adafca5517faa9aacf651b90520f5 -Author: Behdad Esfahbod -Date: Sun Oct 7 20:46:11 2018 -0400 - - Rename invisible_codepoint to invisible_glyph in API - - Deleted recently added API: - hb_buffer_set_invisible_codepoint() - hb_buffer_get_invisible_codepoint() - - hb-shape / hb-view --invisible-codepoint - - New API: - hb_buffer_set_invisible_glyph() - hb_buffer_get_invisible_glyph() - - hb-shape / hb-view --invisible-glyph - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1216 - - docs/harfbuzz-sections.txt | 4 ++-- - src/hb-buffer.cc | 12 ++++++------ - src/hb-buffer.h | 6 +++--- - util/options.cc | 2 +- - util/options.hh | 6 +++--- - 5 files changed, 15 insertions(+), 15 deletions(-) - -commit 2a5cb37fdb43230217e055f3d7c770a35cfd5c21 -Author: Behdad Esfahbod -Date: Sun Oct 7 20:36:46 2018 -0400 - - Revert "[morx] Fix MORX-35" - - This reverts commit f62f6e90ad1f1a83f77771ad65ee1ffb79470a8a. - - src/hb-aat-layout-morx-table.hh | 14 +++++--------- - test/shaping/data/text-rendering-tests/DISABLED | 3 +++ - test/shaping/data/text-rendering-tests/Makefile.sources | 2 +- - 3 files changed, 9 insertions(+), 10 deletions(-) - -commit 14ebf8af0c04efcae6ca788ac85601bfe462f28d -Author: Behdad Esfahbod -Date: Sun Oct 7 20:35:06 2018 -0400 - - [buffer] Improve shift_forward() - - "Improve" is a strong word in this case though, I understand. - - src/hb-buffer.cc | 16 +++++++++++++--- - 1 file changed, 13 insertions(+), 3 deletions(-) - -commit f62f6e90ad1f1a83f77771ad65ee1ffb79470a8a -Author: Behdad Esfahbod -Date: Sun Oct 7 18:06:53 2018 -0400 - - [morx] Fix MORX-35 - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1224 - - src/hb-aat-layout-morx-table.hh | 14 ++++++++++---- - test/shaping/data/text-rendering-tests/DISABLED | 3 --- - test/shaping/data/text-rendering-tests/Makefile.sources | 2 +- - 3 files changed, 11 insertions(+), 8 deletions(-) - -commit 94368855c6bd7201d562cab3d2107685589e69c8 -Author: Behdad Esfahbod -Date: Sun Oct 7 18:52:12 2018 -0400 - - Remove some code - - We use scratch-flags to short-circuit this function. No need for previous - early loop. - - src/hb-ot-shape.cc | 16 +++------------- - 1 file changed, 3 insertions(+), 13 deletions(-) - -commit c07b91b812dc66b38b11329cd6a93258a3769f9e -Author: Behdad Esfahbod -Date: Sun Oct 7 18:00:14 2018 -0400 - - [test/text-rendering-tests] Update from upstream - - test/shaping/data/text-rendering-tests/Makefile.sources | 6 +++++- - .../data/text-rendering-tests/fonts/TestMORXForty.ttf | Bin 0 -> 2408 bytes - .../text-rendering-tests/fonts/TestMORXThirtyeight.ttf | Bin 0 -> 2444 bytes - .../text-rendering-tests/fonts/TestMORXThirtynine.ttf | Bin 0 -> 2436 bytes - .../text-rendering-tests/fonts/TestMORXThirtyseven.ttf | Bin 0 -> 2444 bytes - .../data/text-rendering-tests/tests/MORX-35.tests | 4 ++-- - .../data/text-rendering-tests/tests/MORX-37.tests | 4 ++++ - .../data/text-rendering-tests/tests/MORX-38.tests | 4 ++++ - .../data/text-rendering-tests/tests/MORX-39.tests | 4 ++++ - .../data/text-rendering-tests/tests/MORX-40.tests | 4 ++++ - 10 files changed, 23 insertions(+), 3 deletions(-) - -commit fdce1e15434f14b7f4802edd67f7af737cf2b075 -Author: Behdad Esfahbod -Date: Sun Oct 7 14:01:33 2018 -0400 - - [kerx] Clean up kerx and KerxTable structures - - src/hb-aat-layout-kerx-table.hh | 169 ++++++++++++++++++++++++++-------------- - src/hb-aat-layout-morx-table.hh | 2 +- - 2 files changed, 113 insertions(+), 58 deletions(-) - -commit 71b65eb27dd0867f51d9906887b9e372eb37f54a -Author: Behdad Esfahbod -Date: Sun Oct 7 18:41:52 2018 +0200 - - Add API for setting invisible-codepoint - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1216 - - New API: - hb_buffer_set_invisible_codepoint() - hb_buffer_get_invisible_codepoint() - - hb-shape / hb-view --invisible-codepoint - - docs/harfbuzz-sections.txt | 2 ++ - src/hb-buffer.cc | 42 ++++++++++++++++++++++++++++++++++++++++++ - src/hb-buffer.h | 7 +++++++ - src/hb-buffer.hh | 1 + - src/hb-ot-shape.cc | 8 ++++---- - util/options.cc | 1 + - util/options.hh | 3 +++ - 7 files changed, 60 insertions(+), 4 deletions(-) - -commit 13da3be0b342e8e2f060eba8753c6957c477c4ee -Author: Behdad Esfahbod -Date: Sun Oct 7 18:23:45 2018 +0200 - - [ot-font] Load hmtx/vmtx lazily - - Since we have get_*_advanes() API now, the overhead is once per shape, - not once per glyph. - - Only cmap is warmed-up at set_funcs() time now. - - src/hb-ot-font.cc | 26 +++++++++++++------------- - 1 file changed, 13 insertions(+), 13 deletions(-) - -commit 856db4c9184e39c0457cc07c815f90058937c8a2 -Author: Behdad Esfahbod -Date: Sun Oct 7 18:21:15 2018 +0200 - - Minor - - src/hb-ot-font.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit f92330b5e0b1a5a61768494bd7081e3fc235b182 -Author: Behdad Esfahbod -Date: Sun Oct 7 17:51:50 2018 +0200 - - Minor - - test/api/test-multithread.c | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit b2e398c077cf9437298bfe2ee53b7407a5865c14 -Author: Behdad Esfahbod -Date: Sun Oct 7 16:31:33 2018 +0200 - - [coretext] Fix OS X check - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1230 - - src/hb-coretext.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 55942ad5c1ee999c9f590b8cc8fbde12e937aa6f -Author: Michiharu Ariza -Date: Sat Oct 6 14:49:44 2018 -0700 - - Merge branch 'master' into cff-subset - - TODO | 10 +-- - configure.ac | 2 +- - src/hb-aat-layout-common.hh | 4 +- - src/hb-aat-layout-morx-table.hh | 9 +- - src/hb-aat-layout.cc | 6 ++ - src/hb-aat-layout.hh | 2 + - src/hb-face.cc | 2 +- - src/hb-machinery.hh | 2 +- - src/hb-ot-cmap-table.hh | 2 +- - src/hb-ot-post-table.hh | 2 +- - src/hb-ot-shape.cc | 27 ++++-- - src/hb-ot-shape.hh | 5 ++ - src/hb-set.hh | 4 +- - src/hb-subset.cc | 2 +- - src/hb-vector.hh | 100 ++++++++++++++------- - test/shaping/data/text-rendering-tests/DISABLED | 35 +------- - .../data/text-rendering-tests/Makefile.sources | 18 ++-- - .../data/text-rendering-tests/extract-tests.py | 18 +++- - .../text-rendering-tests/fonts/TestGSUBThree.ttf | Bin 0 -> 1504 bytes - .../fonts/TestMORXThirtyfive.ttf | Bin 0 -> 1968 bytes - .../fonts/TestMORXThirtyfour.ttf | Bin 0 -> 3608 bytes - .../fonts/TestMORXThirtysix.ttf | Bin 0 -> 1836 bytes - .../fonts/TestMORXThirtythree.ttf | Bin 0 -> 1520 bytes - .../fonts/TestMORXTwentyfour.ttf | Bin 0 -> 1828 bytes - .../data/text-rendering-tests/tests/GSUB-3.tests | 1 + - .../data/text-rendering-tests/tests/MORX-24.tests | 1 + - .../data/text-rendering-tests/tests/MORX-32.tests | 8 +- - .../data/text-rendering-tests/tests/MORX-33.tests | 3 + - .../data/text-rendering-tests/tests/MORX-34.tests | 1 + - .../data/text-rendering-tests/tests/MORX-35.tests | 2 + - .../data/text-rendering-tests/tests/MORX-36.tests | 1 + - test/shaping/run-tests.py | 19 ++-- - util/view-cairo.hh | 2 +- - 33 files changed, 173 insertions(+), 115 deletions(-) - -commit 7ee50af8366547c382047a30a94f7f5f739aabcb -Author: Behdad Esfahbod -Date: Sat Oct 6 21:31:44 2018 +0200 - - [morx] Fix memory access issues with unsafe_to_break - - src/hb-aat-layout-common.hh | 8 +++++--- - 1 file changed, 5 insertions(+), 3 deletions(-) - -commit f58c5175890e666503b6f140d238e1abca91598e -Author: Ebrahim Byagowi -Date: Sat Oct 6 22:42:56 2018 +0330 - - Make msan output a little more readable - - .circleci/config.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit e9abe33963739f753cdfb007eed40101ce33f550 -Author: Ebrahim Byagowi -Date: Sat Oct 6 12:19:33 2018 +0330 - - Use tempfile in run-tests as a fix for Windows CI fails (#1228) - - test/shaping/run-tests.py | 14 +++++++------- - 1 file changed, 7 insertions(+), 7 deletions(-) - -commit 0816a549789a1b647443c2b33cfda3f4400a0f87 -Author: Behdad Esfahbod -Date: Sat Oct 6 02:40:57 2018 +0200 - - [uniscribe/coretext] Fix for previous change - - src/hb-coretext.cc | 2 +- - src/hb-uniscribe.cc | 12 ++++++------ - 2 files changed, 7 insertions(+), 7 deletions(-) - -commit 341206eb609202e4b2f0d03d29cb577ebe8390b9 -Author: Behdad Esfahbod -Date: Fri Oct 5 18:39:48 2018 +0200 - - [vector] Make hb_vector_t relocatable / nestable - - Ugly, but... - Fixes https://github.com/harfbuzz/harfbuzz/issues/1227 - - src/hb-face.cc | 2 +- - src/hb-machinery.hh | 2 +- - src/hb-ot-cmap-table.hh | 2 +- - src/hb-ot-post-table.hh | 2 +- - src/hb-set.hh | 4 +-- - src/hb-subset.cc | 2 +- - src/hb-vector.hh | 94 +++++++++++++++++++++++++++++++------------------ - 7 files changed, 66 insertions(+), 42 deletions(-) - -commit 5469d80707d32c733b1c60f79ab2f217e879de55 -Author: Behdad Esfahbod -Date: Fri Oct 5 18:21:08 2018 +0200 - - Add hb_vector_t::fini_deep () - - src/hb-vector.hh | 8 ++++++++ - 1 file changed, 8 insertions(+) - -commit 4831e615d173be9c7e140be0fa9017e4d9e499af -Author: Behdad Esfahbod -Date: Fri Oct 5 18:14:13 2018 +0200 - - [morx] Fix memory access issue - - If buffer was enlarged, info was being outdated. - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1225 - - src/hb-aat-layout-common.hh | 4 +--- - 1 file changed, 1 insertion(+), 3 deletions(-) - -commit 5a41cf6be69adb0b5b29976a33c4c6dd6ce7afc5 -Author: Behdad Esfahbod -Date: Fri Oct 5 11:33:19 2018 +0200 - - [test/text-rendering-tests] Update from upstream - - test/shaping/data/text-rendering-tests/DISABLED | 3 +++ - test/shaping/data/text-rendering-tests/Makefile.sources | 2 ++ - .../text-rendering-tests/fonts/TestMORXThirtyfive.ttf | Bin 0 -> 1968 bytes - .../text-rendering-tests/fonts/TestMORXThirtysix.ttf | Bin 0 -> 1836 bytes - .../data/text-rendering-tests/tests/MORX-35.tests | 2 ++ - .../data/text-rendering-tests/tests/MORX-36.tests | 1 + - 6 files changed, 8 insertions(+) - -commit a62f37d6fa412b799b7247b813f6e65a968e7645 -Author: Behdad Esfahbod -Date: Fri Oct 5 02:49:29 2018 +0200 - - Change vendor features from Harf/Buzz to HARF/BUZZ - - https://github.com/harfbuzz/harfbuzz/commit/a01194aaf4c15160330b4042066263b2c963b658#commitcomment-30772041 - - "The tag space of tags consisting of four uppercase letters (A-Z) with no punctuation, - spaces, or numbers, is reserved as a vendor space. Font vendors may use such tags to - identify private features." - - src/hb-ot-shape.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit e7a045e4db39e037badcab0ad1239c0cb56c1170 -Author: Michiharu Ariza -Date: Thu Oct 4 14:16:07 2018 -0700 - - fixed leak exposed by test-ot-extents-cff - - src/hb-cff-interp-common.hh | 3 +++ - src/hb-cff-interp-dict-common.hh | 4 ++++ - 2 files changed, 7 insertions(+) - -commit 6238edbd8b654d105bbd191dffabc7820f0a3223 -Author: Michiharu Ariza -Date: Thu Oct 4 13:59:36 2018 -0700 - - added CFF glyph extents API test - - test/api/Makefile.am | 1 + - test/api/test-ot-extents-cff.c | 65 ++++++++++++++++++++++++++++++++++++++++++ - 2 files changed, 66 insertions(+) - -commit 0222d57c357c775f25866653700b9dcb7d5bb807 -Author: Michiharu Ariza -Date: Thu Oct 4 09:37:57 2018 -0700 - - tweaked previous warning fixes - - src/hb-cff-interp-common.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 7b3ae5ffd202346cb3742fe0f8cfafe8c36a4bd5 -Author: Behdad Esfahbod -Date: Thu Oct 4 16:36:42 2018 +0200 - - More bot fixes - - test/shaping/run-tests.py | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 310bdac4a08b99a25de6a16a20464873f90b52e4 -Author: Behdad Esfahbod -Date: Thu Oct 4 16:31:14 2018 +0200 - - Fix a warning - - util/view-cairo.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 0abce58139bb58b8b97171db6387d2ac7eebdee0 -Author: Behdad Esfahbod -Date: Thu Oct 4 16:23:42 2018 +0200 - - [test] Choose 'ot' shaper specifically - - Now that we added morx support, our OS X bot is running them through CoreText - and failing (with a DoS / infinite loop no less!). Always run tests through - our own shaper. - - test/shaping/run-tests.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit c93d379bf2414eb6ee6d38fb9753ddf818a777ea -Author: Behdad Esfahbod -Date: Thu Oct 4 13:28:13 2018 +0200 - - [TODO] Clean up - - TODO | 10 +--------- - 1 file changed, 1 insertion(+), 9 deletions(-) - -commit a01194aaf4c15160330b4042066263b2c963b658 -Author: Behdad Esfahbod -Date: Thu Oct 4 13:00:37 2018 +0200 - - Enable two OpenType features, 'Harf' and 'Buzz' - - One early, before script-specific features, one late, after. Allows font - developers to detect us and behave differently if needed. - - src/hb-ot-shape.cc | 4 ++++ - 1 file changed, 4 insertions(+) - -commit 55468ca01b4cdf274900fb752fbf9ae05a78705e -Author: Behdad Esfahbod -Date: Thu Oct 4 12:13:55 2018 +0200 - - [test/text-rendering-tests] Update from upstream - - test/shaping/data/text-rendering-tests/Makefile.sources | 6 +++++- - test/shaping/data/text-rendering-tests/extract-tests.py | 12 ++++++++++++ - .../data/text-rendering-tests/fonts/TestGSUBThree.ttf | Bin 0 -> 1504 bytes - .../text-rendering-tests/fonts/TestMORXThirtyfour.ttf | Bin 0 -> 3608 bytes - .../text-rendering-tests/fonts/TestMORXThirtythree.ttf | Bin 0 -> 1520 bytes - .../text-rendering-tests/fonts/TestMORXTwentyfour.ttf | Bin 0 -> 1828 bytes - .../shaping/data/text-rendering-tests/tests/GSUB-3.tests | 1 + - .../data/text-rendering-tests/tests/MORX-24.tests | 1 + - .../data/text-rendering-tests/tests/MORX-32.tests | 8 ++++---- - .../data/text-rendering-tests/tests/MORX-33.tests | 3 +++ - .../data/text-rendering-tests/tests/MORX-34.tests | 1 + - test/shaping/run-tests.py | 15 +++++++++------ - 12 files changed, 36 insertions(+), 11 deletions(-) - -commit 6ff8a8a10b62a54a87d53b0af66ccaba5d58b107 -Author: Behdad Esfahbod -Date: Thu Oct 4 12:09:45 2018 +0200 - - Minor - - test/shaping/data/text-rendering-tests/extract-tests.py | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 14ff3cbe0f30dea24e1bb175b1e8e41039f6afdc -Author: Behdad Esfahbod -Date: Thu Oct 4 11:34:21 2018 +0200 - - Apply morx if there's no GSUB! - - src/hb-ot-shape.cc | 23 ++++++++++++---- - src/hb-ot-shape.hh | 5 ++++ - test/shaping/data/text-rendering-tests/DISABLED | 32 ---------------------- - .../data/text-rendering-tests/Makefile.sources | 14 +++++----- - 4 files changed, 29 insertions(+), 45 deletions(-) - -commit 3417037eb13a59dce6add0b1691ddb1b2b54c1e4 -Author: Behdad Esfahbod -Date: Thu Oct 4 11:08:15 2018 +0200 - - [aat] Add +hb_aat_layout_has_substitution - - src/hb-aat-layout-morx-table.hh | 2 ++ - src/hb-aat-layout.cc | 6 ++++++ - src/hb-aat-layout.hh | 2 ++ - 3 files changed, 10 insertions(+) - -commit 1f14107f71a6c3da8270ed21c3588f945fa91733 -Author: Sascha Brawer -Date: Thu Oct 4 09:17:08 2018 +0200 - - Minor: Fix autoconf warning - - Before this change, autoconf was emitting the following warnings: - - ``` - configure.ac:22: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS - ../../lib/autoconf/specific.m4:368: AC_USE_SYSTEM_EXTENSIONS is expanded from... - configure.ac:22: the top level - configure.ac:22: warning: AC_RUN_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS - ../../lib/autoconf/specific.m4:368: AC_USE_SYSTEM_EXTENSIONS is expanded from... - configure.ac:22: the top level - configure.ac:22: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS - ../../lib/autoconf/specific.m4:368: AC_USE_SYSTEM_EXTENSIONS is expanded from... - configure.ac:22: the top level - configure.ac:22: warning: AC_RUN_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS - ../../lib/autoconf/specific.m4:368: AC_USE_SYSTEM_EXTENSIONS is expanded from... - configure.ac:22: the top level - configure.ac:22: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS - ../../lib/autoconf/specific.m4:368: AC_USE_SYSTEM_EXTENSIONS is expanded from... - configure.ac:22: the top level - configure.ac:22: warning: AC_RUN_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS - ../../lib/autoconf/specific.m4:368: AC_USE_SYSTEM_EXTENSIONS is expanded from... - configure.ac:22: the top level - configure.ac:22: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS - ../../lib/autoconf/specific.m4:368: AC_USE_SYSTEM_EXTENSIONS is expanded from... - configure.ac:22: the top level - configure.ac:22: warning: AC_RUN_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS - ../../lib/autoconf/specific.m4:368: AC_USE_SYSTEM_EXTENSIONS is expanded from... - configure.ac:22: the top level - ``` - - configure.ac | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 7810bb1a59ea71afeed7ea489400801ebdf642e4 -Author: Sascha Brawer -Date: Thu Oct 4 09:24:08 2018 +0200 - - [morx] Only insert glyphs at mark when a mark has been set before - - This reverts commit f4072e8cb81072cd6d51a2607efedb76c02e7db1. - https://github.com/harfbuzz/harfbuzz/issues/1195 - - src/hb-aat-layout-morx-table.hh | 7 ++++++- - 1 file changed, 6 insertions(+), 1 deletion(-) - -commit 3ef358909eb7e26ca9630e61c7ba142d9e94389e -Author: Michiharu Ariza -Date: Wed Oct 3 18:08:25 2018 -0700 - - fixed warnings - - src/hb-cff-interp-common.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 1aeaee9dfc7ee3ca410919c41e55452a0b6b9bf6 -Author: Michiharu Ariza -Date: Wed Oct 3 17:44:45 2018 -0700 - - fixed cff2 subset test data - - test/api/fonts/AdobeVFPrototype.abc.nohints.otf | Bin 0 -> 7800 bytes - test/api/test-subset-cff2.c | 4 ++-- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit 8be5a9186be3ca4c50c73f372be4dbad08ac1863 -Merge: d7b384ad0 5de2d9cdb -Author: Michiharu Ariza -Date: Wed Oct 3 17:06:18 2018 -0700 - - Merge branch 'master' into cff-subset - -commit 5de2d9cdbdca870901c0ba9472f5b78c48ba0a58 -Author: Ebrahim Byagowi -Date: Thu Oct 4 02:14:18 2018 +0330 - - Minor, fix double-promotion warnings (#1221) - - .circleci/config.yml | 2 +- - src/dump-emoji.cc | 2 +- - src/hb-common.cc | 2 +- - src/hb-ot-var-fvar-table.hh | 2 +- - 4 files changed, 4 insertions(+), 4 deletions(-) - -commit c2c7e6471ca912c91c82f6d71338082978f13dc6 -Author: Ebrahim Byagowi -Date: Thu Oct 4 00:29:40 2018 +0330 - - State our graphite2 dependency no-deprecated compile flag (#1220) - - .circleci/config.yml | 2 +- - .travis.yml | 2 -- - configure.ac | 2 +- - 3 files changed, 2 insertions(+), 4 deletions(-) - -commit e4e74c2751ac24178086cce2811d34d8019b6f85 -Author: mhosken -Date: Thu Oct 4 02:33:26 2018 +0700 - - Update Graphite API to latest (#1215) - - src/hb-graphite2.cc | 28 +++++++++++++++++++++++++++- - 1 file changed, 27 insertions(+), 1 deletion(-) - -commit 81f5eb09eca010337ffb3369000a3d5c1e8e2cda -Author: Behdad Esfahbod -Date: Wed Oct 3 21:30:48 2018 +0200 - - Add emoji test for recent work - - test/shaping/data/in-house/Makefile.sources | 2 +- - .../fonts/3cf6f8ac6d647473a43a3100e7494b202b2cfafe.ttf | Bin 0 -> 16596 bytes - test/shaping/data/in-house/tests/emoji-flag-tags.tests | 2 -- - test/shaping/data/in-house/tests/emoji.tests | 4 ++++ - 4 files changed, 5 insertions(+), 3 deletions(-) - -commit 9e2824cca0e42a53fafda7b2feb095986df40675 -Author: Ebrahim Byagowi -Date: Wed Oct 3 22:49:02 2018 +0330 - - [ci] Delete azure-pipelines - - End of experiment, we might get back to it later - - azure-pipelines.yml | 10 ---------- - 1 file changed, 10 deletions(-) - -commit b710ea4fdeb1a620b396bd07665fc129fe5fc074 -Author: Behdad Esfahbod -Date: Wed Oct 3 21:17:59 2018 +0200 - - Clean Fitzpatrick hack - - src/hb-ot-layout.hh | 2 +- - src/hb-ot-shape.cc | 9 +++++++-- - src/hb-unicode.hh | 20 -------------------- - 3 files changed, 8 insertions(+), 23 deletions(-) - -commit 95e5f1ae69036108f318b93b11d85b2ebc19109b -Author: Behdad Esfahbod -Date: Wed Oct 3 21:11:13 2018 +0200 - - Unbreak Fitzpatrick - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1159 - - src/hb-ot-layout.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 03fb6dd4c7d12a98cc0ef325432658c3c76ab208 -Author: Behdad Esfahbod -Date: Wed Oct 3 21:02:16 2018 +0200 - - Rewrite grapheme-formation in terms of new work - - Also, don't attach ZWNJ to previous cluster. Closer to Unicode graphemes. - - src/hb-coretext.cc | 2 +- - src/hb-ot-shape.cc | 48 ++++++---------------- - .../in-house/tests/indic-joiner-candrabindu.tests | 2 +- - .../data/in-house/tests/indic-joiners.tests | 6 +-- - 4 files changed, 18 insertions(+), 40 deletions(-) - -commit 68106b1d9b96caf79b0a778a7da75caf54e7d44a -Author: Behdad Esfahbod -Date: Wed Oct 3 20:50:12 2018 +0200 - - Minor - - src/hb-ot-layout.hh | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit 3f1c741b7a85d9c2d66e7f2446e988470c538b49 -Author: Behdad Esfahbod -Date: Wed Oct 3 20:45:19 2018 +0200 - - [test] Split a test - - .../fonts/4d4206e30b2dbf1c1ef492a8eae1c9e7829ebad8.ttf | Bin 0 -> 51924 bytes - .../fonts/bb29ce50df2bdba2d10726427c6b7609bf460e04.ttf | Bin 74856 -> 0 bytes - .../in-house/tests/mongolian-variation-selector.tests | 17 ++++++++++++++++- - 3 files changed, 16 insertions(+), 1 deletion(-) - -commit ba813aab0909375af0c8f8e0c34595680c2762a4 -Author: Ebrahim Byagowi -Date: Wed Oct 3 21:52:15 2018 +0330 - - Update azure-pipelines.yml - - azure-pipelines.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 06922acbc4558699e43a4ed98ffb21f1e84abfc6 -Author: Behdad Esfahbod -Date: Wed Oct 3 20:19:17 2018 +0200 - - Fix distcheck - - src/Makefile.sources | 1 + - 1 file changed, 1 insertion(+) - -commit 4eea2e279b019ac627b2b9e2234a194957971022 -Author: Behdad Esfahbod -Date: Wed Oct 3 20:16:03 2018 +0200 - - [thai] Set continuation on decomposed nikhahit - - src/hb-ot-shape-complex-thai.cc | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 8edc91022c3943fb306cee26ed6eb85381b5ea76 -Author: Behdad Esfahbod -Date: Wed Oct 3 20:13:20 2018 +0200 - - [indic] Reset continuation on inserted dottedcircle - - src/hb-ot-shape-complex-indic.cc | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit 2a6f15213ec30e5eb07465dd9dc81c2c386cb1e0 -Author: Behdad Esfahbod -Date: Wed Oct 3 20:09:14 2018 +0200 - - [buffer] Inline some more - - src/hb-buffer.cc | 44 -------------------------------------------- - src/hb-buffer.hh | 52 ++++++++++++++++++++++++++++++++++++++++++++-------- - 2 files changed, 44 insertions(+), 52 deletions(-) - -commit 6f39c22029867c6d00cf70d7df242a28ca8f12bc -Author: Behdad Esfahbod -Date: Wed Oct 3 20:06:32 2018 +0200 - - Add code - - src/hb-ot-layout.hh | 5 +++++ - 1 file changed, 5 insertions(+) - -commit 19d50aa2620f1464da8e00185b746e46fb0d80c4 -Author: Behdad Esfahbod -Date: Wed Oct 3 20:05:28 2018 +0200 - - [indic] Simplify dottedcircle - - src/hb-ot-shape-complex-indic.cc | 23 +++++++++++++++-------- - 1 file changed, 15 insertions(+), 8 deletions(-) - -commit 3b7831851052ecf2611a115cc2b80ef970d83df8 -Author: Behdad Esfahbod -Date: Wed Oct 3 19:44:15 2018 +0200 - - [emoji] Mark emoji contination sequences as continuation - - This adds a new grapheme bit. Not used yet. - - Part of https://github.com/harfbuzz/harfbuzz/issues/1159 - - src/hb-ot-layout.hh | 83 +++++++++++++++++++++++++---------------------------- - src/hb-ot-shape.cc | 24 ++++++++++++++++ - src/hb-unicode.hh | 5 ---- - 3 files changed, 63 insertions(+), 49 deletions(-) - -commit 123326e20a30a51e25339c2eca272e4e6c847742 -Author: Behdad Esfahbod -Date: Wed Oct 3 19:19:51 2018 +0200 - - Dotted-circle all marks, not just non-spacing, at text beginning - - src/hb-ot-shape.cc | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit 4146c00caa29e53ee9a29def151f12792ac76596 -Author: Ebrahim Byagowi -Date: Wed Oct 3 21:26:58 2018 +0330 - - [test] Use an in-repo font for test-multithread (#1218) - - As Khaled's suggestion, hard-coded font paths was only for my own testing. - - test/api/hb-subset-test.h | 13 +++++++++---- - test/api/test-multithread.c | 41 ++++++++++++++++++++++++++--------------- - test/fuzzing/main.cc | 6 ++++++ - 3 files changed, 41 insertions(+), 19 deletions(-) - -commit fde9b8852d7cd6224afeffcfe363f4b445ab1ece -Author: azure-pipelines[bot] -Date: Wed Oct 3 17:47:05 2018 +0000 - - [ci] Add a test Azure Pipelines Linux bot - - Related #1219 - - azure-pipelines.yml | 10 ++++++++++ - 1 file changed, 10 insertions(+) - -commit 674560cf244054a7e8c16073a59aa1b01e1ba5ea -Author: Behdad Esfahbod -Date: Wed Oct 3 19:10:28 2018 +0200 - - Fix build - - src/test-unicode-ranges.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 45e55f70801e2ccd28e1ee30bdf5341b1ac6efe5 -Author: Behdad Esfahbod -Date: Wed Oct 3 18:07:49 2018 +0200 - - [indic] Fix clang everything - - src/hb-ot-shape-complex-indic.cc | 14 ++++++++++---- - 1 file changed, 10 insertions(+), 4 deletions(-) - -commit 4df02e3240ada0734748a47572baa2fc1c6afbd1 -Author: Behdad Esfahbod -Date: Wed Oct 3 17:54:09 2018 +0200 - - Minor - - src/hb-ot-os2-unicode-ranges.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 1e8f195b96765480007808da60789de9ac501c3b -Author: Behdad Esfahbod -Date: Wed Oct 3 17:46:48 2018 +0200 - - [emoji] Add emoji Extended_Pictographic table and function - - Part of https://github.com/harfbuzz/harfbuzz/issues/1159 - - . - - src/Makefile.am | 12 +- - src/gen-emoji-table.py | 64 ++++++++++ - src/hb-ot-os2-table.hh | 2 +- - src/hb-ot-os2-unicode-ranges.hh | 6 +- - src/hb-unicode-emoji-table.hh | 269 ++++++++++++++++++++++++++++++++++++++++ - src/hb-unicode.cc | 16 +++ - src/hb-unicode.hh | 37 +++++- - 7 files changed, 398 insertions(+), 8 deletions(-) - -commit 1dc601b04a816a5b5ed12ae1c01ddcfd60a8398f -Author: Behdad Esfahbod -Date: Wed Oct 3 17:27:46 2018 +0200 - - [os2] Minor rename/shuffle - - ...unicode-ranges.py => gen-os2-unicode-ranges.py} | 2 +- - src/hb-ot-os2-unicode-ranges.hh | 45 +++++++++++----------- - 2 files changed, 24 insertions(+), 23 deletions(-) - -commit 7a1ab0464d3ee1ca5c9b31215fbffb8601ae860d -Author: lantw44 -Date: Wed Oct 3 23:22:43 2018 +0800 - - Fix test-multithread build on FreeBSD (#1217) - - Add the default font path used by FreeBSD ports. - - test/api/test-multithread.c | 2 ++ - 1 file changed, 2 insertions(+) - -commit df32eaae42b505b00de4a8b5efce9ab948bed847 -Author: Behdad Esfahbod -Date: Wed Oct 3 14:44:25 2018 +0200 - - [indic] Disallow vowel mark combinations that spoof other vowel marks - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1019 - - New numbers: - - BENGALI: 353725 out of 354188 tests passed. 463 failed (0.130722%) - DEVANAGARI: 707261 out of 707394 tests passed. 133 failed (0.0188014%) - GUJARATI: 366353 out of 366457 tests passed. 104 failed (0.0283799%) - GURMUKHI: 60729 out of 60747 tests passed. 18 failed (0.0296311%) - KANNADA: 951300 out of 951913 tests passed. 613 failed (0.0643966%) - MALAYALAM: 1048136 out of 1048334 tests passed. 198 failed (0.0188871%) - ORIYA: 42327 out of 42329 tests passed. 2 failed (0.00472489%) - SINHALA: 271596 out of 271847 tests passed. 251 failed (0.0923313%) - TAMIL: 1091754 out of 1091754 tests passed. 0 failed (0%) - TELUGU: 970555 out of 970573 tests passed. 18 failed (0.00185457%) - - Devanagari regressed because Uniscribe doesn't enforce the full set. - - Tests added with the *-vowel-letters.txt files in tree and Noto fonts. - - src/hb-ot-shape-complex-indic.cc | 256 ++++++++++++++++++++- - test/shaping/data/in-house/Makefile.sources | 1 + - .../03e3f463c3a985bc42096620cc415342818454fb.ttf | Bin 0 -> 2904 bytes - .../1a5face3fcbd929d228235c2f72bbd6f8eb37424.ttf | Bin 0 -> 8188 bytes - .../2c25beb56d9c556622d56b0b5d02b4670c034f89.ttf | Bin 0 -> 2460 bytes - .../604026ae5aaca83c49cd8416909d71ba3e1c1194.ttf | Bin 0 -> 4120 bytes - .../738d9f3b8c2dfd03875bf35a61d28fd78faf17c8.ttf | Bin 0 -> 2336 bytes - .../7d18685e1529e4ceaad5b6095dfab2f9789e5bce.ttf | Bin 0 -> 3452 bytes - .../881642af1667ae30a54e58de8be904566d00508f.ttf | Bin 0 -> 2760 bytes - .../af85624080af5627fb050f570d148a62f04fda74.ttf | Bin 0 -> 2656 bytes - .../tests/indic-vowel-letter-spoofing.tests | 53 +++++ - 11 files changed, 309 insertions(+), 1 deletion(-) - -commit 1b8d5e999192035c08f918aa1fcfcebdea67d82e -Author: Behdad Esfahbod -Date: Wed Oct 3 14:44:19 2018 +0200 - - [thai] Minor - - src/hb-ot-shape-complex-thai.cc | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit d3d0cbd27831a6ea41b89f50d380296565c0016d -Author: Behdad Esfahbod -Date: Wed Oct 3 13:54:21 2018 +0200 - - Typo - - .../{bengali-vowel-leters.txt => bengali-vowel-letters.txt} | 0 - .../{gujarati-vowel-letter.txt => gujarati-vowel-letters.txt} | 0 - 2 files changed, 0 insertions(+), 0 deletions(-) - -commit 0dd9101fd0ddff80fff10ba98e93523aed95c8f5 -Author: Behdad Esfahbod -Date: Wed Oct 3 13:26:26 2018 +0200 - - Minor - - src/hb-ot-shape-complex-indic.cc | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 9c4ffd10c4040ada9b1ffeb13c35f1330336359e -Author: Behdad Esfahbod -Date: Wed Oct 3 12:53:54 2018 +0200 - - Minor - - src/hb-ot-shape-complex.hh | 11 +++-------- - 1 file changed, 3 insertions(+), 8 deletions(-) - -commit bd1be8738fc4c73635cab7d77965264748d747cc -Author: HinTak -Date: Wed Oct 3 07:11:22 2018 +0800 - - Missing colon for gobject annotation - - There should be a colon separating "(transfer full)" and the rest. Warned by g-ir-scanner. - - src/hb-face.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 75114e01d29b90f72a9398ed5dbc4298aba5a6b8 -Author: Behdad Esfahbod -Date: Wed Oct 3 12:29:56 2018 +0200 - - [use] Add Halant_Or_Vowel_Modifier category - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1102 - - src/gen-use-table.py | 7 +- - src/hb-ot-shape-complex-use-machine.hh | 518 +++++++++++---------- - src/hb-ot-shape-complex-use-machine.rl | 9 +- - src/hb-ot-shape-complex-use-table.cc | 4 +- - src/hb-ot-shape-complex-use.hh | 5 +- - .../28f497629c04ceb15546c9a70e0730125ed6698d.ttf | Bin 0 -> 1496 bytes - .../shaping/data/in-house/tests/use-syllable.tests | 3 + - 7 files changed, 301 insertions(+), 245 deletions(-) - -commit d7b384ad0d0a3e1d35ef92a6e98a97bb9c367f48 -Author: Michiharu Ariza -Date: Tue Oct 2 21:08:36 2018 -0700 - - silence warning ^3 - - src/hb-subset-cff1.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit e9cc71ac86bd771d9fcb2ee1eb620060db92ac1a -Author: Michiharu Ariza -Date: Tue Oct 2 20:44:30 2018 -0700 - - silence warning ^2 - - src/hb-subset-cff1.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 2700db9ade23cbf69d17a7a1802a7f144c25f8dc -Author: Michiharu Ariza -Date: Tue Oct 2 15:05:26 2018 -0700 - - rm build files - - build/test/api/.libs/test-collect-unicodes | Bin 14336 -> 0 bytes - build/test/api/.libs/test-multithread | Bin 10936 -> 0 bytes - build/test/api/test-collect-unicodes | 210 ----------------------------- - build/test/api/test-multithread | 210 ----------------------------- - 4 files changed, 420 deletions(-) - -commit 51d5bf4ca2ebb9b8aa3b2777781e328fb93ceea7 -Author: Michiharu Ariza -Date: Tue Oct 2 14:38:06 2018 -0700 - - silence warnings - - src/hb-cff-interp-cs-common.hh | 2 +- - src/hb-subset-cff1.cc | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit 35b64dfb57cac0d949363e9b19352dd4274c2584 -Author: Michiharu Ariza -Date: Tue Oct 2 14:13:36 2018 -0700 - - silence & fix new warnings - - src/hb-cff-interp-dict-common.hh | 3 ++- - src/hb-cff1-interp-cs.hh | 9 +++++---- - src/hb-ot-cff-common.hh | 4 ++-- - src/hb-subset-cff1.cc | 4 ++-- - src/hb-subset-cff2.cc | 4 ++-- - 5 files changed, 13 insertions(+), 11 deletions(-) - -commit eed7e6bbc8e7be99d59a7822a1c37bc715c379b3 -Author: Michiharu Ariza -Date: Tue Oct 2 13:45:14 2018 -0700 - - redefine OpCodes as define instead of enum - - in order to eradicate duplicate enum warnings - - src/hb-cff-interp-common.hh | 348 ++++++++++++++++++++++---------------------- - 1 file changed, 174 insertions(+), 174 deletions(-) - -commit 9cdd70b344b9dc34a29aeca79028cbb5d949ca1d -Merge: 3dd43f023 6353cc1f8 -Author: Michiharu Ariza -Date: Tue Oct 2 13:43:21 2018 -0700 - - Merge branch 'master' into cff-subset - -commit 6353cc1f83c862910860976411a1157f7ed571bc -Author: Ebrahim Byagowi -Date: Tue Oct 2 21:39:19 2018 +0330 - - [circleci] Fix some of warnings from clang-everything bot (#1211) - - * -Wshift-sign-overflow - * -Wmissing-prototypes - - .circleci/config.yml | 4 ++-- - src/dump-emoji.cc | 19 ++++++++++--------- - src/hb-ucdn.cc | 3 +++ - src/test-unicode-ranges.cc | 4 ++-- - test/fuzzing/hb-subset-fuzzer.cc | 32 +++++++++++++++++--------------- - util/ansi-print.cc | 4 ++-- - 6 files changed, 36 insertions(+), 30 deletions(-) - -commit 9f1dee32fbad3b1486725c18570199156b57a94d -Author: Behdad Esfahbod -Date: Tue Oct 2 18:56:20 2018 +0200 - - [tests] Allow test-runner to ignore shaping output - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1212 - - test/shaping/data/in-house/tests/fuzzed.tests | 46 +++++++++++++-------------- - test/shaping/run-tests.py | 2 +- - 2 files changed, 24 insertions(+), 24 deletions(-) - -commit fef7af1e22efb399517137b35d0ba9f307411ca3 -Author: Behdad Esfahbod -Date: Tue Oct 2 18:46:13 2018 +0200 - - [tibetan] Remove unused Tibetan shaper - - src/Makefile.sources | 1 - - src/hb-ot-shape-complex-tibetan.cc | 63 -------------------------------------- - src/hb-ot-shape-complex.hh | 1 - - 3 files changed, 65 deletions(-) - -commit 32a438166fbccac6e0d9a615a492fc8cabfd21ab -Author: Behdad Esfahbod -Date: Tue Oct 2 18:43:29 2018 +0200 - - [tibetan] Route Tibetan through USE - - Fixes https://github.com/harfbuzz/harfbuzz/pull/933 - https://github.com/harfbuzz/harfbuzz/issues/1012 - - Tibetan failures go from 0 to 2: - - TIBETAN: 208467 out of 208469 tests passed. 2 failed (0.000959375%) - - src/gen-use-table.py | 30 ++++++++++------ - src/hb-ot-shape-complex-use-table.cc | 70 ++++++++++++++++++++++-------------- - src/hb-ot-shape-complex.hh | 8 +---- - 3 files changed, 65 insertions(+), 43 deletions(-) - -commit 77792187be1405599e6aecfc3ed1fc771d505ddb -Author: Behdad Esfahbod -Date: Tue Oct 2 18:20:16 2018 +0200 - - [khmer] Remove unused khmer_position() - - src/dump-khmer-data.cc | 8 +++----- - src/hb-ot-shape-complex-khmer.hh | 1 - - 2 files changed, 3 insertions(+), 6 deletions(-) - -commit 5101abd42f4027edf182eddfa58c629b11c2a7f6 -Author: Behdad Esfahbod -Date: Tue Oct 2 17:49:06 2018 +0200 - - [indic/use] Factor common expressions in ragel machine - - No machine change. - - src/hb-ot-shape-complex-indic-machine.hh | 46 ++++++++++++++++---------------- - src/hb-ot-shape-complex-indic-machine.rl | 10 ++++--- - src/hb-ot-shape-complex-use-machine.hh | 38 +++++++++++++------------- - src/hb-ot-shape-complex-use-machine.rl | 20 +++++++------- - 4 files changed, 58 insertions(+), 56 deletions(-) - -commit 6f457f8370de5d96452ee3a2d1b0a97b025ef1d1 -Author: Behdad Esfahbod -Date: Tue Oct 2 17:46:27 2018 +0200 - - [indic] Minor flip grammar around - - No behavior change. - - src/hb-ot-shape-complex-indic-machine.rl | 2 +- - src/hb-ot-shape-complex-use-machine.rl | 1 - - 2 files changed, 1 insertion(+), 2 deletions(-) - -commit d992982d23ef0c39ea42595ed0e8a4752977d1a5 -Author: Behdad Esfahbod -Date: Tue Oct 2 17:16:01 2018 +0200 - - [indic] Add some confusable sequences from Unicode Standard - - .../script-bengali/bengali-vowel-leters.txt | 3 ++ - .../devanagari-atomic-consonants.txt | 33 ++++++++++++++++++++++ - .../script-devanagari/devanagari-vowel-letters.txt | 17 +++++++++++ - .../script-gujarati/gujarati-vowel-letter.txt | 8 ++++++ - .../script-gurmukhi/gurmukhi-vowel-letters.txt | 9 ++++++ - .../script-kannada/kannada-vowel-letters.txt | 3 ++ - .../script-malayalam/malayalam-vowel-letters.txt | 5 ++++ - .../script-oriya/oriya-vowel-letters.txt | 3 ++ - .../script-telugu/telugu-vowel-letters.txt | 5 ++++ - 9 files changed, 86 insertions(+) - -commit 40d5d19d5b875eef526a2a66892c3f638f633fa3 -Author: Behdad Esfahbod -Date: Tue Oct 2 17:04:05 2018 +0200 - - [ragel] Use ts/te (token-start / token-end) instead of manual tracking - - src/hb-ot-shape-complex-indic-machine.hh | 22 ++++++++++------------ - src/hb-ot-shape-complex-indic-machine.rl | 8 +++----- - src/hb-ot-shape-complex-khmer-machine.hh | 22 ++++++++++------------ - src/hb-ot-shape-complex-khmer-machine.rl | 8 +++----- - src/hb-ot-shape-complex-myanmar-machine.hh | 22 ++++++++++------------ - src/hb-ot-shape-complex-myanmar-machine.rl | 8 +++----- - src/hb-ot-shape-complex-use-machine.hh | 22 ++++++++++------------ - src/hb-ot-shape-complex-use-machine.rl | 8 +++----- - 8 files changed, 52 insertions(+), 68 deletions(-) - -commit 9efddb9de821fc909a3ea8354f3dfd39c823e97b -Author: Behdad Esfahbod -Date: Tue Oct 2 16:05:26 2018 +0200 - - Treat a base+mark... ligature as base, not ligature - - Fixes https://github.com/harfbuzz/harfbuzz/issues/746 - - src/hb-ot-layout-gsubgpos.hh | 22 +++++++++++++++------- - 1 file changed, 15 insertions(+), 7 deletions(-) - -commit 3cca978723db43233d25402254d297dfccf991a3 -Author: Behdad Esfahbod -Date: Tue Oct 2 15:02:16 2018 +0200 - - Move code around - - src/hb-ot-layout-gsub-table.hh | 3 --- - src/hb-ot-layout-gsubgpos.hh | 22 +++++++++++----------- - 2 files changed, 11 insertions(+), 14 deletions(-) - -commit 0a371fee4d22ed63207aa76c00b05b75bbc95f5f -Author: Behdad Esfahbod -Date: Tue Oct 2 14:48:39 2018 +0200 - - Minor - - src/hb-ot-map.hh | 6 ++++-- - src/hb-ot-shape-complex-arabic.cc | 6 +++--- - src/hb-ot-shape-complex-myanmar.cc | 4 ++-- - src/hb-ot-shape-complex-use.cc | 8 ++++---- - src/hb-ot-shape.cc | 4 ++-- - 5 files changed, 15 insertions(+), 13 deletions(-) - -commit 94d15528f80dbb7110d816fb5845f257f605a0be -Author: Behdad Esfahbod -Date: Tue Oct 2 14:45:09 2018 +0200 - - Minor - - src/hb-ot-map.hh | 1 + - src/hb-ot-shape.cc | 39 ++++++++++++++++++--------------------- - 2 files changed, 19 insertions(+), 21 deletions(-) - -commit 729f634728fb553300021d52089495271dfb19fd -Author: Behdad Esfahbod -Date: Tue Oct 2 14:40:14 2018 +0200 - - Disable joiner-skipping when looking back for base to attach mark to - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1189 - - src/hb-ot-shape.cc | 5 ++++- - test/shaping/data/in-house/Makefile.sources | 1 + - .../fonts/641ca9d7808b01cafa9a666c13811c9b56eb9c52.ttf | Bin 0 -> 11492 bytes - .../data/in-house/tests/arabic-mark-attach.tests | 1 + - 4 files changed, 6 insertions(+), 1 deletion(-) - -commit c36f3f5bef52e660541933f003fafa6e3a14785d -Author: Behdad Esfahbod -Date: Tue Oct 2 14:34:29 2018 +0200 - - [arabic] Use manual-zwj instead of flipping joiners - - src/hb-buffer.hh | 3 +-- - src/hb-ot-layout.hh | 12 ++---------- - src/hb-ot-shape-complex-arabic.cc | 41 ++++++--------------------------------- - 3 files changed, 9 insertions(+), 47 deletions(-) - -commit 48c513fec978819927535bc86b43be74315f746c -Author: Behdad Esfahbod -Date: Tue Oct 2 14:17:42 2018 +0200 - - Minor - - src/hb-ot-shape-complex-arabic.cc | 2 +- - src/hb-ot-shape-complex-default.cc | 2 +- - src/hb-ot-shape-complex-hangul.cc | 2 +- - src/hb-ot-shape-complex-hebrew.cc | 14 +------------- - src/hb-ot-shape-complex-indic.cc | 2 +- - src/hb-ot-shape-complex-indic.hh | 2 -- - src/hb-ot-shape-complex-khmer.cc | 2 +- - src/hb-ot-shape-complex-myanmar.cc | 4 ++-- - src/hb-ot-shape-complex-thai.cc | 2 +- - src/hb-ot-shape-complex-tibetan.cc | 2 +- - src/hb-ot-shape-complex-use.cc | 2 +- - src/hb-ot-shape-complex.hh | 11 ++++------- - src/hb-ot-shape.cc | 8 ++++---- - 13 files changed, 19 insertions(+), 36 deletions(-) - -commit cca757ae56d6a82cfad35edc6dbae58049a34f91 -Author: Behdad Esfahbod -Date: Tue Oct 2 13:27:11 2018 +0200 - - Minor - - src/hb-ot-shape.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 96eca87f89588126d3fa5c7f3884ae2f302a91e1 -Author: Behdad Esfahbod -Date: Tue Oct 2 13:24:40 2018 +0200 - - Move things - - src/hb-ot-shape.cc | 22 ++++++++++------------ - src/hb-ot-shape.hh | 3 +++ - 2 files changed, 13 insertions(+), 12 deletions(-) - -commit 588a4ac8bc9fd20464c7a77ead27ae34478c9bc8 -Author: Behdad Esfahbod -Date: Tue Oct 2 13:13:47 2018 +0200 - - Rename - - src/hb-ot-face.cc | 20 +++++++------- - src/hb-ot-face.hh | 78 +++++++++++++++++++++++++++---------------------------- - 2 files changed, 49 insertions(+), 49 deletions(-) - -commit 10b6c7c63870fa04cd8adcf9f38644c2a799db8a -Author: Behdad Esfahbod -Date: Tue Oct 2 13:11:18 2018 +0200 - - Minor include cleanup - - src/hb-ot-shape-complex.hh | 1 + - src/hb-ot-shape.cc | 4 +--- - src/hb-ot-shape.hh | 2 +- - 3 files changed, 3 insertions(+), 4 deletions(-) - -commit 1d1734e985e1f2a746b4fff0cd82d96d477577d5 -Author: Behdad Esfahbod -Date: Tue Oct 2 13:04:05 2018 +0200 - - Shuffle code around - - src/hb-ot-shape-complex-hebrew.cc | 2 +- - src/hb-ot-shape-fallback.cc | 2 +- - src/hb-ot-shape-normalize.cc | 2 +- - src/hb-ot-shape.cc | 32 ++++++++++++++++++++++++++++---- - src/hb-ot-shape.hh | 29 ++++++----------------------- - 5 files changed, 37 insertions(+), 30 deletions(-) - -commit bf5088b3dcd94106937290c180f3f40bc8524b48 -Author: Ebrahim Byagowi -Date: Tue Oct 2 11:07:06 2018 +0330 - - Minor, fix -Weverthing bot warnings (#1210) - - test/api/test-buffer.c | 8 ++++---- - test/api/test-multithread.c | 3 +-- - 2 files changed, 5 insertions(+), 6 deletions(-) - -commit d27e5ec3a236b8eb37ef9ce558ad54077e46b003 -Author: Khaled Hosny -Date: Tue Oct 2 08:25:29 2018 +0200 - - Skip BOM in the Python sample file - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1208 - - src/sample.py | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit f9ea3dc4c6e85c417dd4c8546e5ebe02b67131b9 -Author: HinTak -Date: Tue Oct 2 06:43:06 2018 +0100 - - Missing "out" indicator (#1209) - - Missing "out" indicator. Affect gobject introspection. - - src/hb-font.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 9742679b8253919f8bfec8a77532092044e951aa -Author: Ebrahim Byagowi -Date: Tue Oct 2 03:20:48 2018 +0330 - - [circleci] Remove some of the not needed flags - - .circleci/config.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit f72b748371da2d7ce327a5d15feea46960aa7dd3 -Author: Ebrahim Byagowi -Date: Tue Oct 2 00:16:08 2018 +0330 - - [circleci] Fix "msan" and "everything" bots (#1205) - - .circleci/config.yml | 13 ++++++------- - src/check-symbols.sh | 2 -- - test/fuzzing/main.cc | 22 +++++++++------------- - test/fuzzing/run-shape-fuzzer-tests.py | 2 -- - test/fuzzing/run-subset-fuzzer-tests.py | 2 -- - 5 files changed, 15 insertions(+), 26 deletions(-) - -commit 8bf4027d23318c7e1ff7fe9f5e7ad8b0380e5415 -Author: Behdad Esfahbod -Date: Mon Oct 1 20:05:00 2018 +0200 - - [indic] Remove Consonant_Medial from grammar and code - - The only Indic CM is U+0A75 GURMUKHI SIGN YAKASH, which Uniscribe doesn't treat - specially, and font designers design for that. So, do the same. - - src/hb-ot-shape-complex-indic-machine.hh | 1244 ++++++++++++++---------------- - src/hb-ot-shape-complex-indic-machine.rl | 10 +- - src/hb-ot-shape-complex-indic.cc | 2 +- - src/hb-ot-shape-complex-indic.hh | 6 +- - 4 files changed, 589 insertions(+), 673 deletions(-) - -commit ab4c37f73a7d4fcf48584cda3fff94e98a672086 -Author: Behdad Esfahbod -Date: Mon Oct 1 19:35:48 2018 +0200 - - [khmer] Add mark-ordering tests - - Fixes https://github.com/harfbuzz/harfbuzz/issues/667 - - test/shaping/data/in-house/Makefile.sources | 2 ++ - .../b6031119874ae9ff1dd65383a335e361c0962220.ttf | Bin 0 -> 2564 bytes - .../data/in-house/tests/khmer-mark-order.tests | 25 +++++++++++++++++++++ - 3 files changed, 27 insertions(+) - -commit 51436547162a18e88144e7125ad6ce4a69a08d4b -Author: Behdad Esfahbod -Date: Mon Oct 1 19:09:58 2018 +0200 - - [khmer] Rewrite grammar completely - - Based on experimenting with Uniscribe to extract grammar and categories. - - Failures down from 44 to 35: - - KHMER: 299089 out of 299124 tests passed. 35 failed (0.0117008%) - - We still don't enforce the one-matra rule pre-decomposition, but enforce - an order and one-matra-per-position post-decomposition. - - https://github.com/harfbuzz/harfbuzz/issues/667 - - src/hb-ot-shape-complex-indic.hh | 2 +- - src/hb-ot-shape-complex-khmer-machine.hh | 300 ++++++++++++++++++++----------- - src/hb-ot-shape-complex-khmer-machine.rl | 42 +++-- - src/hb-ot-shape-complex-khmer.cc | 4 +- - src/hb-ot-shape-complex-khmer.hh | 99 +++++----- - 5 files changed, 270 insertions(+), 177 deletions(-) - -commit 3dd43f0234febd434d89927adf2ee19f0489c5a7 -Merge: ab16b24cc eb1e60287 -Author: Michiharu Ariza -Date: Mon Oct 1 10:22:06 2018 -0700 - - Merge branch 'master' into cff-subset - -commit aaaa65baa7fcfb65ae814528bdd93cc5c4ea540d -Author: Behdad Esfahbod -Date: Mon Oct 1 16:59:48 2018 +0200 - - [khmer] Remove unused code - - src/hb-ot-shape-complex-khmer.hh | 12 ------------ - 1 file changed, 12 deletions(-) - -commit eb1e60287732ede6040ce6f7498c10909448d248 -Author: Behdad Esfahbod -Date: Mon Oct 1 15:31:50 2018 +0200 - - [test] Try import unicodedata2 as unicodedata - - test/shaping/hb_test_tools.py | 4 ++++ - 1 file changed, 4 insertions(+) - -commit 81afdbe803ca949d915d03cab4a6ed6c6e6ff304 -Author: Behdad Esfahbod -Date: Mon Oct 1 15:01:04 2018 +0200 - - [use] Disable automatic ZWJ for 'akhn' feature - - Fixes https://github.com/harfbuzz/harfbuzz/issues/746 - - src/hb-ot-shape-complex-use.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit ceef311dcaea7e1ecfedb4f1257a705572611f0f -Author: Behdad Esfahbod -Date: Mon Oct 1 12:45:06 2018 +0200 - - [use] Change categories for Left_And_* matras - - These are only relevant to Sinhala, because they decompose in other - cases. The USE spec categorizes them all as VPst. No idea why we - weren't following that before. - - src/gen-use-table.py | 4 ++-- - src/hb-ot-shape-complex-use-table.cc | 24 ++++++++++++------------ - 2 files changed, 14 insertions(+), 14 deletions(-) - -commit 3426a361571a1996b5a895fb9374ce3a4a7f9af3 -Author: Behdad Esfahbod -Date: Mon Oct 1 12:55:57 2018 +0200 - - Unbreak bots - - src/hb-cache.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 98ac01d3b3deb7c7f5411f6f25c6e7588d84b5f9 -Author: Behdad Esfahbod -Date: Mon Oct 1 12:10:00 2018 +0200 - - [morx] Break out if buffer gets into error - - Was getting stuck not making progress somehow. - - src/hb-aat-layout-common.hh | 2 ++ - src/hb-aat-layout-morx-table.hh | 4 ++++ - 2 files changed, 6 insertions(+) - -commit df827a6ab88cd8bde346176fc53a5c2d57eee808 -Author: Behdad Esfahbod -Date: Mon Oct 1 11:34:20 2018 +0200 - - [cache] Fix cache coherency corner-case - - If key_bits+value_bits-cache_bits==32 then -1 is ambiguous... - - src/hb-cache.hh | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -commit 0fa1edbd3bbf825be078677dc46c3440f9802551 -Author: Ebrahim Byagowi -Date: Mon Oct 1 09:40:29 2018 +0330 - - [circleci] Couple of fixes (#1200) - - * Raise error on warnings on -everything - * Enable fontconfig to two bots - * Fix msan bot now that all of its real complain are gone - - .circleci/config.yml | 14 ++++++-------- - src/check-symbols.sh | 2 ++ - src/hb-ucdn.cc | 2 ++ - test/fuzzing/run-shape-fuzzer-tests.py | 2 ++ - test/fuzzing/run-subset-fuzzer-tests.py | 2 ++ - util/helper-cairo.cc | 2 ++ - 6 files changed, 16 insertions(+), 8 deletions(-) - -commit 3babb0813c69d2b419f06773f366a44a9ad32cdb -Author: Behdad Esfahbod -Date: Sun Sep 30 20:02:30 2018 +0200 - - [msan] Disable icu explicitly - - .circleci/config.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit dc9b47ae87096d34d146e50e44e742a76861976f -Author: Behdad Esfahbod -Date: Sun Sep 30 18:35:12 2018 +0200 - - [msan] Remove uninstrumented libraries - - .circleci/config.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit ad1c190ecfbac66ffeef69db769073a33331eed3 -Author: Behdad Esfahbod -Date: Sun Sep 30 18:26:45 2018 +0200 - - Correct fix for glib-mkenum warning - - src/hb-buffer.h | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit 1dd1e56bf42af5b11afc3e34f78869e93d39867e -Author: Behdad Esfahbod -Date: Sun Sep 30 18:25:58 2018 +0200 - - Revert "Fix glib-mkenum warning" - - This reverts commit 247756a7d89008ee6a7d1171dc07ba22454c6034. - - Was wrong. Right fix coming. - - src/hb-buffer.h | 2 ++ - 1 file changed, 2 insertions(+) - -commit 3f08750fa6772e7e342b96192b84cb9963f7335b -Author: Behdad Esfahbod -Date: Sun Sep 30 18:23:34 2018 +0200 - - Move _POSIX_SOURCE to hb.hh - - src/hb-blob.cc | 5 ----- - src/hb.hh | 4 ++++ - 2 files changed, 4 insertions(+), 5 deletions(-) - -commit 90dd255e570bf8ea3436e2f29242068845256e55 -Author: Behdad Esfahbod -Date: Sun Sep 30 18:19:54 2018 +0200 - - Change _HB_SCRIPT_MAX_VALUE from 0xFFFFFFFF to 0x7FFFFFFF - - Fixes https://github.com/harfbuzz/harfbuzz/issues/504 - - src/hb-common.h | 8 +++++--- - 1 file changed, 5 insertions(+), 3 deletions(-) - -commit dcfcb950b81a2865ef01f5a69087264b79ed1bfd -Author: Behdad Esfahbod -Date: Sun Sep 30 18:14:50 2018 +0200 - - [test] Fix -Wunused-parameter warnings - - test/api/hb-test.h | 1 + - test/api/test-blob.c | 2 +- - test/api/test-c.c | 2 +- - test/api/test-font.c | 16 ++++++++-------- - test/api/test-multithread.c | 2 +- - test/api/test-ot-color.c | 2 +- - test/api/test-shape.c | 14 +++++++------- - test/api/test-unicode.c | 10 +++++----- - 8 files changed, 25 insertions(+), 24 deletions(-) - -commit be0b2ed3162f465dbf44a0f018d4e2af5dcdf87c -Author: Behdad Esfahbod -Date: Sun Sep 30 18:01:20 2018 +0200 - - More warning fixes - - test/api/test-multithread.c | 14 +++++++------- - 1 file changed, 7 insertions(+), 7 deletions(-) - -commit 5c65ed800de4caef5ee9ad2111225fa5d8235737 -Author: Behdad Esfahbod -Date: Sun Sep 30 17:48:55 2018 +0200 - - Fix bug introduced in 9b0b40b3c1ac8155c80ed5dc976228f4d3ec7e1f - - Also discovered by msan bot. - - src/hb-ot-shape-fallback.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 247756a7d89008ee6a7d1171dc07ba22454c6034 -Author: Behdad Esfahbod -Date: Sun Sep 30 13:10:54 2018 +0200 - - Fix glib-mkenum warning - - GEN hb-gobject-enums.h - WARNING: Failed to parse "/*< private >*/" in ../../src/hb-buffer.h - - src/hb-buffer.h | 2 -- - 1 file changed, 2 deletions(-) - -commit 0a89f9572fe2d0d9fbf0297e0a69307f0ba1a17c -Author: Ebrahim Byagowi -Date: Sun Sep 30 17:44:15 2018 +0330 - - [circleci] Pass ‌freetype compile flags to right place - - .circleci/config.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit ad701f05cc86c22e8e53b7f5458887457e3a5e5f -Author: Ebrahim Byagowi -Date: Sun Sep 30 17:30:42 2018 +0330 - - [circleci] Use an instrumented freetype on msan bot - - .circleci/config.yml | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -commit 57aabbc29ec6dfa7f1b57da7b6c62fdc547f8ef8 -Author: Ebrahim Byagowi -Date: Sun Sep 30 16:31:28 2018 +0330 - - [circleci] Another on fixing msan - - .circleci/config.yml | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit 24f148df3ecc899c9cf6d5359d3d35ee5e84a98c -Author: Ebrahim Byagowi -Date: Sun Sep 30 14:46:56 2018 +0330 - - [circleci] minor - - .circleci/config.yml | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit 0a9aab672287149540e8d90b5063ad4c562c423c -Author: Ebrahim Byagowi -Date: Sun Sep 30 14:45:43 2018 +0330 - - [circleci] Try to fix msan bot - - .circleci/config.yml | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit b5285b34798cb7ee672343d00cbe066ea8a2ef83 -Author: Behdad Esfahbod -Date: Sun Sep 30 12:23:01 2018 +0200 - - [util] Remove unneeded virtual - - clang warning: - - ../../util/options.hh:72:13: warning: destination for this 'memset' call is a pointer to dynamic class - 'option_parser_t'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] - memset (this, 0, sizeof (*this)); - ~~~~~~ ^ - ../../util/options.hh:72:13: note: explicitly cast the pointer to silence this warning - memset (this, 0, sizeof (*this)); - ^ - (void*) - - util/options.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 89ed040b21b366c927199bedd0e4cb060389d076 -Author: Behdad Esfahbod -Date: Sun Sep 30 06:06:26 2018 -0400 - - [util] Fix more non-virtual-destructor warnings - - util/options.hh | 28 ++++++++++++++++++---------- - 1 file changed, 18 insertions(+), 10 deletions(-) - -commit 2382dd07fa6ff49638b146a523e9d2e93cf69ceb -Author: Behdad Esfahbod -Date: Sun Sep 30 05:54:47 2018 -0400 - - Minor - - util/options.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 9caa432d0c5c09c8151cfce1e2cc184fbdd89594 -Author: Behdad Esfahbod -Date: Sun Sep 30 05:49:08 2018 -0400 - - [util] Use HB_FALLTHROUGH - - Sure, gcc knows to warn about this as well: - - ../../util/options.cc:175:17: warning: this statement may fall through [-Wimplicit-fallthrough=] - case 1: m.r = m.t; - ~~~~^~~~~ - ../../util/options.cc:176:5: note: here - case 2: m.b = m.t; - ^~~~ - - But HOLY SMOKES, look at clang -Weverything bot message: - - options.cc:176:5: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough] - case 2: m.b = m.t; - ^ - options.cc:176:5: note: insert 'HB_FALLTHROUGH;' to silence this warning - case 2: m.b = m.t; - ^ - HB_FALLTHROUGH; - - Right, it's telling me to insert "HB_FALLTHROUGH;" there!!!!!!!!! - - util/options.cc | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -commit 2e728a7d86c714d845524a0722c2b653feb9d915 -Author: Behdad Esfahbod -Date: Sun Sep 30 05:47:36 2018 -0400 - - [util] Mark var static - - From clang -Weverything bot: - - options.cc:39:3: warning: no previous extern declaration for non-static variable 'supported_font_funcs' [-Wmissing-variable-declarations] - - util/options.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit e910a1aef4b2413c627240fc06d2a5696b24747a -Author: Behdad Esfahbod -Date: Sun Sep 30 05:46:20 2018 -0400 - - [util] Add empty virtual destructor to option_group_t - - From clang -Weverything bot: - - ./options.hh:57:8: warning: 'option_group_t' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor] - struct option_group_t - ^ - - util/options.hh | 2 ++ - 1 file changed, 2 insertions(+) - -commit b1e07e1e6cc7a8e5445c7aeb9491ae629029011b -Author: Behdad Esfahbod -Date: Sun Sep 30 05:43:22 2018 -0400 - - [indic/khmer] Remove use of global constructors - - Alternative woul have been to resurrect F_COMBINE that I removed in - 70136a78cb9eda244767f8e8a3d30d0f3c569d01 - - But this does it for now. I'm not sure why check-static-inits.sh didn't - catch this before. Clang -Weverything bot did: - - CXX libharfbuzz_la-hb-ot-shape-complex-indic.lo - hb-ot-shape-complex-indic.cc:99:1: warning: declaration requires a global constructor [-Wglobal-constructors] - indic_features[] = - ^ - 1 warning generated. - CXX libharfbuzz_la-hb-ot-shape-complex-khmer.lo - hb-ot-shape-complex-khmer.cc:36:1: warning: declaration requires a global constructor [-Wglobal-constructors] - khmer_features[] = - ^ - 1 warning generated. - - src/hb-ot-map.hh | 2 ++ - src/hb-ot-shape-complex-indic.cc | 34 +++++++++++++++++----------------- - src/hb-ot-shape-complex-khmer.cc | 18 +++++++++--------- - 3 files changed, 28 insertions(+), 26 deletions(-) - -commit 00cd00e64130694ff7b49456d4bc421a153b4e6d -Author: Behdad Esfahbod -Date: Sun Sep 30 05:34:30 2018 -0400 - - Tweak HB_TAG and HB_UNTAG - - uint32_t was getting promoted to signed int, which is not what we wanted... - - Wow, clang has become good at generating warnings... - - ../../src/hb-common.h:349:29: warning: signed shift result (0xFF000000) sets the sign bit of the shift expression's type ('int') and becomes negative [-Wshift-sign-overflow] - _HB_SCRIPT_MAX_VALUE = HB_TAG_MAX, /*< skip >*/ - ^~~~~~~~~~ - ../../src/hb-common.h:93:20: note: expanded from macro 'HB_TAG_MAX' - define HB_TAG_MAX HB_TAG(0xff,0xff,0xff,0xff) - ^~~~~~~~~~~~~~~~~~~~~~~~~~~ - ../../src/hb-common.h:89:57: note: expanded from macro 'HB_TAG' - define HB_TAG(c1,c2,c3,c4) ((hb_tag_t)((((uint8_t)(c1))<<24)|(((uint8_t)(c2))<<16)|(((uint8_t)(c3))<<8)|((uint8_t)(c4)))) - ~~~~~~~~~~~~~~~^ ~~ - ../../src/hb-common.h:349:3: warning: ISO C restricts enumerator values to range of 'int' (4294967295 is too large) [-Wpedantic] - _HB_SCRIPT_MAX_VALUE = HB_TAG_MAX, /*< skip >*/ - ^ ~~~~~~~~~~ - - src/hb-common.h | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 8a31e406291f4cb27480fc85049f08abd739cb59 -Author: Behdad Esfahbod -Date: Sun Sep 30 05:27:39 2018 -0400 - - [font] Make *_advance() fallback to *_advances - - And remove redundant implementations. - - src/hb-font.cc | 12 ++++++++++++ - src/hb-ft.cc | 19 ------------------- - src/hb-ot-font.cc | 22 ---------------------- - 3 files changed, 12 insertions(+), 41 deletions(-) - -commit bd07d2878ff28baecf7b4b587a18ffbb744b7eb1 -Author: Behdad Esfahbod -Date: Sun Sep 30 03:54:40 2018 -0400 - - Use buffer scratch_flags to remember if we had any joiners - - src/hb-buffer.hh | 3 ++- - src/hb-ot-layout.hh | 12 ++++++++++-- - src/hb-ot-shape-complex-arabic.cc | 3 +++ - 3 files changed, 15 insertions(+), 3 deletions(-) - -commit ba0f0f156fe05bda760efcb0c8d34f303fa26ab0 -Author: Behdad Esfahbod -Date: Sun Sep 30 03:49:52 2018 -0400 - - Document setlocale() threadsafety issue - - "Fixes" //github.com/harfbuzz/harfbuzz/issues/1191 - - src/hb-buffer.cc | 2 ++ - src/hb-common.cc | 7 +++++++ - 2 files changed, 9 insertions(+) - -commit 06be2aa93fa6ea8cc32684a4b51bfe927c5202bb -Author: Ebrahim Byagowi -Date: Sun Sep 30 00:15:25 2018 +0330 - - [ci] Build glib and freetype and enable msan bot (#1198) - - .circleci/config.yml | 41 +++++++++++++++++++++-------------------- - 1 file changed, 21 insertions(+), 20 deletions(-) - -commit cefdef0247026f941eba8930c73b66b0498bb63c -Author: Ebrahim Byagowi -Date: Sat Sep 29 10:19:54 2018 +0330 - - Minor on test-multithread, align the actual and expected results - - test/api/test-multithread.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 678beff64ca3b2963de25d8a76a2bf3710c3d7a6 -Author: Ebrahim Byagowi -Date: Sat Sep 29 10:16:14 2018 +0330 - - [circleci] Add -Wno-reserved-id-macro to clang-everything - - .circleci/config.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit c763b9440189b541316054ba4f623e728b5aae77 -Author: Behdad Esfahbod -Date: Fri Sep 28 20:53:07 2018 -0400 - - [test-multithread] Disable FreeType funcs - - test/api/test-multithread.c | 8 ++++++-- - 1 file changed, 6 insertions(+), 2 deletions(-) - -commit 9b0b40b3c1ac8155c80ed5dc976228f4d3ec7e1f -Author: Behdad Esfahbod -Date: Fri Sep 28 11:16:18 2018 -0400 - - Fix fallback kerning to check for current glyph's mask - - src/hb-ot-shape-fallback.cc | 9 ++++++++- - 1 file changed, 8 insertions(+), 1 deletion(-) - -commit 909a07b587884e9cd1d92ba9f3d5b96d8774c67a -Author: Ebrahim Byagowi -Date: Sat Sep 29 03:10:13 2018 +0330 - - [circleci] Improve clang-everything bot log, more to come - - #1196 - - .circleci/config.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 9be8062b4d241f02bb96df436e98f10f08bda4f8 -Author: Ebrahim Byagowi -Date: Sat Sep 29 02:11:05 2018 +0330 - - [ci] Another try on mingw bot - - appveyor.yml | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit d4d261a97723b27fb9ad9a69b8dc7fd8c560a98b -Author: Ebrahim Byagowi -Date: Sat Sep 29 01:57:50 2018 +0330 - - [ci] Another try on fixing mingw bots - - Per https://github.com/Alexpux/MSYS2-packages/issues/163#issuecomment-73555971 - - appveyor.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 7b68edf2abc7680199360d52ed283cfc4f49b7d5 -Author: Ebrahim Byagowi -Date: Fri Sep 28 20:53:48 2018 +0330 - - [tests] Don't try to get glyph names on failures - - As it may cause a race unrelated to the issue actually happened - - test/api/test-multithread.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit d289d6381864649504abfb1196ac20a1d4664a4e -Author: Ebrahim Byagowi -Date: Fri Sep 28 20:47:21 2018 +0330 - - [ci] Trying to fix mingw bot - - As https://github.com/Alexpux/MSYS2-packages/issues/702 - - appveyor.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 33231a855f0e3d2a14e5e2fcb921c6fc773ae6cf -Author: Behdad Esfahbod -Date: Fri Sep 28 11:06:49 2018 -0400 - - Fix pthread fail for real - - Using a hack... - - test/api/Makefile.am | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit 8cb8209c911a69442f23f744981e3ed01e44a3fc -Author: Behdad Esfahbod -Date: Fri Sep 28 10:55:28 2018 -0400 - - Fix bot fails - - test/api/Makefile.am | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit f4072e8cb81072cd6d51a2607efedb76c02e7db1 -Author: Behdad Esfahbod -Date: Fri Sep 28 10:14:23 2018 -0400 - - [morx] Remove mark_set from Insertion - - text-rendering-tests test MORX-32 shows that for Insertion, an unset mark is treated - as mark set at 0. This is unlike the Reordering lookup where un unset mark performs - nothing. - - Fixes MORX-32. - - src/hb-aat-layout-morx-table.hh | 7 +------ - 1 file changed, 1 insertion(+), 6 deletions(-) - -commit 0d18ec5467818fa8f763ec2871146a64d39987e7 -Author: Behdad Esfahbod -Date: Fri Sep 28 10:00:07 2018 -0400 - - [morx] unsafe-to-break in Insertion - - Makes MORX-29, MORX-30, MORX-31 pass. - - src/hb-aat-layout-morx-table.hh | 2 ++ - 1 file changed, 2 insertions(+) - -commit 02bebe42c1ffbd8e11b232c943317c8cd8141afb -Author: Behdad Esfahbod -Date: Fri Sep 28 09:51:35 2018 -0400 - - [test/text-rendering-tests] Update from upstream - - test/shaping/data/text-rendering-tests/DISABLED | 4 ++++ - test/shaping/data/text-rendering-tests/Makefile.sources | 4 ++++ - .../text-rendering-tests/fonts/TestMORXThirtyone.ttf | Bin 0 -> 2964 bytes - .../text-rendering-tests/fonts/TestMORXThirtytwo.ttf | Bin 0 -> 2948 bytes - .../text-rendering-tests/fonts/TestMORXTwentynine.ttf | Bin 0 -> 3012 bytes - .../data/text-rendering-tests/tests/MORX-29.tests | 4 ++++ - .../data/text-rendering-tests/tests/MORX-30.tests | 4 ++++ - .../data/text-rendering-tests/tests/MORX-31.tests | 8 ++++++++ - .../data/text-rendering-tests/tests/MORX-32.tests | 4 ++++ - 9 files changed, 28 insertions(+) - -commit 4cd342baea323bf9709340bbabfc092c976c239c -Author: Behdad Esfahbod -Date: Fri Sep 28 09:47:45 2018 -0400 - - Fix ubsan bot - - test/api/Makefile.am | 1 + - 1 file changed, 1 insertion(+) - -commit b435df3a5b6f7fddc091c4362a36840305144a57 -Author: Behdad Esfahbod -Date: Fri Sep 28 09:13:14 2018 -0400 - - More atomic tuneup - - src/hb-atomic.hh | 18 +++++++++--------- - 1 file changed, 9 insertions(+), 9 deletions(-) - -commit 7e6e094abd27fd022fe9aea1872ef82f6a0cdcec -Author: Behdad Esfahbod -Date: Fri Sep 28 08:45:57 2018 -0400 - - [test-multithread] Install ot funcs before filling ref buffer - - test/api/test-multithread.c | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit 21fbee831e0eab2c2f4513825c939158f4578156 -Author: Behdad Esfahbod -Date: Fri Sep 28 08:43:37 2018 -0400 - - [test-multithread] Take num-threads and num-iters from command-line - - test/api/test-multithread.c | 5 +++++ - 1 file changed, 5 insertions(+) - -commit 598be3bb38fd11a288f8155b8c27ffef4ebdd8b9 -Author: Behdad Esfahbod -Date: Fri Sep 28 08:33:26 2018 -0400 - - Minor - - test/api/test-multithread.c | 1 + - 1 file changed, 1 insertion(+) - -commit c09bf3d50589c8eb95b322ef3e4eb8a288dacebe -Author: Ebrahim Byagowi -Date: Fri Sep 28 16:13:01 2018 +0330 - - test-multithread, check the results on every iteration (#1194) - - test/api/test-multithread.c | 59 ++++++++++++++++++++++++--------------------- - 1 file changed, 32 insertions(+), 27 deletions(-) - -commit dbc3070a15290310bb5aade11d04eb24fe958094 -Author: Ebrahim Byagowi -Date: Fri Sep 28 16:01:15 2018 +0330 - - Make test-multithread pass the tsan bot test (#1193) - - test/api/test-multithread.c | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -commit d2542cd28c70b2ba7ab28c0fe5459a1b4a873478 -Author: Behdad Esfahbod -Date: Thu Sep 27 17:23:24 2018 -0400 - - More atomic fixup - - src/hb-atomic.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 3ee96984f4633852736b33640c89d1706bc77e0b -Author: Behdad Esfahbod -Date: Thu Sep 27 17:20:26 2018 -0400 - - Fixup atomics from recent change - - src/hb-atomic.hh | 7 +++++-- - 1 file changed, 5 insertions(+), 2 deletions(-) - -commit 305468708dc9ce9dadad36c117c380f13bcc6a26 -Author: Behdad Esfahbod -Date: Thu Sep 27 16:54:23 2018 -0400 - - [cache] Use atomic writes in clear() - - To help TSan. - - src/hb-cache.hh | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -commit 341b70a3b47ef3ceeb81e715937d6b2305258060 -Merge: bbf2a0954 9e9a36ee6 -Author: n8willis -Date: Thu Sep 27 11:15:22 2018 -0500 - - Merge pull request #1 from harfbuzz/master - - Resync with upstream - -commit 9e9a36ee651502b69717895385387951a2d0802a -Author: Volker Krause -Date: Thu Sep 27 16:33:49 2018 +0200 - - Fix infinite loop when walking up the directory hierarchy (#1183) - - A single find_package(harfbuzz) line in user code resulted in this loop - getting stuck when _harfbuzz_libdir_iter became "/". - - src/harfbuzz-config.cmake.in | 4 ++++ - 1 file changed, 4 insertions(+) - -commit 0c1d852bc41a4f69f890be4817c84bd7de56e07a -Author: Ebrahim Byagowi -Date: Thu Sep 27 11:53:17 2018 +0330 - - Use clang for compiling freetype for tsan bot - - .circleci/config.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit ab16b24cc94389ac66a9353327d2a87a7c230ed4 -Author: Michiharu Ariza -Date: Wed Sep 26 18:51:36 2018 -0700 - - tweaked get_fd fix - - src/hb-ot-cff-common.hh | 7 ++++--- - 1 file changed, 4 insertions(+), 3 deletions(-) - -commit dac70f252a84e1a255375eaacffc2cb3f3fc6e58 -Author: Michiharu Ariza -Date: Wed Sep 26 16:30:26 2018 -0700 - - Added CFF1 J font subset to api test - - Also fixed FDSelect3_4::get_fd - Fixed test_subset_cff1_strip_hints (wrong font names!) - - src/hb-ot-cff-common.hh | 2 +- - .../fonts/SourceHanSans-Regular.41,3041,4E9D.otf | Bin 0 -> 5864 bytes - test/api/fonts/SourceHanSans-Regular.41,4E9D.otf | Bin 0 -> 5500 bytes - test/api/test-subset-cff1.c | 25 +++++++++++++++++++-- - 4 files changed, 24 insertions(+), 3 deletions(-) - -commit 662f7d7e8bfa77b21ffa05e853f61dda993dcc8a -Author: Behdad Esfahbod -Date: Wed Sep 26 18:42:37 2018 -0400 - - [arabic] Do the joiner-flipping only for rlig feature - - See comment. - - src/hb-ot-shape-complex-arabic.cc | 24 +++++++++++++++++++----- - 1 file changed, 19 insertions(+), 5 deletions(-) - -commit 7f30629cddcf0196d7b754df0cb2d4a8e5fed4b6 -Author: Behdad Esfahbod -Date: Wed Sep 26 16:40:23 2018 -0400 - - [ft] Make TSan happy - - src/hb-ft.cc | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit ec743fce2a72a1cb76ac9401747a442a03a051d9 -Author: Behdad Esfahbod -Date: Wed Sep 26 16:37:18 2018 -0400 - - Add more atomic intrinsics - - src/hb-atomic.hh | 21 ++++++++++++++++++--- - 1 file changed, 18 insertions(+), 3 deletions(-) - -commit d183b33c1dd42055a9432f4a756ea20856913201 -Author: Behdad Esfahbod -Date: Wed Sep 26 16:29:35 2018 -0400 - - Rename test - - test/api/Makefile.am | 2 +- - test/api/{test-subset-codepoints.c => test-collect-unicodes.c} | 0 - 2 files changed, 1 insertion(+), 1 deletion(-) - -commit c9c75fe3d9eb36f166d594ceb5889a1dc0b14fe6 -Author: Ebrahim Byagowi -Date: Thu Sep 27 00:08:06 2018 +0330 - - [ci] Compile freetype on tsan and put sanitizer flags on correct places (#1188) - - .circleci/config.yml | 11 ++++++----- - 1 file changed, 6 insertions(+), 5 deletions(-) - -commit 39da1914b4fd1c58d61cb29c78a0904ff6b905c6 -Author: Ebrahim Byagowi -Date: Wed Sep 26 23:32:45 2018 +0330 - - Test freetype funcs on test-multithread (#1187) - - test/api/Makefile.am | 6 ++++-- - test/api/test-multithread.c | 25 +++++++++++++++++-------- - 2 files changed, 21 insertions(+), 10 deletions(-) - -commit e88009a93f5d13ed31b6262f928761e9574dcef1 -Author: Ebrahim Byagowi -Date: Wed Sep 26 22:53:02 2018 +0330 - - Minor, remove the no longer needed comment on test-multithread - - test/api/test-multithread.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 90a0f9fa0c020c268ac3ba31c7f1337eed85f35e -Author: Behdad Esfahbod -Date: Wed Sep 26 15:03:07 2018 -0400 - - Make TSan happy with make_immutable() - - src/hb-blob.cc | 2 ++ - src/hb-face.cc | 2 ++ - src/hb-font.cc | 4 ++++ - src/hb-unicode.cc | 2 ++ - 4 files changed, 10 insertions(+) - -commit 34d5a2595331c568ae524057d031c9d5d2573978 -Author: Behdad Esfahbod -Date: Wed Sep 26 15:02:21 2018 -0400 - - Fix test-multithread and increase num_threads to 30 - - What were you thinking? ;) - - test/api/test-multithread.c | 56 +++++++++++++++++++++------------------------ - 1 file changed, 26 insertions(+), 30 deletions(-) - -commit 8bb73dad7f3279e1f1362cf9a137504e8ef08985 -Author: Ebrahim Byagowi -Date: Wed Sep 26 20:50:51 2018 +0330 - - Add a multithreaded test (#1184) - - test/api/Makefile.am | 6 ++ - test/api/test-multithread.c | 146 ++++++++++++++++++++++++++++++++++++++++++++ - 2 files changed, 152 insertions(+) - -commit 04caf11608d2db13eb6ed2ecc3d406e284b4c13c -Author: Behdad Esfahbod -Date: Wed Sep 26 12:13:47 2018 -0400 - - [hb-view] Change subpixel bits from 8 to 6 - - To match FreeType units, such that FreeType gets correct size from us. - This matters more now that we allow setting --ft-load-flags. - - util/hb-view.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 824111d4842b9a7bbbdcd147325f8f372ed3d37c -Author: Behdad Esfahbod -Date: Tue Sep 25 12:47:37 2018 -0400 - - Fix iOS build - - Fixes https://github.com/harfbuzz/harfbuzz/pull/1179 - - src/hb-coretext.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 4b4be7701f635f8378e7f868cfbe8d4571fc841f -Author: Ebrahim Byagowi -Date: Tue Sep 25 09:24:35 2018 +0330 - - [circle] Add an obsessive clang bot (#1178) - - .circleci/config.yml | 17 +++++++++++++++++ - 1 file changed, 17 insertions(+) - -commit ae7f0e83d4417fac2455c44eaea15b3cca03d18e -Author: Michiharu Ariza -Date: Mon Sep 24 22:49:44 2018 -0700 - - fixed memory leaks - - in CFF1 & CFF2 accelerators, VORG subsetter - - src/hb-ot-cff1-table.hh | 2 ++ - src/hb-ot-cff2-table.hh | 2 ++ - src/hb-ot-vorg-table.hh | 3 +++ - 3 files changed, 7 insertions(+) - -commit 258b456566abd266657725b3fc4e70f18b370d5d -Author: Michiharu Ariza -Date: Mon Sep 24 16:50:47 2018 -0700 - - Added CFF1 & CFF2 api tests - - test/api/Makefile.am | 4 + - test/api/fonts/AdobeVFPrototype.abc.otf | Bin 0 -> 7800 bytes - test/api/fonts/AdobeVFPrototype.ac.nohints.otf | Bin 0 -> 7152 bytes - test/api/fonts/AdobeVFPrototype.ac.otf | Bin 0 -> 7336 bytes - test/api/fonts/SourceSansPro-Regular.abc.otf | Bin 0 -> 3412 bytes - .../api/fonts/SourceSansPro-Regular.ac.nohints.otf | Bin 0 -> 3228 bytes - test/api/fonts/SourceSansPro-Regular.ac.otf | Bin 0 -> 3332 bytes - test/api/test-subset-cff1.c | 104 +++++++++++++++++++++ - test/api/test-subset-cff2.c | 104 +++++++++++++++++++++ - 9 files changed, 212 insertions(+) - -commit 8282e881b51363811078bce53fad6aa5b41f7b41 -Author: Behdad Esfahbod -Date: Mon Sep 24 19:43:01 2018 -0400 - - Disable msan bot again - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1175 - - .circleci/config.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 6c0e7eb6a6f3f888442c0a97ce6a771631990ed6 -Author: Behdad Esfahbod -Date: Mon Sep 24 19:07:23 2018 -0400 - - Minor - - src/hb-ot-map.hh | 1 + - src/hb-ot-shape-complex-indic.cc | 34 +++++++++++++++++----------------- - src/hb-ot-shape-complex-khmer.cc | 18 +++++++++--------- - 3 files changed, 27 insertions(+), 26 deletions(-) - -commit d748dc76644f28d4130f9cb1dee7a22cbe81c25d -Author: Behdad Esfahbod -Date: Mon Sep 24 18:30:50 2018 -0400 - - More iter inits - - src/hb-ot-layout-gsubgpos.hh | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - -commit d9867497d09af929554eaa89cc6fee865b018646 -Author: Behdad Esfahbod -Date: Mon Sep 24 18:11:59 2018 -0400 - - Minor - - src/hb-ot-shape.cc | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 70136a78cb9eda244767f8e8a3d30d0f3c569d01 -Author: Behdad Esfahbod -Date: Mon Sep 24 18:03:34 2018 -0400 - - Remove F_COMBINE - - Now I wonder if any bots will be unhappy we calling | in static const initializations... - Or would that cost runtime init? Our tests don't detect any.. - - src/hb-ot-map.hh | 2 -- - src/hb-ot-shape-complex-arabic.cc | 2 +- - 2 files changed, 1 insertion(+), 3 deletions(-) - -commit f048ead84a4d3fe0bb712ed228c2f39c01ce9705 -Author: Behdad Esfahbod -Date: Mon Sep 24 18:01:53 2018 -0400 - - Some more - - src/hb-ot-map.cc | 5 +++-- - src/hb-ot-map.hh | 13 +++++++------ - src/hb-ot-shape-complex-arabic.cc | 18 +++++++++--------- - src/hb-ot-shape-complex-hangul.cc | 2 +- - src/hb-ot-shape-complex-indic.cc | 8 ++++---- - src/hb-ot-shape-complex-khmer.cc | 8 ++++---- - src/hb-ot-shape-complex-myanmar.cc | 10 +++++----- - src/hb-ot-shape-complex-tibetan.cc | 2 +- - src/hb-ot-shape-complex-use.cc | 20 ++++++++++---------- - src/hb-ot-shape.cc | 30 +++++++++++++++--------------- - 10 files changed, 59 insertions(+), 57 deletions(-) - -commit 1676f608c8e4f880789252ca448bb008f6dd51b4 -Author: Behdad Esfahbod -Date: Mon Sep 24 17:55:03 2018 -0400 - - Minor refactoring - - src/hb-ot-map.hh | 15 ++++++++++- - src/hb-ot-shape-complex-hangul.cc | 2 +- - src/hb-ot-shape-complex-indic.cc | 52 +++++++++++++++----------------------- - src/hb-ot-shape-complex-khmer.cc | 38 ++++++++++------------------ - src/hb-ot-shape-complex-myanmar.cc | 2 +- - 5 files changed, 51 insertions(+), 58 deletions(-) - -commit 10203339600e85d6aaffba6034ac250e72fdfc12 -Author: Ebrahim Byagowi -Date: Tue Sep 25 01:00:32 2018 +0330 - - [circleci] Update sanitizer bots with newer clang and Ubuntu version (#1176) - - .circleci/config.yml | 48 ++++++++++++++++++++++++++++++++---------------- - 1 file changed, 32 insertions(+), 16 deletions(-) - -commit 12b8baa7653741ba13a89cd40f1f36b8bac11666 -Author: Behdad Esfahbod -Date: Mon Sep 24 17:22:39 2018 -0400 - - [msan] Enable again to get a build log, and try to play with suppressions - - .circleci/config.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit aec0d3cbc923a8801c5bd9e9ae05801a31a7260c -Author: Behdad Esfahbod -Date: Mon Sep 24 13:12:15 2018 -0400 - - [ubsan] Re-enable now that it passes locally - - .circleci/config.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 4839807340cc73d5ba826dff4b4ba358775a213d -Author: Behdad Esfahbod -Date: Mon Sep 24 13:11:34 2018 -0400 - - [check-static-inits.sh] Allow some if ubsan is in effect - - src/check-static-inits.sh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 0604bf2b3846b200c56447ffe542bf69c0529a06 -Merge: 76e54d2bd 45f5aa979 -Author: Michiharu Ariza -Date: Mon Sep 24 10:09:25 2018 -0700 - - Merge branch 'master' into cff-subset - -commit e45ba31dc723988150ef766758fa89fecd50ca03 -Author: Behdad Esfahbod -Date: Mon Sep 24 13:04:48 2018 -0400 - - [check-symbols.sh] Allow weak objects "V" - - ubsan generates these. - - src/check-symbols.sh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit d07f3111b4bc38798e16a2459b80a16d7a9f9ff1 -Author: Behdad Esfahbod -Date: Mon Sep 24 13:01:35 2018 -0400 - - Link API test programs with C++ linker - - Needed to make ubsan work. - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1174 - - test/api/Makefile.am | 2 ++ - 1 file changed, 2 insertions(+) - -commit a96508cfc9bd9013d24b18547fcd9c03e08fe2f2 -Author: Behdad Esfahbod -Date: Mon Sep 24 12:52:42 2018 -0400 - - [msan] Add MSAN_OPTIONS=exitcode=42 - - Default exit value is 77, which causes autotools to "skip" test. - - .circleci/config.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 45f5aa97905996e3486c6dbba8493b11cfa0cf15 -Author: Behdad Esfahbod -Date: Mon Sep 24 12:43:29 2018 -0400 - - [circleci] Disable msan and ubsan builds - - https://github.com/harfbuzz/harfbuzz/issues/1174 - https://github.com/harfbuzz/harfbuzz/issues/1175 - - .circleci/config.yml | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 2d93148a0f915bb52433ecc9d66845191a2f9135 -Author: Behdad Esfahbod -Date: Mon Sep 24 11:52:22 2018 -0400 - - Ignore weak symbols in check-symbols.sh - - Some clang versions leave a std::round(float) weak symbol around... - - src/check-symbols.sh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 55bae6825ed2058255a512a73293e3cdff0e78a4 -Author: Behdad Esfahbod -Date: Mon Sep 24 10:43:06 2018 -0400 - - [docs] A few improvements - - If we wrote just this much every day... - - src/hb-buffer.cc | 4 ++++ - src/hb-buffer.h | 20 +++++++++++++++----- - src/hb-face.cc | 11 +++++++---- - src/hb-font.cc | 12 +++++++----- - 4 files changed, 33 insertions(+), 14 deletions(-) - -commit 57fa2c23de8b6b66894d6872d192ac90ec8bf05a -Author: Behdad Esfahbod -Date: Mon Sep 24 09:57:52 2018 -0400 - - Readjust Hebrew composition again - - src/hb-ot-shape-complex-hebrew.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 7f335390f3a498119319a0e6c3ce7656a3902066 -Author: Behdad Esfahbod -Date: Mon Sep 24 09:56:18 2018 -0400 - - Revert change that would decompose text if GPOS mark feature is available - - https://github.com/harfbuzz/harfbuzz/issues/653#issuecomment-423905920 - - src/hb-ot-shape-normalize.cc | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit a6f4b2f7cd088aeb44e1aac672434641f4f9e484 -Author: Behdad Esfahbod -Date: Mon Sep 24 09:54:37 2018 -0400 - - Fix normalization - - https://github.com/harfbuzz/harfbuzz/commit/62d1e0852a5549a1b510ad46a4b89f12730bb708#commitcomment-30613091 - - src/hb-ot-shape-normalize.cc | 1 - - 1 file changed, 1 deletion(-) - -commit 3583fb03b14a10ec5ab5f9c480e150934101fd0b -Author: Behdad Esfahbod -Date: Sun Sep 23 22:33:38 2018 -0400 - - Simplify ZWJ-skipping a bit - - Towards disabling ZWJ-skipping in certain GPOS contexts. - - Part of https://github.com/flutter/flutter/issues/16886 - - src/hb-ot-layout-gsubgpos.hh | 6 +++--- - src/hb-ot-shape-complex-indic.cc | 21 ++++++++++++++++----- - src/hb-ot-shape-complex-khmer.cc | 21 ++++++++++++++------- - src/hb-ot-shape-complex-myanmar.cc | 15 ++++++++++++++- - src/hb-ot-shape-complex-use.cc | 15 +++++++++++++-- - 5 files changed, 60 insertions(+), 18 deletions(-) - -commit 9516cbd3df7ccdb40b27a7ba99a1e0da8a6b170c -Author: Behdad Esfahbod -Date: Sun Sep 23 22:00:34 2018 -0400 - - Reinit skippy iters when auto_zwj / auto_zwnj change - - Ouch. How did we not hit this bug before... - - src/hb-ot-layout-gsubgpos.hh | 17 +++++++++-------- - 1 file changed, 9 insertions(+), 8 deletions(-) - -commit 62d1e0852a5549a1b510ad46a4b89f12730bb708 -Author: Behdad Esfahbod -Date: Sun Sep 23 21:32:18 2018 -0400 - - Prefer decomposed form if font has GPOS mark feature - - Fixes https://github.com/harfbuzz/harfbuzz/issues/653 - - src/hb-ot-shape-complex-hebrew.cc | 2 +- - src/hb-ot-shape-normalize.cc | 126 ++++++++++++++++++++------------------ - src/hb-ot-shape-normalize.hh | 7 ++- - 3 files changed, 72 insertions(+), 63 deletions(-) - -commit d7f21777e6a797758ab234555f5f7e07c87278f9 -Author: Behdad Esfahbod -Date: Sun Sep 23 19:12:52 2018 -0400 - - [ot-font] Fix leak - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1171 - - I'm glad we have leak-detector bots now. - - src/hb-ot-post-table.hh | 1 + - 1 file changed, 1 insertion(+) - -commit ae39a53f55e6b812defb4c7b48562651c9eb13a3 -Author: Ebrahim Byagowi -Date: Sat Sep 22 14:22:17 2018 +0330 - - Add bots with address- and thread-sanitizer - - .circleci/config.yml | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 52 insertions(+) - -commit 24dd6c1a9d8d571c30dce4d39c1975b1d1cedc2a -Author: Matt Oliver -Date: Sun Sep 23 18:08:30 2018 +1000 - - src/hb-blob.cc: Fix mmap functionality with UWP. - - src/hb-blob.cc | 27 +++++++++++++++++++++++++++ - src/hb.hh | 4 +++- - 2 files changed, 30 insertions(+), 1 deletion(-) - -commit b7f1bbc2f8b14a402fa9e42e88919dc0173373ce -Author: Khaled Hosny -Date: Sat Sep 22 16:41:56 2018 +0200 - - [test] Fix printing subprocess error messages - - Decode the string as Python 3 returns bytes string, and also don’t - assume that it ends with a new line. - - test/shaping/run-tests.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 403019482b0d7f17fbdb5def2be5f43e28bafcf3 -Author: Ebrahim Byagowi -Date: Sat Sep 22 17:24:03 2018 +0330 - - Fix test-subset-* leak issues - - See also https://github.com/harfbuzz/harfbuzz/pull/1169 - - test/api/hb-subset-test.h | 12 +++++++++--- - 1 file changed, 9 insertions(+), 3 deletions(-) - -commit f6ebe1f4dc95a7c4b3a0af23086873a11867c1d9 -Author: Ebrahim Byagowi -Date: Sat Sep 22 17:05:52 2018 +0330 - - Fix test-ot-math leak issue - - See also https://github.com/harfbuzz/harfbuzz/pull/1169 - - test/api/test-ot-math.c | 4 ++++ - 1 file changed, 4 insertions(+) - -commit 669ac81ac52e9d559324db851a9ee46ef651e7b0 -Author: Ebrahim Byagowi -Date: Sat Sep 22 16:49:23 2018 +0330 - - Fix test-set leak issue - - See also https://github.com/harfbuzz/harfbuzz/pull/1169 - - test/api/test-set.c | 1 + - 1 file changed, 1 insertion(+) - -commit ef9307fd2227bf0f750d8f7fafae466affc81454 -Author: Ebrahim Byagowi -Date: Sat Sep 22 16:45:31 2018 +0330 - - Fix test-font leak issue - - See also https://github.com/harfbuzz/harfbuzz/pull/1169 - - test/api/test-font.c | 1 + - 1 file changed, 1 insertion(+) - -commit 76e54d2bd804414183858ca198157050419dfe6c -Author: Michiharu Ariza -Date: Fri Sep 21 12:16:36 2018 -0700 - - fixed subroutinized CFF2 flattening - - and some code cleanup - - src/hb-cff-interp-common.hh | 2 +- - src/hb-cff-interp-cs-common.hh | 13 ------------- - src/hb-cff2-interp-cs.hh | 7 ++++--- - 3 files changed, 5 insertions(+), 17 deletions(-) - -commit 321e592333014f713557e8ce8041dcb5de710218 -Author: Michiharu Ariza -Date: Thu Sep 20 10:31:06 2018 -0700 - - Added desubroutinize option to generate-expected-outputs.py - - Currently hb-subset always desubroutinizes CFF fonts. - Note that even with this option fonttools won't generate the expected subset CFF fonts. They were manually created & tweaked to match hb-subset output. - - test/subset/generate-expected-outputs.py | 1 + - 1 file changed, 1 insertion(+) - -commit f212c050ad50898d5105d1d3a6ea3498f94ee462 -Author: Michiharu Ariza -Date: Thu Sep 20 09:45:43 2018 -0700 - - Added VORG struct and its subsetter - - new file: hb-ot-vorg-table.hh - - src/Makefile.sources | 1 + - src/hb-ot-vorg-table.hh | 163 ++++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-subset.cc | 5 +- - 3 files changed, 168 insertions(+), 1 deletion(-) - -commit 5fd8bce945e7efaa48d0c29eb8b2700027bd3c0b -Author: Behdad Esfahbod -Date: Wed Sep 19 22:34:09 2018 -0400 - - [morx] Fix mark_set check - - src/hb-aat-layout-morx-table.hh | 4 +--- - 1 file changed, 1 insertion(+), 3 deletions(-) - -commit 1377adc8a88c627891cb8b9cea511d8f9f5324f9 -Author: Michiharu Ariza -Date: Wed Sep 19 17:00:10 2018 -0700 - - Added SourceHanSans-Regular for CFF subset test - - Disabled FDSelect serialization to format 0 for compatibility with fonttools - - src/hb-subset-cff-common.cc | 16 +++++++++++++--- - .../japanese/SourceHanSans-Regular.default..otf | Bin 0 -> 2340 bytes - ...Regular.default.3042,3044,3046,3048,304A,304B.otf | Bin 0 -> 6248 bytes - ...Regular.default.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 0 -> 6432 bytes - .../SourceHanSans-Regular.default.61,63,65,6B.otf | Bin 0 -> 5428 bytes - ...Regular.default.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 0 -> 6552 bytes - .../japanese/SourceHanSans-Regular.default.660E.otf | Bin 0 -> 5196 bytes - .../japanese/SourceHanSans-Regular.drop-hints..otf | Bin 0 -> 2188 bytes - ...ular.drop-hints.3042,3044,3046,3048,304A,304B.otf | Bin 0 -> 6076 bytes - ...ular.drop-hints.3042,3044,3046,73E0,5EA6,8F38.otf | Bin 0 -> 6180 bytes - .../SourceHanSans-Regular.drop-hints.61,63,65,6B.otf | Bin 0 -> 5312 bytes - ...ular.drop-hints.660E,6975,73E0,5EA6,8F38,6E05.otf | Bin 0 -> 6248 bytes - .../SourceHanSans-Regular.drop-hints.660E.otf | Bin 0 -> 5088 bytes - test/subset/data/fonts/SourceHanSans-Regular.otf | Bin 0 -> 16427580 bytes - test/subset/data/tests/japanese.tests | 1 + - 15 files changed, 14 insertions(+), 3 deletions(-) - -commit 0739b28169eb63332b31420deb5bf58b5446f154 -Author: Behdad Esfahbod -Date: Wed Sep 19 17:32:21 2018 -0400 - - [aat] Minor - - src/hb-aat-layout-common.hh | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 7671cb9b04770d50b1b2a05a24f6fadc35993cd1 -Author: Behdad Esfahbod -Date: Wed Sep 19 17:10:26 2018 -0400 - - [coretext] Minor - - src/hb-coretext.cc | 10 ++++++---- - 1 file changed, 6 insertions(+), 4 deletions(-) - -commit dc8ed45292ce4e522c3bda03fd83873da7b6591e -Author: Behdad Esfahbod -Date: Wed Sep 19 16:46:41 2018 -0400 - - [morx] Implement forward/backward processing - - We reverse too many times. Can be optimized. But I doubt many fonts - use reverse lookups, so doesn't matter. - - Other than not applying user features, this completes morx table - implementation. - - src/hb-aat-layout-morx-table.hh | 40 ++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 40 insertions(+) - -commit 3bccd62196b5dff70d446c3fe053b1b47bb9c19e -Author: Behdad Esfahbod -Date: Wed Sep 19 16:24:34 2018 -0400 - - [morx] Implement horiz-only/vert-only subtables - - src/hb-aat-layout-morx-table.hh | 24 +++++++++++++++++++++++- - 1 file changed, 23 insertions(+), 1 deletion(-) - -commit 041a08de3d0ca74d3e2fdccfa5311ff26a8b97e4 -Author: Behdad Esfahbod -Date: Wed Sep 19 16:02:56 2018 -0400 - - [morx] Improve buffer position in Insertion w DontAdvance and wo - - Just speculation. Needs tests to determine which is correct behavior. - - src/hb-aat-layout-morx-table.hh | 23 ++++++++++++++++++----- - 1 file changed, 18 insertions(+), 5 deletions(-) - -commit ebeccf3e63bff96b7a7766dea566704a9cbeae44 -Author: Michiharu Ariza -Date: Tue Sep 18 17:24:30 2018 -0700 - - fixed char widths & standard Encoding in subset CFF - - also merged flush_n_args to flush_args into one - takes start index of the arguments on stack instead of count - - src/hb-cff-interp-cs-common.hh | 20 +++++--------------- - src/hb-cff1-interp-cs.hh | 11 +++++++---- - src/hb-cff2-interp-cs.hh | 2 +- - src/hb-subset-cff1.cc | 22 ++++++++++++++++------ - src/hb-subset-cff2.cc | 12 ++++++------ - 5 files changed, 35 insertions(+), 32 deletions(-) - -commit bf4eb2e4cf8d08b674f81954e22b331cca2b3721 -Author: Michiharu Ariza -Date: Tue Sep 18 15:53:37 2018 -0700 - - Added SourceSansPro-Regular along as CFF full-font test case - - derived "expected" subset fonts from fonttools then manually tweaked further so they resemble hb-subset output - - ...ourceSansPro-Regular.default.1FC,21,41,20,62,63.otf | Bin 0 -> 3640 bytes - .../SourceSansPro-Regular.default.61,62,63.otf | Bin 0 -> 3400 bytes - .../SourceSansPro-Regular.default.D7,D8,D9,DA,DE.otf | Bin 0 -> 3596 bytes - ...ceSansPro-Regular.drop-hints.1FC,21,41,20,62,63.otf | Bin 0 -> 3480 bytes - .../SourceSansPro-Regular.drop-hints.61,62,63.otf | Bin 0 -> 3276 bytes - ...SourceSansPro-Regular.drop-hints.D7,D8,D9,DA,DE.otf | Bin 0 -> 3448 bytes - test/subset/data/fonts/SourceSansPro-Regular.otf | Bin 0 -> 220852 bytes - test/subset/data/tests/full-font.tests | 1 + - test/subset/run-tests.py | 4 ++-- - test/subset/subset_test_suite.py | 5 +++++ - 10 files changed, 8 insertions(+), 2 deletions(-) - -commit e75e7224c9c02ab99e132a51fe8801e29827cac5 -Author: Michiharu Ariza -Date: Mon Sep 17 15:34:39 2018 -0700 - - include curve control points in extents - - this makes results consistent with FT - also optimized handling of path end points - - src/hb-cff-interp-cs-common.hh | 6 +++--- - src/hb-ot-cff1-table.cc | 27 +++++++++++++++++++++++++-- - 2 files changed, 28 insertions(+), 5 deletions(-) - -commit 98b94f8ba53276887ab583eeeb4cb097c7b84b2c -Author: Michiharu Ariza -Date: Mon Sep 17 13:56:39 2018 -0700 - - fix static_assert failure in OffsetTo - - src/hb-ot-cff2-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit d050ab8d3e73debfb414fc8c9426180459150b61 -Merge: f0a4e0c2c 388ab9164 -Author: Michiharu Ariza -Date: Mon Sep 17 13:07:29 2018 -0700 - - Merge branch 'master' into cff-subset - -commit f0a4e0c2ca5ee0225765590384216d5d5367de7e -Author: Michiharu Ariza -Date: Mon Sep 17 12:11:56 2018 -0700 - - fix build attempt ^3 - - src/hb-ot-cff1-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit f0d74971aee5ce309bdfa2a4397667f14ee15f42 -Author: Michiharu Ariza -Date: Mon Sep 17 12:02:12 2018 -0700 - - fix attempt ^2: unuse INT32_MAX/MIN - - src/hb-ot-cff1-table.cc | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 4d963a2711e6035e97e246241d8420273363f857 -Author: Michiharu Ariza -Date: Mon Sep 17 11:28:33 2018 -0700 - - fix build attempt - - src/hb-ot-cff1-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 388ab91642734e1ba0d7a4a4f29a17b15f1b249d -Author: Behdad Esfahbod -Date: Mon Sep 17 19:29:34 2018 +0200 - - [morx] Implement InsertionChain - - src/hb-aat-layout-morx-table.hh | 87 ++++++++++++++++------------------------- - 1 file changed, 33 insertions(+), 54 deletions(-) - -commit c0c85b852d37dad75eeef473e6dd3ec91a3b559b -Author: Michiharu Ariza -Date: Mon Sep 17 11:14:56 2018 -0700 - - implemented get_glyph_extents with CFF1 - - Implemented path operators in a new struct PathProc hooked up to CSOpSet - Added current point to CSInterpEnv - - src/hb-cff-interp-common.hh | 86 ++++++++- - src/hb-cff-interp-cs-common.hh | 425 +++++++++++++++++++++++++++++++++++++++-- - src/hb-cff1-interp-cs.hh | 18 +- - src/hb-cff2-interp-cs.hh | 10 +- - src/hb-null.hh | 2 +- - src/hb-ot-cff1-table.cc | 82 ++++++++ - src/hb-ot-cff1-table.hh | 95 +++++---- - src/hb-ot-face.cc | 1 + - src/hb-ot-face.hh | 1 + - src/hb-ot-font.cc | 2 + - src/hb-subset-cff1.cc | 4 +- - src/hb-subset-cff2.cc | 10 +- - 12 files changed, 657 insertions(+), 79 deletions(-) - -commit d8d1e7df0057c79f54d855b7bfec2d21f59b09e8 -Author: David Corbett -Date: Mon Sep 17 11:09:51 2018 -0400 - - Don't enforce a native direction for Old Hungarian - - src/hb-common.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 6a97d0f3d377a35ea691d15ac142ce043f953e71 -Author: Simon Hausmann -Date: Mon Sep 17 10:33:34 2018 +0200 - - Fix installation of cmake config when building with cmake (#1161) - - When building with the auto tools, the manually mantained - harfbuzz-config.cmake is installed. When building with cmake, we can use - cmake to generate the correct config files for us and install them. - - CMakeLists.txt | 5 +++++ - 1 file changed, 5 insertions(+) - -commit 606bf57430370810f7bb62ba12b9685d8943685d -Author: Behdad Esfahbod -Date: Sun Sep 16 19:33:48 2018 +0200 - - Revert forcing use of single-parameter static_assert() - - Some clang versions define static_assert as a macro apparently, so we cannot - redefine it... - - This reverts commit 94bfea0ce6a7b4d5641c198d50751748a353df11. - This reverts commit 4e62627831e7457ed60ff87712570065b14b200a. - - src/hb-atomic.hh | 4 ++-- - src/hb-buffer.cc | 2 +- - src/hb-buffer.hh | 4 ++-- - src/hb-cache.hh | 4 ++-- - src/hb-coretext.cc | 2 +- - src/hb-debug.hh | 2 +- - src/hb-dsalgs.hh | 4 ++-- - src/hb-machinery.hh | 4 ++-- - src/hb-null.hh | 8 +++---- - src/hb-open-type.hh | 4 ++-- - src/hb-ot-layout-common.hh | 2 +- - src/hb-ot-layout-gdef-table.hh | 6 +++--- - src/hb-ot-layout.cc | 14 ++++++------ - src/hb-ot-map.cc | 2 +- - src/hb-ot-math-table.hh | 2 +- - src/hb-ot-shape-complex-arabic-fallback.hh | 2 +- - src/hb-ot-shape-complex-indic.hh | 2 +- - src/hb-ot-shape-complex-use.cc | 2 +- - src/hb-set-digest.hh | 4 ++-- - src/hb-set.hh | 6 +++--- - src/hb-uniscribe.cc | 2 +- - src/hb.hh | 34 +++++++++++++----------------- - util/options.cc | 3 ++- - 23 files changed, 58 insertions(+), 61 deletions(-) - -commit cbcaba6ffdf6b147d45baa95d62fd29cec67ed54 -Author: Behdad Esfahbod -Date: Sun Sep 16 19:25:19 2018 +0200 - - One more bot fix - - src/hb-unicode.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 94bfea0ce6a7b4d5641c198d50751748a353df11 -Author: Behdad Esfahbod -Date: Sun Sep 16 19:12:19 2018 +0200 - - Fix build, another try - - util/options.cc | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit 89dd4b959773d35981299551074ccc7a1eb332bd -Author: Behdad Esfahbod -Date: Sun Sep 16 18:11:46 2018 +0200 - - Fix bots - - "Unused private member" warning turned error. ugh. - - src/hb-aat-layout-morx-table.hh | 2 ++ - 1 file changed, 2 insertions(+) - -commit 4e62627831e7457ed60ff87712570065b14b200a -Author: Behdad Esfahbod -Date: Sun Sep 16 18:09:36 2018 +0200 - - Enforce single-param static_assert() only - - So we don't accidentally break it again. - - src/hb-atomic.hh | 4 ++-- - src/hb-buffer.cc | 2 +- - src/hb-buffer.hh | 4 ++-- - src/hb-cache.hh | 4 ++-- - src/hb-coretext.cc | 2 +- - src/hb-debug.hh | 2 +- - src/hb-dsalgs.hh | 4 ++-- - src/hb-machinery.hh | 4 ++-- - src/hb-null.hh | 8 +++---- - src/hb-open-type.hh | 4 ++-- - src/hb-ot-layout-common.hh | 2 +- - src/hb-ot-layout-gdef-table.hh | 6 +++--- - src/hb-ot-layout.cc | 14 ++++++------ - src/hb-ot-map.cc | 2 +- - src/hb-ot-math-table.hh | 2 +- - src/hb-ot-shape-complex-arabic-fallback.hh | 2 +- - src/hb-ot-shape-complex-indic.hh | 2 +- - src/hb-ot-shape-complex-use.cc | 2 +- - src/hb-set-digest.hh | 4 ++-- - src/hb-set.hh | 6 +++--- - src/hb-uniscribe.cc | 2 +- - src/hb.hh | 34 +++++++++++++++++------------- - 22 files changed, 60 insertions(+), 56 deletions(-) - -commit f1a86e1e6f3906f33fc89de694a4bbbc3e40d2bc -Author: Behdad Esfahbod -Date: Sun Sep 16 18:01:32 2018 +0200 - - Remove unused try - - src/hb-null.hh | 13 ------------- - 1 file changed, 13 deletions(-) - -commit ebd50b3c83a22a0fdba53271275b8619a23739aa -Author: Behdad Esfahbod -Date: Sun Sep 16 17:57:12 2018 +0200 - - Fix static_assert - - src/hb-open-type.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 10642b3fbfbc1776e784b190c43a9e0693dd423a -Author: Behdad Esfahbod -Date: Sat Sep 15 19:43:33 2018 +0200 - - Disallow null-enabled offsets to unsized structures... - - ...like UnsizedArrayOf<>. - - This fixes a class of crasher bugs, mostly with color and AAT tables. We - cannot use nullable offsets to varsized data that does not declare min_size, - because it's nost safe to use our fixed-size null pool for types that have - their size external. So, use non_null'able offsets for these. - - A further enhancement would be to make use of min_size in Null<> itself. - Will try that after. - - src/hb-aat-layout-common.hh | 8 ++++---- - src/hb-aat-layout-feat-table.hh | 2 +- - src/hb-aat-layout-morx-table.hh | 10 +++++----- - src/hb-aat-layout-trak-table.hh | 4 ++-- - src/hb-aat-ltag-table.hh | 2 +- - src/hb-open-type.hh | 5 +++++ - src/hb-ot-color-cbdt-table.hh | 4 +--- - src/hb-ot-color-colr-table.hh | 4 ++-- - src/hb-ot-color-cpal-table.hh | 8 ++++---- - src/hb-ot-color-svg-table.hh | 2 +- - src/hb-ot-layout-common.hh | 18 ++++++++++-------- - src/hb-ot-layout-jstf-table.hh | 4 ++-- - 12 files changed, 38 insertions(+), 33 deletions(-) - -commit 9ff76c6025b55d184c96b193f23aa935ab32f1fc -Author: Behdad Esfahbod -Date: Sat Sep 15 18:31:14 2018 +0200 - - [morx] Respect default feature settings - - Does NOT apply user-selected features. But at least now enables - correct subtables. - - src/hb-aat-layout-morx-table.hh | 34 +++++++++++++++++++++++----------- - 1 file changed, 23 insertions(+), 11 deletions(-) - -commit 2f97da6e2d6629e112789d399765d90f96952c0a -Author: Behdad Esfahbod -Date: Sat Sep 15 14:51:50 2018 +0200 - - [aat] Change version field - - src/hb-aat-layout-morx-table.hh | 14 +++++++------- - 1 file changed, 7 insertions(+), 7 deletions(-) - -commit 29c2bd1795b933a611512af50a14f25e25d43159 -Author: Behdad Esfahbod -Date: Sat Sep 15 14:47:18 2018 +0200 - - [morx] Add stub for InsertionChain - - src/hb-aat-layout-morx-table.hh | 209 ++++++++++++++++++++++++++++++++++++++-- - 1 file changed, 200 insertions(+), 9 deletions(-) - -commit f8ccb545c47abe8f0f4ed318ff7b5bf176913893 -Author: Behdad Esfahbod -Date: Fri Sep 14 18:59:53 2018 +0200 - - [dfont] Disable null-processsing for offsets - - An offset to unsized arrayis not safe to be redirected to our fixed-sized - null pool. Plus, we want to reject, not repair, bad-looking dfonts. - - src/hb-open-file.hh | 8 ++++---- - src/hb-open-type.hh | 2 +- - 2 files changed, 5 insertions(+), 5 deletions(-) - -commit 01b9148d9ae7d18228538774243e49840cfd2499 -Author: Behdad Esfahbod -Date: Fri Sep 14 14:23:09 2018 +0200 - - [unicode] Move Fitzpatrick hack from ot-layout into unicode.hh - - src/hb-ot-layout.hh | 12 +----------- - src/hb-unicode.hh | 36 +++++++++++++++++++++++++++--------- - 2 files changed, 28 insertions(+), 20 deletions(-) - -commit 6ebbf514ac90712fe089b2b64f68d1cf681edd5d -Author: Behdad Esfahbod -Date: Fri Sep 14 12:15:53 2018 +0200 - - Minor - - src/hb-ot-layout.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 957dbed388fc3214248f6aca65902ad277d070fb -Author: Behdad Esfahbod -Date: Fri Sep 14 12:14:42 2018 +0200 - - Fix builds - - src/hb-aat-layout-common.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 4653e6cf3c1ef5005886d901df30e952d57eed6c -Author: Behdad Esfahbod -Date: Fri Sep 14 11:31:33 2018 +0200 - - [aat] Add enums for pre-defined state and classes - - Not sure how I didn't add before... - - src/hb-aat-layout-common.hh | 19 ++++++++++++++++--- - 1 file changed, 16 insertions(+), 3 deletions(-) - -commit 67449c39331babb88f7d29d737895d786cd5da33 -Author: Behdad Esfahbod -Date: Fri Sep 14 10:58:00 2018 +0200 - - Don't dereference offset before check_struct() - - src/hb-open-file.hh | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit f2c4720ae696096d90493db218ef1283681561e7 -Merge: 1234a8136 ca746f261 -Author: Michiharu Ariza -Date: Thu Sep 13 12:44:00 2018 -0700 - - Merge branch 'master' into cff-subset - -commit ca746f261e1e54cec2f9c8bc7a6f930491e19418 -Author: Behdad Esfahbod -Date: Thu Sep 13 20:35:21 2018 +0200 - - [dfont] Also check dataLen range in sanitize - - Just to disagree with myself re being done with this code... - - src/hb-open-file.hh | 1 + - 1 file changed, 1 insertion(+) - -commit 3789c557ca06aef430726f4942cafecac6fe4eef -Author: Behdad Esfahbod -Date: Thu Sep 13 20:30:04 2018 +0200 - - [dfont] Solve the mystery +2 offset thing! - - Previously, ResourceForkHeader was defined as 30 bytes, having the typeCountM1 as last member. - There was a mysterious offset-by-2 in the code, derived from FontTools and JDK code this was - ported from. - - In testing, I observed that typeListZ offset is actually 28. Suggesting that the typeCountM1 - does NOT actually belong to ResourceForkHeader, but belongs to the array itself. Adjusting for - that resolves the mystery +2 offset hack, so everything is clean and good now. - - This, concludes my dfont hacking. The code looks great now, and I'm happy to leave it. - Fuzzers might disagree though, we will see! - - src/hb-open-file.hh | 30 ++++++++++++------------------ - src/hb-open-type.hh | 44 ++++++++++++++++++++++++++++++++++++++++++++ - 2 files changed, 56 insertions(+), 18 deletions(-) - -commit effc7ced72a6ce0fea328a8b68dc3d55f09774f1 -Author: Behdad Esfahbod -Date: Thu Sep 13 20:21:54 2018 +0200 - - Rename HeadlessArrayOf::len to lenP1 - - So it doesn't accidentally match our templates, etc. - - src/hb-open-type.hh | 14 +++++++------- - src/hb-ot-layout-gsub-table.hh | 10 +++++----- - src/hb-ot-layout-gsubgpos.hh | 10 +++++----- - 3 files changed, 17 insertions(+), 17 deletions(-) - -commit 1234a8136891429bb7353f47480595f44615f322 -Author: Michiharu Ariza -Date: Thu Sep 13 10:55:56 2018 -0700 - - add head table to CFF/CFF2 - - src/hb-ot-cff1-table.hh | 4 ++++ - src/hb-ot-cff2-table.hh | 4 ++++ - 2 files changed, 8 insertions(+) - -commit 180a88a96ce327e4103df3635c73559de65d1546 -Author: Behdad Esfahbod -Date: Thu Sep 13 19:19:57 2018 +0200 - - [dfont] Some more - - src/hb-open-file.hh | 21 ++++++++------------- - 1 file changed, 8 insertions(+), 13 deletions(-) - -commit 0ab0f1e5ac5ccb07c57364e9f5be0b991398eb6f -Author: Behdad Esfahbod -Date: Thu Sep 13 19:13:01 2018 +0200 - - [dfont] Push methods further down - - src/hb-open-file.hh | 58 ++++++++++++++++++++++++++++++----------------------- - 1 file changed, 33 insertions(+), 25 deletions(-) - -commit 8c9bdcc1feeab321a642bdaac50b716e48ce4263 -Author: Behdad Esfahbod -Date: Thu Sep 13 19:08:22 2018 +0200 - - [dfont] Minor - - src/hb-open-file.hh | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 4479d3a2eda57d278700f5c78414ef6ef617d2a9 -Author: Behdad Esfahbod -Date: Thu Sep 13 19:05:59 2018 +0200 - - [dfon]t Sanitize OpenTypeFontFace - - src/hb-dsalgs.hh | 6 ------ - src/hb-open-file.hh | 21 +++++++++------------ - 2 files changed, 9 insertions(+), 18 deletions(-) - -commit 3fba41906fba28c5ea01cc0749654de862453bf4 -Author: Behdad Esfahbod -Date: Thu Sep 13 18:49:16 2018 +0200 - - [dfont] Minor - - src/hb-open-file.hh | 9 +++------ - 1 file changed, 3 insertions(+), 6 deletions(-) - -commit bf852f0e62a8bdbb809af6a975f8ae8eed708d70 -Author: Behdad Esfahbod -Date: Thu Sep 13 18:47:53 2018 +0200 - - [dfont] Make test pass - - Offset 0 is not null in this context. - - src/hb-open-file.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 29faebe911a13916aa3d737e93d38deedc53567f -Author: Behdad Esfahbod -Date: Thu Sep 13 18:45:35 2018 +0200 - - Allow Offset<>'s that have no 0==null - - src/hb-open-type.hh | 43 +++++++++++++++++++++---------------------- - 1 file changed, 21 insertions(+), 22 deletions(-) - -commit 82f4d776c21b7c1224dd7073ce69cdf76d85f16b -Author: Behdad Esfahbod -Date: Thu Sep 13 18:27:20 2018 +0200 - - [dfont] Minor - - src/hb-open-file.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 07e0ca930c29757217c2f9e4e0e6954657b6b82d -Author: Behdad Esfahbod -Date: Thu Sep 13 17:39:09 2018 +0200 - - [bytes] Rename content to arrayZ - - src/hb-dsalgs.hh | 16 ++++++++-------- - src/hb-ot-post-table.hh | 2 +- - 2 files changed, 9 insertions(+), 9 deletions(-) - -commit dbb764dceb61365b7360a48d581ba5a4b3526e98 -Author: Behdad Esfahbod -Date: Thu Sep 13 16:49:26 2018 +0200 - - [dfont] Clean up sanitize() - - I don't think I broke anything. Fuzzers will let me know.. - - src/hb-dsalgs.hh | 8 ++++ - src/hb-open-file.hh | 122 ++++++++++++++++++++++++---------------------------- - 2 files changed, 64 insertions(+), 66 deletions(-) - -commit 361fc2686152ad8c0ebaf19e0522e0fc58ba3953 -Author: Behdad Esfahbod -Date: Thu Sep 13 16:47:33 2018 +0200 - - Fix OffsetTo::sanitize() after reshuffling - - src/hb-open-type.hh | 12 ++++++++---- - 1 file changed, 8 insertions(+), 4 deletions(-) - -commit 4c6b0fb5f6668a6e562260d16f629ad3c41e8961 -Author: Behdad Esfahbod -Date: Thu Sep 13 16:39:30 2018 +0200 - - OffsetTo::sanitize() Add version with three user_data - - src/hb-open-type.hh | 18 +++++++++++++----- - 1 file changed, 13 insertions(+), 5 deletions(-) - -commit a73bea69c599787b4cfeac92a3afd00749e00434 -Author: Behdad Esfahbod -Date: Thu Sep 13 16:31:31 2018 +0200 - - OffsetTo::sanitize() more shuffling - - src/hb-open-type.hh | 18 +++++++++--------- - 1 file changed, 9 insertions(+), 9 deletions(-) - -commit b482e5231cd5987082dd2c05fd649c3653f3c67a -Author: Behdad Esfahbod -Date: Thu Sep 13 16:29:49 2018 +0200 - - OffsetTo::sanitize() reshuffling - - src/hb-open-type.hh | 26 +++++++++++++++++++------- - 1 file changed, 19 insertions(+), 7 deletions(-) - -commit 3cae9c75153277b9cfaaba20e0de84e420aeb1eb -Author: Michiharu Ariza -Date: Wed Sep 12 17:23:08 2018 -0700 - - fixed hb_plan_subset_cff_fdselect - - FDSelect3/4 sentinel size wasn't taken into account - - src/hb-subset-cff-common.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 0f159a38a62bbf1b7fb267694a5d91d8135da625 -Author: Michiharu Ariza -Date: Wed Sep 12 16:08:54 2018 -0700 - - fixed serialize_fdselect_3_4 - - src/hb-ot-cff-common.hh | 6 ++++ - src/hb-ot-cff1-table.hh | 6 ---- - src/hb-subset-cff-common.cc | 68 ++++++++++++++++++++++++++------------------- - src/hb-subset-cff-common.hh | 10 +++---- - src/hb-subset-cff1.cc | 12 ++++---- - src/hb-subset-cff2.cc | 12 ++++---- - 6 files changed, 63 insertions(+), 51 deletions(-) - -commit 1608481d88919ca748e367146e3a78458d5bbe8f -Author: Michiharu Ariza -Date: Wed Sep 12 13:22:19 2018 -0700 - - fixed bugs in Charset serialization - - also some code cleanup - - src/hb-ot-cff1-table.hh | 4 ++-- - src/hb-subset-cff1.cc | 44 ++++++++++++++++++++------------------------ - 2 files changed, 22 insertions(+), 26 deletions(-) - -commit f45ac6296add6435ea5a902f7519187414aa8092 -Author: Michiharu Ariza -Date: Tue Sep 11 22:41:50 2018 -0700 - - fixed name mixup in Remap::reset - - it was causing inconsistent Strings Index subset results - - src/hb-ot-cff-common.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 497e7fb264ec5cb799c038cbe693b70410b18da3 -Author: Michiharu Ariza -Date: Tue Sep 11 16:47:55 2018 -0700 - - misc bug fixes - - Added OpCode_FontMatrix to TopDictOpSet (yet to parse values) - fixed a wrong assert in encode_int - - src/hb-cff-interp-dict-common.hh | 3 +++ - src/hb-subset-cff-common.hh | 2 +- - 2 files changed, 4 insertions(+), 1 deletion(-) - -commit 5b453f77f804cd8421a45d8276ed3e04041da23c -Author: Michiharu Ariza -Date: Tue Sep 11 16:20:39 2018 -0700 - - fixed off-by-one error with offSize - - src/hb-ot-cff-common.hh | 5 +++-- - src/hb-subset-cff1.cc | 4 ++-- - src/hb-subset-cff2.cc | 2 +- - 3 files changed, 6 insertions(+), 5 deletions(-) - -commit 1499029a9695e26beaf72e11287be60ad9e40cfe -Author: Michiharu Ariza -Date: Tue Sep 11 13:56:52 2018 -0700 - - fixed a bug - - src/hb-cff-interp-dict-common.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 0bd5912a08698fb7880e1354e45bf63ef45125a5 -Author: Michiharu Ariza -Date: Tue Sep 11 13:24:27 2018 -0700 - - make parse_bcd locale free - - src/hb-cff-interp-dict-common.hh | 92 +++++++++++++++++++++++++++++----------- - 1 file changed, 68 insertions(+), 24 deletions(-) - -commit bb38d0f66388ec37ee9b0e81176d60c66fc17a19 -Author: Michiharu Ariza -Date: Tue Sep 11 10:43:15 2018 -0700 - - Implement parse_bcd - - src/hb-cff-interp-common.hh | 15 -------------- - src/hb-cff-interp-dict-common.hh | 44 ++++++++++++++++++++++++++++++++++++++++ - 2 files changed, 44 insertions(+), 15 deletions(-) - -commit 45e564a51917475ef6481825a6efb5b99bf1912e -Merge: c6f75c304 d5c509272 -Author: Michiharu Ariza -Date: Tue Sep 11 09:46:37 2018 -0700 - - Merge branch 'master' into cff-subset - -commit bd75fd45cdbd0edb24568326bb7fde59d299a82c -Author: Behdad Esfahbod -Date: Tue Sep 11 18:12:26 2018 +0200 - - [dfont] Some renaming, plus add link to reference doc - - src/hb-open-file.hh | 79 ++++++++++++++++++++++++----------------------------- - 1 file changed, 35 insertions(+), 44 deletions(-) - -commit 4134ec1307bbaff24972e238bc5e4a403cd3f1c1 -Author: Behdad Esfahbod -Date: Tue Sep 11 17:56:03 2018 +0200 - - [dfont] Sanitize only sfnt resources as OpenTypeFontFile - - src/hb-open-file.hh | 11 +++++++---- - 1 file changed, 7 insertions(+), 4 deletions(-) - -commit 6b5e4d07adb6b739dc294da513c4a7acd03977f7 -Author: Behdad Esfahbod -Date: Tue Sep 11 17:26:24 2018 +0200 - - [dfont] Minor - - src/hb-open-file.hh | 7 ++----- - 1 file changed, 2 insertions(+), 5 deletions(-) - -commit d5c509272f2fbd1b4c56e3b530da7e42e7f03901 -Author: Behdad Esfahbod -Date: Tue Sep 11 17:18:21 2018 +0200 - - [dfont] Fix test expecatation and minor touch up - - I have no way to authoritatively know, but looks like test font only has one - face. So, adjust test expectation instead. - - src/hb-open-file.hh | 18 ++++++------------ - test/shaping/data/in-house/tests/collections.tests | 2 +- - 2 files changed, 7 insertions(+), 13 deletions(-) - -commit 2b2ed1e536061cfd3a0f29522118f42b451678bd -Author: Ebrahim Byagowi -Date: Mon Jul 2 17:26:43 2018 +0430 - - [dfont] Add test - - test/shaping/data/in-house/Makefile.sources | 1 + - test/shaping/data/in-house/fonts/TestDFONT.dfont | Bin 0 -> 3505 bytes - test/shaping/data/in-house/fonts/TestTTC.ttc | Bin 0 -> 2608 bytes - test/shaping/data/in-house/tests/collections.tests | 6 ++++++ - 4 files changed, 7 insertions(+) - -commit 9479ffefbfa3ea4ee39747e34177d26ab1ebbec9 -Author: Behdad Esfahbod -Date: Tue Sep 11 16:41:26 2018 +0200 - - [dfont] Re-enable and fix offset handling - - Fixes https://github.com/harfbuzz/harfbuzz/pull/1085 - - src/hb-face.cc | 5 +++-- - src/hb-open-file.hh | 19 +++++++++++++------ - 2 files changed, 16 insertions(+), 8 deletions(-) - -commit a1814e2bec3a43b9eeb4d50a67daae3fc52fd0a5 -Author: Behdad Esfahbod -Date: Tue Sep 11 14:45:23 2018 +0200 - - Whitespace - - src/hb-open-file.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 383060cc3354e12611dec3082a6fe08fdb25f652 -Author: Behdad Esfahbod -Date: Tue Sep 11 14:41:19 2018 +0200 - - [ft] Invalidate advance cache if font size changed - - src/hb-ft.cc | 9 +++++++++ - 1 file changed, 9 insertions(+) - -commit 54998befc43ef38e47b74b3153380adbcf6279d4 -Author: Behdad Esfahbod -Date: Tue Sep 11 14:35:26 2018 +0200 - - [ft] Cache advances - - I decided to always use the cache, instead of my previous sketch direction - that was to only allocate and use cache if fast advances are not available. - The cache is a mere 1kb, so just use it... - - TODO: Invalidate cache on font size change. - - Fixes https://github.com/harfbuzz/harfbuzz/issues/651 - Fixes https://github.com/harfbuzz/harfbuzz/pull/1082 - - src/hb-cache.hh | 2 +- - src/hb-ft.cc | 37 +++++++++++++++++-------------------- - 2 files changed, 18 insertions(+), 21 deletions(-) - -commit f90bab8560816b60b4b3f2379b36c08756b21e6c -Author: Behdad Esfahbod -Date: Tue Sep 11 14:21:15 2018 +0200 - - [util] Add --ft-load-flags - - Useful for performance testing. - - Not hooked to cairo yet. Just changes shaping, not rasterization. - - util/helper-cairo.cc | 2 +- - util/options.cc | 4 ++++ - util/options.hh | 2 ++ - 3 files changed, 7 insertions(+), 1 deletion(-) - -commit 93f7596254808d567b9e1e01fb4855efcd34677c -Author: Behdad Esfahbod -Date: Tue Sep 11 14:11:10 2018 +0200 - - [util] Add -n shorthand for --num-iterations - - Meh. - - util/options.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 047a84c5dd76cdfc072de25c572e30866f87a1f7 -Author: Behdad Esfahbod -Date: Tue Sep 11 14:05:16 2018 +0200 - - [ft] Towards caching slow get_h_advance results - - Related to https://github.com/harfbuzz/harfbuzz/pull/1082 - - src/hb-ft.cc | 24 ++++++++++++++++++++---- - 1 file changed, 20 insertions(+), 4 deletions(-) - -commit 237f21537842e6b471cdd6c86b98edfc0da0756c -Author: Behdad Esfahbod -Date: Tue Sep 11 13:05:47 2018 +0200 - - [ft] Add advances() callback - - src/hb-ft.cc | 27 +++++++++++++++++++++++++++ - 1 file changed, 27 insertions(+) - -commit cbea7d49ab8d4765a2d72dcbf608d326bdf9af3d -Author: Behdad Esfahbod -Date: Tue Sep 11 12:56:17 2018 +0200 - - [ot-font] Rename - - src/hb-ot-font.cc | 74 +++++++++++++++++++++++++++---------------------------- - 1 file changed, 37 insertions(+), 37 deletions(-) - -commit d8a67dac2a673138bb4d41cd7eab97c9ee987958 -Author: Behdad Esfahbod -Date: Tue Sep 11 12:55:54 2018 +0200 - - [ot-font] Add advances() callbacks - - src/hb-ot-font.cc | 43 ++++++++++++++++++++++++++++++++++++++++++- - 1 file changed, 42 insertions(+), 1 deletion(-) - -commit 0ea42e117ba2c76e118974fe114ae5d9ceef5743 -Author: Behdad Esfahbod -Date: Tue Sep 11 12:22:42 2018 +0200 - - [cache] Minor - - src/hb-cache.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 0f520adaacca3c7b6d8e84a7722343184105f612 -Author: Behdad Esfahbod -Date: Tue Sep 11 12:02:34 2018 +0200 - - Revert "Remove unused hb_cache_t" - - This reverts commit 473b17af4d421f4ce7ac18c769731bb2aa4088f8. - - Updates to recent changes. - - src/Makefile.sources | 1 + - src/hb-cache.hh | 75 ++++++++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-ft.cc | 1 + - 3 files changed, 77 insertions(+) - -commit cfdea884754ed40ffa5cc00cb1ecaa86cb46a394 -Author: Behdad Esfahbod -Date: Tue Sep 11 10:57:48 2018 +0200 - - [random] Switch to 32bit RNG - - src/hb-ot-layout-gsubgpos.hh | 7 ++++--- - test/shaping/data/in-house/tests/rand.tests | 4 ++-- - 2 files changed, 6 insertions(+), 5 deletions(-) - -commit 08260c708ae6adc4efa9bde5e9ede01b7e4d42cc -Author: Behdad Esfahbod -Date: Tue Sep 11 10:51:19 2018 +0200 - - [random] Shuffle - - src/hb-ot-layout-gsub-table.hh | 5 +---- - src/hb-ot-layout-gsubgpos.hh | 6 ++++++ - 2 files changed, 7 insertions(+), 4 deletions(-) - -commit 71c9f84e7c0afe41a8987b8a4ebc2b45a22fac56 -Author: Behdad Esfahbod -Date: Mon Sep 10 22:37:19 2018 +0200 - - Make --features rand=1 available to the user - - Use rand=255 to mean "randomize". - - Part of https://github.com/harfbuzz/harfbuzz/pull/803 - - src/hb-ot-layout-gsub-table.hh | 11 ++++------- - src/hb-ot-layout-gsubgpos.hh | 1 + - src/hb-ot-map.cc | 4 ++-- - src/hb-ot-map.hh | 3 +++ - src/hb-ot-shape.cc | 2 +- - 5 files changed, 11 insertions(+), 10 deletions(-) - -commit cc1c4fdf88f6953dcd07fb42ee963404657cdef4 -Author: Behdad Esfahbod -Date: Mon Sep 10 16:36:05 2018 +0200 - - Respect user's wish if they set rand feature manually - - Except if the set it to 1, which would mean "randomize"... Ugly. - - src/hb-ot-layout-gsub-table.hh | 30 ++++++++++++++++-------------- - 1 file changed, 16 insertions(+), 14 deletions(-) - -commit 80de4bcd2677bfb0907ea7059524f918b109ac37 -Author: Behdad Esfahbod -Date: Mon Sep 10 16:24:52 2018 +0200 - - Minor clean up of 'rand' patchset - - src/hb-ot-layout-gsub-table.hh | 7 +++++-- - src/hb-ot-layout-gsubgpos.hh | 7 ++++--- - src/hb-ot-shape.cc | 13 ++++++------- - test/shaping/data/in-house/tests/rand.tests | 2 +- - 4 files changed, 16 insertions(+), 13 deletions(-) - -commit b545e27d8891f1e7f1fd034dd84abe44c839c380 -Author: David Corbett -Date: Fri Feb 23 12:22:32 2018 -0500 - - Don't seed the RNG from the contents of the buffer - - src/hb-ot-layout-gsubgpos.hh | 7 ++----- - src/hb-ot-layout.cc | 5 +---- - test/shaping/data/in-house/tests/rand.tests | 2 +- - 3 files changed, 4 insertions(+), 10 deletions(-) - -commit 2de96e846844d21888af6893378b21a33fc19232 -Author: David Corbett -Date: Sat Jan 27 19:48:38 2018 -0500 - - Test 'rand' - - test/shaping/data/in-house/Makefile.sources | 1 + - .../fonts/5bb74492f5e0ffa1fbb72e4c881be035120b6513.ttf | Bin 0 -> 1352 bytes - test/shaping/data/in-house/tests/rand.tests | 3 +++ - 3 files changed, 4 insertions(+) - -commit f05df643b44d9bbfd742e93f02c235fc821190d0 -Author: David Corbett -Date: Fri Jan 26 21:36:15 2018 -0500 - - Allow requesting a specific glyph for 'rand' - - Randomization only happens by default. If the user specifies a value for - 'rand', that value is respected. - - src/hb-ot-map.cc | 3 ++- - src/hb-ot-map.hh | 4 +++- - src/hb-ot-shape.cc | 7 ++++++- - 3 files changed, 11 insertions(+), 3 deletions(-) - -commit c2a75e07e54314f6c611dda0f050ed5f09909e43 -Author: David Corbett -Date: Thu Jan 25 14:22:03 2018 -0500 - - Implement 'rand' - - src/hb-ot-layout-gsub-table.hh | 19 ++++++++++++------- - src/hb-ot-layout-gsubgpos.hh | 8 ++++++++ - src/hb-ot-layout.cc | 8 ++++++++ - src/hb-ot-map.cc | 7 +++++-- - src/hb-ot-map.hh | 4 +++- - src/hb-ot-shape.cc | 1 + - 6 files changed, 37 insertions(+), 10 deletions(-) - -commit c6f75c3049685440d166bd4169b36abac2df4fdd -Author: Michiharu Ariza -Date: Mon Sep 10 17:02:31 2018 -0700 - - fix build attempt - - src/hb-ot-cff1-table.hh | 70 ++++++++++++++++++++++++------------------------- - src/hb-subset-cff1.cc | 16 +++++------ - 2 files changed, 43 insertions(+), 43 deletions(-) - -commit 96471fe8593575deceb44d3757c227f65f10a25e -Author: Behdad Esfahbod -Date: Tue Sep 11 01:39:23 2018 +0200 - - [uniscribe] Fix build - - src/hb-uniscribe.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit cc52e53cf0cb76809145ae7407a8b613e9e61153 -Author: Michiharu Ariza -Date: Mon Sep 10 16:27:49 2018 -0700 - - Removed unused subr subset code - - src/hb-subset-cff-common.hh | 98 ++------------------------------------------- - src/hb-subset-cff1.cc | 92 +++++------------------------------------- - src/hb-subset-cff2.cc | 90 ++++------------------------------------- - 3 files changed, 22 insertions(+), 258 deletions(-) - -commit becd84aa2f2902ea9d2d1677b28945e103a68816 -Author: Behdad Esfahbod -Date: Tue Sep 11 01:26:18 2018 +0200 - - Add HB_FEATURE_GLOBAL_START/END - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1141 - - New API: - HB_FEATURE_GLOBAL_START - HB_FEATURE_GLOBAL_END - - docs/harfbuzz-sections.txt | 2 ++ - src/hb-common.cc | 4 ++-- - src/hb-common.h | 13 +++++++++++++ - 3 files changed, 17 insertions(+), 2 deletions(-) - -commit 13a8786c7c580651d8a6db9345b9aa85ca8ed956 -Author: Behdad Esfahbod -Date: Tue Sep 11 01:07:06 2018 +0200 - - Add (unused) hb_array_t<> - - src/hb-dsalgs.hh | 20 ++++++++++++++++++++ - 1 file changed, 20 insertions(+) - -commit bccf3e1827eec07433340eea705597201b6d0a32 -Author: Behdad Esfahbod -Date: Tue Sep 11 01:04:50 2018 +0200 - - Minor - - src/hb-open-type.hh | 1 - - 1 file changed, 1 deletion(-) - -commit dff2c45f1e2a30767f6813d3cb6a70978d98d424 -Author: Behdad Esfahbod -Date: Mon Sep 10 23:29:26 2018 +0200 - - Port rest from VAR to UnsizedArrayOf<> - - src/hb-aat-layout-common.hh | 14 +++++++------- - src/hb-aat-layout-morx-table.hh | 16 ++++++++-------- - src/hb-open-type.hh | 10 +++++----- - src/hb-ot-cmap-table.hh | 8 +++++--- - src/hb-ot-color-cbdt-table.hh | 16 ++++++++-------- - src/hb-ot-glyf-table.hh | 10 +++++----- - src/hb-ot-hdmx-table.hh | 30 +++++++++++++----------------- - src/hb-ot-hmtx-table.hh | 8 ++++---- - src/hb-ot-kern-table.hh | 20 ++++++++++---------- - src/hb-ot-layout-common.hh | 9 +++++---- - src/hb-ot-layout-gpos-table.hh | 26 +++++++++++++------------- - src/hb-ot-math-table.hh | 36 +++++++++++++++++++----------------- - src/hb-ot-maxp-table.hh | 2 +- - src/hb-ot-name-table.hh | 13 +++++++------ - src/hb-ot-post-table.hh | 5 +++-- - 15 files changed, 113 insertions(+), 110 deletions(-) - -commit 1666b89e300c86347dc82131423463cbfed8cc0f -Author: Michiharu Ariza -Date: Mon Sep 10 16:00:20 2018 -0700 - - subset CFF1 String Index - - Repurposed FDMap as Remap then subclassed for remapping SIDs - misc code cleanup - - src/hb-cff-interp-common.hh | 2 - - src/hb-cff-interp-dict-common.hh | 12 +- - src/hb-ot-cff-common.hh | 96 +++++++++-- - src/hb-ot-cff1-table.hh | 251 +++++++++++++++++++---------- - src/hb-ot-cff2-table.hh | 12 +- - src/hb-subset-cff-common.cc | 24 +-- - src/hb-subset-cff-common.hh | 20 ++- - src/hb-subset-cff1.cc | 334 ++++++++++++++++++++++++++++++++------- - src/hb-subset-cff2.cc | 8 +- - 9 files changed, 565 insertions(+), 194 deletions(-) - -commit 9507b05a7a65962d5d02eb424e4f5d8570976f4e -Author: Behdad Esfahbod -Date: Mon Sep 10 23:18:07 2018 +0200 - - Simplify sanitize->check_array() - - Fix a bug in CBDT sanitize, and redundant check in avar. - - src/hb-aat-layout-common.hh | 10 ++++------ - src/hb-aat-layout-morx-table.hh | 2 +- - src/hb-machinery.hh | 3 ++- - src/hb-open-type.hh | 6 +++--- - src/hb-ot-color-cbdt-table.hh | 4 ++-- - src/hb-ot-kern-table.hh | 2 +- - src/hb-ot-layout-common.hh | 2 +- - src/hb-ot-layout-gpos-table.hh | 8 ++++---- - src/hb-ot-layout-gsubgpos.hh | 4 ++-- - src/hb-ot-math-table.hh | 8 ++------ - src/hb-ot-name-table.hh | 2 +- - src/hb-ot-var-avar-table.hh | 4 ++-- - src/hb-ot-var-fvar-table.hh | 2 +- - src/hb-ot-var-hvar-table.hh | 2 +- - src/hb-ot-var-mvar-table.hh | 2 +- - 15 files changed, 28 insertions(+), 33 deletions(-) - -commit bc485a98122131efc4768fef9147823f2bce146b -Author: Behdad Esfahbod -Date: Mon Sep 10 23:02:24 2018 +0200 - - Port some VAR arrays to UnsizedArrayOf<> - - Fix avar sanitize(). - - src/hb-ot-layout-gsubgpos.hh | 59 +++++++++++++++++++++++--------------------- - src/hb-ot-var-avar-table.hh | 10 +++++--- - src/hb-ot-var-fvar-table.hh | 7 +++--- - src/hb-ot-var-hvar-table.hh | 9 ++++--- - src/hb-ot-var-mvar-table.hh | 9 ++++--- - 5 files changed, 51 insertions(+), 43 deletions(-) - -commit 1bc7a8d6c4deb9fa6e010d7be08b68cad88579ae -Author: Behdad Esfahbod -Date: Mon Sep 10 22:51:26 2018 +0200 - - [indic] Cache hb_options().uniscribe_bug_compatible on indic_plan - - src/hb-ot-shape-complex-indic.cc | 10 +++++++--- - 1 file changed, 7 insertions(+), 3 deletions(-) - -commit 24f1d9622489a016904314a5d4e3c637da2e1c77 -Author: Behdad Esfahbod -Date: Mon Sep 10 18:19:37 2018 +0200 - - Unbreak HB_OPTIONS - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1154 - - src/hb-debug.hh | 3 +++ - 1 file changed, 3 insertions(+) - -commit e46c51f1e985ac9c0ffa90fda4ea436d54b4009c -Author: Behdad Esfahbod -Date: Mon Sep 10 17:38:19 2018 +0200 - - [indic] Do NOT allow matra after Halant,ZWJ - - Fixes https://github.com/harfbuzz/harfbuzz/issues/556 - - Devanagari regresses 12 tests, and Gujarati 2. See: - - https://github.com/harfbuzz/harfbuzz/issues/556#issuecomment-419957472 - - New numbers: - - BENGALI: 353725 out of 354188 tests passed. 463 failed (0.130722%) - DEVANAGARI: 707299 out of 707394 tests passed. 95 failed (0.0134296%) - GUJARATI: 366353 out of 366457 tests passed. 104 failed (0.0283799%) - GURMUKHI: 60729 out of 60747 tests passed. 18 failed (0.0296311%) - KANNADA: 951300 out of 951913 tests passed. 613 failed (0.0643966%) - MALAYALAM: 1048136 out of 1048334 tests passed. 198 failed (0.0188871%) - ORIYA: 42327 out of 42329 tests passed. 2 failed (0.00472489%) - SINHALA: 271596 out of 271847 tests passed. 251 failed (0.0923313%) - TAMIL: 1091754 out of 1091754 tests passed. 0 failed (0%) - TELUGU: 970555 out of 970573 tests passed. 18 failed (0.00185457%) - - src/hb-ot-shape-complex-indic-machine.hh | 1688 ++++++++++++++---------------- - src/hb-ot-shape-complex-indic-machine.rl | 2 +- - 2 files changed, 784 insertions(+), 906 deletions(-) - -commit 5dfd6e07626a9022a995eb7fa16767eff66c6047 -Author: Behdad Esfahbod -Date: Mon Sep 10 15:45:32 2018 +0200 - - Fix sanitize or Context Rule - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1110 - - src/hb-ot-layout-gsubgpos.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 20a11a824d2a07a8544649477ad03e809bdd8e19 -Author: Behdad Esfahbod -Date: Mon Sep 10 13:56:28 2018 +0200 - - Revert "[subset] Disable GSUB/GPOS subsetting for now" - - This reverts commit 616fd34a69bb69bc35c7e4ea939e71c3ea2e92cb. - - src/hb-subset.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 54d332dd9b0263821376161cdffb60ffb3c7847f -Author: Behdad Esfahbod -Date: Mon Sep 10 11:37:24 2018 +0200 - - 1.9.0 - - NEWS | 19 +++++++++++++++++++ - configure.ac | 2 +- - src/hb-face.cc | 10 +++++----- - src/hb-unicode.h | 5 +++++ - src/hb-version.h | 6 +++--- - 5 files changed, 33 insertions(+), 9 deletions(-) - -commit 616fd34a69bb69bc35c7e4ea939e71c3ea2e92cb -Author: Behdad Esfahbod -Date: Mon Sep 10 11:19:49 2018 +0200 - - [subset] Disable GSUB/GPOS subsetting for now - - So I can get a release out. I haven't debugged those yet, and they - are producing bad tables. - - src/hb-subset.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit d42f0e5809964136911cbbd845bc423a8dfd5e31 -Author: Behdad Esfahbod -Date: Mon Sep 10 11:05:33 2018 +0200 - - [atomic] Fix pointer type passed to InterlockedExchangeAdd() - - John Emmas reported on mailing list that build with MSVC is failing. - Not sure why bots don't catch it, but this should fix. - - src/hb-atomic.hh | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit fda994e1d45c4d34601af7272f37ea257f92a3d8 -Author: Behdad Esfahbod -Date: Fri Sep 7 15:02:57 2018 -0400 - - Use enum instead of "static const" in class scope - - Technically, static const needs an out-of-class definition. Eg: - - CXXLD libharfbuzz-subset.la - Undefined symbols for architecture x86_64: - "OT::FeatureVariationRecord::min_size", referenced from: - bool OT::GSUBGPOS::subset(hb_subset_context_t*) constin libharfbuzz_subset_la-hb-subset.o - bool OT::GSUBGPOS::subset(hb_subset_context_t*) constin libharfbuzz_subset_la-hb-subset.o - "OT::Record::min_size", referenced from: - OT::Script::subset(hb_subset_context_t*) constin libharfbuzz_subset_la-hb-subset.o - "OT::IntType::min_size", referenced from: - OT::Script::subset(hb_subset_context_t*) constin libharfbuzz_subset_la-hb-subset.o - OT::RecordListOf::subset(hb_subset_context_t*) const in libharfbuzz_subset_la-hb-subset.o - ld: symbol(s) not found for architecture x86_64 - collect2: ld returned 1 exit status - make[4]: *** [libharfbuzz-subset.la] Error 1 - make[3]: *** [all-recursive] Error 1 - make[2]: *** [all] Error 2 - make[1]: *** [all-recursive] Error 1 - make: *** [all] Error 2 - Exited with code 2 - - src/hb-buffer.hh | 2 +- - src/hb-machinery.hh | 8 ++++---- - src/hb-open-file.hh | 2 +- - src/hb-open-type.hh | 2 +- - src/hb-ot-layout-common.hh | 2 +- - src/hb-ot-layout.cc | 4 ++-- - src/hb-set-digest.hh | 4 ++-- - src/hb-set.hh | 12 ++++++------ - 8 files changed, 18 insertions(+), 18 deletions(-) - -commit 1e88b1755c37eaa171c08f7bedb93f110238c80f -Merge: 22b88632d ebe67137a -Author: Michiharu Ariza -Date: Fri Sep 7 10:50:55 2018 -0700 - - Merge branch 'master' into cff-subset - -commit ebe67137ab3559c2c6aaf53442ca223cb34df5af -Author: Behdad Esfahbod -Date: Fri Sep 7 10:46:13 2018 -0400 - - Try fixing bots - - src/hb-ot-layout-common.hh | 32 ++++++++++++++++++-------------- - 1 file changed, 18 insertions(+), 14 deletions(-) - -commit 5f17dbc3025093308d2191a4abd2eec24db35c0e -Author: Behdad Esfahbod -Date: Fri Sep 7 10:24:22 2018 -0400 - - [subset] Fix div-by-zero - - src/hb-subset.cc | 3 +++ - 1 file changed, 3 insertions(+) - -commit 22b88632d5bd3676642b0a1d93f27e47438c140b -Merge: 2a74536aa 21bf14705 -Author: Michiharu Ariza -Date: Thu Sep 6 22:27:44 2018 -0700 - - Merge branch 'master' into cff-subset - -commit 2a74536aae443a8b7f23ed018dec14a013c04dfe -Author: Michiharu Ariza -Date: Thu Sep 6 18:26:13 2018 -0700 - - fix build attempt ^2 - - Added hb-ot-cff1-table.cc to hb-subset sources - Deleted unused variable (charset) - - src/Makefile.sources | 1 + - src/hb-subset-cff1.cc | 1 - - 2 files changed, 1 insertion(+), 1 deletion(-) - -commit 55268df9d4b287883c8266e316cda44f4011f424 -Author: Michiharu Ariza -Date: Thu Sep 6 17:56:05 2018 -0700 - - fix build attempt - - Added HB_INTERNAL to static funtion declarations - - src/hb-ot-cff1-table.hh | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit aca73c9df2054f62cf10a5c27bc5fa7823747f8b -Author: Michiharu Ariza -Date: Thu Sep 6 17:28:15 2018 -0700 - - subset CFF1 Encoding & Charset - - fixed misc Charset bugs - added source file hb-ot-cff1.table.cc - renamed things for clarity & consistency - - src/Makefile.sources | 1 + - src/hb-cff-interp-dict-common.hh | 15 +- - src/hb-ot-cff-common.hh | 34 ++-- - src/hb-ot-cff1-table.cc | 130 +++++++++++++ - src/hb-ot-cff1-table.hh | 403 ++++++++++++++++++++++++++++++++------- - src/hb-ot-cff2-table.hh | 24 +-- - src/hb-subset-cff1.cc | 247 ++++++++++++++++++++---- - src/hb-subset-cff2.cc | 30 +-- - 8 files changed, 737 insertions(+), 147 deletions(-) - -commit 21bf147054f6b5bd1c430c0e02a8c4058ed229a1 -Author: Garret Rieger -Date: Wed Sep 5 18:04:52 2018 -0700 - - [subset] Fix hdmx subsetted size calculation. - - src/hb-ot-hdmx-table.hh | 14 ++++++++++---- - test/api/fonts/Roboto-Regular.multihdmx.a.ttf | Bin 0 -> 2052 bytes - test/api/fonts/Roboto-Regular.multihdmx.abc.ttf | Bin 0 -> 2468 bytes - test/api/test-subset-hdmx.c | 20 ++++++++++++++++++++ - 4 files changed, 30 insertions(+), 4 deletions(-) - -commit 1e6599f59680c81356b2e9ddddb61252490337a0 -Author: Behdad Esfahbod -Date: Wed Sep 5 19:29:42 2018 -0700 - - Fix older compilers re '>>' at nested template declarations - - src/hb-ot-layout-gsub-table.hh | 8 ++++---- - src/hb-subset.cc | 2 +- - 2 files changed, 5 insertions(+), 5 deletions(-) - -commit a1e5e07c735091e82d66ac56a4e27341f589369d -Author: Behdad Esfahbod -Date: Wed Sep 5 16:24:28 2018 -0700 - - [subset] Hook up GSUB/GPOS, but still disabled - - They are still in the drop list. - - src/hb-ot-hdmx-table.hh | 3 +- - src/hb-subset.cc | 75 +++++++++++++++++++++++++++++++++++++++++++++++++ - 2 files changed, 77 insertions(+), 1 deletion(-) - -commit 0d160d5ff5158fd4190201becd652c8f28ef4430 -Author: Behdad Esfahbod -Date: Mon Sep 3 20:50:11 2018 -0700 - - [subset] Implement subsetting of SingleSubst - - src/hb-machinery.hh | 2 ++ - src/hb-null.hh | 43 +++++++++++++++++++----------- - src/hb-ot-layout-gsub-table.hh | 59 +++++++++++++++++++++++++++++++++++------- - src/hb-vector.hh | 2 ++ - 4 files changed, 81 insertions(+), 25 deletions(-) - -commit 5ea03d2951375bfcc1258c2c0b5c33efc6ebf7f8 -Author: Michiharu Ariza -Date: Tue Sep 4 11:29:15 2018 -0700 - - fix build by untemplatizing DictOpSet & DictVal - - as they aren't instantiated with BlendArg (yet) - - src/hb-cff-interp-dict-common.hh | 21 +++++++++------------ - src/hb-cff2-interp-cs.hh | 1 - - src/hb-ot-cff1-table.hh | 8 ++++---- - src/hb-ot-cff2-table.hh | 16 ++++++++-------- - src/hb-subset-cff-common.hh | 4 ++-- - 5 files changed, 23 insertions(+), 27 deletions(-) - -commit f2d299b0b75fd110cdc6b16de31e7212e292cc14 -Author: Michiharu Ariza -Date: Tue Sep 4 10:25:21 2018 -0700 - - Drop hints from CFF2 charstrings - - Templatized ArgStack so it may store the default value along with blend deltas as BlendArg while parsing blend operator arguments in CFF2 charstring - Added get_region_count() method to VarRegionList & VariationStore - - src/hb-cff-interp-common.hh | 67 +++++++++++++++++++++++++++------ - src/hb-cff1-interp-cs.hh | 5 ++- - src/hb-cff2-interp-cs.hh | 91 +++++++++++++++++++++++++++++++++++++++------ - src/hb-ot-cff2-table.hh | 22 ++++++----- - src/hb-ot-layout-common.hh | 6 +++ - src/hb-subset-cff-common.hh | 60 ++++++++++++++++-------------- - src/hb-subset-cff1.cc | 5 ++- - src/hb-subset-cff2.cc | 54 ++++++++++++++++++++++----- - 8 files changed, 235 insertions(+), 75 deletions(-) - -commit 3f00d0b0df14d69859b15568ff28a810d08f59ea -Author: Behdad Esfahbod -Date: Mon Sep 3 18:54:32 2018 -0700 - - [subset] Keep glyph set in plan - - Should remove the vector version at some point... - - src/hb-subset-plan.cc | 19 ++++++++++--------- - src/hb-subset-plan.hh | 3 +-- - 2 files changed, 11 insertions(+), 11 deletions(-) - -commit dc50493a8da05d6561242136d63cae836486c150 -Author: Behdad Esfahbod -Date: Mon Sep 3 18:23:23 2018 -0700 - - [subset] Towards subsetting SingleSubstFormat1 - - Why does subset plan not have a hb_set_t of glyphs? - - src/hb-machinery.hh | 10 +++++++++- - src/hb-ot-layout-gsub-table.hh | 12 +++++++++++- - 2 files changed, 20 insertions(+), 2 deletions(-) - -commit 339d3603b916cebf24ff86d9842b766261e1b262 -Author: Behdad Esfahbod -Date: Mon Sep 3 17:33:34 2018 -0700 - - [subset] Wire up subset() call down to subtables - - src/hb-ot-layout-common.hh | 36 +++++++++++++++++++++++ - src/hb-ot-layout-gpos-table.hh | 67 +++++++++++++++++++++++++++++++++++++++--- - src/hb-ot-layout-gsub-table.hh | 54 ++++++++++++++++++++++++++++------ - src/hb-ot-layout-gsubgpos.hh | 42 ++++++++++++++++++++++++++ - 4 files changed, 186 insertions(+), 13 deletions(-) - -commit 7b2ef551da0d53cd94106035b1f065a759cf3cd5 -Author: Behdad Esfahbod -Date: Mon Sep 3 17:16:09 2018 -0700 - - Templatize Lookup::sanitize() - - src/hb-ot-layout-common.hh | 40 ++++++++++++++++++++++++++++------------ - src/hb-ot-layout-gpos-table.hh | 7 ++----- - src/hb-ot-layout-gsub-table.hh | 25 +++---------------------- - 3 files changed, 33 insertions(+), 39 deletions(-) - -commit 9c3747c5e50423e0a7202f249728d5c5b2b09073 -Author: Behdad Esfahbod -Date: Mon Sep 3 16:53:03 2018 -0700 - - [subset] More - - src/hb-ot-layout-gpos-table.hh | 10 +++++---- - src/hb-ot-layout-gsub-table.hh | 48 +++++++++++++++++++++--------------------- - src/hb-ot-layout-gsubgpos.hh | 22 +++++++++++++------ - 3 files changed, 45 insertions(+), 35 deletions(-) - -commit 6d618522d63a94230ad708fc49c1c73927da0137 -Author: Behdad Esfahbod -Date: Mon Sep 3 16:41:28 2018 -0700 - - Templatize GSUBGPOS::sanitize() - - src/hb-ot-layout-gpos-table.hh | 6 +----- - src/hb-ot-layout-gsub-table.hh | 14 +++++--------- - src/hb-ot-layout-gsubgpos.hh | 4 +++- - 3 files changed, 9 insertions(+), 15 deletions(-) - -commit 49c44b58f6c2536ea5f403c54a40cab41b905150 -Author: Behdad Esfahbod -Date: Mon Sep 3 16:37:17 2018 -0700 - - [subset] Fix serialize_subset() calls - - Ouch. - - src/hb-open-type.hh | 2 +- - src/hb-ot-layout-common.hh | 6 +++--- - src/hb-ot-layout-gsub-table.hh | 13 ++++++------- - src/hb-ot-layout-gsubgpos.hh | 6 +++--- - 4 files changed, 13 insertions(+), 14 deletions(-) - -commit 7c9cfa2b4002c18585a26134ab987ceb7ebc97a2 -Author: Behdad Esfahbod -Date: Sun Sep 2 19:47:50 2018 -0700 - - Add intersects() method to GSUB/GPOS lookups - - src/hb-ot-layout-common.hh | 77 +++++++++-- - src/hb-ot-layout-gpos-table.hh | 103 ++++++++++---- - src/hb-ot-layout-gsub-table.hh | 205 +++++++++++++++++++-------- - src/hb-ot-layout-gsubgpos.hh | 306 ++++++++++++++++++++++++++++++++--------- - 4 files changed, 528 insertions(+), 163 deletions(-) - -commit 61ce62e55455bb0d6c9db3b076676ab18e51d449 -Author: Behdad Esfahbod -Date: Sun Sep 2 17:00:27 2018 -0700 - - [subset] Minor - - Remove Lookup::subset(). - - src/hb-ot-layout-common.hh | 11 ----------- - src/hb-ot-layout-gsubgpos.hh | 2 +- - 2 files changed, 1 insertion(+), 12 deletions(-) - -commit bfa72a9a72a15d977f503f12eef376a355679d76 -Author: Behdad Esfahbod -Date: Sat Sep 1 18:34:50 2018 -0700 - - [subset] Towards GSUB/GPOS subsetting - - Add subset() call for GSUBGPOS struct and its dependencies. - Not hooked up anywhere. - - src/hb-machinery.hh | 10 ++++-- - src/hb-open-type.hh | 25 ++++++++++++- - src/hb-ot-layout-common.hh | 80 +++++++++++++++++++++++++++++++++++------- - src/hb-ot-layout-gdef-table.hh | 33 ++++++++++------- - src/hb-ot-layout-gsub-table.hh | 11 ++++-- - src/hb-ot-layout-gsubgpos.hh | 19 ++++++++++ - 6 files changed, 145 insertions(+), 33 deletions(-) - -commit 6803ed8674028a656957910381150ab28d75a5f8 -Author: Behdad Esfahbod -Date: Fri Aug 31 17:11:08 2018 -0700 - - [serialize] Add reset() - - src/hb-machinery.hh | 4 ++++ - 1 file changed, 4 insertions(+) - -commit e58b190292f85c9676fe14cf63d2831d4d6e6bab -Author: Behdad Esfahbod -Date: Fri Aug 31 16:46:35 2018 -0700 - - [subset] De-templatize hb_subset_context_t - - We're going to (finally) use virtual methods for hb_serialize_context_t - customization, so don't need to carry a Serializer template variable - around... Simplifies code. - - src/hb-machinery.hh | 2 +- - src/hb-ot-layout-gsub-table.hh | 5 ++--- - src/hb-subset.hh | 7 +++---- - 3 files changed, 6 insertions(+), 8 deletions(-) - -commit 22acd424ca77c16d28405021f06c5562497920ab -Author: Behdad Esfahbod -Date: Fri Aug 31 16:38:04 2018 -0700 - - [serialize] Add a couple small methods - - src/hb-machinery.hh | 25 +++++++++++++++++-------- - src/hb-open-file.hh | 3 +-- - src/hb-ot-layout-gsub-table.hh | 1 + - 3 files changed, 19 insertions(+), 10 deletions(-) - -commit d1f29908c281b1685eea00b71bae934d9f1f20eb -Author: Behdad Esfahbod -Date: Fri Aug 31 16:31:00 2018 -0700 - - [subset] Add hb_subset_context_t<> - - src/hb-open-type.hh | 1 + - src/hb-ot-cmap-table.hh | 1 - - src/hb-ot-hdmx-table.hh | 1 - - src/hb-ot-hmtx-table.hh | 1 - - src/hb-ot-layout-gsub-table.hh | 9 +++++++++ - src/hb-ot-maxp-table.hh | 1 - - src/hb-ot-os2-table.hh | 1 - - src/hb-ot-post-table.hh | 1 - - src/hb-subset.hh | 21 +++++++++++++++++++++ - 9 files changed, 31 insertions(+), 6 deletions(-) - -commit fcf177885b4c3d732ffeb82936da906969a269d3 -Author: Michiharu Ariza -Date: Fri Aug 31 16:28:47 2018 -0700 - - templatized ArgStack as a prep to store blends - - src/hb-cff-interp-common.hh | 46 +++++++++++++++++++++--------------- - src/hb-cff-interp-cs-common.hh | 41 ++++++++++++++++++-------------- - src/hb-cff-interp-dict-common.hh | 35 ++++++++++++++++----------- - src/hb-cff1-interp-cs.hh | 15 +++++++----- - src/hb-cff2-interp-cs.hh | 14 +++++++---- - src/hb-ot-cff1-table.hh | 32 ++++++++++++------------- - src/hb-ot-cff2-table.hh | 51 ++++++++++++++++++++++++++-------------- - src/hb-subset-cff-common.hh | 4 ++-- - src/hb-subset-cff1.cc | 1 - - src/hb-subset-cff2.cc | 2 +- - 10 files changed, 142 insertions(+), 99 deletions(-) - -commit 968168bf0e369927cd6a7f63608d844abe123a7b -Author: Michiharu Ariza -Date: Fri Aug 31 13:28:16 2018 -0700 - - drop hints from CFF1 charstrings - - renamed confusing Stack.size to Stack.count - - src/hb-cff-interp-common.hh | 43 +++++++----- - src/hb-cff-interp-cs-common.hh | 140 +++++++++++++++++---------------------- - src/hb-cff-interp-dict-common.hh | 4 +- - src/hb-cff1-interp-cs.hh | 14 ++-- - src/hb-cff2-interp-cs.hh | 18 ++--- - src/hb-ot-cff1-table.hh | 26 ++++---- - src/hb-ot-cff2-table.hh | 20 +++--- - src/hb-subset-cff1.cc | 53 ++++++++------- - src/hb-subset-cff2.cc | 69 +++++++++---------- - 9 files changed, 190 insertions(+), 197 deletions(-) - -commit aba0a945c5f8724cc7bd1a9b7f7b5df1c64b03f4 -Author: Behdad Esfahbod -Date: Fri Aug 31 13:25:19 2018 -0700 - - [subset] Add hb-subset-input.hh and make hb-subset.hh toplevel include - - src/Makefile.sources | 1 + - src/hb-ot-cmap-table.hh | 2 +- - src/hb-ot-glyf-table.hh | 2 -- - src/hb-ot-hdmx-table.hh | 2 +- - src/hb-ot-hmtx-table.hh | 2 +- - src/hb-ot-maxp-table.hh | 2 +- - src/hb-ot-os2-table.hh | 2 +- - src/hb-ot-post-table.hh | 2 +- - src/hb-subset-glyf.cc | 1 - - src/hb-subset-glyf.hh | 2 +- - src/hb-subset-input.hh | 57 +++++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-subset-plan.cc | 3 +-- - src/hb-subset-plan.hh | 2 +- - src/hb-subset.cc | 3 +-- - src/hb-subset.hh | 23 +++----------------- - 15 files changed, 71 insertions(+), 35 deletions(-) - -commit 18d01eac7f2870e2804ceed2c70a604a5dc6a320 -Author: Behdad Esfahbod -Date: Fri Aug 31 13:00:57 2018 -0700 - - Minor - - src/hb-ot-shape-complex-arabic-fallback.hh | 1 - - 1 file changed, 1 deletion(-) - -commit 8c5e03b5415f83312719ebb3cd284229e52a4843 -Author: Michiharu Ariza -Date: Thu Aug 30 17:21:56 2018 -0700 - - Added drop_hints to SubrFlattener - - src/hb-cff-interp-cs-common.hh | 20 +++++++++++++++++++- - src/hb-subset-cff-common.hh | 18 ++++++++++++++---- - src/hb-subset-cff1.cc | 35 ++++++++++++++++++++++------------ - src/hb-subset-cff2.cc | 43 ++++++++++++++++++++++++++---------------- - 4 files changed, 83 insertions(+), 33 deletions(-) - -commit a23b892fe6cc4859a30edc7ffc003ab7624aa5f0 -Author: Behdad Esfahbod -Date: Wed Aug 29 18:28:39 2018 -0700 - - Shuffle - - src/hb-machinery.hh | 62 +++++++++++++++++++++++++++-------------------------- - 1 file changed, 32 insertions(+), 30 deletions(-) - -commit 93fe0faaee45b8fb646f7aa33620105c62193885 -Author: Behdad Esfahbod -Date: Wed Aug 29 18:24:03 2018 -0700 - - [subset] Clean up hb_subset_input_t API - - src/hb-subset-input.cc | 44 +++++++++++++++++++--------------------- - src/hb-subset-plan.cc | 4 ++-- - src/hb-subset-plan.hh | 10 ++++----- - src/hb-subset.cc | 2 +- - src/hb-subset.h | 14 +++++++++---- - src/hb-subset.hh | 4 ++-- - test/api/test-subset-glyf.c | 10 ++++----- - test/fuzzing/hb-subset-fuzzer.cc | 10 ++++----- - util/hb-subset.cc | 3 +-- - 9 files changed, 52 insertions(+), 49 deletions(-) - -commit 9fd08cc238f8e2f7be1eaefca110021382efe606 -Author: Michiharu Ariza -Date: Wed Aug 29 18:18:18 2018 -0700 - - CFF2 subroutine flattner - - Factored out CFF1 & CFF2 common subsetting code in hb-subset-cff-common.hh - - src/hb-cff2-interp-cs.hh | 34 +++++-- - src/hb-subset-cff-common.hh | 154 +++++++++++++++++++++++++++++ - src/hb-subset-cff1.cc | 135 +++----------------------- - src/hb-subset-cff2.cc | 229 ++++++++++++++++++-------------------------- - 4 files changed, 285 insertions(+), 267 deletions(-) - -commit d237ce71810045ee400c52740cd8ab6e1113aada -Author: Behdad Esfahbod -Date: Wed Aug 29 18:13:07 2018 -0700 - - [subset] Bail if subsetting a table failed - - src/hb-subset.cc | 8 +++----- - 1 file changed, 3 insertions(+), 5 deletions(-) - -commit f39166f0c0c09fac7874fda6b0b0825f20768e3e -Author: Behdad Esfahbod -Date: Wed Aug 29 18:09:55 2018 -0700 - - [subset] Remove unused hb_subset_profile_t - - We might reintroduce it later, but for now remove, as it was unused. - Some things that should have been in this object (drop_hints, etc) - are already in hb_subset_input_t. So, for now, keep everything there. - - src/hb-subset-plan.cc | 3 +-- - src/hb-subset-plan.hh | 1 - - src/hb-subset.cc | 39 +++------------------------------------ - src/hb-subset.h | 16 +--------------- - test/api/hb-subset-test.h | 4 +--- - test/api/test-subset-hdmx.c | 8 ++------ - test/api/test-subset-hmtx.c | 4 +--- - test/api/test-subset.c | 12 +++--------- - test/fuzzing/hb-subset-fuzzer.cc | 5 +---- - util/hb-subset.cc | 4 +--- - 10 files changed, 14 insertions(+), 82 deletions(-) - -commit 2ccc322cf88a01248aa5df88a5073db3dfb40eea -Author: Behdad Esfahbod -Date: Wed Aug 29 16:38:04 2018 -0700 - - [ot-font] Clean up cmap with gid=0 - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1145 - - src/hb-ot-cmap-table.hh | 25 +++++++++++++++---------- - 1 file changed, 15 insertions(+), 10 deletions(-) - -commit 0c7b633f528bae4a0cf5ca816f75a0d84206b3fb -Author: Ross Burton -Date: Wed Aug 29 22:37:39 2018 +0100 - - Delete pkg.m4 - - pkg.m4 is provided by pkg-config, which is a requirement to build, and this copy is ancient. Delete it to avoid it being used instead of the host copy. - - m4/pkg.m4 | 157 -------------------------------------------------------------- - 1 file changed, 157 deletions(-) - -commit b95bf075d7b62baf7d6fa1d8f0d1f16fad934975 -Author: Michiharu Ariza -Date: Wed Aug 29 14:41:52 2018 -0700 - - fix build attempt ^2 - - src/hb-subset-cff1.cc | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit 1d1afddfd21155ef136c2d96b1d6c286bdc8925f -Author: Michiharu Ariza -Date: Wed Aug 29 13:36:39 2018 -0700 - - corrected preprocessor guards - - src/hb-cff-interp-common.hh | 6 +++--- - src/hb-cff-interp-cs-common.hh | 6 +++--- - src/hb-cff-interp-dict-common.hh | 6 +++--- - src/hb-ot-cff-common.hh | 6 +++--- - src/hb-subset-cff-common.hh | 6 +++--- - 5 files changed, 15 insertions(+), 15 deletions(-) - -commit 8af9690ac7ce41fb1db878d556df5c4ee624eaa0 -Merge: 0ad081ec3 fee0f41c6 -Author: Michiharu Ariza -Date: Wed Aug 29 13:26:17 2018 -0700 - - Merge branch 'master' into cff-subset - - Renamed cff "private" source/headers without the suffix - -commit 0ad081ec324e734cfca60d4d2c36a1be5bc8a067 -Author: Michiharu Ariza -Date: Wed Aug 29 12:56:48 2018 -0700 - - attempt to fix build failure - - src/hb-subset-cff1.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit a11420b48c405e1a43e2ba62893e9a0872e5f496 -Author: Michiharu Ariza -Date: Wed Aug 29 12:14:30 2018 -0700 - - Subroutine flattener for CFF1 - - Subr-flattened charstrings are temporarily re-encoded in ByteStrBuff during "plan" phase, then copied to hb_serialize_context_t during "write" phase - - CSOpSet may callback opcode processing "virtual" functions via CRTP - - Numer struct may store a value as fixed optionally in addition to int and float - - src/hb-cff-interp-common-private.hh | 53 ++++++++++-- - src/hb-cff-interp-cs-common-private.hh | 109 ++++++++++++++++++----- - src/hb-cff1-interp-cs.hh | 35 +++++--- - src/hb-cff2-interp-cs.hh | 14 +-- - src/hb-ot-cff-common-private.hh | 10 +-- - src/hb-subset-cff-common-private.hh | 102 +++++++++++++++++++++- - src/hb-subset-cff1.cc | 152 ++++++++++++++++++++++----------- - src/hb-subset-cff2.cc | 7 +- - 8 files changed, 372 insertions(+), 110 deletions(-) - -commit fee0f41c6c1e50621d10b07802ca36a9b295b53d -Author: Behdad Esfahbod -Date: Tue Aug 28 18:27:41 2018 -0700 - - Don't declare extern symbols as inline - - clang -O3 was completely removing _get_gdef(), causing link - failure when needed from another compilation unit. Surprisingly, - "extern inline" didn't fix it. - - src/hb-ot-layout.cc | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 967741e4c468ebf0a40f91934ed1923506099806 -Author: Behdad Esfahbod -Date: Tue Aug 28 18:18:02 2018 -0700 - - Add explicit to hb_auto_t 1param constructors - - src/hb-dsalgs.hh | 7 ++++--- - 1 file changed, 4 insertions(+), 3 deletions(-) - -commit c0a3f38f78362a183b30afd109dcebfca563d144 -Author: Behdad Esfahbod -Date: Tue Aug 28 17:22:38 2018 -0700 - - Fix distcheck - - src/Makefile.sources | 3 +++ - 1 file changed, 3 insertions(+) - -commit 2dde6c803a9e50c5bff74095187b0cb2e12eebdd -Author: Behdad Esfahbod -Date: Tue Aug 28 11:02:00 2018 -0700 - - Explicitly pass reference in hb_auto_t constructor - - Fixes clang bots as well as fuzzer issue. - - src/hb-dsalgs.hh | 9 ++++++++- - 1 file changed, 8 insertions(+), 1 deletion(-) - -commit a26806801005c28115ae9e48bdcf3bbbc1bcd767 -Author: Behdad Esfahbod -Date: Sun Aug 26 15:18:46 2018 -0700 - - [ot-face] Remove tables_t. The face_data_t is what tables_t was - - src/hb-aat-layout.cc | 4 ++-- - src/hb-face.cc | 6 +++--- - src/hb-ot-face.cc | 8 ++++---- - src/hb-ot-face.hh | 28 ++++++++++++---------------- - src/hb-ot-font.cc | 25 +++++++++++-------------- - src/hb-ot-layout.cc | 36 ++++++++++++++++++------------------ - src/hb-ot-math.cc | 4 ++-- - src/hb-ot-var.cc | 4 ++-- - 8 files changed, 54 insertions(+), 61 deletions(-) - -commit 3a0b3a29cc246d0b1e5989c9e8c1e6d544046dcc -Author: Behdad Esfahbod -Date: Sun Aug 26 15:11:24 2018 -0700 - - Free up hb-ot-face.hh from includes - - There might be a better way to do this, but I couldn't find... - - src/hb-face.cc | 1 + - src/hb-ot-cmap-table.hh | 1 + - src/hb-ot-color-cbdt-table.hh | 2 ++ - src/hb-ot-face.cc | 10 ++++++++++ - src/hb-ot-face.hh | 15 ++------------- - src/hb-ot-font.cc | 7 +++++++ - src/hb-ot-glyf-table.hh | 2 ++ - src/hb-ot-hmtx-table.hh | 3 +++ - src/hb-ot-kern-table.hh | 2 ++ - src/hb-ot-layout-gdef-table.hh | 1 + - src/hb-ot-layout-gpos-table.hh | 2 ++ - src/hb-ot-layout-gsub-table.hh | 1 + - src/hb-ot-post-table.hh | 2 ++ - 13 files changed, 36 insertions(+), 13 deletions(-) - -commit a84309afc8817cd386e555af21dfcdc03388b329 -Author: Behdad Esfahbod -Date: Sun Aug 26 09:33:01 2018 -0700 - - [face] Use saved cmap in collect_unicodes() APIs - - src/hb-face.cc | 18 ++++++++---------- - 1 file changed, 8 insertions(+), 10 deletions(-) - -commit c624e18a24311c66737dde4ce515aa1eca892b94 -Author: Behdad Esfahbod -Date: Sun Aug 26 09:19:20 2018 -0700 - - [OT] Move code around - - src/hb-ot-layout-gsub-table.hh | 18 ------------------ - src/hb-ot-layout.cc | 23 +++++++++++++++++++++-- - 2 files changed, 21 insertions(+), 20 deletions(-) - -commit 399909468204b76769857508e74f802d648ca0a5 -Author: Behdad Esfahbod -Date: Sun Aug 26 09:12:25 2018 -0700 - - [OT] Use relaxed ops for recursing into GSUB/GPOS lookups again - - src/hb-ot-layout-gpos-table.hh | 4 ++-- - src/hb-ot-layout-gsub-table.hh | 4 ++-- - src/hb-ot-layout.cc | 12 ++++++++++-- - src/hb-ot-layout.hh | 4 ++-- - 4 files changed, 16 insertions(+), 8 deletions(-) - -commit d8c57e85d9981b4c7a11fae4f31100359574cf13 -Author: Behdad Esfahbod -Date: Sun Aug 26 09:03:31 2018 -0700 - - [GDEF] Move code around - - src/hb-ot-layout-gdef-table.hh | 118 +----------------------------------- - src/hb-ot-layout.cc | 134 ++++++++++++++++++++++++++++++++++++++--- - src/hb-ot-layout.hh | 14 +---- - 3 files changed, 128 insertions(+), 138 deletions(-) - -commit 453e0c60b1c87d2cd2527d6d2de673f65458a9fd -Author: Behdad Esfahbod -Date: Sun Aug 26 01:30:52 2018 -0700 - - Add template keyword - - I swear I have no idea why this is needed, but it is... - - src/hb-ot-layout-gsubgpos.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit c44b0caf0d0cddb7228dcec0b9d25bb62f641abc -Author: Behdad Esfahbod -Date: Sun Aug 26 01:29:30 2018 -0700 - - Fixup - - src/hb-ot-layout-gpos-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 4096fbe487d90de04020e32e8487295ecd4d8836 -Author: Behdad Esfahbod -Date: Sun Aug 26 01:25:54 2018 -0700 - - [ot-face] Port GDEF to unified table accelerator model as well - - src/hb-ot-face.cc | 108 ---------------------------------- - src/hb-ot-face.hh | 2 +- - src/hb-ot-layout-gdef-table.hh | 129 +++++++++++++++++++++++++++++++++++++++++ - src/hb-ot-layout.cc | 14 ++++- - src/hb-ot-layout.hh | 5 +- - 5 files changed, 147 insertions(+), 111 deletions(-) - -commit b929100f8782816c2621715f6c007ecefc419d83 -Author: Behdad Esfahbod -Date: Sun Aug 26 01:15:47 2018 -0700 - - [ot-face] Unify GSUB/GPOS accelerators in the table accelerator framework - - src/hb-aat-layout.cc | 4 +--- - src/hb-ot-face.cc | 40 ++-------------------------------------- - src/hb-ot-face.hh | 25 +++++++++++-------------- - src/hb-ot-layout-gpos-table.hh | 2 +- - src/hb-ot-layout-gsub-table.hh | 6 +++--- - src/hb-ot-layout-gsubgpos.hh | 24 +++++++++++++----------- - src/hb-ot-layout.cc | 33 +++++++++++++++++---------------- - src/hb-ot-layout.hh | 17 +++++++++++++++++ - src/hb-ot-shape.cc | 1 + - 9 files changed, 66 insertions(+), 86 deletions(-) - -commit 963413fc5454d92621ae83a8d9c9324e404b8166 -Author: Behdad Esfahbod -Date: Sun Aug 26 00:47:55 2018 -0700 - - WIP - - src/hb-ot-cmap-table.hh | 1 - - src/hb-ot-face.hh | 22 ---------------------- - src/hb-ot-layout-gpos-table.hh | 2 ++ - src/hb-ot-layout-gsub-table.hh | 2 ++ - src/hb-ot-layout-gsubgpos.hh | 31 ++++++++++++++++++++++++++++++- - src/hb-ot-layout.hh | 18 +++++++++++++++++- - 6 files changed, 51 insertions(+), 25 deletions(-) - -commit e6cb9380651c753485f721bd3df523d03be41d91 -Author: Behdad Esfahbod -Date: Sun Aug 26 00:21:29 2018 -0700 - - [ot-face] Unify accelerators and tables - - src/hb-machinery.hh | 4 ++-- - src/hb-ot-cmap-table.hh | 3 ++- - src/hb-ot-face.cc | 6 +++-- - src/hb-ot-face.hh | 58 +++++++++++++------------------------------------ - src/hb-ot-font.cc | 6 ++--- - 5 files changed, 26 insertions(+), 51 deletions(-) - -commit 7f8b6fe67d64b41786edbf8650efb1c0deba573f -Author: Behdad Esfahbod -Date: Sun Aug 26 00:07:12 2018 -0700 - - Minor - - src/hb-ot-face.hh | 1 - - 1 file changed, 1 deletion(-) - -commit 59bca0d2cb6010bc237afb2255ccda3b8dd0585d -Author: Behdad Esfahbod -Date: Sun Aug 26 00:06:12 2018 -0700 - - [ot-font] Rename - - src/hb-ot-face.hh | 12 ++++++------ - src/hb-ot-font.cc | 24 ++++++++++++------------ - 2 files changed, 18 insertions(+), 18 deletions(-) - -commit 1c48a7ef06b82ef9ca013066d1fb3c6fda82aa0c -Author: Behdad Esfahbod -Date: Sat Aug 25 23:54:06 2018 -0700 - - [ot-font] Cache tables on face, not font - - src/hb-ot-cmap-table.hh | 1 + - src/hb-ot-face.cc | 2 ++ - src/hb-ot-face.hh | 55 +++++++++++++++++++++++++++----- - src/hb-ot-font.cc | 75 ++++---------------------------------------- - src/hb-ot-layout-gsubgpos.hh | 1 + - src/hb-ot-layout.hh | 1 - - 6 files changed, 58 insertions(+), 77 deletions(-) - -commit 71f8893eff56bff651e3df6288becc68ecea6cd1 -Author: Behdad Esfahbod -Date: Sat Aug 25 23:27:45 2018 -0700 - - [ot-font] Use init0 - - src/hb-ot-font.cc | 18 +++++++++--------- - 1 file changed, 9 insertions(+), 9 deletions(-) - -commit f36ae6f8a82485bbf727f24dfd7da8f32002cad6 -Author: Behdad Esfahbod -Date: Sat Aug 25 23:19:34 2018 -0700 - - [ot-font] Make everything (cmap/metrics) lazy - - src/hb-machinery.hh | 5 +++++ - src/hb-ot-font.cc | 51 ++++++++++++++++++++++++++------------------------- - 2 files changed, 31 insertions(+), 25 deletions(-) - -commit 62fc54725a3863473829f3a3748c9336e4dc0787 -Author: Behdad Esfahbod -Date: Sat Aug 25 23:15:52 2018 -0700 - - [ot-font] Fallback vertical advance to UPEM - - Used to be ascent+descent. Whatever. This is more convenient for - upcoming changes. - - src/hb-ot-font.cc | 2 +- - test/shaping/data/in-house/tests/vertical.tests | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit d950022c8ae3f85546272b38b187d6ed9f5ff16f -Author: Behdad Esfahbod -Date: Sat Aug 25 23:06:37 2018 -0700 - - Add hb-ot-face.cc/hh - - src/Makefile.sources | 2 + - src/hb-ot-face.cc | 206 +++++++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-ot-face.hh | 144 +++++++++++++++++++++++++++++++++++ - src/hb-ot-layout.cc | 172 ------------------------------------------ - src/hb-ot-layout.hh | 108 +-------------------------- - src/hb-ot-math.cc | 2 +- - src/hb-ot-var.cc | 2 +- - 7 files changed, 355 insertions(+), 281 deletions(-) - -commit dae39c58fb63c2211e2842121bbe6d5b8b18651b -Author: Behdad Esfahbod -Date: Sat Aug 25 22:44:39 2018 -0700 - - [face] Introduce character-map API - - New API: - +hb_face_collect_unicodes - +hb_face_collect_variation_selectors - +hb_face_collect_variation_unicodes - - docs/harfbuzz-sections.txt | 3 ++ - src/hb-face.cc | 61 ++++++++++++++++++++++++- - src/hb-face.h | 19 ++++++++ - src/hb-subset.cc | 53 --------------------- - src/hb-subset.h | 15 ------ - test/api/test-subset-codepoints.c | 6 +-- - test/fuzzing/hb-subset-get-codepoints-fuzzer.cc | 2 +- - 7 files changed, 86 insertions(+), 73 deletions(-) - -commit 66384db97c439a64d729f9206657d0b37ec0cb32 -Author: Behdad Esfahbod -Date: Sat Aug 25 22:39:17 2018 -0700 - - Minor - - src/hb-subset.hh | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit c77ae40852aabb1698da9e8d488f75bae2f4e734 -Author: Behdad Esfahbod -Date: Sat Aug 25 22:36:36 2018 -0700 - - Rename hb-*private.hh to hb-*.hh - - Sorry for the noise, downstream custom builders. Please adjust. - - src/Makefile.sources | 75 +++++++++++----------- - src/check-includes.sh | 8 +-- - src/dump-indic-data.cc | 2 +- - src/dump-khmer-data.cc | 2 +- - src/dump-myanmar-data.cc | 2 +- - src/dump-use-data.cc | 2 +- - src/gen-indic-table.py | 2 +- - src/gen-use-table.py | 2 +- - src/hb-aat-layout-ankr-table.hh | 2 +- - src/hb-aat-layout-bsln-table.hh | 2 +- - ...t-common-private.hh => hb-aat-layout-common.hh} | 8 +-- - src/hb-aat-layout-feat-table.hh | 2 +- - src/hb-aat-layout-kerx-table.hh | 4 +- - src/hb-aat-layout-morx-table.hh | 6 +- - src/hb-aat-layout-trak-table.hh | 6 +- - src/hb-aat-layout.cc | 8 +-- - src/{hb-aat-layout-private.hh => hb-aat-layout.hh} | 14 ++-- - src/hb-aat-ltag-table.hh | 2 +- - src/{hb-atomic-private.hh => hb-atomic.hh} | 8 +-- - src/hb-blob.cc | 4 +- - src/{hb-blob-private.hh => hb-blob.hh} | 8 +-- - src/hb-buffer-deserialize-json.hh | 2 +- - src/hb-buffer-deserialize-json.rl | 2 +- - src/hb-buffer-deserialize-text.hh | 2 +- - src/hb-buffer-deserialize-text.rl | 2 +- - src/hb-buffer-serialize.cc | 2 +- - src/hb-buffer.cc | 4 +- - src/{hb-buffer-private.hh => hb-buffer.hh} | 10 +-- - src/hb-common.cc | 4 +- - src/hb-coretext.cc | 4 +- - src/hb-debug.hh | 4 +- - src/hb-directwrite.cc | 4 +- - src/hb-dsalgs.hh | 2 +- - src/hb-face.cc | 8 +-- - src/{hb-face-private.hh => hb-face.hh} | 12 ++-- - src/hb-fallback-shape.cc | 2 +- - src/hb-font.cc | 6 +- - src/{hb-font-private.hh => hb-font.hh} | 12 ++-- - src/hb-ft.cc | 6 +- - src/hb-glib.cc | 6 +- - src/hb-gobject-enums.cc.tmpl | 2 +- - src/hb-gobject-structs.cc | 2 +- - src/hb-graphite2.cc | 2 +- - src/hb-icu.cc | 6 +- - src/{hb-iter-private.hh => hb-iter.hh} | 8 +-- - src/{hb-machinery-private.hh => hb-machinery.hh} | 12 ++-- - src/hb-map.cc | 2 +- - src/{hb-map-private.hh => hb-map.hh} | 8 +-- - src/{hb-mutex-private.hh => hb-mutex.hh} | 8 +-- - src/hb-null.hh | 2 +- - src/{hb-object-private.hh => hb-object.hh} | 14 ++-- - src/{hb-open-file-private.hh => hb-open-file.hh} | 8 +-- - src/{hb-open-type-private.hh => hb-open-type.hh} | 14 ++-- - src/hb-ot-cmap-table.hh | 4 +- - src/hb-ot-color-cbdt-table.hh | 2 +- - src/hb-ot-color-colr-table.hh | 2 +- - src/hb-ot-color-cpal-table.hh | 2 +- - src/hb-ot-color-sbix-table.hh | 2 +- - src/hb-ot-color-svg-table.hh | 2 +- - src/hb-ot-color.cc | 6 +- - src/hb-ot-font.cc | 6 +- - src/hb-ot-glyf-table.hh | 4 +- - src/hb-ot-hdmx-table.hh | 2 +- - src/hb-ot-head-table.hh | 2 +- - src/hb-ot-hhea-table.hh | 2 +- - src/hb-ot-hmtx-table.hh | 2 +- - src/hb-ot-kern-table.hh | 2 +- - src/hb-ot-layout-base-table.hh | 4 +- - ...ut-common-private.hh => hb-ot-layout-common.hh} | 14 ++-- - src/hb-ot-layout-gdef-table.hh | 4 +- - src/hb-ot-layout-gpos-table.hh | 2 +- - src/hb-ot-layout-gsub-table.hh | 2 +- - ...subgpos-private.hh => hb-ot-layout-gsubgpos.hh} | 14 ++-- - src/hb-ot-layout-jstf-table.hh | 2 +- - src/hb-ot-layout.cc | 8 +-- - src/{hb-ot-layout-private.hh => hb-ot-layout.hh} | 16 ++--- - src/hb-ot-map.cc | 4 +- - src/{hb-ot-map-private.hh => hb-ot-map.hh} | 8 +-- - src/hb-ot-math-table.hh | 4 +- - src/hb-ot-math.cc | 4 +- - src/hb-ot-maxp-table.hh | 2 +- - src/hb-ot-name-table.hh | 2 +- - src/hb-ot-os2-table.hh | 2 +- - src/hb-ot-os2-unicode-ranges.hh | 2 +- - src/hb-ot-post-macroman.hh | 2 +- - src/hb-ot-post-table.hh | 2 +- - src/hb-ot-shape-complex-arabic-fallback.hh | 4 +- - src/hb-ot-shape-complex-arabic-win1256.hh | 2 +- - src/hb-ot-shape-complex-arabic.cc | 6 +- - ...ic-private.hh => hb-ot-shape-complex-arabic.hh} | 10 +-- - src/hb-ot-shape-complex-default.cc | 2 +- - src/hb-ot-shape-complex-hangul.cc | 2 +- - src/hb-ot-shape-complex-hebrew.cc | 2 +- - src/hb-ot-shape-complex-indic-machine.hh | 2 +- - src/hb-ot-shape-complex-indic-machine.rl | 2 +- - src/hb-ot-shape-complex-indic-table.cc | 2 +- - src/hb-ot-shape-complex-indic.cc | 4 +- - ...dic-private.hh => hb-ot-shape-complex-indic.hh} | 12 ++-- - src/hb-ot-shape-complex-khmer-machine.hh | 2 +- - src/hb-ot-shape-complex-khmer-machine.rl | 2 +- - src/hb-ot-shape-complex-khmer.cc | 4 +- - ...mer-private.hh => hb-ot-shape-complex-khmer.hh} | 10 +-- - src/hb-ot-shape-complex-myanmar-machine.hh | 2 +- - src/hb-ot-shape-complex-myanmar-machine.rl | 2 +- - src/hb-ot-shape-complex-myanmar.cc | 2 +- - ...r-private.hh => hb-ot-shape-complex-myanmar.hh} | 10 +-- - src/hb-ot-shape-complex-thai.cc | 2 +- - src/hb-ot-shape-complex-tibetan.cc | 2 +- - src/hb-ot-shape-complex-use-machine.hh | 2 +- - src/hb-ot-shape-complex-use-machine.rl | 2 +- - src/hb-ot-shape-complex-use-table.cc | 2 +- - src/hb-ot-shape-complex-use.cc | 4 +- - ...x-use-private.hh => hb-ot-shape-complex-use.hh} | 10 +-- - ...e-complex-private.hh => hb-ot-shape-complex.hh} | 12 ++-- - src/hb-ot-shape-fallback.cc | 4 +- - ...fallback-private.hh => hb-ot-shape-fallback.hh} | 10 +-- - src/hb-ot-shape-normalize.cc | 6 +- - ...rmalize-private.hh => hb-ot-shape-normalize.hh} | 8 +-- - src/hb-ot-shape.cc | 20 +++--- - src/{hb-ot-shape-private.hh => hb-ot-shape.hh} | 12 ++-- - src/hb-ot-tag.cc | 2 +- - src/hb-ot-var-avar-table.hh | 2 +- - src/hb-ot-var-fvar-table.hh | 2 +- - src/hb-ot-var-hvar-table.hh | 2 +- - src/hb-ot-var-mvar-table.hh | 2 +- - src/hb-ot-var.cc | 4 +- - src/{hb-set-digest-private.hh => hb-set-digest.hh} | 8 +-- - src/hb-set.cc | 2 +- - src/{hb-set-private.hh => hb-set.hh} | 8 +-- - src/hb-shape-plan.cc | 10 +-- - src/{hb-shape-plan-private.hh => hb-shape-plan.hh} | 10 +-- - src/hb-shape.cc | 12 ++-- - ...hb-shaper-impl-private.hh => hb-shaper-impl.hh} | 16 ++--- - src/hb-shaper.cc | 6 +- - src/{hb-shaper-private.hh => hb-shaper.hh} | 8 +-- - src/hb-static.cc | 8 +-- - src/hb-string-array.hh | 2 +- - src/hb-subset-glyf.cc | 2 +- - src/hb-subset-glyf.hh | 2 +- - src/hb-subset-input.cc | 4 +- - src/hb-subset-plan.cc | 6 +- - src/hb-subset-plan.hh | 6 +- - src/hb-subset.cc | 8 +-- - src/{hb-subset-private.hh => hb-subset.hh} | 10 +-- - src/hb-ucdn.cc | 6 +- - src/hb-unicode.cc | 6 +- - src/{hb-unicode-private.hh => hb-unicode.hh} | 8 +-- - src/hb-uniscribe.cc | 6 +- - src/{hb-utf-private.hh => hb-utf.hh} | 8 +-- - src/{hb-vector-private.hh => hb-vector.hh} | 8 +-- - src/hb-warning.cc | 6 +- - src/{hb-private.hh => hb.hh} | 12 ++-- - src/main.cc | 4 +- - src/test-buffer-serialize.cc | 2 +- - src/test-size-params.cc | 2 +- - src/test-unicode-ranges.cc | 2 +- - src/test-would-substitute.cc | 2 +- - src/test.cc | 2 +- - test/api/test-common.c | 1 - - util/Makefile.am | 4 +- - util/ansi-print.hh | 3 +- - util/hb-subset.cc | 2 +- - util/helper-cairo-ansi.hh | 2 +- - util/helper-cairo.hh | 2 +- - util/main-font-text.hh | 2 +- - util/options.hh | 2 +- - util/shape-consumer.hh | 2 +- - util/view-cairo.hh | 2 +- - 168 files changed, 452 insertions(+), 455 deletions(-) - -commit 82b12bcadd50c9e86bbe82623a1cbc0b4afdd237 -Author: Behdad Esfahbod -Date: Sat Aug 25 22:07:17 2018 -0700 - - [unicode] Add HB_UNICODE_MAX - - New API: - HB_UNICODE_MAX - - docs/harfbuzz-sections.txt | 1 + - src/hb-ot-cmap-table.hh | 8 ++------ - src/hb-unicode.h | 3 +++ - 3 files changed, 6 insertions(+), 6 deletions(-) - -commit b09a0336ca856a2b1040e7fabd5819b64749e308 -Author: Behdad Esfahbod -Date: Sat Aug 25 22:04:39 2018 -0700 - - [cmap] More hb_auto_t<>(...) - - src/hb-subset.cc | 12 +++--------- - 1 file changed, 3 insertions(+), 9 deletions(-) - -commit 28634db07e6ecbdb7e59ed8f989212272a97de86 -Author: Behdad Esfahbod -Date: Sat Aug 25 21:23:43 2018 -0700 - - [cmap] Fix skipping gid0 in Format4 collect_unicodes() - - src/hb-ot-cmap-table.hh | 20 ++++++++++++++++++-- - 1 file changed, 18 insertions(+), 2 deletions(-) - -commit acce1fa3ea9707d0883cd66397fd187d3268905c -Author: Behdad Esfahbod -Date: Sat Aug 25 21:15:39 2018 -0700 - - Use new hb_auto_t<> constructor with Coverage::Iter - - src/hb-ot-layout-common-private.hh | 65 ++++++++++++++++++++++++-------------- - src/hb-ot-layout-gsub-table.hh | 30 ++++++------------ - 2 files changed, 52 insertions(+), 43 deletions(-) - -commit ddea4d19cf6d64270e14418f02e7ff1f1b9458db -Author: Behdad Esfahbod -Date: Sat Aug 25 21:08:15 2018 -0700 - - Add 1-param passthrough constructor to hb_auto_t<> - - And use. - - src/hb-dsalgs.hh | 1 + - src/hb-ot-cmap-table.hh | 7 +++---- - 2 files changed, 4 insertions(+), 4 deletions(-) - -commit c8cfb702e96bf4e89495fcc56f965c88bfa77dca -Author: Behdad Esfahbod -Date: Sat Aug 25 16:14:32 2018 -0700 - - [cmap] Minor - - src/hb-ot-cmap-table.hh | 8 +++++--- - 1 file changed, 5 insertions(+), 3 deletions(-) - -commit 1dcf5fb038e7c2d3d03a50c4cd9869a922f9adf7 -Author: Behdad Esfahbod -Date: Sat Aug 25 16:11:26 2018 -0700 - - [cmap Add hb_subset_collect_variation_unicodes() - - To be moved to hb-face.h later. - - src/hb-ot-cmap-table.hh | 59 +++++++++++++++++++++++++++++++++++++++++-------- - src/hb-subset.cc | 25 ++++++++++++++++++++- - src/hb-subset.h | 10 +++++++-- - 3 files changed, 82 insertions(+), 12 deletions(-) - -commit 4806b3800d77603c203e8bb2e88baeb2b3a14f05 -Author: Behdad Esfahbod -Date: Sat Aug 25 15:56:07 2018 -0700 - - [cmap] Add hb_subset_collect_variation_selectors() - - To be moved to hb-face later. - - src/hb-ot-cmap-table.hh | 20 ++++++++++++++++---- - src/hb-subset.cc | 30 ++++++++++++++++++++++++++---- - src/hb-subset.h | 8 +++++++- - 3 files changed, 49 insertions(+), 9 deletions(-) - -commit 3336de24790ac1a12852ac2a3e2fff4d6bb19bc7 -Author: Behdad Esfahbod -Date: Sat Aug 25 15:41:25 2018 -0700 - - [cmap] Remove unused code - - src/hb-ot-cmap-table.hh | 10 ---------- - 1 file changed, 10 deletions(-) - -commit 1becabe06c0c58aaf69a9ba641508e77a60f3451 -Author: Behdad Esfahbod -Date: Sat Aug 25 15:37:56 2018 -0700 - - [cmap] Use bsearch to find subtables - - src/hb-ot-cmap-table.hh | 5 +---- - test/shaping/data/in-house/tests/fuzzed.tests | 2 +- - 2 files changed, 2 insertions(+), 5 deletions(-) - -commit 02fe03e09a3258e07d2d6749990f6d31dd2a8525 -Author: Behdad Esfahbod -Date: Sat Aug 25 15:33:05 2018 -0700 - - [cmap] Factor out find_best_subtable - - src/hb-ot-cmap-table.hh | 52 +++++++++++++++++++++++++++++-------------------- - 1 file changed, 31 insertions(+), 21 deletions(-) - -commit b41c43b4e112bfa38fef35694842f242c28a7da2 -Author: Behdad Esfahbod -Date: Sat Aug 25 15:25:03 2018 -0700 - - Minor - - src/hb-ot-cmap-table.hh | 48 ++++++++++++++++++++++++++---------------------- - 1 file changed, 26 insertions(+), 22 deletions(-) - -commit 7d382fa276f44b7b163e98d434cc79f958bf87fb -Author: Behdad Esfahbod -Date: Sat Aug 25 09:35:45 2018 -0700 - - [cmap] Implement collect_unicodes() for Format0/6/10 - - src/hb-ot-cmap-table.hh | 23 +++++++++++++++++++---- - 1 file changed, 19 insertions(+), 4 deletions(-) - -commit bd0e542525d41d9ebe51cbcab8151d65eb984b2e -Author: Behdad Esfahbod -Date: Sat Aug 25 09:33:30 2018 -0700 - - [cmap] Simplify collect_unicodes() - - Don't use accelerator (almost). Hooks up Format13 as well. - - src/hb-ot-cmap-table.hh | 52 +++++++++++++++++++++++++++---------------------- - 1 file changed, 29 insertions(+), 23 deletions(-) - -commit d60c465627d76fcfbeb37d6b8f9382f3b84ace6e -Author: Behdad Esfahbod -Date: Sat Aug 25 08:47:06 2018 -0700 - - Rename get_all_codepoints() to collect_unicodes() - - src/hb-ot-cmap-table.hh | 26 ++++++++++++------------- - src/hb-subset.cc | 6 +++--- - src/hb-subset.h | 4 ++-- - test/api/test-subset-codepoints.c | 18 ++++++++--------- - test/fuzzing/hb-subset-get-codepoints-fuzzer.cc | 2 +- - 5 files changed, 28 insertions(+), 28 deletions(-) - -commit 531051b8b904cf4eb6a50bacebc11c2d85e40140 -Author: Behdad Esfahbod -Date: Sat Aug 25 08:44:18 2018 -0700 - - [ot-font] Return char-not-found if mapped to gid 0 - - OpenType cmap table can use gid=0 to mean "not covered" to produce - more optimized cmap subtables. Return false from get_nominal_glyph() - for those. hb-ft already does this. - - src/hb-ot-cmap-table.hh | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit aadb2a9188f143126392c0b0f139326dcf7f9c8d -Author: Behdad Esfahbod -Date: Sat Aug 25 08:18:53 2018 -0700 - - Add face-builder - - New API: - +hb_face_builder_create - +hb_face_builder_add_table - - docs/harfbuzz-sections.txt | 5 +- - src/hb-face.cc | 149 +++++++++++++++++++++++++++++++++++++++++++++ - src/hb-face.h | 14 +++++ - src/hb-subset-plan.cc | 2 +- - src/hb-subset-plan.hh | 2 +- - src/hb-subset-private.hh | 7 --- - src/hb-subset.cc | 129 --------------------------------------- - 7 files changed, 169 insertions(+), 139 deletions(-) - -commit 6cac9dc9ccb76945e9dfacafc169afad4a6e1e88 -Author: Behdad Esfahbod -Date: Fri Aug 24 10:29:45 2018 -0700 - - [blob] Add as_bytes() - - src/hb-blob-private.hh | 4 ++++ - 1 file changed, 4 insertions(+) - -commit 29a9a0883877c598413de78cd0c61f07bc393b2c -Author: Behdad Esfahbod -Date: Fri Aug 24 10:24:45 2018 -0700 - - [sanitize] Document how sanitize machinery works - - src/hb-machinery-private.hh | 62 +++++++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 62 insertions(+) - -commit 142ac5a6be6088771e0ee4b135ba753c80036a9a -Author: Behdad Esfahbod -Date: Fri Aug 24 10:07:49 2018 -0700 - - [serialize] Add copy_bytes() and copy_blob() - - src/hb-dsalgs.hh | 3 +++ - src/hb-machinery-private.hh | 21 ++++++++++++++++++++- - 2 files changed, 23 insertions(+), 1 deletion(-) - -commit 1c6b3693245d38103cab224d75262d45dc88c71c -Author: Behdad Esfahbod -Date: Wed Aug 15 20:12:25 2018 -0700 - - [ot] Rename hb_ot_layout_t to hb_ot_face_data_t - - src/hb-aat-layout.cc | 17 +----- - src/hb-ot-color.cc | 6 +-- - src/hb-ot-layout-gpos-table.hh | 6 +-- - src/hb-ot-layout-gsub-table.hh | 8 ++- - src/hb-ot-layout-gsubgpos-private.hh | 2 +- - src/hb-ot-layout-private.hh | 12 ++--- - src/hb-ot-layout.cc | 100 +++++++++++++++++------------------ - src/hb-ot-math.cc | 2 +- - src/hb-ot-shape.cc | 5 +- - src/hb-ot-var.cc | 4 +- - 10 files changed, 71 insertions(+), 91 deletions(-) - -commit 27c32d8afbdf5b587b14f3b194f79882680348ba -Author: Michiharu Ariza -Date: Wed Aug 22 11:36:39 2018 -0700 - - fixed "Fixed" number decoding - - src/hb-cff-interp-common-private.hh | 11 ++++++++++- - src/hb-cff-interp-cs-common-private.hh | 4 ++-- - 2 files changed, 12 insertions(+), 3 deletions(-) - -commit 811a651bbd3f1bda7ed8eaee9af8e9dbbc8f80de -Author: Michiharu Ariza -Date: Mon Aug 20 14:04:46 2018 -0700 - - fixed bugs with empty CFFIndex, fullset FDMap - - src/hb-ot-cff-common-private.hh | 21 ++++++++++++++++++--- - 1 file changed, 18 insertions(+), 3 deletions(-) - -commit 5cde2f55cd2f8917954f3a3f60bd571c86b3aa59 -Author: Michiharu Ariza -Date: Fri Aug 17 16:50:13 2018 -0700 - - drop hints from CFF & CFF2 Private - - src/hb-cff-interp-dict-common-private.hh | 24 ++++++++++++++ - src/hb-subset-cff1.cc | 53 +++++++++++++++++++++++++++--- - src/hb-subset-cff2.cc | 55 +++++++++++++++++++++++++++++--- - 3 files changed, 123 insertions(+), 9 deletions(-) - -commit cef75ea41a513a612a683bced27ced31761204b5 -Author: Michiharu Ariza -Date: Fri Aug 17 13:13:18 2018 -0700 - - Added CFF2 Subr nullifier - - along with CFF2 charstring interpreter - factored out common code between CFF1 & CFF2 to CSInterpreter - moved fetch_op from Interpreter to InterpEnv - misc code clean up & bug fixes - - src/Makefile.sources | 1 + - src/hb-cff-interp-common-private.hh | 44 +++++++-------- - src/hb-cff-interp-cs-common-private.hh | 95 +++++++++++++++++++++++++++++-- - src/hb-cff-interp-dict-common-private.hh | 3 +- - src/hb-cff1-interp-cs.hh | 82 --------------------------- - src/hb-cff2-interp-cs.hh | 97 ++++++++++++++++++++++++++++++++ - src/hb-ot-cff-common-private.hh | 4 ++ - src/hb-ot-cff2-table.hh | 7 ++- - src/hb-subset-cff1.cc | 1 + - src/hb-subset-cff2.cc | 62 ++++++++++++++++++-- - 10 files changed, 278 insertions(+), 118 deletions(-) - -commit f57d6bcbca276cec54d1e5308c308265e8e983b9 -Author: Michiharu Ariza -Date: Thu Aug 16 08:03:46 2018 -0700 - - renamed CFF::Index to CFF::CFFIndex - - to avoid confusion with OT::Index - - src/hb-ot-cff-common-private.hh | 38 +++++++++++++++++++------------------- - src/hb-ot-cff1-table.hh | 4 ++-- - src/hb-ot-cff2-table.hh | 2 +- - src/hb-subset-cff2.cc | 4 ++-- - 4 files changed, 24 insertions(+), 24 deletions(-) - -commit c4ae426a3d3f9411b94d35745ca0e14677cd7bdb -Author: Michiharu Ariza -Date: Thu Aug 16 00:59:46 2018 -0700 - - treat h/vstem the same as h/vstemhm - - src/hb-cff1-interp-cs.hh | 4 +--- - 1 file changed, 1 insertion(+), 3 deletions(-) - -commit e67bb3fbcf39385ea1db136aeca61291364fb75b -Author: Michiharu Ariza -Date: Thu Aug 16 00:25:57 2018 -0700 - - renamed OT::cff to OT::cff1 for consistency - - along with HB_OT_TAG_cff1 - - src/hb-ot-cff1-table.hh | 14 +++++++------- - src/hb-subset-cff1.cc | 16 ++++++++-------- - src/hb-subset.cc | 4 ++-- - 3 files changed, 17 insertions(+), 17 deletions(-) - -commit fdbfa1848b2f279c0f7a885bc1a985fa3375cfcd -Author: Michiharu Ariza -Date: Thu Aug 16 00:13:09 2018 -0700 - - renamed CFF version 1 structs and sources to CFF1 from CFF - - "CFF" is used for shared structs & sources between CFF1 & CFF2 - except OT:cff is for CFF version 1 table - - src/Makefile.sources | 8 +- - src/{hb-cff-interp-cs.hh => hb-cff1-interp-cs.hh} | 22 ++-- - src/{hb-ot-cff-table.hh => hb-ot-cff1-table.hh} | 150 +++++++++++----------- - src/hb-ot-font.cc | 2 +- - src/{hb-subset-cff.cc => hb-subset-cff1.cc} | 86 ++++++------- - src/{hb-subset-cff.hh => hb-subset-cff1.hh} | 8 +- - src/hb-subset.cc | 2 +- - 7 files changed, 139 insertions(+), 139 deletions(-) - -commit 867f68bd8a74634ac6220bd76c8bafe3e2226041 -Author: Michiharu Ariza -Date: Wed Aug 15 15:53:50 2018 -0700 - - fix build attempt ^7 - - src/hb-subset-cff2.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 685db67bb07505729fdb997129ffd068bbe3c40d -Author: Michiharu Ariza -Date: Wed Aug 15 15:45:17 2018 -0700 - - fix build attempt ^6 - - src/hb-subset-cff2.cc | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -commit 2810caafeb9a621d53653f454dab0fa3e7f5c4a3 -Author: Michiharu Ariza -Date: Wed Aug 15 15:30:24 2018 -0700 - - fix build attempt ^5 - - src/hb-subset-cff2.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 25b8310b2a3e074c9d1d723ab6d10a29f8d189be -Merge: 7aa23f359 22defe096 -Author: Michiharu Ariza -Date: Wed Aug 15 15:00:55 2018 -0700 - - Merge branch 'master' into cff-subset - -commit 7aa23f3597e4783b88ad526021cc4cafc05395f2 -Author: Michiharu Ariza -Date: Wed Aug 15 15:00:32 2018 -0700 - - fix build attempt ^4 - - src/hb-cff-interp-cs.hh | 10 +++++----- - src/hb-subset-cff.cc | 2 +- - 2 files changed, 6 insertions(+), 6 deletions(-) - -commit 270452a44653773b3dc584729ec438ff922e2739 -Author: Michiharu Ariza -Date: Wed Aug 15 13:15:08 2018 -0700 - - fix build attempt ^3 - - src/hb-cff-interp-common-private.hh | 2 -- - src/hb-cff-interp-cs-common-private.hh | 1 + - src/hb-cff-interp-cs.hh | 1 + - src/hb-subset-cff.cc | 2 +- - 4 files changed, 3 insertions(+), 3 deletions(-) - -commit c234839f25e68700c3489c55fda2773f2e00eecb -Author: Michiharu Ariza -Date: Wed Aug 15 13:04:43 2018 -0700 - - fix build attempt ^2 - - src/hb-cff-interp-common-private.hh | 2 ++ - src/hb-cff-interp-cs-common-private.hh | 6 +++--- - src/hb-cff-interp-cs.hh | 6 +++--- - src/hb-cff-interp-dict-common-private.hh | 6 +++--- - src/hb-subset-cff.cc | 6 +++--- - 5 files changed, 14 insertions(+), 12 deletions(-) - -commit eab07e713a67da2c5b368c59808f7e2db1cf0b0b -Author: Michiharu Ariza -Date: Wed Aug 15 12:15:55 2018 -0700 - - fix build - - src/Makefile.sources | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 633ce88de93f5c565ee7fb8acdbd93c57779524b -Author: Michiharu Ariza -Date: Wed Aug 15 12:00:19 2018 -0700 - - CFF Subrs subsetting - - Unreferenced subroutines are nullified (not removed) in a subset font - - Separate Interpreter struct from hb-ot-cff-common-private.hh in a set of four header files, augmented for CharString (CS): - hb-cff-interp-common-private.hh - hb-cff-interp-dict-common-private.hh - hb-cff-interp-cs-common-private.hh - hb-cff-interp-cs.hh - - Interpreter runtime is separated off as a new struct InterpEnv sub-classed differently for Dict and CharString (CS) - - src/Makefile.sources | 8 +- - src/hb-cff-interp-common-private.hh | 581 +++++++++++++++++++++++++++++++ - src/hb-cff-interp-cs-common-private.hh | 174 +++++++++ - src/hb-cff-interp-cs.hh | 282 +++++++++++++++ - src/hb-cff-interp-dict-common-private.hh | 183 ++++++++++ - src/hb-ot-cff-common-private.hh | 562 ++---------------------------- - src/hb-ot-cff-table.hh | 165 ++++----- - src/hb-ot-cff2-table.hh | 147 ++++---- - src/hb-subset-cff-common-private.hh | 83 +++++ - src/hb-subset-cff.cc | 118 +++++-- - src/hb-subset-cff2.cc | 38 +- - 11 files changed, 1585 insertions(+), 756 deletions(-) - -commit 22defe0965adddaa09eebc13df7fa6c64e2abba3 -Author: Emil A Eklund -Date: Tue Aug 14 14:47:20 2018 -0700 - - Add guard around free_static_C_locale - - Add HB_USE_ATEXIT guard around free_static_C_locale missed by previous - commit. - - src/hb-common.cc | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 7112c6413ca7a1773847fe258145cc5162420953 -Author: Emil A Eklund -Date: Tue Aug 14 13:50:24 2018 -0700 - - Guard free_static function definitions with macro - - Add HB_USE_ATEXIT macros around free_static function definitions to - avoid unused function compiler warnings/errors. - - src/hb-ft.cc | 5 ++++- - src/hb-glib.cc | 3 ++- - src/hb-icu.cc | 3 ++- - src/hb-ot-font.cc | 3 ++- - src/hb-shape.cc | 4 +++- - src/hb-shaper.cc | 3 ++- - 6 files changed, 15 insertions(+), 6 deletions(-) - -commit 63be5dcdde61275822d931b2924425478bc1dac1 -Author: Behdad Esfahbod -Date: Tue Aug 14 10:59:34 2018 -0700 - - 1.8.8 - - NEWS | 18 ++++++++++++++++++ - configure.ac | 2 +- - src/hb-version.h | 4 ++-- - 3 files changed, 21 insertions(+), 3 deletions(-) - -commit c9a22fa124310c98c73b8d7b495ed354542a75de -Author: Behdad Esfahbod -Date: Mon Aug 13 17:02:21 2018 -0700 - - [icu] Pass normalizer instance down as user_data - - src/hb-icu.cc | 23 +++++++++-------------- - 1 file changed, 9 insertions(+), 14 deletions(-) - -commit f0ef096b8cab33aa9e26edba9b15696bf907e268 -Author: Behdad Esfahbod -Date: Mon Aug 13 10:30:41 2018 -0700 - - Don't add reference in get_unicode_funcs() functions - - Users don't expect a new reference returned from a get() function. - Indeed, all users of that API I foud where NOT destroying the reference. - Just change the implementations to NOT return a reference. - - This applies to the following APIs: - hb_unicode_funcs_get_default() - hb_glib_get_unicode_funcs() - hb_icu_get_unicode_funcs() - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1134 - - src/hb-buffer.cc | 3 +-- - src/hb-glib.cc | 2 +- - src/hb-icu.cc | 2 +- - src/hb-ucdn.cc | 2 +- - 4 files changed, 4 insertions(+), 5 deletions(-) - -commit 9bbd1cdf068635f4a737f1fc9ab54ba075601a5d -Author: Behdad Esfahbod -Date: Sun Aug 12 18:20:53 2018 -0700 - - [uniscribe] Use lazy loader - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1129 - - src/hb-uniscribe.cc | 56 +++++++++++++++++++++++++++-------------------------- - 1 file changed, 29 insertions(+), 27 deletions(-) - -commit 266368993625e0cfb6eef9188f8b9aa29fb97391 -Author: Behdad Esfahbod -Date: Sun Aug 12 18:10:59 2018 -0700 - - Another clang bot fix - - src/hb-shape.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 989e71a982658145f28f83f2111bdab9561f3db0 -Author: Behdad Esfahbod -Date: Sun Aug 12 17:47:59 2018 -0700 - - Silence clang - - src/hb-machinery-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 6750ec692cdd682bd33cb1c37b137cf3bb641d43 -Author: Behdad Esfahbod -Date: Sun Aug 12 17:42:16 2018 -0700 - - [lazy] Use for C_locale - - src/hb-common.cc | 60 ++++++++++++++++++++++++++++---------------------------- - 1 file changed, 30 insertions(+), 30 deletions(-) - -commit 747d2564e6bdcc15cf6a197e543fb732924159c5 -Author: Behdad Esfahbod -Date: Sun Aug 12 17:32:10 2018 -0700 - - [lazy] Port more - - src/hb-machinery-private.hh | 1 - - src/hb-shaper.cc | 78 ++++++++++++++++++++------------------------- - src/hb-uniscribe.cc | 3 +- - 3 files changed, 37 insertions(+), 45 deletions(-) - -commit 7bd508a0c4ce426f474bfcc729cb39207dd1f7b4 -Author: Behdad Esfahbod -Date: Sun Aug 12 17:19:55 2018 -0700 - - [lazy] Rename free() - - src/hb-ft.cc | 4 ++-- - src/hb-glib.cc | 2 +- - src/hb-icu.cc | 2 +- - src/hb-machinery-private.hh | 4 ++-- - src/hb-ot-font.cc | 2 +- - src/hb-shape.cc | 6 +++--- - src/hb-ucdn.cc | 2 +- - 7 files changed, 11 insertions(+), 11 deletions(-) - -commit a3b97db910662e26bafe6e6bc1c36b437f4ed931 -Author: Behdad Esfahbod -Date: Sun Aug 12 17:14:32 2018 -0700 - - [lazy] Port more to it - - src/hb-shape.cc | 75 +++++++++++++++++++++++++++++---------------------------- - 1 file changed, 38 insertions(+), 37 deletions(-) - -commit 6901090945d7e16102f3a2b168465434032b9a09 -Author: Behdad Esfahbod -Date: Sun Aug 12 16:57:06 2018 -0700 - - [lazy] Make hb_lazy_loader_t<> more usable - - src/hb-ft.cc | 7 +++--- - src/hb-machinery-private.hh | 57 +++++++++++++++++++++++++++------------------ - 2 files changed, 37 insertions(+), 27 deletions(-) - -commit bb905e9afcc3eb28a22ba78c09e661a814d04c1f -Author: Behdad Esfahbod -Date: Sun Aug 12 16:40:08 2018 -0700 - - [lazy] Minor - - src/hb-machinery-private.hh | 36 ++++++++++++++++++------------------ - src/hb-ot-font.cc | 8 ++++---- - 2 files changed, 22 insertions(+), 22 deletions(-) - -commit 3945cd78a96bdd287e203a0261bac490df1314b0 -Author: Behdad Esfahbod -Date: Sun Aug 12 16:33:48 2018 -0700 - - Minor - - src/hb-machinery-private.hh | 4 ---- - 1 file changed, 4 deletions(-) - -commit c21a1b95dffedb6ed66b384f4adf07e6d05d4b9f -Author: Behdad Esfahbod -Date: Sun Aug 12 16:30:39 2018 -0700 - - [icu] Use get_relaxed for normalizer access - - We've had the proper barriers already. No need for more with every access. - - src/hb-icu.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 125fefa2a6b23cf7eb4559904b23aff3731d5dba -Author: Behdad Esfahbod -Date: Sun Aug 12 16:29:41 2018 -0700 - - [icu] Fix for breakage after recent change - - src/hb-icu.cc | 10 ++++++++++ - 1 file changed, 10 insertions(+) - -commit 53442be1edc73993bdcaffc4b895c07f1ea03ba0 -Author: Behdad Esfahbod -Date: Sun Aug 12 16:20:11 2018 -0700 - - [lazy] Use for ft_library - - src/hb-ft.cc | 61 ++++++++++++++++++++++----------------------- - src/hb-glib.cc | 2 +- - src/hb-icu.cc | 2 +- - src/hb-machinery-private.hh | 2 +- - src/hb-ot-font.cc | 2 +- - src/hb-ucdn.cc | 2 +- - 6 files changed, 35 insertions(+), 36 deletions(-) - -commit 7a8d480378af4094645dfb1527a61a94b4786b54 -Author: Behdad Esfahbod -Date: Sun Aug 12 16:00:13 2018 -0700 - - [lazy] Add .free() - - src/hb-ft.cc | 2 +- - src/hb-glib.cc | 2 +- - src/hb-icu.cc | 2 +- - src/hb-machinery-private.hh | 4 ++++ - src/hb-ot-font.cc | 2 +- - src/hb-ucdn.cc | 2 +- - 6 files changed, 9 insertions(+), 5 deletions(-) - -commit c7ca30a5337cb660e650d51ddd17d389909357c2 -Author: Behdad Esfahbod -Date: Sun Aug 12 13:46:53 2018 -0700 - - [ot/ft] Port font_funcs statis to lazy-loader - - src/hb-ft.cc | 56 ++++++++++++++++++++++----------------------- - src/hb-machinery-private.hh | 14 ++++++++++++ - src/hb-ot-font.cc | 49 +++++++++++++++++---------------------- - 3 files changed, 62 insertions(+), 57 deletions(-) - -commit cb3fc3685c03c8ed07bcf05188f5d6c582fd5aaa -Author: Behdad Esfahbod -Date: Sun Aug 12 13:39:01 2018 -0700 - - [ucdn/glib/icu] Port unicode_funcs statics to lazy-loader - - src/hb-glib.cc | 50 ++++++++++++++++++-------------------- - src/hb-icu.cc | 59 ++++++++++++++++----------------------------- - src/hb-machinery-private.hh | 28 ++++++++++++++++----- - src/hb-ucdn.cc | 51 +++++++++++++++++---------------------- - 4 files changed, 88 insertions(+), 100 deletions(-) - -commit 1b6b481262465ae1865c66c4d499b4b2c8d297fb -Author: Behdad Esfahbod -Date: Sun Aug 12 13:16:40 2018 -0700 - - [lazy] Allow calling fini() multiple times - - src/hb-machinery-private.hh | 9 ++++++++- - 1 file changed, 8 insertions(+), 1 deletion(-) - -commit 918ad9f5d9b85384f24157523272a4ffc1927d16 -Author: Behdad Esfahbod -Date: Sun Aug 12 13:12:29 2018 -0700 - - [lazy] More - - src/hb-machinery-private.hh | 45 +++++++++++++++++++++++++++++++++++++-------- - 1 file changed, 37 insertions(+), 8 deletions(-) - -commit 5abdf5eebadf9a4fbd50c1a893c9654de74d22ac -Author: Behdad Esfahbod -Date: Sun Aug 12 12:40:24 2018 -0700 - - [lazy] More shuffle - - src/hb-machinery-private.hh | 80 +++++++++++++++++++-------------------------- - 1 file changed, 34 insertions(+), 46 deletions(-) - -commit 5d9863be6ecf873033cbab732207dd420f3866e7 -Author: Behdad Esfahbod -Date: Sun Aug 12 12:27:47 2018 -0700 - - Minor - - src/hb-machinery-private.hh | 6 ++++-- - src/hb-ot-layout-private.hh | 2 +- - 2 files changed, 5 insertions(+), 3 deletions(-) - -commit f9a3eab81008c01a458d16f274b1a0eaaae00e7c -Author: Behdad Esfahbod -Date: Sun Aug 12 12:21:56 2018 -0700 - - Add explicit_operator - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1127 - - src/hb-iter-private.hh | 2 +- - src/hb-private.hh | 15 ++++++++++++++- - 2 files changed, 15 insertions(+), 2 deletions(-) - -commit 470acb6c322fc64556d59847d829d95caa2d51e6 -Author: Behdad Esfahbod -Date: Sun Aug 12 12:09:20 2018 -0700 - - Rename - - src/hb-machinery-private.hh | 19 ++++++++++++------- - 1 file changed, 12 insertions(+), 7 deletions(-) - -commit 39607dc98e433ef577c1de0f309ce40fc40529be -Author: Martin Hosken -Date: Thu Aug 9 15:16:32 2018 +0700 - - Support _ in feature ids - - src/hb-common.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit a3a8c85b027779365bb33e2063221b4650fbac3b -Merge: 145f371d7 652cd45c6 -Author: Michiharu Ariza -Date: Fri Aug 10 13:41:42 2018 -0700 - - Merge branch 'master' into cff-subset - -commit 145f371d71965b86635025c73117db0e24f2df75 -Author: Michiharu Ariza -Date: Fri Aug 10 13:07:53 2018 -0700 - - fixed TRACE build failure - - src/hb-ot-cff-common-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit a97ed342d18bdb262400c8ab6501df110fe4e18f -Author: Michiharu Ariza -Date: Fri Aug 10 12:55:22 2018 -0700 - - fixed inclusion of excluded Private & local Subrs - - It was bloating a multi-FD subset font unnecessarily - defined a wrapper struct FDMap for fdmap - - src/hb-ot-cff-common-private.hh | 34 ++++++++++++++++++++----- - src/hb-subset-cff-common-private.cc | 6 ++--- - src/hb-subset-cff-common-private.hh | 4 +-- - src/hb-subset-cff.cc | 48 +++++++++++++++++++---------------- - src/hb-subset-cff2.cc | 50 ++++++++++++++++++++----------------- - 5 files changed, 87 insertions(+), 55 deletions(-) - -commit 64c541226457907ec1801a5766050ee64feb67e8 -Author: Michiharu Ariza -Date: Fri Aug 10 11:07:07 2018 -0700 - - Added CFF support - - Added sources hb-ot-cff-table.hh, hb-subset-cff.cc & hh - Templatized Index because CFF uses 16-bit count while CFF2 uses 32-bit - Misc code cleanup & bug fixes - - src/Makefile.sources | 9 +- - src/hb-ot-cff-common-private.hh | 477 ++++++++++++------- - src/hb-ot-cff-table.hh | 919 ++++++++++++++++++++++++++++++++++++ - src/hb-ot-cff2-table.hh | 235 ++++----- - src/hb-ot-font.cc | 1 + - src/hb-subset-cff-common-private.cc | 6 +- - src/hb-subset-cff-common-private.hh | 4 +- - src/hb-subset-cff.cc | 560 ++++++++++++++++++++++ - src/hb-subset-cff.hh | 38 ++ - src/hb-subset-cff2.cc | 104 ++-- - src/hb-subset.cc | 4 + - 11 files changed, 1991 insertions(+), 366 deletions(-) - -commit 652cd45c650b1cdce2585dcee614e5a9cdda530c -Author: Behdad Esfahbod -Date: Thu Aug 9 01:02:02 2018 -0700 - - [coretext] Another try - - src/hb-coretext.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 3f3585ca1406edd74138f78739612c167ab57913 -Author: Behdad Esfahbod -Date: Thu Aug 9 00:58:17 2018 -0700 - - Fix coretext build (hopefully) - - src/hb-coretext.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit aa3b6017ed71fc251522ff1bedcdae965b4c1c1c -Author: Behdad Esfahbod -Date: Thu Aug 9 00:56:28 2018 -0700 - - Revert "[iter] Make operator bool explicit" - - This reverts commit 66920a6bace7c54c8166c4ed938b6ffc5fabcf2b. - - Some of our bots (Oracle Studio and Apple gcc 4.2) do not allow - explicit except for constructors. - - https://github.com/harfbuzz/harfbuzz/issues/1127 - - src/hb-iter-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit e1a2354220c369bd5a62d255acc42c60cd14c473 -Author: Behdad Esfahbod -Date: Thu Aug 9 00:53:25 2018 -0700 - - [atomic] More - - src/hb-atomic-private.hh | 2 -- - src/hb-object-private.hh | 7 +++++-- - 2 files changed, 5 insertions(+), 4 deletions(-) - -commit f1f4b45ac3d228a6b11e33357725de065e2ba2be -Author: Behdad Esfahbod -Date: Thu Aug 9 00:28:40 2018 -0700 - - Fix lazy_loader fini() - - Was creating object even if wasn't there. - - src/hb-machinery-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 1f7380944df9aa81cd48a4764c763d692533c4a6 -Author: Behdad Esfahbod -Date: Thu Aug 9 00:22:37 2018 -0700 - - [atomic] Add hb_atomic_ptr_t<> and port all uses - - Found and fixed a couple bugs. - - Found a couple multithreading issues. Marked them with "XXX-MT-bug". - - src/hb-atomic-private.hh | 34 +++++++++++++++++++++++++++++++--- - src/hb-common.cc | 34 ++++++++++++++++++---------------- - src/hb-face-private.hh | 3 ++- - src/hb-face.cc | 6 +++--- - src/hb-font.cc | 2 +- - src/hb-ft.cc | 22 ++++++++++++---------- - src/hb-glib.cc | 11 ++++++----- - src/hb-graphite2.cc | 16 +++++++++------- - src/hb-icu.cc | 22 ++++++++++++---------- - src/hb-machinery-private.hh | 17 +++++++++-------- - src/hb-object-private.hh | 29 +++++++++++++++-------------- - src/hb-ot-font.cc | 11 ++++++----- - src/hb-ot-layout-private.hh | 2 +- - src/hb-ot-post-table.hh | 9 +++++---- - src/hb-ot-shape-complex-arabic.cc | 9 +++++---- - src/hb-shape-plan.cc | 19 +++++++++++-------- - src/hb-shape.cc | 11 ++++++----- - src/hb-shaper-impl-private.hh | 2 +- - src/hb-shaper-private.hh | 16 +++++++++------- - src/hb-shaper.cc | 18 ++++++++++-------- - src/hb-ucdn.cc | 11 ++++++----- - src/hb-uniscribe.cc | 14 +++++++------- - 22 files changed, 185 insertions(+), 133 deletions(-) - -commit 6e42f4c53ff52cc242051e80600e19513136f6d1 -Author: Behdad Esfahbod -Date: Wed Aug 8 22:51:35 2018 -0700 - - [atomic] Remove hb_atomic_int_impl_t now that it's always int - - src/hb-atomic-private.hh | 14 +++++--------- - 1 file changed, 5 insertions(+), 9 deletions(-) - -commit 1227a9e5a5befffa688c1cce141533fd80144d14 -Author: Behdad Esfahbod -Date: Wed Aug 8 22:45:49 2018 -0700 - - [atomic] Unify typedef - - Removes volatile from fallback implementation. That was handwavy - anyway. - - src/hb-atomic-private.hh | 22 ++++++++-------------- - 1 file changed, 8 insertions(+), 14 deletions(-) - -commit 5cd1888c9dcb8b32bcfe08be38bdd13fd8a09b5e -Author: Behdad Esfahbod -Date: Wed Aug 8 22:43:53 2018 -0700 - - [atomic] Change Mac atomic int type to int - - If ever int is not 32bit, we'll fix this... - - src/hb-atomic-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit e1de86eac188e804c6737fcad66ae09cf25ef221 -Author: Behdad Esfahbod -Date: Wed Aug 8 22:42:33 2018 -0700 - - [atomic] Change Windows atomic int type to int - - src/hb-atomic-private.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit aee2d10b2bf09814b32bccdecd4c3fbebafc542e -Author: Behdad Esfahbod -Date: Wed Aug 8 22:40:10 2018 -0700 - - [atomic] Change Solaris atomic int to signed - - src/hb-atomic-private.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit b6fdcf4f8bd09e065c767939125861c9dc8ff18f -Author: Behdad Esfahbod -Date: Wed Aug 8 21:54:08 2018 -0700 - - 1.8.7 - - NEWS | 6 ++++++ - RELEASING.md | 3 +++ - configure.ac | 2 +- - src/hb-version.h | 4 ++-- - 4 files changed, 12 insertions(+), 3 deletions(-) - -commit 51ffc3e65aacbece63995be99e2bc20538e3eb75 -Author: Behdad Esfahbod -Date: Wed Aug 8 22:01:04 2018 -0700 - - Fix previous commit to use atomic operations - - src/hb-machinery-private.hh | 13 ++++++++++--- - 1 file changed, 10 insertions(+), 3 deletions(-) - -commit 883957688cc4aa4335e5131a60b3ac3b53290726 -Author: Behdad Esfahbod -Date: Wed Aug 8 21:42:18 2018 -0700 - - Fix assertion failure - - https://bugzilla.mozilla.org/show_bug.cgi?id=1476334 - - src/hb-machinery-private.hh | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit e49a38b20e82e50bca96751470e945cbe0524880 -Author: Behdad Esfahbod -Date: Tue Aug 7 09:55:42 2018 -0700 - - 1.8.6 - - NEWS | 15 +++++++++++++++ - configure.ac | 2 +- - src/hb-font.cc | 6 +++--- - src/hb-font.h | 4 ++-- - src/hb-version.h | 4 ++-- - 5 files changed, 23 insertions(+), 8 deletions(-) - -commit b0ff79acd804e47a2a3db73746cf9c6dc986950a -Author: Behdad Esfahbod -Date: Tue Aug 7 09:52:06 2018 -0700 - - Add +hb_font_get_glyph_advances_for_direction - - New API: - +hb_font_get_glyph_advances_for_direction - - docs/harfbuzz-sections.txt | 1 + - src/hb-font-private.hh | 12 ++++++++++++ - src/hb-font.cc | 20 ++++++++++++++++++++ - src/hb-font.h | 8 ++++++++ - 4 files changed, 41 insertions(+) - -commit 28e2f467e1c7dd5e82d105efa8c4580dbfc93960 -Author: Behdad Esfahbod -Date: Tue Aug 7 09:47:00 2018 -0700 - - Actually add hb_font_get_glyph_[hv]_advances - - New API: - +hb_font_get_glyph_h_advances - +hb_font_get_glyph_v_advances - - src/hb-font.cc | 37 +++++++++++++++++++++++++++++++++++++ - src/hb-font.h | 15 +++++++++++++++ - 2 files changed, 52 insertions(+) - -commit 996775191a3fdeeeaee80e3123ef2240e6390b3d -Author: Behdad Esfahbod -Date: Tue Aug 7 09:44:01 2018 -0700 - - Minor - - src/hb-font-private.hh | 8 +++----- - 1 file changed, 3 insertions(+), 5 deletions(-) - -commit 3d7c555a19ca0725c386aa6da648ecf2ae50fc19 -Author: Behdad Esfahbod -Date: Tue Aug 7 09:37:52 2018 -0700 - - Remove get_advances_nil and alias it to get_advances_default - - src/hb-font.cc | 36 ++---------------------------------- - 1 file changed, 2 insertions(+), 34 deletions(-) - -commit 66920a6bace7c54c8166c4ed938b6ffc5fabcf2b -Author: Behdad Esfahbod -Date: Mon Aug 6 15:32:13 2018 -0700 - - [iter] Make operator bool explicit - - We would need to write: - - for (Iter it (...); bool (t); t++) - - instead of: - - for (Iter it (...); t; t++) - - But I think it's an improvement in code readability in the long term. - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1127 - - src/hb-iter-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 161ece4c3097096f355dc5ea514320a8dc678bea -Merge: e8d695eba 79e21984b -Author: Michiharu Ariza -Date: Mon Aug 6 11:23:50 2018 -0700 - - Merge branch 'master' into cff-subset - -commit e8d695ebaa4b5d36d907042fb6930244e87b1e29 -Author: Michiharu Ariza -Date: Mon Aug 6 11:13:06 2018 -0700 - - removed CMakeCache.txt - - build/CMakeCache.txt | 1 - - 1 file changed, 1 deletion(-) - -commit 9fae33b9f3fd7fce816c3db71089db4ce0c82d4c -Author: Michiharu Ariza -Date: Mon Aug 6 10:44:12 2018 -0700 - - Silence Codacy - - build/CMakeCache.txt | 1 + - src/hb-subset-cff-common-private.cc | 8 +++++--- - src/hb-subset-cff2.cc | 4 +++- - 3 files changed, 9 insertions(+), 4 deletions(-) - -commit 5561b818498431adb52f958d1e9589620f0e6539 -Author: Michiharu Ariza -Date: Mon Aug 6 10:04:53 2018 -0700 - - subset FDSelect and FDArray - - Added a set of sources hb-subset-cff-common-private.cc & .hh for FDSelect subseting code. - Added FDSelect format 4 (CFF2 only) support. Shared its implementation with format 3 as a template. - - src/Makefile.sources | 2 + - src/hb-ot-cff-common-private.hh | 130 ++++++++++++++++------- - src/hb-ot-cff2-table.hh | 71 ++++++++++++- - src/hb-subset-cff-common-private.cc | 200 ++++++++++++++++++++++++++++++++++++ - src/hb-subset-cff-common-private.hh | 54 ++++++++++ - src/hb-subset-cff2.cc | 71 ++++++++++--- - 6 files changed, 476 insertions(+), 52 deletions(-) - -commit 79e21984b13bdb879f3007ba9a97fde47df340d3 -Author: Behdad Esfahbod -Date: Mon Aug 6 09:45:17 2018 -0700 - - Add batch advance width callback function - - New API: - +hb_font_funcs_set_glyph_h_advances_func - +hb_font_funcs_set_glyph_v_advances_func - +hb_font_get_glyph_h_advances - +hb_font_get_glyph_h_advances_func_t - +hb_font_get_glyph_v_advances - +hb_font_get_glyph_v_advances_func_t - - docs/harfbuzz-sections.txt | 6 + - src/hb-font-private.hh | 41 +++++-- - src/hb-font.cc | 299 +++++++++++++++++++++++++++------------------ - src/hb-font.h | 53 ++++++-- - src/hb-ot-shape.cc | 3 +- - 5 files changed, 255 insertions(+), 147 deletions(-) - -commit 9533364cc3a8cccbae793de1873a727de73f64d5 -Author: Koji Ishii -Date: Wed Aug 1 13:01:08 2018 +0900 - - batchwidth - - src/hb-font-private.hh | 13 +++++++++++++ - src/hb-font.cc | 37 +++++++++++++++++++++++++++++++++++++ - src/hb-font.h | 15 +++++++++++++++ - src/hb-ot-shape.cc | 4 ++-- - 4 files changed, 67 insertions(+), 2 deletions(-) - -commit b912fbea17c50e229977345012227810ed7641e9 -Author: Behdad Esfahbod -Date: Mon Aug 6 06:30:12 2018 -0700 - - Remove most uses of direct comparison to Null objects - - src/hb-ot-glyf-table.hh | 6 +++--- - src/hb-ot-head-table.hh | 4 ++-- - src/hb-ot-layout-gdef-table.hh | 1 + - src/hb-ot-layout-gsubgpos-private.hh | 1 + - src/hb-ot-layout.cc | 6 +++--- - src/hb-ot-math-table.hh | 2 ++ - src/hb-ot-math.cc | 2 +- - src/hb-ot-shape-complex-arabic-fallback.hh | 3 ++- - src/hb-ot-var-fvar-table.hh | 2 ++ - src/hb-ot-var.cc | 2 +- - src/hb-subset.cc | 2 +- - src/main.cc | 2 +- - 12 files changed, 20 insertions(+), 13 deletions(-) - -commit 3506672ce9d8685ce4e113716b0d06adbc7981b7 -Author: Behdad Esfahbod -Date: Mon Aug 6 06:17:48 2018 -0700 - - Port _nil objects to Null() machinery - - Finally, unified! - - src/hb-blob-private.hh | 1 + - src/hb-blob.cc | 29 ++++++------- - src/hb-buffer-private.hh | 4 +- - src/hb-buffer.cc | 44 ++++++++++---------- - src/hb-face-private.hh | 6 +-- - src/hb-face.cc | 5 ++- - src/hb-font-private.hh | 10 +++-- - src/hb-font.cc | 66 ++++++++++++++++-------------- - src/hb-null.hh | 11 ++++- - src/hb-ot-shape-complex-arabic-fallback.hh | 11 +++-- - src/hb-shape-plan-private.hh | 1 + - src/hb-shape-plan.cc | 50 +++++++++++----------- - src/hb-unicode-private.hh | 7 ++-- - src/hb-unicode.cc | 5 ++- - 14 files changed, 137 insertions(+), 113 deletions(-) - -commit 1abd427acfb7229b8607646bdde59f29306b86e1 -Author: Behdad Esfahbod -Date: Mon Aug 6 05:53:35 2018 -0700 - - [BASE] Rename horzi/vert to h/v - - src/hb-ot-layout-base-table.hh | 68 +++++++++++++++++++++--------------------- - 1 file changed, 34 insertions(+), 34 deletions(-) - -commit da48aca1be89efbb8b3ca4471f542aa54aff17c4 -Author: Behdad Esfahbod -Date: Mon Aug 6 05:52:12 2018 -0700 - - [BASE] Misc fixes - - The code was badly broken. In better shape now, but still, needs - a full review before ever working. - - src/hb-ot-layout-base-table.hh | 163 +++++++++++++++++------------------------ - 1 file changed, 68 insertions(+), 95 deletions(-) - -commit f9cfa5cb0e70203279e74fb6adb0cd4570238ff8 -Author: Behdad Esfahbod -Date: Mon Aug 6 05:29:15 2018 -0700 - - Change null-pool specialization to min_size again - - src/hb-null.hh | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 25147ff8086ab65995fe046cfdf8007604de6962 -Author: Behdad Esfahbod -Date: Mon Aug 6 05:01:52 2018 -0700 - - Move Null system to hb-null.hh - - src/Makefile.sources | 1 + - src/hb-null.hh | 97 ++++++++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-private.hh | 65 +---------------------------------- - 3 files changed, 99 insertions(+), 64 deletions(-) - -commit f800368df33e7ec15c3e77bdb9f4b464899322d3 -Author: Behdad Esfahbod -Date: Mon Aug 6 04:58:34 2018 -0700 - - Remove unused macros - - src/hb-object-private.hh | 1 - - src/hb-vector-private.hh | 1 - - 2 files changed, 2 deletions(-) - -commit 19e0091299f06856002c702792b448b06da637a8 -Author: Behdad Esfahbod -Date: Mon Aug 6 04:54:31 2018 -0700 - - Minor - - src/hb-private.hh | 4 +--- - 1 file changed, 1 insertion(+), 3 deletions(-) - -commit 37be774af921812018f723521b90f2ab54f661c5 -Author: Behdad Esfahbod -Date: Mon Aug 6 04:51:38 2018 -0700 - - Minor - - src/hb-private.hh | 5 ++--- - 1 file changed, 2 insertions(+), 3 deletions(-) - -commit e1acff806b469e58f568bf5ad6ba578207821e87 -Author: Behdad Esfahbod -Date: Mon Aug 6 04:42:46 2018 -0700 - - Move hb_vector_t to hb-vector-private.hh - - src/Makefile.sources | 1 + - src/hb-dsalgs.hh | 297 ----------------------------------------------- - src/hb-object-private.hh | 109 ++++++++++++++++- - src/hb-vector-private.hh | 239 ++++++++++++++++++++++++++++++++++++++ - 4 files changed, 346 insertions(+), 300 deletions(-) - -commit be336dadc07460a53de51be32dd5d1f218b398b6 -Author: Behdad Esfahbod -Date: Mon Aug 6 04:32:51 2018 -0700 - - Move some more code around - - src/hb-dsalgs.hh | 43 +++++++++++++++++++++++++++++++++++++++++++ - src/hb-private.hh | 51 +-------------------------------------------------- - 2 files changed, 44 insertions(+), 50 deletions(-) - -commit 92806ee055c8efb68fcbe9e1750ce2532a1f8ab3 -Author: Behdad Esfahbod -Date: Sun Aug 5 21:41:52 2018 -0700 - - Move null data definitions to hb-static.cc - - Also remove " " null data for Tag. Just use zeroes. - - src/hb-open-type-private.hh | 3 +-- - src/hb-ot-layout-common-private.hh | 5 ++--- - src/hb-private.hh | 12 +++++++----- - src/hb-static.cc | 10 +++++++++- - 4 files changed, 19 insertions(+), 11 deletions(-) - -commit 1b4d5a2402302e90867c178b6b2ad07541091a74 -Author: Behdad Esfahbod -Date: Fri Aug 3 19:55:09 2018 -0700 - - Minor - - src/hb-ot-layout-private.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 7df7963b46223f47e89a5a38c597c874aaa93141 -Author: Behdad Esfahbod -Date: Fri Aug 3 19:54:33 2018 -0700 - - Make lazy loader deal with OOM - - src/hb-machinery-private.hh | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -commit 30ff8ac865a266c8dca11eeac155c2cd3d1aa159 -Author: Behdad Esfahbod -Date: Fri Aug 3 17:32:00 2018 -0700 - - Rename - - src/hb-machinery-private.hh | 6 +++--- - src/hb-ot-font.cc | 8 ++++---- - 2 files changed, 7 insertions(+), 7 deletions(-) - -commit 85ba4a190f30da5147d3b2ddac4d58dda31181f1 -Author: Behdad Esfahbod -Date: Fri Aug 3 17:06:42 2018 -0700 - - [ot] Comment - - src/hb-ot-layout-private.hh | 2 ++ - 1 file changed, 2 insertions(+) - -commit 07afc1a213bde91fdfc44dd613f2e82ac1617c9f -Author: Behdad Esfahbod -Date: Fri Aug 3 17:03:32 2018 -0700 - - [ot] Add misc tables to tables_t - - Most unused. - - src/hb-ot-layout-private.hh | 36 ++++++++++++++++++++++-------------- - 1 file changed, 22 insertions(+), 14 deletions(-) - -commit 74b4df2cdef68b74536d9c29426b242199a63a6f -Author: Behdad Esfahbod -Date: Fri Aug 3 16:57:40 2018 -0700 - - [ot] Move GDEF into tables_t - - src/hb-machinery-private.hh | 6 ++++++ - src/hb-ot-layout-gsub-table.hh | 2 +- - src/hb-ot-layout-gsubgpos-private.hh | 2 +- - src/hb-ot-layout-private.hh | 7 +------ - src/hb-ot-layout.cc | 15 +++++---------- - 5 files changed, 14 insertions(+), 18 deletions(-) - -commit 0271c7ab3b76dbf8a4e3e92eaf67d9d61b7a63dc -Author: Behdad Esfahbod -Date: Fri Aug 3 16:45:57 2018 -0700 - - [ot] Move GSUB/GPOS into tables_t - - src/hb-machinery-private.hh | 6 ++---- - src/hb-ot-layout-gpos-table.hh | 4 ++-- - src/hb-ot-layout-gsub-table.hh | 4 ++-- - src/hb-ot-layout-private.hh | 7 ++---- - src/hb-ot-layout.cc | 49 +++++++++++++++++++----------------------- - 5 files changed, 30 insertions(+), 40 deletions(-) - -commit f73d2775cf649d148ace7c2593da9666d60fc1be -Author: Behdad Esfahbod -Date: Fri Aug 3 16:34:25 2018 -0700 - - [ot] More shuffling - - Misc. table loading now properly automated. - - src/hb-ot-layout-private.hh | 67 +++++++++++++++++++++++++++++---------------- - src/hb-ot-layout.cc | 25 +++++++++++------ - src/hb-ot-math.cc | 2 +- - 3 files changed, 61 insertions(+), 33 deletions(-) - -commit 52fbd23d868a989d51b7df5be40be582890d13e5 -Author: Behdad Esfahbod -Date: Fri Aug 3 16:22:16 2018 -0700 - - [ot] Minor - - src/hb-aat-layout.cc | 4 ++-- - src/hb-face-private.hh | 7 ++----- - src/hb-machinery-private.hh | 1 + - src/hb-ot-layout-private.hh | 15 +++++++++------ - src/hb-ot-layout.cc | 20 ++++++++++---------- - src/hb-ot-math.cc | 2 +- - src/hb-ot-var.cc | 4 ++-- - 7 files changed, 27 insertions(+), 26 deletions(-) - -commit cc3f4e00aa5da1d9f0430adefe30689b3daa8282 -Author: Michiharu Ariza -Date: Fri Aug 3 15:00:37 2018 -0700 - - silence gcc - - src/hb-ot-cff2-table.hh | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 00970dd2420c3dcc58c25568be4abe6586c159df -Author: Michiharu Ariza -Date: Fri Aug 3 14:35:09 2018 -0700 - - Removed parsed hint fields from CFF2PrivateDictValues - - Instead moved & stored uniformly in values vector (renamed from opstrs) - This should be fine as we aren't likely going to use them as hints after all - Templatized DictValues whether to parse them out - For subsetter, they aren't parsed - - src/hb-ot-cff-common-private.hh | 113 ++++++++++++++---------- - src/hb-ot-cff2-table.hh | 185 ++++++++++++---------------------------- - src/hb-subset-cff2.cc | 2 +- - 3 files changed, 120 insertions(+), 180 deletions(-) - -commit 6a0a298aabe777e2c1ed443f100fe6142c83e3b3 -Author: Behdad Esfahbod -Date: Thu Aug 2 23:13:19 2018 -0700 - - [ot] Move code around - - src/hb-ot-layout.cc | 211 ++++++++++++++++++++++++++-------------------------- - 1 file changed, 106 insertions(+), 105 deletions(-) - -commit 5e718a751efdda89511c9f30238b500125193499 -Author: Behdad Esfahbod -Date: Thu Aug 2 23:04:42 2018 -0700 - - [ot] Use switch for checking for blacklisted GDEF tables - - Faster / more compact code. - - src/hb-ot-layout.cc | 107 +++++++++++++++++++++++++++++----------------------- - 1 file changed, 59 insertions(+), 48 deletions(-) - -commit b5cdf5280d5b00df5356cc5c3236844ca0576bd0 -Author: Behdad Esfahbod -Date: Thu Aug 2 22:56:42 2018 -0700 - - [ot] In GDEF blacklisting logic, remove the glyph index check for Times - - Just blacklist based on table sizes like we do for other fonts. - - src/hb-ot-layout.cc | 12 ------------ - 1 file changed, 12 deletions(-) - -commit c988b119994ef78d400bc7d3139785312da0be75 -Author: Behdad Esfahbod -Date: Thu Aug 2 20:04:37 2018 -0700 - - Move code around - - src/hb-ot-font.cc | 41 ++++++++++++++++++++++++++--------------- - 1 file changed, 26 insertions(+), 15 deletions(-) - -commit 76f7397c10832b891a082e30afc74222bd5ffd7b -Author: Michiharu Ariza -Date: Thu Aug 2 16:28:10 2018 -0700 - - templatized CFF2 accelerator for lean Private dict interpretting for subset - - also fixed local subrs serialization - - src/hb-ot-cff-common-private.hh | 8 ++- - src/hb-ot-cff2-table.hh | 119 ++++++++++++++++++++++++++++++++-------- - src/hb-subset-cff2.cc | 13 +++-- - 3 files changed, 109 insertions(+), 31 deletions(-) - -commit 43040564e661fdd616d39e84fde07612d55bb785 -Author: Michiharu Ariza -Date: Thu Aug 2 12:23:10 2018 -0700 - - removed TRACE_SERIALIZE from non-member function _write_cff2 - - src/hb-subset-cff2.cc | 29 ++++++++++++++--------------- - 1 file changed, 14 insertions(+), 15 deletions(-) - -commit e2fd49e4779663e3138bd1990736a9cf850303bf -Merge: 693ae8047 d4d1bf817 -Author: Michiharu Ariza -Date: Thu Aug 2 11:39:22 2018 -0700 - - Merge branch 'master' into cff-subset - -commit 693ae804743c60968d4339465fa6480e0ed8396c -Author: Michiharu Ariza -Date: Thu Aug 2 11:22:42 2018 -0700 - - more silencing fixes - - src/hb-ot-cff2-table.hh | 2 +- - src/hb-subset-cff2.cc | 1 + - 2 files changed, 2 insertions(+), 1 deletion(-) - -commit f6da44983178e345ddbac1bcd1691ddb330399c6 -Author: Michiharu Ariza -Date: Thu Aug 2 10:52:08 2018 -0700 - - silence archlinux - - src/hb-ot-cff-common-private.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 58279c3db4f31bf3f9a509d1d88bca01b57c6b81 -Author: Michiharu Ariza -Date: Thu Aug 2 10:18:01 2018 -0700 - - silence Codacy - - src/hb-ot-cff-common-private.hh | 25 +++++++++++++++++++------ - src/hb-ot-cff2-table.hh | 14 +++++++------- - 2 files changed, 26 insertions(+), 13 deletions(-) - -commit 574b37e933f98e35c2bdae04458a95522bbfbb82 -Author: Behdad Esfahbod -Date: Thu Aug 2 02:22:38 2018 -0700 - - Minor - - src/hb-ot-font.cc | 2 +- - src/hb-ot-layout-private.hh | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit d4d1bf8177b127caa57b146c932f553dca1ad933 -Author: Behdad Esfahbod -Date: Thu Aug 2 02:04:02 2018 -0700 - - Fix for recent rename - - src/hb-graphite2.cc | 2 +- - src/hb-uniscribe.cc | 4 ++-- - 2 files changed, 3 insertions(+), 3 deletions(-) - -commit 91126aa11a5fa2bff72137df4768ad13fc9b7803 -Author: Behdad Esfahbod -Date: Thu Aug 2 02:03:13 2018 -0700 - - [uniscribe] Update for recent changes - - src/hb-uniscribe.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 66952ec47b5f09d88b83fb6a71b1cdb26c53668d -Author: Behdad Esfahbod -Date: Thu Aug 2 01:44:20 2018 -0700 - - Remove unused table reference - - src/hb-ot-layout-private.hh | 9 ++++----- - 1 file changed, 4 insertions(+), 5 deletions(-) - -commit 443de26fa56dd1ef149d3ce4206f4495eceec2eb -Author: Behdad Esfahbod -Date: Thu Aug 2 01:41:19 2018 -0700 - - Minor - - src/hb-face.cc | 1 - - src/hb-ot-layout-private.hh | 12 ++++++------ - 2 files changed, 6 insertions(+), 7 deletions(-) - -commit ee35af738b5c802ca62eb1c39b77f0bd992329df -Author: Behdad Esfahbod -Date: Thu Aug 2 01:37:57 2018 -0700 - - Make lazy-loader safe for nil objectification - - src/hb-machinery-private.hh | 4 ++++ - 1 file changed, 4 insertions(+) - -commit 6404c49d0735d92779089ddef5c1d34aad1542d7 -Author: Behdad Esfahbod -Date: Thu Aug 2 01:36:08 2018 -0700 - - Minor - - src/hb-machinery-private.hh | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit ff7826e90bce46985651015059872d1d8559b6ce -Author: Behdad Esfahbod -Date: Thu Aug 2 01:27:40 2018 -0700 - - Reduce storage by sharing face amongst lazy_loaders - - src/hb-machinery-private.hh | 113 ++++++++++++++++++++++++-------------------- - src/hb-ot-font.cc | 19 ++++---- - src/hb-ot-layout-private.hh | 11 +++-- - src/hb-ot-layout.cc | 9 ++-- - 4 files changed, 85 insertions(+), 67 deletions(-) - -commit bdd3c11a19d87999eeaff2c82f21c6938d1d9342 -Author: Behdad Esfahbod -Date: Thu Aug 2 00:38:46 2018 -0700 - - Internal templatization of lazy-loaders - - src/hb-machinery-private.hh | 74 ++++++++++++++++++++------------------------- - 1 file changed, 32 insertions(+), 42 deletions(-) - -commit ed7b2e58fc9afb547656cf28eb4a253d989de43c -Author: Behdad Esfahbod -Date: Wed Aug 1 23:59:09 2018 -0700 - - Remove OT namespace from hb-machinery-private.hh - - src/dump-emoji.cc | 4 ++-- - src/hb-aat-layout.cc | 2 +- - src/hb-face.cc | 4 ++-- - src/hb-machinery-private.hh | 14 +++++--------- - src/hb-ot-font.cc | 8 ++++---- - src/hb-ot-layout-private.hh | 10 +++++----- - src/hb-ot-layout.cc | 8 ++++---- - src/hb-ot-shape-complex-arabic-fallback.hh | 18 +++++++++--------- - src/hb-static.cc | 4 ++-- - src/hb-subset-glyf.cc | 2 +- - src/hb-subset.cc | 8 ++++---- - src/hb-uniscribe.cc | 2 +- - 12 files changed, 40 insertions(+), 44 deletions(-) - -commit cb1491f92e24649433988ff81a89347dccf07c8b -Author: Behdad Esfahbod -Date: Wed Aug 1 22:50:45 2018 -0700 - - Minor - - src/hb-blob-private.hh | 5 ----- - src/hb-machinery-private.hh | 10 ++++++---- - 2 files changed, 6 insertions(+), 9 deletions(-) - -commit 16ccfafbbd48c7a9737ce1d12e75406a050b71a9 -Author: Behdad Esfahbod -Date: Wed Aug 1 22:50:06 2018 -0700 - - [face] Sprinkle const in the API - - src/hb-face.cc | 17 +++++++++-------- - src/hb-face.h | 16 ++++++++-------- - 2 files changed, 17 insertions(+), 16 deletions(-) - -commit 3d22aefedebb5277c5d79011e48e7be1a26a53c1 -Author: Behdad Esfahbod -Date: Wed Aug 1 18:03:32 2018 -0700 - - Rename - - src/hb-coretext.cc | 46 +++++++++++++++++++++++----------------------- - src/hb-directwrite.cc | 28 ++++++++++++++-------------- - src/hb-fallback-shape.cc | 24 ++++++++++++------------ - src/hb-graphite2.cc | 26 +++++++++++++------------- - src/hb-ot-shape.cc | 20 ++++++++++---------- - src/hb-shaper-private.hh | 2 +- - src/hb-uniscribe.cc | 34 +++++++++++++++++----------------- - 7 files changed, 90 insertions(+), 90 deletions(-) - -commit 1a624c6e06763a8a61bc686d2d44272d4ef50d4a -Author: Behdad Esfahbod -Date: Wed Aug 1 17:53:30 2018 -0700 - - Add comment re (our only) race condition - - src/hb-shaper-private.hh | 8 +++++++- - 1 file changed, 7 insertions(+), 1 deletion(-) - -commit 19ce0b24c0173fed11104a8ab039e856cbf40924 -Author: Michiharu Ariza -Date: Wed Aug 1 17:34:59 2018 -0700 - - removed unused field OpStr::update - - src/hb-ot-cff-common-private.hh | 4 +--- - src/hb-ot-cff2-table.hh | 22 +++++++++++----------- - 2 files changed, 12 insertions(+), 14 deletions(-) - -commit 3bda54c43b248ee2bc18a9210fb4d880bb4d82ac -Author: Michiharu Ariza -Date: Wed Aug 1 16:32:27 2018 -0700 - - fixed Index::serialize - - The bug was causing CharString of the last glyph corrupt - - src/hb-ot-cff-common-private.hh | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit 16f4dc9b73a197a5ab0ad29dcf5a7ed7495ec4e1 -Author: Michiharu Ariza -Date: Wed Aug 1 16:06:52 2018 -0700 - - fixed CFF2VariationStore::serialize - - also get_size - - src/hb-ot-cff2-table.hh | 7 ++++--- - 1 file changed, 4 insertions(+), 3 deletions(-) - -commit 44d1fb37efa20852cc466c0f0bba95dbd24ce288 -Author: Behdad Esfahbod -Date: Wed Aug 1 14:51:51 2018 -0700 - - 1.8.5 - - NEWS | 8 ++++++++ - configure.ac | 2 +- - src/hb-ot-layout.cc | 2 +- - src/hb-version.h | 4 ++-- - 4 files changed, 12 insertions(+), 4 deletions(-) - -commit 13f4c137c686aed5c2888b5c47d9f16892be0d5e -Author: Behdad Esfahbod -Date: Wed Aug 1 14:13:59 2018 -0700 - - [atomic] Fix Solaris ones to add proper barriers - - src/hb-atomic-private.hh | 52 +++++++++++++++++++++++++++++++++--------------- - 1 file changed, 36 insertions(+), 16 deletions(-) - -commit 19dfaa351568887a74cee2c46d6acfcc3fa718ff -Author: Behdad Esfahbod -Date: Wed Aug 1 14:02:39 2018 -0700 - - [atomic] Remove volatile from IBM impl signature - - src/hb-atomic-private.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 2093a3e0cbb98c2daa39f308d50a12f0a719bc81 -Author: Behdad Esfahbod -Date: Wed Aug 1 14:00:46 2018 -0700 - - [atomic] Oops - - src/hb-atomic-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 19b98348ffc660501e518bf48cd63d232f7585e7 -Author: Behdad Esfahbod -Date: Wed Aug 1 13:59:59 2018 -0700 - - [atomic] Use read-barrier for get() - - src/hb-atomic-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 006d4f031a30dd04f5bb9c3d1daca187ef6b7f1e -Author: Behdad Esfahbod -Date: Wed Aug 1 13:59:31 2018 -0700 - - [atomic] Some more minor tweaks - - src/hb-atomic-private.hh | 31 ++++++++++++++++++++----------- - 1 file changed, 20 insertions(+), 11 deletions(-) - -commit 28d03a8afcc1f0ba6d9d0d88f669cc53bb030dd8 -Author: Ebrahim Byagowi -Date: Thu Aug 2 00:11:43 2018 +0430 - - [ci] Fix Appveyor bot (#1123) - - appveyor.yml | 1 + - 1 file changed, 1 insertion(+) - -commit b2ff582c8c1a0fea60ee323dc820ce6fe807b063 -Author: Michiharu Ariza -Date: Wed Aug 1 11:30:38 2018 -0700 - - Implemented hb_subset_cff2 - - Added serialize functions to CFF2 structs - Fixed issues & bugs & code cleanup - Now subsetting CFF2 table outputs something - - src/hb-ot-cff-common-private.hh | 428 +++++++++++++++++++++++++++++++++++----- - src/hb-ot-cff2-table.hh | 237 +++++++++++++++++----- - src/hb-private.hh | 2 +- - src/hb-subset-cff2.cc | 392 +++++++++++++++++++++++++++++++----- - 4 files changed, 914 insertions(+), 145 deletions(-) - -commit 1a7fed631880fff8a947ebec9c7427efff581916 -Author: Ebrahim Byagowi -Date: Wed Aug 1 12:15:44 2018 +0430 - - Revert "Add a new API, hb_ot_layout_get_feature_name_ids (#976)" (#1121) - - This reverts commit 0c1b287b72e91e0898d75acb5d5acf1c6b9a7498. - - docs/harfbuzz-sections.txt | 1 - - src/hb-ot-layout-common-private.hh | 14 ------- - src/hb-ot-layout.cc | 86 -------------------------------------- - src/hb-ot-layout.h | 8 ---- - 4 files changed, 109 deletions(-) - -commit dfc86e4b35ffdeb8f73e83511712e75413bbb7d9 -Author: Behdad Esfahbod -Date: Wed Aug 1 00:22:18 2018 -0700 - - [atomic] Fix cast to fallback ptr_get() - - src/hb-atomic-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 7a4d576e81c4de68ea66b2d5fe7712e29d715272 -Author: Behdad Esfahbod -Date: Wed Aug 1 00:19:25 2018 -0700 - - [gobject] Fix copy/paste error - - src/hb-gobject-structs.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit ad275627425c9b3c4fb1e69aa408067bd0bb77da -Author: Behdad Esfahbod -Date: Tue Jul 31 23:01:05 2018 -0700 - - [atomic] On IBM, use light-weight sync for everything - - lwsync() is a full read/write-barrier. That's all we need, never - need sync(). I'm not sure why an isync() was used in fetch_and_add, - but since that's a read-modify-write, I just changed it to have - lwsync() on both sides. - - src/hb-atomic-private.hh | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit fd638d215feb058c2294e447cc68f6f50e2b481d -Author: Behdad Esfahbod -Date: Tue Jul 31 23:00:15 2018 -0700 - - [atomic] Add XXX items around Solaris ops - - Since add_int and cas are both read-modify-write, I wonder if we - also need a barrier after them. - - src/hb-atomic-private.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 896ff15ae60a4a4b94c62946e69196b877839bb5 -Author: Behdad Esfahbod -Date: Tue Jul 31 22:51:38 2018 -0700 - - [atomic] Fix get() impl - - Originally, glib's atomic_get was implemented as "memory_barrier; load". - I copied this into cairo, fontconfig, and harfbuzz. However, that's - wrong. Correct way is "load; memory_barrier". The details are long - and hard to fully grasp. Best to read: - - https://www.kernel.org/doc/Documentation/memory-barriers.txt - - Also see my report against GNOME: - - https://gitlab.gnome.org/GNOME/glib/issues/1449 - - Note that this is irrelevant if C++11-like atomic ops are available. - - src/hb-atomic-private.hh | 28 +++++++++++++++++----------- - 1 file changed, 17 insertions(+), 11 deletions(-) - -commit d7a15799d40dac1f9521674a82c3293a7cb42ee4 -Author: Behdad Esfahbod -Date: Tue Jul 31 22:28:28 2018 -0700 - - [gobject] Hook up hb_map_t - - docs/harfbuzz-sections.txt | 2 ++ - src/hb-gobject-structs.cc | 1 + - src/hb-gobject-structs.h | 4 ++++ - src/hb-map.cc | 6 ++---- - 4 files changed, 9 insertions(+), 4 deletions(-) - -commit 63c74e8d1d85067cbeffe635eb5ed4e8aa130776 -Author: Behdad Esfahbod -Date: Tue Jul 31 22:21:21 2018 -0700 - - [atomic] Fix fallback impl - - src/hb-atomic-private.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 4bc16aca4760ac9ffd8c63bbaea24fc7d234f715 -Author: Behdad Esfahbod -Date: Tue Jul 31 21:05:51 2018 -0700 - - [atomic] Add get_relaxed / set_relaxed - - To help TSan and be more "correct". - - src/hb-atomic-private.hh | 37 ++++++++++++++++++++++------------- - src/hb-common.cc | 4 ++-- - src/hb-debug.hh | 42 ++++++++++++++++++++++++++++++++++++++++ - src/hb-object-private.hh | 12 ++++++------ - src/hb-ot-shape-complex-indic.cc | 22 +++++++++++---------- - src/hb-private.hh | 28 --------------------------- - 6 files changed, 86 insertions(+), 59 deletions(-) - -commit 3dd1b88765f6ce91bd0558a16cdd8cf0c1e15d1b -Author: Behdad Esfahbod -Date: Tue Jul 31 19:33:37 2018 -0700 - - [atomic] Use CONSUME, not ACQUIRE, memory-order for get() - - Although, all implementations just elevate that to ACQUIRE. - But requirement for us is just CONSUME. - - src/hb-atomic-private.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 06b91d935da1a40ef9de6697717eb0af1015989e -Author: Behdad Esfahbod -Date: Tue Jul 31 19:29:49 2018 -0700 - - Revert "[atomic] Make pointer get op relaxed instead of acquire" - - This reverts commit b1e5650c67266dc158f22355fed206cd1c413f70. - - After lots of head-scratching and finally finding the only truly - readable source to be the good old: - - https://www.kernel.org/doc/Documentation/memory-barriers.txt - - I've convinced myself that we need consume memory-ordering on get(). - The location of memory-barrier in a load should be after, not before - the load. That needs fixing. I'll do that separately. - - src/hb-atomic-private.hh | 34 +++++++++++++++++++++++++--------- - 1 file changed, 25 insertions(+), 9 deletions(-) - -commit 2bdd903c69eb3a34f3d3bf5e4f4c94cd66337117 -Author: Garret Rieger -Date: Tue Jul 31 17:44:02 2018 -0700 - - [subset] limit the max codepoint value to the unicode limit. - When collecting all codepoints in the cmap avoid using large amount of memory for fonts that declare coverage over all 32 bit integers. - - src/hb-ot-cmap-table.hh | 9 +++++++-- - ...mized-hb-subset-get-codepoints-fuzzer-5973295416475648 | Bin 0 -> 109 bytes - 2 files changed, 7 insertions(+), 2 deletions(-) - -commit 7278d9df3093a87f99cec9b4cea38bd688c5d020 -Author: Garret Rieger -Date: Tue Jul 31 17:59:19 2018 -0700 - - [subset] Add hb_ot_layout_collect_features to harfbuzz-sections.txt. - Add the fuzzer test case for feature collection timeout. - - docs/harfbuzz-sections.txt | 1 + - ...estcase-minimized-hb-subset-fuzzer-5542653037903872 | Bin 0 -> 160249 bytes - 2 files changed, 1 insertion(+) - -commit 89733755a48feef0a663e1ea7b8294949581ce7e -Author: Garret Rieger -Date: Mon Jul 30 18:10:43 2018 -0700 - - [subset] use add_array to populate feature_indexes. - This is much faster then calling a bunch of individual add()'s. - - src/hb-ot-layout-common-private.hh | 7 +++++++ - src/hb-ot-layout.cc | 40 +++++++++++++++++++------------------- - 2 files changed, 27 insertions(+), 20 deletions(-) - -commit 7d92bef9c5afb319d125f60b0fce4763afeaa686 -Author: Garret Rieger -Date: Mon Jul 30 17:17:43 2018 -0700 - - [subset] collect features first, then use those to collect lookups. - - src/hb-ot-layout.cc | 148 +++++++++++++++++++++++++--------------------------- - src/hb-ot-layout.h | 7 +++ - 2 files changed, 78 insertions(+), 77 deletions(-) - -commit af876cce3066833c7c34d213a578eec6b09dd5c9 -Author: Behdad Esfahbod -Date: Tue Jul 31 15:27:29 2018 -0700 - - [indic] Flip default logic for double-halants in old-school - - Oriya went down from 9 to 2. - - BENGALI: 353725 out of 354188 tests passed. 463 failed (0.130722%) - DEVANAGARI: 707311 out of 707394 tests passed. 83 failed (0.0117332%) - GUJARATI: 366355 out of 366457 tests passed. 102 failed (0.0278341%) - GURMUKHI: 60729 out of 60747 tests passed. 18 failed (0.0296311%) - KANNADA: 951300 out of 951913 tests passed. 613 failed (0.0643966%) - MALAYALAM: 1048136 out of 1048334 tests passed. 198 failed (0.0188871%) - MYANMAR: 1115830 out of 1123883 tests passed. 8053 failed (0.716534%) - ORIYA: 42327 out of 42329 tests passed. 2 failed (0.00472489%) - SINHALA: 271596 out of 271847 tests passed. 251 failed (0.0923313%) - TAMIL: 1091754 out of 1091754 tests passed. 0 failed (0%) - TELUGU: 970555 out of 970573 tests passed. 18 failed (0.00185457%) - - src/hb-ot-shape-complex-indic.cc | 6 ++---- - 1 file changed, 2 insertions(+), 4 deletions(-) - -commit 92ba9905caa060466230f63b428ccee767696464 -Author: Behdad Esfahbod -Date: Tue Jul 31 15:19:32 2018 -0700 - - [indic] Allow double-halant in old-spec Devanagari - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1071 - - src/hb-ot-shape-complex-indic.cc | 18 ++++++++++++------ - .../b722a7d09e60421f3efbc706ad348ab47b88567b.ttf | Bin 0 -> 4672 bytes - test/shaping/data/in-house/tests/indic-old-spec.tests | 2 ++ - 3 files changed, 14 insertions(+), 6 deletions(-) - -commit fe099a844b9b8fe05dd4eb187b5ca3769441f012 -Author: Behdad Esfahbod -Date: Tue Jul 31 14:20:31 2018 -0700 - - [test] Add Khmer tests, with NotoSansKhmer-Regular.ttf - - Note that there's minor positioning differences, and ONE reordering - difference between what we get for these and what Uniscribe gets. - Probably same as what's described in commit message for - 1a96cc825dc9c8e3b6eef1403fe0864a1cfc0245 - - .../3998336402905b8be8301ef7f47cf7e050cbb1bd.ttf | Bin 0 -> 24392 bytes - test/shaping/data/in-house/tests/khmer-misc.tests | 89 +++++++++++++++++++++ - 2 files changed, 89 insertions(+) - -commit 5772edc0ea8f697c6123e439c5d0c3e813ebeb45 -Author: Behdad Esfahbod -Date: Tue Jul 31 14:10:31 2018 -0700 - - [khmer] Typo - - src/hb-ot-shape-complex-khmer.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 2d6edc9008182c1446951f2c5c04df20094597f8 -Author: Behdad Esfahbod -Date: Tue Jul 31 13:56:55 2018 -0700 - - [test] Add Khmer test texts from recent bugs - - test/shaping/texts/in-house/shaper-khmer/misc.txt | 66 +++++++++++++++++++++++ - 1 file changed, 66 insertions(+) - -commit df26a32c8fd22cbd486e2a1014d30b9f38f51cd1 -Author: Behdad Esfahbod -Date: Tue Jul 31 13:55:53 2018 -0700 - - [test] Move things around for shaper updates - - .../texts/in-house/shaper-indic/{indic => }/script-assamese/utrrs/LICENSE | 0 - .../texts/in-house/shaper-indic/{indic => }/script-assamese/utrrs/README | 0 - .../texts/in-house/shaper-indic/{indic => }/script-assamese/utrrs/SOURCES | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-AdditionalVowels.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-Consonants.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-DependentVowels.txt | 0 - .../script-assamese/utrrs/codepoint/IndicFontFeatureCodepoint-Digits.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-IndependentVowels.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-Reserved.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-VariousSigns.txt | 0 - .../script-assamese/utrrs/gpos/IndicFontFeatureGPOS-AboveBase.txt | 0 - .../script-assamese/utrrs/gpos/IndicFontFeatureGPOS-BelowBase.txt | 0 - .../{indic => }/script-assamese/utrrs/gsub/IndicFontFeatureGSUB.txt | 0 - .../texts/in-house/shaper-indic/{indic => }/script-bengali/misc/misc.txt | 0 - .../texts/in-house/shaper-indic/{indic => }/script-bengali/misc/reph.txt | 0 - .../texts/in-house/shaper-indic/{indic => }/script-bengali/utrrs/LICENSE | 0 - .../texts/in-house/shaper-indic/{indic => }/script-bengali/utrrs/README | 0 - .../texts/in-house/shaper-indic/{indic => }/script-bengali/utrrs/SOURCES | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-AdditionalVowels.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-Consonants.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-DependentVowels.txt | 0 - .../script-bengali/utrrs/codepoint/IndicFontFeatureCodepoint-Digits.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-IndependentVowels.txt | 0 - .../script-bengali/utrrs/codepoint/IndicFontFeatureCodepoint-Reserved.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-VariousSigns.txt | 0 - .../script-bengali/utrrs/gpos/IndicFontFeatureGPOS-AboveBase.txt | 0 - .../script-bengali/utrrs/gpos/IndicFontFeatureGPOS-BelowBase.txt | 0 - .../{indic => }/script-bengali/utrrs/gsub/IndicFontFeatureGSUB.txt | 0 - .../shaper-indic/{indic => }/script-devanagari/misc/dottedcircle.txt | 0 - .../in-house/shaper-indic/{indic => }/script-devanagari/misc/eyelash.txt | 0 - .../in-house/shaper-indic/{indic => }/script-devanagari/misc/joiners.txt | 0 - .../in-house/shaper-indic/{indic => }/script-devanagari/misc/misc.txt | 0 - .../shaper-indic/{indic => }/script-devanagari/misc/spec-deviations.txt | 0 - .../shaper-indic/{indic => }/script-devanagari/misc/tricky-reordering.txt | 0 - .../in-house/shaper-indic/{indic => }/script-devanagari/utrrs/LICENSE | 0 - .../in-house/shaper-indic/{indic => }/script-devanagari/utrrs/README | 0 - .../in-house/shaper-indic/{indic => }/script-devanagari/utrrs/SOURCES | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-AdditionalConsonants.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-AdditionalVowels.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-Consonants.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-DependentVowels.txt | 0 - .../codepoint/IndicFontFeatureCodepoint-DevnagariSpecificAddition.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-Digits.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-GenericPunctuation.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-IndependentVowels.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-VariousSigns.txt | 0 - .../script-devanagari/utrrs/gpos/IndicFontFeatureGPOS-AboveBase.txt | 0 - .../script-devanagari/utrrs/gpos/IndicFontFeatureGPOS-BelowBase.txt | 0 - .../{indic => }/script-devanagari/utrrs/gsub/IndicFontFeatureGSUB.txt | 0 - .../texts/in-house/shaper-indic/{indic => }/script-gujarati/utrrs/LICENSE | 0 - .../texts/in-house/shaper-indic/{indic => }/script-gujarati/utrrs/README | 0 - .../texts/in-house/shaper-indic/{indic => }/script-gujarati/utrrs/SOURCES | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-AdditionalVowels.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-Consonants.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-DependentVowels.txt | 0 - .../script-gujarati/utrrs/codepoint/IndicFontFeatureCodepoint-Digits.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-IndependentVowels.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-Reserved.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-VariousSigns.txt | 0 - .../script-gujarati/utrrs/gpos/IndicFontFeatureGPOS-AboveBase.txt | 0 - .../script-gujarati/utrrs/gpos/IndicFontFeatureGPOS-BelowBase.txt | 0 - .../{indic => }/script-gujarati/utrrs/gsub/IndicFontFeatureGSUB.txt | 0 - .../texts/in-house/shaper-indic/{indic => }/script-gurmukhi/misc/misc.txt | 0 - .../texts/in-house/shaper-indic/{indic => }/script-gurmukhi/utrrs/LICENSE | 0 - .../texts/in-house/shaper-indic/{indic => }/script-gurmukhi/utrrs/README | 0 - .../texts/in-house/shaper-indic/{indic => }/script-gurmukhi/utrrs/SOURCES | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-Consonants.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-DependentVowels.txt | 0 - .../script-gurmukhi/utrrs/codepoint/IndicFontFeatureCodepoint-Digits.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-GurmukhiSpecific.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-IndependentVowels.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-Reserved.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-VariousSigns.txt | 0 - .../script-gurmukhi/utrrs/gpos/IndicFontFeatureGPOS-AboveBase.txt | 0 - .../script-gurmukhi/utrrs/gpos/IndicFontFeatureGPOS-BelowBase.txt | 0 - .../{indic => }/script-gurmukhi/utrrs/gsub/IndicFontFeatureGSUB.txt | 0 - .../texts/in-house/shaper-indic/{indic => }/script-kannada/misc/misc.txt | 0 - .../shaper-indic/{indic => }/script-kannada/misc/right-matras.txt | 0 - .../texts/in-house/shaper-indic/{indic => }/script-kannada/utrrs/LICENSE | 0 - .../texts/in-house/shaper-indic/{indic => }/script-kannada/utrrs/README | 0 - .../texts/in-house/shaper-indic/{indic => }/script-kannada/utrrs/SOURCES | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-AdditionalConsonants.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-AdditionalVowels.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-Consonants.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-DependentVowels.txt | 0 - .../script-kannada/utrrs/codepoint/IndicFontFeatureCodepoint-Digits.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-IndependentVowels.txt | 0 - .../script-kannada/utrrs/codepoint/IndicFontFeatureCodepoint-Reserved.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-VariousSigns.txt | 0 - .../script-kannada/utrrs/gpos/IndicFontFeatureGPOS-AboveBase.txt | 0 - .../{indic => }/script-kannada/utrrs/gsub/IndicFontFeatureGSUB.txt | 0 - .../in-house/shaper-indic/{indic => }/script-malayalam/misc/cibu.txt | 0 - .../in-house/shaper-indic/{indic => }/script-malayalam/misc/dot-reph.txt | 0 - .../in-house/shaper-indic/{indic => }/script-malayalam/misc/misc.txt | 0 - .../in-house/shaper-indic/{indic => }/script-malayalam/utrrs/LICENSE | 0 - .../texts/in-house/shaper-indic/{indic => }/script-malayalam/utrrs/README | 0 - .../in-house/shaper-indic/{indic => }/script-malayalam/utrrs/SOURCES | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-AdditionalVowels.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-Consonants.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-DependentVowels.txt | 0 - .../script-malayalam/utrrs/codepoint/IndicFontFeatureCodepoint-Digits.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-IndependentVowels.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-Reserved.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-VariousSigns.txt | 0 - .../{indic => }/script-malayalam/utrrs/gsub/IndicFontFeatureGSUB.txt | 0 - .../texts/in-house/shaper-indic/{indic => }/script-oriya/misc/bindu.txt | 0 - .../texts/in-house/shaper-indic/{indic => }/script-oriya/misc/misc.txt | 0 - .../texts/in-house/shaper-indic/{indic => }/script-oriya/utrrs/LICENSE | 0 - .../texts/in-house/shaper-indic/{indic => }/script-oriya/utrrs/README | 0 - .../texts/in-house/shaper-indic/{indic => }/script-oriya/utrrs/SOURCES | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-AdditionalConsonants.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-AdditionalVowels.txt | 0 - .../script-oriya/utrrs/codepoint/IndicFontFeatureCodepoint-Consonants.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-DependentVowels.txt | 0 - .../script-oriya/utrrs/codepoint/IndicFontFeatureCodepoint-Digits.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-IndependentVowels.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-OriyaSpecific.txt | 0 - .../script-oriya/utrrs/codepoint/IndicFontFeatureCodepoint-Reserved.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-VariousSigns.txt | 0 - .../{indic => }/script-oriya/utrrs/gsub/IndicFontFeatureGSUB.txt | 0 - .../in-house/shaper-indic/{indic => }/script-sinhala/misc/extensive.txt | 0 - .../texts/in-house/shaper-indic/{indic => }/script-sinhala/misc/misc.txt | 0 - .../texts/in-house/shaper-indic/{indic => }/script-sinhala/misc/reph.txt | 0 - .../shaper-indic/{indic => }/script-sinhala/misc/split-matras.txt | 0 - .../texts/in-house/shaper-indic/{indic => }/script-sinhala/utrrs/LICENSE | 0 - .../texts/in-house/shaper-indic/{indic => }/script-sinhala/utrrs/README | 0 - .../texts/in-house/shaper-indic/{indic => }/script-sinhala/utrrs/SOURCES | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-Consonants.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-DependentVowels.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-IndependentVowels.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-Punctuation.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-VariousSigns.txt | 0 - .../{indic => }/script-sinhala/utrrs/gpos/IndicFontFeatureGPOS.txt | 0 - .../script-sinhala/utrrs/gsub/IndicFontFeatureGSUB-Conjunct.txt | 0 - .../script-sinhala/utrrs/gsub/IndicFontFeatureGSUB-Rakaaraansaya.txt | 0 - .../{indic => }/script-sinhala/utrrs/gsub/IndicFontFeatureGSUB-Repaya.txt | 0 - .../script-sinhala/utrrs/gsub/IndicFontFeatureGSUB-Special-Cases.txt | 0 - .../script-sinhala/utrrs/gsub/IndicFontFeatureGSUB-TouchingLetters.txt | 0 - .../script-sinhala/utrrs/gsub/IndicFontFeatureGSUB-Yansaya.txt | 0 - .../{indic => }/script-sinhala/utrrs/gsub/IndicFontFeatureGSUB.txt | 0 - .../texts/in-house/shaper-indic/{indic => }/script-tamil/misc/misc.txt | 0 - .../texts/in-house/shaper-indic/{indic => }/script-tamil/utrrs/LICENSE | 0 - .../texts/in-house/shaper-indic/{indic => }/script-tamil/utrrs/README | 0 - .../texts/in-house/shaper-indic/{indic => }/script-tamil/utrrs/SOURCES | 0 - .../script-tamil/utrrs/codepoint/IndicFontFeatureCodepoint-Consonants.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-CurrencySymbols.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-DependentVowels.txt | 0 - .../script-tamil/utrrs/codepoint/IndicFontFeatureCodepoint-Digits.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-IndependentVowels.txt | 0 - .../script-tamil/utrrs/codepoint/IndicFontFeatureCodepoint-Numerics.txt | 0 - .../script-tamil/utrrs/codepoint/IndicFontFeatureCodepoint-Reserved.txt | 0 - .../script-tamil/utrrs/codepoint/IndicFontFeatureCodepoint-Symbols.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-TamilSymbol.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-VariousSigns.txt | 0 - .../script-tamil/utrrs/gpos/IndicFontFeatureGPOS-AboveBase.txt | 0 - .../script-tamil/utrrs/gpos/IndicFontFeatureGPOS-BelowBase.txt | 0 - .../{indic => }/script-tamil/utrrs/gsub/IndicFontFeatureGSUB.txt | 0 - .../texts/in-house/shaper-indic/{indic => }/script-telugu/misc/misc.txt | 0 - .../texts/in-house/shaper-indic/{indic => }/script-telugu/utrrs/LICENSE | 0 - .../texts/in-house/shaper-indic/{indic => }/script-telugu/utrrs/README | 0 - .../texts/in-house/shaper-indic/{indic => }/script-telugu/utrrs/SOURCES | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-AdditionalVowels.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-Consonants.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-DependentVowels.txt | 0 - .../script-telugu/utrrs/codepoint/IndicFontFeatureCodepoint-Digits.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-IndependentVowels.txt | 0 - .../script-telugu/utrrs/codepoint/IndicFontFeatureCodepoint-Reserved.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-VariousSigns.txt | 0 - .../script-telugu/utrrs/gpos/IndicFontFeatureGPOS-AboveBase.txt | 0 - .../{indic => }/script-telugu/utrrs/gsub/IndicFontFeatureGSUB.txt | 0 - .../south-east-asian/script-khmer/misc => shaper-khmer}/misc.txt | 0 - .../script-khmer/misc => shaper-khmer}/other-marks-invalid.txt | 0 - .../south-east-asian/script-khmer/misc => shaper-khmer}/other-marks.txt | 0 - .../south-east-asian => shaper-use}/script-javanese/misc.txt | 0 - 174 files changed, 0 insertions(+), 0 deletions(-) - -commit 6ddd669e205cf2c1c3b0a362330b686386f68519 -Author: Behdad Esfahbod -Date: Tue Jul 31 13:38:07 2018 -0700 - - [khmer] Clear syllables before presentation features - - Probably not what Uniscribe does, but good idea? - - src/hb-ot-shape-complex-khmer.cc | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit 8eef1964a708c3db52e5e7312689c4664afa9839 -Author: Behdad Esfahbod -Date: Tue Jul 31 13:35:10 2018 -0700 - - [khmer] Revert previous change, and remove pauses - - This makes test suite happy again (at 44) while fixing the sequences - we were fixing, which were the following with KhmerUI.ttf: - - U+1789,U+17BC - U+1789,U+17D2,U+1789 - U+1789,U+17D2,U+1789,U+17BC - - Fixes rest of https://github.com/harfbuzz/harfbuzz/issues/974 - - src/hb-ot-shape-complex-khmer.cc | 23 ++++++++++------------- - 1 file changed, 10 insertions(+), 13 deletions(-) - -commit 7c658ea2f20a77cac35e8988e54316425396198a -Author: Behdad Esfahbod -Date: Tue Jul 31 12:49:02 2018 -0700 - - [khmer] Apply ccmp after basic features - - Part of https://github.com/harfbuzz/harfbuzz/issues/974 - - src/hb-ot-shape-complex-khmer.cc | 22 +++++++++++++++++----- - 1 file changed, 17 insertions(+), 5 deletions(-) - -commit 1a96cc825dc9c8e3b6eef1403fe0864a1cfc0245 -Author: Behdad Esfahbod -Date: Tue Jul 31 11:45:32 2018 -0700 - - [khmer] Rewrite most of shaper to better follow spec - - Khmer spec has only one reordering phase, and only simple prebase - matra and Coeng-Ro reordering. Implement that. Specifically, - this was done to address recognizing different orders of the matra - and Coeng-Ro sequence. That said, some combinations are now - reordered differently from Uniscribe. Not clear if that's intended - or a bug in Uniscribe. The following two sequences render the same - in Uniscribe whereas we reorder them differently: - - U+17A0,U+17D2,U+179A,U+17C2 - U+17A0,U+17C2,U+17D2,U+179A - - For that reason, our test suite numbers regressed slightly. Used - to be at 34 for fails, now at: - - KHMER: 299080 out of 299124 tests passed. 44 failed (0.0147096%) - - But generally a good change, and removed lots of code. - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1026 - - src/hb-ot-shape-complex-indic-private.hh | 4 +- - src/hb-ot-shape-complex-khmer.cc | 460 ++++--------------------------- - src/hb-ot-shape-complex-private.hh | 13 - - 3 files changed, 64 insertions(+), 413 deletions(-) - -commit f5152cea423947cd8a85332566443b4e2e091672 -Author: Behdad Esfahbod -Date: Tue Jul 31 01:27:04 2018 -0700 - - [shaper] Move code around - - src/hb-shaper-private.hh | 18 +++++++++--------- - 1 file changed, 9 insertions(+), 9 deletions(-) - -commit 36d0fbbc52bdf2c71da022fb1fdc31eca17078ce -Author: Behdad Esfahbod -Date: Tue Jul 31 01:15:04 2018 -0700 - - [shaper] Remove a macro - - src/hb-shaper-private.hh | 4 +--- - 1 file changed, 1 insertion(+), 3 deletions(-) - -commit b1e5650c67266dc158f22355fed206cd1c413f70 -Author: Behdad Esfahbod -Date: Tue Jul 31 01:02:31 2018 -0700 - - [atomic] Make pointer get op relaxed instead of acquire - - We only use it before cmpexch, so relaxed is fine and faster for - common case. - - src/hb-atomic-private.hh | 34 +++++++++------------------------- - 1 file changed, 9 insertions(+), 25 deletions(-) - -commit 66ccd8ac405c9c25b37de9eb467a7382880dda35 -Author: Behdad Esfahbod -Date: Mon Jul 30 17:03:06 2018 -0700 - - [serialize] Increase stage count from 8 to 32 - - Indic shaper uses many stages. Now we are provably not limiting - functionality whereas the previous limit of 8 was assuming real-world - practices. - - src/hb-ot-layout-common-private.hh | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit ee8cf919654cb191e955fe1f89b1ebfb2b8b32ee -Author: Behdad Esfahbod -Date: Mon Jul 30 16:59:41 2018 -0700 - - [serialize] Remove unused truncate() method - - src/hb-machinery-private.hh | 6 ------ - 1 file changed, 6 deletions(-) - -commit 8782f80cce147c101b605501d9fd9c7d64338314 -Author: Michiharu Ariza -Date: Mon Jul 30 15:27:20 2018 -0700 - - fixed FDSelect0::sanitize - - src/hb-ot-cff-common-private.hh | 1 + - 1 file changed, 1 insertion(+) - -commit 9c4cadaef01733b32ab6190dd91552ee7145f3c3 -Author: Michiharu Ariza -Date: Mon Jul 30 14:28:40 2018 -0700 - - Added sanitize functions & calls - - Added sanitize functions to FDSelect - Added satnitize calls for FDSelect, VariationStore, FDArray, TopDict - - src/hb-ot-cff-common-private.hh | 67 ++++++++++++++++++++++++++++++++--------- - src/hb-ot-cff2-table.hh | 26 +++++++++++----- - src/hb-subset-cff2.cc | 2 +- - 3 files changed, 72 insertions(+), 23 deletions(-) - -commit 161b642ec5babc7e4b81d41f725d81ad2caa9330 -Merge: 3a61c3e93 5edf454aa -Author: Michiharu Ariza -Date: Mon Jul 30 12:22:09 2018 -0700 - - Merge branch 'master' into cff-subset - -commit 5edf454aa64aad461c90bd991e7eaf27668b7e6b -Author: Garret Rieger -Date: Thu Jul 26 17:42:02 2018 -0700 - - [subset] During lookup collection remember the features we've already processed. - - src/hb-ot-layout.cc | 26 +++++++++++++++++---- - ...ase-minimized-hb-subset-fuzzer-5670861909524480 | Bin 0 -> 1298 bytes - ...b-subset-get-codepoints-fuzzer-6136125075750912 | Bin 0 -> 65816 bytes - 3 files changed, 21 insertions(+), 5 deletions(-) - -commit 42c183f80355fe7cadac2931a23d389285c8b98c -Author: Behdad Esfahbod -Date: Fri Jul 27 14:55:29 2018 -0700 - - Minor - - src/hb-ft.cc | 5 +++-- - src/hb-ot-shape.cc | 5 +++-- - 2 files changed, 6 insertions(+), 4 deletions(-) - -commit ecab6604e57ea2bb4e78250a7a400e15b3e86f7a -Author: Behdad Esfahbod -Date: Wed Jul 25 17:37:38 2018 -0700 - - [serialize] Allocate for markFilteringSet - - src/hb-ot-layout-common-private.hh | 9 +++++++++ - 1 file changed, 9 insertions(+) - -commit 7f08818c441517f73c5bea0a2a88f494dfc8fa58 -Author: Behdad Esfahbod -Date: Wed Jul 25 17:22:05 2018 -0700 - - Minor - - src/hb-iter-private.hh | 8 +++++--- - src/hb-machinery-private.hh | 1 - - 2 files changed, 5 insertions(+), 4 deletions(-) - -commit 2e25d8f49181ab1d7fda520ae6587d293a982acf -Author: prrace -Date: Fri Jul 27 13:58:27 2018 -0700 - - Fix unlikely leaks - - src/hb-ft.cc | 4 +++- - src/hb-ot-shape.cc | 4 +++- - 2 files changed, 6 insertions(+), 2 deletions(-) - -commit 3c2842cbcf8cded73d1e310379e1a4ca124a6fc2 -Author: Behdad Esfahbod -Date: Wed Jul 25 17:07:17 2018 -0700 - - Add hb-iter-private.hh - - Unused so far. - - src/Makefile.sources | 1 + - src/hb-iter-private.hh | 147 ++++++++++++++++++++++++++++++++++++++++++++ - src/hb-machinery-private.hh | 1 + - 3 files changed, 149 insertions(+) - -commit 92b1e025c639d006f55400bf68fc23bdeaa1c716 -Author: Behdad Esfahbod -Date: Wed Jul 25 16:58:47 2018 -0700 - - Move some code from hb-open-type-private.hh to hb-machinery-private.hh - - src/Makefile.sources | 1 + - src/hb-machinery-private.hh | 702 ++++++++++++++++++++++++++++++++++++++++++++ - src/hb-open-type-private.hh | 669 +---------------------------------------- - 3 files changed, 706 insertions(+), 666 deletions(-) - -commit 6b11fea99716e22522b563d919ef7c72fe9a3c45 -Author: Behdad Esfahbod -Date: Wed Jul 25 16:01:37 2018 -0700 - - [closure] Allocate out set on the stack - - src/hb-ot-layout-gsubgpos-private.hh | 4 +--- - 1 file changed, 1 insertion(+), 3 deletions(-) - -commit 74467b790154838e86c3ca8df0eaafe82e87f976 -Author: Behdad Esfahbod -Date: Wed Jul 25 14:30:07 2018 -0700 - - Fix compile - - src/hb-shaper-private.hh | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit bf90f35302c319ec4699ccbcd1e28b15ef2ec423 -Author: Behdad Esfahbod -Date: Tue Jul 24 18:00:14 2018 -0700 - - [coretext] Add note - - src/hb-shaper-private.hh | 4 ++++ - 1 file changed, 4 insertions(+) - -commit fb58cb4b5ca7043fa746b1a01790abf53bedfa86 -Author: Garret Rieger -Date: Wed Jul 25 13:39:17 2018 -0700 - - [subset] Only used reachable lookups for gsub closure. - - src/hb-subset-plan.cc | 12 ++++++++---- - 1 file changed, 8 insertions(+), 4 deletions(-) - -commit c38bd4025f3f6ff4c1a39cc106b8618361a0c62b -Author: Behdad Esfahbod -Date: Tue Jul 24 09:43:27 2018 -0700 - - [closure] Separate in and out glyphs - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1107 - - src/hb-ot-layout-gsub-table.hh | 26 ++++++++++++++++++-------- - src/hb-ot-layout-gsubgpos-private.hh | 16 +++++++++++++++- - 2 files changed, 33 insertions(+), 9 deletions(-) - -commit 85646fdadb2f102333485e07425361795b4e0412 -Author: Garret Rieger -Date: Mon Jul 23 15:37:18 2018 -0700 - - [subset] Limit the iterations of the closure algorithm. - Prevents O(n^2) run times. - - src/hb-ot-layout-common-private.hh | 7 +++++++ - src/hb-ot-layout.cc | 5 ++++- - 2 files changed, 11 insertions(+), 1 deletion(-) - -commit 94759d4cf8986388399026ef5204ac55ee187180 -Author: Behdad Esfahbod -Date: Mon Jul 23 15:01:39 2018 -0700 - - Fix visibility on mingw32 - - Should fix bots again. - - src/hb-private.hh | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -commit 61eddbd8ef64dc66e3c42723533d53967e61c9af -Author: Behdad Esfahbod -Date: Mon Jul 23 14:44:10 2018 -0700 - - Fix infinite loop in loading num_glyphs within sanitizer - - src/hb-open-type-private.hh | 13 ++++++++++--- - src/hb-static.cc | 4 +++- - 2 files changed, 13 insertions(+), 4 deletions(-) - -commit e22a48ac95a60fac5e1bca26eed7f5623d73a7be -Author: Behdad Esfahbod -Date: Mon Jul 23 13:24:26 2018 -0700 - - One more visibility trick - - Should fix Windows build again. - - src/hb-common.cc | 9 +++++++++ - src/hb-private.hh | 20 ++------------------ - src/hb-static.cc | 4 +++- - 3 files changed, 14 insertions(+), 19 deletions(-) - -commit e57a638bdec378eed8e83513818c8add3ffae896 -Author: Behdad Esfahbod -Date: Mon Jul 23 12:00:02 2018 -0700 - - One more - - src/hb-ot-cmap-table.hh | 40 ++++++++++++++++++++-------------------- - 1 file changed, 20 insertions(+), 20 deletions(-) - -commit 36ed163fdd50419e4619c665a4a9dbf97f66c349 -Author: Behdad Esfahbod -Date: Mon Jul 23 11:57:45 2018 -0700 - - Remove unnecessary OT:: namespace specifiers - - src/hb-ot-cmap-table.hh | 30 +++++++++++++++--------------- - src/hb-ot-color-sbix-table.hh | 4 ++-- - src/hb-ot-color-svg-table.hh | 4 ++-- - src/hb-ot-glyf-table.hh | 4 ++-- - src/hb-ot-hmtx-table.hh | 2 +- - src/hb-ot-maxp-table.hh | 6 +++--- - src/hb-ot-os2-table.hh | 4 ++-- - src/hb-ot-post-table.hh | 2 +- - 8 files changed, 28 insertions(+), 28 deletions(-) - -commit c6bc7c38314ea831418fdd1434bbe5afc0875f33 -Author: Behdad Esfahbod -Date: Mon Jul 23 11:46:46 2018 -0700 - - Set num glyphs on sanitizer reference_table() - - Move out-of-class definitions of two methods to hb-static so they - are accessible in libharfbuzz-subset. - - src/hb-face.cc | 20 -------------------- - src/hb-open-type-private.hh | 1 + - src/hb-static.cc | 22 ++++++++++++++++++++++ - 3 files changed, 23 insertions(+), 20 deletions(-) - -commit 9401829d4e93f6f433957fa2d053f3b9d42da557 -Author: Behdad Esfahbod -Date: Sun Jul 22 22:50:58 2018 -0700 - - Remove Sanitizer<> - - src/hb-open-type-private.hh | 16 +--------------- - 1 file changed, 1 insertion(+), 15 deletions(-) - -commit 8e3e41272b3896274459c5961aac813ef2666321 -Author: Behdad Esfahbod -Date: Sun Jul 22 22:49:26 2018 -0700 - - Port rest of code away from Sanitizer<> - - src/hb-face.cc | 4 ++-- - src/main.cc | 3 +-- - 2 files changed, 3 insertions(+), 4 deletions(-) - -commit d6a8f64045ca3bf4c7d01520909fa0c7dfca4d64 -Author: Behdad Esfahbod -Date: Sun Jul 22 22:47:19 2018 -0700 - - Port dump-emoji away from Sanitizer<> - - src/dump-emoji.cc | 6 ++---- - 1 file changed, 2 insertions(+), 4 deletions(-) - -commit 14f78d2b3bb1e1292efbd6a3e3f0d618179c171a -Author: Behdad Esfahbod -Date: Sun Jul 22 22:45:26 2018 -0700 - - . - - src/hb-aat-layout.cc | 4 +--- - 1 file changed, 1 insertion(+), 3 deletions(-) - -commit 4547051f48ca6aa53309b81a768b5b44c4ab6e3b -Author: Behdad Esfahbod -Date: Sun Jul 22 22:44:22 2018 -0700 - - Minor - - src/hb-open-file-private.hh | 2 -- - 1 file changed, 2 deletions(-) - -commit 740ae27d5c0f5ff87e2ff489fb49d5db1a0c95be -Author: Behdad Esfahbod -Date: Sun Jul 22 22:40:56 2018 -0700 - - Port sbix off of Sanitizer<> - - src/hb-ot-color-sbix-table.hh | 4 +--- - 1 file changed, 1 insertion(+), 3 deletions(-) - -commit 9583e0077d0a3a043f8b5bd23925014e04da8d32 -Author: Behdad Esfahbod -Date: Sun Jul 22 22:40:32 2018 -0700 - - Port more off of Sanitizer<> - - src/hb-face.cc | 4 ++-- - src/hb-open-type-private.hh | 2 +- - src/hb-ot-cmap-table.hh | 2 +- - src/hb-ot-color-cbdt-table.hh | 4 ++-- - src/hb-ot-color-svg-table.hh | 4 +--- - src/hb-ot-glyf-table.hh | 8 ++++---- - src/hb-ot-hmtx-table.hh | 10 +++++----- - src/hb-ot-kern-table.hh | 2 +- - src/hb-ot-layout.cc | 6 +++--- - src/hb-ot-maxp-table.hh | 2 +- - src/hb-ot-os2-table.hh | 2 +- - src/hb-ot-post-table.hh | 2 +- - src/hb-subset.cc | 4 +--- - 13 files changed, 24 insertions(+), 28 deletions(-) - -commit e7737b41d793bfce9455d1797eb5e0af60794f23 -Author: Behdad Esfahbod -Date: Sun Jul 22 22:24:31 2018 -0700 - - Add sanitizer reference_table, also fix clang build - - Clang is being really peculiar. Fix with: - - - inline hb_blob_t *sanitize (hb_blob_t *blob) { return c->sanitize (blob); } - + inline hb_blob_t *sanitize (hb_blob_t *blob) { return c[0].template/*clang idiosyncrasy*/sanitize_blob (blob); } - - src/hb-open-type-private.hh | 10 ++++++++-- - src/hb-ot-post-table.hh | 2 +- - src/hb-subset-glyf.cc | 2 +- - src/hb-uniscribe.cc | 2 +- - 4 files changed, 11 insertions(+), 5 deletions(-) - -commit 62fa7cd1ccff4d4448ef84f9cc146464672636aa -Author: David Corbett -Date: Fri Apr 13 18:45:37 2018 -0400 - - Order Chakma split vowels in accordance with NFC - - Fixes #1105. - - src/gen-use-table.py | 10 ++++++++++ - src/hb-ot-shape-complex-use-table.cc | 4 ++-- - src/hb-ot-shape-complex-use.cc | 21 +-------------------- - .../2a670df15b73a5dc75a5cc491bde5ac93c5077dc.ttf | Bin 0 -> 1344 bytes - test/shaping/data/in-house/tests/use.tests | 5 +++++ - 5 files changed, 18 insertions(+), 22 deletions(-) - -commit 0c1b287b72e91e0898d75acb5d5acf1c6b9a7498 -Author: Ebrahim Byagowi -Date: Sat Jul 21 21:14:48 2018 +0430 - - Add a new API, hb_ot_layout_get_feature_name_ids (#976) - - This new API returns cvXX and ssXX related NameId, things like - featUiLabelNameId, featUiTooltipTextNameId, sampleTextNameId, ... of cvXX - and UINameId of ssXX, in a unified way. - - However HarfBuzz currently doesn't expose an API for retrieving the actual - information associated with NameId from the `name` table and that should be - done separately. - - docs/harfbuzz-sections.txt | 1 + - src/hb-ot-layout-common-private.hh | 14 +++++++ - src/hb-ot-layout.cc | 86 ++++++++++++++++++++++++++++++++++++++ - src/hb-ot-layout.h | 8 ++++ - 4 files changed, 109 insertions(+) - -commit 3a61c3e935cf649ba65ef0cb4daa9f06ab5d3c0a -Author: Michiharu Ariza -Date: Wed Jul 18 14:17:52 2018 -0700 - - first push of CFF/CFF2 work - - Index, Dict structs - hooked up to hb-subset (takes CFF2, outputs empty CFF2) - - src/Makefile.sources | 4 + - src/hb-ot-cff-common-private.hh | 475 ++++++++++++++++++++++++++++++++++++++++ - src/hb-ot-cff2-table.hh | 386 ++++++++++++++++++++++++++++++++ - src/hb-ot-font.cc | 2 + - src/hb-subset-cff2.cc | 121 ++++++++++ - src/hb-subset-cff2.hh | 38 ++++ - src/hb-subset.cc | 4 + - 7 files changed, 1030 insertions(+) - -commit 93b65d9fe331a217640069fad4159cb7c3ec35e6 -Author: Ebrahim Byagowi -Date: Tue Jul 17 23:29:16 2018 +0430 - - Remove dump-fon (#1100) - - It had interesting stuffs like EXE parsing and - big-endian parsers but added in an attempt to find - a solution for #681 which later found not related. - - src/Makefile.am | 4 - - src/dump-fon.cc | 555 -------------------------------------------------------- - 2 files changed, 559 deletions(-) - -commit d5cd47a69c40966b4d5b5aed87dd7ac6f070c37a -Author: Ebrahim Byagowi -Date: Tue Jul 17 22:32:37 2018 +0430 - - Remove AAT's gcid/fmtx (#1099) - - We are not going to use them, at least in the foreseeable future - - src/Makefile.sources | 2 -- - src/hb-aat-fmtx-table.hh | 67 -------------------------------------------- - src/hb-aat-gcid-table.hh | 73 ------------------------------------------------ - src/hb-aat-layout.cc | 2 -- - 4 files changed, 144 deletions(-) - -commit 1e9e344b2ba076a5fd6d57d1705e17a59c3875ce -Author: Behdad Esfahbod -Date: Tue Jul 17 19:17:59 2018 +0200 - - Fix hb_face_count() sanitize referencing - - src/hb-face.cc | 7 +++++-- - 1 file changed, 5 insertions(+), 2 deletions(-) - -commit a8cc0b5907e61199334a3a886fe22efe9cc17149 -Author: Behdad Esfahbod -Date: Tue Jul 17 19:09:03 2018 +0200 - - Remove TODO that is not gonna be done - - Previously the idea was to cache sanitize results externally (think, - in Fontconfig) and avoid resanitizing every time. That's, not a good - idea. - - src/hb-open-type-private.hh | 2 -- - 1 file changed, 2 deletions(-) - -commit be7073840097c873ce4954c6cffadab175a007d3 -Author: Behdad Esfahbod -Date: Tue Jul 17 18:45:25 2018 +0200 - - Move sanitizer code around a bit - - src/hb-aat-layout-common-private.hh | 4 +- - src/hb-open-type-private.hh | 95 ++++++++++++++++++++----------------- - src/hb-ot-color-sbix-table.hh | 12 ++--- - src/hb-ot-layout-common-private.hh | 3 -- - 4 files changed, 58 insertions(+), 56 deletions(-) - -commit db5d430effce67db57ddea2545694b7275ee8b35 -Author: Behdad Esfahbod -Date: Tue Jul 17 18:14:45 2018 +0200 - - [aat] Update for blob changes - - Also, uncomment code again, just "if (0)" it out, so it doesn't get stale again. - - src/hb-aat-layout.cc | 58 ++------------------------------------------- - src/hb-open-type-private.hh | 27 +++++++++++++-------- - src/hb-ot-layout-private.hh | 1 + - src/hb-ot-layout.cc | 2 ++ - src/hb-ot-shape.cc | 6 ++--- - 5 files changed, 25 insertions(+), 69 deletions(-) - -commit 68310a65cba7eed20f8696f4c670bb195677f467 -Author: Behdad Esfahbod -Date: Tue Jul 17 13:20:40 2018 +0200 - - 1.8.4 - - NEWS | 7 +++++++ - configure.ac | 2 +- - src/hb-version.h | 4 ++-- - 3 files changed, 10 insertions(+), 3 deletions(-) - -commit 04b7b81bcbf19cb85d06d930192d6591ba45ef72 -Author: Behdad Esfahbod -Date: Tue Jul 17 10:57:01 2018 +0200 - - Reland "Implement C++11-style GCC builtin atomic ops" - - Fixed the crasher in it. - - src/hb-atomic-private.hh | 22 +++++++++++++++++++--- - src/hb-object-private.hh | 2 +- - 2 files changed, 20 insertions(+), 4 deletions(-) - -commit 019d18e9ae643134bfc3861be65ac618a5892c92 -Author: Behdad Esfahbod -Date: Tue Jul 17 10:59:19 2018 +0200 - - Minor - - src/Makefile.am | 1 + - test/api/Makefile.am | 2 ++ - 2 files changed, 3 insertions(+) - -commit 3edef5a19b5c0f30381ae6fe01c3370ded37f6ca -Author: Behdad Esfahbod -Date: Tue Jul 17 10:50:01 2018 +0200 - - Revert "Implement C++11-style GCC builtin atomic ops" - - This reverts commit 21fa170f0bfb0109c506ed17f5aff8b062564ffa. - - Is crashing. Oops. - - src/hb-atomic-private.hh | 22 +++------------------- - src/hb-object-private.hh | 2 +- - 2 files changed, 4 insertions(+), 20 deletions(-) - -commit 21fa170f0bfb0109c506ed17f5aff8b062564ffa -Author: Behdad Esfahbod -Date: Mon Jul 16 17:58:02 2018 +0200 - - Implement C++11-style GCC builtin atomic ops - - Hopefully fixes bots. - - src/hb-atomic-private.hh | 22 +++++++++++++++++++--- - src/hb-object-private.hh | 2 +- - 2 files changed, 20 insertions(+), 4 deletions(-) - -commit 804b59cf4901d471253016e0cbf82cc1bbbc1d15 -Author: Behdad Esfahbod -Date: Mon Jul 16 15:44:58 2018 +0200 - - Relax C++11 atomic ops memory order to acquire-release - - src/hb-atomic-private.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit bda242409fc0cbb79a0ff00eba9856c4b0a9c7a1 -Author: Behdad Esfahbod -Date: Mon Jul 16 15:41:09 2018 +0200 - - Implement C++11 operations - - Fixes https://github.com/harfbuzz/harfbuzz/issues/345 - - src/hb-atomic-private.hh | 27 ++++++++++++++++++++++++--- - src/hb-open-type-private.hh | 2 +- - src/hb-ot-shape-complex-arabic.cc | 2 +- - 3 files changed, 26 insertions(+), 5 deletions(-) - -commit 524411224054b23bab4adad7343314df45c9c183 -Merge: 2aae617a8 269eb4565 -Author: Cosimo Lupo -Date: Mon Jul 16 14:42:43 2018 +0200 - - Merge pull request #1094 from anthrotype/fix-appveyor-msys2 - - appveyor.yml: try updating msys2 to fix failing mingw-w64-x86_64 build - -commit 269eb45650be66901627da7f1014339065a948a5 -Author: Cosimo Lupo -Date: Mon Jul 16 14:14:42 2018 +0200 - - appveyor.yml: try only updating msys2 core, not the rest of the packages - - maybe it'll get a bit faster - - appveyor.yml | 1 - - 1 file changed, 1 deletion(-) - -commit 3ab52c6cb5c405366af804d278216e2d02a39ecb -Author: Cosimo Lupo -Date: Mon Jul 16 12:57:27 2018 +0200 - - appveyor.yml: pass --needed option to pacman - - so it won't attempt reinstalling packages which are already installed - - appveyor.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 5631d70d36aa7952d343ea794bd5169a730706ae -Author: Cosimo Lupo -Date: Mon Jul 16 12:41:59 2018 +0200 - - appveyor.yml: try updating msys2 to fix failing mingw-w64-x86_64 build - - https://github.com/harfbuzz/harfbuzz/pull/1093#issuecomment-405201903 - https://ci.appveyor.com/project/harfbuzz/harfbuzz/build/job/ky7lao1ii1bi7ew4#L71 - - appveyor.yml | 2 ++ - 1 file changed, 2 insertions(+) - -commit 2aae617a84f47836f10efd30df43e13e3a9447e1 -Author: Behdad Esfahbod -Date: Wed Jul 11 17:27:23 2018 +0200 - - Move _hb_alignof later again - - It uses constexpr... - - src/hb-private.hh | 26 +++++++++++++------------- - 1 file changed, 13 insertions(+), 13 deletions(-) - -commit f3a74c16ecafdca135a647ebe85117c35c1ef585 -Author: Behdad Esfahbod -Date: Wed Jul 11 17:23:53 2018 +0200 - - Make hb_vector_t 8 bytes smaller - - src/hb-dsalgs.hh | 8 +++----- - 1 file changed, 3 insertions(+), 5 deletions(-) - -commit 44999f8b758374015f5d48c83f9adcb464607c2f -Author: Behdad Esfahbod -Date: Wed Jul 11 17:00:59 2018 +0200 - - Align NullPool and CrapPool to HB_VECTOR_SIZE - - src/hb-dsalgs.hh | 3 +-- - src/hb-private.hh | 64 ++++++++++++++++++++++++++++++++----------------------- - src/hb-static.cc | 4 ++-- - 3 files changed, 40 insertions(+), 31 deletions(-) - -commit 20a318d06acaabdee0090339dfa621aab46f1441 -Author: Behdad Esfahbod -Date: Wed Jul 11 17:00:13 2018 +0200 - - Fix return type of alignof() fallback - - src/hb-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 58cb4d9f73f1292454e3673d5e7ae5a58a566522 -Author: Behdad Esfahbod -Date: Wed Jul 11 16:44:21 2018 +0200 - - Minor - - test/api/test-ot-math.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 7796857c93b779e3c93eedd1cceb217d691dfd81 -Author: Behdad Esfahbod -Date: Wed Jul 11 15:27:37 2018 +0200 - - Minor - - RELEASING.md | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 2b76767bf572364d3d647cdd139f2044a7ad06b2 -Author: Behdad Esfahbod -Date: Wed Jul 11 15:27:13 2018 +0200 - - 1.8.3 - - NEWS | 8 ++++++++ - configure.ac | 2 +- - src/hb-version.h | 4 ++-- - 3 files changed, 11 insertions(+), 3 deletions(-) - -commit 718dfd4189275b1e4233dc7c12ab457352fccfcb -Author: Behdad Esfahbod -Date: Tue Jul 10 16:34:31 2018 +0200 - - Fix shift - - src/hb-dsalgs.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 25aa411ac524ed08624033da473a5e050ff41633 -Author: Behdad Esfahbod -Date: Tue Jul 10 16:05:03 2018 +0200 - - Put back include dependencies - - src/hb-object-private.hh | 2 ++ - src/hb-private.hh | 7 ++++--- - 2 files changed, 6 insertions(+), 3 deletions(-) - -commit 491d93bf74dd0483715ecca430715b69664e1211 -Author: Behdad Esfahbod -Date: Tue Jul 10 16:03:31 2018 +0200 - - Move more stuff from hb-private.hh to hb-dsalgs.hh - - src/hb-debug.hh | 1 + - src/hb-dsalgs.hh | 237 ++++++++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-private.hh | 246 +----------------------------------------------------- - 3 files changed, 240 insertions(+), 244 deletions(-) - -commit f477765661c196ac17b2c86731881a3da36a5ae6 -Author: Behdad Esfahbod -Date: Tue Jul 10 15:49:05 2018 +0200 - - Move more stuff to hb-dsalgs.hh - - src/hb-dsalgs.hh | 83 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-private.hh | 81 ----------------------------------------------------- - 2 files changed, 83 insertions(+), 81 deletions(-) - -commit be7f664f723fb4e7bcf15c1c2b7c6bec46f90393 -Author: Behdad Esfahbod -Date: Tue Jul 10 15:23:08 2018 +0200 - - Move hb_bytes_t to hb-dsalgs.hh - - src/hb-dsalgs.hh | 45 ++++++++++++++++++++++++++++++++++----------- - src/hb-private.hh | 26 -------------------------- - 2 files changed, 34 insertions(+), 37 deletions(-) - -commit 7a00f7eb2e3859db4563071934e76142bfd13916 -Author: Behdad Esfahbod -Date: Tue Jul 10 14:42:10 2018 +0200 - - Remove hb_auto_array_t - - src/hb-dsalgs.hh | 2 -- - 1 file changed, 2 deletions(-) - -commit be458eb05962dd5f5c60a25f54cf0b20e7d8b055 -Author: Behdad Esfahbod -Date: Tue Jul 10 14:41:04 2018 +0200 - - Include more basic internal headers from hb-private.hh - - src/hb-blob-private.hh | 2 -- - src/hb-blob.cc | 1 - - src/hb-buffer-private.hh | 1 - - src/hb-common.cc | 2 -- - src/hb-coretext.cc | 1 - - src/hb-directwrite.cc | 1 - - src/hb-face-private.hh | 1 - - src/hb-font-private.hh | 1 - - src/hb-ft.cc | 1 - - src/hb-map-private.hh | 1 - - src/hb-object-private.hh | 4 ---- - src/hb-open-type-private.hh | 1 - - src/hb-ot-layout-common-private.hh | 1 - - src/hb-ot-layout-gsubgpos-private.hh | 1 - - src/hb-ot-shape-complex-arabic.cc | 1 - - src/hb-private.hh | 6 +++++- - src/hb-set-private.hh | 1 - - src/hb-shape-plan-private.hh | 1 - - src/hb-shape-plan.cc | 1 - - src/hb-subset-input.cc | 1 - - src/hb-subset-plan.hh | 1 - - src/hb-subset.cc | 1 - - src/hb-unicode-private.hh | 1 - - src/hb-uniscribe.cc | 1 - - src/hb-warning.cc | 4 +--- - 25 files changed, 6 insertions(+), 32 deletions(-) - -commit bddeb2b10ca2f4b4bee6f7eaaf5615875a67111d -Author: Behdad Esfahbod -Date: Tue Jul 10 14:12:37 2018 +0200 - - Minor renamings of internal inline functions - - src/hb-buffer.cc | 4 ++-- - src/hb-dsalgs.hh | 2 +- - src/hb-map-private.hh | 2 +- - src/hb-open-type-private.hh | 4 ++-- - src/hb-ot-cmap-table.hh | 2 +- - src/hb-ot-hdmx-table.hh | 2 +- - src/hb-ot-layout-gpos-table.hh | 4 ++-- - src/hb-ot-layout-gsub-table.hh | 2 +- - src/hb-ot-map.cc | 4 ++-- - src/hb-ot-shape.cc | 4 ++-- - src/hb-private.hh | 27 ++++++++++++++------------- - src/hb-set-private.hh | 6 +++--- - src/hb-subset.cc | 2 +- - 13 files changed, 33 insertions(+), 32 deletions(-) - -commit d652ef299d123f28409e755ed2d2411295293f19 -Author: Behdad Esfahbod -Date: Tue Jul 10 14:05:00 2018 +0200 - - Move hb_vector_t and hb_lockable_set_t to hb-dsalgs.hh - - src/hb-dsalgs.hh | 311 +++++++++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-private.hh | 315 ------------------------------------------------------ - 2 files changed, 311 insertions(+), 315 deletions(-) - -commit 9e53b083295ad910a87e778ebd16cbe69ebe2130 -Author: Behdad Esfahbod -Date: Tue Jul 10 14:03:58 2018 +0200 - - Move hb_stable_sort to hb-dsalgs.hh - - Also, include hb-dsalgs.hh from end of hb-pricate.hh - - src/hb-dsalgs.hh | 51 +++++++++++++++++++++++++++++++++++++++++ - src/hb-ot-os2-unicode-ranges.hh | 1 - - src/hb-ot-post-table.hh | 1 - - src/hb-private.hh | 51 ++--------------------------------------- - 4 files changed, 53 insertions(+), 51 deletions(-) - -commit 39f11d8e72c6b2568f3b70847c6c9d1f374cd49c -Author: Behdad Esfahbod -Date: Tue Jul 10 14:01:39 2018 +0200 - - Minor - - src/hb-private.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 763f878cc0595162255c58ffe7a82ac1ca51cb0b -Author: Behdad Esfahbod -Date: Tue Jul 10 13:47:41 2018 +0200 - - Fix syntax - - Oops. - - src/hb-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 83ea277178544cd7e417bdfb7b600ede94910e13 -Author: Behdad Esfahbod -Date: Tue Jul 10 13:17:27 2018 +0200 - - Add posix_memalign() fallback - - configure.ac | 2 +- - src/hb-private.hh | 40 ++++++++++++++++++++++++++++++++++++++++ - 2 files changed, 41 insertions(+), 1 deletion(-) - -commit 292c100d6141eb2e981fa632602d73768f748727 -Author: Behdad Esfahbod -Date: Tue Jul 10 13:16:52 2018 +0200 - - Always compile (but not use) alignof() and round() fallback codes - - Catches compile-errors in them better. - - src/hb-private.hh | 23 ++++++++++++----------- - 1 file changed, 12 insertions(+), 11 deletions(-) - -commit 27c5317d918971c2fb67c213621a19ac790440e4 -Author: Behdad Esfahbod -Date: Tue Jul 10 13:03:42 2018 +0200 - - Fix alignof impl - - src/hb-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit bca83618cda7ee4f683b4685d10db9e1bef4983c -Author: Behdad Esfahbod -Date: Tue Jul 10 12:58:13 2018 +0200 - - Add fallback implementation for constexpr and alignof - - src/hb-private.hh | 18 ++++++++++++++++++ - 1 file changed, 18 insertions(+) - -commit 7cb47d0f3f202843ebc7fb8801bf388bb90ba3aa -Author: Behdad Esfahbod -Date: Tue Jul 10 12:51:29 2018 +0200 - - Minor - - src/hb-set-private.hh | 1 + - 1 file changed, 1 insertion(+) - -commit bf9e9676dda686f5b76826b4e3148f4a0b512e3c -Merge: 46d8f0d55 53f73409a -Author: Cosimo Lupo -Date: Mon Jul 9 20:24:22 2018 +0200 - - Merge pull request #1091 from anthrotype/fix-gen-def-py - - gen-def.py: pass headers as arguments so that msys2 can convert posix paths - -commit 53f73409a91241765ae6a0cadf7600676988b6af -Author: Cosimo Lupo -Date: Mon Jul 9 18:54:23 2018 +0100 - - CMakeLists.txt: don't pass header args as single space-separated string - - let python's parse command-line args as usual - - CMakeLists.txt | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit 83d2233a5c47cf1feadcdece5bd4a6b498c6ee7a -Author: Cosimo Lupo -Date: Mon Jul 9 18:48:20 2018 +0100 - - CMakeLists.txt: pass headers as arguments to gen-def.py; call using PYTHON_EXECUTABLE - - CMakeLists.txt | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit ccdd15655480fe35226c0b757e28d3527fe2e6af -Author: Cosimo Lupo -Date: Mon Jul 9 18:26:44 2018 +0100 - - src/Makefile.am: pass headers to gen-def.py as arguments, not env vars - - src/Makefile.am | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit e3a931ef0b86419b5e4ba17de51535393471ed9d -Author: Cosimo Lupo -Date: Mon Jul 9 18:11:29 2018 +0100 - - gen-def.py: pass headers as arguments so that msys2 can convert posix paths - - When one is not using the msys2 python, the header files that are passed in as environment - variable cannot be found. - - https://ci.appveyor.com/project/fonttools/ttfautohint-py/build/1.0.65/job/rkremny4jjid9nl2#L803 - - This is because msys2 shell and make use POSIX paths (e.g. /c/Users/clupo/...) - whereas non-msys2 python.exe uses native Windows paths (e.g. C:\Users\clupo\...). - - Msys2 will automatically convert command line arguments (but not environment variables) from - POSIX to Windows paths when calling a native win32 executable, so we pass the header paths - as arguments instead of environment variables. - - This way the gen-def.py script can support both mingw python running in an MSYS2 shell, and - native win32 python. - - src/gen-def.py | 12 +++++++++--- - 1 file changed, 9 insertions(+), 3 deletions(-) - -commit 46d8f0d5521c3dd0b10c78e66153faefdb9046db -Author: David Corbett -Date: Fri Jul 6 15:47:03 2018 -0400 - - Do not enforce a native direction of LTR for Runic - - Fixes #481 - - src/hb-common.cc | 1 + - 1 file changed, 1 insertion(+) - -commit 936dadc6610666aa5781e8662b859f18f9baa636 -Author: David Corbett -Date: Sat Jul 7 11:08:17 2018 -0400 - - Regenerate the USE table for Grantha and Bhaiksuki (#1090) - - Completes #1037 and fixes #1035. - - src/hb-ot-shape-complex-use-table.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 1ebaa090d80bf0b59308d2c70f5e58dd8da47450 -Author: Behdad Esfahbod -Date: Thu Jul 5 14:04:13 2018 +0430 - - Disable vectorization - - Disable vectorization for now. To correctly use them, we should - use posix_memalign() to allocate them. Otherwise, can cause - misaligned access. - - https://bugs.chromium.org/p/chromium/issues/detail?id=860184 - - src/hb-private.hh | 12 ++++++++++++ - 1 file changed, 12 insertions(+) - -commit 18a06f8a662ca7a9e63f74c6443e24a035c40655 -Author: Behdad Esfahbod -Date: Thu Jul 5 14:03:48 2018 +0430 - - Fix warning - - ../../src/hb-ot-layout-gsubgpos-private.hh:391:18: warning: missed loop optimization, the loop counter may overflow [-Wunsafe-loop-optimizations] - - src/hb-ot-layout-gsubgpos-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 058708a665cdd9e796581dbcf60a5778d3f5e240 -Author: Behdad Esfahbod -Date: Thu Jul 5 13:16:00 2018 +0430 - - Allow disabling vector_size use - - src/hb-private.hh | 10 ++++++---- - 1 file changed, 6 insertions(+), 4 deletions(-) - -commit d8a7dedc83042c5a643195172830acf78f2e59ff -Author: Ebrahim Byagowi -Date: Wed Jul 4 15:33:39 2018 +0430 - - Use CreateFileW explicitly and pass wchar_t to it (#1087) - - src/hb-blob.cc | 12 +++++++++--- - 1 file changed, 9 insertions(+), 3 deletions(-) - -commit 9940504e933d6766f87dca7fccc3c2f889976a22 -Author: Behdad Esfahbod -Date: Tue Jul 3 14:29:25 2018 +0430 - - [indic] Adjust left-matra repositioning and Halant,ZWJ sequence - - From the new code (first paragraph is from the OT Devanagari spec.): - - /* o Reorder matras: - * - * If a pre-base matra character had been reordered before applying basic - * features, the glyph can be moved closer to the main consonant based on - * whether half-forms had been formed. Actual position for the matra is - * defined as “after last standalone halant glyph, after initial matra - * position and before the main consonant”. If ZWJ or ZWNJ follow this - * halant, position is moved after it. - * - * IMPLEMENTATION NOTES: - * - * It looks like the last sentence is wrong. Testing, with Windows 7 Uniscribe - * and Devanagari shows that the behavior is best described as: - * - * "If ZWJ follows this halant, matra is NOT repositioned after this halant. - * If ZWNJ follows this halant, position is moved after it." - * - * Test case, with Adobe Devanagari or Nirmala UI: - * - * U+091F,U+094D,U+200C,U+092F,U+093F - * (Matra moves to the middle, after ZWNJ.) - * - * U+091F,U+094D,U+200D,U+092F,U+093F - * (Matra does NOT move, stays to the left.) - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1070 - - Test case added with Adobe Devanagari. - - src/hb-ot-shape-complex-indic.cc | 37 +++++++++++++++++++++ - .../8116e5d8fedfbec74e45dc350d2416d810bed8c4.ttf | Bin 0 -> 4364 bytes - .../data/in-house/tests/indic-joiners.tests | 4 +++ - 3 files changed, 41 insertions(+) - -commit 2cb075fe26201f3e370fccfff6c1bc242b5acc79 -Author: Behdad Esfahbod -Date: Tue Jul 3 13:04:05 2018 +0430 - - Fix unused function '_hb_mapped_file_destroy' if no mmap - - src/hb-blob.cc | 2 ++ - 1 file changed, 2 insertions(+) - -commit 343e8c694b03eea625523229a9468fbb456e3aea -Author: Behdad Esfahbod -Date: Tue Jul 3 12:43:59 2018 +0430 - - 1.8.2 - - NEWS | 8 ++++++++ - configure.ac | 2 +- - src/hb-version.h | 4 ++-- - 3 files changed, 11 insertions(+), 3 deletions(-) - -commit 29e7879bcf3fe955a0be3bb41e929e68f39ad01e -Author: Behdad Esfahbod -Date: Tue Jul 3 12:38:21 2018 +0430 - - Disable .dfont code for now - - The get_table imple was wrong, as table offsets in a dfont are - relative to the resource. We were treating them as relative to - the big blob itself. To be fixed. - - Part of https://github.com/harfbuzz/harfbuzz/pull/1085 - - src/hb-open-file-private.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 32348a43c154eac6bfb21b9e8044b38ed763601e -Author: Ebrahim Byagowi -Date: Sun Jul 1 15:32:43 2018 +0430 - - Fix trak table apply logic - - In collaboration with Behdad - - src/hb-aat-layout-trak-table.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 225b92b7d4437360f8779850ee0aae85966679b5 -Author: Ebrahim Byagowi -Date: Sun Jul 1 14:32:00 2018 +0430 - - Support dfont font files (#949) - - src/hb-open-file-private.hh | 196 ++++++++++++++++++++++++++++++++++++++++++++ - src/hb-open-type-private.hh | 1 + - src/main.cc | 3 + - 3 files changed, 200 insertions(+) - -commit 5d8cafcf6a47ce73afff06499f6be23c72ab6797 -Author: Ebrahim Byagowi -Date: Sun Jul 1 01:54:14 2018 +0430 - - Improve nommap naming and use C style comments on create_from_file (#1084) - - .circleci/config.yml | 2 +- - src/hb-blob.cc | 16 ++++++++-------- - 2 files changed, 9 insertions(+), 9 deletions(-) - -commit d3c0980ac234698627cb281e5526cc99139eed30 -Author: Behdad Esfahbod -Date: Sat Jun 30 15:59:25 2018 +0430 - - Adjust MarkBasePos heuristic in presence of MultipleSubst - - From the issue: - "In this font, the virama,ya first forms a ligature, then decomposes back to - virama,ya. This causes those two to be marked parts of a MultipleSubst - sequence. When attaching the matra, we look for the first of the MultipleSubst - sequence because that's where we attach to (because of eg #740). In this case, - the first glyph in the MultipleSubst sequence is a mark, so we skip it and - attach to the base char before it." - - Font in question is Nirmala UI from Windows 10. Test sequence: - - U+0926,U+094D,U+092F,U+0941 - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1020 - - src/hb-ot-layout-gpos-table.hh | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -commit 8b9cbe3b24be2ae0166e682103e22ec916316ecf -Author: Behdad Esfahbod -Date: Sat Jun 30 12:28:03 2018 +0430 - - [indic] Tweak for old-spec Bengali and halant-ya-halant - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1073 - - src/hb-ot-shape-complex-indic.cc | 13 ++++++++++--- - 1 file changed, 10 insertions(+), 3 deletions(-) - -commit 9541c9dae10156fb61e4786545d1976cdcfb6bda -Author: punchcutter -Date: Sun Jun 24 22:54:57 2018 -0700 - - Rebase and update USE overrides for Bhaiksuki Gap Fillers and Grantha Anusvara - - src/gen-use-table.py | 8 +++++++- - 1 file changed, 7 insertions(+), 1 deletion(-) - -commit 7b8dfac560abe89d48cfc2f6efb4a61820bd28bf -Author: Behdad Esfahbod -Date: Sat Jun 30 09:16:54 2018 +0430 - - [khmer] Fix infinite-loop in cluster merging - - Indic shaper already had this check. We removed it when forking - Khmer shaper by mistake. - - Fixes https://bugzilla.mozilla.org/show_bug.cgi?id=1464623 - - src/hb-ot-shape-complex-khmer.cc | 31 +++++++++++++++++-------------- - 1 file changed, 17 insertions(+), 14 deletions(-) - -commit 25970a93aa6596d50ae538c6274625f95153572c -Author: Ebrahim Byagowi -Date: Thu Jun 28 14:32:36 2018 +0430 - - armcc compatibility, don't use EINTR if doesn't exist - - Fixes #1081 - - src/hb-blob.cc | 2 ++ - 1 file changed, 2 insertions(+) - -commit 8a51f91b7035bbfaf39af1b962faf1613d2ea3b7 -Author: Ebrahim Byagowi -Date: Thu Jun 28 13:22:21 2018 +0430 - - Minor on hb_blob_create_from_file, reuse ferror result - - Oops - - src/hb-blob.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 71971800ed1c0501a58e6ff7730e3cebec2ef2f8 -Author: Ebrahim Byagowi -Date: Wed Jun 27 18:14:52 2018 +0430 - - [ci] Don't fail on apt update and revive clang-O3-O0 - - .circleci/config.yml | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 7b4099f35f766d33d483a4b9d0805ef16020ea23 -Author: Ebrahim Byagowi -Date: Wed Jun 27 16:54:44 2018 +0430 - - Minor, rename blob to data on blob_from_file - - src/hb-blob.cc | 18 +++++++++--------- - 1 file changed, 9 insertions(+), 9 deletions(-) - -commit fa090ed4d47df12b2e611c9a667c398742f7e4ba -Author: Ebrahim Byagowi -Date: Wed Jun 27 14:13:26 2018 +0430 - - Minor touches on hb_blob_create_from_file (#1079) - - * Handle EINTR on fallback reader - * Increase fallback reader limitation size limitation to 2 << 28 - * Ensure _O_BINARY does exist if MMAP is used on Windows - (maybe superfluous but makes me more confident) - - src/hb-blob.cc | 22 +++++++++++++--------- - 1 file changed, 13 insertions(+), 9 deletions(-) - -commit 01dff1ea1aa871fa19a92c2afd63c8cb5dd6e455 -Author: Behdad Esfahbod -Date: Tue Jun 26 18:00:58 2018 -0400 - - Make round() fallback portable to systems that do have round() - - Makes compiling without HAVE_ROUND on systems that do have it work. - - src/hb-private.hh | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 7db2e9ea38329b9393c9e8cc905b180735c9b0f4 -Author: Ebrahim Byagowi -Date: Tue Jun 26 10:46:10 2018 +0430 - - Minor on hb_blob_create_from_file - - Add one more "unlikely" annotation and use explicit nullptr check for more consistency. - - src/hb-blob.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 4f8753464ae44dfb60bee81ede10448175db7b90 -Author: Garret Rieger -Date: Fri Jun 22 15:29:34 2018 -0700 - - [subset] Add fuzzer test case that caused a timeout to the corpus. - - ...testcase-minimized-hb-subset-fuzzer-5750092395970560 | Bin 0 -> 72435 bytes - 1 file changed, 0 insertions(+), 0 deletions(-) - -commit bbf2a09549a88bd52ac3db89a0ae93f3b71b3e37 -Merge: 8db058d20 35ce8f31d -Author: Nathan Willis -Date: Mon Jun 25 13:02:11 2018 -0500 - - Merge branch 'master' of http://github.com/behdad/harfbuzz - - Catching up. - -commit 35ce8f31d37cf7c2a1f8265d36ba4c2c9a3efb2c -Author: Ebrahim Byagowi -Date: Mon Jun 25 22:23:43 2018 +0430 - - Unify our pipe reader with the fallback reader (#1068) - - And assign one bot to use the path always using NOMMAPFILEREADER token. - - It's limited to 200mb so no more fun with using /dev/zero on hb-view! - - .circleci/config.yml | 6 +- - src/hb-blob.cc | 152 ++++++++++++++++++++++----------------------------- - 2 files changed, 68 insertions(+), 90 deletions(-) - -commit f57804a8a596e88843ddc8b88afac7526349b89b -Author: Ebrahim Byagowi -Date: Mon Jun 25 18:45:49 2018 +0430 - - Resolve ttx absolute path before use (#1075) - - test/subset/run-tests.py | 101 ++++++++++++++++++++++++++--------------------- - 1 file changed, 57 insertions(+), 44 deletions(-) - -commit 159ddb872986f121818e816d2ea75d271075ba1f -Author: Ebrahim Byagowi -Date: Sun Jun 24 23:09:16 2018 +0430 - - Treat - just as /dev/stdin and remove one extra file reader (#1065) - - util/options.cc | 27 +++++++++------------------ - 1 file changed, 9 insertions(+), 18 deletions(-) - -commit b2a187918757a0faaf0f564ec2b0766c09fa364c -Author: Behdad Esfahbod -Date: Sat Jun 23 10:32:28 2018 -0400 - - In Coverage iterator, bail out if table smells - - In particular, if CoverageFormat2 has unsorted ranges, bail out. - Otherwise, 64k ranges of each 64k glyphs can DoS closure() method. - - We can do the same for CoverageFormat1, but that one does not expose - the quadratic behavior, so, fine. - - src/hb-ot-layout-common-private.hh | 17 +++++++++++++++-- - 1 file changed, 15 insertions(+), 2 deletions(-) - -commit 941f2b85489b344698bf036922c589483034a7f2 -Author: Ebrahim Byagowi -Date: Mon Jun 18 20:35:40 2018 +0430 - - Support pipe and friends on hb_blob_create_from_file (#1061) - - With this hb-view/hb-shape support pipes and possibly socket and named pipe - also, anything fails just on mmap. - - We can later do the same for Windows also. - - This however reveals two issues, the fact most of our bots don't have HAVE_MMAP and using - this instead the other fread/fopen reader can make failure on CI. I should look at them separately - this change however is very low risk I believe. - - src/hb-blob.cc | 44 +++++++++++++++++++++++++++++++++++++++++++- - 1 file changed, 43 insertions(+), 1 deletion(-) - -commit d0c2889dfc43da92c76d6eab5482b1298744dc9c -Author: Ebrahim Byagowi -Date: Mon Jun 18 19:59:33 2018 +0430 - - Revert file blob sanitization and index checking (#1062) - - As https://github.com/harfbuzz/harfbuzz/pull/1059#issuecomment-397912812 we - like to still work with blobs that harfbuzz itself can't handle directly that are failing sanitization - currently apparently. - - util/options.cc | 12 ++---------- - util/options.hh | 2 +- - 2 files changed, 3 insertions(+), 11 deletions(-) - -commit c53697d3f2a3fae8b68ec4c5146c7000a07e0963 -Author: Ebrahim Byagowi -Date: Sun Jun 17 17:04:55 2018 +0430 - - Verbose fail when something is wrong with hb-shape/hb-view input font file (#1059) - - This checks if the blob isn't empty and uses `hb_face_count` - to see if the font file passes the simple font file sanitization - so can detect if the input is actually a font and checks also - whether input font-index is out of range. - - util/options.cc | 11 +++++++++++ - 1 file changed, 11 insertions(+) - -commit aa0c5df4199ef4e96df2b856c8f629e49fdd5120 -Author: Ebrahim Byagowi -Date: Sun Jun 17 16:49:34 2018 +0430 - - Fix reading fonts from stdin (#1060) - - We were passing the font path directly to freetype so rendering - was broken when we are getting the font from stdin. - - This fixes it by using FT_New_Memory_Face instead. - - This fixes: - * build/util/hb-view /dev/stdin text < font.ttf - * build/util/hb-view - text < font.ttf - * cat font.ttf | build/util/hb-view - text - - but doesn't work on - * cat font.ttf | build/util/hb-view /dev/stdin text - - which I will try to fix separately. - - util/helper-cairo.cc | 14 ++++++++++---- - util/options.cc | 5 ++--- - util/options.hh | 4 +++- - 3 files changed, 15 insertions(+), 8 deletions(-) - -commit 3654d9be6b017e66307fe0ffe635266938b14702 -Author: Behdad Esfahbod -Date: Tue Jun 12 19:38:04 2018 -0400 - - 1.8.1 - - NEWS | 8 ++++++++ - configure.ac | 2 +- - src/hb-version.h | 4 ++-- - 3 files changed, 11 insertions(+), 3 deletions(-) - -commit f3e58ab8a957cdf36bddef793c473664744885a7 -Author: Behdad Esfahbod -Date: Tue Jun 12 19:32:04 2018 -0400 - - [docs] Enlist misc new symbols - - RELEASING.md | 3 ++- - docs/harfbuzz-sections.txt | 24 +++++++++++++++++++++++- - 2 files changed, 25 insertions(+), 2 deletions(-) - -commit f6893ef82c51a35dd075973b2041b1b19f81faff -Author: Behdad Esfahbod -Date: Tue Jun 12 19:20:20 2018 -0400 - - Move hb-version.h generation to Makefile - - Fixes https://github.com/harfbuzz/harfbuzz/issues/864 - - Unfortunately 1.7.7 and 1.8.0 went out with the wrong hb-version.h contents. - - configure.ac | 1 - - src/Makefile.am | 21 ++++++++++++++++----- - src/hb-version.h | 6 +++--- - 3 files changed, 19 insertions(+), 9 deletions(-) - -commit cc0b04f48f261c1deb8f4142e7ae0222fbec67fb -Author: Behdad Esfahbod -Date: Tue Jun 12 18:24:54 2018 -0400 - - [subset] Remove HB_SUBSET_BUILTIN - - Just include hb-static.cc in libharfbuzz-subset.so source list as - well. Those building it built-in will include hb-static.cc once - already. No need for any gymnastics. - - src/Makefile.sources | 1 + - src/hb-subset.cc | 5 ----- - 2 files changed, 1 insertion(+), 5 deletions(-) - -commit ba0ea56efab9caa942d59bf51c78e490969cab87 -Author: Behdad Esfahbod -Date: Mon Jun 11 23:24:41 2018 -0400 - - [substitute-closure] Rename function for clarity - - src/hb-ot-layout-gsub-table.hh | 4 ++-- - src/hb-ot-layout-gsubgpos-private.hh | 2 +- - 2 files changed, 3 insertions(+), 3 deletions(-) - -commit 7b5ce416383101cb9d72a775a32d0088984e6817 -Author: Behdad Esfahbod -Date: Mon Jun 11 23:23:40 2018 -0400 - - Whitespace - - src/hb-ot-layout-gsub-table.hh | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit c4d0d11c55f018026fc9c1db75fe7a4f8a38f81f -Author: Behdad Esfahbod -Date: Mon Jun 11 22:11:45 2018 -0400 - - [vector] Always 0-fill new items - - src/hb-private.hh | 3 +++ - 1 file changed, 3 insertions(+) - -commit a7e1b4a3b2d7b853ca244156571dd83321739bb1 -Author: Behdad Esfahbod -Date: Mon Jun 11 22:05:08 2018 -0400 - - Fix compiler warning re reordering of initializations - - src/hb-ot-layout-gsubgpos-private.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit f56cd9df10824fbbef52172470d07ff673d460cc -Author: Behdad Esfahbod -Date: Mon Jun 11 22:02:38 2018 -0400 - - Style - - src/hb-ot-layout.cc | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit a95cde15af4aa34e76c4394dfdf17e7d25164d5b -Author: Jonathan Kew -Date: Mon Jun 11 18:09:35 2018 -0700 - - [hb-set] Additional testcase for hb-set-intersect. - - test/api/test-set.c | 6 ++++++ - 1 file changed, 6 insertions(+) - -commit 82484b05ca7a51dec6f3f9e9b0d7967823d7657f -Author: Jonathan Kew -Date: Mon Jun 11 20:55:14 2018 -0700 - - [hb-set] Don't shrink vectors until after processing their contents. - - Fixes #1054. - - src/hb-set-private.hh | 10 +++++++--- - 1 file changed, 7 insertions(+), 3 deletions(-) - -commit eb585033cae33ca069bbcdaa21e4074678b6a6e9 -Author: Ebrahim Byagowi -Date: Mon Jun 11 03:47:43 2018 +0430 - - Fetch the updated dwrite_1.h header from a better place - - Following to https://ci.appveyor.com/project/harfbuzz/harfbuzz/build/1.0.1693/job/mfkjdhcdykjuqdfc - - appveyor.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit b8e406f0c7c381d46e2d2bbe35a6107d560f2122 -Author: Behdad Esfahbod -Date: Sun Jun 10 17:22:38 2018 -0400 - - More fixes for SunStudio 12.6 build - - Followup to https://github.com/harfbuzz/harfbuzz/pull/1053 - - src/hb-ft.cc | 8 ++++---- - src/hb-subset.cc | 2 +- - 2 files changed, 5 insertions(+), 5 deletions(-) - -commit 498e4373dc2eb98fa9b18a0824c7912ed84a4c80 -Author: prrace -Date: Sat Jun 9 16:04:28 2018 -0700 - - Fix SunStudio 12.6 build (#1053) - - src/hb-face.cc | 2 +- - src/hb-private.hh | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit 46f7e7760f4c9b1b2886a27eff3c0fabdab45dbe -Author: Garret Rieger -Date: Thu Jun 7 15:55:45 2018 -0700 - - [subset] Use REPLACEME instead of version. - - src/hb-subset-input.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit fc246ec985890f8256f6e03cdf74c86b9b51ff2a -Author: Garret Rieger -Date: Thu Jun 7 15:54:19 2018 -0700 - - [subset] Move variable declaration out of loop. - - test/api/test-subset-glyf.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 197cb18b22ce11f32f5f2c68c13f7068fb5cc338 -Author: Garret Rieger -Date: Thu Jun 7 15:32:52 2018 -0700 - - [subset] Add test cases for gsub closure in subsetting. - - test/api/fonts/Roboto-Regular.gsub.fi.ttf | Bin 0 -> 2652 bytes - test/api/fonts/Roboto-Regular.gsub.fil.ttf | Bin 0 -> 3228 bytes - test/api/fonts/Roboto-Regular.nogsub.fi.ttf | Bin 0 -> 1856 bytes - test/api/test-subset-glyf.c | 52 ++++++++++++++++++++++++++++ - 4 files changed, 52 insertions(+) - -commit 37eab27be3b88079614f66e484c700bb2d40af10 -Author: Garret Rieger -Date: Thu Jun 7 14:39:03 2018 -0700 - - [subset] Add fuzzing of gsub closure to hb-subset-fuzzer. - - test/fuzzing/hb-subset-fuzzer.cc | 27 ++++++++++++++++++++------- - 1 file changed, 20 insertions(+), 7 deletions(-) - -commit feb23892a36a7c855306db6d21521d5e8362bdf7 -Author: Garret Rieger -Date: Thu Jun 7 14:32:34 2018 -0700 - - [subset] Use gsub closure if ot layout is not being dropped. - - src/hb-ot-layout.cc | 10 ++++++++-- - src/hb-subset-plan.cc | 20 ++++++++++++++++++-- - 2 files changed, 26 insertions(+), 4 deletions(-) - -commit a5673da9be70f2ba0ff79aab4bd9a4480cb0223e -Author: Garret Rieger -Date: Thu Jun 7 14:23:03 2018 -0700 - - [subset] Add drop_ot_layout setting to subset input. - - src/hb-subset-input.cc | 17 +++++++++++++++++ - src/hb-subset-plan.cc | 1 + - src/hb-subset-plan.hh | 1 + - src/hb-subset-private.hh | 1 + - src/hb-subset.cc | 3 ++- - src/hb-subset.h | 3 +++ - 6 files changed, 25 insertions(+), 1 deletion(-) - -commit 57badadb769d0bcdbee00afce3af4972bc5c6bf1 -Author: Garret Rieger -Date: Wed Jun 6 16:02:51 2018 -0700 - - [subset] add a new closure call to hb-ot-layout that can compute the closure over multiple lookups. - - src/hb-ot-layout.cc | 26 ++++++++++++++++++++++++++ - src/hb-ot-layout.h | 6 ++++++ - src/hb-ot-shape.cc | 10 +--------- - 3 files changed, 33 insertions(+), 9 deletions(-) - -commit 11f1f4131b722f0e0338bee222a78110806f5a3d -Author: Behdad Esfahbod -Date: Wed Jun 6 16:46:50 2018 -0700 - - [set] Add is_subset - - New API: - +hb_set_is_subset() - - src/hb-set-private.hh | 13 +++++++++++++ - src/hb-set.cc | 22 ++++++++++++++++++++-- - src/hb-set.h | 4 ++++ - test/api/test-set.c | 4 ++++ - test/api/test-subset-glyf.c | 11 +++++------ - 5 files changed, 46 insertions(+), 8 deletions(-) - -commit 45186b9b8cbffa7b5c8509624fb431a0f79f5130 -Author: Garret Rieger -Date: Tue Jun 5 17:14:42 2018 -0700 - - [subset] Add memoization of GSUB lookup closures. - - src/hb-ot-layout-gsub-table.hh | 15 +++++++++++++-- - src/hb-ot-layout-gsubgpos-private.hh | 20 ++++++++++++++++++++ - src/hb-ot-layout.cc | 6 ++++-- - 3 files changed, 37 insertions(+), 4 deletions(-) - -commit 78d92e0f27e8b688efac014526ef5c4f1f53a58f -Author: Behdad Esfahbod -Date: Wed Jun 6 15:24:43 2018 -0700 - - Minorish - - src/hb-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 676b19f0d1d21629b654e69f220bf53965735940 -Author: Behdad Esfahbod -Date: Wed Jun 6 15:23:35 2018 -0700 - - Compiler gymnastics - - Part of https://github.com/harfbuzz/harfbuzz/issues/630 - - src/hb-private.hh | 3 +++ - 1 file changed, 3 insertions(+) - -commit 0a5952e8ddb3ec955496d582ef5a559a27684a0c -Author: Behdad Esfahbod -Date: Wed Jun 6 14:55:30 2018 -0700 - - Move prime_for back into map - - This was causing problem on systems without visibility when map was used - from both libharfbuzz and libharfbuzz-subset. Sigh. - - https://ci.appveyor.com/project/harfbuzz/harfbuzz/build/1.0.1669/job/dey47nmff0770vp3 - - src/hb-map-private.hh | 53 ++++++++++++++++++++++++++++++++++++++++++++++++++- - src/hb-private.hh | 3 --- - src/hb-static.cc | 51 ------------------------------------------------- - 3 files changed, 52 insertions(+), 55 deletions(-) - -commit a2a1484ef93d5b5c3748b15219eca669d866b0a9 -Author: David Corbett -Date: Wed Jun 6 12:57:28 2018 -0400 - - Convert Consonant_Initial_Postfixed to CONS_FINAL - - Consonant_Initial_Postfixed was split off of Consonant_Succeeding_Repha, - so it should correspond to the same USE class, CONS_FINAL. - - src/gen-use-table.py | 5 +++-- - src/hb-ot-shape-complex-use-table.cc | 2 +- - 2 files changed, 4 insertions(+), 3 deletions(-) - -commit 37986aa9b7ac44b1c4c50ebba9902d06cc8a45e0 -Author: Behdad Esfahbod -Date: Tue Jun 5 18:04:40 2018 -0700 - - 1.8.0 - - NEWS | 5 +++++ - configure.ac | 2 +- - 2 files changed, 6 insertions(+), 1 deletion(-) - -commit 9d3cd13c30d8df41a2f7ff6c4208a1b2d75ddd64 -Author: Behdad Esfahbod -Date: Tue Jun 5 17:59:31 2018 -0700 - - [ucdn] Update to Unicode 11 - - https://github.com/grigorig/ucdn/issues/19 - - src/hb-ucdn.cc | 7 + - src/hb-ucdn/ucdn_db.h | 2754 ++++++++++++++++++++++++++----------------------- - 2 files changed, 1479 insertions(+), 1282 deletions(-) - -commit 060e6b4a13a4224de885214d374b079610224123 -Author: Behdad Esfahbod -Date: Tue Jun 5 17:31:46 2018 -0700 - - Update to Unicode 11.0.0 - - UCDN is not updated yet. - - src/gen-use-table.py | 13 +++-- - src/hb-common.cc | 5 ++ - src/hb-common.h | 11 ++++ - src/hb-ot-shape-complex-arabic-table.hh | 43 ++++++++++++--- - src/hb-ot-shape-complex-indic-table.cc | 77 ++++++++++++++------------- - src/hb-ot-shape-complex-private.hh | 9 ++++ - src/hb-ot-shape-complex-use-machine.rl | 2 +- - src/hb-ot-shape-complex-use-table.cc | 94 +++++++++++++++++++++------------ - 8 files changed, 170 insertions(+), 84 deletions(-) - -commit 105a3b5e2d2ff228cdc1fbe8618f6c8fdfdabe9e -Author: Behdad Esfahbod -Date: Tue Jun 5 15:31:04 2018 -0700 - - Minor - - src/Makefile.am | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - -commit 60c516789bab499c5a423f80071638955b7b13fd -Author: Behdad Esfahbod -Date: Tue Jun 5 15:20:23 2018 -0700 - - [RELEASING] Update - - RELEASING.md | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -commit df01f3e560d21900e234c4a6616bcf9c98f5f567 -Author: Behdad Esfahbod -Date: Tue Jun 5 15:17:39 2018 -0700 - - 1.7.7 - - NEWS | 37 +++++++++++++++++++++++++++++++++++++ - RELEASING.md | 5 +++-- - configure.ac | 2 +- - src/hb-blob.cc | 2 +- - src/hb-face.cc | 2 +- - src/hb-map.cc | 28 ++++++++++++++-------------- - src/hb-map.h | 2 +- - 7 files changed, 58 insertions(+), 20 deletions(-) - -commit ba3b6d6c6512b58a3d0e5277fbbe4e69b085467d -Author: Behdad Esfahbod -Date: Mon Jun 4 16:47:45 2018 -0700 - - [khmer] Fix Coeng vs Halant confusion - - Test suite results are unchanged (34). - - src/hb-ot-shape-complex-khmer.cc | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 8220ef8a54bcc94f122d50804c0a5e829de81be1 -Author: Ebrahim Byagowi -Date: Tue Jun 5 22:50:53 2018 +0430 - - Fix hb_face_count build issue - - I should've rebased #1002 before the merge, my bad - - src/hb-face.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 32da0c6bc4770568346f6c05fd6b374be2bbd2b2 -Author: Ebrahim Byagowi -Date: Tue Jun 5 18:56:26 2018 +0430 - - Add hb_face_count, a new API (#1002) - - Simply, it returns the number of faces on a font blob. - - To be used on hb-sanitizer tool but other clients also - can benefit from it. - - TODO | 2 - - docs/harfbuzz-sections.txt | 1 + - src/hb-face.cc | 95 ++++++++++++++++++++++++++++------------------ - src/hb-face.h | 4 ++ - 4 files changed, 64 insertions(+), 38 deletions(-) - -commit 4a115fe7fe71e381decb7c894208540663419f75 -Author: Behdad Esfahbod -Date: Mon Jun 4 15:40:43 2018 -0700 - - [sinhala] Move reph to after post-consonants - - Apparently this changed between Win 7 and Win 10. - - Fixes https://github.com/harfbuzz/harfbuzz/issues/967 - - To be continued in https://github.com/harfbuzz/harfbuzz/issues/1044 - - src/hb-ot-shape-complex-indic.cc | 2 +- - test/shaping/data/in-house/Makefile.sources | 1 + - .../fonts/5af5361ed4d1e8305780b100e1730cb09132f8d1.ttf | Bin 0 -> 3152 bytes - test/shaping/data/in-house/tests/sinhala.tests | 1 + - 4 files changed, 3 insertions(+), 1 deletion(-) - -commit 3e494caae3dc096339a46d5a3fdeb5a718de6911 -Author: Behdad Esfahbod -Date: Mon Jun 4 15:38:05 2018 -0700 - - [test] Fix record-test to use gids not glyph-names - - as those might not match what FontTools think of the glyphs if font - does NOT have glyph names. - - test/shaping/record-test.sh | 11 +++++++++-- - 1 file changed, 9 insertions(+), 2 deletions(-) - -commit 58400a2ad8b18aeb1da40d6c327135cd62312316 -Author: Behdad Esfahbod -Date: Sat Jun 2 20:30:09 2018 -0700 - - Remove DISALLOW_* from vector, set, and map - - Some of the build bots, still fail on this. I suppose mine pass because - I enable C++11... - - Anyway, remove these again. - - src/hb-map-private.hh | 3 --- - src/hb-private.hh | 6 ------ - src/hb-set-private.hh | 3 --- - src/hb-subset-plan.hh | 3 ++- - 4 files changed, 2 insertions(+), 13 deletions(-) - -commit f9abbf83b6404bc9eb0c0983f562c9dbba1ef57c -Author: Behdad Esfahbod -Date: Sat Jun 2 15:30:59 2018 -0700 - - Fix fallout from 975bdd5ef562e37655067b703b2b9ca7481f4985 - - Ouch! - - src/hb-ot-map-private.hh | 40 ++++++++++++++++++++++------------------ - src/hb-ot-map.cc | 11 +++++++++++ - src/hb-ot-post-table.hh | 3 ++- - src/hb-ot-shape-private.hh | 10 ++++++++-- - src/hb-ot-shape.cc | 2 ++ - src/hb-subset.cc | 2 ++ - 6 files changed, 47 insertions(+), 21 deletions(-) - -commit f7515769fd024faca888a47c58f87fb868b0e760 -Author: Behdad Esfahbod -Date: Fri Jun 1 17:48:37 2018 -0700 - - [vector] Use Crap pool in push() as well - - src/hb-coretext.cc | 20 +++----------------- - src/hb-ot-cmap-table.hh | 3 ++- - src/hb-ot-layout.cc | 3 +-- - src/hb-ot-map.cc | 17 ++++------------- - src/hb-ot-post-table.hh | 6 +----- - src/hb-private.hh | 11 ++++------- - src/hb-subset-plan.cc | 2 -- - src/hb-subset.cc | 2 -- - src/hb-uniscribe.cc | 28 ++++++++-------------------- - 9 files changed, 23 insertions(+), 69 deletions(-) - -commit 975bdd5ef562e37655067b703b2b9ca7481f4985 -Author: Behdad Esfahbod -Date: Fri Jun 1 17:37:13 2018 -0700 - - [vector] Keep success status - - src/hb-private.hh | 10 +++++++++- - 1 file changed, 9 insertions(+), 1 deletion(-) - -commit 1ab3c3ed1bbc404086aefffaef4b8261bb77caa7 -Author: Behdad Esfahbod -Date: Fri Jun 1 17:34:24 2018 -0700 - - [vector] Whitespace - - src/hb-private.hh | 10 ++++++---- - 1 file changed, 6 insertions(+), 4 deletions(-) - -commit fb07d1a3ce896f8ebf8b5d5fef51dee91b6ead11 -Author: Behdad Esfahbod -Date: Fri Jun 1 17:32:07 2018 -0700 - - Another attempt at making every compiler happy... - - Sigh. - - src/hb-private.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 4f76f956bb3a95b307322cdad4f8d3b97851678e -Author: Behdad Esfahbod -Date: Fri Jun 1 17:28:47 2018 -0700 - - [map] Move prime_for to hb-static - - src/hb-map-private.hh | 53 +-------------------------------------------------- - src/hb-private.hh | 2 ++ - src/hb-static.cc | 51 +++++++++++++++++++++++++++++++++++++++++++++++++ - 3 files changed, 54 insertions(+), 52 deletions(-) - -commit 33d6f46bbbb4fdee110f1cb024a37ed2e46e5e22 -Author: Behdad Esfahbod -Date: Fri Jun 1 17:25:35 2018 -0700 - - [set] Shrink page-map size again - - src/hb-set-private.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 4ca211bce192b01644c82f721251604df935b603 -Author: Behdad Esfahbod -Date: Fri Jun 1 17:18:57 2018 -0700 - - Fix hb_vector_size_t - - src/hb-private.hh | 4 ++-- - src/hb-set-private.hh | 3 ++- - 2 files changed, 4 insertions(+), 3 deletions(-) - -commit a070dfd333f411bf720120eb332f7da93077054f -Author: Garret Rieger -Date: Thu May 31 16:47:39 2018 -0700 - - [subset] Have the subset fuzzer pull the text string to subset to from the end of the fuzzer provided data. - - test/fuzzing/hb-subset-fuzzer.cc | 54 +++++++++++++++++++++++++--------------- - 1 file changed, 34 insertions(+), 20 deletions(-) - -commit bb6f4adac70a161505953414aa85ba78cd993c65 -Author: Behdad Esfahbod -Date: Fri Jun 1 16:30:38 2018 -0700 - - Add Codacy badge - - README | 1 + - 1 file changed, 1 insertion(+) - -commit a7dd90f519fb7ab046e92ea3b7101c21d5040bbc -Author: Behdad Esfahbod -Date: Fri Jun 1 16:07:55 2018 -0700 - - Revert "Remove HB_DISALLOW_COPY_AND_ASSIGN" - - This reverts commit ff92de766bf775bfdd3a01bda94de699180ff86a. - - Revert that and remove ASSERT_POD. Let's see which bots are - unhappy with this configuration... - - src/hb-map-private.hh | 3 +-- - src/hb-ot-shape-private.hh | 2 +- - src/hb-private.hh | 6 +++++- - src/hb-set-private.hh | 3 +-- - 4 files changed, 8 insertions(+), 6 deletions(-) - -commit 7b50bf52f274f75f0b41008e0eab150124ae928a -Author: Behdad Esfahbod -Date: Thu May 31 20:20:17 2018 -0700 - - Use NullPool for _hb_set_nil and _hb_map_nil - - src/hb-map.cc | 12 +----------- - src/hb-private.hh | 2 +- - src/hb-set.cc | 8 +------- - 3 files changed, 3 insertions(+), 19 deletions(-) - -commit f040ca40ab3ebd4fdb85747477e0e656ab8b073e -Author: Behdad Esfahbod -Date: Thu May 31 20:15:21 2018 -0700 - - [set] Minor - - src/hb-set.cc | 2 -- - 1 file changed, 2 deletions(-) - -commit 7185b273b3d92ee0ba0a589eb94387f25ea40b82 -Author: Behdad Esfahbod -Date: Thu May 31 20:03:00 2018 -0700 - - Rename in_error to !successful - - Towards possibly using Null pool for some nil objects. - - src/hb-buffer-deserialize-json.hh | 758 +++++++++++++++++------------------ - src/hb-buffer-deserialize-json.rl | 2 +- - src/hb-buffer-deserialize-text.hh | 510 +++++++++++------------ - src/hb-buffer-deserialize-text.rl | 2 +- - src/hb-buffer-private.hh | 2 +- - src/hb-buffer.cc | 24 +- - src/hb-map-private.hh | 10 +- - src/hb-map.cc | 4 +- - src/hb-ot-layout-gsubgpos-private.hh | 4 +- - src/hb-ot-layout.cc | 2 +- - src/hb-ot-shape-complex-hangul.cc | 8 +- - src/hb-ot-shape-complex-indic.cc | 4 +- - src/hb-ot-shape-complex-khmer.cc | 4 +- - src/hb-ot-shape-complex-myanmar.cc | 2 +- - src/hb-ot-shape-complex-thai.cc | 4 +- - src/hb-ot-shape-complex-use.cc | 4 +- - src/hb-ot-shape-normalize.cc | 12 +- - src/hb-ot-shape.cc | 2 +- - src/hb-set-private.hh | 28 +- - src/hb-set.cc | 4 +- - 20 files changed, 696 insertions(+), 694 deletions(-) - -commit 353f4d2efc6c0ce32f5bee08bbdf5a268d720a6a -Author: Behdad Esfahbod -Date: Thu May 31 19:52:16 2018 -0700 - - Fix a whitespace inconsistency - - Null() and Crap() are only places that there's no space before '('... - - src/dump-fon.cc | 12 ++++++------ - src/hb-private.hh | 2 +- - src/main.cc | 2 +- - 3 files changed, 8 insertions(+), 8 deletions(-) - -commit e36cd1dfd36ed336f63883098dc870c56a5fc10d -Author: Behdad Esfahbod -Date: Thu May 31 19:31:39 2018 -0700 - - Remove trivial HB_ATOMIC_INT_INIT() - - src/hb-atomic-private.hh | 9 +-------- - src/hb-object-private.hh | 2 +- - 2 files changed, 2 insertions(+), 9 deletions(-) - -commit 550a70f8011c4c1cfd27d739469e79cb98bcdd6e -Author: Behdad Esfahbod -Date: Thu May 31 19:28:04 2018 -0700 - - Use 0 as inert object reference value instead of -1 - - Towards using Null object for nil objects. - - src/hb-object-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit dcd1b07eeaf2c28f0d20b9812749810d069041e3 -Author: Behdad Esfahbod -Date: Thu May 31 17:58:40 2018 -0700 - - Add const OffsetTo<> dereference - - Unused, but now that we have CrapPool, implement it. - - src/hb-open-type-private.hh | 6 ++++++ - 1 file changed, 6 insertions(+) - -commit 2baa357ac7fe2ae91029dff26a01b8ba1cc0b365 -Author: Ebrahim Byagowi -Date: Thu May 31 12:27:31 2018 +0430 - - Fix symbol export issue of prime_mod on Alpine bot - - Apparently our gcc-6.4.0 on Alpine Linux distribution doesn't like defining static const - inside a method, lets put that on outside the classes. - - src/hb-map-private.hh | 89 ++++++++++++++++++++++++++------------------------- - 1 file changed, 45 insertions(+), 44 deletions(-) - -commit 54800f8322e8ab106d801fc332b7e813c58138ac -Author: Behdad Esfahbod -Date: Wed May 30 16:26:50 2018 -0700 - - [map] Mark prime_for HB_INTERNAL - - Trying to see if it fixes gcc-4.2 bots. - - src/hb-map-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit d600e844aa4736b52fe71c1b2a9fa785be5cfecc -Author: Behdad Esfahbod -Date: Wed May 30 16:25:46 2018 -0700 - - Add CrapOrNull - - src/hb-private.hh | 11 +++++++++++ - 1 file changed, 11 insertions(+) - -commit 251cc977e93a75cfdc34671760ef4241daebf60f -Author: Garret Rieger -Date: Wed May 30 12:23:51 2018 -0700 - - [subset] Switch to using hb_map_t inside of hb_subset_plan_t. - - src/hb-ot-cmap-table.hh | 20 +++--- - src/hb-ot-glyf-table.hh | 12 ++-- - src/hb-ot-hdmx-table.hh | 10 +-- - src/hb-ot-hmtx-table.hh | 6 +- - src/hb-ot-maxp-table.hh | 4 +- - src/hb-ot-os2-table.hh | 35 +++-------- - src/hb-ot-post-table.hh | 2 +- - src/hb-subset-glyf.cc | 9 ++- - src/hb-subset-plan.cc | 159 ++++++++++++++++-------------------------------- - src/hb-subset-plan.hh | 68 +++++++++++++-------- - src/hb-subset.cc | 2 +- - 11 files changed, 139 insertions(+), 188 deletions(-) - -commit b3d45de6cff4501e6171ec9d9069af7de29584d4 -Author: Behdad Esfahbod -Date: Wed May 30 14:02:49 2018 -0700 - - [map] Fix size calculation - - Don't know why I thought I should subtract one there... - - src/hb-map-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit ff92de766bf775bfdd3a01bda94de699180ff86a -Author: Behdad Esfahbod -Date: Tue May 29 18:48:45 2018 -0700 - - Remove HB_DISALLOW_COPY_AND_ASSIGN - - llvm-gcc-4.2 bot had this problem: - hb-private.hh:812: error: initializer specified for non-virtual method 'void hb_vector_t::operator=(const hb_vector_t&) [with Type = hb_user_data_array_t::hb_user_data_item_t, unsigned int StaticSize = 1u]' - - Removing the delete didn't work with a constructor. So, remove constructor. - Just disallow assignment. Still better than nothing. - - src/hb-map-private.hh | 2 +- - src/hb-ot-shape-private.hh | 2 +- - src/hb-private.hh | 6 +----- - src/hb-set-private.hh | 2 +- - 4 files changed, 4 insertions(+), 8 deletions(-) - -commit a2444346220757e7743c972cbd24f925e72b419d -Author: Behdad Esfahbod -Date: Tue May 29 18:32:57 2018 -0700 - - [map] Fix resize - - src/hb-map-private.hh | 7 ++++--- - 1 file changed, 4 insertions(+), 3 deletions(-) - -commit efbab6ba3f7434fca41be1b38e4a5281695f231c -Author: Behdad Esfahbod -Date: Tue May 29 18:21:55 2018 -0700 - - Disable use of thread_local - - Clang build was failing with: - - /usr/bin/ld: .libs/libharfbuzz_la-hb-blob.o: relocation R_X86_64_PC32 against undefined hidden symbol `_ZTH12_hb_CrapPool' can not be used when making a shared object - - Instead of fighting it, just disable use of it. - - src/hb-private.hh | 4 ++-- - src/hb-static.cc | 2 +- - 2 files changed, 3 insertions(+), 3 deletions(-) - -commit 8c2c5d450817d4cb6f782d286da6ac6d9e5a5e95 -Author: Behdad Esfahbod -Date: Tue May 29 18:15:52 2018 -0700 - - [map] Not going to implement is_equal which is complicated - - src/hb-map.h | 7 ------- - 1 file changed, 7 deletions(-) - -commit ccd01c65559122499b38a44e4449cd5a828d0b05 -Author: Behdad Esfahbod -Date: Tue May 29 18:13:13 2018 -0700 - - [map] Move prime_mod to header to avoid linkage issues in subset.so - - src/hb-map-private.hh | 53 +++++++++++++++++++++++++++++++++++++++++++++++++-- - src/hb-map.cc | 52 -------------------------------------------------- - 2 files changed, 51 insertions(+), 54 deletions(-) - -commit 6baebc5d559e15c7903a81f21be08b45537e7903 -Author: Behdad Esfahbod -Date: Tue May 29 17:58:46 2018 -0700 - - [map] Fix copyright year - - src/hb-map-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit b0158129d2b161665f8872deeb540ac73349c2de -Author: Behdad Esfahbod -Date: Tue May 29 17:52:37 2018 -0700 - - [map] Minor - - src/hb-map-private.hh | 1 - - 1 file changed, 1 deletion(-) - -commit 4099c66f70e1acf89013215ab3add42b11e31fea -Author: Behdad Esfahbod -Date: Tue May 29 17:52:07 2018 -0700 - - [map] Don't return INVALID from get() just because in_error - - src/hb-map-private.hh | 1 - - 1 file changed, 1 deletion(-) - -commit 25783907737b561f7b8648b8e92dba601a439828 -Author: Behdad Esfahbod -Date: Tue May 29 17:34:35 2018 -0700 - - [map] Fix bool use in C API - - src/hb-map.cc | 2 +- - src/hb-map.h | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit a9fa39dca56d3a96dddcdbeb1c55a3d55a6537da -Author: Behdad Esfahbod -Date: Tue May 29 17:31:01 2018 -0700 - - [map] More minor - - src/hb-map-private.hh | 10 ++++++---- - 1 file changed, 6 insertions(+), 4 deletions(-) - -commit f76c4a7708773eca7a2b8c7ff47f8b5ade5ca0d9 -Author: Behdad Esfahbod -Date: Tue May 29 17:27:25 2018 -0700 - - [map] Make initial resize actually work - - src/hb-map-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 661e9ae4a55c198eb9fdb2c104979dd55a0fa1f1 -Author: Behdad Esfahbod -Date: Tue May 29 17:09:17 2018 -0700 - - [map] Add clear(), is_empty(), and get_population() - - src/hb-map-private.hh | 22 ++++++++++++++++++---- - src/hb-map.cc | 43 +++++++++++++++++++++++++++++++++++++++++++ - src/hb-map.h | 17 +++++++++-------- - 3 files changed, 70 insertions(+), 12 deletions(-) - -commit b6959c33e23b464ddbe5fe98fafc80bbb669189c -Author: Behdad Esfahbod -Date: Tue May 29 17:02:22 2018 -0700 - - [map] Minor - - src/hb-map-private.hh | 7 +++---- - 1 file changed, 3 insertions(+), 4 deletions(-) - -commit 686476a8ae0039f277eb55ab7bd69386d43a8dc7 -Author: Behdad Esfahbod -Date: Tue May 29 17:00:02 2018 -0700 - - [map] Track population and occupancy separately - - src/hb-map-private.hh | 30 +++++++++++++++++++++--------- - src/hb-map.cc | 1 + - 2 files changed, 22 insertions(+), 9 deletions(-) - -commit 8a978790cb4dc66816c2cd7b617829f3e9d6e88e -Author: Behdad Esfahbod -Date: Tue May 29 16:45:20 2018 -0700 - - [map] Minor - - src/hb-map.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 6f12ce47c0ed8c2c4bb251cd6e685459af104db8 -Author: Behdad Esfahbod -Date: Tue May 29 16:45:06 2018 -0700 - - Revert "[map] Return bool from set()" - - This reverts commit face7cf55d4895ffca314c8448c0a749a26cc182. - - src/hb-map-private.hh | 7 +++---- - 1 file changed, 3 insertions(+), 4 deletions(-) - -commit fc51c45079feb7d77d25204c4c17a0733f1eca56 -Author: Behdad Esfahbod -Date: Tue May 29 16:44:55 2018 -0700 - - Revert "[map] Make hb_map_set() return bool" - - This reverts commit 7bf1980146cfc081b06264ac367b23ae9397adf1. - - src/hb-map.cc | 4 ++-- - src/hb-map.h | 4 ++-- - 2 files changed, 4 insertions(+), 4 deletions(-) - -commit 7bf1980146cfc081b06264ac367b23ae9397adf1 -Author: Behdad Esfahbod -Date: Tue May 29 16:42:44 2018 -0700 - - [map] Make hb_map_set() return bool - - src/hb-map.cc | 4 ++-- - src/hb-map.h | 4 ++-- - 2 files changed, 4 insertions(+), 4 deletions(-) - -commit face7cf55d4895ffca314c8448c0a749a26cc182 -Author: Behdad Esfahbod -Date: Tue May 29 16:39:03 2018 -0700 - - [map] Return bool from set() - - src/hb-map-private.hh | 7 ++++--- - 1 file changed, 4 insertions(+), 3 deletions(-) - -commit e94be200bd7976a26ea2d6df5050d9dab4de0f08 -Author: Behdad Esfahbod -Date: Tue May 29 16:37:44 2018 -0700 - - [map] Implement operator[] for get()ting - - src/hb-map-private.hh | 3 +++ - 1 file changed, 3 insertions(+) - -commit 743fdd9c618c949d7f45324386bd0bb37435db46 -Author: Behdad Esfahbod -Date: Tue May 29 16:28:48 2018 -0700 - - [map] First try at implementing an integer-to-integer hashmap - - Fully untested. - - src/Makefile.sources | 3 + - src/hb-map-private.hh | 180 ++++++++++++++++++++++++++++++++ - src/hb-map.cc | 279 ++++++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-map.h | 110 ++++++++++++++++++++ - src/hb.h | 1 + - 5 files changed, 573 insertions(+) - -commit 65c82179c9b3aafd90987485a49c09dbbb473c90 -Author: Ebrahim Byagowi -Date: Sat May 26 23:50:10 2018 +0430 - - [blob] Use MAP_NORESERVE if available (#1039) - - MAP_NORESERVE is not available on macOS for example so set the flag - to zero if not defined on the headers. - - src/hb-blob.cc | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -commit 1ce40d900a9c451d8d5814a9b30759d1e66f99c8 -Author: Behdad Esfahbod -Date: Fri May 25 16:34:08 2018 -0700 - - [set] Remove stale comment - - src/hb-set.h | 2 -- - 1 file changed, 2 deletions(-) - -commit 6c2227640bc14754c9472fead5cd04ff25f91b52 -Author: Behdad Esfahbod -Date: Fri May 25 16:21:27 2018 -0700 - - Add HB_DISALLOW_COPY_AND_ASSIGN - - src/hb-ot-map-private.hh | 1 - - src/hb-ot-shape-private.hh | 4 +--- - src/hb-ot-shape.cc | 2 -- - src/hb-private.hh | 10 ++++++++++ - src/hb-set-private.hh | 3 +++ - 5 files changed, 14 insertions(+), 6 deletions(-) - -commit fd3d0042319c33c923a60d435779bf7ed5a9a6f5 -Author: Behdad Esfahbod -Date: Thu May 24 15:58:26 2018 -0700 - - Move pool definitions to hb-static.cc - - src/Makefile.sources | 1 + - src/dump-emoji.cc | 8 +------- - src/dump-fon.cc | 6 +----- - src/hb-ot-layout.cc | 6 ------ - src/hb-static.cc | 32 ++++++++++++++++++++++++++++++++ - src/hb-subset.cc | 5 ++--- - src/main.cc | 6 +----- - 7 files changed, 38 insertions(+), 26 deletions(-) - -commit 7f7b1370d37b9187f688dea5e6fee5ea7c2b7290 -Author: Behdad Esfahbod -Date: Thu May 24 14:09:04 2018 -0700 - - Fix Uniscribe build - - If a pointer type was passed to Null(), reinterpret_cast<> was - complaining about qualifiers being removed. Turns out I need the const on - the other side of "Type" to fix that. Also remove unused const from - NullPool type. - - src/dump-emoji.cc | 2 +- - src/dump-fon.cc | 2 +- - src/hb-ot-layout.cc | 2 +- - src/hb-private.hh | 6 +++--- - src/hb-subset.cc | 2 +- - src/main.cc | 2 +- - 6 files changed, 8 insertions(+), 8 deletions(-) - -commit 31c4236d9643063e518289b28c3e17cedd8401e0 -Author: Behdad Esfahbod -Date: Thu May 24 13:38:46 2018 -0700 - - Underflow protection in hb_vector_t - - src/hb-private.hh | 11 +++++++---- - 1 file changed, 7 insertions(+), 4 deletions(-) - -commit f83e992c8b27111ab802fd7e5678592a0c717518 -Author: Behdad Esfahbod -Date: Thu May 24 11:46:57 2018 -0700 - - Mark CrapPool thread_local - - Not sure if I like to keep it. For now, aim for correctness. - - src/dump-emoji.cc | 2 +- - src/dump-fon.cc | 2 +- - src/hb-ot-layout.cc | 2 +- - src/hb-private.hh | 14 +++++++++++++- - src/hb-subset.cc | 2 +- - src/main.cc | 2 +- - 6 files changed, 18 insertions(+), 6 deletions(-) - -commit 5d80129891107c7f629c6950b5d257f2a867eee0 -Author: Behdad Esfahbod -Date: Thu May 24 11:33:15 2018 -0700 - - Add CrapPool - - Common Regoin for Access Protection. Like the NullPool, but writable. - - src/dump-emoji.cc | 1 + - src/dump-fon.cc | 1 + - src/hb-open-type-private.hh | 11 +++++++++++ - src/hb-ot-layout.cc | 1 + - src/hb-private.hh | 39 +++++++++++++++++++++++++++++++++++---- - src/hb-subset.cc | 1 + - src/main.cc | 1 + - 7 files changed, 51 insertions(+), 4 deletions(-) - -commit 673b764de050957b2d3b9972d9e55b3a2e5615f4 -Author: Behdad Esfahbod -Date: Wed May 23 20:12:23 2018 -0700 - - Move code around - - src/hb-private.hh | 91 ++++++++++++++++++++++++++++++------------------------- - 1 file changed, 49 insertions(+), 42 deletions(-) - -commit 65aeabd62275b37c6bb6715f3341e45625f4ba6e -Author: Behdad Esfahbod -Date: Wed May 23 16:15:28 2018 -0700 - - Add hb_vector_t::push(const Type &v) - - Makes for cleaner code. - - src/hb-coretext.cc | 3 +-- - src/hb-ot-post-table.hh | 3 +-- - src/hb-private.hh | 18 +++++++++++------- - src/hb-subset-plan.cc | 12 +++++------- - src/hb-uniscribe.cc | 8 ++------ - 5 files changed, 20 insertions(+), 24 deletions(-) - -commit 38ae0add7001c4db506d3a2c18b9960a2cae7b5d -Author: Ebrahim Byagowi -Date: Wed May 23 13:37:57 2018 +0430 - - [ci] Revive the SunCC bot - - * Adds libnsl to the bot as it is now needed apparently - * Disables hb-icu, apparently the newer ICU itself is not compatible with SunCC - - .circleci/config.yml | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 6c818c5516913f2c8192d58bd2724b1d3bb60d24 -Author: Behdad Esfahbod -Date: Tue May 22 22:00:05 2018 -0700 - - Actually enable vectorized operations - - Fixup for previous commit. Was accidentally turned off. - - src/hb-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit f56a250b04f50f12c78d81d1a068187be3d95a8c -Author: Behdad Esfahbod -Date: Tue May 22 21:36:07 2018 -0700 - - Another try at smart vectorization - - Make clang happy. Also, don't use anonymous union. - - src/hb-private.hh | 36 +++++++++++++++++++++++++----------- - 1 file changed, 25 insertions(+), 11 deletions(-) - -commit b995b501ef5cf113534c5aead6c85baea6cc423c -Author: Behdad Esfahbod -Date: Tue May 22 21:06:22 2018 -0700 - - Try enabling vectorization smartly - - We'll see if this sticks to the bots. - - src/hb-private.hh | 25 +++++++++++++++++-------- - src/hb-set-private.hh | 7 ------- - 2 files changed, 17 insertions(+), 15 deletions(-) - -commit dd22c29f951ceec98516d7cb378bf2aa7e21d89a -Author: Behdad Esfahbod -Date: Tue May 22 20:57:19 2018 -0700 - - [set] Always check population before checking for equality - - src/hb-set-private.hh | 4 +--- - 1 file changed, 1 insertion(+), 3 deletions(-) - -commit 2eb9bbd986f6930f1b2594b8971ac677e9647c93 -Author: Behdad Esfahbod -Date: Tue May 22 18:28:13 2018 -0700 - - [test/text-rendering-tests] Update from upstream - - test/shaping/data/text-rendering-tests/DISABLED | 2 ++ - test/shaping/data/text-rendering-tests/Makefile.sources | 2 ++ - .../text-rendering-tests/fonts/TestMORXTwentyeight.ttf | Bin 0 -> 2660 bytes - .../text-rendering-tests/fonts/TestMORXTwentyseven.ttf | Bin 0 -> 2432 bytes - .../data/text-rendering-tests/fonts/TestShapeKndaV3.ttf | Bin 0 -> 89400 bytes - .../data/text-rendering-tests/tests/MORX-27.tests | 3 +++ - .../data/text-rendering-tests/tests/MORX-28.tests | 5 +++++ - 7 files changed, 12 insertions(+) - -commit 8eb53b853dcc4b0cc8e240cff6bfc5acb92182b0 -Author: Ebrahim Byagowi -Date: Fri May 11 22:44:44 2018 +0430 - - Minor, make CreateFile compatible with the disabled writable flag - - "writable" is not in use and probably we can go in the reverse direction - and remove the flags that are useful for enabled writable, this is just - for the sake of completeness however. - - src/hb-blob.cc | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit 33eb1bd23b100a8e65a0e66621760368b5aecdaf -Author: Ebrahim Byagowi -Date: Fri May 11 14:36:41 2018 +0430 - - Remove unnecessary headers and definitions of hb-blob (#1028) - - It removes io.h and other polyfills which we no longer need as 7e76d74 - - src/hb-blob.cc | 22 ++++------------------ - 1 file changed, 4 insertions(+), 18 deletions(-) - -commit 7e76d746e2555d5bba7f65d3958aa97a7f179d7b -Author: Ebrahim Byagowi -Date: Fri May 11 13:40:33 2018 +0430 - - Make hb_blob_create_from_file more portable (#1027) - - This makes it compatible with ARMCC which I had access in - a collaboration with @imgtec, thanks! - - Basically hb_blob_create_from_file features three code paths, - mmap, Win32 and fallback. - - We had fallback implementation even before this but it was relied - to "open" which is not available on some environments. This change - improved the situtation by using only fopen and friends for - fallback path. - - Interestingly we could use "open" on Windows but in fact it was - emulated by MSVCRT so I've completely split that from Unix path - now that we have a distinct path for fallback path also. - - src/hb-blob.cc | 64 +++++++++++++++++++++++++++++++++++++++------------------- - 1 file changed, 43 insertions(+), 21 deletions(-) - -commit e99d75ea9c4fe1f64d7f8408093741a682ed5243 -Author: Behdad Esfahbod -Date: Wed May 9 15:28:30 2018 -0700 - - Fix warning - - src/hb-ot-cmap-table.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 191c4edc5423017d9123d291462fbfa87a805218 -Author: Behdad Esfahbod -Date: Wed May 9 15:27:17 2018 -0700 - - Reinstante DEFINE_NULL_DATA - - Seems like I messed up; buffer overrun got reported. - - src/hb-open-type-private.hh | 2 ++ - src/hb-ot-layout-common-private.hh | 13 +++---------- - src/hb-private.hh | 13 +++++++++++++ - 3 files changed, 18 insertions(+), 10 deletions(-) - -commit 93bdf9b2dfe18af0f1aa93b890f0be260f31d90e -Author: Ebrahim Byagowi -Date: Wed May 9 23:24:17 2018 +0430 - - Use arrayZ on hb-coretext and hb-uniscribe and fix macOS/Win bots (#1024) - - Following to 63f57f4 - - src/hb-coretext.cc | 2 +- - src/hb-uniscribe.cc | 12 ++++++------ - 2 files changed, 7 insertions(+), 7 deletions(-) - -commit 63f57f4dab3d3179838d5d1cd03d116837a7e5c2 -Author: Behdad Esfahbod -Date: Tue May 8 16:56:11 2018 -0700 - - Mark more unsized array's as arrayZ - - src/hb-aat-layout-common-private.hh | 14 ++++---- - src/hb-aat-layout-kerx-table.hh | 2 +- - src/hb-aat-layout-morx-table.hh | 6 ++-- - src/hb-open-file-private.hh | 6 ++-- - src/hb-open-type-private.hh | 40 +++++++++++----------- - src/hb-ot-cmap-table.hh | 2 +- - src/hb-ot-color-cbdt-table.hh | 10 +++--- - src/hb-ot-layout-common-private.hh | 12 +++---- - src/hb-ot-layout-gsub-table.hh | 16 ++++----- - src/hb-ot-layout-gsubgpos-private.hh | 64 ++++++++++++++++++------------------ - src/hb-ot-post-table.hh | 4 +-- - src/hb-ot-var-avar-table.hh | 26 +++++++-------- - src/hb-private.hh | 54 +++++++++++++++--------------- - src/hb-set-private.hh | 4 +-- - src/hb-subset.cc | 2 +- - 15 files changed, 131 insertions(+), 131 deletions(-) - -commit 091c17df5ac5f7ddc9b776481da845f4eda67570 -Author: Behdad Esfahbod -Date: Tue May 8 16:42:45 2018 -0700 - - Use UnsizedArrayOf<> in one place where [VAR] was used - - Trying to see how many can converted meaningfully. - - src/hb-ot-layout-common-private.hh | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -commit 0644d92ef32b09e32d473c758d2a968f2d125628 -Merge: 2a2e28e70 3be050f07 -Author: Behdad Esfahbod -Date: Tue May 8 15:21:09 2018 -0700 - - Merge pull request #1018 from googlefonts/cmap4 - - [subset] Add cmap format 4 subsetting. - -commit 2a2e28e701319b4053a5c95f06c68f859e4ce99b -Author: Behdad Esfahbod -Date: Tue May 8 03:00:21 2018 -0700 - - Don't keep instance in hb_table_lazy_loader_t - - src/hb-open-type-private.hh | 15 ++++++--------- - 1 file changed, 6 insertions(+), 9 deletions(-) - -commit 57bac8f6995fabbb98eb9824d822f370f9449488 -Author: Behdad Esfahbod -Date: Tue May 8 02:55:20 2018 -0700 - - Rename - - src/hb-open-type-private.hh | 6 +++--- - src/hb-ot-layout-private.hh | 8 ++++---- - 2 files changed, 7 insertions(+), 7 deletions(-) - -commit 2a46a020fd2fa2fe99886ab06188db5f0fa37ad1 -Author: Behdad Esfahbod -Date: Tue May 8 02:53:03 2018 -0700 - - Minor - - src/hb-open-type-private.hh | 4 ++-- - src/hb-ot-kern-table.hh | 2 +- - src/hb-ot-layout.cc | 6 +++--- - src/hb-ot-post-table.hh | 2 +- - 4 files changed, 7 insertions(+), 7 deletions(-) - -commit eba1c16a604d1be774f22541bf3e417f27a27c68 -Author: Behdad Esfahbod -Date: Tue May 8 02:47:42 2018 -0700 - - Always lock blob in sanitize. Remove blob->lock_as() in favor of blob->lock() - - src/dump-emoji.cc | 4 ++-- - src/dump-fon.cc | 2 +- - src/hb-aat-layout.cc | 4 ++-- - src/hb-blob-private.hh | 6 ------ - src/hb-face.cc | 8 ++++---- - src/hb-open-type-private.hh | 8 ++++++-- - src/hb-ot-cmap-table.hh | 2 +- - src/hb-ot-color-cbdt-table.hh | 4 ++-- - src/hb-ot-color-sbix-table.hh | 2 +- - src/hb-ot-color-svg-table.hh | 2 +- - src/hb-ot-glyf-table.hh | 6 +++--- - src/hb-ot-hmtx-table.hh | 8 ++++---- - src/hb-ot-kern-table.hh | 2 +- - src/hb-ot-layout.cc | 6 +++--- - src/hb-ot-post-table.hh | 2 +- - src/hb-subset.cc | 2 +- - src/main.cc | 2 +- - 17 files changed, 34 insertions(+), 36 deletions(-) - -commit b4fa50501414b7471e840f2ee6b9dfe87080b078 -Author: Behdad Esfahbod -Date: Tue May 8 02:45:08 2018 -0700 - - Move Sanitizer::lock_instance<>() to blob->lock_as<>(). - - src/dump-emoji.cc | 4 ++-- - src/dump-fon.cc | 3 +-- - src/hb-aat-layout.cc | 4 ++-- - src/hb-blob-private.hh | 17 +++++++++++++++++ - src/hb-face.cc | 9 +++++---- - src/hb-open-type-private.hh | 9 ++------- - src/hb-ot-cmap-table.hh | 2 +- - src/hb-ot-color-cbdt-table.hh | 4 ++-- - src/hb-ot-color-sbix-table.hh | 2 +- - src/hb-ot-color-svg-table.hh | 2 +- - src/hb-ot-glyf-table.hh | 6 +++--- - src/hb-ot-hmtx-table.hh | 8 ++++---- - src/hb-ot-kern-table.hh | 2 +- - src/hb-ot-layout.cc | 6 +++--- - src/hb-ot-post-table.hh | 2 +- - src/hb-subset.cc | 2 +- - src/main.cc | 2 +- - 17 files changed, 48 insertions(+), 36 deletions(-) - -commit abc12f7b8157c3981216d82ead60627db31a6c14 -Author: Behdad Esfahbod -Date: Tue May 8 02:23:36 2018 -0700 - - Move null pool to hb-private - - src/dump-emoji.cc | 6 ++--- - src/dump-fon.cc | 14 +++++------ - src/hb-aat-layout.cc | 8 +++---- - src/hb-open-type-private.hh | 48 +++----------------------------------- - src/hb-ot-cmap-table.hh | 4 ++-- - src/hb-ot-color.cc | 4 ++-- - src/hb-ot-layout-common-private.hh | 13 ++++++++--- - src/hb-ot-layout.cc | 22 ++++++++--------- - src/hb-ot-math.cc | 4 ++-- - src/hb-ot-var.cc | 6 ++--- - src/hb-private.hh | 29 +++++++++++++++++++++++ - src/hb-subset.cc | 4 ++-- - src/main.cc | 2 +- - 13 files changed, 79 insertions(+), 85 deletions(-) - -commit 08e280fd84384f73d395918646ee044a5bbfee45 -Author: Behdad Esfahbod -Date: Tue May 8 01:57:27 2018 -0700 - - Rename hb_string_t to hb_bytes_t - - src/hb-ot-post-table.hh | 16 ++++++++-------- - src/hb-private.hh | 12 ++++++------ - src/hb-string-array.hh | 6 +++--- - 3 files changed, 17 insertions(+), 17 deletions(-) - -commit bd021a67203aa5b07c31c02d63e6154da0c05d31 -Author: Behdad Esfahbod -Date: Tue May 8 01:50:30 2018 -0700 - - Minor - - src/hb-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 16e4ccf7b417f021948643012cbe7641ba02c039 -Author: Behdad Esfahbod -Date: Tue May 8 01:47:05 2018 -0700 - - Allocate user-data-array on the heap - - This saves each object allocation 72 bytes. Now object overhead is just - 16 bytes (on x86) instead of 88 bytes. Neat. - - src/hb-object-private.hh | 36 ++++++++++++++++++++++++++++-------- - 1 file changed, 28 insertions(+), 8 deletions(-) - -commit 61920b21ca0c632ba58aef95c7f65f409cc0fbd2 -Author: Behdad Esfahbod -Date: Tue May 8 01:28:19 2018 -0700 - - Oops - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1023 - - src/hb-blob-private.hh | 77 ++++++++++++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 77 insertions(+) - -commit f673cfbd64d0c9d97123500a7b851b9cfc09deb3 -Author: Behdad Esfahbod -Date: Mon May 7 13:58:32 2018 -0700 - - Support scripts that are written both LTR and RTL - - Right now only Old Italic is marked as such. - - Fixes https://github.com/harfbuzz/harfbuzz/issues/1000 - - src/hb-buffer.cc | 4 ++++ - src/hb-common.cc | 6 ++++++ - src/hb-ot-shape.cc | 7 +++++-- - test/api/test-common.c | 1 + - test/shaping/data/in-house/Makefile.sources | 1 + - .../fonts/73e84dac2fc6a2d1bc9250d1414353661088937d.ttf | Bin 0 -> 1136 bytes - test/shaping/data/in-house/tests/none-directional.tests | 3 +++ - 7 files changed, 20 insertions(+), 2 deletions(-) - -commit 90869e6962caf0e55a480b5d7e777cc521596e8b -Author: Behdad Esfahbod -Date: Mon May 7 14:04:01 2018 -0700 - - [ot] Apply langsys's required feature even if no other feature exists - - src/hb-ot-map.cc | 3 --- - 1 file changed, 3 deletions(-) - -commit 90baf721978236f2e06dff89ad1cb0cace0753ea -Author: Behdad Esfahbod -Date: Thu May 3 22:14:54 2018 -0400 - - Move some blob functions to methods - - src/hb-blob.cc | 80 +++++++++++++++++++++++++--------------------------------- - 1 file changed, 34 insertions(+), 46 deletions(-) - -commit 5c64d61475f15d7f8de8993a52639735b2bcf750 -Author: Behdad Esfahbod -Date: Thu May 3 21:10:57 2018 -0400 - - Add hb-blob-private.hh - - Towards making blob more memory-allocation-friendly - - src/Makefile.sources | 1 + - src/hb-blob.cc | 21 +++++---------------- - 2 files changed, 6 insertions(+), 16 deletions(-) - -commit 203dc44ebc141af0ba8c54edec2dc0405664997a -Author: Behdad Esfahbod -Date: Thu May 3 21:03:27 2018 -0400 - - [ot-layout] Remove unused members - - We should hang those off somewhere else. For now, the unused ones can go. - - src/hb-aat-layout-common-private.hh | 2 +- - src/hb-aat-layout.cc | 6 ++++++ - src/hb-ot-layout-private.hh | 6 ------ - src/hb-ot-layout.cc | 29 ++++++++--------------------- - 4 files changed, 15 insertions(+), 28 deletions(-) - -commit ac92ed7d6875374451246a2391859fb763329adb -Author: Ebrahim Byagowi -Date: Tue May 8 01:05:15 2018 +0430 - - Set inline hidden flag only on shared library building - - To avoid need of CMP0063 which is not available on older CMake versions - - CMakeLists.txt | 16 ++++++++-------- - 1 file changed, 8 insertions(+), 8 deletions(-) - -commit 3be050f07572d8556726b188668d727e3e7ba643 -Author: Garret Rieger -Date: Fri May 4 11:23:32 2018 -0700 - - [subset] entrySelectorZ -> entrySelector. - - src/hb-ot-cmap-table.hh | 14 +++++++------- - 1 file changed, 7 insertions(+), 7 deletions(-) - -commit 7c22f98da789f831e1afb9078085b2e33d864d25 -Author: Garret Rieger -Date: Thu May 3 13:14:28 2018 -0700 - - [subset] add missing template parameter. - - src/hb-ot-cmap-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 95eb0f3bafb7ab0e2451e3e2f8afc5008e18e88e -Author: Garret Rieger -Date: Thu May 3 13:00:19 2018 -0700 - - [subset] Switch to a non-log using implementation of caculating searchRangeZ, entrySelectorZ, and rangeShiftZ in cmap4. - - src/hb-ot-cmap-table.hh | 12 +++++------- - 1 file changed, 5 insertions(+), 7 deletions(-) - -commit b0d7971be0fa3c9393b04038b8d0a76398b0d8d7 -Author: Garret Rieger -Date: Thu May 3 11:22:51 2018 -0700 - - [subset] Updated expected files for japanese subset integration tests to include cmap4. - - ...gular.default.3042,3044,3046,3048,304A,304B.ttf | Bin 3032 -> 3112 bytes - ...gular.default.3042,3044,3046,73E0,5EA6,8F38.ttf | Bin 3268 -> 3356 bytes - .../Mplus1p-Regular.default.61,63,65,6B.ttf | Bin 2584 -> 2656 bytes - ...gular.default.660E,6975,73E0,5EA6,8F38,6E05.ttf | Bin 3564 -> 3652 bytes - .../japanese/Mplus1p-Regular.default.660E.ttf | Bin 2348 -> 2396 bytes - ...ar.drop-hints.3042,3044,3046,3048,304A,304B.ttf | Bin 2304 -> 2384 bytes - ...ar.drop-hints.3042,3044,3046,73E0,5EA6,8F38.ttf | Bin 2540 -> 2628 bytes - .../Mplus1p-Regular.drop-hints.61,63,65,6B.ttf | Bin 1856 -> 1928 bytes - ...ar.drop-hints.660E,6975,73E0,5EA6,8F38,6E05.ttf | Bin 2836 -> 2924 bytes - .../japanese/Mplus1p-Regular.drop-hints.660E.ttf | Bin 1620 -> 1668 bytes - test/subset/data/fonts/Mplus1p-Regular.ttf | Bin 1758820 -> 1757292 bytes - 11 files changed, 0 insertions(+), 0 deletions(-) - -commit 79479273170275447042aa50912acee74bbacdf6 -Author: Garret Rieger -Date: Thu May 3 11:18:02 2018 -0700 - - [subset] Update expected files for subset integration tests to include cmap4. - - .../basics/Roboto-Regular.abc.default.61,62,63.ttf | Bin 2120 -> 2168 bytes - .../basics/Roboto-Regular.abc.default.61,63.ttf | Bin 1932 -> 1988 bytes - .../expected/basics/Roboto-Regular.abc.default.61.ttf | Bin 1744 -> 1792 bytes - .../expected/basics/Roboto-Regular.abc.default.62.ttf | Bin 1692 -> 1740 bytes - .../expected/basics/Roboto-Regular.abc.default.63.ttf | Bin 1668 -> 1716 bytes - .../basics/Roboto-Regular.abc.drop-hints.61,62,63.ttf | Bin 876 -> 924 bytes - .../basics/Roboto-Regular.abc.drop-hints.61,63.ttf | Bin 792 -> 848 bytes - .../basics/Roboto-Regular.abc.drop-hints.61.ttf | Bin 684 -> 732 bytes - .../basics/Roboto-Regular.abc.drop-hints.62.ttf | Bin 652 -> 700 bytes - .../basics/Roboto-Regular.abc.drop-hints.63.ttf | Bin 656 -> 704 bytes - .../Roboto-Regular.default.1FC,21,41,20,62,63.ttf | Bin 3700 -> 3772 bytes - .../full-font/Roboto-Regular.default.61,62,63.ttf | Bin 3320 -> 3368 bytes - .../Roboto-Regular.default.D7,D8,D9,DA,DE.ttf | Bin 3668 -> 3732 bytes - .../Roboto-Regular.drop-hints.1FC,21,41,20,62,63.ttf | Bin 2152 -> 2224 bytes - .../full-font/Roboto-Regular.drop-hints.61,62,63.ttf | Bin 1968 -> 2016 bytes - .../Roboto-Regular.drop-hints.D7,D8,D9,DA,DE.ttf | Bin 2188 -> 2252 bytes - 16 files changed, 0 insertions(+), 0 deletions(-) - -commit a8e7f9b958dcb4e00226f78d0ff83f031bc1323d -Author: Garret Rieger -Date: Thu May 3 10:59:00 2018 -0700 - - [subset] Get cmap tests passing again. - - test/api/fonts/Roboto-Regular.D7,D8,D9,DA,DE.ttf | Bin 2972 -> 2816 bytes - test/api/test-subset-cmap.c | 2 +- - 2 files changed, 1 insertion(+), 1 deletion(-) - -commit c817992f495cba21bf468014f22afe349fbc799f -Author: Garret Rieger -Date: Thu May 3 10:53:20 2018 -0700 - - [subset] Write out a format 4, plat 0 encoding record to match fontTools. - - src/hb-ot-cmap-table.hh | 24 +++++++++++++++--------- - test/api/test-subset-cmap.c | 2 +- - 2 files changed, 16 insertions(+), 10 deletions(-) - -commit 9ef55a4c1354028f4d5e81300cdaf8ce5e03b8e9 -Author: Garret Rieger -Date: Wed May 2 18:50:56 2018 -0700 - - [subset] A few bug fixes for cmap format 4 subsetting. - - src/hb-ot-cmap-table.hh | 57 ++++++++++++++++++++++++++++--------------------- - 1 file changed, 33 insertions(+), 24 deletions(-) - -commit 81ea75f5c860ef682184bd2c9d0ff8b48251e3ce -Author: Garret Rieger -Date: Wed May 2 17:46:30 2018 -0700 - - [subset] Complete implementation of cmap4 subsetting. - - src/hb-ot-cmap-table.hh | 31 ++++++++++++++++++++++++++++--- - 1 file changed, 28 insertions(+), 3 deletions(-) - -commit 4195a52b041af749046b716dcac7d6560ae37611 -Author: Garret Rieger -Date: Wed May 2 17:11:18 2018 -0700 - - [subset] WIP implementation of serialize for cmap format 4. - - src/hb-ot-cmap-table.hh | 39 ++++++++++++++++++++++++++++++++++++++- - 1 file changed, 38 insertions(+), 1 deletion(-) - -commit cfa592d31ce2fd1ec2765a69ab31bf80161479dd -Author: Garret Rieger -Date: Wed May 2 16:37:38 2018 -0700 - - [subset] Add an implement for cmap format 4 create_sub_table_plan. - - src/hb-ot-cmap-table.hh | 43 ++++++++++++++++++++++++++++++++++++++++++- - 1 file changed, 42 insertions(+), 1 deletion(-) - -commit 295d67ea7d0ddac5666bd6aa4b647dd9cbf8e8f7 -Author: Garret Rieger -Date: Wed May 2 16:12:04 2018 -0700 - - [subset] WIP cmap format 4 subsetting. - - src/hb-ot-cmap-table.hh | 104 ++++++++++++++++++++++++++++++++++++++++-------- - 1 file changed, 88 insertions(+), 16 deletions(-) - -commit 0053d13283458996372f04bd501001d450523605 -Author: Garret Rieger -Date: Wed May 2 15:42:43 2018 -0700 - - [subset] Refactor cmap subsetting to make it possible to add support for more sub tables. - - src/hb-ot-cmap-table.hh | 161 ++++++++++++++++++++++++++++++------------------ - 1 file changed, 102 insertions(+), 59 deletions(-) - -commit 03b27548123756dfd9988a8fc74bc78733fb2c44 -Author: Garret Rieger -Date: Wed May 2 15:42:08 2018 -0700 - - [subset] Add const to the hb_subset_plan_t input to a couple functions in hb-subset-plan. - - src/hb-subset-plan.cc | 4 ++-- - src/hb-subset-plan.hh | 18 +++++++++--------- - 2 files changed, 11 insertions(+), 11 deletions(-) - -commit 5b93f6916958e6096044372c1195501ea9f37436 -Author: Behdad Esfahbod -Date: Wed May 2 14:59:14 2018 -0400 - - Rename some X-terminated members to Z-terminated - - X-terminated means don't access this, it's not located correctly. - Z-terminated means this is a C array with no bound checking. - - src/hb-aat-layout-morx-table.hh | 4 ++-- - src/hb-open-type-private.hh | 16 ++++++++-------- - src/hb-ot-cmap-table.hh | 28 ++++++++++++++-------------- - src/hb-ot-glyf-table.hh | 14 +++++++------- - src/hb-ot-var-avar-table.hh | 6 +++--- - 5 files changed, 34 insertions(+), 34 deletions(-) - -commit f1f6bc0a6f28a6611a247f37b8a83e6f782d7227 -Author: Behdad Esfahbod -Date: Wed May 2 12:56:21 2018 -0400 - - [set] Fix init/fini of set on the stack to call object init/fini - - Part of https://github.com/harfbuzz/harfbuzz/issues/1017 - - src/hb-set-private.hh | 14 ++++++++++++-- - src/hb-set.cc | 4 ++-- - 2 files changed, 14 insertions(+), 4 deletions(-) - -commit 37b95612d4ae8a9d75a1a5a5165bc073c709cf30 -Author: Behdad Esfahbod -Date: Tue May 1 19:09:00 2018 -0400 - - Remove hb_auto_array_t - - Part of https://github.com/harfbuzz/harfbuzz/issues/1017 - - src/hb-coretext.cc | 8 ++++---- - src/hb-ot-cmap-table.hh | 2 +- - src/hb-ot-layout.cc | 2 +- - src/hb-subset-plan.cc | 2 +- - src/hb-uniscribe.cc | 12 ++++++------ - 5 files changed, 13 insertions(+), 13 deletions(-) - -commit 5c3112aec8b77d0fe39164f0f700e2a1aa810022 -Author: Behdad Esfahbod -Date: Tue May 1 19:07:04 2018 -0400 - - s/hb_prealloced_array_t/hb_vector_t/g - - Part of https://github.com/harfbuzz/harfbuzz/issues/1017 - - src/hb-ot-cmap-table.hh | 6 +++--- - src/hb-ot-hmtx-table.hh | 2 +- - src/hb-ot-map-private.hh | 10 +++++----- - src/hb-ot-os2-table.hh | 4 ++-- - src/hb-ot-post-table.hh | 2 +- - src/hb-private.hh | 6 +++--- - src/hb-set-private.hh | 4 ++-- - src/hb-subset-glyf.cc | 12 ++++++------ - src/hb-subset-plan.cc | 8 ++++---- - src/hb-subset-plan.hh | 6 +++--- - src/hb-subset.cc | 2 +- - 11 files changed, 31 insertions(+), 31 deletions(-) - -commit 4a01eb1234a72e6a91ed66d3ed60b5db378fe340 -Author: Behdad Esfahbod -Date: Tue May 1 19:05:58 2018 -0400 - - Add hb_auto_t - - Part of https://github.com/harfbuzz/harfbuzz/issues/1017 - - src/hb-private.hh | 11 ++++++++--- - 1 file changed, 8 insertions(+), 3 deletions(-) - -commit a60ba7964ea196a3a02c48e813f2d9505d0cded2 -Author: Behdad Esfahbod -Date: Tue May 1 19:01:25 2018 -0400 - - s/finish/fini - - For consistency. - - src/hb-common.cc | 8 ++++---- - src/hb-mutex-private.hh | 2 +- - src/hb-object-private.hh | 10 +++++----- - src/hb-ot-layout-private.hh | 4 ++-- - src/hb-ot-map-private.hh | 14 +++++++------- - src/hb-ot-post-table.hh | 2 +- - src/hb-ot-shape-private.hh | 4 ++-- - src/hb-ot-shape.cc | 2 +- - src/hb-private.hh | 16 ++++++++-------- - src/hb-set-private.hh | 6 +++--- - src/hb-set.cc | 2 +- - src/hb-subset-glyf.cc | 6 +++--- - src/hb-subset-plan.cc | 6 +++--- - src/hb-subset.cc | 2 +- - 14 files changed, 42 insertions(+), 42 deletions(-) - -commit 17618ee2ecd02cb100ca911bd1907d108e9df475 -Author: Behdad Esfahbod -Date: Tue May 1 18:39:25 2018 -0400 - - Add hb_object_fini() - - src/hb-object-private.hh | 7 ++++++- - 1 file changed, 6 insertions(+), 1 deletion(-) - -commit bd5f918e2f86241d3e2cb706bf558de21c198860 -Author: Behdad Esfahbod -Date: Tue May 1 18:27:41 2018 -0400 - - [set] Cache population - - Part of https://github.com/harfbuzz/harfbuzz/issues/1017 - - src/hb-set-private.hh | 24 +++++++++++++++++++++++- - src/hb-set.cc | 1 + - 2 files changed, 24 insertions(+), 1 deletion(-) - -commit 93b03119da8674a3eddb7879857e9f17fa16fd2a -Author: violet-sippial <38817272+violet-sippial@users.noreply.github.com> -Date: Sat Apr 28 20:29:13 2018 +0200 - - [subset] Do not compare ttx progress output in the tests - - Suppress progress messages of ttx. This avoids comparing this output to the reference file which lets the test fail. - - test/subset/run-tests.py | 1 + - 1 file changed, 1 insertion(+) - -commit a57f5a1a185c333ae21a4ac1577387312895e107 -Author: Ebrahim Byagowi -Date: Sat Apr 28 13:58:55 2018 +0430 - - [dwrite] Minor, enable the original code assertions - - src/hb-directwrite.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 9925030f19851957381b78c197e6f50c77fde756 -Author: Ebrahim Byagowi -Date: Fri Apr 13 12:43:29 2018 +0430 - - Don't decompose Bengali Rra and Rha - - Fixes #779 and follow up to b01d9b3d90e892341ee4463f2eda4600850b97d8 - - src/hb-ot-shape-complex-indic.cc | 3 +++ - test/shaping/data/in-house/Makefile.sources | 1 + - .../fonts/932ad5132c2761297c74e9976fe25b08e5ffa10b.ttf | Bin 0 -> 22980 bytes - test/shaping/data/in-house/tests/indic-decompose.tests | 1 + - 4 files changed, 5 insertions(+) - -commit 5ad87a93fefcb94ee5f28de8d75903b2550c8d94 -Author: Ebrahim Byagowi -Date: Wed Apr 25 16:44:04 2018 +0430 - - Minor, improve file reading failing condition comment - - https://bugzilla.gnome.org/show_bug.cgi?id=659212 for more context - - src/hb-blob.cc | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 2eaba80cbd3afb32363da93ebf6e60b11509d3f8 -Author: Ebrahim Byagowi -Date: Tue Apr 24 09:04:15 2018 +0430 - - Minor, re-add unused mark to some of ragel defined state machines (#1005) - - src/hb-ot-shape-complex-indic-machine.hh | 2 +- - src/hb-ot-shape-complex-indic-machine.rl | 2 +- - src/hb-ot-shape-complex-khmer-machine.hh | 2 +- - src/hb-ot-shape-complex-khmer-machine.rl | 2 +- - src/hb-ot-shape-complex-myanmar-machine.hh | 2 +- - src/hb-ot-shape-complex-myanmar-machine.rl | 2 +- - src/hb-ot-shape-complex-use-machine.hh | 2 +- - src/hb-ot-shape-complex-use-machine.rl | 2 +- - 8 files changed, 8 insertions(+), 8 deletions(-) - -commit 48f0204cfea616a788d75c5065ad4999c7685513 -Author: Ebrahim Byagowi -Date: Tue Apr 24 08:11:13 2018 +0430 - - Minor, re-add unused mark for two TRACE_ macros - - To revive Travis CI bot - - src/hb-debug.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 816b8169a90e0454b82a83719fc9ec1c83934d6f -Author: Ebrahim Byagowi -Date: Mon Apr 23 19:36:53 2018 +0430 - - Resolve some of clang's double-promotion warnings - - src/hb-aat-layout-trak-table.hh | 6 +++--- - src/hb-open-type-private.hh | 8 ++++---- - src/hb-ot-layout-common-private.hh | 2 +- - 3 files changed, 8 insertions(+), 8 deletions(-) - -commit 24b8b9b227f53b4f67a713c994cec04a5f774634 -Author: Ebrahim Byagowi -Date: Mon Apr 23 19:03:57 2018 +0430 - - Resolve clang's used-but-marked-unused warnings - - src/hb-debug.hh | 4 ++-- - src/hb-font.cc | 4 ++-- - src/hb-ft.cc | 8 ++++---- - src/hb-open-type-private.hh | 2 +- - src/hb-ot-font.cc | 6 +++--- - src/hb-ot-shape-complex-indic-machine.hh | 2 +- - src/hb-ot-shape-complex-indic-machine.rl | 2 +- - src/hb-ot-shape-complex-khmer-machine.hh | 2 +- - src/hb-ot-shape-complex-khmer-machine.rl | 2 +- - src/hb-ot-shape-complex-myanmar-machine.hh | 2 +- - src/hb-ot-shape-complex-myanmar-machine.rl | 2 +- - src/hb-ot-shape-complex-use-machine.hh | 2 +- - src/hb-ot-shape-complex-use-machine.rl | 2 +- - src/hb-set.cc | 2 +- - src/hb-unicode.cc | 2 +- - 15 files changed, 22 insertions(+), 22 deletions(-) - -commit eaf649450a29115ca0b2aac2921cc40c17aa55ac -Author: Ebrahim Byagowi -Date: Mon Apr 23 18:39:40 2018 +0430 - - Resolve clang's conditional-uninitialize warnings - - src/hb-ot-layout-gpos-table.hh | 2 +- - src/hb-ot-shape-normalize.cc | 4 ++-- - util/view-cairo.cc | 2 +- - 3 files changed, 4 insertions(+), 4 deletions(-) - -commit 8b0d642e6610dd44f98a986580451eb562276897 -Author: Ebrahim Byagowi -Date: Mon Apr 23 18:37:35 2018 +0430 - - Resolve some of clang's zero-as-null-pointer-constant warnings - - src/hb-coretext.cc | 4 ++-- - src/hb-dsalgs.hh | 2 +- - src/hb-ot-os2-unicode-ranges.hh | 2 +- - 3 files changed, 4 insertions(+), 4 deletions(-) - -commit 8100380d9e6fdd52eb7054f3300046028dcde8f9 -Author: Ebrahim Byagowi -Date: Sun Apr 22 10:58:37 2018 +0430 - - Minor, fix calloc call order - - src/hb-blob.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 2a4cdfad20fa8f0d2894383c2f10a6983f88b34b -Author: Ebrahim Byagowi -Date: Fri Apr 20 21:12:58 2018 +0430 - - [aat/kerx] Minor (#1003) - - src/hb-aat-layout-kerx-table.hh | 46 +++++++++++++++++++++-------------------- - 1 file changed, 24 insertions(+), 22 deletions(-) - -commit ce17340b23d96f543cd88e400e631bdb5656331c -Author: Ebrahim Byagowi -Date: Fri Apr 20 10:29:06 2018 +0430 - - Add hb_blob_create_from_file, a new API (#926) - - TODO | 2 - - docs/harfbuzz-sections.txt | 1 + - src/dump-emoji.cc | 33 +---------- - src/dump-fon.cc | 11 +--- - src/hb-blob.cc | 131 ++++++++++++++++++++++++++++++++++++++++--- - src/hb-blob.h | 2 + - src/main.cc | 26 +-------- - src/test-buffer-serialize.cc | 42 +------------- - src/test-size-params.cc | 42 +------------- - src/test-would-substitute.cc | 42 +------------- - src/test.cc | 42 +------------- - test/api/hb-subset-test.h | 54 +----------------- - test/api/hb-test.h | 33 ----------- - util/options.cc | 88 +++++++---------------------- - util/options.hh | 6 -- - util/view-cairo.hh | 3 +- - 16 files changed, 159 insertions(+), 399 deletions(-) - -commit 4fa1c6705a1bc5299adb5a848ceaf6ac8f33c0ba -Author: Garret Rieger -Date: Thu Apr 19 15:30:35 2018 -0700 - - [subset] Check instruction offsets in glyph to ensure they are in bounds. - - src/hb-ot-glyf-table.hh | 18 ++++++++++-- - .../oom-ccc61c92d589f895174cdef6ff2e3b20e9999a1a | Bin 0 -> 63302 bytes - test/api/test-subset-glyf.c | 31 +++++++++++++++++++++ - 3 files changed, 47 insertions(+), 2 deletions(-) - -commit 3c97614598ecd0bbccb2c90a8e0e99f010952b76 -Author: Garret Rieger -Date: Thu Apr 19 13:39:57 2018 -0700 - - [subset] In subset fuzzer run through drop hints and keep hints pathways. - - test/fuzzing/hb-subset-fuzzer.cc | 12 +++++++++++- - 1 file changed, 11 insertions(+), 1 deletion(-) - -commit 6fdeeb2ae3059ac1bc5ff99fd1655b4e94576151 -Author: Khaled Hosny -Date: Thu Apr 19 23:41:37 2018 +0300 - - [util] Check all specified shapers are known (#993) - - A bit brute force and requires all shapers to be known, not just one. - - Fixes https://github.com/harfbuzz/harfbuzz/issues/956 - - util/options.cc | 22 ++++++++++++++++++++-- - 1 file changed, 20 insertions(+), 2 deletions(-) - -commit 535fb23c0211c733d59f72c3431643d89dc16d16 -Author: Garret Rieger -Date: Wed Apr 18 17:37:39 2018 -0700 - - [subset] Add integration tests for cmap breakge. - - .../full-font/Roboto-Regular.default.D7,D8,D9,DA,DE.ttf | Bin 0 -> 3668 bytes - .../Roboto-Regular.drop-hints.D7,D8,D9,DA,DE.ttf | Bin 0 -> 2188 bytes - test/subset/data/tests/full-font.tests | 1 + - 3 files changed, 1 insertion(+) - -commit e29c8e33f3debf721e18306b896df7a3233386ac -Author: Garret Rieger -Date: Wed Apr 18 17:32:43 2018 -0700 - - [subset] Add a test for previous cmap breakage. - - test/api/fonts/Roboto-Regular.D7,D8,D9,DA,DE.ttf | Bin 0 -> 2972 bytes - test/api/test-subset-cmap.c | 23 +++++++++++++++++++++++ - 2 files changed, 23 insertions(+) - -commit 5e318e09ba590eef7b7ec047d7857f7f1eb7d787 -Author: Garret Rieger -Date: Wed Apr 18 17:13:37 2018 -0700 - - [subset] Fix broken cmap creation. - It was ignoring the restriction that gids must be consecutive to be placed into a single group. - - src/hb-ot-cmap-table.hh | 23 ++++++++++++++++------- - 1 file changed, 16 insertions(+), 7 deletions(-) - -commit a47070cd40cee51fe792cb838ff9f21e0ea482c6 -Author: Ebrahim Byagowi -Date: Wed Apr 18 12:09:37 2018 +0430 - - Minor, annotate the added tables with likely/unlikely (#997) - - src/hb-aat-fmtx-table.hh | 2 +- - src/hb-aat-gcid-table.hh | 2 +- - src/hb-aat-layout-ankr-table.hh | 7 ++++--- - src/hb-aat-layout-bsln-table.hh | 9 +++++---- - src/hb-aat-layout-feat-table.hh | 10 +++++----- - src/hb-aat-layout-kerx-table.hh | 12 ++++++------ - src/hb-aat-layout-trak-table.hh | 21 +++++++++++++-------- - src/hb-aat-ltag-table.hh | 2 +- - src/hb-ot-color-colr-table.hh | 10 +++++----- - src/hb-ot-color-cpal-table.hh | 18 ++++++++++-------- - src/hb-ot-color-sbix-table.hh | 2 +- - src/hb-ot-color-svg-table.hh | 6 +++--- - 12 files changed, 55 insertions(+), 46 deletions(-) - -commit 1a309dcd72f9f54672a7341788a9b2241c922793 -Author: Garret Rieger -Date: Tue Apr 17 18:11:32 2018 -0700 - - [subset] Remove printf's from fuzzing targets. - - test/fuzzing/hb-subset-fuzzer.cc | 1 - - test/fuzzing/hb-subset-get-codepoints-fuzzer.cc | 1 - - 2 files changed, 2 deletions(-) - -commit c55aa147c33eb733ab552d404a88749cb6ff6d73 -Author: Ebrahim Byagowi -Date: Wed Apr 18 00:01:20 2018 +0430 - - Do sanitization before the use on 'main' mini-program (#994) - - src/main.cc | 22 ++++++++++++++++++---- - 1 file changed, 18 insertions(+), 4 deletions(-) - -commit c02b40e58f35ecd10c4945d2fa2b7074137c2c04 -Author: Garret Rieger -Date: Tue Apr 17 08:21:22 2018 -0600 - - [subset] add a fuzzer target for subset_get_all_codepoints method. (#987) - - test/fuzzing/CMakeLists.txt | 7 ++++++- - test/fuzzing/Makefile.am | 16 ++++++++++++++++ - test/fuzzing/hb-subset-get-codepoints-fuzzer.cc | 24 ++++++++++++++++++++++++ - test/fuzzing/run-subset-fuzzer-tests.py | 19 ++++++++++++++++++- - 4 files changed, 64 insertions(+), 2 deletions(-) - -commit 924803166e074c569ecfa7e598686f334777770f -Author: Behdad Esfahbod -Date: Tue Apr 17 15:32:02 2018 +0200 - - [colr] Check layer record access - - src/hb-ot-color-colr-table.hh | 9 ++++++++- - 1 file changed, 8 insertions(+), 1 deletion(-) - -commit 5dadbb0fa096574b6bccd75cced203baf615fedf -Author: Garret Rieger -Date: Tue Apr 17 07:00:23 2018 -0600 - - [subset] Add implementation of cmap format 12 codepoint listing. (#988) - - src/hb-ot-cmap-table.hh | 21 +++++++++++- - test/api/fonts/Roboto-Regular.abc.format12.ttf | Bin 0 -> 2412 bytes - test/api/test-subset-codepoints.c | 44 +++++++++++++++++++++++++ - 3 files changed, 64 insertions(+), 1 deletion(-) - -commit 6771e79bcc2166b5c03ca615d271c8508d692416 -Author: Ebrahim Byagowi -Date: Tue Apr 17 09:36:52 2018 +0430 - - Add pre-opentype font pages detection code (#986) - - As Khaled's finding on #981 this is the way Uniscribe detects those fonts. This is its detection part. - - src/hb-ot-os2-table.hh | 18 ++++++++++++++++++ - 1 file changed, 18 insertions(+) - -commit 277e328986d5887fa93c72dc8b12d842d41db87f -Author: Ebrahim Byagowi -Date: Tue Apr 17 09:13:35 2018 +0430 - - Make some of implicit header uses explicit (#989) - - Splitted from #950 and #986 IIRC Chromium had a policy about this encouraging it, - not sure about automated way to detect and add them but for now lets have the needed - ones of them. - - src/hb-aat-layout-morx-table.hh | 1 + - src/hb-aat-layout-trak-table.hh | 1 + - src/hb-ot-hdmx-table.hh | 1 + - src/hb-ot-hmtx-table.hh | 1 + - src/hb-ot-os2-table.hh | 1 + - src/hb-ot-post-table.hh | 1 + - 6 files changed, 6 insertions(+) - -commit f5811bad04be9dac8a4fca8e16904d6270e47777 -Author: Ebrahim Byagowi -Date: Tue Apr 17 09:13:03 2018 +0430 - - Add round to F2DOT14 inner store setter (#990) - - It uses floor implicitly without it but explicit use of round will be more correct. - - src/hb-open-type-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 39754fb65981fa8d11615e1dced852285ad09e4e -Author: Garret Rieger -Date: Mon Apr 16 15:09:27 2018 -0700 - - [subset] Don't assume the last segment in cmap 4 can be skipped, actually check it. - - src/hb-ot-cmap-table.hh | 8 ++++++-- - 1 file changed, 6 insertions(+), 2 deletions(-) - -commit 21a181af2bf1582991c55de5f9281494733c5d12 -Author: Garret Rieger -Date: Tue Apr 10 15:40:24 2018 -0700 - - [subset] sketch out support for a call that lists all codepoints present in a font. Implement support for it in format 4 cmap sub table. - - src/hb-ot-cmap-table.hh | 37 ++++++++++++++-- - src/hb-subset.cc | 14 ++++++ - src/hb-subset.h | 5 ++- - test/api/Makefile.am | 2 + - test/api/fonts/Roboto-Regular.abc.format4.ttf | Bin 0 -> 2424 bytes - test/api/test-subset-codepoints.c | 59 ++++++++++++++++++++++++++ - 6 files changed, 113 insertions(+), 4 deletions(-) - -commit aef96e246cb695c4c83b8b6daed06a0d14fe1d32 -Author: Ebrahim Byagowi -Date: Mon Apr 16 18:30:25 2018 +0430 - - Further improvements on dump-fon (#985) - - src/dump-fon.cc | 153 +++++++++++++++++++++++++++++++++++++++++++++----------- - 1 file changed, 123 insertions(+), 30 deletions(-) - -commit 67dfb1937b703b3f1dc45251f4f884abf35c8576 -Author: Ebrahim Byagowi -Date: Mon Apr 16 14:25:45 2018 +0430 - - Add dump-fon, a prototype on how to work with .fon/.fnt files (#981) - - src/Makefile.am | 4 + - src/dump-fon.cc | 475 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ - 2 files changed, 479 insertions(+) - -commit ce99dd04de830c8426af14c11dbee45f8bcc9e60 -Author: Ebrahim Byagowi -Date: Sun Apr 15 22:08:50 2018 +0430 - - Implement to_float and set_float of F2DOT14 (#984) - - src/hb-open-type-private.hh | 8 +++++--- - 1 file changed, 5 insertions(+), 3 deletions(-) - -commit 435b1878e710b67e21872572ad9fd5ed1369e97f -Author: Ebrahim Byagowi -Date: Sun Apr 15 21:18:48 2018 +0430 - - Rename UINT24 to HBUINT24 for consistency (#983) - - src/hb-open-type-private.hh | 2 +- - src/hb-ot-cmap-table.hh | 6 +++--- - src/hb-ot-layout-common-private.hh | 2 +- - 3 files changed, 5 insertions(+), 5 deletions(-) - -commit 3737c652a5e0b6d73b6090dc6c3863008c9dc8fd -Merge: 632713bab 8f4c12308 -Author: Ebrahim Byagowi -Date: Fri Apr 13 23:19:19 2018 +0430 - - Merge pull request #979 from ebraminio/msvc05 - - Reinstate support for Visual Studio 2005 - -commit 8f4c12308a8d9e61922fb352e913acae46b28a88 -Author: Tor Andersson -Date: Fri Apr 13 23:01:54 2018 +0430 - - Reinstate support for Visual Studio 2005 - - src/hb-common.h | 10 ++++++++++ - src/hb-private.hh | 6 +++--- - src/hb-ucdn/ucdn.h | 10 ++++++++++ - 3 files changed, 23 insertions(+), 3 deletions(-) - -commit 632713babbc349920f71f73cc304c9a18078fd6b -Author: Ebrahim Byagowi -Date: Thu Apr 12 14:17:03 2018 +0430 - - Always enable atexit on Android (#971) - - Obviously one can use a newer NDK for building an updated HarfBuzz - instead that now pretty old version however I am concerned if that - version checking is working with clang that is used with the newer - NDK versions. - - src/hb-private.hh | 8 +++----- - 1 file changed, 3 insertions(+), 5 deletions(-) - -commit f24b0b9728f87d7599867a4ba6ec7d30da43b869 -Author: Ebrahim Byagowi -Date: Thu Apr 12 13:40:45 2018 +0430 - - Update the links and revive the dead ones - - src/hb-common.cc | 4 ++-- - src/hb-common.h | 6 +++--- - src/hb-coretext.cc | 6 +++--- - src/hb-ft.cc | 2 +- - src/hb-ot-cmap-table.hh | 12 ++++++------ - src/hb-ot-layout-common-private.hh | 8 ++++---- - src/hb-ot-layout-private.hh | 2 +- - src/hb-ot-layout.h | 2 +- - src/hb-ot-shape-complex-arabic.cc | 4 ++-- - src/hb-ot-shape-complex-indic-private.hh | 2 +- - src/hb-ot-shape-complex-indic.cc | 4 ++-- - src/hb-ot-shape-complex-khmer.cc | 2 +- - src/hb-ot-shape-complex-myanmar-private.hh | 2 +- - src/hb-ot-shape-complex-myanmar.cc | 2 +- - src/hb-ot-shape-complex-thai.cc | 2 +- - src/hb-ot-shape-complex-use-private.hh | 2 +- - src/hb-ot-shape-complex-use.cc | 2 +- - src/hb-ot-shape-fallback.cc | 2 +- - src/hb-ot-tag.cc | 9 ++++----- - src/hb-private.hh | 4 ++-- - src/hb-string-array.hh | 2 +- - src/hb-unicode-private.hh | 18 +++++++++--------- - test/api/test-buffer.c | 2 +- - test/api/test-ot-tag.c | 6 +++--- - test/api/test-shape.c | 2 +- - 25 files changed, 54 insertions(+), 55 deletions(-) - -commit a02c3ee70f4ca9de1fd55f1d8d535f6bd0d32606 -Author: Ebrahim Byagowi -Date: Thu Apr 12 13:38:19 2018 +0430 - - Add or update tables specifications links - - src/hb-aat-fmtx-table.hh | 9 ++++----- - src/hb-aat-gcid-table.hh | 8 ++++---- - src/hb-aat-layout-ankr-table.hh | 8 ++++---- - src/hb-aat-layout-bsln-table.hh | 10 +++++----- - src/hb-aat-layout-feat-table.hh | 10 +++++----- - src/hb-aat-layout-kerx-table.hh | 4 ++++ - src/hb-aat-layout-morx-table.hh | 4 ++++ - src/hb-aat-layout-trak-table.hh | 4 ++++ - src/hb-aat-ltag-table.hh | 10 +++++----- - src/hb-ot-color-cbdt-table.hh | 24 ++++++++++++------------ - src/hb-ot-color-colr-table.hh | 6 +++--- - src/hb-ot-color-cpal-table.hh | 6 +++--- - src/hb-ot-color-sbix-table.hh | 11 ++++++----- - src/hb-ot-color-svg-table.hh | 3 ++- - src/hb-ot-glyf-table.hh | 4 ++-- - src/hb-ot-hdmx-table.hh | 11 ++++++----- - src/hb-ot-head-table.hh | 10 +++++----- - src/hb-ot-hhea-table.hh | 15 ++++++++------- - src/hb-ot-hmtx-table.hh | 14 +++++++------- - src/hb-ot-kern-table.hh | 10 ++++++---- - src/hb-ot-layout-base-table.hh | 3 ++- - src/hb-ot-layout-gdef-table.hh | 3 ++- - src/hb-ot-layout-gpos-table.hh | 3 ++- - src/hb-ot-layout-gsub-table.hh | 3 ++- - src/hb-ot-layout-jstf-table.hh | 3 ++- - src/hb-ot-math-table.hh | 3 ++- - src/hb-ot-maxp-table.hh | 3 ++- - src/hb-ot-name-table.hh | 4 ++-- - src/hb-ot-os2-table.hh | 3 +-- - src/hb-ot-post-table.hh | 8 ++++---- - src/hb-ot-var-avar-table.hh | 14 ++++++++------ - src/hb-ot-var-fvar-table.hh | 15 ++++++++------- - src/hb-ot-var-hvar-table.hh | 7 ++++--- - src/hb-ot-var-mvar-table.hh | 4 ++-- - 34 files changed, 142 insertions(+), 115 deletions(-) - -commit b799fc80777c1424e469a835f782b4e0f41c0043 -Author: Ebrahim Byagowi -Date: Wed Apr 11 18:36:09 2018 +0430 - - minor, use LOffsetTo and LArrayOf whenever possible (#966) - - src/hb-aat-layout-morx-table.hh | 10 ++++++---- - src/hb-aat-ltag-table.hh | 2 +- - src/hb-open-file-private.hh | 2 +- - src/hb-ot-cmap-table.hh | 4 ++-- - 4 files changed, 10 insertions(+), 8 deletions(-) - -commit cb3fa70cd4c33e9f1c736f778cb3b606d15c0936 -Author: Ebrahim Byagowi -Date: Wed Apr 11 18:00:13 2018 +0430 - - [dwrite] Cosmetic change (#963) - - src/hb-directwrite.cc | 39 +++++++++++++++++++-------------------- - src/hb-directwrite.h | 5 +++-- - 2 files changed, 22 insertions(+), 22 deletions(-) - -commit 09d5e5468858f4403ce91aca46749397b23825d9 -Author: Ebrahim Byagowi -Date: Wed Apr 11 17:41:48 2018 +0430 - - [graphite] Use tabs instead 8 spaces (#965) - - src/hb-graphite2.cc | 16 ++++++++-------- - 1 file changed, 8 insertions(+), 8 deletions(-) - -commit 211da5efdcaff203eafda2a5081cd81e3d6cc35b -Author: Ebrahim Byagowi -Date: Wed Apr 11 17:41:24 2018 +0430 - - [aat] Cosmetic changes (#964) - - src/hb-aat-gcid-table.hh | 4 ++-- - src/hb-aat-layout-ankr-table.hh | 11 ++++++----- - src/hb-aat-layout-common-private.hh | 6 +++--- - src/hb-aat-layout-kerx-table.hh | 29 +++++++++++++++-------------- - src/hb-aat-layout-morx-table.hh | 6 +++--- - src/hb-aat-layout-trak-table.hh | 10 +++++----- - src/hb-aat-ltag-table.hh | 8 ++++---- - 7 files changed, 38 insertions(+), 36 deletions(-) - -commit f8bb582bcc2af6cae531d8255da002f0c514f1a9 -Author: Ebrahim Byagowi -Date: Wed Apr 11 17:13:20 2018 +0430 - - [ot-color] Cosmetic changes (#962) - - src/hb-open-type-private.hh | 1 - - src/hb-ot-color-cbdt-table.hh | 10 +++++----- - src/hb-ot-color-cpal-table.hh | 4 ++-- - src/hb-ot-color-sbix-table.hh | 41 ++++++++++++++++++++--------------------- - src/hb-ot-color-svg-table.hh | 37 +++++++++++++++++++------------------ - 5 files changed, 46 insertions(+), 47 deletions(-) - -commit 1e1e9086c09185a7bd6f65d1e391418642229616 -Author: Ebrahim Byagowi -Date: Tue Apr 10 03:26:01 2018 +0430 - - minor - - src/dump-emoji.cc | 1 + - 1 file changed, 1 insertion(+) - -commit a62554af89b8324c73c623e64f87ec822c757515 -Author: Ebrahim Byagowi -Date: Tue Apr 10 00:53:50 2018 +0430 - - [colr/cpal] Improvements and add a sample renderer (#927) - - src/Makefile.am | 13 ++- - src/dump-emoji.cc | 181 +++++++++++++++++++++++++++++++++++++++--- - src/hb-ot-color-colr-table.hh | 43 +++++++++- - src/hb-ot-color-cpal-table.hh | 70 +++++++++------- - 4 files changed, 259 insertions(+), 48 deletions(-) - -commit f25731a3606ff0972505eeb934477480019ffcd3 -Author: Ebrahim Byagowi -Date: Tue Apr 10 00:51:57 2018 +0430 - - [ci] Don't fail on brew warnings - - Not the best fix but it works and we don't care about brew warnings, so - - .travis.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 58e569e5f7143a12cadcd6c42434558f9981e00e -Author: Ryan Schmidt -Date: Thu Apr 5 17:03:36 2018 -0500 - - Fix build with CoreText on OS X 10.7 and earlier (#952) - - src/hb-coretext.cc | 30 ++++++++++++++++++++++++++++-- - 1 file changed, 28 insertions(+), 2 deletions(-) - -commit d3984b45b5d110f34febbb9e1d8a9c2203080a1b -Author: Ebrahim Byagowi -Date: Sun Apr 1 12:16:42 2018 +0430 - - [aat] Further improvements on feat (#948) - - src/Makefile.sources | 2 +- - ...t-feat-table.hh => hb-aat-layout-feat-table.hh} | 48 +++++++++++----------- - src/hb-aat-layout.cc | 2 +- - 3 files changed, 25 insertions(+), 27 deletions(-) - -commit 93dad9ade7078d28086b2e5c3b5e8dafa67617d2 -Author: Behdad Esfahbod -Date: Sat Mar 31 17:06:17 2018 +0200 - - [hangul] Fix comment - - src/hb-ot-shape-complex-hangul.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 44bf4320922d340d1357c4d42d093fa466c3610f -Author: Ebrahim Byagowi -Date: Sat Mar 31 16:51:36 2018 +0430 - - [aat] Implement feat table parsing (#947) - - src/Makefile.sources | 3 +- - src/hb-aat-feat-table.hh | 122 +++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-aat-layout.cc | 1 + - 3 files changed, 125 insertions(+), 1 deletion(-) - -commit 08b8eb678a6cb74c118a32e75b880599e3ac4a7c -Author: Behdad Esfahbod -Date: Sat Mar 31 12:15:50 2018 +0200 - - Another try at fixing linker issue - - Fixes https://github.com/harfbuzz/harfbuzz/issues/880 - - configure.ac | 11 +++++++++-- - src/Makefile.am | 6 ------ - 2 files changed, 9 insertions(+), 8 deletions(-) - -commit eff36cd8f06ee992218ed3f198f6a4ea19d7089c -Author: Ebrahim Byagowi -Date: Fri Mar 30 22:25:35 2018 +0430 - - Minor build related changes - - .editorconfig | 3 +++ - CMakeLists.txt | 6 +++--- - configure.ac | 2 +- - 3 files changed, 7 insertions(+), 4 deletions(-) - -commit 9d68f73d5cf3f3df6bc5516ada987d9019d3fe3d -Author: Ebrahim Byagowi -Date: Fri Mar 30 21:57:10 2018 +0430 - - [aat] Implement gcid table parsing (#944) - - src/Makefile.sources | 1 + - src/hb-aat-gcid-table.hh | 73 ++++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-aat-layout.cc | 1 + - 3 files changed, 75 insertions(+) - -commit 0e230a83ae8a2c5fbe40dc0e74e5e7ead106e45e -Author: Ebrahim Byagowi -Date: Fri Mar 30 19:36:00 2018 +0430 - - [aat] Implement bsln table parsing (#943) - - src/Makefile.sources | 1 + - src/hb-aat-layout-bsln-table.hh | 156 ++++++++++++++++++++++++++++++++++++++++ - src/hb-aat-layout.cc | 3 +- - 3 files changed, 159 insertions(+), 1 deletion(-) - -commit 70d36543aa929320ff82a9ce589786e58adb1836 -Author: Ebrahim Byagowi -Date: Fri Mar 30 05:00:28 2018 +0430 - - Make atexit callbacks threadsafe (#930) - - src/hb-common.cc | 60 +++++++++++++++++++++++++++++------------------------ - src/hb-ft.cc | 44 ++++++++++++++++++++++++--------------- - src/hb-glib.cc | 7 ++++++- - src/hb-icu.cc | 7 ++++++- - src/hb-ot-font.cc | 7 ++++++- - src/hb-shape.cc | 7 ++++++- - src/hb-shaper.cc | 9 ++++++-- - src/hb-ucdn.cc | 7 ++++++- - src/hb-uniscribe.cc | 8 +++++++ - 9 files changed, 105 insertions(+), 51 deletions(-) - -commit d3a432a7b272917edb83f8fe8468120beb37206b -Author: Ebrahim Byagowi -Date: Fri Mar 30 04:58:47 2018 +0430 - - [graphite] Make get_table threadsafe (#931) - - src/hb-graphite2.cc | 10 ++++++---- - src/hb-graphite2.h | 4 ++-- - 2 files changed, 8 insertions(+), 6 deletions(-) - -commit 80395f14e8873f30d2c9a49e42fc9febf5c87e45 -Author: Ebrahim Byagowi -Date: Thu Mar 29 22:00:41 2018 +0430 - - Make gen-* scripts LC_ALL=C compatible (#942) - - src/gen-arabic-table.py | 5 ++--- - src/gen-indic-table.py | 4 ++-- - src/gen-use-table.py | 4 ++-- - 3 files changed, 6 insertions(+), 7 deletions(-) - -commit 26e0cbd834e7a8bab331b395257e9c21dde4c2b1 -Author: Ebrahim Byagowi -Date: Thu Mar 29 21:22:47 2018 +0430 - - Actual py3 compatibility making on gen-* scripts (#941) - - src/gen-arabic-table.py | 6 ++---- - src/gen-indic-table.py | 13 +++++-------- - src/gen-use-table.py | 12 +++++++++--- - test/shaping/hb_test_tools.py | 4 ++-- - 4 files changed, 18 insertions(+), 17 deletions(-) - -commit cab2c2c08c67e7d1606c03700df3e4e9c0dc59fd -Author: Ebrahim Byagowi -Date: Thu Mar 29 12:48:47 2018 +0430 - - Make more gen-* scripts py3 compatible (#940) - - src/Makefile.am | 2 +- - src/gen-arabic-table.py | 163 +++++++++++---------- - src/gen-def.py | 2 +- - src/gen-indic-table.py | 120 +++++++-------- - src/gen-unicode-ranges.py | 8 +- - src/gen-use-table.py | 3 +- - src/hb-ot-shape-complex-indic-table.cc | 2 - - src/sample.py | 5 +- - test/fuzzing/run-shape-fuzzer-tests.py | 3 +- - test/fuzzing/run-subset-fuzzer-tests.py | 3 +- - .../data/text-rendering-tests/extract-tests.py | 3 +- - test/shaping/hb_test_tools.py | 3 +- - test/shaping/run-tests.py | 3 +- - test/subset/run-tests.py | 2 +- - 14 files changed, 166 insertions(+), 156 deletions(-) - -commit 5f7f0bfa1ecef6406cb9670b4eb057ea12c28730 -Author: Ebrahim Byagowi -Date: Thu Mar 29 04:22:53 2018 +0430 - - Add README.wine.md and touch some other docs (#939) - - Makefile.am | 3 ++- - README.python => README.python.md | 12 +++++++++--- - README.wine.md | 40 +++++++++++++++++++++++++++++++++++++++ - RELEASING.md | 25 +++++++++++++----------- - 4 files changed, 65 insertions(+), 15 deletions(-) - -commit 5aa2c6e194bc75637d3f4862a096c0e7100072e2 -Author: Behdad Esfahbod -Date: Wed Mar 28 15:33:51 2018 -0700 - - [atexit] Make hb_languate_item_t *langs freeing threadsafe - - Part of https://github.com/harfbuzz/harfbuzz/issues/923 - - src/hb-common.cc | 15 ++++++++++----- - 1 file changed, 10 insertions(+), 5 deletions(-) - -commit 8c9451107d46c87ed0e50e718977f0c286972f3b -Author: Behdad Esfahbod -Date: Wed Mar 28 14:06:58 2018 -0700 - - Fix one UBSan warning - - Fixes https://github.com/harfbuzz/harfbuzz/issues/935 - - src/hb-font-private.hh | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -commit 48baf7e389faf8a57649ddc572da2ec8ec8829bb -Author: Behdad Esfahbod -Date: Wed Mar 28 13:38:51 2018 -0700 - - [uniscribe] Fixup for previous commit - - Fixes https://github.com/harfbuzz/harfbuzz/issues/934 - - src/hb-uniscribe.cc | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit b17e1a40885245df690a14c7528939b3881e1fe4 -Author: Behdad Esfahbod -Date: Wed Mar 28 10:44:52 2018 -0700 - - [uniscribe] Fix assertion fail in checksum calc - - Program: Z:\Users\ebrahim\Desktop\harfbuzz\winbuild\util\.libs\hb-shape.exe - File: ../../src/hb-open-type-private.hh, Line 769 - - Expression: 0 == (Length & 3) - - abnormal program termination - - src/hb-uniscribe.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit a48dd6ef235d569d4b6f6f213ba93a54e142458d -Author: Ebrahim Byagowi -Date: Wed Mar 28 19:08:19 2018 +0430 - - Make gen-use-table.py py3 compatible (#932) - - src/gen-use-table.py | 105 ++++++++++++++++++++++++++------------------------- - 1 file changed, 53 insertions(+), 52 deletions(-) - -commit 1c3372786c503f3f9108971dfa8956e4cb95f65d -Author: Garret Rieger -Date: Tue Mar 27 10:42:19 2018 -0700 - - [subset] fix infinite loop bug in looping through tables for subsetting. - - src/hb-subset.cc | 2 +- - ...ase-minimized-hb-subset-fuzzer-5521982557782016 | Bin 0 -> 1228 bytes - test/api/test-subset.c | 23 +++++++++++++++++++++ - 3 files changed, 24 insertions(+), 1 deletion(-) - -commit 8fd55422c3fa2279991d93875d912fca4ee89cf5 -Author: Ebrahim Byagowi -Date: Tue Mar 27 16:57:09 2018 +0430 - - Implement an internal emojis dumper tool (#909) - - Later to be expanded to a more general tool but for now it only supports CBDT, SVG and CBDT. - - CMakeLists.txt | 2 +- - src/Makefile.am | 4 ++ - src/dump-emoji.cc | 141 ++++++++++++++++++++++++++++++++++++++++++ - src/hb-ot-color-cbdt-table.hh | 71 +++++++++++++++++++++ - src/hb-ot-color-sbix-table.hh | 79 ++++++++++++++--------- - src/hb-ot-color-svg-table.hh | 56 ++++++++++++----- - 6 files changed, 307 insertions(+), 46 deletions(-) - -commit 430f82817d048ac917f1956e07d9089b9fd7e695 -Author: Ebrahim Byagowi -Date: Tue Mar 27 13:59:56 2018 +0430 - - [ci] Fix coverage build fail (#925) - - src/Makefile.am | 14 +++++++------- - 1 file changed, 7 insertions(+), 7 deletions(-) - -commit 07851aae9d28fed751663c543799f2b59369f892 -Author: Garret Rieger -Date: Mon Mar 26 20:56:56 2018 -0600 - - [subset] Couple of fixes for fuzzer discovered issues. (#924) - - * [subset] sanitize individual DeviceRecord's as part of hdmx sanitization. - - * [subset] Fix out of bounds read with non-two byte align glyphs. - - * [subset] Just use size_device_record >= DeviceRecord::min_size. - - * [subset] Add TODO. - - * [subset] Re-order checks in hdmx sanitize. - - src/hb-ot-hdmx-table.hh | 1 + - src/hb-subset-glyf.cc | 6 +++--- - src/hb-subset.cc | 6 +++++- - ...ase-minimized-hb-subset-fuzzer-5609911946838016 | Bin 0 -> 313 bytes - ...ase-minimized-hb-subset-fuzzer-6651660668502016 | Bin 0 -> 15229 bytes - test/api/test-subset-hdmx.c | 23 +++++++++++++++++++++ - 6 files changed, 32 insertions(+), 4 deletions(-) - -commit 6f46883f5b74b206a3b77246891ab2ac57a27c4e -Author: Behdad Esfahbod -Date: Mon Mar 26 19:55:22 2018 -0700 - - [hdmx] Minor - - src/hb-ot-hdmx-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit c589681926e50834bdc614479efced7382dfbf61 -Author: Behdad Esfahbod -Date: Mon Mar 26 19:55:16 2018 -0700 - - Minor - - src/check-symbols.sh | 2 -- - 1 file changed, 2 deletions(-) - -commit 19ec366fb12afe5fce23239bbeb61e67d732a169 -Author: Behdad Esfahbod -Date: Mon Mar 26 15:09:54 2018 -0700 - - Fix previous commit - - Automake has this stupid behavior where if your Makefile.am has - syntactic error, it can get to a state that make succeeds but just - ignores broken Makefile.am. Ouch. - - src/Makefile.am | 1 - - 1 file changed, 1 deletion(-) - -commit 44b6c77c64d367eb3c9227cf1c0fbaff4ab294b2 -Author: Behdad Esfahbod -Date: Mon Mar 26 14:26:45 2018 -0700 - - Try fixing linking again - - Before 1.7.5, we were setting -fno-exceptions etc on CXXFLAGS. In 1.7.6 - we set it as CPPFLAGS. Try fixing. Also, I'm fairly sure it's safe to - set these unconditionally. - - Fixes https://github.com/harfbuzz/harfbuzz/issues/880 (or so I hope) - - src/Makefile.am | 19 +++++++------------ - test/api/Makefile.am | 2 +- - 2 files changed, 8 insertions(+), 13 deletions(-) - -commit e4d1cbfb4fbc17d7dbe08133d1e5e181e1c9bbc5 -Author: Behdad Esfahbod -Date: Mon Mar 26 14:09:29 2018 -0700 - - Add HB_SUBSET_BUILTIN - - Fixes https://github.com/harfbuzz/harfbuzz/issues/865 - - src/hb-subset.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit c14b24fcd0052fc6100c32deea6ee1dcb0c98f85 -Author: Behdad Esfahbod -Date: Mon Mar 26 10:44:54 2018 -0700 - - Add HB_NO_ATEXIT - - src/hb-private.hh | 3 +++ - 1 file changed, 3 insertions(+) - -commit aa53cb50ba3eea5c23458207faf879bd162d6599 -Author: Ebrahim Byagowi -Date: Mon Mar 26 13:28:26 2018 +0430 - - [aat] Unprefix not essentially layout tables (#921) - - src/Makefile.sources | 4 ++-- - src/{hb-aat-layout-fmtx-table.hh => hb-aat-fmtx-table.hh} | 7 ++++--- - src/hb-aat-layout.cc | 4 ++-- - src/{hb-aat-layout-ltag-table.hh => hb-aat-ltag-table.hh} | 7 ++++--- - 4 files changed, 12 insertions(+), 10 deletions(-) - -commit 8269791900cc765234915b29c974b34ed1f35519 -Author: David Corbett -Date: Sun Mar 25 20:50:41 2018 -0400 - - Allow trailing non-numeric chars in --unicodes - - util/options.cc | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit a289aaff477dfbda25b90ba5ffb1296518d68d21 -Author: Behdad Esfahbod -Date: Mon Mar 26 01:14:07 2018 -0700 - - [aat/ltag] Whitespace - - src/hb-aat-layout-ltag-table.hh | 14 ++++++-------- - 1 file changed, 6 insertions(+), 8 deletions(-) - -commit 158f2810b2868c7398dc80cbb089b88a566ce99e -Author: Ebrahim Byagowi -Date: Mon Mar 26 12:04:30 2018 +0430 - - [aat/ltag] Implement the table parsing (#911) - - src/Makefile.sources | 2 ++ - src/hb-aat-layout-fmtx-table.hh | 6 ++-- - src/hb-aat-layout-kerx-table.hh | 4 +-- - src/hb-aat-layout-ltag-table.hh | 80 +++++++++++++++++++++++++++++++++++++++++ - src/hb-aat-layout-morx-table.hh | 4 +-- - src/hb-aat-layout-trak-table.hh | 4 +-- - src/hb-aat-layout.cc | 3 +- - 7 files changed, 93 insertions(+), 10 deletions(-) - -commit 9eee38a55cdcbfd34b530dcc8defff84057a9eb2 -Author: Ebrahim Byagowi -Date: Sun Mar 25 23:56:02 2018 +0430 - - [aat/fmtx] Implement the table parsing (#910) - - src/hb-aat-layout-fmtx-table.hh | 67 +++++++++++++++++++++++++++++++++++++++++ - src/hb-aat-layout-trak-table.hh | 4 +-- - src/hb-aat-layout.cc | 1 + - 3 files changed, 70 insertions(+), 2 deletions(-) - -commit 1d3f4f835175c658c63e96be12052b80d27cf6fa -Author: Ebrahim Byagowi -Date: Sun Mar 25 18:45:50 2018 +0430 - - [ci] Add a build only apple-gcc-4.2 i686 bot - - .circleci/config.yml | 13 +++++++++++++ - 1 file changed, 13 insertions(+) - -commit fe18c471a4aee1f6eba62383b64f0a8969cbc6ea -Author: Ebrahim Byagowi -Date: Sun Mar 25 18:19:23 2018 +0430 - - [dwrite] minor - - src/dev-run.sh | 5 ++- - src/hb-directwrite.cc | 118 ++++++++++++++++++++------------------------------ - 2 files changed, 50 insertions(+), 73 deletions(-) - -commit ebccd019749e24e6c045518ee1ffbfc947744204 -Author: Behdad Esfahbod -Date: Sat Mar 24 17:51:55 2018 -0700 - - More ULL fixes - - Fixes https://github.com/harfbuzz/harfbuzz/issues/901 - - src/hb-private.hh | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - -commit 7ec3ba21f0dc43f9f8ea1fc4344d3ea4524841b1 -Author: Behdad Esfahbod -Date: Sat Mar 24 14:12:12 2018 -0700 - - Define uint64_t constants with ULL suffix - - Fixes https://github.com/harfbuzz/harfbuzz/issues/901 - - src/hb-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 19256bef9d264f96187261929992b96e61fa43fd -Author: Chun-wei Fan -Date: Mon Mar 12 13:33:03 2018 +0800 - - hb-private.hh: Add fallback implementation for round() - - For pre-C99 compilers that do not support round(), we need to have a - simplistic implementation for it, when it is not detected during build - configuration, either via CMake or autotools, by using floor() and - ceil(), which are provided in the pre-C99 compilers. - - Please see discussion at commit 86a0ac2 for more details for re-adding - this patch. - - src/hb-private.hh | 13 +++++++++++++ - 1 file changed, 13 insertions(+) - -commit 95f0458f44e9a7ec250f1bc7d9f060745dbabcf3 -Author: Nikolaus Waxweiler -Date: Fri Mar 23 19:38:11 2018 +0000 - - Policy 0063 must be enabled to have hidden inline visibility... (#900) - - ...on static builds. - - CMakeLists.txt | 2 ++ - 1 file changed, 2 insertions(+) - -commit 2a236063392c4f7c4d718be36d2dec2b8804b560 -Author: Ebrahim Byagowi -Date: Fri Mar 23 18:37:01 2018 +0430 - - Fix llvm-gcc-4.2 compile issue and add a macOS bot to test it (#899) - - .circleci/config.yml | 16 ++++++++++++++++ - src/hb-open-file-private.hh | 12 +++++++----- - src/hb-ot-glyf-table.hh | 40 ++++++++++++++++++++++------------------ - src/hb-ot-kern-table.hh | 2 +- - 4 files changed, 46 insertions(+), 24 deletions(-) - -commit 7919033ce8f6fd32b2dd980ad0aa59c7149a4827 -Author: Ebrahim Byagowi -Date: Thu Mar 22 16:04:38 2018 +0430 - - [dwrite] Replace rest of 'malloc/free's with 'new/delete' (#897) - - src/hb-directwrite.cc | 251 +++++++++++++++++++++++++------------------------- - 1 file changed, 127 insertions(+), 124 deletions(-) - -commit 3f55e0e74680c246819233a7250df612821698d7 -Author: Garret Rieger -Date: Tue Mar 20 17:36:52 2018 -0700 - - [subset] Check for the Null table and not nullptr to detect failure to find a table in glyf accelerator. - - src/hb-ot-glyf-table.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 45def99eae81e470be3c38d2962aafaaa85500b9 -Author: Garret Rieger -Date: Tue Mar 20 17:28:47 2018 -0700 - - [subset] Fix to debug message. - - src/hb-subset-glyf.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 139661404006b8be039436a81cb6b1a73ec44042 -Author: Garret Rieger -Date: Tue Mar 20 16:55:42 2018 -0700 - - [subset] don't use pointers returned from push after array has resized in hb-subset-glyf.cc - - src/hb-subset-glyf.cc | 9 +++++++-- - .../crash-b577db318b30f2851828a4c9ef97cb30678b1b54 | Bin 0 -> 22473 bytes - 2 files changed, 7 insertions(+), 2 deletions(-) - -commit 3531efdb4c641ef543ea0686fef9289307d52096 -Author: Garret Rieger -Date: Tue Mar 20 16:31:21 2018 -0700 - - [subset] Fixed out of bounds read when subsetting hdmx. - - src/hb-ot-hdmx-table.hh | 30 ++++++++++++++++----- - .../crash-ccc61c92d589f895174cdef6ff2e3b20e9999a1a | Bin 0 -> 63302 bytes - test/api/test-subset-hdmx.c | 23 ++++++++++++++++ - 3 files changed, 47 insertions(+), 6 deletions(-) - -commit e597436b994c0a553e85e4c2dbd74aa037e69b60 -Author: Garret Rieger -Date: Tue Mar 20 13:00:49 2018 -0700 - - [subset] Disable glyf accelerator_t methods if it didn't successfully init. - - src/hb-ot-glyf-table.hh | 7 ++++++- - .../crash-4b60576767ee4d9fe1cc10959d89baf73d4e8249 | Bin 0 -> 3140 bytes - test/api/test-subset.c | 23 +++++++++++++++++++++ - 3 files changed, 29 insertions(+), 1 deletion(-) - -commit 7251181b56af564e2a9444f002f8ac03f98c7ee3 -Author: Garret Rieger -Date: Tue Mar 20 11:21:06 2018 -0700 - - [subset] Fix infinite loop in there are more then 32 tables. - - src/hb-subset.cc | 1 + - test/api/Makefile.am | 1 + - .../oom-6ef8c96d3710262511bcc730dce9c00e722cb653 | Bin 0 -> 24233 bytes - test/api/test-subset.c | 62 +++++++++++++++++++++ - 4 files changed, 64 insertions(+) - -commit 1a94804d35d533d39849d21a177039c4cbfade98 -Author: Garret Rieger -Date: Mon Mar 19 18:39:22 2018 -0700 - - [subset] Add a fix for segfault in hmtx/vmtx subsetting code. - - src/hb-ot-hmtx-table.hh | 13 +++++++++++-- - test/api/test-subset-hmtx.c | 3 ++- - 2 files changed, 13 insertions(+), 3 deletions(-) - -commit 31281d6a17a03a124456a4cab54e31b248b41267 -Author: Garret Rieger -Date: Mon Mar 19 17:47:57 2018 -0700 - - [subset] Add a test demonstrating a seg fault while subsetting hmtx. - - .../crash-e4e0bb1458a91b692eba492c907ae1f94e635480 | Bin 0 -> 63302 bytes - test/api/test-subset-hmtx.c | 22 +++++++++++++++++++++ - 2 files changed, 22 insertions(+) - -commit b5c7d6cffc2098dafa06822b28a5fd4f6218b60c -Author: Garret Rieger -Date: Fri Mar 16 10:20:21 2018 -0700 - - [subset] Restore subset to hb-subset-fuzzer. - - test/fuzzing/Makefile.am | 2 +- - test/fuzzing/hb-subset-fuzzer.cc | 2 -- - 2 files changed, 1 insertion(+), 3 deletions(-) - -commit 957e7756634a4fdf1654041e20e883cf964ecac9 -Author: Ebrahim Byagowi -Date: Mon Mar 19 12:19:42 2018 +0330 - - [dwrite] Use new again and enable the build on msys2 bots (#890) - - appveyor.yml | 7 ++++--- - src/hb-directwrite.cc | 19 ++++++++----------- - 2 files changed, 12 insertions(+), 14 deletions(-) - -commit 8d1b4082ae01b8fd87b2e83c89f670c1c7cfa0b1 -Author: Ebrahim Byagowi -Date: Sat Mar 17 01:05:03 2018 +0330 - - Appropriate fix for msys2 bot fail on gen-def.py (#894) - - src/Makefile.am | 2 +- - src/gen-def.py | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit 7b4333b090a3adf04519ec853456cafff07dedf0 -Author: Ebrahim Byagowi -Date: Fri Mar 16 22:45:09 2018 +0330 - - Do feature test before adding -Bsymbolic-functions, autotools part (#892) - - configure.ac | 2 +- - m4/ax_check_link_flag.m4 | 74 ++++++++++++++++++++++++++++++++++++++++++++++++ - 2 files changed, 75 insertions(+), 1 deletion(-) - -commit d68f00e4d8b061f56d3bd46d5ed1bc51406a4f1a -Author: Joel Winarske -Date: Fri Mar 16 12:14:27 2018 -0700 - - Do feature test before adding -Bsymbolic-functions, cmake part (#889) - - CMakeLists.txt | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -commit 42d3271cc39050c9df5f8c7345322ae90592158e -Author: Ebrahim Byagowi -Date: Fri Mar 16 22:39:58 2018 +0330 - - [cmake] Don't hide symbols by default (#891) - - But keep use of cmake idiomatic way of making inlines hidden - - CMakeLists.txt | 17 ++--------------- - 1 file changed, 2 insertions(+), 15 deletions(-) - -commit 584693e0cb3585a910b18d7916d7e554ecdf619a -Author: Garret Rieger -Date: Thu Mar 15 18:27:01 2018 -0700 - - [subset] Test not linking libharfbuzz-subset-fuzzing into hb-subset-fuzzer. - - test/fuzzing/Makefile.am | 2 +- - test/fuzzing/hb-subset-fuzzer.cc | 2 ++ - test/fuzzing/run-subset-fuzzer-tests.py | 2 +- - 3 files changed, 4 insertions(+), 2 deletions(-) - -commit 3f9361fe7a68896d2a5a44709ec08fe510144215 -Author: Garret Rieger -Date: Thu Mar 15 18:06:15 2018 -0700 - - [subset] Test hb-shape-fuzzer in run-subset-fuzzer-tests. - - test/fuzzing/run-subset-fuzzer-tests.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit ce368e0d05147e70d8ad90383d748644b07f1d6f -Author: Garret Rieger -Date: Thu Mar 15 18:04:54 2018 -0700 - - [subset] make libharfbuzz-subset-fuzzing.la depend on lib target. - - test/fuzzing/Makefile.am | 1 + - 1 file changed, 1 insertion(+) - -commit 85a57029cdad634f56aa3ccc768e72bcb03888e3 -Author: Garret Rieger -Date: Thu Mar 15 16:31:38 2018 -0700 - - [subset] %d -> %zu - - test/fuzzing/hb-subset-fuzzer.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 318eea585329807477aab4eec173b561a08a46ca -Author: Garret Rieger -Date: Thu Mar 15 16:14:01 2018 -0700 - - [subset] Add some more logging to hb-subset-fuzzer. - - test/fuzzing/hb-subset-fuzzer.cc | 1 + - 1 file changed, 1 insertion(+) - -commit 64bab8b3d009ed4327c2db9fa3425682de225810 -Author: Garret Rieger -Date: Thu Mar 15 16:12:00 2018 -0700 - - [subset] Fix run-shape-fuzzer-tests.py. It was generating incorrect paths for input fonts. - - test/fuzzing/run-shape-fuzzer-tests.py | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -commit 6f9a584371ba4a9a63be3fa89f46474047a43ceb -Author: Garret Rieger -Date: Thu Mar 15 15:41:08 2018 -0700 - - [subset] Add more verbose output for subset fuzzer test. - - test/fuzzing/run-shape-fuzzer-tests.py | 2 +- - test/fuzzing/run-subset-fuzzer-tests.py | 8 ++++++-- - 2 files changed, 7 insertions(+), 3 deletions(-) - -commit 0ce0f8781213f8f01b9ebc8cfa31434784899952 -Author: Garret Rieger -Date: Thu Mar 15 13:04:31 2018 -0700 - - [subset] Rename hb-fuzzer -> hb-shape-fuzzer. - - test/fuzzing/CMakeLists.txt | 16 ++++++++-------- - test/fuzzing/Makefile.am | 16 ++++++++-------- - test/fuzzing/{hb-fuzzer.cc => hb-shape-fuzzer.cc} | 0 - .../{run-fuzzer-tests.py => run-shape-fuzzer-tests.py} | 12 ++++++------ - 4 files changed, 22 insertions(+), 22 deletions(-) - -commit 1e9bd6d5ff0af0189b6398c5e13cff11ee70762b -Author: Garret Rieger -Date: Wed Mar 14 19:58:15 2018 -0700 - - [subset] Add rub-subset-fuzzer-tests.py to dist files. - - test/fuzzing/Makefile.am | 1 + - 1 file changed, 1 insertion(+) - -commit 474afaafd908a9c8174e05d693ac214ef2cc2597 -Author: Garret Rieger -Date: Wed Mar 14 19:15:33 2018 -0700 - - [subset] Add a test runner for hb-subset-fuzzer and cmake build config. - - test/fuzzing/CMakeLists.txt | 9 +++++++++ - test/fuzzing/Makefile.am | 3 ++- - test/fuzzing/run-subset-fuzzer-tests.py | 31 +++++++++++++++++++++++++++++++ - 3 files changed, 42 insertions(+), 1 deletion(-) - -commit aa9612d35f59f7f269fba4797c8da491844c56ec -Author: Garret Rieger -Date: Mon Mar 12 18:04:34 2018 -0700 - - [subset] Fix fuzzing build for hb-subset-fuzzer. - - src/Makefile.am | 19 +++---------------- - test/fuzzing/Makefile.am | 1 + - 2 files changed, 4 insertions(+), 16 deletions(-) - -commit b674fc1f9fa36857214ddaba3d32877f03ffec8c -Author: Garret Rieger -Date: Mon Mar 12 16:33:47 2018 -0700 - - [subset] Add missing destroy of subsetting result in subset fuzzer. - - test/fuzzing/hb-subset-fuzzer.cc | 1 + - 1 file changed, 1 insertion(+) - -commit 1beb08862e9bd668599f0385d7ba59272fc24912 -Author: Garret Rieger -Date: Mon Mar 12 16:08:16 2018 -0700 - - [subset] First pass at setting up a fuzzing program for hb-subset. - - src/Makefile.am | 24 +++++++++++++++++++++++- - test/fuzzing/Makefile.am | 15 +++++++++++++++ - test/fuzzing/hb-subset-fuzzer.cc | 37 +++++++++++++++++++++++++++++++++++++ - 3 files changed, 75 insertions(+), 1 deletion(-) - -commit 127096e4748d6381339342fc2750dd540e815fa5 -Author: Behdad Esfahbod -Date: Thu Mar 15 13:23:27 2018 -0700 - - [util] Remove line buffering - - Something weird seems to be going on. Just kill it. - - Fixes https://github.com/harfbuzz/harfbuzz/issues/888 - - configure.ac | 2 +- - util/options.cc | 12 ------------ - 2 files changed, 1 insertion(+), 13 deletions(-) - -commit e6e2ee2b923f8ab7c0694d4557375ba316e15dff -Author: Behdad Esfahbod -Date: Thu Mar 15 09:05:22 2018 -0700 - - Remove extra stdbool includes - - They are handled in our common header. - - test/api/test-subset-post.c | 2 -- - test/api/test-subset-vmtx.c | 2 -- - 2 files changed, 4 deletions(-) - -commit a0dccb6188d7a9174643c7239041cb1a5300b957 -Author: Behdad Esfahbod -Date: Wed Mar 14 16:31:53 2018 +0100 - - Add NameID - - src/hb-aat-layout-trak-table.hh | 8 ++++---- - src/hb-open-type-private.hh | 3 +++ - src/hb-ot-layout-common-private.hh | 10 +++++----- - src/hb-ot-var-fvar-table.hh | 6 +++--- - 4 files changed, 15 insertions(+), 12 deletions(-) - -commit 56946d21c0696ed6a098434537979396171c9bfb -Author: Behdad Esfahbod -Date: Wed Mar 14 16:26:33 2018 +0100 - - [color/COLR] Simplify - - src/hb-ot-color-colr-table.hh | 48 +++---------------------------------------- - 1 file changed, 3 insertions(+), 45 deletions(-) - -commit 6418ae4e8a3f4681cb4e7d54c589562930bc0678 -Author: Behdad Esfahbod -Date: Wed Mar 14 16:18:42 2018 +0100 - - [color/COLR] Clean up - - src/hb-aat-layout-common-private.hh | 84 ------------------------------------- - src/hb-open-type-private.hh | 84 +++++++++++++++++++++++++++++++++++++ - src/hb-ot-color-colr-table.hh | 30 ++++++------- - 3 files changed, 99 insertions(+), 99 deletions(-) - -commit 150c53ee969876c2831b6165cb71655e7ce2dbdb -Author: Behdad Esfahbod -Date: Wed Mar 14 16:08:12 2018 +0100 - - [color/COLR] Fix bad sanitize - - Bad bad bad bad code. Don't do that. If compiler's not happy, understand why. - - src/hb-ot-color-colr-table.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 399c800b93879186da2b7c892c7aa21468f062f2 -Author: Behdad Esfahbod -Date: Wed Mar 14 16:03:01 2018 +0100 - - [color/COLR] Clean up - - src/hb-ot-color-colr-table.hh | 32 +++++++++++++++++--------------- - 1 file changed, 17 insertions(+), 15 deletions(-) - -commit 9e337341d54c4ee12eec58e025a6831bb976d61f -Author: Behdad Esfahbod -Date: Wed Mar 14 15:52:53 2018 +0100 - - [color/cbdt] Clean up - - src/hb-ot-color-cbdt-table.hh | 112 ++++++++++++++++++++---------------------- - 1 file changed, 54 insertions(+), 58 deletions(-) - -commit 86a0ac284fc4c2ce96354bfdf32878b6db5c77bd -Author: Behdad Esfahbod -Date: Wed Mar 14 15:51:33 2018 +0100 - - Revert "hb-private.hh: Add fallback implementation for round()" - - This reverts commit b9dcbb1f8312d8606b230f75594d40b7d4087004. - - This is gross. Should be only done if a specific macro is defined. Not the other way - around. This fails my build as autotools companions where not added anyway. - - src/hb-private.hh | 13 ------------- - 1 file changed, 13 deletions(-) - -commit 791d80a1d42ce0bd7c5f0a3d3d10c562a6161a82 -Merge: d4907e83e 22de9bf56 -Author: Ebrahim Byagowi -Date: Thu Mar 15 11:40:52 2018 +0330 - - Merge pull request #886 from madig/only-export-visible-symbols - - CMake: hide symbols by default on non-MSVC, define export attribute - -commit 22de9bf56d80dbf6a13a06beafd21711bdab78af -Author: Nikolaus Waxweiler -Date: Wed Mar 14 10:29:24 2018 +0000 - - Enable implicit symbol hiding for all libraries, static and shared - - This covers all built libraries now and both static and shared builds. - - CMakeLists.txt | 35 +++++++++++++++++++++++------------ - 1 file changed, 23 insertions(+), 12 deletions(-) - -commit d4907e83ef8e0d03acb701957cc1ee9acacb0a19 -Author: Ebrahim Byagowi -Date: Wed Mar 14 11:04:28 2018 +0330 - - [dwrite] GCC/mingw/msys2 compatibility (#884) - - src/hb-directwrite.cc | 37 +++++++++++++++++++++---------------- - 1 file changed, 21 insertions(+), 16 deletions(-) - -commit 93f8f89dedd2f8cf5eb40165a20d009de24c5eda -Author: Ebrahim Byagowi -Date: Wed Mar 14 09:56:31 2018 +0330 - - [ci] Trying to fix gen-def issue on appveyor (#885) - - src/gen-def.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit ce975dce7ae8950b6e7b9a2d0c00ead9d45f73ff -Author: Nikolaus Waxweiler -Date: Wed Mar 14 00:50:32 2018 +0000 - - CMake: hide symbols by default on non-MSVC, define export attribute - - This change makes sure that non-MSVC builds using CMake properly hide - non-exported functions. - - CMakeLists.txt | 20 ++++++++++++-------- - 1 file changed, 12 insertions(+), 8 deletions(-) - -commit a12dd6f75d85cf29ed78182ac97a12ebbcf77375 -Merge: 28f25f32f 7c43adab6 -Author: Ebrahim Byagowi -Date: Wed Mar 14 02:54:07 2018 +0330 - - Merge pull request #877 from fanc999/master.msvc - - Fix CMake builds on Windows, MSVC in particular - -commit 7c43adab6deb9302a24cc857c4aaa9b6b62215d2 -Author: Chun-wei Fan -Date: Mon Mar 12 16:43:53 2018 +0800 - - CMake: Fix utility program installation - - Put in the utility program that was missed in installation by replacing - the one that was duplicated. - - CMakeLists.txt | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit e9b8002a6024d7a9b6de204897345ae77bb50881 -Author: Chun-wei Fan -Date: Mon Mar 12 16:23:57 2018 +0800 - - CMake: Fix introspection on Windows - - The list of source files to pass to g-ir-scanner is becoming too - long for Windows, as Windows imposes a 8192-character limit for command - lines, so we need to first transform that list into a listings file, and - then use the --filelist option for g-ir-scanner to build the - introspection files. - - CMakeLists.txt | 9 +++++++-- - 1 file changed, 7 insertions(+), 2 deletions(-) - -commit 831d4a2dab1f229811c3a90b791f2a19c88fc1b5 -Author: Chun-wei Fan -Date: Mon Mar 12 13:48:55 2018 +0800 - - test/api: Fix building subset tests - - Include stdbool.h in hb-setset-test.h instead of in the individual - sources, if it is found; otherwise use a simplistic fallback for it if - it is not found. - - Also declare variables at the top of the block, to build on pre-C99 - compiliers. - - test/api/hb-subset-test.h | 17 +++++++++++++++-- - test/api/test-subset-cmap.c | 8 ++++---- - test/api/test-subset-glyf.c | 23 ++++++++++++++--------- - test/api/test-subset-hdmx.c | 8 ++++---- - test/api/test-subset-hmtx.c | 17 ++++++++++------- - test/api/test-subset-os2.c | 4 ++-- - 6 files changed, 49 insertions(+), 28 deletions(-) - -commit eda6a5ea807ba8a4e7fa20ad0273b394ed72d106 -Author: Chun-wei Fan -Date: Mon Mar 12 13:38:01 2018 +0800 - - CMake: Fix running tests on Windows - - For the API tests, output the test programs at $(TOP_BUILDDIR) so that - the freshly-built DLLs will be available for the test programs. For - those that are run through the Python wrapper scripts, use - ${PYTHON_EXECUTABLE} instead of plain 'python' in case the Python - interpreter is not in the PATH. - - test/api/CMakeLists.txt | 7 ++++++- - test/fuzzing/CMakeLists.txt | 2 +- - test/shaping/CMakeLists.txt | 4 ++-- - test/subset/CMakeLists.txt | 2 +- - 4 files changed, 10 insertions(+), 5 deletions(-) - -commit b9dcbb1f8312d8606b230f75594d40b7d4087004 -Author: Chun-wei Fan -Date: Mon Mar 12 13:33:03 2018 +0800 - - hb-private.hh: Add fallback implementation for round() - - Add a simplistic round() implementation for our purposes, used when the - compiler does not support round() directly. - - src/hb-private.hh | 13 +++++++++++++ - 1 file changed, 13 insertions(+) - -commit 89dbabff65a39dfb0d9ad036516d5b96c37739de -Author: Chun-wei Fan -Date: Mon Mar 12 13:27:38 2018 +0800 - - configure.ac/CMake: Check for round() and stdbool.h - - Not all the compilers that HarfBuzz is buildable on supports round() and - has the header stdbool.h, so we check for them and define HAVE_ROUND and - HAVE_STDBOOL_H repsectively in our CFLAGS so that we include them only - when they are found, or use fallback implementations when necessary. - - Also include FindPythonInterp earlier as we need PYTHON_EXECUTABLE to be - set for running the tests. - - CMakeLists.txt | 12 ++++++++++-- - configure.ac | 9 ++++++++- - 2 files changed, 18 insertions(+), 3 deletions(-) - -commit 28f25f32fc63c3e1ae0d04b6eb5ea6b729fb2228 -Author: Ebrahim Byagowi -Date: Mon Mar 12 14:00:11 2018 +0330 - - [ot-color/SVG] Minor (#878) - - src/hb-ot-color-svg-table.hh | 24 ++++++++++++++++-------- - 1 file changed, 16 insertions(+), 8 deletions(-) - -commit fb0f3e3767b488651f13978c1fd8651aefdd6b83 -Author: Behdad Esfahbod -Date: Sun Mar 11 20:38:40 2018 +0100 - - [sbix] Clean up - - src/hb-ot-color-sbix-table.hh | 70 +++++++++++++++++++++++-------------------- - 1 file changed, 37 insertions(+), 33 deletions(-) - -commit 218fa7166e9626f2036d08882854a86d753e4192 -Author: Ebrahim Byagowi -Date: Sat Mar 10 11:13:52 2018 +0330 - - [ot-color] SVG table implementation (#874) - - src/Makefile.sources | 3 +- - src/hb-ot-color-svg-table.hh | 111 +++++++++++++++++++++++++++++++++++++++++++ - src/hb-ot-layout.cc | 1 + - 3 files changed, 114 insertions(+), 1 deletion(-) - -commit 4c63c82383cba11f2c44c00cbc953863346e627c -Author: Ebrahim Byagowi -Date: Sat Mar 10 11:07:56 2018 +0330 - - [ot-color] sbix table implementation (#870) - - src/Makefile.sources | 1 + - src/hb-ot-color-sbix-table.hh | 128 ++++++++++++++++++++++++++++++++++++++++++ - src/hb-ot-layout.cc | 1 + - 3 files changed, 130 insertions(+) - -commit 62b3d8fb7034c53e0804689d58e2eb7330e04430 -Author: Ebrahim Byagowi -Date: Sat Mar 10 00:44:36 2018 +0330 - - [dev-run] minor - - src/dev-run.sh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 743ef317619a57ebf5a75935db0eecccade5d5b7 -Merge: 9206762bb 39b2f69fa -Author: Garret Rieger -Date: Fri Mar 9 12:06:52 2018 -0700 - - Merge pull request #872 from googlefonts/drop-tables - - [subset] Drop the same tables by default as fontTools does. - -commit 9206762bbd4033e97d6d35ef1cce1b7940fbc935 -Author: Ebrahim Byagowi -Date: Fri Mar 9 15:43:03 2018 +0330 - - Make subset test runner compatible with py3 - - Fixes #873 - - test/subset/run-tests.py | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit dbadb871d1ca62eff10768564fc0a17b9aaa4d63 -Author: Ebrahim Byagowi -Date: Fri Mar 9 15:25:59 2018 +0330 - - [ci] Enable subset tests on ArchLinux to test - - This makes ArchLinux bots fail, a starting point to #873 - - .circleci/config.yml | 7 ++++--- - 1 file changed, 4 insertions(+), 3 deletions(-) - -commit 39b2f69fab3b8aec1296dcda111d358559d39f0b -Author: Garret Rieger -Date: Thu Mar 8 16:30:36 2018 -0800 - - [subset] Drop the same tables by default as fontTools does. - - src/hb-subset.cc | 49 ++++++++++++++++++++++++++++++++++--------------- - 1 file changed, 34 insertions(+), 15 deletions(-) - -commit dbe552770fa7cec91bba750e0e81aaeae96b3caf -Merge: 2ebf4c69b 8548fa152 -Author: Garret Rieger -Date: Thu Mar 8 15:50:25 2018 -0700 - - Merge pull request #871 from googlefonts/mplus - - [subset] Add a Japanese font to the subset integration tests. - -commit 8548fa152241d6c5b020146f97aac15934ba0065 -Author: Garret Rieger -Date: Wed Mar 7 12:37:03 2018 -0800 - - [subset] Drop cmap 12, platform 0 tables from Mplus1p expected files. - - ...-Regular.default.3042,3044,3046,3048,304A,304B.ttf | Bin 3040 -> 3032 bytes - ...-Regular.default.3042,3044,3046,73E0,5EA6,8F38.ttf | Bin 3276 -> 3268 bytes - .../japanese/Mplus1p-Regular.default.61,63,65,6B.ttf | Bin 2592 -> 2584 bytes - ...-Regular.default.660E,6975,73E0,5EA6,8F38,6E05.ttf | Bin 3572 -> 3564 bytes - .../japanese/Mplus1p-Regular.default.660E.ttf | Bin 2356 -> 2348 bytes - ...gular.drop-hints.3042,3044,3046,3048,304A,304B.ttf | Bin 2312 -> 2304 bytes - ...gular.drop-hints.3042,3044,3046,73E0,5EA6,8F38.ttf | Bin 2548 -> 2540 bytes - .../Mplus1p-Regular.drop-hints.61,63,65,6B.ttf | Bin 1864 -> 1856 bytes - ...gular.drop-hints.660E,6975,73E0,5EA6,8F38,6E05.ttf | Bin 2844 -> 2836 bytes - .../japanese/Mplus1p-Regular.drop-hints.660E.ttf | Bin 1628 -> 1620 bytes - 10 files changed, 0 insertions(+), 0 deletions(-) - -commit 9b00b9a10d5fdfd2d9deb1b0e847695797b7e09b -Author: Garret Rieger -Date: Tue Mar 6 17:47:40 2018 -0800 - - [subset] Fix deadlock waiting for process output in subset test runner. - - test/subset/run-tests.py | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit bfec28a7db0631f42dd420a8c04638624e4602af -Author: Garret Rieger -Date: Tue Mar 6 15:43:08 2018 -0800 - - [subset] add some extra logging to subset run-tests.py. - - test/subset/run-tests.py | 2 ++ - 1 file changed, 2 insertions(+) - -commit c7d814eaa8e9af6c447124ceeaa896eb5e17abd7 -Author: Garret Rieger -Date: Thu Mar 1 18:20:00 2018 -0800 - - [subset] Add japanese font file to subset integration tests. - - test/subset/data/Makefile.am | 1 + - test/subset/data/Makefile.sources | 1 + - ...-Regular.default.3042,3044,3046,3048,304A,304B.ttf | Bin 0 -> 3040 bytes - ...-Regular.default.3042,3044,3046,73E0,5EA6,8F38.ttf | Bin 0 -> 3276 bytes - .../japanese/Mplus1p-Regular.default.61,63,65,6B.ttf | Bin 0 -> 2592 bytes - ...-Regular.default.660E,6975,73E0,5EA6,8F38,6E05.ttf | Bin 0 -> 3572 bytes - .../japanese/Mplus1p-Regular.default.660E.ttf | Bin 0 -> 2356 bytes - ...gular.drop-hints.3042,3044,3046,3048,304A,304B.ttf | Bin 0 -> 2312 bytes - ...gular.drop-hints.3042,3044,3046,73E0,5EA6,8F38.ttf | Bin 0 -> 2548 bytes - .../Mplus1p-Regular.drop-hints.61,63,65,6B.ttf | Bin 0 -> 1864 bytes - ...gular.drop-hints.660E,6975,73E0,5EA6,8F38,6E05.ttf | Bin 0 -> 2844 bytes - .../japanese/Mplus1p-Regular.drop-hints.660E.ttf | Bin 0 -> 1628 bytes - test/subset/data/fonts/Mplus1p-Regular.ttf | Bin 0 -> 1758820 bytes - test/subset/data/tests/japanese.tests | 16 ++++++++++++++++ - 14 files changed, 18 insertions(+) - -commit 2ebf4c69b18452caa0c871aebec9785e80348166 -Merge: 1ab514805 869ccac5a -Author: Garret Rieger -Date: Thu Mar 8 14:41:59 2018 -0700 - - Merge pull request #868 from googlefonts/post - - [subset] Drop glyph names from post when subsetting. - -commit 869ccac5ab69060f2db2893014b5538539fd4f45 -Author: Garret Rieger -Date: Thu Mar 8 11:06:49 2018 -0800 - - [subset] use create_sub_blob instead of manually copying the post table. - - src/hb-ot-post-table.hh | 20 +++++++------------- - 1 file changed, 7 insertions(+), 13 deletions(-) - -commit ec47cd95ba6c550314a1cbcc46fafd7946e52ece -Author: Garret Rieger -Date: Wed Mar 7 10:33:02 2018 -0800 - - [subset] Unit test to check that post subsetting drops glyph names. - - test/api/Makefile.am | 2 + - ...lus1p-Regular.660E,6975,73E0,5EA6,8F38,6E05.ttf | Bin 3572 -> 3724 bytes - test/api/test-subset-post.c | 61 +++++++++++++++++++++ - 3 files changed, 63 insertions(+) - -commit dd107699938740e261948e4b525fa0ad501beb03 -Author: Garret Rieger -Date: Tue Mar 6 18:33:39 2018 -0800 - - [subset] drop all glyph names from the post table. - - src/hb-ot-post-table.hh | 28 ++++++++++++++++++++++++++++ - src/hb-subset.cc | 4 ++++ - 2 files changed, 32 insertions(+) - -commit 1ab514805ced190efdabc2103e4800d40b248300 -Merge: 70ad69f24 362f28240 -Author: Garret Rieger -Date: Wed Mar 7 12:36:00 2018 -0700 - - Merge pull request #867 from googlefonts/vmtx - - [subset] Add vmtx subsetting. - -commit 362f28240683fde395ff52f4fc1216fbc7131452 -Author: Garret Rieger -Date: Wed Mar 7 11:08:55 2018 -0800 - - [subset] fix author. - - test/api/test-subset-vmtx.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 89465cb1c7b8ab61c0ef4887f51572ba91039f3e -Author: Garret Rieger -Date: Wed Mar 7 10:29:15 2018 -0800 - - [subset] s/hmetrics/vmetrics. - - test/api/test-subset-vmtx.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 91867cda6ae5ae063482b28b0a52ebc30718cb40 -Author: Garret Rieger -Date: Wed Mar 7 10:17:06 2018 -0800 - - [subset] cleanup. - - src/hb-subset.cc | 2 +- - test/api/test-subset-vmtx.c | 3 +-- - 2 files changed, 2 insertions(+), 3 deletions(-) - -commit d9263f0230693d108249be0904bc5a3280560cb3 -Author: Garret Rieger -Date: Tue Mar 6 15:40:35 2018 -0800 - - [subset] add unit tests for vmtx subsetting. - - test/api/Makefile.am | 2 + - ...lus1p-Regular.660E,6975,73E0,5EA6,8F38,6E05.ttf | Bin 0 -> 3572 bytes - test/api/fonts/Mplus1p-Regular.660E.ttf | Bin 0 -> 2356 bytes - test/api/test-subset-vmtx.c | 100 +++++++++++++++++++++ - 4 files changed, 102 insertions(+) - -commit 0e8f9430c83c076993a0c7a320713bb484051343 -Author: Garret Rieger -Date: Tue Mar 6 13:08:20 2018 -0800 - - [subset] Skip subsetting vhea. - - src/hb-subset.cc | 3 +++ - 1 file changed, 3 insertions(+) - -commit 64cf53d6197a0e6c56aef744ceff2f8a0ff85654 -Author: Garret Rieger -Date: Fri Mar 2 17:33:49 2018 -0800 - - [subset] Subset vmtx if present. - - src/hb-ot-hmtx-table.hh | 2 +- - src/hb-subset.cc | 3 +++ - 2 files changed, 4 insertions(+), 1 deletion(-) - -commit 70ad69f2449d754fcc5270ff3ca3848a77f4c7af -Author: Behdad Esfahbod -Date: Wed Mar 7 16:11:44 2018 +0100 - - [test] Fix build with older glib - - test/api/hb-subset-test.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit ff2f81432bb0484a019a678058595e10217df51d -Author: Behdad Esfahbod -Date: Wed Mar 7 16:05:14 2018 +0100 - - 1.7.6 - - NEWS | 15 +++++++++++++++ - configure.ac | 2 +- - src/hb-version.h | 4 ++-- - 3 files changed, 18 insertions(+), 3 deletions(-) - -commit ac2ece3e153167224c85cc384e2826ea9711a8b5 -Author: Behdad Esfahbod -Date: Wed Mar 7 15:52:42 2018 +0100 - - [ot] Comment out AAT include - - src/hb-ot-shape.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 23a9ac993862b4a9032d38e80491a769b7ee86da -Author: Behdad Esfahbod -Date: Wed Mar 7 15:51:42 2018 +0100 - - Remove hb-ot-color.h - - So I can make a release. - - src/Makefile.sources | 1 - - src/hb-ot-color-cpal-table.hh | 48 +++++++++++++++++++++++++ - src/hb-ot-color.h | 81 ------------------------------------------- - src/hb-ot.h | 1 - - 4 files changed, 48 insertions(+), 83 deletions(-) - -commit 790a11700773dd664e4d5edac63c404c5ebce080 -Author: Behdad Esfahbod -Date: Wed Mar 7 15:31:15 2018 +0100 - - [ot] Remove hb-ot-base.h - - BASE table API will go into hb-ot-layout.h. - - src/Makefile.sources | 1 - - src/hb-ot-base.h | 56 ------------------------------------------ - src/hb-ot-layout-base-table.hh | 1 - - src/hb-ot-layout.h | 16 ++++++++++++ - src/hb-ot.h | 1 - - 5 files changed, 16 insertions(+), 59 deletions(-) - -commit f014a124f582215fa96afc28b534a1ca0bf17167 -Author: Behdad Esfahbod -Date: Wed Mar 7 10:49:26 2018 +0100 - - [set] Fix algebra - - Was totally b0rked. Ouch! - - Fixes https://github.com/harfbuzz/harfbuzz/issues/863 - - src/hb-set-private.hh | 20 +++++++++++++++++--- - 1 file changed, 17 insertions(+), 3 deletions(-) - -commit 7587683cdce8ee9b7f07bae82aa1bb163e79ab92 -Author: Behdad Esfahbod -Date: Wed Mar 7 09:55:22 2018 +0100 - - [set] Minor - - In preparation to fix https://github.com/harfbuzz/harfbuzz/issues/863 - - Binary operations are sets are completely broken. Ouch. - - src/hb-set-private.hh | 21 ++++++++++++++------- - 1 file changed, 14 insertions(+), 7 deletions(-) - -commit e4cbb87bd3512c3a6e97ea3923ecd1b26b0a1251 -Author: Behdad Esfahbod -Date: Wed Mar 7 09:37:22 2018 +0100 - - Minor - - src/hb-ot-color-colr-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit c6150333c29b458ed34858f24e94acc0f771aa0b -Author: Behdad Esfahbod -Date: Wed Mar 7 09:27:16 2018 +0100 - - Sign - - src/test-unicode-ranges.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 9a6f9b4d4284f0378a71a181fe216d97c913669e -Author: Garret Rieger -Date: Tue Mar 6 13:46:51 2018 -0800 - - [set] add a test demonstrating a bug in hb_set_union. - - test/api/test-set.c | 10 ++++++++++ - 1 file changed, 10 insertions(+) - -commit 9b4a5d7ef1ec068042e3c793845a4dbc3308d4b7 -Author: Ebrahim Byagowi -Date: Wed Mar 7 00:23:40 2018 +0330 - - [ci] Enable -Werror=unused (#862) - - .travis.yml | 4 ++-- - src/hb-ot-glyf-table.hh | 1 - - 2 files changed, 2 insertions(+), 3 deletions(-) - -commit 54cbe6702c1e4c934c60512367abaf801294c1bb -Author: Ebrahim Byagowi -Date: Tue Mar 6 16:41:08 2018 +0330 - - [ot-color] Further improvements on COLR/CPAL implementation (#859) - - * Implemented a bsearch on get_base_glyph_record - * Made get_color_record_argb actually work - - src/hb-ot-color-colr-table.hh | 35 ++++++++++++++----------- - src/hb-ot-color-cpal-table.hh | 59 +++++++++++++++---------------------------- - src/hb-ot-color.h | 12 ++------- - 3 files changed, 42 insertions(+), 64 deletions(-) - -commit 18d14b8e0d5d28106800ebf835ff3155a4f4de7c -Author: Ebrahim Byagowi -Date: Mon Mar 5 14:25:11 2018 +0330 - - [dev-run] an option to open using a GUI app - - src/dev-run.sh | 22 ++++++++++++++++++---- - 1 file changed, 18 insertions(+), 4 deletions(-) - -commit 1db83954948dfae3f75f61c535c5de1b3a843a69 -Author: Ebrahim Byagowi -Date: Mon Mar 5 13:02:50 2018 +0330 - - [ci] minor, bring back the removed assertion - - .ci/run-coveralls.sh | 2 ++ - 1 file changed, 2 insertions(+) - -commit 5895fe3d4d0441dacf8989740cf4150193397796 -Author: Ebrahim Byagowi -Date: Mon Mar 5 12:58:34 2018 +0330 - - [ci] minor - - .ci/trigger-coverity.sh | 6 ++---- - 1 file changed, 2 insertions(+), 4 deletions(-) - -commit a3e29fd38f01b26b6306f9f7142a54cc7d6c6080 -Author: Ebrahim Byagowi -Date: Sun Mar 4 02:56:27 2018 +0330 - - [aat/kerx] Add a TODO - - src/hb-aat-layout-kerx-table.hh | 1 + - 1 file changed, 1 insertion(+) - -commit 0ef6ab25ab4456e387711ae246900486ad738d26 -Author: Ebrahim Byagowi -Date: Sun Mar 4 02:47:26 2018 +0330 - - [ot-color] Move cbdt to the namespace (#860) - - src/Makefile.sources | 2 +- - src/{hb-ot-cbdt-table.hh => hb-ot-color-cbdt-table.hh} | 6 +++--- - src/hb-ot-font.cc | 3 ++- - 3 files changed, 6 insertions(+), 5 deletions(-) - -commit 6659cb56fae0c900ae88e95bedcb3b76234c8838 -Author: Ebrahim Byagowi -Date: Sun Mar 4 02:31:53 2018 +0330 - - [ci] Remove --coverage as use of --enable-code-coverage - - .travis.yml | 5 ++--- - 1 file changed, 2 insertions(+), 3 deletions(-) - -commit 00dd321ace75ff0d1824cf75cd41490c5dd6ad76 -Author: Ebrahim Byagowi -Date: Sat Mar 3 23:26:11 2018 +0330 - - [ci] Don't run coveralls on freetype folder - - .travis.yml | 1 + - 1 file changed, 1 insertion(+) - -commit f50aedd371f1a6894d1bf7732f017b51cbdd59bd -Author: Ebrahim Byagowi -Date: Sat Mar 3 23:17:36 2018 +0330 - - [ci] Remove failing check on run-coveralls - - .ci/run-coveralls.sh | 2 -- - 1 file changed, 2 deletions(-) - -commit a0031c120e3ac5c059b81a004b9386fab3d662fc -Author: Ebrahim Byagowi -Date: Sat Mar 3 23:09:25 2018 +0330 - - Add lcov tool for coverage tests - - .travis.yml | 1 + - 1 file changed, 1 insertion(+) - -commit ecef95b21264347f9505e3ed4fb25ec7e4ccca5d -Author: Ebrahim Byagowi -Date: Sat Mar 3 23:03:13 2018 +0330 - - [ci] Enable code coverage on Travis Linux builds - - .travis.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit f7399796a1ed36cfc4f1ef7631584569baa80981 -Author: Ebrahim Byagowi -Date: Sat Mar 3 22:55:09 2018 +0330 - - Enable coverage test on autotools (#857) - - configure.ac | 1 + - m4/ax_code_coverage.m4 | 264 +++++++++++++++++++++++++++++++++++++++++++++++++ - src/Makefile.am | 6 +- - 3 files changed, 269 insertions(+), 2 deletions(-) - -commit c446c23f0f09e541891b49184febdfc75cb3505f -Author: Ebrahim Byagowi -Date: Sat Mar 3 22:43:23 2018 +0330 - - [ot-color] Move the related tables to hb-ot-color-* (#858) - - src/Makefile.sources | 4 ++-- - src/{hb-ot-colr-table.hh => hb-ot-color-colr-table.hh} | 6 +++--- - src/{hb-ot-cpal-table.hh => hb-ot-color-cpal-table.hh} | 6 +++--- - src/hb-ot-color.cc | 4 ++-- - src/hb-ot-layout.cc | 4 ++-- - 5 files changed, 12 insertions(+), 12 deletions(-) - -commit 48ed15a2bcdc1999e2d39fdcb2644ba4c3beccfe -Author: Ebrahim Byagowi -Date: Sat Mar 3 22:00:29 2018 +0330 - - [COLR/CPAL] Provide enough helper for rasterization (#855) - - src/hb-ot-colr-table.hh | 47 ++++++++++++++++++++++++++++++++++++++++++++--- - src/hb-ot-cpal-table.hh | 18 +++++++++++++++--- - 2 files changed, 59 insertions(+), 6 deletions(-) - -commit 432758a7ac3c1a857e67069f157efbf4ebf5521b -Author: Ebrahim Byagowi -Date: Sat Mar 3 01:05:59 2018 +0330 - - [COLR] Revert previous sanitization on the table - - That sanitization wasn't right, firstLayerIndex is an index from beginning of the Layer Records - not the table itself. - - src/hb-ot-colr-table.hh | 23 ++++++----------------- - 1 file changed, 6 insertions(+), 17 deletions(-) - -commit 71b4598ea37b316571bae22ced2f1b38185c9f44 -Author: Ebrahim Byagowi -Date: Fri Mar 2 11:04:09 2018 +0330 - - [aat/kerx] Improve format 6 subtable - - src/hb-aat-layout-kerx-table.hh | 14 +++++++++----- - 1 file changed, 9 insertions(+), 5 deletions(-) - -commit b73a5a1c240478616827529c94f0133018f9f790 -Author: Ebrahim Byagowi -Date: Fri Mar 2 00:07:26 2018 +0330 - - [aat/kerx] Make parsing of the table actually work (#850) - - src/hb-aat-layout-kerx-table.hh | 298 +++++++++++++++++----------------------- - 1 file changed, 124 insertions(+), 174 deletions(-) - -commit a570edcde2f89e59b5ccd4867a8c0eed084bf35d -Author: Ebrahim Byagowi -Date: Fri Mar 2 00:06:03 2018 +0330 - - [COLR] Sanitize BaseGlyphRecord (#854) - - src/hb-ot-colr-table.hh | 27 ++++++++++++++++++--------- - 1 file changed, 18 insertions(+), 9 deletions(-) - -commit 7e958646a4a825bfe3aac56ddb96100d68c5592c -Author: Ebrahim Byagowi -Date: Thu Mar 1 10:27:18 2018 +0330 - - [CPAL] Fix version checking logic on sanitizer (#851) - - src/hb-ot-cpal-table.hh | 14 ++++++-------- - 1 file changed, 6 insertions(+), 8 deletions(-) - -commit bcf578fefe6d7af0a962329ceb9989ce61ec467d -Author: Behdad Esfahbod -Date: Wed Feb 28 16:31:46 2018 -0800 - - [test] Add test suite for Brahmi Number Joiners - - https://github.com/harfbuzz/harfbuzz/pull/660 - - .../fonts/1ed7e9064f008f62de6ff0207bb4dd29409597a5.ttf | Bin 0 -> 2768 bytes - test/shaping/data/in-house/tests/use-syllable.tests | 1 + - test/shaping/record-test.sh | 2 +- - 3 files changed, 2 insertions(+), 1 deletion(-) - -commit b4ba71ea7ccce70e24138373774741c7f03dd24e -Author: Garret Rieger -Date: Wed Feb 28 15:44:00 2018 -0800 - - [subset] In subset integration test pass output through ots-sanitize if present. - - test/subset/run-tests.py | 25 +++++++++++++++++++++++-- - 1 file changed, 23 insertions(+), 2 deletions(-) - -commit 588a4e0f9b2d71362503a274de7200f3eb4367f7 -Merge: 55a4dfa37 b3f1a045a -Author: rsheeter -Date: Wed Feb 28 13:52:29 2018 -0800 - - Merge pull request #845 from googlefonts/drophints - - [subset] drop hints from composites - -commit b3f1a045a8b86747afce6bc154f2a166ea678efb -Author: Rod Sheeter -Date: Wed Feb 28 11:41:24 2018 -0800 - - [subset] kick the build - - src/hb-subset-glyf.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 20d57399235b410d2bdc98103c8bb3dfd1c34176 -Author: Rod Sheeter -Date: Wed Feb 28 11:15:08 2018 -0800 - - [subset] extract a method to flip off composite instruction flag - - src/hb-subset-glyf.cc | 24 +++++++++++++++--------- - 1 file changed, 15 insertions(+), 9 deletions(-) - -commit 55a4dfa374bae1db846c3b848b7e59fb0014b627 -Author: Ebrahim Byagowi -Date: Wed Feb 28 15:43:23 2018 +0330 - - Use old project location of coverity - - https://github.com/harfbuzz/harfbuzz/commit/8089711a61687d565f207c56d3d2b658f514d7ab#commitcomment-27835452 - - .travis.yml | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 3821978bcd92cbdb607111452796e051c456f391 -Merge: 772274625 f671f7f0a -Author: Ebrahim Byagowi -Date: Wed Feb 28 13:30:17 2018 +0330 - - Merge pull request #847 from ebraminio/colr - - [colr] Implement - -commit f671f7f0a8caa7b5763e00146e1ec4b9a7258227 -Author: Ebrahim Byagowi -Date: Wed Feb 28 13:19:40 2018 +0330 - - [colr] Implement - - src/Makefile.sources | 1 + - src/hb-ot-color.cc | 9 +++++ - src/hb-ot-color.h | 9 ----- - src/hb-ot-colr-table.hh | 98 +++++++++++++++++++++++++++++++++++++++++++++ - src/hb-ot-cpal-table.hh | 6 +-- - src/hb-ot-layout-private.hh | 6 ++- - src/hb-ot-layout.cc | 11 +++-- - 7 files changed, 122 insertions(+), 18 deletions(-) - -commit 772274625e9f17d726f2a1da8192ec3ec24793a3 -Merge: 0eec33154 5b9c23404 -Author: Ebrahim Byagowi -Date: Wed Feb 28 12:05:49 2018 +0330 - - Merge pull request #841 from ebraminio/color - - Support CPAL table - -commit 0eec33154a418fba97a08be7169b59e748b7e785 -Author: Ebrahim Byagowi -Date: Wed Feb 28 11:53:39 2018 +0330 - - [cmake] cleanup (#846) - - CMakeLists.txt | 70 ++++++++++++++++++++----------------------------- - test/api/CMakeLists.txt | 2 +- - 2 files changed, 30 insertions(+), 42 deletions(-) - -commit 5b9c234043d0483e53e9da5fe4afd7743190b538 -Author: Ebrahim Byagowi -Date: Tue Feb 27 22:56:17 2018 +0330 - - [CPAL] Refactor and address the reviews - - NEWS | 3 +- - src/Makefile.am | 1 - - src/hb-ot-color.cc | 70 +++---------- - src/hb-ot-color.h | 31 +++--- - src/hb-ot-cpal-table.hh | 116 +++++++++++++++------ - src/hb-ot-layout-private.hh | 3 +- - src/hb-ot-layout.cc | 5 +- - test/api/hb-test.h | 2 + - test/api/test-ot-color.c | 39 +++---- - .../319f5d7ebffbefc5c5e6569f8cea73444d7a7268.ttf | Bin - .../e90374e5e439e00725b4fe7a8d73db57c5a97f82.ttf | Bin - 11 files changed, 141 insertions(+), 129 deletions(-) - -commit 6836a821428b714b9f2e95d5c4ebbd73867d9a53 -Author: Rod Sheeter -Date: Tue Feb 27 20:51:12 2018 -0800 - - [subset] remove WE_HAVE_INSTRUCTIONS from composites when dropping hints - - src/hb-subset-glyf.cc | 12 +++++++++++- - 1 file changed, 11 insertions(+), 1 deletion(-) - -commit ffcb5cbf71b312cdd4606a3285e10e201ff5bccd -Author: Rod Sheeter -Date: Tue Feb 27 20:17:04 2018 -0800 - - [subset] update the test file for composite, fix an offset calculation - - src/hb-ot-glyf-table.hh | 2 +- - test/api/fonts/Roboto-Regular.components.1fc.nohints.ttf | Bin 0 -> 932 bytes - test/api/test-subset-glyf.c | 5 ++--- - 3 files changed, 3 insertions(+), 4 deletions(-) - -commit c8b230e4377bc8e80d37835a229511ce0e30cc47 -Merge: b3790a65a 904dd7bee -Author: Rod Sheeter -Date: Tue Feb 27 17:25:32 2018 -0800 - - Merge branch 'expand-tests' of github.com:googlefonts/harfbuzz into drophints - -commit 904dd7beea756fd7429fad36f5c37321aedb4e81 -Author: Garret Rieger -Date: Tue Feb 27 14:33:36 2018 -0800 - - [subset] Add drop hinting profile to full-font.tests - - .../Roboto-Regular.drop-hints.1FC,21,41,20,62,63.ttf | Bin 0 -> 2152 bytes - .../full-font/Roboto-Regular.drop-hints.61,62,63.ttf | Bin 0 -> 1968 bytes - test/subset/data/tests/full-font.tests | 1 + - 3 files changed, 1 insertion(+) - -commit 70a1049b3f8dc241fcb9b524bd010f0c1606f6ad -Author: Garret Rieger -Date: Tue Feb 27 14:28:50 2018 -0800 - - [subset] Add a drop hints profile to basics.tests - - .../basics/Roboto-Regular.abc.drop-hints.61,62,63.ttf | Bin 0 -> 876 bytes - .../basics/Roboto-Regular.abc.drop-hints.61,63.ttf | Bin 0 -> 792 bytes - .../expected/basics/Roboto-Regular.abc.drop-hints.61.ttf | Bin 0 -> 684 bytes - .../expected/basics/Roboto-Regular.abc.drop-hints.62.ttf | Bin 0 -> 652 bytes - .../expected/basics/Roboto-Regular.abc.drop-hints.63.ttf | Bin 0 -> 656 bytes - test/subset/data/profiles/drop-hints.txt | 1 + - test/subset/data/tests/basics.tests | 1 + - 7 files changed, 2 insertions(+) - -commit 5241d7f4b999d5457de564bd950b60d70f9d0e19 -Author: Garret Rieger -Date: Tue Feb 27 13:15:40 2018 -0800 - - [subset] apply subset profiles (flags) to the subset integration tests. - - test/subset/generate-expected-outputs.py | 27 ++++++++++++++------------- - test/subset/run-tests.py | 3 ++- - test/subset/subset_test_suite.py | 11 ++++++++--- - 3 files changed, 24 insertions(+), 17 deletions(-) - -commit a4aca190a93f94c25c906ec0269183d8b2d0b5e8 -Author: Garret Rieger -Date: Tue Feb 27 11:36:16 2018 -0800 - - [subset] add expected/full-font to dist files. - - test/subset/data/Makefile.am | 1 + - 1 file changed, 1 insertion(+) - -commit d31ace32740b1777ebb023ffdb10cd0cfec3997e -Author: Garret Rieger -Date: Mon Feb 26 18:51:56 2018 -0800 - - [subset] Add subset integration tests using the full roboto font. - - test/subset/data/Makefile.sources | 1 + - .../Roboto-Regular.default.1FC,21,41,20,62,63.ttf | Bin 0 -> 3700 bytes - .../full-font/Roboto-Regular.default.61,62,63.ttf | Bin 0 -> 3320 bytes - test/subset/data/fonts/Roboto-Regular.ttf | Bin 0 -> 171676 bytes - test/subset/data/tests/full-font.tests | 10 ++++++++++ - test/subset/generate-expected-outputs.py | 12 ++++++++---- - 6 files changed, 19 insertions(+), 4 deletions(-) - -commit 33f4381314c5248b8b112e344af7548806f93a82 -Author: Garret Rieger -Date: Mon Feb 26 18:39:09 2018 -0800 - - [subset] Add some more variations of the basic test. - - .../basics/Roboto-Regular.abc.default.61,62,63.ttf | Bin 0 -> 2120 bytes - .../expected/basics/Roboto-Regular.abc.default.61,63.ttf | Bin 0 -> 1932 bytes - .../expected/basics/Roboto-Regular.abc.default.61.ttf | Bin 0 -> 1744 bytes - .../expected/basics/Roboto-Regular.abc.default.63.ttf | Bin 0 -> 1668 bytes - test/subset/data/tests/basics.tests | 4 ++++ - 5 files changed, 4 insertions(+) - -commit b3790a65a18e8402b2b09dfc24aaea40a51de569 -Author: Rod Sheeter -Date: Tue Feb 27 17:23:30 2018 -0800 - - [subset] add a (failing for now) test for composite glyf hint dropping - - src/hb-ot-glyf-table.hh | 8 ++++---- - test/api/test-subset-glyf.c | 27 +++++++++++++++++++++++++-- - 2 files changed, 29 insertions(+), 6 deletions(-) - -commit 4c6023f861a4b87782c17ac626ffee7e93f15fc8 -Merge: d7633d0a4 921b65cbc -Author: Garret Rieger -Date: Tue Feb 27 17:06:27 2018 -0700 - - Merge pull request #842 from googlefonts/maxp - - [subset] when dropping hints, clear hint related fields in maxp. - -commit 921b65cbc29f0c2c9c13e9fb272dafe4c8a14591 -Author: Garret Rieger -Date: Tue Feb 27 14:37:18 2018 -0800 - - [subset] minor fixes in hb-ot-maxp-table.hh - - src/hb-ot-maxp-table.hh | 15 +++++++-------- - 1 file changed, 7 insertions(+), 8 deletions(-) - -commit b26db48bfff804e139331817a86ecc811547afcd -Author: Garret Rieger -Date: Tue Feb 27 14:14:05 2018 -0800 - - [subset] whitespace for hb-ot-maxp-table.hh - - src/hb-ot-maxp-table.hh | 30 +++++++++++++++--------------- - 1 file changed, 15 insertions(+), 15 deletions(-) - -commit a76344da796670f33b2fa48a9b1676545dac93c2 -Author: Garret Rieger -Date: Tue Feb 27 14:11:36 2018 -0800 - - [subset] Add maxpV1Tail instead of defining a struct inside maxp for v1 data. - - src/hb-ot-maxp-table.hh | 81 ++++++++++++++++++++++++++++++------------------- - 1 file changed, 49 insertions(+), 32 deletions(-) - -commit f14d1b64c2d148ffdec95c17adbee3f185d5d436 -Author: Garret Rieger -Date: Tue Feb 27 13:49:00 2018 -0800 - - [subset] when dropping hints, clear hint related fields in maxp. - - src/hb-ot-maxp-table.hh | 43 ++++++++++++++++++++++++++++++++++++++++--- - test/api/test-subset-glyf.c | 30 +++++++++++++++++++++++------- - 2 files changed, 63 insertions(+), 10 deletions(-) - -commit d7633d0a4091c025638ba3fc8fb0d8e9a0e9ff8c -Author: Behdad Esfahbod -Date: Tue Feb 27 12:50:57 2018 -0800 - - [BASE] More - - src/hb-ot-layout-base-table.hh | 153 ++++------------------------------------- - 1 file changed, 12 insertions(+), 141 deletions(-) - -commit 7a70c20fec6ece9e729dc2634e2896a8d8eb9962 -Author: Behdad Esfahbod -Date: Tue Feb 27 12:45:26 2018 -0800 - - [BASE] Clean up first 29% - - src/hb-ot-layout-base-table.hh | 262 +++++++++++++++++++---------------------- - src/hb-ot-layout-gsub-table.hh | 2 +- - 2 files changed, 125 insertions(+), 139 deletions(-) - -commit 101850f9e6b9e0932fe1dd4169f88d6764c669c1 -Merge: 5967eaba7 f110c0c88 -Author: Ebrahim Byagowi -Date: Tue Feb 27 20:15:54 2018 +0330 - - Merge with master - -commit f110c0c8866c853c0d5a930564a2b69231a33322 -Merge: 4a1d51ef1 0ad8c663e -Author: Ebrahim Byagowi -Date: Tue Feb 27 11:41:12 2018 +0330 - - Merge pull request #838 from harfbuzz/BASE - - BASE table - -commit 0ad8c663e0b4602e2a413e77a8158bf8a46755d5 -Author: Ebrahim Byagowi -Date: Mon Feb 26 12:45:08 2018 +0330 - - Remove public API of the branch - - src/hb-ot-base.h | 4 ++-- - src/hb-ot-layout-base-table.hh | 20 +++++++++--------- - src/hb-ot-layout.cc | 48 ++++++++++++++++++++---------------------- - 3 files changed, 35 insertions(+), 37 deletions(-) - -commit 4a1d51ef15a423706406f784a146078073147885 -Merge: d0caf7e5e 903771b6c -Author: rsheeter -Date: Mon Feb 26 20:23:41 2018 -0800 - - Merge pull request #818 from googlefonts/drophints - - [subset] Drop hints - -commit 903771b6c7689b9eee9a11bac128c42f39833b2e -Author: Rod Sheeter -Date: Mon Feb 26 19:50:06 2018 -0800 - - [subset] clearer name for trim() and better comment about composite handling, per review feedback - - src/hb-ot-glyf-table.hh | 8 +++++--- - src/hb-subset-glyf.cc | 17 ++++++++--------- - 2 files changed, 13 insertions(+), 12 deletions(-) - -commit d0caf7e5e3294c25230ed0e5580c647fa0f1a2c8 -Merge: 6c844ae8e 44dc36dd8 -Author: Garret Rieger -Date: Mon Feb 26 19:24:18 2018 -0700 - - Merge pull request #840 from googlefonts/os2 - - [subset] During os2 subsetting update ulUnicodeRange[]c - -commit 44dc36dd82fc948a15e2ad0d605eb4a466b3553d -Author: Garret Rieger -Date: Mon Feb 26 17:56:23 2018 -0800 - - [subset] update to comment in hb-ot-os2-unicode-ranges.hh - - src/hb-ot-os2-unicode-ranges.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit ad3f2f77dafdee524e836e732077ee9670602369 -Author: Garret Rieger -Date: Mon Feb 26 17:51:27 2018 -0800 - - [subset] small cleanups in hb-ot-os2-table. - - src/hb-ot-os2-table.hh | 5 +++-- - src/hb-ot-os2-unicode-ranges.hh | 2 +- - 2 files changed, 4 insertions(+), 3 deletions(-) - -commit f1c8fc3487d5c5efb8ee1804acb07e6e282d3bc5 -Author: Garret Rieger -Date: Mon Feb 26 17:48:51 2018 -0800 - - [subset] small updates to gen-unicode-ranges.py - - src/gen-unicode-ranges.py | 6 ++++-- - src/hb-ot-os2-unicode-ranges.hh | 3 ++- - 2 files changed, 6 insertions(+), 3 deletions(-) - -commit 0c0fe2ff8209228f2ddfce464b7b6f1b1ee1654a -Author: Garret Rieger -Date: Mon Feb 26 17:47:10 2018 -0800 - - [subset] Move util/generated-unicode-ranges.py to src/gen-unicode-ranges.py - - util/generate-unicode-ranges.py => src/gen-unicode-ranges.py | 0 - 1 file changed, 0 insertions(+), 0 deletions(-) - -commit f630ae5161bfc8420f9ae0127fd8c7f447874fdd -Author: Garret Rieger -Date: Mon Feb 26 17:46:17 2018 -0800 - - [subset] unsigned int -> hb_codepoint_t. - - src/hb-ot-os2-unicode-ranges.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 6368ce4c927b1457cf19945d5957e91d4621dc8b -Author: Garret Rieger -Date: Mon Feb 26 17:44:39 2018 -0800 - - [subset] const in _compare_range. - - src/hb-ot-os2-unicode-ranges.hh | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 0be9fea0a96701b159a9db190e55b1c3efc38a28 -Author: Garret Rieger -Date: Mon Feb 26 16:15:09 2018 -0800 - - [subset] Add comment to os2UnicodeRangesSorted. - - src/hb-ot-os2-unicode-ranges.hh | 1 + - 1 file changed, 1 insertion(+) - -commit e20ab71d12b032371b830b76462e5e979d963b58 -Author: Garret Rieger -Date: Mon Feb 26 16:13:10 2018 -0800 - - [subset] Fix incorrect index. - - src/hb-ot-os2-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 074b5a29a166d1812abc7229a71af4a3bb311536 -Author: Garret Rieger -Date: Mon Feb 26 16:11:24 2018 -0800 - - [subset] Add special case handling of bit 57 in os2 ulUnicodeRange. - - src/hb-ot-os2-table.hh | 7 +++++++ - src/test-unicode-ranges.cc | 3 --- - 2 files changed, 7 insertions(+), 3 deletions(-) - -commit ddc4f2b9fc5566e70558a57133289f84d467cc98 -Author: Garret Rieger -Date: Mon Feb 26 15:59:32 2018 -0800 - - [subset] Add python util that was used to generated hb-ot-os2-unicode-ranges.hh - - util/generate-unicode-ranges.py | 50 +++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 50 insertions(+) - -commit f757757eda5f00a89a156e3427bdf8c4313611ef -Author: Garret Rieger -Date: Mon Feb 26 15:56:36 2018 -0800 - - [subset] Add cmake build def for test-unicode-ranges. - - CMakeLists.txt | 2 +- - src/Makefile.am | 1 - - 2 files changed, 1 insertion(+), 2 deletions(-) - -commit f82f2a3e50805503d93aa1aa1ccb27da4967a14a -Author: Garret Rieger -Date: Mon Feb 26 15:52:01 2018 -0800 - - [subset] Rename hb-os2-unicode-ranges.cc to test-unicode-ranges.cc. - - src/Makefile.am | 2 +- - src/{hb-ot-os2-unicode-ranges.cc => test-unicode-ranges.cc} | 0 - 2 files changed, 1 insertion(+), 1 deletion(-) - -commit 4014555ca083dea3e4f42120aeaf52a2186b8a09 -Author: Garret Rieger -Date: Mon Feb 26 15:50:13 2018 -0800 - - [subset] set ulUnicodeRange[] in os2. - - src/Makefile.sources | 1 - - src/hb-ot-os2-table.hh | 23 ++++- - src/hb-ot-os2-unicode-ranges.cc | 221 ++-------------------------------------- - src/hb-ot-os2-unicode-ranges.hh | 210 +++++++++++++++++++++++++++++++++++++- - 4 files changed, 236 insertions(+), 219 deletions(-) - -commit a570142d0c6d819feeeeb9e209fc90a33c1c2b48 -Author: Garret Rieger -Date: Mon Feb 26 15:20:23 2018 -0800 - - [subset] Move hb-ot-os2-unicode-ranges into a cc file with a helper methods and tests. - - src/Makefile.am | 9 +- - src/Makefile.sources | 2 + - src/hb-ot-os2-unicode-ranges.cc | 279 ++++++++++++++++++++++++++++++++++++++++ - src/hb-ot-os2-unicode-ranges.hh | 189 +-------------------------- - 4 files changed, 292 insertions(+), 187 deletions(-) - -commit 8e81799b32f3dfaca000fa5d42943ceed9af8d17 -Author: Garret Rieger -Date: Fri Feb 23 18:35:41 2018 -0800 - - [subset] Add hb-ot-os2-unicode-ranges.hh, a map of os2 unicode ranges. - - src/hb-ot-os2-unicode-ranges.hh | 220 ++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 220 insertions(+) - -commit 6c844ae8e89f52f5f40eace66bb987544fc316e3 -Author: Ebrahim Byagowi -Date: Mon Feb 26 23:04:27 2018 +0330 - - [dev-run] show images using iTerm2 images feature - - src/dev-run.sh | 32 ++++++++++++++++++++++++++++---- - 1 file changed, 28 insertions(+), 4 deletions(-) - -commit 28c4245e9f76c6c53a4589e7745a60ed0e97414a -Author: Behdad Esfahbod -Date: Mon Feb 26 01:10:42 2018 -0800 - - [aat/ankr] Define Anchor struct - - src/hb-aat-layout-ankr-table.hh | 16 +++++++++++++++- - 1 file changed, 15 insertions(+), 1 deletion(-) - -commit e347fb908b188f71df13215c8939b0f3a12c716f -Author: Behdad Esfahbod -Date: Mon Feb 26 01:08:00 2018 -0800 - - Minor - - src/hb-ot-layout-gdef-table.hh | 4 ++-- - src/hb-ot-layout-gpos-table.hh | 12 ++++++------ - 2 files changed, 8 insertions(+), 8 deletions(-) - -commit 05fbd14e715ed5d0f0f86388b1538ad8e8c7c506 -Author: Behdad Esfahbod -Date: Mon Feb 26 01:04:16 2018 -0800 - - [aat/ankr] Minor - - DEFINE_SIZE_MIN is to be used only in rare cases. For fixed-size structs - we want DEFINE_SIZE_STATIC. - - src/hb-aat-layout-ankr-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit f90cd9b1f5ade8ad5e3b7caf0272936ad7a0f419 -Author: Behdad Esfahbod -Date: Mon Feb 26 01:03:23 2018 -0800 - - [aat/ankr] Hook up Lookup table - - src/hb-aat-layout-ankr-table.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit c36598450e9698168851c0ae7d0b4c9e562c4924 -Author: Behdad Esfahbod -Date: Mon Feb 26 00:57:07 2018 -0800 - - [aat/ankr] Simplify - - src/hb-aat-layout-ankr-table.hh | 36 ++++++++---------------------------- - 1 file changed, 8 insertions(+), 28 deletions(-) - -commit fa3a69e2334ec4122d672670614a8e5a95611d75 -Author: Behdad Esfahbod -Date: Mon Feb 26 00:32:11 2018 -0800 - - [aat/trak] Simplify sanitize() - - src/hb-aat-layout-trak-table.hh | 67 ++++++++++------------------------------- - 1 file changed, 16 insertions(+), 51 deletions(-) - -commit f0bc6c0992c4302ae1a20f155ad256bfa331087c -Author: Behdad Esfahbod -Date: Mon Feb 26 00:18:17 2018 -0800 - - [aat/trak] Clean up - - We always just used "unsigned int" for counter values. There's - no use for uint16_t outside of a struct. - - Also, no need for explict casting where implicit does. - - src/hb-aat-layout-trak-table.hh | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - -commit bb82f01383db7cf05040fbd5881e17e263ef6369 -Author: Ebrahim Byagowi -Date: Sun Feb 25 12:30:33 2018 +0330 - - [aat] trak sanitization - - src/dev-run.sh | 4 +- - src/hb-aat-layout-trak-table.hh | 95 ++++++++++++++++++++++++++++++++--------- - src/hb-aat-layout.cc | 2 +- - util/options.hh | 2 +- - 4 files changed, 78 insertions(+), 25 deletions(-) - -commit becb1d9eea15c07f9ea4e229be56f9aca0f768af -Author: Ebrahim Byagowi -Date: Mon Feb 26 11:29:48 2018 +0330 - - [aat] minor - - Ops, this was done for testing - - src/hb-aat-layout-ankr-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit df1c7d5b60520d2b3c756b700d5ac41668fc0983 -Author: Behdad Esfahbod -Date: Sun Feb 25 19:06:25 2018 -0800 - - Minor - - src/hb-open-type-private.hh | 5 +++-- - src/hb-subset.cc | 2 +- - 2 files changed, 4 insertions(+), 3 deletions(-) - -commit 6dd46fa598cacdd046ba4548bc6ddf7f37c46dee -Author: Behdad Esfahbod -Date: Sun Feb 25 18:54:52 2018 -0800 - - [aat/trak] Minor - - Maybe we should make DEFINE_* make structs uncopyable. - - src/hb-aat-layout-trak-table.hh | 56 +++++++++++++++++++++++------------------ - 1 file changed, 32 insertions(+), 24 deletions(-) - -commit ae14dd0fb0a176f6f0143690907b51626999d248 -Author: Ebrahim Byagowi -Date: Mon Feb 26 00:31:09 2018 +0330 - - [aat] Implement ankr - - src/Makefile.sources | 3 +- - src/hb-aat-layout-ankr-table.hh | 86 +++++++++++++++++++++++++++++++++++++++++ - src/hb-aat-layout-kerx-table.hh | 2 +- - src/hb-aat-layout.cc | 37 +++++++++++++----- - src/hb-ot-layout-private.hh | 6 ++- - src/hb-ot-layout.cc | 6 ++- - 6 files changed, 124 insertions(+), 16 deletions(-) - -commit 551fa2d200a06d00d054f2c8e7aad1cb4d25249b -Author: Behdad Esfahbod -Date: Sun Feb 25 16:32:17 2018 -0800 - - [BASE] Minor - - src/Makefile.sources | 1 - - src/hb-ot-base.cc | 58 ----------------------- - src/hb-ot-layout-base-table.hh | 103 ++++++++++++++++++++++++++++------------- - src/hb-ot-layout.cc | 34 ++++++++++++++ - src/hb-ot-layout.h | 1 + - 5 files changed, 105 insertions(+), 92 deletions(-) - -commit 05699fd996ed9c0e5dde8918388ac188e58df1a7 -Merge: 83af6c237 3ebcd5a38 -Author: Behdad Esfahbod -Date: Sat Feb 24 12:01:54 2018 -0800 - - Merge remote-tracking branch 'eroux/add-base' - -commit a8d3c2c030d2c21c70e0b8bd43f7d05ff4818b75 -Author: Ebrahim Byagowi -Date: Sat Feb 24 16:42:12 2018 +0330 - - [ci] Add clang O3/O0 testers (#834) - - .circleci/config.yml | 16 ++++++++++++++++ - 1 file changed, 16 insertions(+) - -commit c73255f3eb2f060ec72d18790b374f6b6e4032aa -Author: Khaled Hosny -Date: Sat Feb 24 00:44:07 2018 +0200 - - Workaround for old automake on Travis Linux images - - https://github.com/harfbuzz/harfbuzz/pull/821#issuecomment-368116538 - - .ci/fail.sh | 10 ++++++++-- - 1 file changed, 8 insertions(+), 2 deletions(-) - -commit cd28eb9f5dc237325c64380d9d87e673b8e94985 -Author: Ebrahim Byagowi -Date: Sat Feb 24 14:17:54 2018 +0330 - - Add -Werror=unused-function check to Travis (#832) - - .travis.yml | 4 ++-- - src/hb-aat-layout.cc | 24 ++++++++++++------------ - test/api/test-set.c | 19 ++++++++++--------- - 3 files changed, 24 insertions(+), 23 deletions(-) - -commit 1ab16f4556ef3e54a40b63cf4570c0ae986894e7 -Author: Ebrahim Byagowi -Date: Sat Feb 24 12:49:42 2018 +0330 - - [aat] Implement trak logic (#816) - - src/hb-aat-layout-kerx-table.hh | 7 ++++ - src/hb-aat-layout-private.hh | 3 ++ - src/hb-aat-layout-trak-table.hh | 78 +++++++++++++++++++++++++++++++++++++++-- - src/hb-aat-layout.cc | 46 ++++++++++++++++++++++++ - src/hb-open-type-private.hh | 4 +-- - src/hb-ot-layout-private.hh | 22 ++++++++++++ - src/hb-ot-layout.cc | 4 +++ - src/hb-ot-shape.cc | 2 ++ - 8 files changed, 161 insertions(+), 5 deletions(-) - -commit b91e8da36e164168cd532fd6e6950c5d743a14dd -Author: Behdad Esfahbod -Date: Fri Feb 23 22:51:17 2018 -0800 - - Include hb-version.h in git (#825) - - CMakeLists.txt | 36 ++++++++++++++-------------- - src/Makefile.am | 8 +++---- - src/Makefile.sources | 3 --- - src/hb-version.h | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++++ - 4 files changed, 87 insertions(+), 26 deletions(-) - -commit 5267520e078ed413df78f3a6781fd5370b6da63a -Author: Rod Sheeter -Date: Fri Feb 23 18:36:22 2018 -0800 - - [subset] update hdmx test to create input explicitly - - test/api/test-subset-hdmx.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 2e3ee489f8374227fa94a8d8684e839e643888ea -Author: Rod Sheeter -Date: Fri Feb 23 18:18:54 2018 -0800 - - [subset] format tweak, doc string - - src/hb-subset-input.cc | 12 +++++++++--- - src/hb-subset.h | 2 +- - 2 files changed, 10 insertions(+), 4 deletions(-) - -commit d78393b5547135b8db0356b0ec14d5ed0d334768 -Merge: 1454d82a9 83af6c237 -Author: Rod Sheeter -Date: Fri Feb 23 17:53:26 2018 -0800 - - Merge branch 'master' of https://github.com/harfbuzz/harfbuzz into drophints - -commit 1454d82a9d3d9a47901b3d92ff7f2c05c596c0d5 -Author: Rod Sheeter -Date: Fri Feb 23 17:49:23 2018 -0800 - - [subset] keep glyph trim separate of more general get_offset - - src/hb-ot-glyf-table.hh | 12 ++++-------- - src/hb-subset-glyf.cc | 6 ++++-- - 2 files changed, 8 insertions(+), 10 deletions(-) - -commit 0ac8c0c1e6a6c076ce33b16baa173ff8763ac04e -Author: Rod Sheeter -Date: Fri Feb 23 17:43:00 2018 -0800 - - [subset] zero glyf and loca memory before writing so pads are clean. Test just the part of maxp we care about - - src/hb-ot-glyf-table.hh | 6 +++--- - src/hb-subset-glyf.cc | 4 ++-- - test/api/test-subset-glyf.c | 19 ++++++++++++++++--- - 3 files changed, 21 insertions(+), 8 deletions(-) - -commit 83af6c237f2bfd66af76a8647a62b3d1ab996744 -Merge: 7e5e1feb6 dc5c7927e -Author: Garret Rieger -Date: Fri Feb 23 18:33:25 2018 -0700 - - Merge pull request #829 from googlefonts/test-checksum - - [subset] Caclculate head table checksum adjustment - -commit dc5c7927e75ea09461e46fe6e56897091b4b4f00 -Author: Behdad Esfahbod -Date: Fri Feb 23 16:42:06 2018 -0800 - - [subset] Caclculate head table checksum adjustment - - Test still fails, because we do not serialize tables in the same - order that fonttools subsetter does. - - src/hb-open-file-private.hh | 51 ++++++++++++++++++++++++++++++++++----------- - src/hb-ot-head-table.hh | 2 ++ - src/hb-subset.cc | 2 ++ - 3 files changed, 43 insertions(+), 12 deletions(-) - -commit 7e5e1feb666d6a861b5cd64bf29a16e3854fb812 -Merge: ec2538c88 99967e21c -Author: Garret Rieger -Date: Fri Feb 23 17:59:08 2018 -0700 - - Merge pull request #828 from googlefonts/mem-fixes - - [subset] Fix several memory leaks in subsetting. - -commit ec2538c8803be254b6e09ca0ea724b07c35126da -Author: Behdad Esfahbod -Date: Fri Feb 23 15:51:26 2018 -0800 - - [subset] Fix checksum calc out-of-bounds access - - src/hb-open-file-private.hh | 18 ++++++++++-------- - src/hb-open-type-private.hh | 3 ++- - 2 files changed, 12 insertions(+), 9 deletions(-) - -commit 99967e21c6e3f6882d6eadf5c22f4120684b1fc5 -Author: Garret Rieger -Date: Fri Feb 23 15:45:45 2018 -0800 - - [subset] Fix memory leak in hb-subset-glyf. - - src/hb-subset-glyf.cc | 2 ++ - 1 file changed, 2 insertions(+) - -commit e61f360dc828bfd46477b7ddff56874da9f03538 -Author: Garret Rieger -Date: Fri Feb 23 15:44:21 2018 -0800 - - [subset] Fix memory leak in hb-subset-plan. - - src/hb-subset-plan.cc | 1 + - 1 file changed, 1 insertion(+) - -commit 66b0a390793ab06692dd49e67baef52a6a7d82aa -Author: Garret Rieger -Date: Fri Feb 23 15:41:52 2018 -0800 - - [subset] Fix memory leak in hb-subset. - - src/hb-subset.cc | 7 ++----- - 1 file changed, 2 insertions(+), 5 deletions(-) - -commit 0fb8a5ce192025ffd83ae714db932e4b86594ae1 -Author: Garret Rieger -Date: Fri Feb 23 15:37:43 2018 -0800 - - [subset] Fix memory leak in cmap subsetting. - - src/hb-ot-cmap-table.hh | 8 +++++--- - 1 file changed, 5 insertions(+), 3 deletions(-) - -commit 4665aaa19304bdf0362bdfcebcae65feb19a8964 -Author: Garret Rieger -Date: Fri Feb 23 15:36:14 2018 -0800 - - [subset] Fix memory leak in hmtx subsetting. - - src/hb-ot-hmtx-table.hh | 8 +++++--- - 1 file changed, 5 insertions(+), 3 deletions(-) - -commit 5a36b55fba03cd07c9b101f0222b8d189bcd3bbf -Author: Garret Rieger -Date: Fri Feb 23 15:30:14 2018 -0800 - - [subset] Fix memory leak in subset face destroy. - - src/hb-subset.cc | 3 +++ - 1 file changed, 3 insertions(+) - -commit d38f37b2e37942a3fd13cd753c8b8587a06c0f3a -Author: Ben Boeckel -Date: Fri Feb 23 16:55:53 2018 -0500 - - autoconf: provide a harfbuzz-config for use from CMake (#822) - - configure.ac | 2 ++ - src/Makefile.am | 4 ++- - src/harfbuzz-config.cmake.in | 82 ++++++++++++++++++++++++++++++++++++++++++++ - 3 files changed, 87 insertions(+), 1 deletion(-) - -commit e0939d811f1fdeda9c5763e7e53887b3d3cb21eb -Author: Behdad Esfahbod -Date: Fri Feb 23 13:19:34 2018 -0800 - - Clean up check-defs and check-symbols (#821) - - Also, call c++filt on their results. - - Also build and fix and check harfbuzz-gobject.def - - Also changes harfbuzz-gobject to distribute generated enum sources. - - CMakeLists.txt | 3 +-- - src/Makefile.am | 33 ++++++++++++++++------------ - src/Makefile.sources | 9 +++++--- - src/check-defs.sh | 52 --------------------------------------------- - src/check-symbols.sh | 30 ++++++++++++++++++++------ - src/hb-gobject-enums.h.tmpl | 3 ++- - src/hb-gobject-structs.h | 45 ++++++++++++++++++++++++++------------- - 7 files changed, 81 insertions(+), 94 deletions(-) - -commit 9bd6d25254d9bfc612004982dba286a3751d1d29 -Author: Rod Sheeter -Date: Fri Feb 23 13:05:58 2018 -0800 - - [subset] clone trim logic from fonttools glyf handling - - src/hb-ot-glyf-table.hh | 92 ++++++++++++++++++++++++++- - src/hb-subset-glyf.cc | 26 ++++---- - src/hb-subset-plan.cc | 3 + - src/hb-subset.cc | 13 ++-- - test/api/fonts/Roboto-Regular.ac.nohints.ttf | Bin 1128 -> 848 bytes - test/api/hb-subset-test.h | 1 + - test/api/test-subset-glyf.c | 6 +- - 7 files changed, 117 insertions(+), 24 deletions(-) - -commit b1ec82105189053d648a798cf5b3ab2887046298 -Merge: e15e41ef1 c2e4713b5 -Author: Garret Rieger -Date: Fri Feb 23 12:32:18 2018 -0700 - - Merge pull request #823 from googlefonts/hdmx - - [subset] Add hdmx subsetting. - -commit e15e41ef12e146333e355defef8db210378b5be0 -Author: Garret Rieger -Date: Thu Feb 22 18:41:50 2018 -0800 - - [subset] Remove commented code from run-tests.py. - - test/subset/run-tests.py | 3 --- - 1 file changed, 3 deletions(-) - -commit 2b844803433bd1557a7fd0c93a91c66ef5319b21 -Author: Garret Rieger -Date: Thu Feb 22 18:38:44 2018 -0800 - - [subset] Update expected files for subsetting integration test to not include cmap 4. - - .../expected/basics/Roboto-Regular.abc.default.62.ttf | Bin 1740 -> 1692 bytes - 1 file changed, 0 insertions(+), 0 deletions(-) - -commit a88504c601ac95601730bd602861c13e5ac4fdd8 -Author: Garret Rieger -Date: Thu Feb 22 14:28:18 2018 -0800 - - [subset] Fix checksum clearning in subset test diff. Add an updated expected file (has cmap4 restored). - - .../expected/basics/Roboto-Regular.abc.default.62.ttf | Bin 1692 -> 1740 bytes - test/subset/run-tests.py | 7 +++++-- - 2 files changed, 5 insertions(+), 2 deletions(-) - -commit 537698b60131bd3d7999919a04596c41dda6b2e4 -Author: Garret Rieger -Date: Thu Feb 22 14:07:52 2018 -0800 - - [subset] Don't compare actual to itself in Fix test/subset/run-tests. Print a diff on failure. - - test/subset/run-tests.py | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -commit c2e4713b5b561675b0f7b358ccf83d64ef0b6c41 -Author: Behdad Esfahbod -Date: Fri Feb 23 10:45:03 2018 -0800 - - [hdmx] Fix sanitize() - - src/hb-ot-hdmx-table.hh | 23 +++++++---------------- - 1 file changed, 7 insertions(+), 16 deletions(-) - -commit 84d4bb91ceca22484abb597c19eb18311e2514f1 -Author: Behdad Esfahbod -Date: Fri Feb 23 10:38:35 2018 -0800 - - [hdmx] Minor - - src/hb-ot-hdmx-table.hh | 21 +++++++++++---------- - 1 file changed, 11 insertions(+), 10 deletions(-) - -commit cf7a6e520e9601da9d27bc8f6bbe5d2eff23998d -Author: Behdad Esfahbod -Date: Fri Feb 23 10:34:26 2018 -0800 - - [hdmx] Move DeviceRecord to toplevel again - - More readable. - - src/hb-ot-hdmx-table.hh | 112 ++++++++++++++++++++++++------------------------ - 1 file changed, 57 insertions(+), 55 deletions(-) - -commit 96d7805a9235443972c6b6c5cd9502283c8836e9 -Author: Garret Rieger -Date: Thu Feb 22 16:48:28 2018 -0800 - - [subset] More complete sanitization implementation for hdmx. - - src/hb-ot-hdmx-table.hh | 18 ++++++++++++++---- - 1 file changed, 14 insertions(+), 4 deletions(-) - -commit c02532a3d2325c8fb9332f63f687cbaec77b2239 -Author: Garret Rieger -Date: Thu Feb 22 16:40:50 2018 -0800 - - [subset] Formatting and comments in hdmx. - - src/hb-ot-hdmx-table.hh | 31 +++++++++++++++++++------------ - 1 file changed, 19 insertions(+), 12 deletions(-) - -commit 6b372f439b257808b048d02ebf5a867dabcd1231 -Author: Garret Rieger -Date: Thu Feb 22 12:00:00 2018 -0800 - - [subset] In hb-ot-hdmx-table, s/glyf/hdmx. - - src/hb-ot-hdmx-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit ec302ad5bda6bea870f6d33f9698a1782472a213 -Author: Garret Rieger -Date: Thu Feb 22 11:57:35 2018 -0800 - - [subset] Fail subset if a table fails to sanitize. - - src/hb-subset.cc | 19 +++++++++++-------- - 1 file changed, 11 insertions(+), 8 deletions(-) - -commit 15fc45bfedef433025145289fe916739907b573b -Author: Garret Rieger -Date: Wed Feb 21 17:59:57 2018 -0800 - - [subset] Add a unit test for hdmx subsetting. - - test/api/Makefile.am | 2 ++ - test/api/test-subset-hdmx.c | 81 +++++++++++++++++++++++++++++++++++++++++++++ - 2 files changed, 83 insertions(+) - -commit aa4aa2353c52f86fd56446de6b7ff86a9e990b9c -Author: Garret Rieger -Date: Wed Feb 21 17:43:32 2018 -0800 - - [subset] Enable hdmx subsetting. - - src/hb-subset.cc | 3 +++ - 1 file changed, 3 insertions(+) - -commit bd18b6adf8697c1ce3f4e3831b9f2a99d930e97d -Author: Garret Rieger -Date: Wed Feb 21 17:42:58 2018 -0800 - - [subset] Move DeviceRecord inside of hdmx. - - src/hb-ot-hdmx-table.hh | 98 +++++++++++++++++++++++++------------------------ - 1 file changed, 50 insertions(+), 48 deletions(-) - -commit 6704cded65985b2de262bdd3bb0887929e5a3b0b -Author: Garret Rieger -Date: Wed Feb 21 16:00:10 2018 -0800 - - [subset] Add hdmx subsetting implementation. - - src/hb-ot-hdmx-table.hh | 29 ++++++++++++++++++++++++++--- - 1 file changed, 26 insertions(+), 3 deletions(-) - -commit 84b68e58862647b4ede414b2e608c47d390fd60a -Author: Garret Rieger -Date: Wed Feb 21 15:43:47 2018 -0800 - - [subset] In hdmx serialize set the correct value of sizeDeviceRecord. - - src/hb-ot-hdmx-table.hh | 29 ++++++++++++++++------------- - 1 file changed, 16 insertions(+), 13 deletions(-) - -commit dddf44279f610e77e8b9a0819fd91f48802158b6 -Author: Garret Rieger -Date: Wed Feb 21 15:36:09 2018 -0800 - - [subset] When serializing a DeviceRecord in hdmx pad to make 32 bit aligned. - - src/hb-ot-hdmx-table.hh | 19 +++++++++++++------ - 1 file changed, 13 insertions(+), 6 deletions(-) - -commit ab7a8f3b7419b604816e12cb93e77c0ba45a57af -Author: Garret Rieger -Date: Wed Feb 21 15:15:22 2018 -0800 - - [subset] Begin implementing serialize for hdmx. - - src/hb-ot-hdmx-table.hh | 79 +++++++++++++++++++++++++++++++++++++++++++++++-- - 1 file changed, 77 insertions(+), 2 deletions(-) - -commit fe42862ab30d17483a1d0c2e2b1d859d01bbaff1 -Author: Garret Rieger -Date: Wed Feb 21 14:18:49 2018 -0800 - - [subset] Sketch out a basic hb-ot-hdmx.hh. - - src/Makefile.sources | 1 + - src/hb-ot-hdmx-table.hh | 77 +++++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-subset.cc | 1 + - 3 files changed, 79 insertions(+) - -commit 4f6f7c3b22ec788f609bdffc7e0893816657b3a0 -Author: Ebrahim Byagowi -Date: Fri Feb 23 02:54:12 2018 +0330 - - [util] Implement ppem/ptem on hb-{shape,view} (#811) - - util/options.cc | 33 ++++++++++++++++++++++++++++----- - util/options.hh | 6 ++++++ - 2 files changed, 34 insertions(+), 5 deletions(-) - -commit a6bd6bcee08c9522f9269b5c63f784688abddcff -Author: Ebrahim Byagowi -Date: Thu Feb 22 16:52:56 2018 +0330 - - [dev-run] minor - - src/dev-run.sh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit fa13a04cf3345311a2434f0d7f6346f967491c45 -Author: Ebrahim Byagowi -Date: Thu Feb 22 16:48:03 2018 +0330 - - [dev-run] Add gdb/lldb shortcuts - - src/dev-run.sh | 40 +++++++++++++++++++++++++++++++--------- - 1 file changed, 31 insertions(+), 9 deletions(-) - -commit 4f07437dfebd3dc5923f40154c6f1b7e1dce1bd4 -Author: Rod Sheeter -Date: Wed Feb 21 22:23:05 2018 -0800 - - [subset] sketch out dropping in-glyf instructions. Sometimes yields differnet size glyphs than fonttools, possibly due to padding not being corrected - - src/hb-ot-glyf-table.hh | 45 ++++++++++++++++ - src/hb-subset-glyf.cc | 78 +++++++++++++++++++++------ - src/hb-subset-input.cc | 6 +++ - src/hb-subset.h | 2 + - test/api/fonts/Roboto-Regular.ac.nohints.ttf | Bin 0 -> 1128 bytes - test/api/hb-subset-test.h | 15 +++--- - test/api/test-subset-cmap.c | 4 +- - test/api/test-subset-glyf.c | 32 +++++++++-- - test/api/test-subset-hmtx.c | 10 ++-- - test/api/test-subset-os2.c | 2 +- - 10 files changed, 160 insertions(+), 34 deletions(-) - -commit 2d0265242bb9a080886d6e0aa653c62e5770a15a -Author: Rod Sheeter -Date: Wed Feb 21 09:42:46 2018 -0800 - - [subset] keep the result of _subset - - src/hb-subset.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 4fb97be78d9287e489c9f67d1bfe7682235bdf38 -Author: Behdad Esfahbod -Date: Wed Feb 21 14:38:02 2018 -0800 - - Add two more ragel-generated headers - - Fixes https://github.com/harfbuzz/harfbuzz/issues/817 - - src/hb-buffer-deserialize-json.hh | 643 ++++++++++++++++++++++++++++++++++++++ - src/hb-buffer-deserialize-text.hh | 571 +++++++++++++++++++++++++++++++++ - 2 files changed, 1214 insertions(+) - -commit 74e0c13a4a55848e797242c02c8f067e587ea603 -Author: Rod Sheeter -Date: Wed Feb 21 11:19:18 2018 -0800 - - [subset] drop hint tables if so flagged. Still need to dump glyf instructions. - - src/hb-subset-plan.cc | 1 + - src/hb-subset-plan.hh | 2 ++ - src/hb-subset-private.hh | 2 +- - src/hb-subset.cc | 11 +++++++++-- - util/hb-subset.cc | 2 +- - util/options.cc | 2 +- - util/options.hh | 4 ++-- - 7 files changed, 17 insertions(+), 7 deletions(-) - -commit edee28801e4dbb5b734b4038d93fe1594e267ab1 -Author: Ebrahim Byagowi -Date: Wed Feb 21 22:13:58 2018 +0330 - - Add .editorconfig (#810) - - More information: http://editorconfig.org/ - - .editorconfig | 18 ++++++++++++++++++ - 1 file changed, 18 insertions(+) - -commit 0bd100e144885ed8144cf23e7e106014858a1724 -Author: Rod Sheeter -Date: Wed Feb 21 10:34:00 2018 -0800 - - [subset] add --hinting flag - - src/hb-subset-private.hh | 1 + - util/hb-subset.cc | 6 +++++- - util/options.cc | 15 +++++++++++++++ - util/options.hh | 14 ++++++++++++++ - 4 files changed, 35 insertions(+), 1 deletion(-) - -commit 7ecca8c0a83a6c71154fcc80887a4f895c0c5a23 -Author: Rod Sheeter -Date: Wed Feb 21 09:42:46 2018 -0800 - - [subset] keep the result of _subset - - src/hb-subset.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit eada749e4642ea90300c9c68c226fa76a3e35a75 -Author: Behdad Esfahbod -Date: Wed Feb 21 00:35:23 2018 -0800 - - Use HB_SET_VALUE_INVALID consistently - - src/hb-ot-layout-common-private.hh | 6 +++--- - src/hb-ot-shape.cc | 2 +- - 2 files changed, 4 insertions(+), 4 deletions(-) - -commit 2cc845f311b6dc4f0feda8b8fc5609fbd51b5923 -Author: Garret Rieger -Date: Tue Feb 20 18:13:41 2018 -0800 - - [subset] fix calculation of range shiftz. Should be 16 * len - searchRange not 16 * (len - searchRange). - - src/hb-open-type-private.hh | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit 8e614ade5aef102baed56f91c2fcb1f3d1788ea9 -Author: Garret Rieger -Date: Tue Feb 20 17:36:54 2018 -0800 - - [subset] Reverse table order for font serialization to match what OTS expects. - - src/hb-open-file-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit a998eeee4ad7bba4a1574c9735618891b6bd0948 -Author: Garret Rieger -Date: Tue Feb 20 16:48:52 2018 -0800 - - [subset] sanity check glyph data writes during glyph subsetting to ensure they are inbounds. - - src/hb-subset-glyf.cc | 11 +++++++++-- - 1 file changed, 9 insertions(+), 2 deletions(-) - -commit 0ab73e594275cf064e09b9df2e1df337a589745d -Author: Garret Rieger -Date: Tue Feb 20 15:33:03 2018 -0800 - - [subset] Sanity check that loca writes are inbounds. - - src/hb-subset-glyf.cc | 55 ++++++++++++++++++++++++++++++++++++++------------- - 1 file changed, 41 insertions(+), 14 deletions(-) - -commit 73e20ec6e9ad86bea023fc8b6fc10287889ed048 -Merge: 6ae4013f2 69e443b25 -Author: Garret Rieger -Date: Tue Feb 20 17:34:59 2018 -0700 - - Merge pull request #812 from googlefonts/cleanup - - Clean up of glyf subsetting. - -commit 6ae4013f2e53d6496507a58b715298fee4eadcee -Author: Behdad Esfahbod -Date: Tue Feb 20 15:02:25 2018 -0800 - - [aat] Cosmetic touch-ups to trak table - - src/hb-aat-layout-trak-table.hh | 31 +++++++++++++++++-------------- - 1 file changed, 17 insertions(+), 14 deletions(-) - -commit abc82b493e301e5588d689baa1434b3ce6577fcd -Author: Behdad Esfahbod -Date: Tue Feb 20 14:34:16 2018 -0800 - - Add Ragel-generated files to git - - I know it's bad form; I know I've said no to this multiple times... - But this is part of an experiment to see if we can make rolling HarfBuzz - into Chrome much faster. That will give us a lot more testing exposure - that currently Chrome does. - - Doing this while those files are still considered ignored by our - gitignore rules; will see how that flies. - - autogen.sh | 10 +- - src/Makefile.am | 3 +- - src/hb-ot-shape-complex-indic-machine.hh | 1319 ++++++++++++++++++++++++++++ - src/hb-ot-shape-complex-khmer-machine.hh | 294 +++++++ - src/hb-ot-shape-complex-myanmar-machine.hh | 413 +++++++++ - src/hb-ot-shape-complex-use-machine.hh | 502 +++++++++++ - 6 files changed, 2535 insertions(+), 6 deletions(-) - -commit 69e443b254fceb29f26f6a0c0129fe3c93c19cfb -Author: Garret Rieger -Date: Tue Feb 20 14:29:21 2018 -0800 - - [subset] Switch to hb_blob_copy_writable_or_fail in glyf subsetting. - - src/hb-ot-glyf-table.hh | 29 +++++++++++------------------ - src/hb-ot-maxp-table.hh | 3 +-- - 2 files changed, 12 insertions(+), 20 deletions(-) - -commit e3e0ac98238b78530a625a6b7e7647dbabbe1c4d -Author: Garret Rieger -Date: Tue Feb 20 14:07:40 2018 -0800 - - [subset] Move glyf subsetting code into hb-ot-glyf-table.hh - - src/hb-ot-glyf-table.hh | 49 +++++++++++++++++++++++++++++++++++++++++++++++- - src/hb-subset.cc | 50 +------------------------------------------------ - 2 files changed, 49 insertions(+), 50 deletions(-) - -commit d1f16fce963092404bf0b59e449a3215ca031b54 -Author: Behdad Esfahbod -Date: Tue Feb 20 10:32:09 2018 -0800 - - Don't use %zu - - Some of our bots / compilers don't like it. Wasn't caught by bots because this - is only in debug code. - - https://github.com/harfbuzz/harfbuzz/pull/809/commits/825ad378e0f0e6e6bb690894a0d5d25f198be21b - - src/hb-ot-cmap-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit c7e834a2fc5f8fb81f5316447e4075902d58d8a3 -Author: Ebrahim Byagowi -Date: Tue Feb 20 17:59:04 2018 +0330 - - [dev-run] minor - - src/dev-run.sh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 975c35214f8c8f0d90a8b114e1a8c06d5ecdecfd -Author: Ebrahim Byagowi -Date: Tue Feb 20 17:49:29 2018 +0330 - - [dev-run] Support autotools builds - - src/dev-run.sh | 46 +++++++++++++++++++++++++++++++--------------- - 1 file changed, 31 insertions(+), 15 deletions(-) - -commit 25136d9b7265d8920a78f3f832f1c69da4ef1f5b -Author: Dominik Röttsches -Date: Tue Feb 20 10:26:07 2018 +0200 - - Use %zu format specifier for size_t to fix cross platform build - - Fixes Chromium Android builds, compare - https://ci.chromium.org/buildbot/tryserver.chromium.android/linux_android_rel_ng/491787 - - src/hb-ot-cmap-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 53cf61b0299775f94c625de1bb0a7979b3b0c379 -Author: Ebrahim Byagowi -Date: Tue Feb 20 10:53:10 2018 +0330 - - Change Alpine and ArchLinux bot to test O3 and O0 on gcc, #801 - - .circleci/config.yml | 14 ++++++++------ - 1 file changed, 8 insertions(+), 6 deletions(-) - -commit a64eacd8a6cb9811bcaadf20b8b8ae56306cbd75 -Author: Ebrahim Byagowi -Date: Mon Feb 19 23:27:08 2018 +0330 - - [aat] First dig on 'trak' - - src/Makefile.sources | 3 +- - src/hb-aat-layout-trak-table.hh | 100 ++++++++++++++++++++++++++++++++++++++++ - src/hb-aat-layout.cc | 3 +- - src/hb-ot-layout-private.hh | 6 ++- - 4 files changed, 108 insertions(+), 4 deletions(-) - -commit 0bff6991de308044b077ce74bd45d57d8c4afe5f -Author: Behdad Esfahbod -Date: Mon Feb 19 11:51:25 2018 -0800 - - Ugh. Really fix build. - - src/hb-subset-private.hh | 2 +- - src/hb-subset.cc | 3 +-- - test/api/hb-subset-test.h | 1 + - 3 files changed, 3 insertions(+), 3 deletions(-) - -commit 4fcbd22b18040cbfd7410e6a090c5f9624eb9a0f -Author: Behdad Esfahbod -Date: Mon Feb 19 11:49:25 2018 -0800 - - Fix build after previous commit - - src/hb-subset-plan.hh | 2 ++ - 1 file changed, 2 insertions(+) - -commit 0bbf90ded00dd00ee3f79c1bd16c775d7c893278 -Author: Behdad Esfahbod -Date: Mon Feb 19 11:38:53 2018 -0800 - - [subset] Don't include hb-subset.h from hb.h - - src/hb.h | 1 - - 1 file changed, 1 deletion(-) - -commit fde04777d1d429fd0981002194f5c19599fda350 -Author: Ebrahim Byagowi -Date: Mon Feb 19 20:00:07 2018 +0330 - - Check availability of entr instead now that this works with it - - src/dev-run.sh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit b095ce59ebc5723a1b9c049eebb8f204455c9a72 -Author: Ebrahim Byagowi -Date: Mon Feb 19 11:58:20 2018 +0330 - - Simplify hb-fuzzer output printing and fix ArchLinux bot - - test/fuzzing/run-fuzzer-tests.py | 6 +----- - 1 file changed, 1 insertion(+), 5 deletions(-) - -commit be51f763a752bed1c395bff19afe3291a6063d00 -Author: Ebrahim Byagowi -Date: Mon Feb 19 11:06:13 2018 +0330 - - Test debug builds on ArchLinux bot - - Fixes #805 - - .circleci/config.yml | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit e2d2d819848ed0ff1c60b9bde1f9c8f9495ec5b4 -Author: Behdad Esfahbod -Date: Sun Feb 18 17:28:53 2018 -0800 - - Limit how much work sanitize() can do - - Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=6022 - - src/Makefile.am | 2 ++ - src/hb-open-type-private.hh | 16 ++++++++++++++-- - .../233c1e252e737ca79e03a9fd56b71aaa4a230f2b.ttf | Bin 0 -> 1048576 bytes - test/shaping/data/in-house/tests/fuzzed.tests | 1 + - 4 files changed, 17 insertions(+), 2 deletions(-) - -commit 7033fe5877c6f9500575f20f17135f74dc9c0547 -Author: Behdad Esfahbod -Date: Sun Feb 18 17:12:04 2018 -0800 - - [aat] Minor - - src/hb-aat-layout-common-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 6fa690c75a572a1076124b428b76929b2674e532 -Author: Behdad Esfahbod -Date: Sun Feb 18 16:27:59 2018 -0800 - - Fix debug build - - Context needs to be called 'c'. The TRACE_* rely on that. - - src/hb-ot-cmap-table.hh | 22 +++++++++++----------- - 1 file changed, 11 insertions(+), 11 deletions(-) - -commit 05d1e77db8f3e5280e93b6885ff4f7df113b612b -Author: Behdad Esfahbod -Date: Sun Feb 18 16:26:04 2018 -0800 - - [aat] Silence warning - - src/hb-aat-layout-kerx-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit a21fceb05311f61ef179b2f3aa6497562555f241 -Author: Behdad Esfahbod -Date: Sun Feb 18 16:10:15 2018 -0800 - - [ci] Make AppVeyor less noisy - - appveyor.yml | 3 +++ - 1 file changed, 3 insertions(+) - -commit 1c50a88623a881a9e2b2b0f1f6a783962626f03a -Author: Behdad Esfahbod -Date: Sun Feb 18 15:57:09 2018 -0800 - - Readjust mark attachment heuristic a bit more - - Previously adjusted logic could fail if nothing around was ligated, - and something moved. This should take care of that. - - CC https://github.com/harfbuzz/harfbuzz/issues/740 - - src/hb-ot-layout-gpos-table.hh | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -commit 246e280d88b6b26757297a349f01e52c15eaec53 -Author: Behdad Esfahbod -Date: Sun Feb 18 15:42:25 2018 -0800 - - [test] Add test for https://github.com/harfbuzz/harfbuzz/issues/740 - - .../fonts/573d3a3177c9a8646e94c8a0d7b224334340946a.ttf | Bin 0 -> 5680 bytes - test/shaping/data/in-house/tests/use.tests | 1 + - 2 files changed, 1 insertion(+) - -commit 79756c9039a628b0df441228ca1ea20b8a91e3e8 -Author: Ebrahim Byagowi -Date: Mon Feb 19 03:17:44 2018 +0330 - - [aat] First dig on 'kerx' (#704) - - src/Makefile.sources | 1 + - src/hb-aat-layout-kerx-table.hh | 377 ++++++++++++++++++++++++++++++++++++++++ - src/hb-aat-layout.cc | 1 + - src/hb-ot-layout-private.hh | 2 + - 4 files changed, 381 insertions(+) - -commit 279c70a5b36446f444e5d2f4ac1db7614c8a3db8 -Merge: e91644786 89b82814b -Author: Behdad Esfahbod -Date: Sun Feb 18 14:04:33 2018 -0800 - - Merge pull request #796 from ebraminio/dev-run - - Add a continuous builder using fswatch - -commit e91644786bf7c278e75962b851d5d47011ff175c -Author: Behdad Esfahbod -Date: Sun Feb 18 12:41:24 2018 -0800 - - Remove unused check - - configure.ac | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit 89b82814b605d2bfcc481a47607e642a928dff15 -Author: Ebrahim Byagowi -Date: Fri Feb 16 12:53:33 2018 +0330 - - Add a continuous builder using fswatch - - CMakeLists.txt | 24 +++++++++++++----------- - src/dev-run.sh | 22 ++++++++++++++++++++++ - test/api/CMakeLists.txt | 2 +- - 3 files changed, 36 insertions(+), 12 deletions(-) - -commit 0bd2d76bdd83569366762416bf7c8fd8e90021aa -Author: Behdad Esfahbod -Date: Sun Feb 18 11:55:26 2018 -0800 - - [test] Fix a couple of coverity_scan issues - - test/api/hb-subset-test.h | 17 +++++++++++------ - 1 file changed, 11 insertions(+), 6 deletions(-) - -commit 8089711a61687d565f207c56d3d2b658f514d7ab -Author: Ebrahim Byagowi -Date: Sun Feb 18 23:25:15 2018 +0330 - - Another attempt on fixing coverity - - I hope I am in a correct direction at least - - .travis.yml | 5 ++--- - 1 file changed, 2 insertions(+), 3 deletions(-) - -commit 79d0d791b9ee920e1f687a93de5adf5d113cc829 -Merge: 21646cc4a 97a711021 -Author: Behdad Esfahbod -Date: Sun Feb 18 11:35:51 2018 -0800 - - Merge pull request #800 from harfbuzz/bitops - - Optimize set through optimized bit operations - -commit 97a71102153d28982297a190739c7d82e76b109e -Author: Behdad Esfahbod -Date: Sun Feb 18 10:50:24 2018 -0800 - - Fix BitScanForward() usage - - Should fix Win64 bot. - - src/hb-private.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit fe8f40a4180e7b02831a264c0b3c66763156abb6 -Merge: cd11107bb 21646cc4a -Author: Behdad Esfahbod -Date: Sun Feb 18 10:45:33 2018 -0800 - - Merge branch 'master' into bitops - -commit 21646cc4a6160088933774e179df9be4865a9f4b -Author: David Corbett -Date: Fri Feb 16 12:08:55 2018 -0500 - - Do not mark the first glyph as unsafe to break - - Fixes #791. - - src/hb-buffer-private.hh | 3 +-- - src/hb-coretext.cc | 4 ---- - src/hb-directwrite.cc | 2 -- - src/hb-graphite2.cc | 1 - - src/hb-uniscribe.cc | 2 -- - 5 files changed, 1 insertion(+), 11 deletions(-) - -commit 04dedec96b76600eecdb739b72814a4a56b270ae -Author: Behdad Esfahbod -Date: Fri Feb 16 18:32:57 2018 -0800 - - [test] Remove unused var - - test/api/test-subset-hmtx.c | 1 - - 1 file changed, 1 deletion(-) - -commit 181b7471074cc814e0f498fc05fd6850c3f5e403 -Author: Behdad Esfahbod -Date: Fri Feb 16 17:08:44 2018 -0800 - - Update outdated TODO file - - TODO | 29 +---------------------------- - 1 file changed, 1 insertion(+), 28 deletions(-) - -commit 6d56db8983e03fbebbeb61282bef8cb1f9abb8e2 -Author: Behdad Esfahbod -Date: Fri Feb 16 17:02:57 2018 -0800 - - [test/api] Distribute all fonts - - test/api/Makefile.am | 21 ++------------------- - 1 file changed, 2 insertions(+), 19 deletions(-) - -commit e5ab34fd3a104f7ff2f0b36c66770c88b2ea1051 -Author: Behdad Esfahbod -Date: Fri Feb 16 16:58:17 2018 -0800 - - Misc fixes - - Should bring bag djgpp bot. - - src/hb-ot-os2-table.hh | 54 +++++++++++++++++++++++++------------------------- - src/hb-subset-plan.cc | 16 +++++++-------- - 2 files changed, 34 insertions(+), 36 deletions(-) - -commit df9e22656de746bde65dee775a66f1a80f1c2e32 -Author: Garret Rieger -Date: Fri Feb 16 17:02:51 2018 -0700 - - [subset] add a glyf subsetting test for a font with composite glyphs. - - .../api/fonts/Roboto-Regular.components.subset.ttf | Bin 0 -> 2052 bytes - test/api/fonts/Roboto-Regular.components.ttf | Bin 0 -> 2572 bytes - test/api/test-subset-glyf.c | 21 +++++++++++++++++++++ - 3 files changed, 21 insertions(+) - -commit c36d015b0e9c363431cd9d228b776ad419fde474 -Author: Garret Rieger -Date: Fri Feb 16 17:02:15 2018 -0700 - - [subset] missing return. - - test/api/hb-subset-test.h | 1 + - 1 file changed, 1 insertion(+) - -commit 2130392dcc30784ee34c487ab16316006c91f16d -Author: Garret Rieger -Date: Fri Feb 16 17:01:00 2018 -0700 - - [subset] Add support for updating reference gids in components to their new values. - - src/hb-subset-glyf.cc | 38 +++++++++++++++++++++++++++++++++----- - 1 file changed, 33 insertions(+), 5 deletions(-) - -commit 49544eb860e523838892d6ce88eeca72ffd19da4 -Author: Garret Rieger -Date: Fri Feb 16 16:56:15 2018 -0700 - - [subset] Refactor composite glyf iteration code into an Iterator outside of the accelerator. - - src/hb-ot-glyf-table.hh | 110 +++++++++++++++++++++++++----------------------- - src/hb-subset-plan.cc | 6 +-- - 2 files changed, 60 insertions(+), 56 deletions(-) - -commit dc6d67df1395faf38d7587b1dd3c6661ee7cd6f0 -Author: Garret Rieger -Date: Fri Feb 16 15:20:14 2018 -0700 - - [subset] Use gids_to_retain_sorted to produce old gid -> new gid mapping since it now has the more complete set. - - src/hb-subset-plan.cc | 10 ++++++---- - 1 file changed, 6 insertions(+), 4 deletions(-) - -commit dcac9fe96429d4e272a3fbd60a6162f988f58f71 -Author: Garret Rieger -Date: Fri Feb 16 11:27:03 2018 -0700 - - [subset] Use complex glyph closure to populate gids_to_retain_sorted. - - src/hb-subset-plan.cc | 43 ++++++++++++++++++++++++------------------- - src/hb-subset-plan.hh | 6 ++++++ - 2 files changed, 30 insertions(+), 19 deletions(-) - -commit 58a54c9d4f72e228c012451c4469da730742d3d8 -Author: Garret Rieger -Date: Fri Feb 16 11:20:38 2018 -0700 - - [subset] add constant to get_composite and in_table methods in hb-ot-glyf-table - - src/hb-ot-glyf-table.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 73e1434814eb37005b4159babf972a2743b25700 -Author: Garret Rieger -Date: Thu Feb 15 14:41:56 2018 -0800 - - [subset] Add a DFS search to produce a closure of composite glyphs. - - src/hb-subset-plan.cc | 21 +++++++++++++++++++++ - 1 file changed, 21 insertions(+) - -commit d3684141437fad6ebf5f9945f92125c9a42ea853 -Author: Garret Rieger -Date: Thu Feb 15 14:03:34 2018 -0800 - - [subset] add helper methods to glyf accelerator for reading composite glyph information. - - src/hb-ot-glyf-table.hh | 115 ++++++++++++++++++++++++++++++++++++++++++++++-- - 1 file changed, 112 insertions(+), 3 deletions(-) - -commit cd11107bb44ac719709e10264e9e6ba6a1cfae0c -Author: Behdad Esfahbod -Date: Fri Feb 16 18:28:58 2018 -0800 - - Another bitops fallback fix - - I'm confident that all bugs are hashed out now. - - src/hb-private.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 4e517ecb6b7c27d4053a6476bb9262858e2567ed -Author: Behdad Esfahbod -Date: Fri Feb 16 18:20:12 2018 -0800 - - Another bitops fallback impl fix - - src/hb-private.hh | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit f18b9fbf6583dff72675be7859fc147ec24a0dd2 -Author: Behdad Esfahbod -Date: Fri Feb 16 18:14:41 2018 -0800 - - [set] Implement iteration using bitop intrinsics - - src/hb-set-private.hh | 55 ++++++++++++++++++--------------------------------- - 1 file changed, 19 insertions(+), 36 deletions(-) - -commit 6a91a2eb04951f6e33706c2b8e9cd987b429fce9 -Author: Behdad Esfahbod -Date: Fri Feb 16 17:49:41 2018 -0800 - - Fix wide bitops implemenetation - - src/hb-private.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit d25c3e69e9b0cb9d947e98845b9e3a14ce58e350 -Author: Behdad Esfahbod -Date: Fri Feb 16 17:45:09 2018 -0800 - - [set] Readjust parameters - - src/hb-set-private.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 6d5c0bf8b18ed53e8d40dcbae83ec66ed2116843 -Author: Behdad Esfahbod -Date: Fri Feb 16 17:33:26 2018 -0800 - - Fix bitops fallback impl - - src/hb-private.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 82eb1dac163cb4aef8a2e4ebad542378f4e28dca -Author: Behdad Esfahbod -Date: Fri Feb 16 16:52:09 2018 -0800 - - Flesh out other bit ops some more for 128bit as well - - src/hb-private.hh | 165 +++++++++++++++++++++++++++++++++++++++++------------- - 1 file changed, 126 insertions(+), 39 deletions(-) - -commit 864a2dddae9eb1303c59d0d3717fce307a72a524 -Author: Behdad Esfahbod -Date: Fri Feb 16 14:21:40 2018 -0800 - - Clean up bit functions - - Compile all code-paths possible, to better catch errors. - Also enable MSVC ones on mingw which seems to support them. - - src/hb-private.hh | 43 +++++++++++++++++++++++++++---------------- - 1 file changed, 27 insertions(+), 16 deletions(-) - -commit 978ace6fbbc828adc20f21591d138f41d8508ebc -Author: Behdad Esfahbod -Date: Fri Feb 16 16:06:17 2018 -0800 - - Improve _hb_popcount() - - Support 128bit type. - - configure.ac | 3 ++- - src/hb-ot-layout-gpos-table.hh | 2 +- - src/hb-ot-map.cc | 2 +- - src/hb-private.hh | 61 +++++++++++++++++++++++++++--------------- - 4 files changed, 44 insertions(+), 24 deletions(-) - -commit 7b5ce7404716a17f91ff86d374c7b76ee7ce3247 -Author: Behdad Esfahbod -Date: Fri Feb 16 15:37:22 2018 -0800 - - Fix warnings - - src/hb-ot-os2-table.hh | 2 +- - test/api/hb-subset-test.h | 3 ++- - test/api/hb-test.h | 9 +++++++-- - 3 files changed, 10 insertions(+), 4 deletions(-) - -commit 94d32d1b83892ed4f124463cf4322bf74b3e850d -Author: Behdad Esfahbod -Date: Fri Feb 16 15:36:20 2018 -0800 - - Enable C99 if available - - Hopefully we can now mix-and-match code and declaration in the C test files. - - configure.ac | 1 + - 1 file changed, 1 insertion(+) - -commit 926db874552519734fab6c04258887ea634f5324 -Merge: 882a3bf4a c7a633f95 -Author: rsheeter -Date: Fri Feb 16 15:27:29 2018 -0800 - - Merge pull request #792 from googlefonts/master - - Support more tables in subsetter - -commit 882a3bf4abcdac60414db41d54dbbb7d2368c908 -Author: Behdad Esfahbod -Date: Fri Feb 16 14:17:20 2018 -0800 - - That didn't work... - - RELEASING.md | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit b1f186df78ed14cbc8be919e7f552df2bd7561e0 -Author: Behdad Esfahbod -Date: Fri Feb 16 14:13:38 2018 -0800 - - Add mingw32.sh and mingw64.sh - - RELEASING.md | 28 +--------------------------- - mingw32.sh | 22 ++++++++++++++++++++++ - mingw64.sh | 22 ++++++++++++++++++++++ - 3 files changed, 45 insertions(+), 27 deletions(-) - -commit d37310ac5d5f8a3fd1ce1e535647e7c6bb0d7926 -Author: Arkady Shapkin -Date: Fri Feb 16 21:45:08 2018 +0300 - - Remove checking macros __OPTIMIZE__ for MSVC - - Visual C++ compiler doesn't define macros __OPTIMIZE__ when optimizations enabled - - src/hb-private.hh | 9 ++++----- - 1 file changed, 4 insertions(+), 5 deletions(-) - -commit 4eff0fc5b87084765ac2e36ba9f09d7d257f32fb -Author: Khaled Hosny -Date: Fri Feb 16 20:22:52 2018 +0200 - - Make this work for old versions of automake - - .ci/fail.sh | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit f8077c97909778c117d37773c9da570d831dacd2 -Author: Khaled Hosny -Date: Thu Feb 15 11:47:08 2018 +0200 - - Print only the failed log - - .ci/fail.sh | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -commit 8e3b4c0e11642470069b866a73768a866ac3fdb3 -Author: Khaled Hosny -Date: Thu Feb 15 11:25:24 2018 +0200 - - Simplify calls to collect-logs.sh - - .ci/{collect-logs.sh => fail.sh} | 3 +++ - .circleci/config.yml | 13 +++++++++---- - .travis.yml | 6 +++--- - appveyor.yml | 2 +- - 4 files changed, 16 insertions(+), 8 deletions(-) - -commit c7a633f95710fcf2fe9151b41feba7db4b1bab0e -Author: Rod Sheeter -Date: Fri Feb 16 11:11:20 2018 -0800 - - [subset] try to get more info from bot where g_assert_cmpmem fails - - test/api/hb-subset-test.h | 12 +++++------- - test/api/hb-test.h | 11 ++++++++--- - 2 files changed, 13 insertions(+), 10 deletions(-) - -commit 0bb2d7ac12b7cf482580b6d2e8534eef8a233f96 -Author: Rod Sheeter -Date: Fri Feb 16 06:26:02 2018 -0800 - - [subset] fix int type for blob length in hb-subset-test.h - - test/api/hb-subset-test.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit be0a01a67613f45db7f7e9be84cb883f0344c817 -Merge: 7acaa3b78 139c9928f -Author: Rod Sheeter -Date: Fri Feb 16 06:01:41 2018 -0800 - - Merge branch 'master' of https://github.com/harfbuzz/harfbuzz - -commit 139c9928f6152088fa6eee0279e33cb821aeb541 -Author: Ebrahim Byagowi -Date: Fri Feb 16 13:27:26 2018 +0330 - - Fix hb-private.hh compile issue - - src/hb-private.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 6c10328eb88b0641586f31a782b63f45eada5609 -Author: Arkady Shapkin -Date: Thu Feb 15 23:17:46 2018 +0300 - - Use _BitScanForward and _BitScanReverse on MSVC - - src/hb-private.hh | 12 ++++++++++++ - 1 file changed, 12 insertions(+) - -commit 7acaa3b781da835cdb11dbe523c819feb4eef996 -Author: Rod Sheeter -Date: Thu Feb 15 14:28:29 2018 -0800 - - [subset] apparently C99 is too much to ask in 2018 - - src/hb-ot-hmtx-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit b1740106a9c825874faf3f1315770d1e3c790cf9 -Author: Rod Sheeter -Date: Thu Feb 15 13:55:21 2018 -0800 - - [subset] fix format specifier for size_t - - src/hb-ot-hmtx-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit e00c37aaae3922b425c0528bfdd36d59cf9c5796 -Author: Rod Sheeter -Date: Thu Feb 15 12:53:52 2018 -0800 - - [subset] fix no matching function MIN in djgpp - - src/hb-ot-hmtx-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 6122ad2442666d89ef39bdf5a2bb9d3f6d8e2b03 -Author: Rod Sheeter -Date: Thu Feb 15 11:40:28 2018 -0800 - - [subset] add files to EXTRA_DIST - - test/api/Makefile.am | 3 +++ - 1 file changed, 3 insertions(+) - -commit 0758cbc4c2f52c629d05515b8d2816e8d6a2a2c1 -Author: Rod Sheeter -Date: Thu Feb 15 11:29:01 2018 -0800 - - [subset] correct bug introduced to get_advance - - src/hb-ot-hmtx-table.hh | 8 ++++++-- - 1 file changed, 6 insertions(+), 2 deletions(-) - -commit 3fd11f4397aec9cda3a7d29246ab3ae56115ad36 -Author: Rod Sheeter -Date: Thu Feb 15 11:15:12 2018 -0800 - - [subset] remove unused decl - - src/hb-subset-private.hh | 3 --- - 1 file changed, 3 deletions(-) - -commit 23d21a74b55eaf6d6d367097099e6b3bb78bae37 -Author: Khaled Hosny -Date: Thu Feb 15 02:52:15 2018 +0200 - - Move collect_logs to .ci dir - - Next to other CI scripts. - - .collect_logs => .ci/collect-logs.sh | 0 - .circleci/config.yml | 8 ++++---- - .travis.yml | 6 +++--- - appveyor.yml | 2 +- - 4 files changed, 8 insertions(+), 8 deletions(-) - -commit 0e088a63d10dd09e025515bfa8ae68aa2922eaf6 -Author: Rod Sheeter -Date: Wed Feb 14 21:11:45 2018 -0800 - - [subset] hmtx space bracket. authors++ - - src/hb-ot-hmtx-table.hh | 40 ++++++++++++++++++++-------------------- - 1 file changed, 20 insertions(+), 20 deletions(-) - -commit 1725c35da0ea2f829b6d6b6c1963607fd6dfb577 -Author: Rod Sheeter -Date: Wed Feb 14 19:36:33 2018 -0800 - - [subset] cmap space bracket - - src/hb-ot-cmap-table.hh | 72 ++++++++++++++++++++++++------------------------- - 1 file changed, 36 insertions(+), 36 deletions(-) - -commit e158739bfb9e5d60989e179fcc8744f3125e2067 -Author: Rod Sheeter -Date: Wed Feb 14 19:22:37 2018 -0800 - - [subset] space bracket - - src/hb-ot-hmtx-table.hh | 5 ++--- - 1 file changed, 2 insertions(+), 3 deletions(-) - -commit 2d6b1e2af74abea645a943d264e148d56d018101 -Author: Rod Sheeter -Date: Wed Feb 14 19:14:01 2018 -0800 - - [subset] maxp copy writeable fn - - src/hb-ot-maxp-table.hh | 9 ++++----- - 1 file changed, 4 insertions(+), 5 deletions(-) - -commit 1efecd965fe81d65e2763be4f43df2d8c4d8be44 -Author: Rod Sheeter -Date: Wed Feb 14 18:42:29 2018 -0800 - - [subset] hmtx use copy writeable fn instead of direct memory - - src/hb-ot-hmtx-table.hh | 23 ++++------------------- - 1 file changed, 4 insertions(+), 19 deletions(-) - -commit 27012526f9b3848676bc2a4fb8e68c630af18620 -Author: Rod Sheeter -Date: Wed Feb 14 19:01:00 2018 -0800 - - [subset] whitespace - - test/api/test-subset-hmtx.c | 7 +++---- - 1 file changed, 3 insertions(+), 4 deletions(-) - -commit b1bd0b5f506dad9d04fd3a6abcb92122f231e0f7 -Author: Behdad Esfahbod -Date: Wed Feb 14 18:50:19 2018 -0800 - - [subset] Minor - - src/hb-ot-cmap-table.hh | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -commit 83f57e24bfc2000373192ec44b067fdd7dee8a65 -Author: Behdad Esfahbod -Date: Wed Feb 14 18:43:53 2018 -0800 - - [test] Reinstate test/shaping/data/in-house/tests/myanmar-syllable.tests - - test/shaping/data/in-house/tests/myanmar-syllable.tests | 1 + - 1 file changed, 1 insertion(+) - -commit 5ae6526ef4aa9b3c943cad984dc2fff09cdf597b -Merge: 2903b2f35 04c1ec2b7 -Author: Behdad Esfahbod -Date: Wed Feb 14 18:42:32 2018 -0800 - - [subset] Merge remote-tracking branch 'googlefonts/master' - -commit 04c1ec2b7396c05f6e8afc9d87679422782aa1e8 -Author: Garret Rieger -Date: Wed Feb 14 17:00:18 2018 -0800 - - [subset] Don't fail on different checksum adjustment in subsetting tests. - - .../expected/basics/Roboto-Regular.abc.default.62.ttf | Bin 1740 -> 1692 bytes - test/subset/run-tests.py | 8 ++++++++ - 2 files changed, 8 insertions(+) - -commit 0775bc0f7a59241456142b48abced75fd3db5a42 -Author: Garret Rieger -Date: Wed Feb 14 16:37:35 2018 -0800 - - [subset] Fix hhea subsetting and clean up some memory leaks. - - src/hb-ot-hmtx-table.hh | 25 ++++++++++++++----------- - 1 file changed, 14 insertions(+), 11 deletions(-) - -commit b56c9384bcc177236debd26fdbbf14319e4c62b9 -Author: Garret Rieger -Date: Wed Feb 14 16:05:39 2018 -0800 - - [subset] Add missing face reference in hb-subset-plan plus ensure all struct members are cleaned up on destroy. - - src/hb-subset-plan.cc | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -commit e0ffebead6230b8e1ee8dd97425505706321793e -Author: Garret Rieger -Date: Wed Feb 14 16:01:08 2018 -0800 - - [subset] In hb-subset-test use hb_set_union instead of manually copying set. - - test/api/hb-subset-test.h | 8 +++----- - 1 file changed, 3 insertions(+), 5 deletions(-) - -commit e330ef3711c543372f9f8550a967c512bbf87d83 -Author: Garret Rieger -Date: Wed Feb 14 15:57:11 2018 -0800 - - [subset] Restore hb_face_data_destroy to be internal. - - src/hb-subset.cc | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -commit 3ab7d2649bf5c92d3837b3132d65d4659d0fa003 -Author: Garret Rieger -Date: Wed Feb 14 15:48:57 2018 -0800 - - [subset] Fix memory leak in hb-ot-{maxp,os2}. Plus some formatting. - - src/hb-ot-maxp-table.hh | 6 ++++-- - src/hb-ot-os2-table.hh | 24 +++++++++++++----------- - 2 files changed, 17 insertions(+), 13 deletions(-) - -commit 2903b2f357eb495c9badac1b2f74e65e1d1075bd -Author: Behdad Esfahbod -Date: Wed Feb 14 15:46:27 2018 -0800 - - Another linker tweaking - - Trying to fix this warning: - cc1: warning: command line option ‘-fno-threadsafe-statics’ is valid for C++/ObjC++ but not for C - - Let's see what the clang bots think of it. - - src/Makefile.am | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit e1f1f96577a80846749782b6e199a661f4189ec0 -Author: Behdad Esfahbod -Date: Wed Feb 14 15:44:48 2018 -0800 - - [set] Tune size again - - Switch from a 128+64 hierarchy, to 32+32. New page size is 1024. - This should make set iteration faster, without affecting other op - performances much. - - src/hb-set-private.hh | 7 +++---- - 1 file changed, 3 insertions(+), 4 deletions(-) - -commit 66e282df32410831f1c4e157e9dcf8c76f2bc3d8 -Author: Rod Sheeter -Date: Wed Feb 14 15:31:13 2018 -0800 - - [subset] remove TODO that was already done - - src/hb-subset-plan.hh | 1 - - 1 file changed, 1 deletion(-) - -commit 4696624ad9987b0eebcf5c84dafdb204b886f28e -Author: Rod Sheeter -Date: Wed Feb 14 15:30:49 2018 -0800 - - [subset] maxp wrong int type, note to use copy_writable_or_fail - - src/hb-ot-maxp-table.hh | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 3ed70e5e64910e1c22225f542a525807b000cb2a -Author: Rod Sheeter -Date: Wed Feb 14 15:24:49 2018 -0800 - - [subset] return bool not hb_bool_t from table::subset - - src/hb-ot-cmap-table.hh | 2 +- - src/hb-ot-maxp-table.hh | 2 +- - src/hb-ot-os2-table.hh | 2 +- - src/hb-subset.cc | 2 +- - 4 files changed, 4 insertions(+), 4 deletions(-) - -commit 88d56e241bd6bb768656d77cf8f99ccc97fb2446 -Author: Rod Sheeter -Date: Wed Feb 14 15:20:43 2018 -0800 - - [subset] Use a supplier instead of memcpy and fix a few unnecessary {}s for cmap - - src/hb-ot-cmap-table.hh | 24 ++++++------------------ - 1 file changed, 6 insertions(+), 18 deletions(-) - -commit 42a80f00d51317207c49611b76d6bba06230371b -Author: Rod Sheeter -Date: Wed Feb 14 15:04:35 2018 -0800 - - [subset] add free - - src/hb-ot-hmtx-table.hh | 1 + - 1 file changed, 1 insertion(+) - -commit d463e9f6b57bebb3aa4875fe11c927c26c3e3974 -Author: Rod Sheeter -Date: Wed Feb 14 15:04:15 2018 -0800 - - [subset] Give Behdad credit again - - src/hb-subset.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit fa87770372a3156658412ff0d70e32083c6b0484 -Author: Rod Sheeter -Date: Wed Feb 14 14:16:25 2018 -0800 - - [subset] First pass at hmtx - - src/hb-ot-cmap-table.hh | 19 +-- - src/hb-ot-hhea-table.hh | 6 +- - src/hb-ot-hmtx-table.hh | 163 ++++++++++++++++++--- - src/hb-ot-maxp-table.hh | 8 +- - src/hb-ot-os2-table.hh | 8 +- - src/hb-subset-glyf.cc | 5 +- - src/hb-subset-glyf.hh | 1 - - src/hb-subset-plan.cc | 12 ++ - src/hb-subset-plan.hh | 10 ++ - src/hb-subset-private.hh | 11 ++ - src/hb-subset.cc | 85 ++++++----- - test/api/Makefile.am | 7 + - test/api/fonts/Inconsolata-Regular.ab.ttf | Bin 0 -> 5048 bytes - test/api/fonts/Inconsolata-Regular.abc.ttf | Bin 0 -> 5224 bytes - test/api/fonts/Inconsolata-Regular.abc.widerc.ttf | Bin 0 -> 5228 bytes - test/api/fonts/Inconsolata-Regular.ac.ttf | Bin 0 -> 4940 bytes - test/api/fonts/Inconsolata-Regular.ac.widerc.ttf | Bin 0 -> 4944 bytes - test/api/fonts/README | 2 + - test/api/test-subset-hmtx.c | 164 ++++++++++++++++++++++ - 19 files changed, 422 insertions(+), 79 deletions(-) - -commit 20022575c658b29796db80c387641309d0c49586 -Author: Ebrahim Byagowi -Date: Thu Feb 15 01:15:39 2018 +0330 - - Redirect email notifications to another mailing list dedicated for this (#790) - - .travis.yml | 4 ++-- - appveyor.yml | 5 +++++ - 2 files changed, 7 insertions(+), 2 deletions(-) - -commit 581996ea7976847b6356c9cc81b564f0c278f0f3 -Author: Ebrahim Byagowi -Date: Thu Feb 15 00:43:46 2018 +0330 - - Add .collect_logs and use it on CI bots, fixes #786 (#789) - - .circleci/config.yml | 8 ++++---- - .collect_logs | 6 ++++++ - .travis.yml | 6 +++--- - appveyor.yml | 2 +- - 4 files changed, 14 insertions(+), 8 deletions(-) - -commit e5edcc81bf14311c56bd2f50808552076c3c4d77 -Author: Garret Rieger -Date: Wed Feb 14 11:17:53 2018 -0800 - - [subset] Fix codepoint iteration in hb-subset-test. - - test/api/hb-subset-test.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit ccae99fdadcf86aeda15dc230a3ddcd6ff176533 -Author: Behdad Esfahbod -Date: Wed Feb 14 11:12:09 2018 -0800 - - Another try - - src/Makefile.am | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 8b1dbbef1aec3b6880186070e7386a5553d67b15 -Author: Garret Rieger -Date: Wed Feb 14 11:04:12 2018 -0800 - - Fix compile error in hb-subset-test. - - test/api/hb-subset-test.h | 9 ++++++++- - 1 file changed, 8 insertions(+), 1 deletion(-) - -commit f53627e19100df6eb7f32d58e7c4ce47a783f1a6 -Author: Behdad Esfahbod -Date: Wed Feb 14 10:59:22 2018 -0800 - - [test] Fix warning - - test/api/test-subset.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 8c3612af650e4c8e01a9fdc127342b07b5c77962 -Author: Behdad Esfahbod -Date: Wed Feb 14 10:57:34 2018 -0800 - - Tweak Makefile some more - - src/Makefile.am | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -commit d594f947b68ad36d32ce107847f5f02ec3528076 -Author: Behdad Esfahbod -Date: Wed Feb 14 10:55:25 2018 -0800 - - [subset] Allow linking to libstdc++ - - We want to use it. - - src/Makefile.am | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit a0fe3011bafbe36e7d5810acc7df21bea08c802a -Author: Rod Sheeter -Date: Wed Feb 14 10:52:41 2018 -0800 - - copy all cmap groups at once - - src/hb-ot-cmap-table.hh | 14 ++++---------- - 1 file changed, 4 insertions(+), 10 deletions(-) - -commit d008b62887afe631f50009f40e605c8456ddd011 -Merge: b0eefacf4 109314cb5 -Author: Garret Rieger -Date: Wed Feb 14 10:38:52 2018 -0800 - - Merge remote-tracking branch 'upstream/master' into fixed - -commit b0eefacf4cb885f510f9551bf2e9216808ca61e8 -Author: Garret Rieger -Date: Mon Feb 12 18:15:58 2018 -0800 - - [subset] Drop GSUB, GDEF, GPOS, and DSIG from subsetter expected test outputs. - - .../expected/basics/Roboto-Regular.abc.default.62.ttf | Bin 2460 -> 1740 bytes - test/subset/generate-expected-outputs.py | 1 + - 2 files changed, 1 insertion(+) - -commit 89f17e3965ba776565f2de2bf56a4b135f336e53 -Author: Garret Rieger -Date: Mon Feb 12 18:14:50 2018 -0800 - - [subset] capitalize dsig. - - src/hb-subset.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit df6d780355d7da805a9b9033452f8814c5360bba -Author: Garret Rieger -Date: Mon Feb 12 17:56:17 2018 -0800 - - [subset] Extract maxp subsetting into hb-ot-maxp-table. - - src/hb-ot-maxp-table.hh | 19 ++++++++++++++++++- - src/hb-subset.cc | 28 ++-------------------------- - test/api/test-subset-glyf.c | 5 +++-- - 3 files changed, 23 insertions(+), 29 deletions(-) - -commit 865b6971ad5c2ec4bc33c36a78a36b90da5f5543 -Author: Garret Rieger -Date: Mon Feb 12 17:42:20 2018 -0800 - - [subset] Add a test for OS/2 fixes during subsetting. - - test/api/Makefile.am | 2 ++ - test/api/fonts/Roboto-Regular.b.ttf | Bin 0 -> 1996 bytes - test/api/test-subset-os2.c | 59 ++++++++++++++++++++++++++++++++++++ - 3 files changed, 61 insertions(+) - -commit 343dfe89655683966836e44afb4fd32c47377844 -Author: Garret Rieger -Date: Mon Feb 12 17:33:48 2018 -0800 - - [subset] white and add inline in hb-ot-cmap-table. - - src/hb-ot-cmap-table.hh | 18 +++++++++--------- - 1 file changed, 9 insertions(+), 9 deletions(-) - -commit 24904383df03c472c865bd97bfe844f5e86a7172 -Author: Garret Rieger -Date: Mon Feb 12 17:31:01 2018 -0800 - - [subset] Correct usFirstCharIndex and usLastCharIndex in OS2 table when subsetting. - - src/hb-ot-os2-table.hh | 45 +++++++++++++++++++++++++++++++++++++++++++++ - src/hb-subset.cc | 16 ++++++++++------ - 2 files changed, 55 insertions(+), 6 deletions(-) - -commit 109314cb55e6d95d5c3a87b9ed1ba4e74a880078 -Author: Ebrahim Byagowi -Date: Wed Feb 14 21:05:11 2018 +0330 - - Another attempt on fixing the tests on Travis (#788) - - src/Makefile.am | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 694eaf636713b8d0bbe13f38c2553b1a2f3d2d3a -Author: Behdad Esfahbod -Date: Wed Feb 14 01:00:10 2018 -0800 - - [set] Add backwards iterator - - New API: - - hb_set_previous() - - hb_set_previous_range() - - docs/harfbuzz-sections.txt | 2 ++ - src/hb-set-private.hh | 79 +++++++++++++++++++++++++++++++++++++++++++++- - src/hb-set.cc | 49 +++++++++++++++++++++++++++- - src/hb-set.h | 19 ++++++++--- - test/api/test-set.c | 53 +++++++++++++++++++++++++++++-- - 5 files changed, 194 insertions(+), 8 deletions(-) - -commit fe3bc524bd4f93bd67c13ed402720a13dd3484d3 -Author: Behdad Esfahbod -Date: Tue Feb 13 23:51:45 2018 -0800 - - [set] Allow starting iteration from a non-member of the set - - src/hb-set-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit a989f3edec5864d5de8b217aa595c962d8fc4b0a -Author: Behdad Esfahbod -Date: Tue Feb 13 22:12:36 2018 -0800 - - Add hb_blob_copy_writable_or_fail() - - New API: - - hb_blob_copy_writable_or_fail() - - docs/harfbuzz-sections.txt | 1 + - src/hb-blob.cc | 25 +++++++++++++++++++++++++ - src/hb-blob.h | 3 +++ - 3 files changed, 29 insertions(+) - -commit 9046e924421869bf167b52cd394e868796091f62 -Author: Behdad Esfahbod -Date: Tue Feb 13 22:07:12 2018 -0800 - - [subset] Rename constructor to hb_subset_input_create_or_fail() - - To signify that unlike rest of library, returns nullptr on failure. - - src/hb-subset-input.cc | 6 ++---- - src/hb-subset.h | 2 +- - test/api/test-subset-glyf.c | 3 ++- - test/api/test-subset.c | 7 +++++-- - util/hb-subset.cc | 2 +- - 5 files changed, 11 insertions(+), 9 deletions(-) - -commit 507804479a81672ec0c089313adad9fa308d78fd -Author: Behdad Esfahbod -Date: Tue Feb 13 21:46:28 2018 -0800 - - [use] Add dump-use-data - - src/Makefile.am | 4 ++++ - src/dump-use-data.cc | 38 ++++++++++++++++++++++++++++++++++ - src/gen-use-table.py | 2 +- - src/hb-ot-shape-complex-use-private.hh | 2 +- - src/hb-ot-shape-complex-use-table.cc | 2 +- - src/hb-ot-shape-complex-use.cc | 4 ++-- - 6 files changed, 47 insertions(+), 5 deletions(-) - -commit 15ba4fbe01433c8627f9e6a60106ca77d3e1ad4c -Author: Behdad Esfahbod -Date: Tue Feb 13 21:41:51 2018 -0800 - - [khmer] Add dump-khmer-data - - src/Makefile.am | 4 + - src/Makefile.sources | 1 + - src/dump-khmer-data.cc | 43 +++++++++++ - src/hb-ot-shape-complex-khmer-private.hh | 124 +++++++++++++++++++++++++++++++ - src/hb-ot-shape-complex-khmer.cc | 98 +----------------------- - 5 files changed, 173 insertions(+), 97 deletions(-) - -commit effddd03bd6fb0aac14b46a16b281f3749e44780 -Author: Behdad Esfahbod -Date: Tue Feb 13 21:38:15 2018 -0800 - - [myanmar] Add dump-myanmar-data - - src/Makefile.am | 4 + - src/Makefile.sources | 1 + - src/dump-myanmar-data.cc | 43 ++++++++ - src/hb-ot-shape-complex-indic-private.hh | 8 +- - src/hb-ot-shape-complex-myanmar-private.hh | 171 +++++++++++++++++++++++++++++ - src/hb-ot-shape-complex-myanmar.cc | 138 +---------------------- - 6 files changed, 225 insertions(+), 140 deletions(-) - -commit c0e45b60a001a45c8ed1f12af8f2f222161eca6a -Author: Behdad Esfahbod -Date: Tue Feb 13 21:23:38 2018 -0800 - - [indic] Rename print-indic-table to dump-indic-data - - Makes more sense given what this prints, err, dumps. - - src/Makefile.am | 8 ++++---- - src/{print-indic-table.cc => dump-indic-data.cc} | 0 - 2 files changed, 4 insertions(+), 4 deletions(-) - -commit 9b878bd2165236b067d59410673cf5cc54968fa7 -Author: Behdad Esfahbod -Date: Tue Feb 13 21:22:47 2018 -0800 - - [indic] Explicitly number indic_position_t - - So it's easier to cross-reference from output of print-indic-table. - - src/hb-ot-shape-complex-indic-private.hh | 32 ++++++++++++++++---------------- - 1 file changed, 16 insertions(+), 16 deletions(-) - -commit 8634846a0a1049c42ea84ca34402957c981b4c73 -Author: Behdad Esfahbod -Date: Tue Feb 13 21:18:00 2018 -0800 - - More tweaking linker and linker flags - - src/Makefile.am | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit d830d3d2448b2248dff642c701b442e1260e2d85 -Author: Behdad Esfahbod -Date: Tue Feb 13 19:01:03 2018 -0800 - - [indic] Share some copy/pasta code - - src/hb-ot-shape-complex-indic-private.hh | 29 +++++++++++++++++++++++++++-- - src/hb-ot-shape-complex-indic.cc | 27 --------------------------- - src/hb-ot-shape-complex-khmer.cc | 30 ++++++++---------------------- - src/hb-ot-shape-complex-myanmar.cc | 19 ++----------------- - 4 files changed, 37 insertions(+), 68 deletions(-) - -commit 397ed53e55b9450742867a43d164b498ec735f50 -Author: Behdad Esfahbod -Date: Tue Feb 13 18:54:26 2018 -0800 - - [indic] Add print-indic-table - - src/Makefile.am | 14 ++- - src/hb-ot-shape-complex-indic-private.hh | 185 ++++++++++++++++++++++++++++++ - src/hb-ot-shape-complex-indic.cc | 187 ------------------------------- - src/print-indic-table.cc | 43 +++++++ - 4 files changed, 239 insertions(+), 190 deletions(-) - -commit fd0bde6325a7dfe3ba54b683646ca0693c414446 -Author: Behdad Esfahbod -Date: Tue Feb 13 16:35:30 2018 -0800 - - [subset] Fix loca offsets - - Was writing source font's offsets. Ouch. - - src/hb-subset-glyf.cc | 30 +++++++++++------------------- - 1 file changed, 11 insertions(+), 19 deletions(-) - -commit aeed082e282b97e40c2e8590bdd8818affc7de6c -Author: Behdad Esfahbod -Date: Tue Feb 13 14:02:59 2018 -0800 - - Another tweak at libstdc++ things - - To fix this warning: - - cc1: warning: command line option ‘-fno-threadsafe-statics’ is valid for C++/ObjC++ but not for C - - src/Makefile.am | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit c7d7c9898e22905888dc4304f6d8e79b55654174 -Author: Behdad Esfahbod -Date: Tue Feb 13 14:00:14 2018 -0800 - - [aat] Minor - - src/hb-aat-layout-morx-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 2dbfeecf96c6993d42594f43133d945d67ddbdbc -Author: Behdad Esfahbod -Date: Tue Feb 13 13:59:39 2018 -0800 - - Minor - - src/hb-aat-layout-morx-table.hh | 10 ++++++---- - 1 file changed, 6 insertions(+), 4 deletions(-) - -commit d5b33f2fe1603e894e21f45afb4c00c8d670fb5c -Author: Behdad Esfahbod -Date: Tue Feb 13 13:50:50 2018 -0800 - - [subset] hb_subset_input_t changes - - src/Makefile.sources | 1 + - src/hb-face.h | 1 - - src/hb-set.cc | 14 +++--- - src/hb-subset-input.cc | 109 ++++++++++++++++++++++++++++++++++++++++++++ - src/hb-subset-plan.cc | 2 +- - src/hb-subset-private.hh | 11 ++++- - src/hb-subset.cc | 40 ++-------------- - src/hb-subset.h | 12 ++++- - test/api/test-subset-glyf.c | 4 +- - test/api/test-subset.c | 2 +- - util/hb-subset.cc | 20 ++++---- - 11 files changed, 153 insertions(+), 63 deletions(-) - -commit 28e63a1287fd38a98eed6725c2f4d0820066b0d8 -Author: Behdad Esfahbod -Date: Tue Feb 13 13:39:50 2018 -0800 - - Disable threadsafe static's for all libraries - - Even in libharfbuzz-subset, we still will handle our own threadsafety - for statics. - - src/Makefile.am | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 7caddb51b1e69a2803f86756e2ce2acff685c7d0 -Author: Ebrahim Byagowi -Date: Tue Feb 13 15:12:43 2018 +0330 - - Specify the project name for coverity, trying to fix #785 - - .travis.yml | 1 + - 1 file changed, 1 insertion(+) - -commit b969a82e30f0ff7bf6b2ea2600ef170764774a8c -Author: Behdad Esfahbod -Date: Mon Feb 12 20:51:26 2018 -0800 - - Pass no-libstdc++ flags only to libraries suppressing it - - src/Makefile.am | 20 ++++++++++---------- - 1 file changed, 10 insertions(+), 10 deletions(-) - -commit 97a2f0320056b591d7a747022869fe9cd8ecc6e1 -Author: Behdad Esfahbod -Date: Mon Feb 12 18:51:10 2018 -0800 - - [subset] Allocate bulk memory with malloc(), not calloc() - - We use calloc() to allocate simple structs and set them to zero. - For bulk memory, use malloc() that doesn't zero. - - src/hb-subset-glyf.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 96f1f52ea3a42b27f59aecffe65c918295e53b3b -Author: Behdad Esfahbod -Date: Mon Feb 12 18:48:51 2018 -0800 - - Use hb_face_get_upem() instead of face->get_upem() - - Such that hmtx accelerator can be used from libharfbuzz-subset. - - src/hb-ot-cbdt-table.hh | 2 +- - src/hb-ot-hmtx-table.hh | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit 3d66f441cc4d4feb2fd4b03be9f764c91f4de8b2 -Author: Behdad Esfahbod -Date: Mon Feb 12 18:43:42 2018 -0800 - - [subset] Remove unreachable code - - sanitizer.sanitize never return nullptr. - - src/hb-subset.cc | 4 ---- - 1 file changed, 4 deletions(-) - -commit 42040a273facc696d9a54fc4d89857665e87e3d1 -Author: Behdad Esfahbod -Date: Mon Feb 12 18:41:36 2018 -0800 - - Allow libharfbuzz-subset to link to libstdc++ - - We want to use it instead of reinventing hashmap... - - Also, don't change linker for ICU since libicu also uses libstdc++. - - src/Makefile.am | 2 -- - src/check-libstdc++.sh | 3 ++- - 2 files changed, 2 insertions(+), 3 deletions(-) - -commit 4af3c5e25822cc5a401837da547c75a17b7f7b48 -Author: Ebrahim Byagowi -Date: Mon Feb 12 23:21:24 2018 +0330 - - Move linker specifying to a better place - - src/Makefile.am | 15 +++++++-------- - 1 file changed, 7 insertions(+), 8 deletions(-) - -commit 8cf8b78faaf3e7ee261bdc44a1ad5a1973eab1a2 -Author: Garret Rieger -Date: Mon Feb 12 16:30:21 2018 -0800 - - [subset] whitespace - - test/api/test-subset-cmap.c | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit d1a4d5616f792c6ad84bcc5011040167ddd7cc3f -Author: Rod Sheeter -Date: Mon Feb 12 16:25:32 2018 -0800 - - output format 12 as enc 10 to match how Roboto did it - - src/hb-ot-cmap-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 89ee20f1a39ac78268b57a9aebe8e7428f9944bf -Author: Rod Sheeter -Date: Mon Feb 12 16:01:15 2018 -0800 - - basic wiring for a (failing) cmap test - - test/api/Makefile.am | 2 + - test/api/fonts/README | 1 + - .../Roboto-Regular.abc.cmap-format12-only.ttf | Bin 0 -> 2412 bytes - .../fonts/Roboto-Regular.ac.cmap-format12-only.ttf | Bin 0 -> 2212 bytes - test/api/hb-subset-test.h | 3 +- - test/api/test-subset-cmap.c | 82 +++++++++++++++++++++ - test/api/test-subset-glyf.c | 5 +- - .../data/in-house/tests/myanmar-syllable.tests | 1 - - 8 files changed, 87 insertions(+), 7 deletions(-) - -commit afb1da3a1891b7c0fdd047bcb7b3bde86e830444 -Author: Rod Sheeter -Date: Mon Feb 12 14:37:47 2018 -0800 - - auto-completed the wrong gids_to_retain - - src/hb-subset-plan.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 1330edc4fe3ffbf18313d6432045606865c610c4 -Author: Rod Sheeter -Date: Mon Feb 12 14:29:23 2018 -0800 - - Use functions to get new gids. Avoid 0; fonttools drops it from cmap. - - src/hb-ot-cmap-table.hh | 24 ++++++++++++++++++------ - src/hb-subset-plan.cc | 25 ++++++++++++++++++++----- - src/hb-subset-plan.hh | 5 +++++ - src/hb-subset.cc | 2 +- - 4 files changed, 44 insertions(+), 12 deletions(-) - -commit 1639bdd33122dc8e5522b95c37660273d1fc609e -Author: Garret Rieger -Date: Mon Feb 12 13:40:42 2018 -0800 - - [subset] Remove test-subset, testing is planned to be done at the table level here with test/subset covering the complete subsetting operation. - - test/api/Makefile.am | 1 - - test/api/test-subset.c | 73 -------------------------------------------------- - 2 files changed, 74 deletions(-) - -commit 4cdd1b16c99f2681eb11d626c4408eebcc1672be -Author: Garret Rieger -Date: Mon Feb 12 13:36:28 2018 -0800 - - [subset] added todo in test-subset-glyf. - - test/api/test-subset-glyf.c | 2 ++ - 1 file changed, 2 insertions(+) - -commit 1714feef4f7ec9e758e65edcbe5d5591562f46ee -Author: Garret Rieger -Date: Mon Feb 12 13:35:17 2018 -0800 - - [subset] re-enable test-subset-glyf. Refactor to use common functions in hb-subset-test.h - - test/api/test-subset-glyf.c | 109 +++++++++++--------------------------------- - 1 file changed, 27 insertions(+), 82 deletions(-) - -commit d8d8bd8405ec0db781c4c2bbb7ebd6ff520b3c2d -Author: Garret Rieger -Date: Mon Feb 12 13:33:55 2018 -0800 - - [subset] Add some helper functions for writing tests around subsetting. - - test/api/Makefile.am | 2 +- - test/api/hb-subset-test.h | 123 ++++++++++++++++++++++++++++++++++++++++++++++ - 2 files changed, 124 insertions(+), 1 deletion(-) - -commit e8318188c0e53a267a01c45b0fc8d29ad775738a -Author: Garret Rieger -Date: Mon Feb 12 11:38:28 2018 -0800 - - [subset] Fix loca generation, was previously writing the original glyph starting offset. - - src/hb-subset-glyf.cc | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -commit 0b94d590d971de0b44b0db941c7a3e095f15fbc9 -Author: Khaled Hosny -Date: Mon Feb 12 16:45:36 2018 +0200 - - Rename --with-stdcpp → --with-libstdc++ - - Also improve wording a bit and fix make check in --with-libstdc++=yes. - - configure.ac | 11 ++++++----- - src/Makefile.am | 11 ++++++++--- - 2 files changed, 14 insertions(+), 8 deletions(-) - -commit a5713bc2cb4a3fd71d3bc94b9f155339b09eb71a -Author: Rod Sheeter -Date: Mon Feb 12 11:30:45 2018 -0800 - - we love all our groups - - src/hb-ot-cmap-table.hh | 7 ++----- - 1 file changed, 2 insertions(+), 5 deletions(-) - -commit 692f86e569847adb332186cbb08f344ebe41fa6c -Author: Rod Sheeter -Date: Mon Feb 12 11:29:23 2018 -0800 - - drop GDEF, GPOS, GSUB, and dsig - - src/hb-subset.cc | 19 +++++++++++++++++++ - 1 file changed, 19 insertions(+) - -commit 83e1ef92156d8688b96d14957efcdf7601768799 -Author: Garret Rieger -Date: Mon Feb 12 11:22:32 2018 -0800 - - [subset] Set the new number of glyphs in maxp. - - src/hb-ot-maxp-table.hh | 5 +++++ - src/hb-subset.cc | 37 ++++++++++++++++++++++++++++++++----- - 2 files changed, 37 insertions(+), 5 deletions(-) - -commit 427f9e4b90bfadb8af13cbd27b7c3ee0153ca8b1 -Author: Garret Rieger -Date: Mon Feb 12 11:18:28 2018 -0800 - - Don't force loca version to long. - - src/hb-subset-glyf.cc | 2 -- - 1 file changed, 2 deletions(-) - -commit 5df080bf155a12f98929b99438da492063ab9218 -Author: Garret Rieger -Date: Mon Feb 12 10:15:59 2018 -0800 - - Destroy the subset plan at the end of subsetting. - - src/hb-subset.cc | 1 + - 1 file changed, 1 insertion(+) - -commit 0301e5be286f5080ec34e9f30c75e73f28d0218b -Author: Rod Sheeter -Date: Mon Feb 12 10:12:11 2018 -0800 - - Build a working cmap format 12 - - src/hb-ot-cmap-table.hh | 13 ++++++++++++- - 1 file changed, 12 insertions(+), 1 deletion(-) - -commit ebd31d376d63c9698c0eae34ed295558f7230918 -Author: Rod Sheeter -Date: Mon Feb 12 10:10:08 2018 -0800 - - subset for real - - src/hb-subset.cc | 4 +--- - 1 file changed, 1 insertion(+), 3 deletions(-) - -commit 62c7d677e8699143e55e7bfa0cc3c1db75f32506 -Author: Rod Sheeter -Date: Mon Feb 12 10:09:35 2018 -0800 - - C-style comments - - src/hb-open-file-private.hh | 15 ++++++++------- - 1 file changed, 8 insertions(+), 7 deletions(-) - -commit 91f0d51f0525097fef6173046379a89414cb515f -Author: Ebrahim Byagowi -Date: Mon Feb 12 17:20:12 2018 +0330 - - Fix symbol exporting issue on msys2 and ✅ bringing all the bots (#781) - - src/Makefile.am | 14 ++++++++------ - 1 file changed, 8 insertions(+), 6 deletions(-) - -commit 133e17fe2335abb77f61dbf1cff1955c21334137 -Author: Ebrahim Byagowi -Date: Mon Feb 12 15:24:22 2018 +0330 - - Minor - - src/check-defs.sh | 1 + - 1 file changed, 1 insertion(+) - -commit 16f5b53eec4c3238cf92438a17e6dc532e8a61f5 -Author: Ebrahim Byagowi -Date: Mon Feb 12 15:18:13 2018 +0330 - - Minor, don't skip the whole test when one .def file not found - - src/check-defs.sh | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit a9b650d38407f6f2a26d8386e801600b1004d5d6 -Author: Ebrahim Byagowi -Date: Mon Feb 12 15:10:13 2018 +0330 - - Apply check-defs.sh to -icu and -subset, toward mingw fix (#780) - - CMakeLists.txt | 11 ++++++++--- - src/Makefile.am | 21 ++++++++++++++++----- - src/check-defs.sh | 12 +++++------- - src/gen-def.py | 9 ++++++--- - 4 files changed, 35 insertions(+), 18 deletions(-) - -commit 2efc8965506d8fd31934be1dba3322f922f3409d -Author: Ebrahim Byagowi -Date: Mon Feb 12 12:00:07 2018 +0330 - - Add --with-stdcpp for ossfuzzer and mupdf use (#770) - - configure.ac | 12 ++++++------ - src/Makefile.am | 14 +++++++++++++- - 2 files changed, 19 insertions(+), 7 deletions(-) - -commit 82e04758c895ce2cd6bddde5f72e592c718fcb69 -Author: Ebrahim Byagowi -Date: Mon Feb 12 11:56:32 2018 +0330 - - minor - - .travis.yml | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit 7daa2822f6320801dfed09782ae46687e7c8cbb3 -Author: Ebrahim Byagowi -Date: Mon Feb 12 11:27:00 2018 +0330 - - Add Travis based Coverity trigger (#778) - - .ci/trigger-coverity.sh | 13 +++++++++++++ - .travis.yml | 14 ++++++++++++++ - 2 files changed, 27 insertions(+) - -commit 7747bdb11b0635738a14c099bfaf58461cadd79a -Author: Behdad Esfahbod -Date: Sun Feb 11 19:12:52 2018 -0800 - - Remove linker selection from hb-ucdn - - Since this is a convenience library, it's not actually linked. Or so I think. - Hoping this might fix this Appveyor failure: - - https://ci.appveyor.com/project/harfbuzz/harfbuzz/build/job/9884jyb5vryja9pw - - Making all in hb-ucdn - make[4]: Entering directory '/c/projects/harfbuzz/src/hb-ucdn' - CC libhb_ucdn_la-ucdn.lo - GEN libhb-ucdn.la - /bin/sh: libhb_ucdn_la-ucdn.lo: command not found - make[4]: *** [Makefile:404: libhb-ucdn.la] Error 127 - make[4]: Leaving directory '/c/projects/harfbuzz/src/hb-ucdn' - make[3]: *** [Makefile:2548: all-recursive] Error 1 - make[3]: Leaving directory '/c/projects/harfbuzz/src' - make[2]: *** [Makefile:1382: all] Error 2 - make[2]: Leaving directory '/c/projects/harfbuzz/src' - make[1]: *** [Makefile:486: all-recursive] Error 1 - make[1]: Leaving directory '/c/projects/harfbuzz' - make: *** [Makefile:418: all] Error 2 - - src/hb-ucdn/Makefile.am | 11 ----------- - 1 file changed, 11 deletions(-) - -commit 90d1c740c370b97dfff52420db013ed50075b984 -Author: Behdad Esfahbod -Date: Sun Feb 11 19:08:59 2018 -0800 - - Add MSVC to no-visibility list - - src/hb-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 0db6c6f214a83ffeeefb7c3b77476567e534facb -Author: Behdad Esfahbod -Date: Sun Feb 11 18:28:10 2018 -0800 - - Add Sun compiler to no-visibility as well - - Fixes https://github.com/harfbuzz/harfbuzz/pull/776 - - src/hb-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit d33ba163611c42acd0125472191ea40745f905eb -Author: Behdad Esfahbod -Date: Sun Feb 11 18:26:41 2018 -0800 - - Fix more warnings - - test/api/test-buffer.c | 14 +++++++------- - 1 file changed, 7 insertions(+), 7 deletions(-) - -commit dde6448379c9eeb0fc7cc476688002be661229b8 -Author: Behdad Esfahbod -Date: Sun Feb 11 18:24:22 2018 -0800 - - Another try at fixing multiple-defintion of NullPool - - This one might do it... - - src/hb-open-type-private.hh | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -commit b5f25844fbdd3167051c8d3586b404ae7f077b3b -Author: Behdad Esfahbod -Date: Sun Feb 11 19:49:18 2018 -0600 - - [docs] Minor update - - docs/harfbuzz-sections.txt | 4 ++++ - 1 file changed, 4 insertions(+) - -commit 41906cd5efc2fe17f5fff3fa5fe8488e0cdc6399 -Author: Behdad Esfahbod -Date: Sun Feb 11 19:46:06 2018 -0600 - - [subset] Another fixup - - I broke this in c31fcf4c58d96eb7d9781a986991b1a79ac7be44 - - src/hb-ot-cmap-table.hh | 2 +- - test/subset/run-tests.py | 1 + - 2 files changed, 2 insertions(+), 1 deletion(-) - -commit cd32177a322b5fd70c92f67f21b64686bf5d5533 -Author: Behdad Esfahbod -Date: Sun Feb 11 19:34:05 2018 -0600 - - Try at fixing multiple-definition of NullPool - - If we don't have visibility, make NullPool static. - - src/hb-open-type-private.hh | 8 +++++++- - src/hb-ot-layout.cc | 2 ++ - src/hb-private.hh | 4 +--- - 3 files changed, 10 insertions(+), 4 deletions(-) - -commit 3d421ce30713582484471baba76470c84dabc118 -Author: Behdad Esfahbod -Date: Sun Feb 11 19:01:44 2018 -0600 - - [subset] Use auto_array_t where it does make sense - - Better fix for https://github.com/harfbuzz/harfbuzz/pull/775 - - src/hb-subset-plan.cc | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit 9aa2eb61e6cb3e4308140bed8a8531877ffd6adf -Author: Behdad Esfahbod -Date: Sun Feb 11 19:00:42 2018 -0600 - - Minor - - src/hb-ot-cmap-table.hh | 7 +++---- - 1 file changed, 3 insertions(+), 4 deletions(-) - -commit ae6d0259b4f075885070f833d0f2a96333bf4af3 -Author: Ebrahim Byagowi -Date: Sun Feb 11 15:40:55 2018 +0330 - - Install fonttools on two bots and enable cmake hb-subset test (#777) - - .circleci/config.yml | 6 ++++-- - test/subset/CMakeLists.txt | 8 ++++---- - 2 files changed, 8 insertions(+), 6 deletions(-) - -commit c8d4c2e32f1cea610a9c91dc6b0c32e9ffe84f20 -Author: Ebrahim Byagowi -Date: Sun Feb 11 13:15:44 2018 +0330 - - Initialize bad_indices on hb-subset (#775) - - src/hb-subset-plan.cc | 1 + - 1 file changed, 1 insertion(+) - -commit 5845e5ca3bac21c0b03e71eab282b02fb7e868a4 -Author: Ebrahim Byagowi -Date: Sun Feb 11 12:03:33 2018 +0330 - - fix gobject compile issue (#773) - - src/hb-gobject-structs.h | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 9b5af3ec7f80a7793d5d3891e762d83026de0a5b -Author: Behdad Esfahbod -Date: Sat Feb 10 21:50:26 2018 -0600 - - [gpos] Adjust mark attachment heuristic - - Hopefully it... - fixes https://github.com/harfbuzz/harfbuzz/issues/740 - - src/hb-ot-layout-gpos-table.hh | 9 +++++++-- - 1 file changed, 7 insertions(+), 2 deletions(-) - -commit 70b06cc6e71e15f0d7550f67b113eed5e6f30a5f -Author: Behdad Esfahbod -Date: Sat Feb 10 16:13:06 2018 -0600 - - More fixes - - util/hb-subset.cc | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 6c1848b1e3b8969afc441f094b0d7b64b4b14933 -Author: Behdad Esfahbod -Date: Sat Feb 10 15:52:35 2018 -0600 - - Misc warning fixes - - test/api/test-blob.c | 2 +- - test/api/test-buffer.c | 14 +++++++------- - test/api/test-ot-tag.c | 2 +- - 3 files changed, 9 insertions(+), 9 deletions(-) - -commit 7039803b51f23cb15dd7e12b105c379bd2e38d71 -Author: Behdad Esfahbod -Date: Sat Feb 10 15:47:50 2018 -0600 - - Fix djgpp bot - - src/hb-subset-glyf.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit cdab20df1e55da196ffc6bc00d580e5ef74c1975 -Author: Behdad Esfahbod -Date: Sat Feb 10 15:45:17 2018 -0600 - - Minor - - src/hb-ot-layout.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 203b647530b1550388bb3ce2f67e3b17e019d3e4 -Author: Ebrahim Byagowi -Date: Sun Feb 11 01:00:03 2018 +0330 - - Favor use of static instead HB_INTERNAL - - src/hb-subset-glyf.cc | 8 ++++---- - src/hb-subset-plan.cc | 4 ++-- - src/hb-subset.cc | 2 +- - 3 files changed, 7 insertions(+), 7 deletions(-) - -commit 4c5bdb4b39a723b624346d9b9ff9ace964fff0fe -Author: Behdad Esfahbod -Date: Sat Feb 10 15:40:54 2018 -0600 - - [test] Disable test-subset-glyf for now - - test/api/test-subset-glyf.c | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -commit 43314ff4c05076decbd1eb07ed78f732b6ebcba9 -Author: Behdad Esfahbod -Date: Sat Feb 10 15:40:03 2018 -0600 - - More fixes - - test-subset-glyf still failing. No idea why :( - - src/hb-subset.cc | 3 +-- - test/api/test-subset-glyf.c | 26 ++++++++++++++++---------- - 2 files changed, 17 insertions(+), 12 deletions(-) - -commit a981d798eab41b6a7c6484776f04fe178bd536ba -Author: Behdad Esfahbod -Date: Sat Feb 10 15:17:28 2018 -0600 - - Fix more build issues - - Hopefully most bots come back with this... - - src/check-libstdc++.sh | 5 +++-- - src/check-symbols.sh | 2 +- - src/hb-buffer.h | 1 - - src/hb-gobject-structs.h | 6 ++++++ - src/hb-subset-plan.cc | 10 +++++++--- - src/hb-subset.cc | 6 +++--- - 6 files changed, 20 insertions(+), 10 deletions(-) - -commit 6c4ca6135a2ce846431b0ede6a288d3b2f97167e -Author: Ebrahim Byagowi -Date: Sun Feb 11 00:42:06 2018 +0330 - - Hide more symbols of hb-subset (#771) - - src/hb-subset-plan.cc | 2 +- - src/hb-subset.cc | 6 +++--- - 2 files changed, 4 insertions(+), 4 deletions(-) - -commit c31fcf4c58d96eb7d9781a986991b1a79ac7be44 -Author: Behdad Esfahbod -Date: Sat Feb 10 14:20:10 2018 -0600 - - [subset] Replace auto_array with prealloced_array - - auto_array has constructor/destructor. Cannot be used in POD object, as the clang - bots all noticed... - - src/hb-ot-cmap-table.hh | 8 ++++---- - src/hb-subset-glyf.cc | 6 +++--- - src/hb-subset-plan.cc | 23 +++++++++++------------ - src/hb-subset-plan.hh | 9 +++------ - 4 files changed, 21 insertions(+), 25 deletions(-) - -commit 931d67900ee6d96b5962a475c1b71a58b821bcba -Author: Behdad Esfahbod -Date: Sat Feb 10 14:11:16 2018 -0600 - - Fix some other bots - - src/hb-subset-glyf.cc | 5 ++--- - 1 file changed, 2 insertions(+), 3 deletions(-) - -commit 4011d885b7fca87c717fdaa4bd0318a42308865a -Author: Behdad Esfahbod -Date: Sat Feb 10 14:09:06 2018 -0600 - - [util] Remove use of ssize_t which was failing on MSVC - - util/hb-subset.cc | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit bfa871634ce9ef9f4ed18348d898686952d6cbe3 -Author: Behdad Esfahbod -Date: Sat Feb 10 13:37:28 2018 -0600 - - Minor - - src/hb-subset-glyf.hh | 2 +- - src/hb-subset-plan.hh | 2 +- - src/hb-subset.cc | 3 +-- - src/hb-subset.h | 2 +- - 4 files changed, 4 insertions(+), 5 deletions(-) - -commit 844f48ea9a72d28e2c088497f6c403c54e1751a8 -Author: Ebrahim Byagowi -Date: Sat Feb 10 23:13:12 2018 +0330 - - Fix symbol exporting and libstdc++ linkage of hb-subset (#769) - - CMakeLists.txt | 6 ++---- - src/Makefile.am | 3 +++ - src/check-defs.sh | 2 +- - src/check-libstdc++.sh | 20 +++++++++++--------- - src/check-symbols.sh | 28 +++++++++++++++------------- - src/hb-subset-glyf.cc | 8 ++++---- - src/hb-subset-glyf.hh | 2 +- - src/hb-subset-plan.cc | 4 ++-- - src/hb-subset-plan.hh | 8 ++++---- - src/hb-subset.cc | 2 +- - src/hb-ucdn/Makefile.am | 11 +++++++++++ - 11 files changed, 55 insertions(+), 39 deletions(-) - -commit 91519c6a5b130ced569cedc3710ab395b663240d -Author: Behdad Esfahbod -Date: Sat Feb 10 13:35:17 2018 -0600 - - [aat] Add buffer messages - - src/hb-aat-layout-morx-table.hh | 8 ++++++++ - 1 file changed, 8 insertions(+) - -commit af274507c4f4c5a582543affa71d81a87d6d9151 -Author: Behdad Esfahbod -Date: Sat Feb 10 13:25:49 2018 -0600 - - Minor - - src/hb-private.hh | 15 ++++++--------- - 1 file changed, 6 insertions(+), 9 deletions(-) - -commit 570d523761b23a3c668d9071712d5f10944d21fc -Merge: 71130a20f d18decd20 -Author: Behdad Esfahbod -Date: Sat Feb 10 13:24:22 2018 -0600 - - [subset] Merge remote-tracking branch 'googlefonts/master' - -commit 71130a20fae7c256b0ab1aa397cc1ac2d11dd487 -Author: Behdad Esfahbod -Date: Sat Feb 10 13:15:57 2018 -0600 - - Replace Supplier.advance with Supplier::operator+= - - src/hb-open-file-private.hh | 4 ++-- - src/hb-open-type-private.hh | 7 ++++--- - src/hb-ot-layout-common-private.hh | 4 ++-- - src/hb-ot-layout-gsub-table.hh | 10 +++++----- - 4 files changed, 13 insertions(+), 12 deletions(-) - -commit d0f3e7f59719bdb6a2105ee85a8f3ee799741dab -Author: Behdad Esfahbod -Date: Sat Feb 10 12:45:28 2018 -0600 - - [util] Use setlinebuf() if present - - To work around mysterious bug on OS X. - - Fixes https://github.com/harfbuzz/harfbuzz/issues/727 - - configure.ac | 6 ++---- - util/options.cc | 12 ++++++++++-- - 2 files changed, 12 insertions(+), 6 deletions(-) - -commit ad575a5f47a51ee553710873ac2672479b76ba5e -Author: Ebrahim Byagowi -Date: Sat Feb 10 19:50:11 2018 +0330 - - Fix cast warnings on clang (#768) - - src/hb-open-type-private.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit d18decd2013f24f315dbd3b15cdd80c5a734e7e9 -Author: Garret Rieger -Date: Fri Feb 9 18:41:21 2018 -0800 - - In glyf subsetting add suport for writing out a short loca table when possible. - - src/hb-subset-glyf.cc | 42 +++++++++++++++++++++++++++++++++--------- - 1 file changed, 33 insertions(+), 9 deletions(-) - -commit 9275bd03ea427eb607dde6a8e65f78a350b88323 -Author: Rod Sheeter -Date: Fri Feb 9 17:33:34 2018 -0800 - - First pass at building a cmap - - src/hb-ot-cmap-table.hh | 103 ++++++++++++++++++++++++++++++++++++++++++++---- - src/hb-subset.cc | 37 +++++++++-------- - 2 files changed, 115 insertions(+), 25 deletions(-) - -commit d2170d14780ad6f8e0d17a1e011445c3bcc20871 -Author: Garret Rieger -Date: Fri Feb 9 17:24:16 2018 -0800 - - Check for failures from add table. - - src/hb-subset.cc | 9 ++++----- - 1 file changed, 4 insertions(+), 5 deletions(-) - -commit 4816064c0e5464d032a55001a959a9abcef7f70e -Author: Rod Sheeter -Date: Fri Feb 9 17:14:37 2018 -0800 - - add missing return - - src/hb-private.hh | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit 0089443756cdcef0182e55cf8480b96a64d31cc7 -Author: Garret Rieger -Date: Fri Feb 9 16:22:09 2018 -0800 - - Keep a second set of glyph ids in subset plan which is sorted by glyph id and always has gid 0 - - src/hb-subset-glyf.cc | 2 +- - src/hb-subset-plan.cc | 34 +++++++++++++++++++++++++--------- - src/hb-subset-plan.hh | 1 + - 3 files changed, 27 insertions(+), 10 deletions(-) - -commit 3bc81558d836e27e77bda0d6da9c71f530719579 -Author: Garret Rieger -Date: Fri Feb 9 16:06:33 2018 -0800 - - Formatting for hb-subset-plan. - - src/hb-subset-plan.cc | 51 +++++++++++++++++++++++++++------------------------ - 1 file changed, 27 insertions(+), 24 deletions(-) - -commit 8cef3a61995317d3a5724221108647d7e66fe24a -Author: Behdad Esfahbod -Date: Fri Feb 9 16:04:23 2018 -0600 - - Try fixing build with Sun Studio - - Trying to fix: - https://circleci.com/gh/harfbuzz/harfbuzz/6635 - - Also part of: - https://github.com/harfbuzz/harfbuzz/issues/630 - - src/hb-private.hh | 9 ++++++++- - 1 file changed, 8 insertions(+), 1 deletion(-) - -commit 86aa4b3ba7cd075f01614874dae88a771b8c54fd -Author: Garret Rieger -Date: Fri Feb 9 13:54:43 2018 -0800 - - Return empty face on hb_subset failure instead of null. Plus some minor cleanups for _add_head_and_set_loca_version - - src/hb-subset.cc | 11 +++++------ - 1 file changed, 5 insertions(+), 6 deletions(-) - -commit d45f240e4e330cedad737fdb792b311c37a19e32 -Author: Behdad Esfahbod -Date: Fri Feb 9 15:51:45 2018 -0600 - - Typo - - src/hb-buffer.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 3b7aa651b4714b996816023a4929c0289065493f -Author: Behdad Esfahbod -Date: Fri Feb 9 15:43:20 2018 -0600 - - [docs] Improve UNSAFE_TO_BREAK docs - - src/hb-buffer.h | 17 +++++++++++++++-- - 1 file changed, 15 insertions(+), 2 deletions(-) - -commit 671f0a7733a496eb46b08dc88c3c46b804cdd895 -Author: bungeman -Date: Thu Feb 1 13:31:25 2018 -0500 - - Documentation for HB_GLYPH_FLAG_UNSAFE_TO_BREAK. - - HB_GLYPH_FLAG_UNSAFE_TO_BREAK means that the glyph with this flag is somehow affected by the previous logical glyph (the previous index in the buffer if ltr and the next index if the buffer is rtl). If these two glyphs are separated by a break (line or otherwise) then the underlying text should be re-shaped on both sides up to corresponding position in the text of some glyph not marked with this flag. - - src/hb-buffer.h | 6 ++++++ - 1 file changed, 6 insertions(+) - -commit 1582eabee6017839518b821ef93a329a0a86a453 -Author: Garret Rieger -Date: Fri Feb 9 12:52:08 2018 -0800 - - Update head table with loca format selected by glyf+loca subsetting. - - src/hb-subset-glyf.cc | 7 +++---- - src/hb-subset-glyf.hh | 1 + - src/hb-subset.cc | 37 +++++++++++++++++++++++++++++++++++-- - 3 files changed, 39 insertions(+), 6 deletions(-) - -commit 335bbaa66f66e86d417cc123a2bf397e8b834f64 -Author: Garret Rieger -Date: Fri Feb 9 10:55:15 2018 -0800 - - Remove uneeded code in hb-subset. - - src/hb-subset.cc | 19 ------------------- - 1 file changed, 19 deletions(-) - -commit 3346ba9cd5198d27c7416b8c71fecb6c8d3cb335 -Author: Behdad Esfahbod -Date: Fri Feb 9 11:05:17 2018 -0600 - - [test/text-rendering-tests] Update from upstream - - .../text-rendering-tests/fonts/TestMORXTwentysix.ttf | Bin 3260 -> 3252 bytes - 1 file changed, 0 insertions(+), 0 deletions(-) - -commit 1cd98d05e07498653ba60a68b6342d1a90429eba -Author: Rod Sheeter -Date: Thu Feb 8 19:39:57 2018 -0800 - - Create the groups for a cmap format12. Does not yet build the actual table. - - src/hb-ot-cmap-table.hh | 25 +++++++++++++++++++++++++ - 1 file changed, 25 insertions(+) - -commit 59c658c8d53481990fe0efa66422353d0687474b -Author: Rod Sheeter -Date: Thu Feb 8 19:22:47 2018 -0800 - - capture codepoints sorted so we can use them for cmap later. one day we will have a map - - src/hb-ot-cmap-table.hh | 14 --------- - src/hb-private.hh | 61 +++++++++++++++++++++++++--------------- - src/hb-subset-glyf.cc | 16 +++++------ - src/hb-subset-plan.cc | 75 ++++++++++++++++++++++++++++++++++--------------- - src/hb-subset-plan.hh | 8 ++++-- - src/hb-subset.cc | 29 ++++++++++++------- - 6 files changed, 123 insertions(+), 80 deletions(-) - -commit 8431c38cdc05ddcddb1aa5fbb72a95446b500fd2 -Author: Rod Sheeter -Date: Thu Feb 8 19:20:58 2018 -0800 - - remove output noise - - util/hb-subset.cc | 1 - - 1 file changed, 1 deletion(-) - -commit 5cca0c07afbe9ab4b28d333f6f853063ecd75aff -Author: Rod Sheeter -Date: Thu Feb 8 19:05:46 2018 -0800 - - fix comment - - src/hb-open-file-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit a19138e668e77a0c05da2ab065c5366c8359b377 -Author: Rod Sheeter -Date: Thu Feb 8 19:03:41 2018 -0800 - - comment the serialization of table - - src/hb-open-file-private.hh | 8 ++++++++ - 1 file changed, 8 insertions(+) - -commit 5a34114f9685680d4a8cdf85a8ac90172c5620d7 -Author: Garret Rieger -Date: Thu Feb 8 18:32:24 2018 -0800 - - Add an extra entry to the end of the loca table to identify the end of the last glyph's data. - - src/hb-subset-glyf.cc | 7 ++++++- - 1 file changed, 6 insertions(+), 1 deletion(-) - -commit aac7d962120aa137385324b33a173df4f19fd80b -Author: Garret Rieger -Date: Thu Feb 8 18:18:16 2018 -0800 - - Apply per table subsetting while building the new face in hb_subset. - - src/hb-subset-glyf.cc | 1 + - src/hb-subset.cc | 105 ++++++++++++++++++++++++++++++-------------------- - 2 files changed, 65 insertions(+), 41 deletions(-) - -commit 3e81832432a1cae0dc28242bb6ff279753effd27 -Author: Garret Rieger -Date: Thu Feb 8 15:55:12 2018 -0800 - - Disable subset tests on cmake for now. - - test/subset/CMakeLists.txt | 7 ++++--- - 1 file changed, 4 insertions(+), 3 deletions(-) - -commit 2f941053111d60433ab39cc70edd69c962896961 -Author: Garret Rieger -Date: Thu Feb 8 15:55:12 2018 -0800 - - Disable subset tests on cmake for now. - - test/subset/CMakeLists.txt | 7 ++++--- - 1 file changed, 4 insertions(+), 3 deletions(-) - -commit e081c9e8fc84843740c8a55b49403acc3fe4f0b7 -Author: Behdad Esfahbod -Date: Thu Feb 8 17:44:24 2018 -0600 - - Oops! - - test/subset/run-tests.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 1c49afe179e7e1884ceeae1d93e50fa51f18f894 -Author: Behdad Esfahbod -Date: Thu Feb 8 17:38:58 2018 -0600 - - Whitespace - - test/subset/run-tests.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 9682ef135f16cb3368b9c5970fdcec71301b687e -Author: Behdad Esfahbod -Date: Thu Feb 8 17:35:57 2018 -0600 - - Minor fixups - - CMakeLists.txt | 2 +- - src/hb-ot-cmap-table.hh | 6 +++--- - src/hb-subset.cc | 6 +++--- - test/api/hb-test.h | 5 +++++ - test/api/test-subset-glyf.c | 4 ---- - test/api/test-subset.c | 4 ---- - 6 files changed, 12 insertions(+), 15 deletions(-) - -commit 35eeb893efcdfa2bf6a136cd2911d564334e573c -Author: Garret Rieger -Date: Thu Feb 8 15:17:34 2018 -0800 - - Don't include subset headers in libharfbuzz. - - CMakeLists.txt | 1 - - 1 file changed, 1 deletion(-) - -commit 42234424a0fc43d298be082b4c7b1e288e94bbb6 -Author: Garret Rieger -Date: Thu Feb 8 15:11:15 2018 -0800 - - Fix include gaurds and include order in hb-subset-glyf and hb-subset-plan - - src/hb-subset-glyf.hh | 6 ++++-- - src/hb-subset-plan.cc | 2 +- - src/hb-subset-plan.hh | 5 +++-- - 3 files changed, 8 insertions(+), 5 deletions(-) - -commit 0f3c756cbfe8a263ee388481acac7a24d9684c44 -Author: Garret Rieger -Date: Thu Feb 8 14:59:32 2018 -0800 - - Add CMake config for building a separate harfbuzz-subset. - - CMakeLists.txt | 17 ++++++++++++++--- - test/api/CMakeLists.txt | 2 +- - 2 files changed, 15 insertions(+), 4 deletions(-) - -commit d4d120ad79ff65c6987ca127da5d9ee30740b0b1 -Author: Garret Rieger -Date: Thu Feb 8 14:26:18 2018 -0800 - - Skip subset to fonttools comparison test if TTX is not present. - - test/subset/run-tests.py | 5 +++++ - 1 file changed, 5 insertions(+) - -commit 29d915284e46fb9be01221a88c9e969080daa1b2 -Author: Garret Rieger -Date: Thu Feb 8 11:31:27 2018 -0800 - - Whitespace - - test/subset/run-tests.py | 16 ++++++++-------- - 1 file changed, 8 insertions(+), 8 deletions(-) - -commit f9420d9effcfb3464d4b99e54decb3d90e4a410d -Author: Garret Rieger -Date: Thu Feb 8 11:30:36 2018 -0800 - - In the hb-subset to fontTools comparison, use ttx to compare the fonts. This allows for some binary differences such as re-ordered tables. - - test/subset/run-tests.py | 21 ++++++++++++++------- - 1 file changed, 14 insertions(+), 7 deletions(-) - -commit 8e9fd6f1ab491519cf7205467bc5d20056fce99d -Author: Garret Rieger -Date: Wed Feb 7 19:01:21 2018 -0800 - - Implement basic loca (long version only) subsetting. - - src/hb-subset-glyf.cc | 66 +++++++++++++++++++++++++++++++++++---------------- - 1 file changed, 46 insertions(+), 20 deletions(-) - -commit f9c665fed1347f7af6d36ba129f9d174f4ac54dc -Author: Garret Rieger -Date: Wed Feb 7 16:53:18 2018 -0800 - - Update interface to hb-subset-glyf to subset glyf and loca. - - src/hb-subset-glyf.cc | 10 +++++++--- - src/hb-subset-glyf.hh | 7 ++++--- - src/hb-subset.cc | 7 +++++-- - 3 files changed, 16 insertions(+), 8 deletions(-) - -commit f2ceb5ee4d745e0e6e754f0b0ea16b29dbedbf1b -Author: Garret Rieger -Date: Wed Feb 7 16:47:31 2018 -0800 - - Comment out failing assert in test-subset-glyf for now. Should be re-enabled once hb_subset is writing out a new face. - - test/api/test-subset-glyf.c | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit 89dbebd4ad948ddad8e10323315a809c11d7cafa -Author: Garret Rieger -Date: Wed Feb 7 16:32:56 2018 -0800 - - Add a basic test for glyf subsetting. - - test/api/Makefile.am | 4 + - test/api/fonts/Roboto-Regular.abc.ttf | Bin 0 -> 2460 bytes - test/api/fonts/Roboto-Regular.ac.ttf | Bin 0 -> 2268 bytes - test/api/test-subset-glyf.c | 134 ++++++++++++++++++++++++++++++++++ - 4 files changed, 138 insertions(+) - -commit 217ed5e3c885532fa8b332cc0d0f9cb4eef32e2b -Author: Garret Rieger -Date: Wed Feb 7 16:30:07 2018 -0800 - - Cleanups in hb-subset-glyf and hb-subset-plan. - - src/hb-subset-glyf.cc | 30 +++++++++++++++--------------- - src/hb-subset-plan.hh | 2 +- - 2 files changed, 16 insertions(+), 16 deletions(-) - -commit 13193a9b97302480cc11787787fa6826a97be4bb -Author: Rod Sheeter -Date: Wed Feb 7 16:09:52 2018 -0800 - - move to the hb_face_t dest pattern - - src/hb-ot-cmap-table.hh | 7 ++++++- - src/hb-subset.cc | 28 +++++++++++++--------------- - 2 files changed, 19 insertions(+), 16 deletions(-) - -commit 0859a006695097c2a66a07284f3cc5b8de8edb05 -Author: Rod Sheeter -Date: Wed Feb 7 15:59:36 2018 -0800 - - sketch a subset and call it for cmap. Add subset to cmap, albeit not working even for the msot basic case just yet - - src/hb-ot-cmap-table.hh | 18 ++++++++++++++++-- - src/hb-subset.cc | 30 ++++++++++++++++++++++++++++++ - 2 files changed, 46 insertions(+), 2 deletions(-) - -commit c1ab95dd907b1c4a2e2de17447683fe803fe4087 -Author: Behdad Esfahbod -Date: Thu Feb 8 17:22:07 2018 -0600 - - Fix overflow in space fallback shaping - - Fixes https://bugs.chromium.org/p/chromium/issues/detail?id=657466 - - src/hb-ot-shape-fallback.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit b220b5a44425db387b2149c4904a43ab369a2d6a -Author: Behdad Esfahbod -Date: Thu Feb 8 17:14:52 2018 -0600 - - Avoid undefined-behavior in fallback mark positioning - - Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=5584 - - src/hb-ot-shape-fallback.cc | 11 ++++++----- - 1 file changed, 6 insertions(+), 5 deletions(-) - -commit 3b68a03a1c5a23adbc73f4508009dd5b72bc9d81 -Author: Behdad Esfahbod -Date: Thu Feb 8 17:00:37 2018 -0600 - - [fuzzer] Minor - - src/Makefile.am | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 194140d3f352b53b95757cccb7fff50425747cd6 -Author: Behdad Esfahbod -Date: Thu Feb 8 16:27:57 2018 -0600 - - [util] Minor - - util/hb-subset.cc | 2 +- - util/options.hh | 10 ++++++++-- - 2 files changed, 9 insertions(+), 3 deletions(-) - -commit 5021ba2a2186a77d7d70be5602b960d14634d8b2 -Author: Behdad Esfahbod -Date: Thu Feb 8 15:11:28 2018 -0600 - - [aat] Minor - - src/hb-aat-layout-common-private.hh | 10 +++++----- - src/hb-aat-layout-morx-table.hh | 7 +++---- - 2 files changed, 8 insertions(+), 9 deletions(-) - -commit 1242ad8424f5e8357fe6fd2143430aa8cfaf0954 -Author: Behdad Esfahbod -Date: Thu Feb 8 14:10:01 2018 -0600 - - [test/text-rendering-tests] Update from upstream - - test/shaping/data/text-rendering-tests/DISABLED | 2 ++ - test/shaping/data/text-rendering-tests/Makefile.sources | 2 ++ - .../text-rendering-tests/fonts/TestMORXTwentyfive.ttf | Bin 0 -> 3260 bytes - .../text-rendering-tests/fonts/TestMORXTwentysix.ttf | Bin 0 -> 3260 bytes - .../data/text-rendering-tests/tests/MORX-25.tests | 9 +++++++++ - .../data/text-rendering-tests/tests/MORX-26.tests | 2 ++ - 6 files changed, 15 insertions(+) - -commit 77ad8b5c8b3a9148cf2944abdd494618e642ee2c -Author: Behdad Esfahbod -Date: Wed Feb 7 21:54:33 2018 -0600 - - TODO - - src/hb-open-file-private.hh | 2 ++ - 1 file changed, 2 insertions(+) - -commit 941bbd9f257367f838e55d079751c6059974fe2f -Author: Behdad Esfahbod -Date: Wed Feb 7 21:49:01 2018 -0600 - - [subset] Fix thinko - - src/hb-open-file-private.hh | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -commit 931f8b7eb5e740ce81e5be6bfec60dbe3ac7ebc4 -Author: Behdad Esfahbod -Date: Wed Feb 7 21:42:03 2018 -0600 - - Fix another thinko - - src/hb-open-file-private.hh | 2 +- - src/hb-private.hh | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit 39b86695cf56736170c772424c9a8b75bca0254c -Author: Behdad Esfahbod -Date: Wed Feb 7 21:37:03 2018 -0600 - - [subset] Fix thinko - - src/hb-subset.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit eeffabc87572193a9e95f22647e80ae44e5a0089 -Author: Behdad Esfahbod -Date: Wed Feb 7 21:34:05 2018 -0600 - - Build - - src/Makefile.am | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit c479a59988b0cf3e557e22e97e1977962c803fa7 -Author: Behdad Esfahbod -Date: Wed Feb 7 21:13:10 2018 -0600 - - [subset] Assemble font - - src/hb-open-file-private.hh | 50 +++++++++++++++++++++++++++++++++++++++++++- - src/hb-open-type-private.hh | 33 +++++++++++++++++++++++------ - src/hb-ot-map-private.hh | 10 ++++----- - src/hb-private.hh | 20 +++++++++++------- - src/hb-set-private.hh | 8 +++---- - src/hb-subset.cc | 51 +++++++++++++++++++++++++++++++++++++++------ - test/api/test-subset.c | 9 ++++++-- - 7 files changed, 150 insertions(+), 31 deletions(-) - -commit 34ac3548b7c9dbc57f277cf9a7a337cd1a8a04bb -Author: Behdad Esfahbod -Date: Wed Feb 7 18:07:45 2018 -0600 - - [set] Respect stride - - Ouch! - - src/hb-set-private.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 577becaf7b5ccd9de8ba533447f944427b9e4452 -Author: Behdad Esfahbod -Date: Wed Feb 7 17:38:40 2018 -0600 - - [subset] Fixup - - src/hb-subset.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit c9acab3cfbe4a21e86ad309ebb452f103b1c1b04 -Author: Behdad Esfahbod -Date: Wed Feb 7 17:12:55 2018 -0600 - - Whitespace - - src/hb-open-file-private.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 7fd0b61dee18380c302009f8be9cd68dadab7308 -Author: Behdad Esfahbod -Date: Wed Feb 7 16:44:52 2018 -0600 - - [subset] Create new face and copy all tables to it - - test-subset fails now because subset-face does not know how to compile itself. - - src/hb-subset.cc | 37 ++++++++++++++++++++++++++----------- - 1 file changed, 26 insertions(+), 11 deletions(-) - -commit 4e1abe2ce0b5163cbbbb8f8be0e9f7deba5ab2cb -Author: Garret Rieger -Date: Wed Feb 7 13:28:11 2018 -0800 - - Refactor subset glyf to remove multiple calls to glyf.fini() - - src/hb-subset-glyf.cc | 52 +++++++++++++++++++++++++++++---------------------- - 1 file changed, 30 insertions(+), 22 deletions(-) - -commit 0a5d1440f829f07454592adde9dd3aa93ad74442 -Author: Garret Rieger -Date: Wed Feb 7 13:09:54 2018 -0800 - - Add implementation of glyf subsetting. - - src/hb-subset-glyf.cc | 81 +++++++++++++++++++++++++++++++++++++++++++++++---- - 1 file changed, 76 insertions(+), 5 deletions(-) - -commit 05d65baa1bb64664ba838993fd35f3899d52eb8d -Author: Garret Rieger -Date: Wed Feb 7 10:55:30 2018 -0800 - - Extract glyf offset calculation into it's own method. - - src/hb-ot-glyf-table.hh | 26 ++++++++++++++++++-------- - 1 file changed, 18 insertions(+), 8 deletions(-) - -commit 6d7c6e19dc769cf9997b7c1f8a4598eb44ca0b3c -Author: Behdad Esfahbod -Date: Wed Feb 7 14:09:56 2018 -0600 - - Fix two undefined-behavior issues - - Fixes https://github.com/harfbuzz/harfbuzz/issues/761 - Fixes https://github.com/harfbuzz/harfbuzz/issues/762 - - src/hb-ot-hmtx-table.hh | 4 ++-- - src/hb-ot-layout-gsubgpos-private.hh | 10 +++++----- - 2 files changed, 7 insertions(+), 7 deletions(-) - -commit b87cbe2bec1d589621ba143af59443f63230ffeb -Author: Behdad Esfahbod -Date: Wed Feb 7 14:11:26 2018 -0500 - - Try fixing build for platforms that have no visibility attributes - - src/hb-private.hh | 1 + - src/hb-subset.cc | 2 ++ - src/main.cc | 2 ++ - 3 files changed, 5 insertions(+) - -commit f70100417c71cff071c119607a7b75dcead05a05 -Author: Behdad Esfahbod -Date: Wed Feb 7 13:58:23 2018 -0500 - - [test] Minor - - test/api/test-ot-tag.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 6804b61d2e49fcf9eac9fa0b86497ba91b220bee -Author: Behdad Esfahbod -Date: Wed Feb 7 13:47:35 2018 -0500 - - [subset] Add hb_subset_face - - It's a hb_face_t that has add_table() and in the future knows how to - compile itself into a font blob. - - src/hb-private.hh | 9 ++++++ - src/hb-subset.cc | 88 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ - 2 files changed, 97 insertions(+) - -commit af02812fc51812a7e2265a1100bbca1a5bf8af45 -Author: Behdad Esfahbod -Date: Wed Feb 7 13:07:46 2018 -0500 - - [subset] Change hb_subset API to remove hb_subset_face_t - - src/hb-subset-plan.cc | 12 ++++++++--- - src/hb-subset-plan.hh | 2 +- - src/hb-subset-private.hh | 10 ---------- - src/hb-subset.cc | 52 ++++++++---------------------------------------- - src/hb-subset.h | 25 ++++++----------------- - test/api/test-subset.c | 9 +++++---- - util/hb-subset.cc | 12 ++++++----- - 7 files changed, 36 insertions(+), 86 deletions(-) - -commit 2da0d87e769b2ced71e4281e336bdbca65de2b3f -Author: Behdad Esfahbod -Date: Wed Feb 7 12:44:35 2018 -0500 - - Remove NullPool visibility hack - - We keep a separate private NullPool in libharfbuzz-subset.so - This can fire back later since now there are two separate null objects, - and comparisons to the null pool can be confused. Something to deal - with when it comes up. Ouch! - - src/hb-open-type-private.hh | 4 +--- - src/hb-subset.cc | 4 ++++ - 2 files changed, 5 insertions(+), 3 deletions(-) - -commit b95aa204ee284c47e63dc1e34b3c5b4bdf9e7ab7 -Author: Rod Sheeter -Date: Wed Feb 7 09:37:06 2018 -0800 - - glyph ids to retain should most likely keep the glyph id not the codepoint - - src/hb-subset-plan.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 91428713bd6975b3bbfbdce54701f6aef5457121 -Author: Rod Sheeter -Date: Wed Feb 7 09:35:59 2018 -0800 - - Remove \ns leftover from fprintf - - src/hb-subset-plan.cc | 4 ++-- - src/hb-subset.cc | 4 ++-- - 2 files changed, 4 insertions(+), 4 deletions(-) - -commit eb485bb9e90017abaf7dcdd7e39a82125d6807c3 -Author: Rod Sheeter -Date: Wed Feb 7 09:32:36 2018 -0800 - - Horrid hack to assign new gids. Use DEBUG_MSG over fprintf - - src/hb-subset-plan.cc | 27 +++++++++++++++++++++++---- - src/hb-subset-plan.hh | 5 +++++ - src/hb-subset.cc | 9 +++++++++ - 3 files changed, 37 insertions(+), 4 deletions(-) - -commit 8b80cbb1dd13e2870a956825f5dafc4419b44200 -Author: Rod Sheeter -Date: Wed Feb 7 09:31:31 2018 -0800 - - Add a subset debug category - - src/hb-debug.hh | 13 +++++++++++++ - 1 file changed, 13 insertions(+) - -commit ee433d36fa544c3138718cc3f796b29e6df8a195 -Author: Behdad Esfahbod -Date: Wed Feb 7 12:30:18 2018 -0500 - - [aat] Set debug lookup_index - - src/hb-aat-layout-common-private.hh | 2 ++ - src/hb-aat-layout-morx-table.hh | 3 +++ - 2 files changed, 5 insertions(+) - -commit 38df1ec8e0b457be9140c67e2c5c19153714d90e -Author: Rod Sheeter -Date: Wed Feb 7 07:58:58 2018 -0800 - - TEMPORARY: remove HB_INTERNAL from null pool so subset builds again - - src/hb-open-type-private.hh | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit 53aa0e95420c5c3bfe8af21cf7956535d35b06e6 -Author: Garret Rieger -Date: Tue Feb 6 17:05:22 2018 -0800 - - Add an instance of glyf::accelerator_t to hb-subset-glyf. - - src/hb-subset-glyf.cc | 13 ++++++++++--- - src/hb-subset-glyf.hh | 2 +- - src/hb-subset.cc | 4 +--- - 3 files changed, 12 insertions(+), 7 deletions(-) - -commit ef62dfed3fc7cfad7f7ce9292cb3bd1616f09384 -Author: Rod Sheeter -Date: Tue Feb 6 17:12:17 2018 -0800 - - add back assert_pod - - src/hb-subset-private.hh | 1 + - 1 file changed, 1 insertion(+) - -commit d0ce3c66e2af2785203f7bbb1d4abca5c226045d -Author: Rod Sheeter -Date: Tue Feb 6 16:58:35 2018 -0800 - - Resolve codepoints:glyph ids. Does not compile; undefined reference to OT::_hb_NullPool - - src/hb-subset-plan.cc | 25 +++++++++++++++++++------ - src/hb-subset-plan.hh | 2 +- - src/hb-subset-private.hh | 17 +++++++++++++++-- - src/hb-subset.cc | 13 ++++--------- - 4 files changed, 39 insertions(+), 18 deletions(-) - -commit 6a45e5df24ccc59c5a39bf42323c9b550f49e16d -Author: Garret Rieger -Date: Tue Feb 6 16:04:09 2018 -0800 - - Add skeleton of hb-subset-glyf, call if from hb_subset(...) - - src/Makefile.sources | 2 ++ - src/hb-subset-glyf.cc | 45 +++++++++++++++++++++++++++++++++++++++++++++ - src/hb-subset-glyf.hh | 37 +++++++++++++++++++++++++++++++++++++ - src/hb-subset.cc | 18 ++++++++++++++++-- - 4 files changed, 100 insertions(+), 2 deletions(-) - -commit 31ec3c2ec41161c6ae75bc91d1c237bf2d245e37 -Author: Garret Rieger -Date: Tue Feb 6 15:37:34 2018 -0800 - - Create a subset plan in hb_subset. - - src/hb-subset.cc | 12 ++++++++++++ - 1 file changed, 12 insertions(+) - -commit 6c52d94fd11915b76e858bc45633ee60b8c1d8f4 -Author: Rod Sheeter -Date: Tue Feb 6 15:31:14 2018 -0800 - - capture the set of codepoints passed by --unicodes - - util/hb-subset.cc | 17 ++++++++++++++++- - 1 file changed, 16 insertions(+), 1 deletion(-) - -commit 25e9173fe8446735f7e36ec963c7d3554c85631b -Author: Garret Rieger -Date: Mon Feb 5 17:26:25 2018 -0800 - - Make hb-subset-plan private. - - src/Makefile.sources | 2 +- - src/hb-subset-plan.cc | 27 ++++++++++++++++----------- - src/{hb-subset-plan.h => hb-subset-plan.hh} | 22 +++++++++++++--------- - 3 files changed, 30 insertions(+), 21 deletions(-) - -commit af46a4da5a47dd6e0dd98e1740f18e93c337e689 -Author: Garret Rieger -Date: Mon Feb 5 17:14:46 2018 -0800 - - Move definition of hb_subset_input into hb-subset-private.hh. - - src/Makefile.sources | 1 + - src/hb-subset-plan.cc | 2 +- - src/hb-subset-private.hh | 40 ++++++++++++++++++++++++++++++++++++++++ - src/hb-subset.cc | 12 ++---------- - 4 files changed, 44 insertions(+), 11 deletions(-) - -commit 7481f0ce21489d2b19b2e33d05358736ddee20bf -Author: Garret Rieger -Date: Mon Feb 5 16:05:12 2018 -0800 - - Add codepoints to subset input. - - src/hb-subset.cc | 24 ++++++++++++++++-------- - src/hb-subset.h | 2 +- - test/api/test-subset.c | 2 +- - util/hb-subset.cc | 2 +- - 4 files changed, 19 insertions(+), 11 deletions(-) - -commit 1cfe650f020cf440bf157daa9907bffd6e35bd7a -Author: Garret Rieger -Date: Mon Feb 5 15:22:30 2018 -0800 - - Add a basic sketch of hb-subset-plan. - - src/Makefile.sources | 2 ++ - src/hb-subset-plan.cc | 72 +++++++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-subset-plan.h | 49 +++++++++++++++++++++++++++++++++++ - 3 files changed, 123 insertions(+) - -commit 126ffdbe95020c04dc61413690febd8a56bf264f -Author: Behdad Esfahbod -Date: Wed Feb 7 12:26:41 2018 -0500 - - [aat] Fix debug compile - - src/hb-aat-layout-common-private.hh | 6 +++++- - src/hb-aat-layout-morx-table.hh | 2 +- - 2 files changed, 6 insertions(+), 2 deletions(-) - -commit 8cb8bfd5b5eff75247cd447f3766294fdff2d644 -Author: Ebrahim Byagowi -Date: Tue Feb 6 20:40:42 2018 +0330 - - [test] Fix test-subset on old distros (#758) - - https://developer.gnome.org/glib/stable/glib-Testing.html#g-assert-cmpmem - - test/api/test-subset.c | 4 ++++ - 1 file changed, 4 insertions(+) - -commit 2971e9da49d6ac07f8a9a4e9b00e167b800a5c7f -Author: Behdad Esfahbod -Date: Tue Feb 6 11:48:04 2018 -0500 - - [aat] Adjust unsafe-to-break logic some more - - I believe I'm happy with it now. - - src/hb-aat-layout-common-private.hh | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit f49256d80f19bc265e6a197719345313ba26f9d6 -Author: Behdad Esfahbod -Date: Tue Feb 6 11:39:36 2018 -0500 - - [aat] Simplify unsafe-to-break logic - - src/hb-aat-layout-common-private.hh | 11 +++-------- - 1 file changed, 3 insertions(+), 8 deletions(-) - -commit cc1e0840baed881f2bfd8468a9645bfe94f47303 -Author: Behdad Esfahbod -Date: Tue Feb 6 10:20:48 2018 -0500 - - [buffer] Tweak diff re glyph_flags again - - We expect the buffer to have no flags that the reference doesn't... - Meh. Makes MORX tests pass now. Need to better define the behavior. - - src/hb-buffer.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit d49ae5154e0b069ffa2605ea3f66abb583319ec8 -Author: Ebrahim Byagowi -Date: Tue Feb 6 13:48:10 2018 +0330 - - Fix hb-buffer logic error - - src/hb-buffer.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 70e13ade81a2a09e17d75bdc7e3fe45d8ec9e2c6 -Author: Ebrahim Byagowi -Date: Tue Feb 6 13:20:38 2018 +0330 - - [subset] Fix Windows issue on endlines (#756) - - util/hb-subset.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit f41b92134a276716b7e2d7ef54996b30f36a10a9 -Author: Behdad Esfahbod -Date: Mon Feb 5 19:51:09 2018 -0500 - - Fix fallthrough compiler warning with gcc >= 7 - - Fixes https://github.com/harfbuzz/harfbuzz/issues/755 - - src/hb-private.hh | 3 +++ - 1 file changed, 3 insertions(+) - -commit b7b7f0ac59ec85b224e13d9e6c3c4063e731ad32 -Author: Behdad Esfahbod -Date: Mon Feb 5 19:40:31 2018 -0500 - - [test] Minor - - test/api/Makefile.am | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit 0ff007daaa471d05cc0473beec4ba4d434b084b1 -Author: Behdad Esfahbod -Date: Sun Feb 4 20:22:07 2018 -0500 - - [subset] Minor - - src/hb-subset.h | 7 +------ - 1 file changed, 1 insertion(+), 6 deletions(-) - -commit fc1e82a5aef410138381bc8f5476dcff5679b464 -Merge: ae39fc817 2ea228935 -Author: Garret Rieger -Date: Mon Feb 5 15:35:13 2018 -0800 - - Merge pull request #754 from googlefonts/master - - Fix build for subsetting code. - -commit 2ea228935d41b55fed45b7423b69bc15b42e3abc -Author: Garret Rieger -Date: Mon Feb 5 15:10:01 2018 -0800 - - ssize_t -> size_t - - util/hb-subset.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit c25898eb54217e2a1c681233a6b9adcd7940652e -Author: Garret Rieger -Date: Mon Feb 5 14:35:32 2018 -0800 - - Switch to fopen() instead of open() in subset test. open wasn't compiling on windows. - - util/hb-subset.cc | 13 ++++++------- - 1 file changed, 6 insertions(+), 7 deletions(-) - -commit fc04f11ce1999da042a39c5b271351223033292f -Author: Garret Rieger -Date: Mon Feb 5 11:12:33 2018 -0800 - - Rename HB_SUBSET_sources -> HB_SUBSET_CLI_sources to match what cmake is looking for. - - util/Makefile.am | 3 +-- - util/Makefile.sources | 2 +- - 2 files changed, 2 insertions(+), 3 deletions(-) - -commit e428f7b1c21e0a7d6b9af507d98031b8eebcbeb5 -Author: Garret Rieger -Date: Mon Feb 5 10:24:16 2018 -0800 - - Wrap unistd.h include in ifdef. - - util/hb-subset.cc | 2 ++ - 1 file changed, 2 insertions(+) - -commit 5f6eb1256fb6c251303d3728fc27875fe7a9ffb8 -Author: Garret Rieger -Date: Mon Feb 5 10:23:38 2018 -0800 - - Add libharfbuzz-subset.la to linking when building api tests. - - test/api/Makefile.am | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit ae39fc8171b2c26d4ae64954a8055732c9241bcc -Author: Behdad Esfahbod -Date: Sun Feb 4 20:18:52 2018 -0500 - - [subset] Build hb-subset into separate libharfbuzz-subset.so - - src/Makefile.am | 19 +++++++++++++------ - src/harfbuzz-subset.pc.in | 12 ++++++++++++ - util/Makefile.am | 2 ++ - 3 files changed, 27 insertions(+), 6 deletions(-) - -commit eac20e459564134e0087497ed76b1c84195ad7e3 -Author: Behdad Esfahbod -Date: Sun Feb 4 20:08:50 2018 -0500 - - [subset] Minor - - util/Makefile.am | 2 +- - util/Makefile.sources | 2 +- - util/hb-subset.cc | 10 +++++----- - 3 files changed, 7 insertions(+), 7 deletions(-) - -commit 257022b1789f928975b04b5d214bbe9192e11997 -Merge: 3615f344e edcd3b80e -Author: Behdad Esfahbod -Date: Sun Feb 4 20:01:35 2018 -0500 - - Merge pull request #745 from googlefonts/master - - Interface for hb_subset, skeleton for the hb-subset cli, and basic testing rigging. - -commit 3615f344ec00059972d8ce75522022b5294764a7 -Author: Behdad Esfahbod -Date: Sun Feb 4 17:19:58 2018 -0500 - - [test/text-rendering-tests] Update from upstream - - test/shaping/data/text-rendering-tests/DISABLED | 1 + - test/shaping/data/text-rendering-tests/Makefile.sources | 3 ++- - .../text-rendering-tests/fonts/TestMORXTwentythree.ttf | Bin 0 -> 1836 bytes - .../data/text-rendering-tests/tests/MORX-23.tests | 1 + - 4 files changed, 4 insertions(+), 1 deletion(-) - -commit 54e6efadd6a30587736858d3fb497ed4e5e5f252 -Author: Behdad Esfahbod -Date: Sun Feb 4 14:58:02 2018 -0500 - - [aat] Fix unsafe-to-break - - At any position, if state is not zero, mark unsafe-to-break before, - unless we can reason it safe. - - At any position, if there's an action entry for end-of-text, mark - unsafe to break. - - Also changes buffer diff impl to allow for flag differences as long - as the buffer glyph flags are superset of reference glyph flags. - - With this, all MORX tests pass. - - src/hb-aat-layout-common-private.hh | 31 +++++++++++++++++++++++++------ - src/hb-aat-layout-morx-table.hh | 35 +++++++++++++++++++++++------------ - src/hb-buffer.cc | 2 +- - 3 files changed, 49 insertions(+), 19 deletions(-) - -commit edcd3b80e9617ec8c4c4a55536938fb510b6aeba -Author: Rod Sheeter -Date: Sun Feb 4 12:31:24 2018 -0800 - - Actually call hb_subset - - util/hb-subset.cc | 51 ++++++++++++++++++++++++++++++++++----------------- - 1 file changed, 34 insertions(+), 17 deletions(-) - -commit 7b01761adef6f64f1139b30c985aa5f52314073a -Author: Garret Rieger -Date: Fri Feb 2 17:54:11 2018 -0800 - - Add CMakeLists.txt to dist files for subset test. - - test/subset/Makefile.am | 1 + - 1 file changed, 1 insertion(+) - -commit f83a43b56134188c2e1f3496d40ec0cd9109f250 -Author: Garret Rieger -Date: Fri Feb 2 17:50:45 2018 -0800 - - Add CMake configuration for all of the new subsetting code. - - CMakeLists.txt | 14 ++++++++++++++ - src/Makefile.sources | 9 +++++++-- - test/CMakeLists.txt | 1 + - test/subset/CMakeLists.txt | 9 +++++++++ - util/Makefile.am | 2 +- - util/Makefile.sources | 2 +- - 6 files changed, 33 insertions(+), 4 deletions(-) - -commit 5bc0cda179bca452145d4523eeba415986edb6e3 -Author: Garret Rieger -Date: Fri Feb 2 17:49:14 2018 -0800 - - Add missing unistd header to hb-subset. - - util/hb-subset.cc | 2 ++ - 1 file changed, 2 insertions(+) - -commit 06fe297f2a9fc6ee98179ddd26ef089b7fdb9e74 -Author: Garret Rieger -Date: Thu Feb 1 18:36:15 2018 -0800 - - Properly include subset test data files. - - test/subset/data/Makefile.am | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 058b1260ad1105d0d8d6bf21f8f65a336e735bd2 -Author: Garret Rieger -Date: Thu Feb 1 18:22:14 2018 -0800 - - Re-write hb-subset utility to use main-font-text driver. - - test/subset/run-tests.py | 15 +++--- - util/Makefile.sources | 3 ++ - util/hb-subset.cc | 131 +++++++++++++++++++++++++---------------------- - 3 files changed, 82 insertions(+), 67 deletions(-) - -commit ede84ffa426edb950c4ec4f89833c85475a1c64f -Author: Garret Rieger -Date: Thu Feb 1 17:17:36 2018 -0800 - - Whitespace - - util/hb-subset.cc | 36 ++++++++++++++++++------------------ - 1 file changed, 18 insertions(+), 18 deletions(-) - -commit 2763a2c5982c0db072697abe8ba01342d5977237 -Author: Garret Rieger -Date: Thu Feb 1 17:14:51 2018 -0800 - - Include subset test files in distribution. - - test/subset/Makefile.am | 7 ++++++- - test/subset/data/Makefile.am | 7 +++++++ - 2 files changed, 13 insertions(+), 1 deletion(-) - -commit 34fa7b3ad23b544b0914bc6002d60525224c68e1 -Author: Garret Rieger -Date: Thu Feb 1 16:50:18 2018 -0800 - - Whitespace - - src/hb-subset.h | 20 ++++++++++---------- - 1 file changed, 10 insertions(+), 10 deletions(-) - -commit 8c3a6727377895f18e1b5c7076404d8aede17176 -Author: Garret Rieger -Date: Wed Jan 31 15:43:24 2018 -0800 - - Get test-subset to pass. - - src/hb-subset.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 74d39ed2639857d5f1a90d9c0d864227a6482b40 -Author: Garret Rieger -Date: Wed Jan 31 15:20:52 2018 -0800 - - Attach add a hb_face_t to hb_subset_face_t. - - src/hb-subset.cc | 17 +++++++++++++---- - 1 file changed, 13 insertions(+), 4 deletions(-) - -commit 76b84c36b9560e132918adb4c0c5a0d9bdfb0978 -Author: Garret Rieger -Date: Wed Jan 31 14:53:28 2018 -0800 - - Whitespace - - test/api/Makefile.am | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit a2965f2ea5428c19be54f998ef9152c5ff6975ea -Author: Garret Rieger -Date: Wed Jan 31 14:53:09 2018 -0800 - - Add a basic implementation of hb-subset to enable compilation of test-subset. - - src/hb-subset.cc | 146 +++++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-subset.h | 5 +- - test/api/Makefile.am | 1 + - test/api/test-subset.c | 12 ++-- - 4 files changed, 156 insertions(+), 8 deletions(-) - -commit 38af23b8df1a84f24d379d27d1a1e20f9ce07f34 -Author: Garret Rieger -Date: Wed Jan 31 11:32:23 2018 -0800 - - Make the expected output for subsetting basics test be equal to the input file for now. - - .../expected/basics/Roboto-Regular.abc.default.62.ttf | Bin 1996 -> 2460 bytes - 1 file changed, 0 insertions(+), 0 deletions(-) - -commit b59c08eb045db2b6c952de81510b8159a4f72fb1 -Author: Garret Rieger -Date: Wed Jan 31 11:14:53 2018 -0800 - - Add the beginning of a unit test for hb-subset - - test/api/test-subset.c | 67 ++++++++++++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 67 insertions(+) - -commit e9d154ac8ddd2712a34c53c95a17e469f95e5b30 -Author: Rod Sheeter -Date: Tue Jan 30 19:27:11 2018 -0800 - - tweak test failure output. write to a temp file not stdout. test still fails because expected is not just an identical copy of input - - test/subset/run-tests.py | 41 +++++++++++++++++++++++++++---------- - util/hb-subset.cc | 53 +++++++++++++++++++++++++++++++++--------------- - 2 files changed, 67 insertions(+), 27 deletions(-) - -commit cf403e1a53381f293aceac5cdbe031bbb2a7af77 -Author: Garret Rieger -Date: Tue Jan 30 18:40:23 2018 -0800 - - Add hb-subset.h to hb.h - - src/hb.h | 1 + - 1 file changed, 1 insertion(+) - -commit c02573516c05ac97acb243ef5dec26af86086ded -Author: Garret Rieger -Date: Tue Jan 30 18:39:41 2018 -0800 - - Fix typo in hb-subset.h - - src/hb-subset.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 76351518ca9bc88aa6fbc975e1e35bd86432d652 -Author: Garret Rieger -Date: Tue Jan 30 14:03:16 2018 -0800 - - Remove basic subset test from XFAIL - - test/subset/data/Makefile.sources | 1 - - 1 file changed, 1 deletion(-) - -commit b029b7c19a733a2a39860238ad300e6c4a3f7802 -Author: Garret Rieger -Date: Mon Jan 29 13:31:49 2018 -0800 - - Whitespace - - test/subset/data/Makefile.sources | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 0853260e997aded264f42bb369d4fcb39cccb7d6 -Author: Garret Rieger -Date: Mon Jan 29 13:30:02 2018 -0800 - - Configure automake to run the new subset tests. - - configure.ac | 2 ++ - test/Makefile.am | 2 +- - test/subset/Makefile.am | 16 ++++++++++++++++ - test/subset/data/Makefile.am | 16 ++++++++++++++++ - test/subset/data/Makefile.sources | 10 ++++++++++ - test/subset/data/tests/{basics.txt => basics.tests} | 0 - 6 files changed, 45 insertions(+), 1 deletion(-) - -commit 5c63c37b2b5aba8bf2f8ff35b7da0d116ebfe8b5 -Author: Garret Rieger -Date: Fri Jan 26 16:57:42 2018 -0800 - - WIP test runner for subset tests. - - test/subset/run-tests.py | 64 ++++++++++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 64 insertions(+) - -commit cc46cd88a1b84b02694fa6d88c4286e93336f096 -Author: Garret Rieger -Date: Fri Jan 26 14:25:39 2018 -0800 - - In generate-expected-outputs read the test definition with utf8 encoding. - - test/subset/generate-expected-outputs.py | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 4cdae914e2e2fff1ff91e2f42648a8acb82a5494 -Author: Garret Rieger -Date: Fri Jan 26 13:57:48 2018 -0800 - - Add basic directory structure for subsetter integration tests. Plus a utility for generating expected output files. - - .../basics/Roboto-Regular.abc.default.62.ttf | Bin 0 -> 1996 bytes - test/subset/data/fonts/Roboto-Regular.abc.ttf | Bin 0 -> 2460 bytes - test/subset/data/profiles/default.txt | 0 - test/subset/data/tests/basics.txt | 8 ++ - test/subset/generate-expected-outputs.py | 40 ++++++++++ - test/subset/subset_test_suite.py | 82 +++++++++++++++++++++ - 6 files changed, 130 insertions(+) - -commit 9ccb8366f603a9e4a7a3c3f96420a19d4f6fb390 -Author: Rod Sheeter -Date: Wed Jan 17 22:09:07 2018 -0800 - - Start to sketch APIs for subsetting - - src/Makefile.am | 2 ++ - src/Makefile.sources | 4 +++ - src/hb-subset.cc | 0 - src/hb-subset.h | 88 +++++++++++++++++++++++++++++++++++++++++++++++++++ - util/Makefile.am | 3 ++ - util/Makefile.sources | 4 +++ - util/hb-subset.cc | 61 +++++++++++++++++++++++++++++++++++ - 7 files changed, 162 insertions(+) - -commit 89b1906d990658c763f35113c8978a5e21bffc22 -Author: Behdad Esfahbod -Date: Sun Feb 4 14:45:02 2018 -0500 - - [aat] More adjustment to ContextualSubtable - - See comment. - - With this, MORX-20 passes if I turn --verify off. Our unsafe-to-break - logic is currently broken in presence of end-of-text actions. That's, - ugh, extra work to fix. Let me try... - - src/hb-aat-layout-morx-table.hh | 8 ++++++++ - 1 file changed, 8 insertions(+) - -commit 8be596f0b76543e19644c0b77c1bcf4d9e783c2b -Author: Behdad Esfahbod -Date: Sun Feb 4 14:40:17 2018 -0500 - - [aat] In ContextualSubstitute, apply end-of-text action to last glyph - - src/hb-aat-layout-morx-table.hh | 9 +++++---- - 1 file changed, 5 insertions(+), 4 deletions(-) - -commit c0b1c7eb2eed67147adec3d2c9e02d01f279c8f4 -Author: Behdad Esfahbod -Date: Sun Feb 4 14:19:41 2018 -0500 - - [aat] Remove unneeded check - - src/hb-aat-layout-morx-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit fcb8be1a385cb4432dc6064fba77939716d27a02 -Author: Behdad Esfahbod -Date: Sun Feb 4 12:38:18 2018 -0500 - - [configure] Fix wording - - Fixes https://github.com/harfbuzz/harfbuzz/issues/741 - - configure.ac | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit aed32589af6d5fce3e68fe41865e258ea7eb2413 -Author: Behdad Esfahbod -Date: Fri Feb 2 16:08:50 2018 -0500 - - [aat] In ContextualSubtable, mark mark after substituting mark - - Fixes MORX-21. - - src/hb-aat-layout-morx-table.hh | 16 ++++++++-------- - 1 file changed, 8 insertions(+), 8 deletions(-) - -commit fe5f9b1ae318939eaa23d0175a5eb7e1739177ac -Author: Behdad Esfahbod -Date: Fri Feb 2 15:53:25 2018 -0500 - - [aat] Fix ContextualSubtable sanitization - - Fixes MORX-18, MORX-19, and MORX-22. - - src/hb-aat-layout-morx-table.hh | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -commit cf943f682bcdd73e3ad1f6108c1a1870b991d5e4 -Author: Khaled Hosny -Date: Sun Feb 4 12:05:12 2018 +0200 - - Correctly show documentation build status - - Correctly show if building documentation is enabled or not in configure - summary. - - Fixes https://github.com/harfbuzz/harfbuzz/issues/741 - - configure.ac | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit e8859fca3eafb5aab6d029563b31219ccca0d673 -Author: Bruce Mitchener -Date: Sun Feb 4 01:26:57 2018 +0700 - - Enable use of atexit() on macOS and related platforms. - - The atexit() man page indicates that this is expected to behave - in the expected way on unloading of shared libraries. - - src/hb-private.hh | 6 ++++++ - 1 file changed, 6 insertions(+) - -commit a89573770b4c0f9c444ad6499bec5dc022087a97 -Author: Bruce Mitchener -Date: Sun Feb 4 01:31:53 2018 +0700 - - Use nullptr, not NULL. - - src/hb-aat-layout-common-private.hh | 2 +- - src/hb-buffer-deserialize-json.rl | 4 ++-- - src/hb-buffer-deserialize-text.rl | 4 ++-- - 3 files changed, 5 insertions(+), 5 deletions(-) - -commit 07885e65adf1d3cb324de99501f9867f1a2553f8 -Author: Ebrahim Byagowi -Date: Sat Feb 3 12:53:48 2018 +0330 - - [cmake] unistd typo fix (#747) - - CMakeLists.txt | 18 +++++++++--------- - 1 file changed, 9 insertions(+), 9 deletions(-) - -commit ccb0367dae4cbb9c8215dbf20ac7f9acfba2fa14 -Author: David Corbett -Date: Fri Feb 2 12:04:04 2018 -0500 - - Let VS1 follow U+1031 MYANMAR VOWEL SIGN E - - src/hb-ot-shape-complex-myanmar-machine.rl | 2 +- - src/hb-ot-shape-complex-myanmar.cc | 5 +++++ - test/shaping/README.md | 10 +++++----- - test/shaping/data/in-house/Makefile.sources | 1 + - .../fonts/af3086380b743099c54a3b11b96766039ea62fcd.ttf | Bin 0 -> 1536 bytes - test/shaping/data/in-house/tests/myanmar-syllable.tests | 1 + - 6 files changed, 13 insertions(+), 6 deletions(-) - -commit c6dbf6e77cae30772ffa110c651cb4287ab3b0dc -Author: punchcutter -Date: Wed Jan 31 14:09:04 2018 -0800 - - Allow optional ZWJ in virama terminated cluster - - src/hb-ot-shape-complex-use-machine.rl | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit dae20fb5a79caad9a4af14137a961b60fe256235 -Author: Bruce Mitchener -Date: Wed Jan 31 20:16:08 2018 +0700 - - Use nullptr instead of 0. - - src/hb-coretext.cc | 4 ++-- - src/test-buffer-serialize.cc | 2 +- - 2 files changed, 3 insertions(+), 3 deletions(-) - -commit 90218fa93cf8b5d4b192be12d31aed92d271d09e -Author: Bruce Mitchener -Date: Wed Jan 31 20:44:45 2018 +0700 - - Fix typos. - - src/hb-blob.cc | 2 +- - src/hb-buffer-private.hh | 2 +- - src/hb-common.cc | 2 +- - src/hb-coretext.cc | 2 +- - src/hb-directwrite.cc | 2 +- - src/hb-ft.cc | 2 +- - src/hb-graphite2.cc | 2 +- - src/hb-ot-layout-common-private.hh | 2 +- - 8 files changed, 8 insertions(+), 8 deletions(-) - -commit 148ca61075d821a09e42e2c75fbc9be47cfc6003 -Author: Bruce Mitchener -Date: Wed Jan 31 22:24:51 2018 +0700 - - [ot-layout] Fix nullptr dereference. - - If the `calloc` for `gsub_accels` or `gpos_accels` fails, then the - unlikely branch afterwards can be taken, which frees up the - `hb_ot_layout_t`, but since those fields can now be `nullptr`, then - we don't want to dereference them. - - src/hb-ot-layout.cc | 10 ++++++---- - 1 file changed, 6 insertions(+), 4 deletions(-) - -commit 0c66043a924fd114017a862d2cacd70f64b92370 -Author: Bruce Mitchener -Date: Wed Jan 31 20:24:27 2018 +0700 - - [coretext] Fix memory leaks. - - In `reference_table`, if the data is empty and we return early, - we still need to release the data object. - - In `hb_coretext_shape`, there two edge cases where an early - return should release the attributed string. - - src/hb-coretext.cc | 9 +++++++++ - 1 file changed, 9 insertions(+) - -commit f0b700db394ccdff30ff83961a3e2ea9ff4ea472 -Author: Behdad Esfahbod -Date: Tue Jan 30 11:16:51 2018 -0800 - - 1.7.5 - - NEWS | 9 +++++++++ - configure.ac | 2 +- - 2 files changed, 10 insertions(+), 1 deletion(-) - -commit 585b5760987e1ddd31e11fc55a2ce55ddb5b1663 -Author: Behdad Esfahbod -Date: Tue Jan 30 11:51:56 2018 -0800 - - Fix distcheck - - test/shaping/data/in-house/Makefile.am | 2 +- - test/shaping/data/text-rendering-tests/Makefile.am | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit e89df6e1aee9cb6fe1268643ce19816808baf0c4 -Author: Behdad Esfahbod -Date: Tue Jan 30 10:58:44 2018 -0800 - - [aat] Limit number of DontAdvance transitions - - Remove the faulty loop-detection logic. Use max-ops for breaking - out of infinite loops or heavy work. - - https://twitter.com/behdadesfahbod/status/958065026262183936 - - src/hb-aat-layout-common-private.hh | 33 ++------------------------------- - 1 file changed, 2 insertions(+), 31 deletions(-) - -commit e00743b47d25a2487b7f232a514a042e2962a089 -Author: Behdad Esfahbod -Date: Mon Jan 29 10:07:05 2018 -0800 - - [test/text-rendering-tests] Update from upstream - - test/shaping/data/text-rendering-tests/DISABLED | 7 +++++++ - test/shaping/data/text-rendering-tests/Makefile.sources | 7 +++++++ - .../data/text-rendering-tests/fonts/TestMORXEighteen.ttf | Bin 0 -> 3256 bytes - .../text-rendering-tests/fonts/TestMORXSeventeen.ttf | Bin 0 -> 1788 bytes - .../data/text-rendering-tests/fonts/TestMORXSixteen.ttf | Bin 0 -> 1812 bytes - .../data/text-rendering-tests/fonts/TestMORXTwenty.ttf | Bin 0 -> 3232 bytes - .../text-rendering-tests/fonts/TestMORXTwentyone.ttf | Bin 0 -> 3244 bytes - .../text-rendering-tests/fonts/TestMORXTwentytwo.ttf | Bin 0 -> 3256 bytes - .../data/text-rendering-tests/tests/MORX-14.tests | 1 + - .../data/text-rendering-tests/tests/MORX-16.tests | 1 + - .../data/text-rendering-tests/tests/MORX-17.tests | 1 + - .../data/text-rendering-tests/tests/MORX-18.tests | 4 ++++ - .../data/text-rendering-tests/tests/MORX-19.tests | 2 ++ - .../data/text-rendering-tests/tests/MORX-20.tests | 7 +++++++ - .../data/text-rendering-tests/tests/MORX-21.tests | 1 + - .../data/text-rendering-tests/tests/MORX-22.tests | 1 + - 16 files changed, 32 insertions(+) - -commit 29d901286e632fa4de5ea198cc455cae56bc09a8 -Author: Ebrahim Byagowi -Date: Tue Jan 30 10:01:46 2018 +0330 - - [cmake] Build src/ executables (#733) - - CMakeLists.txt | 40 ++++++++++++++++++++++++++-------------- - 1 file changed, 26 insertions(+), 14 deletions(-) - -commit 55cae0d72eecb5116008815b598481dd1404fc6a -Author: Ebrahim Byagowi -Date: Mon Jan 29 18:05:24 2018 +0330 - - [test] Use 'otool -L' where ldd doesn't exist (macOS) (#732) - - src/check-libstdc++.sh | 13 +++++++++---- - 1 file changed, 9 insertions(+), 4 deletions(-) - -commit 2ec7dd1f6cb78ee6a0621aa98f18500d3318c90c -Author: David Corbett -Date: Sun Jan 28 17:48:28 2018 -0500 - - Fix Travis build on macOS (#731) - - .travis.yml | 2 +- - src/check-defs.sh | 4 ++-- - 2 files changed, 3 insertions(+), 3 deletions(-) - -commit 12757b692905062fe0fc266a6230238b3492abfd -Author: Behdad Esfahbod -Date: Fri Jan 26 18:14:05 2018 -0800 - - Misc warning fixes - - Fixes https://github.com/harfbuzz/harfbuzz/issues/712 - - src/hb-ot-layout-gsubgpos-private.hh | 9 ++++----- - src/hb-ot-map-private.hh | 1 - - src/hb-ot-map.cc | 5 ++--- - 3 files changed, 6 insertions(+), 9 deletions(-) - -commit 85be365ed9238caf0283346ab4e5c5127096fc8a -Author: bungeman -Date: Fri Jan 26 13:38:06 2018 -0500 - - Use KernSubTableFormat2::rightClassTable - - Issue originally reported at http://cppfiles.com/chromium.txt . - - This fixes what appears to be a copy - paste issue which causes both - KernSubTableFormat2::rightClassTable and the 'right' argument to - KernSubTableFormat2::get_kerning to go unused. - - src/hb-ot-kern-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit c41b7fc10588323b5d8c0007befa701994115f7b -Author: Ebrahim Byagowi -Date: Thu Jan 25 09:53:32 2018 +0330 - - [cmake] Use -fvisibility-inlines-hidden instead (#726) - - CMakeLists.txt | 7 ++----- - 1 file changed, 2 insertions(+), 5 deletions(-) - -commit 3d615766060e34a6e716c8737f651b6d6871ae85 -Author: Ebrahim Byagowi -Date: Mon Jan 22 21:23:19 2018 +0330 - - [cmake] fix symbol exporting issue on newer gcc (#724) - - CMakeLists.txt | 22 +++++++++++----------- - 1 file changed, 11 insertions(+), 11 deletions(-) - -commit 8b60e7c2c301a24906d591c80c42fd5e506072d2 -Author: Ebrahim Byagowi -Date: Mon Jan 22 18:37:26 2018 +0330 - - [ci] minor, less hacks (#722) - - .circleci/config.yml | 20 ++++++-------------- - .travis.yml | 8 ++++---- - CMakeLists.txt | 11 +++++++---- - 3 files changed, 17 insertions(+), 22 deletions(-) - -commit aaf934de3b9e3447897b4da566655d6d0494e87b -Author: Ebrahim Byagowi -Date: Mon Jan 22 13:16:54 2018 +0330 - - [ci] minor (#721) - - .circleci/config.yml | 4 ++-- - .travis.yml | 4 ++-- - 2 files changed, 4 insertions(+), 4 deletions(-) - -commit bd752db733e3d8c2c8773d831aebdd8a5cbb5e04 -Author: Ebrahim Byagowi -Date: Mon Jan 22 13:08:35 2018 +0330 - - [ci] unbreak bots with outdated freetype version (#718) - - .circleci/config.yml | 10 +++++++++- - .travis.yml | 10 +++++++++- - 2 files changed, 18 insertions(+), 2 deletions(-) - -commit 19a93fcf1946ad29f07306a0b6c65377bdaa49f0 -Author: Bruce Mitchener -Date: Sun Jan 21 20:40:34 2018 +0700 - - Fix typos. - - src/hb-blob.h | 2 +- - src/hb-buffer.h | 4 ++-- - 2 files changed, 3 insertions(+), 3 deletions(-) - -commit 51ce3828e67a8ca7e4ea4b69e88c395e243bf01f -Author: Behdad Esfahbod -Date: Fri Jan 19 18:36:39 2018 -0800 - - [aat] Fix Ligature matching - - I hope... Makes "ffi" work with Zapfino. I'm not sure if doing it correctly though... - - src/hb-aat-layout-morx-table.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit bef509855c7a2c4400a947d2527d1dc048da1284 -Author: Behdad Esfahbod -Date: Fri Jan 19 18:24:00 2018 -0800 - - [aat] Add TODO - - src/hb-aat-layout-morx-table.hh | 1 + - 1 file changed, 1 insertion(+) - -commit e6f283ed7db6f8e2f8016dcbf07e589c40976aa6 -Author: Behdad Esfahbod -Date: Fri Jan 19 18:08:56 2018 -0800 - - [aat] Implement LigatureSubtable - - We form the Zapfino ligature now. Yay! No further testing done. - - src/hb-aat-layout-common-private.hh | 25 ++++++--- - src/hb-aat-layout-morx-table.hh | 108 +++++++++++++++++++++++++++++++++--- - 2 files changed, 115 insertions(+), 18 deletions(-) - -commit f07ce661a2056965c573c99bdb721c065563ea7b -Author: Behdad Esfahbod -Date: Fri Jan 19 16:52:01 2018 -0800 - - [aat] Embed a sanitizer context in hb_aat_apply_context_t - - For run-time checking. - - src/hb-aat-layout-common-private.hh | 22 ++++++++++++++++------ - src/hb-aat-layout.cc | 16 ++++++++-------- - 2 files changed, 24 insertions(+), 14 deletions(-) - -commit 046690a4df0fdc93e3490210ef105f26057b1462 -Author: Behdad Esfahbod -Date: Wed Jan 17 16:59:55 2018 -0800 - - [aat] Add hb_aat_apply_context_t - - src/hb-aat-layout-common-private.hh | 23 +++++++++++++++++++++++ - src/hb-aat-layout-morx-table.hh | 27 +++++++++++++-------------- - src/hb-aat-layout-private.hh | 2 +- - src/hb-aat-layout.cc | 8 +++++--- - src/hb-ot-shape.cc | 3 +-- - 5 files changed, 43 insertions(+), 20 deletions(-) - -commit fd034490942c06e31cfb42f32023c78734f8aeeb -Author: Behdad Esfahbod -Date: Wed Jan 17 16:46:51 2018 -0800 - - Rename hb_apply_context_t to hb_ot_apply_context_t - - src/hb-aat-layout-morx-table.hh | 16 ++++----- - src/hb-aat-layout-private.hh | 2 +- - src/hb-aat-layout.cc | 2 +- - src/hb-ot-layout-gpos-table.hh | 48 ++++++++++++------------- - src/hb-ot-layout-gsub-table.hh | 24 ++++++------- - src/hb-ot-layout-gsubgpos-private.hh | 58 +++++++++++++++--------------- - src/hb-ot-layout-private.hh | 4 +-- - src/hb-ot-layout.cc | 16 ++++----- - src/hb-ot-shape-complex-arabic-fallback.hh | 2 +- - src/hb-ot-shape-fallback.cc | 4 +-- - src/hb-ot-shape.cc | 2 +- - 11 files changed, 89 insertions(+), 89 deletions(-) - -commit 94b49beee972fec98cbb80658df3d8491b45485d -Author: Behdad Esfahbod -Date: Wed Jan 17 12:46:08 2018 -0800 - - Whitespace - - src/hb-ot-head-table.hh | 20 +++++++++----------- - src/hb-ot-post-table.hh | 10 +++++----- - 2 files changed, 14 insertions(+), 16 deletions(-) - -commit e849b8a85bb66219db4d797d86ddd60ed7c26a2e -Author: Ebrahim Byagowi -Date: Fri Jan 19 16:12:24 2018 +0330 - - [cmake] Always put test/api/CMakeLists.txt on distributions - - test/api/Makefile.am | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit c8f2a4f5b99d3be3079286817386b4185d35a545 -Author: Cosimo Lupo -Date: Thu Jan 18 22:49:40 2018 +0100 - - hb-common.cc: Hatran script is right-to-left (#714) - - "Hatran is written from right to left horizontally" - - http://www.unicode.org/L2/L2012/12312-n4324-hatran.pdf - - This ancient script was added with Unicode 8.0. - - Also this spreadsheet (referenced in an inline comment in the - source code) has it as RTL: http://goo.gl/x9ilM - - src/hb-common.cc | 1 + - 1 file changed, 1 insertion(+) - -commit 00806149b9b591e4ec15996d3d56bdbd60687821 -Author: Ebrahim Byagowi -Date: Fri Jan 19 01:12:31 2018 +0330 - - Improve avoiding C++ linkage, definition creation and cmake tests (#710) - - .circleci/config.yml | 4 ++-- - CMakeLists.txt | 46 ++++++++++++++++++++++++++-------------------- - configure.ac | 3 +++ - src/Makefile.am | 11 ++--------- - src/check-defs.sh | 37 +++++++++++++++++++++++-------------- - src/gen-def.py | 16 ++++++++++++++++ - 6 files changed, 72 insertions(+), 45 deletions(-) - -commit 9b693212a834a96252f4ebe0b006b85e9f35fc91 -Author: David Corbett -Date: Thu Jan 18 16:34:13 2018 -0500 - - Update record-test.sh to the new directory layout (#716) - - test/shaping/README.md | 11 ++++++----- - test/shaping/record-test.sh | 17 +++++++++++++---- - 2 files changed, 19 insertions(+), 9 deletions(-) - -commit 461a605fdec3361a038d3715adf615353c4f91fa -Author: Behdad Esfahbod -Date: Wed Jan 17 10:02:48 2018 -0800 - - [aat] Allocate set dynamically - - src/hb-aat-layout-common-private.hh | 21 ++++++++++++--------- - 1 file changed, 12 insertions(+), 9 deletions(-) - -commit 4c4a9fc8617fed9bc1a7805c9aed294b4f6b66ea -Author: Behdad Esfahbod -Date: Wed Jan 17 09:47:50 2018 -0800 - - Typo - - Fixes https://github.com/harfbuzz/harfbuzz/issues/711 - - util/options.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 90f01bad637c8b1214f46d4df6d9552a6a728e29 -Author: Ebrahim Byagowi -Date: Tue Jan 16 22:00:21 2018 +0330 - - [cmake] don't link to libstdc++ (#707) - - CMakeLists.txt | 38 +++++++++++++++++++++++++------------- - 1 file changed, 25 insertions(+), 13 deletions(-) - -commit 5e14e5f65d3dd1ed471ed73fab7e3207ae04e8fb -Author: rdb -Date: Tue Jan 16 17:04:33 2018 +0100 - - [cmake] Fix for CMake 3.0 and below (#706) - - CMakeLists.txt | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit c97a7eca7f7b6fc1c50a4ac7fccf3fa2d777430e -Author: Ebrahim Byagowi -Date: Tue Jan 16 14:18:09 2018 +0330 - - [cmake] Fix symbols visibility and enable check-symbols.sh test (#705) - - .circleci/config.yml | 2 +- - CMakeLists.txt | 22 ++++++++++++++-------- - 2 files changed, 15 insertions(+), 9 deletions(-) - -commit 60f84ef014f9280da24d5eb9ce833a7f37210242 -Author: Behdad Esfahbod -Date: Mon Jan 15 20:46:58 2018 -0500 - - Disable MORX-13/14 - - Really, need better way to catch these :(. - - test/shaping/data/text-rendering-tests/DISABLED | 2 ++ - test/shaping/data/text-rendering-tests/Makefile.sources | 4 ++-- - 2 files changed, 4 insertions(+), 2 deletions(-) - -commit 949f6af2897b8982c81a059ea98e1c29bbce4772 -Author: Behdad Esfahbod -Date: Mon Jan 15 20:44:10 2018 -0500 - - Disallow sanitize recursing into Extension subtables multiple times - - Fixes https://oss-fuzz.com/v2/testcase-detail/5216838347653120 - which is a stack overflow, not by way of infinite recursion, just - being deep. That's disallowed anyway, so catch it as it happens, - not afterwards. - - src/hb-ot-layout-gsub-table.hh | 5 ++--- - src/hb-ot-layout-gsubgpos-private.hh | 4 +++- - 2 files changed, 5 insertions(+), 4 deletions(-) - -commit bcb6f1ae0a08e5c7af88a7affaad42a67c5adac5 -Author: Behdad Esfahbod -Date: Mon Jan 15 20:34:05 2018 -0500 - - Whitespace - - src/hb-ot-layout-gsubgpos-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 12fffce10eb6ffebdedd655d0b1f10a99adf1808 -Author: Behdad Esfahbod -Date: Mon Jan 15 15:41:51 2018 -0500 - - [aat] Sanitize classTable in StateTable - - src/hb-aat-layout-common-private.hh | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit e6263c7142ca22efd9a3c93353a513f475c1c48d -Author: Behdad Esfahbod -Date: Mon Jan 15 15:37:55 2018 -0500 - - [aat] Wire up table length to apply() - - src/hb-aat-layout-morx-table.hh | 17 +++++++++-------- - src/hb-aat-layout.cc | 20 +++++++++++++++----- - src/hb-open-type-private.hh | 6 +++--- - 3 files changed, 27 insertions(+), 16 deletions(-) - -commit 679ae744d07db7746a983ece54c22635a9dc3cff -Author: Behdad Esfahbod -Date: Sun Jan 14 15:03:31 2018 -0500 - - [aat] Towards implementing LigatureSubtable - - src/hb-aat-layout-morx-table.hh | 61 +++++++++++++++++++++++++++++++++++++++-- - 1 file changed, 58 insertions(+), 3 deletions(-) - -commit c9e12a2b9b34d73d37def2261a5c1a7ef20b8349 -Author: Behdad Esfahbod -Date: Sat Jan 13 17:05:12 2018 +0000 - - Fix set initializer - - src/hb-set-private.hh | 1 + - 1 file changed, 1 insertion(+) - -commit 54a1e250a839f030b43dbeba66cadc50ab5f90f6 -Author: Behdad Esfahbod -Date: Sat Jan 13 14:44:39 2018 +0000 - - [test/text-rendering-tests] Update from upstream - - test/shaping/data/text-rendering-tests/Makefile.sources | 2 ++ - .../data/text-rendering-tests/fonts/TestMORXFourteen.ttf | Bin 0 -> 1816 bytes - .../data/text-rendering-tests/fonts/TestMORXThirteen.ttf | Bin 0 -> 1820 bytes - .../data/text-rendering-tests/tests/MORX-13.tests | 1 + - .../data/text-rendering-tests/tests/MORX-14.tests | 1 + - 5 files changed, 4 insertions(+) - -commit 9009b341c46caaa81deae8ea55e6f7dd98565f59 -Author: Behdad Esfahbod -Date: Fri Jan 12 12:04:53 2018 +0100 - - [aat] Fix some struct sizes - - I hate it that with my compiler at least, it doesn't catch totally uncompilable - statements in templates if they are not used... - - src/hb-aat-layout-common-private.hh | 2 +- - src/hb-aat-layout-morx-table.hh | 8 ++++---- - 2 files changed, 5 insertions(+), 5 deletions(-) - -commit 57051b4f672d7d9dd10c45cc95b1e50e32cd42a9 -Author: Behdad Esfahbod -Date: Fri Jan 12 11:42:25 2018 +0100 - - [aat] Flush rest of buffer if state machine failed - - src/hb-aat-layout-common-private.hh | 12 +++++++++--- - src/hb-aat-layout-morx-table.hh | 2 ++ - 2 files changed, 11 insertions(+), 3 deletions(-) - -commit 369dfab0f8b7f22338bbd7a58a27e2e02e1efc29 -Author: Behdad Esfahbod -Date: Fri Jan 12 11:37:01 2018 +0100 - - Minor - - docs/Makefile.am | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 25364c4f0020a66bd6f4bce1656ea47f1093396d -Author: Behdad Esfahbod -Date: Fri Jan 12 11:31:20 2018 +0100 - - [aat] Fix symbol visibility - - Not sure why only one of the bots sees this as visible... - - src/hb-aat-layout-morx-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit ee16b9d8d35af1e74369edf7b733886c4b743a68 -Author: Behdad Esfahbod -Date: Fri Jan 12 11:28:09 2018 +0100 - - Revert accidental morx enablement - - src/hb-ot-shape.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 44f0ee346f53c51ec4abccc81cc24abf6f018e85 -Author: Behdad Esfahbod -Date: Fri Jan 12 11:27:51 2018 +0100 - - Fix docs - - docs/harfbuzz-sections.txt | 1 + - 1 file changed, 1 insertion(+) - -commit cdfa801ff4fe301d7bd41c9eee57cae75001ce4b -Author: Behdad Esfahbod -Date: Fri Jan 12 11:12:20 2018 +0100 - - [aat] Tweak previous commit - - src/hb-aat-layout-common-private.hh | 2 ++ - src/hb-ot-shape.cc | 4 ++-- - 2 files changed, 4 insertions(+), 2 deletions(-) - -commit f7600228a4b37e6f6b65394aceeeb14bf4133c23 -Author: Behdad Esfahbod -Date: Fri Jan 12 11:09:21 2018 +0100 - - [aat] Detect infinite-loops in state machine - - src/hb-aat-layout-common-private.hh | 36 +++++++++++++++++++++++++++++------- - 1 file changed, 29 insertions(+), 7 deletions(-) - -commit d514f1480cffb81850ef212155c66ee9e0383350 -Author: Behdad Esfahbod -Date: Fri Jan 12 10:55:44 2018 +0100 - - [circleci] cat test logs on failure on autotools-based builds - - .circleci/config.yml | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 1facef337862a0ceee9a8ac1d4dc94ff94fcb3b3 -Author: Behdad Esfahbod -Date: Fri Jan 12 10:53:52 2018 +0100 - - [travis] On test failure, cat all .log files - - .travis.yml | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit cdd86bf3a28961e85a8918d77937587df313d47b -Author: Behdad Esfahbod -Date: Fri Jan 12 10:51:51 2018 +0100 - - [travis] Update cat'ing test-suite.log files - - .travis.yml | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 22d8c765e7b556601173a3e70f5bc9f310263a98 -Author: Behdad Esfahbod -Date: Fri Jan 12 09:46:38 2018 +0100 - - Disable C++11 - - To better catch errors locally. - - configure.ac | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit dd38db523a1001178bf4cae3721c098466534736 -Author: Behdad Esfahbod -Date: Fri Jan 12 09:45:42 2018 +0100 - - [aat] Fix more builds - - Maybe I should disable C++11 detection such that my compiler also catches - these. Doesn't look like we can switch to it for a while anyway... - - src/hb-aat-layout-common-private.hh | 2 +- - src/hb-aat-layout-morx-table.hh | 18 +++++++++--------- - 2 files changed, 10 insertions(+), 10 deletions(-) - -commit 72cb2b1f57ba79938c74e0406fc7457fce287f69 -Author: Behdad Esfahbod -Date: Fri Jan 12 09:38:55 2018 +0100 - - [aat] Fix builds - - src/hb-aat-layout-morx-table.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit e3a15d0c6d088963e61f7fbebe25e1096d8e2903 -Author: Ting-Wei Lan -Date: Fri Jan 12 15:33:16 2018 +0800 - - Update _POSIX_C_SOURCE to the latest version - - Defining _POSIX_C_SOURCE to an old version on FreeBSD can cause C99 to - be disabled in libc. - - src/hb-blob.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit c70d58f97da7dcbdd7ea72a44f39130a75a279f7 -Author: Behdad Esfahbod -Date: Fri Jan 12 00:08:22 2018 +0100 - - [aat] Port RearrangementSubtable to StateTableDriver - - src/hb-aat-layout-morx-table.hh | 91 ++++++++++++++++++++--------------------- - 1 file changed, 44 insertions(+), 47 deletions(-) - -commit 117cfe7bb7cef682eb151b94f1eb12363ba3af67 -Author: Behdad Esfahbod -Date: Fri Jan 12 00:01:36 2018 +0100 - - [aat] Add StateTableDriver and convert ContextualSubtable to it - - src/hb-aat-layout-common-private.hh | 51 ++++++++++++++++++++ - src/hb-aat-layout-morx-table.hh | 93 ++++++++++++++++++------------------- - 2 files changed, 95 insertions(+), 49 deletions(-) - -commit 0d39ac224c680b1f0134b58e78391497fbe47370 -Author: Behdad Esfahbod -Date: Thu Jan 11 22:47:08 2018 +0100 - - [test/text-rendering-tests] Update README - - test/shaping/data/text-rendering-tests/README | 3 +++ - 1 file changed, 3 insertions(+) - -commit 17a66f133c7e523403b6c90b011fcf0acb6356c6 -Author: Behdad Esfahbod -Date: Thu Jan 11 22:46:19 2018 +0100 - - [test] Disable MORX-12 - - Ouch. I need a better workflow for this. - - test/shaping/data/text-rendering-tests/Makefile.sources | 1 - - 1 file changed, 1 deletion(-) - -commit 1f1c85a54aad8a25a67041cbb9c4277d28c1c761 -Author: Behdad Esfahbod -Date: Thu Jan 11 22:43:57 2018 +0100 - - [aat] Remove 'mort' support - - It's dead, Jim! - - src/hb-aat-layout-common-private.hh | 55 +++++----------- - src/hb-aat-layout-morx-table.hh | 122 ++++++++++-------------------------- - 2 files changed, 46 insertions(+), 131 deletions(-) - -commit 7e2fed6d73f89986e5777028cdcd24e3baf2f86c -Author: Behdad Esfahbod -Date: Thu Jan 11 19:25:21 2018 +0100 - - [aat] Allow DontAdvance - - Apparently CoreText does allow these. To be done: detect infinite - loops. - - Fixes MORX-12 test. - - src/hb-aat-layout-morx-table.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 1387fe8f9c474e88f86828733d4c01bd56f44432 -Author: Behdad Esfahbod -Date: Thu Jan 11 19:22:37 2018 +0100 - - [test/text-rendering-tests] Update from upstream - - test/shaping/data/text-rendering-tests/DISABLED | 1 + - test/shaping/data/text-rendering-tests/Makefile.sources | 2 ++ - .../data/text-rendering-tests/fonts/TestMORXTwelve.ttf | Bin 0 -> 2200 bytes - .../data/text-rendering-tests/tests/MORX-12.tests | 3 +++ - 4 files changed, 6 insertions(+) - -commit 17f01aff910b3871d0a6c45fd4305304b7f68ab5 -Author: Behdad Esfahbod -Date: Thu Jan 11 18:54:49 2018 +0100 - - [aat] Sanitize ContextualSubtable - - src/hb-aat-layout-common-private.hh | 23 +++++++++++++++++++---- - src/hb-aat-layout-morx-table.hh | 34 ++++++++++++++++++++++++---------- - 2 files changed, 43 insertions(+), 14 deletions(-) - -commit 9b82aa19d812e70b7fade4b7669a9ce27855951e -Author: Behdad Esfahbod -Date: Thu Jan 11 18:19:42 2018 +0100 - - More warning fixes - - src/hb-open-type-private.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 680cbc2eb325edc6b8562f39485b146aa56b3872 -Author: Behdad Esfahbod -Date: Thu Jan 11 18:15:53 2018 +0100 - - [aat] Sanitize StateTable - - src/hb-aat-layout-common-private.hh | 43 ++++++++++++++++++++++++++++++++++--- - 1 file changed, 40 insertions(+), 3 deletions(-) - -commit 0e3b3379a04a67a22e44e17d6bf849359f4fca68 -Author: Behdad Esfahbod -Date: Thu Jan 11 18:01:10 2018 +0100 - - [aat] Actually fix d887f931485b715775e922516a4b0de5bb92c34f - - src/hb-aat-layout-morx-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 1eb98c9916c6cb447f999170840b7f37de4b282d -Author: Behdad Esfahbod -Date: Thu Jan 11 17:59:03 2018 +0100 - - [test/text-rendering-tests] Actually disable MORX-11 - - test/shaping/data/text-rendering-tests/Makefile.sources | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 3f291ffd5a9480ac0f528eaedd43c7e9af738ee2 -Author: Behdad Esfahbod -Date: Thu Jan 11 17:57:46 2018 +0100 - - [buffer] Fix compiler warnings - - line 323: Warning: info hides hb_buffer_t::info - ... - - src/hb-buffer-private.hh | 20 ++++++++++---------- - 1 file changed, 10 insertions(+), 10 deletions(-) - -commit d887f931485b715775e922516a4b0de5bb92c34f -Author: Behdad Esfahbod -Date: Thu Jan 11 17:41:34 2018 +0100 - - [aat] Make bots happy - - Don't know why this is not caught by my compiler. Looks like clang catches it - while gcc doesn't. - - In file included from ../src/hb-aat-layout-morx-table.hh:31: - ../src/hb-aat-layout-common-private.hh:523:30: error: no member named 'static_size' in 'AAT::ContextualSubtable::EntryData' - DEFINE_SIZE_STATIC (4 + T::static_size); - ~~~^ - - src/hb-aat-layout-morx-table.hh | 2 ++ - 1 file changed, 2 insertions(+) - -commit f6be730994434e706cc27d68b796492d876e82b6 -Author: Behdad Esfahbod -Date: Thu Jan 11 15:23:24 2018 +0100 - - [aat] In NoncontextualSubtable, handle MarkLast with end-of-line transition - - Fixes MORX-11 test. - - src/hb-aat-layout-morx-table.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 1d20d109a07bf9c775ab91dfbbb55f7bd80fd9d6 -Author: Behdad Esfahbod -Date: Thu Jan 11 15:18:22 2018 +0100 - - [test/text-rendering-tests] Update from upstream - - test/shaping/data/text-rendering-tests/DISABLED | 3 ++- - test/shaping/data/text-rendering-tests/Makefile.sources | 3 ++- - .../data/text-rendering-tests/fonts/TestMORXEleven.ttf | Bin 0 -> 1624 bytes - .../data/text-rendering-tests/tests/MORX-11.tests | 1 + - 4 files changed, 5 insertions(+), 2 deletions(-) - -commit f9be673814aeb2c8abab52a672598576c6ed20c2 -Author: Behdad Esfahbod -Date: Thu Jan 11 15:15:07 2018 +0100 - - [aat] Implement ContextualSubtable - - Tested with Zapfino and text "2nd". Sascha will create tests later. - - src/hb-aat-layout-morx-table.hh | 70 ++++++++++++++++++++++++++++++++++++++--- - 1 file changed, 66 insertions(+), 4 deletions(-) - -commit 335a9c1fe489db53549801b4996dd0f6f5eded62 -Author: Behdad Esfahbod -Date: Thu Jan 11 14:50:47 2018 +0100 - - [aat] Towards implementing ContextualSubtable - - src/hb-aat-layout-common-private.hh | 58 ++++++++++++++++++++++-- - src/hb-aat-layout-morx-table.hh | 88 ++++++++++++++++++++++++++----------- - 2 files changed, 117 insertions(+), 29 deletions(-) - -commit 62348f647f7b1604e008dbed46a54eff245fc106 -Author: Behdad Esfahbod -Date: Thu Jan 11 12:00:28 2018 +0100 - - [aat] Implement end-of-text in state machine - - Passes MORX-10 test now. - - src/hb-aat-layout-morx-table.hh | 10 ++++++---- - 1 file changed, 6 insertions(+), 4 deletions(-) - -commit fc405b7ca77088135cb7de11cb32c254b85272fd -Author: Behdad Esfahbod -Date: Thu Jan 11 11:55:29 2018 +0100 - - [test/text-rendering-tests] Update from upstream - - test/shaping/data/text-rendering-tests/DISABLED | 1 + - test/shaping/data/text-rendering-tests/Makefile.sources | 11 ++++++----- - .../data/text-rendering-tests/fonts/TestMORXTen.ttf | Bin 0 -> 1620 bytes - .../data/text-rendering-tests/tests/MORX-10.tests | 1 + - 4 files changed, 8 insertions(+), 5 deletions(-) - -commit 9adbd938fafe1de4e279489fc37ae33c900e22f0 -Author: Behdad Esfahbod -Date: Thu Jan 11 11:55:10 2018 +0100 - - Minor - - src/hb-aat-layout-morx-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 4177f646aa60180f094e064a53e54c5402fe53c6 -Author: Ebrahim Byagowi -Date: Thu Jan 11 15:43:23 2018 +0330 - - [cmake] Update and unbreak (#700) - - test/shaping/CMakeLists.txt | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 94644d7ea4cf217e4d6c6ff57d65e1e20866ea6d -Author: Behdad Esfahbod -Date: Thu Jan 11 11:49:07 2018 +0100 - - [aat] Generate finegrained unsafe-to-break in state-machine! - - Neato. - - src/hb-aat-layout-morx-table.hh | 11 +++++++++-- - 1 file changed, 9 insertions(+), 2 deletions(-) - -commit 994eb7744c530bbaa5d6d8b8e07ca936e81aade8 -Author: Behdad Esfahbod -Date: Thu Jan 11 11:37:12 2018 +0100 - - [buffer] Fix crash - - src/hb-buffer-serialize.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit d6076747ac6706b4d8361714d46aced9683c44a8 -Author: Behdad Esfahbod -Date: Thu Jan 11 10:51:46 2018 +0100 - - [test/text-rendering-tests] Add DISABLED list - - test/shaping/data/text-rendering-tests/DISABLED | 20 ++++++++++++++++++++ - 1 file changed, 20 insertions(+) - -commit de02b5093c42a527ae67084b30943369ed59efe6 -Author: Behdad Esfahbod -Date: Thu Jan 11 10:48:42 2018 +0100 - - [test/in-house] Add Makefile.sources - - test/shaping/data/in-house/Makefile.am | 46 ++--------------------------- - test/shaping/data/in-house/Makefile.sources | 46 +++++++++++++++++++++++++++++ - 2 files changed, 48 insertions(+), 44 deletions(-) - -commit 7c32e01d04deaab511d41f5dec0dfd9fc0469f39 -Author: Behdad Esfahbod -Date: Thu Jan 11 10:47:31 2018 +0100 - - Minor - - src/Makefile.am | 1 + - src/Makefile.sources | 2 -- - test/shaping/data/text-rendering-tests/update.sh | 2 -- - util/Makefile.am | 1 + - util/Makefile.sources | 2 -- - 5 files changed, 2 insertions(+), 6 deletions(-) - -commit a5adc5aa84c03184fd1c8a486be80ff0af1f448c -Author: Behdad Esfahbod -Date: Thu Jan 11 10:30:22 2018 +0100 - - [test/text-rendering-tests] Update from upstream - - Also adds an update.sh script that does this automatically. - - test/shaping/data/text-rendering-tests/Makefile.am | 52 +++------------------ - .../data/text-rendering-tests/Makefile.sources | 51 ++++++++++++++++++++ - .../text-rendering-tests/fonts/TestMORXEight.ttf | Bin 0 -> 2184 bytes - .../text-rendering-tests/fonts/TestMORXNine.ttf | Bin 0 -> 1624 bytes - .../data/text-rendering-tests/tests/MORX-5.tests | 25 ++++++++++ - .../data/text-rendering-tests/tests/MORX-6.tests | 1 + - .../data/text-rendering-tests/tests/MORX-7.tests | 1 + - .../data/text-rendering-tests/tests/MORX-8.tests | 3 ++ - .../data/text-rendering-tests/tests/MORX-9.tests | 1 + - test/shaping/data/text-rendering-tests/update.sh | 48 +++++++++++++++++++ - 10 files changed, 136 insertions(+), 46 deletions(-) - -commit c861daacc4255d41d2358868b917277422949dc9 -Author: Behdad Esfahbod -Date: Thu Jan 11 10:11:01 2018 +0100 - - [test/text-rendering-tests] Add README and COPYING - - test/shaping/data/text-rendering-tests/COPYING | 13 +++++++++++++ - test/shaping/data/text-rendering-tests/Makefile.am | 2 ++ - test/shaping/data/text-rendering-tests/README | 4 ++++ - 3 files changed, 19 insertions(+) - -commit 14b4d84eef18bd54287c10ce44eaef4f642f6238 -Author: Behdad Esfahbod -Date: Thu Jan 11 10:08:25 2018 +0100 - - [aat] Fix RearrangementSubtable action - - src/hb-aat-layout-morx-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit ea3e86c6401d41cf54d82692eccbf44c87be2fd5 -Author: Behdad Esfahbod -Date: Thu Jan 11 09:58:42 2018 +0100 - - Minor - - test/shaping/data/Makefile.am | 4 ++++ - test/shaping/data/in-house/Makefile.am | 4 ++++ - test/shaping/data/text-rendering-tests/Makefile.am | 4 ++++ - 3 files changed, 12 insertions(+) - -commit 800e4ae80232f022404be155afd497b0421a6a64 -Author: Behdad Esfahbod -Date: Thu Jan 11 09:57:55 2018 +0100 - - [aat] Mark state-machine-based lookup as completely unsafe-to-break - - To be improved later. - - src/hb-aat-layout-morx-table.hh | 2 ++ - 1 file changed, 2 insertions(+) - -commit ca42d961293a9e4dfd0817c1a02d454008583282 -Author: Behdad Esfahbod -Date: Thu Jan 11 09:15:34 2018 +0100 - - [aat] Implement RearrangementSubtable - - src/hb-aat-layout-common-private.hh | 89 ++++++++++++++++- - src/hb-aat-layout-morx-table.hh | 192 +++++++++++++++++++++++++++++++----- - src/hb-open-type-private.hh | 2 - - src/hb-private.hh | 7 +- - 4 files changed, 254 insertions(+), 36 deletions(-) - -commit 5dbbd0fdb9a343554112a846b392803f11c13197 -Author: Ebrahim Byagowi -Date: Thu Jan 11 12:33:22 2018 +0330 - - Move the #define of _GNU_SOURCE to the top of hb-private.hh (#697) - - This fixes the build on Cygwin. - - src/hb-private.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 90e3c9e69e93e05d9fb534fd43b5c99cf58a7cb4 -Author: Ebrahim Byagowi -Date: Thu Jan 11 12:31:05 2018 +0330 - - [cmake] Fix hb-blob test (#699) - - CMakeLists.txt | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 1461965c2220cd957c26b3fe5835200e426bc715 -Author: Ebrahim Byagowi -Date: Thu Jan 11 08:48:22 2018 +0330 - - [test] Better tests output by converting stderr to stdout (#696) - - https://gitlab.kitware.com/cmake/cmake/issues/17630 - - test/shaping/run-tests.py | 18 +++++++++--------- - 1 file changed, 9 insertions(+), 9 deletions(-) - -commit ebb9b7d6335536804b50002fb83dd30da42a8ad5 -Author: Ebrahim Byagowi -Date: Thu Jan 11 08:15:06 2018 +0330 - - [test] Print shaping output on CI fails (#695) - - .circleci/config.yml | 4 ++-- - test/shaping/run-tests.py | 8 ++++---- - 2 files changed, 6 insertions(+), 6 deletions(-) - -commit e24bea8e91ba9f447f1f7f252bdefacef1f83593 -Author: Ebrahim Byagowi -Date: Wed Jan 10 23:51:56 2018 +0330 - - [cmake] Another try on making sure feature testing is working (#691) - - .circleci/config.yml | 131 ++++++++++++++++++++++++++++----------------------- - CMakeLists.txt | 17 ++++--- - 2 files changed, 79 insertions(+), 69 deletions(-) - -commit 746a37d5bdd2e965aa316e95ba5a7bad809d76a7 -Author: Behdad Esfahbod -Date: Wed Jan 10 16:47:47 2018 +0100 - - [util] Replace setlinebuf - - util/options.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit ff2083c53eecc67c011b96b0b9a58331043e53cf -Author: Behdad Esfahbod -Date: Wed Jan 10 13:54:36 2018 +0100 - - [util] Set stdio files to line buffering - - So we can stream lines to hb-shape and read output. - - util/options.cc | 4 ++++ - 1 file changed, 4 insertions(+) - -commit 80fd5743200cbe221ae3adf057fe0e5ef54a894c -Author: Behdad Esfahbod -Date: Wed Jan 10 11:09:53 2018 +0100 - - [aat] Add Class subtable thingy - - From old 'mort' table. - - src/hb-aat-layout-common-private.hh | 24 ++++++++++++++++++++++++ - 1 file changed, 24 insertions(+) - -commit 71e0ed9cbad8438239dcedf1bcfa8e19b9dfdc89 -Author: Ebrahim Byagowi -Date: Wed Jan 10 15:45:12 2018 +0330 - - [cmake] Add header existence tests (#685) - - .circleci/config.yml | 4 ++-- - CMakeLists.txt | 53 ++++++++++++++++++++++++++++++--------------- - test/shaping/CMakeLists.txt | 1 - - 3 files changed, 37 insertions(+), 21 deletions(-) - -commit a073621b5dc2865a014821307128a8fdd1d7d992 -Author: Ebrahim Byagowi -Date: Wed Jan 10 12:13:28 2018 +0330 - - [cmake] Fix tests against latest changes (#690) - - test/shaping/CMakeLists.txt | 14 +++++++++++--- - 1 file changed, 11 insertions(+), 3 deletions(-) - -commit 0b22da954142ad7a1e949a56448cee4e836fff75 -Author: Khaled Hosny -Date: Wed Jan 10 07:12:07 2018 +0200 - - Improve HB_BUFFER_SERIALIZE_FLAG_NO_ADVANCES docs - - Add the note about absolute glyph positions from the commit message. - - src/hb-buffer.h | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 6db0b17c4ce56bd7477941e7a2fc85997c04588e -Author: Behdad Esfahbod -Date: Wed Jan 10 05:40:43 2018 +0100 - - [test] Move test handling to sundirectories - - configure.ac | 3 + - test/shaping/Makefile.am | 98 +--------------------- - test/shaping/data/Makefile.am | 9 ++ - test/shaping/data/in-house/Makefile.am | 58 +++++++++++++ - test/shaping/data/text-rendering-tests/Makefile.am | 60 +++++++++++++ - 5 files changed, 131 insertions(+), 97 deletions(-) - -commit 4c982b4867707fcd2259b344b06e5bba8dd0c1e3 -Author: Behdad Esfahbod -Date: Wed Jan 10 05:26:55 2018 +0100 - - [test] Whitelist one more passing test - - test/shaping/Makefile.am | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 188ee6e5eeef3c63c332cfa30795d37da1bc1682 -Author: Behdad Esfahbod -Date: Wed Jan 10 05:13:47 2018 +0100 - - Calculate anchor positions in float, then round - - Hoping to reduce rounding error, to make tests happier... - No luck. - - src/hb-font-private.hh | 6 ++++++ - src/hb-ot-layout-gpos-table.hh | 44 +++++++++++++++++++++--------------------- - 2 files changed, 28 insertions(+), 22 deletions(-) - -commit 0b28e1199d62765db4e855756b96022e423dcc17 -Author: Behdad Esfahbod -Date: Wed Jan 10 05:02:42 2018 +0100 - - [test] Whitelist one more passing test - - test/shaping/Makefile.am | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 7cdd6ab068500aa18de9a856bfbe730d0aac9a27 -Author: Behdad Esfahbod -Date: Wed Jan 10 04:33:08 2018 +0100 - - Round, instead of floor, when applying variations - - Hoping this would fix remaining text-rendering-tests failures, - but so far no luck. - - src/hb-font-private.hh | 2 +- - src/hb-ot-layout-gpos-table.hh | 2 +- - src/hb-private.hh | 1 + - 3 files changed, 3 insertions(+), 2 deletions(-) - -commit 6dc6f0c9f844a006b4518ce789e319fcef6e9680 -Author: Behdad Esfahbod -Date: Wed Jan 10 04:12:35 2018 +0100 - - [test] Whitelist one passing test - - test/shaping/Makefile.am | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit ec939761e4d1b2f825db715290d70e18b1c9dd12 -Author: Behdad Esfahbod -Date: Wed Jan 10 03:56:43 2018 +0100 - - Minor - - test/shaping/Makefile.am | 1 + - 1 file changed, 1 insertion(+) - -commit c4eac531dfad55f691557a684b3a6bde83c4bcea -Author: Behdad Esfahbod -Date: Wed Jan 10 03:51:09 2018 +0100 - - Minor - - test/shaping/Makefile.am | 1 - - 1 file changed, 1 deletion(-) - -commit 285a0bd799426c544d896f8fbcc27f4613a28e9a -Author: Behdad Esfahbod -Date: Wed Jan 10 03:49:32 2018 +0100 - - [test] Another try - - Making cmake happy this time. - - test/shaping/Makefile.am | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit 95b32b00557d6afcfc469f8dcc51d8bfa8243a00 -Author: Behdad Esfahbod -Date: Wed Jan 10 03:48:09 2018 +0100 - - [test] Fix text disabling - - Ouch, make! - - test/shaping/Makefile.am | 27 ++++++++++++++------------- - 1 file changed, 14 insertions(+), 13 deletions(-) - -commit a938d105b8d6e2d654079ea7d89e2e3ef5e0aed4 -Author: Behdad Esfahbod -Date: Wed Jan 10 03:41:55 2018 +0100 - - [test/text-rendering-tests] Disable failing tests - - test/shaping/Makefile.am | 16 ++++++++-------- - 1 file changed, 8 insertions(+), 8 deletions(-) - -commit ed95d5e374a10770eb305dfa43a9f5b39933aac7 -Author: Behdad Esfahbod -Date: Wed Jan 10 03:38:52 2018 +0100 - - [test/text-rendering-tests] Disable failing tests - - test/shaping/Makefile.am | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 3b1e97f364e5ffdc08b52f889e3fea80a7e83e99 -Author: Behdad Esfahbod -Date: Wed Jan 10 03:35:20 2018 +0100 - - Add HB_BUFFER_FLAG_REMOVE_DEFAULT_IGNORABLES - - New API: - HB_BUFFER_FLAG_REMOVE_DEFAULT_IGNORABLES - hb-shape / hb-view --remove-default-ignorables - - One more text-rendering-tests test passing. Eleven failing. - - src/hb-buffer.h | 17 ++++-- - src/hb-ot-shape.cc | 6 +- - .../data/text-rendering-tests/extract-tests.py | 2 +- - .../data/text-rendering-tests/tests/AVAR-1.tests | 34 +++++------ - .../data/text-rendering-tests/tests/CFF-1.tests | 26 ++++----- - .../data/text-rendering-tests/tests/CFF-2.tests | 26 ++++----- - .../data/text-rendering-tests/tests/CFF2-1.tests | 18 +++--- - .../data/text-rendering-tests/tests/CMAP-1.tests | 8 +-- - .../data/text-rendering-tests/tests/CMAP-2.tests | 4 +- - .../data/text-rendering-tests/tests/CMAP-3.tests | 40 ++++++------- - .../data/text-rendering-tests/tests/CVAR-1.tests | 6 +- - .../data/text-rendering-tests/tests/CVAR-2.tests | 6 +- - .../data/text-rendering-tests/tests/GLYF-1.tests | 2 +- - .../data/text-rendering-tests/tests/GPOS-1.tests | 38 ++++++------ - .../data/text-rendering-tests/tests/GPOS-2.tests | 6 +- - .../data/text-rendering-tests/tests/GPOS-3.tests | 8 +-- - .../data/text-rendering-tests/tests/GPOS-4.tests | 8 +-- - .../data/text-rendering-tests/tests/GPOS-5.tests | 10 ++-- - .../data/text-rendering-tests/tests/GSUB-1.tests | 2 +- - .../data/text-rendering-tests/tests/GSUB-2.tests | 22 +++---- - .../data/text-rendering-tests/tests/GVAR-1.tests | 18 +++--- - .../data/text-rendering-tests/tests/GVAR-2.tests | 18 +++--- - .../data/text-rendering-tests/tests/GVAR-3.tests | 18 +++--- - .../data/text-rendering-tests/tests/GVAR-4.tests | 22 +++---- - .../data/text-rendering-tests/tests/GVAR-5.tests | 22 +++---- - .../data/text-rendering-tests/tests/GVAR-6.tests | 22 +++---- - .../data/text-rendering-tests/tests/GVAR-7.tests | 14 ++--- - .../data/text-rendering-tests/tests/GVAR-8.tests | 12 ++-- - .../data/text-rendering-tests/tests/GVAR-9.tests | 20 +++---- - .../data/text-rendering-tests/tests/HVAR-1.tests | 12 ++-- - .../data/text-rendering-tests/tests/HVAR-2.tests | 12 ++-- - .../data/text-rendering-tests/tests/KERN-1.tests | 2 +- - .../data/text-rendering-tests/tests/KERN-2.tests | 2 +- - .../data/text-rendering-tests/tests/MORX-1.tests | 2 +- - .../data/text-rendering-tests/tests/MORX-2.tests | 32 +++++----- - .../data/text-rendering-tests/tests/MORX-3.tests | 32 +++++----- - .../data/text-rendering-tests/tests/MORX-4.tests | 30 +++++----- - .../data/text-rendering-tests/tests/SHARAN-1.tests | 12 ++-- - .../data/text-rendering-tests/tests/SHBALI-1.tests | 44 +++++++------- - .../data/text-rendering-tests/tests/SHBALI-2.tests | 24 ++++---- - .../data/text-rendering-tests/tests/SHBALI-3.tests | 18 +++--- - .../data/text-rendering-tests/tests/SHKNDA-1.tests | 68 +++++++++++----------- - .../data/text-rendering-tests/tests/SHKNDA-2.tests | 32 +++++----- - .../data/text-rendering-tests/tests/SHKNDA-3.tests | 62 ++++++++++---------- - util/options.cc | 1 + - util/options.hh | 14 +++-- - 46 files changed, 435 insertions(+), 419 deletions(-) - -commit 46e4ed552fb1205eb6cbc16450bb231998fc7347 -Author: Behdad Esfahbod -Date: Wed Jan 10 03:22:08 2018 +0100 - - [test/text-rendering-tests] Hook up font variations - - Six more passing. Twelve failing now. - - .../data/text-rendering-tests/extract-tests.py | 6 +++- - .../data/text-rendering-tests/tests/AVAR-1.tests | 34 +++++++++++----------- - .../data/text-rendering-tests/tests/CFF2-1.tests | 18 ++++++------ - .../data/text-rendering-tests/tests/CVAR-1.tests | 6 ++-- - .../data/text-rendering-tests/tests/CVAR-2.tests | 6 ++-- - .../data/text-rendering-tests/tests/GPOS-5.tests | 10 +++---- - .../data/text-rendering-tests/tests/GVAR-1.tests | 18 ++++++------ - .../data/text-rendering-tests/tests/GVAR-2.tests | 18 ++++++------ - .../data/text-rendering-tests/tests/GVAR-3.tests | 18 ++++++------ - .../data/text-rendering-tests/tests/GVAR-4.tests | 22 +++++++------- - .../data/text-rendering-tests/tests/GVAR-5.tests | 22 +++++++------- - .../data/text-rendering-tests/tests/GVAR-6.tests | 22 +++++++------- - .../data/text-rendering-tests/tests/GVAR-7.tests | 14 ++++----- - .../data/text-rendering-tests/tests/GVAR-8.tests | 12 ++++---- - .../data/text-rendering-tests/tests/GVAR-9.tests | 20 ++++++------- - .../data/text-rendering-tests/tests/HVAR-1.tests | 12 ++++---- - .../data/text-rendering-tests/tests/HVAR-2.tests | 12 ++++---- - 17 files changed, 137 insertions(+), 133 deletions(-) - -commit 2b3f62fc4de8f10c2168f212b1368478312e6dec -Author: Behdad Esfahbod -Date: Wed Jan 10 03:16:56 2018 +0100 - - [test] Add tests from text-rendering-tests repo - - https://github.com/unicode-org/text-rendering-tests - - test/shaping/Makefile.am | 44 ++++++++++++++- - .../fonts/AdobeVFPrototype-Subset.otf | Bin 0 -> 7096 bytes - .../text-rendering-tests/fonts/FDArrayTest257.otf | Bin 0 -> 145212 bytes - .../fonts/FDArrayTest65535.otf | Bin 0 -> 492740 bytes - .../fonts/NotoSansBalinese-Regular.ttf | Bin 0 -> 32304 bytes - .../fonts/NotoSansKannada-Regular.ttf | Bin 0 -> 83868 bytes - .../fonts/NotoSerifKannada-Regular.ttf | Bin 0 -> 96936 bytes - .../text-rendering-tests/fonts/Selawik-README.md | 60 +++++++++++++++++++++ - .../fonts/Selawik-variable.ttf | Bin 0 -> 481504 bytes - .../data/text-rendering-tests/fonts/TestAVAR.ttf | Bin 0 -> 1608 bytes - .../data/text-rendering-tests/fonts/TestCMAP14.otf | Bin 0 -> 1628 bytes - .../fonts/TestCMAPMacTurkish.ttf | Bin 0 -> 19644 bytes - .../text-rendering-tests/fonts/TestCVARGVAROne.ttf | Bin 0 -> 12336 bytes - .../text-rendering-tests/fonts/TestCVARGVARTwo.ttf | Bin 0 -> 12256 bytes - .../text-rendering-tests/fonts/TestGLYFOne.ttf | Bin 0 -> 1516 bytes - .../text-rendering-tests/fonts/TestGPOSFour.ttf | Bin 0 -> 315020 bytes - .../text-rendering-tests/fonts/TestGPOSOne.ttf | Bin 0 -> 10384 bytes - .../text-rendering-tests/fonts/TestGPOSThree.ttf | Bin 0 -> 3500 bytes - .../text-rendering-tests/fonts/TestGPOSTwo.otf | Bin 0 -> 1680 bytes - .../text-rendering-tests/fonts/TestGSUBOne.otf | Bin 0 -> 1788 bytes - .../text-rendering-tests/fonts/TestGVAREight.ttf | Bin 0 -> 4692 bytes - .../text-rendering-tests/fonts/TestGVARFour.ttf | Bin 0 -> 3204 bytes - .../text-rendering-tests/fonts/TestGVARNine.ttf | Bin 0 -> 2168 bytes - .../text-rendering-tests/fonts/TestGVAROne.ttf | Bin 0 -> 14312 bytes - .../text-rendering-tests/fonts/TestGVARThree.ttf | Bin 0 -> 14336 bytes - .../text-rendering-tests/fonts/TestGVARTwo.ttf | Bin 0 -> 15668 bytes - .../text-rendering-tests/fonts/TestHVAROne.otf | Bin 0 -> 3984 bytes - .../text-rendering-tests/fonts/TestHVARTwo.ttf | Bin 0 -> 4004 bytes - .../text-rendering-tests/fonts/TestKERNOne.otf | Bin 0 -> 1380 bytes - .../text-rendering-tests/fonts/TestMORXFour.ttf | Bin 0 -> 4764 bytes - .../text-rendering-tests/fonts/TestMORXOne.ttf | Bin 0 -> 2404 bytes - .../text-rendering-tests/fonts/TestMORXThree.ttf | Bin 0 -> 4104 bytes - .../text-rendering-tests/fonts/TestMORXTwo.ttf | Bin 0 -> 4960 bytes - .../text-rendering-tests/fonts/TestShapeAran.ttf | Bin 0 -> 116044 bytes - .../text-rendering-tests/fonts/TestShapeEthi.ttf | Bin 0 -> 5292 bytes - .../data/text-rendering-tests/fonts/Zycon.ttf | Bin 0 -> 21036 bytes - .../data/text-rendering-tests/tests/AVAR-1.tests | 17 ++++++ - .../data/text-rendering-tests/tests/CFF-1.tests | 13 +++++ - .../data/text-rendering-tests/tests/CFF-2.tests | 13 +++++ - .../data/text-rendering-tests/tests/CFF2-1.tests | 9 ++++ - .../data/text-rendering-tests/tests/CMAP-1.tests | 4 ++ - .../data/text-rendering-tests/tests/CMAP-2.tests | 2 + - .../data/text-rendering-tests/tests/CMAP-3.tests | 20 +++++++ - .../data/text-rendering-tests/tests/CVAR-1.tests | 3 ++ - .../data/text-rendering-tests/tests/CVAR-2.tests | 3 ++ - .../data/text-rendering-tests/tests/GLYF-1.tests | 1 + - .../data/text-rendering-tests/tests/GPOS-1.tests | 19 +++++++ - .../data/text-rendering-tests/tests/GPOS-2.tests | 3 ++ - .../data/text-rendering-tests/tests/GPOS-3.tests | 4 ++ - .../data/text-rendering-tests/tests/GPOS-4.tests | 4 ++ - .../data/text-rendering-tests/tests/GPOS-5.tests | 5 ++ - .../data/text-rendering-tests/tests/GSUB-1.tests | 1 + - .../data/text-rendering-tests/tests/GSUB-2.tests | 11 ++++ - .../data/text-rendering-tests/tests/GVAR-1.tests | 9 ++++ - .../data/text-rendering-tests/tests/GVAR-2.tests | 9 ++++ - .../data/text-rendering-tests/tests/GVAR-3.tests | 9 ++++ - .../data/text-rendering-tests/tests/GVAR-4.tests | 11 ++++ - .../data/text-rendering-tests/tests/GVAR-5.tests | 11 ++++ - .../data/text-rendering-tests/tests/GVAR-6.tests | 11 ++++ - .../data/text-rendering-tests/tests/GVAR-7.tests | 7 +++ - .../data/text-rendering-tests/tests/GVAR-8.tests | 6 +++ - .../data/text-rendering-tests/tests/GVAR-9.tests | 10 ++++ - .../data/text-rendering-tests/tests/HVAR-1.tests | 6 +++ - .../data/text-rendering-tests/tests/HVAR-2.tests | 6 +++ - .../data/text-rendering-tests/tests/KERN-1.tests | 1 + - .../data/text-rendering-tests/tests/KERN-2.tests | 1 + - .../data/text-rendering-tests/tests/MORX-1.tests | 1 + - .../data/text-rendering-tests/tests/MORX-2.tests | 16 ++++++ - .../data/text-rendering-tests/tests/MORX-3.tests | 16 ++++++ - .../data/text-rendering-tests/tests/MORX-4.tests | 15 ++++++ - .../data/text-rendering-tests/tests/SHARAN-1.tests | 6 +++ - .../data/text-rendering-tests/tests/SHBALI-1.tests | 22 ++++++++ - .../data/text-rendering-tests/tests/SHBALI-2.tests | 12 +++++ - .../data/text-rendering-tests/tests/SHBALI-3.tests | 9 ++++ - .../data/text-rendering-tests/tests/SHKNDA-1.tests | 34 ++++++++++++ - .../data/text-rendering-tests/tests/SHKNDA-2.tests | 16 ++++++ - .../data/text-rendering-tests/tests/SHKNDA-3.tests | 31 +++++++++++ - 77 files changed, 510 insertions(+), 1 deletion(-) - -commit 6b19178ee35fec3b2115d6a06a86db36dc838b38 -Author: Behdad Esfahbod -Date: Wed Jan 10 03:07:30 2018 +0100 - - Prefix int types with HB - - Such a headache that Windows defines UINT8, ...; Just prefix it. - - src/hb-aat-layout-common-private.hh | 29 +++--- - src/hb-aat-layout-morx-table.hh | 65 +++++++------ - src/hb-open-file-private.hh | 6 +- - src/hb-open-type-private.hh | 70 +++++++------- - src/hb-ot-cbdt-table.hh | 78 ++++++++-------- - src/hb-ot-cmap-table.hh | 90 +++++++++--------- - src/hb-ot-glyf-table.hh | 10 +- - src/hb-ot-head-table.hh | 28 +++--- - src/hb-ot-hhea-table.hh | 18 ++-- - src/hb-ot-kern-table.hh | 36 ++++---- - src/hb-ot-layout-common-private.hh | 120 ++++++++++++------------ - src/hb-ot-layout-gdef-table.hh | 22 ++--- - src/hb-ot-layout-gpos-table.hh | 94 +++++++++---------- - src/hb-ot-layout-gsub-table.hh | 30 +++--- - src/hb-ot-layout-gsubgpos-private.hh | 172 +++++++++++++++++------------------ - src/hb-ot-math-table.hh | 26 +++--- - src/hb-ot-maxp-table.hh | 2 +- - src/hb-ot-name-table.hh | 16 ++-- - src/hb-ot-os2-table.hh | 70 +++++++------- - src/hb-ot-post-table.hh | 16 ++-- - src/hb-ot-var-avar-table.hh | 4 +- - src/hb-ot-var-fvar-table.hh | 20 ++-- - src/hb-ot-var-hvar-table.hh | 8 +- - src/hb-ot-var-mvar-table.hh | 10 +- - 24 files changed, 517 insertions(+), 523 deletions(-) - -commit 81e321c802afcc43186737e6900f8d7e2f9d4fd3 -Author: Behdad Esfahbod -Date: Wed Jan 10 02:56:29 2018 +0100 - - [aat] Try fixing VC bots - - c:\projects\harfbuzz\src\hb-aat-layout-common-private.hh(51): error C2872: 'UINT16': ambiguous symbol [C:\projects\harfbuzz\build\harfbuzz.vcxproj] - C:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\shared\basetsd.h(80): note: could be 'unsigned short UINT16' - c:\projects\harfbuzz\src\hb-open-type-private.hh(648): note: or 'OT::UINT16' - - src/hb-aat-layout-common-private.hh | 3 +++ - src/hb-aat-layout-morx-table.hh | 3 +++ - 2 files changed, 6 insertions(+) - -commit 0ed69c946247feb5bbb5be06d5314c5e0c0fec67 -Author: Behdad Esfahbod -Date: Wed Jan 10 02:49:36 2018 +0100 - - Disable processing of morx table in ot shaper - - So I can merge this to master... - - src/hb-ot-shape.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 3f29ea91441b2e8c86cf379b4803f638a2e8dcfc -Author: Behdad Esfahbod -Date: Wed Jan 10 02:48:04 2018 +0100 - - [util] Add hb-shape --ned - - For not displaying extra data: no clusters, no advance. Just data pertaining - to where glyphs end up on the screen. - - test/shaping/data/text-rendering-tests/extract-tests.py | 2 +- - util/options.cc | 13 +++++++++++++ - 2 files changed, 14 insertions(+), 1 deletion(-) - -commit 7020130665316365c288d0960fc288faa8f5bdf7 -Author: Behdad Esfahbod -Date: Wed Jan 10 02:37:39 2018 +0100 - - [test] Minor - - test/shaping/run-tests.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 5f94b4cc39f2f61b38c954ddac1aae6a052845bd -Author: Behdad Esfahbod -Date: Wed Jan 10 02:35:59 2018 +0100 - - [kern] Mark unsafe-to-break - - src/hb-ot-shape-fallback.cc | 2 ++ - 1 file changed, 2 insertions(+) - -commit 71fd6325b6cba2586709022dd33530c61141bf8f -Author: Behdad Esfahbod -Date: Wed Jan 10 02:20:14 2018 +0100 - - Add option to buffer serialization to not output glyph advances - - When advances are not printed, glyph offsets reflect absolute glyph - positions. - - New API: - HB_BUFFER_SERIALIZE_FLAG_NO_ADVANCES - hb-shape --no-advances - - src/hb-buffer-serialize.cc | 38 ++++++++++++++++++++++++++++---------- - src/hb-buffer.h | 5 ++++- - util/hb-shape.cc | 2 ++ - util/options.cc | 2 ++ - util/options.hh | 2 ++ - 5 files changed, 38 insertions(+), 11 deletions(-) - -commit 316a28f8f8a9c459936ce9f2786d4d64a8f4e2c0 -Author: Behdad Esfahbod -Date: Wed Jan 10 01:54:12 2018 +0100 - - [test] Add script for extracting tests from text-rendering-tests - - Work in progress... - - https://github.com/unicode-org/text-rendering-tests - - .../data/text-rendering-tests/extract-tests.py | 45 ++++++++++++++++++++++ - 1 file changed, 45 insertions(+) - -commit 6b4d63f295f419f55983a8fc72f582802f55b09f -Author: Behdad Esfahbod -Date: Wed Jan 10 01:13:36 2018 +0100 - - [test] Minor - - test/shaping/run-tests.py | 9 --------- - 1 file changed, 9 deletions(-) - -commit 504f913654d5904604e6abdbf7d0653f40db51fc -Author: Behdad Esfahbod -Date: Tue Jan 9 23:15:54 2018 +0100 - - [test] Simplify test runner - - Always pass hb-shape as first argument to run-tests.py. - - Also require automake 1.13. - - configure.ac | 3 +-- - test/shaping/Makefile.am | 18 ++---------------- - test/shaping/run-tests.py | 22 +++++----------------- - 3 files changed, 8 insertions(+), 35 deletions(-) - -commit 141db8b7a3abf2adbf0caa0659d9239396f6a2db -Author: Behdad Esfahbod -Date: Tue Jan 9 23:11:00 2018 +0100 - - [test] Minor - - test/shaping/Makefile.am | 4 ---- - test/shaping/run-tests.py | 4 ++-- - 2 files changed, 2 insertions(+), 6 deletions(-) - -commit 44c65eee28e2de5c54028cb0ef144f56da16ef58 -Author: Behdad Esfahbod -Date: Tue Jan 9 21:58:57 2018 +0100 - - [test] Reorganize test suite - - In anticipation of importing more test suites. - - test/fuzzing/run-fuzzer-tests.py | 2 +- - test/shaping/Makefile.am | 86 +++++++++--------- - test/shaping/{fonts => data/in-house}/COPYING | 7 +- - .../0509e80afb379d16560e9e47bdd7d888bebdebc6.ttf | Bin - .../051d92f8bc6ff724511b296c27623f824de256e9.ttf | Bin - .../074a5ae6b19de8f29772fdd5df2d3d833f81f5e6.ttf | Bin - .../07f054357ff8638bac3711b422a1e31180bba863.ttf | Bin - .../15dfc433a135a658b9f4b1a861b5cdd9658ccbb9.ttf | Bin - .../1735326da89f0818cd8c51a0600e9789812c0f94.ttf | Bin - .../191826b9643e3f124d865d617ae609db6a2ce203.ttf | Bin - .../1a3d8f381387dd29be1e897e4b5100ac8b4829e1.ttf | Bin - .../1a6f1687b7a221f9f2c834b0b360d3c8463b6daf.ttf | Bin - .../1c04a16f32a39c26c851b7fc014d2e8d298ba2b8.ttf | Bin - .../1c2c3fc37b2d4c3cb2ef726c6cdaaabd4b7f3eb9.ttf | Bin - .../1c2fb74c1b2aa173262734c1f616148f1648cfd6.ttf | Bin - .../205edd09bd3d141cc9580f650109556cc28b22cb.ttf | Bin - .../217a934cfe15c548b572c203dceb2befdf026462.ttf | Bin - .../21b7fb9c1eeae260473809fbc1fe330f66a507cd.ttf | Bin - .../226bc2deab3846f1a682085f70c67d0421014144.ttf | Bin - .../243798dd281c1c77c065958e1ff467420faa9bde.ttf | Bin - .../24b8d24d00ae86f49791b746da4c9d3f717a51a8.ttf | Bin - .../270b89df543a7e48e206a2d830c0e10e5265c630.ttf | Bin - .../298c9e1d955f10f6f72c6915c3c6ff9bf9695cec.ttf | Bin - .../2de1ab4907ab688c0cfc236b0bf51151db38bf2e.ttf | Bin - .../341421e629668b1a1242245d39238ca48432d35d.ttf | Bin - .../3493e92eaded2661cadde752a39f9d58b11f0326.ttf | Bin - .../3511ff5c1647150595846ac414c595cccac34f18.ttf | Bin - .../37033cc5cf37bb223d7355153016b6ccece93b28.ttf | Bin - .../373e67bf41ca264e260a9716162b71a23549e885.ttf | Bin - .../375d6ae32a3cbe52fbf81a4e5777e3377675d5a3.ttf | Bin - .../3cae6bfe5b57c07ba81ddbd54c02fe4f3a1e3bf6.ttf | Bin - .../3d0b77a2360aa6faa1385aaa510509ab70dfbeff.ttf | Bin - .../43979b90b2dd929723cf4fe1715990bcb9c9a56b.ttf | Bin - .../43ef465752be9af900745f72fe29cb853a1401a5.ttf | Bin - .../45855bc8d46332b39c4ab9e2ee1a26b1f896da6b.ttf | Bin - .../49c9f7485c1392fa09a1b801bc2ffea79275f22e.ttf | Bin - .../4cce528e99f600ed9c25a2b69e32eb94a03b4ae8.ttf | Bin - .../4fac3929fc3332834e93673780ec0fe94342d193.ttf | Bin - .../5028afb650b1bb718ed2131e872fbcce57828fff.ttf | Bin - .../53374c7ca3657be37efde7ed02ae34229a56ae1f.ttf | Bin - .../54674a3111d209fb6be0ed31745314b7a8d2c244.ttf | Bin - .../558661aa659912f4d30ecd27bd09835171a8e2b0.ttf | Bin - .../55c88ebbe938680b08f92c3de20713183e0c7481.ttf | Bin - .../56cfd0e18d07f41c38e9598545a6d369127fc6f9.ttf | Bin - .../57a9d9f83020155cbb1d2be1f43d82388cbecc88.ttf | Bin - .../59a585a63b3df608fbeef00956c8c108deec7de6.ttf | Bin - .../5a5daf5eb5a4db77a2baa3ad9c7a6ed6e0655fa8.ttf | Bin - .../5dfad7735c6a67085f1b90d4d497e32907db4c78.ttf | Bin - .../641bd9db850193064d17575053ae2bf8ec149ddc.ttf | Bin - .../663aef6b019dbf45ffd74089e2b5f2496ceceb18.ttf | Bin - .../6991b13ce889466be6de3f66e891de2bc0f117ee.ttf | Bin - .../6ff0fbead4462d9f229167b4e6839eceb8465058.ttf | Bin - .../706c5d7b625f207bc0d874c67237aad6f1e9cd6f.ttf | Bin - .../757ebd573617a24aa9dfbf0b885c54875c6fe06b.ttf | Bin - .../7a37dc4d5bf018456aea291cee06daf004c0221c.ttf | Bin - .../7e14e7883ed152baa158b80e207b66114c823a8b.ttf | Bin - .../8099955657a54e9ee38a6ba1d6f950ce58e3cc25.ttf | Bin - .../813c2f8e5512187fd982417a7fb4286728e6f4a8.ttf | Bin - .../81c368a33816fb20e9f647e8f24e2180f4720263.ttf | Bin - .../8228d035fcd65d62ec9728fb34f42c63be93a5d3.ttf | Bin - .../8240789f6d12d4cfc4b5e8e6f246c3701bcf861f.ttf | Bin - .../82f4f3b57bb55344e72e70231380202a52af5805.ttf | Bin - .../8454d22037f892e76614e1645d066689a0200e61.ttf | Bin - .../85414f2552b654585b7a8d13dcc3e8fd9f7970a3.ttf | Bin - .../856ff9562451293cbeff6f396d4e3877c4f0a436.ttf | Bin - .../85fe0be440c64ac77699e21c2f1bd933a919167e.ttf | Bin - .../87f85d17d26f1fe9ad28d7365101958edaefb967.ttf | Bin - .../8a9fea2a7384f2116e5b84a9b31f83be7850ce21.ttf | Bin - .../94a5d6fb15a27521fba9ea4aee9cb39b2d03322a.ttf | Bin - .../96490dd2ff81233b335a650e7eb660e0e7b2eeea.ttf | Bin - .../98b7887cff91f722b92a8ff800120954606354f9.ttf | Bin - .../9d8a94a67932a3ab75a596fc8b5c6d0392ca9e49.ttf | Bin - .../a014549f766436cf55b2ceb40e462038938ee899.ttf | Bin - .../a02a7f0ad42c2922cb37ad1358c9df4eb81f1bca.ttf | Bin - .../a34a7b00f22ffb5fd7eef6933b81c7e71bc2cdfb.ttf | Bin - .../a34a9191d9376bda419836effeef7e75c1386016.ttf | Bin - .../a69118c2c2ada48ff803d9149daa54c9ebdae30e.ttf | Bin - .../a6c76d1bafde4a0b1026ebcc932d2e5c6fd02442.ttf | Bin - .../a919b33197965846f21074b24e30250d67277bce.ttf | Bin - .../a98e908e2ed21b22228ea59ebcc0f05034c86f2e.ttf | Bin - .../b151cfcdaa77585d77f17a42158e0873fc8e2633.ttf | Bin - .../b6acef662e0beb8d5fcf5b61c6b0ca69537b7402.ttf | Bin - .../b9e2aaa0d75fcef6971ec3a96d806ba4a6b31fe2.ttf | Bin - .../bb0c53752e85c3d28973ebc913287b8987d3dfe8.ttf | Bin - .../bb29ce50df2bdba2d10726427c6b7609bf460e04.ttf | Bin - .../bb9473d2403488714043bcfb946c9f78b86ad627.ttf | Bin - .../bbf4a308c402f0678c3e82844892a4da2ebe598f.ttf | Bin - .../bf39b0e91ef9807f15a9e283a21a14a209fd2cfc.ttf | Bin - .../bf962d3202883a820aed019d9b5c1838c2ff69c6.ttf | Bin - .../c4e48b0886ef460f532fb49f00047ec92c432ec0.ttf | Bin - .../cc5f3d2d717fb6bd4dfae1c16d48a2cb8e12233b.ttf | Bin - .../d23d76ea0909c14972796937ba072b5a40c1e257.ttf | Bin - .../d629e7fedc0b350222d7987345fe61613fa3929a.ttf | Bin - .../d9b8bc10985f24796826c29f7ccba3d0ae11ec02.ttf | Bin - .../dd9f0c7c7c36f75a18be0cab1cddf8f3ab0f366b.ttf | Bin - .../df768b9c257e0c9c35786c47cae15c46571d56be.ttf | Bin - .../e207635780b42f898d58654b65098763e340f5c7.ttf | Bin - .../e68a88939e0f06e34d2bc911f09b70890289c8fd.ttf | Bin - .../e88c339237f52d21e01c55f01b9c1b4cc14a0467.ttf | Bin - .../ee39587d13b2afa5499cc79e45780aa79293bbd4.ttf | Bin - .../ef2511f215aa3ca847cbfffbf861793b42170875.ttf | Bin - .../ef86fe710cfea877bbe0dbb6946a1f88d0661031.ttf | Bin - .../f22416c692720a7d46fadf4af99f4c9e094f00b9.ttf | Bin - .../f443753e8ffe8e8aae606cfba158e00334b6efb1.ttf | Bin - .../f499fbc23865022234775c43503bba2e63978fe1.ttf | Bin - .../f518eb6f6b5eec2946c9fbbbde44e45d46f5e2ac.ttf | Bin - .../f9b1dd4dcb515e757789a22cb4241107746fd3d0.ttf | Bin - .../fab39d60d758cb586db5a504f218442cd1395725.ttf | Bin - .../fbb6c84c9e1fe0c39e152fbe845e51fd81f6748e.ttf | Bin - .../fcdcffbdf1c4c97c05308d7600e4c283eb47dbca.ttf | Bin - .../ffa0f5d2d9025486d8469d8b1fdd983e7632499b.ttf | Bin - .../in-house/tests/arabic-fallback-shaping.tests | 1 + - .../data/in-house/tests/arabic-feature-order.tests | 4 + - .../data/in-house/tests/arabic-like-joining.tests | 1 + - .../data/in-house/tests/arabic-mark-order.tests | 6 ++ - test/shaping/data/in-house/tests/arabic-stch.tests | 1 + - .../data/in-house/tests/automatic-fractions.tests | 3 + - test/shaping/data/in-house/tests/cluster.tests | 2 + - test/shaping/data/in-house/tests/color-fonts.tests | 1 + - .../data/in-house/tests/context-matching.tests | 3 + - .../data/in-house/tests/cursive-positioning.tests | 4 + - .../data/in-house/tests/default-ignorables.tests | 2 + - .../data/in-house/tests/emoji-flag-tags.tests | 2 + - .../data/in-house/tests/fallback-positioning.tests | 2 + - test/shaping/data/in-house/tests/fuzzed.tests | 22 +++++ - test/shaping/data/in-house/tests/hangul-jamo.tests | 2 + - test/shaping/data/in-house/tests/hyphens.tests | 2 + - .../tests/indic-consonant-with-stacker.tests | 4 + - test/shaping/data/in-house/tests/indic-init.tests | 1 + - .../in-house/tests/indic-joiner-candrabindu.tests | 2 + - .../data/in-house/tests/indic-joiners.tests | 2 + - .../data/in-house/tests/indic-old-spec.tests | 2 + - .../data/in-house/tests/indic-pref-blocking.tests | 2 + - .../in-house/tests/indic-script-extensions.tests | 2 + - .../data/in-house/tests/indic-special-cases.tests | 3 + - .../data/in-house/tests/indic-syllable.tests | 8 ++ - .../data/in-house/tests/language-tags.tests | 12 +++ - test/shaping/data/in-house/tests/ligature-id.tests | 36 ++++++++ - .../data/in-house/tests/mark-attachment.tests | 1 + - .../data/in-house/tests/mark-filtering-sets.tests | 5 ++ - .../tests/mongolian-variation-selector.tests | 4 + - test/shaping/data/in-house/tests/simple.tests | 2 + - test/shaping/data/in-house/tests/spaces.tests | 17 ++++ - .../in-house/tests/tibetan-contractions-1.tests | 60 +++++++++++++ - .../in-house/tests/tibetan-contractions-2.tests | 53 +++++++++++ - .../data/in-house/tests/tibetan-vowels.tests | 11 +++ - test/shaping/data/in-house/tests/use-marchen.tests | 35 ++++++++ - .../shaping/data/in-house/tests/use-syllable.tests | 7 ++ - test/shaping/data/in-house/tests/use.tests | 4 + - .../data/in-house/tests/variations-rvrn.tests | 100 +++++++++++++++++++++ - test/shaping/data/in-house/tests/vertical.tests | 3 + - .../data/in-house/tests/zero-width-marks.tests | 11 +++ - test/shaping/run-tests.py | 48 ++++------ - .../tests/misc/arabic-fallback-shaping.tests | 1 - - test/shaping/tests/misc/arabic-feature-order.tests | 4 - - test/shaping/tests/misc/arabic-like-joining.tests | 1 - - test/shaping/tests/misc/arabic-mark-order.tests | 6 -- - test/shaping/tests/misc/arabic-stch.tests | 1 - - test/shaping/tests/misc/automatic-fractions.tests | 3 - - test/shaping/tests/misc/cluster.tests | 2 - - test/shaping/tests/misc/color-fonts.tests | 1 - - test/shaping/tests/misc/context-matching.tests | 3 - - test/shaping/tests/misc/cursive-positioning.tests | 4 - - test/shaping/tests/misc/default-ignorables.tests | 2 - - test/shaping/tests/misc/emoji-flag-tags.tests | 2 - - test/shaping/tests/misc/fallback-positioning.tests | 2 - - test/shaping/tests/misc/fuzzed.tests | 22 ----- - test/shaping/tests/misc/hangul-jamo.tests | 2 - - test/shaping/tests/misc/hyphens.tests | 2 - - .../tests/misc/indic-consonant-with-stacker.tests | 4 - - test/shaping/tests/misc/indic-init.tests | 1 - - .../tests/misc/indic-joiner-candrabindu.tests | 2 - - test/shaping/tests/misc/indic-joiners.tests | 2 - - test/shaping/tests/misc/indic-old-spec.tests | 2 - - test/shaping/tests/misc/indic-pref-blocking.tests | 2 - - .../tests/misc/indic-script-extensions.tests | 2 - - test/shaping/tests/misc/indic-special-cases.tests | 3 - - test/shaping/tests/misc/indic-syllable.tests | 8 -- - test/shaping/tests/misc/language-tags.tests | 12 --- - test/shaping/tests/misc/ligature-id.tests | 36 -------- - test/shaping/tests/misc/mark-attachment.tests | 1 - - test/shaping/tests/misc/mark-filtering-sets.tests | 5 -- - .../tests/misc/mongolian-variation-selector.tests | 4 - - test/shaping/tests/misc/simple.tests | 2 - - test/shaping/tests/misc/spaces.tests | 17 ---- - .../tests/misc/tibetan-contractions-1.tests | 60 ------------- - .../tests/misc/tibetan-contractions-2.tests | 53 ----------- - test/shaping/tests/misc/tibetan-vowels.tests | 11 --- - test/shaping/tests/misc/use-marchen.tests | 35 -------- - test/shaping/tests/misc/use-syllable.tests | 7 -- - test/shaping/tests/misc/use.tests | 4 - - test/shaping/tests/misc/variations-rvrn.tests | 100 --------------------- - test/shaping/tests/misc/vertical.tests | 3 - - test/shaping/tests/misc/zero-width-marks.tests | 11 --- - .../script-arabic/language-persian/mehran.txt | 14 +-- - .../language-urdu/crulp/ligatures/2grams.txt | 0 - .../language-urdu/crulp/ligatures/3grams.txt | 0 - .../language-urdu/crulp/ligatures/4grams.txt | 0 - .../language-urdu/crulp/ligatures/5grams.txt | 0 - .../language-urdu/crulp/ligatures/6grams.txt | 0 - .../language-urdu/crulp/ligatures/7grams.txt | 0 - .../language-urdu/crulp/ligatures/8grams.txt | 0 - .../language-urdu/crulp/ligatures/LICENSE | 0 - .../language-urdu/crulp/ligatures/README | 0 - .../language-urdu/crulp/ligatures/SOURCES | 0 - .../script-arabic/misc/diacritics/lam-alef.txt | 0 - .../misc/diacritics/language-arabic.txt | 0 - .../misc/diacritics/language-persian.txt | 0 - .../misc/diacritics/language-urdu.txt | 0 - .../misc/diacritics/ligature-components.txt | 0 - .../misc/diacritics/ligature-diacritics.txt | 0 - .../misc/diacritics/mark-skipping.txt | 0 - .../shaper-arabic/script-mongolian/misc/misc.txt | 0 - .../script-mongolian/misc/non-joining.txt | 0 - .../shaper-arabic/script-mongolian/misc/poem.txt | 0 - .../script-mongolian/misc/variation-selectors.txt | 0 - .../shaper-arabic/script-nko/misc/misc.txt | 0 - .../shaper-arabic/script-phags-pa/misc/misc.txt | 0 - .../script-syriac/misc/abbreviation-mark.txt | 11 +++ - .../shaper-arabic/script-syriac/misc/alaph.txt | 0 - .../shaper-default/script-ethiopic/misc/misc.txt | 0 - .../shaper-default/script-han/misc/cjk-compat.txt | 0 - .../script-hiragana/misc/kazuraki-liga-lines.txt | 0 - .../script-hiragana/misc/kazuraki-liga.txt | 0 - .../shaper-default/script-linear-b/misc/misc.txt | 0 - .../shaper-default/script-tifinagh/misc/misc.txt | 1 - - .../shaper-hangul/script-hangul/misc/misc.txt | 0 - .../script-hebrew/misc/diacritics.txt | 0 - .../indic/script-assamese/utrrs/LICENSE | 0 - .../indic/script-assamese/utrrs/README | 0 - .../indic/script-assamese/utrrs/SOURCES | 0 - .../IndicFontFeatureCodepoint-AdditionalVowels.txt | 0 - .../IndicFontFeatureCodepoint-Consonants.txt | 0 - .../IndicFontFeatureCodepoint-DependentVowels.txt | 0 - .../codepoint/IndicFontFeatureCodepoint-Digits.txt | 0 - ...IndicFontFeatureCodepoint-IndependentVowels.txt | 0 - .../IndicFontFeatureCodepoint-Reserved.txt | 0 - .../IndicFontFeatureCodepoint-VariousSigns.txt | 0 - .../utrrs/gpos/IndicFontFeatureGPOS-AboveBase.txt | 0 - .../utrrs/gpos/IndicFontFeatureGPOS-BelowBase.txt | 0 - .../utrrs/gsub/IndicFontFeatureGSUB.txt | 0 - .../indic/script-bengali/misc/misc.txt | 0 - .../indic/script-bengali/misc/reph.txt | 0 - .../indic/script-bengali/utrrs/LICENSE | 0 - .../shaper-indic/indic/script-bengali/utrrs/README | 0 - .../indic/script-bengali/utrrs/SOURCES | 0 - .../IndicFontFeatureCodepoint-AdditionalVowels.txt | 0 - .../IndicFontFeatureCodepoint-Consonants.txt | 0 - .../IndicFontFeatureCodepoint-DependentVowels.txt | 0 - .../codepoint/IndicFontFeatureCodepoint-Digits.txt | 0 - ...IndicFontFeatureCodepoint-IndependentVowels.txt | 0 - .../IndicFontFeatureCodepoint-Reserved.txt | 0 - .../IndicFontFeatureCodepoint-VariousSigns.txt | 0 - .../utrrs/gpos/IndicFontFeatureGPOS-AboveBase.txt | 0 - .../utrrs/gpos/IndicFontFeatureGPOS-BelowBase.txt | 0 - .../utrrs/gsub/IndicFontFeatureGSUB.txt | 0 - .../indic/script-devanagari/misc/dottedcircle.txt | 0 - .../indic/script-devanagari/misc/eyelash.txt | 0 - .../indic/script-devanagari/misc/joiners.txt | 0 - .../indic/script-devanagari/misc/misc.txt | 0 - .../script-devanagari/misc/spec-deviations.txt | 0 - .../script-devanagari/misc/tricky-reordering.txt | 0 - .../indic/script-devanagari/utrrs/LICENSE | 0 - .../indic/script-devanagari/utrrs/README | 0 - .../indic/script-devanagari/utrrs/SOURCES | 0 - ...icFontFeatureCodepoint-AdditionalConsonants.txt | 0 - .../IndicFontFeatureCodepoint-AdditionalVowels.txt | 0 - .../IndicFontFeatureCodepoint-Consonants.txt | 0 - .../IndicFontFeatureCodepoint-DependentVowels.txt | 0 - ...tFeatureCodepoint-DevnagariSpecificAddition.txt | 0 - .../codepoint/IndicFontFeatureCodepoint-Digits.txt | 0 - ...ndicFontFeatureCodepoint-GenericPunctuation.txt | 0 - ...IndicFontFeatureCodepoint-IndependentVowels.txt | 0 - .../IndicFontFeatureCodepoint-VariousSigns.txt | 0 - .../utrrs/gpos/IndicFontFeatureGPOS-AboveBase.txt | 0 - .../utrrs/gpos/IndicFontFeatureGPOS-BelowBase.txt | 0 - .../utrrs/gsub/IndicFontFeatureGSUB.txt | 0 - .../indic/script-gujarati/utrrs/LICENSE | 0 - .../indic/script-gujarati/utrrs/README | 0 - .../indic/script-gujarati/utrrs/SOURCES | 0 - .../IndicFontFeatureCodepoint-AdditionalVowels.txt | 0 - .../IndicFontFeatureCodepoint-Consonants.txt | 0 - .../IndicFontFeatureCodepoint-DependentVowels.txt | 0 - .../codepoint/IndicFontFeatureCodepoint-Digits.txt | 0 - ...IndicFontFeatureCodepoint-IndependentVowels.txt | 0 - .../IndicFontFeatureCodepoint-Reserved.txt | 0 - .../IndicFontFeatureCodepoint-VariousSigns.txt | 0 - .../utrrs/gpos/IndicFontFeatureGPOS-AboveBase.txt | 0 - .../utrrs/gpos/IndicFontFeatureGPOS-BelowBase.txt | 0 - .../utrrs/gsub/IndicFontFeatureGSUB.txt | 0 - .../indic/script-gurmukhi/misc/misc.txt | 0 - .../indic/script-gurmukhi/utrrs/LICENSE | 0 - .../indic/script-gurmukhi/utrrs/README | 0 - .../indic/script-gurmukhi/utrrs/SOURCES | 0 - .../IndicFontFeatureCodepoint-Consonants.txt | 0 - .../IndicFontFeatureCodepoint-DependentVowels.txt | 0 - .../codepoint/IndicFontFeatureCodepoint-Digits.txt | 0 - .../IndicFontFeatureCodepoint-GurmukhiSpecific.txt | 0 - ...IndicFontFeatureCodepoint-IndependentVowels.txt | 0 - .../IndicFontFeatureCodepoint-Reserved.txt | 0 - .../IndicFontFeatureCodepoint-VariousSigns.txt | 0 - .../utrrs/gpos/IndicFontFeatureGPOS-AboveBase.txt | 0 - .../utrrs/gpos/IndicFontFeatureGPOS-BelowBase.txt | 0 - .../utrrs/gsub/IndicFontFeatureGSUB.txt | 0 - .../indic/script-kannada/misc/misc.txt | 0 - .../indic/script-kannada/misc/right-matras.txt | 0 - .../indic/script-kannada/utrrs/LICENSE | 0 - .../shaper-indic/indic/script-kannada/utrrs/README | 0 - .../indic/script-kannada/utrrs/SOURCES | 0 - ...icFontFeatureCodepoint-AdditionalConsonants.txt | 0 - .../IndicFontFeatureCodepoint-AdditionalVowels.txt | 0 - .../IndicFontFeatureCodepoint-Consonants.txt | 0 - .../IndicFontFeatureCodepoint-DependentVowels.txt | 0 - .../codepoint/IndicFontFeatureCodepoint-Digits.txt | 0 - ...IndicFontFeatureCodepoint-IndependentVowels.txt | 0 - .../IndicFontFeatureCodepoint-Reserved.txt | 0 - .../IndicFontFeatureCodepoint-VariousSigns.txt | 0 - .../utrrs/gpos/IndicFontFeatureGPOS-AboveBase.txt | 0 - .../utrrs/gsub/IndicFontFeatureGSUB.txt | 0 - .../indic/script-malayalam/misc/cibu.txt | 0 - .../indic/script-malayalam/misc/dot-reph.txt | 0 - .../indic/script-malayalam/misc/misc.txt | 0 - .../indic/script-malayalam/utrrs/LICENSE | 0 - .../indic/script-malayalam/utrrs/README | 0 - .../indic/script-malayalam/utrrs/SOURCES | 0 - .../IndicFontFeatureCodepoint-AdditionalVowels.txt | 0 - .../IndicFontFeatureCodepoint-Consonants.txt | 0 - .../IndicFontFeatureCodepoint-DependentVowels.txt | 0 - .../codepoint/IndicFontFeatureCodepoint-Digits.txt | 0 - ...IndicFontFeatureCodepoint-IndependentVowels.txt | 0 - .../IndicFontFeatureCodepoint-Reserved.txt | 0 - .../IndicFontFeatureCodepoint-VariousSigns.txt | 0 - .../utrrs/gsub/IndicFontFeatureGSUB.txt | 0 - .../shaper-indic/indic/script-oriya/misc/bindu.txt | 0 - .../shaper-indic/indic/script-oriya/misc/misc.txt | 0 - .../shaper-indic/indic/script-oriya/utrrs/LICENSE | 0 - .../shaper-indic/indic/script-oriya/utrrs/README | 0 - .../shaper-indic/indic/script-oriya/utrrs/SOURCES | 0 - ...icFontFeatureCodepoint-AdditionalConsonants.txt | 0 - .../IndicFontFeatureCodepoint-AdditionalVowels.txt | 0 - .../IndicFontFeatureCodepoint-Consonants.txt | 0 - .../IndicFontFeatureCodepoint-DependentVowels.txt | 0 - .../codepoint/IndicFontFeatureCodepoint-Digits.txt | 0 - ...IndicFontFeatureCodepoint-IndependentVowels.txt | 0 - .../IndicFontFeatureCodepoint-OriyaSpecific.txt | 0 - .../IndicFontFeatureCodepoint-Reserved.txt | 0 - .../IndicFontFeatureCodepoint-VariousSigns.txt | 0 - .../utrrs/gsub/IndicFontFeatureGSUB.txt | 0 - .../indic/script-sinhala/misc/extensive.txt | 0 - .../indic/script-sinhala/misc/misc.txt | 0 - .../indic/script-sinhala/misc/reph.txt | 0 - .../indic/script-sinhala/misc/split-matras.txt | 0 - .../indic/script-sinhala/utrrs/LICENSE | 0 - .../shaper-indic/indic/script-sinhala/utrrs/README | 0 - .../indic/script-sinhala/utrrs/SOURCES | 0 - .../IndicFontFeatureCodepoint-Consonants.txt | 0 - .../IndicFontFeatureCodepoint-DependentVowels.txt | 0 - ...IndicFontFeatureCodepoint-IndependentVowels.txt | 0 - .../IndicFontFeatureCodepoint-Punctuation.txt | 0 - .../IndicFontFeatureCodepoint-VariousSigns.txt | 0 - .../utrrs/gpos/IndicFontFeatureGPOS.txt | 0 - .../utrrs/gsub/IndicFontFeatureGSUB-Conjunct.txt | 0 - .../gsub/IndicFontFeatureGSUB-Rakaaraansaya.txt | 0 - .../utrrs/gsub/IndicFontFeatureGSUB-Repaya.txt | 0 - .../gsub/IndicFontFeatureGSUB-Special-Cases.txt | 0 - .../gsub/IndicFontFeatureGSUB-TouchingLetters.txt | 0 - .../utrrs/gsub/IndicFontFeatureGSUB-Yansaya.txt | 0 - .../utrrs/gsub/IndicFontFeatureGSUB.txt | 0 - .../shaper-indic/indic/script-tamil/misc/misc.txt | 0 - .../shaper-indic/indic/script-tamil/utrrs/LICENSE | 0 - .../shaper-indic/indic/script-tamil/utrrs/README | 0 - .../shaper-indic/indic/script-tamil/utrrs/SOURCES | 0 - .../IndicFontFeatureCodepoint-Consonants.txt | 0 - .../IndicFontFeatureCodepoint-CurrencySymbols.txt | 0 - .../IndicFontFeatureCodepoint-DependentVowels.txt | 0 - .../codepoint/IndicFontFeatureCodepoint-Digits.txt | 0 - ...IndicFontFeatureCodepoint-IndependentVowels.txt | 0 - .../IndicFontFeatureCodepoint-Numerics.txt | 0 - .../IndicFontFeatureCodepoint-Reserved.txt | 0 - .../IndicFontFeatureCodepoint-Symbols.txt | 0 - .../IndicFontFeatureCodepoint-TamilSymbol.txt | 0 - .../IndicFontFeatureCodepoint-VariousSigns.txt | 0 - .../utrrs/gpos/IndicFontFeatureGPOS-AboveBase.txt | 0 - .../utrrs/gpos/IndicFontFeatureGPOS-BelowBase.txt | 0 - .../utrrs/gsub/IndicFontFeatureGSUB.txt | 0 - .../shaper-indic/indic/script-telugu/misc/misc.txt | 0 - .../shaper-indic/indic/script-telugu/utrrs/LICENSE | 0 - .../shaper-indic/indic/script-telugu/utrrs/README | 0 - .../shaper-indic/indic/script-telugu/utrrs/SOURCES | 0 - .../IndicFontFeatureCodepoint-AdditionalVowels.txt | 0 - .../IndicFontFeatureCodepoint-Consonants.txt | 0 - .../IndicFontFeatureCodepoint-DependentVowels.txt | 0 - .../codepoint/IndicFontFeatureCodepoint-Digits.txt | 0 - ...IndicFontFeatureCodepoint-IndependentVowels.txt | 0 - .../IndicFontFeatureCodepoint-Reserved.txt | 0 - .../IndicFontFeatureCodepoint-VariousSigns.txt | 0 - .../utrrs/gpos/IndicFontFeatureGPOS-AboveBase.txt | 0 - .../utrrs/gsub/IndicFontFeatureGSUB.txt | 0 - .../south-east-asian/script-javanese/misc.txt | 0 - .../south-east-asian/script-khmer/misc/misc.txt | 0 - .../script-khmer/misc/other-marks-invalid.txt | 0 - .../script-khmer/misc/other-marks.txt | 0 - .../shaper-myanmar/script-myanmar/misc/misc.txt | 0 - .../shaper-myanmar/script-myanmar/misc/otspec.txt | 1 - - .../shaper-myanmar/script-myanmar/misc/utn11.txt | 0 - .../shaper-thai/script-lao/misc/sara-am.txt | 0 - .../shaper-thai/script-thai/misc/misc.txt | 0 - .../shaper-thai/script-thai/misc/phinthu.txt | 0 - .../shaper-thai/script-thai/misc/pua-shaping.txt | 0 - .../shaper-thai/script-thai/misc/sara-am.txt | 0 - .../script-tibetan/misc/contractions.txt | 0 - .../shaper-tibetan/script-tibetan/misc/misc.txt | 0 - .../shaper-use/script-batak/misc.txt | 0 - .../shaper-use/script-buginese/misc.txt | 92 +++++++++---------- - .../shaper-use/script-cham/misc.txt | 0 - .../shaper-use/script-kaithi/misc.txt | 0 - .../shaper-use/script-kharoshti/misc.txt | 0 - .../shaper-use/script-tai-tham/misc.txt | 0 - .../shaper-use/script-tai-tham/torture.txt | 0 - .../script-syriac/misc/abbreviation-mark.txt | 11 --- - 420 files changed, 573 insertions(+), 590 deletions(-) - -commit 9a3ad307ea91794712531dfc688700c11a1ff263 -Author: Behdad Esfahbod -Date: Tue Jan 9 21:35:21 2018 +0100 - - [test] Remove unused hb-diff-ngrams - - test/shaping/Makefile.am | 1 - - test/shaping/hb-diff-ngrams | 5 ----- - test/shaping/hb_test_tools.py | 26 -------------------------- - 3 files changed, 32 deletions(-) - -commit b6b460024d29362914c72cc5f8fbaec215db5b16 -Author: Behdad Esfahbod -Date: Tue Jan 9 21:33:38 2018 +0100 - - [test] Remove unused manifest stuff - - test/shaping/Makefile.am | 7 ------- - test/shaping/hb-manifest-read | 5 ----- - test/shaping/hb-manifest-update | 5 ----- - 3 files changed, 17 deletions(-) - -commit ebbee7c2475db789b622250addbf549695da2890 -Author: Behdad Esfahbod -Date: Tue Jan 9 18:23:19 2018 +0100 - - [test] Move test files around - - test/fuzzing/run-fuzzer-tests.py | 2 +- - test/shaping/Makefile.am | 82 +++++++++++----------- - .../tests/{ => misc}/arabic-fallback-shaping.tests | 0 - .../tests/{ => misc}/arabic-feature-order.tests | 0 - .../tests/{ => misc}/arabic-like-joining.tests | 0 - .../tests/{ => misc}/arabic-mark-order.tests | 0 - test/shaping/tests/{ => misc}/arabic-stch.tests | 0 - .../tests/{ => misc}/automatic-fractions.tests | 0 - test/shaping/tests/{ => misc}/cluster.tests | 0 - test/shaping/tests/{ => misc}/color-fonts.tests | 0 - .../tests/{ => misc}/context-matching.tests | 0 - .../tests/{ => misc}/cursive-positioning.tests | 0 - .../tests/{ => misc}/default-ignorables.tests | 0 - .../shaping/tests/{ => misc}/emoji-flag-tags.tests | 0 - .../tests/{ => misc}/fallback-positioning.tests | 0 - test/shaping/tests/{ => misc}/fuzzed.tests | 0 - test/shaping/tests/{ => misc}/hangul-jamo.tests | 0 - test/shaping/tests/{ => misc}/hyphens.tests | 0 - .../{ => misc}/indic-consonant-with-stacker.tests | 0 - test/shaping/tests/{ => misc}/indic-init.tests | 0 - .../{ => misc}/indic-joiner-candrabindu.tests | 0 - test/shaping/tests/{ => misc}/indic-joiners.tests | 0 - test/shaping/tests/{ => misc}/indic-old-spec.tests | 0 - .../tests/{ => misc}/indic-pref-blocking.tests | 0 - .../tests/{ => misc}/indic-script-extensions.tests | 0 - .../tests/{ => misc}/indic-special-cases.tests | 0 - test/shaping/tests/{ => misc}/indic-syllable.tests | 0 - test/shaping/tests/{ => misc}/language-tags.tests | 0 - test/shaping/tests/{ => misc}/ligature-id.tests | 0 - .../shaping/tests/{ => misc}/mark-attachment.tests | 0 - .../tests/{ => misc}/mark-filtering-sets.tests | 0 - .../{ => misc}/mongolian-variation-selector.tests | 0 - test/shaping/tests/{ => misc}/simple.tests | 0 - test/shaping/tests/{ => misc}/spaces.tests | 0 - .../tests/{ => misc}/tibetan-contractions-1.tests | 0 - .../tests/{ => misc}/tibetan-contractions-2.tests | 0 - test/shaping/tests/{ => misc}/tibetan-vowels.tests | 0 - test/shaping/tests/{ => misc}/use-marchen.tests | 0 - test/shaping/tests/{ => misc}/use-syllable.tests | 0 - test/shaping/tests/{ => misc}/use.tests | 0 - .../shaping/tests/{ => misc}/variations-rvrn.tests | 0 - test/shaping/tests/{ => misc}/vertical.tests | 0 - .../tests/{ => misc}/zero-width-marks.tests | 0 - 43 files changed, 42 insertions(+), 42 deletions(-) - -commit 748b989a1fa931b011d6a4e3db39dfdc632946b2 -Author: Behdad Esfahbod -Date: Tue Jan 9 17:55:17 2018 +0100 - - [aat/morx] Implement NoncontextualSubtables - - Also makes hb-ot-shape call morx for now instead of GSUB... Just for testing. - - src/hb-aat-layout-common-private.hh | 34 +++++++-------- - src/hb-aat-layout-morx-table.hh | 82 ++++++++++++++++++++++++++++++++++--- - src/hb-aat-layout-private.hh | 3 ++ - src/hb-aat-layout.cc | 13 +++++- - src/hb-ot-shape.cc | 6 +++ - 5 files changed, 111 insertions(+), 27 deletions(-) - -commit 4cf3ab1d8192862f8d3c52fdcaec567735916116 -Author: Behdad Esfahbod -Date: Tue Jan 9 16:32:58 2018 +0100 - - Minor - - src/hb-ot-shape.cc | 2 -- - 1 file changed, 2 deletions(-) - -commit 470fe5b603b409bef136fdd4e9b33d2704dc77b7 -Author: Behdad Esfahbod -Date: Tue Jan 9 15:48:51 2018 +0100 - - [aat] Implement Lookup table - - Untested, but compiles. - - src/hb-aat-layout-common-private.hh | 308 +++++++++++++++++++++++++++++++++++- - src/hb-aat-layout-morx-table.hh | 9 +- - src/hb-aat-layout.cc | 14 ++ - src/hb-face.cc | 6 +- - src/hb-open-type-private.hh | 16 +- - src/hb-ot-cbdt-table.hh | 4 +- - src/hb-ot-cmap-table.hh | 2 +- - src/hb-ot-glyf-table.hh | 6 +- - src/hb-ot-hmtx-table.hh | 8 +- - src/hb-ot-kern-table.hh | 2 +- - src/hb-ot-layout.cc | 6 +- - src/hb-ot-post-table.hh | 2 +- - src/hb-uniscribe.cc | 2 +- - 13 files changed, 355 insertions(+), 30 deletions(-) - -commit 4646a80a873fa164b9cf09128bc6b6fe2fc5cce2 -Author: Behdad Esfahbod -Date: Tue Jan 9 12:06:38 2018 +0100 - - Minor - - src/hb-ot-layout-common-private.hh | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 7c7cb42d8125d7e598bfa70f93053cafe38b325a -Author: Behdad Esfahbod -Date: Mon Jan 8 14:32:55 2018 +0000 - - [aat] Update previous commits for rebase on master - - src/hb-aat-layout-common-private.hh | 14 +++++++------- - src/hb-aat-layout-morx-table.hh | 28 ++++++++++++++-------------- - src/hb-open-type-private.hh | 5 ----- - 3 files changed, 21 insertions(+), 26 deletions(-) - -commit a0175e75bc40b5496d7fd37afd434cb2000e5b9b -Author: Behdad Esfahbod -Date: Thu Aug 17 16:55:54 2017 -0700 - - [aat] Start implementing common table formats - - src/Makefile.sources | 2 + - src/hb-aat-layout-common-private.hh | 134 ++++++++++++++++++++++++++++++++++++ - src/hb-aat-layout-morx-table.hh | 1 + - src/hb-aat-layout-private.hh | 37 ++++++++++ - src/hb-aat-layout.cc | 1 + - 5 files changed, 175 insertions(+) - -commit c71b55a223d14f8bb7fa355efc586e824b7d4d8f -Author: Behdad Esfahbod -Date: Mon Aug 14 17:24:36 2017 -0700 - - [aat] Start implementing Apple AAT morx table - - src/Makefile.sources | 2 + - src/hb-aat-layout-morx-table.hh | 275 ++++++++++++++++++++++++++++++++++++++++ - src/hb-aat-layout.cc | 42 ++++++ - src/hb-open-type-private.hh | 5 + - src/hb-ot-layout-private.hh | 5 + - src/hb-ot-layout.cc | 2 + - 6 files changed, 331 insertions(+) - -commit 3c7aeb5c6437b26ad638ab993b724e28376d3ff8 -Author: Ebrahim Byagowi -Date: Tue Jan 9 01:39:42 2018 +0330 - - [cmake] Add autotools like feature testing (#683) - - CMakeLists.txt | 22 ++++++++++++++++------ - 1 file changed, 16 insertions(+), 6 deletions(-) - -commit 0473d95e276ae5df722bc7d371733d8202bdbc3c -Author: Behdad Esfahbod -Date: Mon Jan 8 10:07:46 2018 +0000 - - [ft] Use FT_Done_MM_Var() if available - - configure.ac | 1 + - src/hb-ft.cc | 4 ++++ - 2 files changed, 5 insertions(+) - -commit 66d7beff96d622599e1ee8895f2aa84fe2299f1a -Author: Behdad Esfahbod -Date: Fri Jan 5 18:09:29 2018 +0000 - - [khmer] Relax! - - Apparently we don't use OT_A either. - - src/hb-ot-shape-complex-khmer-machine.rl | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit db0207baff358b20fbe9c3498275ba33f69caf87 -Author: Behdad Esfahbod -Date: Fri Jan 5 18:06:00 2018 +0000 - - [khmer] Drop another joiner - - src/hb-ot-shape-complex-khmer-machine.rl | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 90affe831f08fabcb2dd5ac837c7b0cfbd14e554 -Author: Behdad Esfahbod -Date: Fri Jan 5 18:04:56 2018 +0000 - - [khmer] Shuffle - - src/hb-ot-shape-complex-khmer-machine.rl | 4 +--- - 1 file changed, 1 insertion(+), 3 deletions(-) - -commit 65795e3ca246bf65b3cb53e3fe65eca312774e3e -Author: Behdad Esfahbod -Date: Fri Jan 5 18:03:00 2018 +0000 - - [khmer] Simplify grammar some more - - Numbers down (from 38): - - KHMER: 299090 out of 299124 tests passed. 34 failed (0.0113665%) - - src/hb-ot-shape-complex-khmer-machine.rl | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit e13ee937310a7aadd83fd266dae382da40dce4f8 -Author: Behdad Esfahbod -Date: Fri Jan 5 18:01:01 2018 +0000 - - [khmer] Clean - - src/hb-ot-shape-complex-khmer-machine.rl | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit a71c7eb2ca9f8ba90117e1a0c4ce890f0a1640f4 -Author: Behdad Esfahbod -Date: Fri Jan 5 17:59:43 2018 +0000 - - [khmer] Limit number of joiners - - src/hb-ot-shape-complex-khmer-machine.rl | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 574e42e1cf6679c8df065d6bb3e8d21bc82395c1 -Author: Behdad Esfahbod -Date: Fri Jan 5 17:57:39 2018 +0000 - - [khmer] Relax number of consonants / matras allowed - - New numbers (down from 39): - - KHMER: 299086 out of 299124 tests passed. 38 failed (0.0127038%) - - src/hb-ot-shape-complex-khmer-machine.rl | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 80c870bcda2f421e80f5579e71fe17fe8db991b8 -Author: Behdad Esfahbod -Date: Fri Jan 5 17:52:24 2018 +0000 - - [khmer] Allow Independent Vowels where stacked consonants are allowed - - New numbers (down from 44): - - KHMER: 299085 out of 299124 tests passed. 39 failed (0.0130381%) - - src/hb-ot-shape-complex-khmer-machine.rl | 4 ++-- - src/hb-ot-shape-complex-khmer.cc | 2 +- - 2 files changed, 3 insertions(+), 3 deletions(-) - -commit 9bd486c480b8fd3125ef6b6cc0442a566f669cb8 -Author: Behdad Esfahbod -Date: Fri Jan 5 17:47:35 2018 +0000 - - [khmer] Drop some more joiners - - src/hb-ot-shape-complex-khmer-machine.rl | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 5278265853c36400ffc284fd517cc7b7c42ed0e7 -Author: Behdad Esfahbod -Date: Fri Jan 5 17:46:49 2018 +0000 - - [khmer] Drop some more - - src/hb-ot-shape-complex-khmer-machine.rl | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit efefd87f3354d0ae6f599ea30672cb0b74dfcd80 -Author: Behdad Esfahbod -Date: Fri Jan 5 17:45:48 2018 +0000 - - [khmer] Drop some more grammar - - src/hb-ot-shape-complex-khmer-machine.rl | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 82e6bf8e0c27d2fd16a908eed0c73e95b1a2c0f5 -Author: Behdad Esfahbod -Date: Fri Jan 5 17:44:18 2018 +0000 - - [khmer] Drop some more from grammar - - src/hb-ot-shape-complex-khmer-machine.rl | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 957e8ea8a9f981775ecde7dd1e2bf4023cf79dba -Author: Behdad Esfahbod -Date: Fri Jan 5 17:43:31 2018 +0000 - - [khmer] Drop final_halant_group - - src/hb-ot-shape-complex-khmer-machine.rl | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit bbfdbbdc5eca96e8c527147e5a78cd185b9f243d -Author: Behdad Esfahbod -Date: Fri Jan 5 17:34:26 2018 +0000 - - Minor - - src/hb-ot-shape-complex-indic-machine.rl | 1 - - src/hb-ot-shape-complex-khmer-machine.rl | 1 - - 2 files changed, 2 deletions(-) - -commit f6df2515210e9d828fc40173696b185efa5083e3 -Author: Behdad Esfahbod -Date: Fri Jan 5 17:27:48 2018 +0000 - - [indic] Remove unused OT_VD category - - src/hb-ot-shape-complex-indic-machine.rl | 3 +-- - src/hb-ot-shape-complex-indic-private.hh | 2 +- - src/hb-ot-shape-complex-indic.cc | 2 +- - 3 files changed, 3 insertions(+), 4 deletions(-) - -commit e6618f3bdf79a51f6fb270b468b653dc9cea5b57 -Author: Behdad Esfahbod -Date: Fri Jan 5 17:21:55 2018 +0000 - - [khmer] Shave off some more from the grammar - - src/hb-ot-shape-complex-khmer-machine.rl | 9 ++------- - src/hb-ot-shape-complex-khmer.cc | 34 ++------------------------------ - 2 files changed, 4 insertions(+), 39 deletions(-) - -commit 014494d5c0469fe6b3112db3fdb3f2f262673ba1 -Author: Behdad Esfahbod -Date: Fri Jan 5 17:17:02 2018 +0000 - - [khmer] Remove unused symbol clusters - - src/hb-ot-shape-complex-khmer-machine.rl | 4 ---- - 1 file changed, 4 deletions(-) - -commit bbac984b9390a66c6ae5ee931b278b607f2f2a50 -Author: Behdad Esfahbod -Date: Fri Jan 5 17:15:31 2018 +0000 - - Minor - - src/hb-ot-shape-complex-indic-machine.rl | 1 - - src/hb-ot-shape-complex-khmer-machine.rl | 1 - - 2 files changed, 2 deletions(-) - -commit 185b68946ad67443e8725e77d724128802de5572 -Author: Behdad Esfahbod -Date: Fri Jan 5 17:14:27 2018 +0000 - - [khmer] Remove medials from grammar - - src/hb-ot-shape-complex-khmer-machine.rl | 10 ++++------ - 1 file changed, 4 insertions(+), 6 deletions(-) - -commit c265dffdf6c4930e271292226d38a8e515b6b0f8 -Author: Behdad Esfahbod -Date: Fri Jan 5 17:06:29 2018 +0000 - - [khmer] Better fix for dangling final Coeng - - This is how 1471cfee3bb2734dc44c58471362851ad27e8bd8 should have - been done. - - src/hb-ot-shape-complex-khmer-machine.rl | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit e3fdf1fc2f399e6b79ea022501526a422d372e64 -Author: Behdad Esfahbod -Date: Fri Jan 5 17:05:53 2018 +0000 - - [khmer] Remove reph/repha support from grammar - - src/hb-ot-shape-complex-khmer-machine.rl | 12 ++++-------- - 1 file changed, 4 insertions(+), 8 deletions(-) - -commit 0d3a274de1ff8e6a21c7c9857730e2eda402e310 -Author: Behdad Esfahbod -Date: Fri Jan 5 17:01:37 2018 +0000 - - [khmer] Remove forced_rakar from grammar - - Used by Sinhala only. - - src/hb-ot-shape-complex-khmer-machine.rl | 3 +-- - src/hb-ot-shape-complex-khmer.cc | 2 +- - 2 files changed, 2 insertions(+), 3 deletions(-) - -commit 1471cfee3bb2734dc44c58471362851ad27e8bd8 -Author: Behdad Esfahbod -Date: Fri Jan 5 16:34:20 2018 +0000 - - [khmer] Allow a dangling final Coeng after matras - - Uniscribe seems to allow that. New numbers: - - KHMER: 299080 out of 299124 tests passed. 44 failed (0.0147096%) - - src/hb-ot-shape-complex-khmer-machine.rl | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 9eaf077ded0306d492de96b223133431f1a6d42b -Author: Behdad Esfahbod -Date: Fri Jan 5 16:28:00 2018 +0000 - - [khmer] Remove some more unused code - - src/hb-ot-shape-complex-khmer.cc | 49 ++-------------------------------------- - 1 file changed, 2 insertions(+), 47 deletions(-) - -commit bfad6ab897a38aedc82de694ee1a17132f90b25e -Author: Behdad Esfahbod -Date: Fri Jan 5 16:13:09 2018 +0000 - - [khmer] Remove features not used by Khmer - - src/hb-ot-shape-complex-khmer.cc | 60 ++++------------------------------------ - 1 file changed, 5 insertions(+), 55 deletions(-) - -commit 92a99ce084b19dff32d434de446144f0c4796803 -Author: Behdad Esfahbod -Date: Fri Jan 5 16:08:44 2018 +0000 - - [khmer] Remove rphf feature - - src/hb-ot-shape-complex-khmer.cc | 2 -- - 1 file changed, 2 deletions(-) - -commit 238b90e77c12674edfd2e03160b8ba2a0298b79d -Author: Behdad Esfahbod -Date: Fri Jan 5 16:06:53 2018 +0000 - - [khmer] Remove non-Khmer matra positioning code - - src/hb-ot-shape-complex-khmer.cc | 76 +++++++--------------------------------- - 1 file changed, 12 insertions(+), 64 deletions(-) - -commit f8553c898a414298403c335f8d2ed6c588a1189f -Author: Behdad Esfahbod -Date: Fri Jan 5 16:04:02 2018 +0000 - - [khmer] Remove indic_config_t - - src/hb-ot-shape-complex-khmer.cc | 28 ---------------------------- - 1 file changed, 28 deletions(-) - -commit a119a8bce57abc440ae4c8b9a1342d428a7c9b6a -Author: Behdad Esfahbod -Date: Fri Jan 5 16:02:27 2018 +0000 - - [khmer] Remove indic_config->reph_mode - - src/hb-ot-shape-complex-khmer.cc | 9 +-------- - 1 file changed, 1 insertion(+), 8 deletions(-) - -commit c135324af107d3e33420cd0dca4d5bb12fd3f4a1 -Author: Behdad Esfahbod -Date: Fri Jan 5 16:01:17 2018 +0000 - - [khmer] Remove indic_config->reph_pos - - src/hb-ot-shape-complex-khmer.cc | 333 ++------------------------------------- - 1 file changed, 10 insertions(+), 323 deletions(-) - -commit ffcd6c7efd21bf89b41ddbf148b05672a42ecadd -Author: Behdad Esfahbod -Date: Fri Jan 5 15:50:05 2018 +0000 - - [khmer] Remove indic_config->base_pos - - src/hb-ot-shape-complex-khmer.cc | 229 ++------------------------------------- - 1 file changed, 7 insertions(+), 222 deletions(-) - -commit 0c91638d48d6fb86d1e30fb94c15785707395b42 -Author: Behdad Esfahbod -Date: Fri Jan 5 15:45:30 2018 +0000 - - [khmer] Remove other scripts - - src/hb-ot-shape-complex-khmer.cc | 131 ++++++++++----------------------------- - 1 file changed, 34 insertions(+), 97 deletions(-) - -commit 4c0199c573f79be5f40e7d4f8433ef6a1c9c24b2 -Author: Behdad Esfahbod -Date: Fri Jan 5 15:43:48 2018 +0000 - - [khmer] Remove indic_config->script - - src/hb-ot-shape-complex-khmer.cc | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit 9b135d9524e51cc1e1f35479e015c746ccd8ca5f -Author: Behdad Esfahbod -Date: Fri Jan 5 15:43:11 2018 +0000 - - [khmer] Remove indic_config->virama - - src/hb-ot-shape-complex-khmer.cc | 5 ++--- - 1 file changed, 2 insertions(+), 3 deletions(-) - -commit 7eb3ac29d388432c311981b20b1aa75f47249bfc -Author: Behdad Esfahbod -Date: Fri Jan 5 15:41:31 2018 +0000 - - [khmer] Remove indic_config->has_old_spec - - src/hb-ot-shape-complex-khmer.cc | 157 ++++++--------------------------------- - 1 file changed, 21 insertions(+), 136 deletions(-) - -commit 961ebf85f1e7d417e056c3927ee73857f6f4cde6 -Author: Behdad Esfahbod -Date: Fri Jan 5 15:36:53 2018 +0000 - - [khmer] Remove Halant from Khmer shaper - - src/hb-ot-shape-complex-indic-private.hh | 1 - - src/hb-ot-shape-complex-khmer-machine.rl | 7 +++---- - src/hb-ot-shape-complex-khmer.cc | 32 ++++++++++++++++---------------- - 3 files changed, 19 insertions(+), 21 deletions(-) - -commit 9761f9d78214323b9ad58dd0b8ba41851c9e2d54 -Author: Behdad Esfahbod -Date: Fri Jan 5 15:33:11 2018 +0000 - - [indic] Remove more Khmer-specific stuff from Indic shaper - - No numbers changed. - - src/hb-ot-shape-complex-indic-machine.rl | 8 ++--- - src/hb-ot-shape-complex-indic.cc | 57 ++++++++++++-------------------- - 2 files changed, 25 insertions(+), 40 deletions(-) - -commit 075895364435ee88936696bcb5457283c4bb1a29 -Author: Behdad Esfahbod -Date: Fri Jan 5 15:08:28 2018 +0000 - - [indic] Remove main Khmer stuff - - src/hb-ot-shape-complex-indic.cc | 73 ++-------------------------------------- - 1 file changed, 2 insertions(+), 71 deletions(-) - -commit dcf4d95fea45e19fbb3b39f0211b2aa96a907473 -Author: Behdad Esfahbod -Date: Fri Jan 5 14:54:31 2018 +0000 - - [khmer] Split off Khmer shaper from Indic - - Towards fixing https://github.com/harfbuzz/harfbuzz/issues/667 - The Khmer spec is different enough from other Indic ones to require - its own grammar. - - No change in functionality. Test numbers are: - - BENGALI: 353725 out of 354188 tests passed. 463 failed (0.130722%) - DEVANAGARI: 707307 out of 707394 tests passed. 87 failed (0.0122987%) - GUJARATI: 366355 out of 366457 tests passed. 102 failed (0.0278341%) - GURMUKHI: 60729 out of 60747 tests passed. 18 failed (0.0296311%) - KANNADA: 951300 out of 951913 tests passed. 613 failed (0.0643966%) - KHMER: 299071 out of 299124 tests passed. 53 failed (0.0177184%) - MALAYALAM: 1048136 out of 1048334 tests passed. 198 failed (0.0188871%) - ORIYA: 42320 out of 42329 tests passed. 9 failed (0.021262%) - SINHALA: 271662 out of 271847 tests passed. 185 failed (0.068053%) - TAMIL: 1091754 out of 1091754 tests passed. 0 failed (0%) - TELUGU: 970555 out of 970573 tests passed. 18 failed (0.00185457%) - - src/Makefile.sources | 3 + - src/hb-ot-shape-complex-khmer-machine.rl | 130 +++ - src/hb-ot-shape-complex-khmer.cc | 1867 ++++++++++++++++++++++++++++++ - src/hb-ot-shape-complex-private.hh | 5 +- - 4 files changed, 2003 insertions(+), 2 deletions(-) - -commit 1e05ea79d057fbae5f680589d4ee7d3c6a971689 -Author: Behdad Esfahbod -Date: Fri Jan 5 14:01:37 2018 +0000 - - [ot] Short-circuit base instance advance variation - - src/hb-ot-hmtx-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 54b2b93722c9f067199cd7145dfd065d5b6b2f0c -Author: Behdad Esfahbod -Date: Fri Jan 5 13:20:21 2018 +0000 - - [ot] Fix VariationStore evaluation algorithm - - Ouch! Missing coords should still be evaluated as coord=0, which - most of the time results in a factor of 0. We were skipping these, - which was equivalent to a factor of 1. - - Fixes https://github.com/harfbuzz/harfbuzz/issues/652 - - src/hb-ot-layout-common-private.hh | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit a3afdd1e080bb181ddec126b6233d52438882a13 -Author: Behdad Esfahbod -Date: Fri Jan 5 13:17:02 2018 +0000 - - Minor - - src/hb-ot-layout-common-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit cb43bdbc2f3a16061c33596b15b29eb7f9713871 -Author: Behdad Esfahbod -Date: Fri Jan 5 13:06:25 2018 +0000 - - [ft] If there's no variations set, don't set them on hb-font - - src/hb-ft.cc | 10 +++++++++- - 1 file changed, 9 insertions(+), 1 deletion(-) - -commit ed2f458b143327d07e67fdb976ead9d7ff2863f8 -Author: Behdad Esfahbod -Date: Fri Jan 5 12:55:39 2018 +0000 - - Add test font for previous commit - - .../sha1sum/21b7fb9c1eeae260473809fbc1fe330f66a507cd.ttf | Bin 0 -> 4816 bytes - 1 file changed, 0 insertions(+), 0 deletions(-) - -commit 127bcc6ece4da64e807f652dd84a17c6a8c5e300 -Merge: 72bec1cd0 8c0d1916a -Author: Behdad Esfahbod -Date: Fri Jan 5 12:50:22 2018 +0000 - - Merge remote-tracking branch 'fdo/master' - -commit 8c0d1916a41f0fb32340ce5257de780acf598353 -Author: Behdad Esfahbod -Date: Fri Jan 5 12:46:12 2018 +0000 - - Improve CGJ skipping logic - - Previously we made CGJ unskippable. Now, if CGJ did NOT prevent - any reordering, allow skipping over it. To make this work we - had to make changes to the Arabic mark reordering algorithm - implementation to renumber moved MCM marks. See comments. - - Fixes https://github.com/harfbuzz/harfbuzz/issues/554 - - src/hb-buffer-private.hh | 1 + - src/hb-ot-layout-private.hh | 11 ++++++++- - src/hb-ot-shape-complex-arabic.cc | 37 ++++++++++++++++++++++-------- - src/hb-ot-shape-normalize.cc | 30 +++++++++++++----------- - test/shaping/tests/arabic-mark-order.tests | 4 ++++ - 5 files changed, 58 insertions(+), 25 deletions(-) - -commit 72bec1cd09f919f3826345db4832752ec96ff5c5 -Author: Ebrahim Byagowi -Date: Fri Jan 5 12:42:20 2018 +0330 - - Improve tests (#679) - - .circleci/config.yml | 2 +- - CMakeLists.txt | 52 +++++++++++++++++++++++++++++++++++---------- - autogen.sh | 6 ++++-- - src/Makefile.am | 3 +-- - src/check-defs.sh | 2 +- - src/check-header-guards.sh | 2 +- - src/check-libstdc++.sh | 2 +- - src/check-static-inits.sh | 2 +- - src/check-symbols.sh | 2 +- - test/fuzzing/CMakeLists.txt | 11 +++++++++- - 10 files changed, 62 insertions(+), 22 deletions(-) - -commit 293e443529d0621b9f94ea15d1425104394f6b9e -Author: Behdad Esfahbod -Date: Thu Jan 4 16:06:25 2018 +0000 - - Minor - - src/check-c-linkage-decls.sh | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit 8a0952db7e521320cd4d8b67b287f7d33c21b6e0 -Author: Bruce Mitchener -Date: Thu Jan 4 18:40:10 2018 +0700 - - atomics: Favor compiler primitives over macOS APIs. (#676) - - In macOS 10.12, the `OSMemoryBarrier` and related APIs were deprecated - in favor of using `std::atomic`. On the way to supporting `std::atomic`, - we can favor using the "Intel primitives" which are also available on - macOS. - - src/hb-atomic-private.hh | 46 +++++++++++++++++++++++----------------------- - 1 file changed, 23 insertions(+), 23 deletions(-) - -commit 4f80078eb035054db0f6e33cf4f7345c6c85cb12 -Author: Bruce Mitchener -Date: Thu Jan 4 18:37:35 2018 +0700 - - [cmake] Colorize output when using cmake + ninja. (#674) - - Due to how ninja runs clang and gcc, it doesn't colorize the output - like make does. This forces color output in this situation. - - CMakeLists.txt | 10 ++++++++++ - 1 file changed, 10 insertions(+) - -commit 5ed26fc5bdfdab0ff41a8861b54395c0bbbad248 -Author: Ebrahim Byagowi -Date: Thu Jan 4 10:11:34 2018 +0330 - - [cmake] Run src/ tests (#675) - - .circleci/config.yml | 9 ++++----- - CMakeLists.txt | 35 ++++++++++++++++++++++++++++++++--- - src/Makefile.am | 1 + - src/check-defs.sh | 3 ++- - src/check-libstdc++.sh | 3 ++- - src/check-static-inits.sh | 3 ++- - src/check-symbols.sh | 3 ++- - 7 files changed, 45 insertions(+), 12 deletions(-) - -commit f8daeef4c4451084a781db3a8a04807c0f0051ef -Author: Behdad Esfahbod -Date: Wed Jan 3 14:27:34 2018 +0000 - - [use] Simplify more - - src/gen-use-table.py | 11 +------ - src/hb-ot-shape-complex-use-table.cc | 62 +++++++++++++++++++++--------------- - 2 files changed, 38 insertions(+), 35 deletions(-) - -commit 877d15e73c24159b26bb7cc6d2f62045d445d0fc -Author: Behdad Esfahbod -Date: Wed Jan 3 14:24:44 2018 +0000 - - [use] Simplify - - Fixes https://github.com/harfbuzz/harfbuzz/pull/661 - - src/gen-use-table.py | 2 +- - src/hb-ot-shape-complex-use-table.cc | 3 +-- - 2 files changed, 2 insertions(+), 3 deletions(-) - -commit 308f419215716460479fbde482d66d1687176102 -Author: Behdad Esfahbod -Date: Wed Jan 3 14:22:07 2018 +0000 - - [use] Fix Brahmi Number Joiner 1107F - - Fixes https://github.com/harfbuzz/harfbuzz/pull/660 - - src/gen-indic-table.py | 6 +++--- - src/gen-use-table.py | 6 +++--- - src/hb-ot-shape-complex-indic-table.cc | 4 ++-- - src/hb-ot-shape-complex-use-table.cc | 6 +++--- - 4 files changed, 11 insertions(+), 11 deletions(-) - -commit 7b837e20d2b4b6cd7be0b181ac5cdfeb467bd146 -Author: Behdad Esfahbod -Date: Wed Jan 3 12:46:29 2018 +0000 - - [util] Add TODO item - - util/options.cc | 1 + - 1 file changed, 1 insertion(+) - -commit 70807ad274be39d58a5b43e12d4585325cb314c4 -Author: Ebrahim Byagowi -Date: Tue Jan 2 23:52:12 2018 +0330 - - Fix make check issue on out-of-tree builds and test it (#672) - - .circleci/config.yml | 8 ++++---- - test/fuzzing/Makefile.am | 18 +----------------- - test/fuzzing/run-fuzzer-tests.py | 8 +++++--- - test/shaping/run-tests.py | 5 +++++ - 4 files changed, 15 insertions(+), 24 deletions(-) - -commit 85ec6d34439194a88c7dfdd8303369311e08e031 -Author: Bruce Mitchener -Date: Wed Jan 3 01:23:23 2018 +0700 - - Fix typos. - - docs/usermanual-clusters.xml | 4 ++-- - docs/usermanual-install-harfbuzz.xml | 2 +- - src/hb-font.h | 2 +- - 3 files changed, 4 insertions(+), 4 deletions(-) - -commit 4f6754ac0190f04b5f27306b087827b8f2e13046 -Author: Bruce Mitchener -Date: Wed Jan 3 00:15:18 2018 +0700 - - Improve Markdown usage in BUILD.md. - - BUILD.md | 36 +++++++++++++++++++++++------------- - 1 file changed, 23 insertions(+), 13 deletions(-) - -commit 3db1d34264d9405c7356668aa3c8ed3ab103da3c -Author: Romain Ouabdelkader -Date: Thu Dec 21 14:39:34 2017 +0100 - - link with CoreFoundation when using CoreText - - configure.ac | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 4e3cf91af29ff654eca91e43c0af1c1a7171b9fa -Author: Ebrahim Byagowi -Date: Mon Jan 1 11:17:51 2018 +0330 - - [cmake] Run rest of the tests on Windows (#668) - - appveyor.yml | 6 +++--- - test/CMakeLists.txt | 5 +---- - test/fuzzing/CMakeLists.txt | 12 ++++++------ - test/fuzzing/Makefile.am | 5 +---- - test/fuzzing/run-fuzzer-tests.py | 12 +++++++++--- - test/shaping/CMakeLists.txt | 9 ++++----- - test/shaping/run-tests.py | 10 +++++++++- - 7 files changed, 33 insertions(+), 26 deletions(-) - -commit 2dbdeb14214487acd0ff011386c49263ce800813 -Author: Ebrahim Byagowi -Date: Fri Dec 29 23:13:29 2017 +0330 - - [cmake] Run fuzzing and shaping tests (#666) - - .circleci/config.yml | 2 +- - CMakeLists.txt | 59 ++++++++++++++++++++++++---------------- - appveyor.yml | 4 +-- - test/CMakeLists.txt | 5 ++++ - test/api/CMakeLists.txt | 48 +++++++++++++------------------- - test/fuzzing/CMakeLists.txt | 9 ++++++ - test/fuzzing/Makefile.am | 18 ++++++++++++ - test/fuzzing/run-fuzzer-tests.py | 28 +++++++++++++++++++ - test/shaping/CMakeLists.txt | 11 ++++++++ - test/shaping/Makefile.am | 3 +- - test/shaping/run-tests.py | 3 +- - 11 files changed, 132 insertions(+), 58 deletions(-) - -commit 24b30faa2a285c6e4e46a18c346def2183fc2793 -Author: Ebrahim Byagowi -Date: Mon Dec 25 22:01:28 2017 +0330 - - [cmake] Use GNUInstallDirs values (#665) - - CMakeLists.txt | 170 ++++++++++++++++++++++++++++----------------------------- - 1 file changed, 85 insertions(+), 85 deletions(-) - -commit 7d397c5d5ca684fae824a61dabf5bc422d0a516b -Author: Behdad Esfahbod -Date: Sun Dec 24 17:53:32 2017 -0500 - - Add Coverity badge - - README | 1 + - 1 file changed, 1 insertion(+) - -commit 50163976d2a5fb34e0b4c011408d581b33aaa255 -Author: Ebrahim Byagowi -Date: Mon Dec 25 01:55:48 2017 +0330 - - [cmake] Enable cmake tests on distribution and test it (#664) - - .circleci/config.yml | 3 ++- - test/Makefile.am | 6 ++++++ - test/api/Makefile.am | 1 + - 3 files changed, 9 insertions(+), 1 deletion(-) - -commit 7bfdf1a94192dd83ab55202d259703f36ed060e5 -Author: David Corbett -Date: Wed Nov 22 16:32:52 2017 -0500 - - Forbid Batak killers after vowel signs - - src/gen-use-table.py | 3 +++ - src/hb-ot-shape-complex-use-table.cc | 2 +- - .../sha1sum/59a585a63b3df608fbeef00956c8c108deec7de6.ttf | Bin 0 -> 1164 bytes - test/shaping/tests/use-syllable.tests | 1 + - 4 files changed, 5 insertions(+), 1 deletion(-) - -commit 9890782736b9ce708c1fedd1cbb3db45cfef4c69 -Author: Ebrahim Byagowi -Date: Mon Dec 25 01:32:46 2017 +0330 - - [ci] Add -Wno-attributes to djgpp, add alpine, format (#663) - - .circleci/config.yml | 40 ++++++++++++++++++++++++++++++---------- - 1 file changed, 30 insertions(+), 10 deletions(-) - -commit 72ecaae0ad4c9f1685f7d524990e92a26fcd5611 -Author: Behdad Esfahbod -Date: Sun Dec 24 16:05:07 2017 -0500 - - [use] Allow ZWJ before/after Halant - - https://github.com/harfbuzz/harfbuzz/issues/542#issuecomment-353169729 - - src/hb-ot-shape-complex-use-machine.rl | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit bc92245b681098f0bfa712217851a5ba3dabeaf3 -Author: Behdad Esfahbod -Date: Wed Dec 20 13:19:33 2017 -0500 - - Minor - - src/main.cc | 1 - - 1 file changed, 1 deletion(-) - -commit 81dfc29d2dbc755301e702ea5427829d02abc693 -Author: Ebrahim Byagowi -Date: Thu Dec 21 20:15:37 2017 +0330 - - [ci] Add a DOS/djgpp compiler (#659) - - .circleci/config.yml | 9 +++++++++ - 1 file changed, 9 insertions(+) - -commit 007a2a4317227b8fb4c764c590203c85fc3da5fd -Author: Behdad Esfahbod -Date: Wed Dec 20 12:09:00 2017 -0500 - - 1.7.4 - - NEWS | 7 +++++++ - configure.ac | 2 +- - 2 files changed, 8 insertions(+), 1 deletion(-) - -commit a9432bde7e61894056a42ea24d56fd7fd908a1ce -Author: Volker H. Simonis -Date: Tue Dec 19 11:33:25 2017 +0100 - - HarfBuzz 1.7.1 and later don't compile on AIX with xlC (#655) - - src/hb-ot-shape-complex-arabic-fallback.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 2fe5f885b6f66f2665292b93e07baaae0aa46da8 -Author: Behdad Esfahbod -Date: Tue Dec 19 14:48:26 2017 -0500 - - [set] Handle nil set in add_range() / add_sorted_array() - - Fixes https://github.com/harfbuzz/harfbuzz/issues/657 - - src/hb-set-private.hh | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit b5bbb791d32467b91caf6f1bf7ccee7cb2ca8c52 -Author: Behdad Esfahbod -Date: Mon Dec 18 09:18:51 2017 -0500 - - 1.7.3 - - NEWS | 10 ++++++++++ - configure.ac | 2 +- - 2 files changed, 11 insertions(+), 1 deletion(-) - -commit 1245395a60ab6b04fc4653c448a97bb6ffee672c -Author: Behdad Esfahbod -Date: Sun Dec 17 12:32:33 2017 -0500 - - [coretext] In hb_coretext_font_create() set ptem - - Otherwise setting the CTFont was ineffective as it would have been - recreated anyway unless font size was set to 18 CSS points. - - src/hb-coretext.cc | 14 +++++++++++--- - 1 file changed, 11 insertions(+), 3 deletions(-) - -commit 493a005d9527b6075f3c1ca4b41c22d7805f975c -Author: Behdad Esfahbod -Date: Sat Dec 16 11:49:39 2017 -0500 - - [set] In add_sorted_array(), bail if data is not sorted - - src/hb-set-private.hh | 8 ++++++-- - 1 file changed, 6 insertions(+), 2 deletions(-) - -commit a7bd6d7a4c53ff61d7d8286a594aaa0a0e15b1a1 -Author: Behdad Esfahbod -Date: Sat Dec 16 11:11:18 2017 -0500 - - [collect_glyphs] Bail if input data looks like garbage - - Specificaly, when a range or sorted array has unexpected order, we take that as - font data being garbage and bail out. This fixes significant slowdown on a bad - version of Chandas font which has a 600KB GPOS with garbage inside. - - Later on, I like to add a maximum-work counter for collect_glyphs to protect - against malicious fonts as well. - - Fixes https://bugs.chromium.org/p/chromium/issues/detail?id=794896 - - src/hb-ot-layout-common-private.hh | 14 +++++++------- - src/hb-set-private.hh | 4 ++-- - 2 files changed, 9 insertions(+), 9 deletions(-) - -commit 1ce7d6e215ef9d5386010bcdbbca79ef01811596 -Author: Behdad Esfahbod -Date: Sat Dec 16 11:36:16 2017 -0500 - - [set] Optimize add_array() / add_sorted_array() - - Does page lookup as needed. - - src/hb-set-private.hh | 54 ++++++++++++++++++++++++++++++++++++--------------- - 1 file changed, 38 insertions(+), 16 deletions(-) - -commit 71e6adf1e2d65eb905a0ba247672fe36169955ef -Author: Behdad Esfahbod -Date: Sat Dec 16 11:07:37 2017 -0500 - - [collect_glyphs] handle ClassDef better - - src/hb-ot-layout-common-private.hh | 63 ++++++++++++++++++++++++++++++------ - src/hb-ot-layout-gdef-table.hh | 2 +- - src/hb-ot-layout-gpos-table.hh | 5 +-- - src/hb-ot-layout-gsubgpos-private.hh | 2 +- - 4 files changed, 56 insertions(+), 16 deletions(-) - -commit 87cc5a65cb4b98a3a857b5846085ef0814b392a8 -Author: Behdad Esfahbod -Date: Sat Dec 16 06:18:07 2017 -0800 - - [collect_glyphs] In PairPosFornat2 do not collect classDef1 - - The coverage already covered that. - - src/hb-ot-layout-gpos-table.hh | 8 ++------ - 1 file changed, 2 insertions(+), 6 deletions(-) - -commit 81f27df4d9db1bfc1dd04593cbd121397b86e9a6 -Author: Behdad Esfahbod -Date: Sat Dec 16 06:12:06 2017 -0800 - - More work towards improving collect_glyphs() against bad input - - The three "XXXXX"'s should be switched to false. Doing that separately for ease - of bisecting... - - src/hb-ot-layout-common-private.hh | 7 +++---- - src/hb-ot-layout-gpos-table.hh | 25 ++++++++++--------------- - src/hb-ot-layout-gsub-table.hh | 35 +++++++++++++---------------------- - src/hb-set-digest-private.hh | 6 ++++-- - src/hb-set-private.hh | 36 ++++++++++++++++++------------------ - 5 files changed, 48 insertions(+), 61 deletions(-) - -commit 5d02572034e3dafbe87000fd0aa34b858bd95075 -Author: Behdad Esfahbod -Date: Thu Dec 14 19:33:55 2017 -0800 - - [set] Add add_sorted_array() - - Not optimized to use sortedness yet. Also start putting in place infra - to faster reject bad data. - - A version of Chandas.ttf found on some Chrome bots has 660kb of GPOS, - mostly junk. That is causing 48 million of set->add() calls in - collect_glyphs(), which is insane. - - In the upcoming commits, I'll be speeding that up by optimizing - add_sorted_array(), while also reducing work by rejecting out-of-sort - arrays quickly and propagate the rejection. - - Part of https://bugs.chromium.org/p/chromium/issues/detail?id=794896 - - src/hb-ot-layout-common-private.hh | 51 +++++++++++++++++++++++------------- - src/hb-ot-layout-gdef-table.hh | 2 +- - src/hb-ot-layout-gpos-table.hh | 10 +++---- - src/hb-ot-layout-gsubgpos-private.hh | 2 +- - src/hb-set-digest-private.hh | 31 ++++++++++++++++++---- - src/hb-set-private.hh | 21 +++++++++++++-- - 6 files changed, 84 insertions(+), 33 deletions(-) - -commit 9d6511a7343ba150e8072e5fe91732db54a92309 -Author: Behdad Esfahbod -Date: Thu Dec 14 19:04:55 2017 -0800 - - [set] Reduce number of preallocated pages from 8 to 1 - - Now that pagesize is 8192, this feels better. - - src/hb-set-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit ae2e2b068e1ab68d1f814165cb86fa38deef1f5b -Author: Behdad Esfahbod -Date: Thu Dec 14 18:15:14 2017 -0800 - - Fix partial tracing debug builds - - src/hb-debug.hh | 16 +++++++++++++--- - 1 file changed, 13 insertions(+), 3 deletions(-) - -commit 9daa88cd790b80a8bc7eaae2e7eec6f2f9fc60cf -Author: Behdad Esfahbod -Date: Thu Dec 14 13:37:48 2017 -0800 - - Minor - - src/hb-set-private.hh | 11 +++++++++++ - src/hb-set.cc | 6 ++---- - 2 files changed, 13 insertions(+), 4 deletions(-) - -commit f424a342233ae32bbfabbdeadf59c82420b0880b -Author: Behdad Esfahbod -Date: Thu Dec 14 13:30:38 2017 -0800 - - [set] Change pagesize from 512 bits to 8192 bits - - Fixes perf regression on some heavy fonts in Chrome's FT+HB - interaction. - - See: - https://bugs.chromium.org/p/chromium/issues/detail?id=782220 - - More work to be done: - https://bugs.chromium.org/p/chromium/issues/detail?id=794896 - - src/hb-set-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 0fe62c1f333200523e10663f47a58b82e3f22154 -Author: Behdad Esfahbod -Date: Wed Dec 13 13:12:20 2017 -0800 - - [set] Add add_array() - - To be used to optimize adding a whole bunch of (sorted) items at the same time, - as in CoverageFormat1. - - src/hb-ot-layout-common-private.hh | 4 +--- - src/hb-set-digest-private.hh | 12 ++++++++++++ - src/hb-set-private.hh | 6 ++++++ - 3 files changed, 19 insertions(+), 3 deletions(-) - -commit 20e69c950d431391f92335f8845e5d4291aca8f3 -Author: ebraminio -Date: Thu Dec 7 12:24:12 2017 +0330 - - [test] print commented line, like the original script (#649) - - test/shaping/run-tests.py | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 71ad2777c52aeb0842038881899499a49cb895f2 -Author: ebraminio -Date: Thu Dec 7 11:35:36 2017 +0330 - - [ci] Add an after distribution test runner (#648) - - .circleci/config.yml | 10 ++++++++++ - 1 file changed, 10 insertions(+) - -commit 5f061d27d5289c7608a6579dca668b1f5be7f4e8 -Author: ebraminio -Date: Thu Dec 7 11:22:55 2017 +0330 - - Rewrite run-tests in python (#647) - - test/shaping/Makefile.am | 4 +- - test/shaping/run-tests.py | 115 ++++++++++++++++++++++++++++++++++++++++++++++ - test/shaping/run-tests.sh | 65 -------------------------- - 3 files changed, 117 insertions(+), 67 deletions(-) - -commit 3ce6c7bd96296a44950110e84ade76c7c1df06e4 -Author: Khaled Hosny -Date: Wed Dec 6 21:08:20 2017 +0200 - - [ci] Sort out Travis configuration - - Use a matrix to avoid a gazillion if's. - - .ci/deploy-docs.sh | 2 ++ - .ci/run-coveralls.sh | 14 +++++++++++ - .travis.yml | 69 ++++++++++++++++++++++++++++++++-------------------- - 3 files changed, 58 insertions(+), 27 deletions(-) - -commit 5a6d2b986a02fc47fa9dcbb330e6949af8e375ff -Author: ebraminio -Date: Wed Dec 6 18:27:27 2017 +0330 - - [ci] minor improvements (#644) - - .circleci/config.yml | 3 +++ - appveyor.yml | 2 +- - 2 files changed, 4 insertions(+), 1 deletion(-) - -commit 840a32e3f3ed0a85bfa84e69efaeb504d92d1aa7 -Author: Khaled Hosny -Date: Wed Dec 6 00:49:25 2017 +0200 - - Run cmake tests on CI builds - - .circleci/config.yml | 6 ++++-- - appveyor.yml | 2 +- - 2 files changed, 5 insertions(+), 3 deletions(-) - -commit c8609551485cfca6f9629c565b9dd5f02aa14f3e -Author: Khaled Hosny -Date: Wed Dec 6 00:43:28 2017 +0200 - - Add API tests to cmake build - - CMakeLists.txt | 5 +++++ - test/CMakeLists.txt | 1 + - test/api/CMakeLists.txt | 39 +++++++++++++++++++++++++++++++++++++++ - test/api/hb-test.h | 2 ++ - test/api/test-c.c | 2 ++ - 5 files changed, 49 insertions(+) - -commit f19126dd35b03f6e05a67cbc406b3ce4a3e35022 -Author: Khaled Hosny -Date: Tue Dec 5 22:52:54 2017 +0200 - - We are already inside “if HAVE_GLIB” check - - test/api/Makefile.am | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - -commit 7af48a3f37abac0aa1a1ad79c98399a9a71bd903 -Author: ebraminio -Date: Wed Dec 6 14:22:19 2017 +0330 - - [ci] Don't cache msys2 folder - - appveyor.yml | 1 - - 1 file changed, 1 deletion(-) - -commit b6f505c7164e302d2990cf056b73e918a641e976 -Author: ebraminio -Date: Wed Dec 6 13:51:04 2017 +0330 - - [ci] Enable glib and freetype on appveyor cmake (#643) - - appveyor.yml | 29 +++++++++++++++++++++-------- - 1 file changed, 21 insertions(+), 8 deletions(-) - -commit 03b7a221f701a9b003890878e730ad175c3fdd86 -Author: Behdad Esfahbod -Date: Tue Dec 5 13:12:11 2017 -0800 - - [debug] Use %p to print pointers - - Fixes https://github.com/harfbuzz/harfbuzz/issues/640 - - src/hb-debug.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 353cc6fbf09d16aad18b48a3a46ec7dd348aedc6 -Author: Ebrahim Byagowi -Date: Wed Dec 6 00:04:30 2017 +0330 - - [ci] Fix appveyor badge - - README | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 0dc03ef75724376927a7d63b991508c2901fcdf9 -Author: Nathan Willis -Date: Tue Dec 5 17:43:09 2017 +0000 - - Indic: always hyphenate pre-base-reordering, for clarity. - - src/hb-ot-shape-complex-indic.cc | 16 ++++++++-------- - 1 file changed, 8 insertions(+), 8 deletions(-) - -commit 8db058d20c1b7efce33157c676d4aee97591deb1 -Author: Nathan Willis -Date: Tue Dec 5 17:43:09 2017 +0000 - - Indic: always hyphenate pre-base-reordering, for clarity. - - src/hb-ot-shape-complex-indic.cc | 16 ++++++++-------- - 1 file changed, 8 insertions(+), 8 deletions(-) - -commit be59f3cbf4e3269ea05d5a707cdae04a32e097ce -Author: Behdad Esfahbod -Date: Tue Dec 5 09:01:28 2017 -0800 - - Silence unused-variables warning on MSVC - - Fixes https://github.com/harfbuzz/harfbuzz/issues/635 - - src/hb-private.hh | 2 ++ - 1 file changed, 2 insertions(+) - -commit 80c1b01f054c5d65ca96a568aaf1c28ffe97215b -Author: David Corbett -Date: Tue Dec 5 08:28:42 2017 -0500 - - Allow digits in language system tags - - src/hb-ot-tag.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 85bb89a88bdfae02fb7c27c7b994f4f22723442a -Author: David Corbett -Date: Mon Dec 4 15:15:27 2017 -0500 - - Fix string matching in parse_bool - - src/hb-common.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 0fd89dc61c6a26253aa9bb85e8dfd9faded11440 -Author: Olivier Blin -Date: Mon Dec 4 18:58:41 2017 +0100 - - [hb-ft] Fix build when Multiple Master font support is disabled in freetype - - FT_Set_Var_Blend_Coordinates() is not available when "Multiple Master - font interface" is disabled in freetype's modules.cfg - - configure.ac | 1 + - src/hb-ft.cc | 2 ++ - util/helper-cairo.cc | 2 ++ - 3 files changed, 5 insertions(+) - -commit 843f7f70355f62511a5d8be3b905c853bf362629 -Author: Behdad Esfahbod -Date: Mon Dec 4 08:52:39 2017 -0800 - - 1.7.2 - - NEWS | 10 ++++++++++ - configure.ac | 2 +- - 2 files changed, 11 insertions(+), 1 deletion(-) - -commit eeb26d21d493183f54704487754d53a127b017ae -Author: Behdad Esfahbod -Date: Sat Dec 2 15:22:04 2017 -0800 - - [set] Actually commit fixes mentioned in previous commit! - - src/hb-set-private.hh | 9 ++++++++- - 1 file changed, 8 insertions(+), 1 deletion(-) - -commit 20b4672754baf9751642bb37344a6ff4e224dc37 -Author: Behdad Esfahbod -Date: Sat Dec 2 15:14:26 2017 -0800 - - [set] Fix recent changes - - Ouch! - - Add tests. - - test/api/test-set.c | 24 ++++++++++++++++++++++++ - 1 file changed, 24 insertions(+) - -commit 0744149cdabd85d632822ff810d3994787bca4b7 -Author: Behdad Esfahbod -Date: Sat Dec 2 15:06:15 2017 -0800 - - [set] Protect against bad input in hb_set_add_range() - - src/hb-set-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit d5e29303db47a1868fa9b044ca61e146f882179c -Author: Behdad Esfahbod -Date: Tue Nov 28 23:11:34 2017 -0800 - - [coretext] Add hb_coretext_font_create() - - Fixes https://github.com/harfbuzz/harfbuzz/issues/628 - - New API: - hb_coretext_font_create() - - src/hb-coretext.cc | 55 ++++++++++++++++++++++++++++++++++-------------------- - src/hb-coretext.h | 3 +++ - 2 files changed, 38 insertions(+), 20 deletions(-) - -commit 9d0194b3a8e0c562249337fa0cf4d72e89334263 -Author: Behdad Esfahbod -Date: Fri Dec 1 13:56:06 2017 -0800 - - [set] Optimize add_range() some more - - It's as good as it gets, and seems to be on par with previous set implementation - in my benchmark. - - Would be great if someone can double-check my bitops. - - src/hb-set-private.hh | 16 +++++++++++++--- - 1 file changed, 13 insertions(+), 3 deletions(-) - -commit 438c325a256f040c6be840924ed42dcbcd8a049a -Author: Behdad Esfahbod -Date: Fri Dec 1 13:34:14 2017 -0800 - - [set] Optimize add_range() - - With new set implementation, this became really costy. Optimize it. - There's more to be done, but this shaves off most of the fat. - - Part of fixing https://bugs.chromium.org/p/chromium/issues/detail?id=782220 - - src/hb-set-private.hh | 56 +++++++++++++++++++++++++++++++++++++-------------- - 1 file changed, 41 insertions(+), 15 deletions(-) - -commit be9e307a889e04d198042ad39949d3971232ab26 -Author: Behdad Esfahbod -Date: Fri Dec 1 12:36:26 2017 -0800 - - [ot] Ensure layout in hb_ot_layout_table_get_lookup_count() - - src/hb-ot-layout.cc | 1 + - 1 file changed, 1 insertion(+) - -commit d9066afd6bc260d2f2ad5cd5b3e8b196e944d3d8 -Author: Behdad Esfahbod -Date: Wed Nov 29 16:18:18 2017 -0800 - - Add another test for previous commit - - From https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=4273 - - .../sha1sum/bbf4a308c402f0678c3e82844892a4da2ebe598f.ttf | Bin 0 -> 204 bytes - test/shaping/tests/fuzzed.tests | 1 + - 2 files changed, 1 insertion(+) - -commit 16fba5b2158a0e093e6df32637eba5058942e299 -Author: Behdad Esfahbod -Date: Wed Nov 29 16:08:11 2017 -0800 - - [ot] Fix Extension type recurse to disallow recursing to another Extension - - Particularly hazardous if the second layer mixes forward and backward lookups. - - Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=4336 - - src/hb-ot-layout-gsub-table.hh | 6 ++++-- - .../sha1sum/9d8a94a67932a3ab75a596fc8b5c6d0392ca9e49.ttf | Bin 0 -> 4545 bytes - .../sha1sum/ef2511f215aa3ca847cbfffbf861793b42170875.ttf | Bin 0 -> 1152 bytes - test/shaping/tests/fuzzed.tests | 2 ++ - 4 files changed, 6 insertions(+), 2 deletions(-) - -commit 7ab49de987b856312d7ad1d02639f7306aa0ad2f -Author: Behdad Esfahbod -Date: Wed Nov 29 14:20:09 2017 -0800 - - Try fixing Mac build with 10.12 - - Related - https://github.com/harfbuzz/harfbuzz/issues/345 - https://github.com/harfbuzz/harfbuzz/pull/629 - - .travis.yml | 1 + - 1 file changed, 1 insertion(+) - -commit d672bcf9d72bb473f5f53089c8af595c4047bc99 -Author: Behdad Esfahbod -Date: Tue Nov 28 22:20:57 2017 -0800 - - Minor - - docs/Makefile.am | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 23ade70783a17ed6822d13e7a910544de2ef181f -Author: Behdad Esfahbod -Date: Tue Nov 21 16:36:07 2017 -0800 - - [doc] Optimize HarfBuzz.png; add HarfBuzz.svg - - SVG is unused. Just keeping it here. - - docs/HarfBuzz.png | Bin 14203 -> 8814 bytes - docs/HarfBuzz.svg | 277 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ - 2 files changed, 277 insertions(+) - -commit 77efdecadddbd68bbbc0ff85ac84e24976ad4d4f -Author: Khaled Hosny -Date: Wed Nov 22 00:14:29 2017 +0200 - - Improve the docs commit message a bit - - .ci/deploy-docs.sh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit a13c0748c59a92812469ada762d57bce3b02fe34 -Author: Ebrahim Byagowi -Date: Tue Nov 21 09:52:18 2017 +0330 - - Move gh-pages docs to harfbuzz.github.io - - .ci/deploy-docs.sh | 10 +++++----- - README | 2 ++ - docs/HarfBuzz.png | Bin 12710 -> 14203 bytes - docs/circle.yml | 3 --- - 4 files changed, 7 insertions(+), 8 deletions(-) - -commit 9f259769a61f17b47701bbad79e1865571338417 -Author: David Corbett -Date: Tue Nov 21 14:16:10 2017 -0500 - - Categorize U+A8B4 as Consonant_Medial - - src/gen-use-table.py | 3 +++ - src/hb-ot-shape-complex-use-table.cc | 2 +- - .../sha1sum/373e67bf41ca264e260a9716162b71a23549e885.ttf | Bin 0 -> 1164 bytes - test/shaping/tests/use-syllable.tests | 1 + - 4 files changed, 5 insertions(+), 1 deletion(-) - -commit cd8c62fd41ca824c5db3c55fd1faa20318ca0bf9 -Author: ebraminio -Date: Tue Nov 21 01:07:26 2017 -0500 - - [ci] Add Oracle Developer Studio (former Sun Studio) based compiler (#621) - - .circleci/config.yml | 11 +++++++++++ - 1 file changed, 11 insertions(+) - -commit 8d55340593ce32e55cfbd86a17c0be8750e8fb72 -Author: Behdad Esfahbod -Date: Mon Nov 20 19:43:22 2017 -0800 - - Fix fallback positioning of double diacritic marks - - Fixes https://bugzilla.gnome.org/show_bug.cgi?id=787284 - - src/hb-ot-shape-fallback.cc | 4 ++-- - .../sha1sum/856ff9562451293cbeff6f396d4e3877c4f0a436.ttf | Bin 0 -> 892 bytes - test/shaping/tests/fallback-positioning.tests | 1 + - 3 files changed, 3 insertions(+), 2 deletions(-) - -commit bb7cc4eada06839a3892cea5919f0c310cbaf7c3 -Author: Behdad Esfahbod -Date: Mon Nov 20 19:39:47 2017 -0800 - - Minor - - util/options.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit a0ad0d5bb8260cb297ff114adca7c8d05b6128bb -Author: Behdad Esfahbod -Date: Mon Nov 20 15:07:48 2017 -0800 - - [docs] s/Harfbuzz/HarfBuzz/g - - docs/harfbuzz-docs.xml | 2 +- - ...anual-buffers-language-script-and-direction.xml | 10 +++---- - docs/usermanual-fonts-and-faces.xml | 2 +- - docs/usermanual-hello-harfbuzz.xml | 34 +++++++++++----------- - docs/usermanual-install-harfbuzz.xml | 2 +- - docs/usermanual-what-is-harfbuzz.xml | 20 ++++++------- - 6 files changed, 35 insertions(+), 35 deletions(-) - -commit 87d74605f5f9db685bef7329f498437b4d868e6f -Author: David Corbett -Date: Mon Nov 20 13:19:34 2017 -0500 - - Categorize U+0C80 as Consonant_Placeholder - - src/hb-ot-shape-complex-indic.cc | 1 + - .../sha1sum/81c368a33816fb20e9f647e8f24e2180f4720263.ttf | Bin 0 -> 1152 bytes - test/shaping/tests/indic-syllable.tests | 1 + - 3 files changed, 2 insertions(+) - -commit 7c6937e7c7b62602fef10ac4b2e164d0c67c932b -Author: ebraminio -Date: Mon Nov 20 14:49:22 2017 -0500 - - Move all references of old url to the new address (#622) - - .travis.yml | 2 +- - BUILD.md | 2 +- - CMakeLists.txt | 2 +- - NEWS | 20 ++++++++++---------- - README | 8 ++++---- - RELEASING.md | 2 +- - configure.ac | 2 +- - docs/HarfBuzz.png | Bin 3419 -> 12710 bytes - docs/harfbuzz-docs.xml | 2 +- - docs/usermanual-install-harfbuzz.xml | 2 +- - harfbuzz.doap | 2 +- - src/gen-use-table.py | 4 ++-- - src/hb-coretext.cc | 2 +- - src/hb-debug.hh | 2 +- - src/hb-ot-layout-gsub-table.hh | 22 +++++++++++----------- - src/hb-ot-layout-gsubgpos-private.hh | 2 +- - src/hb-ot-layout-private.hh | 8 ++++---- - src/hb-ot-shape-complex-arabic.cc | 4 ++-- - src/hb-ot-shape-complex-hebrew.cc | 2 +- - src/hb-ot-shape-complex-indic-private.hh | 2 +- - src/hb-ot-shape-complex-indic.cc | 8 ++++---- - src/hb-ot-shape-complex-use-machine.rl | 2 +- - src/hb-ot-shape.cc | 2 +- - src/hb-private.hh | 2 +- - src/hb-unicode-private.hh | 2 +- - src/sample.py | 2 +- - test/api/test-set.c | 2 +- - test/fuzzing/README | 2 +- - 28 files changed, 57 insertions(+), 57 deletions(-) - -commit baf7779d2d6e4810168a8f036bbf8f9e6493dd1a -Author: Behdad Esfahbod -Date: Tue Nov 14 21:53:48 2017 -0800 - - Limit how much recursion GSUB/GPOS does - - This only counts recursions right now. Good start. - - Hopefully... - Fixes https://github.com/behdad/harfbuzz/issues/429 - - src/Makefile.am | 5 ++++- - src/hb-buffer-private.hh | 15 +++++++++++++-- - src/hb-buffer.cc | 2 ++ - src/hb-ot-layout-gsubgpos-private.hh | 5 ++++- - src/hb-ot-shape.cc | 10 ++++++++-- - test/shaping/tests/fuzzed.tests | 2 +- - 6 files changed, 32 insertions(+), 7 deletions(-) - -commit 173dab6300d9b492f2d1c68f9e8f7817211a3462 -Author: Behdad Esfahbod -Date: Tue Nov 14 21:27:24 2017 -0800 - - Minor move - - src/hb-buffer-private.hh | 26 ++++++++++++++------------ - 1 file changed, 14 insertions(+), 12 deletions(-) - -commit c6173a392cfaa3d339c768836e8cddf3ae4adc53 -Author: Behdad Esfahbod -Date: Tue Nov 14 21:09:03 2017 -0800 - - Add Offset16 and Offset32 - - src/hb-open-type-private.hh | 5 ++++- - src/hb-ot-layout-common-private.hh | 4 ++-- - src/hb-ot-name-table.hh | 2 +- - src/hb-ot-var-fvar-table.hh | 2 +- - 4 files changed, 8 insertions(+), 5 deletions(-) - -commit 6f335ed1e52c6161fa0b0295776856fc07f7f46f -Author: Behdad Esfahbod -Date: Tue Nov 14 21:06:07 2017 -0800 - - Replace USHORT/SHORT/ULONG/etc with UINT16/INT16/UINT32/etc - - src/hb-open-file-private.hh | 6 +- - src/hb-open-type-private.hh | 67 ++++++------ - src/hb-ot-cbdt-table.hh | 78 +++++++------- - src/hb-ot-cmap-table.hh | 90 ++++++++-------- - src/hb-ot-glyf-table.hh | 10 +- - src/hb-ot-head-table.hh | 28 ++--- - src/hb-ot-hhea-table.hh | 18 ++-- - src/hb-ot-kern-table.hh | 36 +++---- - src/hb-ot-layout-common-private.hh | 118 ++++++++++---------- - src/hb-ot-layout-gdef-table.hh | 22 ++-- - src/hb-ot-layout-gpos-table.hh | 94 ++++++++-------- - src/hb-ot-layout-gsub-table.hh | 30 +++--- - src/hb-ot-layout-gsubgpos-private.hh | 172 +++++++++++++++--------------- - src/hb-ot-math-table.hh | 26 ++--- - src/hb-ot-maxp-table.hh | 2 +- - src/hb-ot-name-table.hh | 16 +-- - src/hb-ot-os2-table.hh | 70 ++++++------ - src/hb-ot-post-table.hh | 16 +-- - src/hb-ot-shape-complex-arabic-win1256.hh | 32 +++--- - src/hb-ot-var-avar-table.hh | 4 +- - src/hb-ot-var-fvar-table.hh | 20 ++-- - src/hb-ot-var-hvar-table.hh | 8 +- - src/hb-ot-var-mvar-table.hh | 10 +- - 23 files changed, 486 insertions(+), 487 deletions(-) - -commit a130ee6df50a50f541d0e8018deea9cee8c6738a -Author: Behdad Esfahbod -Date: Tue Nov 14 20:30:03 2017 -0800 - - Remove a couple of unused consts - - src/hb-ot-hhea-table.hh | 5 ----- - src/hb-ot-layout-gsubgpos-private.hh | 3 --- - src/main.cc | 4 ++-- - 3 files changed, 2 insertions(+), 10 deletions(-) - -commit e20e47eaa1b7dd33ac63ab0eaa8f5ea1bf7775c2 -Author: Behdad Esfahbod -Date: Tue Nov 14 20:25:29 2017 -0800 - - [glyf] Try fixing undefined-behavior - - Might fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=1463 - - src/hb-ot-glyf-table.hh | 17 ++++++++--------- - 1 file changed, 8 insertions(+), 9 deletions(-) - -commit 7b40876a58d331200e1d7cda1dec72578139ff9c -Author: Behdad Esfahbod -Date: Tue Nov 14 20:22:05 2017 -0800 - - [ot] Remove unneeded TODO item - - Looks like hb-ot-font is complete after all! - - CFF font names and CFF glyph metrics don't work though... - - src/hb-ot-font.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit eab4feb5e221b8219c071ea882de79405aca4e84 -Author: Behdad Esfahbod -Date: Tue Nov 14 20:16:45 2017 -0800 - - [hmtx] Use curiously recurring template pattern - - https://en.wikipedia.org/wiki/Curiously_recurring_template_pattern - - src/hb-ot-font.cc | 11 ++++------- - src/hb-ot-hmtx-table.hh | 29 +++++++++++++++-------------- - 2 files changed, 19 insertions(+), 21 deletions(-) - -commit 977ddff1f1e0f0f71a46c60ba713d160b96f5a3c -Author: Behdad Esfahbod -Date: Tue Nov 14 20:06:19 2017 -0800 - - [ot] Move hb_ot_face_cmap_accelerator_t - - src/hb-ot-cmap-table.hh | 149 +++++++++++++++++++++++++++++++++++++++++++++--- - src/hb-ot-font.cc | 130 +----------------------------------------- - 2 files changed, 142 insertions(+), 137 deletions(-) - -commit a7f15959b5e6e14e5241a3155c413ff70e7d1eb3 -Author: Behdad Esfahbod -Date: Tue Nov 14 20:02:24 2017 -0800 - - Shuffle - - src/hb-ot-hmtx-table.hh | 76 ++++++++++++++++++++++++------------------------- - 1 file changed, 38 insertions(+), 38 deletions(-) - -commit a85d7ead04aff81d2f9df9110316892dbbefe1c2 -Author: Behdad Esfahbod -Date: Tue Nov 14 20:00:34 2017 -0800 - - [ot] Move hb_ot_face_metrics_accelerator_t - - src/hb-ot-font.cc | 108 +----------------------------------------------- - src/hb-ot-hmtx-table.hh | 108 +++++++++++++++++++++++++++++++++++++++++++++++- - 2 files changed, 109 insertions(+), 107 deletions(-) - -commit f00a94e1ec73c08d4bde1f50bff57d2dc9583ca8 -Author: Behdad Esfahbod -Date: Tue Nov 14 19:54:48 2017 -0800 - - Adjust privacy for recent changes - - src/hb-ot-cbdt-table.hh | 6 ++++-- - src/hb-ot-glyf-table.hh | 6 ++++-- - 2 files changed, 8 insertions(+), 4 deletions(-) - -commit 7e2839c438beea216c7c8a3881e88961940e67be -Author: Behdad Esfahbod -Date: Tue Nov 14 19:52:09 2017 -0800 - - [ot] Move hb_ot_face_glyf_accelerator_t - - src/hb-ot-font.cc | 75 +---------------------------------- - src/hb-ot-glyf-table.hh | 103 +++++++++++++++++++++++++++++++++++++++++------- - 2 files changed, 90 insertions(+), 88 deletions(-) - -commit c4e18e54dc5ffecac7b327bde9f52dd0927d6a08 -Author: Behdad Esfahbod -Date: Tue Nov 14 19:47:31 2017 -0800 - - [ot] Move hb_ot_face_cbdt_accelerator_t - - src/hb-ot-cbdt-table.hh | 85 +++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-ot-font.cc | 87 +------------------------------------------------ - src/hb-ot-post-table.hh | 1 + - 3 files changed, 87 insertions(+), 86 deletions(-) - -commit 9b04b0384fe746bdb1885c57e1ce73c4c6cae9e5 -Author: Behdad Esfahbod -Date: Tue Nov 14 19:31:50 2017 -0800 - - [ot] Fold hb_ot_face_post_accelerator_t - - src/hb-ot-font.cc | 35 +---------------------------------- - src/hb-ot-post-table.hh | 9 +++++++-- - 2 files changed, 8 insertions(+), 36 deletions(-) - -commit 702d86ba6b4a2e41cbee46fea18b3f8eb8986dc9 -Author: Behdad Esfahbod -Date: Tue Nov 14 19:25:38 2017 -0800 - - [ot] Fold hb_ot_face_kern_accelerator_t - - src/hb-ot-font.cc | 23 +---------------------- - src/hb-ot-kern-table.hh | 13 +++++++++---- - 2 files changed, 10 insertions(+), 26 deletions(-) - -commit 909de95a112ffe4d05ddcfed97a235763e8af068 -Author: Behdad Esfahbod -Date: Tue Nov 14 16:22:52 2017 -0800 - - Minor build fix - - src/Makefile.am | 3 +++ - 1 file changed, 3 insertions(+) - -commit b9c96b5d7cce80ef75cbdf0f0c47d1db62797c55 -Author: Behdad Esfahbod -Date: Tue Nov 14 15:56:21 2017 -0800 - - Add test for previous commit - - At some point we should run tests under valgrind... - - .../sha1sum/dd9f0c7c7c36f75a18be0cab1cddf8f3ab0f366b.ttf | Bin 0 -> 2786 bytes - test/shaping/tests/fuzzed.tests | 3 ++- - 2 files changed, 2 insertions(+), 1 deletion(-) - -commit e5930722d485207ca158612a2b08816337fed7e8 -Author: Behdad Esfahbod -Date: Tue Nov 14 15:47:55 2017 -0800 - - Fix invalid buffer access in OOM times - - Hopefully fully fixes - https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=1856 - - src/hb-ot-layout-gsubgpos-private.hh | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit fcd6c338ff4968a0d7fc297da1c6d8058823aaa1 -Author: Behdad Esfahbod -Date: Tue Nov 14 14:40:21 2017 -0800 - - Fix more compiler warnings - - src/hb-debug.hh | 12 +++++++----- - 1 file changed, 7 insertions(+), 5 deletions(-) - -commit 7fdf16b2ceb709b78654f99e6513fa878cd4d575 -Author: Behdad Esfahbod -Date: Tue Nov 14 14:40:11 2017 -0800 - - Fix compiler warning - - src/hb-string-array.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 87f0ad183c489ef3208cf454d43c448638316092 -Author: David Corbett -Date: Thu Nov 2 10:59:25 2017 -0400 - - Allow U+20F0 in USE clusters - - src/gen-use-table.py | 4 +++ - src/hb-ot-shape-complex-use-table.cc | 34 +++++++++++++-------- - .../074a5ae6b19de8f29772fdd5df2d3d833f81f5e6.ttf | Bin 0 -> 2296 bytes - test/shaping/tests/use-syllable.tests | 1 + - 4 files changed, 26 insertions(+), 13 deletions(-) - -commit f93c6f8bfa228e95311d8d6d02dcc64b603c6e36 -Author: Behdad Esfahbod -Date: Tue Nov 14 11:09:19 2017 -0800 - - 1.7.1 - - NEWS | 8 ++++++++ - configure.ac | 2 +- - 2 files changed, 9 insertions(+), 1 deletion(-) - -commit 93f7c1652a05e806c2e3ac7edf498d2f4a508a3a -Author: Behdad Esfahbod -Date: Tue Nov 14 10:59:54 2017 -0800 - - Revert "[glib/ucdn/icu/ft/ot] Make returned funcs inert" - - This reverts commit 5daf3bd4494cce6b4fb074533be9e99c4d9e0edd. - - If other atexit callbacks try to destruct the objects we destruct - in atexit callbacks, bad things will happen. - - I'll come up with some other way to catch premature destruction - of HB-owned objects. - - Fixes https://github.com/behdad/harfbuzz/issues/618 - - src/hb-ft.cc | 3 --- - src/hb-glib.cc | 3 --- - src/hb-icu.cc | 3 --- - src/hb-object-private.hh | 37 ++++++------------------------------- - src/hb-ot-font.cc | 3 --- - src/hb-ucdn.cc | 3 --- - 6 files changed, 6 insertions(+), 46 deletions(-) - -commit c48475f33ab88be6664d41b039f7be7c3e56a5a7 -Author: Behdad Esfahbod -Date: Mon Nov 13 20:26:29 2017 -0800 - - Whitespace - - src/hb-open-type-private.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 83d68027360ff655d3b59371fb606fc9e40df4ac -Author: Behdad Esfahbod -Date: Mon Nov 13 20:25:02 2017 -0800 - - Clean up GlyphID - - After 4a27c17ea0234dfe33e62f5830d9f92c26d48d30 we do not need - the special GlyphID.cmp(hb_codepoint_t), so just make GlyphID - a typedef. - - Fixes https://github.com/behdad/harfbuzz/issues/612 - - src/hb-open-type-private.hh | 5 +---- - 1 file changed, 1 insertion(+), 4 deletions(-) - -commit 7f39f576148643b4790fd70361e328b4b4da3149 -Author: Behdad Esfahbod -Date: Mon Nov 13 15:04:13 2017 -0800 - - Implement strtod_l() on MSVC - - Patch from Jean Ghali on mailing list. - - src/hb-common.cc | 21 +++++++++++++++------ - 1 file changed, 15 insertions(+), 6 deletions(-) - -commit e5d709889200571b62a611e0f44a410591983f8a -Author: Behdad Esfahbod -Date: Mon Nov 13 09:42:37 2017 -0800 - - 1.7.0 - - NEWS | 12 ++++++++++++ - configure.ac | 2 +- - 2 files changed, 13 insertions(+), 1 deletion(-) - -commit e4da38020021a92afa4062ed676f286945070dc4 -Author: Behdad Esfahbod -Date: Fri Nov 10 17:14:27 2017 -0800 - - [coretext/uniscribe/directwrite/graphite/fallback] Update for unsafe-to-break - - Fixes https://github.com/behdad/harfbuzz/issues/615 - - We'll see which bots I broke. - - src/hb-buffer-private.hh | 17 +++++++++++++++-- - src/hb-coretext.cc | 2 ++ - src/hb-directwrite.cc | 3 +-- - src/hb-fallback-shape.cc | 2 ++ - src/hb-graphite2.cc | 2 ++ - src/hb-uniscribe.cc | 2 ++ - 6 files changed, 24 insertions(+), 4 deletions(-) - -commit 4de03a1585cf735e3ac09847af761ff85fca5a02 -Author: Martin Hosken -Date: Fri Nov 10 13:47:38 2017 +0700 - - Fix graphite intergration reordered clusters problem - - src/hb-graphite2.cc | 9 +++++++-- - 1 file changed, 7 insertions(+), 2 deletions(-) - -commit 8eed9cb11e28728a58e265fde5c13f519ccbdb4e -Author: Behdad Esfahbod -Date: Thu Nov 9 18:09:40 2017 -0800 - - [kern] Fix invalid memory access if offset is zero - - If offset is zero, we return Null() object. Wasn't prepared for that. - - Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=4088 - - src/hb-ot-kern-table.hh | 9 +++++---- - .../sha1sum/243798dd281c1c77c065958e1ff467420faa9bde.ttf | Bin 0 -> 225 bytes - test/shaping/tests/fuzzed.tests | 1 + - 3 files changed, 6 insertions(+), 4 deletions(-) - -commit b68fba4dc81ce2e7552c5d50a93013281889a65b -Author: Khaled Hosny -Date: Fri Nov 3 14:27:33 2017 +0200 - - [test] Use glyph ids instead of forcing ft funcs - - We were using ft funcs because these are CFF fonts, but we can avoid - glyph names instead and keep testing both ot and ft. - - test/shaping/tests/indic-consonant-with-stacker.tests | 8 ++++---- - test/shaping/tests/indic-script-extensions.tests | 2 +- - 2 files changed, 5 insertions(+), 5 deletions(-) - -commit 2fcfbcf8052bba0db7590a5f057730075fdbd5e1 -Author: Khaled Hosny -Date: Thu Nov 2 09:45:06 2017 +0200 - - [test] Fix another instance of component rounding - - See https://github.com/behdad/harfbuzz/pull/590#issuecomment-341194673 - - .../sha1sum/7ef276fc886ea502a03b9b0e5c8b547d5dc2b61c.ttf | Bin 784 -> 0 bytes - .../sha1sum/8228d035fcd65d62ec9728fb34f42c63be93a5d3.ttf | Bin 0 -> 784 bytes - test/shaping/tests/fallback-positioning.tests | 3 +-- - 3 files changed, 1 insertion(+), 2 deletions(-) - -commit c4f4c0a2faab0635dd2ab3078243994ad3066287 -Author: Behdad Esfahbod -Date: Wed Nov 8 17:04:31 2017 -0800 - - Fix indexing in unsafe-to-break marking for 'stch' feature - - Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=4099 - - src/hb-ot-shape-complex-arabic.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 822035ce73931ccd5d2455584aad603037892498 -Author: Behdad Esfahbod -Date: Wed Nov 8 17:03:55 2017 -0800 - - [tests/arabic-stch.tests] Don't show flags - - We don't need to test the actual flag values. For unsafe-to-break, - the --verify in run-tests.sh checks what we are interested in. - - test/shaping/tests/arabic-stch.tests | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 53f0c27ddca92af1af27b6ffa9dcd0949afed664 -Author: Behdad Esfahbod -Date: Wed Nov 8 17:02:54 2017 -0800 - - Minor - - test/shaping/run-tests.sh | 9 +++++---- - 1 file changed, 5 insertions(+), 4 deletions(-) - -commit 5a9cba9744876dfc56bdc9aed805f571bd0d4b0a -Author: David Corbett -Date: Wed Nov 8 13:15:27 2017 -0500 - - Mark non-initial left matras as unsafe to break - - src/hb-ot-shape-complex-indic.cc | 14 +++++++++----- - test/shaping/Makefile.am | 1 + - .../sha1sum/1a3d8f381387dd29be1e897e4b5100ac8b4829e1.ttf | Bin 0 -> 1380 bytes - test/shaping/tests/indic-init.tests | 1 + - 4 files changed, 11 insertions(+), 5 deletions(-) - -commit a6150306838b168475a9aa661ad569b0405c9f91 -Author: Behdad Esfahbod -Date: Mon Nov 6 15:40:07 2017 -0500 - - [kern] Implement format-2 kern subtable - - src/hb-ot-kern-table.hh | 8 +++++++- - 1 file changed, 7 insertions(+), 1 deletion(-) - -commit 82a38d1f7a65537a4ef540af08c489512d6297ac -Author: Behdad Esfahbod -Date: Mon Nov 6 15:28:24 2017 -0500 - - [kern] Allow subtables longer than 64kb - - Apparently calibri.ttf does this: - https://github.com/fonttools/fonttools/pull/1094#discussion_r148933791 - - src/hb-ot-font.cc | 23 ++++++++++++++++++++++- - src/hb-ot-kern-table.hh | 41 +++++++++++++++++++++++++++++------------ - 2 files changed, 51 insertions(+), 13 deletions(-) - -commit 625ae08fcee747fbdc33a3a6865fb3aa425662ca -Author: Behdad Esfahbod -Date: Sat Nov 4 12:01:11 2017 -0400 - - [kern] Towards implementing format-2 - - src/hb-open-type-private.hh | 4 +-- - src/hb-ot-kern-table.hh | 69 +++++++++++++++++++++++++++------------------ - 2 files changed, 42 insertions(+), 31 deletions(-) - -commit 74e82adaea08ced18493e3341823dbd5b6cd493e -Author: David Corbett -Date: Mon Nov 6 14:41:55 2017 -0500 - - Mark glyphs involved in 'stch' as unsafe to break - - src/hb-ot-shape-complex-arabic.cc | 1 + - test/shaping/Makefile.am | 1 + - .../sha1sum/d9b8bc10985f24796826c29f7ccba3d0ae11ec02.ttf | Bin 0 -> 1420 bytes - test/shaping/tests/arabic-stch.tests | 1 + - 4 files changed, 3 insertions(+) - -commit 601126ad401d05b9c7fe4a34e870f1d1a1b057c8 -Author: Behdad Esfahbod -Date: Fri Nov 3 20:34:11 2017 -0400 - - [configure] Fix gobject default value in help output - - Fixes https://github.com/behdad/harfbuzz/issues/607 - - configure.ac | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 5aad81943329df199501e9473e2cc39f9d4421a1 -Author: Behdad Esfahbod -Date: Fri Nov 3 17:16:26 2017 -0400 - - Simplify tracing code when tracing is disabled - - Fixes https://github.com/behdad/harfbuzz/pull/605 - - src/hb-debug.hh | 58 +++++++++++++++++++++++++++++------- - src/hb-ot-layout-gsubgpos-private.hh | 10 +++---- - 2 files changed, 52 insertions(+), 16 deletions(-) - -commit 40ec3bbb55b8af1668bb3d5f6232a85b15cff136 -Author: Behdad Esfahbod -Date: Fri Nov 3 16:57:30 2017 -0400 - - Consolidate debug stuff into hb-debug.hh - - Part of fixing https://github.com/behdad/harfbuzz/pull/605 - - src/Makefile.sources | 1 + - src/hb-blob.cc | 7 +- - src/hb-coretext.cc | 8 +- - src/hb-debug.hh | 383 +++++++++++++++++++++++++++++++++++ - src/hb-directwrite.cc | 6 +- - src/hb-ft.cc | 7 +- - src/hb-object-private.hh | 8 +- - src/hb-open-type-private.hh | 21 +- - src/hb-ot-layout-common-private.hh | 8 +- - src/hb-ot-layout-gsubgpos-private.hh | 46 +---- - src/hb-ot-shape-complex-arabic.cc | 7 +- - src/hb-private.hh | 260 +----------------------- - src/hb-shape-plan.cc | 7 +- - src/hb-uniscribe.cc | 7 +- - 14 files changed, 404 insertions(+), 372 deletions(-) - -commit 384862d7ee2e27e6678844feafab69f03f77ac9a -Author: Behdad Esfahbod -Date: Fri Nov 3 16:31:47 2017 -0400 - - Remove NO_COPY() - - src/hb-ot-shape-private.hh | 4 +++- - src/hb-private.hh | 8 -------- - 2 files changed, 3 insertions(+), 9 deletions(-) - -commit 97145df2496f90e1ea4a41784f3224c60e973fd4 -Author: Unknown -Date: Fri Nov 3 09:05:00 2017 -0400 - - Trivial typos - - Found using `codespell -i 3 -w -I '../harf-whitelist.txt'` - whereas the whitelist contents were: - ``` - beng - iff - pres - ot - te - teh - ``` - - NEWS | 2 +- - src/hb-ot-shape-complex-indic.cc | 2 +- - src/hb-ot-shape-fallback.cc | 2 +- - 3 files changed, 3 insertions(+), 3 deletions(-) - -commit 4a591a0e515f5c15c807fe648c073d249820e5ec -Author: ebraminio -Date: Thu Nov 2 09:33:12 2017 -0700 - - [ci] Add ArchLinux (#604) - - .circleci/config.yml | 13 +++++++++++-- - 1 file changed, 11 insertions(+), 2 deletions(-) - -commit d18ee5afe8b1992d234402cd71f809cd904113a5 -Author: ebraminio -Date: Thu Nov 2 07:56:25 2017 -0700 - - Copy dummy docs/circle.yml to gh-pages branch (#603) - - .ci/deploy-docs.sh | 1 + - 1 file changed, 1 insertion(+) - -commit 1955cbecc98ee88ba8a62df1d8c77a09ed5d2c75 -Author: ebraminio -Date: Thu Nov 2 04:55:46 2017 -0700 - - Add a dummy CircleCI config to gh-pages branch (#602) - - docs/circle.yml | 3 +++ - 1 file changed, 3 insertions(+) - -commit 4b3278ef8dc71ad4f744d763068d9a2e02d3d75d -Author: Behdad Esfahbod -Date: Wed Nov 1 19:41:29 2017 -0600 - - [ot] Hook up horizontal kerning to kern table - - Seems to work. Yay! - - Still to do: run kerning if GPOS doesn't have 'kern' feature. - - src/hb-ot-font.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 77acc1106e6d984ee74ec606e145f455e6e55509 -Author: Behdad Esfahbod -Date: Wed Nov 1 19:33:09 2017 -0600 - - [kern] More... - - Almost there. - - src/hb-ot-font.cc | 14 +++++++++ - src/hb-ot-kern-table.hh | 75 ++++++++++++++++++++++++++++++++++++++++++++++++- - 2 files changed, 88 insertions(+), 1 deletion(-) - -commit 49c0f35580946c74bc64dae2d2c65c7834e46ab2 -Author: Behdad Esfahbod -Date: Wed Nov 1 18:16:07 2017 -0600 - - [kern] See if this helps with making VS bot happy - - src/hb-ot-kern-table.hh | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 2c439210c9734cd21b08beba07d21147a6eb6d8a -Author: Behdad Esfahbod -Date: Wed Nov 1 18:13:35 2017 -0600 - - [uniscribe] Fix a couple of VS warnings - - src/hb-uniscribe.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 4c43a23bf479b42d42192bab56df6075c8ae0090 -Author: Behdad Esfahbod -Date: Wed Nov 1 18:12:26 2017 -0600 - - [kern] Implement Format0 - - src/hb-ot-kern-table.hh | 51 +++++++++++++++++++++++++++++++++++++++++++------ - 1 file changed, 45 insertions(+), 6 deletions(-) - -commit ac3d937c6cb0e2c7e019aa391b02da25aa6970de -Author: Behdad Esfahbod -Date: Wed Nov 1 17:54:56 2017 -0600 - - [kern] Implement some more - - src/hb-ot-kern-table.hh | 98 ++++++++++++++++++++++++++++++++++++++----------- - 1 file changed, 77 insertions(+), 21 deletions(-) - -commit 2a16f647ae4c5115a356ba82245c77e0d01fcebf -Author: Behdad Esfahbod -Date: Wed Nov 1 17:31:29 2017 -0600 - - [kern] Start implementing kern table - - Pushing this out early to catch bot errors since I'm using template tricks - we were not using in HarfBuzz before. - - src/Makefile.sources | 1 + - src/hb-ot-font.cc | 1 + - src/hb-ot-kern-table.hh | 184 ++++++++++++++++++++++++++++++++++++++++++++++++ - 3 files changed, 186 insertions(+) - -commit 292ef2675edb2cb579210183e77ac30335318a21 -Author: ebraminio -Date: Wed Nov 1 16:24:46 2017 -0700 - - [ci] minor cleanup (#600) - - .circleci/config.yml | 4 ---- - 1 file changed, 4 deletions(-) - -commit 260246a279699d313a45583c6a61e4bab717f739 -Author: ebraminio -Date: Wed Nov 1 14:10:55 2017 -0700 - - [ci] Add Fedora builder (#598) - - .circleci/config.yml | 9 +++++++++ - 1 file changed, 9 insertions(+) - -commit 0e63cbed9cceb1d0238974ddfa9bc68d25d9c616 -Author: Khaled Hosny -Date: Wed Nov 1 20:49:42 2017 +0200 - - [test] Fix difference between ft and ot font funcs - - See https://github.com/behdad/harfbuzz/pull/590#issuecomment-341194673. - - I simply removed the composite glyph and use the referenced simple - glyph directly. - - .../sha1sum/4fac3929fc3332834e93673780ec0fe94342d193.ttf | Bin 0 -> 804 bytes - .../sha1sum/6466d38c62e73a39202435a4f73bf5d6acbb73c0.ttf | Bin 824 -> 0 bytes - test/shaping/tests/cluster.tests | 2 +- - 3 files changed, 1 insertion(+), 1 deletion(-) - -commit 0b8f8dd869212ed2889cbdb79c4c4b639b8eff7a -Author: Khaled Hosny -Date: Wed Nov 1 20:33:43 2017 +0200 - - Revert "[test] We don’t care about glyph positions here" - - This reverts commit 70137e2b4b46918d9608f824a4b4b5cef2819158. - - test/shaping/tests/cluster.tests | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit f1245013bf7e9d490b43d9b8bebd467b2c1d14cc -Author: Khaled Hosny -Date: Wed Nov 1 12:06:59 2017 +0200 - - [test] Run shaping tests with both ot and ft funcs - - test/shaping/run-tests.sh | 21 ++++++++++++++++----- - 1 file changed, 16 insertions(+), 5 deletions(-) - -commit 70137e2b4b46918d9608f824a4b4b5cef2819158 -Author: Khaled Hosny -Date: Wed Nov 1 12:03:39 2017 +0200 - - [test] We don’t care about glyph positions here - - Freetype and OT font functions give different positions for some glyphs - in this font (OT seems to be correct), but that is not what we are - interested in in this test. - - See https://github.com/behdad/harfbuzz/pull/590#issuecomment-341045223. - - test/shaping/tests/cluster.tests | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 9234b364b178d44a11148d5c613169731667a2ae -Author: Khaled Hosny -Date: Wed Nov 1 10:34:36 2017 +0200 - - [test] Use ft functions for this test - - https://github.com/behdad/harfbuzz/pull/590#issuecomment-340967271 - - test/shaping/tests/vertical.tests | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit afbfb9279cbebcd0a85ab2fcc822a3fdbb035272 -Author: Khaled Hosny -Date: Mon Oct 30 22:02:50 2017 +0200 - - [test] Always use ft font funcs for these tests - - These are CFF fonts and ot functions don’t support CFF glyph names yet. - The next commit will run all tests with ot functions. - - test/shaping/tests/indic-consonant-with-stacker.tests | 8 ++++---- - test/shaping/tests/indic-script-extensions.tests | 2 +- - 2 files changed, 5 insertions(+), 5 deletions(-) - -commit 33e62636f739680ffbc1875391f05e80039a3259 -Author: ebraminio -Date: Wed Nov 1 03:05:46 2017 -0700 - - [ci] Add FreeBSD9 (gcc4) (#595) - - .circleci/config.yml | 11 ++++++++++- - 1 file changed, 10 insertions(+), 1 deletion(-) - -commit 102f5ead493ad2eac6c11c3fc8f2e793d3d57058 -Author: ebraminio -Date: Wed Nov 1 02:10:18 2017 -0700 - - Enable PSVita (arm-none-eabi) compile again and add it to CI (#594) - - .circleci/config.yml | 17 ++++++++++++++--- - src/hb-buffer-private.hh | 2 +- - src/hb-buffer.cc | 4 ++-- - src/hb-open-file-private.hh | 2 +- - 4 files changed, 18 insertions(+), 7 deletions(-) - -commit 65d4e5bcda543c17e09867418365ba44b441d5d6 -Author: Behdad Esfahbod -Date: Wed Nov 1 01:15:27 2017 -0600 - - [CircleCI] Ignore gh-pages branch - - https://github.com/behdad/harfbuzz/pull/592 - - .circleci/config.yml | 4 ++++ - 1 file changed, 4 insertions(+) - -commit 92bb5086424d7454d666732e39117a7d32490646 -Author: Behdad Esfahbod -Date: Tue Oct 31 22:58:03 2017 -0600 - - [indic] Use mutable for virama_glyph - - src/hb-ot-shape-complex-indic.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 6c04dcb28dcafc7d97799c80c0bc714c76d51d1c -Author: Behdad Esfahbod -Date: Tue Oct 31 20:11:00 2017 -0600 - - Use bsearch() for large SFNT table directories - - src/hb-open-file-private.hh | 21 +++++++++------------ - 1 file changed, 9 insertions(+), 12 deletions(-) - -commit b0e33da02d062200dd41e4503ecc21fb4bd636e6 -Author: Behdad Esfahbod -Date: Tue Oct 31 20:05:37 2017 -0600 - - Add BinSearchArrayOf<> - - src/hb-open-file-private.hh | 25 +++++++++++-------------- - src/hb-open-type-private.hh | 33 ++++++++++++++++++++++++++++++++- - src/hb-ot-font.cc | 2 +- - 3 files changed, 44 insertions(+), 16 deletions(-) - -commit aca378f51ecf682ea1454071f671bbc7eef808bd -Author: Behdad Esfahbod -Date: Tue Oct 31 18:11:10 2017 -0600 - - Sanitize (Headless)ArrayOf()::len to ensure it doesn't use offsets - - src/hb-open-type-private.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 5f047113142349ecf0dd6d00384f7ef7b3d1a85e -Author: Behdad Esfahbod -Date: Tue Oct 31 18:10:40 2017 -0600 - - Fix HeadlessArrayOf::sanitize_shallow() - - src/hb-open-type-private.hh | 15 +++++++++------ - 1 file changed, 9 insertions(+), 6 deletions(-) - -commit 7ce9f397d1e5fe68c49375ad904d4fce2c7ccc0a -Author: Behdad Esfahbod -Date: Tue Oct 31 15:34:01 2017 -0600 - - Rename hb-sort-r.hh -> hb-dsalgs.hh - - src/Makefile.sources | 2 +- - src/{hb-sort-r.hh => hb-dsalgs.hh} | 14 +++++++------- - src/hb-ot-post-table.hh | 2 +- - 3 files changed, 9 insertions(+), 9 deletions(-) - -commit 8eaff980fc6d15856fa853479454b58668809c7a -Author: Behdad Esfahbod -Date: Tue Oct 31 15:30:06 2017 -0600 - - Remove HB_TAG_CHAR4 - - src/hb-common.cc | 2 +- - src/hb-ot-tag.cc | 2 +- - src/hb-private.hh | 5 ----- - 3 files changed, 2 insertions(+), 7 deletions(-) - -commit d016c5bdb94704e726b104c318262b47c6a4b7c8 -Author: David Corbett -Date: Fri Oct 27 12:14:00 2017 -0400 - - Categorize Grantha candrabindu for use in Tamil - - src/hb-ot-shape-complex-indic.cc | 2 +- - .../sha1sum/b151cfcdaa77585d77f17a42158e0873fc8e2633.ttf | Bin 0 -> 1120 bytes - test/shaping/tests/indic-script-extensions.tests | 1 + - 3 files changed, 2 insertions(+), 1 deletion(-) - -commit b902605133ef4a411afdaa8abda194e81facf525 -Author: Behdad Esfahbod -Date: Tue Oct 31 14:25:46 2017 -0600 - - [CircleCI] Fix build - - Fixes https://github.com/behdad/harfbuzz/issues/589 - - .circleci/config.yml | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 0f78d78aae604cb8e61bd21785adb915da74626e -Merge: b7982c9e6 0feff4ba7 -Author: Behdad Esfahbod -Date: Tue Oct 31 14:13:31 2017 -0600 - - Merge commit '0feff4ba7b16501341c575e06b4c98a6e1bd2809' - -commit 0feff4ba7b16501341c575e06b4c98a6e1bd2809 -Author: Behdad Esfahbod -Date: Tue Oct 31 14:02:32 2017 -0600 - - Simplify hb-sort-r.hh - - See https://github.com/behdad/harfbuzz/pull/592 - - src/hb-sort-r.hh | 147 ++++++------------------------------------------------- - 1 file changed, 14 insertions(+), 133 deletions(-) - -commit b7982c9e65e0b58616cc8264dd52cac37753ef79 -Author: ebraminio -Date: Tue Oct 31 12:42:08 2017 -0700 - - [ci] Add CircleCI for cross-compiling (#592) - - .circleci/config.yml | 61 ++++++++++++++++++++++++++++++++++++++++++++++++++++ - README | 1 + - 2 files changed, 62 insertions(+) - -commit c290ba5b7d4e9e4a5f02340a22e6c9c46564906b -Author: Behdad Esfahbod -Date: Tue Oct 31 13:18:21 2017 -0600 - - Define _GNU_SOURCE - - Might help with https://github.com/behdad/harfbuzz/pull/592 - Ie. bringing in qsort_r() prototype always. - - src/hb-private.hh | 1 + - 1 file changed, 1 insertion(+) - -commit 98acdde3c6bd0745c3cbfb510e82fbd87ebd1a33 -Author: Behdad Esfahbod -Date: Tue Oct 31 11:17:43 2017 -0600 - - [coretext/uniscribe] Fix build - - https://travis-ci.org/behdad/harfbuzz/jobs/295039536#L3468 - https://ci.appveyor.com/project/behdad/harfbuzz/build/1.0.697/job/dr1ujlntxafeqbej#L142 - - src/hb-coretext.cc | 8 ++++++-- - src/hb-uniscribe.cc | 8 ++++++-- - 2 files changed, 12 insertions(+), 4 deletions(-) - -commit ec86cc5e552e9e8d64101feb1f540a9dc94a9025 -Author: Behdad Esfahbod -Date: Mon Oct 30 14:11:59 2017 -0600 - - Fix Windows build - - (And prevent it from happening in the future.) - - src/hb-ot-layout.cc | 1 + - src/hb-ot-name-table.hh | 4 +++- - 2 files changed, 4 insertions(+), 1 deletion(-) - -commit e35a763c07b60da6e5fbdb6edd9d25f575cd3d8b -Author: Behdad Esfahbod -Date: Mon Oct 30 13:15:05 2017 -0600 - - [post] Implement glyph_from_name() - - This concludes https://github.com/behdad/harfbuzz/pull/568 - - src/hb-ot-post-table.hh | 119 ++++++++++++++++++++++++++++++++++++------------ - src/hb-private.hh | 10 ++-- - src/hb-sort-r.hh | 2 +- - 3 files changed, 96 insertions(+), 35 deletions(-) - -commit 6c738f353ec4ab5974414fbb8ff1fb9383c4bde6 -Author: Behdad Esfahbod -Date: Mon Oct 30 12:21:44 2017 -0600 - - Make string-array return hb_string_t - - src/hb-ot-post-table.hh | 17 ++--------------- - src/hb-string-array.hh | 11 +++++++++-- - 2 files changed, 11 insertions(+), 17 deletions(-) - -commit e1a37f3db4f2364e98ff057209a94aa9b23e5c9d -Author: Behdad Esfahbod -Date: Mon Oct 30 11:42:28 2017 -0600 - - Add hb_string_t - - src/hb-ot-post-table.hh | 25 ++++++++----------------- - src/hb-private.hh | 27 +++++++++++++++++++++++++++ - 2 files changed, 35 insertions(+), 17 deletions(-) - -commit 21ac5678583259e673d961a26fadaad2bf33f1f8 -Author: Behdad Esfahbod -Date: Mon Oct 30 09:48:09 2017 -0600 - - Fix tests - - src/check-includes.sh | 2 +- - src/hb-sort-r.hh | 32 ++++++++++++++++++++++++++++++-- - 2 files changed, 31 insertions(+), 3 deletions(-) - -commit 0f8b5aa1bc2c831044a35fc8e52df58652cec86b -Author: Behdad Esfahbod -Date: Mon Oct 30 09:46:36 2017 -0600 - - [post] Minor; towards implementing get_glyph_from_name() - - src/hb-ot-post-table.hh | 56 +++++++++++++++++++++++++++---------------------- - 1 file changed, 31 insertions(+), 25 deletions(-) - -commit 977679f229a10868dc668294082bd82125e4fe48 -Author: Behdad Esfahbod -Date: Sun Oct 29 17:33:32 2017 -0600 - - Add hb_bsearch_r() - - src/hb-ot-post-table.hh | 1 + - src/hb-sort-r.hh | 25 +++++++++++++++++++++++++ - 2 files changed, 26 insertions(+) - -commit 0712e915b4814e350aa1d833c1dee5010cdbd8f9 -Author: Behdad Esfahbod -Date: Sun Oct 29 17:01:47 2017 -0600 - - Remove hb_compare_func_t - - src/hb-ot-map-private.hh | 18 +++++++++++++----- - src/hb-ot-name-table.hh | 2 +- - src/hb-ot-tag.cc | 8 +++++--- - src/hb-ot-var-mvar-table.hh | 10 +++++++--- - src/hb-private.hh | 9 ++------- - 5 files changed, 28 insertions(+), 19 deletions(-) - -commit 538da7496d70c86b41070ecf52592e52920d8808 -Author: Behdad Esfahbod -Date: Sun Oct 29 16:38:58 2017 -0600 - - Add hb-sort-r, a portable qsort_r() replacement - - src/Makefile.sources | 1 + - src/hb-sort-r.hh | 227 +++++++++++++++++++++++++++++++++++++++++++++++++++ - 2 files changed, 228 insertions(+) - -commit 923a8f520addba095384b975ba8934e5a18fb696 -Author: Behdad Esfahbod -Date: Sun Oct 29 15:00:54 2017 -0600 - - Fix up 5de83fab947e23cc729d69f8d44a28311298af9d - - src/hb-ot-post-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit b98c7c3f1fc8581ce9a0f40ae25aee5e1b2b3106 -Author: Behdad Esfahbod -Date: Sun Oct 29 14:52:52 2017 -0600 - - [post] Minor - - src/hb-ot-post-table.hh | 6 +----- - 1 file changed, 1 insertion(+), 5 deletions(-) - -commit 5de83fab947e23cc729d69f8d44a28311298af9d -Author: Behdad Esfahbod -Date: Sat Oct 28 19:54:04 2017 -0600 - - [ot] Speed up get_glyph_name() - - get_glyph_from_name() coming soon. - - src/hb-ot-font.cc | 13 ++-- - src/hb-ot-post-table.hh | 160 +++++++++++++++++++------------------------ - src/test-buffer-serialize.cc | 4 +- - 3 files changed, 81 insertions(+), 96 deletions(-) - -commit feadee079e09e43e5f712a66816605e19155594e -Author: Behdad Esfahbod -Date: Sat Oct 28 16:58:56 2017 -0600 - - [post] Refactor a bit, use our data types - - src/hb-ot-post-table.hh | 25 ++++++++++--------------- - 1 file changed, 10 insertions(+), 15 deletions(-) - -commit 5014c60afaab51a7a4813cf427a3d6053458279b -Author: Behdad Esfahbod -Date: Sat Oct 28 12:00:49 2017 -0600 - - More nullptr fix - - Fixes https://github.com/behdad/harfbuzz/issues/585 - - src/test.cc | 4 +--- - 1 file changed, 1 insertion(+), 3 deletions(-) - -commit 5daf3bd4494cce6b4fb074533be9e99c4d9e0edd -Author: Behdad Esfahbod -Date: Fri Oct 27 16:34:01 2017 -0600 - - [glib/ucdn/icu/ft/ot] Make returned funcs inert - - Such that client cannot accidentally destroy them, even though that - will be a bug in their code... - - src/hb-ft.cc | 3 +++ - src/hb-glib.cc | 3 +++ - src/hb-icu.cc | 3 +++ - src/hb-object-private.hh | 37 +++++++++++++++++++++++++++++++------ - src/hb-ot-font.cc | 3 +++ - src/hb-ucdn.cc | 3 +++ - 6 files changed, 46 insertions(+), 6 deletions(-) - -commit bfa7f37a73508ca185cf2f3e06755db8c8258ddf -Author: Behdad Esfahbod -Date: Fri Oct 27 16:03:51 2017 -0600 - - Fix previous commit - - Oops. - - src/hb-glib.cc | 2 +- - src/hb-icu.cc | 2 +- - src/hb-ucdn.cc | 2 +- - 3 files changed, 3 insertions(+), 3 deletions(-) - -commit 8864864b624590d95ae5dca61956695cbff1269a -Author: Behdad Esfahbod -Date: Fri Oct 27 15:26:45 2017 -0600 - - [glib/icu/ucdn] Make the funcs object allocated on demand - - src/hb-glib.cc | 36 +++++++++++++++++++++++++++++------- - src/hb-icu.cc | 51 +++++++++++++++++++++++++++++++++++++-------------- - src/hb-ucdn.cc | 37 +++++++++++++++++++++++++++++-------- - 3 files changed, 95 insertions(+), 29 deletions(-) - -commit af3f72f9eb7d7b80ea827976a3303390b5deae8d -Author: Behdad Esfahbod -Date: Fri Oct 27 15:13:50 2017 -0600 - - Correctly mark NullPool const - - Saves some more code size as well! - - src/hb-open-type-private.hh | 2 +- - src/hb-ot-layout.cc | 2 +- - src/main.cc | 2 +- - 3 files changed, 3 insertions(+), 3 deletions(-) - -commit 51f4d4d5cd5a0dd1a581bee5b55b3cc0a74cbea3 -Author: Behdad Esfahbod -Date: Fri Oct 27 15:09:22 2017 -0600 - - Reduce prealloced number of user-data items from 2 to 1 - - Even 1 is too many but putting 0 breaks compile. Saves 3k in .so - - src/hb-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 3205de7906abab9d12e614e86e2c182a41420698 -Author: Behdad Esfahbod -Date: Fri Oct 27 15:01:40 2017 -0600 - - Make the NullPool HB_INTERNAL shared - - Saves 2k of .bss section. - - src/hb-open-type-private.hh | 10 ++++++---- - src/hb-ot-layout.cc | 3 +++ - src/main.cc | 1 + - 3 files changed, 10 insertions(+), 4 deletions(-) - -commit 7036f1d22c4001b79d3205c16aac3fefbfcaae24 -Author: Behdad Esfahbod -Date: Fri Oct 27 14:42:59 2017 -0600 - - [ot] Remove shaper name - - In ten years we never used them... - - src/hb-ot-shape-complex-arabic.cc | 1 - - src/hb-ot-shape-complex-default.cc | 1 - - src/hb-ot-shape-complex-hangul.cc | 1 - - src/hb-ot-shape-complex-hebrew.cc | 1 - - src/hb-ot-shape-complex-indic.cc | 1 - - src/hb-ot-shape-complex-myanmar.cc | 2 -- - src/hb-ot-shape-complex-private.hh | 2 -- - src/hb-ot-shape-complex-thai.cc | 1 - - src/hb-ot-shape-complex-tibetan.cc | 1 - - src/hb-ot-shape-complex-use.cc | 1 - - 10 files changed, 12 deletions(-) - -commit 4a27c17ea0234dfe33e62f5830d9f92c26d48d30 -Author: Behdad Esfahbod -Date: Fri Oct 27 14:29:12 2017 -0600 - - Fix IntType.cmp() to avoid narrowing down integer types - - Fixes https://github.com/behdad/harfbuzz/issues/571 - - src/hb-open-type-private.hh | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit 919b4b76a7b1f9dd7c71310a729982242f9060a5 -Author: Behdad Esfahbod -Date: Fri Oct 27 10:29:25 2017 -0600 - - Make c++11 optional - - Fixes https://github.com/behdad/harfbuzz/issues/585 - - configure.ac | 4 +- - m4/ax_cxx_compile_stdcxx.m4 | 982 ++++++++++++++++++++++++++++++++++++++++++++ - 2 files changed, 983 insertions(+), 3 deletions(-) - -commit 6c4689704071a76c49be819b8034feaf93e26a42 -Author: Behdad Esfahbod -Date: Fri Oct 27 10:24:58 2017 -0600 - - [m4] Update ax_pthread.m4 - - m4/ax_pthread.m4 | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 2e025507634e54a64fa5d0cbfefc4b65177c06c5 -Author: Behdad Esfahbod -Date: Fri Oct 27 10:23:01 2017 -0600 - - [git.mk] Update - - git.mk | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++-- - 1 file changed, 55 insertions(+), 2 deletions(-) - -commit 62e312ead808cec055049592b0d40aa3a8882bc9 -Author: Behdad Esfahbod -Date: Fri Oct 27 09:29:20 2017 -0600 - - Use NULL instead of polyfill, if nullptr is not available - - Part of fixing https://github.com/behdad/harfbuzz/issues/585 - - src/hb-private.hh | 22 +++------------------- - 1 file changed, 3 insertions(+), 19 deletions(-) - -commit 17f40b7cad240eadeccdf23eb11da7ed52252ca2 -Author: Behdad Esfahbod -Date: Fri Oct 27 09:22:30 2017 -0600 - - Include hb-private.hh more consistently - - Part of fixing https://github.com/behdad/harfbuzz/issues/585 - - src/test-buffer-serialize.cc | 4 +--- - src/test-size-params.cc | 4 +--- - src/test-would-substitute.cc | 4 +--- - util/ansi-print.hh | 1 + - util/helper-cairo-ansi.hh | 5 +++-- - util/helper-cairo.hh | 7 ++++--- - util/main-font-text.hh | 5 +++-- - util/options.hh | 11 +---------- - util/shape-consumer.hh | 5 +++-- - util/view-cairo.hh | 7 ++++--- - 10 files changed, 22 insertions(+), 31 deletions(-) - -commit 42d518513c683fd5e932898ceec891c3003d75e1 -Author: Behdad Esfahbod -Date: Fri Oct 27 00:25:11 2017 -0600 - - Towards compiling with pre-C++11 compilers and nullptr fallback - - https://github.com/behdad/harfbuzz/issues/585 - - src/hb-atomic-private.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 0e9256984e76f055f1868ecc497724977caba11d -Author: Behdad Esfahbod -Date: Thu Oct 26 20:34:04 2017 -0600 - - [post] Make format1 names array avoid relocations - - src/Makefile.sources | 1 + - src/hb-ot-post-macroman.hh | 294 +++++++++++++++++++++++++++++++++++++++++++++ - src/hb-ot-post-table.hh | 55 ++------- - 3 files changed, 305 insertions(+), 45 deletions(-) - -commit 2a749680441bbe6b4aa8134bb6ce9f21a8b1bc3c -Author: Behdad Esfahbod -Date: Thu Oct 26 19:48:33 2017 -0600 - - Add hb-string-array.hh - - Used to build static string arrays that use no relocation. - - src/Makefile.sources | 1 + - src/hb-private.hh | 6 ++-- - src/hb-string-array.hh | 74 ++++++++++++++++++++++++++++++++++++++++++++++++++ - 3 files changed, 79 insertions(+), 2 deletions(-) - -commit 6f08b12bc38166dee2f9740d396d617b32e887a3 -Author: Behdad Esfahbod -Date: Thu Oct 26 18:23:03 2017 -0600 - - Minor - - src/hb-private.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 223686d64f5e149ba8aa334a2a54bd5b22017d9e -Author: Behdad Esfahbod -Date: Thu Oct 26 12:52:02 2017 -0600 - - 1.6.3 - - NEWS | 9 +++++++++ - configure.ac | 2 +- - 2 files changed, 10 insertions(+), 1 deletion(-) - -commit 729c9e13355eefafdc0fdef9aa68bd792ca4dba4 -Author: David Corbett -Date: Thu Oct 26 10:29:28 2017 -0400 - - Include all relevant glyphs in the subsetted font - - test/shaping/record-test.sh | 2 ++ - 1 file changed, 2 insertions(+) - -commit cb6c6b0c425e560f32b297c15dc6775e297d5b1d -Author: Behdad Esfahbod -Date: Thu Oct 26 11:43:33 2017 -0600 - - Fix warning - - https://github.com/behdad/harfbuzz/commit/49a41dc75931cc2d2f7e74b7801f8cc327039e8e#commitcomment-25203194 - - test/api/test-set.c | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit dfd234a97d2e2f9908eaf0598de765f76ba86c82 -Author: Jonathan Kew -Date: Thu Oct 26 16:59:50 2017 +0100 - - [set] Fix page_map[] indexing in backward loop. - - Fixes https://github.com/behdad/harfbuzz/issues/579. - - src/hb-set-private.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 7339926525416620aa7922371775ed65eed4eae4 -Author: Jonathan Kew -Date: Thu Oct 26 12:55:36 2017 +0100 - - [test] Extend hb_set test for issue 579 (currently failing) - - test/api/test-set.c | 18 ++++++++++++++++++ - 1 file changed, 18 insertions(+) - -commit 3d6f7df42a87ef366197581cb4696c5f30c3bcbb -Author: Jonathan Kew -Date: Thu Oct 26 17:54:55 2017 +0100 - - [test] Additional coverage in test_set_iter. - - This adds a couple extra entries to the set used, such that iteration - would fail in 1.6.2 due to the bug in hb_set_t::page_t::next(). - - test/api/test-set.c | 12 ++++++++++++ - 1 file changed, 12 insertions(+) - -commit d511cfb5577a58e31d8dd4214750b0ad4efa625a -Author: Jonathan Kew -Date: Thu Oct 26 15:08:29 2017 +0100 - - [set] Bugfix for hb_set_next - - src/hb-set-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 92bac64bd2d5fffe70229790be27d335aa6c6de3 -Author: Behdad Esfahbod -Date: Wed Oct 25 18:22:47 2017 -0600 - - [post] Oops! - - https://ci.appveyor.com/project/behdad/harfbuzz/build/1.0.668/job/ikfj8peowgrp059t - - src/hb-ot-post-table.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 543bd58d7a4fbe285ec9304ff3223a728dbdbb76 -Author: Behdad Esfahbod -Date: Wed Oct 25 17:40:50 2017 -0600 - - [post] Touch up and fixes - - The get_glyph_from_name() is incorrect; needs fixing. - - src/hb-ot-font.cc | 9 ++-- - src/hb-ot-post-table.hh | 139 +++++++++++++++++++++++++++--------------------- - 2 files changed, 81 insertions(+), 67 deletions(-) - -commit d9e166f74c3ba3128c9ef3ccd8d7799e67f14eab -Author: Khaled Hosny -Date: Wed Oct 18 20:49:16 2017 +0200 - - [ot-font] Implement hb_ot_get_glyph_from_name - - src/hb-ot-font.cc | 22 ++++++++++++++++++- - src/hb-ot-post-table.hh | 58 +++++++++++++++++++++++++++++++++++++++++++++++++ - 2 files changed, 79 insertions(+), 1 deletion(-) - -commit 9d4d2fb9af446d5d41058fbb1da8117b3af048d3 -Author: Khaled Hosny -Date: Mon Oct 16 10:05:42 2017 +0200 - - [ot-font] Implement hb_ot_get_glyph_name - - Turns out we already have support for “post” table, it just needed to be - activated and put in use. - - src/hb-ot-font.cc | 46 ++++++++++++- - src/hb-ot-post-table.hh | 96 +++++++++++++++++++++++++++ - test/shaping/tests/fallback-positioning.tests | 2 +- - test/shaping/tests/indic-syllable.tests | 2 +- - test/shaping/tests/use.tests | 2 +- - 5 files changed, 143 insertions(+), 5 deletions(-) - -commit bf133497e53e8b1dcd22df62080d33e7f3d85b68 -Merge: fd786c768 49a41dc75 -Author: Behdad Esfahbod -Date: Wed Oct 25 17:23:20 2017 -0600 - - Merge commit '49a41dc75931cc2d2f7e74b7801f8cc327039e8e' - -commit 49a41dc75931cc2d2f7e74b7801f8cc327039e8e -Author: Behdad Esfahbod -Date: Wed Oct 25 16:17:45 2017 -0600 - - [test] Add more hb-set tests - - https://github.com/behdad/harfbuzz/issues/579 - - test/api/test-set.c | 40 ++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 40 insertions(+) - -commit fd786c768f838ab61090004dd46b8cefeb270dfd -Author: David Corbett -Date: Wed Oct 25 14:31:22 2017 -0400 - - Use `mktemp -d` instead of `mktemp --directory` - - test/shaping/record-test.sh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit c4944920c0c11d6424d600ebc9130c9055382f80 -Author: David Corbett -Date: Wed Oct 25 16:06:40 2017 -0400 - - Fix and run indic-script-extensions.tests - - test/shaping/Makefile.am | 1 + - test/shaping/tests/indic-script-extensions.tests | 2 +- - 2 files changed, 2 insertions(+), 1 deletion(-) - -commit d8df714251c61e13d7d12eb3f7393dd3a75a3719 -Author: David Corbett -Date: Wed Oct 25 16:06:01 2017 -0400 - - Fix code point iteration in narrow Python - - test/shaping/hb_test_tools.py | 27 ++++++++++++++++++++++++++- - 1 file changed, 26 insertions(+), 1 deletion(-) - -commit 33ca3b67bfb5d9ae4e490c796c93793a7e03ef2c -Author: Behdad Esfahbod -Date: Wed Oct 25 12:09:11 2017 -0400 - - Check for headers in builddir first, in check-*.sh - - Fixes https://bugs.freedesktop.org/show_bug.cgi?id=103346 - - src/check-c-linkage-decls.sh | 4 ++-- - src/check-externs.sh | 2 +- - src/check-header-guards.sh | 2 +- - src/check-includes.sh | 4 ++-- - 4 files changed, 6 insertions(+), 6 deletions(-) - -commit 9ac2e5c6c01db3ebe419e3aa07f4d1a3777d2bb6 -Author: Behdad Esfahbod -Date: Tue Oct 24 10:06:25 2017 -0400 - - check-externs.sh: Make output more verbose - - Trying to figure out why this is failing on some Debian bots: - https://bugs.freedesktop.org/show_bug.cgi?id=103346 - - Maybe I should check for GNU grep specifically now that I'm using -n as well. - - src/check-externs.sh | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 3b7388aab6889b5d1fc602b5780a7b29da84e100 -Author: Behdad Esfahbod -Date: Mon Oct 23 14:35:16 2017 -0400 - - 1.6.2 - - NEWS | 10 ++++++++++ - configure.ac | 2 +- - 2 files changed, 11 insertions(+), 1 deletion(-) - -commit 30a591e3cef67818ef1ffec92c6a022b5a5f5e77 -Author: Behdad Esfahbod -Date: Mon Oct 23 14:28:35 2017 -0400 - - [set] Rewrite another way :P - - src/hb-set-private.hh | 25 +++++++++++++------------ - 1 file changed, 13 insertions(+), 12 deletions(-) - -commit 8170801d78a5bf9480d8c06ade849b30bc4e2956 -Author: Behdad Esfahbod -Date: Mon Oct 23 14:26:48 2017 -0400 - - [set] Fix crash - - Ouch! That's what happens when one plays with increment/decrement operators! - - Fixes https://github.com/behdad/harfbuzz/issues/578 - - src/hb-set-private.hh | 10 ++++++---- - 1 file changed, 6 insertions(+), 4 deletions(-) - -commit 61d1c60a1c555c58205964df4e449ee57125a739 -Author: Behdad Esfahbod -Date: Mon Oct 23 13:10:21 2017 -0400 - - [RELEASING] Format - - RELEASING.md | 67 +++++++++++++++++++++++++++++++++++++++++++----------------- - 1 file changed, 48 insertions(+), 19 deletions(-) - -commit 6a2e1649debd992211bf96ef80d075d2d04a49ed -Author: Behdad Esfahbod -Date: Mon Oct 23 13:01:34 2017 -0400 - - [doap] Switch to github issues - - https://github.com/behdad/harfbuzz/pull/575#issuecomment-338514596 - - harfbuzz.doap | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 8a898c1929cf7ffc9b0011461b34281ecc98705c -Author: Behdad Esfahbod -Date: Mon Oct 23 13:00:36 2017 -0400 - - [RELEASING] Minor - - https://github.com/behdad/harfbuzz/pull/575 - - RELEASING.md | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 2ee710e02fad1a8a4b94589bb6f0b90e2aeb7121 -Author: Behdad Esfahbod -Date: Mon Oct 23 08:37:48 2017 -0400 - - Minor - - src/hb-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit dd33e4e96b9345a6b1a9051a6aa4b7d114c74f1e -Author: Behdad Esfahbod -Date: Mon Oct 23 08:36:40 2017 -0400 - - [set] Don't use major() - - Fixes https://github.com/behdad/harfbuzz/issues/577 - - src/hb-set-private.hh | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -commit d0f0ff85b9fe959ef4b90f8daf58be73fca49dd0 -Author: Behdad Esfahbod -Date: Mon Oct 23 08:34:30 2017 -0400 - - [set] Don't use PAGE_SIZE - - Fixes https://github.com/behdad/harfbuzz/issues/576 - - src/hb-set-private.hh | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - -commit 57cf978fa314bd87405a2b133e58fcb116e574a6 -Merge: ce9794544 6cc49762c -Author: Behdad Esfahbod -Date: Sun Oct 22 18:24:59 2017 -0400 - - Merge commit '6cc49762c4fdfd0e2770a84d1b1f055acf42376f' - -commit ce979454400c3870717ba40b1065a2f3727cfb93 -Author: Behdad Esfahbod -Date: Sun Oct 22 18:23:38 2017 -0400 - - [icu] Fix error check - - src/hb-icu.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 6cc49762c4fdfd0e2770a84d1b1f055acf42376f -Merge: 8b9d9b71b 19923279a -Author: ebraminio -Date: Mon Oct 23 01:48:22 2017 +0330 - - Merge pull request #575 from behdad/releasing-edit - - Clarify the last step of release - -commit 19923279abd4c7615e8b02e05a02ba18f5c0b298 -Author: ebraminio -Date: Mon Oct 23 01:47:51 2017 +0330 - - Clarify the last step of release - - RELEASING.md | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 8b9d9b71b04c9d5698ec146658b31381060c700d -Author: Behdad Esfahbod -Date: Sun Oct 22 17:48:06 2017 -0400 - - Fix set initialization issues - - src/hb-ot-layout-gsubgpos-private.hh | 12 ++++++------ - src/hb-ot-shape.cc | 17 +++++++++-------- - src/hb-set-private.hh | 9 --------- - src/hb-set.cc | 6 ++++-- - 4 files changed, 19 insertions(+), 25 deletions(-) - -commit 0ca915efc3734111a57ff71f05d9cbf0e8af3de9 -Author: Behdad Esfahbod -Date: Sun Oct 22 17:38:33 2017 -0400 - - 1.6.1 - - NEWS | 13 +++++++++++++ - configure.ac | 2 +- - 2 files changed, 14 insertions(+), 1 deletion(-) - -commit d59d5dc7d339deb45cc84cffd084b52752765a08 -Merge: ced86da7d 3ee15a603 -Author: Behdad Esfahbod -Date: Sun Oct 22 17:08:29 2017 -0400 - - Merge commit '3ee15a60358f4d894bbf2431d7a7df38b7acc4ce' - -commit ced86da7ddbbd0d64f8ba1290b8e67600b1db2d4 -Author: Behdad Esfahbod -Date: Sun Oct 22 17:03:36 2017 -0400 - - Another try at fixing mingw32 build bot fail - - src/hb-private.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit bc1183aa6ba45a527084d391d6e7f801d6196060 -Merge: d45a2138d bfe0faf1a -Author: Behdad Esfahbod -Date: Sun Oct 22 17:06:00 2017 -0400 - - Merge commit 'bfe0faf1a2d39302129a7202994456afd96694ca' - -commit 3ee15a60358f4d894bbf2431d7a7df38b7acc4ce -Author: Behdad Esfahbod -Date: Sun Oct 22 17:03:36 2017 -0400 - - Another try at fixing mingw32 build bot fail - - src/hb-private.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit bfe0faf1a2d39302129a7202994456afd96694ca -Author: Behdad Esfahbod -Date: Sun Oct 22 15:54:50 2017 -0400 - - [docs] Deprecate hb_set_invert() - - docs/harfbuzz-sections.txt | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit d45a2138d9d54eab158046d6503f1bb104efce25 -Merge: d8adaa97f 41b182519 -Author: ebraminio -Date: Sat Oct 21 10:19:55 2017 +0330 - - Merge pull request #572 from fanc999/master.msvc - - builds: Support HarfBuzz-GObject and introspection in CMake builds - -commit d8adaa97fbf33071b8a4b5c05c3f2f15f2fd22ea -Author: Behdad Esfahbod -Date: Fri Oct 20 13:57:43 2017 -0400 - - Another try at fixing build bots - - hb-ot-shape.cc:287:18: error: comparison of constant 32 with expression of type 'hb_unicode_general_category_t' is always true [-Werror,-Wtautological-constant-out-of-range-compare] - - src/hb-private.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 6058f98825e8f134893a1bbfb402e45d85b56ff0 -Author: Behdad Esfahbod -Date: Thu Oct 19 11:39:52 2017 -0700 - - Remove FLAG_SAFE() - - No flag is safe, over time... See previous commit. - - src/hb-ot-shape-complex-arabic.cc | 4 ++-- - src/hb-ot-shape-complex-indic.cc | 12 ++++++------ - src/hb-ot-shape-complex-use.cc | 2 +- - src/hb-private.hh | 5 ++--- - src/hb-unicode-private.hh | 4 ++-- - 5 files changed, 13 insertions(+), 14 deletions(-) - -commit 7c561dacc3c5fb9306db8bda27b7289331bd523f -Author: Behdad Esfahbod -Date: Thu Oct 19 11:35:51 2017 -0700 - - [myanmar] Fix unsafe usage of FLAG_SAFE() - - The commit f559c633073f63b9d87cb2440048b4413cfa1c05 caused - "undefined-shift" errors in Myanmar shaper as we changed the - numeric value of type D from 19 to 32 there, making the - "FLAG_SAFE (info.myanmar_category())" wrong. - - Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=3546 - - src/hb-ot-shape-complex-myanmar.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 41b1825196235d4337c76f97e09f0b7c6d6c56ae -Author: Chun-wei Fan -Date: Thu Oct 19 18:36:32 2017 +0800 - - CMake builds: Support introspection builds - - This adds support for introspection builds on Windows that is enabled by - the HB_HAVE_INTROSPECTION option, which will also enable HB_HAVE_GOBJECT - (and so HB_HAVE_GLIB) as they are required for introspection. - - In order for this to work one must ensure that the Python installation - listed in PYTHON_EXECUTABLE is the same Python release series that was - used to build _giscanner.pyd (the Python module that is used by - g-ir-scanner), with the same architecture. PKG_CONFIG_PATH and PATH - must be set correctly if $(PREFIX)\bin and/or $(PREFIX)\lib\pkgconfig - are not in the standard PATH and PKG_CONFIG_PATH, which is actually - in-line with the *NIX builds. - - CMakeLists.txt | 161 ++++++++++++++++++++++++++++++++++++++++++++++++++++++--- - 1 file changed, 154 insertions(+), 7 deletions(-) - -commit 53db221259b5eea4d2244321b2fe96beb39aef7d -Author: Chun-wei Fan -Date: Wed Oct 18 15:43:57 2017 +0800 - - CMake: Support building HarfBuzz-GObject - - This adds support to the CMake build files to support building - HarfBuzz-GObject, which is actually a little bit complicated, - as we need to: - - -Run glib-mkenums, which is a Python (for newer GLib/GObject) or PERL - (for older, pre 2.53.4, GLib/GObject) script. This matters more for - Visual Studio builds as shebang lines are not supported, so we need to - test-run it with PERL or Python to determine which is the correct - interpretor to use. - - -Next, we need to replace strings in the sources that we obtain from - running glib-mkenums. So, the solution here is to use a small utility - CMake script for our purposes here, to maintain maximum compatibility. - - -Ensure that things do work in the Visual Studio IDE builds. - - CMakeLists.txt | 128 +++++++++++++++++++++++++++++++++++++++++++++ - Makefile.am | 1 + - replace-enum-strings.cmake | 21 ++++++++ - 3 files changed, 150 insertions(+) - -commit 162575f2c69f519aae1b18ff1c501e7e4c2cdd4b -Author: Chun-wei Fan -Date: Wed Oct 18 22:27:28 2017 +0800 - - CMake builds: Fix builds - - Include the fallback sources in the build, and update - src/Makefile.sources so that it can be read by the CMake build files. - - Fix a typo in the DirectWrite configure option so that we can properly - enable DirectWrite builds. - - Also, when building the utility program, install them as well. - - CMakeLists.txt | 21 ++++++++++++++++++++- - src/Makefile.sources | 4 +++- - 2 files changed, 23 insertions(+), 2 deletions(-) - -commit d6f612fac800c31989c298b5101845baed2297b1 -Author: Behdad Esfahbod -Date: Tue Oct 17 16:32:12 2017 -0700 - - [bsearch] Micro-optimization - - src/hb-open-type-private.hh | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 41b1984be946cc2f53313dd48eac392cc8a3ad2b -Author: Fredrik Roubert -Date: Tue Oct 17 15:06:31 2017 -0700 - - Switch from ICU deprecated unorm_normalize to unorm2_normalize. (#569) - - The new unorm2_normalize has been public API since ICU 4.4, while - the old unorm_normalize has been deprecated since ICU 56. - - Now, beginning with ICU 60, unorm_normalize will also be annotated - U_DEPRECATED and trigger the compiler -Wdeprecated-declarations warning. - - src/hb-icu.cc | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - -commit b98adefbb9ee45fc1e800a52f701bf4224e9bb81 -Author: Behdad Esfahbod -Date: Tue Oct 17 12:00:34 2017 -0700 - - Update docs symbols - - docs/harfbuzz-sections.txt | 2 ++ - 1 file changed, 2 insertions(+) - -commit ba8b56960733b25bbb88fbdb60e7e244127d6e0c -Author: Behdad Esfahbod -Date: Tue Oct 17 11:16:36 2017 -0700 - - Try fixing build on VC - - c:\projects\harfbuzz\src\hb-set-private.hh(151): error C2327: 'hb_set_t::page_t::v': is not a type name, static, or enumerator [C:\projects\harfbuzz\build\harfbuzz.vcxproj] - - src/hb-set-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 80cc0a7e3e05fb7fcfbdc0188cb60b115ad47d04 -Author: Behdad Esfahbod -Date: Tue Oct 17 11:14:48 2017 -0700 - - [coretext] Fix build - - error: static_assert expression is not an integral constant expression - - src/hb-coretext.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit a11249ee93439856ea2410524b993ac1f1379961 -Author: Behdad Esfahbod -Date: Mon Oct 16 01:33:32 2017 -0400 - - [set] Fix merge logic - - src/hb-set-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit ab8f327eb47184409d9e9208ca46b631d1afd0d4 -Author: Behdad Esfahbod -Date: Sun Oct 15 18:21:35 2017 -0400 - - Ouch. - - src/hb-set-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit bb9917913f735855aea54f41f10e0c7be3632e88 -Author: Behdad Esfahbod -Date: Sun Oct 15 18:20:25 2017 -0400 - - [set] Disable vectorization - - Fixes clang "non-const reference cannot bind to vector element" error. - - src/hb-set-private.hh | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit 221ce6c18f2a1e878b68eb0a97f235efa4c044d3 -Author: Behdad Esfahbod -Date: Sun Oct 15 17:58:58 2017 -0400 - - Fix bots - - src/hb-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 0cf7d957b7ffb17c4cec75b631c9829327ab5d52 -Author: Behdad Esfahbod -Date: Sun Oct 15 17:01:31 2017 -0400 - - [set] Remove TODO items not worth pursuing - - src/hb-set-private.hh | 2 -- - 1 file changed, 2 deletions(-) - -commit 10d43658e7655b36cb86e674dde8af4036b7cc52 -Author: Behdad Esfahbod -Date: Sun Oct 15 16:56:05 2017 -0400 - - [set] Speed up intersects() - - src/hb-set-private.hh | 8 ++------ - 1 file changed, 2 insertions(+), 6 deletions(-) - -commit 56ef4e0c52d5b474518bf0c1e4adba80f2ae6946 -Author: Behdad Esfahbod -Date: Sun Oct 15 16:38:29 2017 -0400 - - Simplify hb_prealloced_array_t initialization - - src/hb-private.hh | 13 +++++++------ - 1 file changed, 7 insertions(+), 6 deletions(-) - -commit 7737e87ac4582d57945f3ffbbae1012f62c6b482 -Author: Behdad Esfahbod -Date: Sun Oct 15 16:21:03 2017 -0400 - - Properly detect vector_size attribute and use fallback otherwise - - src/hb-private.hh | 67 +++++++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-set-private.hh | 62 ++--------------------------------------------- - 2 files changed, 69 insertions(+), 60 deletions(-) - -commit f8a0ec50e23264fdfe9e3a5a2e0453a87f415b3d -Author: Behdad Esfahbod -Date: Sun Oct 15 16:10:35 2017 -0400 - - [set] Add fallback implementation of int-vector type - - src/hb-set-private.hh | 64 ++++++++++++++++++++++++++++++++++++--------------- - 1 file changed, 45 insertions(+), 19 deletions(-) - -commit deed4a48d15d4a475f8695aa3269547adf63867a -Author: Behdad Esfahbod -Date: Sun Oct 15 16:53:09 2017 +0200 - - Faster hb_set_t - - Fixes https://github.com/behdad/harfbuzz/pull/23 - - src/hb-private.hh | 56 ++++--- - src/hb-set-private.hh | 431 +++++++++++++++++++++++++++++++++++++++++--------- - test/api/test-set.c | 6 - - 3 files changed, 391 insertions(+), 102 deletions(-) - -commit 1d3971200be5b1c949d3eca185654e48584a0868 -Author: Behdad Esfahbod -Date: Sun Oct 15 16:15:24 2017 +0200 - - Deprecate hb_set_invert() - - src/hb-deprecated.h | 4 ++++ - src/hb-set.cc | 3 ++- - src/hb-set.h | 3 --- - 3 files changed, 6 insertions(+), 4 deletions(-) - -commit 5e74044b6bd78c495561eb7d2981415d2c3336f4 -Author: Behdad Esfahbod -Date: Sun Oct 15 16:15:06 2017 +0200 - - Add bfind() to prealloaced_array_t - - src/hb-private.hh | 31 ++++++++++++++++--------------- - 1 file changed, 16 insertions(+), 15 deletions(-) - -commit db5f7ef18916abb0907bc8b569a65c9c6bbd4015 -Author: Behdad Esfahbod -Date: Sun Oct 15 16:00:22 2017 +0200 - - Inline another bsearch() - - src/hb-ot-map-private.hh | 4 ++-- - src/hb-private.hh | 32 ++++++++++++++++++++++++++++---- - 2 files changed, 30 insertions(+), 6 deletions(-) - -commit 6fb4ac73f94636d19fcac143472b84f9d91985c9 -Author: Behdad Esfahbod -Date: Sun Oct 15 16:00:09 2017 +0200 - - Add popcount for 64bit ints - - src/hb-private.hh | 12 ++++++++++++ - 1 file changed, 12 insertions(+) - -commit 473b17af4d421f4ce7ac18c769731bb2aa4088f8 -Author: Behdad Esfahbod -Date: Sun Oct 15 14:10:34 2017 +0200 - - Remove unused hb_cache_t - - src/Makefile.sources | 1 - - src/hb-cache-private.hh | 74 ------------------------------------------------- - src/hb-ft.cc | 2 -- - 3 files changed, 77 deletions(-) - -commit a433e60a43c4594c41a82c3741d3f870f6eec247 -Author: Behdad Esfahbod -Date: Sun Oct 15 14:09:46 2017 +0200 - - Remove unused hb_frozen_set_t - - src/hb-set-private.hh | 55 --------------------------------------------------- - 1 file changed, 55 deletions(-) - -commit 826a1daf2f2075459ff25a20ed8abec030d95c52 -Author: Behdad Esfahbod -Date: Sun Oct 15 14:09:05 2017 +0200 - - Move set-digests into their own header file - - src/Makefile.sources | 1 + - src/hb-ot-layout-private.hh | 2 +- - src/hb-set-digest-private.hh | 144 +++++++++++++++++++++++++++++++++++++++++++ - src/hb-set-private.hh | 113 --------------------------------- - 4 files changed, 146 insertions(+), 114 deletions(-) - -commit 3c13e153fe89d559d33027c0a5b30a19a6de1bad -Author: Behdad Esfahbod -Date: Sun Oct 15 14:02:58 2017 +0200 - - Try fixing AppVeyor bots - - src/hb-private.hh | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 7e3015a315afe2312134ac33b9cb2d73689a044f -Author: Behdad Esfahbod -Date: Sun Oct 15 12:13:19 2017 +0200 - - Fix warnings - - src/hb-font.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 2075008f3e0b1cfbd7006f1d8c1fa22ac014f4bb -Author: Behdad Esfahbod -Date: Sun Oct 15 12:12:10 2017 +0200 - - Use C++11 - - configure.ac | 3 +++ - 1 file changed, 3 insertions(+) - -commit dbdbfe3d7b36613d893832dcb1884c756c20bfda -Author: Behdad Esfahbod -Date: Sun Oct 15 12:11:08 2017 +0200 - - Use nullptr instead of NULL - - src/hb-blob.cc | 12 ++-- - src/hb-buffer-serialize.cc | 16 ++--- - src/hb-buffer.cc | 10 +-- - src/hb-common.cc | 18 ++--- - src/hb-coretext.cc | 66 ++++++++--------- - src/hb-directwrite.cc | 28 ++++---- - src/hb-face.cc | 10 +-- - src/hb-font.cc | 32 ++++----- - src/hb-ft.cc | 56 +++++++-------- - src/hb-glib.cc | 2 +- - src/hb-gobject-structs.cc | 2 +- - src/hb-graphite2.cc | 26 +++---- - src/hb-icu.cc | 4 +- - src/hb-mutex-private.hh | 2 +- - src/hb-object-private.hh | 2 +- - src/hb-open-type-private.hh | 32 ++++----- - src/hb-ot-cbdt-table.hh | 4 +- - src/hb-ot-cmap-table.hh | 2 +- - src/hb-ot-font.cc | 42 +++++------ - src/hb-ot-layout-common-private.hh | 14 ++-- - src/hb-ot-layout-gsub-table.hh | 2 +- - src/hb-ot-layout-gsubgpos-private.hh | 54 +++++++------- - src/hb-ot-layout-jstf-table.hh | 4 +- - src/hb-ot-layout.cc | 30 ++++---- - src/hb-ot-map-private.hh | 6 +- - src/hb-ot-map.cc | 4 +- - src/hb-ot-math-table.hh | 8 +-- - src/hb-ot-shape-complex-arabic-fallback.hh | 8 +-- - src/hb-ot-shape-complex-arabic.cc | 32 ++++----- - src/hb-ot-shape-complex-default.cc | 22 +++--- - src/hb-ot-shape-complex-hangul.cc | 12 ++-- - src/hb-ot-shape-complex-hebrew.cc | 18 ++--- - src/hb-ot-shape-complex-indic.cc | 12 ++-- - src/hb-ot-shape-complex-myanmar.cc | 40 +++++------ - src/hb-ot-shape-complex-private.hh | 26 +++---- - src/hb-ot-shape-complex-thai.cc | 22 +++--- - src/hb-ot-shape-complex-tibetan.cc | 20 +++--- - src/hb-ot-shape-complex-use.cc | 16 ++--- - src/hb-ot-shape-private.hh | 2 +- - src/hb-ot-shape.cc | 8 +-- - src/hb-ot-tag.cc | 2 +- - src/hb-ot-var.cc | 2 +- - src/hb-private.hh | 37 +++++----- - src/hb-set-private.hh | 2 +- - src/hb-shape-plan.cc | 24 +++---- - src/hb-shape.cc | 8 +-- - src/hb-shaper-private.hh | 6 +- - src/hb-shaper.cc | 6 +- - src/hb-ucdn.cc | 2 +- - src/hb-unicode.cc | 4 +- - src/hb-uniscribe.cc | 50 ++++++------- - src/main.cc | 4 +- - src/test-buffer-serialize.cc | 8 +-- - src/test-size-params.cc | 6 +- - src/test-would-substitute.cc | 8 +-- - src/test.cc | 12 ++-- - util/ansi-print.cc | 2 +- - util/hb-fc.cc | 6 +- - util/hb-ot-shape-closure.cc | 10 +-- - util/hb-shape.cc | 14 ++-- - util/helper-cairo.cc | 12 ++-- - util/main-font-text.hh | 4 +- - util/options.cc | 110 ++++++++++++++--------------- - util/options.hh | 56 +++++++-------- - util/shape-consumer.hh | 10 +-- - 65 files changed, 563 insertions(+), 568 deletions(-) - -commit fbb937b6807597c9ae002280c6a6278a97b701f3 -Author: Behdad Esfahbod -Date: Sun Oct 15 12:04:16 2017 +0200 - - Don't use NULL in public headers - - src/hb-buffer.h | 4 ++-- - src/hb-common.h | 2 +- - 2 files changed, 3 insertions(+), 3 deletions(-) - -commit c3448e8d21963eb7fc357a37a7a426a4bf130ef3 -Author: Behdad Esfahbod -Date: Sun Oct 15 12:02:00 2017 +0200 - - Use static_assert instead of custom ASSERT_STATIC - - src/hb-buffer-private.hh | 4 ++-- - src/hb-buffer.cc | 2 +- - src/hb-cache-private.hh | 4 ++-- - src/hb-coretext.cc | 2 +- - src/hb-open-type-private.hh | 6 +++--- - src/hb-ot-layout-common-private.hh | 2 +- - src/hb-ot-layout-gdef-table.hh | 6 +++--- - src/hb-ot-layout.cc | 14 ++++++------ - src/hb-ot-map.cc | 2 +- - src/hb-ot-math-table.hh | 4 ++-- - src/hb-ot-shape-complex-arabic-fallback.hh | 6 +++--- - src/hb-ot-shape-complex-indic.cc | 2 +- - src/hb-ot-shape-complex-use.cc | 2 +- - src/hb-private.hh | 34 +++++++++++++----------------- - src/hb-set-private.hh | 8 +++---- - src/hb-uniscribe.cc | 2 +- - util/options.cc | 3 ++- - 17 files changed, 50 insertions(+), 53 deletions(-) - -commit 76dcbf8b23475b25f8f1918f982bfd8f0dd3456e -Author: Behdad Esfahbod -Date: Sun Oct 15 11:24:35 2017 +0200 - - Add polyfill for static_assert and nullptr - - Also fix hb_assert_constant_t. - - src/hb-private.hh | 38 ++++++++++++++++++++++++++++++++++---- - 1 file changed, 34 insertions(+), 4 deletions(-) - -commit dad431e75bf998dcb09cff795c0f1083b3bd5449 -Author: Behdad Esfahbod -Date: Sun Oct 15 10:55:32 2017 +0200 - - [util] Include hb-private.hh - - Simplifies compatibility issues by centralizing all boilerplate code - in hb-private.hh. - - util/options.hh | 31 +++++-------------------------- - 1 file changed, 5 insertions(+), 26 deletions(-) - -commit 81e2b9b8a959cb7d7503f58fca70761238697fc1 -Author: Behdad Esfahbod -Date: Sun Oct 15 10:48:19 2017 +0200 - - Never skip over CGJ - - We might want to tweak this some more. For now, never skipping over - it is better behavior than always skipping. - - Part of https://github.com/behdad/harfbuzz/issues/554 - - src/hb-ot-layout-private.hh | 19 +++++++++++-------- - .../bf962d3202883a820aed019d9b5c1838c2ff69c6.ttf | Bin 0 -> 2468 bytes - test/shaping/tests/default-ignorables.tests | 1 + - 3 files changed, 12 insertions(+), 8 deletions(-) - -commit 25846cc39fb8a9516b8de4333f909851d471156f -Author: Behdad Esfahbod -Date: Fri Oct 13 16:30:33 2017 +0200 - - 1.6.0 - - NEWS | 35 +++++++++++++++++++++++++++++++++++ - configure.ac | 2 +- - docs/harfbuzz-docs.xml | 4 ++++ - 3 files changed, 40 insertions(+), 1 deletion(-) - -commit 74f1b88e3720103562552780af7058131c5492d5 -Author: Behdad Esfahbod -Date: Fri Oct 13 11:01:55 2017 +0200 - - [ucdn] Fix compiler warnings - - src/hb-ucdn.cc | 21 +++++++++++++-------- - 1 file changed, 13 insertions(+), 8 deletions(-) - -commit c2cf68dbdffcbf45297dd161b4b6b2de667b5ae4 -Author: Behdad Esfahbod -Date: Fri Oct 13 10:30:19 2017 +0200 - - [coretext] Fix build - - src/hb-coretext.cc | 11 ++++++++--- - 1 file changed, 8 insertions(+), 3 deletions(-) - -commit 95883fc5d486ecd194253bb223802f930de73e28 -Author: Behdad Esfahbod -Date: Fri Oct 13 10:21:07 2017 +0200 - - [coretext] Pass correct font size to CoreText - - CoreText "point"s are not typographic points, but CSS pixels. Ie. - they are 96 per inch, not 72 per inch. - - src/hb-coretext.cc | 18 +++++++++++------- - 1 file changed, 11 insertions(+), 7 deletions(-) - -commit 4f9a83ec2109b754a75c962e88117d063e6fed43 -Merge: fa48ccbe1 40b05d7b7 -Author: Behdad Esfahbod -Date: Thu Oct 12 14:08:58 2017 +0200 - - Merge remote-tracking branch 'origin/master' - -commit fa48ccbe127a2e61ab316f3638e4056940964dae -Author: Behdad Esfahbod -Date: Thu Oct 12 14:07:37 2017 +0200 - - [indic] Special-case Kannada Ra,H,ZWJ sequence - - Fixes https://github.com/behdad/harfbuzz/issues/435 - - src/hb-ot-shape-complex-indic.cc | 15 +++++++++++++++ - test/shaping/Makefile.am | 1 + - .../sha1sum/3cae6bfe5b57c07ba81ddbd54c02fe4f3a1e3bf6.ttf | Bin 0 -> 2984 bytes - test/shaping/tests/indic-special-cases.tests | 3 +++ - 4 files changed, 19 insertions(+) - -commit 40b05d7b770b8045f176f66231c412b32482d874 -Author: n8willis -Date: Thu Oct 12 12:48:48 2017 +0100 - - Replacing 'cluster' with 'syllable' when comments describe certain Indic shaping behavior (#563) - - * Clarified wording of syllable/cluster behavior in Uniscribe in final_reordering; changed one other probable typo. - - * Additional syllable/cluster swap in comments for final reordering and for initial-reordering matra decomposition. - - src/hb-ot-shape-complex-indic.cc | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - -commit 6bac4ac2bebb612debecc8ec10b845e977c0afe1 -Author: ebraminio -Date: Thu Oct 12 15:15:49 2017 +0330 - - Minor BUILD.md fix (#565) - - BUILD.md | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 8923033eb2dab75e9361e9ea1333deb1213393ce -Author: Behdad Esfahbod -Date: Thu Oct 12 12:01:48 2017 +0200 - - [coretext] Use fabs() to silence compiler warning - - src/hb-coretext.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit dd4b321b4a429c6e6a28441ea9ae52f8f9dd1dad -Author: Dominik Röttsches -Date: Thu Oct 12 11:49:37 2017 +0200 - - [coretext] Activate tracking for system fonts - - Another attempt at fully fixing - https://github.com/behdad/harfbuzz/issues/360 - - src/hb-coretext.cc | 28 +++++++++++++++++++++++++++- - 1 file changed, 27 insertions(+), 1 deletion(-) - -commit 6760021d6f4beef852c6560607b32090bcfa5acb -Author: Khaled Hosny -Date: Thu Oct 12 12:05:08 2017 +0300 - - CMakelists.txt fix for Freetype builds (#564) - - Instead of searching for freetype using pkg-config, use the FindFreetype - feature of CMake. This allows for better integration with other projects - that make use of CMake. - - Fixes https://github.com/behdad/harfbuzz/issues/518 - - CMakeLists.txt | 24 +++++++----------------- - 1 file changed, 7 insertions(+), 17 deletions(-) - -commit 6a2cbc6ef51680309eb3970ed9c66ff766dc8040 -Author: Behdad Esfahbod -Date: Thu Oct 12 10:46:09 2017 +0200 - - [coretext] Use fabsf() instead of abs() - - Fixes bots. - - Link libharfbuzz.so with -lm. Surprising that we survived without - it so far! - - src/Makefile.am | 2 +- - src/harfbuzz.pc.in | 2 +- - src/hb-coretext.cc | 5 +++-- - 3 files changed, 5 insertions(+), 4 deletions(-) - -commit dfeccd073a5e78f6a2c630355c04121b70d2b4aa -Author: ebraminio -Date: Thu Oct 12 12:11:47 2017 +0330 - - Remove nmake port of harfbuzz (#562) - - BUILD.md | 12 ++- - Makefile.am | 2 +- - appveyor.yml | 30 ------ - configure.ac | 2 - - win32/Makefile.am | 18 ---- - win32/Makefile.vc | 67 ------------ - win32/README.txt | 97 ----------------- - win32/build-rules-msvc.mak | 130 ----------------------- - win32/config-msvc.mak | 230 ---------------------------------------- - win32/config.h.win32.in | 158 --------------------------- - win32/create-lists-msvc.mak | 147 ------------------------- - win32/create-lists.bat | 42 -------- - win32/detectenv-msvc.mak | 146 ------------------------- - win32/generate-msvc.mak | 39 ------- - win32/hb-introspection-msvc.mak | 42 -------- - win32/info-msvc.mak | 162 ---------------------------- - win32/install.mak | 25 ----- - win32/introspection-msvc.mak | 73 ------------- - win32/pc_base.py | 124 ---------------------- - win32/replace.py | 115 -------------------- - win32/sed-enums-srcs.py | 36 ------- - win32/setup.py | 62 ----------- - 22 files changed, 9 insertions(+), 1750 deletions(-) - -commit 4e4781319b36bba154f3e5d4eb678945d8f6b4fc -Author: Behdad Esfahbod -Date: Thu Oct 12 10:33:16 2017 +0200 - - [ft] Add hb_ft_font_changed() - - When the font size or variations settings on underlying FT_Face change, - one can call hb_ft_font_changed() and continue using hb_font created using - hb_ft_font_create(). - - Fixes https://github.com/behdad/harfbuzz/issues/559 - - New API: - hb_ft_font_changed() - - docs/harfbuzz-sections.txt | 1 + - src/hb-ft.cc | 15 +++++++++++++-- - src/hb-ft.h | 8 +++++++- - 3 files changed, 21 insertions(+), 3 deletions(-) - -commit 94b3cafc3a042aea69ee7040227557fe98a21d87 -Author: Behdad Esfahbod -Date: Wed Oct 11 17:22:44 2017 +0200 - - Add hb_face_get_table_tags() - - New API: - hb_face_get_table_tags() - - Fixes https://github.com/behdad/harfbuzz/issues/560 - - src/hb-face.cc | 29 +++++++++++++++++++++++++++++ - src/hb-face.h | 5 +++++ - src/hb-open-file-private.hh | 18 ++++++++++++++++++ - 3 files changed, 52 insertions(+) - -commit e1b6d923021f68713784e2fd68f631c053ef3497 -Author: Behdad Esfahbod -Date: Wed Oct 11 15:51:31 2017 +0200 - - Remove cast of functions to (hb_destroy_func_t) - - Fixes https://github.com/behdad/harfbuzz/issues/474 - - src/hb-blob.cc | 8 +++++++- - src/hb-coretext.cc | 10 ++++++++-- - src/hb-face.cc | 6 ++++-- - src/hb-ft.cc | 20 +++++++++++--------- - src/hb-glib.cc | 9 ++++++++- - src/hb-ot-font.cc | 6 ++++-- - 6 files changed, 42 insertions(+), 17 deletions(-) - -commit 717fcb51dd051ca27d8537e5cf3a32d0447f78b5 -Author: Behdad Esfahbod -Date: Wed Oct 11 15:38:21 2017 +0200 - - [coretext] Minor - - src/hb-coretext.cc | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 374bb48d902025e8b8d8acbe525ff43540daee36 -Author: Behdad Esfahbod -Date: Wed Oct 11 15:37:50 2017 +0200 - - Change ptem API to make 0 mean unset - - src/hb-font.cc | 5 ++--- - src/hb-font.h | 2 +- - 2 files changed, 3 insertions(+), 4 deletions(-) - -commit 06c14225b20aa43ae88d362be2de577f6cf3f7b9 -Author: Behdad Esfahbod -Date: Wed Oct 11 15:29:53 2017 +0200 - - [coretext] Minor - - src/hb-coretext.cc | 1 + - 1 file changed, 1 insertion(+) - -commit a4b46212c5e76494cfde5af6f299e08902aff0d5 -Author: Behdad Esfahbod -Date: Wed Oct 11 15:29:22 2017 +0200 - - [coretext] Adjust font size check for 0 - - src/hb-coretext.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 269cf1ca82c34c6f6ea126e7333743e5c381453b -Author: Behdad Esfahbod -Date: Wed Oct 11 15:24:22 2017 +0200 - - Correctly initialize ptem - - src/hb-font.cc | 1 + - 1 file changed, 1 insertion(+) - -commit 84686bf4c75c001e7cfb2eabdf391b2e76cae335 -Author: Behdad Esfahbod -Date: Wed Oct 11 15:02:48 2017 +0200 - - [coretext-aat] Also pass through CoreText if font has kerx table - - SFNSText has kerx table which apparently is applied. - - src/hb-coretext.cc | 20 +++++++++----------- - src/hb-coretext.h | 1 + - 2 files changed, 10 insertions(+), 11 deletions(-) - -commit 296d0134c9d04c82cc0bffd545b0fd9a308a2530 -Author: Behdad Esfahbod -Date: Wed Oct 11 14:09:30 2017 +0200 - - [coretext] Change default point size to 12 - - src/hb-coretext.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 7b23c286a71883ac3e5777a2dee262af48c76854 -Merge: 8d450dd18 a5ebe1d4a -Author: Behdad Esfahbod -Date: Wed Oct 11 13:35:32 2017 +0200 - - Merge branch 'coretext-optical-sizing' - - Should fix https://github.com/behdad/harfbuzz/issues/360 - -commit a5ebe1d4aec41bc5e289a7969e5e5f7bb57733b6 -Author: Dominik Röttsches -Date: Wed Oct 11 13:32:38 2017 +0200 - - [coretext] Recreate CTFont if pt size changed - - Attempt at fixing #360 - - src/hb-coretext.cc | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit db7a73ce0781d1fec0235e419ac448565dcfc8ca -Author: Dominik Röttsches -Date: Wed Oct 11 13:24:39 2017 +0200 - - [coretext] Fix build - - src/hb-coretext.cc | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit f33413075655e6383cd16bc31f0bf804dcec1c64 -Author: Behdad Esfahbod -Date: Wed Oct 11 13:17:46 2017 +0200 - - [coretext] Another try - - src/hb-coretext.cc | 32 +++++++++++++------------------- - 1 file changed, 13 insertions(+), 19 deletions(-) - -commit a8e466c3c12a3499028cb576721e5f85ff4cbf2d -Author: Behdad Esfahbod -Date: Wed Oct 11 13:05:59 2017 +0200 - - [coretext] Move CT_Font to font data - - Towards implementing optical sizing. Untested; won't compile. - - https://github.com/behdad/harfbuzz/issues/360 - - src/hb-coretext.cc | 85 ++++++++++++++++++++++++------------------------------ - 1 file changed, 37 insertions(+), 48 deletions(-) - -commit f9b4c6570a4725eec5393f86e6468a189ac8c6be -Author: Behdad Esfahbod -Date: Wed Oct 11 12:51:25 2017 +0200 - - [coretext] Move font size to a macro - - src/hb-coretext.cc | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 8d450dd188dea2d63a03f74d903a76741de8a217 -Author: Behdad Esfahbod -Date: Wed Oct 11 12:43:46 2017 +0200 - - Infrastructure for creating CTFont with correct font size - - https://github.com/behdad/harfbuzz/issues/360 - - src/hb-shaper-private.hh | 12 ++++++++++++ - 1 file changed, 12 insertions(+) - -commit 16d02a58cf187dbcecc1c796acdc5d3a70ca288e -Author: Behdad Esfahbod -Date: Wed Oct 11 12:28:06 2017 +0200 - - [coretext] Change default font size from 36 to 18 - - src/hb-coretext.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit c0c2dbc871667c32ac8eedb11de64078ef24a429 -Author: Behdad Esfahbod -Date: Wed Oct 11 12:23:35 2017 +0200 - - Remove dirty tracking - - Turns out I don't need this to resolve CoreText optical sizing - issue after all. - - https://github.com/behdad/harfbuzz/issues/360 - - src/hb-face-private.hh | 9 --------- - src/hb-face.cc | 17 ----------------- - src/hb-font-private.hh | 13 ------------- - src/hb-font.cc | 39 --------------------------------------- - 4 files changed, 78 deletions(-) - -commit b57f18da700837a57df9606290160ea6e96accc8 -Author: Behdad Esfahbod -Date: Wed Oct 11 11:47:47 2017 +0200 - - Add hb_font_[sg]et_ptem() to set/get point size on font - - New API: - hb_font_set_ptem() - hb_font_get_ptem() - - Needed for hb-coretext optical sizing: - https://github.com/behdad/harfbuzz/issues/360 - - docs/harfbuzz-sections.txt | 2 ++ - src/hb-font-private.hh | 5 ++++- - src/hb-font.cc | 41 +++++++++++++++++++++++++++++++++++++++++ - src/hb-font.h | 10 ++++++++++ - 4 files changed, 57 insertions(+), 1 deletion(-) - -commit 3f9370d9e5051b1abf2fc94be2e10a39c8069f75 -Author: Behdad Esfahbod -Date: Wed Oct 11 11:34:53 2017 +0200 - - Fix TODO item - - src/hb-font.cc | 13 ++++++++++++- - 1 file changed, 12 insertions(+), 1 deletion(-) - -commit 5f50f8837f918ca1d176355d1538e0e6c9703f41 -Author: Behdad Esfahbod -Date: Sat Oct 7 13:17:33 2017 +0200 - - [arabic] Fix cluster merging - - src/hb-ot-shape-complex-arabic.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit c2545b921523538e8237ff6a2591f6cb75ee79f1 -Author: Behdad Esfahbod -Date: Sat Oct 7 12:56:53 2017 +0200 - - Add check for HB_EXTERNs - - https://github.com/behdad/harfbuzz/pull/555 - - src/Makefile.am | 1 + - src/check-externs.sh | 21 +++++++++++++++++++++ - 2 files changed, 22 insertions(+) - -commit 48a9406839f086735a05a2f1a07987b8a6bd6d33 -Author: fanc999 -Date: Sat Oct 7 18:57:14 2017 +0800 - - Fix build of HarfBuzz tools and HarfBuzz-GObject on Visual Studio (#555) - - * hb-buffer.h: Mark hb_buffer_diff() for export - - This will fix the tools builds on Visual Studio, as the symbol is used - by the tools. - - * build: Adapt NMake Makefiles for GLib 2.53.4 or later - - glib-mkenums was ported from a PERL script to a Python script, so we - need to update how we generate the enum sources for HarfBuzz-GObject in - the NMake builds. Let this be known in the build documentation for MSVC - builds. - - One of the problems with the underlying cmd.exe that the NMake Makefiles - run on is that shebang lines are not recognized, so we need to to test - run the script with Python and see whether it succeeded by outputing a - source file that is larger than 0 in file size (since running the PERL - version of the script will clearly fail and cause an empty file to be - created). - - If it succeeds, we then run a small Python utility script that makes the - necessary string replacements, and we are done. If that fails, then we - run the glib-mkenums script with PERL, and do the replacements with the - PERL one-liners as we did before. - - We need to make replace.py use latin-1 encoding when using Python 3.x to - cope with the copyright sign that is in the generated enum sources. - - src/hb-buffer.h | 2 +- - win32/Makefile.am | 4 +++- - win32/README.txt | 5 +++-- - win32/generate-msvc.mak | 17 ++++++++++++----- - win32/info-msvc.mak | 5 ++++- - win32/replace.py | 2 +- - win32/sed-enums-srcs.py | 36 ++++++++++++++++++++++++++++++++++++ - 7 files changed, 60 insertions(+), 11 deletions(-) - -commit c9e2cf6f55c7682b8e7020654945ddd074ebfd24 -Author: Behdad Esfahbod -Date: Wed Oct 4 16:59:22 2017 +0200 - - [ot] Remove 'mal' and 'gle' lang tags - - Fixes https://github.com/behdad/harfbuzz/issues/477 - - src/hb-ot-tag.cc | 2 -- - 1 file changed, 2 deletions(-) - -commit 621c49cb8657a79ee6897c4d313d0e825b2b228f -Author: Behdad Esfahbod -Date: Wed Oct 4 15:06:48 2017 +0200 - - Improve performance of ligature component matching - - This O(N^2) was introduced in 8b2c94c43fd335b944d5e5487265706b8e0f9041. - Make it O(N). - - src/hb-ot-layout-gsubgpos-private.hh | 37 +++++++++++++++++++++++------------- - 1 file changed, 24 insertions(+), 13 deletions(-) - -commit ab8d70ec7023e51ba6fd7267d2b41c5f95ef0787 -Author: Behdad Esfahbod -Date: Wed Oct 4 14:47:10 2017 +0200 - - [arabic] Implement Unicode Arabic Mark Ordering Algorithm UTR#53 - - Fixes https://github.com/behdad/harfbuzz/issues/509 - - src/hb-ot-shape-complex-arabic.cc | 75 +++++++++++++++++++++ - src/hb-ot-shape-complex-default.cc | 1 + - src/hb-ot-shape-complex-hangul.cc | 1 + - src/hb-ot-shape-complex-hebrew.cc | 1 + - src/hb-ot-shape-complex-indic.cc | 1 + - src/hb-ot-shape-complex-myanmar.cc | 2 + - src/hb-ot-shape-complex-private.hh | 12 ++++ - src/hb-ot-shape-complex-thai.cc | 1 + - src/hb-ot-shape-complex-tibetan.cc | 1 + - src/hb-ot-shape-complex-use.cc | 1 + - src/hb-ot-shape-normalize.cc | 8 ++- - test/shaping/Makefile.am | 1 + - .../24b8d24d00ae86f49791b746da4c9d3f717a51a8.ttf | Bin 0 -> 7160 bytes - .../94a5d6fb15a27521fba9ea4aee9cb39b2d03322a.ttf | Bin 0 -> 6816 bytes - test/shaping/record-test.sh | 2 +- - test/shaping/tests/arabic-mark-order.tests | 2 + - 16 files changed, 106 insertions(+), 3 deletions(-) - -commit b6fe0ab636ffac0a246e160b3508cc4841cb1823 -Author: Behdad Esfahbod -Date: Wed Oct 4 13:37:08 2017 +0200 - - Add info_cc() convenience macro - - src/hb-ot-layout-private.hh | 2 ++ - src/hb-ot-shape-normalize.cc | 6 +++--- - 2 files changed, 5 insertions(+), 3 deletions(-) - -commit 7f9e7f8689e1d260596f5256947dfbd474afb1ec -Author: Behdad Esfahbod -Date: Wed Oct 4 13:20:33 2017 +0200 - - Adjust normalizer for out-of-order marks - - We are going to implement Unicode Arabic Mark Ordering Algorithm: - - http://www.unicode.org/reports/tr53/tr53-1.pdf - - which will reorder marks out of their sorted ccc order. Adjust - normalizer to stop combining as soon as dangerous ordering is - detected. - - src/hb-ot-shape-normalize.cc | 62 ++++++++++++++++++++++++++------------------ - 1 file changed, 37 insertions(+), 25 deletions(-) - -commit a252ad61f077c3b7bbfd8335e1b105a57beb58ce -Author: Behdad Esfahbod -Date: Wed Oct 4 13:07:08 2017 +0200 - - Minor - - src/hb-unicode-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 4c05a405acc25c4ef0d70a97c0ae59013abca2df -Author: Behdad Esfahbod -Date: Wed Oct 4 13:06:51 2017 +0200 - - Revert "Treat HAMZA ABOVE similar to SHADD for sorting purposes" - - This reverts commit 5a330575768f5a213072230b9ec8faabac9c5737. - - Proper fix coming soon. - - src/hb-unicode-private.hh | 4 ---- - 1 file changed, 4 deletions(-) - -commit d695cacbf4dd5f77b5e7134cf60553775c515ef1 -Author: Behdad Esfahbod -Date: Wed Oct 4 11:33:47 2017 +0200 - - Shorthand format controls should not be ignored - - Fixes https://github.com/behdad/harfbuzz/issues/503 - - src/hb-unicode-private.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 50e95229d79bd258ad1d3f6392bfffa128f6df2a -Author: Behdad Esfahbod -Date: Wed Oct 4 11:28:04 2017 +0200 - - Add Chinantec language tags - - Fixes https://github.com/behdad/harfbuzz/issues/516 - - src/hb-ot-tag.cc | 14 ++++++++++++++ - 1 file changed, 14 insertions(+) - -commit 9786fcd8fdc0adbe8b6269ddd174ee2818d6fa9e -Author: Behdad Esfahbod -Date: Tue Oct 3 17:22:43 2017 +0200 - - Fix GPOS v_origin ordering - - This should affect mark attachment in vertical text. I have no font to test, - but this sounds the right order. - - Noticed while debugging https://github.com/behdad/harfbuzz/issues/532 - - src/hb-ot-shape.cc | 44 ++++++++++++++++++++------------------------ - 1 file changed, 20 insertions(+), 24 deletions(-) - -commit 63db692fa9efcd760f2e90f93f4e1428d79a3433 -Author: Behdad Esfahbod -Date: Tue Oct 3 16:00:18 2017 +0200 - - [indic] Fix shaping of U+0AFB GUJARATI SIGN SHADDA - - Fixes https://github.com/behdad/harfbuzz/issues/552 - - src/hb-ot-shape-complex-indic-private.hh | 2 +- - src/hb-ot-shape-complex-indic.cc | 2 ++ - 2 files changed, 3 insertions(+), 1 deletion(-) - -commit f559c633073f63b9d87cb2440048b4413cfa1c05 -Author: Behdad Esfahbod -Date: Tue Oct 3 15:20:07 2017 +0200 - - [indic] Implement Consonent_With_Stacker - - Fixes https://github.com/behdad/harfbuzz/issues/528 - - src/hb-ot-shape-complex-indic-machine.rl | 5 +++-- - src/hb-ot-shape-complex-indic-private.hh | 7 ++++--- - src/hb-ot-shape-complex-myanmar-machine.rl | 5 +++-- - src/hb-ot-shape-complex-myanmar.cc | 6 +++--- - 4 files changed, 13 insertions(+), 10 deletions(-) - -commit e07669fc43c0e23d337ad984aa128c3a08c9c1bb -Author: Behdad Esfahbod -Date: Tue Oct 3 14:57:14 2017 +0200 - - [use] Implement Consonant_With_Stacker - - Related to https://github.com/behdad/harfbuzz/issues/528 - - src/gen-use-table.py | 7 ++++--- - src/hb-ot-shape-complex-use-machine.rl | 5 +++-- - src/hb-ot-shape-complex-use-private.hh | 3 ++- - src/hb-ot-shape-complex-use-table.cc | 6 ++++-- - 4 files changed, 13 insertions(+), 8 deletions(-) - -commit 3ca9c92aa68956889642690e176c9161ff52edfe -Author: David Corbett -Date: Tue Oct 3 08:07:02 2017 -0400 - - Test Consonant_With_Stacker in Kannada (#530) - - test/shaping/Makefile.am | 1 + - test/shaping/fonts/COPYING | 100 +++++++++++++++++++++ - .../341421e629668b1a1242245d39238ca48432d35d.ttf | Bin 0 -> 1084 bytes - .../55c88ebbe938680b08f92c3de20713183e0c7481.ttf | Bin 0 -> 3300 bytes - .../663aef6b019dbf45ffd74089e2b5f2496ceceb18.ttf | Bin 0 -> 1204 bytes - .../a014549f766436cf55b2ceb40e462038938ee899.ttf | Bin 0 -> 2720 bytes - .../tests/indic-consonant-with-stacker.tests | 4 + - 7 files changed, 105 insertions(+) - -commit 5d98de1f382254a8a21fd9a04b642268a21be16f -Author: Behdad Esfahbod -Date: Tue Oct 3 13:46:25 2017 +0200 - - Tweak mark-base attachment - - Apparently a base glyph can also become an attached component of a - ligature if the ligature-forming lookup used IgnoreBase. This was - being confused with a non-first component of a MultipleSubst and - hence not matched for mark-attachment. Tweak test to fix. - - Fixes https://github.com/behdad/harfbuzz/issues/543 - - src/hb-ot-layout-gpos-table.hh | 4 +++- - test/shaping/Makefile.am | 1 + - .../sha1sum/98b7887cff91f722b92a8ff800120954606354f9.ttf | Bin 0 -> 1168 bytes - test/shaping/tests/mark-attachment.tests | 1 + - 4 files changed, 5 insertions(+), 1 deletion(-) - -commit ea772932d2430ebc7ea712a8c46ec2500966225d -Merge: 771970efa c44657a05 -Author: Behdad Esfahbod -Date: Tue Oct 3 13:25:44 2017 +0200 - - Merge commit 'c44657a05d565ec5f2c32ac15d4ecfbee00ac5f7' - -commit 771970efa15fc0b77841b7f0a3e266cdcf51246e -Author: Behdad Esfahbod -Date: Tue Oct 3 13:23:31 2017 +0200 - - Minor - - .travis.yml | 2 +- - appveyor.yml | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit 09cbeb2246217dce61ccc0638edb6211facca4b0 -Author: Behdad Esfahbod -Date: Tue Oct 3 13:22:07 2017 +0200 - - Make bots happy - - Fixes https://github.com/behdad/harfbuzz/issues/551 - - test/shaping/tests/indic-syllable.tests | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit c44657a05d565ec5f2c32ac15d4ecfbee00ac5f7 -Author: Behdad Esfahbod -Date: Tue Oct 3 13:14:17 2017 +0200 - - Tweak input matching some more - - Followup to 8b2c94c43fd335b944d5e5487265706b8e0f9041 - - Allow matching sequences of marks attached to different ligatures, - as supposedly the base of the subsequent marks were already jumped - over. - - src/hb-ot-layout-gsubgpos-private.hh | 3 --- - 1 file changed, 3 deletions(-) - -commit bbe94777c94637da1bcf944124b5079662618a1e -Author: Khaled Hosny -Date: Mon Oct 2 22:36:14 2017 +0200 - - Print test-suite.log when CI builds fail - - .travis.yml | 2 +- - appveyor.yml | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit 1633513996f902e95642fcaf9205dded55f509ff -Author: Behdad Esfahbod -Date: Mon Oct 2 20:28:56 2017 +0200 - - Add test for U+0A51 - - New Indic numbers are: - - BENGALI: 353725 out of 354188 tests passed. 463 failed (0.130722%) - DEVANAGARI: 707307 out of 707394 tests passed. 87 failed (0.0122987%) - GUJARATI: 366355 out of 366457 tests passed. 102 failed (0.0278341%) - GURMUKHI: 60729 out of 60747 tests passed. 18 failed (0.0296311%) - KANNADA: 951201 out of 951913 tests passed. 712 failed (0.0747968%) - KHMER: 299071 out of 299124 tests passed. 53 failed (0.0177184%) - MALAYALAM: 1048136 out of 1048334 tests passed. 198 failed (0.0188871%) - ORIYA: 42320 out of 42329 tests passed. 9 failed (0.021262%) - SINHALA: 271662 out of 271847 tests passed. 185 failed (0.068053%) - TAMIL: 1091754 out of 1091754 tests passed. 0 failed (0%) - TELUGU: 970555 out of 970573 tests passed. 18 failed (0.00185457%) - - Before 71c0a1429db7c7e7e32507be248c9457e1cbfc7d GURMUKHI used to be at 15, - because Uniscribe seems to allow this character standalone, but that looks - wrong. - - .../sha1sum/1735326da89f0818cd8c51a0600e9789812c0f94.ttf | Bin 0 -> 1008 bytes - test/shaping/tests/indic-syllable.tests | 2 ++ - 2 files changed, 2 insertions(+) - -commit 8b2c94c43fd335b944d5e5487265706b8e0f9041 -Author: Behdad Esfahbod -Date: Mon Oct 2 20:02:45 2017 +0200 - - Tweak ligature component matching for ligature formation - - If two marks want to ligate and they belong to different components of the - same ligature glyph, and said ligature glyph is to be ignored according to - mark-filtering rules, then allow. - - Example Burmese senquence: - - U+1004,U+103A,U+1039,U+101B,U+103D,U+102D - - Test font provided by Norbert Lindenberg. - - Fixes https://github.com/behdad/harfbuzz/issues/545 - - src/hb-ot-layout-gsubgpos-private.hh | 59 +++++++++++++++++---- - .../a6c76d1bafde4a0b1026ebcc932d2e5c6fd02442.ttf | Bin 0 -> 1384 bytes - test/shaping/tests/ligature-id.tests | 1 + - 3 files changed, 51 insertions(+), 9 deletions(-) - -commit 71c0a1429db7c7e7e32507be248c9457e1cbfc7d -Author: Behdad Esfahbod -Date: Mon Oct 2 18:56:10 2017 +0200 - - [indic] Fix shaping of U+0A51 - - Mark it as matra below to allow the sequence U+0A15, U+0A51, U+0A47. - Oh well... - - Fixes https://github.com/behdad/harfbuzz/issues/524 - - src/hb-ot-shape-complex-indic.cc | 6 ++++++ - .../sha1sum/85fe0be440c64ac77699e21c2f1bd933a919167e.ttf | Bin 0 -> 1224 bytes - test/shaping/tests/indic-syllable.tests | 1 + - 3 files changed, 7 insertions(+) - -commit 6eb8950e6265b23d88ba35daab1cff4fc3fe8753 -Author: Behdad Esfahbod -Date: Mon Oct 2 18:30:05 2017 +0200 - - [ucdn] Oops! - - src/hb-ucdn/{unicodedata_db.h => ucdn_db.h} | 4324 ++++++++++++++------------- - 1 file changed, 2175 insertions(+), 2149 deletions(-) - -commit cbec0cd65e1787b20ea55dd5583a7444938bd381 -Author: Behdad Esfahbod -Date: Mon Oct 2 18:26:52 2017 +0200 - - Remove some really old cruft - - src/hb-common.h | 14 -------------- - src/hb-ucdn/ucdn.h | 14 -------------- - 2 files changed, 28 deletions(-) - -commit b3dff7720c1fac8ca9bdd7087ac368a0af4349e8 -Author: Behdad Esfahbod -Date: Mon Oct 2 18:22:51 2017 +0200 - - [ucdn] Update README - - src/hb-ucdn/README | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 57c55ef8341c760145170dedd002c5afb380e6c8 -Author: Behdad Esfahbod -Date: Mon Oct 2 18:21:27 2017 +0200 - - [ot] Improve shaper selection heuristic - - src/hb-ot-shape-complex-private.hh | 12 ++++++++---- - 1 file changed, 8 insertions(+), 4 deletions(-) - -commit 5680ef884cf31ab9b42c587ffa260e390c88b8eb -Author: Behdad Esfahbod -Date: Mon Oct 2 18:20:51 2017 +0200 - - [use] Hack to fix shaping of U+1A7F - - Fixes https://github.com/behdad/harfbuzz/issues/525 - - src/gen-use-table.py | 3 +++ - src/hb-ot-shape-complex-use-table.cc | 2 +- - 2 files changed, 4 insertions(+), 1 deletion(-) - -commit 0faa16a25349906ee0ab98b73d9a3d96327a0955 -Author: Behdad Esfahbod -Date: Mon Oct 2 17:15:46 2017 +0200 - - [ucdn] Update to Unicode 10 - - Update to commit c000ebf79c095a7d58cf90090bde5715592c4834 - plus this bug-fix: https://github.com/grigorig/ucdn/issues/18 - - src/hb-ucdn.cc | 4 +++ - src/hb-ucdn/Makefile.sources | 2 +- - src/hb-ucdn/ucdn.c | 69 ++++++++++++++++++++++---------------------- - src/hb-ucdn/ucdn.h | 7 +++++ - 4 files changed, 47 insertions(+), 35 deletions(-) - -commit ea535a1dfa63f82280607273cd282a6134c334da -Author: Behdad Esfahbod -Date: Mon Oct 2 17:02:39 2017 +0200 - - [use] Update to Unicode 10 - - src/gen-use-table.py | 5 +-- - src/hb-ot-shape-complex-use-table.cc | 69 ++++++++++++++++++++++++++---------- - 2 files changed, 54 insertions(+), 20 deletions(-) - -commit 29c244aff6e3c359796bb033496c14ad5537dbe0 -Author: Behdad Esfahbod -Date: Mon Oct 2 16:36:21 2017 +0200 - - Minor - - src/gen-use-table.py | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit 1535f8c67216e8559fa48691fe6d9c2726c08973 -Author: Behdad Esfahbod -Date: Mon Oct 2 16:12:18 2017 +0200 - - Add Unicode 10 scripts - - src/hb-common.h | 8 ++++++++ - src/hb-ot-shape-complex-private.hh | 5 +++++ - 2 files changed, 13 insertions(+) - -commit bdbe974f525d33b8c735fb5d7fd76c236c4dd0ea -Author: Behdad Esfahbod -Date: Mon Oct 2 10:00:31 2017 -0400 - - [indic] Update table to Unicode 10 - - src/hb-ot-shape-complex-indic-table.cc | 70 +++++++++++++++++----------------- - 1 file changed, 36 insertions(+), 34 deletions(-) - -commit cc79b666bc4a81a0342ed1e706dd7db109739dc5 -Author: Behdad Esfahbod -Date: Mon Oct 2 09:19:15 2017 -0400 - - [indic] Add test for 1a0a356a0f2b2932581e4fd0437c01c058f4f6d1 - - https://github.com/behdad/harfbuzz/issues/538 - - .../sha1sum/87f85d17d26f1fe9ad28d7365101958edaefb967.ttf | Bin 0 -> 1000 bytes - test/shaping/tests/indic-syllable.tests | 1 + - 2 files changed, 1 insertion(+) - -commit 819cc360499a5f136325b5a1a18098ebc2aee081 -Author: Behdad Esfahbod -Date: Mon Oct 2 09:03:16 2017 -0400 - - [indic] Move manual code out of generated table - - src/hb-ot-shape-complex-indic-table.cc | 7 ------- - src/hb-ot-shape-complex-indic.cc | 5 +++++ - 2 files changed, 5 insertions(+), 7 deletions(-) - -commit da4866f7177a4e2836cc70b844e2e64ab671761f -Author: Behdad Esfahbod -Date: Mon Oct 2 08:57:06 2017 -0400 - - [arabic] Update table to Unicode 10 data - - src/hb-ot-shape-complex-arabic-table.hh | 15 +++++++++------ - 1 file changed, 9 insertions(+), 6 deletions(-) - -commit 1a0a356a0f2b2932581e4fd0437c01c058f4f6d1 -Author: Behdad Esfahbod -Date: Mon Oct 2 08:49:23 2017 -0400 - - [indic] Categorize U+0980 BENGALI ANJI as placeholder - - Fixes https://github.com/behdad/harfbuzz/issues/538 - - src/hb-ot-shape-complex-indic.cc | 1 + - 1 file changed, 1 insertion(+) - -commit 19e77e01bc13f44138e1d50533327d314dd0a018 -Author: jfkthame -Date: Mon Oct 2 13:08:49 2017 +0100 - - [shape-plan] Don't look for a cached plan if variation coords are specified. Fixes #549. (#550) - - This is a temporary hack just to avoid incorrect shaping results, pending proper support - for caching shape-plans with variation coordinates. - - src/hb-shape-plan.cc | 16 +++++++++------- - 1 file changed, 9 insertions(+), 7 deletions(-) - -commit db446cce4ef4cd1a4f1652e3aa3e5e5ed1881d39 -Author: Behdad Esfahbod -Date: Sun Oct 1 12:06:00 2017 -0400 - - Add RELEASING.md to dist - - Makefile.am | 1 + - 1 file changed, 1 insertion(+) - -commit 933a81d74fee0d5856fc7b15b58a16e0e0168e48 -Author: ebraminio -Date: Sun Oct 1 19:35:24 2017 +0330 - - Add release checklist (#529) - - RELEASING.md | 96 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 96 insertions(+) - -commit 66128d3cfb12705530141b5a4bd2706f0cbb9fc5 -Author: mhosken -Date: Wed Sep 27 01:29:45 2017 +0700 - - Fix missing xscale in rtl graphite unpacking (#541) - - * Fix missing xscale in rtl graphite unpacking - - * Oops didn't need to mess with yscale - - src/hb-graphite2.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 3ca69c8c32b8408dd9f8e6e866cd07e58c0d79b7 -Author: Behdad Esfahbod -Date: Thu Sep 14 20:50:35 2017 -0400 - - Use strtod_l() to correctly parse decimal numbers in French & other locales - - Test with, eg.: - $ LC_ALL=fr_FR.utf-8 ./hb-view NotoSansArabic-VF.ttf بهداد --variations wght=1.2 - - configure.ac | 4 ++-- - src/hb-common.cc | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++-- - 2 files changed, 53 insertions(+), 4 deletions(-) - -commit 9355218f582a6c2425cadcb868204f81b17d5767 -Author: Behdad Esfahbod -Date: Sat Sep 9 11:21:07 2017 -0700 - - [util] Add a few shorthand forms for commandline options - - -o, -O, -u, -v, -V - - util/options.cc | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -commit a984e0c4d921a6dff82cc1b5c686cc957215bc7e -Author: Behdad Esfahbod -Date: Tue Sep 5 11:18:35 2017 -0700 - - 1.5.1 - - NEWS | 13 +++++++++++++ - configure.ac | 2 +- - 2 files changed, 14 insertions(+), 1 deletion(-) - -commit d03f11f246efec13e48fd68a9ce136db771b22bf -Author: Behdad Esfahbod -Date: Mon Sep 4 20:14:13 2017 -0700 - - Fix buffer_diff for empty buffers - - If buffers are empty, content type should be ignored. - - This fixes last of the failing tests: fuzzed.tests. Green again! - - src/hb-buffer.cc | 2 +- - src/hb-buffer.h | 4 ++-- - util/options.hh | 2 +- - 3 files changed, 4 insertions(+), 4 deletions(-) - -commit 7cc348041d0b026ca6d2c240134e8f9100600e99 -Author: Behdad Esfahbod -Date: Mon Sep 4 20:04:59 2017 -0700 - - [unsafe-to-break] Fix unsafe-to-break for cluster-level=1 - - Fixes tests/shaping/tests/cluster.tests - - src/hb-ot-shape.cc | 17 +++++++++++------ - 1 file changed, 11 insertions(+), 6 deletions(-) - -commit 61a9d7e6d0e6df7b48f58fa1679f0f93407993b2 -Author: Behdad Esfahbod -Date: Mon Sep 4 19:48:52 2017 -0700 - - Minor - - test/shaping/run-tests.sh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 03a5a6f873e5a50011f1c2418f5ceab86d9c2931 -Author: Behdad Esfahbod -Date: Fri Sep 1 19:09:54 2017 -0700 - - [util] Add --unicodes to hb-view / hb-shape - - Fixes https://github.com/behdad/harfbuzz/issues/154 - - test/shaping/hb_test_tools.py | 2 +- - util/options.cc | 65 ++++++++++++++++++++++++++++++++++++++++++- - 2 files changed, 65 insertions(+), 2 deletions(-) - -commit 0e5b475d98dd67e927534508fe2cd8dc9765e24e -Author: Behdad Esfahbod -Date: Fri Sep 1 18:28:47 2017 -0700 - - Minor - - test/shaping/run-tests.sh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 3e1fc6d18ba0019bbeede78b95070a6e7156c314 -Author: Behdad Esfahbod -Date: Fri Sep 1 10:46:48 2017 -0700 - - Minor - - test/shaping/run-tests.sh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 04f009f84891b513087830c7aa1b755addd016d9 -Author: Behdad Esfahbod -Date: Fri Sep 1 10:38:25 2017 -0700 - - Add test accidentally removed in previous commit - - test/shaping/tests/indic-syllable.tests | 1 + - 1 file changed, 1 insertion(+) - -commit 06cb162cd79cc922b572e5f532ca867223b6dc4c -Author: Behdad Esfahbod -Date: Fri Sep 1 10:34:21 2017 -0700 - - [indic] Treat Consonant_With_Stacker as consonant - - Fixes https://github.com/behdad/harfbuzz/issues/528 - "Kannada JIHVAMULIYA and UPADHMANIYA insert dotted circles" - - src/hb-ot-shape-complex-indic-private.hh | 2 +- - .../sha1sum/3d0b77a2360aa6faa1385aaa510509ab70dfbeff.ttf | Bin 0 -> 988 bytes - test/shaping/tests/indic-syllable.tests | 3 ++- - 3 files changed, 3 insertions(+), 2 deletions(-) - -commit c449d2d8c9e27502380faa0b568a374c838ac9a7 -Author: Behdad Esfahbod -Date: Wed Aug 30 17:28:22 2017 -0700 - - [unsafe-to-break] Mark during fraction-slash formation - - Fixes tests/automatic-fractions.tests - - src/hb-ot-shape.cc | 2 ++ - 1 file changed, 2 insertions(+) - -commit b262ebcc9c9539076d17751e9bae06a8fd5001ff -Author: Behdad Esfahbod -Date: Wed Aug 30 17:25:10 2017 -0700 - - [util] Fix cluster sweeping during --verify - - If *I* get this wrong in 2017, I have no idea how others get their head around - cluster math... - - Fixes tests/arabic-fallback-shaping.tests - - util/options.hh | 11 ++++++++--- - 1 file changed, 8 insertions(+), 3 deletions(-) - -commit 69d701b02e5ebc3597b0d0576dbab8e1ece51944 -Author: Behdad Esfahbod -Date: Wed Aug 30 17:07:29 2017 -0700 - - [util] When --verify fails, return reconstructed shape results - - util/options.hh | 8 +++----- - util/view-cairo.hh | 2 +- - 2 files changed, 4 insertions(+), 6 deletions(-) - -commit 099472e08bf81d6dd8ca1647999592df6b7fdfb9 -Author: Behdad Esfahbod -Date: Wed Aug 30 16:45:06 2017 -0700 - - hb_buffer_diff() tweak - - I like to have a mode where CONTAINS_NOTDEF and CONTAINS_DOTTEDCIRCLE are not - returned. Abused a value of -1 for that. hb-shape now uses it. Fixes two - of the six tests failing with --verify in test/shaping/run-tests.sh. - - src/hb-buffer.cc | 16 ++++++++-------- - test/shaping/run-tests.sh | 4 ++-- - util/options.hh | 2 +- - 3 files changed, 11 insertions(+), 11 deletions(-) - -commit e8b364b86023731e0416ab4eb433467c4b7a0ec2 -Author: Behdad Esfahbod -Date: Wed Aug 23 15:00:45 2017 -0700 - - 1.5.0 - - NEWS | 44 ++++++++++++++++++++++++++++++++++++++++++++ - configure.ac | 2 +- - 2 files changed, 45 insertions(+), 1 deletion(-) - -commit 224d20e4e1c62416ff842a81188dfeff069f895b -Author: Behdad Esfahbod -Date: Wed Aug 23 14:41:48 2017 -0700 - - [docs] Minor - - docs/harfbuzz-docs.xml | 12 ++++++++++++ - docs/harfbuzz-sections.txt | 10 ++++++++++ - src/hb-buffer.cc | 8 +++++++- - 3 files changed, 29 insertions(+), 1 deletion(-) - -commit 4387b059a0603b17024de48d57bee6a3b5e9e56c -Author: Behdad Esfahbod -Date: Wed Aug 23 14:35:58 2017 -0700 - - [test] Add --verify to hb-shape - - Disabled for now. Will enable and fix failures after next release. - - test/shaping/run-tests.sh | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit b2dd0c1c32ba30714355baca1857d64c1608b4c2 -Author: Behdad Esfahbod -Date: Wed Aug 23 13:12:54 2017 -0700 - - Add hb_glyph_info_get_glyph_flags() - - New API. - - src/hb-buffer.cc | 17 +++++++++++++++++ - src/hb-buffer.h | 9 ++++++++- - 2 files changed, 25 insertions(+), 1 deletion(-) - -commit 3e8f4f145255a905029c6b5cb8f40e6dcca096f3 -Author: Behdad Esfahbod -Date: Tue Aug 22 17:56:25 2017 -0700 - - Rename HB_BUFFER_DIFF_FLAG_MASK_MISMATCH to HB_BUFFER_DIFF_FLAG_GLYPH_FLAGS_MISMATCH - - src/hb-buffer.cc | 2 +- - src/hb-buffer.h | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit a9e52a1af4c039bc53090a9c1e4c1136fc542605 -Author: Behdad Esfahbod -Date: Tue Aug 15 17:30:18 2017 -0700 - - [util] Prefix trace lines with "trace:", and error lines with "error:" - - util/hb-shape.cc | 12 ++++++------ - util/options.cc | 4 ++-- - util/options.hh | 1 + - 3 files changed, 9 insertions(+), 8 deletions(-) - -commit 7ea10c35a34c894e87ee6576d6d4ba3e78535a27 -Author: Behdad Esfahbod -Date: Tue Aug 15 17:12:28 2017 -0700 - - [util] Respect eot/bot in safe-to-break test; hook up hb_buffer_diff() - - util/options.hh | 38 ++++++++++++++++++++++++++------------ - 1 file changed, 26 insertions(+), 12 deletions(-) - -commit 8820ba29dfd2e1302377da62a0527939a0d7d9fb -Author: Behdad Esfahbod -Date: Tue Aug 15 17:12:21 2017 -0700 - - Fix warning about "may be used uninitialized" - - src/hb-ot-layout-common-private.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 91770e1c567d87fc513e8d39576e51c3853b1f23 -Author: Emil A Eklund (eae) -Date: Tue Aug 15 16:25:18 2017 -0700 - - Fix signed/unsigned warning (#522) - - Change hb_buffer_diff to explicitly cast result of abs to unsigned when - comparing with position_fuzz to avoid unsafe signed/unsigned comparions - warnings on windows. - - src/hb-buffer.cc | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 587f15ece316df7c86f386518aba48a6a44c061d -Author: Behdad Esfahbod -Date: Mon Aug 14 15:23:10 2017 -0700 - - Minor - - src/hb-face-private.hh | 8 ++++---- - src/hb-face.cc | 8 ++++---- - src/hb-font-private.hh | 14 +++++++------- - src/hb-font.cc | 14 +++++++------- - 4 files changed, 22 insertions(+), 22 deletions(-) - -commit a88e2a73f34067381a81577c3f60bc5c2a6f2eea -Author: Behdad Esfahbod -Date: Mon Aug 14 14:49:21 2017 -0700 - - [util] Fix leaks - - util/options.hh | 2 ++ - 1 file changed, 2 insertions(+) - -commit 338e61ad1b40110a70c4fb497b117bcb07548467 -Author: Behdad Esfahbod -Date: Mon Aug 14 12:36:38 2017 -0700 - - Fix typo - - src/hb-buffer.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 331d66c7fe27a7649454486000827f0c36d6eb36 -Author: Jonathan Kew -Date: Sat Jul 19 23:09:09 2014 +0100 - - Add function to compare two buffers - - Based on patch from Jonathan Kew. - - Needs more cleaning up and documentation. - - New API: - hb_buffer_diff_flags_t - hb_buffer_diff() - - src/hb-buffer-private.hh | 1 + - src/hb-buffer-serialize.cc | 4 +-- - src/hb-buffer.cc | 82 ++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-buffer.h | 39 ++++++++++++++++++++++ - 4 files changed, 124 insertions(+), 2 deletions(-) - -commit 219af509ef8269e51f1396b18521c75b000d8dda -Author: Behdad Esfahbod -Date: Sun Aug 13 15:10:26 2017 -0700 - - [graphite2] Fix warning - - src/hb-graphite2.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 239119a631fee7701be4d444adeda808b915863a -Author: Behdad Esfahbod -Date: Sun Aug 13 15:08:34 2017 -0700 - - [unsafe-to-break] Mark all positions as unsafe in alternative shapers - - src/hb-coretext.cc | 6 ++++++ - src/hb-directwrite.cc | 2 ++ - src/hb-graphite2.cc | 1 + - src/hb-uniscribe.cc | 2 ++ - 4 files changed, 11 insertions(+) - -commit 05fabbd03eae7b84ebbce7abbdc55c1d67ceacf9 -Author: Behdad Esfahbod -Date: Fri Aug 11 19:51:06 2017 -0700 - - [unsafe-to-break] Towards verifying unsafe-to-break in --verify - - We break and shape fragments and reconstruct shape result from them. - Remains to compare to original buffer. Going to add some buffer - comparison API and use here, instead of open-coding. - - src/hb-buffer.cc | 5 ++- - util/options.hh | 131 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- - 2 files changed, 133 insertions(+), 3 deletions(-) - -commit 6ce25f57c663f86326262a5ff7a42288f358ed51 -Author: Behdad Esfahbod -Date: Fri Aug 11 19:31:05 2017 -0700 - - Fix hb_buffer_append() - - Ouch! - - src/hb-buffer.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 1c17c2bde5bdf74a652b78d71b64e3aaa75ec43d -Author: Behdad Esfahbod -Date: Fri Aug 11 19:06:07 2017 -0700 - - [unsafe-to-break] Copy flag to all glyphs in a cluster - - Makes consumption easier. - - src/hb-buffer-private.hh | 46 +++++++++++++++++++++++++++++++++++++++++++++ - src/hb-buffer.cc | 28 ++++++--------------------- - src/hb-ot-layout-private.hh | 3 +-- - src/hb-ot-shape.cc | 27 ++++++++++++++++++++++++++ - 4 files changed, 80 insertions(+), 24 deletions(-) - -commit ec104e5912417c0fdc8c7cb004c684aea26eb1dc -Author: Behdad Esfahbod -Date: Fri Aug 11 18:24:27 2017 -0700 - - [unsafe-to-break] Mark unsafe is cluster merging is disabled - - We were relying on cluster merges not requiring unsafe flagging because - they get merged. If cluster level requests no merging, then we flag - unsafe when merge would have happened. - - src/hb-buffer.cc | 3 +++ - 1 file changed, 3 insertions(+) - -commit 39a97494304a7e6b8999e59a92ce4d24ba9b881a -Author: Behdad Esfahbod -Date: Fri Aug 11 15:52:06 2017 -0700 - - New API: hb_buffer_append() - - src/hb-buffer.cc | 52 +++++++++++++++++++++++++++++++++++++++++++++++++++- - src/hb-buffer.h | 6 ++++++ - 2 files changed, 57 insertions(+), 1 deletion(-) - -commit d2052278f24b3279503d5fa215a7834c2d21f91c -Author: Behdad Esfahbod -Date: Fri Aug 11 15:12:25 2017 -0700 - - [util] Add --verify to hb-shape / hb-view that verifies shape results - - Right now it checks for monotone cluster values. Other checks to be added. - - util/hb-shape.cc | 7 ++----- - util/options.cc | 2 ++ - util/options.hh | 42 +++++++++++++++++++++++++++++++++++++++--- - util/shape-consumer.hh | 12 ++++++++---- - util/view-cairo.hh | 7 ++----- - 5 files changed, 53 insertions(+), 17 deletions(-) - -commit 14a639ea592cba971e5548f0942dd395c602c7a8 -Author: Behdad Esfahbod -Date: Fri Aug 11 11:30:39 2017 -0700 - - [unsafe-to-break] Fix Use-of-uninitialized-value in unsafe_to_break_set_mask - - Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=3011 - - src/hb-ot-shape-complex-hangul.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit e43aad55524cc1d4008ce337c2863a8546706d2e -Author: Behdad Esfahbod -Date: Thu Aug 10 20:54:15 2017 -0700 - - [unsafe-to-break] Flag in Thai PUA shaping - - src/hb-ot-shape-complex-thai.cc | 1 + - 1 file changed, 1 insertion(+) - -commit eae009602b5503c53a7f8ab053912563a97bbfa4 -Author: Behdad Esfahbod -Date: Thu Aug 10 20:50:48 2017 -0700 - - [unsafe-to-break] Flag in Hangul shaper - - src/hb-ot-shape-complex-hangul.cc | 6 ++++++ - 1 file changed, 6 insertions(+) - -commit b65aa1cd4778e0103a2a1ed0e1b1012a09cf1f48 -Author: Behdad Esfahbod -Date: Thu Aug 10 20:32:02 2017 -0700 - - [unsafe-to-break] Flag during mark attachment - - src/hb-ot-layout-gpos-table.hh | 1 + - 1 file changed, 1 insertion(+) - -commit c4712f8e372ee42749cda56cc7c28dc110a07ea9 -Author: Behdad Esfahbod -Date: Thu Aug 10 20:27:21 2017 -0700 - - Fix test - - test/api/test-buffer.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 882ebdadd6b3420ef2d3f296cd7416c76ee9901f -Author: Behdad Esfahbod -Date: Thu Aug 10 20:23:17 2017 -0700 - - [unsafe-to-break] Flag during cursive positioning - - src/hb-ot-layout-gpos-table.hh | 1 + - 1 file changed, 1 insertion(+) - -commit 2d158ca37673f2b262f2381854559d6872d8fb45 -Author: Behdad Esfahbod -Date: Thu Aug 10 20:19:15 2017 -0700 - - [unsafe-to-break] Flag during kerning - - src/hb-ot-layout-gpos-table.hh | 2 ++ - 1 file changed, 2 insertions(+) - -commit a7c4972ccefaaf48dfd6f0f4588df0c785aa33d2 -Author: Behdad Esfahbod -Date: Thu Aug 10 20:16:15 2017 -0700 - - [unsafe-to-break] Flag during fallback positioning - - src/hb-ot-shape-fallback.cc | 3 +++ - 1 file changed, 3 insertions(+) - -commit e2a2b5b229c92f1de3b9c3ea111cd1ffa75b18fc -Author: Behdad Esfahbod -Date: Thu Aug 10 20:10:12 2017 -0700 - - [unsafe-to-break] Be careful with flag propagation when merging clusters - - src/hb-buffer-private.hh | 13 +++++++++++++ - src/hb-buffer.cc | 17 ++++++++++------- - src/hb-ot-shape.cc | 3 ++- - 3 files changed, 25 insertions(+), 8 deletions(-) - -commit f2868c200896a96a34fc1bba4d43eddc03789da2 -Author: Behdad Esfahbod -Date: Thu Aug 10 19:58:05 2017 -0700 - - Set mask to 0, instead of 1, by default - - This shouldn't matter. - - src/hb-buffer.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 9e005c5d86cd4c19383093f76a237cc8f5f12fb7 -Author: Behdad Esfahbod -Date: Thu Aug 10 18:45:33 2017 -0700 - - [unsafe-to-break] Mark Indic-like clusters as unsafe-to-break - - src/hb-ot-shape-complex-indic.cc | 2 ++ - src/hb-ot-shape-complex-myanmar.cc | 2 ++ - src/hb-ot-shape-complex-use.cc | 2 ++ - 3 files changed, 6 insertions(+) - -commit 5287ccc935c86b6f5e6867592b64bc2461384f45 -Author: Behdad Esfahbod -Date: Thu Aug 10 14:25:53 2017 -0700 - - [unsafe-to-break] Allocate public bits from 0 - - src/hb-buffer.h | 5 +++-- - src/hb-ot-map.cc | 15 +++++++++------ - 2 files changed, 12 insertions(+), 8 deletions(-) - -commit 91ce0c45d6782057a2736f7b76a3c49cadbea070 -Author: Behdad Esfahbod -Date: Thu May 5 16:13:03 2016 +0100 - - [safe-to-break] Fix logic when there is no out-buffer - - src/hb-buffer.cc | 6 ++++++ - 1 file changed, 6 insertions(+) - -commit a043c99f778ffdde15d212fe23468cb9f51036bc -Author: Behdad Esfahbod -Date: Wed May 4 19:51:22 2016 +0200 - - [unsafe-to-break] Simplify logic - - Always use the algorithm for non-monotone case. It's more robust. - - src/hb-buffer.cc | 57 +++++++++++++------------------------------------------- - 1 file changed, 13 insertions(+), 44 deletions(-) - -commit 40bd7e9a1cf422b17f15d0f66547bde9098e6ef3 -Author: Behdad Esfahbod -Date: Mon May 2 14:47:45 2016 +0200 - - [unsafe-to-break] Add UNSAFE_TO_BREAK flag - - Not all shapers code is updated to set this properly. - GSUB and Arabic shaper are updated. - GPOS and other shapers are NOT. - - Fixes https://github.com/behdad/harfbuzz/issues/224 - - src/hb-buffer-private.hh | 26 ++++++++------ - src/hb-buffer-serialize.cc | 24 +++++++++---- - src/hb-buffer.cc | 67 ++++++++++++++++++++++++++++++++++++ - src/hb-buffer.h | 10 ++++-- - src/hb-ot-layout-gsub-table.hh | 7 ++-- - src/hb-ot-layout-gsubgpos-private.hh | 27 ++++++++++----- - src/hb-ot-map.cc | 2 ++ - src/hb-ot-shape-complex-arabic.cc | 3 ++ - util/hb-shape.cc | 2 ++ - util/options.cc | 1 + - util/options.hh | 2 ++ - 11 files changed, 142 insertions(+), 29 deletions(-) - -commit 3e44748ebe1524aef6feb01c42d342e8a2d77d34 -Author: Behdad Esfahbod -Date: Wed Aug 9 22:09:01 2017 -0700 - - [util] Fix two other Coverity warnings - - util/options.cc | 4 ++++ - 1 file changed, 4 insertions(+) - -commit 356f93b64b6005f44bcfc329f6f9e150ec32fc26 -Author: Behdad Esfahbod -Date: Wed Aug 9 22:06:53 2017 -0700 - - [util] Fix warning - - util/shape-consumer.hh | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit ac8c4e56d8b8c2e7a8f4802f83deb935bd6bbbd3 -Author: Behdad Esfahbod -Date: Wed Aug 9 22:05:08 2017 -0700 - - [ft] Fix theoretical leak - - src/hb-ft.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 5a330575768f5a213072230b9ec8faabac9c5737 -Author: Behdad Esfahbod -Date: Wed Aug 9 17:23:28 2017 -0700 - - Treat HAMZA ABOVE similar to SHADD for sorting purposes - - Part of https://github.com/behdad/harfbuzz/issues/509 - - src/hb-unicode-private.hh | 4 ++++ - 1 file changed, 4 insertions(+) - -commit 68af14d5cc666ebf0596766cbed87cc9404fd50f -Author: Behdad Esfahbod -Date: Wed Aug 9 17:09:21 2017 -0700 - - Protect against div-by-zero in CBDT extent code - - Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=1452#c5 - - CC https://github.com/behdad/harfbuzz/issues/139 - - src/hb-ft.cc | 4 ++-- - src/hb-ot-font.cc | 6 +++--- - src/hb-shape-plan.cc | 4 ++-- - 3 files changed, 7 insertions(+), 7 deletions(-) - -commit 3b54d0337e6119a4397573f5589b771a68b2ecd9 -Author: Behdad Esfahbod -Date: Tue Aug 8 18:37:03 2017 -0700 - - Add tests for 'avar' fix 5dc30451b80f6bb0079424a130875c10486e4d34 - - test/shaping/Makefile.am | 1 + - .../d23d76ea0909c14972796937ba072b5a40c1e257.ttf | Bin 0 -> 1812 bytes - test/shaping/record-test.sh | 1 + - test/shaping/tests/variations-rvrn.tests | 100 +++++++++++++++++++++ - 4 files changed, 102 insertions(+) - -commit 7917792f01603f91b703d12e12d8baced655a615 -Author: Behdad Esfahbod -Date: Tue Aug 8 13:17:03 2017 -0700 - - 1.4.8 - - NEWS | 9 +++++++++ - configure.ac | 2 +- - 2 files changed, 10 insertions(+), 1 deletion(-) - -commit 5dc30451b80f6bb0079424a130875c10486e4d34 -Author: Behdad Esfahbod -Date: Mon Aug 7 21:37:07 2017 -0700 - - Two fixes to avar mapping - - 1. Handle segment with two entries correctly, - - 2. Fix rounding math. Ouch! - - Fixes https://github.com/behdad/harfbuzz/issues/521 - - src/hb-ot-var-avar-table.hh | 13 +++++++++---- - 1 file changed, 9 insertions(+), 4 deletions(-) - -commit dc2c418e397bf251faf03d824fc780ac19bb1dee -Author: Behdad Esfahbod -Date: Thu Aug 3 12:34:15 2017 +0100 - - [check-defs/symbols.sh] Drop empty-symbol lines - - Fixes https://github.com/behdad/harfbuzz/issues/510 - - src/check-defs.sh | 2 +- - src/check-symbols.sh | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit 6f38845d9c6852812eb1963a1fd7e5ec771e5ce3 -Author: Behdad Esfahbod -Date: Wed Jul 19 17:20:55 2017 -0700 - - [hb-shape] Rename --show-messages to --trace - - https://github.com/behdad/harfbuzz/issues/506 - - util/hb-shape.cc | 2 +- - util/options.cc | 2 +- - util/options.hh | 4 ++-- - 3 files changed, 4 insertions(+), 4 deletions(-) - -commit e60350551addbd945491f662e98464c9e3e9fec5 -Author: Behdad Esfahbod -Date: Tue Jul 18 19:14:19 2017 -0700 - - [hb-shape] Improve shaping-debug output - - Before, that was printed using --debug (and in both hb-shape and hb-view). - Changed it, now hb-shape has a new command-line argument called --show-messages. - When invoked, it also respects other output formatting options. The messages - are better formatted and printed to te same place that hb-shape output is - directed to. Previously they were written to stderr. - - Fixes https://github.com/behdad/harfbuzz/issues/506 - - util/hb-ot-shape-closure.cc | 10 +++++++--- - util/hb-shape.cc | 33 +++++++++++++++++++++++++++++++-- - util/main-font-text.hh | 27 ++++----------------------- - util/options.cc | 10 +++++++--- - util/options.hh | 2 ++ - util/shape-consumer.hh | 18 ++++++++++++------ - util/view-cairo.hh | 4 ++-- - 7 files changed, 65 insertions(+), 39 deletions(-) - -commit 65f64d14005e4d0808e818b3c97bd3d600628011 -Author: Ebrahim Byagowi -Date: Wed Jul 19 02:42:53 2017 +0430 - - Unbreak arm-none-eabi build again (#514) - - src/hb-ot-shape-complex-indic.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit fc15e60eadfc89aca5b8815262b8ee888f285169 -Author: Behdad Esfahbod -Date: Tue Jul 18 11:24:42 2017 -0700 - - 1.4.7 - - NEWS | 10 ++++++++++ - configure.ac | 2 +- - 2 files changed, 11 insertions(+), 1 deletion(-) - -commit c1432bce3cfc1156d19b21892d4083afa8838d94 -Author: Behdad Esfahbod -Date: Fri Jul 14 17:34:47 2017 +0100 - - [arabic] Adjust feature order again - - Fixes https://github.com/behdad/harfbuzz/issues/505 - - src/hb-ot-shape-complex-arabic.cc | 7 ++++++- - .../sha1sum/bf39b0e91ef9807f15a9e283a21a14a209fd2cfc.ttf | Bin 0 -> 7312 bytes - test/shaping/tests/arabic-feature-order.tests | 1 + - 3 files changed, 7 insertions(+), 1 deletion(-) - -commit 9813be3d1212eef5a525d64978e0bb2032cd44d9 -Author: Cosimo Lupo -Date: Fri Jul 14 17:11:46 2017 +0100 - - [coretext] Allow to disable kern (#508) - - * Minor - - * [coretext] Fix leak - - * [coretext] Do not reset num_features - - * [coretext] allow to disable kern; re-enabling doesn't seem to be working - - src/hb-coretext.cc | 41 ++++++++++++++++++++++++++++++++--------- - 1 file changed, 32 insertions(+), 9 deletions(-) - -commit 9dd29c681e8e856c139f20f405d7c0e04928aa70 -Author: Behdad Esfahbod -Date: Fri Jul 14 17:01:27 2017 +0100 - - [use] Allow up to two medial-below letters - - Fixes https://github.com/behdad/harfbuzz/issues/376 - - src/hb-ot-shape-complex-use-machine.rl | 3 ++- - .../sha1sum/e68a88939e0f06e34d2bc911f09b70890289c8fd.ttf | Bin 0 -> 2192 bytes - test/shaping/tests/use-syllable.tests | 3 +++ - 3 files changed, 5 insertions(+), 1 deletion(-) - -commit 216b003c914d2209a6846b1ce61fe7a3421c789c -Author: Behdad Esfahbod -Date: Fri Jul 14 16:38:51 2017 +0100 - - [use] Fix shaping of U+AA29 CHAM VOWEL SIGN AA - - Part of https://github.com/behdad/harfbuzz/issues/376 - Also see https://github.com/roozbehp/unicode-data/issues/6 - - Test added, using NotoSansCham built from Noto Phase III sources. - - src/gen-arabic-table.py | 2 +- - src/gen-indic-table.py | 2 +- - src/gen-use-table.py | 8 +++++--- - src/hb-ot-shape-complex-use-table.cc | 4 ++-- - test/shaping/Makefile.am | 1 + - .../sha1sum/96490dd2ff81233b335a650e7eb660e0e7b2eeea.ttf | Bin 0 -> 1368 bytes - test/shaping/tests/use-syllable.tests | 1 + - 7 files changed, 11 insertions(+), 7 deletions(-) - -commit f1cd7ca89306ff252816e9747177d8dab00524f6 -Author: Behdad Esfahbod -Date: Fri Jul 14 15:59:40 2017 +0100 - - [indic] Add github URL - - src/hb-ot-shape-complex-indic.cc | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 3cc84f45b995b243fca82ce18481f11d69846eb5 -Author: Behdad Esfahbod -Date: Fri Jul 14 15:50:22 2017 +0100 - - [indic] Fix https://github.com/behdad/harfbuzz/issues/478 - - src/hb-ot-shape-complex-indic-private.hh | 2 +- - src/hb-ot-shape-complex-indic.cc | 8 ++++++++ - test/shaping/Makefile.am | 1 + - .../sha1sum/54674a3111d209fb6be0ed31745314b7a8d2c244.ttf | Bin 0 -> 1352 bytes - test/shaping/tests/indic-syllable.tests | 1 + - 5 files changed, 11 insertions(+), 1 deletion(-) - -commit e359a4b8f57bbc778843f233c4f5d6fb07ff11d9 -Author: Behdad Esfahbod -Date: Fri Jul 14 14:14:35 2017 +0100 - - [indic] Disable automatic ZWNJ handling for Indic features - - Fixes https://github.com/behdad/harfbuzz/issues/294 - - Also fixes a bunch of other Indic issues. Test results after: - - BENGALI: 353725 out of 354188 tests passed. 463 failed (0.130722%) - DEVANAGARI: 707307 out of 707394 tests passed. 87 failed (0.0122987%) - GUJARATI: 366355 out of 366457 tests passed. 102 failed (0.0278341%) - GURMUKHI: 60732 out of 60747 tests passed. 15 failed (0.0246926%) - KANNADA: 951201 out of 951913 tests passed. 712 failed (0.0747968%) - KHMER: 299071 out of 299124 tests passed. 53 failed (0.0177184%) - MALAYALAM: 1048136 out of 1048334 tests passed. 198 failed (0.0188871%) - ORIYA: 42320 out of 42329 tests passed. 9 failed (0.021262%) - SINHALA: 271662 out of 271847 tests passed. 185 failed (0.068053%) - TAMIL: 1091754 out of 1091754 tests passed. 0 failed (0%) - TELUGU: 970555 out of 970573 tests passed. 18 failed (0.00185457%) - - Before: - - BENGALI: 353725 out of 354188 tests passed. 463 failed (0.130722%) - DEVANAGARI: 707307 out of 707394 tests passed. 87 failed (0.0122987%) - GUJARATI: 366349 out of 366457 tests passed. 108 failed (0.0294714%) - GURMUKHI: 60732 out of 60747 tests passed. 15 failed (0.0246926%) - KANNADA: 951190 out of 951913 tests passed. 723 failed (0.0759523%) - KHMER: 299070 out of 299124 tests passed. 54 failed (0.0180527%) - MALAYALAM: 1048136 out of 1048334 tests passed. 198 failed (0.0188871%) - ORIYA: 42320 out of 42329 tests passed. 9 failed (0.021262%) - SINHALA: 271662 out of 271847 tests passed. 185 failed (0.068053%) - TAMIL: 1091753 out of 1091754 tests passed. 1 failed (9.15957e-05%) - TELUGU: 970555 out of 970573 tests passed. 18 failed (0.00185457%) - - src/hb-ot-shape-complex-indic.cc | 4 ++-- - test/shaping/Makefile.am | 1 + - .../sha1sum/f443753e8ffe8e8aae606cfba158e00334b6efb1.ttf | Bin 0 -> 3972 bytes - test/shaping/tests/indic-joiners.tests | 2 ++ - 4 files changed, 5 insertions(+), 2 deletions(-) - -commit cdf1fd0627c5517c948ca05d2e9427c3e441adf9 -Author: Behdad Esfahbod -Date: Fri Jul 14 12:43:34 2017 +0100 - - [indic] Add infrastructure to disable ZWNJ-skipping in context-matching - - Not used yet. - - src/hb-ot-layout-gsubgpos-private.hh | 45 ++++++++++++++++++++---------------- - src/hb-ot-layout.cc | 1 + - src/hb-ot-map-private.hh | 10 +++++--- - src/hb-ot-map.cc | 8 +++++-- - 4 files changed, 39 insertions(+), 25 deletions(-) - -commit 3a73e0d5e17b87ac7e307d855c2cb43d040bd195 -Author: Dominik Schlösser -Date: Fri Jul 14 13:14:55 2017 +0200 - - Shaping tests for Tibetan vowels (#446) - - * Shaping tests for Tibetan vowels - - * Test-cases for the Dzongkha contractions with multiple vowel-signs added. - - * going to be removed - - * Extended contraction-test-cases to all test cases in contractions.txt that actually use multiple-vowels (113 cases) - - test/shaping/Makefile.am | 3 ++ - .../2de1ab4907ab688c0cfc236b0bf51151db38bf2e.ttf | Bin 0 -> 125256 bytes - .../82f4f3b57bb55344e72e70231380202a52af5805.ttf | Bin 0 -> 11116 bytes - .../a02a7f0ad42c2922cb37ad1358c9df4eb81f1bca.ttf | Bin 0 -> 106096 bytes - test/shaping/tests/tibetan-contractions-1.tests | 60 +++++++++++++++++++++ - test/shaping/tests/tibetan-contractions-2.tests | 53 ++++++++++++++++++ - test/shaping/tests/tibetan-vowels.tests | 11 ++++ - 7 files changed, 127 insertions(+) - -commit 4e21ec546932c2a982aa52fce718c1a0d90a71d6 -Author: Dominik Schlösser -Date: Fri Jul 14 13:14:23 2017 +0200 - - Fix for reordering of Tibetan vowel u (#443) - - * Undone change for Tibetan vowel u - - * removed comment on reordering that became invalid with roll-back - - * Support for Dzongkha contractions with multiple vowel-signs - - * Removed non-functional and unnecessary defines for HB_MODIFIED_COMBINING_CLASS_CCC138,140 - - src/hb-unicode-private.hh | 9 +++++---- - 1 file changed, 5 insertions(+), 4 deletions(-) - -commit ad52e044bcf733bcc6c0373bafcd78a8c0beb400 -Author: fanc999 -Date: Wed Jun 21 22:19:57 2017 +0800 - - Win32/NMake builds: Support builds from GIT (#498) - - Add Python scripts to generate the full win32/config.h.win32 and - src/hb-version.h which can be used to build directly from a GIT - checkout. Since the scripts are currently intended for building from a - GIT checkout, these are not distributed in the release tarballs. - - Also, support the re-build of Ragel-generated .hh headers using the NMake - build system, and allow one to specify the path of the Ragel executable - if a suitable one cannot be found in the PATH. - - Update the Win32/NMake build documentation to let people know about how - these mechanisms can be utilized. - - win32/README.txt | 20 ++++++- - win32/build-rules-msvc.mak | 5 +- - win32/config-msvc.mak | 7 +++ - win32/create-lists-msvc.mak | 9 ++++ - win32/generate-msvc.mak | 6 +++ - win32/info-msvc.mak | 8 ++- - win32/pc_base.py | 124 ++++++++++++++++++++++++++++++++++++++++++++ - win32/replace.py | 115 ++++++++++++++++++++++++++++++++++++++++ - win32/setup.py | 62 ++++++++++++++++++++++ - 9 files changed, 353 insertions(+), 3 deletions(-) - -commit 3b0e47ca006b8fe6a24ace72dd931e3649bb8e6f -Author: Ebrahim Byagowi -Date: Mon Jun 19 14:47:09 2017 +0430 - - Fix arm-none-eabi build (fixes #451) (#496) - - CMakeLists.txt | 4 ++-- - src/hb-buffer.cc | 4 ++-- - src/hb-common.cc | 28 ++++++++++++++++++++-- - src/hb-ot-font.cc | 2 +- - src/hb-ot-layout.cc | 2 +- - src/hb-ot-shape-complex-arabic-table.hh | 14 +++++------ - src/hb-ot-shape-complex-arabic.cc | 2 +- - src/hb-ot-shape-complex-hangul.cc | 16 ++++++------- - src/hb-ot-shape-complex-indic-table.cc | 22 ++++++++--------- - src/hb-ot-shape-complex-indic.cc | 12 +++++----- - src/hb-ot-shape-complex-myanmar.cc | 2 +- - src/hb-ot-shape-complex-thai.cc | 12 +++++----- - src/hb-ot-shape-complex-use-table.cc | 42 ++++++++++++++++----------------- - src/hb-unicode-private.hh | 16 ++++++------- - src/hb-utf-private.hh | 18 +++++++------- - 15 files changed, 110 insertions(+), 86 deletions(-) - -commit 76c4873e8cad2871d2d547318d371b9a89d8c806 -Author: Ebrahim Byagowi -Date: Fri Jun 2 21:53:10 2017 +0430 - - Support branch prediction helpers on clang compiles (#491) - - src/hb-private.hh | 7 +++---- - 1 file changed, 3 insertions(+), 4 deletions(-) - -commit 7dba30639a6f62803dfc21706bc7c654799f373e -Author: Behdad Esfahbod -Date: Thu Jun 1 11:44:42 2017 -0400 - - Handle allocation failure in hb-language code - - src/hb-common.cc | 14 +++++++++++--- - 1 file changed, 11 insertions(+), 3 deletions(-) - -commit 92e2c4baafa0401cb8d7dd2bbd70acfaeaf2aabf -Author: Sebastian Rasmussen -Date: Mon May 29 12:53:30 2017 -0500 - - Avoid using strdup inside library. (#488) - - If an application provides a malloc replacement through - hb_malloc_impl() it is important that it is used to allocate - everything, but the use of strdup() circumvents this and - causes system malloc() to be called instead. This pairs - badly with the custom hb_free_impl() being called later. - - src/hb-common.cc | 8 +++++++- - src/hb-private.hh | 4 ---- - 2 files changed, 7 insertions(+), 5 deletions(-) - -commit 06cfe3f7369684fc05fa16da7f6778350f8bcba5 -Author: Khaled Hosny -Date: Wed May 17 21:32:47 2017 +0300 - - Do not skip TAG characters in glyph substitution (#487) - - Hide them like Mongolian Free Variation Selectors instead. - - Fixes https://github.com/behdad/harfbuzz/issues/463 - - src/hb-ot-layout-gsubgpos-private.hh | 2 +- - src/hb-ot-layout-private.hh | 13 +++++++++---- - test/shaping/Makefile.am | 1 + - .../sha1sum/53374c7ca3657be37efde7ed02ae34229a56ae1f.ttf | Bin 0 -> 5044 bytes - test/shaping/tests/emoji-flag-tags.tests | 2 ++ - 5 files changed, 13 insertions(+), 5 deletions(-) - -commit 1817221620dce713aae67352568ebcc231ab9512 -Author: Behdad Esfahbod -Date: Tue May 16 14:26:28 2017 -0700 - - Minor - - src/hb-atomic-private.hh | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 152736981d5bb9e098c1a8b86fcf8fe577a4a9ec -Author: Ebrahim Byagowi -Date: Sat May 13 21:32:56 2017 +0430 - - [cmake] Add framework build support (#484) - - CMakeLists.txt | 46 +++++++++++++++++++++++++++++++++++++++------- - 1 file changed, 39 insertions(+), 7 deletions(-) - -commit bf50ddaf2b416bd80ae8849593bc745b578193d9 -Author: Ebrahim Byagowi -Date: Thu May 4 20:31:42 2017 +0430 - - [cmake] minor (#482) - - CMakeLists.txt | 30 +++++++++++++++++++----------- - 1 file changed, 19 insertions(+), 11 deletions(-) - -commit 141b33de9a141248e2f034d55f48460159536cb9 -Author: Behdad Esfahbod -Date: Sun Apr 23 16:19:13 2017 -0700 - - 1.4.6 - - NEWS | 9 +++++++++ - configure.ac | 2 +- - 2 files changed, 10 insertions(+), 1 deletion(-) - -commit 74b99ef2249107e7cd01bd1ee522a5d9ce61e05f -Author: mhosken -Date: Thu Apr 20 19:13:22 2017 +0100 - - Fix graphite2 rtl conversion (#475) - - src/hb-graphite2.cc | 32 ++++++++++++++------------------ - 1 file changed, 14 insertions(+), 18 deletions(-) - -commit 696641314e7eb60a5a2e08c1c4fd1e5e41022148 -Author: ebraminio -Date: Wed Apr 19 22:59:46 2017 +0430 - - [cmake] Final touches (#473) - - CMakeLists.txt | 113 +++++++++++++++++++++++++++------------------------------ - 1 file changed, 54 insertions(+), 59 deletions(-) - -commit aacca37590656e235218557ea509eb5624dfbff9 -Author: Chris Peterson -Date: Mon Apr 17 23:25:24 2017 -0700 - - Fix clang -Wcomma warnings (#471) (#472) - - clang's new -Wcomma compiler option warns about possible misuse of the - comma operator such as between two statements. - - hb-common.cc:190:9 [-Wcomma] possible misuse of comma operator here - hb-ot-layout-gsubgpos-private.hh:345:30 [-Wcomma] possible misuse of - comma operator here - hb-shape-plan.cc:438:26 [-Wcomma] possible misuse of comma operator here - - src/hb-common.cc | 6 ++++-- - src/hb-ot-layout-gsubgpos-private.hh | 2 +- - src/hb-shape-plan.cc | 7 ++++--- - 3 files changed, 9 insertions(+), 6 deletions(-) - -commit 4d7c52066b5b205b20ba2679cb57a4e593942102 -Author: ebraminio -Date: Mon Apr 17 15:53:46 2017 +0430 - - [cmake] Remove HB_DISABLE_DEPRECATED as it seems needed for pango build (#470) - - CMakeLists.txt | 2 -- - 1 file changed, 2 deletions(-) - -commit 5ecf96e3a22e896184710a9f146a8bf149af6ca4 -Author: William Hua -Date: Mon Apr 17 01:33:42 2017 -0400 - - Use absolute paths of ragel generated headers (#467) - - https://github.com/behdad/harfbuzz/issues/455 - - src/Makefile.am | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit c42869eb713f53504e1b77a679cff2f88ebd0c20 -Author: Dominik Schlösser -Date: Sat Apr 15 21:17:05 2017 +0200 - - Small doc fix: `make check` runs the tests (#469) - - test/shaping/README.md | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 75931427aa4344cd75321c618b8373ffcf1ffc33 -Author: ebraminio -Date: Fri Apr 14 05:08:11 2017 +0430 - - [cmake] Fix try compile link issues (#466) - - CMakeLists.txt | 2 ++ - 1 file changed, 2 insertions(+) - -commit cb021e14ab345def326fb58ce486515af179b2cf -Author: ebraminio -Date: Fri Apr 14 04:31:17 2017 +0430 - - [cmake] typo (#465) - - CMakeLists.txt | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit a41d5ea4453995dfd7c523427c6017623164c6ff -Author: ebraminio -Date: Fri Apr 14 04:25:50 2017 +0430 - - [cmake] Add atomic ops availability detection (#464) - - CMakeLists.txt | 30 ++++++++++++++++++++++++++++++ - 1 file changed, 30 insertions(+) - -commit 8568588202dd718b089e43cd6d46f689c706f665 -Author: ebraminio -Date: Thu Apr 13 02:17:16 2017 +0430 - - [cmake] Remove NO_MT flag (#462) - - CMakeLists.txt | 1 - - 1 file changed, 1 deletion(-) - -commit c04c1fe86ee4b9b58ad88dad5593239ade4c75b8 -Author: jfkthame -Date: Tue Apr 11 22:29:13 2017 +0100 - - Blacklist GDEF table in additional Tahoma versions. (#459) - - There are more broken versions of Tahoma out there on various Windows releases, - so we need to add them to our blacklist to avoid broken rendering. - See https://bugzilla.mozilla.org/show_bug.cgi?id=1279925 for details. - - src/hb-ot-layout.cc | 8 ++++++++ - 1 file changed, 8 insertions(+) - -commit adfd4ae1cf6c4abe66aecf1eb0a05c7183a0f4e2 -Author: ebraminio -Date: Tue Apr 11 23:18:18 2017 +0430 - - [cmake] Improve third party libraries support (#461) - - CMakeLists.txt | 57 ++++++++++++++++++++++++++++++++++++-------- - src/hb-ucdn/Makefile.sources | 5 +++- - 2 files changed, 51 insertions(+), 11 deletions(-) - -commit 3a8bc572115a28741d5a80f3f1e28e6756b9abfa -Author: ebraminio -Date: Tue Apr 11 21:32:14 2017 +0430 - - [cmake] Add utils build support (#460) - - CMakeLists.txt | 150 +++++++++++++++++++++++++++++++++++++++++---------------- - 1 file changed, 108 insertions(+), 42 deletions(-) - -commit bc1244e2395f844b2b41315cb1eef29570e46b29 -Author: Chun-wei Fan -Date: Thu Apr 6 18:44:28 2017 +0800 - - NMake Makefiles: Fix ICU builds - - Fix the check conditions in config-msvc.mak and info-msvc.mak so that - the ICU items does indeed get built into the HarfBuzz main DLL, and that - the correct configuration info is displayed. - - Also update the checks in detectenv-msvc.mak so that we can detect that - we are using Visual Studio 2017 (although the 2015-built binaries use - the same CRT DLL as the 2017 ones). - - win32/config-msvc.mak | 22 ++++++++++++---------- - win32/detectenv-msvc.mak | 4 +++- - win32/info-msvc.mak | 12 ++++++++---- - 3 files changed, 23 insertions(+), 15 deletions(-) - -commit a4471d0c2cc4baa81e2cea695f9bd15e03d0f15e -Author: Behdad Esfahbod -Date: Wed Apr 5 15:42:11 2017 +0200 - - Move list of ragel sources to Makefile.sources as well - - src/Makefile.am | 14 ++++---------- - src/Makefile.sources | 9 +++++++++ - 2 files changed, 13 insertions(+), 10 deletions(-) - -commit d2acaf6d729727f47c5aacf7ee40097580b6f18d -Author: ebraminio -Date: Wed Apr 5 02:21:23 2017 -0700 - - Split ragel generated files lists and remove hardcoded rl files lists (#453) - - CMakeLists.txt | 126 +++++++++++++++++++++----------------------------- - src/Makefile.am | 2 + - src/Makefile.sources | 16 +++++-- - win32/config-msvc.mak | 8 ++-- - 4 files changed, 71 insertions(+), 81 deletions(-) - -commit 7d64c0ef37dd930e9807bd80d398491aa9c4428c -Author: ebraminio -Date: Tue Apr 4 15:03:51 2017 +0430 - - Add CMake build support (#444) - - CMakeLists.txt | 254 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ - Makefile.am | 1 + - appveyor.yml | 61 +++++++++----- - 3 files changed, 295 insertions(+), 21 deletions(-) - -commit 740fdbcd0e6d25c1d6f12537ca2aa559650b9d52 -Author: jfkthame -Date: Mon Apr 3 12:22:39 2017 +0100 - - avoid UBSan warning in get_stage_lookups (#450) - - See https://bugzilla.mozilla.org/show_bug.cgi?id=1336600 - - src/hb-ot-map-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 8d256841ca7462fd596329abf6f71bafb56fd621 -Author: Dominik Schloesser -Date: Sun Mar 26 09:22:34 2017 +0200 - - Current fonttools (3.9.1) generate subset-file called font.subset.ttf instead of older font.ttf.subset - - test/shaping/record-test.sh | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - -commit c2a9de15f5d9477c6f1c143ed8265f71fdb04584 -Author: Dominik Schloesser -Date: Sun Mar 26 09:21:13 2017 +0200 - - Updated samples: record-it.sh is now record-test.sh - - test/shaping/README.md | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit f2e6c7ce51283809033d08692a2dee7cf04aefc5 -Author: Khaled Hosny -Date: Sun Mar 26 10:48:53 2017 +0200 - - [tools] Make hb-unicode-code work with Python 3 - - Related to https://github.com/behdad/harfbuzz/pull/445 - - test/shaping/hb_test_tools.py | 13 ++++++++++++- - 1 file changed, 12 insertions(+), 1 deletion(-) - -commit edcf6344bc62af9ea726a633468c9243e127fa13 -Author: Behdad Esfahbod -Date: Fri Mar 24 10:24:52 2017 -0700 - - Blacklist more versions of Padauk - - Patch from Phil Race. - - src/hb-ot-layout.cc | 8 ++++++++ - 1 file changed, 8 insertions(+) - -commit e693ba77980d5ded65bf773d48b6b58274933fb7 -Author: Khaled Hosny -Date: Thu Mar 23 00:35:36 2017 +0200 - - [ci] Fix msys2 build on AppVeyor - - For whatever reason the env variables need to be the Windows way or they - end up being empty. - - appveyor.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 91570a1eeb1eca425372e203656369f39ede5c61 -Author: Khaled Hosny -Date: Wed Mar 22 23:07:15 2017 +0200 - - Just always use strtod here - - src/hb-common.cc | 4 ---- - 1 file changed, 4 deletions(-) - -commit 539571c1a9cb5d443d029247874af37fed75432f -Author: Chun-wei Fan -Date: Fri Feb 24 17:58:25 2017 +0800 - - src/hb-common.cc: Fix build on older Visual Studio - - Visual Studio only supported strtof() from Visual Studio 2013 onwards, so - use strtod() instead to do the operation, which should do the same thing, - sans going to a double, not a float. - - src/hb-common.cc | 4 ++++ - 1 file changed, 4 insertions(+) - -commit b90fb83ea6067802e62af9e1ea0c61c7ac79e9a9 -Author: Chun-wei Fan -Date: Fri Feb 24 17:47:44 2017 +0800 - - Visual Studio builds: Fix Introspection when UCDN enabled - - The sources in src/hb-ucdn and not included correctly into the NMake - Makefiles, as we need their explicit relative location as we pass all the - sources we used into the introspection scanner. This was not an issue - before as we excluded the UCDN sources in the build when we enabled - introspection (meaning GLib is enabled), but since we default on using - UCDN on all builds unless explicitly disabled, we need to deal with this. - - This did not affect builds using UCDN without introspection due to the use - of NMake batch rules. - - Fix this by creating a NMake Makefile module on-the-fly with the correct - subdir info, and using that list in there instead. - - win32/Makefile.vc | 15 +++++++++++++++ - win32/config-msvc.mak | 2 +- - 2 files changed, 16 insertions(+), 1 deletion(-) - -commit f0aa167e447e8aa818a63a4a325be57844bf0353 -Author: Chun-wei Fan -Date: Thu Feb 23 13:02:49 2017 +0800 - - Update Visual Studio builds for UCDN usage - - We now use UCDN by default, so make it so in the build files; however - don't hardcode HAVE_UCDN as one may still opt not to use it (but pass - it in as a CFLAG unless one explicitly disables UCDN by using NO_UCDN=1 - on the NMake command line). - - Note that we are not blocking builds where UCDN is disabled along with - GLib and ICU, as that will trigger a build error anyways which will tell - the user what needs to be done to remedy this. - - win32/README.txt | 6 +++--- - win32/config-msvc.mak | 28 +++++++++++++++------------- - win32/config.h.win32.in | 2 +- - win32/info-msvc.mak | 43 +++++++++++++++++++++++++------------------ - 4 files changed, 44 insertions(+), 35 deletions(-) - -commit 60e2586f7652aaa0ee908eb8f54b1498e2ad299e -Author: Behdad Esfahbod -Date: Fri Mar 10 23:02:28 2017 -0800 - - 1.4.5 - - NEWS | 8 ++++++++ - configure.ac | 2 +- - 2 files changed, 9 insertions(+), 1 deletion(-) - -commit 47e7a1800fba9b8bf042a1f4976a15ab012ebfc7 -Author: Behdad Esfahbod -Date: Fri Mar 10 13:23:02 2017 -0800 - - Revert "Fix Context lookup application when moving back after a glyph delete" - - This reverts commit b9b005f3a44ccf78a45b212b126287b69b9f4b40. - - This introduced invalid access cases. Revert until I fix correctly. - - src/hb-ot-layout-gsubgpos-private.hh | 7 ++++--- - .../sha1sum/5bbf3712e6f79775c66a4407837a90e591efbef2.ttf | Bin 6400 -> 0 bytes - test/shaping/tests/context-matching.tests | 1 - - 3 files changed, 4 insertions(+), 4 deletions(-) - -commit 3c080a7a0aefec1e9620e3fb399ad280ea4ee5a2 -Author: Behdad Esfahbod -Date: Tue Mar 7 18:13:28 2017 -0800 - - Fix buffer serialize of empty buffer - - Ouch! - - src/hb-buffer-serialize.cc | 2 ++ - 1 file changed, 2 insertions(+) - -commit 8e42c3cb2bb81351d0a28f213cb4f6d35f4b5e46 -Author: Behdad Esfahbod -Date: Sun Mar 5 13:54:56 2017 -0800 - - 1.4.4 - - NEWS | 8 ++++++++ - configure.ac | 2 +- - 2 files changed, 9 insertions(+), 1 deletion(-) - -commit 9ac9af725c781f4597e8db46cf330d595c072739 -Author: Behdad Esfahbod -Date: Sun Mar 5 13:51:01 2017 -0800 - - Add TODO item - - src/hb-ot-layout-gsubgpos-private.hh | 24 +++++++++++++++++++++++- - 1 file changed, 23 insertions(+), 1 deletion(-) - -commit 3ebcd5a381e2de27a0cfb5af3359331f0b7e7108 -Author: Elie Roux -Date: Sun Mar 5 16:26:01 2017 +0100 - - first working version! - - src/hb-ot-layout.cc | 2 ++ - src/hb-ot.h | 1 + - 2 files changed, 3 insertions(+) - -commit e65aaaa00a3b5ac811b5c73b5186cd7d65731f7b -Author: Elie Roux -Date: Sun Mar 5 14:53:39 2017 +0100 - - BASE: start api - - src/Makefile.sources | 2 ++ - src/hb-ot-base.cc | 58 ++++++++++++++++++++++++++++++++++++++++++ - src/hb-ot-base.h | 56 ++++++++++++++++++++++++++++++++++++++++ - src/hb-ot-layout-base-table.hh | 15 ++--------- - 4 files changed, 118 insertions(+), 13 deletions(-) - -commit 5aec2fb8d0a4db52ae414d980b66018ca5ce1e9c -Author: Behdad Esfahbod -Date: Thu Mar 2 11:46:33 2017 -0800 - - Remove TODO item that is not going to happen - - src/hb-ot-shape.cc | 1 - - 1 file changed, 1 deletion(-) - -commit b9b005f3a44ccf78a45b212b126287b69b9f4b40 -Author: Behdad Esfahbod -Date: Wed Mar 1 14:27:23 2017 -0800 - - Fix Context lookup application when moving back after a glyph delete - - This was broken forever, since days that we did not allow moving - tape backwards. Works now. Reported by Doug Felt. - - src/hb-ot-layout-gsubgpos-private.hh | 7 +++---- - .../sha1sum/5bbf3712e6f79775c66a4407837a90e591efbef2.ttf | Bin 0 -> 6400 bytes - test/shaping/tests/context-matching.tests | 1 + - 3 files changed, 4 insertions(+), 4 deletions(-) - -commit f72726c52b104a71ebf5b39fa1e3eb9febd446fc -Author: Elie Roux -Date: Sun Feb 26 15:08:43 2017 +0100 - - BASE: add function in main BASE object - - src/hb-ot-layout-base-table.hh | 24 ++++++++++++++++++++++++ - 1 file changed, 24 insertions(+) - -commit 3963315f1b2eae2504bc683760245c827cd1ef16 -Author: Elie Roux -Date: Sun Feb 26 15:07:53 2017 +0100 - - BASE: first complete version - - src/hb-ot-layout-base-table.hh | 444 +++++++++++++++++++++++++++++------------ - 1 file changed, 317 insertions(+), 127 deletions(-) - -commit a11501444cfc4854bfe2b1d3ce0fc5a957e959d8 -Author: Behdad Esfahbod -Date: Sat Feb 25 13:37:54 2017 -0800 - - Add few tests found by libFuzzer and oss-fuzz - - .../sha1sum/a34a9191d9376bda419836effeef7e75c1386016.ttf | Bin 0 -> 1010 bytes - .../sha1sum/a69118c2c2ada48ff803d9149daa54c9ebdae30e.ttf | Bin 0 -> 820 bytes - .../sha1sum/b6acef662e0beb8d5fcf5b61c6b0ca69537b7402.ttf | Bin 0 -> 3301 bytes - .../sha1sum/e88c339237f52d21e01c55f01b9c1b4cc14a0467.ttf | Bin 0 -> 515 bytes - test/shaping/tests/fuzzed.tests | 4 ++++ - 5 files changed, 4 insertions(+) - -commit 85630996b8afa699f7b5d19346cdf5c72fcd6e2d -Author: Behdad Esfahbod -Date: Sat Feb 25 13:30:38 2017 -0800 - - Fix buffer-overrun with Bengali reph positioning code - - This has no security implications whatsoever since we always keep - and extra element at the end of buffer, just in case. - - Discovered by oss-fuzz - CC https://github.com/behdad/harfbuzz/issues/139 - Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=660 - - src/hb-ot-shape-complex-indic.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit d34e35b47457e757781b1769a1fbaf107ec6e32f -Author: Elie Roux -Date: Sat Feb 25 20:41:05 2017 +0100 - - BASE: WIP: more access functions - - src/hb-ot-layout-base-table.hh | 212 +++++++++++++++++++++++++++++++++++++---- - 1 file changed, 191 insertions(+), 21 deletions(-) - -commit 6685d281d6f50bf046bbfef4a5263e15d15f2f02 -Author: Behdad Esfahbod -Date: Sat Feb 25 11:35:05 2017 -0800 - - 1.4.3 - - NEWS | 12 ++++++++++++ - configure.ac | 2 +- - 2 files changed, 13 insertions(+), 1 deletion(-) - -commit bd15567ed6a3667e6f8332b7374aece6a6f2361b -Author: Elie Roux -Date: Sat Feb 25 17:08:01 2017 +0100 - - BASE: align member's names - - src/hb-ot-layout-base-table.hh | 70 +++++++++++++++++++++--------------------- - 1 file changed, 35 insertions(+), 35 deletions(-) - -commit 499b4bef2a5b6d49374ab4977509d1fbf7bd6038 -Author: Elie Roux -Date: Sat Feb 25 16:48:22 2017 +0100 - - BASE: more consistent naming (with spec and Harfbuzz code base) - - src/hb-ot-layout-base-table.hh | 44 +++++++++++++++++++++--------------------- - 1 file changed, 22 insertions(+), 22 deletions(-) - -commit a0bdd546c584eb7c7ea3ca7e19a178723e6fe77f -Author: Elie Roux -Date: Sat Feb 25 16:34:58 2017 +0100 - - factorize horiz+vertAxis - - src/hb-ot-layout-base-table.hh | 31 +++++-------------------------- - 1 file changed, 5 insertions(+), 26 deletions(-) - -commit 1d30c6d935535743c73b2d18abcc6ae86a1cfc5b -Author: Elie Roux -Date: Sat Feb 25 16:19:35 2017 +0100 - - BASE: sanitize - - src/hb-ot-layout-base-table.hh | 151 ++++++++++++++++++++++++++++++++++++++++- - 1 file changed, 148 insertions(+), 3 deletions(-) - -commit a657f23ca31237d652b5c101ed24194b6aeadaf8 -Author: Dominik Röttsches -Date: Mon Feb 20 21:52:07 2017 +0200 - - Blacklist another instance of Padauk (#419) - - In https://crbug.com/681813 another instance of Padauk was identified - triggering collapsed glyphs. Blacklist this version by patching - hb-ot-layout.cc to print out gdef, gsub, and gpos table length, then - adding those to the list of blacklisted versions. - - src/hb-ot-layout.cc | 3 +++ - 1 file changed, 3 insertions(+) - -commit f131f00b1779b44633223915e17cbce358ad063a -Author: Elie Roux -Date: Sun Feb 19 10:12:22 2017 +0100 - - compile, move into hb-ot-layout.cc - - src/hb-ot-font.cc | 1 - - src/hb-ot-layout-base-table.hh | 57 +++++++++++++++++++++++++++++++----------- - src/hb-ot-layout.cc | 1 + - 3 files changed, 43 insertions(+), 16 deletions(-) - -commit d0b97353e930d9b258f42f1cc1ac1a75306b76a8 -Author: Elie Roux -Date: Sun Feb 19 08:48:22 2017 +0100 - - hb-ot-base-table.hh -> hb-ot-layout-base-table.hh - - per https://github.com/behdad/harfbuzz/issues/418#issuecomment-280873811 - - src/Makefile.sources | 2 +- - src/hb-ot-font.cc | 2 +- - src/{hb-ot-base-table.hh => hb-ot-layout-base-table.hh} | 0 - 3 files changed, 2 insertions(+), 2 deletions(-) - -commit f748e11645a3361f94d6fb10ce59febbaa5ba8ca -Author: Elie Roux -Date: Sat Feb 18 19:54:33 2017 +0100 - - bootstraping structure - - src/Makefile.sources | 1 + - src/hb-ot-base-table.hh | 238 ++++++++++++++++++++++++++++++++++++++++++++ - src/hb-ot-font.cc | 1 + - src/hb-ot-layout-private.hh | 2 + - 4 files changed, 242 insertions(+) - -commit 70202983f57fe85b2d3b56a9c205effeee66222d -Author: ebraminio -Date: Sat Feb 18 10:37:36 2017 +0330 - - [ci] Disable vcpkg freetype installation and fix Appveyor CI (#422) - - appveyor.yml | 16 ++++++++-------- - 1 file changed, 8 insertions(+), 8 deletions(-) - -commit 44f7d6ecde9bf7427a05cbe73ed5d668b8a72b2a -Author: jfkthame -Date: Fri Feb 17 03:03:24 2017 +0000 - - Guard against underflow when adjusting length (#421) - - * Guard against underflow when adjusting length - - With the fuzz-testcase in mozilla bug 1295299, we end up with a recursed lookup that removes 3 items, when `match_positions[idx]` is 0, which results in (unsigned) `end` wrapping to a huge value. - - Making `end` a signed int is probably the simplest route to a fix. - - Fixes https://bugzilla.mozilla.org/show_bug.cgi?id=1295299. - - * Add testcase for #421. - - src/hb-ot-layout-gsubgpos-private.hh | 6 +++--- - .../sha1sum/558661aa659912f4d30ecd27bd09835171a8e2b0.ttf | Bin 0 -> 1358 bytes - test/shaping/tests/fuzzed.tests | 1 + - 3 files changed, 4 insertions(+), 3 deletions(-) - -commit 45766b673f427bb791c9d5886cadedfac0447066 -Author: jfkthame -Date: Thu Feb 16 17:40:21 2017 +0000 - - [indic] Add support for Grantha marks that may be used in Tamil to th… (#401) - - * [indic] Add support for Grantha marks that may be used in Tamil to the Indic table. - - See https://bugzilla.mozilla.org/show_bug.cgi?id=1331339. - - Testcase: U+0BA4,U+0BC6,U+1133c,U+0BAA,U+1133c,U+0BC6,U+1133c - - * [indic] Add test for Grantha nukta that is allowed in Tamil by ScriptExtensions.txt - - src/hb-ot-shape-complex-indic-table.cc | 7 +++++++ - .../sha1sum/3493e92eaded2661cadde752a39f9d58b11f0326.ttf | Bin 0 -> 1400 bytes - test/shaping/tests/indic-script-extensions.tests | 1 + - 3 files changed, 8 insertions(+) - -commit d4bb52b9fd8a5bc4af13752ea3e464eccfe3223b -Author: Behdad Esfahbod -Date: Thu Feb 9 14:13:25 2017 -0800 - - Unbreak hb-coretext build - - src/hb-coretext.cc | 3 +++ - 1 file changed, 3 insertions(+) - -commit c8dfed8e1ee4ab64b6936f5c8561db0666e37647 -Merge: 7c47474f2 b435c7c46 -Author: Behdad Esfahbod -Date: Wed Feb 8 14:36:18 2017 -0800 - - Merge pull request #357 from khaledhosny/graphite-scale - - [graphite] Fix shaping with varying font sizes - -commit 7c47474f209bdf84cf87844c277ed711cad78196 -Author: Behdad Esfahbod -Date: Wed Feb 8 14:33:28 2017 -0800 - - Set LC_ALL instead of LANG when creating harfbuzz.def - - Hopefully fixes Travis faliure? - https://github.com/behdad/harfbuzz/pull/413#issuecomment-278481882 - https://travis-ci.org/khaledhosny/harfbuzz/jobs/199785332#L1065 - - src/Makefile.am | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit ffde3c9f9effcd2b47f5fd76df45551e68c0b1ec -Author: Philip Withnall -Date: Wed Feb 8 21:56:57 2017 +0000 - - hb-font: Fix a potentially undefined use of memcmp() (#413) - - While it’s fine to call memcmp(x, 0, 0) in practice, the C99 standard - explicitly says that this is not allowed: even if the length is zero, - the pointer arguments must be valid. - - http://stackoverflow.com/a/16363034 - - Coverity ID: 141178 - - Signed-off-by: Philip Withnall - - src/hb-font.cc | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 09594df1aecbb7d37093055147c25cc7d7b7fef6 -Author: Behdad Esfahbod -Date: Tue Feb 7 18:25:12 2017 -0800 - - Update ax_pthread.m4 to latest upstream version - - Might help with https://github.com/behdad/harfbuzz/issues/399 - - m4/ax_pthread.m4 | 394 ++++++++++++++++++++++++++++++++++++++++--------------- - 1 file changed, 285 insertions(+), 109 deletions(-) - -commit a6ced90efccf869defc0b310effca220f01cf318 -Author: Philip Withnall -Date: Wed Feb 8 02:18:33 2017 +0000 - - test: Fix some memory leaks in test-font.c (#409) - - Coverity IDs: 141039, 141040, 141041 - - test/api/test-font.c | 35 ++++++++++++++++++++++++++++++----- - 1 file changed, 30 insertions(+), 5 deletions(-) - -commit 925ceacfed45c44dd2a025c32bebb1358b560741 -Author: Philip Withnall -Date: Wed Feb 8 02:17:48 2017 +0000 - - util: Add missing field initialisers in constructor (#410) - - Coverity ID: 141042 - - util/hb-shape.cc | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit 73c6dcbb45269186f204b2212288b6384ce42c9d -Author: Behdad Esfahbod -Date: Tue Feb 7 16:53:21 2017 -0800 - - Silence Coverity warning - - Fixes https://github.com/behdad/harfbuzz/issues/408 - - src/hb-ot-shape-complex-arabic.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 466b3e58bdc64229dab08c6e0e0079c789540370 -Author: Behdad Esfahbod -Date: Fri Feb 3 16:43:25 2017 -0800 - - Shuffle things around a bit - - src/hb-coretext.cc | 4 ++-- - src/hb-directwrite.cc | 4 ++-- - src/hb-fallback-shape.cc | 4 ++++ - src/hb-graphite2.cc | 4 ++-- - src/hb-ot-layout-private.hh | 1 - - src/hb-ot-layout.cc | 2 -- - src/hb-ot-math.cc | 3 +-- - src/hb-ot-shape.cc | 4 ++++ - src/hb-ot-var.cc | 2 -- - src/hb-shape-plan.cc | 7 ------- - src/hb-shaper-private.hh | 11 +++++++---- - src/hb-uniscribe.cc | 4 ++-- - 12 files changed, 24 insertions(+), 26 deletions(-) - -commit fc8189b63931f03c5d2e70dde198e9c856bd78f5 -Author: Behdad Esfahbod -Date: Fri Feb 3 16:17:08 2017 -0800 - - Minor - - src/hb-shaper-private.hh | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit d3d3691806aaa6aed93a88c845d472e727e7f850 -Author: Behdad Esfahbod -Date: Fri Feb 3 15:42:03 2017 -0800 - - Add dirty-state tracking to hb_face_t - - src/hb-face-private.hh | 9 +++++++++ - src/hb-face.cc | 19 ++++++++++++++++++- - src/hb-font.cc | 2 +- - 3 files changed, 28 insertions(+), 2 deletions(-) - -commit 2171f48b4b1e66a3c16a83cc00b0006d32ae9738 -Author: Behdad Esfahbod -Date: Fri Feb 3 10:58:09 2017 -0800 - - Add dirty-state tracking to hb_font_t - - src/hb-font-private.hh | 12 ++++++++++++ - src/hb-font.cc | 30 ++++++++++++++++++++++++++++++ - 2 files changed, 42 insertions(+) - -commit 95808bad2c17a9ef41c58c04faf1b4706fb7d72e -Author: Behdad Esfahbod -Date: Fri Feb 3 10:39:40 2017 -0800 - - Add new API hb_font_set_face() - - For completeness. - - src/hb-font.cc | 29 +++++++++++++++++++++++++++++ - src/hb-font.h | 4 ++++ - 2 files changed, 33 insertions(+) - -commit 4ec19319ab195d852708661e12da2a6485fce544 -Author: jfkthame -Date: Thu Feb 2 18:48:23 2017 +0000 - - Add Win10 Anniversary Update version of Tahoma to GDEF blacklist. (#412) - - src/hb-ot-layout.cc | 4 ++++ - 1 file changed, 4 insertions(+) - -commit 1dd630a7f2c2cec780fee507367341bc9050cdb3 -Author: Behdad Esfahbod -Date: Wed Feb 1 11:57:21 2017 -0800 - - Minor - - Fixes https://github.com/behdad/harfbuzz/issues/411 - - src/hb-fallback-shape.cc | 2 +- - src/hb-ot-shape-normalize.cc | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit e888f642db16f52836cbfec29de43ff20236dc85 -Author: Behdad Esfahbod -Date: Thu Jan 26 14:50:14 2017 -0800 - - Route Adlam through Arabic shaper - - Fixes joined Adlam rendering. - - Fixes https://github.com/googlei18n/noto-fonts/issues/828 - - src/hb-ot-shape-complex-private.hh | 3 +++ - test/shaping/Makefile.am | 1 + - .../5dfad7735c6a67085f1b90d4d497e32907db4c78.ttf | Bin 0 -> 21160 bytes - test/shaping/tests/arabic-like-joining.tests | 1 + - 4 files changed, 5 insertions(+) - -commit 72c754873c6b15cecb32d9e491c98495f804347a -Author: jfkthame -Date: Thu Jan 26 22:35:41 2017 +0000 - - Add Win7 version of himalaya.ttf to the GDEF table blacklist. (#407) - - src/hb-ot-layout.cc | 2 ++ - 1 file changed, 2 insertions(+) - -commit 22af28a3f14c6d748ed589f8980b168152116c8c -Author: Behdad Esfahbod -Date: Mon Jan 23 23:42:53 2017 -0800 - - [var] Implement MVAR table - - Unhooked. Untested. - - src/Makefile.sources | 1 + - src/hb-font.cc | 2 +- - src/hb-ot-var-mvar-table.hh | 110 ++++++++++++++++++++++++++++++++++++++++++++ - src/hb-ot-var.cc | 1 + - 4 files changed, 113 insertions(+), 1 deletion(-) - -commit 67a191164dec2cfcab97363175c58e459f6ff8f9 -Author: Behdad Esfahbod -Date: Mon Jan 23 23:21:30 2017 -0800 - - [var] Whitespace - - src/hb-ot-var-hvar-table.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 6af6c1114a3495584ac4197c62592741c407b5a2 -Author: Behdad Esfahbod -Date: Mon Jan 23 18:35:00 2017 -0800 - - 1.4.2 - - NEWS | 31 +++++++++++++++++++++++++++++++ - configure.ac | 2 +- - 2 files changed, 32 insertions(+), 1 deletion(-) - -commit 79e8e27ffd3da29ca27d3aebd2ef425bf1cb7f9d -Author: Behdad Esfahbod -Date: Mon Jan 23 17:55:31 2017 -0800 - - [var] Hook up advance variations to hb-ot-font - - Yay, works! - - src/hb-ot-font.cc | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -commit 607434037199ccca422287e4d097487f17f3cfb5 -Author: Behdad Esfahbod -Date: Mon Jan 23 17:55:16 2017 -0800 - - [var] Fix bug in HVAR/VVAR impl - - src/hb-ot-var-hvar-table.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit bd3b11d92663343350813ca29606b369f691af03 -Author: Behdad Esfahbod -Date: Mon Jan 23 17:34:44 2017 -0800 - - [var] Prepare for hooking up advance variations to hb-ot-font - - src/hb-ot-font.cc | 28 +++++++++++++++++----------- - src/hb-ot-var-hvar-table.hh | 8 ++++---- - 2 files changed, 21 insertions(+), 15 deletions(-) - -commit a4fca9f0051dbc177390a4e555b2d0fe642f724e -Author: Behdad Esfahbod -Date: Mon Jan 23 11:56:08 2017 -0800 - - [var] Implement DeltaSetIndexMap and advance delta fetching - - Not hooked up to hb-ot-font yet. - - src/hb-ot-layout-common-private.hh | 8 ++++++ - src/hb-ot-var-hvar-table.hh | 56 ++++++++++++++++++++++++++++++++++++-- - 2 files changed, 61 insertions(+), 3 deletions(-) - -commit 7b399f73efa76cd97131fd123a9a1566f8639cfd -Author: Behdad Esfahbod -Date: Mon Jan 23 11:41:43 2017 -0800 - - [var] Start adding HVAR/VVAR - - src/Makefile.sources | 1 + - src/hb-ot-font.cc | 1 + - src/hb-ot-var-avar-table.hh | 1 - - src/hb-ot-var-fvar-table.hh | 1 - - src/hb-ot-var-hvar-table.hh | 115 ++++++++++++++++++++++++++++++++++++++++++++ - 5 files changed, 117 insertions(+), 2 deletions(-) - -commit b732c53eb5bd0c2cc86f35a9d9623c92579a0b8c -Author: Behdad Esfahbod -Date: Sun Jan 22 20:31:53 2017 -0800 - - Add LArrayOf<> - - src/hb-open-type-private.hh | 1 + - src/hb-ot-cbdt-table.hh | 4 ++-- - src/hb-ot-layout-common-private.hh | 2 +- - 3 files changed, 4 insertions(+), 3 deletions(-) - -commit 5e156fa5ed33cd1a8ff388833563f15930bb12f9 -Author: Behdad Esfahbod -Date: Sun Jan 22 20:28:56 2017 -0800 - - Add LOffsetTo<> - - src/hb-open-file-private.hh | 2 +- - src/hb-open-type-private.hh | 1 + - src/hb-ot-cbdt-table.hh | 4 ++-- - src/hb-ot-cmap-table.hh | 6 +++--- - src/hb-ot-layout-common-private.hh | 10 +++++----- - src/hb-ot-layout-gdef-table.hh | 4 ++-- - src/hb-ot-layout-gsubgpos-private.hh | 2 +- - 7 files changed, 15 insertions(+), 14 deletions(-) - -commit d6bdbbca307d1a4aed60a78133eea40a1a9d5bf3 -Author: Behdad Esfahbod -Date: Sun Jan 22 20:16:51 2017 -0800 - - [var] Remove HB_OT_TAG_fvar/avar - - We're not going to define public macros for tags for tables. - There's little use to those and they are implementation detail. - - docs/harfbuzz-sections.txt | 2 -- - src/hb-ot-var-avar-table.hh | 2 ++ - src/hb-ot-var-fvar-table.hh | 2 ++ - src/hb-ot-var.h | 3 --- - 4 files changed, 4 insertions(+), 5 deletions(-) - -commit a11d9a0466e480efebd69a34827675387cd2ca34 -Author: Behdad Esfahbod -Date: Sun Jan 22 20:09:47 2017 -0800 - - Minor - - src/hb-ot-font.cc | 6 +++--- - src/hb-ot-hmtx-table.hh | 8 +++----- - 2 files changed, 6 insertions(+), 8 deletions(-) - -commit 7a860f656e4aec45c45e0f5fb28c49a91dc5eef2 -Author: Behdad Esfahbod -Date: Sun Jan 22 19:52:09 2017 -0800 - - [var] Add macros for standard axes - - docs/harfbuzz-sections.txt | 7 +++++++ - src/hb-ot-var.h | 6 ++++++ - 2 files changed, 13 insertions(+) - -commit a484e237b11650d00092329855d33dd2f67980e4 -Author: Behdad Esfahbod -Date: Sun Jan 22 19:41:33 2017 -0800 - - [var] Implement 'avar' table mapping - - Untested! - - src/hb-ot-math.cc | 2 -- - src/hb-ot-var-avar-table.hh | 46 ++++++++++++++++++++++++++++++++++++++++++++- - src/hb-ot-var.cc | 23 +++++++++++++++-------- - 3 files changed, 60 insertions(+), 11 deletions(-) - -commit a42909057207cbed1ef95716170434c05beb0002 -Author: Behdad Esfahbod -Date: Sun Jan 22 19:01:07 2017 -0800 - - [var] Flesh out --variations documentation - - util/options.cc | 53 ++++++++++++++--------------------------------------- - 1 file changed, 14 insertions(+), 39 deletions(-) - -commit 5ec96d30cad1592b5e468bd8ad1832dbaf0ad32b -Author: Behdad Esfahbod -Date: Sun Jan 22 18:52:00 2017 -0800 - - [var] Adjust API in prep for 'avar' implementation - - The 'avar' table does not allow random access to axis maps, - so change API to avoid quadratic-time implementation. - - Removed -hb_ot_var_normalize_axis_value(), added - +hb_ot_var_normalize_variations() and - +hb_ot_var_normalize_coords() instead. - - docs/harfbuzz-sections.txt | 3 ++- - src/Makefile.sources | 1 + - src/hb-font.cc | 20 +++++--------------- - src/hb-ot-var.cc | 45 +++++++++++++++++++++++++++++++++++++++------ - src/hb-ot-var.h | 16 ++++++++++++---- - 5 files changed, 59 insertions(+), 26 deletions(-) - -commit 8a577aaa0dd760409bcad1ae3d4f5fb561a62a4b -Author: Behdad Esfahbod -Date: Sun Jan 22 18:22:40 2017 -0800 - - [var] Stub implementation of avar table - - src/hb-ot-var-avar-table.hh | 99 +++++++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 99 insertions(+) - -commit 7647a05a0b37c53465560952b412db4e590f2716 -Author: Behdad Esfahbod -Date: Sun Jan 22 17:47:49 2017 -0800 - - Minor - - src/hb-font.cc | 5 ++++- - src/hb-font.h | 2 +- - src/hb-ft.cc | 2 +- - util/helper-cairo.cc | 14 +++++++++----- - 4 files changed, 15 insertions(+), 8 deletions(-) - -commit d2f249e745a9179943ee39c719b73e1057acbc13 -Author: Behdad Esfahbod -Date: Sun Jan 22 17:42:33 2017 -0800 - - Stub out doc comments for new symbols - - docs/harfbuzz-docs.xml | 2 +- - docs/harfbuzz-sections.txt | 35 +++++++++++++++++++++++++++++++++-- - src/hb-common.cc | 10 ++++++++++ - src/hb-common.h | 5 +++++ - src/hb-directwrite.cc | 2 +- - src/hb-directwrite.h | 2 +- - src/hb-font.cc | 20 ++++++++++++++++++++ - src/hb-ot-var.cc | 24 ++++++++++++++++++++++-- - src/hb-ot-var.h | 12 +++++------- - src/hb-set.cc | 2 +- - 10 files changed, 99 insertions(+), 15 deletions(-) - -commit 5dfd341f51543279039ddafe883c0a1de205fb8a -Author: Behdad Esfahbod -Date: Sun Jan 22 16:55:40 2017 -0800 - - Minor - - src/hb-directwrite.cc | 4 ++-- - src/hb-shape.cc | 2 +- - 2 files changed, 3 insertions(+), 3 deletions(-) - -commit 825e40407da74576f8e83ce0bacad5b0459b83c8 -Author: Behdad Esfahbod -Date: Sun Jan 22 16:41:45 2017 -0800 - - [hb-ft] Remove use of variable-length array - - Hopefully also fixes build failure on msvc. - - src/hb-ft.cc | 33 +++++++++++++++++++++------------ - 1 file changed, 21 insertions(+), 12 deletions(-) - -commit 47ee34e84745756a9aaeb964772377b6c1417ed1 -Author: Behdad Esfahbod -Date: Sat Jan 21 18:10:08 2017 -0800 - - [var] Hook up variations to FreeType face - - hb-view correctly renders variations with ft font-funcs now. - hb-ot-font needs HVAR implementation. - - src/hb-ft.cc | 10 ++++++++++ - util/helper-cairo.cc | 16 +++++++++++++++- - 2 files changed, 25 insertions(+), 1 deletion(-) - -commit 111f3e55178f7cd5a8ae4e8ae111cb48aea4acb5 -Author: Behdad Esfahbod -Date: Sat Jan 21 17:51:41 2017 -0800 - - [util] Add --variations - - Is hooked up to the font, but not to FreeType, so raster doesn't show yet. - - Documentation needs to be done. - - util/options.cc | 91 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ - util/options.hh | 8 ++++- - 2 files changed, 98 insertions(+), 1 deletion(-) - -commit bb1e19268f02d4aad2240c52852e72afcf0f79ad -Author: Behdad Esfahbod -Date: Sat Jan 21 17:41:37 2017 -0800 - - [var] Rename var_coord to variation - - Looks much better. - - src/hb-common.cc | 36 ++++++++++++++++++------------------ - src/hb-common.h | 10 +++++----- - src/hb-font.cc | 20 ++++++++++---------- - src/hb-font.h | 6 +++--- - 4 files changed, 36 insertions(+), 36 deletions(-) - -commit 64fe92bf2d43a0ea31743d774e073f202021dbd1 -Author: Behdad Esfahbod -Date: Sat Jan 21 15:36:35 2017 -0800 - - [var] Remove use of variable-length arrays - - src/hb-font.cc | 30 +++++++++++++++++++++--------- - 1 file changed, 21 insertions(+), 9 deletions(-) - -commit 2491134b386507f611a47e43e3f7c2766d0d288b -Author: Behdad Esfahbod -Date: Sat Jan 21 15:21:50 2017 -0800 - - [var] Add hb_font_set_var_coords() - - src/hb-font.cc | 38 ++++++++++++++++++++++++++++++++++++-- - src/hb-font.h | 8 ++++++-- - 2 files changed, 42 insertions(+), 4 deletions(-) - -commit 113393efec5e0c4c10c141a6d4b801d50fcd8ab8 -Author: Behdad Esfahbod -Date: Sat Jan 21 15:12:03 2017 -0800 - - Remove a few unused includes - - src/hb-face.cc | 6 +----- - src/hb-font.cc | 7 ------- - src/hb-ot-layout.cc | 5 +---- - src/hb-ot-tag.cc | 3 --- - 4 files changed, 2 insertions(+), 19 deletions(-) - -commit 2d40923ca914c90304d07d6e7b9b1040c79c76fe -Author: Behdad Esfahbod -Date: Sat Jan 21 15:06:15 2017 -0800 - - Minor - - src/hb-ot-math.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 8b2a58047095604dcdc576ecbe3e8c2ebb8f48f0 -Author: Behdad Esfahbod -Date: Sat Jan 21 15:05:00 2017 -0800 - - [var] Add hb_font_set_var_coords_design() - - src/hb-font.cc | 21 +++++++++++++++++++-- - src/hb-font.h | 7 ++++++- - 2 files changed, 25 insertions(+), 3 deletions(-) - -commit 0dcc7b49a830e2680d3e6d86d953efab85cef6ff -Author: Behdad Esfahbod -Date: Sat Jan 21 14:50:22 2017 -0800 - - [var] Minor lifecycle adjustment - - src/hb-font.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit bf0d3a665baac9e33c0f774b22197c321b864c80 -Author: Behdad Esfahbod -Date: Sat Jan 21 14:48:46 2017 -0800 - - [var] Add hb_font_get_var_coords_normalized() - - src/hb-font.cc | 10 ++++++++++ - src/hb-font.h | 4 ++++ - 2 files changed, 14 insertions(+) - -commit b3c0714b4bbb726b2b3e5e0416ac84cb5c6eb34e -Author: Behdad Esfahbod -Date: Fri Jan 20 20:30:03 2017 -0800 - - [var] Add hb_var_coord_t and parsing routines - - src/hb-common.cc | 94 +++++++++++++++++++++++++++++++++++++++++++++++++++++--- - src/hb-common.h | 15 ++++++++- - 2 files changed, 103 insertions(+), 6 deletions(-) - -commit 72364103bc9d910d19f23a3764d045af79d076d5 -Author: Behdad Esfahbod -Date: Fri Jan 20 20:16:53 2017 -0800 - - Move code around - - src/hb-common.cc | 250 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-common.h | 18 ++++ - src/hb-shape.cc | 248 ------------------------------------------------------ - src/hb-shape.h | 16 ---- - 4 files changed, 268 insertions(+), 264 deletions(-) - -commit 785982bf830723552270db5649abcb9f9f0b46b1 -Author: Behdad Esfahbod -Date: Fri Jan 20 19:57:27 2017 -0800 - - [var] Flesh out some more - - src/Makefile.am | 2 ++ - src/hb-ot-var-fvar-table.hh | 69 ++++++++++++++++++++++++++++++++------------- - src/hb-ot-var.cc | 39 ++++++++++++++++++++++++- - src/hb-ot-var.h | 21 +++++++++----- - 4 files changed, 104 insertions(+), 27 deletions(-) - -commit 422c0c36c80145a2d993f80d5c7d3265e3d8357a -Author: Behdad Esfahbod -Date: Fri Jan 20 19:14:54 2017 -0800 - - [var] Flesh out a bit - - src/hb-ot-var-fvar-table.hh | 72 ++++++++++++++++++++++++++++++++++++--------- - src/hb-ot-var.h | 10 ++++++- - 2 files changed, 67 insertions(+), 15 deletions(-) - -commit b8376b10904e1772b8d34d852d1100ca7e2185e2 -Author: Behdad Esfahbod -Date: Fri Jan 20 18:19:28 2017 -0800 - - Minor - - src/hb-ft.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit f2e73d37e77ccea8b948d1ecf5f11e7a699386dc -Author: Behdad Esfahbod -Date: Fri Jan 20 17:42:18 2017 -0800 - - [var] Remove over-optimization - - src/hb-font.cc | 4 ---- - 1 file changed, 4 deletions(-) - -commit 469926cc45760cb681d44e5757b18b9bdd736189 -Author: Behdad Esfahbod -Date: Fri Jan 20 17:40:46 2017 -0800 - - [var] Change double to float in API - - src/hb-ot-var.h | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 55d42fd667b9c34a1109bb850bf2ea7322c01040 -Author: Behdad Esfahbod -Date: Thu Jan 19 19:35:48 2017 -0800 - - Start adding hb-ot-var.h and implementation - - Supports enumerating variation axes, normalizing values, etc. - - src/Makefile.sources | 3 + - src/hb-ot-layout-private.hh | 6 ++ - src/hb-ot-layout.cc | 4 ++ - src/hb-ot-var-fvar-table.hh | 133 ++++++++++++++++++++++++++++++++++++++++++++ - src/hb-ot-var.cc | 63 +++++++++++++++++++++ - src/hb-ot-var.h | 81 +++++++++++++++++++++++++++ - src/hb-ot.h | 1 + - 7 files changed, 291 insertions(+) - -commit 272b5115325b785e92ff5500d4bfc3a67490b6f8 -Author: Behdad Esfahbod -Date: Thu Jan 19 19:33:07 2017 -0800 - - Minor - - src/hb-ot-math.cc | 7 +++---- - 1 file changed, 3 insertions(+), 4 deletions(-) - -commit a8a5e81a52f56f5f8bf975dc4d9f79bede5d895b -Author: Behdad Esfahbod -Date: Thu Jan 19 16:55:04 2017 -0800 - - [test-ot-math] Add test with nil face/font - - test/api/test-ot-math.c | 8 ++++++++ - 1 file changed, 8 insertions(+) - -commit 331d07bd40a3d9ff30db5cdf85fdc4f10f0fcb99 -Author: Behdad Esfahbod -Date: Thu Jan 19 16:51:36 2017 -0800 - - Minor - - test/api/test-ot-math.c | 3 +++ - 1 file changed, 3 insertions(+) - -commit b5ecf1bfa459a755e36bc4c7f545c7f803b7d016 -Author: Behdad Esfahbod -Date: Thu Jan 19 16:50:29 2017 -0800 - - Fix warnings - - test/api/test-ot-math.c | 18 ++++++++++-------- - 1 file changed, 10 insertions(+), 8 deletions(-) - -commit 2f2ceee1853649d1b2ad4315a38cd9c07659932a -Author: Behdad Esfahbod -Date: Thu Jan 19 16:48:01 2017 -0800 - - Minor - - test/api/test-ot-math.c | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 2452543fdd383e62b8c4bc44b11bfd6796fc9963 -Author: Khaled Hosny -Date: Wed Jan 18 22:48:13 2017 +0200 - - [ot] Fix automatic fraction for RTL scripts (#405) - - The numbers for right-to-left scripts are processed also from right to - left, so the order of applying “numr” and “dnom” features should be - reversed in such case. - - Fixes https://github.com/behdad/harfbuzz/issues/395 - - src/hb-ot-shape.cc | 16 ++++++++++++++-- - test/shaping/Makefile.am | 1 + - .../15dfc433a135a658b9f4b1a861b5cdd9658ccbb9.ttf | Bin 0 -> 4936 bytes - test/shaping/tests/automatic-fractions.tests | 3 +++ - 4 files changed, 18 insertions(+), 2 deletions(-) - -commit 1337428e4f8a2a4c78312c581bf4e96cd49d783f -Author: Sascha Brawer -Date: Wed Jan 18 13:51:02 2017 +0100 - - Update language tags to OpenType 1.8.1 (#403) - - Resolves https://github.com/behdad/harfbuzz/issues/324 - - src/hb-ot-tag.cc | 77 ++++++++++++++++++++++++++++++++++++++++++++------ - test/api/test-ot-tag.c | 58 +++++++++++++++++++++++++++++++++++++ - 2 files changed, 126 insertions(+), 9 deletions(-) - -commit 784d1180de19fbf4948f08ee2124277cc06066dd -Author: Behdad Esfahbod -Date: Wed Jan 11 11:58:13 2017 -0800 - - Fix build with clang - - src/hb-open-type-private.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 1f810daf1640f279c2f7aad8c312664cf2293987 -Author: Behdad Esfahbod -Date: Mon Jan 9 23:50:56 2017 -0800 - - Port math table to hb_lazy_table_loader_t - - src/hb-open-type-private.hh | 22 +++++++++++++++++----- - src/hb-ot-layout-private.hh | 4 ++-- - src/hb-ot-layout.cc | 7 +++---- - src/hb-ot-math.cc | 17 +---------------- - 4 files changed, 23 insertions(+), 27 deletions(-) - -commit ebbcc1112229cde9ed469efdfeac7ef79dfcd834 -Author: Behdad Esfahbod -Date: Mon Jan 9 22:45:25 2017 -0800 - - Add hb_lazy_table_loader_t - - src/hb-open-type-private.hh | 40 ++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 40 insertions(+) - -commit 1af9d924a474f210fda10b5e8ab6b388241aa0b5 -Author: Behdad Esfahbod -Date: Mon Jan 9 22:22:37 2017 -0800 - - Move lazy-loader to more generic place - - src/hb-open-type-private.hh | 47 ++++++++++++++++++++++++++++++++++++++++++++ - src/hb-ot-font.cc | 48 ++------------------------------------------- - 2 files changed, 49 insertions(+), 46 deletions(-) - -commit ac274331c285e1b42632870e150e1d66a9e21933 -Author: Behdad Esfahbod -Date: Mon Jan 9 22:20:38 2017 -0800 - - In lazy-loading, remember allocation failure - - src/hb-ot-font.cc | 8 +++++--- - 1 file changed, 5 insertions(+), 3 deletions(-) - -commit 29fb0cb727555ea60460d794a3c6f30179546af9 -Author: Behdad Esfahbod -Date: Mon Jan 9 21:18:55 2017 -0800 - - Minor - - src/hb-face-private.hh | 12 ++++++++---- - 1 file changed, 8 insertions(+), 4 deletions(-) - -commit 93ef684b9bc411b7642df3adeb2248ad6010ee66 -Author: Behdad Esfahbod -Date: Mon Jan 9 21:11:00 2017 -0800 - - Rename hb-ot-layout-math-table.hh to hb-ot-math-table.hh - - src/Makefile.sources | 2 +- - src/{hb-ot-layout-math-table.hh => hb-ot-math-table.hh} | 6 +++--- - src/hb-ot-math.cc | 2 +- - 3 files changed, 5 insertions(+), 5 deletions(-) - -commit 3b5263b0e9e23e56e14ce6a8498c21c5ce95cc35 -Author: Behdad Esfahbod -Date: Mon Jan 9 15:49:08 2017 -0800 - - Typo - - src/hb-ot-layout-math-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit ebf927d3d4394159e480fec2042a0456df8dd0f4 -Author: ebraminio -Date: Mon Jan 9 13:12:09 2017 +0330 - - Make UCDN default enabled (fixes #389) (#391) - - win32/config-msvc.mak | 7 ++++--- - 1 file changed, 4 insertions(+), 3 deletions(-) - -commit 00adf9c8a4573a2b3ef61991197821af03bca310 -Author: Behdad Esfahbod -Date: Mon Jan 9 00:00:49 2017 -0800 - - Minor - - Should be enough to get -hangul.cc out of SOURCES in Firefox build: - https://dxr.mozilla.org/mozilla-central/source/gfx/harfbuzz/src/moz.build - - No one else should care! - - src/hb-ot-shape-complex-hangul.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 7cf9952e7fc015d0b08d3de6c95357662d57ad8d -Author: Behdad Esfahbod -Date: Sun Jan 8 23:55:54 2017 -0800 - - [USE] Remove non-canonical decompositions - - We have had added this in Indic shaper to assist shaping these scripts. - In Universal Shaping Engine however, it is up to font designer to - decompose them. Hence moving them from Indic shaper to USE was - wrong. - - Fixup for f6ba63b2e8eb577385f70758efdd3b8408c8a9cb - - Part of fixing https://github.com/behdad/harfbuzz/issues/387 - - src/hb-ot-shape-complex-use.cc | 22 ---------------------- - 1 file changed, 22 deletions(-) - -commit b435c7c46a46350771e837e87fee448fd9dc06d3 -Author: Khaled Hosny -Date: Fri Nov 11 02:16:39 2016 +0200 - - [graphite] Stop creating unused gr_face - - It is unused after previous commit, hb_graphite2_font_get_gr_font() - makes no sense now so deprecating it. - - src/hb-graphite2.cc | 22 +++++----------------- - src/hb-graphite2.h | 4 ++++ - 2 files changed, 9 insertions(+), 17 deletions(-) - -commit 1b00a3b0488a5d1c6ede141ae0545e2eb9af0ed8 -Author: Khaled Hosny -Date: Sun Oct 30 20:16:41 2016 +0200 - - [graphite] Fix shaping with varying font sizes - - Shape using design units and scale the output. - - See https://bugs.documentfoundation.org/show_bug.cgi?id=103403#c7 - - src/hb-graphite2.cc | 27 +++++++++++++++------------ - 1 file changed, 15 insertions(+), 12 deletions(-) - -commit af596a5655ee2ed09da17a7de79f619e1547dcd9 -Author: Behdad Esfahbod -Date: Thu Jan 5 20:24:41 2017 -0800 - - 1.4.1 - - NEWS | 10 ++++++++++ - configure.ac | 2 +- - 2 files changed, 11 insertions(+), 1 deletion(-) - -commit 31f7b1bb94c2cef7ce58df52ddd1b09b42e8f596 -Author: Behdad Esfahbod -Date: Thu Jan 5 20:20:06 2017 -0800 - - Add tests for USE using Marchen font and text - - From http://www.babelstone.co.uk/Fonts/Marchen.html - - test/shaping/Makefile.am | 1 + - .../85414f2552b654585b7a8d13dcc3e8fd9f7970a3.ttf | Bin 0 -> 66936 bytes - test/shaping/tests/use-marchen.tests | 35 +++++++++++++++++++++ - 3 files changed, 36 insertions(+) - -commit 53543f8b3e19456279c86f711feba42ce976668c -Author: Behdad Esfahbod -Date: Thu Jan 5 20:12:32 2017 -0800 - - Ship UCDN and use it by default - - So we are not relying on version of Unicode data in glib... - - Fixes https://github.com/behdad/harfbuzz/issues/386 - Fixes https://github.com/behdad/harfbuzz/issues/388 - - configure.ac | 12 ++++++++---- - src/hb-unicode.cc | 6 +++--- - 2 files changed, 11 insertions(+), 7 deletions(-) - -commit f3397069479cae34e6bdc658e2875fb178b03e43 -Author: Behdad Esfahbod -Date: Thu Jan 5 01:27:49 2017 -0800 - - 1.4.0 - - NEWS | 34 ++++++++++++++++++++++++++++++++++ - configure.ac | 2 +- - 2 files changed, 35 insertions(+), 1 deletion(-) - -commit ae00af4a47587308969dfaf7baa93164d7842710 -Author: Frédéric Wang -Date: Tue Jan 3 05:55:09 2017 +0100 - - Move math-specific code from hb-ot-layout to hb-ot-math #235 (#384) - - src/Makefile.sources | 1 + - src/hb-ot-layout.cc | 244 --------------------------------------------- - src/hb-ot-math.cc | 272 +++++++++++++++++++++++++++++++++++++++++++++++++++ - 3 files changed, 273 insertions(+), 244 deletions(-) - -commit e053ccc5bb7268fe5900dd364d906638c58b2908 -Author: Behdad Esfahbod -Date: Wed Dec 28 15:51:57 2016 -0500 - - Remove Android.mk - - Android uses its own file these days and third-party developers should - be using the autotools-based system against Android NDK. - - Android.mk | 107 ------------------------------------------------------------ - Makefile.am | 1 - - 2 files changed, 108 deletions(-) - -commit 6cff75394192a1ab0dda82981752ade532838333 -Author: Behdad Esfahbod -Date: Wed Dec 28 13:46:21 2016 -0500 - - Remove Tibetan decomposition rules from Indic shaper - - The decomposition is very obscure and unlikely to help - any fonts. Just remove it since Uniscribe probably doesn't - do this either. - - Fixes https://github.com/behdad/harfbuzz/issues/382 - - src/hb-ot-shape-complex-indic.cc | 4 ---- - 1 file changed, 4 deletions(-) - -commit f6ba63b2e8eb577385f70758efdd3b8408c8a9cb -Author: Behdad Esfahbod -Date: Wed Dec 28 13:45:32 2016 -0500 - - Port decompositions from Indic to USE shaper - - Part of https://github.com/behdad/harfbuzz/issues/382 - - src/hb-ot-shape-complex-indic.cc | 16 ---------------- - src/hb-ot-shape-complex-use.cc | 22 ++++++++++++++++++++++ - 2 files changed, 22 insertions(+), 16 deletions(-) - -commit e678b537f77954615721abd65fef28854f95dc5d -Author: Behdad Esfahbod -Date: Mon Dec 26 14:11:59 2016 -0500 - - [indic] Remove Chakma decomposition rule from Indic shaper - - This is now added to USE: - https://github.com/behdad/harfbuzz/pull/383 - - See: - https://github.com/behdad/harfbuzz/issues/381 - https://github.com/behdad/harfbuzz/issues/382 - - src/hb-ot-shape-complex-indic.cc | 4 ---- - 1 file changed, 4 deletions(-) - -commit 49ba698124399373cea000d08e0e9fe5fc2396e8 -Author: jfkthame -Date: Wed Dec 28 18:00:51 2016 +0000 - - [use] Special-case Chakma split-vowel decomp in the USE shaper. (#383) - - src/hb-ot-shape-complex-use.cc | 21 ++++++++++++++++++++- - 1 file changed, 20 insertions(+), 1 deletion(-) - -commit c4ca49d55b49c65e04f0b2acecacd6a5c70978f4 -Author: Behdad Esfahbod -Date: Mon Dec 26 14:52:08 2016 -0500 - - Revert "[indic] Remove redundant Chakma decomposition rule" - - This reverts commit 805f76fc002d703acfcc4c5727f0b4d1baecefaa. - - Need to investigate why having this rule (with the reversed order) - fixes decomposition as reported by punchcutter: - https://github.com/behdad/harfbuzz/issues/381#issuecomment-269237796 - - src/hb-ot-shape-complex-indic.cc | 4 ++++ - 1 file changed, 4 insertions(+) - -commit 805f76fc002d703acfcc4c5727f0b4d1baecefaa -Author: Behdad Esfahbod -Date: Mon Dec 26 14:11:59 2016 -0500 - - [indic] Remove redundant Chakma decomposition rule - - This was not used BTW since Chakma doesn't go through Indic shaper - anymore. - - See: - https://github.com/behdad/harfbuzz/issues/381 - https://github.com/behdad/harfbuzz/issues/382 - - src/hb-ot-shape-complex-indic.cc | 4 ---- - 1 file changed, 4 deletions(-) - -commit 3cc48a46b56be06e6734aaabf37a4b521606380c -Author: Behdad Esfahbod -Date: Mon Dec 26 13:10:31 2016 -0500 - - [indix] Comment - - src/hb-ot-shape-complex-indic.cc | 25 ++++++++++++++++++++++--- - 1 file changed, 22 insertions(+), 3 deletions(-) - -commit 7d1c5d8281b05a5c178ea3ae048b0062145968aa -Author: nvelinov -Date: Sat Dec 24 02:46:37 2016 +0100 - - Compilation Error for ASSERT_STATIC on Some Compilers (#380) - - * this pointer in type definitions is not interpreted as a constant. - This rule is not enforced strictly by all compilers, but the Green Hills Software compiler will regard this as an error. - - * Merging branches for the DEFINE_SIZE_UNION macro - Adding check for the existence of static_size field in the tested member. - - src/hb-open-type-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit e2b878055bb1c0b84e1f7cfbf3d3f80bfc6811ea -Author: Behdad Esfahbod -Date: Thu Dec 22 14:40:19 2016 -0600 - - Disable OTL processing for Hebrew if GPOS doesn't have Hebrew subtable - - New approach to fix this: - https://github.com/behdad/harfbuzz/commit/69f9fbc4200442a35484d3c790ae8f4979be5d60 - - Previous approach was reverted as it was too broad. See context: - https://github.com/behdad/harfbuzz/issues/347#issuecomment-267838368 - - With U+05E9,U+05B8,U+05C1,U+05DC and Arial Unicode, we now (correctly) disable - GDEF and GPOS, so we get results very close to Uniscribe, but slightly different - since our fallback position logic is not exactly the same: - - Before: [gid1166=3+991|gid1142=0+737|gid5798=0+1434] - After: [gid1166=3+991|gid1142=0@402,-26+0|gid5798=0+1434] - Uniscribe: [gid1166=3+991|gid1142=0@348,0+0|gid5798=0+1434] - - src/hb-ot-shape-complex-arabic.cc | 1 + - src/hb-ot-shape-complex-default.cc | 1 + - src/hb-ot-shape-complex-hangul.cc | 1 + - src/hb-ot-shape-complex-hebrew.cc | 13 +++++++++++++ - src/hb-ot-shape-complex-indic.cc | 1 + - src/hb-ot-shape-complex-myanmar.cc | 2 ++ - src/hb-ot-shape-complex-private.hh | 8 ++++++++ - src/hb-ot-shape-complex-thai.cc | 1 + - src/hb-ot-shape-complex-tibetan.cc | 1 + - src/hb-ot-shape-complex-use.cc | 1 + - src/hb-ot-shape.cc | 29 ++++++++++++++++------------- - 11 files changed, 46 insertions(+), 13 deletions(-) - -commit 1a0f4aa6dfee69236b422f7c8825eff940f45c19 -Author: Behdad Esfahbod -Date: Thu Dec 22 13:33:54 2016 -0600 - - Revert "Synthesize GDEF glyph class for any glyph that does not have one in GDEF" - - This reverts commit 69f9fbc4200442a35484d3c790ae8f4979be5d60. - - See https://github.com/behdad/harfbuzz/issues/347#issuecomment-268873401 - Fixes https://github.com/behdad/harfbuzz/issues/347 - - src/hb-ot-layout-gsub-table.hh | 22 ++-------------------- - src/hb-ot-shape.cc | 29 +++++++++++++++++++++++++++++ - 2 files changed, 31 insertions(+), 20 deletions(-) - -commit 4b4a1b9f235598b04ce9ae1f9670fc978ab7620d -Author: Behdad Esfahbod -Date: Wed Dec 21 23:10:43 2016 -0600 - - Fix assert fail with contextual matching - - As discovered by libFuzzer / Chromium fuzzing. - - Fixes https://bugs.chromium.org/p/chromium/issues/detail?id=659496 - CC https://github.com/behdad/harfbuzz/issues/139 - - src/hb-ot-layout-gsubgpos-private.hh | 6 +++++- - .../sha1sum/217a934cfe15c548b572c203dceb2befdf026462.ttf | Bin 0 -> 1384 bytes - test/shaping/tests/fuzzed.tests | 1 + - 3 files changed, 6 insertions(+), 1 deletion(-) - -commit df98ce5fc8cf1dafd58c329975f07aafbeee3263 -Author: Behdad Esfahbod -Date: Wed Dec 21 19:27:30 2016 -0600 - - Improve debug output with really deep nesting - - src/hb-private.hh | 11 +++++++---- - 1 file changed, 7 insertions(+), 4 deletions(-) - -commit eab418c5e6fa34b90133862cc8ce11e617ce08bf -Author: Behdad Esfahbod -Date: Wed Dec 21 15:51:28 2016 -0600 - - Avoid infinite loop in CoverageFormat2 iteration with bad fonts - - Fixes https://github.com/behdad/harfbuzz/issues/363 - - src/hb-ot-layout-common-private.hh | 29 ++++++++++++++++++----------- - 1 file changed, 18 insertions(+), 11 deletions(-) - -commit a0688e8e7b58c156f5809c272b5884bfe75f68ae -Author: Behdad Esfahbod -Date: Tue Dec 20 20:52:50 2016 -0600 - - Ouch, finish previous change - - test/fuzzing/Makefile.am | 3 ++- - test/fuzzing/hb-fuzzer.cc | 30 ++++-------------------------- - 2 files changed, 6 insertions(+), 27 deletions(-) - -commit de14c19d14be90367a1231de56dd347e3f54931c -Author: Behdad Esfahbod -Date: Tue Dec 20 20:50:38 2016 -0600 - - [fuzzer] Separate main() into a new file - - test/fuzzing/hb-fuzzer.hh | 4 ++++ - test/fuzzing/main.cc | 21 +++++++++++++++++++++ - 2 files changed, 25 insertions(+) - -commit 7ed71eb347c894c5b4b012bcca0816922c3052c2 -Author: Behdad Esfahbod -Date: Tue Dec 20 15:01:16 2016 -0600 - - Protect collect_glyphs() and closure() against malicious DDOS fonts - - Fixes https://github.com/behdad/harfbuzz/issues/363 - - src/hb-ot-layout-gsub-table.hh | 58 ++++++++++++++++++++++++++++++++++-------- - 1 file changed, 48 insertions(+), 10 deletions(-) - -commit 1c98ff87c76536553e53c131e75aba33033ee3a0 -Author: Mike Hommey -Date: Fri Sep 30 18:15:37 2016 +0900 - - Support building with older glib versions - - It is desirable to be able to build against older versions of glib. - - fd7a245 changed the configure check to require glib > 2.38 for - G_TEST_DIST. Before that, version 2.16 was required, but in fact, - since aafe395, G_PASTE is being used, which was introduced in 2.19.1. - And since 0ef179e2, hb-glib uses GBytes, which were introduced in - 2.31.10. - - 2.19.1 is rather old, but 2.38 is rather new. For Firefox, building - against 2.22 is still supported, although we could probably get away - with bumping that to 2.28. Either way, GBytes is not available. - - Arguably, if you build against a glib that doesn't support GBytes, - you're not going to use the hb_glib_blob_create function, so we hide - the function when building against such a glib. - - As for G_TEST_DIST, when building against versions of glib that don't - support it, we can fallback to the previous behavior, which, AIUI, was - just making the test not work when building in a separate directory. - - configure.ac | 2 +- - src/hb-glib.cc | 2 ++ - src/hb-glib.h | 3 ++- - test/api/test-ot-math.c | 4 ++++ - 4 files changed, 9 insertions(+), 2 deletions(-) - -commit ad273881c597a95929ce3b84f63865f9d7dcdb7e -Author: Volker H. Simonis -Date: Wed Dec 14 18:56:17 2016 +0100 - - Minor fixes to pacify Coverity code scan - - Fixes https://github.com/behdad/harfbuzz/pull/377 - - src/hb-ot-font.cc | 6 +++++- - src/hb-ot-layout-gpos-table.hh | 14 +++++++------- - 2 files changed, 12 insertions(+), 8 deletions(-) - -commit 1e1825bf47aa29968f75a78305d4541ce2c9d40c -Author: ebraminio -Date: Sat Dec 17 10:30:40 2016 +0330 - - [dwrite] Provide an experimental API for justification (#279) - - src/hb-directwrite.cc | 48 ++++++++++++++++++++++++++++++++++++++++-------- - src/hb-directwrite.h | 4 ++++ - 2 files changed, 44 insertions(+), 8 deletions(-) - -commit 4cd0cd67914db1da10906e40335faea7dbec1d0a -Author: elmarb -Date: Wed Dec 7 11:50:27 2016 +0100 - - NMake ICU option builds with builtin ICU (#375) - - win32/build-rules-msvc.mak | 13 ------------- - win32/config-msvc.mak | 37 ++++++++++++++++++++----------------- - win32/create-lists-msvc.mak | 13 ------------- - win32/detectenv-msvc.mak | 4 +++- - win32/generate-msvc.mak | 2 +- - win32/info-msvc.mak | 12 +++++------- - win32/install.mak | 4 ---- - 7 files changed, 29 insertions(+), 56 deletions(-) - -commit 75fa884f925c203a839b5874f30bf9ebf025b6e4 -Author: Khaled Hosny -Date: Mon Dec 5 23:20:47 2016 +0200 - - [win32] Fix wrong description of the ICU option (#372) - - win32/README.txt | 4 +--- - 1 file changed, 1 insertion(+), 3 deletions(-) - -commit 219cb29c5d230ecc6ee154b447fabd7b59fbe089 -Author: Behdad Esfahbod -Date: Wed Sep 28 17:16:06 2016 +0200 - - Fix build after rebasing opentype-gx branch on top of MATH table - - src/hb-ot-layout-common-private.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 0aedfd59be54972e61a952753ffc0d12631771fe -Author: Behdad Esfahbod -Date: Wed Sep 28 17:05:43 2016 +0200 - - [GX] Apply 'rvrn' feature before any other feature - - src/hb-ot-shape.cc | 3 +++ - 1 file changed, 3 insertions(+) - -commit 42c81425316190f6424ecb9b19d5a886aa1e4136 -Author: Behdad Esfahbod -Date: Tue Sep 13 23:49:46 2016 +0200 - - [GX] Fix build with older FreeType - - configure.ac | 4 ++++ - src/hb-ft.cc | 12 ++++++++---- - 2 files changed, 12 insertions(+), 4 deletions(-) - -commit 72873cf522a6e3bec1b6508d8d20d3d2ce233cd6 -Author: Sascha Brawer -Date: Tue Sep 13 18:40:07 2016 +0200 - - Call hb_font_set_var_coords_normalized() from FT_Face coords - - src/hb-ft.cc | 14 ++++++++++++++ - 1 file changed, 14 insertions(+) - -commit 4ebbeb7c50e5c1e934d230ceacf792602c6eb9b9 -Author: Behdad Esfahbod -Date: Sat Sep 10 04:52:34 2016 -0700 - - [GX] Make FeatureVariations actually work - - Yay!!!! - - src/hb-ot-layout-common-private.hh | 19 +++++++------------ - src/hb-ot-layout-gsubgpos-private.hh | 3 ++- - 2 files changed, 9 insertions(+), 13 deletions(-) - -commit 72ada4f0c6998fc2a282efc2a573733e37db8be5 -Author: Behdad Esfahbod -Date: Sat Sep 10 03:57:24 2016 -0700 - - [GX] Hook up feature variations - - Shape-plan caching is not implemented. - - src/hb-coretext.cc | 8 +++- - src/hb-directwrite.cc | 6 ++- - src/hb-fallback-shape.cc | 4 +- - src/hb-font.cc | 6 +-- - src/hb-graphite2.cc | 4 +- - src/hb-ot-map-private.hh | 17 +++++--- - src/hb-ot-map.cc | 25 ++++++++--- - src/hb-ot-shape-private.hh | 6 ++- - src/hb-ot-shape.cc | 9 ++-- - src/hb-shape-plan-private.hh | 9 +++- - src/hb-shape-plan.cc | 102 +++++++++++++++++++++++++++++++++++++++---- - src/hb-shape-plan.h | 19 ++++++++ - src/hb-shape.cc | 5 ++- - src/hb-uniscribe.cc | 4 +- - 14 files changed, 183 insertions(+), 41 deletions(-) - -commit ec87ba9ba32a374d49dd3e40137f75f4f4232aee -Author: Behdad Esfahbod -Date: Sat Sep 10 03:53:11 2016 -0700 - - [GX] Add hb_ot_layout_feature_with_variations_get_lookups() - - src/hb-ot-layout-common-private.hh | 30 +++++++++++++++++++++++++++++- - src/hb-ot-layout-gsubgpos-private.hh | 12 ++++++++++++ - src/hb-ot-layout.cc | 28 ++++++++++++++++++++++++---- - src/hb-ot-layout.h | 9 +++++++++ - 4 files changed, 74 insertions(+), 5 deletions(-) - -commit 30c42b644eb33551aa0986287182a46f2d8c32ed -Author: Behdad Esfahbod -Date: Sat Sep 10 03:32:39 2016 -0700 - - [GX] Add hb_ot_layout_table_find_feature_variations() - - src/hb-ot-layout-common-private.hh | 18 +++++++++++------- - src/hb-ot-layout-gsubgpos-private.hh | 6 +++--- - src/hb-ot-layout.cc | 15 +++++++++++++++ - src/hb-ot-layout.h | 10 ++++++++++ - 4 files changed, 39 insertions(+), 10 deletions(-) - -commit 7ceadbe981aa50481163bb365f0fe3f994266165 -Author: Behdad Esfahbod -Date: Sat Sep 10 02:44:20 2016 -0700 - - Shuffle code around - - src/hb-ot-map.cc | 81 ++++++++++++++++++++++++++++---------------------------- - 1 file changed, 41 insertions(+), 40 deletions(-) - -commit bde5e3959c0ffdb92db87668035b01aaee9b2352 -Author: Behdad Esfahbod -Date: Sat Sep 10 02:43:20 2016 -0700 - - Move add_lookups from map to map-builder - - In prep for more changes. - - src/hb-ot-map-private.hh | 15 ++++++++------- - src/hb-ot-map.cc | 29 +++++++++++++++-------------- - 2 files changed, 23 insertions(+), 21 deletions(-) - -commit 26648cebcd14bd26142ccfe5ac8c0be08a213671 -Author: Behdad Esfahbod -Date: Sat Sep 10 02:11:05 2016 -0700 - - [GX] Remove (partial) support for anisotropic variations - - It doesn't always work, not part of FreeType, and we were not going - to expose it in the API anyway. Can always be added later. - - src/hb-font-private.hh | 3 +-- - src/hb-font.cc | 17 ++++++----------- - src/hb-ot-layout-common-private.hh | 9 ++++----- - 3 files changed, 11 insertions(+), 18 deletions(-) - -commit c22176d4bac720b4c9121b3d6629595831f19fb0 -Author: Behdad Esfahbod -Date: Sat Sep 10 01:58:27 2016 -0700 - - [GX] Handle setting var coords to NULL - - src/hb-font.cc | 8 +++++--- - 1 file changed, 5 insertions(+), 3 deletions(-) - -commit 59055b5494f802013ca3613a15e565ae1ca0c589 -Author: Behdad Esfahbod -Date: Sat Sep 10 01:24:28 2016 -0700 - - [GX] Implement Feature Variations - - Not hooked up to shaper yet. - - src/hb-ot-layout-common-private.hh | 168 ++++++++++++++++++++++++++++++++++- - src/hb-ot-layout-gdef-table.hh | 1 - - src/hb-ot-layout-gpos-table.hh | 2 - - src/hb-ot-layout-gsub-table.hh | 2 - - src/hb-ot-layout-gsubgpos-private.hh | 15 +++- - 5 files changed, 180 insertions(+), 8 deletions(-) - -commit 85ec4944346a1ac111217698e1424669a9732280 -Author: Behdad Esfahbod -Date: Sat Sep 10 00:25:16 2016 -0700 - - [GX] Fix another x/y thinko - - Thanks Werner! - - src/hb-ot-layout-common-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit cf3de4d8f79fc6e8413957cdef034e975343ce30 -Author: Behdad Esfahbod -Date: Sat Sep 10 00:22:24 2016 -0700 - - [GX] Rename VarStore to VariationStore - - src/hb-ot-layout-common-private.hh | 12 ++++++------ - src/hb-ot-layout-gdef-table.hh | 14 +++++++------- - src/hb-ot-layout-gpos-table.hh | 2 +- - src/hb-ot-layout-gsubgpos-private.hh | 2 +- - 4 files changed, 15 insertions(+), 15 deletions(-) - -commit 1f6ed356e0a849b61ce98b6a2f38d04d98c2191e -Author: Behdad Esfahbod -Date: Sat Sep 10 00:01:10 2016 -0700 - - [GX] Fix build with some compilers - - Eg. https://ci.appveyor.com/project/behdad/harfbuzz/build/1.0.48/job/o9mnd33kcdeeg30r - - hb-open-type-private.hh:103:29: error: static data member 'OT::Device::::::static_size' in unnamed class [-fpermissive] - - src/hb-ot-layout-common-private.hh | 19 ++++++++++++------- - 1 file changed, 12 insertions(+), 7 deletions(-) - -commit 250bcd6fb691d6f15fa9ca71b475ce419d0b5e37 -Author: Behdad Esfahbod -Date: Fri Sep 9 23:12:14 2016 -0700 - - [GX] Skip tail zero entries when setting variation coordinates - - src/hb-font.cc | 4 ++++ - 1 file changed, 4 insertions(+) - -commit 1124d2ece55e323ed934357b30e68df75829cfaa -Author: Behdad Esfahbod -Date: Fri Sep 9 22:48:27 2016 -0700 - - [GX] Fix thinko - - src/hb-ot-layout-common-private.hh | 1 - - src/hb-ot-layout-gpos-table.hh | 2 +- - 2 files changed, 1 insertion(+), 2 deletions(-) - -commit ad69e8f07c6e3e47fe7e7103c2ff7c053d272b1a -Author: Behdad Esfahbod -Date: Fri Sep 9 22:23:34 2016 -0700 - - [GX] Add new API hb_font_set_var_coords_normalized() - - Will probably change. - - src/hb-font.cc | 23 +++++++++++++++++++++++ - src/hb-font.h | 5 +++++ - 2 files changed, 28 insertions(+) - -commit 151d93de8a595924a8dcb00fcba648b4b3df0bf5 -Author: Behdad Esfahbod -Date: Fri Sep 9 17:03:11 2016 -0700 - - [GX] Hook up GPOS to Variation Store stored in GDEF - - Untested. - - src/hb-ot-layout-common-private.hh | 22 ++++++++++---------- - src/hb-ot-layout-gdef-table.hh | 27 +++++++++++++++--------- - src/hb-ot-layout-gpos-table.hh | 40 ++++++++++++++++-------------------- - src/hb-ot-layout-gsubgpos-private.hh | 2 ++ - 4 files changed, 48 insertions(+), 43 deletions(-) - -commit dcfd309533ac83e44369dea7204d668623b08207 -Author: Behdad Esfahbod -Date: Fri Sep 9 16:51:07 2016 -0700 - - [GX] Change GDEF API to return varStore - - src/hb-ot-layout-gdef-table.hh | 5 ++--- - 1 file changed, 2 insertions(+), 3 deletions(-) - -commit 49cb87850c2692be45b201168c8ce10b263168cc -Author: Behdad Esfahbod -Date: Fri Sep 9 16:27:03 2016 -0700 - - [GX] Pass apply-context down to get_anchor() - - Needed to access GDEF for varStore. - - src/hb-ot-layout-gpos-table.hh | 57 ++++++++++++++++++++++-------------------- - 1 file changed, 30 insertions(+), 27 deletions(-) - -commit f0c3fd8c9ab402be923fe0845fb51d99841829b6 -Author: Behdad Esfahbod -Date: Fri Sep 9 16:22:45 2016 -0700 - - [GX] Add varStore member to GDEF - - Still not hooked up from GPOS. - - src/hb-ot-layout-gdef-table.hh | 17 ++++++++++++++--- - 1 file changed, 14 insertions(+), 3 deletions(-) - -commit 5c971f8dbc823dbad4a2869cf9e835095ab6ddb2 -Author: Behdad Esfahbod -Date: Fri Sep 9 16:05:17 2016 -0700 - - Minor change to GDEF, in prep for new version - - src/hb-ot-layout-gdef-table.hh | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -commit dc9f2297998b4cbc4f9e4c2591fc2bb5f92986d1 -Author: Behdad Esfahbod -Date: Fri Sep 9 15:40:15 2016 -0700 - - [GX] Port variation stuff to Variation Store design - - Not hooked up to GDEF yet. - - src/hb-ot-layout-common-private.hh | 294 +++++++++++++++++++++++-------------- - src/hb-ot-layout-gpos-table.hh | 2 +- - 2 files changed, 184 insertions(+), 112 deletions(-) - -commit a7edeb6f02cbc4418285fdfc58ef8a8740a380e9 -Author: Behdad Esfahbod -Date: Fri Sep 9 15:39:52 2016 -0700 - - Make OffsetArrayOf take OffsetType template argument - - src/hb-open-type-private.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 8dddc231cf9d934eb93a39f2657717cbdad43a64 -Author: Behdad Esfahbod -Date: Fri Sep 9 13:17:33 2016 -0700 - - [GX] Revert "[GX] Add VariationAlternates, to allow conditional lookups in GSUB/GPOS" - - This reverts commit 2859f1c7174d6f7ae5dcf0db5411bc0182b21594. - We are going in a different direction. - - src/hb-open-type-private.hh | 1 - - src/hb-ot-layout-common-private.hh | 99 +------------------------------------- - 2 files changed, 2 insertions(+), 98 deletions(-) - -commit bb4d2e6ed562c248fff15313a013d49e38a18789 -Author: Behdad Esfahbod -Date: Fri Sep 9 13:08:52 2016 -0700 - - [GX] Free GX coordinates - - src/hb-font.cc | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -commit baa329c6a12c7ffd56feed32351d9405b7d1651b -Author: Behdad Esfahbod -Date: Fri Mar 18 15:52:24 2016 -0700 - - [GX] Add compact VariationDevice implementation - - Add compact format that uses signed bytes instead of shorts. - - src/hb-open-type-private.hh | 1 + - src/hb-ot-layout-common-private.hh | 35 ++++++++++++++++++++++++----------- - 2 files changed, 25 insertions(+), 11 deletions(-) - -commit 71b06fd392680b6fcfece60d8a83ba6c56eada09 -Author: Behdad Esfahbod -Date: Sat Mar 12 23:49:09 2016 -0800 - - [GX] Add VariationAlternates, to allow conditional lookups in GSUB/GPOS - - Not hooked up to runtime yet. - - src/hb-open-type-private.hh | 1 + - src/hb-ot-layout-common-private.hh | 99 +++++++++++++++++++++++++++++++++++++- - 2 files changed, 98 insertions(+), 2 deletions(-) - -commit 976eeb8e025e2b7601a91e661d6e9a88bf8afbd2 -Author: Behdad Esfahbod -Date: Sat Mar 12 23:28:12 2016 -0800 - - [GX] Minor - - src/hb-ot-layout-common-private.hh | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit ed8a9067ca0fe51ac4b80dab55db596763df72bb -Author: Behdad Esfahbod -Date: Wed Mar 2 12:54:35 2016 -0800 - - [GX] Minor - - src/hb-ot-layout-common-private.hh | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 15c5ee67473a17859a919104c5e6fed1f813aa65 -Author: Behdad Esfahbod -Date: Wed Mar 2 12:41:49 2016 +0900 - - [GX] Minor rename - - src/hb-ot-layout-common-private.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 4c535a822f16b23a4e41e14d1b17fe179b83eabc -Author: Behdad Esfahbod -Date: Wed Mar 2 12:21:36 2016 +0900 - - [GX] Hookup VariationDevice to Device table implementation - - src/hb-ot-layout-common-private.hh | 65 +++++++++++++++++++++++++++++++++++++- - 1 file changed, 64 insertions(+), 1 deletion(-) - -commit a0c2366075fcb894212b9bf137e4dd34bb65537c -Author: Behdad Esfahbod -Date: Tue Mar 1 19:42:24 2016 +0900 - - [GX] Break out early if factor is zero - - Also disable sanity-checking of variation records. - - src/hb-ot-layout-common-private.hh | 9 ++++++++- - 1 file changed, 8 insertions(+), 1 deletion(-) - -commit ca286703164caf1eda665f6f27ef83bf04e2f8ba -Author: Behdad Esfahbod -Date: Tue Mar 1 19:29:36 2016 +0900 - - [GX] Towards anisotropic interpolation - - Also hookup to ValueRecord and Anchors. - - src/hb-font-private.hh | 5 +++-- - src/hb-font.cc | 9 +++++++-- - src/hb-ot-layout-common-private.hh | 4 ++-- - src/hb-ot-layout-gpos-table.hh | 20 ++++++++++---------- - 4 files changed, 22 insertions(+), 16 deletions(-) - -commit 6d9d3c55bbd4209ba339ccd2b925bb4a6c97f622 -Author: Behdad Esfahbod -Date: Tue Mar 1 19:12:08 2016 +0900 - - [GX] Add data types for encoding numerical variations - - src/hb-font-private.hh | 10 ++++ - src/hb-font.cc | 3 + - src/hb-ot-layout-common-private.hh | 113 +++++++++++++++++++++++++++++++++++++ - 3 files changed, 126 insertions(+) - -commit b843c6d8b66c2833cd35407ee494546465e6d775 -Author: Behdad Esfahbod -Date: Mon Dec 5 13:42:28 2016 -0800 - - 1.3.4 - - NEWS | 8 ++++++++ - configure.ac | 2 +- - 2 files changed, 9 insertions(+), 1 deletion(-) - -commit 8c842e4a44908cce0f416481c73dc0866a0a9c95 -Author: Behdad Esfahbod -Date: Sun Dec 4 20:28:38 2016 -0800 - - [hb-fuzzer] Get glyph extents for output glyphs - - To exercise glyph-extents codepaths (glyf / CBLC+CBDT). - - test/fuzzing/hb-fuzzer.cc | 13 +++++++++++++ - 1 file changed, 13 insertions(+) - -commit 9f6144cdb9dd2bc8cd147306e678d76ae82663d8 -Author: Behdad Esfahbod -Date: Sun Dec 4 19:55:17 2016 -0800 - - [CBDT] Add test for fetching glyph extents - - test/shaping/Makefile.am | 1 + - .../sha1sum/ee39587d13b2afa5499cc79e45780aa79293bbd4.ttf | Bin 0 -> 3724 bytes - test/shaping/tests/color-fonts.tests | 1 + - 3 files changed, 2 insertions(+) - -commit e4bfccfb2a0f425ff69b0a50ca8a4731c4001069 -Author: Behdad Esfahbod -Date: Sun Dec 4 19:43:33 2016 -0800 - - [CBDT] Minor - - src/hb-ot-cbdt-table.hh | 21 ++++++++++++++------- - src/hb-ot-font.cc | 38 ++++++++++++++++++++------------------ - 2 files changed, 34 insertions(+), 25 deletions(-) - -commit b7068af423dba30fd831041aabf4b805d26fe349 -Author: Behdad Esfahbod -Date: Sun Dec 4 19:36:30 2016 -0800 - - [CBDT] Fix thinko! - - src/hb-ot-cbdt-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit a141d1da9bb0f91521a9a7749f9533c75cfe6a2f -Author: Behdad Esfahbod -Date: Sun Dec 4 19:26:54 2016 -0800 - - [CBDT] Implement IndexSubtableFormat3 - - src/hb-ot-cbdt-table.hh | 11 +++++++++-- - 1 file changed, 9 insertions(+), 2 deletions(-) - -commit 9eda74c92c9024ffb8ec6e9344c99d51dd763f0c -Author: Behdad Esfahbod -Date: Sun Dec 4 19:12:52 2016 -0800 - - [cbdt] Move some more code around - - src/hb-ot-cbdt-table.hh | 61 ++++++++++++++++++++++++++++++++++--------------- - src/hb-ot-font.cc | 18 ++++++--------- - 2 files changed, 49 insertions(+), 30 deletions(-) - -commit 654f9ab0d8d5ee032b5da763e34e7b1f454416b9 -Author: Behdad Esfahbod -Date: Sun Dec 4 18:56:24 2016 -0800 - - [cbdt] Fix sign bug - - Was introduced in d495fc5e38038f4cfb20425b1109324fa70bf2f9 - - src/hb-ot-cbdt-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit c27d6fcf8db6f02e075dd1868ae67d878fff39d4 -Author: Behdad Esfahbod -Date: Fri Dec 2 22:43:05 2016 -0800 - - [cbdt] Last of sanitization fixes - - Should be all good now.. - - src/hb-ot-font.cc | 23 ++++++++++++++++------- - 1 file changed, 16 insertions(+), 7 deletions(-) - -commit d495fc5e38038f4cfb20425b1109324fa70bf2f9 -Author: Behdad Esfahbod -Date: Fri Dec 2 21:36:42 2016 -0800 - - [cbdt] Clean up some more - - Almost there.. - - src/hb-ot-cbdt-table.hh | 134 +++++++++++++++++++++++++++++++++++++++++++----- - src/hb-ot-font.cc | 38 ++++---------- - 2 files changed, 131 insertions(+), 41 deletions(-) - -commit ce09e90e1502d5f944bafd64e51c29e365a963ae -Author: Behdad Esfahbod -Date: Fri Dec 2 20:12:57 2016 -0800 - - [cbdt] More sanitize work - - src/hb-ot-cbdt-table.hh | 65 +++++++++++++++++++++++++++++-------------------- - src/hb-ot-font.cc | 46 ++++++++++++++++++---------------- - 2 files changed, 63 insertions(+), 48 deletions(-) - -commit 70eb2ff682344688635cebb716fee0b73557c925 -Author: Behdad Esfahbod -Date: Fri Dec 2 19:51:23 2016 -0800 - - Check for offset overflows during sanitize - - src/hb-open-type-private.hh | 2 ++ - 1 file changed, 2 insertions(+) - -commit 4b58c9e326acde09d389c699014e4e7f6259f50a -Author: Behdad Esfahbod -Date: Fri Dec 2 19:25:54 2016 -0800 - - [cbdt] Start fixing sanitization (or lack thereof) - - src/hb-ot-cbdt-table.hh | 77 ++++++++++++++++++++++++++++++++++++------------- - src/hb-ot-font.cc | 22 +++++++------- - 2 files changed, 68 insertions(+), 31 deletions(-) - -commit b92ba7bafcd9545a401fb871eb342e6284032c47 -Author: Behdad Esfahbod -Date: Fri Dec 2 15:21:43 2016 -0800 - - [CBDT] Use CHAR instead of int8_t - - src/hb-open-type-private.hh | 1 + - src/hb-ot-cbdt-table.hh | 28 ++++++++++++++-------------- - 2 files changed, 15 insertions(+), 14 deletions(-) - -commit efca7bf97f9967af4fa399a6665b723af643cecd -Author: Behdad Esfahbod -Date: Fri Dec 2 15:11:37 2016 -0800 - - Rename 'ebdt' to 'cbdt' since we only support the PNG format - - src/Makefile.sources | 2 +- - src/{hb-ot-ebdt-table.hh => hb-ot-cbdt-table.hh} | 6 +++--- - src/hb-ot-font.cc | 12 ++++++------ - 3 files changed, 10 insertions(+), 10 deletions(-) - -commit 831852594b777f250efedb76d19bee1cfc8eeaa4 -Author: Seigo Nonaka -Date: Fri Dec 2 15:03:50 2016 -0800 - - Introduce get_extent support for color bitmap font. (#351) - - hb_font_get_glyph_extents now works for color bitmap fonts. - Currently only font having index format 1 and image format 17 - is supported. - - src/Makefile.sources | 1 + - src/hb-ot-ebdt-table.hh | 193 ++++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-ot-font.cc | 96 ++++++++++++++++++++++++ - 3 files changed, 290 insertions(+) - -commit 261837e7202ec584f653f379851e1c6457396b07 -Author: Ebrahim Byagowi -Date: Fri Oct 28 21:49:11 2016 +0330 - - Fix "nmake install" when ADDITIONAL_LIB_DIR is provided and test it on CI (#356) - - appveyor.yml | 1 + - win32/detectenv-msvc.mak | 4 ++-- - win32/generate-msvc.mak | 2 +- - 3 files changed, 4 insertions(+), 3 deletions(-) - -commit d163cd956246449e3e48b54ce6eb5cdb14e3a0a6 -Author: Behdad Esfahbod -Date: Wed Oct 26 18:27:48 2016 +0200 - - [tests] Add tests for vertical origin with ft and ot font-funcs - - .../sha1sum/f9b1dd4dcb515e757789a22cb4241107746fd3d0.ttf | Bin 0 -> 1004 bytes - test/shaping/tests/vertical.tests | 2 ++ - 2 files changed, 2 insertions(+) - -commit 2b117720c03869c7714304fd7fbfb2b01199bb3a -Author: Behdad Esfahbod -Date: Wed Oct 26 18:12:50 2016 +0200 - - Use horizontal ascent as fallback vertical origin - - src/hb-font-private.hh | 7 ++++--- - 1 file changed, 4 insertions(+), 3 deletions(-) - -commit a7b32f2057098012b3ab43121397766ae45b3559 -Author: Behdad Esfahbod -Date: Wed Oct 26 18:08:41 2016 +0200 - - Move code around - - src/hb-font-private.hh | 38 +++++++++++++++++++++++--------------- - 1 file changed, 23 insertions(+), 15 deletions(-) - -commit 63635c763dd9393df236f49d491510cca18a1ccc -Author: Behdad Esfahbod -Date: Wed Oct 26 17:54:04 2016 +0200 - - [hb-ot-font] Use ascent+descent as fallback vertical advance - - src/hb-ot-font.cc | 8 +++++--- - 1 file changed, 5 insertions(+), 3 deletions(-) - -commit 9ee23c49a7a7b2479ae0d36a64720e92eb8a36e7 -Author: Behdad Esfahbod -Date: Wed Oct 26 17:44:16 2016 +0200 - - Fix vertical glyph origin with hb-ot-font - - src/hb-font-private.hh | 51 ++++++++++++++++++++++++++++---------------------- - 1 file changed, 29 insertions(+), 22 deletions(-) - -commit b3b0816d5fc00298621f738cf400de60f8a42c5d -Author: Behdad Esfahbod -Date: Wed Oct 26 17:19:07 2016 +0200 - - Fix vertical font metrics - - Ouch! - - src/hb-font-private.hh | 4 ++-- - src/hb-ot-font.cc | 8 ++++++-- - 2 files changed, 8 insertions(+), 4 deletions(-) - -commit 966ac7ecd3d0128a3adacdd26aacef2bd8afa4d4 -Author: Behdad Esfahbod -Date: Wed Oct 26 16:17:15 2016 +0200 - - 1.3.3 - - NEWS | 24 ++++++++++++++++++++++++ - configure.ac | 2 +- - 2 files changed, 25 insertions(+), 1 deletion(-) - -commit 118164293cc7eb18ba03896f602aff816400134b -Author: Behdad Esfahbod -Date: Wed Oct 26 16:04:30 2016 +0200 - - Fix "make distcheck" - - configure.ac | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit b6c765871b752c9436ec993e47b48f9d4fecaed5 -Author: Behdad Esfahbod -Date: Wed Oct 26 10:33:33 2016 +0200 - - [ci] Fix appveyor.yml syntax error - - appveyor.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 0e79ebb3ca9b7b6d238a0007e5ca022845ee9afc -Author: Behdad Esfahbod -Date: Sun Oct 23 14:39:43 2016 +0200 - - [gobject] Update for new MATH structs - - src/hb-gobject-structs.cc | 3 +++ - 1 file changed, 3 insertions(+) - -commit 8c854dc023b1f9e081a3bbd16416b88a4671c267 -Merge: bb9805f54 c3fa5d0e0 -Author: Khaled Hosny -Date: Tue Oct 25 00:31:36 2016 +0300 - - Merge pull request #352 from fred-wang/makefile-am - - Remove inexistent file ttx file from test/api/Makefile.am - -commit c3fa5d0e03b57be131c66ea8720806c946d0e10f -Author: Frédéric Wang -Date: Mon Oct 24 21:42:04 2016 +0200 - - Remove inexistent file ttx file from test/api/Makefile.am - - test/api/Makefile.am | 1 - - 1 file changed, 1 deletion(-) - -commit bb9805f5419f18c7f5cab32d660fd4109c30f7cc -Merge: 702d9f522 755a0c207 -Author: Ebrahim Byagowi -Date: Sat Oct 22 12:23:05 2016 +0330 - - Merge pull request #349 from ebraminio/mergebackvcpkgpatches - - [ci] Enable hb-freetype on Windows build tests - -commit 755a0c20798e3c3e6bb933a28e38f9667fccdadc -Author: Ebrahim Byagowi -Date: Fri Oct 21 11:48:58 2016 +0330 - - [ci] Enable freetype on msvc using vcpkg - - appveyor.yml | 15 +++++++++++++-- - 1 file changed, 13 insertions(+), 2 deletions(-) - -commit 4631d84c2bb51395efe3156f9c9f1a6b0e277947 -Author: Ebrahim Byagowi -Date: Tue Oct 18 14:30:00 2016 +0330 - - Merge back @vlj's local patches of vcpkg - - win32/config-msvc.mak | 7 +++++++ - win32/detectenv-msvc.mak | 3 +++ - 2 files changed, 10 insertions(+) - -commit 702d9f522d1ac4797700f0ea056f69169b8d1a78 -Merge: 331c46c79 d8e2eb9ee -Author: Ebrahim Byagowi -Date: Fri Oct 14 13:54:55 2016 +0330 - - Merge pull request #340 from ebraminio/nouniscribe - - Make Uniscribe optional on nmake win32 builds - -commit d8e2eb9ee0f47af7e90056d8db5949d10a88786a -Author: Ebrahim Byagowi -Date: Sun Oct 9 09:06:05 2016 +0330 - - Make Uniscribe optional on nmake win32 builds - - Most of harfbuzz clients don't need Uniscribe and DirectWrite support at all - as harfbuzz is a replacement for Uniscribe so Chromium and Firefox are using - harfbuzz without them on Windows. - - This removal also helps win32 nmake clients to have reduced binary size and - libs count. - - appveyor.yml | 2 +- - win32/README.txt | 13 +++++++------ - win32/config-msvc.mak | 18 +++++++++++++----- - win32/config.h.win32.in | 2 +- - win32/info-msvc.mak | 11 +++++++++-- - 5 files changed, 31 insertions(+), 15 deletions(-) - -commit 331c46c79b4d18cb4948be12c78ebb71a143e7ac -Author: Behdad Esfahbod -Date: Tue Oct 11 13:45:22 2016 -0700 - - Fix configure on iOS - - Fixes https://github.com/behdad/harfbuzz/issues/342 - - configure.ac | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit f6e194e77a2c34cd118b47c0d73a22afde85dfda -Merge: 7201fdd0a bef240b36 -Author: Ebrahim Byagowi -Date: Tue Oct 11 17:23:41 2016 +0330 - - Merge pull request #344 from ebraminio/fixmacci - - [ci] Whitelist more symbols and unbreak mac CI - -commit bef240b36ee9086b0d92e351e4c5118c0bbb5df6 -Author: Ebrahim Byagowi -Date: Mon Oct 10 17:27:52 2016 +0330 - - [ci] Whitelist more symbols and unbreak mac CI - - Thanks to @khaledhosny, actually this is his work :) - - src/check-symbols.sh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 7201fdd0a8e26d49b13e289b53de375d5b1c9fcb -Author: Behdad Esfahbod -Date: Tue Oct 4 14:53:17 2016 -0700 - - LFS (large file system?) support in hb-*shap*, hb-view - - Fixes https://github.com/behdad/harfbuzz/issues/336 - - configure.ac | 3 +++ - 1 file changed, 3 insertions(+) - -commit 34fc4a2cfa61089b7ec2d9510d99cdc4c13bceb4 -Author: Behdad Esfahbod -Date: Wed Sep 28 19:17:27 2016 +0200 - - Fix dist - - test/api/Makefile.am | 10 ++++++++++ - 1 file changed, 10 insertions(+) - -commit d1c62370a0c2bdb365a1468dc8d782b9a7245946 -Author: Behdad Esfahbod -Date: Wed Sep 28 19:11:22 2016 +0200 - - Aim math API for 1.3.3 instead of 1.4.0 - - docs/harfbuzz-docs.xml | 6 +++--- - docs/harfbuzz-sections.txt | 12 ++++++------ - src/hb-ot-layout.cc | 18 +++++++++--------- - src/hb-ot-math.h | 10 +++++----- - 4 files changed, 23 insertions(+), 23 deletions(-) - -commit 7adbc5dd62ca03a65d1886e0f32e7026964dc5e5 -Author: Khaled Hosny -Date: Fri Sep 30 04:01:24 2016 -0700 - - Fix building math docs (#335) - - src/hb-ot-layout.cc | 9 --------- - 1 file changed, 9 deletions(-) - -commit fd7a245d3525905ffbce57472b52900fcb0e330b -Author: Behdad Esfahbod -Date: Tue Sep 27 17:56:35 2016 +0200 - - Require glib >= 2.38.0 for G_TEST_DIST - - configure.ac | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 6d3e6abf0c6ad55dabae96c76b4da9ab14bf16ef -Merge: f73a87d9a c3e21a662 -Author: Behdad Esfahbod -Date: Tue Sep 27 17:15:59 2016 +0200 - - Merge branch 'math' - - Supercedes https://github.com/behdad/harfbuzz/pull/326 - Fixes https://github.com/behdad/harfbuzz/pull/331 - -commit c3e21a6620c35500afa350d11620f69802920df3 -Author: Behdad Esfahbod -Date: Tue Sep 27 16:51:38 2016 +0200 - - [MATH] Fix more docs - - src/hb-ot-layout.cc | 18 +++++++++--------- - src/hb-ot-math.h | 25 +++++++++++++++++++++++++ - 2 files changed, 34 insertions(+), 9 deletions(-) - -commit 46cc4a3a2a529c80677babe38ca1542f9c773ac0 -Author: Behdad Esfahbod -Date: Tue Sep 27 16:44:22 2016 +0200 - - [MATH] Rename hb_math_*_t types to hb_ot_math_*_t - - With this, I believe MATH table API is not ready to be merged. - - docs/harfbuzz-sections.txt | 6 +++--- - src/hb-ot-layout-math-table.hh | 12 ++++++------ - src/hb-ot-layout.cc | 8 ++++---- - src/hb-ot-math.h | 16 ++++++++-------- - test/api/test-ot-math.c | 4 ++-- - 5 files changed, 23 insertions(+), 23 deletions(-) - -commit db5ebcf10f8595d1f4a9df27befd6cb5e76ca94d -Author: Behdad Esfahbod -Date: Tue Sep 27 16:42:25 2016 +0200 - - Update docs - - docs/harfbuzz-docs.xml | 9 +++++++++ - docs/harfbuzz-sections.txt | 30 ++++++++++++++++++++++++++++-- - 2 files changed, 37 insertions(+), 2 deletions(-) - -commit 0762b35474c47171e5661904e93851eb73a44e5c -Author: Frédéric Wang -Date: Tue Sep 27 15:28:35 2016 +0200 - - Document API for MathVariants (#330) - - src/hb-ot-layout.cc | 56 +++++++++++++++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 56 insertions(+) - -commit 8d622f1114d6a0eca1786b94c7fc1a0bcd87f74b -Author: Frédéric Wang -Date: Tue Sep 27 13:53:34 2016 +0200 - - Add tests for get_mathvariant (#329) - - test/api/test-ot-math.c | 160 ++++++++++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 160 insertions(+) - -commit f73a87d9a8c76a181794b74b527ea268048f78e3 -Author: Behdad Esfahbod -Date: Tue Sep 27 13:50:54 2016 +0200 - - 1.3.2 - - NEWS | 7 +++++++ - configure.ac | 2 +- - 2 files changed, 8 insertions(+), 1 deletion(-) - -commit 485e4873fb7cacfa9d853272c2275bbc5826023e -Author: Frédéric Wang -Date: Tue Sep 27 13:18:00 2016 +0200 - - Add tests for hb_ot_math_get_glyph_variants (#328) - - test/api/test-ot-math.c | 126 ++++++++++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 126 insertions(+) - -commit f16bf6c2dacf5b9c82b2d1ffacc092cc396189a7 -Author: Phil Krylov -Date: Tue Sep 27 12:38:49 2016 +0200 - - Allow building with graphite2 without pkg-config (#318) - - configure.ac | 10 ++++++++++ - 1 file changed, 10 insertions(+) - -commit a5629a2ed9c2e69f2b4ebb74d85fbe0b5ba2be67 -Author: Behdad Esfahbod -Date: Tue Sep 27 11:30:44 2016 +0200 - - [MATH] Simplify test - - test/api/test-ot-math.c | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit edcfa789bf92c18f5badad31c0ad04a6a77d7226 -Author: Frédéric Wang -Date: Tue Sep 27 11:02:08 2016 +0200 - - test-ot-math: Use different scales for vertical and horizontal directions and add test for hb_ot_math_get_min_connector_overlap. (#327) - - test/api/test-ot-math.c | 81 ++++++++++++++++++++++++++++++------------------- - 1 file changed, 49 insertions(+), 32 deletions(-) - -commit bc19f7fe20e89823dba07a46c3d48c7406b781b6 -Author: Behdad Esfahbod -Date: Tue Sep 27 10:58:08 2016 +0200 - - [MATH] Add HB_OT_MATH_SCRIPT - - src/hb-ot-math.h | 3 +++ - 1 file changed, 3 insertions(+) - -commit cdc9eef7da934ae71578694f29665e439686c3bd -Author: Behdad Esfahbod -Date: Mon Sep 26 22:18:41 2016 +0200 - - [MATH] Enable tests for glyph-assembly italics-correction - - test/api/test-ot-math.c | 49 ++++++++++++++++++++++++++++++------------------- - 1 file changed, 30 insertions(+), 19 deletions(-) - -commit 86106c7528d9bff8de6bc3e1487be780c31ea4fd -Author: Behdad Esfahbod -Date: Mon Sep 26 22:12:48 2016 +0200 - - [MATH] Rename all API to hb_ot_math_* - - src/hb-ot-layout-private.hh | 10 -- - src/hb-ot-layout.cc | 69 ++++---- - src/hb-ot-math.h | 56 +++--- - test/api/Makefile.am | 6 +- - test/api/test-ot-layout-math.c | 382 ----------------------------------------- - test/api/test-ot-math.c | 381 ++++++++++++++++++++++++++++++++++++++++ - 6 files changed, 447 insertions(+), 457 deletions(-) - -commit 1ba767cd4e3606beb9dc59806b83b1e61f5958d4 -Author: Behdad Esfahbod -Date: Mon Sep 26 21:57:14 2016 +0200 - - [MATH] Move API from hb-ot-layout.h to hb-ot-math.h - - src/hb-ot-layout.h | 52 -------------------------------------------------- - src/hb-ot-math.h | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-ot.h | 1 + - 3 files changed, 57 insertions(+), 52 deletions(-) - -commit 97b72da6006d8d6355ee90d514f627e6604a4936 -Author: Behdad Esfahbod -Date: Mon Sep 26 21:53:25 2016 +0200 - - Whitespace - - src/hb-ot-layout-math-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 559eb564472575ae4d87a241314b8a3ca24418c4 -Author: Behdad Esfahbod -Date: Mon Sep 26 21:46:05 2016 +0200 - - [MATH] Wire up get_glyph_assembly() - - src/hb-ot-layout-math-table.hh | 64 ++++++++++++++++++++++++++++++++++++++---- - src/hb-ot-layout.cc | 26 +++++++++-------- - src/hb-ot-layout.h | 14 ++++----- - 3 files changed, 81 insertions(+), 23 deletions(-) - -commit 353f455af7ccbc1af8338dcb0c8ab87aef866c79 -Author: Behdad Esfahbod -Date: Mon Sep 26 21:22:48 2016 +0200 - - [MATH] Wire up get_glyph_variants() - - src/hb-font-private.hh | 11 ++- - src/hb-ot-layout-math-table.hh | 178 +++++++++++++++++++---------------------- - src/hb-ot-layout.cc | 7 +- - src/hb-ot-layout.h | 2 +- - 4 files changed, 95 insertions(+), 103 deletions(-) - -commit 7fe0e28c22331a353d396f8bc1e3a60f1580a96d -Author: Behdad Esfahbod -Date: Mon Sep 26 17:51:47 2016 +0100 - - [MATH] Start fleshing out glyph variant API - - src/hb-font-private.hh | 4 +++ - src/hb-ot-layout-math-table.hh | 10 ++---- - src/hb-ot-layout.cc | 73 +++++++++++++++--------------------------- - src/hb-ot-layout.h | 20 ++++++++++++ - src/hb-ot-math.h | 18 +++++++++++ - 5 files changed, 71 insertions(+), 54 deletions(-) - -commit 1f3327f21045df8a050a21a949b44b9ce186ceaa -Author: Behdad Esfahbod -Date: Mon Sep 26 16:10:08 2016 +0100 - - [MATH] Clean up math variants - - src/hb-ot-layout-math-table.hh | 35 +++++++++-------------------------- - 1 file changed, 9 insertions(+), 26 deletions(-) - -commit 51da7a1cd672aada84bdbb3a2a8dd77ab1134249 -Author: Frédéric Wang -Date: Thu Aug 25 11:17:50 2016 +0200 - - MATH table: Add API to access math variants. - - src/hb-ot-layout-math-table.hh | 253 +++++++++++++++++++++++++++++++- - src/hb-ot-layout-private.hh | 10 ++ - src/hb-ot-layout.cc | 54 +++++++ - test/api/fonts/MathTestFontPartial4.otf | Bin 0 -> 14360 bytes - test/api/test-ot-layout-math.c | 51 +++++++ - 5 files changed, 364 insertions(+), 4 deletions(-) - -commit 722e620f20fa2225cf874f4aeb115a064142fcf1 -Author: Frédéric Wang -Date: Mon Sep 26 11:51:36 2016 +0200 - - Use G_TEST_DIST to build the path of math test fonts - - test/api/Makefile.am | 2 ++ - test/api/test-ot-layout-math.c | 8 ++++++-- - 2 files changed, 8 insertions(+), 2 deletions(-) - -commit 8d58e3433e242bd9dd18aa08f55ab0a406583fb0 -Author: Behdad Esfahbod -Date: Mon Sep 26 13:39:58 2016 +0100 - - [MATH] Fix get_kerning() with negative y-scale - - src/hb-ot-layout-math-table.hh | 36 +++++++++++++++++++++--------------- - 1 file changed, 21 insertions(+), 15 deletions(-) - -commit 94f5df5626b223ad92d0c167f560c1f2e2f19042 -Author: Behdad Esfahbod -Date: Mon Sep 26 13:31:47 2016 +0100 - - [MATH] Clean up get_kerning() - - src/hb-ot-layout-math-table.hh | 29 +++++++++++++++++------------ - src/hb-ot-layout.cc | 5 +---- - 2 files changed, 18 insertions(+), 16 deletions(-) - -commit 17ff30e9afde79e41c17786223293e867b49ebba -Author: Behdad Esfahbod -Date: Mon Sep 26 12:18:32 2016 +0100 - - [MATH] Clean up get_top_accent_attachment() - - Note, the function now returns "half of horizontal advance width" - if top accent attachment for glyph is not explicitly defined. - This is what the spec requires. Updated tests. - - src/hb-ot-layout-math-table.hh | 31 +++++++++++-------------------- - src/hb-ot-layout.cc | 7 +------ - test/api/test-ot-layout-math.c | 8 ++++---- - 3 files changed, 16 insertions(+), 30 deletions(-) - -commit 8bcf517fe59608d2247a8974445b3ff0f4b4b4ac -Author: Behdad Esfahbod -Date: Mon Sep 26 12:12:41 2016 +0100 - - [MATH] Clean up get_italics_correction() - - src/hb-ot-layout-math-table.hh | 16 ++++++++-------- - src/hb-ot-layout.cc | 17 ++++++----------- - src/hb-ot-layout.h | 4 ++-- - test/api/test-ot-layout-math.c | 18 +++++++++--------- - 4 files changed, 25 insertions(+), 30 deletions(-) - -commit 06003f71ba0d0327fb1a17098a9d7faa8fb336f0 -Author: Behdad Esfahbod -Date: Mon Sep 26 12:07:29 2016 +0100 - - [MATH] Clean up a bit more - - src/hb-ot-layout-math-table.hh | 12 +-------- - src/hb-ot-layout.cc | 57 ++++++++++++++++-------------------------- - 2 files changed, 22 insertions(+), 47 deletions(-) - -commit 54c0cc38fba24fa4370231408ba121589b190a28 -Author: Behdad Esfahbod -Date: Mon Sep 26 11:56:40 2016 +0100 - - [MATH] Clean up get_math_constant implementation - - src/hb-ot-layout-math-table.hh | 10 +++++----- - src/hb-ot-layout.cc | 5 ++--- - 2 files changed, 7 insertions(+), 8 deletions(-) - -commit 8a8cfad9a0834fe278a747c1d755144bd78f564b -Author: Behdad Esfahbod -Date: Mon Sep 26 11:47:05 2016 +0100 - - [MATH] Cleanup previous commit a bit - - src/hb-ot-layout-math-table.hh | 186 ++++++++++++++++++++--------------------- - src/hb-ot-layout.cc | 30 +++---- - src/hb-ot-layout.h | 14 ++-- - 3 files changed, 113 insertions(+), 117 deletions(-) - -commit d7182d129612c619b9026ee9b15f2dcfada132db -Author: Frédéric Wang -Date: Thu Aug 25 11:15:31 2016 +0200 - - MATH Table: Add API to access glyph info. - - src/hb-ot-layout-math-table.hh | 271 +++++++++++++++++++++++++++++++- - src/hb-ot-layout.cc | 114 ++++++++++++++ - src/hb-ot-layout.h | 18 +++ - src/hb-ot-math.h | 7 + - test/api/fonts/MathTestFontPartial1.otf | Bin 0 -> 14348 bytes - test/api/fonts/MathTestFontPartial2.otf | Bin 0 -> 14356 bytes - test/api/fonts/MathTestFontPartial3.otf | Bin 0 -> 14380 bytes - test/api/test-ot-layout-math.c | 155 ++++++++++++++++++ - 8 files changed, 563 insertions(+), 2 deletions(-) - -commit 6fd2fe418dc838743f0d4a8a2222cdcaf587500c -Author: Behdad Esfahbod -Date: Mon Sep 26 11:24:39 2016 +0100 - - [MATH] Fixup math constants commit a bit more - - src/hb-ot-layout-math-table.hh | 24 +++++++++++------------- - 1 file changed, 11 insertions(+), 13 deletions(-) - -commit 1a381153a2e6a15bded1f8e31f6b0e0cadb078af -Author: Behdad Esfahbod -Date: Mon Sep 26 11:15:59 2016 +0100 - - [MATH] Fixups for math constants commit - - src/hb-ot-layout-math-table.hh | 19 +++++++++---------- - 1 file changed, 9 insertions(+), 10 deletions(-) - -commit 319ff59161e6b027391f8b9fdce0db6dd44cc20d -Author: Frédéric Wang -Date: Thu Aug 25 11:06:41 2016 +0200 - - MATH Table: Add API to access math contants. - - src/Makefile.sources | 1 + - src/hb-ot-layout-math-table.hh | 146 +++++++++++++++++++++++++++++++++++- - src/hb-ot-layout.cc | 25 ++++++ - src/hb-ot-layout.h | 5 ++ - src/hb-ot-math.h | 100 ++++++++++++++++++++++++ - test/api/fonts/MathTestFontFull.otf | Bin 0 -> 25412 bytes - test/api/test-ot-layout-math.c | 72 ++++++++++++++++++ - 7 files changed, 345 insertions(+), 4 deletions(-) - -commit 4d3892e9b05a4df67b2f5cfd6dd3a1e0f5b38fc7 -Author: Behdad Esfahbod -Date: Mon Sep 26 10:45:58 2016 +0100 - - [MATH] Fixups for previous commit - - src/hb-ot-layout-math-table.hh | 8 ++++---- - src/hb-ot-layout.cc | 29 +++++++++++++++++++---------- - src/hb-ot-layout.h | 2 ++ - test/api/Makefile.am | 6 ++---- - test/api/test-ot-layout-math.c | 16 +++++++++------- - 5 files changed, 36 insertions(+), 25 deletions(-) - -commit 5fbcb992bd7887f95b1cf2ca045c9226de8148fc -Author: Frédéric Wang -Date: Thu Aug 25 10:47:15 2016 +0200 - - MATH Table: Add API to check availability of math data. - - src/Makefile.sources | 1 + - src/hb-ot-layout-math-table.hh | 60 +++++++++++++++++++++ - src/hb-ot-layout-private.hh | 3 ++ - src/hb-ot-layout.cc | 45 ++++++++++++++++ - src/hb-ot-layout.h | 7 +++ - test/api/Makefile.am | 14 ++++- - test/api/fonts/MathTestFontEmpty.otf | Bin 0 -> 14320 bytes - test/api/fonts/MathTestFontNone.otf | Bin 0 -> 14284 bytes - test/api/test-ot-layout-math.c | 98 +++++++++++++++++++++++++++++++++++ - 9 files changed, 227 insertions(+), 1 deletion(-) - -commit 02bfd965af588640250c47f344ad3096c8a373e0 -Author: Gregory Morse -Date: Mon Sep 12 10:22:15 2016 +0200 - - Update detectenv-msvc.mak (#316) - - Windows x86 ARM capability - - win32/detectenv-msvc.mak | 3 +++ - 1 file changed, 3 insertions(+) - -commit fc4e671f311241e21c1cc3ed941b1fc651875a2e -Author: Ebrahim Byagowi -Date: Fri Sep 9 23:28:28 2016 +0430 - - [coretext] Use intended coretext version check logic (#315) - - src/hb-coretext.cc | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 48677345281a93d8829dd37d0480a6062945416a -Author: Khaled Hosny -Date: Thu Sep 8 04:44:37 2016 +0300 - - Try to unbreak building on older macOS again (#314) - - src/hb-coretext.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit d22ab6cf040467e7f17476ccdfe9cab4dce16639 -Author: Behdad Esfahbod -Date: Wed Sep 7 14:28:47 2016 -0700 - - 1.3.1 - - NEWS | 9 +++++++++ - configure.ac | 2 +- - 2 files changed, 10 insertions(+), 1 deletion(-) - -commit b717cd7be506217e466e32a456df9af4d2720c0c -Author: Dominik Röttsches -Date: Wed Sep 7 23:56:57 2016 +0300 - - Do reconfigure the cascade list for Emoji font on OS X 10.9.5 (#313) - - This seems to fix crash issues on 10.9.5 reported on Chrome, compare - crbug.com/549610 - - src/hb-coretext.cc | 13 ++++++++++--- - 1 file changed, 10 insertions(+), 3 deletions(-) - -commit 67e9fdf427e8536f0a134f84ad3bf1740245fe12 -Author: Dominik Röttsches -Date: Mon Sep 5 11:27:25 2016 +0300 - - Blacklist Padauk 2.80 and 3.00 (#311) - - According to comments in issue #305 broken GDEF tables lead - to incorrect rendering of Latin characters. Blacklisting - this font. - - src/hb-ot-layout.cc | 8 ++++++++ - 1 file changed, 8 insertions(+) - -commit 17f0dd2dfb9a15aed9d1a229115940cc23bdbc97 -Author: Ebrahim Byagowi -Date: Fri Sep 2 01:21:48 2016 +0430 - - [ci] Add msys2 build to CI and run its testsuite on Windows (#310) - - appveyor.yml | 20 ++++++++++++++++---- - 1 file changed, 16 insertions(+), 4 deletions(-) - -commit 5362ce6a6455c539d615e7fb221a904ac744b74c -Author: Ebrahim Byagowi -Date: Thu Sep 1 20:05:45 2016 +0430 - - [dwrite] Minor, don't include unnecessary headers (#309) - - src/hb-directwrite.cc | 4 ---- - 1 file changed, 4 deletions(-) - -commit c4f36b04e32ae5111ef11d225e5d6e82c8216185 -Author: Ebrahim Byagowi -Date: Thu Sep 1 17:31:16 2016 +0430 - - [ci] Add Windows CI support, provided by AppVeyor (#308) - - README | 1 + - appveyor.yml | 28 ++++++++++++++++++++++++++++ - win32/generate-msvc.mak | 2 +- - 3 files changed, 30 insertions(+), 1 deletion(-) - -commit 3d976d20f1b97c771e64a9cfed2760ebec64037a -Author: Khaled Hosny -Date: Sat Aug 27 16:38:42 2016 +0300 - - Show the shaper name in the debug message (#306) - - src/hb-shape-plan.cc | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit 547ddb0721365dca985aef5b759d08718f7c5f82 -Merge: bd1aac9c0 e7ecbba2c -Author: Sascha Brawer -Date: Thu Aug 18 22:33:14 2016 +0200 - - Merge pull request #303 from behdad/fonnapa - - Support Americanist Phonetic Notation - -commit e7ecbba2cc3c9369c5e7dc7296cb210018aca3bb -Author: Sascha Brawer -Date: Thu Aug 18 12:48:38 2016 +0200 - - Support Americanist Phonetic Notation - - OpenType language system tag: `APPH` - https://www.microsoft.com/typography/otspec/languagetags.htm - - IETF BCP47 variant tag: `fonnapa` - http://www.iana.org/assignments/language-subtag-registry/language-subtag-registry - - src/hb-ot-tag.cc | 14 ++++++++++++-- - test/api/test-ot-tag.c | 6 ++++++ - 2 files changed, 18 insertions(+), 2 deletions(-) - -commit bd1aac9c0021a936058637424a478abf792533dd -Merge: 18c19dd34 a0f1b44b6 -Author: Sascha Brawer -Date: Thu Aug 18 13:59:38 2016 +0200 - - Merge pull request #302 from khaledhosny/master - - [travis] Fix MacOS libtool issue - -commit a0f1b44b6c0e3b1e6a1ba63dde2be22e0425353f -Author: Khaled Hosny -Date: Tue Aug 16 03:09:04 2016 +0200 - - [coretext] Blind fix for build on MacOS 10.9 - - src/hb-coretext.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 0634d5600e559a69a92d49173ffb8e715fe7576c -Author: Khaled Hosny -Date: Tue Aug 16 02:49:48 2016 +0200 - - [travis] Fix MacOS libtool issue - - Reveals another MacOS build breakage in the Core Text shaper. - - .travis.yml | 1 + - 1 file changed, 1 insertion(+) - -commit 18c19dd34dcdcaab0a6d47768339f8fb70c0d3f0 -Author: Behdad Esfahbod -Date: Tue Aug 9 13:03:14 2016 -0700 - - Fix build - - test/api/test-ot-tag.c | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -commit 91f2585411aaf5565fcf0c991b9055b0b397f1cd -Author: Behdad Esfahbod -Date: Mon Aug 8 18:08:08 2016 -0700 - - Actually add test - - test/shaping/Makefile.am | 1 + - 1 file changed, 1 insertion(+) - -commit f1b76275da716a4174092e6389979e03c0e3be59 -Author: Behdad Esfahbod -Date: Mon Aug 8 18:06:09 2016 -0700 - - Add tests for Chinese language tags - - Using font from https://github.com/behdad/harfbuzz/issues/300 - - .../sha1sum/6991b13ce889466be6de3f66e891de2bc0f117ee.ttf | Bin 0 -> 5596 bytes - test/shaping/tests/language-tags.tests | 12 ++++++++++++ - 2 files changed, 12 insertions(+) - -commit 37f21bdbb75c98d741e749b7f1e0f367941aef4e -Author: Behdad Esfahbod -Date: Mon Aug 8 17:57:06 2016 -0700 - - Map Macao to ZHH lang tag - - Fixes https://github.com/behdad/harfbuzz/issues/300 - - src/hb-ot-tag.cc | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 09c7a2d6bf00dc902343e999f92cac0e8146f949 -Author: Behdad Esfahbod -Date: Mon Aug 8 17:28:54 2016 -0700 - - Limit bits-per-feature to eight - - Limits number of alternatives per glyph per feature to 255, so be it. - That's better than possibly breaking shaping because of one bad feature - value. - - src/hb-ot-map.cc | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 333173103bb618f721bd25d0c565a3c3c9ea224e -Author: Behdad Esfahbod -Date: Mon Aug 8 17:24:04 2016 -0700 - - Fix sign of shift operators - - This one: - - map->mask = (1 << (next_bit + bits_needed)) - (1 << next_bit); - - before the fix, the shift was done as an int, causing overflow - if it ever got to 1 << 31. Sprinkle 'u's around. - - Fixes https://bugs.chromium.org/p/chromium/issues/detail?id=634805 - - src/hb-buffer-private.hh | 6 +++--- - src/hb-cache-private.hh | 8 ++++---- - src/hb-coretext.cc | 2 +- - src/hb-directwrite.cc | 2 +- - src/hb-face.cc | 2 -- - src/hb-font.cc | 2 -- - src/hb-ft.cc | 6 ++++-- - src/hb-ot-map.cc | 4 ++-- - src/hb-set-private.hh | 4 ++-- - src/hb-uniscribe.cc | 4 ++-- - 10 files changed, 19 insertions(+), 21 deletions(-) - -commit 10a0d4aa2254f783758bb908175047df3a0b41fe -Author: Behdad Esfahbod -Date: Mon Aug 8 16:51:08 2016 -0700 - - Map zh-Hant-HK to ZHH - - Fixes https://github.com/behdad/harfbuzz/issues/300 - - src/hb-ot-tag.cc | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit dd31fc9f7e6d23b414b22874de96eb3c002c80ba -Author: Khaled Hosny -Date: Fri Jul 22 02:26:54 2016 +0300 - - Don’t build UCDN support when building with GLib (#296) - - Regression from: b424b6c372dfe4c0ed75a49761eb34a416819446. - - configure.ac | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 489acf6c3180d3726158864fa0e1adeea3c23fae -Author: Behdad Esfahbod -Date: Fri Jul 22 17:41:43 2016 -0700 - - [coretext] "Fix" crashes on CoreText < 10.10 - - Fixes https://github.com/behdad/harfbuzz/issues/297 - - src/hb-coretext.cc | 8 ++++++++ - 1 file changed, 8 insertions(+) - -commit a732e00ea4fffebaa85a89420f09df4c11d650e0 -Author: Behdad Esfahbod -Date: Thu Jul 21 01:58:00 2016 -0700 - - 1.3.0 - - NEWS | 15 +++++++++++++++ - configure.ac | 2 +- - 2 files changed, 16 insertions(+), 1 deletion(-) - -commit 08c08af2f9ed683ad20322c3ef1ba0f87ce15426 -Author: Behdad Esfahbod -Date: Thu Jul 21 01:23:33 2016 -0700 - - [ucdn] Update to Unicode 9.0.0 - - Fixes https://github.com/grigorig/ucdn/issues/12 - - src/hb-ucdn.cc | 6 + - src/hb-ucdn/README | 1 - - src/hb-ucdn/ucdn.c | 80 +- - src/hb-ucdn/ucdn.h | 98 +- - src/hb-ucdn/unicodedata_db.h | 4750 +++++++++++++++++++++++------------------- - 5 files changed, 2783 insertions(+), 2152 deletions(-) - -commit f3f6c1ccbf89e15cda03e0c3a2df4297e98adf60 -Author: jfkthame -Date: Thu Jun 16 00:10:42 2016 +0100 - - Blacklist GDEF tables of more fonts - - This is based on bug reports that have been filed against Firefox since it - updated to a version of harfbuzz that uses zeroing by GDEF rather than by - Unicode. I'm sure there are a bunch more font versions that should also be - included; these are just the ones I have on hand and have confirmed as having - bad GDEF data. - - Given how the list here is growing, I think we should reconsider the approach, - and perhaps revert to zeroing by Unicode instead. - - Fixes https://github.com/behdad/harfbuzz/issues/264 - Fixes https://github.com/behdad/harfbuzz/pull/266 - - src/hb-ot-layout.cc | 39 +++++++++++++++++++++++++++++++++++++++ - 1 file changed, 39 insertions(+) - -commit 34f9aa582c3a03b578c7eae3d2e8860a0bd5cb00 -Author: Behdad Esfahbod -Date: Wed Jul 20 02:35:54 2016 -0700 - - Implement symbol cmap in ft and ot fonts - - Fixes https://github.com/behdad/harfbuzz/issues/236 - Fixes https://bugs.chromium.org/p/chromium/issues/detail?id=627953 - - src/hb-ft.cc | 27 +++++++++++++++++++++++---- - src/hb-ot-font.cc | 50 ++++++++++++++++++++++++++++++++++++++------------ - 2 files changed, 61 insertions(+), 16 deletions(-) - -commit 6363d7df28dc4307ef1abb9857d14c35e656b85a -Author: Behdad Esfahbod -Date: Wed Jul 20 01:43:56 2016 -0700 - - Clean up buffer area when rewinding - - Fixes https://bugs.chromium.org/p/chromium/issues/detail?id=614647 - If allocation fails, we might be leaving junk behind. At least - clear it up. - - src/hb-buffer.cc | 8 ++++++++ - 1 file changed, 8 insertions(+) - -commit f80c34eb556d12c45c961d6742c289baef58899d -Author: Behdad Esfahbod -Date: Tue Jul 12 11:18:26 2016 -0700 - - Whitespace - - src/hb-unicode-private.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 874421203e0161db2cbfb27be6c039cba57f7c63 -Author: Ebrahim Byagowi -Date: Tue Jul 12 03:49:21 2016 +0430 - - [coretext] Speculative fix for CoreText nullptr access (#288) - - src/hb-coretext.cc | 14 +++++++++----- - 1 file changed, 9 insertions(+), 5 deletions(-) - -commit 6bf9db4f1e1d51f9acb5e37b89caa8f4d275e7ce -Author: Birunthan Mohanathas -Date: Mon Jul 11 13:38:23 2016 -0700 - - [ft] Fix unsafe cast of FT_Done_Face in hb_ft_{face,font}_create_referenced (#289) - - Prior to this change the function `FT_Error FT_Done_Face(FT_Face *)` was - called through a pointer with the signature `void (void *)` resulting in - undefined behaviour. - - src/hb-ft.cc | 12 +++++++++--- - 1 file changed, 9 insertions(+), 3 deletions(-) - -commit 0b8f3ab0220ca4731516313828515f26bb480645 -Author: Steve Lhomme -Date: Mon Jul 11 21:57:26 2016 +0200 - - clang in MSVC mode doesn't like when we redefine __attribute__ (#283) - - src/hb-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 2f522fd485c2e946c9bce9e3828b6ff6247c59e4 -Merge: d3e2a06b0 e4d451ee5 -Author: Behdad Esfahbod -Date: Fri Jul 1 17:09:28 2016 -0700 - - Merge pull request #286 from khaledhosny/gi-tag_from_string - - [introspection] Fix hb_tag_from_string annotation - -commit e4d451ee55a57e1231b4076fcd1e87994f6b9528 -Author: Khaled Hosny -Date: Sat Jul 2 00:04:57 2016 +0200 - - [introspection] Fix hb_tag_from_string annotation - - src/hb-common.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit d3e2a06b0f2587e913a9c3ff1a20c187f260db80 -Author: Behdad Esfahbod -Date: Thu Jun 30 11:01:22 2016 -0700 - - [python] Use utf-32 / utf-16 based on build of Python - - Fixes https://github.com/behdad/harfbuzz/pull/271 - - src/sample.py | 22 +++++++++++++++++++++- - 1 file changed, 21 insertions(+), 1 deletion(-) - -commit fc9de44a03a97f6e93bd98d804596cb1f9f4b5fd -Author: Behdad Esfahbod -Date: Thu Jun 30 09:46:52 2016 -0700 - - Comments - - src/hb-coretext.cc | 18 +++++++++--------- - 1 file changed, 9 insertions(+), 9 deletions(-) - -commit 46809dee30232d493539519b1bb527fa816c37db -Merge: 70e72e5f6 1bea49eb4 -Author: Behdad Esfahbod -Date: Thu Jun 30 09:41:03 2016 -0700 - - Merge pull request #268 from drott/conflictingFontFix - - Discard reconfigured CTFont if URL changes - -commit 1bea49eb4b7a94ab6222f9c3c40320cbdb247b2d -Merge: 7aa3631dd 70e72e5f6 -Author: Dominik Röttsches -Date: Wed Jun 29 12:10:41 2016 +0200 - - Merge branch 'master' into conflictingFontFix - -commit 70e72e5f61d73c33d3c8f3bf07f5a9afd0db046a -Author: Behdad Esfahbod -Date: Tue Jun 28 21:00:37 2016 -0700 - - [gobject] Fix a few warnings - - Part of https://github.com/behdad/harfbuzz/issues/277 - - src/hb-buffer.cc | 2 +- - src/hb-gobject-structs.h | 12 ++++++++++++ - src/hb-shape.cc | 2 -- - src/hb-unicode.h | 15 --------------- - 4 files changed, 13 insertions(+), 18 deletions(-) - -commit d8273aac19771033c5064a2f079c29d09a86e7c0 -Merge: abae93fae ae9054c74 -Author: Behdad Esfahbod -Date: Tue Jun 28 21:15:28 2016 -0700 - - Merge pull request #280 from behdad/revert-271-patch-2 - - Revert "use utf32" - -commit ae9054c740631e36b7582b44c5afb42ff4509461 -Author: Behdad Esfahbod -Date: Tue Jun 28 21:14:38 2016 -0700 - - Revert "use utf32" - - src/sample.py | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit 7aa3631dd06af74a1fa9f0bfaa5f721876be817f -Merge: f7da0486e abae93fae -Author: Dominik Röttsches -Date: Tue Jun 28 09:52:18 2016 +0200 - - Merge branch 'master' into conflictingFontFix - -commit abae93faef32562f34a72981d252c848cc4f7565 -Merge: 07461d06d 8179ff5d7 -Author: Behdad Esfahbod -Date: Mon Jun 27 14:33:27 2016 -0400 - - Merge pull request #273 from ebraminio/master - - [dwrite] Use stream font loader instead GDI interop - -commit 8179ff5d7ba4a140cf6743729a22072800e98a79 -Author: Ebrahim Byagowi -Date: Mon Jun 27 03:54:15 2016 +0430 - - [dwrite] Don't allocate more than needed - - Addressing Nikolay Sivov reviews on harfbuzz mailing list - - src/hb-directwrite.cc | 15 ++++++--------- - 1 file changed, 6 insertions(+), 9 deletions(-) - -commit 5967eaba728ca3e4f5026142c25d455fa3a59764 -Author: Sascha Brawer -Date: Fri Jun 24 16:42:27 2016 +0200 - - [CPAL] Return 0xFFFF as name id for unnamed palettes - - The name id 0 is used as Copyright notice. It's quite unlikely that a - font supplies a color palette with the exact same name as the font's - copyright notice, but the API should not prevent this. - - Also, try to fix a problem with GObject introspection, where the - auto-generated Python bindings could not return palette colors. - - src/hb-ot-color.cc | 13 ++++++------- - test/api/test-ot-color.c | 14 +++++++------- - 2 files changed, 13 insertions(+), 14 deletions(-) - -commit 07b724f3419a28c479cd8a75ae0eecb841a6d2f3 -Author: Ebrahim Byagowi -Date: Fri Jun 24 12:23:25 2016 +0430 - - [dwrite] Delete remained objects - - No longer noticeable memory increase on create/destroy iterations, - highly better than current state of uniscribe backend - - src/hb-directwrite.cc | 33 ++++++++++++++++++++++++--------- - 1 file changed, 24 insertions(+), 9 deletions(-) - -commit be565d17141818e006aa1e4582f3ae14c726fa85 -Author: Ebrahim Byagowi -Date: Fri Jun 24 11:42:01 2016 +0430 - - [dwrite] Release allocated blob on face destroy - - This reduces memory consumption of my iterated font create/destroy cycle test - significantly and makes it much better than uniscribe backend even - - src/hb-directwrite.cc | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -commit f3f0ea980a359343ac0e3d359a95855c2cf7be25 -Author: Ebrahim Byagowi -Date: Thu Jun 23 16:41:37 2016 +0430 - - [dwrite] Remove ifdefs without breaking execution on old Windows versions - - src/hb-directwrite.cc | 205 +++++++++++++++++++++++++------------------------- - 1 file changed, 103 insertions(+), 102 deletions(-) - -commit 6b861dbd8b3662d0fa0e51fad1736d72192da868 -Author: Ebrahim Byagowi -Date: Tue Jun 21 13:57:26 2016 +0430 - - [dwrite] Use stream font loader instead GDI interop - - With help of - https://dxr.mozilla.org/mozilla-central/source/gfx/2d/NativeFontResourceDWrite.cpp - - src/hb-directwrite.cc | 350 +++++++++++++++++++------------------------------- - src/hb-directwrite.h | 2 +- - 2 files changed, 135 insertions(+), 217 deletions(-) - -commit f7da0486ed8884481d477ce08fcf928c4da9a0a3 -Merge: a0223274b 07461d06d -Author: Dominik Röttsches -Date: Mon Jun 20 10:25:43 2016 +0300 - - Merge branch 'master' into conflictingFontFix - -commit d34d3ac985a6c8c848ae49635b648a72e0c8f30d -Author: Sascha Brawer -Date: Mon Apr 25 18:20:57 2016 +0200 - - Support CPAL table - - NEWS | 6 +- - src/Makefile.am | 3 + - src/Makefile.sources | 3 + - src/hb-ot-color.cc | 213 ++++++++++++++ - src/hb-ot-color.h | 99 +++++++ - src/hb-ot-cpal-table.hh | 121 ++++++++ - src/hb-ot-layout-private.hh | 3 + - src/hb-ot-layout.cc | 7 + - src/hb-ot.h | 1 + - test/api/Makefile.am | 1 + - test/api/hb-test.h | 30 ++ - test/api/test-ot-color.c | 318 +++++++++++++++++++++ - .../319f5d7ebffbefc5c5e6569f8cea73444d7a7268.ttf | Bin 0 -> 2128 bytes - .../e90374e5e439e00725b4fe7a8d73db57c5a97f82.ttf | Bin 0 -> 1948 bytes - 14 files changed, 804 insertions(+), 1 deletion(-) - -commit 07461d06d242cd5cfda7ccb891189f074a89b460 -Author: Kelvin -Date: Sat Jun 18 22:46:38 2016 +0000 - - Use UTF-32 in Python sample - - src/sample.py | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit fca0c61d67aa309fc824fb18f247493c2b7701ef -Merge: 4b8de1ea8 988350586 -Author: Khaled Hosny -Date: Sun Jun 19 00:08:51 2016 +0300 - - Merge pull request #270 from khaledhosny/travis-failure - - Fix make check on Travis - -commit 988350586f607c7a46bbb658a2abecfd004f41fb -Author: Khaled Hosny -Date: Sat Jun 18 21:12:19 2016 +0200 - - [tests] Workaround Python 2 “narrow” builds - - The so-called Python 2 “narrow” builds support UCS2 only, this is a - workaround to allow unichr to work with any Unicode character in such - builds. This fixes Travis-CI failure as it has narrow Python 2 builds. - - Copied from: - https://github.com/behdad/fonttools/blob/master/Lib/fontTools/misc/py23.py - - test/shaping/hb_test_tools.py | 38 +++++++++++++++++++++++++++++++++++++- - 1 file changed, 37 insertions(+), 1 deletion(-) - -commit a0223274b97e82fe02730fd45729172511fec459 -Author: Dominik Röttsches -Date: Thu Jun 16 14:19:39 2016 +0200 - - Discard reconfigured CTFont if URL changes - - Fixes https://github.com/behdad/harfbuzz/issues/267 - - src/hb-coretext.cc | 24 +++++++++++++++++++++--- - 1 file changed, 21 insertions(+), 3 deletions(-) - -commit 4b8de1ea804b225e8357422d0686aad76b05ccf3 -Author: Behdad Esfahbod -Date: Mon Jun 6 23:08:54 2016 -0700 - - Round, not truncate, when scaling values - - Fixes https://github.com/behdad/harfbuzz/issues/255 - - src/hb-font-private.hh | 8 +++++++- - 1 file changed, 7 insertions(+), 1 deletion(-) - -commit a93078a0ece6dcdea8c5b46cabd30854dd7cf593 -Author: Behdad Esfahbod -Date: Mon Jun 6 15:58:41 2016 -0700 - - Change bugreport URL to github - - That's where everything is happening these days. - - configure.ac | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit bed201d2b839c1b1e727e17efc2e0c8f705b86c5 -Author: Behdad Esfahbod -Date: Mon Jun 6 14:14:24 2016 -0700 - - Update for latest Unicode 9 data files - - src/hb-ot-shape-complex-indic-table.cc | 10 +++++----- - src/hb-ot-shape-complex-indic.cc | 5 ----- - src/hb-ot-shape-complex-use-table.cc | 4 ++-- - 3 files changed, 7 insertions(+), 12 deletions(-) - -commit aba4b0ca52f490adfc2f3c6ec0accddd6596fdf6 -Author: Behdad Esfahbod -Date: Wed Jun 1 16:57:29 2016 -0700 - - Add TODO - - src/hb-font.cc | 1 + - 1 file changed, 1 insertion(+) - -commit a2b03de5b30b7e83f7fbf3457e9ba9c00eb88d00 -Author: Behdad Esfahbod -Date: Fri May 6 17:56:07 2016 +0100 - - [myanmar] Handle U+AA74..U+AA76 - - Fixes https://github.com/behdad/harfbuzz/issues/218 - - src/hb-ot-shape-complex-myanmar.cc | 5 +++++ - 1 file changed, 5 insertions(+) - -commit 6c0aa9e92bbd22011c85d98c6db021012f7b4101 -Author: Behdad Esfahbod -Date: Fri May 6 17:50:06 2016 +0100 - - Fix build on droid.io - - test/shaping/tests/use.tests | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 9b6312f9451db790db00dc2c2e27a5a1db852e72 -Author: Behdad Esfahbod -Date: Fri May 6 17:41:49 2016 +0100 - - [use] Update to draft spec from Andrew Glass from August 2015 - - src/gen-use-table.py | 29 +++-- - src/hb-ot-shape-complex-use-machine.rl | 15 +-- - src/hb-ot-shape-complex-use-private.hh | 1 - - src/hb-ot-shape-complex-use-table.cc | 142 ++++++++++----------- - src/hb-ot-shape-complex-use.cc | 11 +- - .../6ff0fbead4462d9f229167b4e6839eceb8465058.ttf | Bin 0 -> 1148 bytes - test/shaping/tests/use.tests | 1 + - 7 files changed, 93 insertions(+), 106 deletions(-) - -commit 3e4e7616a8ca80a50a438601b84428b4ba4c8694 -Author: Behdad Esfahbod -Date: Fri May 6 17:28:25 2016 +0100 - - [use] Add a catch-all clause to the machine - - src/hb-ot-shape-complex-use-machine.rl | 2 ++ - src/hb-ot-shape-complex-use.cc | 2 ++ - 2 files changed, 4 insertions(+) - -commit d04e461fe3310ccaf8633efcb79b8eb6ca2201c3 -Author: Behdad Esfahbod -Date: Fri May 6 17:17:00 2016 +0100 - - [use] Fix 'Number-joiner terminated cluster' to use HN instead of H - - From draft update to USE. - - src/hb-ot-shape-complex-use-machine.rl | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 359dead960c825edeb4587915a511d323f1c1f2a -Author: Behdad Esfahbod -Date: Fri May 6 16:19:19 2016 +0100 - - Allow MultipleSubst to delete glyph - - Fixes https://github.com/behdad/harfbuzz/issues/253 - - Hopefully we got the logic right. - - src/hb-ot-layout-gsub-table.hh | 17 +++++++---------- - src/hb-ot-layout-gsubgpos-private.hh | 11 +++++++---- - 2 files changed, 14 insertions(+), 14 deletions(-) - -commit 3c1666cfb589275de96d54eecb95a13a98e3819e -Author: Behdad Esfahbod -Date: Fri May 6 16:05:07 2016 +0100 - - [indic] Remove more unused logic after Javanese is gone - - src/hb-ot-shape-complex-indic.cc | 50 +++++++++++++++------------------------- - 1 file changed, 18 insertions(+), 32 deletions(-) - -commit 8b5d6e755b271d0d22b31a7726d5bfbf2aae8b2f -Author: Behdad Esfahbod -Date: Fri May 6 15:59:27 2016 +0100 - - [indic] Remove unused Javanese bits - - src/hb-ot-shape-complex-indic-machine.rl | 3 +-- - src/hb-ot-shape-complex-indic-private.hh | 5 ++--- - src/hb-ot-shape-complex-indic.cc | 4 ---- - 3 files changed, 3 insertions(+), 9 deletions(-) - -commit 30e6e29f0f0f77eb65bfd1c4576b38c2da555017 -Author: Behdad Esfahbod -Date: Fri May 6 15:52:27 2016 +0100 - - [indic/use] Move Javanese from Indic shaper to USE - - Fixes https://github.com/behdad/harfbuzz/issues/243 - - With javatext.ttf, the reodering medial Ra gets its advance width - zero'ed in Uniscribe implementation, and the font adds the advance - back. Our Indic shaper does not do that, but USE does. So, route - Javanese through USE. That's what Microsoft does anyway. Test: - - U+A9A5,U+A9BA - - This also seems to fix the following sequence, and variations thereof: - - U+A99F,U+A9C0,U+A9A2,U+A9BF - - src/gen-indic-table.py | 1 - - src/hb-ot-shape-complex-indic-table.cc | 23 ++++------------------ - src/hb-ot-shape-complex-private.hh | 5 +---- - .../south-east-asian/script-javanese/misc.txt | 1 + - 4 files changed, 6 insertions(+), 24 deletions(-) - -commit c6ee5f5f06a27a6f147f63aaf51186622821f20b -Author: Behdad Esfahbod -Date: Fri May 6 15:39:02 2016 +0100 - - Add Javanese sample text - - .../south-east-asian/script-javanese/misc.txt | 53 ++++++++++++++++++++++ - 1 file changed, 53 insertions(+) - -commit e21921a68a959b7e929f71a4260a6cbe055ab4e6 -Author: Behdad Esfahbod -Date: Fri May 6 15:24:39 2016 +0100 - - Minor - - BUILD.md | 9 ++++++--- - 1 file changed, 6 insertions(+), 3 deletions(-) - -commit 01a30a6aa9a5827c93245961e3392a1f361745fe -Author: Behdad Esfahbod -Date: Fri May 6 11:50:02 2016 +0100 - - [indic] Remove data for scripts that don't go thorough this shaper - - src/gen-indic-table.py | 29 +- - src/hb-ot-shape-complex-indic-table.cc | 604 +-------------------------------- - 2 files changed, 43 insertions(+), 590 deletions(-) - -commit 7cd9269f4eba7b85cd72301a3fc39fab42a4e439 -Author: Behdad Esfahbod -Date: Fri May 6 11:34:46 2016 +0100 - - Update tables to Unicode 9.0.0 beta - - Fixes https://github.com/behdad/harfbuzz/issues/251 - - src/hb-ot-shape-complex-arabic-table.hh | 56 ++++++++----- - src/hb-ot-shape-complex-indic-table.cc | 137 +++++++++++++++++++++++--------- - src/hb-ot-shape-complex-use-table.cc | 86 ++++++++++++++------ - 3 files changed, 196 insertions(+), 83 deletions(-) - -commit f718fe370ea89e8aeb407addaa6cc926d52a4cdb -Author: Behdad Esfahbod -Date: Fri May 6 11:21:12 2016 +0100 - - Minor - - src/gen-indic-table.py | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 691086f131cb6c9d97e98730c27673484bf93f87 -Author: Behdad Esfahbod -Date: Fri May 6 12:08:18 2016 +0100 - - Add Unicode 9 beta scripts - - These are frozen, so good time to add. - - src/hb-common.cc | 3 +++ - src/hb-common.h | 9 +++++++++ - src/hb-ot-shape-complex-private.hh | 9 +++++++++ - src/hb-ot-shape-complex-use.cc | 3 +++ - 4 files changed, 24 insertions(+) - -commit bc5198fe1277d662926a4f616913c085cd4fc8ee -Author: Behdad Esfahbod -Date: Fri May 6 11:59:05 2016 +0100 - - Whitespace - - src/hb-common.h | 13 +++++++------ - 1 file changed, 7 insertions(+), 6 deletions(-) - -commit a5b7b0dd4508d8a1e7573b75c4cb8832c9e34e3f -Author: Behdad Esfahbod -Date: Mon May 2 10:44:13 2016 +0200 - - 1.2.7 - - NEWS | 12 ++++++++++++ - configure.ac | 2 +- - 2 files changed, 13 insertions(+), 1 deletion(-) - -commit 9879fc1db3cad684f412c2f3d6b49e0435697d0e -Author: Behdad Esfahbod -Date: Mon May 2 10:29:12 2016 +0200 - - [ot-font] Remove unused 'post' table include for now - - To make a release... - - src/hb-ot-font.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit f8061ae7972462ad800c23be7cd7b3d7ab94b93b -Author: Behdad Esfahbod -Date: Mon May 2 10:28:24 2016 +0200 - - [tests] Fix test - - test/shaping/Makefile.am | 2 +- - .../tests/{fallback-positioning.test => fallback-positioning.tests} | 0 - 2 files changed, 1 insertion(+), 1 deletion(-) - -commit f00ab2a33ab34ba64f38cbbe65830c770a3e071e -Author: Behdad Esfahbod -Date: Mon May 2 10:24:00 2016 +0200 - - [hb-ot-font] Make 'glyf' table loading lazy - - Apparently some clients have reference-table callbacks that copy the table. - As such, avoid loading 'glyf' table which is only needed if fallback positioning - happens. - - src/hb-ot-font.cc | 45 ++++++++++++++++++++- - test/shaping/Makefile.am | 1 + - .../7ef276fc886ea502a03b9b0e5c8b547d5dc2b61c.ttf | Bin 0 -> 784 bytes - test/shaping/tests/fallback-positioning.test | 2 + - 4 files changed, 46 insertions(+), 2 deletions(-) - -commit 587d46227a56940a7f5bb053cbeda6144394acf7 -Author: Behdad Esfahbod -Date: Sat Apr 30 19:20:56 2016 +0200 - - [ot-font] Start implementing 'post' table, for accessing glyph names - - src/Makefile.sources | 1 + - src/hb-open-type-private.hh | 12 ++++- - src/hb-ot-font.cc | 1 + - src/hb-ot-post-table.hh | 119 ++++++++++++++++++++++++++++++++++++++++++++ - 4 files changed, 132 insertions(+), 1 deletion(-) - -commit 9abaaac409b8e3a0a9182b67dc384133013f7878 -Merge: 2f560ee44 264b7a728 -Author: Behdad Esfahbod -Date: Wed Apr 27 03:38:24 2016 -0700 - - Merge commit '264b7a728a41becfbf23ce258fc2a3af19d0cbbe' into HEAD - -commit 2f560ee44b7b08683e8e6955fe3b95187e8bda32 -Author: Behdad Esfahbod -Date: Wed Apr 27 03:11:41 2016 -0700 - - [tibetan] Reorder marks to better match Uniscribe - - Fixes https://github.com/behdad/harfbuzz/issues/237 - - Note that Uniscribe enforces a certain syllable order. We don't. - But with this change, I get all of the tibetan contractions pass - with Microsoft Himalaya font. - - src/hb-unicode-private.hh | 8 ++++++-- - 1 file changed, 6 insertions(+), 2 deletions(-) - -commit f68390f196216718c22c434e1d8921118e646824 -Author: Behdad Esfahbod -Date: Wed Apr 27 02:44:35 2016 -0700 - - [test] Add text for Tibetan shorthand contractions - - From http://www.babelstone.co.uk/Tibetan/Contractions.html - - .../script-tibetan/misc/contractions.txt | 612 +++++++++++++++++++++ - 1 file changed, 612 insertions(+) - -commit 264b7a728a41becfbf23ce258fc2a3af19d0cbbe -Merge: 7e2da035f adafdcddc -Author: Khaled Hosny -Date: Wed Apr 27 03:48:23 2016 +0300 - - Merge pull request #247 from khaledhosny/update-opentype-language-tags - - Update opentype language tags - -commit adafdcddced076da4bfa3114a00e15a387aaf1f7 -Author: Arthur Reutenauer -Date: Sat Nov 7 23:37:21 2015 +0000 - - Mass-added “difficult” tags – to be curated. - - src/hb-ot-tag.cc | 69 +++++++++++++++++++++++++++++--------------------------- - 1 file changed, 36 insertions(+), 33 deletions(-) - -commit 3d6a2c0d7d9f6c5b3097f78c1123f9e59dcc76e2 -Author: Arthur Reutenauer -Date: Sat Nov 7 22:59:13 2015 +0000 - - Initial import of missing OpenType 1.7 language tags. - - src/hb-ot-tag.cc | 67 +++++++++++++++++++++++++++++++++++++++++++++++++++----- - 1 file changed, 61 insertions(+), 6 deletions(-) - -commit 7e2da035f68e46ce8f4759b67b4ed3a1b211d793 -Author: Behdad Esfahbod -Date: Tue Apr 26 16:42:25 2016 -0700 - - Undo accidental change - - src/hb-ot-shape-complex-arabic.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit b20305022a8235b19e6b640bc62651854e1336f1 -Author: Behdad Esfahbod -Date: Tue Apr 26 16:41:17 2016 -0700 - - Do NOT ignore Mongolian Free Variation Selectors during matching - - Fixes https://github.com/behdad/harfbuzz/issues/234 - - src/hb-ot-layout-gsubgpos-private.hh | 2 +- - src/hb-ot-layout-private.hh | 23 +++++++++++++++++++-- - src/hb-ot-shape-complex-arabic.cc | 2 +- - .../a34a7b00f22ffb5fd7eef6933b81c7e71bc2cdfb.ttf | Bin 0 -> 3700 bytes - .../tests/mongolian-variation-selector.tests | 1 + - 5 files changed, 24 insertions(+), 4 deletions(-) - -commit 21ab5501f5f5267d20cf23256866dd9d82a667ef -Author: Behdad Esfahbod -Date: Tue Apr 26 16:02:04 2016 -0700 - - Move ZWJ/ZWNJ bits to top byte of unicode_props() - - To make room to remember Mongolian Free Variation Selectors. - Part of fixing https://github.com/behdad/harfbuzz/issues/234 - - src/hb-ot-layout-private.hh | 40 ++++++++++++++++++++++------------------ - 1 file changed, 22 insertions(+), 18 deletions(-) - -commit de508516cb06ddb064d75bd7be8e843a5ebcf70d -Author: Behdad Esfahbod -Date: Tue Apr 26 11:28:37 2016 -0700 - - [util] Print out --debug buffer to stderr - - util/main-font-text.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 29393884b9f045460fb65d6ad10a94461ba93430 -Author: Behdad Esfahbod -Date: Tue Apr 26 10:35:23 2016 -0700 - - Annotate blacklisted fonts with their sha1sum - - src/hb-ot-layout.cc | 18 ++++++++++++------ - 1 file changed, 12 insertions(+), 6 deletions(-) - -commit 14bb4a56971fd45063cd6c1288d911627088abb2 -Merge: 1c625dff2 5069062d0 -Author: Sascha Brawer -Date: Tue Apr 26 11:38:16 2016 +0200 - - Merge pull request #245 from KonstantinRitt/fixes/ce - - Unbreak build on Windows CE - -commit 5069062d0a9342bb716eebf3ddc1efad91924caa -Author: Konstantin Ritt -Date: Tue Apr 26 12:02:26 2016 +0400 - - Unbreak build on Windows CE - - 0475ef2f97e3035a2eea9a0f96031331e07e8e29 broke the build by using - vsnprintf(), which is not defined on Windows CE - - src/hb-private.hh | 1 + - 1 file changed, 1 insertion(+) - -commit 1c625dff2269c54ff429ca45be88893ff1fa6c34 -Author: Behdad Esfahbod -Date: Sat Apr 9 12:53:23 2016 -0700 - - Minor - - src/hb-ot-layout.cc | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 851b0db36d1b724fc1e0db506445119c78186285 -Author: Behdad Esfahbod -Date: Fri Apr 8 23:46:55 2016 -0700 - - Minor. We should never get to this branch, but fix it anyway. - - src/hb-ot-layout-common-private.hh | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -commit 00ea66f35754a1e6e4d3b7b139d611a9a623a9d1 -Author: Behdad Esfahbod -Date: Fri Apr 8 13:51:01 2016 -0700 - - 1.2.6 - - NEWS | 10 ++++++++++ - configure.ac | 2 +- - 2 files changed, 11 insertions(+), 1 deletion(-) - -commit 4f3d59a1877dcb94d09da48e9694a6c1b05a86fe -Author: Behdad Esfahbod -Date: Fri Apr 8 13:41:20 2016 -0700 - - Blacklist another set of timesi.ttf and timesbi.ttf - - src/hb-ot-layout.cc | 2 ++ - 1 file changed, 2 insertions(+) - -commit ef476be80d773332e0c768a3465d99381d76edd9 -Merge: a0331b55f d3134a66a -Author: Behdad Esfahbod -Date: Fri Apr 8 13:16:33 2016 -0700 - - Merge pull request #239 from ebraminio/dwfix - - Improve DirectWrite backend - -commit d3134a66ad551ded726db9528d3c25459088f105 -Author: Ebrahim Byagowi -Date: Tue Apr 5 21:01:05 2016 +0000 - - Fix when no feature is given - - src/hb-directwrite.cc | 8 +++++--- - 1 file changed, 5 insertions(+), 3 deletions(-) - -commit a0331b55f7b45437980e1fc323251f4091bf2c4e -Author: Behdad Esfahbod -Date: Mon Apr 4 16:25:32 2016 -0700 - - 1.2.5 - - NEWS | 7 +++++++ - configure.ac | 2 +- - 2 files changed, 8 insertions(+), 1 deletion(-) - -commit 6e55199b5f097ac93bad38f32e9813e2da14c5a7 -Author: Behdad Esfahbod -Date: Mon Apr 4 16:24:27 2016 -0700 - - Add test for 6dd80faf0dcb3e8a8915c3a25da44e2a67cb0cd8 - - test/shaping/Makefile.am | 1 + - .../f22416c692720a7d46fadf4af99f4c9e094f00b9.ttf | Bin 0 -> 16736 bytes - test/shaping/tests/mark-filtering-sets.tests | 5 +++++ - 3 files changed, 6 insertions(+) - -commit 59089622dbb8dda783b1639c932123f125c3592d -Author: Behdad Esfahbod -Date: Mon Apr 4 14:54:32 2016 -0700 - - [coretext] Clarify comment - - src/hb-coretext.cc | 8 +++----- - 1 file changed, 3 insertions(+), 5 deletions(-) - -commit 6dd80faf0dcb3e8a8915c3a25da44e2a67cb0cd8 -Author: Behdad Esfahbod -Date: Mon Apr 4 14:34:25 2016 -0700 - - Fix FixedVersion::to_int() - - Ouch. Had broken it in 9a13ed453ef96822a47d6e6f58332b87f38d5c59 - - Fixes https://github.com/behdad/harfbuzz/issues/238 - Will add test soon. - - src/hb-open-type-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 4a104021697439fd21390a1f4cdc9310348882fa -Author: Ebrahim Byagowi -Date: Sat Apr 2 13:47:59 2016 +0000 - - Hide justification behind HB_DIRECTWRITE_EXPERIMENTAL_JUSTIFICATION - - src/hb-directwrite.cc | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 63ee9ca5d81b53eb035972754ed95572821c393c -Author: Ebrahim Byagowi -Date: Fri Apr 1 15:47:07 2016 +0000 - - Use standard types instead Windows favourites ones - - src/hb-directwrite.cc | 100 +++++++++++++++++++++++++------------------------- - 1 file changed, 50 insertions(+), 50 deletions(-) - -commit adf20ba0d18d1506e633dcd9b4827a6c93abcadd -Author: Ebrahim Byagowi -Date: Fri Apr 1 15:36:40 2016 +0000 - - Limit GetJustifiedGlyphs only to scripts with custom justification character - - src/hb-directwrite.cc | 98 +++++++++++++++++++++++++++++++-------------------- - 1 file changed, 60 insertions(+), 38 deletions(-) - -commit 32ae9d1b3ffbe7e26e654437a56a26a95fe9f5a6 -Author: Ebrahim Byagowi -Date: Fri Apr 1 06:39:57 2016 +0000 - - Add justification support - - src/hb-directwrite.cc | 321 ++++++++++++++++++++++++++++++++------------------ - 1 file changed, 205 insertions(+), 116 deletions(-) - -commit 10c3d9e41520595c88dd2a8321590e03ce8fcf47 -Author: Ebrahim Byagowi -Date: Thu Mar 31 18:19:44 2016 +0000 - - Basic opentype features support - - src/hb-directwrite.cc | 62 ++++++++++++++++++++++++++++++++++----------------- - 1 file changed, 42 insertions(+), 20 deletions(-) - -commit d129897120d3ad414220d603557c15a60aa69fa6 -Author: Ebrahim Byagowi -Date: Thu Mar 31 13:45:37 2016 +0000 - - Refactor and remove dupe getglyphs call - - src/hb-directwrite.cc | 106 ++++++++++++++++++++++++-------------------------- - 1 file changed, 51 insertions(+), 55 deletions(-) - -commit 5f1a8961008b93f72acc47336109af3a64e248d0 -Author: Ebrahim Byagowi -Date: Thu Mar 31 12:26:16 2016 +0000 - - Better glyph offset support - - src/hb-directwrite.cc | 44 ++++++++++++++++++++++++-------------------- - 1 file changed, 24 insertions(+), 20 deletions(-) - -commit d691ba3f405738c6857450752b8cc0911dfcdb01 -Author: Ebrahim Byagowi -Date: Wed Mar 30 20:21:40 2016 +0000 - - Don't fail when language is not set - - src/hb-directwrite.cc | 9 ++++++--- - 1 file changed, 6 insertions(+), 3 deletions(-) - -commit 1c00a46c7a608ebc0b03c5abfcfe7f2b9881d0df -Author: Ebrahim Byagowi -Date: Wed Mar 30 20:15:09 2016 +0000 - - Make DirectWrite backend to work with different font sizes - - Actually copyedited same logic from Uniscribe to make it just work - - src/hb-directwrite.cc | 7 ++++++- - 1 file changed, 6 insertions(+), 1 deletion(-) - -commit 0251b0cc5c39272d2299d4b2ab802faaafe96837 -Author: Behdad Esfahbod -Date: Thu Mar 17 14:37:11 2016 -0700 - - 1.2.4 - - NEWS | 15 +++++++++++++++ - configure.ac | 2 +- - 2 files changed, 16 insertions(+), 1 deletion(-) - -commit 69f9fbc4200442a35484d3c790ae8f4979be5d60 -Author: Behdad Esfahbod -Date: Thu Mar 17 11:59:43 2016 -0700 - - Synthesize GDEF glyph class for any glyph that does not have one in GDEF - - Previously we only synthesized GDEF glyph classes if the glyphClassDef - array in GDEF was null. This worked well enough, and is indeed what - OpenType requires: "If the font does not include a GlyphClassDef table, - the client must define and maintain this information when using the - GSUB and GPOS tables." That sentence does not quite make sense since - one needs Unicode properties as well, but is close enough. - - However, looks like Arial Unicode as shipped on WinXP, does have GDEF - glyph class array, but defines no classes for Hebrew. This results - in Hebrew marks not getting their widths zeroed. So, with this change, - we synthesize glyph class for any glyph that is not specified in the - GDEF glyph class table. Since, from our point of view, a glyph not - being listed in that table is a font bug, any unwanted consequence of - this change is a font bug :). - - Note that we still don't get the same rendering as Uniscribe, since - Uniscribe seems to do fallback positioning as well, even though the - font does have a GPOS table (which does NOT cover Hebrew!). We are - not going to try to match that though. - - Test string for Arial Unicode: - - U+05E9,U+05B8,U+05C1,U+05DC - - Before: [gid1166=3+991|gid1142=0+737|gid5798=0+1434] - After: [gid1166=3+991|gid1142=0+0|gid5798=0+1434] - Uniscribe: [gid1166=3+991|gid1142=0@348,0+0|gid5798=0+1434] - - Note that our new output matches what we were generating until July - 2014, because the Hebrew shaper used to zero mark advances based on - Unicode, NOT GDEF. That's 9e834e29e0b657f0555df1ab9cea79ff7abcf08d. - - Reported by Greg Douglas. - - src/hb-ot-layout-gsub-table.hh | 22 ++++++++++++++++++++-- - src/hb-ot-shape.cc | 29 ----------------------------- - 2 files changed, 20 insertions(+), 31 deletions(-) - -commit fef5dd9a72f326c160a7194f558749d24bac7283 -Merge: 01ea9eaac 5f995db10 -Author: Behdad Esfahbod -Date: Sat Mar 12 19:15:15 2016 -0800 - - Merge pull request #232 from c0nk/wip-icu - - Add --with-icu=builtin option; fix compile error - -commit 01ea9eaac373d9f3de6e56c1ca26cdcd259ecc8e -Author: Behdad Esfahbod -Date: Fri Mar 11 18:50:02 2016 -0800 - - [build] Use tar-ustar instead of tar-pax - - The default tar-v7 is not good enough for us (99 char filename - limit), so I have had bumped to tar-pax. We got one complaint - that someone's tar couldn't handle tar-pax. Set to tar-ustar - which is ~13 years earlier than tar-pax and is good enough for us. - - configure.ac | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 3e10460a1dd41de32752e308771aa30d23565cc0 -Author: Behdad Esfahbod -Date: Fri Mar 11 18:45:19 2016 -0800 - - Minor comment - - src/hb-unicode-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit d14fea4bdcc1423fe9a585af3abdefa9605d17e6 -Author: Behdad Esfahbod -Date: Tue Mar 8 12:16:41 2016 -0800 - - Remove default clause in minor switch statements - - Bending to clang warnings... - https://bugs.chromium.org/p/chromium/issues/detail?id=593057 - - src/hb-ot-shape-complex-indic.cc | 4 ---- - src/hb-ot-shape-complex-thai.cc | 1 - - 2 files changed, 5 deletions(-) - -commit ce8ae9970102f83b67bb1e8e8b2bf894a0e26c07 -Merge: 731a430cd 71248a843 -Author: Behdad Esfahbod -Date: Fri Mar 4 17:20:35 2016 -0800 - - Merge pull request #231 from KonstantinRitt/post123buildfix - - Fix build with HB_DISABLE_DEPRECATED - -commit 731a430cd36caabcef04e099b21ebc6daedd536f -Author: Behdad Esfahbod -Date: Wed Mar 2 13:32:42 2016 -0800 - - Fix requiredFeature stage handling logic - - Originally the way Jonathan had written this was correct in - "continue"ing: - - https://github.com/jfkthame/harfbuzz/commit/35e28c7a733eaffcd9f062b18d7db9fbb3d990fc#diff-ead86a33a5cc9ad7f6e6381031a0baddR199 - - When I rewrote his patch, I messed it up: - - https://github.com/behdad/harfbuzz/commit/da132937989acb4d8ca9bd41c79f98750e7dda30#diff-ead86a33a5cc9ad7f6e6381031a0baddR209 - - the intended behavior was NOT to set found=TRUE and NOT to continue. - This was resulting in feature_index[table_index] being left unset. - Oops! - - src/hb-ot-map.cc | 5 +---- - 1 file changed, 1 insertion(+), 4 deletions(-) - -commit 68b6296d3333fd38bd5442d2ba087ced481603bc -Author: Behdad Esfahbod -Date: Tue Mar 1 16:41:53 2016 +0900 - - Add F2DOT14 type - - src/hb-open-type-private.hh | 9 +++++++++ - 1 file changed, 9 insertions(+) - -commit 082b79fe9f06607998178dcdcbe817af28b017de -Author: Behdad Esfahbod -Date: Tue Mar 1 16:41:26 2016 +0900 - - Use FWORD and UFWORD when it makes sense - - I had forgotten about those types. - - src/hb-ot-glyf-table.hh | 8 ++++---- - src/hb-ot-hmtx-table.hh | 6 +++--- - 2 files changed, 7 insertions(+), 7 deletions(-) - -commit 5f995db10381172ec63fd7ffbb0acf2c6b3dae5e -Author: Kal Conley -Date: Fri Feb 26 00:36:17 2016 +0100 - - Fix missing ICU #include - - Fix compile error in hb-icu.cc when ICU configured with - U_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 - - src/hb-icu.cc | 1 + - 1 file changed, 1 insertion(+) - -commit b424b6c372dfe4c0ed75a49761eb34a416819446 -Author: Kal Conley -Date: Fri Feb 26 00:35:15 2016 +0100 - - Add --with-icu=builtin configure option - - configure.ac | 33 +++++++++++++++++++-------------- - src/Makefile.am | 7 +++++++ - 2 files changed, 26 insertions(+), 14 deletions(-) - -commit 71248a843f976c86022eb5bb8c6e8880b2499937 -Author: Konstantin Ritt -Date: Thu Feb 25 18:55:28 2016 +0400 - - Fix build with HB_DISABLE_DEPRECATED - - When HB_DISABLE_DEPRECATED is defined, no code from hb-deprecated.h - should be used, even from within HB itself. - - src/hb-font.cc | 4 ++++ - 1 file changed, 4 insertions(+) - -commit 0c7fb7419c20d04b803412945565562c32b42929 -Author: Behdad Esfahbod -Date: Thu Feb 25 14:40:09 2016 +0900 - - Speed up buffer variable allocation sanity check - - This makes defining HB_NDEBUG much less relevant, to the - point of irrelevance. Sorry about all the fuss in previous - release! - - src/hb-buffer-private.hh | 67 ++++++++++++++++++++++++++++----------------- - src/hb-buffer.cc | 70 ------------------------------------------------ - 2 files changed, 43 insertions(+), 94 deletions(-) - -commit 91dd11565221bdb108c138662ea013aac14bb968 -Author: Behdad Esfahbod -Date: Thu Feb 25 13:56:47 2016 +0900 - - Add HB_NDEBUG - - API changes: - - If NDEBUG is defined, define HB_NDEBUG - - Disable costlier sanity checks if HB_NDEBUG is defined. - - In 1.2.3 introduced some code to disable costly sanity checks if - NDEBUG is defined. NDEBUG, however, disables all assert()s as - well. With HB_NDEBUG, one can disable costlier checks but keep - assert()s. - - I'll probably add a way to define HB_NDEBUG automatically in - release tarballs. But for now, production systems that do NOT - define NDEBUG, are encouraged to define HB_NDEBUG for our build. - - src/Makefile.am | 2 +- - src/hb-buffer-private.hh | 4 ++-- - src/hb-buffer.cc | 4 ++-- - src/hb-private.hh | 9 +++++++++ - 4 files changed, 14 insertions(+), 5 deletions(-) - -commit 75568b0a7f811ea18e23037735ec8541a7431f88 -Author: Behdad Esfahbod -Date: Thu Feb 25 12:26:26 2016 +0900 - - 1.2.3 - - NEWS | 42 ++++++++++++++++++++++++++++++++++++++++++ - configure.ac | 2 +- - 2 files changed, 43 insertions(+), 1 deletion(-) - -commit 988165021f8d48dc7120b071d056491256569f4f -Author: Behdad Esfahbod -Date: Thu Feb 25 12:23:02 2016 +0900 - - Disable internal buffer variable bookkeeping in NDEBUG builds - - Saves some sweet time and binary size! - - src/Makefile.am | 1 + - src/hb-buffer-private.hh | 30 ++++++++++++++++++++---------- - src/hb-buffer.cc | 6 ++++-- - 3 files changed, 25 insertions(+), 12 deletions(-) - -commit 94dd0bb7e78125994cb7c833a5b03110f1ffc822 -Author: Behdad Esfahbod -Date: Thu Feb 25 11:31:03 2016 +0900 - - Add blacklist signature for Times New Roman (Bold) Italic on OS X - - src/hb-ot-layout.cc | 2 ++ - 1 file changed, 2 insertions(+) - -commit dd8598c1c7f29fc92253b0cd4e856c1941b1d0c0 -Author: Behdad Esfahbod -Date: Thu Feb 25 11:20:05 2016 +0900 - - [test] Pass closure to hb_font_set_glyph_func() - - Exercises fix in c335fd7986fe360ab8e1c032c9b988d0d30511eb - - test/api/test-shape.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit e23cf902e91142a10229e3514be4ceee69efde04 -Author: Behdad Esfahbod -Date: Thu Feb 25 11:11:15 2016 +0900 - - Blacklist GDEF table of timesi.ttf and timesbi.ttf on Win 7 - - See discussion: - https://lists.freedesktop.org/archives/harfbuzz/2016-February/005489.html - - src/hb-ot-layout.cc | 25 +++++++++++++++++++++++++ - 1 file changed, 25 insertions(+) - -commit c335fd7986fe360ab8e1c032c9b988d0d30511eb -Author: Behdad Esfahbod -Date: Thu Feb 25 09:16:05 2016 +0900 - - In trampoline implementation of get_glyph(), don't destroy user data twice! - - src/hb-font.cc | 41 +++++++++++++++++++++++++++-------------- - 1 file changed, 27 insertions(+), 14 deletions(-) - -commit 23335deaad9d4d9824ff41343264514d3f9f7e37 -Author: Behdad Esfahbod -Date: Wed Feb 24 20:27:13 2016 +0900 - - [ot-font] Accelerate cmap format4 get_glyph - - src/hb-ot-cmap-table.hh | 111 ++++++++++++++++++++++++++++-------------------- - src/hb-ot-font.cc | 14 +++++- - 2 files changed, 77 insertions(+), 48 deletions(-) - -commit e0f16a715bc3e621ff21a8be88102e9672630574 -Author: Behdad Esfahbod -Date: Wed Feb 24 19:52:36 2016 +0900 - - [ot-font] Towards accelerating get_glyph() - - src/hb-ot-font.cc | 23 ++++++++++++++++++++--- - 1 file changed, 20 insertions(+), 3 deletions(-) - -commit 5473ebfb84c7b6059ac16e04676b363acc51aa00 -Author: Behdad Esfahbod -Date: Wed Feb 24 19:32:43 2016 +0900 - - [ot-font] Remove level of indirection in get_glyph_variant - - src/hb-ot-cmap-table.hh | 14 ++------------ - src/hb-ot-font.cc | 13 +++++++++---- - 2 files changed, 11 insertions(+), 16 deletions(-) - -commit 49fe6ecf19522413e79a11a29aa0ffc5bdfcd2f8 -Author: Behdad Esfahbod -Date: Wed Feb 24 19:10:06 2016 +0900 - - [TODO] Update - - This file is rather obsolete. Still, give it a refresh. - - TODO | 16 ++-------------- - 1 file changed, 2 insertions(+), 14 deletions(-) - -commit 8b5bc141cd3a6bfcea3c91a882a630426876ceb3 -Author: Behdad Esfahbod -Date: Wed Feb 24 19:05:23 2016 +0900 - - Add get_nominal_glyph() and get_variation_glyph() instead of get_glyph() - - New API: - - hb_font_get_nominal_glyph_func_t - - hb_font_get_variation_glyph_func_t - - hb_font_funcs_set_nominal_glyph_func() - - hb_font_funcs_set_variation_glyph_func() - - hb_font_get_nominal_glyph() - - hb_font_get_variation_glyph() - - Deprecated API: - - hb_font_get_glyph_func_t - - hb_font_funcs_set_glyph_func() - - Clients that implement their own font-funcs are encouraged to replace - their get_glyph() implementation with a get_nominal_glyph() and - get_variation_glyph() pair. The variation version can assume that - variation_selector argument is not zero. - - src/hb-deprecated.h | 10 ++ - src/hb-fallback-shape.cc | 4 +- - src/hb-font-private.hh | 26 +++-- - src/hb-font.cc | 203 ++++++++++++++++++++++++++++++++++--- - src/hb-font.h | 55 +++++++--- - src/hb-ft.cc | 38 ++++--- - src/hb-ot-font.cc | 57 +++++++---- - src/hb-ot-shape-complex-indic.cc | 8 +- - src/hb-ot-shape-complex-myanmar.cc | 2 +- - src/hb-ot-shape-complex-use.cc | 2 +- - src/hb-ot-shape-fallback.cc | 6 +- - src/hb-ot-shape-normalize.cc | 18 ++-- - src/hb-ot-shape.cc | 6 +- - 13 files changed, 344 insertions(+), 91 deletions(-) - -commit b30a971bf792b9c683c345e1be25c5a5869a113c -Author: Behdad Esfahbod -Date: Wed Feb 24 17:32:22 2016 +0900 - - 1.2.2 - - NEWS | 14 +++++++++++++- - configure.ac | 2 +- - 2 files changed, 14 insertions(+), 2 deletions(-) - -commit af48e3d27c01c538f46f1dc376d994a0c24a8170 -Author: Behdad Esfahbod -Date: Wed Feb 24 16:06:40 2016 +0900 - - Fix recent test - - Not sure why the FT functions were returning advance 1024. This - caused failure on drone.io. Switch to hb-ot-font and disable - glyph names. - - test/shaping/tests/cursive-positioning.tests | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 17c831701756bb46300c412fd64b19d67f299c18 -Author: Behdad Esfahbod -Date: Wed Feb 24 16:06:23 2016 +0900 - - [tests] Fix for multiple options in test runner scripts - - test/shaping/run-tests.sh | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit ebd7431f824c718db6ce5b85e94f2b3911127af4 -Author: Behdad Esfahbod -Date: Wed Feb 24 15:53:40 2016 +0900 - - Partially revert 86c68c7a2c971efe8e35b1f1bd99401dc8b688d2 - - That commit moved the advance adjustment for mark positioning to - be applied immediately, instead of doing late before. This breaks - if mark advances are zeroed late, like in Arabic. Also, easier to - hit it in RTL scripts since a single mark with non-zero advance is - enough to hit the bug, whereas in LTR, at least two marks are needed. - - This reopens https://github.com/behdad/harfbuzz/issues/211 - The cursive+mark interaction is broken again. To be fixed in a - different way. - - src/hb-ot-layout-gpos-table.hh | 28 ++++++++++++---------------- - test/shaping/tests/cursive-positioning.tests | 2 +- - 2 files changed, 13 insertions(+), 17 deletions(-) - -commit 284481b3120963353f5f34ed094f07ffc13480ef -Author: Behdad Esfahbod -Date: Wed Feb 24 15:52:37 2016 +0900 - - Add test for mark positioning in rtl with non-zero mark advance - - Apparently I broke this 86c68c7a2c971efe8e35b1f1bd99401dc8b688d2. - Fix coming. - - .../sha1sum/07f054357ff8638bac3711b422a1e31180bba863.ttf | Bin 0 -> 848 bytes - test/shaping/tests/cursive-positioning.tests | 1 + - 2 files changed, 1 insertion(+) - -commit 56a84e8dd18c63782b8db3a86e94651dae5bb01b -Author: Behdad Esfahbod -Date: Wed Feb 24 15:50:33 2016 +0900 - - [tests] Allow commenting out tests to be skipped - - test/shaping/run-tests.sh | 4 ++++ - 1 file changed, 4 insertions(+) - -commit 7cfd6cc486f2751d7f78c5008a636d677af4e12f -Author: Behdad Esfahbod -Date: Wed Feb 24 12:30:57 2016 +0900 - - [Android.mk] Update with warning flags - - Android.mk | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit dabf32a5ad706726412ba5c64e1ea614a707b928 -Author: Behdad Esfahbod -Date: Tue Feb 23 15:38:43 2016 +0900 - - 1.2.1 - - NEWS | 13 +++++++++++++ - configure.ac | 2 +- - 2 files changed, 14 insertions(+), 1 deletion(-) - -commit 525cc7d28cbe4e8149ddba677224f134dc0a3274 -Author: Behdad Esfahbod -Date: Tue Feb 23 15:19:27 2016 +0900 - - Add note re only adding tests with Free Software fonts - - test/shaping/README.md | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -commit 6a09d7e34b949f9929f616ee53278b2edfd9b7ea -Author: Behdad Esfahbod -Date: Tue Feb 23 13:47:16 2016 +0900 - - [test] Add README about how to add shaping tests - - test/shaping/Makefile.am | 1 + - test/shaping/README.md | 37 +++++++++++++++++++++++++++++++++++++ - 2 files changed, 38 insertions(+) - -commit f8ee7906d0454d950081c621f2b04a6d08e1b92f -Author: Behdad Esfahbod -Date: Tue Feb 23 13:45:38 2016 +0900 - - Remove MANIFEST files - - They are unused currently. We can add later if we hook them up - to anything useful. - - test/shaping/fonts/sha1sum/MANIFEST | 52 ---------------------- - test/shaping/tests/MANIFEST | 19 -------- - test/shaping/texts/MANIFEST | 1 - - test/shaping/texts/in-tree/MANIFEST | 9 ---- - test/shaping/texts/in-tree/shaper-arabic/MANIFEST | 6 --- - .../in-tree/shaper-arabic/script-arabic/MANIFEST | 3 -- - .../script-arabic/language-persian/MANIFEST | 1 - - .../script-arabic/language-urdu/MANIFEST | 1 - - .../script-arabic/language-urdu/crulp/MANIFEST | 1 - - .../language-urdu/crulp/ligatures/MANIFEST | 7 --- - .../shaper-arabic/script-arabic/misc/MANIFEST | 1 - - .../script-arabic/misc/diacritics/MANIFEST | 7 --- - .../in-tree/shaper-arabic/script-mandaic/MANIFEST | 1 - - .../shaper-arabic/script-mandaic/misc/MANIFEST | 0 - .../shaper-arabic/script-mongolian/MANIFEST | 1 - - .../shaper-arabic/script-mongolian/misc/MANIFEST | 4 -- - .../in-tree/shaper-arabic/script-nko/MANIFEST | 1 - - .../in-tree/shaper-arabic/script-nko/misc/MANIFEST | 1 - - .../in-tree/shaper-arabic/script-phags-pa/MANIFEST | 1 - - .../shaper-arabic/script-phags-pa/misc/MANIFEST | 1 - - .../in-tree/shaper-arabic/script-syriac/MANIFEST | 1 - - .../shaper-arabic/script-syriac/misc/MANIFEST | 2 - - test/shaping/texts/in-tree/shaper-default/MANIFEST | 5 --- - .../shaper-default/script-ethiopic/MANIFEST | 1 - - .../shaper-default/script-ethiopic/misc/MANIFEST | 1 - - .../in-tree/shaper-default/script-han/MANIFEST | 1 - - .../shaper-default/script-han/misc/MANIFEST | 1 - - .../shaper-default/script-hiragana/MANIFEST | 1 - - .../shaper-default/script-hiragana/misc/MANIFEST | 2 - - .../shaper-default/script-linear-b/MANIFEST | 1 - - .../shaper-default/script-linear-b/misc/MANIFEST | 1 - - .../shaper-default/script-tifinagh/MANIFEST | 1 - - .../shaper-default/script-tifinagh/misc/MANIFEST | 1 - - test/shaping/texts/in-tree/shaper-hangul/MANIFEST | 1 - - .../in-tree/shaper-hangul/script-hangul/MANIFEST | 1 - - .../shaper-hangul/script-hangul/misc/MANIFEST | 1 - - test/shaping/texts/in-tree/shaper-hebrew/MANIFEST | 1 - - .../in-tree/shaper-hebrew/script-hebrew/MANIFEST | 1 - - .../shaper-hebrew/script-hebrew/misc/MANIFEST | 1 - - test/shaping/texts/in-tree/shaper-indic/MANIFEST | 2 - - .../texts/in-tree/shaper-indic/indic/MANIFEST | 11 ----- - .../shaper-indic/indic/script-assamese/MANIFEST | 2 - - .../indic/script-assamese/misc/MANIFEST | 0 - .../indic/script-assamese/utrrs/MANIFEST | 3 -- - .../indic/script-assamese/utrrs/codepoint/MANIFEST | 7 --- - .../indic/script-assamese/utrrs/gpos/MANIFEST | 2 - - .../indic/script-assamese/utrrs/gsub/MANIFEST | 1 - - .../shaper-indic/indic/script-bengali/MANIFEST | 2 - - .../indic/script-bengali/misc/MANIFEST | 2 - - .../indic/script-bengali/utrrs/MANIFEST | 3 -- - .../indic/script-bengali/utrrs/codepoint/MANIFEST | 7 --- - .../indic/script-bengali/utrrs/gpos/MANIFEST | 2 - - .../indic/script-bengali/utrrs/gsub/MANIFEST | 1 - - .../shaper-indic/indic/script-devanagari/MANIFEST | 2 - - .../indic/script-devanagari/misc/MANIFEST | 6 --- - .../indic/script-devanagari/utrrs/MANIFEST | 3 -- - .../script-devanagari/utrrs/codepoint/MANIFEST | 9 ---- - .../indic/script-devanagari/utrrs/gpos/MANIFEST | 2 - - .../indic/script-devanagari/utrrs/gsub/MANIFEST | 1 - - .../shaper-indic/indic/script-gujarati/MANIFEST | 2 - - .../indic/script-gujarati/misc/MANIFEST | 0 - .../indic/script-gujarati/utrrs/MANIFEST | 3 -- - .../indic/script-gujarati/utrrs/codepoint/MANIFEST | 7 --- - .../indic/script-gujarati/utrrs/gpos/MANIFEST | 2 - - .../indic/script-gujarati/utrrs/gsub/MANIFEST | 1 - - .../shaper-indic/indic/script-gurmukhi/MANIFEST | 2 - - .../indic/script-gurmukhi/misc/MANIFEST | 1 - - .../indic/script-gurmukhi/utrrs/MANIFEST | 3 -- - .../indic/script-gurmukhi/utrrs/codepoint/MANIFEST | 7 --- - .../indic/script-gurmukhi/utrrs/gpos/MANIFEST | 2 - - .../indic/script-gurmukhi/utrrs/gsub/MANIFEST | 1 - - .../shaper-indic/indic/script-kannada/MANIFEST | 2 - - .../indic/script-kannada/misc/MANIFEST | 2 - - .../indic/script-kannada/utrrs/MANIFEST | 3 -- - .../indic/script-kannada/utrrs/codepoint/MANIFEST | 8 ---- - .../indic/script-kannada/utrrs/gpos/MANIFEST | 1 - - .../indic/script-kannada/utrrs/gsub/MANIFEST | 1 - - .../shaper-indic/indic/script-malayalam/MANIFEST | 2 - - .../indic/script-malayalam/misc/MANIFEST | 3 -- - .../indic/script-malayalam/utrrs/MANIFEST | 2 - - .../script-malayalam/utrrs/codepoint/MANIFEST | 7 --- - .../indic/script-malayalam/utrrs/gsub/MANIFEST | 1 - - .../shaper-indic/indic/script-oriya/MANIFEST | 2 - - .../shaper-indic/indic/script-oriya/misc/MANIFEST | 2 - - .../shaper-indic/indic/script-oriya/utrrs/MANIFEST | 2 - - .../indic/script-oriya/utrrs/codepoint/MANIFEST | 9 ---- - .../indic/script-oriya/utrrs/gsub/MANIFEST | 1 - - .../shaper-indic/indic/script-sinhala/MANIFEST | 2 - - .../indic/script-sinhala/misc/MANIFEST | 4 -- - .../indic/script-sinhala/utrrs/MANIFEST | 3 -- - .../indic/script-sinhala/utrrs/codepoint/MANIFEST | 5 --- - .../indic/script-sinhala/utrrs/gpos/MANIFEST | 1 - - .../indic/script-sinhala/utrrs/gsub/MANIFEST | 7 --- - .../shaper-indic/indic/script-tamil/MANIFEST | 2 - - .../shaper-indic/indic/script-tamil/misc/MANIFEST | 1 - - .../shaper-indic/indic/script-tamil/utrrs/MANIFEST | 3 -- - .../indic/script-tamil/utrrs/codepoint/MANIFEST | 10 ----- - .../indic/script-tamil/utrrs/gpos/MANIFEST | 2 - - .../indic/script-tamil/utrrs/gsub/MANIFEST | 1 - - .../shaper-indic/indic/script-telugu/MANIFEST | 2 - - .../shaper-indic/indic/script-telugu/misc/MANIFEST | 1 - - .../indic/script-telugu/utrrs/MANIFEST | 3 -- - .../indic/script-telugu/utrrs/codepoint/MANIFEST | 7 --- - .../indic/script-telugu/utrrs/gpos/MANIFEST | 1 - - .../indic/script-telugu/utrrs/gsub/MANIFEST | 1 - - .../in-tree/shaper-indic/south-east-asian/MANIFEST | 1 - - .../south-east-asian/script-khmer/MANIFEST | 1 - - .../south-east-asian/script-khmer/misc/MANIFEST | 3 -- - test/shaping/texts/in-tree/shaper-myanmar/MANIFEST | 1 - - .../in-tree/shaper-myanmar/script-myanmar/MANIFEST | 1 - - .../shaper-myanmar/script-myanmar/misc/MANIFEST | 3 -- - test/shaping/texts/in-tree/shaper-thai/MANIFEST | 2 - - .../texts/in-tree/shaper-thai/script-lao/MANIFEST | 1 - - .../in-tree/shaper-thai/script-lao/misc/MANIFEST | 1 - - .../texts/in-tree/shaper-thai/script-thai/MANIFEST | 1 - - .../in-tree/shaper-thai/script-thai/misc/MANIFEST | 4 -- - test/shaping/texts/in-tree/shaper-tibetan/MANIFEST | 1 - - .../in-tree/shaper-tibetan/script-tibetan/MANIFEST | 1 - - .../shaper-tibetan/script-tibetan/misc/MANIFEST | 1 - - test/shaping/texts/in-tree/shaper-use/MANIFEST | 6 --- - .../texts/in-tree/shaper-use/script-batak/MANIFEST | 1 - - .../in-tree/shaper-use/script-buginese/MANIFEST | 1 - - .../texts/in-tree/shaper-use/script-cham/MANIFEST | 1 - - .../in-tree/shaper-use/script-kaithi/MANIFEST | 1 - - .../in-tree/shaper-use/script-kharoshti/MANIFEST | 1 - - .../in-tree/shaper-use/script-tai-tham/MANIFEST | 2 - - 126 files changed, 381 deletions(-) - -commit 815bdd7700155efcffa9a4c3ca5bfc31833d0586 -Author: Behdad Esfahbod -Date: Mon Feb 22 18:22:44 2016 +0900 - - In cluster-level=0, group ZWJ/ZWNJ with previous cluster - - This better emulates Unicode grapheme clusters. - - Note that Uniscribe does NOT do this, but should be harmless with most clients, - and improve fallback with clients that use HarfBuzz cluster as unit of fallback. - - Fixes https://github.com/behdad/harfbuzz/issues/217 - - src/hb-ot-layout-private.hh | 6 ++++++ - src/hb-ot-shape.cc | 3 ++- - test/shaping/tests/indic-joiner-candrabindu.tests | 2 +- - test/shaping/tests/mongolian-variation-selector.tests | 2 +- - 4 files changed, 10 insertions(+), 3 deletions(-) - -commit 89137e325a19d62fb00979e1e8ab2ca59a2c1147 -Author: Behdad Esfahbod -Date: Mon Feb 22 16:00:59 2016 +0900 - - Minor - - src/hb-coretext.cc | 2 +- - src/hb-ot-shape.cc | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit 15063b12f7619d4f44981248e28f38c172d12e1f -Author: Behdad Esfahbod -Date: Mon Feb 22 15:56:29 2016 +0900 - - [coretext] Move CTFont construction to face_data - - src/hb-coretext.cc | 66 +++++++++++++++++++++++++----------------------------- - 1 file changed, 30 insertions(+), 36 deletions(-) - -commit ba3d49d9a56932d341bf1916a30f322be665e3a6 -Author: Behdad Esfahbod -Date: Mon Feb 22 15:50:12 2016 +0900 - - [coretext] Move code around - - src/hb-coretext.cc | 70 +++++++++++++++++++++++++++++++----------------------- - 1 file changed, 40 insertions(+), 30 deletions(-) - -commit 90194efb8480d58c55b7a19962624c7aadbdca63 -Author: Behdad Esfahbod -Date: Mon Feb 22 15:42:53 2016 +0900 - - [coretext] Move code around - - src/hb-coretext.cc | 46 ++++++++++++++++++++++++++-------------------- - 1 file changed, 26 insertions(+), 20 deletions(-) - -commit ca539e37a4b71e585a267a288db1a3975cbb99fc -Author: Behdad Esfahbod -Date: Mon Feb 22 15:37:18 2016 +0900 - - [build] git.mk fix for m4/gtk-doc.m4 - - Makefile.am | 1 + - 1 file changed, 1 insertion(+) - -commit 54788cb1ecc5a5ffd63d07cd1f0b07b2afa9a8ca -Author: Behdad Esfahbod -Date: Mon Feb 22 15:32:52 2016 +0900 - - [win32] Install git.mk - - win32/Makefile.am | 2 ++ - 1 file changed, 2 insertions(+) - -commit 9a13ed453ef96822a47d6e6f58332b87f38d5c59 -Author: Behdad Esfahbod -Date: Mon Feb 22 11:44:45 2016 +0900 - - Make FixedVersion a template - - src/hb-open-file-private.hh | 4 ++-- - src/hb-open-type-private.hh | 9 +++++---- - src/hb-ot-head-table.hh | 4 ++-- - src/hb-ot-hhea-table.hh | 2 +- - src/hb-ot-layout-gdef-table.hh | 2 +- - src/hb-ot-layout-gsubgpos-private.hh | 2 +- - src/hb-ot-layout-jstf-table.hh | 2 +- - src/hb-ot-maxp-table.hh | 2 +- - 8 files changed, 14 insertions(+), 13 deletions(-) - -commit 238b943e850ea1ab0093e12c74d2cd7c686f318e -Author: Behdad Esfahbod -Date: Mon Feb 22 15:31:22 2016 +0900 - - [coretext] Fix leak! - - src/hb-coretext.cc | 1 + - 1 file changed, 1 insertion(+) - -commit e561122856a50ed405d71cb1629317e7ae63f316 -Author: Behdad Esfahbod -Date: Mon Feb 22 15:28:37 2016 +0900 - - [coretext] Move code around - - src/hb-coretext.cc | 109 ++++++++++++++++++++++++++++++----------------------- - 1 file changed, 62 insertions(+), 47 deletions(-) - -commit 04c64431530a4a6d9ebd33674c4665a8e6d25bdd -Author: Behdad Esfahbod -Date: Mon Feb 22 15:12:27 2016 +0900 - - [coretext] Ignore PPEM in font size selection - - src/hb-coretext.cc | 14 ++++---------- - 1 file changed, 4 insertions(+), 10 deletions(-) - -commit 62c2711121fe78f373c15c0f53090b62b52d11c1 -Author: Behdad Esfahbod -Date: Mon Feb 22 15:07:20 2016 +0900 - - [coretext] Limit grapheme-cluster forming to cluster-level=0 - - src/hb-coretext.cc | 1 + - src/hb-ot-shape.cc | 2 +- - 2 files changed, 2 insertions(+), 1 deletion(-) - -commit 061105ec443eb7350ffe217305f9d8902c179e2f -Author: Behdad Esfahbod -Date: Mon Feb 22 14:59:39 2016 +0900 - - [coretext] Fix shaping with varying font size - - Fixes https://github.com/libass/libass/issues/212 - - src/hb-coretext.cc | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 27847cab1264b4ce8342603f4626b4e0645979e4 -Author: Behdad Esfahbod -Date: Fri Feb 19 15:56:50 2016 +0700 - - 1.2.0 - - NEWS | 20 ++++++++++++++++++++ - configure.ac | 2 +- - 2 files changed, 21 insertions(+), 1 deletion(-) - -commit c3731559042e1730e85d19574321ad850010f7de -Author: Behdad Esfahbod -Date: Fri Feb 19 15:13:07 2016 +0700 - - [fuzzing] Add test for recent fix - - Test from https://github.com/behdad/harfbuzz/issues/223 - - I forgot that we do run hb-fuzzer on tests in shaping/tests/fuzzed.tests. - - .../sha1sum/205edd09bd3d141cc9580f650109556cc28b22cb.ttf | Bin 0 -> 1966 bytes - test/shaping/fonts/sha1sum/MANIFEST | 1 + - test/shaping/tests/fuzzed.tests | 1 + - 3 files changed, 2 insertions(+) - -commit aa33cb72ab29c31e87f0cca9a0e72fe3a68247b7 -Author: Behdad Esfahbod -Date: Fri Feb 19 15:12:24 2016 +0700 - - [fuzzing] Make test runner actually work - - test/fuzzing/Makefile.am | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -commit 2735555c6b0c95db7dfc2b391f92a1a5c06084c4 -Author: Behdad Esfahbod -Date: Fri Feb 19 15:12:16 2016 +0700 - - [fuzzing] Add TODO item - - test/fuzzing/hb-fuzzer.cc | 1 + - 1 file changed, 1 insertion(+) - -commit b87e36f6f119fac80b8fd55f3abae563c2c5b798 -Author: Behdad Esfahbod -Date: Fri Feb 19 14:52:31 2016 +0700 - - Avoid buffer->move_to() in case of buffer error - - Fixes https://github.com/behdad/harfbuzz/issues/223 - - Right now we cannot test this because it has to be tested using hb-fuzzer. - We should move all fuzzing tests from test/shaping/tests/fuzzed.tests to - test/fuzzing/ and have its own test runner. At that point, should add - test from this issue as well. - - src/hb-buffer.cc | 2 ++ - src/hb-ot-layout-gsubgpos-private.hh | 2 +- - 2 files changed, 3 insertions(+), 1 deletion(-) - -commit 7e76bbabbaa56af314abff8ddba8866c634919cd -Author: Behdad Esfahbod -Date: Fri Feb 19 14:43:39 2016 +0700 - - [fuzzing] Make "make hb-fuzzer" build lib dependency - - Not going to do with util/, but is convenient here. - - test/fuzzing/Makefile.am | 3 +++ - 1 file changed, 3 insertions(+) - -commit 568a0c60e8695a6ad8a93ec60d55b137c48890cb -Author: Behdad Esfahbod -Date: Thu Feb 18 19:31:51 2016 +0700 - - Remove pointless overflow check in pointer math - - Fixes https://github.com/behdad/harfbuzz/issues/227 - - src/hb-blob.cc | 1 - - 1 file changed, 1 deletion(-) - -commit aae2847099cbf05bf0668fbe526fc58736837c1b -Author: Behdad Esfahbod -Date: Thu Feb 18 17:06:25 2016 +0700 - - Emoji skin tone modifiers need to be treated as combining marks - - Fixes https://github.com/behdad/harfbuzz/issues/169 - - src/hb-ot-layout-private.hh | 15 ++++++++++++++- - src/hb-unicode-private.hh | 5 +++-- - 2 files changed, 17 insertions(+), 3 deletions(-) - -commit da41e48f0a1a6af6d44ef25185d2421a29bd4166 -Author: Behdad Esfahbod -Date: Tue Feb 16 17:16:33 2016 +0700 - - [USE] Zero mark advances by GDEF early - - This is what Microsoft's implementation does. Marks that need advance - need to add it back using 'dist' or other feature in GPOS. Update tests to - match. - - src/hb-ot-shape-complex-use.cc | 2 +- - test/shaping/fonts/sha1sum/MANIFEST | 1 + - .../sha1sum/f518eb6f6b5eec2946c9fbbbde44e45d46f5e2ac.ttf | Bin 0 -> 1356 bytes - test/shaping/tests/context-matching.tests | 2 +- - test/shaping/tests/use.tests | 2 ++ - 5 files changed, 5 insertions(+), 2 deletions(-) - -commit 86c68c7a2c971efe8e35b1f1bd99401dc8b688d2 -Author: Behdad Esfahbod -Date: Tue Feb 16 16:07:20 2016 +0700 - - [GPOS] Fix interaction of mark attachments and cursive chaining - - Fixes https://github.com/behdad/harfbuzz/issues/211 - - What happens in that bug is that a mark is attached to base first, - then a second mark is cursive-chained to the first mark. This only - "works" because it's in the Indic shaper where mark advances are - not zeroed. - - Before, we didn't allow cursive to run on marks at all. Fix that. - We also where updating mark major offsets at the end of GPOS, such - that changes in advance of base will not change the mark attachment - position. That was superior to the alternative (which is what Uniscribe - does BTW), but made it hard to apply cursive to the mark after it - was positioned. We could track major-direction offset changes and - apply that to cursive in the post process, but that's a much trickier - thing to do than the fix here, which is to immediately apply the - major-direction advance-width offsets... Ie.: - - https://github.com/behdad/harfbuzz/issues/211#issuecomment-183194739 - - If this breaks any fonts, the font should be fixed to do mark attachment - after all the advances are set up first (kerning, etc). - - Finally, this, still doesn't make us match Uniscribe, for I explained - in that bug. Looks like Uniscribe applies minor-direction cursive - adjustment immediate as well. We don't, and we like it our way, at - least for now. Eg. the sequence in the test case does this: - - - The first subscript attaches with mark-to-base, moving in x only, - - The second subscript attaches with cursive attachment to first subscript - moving in x only, - - A final context rule moves the first subscript up by 104 units. - - The way we do, the final shift-up, also shifts up the second subscript - mark because it's cursively-attached. Uniscribe doesn't. We get: - - [ttaorya=0+1307|casubscriptorya=0@-242,104+-231|casubscriptnarroworya=0@20,104+507] - - while Uniscribe gets: - - [ttaorya=0+1307|casubscriptorya=0@-242,104+-211|casubscriptnarroworya=0+487] - - note the different y-offset of the last glyph. In our view, after cursive, - things move together, period. - - src/hb-ot-layout-gpos-table.hh | 31 +++++++++++---------- - .../706c5d7b625f207bc0d874c67237aad6f1e9cd6f.ttf | Bin 0 -> 3868 bytes - test/shaping/fonts/sha1sum/MANIFEST | 1 + - test/shaping/tests/cursive-positioning.tests | 1 + - 4 files changed, 18 insertions(+), 15 deletions(-) - -commit 80c8855cfeffa028d74a25df884d0e5577c95c6c -Author: Behdad Esfahbod -Date: Fri Feb 12 12:50:17 2016 +0700 - - Minor - - src/hb-common.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 6ab920224c32e38072a0bec5e84d4b0d58b74167 -Author: Behdad Esfahbod -Date: Thu Feb 11 16:57:52 2016 +0700 - - [GPOS] Minor - - No effect. - - src/hb-ot-layout-gpos-table.hh | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit cbc3a76c5a38ab24f72e80357377711bd3f54d56 -Author: Behdad Esfahbod -Date: Thu Feb 11 16:48:13 2016 +0700 - - [GPOS] Merge fixing of offsets for cursive and mark attachments - - Part of fixing https://github.com/behdad/harfbuzz/issues/211 - - src/hb-buffer-private.hh | 3 +- - src/hb-ot-layout-gpos-table.hh | 73 ++++++++++++++++++------------------------ - 2 files changed, 33 insertions(+), 43 deletions(-) - -commit 7d8d58ac81fe267e29ea68cdc6f4a4fa8c22d40f -Author: Behdad Esfahbod -Date: Thu Feb 11 16:34:28 2016 +0700 - - [GPOS] Divide position_finish() into two phases, for advances and offsets - - Right now the position_finish_advances() is empty. To be used for - spacing attachments proposal later. - - src/hb-ot-layout-gpos-table.hh | 11 +++++++++-- - src/hb-ot-layout-gsub-table.hh | 6 ------ - src/hb-ot-layout-private.hh | 19 +++++++++---------- - src/hb-ot-layout.cc | 16 ++++++++-------- - src/hb-ot-shape.cc | 7 +++---- - 5 files changed, 29 insertions(+), 30 deletions(-) - -commit 8474231567a08873cc5e0aa08fea60316a04c27e -Author: Behdad Esfahbod -Date: Thu Feb 11 16:27:41 2016 +0700 - - [ot] Minor shuffling code around - - src/hb-ot-layout-gpos-table.hh | 2 -- - src/hb-ot-shape.cc | 13 ++++++++----- - 2 files changed, 8 insertions(+), 7 deletions(-) - -commit b0b11614e9fb9ecd1faae28b0ed71ac6bf5c1266 -Author: Behdad Esfahbod -Date: Thu Feb 11 15:28:55 2016 +0700 - - [GPOS] Add harmless recursion in fix_mark_attachment() - - Will do nothing. Just useful for merging two functions. - - src/hb-ot-layout-gpos-table.hh | 2 ++ - 1 file changed, 2 insertions(+) - -commit 686567baab5a32ffea843538643e01de2885fa4f -Author: Behdad Esfahbod -Date: Thu Feb 11 15:25:28 2016 +0700 - - [GPOS] Merge attach_chain() and cursive_chain() - - Differentiate, using new attach_type(). - - src/hb-ot-layout-gpos-table.hh | 50 +++++++++++++++++++++++++++--------------- - 1 file changed, 32 insertions(+), 18 deletions(-) - -commit 806ad8dc65931ab7893bff7d5592a67a9bd237ca -Author: Behdad Esfahbod -Date: Thu Feb 11 14:53:11 2016 +0700 - - [GPOS] Minor shuffling - - src/hb-ot-layout-gpos-table.hh | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -commit 0f6278d1fbb75856132f1fa2d29648979f033316 -Author: Behdad Esfahbod -Date: Thu Feb 11 14:49:10 2016 +0700 - - [GPOS] Negate sign of attach_lookback(), and rename it to attach_chain() - - No behavior change. Preparing to unify how cursive and mark attachments - work. - - src/hb-ot-layout-gpos-table.hh | 17 +++++++++-------- - 1 file changed, 9 insertions(+), 8 deletions(-) - -commit 5b5dc2c0406d8180e72d97a54334c722fda325b1 -Author: Behdad Esfahbod -Date: Thu Feb 11 12:15:38 2016 +0700 - - [tests] Add test for advance zeroing of an ASCII letter marked as mark in GDEF - - test/shaping/fonts/sha1sum/MANIFEST | 1 + - .../sha1sum/a98e908e2ed21b22228ea59ebcc0f05034c86f2e.ttf | Bin 0 -> 1016 bytes - test/shaping/tests/zero-width-marks.tests | 1 + - 3 files changed, 2 insertions(+) - -commit 660c9d3fc21172e8dc340b017122c084dac6334c -Author: Behdad Esfahbod -Date: Thu Feb 11 12:14:27 2016 +0700 - - Remove font-dependent ASCII-only perf hack - - Is confusing. I already hit it myself. Remove. We can optimize - ASCII based on Unicode properties. But should not do based on - assumptions on the font. - - src/hb-ot-shape.cc | 4 ---- - 1 file changed, 4 deletions(-) - -commit 3fe0cf10401875f1e9b8b5fbaf59826e64ea61d2 -Author: Behdad Esfahbod -Date: Wed Feb 10 18:43:43 2016 +0700 - - Fix previous commit! - - test/shaping/fonts/sha1sum/MANIFEST | 6 +++--- - test/shaping/tests/zero-width-marks.tests | 6 +++--- - 2 files changed, 6 insertions(+), 6 deletions(-) - -commit 293a210eee0a53b59f4b33298f42ec6e59d785e0 -Author: Behdad Esfahbod -Date: Wed Feb 10 18:39:59 2016 +0700 - - [tests] Fix fonts in cc4a78bf22c4a735b84c89b04be3bb531f42135e - - They had an invalid LookupFlag (32). - - .../sha1sum/0dd3a51c3ea50997cb1f72515d1060408f8b4b59.ttf | Bin 1412 -> 0 bytes - .../sha1sum/56cfd0e18d07f41c38e9598545a6d369127fc6f9.ttf | Bin 0 -> 1412 bytes - .../sha1sum/828114d00931885bc25abf7cdb878b2914a2e743.ttf | Bin 1448 -> 0 bytes - .../sha1sum/894e96a367f00c196d82e6243673a1d4414f4f6a.ttf | Bin 1448 -> 0 bytes - .../sha1sum/cc5f3d2d717fb6bd4dfae1c16d48a2cb8e12233b.ttf | Bin 0 -> 1448 bytes - .../sha1sum/ffa0f5d2d9025486d8469d8b1fdd983e7632499b.ttf | Bin 0 -> 1448 bytes - 6 files changed, 0 insertions(+), 0 deletions(-) - -commit eaadcbbc53e02838c847e53ef214a55d6915d677 -Author: Behdad Esfahbod -Date: Wed Feb 10 18:29:54 2016 +0700 - - Remove now-unused mark zeroing BY_UNICODE - - src/hb-ot-shape-complex-private.hh | 2 -- - src/hb-ot-shape.cc | 29 ----------------------------- - 2 files changed, 31 deletions(-) - -commit cc4a78bf22c4a735b84c89b04be3bb531f42135e -Author: Behdad Esfahbod -Date: Wed Feb 10 18:24:08 2016 +0700 - - [tests] Add tests for Latin mark zeroing - - .../sha1sum/0dd3a51c3ea50997cb1f72515d1060408f8b4b59.ttf | Bin 0 -> 1412 bytes - .../sha1sum/828114d00931885bc25abf7cdb878b2914a2e743.ttf | Bin 0 -> 1448 bytes - .../sha1sum/894e96a367f00c196d82e6243673a1d4414f4f6a.ttf | Bin 0 -> 1448 bytes - test/shaping/fonts/sha1sum/MANIFEST | 4 ++++ - .../sha1sum/fcdcffbdf1c4c97c05308d7600e4c283eb47dbca.ttf | Bin 0 -> 1344 bytes - test/shaping/tests/zero-width-marks.tests | 4 ++++ - 6 files changed, 8 insertions(+) - -commit 55ff34b9c157a839d026465af8f30424ce7f891b -Author: Behdad Esfahbod -Date: Wed Feb 10 18:20:02 2016 +0700 - - [tests] Add tests for Thai mark zeroing - - .../sha1sum/45855bc8d46332b39c4ab9e2ee1a26b1f896da6b.ttf | Bin 0 -> 1088 bytes - .../sha1sum/7a37dc4d5bf018456aea291cee06daf004c0221c.ttf | Bin 0 -> 1080 bytes - .../sha1sum/8099955657a54e9ee38a6ba1d6f950ce58e3cc25.ttf | Bin 0 -> 1024 bytes - test/shaping/fonts/sha1sum/MANIFEST | 4 ++++ - .../sha1sum/bb0c53752e85c3d28973ebc913287b8987d3dfe8.ttf | Bin 0 -> 976 bytes - test/shaping/tests/zero-width-marks.tests | 4 ++++ - 6 files changed, 8 insertions(+) - -commit b3582a8ee82942a931130a83b2867b239f8ca71a -Author: Behdad Esfahbod -Date: Wed Feb 10 18:10:15 2016 +0700 - - Change default mark advance zeroing behavior from Unicode to GDEF - - See thread at: - https://lists.freedesktop.org/archives/harfbuzz/2016-February/005462.html - - src/hb-ot-shape-complex-default.cc | 2 +- - src/hb-ot-shape-complex-thai.cc | 2 +- - src/hb-ot-shape-complex-tibetan.cc | 2 +- - 3 files changed, 3 insertions(+), 3 deletions(-) - -commit 43bb2b8fb00705c3334730a58ade7984181018b2 -Author: Behdad Esfahbod -Date: Wed Feb 10 14:11:43 2016 +0700 - - Minor - - test/shaping/hb_test_tools.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit bdaa784bb610ec65626d63cc068a0958ff5005fc -Merge: a168db473 f6ffba634 -Author: Behdad Esfahbod -Date: Wed Feb 10 11:11:36 2016 +0700 - - Merge pull request #164 from fanc999/msvc.build - - Enable Build of HarfBuzz under Visual Studio using NMake Makefiles - -commit a168db4739148459bc33c7dae88e73efa0153d72 -Author: Behdad Esfahbod -Date: Wed Feb 10 11:10:08 2016 +0700 - - [README] Add ABI Tracker link - - README | 1 + - 1 file changed, 1 insertion(+) - -commit f6ffba634bb33d6d4b051abce9c23fcae280c3fe -Author: Chun-wei Fan -Date: Wed Dec 9 14:57:15 2015 +0800 - - MSVC builds: Add support to build DirectWrite shaping backend - - Add into the NMake Makefiles to build the DirectWrite shaping backend, - but as PR #134 mentions, this is considered to be in an experimental state, - so don't include this in the build by default for now. This is most probably - going to replace the Uniscribe backend eventually, since DirectWrite is meant - to be Uniscribe's replacement, and is needed for Windows Store apps if a - system shaping API is to be used. - - win32/README.txt | 4 ++++ - win32/config-msvc.mak | 10 ++++++++++ - win32/config.h.win32.in | 3 +++ - win32/info-msvc.mak | 7 +++++++ - 4 files changed, 24 insertions(+) - -commit c6792854557ca104948e8f0b142c9384105b0d05 -Author: Chun-wei Fan -Date: Wed Feb 3 18:31:23 2016 +0800 - - build: Build the DirectWrite sources if requested - - This adds to the autotools build system so that the (experimental) - DirectWrite support for HarfBuzz is built (and dist'ed). - - configure.ac | 25 +++++++++++++++++++++++++ - src/Makefile.am | 7 +++++++ - src/Makefile.sources | 3 +++ - 3 files changed, 35 insertions(+) - -commit d7b6636e5ebf1ddf7d7a04007ffbc411cf7e462e -Author: Chun-wei Fan -Date: Tue Nov 3 19:00:42 2015 +0800 - - build: Support Visual Studio builds using NMake - - This adds a set of NMake Makefiles that can be used to build HarfBuzz, from - the standard basic build building the minimal HarfBuzz DLL (consisting - of OpenType, fallback and Uniscribe support only), to a full fledged build - consisting of GLib and FreeType support, as well as building the utilities, - the test programs in src/ and test/api, and HarfBuzz-ICU and - HarfBuzz-GObject, and up to building the introspection files. This means a - flexible build mechanism is supported here, so anything that is supported - for a Windows build (code-wise), should all be supported by this build - system. - - As in an earlier commit, the source listings are shared with the autotools - builds with the various Makefile.sources in src/, src/hb-ucdn and util/, and - this set of NMake Makefiles will transform these lists into the form they - want. - - In the current form, all the test programs in test/api pass, and this has - been checked successfully with 'make -j8 distcheck'. - - BUILD.md | 4 +- - Makefile.am | 2 +- - configure.ac | 2 + - win32/Makefile.am | 14 +++ - win32/Makefile.vc | 52 +++++++++++ - win32/README.txt | 75 ++++++++++++++++ - win32/build-rules-msvc.mak | 140 ++++++++++++++++++++++++++++++ - win32/config-msvc.mak | 188 ++++++++++++++++++++++++++++++++++++++++ - win32/create-lists-msvc.mak | 151 ++++++++++++++++++++++++++++++++ - win32/create-lists.bat | 42 +++++++++ - win32/detectenv-msvc.mak | 136 +++++++++++++++++++++++++++++ - win32/generate-msvc.mak | 26 ++++++ - win32/hb-introspection-msvc.mak | 42 +++++++++ - win32/info-msvc.mak | 130 +++++++++++++++++++++++++++ - win32/install.mak | 29 +++++++ - win32/introspection-msvc.mak | 73 ++++++++++++++++ - 16 files changed, 1104 insertions(+), 2 deletions(-) - -commit 5c3e7260bcb4999b8b7cb9afb26e6eaff867634b -Author: Chun-wei Fan -Date: Tue Nov 3 18:52:46 2015 +0800 - - MSVC builds: Add a pre-configured config.h(.win32) template - - This adds a pre-configured config.h template that can be used for Visual - Studio builds, where autotools is not normally available. This has the - configs that are suitable for Visual Studio builds, as well as all the - features used for Windows builds enabled (HAVE_OT, HAVE_FALLBACK and - HAVE_UNISCRIBE). - - Note that the optional features are not enabled here, they are enabled by - /D's (or -D's) in the NMake Makefiles as requested. - - win32/config.h.win32.in | 155 ++++++++++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 155 insertions(+) - -commit 35ded3af74a5bc4b038a07308354d5f7501ae3c7 -Author: Chun-wei Fan -Date: Tue Nov 3 16:56:27 2015 +0800 - - build: Move source listings into separate Makefile snippets - - This moves all the source listings in src/Makefile.am, - src/hb-ucdn/Makefile.am and util/Makefile.am into separate Makefile - snippets, so that they may be shared between different Makefile-based - build systems, such as NMake for Visual Studio. - - src/Makefile.am | 165 +++++++++---------------------------------- - src/Makefile.sources | 147 ++++++++++++++++++++++++++++++++++++++ - src/hb-ucdn/Makefile.am | 6 +- - src/hb-ucdn/Makefile.sources | 4 ++ - util/Makefile.am | 34 ++------- - util/Makefile.sources | 32 +++++++++ - 6 files changed, 223 insertions(+), 165 deletions(-) - -commit b894a85ad1e7c3ecfb6d3732a7c9779f5462fe70 -Author: Behdad Esfahbod -Date: Tue Feb 2 16:39:19 2016 +0800 - - Fix more hangs in case of buffer allocation errors - - Hopefully - fixes https://github.com/behdad/harfbuzz/issues/214 - - src/hb-ot-shape-complex-indic.cc | 2 +- - src/hb-ot-shape-complex-myanmar.cc | 2 +- - src/hb-ot-shape-complex-use.cc | 2 +- - 3 files changed, 3 insertions(+), 3 deletions(-) - -commit b693992ea160b66541f678dc9be29b513c77a30b -Merge: 9a6a33ccb 498574e6c -Author: Behdad Esfahbod -Date: Tue Feb 2 12:33:32 2016 +0800 - - Merge pull request #222 from n8willis/master - - Add usermanual chapter on cluster levels - -commit 498574e6c1a83bbd2768925af6e39806fe1ea8bb -Author: n8willis -Date: Thu Jan 28 12:21:32 2016 -0600 - - Update Makefile.am - - docs/Makefile.am | 1 + - 1 file changed, 1 insertion(+) - -commit e12fc666994573dbabb6928a8b2e8698667088ce -Author: n8willis -Date: Thu Jan 28 12:14:12 2016 -0600 - - Added initial usermanual chapter on cluster levels. - - docs/harfbuzz-docs.xml | 1 + - docs/usermanual-clusters.xml | 304 +++++++++++++++++++++++++++++++++++++++++++ - 2 files changed, 305 insertions(+) - -commit 9a6a33ccbea8a2e23e779bd955958fa41974c1c7 -Merge: d05b78332 146fe252c -Author: Behdad Esfahbod -Date: Mon Jan 18 12:47:18 2016 +0100 - - Merge pull request #216 from mhosken/master - - Refactor graphite2 to make ovleraps into negative width spaces - -commit 146fe252c3ebd0253344ce20981554e40926497b -Author: Martin Hosken -Date: Sat Jan 16 17:24:00 2016 -0600 - - Refactor graphite2 to make ovleraps into negative width spaces - - src/hb-graphite2.cc | 71 ++++++++++++++++++++++++++++++++--------------------- - 1 file changed, 43 insertions(+), 28 deletions(-) - -commit d05b783322d90208b2ddf06a5ebffc7c301be3d7 -Author: Behdad Esfahbod -Date: Tue Jan 12 16:17:21 2016 +0000 - - Fix compiler warning - - Fixes https://github.com/behdad/harfbuzz/issues/212 - - src/hb-ot-tag.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit d163dc18e66c9e2f404d09310482464245cae704 -Author: Behdad Esfahbod -Date: Tue Jan 12 13:05:01 2016 +0000 - - Minor - - src/hb-ot-layout-common-private.hh | 30 +++++++++++++++--------------- - 1 file changed, 15 insertions(+), 15 deletions(-) - -commit 505b7d4732c6a8c423f43c0de46e05dc583e82c0 -Author: Behdad Esfahbod -Date: Mon Jan 11 18:31:04 2016 +0000 - - [fuzzing] Fuzz input text - - Very rudimentary right now, but will get kcc's bot going. - - From - https://github.com/behdad/harfbuzz/issues/139#issuecomment-163580783 - - test/fuzzing/hb-fuzzer.cc | 25 +++++++++++++++++++------ - 1 file changed, 19 insertions(+), 6 deletions(-) - -commit 3e704521f67e021fb51cda7319925fd39eba4f97 -Author: Behdad Esfahbod -Date: Mon Jan 11 17:38:41 2016 +0000 - - [OT] Get list of lookup subtables once and loop through them - - This speeds up shaping the Amiri font by over 15%. - - This was primarily needed for my work on OpenType GX, since - we will be collecting only sublookups that are "active" for - current font instance; but it's a nice boost in general as - well. - - We might, in the future, collect subtables in the lookup_accel. - That would also allow us to do a per-subtbale set-digest, which - should speed things up some more, specially for ContextChainFormat3 - lookups... Amiri, for example, contains one lookup with 53 - subtables! - - src/hb-ot-layout.cc | 120 +++++++++++++++++++++++++++++++++++----------------- - 1 file changed, 81 insertions(+), 39 deletions(-) - -commit 11441291bbf4326dca9b14ec3e9cad3d4d229303 -Author: Behdad Esfahbod -Date: Mon Jan 11 13:16:35 2016 +0000 - - 1.1.3 - - NEWS | 29 +++++++++++++++++++++++++++++ - configure.ac | 2 +- - 2 files changed, 30 insertions(+), 1 deletion(-) - -commit 97624d9244de0fdb9c03f60e03fe242028efa8a1 -Author: Behdad Esfahbod -Date: Mon Jan 11 12:58:45 2016 +0000 - - [docs] Minor fixes. - - src/hb-buffer.h | 26 +++++++++++++------------- - 1 file changed, 13 insertions(+), 13 deletions(-) - -commit a39ff95fce39226e80850ff251cb34a7aad12bd7 -Author: Behdad Esfahbod -Date: Mon Jan 11 12:28:37 2016 +0000 - - [coretext] Speed up CoreText font fallback - - Fixes https://code.google.com/p/chromium/issues/detail?id=547912 - - src/hb-coretext.cc | 45 ++++++++++++++++++++++++++++++++++++++++----- - 1 file changed, 40 insertions(+), 5 deletions(-) - -commit 5afebbdcb2dab0e9a42d580df629d8e60b50d2f9 -Author: Behdad Esfahbod -Date: Thu Jan 7 22:53:59 2016 +0000 - - Add Homebrew build instructions - - BUILD.md | 10 ++++++++-- - 1 file changed, 8 insertions(+), 2 deletions(-) - -commit e8a27d79476a5d7a83cf2287d92ca291257546f4 -Author: Behdad Esfahbod -Date: Thu Jan 7 22:52:16 2016 +0000 - - Don't build hb-fuzzer in "make", only "make check" - - test/fuzzing/Makefile.am | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit 25671466d245449187f8ab17e1a233f1d087d5ed -Author: Behdad Esfahbod -Date: Thu Jan 7 19:11:41 2016 +0000 - - Add 9 reserved entries to hb_font_extents_t - - Might add italic-angle, underline/strikethrough-position/thickness - in the future. Do this before new struct goes into a release. - - src/hb-font.h | 10 ++++++++++ - 1 file changed, 10 insertions(+) - -commit e6d5e4c3106180cb22253c2c278b40f7c4c98f2f -Author: Behdad Esfahbod -Date: Wed Jan 6 12:29:50 2016 +0000 - - [uniscribe] Fix negative advance - - This happens with at least one test font I have. - - src/hb-uniscribe.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 99d34955762d0fff4b66a30e6fbe65fd1cf9976b -Author: Behdad Esfahbod -Date: Wed Jan 6 12:20:47 2016 +0000 - - [test] Add test text for Kaithi - - test/shaping/texts/in-tree/shaper-hangul/MANIFEST | 1 + - test/shaping/texts/in-tree/shaper-hebrew/MANIFEST | 1 + - test/shaping/texts/in-tree/shaper-tibetan/MANIFEST | 1 + - test/shaping/texts/in-tree/shaper-use/MANIFEST | 1 + - test/shaping/texts/in-tree/shaper-use/script-kaithi/MANIFEST | 1 + - test/shaping/texts/in-tree/shaper-use/script-kaithi/misc.txt | 6 ++++++ - 6 files changed, 11 insertions(+) - -commit 53c47c85827a7e3ca82000e3baa9aa87c5770ce9 -Author: Behdad Esfahbod -Date: Tue Jan 5 13:26:20 2016 +0000 - - Increase sanitize edit count from 8 to 32 - - See previous commit. - - src/hb-open-type-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit da2fcfdc51a2cc0d0a782efa6c91b733f7aa84ba -Author: Behdad Esfahbod -Date: Tue Jan 5 13:23:45 2016 +0000 - - Don't count fixing-up FeatureParams offset as error - - The font Garamond Premier Pro Caption (and possibly many other - Adobe fonts), have many FeatureParamsSize tables with the old - wrong offset. We handle fixing those up, but they were still - contributing to edit_count, and when I reduced HB_SANITIZE_MAX_EDIT - from 100 to 8 in 14c2de321826c36037adde859ccca3e2011325a9, these - fonts were now getting GPOS dropped and hence kerning disabled. - - Fix, by not counting edits made towareds offset fix-up. I'll - also increase edit count again, in the next commit. - - src/hb-ot-layout-common-private.hh | 3 +++ - 1 file changed, 3 insertions(+) - -commit d0adc80965506810820f9ec165b8df80cc8907e3 -Author: Behdad Esfahbod -Date: Sat Jan 2 13:25:18 2016 +0000 - - Check magicNumber in head table during sanitize - - src/hb-ot-head-table.hh | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit 3a48c776701a919e11b067129586e40372d90d54 -Merge: 9230911fa 4b4948d36 -Author: Behdad Esfahbod -Date: Sat Jan 2 00:59:14 2016 +0000 - - Merge pull request #208 from khaledhosny/travis-trusty - - [travis] Try building on Trusty - -commit 4b4948d360a2141e0ffda2994aa308645dc32f59 -Author: Khaled Hosny -Date: Sat Jan 2 00:36:19 2016 +0400 - - [travis] Try building on Trusty - - Trusty has gtk-doc 1.20 which has better markdown support which should - fix some of the brokenness in the newly added documentation. The build - seems to be as fast as the current container-based build on Precise. - - .travis.yml | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit 9230911facf90c06626e54023ca4d99f5e05f1a4 -Author: Behdad Esfahbod -Date: Fri Jan 1 19:06:43 2016 +0000 - - [travis] Only run coveralls if testing behdad/harfbuzz - - Fixes failures in others' forks, like: - https://travis-ci.org/khaledhosny/harfbuzz/jobs/99719710#L3912 - - .travis.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 6f66f05757d3d5738571b3d4ee40afffb8f26ff9 -Merge: bfdf684f7 9ab9f974d -Author: Behdad Esfahbod -Date: Fri Jan 1 16:44:01 2016 +0000 - - Merge pull request #207 from khaledhosny/docs-4 - - [docs] More buffers documentation - -commit 9ab9f974d42e0001966e243a23a64e6aefbd4764 -Author: Khaled Hosny -Date: Fri Jan 1 20:38:21 2016 +0400 - - [docs] More buffers documentation - - docs/harfbuzz-sections.txt | 4 +- - src/hb-buffer-serialize.cc | 85 ++++++++++++++++++++++++++++++------------- - src/hb-buffer.cc | 91 +++++++++++++++++++++++++++++++++++----------- - src/hb-buffer.h | 78 +++++++++++++++++++++++++-------------- - src/hb-shape.cc | 10 +++-- - 5 files changed, 187 insertions(+), 81 deletions(-) - -commit bfdf684f7957645dd016fbf76700c5911c4bee2d -Merge: d7ed6f50b 85c2443b7 -Author: Behdad Esfahbod -Date: Wed Dec 30 22:20:14 2015 +0100 - - Merge pull request #205 from khaledhosny/more-docs - - More docs - -commit d7ed6f50b4ff13a94701131913d931f13a4d1266 -Merge: b758e5ea2 a7f0e25da -Author: Behdad Esfahbod -Date: Wed Dec 30 22:20:00 2015 +0100 - - Merge pull request #206 from nico/patch-3 - - Remove unused HB_SHAPER_DATA_ENSURE_DECLARE lines. - -commit a7f0e25dafa90bd21b01c38cb0782ade54b75cdc -Author: Nico Weber -Date: Wed Dec 30 16:05:52 2015 -0500 - - Remove unused HB_SHAPER_DATA_ENSURE_DECLARE lines. - - The coretext_aat shaper delegates to the regular coretext_..._ensure() functions, so coretext_aat_..._ensure() functions defined by these macros are unused. The compiler warns about them, which in turn can confuse people to think that the coretext_aat_..._ensure() functions weren't called by accident. - - src/hb-coretext.cc | 4 ---- - 1 file changed, 4 deletions(-) - -commit 85c2443b737335b77c7e9bb6fd6741912f70fcef -Author: Khaled Hosny -Date: Wed Dec 30 22:57:04 2015 +0400 - - [docs] Reduce gtkdoc-check errors - - Now it is just reporting one error about “503 undocumented or incomplete - symbols”, that will be the easy part I guess. - - docs/harfbuzz-docs.xml | 74 ++++++++++++++++++++++++++++++++++++++++++++++ - docs/harfbuzz-sections.txt | 40 +++++++++++++++++++++++++ - 2 files changed, 114 insertions(+) - -commit 9cffe329f15b3a74a3af4e68c1884f1dbda49666 -Author: Khaled Hosny -Date: Wed Dec 30 22:50:08 2015 +0400 - - [docs] Typo - - src/hb-buffer.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit b758e5ea223eced0fde9a3e62d0fdf04c04914a1 -Merge: 266bfa377 8b1224f0e -Author: Behdad Esfahbod -Date: Wed Dec 30 16:44:19 2015 +0100 - - Merge pull request #203 from nico/patch-1 - - Remove unused `retry:` label. - -commit 266bfa3772e75fedcd93db22bf8672a13ad7a7d9 -Author: Behdad Esfahbod -Date: Wed Dec 30 16:25:48 2015 +0100 - - [docs] Minor - - .ci/deploy-docs.sh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit d08035f8f15b7ddd89a318ea34bc386a9e33a8ea -Author: Behdad Esfahbod -Date: Wed Dec 30 16:15:36 2015 +0100 - - [docs] Fix up build, really - - .ci/deploy-docs.sh | 9 ++++----- - .travis.yml | 2 +- - 2 files changed, 5 insertions(+), 6 deletions(-) - -commit 0d45c3cf63692151166ca7071f755dfaa8922a67 -Author: Behdad Esfahbod -Date: Wed Dec 30 16:09:39 2015 +0100 - - [docs] Turn bash tracing on - - .ci/deploy-docs.sh | 4 ++++ - 1 file changed, 4 insertions(+) - -commit 33b2d981a0b12ea165ef9282204a73f4a1ce0477 -Author: Behdad Esfahbod -Date: Wed Dec 30 15:56:56 2015 +0100 - - [docs] Another try, not sure why the bot isn't building - - .ci/deploy-docs.sh | 13 ++++--------- - 1 file changed, 4 insertions(+), 9 deletions(-) - -commit f3a051149b3b565b5ad4e489bf730c5203c3549e -Author: Behdad Esfahbod -Date: Wed Dec 30 15:45:43 2015 +0100 - - [docs] Shuffling code around in deploy-docs.sh - - Temporarily makes it rebuild docs on every change again. - - .ci/deploy-docs.sh | 46 +++++++++++++++++++++++++++------------------- - 1 file changed, 27 insertions(+), 19 deletions(-) - -commit 8f31d0a94b27bb658aabe600472fc10bc47885f6 -Merge: 9d280cf49 fb192c263 -Author: Behdad Esfahbod -Date: Wed Dec 30 15:13:37 2015 +0100 - - Merge pull request #202 from khaledhosny/doc-fixes - - Doc fixes - -commit fb192c263e17081c87f4cc971274d9be42f19513 -Author: Khaled Hosny -Date: Wed Dec 30 15:05:50 2015 +0400 - - [docs] A bit more buffers documentation - - docs/harfbuzz-sections.txt | 2 ++ - src/hb-buffer.cc | 7 +++--- - src/hb-buffer.h | 56 ++++++++++++++++++++++++++++++++++++++++++++-- - 3 files changed, 60 insertions(+), 5 deletions(-) - -commit 8ab797c5b86c33eab6ee024471fd3c147325d26a -Author: Khaled Hosny -Date: Tue Dec 29 17:42:16 2015 +0400 - - [docs] A bit more buffers documentation - - docs/harfbuzz-sections.txt | 60 +++++++++++++++--------------- - src/hb-buffer.cc | 93 +++++++++++++++++++++++++++++++--------------- - src/hb-buffer.h | 7 +++- - src/hb-common.cc | 43 +++++++++++++-------- - src/hb-common.h | 15 +++++--- - 5 files changed, 135 insertions(+), 83 deletions(-) - -commit f18d2226b62f20d29e6299c01ae8467c725ea971 -Author: Khaled Hosny -Date: Tue Dec 29 15:21:20 2015 +0400 - - [docs] Some documentation on buffers - - Some of it (create, reference, destroy) are adapted from Cairo docs. - - docs/harfbuzz-sections.txt | 55 +++++++------- - src/hb-buffer.cc | 174 +++++++++++++++++++++++++++------------------ - 2 files changed, 132 insertions(+), 97 deletions(-) - -commit d7bf9d05c519a369a7b3a02e9ed5ecc05a20cd3e -Author: Khaled Hosny -Date: Tue Dec 29 02:23:24 2015 +0400 - - [docs] Fix comment syntax - - To lower the number of gtk-doc warnings. - - .travis.yml | 2 +- - src/hb-directwrite.cc | 4 ++-- - src/hb-ot-layout.cc | 14 ++++++++++++++ - src/hb-unicode.h | 16 ++++++++++++++++ - 4 files changed, 33 insertions(+), 3 deletions(-) - -commit 8b1224f0eece7a5b6846e206333e57ac4653a705 -Author: Nico Weber -Date: Mon Dec 28 21:31:28 2015 -0500 - - Remove unused `retry:` label. - - Fixes a -Wunused-label warning when building harfbuzz with clang -Wall. - - src/hb-coretext.cc | 1 - - 1 file changed, 1 deletion(-) - -commit 1f5559293f9bb1b4e911f4bdecf276ff1f6ae01c -Author: Khaled Hosny -Date: Tue Dec 29 02:15:21 2015 +0400 - - [docs] Ignore the new HB_EXTERN decoration - - Otherwise, almost all API functions are not extracted. - - docs/Makefile.am | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 9d280cf49f25181f64c978752f926b79e7c3746a -Author: Khaled Hosny -Date: Sat Dec 26 06:45:51 2015 +0400 - - Fix previous commit - - .ci/deploy-docs.sh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit b789199f107912cfce5e4a95d6152f9a1a7993f2 -Author: Khaled Hosny -Date: Sat Dec 26 06:35:08 2015 +0400 - - [travis] Build docs only on tagged revisions - - Lets see if it works… - - .ci/deploy-docs.sh | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit e5b90c08a4c1f475560209a5e47628f695606d89 -Author: Behdad Esfahbod -Date: Fri Dec 25 18:41:41 2015 +0100 - - [travis] Remove secure var - - I've set up a secure var for behdad/harfbuzz through Travis web interface, no need - to set the var here. - - .ci/deploy-docs.sh | 2 +- - .travis.yml | 1 - - 2 files changed, 1 insertion(+), 2 deletions(-) - -commit e75c1ffdf548185ce1f1df7937f0d028e5e40efe -Merge: 6173c2a6f d25317f67 -Author: Behdad Esfahbod -Date: Fri Dec 25 18:21:08 2015 +0100 - - Merge pull request #199 from behdad/travis-docs - - Deploy docs to gh-pages branch from Travis builds - -commit 6173c2a6fc6ea0bf812f7f398770b5342974f9bf -Author: Behdad Esfahbod -Date: Fri Dec 25 18:18:23 2015 +0100 - - Fix flaky test - - This test font had a upem of 769, which results in rounding-related errors with - the FreeType font funcs. Change the upem to 1024 to fix that. - - Fixes https://github.com/behdad/harfbuzz/issues/201 - - ...> 1c2fb74c1b2aa173262734c1f616148f1648cfd6.ttf} | Bin 4064 -> 4064 bytes - test/shaping/fonts/sha1sum/MANIFEST | 2 +- - test/shaping/tests/ligature-id.tests | 70 ++++++++++----------- - 3 files changed, 36 insertions(+), 36 deletions(-) - -commit 3fcae6d82da389c9944386a8ab41eb1c13b99330 -Author: Behdad Esfahbod -Date: Fri Dec 25 18:18:02 2015 +0100 - - [tests] Add --reference, for re-recording tests - - test/shaping/run-tests.sh | 18 ++++++++++++++---- - 1 file changed, 14 insertions(+), 4 deletions(-) - -commit d25317f67f3c5c77f9059961935b0f35cbaa9ac4 -Author: Khaled Hosny -Date: Wed Dec 23 01:29:48 2015 +0400 - - Move more docs from FreeDesktop page - - docs/Makefile.am | 1 + - docs/harfbuzz-docs.xml | 15 ++++---- - docs/usermanual-install-harfbuzz.xml | 70 ++++++++++++++++++++++++++++++++++++ - 3 files changed, 80 insertions(+), 6 deletions(-) - -commit 493a92220844c8996be67c8a7a2c5447942fe2c1 -Author: Khaled Hosny -Date: Wed Dec 23 00:33:41 2015 +0400 - - Rename user manual files - - Use chapter ids instead of numbers, so that we can reorder them, - introduce new ones etc. without the numbers becoming out of date. - - docs/Makefile.am | 12 ++++++------ - docs/harfbuzz-docs.xml | 12 ++++++------ - ... => usermanual-buffers-language-script-and-direction.xml} | 0 - docs/{usermanual-ch04.xml => usermanual-fonts-and-faces.xml} | 0 - ...{usermanual-ch06.xml => usermanual-glyph-information.xml} | 0 - docs/{usermanual-ch02.xml => usermanual-hello-harfbuzz.xml} | 0 - ...{usermanual-ch05.xml => usermanual-opentype-features.xml} | 0 - .../{usermanual-ch01.xml => usermanual-what-is-harfbuzz.xml} | 0 - 8 files changed, 12 insertions(+), 12 deletions(-) - -commit 4dc2265918089ee08c6d82eed0cfd41e02d7d231 -Author: Khaled Hosny -Date: Wed Dec 23 00:26:20 2015 +0400 - - Intro from freedesktop.org/wiki/Software/HarfBuzz/ - - docs/HarfBuzz.png | Bin 0 -> 3419 bytes - docs/Makefile.am | 3 ++- - docs/harfbuzz-docs.xml | 31 ++++++++++++++++++++++++++++++- - 3 files changed, 32 insertions(+), 2 deletions(-) - -commit 22b07782ced6503a0bf33f2fe157b70540238f6d -Author: Khaled Hosny -Date: Mon Dec 14 23:33:51 2015 +0400 - - Deploy docs to gh-pages branch from Travis builds - - Build docs in Travis and push them to the gh-pages branch, which makes - them available at http://behdad.github.io/harfbuzz/ - - .ci/deploy-docs.sh | 25 +++++++++++++++++++++++++ - .travis.yml | 4 ++++ - 2 files changed, 29 insertions(+) - -commit fc38e6034c76d5450f5398d667184bc3696efcc4 -Author: Behdad Esfahbod -Date: Wed Dec 23 14:50:53 2015 +0100 - - [layout] Collect coverage glyphs in PairPos - - Apparently class=0 is used for ClassDef1. See: - https://github.com/adobe-type-tools/afdko/issues/90 - - src/hb-ot-layout-gpos-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 8718dae818b22c3933c33bdfc8a7413ef4c3110a -Author: Behdad Esfahbod -Date: Fri Dec 18 19:53:40 2015 +0000 - - [python] Hook up sample debugger - - src/sample.py | 6 ++++++ - 1 file changed, 6 insertions(+) - -commit 0475ef2f97e3035a2eea9a0f96031331e07e8e29 -Author: Behdad Esfahbod -Date: Fri Dec 18 18:17:07 2015 +0000 - - [buffer] Add debugging, aka, message, API - - Currently just announces lookup applications. Message-API *will* change. - hb-shape / hb-view are updated to print-out messages to stder if --debug - is specified. - - src/hb-buffer-private.hh | 18 ++++++++++++++++++ - src/hb-buffer.cc | 44 ++++++++++++++++++++++++++++++++++++++++++++ - src/hb-buffer.h | 15 +++++++++++++++ - src/hb-ot-layout.cc | 12 ++---------- - util/main-font-text.hh | 18 ++++++++++++++++++ - 5 files changed, 97 insertions(+), 10 deletions(-) - -commit 9ea0aa43ac5cf243b698aae0ec80241b5efd7488 -Author: Behdad Esfahbod -Date: Fri Dec 18 17:30:18 2015 +0000 - - Don't deserialize positions if buffer has no positions - - src/hb-buffer-serialize.cc | 3 +++ - src/hb-ot-layout.cc | 2 -- - 2 files changed, 3 insertions(+), 2 deletions(-) - -commit 862b1644e9469a7e70555141f53729409d50d0d2 -Author: Behdad Esfahbod -Date: Fri Dec 18 13:54:06 2015 +0000 - - [use] Only set syllable-based topographical features if not Arabic-joining - - src/hb-ot-shape-complex-use.cc | 3 +++ - 1 file changed, 3 insertions(+) - -commit 45b7ec365225109eb0854e6c417f48860b5f24af -Author: Behdad Esfahbod -Date: Fri Dec 18 13:47:16 2015 +0000 - - [indic] Followup fix for Malayalam context matching - - We regeressed Malayalam in 508cc3d3cfcfb0383df0fe795cc28db4e0fd5729 - This brings down the failures to 198 (from 750). - - BENGALI: 353725 out of 354188 tests passed. 463 failed (0.130722%) - DEVANAGARI: 707307 out of 707394 tests passed. 87 failed (0.0122987%) - GUJARATI: 366349 out of 366457 tests passed. 108 failed (0.0294714%) - GURMUKHI: 60732 out of 60747 tests passed. 15 failed (0.0246926%) - KANNADA: 951190 out of 951913 tests passed. 723 failed (0.0759523%) - KHMER: 299070 out of 299124 tests passed. 54 failed (0.0180527%) - MALAYALAM: 1048136 out of 1048334 tests passed. 198 failed (0.0188871%) - ORIYA: 42320 out of 42329 tests passed. 9 failed (0.021262%) - SINHALA: 271662 out of 271847 tests passed. 185 failed (0.068053%) - TAMIL: 1091753 out of 1091754 tests passed. 1 failed (9.15957e-05%) - TELUGU: 970555 out of 970573 tests passed. 18 failed (0.00185457%) - MYANMAR: 1123865 out of 1123883 tests passed. 18 failed (0.00160159%) - - src/hb-ot-shape-complex-indic.cc | 19 +++++++++++++++++++ - 1 file changed, 19 insertions(+) - -commit 2813e3049a69d64e5395f68c52c4690e1d256d55 -Author: Behdad Esfahbod -Date: Fri Dec 18 11:05:11 2015 +0000 - - [indic] Update data tables to Unicode 8.0 - - Test stats remain unchanged, except for Malayalam, which we investigate: - - BENGALI: 353725 out of 354188 tests passed. 463 failed (0.130722%) - DEVANAGARI: 707307 out of 707394 tests passed. 87 failed (0.0122987%) - GUJARATI: 366349 out of 366457 tests passed. 108 failed (0.0294714%) - GURMUKHI: 60732 out of 60747 tests passed. 15 failed (0.0246926%) - KANNADA: 951190 out of 951913 tests passed. 723 failed (0.0759523%) - KHMER: 299070 out of 299124 tests passed. 54 failed (0.0180527%) - MALAYALAM: 1047584 out of 1048334 tests passed. 750 failed (0.0715421%) - ORIYA: 42320 out of 42329 tests passed. 9 failed (0.021262%) - SINHALA: 271662 out of 271847 tests passed. 185 failed (0.068053%) - TAMIL: 1091753 out of 1091754 tests passed. 1 failed (9.15957e-05%) - TELUGU: 970555 out of 970573 tests passed. 18 failed (0.00185457%) - - Myanmar, compared to Windows 10 mmrtext.ttf: - - MYANMAR: 1123865 out of 1123883 tests passed. 18 failed (0.00160159%) - - src/gen-indic-table.py | 1 + - src/hb-ot-shape-complex-indic-private.hh | 40 ++-- - src/hb-ot-shape-complex-indic-table.cc | 372 ++++++++++++++++++------------- - src/hb-ot-shape-complex-indic.cc | 23 +- - src/hb-ot-shape-complex-myanmar.cc | 4 + - 5 files changed, 244 insertions(+), 196 deletions(-) - -commit fc06cff40f136440f6402d0a5e735e2a4a3c062a -Author: Behdad Esfahbod -Date: Thu Dec 17 17:47:35 2015 +0000 - - Remove HB_OT_SHAPE_ZERO_WIDTH_MARKS_DEFAULT - - The DEFAULT naming wasn't helpful, so just remove it. - - src/hb-ot-shape-complex-default.cc | 2 +- - src/hb-ot-shape-complex-private.hh | 4 +--- - src/hb-ot-shape-complex-thai.cc | 2 +- - src/hb-ot-shape-complex-tibetan.cc | 2 +- - 4 files changed, 4 insertions(+), 6 deletions(-) - -commit 508cc3d3cfcfb0383df0fe795cc28db4e0fd5729 -Author: Behdad Esfahbod -Date: Thu Dec 17 17:31:17 2015 +0000 - - [indic] Allow context when matching for Malayalam new-spec - - Test sequence: - U+0995,U+09CD,U+09B0 - - With Nirmala shipped on Windows 10, this failed to form the below form. - Works now. - - Reported by Sairus. - - src/hb-ot-shape-complex-indic.cc | 11 +++++++++-- - 1 file changed, 9 insertions(+), 2 deletions(-) - -commit eaf1e93ef1ee19a3e72d781e8abbd7f1165c1618 -Author: Behdad Esfahbod -Date: Thu Dec 17 16:57:47 2015 +0000 - - [uniscribe] Handle E_NOT_SUFFICIENT_BUFFER as well as E_OUTOFMEMORY - - On Windows 10 we are seeing that other error message... - - Test sequence: U+0995,U+-9CD,U+09B0 - With Nirmala shipped on Windows 10, this failed to form the below form. - Works now. - - Reported by Sairus. - - src/hb-uniscribe.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 21e5d7edc4f28157254ef29a8ac247f3a572f6a6 -Author: Behdad Esfahbod -Date: Thu Dec 17 16:28:38 2015 +0000 - - [util] Use O_BINARY instead of _O_BINARY - - The latter doesn't seem to be available in Cygwin. I'm surprised it - compiled before... - - util/options.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 100fbeaf196515774c985ee839d0fa0695f9a6fa -Author: Behdad Esfahbod -Date: Thu Dec 17 15:23:09 2015 +0000 - - Fix ligature component of a mark happening after a ligature within a ligature! - - Say, if we are ligating "A B_C m D", then previously 'm' was being - attached to 'B' in the combined A_B_C_D ligature. Now we attach it - to 'C'. No test for this though :(. - - src/hb-ot-layout-gsubgpos-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 2f02fc79a5018e3348fccf366c470803554e1e58 -Author: Behdad Esfahbod -Date: Thu Dec 17 15:21:14 2015 +0000 - - Improve ligature-component handling - - We use three bits for lig_id these days, so we finally got a report of - two separate ligatures with the same lig_id happening adjacent to each - other, and then the component-handling code was breaking things. - Protect against that by ignoring same-lig-id but lig-comp=0 glyphs after - a new ligature. - - Fixes https://github.com/behdad/harfbuzz/issues/198 - - src/hb-ot-layout-gsubgpos-private.hh | 12 +++++-- - test/shaping/Makefile.am | 1 + - test/shaping/fonts/sha1sum/MANIFEST | 1 + - .../c78d1f25ea1df1210414f2fe2e0e1e53082bba76.ttf | Bin 0 -> 4064 bytes - test/shaping/tests/MANIFEST | 1 + - test/shaping/tests/ligature-id.tests | 35 +++++++++++++++++++++ - 6 files changed, 47 insertions(+), 3 deletions(-) - -commit 2ab0de9fbd03231b647345b01e31b136e2e00978 -Author: Behdad Esfahbod -Date: Thu Dec 17 11:59:15 2015 +0000 - - [use] Fix halant detection - - Before, we were just checking the use_category(). This detects as - halant a ligature that had the halant as first glyph (as seen in - NotoSansBalinese.) Change that to use the is_ligated() glyph prop - bit. The font is forming this ligature in ccmp, which is before - the rphf / pref tests. So we need to make sure the "ligated" bit - survives those tests. Since those only check the "substituted" bit, - we now only clear that bit for them and "ligated" survives. - - Fixes https://github.com/behdad/harfbuzz/issues/180 - - src/hb-ot-layout-private.hh | 6 ++---- - src/hb-ot-shape-complex-use.cc | 19 ++++++++++++------- - test/shaping/Makefile.am | 1 + - test/shaping/fonts/sha1sum/MANIFEST | 1 + - .../fbb6c84c9e1fe0c39e152fbe845e51fd81f6748e.ttf | Bin 0 -> 2616 bytes - test/shaping/tests/MANIFEST | 1 + - test/shaping/tests/use.tests | 1 + - 7 files changed, 18 insertions(+), 11 deletions(-) - -commit 86bcbd65b0d98357fb3d67a2f4f2a704ace55e10 -Author: Behdad Esfahbod -Date: Thu Dec 17 11:04:33 2015 +0000 - - [arabic] Use glyph advance width in apply_stch() instead of extents - - That seems to be what Windows is doing, and makes more sense. - - src/hb-ot-shape-complex-arabic.cc | 24 +++++++----------------- - 1 file changed, 7 insertions(+), 17 deletions(-) - -commit f11c11a1f123ef245e59ba892230db14170a8e5a -Author: Behdad Esfahbod -Date: Wed Dec 16 17:08:36 2015 +0100 - - Fix Since: tags for new API - - https://github.com/behdad/harfbuzz/commit/e1d4d0f1dbd8518b5672245c05d73f22a9ed03ea#commitcomment-15006653 - - src/hb-font.cc | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 15f2c055c17c54b0a6ae6eef50dcda13c58cda75 -Merge: 49e72634a a13b023db -Author: Behdad Esfahbod -Date: Mon Dec 14 14:19:03 2015 +0100 - - Merge pull request #196 from srl295/aix - - AIX fixes - -commit a13b023dbfd0532e8cd74c356fbbd4453d0ffaa0 -Author: Steven R. Loomis -Date: Fri Dec 11 10:21:27 2015 -0800 - - AIX fixes - - - use '-w' instead of '\<...\>' for check-header-guards - grep manpage says these are the same - - - put '-q' first in the grep options - - - move VAR into hb-private.hh - - - hb-font-private.hh - use [VAR] instead of [] for variable array - - src/check-header-guards.sh | 5 ++--- - src/hb-font-private.hh | 2 +- - src/hb-open-type-private.hh | 3 --- - src/hb-private.hh | 2 ++ - 4 files changed, 5 insertions(+), 7 deletions(-) - -commit 49e72634af74a9fbad01f42f48e104218413acc0 -Author: Behdad Esfahbod -Date: Thu Dec 10 17:44:19 2015 +0100 - - Limit use of AIX intrinsics to IBM's compiler - - src/hb-atomic-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit e1d4d0f1dbd8518b5672245c05d73f22a9ed03ea -Merge: 70b33edae 808d3fc0e -Author: Behdad Esfahbod -Date: Thu Dec 10 16:56:07 2015 +0100 - - Merge branch 'font-extents' - - Fixes https://github.com/behdad/harfbuzz/pull/165 - -commit 808d3fc0eadd379909f2a0308fd3db474f1efde8 -Author: Behdad Esfahbod -Date: Thu Dec 10 16:55:16 2015 +0100 - - [util] Port hb-view to use font metrics from HarfBuzz instead of cairo - - util/helper-cairo.cc | 4 +++- - util/view-cairo.cc | 24 ++++++++++++------------ - 2 files changed, 15 insertions(+), 13 deletions(-) - -commit 31fa3892947138c7950303ea3719bb5ceb813625 -Author: Behdad Esfahbod -Date: Thu Dec 10 16:38:29 2015 +0100 - - [ft] Use ftface->size->metrics for font extent info - - src/hb-ft.cc | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 3ad16048fdd841f31f1cb98d7ff9ea1871841146 -Author: Behdad Esfahbod -Date: Thu Dec 10 16:37:49 2015 +0100 - - [ot-font] Respect OS/2 fsSelection USE_TYPO_METRICS bit - - src/hb-ot-font.cc | 12 ++++++++---- - 1 file changed, 8 insertions(+), 4 deletions(-) - -commit 70b33edae7c8b9c031b83c95f00cb383789f1041 -Author: Behdad Esfahbod -Date: Thu Dec 10 15:54:42 2015 +0100 - - Add atomic ops for AIX - - Patch from Volker Simonis. - - src/hb-atomic-private.hh | 25 +++++++++++++++++++++++++ - 1 file changed, 25 insertions(+) - -commit 98460779bae19e4d64d29461ff154b3527bf8420 -Author: Behdad Esfahbod -Date: Mon Dec 7 21:38:47 2015 +0100 - - Remove final pause from Arabic shaper - - Back in the old days, we used to apply 'calt' and 'cswh' in Arabic shaper, - with a pause in between. Then we disabled the 'cswh' because Microsoft - disabled it, but forgot to remove the unnecessary pause. Do that now. - - This has the benefit that it fixes shaping with monbaiti from Windows 10. - In that version of that font, the lookups from 'calt' are duplicated in - 'rclt', and Mongolian was changed to go through Universal Shaping Engine. - We still use the Arabic shaper for Mongolian. With a pause after 'calt', - we were applying the duplicate lookups from 'calt' and 'rclt' twice. It - happened to be the case that these lookups were NOT idempotent. So we - were getting wrong shaping. See thread "Windows 10 monbaiti.ttf upgrade - (5.01 -> 5.51) caused loss of diacritical marks when shaped with harfbuz" - on the mailing list. This fixes that. - - src/hb-ot-shape-complex-arabic.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit dee0fbf9e2eac8b61730efc4978bc10c552b5227 -Merge: 255df6801 a7ffe3535 -Author: Behdad Esfahbod -Date: Mon Dec 7 10:44:08 2015 +0100 - - Merge pull request #192 from behdad/jfkthame-stch - - [issue 191] Make apply_stch() give a more precise fit - -commit 255df6801201fb22402420f7b7b7ea8b042df8ba -Author: Behdad Esfahbod -Date: Mon Dec 7 10:34:47 2015 +0100 - - Fix undefined behavior in cmp function - - Fixes https://bugs.freedesktop.org/show_bug.cgi?id=93274 - - src/hb-ot-map-private.hh | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit fcf9e61bad13c828b5482f26491c82db65d91c96 -Author: Behdad Esfahbod -Date: Mon Dec 7 10:30:43 2015 +0100 - - Fix sorting order of ot_languages array - - Looks like the original sort was wrongly done. - Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=93275 - - src/hb-ot-tag.cc | 7 +++---- - 1 file changed, 3 insertions(+), 4 deletions(-) - -commit 70952ddb5a29c5bcbb4b6c3a05a428496033234a -Author: Behdad Esfahbod -Date: Mon Dec 7 10:28:46 2015 +0100 - - Add test to make sure ot-languages array is sorted - - Currently fails. Part of - https://bugs.freedesktop.org/show_bug.cgi?id=93275 - - src/Makefile.am | 9 ++++++++- - src/hb-ot-tag.cc | 23 +++++++++++++++++++++++ - 2 files changed, 31 insertions(+), 1 deletion(-) - -commit 8c37556f730d7e961394075cd863f624af4c53c4 -Merge: 8e5f90265 f35b3e931 -Author: Behdad Esfahbod -Date: Mon Dec 7 09:34:58 2015 +0100 - - Merge pull request #134 from ebraminio/dwrite - - Add working but less prefect DirectWrite backend - -commit a7ffe3535836032dba5559080dffeec79473197b -Author: jfkthame -Date: Sat Dec 5 17:47:37 2015 +0000 - - Make apply_stch() give a more precise fit - - This aims to make Syriac Abbr Mark sizing more accurate when repeating segments are used, by adding an extra repeat and tightening up the spacing slightly rather than leaving a shortfall corresponding to a partial repeat-width. - - src/hb-ot-shape-complex-arabic.cc | 15 ++++++++++++++- - 1 file changed, 14 insertions(+), 1 deletion(-) - -commit 8e5f902656d2882d24c30e8b26ddbd3963baa55c -Author: Behdad Esfahbod -Date: Mon Nov 30 16:53:21 2015 -0800 - - src/test.cc: wrong field printed - - Fixes https://github.com/behdad/harfbuzz/issues/188 - Fixes https://bugs.freedesktop.org/show_bug.cgi?id=93182 - - src/test.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 6f2e6de1fae0ab2269b472a750788817de6c2a6e -Author: Simon Cozens -Date: Mon Oct 26 16:23:22 2015 +0900 - - Get font ascender and descender metrics from OS/2 table. - - src/hb-font-private.hh | 39 ++++++++++++++++++- - src/hb-font.cc | 102 ++++++++++++++++++++++++++++++++++++++++++++++++- - src/hb-font.h | 62 ++++++++++++++++++++++++++++-- - src/hb-ft.cc | 21 ++++++++++ - src/hb-ot-font.cc | 58 ++++++++++++++++++++++++++-- - 5 files changed, 274 insertions(+), 8 deletions(-) - -commit 097c998a0c7b250924801bb69f5fa0c529edd183 -Author: Simon Cozens -Date: Mon Oct 26 16:22:38 2015 +0900 - - Parse the OS/2 table. - - src/Makefile.am | 1 + - src/hb-ot-os2-table.hh | 105 +++++++++++++++++++++++++++++++++++++++++++++++++ - 2 files changed, 106 insertions(+) - -commit d44d52bd0da033865641dfd39d94852119fd4fd7 -Author: Behdad Esfahbod -Date: Thu Nov 26 19:35:43 2015 -0500 - - 1.1.2 - - NEWS | 15 +++++++++++++++ - configure.ac | 2 +- - 2 files changed, 16 insertions(+), 1 deletion(-) - -commit 35d18585fc57750d817f57bfffe569069f9803b5 -Author: Behdad Esfahbod -Date: Thu Nov 26 19:30:37 2015 -0500 - - Fix a few docs blocks - - src/hb-buffer.cc | 4 ++++ - src/hb-glib.cc | 2 ++ - src/hb-ot-font.cc | 2 ++ - src/hb-ot-layout.cc | 6 ++++++ - src/hb-ot-shape.cc | 4 ++++ - 5 files changed, 18 insertions(+) - -commit 0e38c918b66df31978d8fd3d8271a9b781384545 -Author: Behdad Esfahbod -Date: Thu Nov 26 19:26:26 2015 -0500 - - [introspection] Make scanner happy with HB_EXTERN - - src/Makefile.am | 1 + - 1 file changed, 1 insertion(+) - -commit ea512f71084296be3bd893f78650def894066de0 -Author: Behdad Esfahbod -Date: Thu Nov 26 19:22:22 2015 -0500 - - Use C-style casts instead of compare to 0, to convert hb_bool_t to bool - - src/hb-common.cc | 2 +- - src/hb-fallback-shape.cc | 2 +- - src/hb-font-private.hh | 2 +- - src/hb-ot-layout.cc | 2 +- - src/hb-ot-map.cc | 2 +- - src/hb-ot-shape-complex-hangul.cc | 2 +- - src/hb-ot-shape-complex-hebrew.cc | 2 +- - src/hb-ot-shape-complex-indic.cc | 4 ++-- - src/hb-ot-shape-normalize.cc | 6 +++--- - src/hb-ot-shape.cc | 2 +- - 10 files changed, 13 insertions(+), 13 deletions(-) - -commit 67a36a725e2a61a096ba0324f359d17f9b02d312 -Author: Behdad Esfahbod -Date: Thu Nov 26 18:48:42 2015 -0500 - - Fix vertical GPOS - - This was brorken earlier, though, it's really hard to notice it. - Unlike the glyph_h_origin(), an unset glyph_v_origin() does NOT - mean that the vertical origin is at 0,0. - - Related to https://github.com/behdad/harfbuzz/issues/187 - - src/hb-ot-shape.cc | 13 ++++++++----- - 1 file changed, 8 insertions(+), 5 deletions(-) - -commit 1c6a057dd1a52511474630896a597bf8e5215214 -Author: Behdad Esfahbod -Date: Thu Nov 26 18:48:30 2015 -0500 - - Add tests for previous commit - - test/shaping/Makefile.am | 1 + - .../sha1sum/49c9f7485c1392fa09a1b801bc2ffea79275f22e.ttf | Bin 0 -> 1496 bytes - test/shaping/fonts/sha1sum/MANIFEST | 1 + - test/shaping/tests/MANIFEST | 1 + - test/shaping/tests/simple.tests | 2 ++ - 5 files changed, 5 insertions(+) - -commit c41c145c7386ebe72b1cfb0475d836a689fecc5e -Author: Behdad Esfahbod -Date: Thu Nov 26 18:43:15 2015 -0500 - - Make nil glyph_h_origin() function return true - - Fixes https://github.com/behdad/harfbuzz/issues/187 - - Funcs implementations that have a non-zero horizontal origin must - implement the glyph_h_origin() callback, nothing new here. - - Other implementations (all I know of!) can simply not set - glyph_h_origin() now. I did that for hb-ot and hb-ft in - 44f82750807475aa5b16099ccccd917d488df703, though that broke the - fallback shaper because the default was returning false... - - src/hb-font.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 766963adba6770dcd45de4417481ed8eda60a716 -Merge: b344af80c f798b8e2d -Author: Behdad Esfahbod -Date: Tue Nov 24 15:38:43 2015 -0600 - - Merge pull request #114 from ThePhD/vc++-fixes - - Fix all VC++ warnings and errors - -commit b344af80ca95b9eddfd6017aa6ae103388d6b5f8 -Merge: 662acd26d 835bbdc7c -Author: Behdad Esfahbod -Date: Tue Nov 24 15:30:27 2015 -0600 - - Merge pull request #177 from fanc999/exporting - - Enable use of compiler directives to export symbols - -commit 662acd26d10c38e96a9afcdaab2cb2979794966f -Merge: b24e93e3a 1979f6fed -Author: Behdad Esfahbod -Date: Tue Nov 24 15:29:44 2015 -0600 - - Merge pull request #181 from mhosken/master - - Fix y_scale problems in hb-gr - -commit b24e93e3a4d98111c4684fa08e9080b471881d5c -Author: Behdad Esfahbod -Date: Tue Nov 24 13:18:20 2015 -0600 - - 1.1.1 - - NEWS | 7 +++++++ - configure.ac | 2 +- - 2 files changed, 8 insertions(+), 1 deletion(-) - -commit 233944ac91bb81250c0e63150eecfedfaf09f590 -Merge: 5a24b1d25 d53820191 -Author: Khaled Hosny -Date: Tue Nov 24 18:37:35 2015 +0400 - - Merge pull request #185 from khaledhosny/travis-osx - - [travis] Enable Mac OS X support - -commit d538201918e6932ef7645f8d5b2c3491954936f8 -Author: Khaled Hosny -Date: Tue Nov 24 12:46:35 2015 +0400 - - [travis] Enable Mac OS X support - - Fixes https://github.com/behdad/harfbuzz/issues/182 - - .travis.yml | 22 ++++++++++++++++------ - 1 file changed, 16 insertions(+), 6 deletions(-) - -commit 5a24b1d25c59865e298bf105f54503e79587265c -Author: Behdad Esfahbod -Date: Mon Nov 23 16:46:14 2015 -0600 - - [travis] Remove coverity scan - - I never could get it to work, and it's a proprietary platform. - - .travis.yml | 11 ----------- - README | 1 - - 2 files changed, 12 deletions(-) - -commit 1979f6fedca82fa1e4f65491de491db1aa6dc645 -Author: Martin Hosken -Date: Mon Nov 23 10:03:56 2015 +0700 - - Fix y_scale problems in hb-gr - - src/hb-graphite2.cc | 11 ++++++----- - 1 file changed, 6 insertions(+), 5 deletions(-) - -commit 835bbdc7c92bd774ff92c42a9277ded72066d29d -Author: Chun-wei Fan -Date: Thu Nov 19 18:34:12 2015 +0800 - - Public headers: Decorate public symbols with HB_EXTERN - - This prepares the headers for exporting symbols using visibility - attributes or __declspec(dllexport), so that we do not need to maintain - symbols listing files, as this is what was and is done in GLib and GTK+. - - src/hb-blob.h | 24 +++++----- - src/hb-buffer.h | 100 +++++++++++++++++++------------------- - src/hb-common.h | 22 ++++----- - src/hb-coretext.h | 6 +-- - src/hb-face.h | 34 ++++++------- - src/hb-font.h | 114 ++++++++++++++++++++++---------------------- - src/hb-ft.h | 18 +++---- - src/hb-glib.h | 8 ++-- - src/hb-gobject-enums.h.tmpl | 2 +- - src/hb-gobject-structs.h | 26 +++++----- - src/hb-graphite2.h | 4 +- - src/hb-icu.h | 6 +-- - src/hb-ot-font.h | 2 +- - src/hb-ot-layout.h | 56 +++++++++++----------- - src/hb-ot-shape.h | 4 +- - src/hb-ot-tag.h | 8 ++-- - src/hb-set.h | 52 ++++++++++---------- - src/hb-shape-plan.h | 18 +++---- - src/hb-shape.h | 10 ++-- - src/hb-unicode.h | 52 ++++++++++---------- - src/hb-uniscribe.h | 4 +- - src/hb-version.h.in | 6 +-- - src/hb.h | 4 ++ - 23 files changed, 292 insertions(+), 288 deletions(-) - -commit f798b8e2d683a1b89b6905b1a8615375b847b468 -Author: ThePhD -Date: Sat Nov 21 16:57:26 2015 -0500 - - c-style cast - - src/hb-ot-shape-complex-use.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit a6991813659376a6a11c00a9f67d85b4f7ba9b5d -Merge: 1dc32ea4d f19c6db18 -Author: Behdad Esfahbod -Date: Fri Nov 20 13:28:42 2015 -0800 - - Merge pull request #176 from behdad/missing-braces - - Add braces for subobject initializer in _hb_font_funcs_nil - -commit 1dc32ea4d2f294f9d1ae1c8fd19fb75f9278223b -Author: Behdad Esfahbod -Date: Fri Nov 20 13:24:19 2015 -0800 - - Whitespace - - src/hb-private.hh | 20 ++++++++++---------- - 1 file changed, 10 insertions(+), 10 deletions(-) - -commit f94c0ecbb1488138d3ec3b9d6d9fb78113dfee4f -Author: Behdad Esfahbod -Date: Fri Nov 20 13:21:29 2015 -0800 - - Define HB_MARK_AS_FLAG_T as a macro instead of using templates - - The generic template operator overloading was causing more problems than it - solved. Eg: - - https://github.com/behdad/harfbuzz/pull/163 - https://github.com/behdad/harfbuzz/issues/175 - - So, just use macros. - - Fixes https://github.com/behdad/harfbuzz/issues/175 - Fixes https://github.com/behdad/harfbuzz/pull/178 - - src/hb-private.hh | 27 +++++++++++---------------- - 1 file changed, 11 insertions(+), 16 deletions(-) - -commit f19c6db18e2e2dd0e9a406fc7e8533049fab48b0 -Author: jfkthame -Date: Fri Nov 20 08:43:49 2015 +0000 - - Add braces for subobject initializer in _hb_font_funcs_nil - - To avoid triggering -Wmissing-braces; see https://bugzilla.mozilla.org/show_bug.cgi?id=1226175#c8 - - src/hb-font.cc | 8 ++++++-- - 1 file changed, 6 insertions(+), 2 deletions(-) - -commit 9cc1ed4fa68075b3b142a2737438109772dd0002 -Author: Behdad Esfahbod -Date: Thu Nov 19 12:39:09 2015 -0800 - - Do not allow recursiving to same position and same lookup - - This is just to make it harder to be extremely slow. There definitely - are ways still, just harder. Oh well... how do we tame this problem - without solving halting problem?! - - Fixes https://github.com/behdad/harfbuzz/issues/174 - - src/hb-ot-layout-gsubgpos-private.hh | 5 +++++ - test/shaping/fonts/sha1sum/MANIFEST | 1 + - .../sha1sum/fab39d60d758cb586db5a504f218442cd1395725.ttf | Bin 0 -> 1894 bytes - test/shaping/tests/fuzzed.tests | 1 + - 4 files changed, 7 insertions(+) - -commit 7d75eee799bbb5ee7eef2651cf7b7d3aee6f09b0 -Author: Behdad Esfahbod -Date: Thu Nov 19 12:03:04 2015 -0800 - - [fuzzing] Run fuzzing tests using hb-fuzzer as well - - test/fuzzing/Makefile.am | 4 ++++ - 1 file changed, 4 insertions(+) - -commit 13188cba7f0eaacd587beeb1c2258526ae24c438 -Author: Behdad Esfahbod -Date: Thu Nov 19 11:59:03 2015 -0800 - - Revert "Fix hang in OOM situations" - - This reverts commit f0599db761d7fc2d585d86e757a797f75ebc7499. - - Commit abadc1717d997b69f987fdf1be9e12156d2d13d6 provides a better - fix for this. - - src/hb-buffer-private.hh | 6 +----- - 1 file changed, 1 insertion(+), 5 deletions(-) - -commit 18e1c6b6ef7c85a1b02e3dae86280d8ed6b65118 -Author: Behdad Esfahbod -Date: Thu Nov 19 11:50:58 2015 -0800 - - Revert "Make sure we make progress in OOM situations" - - This reverts commit 68b507a3c3c62c28c38e13fee733702bb703b6ca. - - Commit abadc1717d997b69f987fdf1be9e12156d2d13d6 provides a better - fix for this. - - src/hb-buffer-private.hh | 7 +++++-- - src/hb-buffer.cc | 31 ++++++++----------------------- - 2 files changed, 13 insertions(+), 25 deletions(-) - -commit e1118aeac3b5556df0ce502732df8ac92bdac45a -Author: Behdad Esfahbod -Date: Wed Nov 18 23:40:47 2015 -0800 - - 1.1.0 - - NEWS | 22 ++++++++++++++++++++++ - configure.ac | 2 +- - 2 files changed, 23 insertions(+), 1 deletion(-) - -commit 63fe05c8b1cd4f08b525028409e1299f34750810 -Author: Behdad Esfahbod -Date: Wed Nov 18 23:52:34 2015 -0800 - - Fix make distcheck - - src/Makefile.am | 1 + - 1 file changed, 1 insertion(+) - -commit 9b087dec7753ad96d256ce1b9ae347bd8d697c75 -Author: Behdad Esfahbod -Date: Wed Nov 18 23:23:35 2015 -0800 - - [travis] Only coverity-scan the coverity_scan branch - - This essentially disables coverity-scan right now, until we find - a pattern to continuously submit branches there. - - For background reasoning, see: - Fixes https://github.com/behdad/harfbuzz/issues/171 - - .travis.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 85062e3b4655ec6d5c3cf5344ce22cd88c21a2aa -Author: Behdad Esfahbod -Date: Wed Nov 18 23:09:13 2015 -0800 - - Add tests for previous two commits - - To fully test what these are supposed to test, they should be run - against libharfbuzz-fuzzing.la instead of libharfbuzz.la, but for - now just record the files. - - .../sha1sum/43979b90b2dd929723cf4fe1715990bcb9c9a56b.ttf | Bin 0 -> 1804 bytes - test/shaping/fonts/sha1sum/MANIFEST | 2 ++ - .../sha1sum/b9e2aaa0d75fcef6971ec3a96d806ba4a6b31fe2.ttf | Bin 0 -> 1804 bytes - test/shaping/tests/fuzzed.tests | 2 ++ - 4 files changed, 4 insertions(+) - -commit 37b40cd8a18e25d3324f829acec197f016f4a524 -Author: Behdad Esfahbod -Date: Wed Nov 18 23:04:45 2015 -0800 - - Fix another move_to assertion failure - - If buf->idx is at end, don't set end past it... - - Fixes https://github.com/behdad/harfbuzz/issues/173 - - src/hb-ot-layout-gsubgpos-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit abadc1717d997b69f987fdf1be9e12156d2d13d6 -Author: Behdad Esfahbod -Date: Wed Nov 18 17:52:08 2015 -0800 - - Try to better handle OOM situations - - Fixes assert fail in https://github.com/behdad/harfbuzz/issues/161 - with libharfbuzz-fuzzing. - - src/hb-ot-layout-gsubgpos-private.hh | 2 +- - src/hb-ot-layout.cc | 2 +- - src/hb-ot-shape-complex-hangul.cc | 2 +- - src/hb-ot-shape-complex-indic.cc | 2 +- - src/hb-ot-shape-complex-thai.cc | 2 +- - src/hb-ot-shape-complex-use.cc | 8 +------- - src/hb-ot-shape-normalize.cc | 10 +++++----- - src/hb-ot-shape.cc | 2 +- - 8 files changed, 12 insertions(+), 18 deletions(-) - -commit ec625f7dfb5f6df19d35d81af6605d05e08321f2 -Author: Behdad Esfahbod -Date: Wed Nov 18 16:37:59 2015 -0800 - - Try to fix gnome-continuous build fail - - test/fuzzing/Makefile.am | 2 ++ - 1 file changed, 2 insertions(+) - -commit ff16ef3379e06afe44b5e78b8893aeae0cee2b5b -Author: Behdad Esfahbod -Date: Wed Nov 18 16:27:32 2015 -0800 - - Enable building a bounded version of the library for fuzzing - - test/fuzzing/hb-fuzzer links against libharfbuzz-fuzzing.so now. - - src/Makefile.am | 16 ++++++++++++++++ - test/fuzzing/Makefile.am | 9 ++------- - test/fuzzing/README | 6 ++---- - 3 files changed, 20 insertions(+), 11 deletions(-) - -commit e0082ae60dbd87d433f3b2b9d2bfa64b9a4c3663 -Author: Behdad Esfahbod -Date: Tue Nov 17 18:42:13 2015 -0800 - - Move things around - - src/hb-private.hh | 22 +++++++++++----------- - 1 file changed, 11 insertions(+), 11 deletions(-) - -commit dde8cc87bd880bd35baf764820f4c85bd0a58696 -Merge: e97835ad4 167c32717 -Author: Behdad Esfahbod -Date: Tue Nov 17 18:40:10 2015 -0800 - - Merge pull request #163 from fanc999/msvc.src - - Update the sources so they will compile under Visual Studio - -commit 167c3271778cd1a8c4433b9d2230901ce17c099e -Author: Chun-wei Fan -Date: Mon Nov 9 17:17:56 2015 +0800 - - Fix build on MSVC >= 2012 - - Use the DEFINE_ENUM_FLAG_OPERATORS macro in winnt.h on Visual Studio, - which defines the bitwise operators for the enumerations that we want to - mark as hb_mark_as_flags_t, which will take care of the situation on newer - Visual Studio (>= 2012), where the build breaks with C2057 errors as the - underlying types of the enumerations is not clear to the compiler when we - do a bitwise op within the declaration of the enumerations themselves. - - Also disable the C4200 (nonstandard extension used : zero-sized array in - struct/union) and C4800 ('type' : forcing value to bool 'true' or 'false' - (performance warning)) warnings as the C4200 is the intended scenario and - C4800 is harmless but is so far an unavoidable side effect of using - DEFINE_ENUM_FLAG_OPERATORS. - - src/hb-buffer-private.hh | 6 +++--- - src/hb-ot-layout-common-private.hh | 2 +- - src/hb-ot-layout-private.hh | 4 ++-- - src/hb-ot-map-private.hh | 2 +- - src/hb-private.hh | 11 +++++++++++ - 5 files changed, 18 insertions(+), 7 deletions(-) - -commit 4d27bb87468a1b84387e7ce084e3d92c0fc8f065 -Author: Chun-wei Fan -Date: Fri Nov 6 14:28:30 2015 +0800 - - hb-ot-shape-complex-arabic.cc: Fix build on Visual Studio - - Visual Studio does not like declaring a enum variable within a for - statement, so fix the build by declaring the enum before doing the for - loop. - - src/hb-ot-shape-complex-arabic.cc | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit a49e7b7e40127beba25f39ef3c10d7a77e2bb0f0 -Author: Chun-wei Fan -Date: Tue Nov 3 18:49:34 2015 +0800 - - MSVC builds: Add fallback implementation for pre-2013 MSVC - - Pre-2013 MSVC does not have scalbn() and scalbnf(), which are used in the - utility programs. Add fallback implementations for these, which can be - used when necessary. - - util/options.hh | 17 +++++++++++++++++ - 1 file changed, 17 insertions(+) - -commit 998e8dda938cfef0146f1bfc4e8973a0e12d7d35 -Author: Chun-wei Fan -Date: Mon Nov 2 16:55:29 2015 +0800 - - util: Fix build on Visual Studio - - Use the fallback implementation for lround() only on pre-2013 Visual - Studio, and ensure we are clear about the types of the parameters for - lround() and scalbnf(), since Visual Studio can be quite picky on - ambiguous parameter types. Also, use g_ascii_strcasecmp() rather than - strcasecmp() as we are already using GLib for this code and we are - assured that g_ascii_strcasemp() is available. - - For scalbnf() on pre-2013 Visaul Studio, a fallback implementation is - needed, but use another forced-included header for those compilers, which - will be added later. - - Also use (char)27 on Visual Studio builds as '\e' is not a recognized - escape sequence, which will do the same thing. - - util/ansi-print.cc | 16 +++++++++------- - util/helper-cairo.cc | 20 ++++++++++---------- - util/options.cc | 2 +- - 3 files changed, 20 insertions(+), 18 deletions(-) - -commit e97835ad43f5c68e8cb29599246cae0f4461d663 -Author: Behdad Esfahbod -Date: Tue Nov 10 11:37:01 2015 -0800 - - [util] Fix crash when --output-file is specified but not --output-format - - util/options.hh | 3 +++ - 1 file changed, 3 insertions(+) - -commit d5f0d7c9fb14255388ab616f56e178cb7ca10ec2 -Merge: 04ff23e73 529a93312 -Author: Behdad Esfahbod -Date: Sat Nov 7 07:50:58 2015 -0800 - - Merge pull request #167 from KonstantinRitt/unicode_cp_opt - - Micro optimizations to UTF-16 and UTF-32 codecs - -commit 04ff23e73d847ab3a5da0e9fac4fbca19aefd284 -Author: Behdad Esfahbod -Date: Fri Nov 6 16:29:44 2015 -0800 - - [arabic] Improve stretch length calculation - - Err on the side of being too short, than too wide. Reduces chance - of overlaps with neighboring glyphs. - - src/hb-ot-shape-complex-arabic.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 59821ab8b413df3a444c38b80582a5137e364a70 -Author: Behdad Esfahbod -Date: Fri Nov 6 16:27:44 2015 -0800 - - [arabic] Don't stretch over cased letters - - Addresses - https://github.com/behdad/harfbuzz/commit/6e6f82b6f3dde0fc6c3c7d991d9ec6cfff57823d#commitcomment-14248516 - - src/hb-ot-shape-complex-arabic.cc | 24 +++++++++++++++++++++- - src/hb-unicode-private.hh | 20 ------------------ - .../script-syriac/misc/abbreviation-mark.txt | 4 ++-- - 3 files changed, 25 insertions(+), 23 deletions(-) - -commit 5337db29af39084d677a63154f404eca0c20cfeb -Author: Behdad Esfahbod -Date: Fri Nov 6 16:18:09 2015 -0800 - - Revert "Don't process lookups if buffer is in error" - - This reverts commit f92bd86cc8c11d262d1830c631cb7c63fc9d4bc8. - - We don't want to be like cairo, where as soon as there's an error, - nothing works anymore. So, lets process lookups as long as there's - no new memory needed. That's also a model that hides fewer bugs. - - src/hb-ot-layout.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 529a93312815dff3c2f37f880bf6ccb428bd3da0 -Author: Konstantin Ritt -Date: Sat Nov 7 02:00:04 2015 +0400 - - Micro optimization to hb_utf16_t and hb_utf32_t ::prev() - - Implement reverse lookup instead of re-using next() - - src/hb-utf-private.hh | 29 +++++++++++++++++++---------- - 1 file changed, 19 insertions(+), 10 deletions(-) - -commit 44ae9be7a29eebd6003cad2fdb90b40512a9c8eb -Author: Konstantin Ritt -Date: Sat Nov 7 01:58:38 2015 +0400 - - Nano optimization to hb_utf16_t and hb_utf32_t ::next() - - src/hb-utf-private.hh | 17 ++++++----------- - 1 file changed, 6 insertions(+), 11 deletions(-) - -commit a6d7668a954a763a053f8af8edbff4731aa43729 -Author: Behdad Esfahbod -Date: Fri Nov 6 09:46:54 2015 -0800 - - [fuzzing] Cap max buffer len at 128 - - test/fuzzing/Makefile.am | 1 + - 1 file changed, 1 insertion(+) - -commit f1c4adbcd3f6275e81e118ddadc9396f82daeccf -Author: Behdad Esfahbod -Date: Fri Nov 6 09:46:05 2015 -0800 - - Fix typo - - src/hb-buffer-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 68b507a3c3c62c28c38e13fee733702bb703b6ca -Author: Behdad Esfahbod -Date: Fri Nov 6 00:09:26 2015 -0800 - - Make sure we make progress in OOM situations - - src/hb-buffer-private.hh | 7 ++----- - src/hb-buffer.cc | 31 +++++++++++++++++++++++-------- - 2 files changed, 25 insertions(+), 13 deletions(-) - -commit 5a7eb5d4d862f402136044c19ead87ad098bd78f -Author: Behdad Esfahbod -Date: Fri Nov 6 00:01:24 2015 -0800 - - [fuzzing] Add test case for OOM - - From https://github.com/behdad/harfbuzz/issues/161 - - .../sha1sum/3511ff5c1647150595846ac414c595cccac34f18.ttf | Bin 0 -> 1483 bytes - test/shaping/fonts/sha1sum/MANIFEST | 2 +- - test/shaping/tests/fuzzed.tests | 1 + - 3 files changed, 2 insertions(+), 1 deletion(-) - -commit f0599db761d7fc2d585d86e757a797f75ebc7499 -Author: Behdad Esfahbod -Date: Thu Nov 5 23:52:41 2015 -0800 - - Fix hang in OOM situations - - Fixes https://github.com/behdad/harfbuzz/issues/161 - - src/hb-buffer-private.hh | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -commit f92bd86cc8c11d262d1830c631cb7c63fc9d4bc8 -Author: Behdad Esfahbod -Date: Thu Nov 5 23:52:29 2015 -0800 - - Don't process lookups if buffer is in error - - src/hb-ot-layout.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 4301703bddb63a01651a0d58474bb15ac0ebbcf6 -Author: Behdad Esfahbod -Date: Thu Nov 5 23:44:59 2015 -0800 - - Limit buffer max size growth - - https://github.com/behdad/harfbuzz/issues/161 - - src/hb-buffer-private.hh | 11 +++++++++++ - src/hb-buffer.cc | 8 ++++++++ - src/hb-ot-shape.cc | 6 ++++++ - test/fuzzing/Makefile.am | 2 ++ - 4 files changed, 27 insertions(+) - -commit 19300183a6f0bac0d23f7a994b40a51e9c90d6e1 -Author: Behdad Esfahbod -Date: Thu Nov 5 23:08:50 2015 -0800 - - [fuzzing] Add build system - - configure.ac | 1 + - test/Makefile.am | 2 +- - test/fuzzing/Makefile.am | 44 ++++++++++++++++++++++++++++++++++++++++++++ - test/fuzzing/README | 2 ++ - test/fuzzing/hb-fuzzer.cc | 4 ++-- - 5 files changed, 50 insertions(+), 3 deletions(-) - -commit 9c9ad214af43685b00f6d8493b7807d6607d4e2d -Author: Behdad Esfahbod -Date: Thu Nov 5 22:50:52 2015 -0800 - - [fuzzer] Add README - - https://github.com/behdad/harfbuzz/issues/139#issuecomment-154202645 - - test/fuzzing/README | 21 +++++++++++++++++++++ - 1 file changed, 21 insertions(+) - -commit 6e6f82b6f3dde0fc6c3c7d991d9ec6cfff57823d -Author: Behdad Esfahbod -Date: Thu Nov 5 17:29:03 2015 -0800 - - Implement SYRIAC ABBREVIATION MARK with 'stch' feature - - The feature is enabled for any character in the Arabic shaper. - We should experiment with using it for Arabic subtending marks. - Though, that has a directionality problem as well, since those - are used with digits... - - Fixes https://github.com/behdad/harfbuzz/issues/141 - - src/hb-ot-shape-complex-arabic.cc | 219 ++++++++++++++++++++- - src/hb-unicode-private.hh | 19 ++ - .../shaper-arabic/script-syriac/misc/MANIFEST | 1 + - .../script-syriac/misc/abbreviation-mark.txt | 11 ++ - 4 files changed, 244 insertions(+), 6 deletions(-) - -commit c743ec5886a1f6d57de26da33a770a8706be83d6 -Author: Behdad Esfahbod -Date: Thu Nov 5 17:33:57 2015 -0800 - - [ft] Fix extents with negative scales - - Fixes https://github.com/behdad/harfbuzz/issues/162 - - src/hb-ft.cc | 10 ++++++++++ - 1 file changed, 10 insertions(+) - -commit 73fec3992acb492829bde1d885f1ebeed8dcc133 -Author: Behdad Esfahbod -Date: Thu Nov 5 15:22:18 2015 -0800 - - Reserve a few scratch-flags bits for complex shapers - - src/hb-buffer-private.hh | 5 +++++ - 1 file changed, 5 insertions(+) - -commit 136863371c1402769426d892aef1b92f9ca1a25e -Author: Behdad Esfahbod -Date: Thu Nov 5 13:24:15 2015 -0800 - - Add new shaper method postprocess_glyphs() - - Unused currently. To be used for Syriac stretch implementation. - - https://github.com/behdad/harfbuzz/issues/141 - - src/hb-ot-shape-complex-arabic.cc | 3 ++- - src/hb-ot-shape-complex-default.cc | 1 + - src/hb-ot-shape-complex-hangul.cc | 7 ++++--- - src/hb-ot-shape-complex-hebrew.cc | 1 + - src/hb-ot-shape-complex-indic.cc | 1 + - src/hb-ot-shape-complex-myanmar.cc | 2 ++ - src/hb-ot-shape-complex-private.hh | 9 +++++++++ - src/hb-ot-shape-complex-thai.cc | 1 + - src/hb-ot-shape-complex-tibetan.cc | 1 + - src/hb-ot-shape-complex-use.cc | 1 + - src/hb-ot-shape.cc | 9 ++++++--- - 11 files changed, 29 insertions(+), 7 deletions(-) - -commit 6c0ebd02c99e7536975ba7194832a1f33abd7faf -Author: Behdad Esfahbod -Date: Thu Nov 5 11:37:48 2015 -0800 - - [util] If font has color, generate PNG with color - - util/helper-cairo.cc | 33 ++++++++++++++++++++++++++------- - util/helper-cairo.hh | 6 +++++- - util/view-cairo.cc | 7 ++++++- - 3 files changed, 37 insertions(+), 9 deletions(-) - -commit e95eb23a4ee920eab1e2f4eec9cf490bb431452c -Author: Behdad Esfahbod -Date: Wed Nov 4 22:55:11 2015 -0800 - - Don't try zeroing marks by GDEF if there are no non-ASCII - - This one is a hack, but should be ok. - - src/hb-ot-shape.cc | 4 ++++ - 1 file changed, 4 insertions(+) - -commit 7fa54ed75aa30ae1d6ee9136ccb83b630c24fb65 -Author: Behdad Esfahbod -Date: Wed Nov 4 22:54:49 2015 -0800 - - Don't try zeroing mark attachments by Unicode if there's no non-ASCII - - src/hb-ot-shape.cc | 3 +++ - 1 file changed, 3 insertions(+) - -commit 550bd14d2b21ec2a2b509ff42f4df4341dbf2d46 -Author: Behdad Esfahbod -Date: Wed Nov 4 22:58:58 2015 -0800 - - Actually commit changes for previous commit - - src/hb-buffer-private.hh | 2 ++ - src/hb-ot-layout-gpos-table.hh | 15 ++++++++------- - 2 files changed, 10 insertions(+), 7 deletions(-) - -commit ff31b3c1b8a2a21b57dba37eb5bb5db0579e0640 -Author: Behdad Esfahbod -Date: Wed Nov 4 22:42:41 2015 -0800 - - Skip GPOS cursive / attachment adjustmnent if none happened - - I'm starting to really like how free these new scratch_flags are. - - src/hb-ot-layout-gpos-table.hh | 3 +++ - 1 file changed, 3 insertions(+) - -commit 0f407325f6923db11d332585e8250e3646cb74d6 -Author: Behdad Esfahbod -Date: Wed Nov 4 22:28:44 2015 -0800 - - Minor - - src/hb-ot-shape.cc | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit 497a6c2071cd0638e4c6af07621d01335fd963a9 -Author: Behdad Esfahbod -Date: Wed Nov 4 22:24:19 2015 -0800 - - Skip forming clusters if text is all ASCII - - src/hb-ot-shape.cc | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 28de104f15b80df4b678267c4488b7d09a42720c -Author: Behdad Esfahbod -Date: Wed Nov 4 22:00:25 2015 -0800 - - Move variable-sized struct member to end - - Hopefully makes clang build happy - - src/hb-font-private.hh | 21 ++++++++++----------- - src/hb-font.cc | 20 ++++++++++++++++++++ - 2 files changed, 30 insertions(+), 11 deletions(-) - -commit 5bc28b5f688ee90d103d052e98bc15d6e0e7e0b1 -Author: Behdad Esfahbod -Date: Wed Nov 4 21:53:16 2015 -0800 - - Optimize positioning for when h_origin is nil - - src/hb-ot-shape.cc | 38 ++++++++++++++++++++------------------ - 1 file changed, 20 insertions(+), 18 deletions(-) - -commit 762770c964f9f0591bf4c44427f73ea3e1c51733 -Author: Behdad Esfahbod -Date: Wed Nov 4 21:42:55 2015 -0800 - - Add font->has_...() to check for individual nil font funcs - - Hopefully this wouldn't break any compiler. There was some magic - moments to getting this to compile... - - src/hb-font-private.hh | 19 +++++++++++++++++-- - src/hb-font.cc | 7 +++++++ - 2 files changed, 24 insertions(+), 2 deletions(-) - -commit 88e9a9bcae61421d9dd65715d25e5f20b2847c03 -Author: Behdad Esfahbod -Date: Wed Nov 4 21:16:26 2015 -0800 - - Minor reshaping of hb_font_funcs_t implementation - - In anticipation of further changes. No functional changes. - - src/hb-font-private.hh | 80 ++++++++++++++++++++++++++------------------------ - src/hb-font.cc | 4 +-- - 2 files changed, 43 insertions(+), 41 deletions(-) - -commit a6a7715bac8b0c8f5473b84bc649c315ad4d2d51 -Author: Behdad Esfahbod -Date: Wed Nov 4 20:51:21 2015 -0800 - - Comments - - src/hb-font-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 6c48ec830ffac00a920d047ed77acd1b05549074 -Author: Behdad Esfahbod -Date: Wed Nov 4 20:47:42 2015 -0800 - - [ot] Remove font funcs that do nothing - - src/hb-ot-font.cc | 95 ++++--------------------------------------------------- - 1 file changed, 7 insertions(+), 88 deletions(-) - -commit 75ea2daa1d9bbe235cd4a8570efb1913d58c3c62 -Author: Behdad Esfahbod -Date: Wed Nov 4 20:43:59 2015 -0800 - - [ot] Port ot font funcs to allocated object - - src/hb-ot-font.cc | 47 ++++++++++++++++++++++++++++++++++++++--------- - 1 file changed, 38 insertions(+), 9 deletions(-) - -commit 44f82750807475aa5b16099ccccd917d488df703 -Author: Behdad Esfahbod -Date: Wed Nov 4 20:40:05 2015 -0800 - - [ft] Remove font funcs that do nothing - - src/hb-ft.cc | 29 ++++------------------------- - 1 file changed, 4 insertions(+), 25 deletions(-) - -commit 7918c261efd283e0428ce7836e9e42768a6aa05c -Author: Behdad Esfahbod -Date: Wed Nov 4 20:37:49 2015 -0800 - - [ft] Port ft font funcs to allocated object - - src/hb-ft.cc | 45 ++++++++++++++++++++++++++++++++++++--------- - 1 file changed, 36 insertions(+), 9 deletions(-) - -commit da29b43794cfa3f9a602c34b33c5d8a9c36f87b5 -Author: Behdad Esfahbod -Date: Wed Nov 4 20:22:44 2015 -0800 - - Separate nil font-funcs from parent-peeking font-funcs - - API change: all fonts created with hb_font_create() now inherit from - (ie have parent) hb_font_get_empty(). - - src/hb-font.cc | 211 +++++++++++++++++++++++++++++++++++---------------- - test/api/test-font.c | 2 +- - 2 files changed, 145 insertions(+), 68 deletions(-) - -commit bee901b38ef3c26a04f69c299c8d5e028a0090e9 -Author: Behdad Esfahbod -Date: Wed Nov 4 19:28:17 2015 -0800 - - Optimize positioning direction calculations - - It makes the binary smaller AND faster. Yumm! - - src/hb-font-private.hh | 40 +++++++++++++++++++++++++++++++++++++++ - src/hb-ot-shape.cc | 51 +++++++++++++++++++++++++++----------------------- - 2 files changed, 68 insertions(+), 23 deletions(-) - -commit e3e4bb011ae1a2f1ba05e7ea450595b185304bec -Author: Behdad Esfahbod -Date: Wed Nov 4 18:58:02 2015 -0800 - - Don't do fractions if buffer is ASCII-only - - src/hb-buffer-private.hh | 5 +++-- - src/hb-ot-layout-private.hh | 1 + - src/hb-ot-shape.cc | 3 ++- - 3 files changed, 6 insertions(+), 3 deletions(-) - -commit 6986208ba3b395534f4c7bcfa51df6bf9038f717 -Author: Behdad Esfahbod -Date: Wed Nov 4 18:46:22 2015 -0800 - - Optimize runs without Default_Ignorable's - - Now that we have a buffer-wide scratch flags facility, use it to - optimize away a few passes. - - src/hb-buffer-private.hh | 3 ++- - src/hb-ot-layout-private.hh | 4 +++- - src/hb-ot-shape-normalize.cc | 4 ++-- - src/hb-ot-shape.cc | 10 ++++++---- - src/hb-private.hh | 3 +++ - 5 files changed, 16 insertions(+), 8 deletions(-) - -commit 14c2de321826c36037adde859ccca3e2011325a9 -Author: Behdad Esfahbod -Date: Wed Nov 4 18:00:57 2015 -0800 - - Limit max edits during sanitize to 8 - - Used to be 100. If a tabe needs more than one or two edits, it's - probably completely bogus... - - Might help with speeding up fuzzing for - https://github.com/behdad/harfbuzz/issues/157 - - src/hb-open-type-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 9cbc39aef962a95b0eba32c24ff9c415d1316d56 -Author: Behdad Esfahbod -Date: Wed Nov 4 18:00:53 2015 -0800 - - Minor - - src/hb-ot-shape-normalize.cc | 2 ++ - 1 file changed, 2 insertions(+) - -commit 52e6c4e15893ed1cb0997795912a07b3e446b65a -Author: Behdad Esfahbod -Date: Wed Nov 4 17:45:06 2015 -0800 - - If font doesn't support U+2011, fall back to U+2010 - - Test passes now. - - src/hb-ot-shape-normalize.cc | 10 ++++++++++ - 1 file changed, 10 insertions(+) - -commit 75483aafa6ad02d6391712d082d093823edcd758 -Author: Behdad Esfahbod -Date: Wed Nov 4 17:43:36 2015 -0800 - - Untangle if/else waterfall - - src/hb-ot-shape-normalize.cc | 40 +++++++++++++++++++++++++++------------- - 1 file changed, 27 insertions(+), 13 deletions(-) - -commit 04fd8517f85ae9aa05b44f25578d2b19abfef7cb -Author: Behdad Esfahbod -Date: Wed Nov 4 17:38:22 2015 -0800 - - Add tests for hyphen fallback - - U+2011 is equivaent of U+2010, so we should do the fallback - for it. Currently fails. - - test/shaping/Makefile.am | 1 + - .../sha1sum/1c04a16f32a39c26c851b7fc014d2e8d298ba2b8.ttf | Bin 0 -> 820 bytes - test/shaping/fonts/sha1sum/MANIFEST | 2 ++ - test/shaping/tests/MANIFEST | 1 + - test/shaping/tests/hyphens.tests | 2 ++ - 5 files changed, 6 insertions(+) - -commit 550417117da7e14457a11f49a20145311f58587b -Author: Behdad Esfahbod -Date: Wed Nov 4 17:37:30 2015 -0800 - - [test] Drop hintings when subsetting fonts to record - - test/shaping/record-test.sh | 1 + - 1 file changed, 1 insertion(+) - -commit 49ef630936325b2e56a870fcef9aa8473a8f8526 -Author: Behdad Esfahbod -Date: Wed Nov 4 17:27:07 2015 -0800 - - Adjust the width of various spaces if font does not cover them - - See discussion here: - https://github.com/behdad/harfbuzz/commit/81ef4f407d9c7bd98cf62cef951dc538b13442eb - - There's no way to disable this fallback, but I don't think it would - be needed. Let's hope for the best! - - Fixes https://github.com/behdad/harfbuzz/issues/153 - - src/hb-buffer-private.hh | 7 ++++ - src/hb-buffer.cc | 2 ++ - src/hb-ot-shape-fallback-private.hh | 4 +++ - src/hb-ot-shape-fallback.cc | 67 +++++++++++++++++++++++++++++++++++++ - src/hb-ot-shape-normalize.cc | 1 + - src/hb-ot-shape.cc | 3 ++ - src/hb-unicode-private.hh | 56 +++++++++++++++++-------------- - test/shaping/tests/spaces.tests | 24 ++++++------- - 8 files changed, 126 insertions(+), 38 deletions(-) - -commit aa7044de0ceacd71cab19212d266c3a66c03b41e -Author: Behdad Esfahbod -Date: Wed Nov 4 16:25:57 2015 -0800 - - Generalize flags types - - src/hb-buffer-private.hh | 3 +++ - src/hb-ot-layout-common-private.hh | 5 +++++ - src/hb-ot-layout-private.hh | 8 +++++--- - src/hb-ot-map-private.hh | 16 +--------------- - src/hb-ot-shape.cc | 2 +- - src/hb-private.hh | 14 ++++++++++++++ - 6 files changed, 29 insertions(+), 19 deletions(-) - -commit 7793aad946e09b53523b30d57de85abd1d15f8b6 -Author: Behdad Esfahbod -Date: Wed Nov 4 14:48:46 2015 -0800 - - Normalize various spaces to space if font doesn't support - - This resurrects the space fallback feature, after I disabled - the compatibility decomposition. Now I can release HarfBuzz - again without breaking Pango! - - It also remembers which space character it was, such that later - on we can approximate the width of this particular space - character. That part is not implemented yet. - - We normalize all GC=Zs chars except for U+1680 OGHA SPACE MARK, - which is better left alone. - - src/hb-ot-layout-private.hh | 47 +++------------------ - src/hb-ot-shape-normalize.cc | 12 +++++- - src/hb-unicode-private.hh | 40 ++++++++++++++++++ - test/shaping/Makefile.am | 1 + - .../1c2c3fc37b2d4c3cb2ef726c6cdaaabd4b7f3eb9.ttf | Bin 0 -> 316 bytes - test/shaping/fonts/sha1sum/MANIFEST | 1 + - test/shaping/tests/MANIFEST | 1 + - test/shaping/tests/spaces.tests | 17 ++++++++ - 8 files changed, 76 insertions(+), 43 deletions(-) - -commit 8b3c7f9ede77052225cff8495d660860bf9c7629 -Author: Behdad Esfahbod -Date: Wed Nov 4 15:30:48 2015 -0800 - - [test] Support recording multiple lines of text in record-test.sh - - test/shaping/record-test.sh | 15 +++++++++++++-- - 1 file changed, 13 insertions(+), 2 deletions(-) - -commit 85658394809fe0593ab5dfb30fd96118765c7dc5 -Author: Behdad Esfahbod -Date: Wed Nov 4 14:46:52 2015 -0800 - - Protect against possible invalid-memory access after OOM - - src/hb-buffer-private.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 4cc80bed25450af3d84a30ea417fa9275b15e014 -Author: Behdad Esfahbod -Date: Wed Nov 4 14:46:10 2015 -0800 - - Fix typo! - - Ouch! Fortunately that function was unused. - - src/hb-buffer-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 9ac4b9656dd78ffd129bc3d560a92e2692bc3058 -Author: Behdad Esfahbod -Date: Wed Nov 4 14:18:39 2015 -0800 - - Add Unicode space category - - Unused so far. - - src/hb-ot-layout-private.hh | 78 +++++++++++++++++++++++++++++++++++++++++++-- - 1 file changed, 76 insertions(+), 2 deletions(-) - -commit 8249ec3f86510fd24462ce71ed64a6978f0ade17 -Author: Behdad Esfahbod -Date: Wed Nov 4 13:26:17 2015 -0800 - - Make top-byte of unicode_props available to be used differently per-GC - - src/hb-ot-layout-private.hh | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit cc5d3a33882b52f906ee4346707700f5e846d2ac -Author: Behdad Esfahbod -Date: Wed Nov 4 13:21:25 2015 -0800 - - Towards using top-byte of unicode-props for more things - - src/hb-ot-layout-gsubgpos-private.hh | 1 - - src/hb-ot-layout-private.hh | 3 ++- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit 2f38dde5a1ea5459789fabaee661cae9235d204e -Author: Behdad Esfahbod -Date: Wed Nov 4 13:17:33 2015 -0800 - - Add _hb_glyph_info_is_unicode_mark() - - Unused right now. - - src/hb-ot-layout-private.hh | 6 ++++++ - 1 file changed, 6 insertions(+) - -commit 90d75f93bb85aeb627c4e6bb9e4cbd75895c99f7 -Author: Behdad Esfahbod -Date: Tue Nov 3 12:58:12 2015 -0800 - - Tighten ccc-setting a bit and document it - - src/hb-ot-layout-private.hh | 12 +++++++++++- - src/hb-unicode-private.hh | 5 +++++ - 2 files changed, 16 insertions(+), 1 deletion(-) - -commit 2f0dfd43cdc2259e6117704f8077ab6951c761e5 -Author: Behdad Esfahbod -Date: Tue Nov 3 12:28:34 2015 -0800 - - Fix test expectation - - test/shaping/tests/fuzzed.tests | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit df698f3299d92867e3305715f675b2621c316acd -Author: Behdad Esfahbod -Date: Tue Nov 3 12:15:12 2015 -0800 - - [ot-font] Fix hmtx table length checking, *again* - - Exactly the same problem that I fixed in - 63ef0b41dc48d6112d1918c1b1de9de8ea90adb5 - - I rewrote the table checking yesterday in - 67f8821fb25d9bd55719f5e29a582ae1af4b02b3 - and introduced the exact same issue again. :( - Good thing we have ongoing fuzzing going now. Was discovered - immediately by libFuzzer. Thanks kcc! - - https://github.com/behdad/harfbuzz/issues/139#issuecomment-153449473 - Fixes https://github.com/behdad/harfbuzz/issues/156 - - src/hb-ot-font.cc | 4 ++-- - .../sha1sum/8240789f6d12d4cfc4b5e8e6f246c3701bcf861f.ttf | Bin 0 -> 633 bytes - test/shaping/fonts/sha1sum/MANIFEST | 1 + - test/shaping/tests/fuzzed.tests | 1 + - 4 files changed, 4 insertions(+), 2 deletions(-) - -commit 3530cc2d7c3b7102902cb0e38b0bf9f46188078d -Author: Behdad Esfahbod -Date: Tue Nov 3 11:34:47 2015 -0800 - - [util] Fix option-parsing leaks - - util/helper-cairo.cc | 7 +++++-- - util/main-font-text.hh | 22 ++++++++++++++++++--- - util/options.cc | 21 ++++++++++---------- - util/options.hh | 53 +++++++++++++++++++++++++++++++++----------------- - 4 files changed, 70 insertions(+), 33 deletions(-) - -commit 642135f3b2d6d6eb800153c76c4718239733c0e6 -Author: Behdad Esfahbod -Date: Tue Nov 3 11:26:34 2015 -0800 - - [util] In --debug mode, duplicate font data - - This has the effect that the font data will end up in a memory - section malloc()ed exactly to its size. This gives us better - valgrind detection of out-of-bounds access. - - Previously, the font data was placed in a mmap()ed section or - GString-allocated area, which didn't have proper protections - at the end when running under valgrind. - - util/options.cc | 3 +++ - 1 file changed, 3 insertions(+) - -commit ed2024ef93ac3af214082016e5aa8c14db9d7515 -Author: Behdad Esfahbod -Date: Mon Nov 2 17:58:12 2015 -0800 - - [perf] Micro-optimize - - src/hb-ot-layout-private.hh | 23 ++++++++++++++--------- - 1 file changed, 14 insertions(+), 9 deletions(-) - -commit 76a5310a830c7ae12037b768c5043bef0ff733a0 -Author: Behdad Esfahbod -Date: Mon Nov 2 17:52:45 2015 -0800 - - Remove irrelevant comment - - I tried moving the is_default_ignorable() function to an INTERNAL - function. That made the binary size grow by 5k AND things got a - tad bit slower! - - src/hb-ot-layout-private.hh | 1 - - 1 file changed, 1 deletion(-) - -commit 8259669fbd1b070fc02287325894caf1bc4d590e -Author: Behdad Esfahbod -Date: Mon Nov 2 17:44:05 2015 -0800 - - Minor - - src/hb-ot-layout-gsubgpos-private.hh | 2 +- - src/hb-ot-shape-complex-thai.cc | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit 9382c471eabce8d36d3a73c97499ab60af422716 -Author: Behdad Esfahbod -Date: Mon Nov 2 17:36:51 2015 -0800 - - Combine unicode_props0/1 into a uint16 - - Slightly faster. In prep for more changes. - - src/hb-ot-layout-private.hh | 55 ++++++++++++++++++++++++--------------------- - 1 file changed, 29 insertions(+), 26 deletions(-) - -commit 71277185454482cff9b0c10b85c416eb4d6e0ed9 -Author: Behdad Esfahbod -Date: Mon Nov 2 17:27:48 2015 -0800 - - [perf] Only call combining_class() for marks - - Saves some time. Also preparing for reusing the ccc byte for other stuff. - - src/hb-ot-layout-private.hh | 14 ++++++++------ - 1 file changed, 8 insertions(+), 6 deletions(-) - -commit 5ba450407b9d9856453e63a815499da8721ff6a7 -Author: Behdad Esfahbod -Date: Mon Nov 2 15:43:08 2015 -0800 - - Make max context-length and max nesting level configurable - - ...at compile time. - - src/hb-ot-layout-common-private.hh | 10 ++++++++-- - src/hb-ot-layout-gsub-table.hh | 4 ++-- - src/hb-ot-layout-gsubgpos-private.hh | 20 ++++++++++---------- - 3 files changed, 20 insertions(+), 14 deletions(-) - -commit 67f8821fb25d9bd55719f5e29a582ae1af4b02b3 -Author: Behdad Esfahbod -Date: Mon Nov 2 15:37:29 2015 -0800 - - [ot] Make bad-hmtx handling match FreeType - - Also route fuzzing-related tests through hb-ot-font, to reduce dependency - on FreeType behavior for badly-broken fonts. Fixes failing test with - FreeType master. - - src/hb-ot-font.cc | 24 ++++++++++++++---------- - test/shaping/tests/fuzzed.tests | 10 +++++----- - 2 files changed, 19 insertions(+), 15 deletions(-) - -commit 672ca3b4e65a75fb3a418ec5d117ad242a98acbb -Author: Behdad Esfahbod -Date: Mon Oct 26 14:05:05 2015 -0700 - - Use templates for making sure expression is constant - - src/hb-private.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 5c8174eda32c08187bc2ed40eefa1017f5b40668 -Author: Behdad Esfahbod -Date: Wed Oct 21 18:51:40 2015 -0200 - - Update comments for removal of compat decompositions - - src/hb-ot-shape-normalize.cc | 16 ++-------------- - 1 file changed, 2 insertions(+), 14 deletions(-) - -commit f6799700404c49ae0a6018fd51be19551c76768a -Author: Behdad Esfahbod -Date: Wed Oct 21 17:20:55 2015 -0200 - - Disable compatibility decomposition usage during normalization - - Fixes https://github.com/behdad/harfbuzz/issues/152 - - src/hb-ot-shape-normalize.cc | 24 ------------------------ - 1 file changed, 24 deletions(-) - -commit ce889189c1f8ef5b400a17f623dcb8b935d1102b -Author: Behdad Esfahbod -Date: Wed Oct 21 11:23:12 2015 -0200 - - Fix two more -Wshadow warnings - - https://bugzilla.mozilla.org/show_bug.cgi?id=1215894 - - src/hb-open-type-private.hh | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -commit 4a6b1eedbb0044b57505eea65a329d2dc4f9f917 -Author: Behdad Esfahbod -Date: Wed Oct 21 11:20:55 2015 -0200 - - Fix one more -Wshadow warning - - https://bugzilla.mozilla.org/show_bug.cgi?id=1215894 - - src/hb-ot-layout-gsubgpos-private.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 6f932bc8f9045b224613a617af2b4f3450c79467 -Author: Behdad Esfahbod -Date: Wed Oct 21 11:16:49 2015 -0200 - - Fix a few more -Wshadow-local warnings - - https://bugzilla.mozilla.org/show_bug.cgi?id=1215894 - - src/hb-ot-shape-complex-indic.cc | 10 +++++----- - src/hb-ot-shape-complex-myanmar.cc | 10 +++++----- - src/hb-ot-shape-complex-use.cc | 10 +++++----- - 3 files changed, 15 insertions(+), 15 deletions(-) - -commit b90cb366d7723c28758c6b75a0770613fbb5456e -Author: Behdad Esfahbod -Date: Wed Oct 21 11:13:21 2015 -0200 - - Fix one -Wshadow-compatible-local warning - - From https://bugzilla.mozilla.org/show_bug.cgi?id=1215894 - - src/hb-ot-shape-complex-indic.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 50e5750bd8670b4cf4463471a2348d4c99c9d054 -Author: Behdad Esfahbod -Date: Wed Oct 21 11:10:10 2015 -0200 - - Avoid unnecessary cast to 64-bit - - Fixes https://github.com/behdad/harfbuzz/issues/146 - - Or I think it should. - - src/hb-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 305d2fbf5a2db51447c8ed894a48a88896930673 -Author: Behdad Esfahbod -Date: Wed Oct 21 11:04:28 2015 -0200 - - Add HB_FALLTHROUGH - - Borrowed from https://bugzilla.mozilla.org/show_bug.cgi?id=1215411 - - src/hb-ot-shape-complex-indic.cc | 2 +- - src/hb-ot-shape-complex-thai.cc | 2 +- - src/hb-ot-shape-fallback.cc | 4 +++- - src/hb-private.hh | 30 ++++++++++++++++++++++++++++++ - 4 files changed, 35 insertions(+), 3 deletions(-) - -commit f35b3e931ddacd075c5d0810e9b17de07b232ee2 -Author: Ebrahim Byagowi -Date: Fri Sep 11 09:48:12 2015 +0430 - - Add a prototype of DirectWrite as a shaping backend - - src/hb-directwrite.cc | 827 ++++++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-directwrite.h | 34 +++ - src/hb-shaper-list.hh | 3 + - 3 files changed, 864 insertions(+) - -commit 6486e3755482563ecd89aeb3f8348ed190945e26 -Author: Behdad Esfahbod -Date: Tue Oct 20 16:39:41 2015 -0200 - - Fix typo - - Makefile.am | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 753ea7b90904c951c199861409458bea182abb37 -Author: Behdad Esfahbod -Date: Tue Oct 20 15:21:18 2015 -0200 - - Add BUILD.md to dist - - Makefile.am | 1 + - 1 file changed, 1 insertion(+) - -commit 5d7a30fde09320c2c62c7c73570ce3f2e298eba6 -Merge: 904b0dc38 2fb95a0c9 -Author: Behdad Esfahbod -Date: Tue Oct 20 15:19:41 2015 -0200 - - Merge pull request #148 from ebraminio/inst - - Add BUILD.md based on harfbuzz.org docs - -commit 904b0dc3811464cf61dc9457664de95ee4f61a86 -Merge: 86cadc2cd ba096bcc2 -Author: Behdad Esfahbod -Date: Mon Oct 19 16:59:43 2015 -0200 - - Merge pull request #147 from ebraminio/dockerci - - [ci] change to docker infrastructure - -commit ba096bcc28ca80e2096e0a15191848fcd175e395 -Author: Ebrahim Byagowi -Date: Mon Oct 19 21:41:01 2015 +0330 - - [ci] change to docker infrastructure - - .travis.yml | 24 ++++++++++++++++-------- - 1 file changed, 16 insertions(+), 8 deletions(-) - -commit 2fb95a0c9d2cb8b03b7c158706d6b0e41283a6df -Author: Ebrahim Byagowi -Date: Mon Oct 19 22:02:12 2015 +0330 - - Add BUILD.md based on harfbuzz.org docs - - BUILD.md | 25 +++++++++++++++++++++++++ - 1 file changed, 25 insertions(+) - -commit 86cadc2cd4171050e9d74306b76c42f6ec74b861 -Author: Behdad Esfahbod -Date: Thu Oct 15 20:25:29 2015 -0300 - - 1.0.6 - - NEWS | 13 +++++++++++++ - configure.ac | 2 +- - 2 files changed, 14 insertions(+), 1 deletion(-) - -commit ca97ea7aa2cb7186f432aaba76f4f151aa90c1d0 -Author: Behdad Esfahbod -Date: Thu Oct 15 20:20:22 2015 -0300 - - [ft] Revert change-of-behavior of hb_ft_font_create() introduced in 1.0.5 - - The default FreeType load flags where changed from FT_LOAD_NO_HINTING - to FT_LOAD_DEFAULT in 2a9627c5641cd000e2adff0e42a0dc687b53ec70. - This is crashing HarfBuzz-enabled FreeType as I suppose it causes - infinite recursion between HB and FT autohinter... - - Revert the behavior change. - - Fixes https://github.com/behdad/harfbuzz/issues/143 - - src/hb-ft.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 338ffec9e4a5819f2be21c3a320a567378c977b1 -Author: Behdad Esfahbod -Date: Thu Oct 15 12:55:57 2015 -0300 - - Add tests for a couple of fixed issues found by libFuzzer - - From: - https://github.com/behdad/harfbuzz/issues/139#issuecomment-147616887 - https://github.com/behdad/harfbuzz/issues/139#issuecomment-148289957 - - .../sha1sum/375d6ae32a3cbe52fbf81a4e5777e3377675d5a3.ttf | Bin 0 -> 1024 bytes - .../sha1sum/641bd9db850193064d17575053ae2bf8ec149ddc.ttf | Bin 0 -> 305 bytes - test/shaping/fonts/sha1sum/MANIFEST | 2 ++ - test/shaping/tests/fuzzed.tests | 2 ++ - 4 files changed, 4 insertions(+) - -commit 63ef0b41dc48d6112d1918c1b1de9de8ea90adb5 -Author: Behdad Esfahbod -Date: Thu Oct 15 12:47:22 2015 -0300 - - [ot-font] Fix hmtx wrong table length check - - Discovered by libFuzzer. Ouch! - - https://github.com/behdad/harfbuzz/issues/139#issuecomment-148289957 - - src/hb-ot-font.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 613e630617074eb9b62b794cc37c9b42a7fb079b -Author: Behdad Esfahbod -Date: Tue Oct 13 23:33:28 2015 -0300 - - Reduce max nesting level from 8 to 6 - - We probably should implement better system to catch cyclic lookups. - But for now, this speeds up worst case behavior with broken fonts - considerably without compromising legitimate usecases. - - https://github.com/behdad/harfbuzz/issues/139#issuecomment-147788447 - - src/hb-ot-layout-common-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit ab170529246ad80830bef2b3c8b48e9a8d2b7483 -Author: Behdad Esfahbod -Date: Tue Oct 13 10:55:33 2015 -0300 - - 1.0.5 - - NEWS | 24 ++++++++++++++++++++++++ - configure.ac | 2 +- - 2 files changed, 25 insertions(+), 1 deletion(-) - -commit ed13e2ce509408f849255be1d3cc3dbd7dbb3ba2 -Author: Behdad Esfahbod -Date: Tue Oct 13 10:32:56 2015 -0300 - - [ot-font] Fix leak - - https://github.com/behdad/harfbuzz/issues/139#issuecomment-147616887 - - src/hb-ot-font.cc | 1 + - 1 file changed, 1 insertion(+) - -commit 55db94be2b754ba9b9121f09abcf8496c798affc -Author: Behdad Esfahbod -Date: Tue Oct 13 00:33:59 2015 -0400 - - Add test for previous commit - - .../sha1sum/0509e80afb379d16560e9e47bdd7d888bebdebc6.ttf | Bin 0 -> 61 bytes - test/shaping/fonts/sha1sum/MANIFEST | 1 + - test/shaping/tests/fuzzed.tests | 1 + - 3 files changed, 2 insertions(+) - -commit f96664974774bfeb237a7274f512f64aaafb201e -Author: Behdad Esfahbod -Date: Tue Oct 13 00:30:50 2015 -0400 - - Fix another memory access issue discovered by libFuzzer - - Fixes https://github.com/behdad/harfbuzz/issues/139#issuecomment-146984679 - - src/hb-ot-layout-gpos-table.hh | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit c1a5dc46c2231f7b62421e06b9766ccfebaf3ef5 -Author: Behdad Esfahbod -Date: Mon Oct 12 17:39:52 2015 -0400 - - [fuzz] Add fuzzing script from kcc@ - - https://github.com/behdad/harfbuzz/issues/139 - - test/fuzzing/hb-fuzzer.cc | 47 +++++++++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 47 insertions(+) - -commit cc6ea308d4c99b9dd6d625fa3a9b0ef62fa2614f -Author: Behdad Esfahbod -Date: Mon Oct 12 17:21:52 2015 -0400 - - Extern "C" custom-allocator declerations - - src/hb-private.hh | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 98c6fccc00062ead7a86892dd059aa13d266b981 -Author: Behdad Esfahbod -Date: Sun Oct 11 21:41:04 2015 -0400 - - Add test for ee9b0b6cb5fdb08671ab064f26c299135f828260 - - .../sha1sum/5a5daf5eb5a4db77a2baa3ad9c7a6ed6e0655fa8.ttf | Bin 0 -> 61 bytes - test/shaping/fonts/sha1sum/MANIFEST | 1 + - test/shaping/tests/fuzzed.tests | 1 + - 3 files changed, 2 insertions(+) - -commit 50f489a0a013fc589626bb532a9f64f50bb41f58 -Author: Behdad Esfahbod -Date: Sun Oct 11 20:59:29 2015 -0400 - - Typo - - src/hb-font-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit ee9b0b6cb5fdb08671ab064f26c299135f828260 -Author: Behdad Esfahbod -Date: Fri Oct 9 14:23:15 2015 -0400 - - Fix another sanitize bug - - Also discovered by "libFuzzer". - - src/hb-open-type-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 34379b49e6922b86c15ee62f7fe3bf016cdc2514 -Author: Behdad Esfahbod -Date: Fri Oct 9 12:34:02 2015 -0400 - - Add test for previous fix - - test/shaping/Makefile.am | 1 + - .../sha1sum/1a6f1687b7a221f9f2c834b0b360d3c8463b6daf.ttf | Bin 0 -> 64 bytes - test/shaping/fonts/sha1sum/MANIFEST | 1 + - test/shaping/tests/MANIFEST | 1 + - test/shaping/tests/fuzzed.tests | 1 + - 5 files changed, 4 insertions(+) - -commit f396fbb000dc1c8acddbf6a16e193b328c5e551e -Author: Behdad Esfahbod -Date: Fri Oct 9 12:25:55 2015 -0400 - - Fix return value of sanitize when subformat is not readable - - This is a fix on top of the previous issue fixed in - c917965b9e6fe2b21ed6c51559673288fa3af4b7. - - This was caught by "libFuzzer" testing. - - src/hb-open-type-private.hh | 2 ++ - src/hb-ot-layout-gpos-table.hh | 15 +++++++-------- - src/hb-ot-layout-gsub-table.hh | 13 ++++++------- - src/hb-ot-layout-gsubgpos-private.hh | 8 ++++---- - 4 files changed, 19 insertions(+), 19 deletions(-) - -commit 77a1a2bc18e7b04d4e352a8777ccce345b2f8659 -Author: Behdad Esfahbod -Date: Fri Oct 9 12:20:58 2015 -0400 - - Add hb_dispatch_context_t - - src/hb-open-type-private.hh | 26 ++++++++++++++++++++++---- - src/hb-ot-layout-gsubgpos-private.hh | 36 ++++++++++++------------------------ - src/hb-ot-layout.cc | 8 +++----- - 3 files changed, 37 insertions(+), 33 deletions(-) - -commit 3e905e396bcd745bda88e751998a76556c5cb8c6 -Author: Behdad Esfahbod -Date: Thu Oct 8 12:51:02 2015 -0400 - - Add hb_font_set_parent() - - No reason to not have it. Makes life easier later. - We (hb-ft, hb-ot-font, etc) can use this API to inject new - parent into a font... - - src/hb-font.cc | 26 ++++++++++++++++++++++++++ - src/hb-font.h | 4 ++++ - test/api/test-font.c | 12 ++++++++++++ - 3 files changed, 42 insertions(+) - -commit edeb3dabf4a589d67c3f1da7ba43a74e4d3a9afd -Author: Behdad Esfahbod -Date: Thu Oct 8 12:47:15 2015 -0400 - - [ft] Add version for new API - - src/hb-ft.cc | 18 ++++++++++++++++++ - 1 file changed, 18 insertions(+) - -commit 2a9627c5641cd000e2adff0e42a0dc687b53ec70 -Author: Behdad Esfahbod -Date: Wed Oct 7 17:33:20 2015 -0400 - - [ft] API: Add hb_font_[sg]et_load_flags() API - - This changes the default load_flags of fonts created using - hb_ft_font_create() from NO_HINTING to DEFAULT. Hope that doesn't - break too much client code. - - Code calling hb_ft_font_set_funcs() is unaffected. - - src/hb-ft.cc | 163 +++++++++++++++++++++++++++++++++++++++-------------------- - src/hb-ft.h | 13 +++-- - 2 files changed, 118 insertions(+), 58 deletions(-) - -commit 3224a594dcf2164b5585b4ccba34f244af3f61b9 -Author: Behdad Esfahbod -Date: Wed Oct 7 17:33:02 2015 -0400 - - Minor - - src/hb-ot-font.cc | 5 ++--- - 1 file changed, 2 insertions(+), 3 deletions(-) - -commit 52b418555b62a3b25399f202c1fa72ab7288c224 -Author: Behdad Esfahbod -Date: Sat Oct 3 13:20:55 2015 +0100 - - Allow compiling with custom allocators - - User can define hb_malloc_impl, etc, to name of custom allocator functions - that have the same signature as malloc. - - src/hb-private.hh | 17 +++++++++++++++++ - 1 file changed, 17 insertions(+) - -commit 88da7bba9fa4665b33f5bfcd45add7443097eaf3 -Author: Behdad Esfahbod -Date: Fri Oct 2 14:38:20 2015 +0100 - - Default font scale to face upem - - Makes for a better default and avoids nasty inheritance issues. - See mailing list thread "Default hb_font_t scale". - - src/hb-font.cc | 2 ++ - test/api/test-font.c | 13 ++++++++----- - 2 files changed, 10 insertions(+), 5 deletions(-) - -commit 1866e17114b41d565eb066e7d9393c2ff3e0a12b -Author: Behdad Esfahbod -Date: Fri Oct 2 14:21:29 2015 +0100 - - Make hb_font_create_sub_font() NOT make parent immutable - - We don't rely on that. However, whenever hb_font_make_immutable() - is called, it makes its parenting chain immutable. - - src/hb-font.cc | 4 +++- - test/api/test-font.c | 21 +++++++++++++++------ - 2 files changed, 18 insertions(+), 7 deletions(-) - -commit 980e25cad2e58c31f5361862b9223d94ec47fc7a -Author: Behdad Esfahbod -Date: Fri Oct 2 08:21:12 2015 +0100 - - Fix hb-ot-shape-normalize with empty buffer - - Part of https://github.com/behdad/harfbuzz/issues/136 - - src/hb-ot-shape-normalize.cc | 2 ++ - 1 file changed, 2 insertions(+) - -commit a5efaac4ff61b587f228830b265b39fe8e5e4e47 -Author: Behdad Esfahbod -Date: Fri Oct 2 08:02:29 2015 +0100 - - Replace a couple of malloc()s with calloc() - - src/hb-face.cc | 2 +- - src/hb-shape-plan.cc | 2 +- - src/hb-shaper.cc | 2 +- - 3 files changed, 3 insertions(+), 3 deletions(-) - -commit 26ba4d1e1fb8949632fe08e6a7600badfba4f142 -Author: Behdad Esfahbod -Date: Fri Oct 2 07:25:52 2015 +0100 - - Fix segfault with empty buffer in hb_shape_plan_execute() - - Move the empty-buffer check from hb_shape_full() to hb_shape_plan_execute(). - - Reported by Simon Cozens. - - src/hb-shape-plan.cc | 9 +++++++-- - src/hb-shape.cc | 5 ----- - 2 files changed, 7 insertions(+), 7 deletions(-) - -commit 432ffc47a46d41bea17d839d0d3980e654c6e638 -Author: Behdad Esfahbod -Date: Wed Sep 30 22:51:16 2015 +0100 - - 1.0.4 - - NEWS | 7 +++++++ - configure.ac | 2 +- - 2 files changed, 8 insertions(+), 1 deletion(-) - -commit b47159011ca518c3b94d782ed16a91ffe9dd2ab2 -Author: Behdad Esfahbod -Date: Tue Sep 29 14:57:02 2015 +0100 - - Define return_trace() - - Not functional change (expected!). - - src/hb-open-file-private.hh | 20 +-- - src/hb-open-type-private.hh | 62 +++---- - src/hb-ot-cmap-table.hh | 56 +++---- - src/hb-ot-glyf-table.hh | 4 +- - src/hb-ot-head-table.hh | 2 +- - src/hb-ot-hhea-table.hh | 2 +- - src/hb-ot-hmtx-table.hh | 2 +- - src/hb-ot-layout-common-private.hh | 108 ++++++------- - src/hb-ot-layout-gdef-table.hh | 44 ++--- - src/hb-ot-layout-gpos-table.hh | 252 +++++++++++++++-------------- - src/hb-ot-layout-gsub-table.hh | 304 ++++++++++++++++++----------------- - src/hb-ot-layout-gsubgpos-private.hh | 205 +++++++++++------------ - src/hb-ot-layout-jstf-table.hh | 35 ++-- - src/hb-ot-maxp-table.hh | 5 +- - src/hb-ot-name-table.hh | 14 +- - src/hb-private.hh | 6 +- - 16 files changed, 575 insertions(+), 546 deletions(-) - -commit c917965b9e6fe2b21ed6c51559673288fa3af4b7 -Author: Behdad Esfahbod -Date: Tue Sep 29 14:45:35 2015 +0100 - - Add missing returns - - Fixes possible invalid read of two bytes. - - Reported by Behzad Najjarpour Jabbari, Secunia Research. - - src/hb-ot-layout-gpos-table.hh | 14 +++++++------- - src/hb-ot-layout-gsub-table.hh | 12 ++++++------ - src/hb-ot-layout-gsubgpos-private.hh | 8 ++++---- - 3 files changed, 17 insertions(+), 17 deletions(-) - -commit f3159ba5141c2ab0e430e64742972df140f91c43 -Author: Behdad Esfahbod -Date: Tue Sep 29 14:34:56 2015 +0100 - - Micro-optimize hb_language_from_string() - - As measured / improved by Benson Limketkai. - - src/hb-common.cc | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -commit f2ad935e19338a29113492150f0c5a5fd5befd75 -Author: Sascha Brawer -Date: Sun Jun 28 03:29:47 2015 +0200 - - Handle language tags that indicate phonetic IPA transcription - - The BCP-47 registry defines a variant subtag "fonipa" that can be used - in combination with arbitrary other language tags. For example, - "rm-CH-fonipa-sursilv" indicates the Sursilvan dialect of Romansh - as used in Switzerland, transcribed used the International Phonetic - Alphabet. - - http://www.iana.org/assignments/language-subtag-registry/language-subtag-registry - - src/hb-ot-tag.cc | 15 ++++++++++++++- - test/api/test-ot-tag.c | 7 +++++++ - 2 files changed, 21 insertions(+), 1 deletion(-) - -commit b8811429b6810c4f13be087b593a862c17d9d987 -Author: Behdad Esfahbod -Date: Thu Sep 3 15:53:22 2015 +0430 - - Fix Since tags - - Fixes https://github.com/behdad/harfbuzz/issues/103 - - src/hb-blob.cc | 24 +++++++++---------- - src/hb-buffer-serialize.cc | 10 ++++---- - src/hb-buffer.cc | 58 +++++++++++++++++++++++----------------------- - src/hb-buffer.h | 9 +++++++ - src/hb-common.cc | 24 +++++++++---------- - src/hb-common.h | 3 +++ - src/hb-coretext.cc | 3 +++ - src/hb-font.h | 18 +++++++------- - src/hb-ft.cc | 6 ++--- - src/hb-graphite2.cc | 6 +++++ - src/hb-ot-layout.cc | 2 +- - src/hb-ot-tag.cc | 2 +- - src/hb-set.h | 3 +++ - src/hb-shape.cc | 2 +- - src/hb-unicode.cc | 18 +++++++------- - src/hb-unicode.h | 10 ++++---- - 16 files changed, 111 insertions(+), 87 deletions(-) - -commit 5d74ff02ab01df67808b416af8bb9cefb06f841e -Author: Behdad Esfahbod -Date: Thu Sep 3 14:55:59 2015 +0430 - - Fix Since: version tags on font and face APIs - - A while back we marked every API as version:1.0. We should fix them all - to reflect real version they were introduced. This is a start. - - Patch from Nikolay Sivov. - - src/hb-face.cc | 22 ++++++++--------- - src/hb-font.cc | 76 +++++++++++++++++++++++++++++----------------------------- - 2 files changed, 49 insertions(+), 49 deletions(-) - -commit 7f5405397406a24c5a001b5ef43dcf4d6926415e -Author: Behdad Esfahbod -Date: Tue Sep 1 17:03:50 2015 +0100 - - 1.0.3 - - NEWS | 11 +++++++++++ - configure.ac | 2 +- - 2 files changed, 12 insertions(+), 1 deletion(-) - -commit 5828c45d7a816ccd0a7f10a665ea3cf8cfd63b05 -Author: Behdad Esfahbod -Date: Tue Sep 1 16:26:35 2015 +0100 - - [indic] Add comments to merge_clusters calls - - src/hb-ot-shape-complex-indic.cc | 21 ++++++++++++++++----- - 1 file changed, 16 insertions(+), 5 deletions(-) - -commit bdc8215949a7add742cc800b4fdea6acaa37d152 -Author: Behdad Esfahbod -Date: Tue Sep 1 16:24:54 2015 +0100 - - [thai] Respect cluster-level > 0 - - src/hb-ot-shape-complex-thai.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 5b31fe383ead726ec77062501ed3bb24c02842b3 -Author: Behdad Esfahbod -Date: Tue Sep 1 16:24:34 2015 +0100 - - [use] Merge /before/ reordering - - src/hb-ot-shape-complex-use.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 0d438f89bd9422c66838c776eb4aa867de0a2ad8 -Author: Behdad Esfahbod -Date: Tue Sep 1 16:24:13 2015 +0100 - - [hangul] Merge /before/ reordering - - src/hb-ot-shape-complex-hangul.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit f883de664fc4bfe01e30c89e07e31dc113f906d9 -Author: Behdad Esfahbod -Date: Tue Sep 1 16:23:40 2015 +0100 - - [OT] Merge /before/ reordering - - src/hb-ot-shape.cc | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit c403d6320074455a5e8e48902c0ac4ee9685e33d -Author: Behdad Esfahbod -Date: Tue Sep 1 16:15:25 2015 +0100 - - [myanmar] Use buffer->sort() to sort cluster - - This can possibly produce more granular clusters. - - src/hb-ot-shape-complex-myanmar.cc | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit e995d33c10a4bd9404699d01bddb2b69d811e9ed -Author: Behdad Esfahbod -Date: Tue Sep 1 16:13:32 2015 +0100 - - [OT] Merge clusters when reordering marks for normalization - - Fixes https://bugzilla.gnome.org/show_bug.cgi?id=541608 - and cluster test. - - src/hb-buffer-private.hh | 2 ++ - src/hb-buffer.cc | 21 +++++++++++++++++++++ - src/hb-ot-shape-normalize.cc | 2 +- - 3 files changed, 24 insertions(+), 1 deletion(-) - -commit b6d7d161a87b5dde710924e5c557d39c302f5630 -Author: Behdad Esfahbod -Date: Tue Sep 1 16:12:44 2015 +0100 - - [tests] Add Hebrew test for normalization under cluster-level=1 - - Currently fails. - https://bugzilla.gnome.org/show_bug.cgi?id=541608 - - .../sha1sum/43ef465752be9af900745f72fe29cb853a1401a5.ttf | Bin 0 -> 4272 bytes - test/shaping/fonts/sha1sum/MANIFEST | 1 + - test/shaping/tests/cluster.tests | 1 + - 3 files changed, 2 insertions(+) - -commit 93099748e39740a3f6f003c83d9dec1d21660ce8 -Author: Behdad Esfahbod -Date: Tue Sep 1 16:11:27 2015 +0100 - - Minor - - src/hb-private.hh | 6 ++---- - 1 file changed, 2 insertions(+), 4 deletions(-) - -commit 85846b3de7491b6a07fed6a2c0c6c1b09943b249 -Author: Behdad Esfahbod -Date: Tue Sep 1 15:07:52 2015 +0100 - - Use insertion-sort instead of bubble-sort - - Needed for upcoming merge-clusters fix. - - src/hb-buffer.cc | 4 +-- - src/hb-ot-shape-complex-arabic-fallback.hh | 6 ++-- - src/hb-ot-shape-complex-indic.cc | 2 +- - src/hb-ot-shape-complex-myanmar.cc | 2 +- - src/hb-ot-shape-normalize.cc | 6 ++-- - src/hb-private.hh | 56 +++++++++++++----------------- - 6 files changed, 34 insertions(+), 42 deletions(-) - -commit fad2674874591b4a1df822603144c8864f5364c1 -Author: Behdad Esfahbod -Date: Tue Sep 1 14:45:46 2015 +0100 - - Minor - - test/Makefile.am | 4 ++++ - test/api/Makefile.am | 4 ++++ - test/shaping/Makefile.am | 4 ++++ - 3 files changed, 12 insertions(+) - -commit 23e4fac6de913201f263a73e13d3c1fab31d1bdd -Author: Behdad Esfahbod -Date: Mon Aug 31 19:41:01 2015 +0100 - - Update git.mk from upstream - - git.mk | 17 ++++++++++++++++- - 1 file changed, 16 insertions(+), 1 deletion(-) - -commit 5783e05f81bbf6debf2618c8994d6852630d9847 -Author: Behdad Esfahbod -Date: Mon Aug 31 19:18:10 2015 +0100 - - [docs] Move docs/reference/ contents into docs/ - - configure.ac | 3 +- - docs/Makefile.am | 117 ++++++++++++++++++++++++++- - docs/{reference => }/harfbuzz-docs.xml | 0 - docs/{reference => }/harfbuzz-overrides.txt | 0 - docs/{reference => }/harfbuzz-sections.txt | 0 - docs/reference/Makefile.am | 118 ---------------------------- - docs/{reference => }/usermanual-ch01.xml | 0 - docs/{reference => }/usermanual-ch02.xml | 0 - docs/{reference => }/usermanual-ch03.xml | 0 - docs/{reference => }/usermanual-ch04.xml | 0 - docs/{reference => }/usermanual-ch05.xml | 0 - docs/{reference => }/usermanual-ch06.xml | 0 - docs/{reference => }/version.xml.in | 0 - 13 files changed, 117 insertions(+), 121 deletions(-) - -commit cd5e3a13a6e0b6606d3a421f8cd44cdfb8314907 -Author: Behdad Esfahbod -Date: Mon Aug 31 19:16:41 2015 +0100 - - [docs] Fix out-of-tree build - - docs/reference/Makefile.am | 9 ++++++++- - docs/reference/harfbuzz-docs.xml | 12 ++++++------ - docs/{ => reference}/usermanual-ch01.xml | 0 - docs/{ => reference}/usermanual-ch02.xml | 0 - docs/{ => reference}/usermanual-ch03.xml | 0 - docs/{ => reference}/usermanual-ch04.xml | 0 - docs/{ => reference}/usermanual-ch05.xml | 0 - docs/{ => reference}/usermanual-ch06.xml | 0 - 8 files changed, 14 insertions(+), 7 deletions(-) - -commit 3899795fa3c3e058e3885ec7a6638f0597a752cc -Merge: d20596528 01e16e88f -Author: Behdad Esfahbod -Date: Mon Aug 31 10:46:01 2015 +0100 - - Merge pull request #131 from simoncozens/docs - - Use gtk-doc to build user's manual as well as reference - -commit 01e16e88f50b65b82dcb84773f532f18a351319f -Author: Simon Cozens -Date: Mon Aug 31 10:40:17 2015 +0100 - - Combine user / reference information into gtk-doc generated manual. - - docs/reference/harfbuzz-docs.xml | 91 +++++++++++++++++++++++----------------- - 1 file changed, 52 insertions(+), 39 deletions(-) - -commit 11a07c4729174e1d4af028103ecb0a351e4c2707 -Author: Simon Cozens -Date: Mon Aug 31 10:39:10 2015 +0100 - - Correct tag hierarchy, to allow for table-of-contents entries. - - docs/usermanual-ch01.xml | 12 ++++++------ - docs/usermanual-ch02.xml | 8 ++++---- - docs/usermanual-ch03.xml | 24 ++++++++++++------------ - docs/usermanual-ch04.xml | 16 ++++++++-------- - docs/usermanual-ch05.xml | 12 ++++++------ - 5 files changed, 36 insertions(+), 36 deletions(-) - -commit 387d6af428ddd5d4f211fe5748412011013a3826 -Author: Simon Cozens -Date: Mon Aug 31 10:31:09 2015 +0100 - - Missing tag (oops). - - docs/usermanual-ch02.xml | 1 + - 1 file changed, 1 insertion(+) - -commit d205965286798af4b7ad07e1eafa58288bee4bdb -Author: Behdad Esfahbod -Date: Mon Aug 31 10:12:05 2015 +0100 - - [docs] Fix typo - - docs/usermanual-ch03.xml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit c424b41705b50055c7f92b268cf78a2680af73af -Merge: 31594b98a 5470e744d -Author: Behdad Esfahbod -Date: Mon Aug 31 09:53:16 2015 +0100 - - Merge pull request #129 from simoncozens/docs - - First two chapters. More to follow. - -commit 31594b98af0c9181982c77d8d3803753007f8fd4 -Author: Behdad Esfahbod -Date: Sun Aug 30 17:33:04 2015 +0100 - - [test] Fix test-object - - See previous commit. - - test/api/test-object.c | 4 ---- - 1 file changed, 4 deletions(-) - -commit 326b5ebf5748f547e4eb7388d66b79fe23130e2a -Author: Behdad Esfahbod -Date: Sun Aug 30 17:29:21 2015 +0100 - - Poison freed objects such that double-free is detected - - Previously we were setting refcount of freed objects to the inert value, which - was harmful because it caused further destroy()s of the freed object to NOT - call free() and hence hide the bug. Indeed, after eb0bf3ae6688b7 test-object - was double-free'ing objects and this was never caught on Linux. It only was - caught as crashing on Mac. - - Now we poison refcount upon freeing and check that it's valid whenever reading - it. Makes test-object fail now. - - src/hb-object-private.hh | 21 ++++++++++++++++----- - 1 file changed, 16 insertions(+), 5 deletions(-) - -commit 5470e744dd264c2dc33437a68d20bcf7c5ffb905 -Author: Simon Cozens -Date: Sat Aug 29 08:21:18 2015 +0100 - - Current state and skeleton outline - - docs/usermanual-ch03.xml | 77 ++++++++++++++++++++++++++++++++++++++++++++++++ - docs/usermanual-ch04.xml | 18 +++++++++++ - docs/usermanual-ch05.xml | 13 ++++++++ - docs/usermanual-ch06.xml | 8 +++++ - 4 files changed, 116 insertions(+) - -commit 6578575cc8aeb05341f2053039acfcd735707674 -Author: Behdad Esfahbod -Date: Tue Aug 25 20:24:59 2015 +0100 - - [GPOS] Fix cursive connection with mix of RTL and non-RTL lookups - - See thread "Issue with cursive attachment" started by Khaled. - Turned out fixing this wasn't as bad as I had assumed. I like the - new code better; we now have a theoretical model of cursive - connections that is easier to reason about. - - src/hb-ot-layout-gpos-table.hh | 34 ++++++++++++++++++++++++++++++++++ - 1 file changed, 34 insertions(+) - -commit 7368da67244ea53195cd9b95a5c57485df695732 -Author: Behdad Esfahbod -Date: Tue Aug 25 20:28:39 2015 +0100 - - [test] Add test for cursive-positioning with mixed directions - - Fails now. Fix coming. See thread "Issue with cursive attachment" - started by Khaled. Test fonts were made by modifying test font - from Khaled to add more anchors. - - test/shaping/Makefile.am | 1 + - .../sha1sum/298c9e1d955f10f6f72c6915c3c6ff9bf9695cec.ttf | Bin 0 -> 2520 bytes - test/shaping/fonts/sha1sum/MANIFEST | 2 ++ - .../sha1sum/c4e48b0886ef460f532fb49f00047ec92c432ec0.ttf | Bin 0 -> 2512 bytes - test/shaping/tests/MANIFEST | 1 + - test/shaping/tests/cursive-positioning.tests | 2 ++ - 6 files changed, 6 insertions(+) - -commit f0807654da160bd7ceb9aff5b8338ec0b643171c -Author: Simon Cozens -Date: Tue Aug 25 19:57:15 2015 +0100 - - First two chapters. More to follow. - - docs/usermanual-ch01.xml | 115 ++++++++++++++++++++++++++++++ - docs/usermanual-ch02.xml | 182 +++++++++++++++++++++++++++++++++++++++++++++++ - 2 files changed, 297 insertions(+) - -commit 58f2a73fb95af42e264a91cdef7bb5a89e965601 -Author: Behdad Esfahbod -Date: Tue Aug 25 18:55:34 2015 +0100 - - [GPOS] Rewrite cursive attachment slightly differently - - In anticipation for upcoming fix for bug reported by - Khaled in thread "Issue with cursive attachment". - - src/hb-ot-layout-gpos-table.hh | 36 ++++++++++++++++++++++++------------ - 1 file changed, 24 insertions(+), 12 deletions(-) - -commit fdd1770e006ca2d2973c049177ceda87a575e07f -Author: Behdad Esfahbod -Date: Mon Aug 24 13:49:55 2015 +0100 - - Add API/cmdline to show glyph extents when serializing buffer - - New API: HB_BUFFER_SERIALIZE_FLAG_GLYPH_EXTENTS - - hb-shape now accepts --show-extents. - - Patch from Simon Cozens. - - src/hb-buffer-serialize.cc | 17 +++++++++++++++++ - src/hb-buffer.h | 3 ++- - util/hb-shape.cc | 2 ++ - util/options.cc | 1 + - util/options.hh | 2 ++ - 5 files changed, 24 insertions(+), 1 deletion(-) - -commit 2cee5b68a07b99214ef9428fe5d03e7b378a558f -Author: Behdad Esfahbod -Date: Mon Aug 24 13:45:12 2015 +0100 - - [ot-font] Fix short-offset calculation - - src/hb-ot-font.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit b50fcfa82994f93568a54dd1eb7fd327f6db5586 -Author: Behdad Esfahbod -Date: Sun Aug 23 14:42:20 2015 +0100 - - [ot-font] Implement glyph_extents() for TrueType fonts - - This brings ot-fonts into almost-complete shape and mostly in par with - ft font. - - src/Makefile.am | 1 + - src/hb-font.h | 9 +++-- - src/hb-ot-font.cc | 90 +++++++++++++++++++++++++++++++++++++++-- - src/hb-ot-glyf-table.hh | 104 ++++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-ot-head-table.hh | 3 +- - 5 files changed, 198 insertions(+), 9 deletions(-) - -commit 0299b45000b5047c0b9bf0fe51f3b8b68a7982f8 -Author: Behdad Esfahbod -Date: Fri Aug 21 12:44:36 2015 +0100 - - Make BYTE a real type - - src/hb-open-type-private.hh | 16 +++++++++++++++- - 1 file changed, 15 insertions(+), 1 deletion(-) - -commit ed6962c795ae7c54aaee9ed5667fa65ccf7412bf -Author: Behdad Esfahbod -Date: Thu Aug 20 15:39:53 2015 +0100 - - [coretext] Use i32 instead of u32 as well - - Shouldn't cause *any* functional changes, but is more correct. - - src/hb-coretext.cc | 20 ++++++++++---------- - 1 file changed, 10 insertions(+), 10 deletions(-) - -commit 163c435f1807c138da9f74f09d29d913eb9e29e9 -Author: Behdad Esfahbod -Date: Thu Aug 20 15:39:06 2015 +0100 - - [uniscribe] Fix negative offsets - - Ouch! - - src/hb-uniscribe.cc | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 789b89ef7130ffe5f22c571fc3cb4e6d35456654 -Author: Behdad Esfahbod -Date: Wed Aug 19 13:39:57 2015 +0100 - - 1.0.2 - - NEWS | 13 +++++++++++++ - configure.ac | 2 +- - 2 files changed, 14 insertions(+), 1 deletion(-) - -commit 958c268fa3a520666436e77a2111a3b564a36d96 -Author: Behdad Esfahbod -Date: Wed Aug 19 13:22:12 2015 +0100 - - [coretext] Add TODO item - - src/hb-coretext.cc | 1 + - 1 file changed, 1 insertion(+) - -commit 7c5bee09d9c7c25672c7c77572ebae0b731892d0 -Author: Behdad Esfahbod -Date: Wed Aug 19 13:20:31 2015 +0100 - - [uniscribe] Fix font scale handling - - By default shape at upem (or ppem), and scale results. - Similar to work done in CoreText backend, but using upem as default. - - src/hb-uniscribe.cc | 25 +++++++++++++++++++------ - 1 file changed, 19 insertions(+), 6 deletions(-) - -commit 902e74a098dad8c3b487856284f9fdf99b04f9f1 -Author: Behdad Esfahbod -Date: Tue Aug 18 18:55:03 2015 +0100 - - Commented-out code to print buffer before each lookup - - To be turned into a useful HB_DEBUG_SHAPE infrastructure... - - src/hb-ot-layout.cc | 12 ++++++++++++ - 1 file changed, 12 insertions(+) - -commit 75504a50488a6aac0b9789f728fb5b87e641d4c3 -Author: Behdad Esfahbod -Date: Tue Aug 18 18:47:02 2015 +0100 - - Allow serializing buffer with output-buffer being used - - Ie, don't call get_positions() if positions are not - requested for serialization. - - src/hb-buffer-serialize.cc | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -commit e47b772a56af44a9a4f9ec907ee2091b725b94c1 -Author: Behdad Esfahbod -Date: Tue Aug 18 18:42:47 2015 +0100 - - [ot] Change buffer content type right after we map to glyphs - - Needed for upcoming debug output changes. - - src/hb-ot-shape.cc | 2 ++ - 1 file changed, 2 insertions(+) - -commit d104415e4c1e0f9140f794cd8d09c6460c63e966 -Author: Behdad Esfahbod -Date: Tue Aug 18 17:33:34 2015 +0100 - - [Android.mk] Update for SEA removal and USE addition - - Android.mk | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit ddd6bf12f1cabaa298feed820313483b9893528c -Author: Behdad Esfahbod -Date: Tue Aug 18 15:55:09 2015 +0100 - - Don't declare dependency on freetype in harfbuzz.pc - - See comments. - - src/Makefile.am | 7 ++++++- - 1 file changed, 6 insertions(+), 1 deletion(-) - -commit 2c8b3b2e5312c9858584f568b1528c57e5bb8a10 -Author: Behdad Esfahbod -Date: Tue Aug 18 14:36:43 2015 +0100 - - [debug] Print lookup index in debug-apply output - - src/hb-ot-layout-gpos-table.hh | 5 ++++- - src/hb-ot-layout-gsub-table.hh | 5 ++++- - src/hb-ot-layout-gsubgpos-private.hh | 7 +++++-- - src/hb-ot-layout.cc | 3 ++- - 4 files changed, 15 insertions(+), 5 deletions(-) - -commit 50ad7788eeb7160caef4ec78e65c7c630e601b06 -Author: Behdad Esfahbod -Date: Tue Aug 18 10:22:16 2015 +0100 - - [coretext] Remove assert that kicks in on Mac OS 10.6 - - http://crbug.com/419769 - - src/hb-coretext.cc | 18 ++++++++++++++---- - 1 file changed, 14 insertions(+), 4 deletions(-) - -commit 2b646fa07f5f9d4d10d563a91d22a2750b5fc771 -Author: Behdad Esfahbod -Date: Mon Aug 17 16:03:28 2015 +0200 - - Remove unused function - - src/hb-ot-shape-complex-use.cc | 8 -------- - 1 file changed, 8 deletions(-) - -commit 23237b0279a04407addf33f599c45faa60f002ca -Author: ThePhD -Date: Fri Aug 14 01:19:08 2015 -0400 - - Last apparent boolean fix! - - src/hb-ot-shape-complex-use.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 5c99cf93d6242803bddcac2ca8300fdec7e0f8a7 -Merge: 8ad89f057 539a610e2 -Author: ThePhD -Date: Fri Aug 14 01:02:00 2015 -0400 - - Merge branch 'master' into vc++-fixes - -commit 539a610e2e72375e598ab29fd390ed9ec93816d5 -Author: Behdad Esfahbod -Date: Tue Aug 11 12:58:49 2015 +0200 - - Add Libs.private and Requires.private to harfbuzz.pc - - Fixes https://bugs.freedesktop.org/show_bug.cgi?id=64501 - - configure.ac | 12 +++++++++--- - src/Makefile.am | 15 ++++++++++++--- - src/harfbuzz.pc.in | 2 ++ - 3 files changed, 23 insertions(+), 6 deletions(-) - -commit c7dfe316f8c0fc04b7976fca5e58eb46d91b4821 -Author: jfkthame -Date: Fri Aug 7 17:55:03 2015 +0100 - - Don't rely on .cluster in _hb_ot_shape_normalize() - - Fixes https://github.com/behdad/harfbuzz/pull/124 - - src/hb-ot-shape-normalize.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 9099e48e29fe5cfdf8566c8f1ba6ddc8c0799e7e -Author: jfkthame -Date: Fri Aug 7 17:51:28 2015 +0100 - - Don't rely on .cluster field in fallback_position - - Fixes tests/cluster. - - Fixes https://github.com/behdad/harfbuzz/pull/123 - - src/hb-ot-shape-fallback.cc | 5 ++--- - 1 file changed, 2 insertions(+), 3 deletions(-) - -commit f3792342f670978cdc3f8512fb5e80314ca0678d -Author: Behdad Esfahbod -Date: Sat Aug 8 18:02:18 2015 +0200 - - [tests] Add test for fallback positioning with cluster_level > 0 - - For https://github.com/behdad/harfbuzz/pull/123 - Currently fails. Fix coming. - - test/shaping/Makefile.am | 1 + - .../sha1sum/6466d38c62e73a39202435a4f73bf5d6acbb73c0.ttf | Bin 0 -> 824 bytes - test/shaping/fonts/sha1sum/MANIFEST | 1 + - test/shaping/tests/MANIFEST | 1 + - test/shaping/tests/cluster.tests | 1 + - 5 files changed, 4 insertions(+) - -commit bd22a5cfae24b3b9253bccaeb139e698e74cd0c3 -Author: Behdad Esfahbod -Date: Fri Aug 7 11:13:27 2015 +0200 - - Bug 91559 - HarfBuzz 1.0.1: Inconsistent DLL files specified/created... - - Fixes https://bugs.freedesktop.org/show_bug.cgi?id=91559 - - src/Makefile.am | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 02d6439f420d959183dd446abd0b0118ee1ee061 -Merge: 9002c27b2 160f63552 -Author: Behdad Esfahbod -Date: Mon Aug 3 22:47:18 2015 +0300 - - Merge pull request #122 from RomainNaour/static-fix - - fix static linking with icu-uc - -commit 160f635523d596f61e292776f638d4eb09673463 -Author: Romain Naour -Date: Wed Jul 22 23:26:23 2015 +0200 - - fix static linking with icu-uc - - When linking test-unicode statically it needs $(ICU_LIBS) - which contains all required flags. - Especially -lstdc++. - - Fixes: - http://autobuild.buildroot.net/results/210/2107f9dfb39eeb6559fb4271c7af8b39aef521ca/ - - Signed-off-by: Romain Naour - - test/api/Makefile.am | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 9002c27b2f54bb5135db92045c0d770b47317577 -Author: Behdad Esfahbod -Date: Mon Jul 27 12:17:54 2015 +0200 - - 1.0.1 - - NEWS | 9 ++++++++- - configure.ac | 2 +- - 2 files changed, 9 insertions(+), 2 deletions(-) - -commit f1c20e1ba5bf218df7dc3e198bdcf1f449fc9387 -Author: Behdad Esfahbod -Date: Mon Jul 27 12:16:02 2015 +0200 - - [USE] Fix out-of-bounds static array access - - src/hb-ot-shape-complex-use.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 260442346a5756c3538ee8fcbf157d1cddcf6f36 -Author: Behdad Esfahbod -Date: Sun Jul 26 23:39:10 2015 +0200 - - 1.0.0 - - NEWS | 10 ++++++++++ - configure.ac | 4 ++-- - src/Makefile.am | 2 +- - 3 files changed, 13 insertions(+), 3 deletions(-) - -commit df6cb84449a473d540821e41fb5007b59644780f -Merge: 2ed6be667 786ba4584 -Author: Behdad Esfahbod -Date: Sun Jul 26 19:40:55 2015 +0200 - - Merge branch 'use' - -commit 2ed6be66703e6cc67f3a3746e197001dad3d9b74 -Author: Behdad Esfahbod -Date: Sun Jul 26 19:29:53 2015 +0200 - - 0.9.42 - - NEWS | 12 ++++++++++++ - configure.ac | 2 +- - 2 files changed, 13 insertions(+), 1 deletion(-) - -commit 23e56e088a721863cfdef4f027fb66eecbd77457 -Author: Behdad Esfahbod -Date: Sat Jul 25 17:36:46 2015 +0200 - - Fix broken sentence - - src/hb-set-private.hh | 10 +++++++++- - 1 file changed, 9 insertions(+), 1 deletion(-) - -commit 91a2e5d2878a8c0b4d4500e3d52d4fbaaf1ac0d7 -Author: Grigori Goronzy -Date: Wed Jul 8 23:28:11 2015 +0200 - - Update UCDN to upstream commit 8af93f30 - - This adds support for Unicode 8.0 and fixes a bug with wrong properties - for ranges of codepoints. - - src/hb-ucdn.cc | 6 + - src/hb-ucdn/ucdn.h | 6 + - src/hb-ucdn/unicodedata_db.h | 2167 +++++++++++++++++++++--------------------- - 3 files changed, 1118 insertions(+), 1061 deletions(-) - -commit 786ba45847127b9cd4d9c0c01ae0e6c61f3a8e06 -Author: Behdad Esfahbod -Date: Thu Jul 23 13:04:34 2015 +0100 - - [test] Encode Kharoshti text - - Ouch! - - .../in-tree/shaper-use/script-kharoshti/misc.txt | 72 +++++++++++----------- - 1 file changed, 36 insertions(+), 36 deletions(-) - -commit b4231255032e243153a6f32cf8c93c158cb0bf6a -Author: Behdad Esfahbod -Date: Thu Jul 23 13:01:55 2015 +0100 - - [test] Add Batak and Buginese test texts - - test/shaping/texts/in-tree/shaper-use/MANIFEST | 2 + - .../texts/in-tree/shaper-use/script-batak/MANIFEST | 1 + - .../texts/in-tree/shaper-use/script-batak/misc.txt | 9 +++ - .../in-tree/shaper-use/script-buginese/MANIFEST | 1 + - .../in-tree/shaper-use/script-buginese/misc.txt | 70 ++++++++++++++++++++++ - 5 files changed, 83 insertions(+) - -commit b8c159ffccad090974a2b97be0a0140fa09af132 -Author: Behdad Esfahbod -Date: Thu Jul 23 12:59:17 2015 +0100 - - [test] Remove shaper-sea texts under shaper-use - - test/shaping/texts/in-tree/MANIFEST | 1 - - test/shaping/texts/in-tree/shaper-sea/MANIFEST | 2 -- - test/shaping/texts/in-tree/shaper-sea/script-cham/MANIFEST | 1 - - test/shaping/texts/in-tree/shaper-sea/script-tai-tham/MANIFEST | 1 - - test/shaping/texts/in-tree/shaper-use/MANIFEST | 2 ++ - .../{shaper-sea/script-cham/misc => shaper-use/script-cham}/MANIFEST | 0 - .../{shaper-sea/script-cham/misc => shaper-use/script-cham}/misc.txt | 0 - .../script-tai-tham/misc => shaper-use/script-tai-tham}/MANIFEST | 0 - .../script-tai-tham/misc => shaper-use/script-tai-tham}/misc.txt | 0 - .../script-tai-tham/misc => shaper-use/script-tai-tham}/torture.txt | 0 - 10 files changed, 2 insertions(+), 5 deletions(-) - -commit 67ba7320cc5545baeacfcff64cea338223b9bd6d -Author: Behdad Esfahbod -Date: Thu Jul 23 12:58:21 2015 +0100 - - [test] Remove New Tai Lue texts - - New Tai Lue changed encoding to visual, boring, model. - - test/shaping/texts/in-tree/shaper-sea/MANIFEST | 1 - - test/shaping/texts/in-tree/shaper-sea/script-new-tai-lue/MANIFEST | 1 - - test/shaping/texts/in-tree/shaper-sea/script-new-tai-lue/misc/MANIFEST | 1 - - test/shaping/texts/in-tree/shaper-sea/script-new-tai-lue/misc/misc.txt | 1 - - 4 files changed, 4 deletions(-) - -commit c81d957a264539dfe3252f9a94ee066c4a44edf4 -Author: Behdad Esfahbod -Date: Thu Jul 23 12:50:48 2015 +0100 - - [test] Add tests for improved 'vert' feature - - test/shaping/Makefile.am | 1 + - .../sha1sum/191826b9643e3f124d865d617ae609db6a2ce203.ttf | Bin 0 -> 2140 bytes - test/shaping/fonts/sha1sum/MANIFEST | 1 + - test/shaping/tests/MANIFEST | 1 + - test/shaping/tests/vertical.tests | 1 + - 5 files changed, 4 insertions(+) - -commit 8a6a16dbcb1808c7ed50f9ba320384565bbf405a -Author: Behdad Esfahbod -Date: Thu Jul 23 12:49:09 2015 +0100 - - [test] Add recently added test - - Ouch. - - test/shaping/Makefile.am | 1 + - 1 file changed, 1 insertion(+) - -commit 895fb31c7f0201f13df5a6866b367476bc4aab2e -Author: Behdad Esfahbod -Date: Thu Jul 23 12:14:03 2015 +0100 - - [test] Support additional options to hb-shape in micro-test suite - - test/shaping/record-test.sh | 47 ++++++++++++++++++---- - test/shaping/run-tests.sh | 9 ++++- - test/shaping/tests/arabic-fallback-shaping.tests | 2 +- - test/shaping/tests/arabic-feature-order.tests | 6 +-- - test/shaping/tests/context-matching.tests | 6 +-- - test/shaping/tests/default-ignorables.tests | 2 +- - test/shaping/tests/hangul-jamo.tests | 4 +- - test/shaping/tests/indic-joiner-candrabindu.tests | 4 +- - test/shaping/tests/indic-old-spec.tests | 4 +- - test/shaping/tests/indic-pref-blocking.tests | 4 +- - .../tests/mongolian-variation-selector.tests | 6 +-- - test/shaping/tests/zero-width-marks.tests | 4 +- - 12 files changed, 67 insertions(+), 31 deletions(-) - -commit 0f98fe88f42471eb8fb28d08d45eca9cd8303f7a -Author: Behdad Esfahbod -Date: Thu Jul 23 11:52:11 2015 +0100 - - [ot] Search globally for 'vert' feature if not found in specified script/lang - - Fixes https://github.com/behdad/harfbuzz/issues/63 - - src/hb-ot-layout-private.hh | 9 +++++++++ - src/hb-ot-layout.cc | 22 ++++++++++++++++++++++ - src/hb-ot-map-private.hh | 7 ++++--- - src/hb-ot-map.cc | 10 ++++++++++ - src/hb-ot-shape.cc | 6 +++++- - 5 files changed, 50 insertions(+), 4 deletions(-) - -commit f327aacfa107bbef0c823ef9c3b7dfc91316040c -Author: Behdad Esfahbod -Date: Thu Jul 23 11:32:59 2015 +0100 - - [ot] Minor - - src/hb-ot-shape.cc | 11 +++-------- - 1 file changed, 3 insertions(+), 8 deletions(-) - -commit d78463c8016ff1852233479a1ebde30c3bb6de6e -Author: Behdad Esfahbod -Date: Thu Jul 23 10:11:35 2015 +0100 - - Minor debug output fix - - src/hb-ot-layout.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit d99f50bde0e8be0866385ca6886938d2023dbd4f -Author: Behdad Esfahbod -Date: Thu Jul 23 10:08:48 2015 +0100 - - Add missing TRACE_RETURN - - src/hb-ot-layout-gsubgpos-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 2dc8e3f470d7c0b579f867605b8bf40688bc5722 -Author: Behdad Esfahbod -Date: Thu Jul 23 10:07:21 2015 +0100 - - [ot] Add missing return! - - src/hb-ot-layout-gsubgpos-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 582069172c39326c7f94373793c656439a4c2b59 -Author: Behdad Esfahbod -Date: Wed Jul 22 18:44:59 2015 +0100 - - Add test case for deleting default ignorables with positioning - - .../sha1sum/051d92f8bc6ff724511b296c27623f824de256e9.ttf | Bin 0 -> 2028 bytes - test/shaping/fonts/sha1sum/MANIFEST | 1 + - test/shaping/tests/MANIFEST | 1 + - test/shaping/tests/default-ignorables.tests | 1 + - 4 files changed, 3 insertions(+) - -commit 8cfbc304ee563ec96e402beed34b10b6c0950a6a -Author: Behdad Esfahbod -Date: Wed Jul 22 18:41:10 2015 +0100 - - Fix hide-default-ignorables after f0010dfd01ef4a927b0bdc175dd4e343a8637174 - - We can't delete things before hb_ot_layout_position_finish(). So, - just zero the advance before it, and remove later. - - src/hb-ot-shape.cc | 25 +++++++++++++++++++------ - 1 file changed, 19 insertions(+), 6 deletions(-) - -commit 2dbd3d29d6548bd96fd976606ed689fac8ad8817 -Author: Behdad Esfahbod -Date: Wed Jul 22 18:28:39 2015 +0100 - - Fix hide-ignorables if font doesn't have space glyph - - Was broken by 82b521aeb7cc73879b44ca4278d6fa8b4347527f, as we have - positioning data by then and can't use the output buffer. Ouch! - - src/hb-buffer-private.hh | 18 ------------------ - src/hb-ot-shape.cc | 44 +++++++++++++++++++++++++++++++++++--------- - 2 files changed, 35 insertions(+), 27 deletions(-) - -commit 4ba796b26ee62de0d2830a550f3aa3b4aecf6f59 -Author: Behdad Esfahbod -Date: Wed Jul 22 17:41:31 2015 +0100 - - Refactor _hb_glyph_info_is_default_ignorable() - - src/hb-ot-layout-gsubgpos-private.hh | 3 +-- - src/hb-ot-layout-private.hh | 4 +++- - src/hb-ot-shape.cc | 9 +++------ - 3 files changed, 7 insertions(+), 9 deletions(-) - -commit f0010dfd01ef4a927b0bdc175dd4e343a8637174 -Author: Behdad Esfahbod -Date: Wed Jul 22 17:36:23 2015 +0100 - - [ot] Hide default-ignorables before finishing off positioning - - For example, fixes the following sequence with Arial XP: - 628 25cc 651 25cc 64e 3a 20 628 651 34f 64e - 628 25cc 64e 25cc 651 3a 20 628 64e 34f 651 - - Discovered as part of: - https://bugs.freedesktop.org/show_bug.cgi?id=85873 - - src/hb-ot-shape.cc | 125 +++++++++++++++++++++++++++-------------------------- - 1 file changed, 63 insertions(+), 62 deletions(-) - -commit 376d587f36b4ff10342ee6ca3bacd73532ea44c8 -Author: Behdad Esfahbod -Date: Wed Jul 22 16:51:12 2015 +0100 - - Implement more granular cluster-merging - - TODO: Documentation. - - Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=71445 - - NEWS | 8 +++++++ - src/hb-buffer-private.hh | 1 + - src/hb-buffer.cc | 46 ++++++++++++++++++++++++++++++++++----- - src/hb-buffer.h | 12 ++++++++++ - src/hb-ot-shape-complex-hangul.cc | 13 +++++------ - src/hb-ot-shape.cc | 7 ++++++ - util/options.cc | 1 + - util/options.hh | 3 +++ - 8 files changed, 77 insertions(+), 14 deletions(-) - -commit a60e2cfa395718cde48eb81f43adc27b4a92e117 -Author: Behdad Esfahbod -Date: Wed Jul 22 15:49:08 2015 +0100 - - [ot] Don't rely on cluster numbers for ensure_native_direction() - - src/hb-ot-shape.cc | 19 ++++++++++++++++++- - 1 file changed, 18 insertions(+), 1 deletion(-) - -commit 701112dad9f6e690b253f1e64f4e7e549f5ae65f -Author: Behdad Esfahbod -Date: Wed Jul 22 15:42:20 2015 +0100 - - [ot] Simplify form_clusters() - - src/hb-buffer-private.hh | 9 ++++++++- - src/hb-buffer.cc | 7 ++----- - src/hb-ot-shape.cc | 11 +++++++++-- - 3 files changed, 19 insertions(+), 8 deletions(-) - -commit 7b8b63adc5e0389fc4cf2720ef7e5804ab6c29cc -Author: Behdad Esfahbod -Date: Wed Jul 22 15:24:26 2015 +0100 - - [ot] Don't mirror character if font doesn't support mirrored character! - - src/hb-ot-shape.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 97d7c3a100e2673279f066540229d229aaf0df78 -Author: Behdad Esfahbod -Date: Wed Jul 22 14:28:25 2015 +0100 - - [graphite2] Fix bunch of stuff - - Based on patch from Martin Hosken, with review from Jonathan and I. - - src/hb-graphite2.cc | 82 +++++++++++++++++++++++++++++++++++------------------ - 1 file changed, 54 insertions(+), 28 deletions(-) - -commit ea7f8414e34d4b5efc7b98974637c08f75440f0e -Author: Behdad Esfahbod -Date: Wed Jul 22 13:53:45 2015 +0100 - - [graphite2] Enlarge buffer for output glyphs! - - src/hb-graphite2.cc | 1 + - 1 file changed, 1 insertion(+) - -commit 9cd59db1af47ff511edf251949d58b82673cf704 -Author: Behdad Esfahbod -Date: Wed Jul 22 13:27:06 2015 +0100 - - [USE] Implement topographical features for non-Arabic-joining scripts - - This works per-syllable as per the spec, but we think it should be per - spacing/base/??? glyph instead. - - src/hb-ot-shape-complex-use.cc | 87 ++++++++++++++++++++++++++++++++++++++---- - 1 file changed, 80 insertions(+), 7 deletions(-) - -commit ecb0b24ef3f8177e7c789f45a2e858bd67e31be3 -Author: Behdad Esfahbod -Date: Wed Jul 22 12:02:09 2015 +0100 - - Use foreach_cluster in Indic shaper - - src/hb-ot-shape-complex-indic.cc | 90 +++++++++------------------------------- - 1 file changed, 19 insertions(+), 71 deletions(-) - -commit 56f71ff98890fc4fd13e8d9743dc34c4b9407309 -Author: Behdad Esfahbod -Date: Wed Jul 22 11:58:11 2015 +0100 - - Use foreach_syllable in Myanmar shaper - - src/hb-ot-shape-complex-myanmar.cc | 62 ++++++++------------------------------ - 1 file changed, 12 insertions(+), 50 deletions(-) - -commit ac596511a8c9eeaeb455ca16b5b9c5f1b9923b3a -Author: Behdad Esfahbod -Date: Wed Jul 22 11:54:02 2015 +0100 - - Add foreach_syllable - - Use it in USE. - - src/hb-ot-layout-private.hh | 24 ++++++++ - src/hb-ot-shape-complex-use.cc | 129 +++++++++++++---------------------------- - 2 files changed, 64 insertions(+), 89 deletions(-) - -commit 8ba9e689680f7685c04cfe7c6019222bdf0c52b0 -Author: Behdad Esfahbod -Date: Wed Jul 22 11:16:01 2015 +0100 - - [USE] Do Arabic-like shaping - - src/hb-ot-shape-complex-use.cc | 77 ++++++++++++++++++++++++++++++++++++++++-- - 1 file changed, 75 insertions(+), 2 deletions(-) - -commit 9daf2dfb6bd5683fd951bdf166c8b87938257e52 -Author: Behdad Esfahbod -Date: Wed Jul 22 10:32:30 2015 +0100 - - Add hb-ot-shape-complex-arabic-private.hh - - src/Makefile.am | 1 + - src/hb-ot-shape-complex-arabic-private.hh | 50 +++++++++++++++++++++++++++++++ - src/hb-ot-shape-complex-arabic.cc | 37 +++++++++++++---------- - 3 files changed, 73 insertions(+), 15 deletions(-) - -commit a51a661fe1dcfdd3a274a6be6ad741c68d430c8c -Author: Behdad Esfahbod -Date: Tue Jul 21 18:24:21 2015 +0100 - - [USE] Only reorder the first component of a split left mark - - src/hb-ot-shape-complex-use.cc | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -commit a08a278b15c7e57a1d0a783f2bc877471b9d8229 -Author: Behdad Esfahbod -Date: Tue Jul 21 18:09:40 2015 +0100 - - [USE] Don't compose split matras - - Same logic as in Indic shaper. - - src/hb-ot-shape-complex-use.cc | 15 ++++++++++++++- - 1 file changed, 14 insertions(+), 1 deletion(-) - -commit 21cb08a417f1203523191192d6a342e8cd0ea14c -Author: Behdad Esfahbod -Date: Tue Jul 21 17:47:06 2015 +0100 - - Remove unused SEA shaper - - src/Makefile.am | 4 - - src/hb-ot-shape-complex-sea-machine.rl | 102 --------- - src/hb-ot-shape-complex-sea.cc | 380 --------------------------------- - 3 files changed, 486 deletions(-) - -commit db1e9cdd41ff7c97c29b4d9b64b2351ed0ef0403 -Author: Behdad Esfahbod -Date: Tue Jul 21 17:46:06 2015 +0100 - - Retire SEA shaper in favor of USE - - src/hb-ot-shape-complex-private.hh | 25 +++---------------------- - 1 file changed, 3 insertions(+), 22 deletions(-) - -commit 87dde9c64753dea4017f11a7734e7528b8eecac0 -Author: Behdad Esfahbod -Date: Tue Jul 21 17:31:43 2015 +0100 - - [USE] Only use USE shaper if script system is not DFLT - - Same logic as Indic and SEA. - - src/hb-ot-shape-complex-private.hh | 13 ++++++++++--- - 1 file changed, 10 insertions(+), 3 deletions(-) - -commit 29832d797ff2f3a96721dd44f2f03a83fb2e8dda -Author: Behdad Esfahbod -Date: Tue Jul 21 17:24:18 2015 +0100 - - Route misc untested scripts through USE shaper instead of Indic - - These were never tested with Indic shaper, and indeed wouldn't work there - because they didn't have their viramas and other config defined. They are - all also supported by MS through USE, so route them there. - - src/hb-ot-shape-complex-private.hh | 91 +++++--------------------------------- - 1 file changed, 11 insertions(+), 80 deletions(-) - -commit 40c4a991c7ea18017273ff8993eecc3953869e69 -Author: Behdad Esfahbod -Date: Tue Jul 21 17:14:54 2015 +0100 - - [USE] Implement dotted-circle - - This makes USE feature-complete as far as the Indic-like features - are concerned. - - src/hb-ot-shape-complex-use-machine.rl | 10 ++++++++++ - src/hb-ot-shape-complex-use.cc | 18 +++++++++++++++--- - 2 files changed, 25 insertions(+), 3 deletions(-) - -commit 7ce03ebe7c525919ce22d9094480847ff1b3c2b2 -Author: Behdad Esfahbod -Date: Tue Jul 21 16:55:26 2015 +0100 - - [USE] Move pref - - src/hb-ot-shape-complex-use-machine.rl | 9 +++++---- - src/hb-ot-shape-complex-use-private.hh | 9 +++++---- - src/hb-ot-shape-complex-use.cc | 24 ++++++++++++++++++++++-- - 3 files changed, 32 insertions(+), 10 deletions(-) - -commit 2d4b62ead931b13f95f5dc0e5b740d997a8d1a8e -Author: Behdad Esfahbod -Date: Tue Jul 21 16:46:37 2015 +0100 - - [USE] Fix-up variation selectors and word joiner in table - - src/gen-use-table.py | 7 ++++++- - src/hb-ot-shape-complex-use-table.cc | 34 +++++++++++++++++++++++----------- - 2 files changed, 29 insertions(+), 12 deletions(-) - -commit ad7178227f16abc17456f122deac1508031cbbc3 -Author: Behdad Esfahbod -Date: Tue Jul 21 16:43:27 2015 +0100 - - [USE] Use a couple warnings - - src/gen-use-table.py | 20 ++++----- - src/hb-ot-shape-complex-use-table.cc | 82 ++++++++++++++++++------------------ - 2 files changed, 51 insertions(+), 51 deletions(-) - -commit a85c4da9b1750c2f994f9f85226a3e755fafe50b -Author: Behdad Esfahbod -Date: Tue Jul 21 16:07:10 2015 +0100 - - [USE] Move rphf - - src/hb-ot-shape-complex-use.cc | 105 ++++++++++++++--------------------------- - 1 file changed, 35 insertions(+), 70 deletions(-) - -commit 5b5617e0664e59770910d04d15175f643a5ffb73 -Author: Behdad Esfahbod -Date: Tue Jul 21 15:52:15 2015 +0100 - - Add FLAG_UNSAFE() - - Unused right now. - - src/hb-private.hh | 1 + - 1 file changed, 1 insertion(+) - -commit f8160a495966c790b79134a9f9382b6545f8c733 -Author: Behdad Esfahbod -Date: Tue Jul 21 15:50:02 2015 +0100 - - Add FLAG_SAFE() for values known to be small-enough - - And add check to FLAG() - - src/hb-ot-shape-complex-arabic.cc | 2 +- - src/hb-ot-shape-complex-indic.cc | 12 ++++++------ - src/hb-ot-shape-complex-myanmar.cc | 2 +- - src/hb-private.hh | 5 +++-- - src/hb-unicode-private.hh | 2 +- - 5 files changed, 12 insertions(+), 11 deletions(-) - -commit 366aeaad006b230481a3c08ab4d239fb6b64fef8 -Author: Behdad Esfahbod -Date: Tue Jul 21 15:45:48 2015 +0100 - - Add note re ASSERT_STATIC_EXPR_ZERO() - - src/hb-private.hh | 2 ++ - 1 file changed, 2 insertions(+) - -commit d6adca9fbbbd6fc7c8906121b50c3930fbe2de8e -Author: Behdad Esfahbod -Date: Tue Jul 21 15:17:27 2015 +0100 - - Remove unused macro ASSERT_STATIC_EXPR() - - src/hb-ot-shape-complex-arabic-win1256.hh | 4 ++-- - src/hb-ot-shape-complex-indic-private.hh | 2 -- - src/hb-private.hh | 1 - - 3 files changed, 2 insertions(+), 5 deletions(-) - -commit 1025e1a9e7785ac67cc90d05b02862e38b3e6026 -Author: Behdad Esfahbod -Date: Tue Jul 21 15:05:35 2015 +0100 - - Use unsigned in FLAG() - - src/hb-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit cf59c7589c2b4064f4b9f4936115f830089a8ee7 -Author: Behdad Esfahbod -Date: Tue Jul 21 14:51:45 2015 +0100 - - [USE] Use use_category() for rphf/pref memory - - src/hb-ot-shape-complex-use.cc | 63 +++++++++++++++--------------------------- - 1 file changed, 22 insertions(+), 41 deletions(-) - -commit 595936ec25e9c0924851bd1aa1af5eed3723b54f -Author: Behdad Esfahbod -Date: Tue Jul 21 14:15:35 2015 +0100 - - [USE] Hook of rphf and pref custom processing - - Still no reordering. - - src/hb-ot-layout-private.hh | 8 ++ - src/hb-ot-shape-complex-use.cc | 181 +++++++++++++++++++++++++++++++++++++++-- - 2 files changed, 181 insertions(+), 8 deletions(-) - -commit ba72801325e4bd58f7597938d4409762c9fa530c -Author: Behdad Esfahbod -Date: Tue Jul 21 11:57:23 2015 +0100 - - [USE] Add CGJ to table - - src/gen-use-table.py | 13 ++++++++++--- - src/hb-ot-shape-complex-use-table.cc | 1 + - 2 files changed, 11 insertions(+), 3 deletions(-) - -commit 4febed61edc5367543e5a206ae01d3393841b612 -Author: Behdad Esfahbod -Date: Tue Jul 21 10:24:32 2015 +0100 - - [USE] Set up features - - src/hb-ot-shape-complex-use.cc | 68 +++++++++++++++++++++++------------------- - 1 file changed, 38 insertions(+), 30 deletions(-) - -commit 52a957795697085a5d379921ddd8aa6cf2f1a99d -Author: Behdad Esfahbod -Date: Tue Jul 21 10:02:04 2015 +0100 - - [USE] Hook up new scripts to USE shaper - - Don't reroute scripts that we were routing to other shapers - before (just yet). - - src/hb-ot-shape-complex-private.hh | 71 ++++++++++++++++++++++++++++++++++++++ - 1 file changed, 71 insertions(+) - -commit b4c0829bc18b696f140a260fa2e1089d10164519 -Author: Behdad Esfahbod -Date: Tue Jul 21 09:31:19 2015 +0100 - - [USE] Remove unused Unicode data enums from USE C++ side - - src/hb-ot-shape-complex-use-private.hh | 66 +--------------------------------- - src/hb-ot-shape-complex-use.cc | 14 ++------ - 2 files changed, 3 insertions(+), 77 deletions(-) - -commit 44910cef626e6d03baa4d89d8fbe2c088971902d -Author: Behdad Esfahbod -Date: Mon Jul 20 18:01:10 2015 +0100 - - [USE] Finish converting Unicode positional categories to USE - - Even compiles. - - src/gen-use-table.py | 114 +++++- - src/hb-ot-shape-complex-use-table.cc | 702 ++++++++++++++++++----------------- - 2 files changed, 467 insertions(+), 349 deletions(-) - -commit ad725552521273a1f571f04bc96a04221c3e067a -Author: Behdad Esfahbod -Date: Mon Jul 20 17:00:06 2015 +0100 - - [USE] Map from Unicode data to USE syllabic categories - - Positional sub-categories not applied yet. - - src/gen-use-table.py | 128 ++-- - src/hb-ot-shape-complex-use-table.cc | 1062 ++++++++++++---------------------- - 2 files changed, 409 insertions(+), 781 deletions(-) - -commit 20e246e674155d5fb6527722fc3ef3accf2413df -Author: Behdad Esfahbod -Date: Mon Jul 20 15:56:19 2015 +0100 - - [USE] Start moving Unicode-to-USE mapping into Python code - - src/Makefile.am | 2 +- - src/gen-use-table.py | 176 +++++++++++++++++++++++++++++++++-- - src/hb-ot-shape-complex-use-table.cc | 3 +- - 3 files changed, 169 insertions(+), 12 deletions(-) - -commit eb74535cc2c0d0de41e54e75bdc71825ec969523 -Author: Behdad Esfahbod -Date: Mon Jul 20 15:33:25 2015 +0100 - - [USE] Fix Number clusters - - The spec wrongly has "H" where "HN" is meant. - - src/hb-ot-shape-complex-use-machine.rl | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit a9663958fe861950b6f389b389f146232b2cd909 -Author: Behdad Esfahbod -Date: Mon Jul 20 14:24:55 2015 +0100 - - [USE] Start putting together the shaper body - - src/hb-ot-shape-complex-use-private.hh | 2 +- - src/hb-ot-shape-complex-use.cc | 339 +++++++++++++++++++++++++++++++++ - 2 files changed, 340 insertions(+), 1 deletion(-) - -commit e0eabd7f67462ac34fbfc749d897be478fbd1224 -Author: Behdad Esfahbod -Date: Mon Jul 20 13:30:51 2015 +0100 - - [USE] Put a Ragel machine together - - Grammar from the spec! - - src/hb-ot-shape-complex-use-machine.rl | 169 +++++++++++++++++++++++++++++++++ - src/hb-ot-shape-complex-use-private.hh | 160 +++++++++++++++++++++++++++++++ - 2 files changed, 329 insertions(+) - -commit fd74b939b176f47d34d34b3d33e2a09d255c2d9e -Author: Behdad Esfahbod -Date: Mon Jul 20 13:30:45 2015 +0100 - - Minor - - src/Makefile.am | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 5e5c8560cca3cb9c6be90c7c18ecb77d5cca0c0f -Author: Behdad Esfahbod -Date: Mon Jul 20 12:01:20 2015 +0100 - - [USE] Minor optimization of USE table - - src/gen-use-table.py | 2 +- - src/hb-ot-shape-complex-use-table.cc | 30 ++++++++++++------------------ - 2 files changed, 13 insertions(+), 19 deletions(-) - -commit 14b12f92a9ef7db57c5252ef0442239319ce4bca -Author: Behdad Esfahbod -Date: Mon Jul 20 11:57:44 2015 +0100 - - [USE] Add Kharoshti test data from Unicode proposal - - test/shaping/texts/in-tree/MANIFEST | 1 + - test/shaping/texts/in-tree/shaper-use/MANIFEST | 1 + - .../in-tree/shaper-use/script-kharoshti/MANIFEST | 1 + - .../in-tree/shaper-use/script-kharoshti/misc.txt | 36 ++++++++++++++++++++++ - 4 files changed, 39 insertions(+) - -commit c48ff288522f33dc6c78520de0a0a74306630895 -Author: Behdad Esfahbod -Date: Mon Jul 20 11:46:17 2015 +0100 - - [USE] Build Universal Shaping Engine data table from Unicode 8 files - - src/gen-use-table.py | 35 +- - src/hb-ot-shape-complex-use-table.cc | 1016 ++++++++++++++++++++++++++++++++++ - 2 files changed, 1032 insertions(+), 19 deletions(-) - -commit e2c95116e1423f83a692d6170553d0cc95733d24 -Author: Behdad Esfahbod -Date: Mon Jul 20 11:32:48 2015 +0100 - - [USE] Add Universal Shaping Engine to Makefile - - src/Makefile.am | 23 +++- - src/gen-use-table.py | 237 +++++++++++++++++++++++++++++++++ - src/hb-ot-shape-complex-use-machine.rl | 0 - src/hb-ot-shape-complex-use-private.hh | 0 - src/hb-ot-shape-complex-use-table.cc | 0 - src/hb-ot-shape-complex-use.cc | 0 - 6 files changed, 254 insertions(+), 6 deletions(-) - -commit 41a29af8053782e3a9c6a96a394bd76ef6d42099 -Author: Behdad Esfahbod -Date: Wed Jul 15 01:39:57 2015 +0100 - - Update Arabic shaping table for Unicode 8.0 - - src/hb-ot-shape-complex-arabic-table.hh | 26 +++++++++++++------------- - 1 file changed, 13 insertions(+), 13 deletions(-) - -commit 64a2726e2c6efce4379a7609024ec21eb4b5e4dc -Author: Behdad Esfahbod -Date: Wed Jul 15 01:36:39 2015 +0100 - - Add Unicode 8.0 scripts - - Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1183209 - - src/hb-common.cc | 3 +++ - src/hb-common.h | 7 +++++++ - 2 files changed, 10 insertions(+) - -commit 9ae156b76820d9079bae062e7e38c34a386d9bd2 -Author: Behdad Esfahbod -Date: Sun Jul 5 22:43:17 2015 +0100 - - Fix pragma usage - - https://bugs.freedesktop.org/show_bug.cgi?id=91228 - - Commit cdcdfe61b97a0a48ccf834b6d924d187da9609be changed two `#pragma - message` to `#pragma error` in hb-unicode.cc, however MSVC uses #error, - just like the #else branch. `#pragma error` is an unknown pragma so - MSVC does not fail the build because of it, which I believe was the - intention of that commit. - - If it's meant to be an #error, then the #ifdef for _MSC_VER can be - removed entirely. - - src/hb-unicode.cc | 5 ----- - src/hb-warning.cc | 10 ---------- - 2 files changed, 15 deletions(-) - -commit 8ad89f057d737ccbc6f411e9ebcf11b8130a50bb -Author: ThePhD -Date: Tue Jun 23 09:09:24 2015 -0400 - - Spelling words is not my strong point. - - src/hb-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit e0a828ecbd708757d67977f7e92a6f4c1b0b92fd -Author: ThePhD -Date: Tue Jun 23 09:07:17 2015 -0400 - - Back to using regular `strdup`, with an `hb-private.hh` fix that special-cases VC++'s - definition and usage of the words - - src/hb-common.cc | 2 +- - src/hb-private.hh | 3 +++ - 2 files changed, 4 insertions(+), 1 deletion(-) - -commit 8e545d59610211261e684c10158b9e5df6fae24d -Author: ThePhD -Date: Mon Jun 22 22:29:04 2015 -0400 - - Fix all VC++ warnings and errors in the current commit's builds. - - src/hb-common.cc | 4 ++-- - src/hb-fallback-shape.cc | 2 +- - src/hb-ot-layout.cc | 2 +- - src/hb-ot-map.cc | 2 +- - src/hb-ot-shape-complex-hangul.cc | 2 +- - src/hb-ot-shape-complex-hebrew.cc | 2 +- - src/hb-ot-shape-complex-indic.cc | 4 ++-- - src/hb-ot-shape-normalize.cc | 6 +++--- - src/hb-ot-shape.cc | 2 +- - 9 files changed, 13 insertions(+), 13 deletions(-) - -commit 5f13bbd9d4b0970851626e2ce3cf4ecb3cfde801 -Author: Behdad Esfahbod -Date: Fri Jun 19 13:31:49 2015 -0700 - - When removing default-ignorables, merge clusters - - Fixes test-shape, and: - https://code.google.com/p/chromium/issues/detail?id=497578 - - src/hb-buffer-private.hh | 2 ++ - src/hb-buffer.cc | 36 ++++++++++++++++++++++++++++++++++-- - src/hb-ot-shape.cc | 2 +- - 3 files changed, 37 insertions(+), 3 deletions(-) - -commit 82b521aeb7cc73879b44ca4278d6fa8b4347527f -Author: Behdad Esfahbod -Date: Fri Jun 19 11:57:57 2015 -0700 - - Rewrite hide_default_ignorables - - Separate the loops for the two cases of replacing with space - and deleting. For deleting, use the out-buffer machinery. - - Needed for upcoming cluster merge fix. - - src/hb-buffer-private.hh | 18 ++++++++++++++ - src/hb-ot-shape.cc | 65 +++++++++++++++++++++++++++++------------------- - 2 files changed, 57 insertions(+), 26 deletions(-) - -commit b3a2f6afbac1956b65f29a17b9dc896e86135329 -Author: Behdad Esfahbod -Date: Thu Jun 18 17:15:33 2015 -0700 - - [test] Add test for cluster merging - - Based on test from https://code.google.com/p/chromium/issues/detail?id=497578 - - Currently fails. Basically, if there's a default_ignorable at the - start of text, and font has no space glyph, we remove the default_ignorable, - and that makes the first char in text to correspond to no cluster. - - Fix coming. - - test/api/test-shape.c | 43 +++++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 43 insertions(+) - -commit a6446d44e6d04e1eeea994682e29f9cb6265f7f6 -Author: Behdad Esfahbod -Date: Thu Jun 18 11:14:56 2015 -0700 - - 0.9.41 - - NEWS | 10 ++++++++++ - configure.ac | 2 +- - 2 files changed, 11 insertions(+), 1 deletion(-) - -commit cd042fc8c4a3984c3647cd22a27c34f00636f6e8 -Author: Behdad Esfahbod -Date: Thu Jun 18 10:55:13 2015 -0700 - - [util] Disable hb-fc-list for now - - Until I figure out what to do about the API, and finalize - the tool. - - util/Makefile.am | 28 ++++++++++++++-------------- - 1 file changed, 14 insertions(+), 14 deletions(-) - -commit 351f68f4e01a107f62e4eb3458d7c7ae379939fb -Author: Behdad Esfahbod -Date: Fri Jun 12 17:46:06 2015 -0700 - - [bindings] Fix hb_language_get_default() and hb_ot_tag_to_language() - - Part of https://github.com/behdad/harfbuzz/issues/91 - - src/hb-common.cc | 2 +- - src/hb-ot-tag.cc | 9 +++++++++ - 2 files changed, 10 insertions(+), 1 deletion(-) - -commit f0c80060763475aa34a18ecbef600b6811855cb6 -Author: Behdad Esfahbod -Date: Fri Jun 12 17:37:41 2015 -0700 - - [TravisCI] Hook up Coverity - - First try... - - .travis.yml | 13 +++++++++++++ - 1 file changed, 13 insertions(+) - -commit 8ac446908ca75bea989414a0f551a6da8885bf52 -Author: Behdad Esfahbod -Date: Fri Jun 12 17:29:05 2015 -0700 - - Add Coverity Scan badge - - README | 1 + - 1 file changed, 1 insertion(+) - -commit a5e4f6d6088f6ed37fb1d68d3682b8eb4c9b46fe -Author: Behdad Esfahbod -Date: Wed Jun 10 10:57:46 2015 -0700 - - Fix warnings: "member call on null pointer of type" - - https://bugzilla.mozilla.org/show_bug.cgi?id=1167119 - - src/hb-private.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 16dac7eccf04bb357e95a8e4c18c8418dcfb4030 -Author: Behdad Esfahbod -Date: Wed Jun 3 12:07:46 2015 -0700 - - Fix build - - util/options.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 8dacb7f8b46c70f22b70c78e0a8efc3309137650 -Author: Behdad Esfahbod -Date: Wed Jun 3 11:53:42 2015 -0700 - - Add include check to hb-ot-font.h - - src/hb-ot-font.h | 4 ++++ - 1 file changed, 4 insertions(+) - -commit 37c8daf724add4a41a06385e571277d137dc2a2f -Merge: f1b44303d 01c3a8854 -Author: Behdad Esfahbod -Date: Mon Jun 1 13:27:37 2015 -0700 - - Merge pull request #111 from brawer/since - - Fix "Since:" tags - -commit 01c3a88543850c87483fd8671044df53b368c520 -Author: Sascha Brawer -Date: Mon Jun 1 13:22:01 2015 +0200 - - Fix "Since:" tags - - Based on data from http://upstream-tracker.org/versions/harfbuzz.html - Resolves #103 - - src/hb-buffer.cc | 32 +++++++++++++++++------------ - src/hb-common.cc | 4 ++-- - src/hb-face.cc | 12 +++++------ - src/hb-font.cc | 14 ++++++------- - src/hb-font.h | 4 ++-- - src/hb-ft.cc | 4 ++-- - src/hb-glib.cc | 3 +++ - src/hb-gobject-structs.h | 18 +++++++++++++++++ - src/hb-ot-font.cc | 3 +++ - src/hb-ot-layout.cc | 30 ++++++++++++++++++++++++++++ - src/hb-ot-shape.cc | 6 ++++++ - src/hb-set.cc | 52 ++++++++++++++++++++++++------------------------ - src/hb-shape-plan.cc | 18 ++++++++--------- - src/hb-shape.cc | 8 ++++---- - src/hb-unicode.cc | 6 +++--- - src/hb-unicode.h | 31 ++++++++++++++++++++++++++--- - 16 files changed, 168 insertions(+), 77 deletions(-) - -commit f1b44303df0712b433e35e1e1e75115c353b279e -Author: Behdad Esfahbod -Date: Thu May 21 14:00:15 2015 -0700 - - Fix unary minus operator applied to unsigned int - - Applying unary minus operator to unsigned int causes the following - warning on MSVS: - - warning C4146: unary minus operator applied to unsigned type, result still unsigned - - Based on patch from Koji Ishi. - - Fixes https://github.com/behdad/harfbuzz/pull/110 - - src/hb-ot-font.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 1ae6cdb365c15405500d4f50ec98016dde23a26b -Author: Behdad Esfahbod -Date: Tue May 19 17:42:30 2015 -0700 - - [gobject] Remove hb_language_t workarounds for g-i shortcomings - - Using latest gobject-introspection, I don't seem to be having this - problem anymore: - - https://bugzilla.gnome.org/show_bug.cgi?id=707656 - - Removing that kludge makes language_t behave more like the way I expect it - in Python. - - Also fixes: - https://github.com/behdad/harfbuzz/issues/91 - - src/hb-gobject-structs.cc | 1 - - src/hb-gobject-structs.h | 8 -------- - 2 files changed, 9 deletions(-) - -commit ece434fa0fec6754e5164d881c1e967376729eca -Author: Behdad Esfahbod -Date: Tue May 19 17:20:58 2015 -0700 - - [gobject] Macroize value types - - Fixes user_data_t - - src/hb-gobject-structs.cc | 73 +++++++++++------------------------------------ - 1 file changed, 17 insertions(+), 56 deletions(-) - -commit 9df099b4837df722e738675af318efcc9ac39a78 -Author: Behdad Esfahbod -Date: Mon May 18 18:37:06 2015 -0700 - - [ft] Don't set *glyph in get_glyph() if glyph not found - - src/hb-ft.cc | 16 ++++++++++------ - 1 file changed, 10 insertions(+), 6 deletions(-) - -commit ff0f210519bcb0e44d4b986f7eef2004383cd344 -Author: Behdad Esfahbod -Date: Mon May 18 14:16:28 2015 -0700 - - [util] Minor - - util/ansi-print.cc | 26 +++++++++++++------------- - 1 file changed, 13 insertions(+), 13 deletions(-) - -commit fbecde3d5c5c6d5af315140e4966dc850388ad63 -Merge: 580152153 74139f983 -Author: Behdad Esfahbod -Date: Thu May 7 10:46:42 2015 -0700 - - Merge pull request #105 from ebraminio/master - - Fix Travis CI config to pass again - -commit 74139f9839f69ea3e7a1d17627f52fea6c06d58a -Author: Ebrahim Byagowi -Date: Thu May 7 13:09:32 2015 +0000 - - Fix Travis CI config to pass again - - .travis.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 58015215321a76d68df8e0d51039904a67291108 -Author: Behdad Esfahbod -Date: Wed May 6 00:40:31 2015 -0700 - - Add note re OpenType 1.7 language tags - - src/hb-ot-tag.cc | 15 ++++++++++----- - 1 file changed, 10 insertions(+), 5 deletions(-) - -commit f6266ad291d7686d5e110255ace5f2ff9e70bf38 -Author: Roozbeh Pournader -Date: Tue May 5 22:31:19 2015 -0700 - - [minor] Remove comment about Navajo OpenType code. - - Apparently the code is already standardized: - https://www.microsoft.com/typography/otspec/languagetags.htm - - src/hb-ot-tag.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 42b00118eae46a5183e885e89e0856f41361f57e -Merge: c60f3c8e1 cfeb0562e -Author: Behdad Esfahbod -Date: Tue May 5 14:49:47 2015 -0700 - - Merge pull request #102 from roozbehp/master - - Add OpenType language tag 'NAV ' for Navajo. - -commit c60f3c8e1156fe7328d42851013cca97333c3bf7 -Author: Behdad Esfahbod -Date: Mon May 4 23:10:32 2015 -0700 - - [README.python] Add package name for gobject-introspection on Ubuntu - - README.python | 8 ++++++-- - 1 file changed, 6 insertions(+), 2 deletions(-) - -commit 82010a4bdb32248deb1337a3357dfae5b203c48d -Author: Behdad Esfahbod -Date: Mon May 4 23:09:51 2015 -0700 - - [travis] Comment out gobject-introspection again - - Apparently the version on Travis is 1.32.0, while we require 1.34.0. - - .travis.yml | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 8a254bdd29a99eb91b37e9e540179a1a01f77605 -Author: Behdad Esfahbod -Date: Mon May 4 19:22:11 2015 -0700 - - [travis] Build with introspection enabled - - .travis.yml | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit be66ec5373634234f221ace9cfed45d76b87f20e -Author: Behdad Esfahbod -Date: Thu Apr 30 18:27:13 2015 -0400 - - Use TRUE/FALSE instead of true/false in docs - - src/hb-shape.cc | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit d055e1fc781c123f38d321846937965ef794257e -Author: Khaled Hosny -Date: Wed Jan 8 02:28:55 2014 +0200 - - Some attempt into initial hb-shape documentation - - Very anaemic, needs to descripe the format understood by - hb_feature_from_string() etc., but it is just start. - - src/hb-shape.cc | 70 ++++++++++++++++++++++++++++++++++++++------------------- - src/hb-shape.h | 3 --- - 2 files changed, 47 insertions(+), 26 deletions(-) - -commit 81bedda58cfc15f1987aa1952290cf9d87b4d074 -Author: Behdad Esfahbod -Date: Thu Apr 30 13:04:16 2015 -0400 - - New API: hb_buffer_reverse_range() - - src/hb-buffer.cc | 17 +++++++++++++++++ - src/hb-buffer.h | 4 ++++ - 2 files changed, 21 insertions(+) - -commit cfeb0562ebd8804dad731625153549eafeb78213 -Author: Roozbeh Pournader -Date: Wed Apr 29 09:32:42 2015 -0700 - - Add OpenType language tag 'NAV ' for Navajo. - - The code is not standardized yet, but is used in some Google fonts. - - src/hb-ot-tag.cc | 1 + - 1 file changed, 1 insertion(+) - -commit f724cc351640ee075a9867ef42df32cf5e0ef3b7 -Author: Jonathan Kew -Date: Thu Apr 23 12:45:02 2015 +0100 - - Don't apply Arabic shaping to vertical text. - - src/hb-ot-shape-complex-private.hh | 9 ++++++--- - 1 file changed, 6 insertions(+), 3 deletions(-) - -commit 97942420bbee1bc6953d5f805621066301fa17ca -Author: Behdad Esfahbod -Date: Thu Apr 23 18:56:24 2015 -0700 - - Update check-libstdc++ for clang - - src/check-libstdc++.sh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 8f0a4d67143ccdef0b5a6ac99fb9b680c3a2f69c -Author: Behdad Esfahbod -Date: Thu Apr 23 14:32:33 2015 -0700 - - [test] Ignor 'n' and 'i' in hb-unicode-encode - - Allows accepting uniXXXX format. - - test/shaping/hb_test_tools.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 39851ce84efd30f6d0570324ff8f3808a01b813b -Author: Behdad Esfahbod -Date: Tue Apr 21 19:23:27 2015 -0700 - - [coretext] Oops; fix issue number for previous commit - - src/hb-coretext.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 24f17afeafd40ff77177ed42c9007a0f34fcbb78 -Author: Behdad Esfahbod -Date: Tue Apr 21 19:21:32 2015 -0700 - - [coretext] Fix positioning with trailing whitespace - - Fixes https://code.google.com/p/chromium/issues/detail?id=476913 - - src/hb-coretext.cc | 11 +++++++++++ - 1 file changed, 11 insertions(+) - -commit dba482fc4458776ffebdeb2d34b970b4223fa8fd -Author: Behdad Esfahbod -Date: Fri Apr 17 13:08:08 2015 -0700 - - [ot-font] Accept MS Symbol cmap if nothing else found - - src/hb-ot-font.cc | 1 + - 1 file changed, 1 insertion(+) - -commit 3029e8b59d1667dc6a53355be89a2b55d7089b88 -Author: Behdad Esfahbod -Date: Tue Apr 14 13:32:22 2015 -0700 - - Revert "Add MSVC pragma for UTF-8 source code" - - This reverts commit 89cbd4d9533011fb5487caa99a0cd58923e7cf59. - - See discussion: - https://bugzilla.gnome.org/show_bug.cgi?id=747772 - - src/hb-private.hh | 1 - - 1 file changed, 1 deletion(-) - -commit 820505a186ff60e4bae9d717fe4d7ab2390e6fef -Author: Behdad Esfahbod -Date: Mon Apr 13 23:51:45 2015 -0700 - - Whitespace - - util/options.cc | 18 +++++++++++------- - 1 file changed, 11 insertions(+), 7 deletions(-) - -commit 76d57331117be8e0c2d4a2aee8341969b62b6888 -Merge: 89cbd4d95 9ee176ee9 -Author: Behdad Esfahbod -Date: Mon Apr 13 23:40:35 2015 -0700 - - Merge pull request #86 from cpfair/hb-shape-output-help-improvement - - Improve hb-shape/hb-view's help text w.r.t. output options - -commit 89cbd4d9533011fb5487caa99a0cd58923e7cf59 -Author: Behdad Esfahbod -Date: Mon Apr 13 12:27:08 2015 -0700 - - Add MSVC pragma for UTF-8 source code - - Not sure we have any right now; motivated by this: - https://bugzilla.gnome.org/show_bug.cgi?id=747772 - - src/hb-private.hh | 1 + - 1 file changed, 1 insertion(+) - -commit 713f99ff6138b4149d9fd382f9af3ace01ee0da5 -Merge: 1086f21e5 22524a514 -Author: Behdad Esfahbod -Date: Fri Apr 10 14:34:05 2015 -0700 - - Merge pull request #99 from khaledhosny/introspection-fixes2 - - More ntrospection fixes - -commit 22524a514f6609a2bc009b6035f6b5b932c719c7 -Author: Khaled Hosny -Date: Fri Apr 10 18:14:45 2015 +0200 - - [bindings] Fix hb_buffer_get_segment_properties - - Annotate the output parameter. - - src/hb-buffer.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 1086f21e546e2435d9da6024fd6afa7a36ba3707 -Merge: 125cb0834 fe97b65a5 -Author: Behdad Esfahbod -Date: Fri Apr 10 12:21:04 2015 -0700 - - Merge branch 'hb-fc' - -commit 125cb08345a7f27e565329d37093b1a60a41a403 -Merge: e8fd83932 855a5d7cb -Author: Behdad Esfahbod -Date: Fri Apr 10 12:19:57 2015 -0700 - - Merge pull request #98 from KonstantinRitt/WEC2013 - - Fix build on WEC2013 - -commit 04f89e8f7dfdb882e8c98afb613cba3f1d02ed7d -Author: Khaled Hosny -Date: Fri Apr 10 17:49:01 2015 +0200 - - [bindings] Fix ownership of returned hb_language_t - - It should not be freed by the caller. - - src/hb-buffer.cc | 2 +- - src/hb-common.cc | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit 855a5d7cb8f585bf66dd18cb480b8c3feef62480 -Author: Konstantin Ritt -Date: Fri Apr 10 17:18:01 2015 +0400 - - Fix build on WEC2013 - - Based on patch from Björn Breitmeyer - - src/hb-private.hh | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit fe97b65a54a416229e28b1c931e5e01ca19f31d3 -Author: Behdad Esfahbod -Date: Wed Aug 6 16:49:51 2014 -0400 - - [utils] Add hb-fc-list - - This is a tool that lists all fonts that can render a given string. - It uses hb_shape() to do so, and as such is aware of HarfBuzz's - normalizer. - - configure.ac | 19 +++++ - util/Makefile.am | 15 ++++ - util/hb-fc-list.c | 222 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ - util/hb-fc.cc | 149 ++++++++++++++++++++++++++++++++++++ - util/hb-fc.h | 46 +++++++++++ - 5 files changed, 451 insertions(+) - -commit eb0bf3ae6688b7e98a706df2ad2714c071d77e22 -Author: Behdad Esfahbod -Date: Wed Aug 6 15:36:41 2014 -0400 - - Relax inert checks - - Previously, when creating an object from inert inputs (eg: - "hb_font_create(hb_face_get_empty())") we returned the inert - empty object. This is not helpful as there are legitimate - usecases to do that. - - We now never return the inert object unless allocation failed. - - Tests are revised to reflect. - - src/hb-face.cc | 4 ++-- - src/hb-font.cc | 4 +--- - src/hb-shape-plan.cc | 7 +++++-- - test/api/test-font.c | 10 +++++----- - test/api/test-object.c | 34 +++++++++++++++++----------------- - 5 files changed, 30 insertions(+), 29 deletions(-) - -commit e8fd83932a75cfbaa4638a757868915ebfac3c1f -Author: Behdad Esfahbod -Date: Thu Apr 9 15:52:26 2015 -0700 - - [util/hb-view] Fix rendering with all combinations of negative scales - - util/view-cairo.cc | 90 ++++++++++++++++++++++++++++-------------------------- - util/view-cairo.hh | 2 -- - 2 files changed, 47 insertions(+), 45 deletions(-) - -commit 69d5af93169ea2d87276b65d43c889a359d5d81e -Author: Behdad Esfahbod -Date: Thu Apr 9 15:17:16 2015 -0700 - - [util] Minor - - util/view-cairo.cc | 6 ++---- - 1 file changed, 2 insertions(+), 4 deletions(-) - -commit a664810e38b479e05ea32cac263cb5730629f9d8 -Author: Behdad Esfahbod -Date: Thu Apr 9 15:04:42 2015 -0700 - - [util] Accept comma as well as space when separating components of args - - Applies to --font-size and --margin. - - Hopefully the scanf usage here doesn't have compatibility issues - (star being counted in the return value, etc). - - util/options.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 9c974360febcfd67247107352425fe8590d9d452 -Author: Behdad Esfahbod -Date: Thu Apr 9 12:04:14 2015 -0700 - - Minor rename - - src/hb-atomic-private.hh | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -commit f3b170bdd970e31e9dbfed94c07c3cda41269aed -Author: Behdad Esfahbod -Date: Wed Apr 8 16:26:24 2015 -0700 - - Minor - - src/hb-common.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 2958f2c147fc6327175b51a4eaca694263e34ac9 -Author: Behdad Esfahbod -Date: Wed Apr 8 16:26:16 2015 -0700 - - Fixup - - src/hb-atomic-private.hh | 1 + - 1 file changed, 1 insertion(+) - -commit b931e0b0ceeab0e4819d9c4b838c1a1eb87b52e4 -Author: Behdad Esfahbod -Date: Wed Apr 8 14:39:00 2015 -0700 - - Fix warnings - - Part of https://github.com/behdad/harfbuzz/pull/68 - - src/hb-ot-font.cc | 4 ++-- - src/hb-ot-layout-gsubgpos-private.hh | 22 +++++++++++----------- - 2 files changed, 13 insertions(+), 13 deletions(-) - -commit cdcdfe61b97a0a48ccf834b6d924d187da9609be -Author: Behdad Esfahbod -Date: Wed Apr 8 13:25:04 2015 -0700 - - Err, instead of warn, if mutex / atomic / unicode funcs are missing - - Hopefully this results in fewer badly built HarfBuzz integrations. - - src/hb-unicode.cc | 8 ++++---- - src/hb-warning.cc | 22 ++++++++-------------- - 2 files changed, 12 insertions(+), 18 deletions(-) - -commit fc3c59a1d746c5280f6216a94fdc1be3e826051f -Author: Behdad Esfahbod -Date: Wed Apr 8 13:03:27 2015 -0700 - - Fix unused var warnings - - src/hb-ot-layout-gpos-table.hh | 1 - - src/hb-ot-layout-gsub-table.hh | 1 - - 2 files changed, 2 deletions(-) - -commit 3f174cd020b7762fae96f20ce14fc9e9abec748f -Author: Konstantin Ritt -Date: Sat Mar 28 00:49:33 2015 +0400 - - Minor refactoring to the atomics implementation - - s/atomic_int/atomic_int_impl/ and s/atomic_ptr/atomic_ptr_impl/ - to bring it in par with hb_mutex_impl_t, then re-introduce - hb_atomic_int_t as a wrapper around hb_atomic_int_impl_t. - - In hb_reference_count_t, make it clear the non-atomic get and set - are intentional due to nature of the cases they are used in - (comparison to -1 and the debug output/tracing). - - src/hb-atomic-private.hh | 86 +++++++++++++++++++++++++++++++----------------- - src/hb-mutex-private.hh | 4 ++- - src/hb-object-private.hh | 21 ++++++------ - 3 files changed, 69 insertions(+), 42 deletions(-) - -commit 24930d544ee9e247e4cf6a5f6d5207ba9d7a3ddc -Author: Behdad Esfahbod -Date: Wed Apr 8 12:52:06 2015 -0700 - - Minor - - src/hb-mutex-private.hh | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 45a8b46f478d4aa63ae5df74b6bb28ebdd7521ac -Author: Behdad Esfahbod -Date: Wed Apr 8 12:49:38 2015 -0700 - - Allow implementing atomic and mutex ops in config - - Motivated by - https://github.com/behdad/harfbuzz/pull/92 - - src/hb-atomic-private.hh | 6 +++++- - src/hb-mutex-private.hh | 7 ++++++- - 2 files changed, 11 insertions(+), 2 deletions(-) - -commit 3fe4e92bc5ff09d84c6763cedf06ce80d15a5fb2 -Author: Behdad Esfahbod -Date: Wed Apr 8 12:49:23 2015 -0700 - - Minor - - src/hb-set-private.hh | 1 - - 1 file changed, 1 deletion(-) - -commit 9868749abe468130d89c80a2501847a83acb4579 -Author: Behdad Esfahbod -Date: Mon Apr 6 14:51:31 2015 -0700 - - [test] Use /usr/bin/env python instead of /usr/bin/python - - Bug 76494 - #!/usr/bin/python in testsuite - - https://bugs.freedesktop.org/show_bug.cgi?id=76494 - - test/shaping/hb-diff | 2 +- - test/shaping/hb-diff-colorize | 2 +- - test/shaping/hb-diff-filter-failures | 2 +- - test/shaping/hb-diff-ngrams | 2 +- - test/shaping/hb-diff-stat | 2 +- - test/shaping/hb-manifest-read | 2 +- - test/shaping/hb-manifest-update | 2 +- - test/shaping/hb-unicode-decode | 2 +- - test/shaping/hb-unicode-encode | 2 +- - test/shaping/hb-unicode-prettyname | 2 +- - test/shaping/hb_test_tools.py | 2 +- - 11 files changed, 11 insertions(+), 11 deletions(-) - -commit bfcddd32a674dd19fca1bf521e95466a0eec5179 -Merge: ce01ad7c2 363ceec3f -Author: Behdad Esfahbod -Date: Mon Apr 6 14:41:32 2015 -0700 - - Merge pull request #93 from ebraminio/archpy3 - - Make hb_test_tools.py compatible with python 3 - -commit ce01ad7c2f5a259030f4dbec746f85522aa9c3f9 -Author: Behdad Esfahbod -Date: Wed Apr 1 11:05:59 2015 -0700 - - MSVC 2015 supports snprintf and not _snprintf - - src/hb-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 560718862f0bd994b62361652d6fd558c4182e2a -Author: Behdad Esfahbod -Date: Wed Apr 1 11:04:33 2015 -0700 - - Move WinCE define to better place - - src/hb-private.hh | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit 363ceec3fb0c9566db5a59da31e508f69dea1e92 -Author: Ebrahim Byagowi -Date: Mon Mar 30 03:27:14 2015 +0430 - - Make hb_test_tools.py compatible with python 3 - - On ArchLinux, /usr/bin/python is linked to python 3 so - HarfBuzz `make check` is broken there. - - This makes hb_test_tools.py compatible with python 3 while - no breaking it on python 2. - - test/shaping/hb_test_tools.py | 44 ++++++++++++++++++++++++------------------- - 1 file changed, 25 insertions(+), 19 deletions(-) - -commit aee685086c8fde6f6c4590e483a177c19f222540 -Author: Behdad Esfahbod -Date: Thu Mar 26 14:13:53 2015 -0400 - - Fix VC++ /analyze warnings - - out\debug\hb-buffer-deserialize-text.rl(47) : warning C6001: Using - uninitialized memory 'pos'. - - src/hb-buffer-deserialize-text.rl | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 8886ab430ca68539cb318e175647e9f6973718b0 -Merge: e3671b8f8 a394bb667 -Author: Behdad Esfahbod -Date: Sun Mar 22 16:18:57 2015 -0400 - - Merge pull request #90 from khaledhosny/introspection-fixes - - [bindings] Fix *_from_string functions - -commit a394bb66707184c995fe2d08c80e98220e6ec0b0 -Author: Khaled Hosny -Date: Sun Mar 22 20:29:10 2015 +0200 - - [bindings] Fix *_from_string functions - - Without the element-type they will be getting garbage, at least with - Python. - - src/hb-common.cc | 8 ++++---- - src/hb-font.cc | 2 +- - src/hb-shape.cc | 2 +- - 3 files changed, 6 insertions(+), 6 deletions(-) - -commit e3671b8f8bb339e8a563a9da9cd5069073200fec -Author: Behdad Esfahbod -Date: Fri Mar 20 18:03:02 2015 -0400 - - 0.9.40 - - NEWS | 8 ++++++++ - configure.ac | 2 +- - 2 files changed, 9 insertions(+), 1 deletion(-) - -commit 9e401f6890f2bea1d11914bca436c2230f8d0f1b -Author: Behdad Esfahbod -Date: Fri Mar 20 16:08:38 2015 -0400 - - Fix reverse_range() for empty range - - Fixes coretext notdef loop consisting of all default_ignorable glyphs - - https://code.google.com/p/chromium/issues/detail?id=464755 - - src/hb-buffer.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 7481bd49d56d4e814ab1f85fc2df8bf934d520f4 -Author: Behdad Esfahbod -Date: Wed Mar 4 15:47:25 2015 -0800 - - Fix previous commit - - I misunderstood how which works. - - autogen.sh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 6763e21afb77b250ad4416ff921d46c63ea12443 -Author: Behdad Esfahbod -Date: Wed Mar 4 15:43:05 2015 -0800 - - Accept glibtoolize as libtoolize - - Of course, we don't really run it, autoreconf does. We just - err if neither is available. glibtoolize is the name it is - shipped under on OS X. Reported by Adam. - - autogen.sh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 02a04e6afb1a76894f3723a467716607970d95d3 -Author: Behdad Esfahbod -Date: Wed Mar 4 12:32:03 2015 -0800 - - 0.9.39 - - NEWS | 10 ++++++++++ - configure.ac | 2 +- - 2 files changed, 11 insertions(+), 1 deletion(-) - -commit 98e3ea8e34c798ce003e946c9a150bb41be9d09b -Author: Behdad Esfahbod -Date: Wed Mar 4 12:03:39 2015 -0800 - - Fix hb-uniscribe build - - src/hb-ot-name-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 8ac345e5c0ed0aad6547592ea0839aabfb4ba980 -Author: Behdad Esfahbod -Date: Mon Mar 2 16:06:55 2015 -0800 - - Fix reverse_range() to only reverse alt array if positions are used - - In hb-coretext, when we were using scratch buffer for book-keeping, - a reverse_range() caused by the notdef-insertion loop could mess up - our log_clusters. Ouch! - - src/hb-buffer.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 1e03d7ac83f3e17aafed1e37390d9ff8394e36da -Author: Behdad Esfahbod -Date: Thu Feb 26 13:58:32 2015 -0800 - - Better error message if libtool is not installed - - Fixes https://github.com/behdad/harfbuzz/pull/88 - - autogen.sh | 9 +++++++-- - 1 file changed, 7 insertions(+), 2 deletions(-) - -commit 6c918e2997fb82e89485f2b50bee2bf4fcd70592 -Author: Behdad Esfahbod -Date: Thu Feb 26 13:55:34 2015 -0800 - - Clean up gtk-doc.make - - Makefile.am | 1 + - 1 file changed, 1 insertion(+) - -commit 5ec5875acb12cf07447c9ebfb03212601368dfc4 -Author: Behdad Esfahbod -Date: Thu Feb 26 13:53:05 2015 -0800 - - Install git.mk in docs/ - - docs/Makefile.am | 2 ++ - 1 file changed, 2 insertions(+) - -commit d146678d103425b3da7ef393bc6d66f6ba4c5593 -Author: Behdad Esfahbod -Date: Thu Feb 26 13:52:50 2015 -0800 - - Update git.mk from upstream - - git.mk | 35 ++++++++++++++++++++++++++++------- - 1 file changed, 28 insertions(+), 7 deletions(-) - -commit 5f541f8f7be82f29b77b481827deb212e12d53e4 -Author: Behdad Esfahbod -Date: Sat Feb 21 16:51:17 2015 +0300 - - Minor refactoring - - src/hb-private.hh | 44 ++++++++++++++++++++++++++++---------------- - 1 file changed, 28 insertions(+), 16 deletions(-) - -commit ef79bdf73bbfde1bfaa222834809d105ab7755b3 -Author: Behdad Esfahbod -Date: Sat Feb 21 16:49:15 2015 +0300 - - Minor - - src/hb-ot-layout-common-private.hh | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit 68e04afbb1e1073c47474f7a4d6d2cacf7057f6f -Author: Behdad Esfahbod -Date: Sat Feb 21 16:30:28 2015 +0300 - - Typo - - src/hb-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 55553699b38d6481fbfacd0a32fc266e55553b34 -Author: Behdad Esfahbod -Date: Sat Feb 21 16:29:08 2015 +0300 - - Minor - - src/hb-private.hh | 2 -- - 1 file changed, 2 deletions(-) - -commit 5175300fbaf4ff19b7d38c14c86331bb614b0390 -Author: Behdad Esfahbod -Date: Sat Feb 21 12:50:01 2015 +0300 - - [layout] Fix comparison of GlyphID and hb_codepoint_t - - Before, the IntType::cmp functions providing this and was truncating - the hb_codepoint_t to 16bits before comparison. I have no idea how - this was never discovered, and I'm too lazy to try to reproduce this - with Pango (which uses non-16bit codepoint numbers for missing glyphs). - - src/hb-open-type-private.hh | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -commit 7cce809cb11e0ce65dbdab899779ece3dc337763 -Author: Behdad Esfahbod -Date: Sat Feb 21 12:41:08 2015 +0300 - - Remove unused (and wrong as of a few commits ago) cmp() function - - src/hb-open-type-private.hh | 1 - - 1 file changed, 1 deletion(-) - -commit 8e3d4bae033bdec649676da26cfc3eb7610832a8 -Author: Behdad Esfahbod -Date: Sat Feb 21 12:31:59 2015 +0300 - - Minor - - src/hb-ot-layout-common-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit f47cf1f12dd1fa3cd3aa84502139caca9d469af8 -Author: Behdad Esfahbod -Date: Sat Feb 21 11:45:22 2015 +0300 - - Minor - - src/hb-ot-layout.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 640b66c6348653bfd7cf88ea9caa2133c0eb949f -Author: Behdad Esfahbod -Date: Thu Feb 19 17:30:05 2015 +0300 - - [layout] If lookup has only one subtable, move the forward loop down to subtable - - I was hoping to see a nice speedup, but it resulted in a very minor one. - - src/hb-ot-layout.cc | 33 ++++++++++++++++++++++++++++++++- - 1 file changed, 32 insertions(+), 1 deletion(-) - -commit e2f50f2a7ebf9882ea89dc3f0c740e7fce964e37 -Author: Behdad Esfahbod -Date: Thu Feb 19 17:15:05 2015 +0300 - - [layout] Add apply_forward / apply_backward - - src/hb-ot-layout.cc | 69 +++++++++++++++++++++++++++++++++++------------------ - 1 file changed, 46 insertions(+), 23 deletions(-) - -commit 1d4a328472f094c0d75a062f6e176c6b1875cfdc -Author: Behdad Esfahbod -Date: Thu Feb 19 11:33:30 2015 +0300 - - [layout] Remove unneeded return value from apply() - - src/hb-ot-layout.cc | 12 +++++------- - 1 file changed, 5 insertions(+), 7 deletions(-) - -commit bbdd6fd21cc2e079defff7cb17c3eb8eff3f9e09 -Author: Behdad Esfahbod -Date: Thu Feb 19 17:03:02 2015 +0300 - - Minor simpilfy BEInt - - src/hb-open-type-private.hh | 25 ++----------------------- - 1 file changed, 2 insertions(+), 23 deletions(-) - -commit 88a399acdc0fcb060803da0e7db56de2866981e3 -Author: Behdad Esfahbod -Date: Thu Feb 19 16:57:12 2015 +0300 - - Optimize IntType comparison to avoid branches for 16bit numbers - - src/hb-open-type-private.hh | 9 ++++++++- - 1 file changed, 8 insertions(+), 1 deletion(-) - -commit 37de2d533126245774417234e3536fcfb24f3a6b -Author: Behdad Esfahbod -Date: Thu Feb 19 16:55:51 2015 +0300 - - Minor simplify IntType - - src/hb-open-type-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit bd047d3b7f04d551c0a26bc0ce9b9d61481e34e1 -Author: Behdad Esfahbod -Date: Thu Feb 19 10:47:18 2015 +0300 - - [layout] Minor - - src/hb-ot-layout-gpos-table.hh | 6 ++++++ - src/hb-ot-layout-gsub-table.hh | 6 ++++++ - src/hb-ot-layout.cc | 4 ++-- - 3 files changed, 14 insertions(+), 2 deletions(-) - -commit b9d3f60520c022dc952e65a66eb138d1f7cae2e1 -Author: Behdad Esfahbod -Date: Thu Feb 19 10:42:41 2015 +0300 - - [layout] Minor - - src/hb-ot-layout.cc | 15 ++++----------- - 1 file changed, 4 insertions(+), 11 deletions(-) - -commit 1a2322134a5d7bba990da28baf893b35879a5a7a -Author: Behdad Esfahbod -Date: Thu Feb 19 10:40:23 2015 +0300 - - [layout] Don't check glyph props against lookup flags when recursing - - Shouldn't be needed. I have a hard time imagining this breaking any - legitimate use case. - - src/hb-ot-layout-gpos-table.hh | 10 +--------- - src/hb-ot-layout-gsub-table.hh | 10 +--------- - 2 files changed, 2 insertions(+), 18 deletions(-) - -commit 095a1257cc3cc56b044b4cd842a92f0d0f933a50 -Author: Behdad Esfahbod -Date: Thu Feb 19 10:29:41 2015 +0300 - - [layout] Port sanitize() to use dispatch() - - Needed some rework of Extension table. Hopefully I got it right, and - the new template usage doesn't break any compilers... - - src/hb-open-type-private.hh | 5 ++- - src/hb-ot-layout-gpos-table.hh | 82 +---------------------------------- - src/hb-ot-layout-gsub-table.hh | 72 ++----------------------------- - src/hb-ot-layout-gsubgpos-private.hh | 84 ++++++++++++------------------------ - 4 files changed, 37 insertions(+), 206 deletions(-) - -commit 758fb20630f84c3d373cda37974b88f16c02995e -Author: Behdad Esfahbod -Date: Wed Feb 18 13:45:03 2015 +0300 - - Remove unused macro - - src/hb-ot-shape-complex-arabic-win1256.hh | 1 - - 1 file changed, 1 deletion(-) - -commit 40c58923cbf689c465f9b65334c455a9b7f71ab0 -Author: Behdad Esfahbod -Date: Wed Feb 18 13:18:46 2015 +0300 - - [layout] Refactor Lookup::dispatch() - - src/hb-ot-layout-common-private.hh | 20 ++++++++++++++++++++ - src/hb-ot-layout-gpos-table.hh | 12 +----------- - src/hb-ot-layout-gsub-table.hh | 12 +----------- - src/hb-ot-layout-gsubgpos-private.hh | 6 ------ - 4 files changed, 22 insertions(+), 28 deletions(-) - -commit 70366f5d19df2e654f0933474fecf1aa16e27812 -Author: Behdad Esfahbod -Date: Wed Feb 18 13:09:54 2015 +0300 - - [layout] Refactor get_subtable() - - src/hb-ot-layout-common-private.hh | 12 ++++++++++++ - src/hb-ot-layout-gpos-table.hh | 4 ++-- - src/hb-ot-layout-gsub-table.hh | 6 +++--- - 3 files changed, 17 insertions(+), 5 deletions(-) - -commit f72f326aea6d1e93f63040730f7aecd401676c1c -Author: Behdad Esfahbod -Date: Tue Feb 17 19:18:07 2015 +0300 - - Minor - - src/hb-ot-layout-gpos-table.hh | 1 - - 1 file changed, 1 deletion(-) - -commit 8e36ccfd4f076888076ca176c055c18104af03b6 -Author: Behdad Esfahbod -Date: Tue Feb 17 19:15:34 2015 +0300 - - [layout] Use dispatch() for add_coverage() - - src/hb-ot-layout-gpos-table.hh | 12 ++---------- - src/hb-ot-layout-gsub-table.hh | 12 ++---------- - src/hb-ot-layout-gsubgpos-private.hh | 12 ++++++++++-- - 3 files changed, 14 insertions(+), 22 deletions(-) - -commit 50b8dc79daffc7ef671dd5eedfea47f8d5e946f4 -Author: Behdad Esfahbod -Date: Tue Feb 17 18:14:17 2015 +0300 - - [layout] Add may_dispatch() - - No functional change right now. - - src/hb-ot-layout-gpos-table.hh | 7 +++++++ - src/hb-ot-layout-gsub-table.hh | 6 ++++++ - src/hb-ot-layout-gsubgpos-private.hh | 12 ++++++++++++ - 3 files changed, 25 insertions(+) - -commit de2118ed7a998a1df9b28fd1be96b4af89ed82c3 -Author: Behdad Esfahbod -Date: Tue Feb 17 17:27:44 2015 +0300 - - Make sanitize() a const method - - This makes a lot of code safer. We only try modifying the object in one - place, after making sure it's safe to do so. So, do a const_cast<> in - that one place... - - src/hb-open-file-private.hh | 15 +++-- - src/hb-open-type-private.hh | 51 +++++++++++------ - src/hb-ot-cmap-table.hh | 35 ++++++++---- - src/hb-ot-head-table.hh | 6 +- - src/hb-ot-hhea-table.hh | 3 +- - src/hb-ot-hmtx-table.hh | 3 +- - src/hb-ot-layout-common-private.hh | 58 ++++++++++++------- - src/hb-ot-layout-gdef-table.hh | 30 ++++++---- - src/hb-ot-layout-gpos-table.hh | 108 +++++++++++++++++++++++------------ - src/hb-ot-layout-gsub-table.hh | 58 ++++++++++++------- - src/hb-ot-layout-gsubgpos-private.hh | 65 +++++++++++++-------- - src/hb-ot-layout-jstf-table.hh | 12 ++-- - src/hb-ot-maxp-table.hh | 6 +- - src/hb-ot-name-table.hh | 6 +- - 14 files changed, 296 insertions(+), 160 deletions(-) - -commit 6759ed95a3bec2874826376b68ebff19ba277ef2 -Author: Behdad Esfahbod -Date: Tue Feb 17 16:05:30 2015 +0300 - - Minor - - src/hb-ot-layout-gpos-table.hh | 6 ++---- - src/hb-ot-layout-gsub-table.hh | 6 ++---- - 2 files changed, 4 insertions(+), 8 deletions(-) - -commit 6b599dac1f814a3c900300241d4c492a8f8b66d2 -Author: Behdad Esfahbod -Date: Tue Feb 17 16:04:07 2015 +0300 - - Remove unnecessary check in sanitize - - src/hb-ot-layout-gpos-table.hh | 2 -- - src/hb-ot-layout-gsub-table.hh | 2 -- - 2 files changed, 4 deletions(-) - -commit 365576d246949f9d587e90cf0539dc0381e4d0a3 -Author: Behdad Esfahbod -Date: Thu Jan 29 13:59:42 2015 +0100 - - [layout] Allocate iters in the context - - Can be further optimized, but I think I didn't break anything. - - Saves another 3% off Roboto shaping. - - src/hb-ot-layout-gpos-table.hh | 18 ++++++------------ - src/hb-ot-layout-gsubgpos-private.hh | 21 +++++++++++++-------- - src/hb-ot-shape-fallback.cc | 2 +- - 3 files changed, 20 insertions(+), 21 deletions(-) - -commit 514564f5444b8ad2f210b1e3d7d66378f7275317 -Author: Behdad Esfahbod -Date: Thu Jan 29 13:48:48 2015 +0100 - - [layout] Move skippy_iter setup from constructor into init() - - src/hb-ot-layout-gpos-table.hh | 18 ++++++++++++------ - src/hb-ot-layout-gsubgpos-private.hh | 28 +++++++++++++++------------- - src/hb-ot-shape-fallback.cc | 3 ++- - 3 files changed, 29 insertions(+), 20 deletions(-) - -commit b051be542a8945ec14b0192bbc285f3e1a78c8f1 -Author: Behdad Esfahbod -Date: Thu Jan 29 13:40:39 2015 +0100 - - [lookup] Add skippy_iter.reset() - - Towards reducing the cost of initializing skippy_iter() - - src/hb-ot-layout-gpos-table.hh | 18 ++++++++++++------ - src/hb-ot-layout-gsubgpos-private.hh | 27 ++++++++++++++++++--------- - src/hb-ot-shape-fallback.cc | 3 ++- - 3 files changed, 32 insertions(+), 16 deletions(-) - -commit 2cecc38c7cf49b2cf697efa7e974ceee7055f2c5 -Author: Behdad Esfahbod -Date: Thu Jan 29 13:32:05 2015 +0100 - - [layout] Shuffle code around - - src/hb-ot-layout-gsubgpos-private.hh | 111 ++++++++++++++++++----------------- - 1 file changed, 56 insertions(+), 55 deletions(-) - -commit 696266981df5ef6c62ad0115133dad1d6c1d9acc -Author: Behdad Esfahbod -Date: Thu Jan 29 13:08:41 2015 +0100 - - [layout] Merge forward and backward iterators - - src/hb-ot-layout-gpos-table.hh | 12 +++--- - src/hb-ot-layout-gsubgpos-private.hh | 71 ++++++++---------------------------- - src/hb-ot-shape-fallback.cc | 2 +- - 3 files changed, 23 insertions(+), 62 deletions(-) - -commit 1f038eec3c0dd6331036f795614fe1ddcbf613b0 -Author: Behdad Esfahbod -Date: Thu Jan 29 13:05:25 2015 +0100 - - [layout] Fix backward reject() - - Has no functional effect since reject was never used with - match_glyph_data. - - src/hb-ot-layout-gsubgpos-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 37d13acd8d414a4b53fac0152addfadecf755cd4 -Author: Behdad Esfahbod -Date: Thu Jan 29 11:38:01 2015 +0100 - - [layout] Remove some unnecessary checks in skippy - - src/hb-ot-layout-gpos-table.hh | 3 --- - src/hb-ot-layout-gsubgpos-private.hh | 9 ++------- - 2 files changed, 2 insertions(+), 10 deletions(-) - -commit baa14e18148d3f5493f78b4fe9e0c835a01f50f7 -Author: Behdad Esfahbod -Date: Thu Jan 29 11:08:43 2015 +0100 - - [lookup] Don't initialize skippy if coverage match fails - - Currently: - - - Initializing skippy is very expensive, - - - Our lookup accelerator (using set-digests) can be very ineffecite, - - As such, we end up many times initializing skippy but then failing - coverage check. Reordering fixes that. - - When, later, we fix our accelerator to have truly small false-positive - rate (for example by using the frozen-sets), then we might want to - reorder these checks such that we wouldn't calculate coverage number - if skippy is going to fail. - - This shows a 5% speedup with Roboto already. - - src/hb-ot-layout-gpos-table.hh | 15 ++++++--------- - 1 file changed, 6 insertions(+), 9 deletions(-) - -commit 7788993bc19bf122f1e143ab64cc1da2ed1865a3 -Author: Behdad Esfahbod -Date: Wed Jan 28 23:01:12 2015 -0800 - - [layout] Use setter method to set c->lookup_props - - src/hb-ot-layout-gpos-table.hh | 2 +- - src/hb-ot-layout-gsub-table.hh | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit f4ee48fd7b312550faf9b0be4cd1b2f2849dd08d -Author: Behdad Esfahbod -Date: Wed Jan 28 22:53:54 2015 -0800 - - [layout] Remove unused wrapper method - - src/hb-ot-layout-gsubgpos-private.hh | 2 -- - 1 file changed, 2 deletions(-) - -commit 7b7129c7a997def599fb4d2ba05fda40d27aed20 -Author: Behdad Esfahbod -Date: Wed Jan 28 21:46:07 2015 -0800 - - Add hb_frozen_set_t - - I experimented with replacing use of hb_set_digest_t with this new - hb_frozen_set_t, hoping to get a huge speedup for busy lookups - (like kern lookup in Roboto), but I only got 6% speendup in Roboto - and 4% in NotoNastaliqUrduDraft :(. - - src/hb-set-private.hh | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++- - 1 file changed, 56 insertions(+), 1 deletion(-) - -commit 241eac9559465fa79f396570af4e87f455b7e9d5 -Author: Behdad Esfahbod -Date: Wed Jan 28 20:55:42 2015 -0800 - - Hide internals of lookup accelerators - - src/hb-ot-layout-gsub-table.hh | 5 +++-- - src/hb-ot-layout-private.hh | 5 +++++ - src/hb-ot-layout.cc | 6 +++--- - 3 files changed, 11 insertions(+), 5 deletions(-) - -commit e2d4e8480d85436a3acad8145acac345ed593f5a -Author: Behdad Esfahbod -Date: Wed Jan 28 20:29:48 2015 -0800 - - [util] Add convenience "make lib" target - - util/Makefile.am | 4 ++++ - 1 file changed, 4 insertions(+) - -commit faaae64bf28abdcdd15185374bc09a3809794118 -Merge: 7888a6b07 9768e651b -Author: Behdad Esfahbod -Date: Wed Feb 25 15:34:34 2015 -0800 - - Merge pull request #85 from KonstantinRitt/define_inline - - Fix build with MSVC on CE - -commit 9ee176ee978e6668c4faf00028811ce70979122e -Author: Collin Fair -Date: Sat Feb 14 09:59:44 2015 -0500 - - Stop hb-shape docs leaking into hb-view - - util/options.cc | 15 ++++++++------- - 1 file changed, 8 insertions(+), 7 deletions(-) - -commit 952b8dbdf61da9b4814e09ad3c1b9b76483bef5c -Author: Collin Fair -Date: Sat Feb 14 09:44:00 2015 -0500 - - 'All' of the above, not 'each' - - util/options.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 9e867b64467c46eea5cc9b1d5a9404a1221bbbfc -Author: Collin Fair -Date: Sat Feb 14 09:32:04 2015 -0500 - - Remove reference to --help-output-content in --help-output (as --help-output-format's options aren't available in hb-view) - - util/options.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 1d55ffeb66381889f11ebb9039ca4ec2ca5efbab -Author: Collin Fair -Date: Sat Feb 14 09:29:35 2015 -0500 - - Add serialization syntax documentation. Clarify naming and wording in --help-output/--help-format - - util/options.cc | 30 ++++++++++++++++-------------- - 1 file changed, 16 insertions(+), 14 deletions(-) - -commit 9768e651be0561f07d6f38c3ed8bc5ee04882990 -Author: Konstantin Ritt -Date: Sat Feb 14 00:58:51 2015 +0400 - - Fix build with MSVC on CE - - This code is C++ only. There isn't a single C++ compiler that fails to - understand the "inline" keyword, since it's required by C++98. Any - compiler older than C++98 is likely to choke on the template usage - further down, so this isn't necessary. - - Moreover, the C++ standard says you cannot define macros. - [lib.macro.names] says "Nor shall such a translation unit define macros - for names lexically identical to keywords." -- technically, it's a - promise that the Standard Library headers won't do it, the wording means - that the entire translation unit won't do it, which implies no source - can do it. - - MSVC complains about it: - fatal error C1189: #error : The C++ Standard Library forbids macroizing - keywords. Enable warning C4005 to find the forbidden macro. - - Author: Thiago Macieira - - src/hb-private.hh | 10 ---------- - 1 file changed, 10 deletions(-) - -commit 7888a6b07a9922cedd3e0d235959058e0011357b -Author: Behdad Esfahbod -Date: Wed Jan 28 12:40:40 2015 -0800 - - [ft] Handle negative scales with vertical writing - - src/hb-ft.cc | 8 ++++++++ - 1 file changed, 8 insertions(+) - -commit 982d94eaa2a377616f22f39427e5ed9f1ce43263 -Author: Behdad Esfahbod -Date: Wed Jan 28 10:51:33 2015 -0800 - - [coretext] Don't generate notdef glyph for default-ignorables - - As discovered on Chrome Mac: - https://code.google.com/p/chromium/issues/detail?id=452326 - - src/hb-coretext.cc | 2 ++ - src/hb-ot-shape.cc | 2 +- - 2 files changed, 3 insertions(+), 1 deletion(-) - -commit 6917a045fd8d16952cad75fda8b291b11e1d3564 -Author: Behdad Esfahbod -Date: Wed Jan 28 10:43:32 2015 -0800 - - [coretext] Unbreak glyph positioning in presence of notdef runs - - As discovered on Chrome Mac: - https://code.google.com/p/chromium/issues/detail?id=452326 - - This was originally broken in: - - commit 5a0eed3b50629be4826e4e9428f2c3255195395d - Author: Behdad Esfahbod - Date: Mon Aug 11 23:47:16 2014 -0400 - - [coretext] Implement vertical shaping - - src/hb-coretext.cc | 35 +++++++++++++++++++++++++++-------- - 1 file changed, 27 insertions(+), 8 deletions(-) - -commit 1eff4350239b0768e1042b52db9fb1c0d266f96a -Author: Behdad Esfahbod -Date: Tue Jan 27 12:26:04 2015 -0800 - - Minor optimization - - src/hb-ot-shape-normalize.cc | 9 +++++---- - 1 file changed, 5 insertions(+), 4 deletions(-) - -commit 675956aca01fc4e005a338af43d1c1f4f938abd1 -Author: Konstantin Ritt -Date: Tue Jan 27 11:23:07 2015 +0400 - - Do not leak hb_language_t on hb_language_item_t destruction - - src/hb-common.cc | 1 + - 1 file changed, 1 insertion(+) - -commit b306f9674a599da50754d24fa5aefcb6bba04420 -Author: Konstantin Ritt -Date: Tue Jan 27 20:08:41 2015 +0400 - - Minor improvement to HB_SHAPER_DATA_DESTROY - - src/hb-shaper-private.hh | 7 +++---- - 1 file changed, 3 insertions(+), 4 deletions(-) - -commit 61820bc4ca1f02433db4be7c81f27cf97e2bd519 -Author: Behdad Esfahbod -Date: Mon Jan 26 14:25:52 2015 -0800 - - [API] Add hb_buffer_add_latin1() - - This is by no ways to promote non-Unicode encodings. This is an entry - point that takes Unicode codepoints that happen to all be the first - 256 characters and hence fit in 8bit strings. This is useful eg in Chrome - where strings that can fit in 8bit are implemented that way, and this - avoids copying into UTF-8 or UTF-16. - - Perhaps we should rename this to hb_buffer_add_codepoints8(). I'm also - curious if anyone would be really interested in hb_buffer_add_codepoints16(). - - Please discuss! - - src/hb-buffer.cc | 36 +++++++++++++++++++++++++------- - src/hb-buffer.h | 8 ++++++++ - src/hb-utf-private.hh | 57 ++++++++++++++++++++++++++++++++++++++------------- - 3 files changed, 80 insertions(+), 21 deletions(-) - -commit 78c6e86c04f12154c88b9f9264d0bd50b721699b -Author: Behdad Esfahbod -Date: Mon Jan 26 14:08:36 2015 -0800 - - Fix hb_buffer_add_codepoints to actually NOT validate - - src/hb-buffer.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 70c25ee215635db23eb0757641bd372940c0d85d -Merge: 28f5e0b2f f3537b620 -Author: Behdad Esfahbod -Date: Sun Jan 25 13:06:03 2015 -0800 - - Merge pull request #81 from KonstantinRitt/fixes/build/win8phone - - winrt_buildfixes - -commit f3537b620b0a7392ea27f01f465c5ba79459c858 -Author: Konstantin Ritt -Date: Sun Jan 25 09:50:51 2015 +0400 - - Move some code around - - Just to keep Windows specific workarounds in a single place. - - src/hb-private.hh | 25 ++++++++++++------------- - 1 file changed, 12 insertions(+), 13 deletions(-) - -commit afb62d88d78cacb6b881aaf329a654fd32f5ae29 -Author: Konstantin Ritt -Date: Sun Jan 25 08:16:26 2015 +0400 - - Do not define MemoryBarrier on WinCE - - There is a _HBMemoryBarrier() wrapper function that emulates - MemoryBarrier() behavior when it is not defined. - - src/hb-private.hh | 1 - - 1 file changed, 1 deletion(-) - -commit 7db326a15b173c0d101adc608bf551a628c65dcd -Author: Konstantin Ritt -Date: Sun Jan 25 08:13:24 2015 +0400 - - Fix build on WinRT - - There is no environment (like WinCE) and the basic version - of InitializeCriticalSection is unsupported. - - https://codereview.qt-project.org/#/c/92496/ - - src/hb-mutex-private.hh | 4 ++++ - src/hb-private.hh | 2 ++ - 2 files changed, 6 insertions(+) - -commit 28f5e0b2f41670617bd778660364bbd58b1b68f2 -Author: Behdad Esfahbod -Date: Fri Jan 23 12:45:35 2015 -0800 - - 0.9.38 - - NEWS | 23 +++++++++++++++++++++++ - configure.ac | 2 +- - 2 files changed, 24 insertions(+), 1 deletion(-) - -commit a319d0777b746a2bbe5cd5a206172f1580da3379 -Author: Behdad Esfahbod -Date: Fri Jan 23 12:44:24 2015 -0800 - - [ft] Handle negative x_scale / y_scale - - src/hb-ft.cc | 12 ++++++++++-- - 1 file changed, 10 insertions(+), 2 deletions(-) - -commit b0b38bb892473d9a65e06dd3b4713da39f92bef9 -Author: Behdad Esfahbod -Date: Wed Jan 21 19:19:33 2015 -0800 - - [coretext] Fix positioning of notdef - - src/hb-coretext.cc | 19 ++++++++++--------- - 1 file changed, 10 insertions(+), 9 deletions(-) - -commit 70622e5089c01ea16fd9deed11cb39d43145c121 -Author: Behdad Esfahbod -Date: Wed Jan 21 18:50:57 2015 -0800 - - [coretext] Fix scaling - - Before we were not accounting for possible differences in x_scale and - y_scale, as well as the signs of those. All should be in good shape - now. - - src/hb-coretext.cc | 26 +++++++++++++++++++------- - 1 file changed, 19 insertions(+), 7 deletions(-) - -commit 221ba02b0816584a02471037edae7cec9c1b8acc -Author: Behdad Esfahbod -Date: Wed Jan 21 16:42:09 2015 -0800 - - [coretext] Use vertical advance for notdef in vertical direction - - src/hb-coretext.cc | 7 ++++++- - 1 file changed, 6 insertions(+), 1 deletion(-) - -commit 7988da24c507ee310772f72cc5bcfd3c0a1187a0 -Author: Behdad Esfahbod -Date: Wed Jan 21 18:33:50 2015 -0800 - - Add convenience make target "make lib" in src/ - - src/Makefile.am | 3 +++ - 1 file changed, 3 insertions(+) - -commit 31d48dd919e3b4a0bec5ede384f76db9b44f4d71 -Author: Behdad Esfahbod -Date: Wed Jan 21 01:57:44 2015 -0800 - - Add README.python - - README.python | 26 ++++++++++++++++++++++++++ - 1 file changed, 26 insertions(+) - -commit ca1c2813dd0b082a8c418bd3edd3f6cba97bd5f0 -Author: Behdad Esfahbod -Date: Wed Jan 21 01:51:48 2015 -0800 - - [bindings] Add README.python - - Makefile.am | 1 + - 1 file changed, 1 insertion(+) - -commit cd4eb96abb90a84b42e9b288e39bad759e4411a0 -Author: Behdad Esfahbod -Date: Tue Jan 20 12:30:45 2015 -0800 - - [util] Add --font-size to hb-shape - - Also makes hb-view to use 8 bits of subpixel precision and shape at - requested size, instead of always shaping at upem and scaling results. - - util/hb-ot-shape-closure.cc | 2 +- - util/hb-shape.cc | 2 +- - util/hb-view.cc | 5 ++++- - util/helper-cairo.cc | 16 ++++++++-------- - util/helper-cairo.hh | 5 ++--- - util/main-font-text.hh | 4 ++-- - util/options.cc | 44 +++++++++++++++++++++++++++++++++++++++++--- - util/options.hh | 16 ++++++++++++---- - util/view-cairo.cc | 2 +- - util/view-cairo.hh | 8 ++++---- - 10 files changed, 76 insertions(+), 28 deletions(-) - -commit 5789ca69d7464bab5fa0c5bdf404f3afaa490faf -Author: Behdad Esfahbod -Date: Fri Jan 9 14:22:01 2015 -0800 - - [util] Minor - - util/options.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 67dfa8c7c2f2e9040a9c60c680f739ada4a35fb5 -Author: Behdad Esfahbod -Date: Mon Jan 19 17:00:31 2015 -0800 - - When matching second glyph of kerning pairs, use bsearch - - Roboto has glyphs (like 'F') that have 200 kerning pairs. - Add a handcoded bsearch instead of previous linear search. - - This doesn't show much speedup though, apparently we spend the - bulk of the time somewhere before here. - - src/hb-ot-layout-gpos-table.hh | 21 ++++++++++++++++----- - 1 file changed, 16 insertions(+), 5 deletions(-) - -commit e9f5c65be027eb7759ab819e267e24dff3b017b6 -Author: Behdad Esfahbod -Date: Mon Jan 19 14:42:11 2015 -0800 - - [bindings] Minor - - src/sample.py | 2 ++ - 1 file changed, 2 insertions(+) - -commit 3704628d1f124234324b5f2bdd5fdd61c14c7801 -Merge: 1aaa7d679 5eb939ddf -Author: Behdad Esfahbod -Date: Mon Jan 19 16:15:00 2015 -0800 - - Merge pull request #77 from roozbehp/master - - Change New Tai Lue shaping engine from SEA to default - -commit 5eb939ddfe9ef217da2e48d7d0f1f4b7501714ad -Author: Roozbeh Pournader -Date: Sun Jan 18 14:30:08 2015 -0800 - - Change New Tai Lue shaping engine from SEA to default - - This is to reflect the UTC decision to change the encoding model of - New Tai Lue from logical to visual to be similar to Thai, Lao, and - Tai Viet: http://www.unicode.org/L2/L2014/14250.htm#141-C26 - - The visual encoding is already the current practice of encoding New - Tai Lue on the web anyway: - http://www.unicode.org/L2/L2014/14195-newtailue.txt - - Fixes behdad/harfbuzz#66. - - src/hb-ot-shape-complex-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 1aaa7d6799b42b392dd191d3c12011721ef99e74 -Author: Behdad Esfahbod -Date: Sat Jan 17 20:16:56 2015 -0800 - - [indic] Fix out-of-bounds access - - src/gen-indic-table.py | 2 +- - src/hb-ot-shape-complex-indic-table.cc | 36 +++++++++++++++++----------------- - 2 files changed, 19 insertions(+), 19 deletions(-) - -commit 238d6a38f2ceb7d8dceec9365a823f032b3b9f7d -Author: Behdad Esfahbod -Date: Wed Jan 7 10:51:44 2015 -0800 - - [bindings] Update sample.py - - src/sample.py | 9 ++++++--- - 1 file changed, 6 insertions(+), 3 deletions(-) - -commit 2cd5323531dcd800549b2cb1cb51d708e72ab2d8 -Author: Behdad Esfahbod -Date: Tue Jan 6 19:16:38 2015 -0800 - - [bindings] Use hb_glib_blob_create() in sample - - hb_blob_create() is considered C-only API. - - src/hb-blob.cc | 8 ++++---- - src/sample.py | 19 +++++++++---------- - 2 files changed, 13 insertions(+), 14 deletions(-) - -commit 0ef179e2dc040c13497af847b8c1cec846dbdbf9 -Author: Behdad Esfahbod -Date: Tue Jan 6 16:58:33 2015 -0800 - - [glib] Add hb_glib_blob_create() that takes GBytes - - src/hb-glib.cc | 11 +++++++++++ - src/hb-glib.h | 3 +++ - 2 files changed, 14 insertions(+) - -commit b91904a40da6287f84bc79de60674fa57232ec09 -Author: Behdad Esfahbod -Date: Tue Jan 6 15:43:14 2015 -0800 - - [bindings] Replace deprecated allow-none with optional and nullable - - src/hb-blob.cc | 4 ++-- - src/hb-shape.cc | 2 +- - src/hb-unicode.cc | 2 +- - 3 files changed, 4 insertions(+), 4 deletions(-) - -commit 81a31f3eff44a85bb2160d51156a01a18f0a97df -Author: Behdad Esfahbod -Date: Tue Jan 6 15:37:31 2015 -0800 - - [bindings] Make sample Python 2/3 compatible - - src/sample.py | 15 ++++++++++++++- - 1 file changed, 14 insertions(+), 1 deletion(-) - -commit b632e7997d9cb6e4782cab6d8c62e8e5edaa4cb0 -Author: Behdad Esfahbod -Date: Tue Jan 6 14:05:26 2015 -0800 - - Fix up gobject-introspection a bit - - Minimal shaping works now! - - src/hb-blob.cc | 6 +++--- - src/hb-buffer.cc | 2 +- - src/sample.py | 34 ++++++++++++++++++++++++++++------ - 3 files changed, 32 insertions(+), 10 deletions(-) - -commit 3d1a666a8629a8502a2bcf23ab943e2b39a0da92 -Author: Behdad Esfahbod -Date: Mon Jan 5 14:43:13 2015 -0800 - - Remove hardcoded ICU include paths. - - ICU exports them using LOCAL_EXPORT_C_INCLUDE_DIRS. - - https://android-review.googlesource.com/#/c/121311/ - - Android.mk | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit 8cb41cb9508eb1bb6319e92f900cfe5e8a131be3 -Merge: 365c03fc2 fb85d618f -Author: Behdad Esfahbod -Date: Sun Jan 4 20:32:18 2015 -0800 - - Merge pull request #76 from cpeterso/cpeterso/Wunused-function - - Add #ifdef HB_USE_ATEXIT to fix -Wunused-function warnings - -commit fb85d618f5883458bacf0ecb0894772291a2d738 -Author: Chris Peterson -Date: Sun Jan 4 19:31:10 2015 -0800 - - Add #ifdef HB_USE_ATEXIT to fix -Wunused-function warnings - - src/hb-common.cc | 2 +- - src/hb-ft.cc | 4 +++- - src/hb-shape.cc | 4 +++- - src/hb-shaper.cc | 4 +++- - 4 files changed, 10 insertions(+), 4 deletions(-) - -commit 365c03fc2bcdb4098314a0e123c46018fb882586 -Merge: c36c4a992 d1897a98d -Author: Behdad Esfahbod -Date: Sat Jan 3 21:55:30 2015 -0800 - - Merge pull request #75 from cpeterso/cpeterso/Wunused-value - - Fix hb_atomic_ptr_cmpexch -Wunused-value warnings - -commit d1897a98d8da40cffb57c07099a9a93cfeaacc36 -Author: Chris Peterson -Date: Sat Jan 3 19:46:19 2015 -0800 - - Fix hb_atomic_ptr_cmpexch -Wunused-value warnings - - src/hb-common.cc | 2 +- - src/hb-icu.cc | 4 +--- - 2 files changed, 2 insertions(+), 4 deletions(-) - -commit c36c4a9924609df648e62e47fa017b19b844fd98 -Author: Behdad Esfahbod -Date: Fri Jan 2 14:09:23 2015 -0800 - - Add missing va_end() - - Fixes https://github.com/behdad/harfbuzz/pull/74 - - util/options.cc | 1 + - 1 file changed, 1 insertion(+) - -commit f34aaba8687a20794835e2dc878c52d1b53e6f85 -Author: Behdad Esfahbod -Date: Sun Dec 28 18:56:15 2014 -0800 - - [ft] Don't set font ppem - - For discussion see: - - http://lists.freedesktop.org/archives/harfbuzz/2012-April/001905.html - - Over time we have had added NO_HINTING all over the place in hb-ft. Finish it off. - Not setting ppem on hb-font disables get_contour_point() calls which is good anyway. - - See comments in the commit. - - src/hb-ft.cc | 9 +++++++++ - 1 file changed, 9 insertions(+) - -commit 350f3a02ce225e5d78db8ac96de1351ff9f96dd5 -Author: Behdad Esfahbod -Date: Sun Dec 28 17:44:26 2014 -0800 - - [ft] Add hb_ft_face_create_referenced() and hb_ft_font_create_referenced() - - When I originally wrote hb-ft, FreeType objects did not support reference - counting. As such, hb_ft_face_create() and hb_ft_font_create() had a - "destroy" callback and client was responsible for making sure FT_Face is - kept around as long as the hb-font/face are alive. - - However, since this was not clearly documented, some clienets didn't - correctly did that. In particular, some clients assumed that it's safe - to destroy FT_Face and then hb_face_t. This, indeed, used to work, until - 45fd9424c723f115ca98995b8f8a25185a6fc71d, which make face destroy access - font tables. - - Now, I fixed that issue in 395b35903e052aecc97d0807e4f813c64c0d2b0b since - the access was not needed, but the problem remains that not all clients - handle this correctly. See: - - https://bugs.freedesktop.org/show_bug.cgi?id=86300 - - Fortunately, FT_Reference_Face() was added to FreeType in 2010, and so we - can use it now. Originally I wanted to change hb_ft_face_create() and - hb_ft_font_create() to reference the face if destroy==NULL was passed in. - That would improve pretty much all clients, with little undesired effects. - Except that FreeType itself, when compiled with HarfBuzz support, calls - hb_ft_font_create() with destroy==NULL and saves the resulting hb-font on - the ft-face (why does it not free it immediately?). Making hb-face - reference ft-face causes a cycling reference there. At least, that's my - current understanding. - - At any rate, a cleaner approach, even if it means all clients will need a - change, is to introduce brand new API. Which this commit does. - - Some comments added to hb-ft.h, hoping to make future clients make better - choices. - - Fixes https://bugs.freedesktop.org/show_bug.cgi?id=75299 - - configure.ac | 4 ++-- - src/hb-ft.cc | 32 ++++++++++++++++++++++++++++++++ - src/hb-ft.h | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++- - 3 files changed, 92 insertions(+), 3 deletions(-) - -commit 9a3b74884b2e41c7040611030f4336f13d18fd3e -Author: Behdad Esfahbod -Date: Sun Dec 28 17:27:39 2014 -0800 - - Remove redundant check for FT_Face_GetCharVariantIndex - - We require FreeType >= 2.8.3. This symbol was introduced earlier - than that. - - configure.ac | 9 +-------- - src/hb-ft.cc | 2 -- - 2 files changed, 1 insertion(+), 10 deletions(-) - -commit 1226b2e930aa456cc05bbe621c96f4286a95cff6 -Author: Behdad Esfahbod -Date: Sun Dec 28 17:04:23 2014 -0800 - - Fix FreeType version check - - configure.ac | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit affacf2f37db767ab8df7f2db6cd9e0e9b0a2b8a -Author: Behdad Esfahbod -Date: Sun Dec 28 16:20:31 2014 -0800 - - [ft] Open blob in READONLY mode - - HB_MEMORY_MODE_READONLY_MAY_MAKE_WRITABLE is deprecated and fairly - useless now. - - src/hb-ft.cc | 6 +----- - 1 file changed, 1 insertion(+), 5 deletions(-) - -commit 395b35903e052aecc97d0807e4f813c64c0d2b0b -Author: Behdad Esfahbod -Date: Sun Dec 28 16:03:26 2014 -0800 - - Avoid accessing layout tables at face destruction - - "Fixes" https://bugs.freedesktop.org/show_bug.cgi?id=86300 - - Based on discussion someone else who had a similar issue, most probably - the user is releasing FT_Face before destructing hb_face_t / hb_font_t. - While that's a client bug, and while we can (and should) use FreeType - refcounting to help avoid that, it happens that we were accessing - the table when we didn't really have to. Avoid that. - - src/hb-ot-layout-private.hh | 3 +-- - src/hb-ot-layout.cc | 4 ++-- - src/hb-ot-shape-complex-arabic-fallback.hh | 2 +- - 3 files changed, 4 insertions(+), 5 deletions(-) - -commit 7d5e7613ced3dd39d05df83ca7e8952cbecd68f6 -Author: Behdad Esfahbod -Date: Thu Dec 18 18:22:21 2014 -0800 - - Fail blob creation if length overflows or is too large - - Fail if blob start plus length overflows; or if blob length - is greater than 2GB. It takes a while for fonts to get to that - size. In the mean time, it protects against bugs like this: - - http://www.icu-project.org/trac/ticket/11450 - - Also avoids some weird issues with 32bit vs 64bit systems - as we accept length as unsigned int. As such, a length of - -1 will cause overflow on 32bit machines, but happily - accepted on a 64bit machine. Avoid that. - - src/hb-blob.cc | 5 ++++- - test/api/test-blob.c | 3 +++ - 2 files changed, 7 insertions(+), 1 deletion(-) - -commit d5a5052098b0aa79ff55c235e61a9db477c4120f -Author: Behdad Esfahbod -Date: Thu Dec 18 18:09:41 2014 -0800 - - Assert that blob length doesn't overflow address. - - This will crash now, if blob was created with wrong length. - Check for that coming next commit. - - src/hb-open-type-private.hh | 1 + - 1 file changed, 1 insertion(+) - -commit 66e37409b3bc1eddc86704ae26d9176677ce6aa6 -Author: Behdad Esfahbod -Date: Wed Dec 17 12:09:17 2014 -0800 - - 0.9.37 - - NEWS | 8 ++++++++ - configure.ac | 2 +- - 2 files changed, 9 insertions(+), 1 deletion(-) - -commit 093c520de506aec74f3fb1e195c0ca85813424dd -Author: Behdad Esfahbod -Date: Fri Dec 12 21:07:53 2014 -0800 - - [otlayout] Mark variables that are C arrays as opposed to OT::ArrayOf - - src/hb-ot-layout-gpos-table.hh | 24 +++++++-------- - src/hb-ot-layout-gsubgpos-private.hh | 60 ++++++++++++++++++------------------ - 2 files changed, 42 insertions(+), 42 deletions(-) - -commit 9df0a520306a491f973d42965597bfda6023e508 -Author: Behdad Esfahbod -Date: Fri Dec 12 20:54:28 2014 -0800 - - [otlayout] Avoid invalid access with Context format 3 - - src/hb-ot-layout-gsubgpos-private.hh | 2 ++ - 1 file changed, 2 insertions(+) - -commit 295ef1dd5229f47d8e0eb5b4eb48c90a6b470073 -Author: Behdad Esfahbod -Date: Fri Dec 12 20:43:18 2014 -0800 - - [ot] Debug get_coverage - - src/hb-ot-layout-gsubgpos-private.hh | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -commit 00f6a8e334ec4c586e4e633a95b411ccb50306d3 -Author: Behdad Esfahbod -Date: Fri Dec 12 20:36:49 2014 -0800 - - [ot] Print format in dispatch trace - - src/hb-ot-layout-gpos-table.hh | 16 ++++++++-------- - src/hb-ot-layout-gsub-table.hh | 14 +++++++------- - src/hb-ot-layout-gsubgpos-private.hh | 8 ++++---- - 3 files changed, 19 insertions(+), 19 deletions(-) - -commit 5c7d6f02d71362c2b192a7d96e6181977682921c -Author: Behdad Esfahbod -Date: Fri Dec 12 20:28:49 2014 -0800 - - Minor - - src/hb-private.hh | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit 153beebba9b76901b8b62b90ba0dc69462ae2090 -Author: Behdad Esfahbod -Date: Fri Dec 12 19:46:09 2014 -0800 - - [ot] Make sure all toplevel tables have tableTag - - src/hb-open-file-private.hh | 2 ++ - src/hb-ot-hhea-table.hh | 2 ++ - src/hb-ot-hmtx-table.hh | 2 ++ - 3 files changed, 6 insertions(+) - -commit 282b13f9b4d86b091714de7fbddc94b3e3ff3d91 -Author: Behdad Esfahbod -Date: Fri Dec 12 19:32:46 2014 -0800 - - [sanitize] Improve debug output some more - - src/hb-open-type-private.hh | 30 ++++++++++++++++-------------- - 1 file changed, 16 insertions(+), 14 deletions(-) - -commit 0766ee1f4e6046598a2e8fb1b167c3942b4a87a0 -Author: Behdad Esfahbod -Date: Fri Dec 12 18:23:20 2014 -0800 - - [sanitize] Improve debug output - - src/hb-open-type-private.hh | 20 ++++++++++---------- - 1 file changed, 10 insertions(+), 10 deletions(-) - -commit e6f80fa1044243898c402ec6a59d6c1b5420be53 -Author: Behdad Esfahbod -Date: Wed Dec 10 12:05:24 2014 -0800 - - [indic] Allow ZWJ/ZWNJ before SM - - In Oriya, a ZWJ/ZWNJ might be added before candrabindu to encourage - or stop ligation of the candrabindu. This is clearly specified in - the Unicode section on Oriya. Allow it there. Note that Uniscribe - doesn't allow this. - - Micro tests added using Noto Sans Oriya draft. - - No changes in numbers. Currently at: - - BENGALI: 353725 out of 354188 tests passed. 463 failed (0.130722%) - DEVANAGARI: 707307 out of 707394 tests passed. 87 failed (0.0122987%) - GUJARATI: 366349 out of 366457 tests passed. 108 failed (0.0294714%) - GURMUKHI: 60732 out of 60747 tests passed. 15 failed (0.0246926%) - KANNADA: 951190 out of 951913 tests passed. 723 failed (0.0759523%) - KHMER: 299070 out of 299124 tests passed. 54 failed (0.0180527%) - MALAYALAM: 1048147 out of 1048334 tests passed. 187 failed (0.0178378%) - ORIYA: 42320 out of 42329 tests passed. 9 failed (0.021262%) - SINHALA: 271662 out of 271847 tests passed. 185 failed (0.068053%) - TAMIL: 1091753 out of 1091754 tests passed. 1 failed (9.15957e-05%) - TELUGU: 970555 out of 970573 tests passed. 18 failed (0.00185457%) - - src/hb-ot-shape-complex-indic-machine.rl | 2 +- - test/shaping/Makefile.am | 1 + - .../sha1sum/5028afb650b1bb718ed2131e872fbcce57828fff.ttf | Bin 0 -> 4720 bytes - test/shaping/fonts/sha1sum/MANIFEST | 1 + - test/shaping/tests/MANIFEST | 1 + - test/shaping/tests/indic-joiner-candrabindu.tests | 2 ++ - 6 files changed, 6 insertions(+), 1 deletion(-) - -commit c0e95abc5f3f14121483b71f10837828a3a1d73a -Author: Behdad Esfahbod -Date: Thu Nov 20 14:42:24 2014 -0800 - - 0.9.36 - - NEWS | 12 ++++++++++++ - configure.ac | 2 +- - 2 files changed, 13 insertions(+), 1 deletion(-) - -commit fde3e4a423871463c883cb969e99c29cb6f69f6b -Author: Behdad Esfahbod -Date: Wed Oct 29 11:23:08 2014 -0700 - - In hb_ot_collect_glyphs(), don't recurse to a lookup more than once - - Otherwise, we might process a lookup thousands of times, with no - benefit. This pathological case was hit by Noto Nastaliq Urdu Draft - in Firefox's code to determine whether space glyph is involved in - any GSUB/GPOS rules. A test page is at http://behdad.org/urdu - - See: - https://bugzilla.mozilla.org/show_bug.cgi?id=1090869 - - src/hb-ot-layout-gsubgpos-private.hh | 17 ++++++++++++++++- - 1 file changed, 16 insertions(+), 1 deletion(-) - -commit 5a5640d8506ccfc99fd119e89e829170d1fea421 -Author: Behdad Esfahbod -Date: Tue Oct 14 21:26:13 2014 -0700 - - Move code around - - src/hb-open-type-private.hh | 50 ++++++++++++++++++++++----------------------- - 1 file changed, 25 insertions(+), 25 deletions(-) - -commit 666b42f73bd1f516657b206ef738108825bf239f -Author: Behdad Esfahbod -Date: Tue Oct 14 21:24:59 2014 -0700 - - Move macros around - - Fixes https://bugs.freedesktop.org/show_bug.cgi?id=84491 - - src/hb-open-type-private.hh | 63 ++++++++++++++++++++++++++++++++++++++------- - src/hb-private.hh | 41 ----------------------------- - src/hb-uniscribe.cc | 6 +++++ - 3 files changed, 60 insertions(+), 50 deletions(-) - -commit 5c87120b8178566ddae99d9825edc24f9b87ea3d -Author: Behdad Esfahbod -Date: Tue Oct 14 20:07:31 2014 -0700 - - Fix misc warnings - - Fixes https://github.com/behdad/harfbuzz/pull/51 - - src/hb-buffer-deserialize-json.rl | 4 ++-- - src/hb-ot-layout-gsub-table.hh | 2 +- - src/hb-private.hh | 6 +++--- - 3 files changed, 6 insertions(+), 6 deletions(-) - -commit a1f27ac3c48cfe6d532dc422cf256952fea472ed -Author: Behdad Esfahbod -Date: Thu Oct 2 16:54:33 2014 -0400 - - Update test expectation for previous commit - - test/shaping/tests/arabic-fallback-shaping.tests | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 8afaf096870d7895cf2fffb6438b02c0ad1b6c52 -Author: Behdad Esfahbod -Date: Thu Oct 2 16:40:41 2014 -0400 - - [ft] Add NO_HINTING in a couple other places - - src/hb-ft.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 7228011411f0e490ad1ba9894dd0d576823903ea -Author: Behdad Esfahbod -Date: Wed Oct 1 18:58:43 2014 -0400 - - [travis] Fix clang again - - .travis.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 406a020e5228d4a04da6282f5a75165bab7a483e -Author: Behdad Esfahbod -Date: Wed Oct 1 18:54:55 2014 -0400 - - [travis] Fail build if coveralls fails - - .travis.yml | 15 ++------------- - 1 file changed, 2 insertions(+), 13 deletions(-) - -commit a8aa20260dbd9af9cbcc7d545fa8b41b07aae276 -Author: Behdad Esfahbod -Date: Wed Oct 1 18:48:40 2014 -0400 - - [travis] Only run coveralls under gcc - - .travis.yml | 5 ++--- - 1 file changed, 2 insertions(+), 3 deletions(-) - -commit 5de0407337d630117e424b7c715b7cbd432f4ef9 -Author: Behdad Esfahbod -Date: Wed Oct 1 18:18:25 2014 -0400 - - Help clang with gcov - - src/check-defs.sh | 2 +- - src/check-symbols.sh | 6 +++--- - 2 files changed, 4 insertions(+), 4 deletions(-) - -commit ef40ca8e5e830231539dc61088b58e907a840629 -Author: Behdad Esfahbod -Date: Wed Oct 1 18:07:27 2014 -0400 - - [travis] Try to make coverage work with clang - - .travis.yml | 11 ++++++----- - 1 file changed, 6 insertions(+), 5 deletions(-) - -commit 52784da17b7278f2587168234878bb15d918c9fe -Author: Behdad Esfahbod -Date: Wed Oct 1 17:57:43 2014 -0400 - - [travis] Minor - - README | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit f2c9005f5123c7f9b227fd9ac9a3438c5fe4cf47 -Author: Behdad Esfahbod -Date: Wed Oct 1 17:45:17 2014 -0400 - - Add README.md symlink to make github happy - - README.md | 1 + - 1 file changed, 1 insertion(+) - -commit 40987e8aaca4155d9cff211549e8d23f24c334e5 -Author: Behdad Esfahbod -Date: Wed Oct 1 17:44:30 2014 -0400 - - [travis] Re-enable clang - - .travis.yml | 8 +------- - 1 file changed, 1 insertion(+), 7 deletions(-) - -commit 5400ac476e5a5bcc66559fcfb05a683a6b433ea1 -Author: Behdad Esfahbod -Date: Wed Oct 1 17:41:41 2014 -0400 - - Add build and coverage status links - - README | 3 +++ - 1 file changed, 3 insertions(+) - -commit 19360e0a5609c65842a989587b01a4dc7c9eae36 -Author: Behdad Esfahbod -Date: Wed Oct 1 17:35:03 2014 -0400 - - [travis] Report matrix settings to help debugging - - .travis.yml | 6 ++++++ - 1 file changed, 6 insertions(+) - -commit 9b89fc52f49b80df1f27ac7de69e0152bdcc94d6 -Author: Behdad Esfahbod -Date: Wed Oct 1 17:20:31 2014 -0400 - - [travis] More coveralls - - .travis.yml | 7 ++++++- - 1 file changed, 6 insertions(+), 1 deletion(-) - -commit a68f2b62c1f24009993911b1dbcb76b821e58c51 -Author: Behdad Esfahbod -Date: Wed Oct 1 17:05:58 2014 -0400 - - [travis] Give coveralls a hand - - .travis.yml | 1 + - 1 file changed, 1 insertion(+) - -commit 5194d647e13aa5ba2cfcdbdcd4a659dc5bd11418 -Author: Behdad Esfahbod -Date: Wed Oct 1 17:03:26 2014 -0400 - - [travis] Disable clang for now - - .travis.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 715f27f85f97fee13b119f60037db5c139489ee6 -Author: Behdad Esfahbod -Date: Wed Oct 1 16:53:00 2014 -0400 - - [test] Fixup test - - test/shaping/tests/hangul-jamo.tests | 9 --------- - 1 file changed, 9 deletions(-) - -commit 2a508ddae5de3852243725ce22caa3dcffccb83e -Author: Behdad Esfahbod -Date: Wed Oct 1 16:49:22 2014 -0400 - - [travis] Another try at coveralls.io - - .travis.yml | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit dfe8078e5be46cab5e67aed977749c1d6725e6a7 -Author: Behdad Esfahbod -Date: Wed Oct 1 16:38:47 2014 -0400 - - [travis] First try to hookup coveralls.io code coverage tracking - - .travis.yml | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -commit 1b387571e4d0eed883f1ae8ec85cf0e818b4a7f9 -Author: Behdad Esfahbod -Date: Wed Oct 1 16:14:59 2014 -0400 - - [travis] Unbreak - - .travis.yml | 8 +------- - 1 file changed, 1 insertion(+), 7 deletions(-) - -commit e281ed360dfdf803aea87b6078983867d08e07a7 -Author: Behdad Esfahbod -Date: Wed Oct 1 16:09:08 2014 -0400 - - [travis] Minor - - .travis.yml | 23 +++++++++++++++++++++-- - 1 file changed, 21 insertions(+), 2 deletions(-) - -commit c0b82ba32a1987902a3b9c05b46f8be6b121883a -Author: Behdad Esfahbod -Date: Wed Oct 1 14:24:07 2014 -0400 - - Create ragel-generated files in srcdir - - src/Makefile.am | 25 ++++++++++--------------- - 1 file changed, 10 insertions(+), 15 deletions(-) - -commit 79bbb10b0da49ace763a50f259c2ea687143f7ea -Author: Behdad Esfahbod -Date: Wed Oct 1 13:33:21 2014 -0400 - - Clean ragel-generated headers in maintainercleanfiles - - src/Makefile.am | 7 +++++++ - 1 file changed, 7 insertions(+) - -commit 8971cac83eb4f06847abfa3eaa15857d27141810 -Author: Behdad Esfahbod -Date: Wed Oct 1 12:41:03 2014 -0400 - - Don't use tmp files in Makefile - - Useful for code-coverage generation of the ragel-generated files - as they will now contain the correct .hh filename in them. - - src/Makefile.am | 27 +++++++++++++-------------- - 1 file changed, 13 insertions(+), 14 deletions(-) - -commit 22723186652224a635f1dad5cda0f753e78c301d -Author: Behdad Esfahbod -Date: Wed Oct 1 11:56:07 2014 -0400 - - check-static-inits: Filter out zero-length sections - - When compiling with -O0, zero-sized constructors were showing up - and confusing the test. - - src/check-static-inits.sh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit b695a3dc2300ed970a4154ad8b997407b3cb4faf -Author: Behdad Esfahbod -Date: Wed Oct 1 11:55:14 2014 -0400 - - check-static-inits: check for static finalizers - - src/check-static-inits.sh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 250398b1e4f102e4e44eeb9e2aebf0cd2d397344 -Author: Behdad Esfahbod -Date: Wed Oct 1 11:28:01 2014 -0400 - - Hide other bubble-sort - - src/hb-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit c1e87442621beff98791ce56cfd1ccee506c4ee6 -Author: Behdad Esfahbod -Date: Wed Oct 1 11:07:08 2014 -0400 - - Hide bubble-sort! - - src/hb-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 80f77282264afb1356351024b1f062b2824bba3b -Author: Behdad Esfahbod -Date: Thu Sep 25 17:59:46 2014 +0300 - - [util] Fix ansi output when surface is empty - - util/helper-cairo-ansi.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 156852991e18e5ac256ee4d6b2916931cc274977 -Author: Behdad Esfahbod -Date: Thu Sep 25 17:45:49 2014 +0300 - - [ot-font] Add hb_ot_face_cmap_accelerator_t - - src/hb-ot-font.cc | 113 +++++++++++++++++++++++++++++++----------------------- - 1 file changed, 66 insertions(+), 47 deletions(-) - -commit d088ccaf11d9475fe0d269ce130b1793b8a1ffbf -Author: Behdad Esfahbod -Date: Thu Sep 25 17:26:56 2014 +0300 - - [ot-font] Minor - - src/hb-ot-font.cc | 23 ++++++++++++----------- - 1 file changed, 12 insertions(+), 11 deletions(-) - -commit d7c160a1530adabbcf33725b105072293115a34c -Author: Behdad Esfahbod -Date: Thu Sep 25 17:15:35 2014 +0300 - - [ot-font] Handle missing vertical metrics tables - - src/hb-ot-font.cc | 26 +++++++++++++++++++------- - 1 file changed, 19 insertions(+), 7 deletions(-) - -commit be1cca270257bfdfee3fbe821175269713acf408 -Author: Behdad Esfahbod -Date: Thu Sep 25 16:53:24 2014 +0300 - - [ot-font] Add metrics_accel_t - - src/hb-ot-font.cc | 111 ++++++++++++++++++++++-------------------------- - src/hb-ot-hhea-table.hh | 2 +- - src/hb-ot-hmtx-table.hh | 4 +- - 3 files changed, 54 insertions(+), 63 deletions(-) - -commit d41b809e9d21e655129a97c600d28f278fd7e62c -Author: Behdad Esfahbod -Date: Thu Sep 25 13:04:08 2014 +0300 - - [ot-font] Start adding vertical support - - src/hb-ot-font.cc | 57 ++++++++++++++++++++++++++++++++++---------- - src/hb-ot-hhea-table.hh | 63 ++++++++++++++++++++++++++----------------------- - src/hb-ot-hmtx-table.hh | 35 +++++++++++++++++---------- - 3 files changed, 100 insertions(+), 55 deletions(-) - -commit 22f0de5025aeeef4c8b3ca876d291d4c8e558d94 -Author: Behdad Esfahbod -Date: Mon Aug 25 12:54:57 2014 -0400 - - Fix build - - src/hb-ot-shape-complex-arabic-win1256.hh | 3 +++ - 1 file changed, 3 insertions(+) - -commit d457e3f0ff9b27616a34e4cc110d3edbf8796841 -Author: Behdad Esfahbod -Date: Mon Aug 25 12:31:19 2014 -0400 - - [arabic] Don't #include __FILE__ - - Fine! - - https://code.google.com/p/chromium/issues/detail?id=406957 - - src/hb-ot-shape-complex-arabic-win1256.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 9ceb673d9c35bb28c9b2ed5359bdd8b23fda0019 -Author: Behdad Esfahbod -Date: Mon Aug 25 11:48:12 2014 -0400 - - [arabic] Allow disabling win1256 fallback code - - By defining HB_NO_WIN1256. - - src/hb-ot-shape-complex-arabic-fallback.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 8a9319502141c09695461c386e54f998250420e9 -Author: Behdad Esfahbod -Date: Fri Aug 22 12:06:57 2014 -0400 - - [ot] Prefer Windows platform cmap tables / accept all Unicode encodingIDs - - Some fonts on the Mac ship with (0,1). - - src/hb-ot-font.cc | 7 +++++-- - 1 file changed, 5 insertions(+), 2 deletions(-) - -commit 270971a0fccdf4964fd3e8ab8e5cf53037a3518d -Author: Behdad Esfahbod -Date: Fri Aug 15 14:28:04 2014 -0400 - - [win32] Avoid preprocessor warnings re macros - - src/hb-private.hh | 8 ++++++-- - 1 file changed, 6 insertions(+), 2 deletions(-) - -commit 8c6bd34d38fb3007c3d660fce0095cc5c7e9962e -Author: Behdad Esfahbod -Date: Thu Aug 14 13:33:37 2014 -0400 - - Fix check-symbols on OS X - - src/check-libstdc++.sh | 14 +++++++------- - src/check-symbols.sh | 8 +++++++- - 2 files changed, 14 insertions(+), 8 deletions(-) - -commit 522b1cc5261c1419166bfb90d2ff634b684be66a -Author: Behdad Esfahbod -Date: Thu Aug 14 13:29:30 2014 -0400 - - [coretext] Hide feature_mappings - - src/hb-coretext.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 0d2c2f238bf0a847ecd55a70cc0f081f18a053ac -Author: Behdad Esfahbod -Date: Thu Aug 14 13:25:55 2014 -0400 - - Simplify hb-object - - src/hb-object-private.hh | 118 +++++++++++++++-------------------------------- - 1 file changed, 36 insertions(+), 82 deletions(-) - -commit 9d861b81f349188a4507350398786a6e94038095 -Author: Behdad Esfahbod -Date: Thu Aug 14 13:15:21 2014 -0400 - - Really fix clang build this time - - src/hb-object-private.hh | 141 +++++++++++++++++++++++------------------------ - 1 file changed, 68 insertions(+), 73 deletions(-) - -commit 272226f294382b0c6921b36e0e67fc53daa765d3 -Author: Behdad Esfahbod -Date: Thu Aug 14 13:11:33 2014 -0400 - - Revert "Fix build on clang after previous commit" - - This reverts commit 9c80cbc87f23040a334e30c750f64523d9ef10c8. - - src/hb-object-private.hh | 34 +++++++++++++--------------------- - 1 file changed, 13 insertions(+), 21 deletions(-) - -commit 9c80cbc87f23040a334e30c750f64523d9ef10c8 -Author: Behdad Esfahbod -Date: Thu Aug 14 13:09:52 2014 -0400 - - Fix build on clang after previous commit - - src/hb-object-private.hh | 34 +++++++++++++++++++++------------- - 1 file changed, 21 insertions(+), 13 deletions(-) - -commit a5a27073cfff91c4f80209ca8462543130af61dd -Author: Behdad Esfahbod -Date: Thu Aug 14 13:05:36 2014 -0400 - - Rewrite this==NULL checks to avoid undefined behavior - - Fixes https://code.google.com/p/chromium/issues/detail?id=403594 - - src/hb-object-private.hh | 18 ++++++++---------- - 1 file changed, 8 insertions(+), 10 deletions(-) - -commit cc3b2d432b02f9381cdf19e2dd5fbbdd002a750c -Author: Behdad Esfahbod -Date: Thu Aug 14 12:59:16 2014 -0400 - - Remove this==NULL check from face->reference_table() - - Not supposed to happen, and apparently this is undefined in C++. - https://code.google.com/p/chromium/issues/detail?id=403594 - - src/hb-face-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit cd7ea4f791dc41d62ad238673e2ea0107883c9e3 -Author: Behdad Esfahbod -Date: Thu Aug 14 12:57:02 2014 -0400 - - Make hb_object_t members private - - In preparation for fixing: - https://code.google.com/p/chromium/issues/detail?id=403594 - - src/hb-object-private.hh | 26 +++++++++++++++++++++----- - src/hb-set-private.hh | 2 +- - 2 files changed, 22 insertions(+), 6 deletions(-) - -commit c4308f895aef93ed884fd54e4ebc65b6d2cfc94a -Author: Behdad Esfahbod -Date: Wed Aug 13 19:42:01 2014 -0400 - - Minor - - test/shaping/hb_test_tools.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit cd5a1149d980dc3c17b6bb9d961c761b2671ba1b -Author: Behdad Esfahbod -Date: Wed Aug 13 12:39:34 2014 -0400 - - 0.9.35 - - NEWS | 29 +++++++++++++++++++++++++++++ - configure.ac | 2 +- - 2 files changed, 30 insertions(+), 1 deletion(-) - -commit 20076cc41e673c31305fcb58d37b3b292fd35f83 -Author: Behdad Esfahbod -Date: Tue Aug 12 19:26:35 2014 -0400 - - [coretext] Add version guards for kCTLanguageAttributeName - - src/hb-coretext.cc | 7 +++++++ - 1 file changed, 7 insertions(+) - -commit 1b3011c27df531875d432e909ae6b77f115c5017 -Author: Behdad Esfahbod -Date: Tue Aug 12 19:17:19 2014 -0400 - - [coretext] Pass buffer language to CoreText - - src/hb-coretext.cc | 12 ++++++++++++ - 1 file changed, 12 insertions(+) - -commit 3eb6a4dbf25b11fce5e0e426e89f7457887aeca0 -Author: Behdad Esfahbod -Date: Tue Aug 12 19:10:33 2014 -0400 - - [coretext] Minor - - src/hb-coretext.cc | 9 +++++---- - 1 file changed, 5 insertions(+), 4 deletions(-) - -commit 08acfe0d3a1d8223a9fa0696703fff63d6c2ea8b -Author: Behdad Esfahbod -Date: Tue Aug 12 18:57:08 2014 -0400 - - [hb-coretext] Fix cluster order of notdef runs in RTL text - - src/hb-coretext.cc | 3 +++ - 1 file changed, 3 insertions(+) - -commit 30eed75de24ac0b6648a72d98d10bb24a563d7ef -Author: Behdad Esfahbod -Date: Tue Aug 12 17:15:09 2014 -0400 - - [shape-plan] Fix typo! - - The only effect is, if shaper_list was not NULL and no shaper was found, - we now don't insert anything into cache and return earlier. - - src/hb-shape-plan.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit dc9aba6fc53898acd7281b118cec0355d61b1df2 -Author: Behdad Esfahbod -Date: Tue Aug 12 17:14:36 2014 -0400 - - [shape-plan] Better debug messages - - src/hb-shape-plan.cc | 14 ++++++++++---- - 1 file changed, 10 insertions(+), 4 deletions(-) - -commit e956c65bf724a8403471362288d2361361b6ac58 -Author: Behdad Esfahbod -Date: Tue Aug 12 17:03:27 2014 -0400 - - [shape-plan] Simplify macro - - src/hb-shape-plan.cc | 22 ++++++++-------------- - 1 file changed, 8 insertions(+), 14 deletions(-) - -commit 29e25550ce8fee3fecc42d20a45ce9c212dc59df -Author: Behdad Esfahbod -Date: Tue Aug 12 17:02:59 2014 -0400 - - Fix gcc warning - - src/hb-private.hh | 9 +++++++++ - 1 file changed, 9 insertions(+) - -commit 8d5eebc0c6ada01128c6ee384340efdbef7ba29d -Author: Behdad Esfahbod -Date: Tue Aug 12 16:50:22 2014 -0400 - - [shape-plan] Fix shape-plan caching with more than one requested shaper - - Wasn't breaking out of loop, ouch! - - http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1246370.html - - src/hb-shape-plan.cc | 9 ++++++--- - 1 file changed, 6 insertions(+), 3 deletions(-) - -commit bc3d0dc60104f1cda465a5e8ba5b40ed5bec70b9 -Author: Behdad Esfahbod -Date: Tue Aug 12 16:49:18 2014 -0400 - - [shape-plan] Add debug tracing - - src/hb-shape-plan.cc | 26 ++++++++++++++++++++++++++ - 1 file changed, 26 insertions(+) - -commit 81b8d9777b9c38c7e6408591763a4cac6de18e4b -Author: Behdad Esfahbod -Date: Tue Aug 12 15:49:47 2014 -0400 - - [coretext] Fix buffer resizing - - Was very broken. Now fixed and tested. - - src/hb-coretext.cc | 17 +++++++++++++---- - 1 file changed, 13 insertions(+), 4 deletions(-) - -commit c3e924fb9e0e2d4003790817655efd9c5688c7e1 -Author: Behdad Esfahbod -Date: Tue Aug 12 14:25:11 2014 -0400 - - [coretext] Rewind scratch-allocated arrays when not needed anymore - - src/hb-coretext.cc | 16 ++++++++++++++++ - 1 file changed, 16 insertions(+) - -commit 8fd4d70b1450d7261a35ab3dea1c70baea2e5c99 -Author: Behdad Esfahbod -Date: Tue Aug 12 13:12:31 2014 -0400 - - [wince] Two more Windows CE fixes - - Report has it that it builds (and works) now: - - https://codereview.qt-project.org/#/c/92087/ - - src/hb-mutex-private.hh | 2 +- - src/hb-private.hh | 2 ++ - 2 files changed, 3 insertions(+), 1 deletion(-) - -commit fd0001d7dbe6ede99a9f87f96f231ffb53303be8 -Author: Behdad Esfahbod -Date: Tue Aug 12 10:32:41 2014 -0400 - - [coretext] Compare CGFont and PS name, if CTFont didn't match - - See comments. - - Fixes vertical text. CoreText backend is in very good shape now! - - Also see: - 5a0eed3b50629be4826e4e9428f2c3255195395d - 25f4fb9b56bb3f8bec821571c78f8829e40daa54 - - Fixes http://github.com/behdad/harfbuzz/pull/36 - - src/hb-coretext.cc | 54 ++++++++++++++++++++++++++++++++++++++++++++++++------ - 1 file changed, 48 insertions(+), 6 deletions(-) - -commit 5a0eed3b50629be4826e4e9428f2c3255195395d -Author: Behdad Esfahbod -Date: Mon Aug 11 23:47:16 2014 -0400 - - [coretext] Implement vertical shaping - - Currently doesn't work though, we detect font fallback. Apparently - matching on ct_font is not safe for this. Looks like commit - 25f4fb9b56bb3f8bec821571c78f8829e40daa54 wasn't enough after all. - - src/hb-coretext.cc | 127 ++++++++++++++++++++++++++++++++++------------------- - 1 file changed, 81 insertions(+), 46 deletions(-) - -commit 1b55077f03758e49f93b8bc1de678e96ea58718c -Author: Behdad Esfahbod -Date: Mon Aug 11 20:45:12 2014 -0400 - - [coretext] Remove unnecessary alt_size - - Wasn't needed after a6b8dc87421de33746b0b14d86d2d1532aec02af. - - src/hb-coretext.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 10b1104d791a0b0103c6bbb083b5819f2b7d328d -Author: Behdad Esfahbod -Date: Mon Aug 11 20:02:45 2014 -0400 - - [coretext] Use CFRunStatus - - Assert that all runs had expected direction, and take hint for - non-monotone clusters. - - src/hb-coretext.cc | 17 +++++++++++++++-- - 1 file changed, 15 insertions(+), 2 deletions(-) - -commit fd1a6aa8d029c701b1532efa59ce901109cfc216 -Author: Behdad Esfahbod -Date: Mon Aug 11 20:01:37 2014 -0400 - - [coretext] Minor - - src/hb-coretext.cc | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 130856c705641aa681307b5b51b5fb84e295f382 -Author: Behdad Esfahbod -Date: Mon Aug 11 19:16:26 2014 -0400 - - [coretext] Remove debug printf! - - src/hb-coretext.cc | 1 - - 1 file changed, 1 deletion(-) - -commit b5fbc3b8f560235d014c62e49220574ffcf89349 -Author: Behdad Esfahbod -Date: Mon Aug 11 18:40:01 2014 -0400 - - API: Do not clear buffer-flags in hb_buffer_clear_contents() - - After 763e5466c0a03a7c27020e1e2598e488612529a7, one doesn't - need to set flags for different pieces of text. The flags now - are something the client sets up once, depending on how it - actually uses the buffer. As such, don't clear it in - clear_contents(). - - Tests updated. - - src/hb-buffer-private.hh | 4 +--- - src/hb-buffer.cc | 4 ++-- - test/api/test-buffer.c | 15 ++++++++++++--- - 3 files changed, 15 insertions(+), 8 deletions(-) - -commit 104484cefeca03d95837bba5f39178693c86ce8a -Author: Behdad Esfahbod -Date: Mon Aug 11 18:23:43 2014 -0400 - - Minor - - src/hb-common.h | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit 4acce77db7dd588ba277779c4997b0256ebe426e -Author: Behdad Esfahbod -Date: Mon Aug 11 17:46:50 2014 -0400 - - [coretext] Pass buffer direction to CoreText - - Have to use a CTTypesetter for this. - - src/hb-coretext.cc | 26 ++++++++++++++++++++++---- - 1 file changed, 22 insertions(+), 4 deletions(-) - -commit 5ec45dd37caa8a87ce2689a66272ba8a343fe6ba -Author: Behdad Esfahbod -Date: Mon Aug 11 17:46:12 2014 -0400 - - [coretext] Minor - - It's hard to handle all possible NULL returns from CoreText. Add one - more... - - src/hb-coretext.cc | 8 +++++--- - 1 file changed, 5 insertions(+), 3 deletions(-) - -commit 624a299b829ccf9864dd2f3001b1a49476e96b4a -Author: Behdad Esfahbod -Date: Mon Aug 11 15:29:18 2014 -0400 - - [coretext] Attach marks to base clusters - - Fixes https://githu.com/behdad/harfbuzz/issues/49 - to the extent that it can be fixed. - - src/hb-coretext.cc | 16 ++++++++++++++++ - 1 file changed, 16 insertions(+) - -commit 3c41ccb5358b0be6cc68d49f436d2cb1792cd5e5 -Author: Behdad Esfahbod -Date: Mon Aug 11 15:11:59 2014 -0400 - - [coretext] Use input clusters - - Before, this shaper was returning UTF-16 cluster indices instead of - returning whatever cluster values the user had had set up in the buffer. - Ouch! - - src/hb-coretext.cc | 6 ++---- - 1 file changed, 2 insertions(+), 4 deletions(-) - -commit a6b8dc87421de33746b0b14d86d2d1532aec02af -Author: Behdad Esfahbod -Date: Mon Aug 11 15:08:19 2014 -0400 - - [coretext] Fix buffer resize handling - - We can't really resize buffer and continue in this shaper as we are - using the scratch buffer for string_ref and log_cluster. Restructure - shaper to retry from (almost) scratch. - - src/hb-buffer-private.hh | 3 + - src/hb-coretext.cc | 428 ++++++++++++++++++++++++++--------------------- - 2 files changed, 238 insertions(+), 193 deletions(-) - -commit 9b3c60c88b118f01610ae7a608b138f79f2dc7be -Author: Behdad Esfahbod -Date: Mon Aug 11 13:25:43 2014 -0400 - - [coretext] Always compute log_clusters - - To be used soon. - - src/hb-coretext.cc | 24 +++++++++++------------- - 1 file changed, 11 insertions(+), 13 deletions(-) - -commit 15c633dd1f412f9ef839d80a8f7af35e7ea48fbc -Author: Behdad Esfahbod -Date: Mon Aug 11 13:42:42 2014 -0400 - - Minor - - src/hb-graphite2.cc | 4 ++-- - src/hb-uniscribe.cc | 6 ++---- - 2 files changed, 4 insertions(+), 6 deletions(-) - -commit 9ce067c77524a9ffc77ceabcba5e7dab36fd39de -Author: Behdad Esfahbod -Date: Mon Aug 11 02:04:38 2014 -0400 - - [coretext] Simplify cluster mapping - - src/hb-coretext.cc | 41 +++++++++++++++++------------------------ - 1 file changed, 17 insertions(+), 24 deletions(-) - -commit 49f7fb63761e4ca9936990fb90a77fd3600f5ad2 -Author: Behdad Esfahbod -Date: Sun Aug 10 19:19:38 2014 -0400 - - [coretext] Minor - - src/hb-coretext.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 25f4fb9b56bb3f8bec821571c78f8829e40daa54 -Author: Behdad Esfahbod -Date: Sun Aug 10 19:05:25 2014 -0400 - - [coretext] Fix fallback detection - - Fixes http://github.com/behdad/harfbuzz/pull/36 - - src/hb-coretext.cc | 29 ++++++++++++++++++++--------- - 1 file changed, 20 insertions(+), 9 deletions(-) - -commit 77a7a53acef7de355116d488e7d64ff1d7e9e9e1 -Author: Behdad Esfahbod -Date: Sun Aug 10 18:59:47 2014 -0400 - - [coretext] Fix last range - - Test with: - - hb-view /Library/Fonts/Zapfino.ttf ZapfinoZapfino --features=-dlig[7:] --shaper=coretext - - src/hb-coretext.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit c2b151d95262a8dc2d2ce94e19ab0ef5b0c8f98d -Author: Behdad Esfahbod -Date: Sun Aug 10 18:52:07 2014 -0400 - - Fix hb_in_range() for types smaller than int - - As exercised by hb-coretext .notdef code. - - src/hb-private.hh | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit 26a963b9cb4af3119177f277a2d48a5d537458fb -Author: Behdad Esfahbod -Date: Sun Aug 10 18:04:50 2014 -0400 - - [wince] Try to fix some stuff on Windows CE - - Based on errors seen here: - http://testresults.qt-project.org/ci/QtBase_dev_Integration/build_03837/wince70embedded-armv4i-msvc2008_Windows_7/log.txt.gz - - Fully untested. - - src/hb-private.hh | 8 ++++++++ - 1 file changed, 8 insertions(+) - -commit 92aeee3f040c2c32cbf70b27bd6954535388c870 -Author: Behdad Esfahbod -Date: Sun Aug 10 17:42:19 2014 -0400 - - Minor - - src/hb-coretext.cc | 4 ++-- - src/hb-uniscribe.cc | 4 ++-- - 2 files changed, 4 insertions(+), 4 deletions(-) - -commit b9993d8d6d332994dfbd29e99ff8043622003417 -Author: Behdad Esfahbod -Date: Sun Aug 10 17:40:24 2014 -0400 - - [coretext] Fix assert on Yosemite - - Apparently those functions documented as sometimes returning NULL - actually exercise that right in OS X 10.10 Yosemite. The scratch - was too small for that. I *think* I fixed it, but haven't tested - as I don't have Yosemite. - - src/hb-coretext.cc | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -commit 087733dd66e17297ef0e53680fafe42c84884104 -Author: Behdad Esfahbod -Date: Fri Apr 18 11:21:08 2014 -0700 - - [coretext] Use CGFont as face_data - - src/hb-coretext.cc | 26 +++++++++----------------- - 1 file changed, 9 insertions(+), 17 deletions(-) - -commit d277c3d7eee1fd4fb41c38255e5c4df539353e89 -Author: Behdad Esfahbod -Date: Thu Aug 7 15:38:52 2014 -0400 - - [arabic] Bug 82306 - Mandaic had errors in its Unicode Joining_Type - - Fixes https://bugs.freedesktop.org/show_bug.cgi?id=82306 - - src/hb-ot-shape-complex-arabic-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 38fb30d7420a4b01f99cee31baa8c3990a1d1c5f -Author: Behdad Esfahbod -Date: Wed Aug 6 13:34:49 2014 -0400 - - Use atexit() only if it's safe to call from shared library - - Apparently they are not (advertised as?) safe on BSD systems. - We ignore the case of static libraries. - - Whitelisted on glibc, Android, and MSVC / mingw. - - https://bugs.freedesktop.org/show_bug.cgi?id=82246 - - src/hb-common.cc | 4 ++-- - src/hb-ft.cc | 2 +- - src/hb-private.hh | 25 +++++++++++++++++++++++++ - src/hb-shape.cc | 2 +- - src/hb-shaper.cc | 2 +- - src/hb-uniscribe.cc | 2 +- - 6 files changed, 31 insertions(+), 6 deletions(-) - -commit d5e61470fa8e5046c35a79988e00e012ae4fff0f -Author: Behdad Esfahbod -Date: Tue Aug 5 14:19:01 2014 -0400 - - [arabic] Fix fallback shaping regression - - Was broken in 615d00ea252739da57edbd980ff27e573. - - Fixes https://github.com/behdad/harfbuzz/pull/48 - - Micro-test added. - - src/hb-ot-shape-complex-arabic.cc | 4 ++-- - test/shaping/Makefile.am | 1 + - test/shaping/fonts/sha1sum/MANIFEST | 1 + - .../sha1sum/df768b9c257e0c9c35786c47cae15c46571d56be.ttf | Bin 0 -> 6332 bytes - test/shaping/tests/MANIFEST | 1 + - test/shaping/tests/arabic-fallback-shaping.tests | 1 + - 6 files changed, 6 insertions(+), 2 deletions(-) - -commit 91c2c0fd2b0f660d79744b3dfaf39ab86883e96b -Author: Behdad Esfahbod -Date: Sat Aug 2 19:24:55 2014 -0400 - - 0.9.34 - - NEWS | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ - configure.ac | 2 +- - 2 files changed, 54 insertions(+), 1 deletion(-) - -commit d7c850f8037d2701366008eb8c2a527c9d40abde -Author: Behdad Esfahbod -Date: Sat Aug 2 17:46:38 2014 -0400 - - [uniscribe] Minor - - src/hb-uniscribe.cc | 1 + - 1 file changed, 1 insertion(+) - -commit 8f3eebf7ee4005f9a8efaafcb7f4058cc0a3756e -Author: Behdad Esfahbod -Date: Sat Aug 2 17:18:46 2014 -0400 - - Make sure gsubgpos buffer vars are available during fallback_position - - Add buffer var allocation asserts to a few key places. - - src/hb-ot-layout-gpos-table.hh | 4 ++-- - src/hb-ot-layout-gsub-table.hh | 2 +- - src/hb-ot-layout-private.hh | 15 +++++++++++++++ - src/hb-ot-shape-complex-arabic-fallback.hh | 2 +- - src/hb-ot-shape-fallback.cc | 2 ++ - src/hb-ot-shape-normalize.cc | 2 ++ - src/hb-ot-shape.cc | 3 +++ - 7 files changed, 26 insertions(+), 4 deletions(-) - -commit 2053f369f84676f197ac41ea654a318c48922abd -Author: Behdad Esfahbod -Date: Sat Aug 2 16:31:16 2014 -0400 - - Disable 'liga' for vertical text - - The reason we turned it on is because Kazuraki uses it. But that's - not reason enough. Until the OpenType spec gets its act together re - adding design-direction to lookups, this is better user experience. - - src/hb-ot-shape.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 763e5466c0a03a7c27020e1e2598e488612529a7 -Author: Behdad Esfahbod -Date: Sat Aug 2 16:17:44 2014 -0400 - - Make it easier to use HB_BUFFER_FLAG_BOT/EOT - - Previously, we expected users to provide BOT/EOT flags when the - text *segment* was at paragraph boundaries. This meant that for - clients that provide full paragraph to HarfBuzz (eg. Pango), they - had code like this: - - hb_buffer_set_flags (hb_buffer, - (item_offset == 0 ? HB_BUFFER_FLAG_BOT : 0) | - (item_offset + item_length == paragraph_length ? - HB_BUFFER_FLAG_EOT : 0)); - - hb_buffer_add_utf8 (hb_buffer, - paragraph_text, paragraph_length, - item_offset, item_length); - - After this change such clients can simply say: - - hb_buffer_set_flags (hb_buffer, - HB_BUFFER_FLAG_BOT | HB_BUFFER_FLAG_EOT); - - hb_buffer_add_utf8 (hb_buffer, - paragraph_text, paragraph_length, - item_offset, item_length); - - Ie, HarfBuzz itself checks whether the segment is at the beginning/end - of the paragraph. Clients that only pass item-at-a-time to HarfBuzz - continue not setting any flags whatsoever. - - Another way to put it is: if there's pre-context text in the buffer, - HarfBuzz ignores the BOT flag. If there's post-context, it ignores - EOT flag. - - src/hb-ot-shape-complex-arabic.cc | 40 +++++++++++++++++++-------------------- - src/hb-ot-shape.cc | 1 + - 2 files changed, 20 insertions(+), 21 deletions(-) - -commit 0a5ae9336231c4d189e1682e4fd9c9c4552b8bbf -Merge: ac53443f1 6ab6be32c -Author: Behdad Esfahbod -Date: Sat Aug 2 15:00:34 2014 -0400 - - Merge branch 'win1256' - -commit 6ab6be32c5857ce3344021ad2996e80b2a8c8f99 -Author: Behdad Esfahbod -Date: Sat Aug 2 14:58:38 2014 -0400 - - [arabic/win1256] Remove unused MultipleSubst macros - - src/hb-ot-shape-complex-arabic-win1256.hh | 12 ------------ - 1 file changed, 12 deletions(-) - -commit abfa4252cce1c56c472693dcd8400cd97ededd2f -Author: Behdad Esfahbod -Date: Fri Aug 1 19:05:33 2014 -0400 - - [arabic/win1256] Really fix lam-alef this time - - https://bugzilla.mozilla.org/show_bug.cgi?id=1045139#c26 - https://github.com/behdad/harfbuzz/commit/b276e897d17519a2c28f79d024904ac2bdd86bcf#commitcomment-7243499 - - src/hb-ot-shape-complex-arabic-fallback.hh | 2 +- - src/hb-ot-shape-complex-arabic-win1256.hh | 49 +++++++++--------------------- - 2 files changed, 15 insertions(+), 36 deletions(-) - -commit 55977f2a462b7fa1248eab3787053dc82320d3e5 -Author: Behdad Esfahbod -Date: Fri Aug 1 16:14:33 2014 -0400 - - [arabic/win1256] Hook up lamMedi lookup - - Restructure lookup array to accommodate. - - https://bugzilla.mozilla.org/show_bug.cgi?id=1045139#c18 - - src/hb-ot-shape-complex-arabic-fallback.hh | 26 ++++++++++---------------- - src/hb-ot-shape-complex-arabic-win1256.hh | 1 + - 2 files changed, 11 insertions(+), 16 deletions(-) - -commit e839e2523e64fd0cf21929f6a45e2facd59c7917 -Author: Behdad Esfahbod -Date: Fri Aug 1 16:09:31 2014 -0400 - - [arabic/win1256] Fix TEH MARBUTA final form - - https://bugzilla.mozilla.org/show_bug.cgi?id=1045139#c18 - - src/hb-ot-shape-complex-arabic-win1256.hh | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit a2de193220ee2839125594bd1a60b5b66ab4598e -Author: Behdad Esfahbod -Date: Thu Jul 31 18:21:05 2014 -0400 - - [arabic/win1256] Fix shaping of JEEM, HAH, and KHAH - - https://bugzilla.mozilla.org/show_bug.cgi?id=1045139#c16 - - src/hb-ot-shape-complex-arabic-win1256.hh | 22 ++++++++++++---------- - 1 file changed, 12 insertions(+), 10 deletions(-) - -commit 1789ccb1dd56af6117eac00e633eff94860ba252 -Author: Behdad Esfahbod -Date: Thu Jul 31 11:04:00 2014 -0400 - - [arabic/win1256] Remove GCC'ism - - The table can now compile independently too. If we cannot make it work - on MSVC, we can always generate the data and distribute it. - - The code now compiles cleanly with: - - gcc -c -xc -std=c99 -Werror -pedantic hb-ot-shape-complex-arabic-win1256.hh - g++ -c -xc -std=c++1x -Werror -pedantic hb-ot-shape-complex-arabic-win1256.hh - - See: - https://github.com/behdad/harfbuzz/commit/a97f537cec209649302899975d76ca2b2661da7a#commitcomment-7218736 - - src/hb-ot-shape-complex-arabic-fallback.hh | 4 +- - src/hb-ot-shape-complex-arabic-win1256.hh | 123 +++++++++++++++++------------ - 2 files changed, 75 insertions(+), 52 deletions(-) - -commit f28b1c823db2ad56fed356ef864a7508d23048b8 -Author: Behdad Esfahbod -Date: Wed Jul 30 02:15:44 2014 -0400 - - [arabic] Implement Windows-1256 private shaping - - Bug 1045139 - The Arabic text with "MS Sans Serif" font is rendered bad - https://bugzilla.mozilla.org/show_bug.cgi?id=1045139 - - This is only enabled on Windows platforms, and requires support from - Uniscribe to work. But for clients that do hook up to Uniscribe, this - fixes shaping of Windows-1256-encoded bitmap fonts like "MS Sans Serif". - - The code and table together have just less than a 1kb footprint when - enabled. - - UNTESTED. I might even have broken regular Arabic fallback shaping. - - src/Makefile.am | 1 + - src/check-includes.sh | 2 +- - src/hb-ot-shape-complex-arabic-fallback.hh | 125 +++++++++-- - src/hb-ot-shape-complex-arabic-win1256.hh | 328 +++++++++++++++++++++++++++++ - 4 files changed, 442 insertions(+), 14 deletions(-) - -commit ac53443f1cea83ed43a4e41a9fdb91902f7fae7b -Author: Behdad Esfahbod -Date: Thu Jul 31 18:51:37 2014 -0400 - - [hangul] Don't apply 'calt' - - See comments. - - Micro-test added. - - src/hb-ot-shape-complex-hangul.cc | 11 ++++++++++- - test/shaping/Makefile.am | 1 + - .../sha1sum/757ebd573617a24aa9dfbf0b885c54875c6fe06b.ttf | Bin 0 -> 1804 bytes - .../sha1sum/7e14e7883ed152baa158b80e207b66114c823a8b.ttf | Bin 0 -> 1644 bytes - test/shaping/fonts/sha1sum/MANIFEST | 2 ++ - test/shaping/tests/MANIFEST | 1 + - test/shaping/tests/hangul-jamo.tests | 11 +++++++++++ - 7 files changed, 25 insertions(+), 1 deletion(-) - -commit 8292f96b2be173ebceb1b54426c271cfeaecd633 -Author: Behdad Esfahbod -Date: Thu Jul 31 18:33:11 2014 -0400 - - [test] Fix record-test.sh - - test/shaping/record-test.sh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 88911e8cc765c26e502503a3a00ac7f17973f3d9 -Author: Behdad Esfahbod -Date: Tue Jul 29 19:47:26 2014 -0400 - - Minor - - src/hb-ot-shape-complex-arabic-fallback.hh | 1 + - 1 file changed, 1 insertion(+) - -commit 9e834e29e0b657f0555df1ab9cea79ff7abcf08d -Author: Behdad Esfahbod -Date: Sat Jul 26 20:34:01 2014 -0400 - - [hebrew] Zero mark advance by GDEF late - - Seems to be what Uniscribe does. - - At this point I think it's work checking our default... - - Fixes Bug 76767 - Zeroing of advance of 2nd component of multiple - substitution with SBL Hebrew - https://bugs.freedesktop.org/show_bug.cgi?id=76767 - - Micro-test added. - - src/hb-ot-shape-complex-hebrew.cc | 2 +- - .../sha1sum/8454d22037f892e76614e1645d066689a0200e61.ttf | Bin 0 -> 6068 bytes - test/shaping/fonts/sha1sum/MANIFEST | 1 + - test/shaping/tests/zero-width-marks.tests | 1 + - 4 files changed, 3 insertions(+), 1 deletion(-) - -commit 6f2d9ba52a6d1e3fc200da1ef0e85ba020fcd0dc -Author: Behdad Esfahbod -Date: Sat Jul 26 19:17:44 2014 -0400 - - Add old-Myanmar shaper - - Looks like Unsicribe responds to the 'mymr' tag by zeroing marks - GDEF_LATE instead of generic-shaper UNICODE_LATE. Implement that. - - Fixes - Bug 81775 - Incorrect Rendering with harfbuzz-ng myanmar unicode - https://bugs.freedesktop.org/show_bug.cgi?id=81775 - - Micro-test added based on Padauk. - - src/hb-ot-shape-complex-myanmar.cc | 18 ++++++++++++++++++ - src/hb-ot-shape-complex-private.hh | 5 +++-- - test/shaping/Makefile.am | 1 + - test/shaping/fonts/sha1sum/MANIFEST | 1 + - .../bb9473d2403488714043bcfb946c9f78b86ad627.ttf | Bin 0 -> 3440 bytes - test/shaping/tests/MANIFEST | 1 + - test/shaping/tests/zero-width-marks.tests | 1 + - 7 files changed, 25 insertions(+), 2 deletions(-) - -commit 595d2b96c37de8147489dc5e0ddcc4ab1ad3eea9 -Author: Behdad Esfahbod -Date: Sat Jul 26 18:44:15 2014 -0400 - - Minor - - src/hb-ot-shape-complex-indic.cc | 1 + - src/hb-ot-shape.cc | 2 +- - 2 files changed, 2 insertions(+), 1 deletion(-) - -commit fe6788bc570d77d5b3aafc68efd51ca6b80499b1 -Author: Behdad Esfahbod -Date: Fri Jul 25 12:40:56 2014 -0400 - - Typo - - src/hb-common.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 0de25d4184d2d92b1a2ebb6fa054275aaae4c316 -Author: Behdad Esfahbod -Date: Fri Jul 25 12:35:03 2014 -0400 - - [util] Note CSS compatibility in --help-features - - util/options.cc | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit 6e69200a2aadbc6bba35ffb4a058c14286b84f46 -Author: Behdad Esfahbod -Date: Fri Jul 25 12:30:47 2014 -0400 - - Fix snprintf() format - - Patch from Maks Naumov. - Fixes https://github.com/behdad/harfbuzz/pull/22 - - src/hb-shape.cc | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 5c5cdbbdf8be231c433e21b050a6c6991d327b61 -Author: Behdad Esfahbod -Date: Fri Jul 25 12:21:49 2014 -0400 - - Make sure broken feature strings are not partially parsed - - If user doesn't check hb_feature_from_string() return value, we - don't want them to end up see the partially-parsed feature. - - src/hb-shape.cc | 18 ++++++++++++++---- - 1 file changed, 14 insertions(+), 4 deletions(-) - -commit a795fe637846e0d9561d2f7cdd84cfafd58b23a7 -Author: Behdad Esfahbod -Date: Fri Jul 25 12:15:33 2014 -0400 - - Allow quotation marks around feature tag in hb_feature_from_string() - - With this, I believe we accept CSS feature strings completely. - - src/hb-shape.cc | 24 +++++++++++++++++++++--- - 1 file changed, 21 insertions(+), 3 deletions(-) - -commit 3f6461847412e78bcddc8eba97200f3afcde869a -Author: Behdad Esfahbod -Date: Fri Jul 25 12:04:27 2014 -0400 - - Allow space at the end of feature string with values, eg 'dlig=1 ' - - src/hb-shape.cc | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit f31f7d2259dd8edffc070af55938cb7aa23514c1 -Author: Behdad Esfahbod -Date: Fri Jul 25 12:03:52 2014 -0400 - - Minor - - src/hb-shape.cc | 18 +++++++++--------- - 1 file changed, 9 insertions(+), 9 deletions(-) - -commit 60cb18a5dea2d30793f89e80995bb729c014864a -Author: Behdad Esfahbod -Date: Fri Jul 25 12:01:22 2014 -0400 - - Allow on/off in hb_feature_from_string() - - We now allow things like "dlig on" / "dlig=on". - - src/hb-shape.cc | 26 ++++++++++++++++++++++++-- - 1 file changed, 24 insertions(+), 2 deletions(-) - -commit d9e618eca9e01c2eb6db65504af3f73be370a1e7 -Author: Behdad Esfahbod -Date: Fri Jul 25 11:56:01 2014 -0400 - - Remove duplicate definition of ISALNUM - - It's defined in hb-private.h already. - - src/hb-shape.cc | 2 -- - 1 file changed, 2 deletions(-) - -commit 2ee5f665ded86147acedc400153c0b3a90fe07c6 -Author: Behdad Esfahbod -Date: Fri Jul 25 11:53:46 2014 -0400 - - Fix parsing of features like "- liga" (with the space) - - src/hb-shape.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit e15fa7a8cffbe6a67b1048d7b87b7df77d8b1686 -Author: Behdad Esfahbod -Date: Fri Jul 25 11:44:35 2014 -0400 - - Do not require the '=' in hb_feature_from_string() - - Towards accepting CSS font-feature-settings strings. - - src/hb-shape.cc | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -commit f4fe9baefdb7e0ff9946f88b6f4b55738fa30cdf -Author: Behdad Esfahbod -Date: Fri Jul 25 11:39:55 2014 -0400 - - Reject tags longer than 4 chars in hb_feature_from_string() - - src/hb-shape.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 7e8c38954649c0bf2e6051d84ca08dce090ec169 -Author: Behdad Esfahbod -Date: Fri Jul 25 11:18:11 2014 -0400 - - Minor warnings fixes - - Some systems insist on -Wmissing-field-initializers. We have too many, - by design. Fix a few easy ones. - - src/hb-open-type-private.hh | 2 +- - src/hb-ot-layout-private.hh | 2 +- - src/hb-private.hh | 2 +- - 3 files changed, 3 insertions(+), 3 deletions(-) - -commit fc0daafab0336b847ac14682e581a8838f36a0bf -Author: Behdad Esfahbod -Date: Wed Jul 23 16:48:51 2014 -0400 - - [indic] Handle old-spec Malayalam reordering with final Halant - - See comment. - - Micro-tests added. - - src/hb-ot-shape-complex-indic.cc | 28 +++++++++++++++++---- - test/shaping/Makefile.am | 1 + - .../270b89df543a7e48e206a2d830c0e10e5265c630.ttf | Bin 0 -> 3428 bytes - .../57a9d9f83020155cbb1d2be1f43d82388cbecc88.ttf | Bin 0 -> 2272 bytes - test/shaping/fonts/sha1sum/MANIFEST | 2 ++ - test/shaping/tests/MANIFEST | 1 + - test/shaping/tests/indic-old-spec.tests | 2 ++ - .../indic/script-malayalam/misc/misc.txt | 1 + - 8 files changed, 30 insertions(+), 5 deletions(-) - -commit d6d349d17898529ecdf8217a54987a3e9f81ce05 -Author: Behdad Esfahbod -Date: Wed Jul 23 11:38:49 2014 -0400 - - Give CC to gir-scanner - - From: - https://github.com/Alexpux/MINGW-packages/blob/master/mingw-w64-harfbuzz/0001-give-cc-to-gir-scanner.all.patch - - src/Makefile.am | 1 + - 1 file changed, 1 insertion(+) - -commit 8c1bdb46facb79cfca5ebfea9a7e467b40337f47 -Author: Behdad Esfahbod -Date: Tue Jul 22 17:56:43 2014 -0400 - - 0.9.33 - - NEWS | 10 ++++++++++ - configure.ac | 2 +- - 2 files changed, 11 insertions(+), 1 deletion(-) - -commit d218bdb26b226fbf68331eb586b24460c061313d -Author: Behdad Esfahbod -Date: Tue Jul 22 18:01:46 2014 -0400 - - Fix test runner under Windows - - test/shaping/Makefile.am | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 3f310dc0cae9015c45ba642b9b83d5695c807aad -Author: Behdad Esfahbod -Date: Tue Jul 22 16:26:27 2014 -0400 - - Disallow changing settings on immutable face - - Ouch! - - src/hb-face.cc | 8 ++++---- - src/hb-font.cc | 4 ++-- - src/hb-unicode.cc | 2 +- - 3 files changed, 7 insertions(+), 7 deletions(-) - -commit 0fc0a1022854324261fea8893678a3e9fd9443eb -Author: Behdad Esfahbod -Date: Mon Jul 21 11:12:54 2014 -0400 - - [win] Fix Cygwin build - - https://github.com/behdad/harfbuzz/commit/db308280488c2ee11ba865a9922eb6a0c1abeef3#commitcomment-7077778 - - src/hb-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 1132a7dd0ecf1c425078e39e5471330bace42659 -Author: Behdad Esfahbod -Date: Sun Jul 20 01:17:40 2014 -0400 - - Add HB_TAG_MAX_SIGNED / _HB_SCRIPT_MAX_VALUE_SIGNED - - To make C language police happy. - - src/hb-common.h | 17 ++++++++++++----- - 1 file changed, 12 insertions(+), 5 deletions(-) - -commit df99976398a53521e0228541055dcaee8f5ba87f -Author: Behdad Esfahbod -Date: Sat Jul 19 17:31:23 2014 -0400 - - [gobject] Skip _HB_SCRIPT_MAX_VALUE - - Fixes https://github.com/behdad/harfbuzz/pull/38 - - src/hb-common.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit f1a8d50a87edfb8147aa1bec732ed7ccbfef2877 -Author: Behdad Esfahbod -Date: Sat Jul 19 16:52:32 2014 -0400 - - [win] Don't define visibility attribtue under Cygwin - - src/hb-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 9c77027d645142794c3ff1590a96bb151c3f2e91 -Author: Behdad Esfahbod -Date: Sat Jul 19 16:37:22 2014 -0400 - - [win] Turn STRICT on for including windows.h - - src/hb-private.hh | 1 + - 1 file changed, 1 insertion(+) - -commit db308280488c2ee11ba865a9922eb6a0c1abeef3 -Author: Behdad Esfahbod -Date: Sat Jul 19 16:32:04 2014 -0400 - - [win] Consolidate windows.h include tips and tricks - - src/hb-atomic-private.hh | 4 ---- - src/hb-mutex-private.hh | 1 - - src/hb-private.hh | 12 ++++++++++++ - src/hb-uniscribe.cc | 3 --- - src/hb-uniscribe.h | 3 --- - 5 files changed, 12 insertions(+), 11 deletions(-) - -commit f26d59d4684be3419c976d781b6dbc956248e3bb -Author: Behdad Esfahbod -Date: Sat Jul 19 16:10:21 2014 -0400 - - More fixing MemoryBarrier() on Mingw32 - - Set requested windows header to Vista. See discussion: - - https://github.com/behdad/harfbuzz/commit/fbb2847f541389f40718af71c4945024ae177ab2#commitcomment-7054700 - - src/hb-atomic-private.hh | 3 +++ - 1 file changed, 3 insertions(+) - -commit 00a57eb4b50fd894dc68c6525a5bbebf0ebc30e4 -Author: Behdad Esfahbod -Date: Fri Jul 18 14:42:50 2014 -0400 - - [test] Remove unused micro-font - - .../9d64156923a1b9fed1e05f74599c16563eca42d9.ttf | Bin 81968 -> 0 bytes - test/shaping/fonts/sha1sum/MANIFEST | 1 - - 2 files changed, 1 deletion(-) - -commit ed29b15f5d0d9e7b40143926ca7d40bf645f67e9 -Author: Behdad Esfahbod -Date: Fri Jul 18 14:37:49 2014 -0400 - - [test] Add more Mongolian variation selector tests - - From - https://code.google.com/p/chromium/issues/detail?id=393896 - - .../9d64156923a1b9fed1e05f74599c16563eca42d9.ttf | Bin 0 -> 81968 bytes - test/shaping/fonts/sha1sum/MANIFEST | 2 ++ - .../bb29ce50df2bdba2d10726427c6b7609bf460e04.ttf | Bin 0 -> 74856 bytes - test/shaping/tests/mongolian-variation-selector.tests | 1 + - .../shaper-arabic/script-mongolian/misc/MANIFEST | 1 + - .../script-mongolian/misc/variation-selectors.txt | 8 ++++++++ - 6 files changed, 12 insertions(+) - -commit 385cf37cf084198e3aedb4354a7b025938a9f11b -Author: Behdad Esfahbod -Date: Thu Jul 17 18:22:07 2014 -0400 - - Fix hb_in_range() unused-var warning on Windows - - src/hb-private.hh | 8 +++++++- - 1 file changed, 7 insertions(+), 1 deletion(-) - -commit e3b42f1af409c073b819bfc696024ccb1f1da63f -Author: Behdad Esfahbod -Date: Thu Jul 17 17:13:54 2014 -0400 - - [arabic] Disable 'cswh' again - - Ouch! - - src/hb-ot-shape-complex-arabic.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 66f30915b185727a0041c998641edb550eb8a7fc -Author: Behdad Esfahbod -Date: Thu Jul 17 16:05:47 2014 -0400 - - 0.9.32 - - NEWS | 12 ++++++++++++ - configure.ac | 2 +- - 2 files changed, 13 insertions(+), 1 deletion(-) - -commit 82f4d9d53f348f41b14b877c1ac77c0372c49caa -Author: Behdad Esfahbod -Date: Thu Jul 17 15:57:37 2014 -0400 - - [arabic] Add note re disabled 'cswh' - - src/hb-ot-shape-complex-arabic.cc | 9 +++++++++ - 1 file changed, 9 insertions(+) - -commit 615d00ea252739da57edbd980ff27e573f88ee7e -Author: Behdad Esfahbod -Date: Thu Jul 17 13:36:09 2014 -0400 - - [arabic] Apply init/medi/isol/fini/... in separate stages - - Follows the order of the Arabic/Syriac specs. Also don't stop - between rlig and calt in non-Arabic scripts. - - Micro-tests for Arabic and Mongolian added for the latter. - - src/hb-ot-shape-complex-arabic.cc | 56 +++++++++++++-------- - test/shaping/Makefile.am | 2 + - .../813c2f8e5512187fd982417a7fb4286728e6f4a8.ttf | Bin 0 -> 3428 bytes - .../8a9fea2a7384f2116e5b84a9b31f83be7850ce21.ttf | Bin 0 -> 3428 bytes - test/shaping/fonts/sha1sum/MANIFEST | 3 ++ - .../a919b33197965846f21074b24e30250d67277bce.ttf | Bin 0 -> 12560 bytes - test/shaping/tests/MANIFEST | 1 + - test/shaping/tests/arabic-feature-order.tests | 3 ++ - 8 files changed, 43 insertions(+), 22 deletions(-) - -commit d21e997035b16e9807dfb29c3605abb93f92f1ee -Author: Behdad Esfahbod -Date: Thu Jul 17 15:27:46 2014 -0400 - - [test] Make record_test understand cmdline args to hb-shape - - test/shaping/record-test.sh | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -commit 7cd33f230441093dbfb1fec48f8c580ee8d9ef71 -Author: Behdad Esfahbod -Date: Thu Jul 17 14:22:11 2014 -0400 - - Micro optimization - - src/hb-fallback-shape.cc | 36 +++++++++++++++++++----------------- - src/hb-ot-shape-complex-arabic.cc | 19 +++++++++++-------- - src/hb-ot-shape-complex-indic.cc | 15 ++++++++++----- - src/hb-ot-shape-complex-myanmar.cc | 7 +++++-- - src/hb-ot-shape-complex-sea.cc | 7 +++++-- - src/hb-ot-shape-fallback.cc | 30 ++++++++++++++++-------------- - src/hb-ot-shape.cc | 18 ++++++++++++------ - 7 files changed, 78 insertions(+), 54 deletions(-) - -commit 164c13d73f67fdddba28e6409d76b4903e8ffab3 -Author: Behdad Esfahbod -Date: Thu Jul 17 14:16:38 2014 -0400 - - Another try to fix Mongolian free variation selectors - - This reverts bf029281 and fixes it properly. That commit - was not enough as it was only inheriting the shaping_action - for prev_action, but not curr_action. - - Micro-test added. - - https://code.google.com/p/chromium/issues/detail?id=393896 - - src/hb-ot-shape-complex-arabic.cc | 24 +++++++++++++++------ - src/hb-unicode-private.hh | 3 ++- - test/shaping/fonts/sha1sum/MANIFEST | 1 + - .../ef86fe710cfea877bbe0dbb6946a1f88d0661031.ttf | Bin 0 -> 2748 bytes - .../tests/mongolian-variation-selector.tests | 1 + - 5 files changed, 22 insertions(+), 7 deletions(-) - -commit 5209c505061130854a2bfea8849928ade3ee92f3 -Author: Behdad Esfahbod -Date: Thu Jul 17 12:23:44 2014 -0400 - - Revert "Show U+FFFD REPLACEMENT CHARACTER for invalid Unicode codepoints" - - We now handle U+FFFD replacement in hb_buffer_add_utf*(). Any other - manipulation can happen in user callbacks. No need for this. - - https://github.com/behdad/harfbuzz/commit/efe74214bbb68eaa3d7621e73869b5d58210107e#commitcomment-7039404 - - This reverts commit efe74214bbb68eaa3d7621e73869b5d58210107e. - - Conflicts: - src/hb-ot-shape-normalize.cc - - src/hb-ot-shape-normalize.cc | 7 ------- - 1 file changed, 7 deletions(-) - -commit 9e7c720100e432b43564ed5ff12f3175ca2ed74a -Author: Dominik Röttsches -Date: Thu Jul 17 14:40:34 2014 +0300 - - Fix CoreText build after a8b89a09f6d3a34 - - src/hb-private.hh | 1 + - 1 file changed, 1 insertion(+) - -commit a4d643755a531c82ab91e1e43d6bb0b7bd46453a -Author: Behdad Esfahbod -Date: Wed Jul 16 20:15:45 2014 -0400 - - Minor - - src/hb-utf-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit a18897f87ce2c6048c3a0339074924b2232e2b95 -Author: Behdad Esfahbod -Date: Wed Jul 16 16:02:15 2014 -0400 - - 0.9.31 - - NEWS | 29 +++++++++++++++++++++++++++++ - configure.ac | 2 +- - 2 files changed, 30 insertions(+), 1 deletion(-) - -commit 976c8f455221eb599d1c446eafd88d51d7d2aa65 -Author: Behdad Esfahbod -Date: Wed Jul 16 15:34:20 2014 -0400 - - New API: hb_buffer_[sg]et_replacement_codepoint() - - With this change, we now by default replace broken UTF-8/16/32 bits - with U+FFFD. This can be changed by calling new API on the buffer. - Previously the replacement value used to be (hb_codepoint_t)-1. - - Note that hb_buffer_clear_contents() does NOT reset the replacement - character. - - See discussion here: - - https://github.com/behdad/harfbuzz/commit/6f13b6d62daae4989e3cc2fe4b168e5c59650964 - - New API: - - hb_buffer_set_replacement_codepoint() - hb_buffer_get_replacement_codepoint() - - src/hb-buffer-private.hh | 1 + - src/hb-buffer.cc | 45 ++++++++++++++++++++++++++++++++++++++++++--- - src/hb-buffer.h | 15 ++++++++++++++- - src/hb-utf-private.hh | 34 ++++++++++++++++++++-------------- - test/api/test-buffer.c | 26 +++++++++++++++----------- - 5 files changed, 92 insertions(+), 29 deletions(-) - -commit bcba8b45024e1eca8be77ca2657de1dc44dbf8fb -Author: Behdad Esfahbod -Date: Wed Jul 16 14:59:04 2014 -0400 - - New API hb_buffer_add_codepoints() - - Like hb_buffer_add_utf32, but doesn't do any Unicode validation. - This is like what hb_buffer_add_utf32 used to be until a couple - commits ago. - - src/hb-buffer.cc | 32 +++++++++++++++++++++++++++----- - src/hb-buffer.h | 8 ++++++++ - 2 files changed, 35 insertions(+), 5 deletions(-) - -commit 625dbf141a05f1ae81a7b8cbc529996370101284 -Author: Behdad Esfahbod -Date: Wed Jul 16 14:49:55 2014 -0400 - - [buffer] Templatize UTF-* functions - - src/hb-buffer.cc | 10 +- - src/hb-utf-private.hh | 307 ++++++++++++++++++++++++++------------------------ - 2 files changed, 166 insertions(+), 151 deletions(-) - -commit e634fed4285ce440d277345727ed01757df6d779 -Author: Behdad Esfahbod -Date: Wed Jul 16 14:17:26 2014 -0400 - - [buffer] Validate UTF-32 input - - Same as what we do for UTF-8 and UTF-16. - - src/hb-utf-private.hh | 13 +++++++++--- - test/api/test-buffer.c | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++ - 2 files changed, 65 insertions(+), 3 deletions(-) - -commit b98c5db32d15fcfb27ce2f6737203ce1ad124319 -Author: Behdad Esfahbod -Date: Wed Jul 16 13:44:01 2014 -0400 - - Minor refactoring - - src/hb-ot-layout-gsubgpos-private.hh | 25 ++++++------------------- - 1 file changed, 6 insertions(+), 19 deletions(-) - -commit 844f1a487d9c39724ebff20e89f6184c9a59be0b -Author: Behdad Esfahbod -Date: Wed Jul 16 13:32:51 2014 -0400 - - [tests] Add record-test.sh - - test/shaping/Makefile.am | 1 + - test/shaping/record-test.sh | 49 +++++++++++++++++++++++++++++++++++++++++++++ - 2 files changed, 50 insertions(+) - -commit 3b861421a772f52eb232ff93bd74b5a8214801ec -Author: Behdad Esfahbod -Date: Wed Jul 16 13:22:05 2014 -0400 - - Fix Mongolian Variation Selectors for fonts without GDEF - - Originally we fixed those in 79d1007a501fd63c0ba4d51038c513e6b8b94740. - However, fonts like MongolianWhite don't have GDEF, but have IgnoreMarks - in their LigatureSubstitute init/etc features. We were synthesizing a - GDEF class of mark for Mongolian Variation Selectors and as such the - ligature lookups where not matching. Uniscribe doesn't do that. - - I tried with more sophisticated fixes, like, if there is no GDEF and - a lookup-flag mismatch happens, instead of rejecting a match, try - skipping that glyph. That surely produces some interesting behavior, - but since we don't want to support fonts missing GDEF more than we have - to, I went for this simpler fix which is to always mark - default-ignorables as base when synthesizing GDEF. - - Micro-test added. - - Fixes rest of https://bugs.freedesktop.org/show_bug.cgi?id=65258 - - src/hb-ot-shape.cc | 13 +++++++++++-- - .../sha1sum/37033cc5cf37bb223d7355153016b6ccece93b28.ttf | Bin 0 -> 2780 bytes - test/shaping/fonts/sha1sum/MANIFEST | 1 + - test/shaping/tests/MANIFEST | 1 + - test/shaping/tests/mongolian-variation-selector.tests | 1 + - 5 files changed, 14 insertions(+), 2 deletions(-) - -commit 878a25375b2fdf64cf0cc30c23fca9fcd58548e8 -Author: Behdad Esfahbod -Date: Wed Jul 16 13:21:26 2014 -0400 - - Minor - - src/hb-ot-shape.cc | 1 + - src/hb-unicode-private.hh | 6 +++--- - 2 files changed, 4 insertions(+), 3 deletions(-) - -commit ec181e50140fc65b32d6080e2f7f73bbe0269ba9 -Author: Behdad Esfahbod -Date: Wed Jul 16 13:10:03 2014 -0400 - - Minor moving around - - src/hb-ot-shape.cc | 14 +++++++++----- - 1 file changed, 9 insertions(+), 5 deletions(-) - -commit e7ce50d9eb6e3678f731b10dfeb308ffc478af8d -Author: Behdad Esfahbod -Date: Wed Jul 16 12:30:39 2014 -0400 - - [indic] Fix access past end of array - - src/hb-ot-shape-complex-indic.cc | 7 ++++--- - 1 file changed, 4 insertions(+), 3 deletions(-) - -commit 73e23b0acfd2948d500321769035c56c9e072d77 -Author: Behdad Esfahbod -Date: Tue Jul 15 18:43:49 2014 -0400 - - Whitespace - - src/hb-ot-layout-gsubgpos-private.hh | 1 - - 1 file changed, 1 deletion(-) - -commit f27be105afb86b337c7d940badc5a6462f0b58bb -Author: Behdad Esfahbod -Date: Fri Jul 11 18:15:34 2014 -0400 - - [Android.mk] Actually remove static library - - Android.mk | 26 -------------------------- - 1 file changed, 26 deletions(-) - -commit 96b80e9bcc4796eedac09d284dc8cc0439ced6ba -Author: Behdad Esfahbod -Date: Fri Jul 11 17:00:12 2014 -0400 - - [Android.mk] Remove static library, add note re how to build - - Android.mk | 41 +++++++++++++++++++++++++++++++++++++---- - 1 file changed, 37 insertions(+), 4 deletions(-) - -commit b7bc0b671d2d568cb64b647dad2ca866a4e0183b -Author: Behdad Esfahbod -Date: Fri Jul 11 16:20:28 2014 -0400 - - Simplify / speed up UTF-8 code - - src/hb-utf-private.hh | 15 ++++++--------- - 1 file changed, 6 insertions(+), 9 deletions(-) - -commit af2490c0959daa0fe7f32a8b3b3a3699c7fc5f48 -Author: Behdad Esfahbod -Date: Fri Jul 11 16:10:58 2014 -0400 - - Only accept well-formed UTF-8 sequences - - Enable tests that were disabled before, and adjust one test, - and add more tests. - - src/hb-utf-private.hh | 93 +++++++++++++++++++++++++++++++++----------------- - test/api/test-buffer.c | 9 +++-- - 2 files changed, 68 insertions(+), 34 deletions(-) - -commit 7323d385cc758c06671cb38239d240eb517b28bc -Author: Behdad Esfahbod -Date: Fri Jul 11 15:10:05 2014 -0400 - - Simplify hb_utf_prev<16> to call hb_utf_next<16> - - src/hb-utf-private.hh | 23 ++++++++--------------- - 1 file changed, 8 insertions(+), 15 deletions(-) - -commit c09a607a842fdd7b33e2c57e8af96d21ff091acd -Author: Behdad Esfahbod -Date: Fri Jul 11 15:05:36 2014 -0400 - - Use hb_in_range() for arabic and indic tables - - Though, looks like gcc was smart enough to produce the same code - before... - - src/gen-arabic-table.py | 18 +- - src/gen-indic-table.py | 10 +- - src/hb-ot-shape-complex-arabic-table.hh | 420 ++++++++++++++++---------------- - src/hb-ot-shape-complex-indic-table.cc | 88 +++---- - 4 files changed, 268 insertions(+), 268 deletions(-) - -commit 7627100f428ac0ec8509d961d368d2d25d8f0b6e -Author: Behdad Esfahbod -Date: Fri Jul 11 14:54:42 2014 -0400 - - Mark unsigned integer literals with the u suffix - - Simplifies hb_in_range() calls as the type can be inferred. - The rest is obsessiveness, I admit. - - src/hb-buffer-serialize.cc | 2 +- - src/hb-common.cc | 4 +- - src/hb-coretext.cc | 16 +-- - src/hb-open-file-private.hh | 4 +- - src/hb-open-type-private.hh | 2 +- - src/hb-ot-cmap-table.hh | 4 +- - src/hb-ot-head-table.hh | 6 +- - src/hb-ot-hhea-table.hh | 2 +- - src/hb-ot-layout-common-private.hh | 14 +-- - src/hb-ot-layout-gdef-table.hh | 8 +- - src/hb-ot-layout-gpos-table.hh | 24 ++-- - src/hb-ot-layout-gsub-table.hh | 6 +- - src/hb-ot-layout-gsubgpos-private.hh | 2 +- - src/hb-ot-layout-jstf-table.hh | 2 +- - src/hb-ot-layout-private.hh | 4 +- - src/hb-ot-layout.h | 6 +- - src/hb-ot-map-private.hh | 8 +- - src/hb-ot-maxp-table.hh | 4 +- - src/hb-ot-shape-complex-arabic-fallback.hh | 2 +- - src/hb-ot-shape-complex-hangul.cc | 36 +++--- - src/hb-ot-shape-complex-hebrew.cc | 134 ++++++++++----------- - src/hb-ot-shape-complex-indic.cc | 182 ++++++++++++++--------------- - src/hb-ot-shape-complex-myanmar.cc | 56 ++++----- - src/hb-ot-shape-complex-sea.cc | 8 +- - src/hb-ot-shape-complex-thai.cc | 84 ++++++------- - src/hb-ot-shape-fallback.cc | 40 +++---- - src/hb-ot-shape-normalize.cc | 2 +- - src/hb-ot-shape.cc | 6 +- - src/hb-ot-tag.cc | 18 +-- - src/hb-unicode-private.hh | 40 +++---- - src/hb-uniscribe.cc | 14 +-- - src/hb-utf-private.hh | 16 +-- - 32 files changed, 378 insertions(+), 378 deletions(-) - -commit a8b89a09f6d3a3466282aae07fd65e143f9f8f83 -Author: Behdad Esfahbod -Date: Fri Jul 11 14:18:01 2014 -0400 - - Simplify hb_in_range() - - It's both faster and produces smaller code. Now I feel stupid for - not writing it this way before. - - src/hb-private.hh | 16 ++++++---------- - 1 file changed, 6 insertions(+), 10 deletions(-) - -commit db8934faa1854dafaf4c4ce34d1818e12f67ef52 -Author: Behdad Esfahbod -Date: Fri Jul 11 13:58:36 2014 -0400 - - Simplify hb_utf_prev<8> to call hb_utf_next<8> - - src/hb-utf-private.hh | 24 ++++-------------------- - 1 file changed, 4 insertions(+), 20 deletions(-) - -commit efe74214bbb68eaa3d7621e73869b5d58210107e -Author: Behdad Esfahbod -Date: Fri Jul 11 11:59:48 2014 -0400 - - Show U+FFFD REPLACEMENT CHARACTER for invalid Unicode codepoints - - Only if the font doesn't support it. Ie, this gives the user to - use non-Unicode codepoints as private values and return a meaningful - glyph for them. But if it's invalid and font callback doesn't - like it, and if font has U+FFFD, show that instead. - - Font functions that do not want this automatic replacement to - happen should return true from get_glyph() if unicode > 0x10FFFF. - - Replaces https://github.com/behdad/harfbuzz/pull/27 - - src/hb-ot-shape-normalize.cc | 7 +++++++ - 1 file changed, 7 insertions(+) - -commit 6f13b6d62daae4989e3cc2fe4b168e5c59650964 -Author: Behdad Esfahbod -Date: Thu Jul 10 19:31:40 2014 -0400 - - When parsing UTF-16, generate invalid codepoint for lonely low surrogate - - Test passes now. - - src/hb-utf-private.hh | 42 ++++++++++++++++++++++++++++-------------- - 1 file changed, 28 insertions(+), 14 deletions(-) - -commit 24b2ba9dfa7c35769cd843a07079ef88fa594bf8 -Author: Behdad Esfahbod -Date: Thu Jul 10 19:31:16 2014 -0400 - - [test-buffer] Add test for lonely low-surrogate - - Currenty fails. Ouch! - - test/api/test-buffer.c | 1 + - 1 file changed, 1 insertion(+) - -commit 6334495ac1ee0a86228e67794b7a41ee91146f3b -Author: Behdad Esfahbod -Date: Thu Jul 10 19:22:07 2014 -0400 - - Use zh-Hans / zh-Hant when converting OT language tag to hb_language_t - - src/hb-ot-tag.cc | 15 +++------------ - test/api/test-ot-tag.c | 6 +++--- - 2 files changed, 6 insertions(+), 15 deletions(-) - -commit f381e320df795a9d73ac81499f8ed8c311bcb2f0 -Author: Behdad Esfahbod -Date: Thu Jul 10 19:20:35 2014 -0400 - - Fix lang matching logic - - Previous code was broken logically, but harmless. - - src/hb-ot-tag.cc | 2 +- - test/api/test-ot-tag.c | 1 + - 2 files changed, 2 insertions(+), 1 deletion(-) - -commit ee5350d667f3a9644667202597694581f2cf657d -Author: Behdad Esfahbod -Date: Thu Jul 10 19:06:45 2014 -0400 - - Accept BCP 47 zh-Hans / zh-Hant language tags - - src/hb-ot-tag.cc | 27 ++++++++++++++++++--------- - test/api/test-ot-tag.c | 3 +++ - 2 files changed, 21 insertions(+), 9 deletions(-) - -commit 431540286794e023ec5eafd5eeedc008d4f31b4c -Author: Behdad Esfahbod -Date: Thu Jul 10 17:37:26 2014 -0400 - - [Android.mk] Add note re static library - - Android.mk | 7 +++++++ - 1 file changed, 7 insertions(+) - -commit 5b4131eb1c670c20fd9a45a5617c64060a505ef5 -Author: Behdad Esfahbod -Date: Wed Jul 9 19:09:08 2014 -0400 - - [Android.mk] Update for new ICU - - https://android-review.googlesource.com/#/c/100722/1/Android.mk - - Android.mk | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit ab28196c9557a63971a56915aa6f98bb5803bd1b -Author: Behdad Esfahbod -Date: Wed Jul 9 18:18:06 2014 -0400 - - [Android.mk] Re-enable ICU unicode funcs - - Android.mk | 11 ++++++----- - 1 file changed, 6 insertions(+), 5 deletions(-) - -commit ea001374b86c4f1b24246c08a3d66d2a0e95a827 -Author: Behdad Esfahbod -Date: Wed Jul 9 17:28:43 2014 -0400 - - 0.9.30 - - NEWS | 17 +++++++++++++++++ - configure.ac | 2 +- - 2 files changed, 18 insertions(+), 1 deletion(-) - -commit 8b16ff12590200afb08e8821e3f14d2fdf8efbda -Author: Behdad Esfahbod -Date: Wed Jul 9 17:40:52 2014 -0400 - - [uniscribe] Fix build after recent changes to Offset - - src/hb-ot-name-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 73f7f8919ea1f09b8c5b29f231ac84105cde2145 -Author: Behdad Esfahbod -Date: Wed Jul 9 17:17:18 2014 -0400 - - Define _POSIX_C_SOURCE only if it is not defined - - Fixes https://github.com/behdad/harfbuzz/pull/45 - - src/hb-blob.cc | 2 ++ - 1 file changed, 2 insertions(+) - -commit 6bd5646f1b865a76304a67e03a6161afcfef293f -Author: Behdad Esfahbod -Date: Wed Jul 9 17:07:06 2014 -0400 - - [tests] Remove bash'ish - - Apparently on travis-ci, bash is linked to dash, which doesn't - understand "let". Failing tests were not being noticed. See eg: - - https://travis-ci.org/behdad/harfbuzz/jobs/29544211 - - Don't rely on bash. - - test/shaping/run-tests.sh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 0afedaa96c81b63774a4a0ef9b4cb4995d24ec9e -Author: Behdad Esfahbod -Date: Wed Jul 9 17:00:48 2014 -0400 - - [util/hb-shape] Fix crash; oops - - util/hb-shape.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 0cd94491b99aed438ad79a55cdfced8d1b657179 -Author: Behdad Esfahbod -Date: Wed Jul 9 16:51:38 2014 -0400 - - [ucdn] Update to Unicode 7.0.0 data - - From http://github.com/behdad/ucdn - - src/hb-ucdn.cc | 23 + - src/hb-ucdn/README | 1 + - src/hb-ucdn/ucdn.c | 2 +- - src/hb-ucdn/ucdn.h | 27 + - src/hb-ucdn/unicodedata_db.h | 3711 ++++++++++++++++++++++-------------------- - 5 files changed, 2039 insertions(+), 1725 deletions(-) - -commit 9d4ede3a97fff544a5ec2a671e49a92a79645b61 -Author: Behdad Esfahbod -Date: Wed Jul 9 16:19:55 2014 -0400 - - [Android.mk] Update source list - - Android.mk | 9 ++++++--- - 1 file changed, 6 insertions(+), 3 deletions(-) - -commit 7e1ab1f6d812a55f75d4844f7981d5604481049c -Author: Behdad Esfahbod -Date: Wed Jul 9 16:13:40 2014 -0400 - - [Android.mk] Whitespace - - Android.mk | 26 ++++++-------------------- - 1 file changed, 6 insertions(+), 20 deletions(-) - -commit 5c6695c42470e0a15e9029ebe8ecbebf3fa4f95b -Author: Behdad Esfahbod -Date: Wed Jul 9 16:07:12 2014 -0400 - - [Android.mk] Remove -lpthread; we build with -DHB_NO_MT - - Android.mk | 3 --- - 1 file changed, 3 deletions(-) - -commit 9109f1e944dd4bd4ae8057b75c8a31e9d31797aa -Author: Behdad Esfahbod -Date: Tue Jul 8 20:02:29 2014 -0400 - - [util/hb-shape] Accept an empty output-format that would skip output - - Useful for benchmarking, to avoid buffer serialization overhead (which - seems to by far dominate shaping!) - - util/hb-shape.cc | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -commit 8656408572c2685f278a3b742ee69c767c29788c -Author: Behdad Esfahbod -Date: Tue Jul 8 18:10:20 2014 -0400 - - [util] Fix hb-view rendering with --font-funcs=ot - - util/helper-cairo.cc | 25 +++++++++++++++++++++++++ - 1 file changed, 25 insertions(+) - -commit 8650def73500204b79c651f58b1be3f94a41973d -Author: Behdad Esfahbod -Date: Sat Jul 5 15:50:18 2014 -0400 - - [util] Add option to set font function implementation to use - - Supports ft and ot right now. hb-view currently not rendering with ot. - Will fix after some clean up. - - util/options.cc | 76 ++++++++++++++++++++++++++++++++++++++++++++++++++------- - util/options.hh | 21 ++++++++++++++++ - 2 files changed, 88 insertions(+), 9 deletions(-) - -commit 2306ad46dce1c53b0b1bfabdc04d70e3b99eabb7 -Author: Behdad Esfahbod -Date: Fri Jul 4 18:09:29 2014 -0400 - - [util] Fix memory issue - - util/options.cc | 6 ++---- - util/options.hh | 9 +++++++++ - 2 files changed, 11 insertions(+), 4 deletions(-) - -commit 14a4a9d649798d32c31f79b4045a885626dffc7f -Author: Behdad Esfahbod -Date: Tue Jul 1 15:51:54 2014 -0400 - - Add Roozbeh to AUTHORS - - He's been my shadow for all Indic-related changes in the last - few months. - - AUTHORS | 1 + - 1 file changed, 1 insertion(+) - -commit 68f724484b1663255ee249481624e552d2e2313f -Author: Behdad Esfahbod -Date: Mon Jun 30 15:46:53 2014 -0400 - - [indic] Remove some more now-unused special-cases - - src/hb-ot-shape-complex-indic.cc | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit e79c9489802f99dc7eb8b4c2765c4c71b5f80e60 -Author: Behdad Esfahbod -Date: Mon Jun 30 15:39:39 2014 -0400 - - [indic] Remove special-casing of U+1CF2,1CF3 - - These were introduced in a498565cedf0441ae723c5e5969f637d792a15e7, - but IndicSyllabicCategory has had the correct value already, so the - special code was never needed. - - src/hb-ot-shape-complex-indic.cc | 6 ------ - 1 file changed, 6 deletions(-) - -commit d743ce78e10758b7dbaf0cfd191309e5ef646881 -Author: Behdad Esfahbod -Date: Mon Jun 30 15:24:02 2014 -0400 - - [indic-table] Update to Unicode 7.0 data - - Touch code just enough to preserve previous syllable structure - and functionality as closely as possible. Many further cleanups - coming later. - - src/gen-indic-table.py | 4 + - src/hb-ot-shape-complex-indic-private.hh | 23 +- - src/hb-ot-shape-complex-indic-table.cc | 468 ++++++++++++++++++++++--------- - src/hb-ot-shape-complex-indic.cc | 21 -- - src/hb-ot-shape-complex-myanmar.cc | 2 - - 5 files changed, 355 insertions(+), 163 deletions(-) - -commit 5fa21b3ab7175f55f89cb194b544d5d4bd06a481 -Author: Behdad Esfahbod -Date: Mon Jun 30 14:30:54 2014 -0400 - - [indic-table] Fix category frequency counts in comments - - src/gen-indic-table.py | 2 +- - src/hb-ot-shape-complex-indic-table.cc | 46 +++++++++++++++++----------------- - 2 files changed, 24 insertions(+), 24 deletions(-) - -commit 5c4e3e9a57b6b735e7d72cbd5f4070cf024d7015 -Author: Behdad Esfahbod -Date: Mon Jun 30 14:25:18 2014 -0400 - - Whitespace - - src/hb-ot-shape-complex-indic-private.hh | 76 ++++++++++++++++---------------- - 1 file changed, 38 insertions(+), 38 deletions(-) - -commit af528b6674bccac3efd13f8b33fcdc6aeb178f4c -Author: Behdad Esfahbod -Date: Fri Jun 27 18:07:00 2014 -0400 - - Fix typo; ouch! - - src/hb-ot-cmap-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 7d4ada66c96a748ce92f8e8edac149361c3dc829 -Author: Behdad Esfahbod -Date: Fri Jun 27 17:30:59 2014 -0400 - - Mark unsed members with a "Z" suffix - - There may be more. There are members that are by definition - redundant or reserved and not needed, NOT what we *currently* - don't use. - - I'm sure there's more... - - src/hb-open-file-private.hh | 6 +++--- - src/hb-ot-cmap-table.hh | 24 ++++++++++++------------ - src/hb-ot-layout-common-private.hh | 2 +- - 3 files changed, 16 insertions(+), 16 deletions(-) - -commit 23afcff1d14e57f5ce30a4100698d4f2dc530958 -Author: Behdad Esfahbod -Date: Fri Jun 27 17:22:36 2014 -0400 - - [ot-font] Implement Unicode variation selectors - - src/hb-ot-font.cc | 20 +++++++++++++++++++- - 1 file changed, 19 insertions(+), 1 deletion(-) - -commit a5a4736916b6035e6413d4619f9e7287e683d51b -Author: Behdad Esfahbod -Date: Fri Jun 27 17:03:22 2014 -0400 - - [cmap] Implement subtable format 14 - - src/hb-ot-cmap-table.hh | 147 +++++++++++++++++++++++++++++++++++++++++++----- - 1 file changed, 133 insertions(+), 14 deletions(-) - -commit 586b60622c33878f9ca4826b4ef07369d32bf039 -Author: Behdad Esfahbod -Date: Fri Jun 27 15:39:47 2014 -0400 - - Minor: final bits of cleanup - - src/hb-open-type-private.hh | 1 + - src/hb-ot-layout-common-private.hh | 4 ++-- - 2 files changed, 3 insertions(+), 2 deletions(-) - -commit 51d9ba09bc78188ec87218aef5232e80568c1712 -Author: Behdad Esfahbod -Date: Fri Jun 27 15:27:15 2014 -0400 - - Minor - - src/hb-open-type-private.hh | 9 ++++----- - 1 file changed, 4 insertions(+), 5 deletions(-) - -commit 3084767e92483c669f38319f153c498e9a6b92c7 -Author: Behdad Esfahbod -Date: Fri Jun 27 15:24:35 2014 -0400 - - Minor: Remove LongArrayOf - - src/hb-open-file-private.hh | 2 +- - src/hb-open-type-private.hh | 4 ---- - 2 files changed, 1 insertion(+), 5 deletions(-) - -commit 41ea59495032e712fa6f801350ee00d5f00b5724 -Author: Behdad Esfahbod -Date: Fri Jun 27 15:23:18 2014 -0400 - - Minor: Remove LongSortedArrayOf - - src/hb-open-type-private.hh | 4 ---- - src/hb-ot-cmap-table.hh | 2 +- - 2 files changed, 1 insertion(+), 5 deletions(-) - -commit bb6ecf2ce5c2679c298741af17836a22e1d68121 -Author: Behdad Esfahbod -Date: Fri Jun 27 15:13:44 2014 -0400 - - Minor: Remove LongOffsetArrayOf and LongOffsetLongArrayOf - - src/hb-open-file-private.hh | 2 +- - src/hb-open-type-private.hh | 8 -------- - src/hb-ot-layout-gdef-table.hh | 2 +- - 3 files changed, 2 insertions(+), 10 deletions(-) - -commit 99d281712390fd54e523b2f0580d10445457ec2f -Author: Behdad Esfahbod -Date: Fri Jun 27 15:12:52 2014 -0400 - - Minor: Remove GenericOffset - - src/hb-open-type-private.hh | 13 +++++-------- - src/hb-ot-layout-common-private.hh | 8 ++++---- - 2 files changed, 9 insertions(+), 12 deletions(-) - -commit 9da552dcc5b89b3bbbe5a55fb7c543222382e12a -Author: Behdad Esfahbod -Date: Fri Jun 27 15:09:42 2014 -0400 - - Minor: Remove some GenericXXX templates - - src/hb-open-type-private.hh | 32 +++++++++++--------------------- - src/hb-ot-cmap-table.hh | 4 ++-- - src/hb-ot-layout-common-private.hh | 2 +- - 3 files changed, 14 insertions(+), 24 deletions(-) - -commit 36073ede5b52bd1231622cbacd1bee6b82696d81 -Author: Behdad Esfahbod -Date: Fri Jun 27 14:48:54 2014 -0400 - - Minor: Reorder template parameter order - - src/hb-open-type-private.hh | 14 +++++++------- - src/hb-ot-cmap-table.hh | 2 +- - 2 files changed, 8 insertions(+), 8 deletions(-) - -commit 0394ec1bfbd7806cbe9fc809b34f96f8d12ffbf2 -Author: Behdad Esfahbod -Date: Fri Jun 27 14:40:35 2014 -0400 - - Minor: Introduce GenericOffset - - src/hb-open-type-private.hh | 16 ++++++---------- - 1 file changed, 6 insertions(+), 10 deletions(-) - -commit 0d1b3419a7bbfd18ab8fed1abd3a41dec11e8d97 -Author: Behdad Esfahbod -Date: Thu Jun 26 19:13:34 2014 -0400 - - Minor: Use template parameter default values for OffsetTo - - src/hb-open-type-private.hh | 13 +++++-------- - 1 file changed, 5 insertions(+), 8 deletions(-) - -commit 546b1adcdce2d3592843938b0b81ff32e67b0b83 -Author: Behdad Esfahbod -Date: Thu Jun 26 19:10:21 2014 -0400 - - Minor: Use template parameter default values for hb_prealloced_array_t - - src/hb-private.hh | 9 ++++----- - 1 file changed, 4 insertions(+), 5 deletions(-) - -commit 911ca38645bd51764e7859bc482319e8f6d2f710 -Author: Behdad Esfahbod -Date: Tue Jun 24 10:20:36 2014 -0600 - - Add back API removed recently - - Add hb_ot_layout_language_get_required_feature_index() again, which - is used in Pango. This was removed in - da132937989acb4d8ca9bd41c79f98750e7dda30 in favor of - hb_ot_layout_language_get_required_feature(). - - API changes: - - - Added hb_ot_layout_language_get_required_feature_index back. - - src/hb-ot-layout.cc | 15 +++++++++++++++ - src/hb-ot-layout.h | 7 +++++++ - 2 files changed, 22 insertions(+) - -commit 89e4946929a8cd2359c7d76fa9272d5604243002 -Author: Behdad Esfahbod -Date: Sun Jun 22 11:32:13 2014 -0600 - - Add new IndicSyllabicCategory short forms for Unicode 7.0 - - src/gen-indic-table.py | 4 ++++ - 1 file changed, 4 insertions(+) - -commit dcee838e89c2863c2fda4e8f098e720637e02335 -Author: Behdad Esfahbod -Date: Sun Jun 22 11:29:59 2014 -0600 - - Minor - - src/gen-arabic-table.py | 2 +- - src/gen-indic-table.py | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit f2ad86e6053fa87ab188c36edc3d98c92324c049 -Author: Behdad Esfahbod -Date: Sat Jun 21 15:31:10 2014 -0600 - - [indic-table-gen] Minor - - src/gen-indic-table.py | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 2ec62279aab8c2263f17ffbc7c6f74304674f9a8 -Author: Behdad Esfahbod -Date: Sat Jun 21 15:25:59 2014 -0600 - - [indic-table] Update to Unicode 6.3.0 - - Was from 6.2.0. It's a no-op. Committing for the record. - - src/hb-ot-shape-complex-indic-table.cc | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - -commit 5d4d7384efa97a30893ad28b9ad9a994722de12c -Author: Behdad Esfahbod -Date: Sat Jun 21 14:53:21 2014 -0600 - - Minor: format - - src/hb-ot-shape-complex-arabic.cc | 7 +++++-- - 1 file changed, 5 insertions(+), 2 deletions(-) - -commit 44243ae5902cc420e6bf6ec2fca2584ba93ff2fb -Author: Behdad Esfahbod -Date: Sat Jun 21 14:19:34 2014 -0600 - - [arabic-table] Update to Unicode 7.0 - - Old table was from 6.2. Remove hard-coded Mongolian and Phags-pa data. - This completes support for new scripts Manichian and Psaltar Pahlavi. - - src/hb-ot-shape-complex-arabic-table.hh | 72 ++++++++++++++++++++++++++++----- - src/hb-ot-shape-complex-arabic.cc | 22 ---------- - 2 files changed, 63 insertions(+), 31 deletions(-) - -commit cd86ab9b4f4d7bd4f563be64a83714fc8fb395d7 -Author: Behdad Esfahbod -Date: Sat Jun 21 14:10:38 2014 -0600 - - [arabic-table] Add ZWJ/ZWNJ now that table is segmented - - src/gen-arabic-table.py | 2 -- - src/hb-ot-shape-complex-arabic-table.hh | 12 +++++++++++- - src/hb-ot-shape-complex-arabic.cc | 5 ----- - 3 files changed, 11 insertions(+), 8 deletions(-) - -commit 2390d9b67e1dfeccd3f0850d1304c52b54817ca0 -Author: Behdad Esfahbod -Date: Sat Jun 21 14:07:00 2014 -0600 - - [arabic-table] Further tune - - In anticipation of Unicode 7.0 data coming in the next commit. - - src/gen-arabic-table.py | 10 ++++++--- - src/hb-ot-shape-complex-arabic-table.hh | 38 +++++++++++++++------------------ - 2 files changed, 24 insertions(+), 24 deletions(-) - -commit a133e6067aaebc494c0156b5fac7f4a879e12dbe -Author: Behdad Esfahbod -Date: Fri Jun 20 18:01:34 2014 -0400 - - [indic-table] Minor - - src/gen-indic-table.py | 9 +++++---- - 1 file changed, 5 insertions(+), 4 deletions(-) - -commit b900fa2c8cc088dbcbdbf90bfdf8764f9ee1c96a -Author: Behdad Esfahbod -Date: Fri Jun 20 17:59:43 2014 -0400 - - [arabic-table] Use segmented table - - No functional change. - - src/gen-arabic-table.py | 82 +++++++++++++++++++++++---------- - src/hb-ot-shape-complex-arabic-table.hh | 53 ++++++++++++++------- - src/hb-ot-shape-complex-arabic.cc | 8 ++-- - 3 files changed, 97 insertions(+), 46 deletions(-) - -commit c2e113404640bf9b8bac469d0803ac946e77964f -Author: Behdad Esfahbod -Date: Fri Jun 20 17:57:03 2014 -0400 - - [indic-table] Make output stable - - src/gen-indic-table.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 55abfbd2ac1626af16151298a0837b837d0796df -Author: Behdad Esfahbod -Date: Fri Jun 20 16:47:43 2014 -0400 - - [indic-table] Minor - - No output change. - - src/gen-indic-table.py | 7 +------ - 1 file changed, 1 insertion(+), 6 deletions(-) - -commit f88670749006991282bcc4e8b6218487295ca670 -Author: Behdad Esfahbod -Date: Fri Jun 20 16:30:10 2014 -0400 - - [arabic-table] Don't write comments - - No functional change. - - src/gen-arabic-table.py | 20 +- - src/hb-ot-shape-complex-arabic-table.hh | 710 ++------------------------------ - 2 files changed, 38 insertions(+), 692 deletions(-) - -commit 200dfe3eb10feda2ad25940338b08011f4757ca4 -Author: Behdad Esfahbod -Date: Fri Jun 20 16:20:59 2014 -0400 - - [arabic-table] Use short names for values - - No functional change. - - src/gen-arabic-table.py | 16 +- - src/hb-ot-shape-complex-arabic-table.hh | 1386 ++++++++++++++++--------------- - 2 files changed, 716 insertions(+), 686 deletions(-) - -commit 3f5327a41efcf50f64d9498ef3dfd6875ef6a5ab -Author: Behdad Esfahbod -Date: Fri Jun 20 16:17:42 2014 -0400 - - [arabic-table] Read Blocks.txt and shuffle code around - - No functional change. - - src/Makefile.am | 2 +- - src/gen-arabic-table.py | 80 +++++++++++++++++++-------------- - src/hb-ot-shape-complex-arabic-table.hh | 30 ++++++++----- - 3 files changed, 67 insertions(+), 45 deletions(-) - -commit 171f970e4f72d9fe1af30eab32b96906ee4a14f5 -Author: Behdad Esfahbod -Date: Fri Jun 20 15:25:30 2014 -0400 - - [indic-table] Black-list Thai, Lao, and Tibetan - - We don't need Indic table for those. - - src/gen-indic-table.py | 3 ++ - src/hb-ot-shape-complex-indic-table.cc | 94 +++++++--------------------------- - 2 files changed, 21 insertions(+), 76 deletions(-) - -commit 65ac2dae4f284f563b2dc476a21e2b5a48124de8 -Author: Behdad Esfahbod -Date: Fri Jun 20 15:12:49 2014 -0400 - - [indic-table] Speed up lookup - - src/gen-indic-table.py | 22 +++++++++--- - src/hb-ot-shape-complex-indic-table.cc | 61 +++++++++++++++++++++++----------- - 2 files changed, 59 insertions(+), 24 deletions(-) - -commit 64442a3f4c5c7be08893454742cad6bfe73cb8d7 -Author: Behdad Esfahbod -Date: Fri Jun 20 14:58:53 2014 -0400 - - [indic-table] Fix compiler warning - - src/gen-indic-table.py | 4 +--- - src/hb-ot-shape-complex-indic-table.cc | 4 +--- - 2 files changed, 2 insertions(+), 6 deletions(-) - -commit 0436e1d50527497ebe5053b51a34ce6590276249 -Author: Behdad Esfahbod -Date: Fri Jun 20 14:56:22 2014 -0400 - - [indic-table] Make table more compact by not covering full blocks - - -#define indic_offset_total 4416 - +#define indic_offset_total 3816 - - -}; /* Table occupancy: 60% */ - +}; /* Table occupancy: 69% */ - - src/gen-indic-table.py | 24 ++++-- - src/hb-ot-shape-complex-indic-table.cc | 150 +++++++++------------------------ - 2 files changed, 57 insertions(+), 117 deletions(-) - -commit 190a251479b3cfc68871ff1daf9a9d1abe3f86e6 -Author: Behdad Esfahbod -Date: Fri Jun 20 14:41:39 2014 -0400 - - [indic-table] Remove block range from data table - - No functional change. - - src/gen-indic-table.py | 4 +- - src/hb-ot-shape-complex-indic-table.cc | 102 ++++++++++++++++----------------- - 2 files changed, 54 insertions(+), 52 deletions(-) - -commit 2b051c6057920c564c13c5d6a3e6dca93446fa12 -Author: Behdad Esfahbod -Date: Fri Jun 20 14:09:57 2014 -0400 - - Rename HB_VERSION_CHECK and hb_version_check to "atleast" - - HB_VERSION_CHECK's comparison was originally written wrongly - by mistake. When API tests were written, they were also written - wrongly to pass given the wrong implementation... Sigh. - - Given the purpose of this API, there's no point in fixing it - without renaming it. As such, rename. - - API changes: - - HB_VERSION_CHECK -> HB_VERSION_ATLEAST - hb_version_check -> hb_version_atleast - - docs/reference/harfbuzz-sections.txt | 4 ++-- - src/hb-common.cc | 10 +++++----- - src/hb-version.h.in | 10 +++++----- - test/api/test-version.c | 29 +++++++++++++++-------------- - 4 files changed, 27 insertions(+), 26 deletions(-) - -commit cabfa538ed4b1355326fa8de05f7209dda1c1c7a -Author: Behdad Esfahbod -Date: Fri Jun 20 13:51:21 2014 -0400 - - Adjust unused doc symbols - - docs/reference/harfbuzz-sections.txt | 19 +++++++++++++++++-- - src/hb-ot-shape.h | 21 ++++++++++----------- - 2 files changed, 27 insertions(+), 13 deletions(-) - -commit da132937989acb4d8ca9bd41c79f98750e7dda30 -Author: Jonathan Kew -Date: Sun Apr 27 14:05:24 2014 +0100 - - Rework handling of requiredFeature to solve problem with rlig in arial.ttf from winxp - - https://bugzilla.mozilla.org/show_bug.cgi?id=986802 - Fixes https://github.com/behdad/harfbuzz/pull/39 - - API Change: - - -hb_ot_layout_language_get_required_feature_index - +hb_ot_layout_language_get_required_feature - - New API takes an extra pointer argument. Pass NULL in to get - behavior of previous API. - - Reworked by behdad - - src/hb-ot-layout-gsubgpos-private.hh | 4 +-- - src/hb-ot-layout.cc | 29 ++++++++++++--------- - src/hb-ot-layout.h | 11 ++++---- - src/hb-ot-map.cc | 50 ++++++++++++++++++++++++++---------- - src/main.cc | 4 +-- - 5 files changed, 64 insertions(+), 34 deletions(-) - -commit df554af99db390e42d378983bb3fcf583477a1d7 -Author: Behdad Esfahbod -Date: Thu Jun 19 15:39:18 2014 -0400 - - Rename search() to bsearch() and lsearch() - - Such that the complexity of the algorithm used is clear at - call site. - - src/hb-open-type-private.hh | 4 ++-- - src/hb-ot-cmap-table.hh | 14 +++++++------- - src/hb-ot-layout-common-private.hh | 9 +++++---- - 3 files changed, 14 insertions(+), 13 deletions(-) - -commit fb8cc86ff99c08064ac58a559bb66cc340693b92 -Author: Behdad Esfahbod -Date: Thu Jun 19 15:30:18 2014 -0400 - - Rename sort() to qsort() - - In an effort to make the algorithm used clear. - - src/hb-coretext.cc | 4 ++-- - src/hb-ot-map.cc | 4 ++-- - src/hb-private.hh | 8 ++++---- - src/hb-uniscribe.cc | 4 ++-- - 4 files changed, 10 insertions(+), 10 deletions(-) - -commit 577ca4814314c374824cac736996b9cdd4f9d11f -Author: Behdad Esfahbod -Date: Wed Jun 18 12:29:23 2014 -0400 - - [unicode7] Update list of Default_Ignorable codepoints - - src/hb-unicode-private.hh | 66 +++++++++++++++++++++-------------------------- - 1 file changed, 30 insertions(+), 36 deletions(-) - -commit 7cfee3827636f0dff7df5c8975a4fadd1b4bfbd5 -Author: Behdad Esfahbod -Date: Mon Apr 28 15:09:30 2014 -0700 - - [unicode7] Route Manichaean and Psalter Pahlavi through Arabic shaper - - Still needs update to joining table to fully work. - - src/hb-ot-shape-complex-private.hh | 4 ++++ - 1 file changed, 4 insertions(+) - -commit a4a7899cd93fb9d1bc2163a4bbabfa733ee5bd52 -Author: Behdad Esfahbod -Date: Mon Apr 28 15:06:42 2014 -0700 - - [unicode7] Mark right-to-left scripts - - src/hb-common.cc | 8 ++++++++ - 1 file changed, 8 insertions(+) - -commit 62587bfc5178a447ef66d88eab7412a7efe84692 -Author: Behdad Esfahbod -Date: Mon Apr 28 15:07:21 2014 -0700 - - [unicode7] Declare Unicode 7 scripts - - src/hb-common.h | 21 +++++++++------------ - 1 file changed, 9 insertions(+), 12 deletions(-) - -commit dc61294aa93d36d0c5d187d4a692560a7cb46444 -Author: Behdad Esfahbod -Date: Mon Apr 28 14:58:28 2014 -0700 - - [unicode7] Add missing ISO 15924 tags - - src/hb-common.h | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 7526373e70bc4c2e2072da36babf9399fcf483b8 -Author: Behdad Esfahbod -Date: Tue Jun 17 11:45:26 2014 -0400 - - [coretext] Remove unused var - - src/hb-coretext.cc | 2 -- - 1 file changed, 2 deletions(-) - -commit 798e4185bc71b1a63528e6b0af236d4c964ec607 -Author: Jonathan Kew -Date: Tue Jun 10 13:10:30 2014 +0100 - - When zeroing mark widths for LTR, also adjust offset... - - ...so that they overstrike preceding glyph. - - https://github.com/behdad/harfbuzz/pull/43 - - src/hb-ot-shape.cc | 50 +++++++++++++++++++++++++++++++++++++++----------- - 1 file changed, 39 insertions(+), 11 deletions(-) - -commit 80f7405a5208f88b8615aa4ce4c54ffeb16f04f8 -Author: Jonathan Kew -Date: Tue Jun 10 13:10:02 2014 +0100 - - [Thai] set the correct general category on Nikhahit when decomposing Sara-Am. - - src/hb-ot-shape-complex-thai.cc | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -commit 1d634cbb4b0338e1c2841127a72c5fac3a2a5ca1 -Author: Behdad Esfahbod -Date: Fri Jun 6 17:55:02 2014 -0400 - - Fix base-position when 'pref' is NOT formed - - If pre-base reordering Ra is NOT formed (or formed and then - broken up), we should consider that Ra as base. This is - observable when there's a left matra or dotreph that positions - before base. - - Now, it might be that we shouldn't do this if the Ra happend - to form a below form. We can't quite deduce that right now... - - Micro test added. Also at: - - https://code.google.com/a/google.com/p/noto-alpha/issues/detail?id=186#c29 - - src/hb-ot-shape-complex-indic.cc | 28 +++++++++++++++++++-- - test/shaping/fonts/sha1sum/MANIFEST | 5 ++++ - .../e207635780b42f898d58654b65098763e340f5c7.ttf | Bin 0 -> 3000 bytes - test/shaping/tests/indic-pref-blocking.tests | 3 ++- - 4 files changed, 33 insertions(+), 3 deletions(-) - -commit 04dc52fa15f5b7f9eb5f448ea43e7ef1b2269e88 -Author: Behdad Esfahbod -Date: Fri Jun 6 17:28:38 2014 -0400 - - [indic] Recover OT_H undergone ligation and multiplication - - Sometimes font designers form half/pref/etc consonant forms - unconditionally and then undo that conditionally. Try to - recover the OT_H classification in those cases. - - No test number changes expected. - - src/hb-ot-layout-private.hh | 8 ++++++++ - src/hb-ot-shape-complex-indic.cc | 21 +++++++++++++++++++++ - 2 files changed, 29 insertions(+) - -commit 39c8201f8e361e8c0f23f07bf20124ccadc6086c -Author: Behdad Esfahbod -Date: Fri Jun 6 17:19:35 2014 -0400 - - [indic] Improve base re-finding - - No test numbers change. - - src/hb-ot-shape-complex-indic.cc | 5 ++--- - 1 file changed, 2 insertions(+), 3 deletions(-) - -commit c04d5f0dd24d0ed9560fb9aebb5561ce946743c3 -Author: Behdad Esfahbod -Date: Fri Jun 6 17:02:39 2014 -0400 - - [indic] Minor - - src/hb-ot-shape-complex-indic.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 824d00dce483d0f4030c0cac253f994810e10f32 -Author: Behdad Esfahbod -Date: Mon Jun 9 14:17:33 2014 -0400 - - Fix commit 3f38c1137b6219a646da141b08463ffa922d4e35 - - Previous commit was not compiling with clang. - - configure.ac | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 3f38c1137b6219a646da141b08463ffa922d4e35 -Author: Behdad Esfahbod -Date: Fri Jun 6 16:03:40 2014 -0400 - - Don't use -mstructure-size-boundary=8 on clang arm - - As in building for Android / iPhone. Only set it if - struct{char} alignment is not 1. - - NOT tested on an actual Arm architecture. Guess we'll know - when this makes it to people's build bots. - - configure.ac | 7 +++++-- - 1 file changed, 5 insertions(+), 2 deletions(-) - -commit 0ff74b09d2ccf7a9ea0f0b463d8b6d819c86c837 -Author: Behdad Esfahbod -Date: Thu Jun 5 21:55:23 2014 -0400 - - Add missing test file. Oops - - test/shaping/tests/indic-pref-blocking.tests | 1 + - 1 file changed, 1 insertion(+) - -commit 832a6f99b34f334b1e82b8e3a7ad137e823d203c -Author: Behdad Esfahbod -Date: Wed Jun 4 16:57:42 2014 -0400 - - [indic] Don't reorder reph/pref if ligature was expanded - - Normally if you want to, say, conditionally prevent a 'pref', you - would use blocking contextual matching. Some designers instead - form the 'pref' form, then undo it in context. To detect that - we now also remember glyphs that went through MultipleSubst. - - In the only place that this is used, Uniscribe seems to only care - about the "last" transformation between Ligature and Multiple - substitions. Ie. if you ligate, expand, and ligate again, it - moves the pref, but if you ligate and expand it doesn't. That's - why we clear the MULTIPLIED bit when setting LIGATED. - - Micro-test added. Test: U+0D2F,0D4D,0D30 with font from: - - [1] - https://code.google.com/a/google.com/p/noto-alpha/issues/detail?id=186#c29 - - src/hb-ot-layout-gsub-table.hh | 2 +- - src/hb-ot-layout-gsubgpos-private.hh | 20 ++++++++++++++++---- - src/hb-ot-layout-private.hh | 16 +++++++++++++++- - src/hb-ot-shape-complex-indic.cc | 4 ++-- - test/shaping/Makefile.am | 5 ++++- - .../226bc2deab3846f1a682085f70c67d0421014144.ttf | Bin 0 -> 2828 bytes - test/shaping/tests/MANIFEST | 1 + - 7 files changed, 39 insertions(+), 9 deletions(-) - -commit b5be2317201774c84470167767ad83c8637cad5b -Author: Behdad Esfahbod -Date: Thu Jun 5 19:00:22 2014 -0400 - - [gsub] Adjust single-length ligature subst to act like single subst - - src/hb-ot-layout-gsub-table.hh | 8 ++++++++ - 1 file changed, 8 insertions(+) - -commit aae69451dfbf2e3671c555c234f788c194302818 -Author: Behdad Esfahbod -Date: Thu Jun 5 18:54:44 2014 -0400 - - [gsub] Minor shuffling - - src/hb-ot-layout-gsub-table.hh | 29 ++++++++++++++++------------- - 1 file changed, 16 insertions(+), 13 deletions(-) - -commit b6b304f12be917b7449b3ac9409069fcd4a27d95 -Author: Behdad Esfahbod -Date: Thu Jun 5 17:12:54 2014 -0400 - - [ot] Add TODO re zero-len MultipleSubst sequences - - src/hb-ot-layout-gsub-table.hh | 9 +++++++++ - src/hb-ot-layout-gsubgpos-private.hh | 4 +++- - 2 files changed, 12 insertions(+), 1 deletion(-) - -commit f1a72fe7bf863535ec09b559cc0bd878fd0799f2 -Author: Behdad Esfahbod -Date: Wed Jun 4 19:00:29 2014 -0400 - - [ot-font] Fix cmap EncodingRecord cmp order - - src/hb-ot-cmap-table.hh | 14 +++++++++----- - 1 file changed, 9 insertions(+), 5 deletions(-) - -commit ce34f0b07e5324ed52e6e2c43000c2b09ee010d4 -Author: Behdad Esfahbod -Date: Wed Jun 4 18:57:46 2014 -0400 - - [ot-font] Use binary search for format12 cmap subtable - - src/hb-open-type-private.hh | 4 ++++ - src/hb-ot-cmap-table.hh | 2 +- - 2 files changed, 5 insertions(+), 1 deletion(-) - -commit 257d1adfa1b3422c511c55e641840a6e31ec6008 -Author: Behdad Esfahbod -Date: Wed Jun 4 18:47:55 2014 -0400 - - [ot-font] Work around broken cmap subtable format 4 length - - Roboto was hitting this. FreeType also has pretty much the - same code for this, in ttcmap.c:tt_cmap4_validate(): - - /* in certain fonts, the `length' field is invalid and goes */ - /* out of bound. We try to correct this here... */ - if ( table + length > valid->limit ) - { - if ( valid->level >= FT_VALIDATE_TIGHT ) - FT_INVALID_TOO_SHORT; - - length = (FT_UInt)( valid->limit - table ); - } - - src/hb-ot-cmap-table.hh | 22 ++++++++++++++++++---- - 1 file changed, 18 insertions(+), 4 deletions(-) - -commit 51f563579b94e1ee23ced9bbcc7dd3341535ce72 -Author: Behdad Esfahbod -Date: Wed Jun 4 18:42:32 2014 -0400 - - Move try_set to sanitize context - - src/hb-open-type-private.hh | 22 ++++++++++------------ - src/hb-ot-layout-common-private.hh | 2 +- - 2 files changed, 11 insertions(+), 13 deletions(-) - -commit 500737e8e16dce5248aff394899bb3761a9c3bbf -Author: Behdad Esfahbod -Date: Wed Jun 4 18:17:29 2014 -0400 - - [ot-font] Don't select a Null cmap subtable - - Can happen either in broken fonts, or as a result of sanitize(). - - src/hb-ot-cmap-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit dac86026a6bae5a8a03cfe885bf93f32e5f48614 -Author: Behdad Esfahbod -Date: Tue Jun 3 17:57:00 2014 -0400 - - Fix some cppcheck warnings - - Bug 77800 - cppcheck reports - - src/hb-common.cc | 4 +++- - src/hb-ot-layout-common-private.hh | 2 +- - src/hb-private.hh | 2 +- - src/hb-shape-plan.cc | 4 ++-- - 4 files changed, 7 insertions(+), 5 deletions(-) - -commit c306410cab368a27c1941a2625d3b475edeaac04 -Author: Behdad Esfahbod -Date: Tue Jun 3 16:59:41 2014 -0400 - - Bug 77732 - Fix unused typedef warning for ASSERT_STATIC with GCC 4.8 - - src/hb-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit ae2b854eab7f1c48e56751c987a714c2c18d6eb6 -Author: Behdad Esfahbod -Date: Tue Jun 3 16:59:09 2014 -0400 - - Move code around - - src/hb-private.hh | 134 ++++++++++++++++++++++++++---------------------------- - 1 file changed, 65 insertions(+), 69 deletions(-) - -commit 17c3b809f42aec34d83dba2e6229ad85804bebae -Author: Behdad Esfahbod -Date: Mon Jun 2 15:08:18 2014 -0400 - - [indic] Treat U+A8E0..A8F1 as OT_A instead of OT_VD - - Apparently they can intermix with other OT_A. - - Test: U+0915,A8E2,1CD0 - - src/hb-ot-shape-complex-indic.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 6ae13f257c3986517c097fa666ab9f58bdc918b5 -Author: Behdad Esfahbod -Date: Fri May 30 17:38:14 2014 -0400 - - [graphite2] Fix cluster mapping - - Patch from Martin Hosken. I expect this to fix the following bugs: - - https://bugs.freedesktop.org/show_bug.cgi?id=75076 - https://bugzilla.gnome.org/show_bug.cgi?id=723582 - https://bugzilla.redhat.com/show_bug.cgi?id=998812 - - src/hb-graphite2.cc | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -commit 5875ad9c467b39d00ad4d98fd425179c701e6fd0 -Author: Behdad Esfahbod -Date: Thu May 29 15:48:16 2014 -0400 - - 0.9.29 - - NEWS | 12 ++++++++++++ - configure.ac | 2 +- - 2 files changed, 13 insertions(+), 1 deletion(-) - -commit 7977ca17aac34b9ab10622928bed8afa2177f16a -Author: Behdad Esfahbod -Date: Thu May 29 15:34:26 2014 -0400 - - [indic] Allow decimal and Brahmi digits as placeholders - - Tests: U+0967,0951 U+0031,093F - - src/hb-ot-shape-complex-indic.cc | 4 ++++ - .../texts/in-tree/shaper-indic/indic/script-devanagari/misc/misc.txt | 2 ++ - 2 files changed, 6 insertions(+) - -commit e8b5d64039614ecce472eda1a7a603736da25d86 -Author: Behdad Esfahbod -Date: Thu May 29 15:18:27 2014 -0400 - - [indic] Do NOT allow reph formation on placeholders - - Only allow it on DOTTED CIRCLE. No effect on test numbers. - - Test: U+0930,094D,00A0 - - src/hb-ot-shape-complex-indic-machine.rl | 2 +- - .../in-tree/shaper-indic/indic/script-devanagari/misc/dottedcircle.txt | 1 + - 2 files changed, 2 insertions(+), 1 deletion(-) - -commit 52b562a6a058131c0103aaa5404d053e6465bb23 -Author: Behdad Esfahbod -Date: Tue May 27 18:18:23 2014 -0400 - - [indic] Clean up a bit - - No functional change intended. - - src/hb-ot-shape-complex-indic.cc | 17 +++++------------ - 1 file changed, 5 insertions(+), 12 deletions(-) - -commit 3bf652b90783e8244c153739585d95dc4162efb4 -Author: Behdad Esfahbod -Date: Tue May 27 18:07:26 2014 -0400 - - [indic] Treat U+002D and U+2010..2014 as placeholders - - src/hb-ot-shape-complex-indic.cc | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit e0de95f40244924cb8f9f7abca7f53117044a0eb -Author: Behdad Esfahbod -Date: Tue May 27 17:58:34 2014 -0400 - - [indic] Treat U+00D7 MULTIPLICATION SIGN as placeholder - - src/hb-ot-shape-complex-indic.cc | 1 + - 1 file changed, 1 insertion(+) - -commit cf78dd483cbe1759a8ecb731879e041a53ba9bb3 -Author: Behdad Esfahbod -Date: Tue May 27 17:53:37 2014 -0400 - - [indic/myanmar] Rename OT_NBSP to OT_PLACEHOLDER - - src/hb-ot-shape-complex-indic-machine.rl | 4 ++-- - src/hb-ot-shape-complex-indic-private.hh | 6 +++--- - src/hb-ot-shape-complex-indic.cc | 4 ++-- - src/hb-ot-shape-complex-myanmar.cc | 2 +- - 4 files changed, 8 insertions(+), 8 deletions(-) - -commit 186ece94c8838e95db240d3e7c3ce415da6be81e -Author: Behdad Esfahbod -Date: Tue May 27 17:49:45 2014 -0400 - - [myanmar] Use OT_NBSP instead of OT_DOTTEDCIRCLE for OT_GB - - No functional change. - - src/hb-ot-shape-complex-myanmar-machine.rl | 2 +- - src/hb-ot-shape-complex-myanmar.cc | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit cf71d28c380819cb0f7f0f22f6ff9e4aa881a2b8 -Author: Behdad Esfahbod -Date: Tue May 27 17:47:43 2014 -0400 - - [indic/myanmar] Refactor a few macros - - src/hb-ot-shape-complex-indic-private.hh | 12 ++++++++++++ - src/hb-ot-shape-complex-indic.cc | 10 ---------- - src/hb-ot-shape-complex-myanmar.cc | 6 ------ - 3 files changed, 12 insertions(+), 16 deletions(-) - -commit 2307268e01d27a999b56a2f573dfcee8b2a7949b -Author: Behdad Esfahbod -Date: Tue May 27 17:39:01 2014 -0400 - - [indic] Treat U+0A72..0A73 like regular consonants - - Unicode 6.x IndicSyllableCategory categorizes them as - placeholders, but they can subjoin. - - src/hb-ot-shape-complex-indic.cc | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit e9b2a4cfe593bdbe9288571635ba26ac42ede987 -Author: Behdad Esfahbod -Date: Fri May 23 15:49:10 2014 -0400 - - [indic] Support U+1CED - - src/hb-ot-shape-complex-indic.cc | 5 +++++ - 1 file changed, 5 insertions(+) - -commit d19f8e85702a1e473efe2f02027984dcc127602a -Author: Behdad Esfahbod -Date: Fri May 23 15:45:50 2014 -0400 - - [indic] Support U+A8F2..A8F7,1CE9..1CEC,1CEE..1CF1 - - src/hb-ot-shape-complex-indic.cc | 8 ++++++++ - 1 file changed, 8 insertions(+) - -commit ddbdfcbf1c10eed0a7b81b29fee99f1bd22113e5 -Author: Behdad Esfahbod -Date: Fri May 23 15:39:55 2014 -0400 - - [indic] Simplify grammar - - No functional change. - - src/hb-ot-shape-complex-indic-machine.rl | 7 +++---- - 1 file changed, 3 insertions(+), 4 deletions(-) - -commit 4e9b1f662b23966e67c548b86afeff2bec9b0eb7 -Author: Behdad Esfahbod -Date: Fri May 23 15:38:42 2014 -0400 - - [indic] Always start new syllable for Avagraha - - In fact, the previous grammar was ambigious. No functional - change. - - src/hb-ot-shape-complex-indic-machine.rl | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 9f9bd9bf31161660214b8b39a78cdafbb79db1be -Author: Behdad Esfahbod -Date: Fri May 23 15:33:13 2014 -0400 - - [indic] Rename avagraha cluster to symbol cluster - - In anticipation of adding more characters to that class of clusters. - - src/hb-ot-shape-complex-indic-machine.rl | 10 +++++----- - src/hb-ot-shape-complex-indic-private.hh | 4 ++-- - src/hb-ot-shape-complex-indic.cc | 14 +++++++------- - 3 files changed, 14 insertions(+), 14 deletions(-) - -commit a498565cedf0441ae723c5e5969f637d792a15e7 -Author: Behdad Esfahbod -Date: Thu May 22 19:39:56 2014 -0400 - - [indic] Support U+1CF2,U+1CF3 - - src/hb-ot-shape-complex-indic.cc | 6 ++++++ - 1 file changed, 6 insertions(+) - -commit ecb98babbaa065940b40ca8954a454f0e2cdcff0 -Author: Behdad Esfahbod -Date: Thu May 22 19:36:21 2014 -0400 - - [indic] Support U+1CE2..U+1CE8 - - src/hb-ot-shape-complex-indic.cc | 4 ++++ - 1 file changed, 4 insertions(+) - -commit 37bf2c9224e32fdc99c20158c6dc0a4602ec1292 -Author: Behdad Esfahbod -Date: Thu May 22 19:35:17 2014 -0400 - - Minor - - src/hb-ot-shape-complex-indic.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 131e17ff9ae792cafa7a500043acb373802ee872 -Author: Behdad Esfahbod -Date: Thu May 22 19:32:51 2014 -0400 - - [indic] Support U+1CF5,1CF6 - - src/hb-ot-shape-complex-indic.cc | 3 +++ - 1 file changed, 3 insertions(+) - -commit 72ead0cc72dac4d1c985ead065bb820f93f14a1d -Author: Behdad Esfahbod -Date: Thu May 22 19:12:10 2014 -0400 - - [indic] Treat U+1CE1 as a tone-mark too - - It's spacing, but otherwise the same as the other ones. - - src/hb-ot-shape-complex-indic.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit e848bfae7c975a6fae434daf8e3db4d69914df9f -Author: Behdad Esfahbod -Date: Thu May 22 18:50:34 2014 -0400 - - [indic] Recategorize U+A8E0..A8F1 as OT_VD - - Up to two of them come after all OT_A characters. - - src/hb-ot-shape-complex-indic-machine.rl | 2 +- - src/hb-ot-shape-complex-indic.cc | 10 ++++++---- - 2 files changed, 7 insertions(+), 5 deletions(-) - -commit c519536c34c842304da558dd4a9e3844fc261b20 -Author: Behdad Esfahbod -Date: Thu May 22 18:43:14 2014 -0400 - - [indic] Allow up to three tone marks - - According to Roozbeh, there are valid combinations in Unicode - proposals for up to three. Previously we were allowing up to two. - - src/hb-ot-shape-complex-indic-machine.rl | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit c11fc6833980fce6d70c5ae0c6623de97a3eb30a -Author: Behdad Esfahbod -Date: Thu May 22 18:41:49 2014 -0400 - - [indic] Support more extended Devanagari tone marks - - Also adjust U+0953,0954 handling. - - src/hb-ot-shape-complex-indic.cc | 18 ++++++++++++------ - 1 file changed, 12 insertions(+), 6 deletions(-) - -commit 26c836e53d55a2e2d4c17fd9ea1884eec33ce015 -Author: Behdad Esfahbod -Date: Wed May 21 18:35:48 2014 -0400 - - [indic] Handle "Cantillation marks for the Samaveda" - - src/hb-ot-shape-complex-indic.cc | 3 +++ - 1 file changed, 3 insertions(+) - -commit 29531128f2f4342d537817746863705df80efe4b -Author: Behdad Esfahbod -Date: Thu May 15 14:04:02 2014 -0600 - - [indic] Improve reph formation of Sinhala and Telugu - - Sinhala and Telugu use "explicit" reph. That is, the reph is formed by - a Ra,H,ZWJ sequence. Previously, upon detecting this sequence, we were - checking checking whether the 'rphf' feature applies to the first two - glyphs of the sequence. This is how the Microsoft fonts are designed. - However, testing with Noto shows that apparently Uniscribe also forms - the reph if the lookup ligates all three glyphs. So, try both - sequences. - - Doesn't affect test results for Sinhala or Telugu. - - https://code.google.com/a/google.com/p/noto-alpha/issues/detail?id=232 - - src/hb-ot-shape-complex-indic.cc | 9 +++++++-- - 1 file changed, 7 insertions(+), 2 deletions(-) - -commit 8c703f13bf8b4b276093b1c42cd3759e34b6787f -Author: Oleg Oshmyan -Date: Wed May 14 22:10:09 2014 +0100 - - Fix build with --coretext on older OS X - - Fixes https://github.com/behdad/harfbuzz/pull/40 - - src/hb-coretext.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 439b05867c0856a81fa8f9bea3a7465b4b4bdd91 -Author: Behdad Esfahbod -Date: Wed May 14 16:44:39 2014 -0600 - - [myanmar] Allow MedialYa+Asat in the grammar - - The grammar in the OT spec, and the existing Windows implementation - seem to be confused around where to allow Asat around the medial - consonants. - - The previous grammar for medial group was allowing an Asat after - the medial group only if there was a medial Wa or Ha, but not if - there was only a medial Ya. This doesn't make sense to me and - sounds reversed, as both medial Wa and Ha are below marks while - Asat is an above mark. An Asat can come before the medial group - already (in fact, multiple ones can. Why?!). The medial Ya - however is a spacing mark and according to Roozbeh it's valid - to want an Asat on the medial Ya instead of the base, so it looks - to me like we want to allow an Asat after the medial group if - there *was* a Ya but not if there wasn't any. Not wanting to - produce dotted-circle where Windows is not, this commit changes - the grammar to allow one Asat after the medial group no matter - what comes in the group. - - Test: U+1002,103A,103B vs U+1002,103B,103A - - src/hb-ot-shape-complex-myanmar-machine.rl | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 0a017ce169d791c9aea56671fe5837961e0a3c09 -Author: Behdad Esfahbod -Date: Wed May 14 16:44:16 2014 -0600 - - Add tests for Myanmar Asat+MedialYa and MedialYa+Asat sequences - - One of them currently produces dotted-circle. Fix and detailed - message coming. - - test/shaping/texts/in-tree/shaper-myanmar/script-myanmar/misc/misc.txt | 2 ++ - 1 file changed, 2 insertions(+) - -commit c95587618c88d187be64f923033dae151cf820be -Author: Behdad Esfahbod -Date: Wed May 14 00:42:18 2014 -0400 - - [ot] Minor note re cmap subtable format 2 and 8 - - src/hb-ot-cmap-table.hh | 2 ++ - 1 file changed, 2 insertions(+) - -commit b7878cd58ea9a67236e1e0228c35b5b03ec4ff9c -Author: Behdad Esfahbod -Date: Tue May 13 21:47:51 2014 -0400 - - [ot] Implement cmap subtable format 0 - - src/hb-open-type-private.hh | 3 ++- - src/hb-ot-cmap-table.hh | 32 ++++++++++++++++++++++++++++++++ - 2 files changed, 34 insertions(+), 1 deletion(-) - -commit ca7b77431d1e0aaa803722be8be85a368a385f47 -Author: Behdad Esfahbod -Date: Tue May 13 21:26:34 2014 -0400 - - [ot] Factor out code between cmap sutable format 12 and 13 - - src/hb-ot-cmap-table.hh | 43 +++++++++++++------------------------------ - 1 file changed, 13 insertions(+), 30 deletions(-) - -commit 94759e8219ed08392573bae948a8135e16b8e0d0 -Author: Behdad Esfahbod -Date: Tue May 13 21:17:28 2014 -0400 - - [ot] Factor out code between cmap subtable format 6 and 10 - - src/hb-ot-cmap-table.hh | 49 ++++++++++--------------------------------------- - 1 file changed, 10 insertions(+), 39 deletions(-) - -commit 1a8ffc512987c1ff1b4896549f80b145c85454a8 -Author: Behdad Esfahbod -Date: Tue May 13 21:06:39 2014 -0400 - - Minor - - src/hb-blob.h | 5 ++--- - 1 file changed, 2 insertions(+), 3 deletions(-) - -commit 91bbfca87527fa14d6ebec86b087f2a989381872 -Author: Behdad Esfahbod -Date: Mon May 12 18:19:29 2014 -0400 - - [ot] Implement cmap subtable formats 6 and 10 - - src/hb-ot-cmap-table.hh | 77 +++++++++++++++++++++++++++++++++++++++++++++++-- - 1 file changed, 74 insertions(+), 3 deletions(-) - -commit d294a2cb165c4f20daa5624969067c51eb9aef58 -Author: Behdad Esfahbod -Date: Mon May 12 17:58:31 2014 -0400 - - [ot] Implement cmap subtable format 13 - - src/hb-ot-cmap-table.hh | 47 +++++++++++++++++++++++++++++++++++++++++------ - 1 file changed, 41 insertions(+), 6 deletions(-) - -commit 0d75793fae95ed9f6b8522ae3af4fcdf397d8c36 -Author: Behdad Esfahbod -Date: Mon May 12 17:51:15 2014 -0400 - - [ot] Implement cmap subtable format 12 - - src/hb-ot-cmap-table.hh | 63 +++++++++++++++++++++++++++++++++++++++++++++++-- - src/hb-ot-font.cc | 5 ++++ - 2 files changed, 66 insertions(+), 2 deletions(-) - -commit 3608a6847e7b7eb4206df049158513a085810afd -Author: Behdad Esfahbod -Date: Mon May 12 13:46:29 2014 -0400 - - [ot] Hook up cmap table to hb_ot_font_funcs() - - src/hb-ot-cmap-table.hh | 10 +++++++--- - src/hb-ot-font.cc | 33 +++++++++++++++++++-------------- - 2 files changed, 26 insertions(+), 17 deletions(-) - -commit c8a47452993b9dee6854bfc866aca4a20142696f -Author: Behdad Esfahbod -Date: Fri May 9 19:55:51 2014 -0400 - - [ot] Implement cmap subtable format 4 - - src/hb-ot-cmap-table.hh | 52 +++++++++++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 52 insertions(+) - -commit 4719621f20dfd6a0377c650a7b4df223c18dc143 -Author: Behdad Esfahbod -Date: Fri May 9 16:09:11 2014 -0400 - - Minor - - src/hb-open-type-private.hh | 1 - - 1 file changed, 1 deletion(-) - -commit 41ca1fbebf61cf26e1e0e4b11f4a5b52fb7d88a9 -Author: Behdad Esfahbod -Date: Fri May 9 15:35:56 2014 -0400 - - [ot] Start implementing cmap table - - src/Makefile.am | 1 + - src/hb-ot-cmap-table.hh | 171 ++++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-ot-font.cc | 1 + - 3 files changed, 173 insertions(+) - -commit c7074b8798048324cb8850c55908ce77fc33d11e -Author: Behdad Esfahbod -Date: Thu May 8 18:24:31 2014 -0400 - - [otlayout] Add GenericArrayOf::search() - - src/hb-open-type-private.hh | 11 +++++++++++ - 1 file changed, 11 insertions(+) - -commit 40a479797add42fa42b78d4267920ef75bfb6b9a -Author: Behdad Esfahbod -Date: Thu May 8 18:21:04 2014 -0400 - - [otlayout] Add GenericSortedArrayOf - - src/hb-open-type-private.hh | 10 +++++++--- - 1 file changed, 7 insertions(+), 3 deletions(-) - -commit 0ddecabc6de205b121bec31fbf670f37cc9454ef -Author: Behdad Esfahbod -Date: Thu May 1 16:01:40 2014 -0700 - - [main] Minor improvement to output - - src/main.cc | 12 +++++++----- - 1 file changed, 7 insertions(+), 5 deletions(-) - -commit 79ecdc3f9525212053d2bc88a5541c41697159da -Author: Behdad Esfahbod -Date: Mon Apr 28 14:24:23 2014 -0700 - - 0.9.28 - - NEWS | 13 +++++++++++++ - configure.ac | 2 +- - 2 files changed, 14 insertions(+), 1 deletion(-) - -commit 6faff8e4132197ba06f0e685b82efe35b546cf64 -Author: Behdad Esfahbod -Date: Mon Apr 28 14:29:39 2014 -0700 - - Add static storage classifier to inline functions - - Before we were just relying on the compiler inlining them and not - leaving a trace in our public API. Try to fix. Hopefully not - breaking anyone's build. - - src/hb-open-type-private.hh | 22 +++++++++++----------- - src/hb-ot-layout-gpos-table.hh | 4 ++-- - src/hb-ot-layout-gsub-table.hh | 6 +++--- - src/hb-ot-layout-private.hh | 36 ++++++++++++++++++------------------ - src/hb-ot-map-private.hh | 10 +++++----- - src/hb-private.hh | 2 +- - 6 files changed, 40 insertions(+), 40 deletions(-) - -commit 9c9411839bb89d0a1a83120af0982c60e0e393d9 -Author: Behdad Esfahbod -Date: Mon Apr 28 12:38:25 2014 -0700 - - [tibetan] Reorder PADMA sign to occur after other below marks - - Based on suggestion from Andrew Glass. - - Test: U+0F40,0FC6,0F83 - - src/hb-unicode-private.hh | 4 ++++ - 1 file changed, 4 insertions(+) - -commit 659cd3c5b470ff9724ce5e53fedd1fea3e7512c4 -Author: Behdad Esfahbod -Date: Mon Apr 28 12:43:42 2014 -0700 - - [test] Add test case for Tibetan sign PADMA - - Currently fails. - - test/shaping/texts/in-tree/shaper-tibetan/script-tibetan/misc/misc.txt | 1 + - 1 file changed, 1 insertion(+) - -commit ee703bc3ef740c300718fca7a12c050c322dce19 -Author: Behdad Esfahbod -Date: Mon Apr 28 12:43:18 2014 -0700 - - Reshuffle test data - - test/shaping/texts/in-tree/MANIFEST | 3 +++ - test/shaping/texts/in-tree/shaper-default/MANIFEST | 3 --- - .../in-tree/{shaper-default => shaper-hangul}/script-hangul/MANIFEST | 0 - .../{shaper-default => shaper-hangul}/script-hangul/misc/MANIFEST | 0 - .../{shaper-default => shaper-hangul}/script-hangul/misc/misc.txt | 0 - .../in-tree/{shaper-default => shaper-hebrew}/script-hebrew/MANIFEST | 0 - .../{shaper-default => shaper-hebrew}/script-hebrew/misc/MANIFEST | 0 - .../script-hebrew/misc/diacritics.txt | 0 - .../in-tree/{shaper-default => shaper-tibetan}/script-tibetan/MANIFEST | 0 - .../{shaper-default => shaper-tibetan}/script-tibetan/misc/MANIFEST | 0 - .../{shaper-default => shaper-tibetan}/script-tibetan/misc/misc.txt | 0 - 11 files changed, 3 insertions(+), 3 deletions(-) - -commit b082ef373cefb35dd98b5f2f0b677ccc7806f51e -Author: Behdad Esfahbod -Date: Fri Apr 25 11:48:10 2014 -0700 - - Typo - - src/hb-ot-shape-complex-indic.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 828e109c7aac3389cc3b89ea1f13388aefb63804 -Author: Behdad Esfahbod -Date: Fri Apr 18 16:53:34 2014 -0700 - - [indic] Fix-up zero-context matching - - commit b5a0f69e47ace468b06e21cf069a18ddcfcf6064 - Author: Behdad Esfahbod - Date: Thu Oct 17 18:04:23 2013 +0200 - - [indic] Pass zero-context=false to would_substitute for newer scripts - - For scripts without an old/new spec distinction, use zero-context=false. - This changes behavior in Sinhala / Khmer, but doesn't seem to regress. - This will be useful and used in Javanese. - - The *intention* was to change zero-context from true to false for scripts that - don't have old-vs-new specs. However, checking the code, looks like we - essentially change zero-context to always be true; ie. we only changed things - for old-spec, and we broke them. That's what causes this bug: - - https://bugs.freedesktop.org/show_bug.cgi?id=76705 - - The root of the bug is here: - - /* Use zero-context would_substitute() matching for new-spec of the main - * Indic scripts, but not for old-spec or scripts with one spec only. */ - bool zero_context = indic_plan->config->has_old_spec || !indic_plan->is_old_spec; - - Note that is_old_spec itself is: - - indic_plan->is_old_spec = indic_plan->config->has_old_spec && ((plan->map.chosen_script[0] & 0x000000FF) != '2'); - - It's easy to show that zero_context is now always true. What we really meant was: - - bool zero_context = indic_plan->config->has_old_spec && !indic_plan->is_old_spec; - - Ie, "&&" instead of "||". We made this change supposedly to make Javanese - work. But apparently we got it working regardless! So I'm going to fix this - to only change the logic for old-spec and not touch other cases. - - src/hb-ot-shape-complex-indic.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 66c6a48b6ce9dab6375ba1a23d7e450d6974852a -Author: Behdad Esfahbod -Date: Mon Apr 14 15:55:42 2014 -0700 - - Add HB_NO_MERGE_CLUSTERS - - Disables any cluster-merging. Added for testing purposes while - we investigate what kind of API to add for this. - - src/hb-buffer.cc | 8 ++++++++ - 1 file changed, 8 insertions(+) - -commit 897c7b804d6817470a364ba31b1719555b12f751 -Author: Behdad Esfahbod -Date: Thu Apr 10 16:27:13 2014 -0700 - - Add Khmer test for U+17DD - - .../shaper-indic/south-east-asian/script-khmer/misc/other-marks.txt | 1 + - 1 file changed, 1 insertion(+) - -commit 50a00535ccac538bbf93358fd2d2442e4c12542f -Author: Behdad Esfahbod -Date: Thu Apr 10 16:03:29 2014 -0700 - - Require gobject-introspection 1.34.0 - - Fixes https://bugs.freedesktop.org/show_bug.cgi?id=75384 - - configure.ac | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 5fd996c4a4049a75c6d9e964f1a81c00ff191893 -Author: Behdad Esfahbod -Date: Wed Apr 9 16:38:26 2014 -0700 - - Further adjust check-defs and check-symbols for mipsel - - Fixes https://bugs.freedesktop.org/show_bug.cgi?id=74491 - - src/check-defs.sh | 2 +- - src/check-symbols.sh | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit 75ec6d0bc5ca0170c73e4d1099a898d38d8f85c0 -Author: Behdad Esfahbod -Date: Wed Apr 9 16:33:32 2014 -0700 - - Tighten up check-static-inits.sh check - - Fixes https://bugs.freedesktop.org/show_bug.cgi?id=74490 - - src/check-static-inits.sh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 110ec0714a11b9417eed82f7d25b85c9dc7b6df4 -Author: Behdad Esfahbod -Date: Tue Apr 8 17:32:08 2014 -0700 - - Typo - - src/hb-blob.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 0682ddd05c22a400ff5ce97d4ea4b52a18b845ae -Author: Behdad Esfahbod -Date: Tue Apr 8 16:03:35 2014 -0700 - - [indic] Support U+17DD KHMER SIGN ATTHACAN - - As requested by Martin Hosken on the list. - - src/hb-ot-shape-complex-indic.cc | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 05870ed62edd8728d6d732f60d6b7e149d45e6f4 -Author: Primiano Tucci -Date: Wed Apr 2 11:35:27 2014 +0100 - - Use __aarch64__ for 64-bit ARM detection, not __arm64__ - - Many GCC versions don't define __arm64__ - - src/hb-atomic-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 04d894e89795041b2055dc172744a018644f2bca -Author: Behdad Esfahbod -Date: Tue Mar 25 12:11:32 2014 -0700 - - Minor - - src/hb-ot-layout-gsubgpos-private.hh | 1 + - 1 file changed, 1 insertion(+) - -commit 903648437c180c7b039801cdb0672e0f8e14afd4 -Author: Behdad Esfahbod -Date: Mon Mar 24 14:26:36 2014 -0700 - - Start fleshing out builtin font functions - - src/Makefile.am | 3 +- - src/hb-glib.cc | 2 +- - src/hb-icu.cc | 2 +- - src/hb-ot-font.cc | 260 ++++++++++++++++++++++++++++++++++++ - src/{hb-tt-font.cc => hb-ot-font.h} | 56 ++------ - src/hb-ot-hhea-table.hh | 2 +- - src/hb-ot-hmtx-table.hh | 2 +- - src/hb-ot.h | 1 + - util/Makefile.am | 4 +- - util/options.cc | 4 + - 10 files changed, 283 insertions(+), 53 deletions(-) - -commit 343a0e4e747d93eeeb724c5d585f5ba036a0df84 -Author: Behdad Esfahbod -Date: Fri Mar 21 14:37:27 2014 -0700 - - Add "make built-sources" - - src/Makefile.am | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit e9853f33d1f53d4d69ee0fa340ce9225a5ed17ca -Author: Behdad Esfahbod -Date: Fri Mar 21 12:53:08 2014 -0700 - - One more fix for build without gtk-doc - - Fixes https://github.com/behdad/harfbuzz/pull/35 - - autogen.sh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit b96af03c20e46105982b3608b608614403540661 -Author: Konstantin Ritt -Date: Thu Mar 20 16:01:30 2014 +0200 - - Fix build with --coretext on iOS - - On iOS CoreText and CoreGraphics are stand-alone frameworks - - configure.ac | 23 +++++++++++++++++++---- - src/hb-coretext.h | 8 +++++++- - 2 files changed, 26 insertions(+), 5 deletions(-) - -commit ea5e8a02eb83ad19f3009b0008893f77ce113118 -Author: Behdad Esfahbod -Date: Wed Mar 19 15:38:02 2014 -0700 - - [util] Plug minor leak - - util/hb-shape.cc | 6 +++--- - util/helper-cairo.cc | 21 ++++++++++++--------- - util/helper-cairo.hh | 2 +- - util/options.cc | 6 +++++- - util/options.hh | 6 +++--- - 5 files changed, 24 insertions(+), 17 deletions(-) - -commit 09732cc6695b8e41ba6cdcd4058a4f7cad90167a -Author: Behdad Esfahbod -Date: Wed Mar 19 12:00:17 2014 -0700 - - Remove dead warning - - src/hb-unicode.cc | 9 +++++++-- - src/hb-warning.cc | 11 ----------- - 2 files changed, 7 insertions(+), 13 deletions(-) - -commit b934b0f9d1b39fc7a06c812bea3d79ca5424e278 -Author: Behdad Esfahbod -Date: Wed Mar 19 11:52:40 2014 -0700 - - Yet another try to make build without gtk-doc succeed - - autogen.sh | 1 + - docs/reference/Makefile.am | 2 +- - 2 files changed, 2 insertions(+), 1 deletion(-) - -commit a7a5be090dd9cc39605853e8994eb417550939d4 -Author: Behdad Esfahbod -Date: Wed Mar 19 11:39:23 2014 -0700 - - Another try to make gtk-doc optional - - docs/reference/Makefile.am | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit ba8c9d92935ea351970a80d0d3441858ad4cf33f -Author: Dominik Röttsches -Date: Tue Mar 18 14:39:03 2014 +0200 - - 0.9.27 - - NEWS | 16 ++++++++++++++++ - configure.ac | 2 +- - 2 files changed, 17 insertions(+), 1 deletion(-) - -commit a949cd329e49d2c0ad6f1e023f324790d886dafe -Author: Behdad Esfahbod -Date: Sun Mar 16 20:22:42 2014 -0700 - - Don't use "register" storage class specifier - - Fixes warnings. - https://bugzilla.mozilla.org/show_bug.cgi?id=984081 - - src/hb-private.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 0082dbeae6c25a7859960b7e791a540ad04246d9 -Author: jfkthame -Date: Sun Mar 16 08:25:17 2014 +0000 - - wrap definition of free_langs() with HAVE_ATEXIT - - ...to avoid an unused function warning; see mozilla bug https://bugzilla.mozilla.org/show_bug.cgi?id=984081. - - src/hb-common.cc | 2 ++ - 1 file changed, 2 insertions(+) - -commit a9e25e90a4ca05746fda4a598ad698db1d2c5c1a -Author: Behdad Esfahbod -Date: Fri Mar 14 19:55:46 2014 -0700 - - [coretext] Add hb_coretext_face_create() - - Not tested. - - src/hb-coretext.cc | 57 +++++++++++++++++++++++++++++++++++++++++++++--------- - src/hb-coretext.h | 4 ++++ - 2 files changed, 52 insertions(+), 9 deletions(-) - -commit c79865f90f62309dc64c8d3f2f503ec2aa4b7ec1 -Author: Behdad Esfahbod -Date: Fri Mar 14 19:37:55 2014 -0400 - - [coretext] Add coretext_aat shaper - - This is a higher-priority shaper than default shaper ("ot"), but - only picks up fonts that have AAT "morx"/"mort" table. - - Note that for this to work the font face's get_table() implementation - should know how to return the full font blob. - - Based on patch from Konstantin Ritt. - - src/hb-coretext.cc | 94 +++++++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-coretext.h | 4 +++ - src/hb-shaper-list.hh | 4 +++ - 3 files changed, 102 insertions(+) - -commit af1aa362cacc652ab8ffda05a5d98a3ff5430439 -Author: Behdad Esfahbod -Date: Fri Mar 14 15:52:47 2014 -0700 - - If HAVE_ICU_BUILTIN is defined, use hb-icu Unicode callbacks - - Useful for Android / Chrome / etc when ICU is built in the same - library as harfbuzz itself. - - src/hb-unicode.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 853daf857f231c9ce0277a78abff1241150ea903 -Author: Behdad Esfahbod -Date: Fri Mar 14 15:49:18 2014 -0700 - - Remove old cruft - - src/hb-shaper-list.hh | 6 ------ - 1 file changed, 6 deletions(-) - -commit 2a473338da1538efa4ff14ae9e4aba8dd50f9b0f -Author: Behdad Esfahbod -Date: Mon Mar 10 15:04:46 2014 -0700 - - Add Myanmar test case from OpenType Myanmar spec - - test/shaping/texts/in-tree/shaper-myanmar/script-myanmar/misc/MANIFEST | 1 + - .../shaping/texts/in-tree/shaper-myanmar/script-myanmar/misc/otspec.txt | 2 ++ - 2 files changed, 3 insertions(+) - -commit 158985908981189a2fd4d15275a641286fc770fe -Author: Behdad Esfahbod -Date: Mon Mar 10 14:57:55 2014 -0700 - - Minor - - test/shaping/texts/in-tree/shaper-myanmar/script-myanmar/misc/MANIFEST | 1 - - test/shaping/texts/in-tree/shaper-sea/script-tai-tham/misc/MANIFEST | 1 + - .../script-myanmar => shaper-sea/script-tai-tham}/misc/torture.txt | 0 - 3 files changed, 1 insertion(+), 1 deletion(-) - -commit bb8ffb581b89cf27fb8e0743b81bbda21654233e -Author: Behdad Esfahbod -Date: Tue Mar 4 13:03:51 2014 -0800 - - Use AM_MISSING_PROG for ragel and git - - Makefile.am | 4 ++-- - configure.ac | 2 ++ - src/Makefile.am | 2 +- - 3 files changed, 5 insertions(+), 3 deletions(-) - -commit a82165248cddb720576464b8e59a986491d3f2e9 -Author: Behdad Esfahbod -Date: Tue Feb 18 15:53:56 2014 -0500 - - Only do fallback Hebrew composition if no GPOS 'mark' available - - Apparently some modern fonts have proper GPOS mark positioning - tables, but undesirable precomposed forms! See thread - "Hebrew composition to presentation forms" and: - - http://tex.stackexchange.com/questions/156775/having-trouble-with-vowel-positioning-in-ezra-sil-xelatex - - Test case: U+fb1d,05d9,05b4 - - src/hb-ot-shape-complex-hebrew.cc | 2 +- - src/hb-ot-shape-private.hh | 2 ++ - 2 files changed, 3 insertions(+), 1 deletion(-) - -commit b456d42bf68c4374f71f09867e375a51c7f2b3ed -Author: Behdad Esfahbod -Date: Tue Feb 11 17:29:40 2014 -0500 - - Allow bootstrapping without gtk-doc - - Seems like configure.ac is already able to handle it. - - autogen.sh | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -commit 1eacde00cc8c57a08fb74276e3530844ef463d67 -Author: Luis de Bethencourt -Date: Thu Feb 6 23:20:47 2014 -0500 - - check hb_set_is_emtpy in test-set.c - - test/api/test-set.c | 9 +++++++++ - 1 file changed, 9 insertions(+) - -commit db068d81cda180a91638e5539984f8139aff49c6 -Author: Werner Lemberg -Date: Mon Feb 10 10:38:56 2014 -0500 - - typo in ucdn's Makefile.am - - src/hb-ucdn/Makefile.am | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit fbb2847f541389f40718af71c4945024ae177ab2 -Author: Behdad Esfahbod -Date: Wed Feb 5 08:22:06 2014 -0500 - - Improve MemoryBarrier() implementation - - See thread "[HarfBuzz] compilation error of 0.9.26 with MinGW" - started by Werner. - - src/hb-atomic-private.hh | 12 ++++++++---- - 1 file changed, 8 insertions(+), 4 deletions(-) - -commit 189bf23bfc90405d8bdc70bf3d6d3ffec38b470c -Author: Behdad Esfahbod -Date: Thu Jan 30 15:14:58 2014 -0500 - - 0.9.26 - - NEWS | 20 ++++++++++++++++++++ - configure.ac | 2 +- - 2 files changed, 21 insertions(+), 1 deletion(-) - -commit 7691a154e50f8c8c77bbd94787686262955bf5d4 -Author: Jonathan Kew -Date: Wed Jan 29 14:07:58 2014 +0000 - - Ensure hb_script_t can safely hold any hb_tag_t value it's given. - - Fixes https://github.com/behdad/harfbuzz/pull/21 - - src/hb-common.h | 8 +++++++- - 1 file changed, 7 insertions(+), 1 deletion(-) - -commit c29993a181c2139eaec97b5f6225824040ca3ac9 -Author: Behdad Esfahbod -Date: Tue Jan 28 17:29:42 2014 -0500 - - [coretext] Handle surrogate pairs when generating notdef glyphs - - Fixes github.com/behdad/harfbuzz/pull/19 - - src/hb-coretext.cc | 18 ++++++++++++++---- - 1 file changed, 14 insertions(+), 4 deletions(-) - -commit 748b2782e4898420003a3bbc041dcccbe9e3edc2 -Author: Behdad Esfahbod -Date: Tue Jan 28 17:10:05 2014 -0500 - - [coretext] Minor optimization - - src/hb-coretext.cc | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 24e6b11f12788500182715a64d4771a22c5b7525 -Author: Konstantin Ritt -Date: Tue Jan 28 18:16:01 2014 +0200 - - Fix double destruction in case of OOM - - src/hb-graphite2.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 083225916a19f6d67017523af87386933bd9ecdc -Author: Konstantin Ritt -Date: Wed Jan 22 20:31:30 2014 +0200 - - Micro optimizations - - src/hb-ot-layout-gpos-table.hh | 28 +++++++++++++++++----------- - 1 file changed, 17 insertions(+), 11 deletions(-) - -commit c9522de2335e4ef5fe65a72745c10943827a8da2 -Author: Konstantin Ritt -Date: Wed Jan 22 21:07:13 2014 +0200 - - Make it possible to disable the fallback shaper at configure time - - The OT shaper supersedes the fallback shaper in every case - and the latter become an extra weight for 99.9% of users. - - configure.ac | 6 ++++++ - src/Makefile.am | 5 ++++- - src/hb-shaper-list.hh | 2 ++ - 3 files changed, 12 insertions(+), 1 deletion(-) - -commit 6775da3a7c07db6c032cf429dc199d471948db56 -Author: Behdad Esfahbod -Date: Thu Jan 23 14:18:49 2014 -0500 - - Fix clang warning 'private field 'xxx' is not used - - Fixes https://github.com/behdad/harfbuzz/pull/16 - - src/hb-open-type-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 62299826f4905e080b9497bce335e093b287494e -Author: Behdad Esfahbod -Date: Thu Jan 23 14:11:03 2014 -0500 - - Fix typo in _hb_buffer_serialize_glyphs_text() - - Fixes https://github.com/behdad/harfbuzz/pull/17 - - src/hb-buffer-serialize.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit ae23c24c32f474a34484ee78bc177ad31fa5e6d0 -Author: Behdad Esfahbod -Date: Wed Jan 22 11:03:02 2014 -0500 - - [arabic] Disable 'cswh' by default - - I believe Windows 8 disables it, and spec update dated - Jan 2014 also clearly says it's disabled by default: - - http://www.microsoft.com/typography/OpenTypeDev/arabic/intro.htm#features - - src/hb-ot-shape-complex-arabic.cc | 1 - - 1 file changed, 1 deletion(-) - -commit 08cf5d75ef0c75095173dec822ccb07defaaa6c2 -Author: Behdad Esfahbod -Date: Wed Jan 22 07:53:55 2014 -0500 - - [ot] Don't try to compose if normalization is off - - src/hb-ot-shape-normalize.cc | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 0596343bfeb80ad6b19d459654edf7dfded6affe -Merge: 62cb28dfc 83d7e7915 -Author: Behdad Esfahbod -Date: Wed Jan 22 04:43:51 2014 -0800 - - Merge pull request #13 from jfkthame/hangul-shaper - - Tone-mark reordering and improved Old Hangul support - -commit 62cb28dfc668cae9cbff826229bde2271e157927 -Author: Jonathan Kew -Date: Mon Jan 20 14:23:08 2014 +0000 - - fixup for 64-bit windows build - - src/hb-uniscribe.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 83d7e7915a5eaa8ff4c7014c319844e7dffd8225 -Author: Jonathan Kew -Date: Mon Jan 20 19:49:47 2014 +0000 - - [hangul] Fix ordering of dotted circle with Hangul tone mark (reported by Dohyun Kim). - - src/hb-ot-shape-complex-hangul.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit deef1862657d55b7ae8d45f4eecbe45c80785c4e -Author: Jonathan Kew -Date: Mon Jan 20 10:38:27 2014 +0000 - - [hangul] Don't force zero-width for marks - this is not wanted for the Jamo Filler glyphs. - - src/hb-ot-shape-complex-hangul.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 391934db0a171aeb2057ebcd4a38ed81621e7393 -Author: Jonathan Kew -Date: Mon Jan 20 10:37:32 2014 +0000 - - [unicode] Exclude the Jamo Filler characters from Default_Ignorable, as some fonts want these to be visible/spacing glyphs. - - src/hb-unicode-private.hh | 15 +++++++-------- - 1 file changed, 7 insertions(+), 8 deletions(-) - -commit 7244b3fc3bf9757dd094709d36bea68682264e20 -Author: Jonathan Kew -Date: Mon Jan 20 10:35:51 2014 +0000 - - [hangul] Reorder Hangul tone mark to beginning of syllable, unless font implements it using a zero-width glyph. - - src/hb-ot-shape-complex-hangul.cc | 59 ++++++++++++++++++++++++++++++++++++++- - 1 file changed, 58 insertions(+), 1 deletion(-) - -commit 103436838df3a77552d3d33fc4bd80f09d9bf079 -Author: Jonathan Kew -Date: Mon Jan 20 10:35:07 2014 +0000 - - [hangul] Apply the appropriate *jmo features to decomposed syllables, including Old Hangul sequences that don't have Unicode compositions. Merge clusters in decomposed syllables. - - src/hb-ot-shape-complex-hangul.cc | 197 +++++++++++++++++++++++++++++++------- - 1 file changed, 165 insertions(+), 32 deletions(-) - -commit 8fc1f7fe74a25bf8549f5edd79c7da6b720eb064 -Author: Behdad Esfahbod -Date: Thu Jan 2 17:04:04 2014 +0800 - - [ot/hangul] Don't decompose Hangul even when combining marks present - - As discussed on - https://github.com/behdad/harfbuzz/pull/10#issuecomment-31442030 - - src/hb-ot-shape-complex-hangul.cc | 2 +- - src/hb-ot-shape-normalize-private.hh | 1 + - src/hb-ot-shape-normalize.cc | 24 +++++++++++++----------- - 3 files changed, 15 insertions(+), 12 deletions(-) - -commit 64426ec73a987bfe1e71a293ee195f268897e8d6 -Author: Behdad Esfahbod -Date: Thu Jan 2 14:33:10 2014 +0800 - - [ot] Simplify composing - - Not tested. Ouch. - - src/hb-ot-shape-normalize.cc | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit 8de20b1e8a1c4d2081f64e695045e6e4da7ce144 -Author: Behdad Esfahbod -Date: Thu Jan 2 14:30:45 2014 +0800 - - Add font->has_glyph() - - src/hb-font-private.hh | 6 ++++++ - src/hb-ot-shape-complex-hangul.cc | 14 ++++++-------- - src/hb-ot-shape.cc | 3 +-- - 3 files changed, 13 insertions(+), 10 deletions(-) - -commit f6298e55ae0f0f23f66935226f78afb98320ea78 -Author: Behdad Esfahbod -Date: Thu Jan 2 14:23:56 2014 +0800 - - [fallback] Minor - - src/hb-fallback-shape.cc | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit 29ea403d67e29c2d531c1f613ce3d69e60f078f6 -Author: Behdad Esfahbod -Date: Thu Jan 2 14:20:00 2014 +0800 - - [hangul] Fix decomposition logic - - Seems to be working now. - - src/hb-ot-shape-complex-hangul.cc | 19 ++++++++----------- - 1 file changed, 8 insertions(+), 11 deletions(-) - -commit bdb20dafc3f737923da3dca0c832fdf4ab8daabc -Author: Behdad Esfahbod -Date: Thu Jan 2 14:04:30 2014 +0800 - - [hangul] Fix decomposition - - Part of https://github.com/behdad/harfbuzz/pull/10 - - src/hb-ot-shape-complex-hangul.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 32478656ce6e7926c3ad481511f02187ca743af6 -Author: Behdad Esfahbod -Date: Thu Jan 2 14:01:56 2014 +0800 - - [hangul] Tighten up character categories - - I had tried to expand to fill the blocks, but that sounds wrong in - retrospect. - - src/hb-ot-shape-complex-hangul.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit f14bb7de631b20e2868fb62e5311cd0d9e24bb49 -Author: Behdad Esfahbod -Date: Tue Dec 31 16:49:15 2013 +0800 - - [ot] Separate out hebrew and tibetan shapers from default - - Now default shaper is truly no-op. - - src/Makefile.am | 2 + - src/hb-ot-shape-complex-default.cc | 161 +--------------------------------- - src/hb-ot-shape-complex-hebrew.cc | 172 +++++++++++++++++++++++++++++++++++++ - src/hb-ot-shape-complex-private.hh | 17 +++- - src/hb-ot-shape-complex-tibetan.cc | 61 +++++++++++++ - 5 files changed, 251 insertions(+), 162 deletions(-) - -commit 6300cd72539284ca294ee8286bbbb7f9c72af320 -Author: Behdad Esfahbod -Date: Tue Dec 31 16:38:47 2013 +0800 - - [ot] Define HB_OT_SHAPE_ZERO_WIDTH_MARKS_DEFAULT - - src/hb-ot-shape-complex-default.cc | 2 +- - src/hb-ot-shape-complex-hangul.cc | 2 +- - src/hb-ot-shape-complex-private.hh | 4 +++- - src/hb-ot-shape-complex-thai.cc | 2 +- - 4 files changed, 6 insertions(+), 4 deletions(-) - -commit 3d6ca0d32e5c6597acfcf59301cb1905586ddb52 -Author: Behdad Esfahbod -Date: Tue Dec 31 16:04:35 2013 +0800 - - [ot] Simplify normalization_preference again - - No shaper has more than one behavior re this, so no need for a callback. - - src/hb-ot-shape-complex-arabic.cc | 2 +- - src/hb-ot-shape-complex-default.cc | 8 +------- - src/hb-ot-shape-complex-hangul.cc | 2 +- - src/hb-ot-shape-complex-indic.cc | 8 +------- - src/hb-ot-shape-complex-myanmar.cc | 9 +-------- - src/hb-ot-shape-complex-private.hh | 7 +------ - src/hb-ot-shape-complex-sea.cc | 9 +-------- - src/hb-ot-shape-complex-thai.cc | 2 +- - src/hb-ot-shape-normalize.cc | 4 +--- - 9 files changed, 9 insertions(+), 42 deletions(-) - -commit c98b7183f7dc453d5bac1f2503017cded317a495 -Author: Behdad Esfahbod -Date: Tue Dec 31 15:55:40 2013 +0800 - - [ot] Add Hangul shaper - - Not exhaustively tested, but I think I got the intended logic - right. - - The logic can perhaps be simplified. Maybe we should disabled - normalization with this shaper. Then again, for now focusing on - correctness. - - src/Makefile.am | 1 + - src/hb-ot-shape-complex-default.cc | 13 --- - src/hb-ot-shape-complex-hangul.cc | 232 +++++++++++++++++++++++++++++++++++++ - src/hb-ot-shape-complex-private.hh | 10 +- - src/hb-private.hh | 6 + - 5 files changed, 240 insertions(+), 22 deletions(-) - -commit 15f67048e45853ad4069fd4334e132bc3db4d2c4 -Author: Behdad Esfahbod -Date: Fri Dec 27 19:33:28 2013 -0500 - - Reorder Tai Tham SAKOT to ensure it comes after any tone marks - - src/hb-unicode-private.hh | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -commit 3216e44feb7b97f44620b51e197425a80a41cdb7 -Author: Behdad Esfahbod -Date: Mon Dec 23 14:39:23 2013 -0500 - - [uniscribe] Fix scratch-buffer accounting - - src/hb-uniscribe.cc | 15 ++++++++------- - 1 file changed, 8 insertions(+), 7 deletions(-) - -commit beeb12c9af4e0e66378cd36cf3dbb1560763a8e3 -Author: Behdad Esfahbod -Date: Sun Dec 22 22:53:27 2013 -0500 - - Add TODO item - - src/hb-ot-shape.h | 1 + - 1 file changed, 1 insertion(+) - -commit fbd4acc58a4bb501625b482bd318be9764ff8e02 -Author: Luis de Bethencourt -Date: Sun Dec 22 08:02:11 2013 -0500 - - Clean ht-ob headers - - src/Makefile.am | 1 + - src/hb-ot-layout.h | 5 ----- - src/hb-ot-shape.h | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-ot.h | 9 +-------- - 4 files changed, 55 insertions(+), 13 deletions(-) - -commit 5497a8a274a7066c0230c850baadef681785c8bb -Author: Behdad Esfahbod -Date: Sun Dec 22 20:48:53 2013 -0500 - - Cache various masks on the shape plan - - src/hb-ot-shape-fallback.cc | 6 ++---- - src/hb-ot-shape-private.hh | 15 +++++++++++++++ - src/hb-ot-shape.cc | 26 +++++++------------------- - 3 files changed, 24 insertions(+), 23 deletions(-) - -commit 02f909664fa24a7ccf7cf73d75d1d3426aaaae7d -Author: Behdad Esfahbod -Date: Sun Dec 22 19:35:27 2013 -0500 - - Minor correction to kern mask checking - - src/hb-ot-shape-fallback.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit a7e8bbb080aef318b16750ca1771d0d3af3d0ae9 -Author: Behdad Esfahbod -Date: Sun Dec 22 19:33:35 2013 -0500 - - Minor fraction mask setting improvement - - src/hb-ot-map-private.hh | 2 -- - src/hb-ot-shape.cc | 8 +++++--- - 2 files changed, 5 insertions(+), 5 deletions(-) - -commit 76fff252a96b4357b5e71694d5201daef822aa60 -Author: Behdad Esfahbod -Date: Sun Dec 22 17:55:59 2013 -0500 - - Don't form fractions if only one of numr/dnom exist - - src/hb-ot-shape.cc | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 3aeee519f0b82df5263974945ae852badc4dbded -Author: Behdad Esfahbod -Date: Sun Dec 22 16:17:54 2013 -0500 - - Bug 72698 - Automatically support frac / numr / dnom - - When seeing U+2044 FRACTION SLASH in the text, find decimal - digits (Unicode General Category Decimal_Number) around it, - and mark the pre-slash digits with 'numr' feature, the post-slash - digits with 'dnom' feature, and the whole sequence with 'frac' - feature. - - This beautifully renders fractions with major Windows fonts, - and any other font that implements those features (numr/dnom is - enough for most fonts.) - - Not the fastest way to do this, but good enough for a start. - - src/hb-ot-shape.cc | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 51 insertions(+) - -commit 014f369ec98fdbb3e7a2ef68aea2c4e017e7b680 -Author: Behdad Esfahbod -Date: Sun Dec 22 16:15:30 2013 -0500 - - Add XXX note - - src/hb-ot-map-private.hh | 2 ++ - 1 file changed, 2 insertions(+) - -commit 739325178aba00ea5526c6a54ce588a79e5d45e2 -Author: Behdad Esfahbod -Date: Sat Dec 21 00:18:18 2013 -0500 - - Initialize masks before mirroring - - We were throwing away the rtlm feature mask set during - mirroring... - - src/hb-ot-shape.cc | 11 ++++++++++- - 1 file changed, 10 insertions(+), 1 deletion(-) - -commit d507f6b5b7a052f4d0eb9ba4ec88fd2e3d6f64b4 -Author: Luis de Bethencourt -Date: Mon Dec 16 15:48:44 2013 -0500 - - Have Gtk-Doc ignore UCDN files - - docs/reference/Makefile.am | 18 +++++++++--------- - 1 file changed, 9 insertions(+), 9 deletions(-) - -commit d688475ea9cd236bc9b9e0153489fac0025f07f0 -Author: Behdad Esfahbod -Date: Thu Dec 12 13:21:57 2013 -0500 - - Minor - - util/options.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 2a8c49ade07a0bd4f2c9543f4bd129da82083ea0 -Author: Behdad Esfahbod -Date: Wed Dec 11 20:22:28 2013 -0500 - - Remove unnecessary includes - - src/hb-blob.cc | 1 - - src/hb-buffer-private.hh | 1 - - src/hb-common.cc | 2 -- - src/hb-face-private.hh | 1 - - src/hb-face.cc | 1 - - src/hb-font-private.hh | 1 - - src/hb-font.cc | 1 - - src/hb-graphite2.cc | 2 -- - src/hb-open-type-private.hh | 2 -- - src/hb-ot-layout-private.hh | 2 -- - src/hb-ot-shape-normalize-private.hh | 2 -- - src/hb-ot-tag.cc | 1 - - src/hb-set-private.hh | 1 - - src/hb-shape-plan-private.hh | 1 - - src/hb-tt-font.cc | 2 -- - src/hb-unicode-private.hh | 2 -- - 16 files changed, 23 deletions(-) - -commit 2646aec1e67cd6e09f5f7859c9d5898917acc2d5 -Author: Behdad Esfahbod -Date: Thu Dec 5 18:19:35 2013 -0500 - - Drop required automake version back to 1.11.3 - - Work around broken automake-1.13 changes. - - configure.ac | 3 ++- - test/shaping/Makefile.am | 7 +++++++ - 2 files changed, 9 insertions(+), 1 deletion(-) - -commit 860fc9aa7b4c49a1d50e64cfdf4d4dffadb7aa8f -Author: Behdad Esfahbod -Date: Wed Dec 4 20:06:59 2013 -0500 - - 0.9.25 - - NEWS | 12 ++++++++++++ - configure.ac | 2 +- - 2 files changed, 13 insertions(+), 1 deletion(-) - -commit adb039554de0c98a4121f26423bec8df09a62e61 -Author: Behdad Esfahbod -Date: Wed Dec 4 20:10:02 2013 -0500 - - Minor - - util/view-cairo.hh | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 95d18a7cab480712d8c95a587ac2a8fdcbec5e71 -Author: Behdad Esfahbod -Date: Wed Dec 4 20:01:22 2013 -0500 - - [git.mk] Update - - git.mk | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit d913f98d88098fc0f4163dfbc54d8ca9ebe9dd81 -Author: Behdad Esfahbod -Date: Wed Dec 4 19:59:48 2013 -0500 - - Require automake 1.13 - - Fix tests build. - - https://bugs.freedesktop.org/show_bug.cgi?id=71353 - - configure.ac | 2 +- - test/shaping/Makefile.am | 19 ++++++++++++++----- - 2 files changed, 15 insertions(+), 6 deletions(-) - -commit 205bf834d80f81471f0c3da4f400e60ce3a533dc -Author: Behdad Esfahbod -Date: Mon Dec 2 20:41:41 2013 -0500 - - Revert "Karen" language mapping back to what it was before - - https://bugzilla.mozilla.org/show_bug.cgi?id=941470 - - src/hb-ot-tag.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit f47b9219546edcfdeb3991ee27f6d9ba455c3e08 -Author: Behdad Esfahbod -Date: Mon Dec 2 05:57:27 2013 -0500 - - Fix unsafe shape_plan->face dependency - - src/hb-ot-shape-private.hh | 2 +- - src/hb-shape-plan-private.hh | 2 +- - src/hb-shape-plan.cc | 12 +++--------- - 3 files changed, 5 insertions(+), 11 deletions(-) - -commit c704a8700e169885f1d9cbab93544d85aa4358e9 -Author: Behdad Esfahbod -Date: Mon Dec 2 05:42:04 2013 -0500 - - [util] Fix uninitialized memory access - - util/view-cairo.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 260a3198f44a4ece60864b6f6caab2ee756ad762 -Author: Behdad Esfahbod -Date: Mon Dec 2 05:39:39 2013 -0500 - - [util] Plug leak - - util/options.cc | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -commit ca8d96c8ba33ce581684cbc07936a3696b6c83d9 -Author: Jonathan Kew -Date: Mon Dec 2 05:22:00 2013 -0500 - - cache shape plans even if (global) user features are set - - src/hb-shape-plan-private.hh | 3 +++ - src/hb-shape-plan.cc | 59 ++++++++++++++++++++++++++++++++++++++++---- - 2 files changed, 57 insertions(+), 5 deletions(-) - -commit 8ffa528f28a24ae85952ad1c1b0206e736bcfeab -Author: Behdad Esfahbod -Date: Mon Dec 2 05:17:14 2013 -0500 - - Add note about unsafe shape_plan->face - - Will fix by removing shape_plan->face completely. - - src/hb-shape-plan.cc | 2 ++ - 1 file changed, 2 insertions(+) - -commit aec468f01e866c99e65a8f764a792c74c96840d7 -Author: Behdad Esfahbod -Date: Fri Nov 29 19:21:58 2013 -0500 - - [coretext] Add TODO - - src/hb-coretext.cc | 2 ++ - 1 file changed, 2 insertions(+) - -commit 58cc233e8b5fdc9dce603acc1b968540a2dea3e1 -Author: Behdad Esfahbod -Date: Fri Nov 29 19:17:42 2013 -0500 - - [coretext] Cleanup - - src/hb-coretext.cc | 27 ++++++++++++++++----------- - 1 file changed, 16 insertions(+), 11 deletions(-) - -commit c8213c6198abff97822e29a6d565722cfbb43832 -Author: Khaled Hosny -Date: Fri Nov 29 19:01:56 2013 -0500 - - [coretext] Avoid font fallback with CoreText shaper - - CoreText does automatic font fallback (AKA "cascading") for characters - not supported by the requested font, and provides no way to turn it off, - so detect if the returned run uses a font other than the requested one - and fill in the buffer with .notdef glyphs instead of random indices - glyph from a different font. - - src/hb-coretext.cc | 35 +++++++++++++++++++++++++++++++++++ - 1 file changed, 35 insertions(+) - -commit 63bae73aefb0e5988ef6975f1ed38e040e50e91d -Author: Behdad Esfahbod -Date: Tue Nov 26 22:57:24 2013 -0500 - - [fallback] Add TODO note - - src/hb-fallback-shape.cc | 10 ++++++++++ - 1 file changed, 10 insertions(+) - -commit e1ebf01d0cf3df55bb9137136e2d0c9630e7bd78 -Author: Behdad Esfahbod -Date: Tue Nov 26 18:00:35 2013 -0500 - - Minor - - src/hb-ot-layout-common-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit a182dbc9e4e51fa7990c4aea3eaa425a061b29c7 -Author: Behdad Esfahbod -Date: Tue Nov 26 17:53:41 2013 -0500 - - Minor - - src/hb-ot-layout-common-private.hh | 1 + - 1 file changed, 1 insertion(+) - -commit 9174a9db5c4e01284143ed8bd318ce9454535987 -Author: Behdad Esfahbod -Date: Mon Nov 25 18:10:38 2013 -0500 - - [myanmar] Allow punctuation clusters - - The spec and Uniscribe don't allow these, but UTN#11 - specifically says the sequence U+104B,U+1038 is valid. - As such, allow all "P V" sequences. There's about - eight sequences that match that structure, but Roozbeh - thinks it's fine to allow all of them. - - Test case: U+104B, U+1038 - - https://bugs.freedesktop.org/show_bug.cgi?id=71947 - - src/hb-ot-shape-complex-myanmar-machine.rl | 3 +++ - src/hb-ot-shape-complex-myanmar.cc | 19 ++++++++++++++++++- - 2 files changed, 21 insertions(+), 1 deletion(-) - -commit 096b71e8ef0c1443f3f86069d5416b887af6e9e7 -Author: Behdad Esfahbod -Date: Mon Nov 25 18:03:34 2013 -0500 - - [myanmar] Mark U+104E MYANMAR SYMBOL AFOREMENTIONED as Consonant - - The spec and Uniscribe treat it as consonant in the grammar, but - it's not in IndicSyllableCategory.txt, so fix up. - - Test sequence: U+1004,U+103A,U+1039,U+104E - - https://bugs.freedesktop.org/show_bug.cgi?id=71948 - - src/hb-ot-shape-complex-myanmar.cc | 4 ++++ - 1 file changed, 4 insertions(+) - -commit d2da5e0b4b4ffc1722403ffb90b8777cfa1cd174 -Author: Behdad Esfahbod -Date: Mon Nov 25 17:50:07 2013 -0500 - - [myanmar] Relax pwo-tone group a bit - - This is broken sequence according to OpenType spec, Uniscribe, - and current HarfBuzz implementation. But Roozbeh says this - is a valid sequence, so allow it. There are multiple - "(DB As?)?" constructs in the grammar, but Roozbeh thinks only - this one needs changing. - - Test case: 1014,1063,103A - - Fixes https://bugs.freedesktop.org/show_bug.cgi?id=71949 - - src/hb-ot-shape-complex-myanmar-machine.rl | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 9af91ca8ffee4a8d2804eff5d380b4f9749414d1 -Author: Behdad Esfahbod -Date: Mon Nov 25 17:47:19 2013 -0500 - - Add more Myanmar test cases - - All three are broken right now according to Roozbeh. - - https://bugs.freedesktop.org/show_bug.cgi?id=71947 - https://bugs.freedesktop.org/show_bug.cgi?id=71948 - https://bugs.freedesktop.org/show_bug.cgi?id=71949 - - .../shaping/texts/in-tree/shaper-myanmar/script-myanmar/misc/misc.txt | 4 ++++ - 1 file changed, 4 insertions(+) - -commit 08c2d27d35093e07142168665139274ac99395e8 -Author: Roozbeh Pournader -Date: Sat Nov 23 21:39:31 2013 -0800 - - Added support for several new languages - - Based on research into latest SIL and Windows fonts, pulling in - the latest OpenType language tag proposal from Microsoft, and updating - to latest language tags and names from ISO 639. - - src/hb-ot-tag.cc | 314 +++++++++++++++++++++++++++++++++++++++++++------------ - 1 file changed, 247 insertions(+), 67 deletions(-) - -commit 05511acd198d0c2157cdb41e1d36eac0b8075357 -Author: Roozbeh Pournader -Date: Sat Nov 23 15:19:07 2013 -0800 - - Added language tags for S'gaw Karen and Khamti - - Tags based on support in Windows 8.1's 'Myanmar Text' font. - - src/hb-ot-tag.cc | 2 ++ - 1 file changed, 2 insertions(+) - -commit 0bb31e4497523442fbb26bbd55b194ab70205ca4 -Author: Behdad Esfahbod -Date: Wed Nov 20 14:21:07 2013 -0500 - - Bug 71845 - Use 64-bit cmpexch on ARM64 iOS - - src/hb-atomic-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 02c6c8cd6e8c93b63c75b25de6bf76bb45755bb4 -Author: Behdad Esfahbod -Date: Fri Nov 15 13:05:38 2013 -0500 - - Set buffer content type to INVALID in hb_buffer_set_length(0) - - Previously we were only setting this in hb_buffer_clear_contents(), - but set_length(0) is a valid way to reinitialize buffer to use with - new text. - - src/hb-buffer-private.hh | 2 +- - src/hb-buffer.cc | 3 +++ - 2 files changed, 4 insertions(+), 1 deletion(-) - -commit 6300694f6e531593e7e932000f9540b0367940b8 -Author: Behdad Esfahbod -Date: Wed Nov 13 14:54:07 2013 -0500 - - 0.9.24 - - NEWS | 8 ++++++++ - configure.ac | 2 +- - 2 files changed, 9 insertions(+), 1 deletion(-) - -commit 061cb4649342b005fb1de93abae25e889cc560bd -Author: Behdad Esfahbod -Date: Wed Nov 13 14:50:25 2013 -0500 - - Use long alignment for scratch buffer - - Fixes last of scratch alignment warnings in hb-coretext. - - src/hb-buffer-private.hh | 2 +- - src/hb-buffer.cc | 4 ++-- - 2 files changed, 3 insertions(+), 3 deletions(-) - -commit 68c372ed2eac76a6d347811293fe2ba2fd6a1eed -Author: Behdad Esfahbod -Date: Wed Nov 13 14:44:01 2013 -0500 - - More scratch-buffer cleanup - - src/hb-buffer-private.hh | 3 ++- - src/hb-buffer.cc | 10 +++++----- - src/hb-coretext.cc | 5 ++--- - src/hb-graphite2.cc | 2 +- - src/hb-uniscribe.cc | 30 ++++++++++++++---------------- - 5 files changed, 24 insertions(+), 26 deletions(-) - -commit 8fcadb9cf9418345610e3f4e38c28c12b768b589 -Author: Behdad Esfahbod -Date: Wed Nov 13 14:33:57 2013 -0500 - - [coretext] More scratch buffer fixes - - src/hb-coretext.cc | 25 +++++++++++++------------ - 1 file changed, 13 insertions(+), 12 deletions(-) - -commit 16f175cb2e081e605fe7f9cd01bbe8c24380278a -Author: Behdad Esfahbod -Date: Tue Nov 12 17:22:49 2013 -0500 - - Fix scratch-buffer alignment warnings - - src/hb-buffer-private.hh | 2 +- - src/hb-buffer.cc | 9 +++++---- - src/hb-coretext.cc | 17 ++++++++++------- - src/hb-graphite2.cc | 28 +++++++++++++++++----------- - src/hb-private.hh | 3 +++ - src/hb-uniscribe.cc | 29 +++++++++++++++++------------ - 6 files changed, 53 insertions(+), 35 deletions(-) - -commit c7c4ccf8a1e784b6f8798388a219dda9a26fbd93 -Author: Behdad Esfahbod -Date: Tue Nov 12 15:41:22 2013 -0500 - - [travis] Enable graphite2 - - .travis.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 83408cf804a6908873c41b70bb7c43448e66ddd2 -Author: Behdad Esfahbod -Date: Wed Nov 6 14:46:04 2013 -0500 - - Fix llvm warnings on Mac - - Patch from Scott Fleischman. Warnings were: - - harfbuzz/src/hb-font-private.hh:121:42: Implicit conversion loses - integer precision: 'long long' to 'hb_position_t' (aka 'int') - harfbuzz/src/hb-font-private.hh:126:42: Implicit conversion loses - integer precision: 'long long' to 'hb_position_t' (aka 'int') - harfbuzz/src/hb-font-private.hh:400:85: Implicit conversion loses - integer precision: 'long long' to 'hb_position_t' (aka 'int') - harfbuzz/src/hb-ot-layout-common-private.hh:1115:37: Implicit conversion - loses integer precision: 'long long' to 'int' - harfbuzz/src/hb-ft.cc:421:97: Implicit conversion loses integer - precision: 'unsigned long long' to 'int' - harfbuzz/src/hb-ft.cc:422:97: Implicit conversion loses integer - precision: 'unsigned long long' to 'int' - - src/hb-font-private.hh | 6 +++--- - src/hb-ft.cc | 4 ++-- - src/hb-ot-layout-common-private.hh | 2 +- - 3 files changed, 6 insertions(+), 6 deletions(-) - -commit 333cc6e2d11831bcd2370723456e678574d570ec -Author: Behdad Esfahbod -Date: Wed Oct 30 17:30:11 2013 +0000 - - [otlayout] Remove unused is_inplace() - - Patch from Jonathan Kew. - - src/hb-ot-layout-gpos-table.hh | 6 -- - src/hb-ot-layout-gsub-table.hh | 56 ------------ - src/hb-ot-layout-gsubgpos-private.hh | 159 ----------------------------------- - 3 files changed, 221 deletions(-) - -commit 176fd17d02ac183af32a0e710ec32d25c9322021 -Author: Behdad Esfahbod -Date: Wed Oct 30 17:27:24 2013 +0000 - - Bug 70971 - Signed/unsigned compiler warnings on windows - - Patch from Emil Eklund. - - src/hb-buffer-serialize.cc | 8 ++++---- - src/hb-ot-map.cc | 2 +- - 2 files changed, 5 insertions(+), 5 deletions(-) - -commit 3d436d325edccc0f3dd820e06e3d529cc8f3eca4 -Author: Behdad Esfahbod -Date: Mon Oct 28 21:00:37 2013 +0100 - - [otlayout] Reset ccc when marking glyph as letter - - src/hb-ot-layout-gsubgpos-private.hh | 3 +++ - 1 file changed, 3 insertions(+) - -commit b9d0077ac1a8e8a62ee15c64ad302f7976e23bdd -Author: Behdad Esfahbod -Date: Mon Oct 28 20:44:03 2013 +0100 - - Fix win32 testing - - test/shaping/Makefile.am | 1 + - test/shaping/run-tests.sh | 2 +- - 2 files changed, 2 insertions(+), 1 deletion(-) - -commit dce79c2bd747d398bdf2f4b171b0ba9b5b951f72 -Author: Behdad Esfahbod -Date: Mon Oct 28 20:26:40 2013 +0100 - - 0.9.23 - - NEWS | 10 ++++++++++ - configure.ac | 2 +- - 2 files changed, 11 insertions(+), 1 deletion(-) - -commit 2e990a3d722c10d1eefdc4c5ccbdaa384625c3fd -Author: Behdad Esfahbod -Date: Mon Oct 28 20:23:07 2013 +0100 - - Make "make distcheck" happy - - configure.ac | 2 +- - test/shaping/Makefile.am | 3 +++ - 2 files changed, 4 insertions(+), 1 deletion(-) - -commit 6ffc007b61402c9d1d4de368deed4971a10ed00b -Author: Behdad Esfahbod -Date: Mon Oct 28 19:26:02 2013 +0100 - - [otlayout] Optimize inplace - - See thread started by Jonathan with subject "an optimization for complex - fonts". - - src/hb-ot-layout.cc | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 71b4c999a511bf018acaf48a45e070470c0daf12 -Author: Behdad Esfahbod -Date: Mon Oct 28 00:20:59 2013 +0100 - - Revert "Zero marks by GDEF for Tibetan" - - This reverts commit d5bd0590ae2fbc7b0dee86385a565aef00ffb835. - - The reasoning behind that logic was flawed and made under - a misunderstanding of the original problem, and caused - regressions as reported by Jonathan Kew in thread titled - "tibetan marks" in Oct 2013. Apparently I have had fixed - the original problem with this commit: - - 7e08f1258da229dfaf7e1c4b5c41e5bb83906cb0 - - So, revert the faulty commit and everything seems to be in good - shape. - - src/hb-ot-layout-gsubgpos-private.hh | 4 ++-- - src/hb-ot-shape-complex-arabic.cc | 10 +++------- - src/hb-ot-shape-complex-default.cc | 17 +---------------- - src/hb-ot-shape-complex-indic.cc | 8 +------- - src/hb-ot-shape-complex-myanmar.cc | 15 +++++---------- - src/hb-ot-shape-complex-private.hh | 8 ++------ - src/hb-ot-shape-complex-sea.cc | 14 ++++---------- - src/hb-ot-shape-complex-thai.cc | 9 +-------- - src/hb-ot-shape.cc | 4 ++-- - 9 files changed, 21 insertions(+), 68 deletions(-) - -commit 9596b2bf569dae6fbe268803e3cb248001f10954 -Author: Behdad Esfahbod -Date: Mon Oct 28 00:09:05 2013 +0100 - - Pass CPPFLAGS=-Werror to Travis-CI - - We want default gcc / clang warnings to fail the CI build. - - .travis.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit c77d1ade6898cea161f0709c5c5a912e14aff951 -Author: Behdad Esfahbod -Date: Sun Oct 27 23:52:26 2013 +0100 - - Fix warnings - - test/api/test-blob.c | 2 +- - util/helper-cairo-ansi.cc | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit c2bc818706df56022c8bb922df2b741cb120f7e4 -Author: Behdad Esfahbod -Date: Sun Oct 27 23:36:35 2013 +0100 - - Work with old and new glib - - Avoids "deprecated" warnings. - - src/test-buffer-serialize.cc | 7 +++++-- - src/test-size-params.cc | 7 +++++-- - src/test-would-substitute.cc | 7 +++++-- - src/test.cc | 7 +++++-- - util/options.cc | 4 ++-- - util/options.hh | 4 ++++ - util/view-cairo.hh | 4 ++++ - 7 files changed, 30 insertions(+), 10 deletions(-) - -commit 46a863d91dbcc9a4c796e3715ea3828939f4d941 -Author: Behdad Esfahbod -Date: Sun Oct 27 23:24:50 2013 +0100 - - [indic] Adjust pref reordering logic - - For Javanese (pref_len == 1) only reorder if it didn't ligate. That's - sensible, and what the spec says. For other Indic (pref_len > 1) - only reorder if ligated. - - Doesn't change any test numbers. - - src/hb-ot-shape-complex-indic.cc | 9 +++++++-- - 1 file changed, 7 insertions(+), 2 deletions(-) - -commit 6b03e3c724ec6cd255f4a323bf4aa7d8c93a056e -Author: Behdad Esfahbod -Date: Sun Oct 27 21:04:55 2013 +0100 - - Optimize fallback kerning - - Patch from Jonathan Kew. "These changes seem to yield a small but - just-about-measurable improvement with old fonts that lack GPOS - kerning." - - src/hb-ot-shape-fallback.cc | 47 ++++++++++++++++++++++++++++----------------- - 1 file changed, 29 insertions(+), 18 deletions(-) - -commit 133eeba6a32769ec1a7520e7c8a0d2eb1ad986f8 -Author: Behdad Esfahbod -Date: Sun Oct 27 00:24:59 2013 +0200 - - Minor - - See: - https://github.com/prezi/harfbuzz-js/pull/1/files#r7032397 - - src/hb-common.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit a74f0de225c403998212e2618dcf9452bc5b590d -Author: Behdad Esfahbod -Date: Thu Oct 24 11:46:33 2013 +0200 - - [indic] Fix CM2, really - - Followup from 6e613f3365bf4e9fd778758c53e7de00c64beca1. - - src/hb-ot-shape-complex-indic-machine.rl | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 6e613f3365bf4e9fd778758c53e7de00c64beca1 -Author: Behdad Esfahbod -Date: Wed Oct 23 23:34:13 2013 +0200 - - Fix "shift count >= width of type" issue - - src/hb-ot-shape-complex-indic-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit ac8cd511911c7dca6222d14fa758bff75d601567 -Author: Behdad Esfahbod -Date: Fri Oct 18 19:33:09 2013 +0200 - - Refactor - - src/hb-ot-layout-gpos-table.hh | 120 ++++++++++++++++++++++------------------- - src/hb-ot-layout.cc | 31 +++++------ - src/hb-ot-shape-normalize.cc | 29 +++++----- - src/hb-ot-shape.cc | 82 ++++++++++++++++------------ - 4 files changed, 145 insertions(+), 117 deletions(-) - -commit 0f3fe37fccfb540437adf13dd580f2c5164a0b1f -Author: Behdad Esfahbod -Date: Fri Oct 18 19:14:22 2013 +0200 - - Comment - - src/hb-ot-layout-private.hh | 1 + - 1 file changed, 1 insertion(+) - -commit ddce2d8df6fed9c033f1f13e235666680c5beb67 -Author: Behdad Esfahbod -Date: Fri Oct 18 18:07:11 2013 +0200 - - [indic] Improve positioning of post-base bells and whistles - - Bug 58714 - Kannada u+0cb0 u+200d u+0ccd u+0c95 u+0cbe does not provide - same results as Windows8 - https://bugs.freedesktop.org/show_bug.cgi?id=58714 - - Test with U+0CB0,U+200D,U+0CCD,U+0C95,U+0CBF and tunga.ttf. - - Improves some scripts. Improves Bengali too, but numbers - are up because we produce better results than Uniscribe for some - sequences now. - - New numbers: - BENGALI: 353724 out of 354188 tests passed. 464 failed (0.131004%) - DEVANAGARI: 707307 out of 707394 tests passed. 87 failed (0.0122987%) - GUJARATI: 366349 out of 366457 tests passed. 108 failed (0.0294714%) - GURMUKHI: 60732 out of 60747 tests passed. 15 failed (0.0246926%) - KANNADA: 951190 out of 951913 tests passed. 723 failed (0.0759523%) - KHMER: 299070 out of 299124 tests passed. 54 failed (0.0180527%) - MALAYALAM: 1048140 out of 1048334 tests passed. 194 failed (0.0185056%) - ORIYA: 42320 out of 42329 tests passed. 9 failed (0.021262%) - SINHALA: 271662 out of 271847 tests passed. 185 failed (0.068053%) - TAMIL: 1091753 out of 1091754 tests passed. 1 failed (9.15957e-05%) - TELUGU: 970555 out of 970573 tests passed. 18 failed (0.00185457%) - - src/hb-ot-shape-complex-indic.cc | 19 ++++++++++--------- - 1 file changed, 10 insertions(+), 9 deletions(-) - -commit d5bd0590ae2fbc7b0dee86385a565aef00ffb835 -Author: Behdad Esfahbod -Date: Fri Oct 18 16:44:54 2013 +0200 - - Zero marks by GDEF for Tibetan - - See: - http://lists.freedesktop.org/archives/harfbuzz/2013-April/003101.html - - src/hb-ot-layout-gsubgpos-private.hh | 4 ++-- - src/hb-ot-shape-complex-arabic.cc | 10 +++++++--- - src/hb-ot-shape-complex-default.cc | 17 ++++++++++++++++- - src/hb-ot-shape-complex-indic.cc | 8 +++++++- - src/hb-ot-shape-complex-myanmar.cc | 15 ++++++++++----- - src/hb-ot-shape-complex-private.hh | 8 ++++++-- - src/hb-ot-shape-complex-sea.cc | 14 ++++++++++---- - src/hb-ot-shape-complex-thai.cc | 9 ++++++++- - src/hb-ot-shape.cc | 4 ++-- - 9 files changed, 68 insertions(+), 21 deletions(-) - -commit bf029281b1b0f854f671969ab40eac3046a111bd -Author: Behdad Esfahbod -Date: Fri Oct 18 16:20:13 2013 +0200 - - Bug 65258 - [...] Mongolian with free variation selector - - src/hb-ot-shape-complex-arabic.cc | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 0193649ce4ca78b8e2835a50bd51ee594cffe34e -Author: Behdad Esfahbod -Date: Fri Oct 18 16:08:53 2013 +0200 - - [otfallback] Don't shift down above-marks too much - - This seems to generate much better, almost-perfect, positioning for - Arabic as well as Latin above marks. - - src/hb-ot-shape-fallback.cc | 10 +++++++++- - 1 file changed, 9 insertions(+), 1 deletion(-) - -commit dba9580237da788275b1ab5fe6be75c8a3f359b9 -Author: Behdad Esfahbod -Date: Fri Oct 18 15:57:36 2013 +0200 - - [otfallback] Never fallback-position a below-mark upwards - - Test with WinXP times.ttf and U+05D9,U+05B5. - - src/hb-ot-shape-fallback.cc | 6 ++++++ - 1 file changed, 6 insertions(+) - -commit 8177da29ad07d8fa444ce07003fa65cd31a2776b -Author: Behdad Esfahbod -Date: Fri Oct 18 15:50:29 2013 +0200 - - Minor - - src/hb-ot-shape-fallback.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit c16012e9019ec59c2200a3cc29b8a37ea70eda70 -Author: Behdad Esfahbod -Date: Fri Oct 18 02:27:00 2013 +0200 - - [indic] Add Javanese support! - - Seems to be working just fine! - - src/hb-ot-shape-complex-indic-machine.rl | 14 ++++++------ - src/hb-ot-shape-complex-indic-private.hh | 37 ++++++++++++++++---------------- - src/hb-ot-shape-complex-indic.cc | 9 ++++++-- - 3 files changed, 34 insertions(+), 26 deletions(-) - -commit 755b44cce6dc23376a3cf0212893609231fa4967 -Author: Behdad Esfahbod -Date: Fri Oct 18 11:17:42 2013 +0200 - - [ft] Round metrics instead of truncate - - Lohit-Punjabi has a upem of 769! We were losing one unit in our - code, and FreeType is losing another one... Test with U+0A06. - Has an advance of 854 in the font. We were producing 852. - Now we do 853, which is what FreeType is telling us. - - src/hb-ft.cc | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 9a49351cc2625de16a73e0e153d3097ef6c7cc0f -Author: Behdad Esfahbod -Date: Fri Oct 18 02:14:53 2013 +0200 - - [indic] Swith pref logic to use _hb_glyph_info_substituted() - - See comments from caveat! Seems to work fine. - - This is useful for Javanese which has an atomically encoded pre-base - reordering Ra which should only be reordered if it was substituted - by the pref feature. - - src/hb-ot-shape-complex-indic.cc | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -commit f175aa33c5e94397c60648ac0697c80f5fe0dcb7 -Author: Behdad Esfahbod -Date: Fri Oct 18 02:07:44 2013 +0200 - - [indic] Fix compiler warnings - - src/hb-ot-shape-complex-indic.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 857027341423f15fd6084c7563cc355b06e7cbdd -Author: Behdad Esfahbod -Date: Fri Oct 18 01:11:05 2013 +0200 - - [otlayout] Add _hb_glyph_info_substituted() - - Currently unused. - - src/hb-ot-layout-private.hh | 6 ++++++ - 1 file changed, 6 insertions(+) - -commit a1f7b2856184959e965c9c2b80363f9f46d486a7 -Author: Behdad Esfahbod -Date: Fri Oct 18 01:09:08 2013 +0200 - - [otlayout] Switch over from old is_a_ligature() to IS_LIGATED - - Impact should be minimal and positive. - - src/hb-ot-layout-gsubgpos-private.hh | 2 +- - src/hb-ot-layout-private.hh | 12 +++++++++--- - src/hb-ot-shape-complex-indic.cc | 4 ++-- - src/hb-ot-shape-complex-myanmar.cc | 2 +- - src/hb-ot-shape.cc | 2 +- - 5 files changed, 14 insertions(+), 8 deletions(-) - -commit 09675a8115b9d77261c33940401aa919cede8662 -Author: Behdad Esfahbod -Date: Fri Oct 18 01:05:58 2013 +0200 - - [otlayout] Add HB_OT_LAYOUT_GLYPH_PROPS_LIGATED - - Currently unused. - - src/hb-ot-layout-gsubgpos-private.hh | 15 ++++++++++----- - src/hb-ot-layout-private.hh | 5 ++++- - 2 files changed, 14 insertions(+), 6 deletions(-) - -commit 05ad6b50ac0a1b9a8da10d2ee2238068b7811e7d -Author: Behdad Esfahbod -Date: Fri Oct 18 00:45:59 2013 +0200 - - [otlayout] Add HB_OT_LAYOUT_GLYPH_PROPS_SUBSTITUTED - - Currently unused. - - src/hb-ot-layout-gsubgpos-private.hh | 5 +++-- - src/hb-ot-layout-private.hh | 10 ++++++---- - 2 files changed, 9 insertions(+), 6 deletions(-) - -commit 101303dbf7cf15d044bf2518f14b3aec65970fea -Author: Behdad Esfahbod -Date: Fri Oct 18 00:42:39 2013 +0200 - - [otlayout] More shuffling around - - src/hb-ot-layout-gpos-table.hh | 16 +++---- - src/hb-ot-layout-gsub-table.hh | 13 +++-- - src/hb-ot-layout-gsubgpos-private.hh | 8 ++-- - src/hb-ot-layout-private.hh | 92 ++++++++++++++++++++++++++++++++---- - src/hb-ot-shape.cc | 8 ++-- - 5 files changed, 102 insertions(+), 35 deletions(-) - -commit 91689de2603e4151e2a2d3a3852c61667f0c6264 -Author: Behdad Esfahbod -Date: Fri Oct 18 00:21:59 2013 +0200 - - [otlayout] Add _hb_glyph_info_set_glyph_props() - - No functional change. - - src/hb-ot-layout-gsub-table.hh | 2 +- - src/hb-ot-layout-gsubgpos-private.hh | 4 ++-- - src/hb-ot-layout-private.hh | 9 +++++++++ - src/hb-ot-shape.cc | 8 +++++--- - 4 files changed, 17 insertions(+), 6 deletions(-) - -commit a0161746589934e93c3b115814bbd81f56ab962f -Author: Behdad Esfahbod -Date: Fri Oct 18 00:06:30 2013 +0200 - - [otlayout] Simplify set_class() usage - - src/hb-ot-layout-gsubgpos-private.hh | 31 ++++++++++++++++++------------- - 1 file changed, 18 insertions(+), 13 deletions(-) - -commit 3ddf892b5328b74afb6e7d9da727d8771ca5d288 -Author: Behdad Esfahbod -Date: Fri Oct 18 00:02:43 2013 +0200 - - [otlayout] Renaming - - src/hb-ot-layout-gpos-table.hh | 18 +++++++------- - src/hb-ot-layout-gsub-table.hh | 2 +- - src/hb-ot-layout-gsubgpos-private.hh | 36 +++++++++++++-------------- - src/hb-ot-layout-private.hh | 48 +++++++++++++++++++++--------------- - src/hb-ot-shape-complex-indic.cc | 5 ++-- - src/hb-ot-shape-complex-myanmar.cc | 2 +- - src/hb-ot-shape-fallback.cc | 8 +++--- - src/hb-ot-shape.cc | 2 +- - 8 files changed, 65 insertions(+), 56 deletions(-) - -commit 2e96d2c6ee34142375373be07217c9953e7822cc -Author: Behdad Esfahbod -Date: Thu Oct 17 21:16:20 2013 +0200 - - [otlayout] More shuffling - - src/hb-ot-layout-private.hh | 252 +++++++++++++++++++++++--------------------- - 1 file changed, 130 insertions(+), 122 deletions(-) - -commit 469524692bd0a258b28e63294c984e677a9c2477 -Author: Behdad Esfahbod -Date: Thu Oct 17 21:01:57 2013 +0200 - - [otlayout] Code shuffling - - src/hb-ot-layout-private.hh | 16 ++++++++-------- - 1 file changed, 8 insertions(+), 8 deletions(-) - -commit 11fb16cb849285a178d9e80991b1d60a960326ee -Author: Behdad Esfahbod -Date: Thu Oct 17 20:57:57 2013 +0200 - - Use unsigned enums for mask types - - src/hb-buffer.h | 16 ++++++++-------- - src/hb-ot-layout-private.hh | 8 ++++---- - 2 files changed, 12 insertions(+), 12 deletions(-) - -commit 03058c3d1e8c18858c1e0b0c738ce9d299f2787a -Author: Behdad Esfahbod -Date: Thu Oct 17 20:55:34 2013 +0200 - - [otlayout] Remove two unused HB_OT_LAYOUT_GLYPH_PROPS_* values - - src/hb-ot-layout-gdef-table.hh | 1 - - src/hb-ot-layout-gsub-table.hh | 3 ++- - src/hb-ot-layout-private.hh | 7 +++++-- - 3 files changed, 7 insertions(+), 4 deletions(-) - -commit 941b6992042e7b73b3a2aab1448383adf33bef28 -Author: Behdad Esfahbod -Date: Thu Oct 17 20:47:33 2013 +0200 - - [otlayout] Remove unused HB_OT_LAYOUT_GLYPH_PROPS_UNCLASSIFIED - - src/hb-ot-layout-gdef-table.hh | 7 +++++-- - src/hb-ot-layout-private.hh | 10 ++++------ - 2 files changed, 9 insertions(+), 8 deletions(-) - -commit 8f9ec92dfce5c469fb85ad301296b5dde1b2ab0a -Author: Behdad Esfahbod -Date: Thu Oct 17 19:52:47 2013 +0200 - - [indic] Adjust Javanese base algorithm - - src/hb-ot-shape-complex-indic.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 49901862e36e1c153835877a9f1183729333bbbe -Author: Behdad Esfahbod -Date: Thu Oct 17 19:48:51 2013 +0200 - - [otlayout] Guard against use of ReverseChain through Context - - src/hb-ot-layout-gsub-table.hh | 4 +++- - src/hb-ot-layout.cc | 4 ++-- - 2 files changed, 5 insertions(+), 3 deletions(-) - -commit 74f4bbf0560a5fd2d295e100e96f0c6c7033e852 -Author: Behdad Esfahbod -Date: Thu Oct 17 19:07:53 2013 +0200 - - [indic] Towards supporting atomicly-encoded prebase-reorderings - - src/hb-ot-shape-complex-indic.cc | 65 ++++++++++++++++++++++++---------------- - 1 file changed, 40 insertions(+), 25 deletions(-) - -commit efed40b975110d78c9c505441e7e17a8c13e85c8 -Author: Behdad Esfahbod -Date: Thu Oct 17 18:50:11 2013 +0200 - - [indic] Minor refactoring of reph handling - - src/hb-ot-shape-complex-indic.cc | 14 ++++++++------ - src/hb-ot-shape-complex-sea.cc | 2 +- - 2 files changed, 9 insertions(+), 7 deletions(-) - -commit 684fe59ff858a0ecba71b3ed80378afb0b8bbb48 -Author: Behdad Esfahbod -Date: Thu Oct 17 18:30:06 2013 +0200 - - [indic] Minor refactoring of would_substitute() - - src/hb-ot-shape-complex-indic.cc | 19 ++++++++++--------- - 1 file changed, 10 insertions(+), 9 deletions(-) - -commit 321df83fb4f0b8a5310888129cb70bfda8ae0c96 -Author: Behdad Esfahbod -Date: Thu Oct 17 18:16:14 2013 +0200 - - Route Buginese through the SEA shaper - - Both Indic and SEA seem to do it just fine, but SEA is much - simpler. - - src/hb-ot-shape-complex-private.hh | 4 +--- - 1 file changed, 1 insertion(+), 3 deletions(-) - -commit b5a0f69e47ace468b06e21cf069a18ddcfcf6064 -Author: Behdad Esfahbod -Date: Thu Oct 17 18:04:23 2013 +0200 - - [indic] Pass zero-context=false to would_substitute for newer scripts - - For scripts without an old/new spec distinction, use zero-context=false. - This changes behavior in Sinhala / Khmer, but doesn't seem to regress. - This will be useful and used in Javanese. - - src/hb-ot-shape-complex-indic.cc | 35 +++++++++++++++++++---------------- - 1 file changed, 19 insertions(+), 16 deletions(-) - -commit c4e71ff36d1f86a6ea56539728a964d97217e2b6 -Author: Behdad Esfahbod -Date: Thu Oct 17 17:04:47 2013 +0200 - - [indic] Clean up Khmer and Sinhala base finding algorithm - - src/hb-ot-shape-complex-indic.cc | 24 +++++++++++------------- - 1 file changed, 11 insertions(+), 13 deletions(-) - -commit e10453e6fb2544724ccd7ddfdbb9de90ef9274ce -Author: Behdad Esfahbod -Date: Thu Oct 17 16:49:06 2013 +0200 - - [indic] Add BASE_POS_LAST_SINHALA - - Previously we planted this into the mode used for Khmer. There's not - really much in common between the two, so separate again. - - src/hb-ot-shape-complex-indic.cc | 21 +++++++++++++++++++-- - 1 file changed, 19 insertions(+), 2 deletions(-) - -commit 9ac6b01e0cd8e2d66dfc727157f45b615bc77109 -Author: Behdad Esfahbod -Date: Thu Oct 17 16:27:38 2013 +0200 - - [indic] Adjust Sinhala cluster merging under uniscribe - - Similar to 190c8f2b60af0851bf692f653c1604cfbf0561a5 but for - Sinhala. - - src/hb-ot-shape-complex-indic.cc | 23 ++++++++++++++++------- - 1 file changed, 16 insertions(+), 7 deletions(-) - -commit 3c3df9cba13fec2c35e0e7ae587d9699ac0c37f5 -Author: Behdad Esfahbod -Date: Thu Oct 17 13:58:31 2013 +0200 - - [otlayout] Minor - - src/hb-ot-layout-gsubgpos-private.hh | 62 +++++++++++++++++++----------------- - 1 file changed, 33 insertions(+), 29 deletions(-) - -commit 6cc136f7531a45e71ea08a7dc8a2187172cb813d -Author: Behdad Esfahbod -Date: Thu Oct 17 13:55:48 2013 +0200 - - [otlayout] Minor - - src/hb-ot-layout-gsubgpos-private.hh | 14 ++++++-------- - 1 file changed, 6 insertions(+), 8 deletions(-) - -commit ba6ddc421e5e440231c2ece2db1363f8e6d2ecbf -Author: Behdad Esfahbod -Date: Thu Oct 17 13:52:51 2013 +0200 - - [otlayout] Increase MAX_CONTEXT_LENGTH - - It's cheap. - - src/hb-ot-layout-common-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit e714fe6d6a2633494cb1fa7170a32ca2638cbb51 -Author: Behdad Esfahbod -Date: Thu Oct 17 13:49:51 2013 +0200 - - [otlayout] Simplify ligate_input() - - Shouldn't change behavior at all, but is faster / more robust. - - src/hb-ot-layout-gsub-table.hh | 16 +++++++--------- - src/hb-ot-layout-gsubgpos-private.hh | 17 +++++++---------- - 2 files changed, 14 insertions(+), 19 deletions(-) - -commit 6b2abdcd203204131f3017ca85c91de9d43959cd -Author: Behdad Esfahbod -Date: Thu Oct 17 13:15:43 2013 +0200 - - [indic] Improve clusters in presence of reph - - src/hb-ot-shape-complex-indic.cc | 5 +---- - 1 file changed, 1 insertion(+), 4 deletions(-) - -commit 42d0f55cbc68285e22d713df7062e520af708c82 -Author: Behdad Esfahbod -Date: Thu Oct 17 13:05:05 2013 +0200 - - [indic] Apply calt,clig in the same stage as presentation features - - Whic means these twp are applied per-syllable now. Apparently - in some Khmer fonts the clig interacts with presentation features. - - Test case: U+1781,U+17D2,U+1789,U+17BB,U+17C6 with Mondulkiri-R.ttf - should produce one big ligature. - - src/hb-ot-shape-complex-indic.cc | 4 ++++ - 1 file changed, 4 insertions(+) - -commit ae9a5834df477006686421d494b55a1569789327 -Author: Behdad Esfahbod -Date: Thu Oct 17 12:24:55 2013 +0200 - - [indic] Fix pref vs blwf interaction - - If a glyph can be both blwf and pref, we were wrongly sorting it - in the post position instead of below position. - - src/hb-ot-shape-complex-indic.cc | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit c7dacac02cfe8526eaf131ce6c5e7b6df7ca2ccd -Author: Behdad Esfahbod -Date: Thu Oct 17 12:20:24 2013 +0200 - - [indic] Don't apply blwf before base under old-spec mode - - Test case: U+09AC,U+09CD,U+09A6 with Lohit-Bengali 2.5.3. - - src/hb-ot-shape-complex-indic.cc | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit da72042c52ed3cc0ee19d3eabb8db7c7dd34d3ed -Author: Behdad Esfahbod -Date: Thu Oct 17 12:01:50 2013 +0200 - - [otlayout] Fix up recent Context matching change - - Commit 6b65a76b40522a4f57a6fedcbdfc5a4d736f1d3c. "end" was becoming - negative. Was trigerred by Lohit-Kannada 2.5.3 and the sequence: - U+0CB0,U+200D,U+0CBE,U+0CB7,U+0CCD,U+0C9F,U+0CCD,U+0CB0,U+0C97,U+0CB3 - Two glyphs were being duplicated. - - src/hb-buffer.cc | 7 ++++++- - src/hb-ot-layout-gsubgpos-private.hh | 3 ++- - 2 files changed, 8 insertions(+), 2 deletions(-) - -commit 1a7de1ba9876b0554c758acbc6459366d9d98a5d -Author: Behdad Esfahbod -Date: Wed Oct 16 19:55:06 2013 +0200 - - [indic] Improve Avagraha support in machine - - src/hb-ot-shape-complex-indic-machine.rl | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -commit 3756efaf4e14ec3b5b1def700a1b5985f162372b -Author: Behdad Esfahbod -Date: Wed Oct 16 19:06:29 2013 +0200 - - [indic] Misc harmless fixes! - - First, we were abusing OT_VD instead of OT_A. Fix that - but moving OT_A in the grammar where it belongs (which - is different from what the spec says). - - Also, only allow medial consonants after all other - consonants. This doesn't affect any current character. - - Finally, fix Halant attachment in presence of medial - consonants. Again, this currently doesn't affect any - sequence. - - I lied. There's Gurmukhi U+0A75 which is Consonant_Medial. - Uniscribe allows one of those in each of these positions: - before matras, after matras and before syllable modifiers, - and after syllable modifiers! We currently just allow - unlimited numbers of it, before matras. - - src/hb-ot-shape-complex-indic-machine.rl | 8 ++++---- - src/hb-ot-shape-complex-indic-private.hh | 2 +- - src/hb-ot-shape-complex-indic.cc | 11 ++++++----- - 3 files changed, 11 insertions(+), 10 deletions(-) - -commit c52ddab72e025d1bee8274c8f3416208b12f68f1 -Author: Behdad Esfahbod -Date: Wed Oct 16 13:42:38 2013 +0200 - - [arabic] Make ZWJ prevent ligatures instead of facilitating it - - Unicode 6.2.0 Section 16.2 / Figure 16.3 says: - - "For backward compatibility, between Arabic characters a ZWJ acts just - like the sequence , preventing a ligature from forming - instead of requesting the use of a ligature that would not normally be - used. As a result, there is no plain text mechanism for requesting the - use of a ligature in Arabic text." - - As such, we flip internal zwj to zwnj flags for GSUB matching, which - means it will block ligation in all features, unless the font - explicitly matches U+200D glyph. This doesn't affect joining behavior. - - src/hb-ot-layout-private.hh | 6 ++++++ - src/hb-ot-shape-complex-arabic.cc | 18 ++++++++++++++++++ - 2 files changed, 24 insertions(+) - -commit 1a31f9f820c4538015ddaf4ca2b790649c5997ed -Author: Behdad Esfahbod -Date: Wed Oct 16 13:42:18 2013 +0200 - - [otlayout] Minor - - src/hb-ot-layout-private.hh | 23 +++++++++++++++-------- - 1 file changed, 15 insertions(+), 8 deletions(-) - -commit 28d5daec948e1a24f13e492ce301aeb9abff37c8 -Author: Behdad Esfahbod -Date: Wed Oct 16 12:32:12 2013 +0200 - - [indic] More granular post-base cluster merging! - - src/hb-ot-shape-complex-indic.cc | 45 ++++++++++++++++++++++++++++++++++------ - 1 file changed, 39 insertions(+), 6 deletions(-) - -commit 9cb59d460e80d769087045535a8d54ec9ed7985c -Author: Behdad Esfahbod -Date: Wed Oct 16 11:34:07 2013 +0200 - - [indic] Fix cluster merging of left matras - - The merge_clusters there was totally broken. - - src/hb-ot-shape-complex-indic.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 190c8f2b60af0851bf692f653c1604cfbf0561a5 -Author: Behdad Esfahbod -Date: Wed Oct 16 11:33:18 2013 +0200 - - [indic] Adjust cluster merging under uniscribe mode for Tamil - - Apparently Uniscribe Tamil shaper doesn't ship chubby clusters - for Tamil. Adjust to that. - - src/hb-ot-shape-complex-indic.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 5c558877da5db8c734ba072f01e5e4797876619c -Author: Behdad Esfahbod -Date: Wed Oct 16 11:14:15 2013 +0200 - - [indic] Allow up to two syllable modifiers - - Bug 70509 - Candrabindu+Visarga doesn't work in Devanagari - https://bugs.freedesktop.org/show_bug.cgi?id=70509 - - We categorize both bindus and visarga as syllable-modifiers. - OT spec doesn't actually say what characters go in the syllable - modifier category, and allows one. We just allow up to two now. - - Test case: U+0930,U+0941,U+0901,U+0903 - - Uniscribe currently doesn't support that and produces a - dotted circle. - - src/hb-ot-shape-complex-indic-machine.rl | 2 +- - .../texts/in-tree/shaper-indic/indic/script-devanagari/misc/misc.txt | 1 + - 2 files changed, 2 insertions(+), 1 deletion(-) - -commit f5299eff5c0065d6329cd536c0ac339abea085b0 -Author: Behdad Esfahbod -Date: Tue Oct 15 18:13:07 2013 +0200 - - [indic] Simplify reph logic - - *Shouldn't* break anything. - - src/hb-ot-shape-complex-indic.cc | 11 +++-------- - 1 file changed, 3 insertions(+), 8 deletions(-) - -commit 65a929b1c033e91919c931b495a775f76b6dcbb3 -Author: Behdad Esfahbod -Date: Tue Oct 15 18:08:05 2013 +0200 - - [indic] If Malayalam dot-reph formed a ligature, don't move it - - Rachana-0.6 implements dot-reph by ligation, so we shouldn't move it. - Uniscribe doesn't either. Test case: - - U+0D4E,U+0D1A,U+0D4D,U+0D1A,U+0D4D - - src/hb-ot-shape-complex-indic.cc | 23 ++++++++++++++++------ - .../indic/script-malayalam/misc/dot-reph.txt | 3 +++ - 2 files changed, 20 insertions(+), 6 deletions(-) - -commit a01cbf6cbe0021722302cfb58fb638a0a2427b26 -Author: Behdad Esfahbod -Date: Tue Oct 15 16:37:53 2013 +0200 - - [indic] Harmless reordering of Khmer features! - - src/hb-ot-shape-complex-indic.cc | 10 ++++++---- - 1 file changed, 6 insertions(+), 4 deletions(-) - -commit c46f406973024051877e867b93614942ff80c107 -Author: Behdad Esfahbod -Date: Tue Oct 15 16:24:21 2013 +0200 - - [tests] Remove Myanmar micro-font and test - - .../sha1sum/ceadd106a8205214fbe7337ef9de32a862b59762.ttf | Bin 3040 -> 0 bytes - test/shaping/tests/context-matching.tests | 1 - - 2 files changed, 1 deletion(-) - -commit eb10233b267909dee0245f126000e117f3b21c35 -Author: Behdad Esfahbod -Date: Tue Oct 15 15:26:44 2013 +0200 - - [indic] Apply 'kern' for all scripts except for Khmer in Uniscribe mode - - Seems to better match Uniscribe. - - Note: NotoSansTelugu-Regular has kern feature, so this fixes most of the - positioning failures there, except for the kern pairs blocked by a - (non-)joiner, in which case we (correctly) kern, but Uniscribe doesn't. - - src/hb-ot-shape-complex-indic.cc | 11 +++++++++-- - 1 file changed, 9 insertions(+), 2 deletions(-) - -commit 30145272a7d428bc62a903388bd7be43f4da7fc3 -Author: Behdad Esfahbod -Date: Tue Oct 15 13:47:27 2013 +0200 - - [indic] Don't apply presentation features across syllables - - More like Uniscribe... We still allow user-defined features to - work across syllables, but not pres,blws,abs,psts,etc. - - This "regressed" Sinhala numbers by 11. These are cases were - there's Consonant followed by Ra,Halant,ZWJ at the of text. - The Ra,Halant,ZWJ ends up forming reph, which is wrong... - But before we were also ligating that reph with the previous - consonant. That's even more wrong. That's also what Uniscribe - does. - - Current numbers: - - BENGALI: 353732 out of 354188 tests passed. 456 failed (0.128745%) - DEVANAGARI: 707307 out of 707394 tests passed. 87 failed (0.0122987%) - GUJARATI: 366349 out of 366457 tests passed. 108 failed (0.0294714%) - GURMUKHI: 60732 out of 60747 tests passed. 15 failed (0.0246926%) - KANNADA: 951030 out of 951913 tests passed. 883 failed (0.0927606%) - KHMER: 299070 out of 299124 tests passed. 54 failed (0.0180527%) - MALAYALAM: 1048140 out of 1048334 tests passed. 194 failed (0.0185056%) - ORIYA: 42320 out of 42329 tests passed. 9 failed (0.021262%) - SINHALA: 271655 out of 271847 tests passed. 192 failed (0.070628%) - TAMIL: 1091753 out of 1091754 tests passed. 1 failed (9.15957e-05%) - TELUGU: 970555 out of 970573 tests passed. 18 failed (0.00185457%) - - src/hb-ot-shape-complex-indic.cc | 21 +++++++++++++++++---- - .../shaper-indic/indic/script-sinhala/misc/misc.txt | 1 + - 2 files changed, 18 insertions(+), 4 deletions(-) - -commit 3c7b3641cfb00f2c4dcc0768b9854e4f4410d15f -Author: Behdad Esfahbod -Date: Tue Oct 15 11:21:01 2013 +0200 - - [indic] Handle Avagraha - - It can come either at the end(ish!) of the syllable, or independently. - When independent, it accepts a few bits and pieces. - - src/hb-ot-shape-complex-indic-machine.rl | 5 ++++- - src/hb-ot-shape-complex-indic-private.hh | 5 +++-- - src/hb-ot-shape-complex-indic.cc | 14 +++++++++++++- - .../shaper-indic/indic/script-devanagari/misc/misc.txt | 1 + - .../in-tree/shaper-indic/indic/script-telugu/misc/misc.txt | 1 + - 5 files changed, 22 insertions(+), 4 deletions(-) - -commit 5e7432b8172473aa4dda3d51a79add9e97c2d2c1 -Author: Behdad Esfahbod -Date: Tue Oct 15 12:28:23 2013 +0200 - - [myanmar] Apply abvm/blwm - - src/hb-ot-shape-complex-myanmar.cc | 10 ++++++++++ - 1 file changed, 10 insertions(+) - -commit 8acbb6be271817c12d2ee0066b355e2fb0f9a934 -Author: Behdad Esfahbod -Date: Tue Oct 15 12:15:49 2013 +0200 - - [indic] Some scripts like blwf applied to pre-base characters - - ...while some don't! - - Improved Bengali, Devanagari, Gurmukhi, Malayalam. - - Updated numbers: - - BENGALI: 353732 out of 354188 tests passed. 456 failed (0.128745%) - DEVANAGARI: 707307 out of 707394 tests passed. 87 failed (0.0122987%) - GUJARATI: 366349 out of 366457 tests passed. 108 failed (0.0294714%) - GURMUKHI: 60732 out of 60747 tests passed. 15 failed (0.0246926%) - KANNADA: 951030 out of 951913 tests passed. 883 failed (0.0927606%) - KHMER: 299070 out of 299124 tests passed. 54 failed (0.0180527%) - MALAYALAM: 1048134 out of 1048334 tests passed. 200 failed (0.0190779%) - ORIYA: 42320 out of 42329 tests passed. 9 failed (0.021262%) - SINHALA: 271666 out of 271847 tests passed. 181 failed (0.0665816%) - TAMIL: 1091753 out of 1091754 tests passed. 1 failed (9.15957e-05%) - TELUGU: 970555 out of 970573 tests passed. 18 failed (0.00185457%) - - src/hb-ot-shape-complex-indic.cc | 33 ++++++++++++++++++++------------- - 1 file changed, 20 insertions(+), 13 deletions(-) - -commit 2c85a3df0983f28aed77a0ea3bf2417ef65d4b84 -Author: Behdad Esfahbod -Date: Mon Oct 14 19:41:52 2013 +0200 - - Fix issue with automake - - test/shaping/Makefile.am | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 6b65a76b40522a4f57a6fedcbdfc5a4d736f1d3c -Author: Behdad Esfahbod -Date: Mon Oct 14 18:51:39 2013 +0200 - - [otlayout] Fix (Chain)Context recursion! - - Previously we only supported recursive sublookups with - ascending indices. We were also not correctly handling - non-1-to-1 recursed lookups. - - Fix all that! - - Fixes the three tests in test/shaping/tests/context-matching.tests, - which were derived from NotoSansBengali and NotoSansDevanagari - among others. - - src/hb-buffer-private.hh | 4 + - src/hb-buffer.cc | 46 ++++++++++ - src/hb-ot-layout-common-private.hh | 1 + - src/hb-ot-layout-gsub-table.hh | 1 + - src/hb-ot-layout-gsubgpos-private.hh | 157 +++++++++++++++++------------------ - 5 files changed, 127 insertions(+), 82 deletions(-) - -commit 841e20d083aec8d814cd8d90aa6ab60127c0d1f2 -Author: Behdad Esfahbod -Date: Mon Oct 14 18:47:51 2013 +0200 - - Add test suite for shaping results - - The new test suite runs tests included under - hb/test/shaping/tests/*.tests, which themselves reference - font files stored by sha1sum under hb/test/shaping/fonts/sha1sum. - The fonts are produced using a subsetter to only include glyphs - needed to run the test. - - Four initial tests are added for (Chain)Context matching, - of which three currently fail. - - test/shaping/Makefile.am | 10 +++++- - .../4cce528e99f600ed9c25a2b69e32eb94a03b4ae8.ttf | Bin 0 -> 1320 bytes - .../ceadd106a8205214fbe7337ef9de32a862b59762.ttf | Bin 0 -> 3040 bytes - .../d629e7fedc0b350222d7987345fe61613fa3929a.ttf | Bin 0 -> 1768 bytes - .../f499fbc23865022234775c43503bba2e63978fe1.ttf | Bin 0 -> 3564 bytes - test/shaping/run-tests.sh | 34 +++++++++++++++++++++ - test/shaping/tests/MANIFEST | 1 + - test/shaping/tests/context-matching.tests | 4 +++ - 8 files changed, 48 insertions(+), 1 deletion(-) - -commit e2dab69291a5d86fc90a8c273c458c16574eafb5 -Author: Behdad Esfahbod -Date: Mon Oct 14 16:44:44 2013 +0200 - - Minor - - test/shaping/hb_test_tools.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 4e6e53db5da0a5da87ae732c3f9d01babf4ae6c2 -Author: Behdad Esfahbod -Date: Mon Oct 14 13:06:36 2013 +0200 - - [otlayout] "Minor" - - src/hb-ot-layout.cc | 1 + - 1 file changed, 1 insertion(+) - -commit 9326d48e4309901e7e0b0e15230936a21ee3df72 -Author: Behdad Esfahbod -Date: Thu Oct 10 20:04:42 2013 +0200 - - Don't use g_mapped_file_unref() - - Was introduced in glib 2.22. - - src/test-buffer-serialize.cc | 2 +- - src/test-size-params.cc | 2 +- - src/test-would-substitute.cc | 2 +- - src/test.cc | 2 +- - util/options.cc | 4 ++-- - 5 files changed, 6 insertions(+), 6 deletions(-) - -commit e152d1a27891bd1d9d46a9c028c026843bad384a -Author: Behdad Esfahbod -Date: Thu Oct 3 15:09:37 2013 -0400 - - 0.9.22 - - NEWS | 13 +++++++++++++ - configure.ac | 2 +- - 2 files changed, 14 insertions(+), 1 deletion(-) - -commit 27674b4bb351e501373bd9994e4ba6546e465cf7 -Author: Behdad Esfahbod -Date: Thu Oct 3 14:54:50 2013 -0400 - - [OTLayout] Protect against out-of-range lookup indices - - Filter them out when compiling map. - - src/hb-ot-layout.cc | 17 +++++++++++++++++ - src/hb-ot-layout.h | 5 +++++ - src/hb-ot-map.cc | 8 +++++++- - 3 files changed, 29 insertions(+), 1 deletion(-) - -commit 6b4fdded94b7efb96c6e41cca4350878ed859ff1 -Author: Behdad Esfahbod -Date: Mon Sep 30 13:48:19 2013 -0400 - - Update git.mk - - git.mk | 20 +++++++++++++------- - 1 file changed, 13 insertions(+), 7 deletions(-) - -commit 2a2b5b89ef3a606ba2996bc89fd1c577a6c98f40 -Author: M1cha -Date: Mon Sep 30 08:55:52 2013 +0000 - - Cleanup Android.mk - - use common src files for both static and shared libs - - remove empty LOCAL_SHARED_LIBRARIES - - Android.mk | 58 +++++++++++++++++----------------------------------------- - 1 file changed, 17 insertions(+), 41 deletions(-) - -commit 622bc3d829cab84c3a4148b88f2c91fee491ef39 -Merge: 3d2c4f0c2 d583df1e7 -Author: Behdad Esfahbod -Date: Sun Sep 29 13:31:58 2013 -0700 - - Merge pull request #4 from amarullz/master - - Add build static library on Android.mk - -commit 3d2c4f0c2ff8fab4262988aad65b170e5b479b20 -Author: Behdad Esfahbod -Date: Fri Sep 27 17:06:29 2013 -0400 - - Fix hiding of default_ignorables if font doesn't have space glyph - - Based on patch from Jonathan Kew. See discussion on the list. - - src/hb-ot-shape.cc | 40 ++++++++++++++++++++++++++++++---------- - 1 file changed, 30 insertions(+), 10 deletions(-) - -commit d583df1e78003f8f1039ad72331bf877b13d1ae5 -Author: Ahmad Amarullah -Date: Fri Sep 27 19:04:32 2013 +0700 - - Add build static library on Android.mk - - Use UCDN instead ICU - HAVE Freetype - - Android.mk | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 50 insertions(+) - -commit 078de49ca10285f6cd1452abd40f831a17af5d1a -Author: Behdad Esfahbod -Date: Thu Sep 26 18:26:43 2013 -0400 - - [util] Don't use g_array_unref() - - Was introduced in glib 2.22. - - util/view-cairo.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 48360ec03b225dfec5f90bc5cb93122203d2dd6b -Author: Behdad Esfahbod -Date: Thu Sep 26 16:48:42 2013 -0400 - - Bug 68990 - test-common fails on i686-linux - - Fix use-after-end-of-scope. - - src/hb-common.cc | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -commit b61f97d544ce43d85f5fe93e682c324e042c0770 -Author: Behdad Esfahbod -Date: Mon Sep 16 22:07:22 2013 -0400 - - 0.9.21 - - NEWS | 12 ++++++++++++ - configure.ac | 2 +- - 2 files changed, 13 insertions(+), 1 deletion(-) - -commit 2af826296315d89f3a433952903c5968e56044ea -Author: Behdad Esfahbod -Date: Mon Sep 16 21:49:56 2013 -0400 - - Improve library checks - - src/Makefile.am | 1 + - src/check-defs.sh | 44 ++++++++++++++++++++++++++++++++++++++++++++ - src/check-symbols.sh | 37 ++++++++++++------------------------- - 3 files changed, 57 insertions(+), 25 deletions(-) - -commit 882edce48e507a1c76c908ec2db04aac218b67d6 -Author: Behdad Esfahbod -Date: Fri Sep 13 20:36:43 2013 -0400 - - [graphite2] Fix include - - src/hb-graphite2.cc | 5 ++--- - src/hb-graphite2.h | 2 ++ - 2 files changed, 4 insertions(+), 3 deletions(-) - -commit ace5c7eb4c2302a6a7eb3576e6dbc3bc026e569c -Author: Behdad Esfahbod -Date: Fri Sep 13 20:34:42 2013 -0400 - - [introspection] hb-ft annotations - - src/hb-face.cc | 2 +- - src/hb-ft.cc | 30 +++++++++++++++++++++++++++++- - 2 files changed, 30 insertions(+), 2 deletions(-) - -commit a8949df48780e680e03b9afbbafb3628a0acef52 -Author: Behdad Esfahbod -Date: Fri Sep 13 20:23:51 2013 -0400 - - [introspection] Annotate Unicode / font callbacks - - Should move these out of the public header... - - We're "clean" of introspection warnings now. Remaining ones are about - graphite2 / freetype types not being introspectable. - - src/hb-blob.cc | 4 +- - src/hb-face.cc | 2 +- - src/hb-font.cc | 4 +- - src/hb-font.h | 132 +++++++++++++++++++++++++++++++++++++++++++++++++++++-- - src/hb-unicode.h | 106 ++++++++++++++++++++++++++++++++++++++++---- - 5 files changed, 231 insertions(+), 17 deletions(-) - -commit 4b011094d5e90cf93df2891e47aeab1bffad5bbf -Author: Behdad Esfahbod -Date: Fri Sep 13 20:17:42 2013 -0400 - - Move code around - - I believe I didn't break anything... - - src/hb-ot-shape.cc | 22 +++++++++++----------- - 1 file changed, 11 insertions(+), 11 deletions(-) - -commit 4878db218202ed804c9f76edb7e4aa220de8a8d8 -Author: Behdad Esfahbod -Date: Thu Sep 12 20:56:32 2013 -0400 - - Remove contrib/ Python hand-coded binding stuff - - gobject-introspection coming together. - - contrib/README | 2 - - contrib/python/README | 10 -- - contrib/python/lib/fontconfig.pyx | 47 --------- - contrib/python/lib/harfbuzz.pyx | 213 -------------------------------------- - contrib/python/scripts/hbtestfont | 116 --------------------- - contrib/python/setup.py | 39 ------- - 6 files changed, 427 deletions(-) - -commit e478ebe4d3f74dc271ffe88680fd29f6b1924c93 -Author: Behdad Esfahbod -Date: Thu Sep 12 20:53:07 2013 -0400 - - [introspection] Add sample.py - - src/sample.py | 13 +++++++++++++ - 1 file changed, 13 insertions(+) - -commit dfdbe7f932daffcf73911ff4e4a36f749164d960 -Author: Behdad Esfahbod -Date: Thu Sep 12 20:52:20 2013 -0400 - - [introspection] Make hb_blob_create() introspectable - - src/Makefile.am | 2 ++ - src/hb-blob.cc | 2 +- - 2 files changed, 3 insertions(+), 1 deletion(-) - -commit 085d4291a9f253a4b8e2eec8003ac11d02a9394f -Author: Behdad Esfahbod -Date: Thu Sep 12 17:14:33 2013 -0400 - - [introspection] Disable constructors for now - - Since our types are not associated with their methods, marking - constructors makes them inaccessible from bindings. Undo for now. - - src/hb-blob.cc | 2 +- - src/hb-buffer.cc | 2 +- - src/hb-face.cc | 2 +- - src/hb-font.cc | 4 ++-- - src/hb-set.cc | 2 +- - src/hb-shape-plan.cc | 2 +- - src/hb-unicode.cc | 2 +- - 7 files changed, 8 insertions(+), 8 deletions(-) - -commit 6c48f20eea22c6e686416ab4ec8388be3e8cd0b5 -Author: Behdad Esfahbod -Date: Mon Sep 9 15:43:10 2013 -0400 - - [otlayout] Add structs for JSTF table - - src/Makefile.am | 1 + - src/hb-ot-head-table.hh | 2 +- - src/hb-ot-hhea-table.hh | 2 +- - src/hb-ot-hmtx-table.hh | 2 +- - src/hb-ot-layout-gdef-table.hh | 2 +- - src/hb-ot-layout-gpos-table.hh | 2 +- - src/hb-ot-layout-gsub-table.hh | 2 +- - src/hb-ot-layout-jstf-table.hh | 229 +++++++++++++++++++++++++++++++++++++++++ - src/hb-ot-layout.cc | 1 + - src/hb-ot-layout.h | 1 + - src/hb-ot-maxp-table.hh | 2 +- - src/hb-ot-name-table.hh | 2 +- - src/main.cc | 2 +- - 13 files changed, 241 insertions(+), 9 deletions(-) - -commit 70303cf23b22647bf641be22c8650310128322a9 -Author: Behdad Esfahbod -Date: Fri Sep 6 17:35:57 2013 -0400 - - [docs/introspection] Some more annotations - - src/hb-common.cc | 151 ++++++++++++++++++++++++++++++++++++++++++++++++++-- - src/hb-font.cc | 16 +++--- - src/hb-version.h.in | 19 ------- - 3 files changed, 155 insertions(+), 31 deletions(-) - -commit 288f2899979bcc9e68f8115cb76e3271ed0e17bc -Author: Behdad Esfahbod -Date: Fri Sep 6 15:40:22 2013 -0400 - - [docs/introspection] More annotations - - src/hb-blob.cc | 63 +++--- - src/hb-buffer-serialize.cc | 63 ++++++ - src/hb-buffer.cc | 307 ++++++++++++++++++++++++++- - src/hb-face.cc | 171 +++++++++++++++ - src/hb-font-private.hh | 4 +- - src/hb-font.cc | 504 ++++++++++++++++++++++++++++++++++++++++++++- - src/hb-set.cc | 2 +- - src/hb-shape-plan.cc | 104 ++++++++++ - src/hb-shape.cc | 56 +++++ - src/hb-unicode.cc | 128 ++++++++++++ - 10 files changed, 1355 insertions(+), 47 deletions(-) - -commit 17905c54f1bab9e6dfe13f59f5ec208de12832f7 -Author: Behdad Esfahbod -Date: Fri Sep 6 16:57:01 2013 -0400 - - [introspection] Work around g-i limitation with hb_language_t - - src/hb-gobject-structs.cc | 15 +++++++++++---- - src/hb-gobject-structs.h | 8 ++++++++ - 2 files changed, 19 insertions(+), 4 deletions(-) - -commit cd361c3cbe4a288e3019b9a029f44e4c5f24436c -Author: Behdad Esfahbod -Date: Fri Sep 6 16:20:21 2013 -0400 - - Minor change to hb_language_t - - Let me know if this breaks anyone's anything. - - src/hb-common.cc | 2 +- - src/hb-common.h | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit 20cbc1f8eb0811e6cefa3be3550e80df9c372782 -Author: Behdad Esfahbod -Date: Fri Sep 6 15:29:22 2013 -0400 - - Annotate hb-set a bit; add HB_SET_VALUE_INVALID - - src/hb-set-private.hh | 20 +++-- - src/hb-set.cc | 244 ++++++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-set.h | 2 + - src/hb-version.h.in | 6 +- - test/api/test-set.c | 26 +++--- - 5 files changed, 276 insertions(+), 22 deletions(-) - -commit c44b81833d5bfb9a926d348a76463314c3ec2018 -Author: Behdad Esfahbod -Date: Fri Sep 6 15:13:16 2013 -0400 - - Whitespace - - src/hb-buffer.cc | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - -commit ae9dc717d37d58efdd3fabbe4a9c3c2bf9dc3568 -Author: Behdad Esfahbod -Date: Thu Sep 5 16:40:37 2013 -0400 - - [gtk-doc] Pass source files to gtk-doc - - docs/reference/Makefile.am | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit 5f512017ba615ba6ac8e5da2ea0c57a72db2c26b -Author: Behdad Esfahbod -Date: Wed Sep 4 18:28:39 2013 -0400 - - [docs] Document a few symbols - - src/hb-blob.cc | 160 +++++++++++++++++++++++++++++++++++++++++++++++++++- - src/hb-buffer.cc | 78 ++++++++++++++++++++++++- - src/hb-version.h.in | 17 ++++++ - 3 files changed, 251 insertions(+), 4 deletions(-) - -commit e0dbf99b4497be305d689a528282fd37214e7f1c -Author: Behdad Esfahbod -Date: Thu Sep 5 16:00:47 2013 -0400 - - [introspection] Pass source files to scanner - - src/Makefile.am | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit 5a5350b39b81e0128d36ebc81307a6d698a4dc50 -Author: Behdad Esfahbod -Date: Tue Sep 3 20:11:01 2013 -0400 - - Revert "Round when scaling values" - - This reverts commit 10f964623f003c70f6bdd33423420abda3820ce0. - - See discussion with Khaled Hosny on mailing list. In short, since - integers here can be negative, and int division is "round towards - zero", proper rounding should take sign into account. Just skip - doing it again, has been serving us well before. - - TODO | 2 ++ - src/hb-font-private.hh | 6 +----- - 2 files changed, 3 insertions(+), 5 deletions(-) - -commit 74ff41c3a573bdf74b60623065eb92a49f055893 -Author: Behdad Esfahbod -Date: Tue Sep 3 20:09:14 2013 -0400 - - Minor - - Makefile.am | 2 ++ - 1 file changed, 2 insertions(+) - -commit 63dd4b0ac2076fe9cc3dfe5d31ef3616d4ed01e5 -Author: Behdad Esfahbod -Date: Tue Sep 3 20:01:40 2013 -0400 - - [gtk-doc] Remove hack for deleting tmpl/ - - This was introduced in 029f46bde7e39094d3decb46525e91a97c5cc02c - and was in fact a bug in gtk-doc master: - - https://bugzilla.gnome.org/show_bug.cgi?id=707426 - - docs/reference/Makefile.am | 5 ----- - 1 file changed, 5 deletions(-) - -commit 213001aa99003422199245e96878f9fe348c55b4 -Author: Behdad Esfahbod -Date: Tue Sep 3 20:00:16 2013 -0400 - - [build] Fix EXTRA_DIST - - I was under the impression that EXTRA_DISTs will happen regardless of - automake conditionals. Apparently I was wrong. - - src/Makefile.am | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - -commit 1e994a8fcc94dfea42a6cbfe23a401142d79a1a6 -Author: Behdad Esfahbod -Date: Tue Sep 3 18:11:47 2013 -0400 - - [gtk-doc] Copy makefile - - autogen.sh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 81a007ffad683e53f12093a0c9e30112106f415d -Author: Behdad Esfahbod -Date: Fri Aug 30 19:45:13 2013 -0400 - - [TODO] Update - - TODO | 6 ++---- - 1 file changed, 2 insertions(+), 4 deletions(-) - -commit a2a28235e8131a1e1d4b8c3d0933df5cf056bbc6 -Author: Behdad Esfahbod -Date: Fri Aug 30 19:38:47 2013 -0400 - - [gtk-doc] Generate version.xml from configure - - Even though this is not what autoconf recommends, it reduces doc - rebuilds when version doesn't change but configure changes. - - configure.ac | 1 + - docs/reference/Makefile.am | 11 +++-------- - docs/reference/version.xml.in | 1 + - 3 files changed, 5 insertions(+), 8 deletions(-) - -commit ac1b723917d9b8f247a350f8d3e1bc5d1e472073 -Author: Behdad Esfahbod -Date: Fri Aug 30 19:32:10 2013 -0400 - - Remove hb-old and hb-icu-le test shapers - - They've been disabled for a while and no one cared. We're past - the point to need them for testing, and if we ever need to - resurrect them again, well, they're in git graveyard somewhere. - - configure.ac | 23 +- - src/Makefile.am | 28 +- - src/hb-icu-le.cc | 265 -- - src/hb-icu-le/COPYING | 2 - - src/hb-icu-le/FontTableCache.cpp | 91 - - src/hb-icu-le/FontTableCache.h | 48 - - src/hb-icu-le/Makefile.am | 25 - - src/hb-icu-le/PortableFontInstance.cpp | 275 -- - src/hb-icu-le/PortableFontInstance.h | 119 - - src/hb-icu-le/README | 3 - - src/hb-icu-le/cmaps.cpp | 200 -- - src/hb-icu-le/cmaps.h | 87 - - src/hb-icu-le/letest.h | 63 - - src/hb-icu-le/license.html | 51 - - src/hb-icu-le/sfnt.h | 453 --- - src/hb-old.cc | 410 --- - src/hb-old/COPYING | 24 - - src/hb-old/Makefile.am | 56 - - src/hb-old/README | 7 - - src/hb-old/harfbuzz-arabic.c | 1150 ------ - src/hb-old/harfbuzz-buffer-private.h | 107 - - src/hb-old/harfbuzz-buffer.c | 383 -- - src/hb-old/harfbuzz-buffer.h | 102 - - src/hb-old/harfbuzz-external.h | 106 - - src/hb-old/harfbuzz-gdef-private.h | 135 - - src/hb-old/harfbuzz-gdef.c | 1163 ------ - src/hb-old/harfbuzz-gdef.h | 140 - - src/hb-old/harfbuzz-global.h | 125 - - src/hb-old/harfbuzz-gpos-private.h | 729 ---- - src/hb-old/harfbuzz-gpos.c | 6094 -------------------------------- - src/hb-old/harfbuzz-gpos.h | 155 - - src/hb-old/harfbuzz-greek.c | 447 --- - src/hb-old/harfbuzz-gsub-private.h | 483 --- - src/hb-old/harfbuzz-gsub.c | 4329 ----------------------- - src/hb-old/harfbuzz-gsub.h | 148 - - src/hb-old/harfbuzz-hangul.c | 268 -- - src/hb-old/harfbuzz-hebrew.c | 187 - - src/hb-old/harfbuzz-impl.c | 84 - - src/hb-old/harfbuzz-impl.h | 135 - - src/hb-old/harfbuzz-indic.cpp | 1868 ---------- - src/hb-old/harfbuzz-khmer.c | 642 ---- - src/hb-old/harfbuzz-myanmar.c | 511 --- - src/hb-old/harfbuzz-open-private.h | 102 - - src/hb-old/harfbuzz-open.c | 1433 -------- - src/hb-old/harfbuzz-open.h | 288 -- - src/hb-old/harfbuzz-shaper-all.cpp | 37 - - src/hb-old/harfbuzz-shaper-private.h | 159 - - src/hb-old/harfbuzz-shaper.cpp | 996 ------ - src/hb-old/harfbuzz-shaper.h | 265 -- - src/hb-old/harfbuzz-stream-private.h | 81 - - src/hb-old/harfbuzz-stream.c | 114 - - src/hb-old/harfbuzz-stream.h | 51 - - src/hb-old/harfbuzz-tibetan.c | 249 -- - src/hb-old/harfbuzz.h | 38 - - 54 files changed, 2 insertions(+), 25532 deletions(-) - -commit b94243d6a9457864ad8ef3ad47ad01985b138862 -Author: Behdad Esfahbod -Date: Fri Aug 30 18:41:33 2013 -0400 - - [g-i] Rename library from harfbuzz to HarfBuzz - - src/Makefile.am | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - -commit f730b5d1e2369762952481f1a2d3db26a2b48015 -Author: Behdad Esfahbod -Date: Thu Aug 29 15:53:33 2013 -0400 - - 0.9.20 - - NEWS | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ - configure.ac | 2 +- - 2 files changed, 49 insertions(+), 1 deletion(-) - -commit b0e03508bad04d7dcf2c50ac81f6261425b34c5f -Author: Behdad Esfahbod -Date: Thu Aug 29 15:56:32 2013 -0400 - - Dist with gobject and introspection enabled - - Makefile.am | 2 ++ - 1 file changed, 2 insertions(+) - -commit e4ce6745e15eab33ed693874e7a56981f4d6f79a -Author: Behdad Esfahbod -Date: Thu Aug 29 15:56:16 2013 -0400 - - [gtk-doc] Fix build without gobject - - docs/reference/Makefile.am | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 263372f15ffdf4c0e4386133f64ff389ba73de33 -Author: Behdad Esfahbod -Date: Wed Aug 28 13:43:54 2013 -0400 - - Remove gtk-doc.make - - It's copied by gtk-docize. - - gtk-doc.make | 302 ----------------------------------------------------------- - 1 file changed, 302 deletions(-) - -commit 79d754efeef89543d51775b110e8bd49cf7e699b -Author: Behdad Esfahbod -Date: Wed Aug 28 13:43:35 2013 -0400 - - Fix build - - configure.ac | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 71ef22b04d466803076af1da6763fecab95ce5bb -Author: Behdad Esfahbod -Date: Wed Aug 28 12:52:55 2013 -0400 - - Turn hb-gobject, and introspection off by default - - Also enable bootstrapping without them. - - configure.ac | 39 ++++++++++++++++++++++++++++++++++----- - src/Makefile.am | 5 +++-- - 2 files changed, 37 insertions(+), 7 deletions(-) - -commit d8f507099b9ae5f0c643fb8dddbb069df6f62a94 -Author: Behdad Esfahbod -Date: Mon Aug 26 21:26:24 2013 -0400 - - Hookup harfbuzz-gobject to introspection - - src/Makefile.am | 16 +++++++++++++--- - 1 file changed, 13 insertions(+), 3 deletions(-) - -commit 71439a8c7ae9df25193bc3ad0f203117d2884a19 -Author: Behdad Esfahbod -Date: Mon Aug 26 20:56:58 2013 -0400 - - [gobject] Flesh out hb-gobject - - Move it to new harfbuzz-gobject library. Implement enums and - boxed types for object-types. Still have to do boxed types for - value types. - - configure.ac | 12 ++++- - docs/reference/Makefile.am | 12 ++++- - docs/reference/harfbuzz-docs.xml | 3 ++ - docs/reference/harfbuzz-sections.txt | 48 +++++++++++++++++++- - src/Makefile.am | 48 +++++++++++++------- - src/harfbuzz-gobject.pc.in | 12 +++++ - src/hb-gobject-enums.cc.tmpl | 11 +++-- - src/hb-gobject-enums.h.tmpl | 55 +++++++++++++++++++++++ - src/hb-gobject-structs.cc | 84 +++++++++++++++++++++++++++------- - src/hb-gobject-structs.h | 87 ++++++++++++++++++++++++++++++++++++ - src/hb-gobject.h | 38 ++-------------- - 11 files changed, 333 insertions(+), 77 deletions(-) - -commit 23027f7611b53b594e4b4008e916e42b5154f6ac -Author: Behdad Esfahbod -Date: Thu Aug 22 19:03:21 2013 -0400 - - [introspection] Enable gobject-introspection again - - configure.ac | 7 ++++--- - src/Makefile.am | 49 ++++++++++++++++++++++++++++--------------------- - 2 files changed, 32 insertions(+), 24 deletions(-) - -commit 757a7a9018577dcc399be03dc45a59589585d2fb -Author: Behdad Esfahbod -Date: Wed Aug 28 12:35:13 2013 -0400 - - [uniscribe] Fixed build with wide chars - - https://github.com/blinkseb/harfbuzz/commit/f65dafa4138e1fb4395bf646fa33bb01a86a7e9a - - src/hb-uniscribe.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 4dc798de19c767b91fd3025c85593fa6809d1340 -Author: Behdad Esfahbod -Date: Mon Aug 26 20:39:00 2013 -0400 - - Add hb-deprecated.h, and rename a couple enum values - - Add deprecated alias for old name. - - src/Makefile.am | 1 + - src/hb-buffer.cc | 4 ++-- - src/hb-buffer.h | 8 +++---- - src/hb-common.h | 5 ----- - src/hb-deprecated.h | 51 ++++++++++++++++++++++++++++++++++++++++++++ - src/hb.h | 1 + - src/test-buffer-serialize.cc | 2 +- - test/api/test-buffer.c | 2 +- - util/Makefile.am | 1 + - util/hb-shape.cc | 2 +- - util/options.hh | 2 +- - 11 files changed, 64 insertions(+), 15 deletions(-) - -commit 2e3a07abdf97b0ad2105c3a52f3ff0e0b60b29c4 -Author: Behdad Esfahbod -Date: Mon Aug 26 18:49:07 2013 -0400 - - Separate face source code from font - - Makes documentation / introspection easier. - - Android.mk | 1 + - docs/reference/harfbuzz-docs.xml | 1 + - docs/reference/harfbuzz-sections.txt | 6 +- - src/Makefile.am | 3 + - src/hb-face-private.hh | 108 ++++++++++++ - src/hb-face.cc | 311 +++++++++++++++++++++++++++++++++++ - src/hb-face.h | 117 +++++++++++++ - src/hb-font-private.hh | 67 +------- - src/hb-font.cc | 269 ------------------------------ - src/hb-font.h | 75 +-------- - src/hb.h | 1 + - 11 files changed, 549 insertions(+), 410 deletions(-) - -commit d3490761e11ae308fbd8aaf02059653f579035c5 -Author: Behdad Esfahbod -Date: Mon Aug 26 21:15:29 2013 -0400 - - Improve check-includes.sh - - src/check-includes.sh | 10 ++++++---- - 1 file changed, 6 insertions(+), 4 deletions(-) - -commit 381f2fb5e664715d67ffc9a234b0fd8aa540fada -Author: Behdad Esfahbod -Date: Mon Aug 26 19:20:38 2013 -0400 - - Minor - - docs/reference/Makefile.am | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit ac1f09b53e2c5d14c874e4d9f1b25b03ea1d1c44 -Author: Behdad Esfahbod -Date: Mon Aug 26 18:50:12 2013 -0400 - - [gtk-doc] Fix maintainer-clean rule - - docs/reference/Makefile.am | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit 38b8b40526a85f33521542e24d1e0c82588efc85 -Author: Behdad Esfahbod -Date: Tue Aug 27 11:44:09 2013 -0400 - - Fix possible snprintf OOM - - https://bugzilla.redhat.com/show_bug.cgi?id=1001645 - - src/hb-buffer-serialize.cc | 14 +++++++------- - src/hb-font-private.hh | 3 ++- - src/hb-shape.cc | 6 +++--- - 3 files changed, 12 insertions(+), 11 deletions(-) - -commit d22548c0e362cc9447557440af9ecbb11badfa78 -Author: Behdad Esfahbod -Date: Mon Aug 26 18:46:21 2013 -0400 - - [check-*] Minor - - src/check-c-linkage-decls.sh | 4 ++-- - src/check-header-guards.sh | 4 ++-- - src/check-includes.sh | 4 ++-- - 3 files changed, 6 insertions(+), 6 deletions(-) - -commit 029f46bde7e39094d3decb46525e91a97c5cc02c -Author: Behdad Esfahbod -Date: Mon Aug 26 18:11:07 2013 -0400 - - [gtk-doc] Remove tmpl in make maintainer-clean - - docs/reference/Makefile.am | 3 +++ - 1 file changed, 3 insertions(+) - -commit dddf990c3687a47297eafc82b54fa96842e68003 -Author: Behdad Esfahbod -Date: Mon Aug 26 17:58:25 2013 -0400 - - [git.mk] Update - - git.mk | 17 +++++++++++++---- - 1 file changed, 13 insertions(+), 4 deletions(-) - -commit 700a15fe4b80da9c67befd85ae10a166f5b65962 -Author: Behdad Esfahbod -Date: Mon Aug 26 17:49:36 2013 -0400 - - Add HB_DISABLE_DEPRECATED - - That moment that you have to accept that you made API mistakes... - - docs/reference/Makefile.am | 2 +- - docs/reference/harfbuzz-sections.txt | 8 +++++--- - src/hb-common.h | 4 +++- - 3 files changed, 9 insertions(+), 5 deletions(-) - -commit ddc456a519a9a59e96f9d7fcad988369e0a8842b -Author: Behdad Esfahbod -Date: Mon Aug 26 17:34:18 2013 -0400 - - [travis] Add graphite2 - - .travis.yml | 1 + - 1 file changed, 1 insertion(+) - -commit f7c72b42efb8d42859023659fd2e3d589523436d -Author: Anthony Carrico -Date: Sun Feb 24 13:00:33 2013 -0500 - - [gtk-doc] Initial setup - - Initial setup of gtk-doc. Straight forward setup following the gtk-doc - instructions. Ignore some troublesome types in src/hb-gobject.h. To - build use "./autogen.sh --enable-gtk-doc" then "make". Docs are in - harfbuzz/docs/reference/html/index.html. - - .travis.yml | 10 +- - Makefile.am | 7 +- - autogen.sh | 7 + - configure.ac | 7 +- - docs/Makefile.am | 1 + - docs/reference/Makefile.am | 109 +++++++++ - docs/reference/harfbuzz-docs.xml | 61 +++++ - docs/reference/harfbuzz-overrides.txt | 0 - docs/reference/harfbuzz-sections.txt | 431 ++++++++++++++++++++++++++++++++++ - gtk-doc.make | 302 ++++++++++++++++++++++++ - src/Makefile.am | 2 +- - src/hb-gobject.h | 3 +- - 12 files changed, 931 insertions(+), 9 deletions(-) - -commit 3409fb1c767118067cf7edfb97068936b6f4b717 -Author: Behdad Esfahbod -Date: Wed Aug 21 17:22:21 2013 -0400 - - [uniscribe] Ask Uniscribe to return shaping results in logical order - - See discussion on the list in the thread "Arabic presentation forms - and the uniscribe backend". - - Based on patch from Jonathan Kew. - - src/hb-uniscribe.cc | 24 ++++++++++++------------ - 1 file changed, 12 insertions(+), 12 deletions(-) - -commit 1d05fdd09fa271b641f30a2138171e6fafcd8db7 -Author: Behdad Esfahbod -Date: Tue Aug 20 13:22:21 2013 -0400 - - [uniscribe] Print run info - - src/hb-uniscribe.cc | 8 ++++++++ - 1 file changed, 8 insertions(+) - -commit 3613696b57225111507a3f4263f5fa6937d0bc72 -Author: Behdad Esfahbod -Date: Mon Aug 12 00:33:28 2013 -0400 - - [coretext] Fully support user features - - Based on patch from Jonathan Kew and data from Apple. - - It's not working correctly though, and I suspect I'm hitting a bug in - CoreText. When I do this: - - hb-shape /Library/Fonts/Zapfino.ttf ZapfinoZapfino --shaper coretext \ - --features=-liga - - I expect both ligatures to turn off, but only the second one does: - - [Z_a_p_f_i_n_o=0+2333|Z=7+395|a=8+285|p_f=9+433|i=11+181|n=12+261|o=13+250] - - whereas if I disable 'dlig' instead of 'liga', both are turned off. - Smells... - - Doesn't resolve conflicting feature settings. - - src/hb-coretext.cc | 446 +++++++++++++++++++++++++++++++++++++++++++++++----- - src/hb-uniscribe.cc | 2 +- - 2 files changed, 404 insertions(+), 44 deletions(-) - -commit 54e6f6c588a164f7de62ff88b3eff4f25adb8f17 -Author: Behdad Esfahbod -Date: Fri Aug 9 14:34:54 2013 -0400 - - Clean up list of Unicode scripts - - Rename HB_SCRIPT_CANADIAN_ABORIGINAL to HB_SCRIPT_CANADIAN_SYLLABICS - and a macro for the old name. - - src/hb-common.h | 277 ++++++++++++++++++++----------------- - src/hb-glib.cc | 2 +- - src/hb-ot-shape-complex-private.hh | 2 + - src/hb-ucdn.cc | 2 +- - test/api/test-unicode.c | 2 +- - 5 files changed, 153 insertions(+), 132 deletions(-) - -commit 7cd4a715848c44be9aec6b6b622cfc2a60b1a5a9 -Author: Behdad Esfahbod -Date: Fri Aug 9 09:41:48 2013 -0400 - - Update TODO - - TODO | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 515a0ac81e531c95b1bb7f1a3c5df73a9e64b14f -Author: Behdad Esfahbod -Date: Fri Aug 9 09:40:59 2013 -0400 - - Fix compiler warning - - src/hb-ot-layout-common-private.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 10f964623f003c70f6bdd33423420abda3820ce0 -Author: Behdad Esfahbod -Date: Fri Aug 9 09:40:01 2013 -0400 - - Round when scaling values - - Doesn't matter for most users since they should be working in a - fixed sub-pixel scale anyway (ie. 22.10, 26.6, 16.16, etc). - - TODO | 2 -- - src/hb-font-private.hh | 6 +++++- - 2 files changed, 5 insertions(+), 3 deletions(-) - -commit df8f70ae5de6181d56efa3f076f14e4d52119a5e -Author: Behdad Esfahbod -Date: Fri Aug 9 09:35:10 2013 -0400 - - Minor - - src/hb-font-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit ce8badf1808f9fbdd9a22e9215c7475d3afde5ed -Author: Behdad Esfahbod -Date: Fri Aug 9 09:31:06 2013 -0400 - - Minor - - src/hb-font-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit d71c0df2d17f4590d5611239577a6cb532c26528 -Author: Behdad Esfahbod -Date: Fri Aug 9 09:28:32 2013 -0400 - - Remove vrt2, vkrn, vpal, and valt from default vertical features - - See thread by John Dagget on the list. - - TODO | 2 -- - src/hb-ot-shape.cc | 9 --------- - 2 files changed, 11 deletions(-) - -commit a782a5e9a37c8733ac2830410a514d38635b543a -Author: Behdad Esfahbod -Date: Wed Aug 7 21:08:54 2013 -0400 - - [coretext] Start adding support for features - - Unlike AAT, looks like with CoreText very few OT features can be mapped. - :( - - src/hb-coretext.cc | 65 +++++++++++++++++++++++++++++++++++++++++++++--------- - 1 file changed, 54 insertions(+), 11 deletions(-) - -commit bdd8873fd8ae5c794018f6edac242b0a8b62ff31 -Author: Behdad Esfahbod -Date: Wed Aug 7 17:58:25 2013 -0400 - - Revert "[Indic] don't apply 'calt' by default in Indic shaper" - - This reverts commit 952121007c6f6f374e4cf1734ebcfe2d2d71c71c. - - In light of discussion on the mailing list... - - src/hb-ot-shape-complex-indic.cc | 4 ---- - 1 file changed, 4 deletions(-) - -commit 9a175914d72187d0c3f50ddad50c9569649c3072 -Author: Behdad Esfahbod -Date: Wed Aug 7 17:26:13 2013 -0400 - - [uniscribe] Support feature ranges - - As Khaled pointed out, right now setting any features, turns kern - and possibly other features off. - - src/hb-uniscribe.cc | 232 ++++++++++++++++++++++++++++++++++++++++++++-------- - 1 file changed, 199 insertions(+), 33 deletions(-) - -commit 627af695e48ef10b6e634c34b723f7e7013467f6 -Author: Behdad Esfahbod -Date: Tue Aug 6 16:53:56 2013 -0400 - - More git.mk updates - - git.mk | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit 722252743d59e4cd53cb71720d823ea00b708ad8 -Author: Behdad Esfahbod -Date: Tue Aug 6 15:19:23 2013 -0400 - - Update git.mk - - git.mk | 37 +++++++++++++++++++++++-------------- - 1 file changed, 23 insertions(+), 14 deletions(-) - -commit 38d5c58d23fce38221689cda98cea1c3e42ed615 -Author: Behdad Esfahbod -Date: Tue Aug 6 14:45:36 2013 -0400 - - [uniscribe] Half-support user features - - Turning features on globally works now. - - src/hb-uniscribe.cc | 54 ++++++++++++++++++++++++++++++++++++++++++----------- - 1 file changed, 43 insertions(+), 11 deletions(-) - -commit 639afdc690c681a302080239a1967ce735ba5be5 -Author: Behdad Esfahbod -Date: Tue Aug 6 14:28:12 2013 -0400 - - Minor - - src/hb-private.hh | 14 +++++++++++--- - 1 file changed, 11 insertions(+), 3 deletions(-) - -commit 952121007c6f6f374e4cf1734ebcfe2d2d71c71c -Author: Jonathan Kew -Date: Tue Aug 6 10:36:14 2013 -0400 - - [Indic] don't apply 'calt' by default in Indic shaper - - src/hb-ot-shape-complex-indic.cc | 4 ++++ - 1 file changed, 4 insertions(+) - -commit 625678436c29100eef82d87e635b251030a18f60 -Author: Behdad Esfahbod -Date: Mon Aug 5 22:44:18 2013 -0400 - - Fix glyph closure with class==0 - - As reported by cibu. Untested. - - src/hb-ot-layout-common-private.hh | 29 +++++++++++++++++++++++++++++ - 1 file changed, 29 insertions(+) - -commit 580d5eb93af5bbbc64994b626d5e011e2c256d74 -Author: Behdad Esfahbod -Date: Sun Aug 4 16:55:21 2013 -0400 - - Don't apply 'dlig' by default - - Windows 8 doesn't, and the spec will be fixed. - - src/hb-ot-shape-complex-arabic.cc | 1 - - 1 file changed, 1 deletion(-) - -commit 48382e2f41499a91181bea0acc5792989d2485bb -Author: Behdad Esfahbod -Date: Tue Jul 30 18:25:39 2013 -0400 - - Minor - - src/hb-ot-layout-common-private.hh | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - -commit c461371419d186811d4bfc768e26535f48a807f4 -Author: Behdad Esfahbod -Date: Tue Jul 30 14:48:23 2013 -0400 - - [CoreText] Don't leak the CTLine object (and everything that hangs off it) - - Patch from Jonathan Kew. - - src/hb-coretext.cc | 2 ++ - 1 file changed, 2 insertions(+) - -commit 5fbc952524ac8840f007dc0136823a4ab6e25f70 -Author: Behdad Esfahbod -Date: Mon Jul 29 14:34:40 2013 -0400 - - Fix glyph name printing in hb-ot-shape-closure - - util/hb-ot-shape-closure.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 6fadd9dd7cc220f131c29946285831635afc8044 -Author: Behdad Esfahbod -Date: Fri Jul 26 10:33:06 2013 -0400 - - Apply 'mark' to Myanmar - - According to Andrew Glass: "The issue with Myanmar feature was - fixed via a servicing patch as soon as Windows 8 became available." - - src/hb-ot-shape-complex-myanmar.cc | 11 ----------- - 1 file changed, 11 deletions(-) - -commit 86522e493d071f395b5abf64289232bf8867ac29 -Author: Behdad Esfahbod -Date: Mon Jul 22 19:07:53 2013 -0400 - - Fix glyph closure recursion! - - src/hb-ot-layout-gsubgpos-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 74439d0aa10184451adc6c6469f5119be352ecbb -Author: Behdad Esfahbod -Date: Mon Jul 22 19:02:29 2013 -0400 - - Minor - - src/hb-ot-layout-gsubgpos-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 8b427c78efa988ed27a2a394146d73f59688707b -Author: Behdad Esfahbod -Date: Mon Jul 22 10:57:05 2013 -0400 - - [uniscribe] Sanitize font file - - src/hb-uniscribe.cc | 4 ++++ - 1 file changed, 4 insertions(+) - -commit 12ff69df21ac91ae21860db7000d9f9973d3da1a -Author: Behdad Esfahbod -Date: Mon Jul 22 10:52:12 2013 -0400 - - [uniscribe] Handle TTC when renaming font - - src/hb-uniscribe.cc | 31 ++++++++++++++++++------------- - 1 file changed, 18 insertions(+), 13 deletions(-) - -commit 05bad3b8c25a89bc0f20f99f9215e492f48f03fe -Author: Behdad Esfahbod -Date: Sun Jul 21 17:05:02 2013 -0400 - - [uniscribe] Use OT::* types - - src/hb-open-type-private.hh | 10 ++++- - src/hb-ot-name-table.hh | 4 +- - src/hb-uniscribe.cc | 107 +++++++++++++++++++++++--------------------- - 3 files changed, 66 insertions(+), 55 deletions(-) - -commit bdeea605fe597bff4430eaae3317189bb81ec76e -Author: Behdad Esfahbod -Date: Sun Jul 21 16:22:10 2013 -0400 - - [uniscribe] Move name generation into separate function - - src/hb-uniscribe.cc | 34 ++++++++++++++++++++++------------ - 1 file changed, 22 insertions(+), 12 deletions(-) - -commit 73f947e2a7bc5b29d731da2e9d1fafe958be839e -Author: Behdad Esfahbod -Date: Sun Jul 21 16:16:35 2013 -0400 - - [uniscribe] Use blob to pass data around - - src/hb-uniscribe.cc | 28 ++++++++++++++-------------- - 1 file changed, 14 insertions(+), 14 deletions(-) - -commit 8ac2e88deff3d069c19fd59d0fbbfb88a762b113 -Author: Behdad Esfahbod -Date: Sun Jul 21 16:06:49 2013 -0400 - - [uniscribe] Use unique font name - - When installing per-process fonts using AddFontMemResourceEx(), - if a font with the same family name is already installed, sometimes - that one gets used. Which is problematic for us. As such, we - now mangle the font to install a new 'name' table with a unique - name, which we then use to choose the font. - - Patch from Jonathan Kew. - - configure.ac | 2 +- - src/hb-uniscribe.cc | 136 ++++++++++++++++++++++++++++++++++++++++++++-------- - 2 files changed, 116 insertions(+), 22 deletions(-) - -commit 8751de50831338ce550601c34c17d152ad89c1fd -Author: Behdad Esfahbod -Date: Thu Jul 18 16:29:50 2013 -0400 - - Followup fix for 3f9e2dced298c3d00f31b2dfc38685bb071a3a22 - - During GSUB, if a ligation happens, subsequence context input matching - matches the new indexing. During GPOS however, the indices never - change. So just go one by one. - - Fixes 'dist' positioning with mmrtext.ttf and the following sequence: - - U+1014,U+1039,U+1011,U+1014,U+1039,U+1011,U+1014,U+1039,U+1011 - - Reported by Jonathan Kew. - - src/hb-ot-layout-gsubgpos-private.hh | 8 ++++++++ - 1 file changed, 8 insertions(+) - -commit 2b78d67e9f38f77086fbd9c3fd6f1c8c73927a51 -Author: Behdad Esfahbod -Date: Tue Jul 16 16:06:27 2013 -0400 - - 0.9.19 - - NEWS | 11 +++++++++++ - configure.ac | 2 +- - 2 files changed, 12 insertions(+), 1 deletion(-) - -commit e509d35cf1160f1449bc736b9445cdf61ab81d06 -Author: Behdad Esfahbod -Date: Thu Jul 11 14:56:45 2013 -0400 - - [ft] hb_ft_get_glyph_from_name fails for the name of glyph id 0 - - Based on patch from Jonathan Kew, as reported on the mailing list. - - src/hb-ft.cc | 9 +++++++++ - 1 file changed, 9 insertions(+) - -commit 29b596ac67806c44441e65f3ece227df0fe2bb63 -Author: Behdad Esfahbod -Date: Mon Jul 8 08:37:15 2013 -0600 - - [uniscribe] Fix buffer allocation - - Email from Jonathan Kew: - - My cygwin build kept aborting on certain test words when run with the - uniscribe backend. Turned out this was caused by a bug in the allocation - of scratch buffers in hb-uniscribe.cc. - - Commit 2a17f9568d9724e045d2c1d660e007f3acd747d9 introduced a new line - - ALLOCATE_ARRAY (SCRIPT_VISATTR, vis_attr, glyphs_size); - - but it failed to account for this in the computation of glyphs_size - (the number of glyphs for which scratch buffer space is available), - with the result that the vis_clusters array ends up overrunning the - end of the scratch buffer and clobbering the beginning of the buffer's - info[]. - - AFAICS, the vis_attr array is not actually used, so the simple fix is - to remove the line that allocates it. (If/when we -do- need to use - vis_attr for something, we'll need to add another term to the earlier - calculation of glyphs_size.) - - With this patch, the uniscribe backend runs reliably again. - - JK - - src/hb-uniscribe.cc | 1 - - 1 file changed, 1 deletion(-) - -commit 9245e98742667dfffe06523e8051beda1bc04811 -Author: Behdad Esfahbod -Date: Wed Jun 26 20:57:58 2013 -0400 - - [Indic] Add Javanese config - - We should add for other scripts too, send me the virama codepoint - and script name... - - src/hb-ot-shape-complex-indic.cc | 1 + - 1 file changed, 1 insertion(+) - -commit 5f85c80a07dd2d18348824866bf4e984ac711a24 -Author: Behdad Esfahbod -Date: Wed Jun 26 20:14:18 2013 -0400 - - [OT] Collect requiredFeature only if features are not provided - - As per Werner's report on the list. - - src/hb-ot-layout.cc | 22 +++++++++++----------- - 1 file changed, 11 insertions(+), 11 deletions(-) - -commit 3f9e2dced298c3d00f31b2dfc38685bb071a3a22 -Author: Behdad Esfahbod -Date: Wed Jun 26 19:46:55 2013 -0400 - - Fix contextual lookup recursion indexing - - See email thread "Skipping Control for Attaching Marks using OpenType" - from earlier this month. - - src/hb-ot-layout-gsubgpos-private.hh | 10 ++-------- - 1 file changed, 2 insertions(+), 8 deletions(-) - -commit f5da11e0fa5adf8f782883dc5c30d8faaafc9c27 -Merge: 79d1007a5 89312b741 -Author: Behdad Esfahbod -Date: Sat Jun 22 08:04:05 2013 -0700 - - Merge pull request #3 from LogosBible/master - - Destroy lookups before blobs. - -commit 89312b7417c0198a0635ca6b7e8ea11f6af2a4f8 -Author: Bradley Grainger -Date: Fri Jun 21 15:02:18 2013 -0700 - - Destroy lookups before blobs. - - 'layout->gsub' may depend on data owned by 'layout->gsub_blob', so it must - be deinitialized before the blob is destroyed. - - src/hb-ot-layout.cc | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 79d1007a501fd63c0ba4d51038c513e6b8b94740 -Author: Behdad Esfahbod -Date: Thu Jun 13 19:01:07 2013 -0400 - - If variation selector is not consumed by cmap, pass it on to GSUB - - This changes the semantics of get_glyph() callback and expect that - callbacks return false if the requested variant is not available, and - then we will call them back with variation_selector=0 and will retain - the glyph for the selector in the glyph stream. - - Apparently most Mongolian fonts implement the Mongolian Variation - Selectors using GSUB, not cmap. - - https://bugs.freedesktop.org/show_bug.cgi?id=65258 - - Note that this doesn't fix the Mongolian shaping yet, because the way - that's implemented is that the, say, 'init' feature ligates the letter - and the variation-selector. However, since currently the variation - selector doesn't have the 'init' mask on, it will not be matched... - - src/hb-ft.cc | 3 +-- - src/hb-ot-shape-normalize.cc | 14 ++++++++++++-- - 2 files changed, 13 insertions(+), 4 deletions(-) - -commit c7a84917208528040aaf9ad0a9a0b26aabeabc9c -Author: Behdad Esfahbod -Date: Thu Jun 6 20:17:32 2013 -0400 - - Skip over multiple variation selectors in a row - - src/hb-ot-shape-normalize.cc | 6 ++++++ - 1 file changed, 6 insertions(+) - -commit 7235f33f9e5e031622a00a84f4b2e98f16803579 -Author: Behdad Esfahbod -Date: Mon Jun 10 14:39:51 2013 -0400 - - Fix misc warnings reported by cppcheck - - https://bugs.freedesktop.org/show_bug.cgi?id=65544 - - src/hb-common.cc | 2 +- - src/hb-coretext.cc | 3 --- - src/hb-font-private.hh | 17 +++++++++++------ - src/hb-private.hh | 2 +- - src/hb-shape.cc | 2 +- - test/api/test-font.c | 1 - - util/ansi-print.cc | 1 + - util/hb-ot-shape-closure.cc | 5 +++-- - util/hb-shape.cc | 5 ++++- - util/shape-consumer.hh | 6 ++++-- - util/view-cairo.hh | 6 ++++-- - 11 files changed, 30 insertions(+), 20 deletions(-) - -commit 570bcccd3f41b9aecd51765a401299833a6d8ebd -Author: Behdad Esfahbod -Date: Mon Jun 10 13:56:51 2013 -0400 - - Fix PKG_CHECK_MODULES usage - - Oops. - - Bug 65246 - Fix build without graphite2 - - configure.ac | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 270cfd7a9c01dfb1b1789929f020943ad63aca99 -Author: Behdad Esfahbod -Date: Thu Jun 6 18:57:15 2013 -0400 - - Fix PKG_CHECK_MODULES usage - - Bug 65246 - Fix build without graphite2 - - If we don't provide ACTION-IF-NOT-FOUND, configure aborts if it can't - find the libraries. We handle that ourselves so we don't want the - macro to abort. - - configure.ac | 16 ++++++++-------- - 1 file changed, 8 insertions(+), 8 deletions(-) - -commit 2fd0e02706857bcaf61bf5151657eac96cfa73b9 -Author: Behdad Esfahbod -Date: Thu Jun 6 17:16:01 2013 -0400 - - Minor - - src/Makefile.am | 14 +++++++------- - 1 file changed, 7 insertions(+), 7 deletions(-) - -commit b4c5c52944a44ba863a22a53035ff561af7318ca -Author: Chun-wei Fan -Date: Mon Jun 3 17:55:29 2013 +0800 - - util/ansi-print.cc: Use fallback implementation for lround on MSVC - - Unfortuately Visual Studio (still) does not support the C99 function - lround, so provide a fallback implementation for it. - - util/ansi-print.cc | 11 +++++++++++ - 1 file changed, 11 insertions(+) - -commit a4446b10bfe0a9e7236bf941fa69a96697939e11 -Author: Behdad Esfahbod -Date: Mon Jun 3 18:39:14 2013 -0400 - - Fix build for C89 compilers - - test/api/test-buffer.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 4ddf937242048c4a044ada4559e26664a0c09b48 -Author: Behdad Esfahbod -Date: Mon Jun 3 18:36:26 2013 -0400 - - Remove unnecessary stdint.h include - - src/hb-ucdn/ucdn.c | 1 - - 1 file changed, 1 deletion(-) - -commit 93a04b8b5e6d8067cb925fdf532aadc24c1d4861 -Author: Chun-wei Fan -Date: Mon Jun 3 17:49:37 2013 +0800 - - hb-uniscribe.cc: Re-enable build under Visual Studio - - -Declare hinstLib at the top of block - -Fix the definitions of the typedefs of ScriptItemizeOpenType, - ScriptShapeOpenType and ScriptPlaceOpenType - - src/hb-uniscribe.cc | 9 +++++---- - 1 file changed, 5 insertions(+), 4 deletions(-) - -commit 280e52ae95df0cbee0bb305f5354381bc1d563f4 -Author: Behdad Esfahbod -Date: Thu May 30 18:04:24 2013 -0400 - - Fix ChangeLog regen - - Makefile.am | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit c1824daefa1253507636e4bfdf46374f835f10b3 -Author: Behdad Esfahbod -Date: Wed May 29 15:30:54 2013 -0400 - - Update TODO - - TODO | 14 +++++++------- - 1 file changed, 7 insertions(+), 7 deletions(-) - -commit 2966d3603259430800cb5880491d28a1c5ea2314 -Author: Behdad Esfahbod -Date: Tue May 28 17:34:37 2013 -0400 - - Fix test build - - test/api/Makefile.am | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 6873f6cc42aa1405e71be903bd0f39a7a15320ce -Author: Behdad Esfahbod -Date: Tue May 28 17:33:16 2013 -0400 - - Minor - - TODO | 2 -- - 1 file changed, 2 deletions(-) - -commit 4014aa4e53bddb29d939a168bd733942d3683732 -Author: Behdad Esfahbod -Date: Tue May 28 17:28:59 2013 -0400 - - 0.9.18 - - NEWS | 28 ++++++++++++++++++++++++++++ - configure.ac | 2 +- - 2 files changed, 29 insertions(+), 1 deletion(-) - -commit d70be29831bb99e34fe18744129088f45d5b2023 -Author: Behdad Esfahbod -Date: Tue May 28 17:23:56 2013 -0400 - - Fix dist - - src/Makefile.am | 4 ++++ - 1 file changed, 4 insertions(+) - -commit 22ce0961742df0a213f2cc86ca3d5a72453c00b1 -Author: Behdad Esfahbod -Date: Tue May 28 17:18:30 2013 -0400 - - Generate harfbuzz-icu.pc - - Currently it only works with ICU that has .pc files. I'll - wait till someone complains before fixing it for icu-config - systems. - - Makefile.am | 3 --- - configure.ac | 5 ++--- - harfbuzz.pc.in | 11 ----------- - src/Makefile.am | 13 +++++++++++++ - src/harfbuzz-icu.pc.in | 13 +++++++++++++ - src/harfbuzz.pc.in | 11 +++++++++++ - 6 files changed, 39 insertions(+), 17 deletions(-) - -commit d9afa111330771461b6182ada9f4edd68bcfce77 -Author: Behdad Esfahbod -Date: Tue May 28 15:27:40 2013 -0400 - - Build hb-icu into libharfbuzz-icu.so - - src/Makefile.am | 29 +++++++++++++++-------------- - src/hb-unicode.cc | 2 +- - test/api/Makefile.am | 1 + - 3 files changed, 17 insertions(+), 15 deletions(-) - -commit 7d395c2a255a44fd0d65365ea9b525dba70c062c -Author: Behdad Esfahbod -Date: Tue May 28 15:25:06 2013 -0400 - - Minor - - test/api/test-c.c | 4 ++++ - 1 file changed, 4 insertions(+) - -commit 2a17f9568d9724e045d2c1d660e007f3acd747d9 -Author: Behdad Esfahbod -Date: Tue May 28 13:10:51 2013 -0400 - - Bug 55494 - ScriptItemizeOpenType doesn't exists under Windows XP - - Fallback to older API if OpenType variants are not available. - - configure.ac | 14 +-- - src/hb-uniscribe.cc | 322 +++++++++++++++++++++++++++++++++++++++++++--------- - 2 files changed, 271 insertions(+), 65 deletions(-) - -commit f8087ffbadc83a15d59367ba82976eae675736a7 -Author: Behdad Esfahbod -Date: Mon May 27 19:43:48 2013 -0400 - - Add --with-cairo - - configure.ac | 17 +++++++++++++++-- - 1 file changed, 15 insertions(+), 2 deletions(-) - -commit 82eddfe5d658ef791d6ef6a566401c50601dfb1c -Author: Behdad Esfahbod -Date: Mon May 27 19:33:36 2013 -0400 - - Add --with-freetype - - Defaults to auto. - - configure.ac | 12 +++++++++++- - 1 file changed, 11 insertions(+), 1 deletion(-) - -commit 5e25eb77a49e7f95b6a6d540b26d60d430f89d4c -Author: Behdad Esfahbod -Date: Mon May 27 19:30:48 2013 -0400 - - Default glib to auto again - - configure.ac | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit eb63e786f37468867c81707504128cf8a4016e5b -Author: Behdad Esfahbod -Date: Mon May 27 19:29:09 2013 -0400 - - Add --with-coretext - - Defaults to no. - - configure.ac | 12 +++++++++++- - 1 file changed, 11 insertions(+), 1 deletion(-) - -commit ab2af17bc6faa8394656e6e82948dc3e9f437626 -Author: Behdad Esfahbod -Date: Mon May 27 19:27:43 2013 -0400 - - Add --with-uniscribe - - Defaults to no. - - configure.ac | 55 +++++++++++++++++++++++++++++++++++++++---------------- - 1 file changed, 39 insertions(+), 16 deletions(-) - -commit 58db2c2542717858acbdf480b3f19a8aef4918cd -Author: Behdad Esfahbod -Date: Mon May 27 19:10:33 2013 -0400 - - Disable UCDN if glib is available - - We only want UCDN if we don't have any other Unicode provider. - I'm going to remove ICU from the list of default Unicode providers - as part of moving hb-icu into its own library. As such, the only - providers will be UCDN and glib. - - configure.ac | 3 +++ - 1 file changed, 3 insertions(+) - -commit ca65326cbd49b48792c4e3125af6c5006364f194 -Author: Behdad Esfahbod -Date: Mon May 27 19:09:50 2013 -0400 - - Minor - - configure.ac | 16 ++++++++-------- - 1 file changed, 8 insertions(+), 8 deletions(-) - -commit 7ae14973ecb4614a83769d2bbd01f33d8474ffc0 -Author: Behdad Esfahbod -Date: Mon May 27 19:06:50 2013 -0400 - - Disable icu_le shaper - - Will add a way to enable it later. - - configure.ac | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 7e6ebf76236cc5ea69302e68186bdf8166d04a98 -Author: Behdad Esfahbod -Date: Mon May 27 19:05:23 2013 -0400 - - Remove icu-config fallback for icu_le shaper - - Bug 64878 - compile error with ICU but not ICU - - configure.ac | 18 ------------------ - 1 file changed, 18 deletions(-) - -commit 932b7471479c639244051b4dbae678e7d47ae99f -Author: Behdad Esfahbod -Date: Mon May 27 19:04:40 2013 -0400 - - Bug 65053 - Add configure option to enable/disable ICU support - - configure.ac | 46 ++++++++++++++++++++++++++++------------------ - 1 file changed, 28 insertions(+), 18 deletions(-) - -commit cf2c1c7eb81b54a344ed5cf36d5fbd3cd297eed1 -Author: Behdad Esfahbod -Date: Mon May 27 18:54:30 2013 -0400 - - Disable hb-old shaper - - Will add proper way to enable it later. - - configure.ac | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 5a78d23f255a649353044af8e5df315f62907b7f -Author: Behdad Esfahbod -Date: Mon May 27 18:47:58 2013 -0400 - - Bug 65054 - Add configure option to enable/disable Graphite2 - - Add --with-graphite2. Defaults to off. - - configure.ac | 20 +++++++++++++++----- - 1 file changed, 15 insertions(+), 5 deletions(-) - -commit 61e7775fa75c7c1bdc29a6992c8c215897364600 -Author: Behdad Esfahbod -Date: Mon May 27 18:24:56 2013 -0400 - - Remove hb-icu dependency from hb-icu-le shaper - - src/hb-icu-le.cc | 33 +++++++++++++++++++++++++++++---- - 1 file changed, 29 insertions(+), 4 deletions(-) - -commit 7e08f1258da229dfaf7e1c4b5c41e5bb83906cb0 -Author: Behdad Esfahbod -Date: Mon May 27 14:48:34 2013 -0400 - - Don't zero advance of mark-non-mark ligatures - - If there's a mark ligating forward with non-mark, they were - inheriting the GC of the mark and later get advance-zeroed. - Don't do that if there's any non-mark glyph in the ligature. - - Sample test: U+1780,U+17D2,U+179F with Kh-Metal-Chrieng.ttf - - Also: - Bug 58922 - Issue with mark advance zeroing in generic shaper - - src/hb-ot-layout-gsubgpos-private.hh | 4 ++++ - src/hb-ot-layout-private.hh | 6 ++++++ - 2 files changed, 10 insertions(+) - -commit cf059ac69d10d9eb09f0d2a29b1bd989647bd800 -Author: Behdad Esfahbod -Date: Fri May 24 15:28:11 2013 -0400 - - [icu_le] Support non-BMP text - - src/hb-icu-le.cc | 35 ++++++++++++++++++++++++++++------- - 1 file changed, 28 insertions(+), 7 deletions(-) - -commit a447c528e68cabc9ca6e24e2c436f3d605ef9aaa -Author: Behdad Esfahbod -Date: Thu May 23 17:05:39 2013 -0400 - - [icu_le] A bit better scaling - - src/hb-icu-le.cc | 10 ++++++---- - 1 file changed, 6 insertions(+), 4 deletions(-) - -commit fb502a22787f4110472771ef771619342e64577a -Merge: b9408d24f 9d9e72e94 -Author: Behdad Esfahbod -Date: Thu May 23 15:54:52 2013 -0400 - - Merge commit '9d9e72e94e7914f82ce62a304e7242f79c13edaf' - -commit b9408d24f3029f5287b17779235b1c750ff5158a -Author: Behdad Esfahbod -Date: Thu May 23 15:43:02 2013 -0400 - - [icu_le] Fix scaling - - Seems to work... - - src/hb-icu-le.cc | 2 ++ - src/hb-icu-le/PortableFontInstance.cpp | 23 +++++++++++++++-------- - src/hb-icu-le/PortableFontInstance.h | 9 ++++++++- - 3 files changed, 25 insertions(+), 9 deletions(-) - -commit 601526392dec5d8432f147c91658ba50ed6a4322 -Author: Behdad Esfahbod -Date: Tue May 21 17:22:13 2013 -0400 - - Copy stdint.h boilerplate to ucdn - - src/hb-ucdn/ucdn.h | 24 +++++++++++++++++++++++- - 1 file changed, 23 insertions(+), 1 deletion(-) - -commit f1b02f4f3c0db9fbfa6747188429df828b000010 -Author: Behdad Esfahbod -Date: Mon May 20 09:23:58 2013 -0400 - - 0.9.17 - - NEWS | 8 ++++++++ - configure.ac | 2 +- - 2 files changed, 9 insertions(+), 1 deletion(-) - -commit d785fa0c45f7f25f5e5f352b933a5f6fa29be5c0 -Author: Behdad Esfahbod -Date: Mon May 20 09:18:52 2013 -0400 - - Minor refactoring - - src/hb-ot-shape.cc | 54 ++++++++++++++++++++++++++++-------------------------- - 1 file changed, 28 insertions(+), 26 deletions(-) - -commit 127daf15e0b2f509ebd29a104236c8b38884efb0 -Author: Behdad Esfahbod -Date: Mon May 20 09:11:35 2013 -0400 - - Arabic mark width-zeroing regression - - Mozilla Bug 873902 - Display Arabic text with diacritics is bad - https://bugzilla.mozilla.org/show_bug.cgi?id=873902 - - src/hb-ot-shape-complex-arabic.cc | 2 +- - src/hb-ot-shape-complex-default.cc | 2 +- - src/hb-ot-shape-complex-myanmar.cc | 2 +- - src/hb-ot-shape-complex-private.hh | 6 ++++-- - src/hb-ot-shape-complex-thai.cc | 2 +- - src/hb-ot-shape.cc | 36 ++++++++++++++++++++++++++++-------- - 6 files changed, 36 insertions(+), 14 deletions(-) - -commit fa3d0a0ce60a9fcf2b7f906dec916463b1319eda -Author: Behdad Esfahbod -Date: Tue May 14 15:30:55 2013 -0400 - - Bug 64476 - Typo in hb_set_t.get_min() - - Fixes previous commit's test. - - src/hb-set-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit dfbd115e6c1a86a5f1b8d15200672f1e9410b5de -Author: Behdad Esfahbod -Date: Tue May 14 15:30:17 2013 -0400 - - [test] Add test for hb_set_get_min() bug - - Failing now. - - Bug 64476 - Typo in hb_set_t.get_min() - - test/api/test-set.c | 4 ++++ - 1 file changed, 4 insertions(+) - -commit 9d9e72e94e7914f82ce62a304e7242f79c13edaf -Author: Behdad Esfahbod -Date: Fri May 3 18:10:10 2013 -0400 - - [OTLayout] Use is_inplace() when flipping buffers - - src/hb-ot-layout.cc | 9 ++++++++- - 1 file changed, 8 insertions(+), 1 deletion(-) - -commit 45f3d980c9503bd94e64f6e3f67f97688347d00c -Author: Behdad Esfahbod -Date: Fri May 3 17:49:44 2013 -0400 - - [OTLayout] Merge / templateize apply_string() - - src/hb-ot-layout-gpos-table.hh | 25 --------------- - src/hb-ot-layout-gsub-table.hh | 48 ---------------------------- - src/hb-ot-layout.cc | 72 ++++++++++++++++++++++++++++++++++++++++-- - 3 files changed, 69 insertions(+), 76 deletions(-) - -commit e015b8f2187d1102b9c34d1a63504e7b05ee20ee -Author: Behdad Esfahbod -Date: Fri May 3 17:34:29 2013 -0400 - - [OTLayout] Minor - - src/hb-ot-layout-gpos-table.hh | 5 +++++ - 1 file changed, 5 insertions(+) - -commit 780cd930a974165d76dbf7a87701d11b7f15db06 -Author: Behdad Esfahbod -Date: Fri May 3 17:33:16 2013 -0400 - - [OTLayout] Minor - - src/hb-ot-layout-gpos-table.hh | 2 +- - src/hb-ot-layout-gsub-table.hh | 2 +- - src/hb-ot-layout.cc | 4 ++-- - 3 files changed, 4 insertions(+), 4 deletions(-) - -commit 2e0c44f4bedd3e24c731c0e9e23358e9a4891a35 -Author: Behdad Esfahbod -Date: Wed Apr 24 16:42:05 2013 -0400 - - [OTLayout] Add is_inplace() method to GSUB - - src/hb-ot-layout-gpos-table.hh | 8 +- - src/hb-ot-layout-gsub-table.hh | 58 ++++++++++++- - src/hb-ot-layout-gsubgpos-private.hh | 158 +++++++++++++++++++++++++++++++++++ - 3 files changed, 222 insertions(+), 2 deletions(-) - -commit bac1dd6a0ff4d4fae4254506d38ae662b7e9dda7 -Author: Behdad Esfahbod -Date: Thu May 2 18:52:24 2013 -0400 - - [OTLayout] Refactor a bit more - - src/hb-ot-layout-gsubgpos-private.hh | 10 +-- - src/hb-ot-layout-private.hh | 26 ++++---- - src/hb-ot-layout.cc | 100 ++++++++++++++--------------- - src/hb-ot-map-private.hh | 7 +- - src/hb-ot-shape-complex-arabic-fallback.hh | 7 +- - src/hb-ot-shape-fallback.cc | 3 +- - 6 files changed, 78 insertions(+), 75 deletions(-) - -commit d2c96819de9a7428b65ef0adf794416224221f36 -Author: Behdad Esfahbod -Date: Thu May 2 18:18:24 2013 -0400 - - Move code around - - src/hb-ot-layout.cc | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-ot-map.cc | 43 ------------------------------------------- - 2 files changed, 52 insertions(+), 43 deletions(-) - -commit 45fd9424c723f115ca98995b8f8a25185a6fc71d -Author: Behdad Esfahbod -Date: Thu May 2 18:06:51 2013 -0400 - - [OTLayout] Add hb_ot_layout_lookup_accelerator_t - - src/hb-ot-layout-private.hh | 21 +++++++++++++++++-- - src/hb-ot-layout.cc | 33 +++++++++++++++--------------- - src/hb-ot-shape-complex-arabic-fallback.hh | 10 +++++---- - 3 files changed, 41 insertions(+), 23 deletions(-) - -commit 76ea563673d24ae1673a5aa3a21da6014479d433 -Author: Behdad Esfahbod -Date: Sat May 4 16:01:20 2013 -0400 - - [OTLayout] Add note about collect_glyphs() and recursive lookups - - src/hb-ot-layout-gsubgpos-private.hh | 8 +++++++- - 1 file changed, 7 insertions(+), 1 deletion(-) - -commit a8bf0e91f18341e1e20f4e3341fc7dcdd0c990e1 -Author: Behdad Esfahbod -Date: Fri May 3 14:45:04 2013 -0400 - - Add U+061C ARABIC LETTER MARK to Default_Ignorable - - src/hb-unicode-private.hh | 4 ++++ - 1 file changed, 4 insertions(+) - -commit 5d59f999204aedfc433ab4989664d875f96b0364 -Author: Behdad Esfahbod -Date: Thu May 2 14:44:45 2013 -0400 - - [OTLayout] Make MultipleSubst in-place for sequences of len=1 - - src/hb-ot-layout-gsub-table.hh | 15 +++++++++++---- - 1 file changed, 11 insertions(+), 4 deletions(-) - -commit 54f84a6b8571ac7aaaa66f3eff562d23d69d7552 -Author: Behdad Esfahbod -Date: Thu May 2 15:27:53 2013 -0400 - - [OTLayout] Whitespace - - src/hb-ot-layout-gsub-table.hh | 56 +++++++++++++++++++++--------------------- - 1 file changed, 28 insertions(+), 28 deletions(-) - -commit 3276c354daaff3acabecff11f8e4b5c54d53fc25 -Author: Behdad Esfahbod -Date: Thu May 2 15:16:59 2013 -0400 - - [OTLayout] Minor refactoring - - src/hb-ot-map-private.hh | 4 ++++ - src/hb-ot-map.cc | 46 +++++++++++++++++++++++++--------------------- - 2 files changed, 29 insertions(+), 21 deletions(-) - -commit ea86efa486a5076e9bf844239bccf86d67577f88 -Author: Behdad Esfahbod -Date: Thu May 2 14:41:39 2013 -0400 - - Minor - - src/hb-ot-map-private.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 8b63efb6f80b2e9b2de5ec6ab24d6e15826565cb -Author: Behdad Esfahbod -Date: Thu May 2 14:29:32 2013 -0400 - - Minor - - src/hb-buffer-private.hh | 2 ++ - 1 file changed, 2 insertions(+) - -commit 2265be0a620bc76ab65f12fedde67791beb51314 -Author: Behdad Esfahbod -Date: Thu May 2 14:25:09 2013 -0400 - - Minor - - src/hb-ot-map-private.hh | 17 ++++++++++------- - src/hb-ot-map.cc | 2 ++ - src/hb-ot-shape-private.hh | 3 +-- - 3 files changed, 13 insertions(+), 9 deletions(-) - -commit e6f19af08717a6a63ad0b5bf4bf368778edc63f0 -Author: Behdad Esfahbod -Date: Thu May 2 13:59:46 2013 -0400 - - Minor - - src/hb-set-private.hh | 16 +++++++++------- - 1 file changed, 9 insertions(+), 7 deletions(-) - -commit 6c15ddfe2b45383824b64058ae69939d002183a6 -Author: Behdad Esfahbod -Date: Tue Apr 30 11:34:00 2013 -0400 - - Renamed DEBUG to something else - - Some infrastructures use DEBUG as a generic symbol. - - src/hb-buffer.cc | 6 +++--- - src/hb-private.hh | 4 ++-- - 2 files changed, 5 insertions(+), 5 deletions(-) - -commit 00b93f6610f36d8d14ca65fb99864be6d5bdb1ea -Author: Behdad Esfahbod -Date: Mon Apr 29 13:48:49 2013 -0400 - - Fix icu linking by requesting the library searchpath from icu-config - - This is not ideal as we don't like -L/usr/lib in our linker line. - But this is only relevant to environments that don't have pkgconfig - files for ICU... - - https://github.com/behdad/harfbuzz/pull/2 - - configure.ac | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 03adf38b22a37216dffac50d075ea9c881f1a22d -Author: Behdad Esfahbod -Date: Mon Apr 29 13:40:52 2013 -0400 - - Make both old autoconf and new automake happy - - Sigh.. - - Bug 64039 - undefined macro AM_PROG_AR - - configure.ac | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit ed79dff517bacfc87279079d5d42d079c21a0373 -Author: Behdad Esfahbod -Date: Sun Apr 21 15:39:25 2013 -0400 - - Minor - - src/hb-ot-layout-gpos-table.hh | 5 ----- - 1 file changed, 5 deletions(-) - -commit 893f57b32f01da3411b5596d59170bc340e9fa39 -Author: Behdad Esfahbod -Date: Sun Apr 21 15:21:49 2013 -0400 - - Minor renaming - - src/hb-ot-map-private.hh | 10 +++++----- - src/hb-ot-map.cc | 22 +++++++++++----------- - 2 files changed, 16 insertions(+), 16 deletions(-) - -commit 8ac3c9c0b6b8e76bce282825b9bb706c0c78c2a6 -Author: Behdad Esfahbod -Date: Sun Apr 21 15:19:38 2013 -0400 - - Rename "pause" to "stage" - - The compile() function is starting to become illegible... - - src/hb-ot-map-private.hh | 24 ++++++++++++------------ - src/hb-ot-map.cc | 38 +++++++++++++++++++------------------- - 2 files changed, 31 insertions(+), 31 deletions(-) - -commit dd0641a432691f9b6186b081c38053858c8bc5c1 -Author: Behdad Esfahbod -Date: Sun Apr 21 15:13:57 2013 -0400 - - Minor - - src/hb-ot-map.cc | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit 06a44e859328f5f1e2f6034e711b474116d22e22 -Author: Behdad Esfahbod -Date: Sun Apr 21 15:13:08 2013 -0400 - - Remove unneeded code - - We always push a pause at the end such that each lookup falls in exactly - one pause_map_t. Now, only if I can find a better name for that... - - src/hb-ot-map-private.hh | 2 +- - src/hb-ot-map.cc | 12 +----------- - 2 files changed, 2 insertions(+), 12 deletions(-) - -commit a408d2375aa2ad96b58e56aef18e5000daf2516b -Author: Behdad Esfahbod -Date: Fri Apr 19 16:32:06 2013 -0400 - - 0.9.16 - - NEWS | 13 ++++++++++++- - configure.ac | 2 +- - 2 files changed, 13 insertions(+), 2 deletions(-) - -commit 8659c636087e433f56da458351e8b4d85fdb347c -Author: Behdad Esfahbod -Date: Fri Apr 19 14:33:17 2013 -0400 - - Hand-code bsearch in the hot inner loop. - - Saves another 3 / 4 percent with Amiri. - - src/hb-open-type-private.hh | 29 +++++++++++++++-------------- - 1 file changed, 15 insertions(+), 14 deletions(-) - -commit 797d76d07f80d796a825d850772087104e5a2575 -Author: Behdad Esfahbod -Date: Thu Apr 18 19:04:12 2013 -0400 - - Minor - - src/hb-ot-layout-common-private.hh | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit e4046080c5d785c8dbf9ec9e3478ab9acc83e479 -Author: Behdad Esfahbod -Date: Wed Apr 17 23:49:54 2013 -0400 - - [util] Unbreak --show-text / --show-unicode - - util/shape-consumer.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 0dc3a4e0349d28f387a3b4c60a2f51962742738e -Author: Behdad Esfahbod -Date: Wed Apr 17 23:04:03 2013 -0400 - - Obssesive optimization - - Not measurable by any means, but conceptually this is faster since - the mask matches more often than the digest. - - src/hb-ot-layout-gpos-table.hh | 4 ++-- - src/hb-ot-layout-gsub-table.hh | 8 ++++---- - 2 files changed, 6 insertions(+), 6 deletions(-) - -commit f9a611026785a80baa4cbff31ad0847beb70ca9a -Author: Behdad Esfahbod -Date: Wed Apr 17 19:01:49 2013 -0400 - - Remove HB_DEBUG_SET_DIGESTS - - Wasn't correct with the new combiner. I should add it back somehow, - but for now the digests seem to be working very well... - - src/hb-set-private.hh | 16 +--------------- - src/hb-set.cc | 14 -------------- - 2 files changed, 1 insertion(+), 29 deletions(-) - -commit f7466ee76f2bd3812209426e2c39fe517227406d -Author: Behdad Esfahbod -Date: Wed Apr 17 18:20:44 2013 -0400 - - Remove hb_set_digest_common_bits_t - - Was unused. - - src/hb-set-private.hh | 38 -------------------------------------- - 1 file changed, 38 deletions(-) - -commit 0d5798a137b52d9be7ef88c79e59f9bf01d54f3b -Author: Behdad Esfahbod -Date: Wed Apr 17 18:19:21 2013 -0400 - - Improve hb_set_digest_t - - Make Amiri rendering faster a whopping 45% again! Speends up pretty - much anything I tested. - - src/hb-set-private.hh | 28 +++++++++++++++++++++++----- - 1 file changed, 23 insertions(+), 5 deletions(-) - -commit c7851efcd3a1e5317ab4ea57535cb755bace0848 -Author: Behdad Esfahbod -Date: Wed Apr 17 17:45:39 2013 -0400 - - Templatize hb_set_digest_lowest_bits_t filter - - src/hb-set-private.hh | 21 +++++++++++++++++---- - 1 file changed, 17 insertions(+), 4 deletions(-) - -commit 0edd0fd255790471118fae1fd7a1309a2b77cf62 -Author: Behdad Esfahbod -Date: Wed Apr 17 17:26:56 2013 -0400 - - Add comment - - src/hb-set-private.hh | 8 ++++++++ - 1 file changed, 8 insertions(+) - -commit b40f2c0372acbc51b13be5cda7dd013e74e3e11a -Author: Behdad Esfahbod -Date: Tue Apr 16 23:21:38 2013 -0400 - - Add hb_set_digest_combiner_t - - src/hb-set-private.hh | 33 ++++++++++++++++++++------------- - 1 file changed, 20 insertions(+), 13 deletions(-) - -commit 02e5e583688999c4dc04f11b3924da65f99af7e3 -Author: Behdad Esfahbod -Date: Tue Apr 16 23:13:10 2013 -0400 - - Speed up Speed up hb_set_digest_common_bits_t calcs - - Correctly this time. - - src/hb-set-private.hh | 8 +++++--- - 1 file changed, 5 insertions(+), 3 deletions(-) - -commit 893991fc9d2d3a57c4c148f3a9c3b98263cf3aed -Author: Behdad Esfahbod -Date: Tue Apr 16 21:50:33 2013 -0400 - - Initialize set digests - - We were not initializing the digests properly and as a result they were - being initialized to zero, making digest1 to never do any useful work. - - Speeds up Amiri shaping significantly. - - src/hb-ot-layout.cc | 6 ++++++ - src/hb-ot-shape-complex-arabic-fallback.hh | 4 +++- - 2 files changed, 9 insertions(+), 1 deletion(-) - -commit 4d2813d3e980c8e6150caafa604a78cc44bf62a2 -Author: Behdad Esfahbod -Date: Tue Apr 16 21:57:21 2013 -0400 - - Print set-digest hit ratio with HB_DEBUG_SET_DIGESTS - - src/hb-set-private.hh | 13 +++++++++++++ - src/hb-set.cc | 13 +++++++++++++ - 2 files changed, 26 insertions(+) - -commit 1357c2dd120d005ceecfa83ed328d05dc634d7bc -Author: Behdad Esfahbod -Date: Tue Apr 16 21:47:40 2013 -0400 - - Revert "Speed up hb_set_digest_common_bits_t calcs" - - This reverts commit 3d1b66a35e1ab3be19335705f310b278d76d66d2. - - The calculations were buggy. It's not worth optimizing right now. - - src/hb-set-private.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 2b712bba3f7c459653737dfa2f7d26f17f3b9f64 -Author: Behdad Esfahbod -Date: Tue Apr 16 16:11:09 2013 -0400 - - Fix typo in unused macro - - src/hb-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 50067e280f381918b8e90b26df9e7bf20f98f0bd -Author: Behdad Esfahbod -Date: Thu Apr 11 16:31:01 2013 -0400 - - [util] Add --num-iterations - - Useful for profiling shapers. - - util/options.cc | 1 + - util/options.hh | 2 ++ - util/shape-consumer.hh | 15 +++++++++------ - 3 files changed, 12 insertions(+), 6 deletions(-) - -commit 08677c250767bfc2c0dd1fc934dea92984741291 -Author: Behdad Esfahbod -Date: Thu Apr 11 14:45:58 2013 -0400 - - [old] Speed up Unicode properties access in hb-old shaper - - Just to be sure it's not punishing the old shaper performance - numbers. Doesn't seem to have a measurable effect. - - src/hb-old/harfbuzz-arabic.c | 44 +++++++++++++++++++++--------------------- - src/hb-old/harfbuzz-external.h | 18 ++++++++--------- - src/hb-old/harfbuzz-greek.c | 2 +- - src/hb-old/harfbuzz-hebrew.c | 2 +- - src/hb-old/harfbuzz-indic.cpp | 10 +++++----- - src/hb-old/harfbuzz-shaper.cpp | 6 ++++-- - src/hb-old/harfbuzz-shaper.h | 1 + - 7 files changed, 43 insertions(+), 40 deletions(-) - -commit 36a661c0a03d958b95c9ea64a435b55bcd99c3d6 -Author: Behdad Esfahbod -Date: Thu Apr 11 13:38:37 2013 -0400 - - [git.mk] Update - - git.mk | 33 ++++++++++++++++++++------------- - 1 file changed, 20 insertions(+), 13 deletions(-) - -commit ef9e02eddfc9a37d50723e96839635d79191d849 -Author: Behdad Esfahbod -Date: Tue Apr 9 14:06:54 2013 -0400 - - Minor - - src/test.cc | 1 + - 1 file changed, 1 insertion(+) - -commit 22e47456154ca0b8173268486e56ef3a0e1e7150 -Author: Behdad Esfahbod -Date: Fri Apr 5 18:02:43 2013 -0400 - - 0.9.15 - - NEWS | 10 ++++++++++ - configure.ac | 2 +- - 2 files changed, 11 insertions(+), 1 deletion(-) - -commit 4d4fc920496c95621d5bb4800282ea8c028cdde3 -Author: Behdad Esfahbod -Date: Fri Apr 5 17:58:25 2013 -0400 - - [git.mk] Ignore ar-lib - - git.mk | 1 + - 1 file changed, 1 insertion(+) - -commit 587e5753e088b4d0b82c74ddbde790a8369a7517 -Author: Behdad Esfahbod -Date: Fri Apr 5 12:38:58 2013 -0400 - - Add note re Hangul shaping - - src/hb-ot-shape-complex-private.hh | 14 ++++++++++++++ - 1 file changed, 14 insertions(+) - -commit 269de14dda7a86a20917fa9ea6a5864929c41364 -Author: Behdad Esfahbod -Date: Thu Apr 4 23:06:54 2013 -0400 - - Don't compose Hangul jamo - - See thread "an issue regarding discrepancy between Korean and Unicode - standards" on the mailing list for the rationale. In short: Uniscribe - doesn't, so fonts are designed to work without it. - - src/hb-ot-shape-complex-default.cc | 6 ------ - src/hb-ot-shape-normalize-private.hh | 1 - - src/hb-ot-shape-normalize.cc | 11 +++++------ - 3 files changed, 5 insertions(+), 13 deletions(-) - -commit 1f970609850bb4999b94e1e11b764ab4279cbd38 -Author: Behdad Esfahbod -Date: Thu Apr 4 15:02:03 2013 -0400 - - Put back MemoryBarrier fallback implementation on MINGW32 - - This almost reverts 2761e8a632c14353f286708898be8df6ebad7407, - but only if under MINGW32, so it doesn't affect MSVC. - - src/hb-atomic-private.hh | 8 ++++++++ - 1 file changed, 8 insertions(+) - -commit f368ba4a9edec4e297616698097546e8e6c89e53 -Author: Behdad Esfahbod -Date: Thu Apr 4 14:25:36 2013 -0400 - - [Arabic] Zero marks by GDEF, not Unicode category - - Testing shows that this is closer to what Uniscribe does. - - Reported by Khaled Hosny: - - """ - commit 568000274c8edb5f41bc4f876ce21fcc8bdaeed8 - ... - This commit is causing a regression with Amiri, the string “هَٰذ” with - Uniscribe and HarfBuzz before this commit, gives: - - [uni0630.fina=3+965|uni0670.medi=0+600|uni064E=0@-256,0+0|uni0647.init=0+926] - - But now it gives: - - [uni0630.fina=3+965|uni0670.medi=0+0|uni064E=0@-256,0+0|uni0647.init=0+926] - - i.e. uni0670.medi is zeroed though it has a base glyph GDEF class. - """ - - The test case is U+0647,U+064E,U+0670,U+0630 with Amiri. - - src/hb-ot-shape-complex-arabic.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 3b80674c50b8c3133848a4034f7106b2b9bfe224 -Author: Behdad Esfahbod -Date: Thu Apr 4 12:06:46 2013 -0400 - - Bug 63107 - FTBFS on ppc64: symbols marked with 'D' on powerpc64 instead - - src/check-symbols.sh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 7148dc1a978610af25b4f490691a62d709c8c463 -Author: Behdad Esfahbod -Date: Tue Apr 2 14:08:53 2013 -0400 - - [graphite2] Don't crash if language is not set - - https://bugs.webkit.org/show_bug.cgi?id=113796 - - src/hb-graphite2.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit a88a62f70f87563725d47b9b6824565e5d6b78ab -Author: Behdad Esfahbod -Date: Thu Mar 21 21:02:16 2013 -0400 - - Minor - - src/hb-ot-shape-normalize.cc | 4 +--- - 1 file changed, 1 insertion(+), 3 deletions(-) - -commit 0a2b2a505b647f6b4802750c87cd9c5f0baaadef -Author: Behdad Esfahbod -Date: Thu Mar 21 16:26:39 2013 -0400 - - Remove gthread leftovers - - We don't use gthread anymore, remove leftovers. - - configure.ac | 6 ------ - test/api/Makefile.am | 4 ++-- - test/api/hb-test.h | 3 --- - 3 files changed, 2 insertions(+), 11 deletions(-) - -commit b93de1ea085bfc0661ce3ad0e21fb5eba722c951 -Author: Behdad Esfahbod -Date: Thu Mar 21 16:25:20 2013 -0400 - - Minor - - configure.ac | 16 ++++++++-------- - 1 file changed, 8 insertions(+), 8 deletions(-) - -commit f872a17462a75a3493623747bf3a3fbe54556c7b -Author: Behdad Esfahbod -Date: Thu Mar 21 13:38:06 2013 -0400 - - 0.9.14 - - NEWS | 14 ++++++++++++++ - configure.ac | 2 +- - 2 files changed, 15 insertions(+), 1 deletion(-) - -commit cc50bf5b13bfe88137fa7a42782872c40fb9aefb -Author: Behdad Esfahbod -Date: Tue Mar 19 06:59:40 2013 -0400 - - Remove Hangul filler characters from Default_Ignorable chars - - See discussion on mailing list. - - src/hb-unicode-private.hh | 10 +++++++--- - .../texts/in-tree/shaper-default/script-hangul/misc/misc.txt | 1 + - 2 files changed, 8 insertions(+), 3 deletions(-) - -commit a8cf7b43fa795150ae3d42d64424bb6e0373d0b2 -Author: Behdad Esfahbod -Date: Tue Mar 19 05:53:26 2013 -0400 - - [Indic] Futher adjust ZWJ handling in Indic-like shapers - - After the Ngapi hackfest work, we were assuming that fonts - won't use presentation features to choose specific forms - (eg. conjuncts). As such, we were using auto-joiner behavior - for such features. It proved to be troublesome as many fonts - used presentation forms ('pres') for example to form conjuncts, - which need to be disabled when a ZWJ is inserted. - - Two examples: - - U+0D2F,U+200D,U+0D4D,U+0D2F with kartika.ttf - U+0995,U+09CD,U+200D,U+09B7 with vrinda.ttf - - What we do now is to never do magic to ZWJ during GSUB's main input - match for Indic-style shapers. Note that backtrack/lookahead are still - matched liberally, as is GPOS. This seems to be an acceptable - compromise. - - As to the bug that initially started this work, that one needs to - be fixed differently: - - Bug 58714 - Kannada u+0cb0 u+200d u+0ccd u+0c95 u+0cbe does not - provide same results as Windows8 - https://bugs.freedesktop.org/show_bug.cgi?id=58714 - - New numbers: - - BENGALI: 353689 out of 354188 tests passed. 499 failed (0.140886%) - DEVANAGARI: 707305 out of 707394 tests passed. 89 failed (0.0125814%) - GUJARATI: 366349 out of 366457 tests passed. 108 failed (0.0294714%) - GURMUKHI: 60706 out of 60747 tests passed. 41 failed (0.067493%) - KANNADA: 951030 out of 951913 tests passed. 883 failed (0.0927606%) - KHMER: 299070 out of 299124 tests passed. 54 failed (0.0180527%) - LAO: 53611 out of 53644 tests passed. 33 failed (0.0615167%) - MALAYALAM: 1048102 out of 1048334 tests passed. 232 failed (0.0221304%) - ORIYA: 42320 out of 42329 tests passed. 9 failed (0.021262%) - SINHALA: 271666 out of 271847 tests passed. 181 failed (0.0665816%) - TAMIL: 1091753 out of 1091754 tests passed. 1 failed (9.15957e-05%) - TELUGU: 970555 out of 970573 tests passed. 18 failed (0.00185457%) - TIBETAN: 208469 out of 208469 tests passed. 0 failed (0%) - - src/hb-ot-layout-gsubgpos-private.hh | 30 ++++++++-------------- - src/hb-ot-layout-private.hh | 4 +-- - src/hb-ot-layout.cc | 8 +++--- - src/hb-ot-map-private.hh | 8 +++--- - src/hb-ot-map.cc | 18 ++++++------- - src/hb-ot-shape-complex-arabic-fallback.hh | 2 +- - src/hb-ot-shape-complex-indic.cc | 30 +++++++++++----------- - src/hb-ot-shape-complex-myanmar.cc | 4 +-- - src/hb-ot-shape-complex-sea.cc | 4 +-- - src/hb-ot-shape-fallback.cc | 2 +- - .../indic/script-bengali/misc/misc.txt | 1 + - .../indic/script-malayalam/misc/misc.txt | 1 + - 12 files changed, 53 insertions(+), 59 deletions(-) - -commit 8226fb56f131362db877dc4be6857c684b8fd022 -Author: Behdad Esfahbod -Date: Tue Mar 19 05:22:27 2013 -0400 - - Allow disabling ICU by using a fake icu-config script - - configure.ac | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit a1f3e8ccbfad0d1148b905ae008ba63a26090cb9 -Author: Behdad Esfahbod -Date: Mon Mar 11 20:18:49 2013 -0400 - - [travis] Install libicu - - .travis.yml | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit 14cfab52daa8d22b843110f32ca09af5bbc855a6 -Author: Behdad Esfahbod -Date: Mon Mar 11 19:53:44 2013 -0400 - - Add build system fallback to icu-config - - Ubuntu doesn't (or didn't until recently?) ship icu pkg-config - files. That's quite unfortunate. Work around it. - - Bug 57608 - ICU Detection fallback for non-pkgconfig systems - - configure.ac | 37 +++++++++++++++++++++++++++++++++++++ - 1 file changed, 37 insertions(+) - -commit 190e19e6842875c7a487c66235300ee6b42fb5da -Author: Behdad Esfahbod -Date: Sat Mar 9 20:30:22 2013 -0500 - - [ft] Remove TODO items that I'm not going to fix - - src/hb-ft.cc | 7 +------ - 1 file changed, 1 insertion(+), 6 deletions(-) - -commit 392ee97431b368ee74e1b521fd539b69d2efadfb -Author: Behdad Esfahbod -Date: Sat Mar 9 20:27:55 2013 -0500 - - [ft] Remove TODO item re FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH - - That flag is redundant, deprecated, and ignored since April 2011. - From FreeType git log: - - commit 8c82ec5b17d0cfc9b0876a2d848acc207a62a25a - Author: Behdad Esfahbod - Date: Thu Apr 21 08:21:37 2011 +0200 - - Always ignore global advance. - - This makes FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH redundant, - deprecated, and ignored. The new behavior is what every major user - of FreeType has been requesting. Global advance is broken in many - CJK fonts. Just ignoring it by default makes most sense. - - * src/truetype/ttdriver.c (tt_get_advances), - src/truetype/ttgload.c (TT_Get_HMetrics, TT_Get_VMetrics, - tt_get_metrics, compute_glyph_metrics, TT_Load_Glyph), - src/truetype/ttgload.h: Implement it. - - * docs/CHANGES: Updated. - - src/hb-ft.cc | 2 -- - 1 file changed, 2 deletions(-) - -commit c5d91f39802078fc6f6de71940739ec4d04eca07 -Author: Behdad Esfahbod -Date: Sat Mar 9 04:34:21 2013 -0500 - - Add hb_auto_array_t - - src/hb-private.hh | 8 ++++++++ - 1 file changed, 8 insertions(+) - -commit ee5464d17fa4c59f5adaaa13dde70dd5264dbc64 -Author: Behdad Esfahbod -Date: Sat Mar 9 01:59:30 2013 -0500 - - [OTLayout] Move code around - - src/hb-ot-layout-gpos-table.hh | 33 ++++++------ - src/hb-ot-layout-gsub-table.hh | 115 +++++++++++++++++++++-------------------- - 2 files changed, 75 insertions(+), 73 deletions(-) - -commit 9c5a9ee967120c8a968a1160c420e03620d46c24 -Author: Behdad Esfahbod -Date: Sat Mar 9 01:55:04 2013 -0500 - - [OTLayout] Rename process() to dispatch() - - src/hb-open-type-private.hh | 2 +- - src/hb-ot-layout-gpos-table.hh | 80 ++++++++++++++++++------------------ - src/hb-ot-layout-gsub-table.hh | 78 +++++++++++++++++------------------ - src/hb-ot-layout-gsubgpos-private.hh | 36 ++++++++-------- - 4 files changed, 98 insertions(+), 98 deletions(-) - -commit 2761e8a632c14353f286708898be8df6ebad7407 -Author: Behdad Esfahbod -Date: Thu Mar 7 20:51:30 2013 -0500 - - [win32] Remove MemoryBarrier() fallback implementation - - I added these because the older mingw32 toolchain didn't have - MemoryBarrier(). The newer mingw-w64 toolchain however has. - As reported by John Emmas this was causing build failure with - MSVC (on glib) because of inline issues. But that reminded me - that we may be taking this path even if the system implements - MemoryBarrier as a function, which is a waste. So, just remove - it. - - src/hb-atomic-private.hh | 14 +------------- - 1 file changed, 1 insertion(+), 13 deletions(-) - -commit ea11abfc5de8bc5cf651b37c9570593eed6a8f9b -Author: Behdad Esfahbod -Date: Wed Mar 6 20:21:11 2013 -0500 - - [build] Port to newer automake recommended syntax - - test/api/Makefile.am | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit c39def9bc71559d59325a2c3282c1cec4286b2ae -Author: Behdad Esfahbod -Date: Wed Mar 6 20:20:45 2013 -0500 - - Move valgrind suppressions to the correct directory - - test/{ => api}/.valgrind-suppressions | 0 - 1 file changed, 0 insertions(+), 0 deletions(-) - -commit a8ac1d33c731f6200ee472ab6c37a80b72770564 -Author: Behdad Esfahbod -Date: Wed Mar 6 20:05:34 2013 -0500 - - [build] Add AM_PROG_AR - - Newer automake / libtools warns otherwise. - - configure.ac | 1 + - 1 file changed, 1 insertion(+) - -commit 5594c2d112c295147ee69215a2ce9dfd99984aa0 -Author: Behdad Esfahbod -Date: Wed Mar 6 19:37:31 2013 -0500 - - [FT] Just return if glyph name not found - - The fallback happens in higher level already. No need to do here. - - src/hb-ft.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit fb7c182bf92142540bff1ad7fb82de0d115fb2b5 -Author: Behdad Esfahbod -Date: Wed Mar 6 00:53:24 2013 -0500 - - [Indic] Minor - - src/hb-ot-shape-complex-indic.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 8144936d072f94104242edf9e7aaa31d315b4094 -Author: Behdad Esfahbod -Date: Tue Mar 5 20:08:59 2013 -0500 - - [Indic] Work around fonts with broken new-spec tables - - See comments, and this thread: - - http://lists.freedesktop.org/archives/harfbuzz/2013-March/002990.html - - Originally reported here: - - https://code.google.com/p/chromium/issues/detail?id=96143 - - Doesn't change test suite numbers. - - src/hb-ot-shape-complex-indic.cc | 42 +++++++++++++++++++++++++++------------- - 1 file changed, 29 insertions(+), 13 deletions(-) - -commit dfb799f57572e8123035a42a30f93c7fc4d37692 -Author: Behdad Esfahbod -Date: Tue Mar 5 17:23:33 2013 -0500 - - [travis] Oops. Run make check, not make test! - - .travis.yml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 8bdce1cac1be9e79344c1f9a9811d98ed2e5c5fd -Author: Behdad Esfahbod -Date: Tue Mar 5 02:35:31 2013 -0500 - - Run autogen.sh, not configure, in travis-ci - - .travis.yml | 1 + - 1 file changed, 1 insertion(+) - -commit 5f705b437cb116275a8c20366e694d740bce715c -Author: Behdad Esfahbod -Date: Tue Mar 5 01:37:44 2013 -0500 - - Add .travis.yml for continuous building with travis-ci.org - - Notifications sent to IRC channel and mailing list. - - .travis.yml | 12 ++++++++++++ - 1 file changed, 12 insertions(+) - -commit cd54d505d1a2467a67e5ff96fe0eb101b953b265 -Author: Behdad Esfahbod -Date: Mon Mar 4 21:29:38 2013 -0500 - - Fix distcheck - - src/Makefile.am | 2 ++ - 1 file changed, 2 insertions(+) - -commit 22c625a490bbaac52ead2cd29ee49b170e6e9845 -Author: Behdad Esfahbod -Date: Mon Mar 4 20:56:15 2013 -0500 - - [git.mk] Update to commit efc928222179576270c5910416d8055dd7a97896 - - Move reusable list of files into variable definitions modules can - reuse - - Makefile.am | 22 ++++------------------ - git.mk | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++--- - 2 files changed, 60 insertions(+), 21 deletions(-) - -commit 66f7b3509a121b8f3289ad4c4aed2b5b10a6de2e -Author: Behdad Esfahbod -Date: Mon Mar 4 18:52:12 2013 -0500 - - Add libtool m4 macros to MAINTAINERCLEANFILES - - Makefile.am | 5 +++++ - 1 file changed, 5 insertions(+) - -commit 41732f1fe3ce856d8bb95850635034537b6ba047 -Author: Behdad Esfahbod -Date: Wed Feb 27 20:40:54 2013 -0500 - - [Indic] Help compiler put indic_features table in .rodata - - The overridden "or" operator was preventing the flag expression from - being const, and putting the table in .data instead or .rodata. - - src/hb-ot-map-private.hh | 2 ++ - src/hb-ot-shape-complex-indic.cc | 24 ++++++++++++------------ - 2 files changed, 14 insertions(+), 12 deletions(-) - -commit 778d7f844cb330289830c95431269db06ba1c969 -Author: Behdad Esfahbod -Date: Wed Feb 27 18:47:26 2013 -0500 - - [buffer] Better parse glyph names - - src/hb-buffer-deserialize-json.rl | 9 ++++++--- - src/hb-buffer-deserialize-text.rl | 5 ++++- - 2 files changed, 10 insertions(+), 4 deletions(-) - -commit 20b817ac21147e0a8edbf23ef071c2f4ce6c2b95 -Author: Behdad Esfahbod -Date: Wed Feb 27 18:39:37 2013 -0500 - - [buffer] Implement buffer deserialization for format=json - - Using a ragel machine. - - src/Makefile.am | 2 + - src/hb-buffer-deserialize-json.rl | 129 ++++++++++++++++++++++++++++++++++++++ - src/hb-buffer-deserialize-text.rl | 52 +-------------- - src/hb-buffer-serialize.cc | 45 +++++++++++-- - src/hb-private.hh | 6 +- - src/hb-shape.cc | 2 - - src/test-buffer-serialize.cc | 4 +- - 7 files changed, 179 insertions(+), 61 deletions(-) - -commit 847794e929831750e97525137ab5e285ccd1064e -Author: Behdad Esfahbod -Date: Wed Feb 27 17:59:28 2013 -0500 - - [buffer] Implement buffer deserialization for format=text - - Using a ragel machine. - - src/Makefile.am | 2 + - src/hb-buffer-deserialize-text.rl | 169 ++++++++++++++++++++++++++++++++++++++ - src/hb-buffer-private.hh | 3 +- - src/hb-buffer-serialize.cc | 36 +++----- - src/hb-buffer.cc | 13 ++- - src/hb-buffer.h | 2 +- - src/hb-private.hh | 5 +- - src/hb-shape.cc | 9 +- - src/test-buffer-serialize.cc | 16 +++- - 9 files changed, 221 insertions(+), 34 deletions(-) - -commit 4ee803b42a3baae4b0f295a07cb7ad591a538e4c -Author: Behdad Esfahbod -Date: Wed Feb 27 16:09:55 2013 -0500 - - [buffer] Fix serializing of buffer with invalid direction - - src/hb-buffer-serialize.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit e54dd26300f50eb19907a9d39269a363279b3e07 -Author: Behdad Esfahbod -Date: Wed Feb 27 13:01:02 2013 -0500 - - [buffer] Start implementing buffer deserialization - - src/Makefile.am | 12 ++++- - src/hb-buffer-serialize.cc | 64 ++++++++++++++++++++++-- - src/hb-buffer.h | 2 +- - src/test-buffer-serialize.cc | 114 +++++++++++++++++++++++++++++++++++++++++++ - 4 files changed, 187 insertions(+), 5 deletions(-) - -commit bcc8f32b4c46cd73f591924c64a6f63df6eaf9e7 -Author: Behdad Esfahbod -Date: Wed Feb 27 12:02:42 2013 -0500 - - [buffer] Minor - - src/hb-buffer-serialize.cc | 10 +++++++--- - src/hb-buffer.h | 4 ++-- - 2 files changed, 9 insertions(+), 5 deletions(-) - -commit d3e14aafff60e1314d0ef66e42cdde6bf949bb66 -Author: Behdad Esfahbod -Date: Wed Feb 27 11:06:36 2013 -0500 - - [buffer] Move buffer serialization code to a new file - - Android.mk | 1 + - src/Makefile.am | 1 + - src/hb-buffer-serialize.cc | 251 +++++++++++++++++++++++++++++++++++++++++++++ - src/hb-buffer.cc | 228 ---------------------------------------- - 4 files changed, 253 insertions(+), 228 deletions(-) - -commit 8da51112696ec8641d7dd9184b7ab1dd48458813 -Author: Behdad Esfahbod -Date: Wed Feb 27 17:48:31 2013 -0500 - - Minor - - src/hb-shape.cc | 2 ++ - 1 file changed, 2 insertions(+) - -commit 94789fd6012125acc8426dd88df97f03b0948ea5 -Author: Behdad Esfahbod -Date: Tue Feb 26 21:22:37 2013 -0500 - - [Indic] Sort pre-base reordering consonants with post-forms - - Before, we were marking them as below-form for initial reordering. - However, there is a rule that says "post consonants should follow - below consonsnts" for base determination purposes. Malayalam has - port-form YA/VA, and RA is pre-base. As such, for a sequence like - YA,Virama,YA,Virama,RA, the correct base is at index 0. But - because the code was seeing RA as a below-base, it was stopping at - the second YA as base, instead of jumping it as a post-base. - - By treating prebase-reordering consonants like post-forms, this - is fixed. - - MALAYALAM went down from 351 to 265. Other numbers didn't change: - - BENGALI: 353686 out of 354188 tests passed. 502 failed (0.141733%) - DEVANAGARI: 707305 out of 707394 tests passed. 89 failed (0.0125814%) - GUJARATI: 366262 out of 366457 tests passed. 195 failed (0.0532122%) - GURMUKHI: 60706 out of 60747 tests passed. 41 failed (0.067493%) - KANNADA: 950680 out of 951913 tests passed. 1233 failed (0.129529%) - KHMER: 299074 out of 299124 tests passed. 50 failed (0.0167155%) - LAO: 53611 out of 53644 tests passed. 33 failed (0.0615167%) - MALAYALAM: 1048069 out of 1048334 tests passed. 265 failed (0.0252782%) - ORIYA: 42320 out of 42329 tests passed. 9 failed (0.021262%) - SINHALA: 271539 out of 271847 tests passed. 308 failed (0.113299%) - TAMIL: 1091753 out of 1091754 tests passed. 1 failed (9.15957e-05%) - TELUGU: 970555 out of 970573 tests passed. 18 failed (0.00185457%) - TIBETAN: 208469 out of 208469 tests passed. 0 failed (0%) - - src/hb-ot-shape-complex-indic.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 6d69a2cec158061ef097c488d08813c9503824b8 -Author: Behdad Esfahbod -Date: Tue Feb 26 19:35:50 2013 -0500 - - [tests] Add Malayalam tests frim cibu - - .../indic/script-malayalam/misc/MANIFEST | 1 + - .../indic/script-malayalam/misc/cibu.txt | 188 +++++++++++++++++++++ - 2 files changed, 189 insertions(+) - -commit 1edc6b97b67363d55cfb5914c991ae54d42a6440 -Author: Behdad Esfahbod -Date: Tue Feb 26 15:01:45 2013 -0500 - - Update Android.mk - - Android.mk | 3 +++ - 1 file changed, 3 insertions(+) - -commit 05d5d3cd63ba2fadfdb62190dd24ef80ee3df40c -Author: Behdad Esfahbod -Date: Mon Feb 25 23:57:51 2013 -0500 - - Fix "comparison between signed and unsigned" warnings - - Patch from Jonathan Kew. - - src/hb-open-type-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 07a52b62115f10caea5c2d174a4272eb9ddb2284 -Author: Behdad Esfahbod -Date: Mon Feb 25 19:09:57 2013 -0500 - - Give up sanitizing after 100 edit requests - - Such fonts are *definitely* really broken. Give up. - Limits time spent in sanitize for extremely / deliberately broken - fonts. For example, two fonts with these md5sum / names: - - 9343f0a1b8c84b8123e7d201cae62ffd.ttf - eb8c978547f09d368fc204194fb34688.ttf - - were spending over a second in sanitize! Not anymore. - - src/hb-open-type-private.hh | 7 +++++++ - 1 file changed, 7 insertions(+) - -commit 29ff25481584e20a2fa39195f295c8eb4bf3bad0 -Author: Behdad Esfahbod -Date: Mon Feb 25 19:04:56 2013 -0500 - - Add HB_DEBUG_VERBOSE - - Only affects the verbosity of function name printing right now. - - src/hb-private.hh | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -commit 05686b5f697ed40dd21b330d044c3c286461fb26 -Author: Behdad Esfahbod -Date: Mon Feb 25 18:19:20 2013 -0500 - - 0.9.13 - - NEWS | 29 +++++++++++++++++++++++++++++ - configure.ac | 2 +- - 2 files changed, 30 insertions(+), 1 deletion(-) - -commit 9e5ac7b8c02c86a4f28c79173a5237503eaa7115 -Author: Behdad Esfahbod -Date: Mon Feb 25 17:54:10 2013 -0500 - - Fix blob test to match c3ba49b6fa1865e8318926eaa6c0f2063d1053bb - - test/api/test-blob.c | 57 ++++++++++++++++++++++++++++++++++++++++++++++------ - 1 file changed, 51 insertions(+), 6 deletions(-) - -commit c3ba49b6fa1865e8318926eaa6c0f2063d1053bb -Author: Behdad Esfahbod -Date: Mon Feb 25 17:06:35 2013 -0500 - - Always create sub-blobs in MEMORY_MODE_READONLY - - This fixes a design bug with sanitize and sub-blobs that can - cause crashes. Jonathan and I found and debugged this issue - when we tested a corrupt font with the md5sum / filename: - ea395483d37af0cb933f40689ff7b60a. Two hours of intense - debugging we found out that the font has overlapping GSUB/GPOS - tables, and as such, sanitizing the second table can modify - the first one, which can cause all kinds of undefined behavior. - - The correct way to fix this is to make sure sub-blobs are - always created readonly, since we consider the parent blob - to be a shared resource and can't modify it, even if it *is* - writable. - - This essentially makes the READONLY_MAY_MAKE_WRITABLE mode - unused... Maybe we should simply remove / deprecate it. - - src/hb-blob.cc | 2 +- - src/hb-blob.h | 26 ++++++++++++++++++++++++++ - 2 files changed, 27 insertions(+), 1 deletion(-) - -commit 57542d7f411c71d9b8110ce6f64090b2c0f6a925 -Author: Behdad Esfahbod -Date: Thu Feb 21 15:54:05 2013 -0500 - - Minor - - src/hb-ot-layout-private.hh | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -commit d46606e119b48dcca375d6313abd0f93ba5d09c3 -Author: Behdad Esfahbod -Date: Thu Feb 21 15:39:57 2013 -0500 - - Port TrueType-kerning to use skippy iterator - - It skips joiners and default ignorables now. Skips marks too, but only - if there is proper GDEF classes for marks. - - src/hb-ot-shape-fallback.cc | 50 +++++++++++++++++++++++++-------------------- - 1 file changed, 28 insertions(+), 22 deletions(-) - -commit 722e8b857eafc52e07dee5d9b253b88ed5c5c8ed -Author: Behdad Esfahbod -Date: Thu Feb 21 15:37:51 2013 -0500 - - Fixup previous commit - - Was not decreasing num_items. Ouch! - - src/hb-ot-layout-gsubgpos-private.hh | 12 ++++++++---- - 1 file changed, 8 insertions(+), 4 deletions(-) - -commit ba87b8fc89bf745068ccd19264a2631ea0904846 -Author: Behdad Esfahbod -Date: Thu Feb 21 15:23:39 2013 -0500 - - Move code around - - src/hb-ot-shape-fallback-private.hh | 5 +++++ - src/hb-ot-shape-fallback.cc | 40 +++++++++++++++++++++++++++++++++++++ - src/hb-ot-shape.cc | 38 +---------------------------------- - 3 files changed, 46 insertions(+), 37 deletions(-) - -commit 2b2a6e8944144755ab641f2842e36d9a847719f3 -Author: Behdad Esfahbod -Date: Thu Feb 21 15:07:03 2013 -0500 - - [OTLayout] Correctly skip Default_Ignorable when match_func not set - - When a match_func was not set on the matcher_t object (ie. from GPOS), - then the Default_Ignorables (including joiners) were never skipped. - This meant that they were not skipped as they should during GPOS - matching. Fix that. - - A few Indic numbers have "regressed": BENGALI and DEVANAGARI went - up from 290 and 58 respectively, but in both cases new results are - superior to Uniscribe, as they apply GPOS when we weren't (and - Uniscribe isn't) before. - BENGALI: 353686 out of 354188 tests passed. 502 failed (0.141733%) - DEVANAGARI: 707305 out of 707394 tests passed. 89 failed (0.0125814%) - GUJARATI: 366262 out of 366457 tests passed. 195 failed (0.0532122%) - GURMUKHI: 60706 out of 60747 tests passed. 41 failed (0.067493%) - KANNADA: 950680 out of 951913 tests passed. 1233 failed (0.129529%) - KHMER: 299074 out of 299124 tests passed. 50 failed (0.0167155%) - LAO: 53611 out of 53644 tests passed. 33 failed (0.0615167%) - MALAYALAM: 1047983 out of 1048334 tests passed. 351 failed (0.0334817%) - ORIYA: 42320 out of 42329 tests passed. 9 failed (0.021262%) - SINHALA: 271539 out of 271847 tests passed. 308 failed (0.113299%) - TAMIL: 1091753 out of 1091754 tests passed. 1 failed (9.15957e-05%) - TELUGU: 970555 out of 970573 tests passed. 18 failed (0.00185457%) - TIBETAN: 208469 out of 208469 tests passed. 0 failed (0%) - - src/hb-ot-layout-gsubgpos-private.hh | 32 ++++++++++++++++++++++---------- - 1 file changed, 22 insertions(+), 10 deletions(-) - -commit ff93ac8cb24cbc3d9dc1a2bfb0faa88950f4a507 -Author: Behdad Esfahbod -Date: Thu Feb 21 14:51:40 2013 -0500 - - Minor - - src/hb-ot-layout-gsubgpos-private.hh | 6 ++---- - 1 file changed, 2 insertions(+), 4 deletions(-) - -commit e0486fc1affd3796fb8f664e2e7fc208f1d2106c -Author: Behdad Esfahbod -Date: Tue Feb 19 00:58:10 2013 -0500 - - [tests] Add Myanmar torture tests from Martin Hosken - - .../shaper-myanmar/script-myanmar/misc/MANIFEST | 1 + - .../shaper-myanmar/script-myanmar/misc/torture.txt | 23 ++++++++++++++++++++++ - 2 files changed, 24 insertions(+) - -commit a3df9a7bf87aeba7a3d6110cd5e01a65bd0b16d0 -Author: Behdad Esfahbod -Date: Tue Feb 19 00:50:46 2013 -0500 - - Minor - - Moving files around - - test/shaping/texts/in-tree/MANIFEST | 2 -- - test/shaping/texts/in-tree/shaper-default/MANIFEST | 2 ++ - .../in-tree/{script-default => shaper-default/script-hangul}/MANIFEST | 0 - .../{script-default => shaper-default/script-hangul}/misc/MANIFEST | 0 - .../{shaper-hangul => shaper-default}/script-hangul/misc/misc.txt | 0 - .../script-hangul => shaper-default/script-tibetan}/MANIFEST | 0 - .../script-hangul => shaper-default/script-tibetan}/misc/MANIFEST | 0 - .../{script-default => shaper-default/script-tibetan}/misc/misc.txt | 0 - test/shaping/texts/in-tree/shaper-hangul/MANIFEST | 1 - - 9 files changed, 2 insertions(+), 3 deletions(-) - -commit b1f440759161cb5a54e1b1b910f3a8383b8e8472 -Author: Behdad Esfahbod -Date: Sun Feb 17 12:12:37 2013 -0500 - - [SEA] Fix order of pre-base reordering Ra and left matras - - The code was confused because it was expecting left matra to have - POS_PRE_M, like we do in the Myanmar shaper, but that is not what - we were doing in this shaper. Rewrite to rely on category only. - - Test case: U+AA06,U+AA34,U+AA2F - - src/hb-ot-shape-complex-sea.cc | 13 +++++++------ - .../texts/in-tree/shaper-sea/script-cham/misc/misc.txt | 1 + - 2 files changed, 8 insertions(+), 6 deletions(-) - -commit 99fa9ea020f26ed2697f38a7690ee1e1b5d946c4 -Author: Behdad Esfahbod -Date: Fri Feb 15 11:47:24 2013 -0500 - - Minor - - src/hb-ot-layout-gsub-table.hh | 4 +--- - 1 file changed, 1 insertion(+), 3 deletions(-) - -commit 27589620ba2dcf356fd7fa21cd80221a07803202 -Author: Behdad Esfahbod -Date: Fri Feb 15 11:47:09 2013 -0500 - - [OTLayout] Remove unused code - - src/hb-open-type-private.hh | 5 ----- - 1 file changed, 5 deletions(-) - -commit ebb77b9c5e357ff7c9badb0f4bf1c3a965c3e91d -Author: Behdad Esfahbod -Date: Fri Feb 15 09:33:10 2013 -0500 - - Remove TODO items that don't make sense - - The spec says those features need to be disabled by default. - - TODO | 2 -- - 1 file changed, 2 deletions(-) - -commit c2a1cdc4c4cc51f4680ebc4ec2c462cb660f9492 -Author: Behdad Esfahbod -Date: Fri Feb 15 09:27:02 2013 -0500 - - [Arabic] Fix shaping of left-joining 'Phags-Pa U+A872 - - This is the first character in Unicode to have Arabic left-joining - behavior. Update the machine to recognize that. - - Test case: U+A840,U+A872,U+A840. - - src/hb-ot-shape-complex-arabic.cc | 40 +++++++++++++++++++-------------------- - 1 file changed, 19 insertions(+), 21 deletions(-) - -commit 05ac87813d17d9ebbfa315eee3f80f25b53135c5 -Author: Behdad Esfahbod -Date: Fri Feb 15 09:26:41 2013 -0500 - - [tests] Add Syriac Alaph shaping test cases - - .../shaper-arabic/script-syriac/misc/MANIFEST | 1 + - .../shaper-arabic/script-syriac/misc/alaph.txt | 98 ++++++++++++++++++++++ - 2 files changed, 99 insertions(+) - -commit c462b32dcb883a7aca066af24c4d28c7a2b7fa28 -Author: Behdad Esfahbod -Date: Fri Feb 15 07:51:47 2013 -0500 - - Disable automatic segment properties guessing - - Before, if one called hb_shape() without setting script, language, and - direction on the buffer, hb_shape() was calling - hb_buffer_guess_segment_properties() on the user's behalf to guess - these. - - This is very dangerous, since any serious user of HarfBuzz must set - these properly (specially important is direction). So now, we don't - guess properties by default. People not setting direction will get - an abort() now. If the old behavior is desired (fragile, good for - simple testing only), users can call - hb_buffer_guess_segment_properties() on the buffer just before calling - hb_shape(). - - src/hb-fallback-shape.cc | 1 - - src/hb-ot-shape.cc | 2 -- - src/hb-shape.cc | 2 -- - util/options.hh | 1 + - 4 files changed, 1 insertion(+), 5 deletions(-) - -commit 7abddbb47a489aaac8e76ac6e700cd815739b1d2 -Author: Behdad Esfahbod -Date: Fri Feb 15 07:46:57 2013 -0500 - - Add assertions for a couple programmer errors - - src/hb-shape-plan.cc | 8 +++++++- - 1 file changed, 7 insertions(+), 1 deletion(-) - -commit 038c98f6866fe1177b04bd2ae3bb461b2f0fd1ed -Author: Behdad Esfahbod -Date: Fri Feb 15 07:41:07 2013 -0500 - - Allow disabling of TrueType kerning - - Responds to the same feature tag that GPOS kerning does: - 'kern' for horizontal and 'vkrn' for vertical. - - TODO | 2 -- - src/hb-ot-shape.cc | 55 ++++++++++++++++++++++++++++++++++-------------------- - 2 files changed, 35 insertions(+), 22 deletions(-) - -commit 398238a2526d322eb79e255c24634a275473920f -Author: Behdad Esfahbod -Date: Fri Feb 15 07:40:10 2013 -0500 - - Fix partial disabling of default-on features - - Surprisingly, if user ever tried to turn a default feature off partially - (say, disable liga for a range), the feature was being turned off - globally! Fixed now. - - src/hb-ot-map.cc | 5 ++--- - 1 file changed, 2 insertions(+), 3 deletions(-) - -commit cb90b1bbe6d27ca6968b70d2dbfea7ab7fb73293 -Author: Behdad Esfahbod -Date: Fri Feb 15 07:02:08 2013 -0500 - - [OTLayout] Respect syllable boundaries for backtrack/lookahead matching - - Originally we meant to match backtrack/lookahead across syllable - boundaries. But a bug in the code meant that this was NOT done for - backtrack. We "fixed" that in 2c7d0b6b80d412de3fddd443ed1a485ea1cbb03c, - but that broke Myanmar shaping. - - We now believe that for Indic-like shapers (which is where syllables are - used), all basic shaping forms should be fully contained within their - syllables, so now we limit backtrack/lookahead matching to the syllable - too. Unbreaks Myanmar. - - src/hb-ot-layout-gsubgpos-private.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit ee9c3a17d0bf263c5eee479fd778db97cff8e189 -Author: Behdad Esfahbod -Date: Fri Feb 15 06:22:26 2013 -0500 - - Minor refactoring - - src/hb-ot-shape-complex-myanmar.cc | 36 ++++++++++-------------------------- - src/hb-ot-shape-complex-sea.cc | 37 ++++++++++--------------------------- - src/hb-ot-shape.cc | 17 ++++++----------- - 3 files changed, 26 insertions(+), 64 deletions(-) - -commit cfc507c5432e6327e8484b07b9e091212653bc92 -Author: Behdad Esfahbod -Date: Thu Feb 14 10:40:12 2013 -0500 - - [Indic-like] Disable automatic joiner handling for basic shaping features - - Not for Arabic, but for Indic-like scripts. ZWJ/ZWNJ have special - meanings in those scripts, so let font lookups take full control. - - This undoes the regression caused by automatic-joiners handling - introduced two commits ago. - - We only disable automatic joiner handling for the "basic shaping - features" of Indic, Myanmar, and SEAsian shapers. The "presentation - forms" and other features are still applied with automatic-joiner - handling. - - This change also changes the test suite failure statistics, such that - a few scripts show more "failures". The most affected is Kannada. - However, upon inspection, we believe that in most, if not all, of the - new failures, we are producing results superior to Uniscribe. Hard to - count those! - - Here's an example of what is fixed by the recent joiner-handling - changes: - - https://bugs.freedesktop.org/show_bug.cgi?id=58714 - - New numbers, for future reference: - - BENGALI: 353892 out of 354188 tests passed. 296 failed (0.0835714%) - DEVANAGARI: 707336 out of 707394 tests passed. 58 failed (0.00819911%) - GUJARATI: 366262 out of 366457 tests passed. 195 failed (0.0532122%) - GURMUKHI: 60706 out of 60747 tests passed. 41 failed (0.067493%) - KANNADA: 950680 out of 951913 tests passed. 1233 failed (0.129529%) - KHMER: 299074 out of 299124 tests passed. 50 failed (0.0167155%) - LAO: 53611 out of 53644 tests passed. 33 failed (0.0615167%) - MALAYALAM: 1047983 out of 1048334 tests passed. 351 failed (0.0334817%) - ORIYA: 42320 out of 42329 tests passed. 9 failed (0.021262%) - SINHALA: 271539 out of 271847 tests passed. 308 failed (0.113299%) - TAMIL: 1091753 out of 1091754 tests passed. 1 failed (9.15957e-05%) - TELUGU: 970555 out of 970573 tests passed. 18 failed (0.00185457%) - TIBETAN: 208469 out of 208469 tests passed. 0 failed (0%) - - src/hb-ot-layout-gsubgpos-private.hh | 35 +++++++++++++++++++----------- - src/hb-ot-layout-private.hh | 6 +++-- - src/hb-ot-layout.cc | 10 +++++---- - src/hb-ot-map-private.hh | 12 ++++++---- - src/hb-ot-map.cc | 32 +++++++++++++++++++++------ - src/hb-ot-shape-complex-arabic-fallback.hh | 2 +- - src/hb-ot-shape-complex-indic.cc | 29 +++++++++++++------------ - src/hb-ot-shape-complex-myanmar.cc | 4 ++-- - src/hb-ot-shape-complex-sea.cc | 4 ++-- - 9 files changed, 85 insertions(+), 49 deletions(-) - -commit 0b45479198d61d5135dad771e9c68408eb13f930 -Author: Behdad Esfahbod -Date: Thu Feb 14 10:46:52 2013 -0500 - - [OTLayout] Add fine-grained control over ZWJ matching - - Not used yet. Next commit... - - src/hb-ot-layout-gsubgpos-private.hh | 10 ++++++++-- - src/hb-ot-layout-private.hh | 11 +++++++++-- - 2 files changed, 17 insertions(+), 4 deletions(-) - -commit 607feb7cff0e50f8738d2e49ca463fc9d7d494de -Author: Behdad Esfahbod -Date: Thu Feb 14 07:43:13 2013 -0500 - - [OTLayout] Ignore default-ignorables when matching GSUB/GPOS - - When matching lookups, be smart about default-ignorable characters. - In particular: - - Do nothing specific about ZWNJ, but for the other default-ignorables: - - If the lookup in question uses the ignorable character in a sequence, - then match it as we used to do. However, if the sequence match will - fail because the default-ignorable blocked it, try skipping the - ignorable character and continue. - - The most immediate thing it means is that if Lam-Alef forms a ligature, - then Lam-ZWJ-Alef will do to. Finally! - - One exception: when matching for GPOS, or for backtrack/lookahead of - GSUB, we ignore ZWNJ too. That's the right thing to do. - - It certainly is possible to build fonts that this feature will result - in undesirable glyphs, but it's hard to think of a real-world case - that that would happen. - - This *does* break Indic shaping right now, since Indic Unicode has - specific rules for what ZWJ/ZWNJ mean, and skipping ZWJ is breaking - those rules. That will be fixed in upcoming commits. - - src/hb-ot-layout-gpos-table.hh | 1 + - src/hb-ot-layout-gsub-table.hh | 2 +- - src/hb-ot-layout-gsubgpos-private.hh | 279 ++++++++++++++++++++++++----------- - src/hb-ot-layout-private.hh | 45 ++++++ - src/hb-ot-shape-private.hh | 44 ------ - 5 files changed, 237 insertions(+), 134 deletions(-) - -commit ec5448667b30ad662401c2b4f5fc0da524c013fd -Author: Behdad Esfahbod -Date: Thu Feb 14 11:25:10 2013 -0500 - - Add hb_ot_map_feature_flags_t - - Code cleanup. No (intended) functional change. - - src/hb-ot-map-private.hh | 29 +++++++++++++++++--- - src/hb-ot-map.cc | 24 ++++++++--------- - src/hb-ot-shape-complex-arabic.cc | 4 +-- - src/hb-ot-shape-complex-indic.cc | 55 +++++++++++++++++++------------------- - src/hb-ot-shape-complex-myanmar.cc | 4 +-- - src/hb-ot-shape-complex-sea.cc | 2 +- - src/hb-ot-shape.cc | 6 +++-- - 7 files changed, 74 insertions(+), 50 deletions(-) - -commit e7ffcfafb1108801ac504f18f820e497226bf07f -Author: Behdad Esfahbod -Date: Thu Feb 14 11:05:56 2013 -0500 - - Clean-up add_bool_feature - - src/hb-ot-map-private.hh | 4 ++-- - src/hb-ot-shape-complex-arabic.cc | 16 ++++++++-------- - src/hb-ot-shape-complex-default.cc | 2 +- - src/hb-ot-shape-complex-indic.cc | 8 ++++---- - src/hb-ot-shape-complex-myanmar.cc | 8 ++++---- - src/hb-ot-shape-complex-sea.cc | 8 ++++---- - src/hb-ot-shape.cc | 10 +++++----- - 7 files changed, 28 insertions(+), 28 deletions(-) - -commit e7562f53fe6a506d2c6d59d6688e4fa468bba462 -Author: Behdad Esfahbod -Date: Thu Feb 14 11:05:36 2013 -0500 - - Fix compile warnings for ragel-generated machines - - src/hb-ot-shape-complex-indic-machine.rl | 2 +- - src/hb-ot-shape-complex-myanmar-machine.rl | 2 +- - src/hb-ot-shape-complex-sea-machine.rl | 2 +- - 3 files changed, 3 insertions(+), 3 deletions(-) - -commit 4e51df73a337f7232a7dfa85df78a4f19b24771b -Author: Behdad Esfahbod -Date: Thu Feb 14 07:42:42 2013 -0500 - - [OTLayout] Remove unused function - - src/hb-ot-layout-gsubgpos-private.hh | 5 ----- - 1 file changed, 5 deletions(-) - -commit 8820bb235b1f63e4d93c8a2f5c08b44d89e06b78 -Author: Behdad Esfahbod -Date: Thu Feb 14 07:41:03 2013 -0500 - - [OTLayout] Port apply_lookup to skippy_iter - - src/hb-ot-layout-gsubgpos-private.hh | 50 +++++++++++++++++++++++++----------- - 1 file changed, 35 insertions(+), 15 deletions(-) - -commit dfca269f069dae2f99990dac24da15d316eccb9f -Author: Behdad Esfahbod -Date: Thu Feb 14 07:20:52 2013 -0500 - - [OTLayout] Port ligate_input to skippy_iter - - src/hb-ot-layout-gsubgpos-private.hh | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -commit 7e53415c2d8859e8b5948a2edb38c39a8f78b825 -Author: Behdad Esfahbod -Date: Thu Feb 14 06:24:30 2013 -0500 - - [OTLayout] Minor fix for apply_lookup() - - Should NOT change behavior, since first glyph is a match. - - src/hb-ot-layout-gsubgpos-private.hh | 16 +++++++++------- - 1 file changed, 9 insertions(+), 7 deletions(-) - -commit 6880f7e19d44c50e45ecb86d26381aad956d9acb -Author: Behdad Esfahbod -Date: Wed Feb 13 12:17:25 2013 -0500 - - [OTLayout] Make table type known to apply context - - src/hb-ot-layout-gsubgpos-private.hh | 5 ++++- - src/hb-ot-layout.cc | 4 ++-- - src/hb-ot-shape-complex-arabic-fallback.hh | 2 +- - 3 files changed, 7 insertions(+), 4 deletions(-) - -commit 2c7d0b6b80d412de3fddd443ed1a485ea1cbb03c -Author: Behdad Esfahbod -Date: Wed Feb 13 12:10:08 2013 -0500 - - [OTLayou] Unbreak backtrack matching - - Was introduced by 28b9d502bb69a8045818d5f6113ded9c59a56bd7. - - src/hb-ot-layout-gsubgpos-private.hh | 7 +++---- - 1 file changed, 3 insertions(+), 4 deletions(-) - -commit c074ebc466dcc9bcc0d8a5dd7e942dea974ff718 -Author: Behdad Esfahbod -Date: Wed Feb 13 11:22:42 2013 -0500 - - [OTLayout] Minor refactoring - - src/hb-ot-layout-gpos-table.hh | 9 ++++++--- - src/hb-ot-layout-gsubgpos-private.hh | 30 +++++++++++++++++------------- - 2 files changed, 23 insertions(+), 16 deletions(-) - -commit 407fc12466ef460d0edf11b89f0d04c4d724875f -Author: Behdad Esfahbod -Date: Wed Feb 13 11:13:06 2013 -0500 - - [OTLayout] Remove bogus caching of glyph property - - src/hb-ot-layout-gpos-table.hh | 21 ++++++++----------- - src/hb-ot-layout-gsub-table.hh | 7 +++---- - src/hb-ot-layout-gsubgpos-private.hh | 40 ++++++++++++++---------------------- - 3 files changed, 26 insertions(+), 42 deletions(-) - -commit 6b1e3502e23c110dd810f854ba021f83baab1548 -Author: Behdad Esfahbod -Date: Wed Feb 13 11:02:54 2013 -0500 - - Remember ZWNJ - - To be used in upcoming changes. - - src/hb-ot-shape-private.hh | 11 +++++++++-- - 1 file changed, 9 insertions(+), 2 deletions(-) - -commit 1f91c39677f840a1f630696d16d083060069abf5 -Author: Behdad Esfahbod -Date: Wed Feb 13 09:38:40 2013 -0500 - - Indent - - src/hb-ot-shape-complex-indic.cc | 8 ++++++-- - 1 file changed, 6 insertions(+), 2 deletions(-) - -commit a0cb9f33ee064628debe8e848094dfd661334640 -Author: Behdad Esfahbod -Date: Wed Feb 13 09:26:55 2013 -0500 - - [Indic] Improve base finding in final_reordering - - Fixes 5 Malayalam failures! - - MALAYALAM: 1048016 out of 1048334 tests passed. 318 failed (0.0303338%) - - src/hb-ot-shape-complex-indic.cc | 7 +++++++ - 1 file changed, 7 insertions(+) - -commit 126f39cd16cea87b2696f66467c83a585bd4c2cf -Author: Behdad Esfahbod -Date: Wed Feb 13 08:29:21 2013 -0500 - - Add more dot-reph tests - - .../shaper-indic/indic/script-malayalam/misc/dot-reph.txt | 10 ++++++++++ - 1 file changed, 10 insertions(+) - -commit f22b7e77783fa2f44365e0fe6413c4474c07048d -Author: Behdad Esfahbod -Date: Wed Feb 13 07:32:46 2013 -0500 - - [Indic] Track base position when reordering things - - Ouch, how did things ever work without this?! The added test that has a - dot-reph as well as a pre-base reordering Ra perfectly demonstrates the - bug (tested with Nirmala font from Win8 for example). Testing suggests - that Win8 shaper has the *exact* same bug / behavior that we used to - have. Odd. - - src/hb-ot-shape-complex-indic.cc | 6 ++++++ - .../in-tree/shaper-indic/indic/script-malayalam/misc/dot-reph.txt | 1 + - 2 files changed, 7 insertions(+) - -commit bc11de144c0a7a95fa0945aa7f053d8117af282a -Author: Behdad Esfahbod -Date: Wed Feb 13 05:59:06 2013 -0500 - - [SEA] Don't zero any mark advances - - Keep the logic simple, easier to explain to font developers. - - src/hb-ot-shape-complex-sea.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 0291a6528685f1f593707655943fb2360579cb9e -Author: Behdad Esfahbod -Date: Wed Feb 13 05:57:24 2013 -0500 - - Further adjust mark advance zeroing - - This is a followup to 568000274c8edb5f41bc4f876ce21fcc8bdaeed8. - Looks like in the Latin shaper, Uniscribe zeroes all Unicode NSM - advances *after* GPOS, not before. Match that. - - Can be tested using DejaVu Sans Mono, since that font has GPOS - rules to zero the mark advances on its own. - - src/hb-ot-shape.cc | 33 +++++++++++++++++++++++---------- - 1 file changed, 23 insertions(+), 10 deletions(-) - -commit 85c51ec2e1d518019e32801ae38659c74fc20d80 -Author: Behdad Esfahbod -Date: Tue Feb 12 18:17:39 2013 -0500 - - [Indic] Fix Eyelash Ra with old Devanagari spec - - src/hb-ot-shape-complex-indic.cc | 32 ++++++++++++++++++++++++++++++++ - 1 file changed, 32 insertions(+) - -commit cc5f24cde079b451799562b3af7ce06d932cbe6b -Author: Behdad Esfahbod -Date: Tue Feb 12 18:17:12 2013 -0500 - - [tests] Add tests for Devanagary Eyelash Ra - - Currently broken with Sanskrit 2003 font. - - .../texts/in-tree/shaper-indic/indic/script-devanagari/misc/MANIFEST | 1 + - .../in-tree/shaper-indic/indic/script-devanagari/misc/eyelash.txt | 3 +++ - 2 files changed, 4 insertions(+) - -commit 63e48bc33b68f940c351af623a55a4cf650db102 -Author: Behdad Esfahbod -Date: Tue Feb 12 17:57:49 2013 -0500 - - [Indic] Apply 'blwf' before 'half' - - This reverts 167b625d988b74572d6b2f646c285b666b650d49. It didn't - matter before, but that's going to change with next commit. - - src/hb-ot-shape-complex-indic.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 70d656571194d2bd32671244530edbe159722cec -Author: Behdad Esfahbod -Date: Tue Feb 12 18:01:21 2013 -0500 - - [Indic] Apply 'vatu' before 'cjct' - - This essentially reverts 1d6846db9ebf84561bb30a4e48c6c43184914099, - but that commit is from way back when. We should be better - following the spec order now again. - - src/hb-ot-shape-complex-indic.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 64bb2ae857cfda35dd71c7f1e962722069674ec6 -Author: Behdad Esfahbod -Date: Tue Feb 12 16:29:25 2013 -0500 - - Didn't mean to push this out - - Ouch! - - test/shaping/hb_test_tools.py | 1 - - 1 file changed, 1 deletion(-) - -commit f9b660534c269d2257d6b5e8ec2173ee71668f2f -Author: Behdad Esfahbod -Date: Tue Feb 12 16:13:56 2013 -0500 - - [Myanmar] Use master Indic table for syllable data - - src/hb-ot-shape-complex-myanmar.cc | 144 +++++++++---------------------------- - test/shaping/hb_test_tools.py | 1 + - 2 files changed, 35 insertions(+), 110 deletions(-) - -commit f60793e854393c32337a483c5d1700bf17d767fd -Author: Behdad Esfahbod -Date: Tue Feb 12 15:45:59 2013 -0500 - - [tests] Add Cham sample - - test/shaping/texts/in-tree/shaper-sea/script-cham/misc/misc.txt | 1 + - 1 file changed, 1 insertion(+) - -commit e2aab4b5db88c368c11cee81368b9ad41399e585 -Author: Behdad Esfahbod -Date: Tue Feb 12 15:35:32 2013 -0500 - - Improve checks for setmode() - - As reported by Jonathan, OS X has setmode() that is something other - than what setmode() is on Win32. So, limit invocation to Windows - platforms only. - - configure.ac | 4 ++-- - util/options.cc | 4 ++-- - util/options.hh | 2 +- - 3 files changed, 5 insertions(+), 5 deletions(-) - -commit a6c1e040e594faeefd61b456ef995c7886cdea78 -Author: Behdad Esfahbod -Date: Tue Feb 12 15:31:58 2013 -0500 - - Improve check for Windows platforms - - Instead of checking for compiler, check for platform. - - src/hb-atomic-private.hh | 2 +- - src/hb-mutex-private.hh | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit 9e1f80ab3eea4a74cdaa6a390e4925a479ece1c5 -Author: Behdad Esfahbod -Date: Tue Feb 12 15:28:21 2013 -0500 - - [SEA] Treat Consonant_Final like Consonant_Medial - - src/hb-ot-shape-complex-indic-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit bab02d339f39ed5168daaef9461227f78e596a2f -Author: Behdad Esfahbod -Date: Tue Feb 12 15:26:45 2013 -0500 - - Rename HB_OT_INDIC_OPTIONS env var to HB_OPTIONS - - The Myanmar shaper now respects the uniscribe-bug-compatibility - option too. - - src/hb-common.cc | 20 ++++++++++++-- - src/hb-ot-shape-complex-indic.cc | 53 ++++---------------------------------- - src/hb-ot-shape-complex-myanmar.cc | 7 ++--- - src/hb-private.hh | 29 +++++++++++++++++++++ - 4 files changed, 54 insertions(+), 55 deletions(-) - -commit 3a83d33ec0b1be6f5992816ff5ebb0f43c8dff00 -Author: Behdad Esfahbod -Date: Tue Feb 12 12:14:10 2013 -0500 - - Add South-East Asian shaper - - Handles Tai Tham, Cham, and New Tai Lue for now. - - src/Makefile.am | 12 +- - src/gen-indic-table.py | 9 +- - src/hb-ot-shape-complex-indic-private.hh | 241 +------------ - ...table.hh => hb-ot-shape-complex-indic-table.cc} | 9 +- - src/hb-ot-shape-complex-indic.cc | 239 ++++++++++++ - src/hb-ot-shape-complex-myanmar.cc | 2 +- - src/hb-ot-shape-complex-private.hh | 28 +- - src/hb-ot-shape-complex-sea-machine.rl | 102 ++++++ - src/hb-ot-shape-complex-sea.cc | 400 +++++++++++++++++++++ - test/shaping/texts/in-tree/MANIFEST | 1 + - .../in-tree/shaper-indic/south-east-asian/MANIFEST | 1 - - test/shaping/texts/in-tree/shaper-myanmar/MANIFEST | 1 + - test/shaping/texts/in-tree/shaper-sea/MANIFEST | 3 + - .../script-cham}/MANIFEST | 0 - .../script-cham}/misc/MANIFEST | 0 - .../in-tree/shaper-sea/script-cham/misc/misc.txt | 1 + - .../in-tree/shaper-sea/script-new-tai-lue/MANIFEST | 1 + - .../shaper-sea/script-new-tai-lue/misc/MANIFEST | 1 + - .../script-new-tai-lue/misc/misc.txt | 0 - .../in-tree/shaper-sea/script-tai-tham/MANIFEST | 1 + - .../shaper-sea/script-tai-tham/misc/MANIFEST | 1 + - .../shaper-sea/script-tai-tham/misc/misc.txt | 2 + - 22 files changed, 792 insertions(+), 263 deletions(-) - -commit fb960212063016656dfaba83f072c81d1efc3202 -Author: Behdad Esfahbod -Date: Tue Feb 12 10:33:58 2013 -0500 - - Minor test reshufflings - - test/shaping/texts/in-tree/MANIFEST | 1 + - .../{shaper-indic/south-asian/script-tibetan => script-default}/MANIFEST | 0 - .../south-asian/script-tibetan => script-default}/misc/MANIFEST | 0 - .../south-asian/script-tibetan => script-default}/misc/misc.txt | 0 - test/shaping/texts/in-tree/shaper-indic/MANIFEST | 1 - - test/shaping/texts/in-tree/shaper-indic/south-asian/MANIFEST | 1 - - test/shaping/texts/in-tree/shaper-indic/south-east-asian/MANIFEST | 1 - - .../texts/in-tree/shaper-indic/south-east-asian/script-thai/MANIFEST | 1 - - .../in-tree/shaper-indic/south-east-asian/script-thai/misc/MANIFEST | 0 - 9 files changed, 1 insertion(+), 4 deletions(-) - -commit 5676d5d52784e16068ae483103d59111a8081854 -Author: Behdad Esfahbod -Date: Tue Feb 12 10:31:14 2013 -0500 - - [Indic] Make sure New Tai Lue works! - - src/hb-ot-shape-complex-private.hh | 12 ++++++++---- - .../texts/in-tree/shaper-indic/south-east-asian/MANIFEST | 1 + - .../south-east-asian/script-new-tai-lue/MANIFEST | 1 + - .../south-east-asian/script-new-tai-lue/misc/MANIFEST | 1 + - .../south-east-asian/script-new-tai-lue/misc/misc.txt | 1 + - 5 files changed, 12 insertions(+), 4 deletions(-) - -commit 568000274c8edb5f41bc4f876ce21fcc8bdaeed8 -Author: Behdad Esfahbod -Date: Tue Feb 12 09:44:57 2013 -0500 - - Adjust mark advance-width zeroing logic for Myanmar - - Before, we were zeroing advance width of attached marks for - non-Indic scripts, and not doing it for Indic. - - We have now three different behaviors, which seem to better - reflect what Uniscribe is doing: - - - For Indic, no explicit zeroing happens whatsoever, which - is the same as before, - - - For Myanmar, zero advance width of glyphs marked as marks - *in GDEF*, and do that *before* applying GPOS. This seems - to be what the new Win8 Myanmar shaper does, - - - For everything else, zero advance width of glyphs that are - from General_Category=Mn Unicode characters, and do so - before applying GPOS. This seems to be what Uniscribe does - for Latin at least. - - With these changes, positioning of all tests matches for Myanmar, - except for the glitch in Uniscribe not applying 'mark'. See preivous - commit. - - src/hb-ot-layout-gpos-table.hh | 12 ++++-------- - src/hb-ot-layout-private.hh | 3 +-- - src/hb-ot-layout.cc | 4 ++-- - src/hb-ot-shape-complex-arabic.cc | 2 +- - src/hb-ot-shape-complex-default.cc | 2 +- - src/hb-ot-shape-complex-indic.cc | 2 +- - src/hb-ot-shape-complex-myanmar.cc | 2 +- - src/hb-ot-shape-complex-private.hh | 9 ++++++++- - src/hb-ot-shape-complex-thai.cc | 2 +- - src/hb-ot-shape.cc | 31 +++++++++++++++++++++++++++++-- - 10 files changed, 49 insertions(+), 20 deletions(-) - -commit 99749ca8e0c4c8dbea4620f07c4d0e6d1515cc65 -Author: Behdad Esfahbod -Date: Tue Feb 12 09:44:35 2013 -0500 - - [Myanmar] Add note re Uniscribe NOT applying 'mark' - - src/hb-ot-shape-complex-myanmar.cc | 14 ++++++++++++++ - 1 file changed, 14 insertions(+) - -commit b8427801381180da9611b2e3e0f0b3514274de81 -Author: Behdad Esfahbod -Date: Mon Feb 11 17:02:17 2013 -0500 - - Minor - - src/hb-atomic-private.hh | 2 +- - src/hb-mutex-private.hh | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit 419c933ed1b5d97c7561546536ef5810a7b0ebd0 -Author: Behdad Esfahbod -Date: Mon Feb 11 16:16:16 2013 -0500 - - [Myanmar] Fix handling of Punctuation and Symbol types - - Testing with "clusters" now on par with testing without them. 15 - failures both. - - src/hb-ot-shape-complex-myanmar.cc | 12 ++++++++++++ - 1 file changed, 12 insertions(+) - -commit 0572c1410a9cb0ac5dd5dc84a8034698cc5c4892 -Author: Behdad Esfahbod -Date: Mon Feb 11 16:06:02 2013 -0500 - - [Myanmar] Fixup handling of joiners and GB characters - - src/hb-ot-shape-complex-myanmar-machine.rl | 6 ++---- - src/hb-ot-shape-complex-myanmar.cc | 19 +++++++++++++++++-- - 2 files changed, 19 insertions(+), 6 deletions(-) - -commit 1c8654ead41ca746d577549c92d2a41c594ab639 -Author: Behdad Esfahbod -Date: Mon Feb 11 14:27:02 2013 -0500 - - [Myanmar] Prevent reordering between Asat and Dot below - - Implemented as a hack for now. Myanmar failures down from 23 to 15. - - MYANMAR: 1123868 out of 1123883 tests passed. 15 failed (0.00133466%) - - The remaining 15 cases are all where the syllable is wrong according to - the OpenType spec. We insert dottedcircle. Uniscribe fails to do that, - but it also fails to reorder the prebase-reordering medial-Ra. So it - gets it wrong. - - src/hb-unicode-private.hh | 3 +++ - 1 file changed, 3 insertions(+) - -commit bed687f886b8def06642ad986648e9149a935add -Author: Behdad Esfahbod -Date: Mon Feb 11 14:24:03 2013 -0500 - - Shuffle test data around - - test/shaping/texts/in-tree/MANIFEST | 1 + - test/shaping/texts/in-tree/shaper-indic/south-east-asian/MANIFEST | 1 - - .../in-tree/shaper-indic/south-east-asian/script-thai/misc/MANIFEST | 1 - - .../south-east-asian => shaper-myanmar}/script-myanmar/MANIFEST | 0 - .../south-east-asian => shaper-myanmar}/script-myanmar/misc/MANIFEST | 0 - .../south-east-asian => shaper-myanmar}/script-myanmar/misc/misc.txt | 0 - .../south-east-asian => shaper-myanmar}/script-myanmar/misc/utn11.txt | 0 - test/shaping/texts/in-tree/shaper-thai/script-thai/misc/MANIFEST | 1 + - .../south-east-asian => shaper-thai}/script-thai/misc/misc.txt | 0 - 9 files changed, 2 insertions(+), 2 deletions(-) - -commit 98628cac9f733f2674d6409954cddb7d0634c233 -Author: Behdad Esfahbod -Date: Mon Feb 11 13:36:23 2013 -0500 - - Add Win8-style Myanmar shaper - - Myanmar failures down from 51% to 0.00204648%! - - MYANMAR: 1123860 out of 1123883 tests passed. 23 failed (0.00204648%) - - src/Makefile.am | 14 +- - src/hb-ot-shape-complex-indic.cc | 2 - - src/hb-ot-shape-complex-myanmar-machine.rl | 127 ++++++ - src/hb-ot-shape-complex-myanmar.cc | 599 +++++++++++++++++++++++++++++ - src/hb-ot-shape-complex-private.hh | 5 +- - 5 files changed, 740 insertions(+), 7 deletions(-) - -commit 1df56449586bd32275a6fa69dcadd5fb77a84f82 -Author: Behdad Esfahbod -Date: Mon Feb 11 14:17:54 2013 -0500 - - Minor - - src/hb-ot-shape-complex-indic.cc | 3 --- - 1 file changed, 3 deletions(-) - -commit 54f7b4d9ec13f8454aa298534da318c023fa3c63 -Author: Behdad Esfahbod -Date: Mon Feb 11 13:27:17 2013 -0500 - - [OTLayout] Respect lookup-flags skipping over non-mark glyphs - - Before, when matching ligatures, we never skipping over base / liga - glyphs even if that was what the LookupFlags asked for. - - Fixed now. We carefully reviewed all instances of this, and tested with - Amiri as well as some Indic scripts, and are confident that this should - NOT break anyone's fonts. It's also how Uniscribe does it, from what - we can tell. - - src/hb-ot-layout-gpos-table.hh | 2 +- - src/hb-ot-layout-gsubgpos-private.hh | 25 ++++++++++--------------- - 2 files changed, 11 insertions(+), 16 deletions(-) - -commit 9082efc4aacb34de8574d6a4a3c037987df58bd8 -Author: Behdad Esfahbod -Date: Mon Feb 11 13:14:15 2013 -0500 - - [OTLayout] s/mark_skipping/skipping/ - - In aticipation of upcoming changes. - - src/hb-ot-layout-gpos-table.hh | 12 ++++++------ - src/hb-ot-layout-gsubgpos-private.hh | 28 ++++++++++++++-------------- - 2 files changed, 20 insertions(+), 20 deletions(-) - -commit 9621e0ba294c9cc6d458bbf632e63e92fda71e10 -Author: Behdad Esfahbod -Date: Mon Feb 11 06:58:27 2013 -0500 - - [Indic] Fix bug introduced in 8b217f5ac54aa0dcbba2dd6d59aa89dde33e56c2 - - Was breaking reph formation logic when the Ra is the only consonant. - Devanagari regression fixed. Down to 57 failures again. Ouch. - - src/hb-ot-shape-complex-indic.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 6e74c64211b6aaac48bae8c87f9420d8dc03fd93 -Author: Behdad Esfahbod -Date: Mon Feb 11 06:50:17 2013 -0500 - - Improve normalization heuristic - - Before, for most scripts, we were not trying to recompose two characters - if the second one had ccc=0. That fails for Myanmar where U+1026 - decomposes to U+1025,U+102E, both of which have ccc=0. However, we do - want to try to recompose those. We now check whether the second is a - mark, using general category instead. - - At the same time, remove optimization that was conflicting with this. - - [Let the Ngapi hackfest begin!] - - src/hb-ot-shape-normalize.cc | 39 +++++++++++++-------------------------- - 1 file changed, 13 insertions(+), 26 deletions(-) - -commit 614242efb043f2ed78916377138d456279a20a54 -Author: Behdad Esfahbod -Date: Wed Feb 6 23:45:27 2013 -0500 - - Revert "Include config.h.in in tree" - - This reverts commit 01013a0f5c58d5d54a37e5b4d6692e0bbd4baf80. - - Conflicts: - config.h.in - - Same argument as previous commit. - - Makefile.am | 1 + - config.h.in | 153 ------------------------------------------------------------ - 2 files changed, 1 insertion(+), 153 deletions(-) - -commit adff3778155facb7b149ce66ab7d573368e048de -Author: Behdad Esfahbod -Date: Wed Feb 6 23:43:27 2013 -0500 - - Revert "[Indic] Import ragel-generated Indic machine in git" - - This reverts commit fab7a71f110ed646745d54b23284537c50058c21. - - Conflicts: - src/hb-ot-shape-complex-indic-machine.hh - - Keeping that generated file in-tree causes problems with processes like - tinderbox that automatically fetch and build harfbuzz. It's harder to - bootstrap harfbuzz now (as was previously), but I'm willing to give this - another chance and see how it goes. - - autogen.sh | 6 + - src/Makefile.am | 1 + - src/hb-ot-shape-complex-indic-machine.hh | 1443 ------------------------------ - 3 files changed, 7 insertions(+), 1443 deletions(-) - -commit 5898fa94d12b19686f649104bd6efe8daa1ba0c9 -Author: Behdad Esfahbod -Date: Wed Feb 6 15:29:07 2013 -0500 - - Don't use $(ENV) - - As reported by Peter Breitenlohner: - - I think this is a very bad idea because ENV is used to specify a startup - file to be read by some/all shells. - - test/api/Makefile.am | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 52d66c26a2102bd1a49463b8e8f04612598f8ac1 -Author: Behdad Esfahbod -Date: Mon Feb 4 23:31:24 2013 -0500 - - Add color-tests automake option - - configure.ac | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 9de5f98f363d96f308adc33f1c2286e5c33117de -Author: Behdad Esfahbod -Date: Mon Feb 4 23:28:22 2013 -0500 - - Bug 60035 - intermittent make install failure on hb-version.h - - src/Makefile.am | 12 +++++++----- - 1 file changed, 7 insertions(+), 5 deletions(-) - -commit 6c1e8b614cfd6ed016fba6bf20af1e422e79eb71 -Author: Behdad Esfahbod -Date: Mon Feb 4 23:24:16 2013 -0500 - - Bug 59637 - check-exported-symbols.sh & check-internal-symbols.sh fail on mips/mipsel - - src/check-symbols.sh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit bafdf3d983dcc277d6e7e322277c0bb25b41a173 -Author: Behdad Esfahbod -Date: Mon Feb 4 23:06:50 2013 -0500 - - Merge check-internal-symbols.sh and check-exported-symbols.sh - - src/Makefile.am | 3 +- - src/check-internal-symbols.sh | 34 ---------------------- - ...{check-exported-symbols.sh => check-symbols.sh} | 16 ++++++++-- - 3 files changed, 14 insertions(+), 39 deletions(-) - -commit ceeae30f47b9d628484ae398bc38f3f60ee8eab4 -Author: Behdad Esfahbod -Date: Thu Jan 31 19:27:36 2013 -0500 - - Really fix setmode this time - - Thanks to Khaled for spotting it. - - util/options.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 7cba8a673b4b436a737fc4ffe85dc84ddd2bf41f -Author: Behdad Esfahbod -Date: Thu Jan 31 18:37:10 2013 -0500 - - Fixup previous commit - - Now, it looks like this breaks Cygwin again. Have to figure out what's - going on. - - util/options.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit bc76449f51f20491a4540b4f240f5a3e0dcb20fe -Author: Behdad Esfahbod -Date: Thu Jan 31 18:18:05 2013 -0500 - - Use setmode() instead of _setmode() - - Looks like Cygwin / MSVC declare it that way, and it still works on - MinGW32 cross. - - config.h.in | 6 +++--- - configure.ac | 2 +- - util/options.cc | 2 +- - util/options.hh | 2 +- - 4 files changed, 6 insertions(+), 6 deletions(-) - -commit e9171af55cc6a402eb20db4ea74c86a0b1e70e85 -Author: Behdad Esfahbod -Date: Tue Jan 29 22:45:00 2013 -0500 - - Bug 60053 - hb-common.cc:181:6: warning: ‘void free_langs()’ defined but not used - - src/hb-common.cc | 2 +- - src/hb-ft.cc | 2 +- - src/hb-shape.cc | 2 +- - src/hb-shaper.cc | 2 +- - 4 files changed, 4 insertions(+), 4 deletions(-) - -commit 09b5393874e56fcfd63a92d28e6c1c2ddeee0942 -Author: Behdad Esfahbod -Date: Fri Jan 18 17:10:47 2013 -0600 - - 0.9.12 - - NEWS | 7 +++++++ - configure.ac | 2 +- - 2 files changed, 8 insertions(+), 1 deletion(-) - -commit eb45c0a2fbaeeb34e77a2935934e8d1302728ec8 -Author: Behdad Esfahbod -Date: Wed Jan 16 22:07:50 2013 -0600 - - Minor - - src/hb-ot-layout.cc | 8 +++++++- - 1 file changed, 7 insertions(+), 1 deletion(-) - -commit 52c8d1226f3509276b11a1fadbd29e5363c0ecd7 -Author: Behdad Esfahbod -Date: Mon Jan 14 13:51:46 2013 -0600 - - Minor - - src/hb-blob.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit f88d3bd7e407d332bb04688344c54756d24128c9 -Author: Behdad Esfahbod -Date: Mon Jan 14 00:33:58 2013 -0600 - - Fix build with Sun compiler - - src/hb-blob.cc | 3 +++ - 1 file changed, 3 insertions(+) - -commit 08b29c08094097f1c23ec53b10084bc390cea833 -Author: Behdad Esfahbod -Date: Mon Jan 14 00:32:12 2013 -0600 - - Revert "Minor" - - This reverts commit 0a492357016bc9a614d2a726f2006c10af68ca58. - - Enables code on more compilers. - - src/hb-warning.cc | 33 ++++++++++++++++++++++++++++++--- - 1 file changed, 30 insertions(+), 3 deletions(-) - -commit e78463211e7d85f237bd55afab7e8e5dae42346c -Author: Behdad Esfahbod -Date: Mon Jan 14 00:27:21 2013 -0600 - - Fix linking with non-gcc compilers - - configure.ac | 2 ++ - src/Makefile.am | 6 +++++- - 2 files changed, 7 insertions(+), 1 deletion(-) - -commit de649f07f1f8fdeb998a0b049759f4f7363e25d2 -Author: Behdad Esfahbod -Date: Mon Jan 14 00:26:43 2013 -0600 - - Fix residuals from fontconfig changes - - src/hb-atomic-private.hh | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit cf81fb3624466b9df2250b58b27a92187c5b5b5c -Author: Behdad Esfahbod -Date: Thu Jan 10 09:06:34 2013 -0600 - - 0.9.11 - - NEWS | 14 ++++++++++++++ - configure.ac | 2 +- - 2 files changed, 15 insertions(+), 1 deletion(-) - -commit 2dcb333f52492018816f0d5d67a47634a612e49c -Author: Behdad Esfahbod -Date: Thu Jan 10 01:17:59 2013 -0600 - - Add atomic ops for Solaris - - Based on fontconfig patch from Raimund Steger. - - config.h.in | 5 ++++- - configure.ac | 27 +++++++++++++++++++++++++-- - src/hb-atomic-private.hh | 12 ++++++++++++ - 3 files changed, 41 insertions(+), 3 deletions(-) - -commit 69fd6e157c7ec83a5d5d8731fc14675ce4509b09 -Author: Behdad Esfahbod -Date: Thu Jan 10 00:03:36 2013 -0600 - - Fix crasher during multi-thread shaper data creation - - Sample crash: - - 0 _hb_graphite2_shaper_face_data_destroy (data=0xffffffffffffffff) - at ../../src/hb-graphite2.cc:129 - 1 0x00007ffff4271d7d in hb_graphite2_shaper_face_data_ensure ( - face=) at ../../src/hb-shaper-list.hh:35 - 2 hb_shape_plan_plan (shaper_list=, num_user_features=0, - user_features=0x0, shape_plan=0xf7b490) at ../../src/hb-shaper-list.hh:35 - 3 hb_shape_plan_create (face=, props=, - user_features=0x0, num_user_features=0, shaper_list=) - at ../../src/hb-shape-plan.cc:108 - 4 0x00007ffff4272c93 in hb_shape_plan_create_cached (face=0x10cf2b0, - props=0x11980d8, user_features=0x0, num_user_features=, - shaper_list=0x0) at ../../src/hb-shape-plan.cc:283 - - src/hb-shaper-private.hh | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -commit ecd454b3cd75050e0c95e1d2aa55744559338ec8 -Author: Behdad Esfahbod -Date: Tue Jan 8 18:09:46 2013 -0600 - - [Indic] In old-spec shaping, don't move viramas around if seq ends with one - - For example: u0c9a u0ccd u0c9a u0ccd with Lohit. See: - - https://bugs.freedesktop.org/show_bug.cgi?id=59118 - - src/hb-ot-shape-complex-indic.cc | 7 ++++--- - .../texts/in-tree/shaper-indic/indic/script-kannada/misc/misc.txt | 1 + - 2 files changed, 5 insertions(+), 3 deletions(-) - -commit e95e031b5682809488cc965883e15404cb9cfb6a -Author: Behdad Esfahbod -Date: Tue Jan 8 16:15:46 2013 -0600 - - [GPOS] If an Anchor offset is NULL, return false - - If in a MarkPos table, a base has no anchor for a particular mark class, - return NULL such that the subsequent subtables get a chance at it. - - Test case: - hb-shape ./EBGaramond12-Regular.otf ἂ --features="ss20","smcp" - - src/hb-open-type-private.hh | 14 ++++++++++++-- - src/hb-ot-layout-gpos-table.hh | 10 ++++++++-- - 2 files changed, 20 insertions(+), 4 deletions(-) - -commit e5dbf39900fa63051f64cc447a6742665cbee339 -Author: Behdad Esfahbod -Date: Mon Jan 7 17:34:24 2013 -0600 - - Bug 58638 - Building fails with ICU due to not passing required flags - - configure.ac | 1 + - 1 file changed, 1 insertion(+) - -commit 1172dc736280566426eb6dade1a886b2a0ca9aa4 -Author: Behdad Esfahbod -Date: Mon Jan 7 16:46:37 2013 -0600 - - Rename hb_buffer_clear() to hb_buffer_clear_contents() - - The previous name was clashing with harfbuzz.old. There are systems - that need to link both... - - Clash-free now again. - - src/hb-buffer.cc | 2 +- - src/hb-buffer.h | 2 +- - test/api/test-buffer.c | 2 +- - util/options.hh | 2 +- - 4 files changed, 4 insertions(+), 4 deletions(-) - -commit 7b912c1936c3e8a7df27a30782ca127d0a83822d -Author: Behdad Esfahbod -Date: Fri Jan 4 01:25:27 2013 -0600 - - Remove a few unnecessary const's - - Apparently helps with MSVC compilation. - - src/hb-ot-layout-gsubgpos-private.hh | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 34e6c3e3e452bdf6f93df565a70453a6e74d4c6e -Author: Behdad Esfahbod -Date: Thu Jan 3 00:14:24 2013 -0600 - - 0.9.10 - - NEWS | 24 ++++++++++++++++++++++++ - configure.ac | 2 +- - 2 files changed, 25 insertions(+), 1 deletion(-) - -commit f0c82410dbe800cb6429ba4aa7cfd9f5a11cc70c -Author: Behdad Esfahbod -Date: Thu Jan 3 00:07:16 2013 -0600 - - [OTLayout] Always collect default language system in collect_lookups - - Not sure if this is the most desired behavior. It's the most easily - defined though. - - src/hb-ot-layout.cc | 7 +++++++ - 1 file changed, 7 insertions(+) - -commit 15e9e4e1ddaad655988144e7a56a765e8adf8782 -Author: Behdad Esfahbod -Date: Thu Jan 3 00:04:40 2013 -0600 - - [OTLayout] Fix feature iteration in collect_lookups - - Previous logic was just wrong. - - src/hb-ot-layout.cc | 46 ++++++++++++++++++++++++++++++++-------------- - 1 file changed, 32 insertions(+), 14 deletions(-) - -commit 733e8c0d7bf0765884f2cc953c8edcd7ab7fb49b -Author: Behdad Esfahbod -Date: Thu Jan 3 00:00:23 2013 -0600 - - [OTLayout] Whitespace - - src/hb-ot-layout.cc | 82 ++++++++++++++++++++++++++++++++++++++++++++--------- - 1 file changed, 68 insertions(+), 14 deletions(-) - -commit d37ae38047bee12639741af9bb083b857fab950d -Author: Behdad Esfahbod -Date: Wed Jan 2 23:57:36 2013 -0600 - - [OTLayout] Handle required_feature_index in collect_lookups - - src/hb-ot-layout.cc | 8 ++++++++ - 1 file changed, 8 insertions(+) - -commit 11fba79ee9383eb995ddf7eb924dd64c67e2df63 -Author: Behdad Esfahbod -Date: Wed Jan 2 23:36:37 2013 -0600 - - [OTLayout] Fix various introspection issues with ClassDef's - - As reported by Jonathan Kew. - - src/hb-ot-layout-gsubgpos-private.hh | 19 +++++++++++++++---- - 1 file changed, 15 insertions(+), 4 deletions(-) - -commit e81aff9ef785be28751aab1fcd484af550656181 -Author: Behdad Esfahbod -Date: Wed Jan 2 23:22:54 2013 -0600 - - [tests] Finish test-set.c - - All passing now. - - test/api/test-set.c | 373 +++++++++++++++++++++------------------------------- - 1 file changed, 149 insertions(+), 224 deletions(-) - -commit 7b1b720a8da69b68b775ce17104a40d55401b7ef -Author: Behdad Esfahbod -Date: Wed Jan 2 23:02:59 2013 -0600 - - Protect sets in-error from further modication - - Fixes test-set.c - - src/hb-set-private.hh | 13 +++++++++++++ - 1 file changed, 13 insertions(+) - -commit 8165f2765b93e99577ecc79b7956ae38c614bc78 -Author: Behdad Esfahbod -Date: Wed Jan 2 22:50:36 2013 -0600 - - [tests] Start adding tests for hb-set.h - - Fails now. Fixing. - - TODO | 2 - - src/hb-set-private.hh | 6 + - src/hb-set.cc | 9 +- - src/hb-set.h | 3 + - test/api/Makefile.am | 1 + - test/api/test-set.c | 312 ++++++++++++++++++++++++++++++++++++++++++++++++++ - 6 files changed, 330 insertions(+), 3 deletions(-) - -commit b9d28f696c433b94c5ffbad8d7c87cf3acff4056 -Author: Behdad Esfahbod -Date: Wed Jan 2 22:49:58 2013 -0600 - - [tests] Add set object to test-object.c - - test/api/test-object.c | 12 ++++++++++++ - 1 file changed, 12 insertions(+) - -commit 11d2956553f0d4a0086166a04ffc352fcfacf56e -Author: Behdad Esfahbod -Date: Wed Jan 2 17:41:27 2013 -0600 - - Minor - - src/hb-atomic-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 596740db04e7c1dadae0d8be6e401089fcaffc2d -Author: Behdad Esfahbod -Date: Fri Dec 21 19:41:04 2012 -0500 - - [Indic] Insert dottedcircle after a lone Malayalam dot-reph - - src/hb-ot-shape-complex-indic-machine.hh | 1617 ++++++++++++++++-------------- - src/hb-ot-shape-complex-indic-machine.rl | 2 +- - src/hb-ot-shape-complex-indic.cc | 13 +- - 3 files changed, 881 insertions(+), 751 deletions(-) - -commit 3cdce6497b2b9aeb2841bf077daa9dd9b196429d -Author: Behdad Esfahbod -Date: Fri Dec 21 16:54:22 2012 -0500 - - Remove TODO that I don't intend to fix - - TODO | 1 - - 1 file changed, 1 deletion(-) - -commit 6f69fa283e0a488da811df78bc83c41ed248b688 -Author: Behdad Esfahbod -Date: Fri Dec 21 16:51:15 2012 -0500 - - Minor - - src/hb-shape.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit f4abcbfc628718bb276363746440df06e7658f6e -Author: Behdad Esfahbod -Date: Fri Dec 21 16:48:51 2012 -0500 - - Minor - - src/hb-buffer.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 4a765f092d71bb4adeb468c004987a9121d39db5 -Author: Behdad Esfahbod -Date: Fri Dec 21 16:48:47 2012 -0500 - - Minor - - util/hb-shape.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 9815a88111072aa51e78e258c5f660993b47d4df -Author: Behdad Esfahbod -Date: Fri Dec 21 16:46:53 2012 -0500 - - [util] List supported output formats in --help output - - util/hb-shape.cc | 6 +++--- - util/helper-cairo.cc | 2 +- - util/helper-cairo.hh | 1 + - util/options.cc | 9 ++++++++- - util/options.hh | 5 ++++- - util/view-cairo.hh | 2 +- - 6 files changed, 18 insertions(+), 7 deletions(-) - -commit f95a87b7b813f588c7910ad4785ee68bb452e864 -Author: Behdad Esfahbod -Date: Fri Dec 21 16:35:28 2012 -0500 - - [util] List supported output formats in hb-view - - TODO | 1 - - util/helper-cairo.cc | 30 +++++++++++++++++++++++++++++- - 2 files changed, 29 insertions(+), 2 deletions(-) - -commit 6bad092aa87bc3e6bbf0b9faf07693e6ebbe55f2 -Author: Behdad Esfahbod -Date: Fri Dec 21 16:01:52 2012 -0500 - - [util] Default to "text" output format in hb-shape - - If you say: - - hb-shape font.ttf text --output-file out.txt - - This was previously failing: - - Unknown output format `txt'; supported formats are: TEXT / JSON - - Now we simply fallback to TEXT if no explicit format was requested. - - util/hb-shape.cc | 11 ++++++++--- - util/options.hh | 5 +++++ - 2 files changed, 13 insertions(+), 3 deletions(-) - -commit 8b217f5ac54aa0dcbba2dd6d59aa89dde33e56c2 -Author: Behdad Esfahbod -Date: Fri Dec 21 15:48:32 2012 -0500 - - [Indic] Reorder Malayalam dot-reph to after base - - Test sequence is simple: U+0D4E,U+0D15. The doth-reph should be - reordered to after the Ka. - - https://bugzilla.redhat.com/show_bug.cgi?id=799565 - - src/hb-ot-shape-complex-indic.cc | 13 ++++++++++--- - .../shaper-indic/indic/script-malayalam/misc/MANIFEST | 1 + - .../shaper-indic/indic/script-malayalam/misc/dot-reph.txt | 1 + - 3 files changed, 12 insertions(+), 3 deletions(-) - -commit 742c4ee97e1311e000ebcdf9f33361c4dc6400a4 -Author: Behdad Esfahbod -Date: Fri Dec 21 15:35:03 2012 -0500 - - Minor - - src/hb-ot-shape-complex-indic.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 94afeb6ebe27534fc80d7173cc6f67375c3aaca6 -Author: Behdad Esfahbod -Date: Fri Dec 21 11:54:50 2012 -0500 - - Add Android.mk - - Android.mk | 74 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ - Makefile.am | 1 + - 2 files changed, 75 insertions(+) - -commit d16ddbcbbee39b07a028776995c635119fe3cd98 -Author: Behdad Esfahbod -Date: Thu Dec 20 01:02:36 2012 -0500 - - Add build confirmation notice to configure - - configure.ac | 25 +++++++++++++++++++++++++ - 1 file changed, 25 insertions(+) - -commit e24d8dab749a1a796e7484e18572da5f7a733bd4 -Author: Behdad Esfahbod -Date: Wed Dec 19 15:23:02 2012 -0500 - - [TODO] Remove done items - - TODO | 7 ------- - 1 file changed, 7 deletions(-) - -commit 044d38527664d933c18c751c38fcf6fb4b5f888e -Author: Behdad Esfahbod -Date: Wed Dec 19 13:00:16 2012 -0500 - - Bug 58498 - Tests fail with gold linker on ARM - - src/check-exported-symbols.sh | 2 +- - src/check-internal-symbols.sh | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit b68b86daf1a8478b86aeae44a8c39a606ed873cb -Author: Behdad Esfahbod -Date: Tue Dec 18 20:39:40 2012 -0500 - - Use C++ linker if ICU is disabled - - Bug 54948 - Undefined symbols: "operator delete(void*)" "operator - new(unsigned long)" "___cxa_pure_virtual" - - src/Makefile.am | 4 ++++ - 1 file changed, 4 insertions(+) - -commit 1ffd23cb47a61465d52a7aeebb9c1b676e7c9a7e -Author: Behdad Esfahbod -Date: Mon Dec 17 23:29:15 2012 -0500 - - [OTLayout] Limit alternate-location FeatureParams to 'size' feature - - src/hb-ot-layout-common-private.hh | 7 ++++++- - 1 file changed, 6 insertions(+), 1 deletion(-) - -commit efe252e6000558f78075adadb2a3dba25ab67c04 -Author: Behdad Esfahbod -Date: Mon Dec 17 23:21:05 2012 -0500 - - [OTLayout] Fix 'size' featureParams implementation - - Looks at alternate location now. - - src/hb-ot-layout-common-private.hh | 133 ++++++++++++++++++++++++++++--------- - src/hb-ot-layout.cc | 93 ++++---------------------- - 2 files changed, 117 insertions(+), 109 deletions(-) - -commit e77b4425746ac9eb407ca4e742d962f1955971b4 -Author: Behdad Esfahbod -Date: Mon Dec 17 18:42:59 2012 -0500 - - [OTLayout] Fix tracing - - src/hb-open-type-private.hh | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 9b54562d63f1a9e0e5b33d71c32bd1588759ebf1 -Author: Behdad Esfahbod -Date: Mon Dec 17 13:55:36 2012 -0500 - - [OTLayout] Towards correct FeatureParams handling - - src/hb-open-type-private.hh | 8 +++++++- - src/hb-ot-layout-common-private.hh | 25 +++++++++++++++++++++++-- - 2 files changed, 30 insertions(+), 3 deletions(-) - -commit 87e43b7f2be25840748f920ca33ff553833da45f -Author: Behdad Esfahbod -Date: Fri Dec 14 17:48:23 2012 -0500 - - [OTLayout] Wire tag and list start all the way to Feature - - To fix FeatureParam issues. No actual fix yet, just plumbing. - - src/hb-ot-layout-common-private.hh | 16 ++++++++++++---- - 1 file changed, 12 insertions(+), 4 deletions(-) - -commit 85bc44b90a19c6a669ed567a9cd8513448600afe -Author: Behdad Esfahbod -Date: Wed Dec 12 11:38:49 2012 -0500 - - [OTLayout] More 'size' feature sanity checking - - We still don't look for the old incorrect place of the featureParams. - I'll wait till someone actually complains about it... - - src/hb-ot-layout.cc | 99 ++++++++++++++++++++++++++++++++++++++++++----------- - 1 file changed, 79 insertions(+), 20 deletions(-) - -commit 0bae50a36f3022f9bb6b2c001c191eeaaa4ef954 -Author: Behdad Esfahbod -Date: Tue Dec 11 16:01:31 2012 -0500 - - [OTLayout] Add FeatureParamsCharacterVariants struct - - No API yet. - - src/hb-ot-layout-common-private.hh | 52 +++++++++++++++++++++++++++++++++++--- - 1 file changed, 49 insertions(+), 3 deletions(-) - -commit bd61bc13ea8ff350ada5449b2cfeb612e66ecafa -Author: Behdad Esfahbod -Date: Tue Dec 11 16:00:43 2012 -0500 - - [OTLayout] Add UINT24 type - - src/hb-open-type-private.hh | 33 ++++++++++++++++++++++----------- - src/hb-private.hh | 4 ++++ - 2 files changed, 26 insertions(+), 11 deletions(-) - -commit 9cf7f9d4f61741932570afbefdee5edf61f79ae4 -Author: Behdad Esfahbod -Date: Tue Dec 11 14:31:13 2012 -0500 - - Make test-size-params write size in points - - src/test-size-params.cc | 18 ++++-------------- - 1 file changed, 4 insertions(+), 14 deletions(-) - -commit 372fe2b67b1757e809bf33e1e9055a00c5bed304 -Author: Behdad Esfahbod -Date: Tue Dec 11 14:30:57 2012 -0500 - - [OTLayout] Make hb_ot_layout_get_size_params() do some checks - - src/hb-ot-layout.cc | 12 +++++++++++- - 1 file changed, 11 insertions(+), 1 deletion(-) - -commit 875a5cbc9c37f4264241c43b80afad2628eab749 -Author: Behdad Esfahbod -Date: Tue Dec 11 14:17:01 2012 -0500 - - [OTLayout] Change hb_ot_layout_get_params() API - - And add implementation for StylisticSet UINameID. No API yet. - - src/hb-ot-layout-common-private.hh | 85 ++++++++++++++++++++++++++++++++++++-- - src/hb-ot-layout.cc | 28 +++++++++---- - src/hb-ot-layout.h | 8 +++- - src/test-size-params.cc | 9 +++- - 4 files changed, 115 insertions(+), 15 deletions(-) - -commit 5e7e52ddf2b0c4fbc9d933d24336100368d39a5c -Author: Behdad Esfahbod -Date: Mon Dec 10 17:44:22 2012 -0500 - - [uniscribe] Enable Uniscribe backend only if it has ScriptShapeOpenType() - - Bug 55494 - ScriptItemizeOpenType doesn't exists under Windows XP - - config.h.in | 6 ------ - configure.ac | 14 +++++++++++++- - 2 files changed, 13 insertions(+), 7 deletions(-) - -commit d41c0c955b8ad9b52191ca47e1f3b1bfe606deb1 -Author: Behdad Esfahbod -Date: Mon Dec 10 16:41:20 2012 -0500 - - Update config template - - config.h.in | 4 ---- - 1 file changed, 4 deletions(-) - -commit c48a04e5ea899b82465a0f3f2cfdcffb3bf38f61 -Author: John Ralls -Date: Mon Dec 10 16:24:24 2012 -0500 - - [coretext] Better test for CoreText - - Instead of checking for ApplicationServices.h, which is present in all - versions of MacOSX, check for CTFontRef, a CoreText basic type. - - configure.ac | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 0e9f0f3e5f16a45951423a1229af42dc2fd798c3 -Author: Behdad Esfahbod -Date: Mon Dec 10 15:25:21 2012 -0500 - - Fix atomic ops on iOS - - Patch from John Ralls. - - src/hb-atomic-private.hh | 8 +++++--- - 1 file changed, 5 insertions(+), 3 deletions(-) - -commit 5f9569c1391c65d7addff363ad6e5ec9b087f01a -Author: Behdad Esfahbod -Date: Mon Dec 10 13:38:42 2012 -0500 - - Make older MSVC happy - - src/hb-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 071d5b831e6de5f3b24160dc77b139cb040ab886 -Author: Behdad Esfahbod -Date: Mon Dec 10 00:57:00 2012 -0500 - - Work around missing OSAtomicCompareAndSwapPtrBarrier() on OS X 10.4 - - Not sure how to handle iOS. - - src/hb-atomic-private.hh | 11 +++++++++++ - 1 file changed, 11 insertions(+) - -commit e923e6487b25ab86f6f629af480b291e8e5407b5 -Author: Behdad Esfahbod -Date: Sun Dec 9 19:39:40 2012 -0500 - - [coretext] Fixed typo - - Oops. Thanks Khaled for catching this. - - src/hb-coretext.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 9a8395824bf51c2ff2cfe0887ecad52b3d2c02e2 -Author: Behdad Esfahbod -Date: Sun Dec 9 18:47:36 2012 -0500 - - [coretext] Add hb_coretext_face_get_cg_font() - - Not sure if it's useful, but it was missing. - - src/hb-coretext.cc | 20 ++++++++++++++------ - src/hb-coretext.h | 3 +++ - 2 files changed, 17 insertions(+), 6 deletions(-) - -commit 86112356885fde32163882b6c9dd19a494304f7a -Author: Behdad Esfahbod -Date: Sun Dec 9 18:47:09 2012 -0500 - - [coretext] Remove hack around GlyphID - - We not namespace our types, so the hack is not needed anymore. - - src/hb-coretext.cc | 4 ---- - 1 file changed, 4 deletions(-) - -commit 8e58459aeb949591bb5bca340ef9bdd5cfd54e47 -Author: Behdad Esfahbod -Date: Sun Dec 9 18:45:47 2012 -0500 - - [graphite2] "Update to new API" - - Part of patch from Martin Hosken. I believe he knows what he's doing - :). - - src/hb-graphite2.cc | 14 +++++++++++--- - 1 file changed, 11 insertions(+), 3 deletions(-) - -commit a5a4ab3846ef06769784e6469d76eace35e68805 -Author: Behdad Esfahbod -Date: Sun Dec 9 18:44:41 2012 -0500 - - [graphite2] Add hb_graphite2_face_get_gr_face and hb_graphite2_font_get_gr_font - - Based on patch from Martin Hosken. I believe it returns NULL if the - font doesn't have graphite tables, but have not tested. - - src/hb-graphite2.cc | 14 ++++++++++++++ - src/hb-graphite2.h | 8 +++++++- - 2 files changed, 21 insertions(+), 1 deletion(-) - -commit 737ba156442f723d126c7c58c73729786b67c17a -Author: Behdad Esfahbod -Date: Sun Dec 9 18:43:03 2012 -0500 - - [graphite2] Preload all tables - - Part of patch from Martin Hosken. - - src/hb-graphite2.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 0ae6dbf1b4de8a0326b8a2f201597427cecfb6db -Author: Behdad Esfahbod -Date: Sun Dec 9 18:37:38 2012 -0500 - - Minor - - src/hb-uniscribe.cc | 32 ++++++++++++++++---------------- - 1 file changed, 16 insertions(+), 16 deletions(-) - -commit 3fe5c159d3532f8ce8a85d217a00681225dd8ed1 -Author: Behdad Esfahbod -Date: Sun Dec 9 18:20:19 2012 -0500 - - Remove excess return - - Oops! - - src/hb-uniscribe.cc | 1 - - 1 file changed, 1 deletion(-) - -commit ba2d543004573e8e4e56df70b7fe2a66a42bc83f -Author: Behdad Esfahbod -Date: Sat Dec 8 19:28:41 2012 -0500 - - Update OT language tags - - Patch from Roozbeh Pournader. - - src/hb-ot-tag.cc | 212 +++++++++++++++++++++++++++++-------------------------- - 1 file changed, 110 insertions(+), 102 deletions(-) - -commit aba38173c6b464c2884b73ef6cd4577d4efcebbc -Author: Behdad Esfahbod -Date: Wed Dec 5 19:54:48 2012 -0500 - - Minor - - src/hb-ot-tag.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 61865745e35eb60aeb59968e7826e37059090780 -Author: Behdad Esfahbod -Date: Wed Dec 5 19:42:10 2012 -0500 - - Fix test with gold linker - - Bug 57633 - Symbol tests should ignore __bss_start, _edata, _end - - src/check-exported-symbols.sh | 2 +- - src/check-internal-symbols.sh | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit b71b0bd9ee64feadd7289e195bc58f6361ce707a -Author: Behdad Esfahbod -Date: Wed Dec 5 19:20:31 2012 -0500 - - [Indic] Add link to Sinhala split matra section of the Sinhala spec - - src/hb-ot-shape-complex-indic.cc | 5 +++++ - 1 file changed, 5 insertions(+) - -commit 9a34a50daac3563464e0031f377e85f0c704f2d6 -Author: Behdad Esfahbod -Date: Wed Dec 5 19:18:18 2012 -0500 - - Fix build with C++11 - - util/options.cc | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 0beb66e3a61ae8bb1fa66e54b1ff1abb2f8711e9 -Author: Behdad Esfahbod -Date: Wed Dec 5 18:46:04 2012 -0500 - - Fix warnings - - src/hb-fallback-shape.cc | 10 +++++----- - src/hb-glib.cc | 2 +- - src/hb-icu-le.cc | 6 +++--- - src/hb-old.cc | 14 +++++++------- - src/hb-open-type-private.hh | 4 +--- - src/hb-ot-layout-gsubgpos-private.hh | 24 ++++++++++++------------ - src/hb-ot-shape-complex-arabic-fallback.hh | 4 ++-- - src/hb-ot-shape-complex-arabic.cc | 2 +- - src/hb-ot-shape-complex-indic-machine.hh | 2 +- - src/hb-ot-shape-complex-indic-machine.rl | 2 +- - src/hb-ot-shape-complex-indic.cc | 6 +++--- - src/hb-ot-shape-complex-thai.cc | 2 +- - src/hb-ot-shape-fallback.cc | 4 ++-- - src/hb-private.hh | 8 ++++---- - src/hb-ucdn.cc | 27 +++++++++++++++------------ - src/hb-utf-private.hh | 4 ++-- - 16 files changed, 61 insertions(+), 60 deletions(-) - -commit c6408a1009d2370fbdcfa694898819d99d53c3df -Author: Behdad Esfahbod -Date: Wed Dec 5 17:36:52 2012 -0500 - - 0.9.9 - - NEWS | 8 ++++++++ - configure.ac | 2 +- - 2 files changed, 9 insertions(+), 1 deletion(-) - -commit 130bb3f6144afe5c88bb5b4e4c98e7cba03b1e26 -Author: Behdad Esfahbod -Date: Wed Dec 5 16:49:47 2012 -0500 - - Rename VOID and void_t to have HarfBuzz prefix - - Fixes build on Windows. Ouch! - - src/hb-ot-layout-gsubgpos-private.hh | 22 +++++++++++----------- - src/hb-private.hh | 12 ++++++------ - 2 files changed, 17 insertions(+), 17 deletions(-) - -commit 4a350d0eb25db60d95638664c892d4c8dacf050b -Author: Behdad Esfahbod -Date: Tue Dec 4 17:13:09 2012 -0500 - - [OTLayout] Reuse context in collect_glyphs() recursion - - src/hb-ot-layout-gsubgpos-private.hh | 19 +++++++++++++++---- - 1 file changed, 15 insertions(+), 4 deletions(-) - -commit 8303593ba1db06e402eab52df47f21f13049112d -Author: Behdad Esfahbod -Date: Tue Dec 4 17:08:41 2012 -0500 - - Minor - - Use pointers instead of references, in preparation for upcoming change. - - src/hb-ot-layout-gpos-table.hh | 28 +++++++++++++------------- - src/hb-ot-layout-gsub-table.hh | 30 ++++++++++++++-------------- - src/hb-ot-layout-gsubgpos-private.hh | 38 ++++++++++++++++++------------------ - 3 files changed, 48 insertions(+), 48 deletions(-) - -commit 1bcfa06d1173f219809542a7380ce77f1c907bec -Author: Behdad Esfahbod -Date: Tue Dec 4 16:58:09 2012 -0500 - - [OTLayout] Don't recurse in collect_glyphs() for GPOS - - src/hb-ot-layout-gpos-table.hh | 2 +- - src/hb-ot-layout-gsubgpos-private.hh | 4 ++++ - 2 files changed, 5 insertions(+), 1 deletion(-) - -commit b5e04c7dc6b78e311d1a14f1f808fac76a64c889 -Author: Behdad Esfahbod -Date: Tue Dec 4 15:57:02 2012 -0500 - - [ucdn] Match upstream changes - - src/hb-ucdn/ucdn.c | 16 ++++++++-------- - 1 file changed, 8 insertions(+), 8 deletions(-) - -commit a52f51b21635c626f6e5ccdba505c4df19bcff2c -Author: Behdad Esfahbod -Date: Tue Dec 4 15:43:38 2012 -0500 - - 0.9.8 - - NEWS | 16 ++++++++++++++++ - configure.ac | 2 +- - 2 files changed, 17 insertions(+), 1 deletion(-) - -commit 7babfe5a7904c26060c5b8441ca1bf23e1444f35 -Author: Behdad Esfahbod -Date: Tue Dec 4 00:35:54 2012 +0200 - - Move object mutext into the user-data array - - We are not using it for anything lse it seems. - - src/hb-common.cc | 12 ++---------- - src/hb-object-private.hh | 24 ++++++++++-------------- - 2 files changed, 12 insertions(+), 24 deletions(-) - -commit a1900114770952778563dd6f3bc79334b0ca8df5 -Author: Behdad Esfahbod -Date: Tue Dec 4 00:29:35 2012 +0200 - - Remove unused functions - - src/hb-object-private.hh | 20 -------------------- - 1 file changed, 20 deletions(-) - -commit 88b7564183ae1cf59500b13c7e48756fe200c7cd -Author: Behdad Esfahbod -Date: Sun Dec 2 19:14:29 2012 +0200 - - "Update" to Unicode 6.2.0 tables - - Nothing changed... - - src/hb-ot-shape-complex-arabic-table.hh | 4 ++-- - src/hb-ot-shape-complex-indic-table.hh | 12 ++++++------ - 2 files changed, 8 insertions(+), 8 deletions(-) - -commit 4ab99fb8c363cfc6a4f5952e69a19757f0cab344 -Author: Behdad Esfahbod -Date: Fri Nov 30 15:02:04 2012 +0200 - - Minor - - src/hb-ot-layout.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 6748b96d27477b35dd69129e55d861259d66bf9f -Author: Behdad Esfahbod -Date: Fri Nov 30 12:02:21 2012 +0200 - - Minor - - src/hb-ot-layout.cc | 1 - - 1 file changed, 1 deletion(-) - -commit 624933f67642997ee0a46d5acea285362e837142 -Author: Behdad Esfahbod -Date: Fri Nov 30 11:46:35 2012 +0200 - - Add Persian test cases from Mehran Mehr - - test/shaping/texts/in-tree/shaper-arabic/script-arabic/MANIFEST | 1 + - .../in-tree/shaper-arabic/script-arabic/language-persian/MANIFEST | 1 + - .../shaper-arabic/script-arabic/language-persian/mehran.txt | 8 ++++++++ - 3 files changed, 10 insertions(+) - -commit 0f3f5299047e3cfc4d1202fee83d484b871279ad -Author: Behdad Esfahbod -Date: Fri Nov 30 09:06:59 2012 +0200 - - Add test-size-params - - Eventually this will become part of a yet-to-be-written hb-ot cmdline - tool. - - src/Makefile.am | 10 ++++- - src/test-size-params.cc | 98 +++++++++++++++++++++++++++++++++++++++++++++++++ - 2 files changed, 107 insertions(+), 1 deletion(-) - -commit 8465a05a89742295d4b009a9b4442eb0a899fd80 -Author: Behdad Esfahbod -Date: Fri Nov 30 08:46:43 2012 +0200 - - Fix hb_buffer_guess_segment_properties() for empty buffer - - Was causing assertion failure in shape_plan(). - - src/hb-buffer.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit e75943de803f571b7ad2cf2f777119753a209656 -Author: Behdad Esfahbod -Date: Fri Nov 30 08:38:24 2012 +0200 - - [OTLayout] Fix collect_glyphs() recursion in ContextFormat3 - - src/hb-ot-layout-gsubgpos-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 3038ae6adbb61e55d6c665dea0c5271e0c9f0ed8 -Author: Behdad Esfahbod -Date: Fri Nov 30 08:24:13 2012 +0200 - - [OTLayout] Minor - - src/hb-ot-layout-gpos-table.hh | 4 ---- - src/hb-ot-layout-gsub-table.hh | 4 ---- - src/hb-ot-layout.cc | 4 ++-- - 3 files changed, 2 insertions(+), 10 deletions(-) - -commit 0dff11f6bfbda444a153ca75ff2b947f94e9b3c5 -Author: Behdad Esfahbod -Date: Fri Nov 30 08:14:20 2012 +0200 - - [OTLayout] Look for any 'size' feature, not only in DFLT script - - The old code doesn't work with all fonts, as Khaled has reported. - - src/hb-ot-layout.cc | 14 +++++--------- - 1 file changed, 5 insertions(+), 9 deletions(-) - -commit e9ad71dee845407da74ccacfbb53ad7ededf07fd -Author: Behdad Esfahbod -Date: Fri Nov 30 08:10:26 2012 +0200 - - [OTLayout] Rename hb_ot_layout_position_get_size() to hb_ot_layout_get_size_params() - - src/hb-ot-layout.cc | 4 ++-- - src/hb-ot-layout.h | 7 ++++--- - 2 files changed, 6 insertions(+), 5 deletions(-) - -commit f18ff5a84d9fe859c40a7a0c9a207cb40df0e84a -Author: Behdad Esfahbod -Date: Fri Nov 30 08:07:06 2012 +0200 - - [OTLayout] Return correct value from recursion - - Commit 4c4e8f0e754b79ac6190d21878eaaf0b790c7579 broke contextual lookups - by making the recurse() function always return false. - - Reported by Khaled. Test case: لا in Amiri. - - src/hb-ot-layout-gsubgpos-private.hh | 9 ++++----- - 1 file changed, 4 insertions(+), 5 deletions(-) - -commit f54cce3c6a0432268ce159dbe6c5c6b7f583b87a -Author: Behdad Esfahbod -Date: Mon Nov 26 14:02:31 2012 +0200 - - [OTLayout] Implement 'size' feature - - src/hb-ot-layout-common-private.hh | 36 ++++++++++++++++++++++++++++++++++-- - src/hb-ot-layout.cc | 31 +++++++++++++++++++++++++++++++ - src/hb-ot-layout.h | 5 +++++ - 3 files changed, 70 insertions(+), 2 deletions(-) - -commit 2dc1141d7d0a9f5818862b09d6b9cfe0a27f1fc1 -Author: Behdad Esfahbod -Date: Sat Nov 24 19:16:34 2012 -0500 - - [OTLayout] Remove operator() from ClassDef - - src/hb-ot-layout-common-private.hh | 2 -- - src/hb-ot-layout-gpos-table.hh | 4 ++-- - src/hb-ot-layout-gsubgpos-private.hh | 8 ++++---- - 3 files changed, 6 insertions(+), 8 deletions(-) - -commit b67881b171a7cf865af58df146da52fc1e27b160 -Author: Behdad Esfahbod -Date: Sat Nov 24 19:13:55 2012 -0500 - - [OTLayout] Remove operator() from Coverage - - src/hb-ot-layout-common-private.hh | 2 -- - src/hb-ot-layout-gdef-table.hh | 4 ++-- - src/hb-ot-layout-gpos-table.hh | 24 ++++++++++++------------ - src/hb-ot-layout-gsub-table.hh | 24 ++++++++++++------------ - src/hb-ot-layout-gsubgpos-private.hh | 16 ++++++++-------- - 5 files changed, 34 insertions(+), 36 deletions(-) - -commit a88e7160217b9f44e4e5b4b814d0ca98c457ee40 -Author: Behdad Esfahbod -Date: Sat Nov 24 02:31:02 2012 -0500 - - [OTLayout] Implement hb_ot_layout_collect_lookups() - - Untested. - - src/hb-ot-layout.cc | 97 +++++++++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-ot-layout.h | 4 +-- - 2 files changed, 98 insertions(+), 3 deletions(-) - -commit 1ea375da446bf68f705a70ce4a480db9fb9d13f3 -Author: Behdad Esfahbod -Date: Sat Nov 24 02:05:52 2012 -0500 - - [OTLayout] Only collect output glyphs during recursion in collect_glyphs() - - src/hb-ot-layout-gsubgpos-private.hh | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit f1b12781d279a73b5754afee31e930b5cd87aac6 -Author: Behdad Esfahbod -Date: Sat Nov 24 01:55:34 2012 -0500 - - [OTLayout] Implement ChainContext collect_glyphs() - - All of collect_glyphs() complete and untested now. - - src/hb-ot-layout-gsubgpos-private.hh | 103 ++++++++++++++++++++++++++++++++--- - 1 file changed, 96 insertions(+), 7 deletions(-) - -commit cdd756b9f40665a201f5c4e65a87b9a27c390601 -Author: Behdad Esfahbod -Date: Sat Nov 24 01:38:41 2012 -0500 - - [OTLayout] Implement GPOS collect_glyphs() - - src/hb-ot-layout-gpos-table.hh | 95 +++++++++++++++++++++++++++++++++++++++++- - src/hb-ot-layout.cc | 9 ++-- - 2 files changed, 99 insertions(+), 5 deletions(-) - -commit 4c4e8f0e754b79ac6190d21878eaaf0b790c7579 -Author: Behdad Esfahbod -Date: Sat Nov 24 01:13:20 2012 -0500 - - [OTLayout] Reuse apply context for recursion - - src/hb-ot-layout-gpos-table.hh | 7 ++++++- - src/hb-ot-layout-gsub-table.hh | 7 ++++++- - src/hb-ot-layout-gsubgpos-private.hh | 8 ++++---- - 3 files changed, 16 insertions(+), 6 deletions(-) - -commit 53a69f49e58ef4c4226958e0496fc22455ee6c87 -Author: Behdad Esfahbod -Date: Sat Nov 24 01:03:05 2012 -0500 - - [OTLayout] Remove unused members - - src/hb-ot-layout-gsubgpos-private.hh | 3 --- - 1 file changed, 3 deletions(-) - -commit d0a5233785eb327c4080432f597fe470a1046af3 -Author: Behdad Esfahbod -Date: Fri Nov 23 18:54:59 2012 -0500 - - [OTLayout] Implement Context::collect_glyphs() - - src/hb-ot-layout-gsubgpos-private.hh | 122 +++++++++++++++++++++++++++++++---- - 1 file changed, 111 insertions(+), 11 deletions(-) - -commit 26514d51b6669f092d9ccb7523443a5ece74169a -Author: Behdad Esfahbod -Date: Fri Nov 23 18:13:48 2012 -0500 - - [OTLayout] More collect_glyphs() - - src/hb-ot-layout-gpos-table.hh | 6 ++--- - src/hb-ot-layout-gsub-table.hh | 32 +++++++++++++++------- - src/hb-ot-layout-gsubgpos-private.hh | 51 ++++++++++++++++++++++++++++++++---- - 3 files changed, 71 insertions(+), 18 deletions(-) - -commit c6fb843f2a1c26322c6f4c85d1589f01a9e7a2ef -Author: Behdad Esfahbod -Date: Fri Nov 23 18:04:08 2012 -0500 - - [OTLayout] Templatize process_recurse_func - - src/hb-ot-layout-gpos-table.hh | 10 ++++++++++ - src/hb-ot-layout-gsub-table.hh | 8 +++++--- - 2 files changed, 15 insertions(+), 3 deletions(-) - -commit 9b34677f362fb0ef5a7cb8a284a9e06d1a4cc03b -Author: Behdad Esfahbod -Date: Fri Nov 23 17:55:40 2012 -0500 - - [OTLayout] Clean up closure() a bit - - src/hb-ot-layout-gsub-table.hh | 29 ++++++++++++++--------------- - src/hb-ot-layout-gsubgpos-private.hh | 7 ++++--- - src/hb-ot-layout.cc | 6 +++++- - 3 files changed, 23 insertions(+), 19 deletions(-) - -commit adf7758a27a11fb1a8a14a2673867589437d22a3 -Author: Behdad Esfahbod -Date: Fri Nov 23 17:32:00 2012 -0500 - - Improve debug log format in presence of templates - - src/hb-private.hh | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -commit 2c53bd3c3ec4f81eff126c5bf84b7f2ddf2f0fef -Author: Behdad Esfahbod -Date: Fri Nov 23 17:29:05 2012 -0500 - - [OTLayout] Start porting sanitize() to process() - - src/hb-open-type-private.hh | 12 +++++++++++- - src/hb-ot-layout-gsubgpos-private.hh | 8 ++++---- - 2 files changed, 15 insertions(+), 5 deletions(-) - -commit f48ec0e83432c038b50d9715a38ba1469e82e1e4 -Author: Behdad Esfahbod -Date: Fri Nov 23 17:23:41 2012 -0500 - - [OTLayout] Add process() tracing - - src/hb-ot-layout-gpos-table.hh | 60 ++++++++++++++++++++---------------- - src/hb-ot-layout-gsub-table.hh | 51 +++++++++++++++++------------- - src/hb-ot-layout-gsubgpos-private.hh | 17 +++++----- - 3 files changed, 72 insertions(+), 56 deletions(-) - -commit ed2e13594479c6ed7909401509962ea2f03f9a6e -Author: Behdad Esfahbod -Date: Fri Nov 23 17:10:40 2012 -0500 - - [OTLayout] More Extension templatizing - - src/hb-ot-layout-gpos-table.hh | 11 ----------- - src/hb-ot-layout-gsub-table.hh | 11 ----------- - src/hb-ot-layout-gsubgpos-private.hh | 12 ++++++++++-- - 3 files changed, 10 insertions(+), 24 deletions(-) - -commit 7dddd4e72bc35be962d93dc1b76c7e26c63aaa6d -Author: Behdad Esfahbod -Date: Fri Nov 23 17:04:55 2012 -0500 - - [OTLayout] More templatizing Extension - - src/hb-ot-layout-gpos-table.hh | 7 +------ - src/hb-ot-layout-gsub-table.hh | 9 ++------- - src/hb-ot-layout-gsubgpos-private.hh | 10 +++++++++- - 3 files changed, 12 insertions(+), 14 deletions(-) - -commit 653eeb26450053b731b46346606931f5ae88db72 -Author: Behdad Esfahbod -Date: Fri Nov 23 16:57:36 2012 -0500 - - Make Extension a template - - src/hb-ot-layout-gpos-table.hh | 11 +---------- - src/hb-ot-layout-gsub-table.hh | 11 +---------- - src/hb-ot-layout-gsubgpos-private.hh | 7 +++++++ - 3 files changed, 9 insertions(+), 20 deletions(-) - -commit 08f1eede1bbc01ece2adf89847614a0670e50443 -Author: Behdad Esfahbod -Date: Fri Nov 23 16:51:43 2012 -0500 - - Minor - - src/hb-ot-layout-gpos-table.hh | 19 ++----------------- - src/hb-ot-layout-gsub-table.hh | 19 ++----------------- - 2 files changed, 4 insertions(+), 34 deletions(-) - -commit 2c9d6485a1f89c11f84e720d3c7978dc11a5039a -Author: Behdad Esfahbod -Date: Fri Nov 23 16:49:19 2012 -0500 - - More tracing fixup - - src/hb-private.hh | 5 ++--- - 1 file changed, 2 insertions(+), 3 deletions(-) - -commit a1733db1c6ff40aae71fa142a12b1fea7b53dd37 -Author: Behdad Esfahbod -Date: Fri Nov 23 16:40:04 2012 -0500 - - [OTLayout] Start adding process() tracing - - src/hb-ot-layout-gsubgpos-private.hh | 44 +++++++++++++++++++++++++++--------- - src/hb-private.hh | 6 +++-- - 2 files changed, 37 insertions(+), 13 deletions(-) - -commit 73c18ae1b982a4e65086afe5177afa79e721e2c0 -Author: Behdad Esfahbod -Date: Fri Nov 23 15:34:11 2012 -0500 - - Cleanup - - src/hb-ot-layout-gsubgpos-private.hh | 16 ++++------------ - 1 file changed, 4 insertions(+), 12 deletions(-) - -commit be218c688cbb037a99c8c64bb835f3c980040c0b -Author: Behdad Esfahbod -Date: Fri Nov 23 15:32:14 2012 -0500 - - Pass this object to trace macros - - src/hb-open-file-private.hh | 10 +-- - src/hb-open-type-private.hh | 34 +++++----- - src/hb-ot-head-table.hh | 2 +- - src/hb-ot-hhea-table.hh | 2 +- - src/hb-ot-hmtx-table.hh | 2 +- - src/hb-ot-layout-common-private.hh | 36 +++++------ - src/hb-ot-layout-gdef-table.hh | 20 +++--- - src/hb-ot-layout-gpos-table.hh | 80 +++++++++++------------ - src/hb-ot-layout-gsub-table.hh | 122 +++++++++++++++++------------------ - src/hb-ot-layout-gsubgpos-private.hh | 100 ++++++++++++++-------------- - src/hb-ot-maxp-table.hh | 2 +- - src/hb-ot-name-table.hh | 6 +- - 12 files changed, 208 insertions(+), 208 deletions(-) - -commit 902cc8aca0b3ff25eeee50b3a84d729e31731ef3 -Author: Behdad Esfahbod -Date: Fri Nov 23 15:06:59 2012 -0500 - - [OTLayout] Start unbreaking tracing - - src/hb-open-type-private.hh | 37 +++++++++++++++++++++--------------- - src/hb-ot-layout-gsubgpos-private.hh | 37 +++++++++++++++++++++++++----------- - src/hb-private.hh | 30 +++++++++++++++++++---------- - 3 files changed, 68 insertions(+), 36 deletions(-) - -commit dabe698fcbeb02911128b17aa8e3b2d864795960 -Author: Behdad Esfahbod -Date: Fri Nov 23 14:21:35 2012 -0500 - - Minor - - src/hb-open-type-private.hh | 5 ----- - src/hb-ot-layout-gsubgpos-private.hh | 10 ++++------ - src/hb-private.hh | 27 +++++++++++++++++++++++++-- - 3 files changed, 29 insertions(+), 13 deletions(-) - -commit c779d82b2fc801eec0d349a106c0e860448fcf4e -Author: Behdad Esfahbod -Date: Fri Nov 23 14:07:24 2012 -0500 - - Fix warnings - - src/hb-ot-layout-gpos-table.hh | 2 -- - src/hb-ot-layout-gsub-table.hh | 8 +++----- - src/hb-ot-layout-gsubgpos-private.hh | 2 +- - src/hb-private.hh | 2 +- - 4 files changed, 5 insertions(+), 9 deletions(-) - -commit 81822528efc63d867cb2343a8ff7af64fac1c70d -Author: Behdad Esfahbod -Date: Fri Nov 23 13:27:16 2012 -0500 - - Minor - - src/hb-open-type-private.hh | 6 ++++++ - src/hb-ot-layout-gsubgpos-private.hh | 3 --- - 2 files changed, 6 insertions(+), 3 deletions(-) - -commit 1d67ef980f35ae30d4f8975f65ee07b8cc5deeea -Author: Behdad Esfahbod -Date: Thu Nov 22 16:47:53 2012 -0500 - - Move code around - - src/hb-ot-layout-gsubgpos-private.hh | 44 ++++++++++++++++++------------------ - 1 file changed, 22 insertions(+), 22 deletions(-) - -commit ec35a72a44301934b8f123ab2833f59d8c875a09 -Author: Behdad Esfahbod -Date: Thu Nov 22 16:05:59 2012 -0500 - - [OTLayout] Port apply() operator to process() template - - src/hb-ot-layout-gpos-table.hh | 117 ++++------------------------------- - src/hb-ot-layout-gsub-table.hh | 108 +++----------------------------- - src/hb-ot-layout-gsubgpos-private.hh | 99 +++++++++++++---------------- - src/hb-ot-layout.cc | 2 +- - 4 files changed, 65 insertions(+), 261 deletions(-) - -commit 2005fa5340fc528c32dc2af945ad2431964a47d2 -Author: Behdad Esfahbod -Date: Thu Nov 22 14:38:10 2012 -0500 - - [OTLayout] Port would_apply() and get_coverage() to process() templates - - src/hb-ot-layout-gpos-table.hh | 175 +++++++++++-------------------- - src/hb-ot-layout-gsub-table.hh | 198 ++++++++++++----------------------- - src/hb-ot-layout-gsubgpos-private.hh | 76 +++++--------- - 3 files changed, 156 insertions(+), 293 deletions(-) - -commit 44fc237b53ebfbaf8a539de16ad735d2c6afc52b -Author: Behdad Esfahbod -Date: Wed Nov 21 23:33:13 2012 -0500 - - [OTLayout] Port closure() to process() template - - src/hb-ot-layout-gsub-table.hh | 297 ++++++++--------------------------- - src/hb-ot-layout-gsubgpos-private.hh | 209 ++++++++++++------------ - src/hb-ot-layout.cc | 10 +- - 3 files changed, 171 insertions(+), 345 deletions(-) - -commit 5be86b1bb4fbb37b50a1e2798df0c9a3a528b6b2 -Author: Behdad Esfahbod -Date: Thu Nov 22 16:26:22 2012 -0500 - - [ucdn] Make data tables const! - - src/hb-ucdn/ucdn.c | 16 ++++++++-------- - src/hb-ucdn/unicodedata_db.h | 28 ++++++++++++++-------------- - 2 files changed, 22 insertions(+), 22 deletions(-) - -commit 7c5b7fe686c9163afe2f31fbeac6f8c8512f5516 -Author: Behdad Esfahbod -Date: Thu Nov 22 14:15:08 2012 -0500 - - Fix hb_shape_plan_get_shaper() - - src/hb-shape-plan.cc | 1 + - 1 file changed, 1 insertion(+) - -commit 4c8963576573483269b327c6465f6ec99f489e05 -Author: Behdad Esfahbod -Date: Wed Nov 21 01:20:56 2012 -0500 - - 0.9.7 - - NEWS | 86 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ - configure.ac | 2 +- - 2 files changed, 87 insertions(+), 1 deletion(-) - -commit ac064a2db2b7a010d99527e183145286215aea81 -Author: Behdad Esfahbod -Date: Wed Nov 21 01:14:19 2012 -0500 - - Rename hb_set_population() to hb_set_get_population() - - src/hb-set.cc | 2 +- - src/hb-set.h | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit 16c914c2a6efeb6999054333985b1f711e33cf94 -Author: Behdad Esfahbod -Date: Wed Nov 21 01:04:15 2012 -0500 - - [Indic] One more try at unbreaking Khmer fonts - - See comments and discussion on the list. - - src/hb-ot-shape-complex-private.hh | 16 ++++++++++------ - 1 file changed, 10 insertions(+), 6 deletions(-) - -commit e8cfdd7fa8d0fb66e0a261f3547e5824897e5131 -Author: Behdad Esfahbod -Date: Fri Nov 16 19:07:06 2012 -0800 - - Start implementing collect_glyphs() operation - - Not functional yet. - - src/hb-ot-layout-gsub-table.hh | 185 +++++++++++++++++++++++++++++++++++ - src/hb-ot-layout-gsubgpos-private.hh | 57 +++++++++++ - src/hb-ot-layout.cc | 29 ++++++ - src/hb-ot-layout.h | 4 +- - 4 files changed, 272 insertions(+), 3 deletions(-) - -commit 7d52e6601f0e695690cd168a288466746cf25300 -Author: Behdad Esfahbod -Date: Fri Nov 16 18:49:54 2012 -0800 - - Whitespace - - src/hb-coretext.cc | 32 +++++----- - src/hb-icu-le.cc | 2 +- - src/hb-old.cc | 10 ++-- - src/hb-open-file-private.hh | 2 +- - src/hb-open-type-private.hh | 2 +- - src/hb-ot-head-table.hh | 2 +- - src/hb-ot-hhea-table.hh | 2 +- - src/hb-ot-hmtx-table.hh | 2 +- - src/hb-ot-layout-common-private.hh | 2 +- - src/hb-ot-layout-gdef-table.hh | 2 +- - src/hb-ot-layout-gpos-table.hh | 2 +- - src/hb-ot-layout-gsub-table.hh | 2 +- - src/hb-ot-layout-gsubgpos-private.hh | 2 +- - src/hb-ot-maxp-table.hh | 2 +- - src/hb-ot-name-table.hh | 2 +- - src/hb-ot-shape-complex-default.cc | 109 ++++++++++++++++++----------------- - src/hb-tt-font.cc | 2 +- - 17 files changed, 87 insertions(+), 92 deletions(-) - -commit 51bb498b7b07bff4a447405b72f09b68d07a3e95 -Author: Behdad Esfahbod -Date: Fri Nov 16 14:08:05 2012 -0800 - - Minor - - src/hb-ot-shape.cc | 1 + - 1 file changed, 1 insertion(+) - -commit 89ca8eeb83fedde06727d386369a0a39d410f12b -Author: Behdad Esfahbod -Date: Fri Nov 16 13:53:40 2012 -0800 - - Implement hb_ot_layout_get_glyphs_in_class() - - src/hb-ot-layout-common-private.hh | 24 ++++++++++++++++++++++++ - src/hb-ot-layout-gdef-table.hh | 2 ++ - src/hb-ot-layout.cc | 8 ++++++++ - src/hb-ot-layout.h | 5 ++--- - 4 files changed, 36 insertions(+), 3 deletions(-) - -commit 5a08ecf9200a6ac9b4ebb7ec5c13dcb42d8820ce -Author: Behdad Esfahbod -Date: Fri Nov 16 13:34:29 2012 -0800 - - Implement hb_ot_layout_get_glyph_class() - - src/hb-ot-layout-gdef-table.hh | 10 +++++----- - src/hb-ot-layout-gpos-table.hh | 8 ++++---- - src/hb-ot-layout-gsub-table.hh | 2 +- - src/hb-ot-layout-gsubgpos-private.hh | 10 +++++----- - src/hb-ot-layout-private.hh | 10 +++++++++- - src/hb-ot-layout.cc | 6 ++++++ - src/hb-ot-layout.h | 14 ++++++-------- - src/hb-ot-shape.cc | 4 ++-- - 8 files changed, 38 insertions(+), 26 deletions(-) - -commit f9edd5d56bd219625f5b16b23eac53b4c4a8b194 -Author: Behdad Esfahbod -Date: Fri Nov 16 13:23:37 2012 -0800 - - Implement hb_shape_plan_get_shaper() - - Untested. - - src/hb-shape-plan-private.hh | 1 + - src/hb-shape-plan.cc | 7 +++++++ - src/hb-shape-plan.h | 4 +--- - 3 files changed, 9 insertions(+), 3 deletions(-) - -commit 43b653150081a2f9dc6b7481229ac4cd952575dc -Author: Behdad Esfahbod -Date: Fri Nov 16 13:12:35 2012 -0800 - - [Indic] Another try to unbreak Sinhala split matras - - Just read the comments... - - src/hb-ot-shape-complex-indic.cc | 43 ++++++++++++++++++---- - .../indic/script-sinhala/misc/MANIFEST | 1 + - .../indic/script-sinhala/misc/split-matras.txt | 4 ++ - 3 files changed, 40 insertions(+), 8 deletions(-) - -commit 977f1740ace730dcdff8221a17f2a592c2ec7c74 -Author: Behdad Esfahbod -Date: Fri Nov 16 13:10:07 2012 -0800 - - Unbreak tests - - src/hb-ot-layout.h | 14 +++++++------- - src/hb-shape-plan.h | 2 +- - 2 files changed, 8 insertions(+), 8 deletions(-) - -commit eba312c8d1b2bbe8cb9b6414e843e78d2c521aa4 -Author: Behdad Esfahbod -Date: Fri Nov 16 12:39:23 2012 -0800 - - Plumbing to get shape plan and font into complex decompose function - - So we can handle Sinhala split matras smartly... Coming soon. - - src/hb-ot-shape-complex-default.cc | 6 ++-- - src/hb-ot-shape-complex-indic.cc | 14 ++++----- - src/hb-ot-shape-complex-private.hh | 16 +++++------ - src/hb-ot-shape-normalize-private.hh | 22 ++++++++++++-- - src/hb-ot-shape-normalize.cc | 56 ++++++++++++++---------------------- - src/hb-ot-shape.cc | 2 +- - 6 files changed, 61 insertions(+), 55 deletions(-) - -commit 3f82f8ff07a9d16a7c047129658c1bbedfdb5436 -Author: Behdad Esfahbod -Date: Thu Nov 15 18:45:31 2012 -0800 - - Rename hb_buffer_guess_properties() to hb_buffer_guess_segment_properties() - - src/hb-buffer-private.hh | 2 +- - src/hb-buffer.cc | 6 +++--- - src/hb-buffer.h | 2 +- - src/hb-fallback-shape.cc | 2 +- - src/hb-ot-shape.cc | 2 +- - src/hb-shape.cc | 2 +- - 6 files changed, 8 insertions(+), 8 deletions(-) - -commit f30641038ba96e83950729b1bd9d86d2e98e46c5 -Author: Behdad Esfahbod -Date: Thu Nov 15 18:39:46 2012 -0800 - - Bunch of independent changes (ouch) - - API additions: - - hb_segment_properties_t - HB_SEGMENT_PROPERTIES_DEFAULT - hb_segment_properties_equal() - hb_segment_properties_hash() - - hb_buffer_set_segment_properties() - hb_buffer_get_segment_properties() - - hb_ot_layout_glyph_class_t - - hb_shape_plan_t - hb_shape_plan_create() - hb_shape_plan_create_cached() - hb_shape_plan_get_empty() - hb_shape_plan_reference() - hb_shape_plan_destroy() - hb_shape_plan_set_user_data() - hb_shape_plan_get_user_data() - hb_shape_plan_execute() - - hb_ot_shape_plan_collect_lookups() - - API changes: - - Rename hb_ot_layout_feature_get_lookup_indexes() to - hb_ot_layout_feature_get_lookups(). - - New header file: - - hb-shape-plan.h - - And a bunch of prototyped but not implemented stuff. Coming soon. - (Tests fail because of the prototypes right now.) - - src/Makefile.am | 2 +- - src/hb-buffer-private.hh | 37 --------------- - src/hb-buffer.cc | 45 +++++++++++++++++- - src/hb-buffer.h | 47 +++++++++++++++++-- - src/hb-ot-layout-private.hh | 8 ---- - src/hb-ot-layout.cc | 12 ++--- - src/hb-ot-layout.h | 108 ++++++++++++++++++++++++++++++++++++++++--- - src/hb-ot-map-private.hh | 2 +- - src/hb-ot-map.cc | 15 +++--- - src/hb-ot-shape-private.hh | 11 ++++- - src/hb-ot-shape.cc | 52 ++++++++++++++------- - src/hb-ot.h | 1 + - src/hb-shape-plan-private.hh | 3 +- - src/hb-shape-plan.cc | 23 +++++++-- - src/hb-shape-plan.h | 50 +++++++++++++------- - src/hb-shaper-private.hh | 2 - - src/hb-shaper.cc | 2 +- - src/hb.h | 1 + - 18 files changed, 304 insertions(+), 117 deletions(-) - -commit 75da37dcb17aacc0be6bb006683a84aa31155938 -Author: Behdad Esfahbod -Date: Thu Nov 15 18:39:23 2012 -0800 - - Minor - - util/hb-ot-shape-closure.cc | 24 ++++++++++++------------ - 1 file changed, 12 insertions(+), 12 deletions(-) - -commit e05a999495e6575f7cebd7f35db087d964f11ef6 -Author: Behdad Esfahbod -Date: Thu Nov 15 16:23:21 2012 -0800 - - Add hb_face_[sg]et_glyph_count() - - src/hb-font-private.hh | 9 +++++++++ - src/hb-font.cc | 29 ++++++++++++++++++++++++++++- - src/hb-font.h | 7 +++++++ - 3 files changed, 44 insertions(+), 1 deletion(-) - -commit aec89de5641fbe1c3031d63dd5f40ec99bf2a538 -Author: Behdad Esfahbod -Date: Thu Nov 15 16:15:42 2012 -0800 - - Add / modify set API a bit - - src/hb-ot-shape.cc | 2 +- - src/hb-set-private.hh | 35 ++++++++++++++++-- - src/hb-set.cc | 86 ++++++++++++++++++++++++++++++--------------- - src/hb-set.h | 55 +++++++++++++++++++---------- - util/hb-ot-shape-closure.cc | 2 +- - 5 files changed, 128 insertions(+), 52 deletions(-) - -commit c54599ad269380c7aa28d885fcfd660fc2c10a7b -Author: Behdad Esfahbod -Date: Thu Nov 15 16:14:23 2012 -0800 - - Minor - - src/hb-buffer.cc | 2 +- - src/hb-buffer.h | 8 +++----- - 2 files changed, 4 insertions(+), 6 deletions(-) - -commit d1aa143ca434fe272de21d2002768c83387b583b -Author: Behdad Esfahbod -Date: Thu Nov 15 15:38:08 2012 -0800 - - [Thai] Remove U+0E2C from "AC" consonants - - WinXP doesn't include it. - - src/hb-ot-shape-complex-thai.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 362a990b2246f5448ecb9d600761f710aea7d42d -Author: Behdad Esfahbod -Date: Thu Nov 15 14:57:31 2012 -0800 - - Rename hb_ot_layout_would_substitute_lookup() and hb_ot_layout_substitute_closure_lookup() - - To match upcoming API. - - src/hb-ot-layout-private.hh | 2 +- - src/hb-ot-layout.cc | 8 ++++---- - src/hb-ot-layout.h | 4 ++-- - src/hb-ot-map.cc | 2 +- - src/hb-ot-shape-complex-indic.cc | 2 +- - src/test-would-substitute.cc | 2 +- - 6 files changed, 10 insertions(+), 10 deletions(-) - -commit a4bef84e375b090c1bc7e4221b8e0ee435dfcbba -Author: Behdad Esfahbod -Date: Thu Nov 15 13:29:51 2012 -0800 - - [util] Make hb-shape err if output-format is not understood - - And list supported formats. - - util/hb-shape.cc | 6 ++++++ - 1 file changed, 6 insertions(+) - -commit 3cec819d39e45470d03085bb6fa132882cc85943 -Author: Behdad Esfahbod -Date: Thu Nov 15 13:15:39 2012 -0800 - - Make the OT shaper default, even if CoreText or Uniscribe is enabled - - src/hb-shaper-list.hh | 15 ++++++++------- - 1 file changed, 8 insertions(+), 7 deletions(-) - -commit 072ae7a982bf640804eee0b41525e7c328806bf5 -Author: Behdad Esfahbod -Date: Thu Nov 15 13:14:12 2012 -0800 - - Add hb_buffer_serialize_list_formats() - - src/hb-buffer.cc | 6 ++++++ - src/hb-buffer.h | 3 +++ - 2 files changed, 9 insertions(+) - -commit f9edf1672511c3bcc3796cc79578ffea43b2bda1 -Author: Behdad Esfahbod -Date: Thu Nov 15 12:14:09 2012 -0800 - - Add buffer serialization / deserialization API - - Two output formats for now: TEXT, and JSON. For example: - - hb-shape --output-format=json - - Deserialization API is added, but not implemented yet. - - src/hb-buffer.cc | 222 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-buffer.h | 42 +++++++++++ - util/hb-shape.cc | 21 +++++- - util/options.cc | 57 +++++--------- - util/options.hh | 7 +- - 5 files changed, 304 insertions(+), 45 deletions(-) - -commit fd0de881f4fc004da6f36d50a91d0e62f8eb4d8c -Author: Behdad Esfahbod -Date: Thu Nov 15 10:47:14 2012 -0800 - - Avoid C++ undefined behavior - - https://bugzilla.mozilla.org/show_bug.cgi?id=810823 - - src/hb-open-type-private.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit f41dc2d35b23220d59d38990bb66f1cbd66a55b3 -Author: Behdad Esfahbod -Date: Thu Nov 15 10:36:43 2012 -0800 - - Fix undefined behavior in Indic dottedcircle - - Chromium Issue 158998: Conditional jump in harfbuzz-ng - http://code.google.com/p/chromium/issues/detail?id=158998 - - src/hb-ot-shape-complex-indic.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 1eb3e94fe99a072ce422e60ac4d4d89ef489b08a -Author: Behdad Esfahbod -Date: Wed Nov 14 17:25:03 2012 -0800 - - [Thai] Implement PUA-based fallback shaping - - As explained here: - - http://linux.thai.net/~thep/th-otf/shaping.html - - Our output now matches Uniscribe for old fonts (eg. XP Tahoma) with no - Thai GSUB table. - - src/hb-ot-shape-complex-thai.cc | 217 ++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 217 insertions(+) - -commit 851784f8372004e0a40b698c0cdc2d7db8629aa2 -Author: Behdad Esfahbod -Date: Wed Nov 14 16:24:05 2012 -0800 - - Improve shaper selection - - src/hb-ot-map-private.hh | 8 ++++---- - src/hb-ot-map.cc | 6 ++++-- - src/hb-ot-shape-complex-indic.cc | 2 +- - src/hb-ot-shape-complex-private.hh | 13 ++++++++----- - src/hb-ot-shape-complex-thai.cc | 24 ++++++++++++++++++++++-- - 5 files changed, 39 insertions(+), 14 deletions(-) - -commit f3584d3a3a627e38dfd7769975a670db340d2a48 -Author: Behdad Esfahbod -Date: Wed Nov 14 15:55:17 2012 -0800 - - Add test cases for Thai PUA shaping - - .../texts/in-tree/shaper-thai/script-thai/misc/MANIFEST | 1 + - .../in-tree/shaper-thai/script-thai/misc/pua-shaping.txt | 11 +++++++++++ - 2 files changed, 12 insertions(+) - -commit 43f04a7456419153cb03e610a825056a47824780 -Author: Behdad Esfahbod -Date: Wed Nov 14 15:51:54 2012 -0800 - - Move Thai shaper into a separate file - - src/Makefile.am | 3 +- - ...plex-misc.cc => hb-ot-shape-complex-default.cc} | 114 ----------------- - src/hb-ot-shape-complex-thai.cc | 141 +++++++++++++++++++++ - 3 files changed, 143 insertions(+), 115 deletions(-) - -commit ba82325b7a6311b787ae47f41a56964e2f2cba9f -Author: Behdad Esfahbod -Date: Wed Nov 14 15:36:53 2012 -0800 - - Add note re 'Phags-pa letter U+A872, which is Joining_Type=L - - src/hb-ot-shape-complex-arabic.cc | 1 + - 1 file changed, 1 insertion(+) - -commit d469fadce8290c7dda559c5927dd19df65f91c1a -Author: Behdad Esfahbod -Date: Wed Nov 14 15:07:36 2012 -0800 - - [Indic] Exchange abort() for assert() - - src/hb-ot-shape-complex-indic.cc | 7 ++++--- - 1 file changed, 4 insertions(+), 3 deletions(-) - -commit 0f80a89de99293ddbf0b8b815fe360677d057e38 -Author: Behdad Esfahbod -Date: Wed Nov 14 15:05:19 2012 -0800 - - Don't route Kharoshthi through the Indic shaper - - It's a simple, right-to-left, script. - - src/hb-ot-shape-complex-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit e67072bb179a5c17db04075de74215597fb43c82 -Author: Behdad Esfahbod -Date: Wed Nov 14 15:00:53 2012 -0800 - - [Indic] Handle overstruck matra position - - src/hb-ot-shape-complex-indic-private.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 7e99e4f0740e47efda5882604954cb7d12700a4b -Author: Behdad Esfahbod -Date: Wed Nov 14 14:09:46 2012 -0800 - - Reposition Lao marks - - Lao marks are center-aligned, unlike Thai ones. - - src/hb-ot-shape-fallback.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 865745b5b87236651f5663cae3461db9cb505eed -Author: Behdad Esfahbod -Date: Wed Nov 14 13:48:26 2012 -0800 - - Don't do fallback positioning for Indic and Thai shapers - - src/hb-ot-shape-complex-arabic.cc | 1 + - src/hb-ot-shape-complex-indic.cc | 1 + - src/hb-ot-shape-complex-misc.cc | 2 ++ - src/hb-ot-shape-complex-private.hh | 1 + - src/hb-ot-shape.cc | 20 +++++--------------- - 5 files changed, 10 insertions(+), 15 deletions(-) - -commit 981748cb2e9b48b77177b19ec1f972cab7afda89 -Author: Behdad Esfahbod -Date: Wed Nov 14 13:38:16 2012 -0800 - - [Indic] If Khmer fonts have a 'liga' feature, use generic shaper - - Seems to produce more coherent results than trying the Indic shaper on - them. I'm looking at you, Kh-* fonts... - - src/hb-ot-shape-complex-private.hh | 21 +++++++++++++++++---- - 1 file changed, 17 insertions(+), 4 deletions(-) - -commit 6b19fa48621dbf36d471d5005f6ae20df350954f -Author: Behdad Esfahbod -Date: Wed Nov 14 11:38:50 2012 -0800 - - Adjust diff rule for the new hb-shape output format - - test/shaping/hb_test_tools.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit dde5506fd963e3cec27c3389bb1fc092f86d1e06 -Author: Behdad Esfahbod -Date: Wed Nov 14 11:37:04 2012 -0800 - - [Indic] Don't move virama with left matra - - This is important for the Sinhala U+0DDA split matra since it decomposes - to U+0DD9,U+0DCA where U+0DD9 is a left matra and U+0DCA is the virama. - We don't want to move the virama with the left matra. - TEST: U+0D9A,U+0DDA - - Note that we were already doing this in the Uniscribe bug compatibility - mode. We now do it all the time. - - src/hb-ot-shape-complex-indic.cc | 8 ++++++-- - 1 file changed, 6 insertions(+), 2 deletions(-) - -commit 82c4d9880a2cd321f6426888511c5f0318f96ad5 -Author: Behdad Esfahbod -Date: Wed Nov 14 10:56:02 2012 -0800 - - Add Sinhala test case for split matra U+0DDA - - .../texts/in-tree/shaper-indic/indic/script-sinhala/misc/misc.txt | 1 + - 1 file changed, 1 insertion(+) - -commit d04b12853167d756a8cccaf4154f0fd894bce6de -Author: Behdad Esfahbod -Date: Wed Nov 14 10:53:10 2012 -0800 - - Fix test - - test/api/test-buffer.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 92f9bfed42f720c1fd78e795845542661aaf4f8a -Author: Behdad Esfahbod -Date: Tue Nov 13 16:50:45 2012 -0800 - - Minor - - src/hb-buffer.h | 26 ++++++++++++++------------ - 1 file changed, 14 insertions(+), 12 deletions(-) - -commit 66ac2ff32e24f0d5658ca172147613081a133847 -Author: Behdad Esfahbod -Date: Tue Nov 13 16:26:32 2012 -0800 - - API change: Remove "mask" from hb_buffer_add() - - I don't expect anybody using hb_buffer_add(), so this shouldn't break - anyone's code. - - src/hb-buffer-private.hh | 1 - - src/hb-buffer.cc | 8 +++----- - src/hb-buffer.h | 1 - - 3 files changed, 3 insertions(+), 7 deletions(-) - -commit 407f80d62589774f845ef1a6a0a7d841b09d57c6 -Author: Behdad Esfahbod -Date: Tue Nov 13 15:33:27 2012 -0800 - - [util] Add --bot / --eot / --preserve-default-ignorables - - util/options.cc | 3 +++ - util/options.hh | 12 ++++++++++++ - 2 files changed, 15 insertions(+) - -commit 78d41d8d69142ae95928b51215c0c0c5e3f5b3f0 -Author: Behdad Esfahbod -Date: Tue Nov 13 15:15:09 2012 -0800 - - Minor - - util/options.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 321f73c16efa0730c96e001d65268f4927a0f735 -Author: Behdad Esfahbod -Date: Tue Nov 13 15:12:24 2012 -0800 - - [util] Add --text-before and --text-after to hb-shape / hb-view - - Use with Arabic, for example, to see the effect on joining. - - util/hb-ot-shape-closure.cc | 4 +++- - util/main-font-text.hh | 2 +- - util/options.cc | 2 ++ - util/options.hh | 18 ++++++++++++++++-- - util/shape-consumer.hh | 6 ++++-- - 5 files changed, 26 insertions(+), 6 deletions(-) - -commit e13f8d280bafc6a6b6e31e2eee587660b8333c56 -Author: Behdad Esfahbod -Date: Tue Nov 13 15:12:06 2012 -0800 - - Fix UTF-8 backward iteration - - Ouch! - - src/hb-utf-private.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 5669a6cf418f3a8b9281c36e9d662d843be80433 -Author: Behdad Esfahbod -Date: Tue Nov 13 15:11:51 2012 -0800 - - [Arabic] Fix post-context handling - - Ouch! - - src/hb-ot-shape-complex-arabic.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 0c7df2222862122ebbdc8665a21d6771ef5e0252 -Author: Behdad Esfahbod -Date: Tue Nov 13 14:42:35 2012 -0800 - - Add buffer flags - - New API: - - hb_buffer_flags_t - - HB_BUFFER_FLAGS_DEFAULT - HB_BUFFER_FLAG_BOT - HB_BUFFER_FLAG_EOT - HB_BUFFER_FLAG_PRESERVE_DEFAULT_IGNORABLES - - hb_buffer_set_flags() - hb_buffer_get_flags() - - We use the BOT flag to decide whether to insert dottedcircle if the - first char in the buffer is a combining mark. - - The PRESERVE_DEFAULT_IGNORABLES flag prevents removal of characters like - ZWNJ/ZWJ/... - - src/hb-buffer-private.hh | 1 + - src/hb-buffer.cc | 18 ++++++++++++++++++ - src/hb-buffer.h | 13 +++++++++++++ - src/hb-ot-shape-complex-arabic.cc | 40 ++++++++++++++++++++------------------- - src/hb-ot-shape.cc | 9 ++++++--- - test/api/test-buffer.c | 9 +++++++++ - 6 files changed, 68 insertions(+), 22 deletions(-) - -commit 1c7e55511a870f2689680ca8f977e00879f3b3e3 -Author: Behdad Esfahbod -Date: Tue Nov 13 14:42:22 2012 -0800 - - Minor fix - - Ouch - - src/hb-shape.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit c8d4f8b0fe56ce909e3ca07f8a30cb4fb940868b -Author: Behdad Esfahbod -Date: Tue Nov 13 14:10:19 2012 -0800 - - Minor - - test/api/test-object.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 82ecaff736e245e117d70b6ec1497508c6eb08d2 -Author: Behdad Esfahbod -Date: Tue Nov 13 13:57:52 2012 -0800 - - Add hb_buffer_clear() - - Which is like _reset(), but does NOT clear unicode-funcs. - - src/hb-buffer-private.hh | 1 + - src/hb-buffer.cc | 15 +++++++++++++++ - src/hb-buffer.h | 4 ++++ - test/api/test-buffer.c | 22 +++++++++++++++++++++- - 4 files changed, 41 insertions(+), 1 deletion(-) - -commit da43a92b04929e93356ae393803ef101154d2267 -Author: Behdad Esfahbod -Date: Tue Nov 13 13:48:26 2012 -0800 - - 0.9.6 - - NEWS | 28 ++++++++++++++++++++++++++++ - configure.ac | 2 +- - 2 files changed, 29 insertions(+), 1 deletion(-) - -commit 0736915b8ed789a209205fec762997af3a8af89c -Author: Behdad Esfahbod -Date: Tue Nov 13 12:35:35 2012 -0800 - - [Indic] Decompose Sinhala split matras the way old HarfBuzz / Pango did - - Had to do some refactoring to make this happen... - - Under uniscribe bug compatibility mode, we still plit them - Uniscrie-style, but Jonathan and I convinced ourselves that there is no - harm doing this the Unicode way. This change makes that happen, and - unbreaks free Sinhala fonts. - - src/hb-ot-shape-complex-arabic.cc | 2 + - src/hb-ot-shape-complex-indic.cc | 74 +++++++++- - src/hb-ot-shape-complex-misc.cc | 133 ++++++++++++++++- - src/hb-ot-shape-complex-private.hh | 28 +++- - src/hb-ot-shape-normalize-private.hh | 6 +- - src/hb-ot-shape-normalize.cc | 278 ++++++++++------------------------- - src/hb-ot-shape.cc | 5 +- - 7 files changed, 312 insertions(+), 214 deletions(-) - -commit c8149ca85ed97112778590bc9f090f3ee0254100 -Author: Behdad Esfahbod -Date: Tue Nov 13 11:07:20 2012 -0800 - - [hb-shape] Adjust postioning output format - - 1. If there is any offset (x or y), print out both x and y offsets. - - 2. Always print out the advance in the major direction of the buffer. - Ie. even for zero-advance glyphs, print a "+0". This is more intuitive. - - util/options.cc | 13 +++++++------ - 1 file changed, 7 insertions(+), 6 deletions(-) - -commit 6fd5335622087e87739684f581aa9f88635ff970 -Author: Behdad Esfahbod -Date: Mon Nov 12 18:42:18 2012 -0800 - - [Indic] Update auto-generated Indic machine to reflect previous commit - - src/hb-ot-shape-complex-indic-machine.hh | 1126 +++++++++++++++--------------- - 1 file changed, 567 insertions(+), 559 deletions(-) - -commit 9cac1338c4bc3e9034cbfa104291ed0329debefe -Author: Behdad Esfahbod -Date: Mon Nov 12 18:41:22 2012 -0800 - - [Indic] Allow Consonant_Medial's after Consonant's - - Mostly affects Myanmar, but also Tai Tham, Javanese, and Cham. The - latter three are untested (no fonts!). - - src/hb-ot-shape-complex-indic-machine.rl | 3 ++- - src/hb-ot-shape-complex-indic-private.hh | 7 ++++--- - 2 files changed, 6 insertions(+), 4 deletions(-) - -commit d187099cbab8e75f870a2bc9c23b6a1cf226905e -Author: Behdad Esfahbod -Date: Mon Nov 12 18:38:06 2012 -0800 - - [Indic] Categorize Myanmar "tone marks" as nuktas - - src/hb-ot-shape-complex-indic-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 8173f23f3f16972c2e8e0a120724533100acfda2 -Author: Behdad Esfahbod -Date: Mon Nov 12 18:37:20 2012 -0800 - - [Indic] Add config for Myanmar - - src/hb-ot-shape-complex-indic.cc | 2 ++ - 1 file changed, 2 insertions(+) - -commit 9e92978c8aa3d3cdab4d20c81698c56adbb3dbdd -Author: Behdad Esfahbod -Date: Mon Nov 12 18:36:10 2012 -0800 - - [Indic] Route "new" Myanmar tag through the Indic shaper - - Windows 8 adds a Myanmar shaper using the 'mym2' tag. Route that - through the Indic shaper. It's still very broken, but at least this - does NOT break old-style Myanmar shaping using the generic shaper. - - src/hb-ot-shape-complex-private.hh | 14 +++++++------- - 1 file changed, 7 insertions(+), 7 deletions(-) - -commit 5ab3855f8106158ee7e68797e8c35e63e9216e5d -Author: Behdad Esfahbod -Date: Mon Nov 12 18:27:42 2012 -0800 - - Choose shaper based on chosen OT script tag - - For Arabic and Indic shapers, if the font doesn't have a script system - for the script, use default shaper. - - Make an exception for Arabic script since we have fallback logic for - that one. - - src/hb-ot-map-private.hh | 4 ++++ - src/hb-ot-shape-complex-private.hh | 11 +++++++++-- - 2 files changed, 13 insertions(+), 2 deletions(-) - -commit 9b37b4c5800b158f61602d2aba8a01349e24d251 -Author: Behdad Esfahbod -Date: Mon Nov 12 18:23:38 2012 -0800 - - Make planner available to complex shaper choosing logic - - src/hb-ot-shape-complex-private.hh | 4 ++-- - src/hb-ot-shape.cc | 2 +- - 2 files changed, 3 insertions(+), 3 deletions(-) - -commit 6fddf2d7397411bba8a23ac535e8b851495d3105 -Author: Behdad Esfahbod -Date: Mon Nov 12 17:57:24 2012 -0800 - - Refactoring ot-map building to make chosen script available earlier - - src/hb-ot-map-private.hh | 13 ++++++++---- - src/hb-ot-map.cc | 51 ++++++++++++++++++++++++++-------------------- - src/hb-ot-shape-private.hh | 4 ++-- - 3 files changed, 40 insertions(+), 28 deletions(-) - -commit f17ed8116e7b6429af3fa60bb43d5f4fac66eae3 -Author: Behdad Esfahbod -Date: Mon Nov 12 17:48:26 2012 -0800 - - Minor TODO - - TODO | 2 ++ - 1 file changed, 2 insertions(+) - -commit de796a6fb98f4deda276caa82266b7c830978e0b -Author: Behdad Esfahbod -Date: Mon Nov 12 17:27:51 2012 -0800 - - Add "new" Myanmar OT Script tag - - Windows 8 added support for Myanmar shaping using the "mym2" script tag, - even though Windows never supported the old "mymr" tag. - - src/hb-ot-tag.cc | 2 ++ - test/api/test-ot-tag.c | 1 + - 2 files changed, 3 insertions(+) - -commit 27f52dc3f6bbb97594a44f27b180aed73d9e5608 -Author: Behdad Esfahbod -Date: Mon Nov 12 16:54:03 2012 -0800 - - Add Myanmar tests from UTN#11 - - .../south-east-asian/script-myanmar/misc/MANIFEST | 1 + - .../south-east-asian/script-myanmar/misc/utn11.txt | 34 ++++++++++++++++++++++ - 2 files changed, 35 insertions(+) - -commit e9334ce97bb7f1de87fb211bb5a8168033629b14 -Author: Behdad Esfahbod -Date: Mon Nov 12 14:57:02 2012 -0800 - - Break build when ragel is needed and missing - - src/Makefile.am | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit dba186711e3f5e723f917b7104e849c4c525d3b8 -Author: Behdad Esfahbod -Date: Mon Nov 12 14:48:33 2012 -0800 - - [Indic] Make more room in the table - - To be used in upcoming commits. - - src/hb-ot-shape-complex-indic-private.hh | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -commit c4be9917438c45b972ec76dc68409014110f0837 -Author: Behdad Esfahbod -Date: Mon Nov 12 14:27:33 2012 -0800 - - Typo - - src/hb-ot-shape-complex-indic.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 56be677781736bbedc80df6f6aaa2b5f0bc4041c -Author: Behdad Esfahbod -Date: Mon Nov 12 14:09:40 2012 -0800 - - [Indic] Port 'pref' logic to look into font tables - - ...instead of using a hardcoded list of Ra characters. - - src/hb-ot-shape-complex-indic.cc | 7 ++++--- - 1 file changed, 4 insertions(+), 3 deletions(-) - -commit f2c0f59043c93c225274fc0c8177077d16c89d61 -Author: Behdad Esfahbod -Date: Mon Nov 12 14:02:02 2012 -0800 - - [Indic] Port reph handling logic to look into font features - - ...instead of using a hardcoded list of Ra characters. - - src/hb-ot-shape-complex-indic.cc | 48 +++++++++++++++++++++++++--------------- - 1 file changed, 30 insertions(+), 18 deletions(-) - -commit 43149afbc0007ea075a7017c0e56056c3c0f3614 -Author: Behdad Esfahbod -Date: Mon Nov 12 13:34:17 2012 -0800 - - Route MEETEI_MAYEK through the Indic shaper - - Since it has a couple of left-"matras". - - src/hb-ot-shape-complex-private.hh | 5 ++--- - 1 file changed, 2 insertions(+), 3 deletions(-) - -commit d0905c3400085f9c0901c558ba1b81b5039510e4 -Author: Behdad Esfahbod -Date: Mon Nov 12 13:02:20 2012 -0800 - - Minor - - src/hb-ot-head-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 365f27ab5ba025bf1be6a882ed213c695cbfed7e -Author: Behdad Esfahbod -Date: Mon Nov 12 11:16:57 2012 -0800 - - Work around older compilers - - As reported on the list: - - I am seeing a similar problem building harfbuzz 0.9.5 with Apple gcc - 4.0.1 on OS X 10.5 Leopard: - - hb-ot-layout-common-private.hh:406: error: 'struct - OT::CoverageFormat1::Iter' is private - hb-ot-layout-common-private.hh:646: error: within this context - hb-ot-layout-common-private.hh:500: error: 'struct - OT::CoverageFormat2::Iter' is private - hb-ot-layout-common-private.hh:647: error: within this context - make[4]: *** [libharfbuzz_la-hb-ot-layout.lo] Error 1 - - Also reported as happening with MSVC 2005. - - src/hb-ot-layout-common-private.hh | 6 ++++++ - 1 file changed, 6 insertions(+) - -commit 6b389ddc3623d042ded4731f4d62dc354002fdd0 -Author: Behdad Esfahbod -Date: Mon Nov 12 11:02:56 2012 -0800 - - [Indic] Don't apply 'liga' - - Uniscribe doesn't. And some fonts abuse this feature to get Indic - shaping working in non-complex applications like Adobe's apps. - - No change in numbers: - - BENGALI: 353897 out of 354188 tests passed. 291 failed (0.0821598%) - DEVANAGARI: 707337 out of 707394 tests passed. 57 failed (0.00805774%) - GUJARATI: 366440 out of 366457 tests passed. 17 failed (0.00463902%) - GURMUKHI: 60704 out of 60747 tests passed. 43 failed (0.0707854%) - KANNADA: 951046 out of 951913 tests passed. 867 failed (0.0910798%) - KHMER: 299074 out of 299124 tests passed. 50 failed (0.0167155%) - LAO: 53611 out of 53644 tests passed. 33 failed (0.0615167%) - MALAYALAM: 1048011 out of 1048334 tests passed. 323 failed (0.0308108%) - ORIYA: 42320 out of 42329 tests passed. 9 failed (0.021262%) - SINHALA: 271666 out of 271847 tests passed. 181 failed (0.0665816%) - TAMIL: 1091754 out of 1091754 tests passed. 0 failed (0%) - TELUGU: 970557 out of 970573 tests passed. 16 failed (0.00164851%) - TIBETAN: 208469 out of 208469 tests passed. 0 failed (0%) - - src/hb-ot-shape-complex-indic.cc | 2 ++ - 1 file changed, 2 insertions(+) - -commit d05ac7dc3f2949e85f1fe996315b31b7aae370fe -Author: Behdad Esfahbod -Date: Mon Nov 12 10:26:50 2012 -0800 - - Fix hb-ft glyph name for broken fonts that return empty glyph names - - src/hb-ft.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 3bc22eb7b843c77706bb13fc332009097f247813 -Author: Behdad Esfahbod -Date: Mon Nov 12 10:07:28 2012 -0800 - - Minor - - util/options.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 4899801155cc0fef7a8aa58c33ac2d30ba34bcc3 -Author: Behdad Esfahbod -Date: Thu Nov 8 15:08:26 2012 -0800 - - U+A872 PHAGS-PA SUPERFIXED LETTER RA is "Right"-Joining - - src/hb-ot-shape-complex-arabic.cc | 3 +++ - 1 file changed, 3 insertions(+) - -commit 22a685836a59d1c02914761c02d3852810b83ec5 -Author: Behdad Esfahbod -Date: Mon Nov 5 15:20:10 2012 -0800 - - Adjust Mongolian shaping - - For U+1880..U+1886 Uniscribe thinks they are non-joining. - For U+1887 Uniscribe thinks it's joining, but looks wrong to me. - For now, match Uniscribe. - - src/hb-ot-shape-complex-arabic.cc | 3 +++ - 1 file changed, 3 insertions(+) - -commit e6b86c8519f894bf7fe18d5c143276521fcacece -Author: Behdad Esfahbod -Date: Mon Nov 5 15:18:49 2012 -0800 - - Add test for non-joining Mongolian letters - - For U+1880..U+1886 Uniscribe thinks they are non-joining. - For U+1887 Uniscribe thinks it's joining, but looks wrong to me. - - .../texts/in-tree/shaper-arabic/script-mongolian/misc/MANIFEST | 1 + - .../in-tree/shaper-arabic/script-mongolian/misc/non-joining.txt | 8 ++++++++ - 2 files changed, 9 insertions(+) - -commit c26a52fbe62e5ba4d0e1e2ba13bfb6ceb3f773dc -Author: Behdad Esfahbod -Date: Sun Nov 4 16:48:45 2012 -0800 - - Minor - - src/hb-ot-shape-fallback.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit f60d3ed35d94f1adcfd73ca05d03d7e81fb5de03 -Author: Behdad Esfahbod -Date: Sun Nov 4 16:44:47 2012 -0800 - - Minor - - src/hb-set-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit f5e55754f962184d2fb7dcab837cdba56e8c7731 -Author: Behdad Esfahbod -Date: Fri Nov 2 13:53:18 2012 -0700 - - Add Tifinagh test data - - test/shaping/texts/in-tree/shaper-default/MANIFEST | 2 ++ - .../texts/in-tree/shaper-default/script-tifinagh/MANIFEST | 1 + - .../in-tree/shaper-default/script-tifinagh/misc/MANIFEST | 1 + - .../in-tree/shaper-default/script-tifinagh/misc/misc.txt | 11 +++++++++++ - 4 files changed, 15 insertions(+) - -commit 10a33296e674ee84b9ed2df25cf373de7d020b8d -Author: Behdad Esfahbod -Date: Fri Nov 2 13:38:55 2012 -0700 - - Minor - - src/hb-ot-tag.cc | 2 ++ - 1 file changed, 2 insertions(+) - -commit c21498afd857e78230f761ee5c9e73adece89dd0 -Author: Behdad Esfahbod -Date: Fri Nov 2 10:21:26 2012 -0700 - - Add Mongolian and 'Phags-pa joining test cases - - test/shaping/texts/in-tree/shaper-arabic/MANIFEST | 1 + - .../in-tree/shaper-arabic/script-mongolian/misc/misc.txt | 3 +++ - .../texts/in-tree/shaper-arabic/script-phags-pa/MANIFEST | 1 + - .../in-tree/shaper-arabic/script-phags-pa/misc/MANIFEST | 1 + - .../in-tree/shaper-arabic/script-phags-pa/misc/misc.txt | 14 ++++++++++++++ - 5 files changed, 20 insertions(+) - -commit 3ba7bc14ea652d27639f34109e51a497a678a54a -Author: Behdad Esfahbod -Date: Thu Nov 1 20:05:04 2012 -0700 - - Implement 'Phags-pa shaping - - Through the Arabic shaper. It's similar to Mongolian. - - src/hb-ot-shape-complex-arabic.cc | 15 ++++++++++++--- - src/hb-ot-shape-complex-private.hh | 4 +--- - 2 files changed, 13 insertions(+), 6 deletions(-) - -commit 431bef2e16c7888ca3960f5797432d3a20903550 -Author: Behdad Esfahbod -Date: Thu Nov 1 16:26:01 2012 -0700 - - Minor build fix - - test/api/Makefile.am | 10 +++++++++- - 1 file changed, 9 insertions(+), 1 deletion(-) - -commit da70111ab234e8b740ce6fb1789a1809fbec0c44 -Author: Behdad Esfahbod -Date: Wed Oct 31 13:45:30 2012 -0700 - - Don't clear buffer pre-context if no new context is being provided - - Patch from Jonathan Kew. - - Part of fixing: - - Mozilla Bug 801410 - avoid inserting dotted-circle for run-initial - Unicode combining characters in "simple" scripts such as Latin - - https://bugzilla.mozilla.org/show_bug.cgi?id=801410 - - src/hb-buffer.cc | 9 ++++++++- - 1 file changed, 8 insertions(+), 1 deletion(-) - -commit 0bc7a38463bfb37f12efeb1b8cb2024cf4a347bc -Author: Behdad Esfahbod -Date: Mon Oct 29 22:02:45 2012 -0700 - - [OT] Fix ReverseChainingSubst - - We should make it clear that we don't want output buffer in this case, - otherwise buffer->backtrack_len() would be wrong. - - src/hb-buffer-private.hh | 1 + - src/hb-buffer.cc | 13 +++++++++++++ - src/hb-ot-layout-gsub-table.hh | 1 + - 3 files changed, 15 insertions(+) - -commit 2616689d159024d2b1cb1e68f9936b2129bf9be6 -Author: Behdad Esfahbod -Date: Mon Oct 29 21:51:56 2012 -0700 - - More tracing fixups - - src/hb-ot-layout-gsubgpos-private.hh | 13 +++++++------ - 1 file changed, 7 insertions(+), 6 deletions(-) - -commit 937f8d3871863b8b1ed1d8900cf41999d92ba30f -Author: Behdad Esfahbod -Date: Mon Oct 29 21:49:33 2012 -0700 - - [Arabic] Enable dlig and mset for Arabic - - That's what the spec says, and what Uniscribe does. - - src/hb-ot-shape-complex-arabic.cc | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 911ed096980630fd4a37bf2024036daae13a6056 -Author: Behdad Esfahbod -Date: Mon Oct 29 19:42:19 2012 -0700 - - Ignore gid0 in test results - - test/shaping/hb_test_tools.py | 1 + - 1 file changed, 1 insertion(+) - -commit bc513add7999baf32f126ceebbd318105ee66985 -Author: Behdad Esfahbod -Date: Mon Oct 29 19:03:55 2012 -0700 - - Add missing TRACE_RETURN - - src/hb-ot-layout-gsubgpos-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 10b88d89ef1efcfddbbfabd3669399b472c8a900 -Author: Behdad Esfahbod -Date: Mon Oct 29 18:18:24 2012 -0700 - - Add Ethiopic test case - - This sequence: U+120B,U+135F,U+120B with the Nyala font from Win7 - exposes a GPOS bug in Uniscribe, in that the positioned mark is wrongly - moved as a result a following kern. - - This is the one "failure" in the Ethiopic test suite :-). - - ETHIOPIC: 118900 out of 118901 tests passed. 1 failed (0.000841036%) - - test/shaping/texts/in-tree/shaper-default/script-ethiopic/MANIFEST | 1 + - test/shaping/texts/in-tree/shaper-default/script-ethiopic/misc/MANIFEST | 1 + - test/shaping/texts/in-tree/shaper-default/script-ethiopic/misc/misc.txt | 1 + - 3 files changed, 3 insertions(+) - -commit 88d3c98e309e14c3115825d1d8d40d0b3eec2d97 -Author: Behdad Esfahbod -Date: Mon Oct 29 16:27:02 2012 -0700 - - [Indic] Position pre-base reordering Ra after Chillus in Malayalam - - The logic for pre-base reordering follows the left matra logic. - We had an exception for Malayalam/Tamil in the left matra repositioning - which was not reflected in pre-base reordering. - - Malayalam failures down from 337 to 323. - - BENGALI: 353996 out of 354285 tests passed. 289 failed (0.0815727%) - DEVANAGARI: 707339 out of 707394 tests passed. 55 failed (0.00777502%) - GUJARATI: 366489 out of 366506 tests passed. 17 failed (0.0046384%) - GURMUKHI: 60769 out of 60809 tests passed. 40 failed (0.0657797%) - KANNADA: 951086 out of 951913 tests passed. 827 failed (0.0868777%) - KHMER: 299106 out of 299124 tests passed. 18 failed (0.00601757%) - LAO: 53611 out of 53644 tests passed. 33 failed (0.0615167%) - MALAYALAM: 1048011 out of 1048334 tests passed. 323 failed (0.0308108%) - ORIYA: 42320 out of 42329 tests passed. 9 failed (0.021262%) - SINHALA: 271726 out of 271847 tests passed. 121 failed (0.0445103%) - TAMIL: 1091837 out of 1091837 tests passed. 0 failed (0%) - TELUGU: 970558 out of 970573 tests passed. 15 failed (0.00154548%) - TIBETAN: 208469 out of 208469 tests passed. 0 failed (0%) - - src/hb-ot-shape-complex-indic.cc | 35 +++++++++++++++++++++-------------- - 1 file changed, 21 insertions(+), 14 deletions(-) - -commit 21bf796954678d02f136709cade43adef6f8f42b -Author: Behdad Esfahbod -Date: Mon Oct 29 14:21:09 2012 -0700 - - Add missed file - - src/hb-ucdn/COPYING | 13 +++++++++++++ - 1 file changed, 13 insertions(+) - -commit 01013a0f5c58d5d54a37e5b4d6692e0bbd4baf80 -Author: Behdad Esfahbod -Date: Mon Oct 29 10:56:04 2012 -0700 - - Include config.h.in in tree - - I typically don't like including generating files in tree. But like to - make an exception for this, since this forms the canonical list of - options one would need to go through when building with alternative - build systems. - - Makefile.am | 1 - - config.h.in | 160 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ - 2 files changed, 160 insertions(+), 1 deletion(-) - -commit 02ed52169ad3bb48f4989f721b0c6572e064a712 -Author: Behdad Esfahbod -Date: Sun Oct 28 21:26:19 2012 -0700 - - Improve license information - - COPYING | 2 ++ - src/hb-icu-le/COPYING | 2 ++ - src/hb-icu-le/Makefile.am | 2 +- - src/hb-ucdn/Makefile.am | 2 +- - src/hb-ucdn/README | 7 +++++++ - 5 files changed, 13 insertions(+), 2 deletions(-) - -commit 4c1d9244617e472464722e64d2cdbc1f9e8827f6 -Author: Behdad Esfahbod -Date: Sun Oct 28 20:27:25 2012 -0700 - - Minor - - src/hb-icu-le.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 38b015e57ffa75d3b078a368c23685beb7c3f946 -Author: Behdad Esfahbod -Date: Sun Oct 28 20:11:47 2012 -0700 - - Fix hb_buffer_set_length(buffer, 0) - - Was causing invalid realloc()s. - - src/hb-buffer.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit b7115b63be72e109b51f538ba581aed1017b2d55 -Author: Behdad Esfahbod -Date: Sun Oct 28 20:11:42 2012 -0700 - - Add XXX - - src/hb-icu-le.cc | 1 + - 1 file changed, 1 insertion(+) - -commit 71ee1f24503cd066ffc1a36cc5dd9a3c1d1a6dfd -Author: Behdad Esfahbod -Date: Sun Oct 28 19:18:11 2012 -0700 - - Port to ICU LayoutEngine C API - - Incidentally, this makes it not crash with icu-le-hb anymore... - I'm not smart / stupid enough to spend two more days debugging C++ - linking issues, and this is ABI-stable at least. - - src/hb-icu-le.cc | 31 ++++++++++++++++--------------- - 1 file changed, 16 insertions(+), 15 deletions(-) - -commit 0144f05e57088b30ac894cdae8b04b265d4dfbe7 -Author: Behdad Esfahbod -Date: Fri Oct 26 13:48:06 2012 -0700 - - Remove unused members - - src/hb-icu-le/PortableFontInstance.h | 3 --- - 1 file changed, 3 deletions(-) - -commit cf3afd8979b1db76d437f428cbd51cb363e0d18e -Author: Behdad Esfahbod -Date: Thu Oct 25 16:32:54 2012 -0700 - - Rename and revamp is_zero_width() to be is_default_ignorable() - - That's really the logic desired. Except that MONGOLIAN VOWEL SEPARATOR - is not default_ignorable but it really should be. Reported to Unicode. - - Based on suggestion from Konstantin Ritt. - - src/hb-fallback-shape.cc | 2 +- - src/hb-ot-shape-private.hh | 4 +-- - src/hb-ot-shape.cc | 2 +- - src/hb-unicode-private.hh | 90 +++++++++++++++++++++++++++++----------------- - 4 files changed, 62 insertions(+), 36 deletions(-) - -commit a724139e641bf1592b1ff786a75a9de2ea8163cf -Author: Behdad Esfahbod -Date: Wed Oct 24 14:02:15 2012 -0700 - - Update TODO - - TODO | 14 ++++++++++---- - 1 file changed, 10 insertions(+), 4 deletions(-) - -commit 13c058472913b7b6d689f9022226079da65420b0 -Author: Behdad Esfahbod -Date: Sun Oct 14 18:37:09 2012 -0500 - - 0.9.5 - - NEWS | 23 +++++++++++++++++++++++ - configure.ac | 2 +- - 2 files changed, 24 insertions(+), 1 deletion(-) - -commit fecdfa95daf4916695f23e7dab89ab363be11b89 -Author: Behdad Esfahbod -Date: Sun Oct 7 17:19:58 2012 -0400 - - Fixup hb_ot_shape_closure() - - Broke it when merged cmap mapping and normalizer. Ouch! - - src/hb-ot-shape.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 2d1dcb3ce3354c2d5e2b4d1d291beb8d23cdea22 -Author: Behdad Esfahbod -Date: Sun Oct 7 17:13:46 2012 -0400 - - Mark debug message functions static - - src/hb-private.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 9947bd6daffb5ec76b67536575e7617ba4f10b1e -Author: Behdad Esfahbod -Date: Tue Oct 2 20:44:43 2012 -0400 - - Update UCDN to upstream commit 3f159c87824230b59af56e40e2db32caf6afa51a - - - Unicode 6.2.0 goodness, - - Unassigned codepoints now have correct properties. Passes test suite. - - src/hb-ucdn/unicodedata_db.h | 1966 ++++++++++++++++++++++-------------------- - 1 file changed, 1036 insertions(+), 930 deletions(-) - -commit 32dbfcf763d1ae497d3c95de986a83441331678f -Author: Behdad Esfahbod -Date: Tue Oct 2 17:42:13 2012 -0400 - - Fix visibility of UCDN symbols - - src/hb-ucdn.cc | 2 -- - src/hb-ucdn/ucdn.h | 19 +++++++++++++++++++ - 2 files changed, 19 insertions(+), 2 deletions(-) - -commit 3f33f0d1f2603f22e86adffe3c3836136ba5e5fd -Author: Behdad Esfahbod -Date: Tue Oct 2 16:03:18 2012 -0400 - - Import UCDN into source tree - - https://github.com/grigorig/ucdn - - configure.ac | 11 +- - src/Makefile.am | 7 + - src/hb-ucdn.cc | 207 ++ - src/hb-ucdn/Makefile.am | 18 + - src/hb-ucdn/README | 33 + - src/hb-ucdn/ucdn.c | 282 +++ - src/hb-ucdn/ucdn.h | 290 +++ - src/hb-ucdn/unicodedata_db.h | 4648 ++++++++++++++++++++++++++++++++++++++++++ - src/hb-unicode.cc | 3 + - 9 files changed, 5498 insertions(+), 1 deletion(-) - -commit 0e292eb2a2abbac152eeea2060e58b7a66449745 -Author: Behdad Esfahbod -Date: Tue Oct 2 14:59:00 2012 -0400 - - Remove Glib thread-safety support - - Now that we have pthread detection in configure, we don't need Glib - anymore. Glib will only be a Unicode data provider. - - configure.ac | 8 ++++---- - src/hb-atomic-private.hh | 13 ------------- - src/hb-mutex-private.hh | 20 -------------------- - 3 files changed, 4 insertions(+), 37 deletions(-) - -commit 66efe896483c58f3ef9bd218c02bb7ea604f68ee -Author: Behdad Esfahbod -Date: Tue Oct 2 14:55:32 2012 -0400 - - Check for pthreads - - configure.ac | 7 +++++++ - src/Makefile.am | 5 +++++ - 2 files changed, 12 insertions(+) - -commit 10a8162dddb8b39ae130fe5bb7d1819471fa7e06 -Author: Behdad Esfahbod -Date: Tue Oct 2 14:46:34 2012 -0400 - - Add ax_pthread.m4 - - m4/ax_pthread.m4 | 309 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 309 insertions(+) - -commit 8ac34bc6ff1d0646503a45659b1846d8cf9c0603 -Author: Behdad Esfahbod -Date: Tue Oct 2 14:46:04 2012 -0400 - - Add pkg.m4 to git repo - - m4/pkg.m4 | 157 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 157 insertions(+) - -commit c7afac0aa6e51e6a49ebf13f72537398698c9e49 -Author: Behdad Esfahbod -Date: Tue Oct 2 14:44:47 2012 -0400 - - Add AC_CONFIG_MACRODIR - - Makefile.am | 2 ++ - configure.ac | 2 ++ - 2 files changed, 4 insertions(+) - -commit f2eb3fa9dca8d21fae20c9b9dddad3245df74a05 -Author: Behdad Esfahbod -Date: Tue Sep 25 21:35:35 2012 -0400 - - [OT] Only insert dottedcircle if at the beginning of paragraph - - If the first char in the run is a combining mark, but there is text - before the run, don't insert dottedcircle. - - Part of addressing: - https://bugzilla.redhat.com/show_bug.cgi?id=858736 - - src/hb-ot-shape.cc | 6 ++---- - 1 file changed, 2 insertions(+), 4 deletions(-) - -commit bdc2fc8294da7f374701aafe9f5a82d60633946f -Author: Behdad Esfahbod -Date: Tue Sep 25 21:32:35 2012 -0400 - - [Arabic] Respect Arabic joining from neighboring context - - Now we respect Arabic joining across runs. - - src/hb-ot-shape-complex-arabic.cc | 31 +++++++++++++++++++++++++++++-- - 1 file changed, 29 insertions(+), 2 deletions(-) - -commit 05207a79e0ae1769c5feaebe3fd99bdf9cfcf834 -Author: Behdad Esfahbod -Date: Tue Sep 25 17:44:53 2012 -0400 - - [buffer] Save pre/post textual context - - To be used for a variety of purposes. We save up to five characters - in each direction. No public API changes, everything is taken care - of already. All clients need to do is to call hb_buffer_add_utf* with - the full text + segment info (or at least some context) instead of - just passing in the segment. - - Various operations (hb_buffer_reset, hb_buffer_set_length, - hb_buffer_add*) automatically reset the relevant contexts. - - src/hb-buffer-private.hh | 13 ++++++++++++- - src/hb-buffer.cc | 44 ++++++++++++++++++++++++++++++++++++++++---- - src/hb-buffer.h | 2 +- - 3 files changed, 53 insertions(+), 6 deletions(-) - -commit 89ac39dbbe028e6379f64392f2e590e3f1fdd847 -Author: Behdad Esfahbod -Date: Tue Sep 25 13:59:24 2012 -0400 - - Add hb_utf_prev() - - src/hb-utf-private.hh | 71 +++++++++++++++++++++++++++++++++++++++++++++++++-- - 1 file changed, 69 insertions(+), 2 deletions(-) - -commit 70ea4ac6887c7057113d714a98e55738b6196562 -Author: Behdad Esfahbod -Date: Tue Sep 25 12:30:16 2012 -0400 - - Slightly optimize UTF-8 parsing - - src/hb-utf-private.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 4445e5e2ecc257a5d0fa2f2715bb7181a47346da -Author: Behdad Esfahbod -Date: Tue Sep 25 12:26:12 2012 -0400 - - [buffer] Cleanup / optimize UTF-16 parsing a bit - - src/hb-utf-private.hh | 12 +++++++----- - 1 file changed, 7 insertions(+), 5 deletions(-) - -commit 1f66c3c1a0eb869c0d85a015235313177e0cec62 -Author: Behdad Esfahbod -Date: Tue Sep 25 11:42:16 2012 -0400 - - Add hb_utf_strlen() - - Speeds up UTF-8 parsing by calling strlen(). - - src/hb-buffer.cc | 13 ++----------- - src/hb-utf-private.hh | 22 ++++++++++++++++++++++ - 2 files changed, 24 insertions(+), 11 deletions(-) - -commit 7f19ae7b9f806a2e35206b2ad41651c5f80b2537 -Author: Behdad Esfahbod -Date: Tue Sep 25 11:22:28 2012 -0400 - - [buffer] Templatize UTF handling - - Also move UTF routines into a separate file, to be reused from shapers - that need it. - - src/Makefile.am | 1 + - src/hb-buffer.cc | 157 +++++++++++++------------------------------------- - src/hb-utf-private.hh | 113 ++++++++++++++++++++++++++++++++++++ - 3 files changed, 155 insertions(+), 116 deletions(-) - -commit 0e0a4da9b7677a09e00d27313236e1f333864dd6 -Author: Behdad Esfahbod -Date: Tue Sep 25 11:09:04 2012 -0400 - - [buffer] Towards template'izing different UTF adders - - src/hb-buffer.cc | 11 ++++++++++- - 1 file changed, 10 insertions(+), 1 deletion(-) - -commit 7d37280600c157f3c4eae8746e99511702a58e8f -Author: Behdad Esfahbod -Date: Tue Sep 25 11:04:41 2012 -0400 - - Minor - - src/hb-buffer.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 54d5da4ee9d902ff36473cec558137eef8f23825 -Author: Behdad Esfahbod -Date: Tue Sep 25 10:50:41 2012 -0400 - - Remove unused indic.cc - - src/Makefile.am | 6 +----- - src/indic.cc | 51 --------------------------------------------------- - 2 files changed, 1 insertion(+), 56 deletions(-) - -commit fab7a71f110ed646745d54b23284537c50058c21 -Author: Behdad Esfahbod -Date: Mon Sep 24 21:51:13 2012 -0400 - - [Indic] Import ragel-generated Indic machine in git - - I don't expect ragel to be creating too much noise in its generated - output, and including this in-tree helps users right now. We can - revisit this later if it proved to be too much trouble. - - autogen.sh | 6 - - src/Makefile.am | 1 - - src/hb-ot-shape-complex-indic-machine.hh | 1314 ++++++++++++++++++++++++++++++ - 3 files changed, 1314 insertions(+), 7 deletions(-) - -commit 20a840c7cd08069720050782b4533cde505df09a -Author: Behdad Esfahbod -Date: Mon Sep 24 20:23:00 2012 -0400 - - Use a C++ linker on Windows - - On Windows we don't care whether or not we link to libstdc++. - Seems to fix build with mingw32 on msys, as reported by Werner. - - src/Makefile.am | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -commit eb7669a38072b66eef3bd905a93c4815bef3f0e5 -Author: Behdad Esfahbod -Date: Tue Sep 18 19:42:06 2012 -0400 - - Better autofoo - - src/Makefile.am | 5 +---- - 1 file changed, 1 insertion(+), 4 deletions(-) - -commit d00f7d83750258eff915a3826700c4819e63e481 -Author: Behdad Esfahbod -Date: Mon Sep 17 20:59:09 2012 -0400 - - Fix dependencies - - src/Makefile.am | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -commit 811eefe225d20b20f1de20c6e62a0ebd6d89102a -Author: Behdad Esfahbod -Date: Mon Sep 10 09:56:27 2012 -0400 - - Return NULL, not false - - Oh well... - - src/hb-open-type-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 166b5cf7ec2d37fb54a909c437ccdec1edaf37aa -Author: Behdad Esfahbod -Date: Fri Sep 7 14:55:07 2012 -0400 - - [Indic] Find syllables before any features are applied - - With FreeSerif, it seems that the 'ccmp' feature does ligature - substituttions. That was then causing syllable match failures. We now - find syllables before any features have been applied. - - Test sequence: U+0D9A,U+0DCA,U+200D,U+0DBB,U+0DCF - - src/hb-ot-shape-complex-indic-machine.rl | 4 +- - src/hb-ot-shape-complex-indic.cc | 56 +++++++++++++++------- - .../indic/script-sinhala/misc/misc.txt | 1 + - 3 files changed, 43 insertions(+), 18 deletions(-) - -commit 96fdc04e5c6daafce3d45e7508418e4db94df44c -Author: Behdad Esfahbod -Date: Thu Sep 6 22:26:16 2012 -0400 - - Add hb_buffer_[sg]et_content_type - - And hb_buffer_content_type_t and enum values. - - TODO | 1 + - src/hb-buffer-private.hh | 2 ++ - src/hb-buffer.cc | 34 ++++++++++++++++++++++++++++++++++ - src/hb-buffer.h | 14 ++++++++++++++ - src/hb-shape.cc | 5 +++++ - 5 files changed, 56 insertions(+) - -commit e30ebd2794b37bd8ec716a258d5cb017fb1dfadc -Author: Behdad Esfahbod -Date: Thu Sep 6 22:09:06 2012 -0400 - - Add hb_feature_to/from_string() - - TODO | 4 +- - src/hb-common.cc | 9 +++ - src/hb-common.h | 6 +- - src/hb-shape.cc | 168 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-shape.h | 13 +++++ - util/options.cc | 132 ++----------------------------------------- - 6 files changed, 201 insertions(+), 131 deletions(-) - -commit f67917161bbe317a33d6407fbc62ebffcafe7154 -Author: Behdad Esfahbod -Date: Thu Sep 6 17:22:31 2012 -0400 - - [OT] Do per-ligature-component fallback mark positioning - - With this in place, you can remove GDEF/GSUB/GPOS tables from Arabic - fonts and still get per-component marks positioned on - oh-yeah-fallback-formed LAM-ALEF ligatures with marks in between the LAM - and ALEF. - - Now *that*'s pretty cool, if a bit anachronistic... - - src/hb-ot-shape-fallback.cc | 43 ++++++++++++++++++++++++++++++++++++------- - 1 file changed, 36 insertions(+), 7 deletions(-) - -commit 525c6855783a018d52867b9ece2ee90868ff1f91 -Author: Behdad Esfahbod -Date: Thu Sep 6 16:02:07 2012 -0400 - - [OT] Make fallback mark positioning more robust - - ...with clusters spanning multiple base characters. - - src/hb-ot-shape-fallback.cc | 11 +++++++++-- - 1 file changed, 9 insertions(+), 2 deletions(-) - -commit 5d502443f5a07cbd0aa860dd71a0fa4ea8b6ff9f -Author: Behdad Esfahbod -Date: Thu Sep 6 15:29:29 2012 -0400 - - [old] Clear offset array - - src/hb-old.cc | 3 +++ - 1 file changed, 3 insertions(+) - -commit 9433c218b4853442dd9ad53d0588a837a33dbf1e -Author: Behdad Esfahbod -Date: Thu Sep 6 14:27:15 2012 -0400 - - [OT] Simplify fallback positioning condition - - src/hb-ot-shape-fallback.cc | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit 028a1706f898bfcee0d14acfba47ebe1de09f0c4 -Author: Behdad Esfahbod -Date: Thu Sep 6 14:25:48 2012 -0400 - - Refactor common macro - - src/hb-ot-shape-fallback.cc | 5 +---- - src/hb-ot-shape-normalize.cc | 5 +---- - src/hb-ot-shape.cc | 5 +---- - src/hb-unicode-private.hh | 9 +++++++++ - 4 files changed, 12 insertions(+), 12 deletions(-) - -commit 07cfbe21b511056d5c3c75cbfe84e4e982c3e8fb -Author: Behdad Esfahbod -Date: Thu Sep 6 01:16:39 2012 -0400 - - [OT] Streamline Arabic fallback shaping table - - src/gen-arabic-table.py | 6 +- - src/hb-ot-shape-complex-arabic-fallback.hh | 2 +- - src/hb-ot-shape-complex-arabic-table.hh | 266 ++++++++++++++--------------- - 3 files changed, 137 insertions(+), 137 deletions(-) - -commit 82f6b6f388b801a1483854cb56a2cadbb94e0f2b -Author: Behdad Esfahbod -Date: Thu Sep 6 01:12:50 2012 -0400 - - Minor - - src/hb-ot-shape-complex-arabic-fallback.hh | 13 +++++++------ - 1 file changed, 7 insertions(+), 6 deletions(-) - -commit fabd3113a98c5f4114f48920fa7ea38bd65a8d32 -Author: Behdad Esfahbod -Date: Wed Sep 5 22:19:28 2012 -0400 - - [OT] Port Arabic fallback shaping to synthetic GSUB - - All of init/medi/fina/isol and rlig implemented. - - Let there be dragons... ⻯ - - src/Makefile.am | 1 + - src/hb-open-type-private.hh | 69 +++++--- - src/hb-ot-layout-common-private.hh | 9 +- - src/hb-ot-layout-gsub-table.hh | 11 +- - src/hb-ot-map-private.hh | 6 + - src/hb-ot-map.cc | 1 + - src/hb-ot-shape-complex-arabic-fallback.hh | 252 +++++++++++++++++++++++++++++ - src/hb-ot-shape-complex-arabic.cc | 158 ++++++------------ - src/hb-ot-shape.cc | 7 +- - src/hb-private.hh | 11 +- - 10 files changed, 369 insertions(+), 156 deletions(-) - -commit f0b8ed1b6dd9f1d2b9084c101a6fc5dee0cc22a8 -Author: Behdad Esfahbod -Date: Wed Sep 5 17:32:57 2012 -0400 - - [Indic] Allow "H,ZWJ,M" - - Uniscribe accepts a Halant,ZWJ before matras. Allow that. - - BENGALI down from 295 to 291 - DEVANAGARI down from 69 to 57 - GUJARATI down from 19 to 17 - KANNADA down from 871 to 867 - MALAYALAM down from 340 to 337 - TELUGU down from 20 to 16 - - Currently at: - - BENGALI: 353897 out of 354188 tests passed. 291 failed (0.0821598%) - DEVANAGARI: 707337 out of 707394 tests passed. 57 failed (0.00805774%) - GUJARATI: 366440 out of 366457 tests passed. 17 failed (0.00463902%) - GURMUKHI: 60704 out of 60747 tests passed. 43 failed (0.0707854%) - KANNADA: 951046 out of 951913 tests passed. 867 failed (0.0910798%) - KHMER: 299077 out of 299124 tests passed. 47 failed (0.0157125%) - LAO: 53611 out of 53644 tests passed. 33 failed (0.0615167%) - MALAYALAM: 1047997 out of 1048334 tests passed. 337 failed (0.0321462%) - ORIYA: 42320 out of 42329 tests passed. 9 failed (0.021262%) - SINHALA: 271666 out of 271847 tests passed. 181 failed (0.0665816%) - TAMIL: 1091754 out of 1091754 tests passed. 0 failed (0%) - TELUGU: 970557 out of 970573 tests passed. 16 failed (0.00164851%) - TIBETAN: 208469 out of 208469 tests passed. 0 failed (0%) - - src/hb-ot-shape-complex-indic-machine.rl | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 4ed717ef61813fa16cf74f2874848e9feb81568f -Author: Behdad Esfahbod -Date: Wed Sep 5 17:21:17 2012 -0400 - - [Indic] Relax grammar - - Now that we insert dotted-circle, tests break more easily when our indic - machine breaks. - - In particular, a few Devanagari tests were having sequences like - "C,H,ZWJ,N", and because of the ZWJ the Nukta does NOT get reordered to - before the Halant as the grammar used to expect... Fixup. - - Another case is as simple as "C,ZWJ,SM". - - Fixes 10 out of 79 failures: - - DEVANAGARI: 707325 out of 707394 tests passed. 69 failed (0.00975411%) - - src/hb-ot-shape-complex-indic-machine.rl | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit aa7141efe49991a1160489106984e95163fe2ab8 -Author: Behdad Esfahbod -Date: Wed Sep 5 15:54:21 2012 -0400 - - [Indic] Fix Khmer syllable-final coeng-consonant - - Brings down Khmer failures from 162 to 47. - - KHMER: 299077 out of 299124 tests passed. 47 failed (0.0157125%) - - Also rebaselined some of the test files that had only-inherited lines. - Removing those, the stats are: - - BENGALI: 353893 out of 354188 tests passed. 295 failed (0.0832891%) - DEVANAGARI: 707315 out of 707394 tests passed. 79 failed (0.0111678%) - GUJARATI: 366438 out of 366457 tests passed. 19 failed (0.00518478%) - GURMUKHI: 60704 out of 60747 tests passed. 43 failed (0.0707854%) - KANNADA: 951042 out of 951913 tests passed. 871 failed (0.0915%) - KHMER: 299077 out of 299124 tests passed. 47 failed (0.0157125%) - LAO: 53611 out of 53644 tests passed. 33 failed (0.0615167%) - MALAYALAM: 1047994 out of 1048334 tests passed. 340 failed (0.0324324%) - ORIYA: 42320 out of 42329 tests passed. 9 failed (0.021262%) - SINHALA: 271666 out of 271847 tests passed. 181 failed (0.0665816%) - TAMIL: 1091754 out of 1091754 tests passed. 0 failed (0%) - TELUGU: 970553 out of 970573 tests passed. 20 failed (0.00206064%) - TIBETAN: 208469 out of 208469 tests passed. 0 failed (0%) - - Still some regressions, but some of the more egregious cases are - addressed. - - src/hb-ot-shape-complex-indic-machine.rl | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit efb8d3eb713bca7cbfca41380a012bdb4d380e5c -Author: Behdad Esfahbod -Date: Wed Sep 5 15:50:47 2012 -0400 - - Fixup test failure reporting - - After we implemented dotted-circle, we were still ignoring any tests - that had dottedcircle in it for any of the shapers. That meant that if - we wrongly outputted dottedcircle, the test was being ignored. Ouch! - - Fixing that shows regressions across the board. Most are Uniscribe - bugs: NOT inserting dotted-circle when it should. Some are arou - machine bugs. This is in fact a nice way to catch Indic-machine - deficiencies and when I fix the regressions, our clusters should be - much closer to Uniscribe. For now, we regressed from: - - BENGALI: 353997 out of 354285 tests passed. 288 failed (0.0812905%) - DEVANAGARI: 707339 out of 707394 tests passed. 55 failed (0.00777502%) - GUJARATI: 366489 out of 366506 tests passed. 17 failed (0.0046384%) - GURMUKHI: 60769 out of 60809 tests passed. 40 failed (0.0657797%) - KANNADA: 951086 out of 951913 tests passed. 827 failed (0.0868777%) - KHMER: 299106 out of 299124 tests passed. 18 failed (0.00601757%) - LAO: 53611 out of 53644 tests passed. 33 failed (0.0615167%) - MALAYALAM: 1048104 out of 1048416 tests passed. 312 failed (0.0297592%) - ORIYA: 42320 out of 42329 tests passed. 9 failed (0.021262%) - SINHALA: 271747 out of 271847 tests passed. 100 failed (0.0367854%) - TAMIL: 1091837 out of 1091837 tests passed. 0 failed (0%) - TELUGU: 970558 out of 970573 tests passed. 15 failed (0.00154548%) - TIBETAN: 208469 out of 208469 tests passed. 0 failed (0%) - - To: - - BENGALI: 353990 out of 354285 tests passed. 295 failed (0.0832663%) - DEVANAGARI: 707315 out of 707394 tests passed. 79 failed (0.0111678%) - GUJARATI: 366447 out of 366506 tests passed. 59 failed (0.016098%) - GURMUKHI: 60707 out of 60809 tests passed. 102 failed (0.167738%) - KANNADA: 951042 out of 951913 tests passed. 871 failed (0.0915%) - KHMER: 298962 out of 299124 tests passed. 162 failed (0.0541581%) - LAO: 53611 out of 53644 tests passed. 33 failed (0.0615167%) - MALAYALAM: 1048074 out of 1048416 tests passed. 342 failed (0.0326206%) - ORIYA: 42320 out of 42329 tests passed. 9 failed (0.021262%) - SINHALA: 271666 out of 271847 tests passed. 181 failed (0.0665816%) - TAMIL: 1091835 out of 1091837 tests passed. 2 failed (0.000183178%) - TELUGU: 970553 out of 970573 tests passed. 20 failed (0.00206064%) - TIBETAN: 208469 out of 208469 tests passed. 0 failed (0%) - - Investigating. - - test/shaping/hb_test_tools.py | 8 +++++--- - 1 file changed, 5 insertions(+), 3 deletions(-) - -commit 27bd55bd2ca599d501f10c2fae81861137517e46 -Author: Behdad Esfahbod -Date: Wed Sep 5 15:11:14 2012 -0400 - - [Indic] Tamil does not have half-forms either - - The Win7 Tamil font does not realy on this behavior, but the WinXP - version does. Handle Tamil like Malayalam: Matras always move to - before base. - - WinXP Tamil failures went down from 168964 (15.4752%) to 167 - (0.0152953%) (two orders of magnitude reduction!). - - Included in this is a minor fixup that actually fixed a few tests - with non-Tamil too. Numbers at: - - BENGALI: 353997 out of 354285 tests passed. 288 failed (0.0812905%) - DEVANAGARI: 707339 out of 707394 tests passed. 55 failed (0.00777502%) - GUJARATI: 366489 out of 366506 tests passed. 17 failed (0.0046384%) - GURMUKHI: 60769 out of 60809 tests passed. 40 failed (0.0657797%) - KANNADA: 951086 out of 951913 tests passed. 827 failed (0.0868777%) - KHMER: 299106 out of 299124 tests passed. 18 failed (0.00601757%) - LAO: 53611 out of 53644 tests passed. 33 failed (0.0615167%) - MALAYALAM: 1048104 out of 1048416 tests passed. 312 failed (0.0297592%) - ORIYA: 42320 out of 42329 tests passed. 9 failed (0.021262%) - SINHALA: 271747 out of 271847 tests passed. 100 failed (0.0367854%) - TAMIL: 1091837 out of 1091837 tests passed. 0 failed (0%) - TELUGU: 970558 out of 970573 tests passed. 15 failed (0.00154548%) - TIBETAN: 208469 out of 208469 tests passed. 0 failed (0%) - - src/hb-ot-shape-complex-indic.cc | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -commit 87b75d0a4aa03fe7a03e3bf7baf8ece131aec1bb -Author: Behdad Esfahbod -Date: Tue Sep 4 23:06:38 2012 -0400 - - [OT] Allow adding features with fallback implementation - - src/hb-ot-map-private.hh | 7 ++++--- - src/hb-ot-map.cc | 6 ++++-- - 2 files changed, 8 insertions(+), 5 deletions(-) - -commit 1d3947a6bda6986c9c7d993589053051c119cc81 -Author: Behdad Esfahbod -Date: Tue Sep 4 22:42:17 2012 -0400 - - Minor - - src/hb-ot-layout-gpos-table.hh | 2 +- - src/hb-ot-layout-gsub-table.hh | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit b3b89b66586897a69b410ef02e7434691de84ae6 -Author: Behdad Esfahbod -Date: Tue Sep 4 21:13:17 2012 -0400 - - [OT] Add SubstLookup serialize API - - src/hb-ot-layout-common-private.hh | 2 +- - src/hb-ot-layout-gsub-table.hh | 65 +++++++++++++++++++++++++++++++++++++- - 2 files changed, 65 insertions(+), 2 deletions(-) - -commit 715e03bc21d6adaa8e1f647235843839dc47dad1 -Author: Behdad Esfahbod -Date: Tue Sep 4 20:10:17 2012 -0400 - - Minor - - src/hb-open-type-private.hh | 7 ++----- - 1 file changed, 2 insertions(+), 5 deletions(-) - -commit 652d1e0d64e47313ead2fc8318d1236f0e0d80ca -Author: Behdad Esfahbod -Date: Tue Sep 4 20:00:44 2012 -0400 - - [OT] Start adding Lookup-level serialize API - - src/hb-ot-layout-common-private.hh | 20 +++++++++++++++++++- - 1 file changed, 19 insertions(+), 1 deletion(-) - -commit a930c68e9c50aade78c1eb0eef075c9c117e4ef6 -Author: Behdad Esfahbod -Date: Tue Sep 4 18:17:57 2012 -0400 - - [OT] More serialize. Implements all basic GSUB subtables - - src/hb-open-type-private.hh | 53 +++++++++++++++- - src/hb-ot-layout-common-private.hh | 8 ++- - src/hb-ot-layout-gsub-table.hh | 125 +++++++++++++++++++++++++++++-------- - 3 files changed, 156 insertions(+), 30 deletions(-) - -commit 1b38b4e817d871b9549be65af6030bd0eea7f775 -Author: Behdad Esfahbod -Date: Tue Sep 4 18:17:21 2012 -0400 - - Minor - - src/hb-ot-layout-gsub-table.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit f7e81ce0b882aa942ae33c787e741c5e8e5a0173 -Author: Behdad Esfahbod -Date: Tue Sep 4 15:32:37 2012 -0400 - - 0.9.4 - - NEWS | 18 ++++++++++++++++++ - configure.ac | 2 +- - 2 files changed, 19 insertions(+), 1 deletion(-) - -commit 2bd9fe359839a653f7caae534bf768af1735f155 -Author: Behdad Esfahbod -Date: Tue Sep 4 15:15:19 2012 -0400 - - Refactor - - src/hb-ot-layout-gpos-table.hh | 7 ++----- - src/hb-ot-layout-gsub-table.hh | 16 +++++----------- - src/hb-ot-layout-gsubgpos-private.hh | 13 +++---------- - src/hb-ot-layout.cc | 23 +++++++++++++++++------ - src/hb-ot-shape-complex-arabic.cc | 4 +--- - 5 files changed, 28 insertions(+), 35 deletions(-) - -commit a5ddd9e31cd7906c4b559aa5b2fafdae4b9c8935 -Author: Behdad Esfahbod -Date: Tue Sep 4 14:55:00 2012 -0400 - - [OT] Really fix possible NULL dereference this time - - src/hb-ot-layout-gsubgpos-private.hh | 8 ++++---- - src/hb-ot-layout.cc | 6 +++--- - src/hb-ot-shape-complex-arabic.cc | 4 +++- - 3 files changed, 10 insertions(+), 8 deletions(-) - -commit 29416833584d7831ece84aaeada6f5ebba7828c0 -Author: Behdad Esfahbod -Date: Mon Sep 3 23:31:14 2012 -0400 - - [OT] Implement serialize() for AlternateSubst - - src/hb-ot-layout-gsub-table.hh | 33 +++++++++++++++++++++++++++++++++ - 1 file changed, 33 insertions(+) - -commit 1f07e3382a1608b054cbf88b89fef74f6c485434 -Author: Behdad Esfahbod -Date: Mon Sep 3 23:28:34 2012 -0400 - - [OT] Implement serialize() for MultiSubst - - src/hb-open-type-private.hh | 10 ++++++++++ - src/hb-ot-layout-gsub-table.hh | 43 ++++++++++++++++++++++++++++++++++++++++++ - 2 files changed, 53 insertions(+) - -commit 4912030dfba740c822e200d33cbb5c6dbbeaf79e -Author: Behdad Esfahbod -Date: Mon Sep 3 20:58:03 2012 -0400 - - Minor - - src/hb-open-type-private.hh | 4 ++-- - src/hb-ot-layout-gsub-table.hh | 4 ++-- - 2 files changed, 4 insertions(+), 4 deletions(-) - -commit f8fa2b5cf67b02d74514dec7885d03de73ec7349 -Author: Behdad Esfahbod -Date: Mon Sep 3 20:19:46 2012 -0400 - - Fix possible NULL dereference - - As reported by Kenichi Ishibashi. - - src/hb-ot-layout-gsubgpos-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 4b312fb288faa383a2c5bd3be0428f0e58e02699 -Author: Behdad Esfahbod -Date: Sat Sep 1 21:56:06 2012 -0400 - - [OT] Remove serialize alignment - - Will reintroduce in a different way when we actually need it. - - src/hb-open-type-private.hh | 24 +++++++++++------------- - 1 file changed, 11 insertions(+), 13 deletions(-) - -commit c61be03d6df122f18eebda3b29e42c9e768d45b9 -Author: Behdad Esfahbod -Date: Sat Sep 1 21:43:38 2012 -0400 - - [OT] A bit more serialize - - src/hb-open-type-private.hh | 14 +++++++++++++ - src/hb-ot-layout-common-private.hh | 2 +- - src/hb-ot-layout-gsub-table.hh | 43 ++++++++++++++++++++++++++++++++++++-- - 3 files changed, 56 insertions(+), 3 deletions(-) - -commit abcc5ac1fde1c493e4055dd2f27b8aade7713156 -Author: Behdad Esfahbod -Date: Sat Sep 1 21:30:17 2012 -0400 - - [OT] Improve serialize syntax - - For some definition of improvement... - - src/hb-open-type-private.hh | 6 ++++-- - src/hb-ot-layout-gsub-table.hh | 3 +-- - 2 files changed, 5 insertions(+), 4 deletions(-) - -commit bc5be24014371ceb811b9ffd37062ede63d87bb1 -Author: Behdad Esfahbod -Date: Sat Sep 1 20:48:22 2012 -0400 - - [OT] Restart work on serialize() - - src/hb-open-type-private.hh | 39 ++++++++++++++++++------ - src/hb-ot-layout-common-private.hh | 61 +++++++++++++++++++------------------- - src/hb-ot-layout-gsub-table.hh | 13 ++++++++ - 3 files changed, 73 insertions(+), 40 deletions(-) - -commit 6912e476dd92639c3ddf07ca51c8d4a262c8b3a5 -Author: Behdad Esfahbod -Date: Sat Sep 1 20:38:45 2012 -0400 - - [OT] Insert dotted-circle for run-initial marks - - Unfortunately if the font has GPOS and 'mark' feature does - not position mark on dotted-circle, our inserted dotted-circle - will not get the mark repositioned to itself. Uniscribe cheats - here. - - If there is no GPOS however, the fallback positioning kicks in - and sorts this out. - - I'm not willing to address the first case. - - src/hb-ot-shape.cc | 32 ++++++++++++++++++++++++++++++++ - 1 file changed, 32 insertions(+) - -commit 1d581ec384bc1780995e32e1c44103af57596eda -Author: Behdad Esfahbod -Date: Sat Sep 1 20:06:26 2012 -0400 - - [OT] Fallback-position ccc=0 Thai / Lao marks - - Not perfect, but so is fallback positioning in 2012... - - src/hb-ot-shape-fallback.cc | 56 +++++++++++++++++++++++++++++++++++++-------- - 1 file changed, 46 insertions(+), 10 deletions(-) - -commit 3992b5ec4cb43d114d87ff7ee2b992bcf819c9cd -Author: Behdad Esfahbod -Date: Sat Sep 1 19:20:41 2012 -0400 - - Move code around - - src/hb-ot-shape-fallback-private.hh | 5 ++++ - src/hb-ot-shape-fallback.cc | 46 +++++++++++++++++++++++++------------ - src/hb-ot-shape-private.hh | 6 +++++ - src/hb-ot-shape.cc | 4 ++++ - 4 files changed, 46 insertions(+), 15 deletions(-) - -commit b85800f9de8976a7418ef9df467d3080c6ab0199 -Author: Behdad Esfahbod -Date: Fri Aug 31 18:12:01 2012 -0400 - - [Indic] Implement dotted-circle insertion for broken clusters - - No panic, we reeally insert dotted circle when it's absolutely broken. - - Fixes most of the dotted-circle cases against Uniscribe. (for Devanagari - fixes 80% of them, for Khmer 70%; the rest look like Uniscribe being - really bogus...) - - I had to make a decision. Apparently Uniscribe adds one dotted circle - to each broken character. I tried that, but that goes wrong easily with - split matras. So I made it add only one dotted circle to an entire - broken syllable tail. As in: "if there was a dotted circle here, this - would have formed a correct cluster." That works better for split - stuff, and I like it more. - - src/hb-buffer-private.hh | 1 + - src/hb-buffer.cc | 10 +++++ - src/hb-ot-shape-complex-indic-machine.rl | 4 +- - src/hb-ot-shape-complex-indic-private.hh | 2 +- - src/hb-ot-shape-complex-indic.cc | 67 +++++++++++++++++++++++++++++--- - src/hb-ot-shape-normalize-private.hh | 1 + - src/hb-ot-shape-normalize.cc | 11 +++--- - 7 files changed, 83 insertions(+), 13 deletions(-) - -commit 327d14ef188396006d54af976506ab6f8bb2869a -Author: Behdad Esfahbod -Date: Fri Aug 31 16:49:34 2012 -0400 - - [Indic] Start adding dotted-circle instrastructure - - src/hb-ot-shape-complex-indic-machine.rl | 19 +++++++------ - src/hb-ot-shape-complex-indic.cc | 46 +++++++++++++++++++++++++++++--- - 2 files changed, 51 insertions(+), 14 deletions(-) - -commit 1be368e96fb7de8c77bf992874e0d5bd6b272ebe -Author: Behdad Esfahbod -Date: Fri Aug 31 16:29:17 2012 -0400 - - Minor - - src/hb-buffer-private.hh | 16 +++++++++++++++- - src/hb-buffer.cc | 15 --------------- - 2 files changed, 15 insertions(+), 16 deletions(-) - -commit 784f29d061a2939562eca0c4943feb01174aee00 -Author: Behdad Esfahbod -Date: Fri Aug 31 14:06:26 2012 -0400 - - Minor - - src/hb-ot-shape.cc | 12 ++++++++---- - 1 file changed, 8 insertions(+), 4 deletions(-) - -commit 5a7f18767a87a3f07269d0814f984a98f86ab852 -Author: Behdad Esfahbod -Date: Thu Aug 30 22:53:29 2012 -0400 - - [OT] Better fallback-position Thai / Lao ccc!=0 marks - - src/hb-ot-shape-fallback.cc | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 9f2348de58f0f85593027378169bc03c4dd64e59 -Author: Behdad Esfahbod -Date: Wed Aug 29 21:08:59 2012 -0400 - - [OT] Add serialize() for Coverage - - src/hb-open-type-private.hh | 34 +++++++++++++++++---- - src/hb-ot-layout-common-private.hh | 62 ++++++++++++++++++++++++++++++++++++++ - 2 files changed, 90 insertions(+), 6 deletions(-) - -commit e901b954c6ec44ac3ae7fb3c326e6e7a40718e4b -Author: Behdad Esfahbod -Date: Wed Aug 29 20:26:08 2012 -0400 - - [OT] Start adding serialize() API - - src/hb-open-type-private.hh | 77 +++++++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 77 insertions(+) - -commit 965c280de09b49d711cb78d629da321c802084de -Author: Behdad Esfahbod -Date: Wed Aug 29 13:59:16 2012 -0400 - - Add HB_BUFFER_ASSERT_VAR - - To be used in places we access buffer vars... - - src/hb-buffer-private.hh | 3 +++ - src/hb-buffer.cc | 16 ++++++++++++++++ - 2 files changed, 19 insertions(+) - -commit 0ccf9b64736559a230425fd131c9eb8aa3048221 -Author: Behdad Esfahbod -Date: Wed Aug 29 11:53:26 2012 -0400 - - Move code around - - src/hb-ot-shape.cc | 21 ++++++++++----------- - 1 file changed, 10 insertions(+), 11 deletions(-) - -commit 2fcbbdb41a322f54b61d9ce983ab54434504c5ed -Author: Behdad Esfahbod -Date: Wed Aug 29 11:11:54 2012 -0400 - - Port Arabic fallback ligating to share code with GSUB - - This will eventually allow us to skip marks, as well as (fallback) - attach marks to ligature components of fallback-shaped Arabic. - That would be pretty cool. I kludged GDEF props in, so mark-skipping - works, but the produced ligature id/components will be cleared later - by substitute_start() et al. - - Perhaps using a synthetic table for Arabic fallback shaping was a better - idea. The current approach has way too many layering violations... - - src/hb-ot-layout-gsubgpos-private.hh | 4 ++ - src/hb-ot-shape-complex-arabic.cc | 72 ++++++++++++++++++++++++------------ - src/hb-ot-shape.cc | 4 +- - 3 files changed, 56 insertions(+), 24 deletions(-) - -commit 5e399a8a45bddb49e06e2ca39df1ed04398c0aff -Author: Behdad Esfahbod -Date: Wed Aug 29 10:40:49 2012 -0400 - - Minor - - src/hb-ot-layout-gsub-table.hh | 1 - - src/hb-ot-layout-gsubgpos-private.hh | 1 - - 2 files changed, 2 deletions(-) - -commit a177d027d1d0ad9539e30ed75d8652e0e8da20ff -Author: Behdad Esfahbod -Date: Tue Aug 28 23:18:22 2012 -0400 - - [GSUB] Move ligation logic over - - src/hb-ot-layout-gsub-table.hh | 78 ++++------------------------------- - src/hb-ot-layout-gsubgpos-private.hh | 80 ++++++++++++++++++++++++++++++++++++ - 2 files changed, 89 insertions(+), 69 deletions(-) - -commit 191fa885d9e0a2dce92dd8727cddd18495e62409 -Author: Behdad Esfahbod -Date: Tue Aug 28 22:58:55 2012 -0400 - - [GSUB] Merge Ligature and context input matching - - Looks better now... - - TODO | 4 -- - src/hb-ot-layout-gsub-table.hh | 71 +++++++----------------------------- - src/hb-ot-layout-gsubgpos-private.hh | 29 ++++++++++++++- - 3 files changed, 40 insertions(+), 64 deletions(-) - -commit 93814ca7dc2a7251f861c1c47ba155ba6e6bdf19 -Author: Behdad Esfahbod -Date: Tue Aug 28 22:24:51 2012 -0400 - - Start converging Ligature and match_input - - src/hb-ot-layout-gsub-table.hh | 58 +++++++++++++++++---------------- - src/hb-ot-layout-gsubgpos-private.hh | 62 ++++++++++++++++++++++++++++-------- - 2 files changed, 78 insertions(+), 42 deletions(-) - -commit 2eef71737ea29ffadbb5a2be4a898b44f53f66ac -Author: Behdad Esfahbod -Date: Tue Aug 28 19:16:38 2012 -0400 - - [hb-icu-le] Add visbility - - src/hb-icu-le/FontTableCache.h | 6 +++++- - src/hb-icu-le/PortableFontInstance.cpp | 39 ---------------------------------- - src/hb-icu-le/PortableFontInstance.h | 7 ++++-- - src/hb-icu-le/cmaps.cpp | 2 +- - src/hb-icu-le/cmaps.h | 5 ++++- - src/hb-icu-le/letest.h | 14 ++++++++++++ - src/hb-icu-le/sfnt.h | 6 +++++- - 7 files changed, 34 insertions(+), 45 deletions(-) - -commit d59e28e49204ed609d8a1bf3c0f21ab5fc178337 -Author: Behdad Esfahbod -Date: Tue Aug 28 19:08:36 2012 -0400 - - Minor - - src/Makefile.am | 6 +++++- - src/check-libstdc++.sh | 2 +- - src/check-static-inits.sh | 4 ++-- - 3 files changed, 8 insertions(+), 4 deletions(-) - -commit af169d2813ff8075288cd4a7811f0715e4fea3da -Author: Behdad Esfahbod -Date: Tue Aug 28 19:08:22 2012 -0400 - - Minor - - src/hb-icu-le/PortableFontInstance.h | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 52ff2681d88886e2165ced397966ba29c2073583 -Author: Behdad Esfahbod -Date: Tue Aug 28 18:03:35 2012 -0400 - - Use VisualStudio-style atomic intrinsics on mingw32 - - src/hb-atomic-private.hh | 25 ++++++++++++++++++------- - 1 file changed, 18 insertions(+), 7 deletions(-) - -commit 7c8e844d92aa604fc4b396343721ea90eb83adb8 -Author: Behdad Esfahbod -Date: Tue Aug 28 17:57:49 2012 -0400 - - Use namespace for OpenType tables - - Avoids USHORT, SHORT, ULONG, LONG clashes with Windows API. - - src/hb-font.cc | 12 ++--- - src/hb-open-file-private.hh | 4 ++ - src/hb-open-type-private.hh | 9 ++-- - src/hb-ot-head-table.hh | 4 ++ - src/hb-ot-hhea-table.hh | 5 ++ - src/hb-ot-hmtx-table.hh | 6 +++ - src/hb-ot-layout-common-private.hh | 5 ++ - src/hb-ot-layout-gdef-table.hh | 4 ++ - src/hb-ot-layout-gpos-table.hh | 4 ++ - src/hb-ot-layout-gsub-table.hh | 4 ++ - src/hb-ot-layout-gsubgpos-private.hh | 4 ++ - src/hb-ot-layout-private.hh | 12 +++-- - src/hb-ot-layout.cc | 91 ++++++++++++++++++------------------ - src/hb-ot-maxp-table.hh | 4 ++ - src/hb-ot-name-table.hh | 4 ++ - src/hb-uniscribe.cc | 8 ++-- - src/main.cc | 2 + - 17 files changed, 117 insertions(+), 65 deletions(-) - -commit dc5df5af6b349c3d9e4ab876864d9dec8096401f -Author: Behdad Esfahbod -Date: Tue Aug 28 16:31:23 2012 -0400 - - Revert "Minor" - - This reverts commit 3e0a03978b91994bb7fa7922593cbdfc50878dfc. - - I know remember why that line is there :). - - src/hb-ot-shape-complex-arabic.cc | 1 + - 1 file changed, 1 insertion(+) - -commit 3e0a03978b91994bb7fa7922593cbdfc50878dfc -Author: Behdad Esfahbod -Date: Mon Aug 27 17:10:02 2012 -0400 - - Minor - - src/hb-ot-shape-complex-arabic.cc | 1 - - 1 file changed, 1 deletion(-) - -commit 667218a5b134728863a318c73070f4e323590bbd -Author: Behdad Esfahbod -Date: Mon Aug 27 17:00:44 2012 -0400 - - Minor - - src/hb-ot-shape-fallback.cc | 4 +--- - 1 file changed, 1 insertion(+), 3 deletions(-) - -commit 30dd62251fcd04c2cbaa9b979d47ddbf62c6d460 -Author: Behdad Esfahbod -Date: Mon Aug 27 16:54:34 2012 -0400 - - Only fallback-position glyphs if we have the ccc - - Previously, ccc=0 Thai / Lao marks were being - mispositioned. Don't touch them. - - src/hb-ot-shape-fallback.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit e1ba62811a61afb046d349e578cd141363c7fb34 -Author: Behdad Esfahbod -Date: Mon Aug 27 16:28:05 2012 -0400 - - Center unknown marks horizontally - - src/hb-ot-shape-fallback.cc | 1 + - 1 file changed, 1 insertion(+) - -commit a4e75e4128751bb902117abc1a59dce4f2147672 -Author: Behdad Esfahbod -Date: Mon Aug 27 15:54:15 2012 -0400 - - Minor - - test/shaping/hb_test_tools.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 23b0e9d7dc801e11640979af3c2b00649a519bb1 -Author: Behdad Esfahbod -Date: Sun Aug 26 14:30:18 2012 -0400 - - [Indic] Fix switch - - D'oh. Was working by pure chance :)). - - src/hb-ot-shape-complex-indic.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit ae4d4e1de6b4512576080e95896383887b30982f -Author: Behdad Esfahbod -Date: Sun Aug 26 14:27:44 2012 -0400 - - Bug 53815 - CoreText backend doesn't link - - configure.ac | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit ec0e46376a2afec4ff7606f95582b0ec49c2a44a -Author: Behdad Esfahbod -Date: Fri Aug 24 00:44:53 2012 -0400 - - Remove TODO items - - TODO | 4 ---- - 1 file changed, 4 deletions(-) - -commit 56e878ab875ff06d74702145e380e198be967bd6 -Author: Behdad Esfahbod -Date: Fri Aug 24 00:41:51 2012 -0400 - - [graphite2] Cleanup scratch buffer allocation - - src/hb-graphite2.cc | 77 ++++++++++++++++++++++++++++++----------------------- - 1 file changed, 44 insertions(+), 33 deletions(-) - -commit 2f7586c6229096143ca0a96712a27416ee0d3c85 -Author: Behdad Esfahbod -Date: Thu Aug 23 23:59:55 2012 -0400 - - [icu-le] Implement icu layout engine shaper - - configure.ac | 2 +- - src/hb-icu-le.cc | 113 +++++++++++++++++++++++++++++++++++++++++++++----- - src/hb-icu-le/cmaps.h | 1 - - src/hb-shaper-list.hh | 4 ++ - 4 files changed, 108 insertions(+), 12 deletions(-) - -commit ba7f6c3797e5b440557bacd9b666bf09713dca76 -Author: Behdad Esfahbod -Date: Thu Aug 23 21:52:44 2012 -0400 - - [icu-le] Hook up to hb_face_t - - src/hb-icu-le.cc | 17 +++- - src/hb-icu-le/FontTableCache.cpp | 34 ++++---- - src/hb-icu-le/FontTableCache.h | 9 ++- - src/hb-icu-le/PortableFontInstance.cpp | 144 +++------------------------------ - src/hb-icu-le/PortableFontInstance.h | 21 ++--- - src/hb-icu-le/README | 1 + - 6 files changed, 57 insertions(+), 169 deletions(-) - -commit e96bb36995b2a5321b4d32bb11906e1701aaf115 -Author: Behdad Esfahbod -Date: Thu Aug 23 21:37:51 2012 -0400 - - [icu-le] Actually use the FontTableCache - - src/hb-icu-le/PortableFontInstance.cpp | 25 ++++++++----------------- - 1 file changed, 8 insertions(+), 17 deletions(-) - -commit 7d242364ea647f655a7092bda25f9a10774c57f5 -Author: Behdad Esfahbod -Date: Thu Aug 23 21:23:41 2012 -0400 - - [icu-le] Start adding a icu-layout-engine backend - - Import PortableFontInstance and add shaper stub. - - configure.ac | 9 + - src/Makefile.am | 8 + - src/hb-icu-le.cc | 111 ++++++++ - src/hb-icu-le/FontTableCache.cpp | 91 +++++++ - src/hb-icu-le/FontTableCache.h | 41 +++ - src/hb-icu-le/Makefile.am | 25 ++ - src/hb-icu-le/PortableFontInstance.cpp | 436 ++++++++++++++++++++++++++++++++ - src/hb-icu-le/PortableFontInstance.h | 117 +++++++++ - src/hb-icu-le/README | 2 + - src/hb-icu-le/cmaps.cpp | 200 +++++++++++++++ - src/hb-icu-le/cmaps.h | 85 +++++++ - src/hb-icu-le/letest.h | 49 ++++ - src/hb-icu-le/license.html | 51 ++++ - src/hb-icu-le/sfnt.h | 449 +++++++++++++++++++++++++++++++++ - 14 files changed, 1674 insertions(+) - -commit b5584ee4be46b47e1678acf28426970a6d670b4f -Author: Behdad Esfahbod -Date: Thu Aug 23 16:26:07 2012 -0400 - - [Indic] For old-spec, match non-zero context - - Fixes consonant-position with old-spec Malayalam. Uniscribe seem to be - doing this. Fixes below-base La (eg. Pa,H,La) with AnjaliNewLipi.ttf. - Doesn't regress new-spec or other scripts. - - src/hb-ot-shape-complex-indic.cc | 10 ++++++---- - 1 file changed, 6 insertions(+), 4 deletions(-) - -commit d9b204d3d24cde165167714728bf380267903d6a -Author: Behdad Esfahbod -Date: Thu Aug 23 16:22:28 2012 -0400 - - [GSUB] Allow non-zero-context matching in would_apply() - - To be used in the next patch. - - src/hb-ot-layout-gsubgpos-private.hh | 6 ++++-- - src/hb-ot-layout-private.hh | 3 ++- - src/hb-ot-layout.cc | 14 ++++++++------ - src/hb-ot-layout.h | 7 ++++--- - src/hb-ot-map.cc | 12 ++---------- - src/hb-ot-shape-complex-indic.cc | 2 +- - src/test-would-substitute.cc | 2 +- - 7 files changed, 22 insertions(+), 24 deletions(-) - -commit 1f2bb172fe9a173ecfd61054f1fdd850943ef059 -Author: Behdad Esfahbod -Date: Thu Aug 23 16:10:37 2012 -0400 - - Revert "[Indic/GSUB] Ignore context when matching would_apply()" - - This reverts commit 24dd4e56743c6ce5e01cb710ca9e01b3e527af58. - - Oops. My bad. The change _regressed_ Malayalam test suite, not - improved it. I'll redo it, differentiating between old-spec and - new-spec cases. - - src/hb-ot-layout-gsubgpos-private.hh | 8 +++----- - 1 file changed, 3 insertions(+), 5 deletions(-) - -commit 24dd4e56743c6ce5e01cb710ca9e01b3e527af58 -Author: Behdad Esfahbod -Date: Thu Aug 23 15:47:10 2012 -0400 - - [Indic/GSUB] Ignore context when matching would_apply() - - The MS Indic specs say "...all classifications are determined ... using - context-free substitutions." However, testing shows that MS's Malayalam - shapers (both old and new), "match" even if there is no zero-context rule. - We follow. - - Fixes below-base La (eg. Pa,H,La) with AnjaliNewLipi.ttf (old spec). - Moreover, test suite Malayalam failures are down to 312 from 875! No - change in other scripts. - - Current numbers: - - BENGALI: 353996 out of 354285 tests passed. 289 failed (0.0815727%) - DEVANAGARI: 707339 out of 707394 tests passed. 55 failed (0.00777502%) - GUJARATI: 366489 out of 366506 tests passed. 17 failed (0.0046384%) - GURMUKHI: 60769 out of 60809 tests passed. 40 failed (0.0657797%) - KANNADA: 951086 out of 951913 tests passed. 827 failed (0.0868777%) - KHMER: 299106 out of 299124 tests passed. 18 failed (0.00601757%) - LAO: 53611 out of 53644 tests passed. 33 failed (0.0615167%) - MALAYALAM: 1047541 out of 1048416 tests passed. 875 failed (0.0834592%) - ORIYA: 42320 out of 42329 tests passed. 9 failed (0.021262%) - SINHALA: 271726 out of 271847 tests passed. 121 failed (0.0445103%) - TAMIL: 1091837 out of 1091837 tests passed. 0 failed (0%) - TELUGU: 970558 out of 970573 tests passed. 15 failed (0.00154548%) - TIBETAN: 208469 out of 208469 tests passed. 0 failed (0%) - - src/hb-ot-layout-gsubgpos-private.hh | 8 +++++--- - 1 file changed, 5 insertions(+), 3 deletions(-) - -commit 6732d62e78b13842ead9549c97bede25c73976cb -Author: Behdad Esfahbod -Date: Thu Aug 23 15:19:45 2012 -0400 - - [Indic] Implement pre-base reordering Ra for old-spec Malayalam - - Fixes Pa,H,Ra sequence with AnjaliNewLipi.ttf. - - src/hb-ot-shape-complex-indic.cc | 5 ++--- - 1 file changed, 2 insertions(+), 3 deletions(-) - -commit 80cd92326f8a3f48a7821e720e8ecb2072e73286 -Author: Behdad Esfahbod -Date: Thu Aug 23 12:06:14 2012 -0400 - - [Indic] Only apply basic features per-syllable - - Free up syllables and let features work across syllables for the - presentation forms features and GPOS. - - Fixed: - - 1 GURMUKHI test (remains 40) - - 12 KHMER tests (remains 18) - - 11 SINHALA tests (remains 121) - - Regresses: - - 5 MALAYALAM tests (up to 312) - - Current numbers: - - BENGALI: 353996 out of 354285 tests passed. 289 failed (0.0815727%) - DEVANAGARI: 707339 out of 707394 tests passed. 55 failed (0.00777502%) - GUJARATI: 366489 out of 366506 tests passed. 17 failed (0.0046384%) - GURMUKHI: 60769 out of 60809 tests passed. 40 failed (0.0657797%) - KANNADA: 951086 out of 951913 tests passed. 827 failed (0.0868777%) - KHMER: 299106 out of 299124 tests passed. 18 failed (0.00601757%) - LAO: 53611 out of 53644 tests passed. 33 failed (0.0615167%) - MALAYALAM: 1048104 out of 1048416 tests passed. 312 failed (0.0297592%) - ORIYA: 42320 out of 42329 tests passed. 9 failed (0.021262%) - SINHALA: 271726 out of 271847 tests passed. 121 failed (0.0445103%) - TAMIL: 1091837 out of 1091837 tests passed. 0 failed (0%) - TELUGU: 970558 out of 970573 tests passed. 15 failed (0.00154548%) - TIBETAN: 208469 out of 208469 tests passed. 0 failed (0%) - - src/hb-ot-shape-complex-indic.cc | 4 ++++ - 1 file changed, 4 insertions(+) - -commit df5d5c68f3a5cab17bf4a429802a1a1a834c3456 -Author: Behdad Esfahbod -Date: Thu Aug 23 09:33:30 2012 -0400 - - Whitespace - - src/hb-ot-layout-gpos-table.hh | 20 ++++++++++---------- - 1 file changed, 10 insertions(+), 10 deletions(-) - -commit 7fe00d15da20193ca94a8ead9aee60df24074a9e -Author: Behdad Esfahbod -Date: Sat Aug 18 13:59:46 2012 -0400 - - Release 0.9.3 - - NEWS | 16 ++++++++++++++++ - configure.ac | 2 +- - 2 files changed, 17 insertions(+), 1 deletion(-) - -commit 7068e534c4ef7ed2eb7ef8e1370fd4a449556ce8 -Author: Behdad Esfahbod -Date: Sat Aug 18 13:56:10 2012 -0400 - - Fix ChangeLog generation rule - - Makefile.am | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 2f1747ed7d28148807ad07eb8e22db3ab5c54966 -Author: Behdad Esfahbod -Date: Thu Aug 16 11:46:46 2012 -0400 - - Add comment - - src/hb-ot-shape-complex-arabic.cc | 4 ++++ - 1 file changed, 4 insertions(+) - -commit bd08d5d126aa878d1dbf7bfd4b1a764c170cd9ad -Author: Behdad Esfahbod -Date: Thu Aug 16 11:35:50 2012 -0400 - - [OT] Fix Arabic shaper OOB access - - https://bugzilla.mozilla.org/show_bug.cgi?id=782908 - - src/hb-ot-shape-complex-arabic.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit b161bfc4f6f2db0edea780b95b798ff7b559cf33 -Author: Behdad Esfahbod -Date: Thu Aug 16 08:09:44 2012 -0400 - - [configure] Cleanup check for ICU - - Check for upstream-provided 'icu-uc' pkgconfig package. - - configure.ac | 21 +-------------------- - 1 file changed, 1 insertion(+), 20 deletions(-) - -commit daf0731865f91da960446928667d4095bde471ea -Author: Behdad Esfahbod -Date: Thu Aug 16 07:32:59 2012 -0400 - - [ICU] Fix includes - - As reported by Steven Loomis, including uversion.h works everywhere. - - src/hb-icu.cc | 6 ------ - 1 file changed, 6 deletions(-) - -commit a67ba9c0fe6798a3500af9f4acee8d678f5144ee -Author: Behdad Esfahbod -Date: Wed Aug 15 18:52:17 2012 -0400 - - Whitespace - - src/hb-old/Makefile.am | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 9fe76051f7003d6b6a10486c5595bf1a4dbf5fe6 -Author: Behdad Esfahbod -Date: Wed Aug 15 17:24:28 2012 -0400 - - [NEWS] Fix date - - Oops! - - NEWS | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 45c1383cc7315f89c23c0ed388b99e87224884e7 -Author: Behdad Esfahbod -Date: Tue Aug 14 09:33:18 2012 -0400 - - Minor - - src/hb-coretext.cc | 8 ++++---- - src/hb-fallback-shape.cc | 8 ++++---- - src/hb-graphite2.cc | 8 ++++---- - src/hb-uniscribe.cc | 8 ++++---- - 4 files changed, 16 insertions(+), 16 deletions(-) - -commit 4ac4c6f2e12ddc8bf5e750671321458218b6e0c8 -Author: Behdad Esfahbod -Date: Mon Aug 13 10:52:52 2012 -0400 - - Fix ICU build with older ICUs - - src/hb-icu.cc | 7 ++++++- - 1 file changed, 6 insertions(+), 1 deletion(-) - -commit 883cbf5ed79d2b60191f803a5ee3f3e4496f3441 -Author: Behdad Esfahbod -Date: Sun Aug 12 17:11:27 2012 -0400 - - Minor - - contrib/README | 2 ++ - 1 file changed, 2 insertions(+) - -commit b7a4d37d0b162f2222b65d09b9271b8c636086f8 -Author: Behdad Esfahbod -Date: Sat Aug 11 21:32:23 2012 -0400 - - minor - - configure.ac | 2 ++ - 1 file changed, 2 insertions(+) - -commit d5045a5f4017631a4660f985fe451c5a64c42ca0 -Author: Behdad Esfahbod -Date: Sat Aug 11 21:26:25 2012 -0400 - - [ICU] Use new normalizer2 compose/decompose API - - It's considerably faster than the fallback implementation we had - previously! - - src/hb-buffer.cc | 9 +++--- - src/hb-glib.cc | 26 +++++++--------- - src/hb-icu.cc | 75 +++++++++++++++++++++++++++++++++++++---------- - src/hb-unicode-private.hh | 13 ++------ - src/hb-unicode.cc | 35 ++++++++++++++++++++-- - src/hb-warning.cc | 8 ----- - 6 files changed, 110 insertions(+), 56 deletions(-) - -commit 2b73a1f112c489c2553743c08dc03cd89f60cb2d -Author: Behdad Esfahbod -Date: Sat Aug 11 19:17:54 2012 -0400 - - Add TODO - - TODO | 1 + - 1 file changed, 1 insertion(+) - -commit 9f9f04c2229227bb0712166e824157bbbf5cef80 -Author: Behdad Esfahbod -Date: Sat Aug 11 18:34:13 2012 -0400 - - [OT] Unbreak Thai shaping and fallback Arabic shaping - - The merger of normalizer and glyph-mapping broke shapers that - modified text stream. Unbreak them by adding a new preprocess_text - shaping stage that happens before normalizing/cmap and disallow - setup_mask modification of actual text. - - src/hb-ot-shape-complex-arabic.cc | 42 ++++++++++++++++++++++++++++---------- - src/hb-ot-shape-complex-indic.cc | 1 + - src/hb-ot-shape-complex-misc.cc | 12 ++++++----- - src/hb-ot-shape-complex-private.hh | 15 +++++++++++--- - src/hb-ot-shape.cc | 3 +++ - 5 files changed, 54 insertions(+), 19 deletions(-) - -commit e9f28a38f54b98fa59f9159ccaaa3be6027e1378 -Author: Behdad Esfahbod -Date: Sat Aug 11 18:20:28 2012 -0400 - - [OT] Add shape_plan to Arabic shaper - - src/hb-ot-shape-complex-arabic.cc | 82 +++++++++++++++++++++++++-------------- - 1 file changed, 53 insertions(+), 29 deletions(-) - -commit 344cc56698a8c84c4c1a05a71d829e5171aa3a60 -Author: Behdad Esfahbod -Date: Sat Aug 11 17:36:23 2012 -0400 - - Add TODO - - TODO | 4 ++++ - 1 file changed, 4 insertions(+) - -commit daf13afb0801740dcc7900c4af190e24b80a05c0 -Author: Behdad Esfahbod -Date: Fri Aug 10 16:38:44 2012 -0400 - - [OT] Implement fallback mark positioning for "double" combining marks - - src/hb-ot-shape-fallback.cc | 9 ++++++++- - 1 file changed, 8 insertions(+), 1 deletion(-) - -commit d345313104d9e3c8a8533ccdebd74e0648d0bee3 -Author: Behdad Esfahbod -Date: Fri Aug 10 16:34:04 2012 -0400 - - [OT] Fix fallback mark positioning with left-to-right text - - Ouch! - - src/hb-ot-shape-fallback.cc | 13 +++++++++++-- - 1 file changed, 11 insertions(+), 2 deletions(-) - -commit e297ee4acd6f9d950f8542fc6ad71fd580b69284 -Author: Behdad Esfahbod -Date: Fri Aug 10 14:49:37 2012 -0400 - - Bump version to 0.9.2 - - A *real* release this time, with NEWS, ChangeLog, etc. - - AUTHORS | 8 ++++ - COPYING | 9 ++-- - Makefile.am | 13 +++--- - NEWS | 136 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ - THANKS | 7 +++ - configure.ac | 4 +- - 6 files changed, 165 insertions(+), 12 deletions(-) - -commit 6efe1200b97cefe019857b0b5951a4a87deeb02b -Author: Behdad Esfahbod -Date: Fri Aug 10 13:49:32 2012 -0400 - - Bump version to 0.9.1 - - configure.ac | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 206ab6057303273590a3d005660e075bdcee0f5f -Author: Behdad Esfahbod -Date: Fri Aug 10 09:06:30 2012 -0400 - - [test] Move around - - test/shaping/texts/in-tree/shaper-arabic/script-arabic/MANIFEST | 2 +- - .../texts/in-tree/shaper-arabic/script-arabic/language-urdu/MANIFEST | 1 + - .../shaper-arabic/script-arabic/{ => language-urdu}/crulp/MANIFEST | 0 - .../script-arabic/{ => language-urdu}/crulp/ligatures/2grams.txt | 0 - .../script-arabic/{ => language-urdu}/crulp/ligatures/3grams.txt | 0 - .../script-arabic/{ => language-urdu}/crulp/ligatures/4grams.txt | 0 - .../script-arabic/{ => language-urdu}/crulp/ligatures/5grams.txt | 0 - .../script-arabic/{ => language-urdu}/crulp/ligatures/6grams.txt | 0 - .../script-arabic/{ => language-urdu}/crulp/ligatures/7grams.txt | 0 - .../script-arabic/{ => language-urdu}/crulp/ligatures/8grams.txt | 0 - .../script-arabic/{ => language-urdu}/crulp/ligatures/LICENSE | 0 - .../script-arabic/{ => language-urdu}/crulp/ligatures/MANIFEST | 0 - .../script-arabic/{ => language-urdu}/crulp/ligatures/README | 0 - .../script-arabic/{ => language-urdu}/crulp/ligatures/SOURCES | 0 - 14 files changed, 2 insertions(+), 1 deletion(-) - -commit 7a484c601e0958533eb85a6902296733c39537fe -Author: Behdad Esfahbod -Date: Fri Aug 10 09:05:29 2012 -0400 - - [test] Add Urdu ligature sequences from CRULP - - .../in-tree/shaper-arabic/script-arabic/MANIFEST | 1 + - .../shaper-arabic/script-arabic/crulp/MANIFEST | 1 + - .../script-arabic/crulp/ligatures/2grams.txt | 601 ++ - .../script-arabic/crulp/ligatures/3grams.txt | 3415 +++++++++++ - .../script-arabic/crulp/ligatures/4grams.txt | 6316 ++++++++++++++++++++ - .../script-arabic/crulp/ligatures/5grams.txt | 5029 ++++++++++++++++ - .../script-arabic/crulp/ligatures/6grams.txt | 1542 +++++ - .../script-arabic/crulp/ligatures/7grams.txt | 354 ++ - .../script-arabic/crulp/ligatures/8grams.txt | 26 + - .../script-arabic/crulp/ligatures/LICENSE | 3 + - .../script-arabic/crulp/ligatures/MANIFEST | 7 + - .../script-arabic/crulp/ligatures/README | 16 + - .../script-arabic/crulp/ligatures/SOURCES | 4 + - 13 files changed, 17315 insertions(+) - -commit f4cb4762986a28634fa7de9b706f9d37859b881e -Author: Behdad Esfahbod -Date: Fri Aug 10 03:51:44 2012 -0400 - - [OT] Slightly adjust normalizer - - The change is very subtle. If we have a single-char cluster that - decomposes to three or more characters, then try recomposition, in - case the farther mark may compose with the base. - - src/hb-ot-shape-normalize.cc | 81 +++++++++++++++++++++++++++++--------------- - 1 file changed, 54 insertions(+), 27 deletions(-) - -commit 07d682806349aee81f53114778ce0beb23909ed7 -Author: Behdad Esfahbod -Date: Fri Aug 10 03:28:50 2012 -0400 - - Minor - - src/hb-ot-shape-normalize.cc | 25 ++++++++----------------- - src/hb-ot-shape.cc | 2 +- - 2 files changed, 9 insertions(+), 18 deletions(-) - -commit b00321ea78793d9b3592b5173a9800e6322424fe -Author: Behdad Esfahbod -Date: Thu Aug 9 22:33:32 2012 -0400 - - [OT] Avoid calling get_glyph() twice - - Essentially move the glyph mapping to normalization process. - The effect on Devanagari is small (but observable). Should be more - observable in simple text, like ASCII. - - src/hb-ot-shape-normalize-private.hh | 2 + - src/hb-ot-shape-normalize.cc | 76 +++++++++++++++++++++++++----------- - src/hb-ot-shape.cc | 44 ++++++++++----------- - 3 files changed, 77 insertions(+), 45 deletions(-) - -commit 12c0875eafa4bd92db650e5acca046d99594d1e6 -Author: Behdad Esfahbod -Date: Thu Aug 9 22:00:53 2012 -0400 - - [OT] Remove redundant check - - src/hb-ot-shape.cc | 5 +---- - 1 file changed, 1 insertion(+), 4 deletions(-) - -commit 5c60b70c89b4e0a6512d9fd1ab5394dd76feb742 -Author: Behdad Esfahbod -Date: Thu Aug 9 21:58:07 2012 -0400 - - [OT] More code shuffling around - - Preparing for merging map_glyphs() and normalize(). - - src/hb-ot-shape.cc | 167 +++++++++++++++++++++++++++-------------------------- - 1 file changed, 86 insertions(+), 81 deletions(-) - -commit cd0c6e148f6d078b364370cb2f808b793b921be2 -Author: Behdad Esfahbod -Date: Thu Aug 9 21:48:55 2012 -0400 - - Shuffle buffer variable allocations around - - To room for more allocations, coming. - - src/hb-ot-layout-private.hh | 6 +++--- - src/hb-ot-shape-complex-arabic.cc | 2 +- - src/hb-ot-shape-complex-indic-private.hh | 4 ++-- - src/hb-ot-shape-complex-private.hh | 5 ++--- - src/hb-ot-shape-private.hh | 4 ++-- - 5 files changed, 10 insertions(+), 11 deletions(-) - -commit 8d1eef3f32fb539de2a72804fa3834acc18daab5 -Author: Behdad Esfahbod -Date: Thu Aug 9 21:31:52 2012 -0400 - - Minor - - src/hb-ot-shape-normalize.cc | 50 +++++++++++++++++++++++++++----------------- - 1 file changed, 31 insertions(+), 19 deletions(-) - -commit 56c9e7c004e802ddcb8c704346026f1d7a812f9f -Author: Behdad Esfahbod -Date: Thu Aug 9 21:12:30 2012 -0400 - - Fill out combining class resetting for fallback shaping Thai/Lao/Tibetan - - src/hb-ot-shape-fallback.cc | 38 +++++++++++++++++++++++++++++++++++++- - src/hb-unicode-private.hh | 7 ++++--- - src/hb-unicode.cc | 2 +- - 3 files changed, 42 insertions(+), 5 deletions(-) - -commit a321e1d51e0e7fa02738410e8d6e77c841bc6b13 -Author: Behdad Esfahbod -Date: Thu Aug 9 18:30:34 2012 -0400 - - Revert "Reject lookups with no subTable" - - This reverts commit 30ec9002d84e8b49290e782e6192069821ffa942. - - See previous commit. - - src/hb-ot-layout-common-private.hh | 1 - - 1 file changed, 1 deletion(-) - -commit 2eaf482b371034ce6ebfaedee98049b036fd3493 -Author: Behdad Esfahbod -Date: Thu Aug 9 18:30:05 2012 -0400 - - Revert "[GSUB/GPOS] Reject Context/ChainContext lookups with zero input" - - This reverts commit 0981068b75710397f08e0d2d776a0a2ea68d7117. - - I was confused. Even if we access coverage[0] unconditionally, we don't - need bound checks since the array machinary already handles that. - - src/hb-ot-layout-gsubgpos-private.hh | 2 -- - 1 file changed, 2 deletions(-) - -commit a02d86484be870615297abfc7be9f94645434762 -Author: Behdad Esfahbod -Date: Wed Aug 8 18:04:29 2012 -0400 - - Add check-exported-symbols.sh - - And misc linking fixes. - - src/Makefile.am | 1 + - src/check-exported-symbols.sh | 40 ++++++++++++++++++++++++++++++++++++++++ - src/check-internal-symbols.sh | 2 +- - src/hb-ot-shape-complex-indic.cc | 2 +- - src/hb-ot-shape.cc | 6 +++--- - 5 files changed, 46 insertions(+), 5 deletions(-) - -commit 4c8ac4f47e95d2b266b2f64e75c55af8233b6b91 -Author: Behdad Esfahbod -Date: Wed Aug 8 17:44:19 2012 -0400 - - Misc minor fixes - - src/check-internal-symbols.sh | 10 +-- - src/hb-font-private.hh | 29 +++++++- - src/hb-font.cc | 63 +++++++--------- - src/hb-font.h | 2 +- - src/hb-graphite2.cc | 4 +- - src/hb-old.cc | 2 +- - src/hb-ot-layout.cc | 6 +- - src/hb-ot-shape-fallback.cc | 10 +-- - src/hb-ot-shape.cc | 2 +- - src/hb-shape-plan.cc | 2 +- - src/hb-shape-plan.h | 2 +- - src/hb-tt-font.cc | 166 +----------------------------------------- - 12 files changed, 72 insertions(+), 226 deletions(-) - -commit 560d68af8168d1baff607b9616a3590af70fe9ec -Author: Behdad Esfahbod -Date: Wed Aug 8 17:16:01 2012 -0400 - - Use a export-file for Windows builds - - Apparently even that doesn't make check-internal-symbols.sh happy with - mingw32. Going to disable that for DLLs again, but hopefully the - export-file is doing *something*. - - configure.ac | 14 +++++++++++++- - src/Makefile.am | 22 +++++++++++++++++++++- - src/hb-buffer.h | 4 ++-- - 3 files changed, 36 insertions(+), 4 deletions(-) - -commit f8751cf8e0a16125d63a88da65fdbfa76a19453f -Author: Behdad Esfahbod -Date: Wed Aug 8 17:15:44 2012 -0400 - - [hb-old] speed-up build - - src/hb-old/harfbuzz-external.h | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 5f4c52867ce67faa15f5d26b59c18c8d068e9261 -Author: Behdad Esfahbod -Date: Wed Aug 8 16:53:37 2012 -0400 - - Minor - - src/hb-ot-layout.h | 1 - - 1 file changed, 1 deletion(-) - -commit fe2b8a7777ab1c84980424ede713cb0d6701f987 -Author: Behdad Esfahbod -Date: Wed Aug 8 15:27:14 2012 -0400 - - Minor - - TODO | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 7e7d245b332306949a19c628bacd920717434769 -Author: Behdad Esfahbod -Date: Wed Aug 8 15:23:48 2012 -0400 - - Make default_language threadsafe - - src/hb-common.cc | 15 +++++---------- - 1 file changed, 5 insertions(+), 10 deletions(-) - -commit 06b192c458010c847362d809673209c87ea29949 -Author: Behdad Esfahbod -Date: Wed Aug 8 15:23:45 2012 -0400 - - Minor - - src/hb-common.h | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 37191ede7583fdb864db32a8f4d90956657926c7 -Author: Behdad Esfahbod -Date: Wed Aug 8 14:59:09 2012 -0400 - - Minor - - src/hb-common.h | 4 ++-- - src/hb-icu.h | 1 - - 2 files changed, 2 insertions(+), 3 deletions(-) - -commit 6d9a329a8a0f11f4b175e407de59c55924de1ef6 -Author: Behdad Esfahbod -Date: Wed Aug 8 14:48:41 2012 -0400 - - Adjust a couple source checks - - src/check-internal-symbols.sh | 4 ++-- - src/check-static-inits.sh | 10 ++++++++-- - 2 files changed, 10 insertions(+), 4 deletions(-) - -commit 9c929abdcfef44c0193a2917b20981df37ade21c -Author: Behdad Esfahbod -Date: Wed Aug 8 14:33:37 2012 -0400 - - Minor renaming - - src/Makefile.am | 4 ++-- - ...sition-fallback-private.hh => hb-ot-shape-fallback-private.hh} | 8 ++++---- - src/{hb-ot-shape-position-fallback.cc => hb-ot-shape-fallback.cc} | 4 ++-- - src/hb-ot-shape.cc | 4 ++-- - 4 files changed, 10 insertions(+), 10 deletions(-) - -commit 801298b590effd768607bb532dc83c73ba65d16b -Author: Behdad Esfahbod -Date: Wed Aug 8 14:26:36 2012 -0400 - - Fix cast - - https://bugs.freedesktop.org/show_bug.cgi?id=53233 - - src/hb-buffer-private.hh | 10 ++++++---- - src/hb-shape-plan.cc | 4 ++-- - 2 files changed, 8 insertions(+), 6 deletions(-) - -commit 21756934a15e31dc243e2b6d80adec5752477652 -Author: Behdad Esfahbod -Date: Wed Aug 8 01:20:45 2012 -0400 - - [OT] Implement fallback positioning - - Implemented for Arabic, Hebrew, and generic marks. - Activated if no GPOS table present. - - src/hb-font.h | 3 +- - src/hb-ft.cc | 3 +- - src/hb-old.cc | 2 +- - src/hb-ot-shape-position-fallback.cc | 237 ++++++++++++++++++++++++++++++++++- - src/hb-unicode-private.hh | 81 ++++++++++++ - src/hb-unicode.cc | 107 ++++++---------- - 6 files changed, 356 insertions(+), 77 deletions(-) - -commit fb56e7628362a73e20f7f0b49fe31e802dc01f4f -Author: Behdad Esfahbod -Date: Tue Aug 7 23:44:47 2012 -0400 - - [hb-old] Fix warnings - - src/hb-old/harfbuzz-shaper.cpp | 2 ++ - 1 file changed, 2 insertions(+) - -commit affaf8a0e5aa38e5820455f789eebf916e02eb7b -Author: Behdad Esfahbod -Date: Tue Aug 7 22:41:38 2012 -0400 - - [OT] Start adding fallback positioning - - Used when there is no GPOS. - - src/Makefile.am | 2 ++ - src/hb-ot-shape-position-fallback-private.hh | 39 +++++++++++++++++++++++ - src/hb-ot-shape-position-fallback.cc | 47 ++++++++++++++++++++++++++++ - src/hb-ot-shape.cc | 23 +++----------- - 4 files changed, 93 insertions(+), 18 deletions(-) - -commit 7e4920fd1577987bf6804f67765e22a84983e057 -Author: Behdad Esfahbod -Date: Tue Aug 7 22:32:23 2012 -0400 - - Minor - - src/hb-ot-shape.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 472f229a63f0d1bb21b02179ef430b7698df8f12 -Author: Behdad Esfahbod -Date: Tue Aug 7 22:25:24 2012 -0400 - - [GSUB] Generalize would_apply() - - Fixes logic also, where before we were always matching if glyphs_len==1 - and a ligature started with the glyph. - - src/hb-ot-layout-gsub-table.hh | 26 ++++++++++++++++++++----- - src/hb-ot-layout-gsubgpos-private.hh | 37 ++++++++++++++++++------------------ - src/hb-ot-layout.cc | 3 +-- - 3 files changed, 40 insertions(+), 26 deletions(-) - -commit 6f3a300138f659020c21c3e08b7981c78df5f332 -Author: Behdad Esfahbod -Date: Tue Aug 7 22:13:25 2012 -0400 - - Add hb_font_glyph_from/to_string - - src/hb-font-private.hh | 43 +++++++++++++++++++++++++++++++++++++++++++ - src/hb-font.cc | 24 ++++++++++++++++++++---- - src/hb-font.h | 11 +++++++++++ - src/hb-private.hh | 16 ++++++++++++++++ - src/test-would-substitute.cc | 11 ++++++++++- - util/options.cc | 2 +- - 6 files changed, 101 insertions(+), 6 deletions(-) - -commit eb56f6ae96260c5b4bcd4e1dfb7ab733a230f3a8 -Author: Behdad Esfahbod -Date: Tue Aug 7 21:44:25 2012 -0400 - - Minor - - src/hb-mutex-private.hh | 1 + - src/hb-uniscribe.cc | 1 + - src/hb-uniscribe.h | 2 ++ - 3 files changed, 4 insertions(+) - -commit f4e48adcdd4315ce09e755f87a0f801d88194f42 -Author: Behdad Esfahbod -Date: Tue Aug 7 21:12:49 2012 -0400 - - [OT] Apply 'rclt' feature in horizontal mode - - 'rclt' is "Required Contextual Forms" being proposed by Microsoft. - It's like 'calt', but supposedly always on. We apply 'calt' anyway, - and now apply this too. - - src/hb-ot-shape.cc | 1 + - 1 file changed, 1 insertion(+) - -commit b1914b8bd08ecdea79930dda7e3bb2ae9e6134a1 -Author: Behdad Esfahbod -Date: Tue Aug 7 16:57:48 2012 -0400 - - Fix warnings - - src/hb-icu.cc | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 0f8881d6bbf6cd59938315eeff9b71cfc736aa4e -Author: Behdad Esfahbod -Date: Tue Aug 7 16:57:02 2012 -0400 - - More refactoring - - src/hb-ot-shape-normalize.cc | 161 +++++++++++++++++++++++++++++++++++++++++- - src/hb-unicode-private.hh | 164 +------------------------------------------ - 2 files changed, 162 insertions(+), 163 deletions(-) - -commit 428dfcab6634ff264570a0a5d715efb8048c3db5 -Author: Behdad Esfahbod -Date: Tue Aug 7 16:51:48 2012 -0400 - - Minor refactoring - - src/hb-ot-shape-normalize.cc | 27 +++++++++++++++++++++++---- - 1 file changed, 23 insertions(+), 4 deletions(-) - -commit 61f41849af6ff9edf8b55cf9610066d1bfb4a8df -Author: Behdad Esfahbod -Date: Tue Aug 7 16:45:27 2012 -0400 - - Add Hebrew presentation forms shaping - - Lifted from https://bugzilla.mozilla.org/show_bug.cgi?id=728866 - - src/hb-unicode-private.hh | 121 +++++++++++++++++++++++++++++++++++++++++++++- - 1 file changed, 120 insertions(+), 1 deletion(-) - -commit 32d71dc13317b322e2c5de00d767b2cb15fddd8b -Author: Behdad Esfahbod -Date: Tue Aug 7 14:11:16 2012 -0400 - - [Graphite] Minor - - src/hb-graphite2.cc | 60 +++++++++++++++++++++++++---------------------------- - 1 file changed, 28 insertions(+), 32 deletions(-) - -commit 030ac5022e8a43b9329c26e72527bafc582ef44b -Author: Behdad Esfahbod -Date: Tue Aug 7 13:01:12 2012 -0400 - - Remove enum trailing comma - - ...again. - - src/hb-ot-shape-normalize-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 368b4e7649f9bc8c6bebf7c7ff03c9b9ec425a25 -Author: Behdad Esfahbod -Date: Mon Aug 6 23:06:04 2012 -0400 - - Minor - - src/hb-font.cc | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -commit ade7459ea7c75b4f33f7cfa43dd5bdfa0c18d6d5 -Author: Behdad Esfahbod -Date: Mon Aug 6 19:42:47 2012 -0700 - - [util] Fix leaks - - src/hb-graphite2.cc | 18 ++++++++++++++---- - util/options.cc | 2 +- - util/options.hh | 2 +- - 3 files changed, 16 insertions(+), 6 deletions(-) - -commit 2fef993460dcfd94c92ab35413bdde18ad2b0ceb -Author: Behdad Esfahbod -Date: Mon Aug 6 19:35:04 2012 -0700 - - [Graphite] Fix graphite2 backend with RTL text - - Patch from Martin Hosken. - - src/hb-graphite2.cc | 33 ++++++++++++++++++--------------- - 1 file changed, 18 insertions(+), 15 deletions(-) - -commit e4992e13e19877a73ea05fc1d31005a262c685ad -Author: Behdad Esfahbod -Date: Mon Aug 6 19:25:39 2012 -0700 - - [Graphite] Port graphite2 backend to new shaper infrastructure - - src/hb-graphite2.cc | 234 +++++++++++++++++++++++--------------------------- - src/hb-graphite2.h | 2 +- - src/hb-shaper-list.hh | 2 +- - 3 files changed, 109 insertions(+), 129 deletions(-) - -commit 66591ececfba9791de06c814f5f30131e95e5fd2 -Author: Behdad Esfahbod -Date: Mon Aug 6 17:07:19 2012 -0700 - - Remove unnecessary lifecycle bits - - We already set recount to INVALID when destroying. - This block was not necessary. - - src/hb-font.cc | 3 --- - 1 file changed, 3 deletions(-) - -commit e3320ecc1b5a7eaccc7c9370b2d1b76850f054be -Author: Behdad Esfahbod -Date: Mon Aug 6 11:44:10 2012 -0700 - - Fix compiler warnings - - configure.ac | 12 +++++++++--- - 1 file changed, 9 insertions(+), 3 deletions(-) - -commit 167b625d988b74572d6b2f646c285b666b650d49 -Author: Behdad Esfahbod -Date: Sun Aug 5 21:16:26 2012 -0700 - - [Indic] Minor, move 'blwf' after 'half' - - We don't apply them together anyway. Should not make any difference - right now. - - src/hb-ot-shape-complex-indic.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 048e3b596fb7fccd3fb5f48de98b6b67788f774a -Author: Behdad Esfahbod -Date: Sat Aug 4 18:04:57 2012 -0700 - - Speed up hb_set_digest_lowest_bits_t calcs - - src/hb-set-private.hh | 10 +++++++--- - 1 file changed, 7 insertions(+), 3 deletions(-) - -commit 3d1b66a35e1ab3be19335705f310b278d76d66d2 -Author: Behdad Esfahbod -Date: Sat Aug 4 17:42:28 2012 -0700 - - Speed up hb_set_digest_common_bits_t calcs - - src/hb-set-private.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit bdc48a879a1900138d8caaa8d90fb9fe1e768d1d -Author: Behdad Esfahbod -Date: Sat Aug 4 17:08:38 2012 -0700 - - Enlarge glyph_name buffer - - Lohit Devanagari has a glyph named: - u0924_u094D.half_u0930_u094D.blwf.vatu - - util/options.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 25326c2359b0a3e25222b94acd142bc36eff78a4 -Author: Behdad Esfahbod -Date: Sat Aug 4 16:43:18 2012 -0700 - - Rewrite ARRAY_LENGTH as a template function - - Such it wouldn't apply to pointers accidentally. - - src/hb-ot-shape-complex-arabic-table.hh | 4 ++-- - src/hb-private.hh | 9 ++++++--- - 2 files changed, 8 insertions(+), 5 deletions(-) - -commit 8ba8042821e4581fe4e87419e58c823520441205 -Author: Behdad Esfahbod -Date: Fri Aug 3 18:54:54 2012 -0700 - - [Indic] Fix consonant position font lookup logic - - Oops. I broken this badly and the test suite did not notice. That - worries me. Have to investigate. - - src/hb-ot-shape-complex-indic.cc | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit abd0c05f1f7f0546593bb2f1c4d59db12cb32e46 -Author: Behdad Esfahbod -Date: Fri Aug 3 18:45:05 2012 -0700 - - Minor - - src/test-would-substitute.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 46ee108ef80f5d4675899862698a8c34d8fcfab5 -Author: Behdad Esfahbod -Date: Fri Aug 3 18:21:13 2012 -0700 - - Fix leak - - src/hb-shape-plan.cc | 2 ++ - 1 file changed, 2 insertions(+) - -commit 71baea0062da4d7f143d62da38492a0813814e49 -Author: Behdad Esfahbod -Date: Fri Aug 3 17:40:07 2012 -0700 - - [OT] Use general-category, not GDEF class, to decide to zero mark advances - - At this point, the GDEF glyph synthesis looks pointless. Not that I - have many fonts without GDEF lying around. - - As for mark advance zeroing when GPOS not available, that also is being - replaced by proper fallback mark positioning soon. - - src/hb-ot-shape.cc | 7 ++----- - 1 file changed, 2 insertions(+), 5 deletions(-) - -commit 3a7e137a68ec8f723dc3afa89c918ca2df7ff6bf -Author: Behdad Esfahbod -Date: Fri Aug 3 17:23:40 2012 -0700 - - Dn't use gint - - src/hb-glib.cc | 4 ++-- - src/hb-icu.cc | 2 +- - 2 files changed, 3 insertions(+), 3 deletions(-) - -commit 11b0e20ba42bf0b17133c3e1087732802bb4f230 -Author: Behdad Esfahbod -Date: Thu Aug 2 14:21:40 2012 -0400 - - [Indic] Add per-script configuration tables - - This concludes the Indic shape_plan work. May do for Arabic also... - - src/hb-ot-shape-complex-indic-private.hh | 16 +- - src/hb-ot-shape-complex-indic.cc | 309 +++++++++++++++---------------- - 2 files changed, 159 insertions(+), 166 deletions(-) - -commit 85fc6c483f6d734febbe39270e84701a651f01f1 -Author: Behdad Esfahbod -Date: Thu Aug 2 12:21:44 2012 -0400 - - [Indic] Move more stuff to the shape_plan - - Almost done. Need to add per-script static tables. - - src/hb-ot-shape-complex-indic-machine.rl | 4 +- - src/hb-ot-shape-complex-indic.cc | 216 ++++++++++++++++--------------- - 2 files changed, 116 insertions(+), 104 deletions(-) - -commit 914ffaa40fcca020f65bacdd709421e9047afd83 -Author: Behdad Esfahbod -Date: Thu Aug 2 11:03:39 2012 -0400 - - [Indic] Move more repeated work into shape_plan - - src/hb-ot-shape-complex-indic.cc | 63 ++++++++++++++++++++++++++-------------- - 1 file changed, 42 insertions(+), 21 deletions(-) - -commit a8c6da90f4c6e8d27a3a1b758a55476776d9f750 -Author: Behdad Esfahbod -Date: Thu Aug 2 10:46:34 2012 -0400 - - [OT] Add per-complex-shaper shape_plan data - - Hookup some Indic data to it. More to come. - - src/hb-ot-shape-complex-arabic.cc | 2 + - src/hb-ot-shape-complex-indic.cc | 128 ++++++++++++++++++++++--------------- - src/hb-ot-shape-complex-misc.cc | 4 ++ - src/hb-ot-shape-complex-private.hh | 16 ++++- - src/hb-ot-shape-private.hh | 1 + - src/hb-ot-shape.cc | 23 +++++-- - 6 files changed, 113 insertions(+), 61 deletions(-) - -commit 8bb5deba9630d35878eb6edb4643ecfabf99f15f -Author: Behdad Esfahbod -Date: Thu Aug 2 10:07:58 2012 -0400 - - [OT] Pipe shape_plan down to pause_callbacks - - src/hb-ot-map-private.hh | 8 ++--- - src/hb-ot-map.cc | 11 ++++--- - src/hb-ot-shape-complex-indic-machine.rl | 4 +-- - src/hb-ot-shape-complex-indic.cc | 50 +++++++++++++++----------------- - src/hb-ot-shape-private.hh | 6 ++++ - src/hb-ot-shape.cc | 28 ++++++++++-------- - 6 files changed, 57 insertions(+), 50 deletions(-) - -commit 3e38c0f2886c38d2f0a9d80a97a36edf2479d2c7 -Author: Behdad Esfahbod -Date: Thu Aug 2 09:44:18 2012 -0400 - - More massaging - - src/hb-ot-map-private.hh | 20 ++++++++------------ - src/hb-ot-map.cc | 17 ++++++++--------- - src/hb-ot-shape-complex-arabic.cc | 8 ++++---- - src/hb-ot-shape-complex-indic.cc | 18 +++++++----------- - 4 files changed, 27 insertions(+), 36 deletions(-) - -commit 16c6a27b4bffc19026944c7bea9cf0a3a8ff1d8f -Author: Behdad Esfahbod -Date: Thu Aug 2 09:38:28 2012 -0400 - - [OT] Port complex_shaper to planner/plan - - src/hb-ot-shape-complex-arabic.cc | 17 ++++++++--------- - src/hb-ot-shape-complex-indic.cc | 19 ++++++++----------- - src/hb-ot-shape-complex-misc.cc | 20 ++++++++------------ - src/hb-ot-shape-complex-private.hh | 32 +++++++++++--------------------- - src/hb-ot-shape-private.hh | 14 +++++++++++--- - src/hb-ot-shape.cc | 9 +++++---- - 6 files changed, 51 insertions(+), 60 deletions(-) - -commit 5393e3a62ba09fd7bcf3767b36225c8f49badb9d -Author: Behdad Esfahbod -Date: Thu Aug 2 09:24:35 2012 -0400 - - [OT] Minor refactoring - - src/hb-ot-map.cc | 4 ---- - src/hb-ot-shape-private.hh | 26 ++++++++++++++++++++++++++ - src/hb-ot-shape.cc | 26 ++------------------------ - src/hb-shape-plan.cc | 2 ++ - src/hb-shape.cc | 2 -- - 5 files changed, 30 insertions(+), 30 deletions(-) - -commit 24eacf17c801c66a2d466e8ae02b73f501a26b25 -Author: Behdad Esfahbod -Date: Thu Aug 2 08:42:11 2012 -0400 - - [Indic] Move consonant-position-setting into initial_reordering() - - src/hb-ot-shape-complex-indic.cc | 65 +++++++++++++++++++++------------------- - 1 file changed, 35 insertions(+), 30 deletions(-) - -commit afbcc24be01a64bdb5c05c63880269145fa1d3c8 -Author: Behdad Esfahbod -Date: Thu Aug 2 08:36:40 2012 -0400 - - [GSUB] Wire the font, not just the face, down to substitute() - - We need the font for glyph lookup during GSUB pauses in Indic shaper. - Could perhaps be avoided, but at this point, we don't mean to support - separate substitute()/position() entry points (anymore), so there is - no point in not providing the font to GSUB. - - src/hb-ot-layout-gsub-table.hh | 13 +++++-------- - src/hb-ot-layout-gsubgpos-private.hh | 7 ++----- - src/hb-ot-layout-private.hh | 6 +++--- - src/hb-ot-layout.cc | 18 +++++++++--------- - src/hb-ot-map-private.hh | 15 ++++++--------- - src/hb-ot-map.cc | 8 ++++---- - src/hb-ot-shape-complex-indic.cc | 8 ++++---- - src/hb-ot-shape.cc | 6 +++--- - 8 files changed, 36 insertions(+), 45 deletions(-) - -commit b0e6a26a10ccca70ebc88a9e158a89ccfab0add5 -Author: Behdad Esfahbod -Date: Thu Aug 2 08:11:14 2012 -0400 - - [OT] Hide some API - - It was impossible to meaningfully use them from the outside these days. - - src/hb-ot-layout-private.hh | 40 ++++++++++++++++++++++++++++++++-------- - src/hb-ot-layout.cc | 20 -------------------- - src/hb-ot-layout.h | 34 ---------------------------------- - src/hb-ot-map.cc | 8 ++++---- - 4 files changed, 36 insertions(+), 66 deletions(-) - -commit 305246744ed178f116e01498b7f9d1af6950ca30 -Author: Behdad Esfahbod -Date: Thu Aug 2 08:08:04 2012 -0400 - - Minor - - src/hb-ot-layout-gsubgpos-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 8ef3d53255ae9fbb0e46c22909e50009d1e7eeb0 -Author: Behdad Esfahbod -Date: Thu Aug 2 07:53:18 2012 -0400 - - [Indic] More refactoring of consonant position peeking in the font - - To be moved to initial_reordering next... - - src/hb-ot-shape-complex-indic.cc | 59 ++++++++++++++++++++++++++++------------ - 1 file changed, 41 insertions(+), 18 deletions(-) - -commit 3eb6f81fd3f1e56679eec10d08f5e2303121753f -Author: Behdad Esfahbod -Date: Thu Aug 2 07:37:46 2012 -0400 - - [Indic] Refactor - - Move all the logic that needs to eventually move into the indic table - into hb-ot-shape-complex-indic-private.hh. - - src/hb-ot-shape-complex-indic-private.hh | 210 ++++++++++++++++++++++++++++ - src/hb-ot-shape-complex-indic.cc | 227 ++----------------------------- - 2 files changed, 218 insertions(+), 219 deletions(-) - -commit 3614ba242fc7d338761acdda365a134706035b6d -Author: Behdad Esfahbod -Date: Thu Aug 2 07:13:55 2012 -0400 - - [Indic] Rename - - src/hb-ot-shape-complex-indic.cc | 40 +++++++++++++++++++++------------------- - 1 file changed, 21 insertions(+), 19 deletions(-) - -commit 610e5e8f713bb2a68939b72cb2b801a7aaede4f9 -Author: Behdad Esfahbod -Date: Thu Aug 2 05:27:46 2012 -0400 - - [Indic] Streamline feature would_apply() - - Comes with some 10% speedup for Devanagari even! - - src/hb-ot-map-private.hh | 85 +++++++++++++++++++++++++--------------- - src/hb-ot-map.cc | 18 ++++----- - src/hb-ot-shape-complex-indic.cc | 85 +++++++++++++++++++++++----------------- - 3 files changed, 110 insertions(+), 78 deletions(-) - -commit 1d002048d5afcd45abbb09fdf0419f13b2e2265c -Author: Behdad Esfahbod -Date: Thu Aug 2 05:01:11 2012 -0400 - - [Indic] Minor - - src/hb-ot-shape-complex-indic-private.hh | 16 -------- - src/hb-ot-shape-complex-indic.cc | 64 +++++++++++++++++++++----------- - 2 files changed, 43 insertions(+), 37 deletions(-) - -commit 6f7611375521c6d285a9aa763f2ea5cb44cd0d39 -Author: Behdad Esfahbod -Date: Thu Aug 2 04:00:31 2012 -0400 - - [GSUB/GPOS] Check array size before accessing digests - - src/hb-ot-layout-private.hh | 3 +++ - src/hb-ot-layout.cc | 32 ++++++++++++++++---------------- - 2 files changed, 19 insertions(+), 16 deletions(-) - -commit 22148b8c4af3ed296d96e969cdd47bac97b32307 -Author: Behdad Esfahbod -Date: Thu Aug 2 03:51:51 2012 -0400 - - Use Coverage digests in would_apply - - src/hb-ot-layout-gsub-table.hh | 1 + - src/hb-ot-layout-gsubgpos-private.hh | 6 +++++- - src/hb-ot-layout.cc | 4 ++-- - 3 files changed, 8 insertions(+), 3 deletions(-) - -commit 6c459c8fef85bc44f45d7b58c28a34abfb2c33fc -Author: Behdad Esfahbod -Date: Thu Aug 2 03:45:53 2012 -0400 - - Minor - - src/hb-ot-layout-gpos-table.hh | 2 +- - src/hb-ot-layout-gsub-table.hh | 4 ++-- - src/hb-ot-layout-gsubgpos-private.hh | 4 ++-- - 3 files changed, 5 insertions(+), 5 deletions(-) - -commit e2b8d75fa6e847ecf5c040f4e1e16a565c5d8aaf -Author: Behdad Esfahbod -Date: Wed Aug 1 22:17:48 2012 -0400 - - Use wider set digests on 64-bit archs - - src/hb-set-private.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 0120ce9679aab3ac936aeb18f6709529eef000a4 -Author: Behdad Esfahbod -Date: Wed Aug 1 21:56:35 2012 -0400 - - [GSUB/GPOS] Remove unused get_coverage() methods - - src/hb-ot-layout-gpos-table.hh | 11 ----------- - src/hb-ot-layout-gsub-table.hh | 11 ----------- - 2 files changed, 22 deletions(-) - -commit 1336ecdf8e4e9879b96b26ecfbf5c9ba6c49e2b9 -Author: Behdad Esfahbod -Date: Wed Aug 1 21:46:36 2012 -0400 - - [GSUB/GPOS] Use Coverage digests as gatekeeper - - Gives me a good 10% speedup for the Devanagari test case. Less so - for less lookup-intensive tests. - - For the Devanagari test case, the false positive rate of the GSUB digest - is 4%. - - src/hb-ot-layout-gpos-table.hh | 30 +++++++++--------------------- - src/hb-ot-layout-gsub-table.hh | 35 ++++++++++++----------------------- - src/hb-ot-layout-gsubgpos-private.hh | 8 ++++++-- - src/hb-ot-layout-private.hh | 4 ++++ - src/hb-ot-layout.cc | 29 +++++++++++++++++++++++++---- - 5 files changed, 56 insertions(+), 50 deletions(-) - -commit a878c58a8fc1500986d713b2bcedfeb90a0087b0 -Author: Behdad Esfahbod -Date: Wed Aug 1 21:18:54 2012 -0400 - - [GSUB/GPOS] Add add_coverage() - - src/hb-ot-layout-gpos-table.hh | 18 ++++++++++++++++++ - src/hb-ot-layout-gsub-table.hh | 18 ++++++++++++++++++ - 2 files changed, 36 insertions(+) - -commit 60a3035ac5ec8227e4cc0e6708732bb139c9e0b8 -Author: Behdad Esfahbod -Date: Wed Aug 1 21:06:27 2012 -0400 - - Add hb_set_digest_t - - Implement two set digests, and one that combines the two. - - src/hb-set-private.hh | 95 +++++++++++++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 95 insertions(+) - -commit c8accf1dd2d92cc4f714393eb0ea46f69bb182a6 -Author: Behdad Esfahbod -Date: Wed Aug 1 21:05:57 2012 -0400 - - [OT] Templatize Coverage::add_coverage() - - src/hb-ot-layout-common-private.hh | 12 ++++++++---- - 1 file changed, 8 insertions(+), 4 deletions(-) - -commit 8fbfda920e0b3bb4ab7afb732826026964b79be9 -Author: Behdad Esfahbod -Date: Wed Aug 1 19:03:46 2012 -0400 - - Inline font getters - - src/hb-fallback-shape.cc | 21 ++-- - src/hb-font-private.hh | 204 ++++++++++++++++++++++++++++++++++++++ - src/hb-font.cc | 129 ++++-------------------- - src/hb-graphite2.cc | 6 +- - src/hb-old.cc | 10 +- - src/hb-ot-layout-gdef-table.hh | 2 +- - src/hb-ot-layout-gpos-table.hh | 2 +- - src/hb-ot-shape-complex-arabic.cc | 4 +- - src/hb-ot-shape-complex-indic.cc | 6 +- - src/hb-ot-shape-normalize.cc | 12 +-- - src/hb-ot-shape.cc | 47 +++++---- - 11 files changed, 277 insertions(+), 166 deletions(-) - -commit 6adf417bc15d4524e280b284e3accd1ae647662e -Author: Behdad Esfahbod -Date: Wed Aug 1 18:07:42 2012 -0400 - - Use a lookup table for modified_combining_class - - src/hb-unicode-private.hh | 10 ++- - src/hb-unicode.cc | 213 +++++++++++++++++++++++++++++++--------------- - src/hb-unicode.h | 4 + - 3 files changed, 157 insertions(+), 70 deletions(-) - -commit 208f70f0553d73d2908b21b9552298029482a8b9 -Author: Behdad Esfahbod -Date: Wed Aug 1 17:13:10 2012 -0400 - - Inline Unicode callbacks internally - - src/hb-buffer.cc | 2 +- - src/hb-fallback-shape.cc | 2 +- - src/hb-old.cc | 2 +- - src/hb-ot-shape-complex-misc.cc | 2 +- - src/hb-ot-shape-normalize.cc | 13 +++-- - src/hb-ot-shape-private.hh | 6 +-- - src/hb-ot-shape.cc | 4 +- - src/hb-unicode-private.hh | 112 ++++++++++++++++++++-------------------- - src/hb-unicode.cc | 5 +- - 9 files changed, 73 insertions(+), 75 deletions(-) - -commit 7470315a3e782aa6192bbe64f7a3944266fb1521 -Author: Behdad Esfahbod -Date: Wed Aug 1 17:01:59 2012 -0400 - - Move unicode accessors around - - src/hb-unicode-private.hh | 73 ++++++++++++++++++++++++++++++++++++++++++++++- - src/hb-unicode.cc | 65 ++++------------------------------------- - 2 files changed, 78 insertions(+), 60 deletions(-) - -commit 21fdcee00125b6e1c09f0bed3064d16ccd3a7a5d -Author: Behdad Esfahbod -Date: Wed Aug 1 16:23:44 2012 -0400 - - Add hb_unicode_combining_class_t - - src/hb-common.h | 38 +------------- - src/hb-glib.cc | 4 +- - src/hb-icu.cc | 4 +- - src/hb-unicode-private.hh | 2 +- - src/hb-unicode.cc | 11 ++-- - src/hb-unicode.h | 124 +++++++++++++++++++++++++++++++++++++++++++++- - 6 files changed, 134 insertions(+), 49 deletions(-) - -commit 84186a64004e5dcd2ce98b564d0e0a09aa5d68b2 -Author: Behdad Esfahbod -Date: Wed Aug 1 13:32:39 2012 -0400 - - Add commentary on the compatibility decomposition in the normalizer - - src/hb-ot-shape-normalize.cc | 18 +++++++++++++++--- - 1 file changed, 15 insertions(+), 3 deletions(-) - -commit 0834d952017a04c6f4599e574cb75ecf3ca27d3b -Author: Behdad Esfahbod -Date: Wed Aug 1 00:21:09 2012 -0400 - - [hb-old] Adjust mark positioning parameters - - Fallback mark positioning works now... With hb-ft and hb-view / - hb-shape at least. - - src/hb-old.cc | 10 +++++----- - src/hb-old/harfbuzz-shaper.cpp | 1 + - 2 files changed, 6 insertions(+), 5 deletions(-) - -commit 4ca743dfb8e09f9fa525061c7f1144d55f72effb -Author: Behdad Esfahbod -Date: Wed Aug 1 00:03:41 2012 -0400 - - [old] Implement fontMetrics - - src/hb-old.cc | 11 ++++++++++- - 1 file changed, 10 insertions(+), 1 deletion(-) - -commit 1e7d860613032e40a3f90e2caa2ee5ac44ab8c8c -Author: Behdad Esfahbod -Date: Tue Jul 31 23:41:06 2012 -0400 - - [GPOS] Adjust mark advance-width zeroing logic - - If there is no GPOS, zero mark advances. - - If there *is* GPOS and the shaper requests so, zero mark advances for - attached marks. - - Fixes regression with Tibetan, where the font has GPOS, and marks a - glyph as mark where it shouldn't get zero advance. - - src/hb-ot-layout-gpos-table.hh | 14 ++++++++------ - src/hb-ot-layout.cc | 4 ++-- - src/hb-ot-layout.h | 3 ++- - src/hb-ot-shape-complex-arabic.cc | 2 +- - src/hb-ot-shape-complex-indic.cc | 2 +- - src/hb-ot-shape-complex-misc.cc | 4 ++-- - src/hb-ot-shape-complex-private.hh | 2 +- - src/hb-ot-shape.cc | 6 ++---- - 8 files changed, 19 insertions(+), 18 deletions(-) - -commit a8842e4a448efb30f3f2f3c628d6dc4824829726 -Author: Behdad Esfahbod -Date: Tue Jul 31 23:10:11 2012 -0400 - - Remove some TODO items - - TODO | 27 --------------------------- - src/hb-shape.cc | 2 ++ - 2 files changed, 2 insertions(+), 27 deletions(-) - -commit 2bc3b9a616cedbc56ff4a915f9e3439ff3a6bf13 -Author: Behdad Esfahbod -Date: Tue Jul 31 23:08:25 2012 -0400 - - [OT] Zero mark advances if the shaper desires so - - Enabled for all shapers except for Indic. - - src/hb-ot-shape-complex-arabic.cc | 1 + - src/hb-ot-shape-complex-indic.cc | 1 + - src/hb-ot-shape-complex-misc.cc | 2 ++ - src/hb-ot-shape-complex-private.hh | 2 ++ - src/hb-ot-shape.cc | 15 +++++++++++++++ - 5 files changed, 21 insertions(+) - -commit 5fecd8b0355894ceda14b3d3c654f20c3d5e77f4 -Author: Behdad Esfahbod -Date: Tue Jul 31 22:48:38 2012 -0400 - - [OT] Synthesize glyph classes - - TODO | 2 -- - src/hb-ot-shape.cc | 20 ++++++++++++++++++-- - 2 files changed, 18 insertions(+), 4 deletions(-) - -commit 03b09214c073ce37eeb8af5218942c85b2d393df -Author: Behdad Esfahbod -Date: Tue Jul 31 22:43:58 2012 -0400 - - [GSUB] Minor - - src/hb-ot-layout-gsub-table.hh | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -commit f0fc1df8fc949739b68d55948741016081b69c3a -Author: Behdad Esfahbod -Date: Tue Jul 31 22:43:32 2012 -0400 - - [hb-old] Implement getGlyphMetrics() - - Still working on it. - - src/hb-old.cc | 13 ++++++++++++- - 1 file changed, 12 insertions(+), 1 deletion(-) - -commit 378d279bbf692195c4654e312dae854ab3be04cf -Author: Behdad Esfahbod -Date: Tue Jul 31 21:36:16 2012 -0400 - - Implement Unicode compatibility decompositions - - Based on patch from Philip Withnall. - https://bugs.freedesktop.org/show_bug.cgi?id=41095 - - src/hb-glib.cc | 30 +++++++++++++++++++++++++ - src/hb-icu.cc | 36 +++++++++++++++++++++++++++++- - src/hb-ot-shape-normalize.cc | 53 +++++++++++++++++++++++++++++--------------- - src/hb-unicode-private.hh | 1 + - src/hb-unicode.cc | 27 +++++++++++++++++++++- - src/hb-unicode.h | 37 ++++++++++++++++++++++++++++++- - test/api/hb-test.h | 1 + - test/api/test-unicode.c | 50 +++++++++++++++++++++++++++++++++++++++++ - 8 files changed, 214 insertions(+), 21 deletions(-) - -commit 321ec29cc270e7e66a529696b70b2caac553c95f -Author: Behdad Esfahbod -Date: Tue Jul 31 21:10:16 2012 -0400 - - Remove unused function - - src/hb-ot-shape-complex-indic.cc | 7 ------- - 1 file changed, 7 deletions(-) - -commit 69cc492dc120847ed00cae65ec958593ebf550c5 -Author: Behdad Esfahbod -Date: Tue Jul 31 14:51:36 2012 -0400 - - [buffer] Minor - - src/hb-buffer-private.hh | 3 ++- - src/hb-buffer.cc | 24 ++++++++++++------------ - 2 files changed, 14 insertions(+), 13 deletions(-) - -commit 693918ef8541014a5ef7dfb91c6ea0ae36d9c368 -Author: Behdad Esfahbod -Date: Mon Jul 30 21:08:51 2012 -0400 - - [OT] Streamline complex shaper enumeration - - Add a shaper class struct. - - src/hb-ot-shape-complex-arabic.cc | 37 ++++---- - src/hb-ot-shape-complex-indic.cc | 47 ++++++--- - src/hb-ot-shape-complex-misc.cc | 67 ++++++------- - src/hb-ot-shape-complex-private.hh | 179 ++++++++++------------------------- - src/hb-ot-shape-normalize-private.hh | 4 +- - src/hb-ot-shape-private.hh | 2 +- - src/hb-ot-shape.cc | 16 ++-- - 7 files changed, 143 insertions(+), 209 deletions(-) - -commit c2e42c3db691515f3a458eb4c71fe1e6439d5620 -Author: Behdad Esfahbod -Date: Mon Jul 30 19:54:50 2012 -0400 - - Minor - - src/hb-ot-layout-gpos-table.hh | 2 +- - src/hb-ot-layout-gsub-table.hh | 4 ++-- - src/hb-ot-layout-gsubgpos-private.hh | 8 ++++---- - src/hb-ot-layout-private.hh | 4 ++-- - 4 files changed, 9 insertions(+), 9 deletions(-) - -commit 03f67bc012f42131b36083a23efc78e1b04b828c -Author: Behdad Esfahbod -Date: Mon Jul 30 19:47:53 2012 -0400 - - More refactoring glyph class access - - src/hb-ot-layout-gpos-table.hh | 2 +- - src/hb-ot-layout-gsub-table.hh | 2 +- - src/hb-ot-layout-gsubgpos-private.hh | 154 +++++++++++++++++------------------ - 3 files changed, 76 insertions(+), 82 deletions(-) - -commit 300c7307eb7943ba7416b672345506be1e27c6ba -Author: Behdad Esfahbod -Date: Mon Jul 30 19:37:44 2012 -0400 - - [OT] Don't crash if no GDEF available - - src/hb-ot-layout-gsubgpos-private.hh | 8 +++++--- - 1 file changed, 5 insertions(+), 3 deletions(-) - -commit 3dcbdc2125c04c173f29f04922fc031929893f4e -Author: Behdad Esfahbod -Date: Mon Jul 30 19:31:17 2012 -0400 - - Minor - - src/hb-ot-layout.cc | 15 +++++---------- - 1 file changed, 5 insertions(+), 10 deletions(-) - -commit 05bd1b63426e07d1df7a1b40bf845dc94ab995a8 -Author: Behdad Esfahbod -Date: Mon Jul 30 19:30:01 2012 -0400 - - [GSUB/GPOS] Move glyph props matching around - - src/hb-ot-layout-gpos-table.hh | 11 ++-- - src/hb-ot-layout-gsub-table.hh | 18 +++--- - src/hb-ot-layout-gsubgpos-private.hh | 99 +++++++++++++++++++++++++++++---- - src/hb-ot-layout-private.hh | 12 ---- - src/hb-ot-layout.cc | 104 +++-------------------------------- - src/hb-ot-layout.h | 12 ++-- - src/hb-ot-shape.cc | 10 ++-- - 7 files changed, 127 insertions(+), 139 deletions(-) - -commit 2fca1426ca06cabbe8f027f2dc9dee9c27560c76 -Author: Behdad Esfahbod -Date: Mon Jul 30 18:46:41 2012 -0400 - - [GSUB] Don't erase glyph classes if GDEF does not have glyph classes - - src/hb-ot-layout-gsubgpos-private.hh | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -commit fd42257f8c45ff8e036e1c3eb1a788a101be7ead -Author: Behdad Esfahbod -Date: Mon Jul 30 18:40:27 2012 -0400 - - Minor - - src/hb-ot-layout.cc | 29 +++++------------------------ - 1 file changed, 5 insertions(+), 24 deletions(-) - -commit 7fbbf86efe675e4c038dfc5985c24bbc544620cd -Author: Behdad Esfahbod -Date: Mon Jul 30 18:36:42 2012 -0400 - - [GSUB] Minor - - src/hb-ot-layout-gsub-table.hh | 2 +- - src/hb-ot-layout-gsubgpos-private.hh | 6 ++++++ - 2 files changed, 7 insertions(+), 1 deletion(-) - -commit 713914d3203109a8e9213f5a1d3b384730703ce9 -Author: Behdad Esfahbod -Date: Mon Jul 30 17:54:38 2012 -0400 - - [Uniscribe] Clean up a bit - - src/hb-uniscribe.cc | 17 +++++------------ - 1 file changed, 5 insertions(+), 12 deletions(-) - -commit 301168dae77a63ee25adfb26ce2b54a708f83791 -Author: Behdad Esfahbod -Date: Mon Jul 30 17:48:04 2012 -0400 - - [CoreText] Port to shape_plan infrastructure - - src/hb-coretext.cc | 161 ++++++++++++++++++++++++++--------------------------- - 1 file changed, 80 insertions(+), 81 deletions(-) - -commit 6cdfd14bb19d60ac3d6b20ff611408432254f273 -Author: Behdad Esfahbod -Date: Mon Jul 30 17:22:17 2012 -0400 - - Fix build on Mac - - src/hb-ot-layout-gsub-table.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 7e34601dededd521bcef15111e39293df3d0d13d -Author: Behdad Esfahbod -Date: Mon Jul 30 14:53:41 2012 -0400 - - Unbreak Hangul jamo composition - - When we removed the separate Hangul shaper, the specific normalization - preference of Hangul was lost. Fix that. Also, the Thai shaper was - copied from Hangul, so had the fully-composed normalization behavior, - which was unnecessary. So, fix that too. - - src/hb-ot-shape-complex-arabic.cc | 2 +- - src/hb-ot-shape-complex-indic.cc | 4 +--- - src/hb-ot-shape-complex-misc.cc | 12 +++++++++--- - src/hb-ot-shape-complex-private.hh | 9 ++++----- - src/hb-ot-shape.cc | 4 +++- - 5 files changed, 18 insertions(+), 13 deletions(-) - -commit 7afb14407e59dfeaa79c33aca1ffa60e7982e349 -Author: Behdad Esfahbod -Date: Mon Jul 30 13:54:46 2012 -0400 - - [Indic] Recategorize Telugu length marks - - Fixes 8 more Telugu tests. Failures at 15 (0.00154548%). - - src/hb-unicode.cc | 8 ++++++++ - src/indic.cc | 11 ++++++++--- - 2 files changed, 16 insertions(+), 3 deletions(-) - -commit 70b3dc327232b20051b36397aa2b196ab8c62397 -Author: Behdad Esfahbod -Date: Mon Jul 30 12:40:18 2012 -0400 - - Add Hebrew test - - .../texts/in-tree/shaper-default/script-hebrew/misc/diacritics.txt | 1 + - 1 file changed, 1 insertion(+) - -commit f2377155e35c15919af4d7db21b6edc6783146b6 -Author: Behdad Esfahbod -Date: Mon Jul 30 10:50:57 2012 -0400 - - [hb-old] Fix misc leaks - - Backport (forward-port?!) from upstream: - - commit 3ab7b37bdebf0f8773493a1fee910b151c4de30f - Author: Behdad Esfahbod - Date: Mon Jul 30 10:50:22 2012 -0400 - - Fix misc leaks - - https://bugs.freedesktop.org/show_bug.cgi?id=31992 - https://bugs.freedesktop.org/show_bug.cgi?id=31993 - https://bugs.freedesktop.org/show_bug.cgi?id=31994 - https://bugs.freedesktop.org/show_bug.cgi?id=31995 - - src/hb-old/harfbuzz-arabic.c | 12 +++++++++--- - src/hb-old/harfbuzz-gpos.c | 6 +++--- - src/hb-old/harfbuzz-gsub.c | 6 +++--- - src/hb-old/harfbuzz-tibetan.c | 1 + - 4 files changed, 16 insertions(+), 9 deletions(-) - -commit 3f4764bb56bb7e42ba8859f1905810bd2f998838 -Author: Behdad Esfahbod -Date: Mon Jul 30 10:06:42 2012 -0400 - - Don't lock user_data set during destruction if empty - - src/hb-private.hh | 5 +++++ - 1 file changed, 5 insertions(+) - -commit 4ba647eecf0f70917ac4229af1f2dd3c62fcb7d5 -Author: Behdad Esfahbod -Date: Mon Jul 30 09:53:06 2012 -0400 - - Fix leak - - src/hb-ot-shape.cc | 2 ++ - 1 file changed, 2 insertions(+) - -commit f860366456d9e59b139a940da6d89c3c4fb9e96e -Author: Behdad Esfahbod -Date: Mon Jul 30 02:38:39 2012 -0400 - - [OT] Gain back some lost speed - - src/hb-ot-layout-private.hh | 27 +++++++++++++++- - src/hb-ot-layout.cc | 63 ++++++++++++++++++++++++++++++++++---- - src/hb-ot-map-private.hh | 26 +++------------- - src/hb-ot-map.cc | 35 +++++++++++++++------ - src/hb-ot-shape-complex-indic.cc | 2 +- - src/hb-ot-shape-complex-private.hh | 5 --- - 6 files changed, 114 insertions(+), 44 deletions(-) - -commit 11f4c87d01924cac43bf40044f67838440e19e42 -Author: Behdad Esfahbod -Date: Mon Jul 30 02:36:46 2012 -0400 - - [OT] Remove hb_ot_layout_ensure() - - I didn't like it from the beginning. - - src/hb-ot-layout.cc | 9 +++++---- - src/hb-ot-layout.h | 5 ----- - 2 files changed, 5 insertions(+), 9 deletions(-) - -commit 578e42182b9b9cf15b4c5426fae36e224160cbd7 -Author: Behdad Esfahbod -Date: Mon Jul 30 02:35:07 2012 -0400 - - Minor - - src/hb-ot-layout-private.hh | 2 -- - src/hb-ot-layout.cc | 1 - - 2 files changed, 3 deletions(-) - -commit a973b5ce86051e8ef0d20df362db1a50488842ab -Author: Behdad Esfahbod -Date: Mon Jul 30 01:46:34 2012 -0400 - - [GSUB] Further adjustments to mark-attachment vs ligation interaction - - The d1d69ec52e75a78575b620a1c456d528b6078170 change broke Kannada badly, - since it was ligating consonants, pushing matra out, and then ligating - with the matra. Adjust for that. See comments. - - src/hb-ot-layout-gsub-table.hh | 11 ++++++++--- - .../in-tree/shaper-indic/indic/script-kannada/misc/misc.txt | 1 + - 2 files changed, 9 insertions(+), 3 deletions(-) - -commit 0aef425e25e2c58445157057f17ef18f695c5240 -Author: Behdad Esfahbod -Date: Mon Jul 30 00:55:15 2012 -0400 - - [GSUB] Minor - - src/hb-ot-layout-gpos-table.hh | 15 ++++++--------- - 1 file changed, 6 insertions(+), 9 deletions(-) - -commit d1d69ec52e75a78575b620a1c456d528b6078170 -Author: Behdad Esfahbod -Date: Mon Jul 30 00:51:47 2012 -0400 - - [GSUB] Don't ligate glyphs attached to different components of ligatures - - This concludes the mark-attachment vs ligating interaction fixes (for now). - - src/hb-ot-layout-gsub-table.hh | 24 ++++++++++++++++++++++++ - 1 file changed, 24 insertions(+) - -commit 4751dec8be05883483fd5f6b474ebd22583ae566 -Author: Behdad Esfahbod -Date: Mon Jul 30 00:42:07 2012 -0400 - - Minor - - src/hb-ot-layout-private.hh | 20 ++++++++++---------- - 1 file changed, 10 insertions(+), 10 deletions(-) - -commit f24bcfbed1f3b4f4f6311246bd870f73ad6ba750 -Author: Behdad Esfahbod -Date: Mon Jul 30 00:39:00 2012 -0400 - - Minor - - src/hb-ot-layout-gsub-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit fe20c0f84f5ff518dc471bf22ac5a83ef079eb69 -Author: Behdad Esfahbod -Date: Mon Jul 30 00:00:59 2012 -0400 - - [GSUB] Fix mark component stuff when ligatures form ligatures! - - See comments. - - Fixes https://bugzilla.gnome.org/show_bug.cgi?id=437633 - - src/hb-ot-layout-gsub-table.hh | 117 +++++++++++++++++++++++------------ - src/hb-ot-layout-gsubgpos-private.hh | 8 --- - src/hb-ot-layout-private.hh | 8 +-- - 3 files changed, 79 insertions(+), 54 deletions(-) - -commit 2ec3ba46a3c24469096e901750e38f6ee555479a -Author: Behdad Esfahbod -Date: Sun Jul 29 22:02:24 2012 -0400 - - [GSUB/GPOS] Minor - - Start squeezing more out of lig_id/lig_comp. - - src/hb-ot-layout-gsub-table.hh | 6 +++--- - src/hb-ot-layout-private.hh | 35 +++++++++++++++++++++++++++++++---- - 2 files changed, 34 insertions(+), 7 deletions(-) - -commit ef6e9cec3399e4f63f4b662abd77cf6d4683e8a3 -Author: Behdad Esfahbod -Date: Sun Jul 29 21:35:22 2012 -0400 - - Fixup bb0e4ba3e9c5a407fc5d73c914e429d24d336380 - - src/hb-shape-plan.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit cb3d34063154bf164c61eeba41c6166b0bd304fb -Author: Behdad Esfahbod -Date: Sun Jul 29 20:37:38 2012 -0400 - - [GSUB] Don't set new lig_id on mark ligatures - - If two marks form a ligature, retain their previous lig_id, such that - the mark ligature can attach to ligature components... - - Fixes https://bugzilla.gnome.org/show_bug.cgi?id=676343 - - In fact, I noticed that we should not let ligatures form between glyphs - coming from different components of a previous ligature. For example, - if the sequence is: LAM,SHADDA,LAM,FATHA,HEH, the LAM,LAM,HEH form a - ligature, putting SHADDA and FATHA next to eachother. However, it would - be wrong to ligate them. Uniscribe has this bug also. - - src/hb-ot-layout-gsub-table.hh | 18 ++++++++++++++---- - 1 file changed, 14 insertions(+), 4 deletions(-) - -commit 97a201becf936f62046914b568e5763e27ee936e -Author: Behdad Esfahbod -Date: Sun Jul 29 20:31:36 2012 -0400 - - Add Arabic tests for mark ligature component attachments - - .../script-arabic/misc/diacritics/MANIFEST | 1 + - .../misc/diacritics/ligature-components.txt | 18 ++++++++++++++++++ - 2 files changed, 19 insertions(+) - -commit a15b70a81a609f024083cb04f9819483f4d5cab7 -Author: Behdad Esfahbod -Date: Sun Jul 29 20:09:22 2012 -0400 - - [hb-old] Fix cluster formation in RTL - - Unlike Uniscribe, hb-old returns glyphs in logical order, so the logic - does not need to duplicated for RTL. - - src/hb-old.cc | 12 +++--------- - 1 file changed, 3 insertions(+), 9 deletions(-) - -commit 8a7e70ef65952fc16b8c1d5f1126c94d9d81e755 -Author: Behdad Esfahbod -Date: Sun Jul 29 19:56:54 2012 -0400 - - [Minor] - - src/test.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit bb0e4ba3e9c5a407fc5d73c914e429d24d336380 -Author: Behdad Esfahbod -Date: Sun Jul 29 17:34:14 2012 -0400 - - Minor - - src/hb-shape-plan.cc | 2 +- - src/test-would-substitute.cc | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit a00ad60bc0fe74bf0e11d73da563239f3392f351 -Author: Behdad Esfahbod -Date: Sat Jul 28 21:16:08 2012 -0400 - - [Uniscribe] Remove hb_uniscribe_font_ensure() - - Wasn't a huge fan of putting the burden on the user. Just remove it and - do what we've got to do transparently. - - src/hb-uniscribe.cc | 6 +++++- - src/hb-uniscribe.h | 4 ---- - 2 files changed, 5 insertions(+), 5 deletions(-) - -commit 5d874d566fe5d2cc4cfaf02c79b663d8a626ca1e -Author: Behdad Esfahbod -Date: Sat Jul 28 21:05:25 2012 -0400 - - [GPOS] Fix mark-to-mark positioning when one of the marks is a ligature - - This commit: a3313e54008167e415b72c780ca7b9cda958d07e broke MarkMarkPos - when one of the marks itself is a ligature. That regressed 26 Tibetan - tests (up from zero!). Fix that. Tibetan back to zero. - - src/hb-ot-layout-gpos-table.hh | 27 ++++++++++++++++------ - src/hb-ot-layout-private.hh | 5 ++-- - test/shaping/texts/in-tree/shaper-indic/MANIFEST | 1 + - .../indic/script-sinhala/misc/MANIFEST | 1 + - .../in-tree/shaper-indic/south-asian/MANIFEST | 1 + - .../south-asian/script-tibetan/MANIFEST | 1 + - .../south-asian/script-tibetan/misc/MANIFEST | 1 + - .../south-asian/script-tibetan/misc/misc.txt | 1 + - 8 files changed, 29 insertions(+), 9 deletions(-) - -commit 338fe662b50f9309bf0050dd99becb644874195b -Author: Behdad Esfahbod -Date: Sat Jul 28 18:53:01 2012 -0400 - - [GSUB] Minor - - src/hb-ot-layout-gsub-table.hh | 33 ++++++++++++++++----------------- - 1 file changed, 16 insertions(+), 17 deletions(-) - -commit e6f7479fe34fb4a7cada61d84c2ed70d1fd565c8 -Author: Behdad Esfahbod -Date: Sat Jul 28 18:34:58 2012 -0400 - - [GSUB] Simplify would-apply - - src/hb-ot-layout-gsub-table.hh | 71 +++--------------------------------- - src/hb-ot-layout-gsubgpos-private.hh | 24 +++--------- - 2 files changed, 11 insertions(+), 84 deletions(-) - -commit dadede012e4841f9fcb70d514fdc752f3ea4663d -Author: Behdad Esfahbod -Date: Sat Jul 28 18:03:20 2012 -0400 - - Minor - - src/hb-ot-layout-common-private.hh | 7 +++---- - src/hb-ot-layout-gpos-table.hh | 2 +- - src/hb-ot-layout-gsub-table.hh | 2 +- - 3 files changed, 5 insertions(+), 6 deletions(-) - -commit 0b99429ead05ae32b3c210cb499af401b02770a9 -Author: Behdad Esfahbod -Date: Sat Jul 28 17:31:01 2012 -0400 - - [GSUB/GPOS] Add get_coverage() and use it to speed up main loop - - And use it to speed up the hotspot by checking coverage directly in - the main loop, not 10 functions deep in. - - Gives me a solid 20% boost with Indic test suite. Less so for less - lookup-intensive scenarios. - - Remove the "fast_path" hack from before. - - src/hb-ot-layout-gpos-table.hh | 179 ++++++++++++++++++++++++++++++----- - src/hb-ot-layout-gsub-table.hh | 166 ++++++++++++++++++++++++++------ - src/hb-ot-layout-gsubgpos-private.hh | 26 +++++ - 3 files changed, 321 insertions(+), 50 deletions(-) - -commit 30ec9002d84e8b49290e782e6192069821ffa942 -Author: Behdad Esfahbod -Date: Sat Jul 28 17:25:20 2012 -0400 - - Reject lookups with no subTable - - src/hb-ot-layout-common-private.hh | 1 + - 1 file changed, 1 insertion(+) - -commit 0981068b75710397f08e0d2d776a0a2ea68d7117 -Author: Behdad Esfahbod -Date: Sat Jul 28 17:01:59 2012 -0400 - - [GSUB/GPOS] Reject Context/ChainContext lookups with zero input - - src/hb-ot-layout-gsubgpos-private.hh | 2 ++ - 1 file changed, 2 insertions(+) - -commit 2f87cebe1062c7007021ebd05c1664e60da80825 -Author: Behdad Esfahbod -Date: Fri Jul 27 04:02:38 2012 -0400 - - Implement shape_plan caching - - Should give us some performance boost. - - TODO | 4 ++ - src/hb-buffer-private.hh | 30 ++++++++++++++ - src/hb-font-private.hh | 6 +++ - src/hb-font.cc | 15 ++++++- - src/hb-shape-plan.cc | 100 +++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-shape-plan.h | 7 ++++ - src/hb-shape.cc | 2 +- - 7 files changed, 162 insertions(+), 2 deletions(-) - -commit e9eb9503e97044222f843daacfa47e26e51312b7 -Author: Behdad Esfahbod -Date: Fri Jul 27 03:16:22 2012 -0400 - - Add default_shaper_list to shape_plan - - src/hb-shape-plan-private.hh | 1 + - src/hb-shape-plan.cc | 2 ++ - 2 files changed, 3 insertions(+) - -commit 3b7c4e270694ed962e2a2839e44f2a59c26b326c -Author: Behdad Esfahbod -Date: Fri Jul 27 03:12:23 2012 -0400 - - Don't fail choosing shaper on planning failure - - Shapers have a chance to reject a font in face shaper_data creation. - No need to allow failing during planning. - - src/hb-shape-plan.cc | 17 ++++++----------- - 1 file changed, 6 insertions(+), 11 deletions(-) - -commit cfe9882610489e1b917e09a74dfbf6bbba2e4a57 -Author: Behdad Esfahbod -Date: Fri Jul 27 03:06:30 2012 -0400 - - Add hb_ot_layout_ensure() and hb_uniscribe_font_ensure() - - src/hb-ot-layout.cc | 7 +++++++ - src/hb-ot-layout.h | 6 ++++++ - src/hb-shape-plan.cc | 22 ++-------------------- - src/hb-shaper-private.hh | 18 ++++++++++++++++++ - src/hb-uniscribe.cc | 11 +++++++++++ - src/hb-uniscribe.h | 4 ++++ - 6 files changed, 48 insertions(+), 20 deletions(-) - -commit c5b668fb9239c912d2448280a7176e331ebc9181 -Author: Behdad Esfahbod -Date: Fri Jul 27 02:49:39 2012 -0400 - - Choose one shaper per plan - - src/hb-shape-plan-private.hh | 2 +- - src/hb-shape-plan.cc | 19 +++++++++---------- - 2 files changed, 10 insertions(+), 11 deletions(-) - -commit e82061e8db922f0ddbefd5a184ee2f9f967b9a05 -Author: Behdad Esfahbod -Date: Fri Jul 27 02:29:32 2012 -0400 - - Move ot shaper completely to shape_plan - - src/hb-ot-shape-private.hh | 6 -- - src/hb-ot-shape.cc | 181 +++++++++++++++++++++------------------------ - src/hb-uniscribe.cc | 2 +- - 3 files changed, 84 insertions(+), 105 deletions(-) - -commit ea278d3895fe0c92801d692cd71d8d9f1de7c048 -Author: Behdad Esfahbod -Date: Fri Jul 27 02:12:28 2012 -0400 - - Partially switch ot shaper to shape_plan - - src/hb-buffer-private.hh | 1 + - src/hb-buffer.cc | 1 - - src/hb-font-private.hh | 2 -- - src/hb-font.cc | 22 ++++++++++++++-------- - src/hb-ot-layout-gpos-table.hh | 2 +- - src/hb-ot-layout-gsub-table.hh | 4 ++-- - src/hb-ot-layout-private.hh | 1 + - src/hb-ot-layout.cc | 9 ++++++--- - src/hb-ot-shape.cc | 3 ++- - src/hb-shape-plan.cc | 11 +++++++++++ - src/hb-shaper-private.hh | 3 ++- - 11 files changed, 40 insertions(+), 19 deletions(-) - -commit b6b7ba1313bf686e6ed567183466104c90504a67 -Author: Behdad Esfahbod -Date: Fri Jul 27 01:26:11 2012 -0400 - - Switch old and uniscribe backends to shape_plan - - src/hb-old.cc | 80 ++------------------------ - src/hb-shape.cc | 5 ++ - src/hb-shaper-impl-private.hh | 3 +- - src/hb-shaper-private.hh | 4 -- - src/hb-uniscribe.cc | 130 ++++++++++++------------------------------ - 5 files changed, 48 insertions(+), 174 deletions(-) - -commit c32c096a429da3e64896cf42ff5ab8c775d3c2ec -Author: Behdad Esfahbod -Date: Fri Jul 27 01:13:53 2012 -0400 - - Switch to shape_plan - - Not optimized yet. Eats babies. And no shaper uses the shape_plan. - - src/hb-shape-plan.cc | 37 +++++++++++++++++++++++++++++++++++-- - src/hb-shape-plan.h | 8 ++++++++ - src/hb-shape.cc | 27 ++++----------------------- - 3 files changed, 47 insertions(+), 25 deletions(-) - -commit 5b95c148cc485f79fd7018bc4520b4cb5f728a18 -Author: Behdad Esfahbod -Date: Thu Jul 26 23:46:53 2012 -0400 - - Start implementing shape_plan - - src/hb-fallback-shape.cc | 4 ++- - src/hb-font-private.hh | 4 +++ - src/hb-old.cc | 4 ++- - src/hb-ot-shape.cc | 4 ++- - src/hb-shape-plan-private.hh | 7 ++++ - src/hb-shape-plan.cc | 76 ++++++++++++++++++++++++++++++++++++++++++-- - src/hb-shape.cc | 4 +++ - src/hb-shaper-private.hh | 4 +-- - src/hb-uniscribe.cc | 4 ++- - 9 files changed, 103 insertions(+), 8 deletions(-) - -commit bd26b4d21f59312805d294f46f15182adbcc47da -Author: Behdad Esfahbod -Date: Thu Jul 26 22:05:39 2012 -0400 - - Minor - - src/Makefile.am | 1 + - src/hb-fallback-shape.cc | 3 +- - src/hb-old.cc | 3 +- - src/hb-ot-shape.cc | 3 +- - src/hb-shape-plan-private.hh | 2 +- - src/hb-shape-plan.cc | 2 + - src/hb-shape.cc | 98 ++++---------------------------------- - src/hb-shaper-private.hh | 16 ++++++- - src/hb-shaper.cc | 109 +++++++++++++++++++++++++++++++++++++++++++ - src/hb-uniscribe.cc | 3 +- - 10 files changed, 145 insertions(+), 95 deletions(-) - -commit 027857d0412477fb4427dcb8a8c45287c272e143 -Author: Behdad Esfahbod -Date: Thu Jul 26 17:34:25 2012 -0400 - - Start adding a unified shaper access infrastructure - - Add global shape_plan. Unused so far. - - src/Makefile.am | 15 +- - src/hb-coretext-private.hh | 42 ----- - src/hb-coretext.cc | 6 +- - src/hb-fallback-shape.cc | 62 ++++++- - src/hb-font-private.hh | 12 ++ - src/hb-font.cc | 15 +- - src/hb-old.cc | 109 +++++++++--- - src/hb-ot-shape-private.hh | 8 - - src/hb-ot-shape.cc | 60 ++++++- - ...aphite2-private.hh => hb-shape-plan-private.hh} | 28 +++- - src/hb-shape-plan.cc | 85 ++++++++++ - ...b-fallback-shape-private.hh => hb-shape-plan.h} | 39 +++-- - src/hb-shape.cc | 48 +----- - ...scribe-private.hh => hb-shaper-impl-private.hh} | 20 ++- - src/{hb-old-private.hh => hb-shaper-list.hh} | 30 ++-- - src/hb-shaper-private.hh | 81 +++++++++ - src/hb-uniscribe.cc | 186 +++++++++++++-------- - 17 files changed, 608 insertions(+), 238 deletions(-) - -commit fa2dfcd560444d8c54b6349ee106134d3536f79b -Author: Behdad Esfahbod -Date: Thu Jul 26 16:06:16 2012 -0400 - - Fix visibility warnings with MinGW32 - - src/hb-old/harfbuzz-global.h | 17 +++++++++++------ - src/hb-old/harfbuzz-impl.h | 6 +++++- - 2 files changed, 16 insertions(+), 7 deletions(-) - -commit ac2085d4b391b0a72473ecac3dd6c22efe66833f -Author: Jonathan Kew -Date: Thu Jul 26 15:58:45 2012 -0400 - - [CoreText] Ensure cluster indices in output buffer are non-decreasing. - - Does not provide Uniscribe-compatible results, but should at least avoid - breaking hb-view due to out-of-order cluster values. - - For RTL runs, ensure cluster values are non-increasing (instead of - non-decreasing). - - src/hb-coretext.cc | 37 +++++++++++++++++++++++++++++++++++++ - 1 file changed, 37 insertions(+) - -commit 441d3bb7de311d54b9f0a5210344f9a96e97e153 -Author: Behdad Esfahbod -Date: Thu Jul 26 12:01:12 2012 -0400 - - Minor - - src/hb-coretext.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 2e7f223054d310695bdb3498b2b2b5d17b6cce78 -Author: Behdad Esfahbod -Date: Wed Jul 25 19:30:15 2012 -0400 - - [hb-old] Fix Arabic cursive positioning - - Backporting from upstream: - - commit b847f24ce855d24f6822bcd9c0006905e81b94d8 - Author: Behdad Esfahbod - Date: Wed Jul 25 19:29:16 2012 -0400 - - [arabic] Fix Arabic cursive positioning - - This was clearly broken in testing. Who knows... Fixes for me. - Test with a Nastaleeq font, or with Arabic Typesetting. - - Backporting from Chromium. - - src/hb-old/harfbuzz-shaper.cpp | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 9550a8c4e8b4e28be60d38c27d59253846ff9569 -Author: Behdad Esfahbod -Date: Wed Jul 25 19:22:57 2012 -0400 - - [hb-old] Fixup not-enough-space handling - - src/hb-old.cc | 15 ++++++++------- - 1 file changed, 8 insertions(+), 7 deletions(-) - -commit 91e721ea8693205f4f738bca97a5055ee75cf463 -Author: Behdad Esfahbod -Date: Wed Jul 25 19:20:34 2012 -0400 - - [hb-old] Fix clusters - - Unlike its "documentation", hb-old's log_clusters are, well, indeed - logical, not visual. Fixup. Adapted / copied from hb-uniscribe. - - src/hb-old.cc | 51 ++++++++++++++++++++++++++++++++++---------- - src/hb-old/harfbuzz-shaper.h | 1 + - src/hb-uniscribe.cc | 5 +++-- - 3 files changed, 44 insertions(+), 13 deletions(-) - -commit a3313e54008167e415b72c780ca7b9cda958d07e -Author: Behdad Esfahbod -Date: Wed Jul 25 18:37:51 2012 -0400 - - [GPOS] Fix MarkMarkPos applied to results of MultipleSubst - - This was broken as a result of 7b84c536c10ab90ed96a033d88e9ad232d46c5b8. - As Khaled reported, MarkMark positioning was broken with glyphs - resulting from a MultipleSubst. Fixed. Test with the ALLAH character - in Amiri. - - src/hb-ot-layout-gpos-table.hh | 10 +++++----- - src/hb-ot-layout-private.hh | 23 +++++++++++++++++++++-- - 2 files changed, 26 insertions(+), 7 deletions(-) - -commit 35bdab3cf1f0836807160e3ce93766c321b32e8c -Author: Behdad Esfahbod -Date: Wed Jul 25 11:59:52 2012 -0400 - - Minor - - src/hb-unicode-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 8fe4c7405b922cf0f936a46a9baedf4885b05254 -Author: Behdad Esfahbod -Date: Tue Jul 24 21:05:12 2012 -0400 - - [hb-old] Add HarfBuzz.old shaper - - Choose using shaper name "old". - - configure.ac | 8 + - src/Makefile.am | 14 +- - src/hb-old-private.hh | 40 +++ - src/hb-old.cc | 369 ++++++++++++++++++++++++ - src/hb-old/.gitignore | 7 - - src/hb-old/Makefile.am | 2 + - src/hb-old/Makefile.in | 762 ------------------------------------------------- - src/hb-shape.cc | 8 +- - 8 files changed, 436 insertions(+), 774 deletions(-) - -commit 5e1987005eb1b9af7a4d3d9f90c5768d8cc80015 -Author: Behdad Esfahbod -Date: Tue Jul 24 19:53:55 2012 -0400 - - [hb-old] Define Unicode funcs in terms of new HarfBuzz - - src/hb-old/Makefile.am | 4 + - src/hb-old/Makefile.in | 182 ++++++++++++++++++++++++++++++++++++----- - src/hb-old/harfbuzz-external.h | 100 +++++++++++++--------- - 3 files changed, 224 insertions(+), 62 deletions(-) - -commit 4a31166b2853c1ec052844140e114158f47c2355 -Author: Behdad Esfahbod -Date: Tue Jul 24 19:49:48 2012 -0400 - - [hb-old] Shovel out the line-breaking / word-segmentation stuff - - src/hb-old/Makefile.am | 10 +- - src/hb-old/Makefile.in | 13 +- - src/hb-old/harfbuzz-external.h | 66 ------ - src/hb-old/harfbuzz-indic.cpp | 26 --- - src/hb-old/harfbuzz-khmer.c | 25 --- - src/hb-old/harfbuzz-myanmar.c | 28 --- - src/hb-old/harfbuzz-shaper-private.h | 12 -- - src/hb-old/harfbuzz-shaper.cpp | 403 +++-------------------------------- - src/hb-old/harfbuzz-shaper.h | 31 --- - src/hb-old/harfbuzz-thai.c | 111 ---------- - src/hb-old/harfbuzz-tibetan.c | 26 --- - src/hb-old/harfbuzz.c | 32 --- - 12 files changed, 33 insertions(+), 750 deletions(-) - -commit 0bcbe88cf313117f739b98a11dbe698b75784e9d -Author: Behdad Esfahbod -Date: Tue Jul 24 19:38:24 2012 -0400 - - [hb-old] Add visibility attributes - - src/hb-old/harfbuzz-global.h | 10 ++++++---- - src/hb-old/harfbuzz-impl.h | 2 +- - 2 files changed, 7 insertions(+), 5 deletions(-) - -commit 6a9d43c3178c920672a84382ca3797e3c478b2b0 -Author: Behdad Esfahbod -Date: Tue Jul 24 19:21:22 2012 -0400 - - [hb-old] Remove unused header file - - src/hb-old/harfbuzz-shape.h | 199 -------------------------------------------- - 1 file changed, 199 deletions(-) - -commit fb47209c5b3aa992faf18d1a3f78b9d7682cf62f -Author: Behdad Esfahbod -Date: Tue Jul 24 19:20:19 2012 -0400 - - [hb-old] Rename hb_buffer_* to HB_Buffer_* - - src/hb-old/harfbuzz-buffer.c | 22 +++++++++++----------- - src/hb-old/harfbuzz-buffer.h | 8 ++++---- - src/hb-old/harfbuzz-shaper.cpp | 8 ++++---- - 3 files changed, 19 insertions(+), 19 deletions(-) - -commit 1512a7357513b72e2a07dda706a176bb23d694e9 -Author: Behdad Esfahbod -Date: Tue Jul 24 19:16:56 2012 -0400 - - [hb-old] Start adding HarfBuzz-old as a new backend - - configure.ac | 1 + - src/Makefile.am | 5 + - src/hb-old/.gitignore | 7 + - src/hb-old/COPYING | 24 + - src/hb-old/Makefile.am | 56 + - src/hb-old/Makefile.in | 631 ++++ - src/hb-old/README | 7 + - src/hb-old/harfbuzz-arabic.c | 1144 +++++++ - src/hb-old/harfbuzz-buffer-private.h | 107 + - src/hb-old/harfbuzz-buffer.c | 383 +++ - src/hb-old/harfbuzz-buffer.h | 102 + - src/hb-old/harfbuzz-external.h | 151 + - src/hb-old/harfbuzz-gdef-private.h | 135 + - src/hb-old/harfbuzz-gdef.c | 1163 +++++++ - src/hb-old/harfbuzz-gdef.h | 140 + - src/hb-old/harfbuzz-global.h | 118 + - src/hb-old/harfbuzz-gpos-private.h | 729 ++++ - src/hb-old/harfbuzz-gpos.c | 6094 ++++++++++++++++++++++++++++++++++ - src/hb-old/harfbuzz-gpos.h | 155 + - src/hb-old/harfbuzz-greek.c | 447 +++ - src/hb-old/harfbuzz-gsub-private.h | 483 +++ - src/hb-old/harfbuzz-gsub.c | 4329 ++++++++++++++++++++++++ - src/hb-old/harfbuzz-gsub.h | 148 + - src/hb-old/harfbuzz-hangul.c | 268 ++ - src/hb-old/harfbuzz-hebrew.c | 187 ++ - src/hb-old/harfbuzz-impl.c | 84 + - src/hb-old/harfbuzz-impl.h | 131 + - src/hb-old/harfbuzz-indic.cpp | 1894 +++++++++++ - src/hb-old/harfbuzz-khmer.c | 667 ++++ - src/hb-old/harfbuzz-myanmar.c | 539 +++ - src/hb-old/harfbuzz-open-private.h | 102 + - src/hb-old/harfbuzz-open.c | 1433 ++++++++ - src/hb-old/harfbuzz-open.h | 288 ++ - src/hb-old/harfbuzz-shape.h | 199 ++ - src/hb-old/harfbuzz-shaper-all.cpp | 37 + - src/hb-old/harfbuzz-shaper-private.h | 171 + - src/hb-old/harfbuzz-shaper.cpp | 1338 ++++++++ - src/hb-old/harfbuzz-shaper.h | 294 ++ - src/hb-old/harfbuzz-stream-private.h | 81 + - src/hb-old/harfbuzz-stream.c | 114 + - src/hb-old/harfbuzz-stream.h | 51 + - src/hb-old/harfbuzz-thai.c | 111 + - src/hb-old/harfbuzz-tibetan.c | 274 ++ - src/hb-old/harfbuzz.c | 32 + - src/hb-old/harfbuzz.h | 38 + - 45 files changed, 24892 insertions(+) - -commit 478fd0529b868b22905a9dedf331ac7cc9721723 -Author: Behdad Esfahbod -Date: Tue Jul 24 17:09:01 2012 -0400 - - Minor - - src/hb-unicode-private.hh | 27 ++++++++++++++------------- - 1 file changed, 14 insertions(+), 13 deletions(-) - -commit 8979a7f6f2b44ade4c0198a31ae08561b35ce009 -Author: Behdad Esfahbod -Date: Tue Jul 24 17:03:55 2012 -0400 - - [Mongolian] Remove Mongolian Vowel Separator at the end of shaping - - Results match Uniscribe now. - - src/hb-unicode-private.hh | 3 +++ - 1 file changed, 3 insertions(+) - -commit aa6d849838d5231465ae1a25a4dd5ea1e9380ff9 -Author: Jonathan Kew -Date: Tue Jul 24 15:52:32 2012 -0400 - - [CoreText] Add basic Core Text backend for comparison with our native shaping - - Does not attempt to handle clusters in a Uniscribe- or HarfBuzz-compatible way; - just returns the original string indexes that CT maintains. These may even be - out-of-order in the case of reordrant glyphs. - - configure.ac | 12 ++ - src/Makefile.am | 7 + - src/hb-coretext-private.hh | 42 ++++++ - src/hb-coretext.cc | 323 +++++++++++++++++++++++++++++++++++++++++++++ - src/hb-coretext.h | 43 ++++++ - src/hb-shape.cc | 6 + - 6 files changed, 433 insertions(+) - -commit ec8d2494694275dfbbac2dd0d33ca2894b0463d6 -Author: Behdad Esfahbod -Date: Tue Jul 24 15:40:37 2012 -0400 - - Make data members of various OpenType structs protected instead of private - - Should fix warnings generated when building with -Wunused-private-field. - Based on patch from Jonathan Kew. - - src/hb-open-file-private.hh | 8 +++--- - src/hb-ot-head-table.hh | 2 +- - src/hb-ot-hhea-table.hh | 2 +- - src/hb-ot-hmtx-table.hh | 2 +- - src/hb-ot-layout-common-private.hh | 14 ++++++----- - src/hb-ot-layout-gdef-table.hh | 20 +++++++-------- - src/hb-ot-layout-gpos-table.hh | 48 ++++++++++++++++++------------------ - src/hb-ot-layout-gsub-table.hh | 30 +++++++++++----------- - src/hb-ot-layout-gsubgpos-private.hh | 32 ++++++++++++------------ - src/hb-ot-maxp-table.hh | 2 +- - src/hb-ot-name-table.hh | 2 +- - 11 files changed, 82 insertions(+), 80 deletions(-) - -commit 97aa0b738a33b73a3f9763dd2950f2dd39f596ed -Author: Behdad Esfahbod -Date: Tue Jul 24 15:02:34 2012 -0400 - - Minor const correctness shuffling - - src/hb-shape.cc | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 6411e74caf23af7b0545f1fe54d19a1c8da895e8 -Author: Behdad Esfahbod -Date: Tue Jul 24 13:48:49 2012 -0400 - - [Indic] Reposition Gurmukhi top matras to after post - - The font is forming a post-base consonant in some samples, and Uniscribe - positions top matra on the post-base. Do the same. - - Gurmukhi failures down from 59 to 41 (0.0674242%). - - src/hb-ot-shape-complex-indic.cc | 2 +- - .../texts/in-tree/shaper-indic/indic/script-gurmukhi/misc/misc.txt | 1 + - 2 files changed, 2 insertions(+), 1 deletion(-) - -commit c3f769ba09df319fa69d04f68c57444f95eceee6 -Author: Behdad Esfahbod -Date: Tue Jul 24 13:26:32 2012 -0400 - - [Indic] Ignore Uniscribe output containing two zero-width space glyphs - - Uniscribe is buggy and sometimes /eats/ a mark next to a non-joiner. - Most of Malayalam failures where actually hitting this bug. - - Ignore test output with two zero-width space glyphs. This is a hack - until we build up the test suite infrastructure better. - - Bengali went down by 9, Devanagari by 2, Kannada by 130, Malayalm down - from 1197 to 307, Sinhala down by 16, Telugu down by 26. New stats: - - BENGALI: 353996 out of 354285 tests passed. 289 failed (0.0815727%) - DEVANAGARI: 693573 out of 693628 tests passed. 55 failed (0.00792932%) - GUJARATI: 366489 out of 366506 tests passed. 17 failed (0.0046384%) - GURMUKHI: 60750 out of 60809 tests passed. 59 failed (0.0970251%) - KANNADA: 951086 out of 951913 tests passed. 827 failed (0.0868777%) - KHMER: 299094 out of 299124 tests passed. 30 failed (0.0100293%) - MALAYALAM: 1048109 out of 1048416 tests passed. 307 failed (0.0292823%) - ORIYA: 42320 out of 42329 tests passed. 9 failed (0.021262%) - SINHALA: 271715 out of 271847 tests passed. 132 failed (0.0485567%) - TAMIL: 1091837 out of 1091837 tests passed. 0 failed (0%) - TELUGU: 970550 out of 970573 tests passed. 23 failed (0.00236973%) - - test/shaping/hb_test_tools.py | 1 + - .../texts/in-tree/shaper-indic/indic/script-malayalam/misc/misc.txt | 2 ++ - 2 files changed, 3 insertions(+) - -commit 65c43accdc4d2082282d5cedba8514b8df0c18a2 -Author: Behdad Esfahbod -Date: Tue Jul 24 03:36:47 2012 -0400 - - [Indic] Better position left-matra in Malayalam - - Just put it before base, which is what's expected. - - Malayalam failures down from 1559 to 1197 (0.114172%). - - BENGALI: 353988 out of 354285 tests passed. 297 failed (0.0838308%) - DEVANAGARI: 693571 out of 693628 tests passed. 57 failed (0.00821766%) - GUJARATI: 366489 out of 366506 tests passed. 17 failed (0.0046384%) - GURMUKHI: 60750 out of 60809 tests passed. 59 failed (0.0970251%) - KANNADA: 950956 out of 951913 tests passed. 957 failed (0.100534%) - KHMER: 299094 out of 299124 tests passed. 30 failed (0.0100293%) - MALAYALAM: 1047219 out of 1048416 tests passed. 1197 failed (0.114172%) - ORIYA: 42320 out of 42329 tests passed. 9 failed (0.021262%) - SINHALA: 271699 out of 271847 tests passed. 148 failed (0.0544424%) - TAMIL: 1091837 out of 1091837 tests passed. 0 failed (0%) - TELUGU: 970524 out of 970573 tests passed. 49 failed (0.00504856%) - - src/hb-ot-shape-complex-indic.cc | 41 +++++++++++++++------- - .../indic/script-malayalam/misc/misc.txt | 1 + - 2 files changed, 29 insertions(+), 13 deletions(-) - -commit 88f413b56f2858d149e2fc067685aeecaea779ca -Author: Behdad Esfahbod -Date: Tue Jul 24 03:04:36 2012 -0400 - - [Indic] Implement Reph+Ya-Phalaa interaction - - The sequence Ra,H,Ya in Bengali is ambigious and Unicode encoded that to - get Ya-Phalaa, one would place ZWJ before Halant. Ie. a ZWJ,H sequence - requests subjoining, while a H,ZWJ requests Half form. Implement that. - - Bengali failures go down from 377 to 297 (0.0838308%). - Gujarati is down by 4 to 17 (0.0046384%). - Kannada is down by 226 to 957 (0.100534%). - - Current status: - - BENGALI: 353988 out of 354285 tests passed. 297 failed (0.0838308%) - DEVANAGARI: 693571 out of 693628 tests passed. 57 failed (0.00821766%) - GUJARATI: 366489 out of 366506 tests passed. 17 failed (0.0046384%) - GURMUKHI: 60750 out of 60809 tests passed. 59 failed (0.0970251%) - KANNADA: 950956 out of 951913 tests passed. 957 failed (0.100534%) - KHMER: 299094 out of 299124 tests passed. 30 failed (0.0100293%) - MALAYALAM: 1046857 out of 1048416 tests passed. 1559 failed (0.148701%) - ORIYA: 42320 out of 42329 tests passed. 9 failed (0.021262%) - SINHALA: 271699 out of 271847 tests passed. 148 failed (0.0544424%) - TAMIL: 1091837 out of 1091837 tests passed. 0 failed (0%) - TELUGU: 970524 out of 970573 tests passed. 49 failed (0.00504856%) - - src/hb-ot-shape-complex-indic.cc | 10 ++++++++-- - .../in-tree/shaper-indic/indic/script-bengali/misc/reph.txt | 4 ++++ - 2 files changed, 12 insertions(+), 2 deletions(-) - -commit dff0ece11d61978c04e839501f179a5c3077f340 -Author: Behdad Esfahbod -Date: Tue Jul 24 02:30:38 2012 -0400 - - [Indic] Limit matras to 4 per syllable - - Also limit joiners. - - This limits our syllable length to a constant, and is - closer to what Uniscribe does anyway. - - Two Devanagari tests regressed, but who cares about tests with 20 - joiners in a row?! Devanagari at 57 (0.00821766%) now. - - src/hb-ot-shape-complex-indic-machine.rl | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 330b329c8905a37ca88c556dea82c70d74c77458 -Author: Behdad Esfahbod -Date: Tue Jul 24 02:25:26 2012 -0400 - - [Indic] Unmark U+17D1 KHMER SIGN VIRIAM to NOT be a Virama - - Fixes another 1 Khmer failure. Down to 30 (0.0100293%) now. - - src/hb-ot-shape-complex-indic.cc | 2 ++ - .../in-tree/shaper-indic/south-east-asian/script-khmer/misc/misc.txt | 1 + - 2 files changed, 3 insertions(+) - -commit 6824a7194e01b77eddb95bd95a9b32e219140912 -Author: Behdad Esfahbod -Date: Tue Jul 24 02:22:18 2012 -0400 - - [Indic] Recategorize Khmer various signs as top matras - - Khmer failures down from 39 to 31 (0.0103636%). - - src/hb-ot-shape-complex-indic.cc | 23 ++++++++++------------- - 1 file changed, 10 insertions(+), 13 deletions(-) - -commit d90b8e841e0068a601c96ab184d18b0f48eec9d1 -Author: Behdad Esfahbod -Date: Tue Jul 24 02:10:20 2012 -0400 - - [Indic] Reposition Khmer prebase-reordering Ra around split matras - - In Khmer coeng model, a V,Ra can go *after* matras. If it goes after a - split matra, it should be reordered to *before* the left part of such matra. - - Khmer failures down from 136 to 39 (0.0130381%). - - src/hb-ot-shape-complex-indic.cc | 13 +++++++++++++ - .../south-east-asian/script-khmer/misc/misc.txt | 4 ++++ - 2 files changed, 17 insertions(+) - -commit 0afb84c12567ac35adac657bf8be29999b8c5a50 -Author: Behdad Esfahbod -Date: Tue Jul 24 01:44:47 2012 -0400 - - [Indic] Fix minor bug in pre-base Ra positioning - - src/hb-ot-shape-complex-indic.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 7573799126e812a047daa5f64121ec959866b3c8 -Author: Behdad Esfahbod -Date: Tue Jul 24 01:32:07 2012 -0400 - - [Indic] Position Khmer U+17CE - - Fixes another 6 Khmer failures. Now at 136 (0.0454661%). - - src/hb-ot-shape-complex-indic.cc | 6 ++++++ - .../shaper-indic/south-east-asian/script-khmer/misc/misc.txt | 1 + - 2 files changed, 7 insertions(+) - -commit 8d00e8d0e7d10f823e6975fecaffb9d557b1a99a -Author: Behdad Esfahbod -Date: Tue Jul 24 01:04:18 2012 -0400 - - [Indic] Don't reposition Khmer Bindu - - Khmer Bindu doesn't like to move to syllable end. Leave it where it - was. - - Brings down Khmer failures from 510 to 142 (0.047572%). - - src/hb-ot-shape-complex-indic.cc | 2 ++ - 1 file changed, 2 insertions(+) - -commit 2278eefcdb3dd0d492b9d07176fbecc1f0516bb7 -Author: Behdad Esfahbod -Date: Tue Jul 24 00:26:43 2012 -0400 - - [Indic] In Sinhala, form forced Reph even if no other consonant found - - Fixes another 10 Sinhala failures. Down to 148 (0.0544424%). - - src/hb-ot-shape-complex-indic.cc | 10 +++++----- - .../in-tree/shaper-indic/indic/script-sinhala/misc/misc.txt | 1 + - 2 files changed, 6 insertions(+), 5 deletions(-) - -commit 71fd5e80ad06c8e85a1112cc89e129d6cd03f82c -Author: Behdad Esfahbod -Date: Tue Jul 24 00:21:16 2012 -0400 - - [Indic] Further adjust base algorithm for Sinhala - - Apparently if there is C,V,ZWJ,C, the first C will be base, but if - it's C,ZWJ,V,C, the second one will be. - - Note that Uniscribe implements this differently, by breaking syllable in - the case of C,ZWJ,V,C and putting the first consonant in one syllable - and the rest in the next syllable. - - Sinhala failures down from 208 to 158 (0.0581209%). No changes to - Khmer. - - src/hb-ot-shape-complex-indic.cc | 11 +++++++---- - .../in-tree/shaper-indic/indic/script-sinhala/misc/misc.txt | 3 +++ - 2 files changed, 10 insertions(+), 4 deletions(-) - -commit 73d71cc527d28fd5519c5d965c272ea1fb149a0e -Author: Behdad Esfahbod -Date: Tue Jul 24 00:09:12 2012 -0400 - - [Indic] End Vowel-based syllable at ZWJ - - One Devanagari test regressed, plus 10 Malayalam (at 1545 now). - - Fixed 120 Sinhala failures. Now at 208 (0.0765136%). - - src/hb-ot-shape-complex-indic-machine.rl | 2 +- - .../texts/in-tree/shaper-indic/indic/script-sinhala/misc/misc.txt | 1 + - 2 files changed, 2 insertions(+), 1 deletion(-) - -commit 34c215036f5fcdc7599b1ab0591b56dbb3811902 -Author: Behdad Esfahbod -Date: Mon Jul 23 23:51:29 2012 -0400 - - [Indic] Improve Sinhala base algorithm and reph positioning - - Sinhala does not have half forms. And most (all?) consonants can be - base, except when preceded by ZWJ, which would request a subjoined form. - Hence switch the base algorithm to categorize with Khmer, start search - at start, and stop at a ZWJ. - - Also, mark all pos=base consonants after base to be subjoined. Mark - base itself to have pos=base. - - Finally, adjust Sinhala's reph position to after-main. - - Brings down Sinhala failures from 455 to 328 (0.120656%). - - src/hb-ot-shape-complex-indic.cc | 18 +++++++++++++++++- - .../shaper-indic/indic/script-sinhala/misc/misc.txt | 1 + - 2 files changed, 18 insertions(+), 1 deletion(-) - -commit 2ec934c6c25423e7af20d909a9c698a149808ea9 -Author: Behdad Esfahbod -Date: Mon Jul 23 23:49:04 2012 -0400 - - [Indic] Change "unknown" position to end of syllable - - src/hb-ot-shape-complex-indic-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit b70021f7c81a0ed08475b14b07291f662cd9f905 -Author: Behdad Esfahbod -Date: Mon Jul 23 20:18:17 2012 -0400 - - When removing zero-width marks, don't remove ligatures - - If a mark ligated, it probably should NOT be removed. - - src/hb-ot-shape.cc | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 49c5ec51444f27f33e1eb6aa1959c61b08fa89c0 -Author: Behdad Esfahbod -Date: Mon Jul 23 20:14:13 2012 -0400 - - Minor refactoring - - src/hb-ot-layout-gsubgpos-private.hh | 32 -------------------------------- - src/hb-ot-layout-private.hh | 35 +++++++++++++++++++++++++++++++++++ - src/hb-ot-shape-complex-indic.cc | 2 +- - 3 files changed, 36 insertions(+), 33 deletions(-) - -commit c3e6fdc3791168cf2b4c9412e751f187d58faa42 -Author: Behdad Esfahbod -Date: Mon Jul 23 20:11:42 2012 -0400 - - [Indic] Improve check on ligatures - - Only skip actual ligatures, not marks in-between ligature components. - - src/hb-ot-layout-gsubgpos-private.hh | 5 +++++ - src/hb-ot-shape-complex-indic.cc | 2 +- - 2 files changed, 6 insertions(+), 1 deletion(-) - -commit 771a8f50289e8fa458cfc3cd84f73a380ce98077 -Author: Behdad Esfahbod -Date: Mon Jul 23 20:07:50 2012 -0400 - - [Indic] exclude ligatures when matching on Indic category - - If, say, a H,ZWJ,C ligature was formed, we don't want the code to detec - that as a Halant. So, ignore ligatures when matching category in - final_reordering. - - Sinhala failures down from 514 to 455 (0.167374%). - - src/hb-ot-shape-complex-indic.cc | 41 ++++++++++++---------- - .../indic/script-sinhala/misc/misc.txt | 1 + - 2 files changed, 23 insertions(+), 19 deletions(-) - -commit d1af9e82e5309158ed334ab8e21f3a3b64b9540f -Author: Behdad Esfahbod -Date: Mon Jul 23 19:55:35 2012 -0400 - - [GSUB/GPOS] Const correctness - - src/hb-ot-layout-gsubgpos-private.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit baacd090df97610e3f6d1b2a110dc67b6c6f9f5c -Author: Behdad Esfahbod -Date: Mon Jul 23 19:51:48 2012 -0400 - - [Indic] Minor refactoring - - src/hb-ot-shape-complex-indic.cc | 10 ++++++++-- - 1 file changed, 8 insertions(+), 2 deletions(-) - -commit c7c4de2fb9bba216e37875d79815eef55c0acc01 -Author: Behdad Esfahbod -Date: Mon Jul 23 18:25:02 2012 -0400 - - [Indic] Remove syllable length check before sorting - - We now limit syllable lengths in the machine. No need to match here. - - src/hb-ot-shape-complex-indic.cc | 2 -- - 1 file changed, 2 deletions(-) - -commit 9fa052733eb93a3ce1205f63ff8f74cb295cbe99 -Author: Behdad Esfahbod -Date: Mon Jul 23 18:19:17 2012 -0400 - - [Indic] Limit syllables to at most five consonants - - Seems to be about what Uniscribe does. Not exactly. But close enough. - More consonants will start a new cluster. - - A few scripts went way down in failures. In particular: - - - Devanagari failures went down from 490 to 56. - - Telugu went down from 113 to 49. - - Other scripts went down slightly or didn't change. New numbers: - - BENGALI: 353908 out of 354285 tests passed. 377 failed (0.106412%) - DEVANAGARI: 693572 out of 693628 tests passed. 56 failed (0.00807349%) - GUJARATI: 366485 out of 366506 tests passed. 21 failed (0.00572978%) - GURMUKHI: 60750 out of 60809 tests passed. 59 failed (0.0970251%) - KANNADA: 950730 out of 951913 tests passed. 1183 failed (0.124276%) - KHMER: 298613 out of 299124 tests passed. 511 failed (0.170832%) - MALAYALAM: 1046881 out of 1048416 tests passed. 1535 failed (0.146411%) - ORIYA: 42320 out of 42329 tests passed. 9 failed (0.021262%) - SINHALA: 271333 out of 271847 tests passed. 514 failed (0.189077%) - TAMIL: 1091837 out of 1091837 tests passed. 0 failed (0%) - TELUGU: 970524 out of 970573 tests passed. 49 failed (0.00504856%) - - Some of the remaining Telugu and Devanagari issues seem to be Uniscribe - eating Anusvara when placed before a non-joiner. Ouch! - - src/hb-ot-shape-complex-indic-machine.rl | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 093cd583263a5d427e3377b31585043fb55d2557 -Author: Behdad Esfahbod -Date: Mon Jul 23 14:04:42 2012 -0400 - - [Thai] Fix SARA AM handling - - Oops, thinko. - - src/hb-ot-shape-complex-misc.cc | 6 +++--- - src/hb-private.hh | 4 ++-- - 2 files changed, 5 insertions(+), 5 deletions(-) - -commit 42848453bf260b456b46a07f066e31b8c3aac2f1 -Author: Behdad Esfahbod -Date: Mon Jul 23 13:52:07 2012 -0400 - - [Thai] Reorder U+0E3A THAI VOWEL SIGN PHINTHU - - Uniscribe reorders U+0E3A to be after U+0E38 and U+0E39. We do that by - modifying the ccc for U+0E3A. - - Fixes the two remaining Thai failures (see previous commit). - - src/hb-ot-shape-complex-misc.cc | 7 +++++++ - src/hb-unicode.cc | 6 ++++++ - .../texts/in-tree/shaper-thai/script-thai/misc/MANIFEST | 1 + - .../in-tree/shaper-thai/script-thai/misc/phinthu.txt | 16 ++++++++++++++++ - 4 files changed, 30 insertions(+) - -commit 4a7f4f3e56f8f7640ae7337aa1b3324f31e0d4ab -Author: Behdad Esfahbod -Date: Mon Jul 23 13:15:33 2012 -0400 - - [Thai] Adjust SARA AM reordering to match Uniscribe - - Adjust the list of marks before SARA AM that get the reordering - treatment. Also adjust cluster formation to match Uniscribe. - - With Wikipedia test data, now I see: - - - For Thai, with the Angsana New font from Win7, I see 54 failures out - of over 4M tests (0.00129107%). Of the 54, two are legitimate - reordering issues (fix coming soon), and the other 52 are simply - Uniscribe using a zero-width space char instead of an unknown - character for missing glyphs. No idea why. The missing-glyph - sequences include one that is a Thai character followed by an Arabic - Sokun. Someone confused it with Nikhahit I assume! - - - For Lao, with the Dokchampa font from Win7, 33 tests fail out of - 54k (0.0615167%). All seem to be insignificant mark positioning - with two marks on a base. Have to investigate. - - src/hb-ot-shape-complex-misc.cc | 42 +++++++++++++--------- - src/hb-private.hh | 6 ++++ - test/shaping/texts/in-tree/shaper-thai/MANIFEST | 1 + - .../texts/in-tree/shaper-thai/script-lao/MANIFEST | 1 + - .../in-tree/shaper-thai/script-lao/misc/MANIFEST | 1 + - .../shaper-thai/script-lao/misc/sara-am.txt | 20 +++++++++++ - .../shaper-thai/script-thai/misc/sara-am.txt | 18 +++++++++- - 7 files changed, 72 insertions(+), 17 deletions(-) - -commit 2cc933aff97916e5d0fe42883f40f0879f848e25 -Author: Behdad Esfahbod -Date: Mon Jul 23 08:22:55 2012 -0400 - - [Indic] Fix cluster formation with left-matras and conjunct forms - - Test case was: . - - src/hb-ot-shape-complex-indic.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit e6b01a878cd2e63cb675e7e0c6ac4d83a8c10f37 -Author: Behdad Esfahbod -Date: Mon Jul 23 00:11:26 2012 -0400 - - [Indic] Further streamline cluster formation - - This should address all possible cluster misformations that I had in - mind. - - src/hb-ot-shape-complex-indic.cc | 21 ++++++++++----------- - 1 file changed, 10 insertions(+), 11 deletions(-) - -commit 7b2a7dadd6c616bbfe1d8358700cab9cee88e584 -Author: Behdad Esfahbod -Date: Sun Jul 22 23:58:55 2012 -0400 - - [Indic] Merge clusters before sorting - - This should fix any instabilities in cluster formation that we were - speculating may happen with surrounding syllables. Or most of it - perhaps. - - src/hb-ot-shape-complex-indic.cc | 4 ++++ - 1 file changed, 4 insertions(+) - -commit abb3239ef92cc5dccb4638806d7ae9868b9ac9b3 -Author: Behdad Esfahbod -Date: Sun Jul 22 23:55:19 2012 -0400 - - [Indic] Update clusters for left-matra even if matra didn't move - - Fixes crashes reported with left matra under - non-uniscribe-bug-compatibilty mode. - - src/hb-ot-shape-complex-indic.cc | 9 ++++++++- - 1 file changed, 8 insertions(+), 1 deletion(-) - -commit 60554f14d8dca208721f0da8b69d84b92819c54f -Author: Behdad Esfahbod -Date: Sun Jul 22 23:23:56 2012 -0400 - - [Indic] Merge in Malayalam tests - - From: - http://silpa.org.in/pub/tests/hb/ml/ml-harfbuzz-testdata.txt - - .../indic/script-malayalam/misc/misc.txt | 94 +++++++++++----------- - 1 file changed, 46 insertions(+), 48 deletions(-) - -commit 5c7081770c7a611bbe79b451b7b86dec4fa6395d -Author: Behdad Esfahbod -Date: Sun Jul 22 23:20:27 2012 -0400 - - [Indic] Add extensive Sinhala tests - - Generated by: - http://git.savannah.gnu.org/cgit/sinhala.git/plain/utils/gen-unicode-sinhala.py - - .../indic/script-sinhala/misc/extensive.txt | 4390 ++++++++++++++++++++ - 1 file changed, 4390 insertions(+) - -commit 2efe4707b1b449962f6e161716477d9775456c46 -Author: Behdad Esfahbod -Date: Sun Jul 22 23:17:59 2012 -0400 - - [Indic] Add Sinhala tests - - Merge tests from: - http://git.savannah.gnu.org/cgit/sinhala.git/plain/patches/icu-sinhala-rendering.txt - - .../indic/script-sinhala/misc/misc.txt | 26 ++++++++++++++++++++-- - 1 file changed, 24 insertions(+), 2 deletions(-) - -commit 3d4c111b7a13700b2f7a0b087eb3992283295f21 -Author: Behdad Esfahbod -Date: Fri Jul 20 19:34:39 2012 -0400 - - Add a test case - - .../texts/in-tree/shaper-indic/indic/script-bengali/misc/misc.txt | 1 + - 1 file changed, 1 insertion(+) - -commit 92a1ad7bef9efb456ab87bd63818cfbed7da3f6f -Author: Behdad Esfahbod -Date: Fri Jul 20 18:38:27 2012 -0400 - - [Indic] Stop searching for base if a post form is found before below form - - Improves Bengali and Gurmukhi. Malayalam regressed a bit. We will deal - with that later. - - src/hb-ot-shape-complex-indic.cc | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -commit 4c450c703f8e4618c587bcd7ef46dcc1f2c7947b -Author: Behdad Esfahbod -Date: Fri Jul 20 18:13:04 2012 -0400 - - [Indic] Recompose Bengali Ya,Nukta - - This is a bunch of hacks for now. - - Improves Bengali a bit. - - src/hb-ot-shape-complex-indic.cc | 4 ++-- - src/hb-unicode.cc | 8 ++++++++ - 2 files changed, 10 insertions(+), 2 deletions(-) - -commit e9c0f152a38cb2e76650a3e43f7fdcda266af696 -Author: Behdad Esfahbod -Date: Fri Jul 20 17:05:46 2012 -0400 - - [Uniscribe] Fix script fallback - - Gurmukhi failures half now. Others changed slightly. - - src/hb-uniscribe.cc | 34 ++++++++++++++-------------------- - 1 file changed, 14 insertions(+), 20 deletions(-) - -commit 5791f329159c9863317e2b507514c29321be31a7 -Author: Behdad Esfahbod -Date: Fri Jul 20 16:26:55 2012 -0400 - - [Indic] Allow a ZWNJ after SM's - - Malayalam failures go way down. Other scripts benefitted slightly too. - Sinhala had one or two test regressions, but... - - src/hb-ot-shape-complex-indic-machine.rl | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 34ae336f3fae93ef9372881d545c817bce383041 -Author: Behdad Esfahbod -Date: Fri Jul 20 16:17:28 2012 -0400 - - [Indic] Improve Reph AfterMain positioning - - Fixes 20 out of 48 failing Oriya tests. Failure rate down to 0.066% now. - - src/hb-ot-shape-complex-indic.cc | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit bdd080431a40bc941ece3230f338b94a46bd12a2 -Author: Behdad Esfahbod -Date: Fri Jul 20 16:03:09 2012 -0400 - - [Indic] Reposition Oriya Candrabindu - - Oriya failures down from 0.65% to 0.20%. - - src/hb-ot-shape-complex-indic.cc | 1 + - .../shaping/texts/in-tree/shaper-indic/indic/script-oriya/misc/MANIFEST | 1 + - .../texts/in-tree/shaper-indic/indic/script-oriya/misc/bindu.txt | 2 ++ - 3 files changed, 4 insertions(+) - -commit 5f0eaaad129ff04d56b8756bebf19fbc242718c9 -Author: Behdad Esfahbod -Date: Fri Jul 20 15:47:24 2012 -0400 - - [Indic] Fix base search in final_reordering - - Fixes most Malayalam failures. Down from 1.6% to 0.38% now. Fixes a - few more in other scripts too. - - src/hb-ot-shape-complex-indic.cc | 12 ++++++++---- - 1 file changed, 8 insertions(+), 4 deletions(-) - -commit 81202bd860e4034c18d9f80c5a4f33d9f48463a3 -Author: Behdad Esfahbod -Date: Fri Jul 20 15:10:02 2012 -0400 - - [Indic] Don't attach SM/VD to other characters - - src/hb-ot-shape-complex-indic-private.hh | 3 +++ - src/hb-ot-shape-complex-indic.cc | 38 ++++++++++++++++++-------------- - 2 files changed, 24 insertions(+), 17 deletions(-) - -commit efb4ad735691837a52447bedc1a66a87d0d9af51 -Author: Behdad Esfahbod -Date: Fri Jul 20 14:27:38 2012 -0400 - - Fix compiler warnings - - If x is not constant, we cannot ASSERT_STATIC on it. - - src/hb-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit f31d97e44eeb6fb141f3de928e27e033fc7b1f47 -Author: Behdad Esfahbod -Date: Fri Jul 20 14:13:35 2012 -0400 - - [Indic] Form Telugu Reph out of Ra,Virama,ZWJ - - Apparently this was approved in Feb 2012. No font yet. - - src/hb-ot-shape-complex-indic-private.hh | 2 +- - src/hb-ot-shape-complex-indic.cc | 4 ++-- - 2 files changed, 3 insertions(+), 3 deletions(-) - -commit 2e193b240ec85cab0d4e2f8a375c5a7f0ef99985 -Author: Behdad Esfahbod -Date: Fri Jul 20 14:02:35 2012 -0400 - - [Indic] Don't split U+0AC9 - - Althought IndicMatraCategory.txt classifies it as Top_And_Right matra, - it does not have Unicode decomposition, and Uniscribe does not do - anything special about it either. - - Gujarati failures down from 0.672% to 0.0130966%. - - src/hb-unicode.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 30c3d5e9fc61b49c2c6ad4e744300edd6f3e0261 -Author: Behdad Esfahbod -Date: Fri Jul 20 13:56:32 2012 -0400 - - [Indic] Simplify Uniscribe cluster emulation - - Now that we break syllables on Halant,ZWNJ, this code can be simplified. - - src/hb-ot-shape-complex-indic.cc | 11 ++--------- - 1 file changed, 2 insertions(+), 9 deletions(-) - -commit decf6ffca475fe01ff3151b7641f629f031137d2 -Author: Behdad Esfahbod -Date: Fri Jul 20 13:51:31 2012 -0400 - - [Indic] Minor! - - src/hb-ot-shape-complex-indic.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 9e4f94a72cea6d65a6a7ba5a47db92e00dbfbb91 -Author: Behdad Esfahbod -Date: Fri Jul 20 13:48:03 2012 -0400 - - [Indic] Break syllables at Halant,ZWNJ - - That's really what Uniscribe does, and explains a lot of pecularities of - Halant,ZWNJ before the base. - - Sent Telugu from 1% failures to 0.03%. Improved Kannada and Malayalam - slightly. Fixed half of Bengali, and did NOT break anything! - - src/hb-ot-shape-complex-indic-machine.rl | 5 +++-- - src/hb-ot-shape-complex-indic.cc | 5 ++--- - 2 files changed, 5 insertions(+), 5 deletions(-) - -commit 2c372b80f6befad69e216e3f218b38640b8cc044 -Author: Behdad Esfahbod -Date: Fri Jul 20 13:37:48 2012 -0400 - - [Indic] Better check for applying 'init' - - Specifically, don't apply 'init' if previous char is a joiner. - - Fixes some more of Bengali. - - src/hb-ot-shape-complex-indic.cc | 9 +-------- - src/hb-private.hh | 3 ++- - 2 files changed, 3 insertions(+), 9 deletions(-) - -commit 34a7440b7c6c6e53394ddbdbedaad57b23f85105 -Author: Behdad Esfahbod -Date: Fri Jul 20 12:32:59 2012 -0400 - - [GPOS] Don't zero mark advances - - Fixes more of Telugu, Kannada, and Oriya. - - May break things (outside Indic...), but we cannot think of any font relying - on this immediately. - - src/hb-ot-layout-gpos-table.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 8ed248de77e5d2ed978e55c0ce1a11727bc9e34c -Author: Behdad Esfahbod -Date: Fri Jul 20 11:42:24 2012 -0400 - - [Indic] Minor - - src/hb-ot-shape-complex-indic.cc | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit d0e68dbd0b9fc9a42c4280d01c8ffd9c5015d550 -Author: Behdad Esfahbod -Date: Fri Jul 20 11:25:41 2012 -0400 - - [Indic] Implement reph positioning step 5 - - Not tuned, just copied from step 2. Fixes another 0.5% of Kannada - failures. 1% to go. - - src/hb-ot-shape-complex-indic.cc | 12 +++++++++++- - 1 file changed, 11 insertions(+), 1 deletion(-) - -commit a9e45c32e4a0d6da33c52f8427aa694e57f52eb9 -Author: Behdad Esfahbod -Date: Fri Jul 20 11:04:15 2012 -0400 - - [Indic] Don't let ZWNJ at the end of syllable affect base search - - Fixes a few Devanagari, half of remaining Kannada failures, quarter for - Telugu, and others slightly improved or unchanged. - - src/hb-ot-shape-complex-indic.cc | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -commit 20b68e699f73e6ce046c0ec143d40b3d6d48e06b -Author: Behdad Esfahbod -Date: Fri Jul 20 10:47:46 2012 -0400 - - [Indic] Apply 'cjct' globally - - Fixes 5 Devanagari failures, and no regressions. - - src/hb-ot-shape-complex-indic.cc | 15 +++++++++------ - 1 file changed, 9 insertions(+), 6 deletions(-) - -commit 51e764de441072e7c9f67de23e8ed717b9b8957d -Author: Behdad Esfahbod -Date: Fri Jul 20 10:30:24 2012 -0400 - - [Indic] Unbreak old scriptures - - Brings down failures with Lohit-Telugu from 57% to 1.40%. - - src/hb-ot-shape-complex-indic.cc | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit 900cf3d449bf36d4f8b1474590cae925fef48fc8 -Author: Behdad Esfahbod -Date: Fri Jul 20 10:18:23 2012 -0400 - - Minor - - src/hb-ot-shape-complex-indic.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 87cd63266e73af316b250573ef57388a0bcc9133 -Author: Behdad Esfahbod -Date: Thu Jul 19 21:17:48 2012 -0400 - - [Indic] Recategorize some Kannada right matras - - Kannada failures down from 3.5% to 2.93%. - - src/hb-ot-shape-complex-indic.cc | 2 +- - .../texts/in-tree/shaper-indic/indic/script-kannada/misc/MANIFEST | 1 + - .../shaper-indic/indic/script-kannada/misc/right-matras.txt | 7 +++++++ - 3 files changed, 9 insertions(+), 1 deletion(-) - -commit 3604d64ced909ade91998d294a7b4b2ee14d47aa -Author: Behdad Esfahbod -Date: Thu Jul 19 21:13:04 2012 -0400 - - [Indic] Recategorize GURMUKHI ADDAK - - It's not in IndicSyllabicCategory.txt. Fixes most of Gurmukhi failures. - Failures down from 7.7% to 0.222%! - - src/hb-ot-shape-complex-indic.cc | 1 + - 1 file changed, 1 insertion(+) - -commit 89328581236a53ec16508b95db54c7e5315b178f -Author: Behdad Esfahbod -Date: Thu Jul 19 21:02:38 2012 -0400 - - Minor - - src/hb-ot-layout-gsubgpos-private.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 47ef931f13778b894090139a64238a5ab9ac1154 -Author: Behdad Esfahbod -Date: Thu Jul 19 20:52:44 2012 -0400 - - [buffer] Make sure out_info = info during GPOS - - src/hb-buffer.cc | 9 +++++++-- - 1 file changed, 7 insertions(+), 2 deletions(-) - -commit ae63cf206291befe3920adfe015e6cd0961580e5 -Author: Behdad Esfahbod -Date: Thu Jul 19 20:45:41 2012 -0400 - - Print line number during return when tracing - - src/hb-private.hh | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 5249f3aee108b0f41770d137e63a625f594418e7 -Author: Behdad Esfahbod -Date: Thu Jul 19 20:30:22 2012 -0400 - - [Indic] Unbreak Khmer - - For Khmer, all consonants are subjoining. No need to look in the font. - We were looking in the wrong order anyway. - - src/hb-ot-shape-complex-indic.cc | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit e0475345d5d7db8dbc8b554beedfa2435c5d7fd1 -Author: Behdad Esfahbod -Date: Thu Jul 19 20:24:14 2012 -0400 - - [Indic] Apply 'akhn' globally - - Fixes 1.5% more failures for Telugu, 2% for Kannada. - Breaks one test in Devanagari. - - src/hb-ot-shape-complex-indic.cc | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit c87bcddb10752b407c0471ee5ac4de6f1b00b711 -Author: Behdad Esfahbod -Date: Thu Jul 19 20:03:25 2012 -0400 - - [Indic] Add failing test for Kannada - - .../texts/in-tree/shaper-indic/indic/script-kannada/misc/misc.txt | 1 + - 1 file changed, 1 insertion(+) - -commit fa247ebe524f92fa95d344ba912f704262879c13 -Author: Behdad Esfahbod -Date: Thu Jul 19 19:52:19 2012 -0400 - - [Indic] Better position U+0CD5 - - Fixes another 5% of Kannada failures. - - src/hb-ot-shape-complex-indic.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit f055442716ec7543ed156d4789955b19c11a5255 -Author: Behdad Esfahbod -Date: Thu Jul 19 16:20:21 2012 -0400 - - [Indic] Lookup consonant position in the font - - Fixes most failures of Oriya, and improves others a bit. - - src/hb-ot-map-private.hh | 13 ++-- - src/hb-ot-shape-complex-indic-private.hh | 105 ------------------------------- - src/hb-ot-shape-complex-indic.cc | 63 +++++++++++++------ - 3 files changed, 54 insertions(+), 127 deletions(-) - -commit 74d1d88781e91866a52e27f391e34df03b313442 -Author: Behdad Esfahbod -Date: Thu Jul 19 16:14:23 2012 -0400 - - [GSUB] Fix would_apply() for LigatureSubst - - src/hb-ot-layout-gsub-table.hh | 1 + - 1 file changed, 1 insertion(+) - -commit 787f7d1e9ba9ad038f24e5a1063d12c7d169ad37 -Author: Behdad Esfahbod -Date: Thu Jul 19 15:29:13 2012 -0400 - - [TODO] Minor - - TODO | 2 ++ - 1 file changed, 2 insertions(+) - -commit be73a5f9368136ecbdb211b96516ad0c554c8201 -Author: Behdad Esfahbod -Date: Thu Jul 19 14:59:15 2012 -0400 - - Add src/test-would-substitute tool - - src/Makefile.am | 6 +- - src/test-would-substitute.cc | 94 ++++++++++++++++++++++++++++++ - src/test.cc | 132 +++++++++++++++++++++++++++++++++++++++++++ - 3 files changed, 231 insertions(+), 1 deletion(-) - -commit e72b360ac6381b549249b8836fa3e70b909d3437 -Author: Behdad Esfahbod -Date: Thu Jul 19 14:35:23 2012 -0400 - - Refactor / finish would_apply() operation - - Untested. - - src/hb-ot-layout-gpos-table.hh | 6 +- - src/hb-ot-layout-gsub-table.hh | 126 +++++++++---------- - src/hb-ot-layout-gsubgpos-private.hh | 233 ++++++++++++++++++++++++++++++++++- - src/hb-ot-layout.cc | 11 ++ - src/hb-ot-layout.h | 7 ++ - 5 files changed, 308 insertions(+), 75 deletions(-) - -commit 8c973ebf0f59abb5ee920edd5d64e23d8e47ad75 -Author: Behdad Esfahbod -Date: Thu Jul 19 13:25:08 2012 -0400 - - [Indic] Implement per-script matra positioning - - Following what the spec says. - - Brings down Telugu failures from 40% to 3.75%, and Kannada failures from - 44% to 10%. Does NOT affect other scripts' test results. - - src/hb-ot-shape-complex-indic-private.hh | 2 +- - src/hb-ot-shape-complex-indic.cc | 40 +++++++++++++++++++++++++++++--- - src/hb-unicode.cc | 2 +- - 3 files changed, 39 insertions(+), 5 deletions(-) - -commit 8bb32458f95f13f66688e0811cc91f1bfffb867d -Author: Behdad Esfahbod -Date: Thu Jul 19 12:59:06 2012 -0400 - - [Indic] More refactoring - - src/hb-ot-shape-complex-indic-private.hh | 9 ++--- - src/hb-ot-shape-complex-indic.cc | 65 ++++++++++++++++++++++++-------- - 2 files changed, 54 insertions(+), 20 deletions(-) - -commit 9ccc6382ba43760167c134c18c1c4ada4b8c3f22 -Author: Behdad Esfahbod -Date: Thu Jul 19 12:32:16 2012 -0400 - - [Indic] Minor refactoring - - src/hb-ot-shape-complex-indic.cc | 127 ++++++++++++++++++++++----------------- - 1 file changed, 71 insertions(+), 56 deletions(-) - -commit f83aaa3133de5d807be267a100d6a200e8db9017 -Author: Behdad Esfahbod -Date: Thu Jul 19 12:23:23 2012 -0400 - - [Indic] Minor - - src/hb-ot-shape-complex-indic-private.hh | 42 ++++++++++++++++++++------------ - 1 file changed, 26 insertions(+), 16 deletions(-) - -commit be8b9f5f715f6fb36b98bd33c3303f79cc068f8a -Author: Behdad Esfahbod -Date: Thu Jul 19 12:11:12 2012 -0400 - - [Indic] Start refactoring different matra positions per script - - src/hb-ot-shape-complex-indic-private.hh | 36 +++++++++++++++++++------------- - src/hb-ot-shape-complex-indic.cc | 4 ++-- - 2 files changed, 24 insertions(+), 16 deletions(-) - -commit deeb540a74f8d394db273145b17bf385d14d01bb -Author: Behdad Esfahbod -Date: Thu Jul 19 11:30:48 2012 -0400 - - [test] Ignore tests with DOTTED CIRCLE in the output - - test/shaping/hb_test_tools.py | 4 ++++ - 1 file changed, 4 insertions(+) - -commit b01d9b3d90e892341ee4463f2eda4600850b97d8 -Author: Behdad Esfahbod -Date: Thu Jul 19 11:25:49 2012 -0400 - - [Indic] Disallow decomposition of a couple characters - - This is a hack for now. Will be fixed when we do complex-shaper-driven - normalization properly. - - The results with or without decomposition are the same, but Uniscribe - does not normalize, so this matches better. - - src/hb-unicode.cc | 3 +++ - 1 file changed, 3 insertions(+) - -commit 422ecd2d3c198a36d07d409341cb82ea57c7ad6b -Author: Behdad Esfahbod -Date: Wed Jul 18 23:25:58 2012 -0400 - - [Indic] Accept a forced Rakar sequence at the end of syllable - - In Sinhala, Rakar is formed by Al-Lakuna,ZWJ,Ra. If you put that at the - end of a Consonant,Matra syllable, you get a dotted-circle from - Uniscribe. Apparently adding a ZWJ before the Al-Lakuna "fixes" that. - And people have been encoding that sequence... So, allow a forced - "ZWJ,Virama,ZWJ,Ra" sequence at the of syllables. - - Fixes some 100 or more of Sinhala failures. Now at 622 only (0.23%). - - src/hb-ot-shape-complex-indic-machine.rl | 3 ++- - .../texts/in-tree/shaper-indic/indic/script-sinhala/misc/misc.txt | 2 ++ - 2 files changed, 4 insertions(+), 1 deletion(-) - -commit 6fc1732003d71cf90d37247482772c3da884687f -Author: Behdad Esfahbod -Date: Wed Jul 18 17:49:19 2012 -0400 - - [Indic] Allow joiners on both sides of Halant at the same time - - The sequence is used in Sinhala to explicitly ask - for Rakar. Fixes two-thousand Sinhala tests. Not many left. - - src/hb-ot-shape-complex-indic-machine.rl | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 10cdc94eee2225f14c198c015256a5a0063eecad -Author: Behdad Esfahbod -Date: Wed Jul 18 17:42:34 2012 -0400 - - [Indic] In final reordering, find base, even if it disappeared - - POS_BASE can disappear if base ligated backward. Define base as last - with position not after base. - - Fixes a few hundred of Sinhala failures with Iskoola Pota. - - src/hb-ot-shape-complex-indic.cc | 7 ++----- - .../texts/in-tree/shaper-indic/indic/script-sinhala/misc/misc.txt | 1 + - 2 files changed, 3 insertions(+), 5 deletions(-) - -commit 9c4d24a3a677a58ec59c7fb0f8b70b8aad30a032 -Author: Behdad Esfahbod -Date: Wed Jul 18 17:29:10 2012 -0400 - - [Indic] Minor - - src/hb-ot-shape-complex-indic.cc | 1 + - 1 file changed, 1 insertion(+) - -commit 3285e107c9a83aeb552e67f9460680ff6d167d88 -Author: Behdad Esfahbod -Date: Wed Jul 18 17:22:14 2012 -0400 - - [Indic] Implement Sinhala "Al Lakuna" Reph behavior - - In Sinhala, Reph is formed only explicitly, by the presence of a ZWJ. - - src/hb-ot-shape-complex-indic-private.hh | 2 ++ - src/hb-ot-shape-complex-indic.cc | 7 ++++++- - .../texts/in-tree/shaper-indic/indic/script-sinhala/misc/MANIFEST | 1 + - .../texts/in-tree/shaper-indic/indic/script-sinhala/misc/reph.txt | 3 +++ - 4 files changed, 12 insertions(+), 1 deletion(-) - -commit 91cade755534c42bb826a6aefcbca8a543d94387 -Author: Behdad Esfahbod -Date: Wed Jul 18 16:50:41 2012 -0400 - - [Indic/Unicode] Decompose Sinhala split matras the way Uniscribe likes - - Makes no visual difference. - - Fixes most of the failures. Down from 15% to 1.3%! - - src/hb-unicode.cc | 8 ++++++++ - 1 file changed, 8 insertions(+) - -commit d8942dcbb4e3249a2d78a6455c119294ed4390bc -Author: Behdad Esfahbod -Date: Wed Jul 18 16:34:10 2012 -0400 - - Apply Tibetan (global) features. - - Fixes all Tibetan failures. All 180k of them! - - Merges back Hangul into the default shaper. - - src/hb-ot-shape-complex-misc.cc | 82 +++++++++++++++++--------------------- - src/hb-ot-shape-complex-private.hh | 7 ---- - 2 files changed, 37 insertions(+), 52 deletions(-) - -commit 552d19b7a11f7dff888587fce4d56d9f8e47e819 -Author: Behdad Esfahbod -Date: Wed Jul 18 16:00:49 2012 -0400 - - [Indic] Treat Register Shifters like Nukta - - Really this time. - - Fixes another 18 Khmer tests. - - src/hb-ot-shape-complex-indic-machine.rl | 2 +- - src/hb-ot-shape-complex-indic.cc | 2 -- - .../in-tree/shaper-indic/south-east-asian/script-khmer/misc/misc.txt | 1 + - 3 files changed, 2 insertions(+), 3 deletions(-) - -commit e8cd81f76d159f3ecf808952dab24bc07782497a -Author: Behdad Esfahbod -Date: Wed Jul 18 16:00:20 2012 -0400 - - [Indic] Minor - - src/hb-ot-shape-complex-indic.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 69f26bf39c824d6bf5b1c0d410380cc5462ad5ca -Author: Behdad Esfahbod -Date: Wed Jul 18 15:45:43 2012 -0400 - - [Indic] Fix Matra reordering when base is at end of syllable - - For example: U+915,U+200c,U+93f - - Fixes last Tamil failure! - - src/hb-ot-shape-complex-indic.cc | 2 +- - .../texts/in-tree/shaper-indic/indic/script-devanagari/misc/misc.txt | 1 + - 2 files changed, 2 insertions(+), 1 deletion(-) - -commit d16ccc4ae7aa8be460881042413fa2637929fede -Author: Behdad Esfahbod -Date: Wed Jul 18 15:43:55 2012 -0400 - - Leave one extra item at the end of buffer allocation - - Just in case, for the times we do out-of-bounds access. - - jk - - src/hb-buffer-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 075d671f1093d2e3c58f7f45568696030f1b3efd -Author: Behdad Esfahbod -Date: Wed Jul 18 15:41:53 2012 -0400 - - [Indic] Fix out-of-bounds array access - - src/hb-ot-shape-complex-indic.cc | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -commit dcb527242b1eca4db1e190a7802f9cd132aaf46e -Author: Behdad Esfahbod -Date: Wed Jul 18 15:28:25 2012 -0400 - - [Indic] Allow joiners before matras - - Fixes 1 more Devanagari test! - - src/hb-ot-shape-complex-indic-machine.rl | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 391cc0331749e263bdfe83a8f5f6d76f2360ee7a -Author: Behdad Esfahbod -Date: Wed Jul 18 15:10:05 2012 -0400 - - [Indic] Allow halant group in Vowel and placeholder syllables - - Fixes 2 out of 560 Devanagari failures. AND: - Fixes 1 out of 2 Tamil failures. - - src/hb-ot-shape-complex-indic-machine.rl | 7 ++++--- - .../in-tree/shaper-indic/indic/script-devanagari/misc/misc.txt | 1 + - 2 files changed, 5 insertions(+), 3 deletions(-) - -commit ca4e3d3eab7b738c2b8e2a81696a28bca1b81495 -Author: Behdad Esfahbod -Date: Wed Jul 18 15:05:40 2012 -0400 - - [Indic] Streamline halant/joiner in grammar - - src/hb-ot-shape-complex-indic-machine.rl | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 418d00dffddd95a1f27e9be15752d494c627d45e -Author: Behdad Esfahbod -Date: Wed Jul 18 14:57:28 2012 -0400 - - [Indic] Minor - - src/hb-ot-shape-complex-indic-machine.rl | 3 ++- - .../texts/in-tree/shaper-indic/indic/script-devanagari/misc/misc.txt | 3 +++ - 2 files changed, 5 insertions(+), 1 deletion(-) - -commit 4c3691d2a32ca7e54a54f7c08098fd96fa7af39e -Author: Behdad Esfahbod -Date: Wed Jul 18 14:23:55 2012 -0400 - - [Indic] Hopefully minor! - - Refactoring Indic machin. No semantic change. - - src/hb-ot-shape-complex-indic-machine.rl | 12 +++++++----- - 1 file changed, 7 insertions(+), 5 deletions(-) - -commit e092c556fb1cf38be3cea1f4b75a0d879372dfa2 -Author: Behdad Esfahbod -Date: Wed Jul 18 14:09:25 2012 -0400 - - [Indic] Minor - - src/hb-ot-shape-complex-indic-private.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 14dbdd9e39d3a869fd1521000c889c347433d22b -Author: Behdad Esfahbod -Date: Wed Jul 18 13:13:03 2012 -0400 - - [Indic] Unbreak Tamil - - Tamil has only about 150 failures now! - - src/hb-ot-shape-complex-indic.cc | 18 +++++++++++++++++- - 1 file changed, 17 insertions(+), 1 deletion(-) - -commit db8981f1e0e8625714568c6d0f11f0b317b11d0a -Author: Behdad Esfahbod -Date: Tue Jul 17 18:17:30 2012 -0400 - - [Indic] Position Khmer Robat - - It's a visual Repha. - - Still not positioning logical Repha as occurs in Malayalam. - - Another 200 Khmer failures fixed. 547 to go. That's better than - Devanagari! - - src/hb-ot-shape-complex-indic-machine.rl | 36 +++++++++++++++++--------------- - src/hb-ot-shape-complex-indic-private.hh | 7 ++++--- - src/hb-ot-shape-complex-indic.cc | 13 ++++++++++++ - 3 files changed, 36 insertions(+), 20 deletions(-) - -commit 25bc489498ef7d0beb8fe9ab663e3f0b2f52c9c2 -Author: Behdad Esfahbod -Date: Tue Jul 17 17:53:03 2012 -0400 - - [Indic] Better categorize Register Shifters and Khmer Various signs - - Down another 500 or so Khmer failures! - - src/hb-ot-shape-complex-indic-machine.rl | 14 +++++++------- - src/hb-ot-shape-complex-indic-private.hh | 2 +- - src/hb-ot-shape-complex-indic.cc | 8 ++++---- - .../south-east-asian/script-khmer/misc/MANIFEST | 2 ++ - .../script-khmer/misc/other-marks-invalid.txt | 4 ++++ - .../south-east-asian/script-khmer/misc/other-marks.txt | 6 ++++++ - 6 files changed, 24 insertions(+), 12 deletions(-) - -commit 39b17837b4064d59c18cebb49c1c0b5b8cc0c117 -Author: Behdad Esfahbod -Date: Tue Jul 17 17:09:29 2012 -0400 - - Add hb_buffer_normalize_glyphs() and hb-shape --normalize-glyphs - - This reorders glyphs within the cluster to a nominal order. This should - have no visible effect on the output, but helps with testing, for - getting the same hb-shape output for visually-equal glyphs for each - cluster. - - src/hb-buffer.cc | 76 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-buffer.h | 13 ++++++++++ - src/hb-private.hh | 29 ++++++++++++++++----- - util/options.cc | 1 + - util/options.hh | 7 ++++- - 5 files changed, 118 insertions(+), 8 deletions(-) - -commit 25e302da9a712e6f1d63b0d243a8df0d326ddba3 -Author: Behdad Esfahbod -Date: Tue Jul 17 14:25:14 2012 -0400 - - [Indic] Minor - - src/hb-ot-shape-complex-indic.cc | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -commit 5d32690a3428fa86eb26fe5fcec943a10aa95881 -Author: Behdad Esfahbod -Date: Tue Jul 17 14:23:28 2012 -0400 - - [Indic] For scripts without Half forms, always choose first consonant as base - - In such scripts (ie. Khmer), a ZWJ/ZWNJ shouldn't stop the search for - base. So, instead just choose the first consonant as base directly. - - Test sequence: - U+1798,200c,U+17C9,U+17D2,U+179B,U+17C1,U+17C7 - - src/hb-ot-shape-complex-indic.cc | 59 ++++++++++++++++++++++++---------------- - 1 file changed, 35 insertions(+), 24 deletions(-) - -commit 34b57149065d96f7528aaccaa7654e956ce27e93 -Author: Behdad Esfahbod -Date: Tue Jul 17 14:09:32 2012 -0400 - - [Indic] Treat Khmer Register Shifters more like Nuktas - - Except that there may be a ZWNJ before a Register Shifter. - - src/hb-ot-shape-complex-indic-machine.rl | 2 +- - .../in-tree/shaper-indic/south-east-asian/script-khmer/misc/misc.txt | 2 ++ - 2 files changed, 3 insertions(+), 1 deletion(-) - -commit 11e2a601b19861b05dbb2051d2d078c3cfd75b29 -Author: Behdad Esfahbod -Date: Tue Jul 17 14:02:28 2012 -0400 - - [Indic] Minor - - src/hb-ot-shape-complex-indic-machine.rl | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 0201e0a4649ad5b607e50bcb9605e7a5b7143812 -Author: Behdad Esfahbod -Date: Tue Jul 17 13:55:10 2012 -0400 - - [Indic] Apply 'cfar' for Khmer - - Mark stuff after a pre-base reordering Ro 'cfar'. Used in Khmer. - This allows distinguishing the following cases with MS Khmer fonts: - - U+1784,U+17D2,U+179A,U+17D2,U+1782 - U+1784,U+17D2,U+1782,U+17D2,U+179A - - src/hb-ot-shape-complex-indic.cc | 16 ++++++++++++++-- - .../south-east-asian/script-khmer/misc/misc.txt | 2 ++ - 2 files changed, 16 insertions(+), 2 deletions(-) - -commit 55f70ebfb95083f515d9b0044a2a65ab11484bb5 -Author: Behdad Esfahbod -Date: Tue Jul 17 12:50:13 2012 -0400 - - [Indic] Position final subjoined consonants (and vowels) after matras - - In Khmer, a final subjoined consonant or independent vowel can occur - after matras. This final subjoined thing should NOT be reordered to - before the matra even though it's subjoined. - - Fixes another 1k of the Khmer failures. Not much left really. - - src/hb-ot-shape-complex-indic-private.hh | 1 + - src/hb-ot-shape-complex-indic.cc | 13 +++++++++++++ - .../south-east-asian/script-khmer/misc/misc.txt | 2 ++ - 3 files changed, 16 insertions(+) - -commit c50ed71e9a3df1844f564de66d54b46a696c1356 -Author: Behdad Esfahbod -Date: Tue Jul 17 11:54:28 2012 -0400 - - [Indic] Recategorize Khmer coeng sign as a separate category OT_Coeng - - Amend the syllable structure to allow a final subscripted consonant - (Coeng+C) and a final subscripted independent vowel (Coeng+V). - Fixes another 2k of Khmer failures. - - src/hb-ot-shape-complex-indic-machine.rl | 7 ++++--- - src/hb-ot-shape-complex-indic.cc | 6 +++++- - .../shaper-indic/south-east-asian/script-khmer/misc/misc.txt | 1 + - 3 files changed, 10 insertions(+), 4 deletions(-) - -commit deb521dee4fdca8c2124cfb39a205e6269d4a70d -Author: Behdad Esfahbod -Date: Tue Jul 17 11:37:32 2012 -0400 - - [Indic] Add a separate Coeng class - - No characters recategorized yet. No semantic change. - - src/hb-ot-shape-complex-indic-machine.rl | 1 + - src/hb-ot-shape-complex-indic-private.hh | 3 ++- - src/hb-ot-shape-complex-indic.cc | 26 ++++++++++++++++---------- - 3 files changed, 19 insertions(+), 11 deletions(-) - -commit 74ccc6a1322f8c48c5f2a05f04821783c4b87a14 -Author: Behdad Esfahbod -Date: Tue Jul 17 11:16:19 2012 -0400 - - [Indic] Move Halant with after-base consonants - - Normally, we attach the Halant to the previous character and move it - with it. For after-base consonants however, the Halant "belongs" to the - consonant after, so attach it so. - - This fixes Bengali sequences involving post-base consonant Ya, which - should ligate with the Halant to form Ya Phala, but previously a - reordered matras was blocking the ligation. - - src/hb-ot-shape-complex-indic.cc | 11 +++++++++++ - .../in-tree/shaper-indic/indic/script-bengali/misc/misc.txt | 1 + - 2 files changed, 12 insertions(+) - -commit d5c4edcdd6df32f2f23aca44f14838b4baab4d7a -Author: Behdad Esfahbod -Date: Tue Jul 17 10:40:59 2012 -0400 - - [Indic] Apply presentation-forms features all at once - - Seems like this is what Uniscribe is doing, and does not break any fonts - we tested (with Devanagari, Malayalam, Khmer, and Bengali), while fixing - some Ra Phala sequences for Bengali with Vrinda. Fixes another 2% of - Bengali failures (a couple more to go). - - src/hb-ot-shape-complex-indic.cc | 6 +++--- - .../texts/in-tree/shaper-indic/indic/script-bengali/misc/misc.txt | 1 + - 2 files changed, 4 insertions(+), 3 deletions(-) - -commit 559f70667891a3ceeffb36f40de38a4f85868945 -Author: Behdad Esfahbod -Date: Mon Jul 16 22:43:17 2012 -0400 - - Fix MarkAttachmentType matching - - Fixes issue reported by Khaled Hosny with his Hussaini Nastaleeq font - and sequences like those added in the previous commit. - - src/hb-ot-layout.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 6de103547e4a7fb34c833861713ea373cd912261 -Author: Behdad Esfahbod -Date: Mon Jul 16 22:46:06 2012 -0400 - - [test/arabic] Add Arabic tests for mark skipping - - Expose a bug with Khaled's Hussaini Nastaleeq font. - - .../shaper-arabic/script-arabic/misc/diacritics/MANIFEST | 1 + - .../script-arabic/misc/diacritics/mark-skipping.txt | 10 ++++++++++ - 2 files changed, 11 insertions(+) - -commit ad4494759fa8bfd2497800c24fa414075ed1aa61 -Author: Behdad Esfahbod -Date: Mon Jul 16 22:40:21 2012 -0400 - - Minor - - src/hb-ot-layout.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit af92b4cc90e4184d5bdd8037c551ed482700114f -Author: Behdad Esfahbod -Date: Mon Jul 16 20:31:24 2012 -0400 - - [Indic] Disable 'kern' in Uniscribe bug compatibility mode - - Uniscribe does not apply 'kern' in the Indic module. Some of the Khmer - fonts they ship have small adjustments in the 'kern' table. Disable - 'kern' in the Indic module under Uniscribe bug compatibility mode. - - Fixes some 10% of the Khmer failures. Remains under 3% (excluding - dotted-circle ones). - - src/hb-ot-shape-complex-indic.cc | 3 +++ - 1 file changed, 3 insertions(+) - -commit d96838ef951ce6170eb2dc576ebcba2262cf7008 -Author: Behdad Esfahbod -Date: Mon Jul 16 20:26:57 2012 -0400 - - Allow complex shapers overriding common features - - In a new callback... Currently unused by all complex shapers. - - src/hb-ot-shape-complex-arabic.cc | 6 ++++++ - src/hb-ot-shape-complex-indic.cc | 6 ++++++ - src/hb-ot-shape-complex-misc.cc | 18 ++++++++++++++++++ - src/hb-ot-shape-complex-private.hh | 30 ++++++++++++++++++++++++++++++ - src/hb-ot-shape.cc | 2 ++ - 5 files changed, 62 insertions(+) - -commit df50b8474094f0563ccfdae12c4425a51b72add6 -Author: Behdad Esfahbod -Date: Mon Jul 16 19:56:29 2012 -0400 - - [Indic] Categorize other Khmer marks - - Mark them the same as the Register Shifters for now. Need to rename - that category to something more sensible after all is settled. - - Fixes another percent of Khmer failures. Down to under 3%! - - src/hb-ot-shape-complex-indic.cc | 4 ++++ - 1 file changed, 4 insertions(+) - -commit 8e7b5882fb4c1921c9d030d354a9b998115cdb8c -Author: Behdad Esfahbod -Date: Mon Jul 16 17:04:46 2012 -0400 - - [Indic] Recognize pre-base reordering Ra anywhere in the syllable - - We were doing that only immediately after base. - - Fixes another percent in the Khmer failures. About three more to go... - - src/hb-ot-shape-complex-indic.cc | 84 ++++++++++++++++++++++------------------ - 1 file changed, 46 insertions(+), 38 deletions(-) - -commit 7d09c98a1fff97127e48eae48d380dc9fcff288e -Author: Behdad Esfahbod -Date: Mon Jul 16 16:45:22 2012 -0400 - - [Indic] Recognizer Register Shifter marks - - Fixes another 6% of the Khmer failures. - - src/hb-ot-shape-complex-indic-machine.rl | 3 ++- - src/hb-ot-shape-complex-indic-private.hh | 5 +++-- - src/hb-ot-shape-complex-indic.cc | 2 ++ - 3 files changed, 7 insertions(+), 3 deletions(-) - -commit 60da763dfac96a7931d6e6bdef8b9973bd5209ab -Author: Behdad Esfahbod -Date: Mon Jul 16 16:13:32 2012 -0400 - - [GSUB/GDEF] Guess glyph classes after substitution only if no GDEF - - Brings down Khmer failures with Daun Penh font from 36% to 20%. - - src/hb-ot-layout-gsubgpos-private.hh | 20 +++++++++++++------- - 1 file changed, 13 insertions(+), 7 deletions(-) - -commit fcdc5f1c8849a7f38d9f34f64d60c6d95d7501f7 -Author: Behdad Esfahbod -Date: Mon Jul 16 15:52:54 2012 -0400 - - [Indic] Categorize Khmer Ro - - Khmer failures down from 58% to 36%. - - src/hb-ot-shape-complex-indic-private.hh | 2 ++ - 1 file changed, 2 insertions(+) - -commit 78818124b17691ec2c647142fdb9ae743aa03dee -Author: Behdad Esfahbod -Date: Mon Jul 16 15:49:08 2012 -0400 - - [Indic] Reoder pre-base reordering Ra - - Brings down Malayalam failures from 14% down to 3%. - - src/hb-ot-shape-complex-indic.cc | 42 +++++++++++++++++++++++++++------------- - 1 file changed, 29 insertions(+), 13 deletions(-) - -commit 1a1dbe9a2787f226f3e43063da8eb6633438b0a0 -Author: Behdad Esfahbod -Date: Mon Jul 16 15:40:33 2012 -0400 - - [Indic] Rename - - src/hb-ot-shape-complex-indic.cc | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 46e645ec4b59f0a278347be11f40c7df700d5bb6 -Author: Behdad Esfahbod -Date: Mon Jul 16 15:30:05 2012 -0400 - - [Indic] Start implementing pre-base reordering - - src/hb-ot-shape-complex-indic.cc | 33 ++++++++++++++++++--------------- - 1 file changed, 18 insertions(+), 15 deletions(-) - -commit 921ce5b17daf06af8e17989a3e335b9f5df20483 -Author: Behdad Esfahbod -Date: Mon Jul 16 15:26:56 2012 -0400 - - [Indic] Rename - - No semantic change. - - src/hb-ot-shape-complex-indic.cc | 26 +++++++++++++------------- - 1 file changed, 13 insertions(+), 13 deletions(-) - -commit b504e060f008e95b1ba36c06600c9fea4f5d4808 -Author: Behdad Esfahbod -Date: Mon Jul 16 15:21:12 2012 -0400 - - [Indic] Implement After-Main Reph positioning - - Almost... - - src/hb-ot-shape-complex-indic.cc | 8 +++++++- - 1 file changed, 7 insertions(+), 1 deletion(-) - -commit 17d7de91d76406d3e92db37d9eef2fc615f06e68 -Author: Behdad Esfahbod -Date: Mon Jul 16 15:20:15 2012 -0400 - - [Indic] Apply 'pref' to pre-base reodering Ra - - No reordering yet. - - src/hb-ot-shape-complex-indic.cc | 10 ++++++++++ - 1 file changed, 10 insertions(+) - -commit 362d3db8d3527d0fef260a17d2466e92a4a25425 -Author: Behdad Esfahbod -Date: Mon Jul 16 15:15:28 2012 -0400 - - [Indic] Minor - - Should not be any semantic change. In preparation for implementing - pre-base reordering Ra. - - src/hb-ot-shape-complex-indic.cc | 8 +------- - 1 file changed, 1 insertion(+), 7 deletions(-) - -commit 70fe77bb9a25922bd34f206826d8731d901fb451 -Author: Behdad Esfahbod -Date: Mon Jul 16 14:52:18 2012 -0400 - - Minor - - src/hb-ot-shape-complex-indic.cc | 44 ++++++++++++++++++++-------------------- - 1 file changed, 22 insertions(+), 22 deletions(-) - -commit 2f903215c5da2330a37abe489a3f45f7c3fd5a09 -Author: Behdad Esfahbod -Date: Mon Jul 16 13:54:43 2012 -0400 - - Minor - - src/hb-ot-shape-complex-indic.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit a3e04bee2c2fa648759a87e460db6b4f1b685586 -Author: Behdad Esfahbod -Date: Mon Jul 16 13:47:19 2012 -0400 - - [Indic] Reorder virama only for old Indic spec - - src/hb-ot-shape-complex-indic.cc | 15 +++++++++++++-- - 1 file changed, 13 insertions(+), 2 deletions(-) - -commit 0de771b72da6b342b015e3556190821547a4011d -Author: Behdad Esfahbod -Date: Mon Jul 16 13:39:36 2012 -0400 - - [Indic] Categorize Khmer consonants - - src/hb-ot-shape-complex-indic.cc | 4 ++++ - 1 file changed, 4 insertions(+) - -commit d487fff266258eb1af056e9704cfb09d04251ddc -Author: Behdad Esfahbod -Date: Mon Jul 16 13:25:17 2012 -0400 - - Split matras without a Unicode decomposition - - This is a hack for now, to get us going with Khmer. This will be - refactored properly later to move the complex logic into complex - shapers. - - src/hb-unicode.cc | 22 ++++++++++++++++++++++ - 1 file changed, 22 insertions(+) - -commit 8aa801a6fd1a737fa20b851edf7528bdd6635b8b -Author: Behdad Esfahbod -Date: Mon Jul 16 13:24:26 2012 -0400 - - [Indic] Adjust position for split matras - - We are going to split matras without a Unicode decompositions in a way - that the second half takes the codepoint of the whole matra. So, - position them where the second half is supposed to end up. - - src/hb-ot-shape-complex-indic-private.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 1feb8345a5fd92297eb6796e6dce633bafa0c76e -Author: Behdad Esfahbod -Date: Mon Jul 16 13:23:40 2012 -0400 - - [GSUB] Allow 1-to-1 ligature substitutions! - - Apparently Uniscribe allows these, and they are used in some Khmer fonts - shipped with Windows, namely, Daun Penh. - - src/hb-ot-layout-gsub-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 29f106d7fba25e1464debd3a4831a7380d75c4c9 -Author: Behdad Esfahbod -Date: Mon Jul 16 12:05:35 2012 -0400 - - [Indic] Apply Above Forms - - src/hb-ot-shape-complex-indic.cc | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit fa2bd9fb63d83b657373764d4b657084d8327fc9 -Author: Behdad Esfahbod -Date: Sat Jul 14 12:15:54 2012 -0400 - - Further simplify atomic ops on Visual Studio - - src/hb-atomic-private.hh | 5 ----- - 1 file changed, 5 deletions(-) - -commit 0a492357016bc9a614d2a726f2006c10af68ca58 -Author: Behdad Esfahbod -Date: Fri Jul 13 13:20:49 2012 -0400 - - Minor - - src/hb-warning.cc | 29 +++++------------------------ - 1 file changed, 5 insertions(+), 24 deletions(-) - -commit 11c4ad439ef2b39a840f397a693b1ba643f52c21 -Author: Behdad Esfahbod -Date: Fri Jul 13 11:29:31 2012 -0400 - - Add -Wcast-align - - configure.ac | 3 +++ - src/Makefile.am | 2 +- - 2 files changed, 4 insertions(+), 1 deletion(-) - -commit a98d0ab18624501ee60551304f2715361ac643da -Author: Behdad Esfahbod -Date: Fri Jul 13 10:19:10 2012 -0400 - - Make sure HB_BEGIN_DECLS / HB_END_DECLS is only used in public headers - - So we can use them to switch default visibility to internal if desired, - and use these to make only declared symbols public. - - src/check-c-linkage-decls.sh | 10 +++++++++- - src/hb-fallback-shape-private.hh | 6 ------ - src/hb-ot-shape-complex-indic-machine.rl | 4 ---- - 3 files changed, 9 insertions(+), 11 deletions(-) - -commit 5c5bc96216c9ad58243eb3ed27b253e237f08ebe -Author: Behdad Esfahbod -Date: Fri Jul 13 10:15:37 2012 -0400 - - Allow overriding HB_BEGIN_DECLS / HB_END_DECLS - - src/hb-common.h | 2 ++ - 1 file changed, 2 insertions(+) - -commit ec5f5f0f8a1d5b3ff98452175bb4450a59897620 -Author: Behdad Esfahbod -Date: Fri Jul 13 10:00:42 2012 -0400 - - Don't export inline methods - - configure.ac | 3 +++ - 1 file changed, 3 insertions(+) - -commit 50a4e78b530563917eb606ff3b96dcc9eed5b3ee -Author: Behdad Esfahbod -Date: Fri Jul 13 09:48:39 2012 -0400 - - Check for exported weak symbols - - Ouch, all our C++ inline functions are being exported (weakly) already. - Fix coming. - - src/check-internal-symbols.sh | 8 +++++++- - 1 file changed, 7 insertions(+), 1 deletion(-) - -commit b5aeb95afeb13a66177caada9f5d5ad4cddbd35f -Author: Behdad Esfahbod -Date: Fri Jul 13 09:45:54 2012 -0400 - - Make hb_in_range() static - - src/hb-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 271c8f89075607c689938b4f5e60323d9a1acd70 -Author: Behdad Esfahbod -Date: Fri Jul 13 09:32:30 2012 -0400 - - Minor - - src/hb-ft.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 391f1ff5d894b60bfe0f606be436ffe7e43f7455 -Author: Behdad Esfahbod -Date: Fri Jul 13 09:04:07 2012 -0400 - - Fix _InterlockedCompareExchangePointer on x86 - - src/hb-atomic-private.hh | 6 ++++++ - 1 file changed, 6 insertions(+) - -commit 2023e2b54d91924dddfd228ffdbb46021135b068 -Author: Behdad Esfahbod -Date: Wed Jul 11 19:00:30 2012 -0400 - - [ft] Disable ppem setting - - The calculations were wrong. - - FreeType makes it really hard to set size and ppem independently. - For now, disable it. Need to come up with a fix later. - - src/hb-ft.cc | 3 +++ - 1 file changed, 3 insertions(+) - -commit cdf7444505a7ae49d20f9ba6776dea92c1fde2a6 -Author: Behdad Esfahbod -Date: Wed Jul 11 18:52:39 2012 -0400 - - [ft] Use unfitted kerning if x_ppem is zero - - src/hb-ft.cc | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit 6d08c7f1b3601095f9a12630045331dd0fe75380 -Author: Behdad Esfahbod -Date: Wed Jul 11 18:01:27 2012 -0400 - - Revert "Towards templatizing common Lookup types" - - This reverts commit 727135f3a9938c1ebd5b9f5015a46c7ccc8573c5. - - This is work-in-progress. Didn't mean to push it out just yet. - - src/hb-ot-layout-gpos-table.hh | 16 ++++++---------- - src/hb-ot-layout-gsub-table.hh | 24 ++++++++++-------------- - src/hb-ot-layout-gsubgpos-private.hh | 33 ++------------------------------- - 3 files changed, 18 insertions(+), 55 deletions(-) - -commit 552bf3a9f9651311084b7979805dbdc18c0335ca -Author: Behdad Esfahbod -Date: Wed Jul 11 16:44:51 2012 -0400 - - Bump WINNT version requested from 500 to 600 - - Since we use the OpenType versions of Uniscribe functions, we are - relying on that version of the WINNT API. Otherwise, usp10.h will hide - those symbols. - - src/hb-uniscribe.cc | 2 +- - src/hb-uniscribe.h | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit 9a5b421a64db1bb23d5c6ebbc3bf3f3a5513dc36 -Author: Behdad Esfahbod -Date: Wed Jul 11 16:35:04 2012 -0400 - - Fix build with no Unicode funcs implementations provided - - src/hb-unicode-private.hh | 1 + - 1 file changed, 1 insertion(+) - -commit 6efe1eca660135096f05987ac0ef9b635de6cdfd -Author: Behdad Esfahbod -Date: Wed Jul 11 15:30:08 2012 -0400 - - Update git.mk to upstream - - git.mk | 58 ++++++++++++++++++++++++++++++++++++++-------------------- - 1 file changed, 38 insertions(+), 20 deletions(-) - -commit 727135f3a9938c1ebd5b9f5015a46c7ccc8573c5 -Author: Behdad Esfahbod -Date: Tue Jul 3 22:15:35 2012 -0400 - - Towards templatizing common Lookup types - - src/hb-ot-layout-gpos-table.hh | 16 ++++++++++------ - src/hb-ot-layout-gsub-table.hh | 24 ++++++++++++++---------- - src/hb-ot-layout-gsubgpos-private.hh | 33 +++++++++++++++++++++++++++++++-- - 3 files changed, 55 insertions(+), 18 deletions(-) - -commit 1167c7bfc9e61f145e11da4881968293a4d3c0a9 -Author: Behdad Esfahbod -Date: Tue Jul 3 11:38:46 2012 -0400 - - Minor - - test/shaping/texts/in-tree/shaper-thai/MANIFEST | 2 +- - test/shaping/texts/in-tree/shaper-thai/misc/MANIFEST | 1 - - test/shaping/texts/in-tree/shaper-thai/script-thai/MANIFEST | 1 + - test/shaping/texts/in-tree/shaper-thai/script-thai/misc/MANIFEST | 1 + - .../shaper-thai/{misc/misc.txt => script-thai/misc/sara-am.txt} | 6 ++---- - 5 files changed, 5 insertions(+), 6 deletions(-) - -commit aa116582e69d18777448e7993078e5d6335ddfed -Author: Behdad Esfahbod -Date: Fri Jun 29 10:50:12 2012 -0400 - - Minor - - .../texts/in-tree/shaper-indic/indic/script-malayalam/misc/misc.txt | 1 + - 1 file changed, 1 insertion(+) - -commit 1f13c7185f02ea18d4fadd2ea8ad444bea863c39 -Author: Behdad Esfahbod -Date: Wed Jun 27 10:07:27 2012 -0400 - - Add TODO item - - TODO | 2 ++ - 1 file changed, 2 insertions(+) - -commit 12f5c0a222a2f0aebe63c0d367937a0ff985474a -Author: Behdad Esfahbod -Date: Tue Jun 26 11:16:13 2012 -0400 - - Fix check for Intel atomic ops - - configure.ac | 9 +++++---- - src/hb-atomic-private.hh | 2 +- - 2 files changed, 6 insertions(+), 5 deletions(-) - -commit 6932a41fb61ffc2901c260587b1e98ed9c2a7ea1 -Author: Behdad Esfahbod -Date: Tue Jun 26 10:46:31 2012 -0400 - - Use octal-escaped UTF-8 characters instead of plain text - - https://bugs.freedesktop.org/show_bug.cgi?id=50970 - - src/hb-private.hh | 17 ++++++++++++----- - 1 file changed, 12 insertions(+), 5 deletions(-) - -commit 8c0ea7bcb4409aaf8c96ad641f2db30003228ad0 -Author: Behdad Esfahbod -Date: Sun Jun 24 13:20:56 2012 -0400 - - Disable introspection again - - Until I figure out the build issues. Sigh... - - configure.ac | 2 +- - src/Makefile.am | 42 +++++++++++++++++++++--------------------- - 2 files changed, 22 insertions(+), 22 deletions(-) - -commit 8c5f5e6f5ec2b6a219fbdfc955f6299325a0adde -Author: Behdad Esfahbod -Date: Sun Jun 17 14:58:59 2012 -0400 - - Minor - - configure.ac | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 49f8e0cd9a5493ae26857c43bac0711cdf47c80d -Author: Behdad Esfahbod -Date: Sat Jun 16 15:40:03 2012 -0400 - - GStaticMutex is deprecated - - src/hb-mutex-private.hh | 9 +++++++++ - 1 file changed, 9 insertions(+) - -commit 5e113a4b7921ced6af2d53460a7a2f1d0185c02a -Author: Behdad Esfahbod -Date: Sat Jun 16 15:26:13 2012 -0400 - - g_thread_init() is deprecated - - test/api/hb-test.h | 2 ++ - 1 file changed, 2 insertions(+) - -commit 1bc1cb3603167f5da309336f7018c8b0608ac104 -Author: Behdad Esfahbod -Date: Sat Jun 16 15:21:55 2012 -0400 - - Make source more digestable for gobject-introspection - - src/hb-blob.cc | 2 +- - src/hb-blob.h | 2 +- - src/hb-buffer-private.hh | 4 ++-- - src/hb-buffer.h | 6 +++--- - src/hb-common.cc | 2 +- - src/hb-common.h | 4 ++-- - src/hb-font-private.hh | 6 +++--- - src/hb-font.cc | 2 +- - src/hb-font.h | 8 ++++---- - src/hb-set-private.hh | 2 +- - src/hb-set.h | 2 +- - src/hb-shape.h | 2 +- - src/hb-unicode-private.hh | 2 +- - src/hb-unicode.h | 2 +- - 14 files changed, 23 insertions(+), 23 deletions(-) - -commit 84d781e54cc75c81a06ba43fd7b1a74b8c7d9591 -Author: Behdad Esfahbod -Date: Sat Jun 16 15:21:41 2012 -0400 - - Flesh out gobject-introspection stuff a bit - - configure.ac | 1 + - src/Makefile.am | 23 +++++++++++++++++++++-- - 2 files changed, 22 insertions(+), 2 deletions(-) - -commit 49ee12ccd00870d4976339dc546c74eaf08a8fc0 -Author: Behdad Esfahbod -Date: Sat Jun 16 14:53:51 2012 -0400 - - Add TODO item - - TODO | 1 + - 1 file changed, 1 insertion(+) - -commit d3c8115d1ad09404b8970b98e6b5ab74510a35f6 -Author: Behdad Esfahbod -Date: Tue Jun 12 09:52:57 2012 -0400 - - Minor - - TODO | 2 ++ - 1 file changed, 2 insertions(+) - -commit 2cf301968cb8c1150cead0ab909457cdd3ee2d01 -Author: Behdad Esfahbod -Date: Sat Jun 9 14:58:01 2012 -0400 - - Add hb_object_lock/unlock() - - src/hb-object-private.hh | 32 ++++++++++++++++++++++++++------ - 1 file changed, 26 insertions(+), 6 deletions(-) - -commit 6a5661f1e69c937083e8d976cb12429b99180d54 -Author: Behdad Esfahbod -Date: Sat Jun 9 03:26:16 2012 -0400 - - Ugh - - util/shape-consumer.hh | 2 -- - 1 file changed, 2 deletions(-) - -commit f211d5c291b4c947cfd732e873627567173057e4 -Author: Behdad Esfahbod -Date: Sat Jun 9 03:11:22 2012 -0400 - - More Oops! Fix fast-path with sub-type==0 - - src/hb-ot-layout-gpos-table.hh | 2 +- - src/hb-ot-layout-gsub-table.hh | 2 +- - util/shape-consumer.hh | 2 ++ - 3 files changed, 4 insertions(+), 2 deletions(-) - -commit b1de6aa1f33b228afe231c8209aef90a5fa1ee5d -Author: Behdad Esfahbod -Date: Sat Jun 9 03:07:59 2012 -0400 - - Oops! - - src/hb-ot-layout-gpos-table.hh | 2 +- - src/hb-ot-layout-gsub-table.hh | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit b12e2549cbcd4f1ef46e66c75533686ee560f59b -Author: Behdad Esfahbod -Date: Sat Jun 9 03:05:20 2012 -0400 - - Minor - - src/hb-ot-layout-gsubgpos-private.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit faf0f20253d954cc4cfa4c967ece7573a5ddae3b -Author: Behdad Esfahbod -Date: Sat Jun 9 03:02:36 2012 -0400 - - Add sanitize() logic for fast-paths - - src/hb-ot-layout-gpos-table.hh | 15 ++++++++++++--- - src/hb-ot-layout-gsub-table.hh | 20 ++++++++++++++------ - 2 files changed, 26 insertions(+), 9 deletions(-) - -commit 4e766ff28d1fb831ded20666799787478129c07c -Author: Behdad Esfahbod -Date: Sat Jun 9 02:53:57 2012 -0400 - - Add fast-path for GPOS too - - Shaves another 3% for DejaVu Sans long Latin strings. - - src/hb-ot-layout-gpos-table.hh | 16 ++++++++++++++-- - 1 file changed, 14 insertions(+), 2 deletions(-) - -commit 993c51915f503f74ee00eee646b67bf2e3f73596 -Author: Behdad Esfahbod -Date: Sat Jun 9 02:48:16 2012 -0400 - - Add fast-path to GSUB to check coverage - - Shaves a good 10% off DejaVu Sans with simple Latin text for me. - Now, DejaVu is very ChainContext-intensive, but it's also a very - popular font! - - src/hb-ot-layout-gsub-table.hh | 18 ++++++++++++++++-- - 1 file changed, 16 insertions(+), 2 deletions(-) - -commit f19e0b0099ec73b8fedccacff4902403f5eabc42 -Author: Behdad Esfahbod -Date: Sat Jun 9 02:26:57 2012 -0400 - - Match input before backtrack - - Makes more sense, optimization-wise. - - src/hb-ot-layout-gsubgpos-private.hh | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 67bb9e8cea49a44be6996515e1c7d8cdc95a77e6 -Author: Behdad Esfahbod -Date: Sat Jun 9 02:02:46 2012 -0400 - - Add set add_coverage() to Coverage() - - src/hb-ot-layout-common-private.hh | 24 ++++++++++++++++++++++++ - src/hb-set-private.hh | 5 +++++ - 2 files changed, 29 insertions(+) - -commit 4952f0aa5b2f4368d9e3418252e0a1b9294cd5ee -Author: Behdad Esfahbod -Date: Sat Jun 9 01:39:11 2012 -0400 - - Minor - - src/hb-ot-layout-gsub-table.hh | 2 ++ - 1 file changed, 2 insertions(+) - -commit ad6a6f22401d6256e34521d0f52e91348c5ed4c9 -Author: Behdad Esfahbod -Date: Sat Jun 9 01:21:02 2012 -0400 - - Minor - - src/hb-ot-layout.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 46617a42133fbab151de4111a74dcbdc4e769c74 -Author: Behdad Esfahbod -Date: Sat Jun 9 01:18:58 2012 -0400 - - Fix cache implementation - - src/hb-cache-private.hh | 2 ++ - 1 file changed, 2 insertions(+) - -commit ce47613889aa3ff9b0067d3e51ba63cfdb139adb -Author: Behdad Esfahbod -Date: Sat Jun 9 01:10:26 2012 -0400 - - Micro-optimize - - I know... - - src/hb-ot-layout-gsubgpos-private.hh | 3 ++- - src/hb-ot-layout.cc | 46 ++++++++++++++++++++++-------------- - 2 files changed, 30 insertions(+), 19 deletions(-) - -commit 70416de298b811ab6be53a1c67f0d2531d99cd46 -Author: Behdad Esfahbod -Date: Sat Jun 9 00:56:41 2012 -0400 - - Minor - - src/hb-open-type-private.hh | 2 -- - 1 file changed, 2 deletions(-) - -commit 99159e52a3c9d5ae6c0fbdec64e7ed684fa70b61 -Author: Behdad Esfahbod -Date: Sat Jun 9 00:50:40 2012 -0400 - - Use linear search for small counts - - I see about 8% speedup with long strings with DejaVu Sans. - - src/hb-open-type-private.hh | 19 ++++++++++++++----- - 1 file changed, 14 insertions(+), 5 deletions(-) - -commit caf0412690542e58e23246dccc4b2fb83bd652ec -Author: Behdad Esfahbod -Date: Sat Jun 9 00:26:32 2012 -0400 - - Minor - - src/hb-ot-layout-common-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 0f8fea71a66b1e01ee4398967db464393f478d42 -Author: Behdad Esfahbod -Date: Sat Jun 9 00:24:38 2012 -0400 - - Minor. Hide _hb_ot_layout_get_glyph_property() - - src/hb-ot-layout-private.hh | 4 ---- - src/hb-ot-layout.cc | 2 +- - 2 files changed, 1 insertion(+), 5 deletions(-) - -commit 44b8ee0c90d7b1dd91e5848114141e3186534a0f -Author: Behdad Esfahbod -Date: Sat Jun 9 00:23:24 2012 -0400 - - Minor - - src/hb-ot-layout-gpos-table.hh | 3 ++- - src/hb-ot-layout.cc | 2 +- - 2 files changed, 3 insertions(+), 2 deletions(-) - -commit 7b84c536c10ab90ed96a033d88e9ad232d46c5b8 -Author: Behdad Esfahbod -Date: Fri Jun 8 22:04:23 2012 -0400 - - In MarkBase attachment, only attach to first of a MultipleSubst sequence - - This is apparently what Uniscribe does. Test case is: - - SEEN FATHA TEH ALEF - - with Arabic Typesetting. Originally reported by Khaled Hosny. - - src/hb-ot-layout-gpos-table.hh | 7 ++++++- - src/hb-ot-layout-gsubgpos-private.hh | 8 ++++++++ - 2 files changed, 14 insertions(+), 1 deletion(-) - -commit ec57e0c5655ced5109c4638bf802772d336448fd -Author: Behdad Esfahbod -Date: Fri Jun 8 21:47:23 2012 -0400 - - Set lig_comp for MultipleSubst components - - To be used for correct mark attachment to first component of a - MultipleSubst output. That's what Uniscribe does. - - src/hb-ot-layout-gsub-table.hh | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit e085fcf7ca302eb7802a032197c022819e7e7074 -Author: Behdad Esfahbod -Date: Fri Jun 8 21:45:00 2012 -0400 - - Remove unused buffer->replace_glyphs_be16 - - src/hb-buffer-private.hh | 3 --- - src/hb-buffer.cc | 23 ----------------------- - src/hb-ot-layout-gsubgpos-private.hh | 8 -------- - 3 files changed, 34 deletions(-) - -commit 3ec77d6ae0510dc2c0ec64382c4948bc6e109844 -Author: Behdad Esfahbod -Date: Fri Jun 8 21:44:06 2012 -0400 - - Don't use replace_glyphs_be for MultipleSubst - - src/hb-ot-layout-gsub-table.hh | 5 ++++- - src/hb-ot-layout-gsubgpos-private.hh | 7 ++++++- - 2 files changed, 10 insertions(+), 2 deletions(-) - -commit 4b7192125ffd295091d6b3a0bdfca7011947c2ca -Author: Behdad Esfahbod -Date: Fri Jun 8 21:41:46 2012 -0400 - - Minor - - src/hb-ot-layout-gsub-table.hh | 3 ++- - src/hb-ot-layout-gsubgpos-private.hh | 8 ++++++++ - 2 files changed, 10 insertions(+), 1 deletion(-) - -commit 4508789f4b5e0ece5620d35598aeeb7ecbe3e3aa -Author: Behdad Esfahbod -Date: Fri Jun 8 21:32:43 2012 -0400 - - Add test for static initializers and other C++ stuff - - src/Makefile.am | 3 ++- - src/check-static-inits.sh | 33 +++++++++++++++++++++++++++++++++ - 2 files changed, 35 insertions(+), 1 deletion(-) - -commit 56bd259b9ac22dd98913c8ca2e2cf7b30b632373 -Author: Behdad Esfahbod -Date: Fri Jun 8 21:29:18 2012 -0400 - - Minor - - src/check-internal-symbols.sh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 4538b47bf08e73e7f5cce6337df5fe154233c168 -Author: Behdad Esfahbod -Date: Fri Jun 8 21:01:45 2012 -0400 - - Remove done TODO items - - TODO | 7 +------ - 1 file changed, 1 insertion(+), 6 deletions(-) - -commit bc8357ea7b4c0d7c715aae353176434fb9460205 -Author: Behdad Esfahbod -Date: Fri Jun 8 21:01:20 2012 -0400 - - Merge clusters during normalization - - src/hb-ot-shape-normalize.cc | 11 +++++++---- - 1 file changed, 7 insertions(+), 4 deletions(-) - -commit fe3dabc08df7501010564f8844bd4d11771cc6a4 -Author: Behdad Esfahbod -Date: Fri Jun 8 20:56:05 2012 -0400 - - Minor - - src/hb-buffer.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit e88e14421a33ca5bdfd76bc0b2f801fcb6e78911 -Author: Behdad Esfahbod -Date: Fri Jun 8 20:55:21 2012 -0400 - - Use merge_clusters instead of open-coding - - src/hb-buffer.cc | 16 ++++------------ - 1 file changed, 4 insertions(+), 12 deletions(-) - -commit 330a2af3ff0e12c01b3b451357b8bdc83b2e9b47 -Author: Behdad Esfahbod -Date: Fri Jun 8 20:40:02 2012 -0400 - - Use merge_clusters when forming Unicode clusters - - src/hb-ot-shape.cc | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit bd300df9adf955c1e69b3783c1c061876940fb8b -Author: Behdad Esfahbod -Date: Fri Jun 8 20:35:18 2012 -0400 - - Minor - - src/hb-object-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit e51d2b6ed1c794ac28c5610bfd01dbc9fb383633 -Author: Behdad Esfahbod -Date: Fri Jun 8 20:33:27 2012 -0400 - - Extend into main buffer if extension hit end of out-buffer merging clusters - - src/hb-buffer.cc | 5 +++++ - src/hb-ot-shape-complex-misc.cc | 9 --------- - 2 files changed, 5 insertions(+), 9 deletions(-) - -commit 5ced012d9f58c51d557a835593c3277e35fe3b35 -Author: Behdad Esfahbod -Date: Fri Jun 8 20:31:32 2012 -0400 - - Extend end when merging clusters in out-buffer - - src/hb-buffer.cc | 4 ++++ - 1 file changed, 4 insertions(+) - -commit 72c0a1878313e7232d554bc226f4c6dc01418a95 -Author: Behdad Esfahbod -Date: Fri Jun 8 20:30:03 2012 -0400 - - Extend clusters backward in out-buffer - - src/hb-buffer.cc | 8 ++++++++ - src/hb-ot-shape-complex-misc.cc | 2 -- - 2 files changed, 8 insertions(+), 2 deletions(-) - -commit cd5891493df06fdb92e1ae526d29dee8df250235 -Author: Behdad Esfahbod -Date: Fri Jun 8 20:27:53 2012 -0400 - - Extend clusters backwards, into the out-buffer too - - src/hb-buffer.cc | 9 +++++++++ - 1 file changed, 9 insertions(+) - -commit 77471e037122548bfc08cacea6fbb472831c34f3 -Author: Behdad Esfahbod -Date: Fri Jun 8 20:21:02 2012 -0400 - - Clear output buffer before calling GSUB pause functions - - src/hb-ot-map.cc | 3 +++ - 1 file changed, 3 insertions(+) - -commit cafa6f372721fd6b0a7c0da68b9421d3e94931bc -Author: Behdad Esfahbod -Date: Fri Jun 8 20:17:10 2012 -0400 - - When merging clusters, extend the end - - src/hb-buffer.cc | 20 ++++++++++++++------ - 1 file changed, 14 insertions(+), 6 deletions(-) - -commit 28ce5fa454b54f728044ee12a9dbe7d016783d4a -Author: Behdad Esfahbod -Date: Fri Jun 8 20:13:56 2012 -0400 - - Merge clusters when ligating - - src/hb-ot-layout-gsub-table.hh | 1 + - 1 file changed, 1 insertion(+) - -commit 2bb1761ccb7d300744ced6427165f4ea75ddf96c -Author: Behdad Esfahbod -Date: Fri Jun 8 19:29:44 2012 -0400 - - Minor, use next_glyph() - - src/hb-ot-layout-gsub-table.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 5f68f8675e5ccaee91f5a90d86bc3b022b9a54e4 -Author: Behdad Esfahbod -Date: Fri Jun 8 19:23:43 2012 -0400 - - Minor - - src/hb-ot-shape.cc | 1 + - 1 file changed, 1 insertion(+) - -commit 872969126756456a69bf958f3df6e56a26e57b0a -Author: Behdad Esfahbod -Date: Fri Jun 8 14:18:30 2012 -0400 - - Increase Uniscribe MAX_ITEMS - - src/hb-uniscribe.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit dbffa4c83d29c689ee4cd8a1c53e84521028c711 -Author: Behdad Esfahbod -Date: Fri Jun 8 14:08:32 2012 -0400 - - Fix Uniscribe charset matching - - Previously was failing to match fonts that didn't support CHARSET_ANSI. - - There still remains a problem with the Uniscribe backend, in that if a - font with the same family name is installed, and is newer, the native - one is preferred over the font we provide. Fixing it requires rewriting - the name table with a unique family name... - - src/hb-uniscribe.cc | 1 + - 1 file changed, 1 insertion(+) - -commit 82e8bd8628aeb37835fb019a71b6bdac87824b97 -Author: Behdad Esfahbod -Date: Fri Jun 8 11:48:29 2012 -0400 - - Remove unused code - - src/hb-uniscribe.cc | 4 +--- - 1 file changed, 1 insertion(+), 3 deletions(-) - -commit 6da9dbff21b47fb10794b8d6cb747393c9eab7dd -Author: Behdad Esfahbod -Date: Fri Jun 8 10:53:35 2012 -0400 - - Remove zero-width chars in the fallback shaper too - - src/hb-fallback-shape.cc | 16 ++++++++++++---- - 1 file changed, 12 insertions(+), 4 deletions(-) - -commit 68b76121f83fc9b87dc84f03e8bef38d4332734d -Author: Behdad Esfahbod -Date: Fri Jun 8 10:43:49 2012 -0400 - - Fix regressions introduced by sed. Ouch! - - Introduced in 99c2695759a6af855d565f4994bbdf220570bb48. - Broken mark-mark and mark-ligature stuff. - - src/hb-ot-layout-gpos-table.hh | 6 +++--- - src/hb-ot-layout-gsubgpos-private.hh | 2 +- - 2 files changed, 4 insertions(+), 4 deletions(-) - -commit 0dd86f9f6849d82d60a99e66b6928795cfb2a3c7 -Author: Behdad Esfahbod -Date: Fri Jun 8 10:23:03 2012 -0400 - - Whitespace - - src/hb-uniscribe.cc | 144 ++++++++++++++++++++++++++-------------------------- - 1 file changed, 72 insertions(+), 72 deletions(-) - -commit 8e7beba7c3b3dea3cb3b7e280c5aab4f13b92d31 -Author: Behdad Esfahbod -Date: Fri Jun 8 10:22:06 2012 -0400 - - Fix Uniscribe clusters with direction-overriden Arabic - - src/hb-uniscribe.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit b069c3c31bfbbf160eb897c7474be9ea90ed4fc1 -Author: Behdad Esfahbod -Date: Fri Jun 8 10:10:29 2012 -0400 - - Really fix override-direction in Uniscribe - - src/hb-uniscribe.cc | 10 +++++++--- - 1 file changed, 7 insertions(+), 3 deletions(-) - -commit fcd6f5326166e993b8f5222efbaffe916da98f0a -Author: Behdad Esfahbod -Date: Fri Jun 8 09:59:43 2012 -0400 - - Unbreak Uniscribe - - Oops. hb_tag_t and OPENTYPE_TAG have different endianness. Perhaps - something to add API for in hb-uniscribe.h - - src/hb-private.hh | 12 +++++++++++- - src/hb-uniscribe.cc | 8 ++++---- - 2 files changed, 15 insertions(+), 5 deletions(-) - -commit 29eac8f591fdb86f1c4fdc0a6ab63910ff286b84 -Author: Behdad Esfahbod -Date: Fri Jun 8 09:26:17 2012 -0400 - - Override direction in Uniscribe backend - - Matches OT backend now. - - src/hb-uniscribe.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 1c1233e57686d77d89fe3ac1dc53de9ee60798c1 -Author: Behdad Esfahbod -Date: Fri Jun 8 09:20:53 2012 -0400 - - Make Uniscribe backend respect selected script - - src/hb-uniscribe.cc | 15 +++++++++++++-- - 1 file changed, 13 insertions(+), 2 deletions(-) - -commit 0bb0f5d41976ae27c5c7a51cbb82144b48315a4b -Author: Behdad Esfahbod -Date: Thu Jun 7 17:42:48 2012 -0400 - - Add note re _NullPool - - src/hb-open-type-private.hh | 1 + - 1 file changed, 1 insertion(+) - -commit 2a3d911fe0ff5d6442659d3381d5b08c30ee2896 -Author: Behdad Esfahbod -Date: Thu Jun 7 17:31:46 2012 -0400 - - Fix alignment-requirement missmatch - - Detected by clang and lots of cmdline options. - - src/hb-buffer-private.hh | 2 +- - src/hb-buffer.cc | 5 +++-- - src/hb-ot-layout-gsub-table.hh | 4 ++-- - src/hb-ot-layout-gsubgpos-private.hh | 2 +- - 4 files changed, 7 insertions(+), 6 deletions(-) - -commit 6095de1635441af16340c7b2c5a6b4c531ec242f -Author: Behdad Esfahbod -Date: Thu Jun 7 15:48:18 2012 -0400 - - Fix clang warning with NO_MT path - - src/hb-shape.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit a18280a8ce9128fc9d75f8a367ae8ce0886a9599 -Author: Behdad Esfahbod -Date: Thu Jun 7 15:44:12 2012 -0400 - - Fix warnings produced by clang analyzer - - src/hb-icu.cc | 6 ++++-- - test/api/test-blob.c | 2 +- - test/api/test-buffer.c | 4 ++-- - util/helper-cairo.cc | 2 +- - 4 files changed, 8 insertions(+), 6 deletions(-) - -commit 7ec83051c05777c0e6e2eea6ef6c71effede9527 -Author: Behdad Esfahbod -Date: Thu Jun 7 13:32:57 2012 -0400 - - Fix warnings - - util/ansi-print.cc | 30 +++++++++++++----------------- - 1 file changed, 13 insertions(+), 17 deletions(-) - -commit 73cb02de2dd28b09d4aa76230132248215cfe83d -Author: Behdad Esfahbod -Date: Wed Jun 6 11:29:25 2012 -0400 - - Minor - - src/hb-private.hh | 26 +++++++++++++------------- - 1 file changed, 13 insertions(+), 13 deletions(-) - -commit 79e2b4791fe95ede9a1e6b1c71ccc6e36c4fc0e5 -Author: Behdad Esfahbod -Date: Wed Jun 6 11:27:17 2012 -0400 - - Fix ASSERT_POD on clang - - As reported by bashi. Not tested. - - src/hb-private.hh | 8 ++++++-- - 1 file changed, 6 insertions(+), 2 deletions(-) - -commit 4282d2f3771d6510c27b62e54cc1254d6f2389b3 -Author: Behdad Esfahbod -Date: Wed Jun 6 03:42:36 2012 -0400 - - Enabled ICU again - - configure.ac | 1 - - 1 file changed, 1 deletion(-) - -commit 6220e5fc0dad728e67a92e838d3ac275d032f2c7 -Author: Behdad Esfahbod -Date: Wed Jun 6 03:30:09 2012 -0400 - - Add ASSERT_POD for most objects - - src/hb-blob.cc | 1 + - src/hb-buffer-private.hh | 2 ++ - src/hb-font-private.hh | 3 +++ - src/hb-object-private.hh | 2 ++ - src/hb-private.hh | 2 +- - src/hb-set-private.hh | 4 +++- - src/hb-unicode-private.hh | 1 + - 7 files changed, 13 insertions(+), 2 deletions(-) - -commit a00a63b5ef503fafa87e26b517732b2214e01719 -Author: Behdad Esfahbod -Date: Wed Jun 6 03:07:01 2012 -0400 - - Add macros to check that types are POD - - configure.ac | 1 + - src/hb-open-type-private.hh | 32 ++++++++++++++++++++------------ - src/hb-private.hh | 24 ++++++++++++++++++++++++ - 3 files changed, 45 insertions(+), 12 deletions(-) - -commit 61eb60c129e865e92f6a5767a88c44a391f4d413 -Author: Behdad Esfahbod -Date: Tue Jun 5 21:14:04 2012 -0400 - - Don't link to libstdc++ - - New try. - - src/Makefile.am | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 81a4b9fd4eb8995c5930db1df3669db93661eb52 -Author: Behdad Esfahbod -Date: Tue Jun 5 20:49:51 2012 -0400 - - Remove unused hb_static_mutex_t - - src/hb-mutex-private.hh | 11 ----------- - 1 file changed, 11 deletions(-) - -commit 4a3a9897b3698dd09c3e880b3ddd4db24c6fb460 -Author: Behdad Esfahbod -Date: Tue Jun 5 20:39:07 2012 -0400 - - Disable Intel atomic ops on mingw32 - - Apparently the configure test is not enough... - - src/hb-atomic-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 0594a2448440208efa0acac9a5d8d52d43108289 -Author: Behdad Esfahbod -Date: Tue Jun 5 20:35:40 2012 -0400 - - Cleanup TRUE/FALSE vs true/false - - src/hb-atomic-private.hh | 4 +-- - src/hb-blob.cc | 28 +++++++++--------- - src/hb-buffer-private.hh | 2 +- - src/hb-buffer.cc | 38 ++++++++++++------------- - src/hb-buffer.h | 4 +-- - src/hb-fallback-shape.cc | 2 +- - src/hb-font.cc | 22 +++++++-------- - src/hb-ft.cc | 22 +++++++-------- - src/hb-glib.cc | 16 +++++------ - src/hb-graphite2.cc | 8 +++--- - src/hb-icu.cc | 30 ++++++++++---------- - src/hb-ot-layout.cc | 28 +++++++++--------- - src/hb-ot-shape-complex-private.hh | 2 +- - src/hb-ot-shape-normalize.cc | 16 +++++------ - src/hb-ot-shape.cc | 4 +-- - src/hb-private.hh | 18 ++++-------- - src/hb-set.cc | 2 +- - src/hb-set.h | 2 +- - src/hb-shape.cc | 6 ++-- - src/hb-tt-font.cc | 12 ++++---- - src/hb-unicode.cc | 8 +++--- - src/hb-uniscribe.cc | 18 ++++++------ - src/main.cc | 2 +- - util/hb-shape.cc | 2 +- - util/helper-cairo.cc | 16 +++++------ - util/main-font-text.hh | 2 +- - util/options.cc | 58 +++++++++++++++++++------------------- - util/options.hh | 2 +- - util/view-cairo.hh | 2 +- - 29 files changed, 185 insertions(+), 191 deletions(-) - -commit e1ac38f8dd04c29d2d4140f5a492cdaf25d72901 -Author: Behdad Esfahbod -Date: Tue Jun 5 20:31:49 2012 -0400 - - Fix inert buffer set_length() with zero - - Oops! - - src/hb-buffer.cc | 3 +++ - 1 file changed, 3 insertions(+) - -commit 04bc1eebe7a304c0e6f86ab6814c65889f152602 -Author: Behdad Esfahbod -Date: Tue Jun 5 20:16:56 2012 -0400 - - Add configure tests for Intel atomic intrinsics - - configure.ac | 17 +++++++++++++++++ - src/hb-atomic-private.hh | 12 ++++++------ - src/hb-mutex-private.hh | 2 +- - 3 files changed, 24 insertions(+), 7 deletions(-) - -commit 68c75b46977beb57e35082db26be712b3cd65678 -Author: Behdad Esfahbod -Date: Tue Jun 5 19:55:46 2012 -0400 - - Shuffle - - configure.ac | 16 ++++++++-------- - 1 file changed, 8 insertions(+), 8 deletions(-) - -commit f64b2ebf82c5f355cd95806478cd30c00b1a2731 -Author: Behdad Esfahbod -Date: Tue Jun 5 19:23:29 2012 -0400 - - Remove last static initializer - - We're free! Lazy or immediate... - - src/hb-ft.cc | 2 + - src/hb-shape.cc | 150 ++++++++++++++++++++++++++++++++++++++++---------------- - 2 files changed, 110 insertions(+), 42 deletions(-) - -commit 4a8a529068fc380298bb05b9d878bede3e9f4da1 -Author: Behdad Esfahbod -Date: Tue Jun 5 19:17:02 2012 -0400 - - Make hb-view err if all shapers failed - - util/view-cairo.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 04aed572f112b96a6033cd6c3df7bdba5e29e93c -Author: Behdad Esfahbod -Date: Tue Jun 5 18:30:19 2012 -0400 - - Make hb-ft static-initializer free - - src/hb-common.cc | 5 ++--- - src/hb-ft.cc | 38 +++++++++++++++++++++++++++----------- - 2 files changed, 29 insertions(+), 14 deletions(-) - -commit be4560a3b5e8599cbe2b29a01a60c21c9e2b194f -Author: Behdad Esfahbod -Date: Tue Jun 5 18:14:03 2012 -0400 - - Undo default unicode-funcs to avoid static initializer again - - src/hb-buffer.cc | 2 +- - src/hb-glib.cc | 23 ++++++++++++----------- - src/hb-icu.cc | 24 +++++++++++++----------- - src/hb-unicode-private.hh | 10 +++++----- - src/hb-unicode.cc | 26 ++++++++++++++------------ - 5 files changed, 45 insertions(+), 40 deletions(-) - -commit 093171cceca63e48e735bbf05a2c11b1b7e95ef1 -Author: Behdad Esfahbod -Date: Tue Jun 5 18:00:45 2012 -0400 - - Implement lock-free hb_language_t - - Another static-initialization down. One more to go. - - src/hb-common.cc | 66 +++++++++++++++++++++++++++++++++++++++++++++----------- - 1 file changed, 54 insertions(+), 12 deletions(-) - -commit 6843ce01be0df501ef3149a2c1c54cdfb693195d -Author: Behdad Esfahbod -Date: Tue Jun 5 17:27:20 2012 -0400 - - Add atomic-pointer functions - - Gonig to use these for lock-free linked-lists, to be used for - hb_language_t among other things. - - src/hb-atomic-private.hh | 21 +++++++++++++++++++++ - 1 file changed, 21 insertions(+) - -commit cdafe3a7d8483ac586e2c16487e2a09164e0f65c -Author: Behdad Esfahbod -Date: Tue Jun 5 16:34:49 2012 -0400 - - Add gcc intrinsics implementations for atomic and mutex - - configure.ac | 4 ++-- - src/hb-atomic-private.hh | 11 +++++++++-- - src/hb-mutex-private.hh | 51 +++++++++++++++++++++++++++++++++++++++++------- - src/hb-object-private.hh | 4 +++- - src/hb-warning.cc | 14 ++++++------- - 5 files changed, 65 insertions(+), 19 deletions(-) - -commit d970d2899b36a2fbd002b224b8bd37b0906fdd5f -Author: Behdad Esfahbod -Date: Tue Jun 5 16:06:28 2012 -0400 - - Add gcc implementation for atomic ops - - src/hb-atomic-private.hh | 9 +++++++-- - 1 file changed, 7 insertions(+), 2 deletions(-) - -commit 0e253e97af71e2a7ead153589f61fd579a247502 -Author: Behdad Esfahbod -Date: Tue Jun 5 15:37:19 2012 -0400 - - Add a mutex to object header - - Removes one more static-initialization. A few more to go. - - src/hb-common.cc | 24 +++++++++--------------- - src/hb-mutex-private.hh | 19 +++++++------------ - src/hb-object-private.hh | 36 ++++++++++++++++++++++-------------- - src/hb-private.hh | 11 +++++------ - 4 files changed, 43 insertions(+), 47 deletions(-) - -commit a2b471df821b32625d127f83b2f90e6d6a967e7e -Author: Behdad Esfahbod -Date: Tue Jun 5 15:17:44 2012 -0400 - - Remove static initializers from indic - - src/hb-ot-shape-complex-indic.cc | 50 +++++++++++++++++++++++++++++++--------- - 1 file changed, 39 insertions(+), 11 deletions(-) - -commit f06ab8a4262c759b4723614fd28f55ee77aa8466 -Author: Behdad Esfahbod -Date: Tue Jun 5 12:31:51 2012 -0400 - - Better hide nil objects and make them const - - src/hb-blob.cc | 34 +++++++++++------------ - src/hb-buffer.cc | 39 +++++++++++++------------- - src/hb-font.cc | 70 +++++++++++++++++++++++------------------------ - src/hb-ft.cc | 49 +++++++++++++++------------------ - src/hb-glib.cc | 25 ++++++++--------- - src/hb-icu.cc | 25 ++++++++--------- - src/hb-set.cc | 16 +++++------ - src/hb-unicode-private.hh | 11 ++++---- - src/hb-unicode.cc | 34 +++++++++++------------ - 9 files changed, 146 insertions(+), 157 deletions(-) - -commit bf93b636c4963cbc32d5fba7ace1053db6719192 -Author: Behdad Esfahbod -Date: Tue Jun 5 14:17:32 2012 -0400 - - Remove constructor from hb_prealloced_array_t - - This was causing all object types to be non-POD and have static - initializers. We don't need that! - - Now, most nil objects just moved from .bss to .data. Fixing for that - coming soon. - - src/hb-object-private.hh | 3 +++ - src/hb-private.hh | 4 +++- - src/hb-set-private.hh | 1 + - 3 files changed, 7 insertions(+), 1 deletion(-) - -commit 7037291aacb858f8090fd7d9028c196cc1a21703 -Author: Behdad Esfahbod -Date: Tue Jun 5 13:30:11 2012 -0400 - - Check for atexit() - - configure.ac | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit f1971a217424bd6db5c7072ba5cf197f318d4e47 -Author: Behdad Esfahbod -Date: Tue Jun 5 13:04:20 2012 -0400 - - Fix warnings - - src/indic.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit b0a6e58bb3dda72dcce37d54d987591630a3db6c -Author: Behdad Esfahbod -Date: Mon Jun 4 10:21:22 2012 -0400 - - s/script-punjabi/script-gurmukhi/ - - test/shaping/texts/in-tree/shaper-indic/indic/MANIFEST | 2 +- - .../shaper-indic/indic/{script-punjabi => script-gurmukhi}/MANIFEST | 0 - .../indic/{script-punjabi => script-gurmukhi}/misc/MANIFEST | 0 - .../indic/{script-punjabi => script-gurmukhi}/misc/misc.txt | 0 - .../indic/{script-punjabi => script-gurmukhi}/utrrs/LICENSE | 0 - .../indic/{script-punjabi => script-gurmukhi}/utrrs/MANIFEST | 0 - .../shaper-indic/indic/{script-punjabi => script-gurmukhi}/utrrs/README | 0 - .../indic/{script-punjabi => script-gurmukhi}/utrrs/SOURCES | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-Consonants.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-DependentVowels.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-Digits.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-GurmukhiSpecific.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-IndependentVowels.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-Reserved.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-VariousSigns.txt | 0 - .../indic/{script-punjabi => script-gurmukhi}/utrrs/codepoint/MANIFEST | 0 - .../utrrs/gpos/IndicFontFeatureGPOS-AboveBase.txt | 0 - .../utrrs/gpos/IndicFontFeatureGPOS-BelowBase.txt | 0 - .../indic/{script-punjabi => script-gurmukhi}/utrrs/gpos/MANIFEST | 0 - .../utrrs/gsub/IndicFontFeatureGSUB.txt | 0 - .../indic/{script-punjabi => script-gurmukhi}/utrrs/gsub/MANIFEST | 0 - 21 files changed, 1 insertion(+), 1 deletion(-) - -commit c1885483120d4b686b2fe95b217dce7248e040b1 -Author: Behdad Esfahbod -Date: Mon Jun 4 08:56:00 2012 -0400 - - Add --verbose to hb-shape - - Just turns all --show-* options on. - - util/options.cc | 11 +++++++++++ - util/options.hh | 1 - - 2 files changed, 11 insertions(+), 1 deletion(-) - -commit 9fc7a11469113d31d8095757c4fc038c3427d44a -Author: Behdad Esfahbod -Date: Mon Jun 4 08:28:19 2012 -0400 - - Remove comma at the end of enum - - As reported by Jonathan Kew on the list. - - src/hb-ot-shape-complex-indic.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 3b8fd9c48f4bde368bf2d465c148b9743a9216ee -Author: Behdad Esfahbod -Date: Sun Jun 3 15:54:19 2012 -0400 - - Remove const from ref_count.ref_count - - According to Tom Hacohen this was breaking build with some compilers. - - In file included from hb-buffer-private.hh:35:0, - from hb-ot-map-private.hh:32, - from hb-ot-shape-private.hh:32, - from hb-ot-shape.cc:29: - hb-object-private.hh: In constructor '_hb_object_header_t::_hb_object_header_t()': - hb-object-private.hh:97:8: error: uninitialized const member in 'struct hb_reference_count_t' - hb-object-private.hh:51:25: note: 'hb_reference_count_t::ref_count' should be initialized - In file included from hb-ot-shape.cc:33:0: - hb-set-private.hh: In constructor '_hb_set_t::_hb_set_t()': - hb-set-private.hh:37:8: note: synthesized method '_hb_object_header_t::_hb_object_header_t()' first required here - hb-ot-shape.cc: In function 'void hb_ot_shape_glyphs_closure(hb_font_t*, hb_buffer_t*, const hb_feature_t*, unsigned int, hb_set_t*)': - hb-ot-shape.cc:521:12: note: synthesized method '_hb_set_t::_hb_set_t()' first required here - - src/hb-object-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 70600dbf626808a30fb0fd8b7ae860e64d9ffe87 -Author: Behdad Esfahbod -Date: Sun Jun 3 15:52:51 2012 -0400 - - Minor - - src/hb-object-private.hh | 14 +++++++------- - 1 file changed, 7 insertions(+), 7 deletions(-) - -commit ae62166519291057316a9d15cea3f1570fcb5eaf -Author: Behdad Esfahbod -Date: Sat Jun 2 12:21:19 2012 -0400 - - [util] Minor - - util/options.cc | 4 +--- - util/options.hh | 26 ++++++++++++++------------ - util/shape-consumer.hh | 4 +++- - 3 files changed, 18 insertions(+), 16 deletions(-) - -commit 5db0683a822f70c914468430cda6487cee740ae3 -Author: Behdad Esfahbod -Date: Sat Jun 2 12:13:08 2012 -0400 - - [util] Make hb-shape continue shaping other lines if shapers failed - - util/hb-ot-shape-closure.cc | 3 +++ - util/hb-shape.cc | 36 +++++++++++++++++++++++++------ - util/main-font-text.hh | 2 +- - util/options.cc | 34 ++++++++++++++++++++++------- - util/options.hh | 33 ++++++++++++++-------------- - util/shape-consumer.hh | 17 ++++++++++++--- - util/view-cairo.cc | 47 +++++++--------------------------------- - util/view-cairo.hh | 52 +++++++++++++++++++++++++++++++++++++++------ - 8 files changed, 143 insertions(+), 81 deletions(-) - -commit 96a9ef0c9fca8d58d8dc6baf6b262d96587abee0 -Author: Behdad Esfahbod -Date: Fri Jun 1 13:46:26 2012 -0400 - - Remove tab character like other "zero-width" characters - - Uniscribe does that, this make comparing results to Uniscribe - easier. - - src/hb-unicode-private.hh | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit cd6a5493411fea30a04466128e1a37b4d89c6a72 -Author: Behdad Esfahbod -Date: Fri Jun 1 13:45:25 2012 -0400 - - Remove unused variable - - util/hb-ot-shape-closure.cc | 2 -- - 1 file changed, 2 deletions(-) - -commit 0558d55bac7fb9279aac859b465e7c0e3ad97492 -Author: Behdad Esfahbod -Date: Mon May 28 10:46:47 2012 -0400 - - Remove hb_atomic_int_set/get() - - We never use them in fact... - - I'm just adjusting these as I better understand the requirements of - the code and the guarantees of each operation. - - src/hb-atomic-private.hh | 8 -------- - src/hb-object-private.hh | 12 +++++------- - 2 files changed, 5 insertions(+), 15 deletions(-) - -commit 4efdffec095e19ceeb4b319d60201e84ece30fd9 -Author: Behdad Esfahbod -Date: Sun May 27 22:39:48 2012 -0400 - - Minor Malayalam test case - - From https://bugs.freedesktop.org/show_bug.cgi?id=45166 - - .../texts/in-tree/shaper-indic/indic/script-malayalam/misc/misc.txt | 1 + - 1 file changed, 1 insertion(+) - -commit dfff5b3021016d3a472c100272fd8e2f52307860 -Author: Behdad Esfahbod -Date: Sun May 27 22:07:04 2012 -0400 - - Add Myanmar test case - - test/shaping/texts/in-tree/shaper-indic/south-east-asian/MANIFEST | 1 + - .../texts/in-tree/shaper-indic/south-east-asian/script-myanmar/MANIFEST | 1 + - .../in-tree/shaper-indic/south-east-asian/script-myanmar/misc/MANIFEST | 1 + - .../in-tree/shaper-indic/south-east-asian/script-myanmar/misc/misc.txt | 1 + - 4 files changed, 4 insertions(+) - -commit bce095524b3e69a47f8e88a2fb02d6ab537f9b0a -Author: Behdad Esfahbod -Date: Sun May 27 11:29:21 2012 -0400 - - Add hb_font_get_glyph_name() and hb_font_get_glyph_from_name() - - TODO | 1 + - src/hb-font-private.hh | 2 ++ - src/hb-font.cc | 80 +++++++++++++++++++++++++++++++++++---------- - src/hb-font.h | 28 ++++++++++++++++ - src/hb-ft.cc | 52 ++++++++++++++++++++++++----- - util/hb-ot-shape-closure.cc | 9 ++--- - util/options.cc | 10 ++---- - 7 files changed, 142 insertions(+), 40 deletions(-) - -commit bc145658bdaeaeea0cdbd719e2756f09a2dbfb48 -Author: Behdad Esfahbod -Date: Sun May 27 10:45:57 2012 -0400 - - Warn if no Unicode functions implementation is found - - src/hb-unicode-private.hh | 1 + - src/hb-warning.cc | 13 +++++++++++++ - 2 files changed, 14 insertions(+) - -commit a3547330fa88e30a138f6f17e60d9c7d1e316622 -Author: Behdad Esfahbod -Date: Sun May 27 10:20:47 2012 -0400 - - Cleanup atomic ops on OS X - - src/hb-atomic-private.hh | 7 +++---- - 1 file changed, 3 insertions(+), 4 deletions(-) - -commit e4b6d503c5575ddbf49249e3fef693d75ae75170 -Author: Behdad Esfahbod -Date: Sun May 27 10:11:13 2012 -0400 - - Don't use atomic ops in hb_cache_t - - We don't care about linearizability, so unprotected int read/write - are enough, no need for expensive memory barriers. It's a cache, - that's all. - - src/hb-cache-private.hh | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 819faa05307aa192015f4b43d8103a35e87d6cc7 -Author: Behdad Esfahbod -Date: Sun May 27 10:09:18 2012 -0400 - - Minor - - src/hb-atomic-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 303d5850ec0516e198db241456b0cfc4899ef9c0 -Author: Behdad Esfahbod -Date: Sun May 27 10:01:13 2012 -0400 - - Fix Windows atomic get/set - - According to: - http://msdn.microsoft.com/en-us/library/65tt87y8.aspx - - MemoryBarrier() is the right macro to protect these, not _ReadBarrier() - and/or _WriteBarrier(). - - src/hb-atomic-private.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 8f8956a55fff95e5ad529d2f124c9528d1f4f81d -Author: Behdad Esfahbod -Date: Fri May 25 14:30:24 2012 -0400 - - [util] Add hidden --shaper that is equivalent of --shapers - - util/helper-cairo.cc | 2 +- - util/options.cc | 6 +++++- - 2 files changed, 6 insertions(+), 2 deletions(-) - -commit 29ce446d3161b7ea5874352e5f8eb33cd59338c3 -Author: Behdad Esfahbod -Date: Fri May 25 14:17:54 2012 -0400 - - Add set iterator - - src/hb-set-private.hh | 26 +++++++++++++++++++++++--- - src/hb-set.cc | 7 +++++++ - src/hb-set.h | 11 +++++++++-- - util/hb-ot-shape-closure.cc | 8 +++++--- - 4 files changed, 44 insertions(+), 8 deletions(-) - -commit 62c3e111fce0ad34960871134c2eb6da572df303 -Author: Behdad Esfahbod -Date: Fri May 25 13:48:00 2012 -0400 - - Add set symmetric difference - - src/hb-set-private.hh | 5 +++++ - src/hb-set.cc | 7 +++++++ - src/hb-set.h | 6 ++++++ - 3 files changed, 18 insertions(+) - -commit 27aba594c90b4444c35273a38f5fedc8e09d9a88 -Author: Behdad Esfahbod -Date: Thu May 24 15:00:01 2012 -0400 - - Minor - - src/hb-ot-shape-complex-indic-machine.rl | 2 +- - src/hb-ot-shape-complex-indic.cc | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit cde1c0114ba66a45d907e81a49bf625e0dc946b0 -Author: Behdad Esfahbod -Date: Thu May 24 10:46:39 2012 -0400 - - Fix hb_atomic_int_set() implementation for HB_NO_MT - - As pointed out by Jonathan Kew. - - src/hb-atomic-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 3b9b7133bea787f787170beea073f185e36d2327 -Author: Behdad Esfahbod -Date: Wed May 23 22:00:25 2012 -0400 - - Update TODO - - TODO | 18 ++++++++++++++++-- - 1 file changed, 16 insertions(+), 2 deletions(-) - -commit ff3524c21aabf5d0d6014d1ce1b3e12ca5f0990f -Author: Behdad Esfahbod -Date: Wed May 23 21:50:43 2012 -0400 - - Add Arabic diacritics tests - - .../shaper-arabic/script-arabic/misc/MANIFEST | 2 +- - .../script-arabic/misc/diacritics/MANIFEST | 5 + - .../script-arabic/misc/diacritics/lam-alef.txt | 28 + - .../misc/diacritics/language-arabic.txt | 695 +++++++++++++++++++++ - .../misc/diacritics/language-persian.txt | 48 ++ - .../misc/diacritics/language-urdu.txt | 188 ++++++ - .../misc/{ => diacritics}/ligature-diacritics.txt | 0 - 7 files changed, 965 insertions(+), 1 deletion(-) - -commit ed2f1363a391add41f10cff18792003583a10257 -Author: Behdad Esfahbod -Date: Tue May 22 22:12:22 2012 -0400 - - Fix substitution glyph class propagation - - The old code was doing nothing. - - Still got to find an example font+string that makes this matter, but - need this for fixing synthetic GDEF anyway. - - src/hb-ot-layout-gsub-table.hh | 10 ++++------ - src/hb-ot-layout-gsubgpos-private.hh | 23 ++++++----------------- - 2 files changed, 10 insertions(+), 23 deletions(-) - -commit a6de53664df9549a5dc93752647ea1d3bb336f7b -Author: Behdad Esfahbod -Date: Fri May 18 15:04:35 2012 -0400 - - Add CJK Compatibility Ideographs tests - - From: - http://people.mozilla.org/~jdaggett/tests/cjkcompat.html - - test/shaping/texts/in-tree/shaper-default/MANIFEST | 3 ++- - .../in-tree/shaper-default/{script-japanese => script-han}/MANIFEST | 0 - test/shaping/texts/in-tree/shaper-default/script-han/misc/MANIFEST | 1 + - .../texts/in-tree/shaper-default/script-han/misc/cjk-compat.txt | 3 +++ - test/shaping/texts/in-tree/shaper-default/script-hiragana/MANIFEST | 1 + - .../shaper-default/{script-japanese => script-hiragana}/misc/MANIFEST | 0 - .../{script-japanese => script-hiragana}/misc/kazuraki-liga-lines.txt | 0 - .../{script-japanese => script-hiragana}/misc/kazuraki-liga.txt | 0 - 8 files changed, 7 insertions(+), 1 deletion(-) - -commit 20fdb0f41d81b226e076a4830d4b0d03da31fc19 -Author: Behdad Esfahbod -Date: Thu May 17 22:04:45 2012 -0400 - - Add a lock-free cache type for int->int functions - - To be used for cmap and advance caching if desired. - - TODO | 2 ++ - src/Makefile.am | 1 + - src/hb-cache-private.hh | 72 +++++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-font.cc | 2 ++ - 4 files changed, 77 insertions(+) - -commit bd908b4f102b5ae18a3ad4a8b137994cf74b86ce -Author: Behdad Esfahbod -Date: Thu May 17 22:02:08 2012 -0400 - - Implement hb_atomic_int_set() for OS X - - src/hb-atomic-private.hh | 2 ++ - 1 file changed, 2 insertions(+) - -commit 022a05ae90f30bcddff413022e0cd801809b5390 -Author: Behdad Esfahbod -Date: Thu May 17 21:53:24 2012 -0400 - - Minor - - src/hb-atomic-private.hh | 4 +++- - src/hb-mutex-private.hh | 4 +++- - 2 files changed, 6 insertions(+), 2 deletions(-) - -commit 22afd66a30d01b6771405e76777306f600807bea -Author: Behdad Esfahbod -Date: Thu May 17 21:23:49 2012 -0400 - - Add hb_atomic_int_set() again - - src/hb-atomic-private.hh | 9 ++++++--- - 1 file changed, 6 insertions(+), 3 deletions(-) - -commit 4aa7258cb16176a89e1547fee8f86571fdd98307 -Author: Behdad Esfahbod -Date: Thu May 17 21:01:04 2012 -0400 - - Fix type conflicts on Windows without glib - - src/hb-tt-font.cc | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit f039e79d5438a8fc4a3ec11a387bbfc0f6b83024 -Author: Behdad Esfahbod -Date: Thu May 17 20:55:12 2012 -0400 - - Don't use min/max as function names - - They can be macros on some systems. Eg. mingw32. - - src/hb-set-private.hh | 4 ++-- - src/hb-set.cc | 4 ++-- - 2 files changed, 4 insertions(+), 4 deletions(-) - -commit 34961e3198e27fa37fd4cfdad12ef86a2e9e51c2 -Author: Behdad Esfahbod -Date: Thu May 17 20:50:38 2012 -0400 - - Prefer native atomic/mutex ops to glib's - - src/hb-atomic-private.hh | 29 ++++++++++++++++------------- - src/hb-mutex-private.hh | 24 ++++++++++++++---------- - 2 files changed, 30 insertions(+), 23 deletions(-) - -commit ec3ba4b96fc4f262db1ff9f906628c32f26c9b7d -Author: Behdad Esfahbod -Date: Thu May 17 20:30:46 2012 -0400 - - Move atomic ops into their own header - - src/Makefile.am | 1 + - src/hb-atomic-private.hh | 78 ++++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-mutex-private.hh | 1 - - src/hb-object-private.hh | 52 ++------------------------------ - src/hb-warning.cc | 2 +- - 5 files changed, 82 insertions(+), 52 deletions(-) - -commit de0878395be5c72d7058faac8f64715bdd42eb3b -Author: Behdad Esfahbod -Date: Thu May 17 20:15:49 2012 -0400 - - Update TODO - - TODO | 12 ++++++++---- - 1 file changed, 8 insertions(+), 4 deletions(-) - -commit c87b317f0eb118e67134e8e419a6d65e0fa40d30 -Author: Behdad Esfahbod -Date: Tue May 15 23:53:18 2012 -0400 - - [util] Add hb-ot-shape-closure tool - - Computes all the glyphs that may be generated given a font and - set of Unicode characters. - - The order of the Unicode characters is irrelevant. - - Sample output: - - behdad:util 0$ ./hb-ot-shape-closure Doulos\ SIL\ Regular.ttf f - f f_f - - behdad:util 0$ ./hb-ot-shape-closure Doulos\ SIL\ Regular.ttf i - i - - behdad:util 0$ ./hb-ot-shape-closure Doulos\ SIL\ Regular.ttf fi - f f_i f_f_i f_f i - - behdad:util 0$ ./hb-ot-shape-closure DroidNaskh-Regular.ttf ب - uni0628 uni0628.init uni0628.medi uni0628.fina - - behdad:util 0$ ./hb-ot-shape-closure DroidNaskh-Regular.ttf ا - uni0627 uni0627.fina - - behdad:util 0$ ./hb-ot-shape-closure DroidNaskh-Regular.ttf با - uni0627 uni0627.fina uni0628 uni0628.init uni0628.medi uni0628.fina - - behdad:util 0$ ./hb-ot-shape-closure DroidNaskh-Regular.ttf با --no-glyph-names - 5 6 133 134 135 136 - - configure.ac | 2 +- - util/Makefile.am | 22 ++++++--- - util/hb-ot-shape-closure.cc | 112 ++++++++++++++++++++++++++++++++++++++++++++ - util/options.hh | 12 +++++ - 4 files changed, 140 insertions(+), 8 deletions(-) - -commit 45675e589e6ef9f81b2a4199cf33e3e7778433a8 -Author: Behdad Esfahbod -Date: Tue May 15 23:10:39 2012 -0400 - - [util] Refactor to accommodate for upcoming new tool - - util/Makefile.am | 10 +++-- - util/hb-shape.cc | 70 +++++++++++++++------------------- - util/hb-view.cc | 8 ++-- - util/{hb-view.hh => main-font-text.hh} | 48 +++++++++++------------ - util/shape-consumer.hh | 69 +++++++++++++++++++++++++++++++++ - 5 files changed, 135 insertions(+), 70 deletions(-) - -commit 1d6846db9ebf84561bb30a4e48c6c43184914099 -Author: Behdad Esfahbod -Date: Sun May 13 18:09:29 2012 +0200 - - [Indic] Apply vatu feature after cjct - - Testing with old Deva spec this reduces failures. - Test sequence: U+0915,U+094D,U+0930. - - src/hb-ot-shape-complex-indic.cc | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 8caf5dcd66550351c6038b9ae7ecc5254eed64ff -Author: Behdad Esfahbod -Date: Sun May 13 17:10:18 2012 +0200 - - Minor - - util/ansi-print.cc | 67 +++++++++++++++++++++++++++--------------------------- - 1 file changed, 33 insertions(+), 34 deletions(-) - -commit 617f4ac46f1084859d2034c08760e31e52d3bec3 -Author: Behdad Esfahbod -Date: Sun May 13 16:48:03 2012 +0200 - - Refactor - - src/hb-ot-shape-complex-indic.cc | 44 +++++++++++++++++++++------------------- - 1 file changed, 23 insertions(+), 21 deletions(-) - -commit 5e4e21fce4b548b0b8a5951bc8f35a9f27428192 -Author: Behdad Esfahbod -Date: Sun May 13 16:46:08 2012 +0200 - - Revert "[Indic] Refactoring" - - This reverts commit 0831061efb78983b9c6e1e72574c977e56383c08. - - src/hb-ot-shape-complex-indic.cc | 28 ++++++++-------------------- - 1 file changed, 8 insertions(+), 20 deletions(-) - -commit 3f18236a03880c0960f5990dc90685f6146951a6 -Author: Behdad Esfahbod -Date: Sun May 13 16:20:10 2012 +0200 - - Fix more warnings - - src/hb-ot-layout-common-private.hh | 2 +- - src/hb-ot-layout-gsub-table.hh | 2 +- - src/hb-ot-shape-complex-indic.cc | 8 ++++---- - 3 files changed, 6 insertions(+), 6 deletions(-) - -commit 9f377ed3210fe7d9f15e0c4f82020556f9a8f6f0 -Author: Behdad Esfahbod -Date: Sun May 13 16:13:44 2012 +0200 - - Fix more unused-var warnings - - src/hb-ot-shape-complex-arabic.cc | 7 +++++-- - src/hb-ot-shape-complex-indic.cc | 25 ++++++++++++++++++------- - src/hb-ot-shape-complex-misc.cc | 21 +++++++++++++++------ - src/hb-ot-shape-normalize.cc | 13 ++++++------- - src/hb-set.cc | 2 +- - 5 files changed, 45 insertions(+), 23 deletions(-) - -commit d993e72331c6c4c783b803e01e4d4a02c8e3eb77 -Author: Behdad Esfahbod -Date: Sun May 13 16:04:36 2012 +0200 - - Fix hb_face_set_index() - - src/hb-font.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 93345edcbea49bdf0e22f26b5b74a23e601dfab4 -Author: Behdad Esfahbod -Date: Sun May 13 16:01:08 2012 +0200 - - Fix warnings - - src/hb-fallback-shape.cc | 4 ++-- - src/hb-private.hh | 54 ++++++++++++++++++++++++------------------------ - 2 files changed, 29 insertions(+), 29 deletions(-) - -commit eace47b173807d94b29a6490d0bc3c9f8f6168d1 -Author: Behdad Esfahbod -Date: Sun May 13 15:54:43 2012 +0200 - - Minor - - src/hb-ot-shape-complex-indic.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 99c2695759a6af855d565f4994bbdf220570bb48 -Author: Behdad Esfahbod -Date: Sun May 13 15:45:18 2012 +0200 - - Add accessort to buffer for current info, current pos, and prev info - - src/hb-buffer-private.hh | 9 ++++++++ - src/hb-ot-layout-gpos-table.hh | 44 ++++++++++++++++++------------------ - src/hb-ot-layout-gsub-table.hh | 28 +++++++++++------------ - src/hb-ot-layout-gsubgpos-private.hh | 28 +++++++++++------------ - src/hb-ot-shape-complex-arabic.cc | 4 ++-- - src/hb-ot-shape-complex-misc.cc | 5 ++-- - src/hb-ot-shape-normalize.cc | 16 ++++++------- - src/hb-ot-shape.cc | 8 +++---- - 8 files changed, 76 insertions(+), 66 deletions(-) - -commit 6736f3c5b09af6a71935afc04248b033e171a9b2 -Author: Behdad Esfahbod -Date: Sun May 13 15:21:06 2012 +0200 - - Minor - - src/hb-ot-layout-gsubgpos-private.hh | 7 +++---- - 1 file changed, 3 insertions(+), 4 deletions(-) - -commit 5df809b655bb1318115651fd87d4555cdd9b41cb -Author: Behdad Esfahbod -Date: Sun May 13 15:17:51 2012 +0200 - - [GSUB/GPOS] Remove context_length - - The spec doesn't say contextual matching should be done this way, - and AOTS doesn't do it either. It was inherited from old HarfBuzz. - Remove it. - - src/hb-ot-layout-common-private.hh | 1 - - src/hb-ot-layout-gpos-table.hh | 3 --- - src/hb-ot-layout-gsub-table.hh | 6 ++---- - src/hb-ot-layout-gsubgpos-private.hh | 32 +++++++++++--------------------- - 4 files changed, 13 insertions(+), 29 deletions(-) - -commit 28b9d502bb69a8045818d5f6113ded9c59a56bd7 -Author: Behdad Esfahbod -Date: Sun May 13 15:04:00 2012 +0200 - - Minor - - src/hb-ot-layout-gsubgpos-private.hh | 11 +++++------ - 1 file changed, 5 insertions(+), 6 deletions(-) - -commit 50f630c17ced1bd59b4da4f27728dcfbb876400a -Author: Behdad Esfahbod -Date: Sun May 13 13:03:44 2012 +0200 - - Remove ioctl checks - - Ended up not using terminal size after all. - - configure.ac | 2 +- - util/ansi-print.cc | 11 ----------- - 2 files changed, 1 insertion(+), 12 deletions(-) - -commit db0de7cd616e1e9d6fde6659e52a541477fb0148 -Author: Behdad Esfahbod -Date: Sun May 13 13:02:38 2012 +0200 - - [util] Set ansi color only on color change - - util/ansi-print.cc | 28 +++++++++++++++++++++++----- - 1 file changed, 23 insertions(+), 5 deletions(-) - -commit 912c5ff80a255edb8145b9db69e2ed828f8eab5c -Author: Behdad Esfahbod -Date: Sun May 13 12:51:02 2012 +0200 - - Reduce default margin - - util/options.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 52e7b1424a3613122e9ca30879298df42733acda -Author: Behdad Esfahbod -Date: Sun May 13 02:02:58 2012 +0200 - - [util] Make hb-view print out Unicode art if stdout is a terminal - - configure.ac | 4 +- - util/Makefile.am | 4 + - util/ansi-print.cc | 411 ++++++++++++++++++++++++++++++++++++++++++++++ - util/ansi-print.hh | 39 +++++ - util/helper-cairo-ansi.cc | 102 ++++++++++++ - util/helper-cairo-ansi.hh | 39 +++++ - util/helper-cairo.cc | 70 +++++++- - util/options.hh | 3 + - 8 files changed, 668 insertions(+), 4 deletions(-) - -commit 8b2753ce2bea8a21ea757186d86dc4a55d8c8b0c -Author: Behdad Esfahbod -Date: Sun May 13 00:54:07 2012 +0200 - - Minor - - TODO | 2 ++ - 1 file changed, 2 insertions(+) - -commit 30874b4819a99cc84fa39e794266685e1b8735d2 -Author: Behdad Esfahbod -Date: Sat May 12 15:54:27 2012 +0200 - - [util] Make tools default to stdin if no text is provided - - One less argument to type in typical testing workflow! - - util/hb-view.hh | 4 +++- - util/options.cc | 12 +++++------- - util/options.hh | 2 +- - 3 files changed, 9 insertions(+), 9 deletions(-) - -commit 2097951110e33fe091ed9515ae77e2683c46c889 -Author: Behdad Esfahbod -Date: Sat May 12 15:41:48 2012 +0200 - - [util] Change default font size of hb-view to 256 - - Most common usecase of hb-view is to test rendering of short words for - testing / inspection. Not having to type "--font-size 150" each time - isn't such a bad idea... - - util/options.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 737dded2e08fcc19935db51c05201a987184d337 -Author: Behdad Esfahbod -Date: Sat May 12 15:40:11 2012 +0200 - - Fix compiler warnings - - src/hb-ot-shape-complex-indic.cc | 5 ----- - 1 file changed, 5 deletions(-) - -commit f538fcb538f1decb4100ba89457eb83f2350d64b -Author: Behdad Esfahbod -Date: Sat May 12 15:34:40 2012 +0200 - - [test] Make tool usage easier by not requiring "--stdin" - - Just default to it. Added "--help" instead to get usage. - - test/shaping/hb_test_tools.py | 9 ++++----- - 1 file changed, 4 insertions(+), 5 deletions(-) - -commit a3273e30bb7ffd727ffc18af5716dfef705d3d94 -Author: Behdad Esfahbod -Date: Sat May 12 13:34:18 2012 +0200 - - [Indic] Add more Malayalam tests - - .../indic/script-malayalam/misc/misc.txt | 38 ++++++++++++++++++++++ - 1 file changed, 38 insertions(+) - -commit 7f852b644b8143492a02edfc853114aaa23446bd -Author: Behdad Esfahbod -Date: Fri May 11 23:10:31 2012 +0200 - - Fix compiler warnings - - src/hb-ot-shape-complex-indic.cc | 2 +- - src/hb-ot-shape-complex-private.hh | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit f7e8dcfd4fc377e3d786b097beb656284240456d -Author: Behdad Esfahbod -Date: Fri May 11 22:00:06 2012 +0200 - - [Indic] Unbreak Devanagari - - And this, concludes the HarfBuzz Massala Hackfest. - - I like to specially thank Jonathan Kew for doing all the decription and - letting me get commit points. - - configure.ac | 2 +- - src/hb-ot-shape-complex-indic-private.hh | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit 6a091df9b403b147ef78f3974610dedf4ce1e08a -Author: Behdad Esfahbod -Date: Fri May 11 21:42:27 2012 +0200 - - [Indic] Disambiguate sub vs post vs above matras - - Bengali is at *just* above 5% now. - - src/hb-ot-shape-complex-indic-private.hh | 31 +++++++++++++++---------------- - src/hb-ot-shape-complex-indic.cc | 12 ++++++------ - 2 files changed, 21 insertions(+), 22 deletions(-) - -commit 9d0d319a4a7e85d922e58fade0f40caae1c9f109 -Author: Behdad Esfahbod -Date: Fri May 11 21:36:32 2012 +0200 - - [Indic] Position Bengali Reph before matras - - src/hb-ot-shape-complex-indic.cc | 62 +++++++++++++++++++++++----------------- - 1 file changed, 36 insertions(+), 26 deletions(-) - -commit f89367251109af235f4f0446c13c261a5a4a6f72 -Author: Behdad Esfahbod -Date: Fri May 11 21:10:03 2012 +0200 - - [Indic] Start categorizing Reph per script - - src/hb-ot-shape-complex-indic.cc | 41 ++++++++++++++++++++++++++++++++++------ - 1 file changed, 35 insertions(+), 6 deletions(-) - -commit a913b024d84973556094fd64ce5f0b7106fcc3b5 -Author: Behdad Esfahbod -Date: Fri May 11 20:59:26 2012 +0200 - - [Indic] Apply 'init' feature for Bengali - - Error down from 20% to 7%. - - src/hb-ot-shape-complex-indic.cc | 15 +++++++++++++++ - 1 file changed, 15 insertions(+) - -commit eed903b1644e087178438959664a6a57bebc398b -Author: Behdad Esfahbod -Date: Fri May 11 20:50:53 2012 +0200 - - [Indic] Refactor for the arrival of 'init' feature - - Yep, on Bengali now! - - src/hb-ot-shape-complex-indic.cc | 52 +++++++++++++++++++++++++++------------- - 1 file changed, 36 insertions(+), 16 deletions(-) - -commit 18c06e189bd078affbb84c3bb5bb80687a227c5e -Author: Behdad Esfahbod -Date: Fri May 11 20:02:14 2012 +0200 - - [Indic] Add Uniscribe bug feature for dotted circle - - For dotted-circle independent clusters, Uniscribe does no Reph shaping - for the exact sequence Ra+Halant+25CC. Which also is the only possible - sequence with 25CC at the end. - - src/hb-ot-shape-complex-indic-machine.rl | 4 +++- - src/hb-ot-shape-complex-indic-private.hh | 3 ++- - src/hb-ot-shape-complex-indic.cc | 20 ++++++++++++++++---- - 3 files changed, 21 insertions(+), 6 deletions(-) - -commit 5b16de97bcc4b24da4c77ca6c1a42e814d8cdbd1 -Author: Behdad Esfahbod -Date: Fri May 11 19:55:42 2012 +0200 - - [Indic] Add tests for dottedcircle - - .../in-tree/shaper-indic/indic/script-devanagari/misc/MANIFEST | 1 + - .../shaper-indic/indic/script-devanagari/misc/dottedcircle.txt | 7 +++++++ - 2 files changed, 8 insertions(+) - -commit 0831061efb78983b9c6e1e72574c977e56383c08 -Author: Behdad Esfahbod -Date: Fri May 11 19:07:58 2012 +0200 - - [Indic] Refactoring - - src/hb-ot-shape-complex-indic.cc | 26 ++++++++++++++++++-------- - 1 file changed, 18 insertions(+), 8 deletions(-) - -commit 7ea58db311bfb0d8f804d1e9f4a1f004bd45075a -Author: Behdad Esfahbod -Date: Fri May 11 18:58:57 2012 +0200 - - Minor - - src/hb-ot-shape-complex-indic.cc | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 9c09928989316e2befe00d52ed66e055637ccd36 -Author: Behdad Esfahbod -Date: Fri May 11 18:46:35 2012 +0200 - - [Indic] Allow multiple Consonants in Vowel/NBSP syllables - - Uniscribe allows multiple Halant+Consonant after a Vowel. - Tests: - ↦ * U+0905,U+094D,U+092B,U+094D,930,94d,930 - - src/hb-ot-shape-complex-indic-machine.rl | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 8c0aa486f31e9b6cbb31ce295573b53b0a214124 -Author: Behdad Esfahbod -Date: Fri May 11 18:13:42 2012 +0200 - - [Indic] Allow two Nuktas per consonant - - Uniscribe allows up to two nuktas per consonant and one per matra. It does so - indepent of whether the consonant already has a nukta in it. Tests: - - * U+0916,U+093C,U+0941 - * U+0959,U+093C,U+0941 - * U+0916,U+093C,U+093C,U+0941 - * U+0959,U+093C,U+093C,U+0941 - * U+0916,U+093C,U+093C,U+093C,U+0941 - * U+0959,U+093C,U+093C,U+093C,U+0941 - * 915,93c,93c,,94d,U+0916,U+093C,U+093C,U+093e,93c,93c - - src/hb-ot-shape-complex-indic-machine.rl | 7 ++++--- - 1 file changed, 4 insertions(+), 3 deletions(-) - -commit 3399a06e7033651ee926448737bdb18e553c1796 -Author: Behdad Esfahbod -Date: Fri May 11 17:54:26 2012 +0200 - - [Indic] Fix U+0952 and similar classification to match Uniscribe - - See comments. - - src/hb-ot-shape-complex-indic-machine.rl | 1 + - src/hb-ot-shape-complex-indic.cc | 16 +++++++++++----- - 2 files changed, 12 insertions(+), 5 deletions(-) - -commit 11aa3ef18dbc6ac9561bd119f5ca2c1aa1209c3a -Author: Behdad Esfahbod -Date: Fri May 11 17:30:48 2012 +0200 - - [Indic] Treat U+0951..U+0954 all similar to U+0952 - - src/hb-ot-shape-complex-indic.cc | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 5f131d3226131df440d7f36655e57f6effcae204 -Author: Behdad Esfahbod -Date: Fri May 11 17:29:40 2012 +0200 - - [GSUB/GPOS/Indic] Apply GSUB/GPOS within syllables only - - This does not apply to the context matchings. - - This regresses tests right now. And we are not sure whether this is - the right thing to do for GPOS. But we'll figure out. - - src/hb-ot-layout-gsubgpos-private.hh | 18 ++++++++++++------ - 1 file changed, 12 insertions(+), 6 deletions(-) - -commit 8fd83aaf6e50c2c25002c51fee26d82847a61769 -Author: Behdad Esfahbod -Date: Fri May 11 17:18:37 2012 +0200 - - [GSUB/GPOS] Fix wrong buffer access in backward skippy mask matching - - src/hb-ot-layout-gsubgpos-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit ff24d1081af08a887895975285d7e38f5d07bc37 -Author: Behdad Esfahbod -Date: Fri May 11 17:07:08 2012 +0200 - - [Indic] Don't use syllable serial value 0 - - src/hb-ot-shape-complex-indic-machine.rl | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 892eb7878238d810a2a70f9dadbf958207bfeaa1 -Author: Behdad Esfahbod -Date: Fri May 11 16:54:40 2012 +0200 - - [Indic] Implement Uniscribe Reph+Matra+Halant bug feature - - src/hb-ot-shape-complex-indic.cc | 14 +++++++++----- - 1 file changed, 9 insertions(+), 5 deletions(-) - -commit 67ea29af49bb08ee679914076808327992cf6676 -Author: Behdad Esfahbod -Date: Fri May 11 16:51:23 2012 +0200 - - [Indic] Add example of different Uniscribe behavior - - src/hb-ot-shape-complex-indic.cc | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -commit ebe29733d44fe0fa9fb30f946ab0dd7a40336a24 -Author: Behdad Esfahbod -Date: Fri May 11 16:43:12 2012 +0200 - - [Indic] Add runtime Uniscribe bug compatibility mode! - - Enable by setting envvar: - - HB_OT_INDIC_OPTIONS=uniscribe-bug-compatible - - Plus, LeftMatra+Halant "feature". - - src/hb-ot-shape-complex-indic.cc | 44 ++++++++++++++++++++++++++++++---------- - 1 file changed, 33 insertions(+), 11 deletions(-) - -commit 616e692e2950d326b6c46aba5b5bead3cc29d315 -Author: Behdad Esfahbod -Date: Fri May 11 16:25:02 2012 +0200 - - [Indic] Add #define UNISCRIBE_BUG_COMPATIBLE 1 - - src/hb-ot-shape-complex-indic.cc | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 6782bdae3be0357da1dadc7b806a43ceefa67a90 -Author: Behdad Esfahbod -Date: Fri May 11 16:23:43 2012 +0200 - - [Indic] Fix Left Matra + Halant reordering - - As can be seen in: U+092B,U+093F,U+094D - - src/hb-ot-shape-complex-indic.cc | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -commit 3c2ea9481b1028e927e615a5434ebf8edcb5f891 -Author: Behdad Esfahbod -Date: Fri May 11 16:23:38 2012 +0200 - - Minor - - src/hb-ot-shape-complex-indic.cc | 73 ++++++++++++++++++++-------------------- - 1 file changed, 37 insertions(+), 36 deletions(-) - -commit c071b99f150a9344a2056dfeba8c613f8a5602db -Author: Behdad Esfahbod -Date: Fri May 11 16:22:46 2012 +0200 - - [Indic] Add test for Left Matra with Halant - - Uniscribe doesn't move the Halant, we do. And do a broken job of it now. - - .../shaper-indic/indic/script-devanagari/misc/tricky-reordering.txt | 1 + - 1 file changed, 1 insertion(+) - -commit 203d71069c45048b6dd8fa22b61fd8f2c844b4f6 -Author: Behdad Esfahbod -Date: Fri May 11 16:01:44 2012 +0200 - - [GSUB/GPOS] Check all glyph masks when matching input - - src/hb-ot-layout-gsubgpos-private.hh | 18 ++++++++++++------ - 1 file changed, 12 insertions(+), 6 deletions(-) - -commit 668c6046c1b3af3bd316bda0cc8636f2a5e8df42 -Author: Behdad Esfahbod -Date: Fri May 11 15:34:13 2012 +0200 - - [Indic] Apply Reph mask to all POS_REPH glyphs - - Needed for upcoming changes to GSUB/GPOS mask matching. - - src/hb-ot-shape-complex-indic.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 4be46bade26faf13f7b4d447e9cc608e183955dc -Author: Behdad Esfahbod -Date: Fri May 11 14:39:01 2012 +0200 - - [Indic] Fix state machine to backtrack - - src/hb-ot-shape-complex-indic-machine.rl | 42 +++++++++++++++----------------- - src/hb-private.hh | 2 ++ - 2 files changed, 21 insertions(+), 23 deletions(-) - -commit cee7187447b76b22e1bb6136d137b35ac49c3a5d -Author: Behdad Esfahbod -Date: Fri May 11 11:41:39 2012 +0200 - - [Indic] Move syllable tracking from Indic to generic layer - - This is to incorporate it into GSUB/GPOS processing. - - src/hb-ot-layout-gpos-table.hh | 1 + - src/hb-ot-layout-gsub-table.hh | 3 ++- - src/hb-ot-layout-gsubgpos-private.hh | 3 --- - src/hb-ot-layout-private.hh | 4 +--- - src/hb-ot-shape-complex-indic-machine.rl | 2 +- - src/hb-ot-shape-complex-indic-private.hh | 1 - - src/hb-ot-shape-complex-indic.cc | 8 +++----- - src/hb-ot-shape-complex-private.hh | 13 ++++++++----- - 8 files changed, 16 insertions(+), 19 deletions(-) - -commit 3bf27a9f0e92aa31b464bd3b9fdea5933c9ae8b1 -Author: Behdad Esfahbod -Date: Fri May 11 11:17:23 2012 +0200 - - [Indic] Disable conjuncts when a ZWJ happens - - Not that the code makes any difference since the presence of ZWJ itself - causes the ligature to fail to match anyway. - - src/hb-ot-shape-complex-indic.cc | 7 +------ - 1 file changed, 1 insertion(+), 6 deletions(-) - -commit c6d904d67db589dd6209928e56504f04f6a07756 -Author: Behdad Esfahbod -Date: Fri May 11 11:07:40 2012 +0200 - - [Indic] Fix bitops typo! - - Another 1000 down! - - src/hb-ot-shape-complex-indic.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 55fe2cf79b11d9a63ea33b3ee76bd0ebca345157 -Author: Behdad Esfahbod -Date: Fri May 11 03:45:28 2012 +0200 - - Make APPLY debug output print current index and codepoint - - Yay! - - src/hb-ot-layout-gsubgpos-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 7bd2b04fea5649d77d796d58b7f4918fe0378ee5 -Author: Behdad Esfahbod -Date: Fri May 11 03:40:58 2012 +0200 - - Minor - - src/hb-object-private.hh | 8 +++++--- - 1 file changed, 5 insertions(+), 3 deletions(-) - -commit cf26510dbbd8d38486e6ba423800db6427ade332 -Author: Behdad Esfahbod -Date: Fri May 11 03:35:08 2012 +0200 - - Some more... - - Done. I promise. - - src/hb-object-private.hh | 1 + - 1 file changed, 1 insertion(+) - -commit 9659523ca32b0e254d0e5fe387d817208d9cb6bf -Author: Behdad Esfahbod -Date: Fri May 11 03:33:36 2012 +0200 - - More beauty in debug output! - - src/hb-private.hh | 12 +++++++----- - 1 file changed, 7 insertions(+), 5 deletions(-) - -commit cf26e88a5ab477295479f5b9450c2019b6430eaa -Author: Behdad Esfahbod -Date: Fri May 11 03:16:57 2012 +0200 - - Finish off debug output beautification - - src/hb-open-type-private.hh | 58 ++++++++++++++++++++------------------------- - 1 file changed, 26 insertions(+), 32 deletions(-) - -commit d7bba01a353efc7432c474dd8755a02db4abd2ae -Author: Behdad Esfahbod -Date: Fri May 11 02:46:26 2012 +0200 - - Only print class name in debug output if there's one available - - src/hb-private.hh | 12 +++++++----- - 1 file changed, 7 insertions(+), 5 deletions(-) - -commit 85f73fa8da1fbb864aef0f3a592b1d65e24d593d -Author: Behdad Esfahbod -Date: Fri May 11 02:40:42 2012 +0200 - - Only printout class name in tracing, if one is available - - Makes debug output much more pleasant. - - src/hb-private.hh | 8 ++++++-- - 1 file changed, 6 insertions(+), 2 deletions(-) - -commit 98619ce4fa650c593b030d06d2f89fec83a10015 -Author: Behdad Esfahbod -Date: Fri May 11 02:34:06 2012 +0200 - - Minor - - src/hb-ot-layout-gsubgpos-private.hh | 2 ++ - 1 file changed, 2 insertions(+) - -commit acea183e986dd378c6f95120fe0feb0586a8ef36 -Author: Behdad Esfahbod -Date: Fri May 11 02:33:11 2012 +0200 - - Add return annotation for APPLY - - src/hb-ot-layout-gpos-table.hh | 163 +++++++++++++++-------------------- - src/hb-ot-layout-gsub-table.hh | 114 +++++++++++------------- - src/hb-ot-layout-gsubgpos-private.hh | 83 ++++++++---------- - 3 files changed, 151 insertions(+), 209 deletions(-) - -commit 5ccfe8e2154ad0b58dabcc236bbe9478c17b02ab -Author: Behdad Esfahbod -Date: Fri May 11 02:19:41 2012 +0200 - - /Minor/ - - src/hb-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 0ab8c8621712d33e1e91dfdb4ad0b335e3d2a3fb -Author: Behdad Esfahbod -Date: Fri May 11 01:25:34 2012 +0200 - - Annotate SANITIZE return values - - More to come, for APPLY, CLOSURE, etc. - - src/hb-open-file-private.hh | 23 ++--- - src/hb-open-type-private.hh | 49 +++++----- - src/hb-ot-head-table.hh | 4 +- - src/hb-ot-hhea-table.hh | 4 +- - src/hb-ot-hmtx-table.hh | 4 +- - src/hb-ot-layout-common-private.hh | 51 +++++----- - src/hb-ot-layout-gdef-table.hh | 48 +++++----- - src/hb-ot-layout-gpos-table.hh | 180 ++++++++++++++++------------------- - src/hb-ot-layout-gsub-table.hh | 101 +++++++++----------- - src/hb-ot-layout-gsubgpos-private.hh | 88 ++++++++--------- - src/hb-ot-maxp-table.hh | 7 +- - src/hb-ot-name-table.hh | 17 ++-- - src/hb-private.hh | 39 ++++++-- - 13 files changed, 299 insertions(+), 316 deletions(-) - -commit 829e814ff358c5e700ba4df54932696801aa9f65 -Author: Behdad Esfahbod -Date: Fri May 11 00:52:16 2012 +0200 - - Minor - - src/hb-private.hh | 32 ++++++++++---------------------- - 1 file changed, 10 insertions(+), 22 deletions(-) - -commit 6eec6f406d2cc13dbca422e88492d3d498af02bf -Author: Behdad Esfahbod -Date: Fri May 11 00:50:38 2012 +0200 - - Code reshuffling - - src/hb-private.hh | 36 +++++++++++++++++++++++++----------- - 1 file changed, 25 insertions(+), 11 deletions(-) - -commit 1e08830b4fac3a60ae52349cab6e101d389d30cd -Author: Behdad Esfahbod -Date: Fri May 11 00:16:40 2012 +0200 - - Beautify debug output - - src/hb-open-type-private.hh | 20 ++++++------ - src/hb-private.hh | 74 +++++++++++++++++++++++++++------------------ - 2 files changed, 55 insertions(+), 39 deletions(-) - -commit 6f4553801729a06e506ffdde7b27c72780d4bb80 -Author: Behdad Esfahbod -Date: Thu May 10 23:24:43 2012 +0200 - - More massaging trace messaging - - src/hb-open-type-private.hh | 2 +- - src/hb-ot-layout-gsubgpos-private.hh | 4 ++-- - src/hb-private.hh | 4 ++-- - 3 files changed, 5 insertions(+), 5 deletions(-) - -commit b5fa37cb694b01a7df3a656710391c40dd3fcc04 -Author: Behdad Esfahbod -Date: Thu May 10 23:09:48 2012 +0200 - - Minor - - src/hb-set-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 208109703c929428c684ddcf9310b8ba780c4c31 -Author: Behdad Esfahbod -Date: Thu May 10 23:06:58 2012 +0200 - - Better trace message support infrastructure - - We have varargs in the trace interface now. To be used soon... - - src/hb-open-type-private.hh | 17 ++++------ - src/hb-ot-layout-gsubgpos-private.hh | 4 +-- - src/hb-private.hh | 64 ++++++++++++++++++++++++++---------- - 3 files changed, 56 insertions(+), 29 deletions(-) - -commit 02b2922fbf098c8282eb23dc2c54d5829cf67024 -Author: Behdad Esfahbod -Date: Thu May 10 21:44:50 2012 +0200 - - [Indic] Towards better Reph positioning - - Fixed for Deva cases with two full-form consonants. Failures **way** down. - Not much left to go :-). - - src/hb-ot-shape-complex-indic.cc | 111 ++++++++++++++++++++++++++++----------- - 1 file changed, 80 insertions(+), 31 deletions(-) - -commit 74e54cf446bb979e488685e8c09eeed6b9d03c24 -Author: Behdad Esfahbod -Date: Thu May 10 21:20:37 2012 +0200 - - [Indic] Add Ra back for scripts without Reph - - We now check that the 'rphp' table exists before forming Reph, so - we don't need to comment out Ra for those scripts. - - src/hb-ot-shape-complex-indic-private.hh | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -commit 2b70df5cc008617453b12bafeaac50e6d61b3224 -Author: Behdad Esfahbod -Date: Thu May 10 18:38:22 2012 +0200 - - [Indic] Add note re Uniscribe clusters - - src/hb-ot-shape-complex-indic.cc | 4 ++++ - 1 file changed, 4 insertions(+) - -commit 21d2803133c2c424ed37a9f3d17c7fc4963e5a60 -Author: Behdad Esfahbod -Date: Thu May 10 18:34:34 2012 +0200 - - [Indic] Do clustering like Uniscribe does - - Hindi Wikipedia failures down to 6639 (0.938381%)! - - src/hb-ot-shape-complex-indic.cc | 24 ++++++++++++++++++++---- - 1 file changed, 20 insertions(+), 4 deletions(-) - -commit b20c9ebaf5176101fdfcffbe4714a2e619dd94b6 -Author: Behdad Esfahbod -Date: Thu May 10 18:31:17 2012 +0200 - - [Indic] Add test for matra group - - The spec says: "[{M}+[N]+[H]]", and that's what Uniscribe implements. - We instead do: "{M+[N]+[H]}", which means we allow Nukta and Halant - after all Matras, not just the last one. It makes more sense. - - .../texts/in-tree/shaper-indic/indic/script-devanagari/misc/MANIFEST | 1 + - .../shaper-indic/indic/script-devanagari/misc/spec-deviations.txt | 1 + - 2 files changed, 2 insertions(+) - -commit 8df5636968389ac7bf8620ccd091fd4872b0bbee -Author: Behdad Esfahbod -Date: Thu May 10 15:41:04 2012 +0200 - - [Indic] Reorder Reph to before the Halant after Matras - - Uniscribe doesn't do it, but we want to do as it gives the Reph the - opportunity to interact with the Matras. Test with mangal for example. - Sequence: <0930,094d,0915,094b,094d> - In test suite already. - - src/hb-ot-shape-complex-indic.cc | 12 ++++++++++++ - 1 file changed, 12 insertions(+) - -commit daf3234bdc82c669302599a76d2b14f5e69989db -Author: Behdad Esfahbod -Date: Thu May 10 15:28:27 2012 +0200 - - [Indic] Don't clear the mask for Reph - - This was removing the mandatory global 1 bit in the mask and hence - disabling GPOS for Reph! - - src/hb-ot-shape-complex-indic.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 7708ee23cbcc8c8edce13e73b6e549b77bd8c2d0 -Author: Behdad Esfahbod -Date: Thu May 10 14:48:25 2012 +0200 - - [Indic] Improve Left Matra repositioning - - Move its dependents too. - - src/hb-ot-shape-complex-indic.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 61a58e26a5bda16851669404fc8206896e124740 -Author: Behdad Esfahbod -Date: Thu May 10 14:43:53 2012 +0200 - - [Indic] Add tricky reordering test cases - - In the case of Consonant,LeftMatra,Halant, Uniscribe leaves the Halant - where it is, but we want to move it with the Matra as that makes more - logical sense. - - .../texts/in-tree/shaper-indic/indic/script-devanagari/misc/MANIFEST | 1 + - .../shaper-indic/indic/script-devanagari/misc/tricky-reordering.txt | 4 ++++ - 2 files changed, 5 insertions(+) - -commit dbb105883c6e9b83e78dc8b10766cd56b98cd7e1 -Author: Behdad Esfahbod -Date: Thu May 10 13:45:52 2012 +0200 - - [Indic] Do Reph repositioning in final reordering like the spec says - - This introduced a failure, which we tracked down to a test case like this: - - U+092E,U+094B,U+094D,U+0930 - - The final character is a Ra that should be put in a syllable of it's - own. And we do. But it will interact with the Halant before it. So - now we finally are convinced that we have to limit features to syllable - boundaries. That's coming after lunch! - - src/hb-ot-shape-complex-indic-private.hh | 2 - - src/hb-ot-shape-complex-indic.cc | 103 +++++++++++++++++++------------ - 2 files changed, 64 insertions(+), 41 deletions(-) - -commit 4705a7026900e51f6430f03a73c87f2df035df92 -Author: Behdad Esfahbod -Date: Thu May 10 13:09:08 2012 +0200 - - Minor - - src/hb-ot-shape-complex-indic.cc | 3 +++ - 1 file changed, 3 insertions(+) - -commit 4ac9e98d9d2ea973dd612dc4063cf78496c643a0 -Author: Behdad Esfahbod -Date: Thu May 10 12:53:53 2012 +0200 - - [Indic] Reorder left matras to be closer to base - - src/hb-ot-shape-complex-indic-private.hh | 4 --- - src/hb-ot-shape-complex-indic.cc | 50 +++++++++++++++++++++++++++++--- - 2 files changed, 46 insertions(+), 8 deletions(-) - -commit 1a1fa8c655a082fc1439608457ba717306cc83ca -Author: Behdad Esfahbod -Date: Thu May 10 12:20:21 2012 +0200 - - [Indic] Treat the standalone cluster case reusing the consonant logic - - src/hb-ot-shape-complex-indic.cc | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - -commit 190eb31a16178269aecaf5d2ecc9012f956749f4 -Author: Behdad Esfahbod -Date: Thu May 10 12:17:16 2012 +0200 - - [Indic] Minor - - src/hb-ot-shape-complex-indic.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit c5306b6861cfaa50af40e8ceb058791fa06d7981 -Author: Behdad Esfahbod -Date: Thu May 10 12:07:33 2012 +0200 - - [Indic] Handle Vowel syllables - - Reusing the consonant logic! - - src/hb-ot-shape-complex-indic-private.hh | 3 +-- - src/hb-ot-shape-complex-indic.cc | 11 ++++++----- - 2 files changed, 7 insertions(+), 7 deletions(-) - -commit 6d8e0cb74c02f6bc09cd4abe9e4bc82062e1b517 -Author: Behdad Esfahbod -Date: Thu May 10 11:41:51 2012 +0200 - - [Indic] Simplify Reph logic - - src/hb-ot-shape-complex-indic.cc | 24 +++++------------------- - 1 file changed, 5 insertions(+), 19 deletions(-) - -commit 3d25079f8d6be81b9b4b91d3a97016b8a572f571 -Author: Behdad Esfahbod -Date: Thu May 10 11:37:42 2012 +0200 - - [Indic] Don't form Reph is Ra is the only consonant in the syllable - - src/hb-ot-shape-complex-indic-private.hh | 2 +- - src/hb-ot-shape-complex-indic.cc | 10 ++++++++++ - 2 files changed, 11 insertions(+), 1 deletion(-) - -commit b99d63ae114fb58f129562b293a8a66543d499ad -Author: Behdad Esfahbod -Date: Thu May 10 11:32:52 2012 +0200 - - [Indic] Increase max syllable length - - 20 was way too low, one could hit a syllable with 7ish consonants with it. - - src/hb-ot-shape-complex-indic.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit a391ff50b9a7b6ac3e58d199ea726b20ee6839bb -Author: Behdad Esfahbod -Date: Thu May 10 11:31:20 2012 +0200 - - [Indic] Adjust base after sorting - - src/hb-ot-shape-complex-indic.cc | 11 ++++++++++- - 1 file changed, 10 insertions(+), 1 deletion(-) - -commit d3637edb248162970e202e9d0671540274192844 -Author: Behdad Esfahbod -Date: Thu May 10 10:51:38 2012 +0200 - - [Indic] Don't return for long syllables. Just not sort. - - src/hb-ot-shape-complex-indic.cc | 6 ++---- - 1 file changed, 2 insertions(+), 4 deletions(-) - -commit dfa0cade7fce3791e47eaa7edcd23da76c7a0ed0 -Author: Behdad Esfahbod -Date: Wed May 9 19:10:07 2012 +0200 - - Fix Uniscribe clusters with multiple items - - src/hb-uniscribe.cc | 3 +++ - 1 file changed, 3 insertions(+) - -commit 86e5dd386a7989701da476db89be268e4ac1e219 -Author: Behdad Esfahbod -Date: Wed May 9 18:57:37 2012 +0200 - - [Indic] Don't give up syllable parsing upon junk - - src/hb-ot-shape-complex-indic-machine.rl | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit ef24cc8c8e2478a6352c340f4611a617646de4cc -Author: Behdad Esfahbod -Date: Wed May 9 17:56:03 2012 +0200 - - [Indic] Towards multi-cluster syllables and final reordering - - src/hb-ot-shape-complex-arabic.cc | 2 +- - src/hb-ot-shape-complex-indic-machine.rl | 21 ++++++++++----- - src/hb-ot-shape-complex-indic-private.hh | 1 + - src/hb-ot-shape-complex-indic.cc | 45 +++++++++++++++++++++++--------- - src/hb-ot-shape-complex-private.hh | 5 ++-- - 5 files changed, 51 insertions(+), 23 deletions(-) - -commit a9844d41c6cb30d8a2d733130a0e72f51b6c81c1 -Author: Behdad Esfahbod -Date: Wed May 9 17:53:13 2012 +0200 - - Combine lig_id and lig_comp into one byte, to free up one for Indic - - src/hb-ot-layout-gpos-table.hh | 14 ++++++++------ - src/hb-ot-layout-gsub-table.hh | 11 ++++------- - src/hb-ot-layout-gsubgpos-private.hh | 26 ++++++++++++++++++++++---- - 3 files changed, 34 insertions(+), 17 deletions(-) - -commit 92332e5116271a5d96e532005fe750e7552a6cbb -Author: Behdad Esfahbod -Date: Wed May 9 17:40:00 2012 +0200 - - Minor - - src/hb-ot-shape-complex-indic.cc | 41 ++++++++++++++++++++-------------------- - 1 file changed, 21 insertions(+), 20 deletions(-) - -commit dbccf87eef0d26838fa4bb3ae26410f6c4818836 -Author: Behdad Esfahbod -Date: Wed May 9 17:24:39 2012 +0200 - - [Indic] Make room for more reordering positions - - src/hb-ot-shape-complex-indic-private.hh | 213 ++++++++++++++++--------------- - src/hb-ot-shape-complex-indic.cc | 12 +- - 2 files changed, 115 insertions(+), 110 deletions(-) - -commit d4480ace7fdbe48aeaf77278c032b8b2ef2ebe8e -Author: Behdad Esfahbod -Date: Wed May 9 15:56:35 2012 +0200 - - [Indic] Improve matra vs consonant ordering - - Another 1.5% down. - - src/hb-ot-shape-complex-indic-private.hh | 32 ++++++++++++++++++++------------ - src/hb-ot-shape-complex-indic.cc | 6 +++--- - src/indic.cc | 2 +- - 3 files changed, 24 insertions(+), 16 deletions(-) - -commit 33c92e769563ec2a6c1249b57d8cac742eea6f88 -Author: Behdad Esfahbod -Date: Wed May 9 15:41:51 2012 +0200 - - [Indic] Categorize Anudatta - - src/hb-ot-shape-complex-indic.cc | 9 +++++++-- - 1 file changed, 7 insertions(+), 2 deletions(-) - -commit 3943293a9942201d8fc8d59212fcc8cca5132e3d -Author: Behdad Esfahbod -Date: Wed May 9 15:27:56 2012 +0200 - - [Indic] Add joiner test cases for Devanagari - - .../indic/script-devanagari/misc/MANIFEST | 1 + - .../indic/script-devanagari/misc/joiners.txt | 19 +++++++++++++++++++ - 2 files changed, 20 insertions(+) - -commit 19d984edaa4f86c842345a9d4150597e045e1887 -Author: Behdad Esfahbod -Date: Wed May 9 15:21:13 2012 +0200 - - [Indic] Make sure Reph jumps over all matras to the right - - Another 12 thousand failures gone! (78 to go) - - src/hb-ot-shape-complex-indic.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 9034641333d7bfb41a0784cce72e43591faea083 -Author: Behdad Esfahbod -Date: Wed May 9 15:04:58 2012 +0200 - - [Indic] Keep Vedic signs at the right too - - src/hb-ot-shape-complex-indic.cc | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit d1deaa2f5bd028e8076265cba92cffa4fa2834ac -Author: Behdad Esfahbod -Date: Wed May 9 15:04:13 2012 +0200 - - Replace zerowidth invisible chars with a zero-advance space glyph - - Like Uniscribe does. - - src/hb-ot-shape-complex-arabic.cc | 3 ++- - src/hb-ot-shape-complex-indic.cc | 20 ------------------- - src/hb-ot-shape-complex-private.hh | 4 ++-- - src/hb-ot-shape-normalize.cc | 25 +++++++++-------------- - src/hb-ot-shape-private.hh | 27 +++++++++++++++++++++++++ - src/hb-ot-shape.cc | 41 +++++++++++++++++++++++++------------- - src/hb-unicode-private.hh | 38 +++++++++++++++++++++++++++++++++++ - 7 files changed, 105 insertions(+), 53 deletions(-) - -commit 49e5da1591b8d28f01e7ff9caac9d9ac53668bba -Author: Behdad Esfahbod -Date: Wed May 9 13:23:27 2012 +0200 - - [indic] Keep the syllable modifier marks to the right - - Shaping failures on Hindi Wikipedia go down from 25% to 14%! - - src/hb-ot-shape-complex-indic.cc | 2 ++ - 1 file changed, 2 insertions(+) - -commit 5b1260909350bffa3e3d06da346f9f86ce651dbb -Author: Behdad Esfahbod -Date: Wed May 9 12:37:27 2012 +0200 - - Minor - - src/hb-ot-shape-complex-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 9ce939232bbce8f51e235195e3854d1e8bb961f8 -Author: Behdad Esfahbod -Date: Wed May 9 12:03:09 2012 +0200 - - Minor - - src/hb-ot-shape-complex-indic-private.hh | 14 +++++++------- - 1 file changed, 7 insertions(+), 7 deletions(-) - -commit 76b3409de6887c1cdd5c679939497b1b56f4554b -Author: Behdad Esfahbod -Date: Wed May 9 11:43:43 2012 +0200 - - [indic] Better Reph matching - - src/hb-ot-shape-complex-indic.cc | 21 +++++++++++++++------ - 1 file changed, 15 insertions(+), 6 deletions(-) - -commit df6d45c693c417bf311e6fa49f18a8558542e525 -Author: Behdad Esfahbod -Date: Wed May 9 11:38:31 2012 +0200 - - Minor - - src/hb-ot-shape-complex-indic.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 412b91889d9a1ae477e8b6907d0b9a76e78a6c91 -Author: Behdad Esfahbod -Date: Wed May 9 11:07:18 2012 +0200 - - [indic] Apply Indic features in order - - src/hb-ot-shape-complex-indic.cc | 8 ++++++-- - 1 file changed, 6 insertions(+), 2 deletions(-) - -commit 1ac075b227090a9ad930dcc1670236c176b27067 -Author: Behdad Esfahbod -Date: Wed May 9 11:06:47 2012 +0200 - - [indic] Apply rakaar forms - - Fixes 10% of the failures against all of Hindi Wikipedia! - - src/hb-ot-shape-complex-indic.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 2214a03900d32710573a1b05c7665195b3129761 -Author: Behdad Esfahbod -Date: Wed May 9 09:54:54 2012 +0200 - - Add hb-diff-ngrams - - test/shaping/Makefile.am | 1 + - test/shaping/hb-diff-ngrams | 5 +++ - test/shaping/hb_test_tools.py | 71 ++++++++++++++++++++++++++++++++++++++++--- - 3 files changed, 72 insertions(+), 5 deletions(-) - -commit 178e6dce01ad28c8708bad62ce0fb79c46e836dc -Author: Behdad Esfahbod -Date: Wed May 9 08:57:29 2012 +0200 - - Add N-gram generator - - test/shaping/hb_test_tools.py | 72 +++++++++++++++++++++++++++++++++++++++++-- - 1 file changed, 70 insertions(+), 2 deletions(-) - -commit 98669ceb77657d60435f2cb2e3fc18272c0a2c6a -Author: Behdad Esfahbod -Date: Wed May 9 08:16:15 2012 +0200 - - Use groupby() - - test/shaping/hb_test_tools.py | 26 ++++++++------------------ - 1 file changed, 8 insertions(+), 18 deletions(-) - -commit c438a14b62433db488b5c90854a4a3934adf3305 -Author: Behdad Esfahbod -Date: Wed May 9 07:45:17 2012 +0200 - - Add hb-diff-stat - - test/shaping/Makefile.am | 1 + - test/shaping/hb-diff-stat | 5 +++++ - test/shaping/hb_test_tools.py | 22 ++++++++++++++++++++-- - 3 files changed, 26 insertions(+), 2 deletions(-) - -commit 1058d031e2046eb80331b0950eaff75c2bf608dc -Author: Behdad Esfahbod -Date: Wed May 9 07:30:07 2012 +0200 - - Make hb-diff-filter-failtures retain all test info for failed tests - - test/shaping/hb_test_tools.py | 33 ++++++++++++++++++++++++++------- - 1 file changed, 26 insertions(+), 7 deletions(-) - -commit f1eb008cc727370e1bd0dc32fdf301f62d9ff981 -Author: Behdad Esfahbod -Date: Tue May 8 23:41:41 2012 +0200 - - Add hb-diff-colorize - - Accepts --format=html now. - - test/shaping/Makefile.am | 1 + - test/shaping/hb-diff | 4 +- - test/shaping/hb-diff-colorize | 7 ++ - test/shaping/hb_test_tools.py | 158 +++++++++++++++++++++++++----------------- - 4 files changed, 106 insertions(+), 64 deletions(-) - -commit 9155e4ffe00c96a2c14e14a300004b1038ca3a9c -Author: Behdad Esfahbod -Date: Tue May 8 22:44:21 2012 +0200 - - Cleanup diff - - Doesn't do --color anymore. That will go into a new hb-diff-colorize - tool. - - test/shaping/hb-diff | 10 +++------- - test/shaping/hb_test_tools.py | 32 ++++++++++++++++++-------------- - 2 files changed, 21 insertions(+), 21 deletions(-) - -commit 7d22135b4c3f8fb70552302bf8239df9976dddda -Author: Behdad Esfahbod -Date: Tue May 8 19:38:49 2012 +0200 - - Make hb-diff faster - - test/shaping/hb_test_tools.py | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -commit a93e238e05a2f70a6e664e5d04ba25bbd54493dc -Author: Behdad Esfahbod -Date: Tue May 8 18:55:29 2012 +0200 - - More tests - - .../texts/in-tree/shaper-arabic/script-mongolian/misc/MANIFEST | 1 + - .../texts/in-tree/shaper-arabic/script-mongolian/misc/poem.txt | 4 ++++ - .../in-tree/shaper-indic/indic/script-bengali/misc/MANIFEST | 1 + - .../in-tree/shaper-indic/indic/script-bengali/misc/reph.txt | 10 ++++++++++ - 4 files changed, 16 insertions(+) - -commit 1a2a4a0078dda834443edd421037a4bcbad18c5e -Author: Behdad Esfahbod -Date: Sat May 5 22:38:20 2012 +0200 - - Fix warning and build issues - - As reported by Jonathan Kew on the list. - - src/hb-set-private.hh | 2 +- - src/main.cc | 9 +++++---- - 2 files changed, 6 insertions(+), 5 deletions(-) - -commit a5e39fed85e069ba1afbf90408349ad99ceb0e1d -Author: Behdad Esfahbod -Date: Wed Apr 25 00:14:46 2012 -0400 - - Minor - - src/hb-set-private.hh | 2 ++ - src/hb-set.cc | 2 ++ - 2 files changed, 4 insertions(+) - -commit 1827dc208c867e433a95237d1ed3fc7a73d1d9a7 -Author: Behdad Esfahbod -Date: Tue Apr 24 16:56:37 2012 -0400 - - Add hb_ot_shape_glyphs_closure() - - Experimental API for now. - - src/hb-ot-map-private.hh | 7 ++++--- - src/hb-ot-shape.cc | 35 +++++++++++++++++++++++++++++++++++ - src/hb-ot.h | 8 ++++++++ - src/hb-set-private.hh | 3 +++ - 4 files changed, 50 insertions(+), 3 deletions(-) - -commit bb09f0ec10216b11189b5e8584856adf0f14d1fc -Author: Behdad Esfahbod -Date: Tue Apr 24 16:02:12 2012 -0400 - - Minor - - src/hb-unicode.cc | 2 -- - 1 file changed, 2 deletions(-) - -commit 29a7e306e30e894f7a38daf73eca9fc772c58158 -Author: Behdad Esfahbod -Date: Tue Apr 24 16:01:30 2012 -0400 - - Minor - - src/hb-ot-shape-normalize.cc | 1 + - 1 file changed, 1 insertion(+) - -commit 585b107cdee7305920dacc83c9ee1f8eeff7afd1 -Author: Behdad Esfahbod -Date: Tue Apr 24 16:00:50 2012 -0400 - - Add test caes for a minority language using Bengali - - U+0985 BENGALI LETTER A followed by U+09D7 BENGALI AU LENGTH MARK. - According to Bobby de Vos on the mailing list, this results in a dotted - circle with most shaping engines, but is a legitimate sequence in this - minority language. - - We reached the consensus on the list to NOT implement dotted-circle - in HarfBuzz. - - .../texts/in-tree/shaper-indic/indic/script-bengali/misc/misc.txt | 1 + - 1 file changed, 1 insertion(+) - -commit 6c6ccaf575392f6e6bb9a15534026e4ea462705b -Author: Behdad Esfahbod -Date: Tue Apr 24 14:21:15 2012 -0400 - - Add a few more set operations - - TODO: Tests for hb_set_t. - - src/hb-set-private.hh | 54 +++++++++++++++++++++++++++++++++++++++++++++++++- - src/hb-set.cc | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-set.h | 34 ++++++++++++++++++++++++++++--- - 3 files changed, 139 insertions(+), 4 deletions(-) - -commit 5caece67ab9eee322bdcdf6f4b607eadde297e56 -Author: Behdad Esfahbod -Date: Mon Apr 23 23:03:12 2012 -0400 - - Make closure() return void - - src/hb-ot-layout-gsub-table.hh | 142 +++++++++++++----------------- - src/hb-ot-layout-gsubgpos-private.hh | 165 ++++++++++++++++++----------------- - src/hb-ot-layout.cc | 10 +-- - src/hb-ot-layout.h | 8 +- - src/hb-set-private.hh | 20 ++--- - 5 files changed, 157 insertions(+), 188 deletions(-) - -commit 0b08adb3539f2ec29682456b89c69e89ff5e9c03 -Author: Behdad Esfahbod -Date: Mon Apr 23 22:41:09 2012 -0400 - - Add hb_set_t - - TODO | 2 + - src/Makefile.am | 3 + - src/hb-ot-layout-common-private.hh | 1 + - src/hb-ot-layout-private.hh | 47 --------------- - src/hb-ot-layout.h | 2 - - src/hb-set-private.hh | 95 +++++++++++++++++++++++++++++ - src/hb-set.cc | 120 +++++++++++++++++++++++++++++++++++++ - src/hb-set.h | 91 ++++++++++++++++++++++++++++ - src/hb.h | 1 + - 9 files changed, 313 insertions(+), 49 deletions(-) - -commit 5b93e8d94fb4c2474816304ae3f52e1c704882de -Author: Behdad Esfahbod -Date: Mon Apr 23 22:26:13 2012 -0400 - - Update copyright headers - - src/hb-ot-layout-common-private.hh | 2 +- - src/hb-ot-layout-gpos-table.hh | 2 +- - src/hb-ot-layout-gsub-table.hh | 2 +- - src/hb-ot-layout-gsubgpos-private.hh | 2 +- - 4 files changed, 4 insertions(+), 4 deletions(-) - -commit 6a9be5bd3524dc3eb1e88d1063bde2e4d8b57011 -Author: Behdad Esfahbod -Date: Mon Apr 23 22:23:17 2012 -0400 - - Rename hb_glyph_map_t to hb_set_t - - src/hb-ot-layout-common-private.hh | 16 ++++++++-------- - src/hb-ot-layout-gsubgpos-private.hh | 12 ++++++------ - src/hb-ot-layout-private.hh | 2 +- - src/hb-ot-layout.cc | 2 +- - src/hb-ot-layout.h | 4 ++-- - src/hb-ot-map-private.hh | 2 +- - src/hb-ot-map.cc | 2 +- - 7 files changed, 20 insertions(+), 20 deletions(-) - -commit a4385f0b0a6949e2ce49e6a147ad4beaa724f6c3 -Author: Behdad Esfahbod -Date: Mon Apr 23 22:20:14 2012 -0400 - - Improve clustering - - src/hb-ot-shape.cc | 5 ++--- - 1 file changed, 2 insertions(+), 3 deletions(-) - -commit 8e3715f8a16b315c1c7dd4b256e7f68a36c53e7c -Author: Behdad Esfahbod -Date: Mon Apr 23 22:18:54 2012 -0400 - - Minor - - src/hb-buffer-private.hh | 2 +- - src/hb-buffer.cc | 2 +- - src/hb-graphite2.cc | 5 ++--- - src/hb-ot-shape-complex-arabic.cc | 4 ++-- - src/hb-ot-shape-complex-misc.cc | 4 ++-- - 5 files changed, 8 insertions(+), 9 deletions(-) - -commit d2984a241e4819474d827b1dd5d4b6d76596b3a5 -Author: Behdad Esfahbod -Date: Mon Apr 23 17:21:14 2012 -0400 - - Add map->substitute_closure() - - src/hb-ot-map-private.hh | 3 +++ - src/hb-ot-map.cc | 15 +++++++++++++++ - 2 files changed, 18 insertions(+) - -commit 31081f7390e5130df72f89acc609ccab5dc77a48 -Author: Behdad Esfahbod -Date: Mon Apr 23 16:54:58 2012 -0400 - - Implement closure() for Context and ChainContext lookups - - src/hb-ot-layout-common-private.hh | 54 ++++++ - src/hb-ot-layout-gsubgpos-private.hh | 347 ++++++++++++++++++++++++++++------- - src/hb-ot-layout-private.hh | 23 ++- - 3 files changed, 351 insertions(+), 73 deletions(-) - -commit c64ddab3c34897cd520d4d73a054866e649e8793 -Author: Behdad Esfahbod -Date: Mon Apr 23 15:28:35 2012 -0400 - - Flesh out closure() for GSUB - - The GSUBGPOS part still missing. - - src/hb-ot-layout-common-private.hh | 61 ++++++++++++++------ - src/hb-ot-layout-gsub-table.hh | 112 ++++++++++++++++++++++++++++--------- - src/hb-ot-layout-private.hh | 34 +++++++++++ - src/hb-ot-layout.h | 2 +- - 4 files changed, 165 insertions(+), 44 deletions(-) - -commit 0da132bde4d576a03095d6738507954f7f85103d -Author: Behdad Esfahbod -Date: Mon Apr 23 14:21:33 2012 -0400 - - Fix Coverage iters - - src/hb-ot-layout-common-private.hh | 30 +++++++++++++++++++++--------- - 1 file changed, 21 insertions(+), 9 deletions(-) - -commit 3e32cd9570fd8b09901fb790b80365ae425f681a -Author: Behdad Esfahbod -Date: Mon Apr 23 13:20:52 2012 -0400 - - Minor - - src/hb-ot-layout-gsubgpos-private.hh | 1 - - src/hb-ot-layout.cc | 6 +++--- - src/hb-ot-layout.h | 8 ++++++++ - src/hb-private.hh | 4 +++- - 4 files changed, 14 insertions(+), 5 deletions(-) - -commit 650ac00da3d2f988197393f34d40f0ba1a0fa093 -Author: Behdad Esfahbod -Date: Mon Apr 23 13:17:09 2012 -0400 - - Minor refactoring - - src/hb-ot-layout-gpos-table.hh | 27 +++++++++++-------------- - src/hb-ot-layout-gsub-table.hh | 39 +++++++++++++++++------------------- - src/hb-ot-layout-gsubgpos-private.hh | 8 ++------ - src/hb-ot-layout.cc | 6 ++++-- - 4 files changed, 36 insertions(+), 44 deletions(-) - -commit f94b0aa64609654497ced9c00312c9643eb69053 -Author: Behdad Esfahbod -Date: Mon Apr 23 13:04:38 2012 -0400 - - Add "closure" operation stubs to GSUB - - Filling in. - - src/hb-ot-layout-gsub-table.hh | 179 +++++++++++++++++++++++++++++++++++ - src/hb-ot-layout-gsubgpos-private.hh | 110 ++++++++++++++++++++- - src/hb-ot-layout.cc | 8 ++ - 3 files changed, 293 insertions(+), 4 deletions(-) - -commit 7d50d502635d7c95e6bd091e7d4cc993f0853f76 -Author: Behdad Esfahbod -Date: Mon Apr 23 13:02:14 2012 -0400 - - Add Coverage iterators - - src/hb-ot-layout-common-private.hh | 59 ++++++++++++++++++++++++++++++++++++++ - 1 file changed, 59 insertions(+) - -commit 3ed4634ec349fa9e943ad23718c04be4dd4bba62 -Author: Behdad Esfahbod -Date: Thu Apr 19 22:34:06 2012 -0400 - - Add Indic inspection tool - - src/Makefile.am | 7 +- - src/hb-ot-shape-complex-indic-private.hh | 264 +++++++++++++++++++++++++++++++ - src/hb-ot-shape-complex-indic.cc | 229 +-------------------------- - src/indic.cc | 46 ++++++ - 4 files changed, 317 insertions(+), 229 deletions(-) - -commit a06411ecf93c7e5256e363eef3ef69554896dd55 -Author: Behdad Esfahbod -Date: Thu Apr 19 22:28:25 2012 -0400 - - Minor matra renumbering - - Should have no visible effect. - - src/hb-ot-shape-complex-indic.cc | 30 +++++++++++++++++------------- - 1 file changed, 17 insertions(+), 13 deletions(-) - -commit 36608941f3cc530fea57282fa175e4cc3b4c66c6 -Author: Behdad Esfahbod -Date: Thu Apr 19 22:21:38 2012 -0400 - - Add GSUB "would_apply" API - - To be used in the Indic shaper later. Unused for now. - - src/hb-ot-layout-gsub-table.hh | 140 ++++++++++++++++++++++++++++++++++++++++- - 1 file changed, 138 insertions(+), 2 deletions(-) - -commit a0d4caeb91fa5e5f2090db4efc35c64ff9a64789 -Author: Behdad Esfahbod -Date: Tue Apr 17 13:42:30 2012 -0400 - - Minor - - TODO | 3 +++ - 1 file changed, 3 insertions(+) - -commit a5e40542ab9508f0ba6f822f1262d93fccb71f45 -Author: Behdad Esfahbod -Date: Tue Apr 17 12:37:19 2012 -0400 - - Make font immutable in hb_shape() - - src/hb-shape.cc | 2 ++ - 1 file changed, 2 insertions(+) - -commit 3cde23664fbbe9cd2ac1b8fd5eb2ea288309cc9c -Author: Behdad Esfahbod -Date: Tue Apr 17 11:44:49 2012 -0400 - - Minor note re Graphite - - src/hb-graphite2.cc | 3 +++ - 1 file changed, 3 insertions(+) - -commit 4dc2449d92308f8dd366142831c0b85bd30ea5a9 -Author: Behdad Esfahbod -Date: Tue Apr 17 11:39:48 2012 -0400 - - Fix leak in graphite - - src/hb-graphite2.cc | 1 + - 1 file changed, 1 insertion(+) - -commit 0290bbf8611aa881daed907f22256a431250c90a -Author: Behdad Esfahbod -Date: Tue Apr 17 10:28:21 2012 -0400 - - Add another Thai test - - test/shaping/texts/in-tree/shaper-thai/misc/misc.txt | 1 + - 1 file changed, 1 insertion(+) - -commit 9ceca3aeb14cc096f5f87660cf7351bc35073084 -Author: Behdad Esfahbod -Date: Mon Apr 16 21:05:51 2012 -0400 - - Fix ragel regexp in vowel-based syllable - - As reported by datao zhang on the mailing list. - - src/hb-ot-shape-complex-indic-machine.rl | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit b870afcd1b436614af95db6dc297e54c8f03f0cd -Author: Behdad Esfahbod -Date: Mon Apr 16 21:05:11 2012 -0400 - - Rewrite ragel expression to better match the one on MS spec - - https://www.microsoft.com/typography/otfntdev/devanot/shaping.aspx - - src/hb-ot-shape-complex-indic-machine.rl | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 95cefdf96efe43a44133aa8a186155cf4e63e2b7 -Author: Behdad Esfahbod -Date: Mon Apr 16 18:08:20 2012 -0400 - - Add --utf8-clusters - - Also fix cairo cluster generation. - - util/hb-shape.cc | 8 +++++--- - util/hb-view.hh | 2 +- - util/helper-cairo.cc | 22 +++++++++++++++++----- - util/helper-cairo.hh | 3 ++- - util/options.cc | 19 ++++++++++++++----- - util/options.hh | 26 ++++++++++++++++---------- - util/view-cairo.cc | 5 +++-- - util/view-cairo.hh | 3 ++- - 8 files changed, 60 insertions(+), 28 deletions(-) - -commit effb42e5c520128bdc2e29398ed801730c5c0f52 -Author: Behdad Esfahbod -Date: Mon Apr 16 16:04:07 2012 -0400 - - Always use cairo_show_text_glyphs() - - Better catches cluster errors. - - util/view-cairo.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 799cfdd15ab369580b2283200c3aca6866214b59 -Author: Behdad Esfahbod -Date: Mon Apr 16 16:00:36 2012 -0400 - - Make page progression be right to left for vertical text - - util/view-cairo.cc | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit a5f1834f57ea3fb254f5c7d372747de316fcc8f1 -Author: Behdad Esfahbod -Date: Mon Apr 16 15:55:13 2012 -0400 - - Apply 'liga' for vertical writing mode too - - Apparently that's what Kazuraki uses to form vertical ligatures, - which suggests that it's what Adobe does. - - src/hb-ot-shape.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 4d85252bda25cddd1fbdd744687e449888f0b5fa -Author: Behdad Esfahbod -Date: Mon Apr 16 15:54:26 2012 -0400 - - Add Japanese test data from Adobe's Kazuraki font ligatures - - test/shaping/texts/in-tree/shaper-default/MANIFEST | 1 + - .../shaper-default/script-japanese/MANIFEST | 1 + - .../shaper-default/script-japanese/misc/MANIFEST | 2 + - .../script-japanese/misc/kazuraki-liga-lines.txt | 8 ++++ - .../script-japanese/misc/kazuraki-liga.txt | 53 ++++++++++++++++++++++ - 5 files changed, 65 insertions(+) - -commit e74616b8898b5f18d9bf82b9e81aefad056c1e36 -Author: Behdad Esfahbod -Date: Sun Apr 15 14:12:13 2012 -0400 - - Add comment - - src/hb-private.hh | 8 ++++++++ - 1 file changed, 8 insertions(+) - -commit 683b503f30bba29d57a93d7e8ac7138c2e7f49f1 -Author: Behdad Esfahbod -Date: Sat Apr 14 20:47:14 2012 -0400 - - Minor - - src/hb-ot-shape-normalize.cc | 11 +++++++++-- - src/hb-ot-shape-private.hh | 9 --------- - src/hb-ot-shape.cc | 9 ++++++++- - 3 files changed, 17 insertions(+), 12 deletions(-) - -commit b9f199c8e38cc5ed0d73845568630f3bcbdd4374 -Author: Behdad Esfahbod -Date: Sat Apr 14 20:23:58 2012 -0400 - - Move code around - - src/hb-ot-shape-private.hh | 40 ---------------------------------------- - src/hb-ot-shape.cc | 45 +++++++++++++++++++++++++++++++++++++++++---- - 2 files changed, 41 insertions(+), 44 deletions(-) - -commit 38a83019e6a7f4aa47662fd557344f62ae001abe -Author: Behdad Esfahbod -Date: Sat Apr 14 19:40:18 2012 -0400 - - Minor - - src/hb-common.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit d4adade217a61007dd2da5cd9eccf889f79a019a -Author: Behdad Esfahbod -Date: Sat Apr 14 19:23:17 2012 -0400 - - Add assert - - src/hb-ot-shape.cc | 2 ++ - 1 file changed, 2 insertions(+) - -commit fe28b997fbbeb2cfeab62ac453993ccffe3e6719 -Author: Behdad Esfahbod -Date: Sat Apr 14 19:19:26 2012 -0400 - - Add HB_DIRECTION_IS_VALID - - src/hb-common.h | 1 + - test/api/test-common.c | 7 +++++++ - 2 files changed, 8 insertions(+) - -commit 5e88aa66822ba64324b4428c9ffbe06a43b4f310 -Author: Behdad Esfahbod -Date: Sat Apr 14 18:51:50 2012 -0400 - - Remove public enum names again - - As was reported to me, glib-mkenum does not understand named enums, - so remove for now. - - src/hb-blob.h | 2 +- - src/hb-common.h | 6 +++--- - src/hb-ot-layout-private.hh | 2 +- - 3 files changed, 5 insertions(+), 5 deletions(-) - -commit 08569c0eaab026c7122c0dc29922cf44011c4d10 -Author: Behdad Esfahbod -Date: Sat Apr 14 18:47:07 2012 -0400 - - Minor - - TODO | 2 ++ - 1 file changed, 2 insertions(+) - -commit 4bf90f648313e35d21b427a956aa1fe762bae757 -Author: Behdad Esfahbod -Date: Thu Apr 12 17:38:23 2012 -0400 - - Make HB_DIRECTION_INVALID be zero - - This changes all the HB_DIRECTION_* enum member values, but is - nicer, in preparation for making hb_segment_properties_t public. - - src/hb-common.cc | 7 ++++--- - src/hb-common.h | 20 ++++++++++---------- - test/api/test-common.c | 9 +++++++-- - 3 files changed, 21 insertions(+), 15 deletions(-) - -commit d01402da9c756f90a84bfb1f964fd56caf2b35c3 -Author: Behdad Esfahbod -Date: Thu Apr 12 17:38:02 2012 -0400 - - Minor - - TODO | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -commit 69b84a8f6c789726815261c2e86692de7a65d6e8 -Author: Behdad Esfahbod -Date: Thu Apr 12 15:50:40 2012 -0400 - - Fix hb-view surface size calc for vertical text - - For some reason it doesn't quite work with IranianNastaliq, but - that looks like a font issue. - - util/helper-cairo.hh | 5 +++-- - util/options.hh | 7 +++++++ - util/view-cairo.cc | 31 +++++++++++++++++++++---------- - util/view-cairo.hh | 1 + - 4 files changed, 32 insertions(+), 12 deletions(-) - -commit 6bd9b479b8b2befbb0847282e93beade197c8038 -Author: Behdad Esfahbod -Date: Thu Apr 12 14:53:53 2012 -0400 - - Hide backend-specific shape functions - - Also remove shaper_options argument to hb_shape_full(). That was - unused and for "future". Let it go. - - More shaper API coming in preparation for plan/planned API. - - configure.ac | 6 ++-- - src/Makefile.am | 11 +++---- - src/hb-fallback-shape-private.hh | 9 +++--- - src/hb-fallback-shape.cc | 9 +++--- - src/{hb-ot-shape.h => hb-graphite2-private.hh} | 30 ++++++++---------- - src/hb-graphite2.cc | 5 ++- - src/hb-graphite2.h | 7 ----- - src/hb-ot-shape-private.hh | 8 +++-- - src/hb-ot-shape.cc | 11 +++---- - src/hb-ot.h | 1 - - src/hb-shape.cc | 24 ++++++--------- - src/hb-shape.h | 1 - - src/hb-uniscribe-private.hh | 42 ++++++++++++++++++++++++++ - src/hb-uniscribe.cc | 9 +++--- - src/hb-uniscribe.h | 7 ----- - util/options.hh | 2 +- - 16 files changed, 96 insertions(+), 86 deletions(-) - -commit c6035cf802c60f0526f421f39a55886061df94ee -Author: Behdad Esfahbod -Date: Thu Apr 12 13:23:59 2012 -0400 - - Add names to enums - - gdb was showing instead of useful stuff, so name - all our enums. - - src/hb-blob.h | 2 +- - src/hb-common.h | 6 +++--- - src/hb-ot-layout-common-private.hh | 2 +- - src/hb-ot-layout-gdef-table.hh | 2 +- - src/hb-ot-layout-gpos-table.hh | 5 ++--- - src/hb-ot-layout-gsub-table.hh | 2 +- - src/hb-ot-layout-private.hh | 2 +- - 7 files changed, 10 insertions(+), 11 deletions(-) - -commit d1c9eb458c843215da8df84b596bfae51fee135b -Author: Behdad Esfahbod -Date: Thu Apr 12 13:17:44 2012 -0400 - - Make it an error to include non-top-level headers - - Users should #include (or hb-ft.h, hb-glib.h, etc), but - never things like hb-shape.h directly. This makes it easier to - refactor headers later on without breaking compatibility. - - src/hb-blob.h | 4 ++++ - src/hb-buffer.h | 4 ++++ - src/hb-common.h | 4 ++++ - src/hb-font.h | 4 ++++ - src/hb-ft.h | 2 -- - src/hb-glib.h | 1 + - src/hb-gobject.h | 1 + - src/hb-graphite2.h | 5 +++-- - src/hb-icu.h | 1 + - src/hb-ot-layout.h | 8 +++++--- - src/hb-ot-shape.h | 9 +++++---- - src/hb-ot-tag.h | 6 +++++- - src/hb-ot.h | 2 ++ - src/hb-private.hh | 5 ++++- - src/hb-shape.h | 4 ++++ - src/hb-unicode.h | 4 ++++ - src/hb-uniscribe.h | 3 +-- - src/hb-version.h.in | 4 ++++ - src/hb.h | 2 ++ - 19 files changed, 58 insertions(+), 15 deletions(-) - -commit 323190c27b80cddc9b3c42d19f1f243e2acb2411 -Author: Behdad Esfahbod -Date: Thu Apr 12 12:29:10 2012 -0400 - - Minor - - src/hb-ft.cc | 2 ++ - 1 file changed, 2 insertions(+) - -commit 0e3361464b00b76aa7375515163e0710a691db0c -Author: Behdad Esfahbod -Date: Thu Apr 12 10:06:52 2012 -0400 - - Fix bug with not setting Unicode props of the first character - - Fixes Mongolian shaping issue: - https://bugs.freedesktop.org/show_bug.cgi?id=45695 - - src/hb-ot-shape.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit f9746b600a6e14dbe48aabfc17df8f12a5b46b11 -Author: Behdad Esfahbod -Date: Thu Apr 12 09:59:26 2012 -0400 - - Minor - - test/shaping/texts/in-tree/shaper-arabic/script-mongolian/misc/misc.txt | 1 - - 1 file changed, 1 deletion(-) - -commit 7470b0ff805e4ff59d23d7a1808888fafdf550eb -Author: Behdad Esfahbod -Date: Thu Apr 12 09:44:27 2012 -0400 - - Add Mongolian test case - - test/shaping/texts/in-tree/MANIFEST | 1 + - .../texts/in-tree/shaper-arabic/script-mongolian/misc/MANIFEST | 1 + - .../texts/in-tree/shaper-arabic/script-mongolian/misc/misc.txt | 4 ++++ - test/shaping/texts/in-tree/shaper-thai/MANIFEST | 1 + - test/shaping/texts/in-tree/shaper-thai/misc/MANIFEST | 1 + - 5 files changed, 8 insertions(+) - -commit c65662b71e6160f5adfb6226d97589ca457d98b9 -Author: Behdad Esfahbod -Date: Thu Apr 12 09:31:55 2012 -0400 - - Fix left-matra positioning in Indic - - Fixes 200 failures out of previous 4290 cases in the OO.o Indic - dictionary (of ~16000 entries). - - src/hb-ot-shape-complex-indic.cc | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - -commit 6d16403bfaa4d710d80c93298eca7211ecaa419f -Author: Behdad Esfahbod -Date: Wed Apr 11 22:04:42 2012 -0400 - - Adjust TODO - - TODO | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 029a82d81d8ffa1b6771d19018d592fec1dbc934 -Author: Behdad Esfahbod -Date: Wed Apr 11 22:00:46 2012 -0400 - - [hangul] Apply *jmo features to all Hangul chars - - This is what old HB does. Morever, fixes rendering with Win8 malgun - font. The Win7 version doesn't compose with either Uniscribe nor HB, - but Win8 version works as expected, like Uniscribe, with this change. - - Lets call Hangul done for now. - - src/hb-ot-shape-complex-misc.cc | 9 +++++++++ - 1 file changed, 9 insertions(+) - -commit 3baae2440de69577d330209edb708e7d2bb2231d -Author: Behdad Esfahbod -Date: Wed Apr 11 21:54:37 2012 -0400 - - Update TODO - - TODO | 28 +++++++++++++++------------- - 1 file changed, 15 insertions(+), 13 deletions(-) - -commit a4976447cd1a1feffdecd0d501a2690716b1cf4b -Author: Behdad Esfahbod -Date: Wed Apr 11 17:48:40 2012 -0400 - - Add Hangul test - - test/shaping/texts/in-tree/shaper-hangul/script-hangul/misc/misc.txt | 1 + - 1 file changed, 1 insertion(+) - -commit e95d912b3b0af027c4384553f95236db822e5acc -Author: Behdad Esfahbod -Date: Wed Apr 11 17:33:02 2012 -0400 - - Fix diff tool - - test/shaping/hb_test_tools.py | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 41ae674f6871f43d0a6e4ca67a747074d63ae576 -Author: Behdad Esfahbod -Date: Wed Apr 11 17:11:05 2012 -0400 - - Don't create hb_apply_context_t per glyph! - - I couldn't measure significant performance gains out of this; maybe - about 5% (with one million Malayalam strings). Still, not bad. - But reminds me that optimizing this codebase without profiling first - is simply not going to work. Oh well... - - src/hb-ot-layout-gpos-table.hh | 24 ++++++------------------ - src/hb-ot-layout-gsub-table.hh | 26 +++++++------------------- - src/hb-ot-layout-gsubgpos-private.hh | 22 ++++++++++++++++++++++ - 3 files changed, 35 insertions(+), 37 deletions(-) - -commit 4a1e02ef7979d58fe0c726ee7c665b2420c42ddd -Author: Behdad Esfahbod -Date: Wed Apr 11 14:37:53 2012 -0400 - - Fix shape to presentation forms font check - - As reported by Jonathan Kew on the list. - - src/hb-ot-shape-complex-arabic.cc | 9 ++++++--- - 1 file changed, 6 insertions(+), 3 deletions(-) - -commit 6062f5f01436b4044be729890ed00b9b62737824 -Author: Behdad Esfahbod -Date: Wed Apr 11 14:19:55 2012 -0400 - - Fix build with some compilers - - As reported by Jonathan Kew on the list. - - src/hb-ot-shape-complex-misc.cc | 7 ++++--- - 1 file changed, 4 insertions(+), 3 deletions(-) - -commit acd88e659fdb2fa1cbf7171f0a1c7fbc81b9f298 -Author: Behdad Esfahbod -Date: Tue Apr 10 18:02:20 2012 -0400 - - In Arabic fallback shaping, check that the font has glyph for new char - - src/hb-ot-shape-complex-arabic.cc | 12 +++++++----- - src/hb-ot-shape-complex-indic.cc | 2 +- - src/hb-ot-shape-complex-misc.cc | 6 +++--- - src/hb-ot-shape-complex-private.hh | 7 ++++--- - src/hb-ot-shape.cc | 2 +- - 5 files changed, 16 insertions(+), 13 deletions(-) - -commit 7752aa73e72301a46c64c533c1e423ff5987cc05 -Author: Behdad Esfahbod -Date: Tue Apr 10 17:22:14 2012 -0400 - - Minor - - src/hb-ot-shape-private.hh | 1 - - src/hb-ot-shape.cc | 10 ---------- - 2 files changed, 11 deletions(-) - -commit 939c010211b063f78874a3b72b032c1ed9a13b87 -Author: Behdad Esfahbod -Date: Tue Apr 10 17:20:05 2012 -0400 - - Implement Arabic fallback shaping mandatory ligatures - - src/gen-arabic-table.py | 32 ++++++++++++++++++++++---------- - src/hb-ot-shape-complex-arabic-table.hh | 28 +++++++++++++++++++--------- - src/hb-ot-shape-complex-arabic.cc | 31 +++++++++++++++++++++++++++++++ - src/hb-ot-shape-complex-misc.cc | 4 ++-- - 4 files changed, 74 insertions(+), 21 deletions(-) - -commit b7d04eb606800100faa11100d2adf559e297a4ee -Author: Behdad Esfahbod -Date: Tue Apr 10 16:44:38 2012 -0400 - - Do Arabic fallback shaping - - src/hb-ot-shape-complex-arabic.cc | 38 +++++++++++++++++++++++++++++++++----- - 1 file changed, 33 insertions(+), 5 deletions(-) - -commit ae4a2b9365051c23c9a299cf76f3ab7e661999b1 -Author: Behdad Esfahbod -Date: Tue Apr 10 16:25:08 2012 -0400 - - Generate fallback Arabic shaping table - - Not hooked up yet. - - src/Makefile.am | 6 +- - src/gen-arabic-table.py | 220 +++++++++++++++++++++++--------- - src/gen-indic-table.py | 4 +- - src/hb-ot-shape-complex-arabic-table.hh | 205 ++++++++++++++++++++++++++++- - 4 files changed, 367 insertions(+), 68 deletions(-) - -commit 3b26f96ebe859570d14c6902afc23462bca40712 -Author: Behdad Esfahbod -Date: Tue Apr 10 10:52:07 2012 -0400 - - Add Thai shaper that does SARA AM decomposition / reordering - - That's not in the OpenType spec, but it's what MS and Adobe do. - - src/hb-buffer.cc | 1 + - src/hb-ot-shape-complex-misc.cc | 104 ++++++++++++++++++++++++++++++++++++- - src/hb-ot-shape-complex-private.hh | 8 +++ - 3 files changed, 112 insertions(+), 1 deletion(-) - -commit 0b6d2ac6a1d04877ae4542fc2a3b920185547053 -Author: Behdad Esfahbod -Date: Tue Apr 10 10:52:03 2012 -0400 - - Minor - - TODO | 10 ++++------ - 1 file changed, 4 insertions(+), 6 deletions(-) - -commit e099dd6592b4ea887696330f4718efb572494d93 -Author: Behdad Esfahbod -Date: Tue Apr 10 10:47:33 2012 -0400 - - Add Thai test case for SARA AM decomposition - - test/shaping/texts/in-tree/shaper-hangul/MANIFEST | 1 + - test/shaping/texts/in-tree/shaper-thai/misc/misc.txt | 5 +++++ - 2 files changed, 6 insertions(+) - -commit 4450dc9354b18cd68980b0891b24ea8efa4f38b6 -Author: Behdad Esfahbod -Date: Sat Apr 7 22:07:23 2012 -0400 - - Move around - - test/shaping/texts/in-tree/MANIFEST | 1 + - test/shaping/texts/in-tree/shaper-default/MANIFEST | 1 - - .../in-tree/{shaper-default => shaper-hangul}/script-hangul/MANIFEST | 0 - .../{shaper-default => shaper-hangul}/script-hangul/misc/MANIFEST | 0 - .../{shaper-default => shaper-hangul}/script-hangul/misc/misc.txt | 0 - 5 files changed, 1 insertion(+), 1 deletion(-) - -commit d4cc44716c1e098f8abbc0e495404598026ef242 -Author: Behdad Esfahbod -Date: Sat Apr 7 21:52:28 2012 -0400 - - Move code around, in prep for Thai/Lao shaper - - src/hb-buffer-private.hh | 5 +++++ - src/hb-buffer.cc | 23 +++++++++++++++++++++++ - src/hb-ot-shape-complex-indic-machine.rl | 14 +------------- - 3 files changed, 29 insertions(+), 13 deletions(-) - -commit c9a841f4452921c5361b8f5697bbff7736ce60cd -Author: Behdad Esfahbod -Date: Sat Apr 7 15:06:55 2012 -0400 - - Add simple Hangul shaper that recomposes Jamo when feasible - - Previously, we were NOT actually recomposing Hangul Jamo. We do now. - The two lines in: - - test/shaping/texts/in-tree/shaper-default/script-hangul/misc/misc.txt - - Now render the same with the UnDotum.ttf font. Previously the second - linle was rendering boxes. - - We can also start applying OpenType Jamo features later. At this time, - I have no idea how the 'ljmo', 'vjmo', 'tjmo' features are supposed to - work. Maybe someone can explain them to me? - - src/hb-ot-shape-complex-misc.cc | 16 ++++++++++++++++ - src/hb-ot-shape-complex-private.hh | 15 +++++++++++++-- - 2 files changed, 29 insertions(+), 2 deletions(-) - -commit 968318455304804dc53045e8ba0cd4d76800c02d -Author: Behdad Esfahbod -Date: Sat Apr 7 14:57:21 2012 -0400 - - Implement normalization mode HB_OT_SHAPE_NORMALIZATION_MODE_COMPOSED_FULL - - In this mode we try composing CCC=0 with CCC=0 characters. Useful for - Hangul. - - src/hb-ot-shape-normalize.cc | 21 +++++++++++++-------- - 1 file changed, 13 insertions(+), 8 deletions(-) - -commit bec2ac4fde1ba0dd6dba02adbb836ce569a5cf6f -Author: Behdad Esfahbod -Date: Sat Apr 7 14:51:17 2012 -0400 - - Bring normalization algorithm closer to the spec - - No logical difference so far. - - src/hb-ot-shape-normalize.cc | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit e02d9257863b49e33ab5942971266349d3c548f6 -Author: Behdad Esfahbod -Date: Sat Apr 7 14:49:13 2012 -0400 - - Flip logic around - - src/hb-ot-shape-normalize.cc | 38 +++++++++++++------------------------- - 1 file changed, 13 insertions(+), 25 deletions(-) - -commit aaa25d5f458127f53f4b5ecdeb986ae91fabbad3 -Author: Behdad Esfahbod -Date: Thu Apr 5 17:27:23 2012 -0400 - - Add Hangul test case - - Composed, and decomposed, of the same text. - - test/shaping/texts/in-tree/shaper-default/MANIFEST | 1 + - test/shaping/texts/in-tree/shaper-default/script-hangul/MANIFEST | 1 + - test/shaping/texts/in-tree/shaper-default/script-hangul/misc/MANIFEST | 1 + - test/shaping/texts/in-tree/shaper-default/script-hangul/misc/misc.txt | 2 ++ - 4 files changed, 5 insertions(+) - -commit 11138ccff71f442da1fcf64faa0e1d22e083e775 -Author: Behdad Esfahbod -Date: Thu Apr 5 17:25:19 2012 -0400 - - Add normalize mode - - In preparation for Hangul shaper. - - src/Makefile.am | 1 + - src/hb-ot-layout-common-private.hh | 1 - - src/hb-ot-shape-complex-arabic.cc | 6 +-- - src/hb-ot-shape-complex-indic.cc | 6 +-- - src/hb-ot-shape-complex-misc.cc | 8 ++-- - src/hb-ot-shape-complex-private.hh | 13 ++++--- - src/hb-ot-shape-normalize-private.hh | 46 +++++++++++++++++++++++ - src/hb-ot-shape-normalize.cc | 73 +++++++++++++++++------------------- - src/hb-ot-shape-private.hh | 7 +--- - src/hb-ot-shape.cc | 2 +- - 10 files changed, 102 insertions(+), 61 deletions(-) - -commit 6769f21d579a354e32577ec57348e97d2cb1b438 -Author: Behdad Esfahbod -Date: Thu Apr 5 16:46:46 2012 -0400 - - More moving code around - - src/hb-ot-shape-normalize.cc | 2 +- - src/hb-ot-shape-private.hh | 8 -------- - src/hb-ot-shape.cc | 2 +- - src/hb-unicode-private.hh | 8 ++++++++ - 4 files changed, 10 insertions(+), 10 deletions(-) - -commit 2db2a566826ed4763ce69629194ec656bd48b0bd -Author: Behdad Esfahbod -Date: Thu Apr 5 16:40:37 2012 -0400 - - Move code around - - src/hb-ot-shape-private.hh | 53 -------------------------------------------- - src/hb-unicode-private.hh | 3 +++ - src/hb-unicode.cc | 55 ++++++++++++++++++++++++++++++++++++++++++++++ - 3 files changed, 58 insertions(+), 53 deletions(-) - -commit cad3821f3d5b68d490b0728bd37bd57428ec809c -Author: Behdad Esfahbod -Date: Wed Mar 7 17:13:25 2012 -0500 - - More sorting by Unicode version - - This is the most convenient way to browse scripts. - - src/hb-common.cc | 2 +- - src/hb-common.h | 2 +- - src/hb-ot-shape-complex-private.hh | 94 ++++++++++++++++++++++++++++---------- - 3 files changed, 72 insertions(+), 26 deletions(-) - -commit 317b9504d7a4faa70dcf21e5c2aff4792dbd201a -Author: Behdad Esfahbod -Date: Wed Mar 7 16:51:29 2012 -0500 - - Minor - - src/hb-ot-shape-complex-private.hh | 10 ++++++++-- - 1 file changed, 8 insertions(+), 2 deletions(-) - -commit fa2673c1ee954ddbbfbfca7cced7b839d7776fc0 -Author: Behdad Esfahbod -Date: Wed Mar 7 15:52:02 2012 -0500 - - More Unicode script age annotation, and a couple more RTL scripts - - Cross-checked with Mark Davis's spreadsheet at http://goo.gl/x9ilM - - src/hb-common.cc | 8 ++++++++ - src/hb-common.h | 52 +++++++++++++++++++++++++++++----------------------- - 2 files changed, 37 insertions(+), 23 deletions(-) - -commit 6d4016f1ba48d409800dc3281b93e5cd58c99d9f -Author: Behdad Esfahbod -Date: Wed Mar 7 15:33:14 2012 -0500 - - Make src tests pass again - - src/gen-arabic-table.py | 11 ++++++----- - src/gen-indic-table.py | 9 +++++---- - src/hb-ot-shape-complex-arabic-table.hh | 6 ++++++ - src/hb-ot-shape-complex-indic-table.hh | 4 ++++ - 4 files changed, 21 insertions(+), 9 deletions(-) - -commit 7da435f08cc406080a5ee9b1ab5351db6a93acae -Author: Behdad Esfahbod -Date: Wed Mar 7 15:20:20 2012 -0500 - - Separate Unicode 3.1 and Unicode 3.2 additions - - src/hb-common.h | 14 +++++++++----- - 1 file changed, 9 insertions(+), 5 deletions(-) - -commit f91136cb528e298651c4a8a8a1d6dc54136e09ce -Author: Behdad Esfahbod -Date: Wed Mar 7 12:56:22 2012 -0500 - - Route three Unicode 6.1 scripts through Indic shaper - - src/hb-ot-shape-complex-private.hh | 7 ++++++- - 1 file changed, 6 insertions(+), 1 deletion(-) - -commit f32c0012ad794cd2df669dfc7b0438fafbe38b2d -Author: Behdad Esfahbod -Date: Wed Mar 7 12:53:34 2012 -0500 - - Add Unicode 6.1.0 scripts - - src/hb-common.h | 9 +++++++++ - src/hb-glib.cc | 11 ++++++++++- - 2 files changed, 19 insertions(+), 1 deletion(-) - -commit 50e810cd0e55c25fddb0a2fd0861c51fbf65700e -Author: Behdad Esfahbod -Date: Wed Mar 7 12:49:08 2012 -0500 - - Lydian and Kharoshthi are right-to-left - - src/hb-common.cc | 6 ++++++ - 1 file changed, 6 insertions(+) - -commit a52835635e4a2a12715aff2febb561515a10cd5a -Author: Behdad Esfahbod -Date: Wed Mar 7 12:38:39 2012 -0500 - - Whitespace - - src/hb-common.h | 194 ++++++++++++++++++++++++++++---------------------------- - 1 file changed, 97 insertions(+), 97 deletions(-) - -commit 183224684a45d7dcd7d28510d4383a7a7cb3dff3 -Author: Behdad Esfahbod -Date: Wed Mar 7 12:21:28 2012 -0500 - - Use generic shaper for Buhid - - As requested by Jonathan Kew. - - We need to devise a better mechanism to choose which scripts to - pass through the Indic shaper. Moreover, currently we are storing - data for some scripts in the Indic shaper that are not even going - through that shaper. Need to find a better way... - - src/hb-ot-shape-complex-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit cdc8b491a8e7cec5082ca2ad0346c1f41fdd5c92 -Author: Behdad Esfahbod -Date: Wed Mar 7 12:08:33 2012 -0500 - - Update Indic table to Unicode 6.1 data - - src/Makefile.am | 15 +++ - src/gen-indic-table.py | 20 ++-- - src/hb-ot-shape-complex-arabic-table.hh | 35 ------- - src/hb-ot-shape-complex-indic-table.hh | 178 +++++++++++++++++++------------- - 4 files changed, 134 insertions(+), 114 deletions(-) - -commit e3b2e077f549b04779c08a9fedb1f35b9f11075c -Author: Behdad Esfahbod -Date: Wed Mar 7 10:21:24 2012 -0500 - - Typo - - src/hb-ot-shape-normalize.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit c346671b6b9b05fa51b95c16212eb29ac69510fa -Author: Behdad Esfahbod -Date: Tue Mar 6 20:47:50 2012 -0500 - - Minor doc fixes - - src/hb-ot-shape-normalize.cc | 10 ++++++---- - 1 file changed, 6 insertions(+), 4 deletions(-) - -commit 406044986a68676f3050f9350ccc448c615fc685 -Author: Behdad Esfahbod -Date: Tue Mar 6 20:24:31 2012 -0500 - - Add Hebrew diacritics test cases - - From: - https://bugzilla.mozilla.org/show_bug.cgi?id=662055 - - test/shaping/texts/in-tree/shaper-default/MANIFEST | 1 + - .../texts/in-tree/shaper-default/script-hebrew/MANIFEST | 1 + - .../in-tree/shaper-default/script-hebrew/misc/MANIFEST | 1 + - .../shaper-default/script-hebrew/misc/diacritics.txt | 15 +++++++++++++++ - 4 files changed, 18 insertions(+) - -commit 461b9b6347e4f58589f5be82c40a2df61da2c715 -Author: Behdad Esfahbod -Date: Thu Mar 1 18:11:19 2012 -0800 - - Fix cluster formation in Indic - - Makes number of failures against Uniscribe with hi_IN dictionary from - OO.o to go down from 6334 to 4290. Not bad for a one-line change! - - Mozilla Bug 729626 - ASAN: heap-buffer-overflow HTML - - src/hb-ot-shape-complex-indic-machine.rl | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit bc71ad4973842f25216b48842a46d6c9cbce6aa3 -Author: Behdad Esfahbod -Date: Thu Mar 1 17:30:29 2012 -0800 - - Fix atomic-int op on Apple - - The OSAtomicAdd32Barrier operator returns the new value, we want the - old value. - - src/hb-blob.cc | 2 +- - src/hb-object-private.hh | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit a1970d9afc15b2c6b7513b923019bb223bd95154 -Author: Behdad Esfahbod -Date: Fri Feb 24 13:51:09 2012 -0500 - - Add support for atomic int and mutex on Apple systems - - So, apparently there's no atomic int 'get' method on Apple. You have to - add(0) to get. And that's not const-friendly. So switch inert-object - checking to a non-atomic get. This, however, is safe, and a negligible - performance boost too. - - src/hb-mutex-private.hh | 14 +++++++++----- - src/hb-object-private.hh | 15 ++++++++++----- - 2 files changed, 19 insertions(+), 10 deletions(-) - -commit 8004429102d7d3a8c42e1cbfe231835de4d3d782 -Author: Behdad Esfahbod -Date: Thu Feb 23 18:47:17 2012 -0500 - - Remove unused hb_atomic_int_set() - - Apparently it can't be implemented on OS X. We weren't using it anyway. - - src/hb-object-private.hh | 4 ---- - 1 file changed, 4 deletions(-) - -commit 45227c10e416894ba7f84fdf72d849cecdb9b898 -Author: Behdad Esfahbod -Date: Thu Feb 23 19:47:43 2012 -0500 - - Add hb-warning.cc. Oops! - - src/hb-warning.cc | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 53 insertions(+) - -commit bd7ff1dec5b92ee59fa060e793f88499adcd8c11 -Author: Behdad Esfahbod -Date: Thu Feb 23 15:06:16 2012 -0500 - - Allow disabling multi-threaded support - - By defining HB_NO_MT. - - Also, only warn once per missing MT feature support. - - Mozilla Bug 666661 - gfx/harfbuzz/src/hb-prive.h - compiler warnings on mac - - src/Makefile.am | 1 + - src/hb-mutex-private.hh | 6 +++--- - src/hb-object-private.hh | 11 +++-------- - 3 files changed, 7 insertions(+), 11 deletions(-) - -commit 634c9e3423a9c23793400d1f56e98070e00b6056 -Author: Behdad Esfahbod -Date: Wed Feb 22 16:43:21 2012 -0500 - - Minor - - src/hb-ot-shape-private.hh | 69 ++++++++++++++++++++++++++-------------------- - 1 file changed, 39 insertions(+), 30 deletions(-) - -commit 514b6f88668da4eab85103c536dabe24b7bc457b -Author: Behdad Esfahbod -Date: Wed Feb 22 16:34:37 2012 -0500 - - Followup: Reorder Hebrew combining classes for better rendering - - Patch from Jonathan Kew. - - Bug 662055 - advanced Hebrew diacritics are shown correctly only in - particular order. - - src/hb-ot-shape-private.hh | 20 ++++++++++---------- - 1 file changed, 10 insertions(+), 10 deletions(-) - -commit 6e78607ea71e3e5306f88f227ddba76133d16ed0 -Author: Behdad Esfahbod -Date: Wed Feb 22 16:31:15 2012 -0500 - - Reorder Hebrew combining classes for better rendering - - Patch from Jonathan Kew. - - Bug 662055 - advanced Hebrew diacritics are shown correctly only in particular order - - src/hb-ot-shape-private.hh | 28 ++++++++++++++++++++++++++++ - 1 file changed, 28 insertions(+) - -commit 7a70ca78e06c676befe1ae17199fff1f000f8188 -Author: Behdad Esfahbod -Date: Tue Feb 21 11:31:47 2012 -0500 - - Add test case from https://bugzilla.mozilla.org/show_bug.cgi?id=714067 - - test/shaping/texts/in-tree/shaper-arabic/script-arabic/misc/MANIFEST | 1 + - .../in-tree/shaper-arabic/script-arabic/misc/ligature-diacritics.txt | 1 + - 2 files changed, 2 insertions(+) - -commit f51e167436a51b890ffe3f7f7920498fa287acd9 -Author: Behdad Esfahbod -Date: Mon Jan 30 09:48:33 2012 -0500 - - Minor error handling - - util/options.cc | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -commit bee74efbdebc4e46ce57daa8a88bcf06b13411fe -Author: Behdad Esfahbod -Date: Fri Jan 27 02:14:08 2012 -0500 - - Update git.mk to new upstream - - git.mk | 44 +++++++++++++++++++++++++++++++++----------- - 1 file changed, 33 insertions(+), 11 deletions(-) - -commit 134aa7bc7e3f9b9de76c9de2ed4b7344a7b323f9 -Author: Behdad Esfahbod -Date: Fri Jan 27 02:09:40 2012 -0500 - - Make checks more OS X friendly - - src/check-internal-symbols.sh | 21 +++++++++++++-------- - src/check-libstdc++.sh | 21 +++++++++++++-------- - 2 files changed, 26 insertions(+), 16 deletions(-) - -commit 6152199368399bf98368ea3c794fa760b49756ba -Author: Behdad Esfahbod -Date: Fri Jan 27 01:57:59 2012 -0500 - - Fix check-header-guards on OS X - - src/check-header-guards.sh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit c62e41b6aad1fc56225d0e53d6d4abd0f005fe3b -Author: Behdad Esfahbod -Date: Fri Jan 27 02:20:58 2012 -0500 - - Minor - - configure.ac | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 1a5a91dc0d8bf4b72a2f22dc6300b06ad7000b79 -Author: Behdad Esfahbod -Date: Sun Jan 22 19:57:00 2012 -0500 - - Add a few more tests - - .../in-tree/shaper-indic/indic/script-devanagari/misc/misc.txt | 3 +++ - .../shaper-indic/south-east-asian/script-thai/misc/misc.txt | 9 +++++++++ - 2 files changed, 12 insertions(+) - -commit 1795f3a222a85cdf80c78a0e9181d23dd1673876 -Author: Behdad Esfahbod -Date: Sun Jan 22 19:29:45 2012 -0500 - - Add a couple Thai test cases from Thep - - test/shaping/texts/in-tree/shaper-indic/south-east-asian/MANIFEST | 1 + - .../texts/in-tree/shaper-indic/south-east-asian/script-thai/MANIFEST | 1 + - .../in-tree/shaper-indic/south-east-asian/script-thai/misc/MANIFEST | 1 + - .../in-tree/shaper-indic/south-east-asian/script-thai/misc/misc.txt | 2 ++ - 4 files changed, 5 insertions(+) - -commit ec3f506682fc6e2d7d7455e49d6c82ac9dd0c660 -Author: Behdad Esfahbod -Date: Sun Jan 22 19:10:55 2012 -0500 - - Add Devanagari test from Tom Hacohen - - .../texts/in-tree/shaper-indic/indic/script-devanagari/misc/misc.txt | 1 + - 1 file changed, 1 insertion(+) - -commit 71be4ca3dd5eaaca31957e34fef11f6aeb4aebdf -Author: Behdad Esfahbod -Date: Sun Jan 22 16:26:49 2012 -0500 - - Also ignore "ChangeLog" in manifests - - test/shaping/hb_test_tools.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 3c9a39ecd65990f2c7b29bb741c6a538fa425531 -Author: Behdad Esfahbod -Date: Sun Jan 22 16:21:19 2012 -0500 - - Remove newline - - test/shaping/hb_test_tools.py | 2 ++ - 1 file changed, 2 insertions(+) - -commit e4ccbfe276db5ed098ddcf78a7bb8f2da4263128 -Author: Behdad Esfahbod -Date: Sun Jan 22 16:07:32 2012 -0500 - - Allow --color=html in hb-diff - - Not that useful right now as we don't escape < and >. Perhaps - another tool can be added to convert the ANSI output to HTML. - - test/shaping/hb-diff | 2 +- - test/shaping/hb_test_tools.py | 22 +++++++++++++++++----- - 2 files changed, 18 insertions(+), 6 deletions(-) - -commit 71632c96daa4ba15e13f4d9e7f2c121d0162614e -Author: Behdad Esfahbod -Date: Sun Jan 22 15:31:44 2012 -0500 - - Fallback to Latin script if the font has no other usable scripts - - Patch and description from Jonathan Kew: - - It turns out that some legacy Thai fonts provide OpenType substitution - features to implement mark positioning, but (incorrectly) put those - features/lookups under the 'latn' script tag instead of using 'thai' (or - possibly 'DFLT'). See - https://bugzilla.mozilla.org/show_bug.cgi?id=719366 for an example and - more detailed description. - - Although this is really a font bug, I suggest that we could improve the - rendering of such fonts by looking for the 'latn' as a fallback if - neither the requested script nor "default" is found in - hb_ot_layout_table_choose_script. Suggested patch against harfbuzz - master is attached. - - This does _not_ affect the other kind of legacy Thai font, where custom - code to support vendor-specific PUA codepoints would be needed. I'm not - keen to go down that path; IMO, such fonts should be ruthlessly stamped - out in favour of standards-based solutions. :) - - JK - - src/hb-ot-layout.cc | 9 +++++++++ - 1 file changed, 9 insertions(+) - -commit 8f80f93491be73f05eba908591c856339acda51e -Author: Behdad Esfahbod -Date: Sat Jan 21 20:03:25 2012 -0500 - - More shoveling around - - test/shaping/hb-diff-filter-failures | 2 +- - test/shaping/hb-manifest-read | 2 +- - test/shaping/hb_test_tools.py | 27 ++++++++++++++++----------- - 3 files changed, 18 insertions(+), 13 deletions(-) - -commit c78c6e9844a23144ce7fa29afbf57b74587bfcd0 -Author: Behdad Esfahbod -Date: Sat Jan 21 19:55:16 2012 -0500 - - Cleanup - - test/shaping/hb-manifest-read | 2 +- - test/shaping/hb_test_tools.py | 13 ++++++++----- - 2 files changed, 9 insertions(+), 6 deletions(-) - -commit ab94a9c542f7ec9143335b73493ccb75d4586a3a -Author: Behdad Esfahbod -Date: Sat Jan 21 19:43:58 2012 -0500 - - Distribute testing tools - - test/shaping/Makefile.am | 24 ++++++++++++++++++++++++ - 1 file changed, 24 insertions(+) - -commit 3e86feb54c94e46b60168fd2a4773183eb1354b4 -Author: Behdad Esfahbod -Date: Sat Jan 21 19:40:30 2012 -0500 - - Speed up colorless diff - - test/shaping/hb_test_tools.py | 6 ++++++ - 1 file changed, 6 insertions(+) - -commit 1e58df603457cb4b57da78b5d4a8df66aa7d7be4 -Author: Behdad Esfahbod -Date: Sat Jan 21 19:37:31 2012 -0500 - - Cleanup manifest code - - test/shaping/hb_test_tools.py | 18 ++++++++++++------ - 1 file changed, 12 insertions(+), 6 deletions(-) - -commit 956d552e108eeb50bb3ad21588830af7a2f3862a -Author: Behdad Esfahbod -Date: Sat Jan 21 19:31:51 2012 -0500 - - Port hb-manifest-update to Python - - test/shaping/hb-manifest-update | 23 +++-------------------- - test/shaping/hb_test_tools.py | 38 ++++++++++++++++++++++++++++++-------- - 2 files changed, 33 insertions(+), 28 deletions(-) - -commit 3a34e9e351ed0ee3eb27f9c0f154bc227f1226bf -Author: Behdad Esfahbod -Date: Sat Jan 21 19:15:41 2012 -0500 - - Ignore Broken Pipe errors - - test/shaping/hb_test_tools.py | 76 +++++++++++++++++++++++++++---------------- - 1 file changed, 48 insertions(+), 28 deletions(-) - -commit d5300241680844f5625f32792f7dd7181ed05f9b -Author: Behdad Esfahbod -Date: Sat Jan 21 19:07:22 2012 -0500 - - [util] Make clusters work with char offset instead of UTF-8 offset - - This means the --features indices also refer to char position - instead of byte position now. Same for cluster values reported - by hb-shape. - - Will add an option for byte indices later. - - util/options.cc | 7 +++++-- - util/options.hh | 12 ++++++++++++ - 2 files changed, 17 insertions(+), 2 deletions(-) - -commit 0f68f4a0b5ee78cbdb2a89a9a1a9125afe72ed2f -Author: Behdad Esfahbod -Date: Sat Jan 21 18:59:48 2012 -0500 - - Correctly print out Unicode strings - - util/options.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit f22089ac24f43ff048c2a0f1c1f604ae3a96be8b -Author: Behdad Esfahbod -Date: Fri Jan 20 21:21:47 2012 -0500 - - Misc fixes - - test/shaping/hb-diff | 8 ++++---- - test/shaping/hb_test_tools.py | 4 ++-- - 2 files changed, 6 insertions(+), 6 deletions(-) - -commit 96968bfae5ce61a0a098bf0e6acd2210a309a499 -Author: Behdad Esfahbod -Date: Fri Jan 20 21:16:34 2012 -0500 - - Port hb-manifest-read to Python - - test/shaping/hb-diff-filter-failures | 2 +- - test/shaping/hb-manifest-read | 37 +++------------------------ - test/shaping/hb_test_tools.py | 49 ++++++++++++++++++++++++++++++++---- - 3 files changed, 48 insertions(+), 40 deletions(-) - -commit a59ed46fa4f7b76605f8ce6e75783ead406468f5 -Author: Behdad Esfahbod -Date: Fri Jan 20 20:56:32 2012 -0500 - - Add final residues from test-shape-complex - - .../shaping/texts/in-tree/shaper-arabic/script-nko/misc/MANIFEST | 1 + - .../shaping/texts/in-tree/shaper-arabic/script-nko/misc/misc.txt | 5 +++++ - test/shaping/texts/in-tree/shaper-default/MANIFEST | 1 + - .../texts/in-tree/shaper-default/script-linear-b/MANIFEST | 1 + - .../texts/in-tree/shaper-default/script-linear-b/misc/MANIFEST | 1 + - .../texts/in-tree/shaper-default/script-linear-b/misc/misc.txt | 1 + - test/shaping/texts/in-tree/shaper-indic/MANIFEST | 1 + - .../shaping/texts/in-tree/shaper-indic/south-east-asian/MANIFEST | 1 + - .../in-tree/shaper-indic/south-east-asian/script-khmer/MANIFEST | 1 + - .../shaper-indic/south-east-asian/script-khmer/misc/MANIFEST | 1 + - .../shaper-indic/south-east-asian/script-khmer/misc/misc.txt | 9 +++++++++ - 11 files changed, 23 insertions(+) - -commit 820e0ed318d9b187a131baa9491d5d390ec33ef4 -Author: Behdad Esfahbod -Date: Fri Jan 20 20:51:52 2012 -0500 - - Add Punjabi tests from test-shape-complex also - - .../texts/in-tree/shaper-indic/indic/script-punjabi/misc/MANIFEST | 1 + - .../texts/in-tree/shaper-indic/indic/script-punjabi/misc/misc.txt | 1 + - 2 files changed, 2 insertions(+) - -commit a7d71c105772fb612871b4cae59bdae47bbc8751 -Author: Behdad Esfahbod -Date: Fri Jan 20 20:50:09 2012 -0500 - - Add Tamil test data from Muguntharaj Subramanian - - .../shaper-indic/indic/script-tamil/misc/MANIFEST | 1 + - .../shaper-indic/indic/script-tamil/misc/misc.txt | 43 ++++++++++++++++++++++ - 2 files changed, 44 insertions(+) - -commit 5992a9941e7f19181df1e34e79e514ccedc3d284 -Author: Behdad Esfahbod -Date: Fri Jan 20 20:48:14 2012 -0500 - - Import test data from late test-shape-complex - - .../in-tree/shaper-arabic/script-arabic/MANIFEST | 1 + - .../shaper-arabic/script-arabic/misc/MANIFEST | 0 - .../in-tree/shaper-arabic/script-mandaic/MANIFEST | 1 + - .../shaper-arabic/script-mandaic/misc/MANIFEST | 0 - .../shaper-arabic/script-mongolian/MANIFEST | 1 + - .../shaper-arabic/script-mongolian/misc/MANIFEST | 0 - .../in-tree/shaper-arabic/script-nko/MANIFEST | 1 + - .../in-tree/shaper-arabic/script-nko/misc/MANIFEST | 0 - .../in-tree/shaper-arabic/script-syriac/MANIFEST | 1 + - .../shaper-arabic/script-syriac/misc/MANIFEST | 0 - .../shaper-indic/indic/script-assamese/MANIFEST | 1 + - .../indic/script-assamese/misc/MANIFEST | 0 - .../shaper-indic/indic/script-bengali/MANIFEST | 1 + - .../indic/script-bengali/misc/MANIFEST | 1 + - .../indic/script-bengali/misc/misc.txt | 48 ++++++++++++++++++++++ - .../shaper-indic/indic/script-devanagari/MANIFEST | 1 + - .../indic/script-devanagari/misc/MANIFEST | 1 + - .../indic/script-devanagari/misc/misc.txt | 23 +++++++++++ - .../shaper-indic/indic/script-gujarati/MANIFEST | 1 + - .../indic/script-gujarati/misc/MANIFEST | 0 - .../shaper-indic/indic/script-kannada/MANIFEST | 1 + - .../indic/script-kannada/misc/MANIFEST | 1 + - .../indic/script-kannada/misc/misc.txt | 17 ++++++++ - .../shaper-indic/indic/script-malayalam/MANIFEST | 1 + - .../indic/script-malayalam/misc/MANIFEST | 1 + - .../indic/script-malayalam/misc/misc.txt | 22 ++++++++++ - .../shaper-indic/indic/script-oriya/MANIFEST | 1 + - .../shaper-indic/indic/script-oriya/misc/MANIFEST | 1 + - .../shaper-indic/indic/script-oriya/misc/misc.txt | 28 +++++++++++++ - .../shaper-indic/indic/script-punjabi/MANIFEST | 1 + - .../indic/script-punjabi/misc/MANIFEST | 0 - .../shaper-indic/indic/script-sinhala/MANIFEST | 1 + - .../indic/script-sinhala/misc/MANIFEST | 1 + - .../indic/script-sinhala/misc/misc.txt | 6 +++ - .../shaper-indic/indic/script-tamil/MANIFEST | 1 + - .../shaper-indic/indic/script-tamil/misc/MANIFEST | 0 - .../shaper-indic/indic/script-telugu/MANIFEST | 1 + - .../shaper-indic/indic/script-telugu/misc/MANIFEST | 1 + - .../shaper-indic/indic/script-telugu/misc/misc.txt | 11 +++++ - 39 files changed, 178 insertions(+) - -commit 46ac45647760984c6220f04ba4521038e628b169 -Author: Behdad Esfahbod -Date: Fri Jan 20 19:32:17 2012 -0500 - - Fix Unicode encoding issue - - test/shaping/hb_test_tools.py | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit ad34e39a4a320310b1edd9fc4d7e740373510c69 -Author: Behdad Esfahbod -Date: Fri Jan 20 18:39:27 2012 -0500 - - Make test tools interactive - - By bypassing readlines() buffering. - - test/shaping/hb_test_tools.py | 33 +++++++++++++++++++++++++++------ - 1 file changed, 27 insertions(+), 6 deletions(-) - -commit 91540a7d97051a3d6e97fdcd1e98af23e0780cdd -Author: Behdad Esfahbod -Date: Fri Jan 20 18:27:52 2012 -0500 - - Move most testing logic into hb_test_tools.py - - The actual utils are one-liners now. - - test/shaping/hb-diff | 77 ++------------- - test/shaping/hb-diff-filter-failures | 27 +----- - test/shaping/hb-unicode-decode | 18 +--- - test/shaping/hb-unicode-encode | 21 +--- - test/shaping/hb-unicode-prettyname | 53 +---------- - test/shaping/hb_test_tools.py | 180 +++++++++++++++++++++++++++++++++++ - 6 files changed, 197 insertions(+), 179 deletions(-) - -commit 66aa080033dcff07b8bb5e7b1f0e3511f067d6c1 -Author: Behdad Esfahbod -Date: Fri Jan 20 17:36:10 2012 -0500 - - Remove test-shape-complex - - New shaping testsuite and framework coming. - - test/api/Makefile.am | 6 - - test/api/test-shape-complex.c | 1237 ------------------------------------ - test/shaping/hb-unicode-prettyname | 1 + - 3 files changed, 1 insertion(+), 1243 deletions(-) - -commit ed459bfb63c58b59fc0dbe25021c396e8ef8683c -Author: Behdad Esfahbod -Date: Fri Jan 20 17:24:05 2012 -0500 - - Add hb-unicode-encode - - test/shaping/hb-unicode-encode | 22 ++++++++++++++++++++++ - 1 file changed, 22 insertions(+) - -commit d8134bc017ca3383e0978ddee57070eb3aab8964 -Author: Behdad Esfahbod -Date: Fri Jan 20 17:18:59 2012 -0500 - - [hb-shape] Add parantheses around --show-text output - - util/options.cc | 2 ++ - 1 file changed, 2 insertions(+) - -commit b12c4d43614199f8910a06507603f6c431d9df67 -Author: Behdad Esfahbod -Date: Fri Jan 20 17:17:44 2012 -0500 - - Add hb-diff-filter-failures - - test/shaping/hb-diff-filter-failures | 28 ++++++++++++++++++++++++++++ - 1 file changed, 28 insertions(+) - -commit d4bffbc55bf4c23ab5c7f46af613aeecc79ac515 -Author: Behdad Esfahbod -Date: Fri Jan 20 17:16:35 2012 -0500 - - Move - - test/shaping/texts/MANIFEST | 4 +--- - test/shaping/texts/in-tree/MANIFEST | 3 +++ - test/shaping/texts/{ => in-tree}/shaper-arabic/MANIFEST | 0 - test/shaping/texts/{ => in-tree}/shaper-arabic/script-arabic/MANIFEST | 0 - .../shaping/texts/{ => in-tree}/shaper-arabic/script-mandaic/MANIFEST | 0 - .../texts/{ => in-tree}/shaper-arabic/script-mongolian/MANIFEST | 0 - test/shaping/texts/{ => in-tree}/shaper-arabic/script-nko/MANIFEST | 0 - test/shaping/texts/{ => in-tree}/shaper-arabic/script-syriac/MANIFEST | 0 - test/shaping/texts/{ => in-tree}/shaper-default/MANIFEST | 0 - test/shaping/texts/{ => in-tree}/shaper-indic/MANIFEST | 0 - test/shaping/texts/{ => in-tree}/shaper-indic/indic/MANIFEST | 0 - .../texts/{ => in-tree}/shaper-indic/indic/script-assamese/MANIFEST | 0 - .../{ => in-tree}/shaper-indic/indic/script-assamese/utrrs/LICENSE | 0 - .../{ => in-tree}/shaper-indic/indic/script-assamese/utrrs/MANIFEST | 0 - .../{ => in-tree}/shaper-indic/indic/script-assamese/utrrs/README | 0 - .../{ => in-tree}/shaper-indic/indic/script-assamese/utrrs/SOURCES | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-AdditionalVowels.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-Consonants.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-DependentVowels.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-Digits.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-IndependentVowels.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-Reserved.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-VariousSigns.txt | 0 - .../shaper-indic/indic/script-assamese/utrrs/codepoint/MANIFEST | 0 - .../script-assamese/utrrs/gpos/IndicFontFeatureGPOS-AboveBase.txt | 0 - .../script-assamese/utrrs/gpos/IndicFontFeatureGPOS-BelowBase.txt | 0 - .../shaper-indic/indic/script-assamese/utrrs/gpos/MANIFEST | 0 - .../indic/script-assamese/utrrs/gsub/IndicFontFeatureGSUB.txt | 0 - .../shaper-indic/indic/script-assamese/utrrs/gsub/MANIFEST | 0 - .../texts/{ => in-tree}/shaper-indic/indic/script-bengali/MANIFEST | 0 - .../{ => in-tree}/shaper-indic/indic/script-bengali/utrrs/LICENSE | 0 - .../{ => in-tree}/shaper-indic/indic/script-bengali/utrrs/MANIFEST | 0 - .../{ => in-tree}/shaper-indic/indic/script-bengali/utrrs/README | 0 - .../{ => in-tree}/shaper-indic/indic/script-bengali/utrrs/SOURCES | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-AdditionalVowels.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-Consonants.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-DependentVowels.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-Digits.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-IndependentVowels.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-Reserved.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-VariousSigns.txt | 0 - .../shaper-indic/indic/script-bengali/utrrs/codepoint/MANIFEST | 0 - .../script-bengali/utrrs/gpos/IndicFontFeatureGPOS-AboveBase.txt | 0 - .../script-bengali/utrrs/gpos/IndicFontFeatureGPOS-BelowBase.txt | 0 - .../shaper-indic/indic/script-bengali/utrrs/gpos/MANIFEST | 0 - .../indic/script-bengali/utrrs/gsub/IndicFontFeatureGSUB.txt | 0 - .../shaper-indic/indic/script-bengali/utrrs/gsub/MANIFEST | 0 - .../texts/{ => in-tree}/shaper-indic/indic/script-devanagari/MANIFEST | 0 - .../{ => in-tree}/shaper-indic/indic/script-devanagari/utrrs/LICENSE | 0 - .../{ => in-tree}/shaper-indic/indic/script-devanagari/utrrs/MANIFEST | 0 - .../{ => in-tree}/shaper-indic/indic/script-devanagari/utrrs/README | 0 - .../{ => in-tree}/shaper-indic/indic/script-devanagari/utrrs/SOURCES | 0 - .../codepoint/IndicFontFeatureCodepoint-AdditionalConsonants.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-AdditionalVowels.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-Consonants.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-DependentVowels.txt | 0 - .../codepoint/IndicFontFeatureCodepoint-DevnagariSpecificAddition.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-Digits.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-GenericPunctuation.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-IndependentVowels.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-VariousSigns.txt | 0 - .../shaper-indic/indic/script-devanagari/utrrs/codepoint/MANIFEST | 0 - .../script-devanagari/utrrs/gpos/IndicFontFeatureGPOS-AboveBase.txt | 0 - .../script-devanagari/utrrs/gpos/IndicFontFeatureGPOS-BelowBase.txt | 0 - .../shaper-indic/indic/script-devanagari/utrrs/gpos/MANIFEST | 0 - .../indic/script-devanagari/utrrs/gsub/IndicFontFeatureGSUB.txt | 0 - .../shaper-indic/indic/script-devanagari/utrrs/gsub/MANIFEST | 0 - .../texts/{ => in-tree}/shaper-indic/indic/script-gujarati/MANIFEST | 0 - .../{ => in-tree}/shaper-indic/indic/script-gujarati/utrrs/LICENSE | 0 - .../{ => in-tree}/shaper-indic/indic/script-gujarati/utrrs/MANIFEST | 0 - .../{ => in-tree}/shaper-indic/indic/script-gujarati/utrrs/README | 0 - .../{ => in-tree}/shaper-indic/indic/script-gujarati/utrrs/SOURCES | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-AdditionalVowels.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-Consonants.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-DependentVowels.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-Digits.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-IndependentVowels.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-Reserved.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-VariousSigns.txt | 0 - .../shaper-indic/indic/script-gujarati/utrrs/codepoint/MANIFEST | 0 - .../script-gujarati/utrrs/gpos/IndicFontFeatureGPOS-AboveBase.txt | 0 - .../script-gujarati/utrrs/gpos/IndicFontFeatureGPOS-BelowBase.txt | 0 - .../shaper-indic/indic/script-gujarati/utrrs/gpos/MANIFEST | 0 - .../indic/script-gujarati/utrrs/gsub/IndicFontFeatureGSUB.txt | 0 - .../shaper-indic/indic/script-gujarati/utrrs/gsub/MANIFEST | 0 - .../texts/{ => in-tree}/shaper-indic/indic/script-kannada/MANIFEST | 0 - .../{ => in-tree}/shaper-indic/indic/script-kannada/utrrs/LICENSE | 0 - .../{ => in-tree}/shaper-indic/indic/script-kannada/utrrs/MANIFEST | 0 - .../{ => in-tree}/shaper-indic/indic/script-kannada/utrrs/README | 0 - .../{ => in-tree}/shaper-indic/indic/script-kannada/utrrs/SOURCES | 0 - .../codepoint/IndicFontFeatureCodepoint-AdditionalConsonants.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-AdditionalVowels.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-Consonants.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-DependentVowels.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-Digits.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-IndependentVowels.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-Reserved.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-VariousSigns.txt | 0 - .../shaper-indic/indic/script-kannada/utrrs/codepoint/MANIFEST | 0 - .../script-kannada/utrrs/gpos/IndicFontFeatureGPOS-AboveBase.txt | 0 - .../shaper-indic/indic/script-kannada/utrrs/gpos/MANIFEST | 0 - .../indic/script-kannada/utrrs/gsub/IndicFontFeatureGSUB.txt | 0 - .../shaper-indic/indic/script-kannada/utrrs/gsub/MANIFEST | 0 - .../texts/{ => in-tree}/shaper-indic/indic/script-malayalam/MANIFEST | 0 - .../{ => in-tree}/shaper-indic/indic/script-malayalam/utrrs/LICENSE | 0 - .../{ => in-tree}/shaper-indic/indic/script-malayalam/utrrs/MANIFEST | 0 - .../{ => in-tree}/shaper-indic/indic/script-malayalam/utrrs/README | 0 - .../{ => in-tree}/shaper-indic/indic/script-malayalam/utrrs/SOURCES | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-AdditionalVowels.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-Consonants.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-DependentVowels.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-Digits.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-IndependentVowels.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-Reserved.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-VariousSigns.txt | 0 - .../shaper-indic/indic/script-malayalam/utrrs/codepoint/MANIFEST | 0 - .../indic/script-malayalam/utrrs/gsub/IndicFontFeatureGSUB.txt | 0 - .../shaper-indic/indic/script-malayalam/utrrs/gsub/MANIFEST | 0 - .../texts/{ => in-tree}/shaper-indic/indic/script-oriya/MANIFEST | 0 - .../texts/{ => in-tree}/shaper-indic/indic/script-oriya/utrrs/LICENSE | 0 - .../{ => in-tree}/shaper-indic/indic/script-oriya/utrrs/MANIFEST | 0 - .../texts/{ => in-tree}/shaper-indic/indic/script-oriya/utrrs/README | 0 - .../texts/{ => in-tree}/shaper-indic/indic/script-oriya/utrrs/SOURCES | 0 - .../codepoint/IndicFontFeatureCodepoint-AdditionalConsonants.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-AdditionalVowels.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-Consonants.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-DependentVowels.txt | 0 - .../script-oriya/utrrs/codepoint/IndicFontFeatureCodepoint-Digits.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-IndependentVowels.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-OriyaSpecific.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-Reserved.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-VariousSigns.txt | 0 - .../shaper-indic/indic/script-oriya/utrrs/codepoint/MANIFEST | 0 - .../indic/script-oriya/utrrs/gsub/IndicFontFeatureGSUB.txt | 0 - .../{ => in-tree}/shaper-indic/indic/script-oriya/utrrs/gsub/MANIFEST | 0 - .../texts/{ => in-tree}/shaper-indic/indic/script-punjabi/MANIFEST | 0 - .../{ => in-tree}/shaper-indic/indic/script-punjabi/utrrs/LICENSE | 0 - .../{ => in-tree}/shaper-indic/indic/script-punjabi/utrrs/MANIFEST | 0 - .../{ => in-tree}/shaper-indic/indic/script-punjabi/utrrs/README | 0 - .../{ => in-tree}/shaper-indic/indic/script-punjabi/utrrs/SOURCES | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-Consonants.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-DependentVowels.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-Digits.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-GurmukhiSpecific.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-IndependentVowels.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-Reserved.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-VariousSigns.txt | 0 - .../shaper-indic/indic/script-punjabi/utrrs/codepoint/MANIFEST | 0 - .../script-punjabi/utrrs/gpos/IndicFontFeatureGPOS-AboveBase.txt | 0 - .../script-punjabi/utrrs/gpos/IndicFontFeatureGPOS-BelowBase.txt | 0 - .../shaper-indic/indic/script-punjabi/utrrs/gpos/MANIFEST | 0 - .../indic/script-punjabi/utrrs/gsub/IndicFontFeatureGSUB.txt | 0 - .../shaper-indic/indic/script-punjabi/utrrs/gsub/MANIFEST | 0 - .../texts/{ => in-tree}/shaper-indic/indic/script-sinhala/MANIFEST | 0 - .../{ => in-tree}/shaper-indic/indic/script-sinhala/utrrs/LICENSE | 0 - .../{ => in-tree}/shaper-indic/indic/script-sinhala/utrrs/MANIFEST | 0 - .../{ => in-tree}/shaper-indic/indic/script-sinhala/utrrs/README | 0 - .../{ => in-tree}/shaper-indic/indic/script-sinhala/utrrs/SOURCES | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-Consonants.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-DependentVowels.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-IndependentVowels.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-Punctuation.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-VariousSigns.txt | 0 - .../shaper-indic/indic/script-sinhala/utrrs/codepoint/MANIFEST | 0 - .../indic/script-sinhala/utrrs/gpos/IndicFontFeatureGPOS.txt | 0 - .../shaper-indic/indic/script-sinhala/utrrs/gpos/MANIFEST | 0 - .../indic/script-sinhala/utrrs/gsub/IndicFontFeatureGSUB-Conjunct.txt | 0 - .../script-sinhala/utrrs/gsub/IndicFontFeatureGSUB-Rakaaraansaya.txt | 0 - .../indic/script-sinhala/utrrs/gsub/IndicFontFeatureGSUB-Repaya.txt | 0 - .../script-sinhala/utrrs/gsub/IndicFontFeatureGSUB-Special-Cases.txt | 0 - .../utrrs/gsub/IndicFontFeatureGSUB-TouchingLetters.txt | 0 - .../indic/script-sinhala/utrrs/gsub/IndicFontFeatureGSUB-Yansaya.txt | 0 - .../indic/script-sinhala/utrrs/gsub/IndicFontFeatureGSUB.txt | 0 - .../shaper-indic/indic/script-sinhala/utrrs/gsub/MANIFEST | 0 - .../texts/{ => in-tree}/shaper-indic/indic/script-tamil/MANIFEST | 0 - .../texts/{ => in-tree}/shaper-indic/indic/script-tamil/utrrs/LICENSE | 0 - .../{ => in-tree}/shaper-indic/indic/script-tamil/utrrs/MANIFEST | 0 - .../texts/{ => in-tree}/shaper-indic/indic/script-tamil/utrrs/README | 0 - .../texts/{ => in-tree}/shaper-indic/indic/script-tamil/utrrs/SOURCES | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-Consonants.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-CurrencySymbols.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-DependentVowels.txt | 0 - .../script-tamil/utrrs/codepoint/IndicFontFeatureCodepoint-Digits.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-IndependentVowels.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-Numerics.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-Reserved.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-Symbols.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-TamilSymbol.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-VariousSigns.txt | 0 - .../shaper-indic/indic/script-tamil/utrrs/codepoint/MANIFEST | 0 - .../indic/script-tamil/utrrs/gpos/IndicFontFeatureGPOS-AboveBase.txt | 0 - .../indic/script-tamil/utrrs/gpos/IndicFontFeatureGPOS-BelowBase.txt | 0 - .../{ => in-tree}/shaper-indic/indic/script-tamil/utrrs/gpos/MANIFEST | 0 - .../indic/script-tamil/utrrs/gsub/IndicFontFeatureGSUB.txt | 0 - .../{ => in-tree}/shaper-indic/indic/script-tamil/utrrs/gsub/MANIFEST | 0 - .../texts/{ => in-tree}/shaper-indic/indic/script-telugu/MANIFEST | 0 - .../{ => in-tree}/shaper-indic/indic/script-telugu/utrrs/LICENSE | 0 - .../{ => in-tree}/shaper-indic/indic/script-telugu/utrrs/MANIFEST | 0 - .../texts/{ => in-tree}/shaper-indic/indic/script-telugu/utrrs/README | 0 - .../{ => in-tree}/shaper-indic/indic/script-telugu/utrrs/SOURCES | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-AdditionalVowels.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-Consonants.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-DependentVowels.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-Digits.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-IndependentVowels.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-Reserved.txt | 0 - .../utrrs/codepoint/IndicFontFeatureCodepoint-VariousSigns.txt | 0 - .../shaper-indic/indic/script-telugu/utrrs/codepoint/MANIFEST | 0 - .../indic/script-telugu/utrrs/gpos/IndicFontFeatureGPOS-AboveBase.txt | 0 - .../shaper-indic/indic/script-telugu/utrrs/gpos/MANIFEST | 0 - .../indic/script-telugu/utrrs/gsub/IndicFontFeatureGSUB.txt | 0 - .../shaper-indic/indic/script-telugu/utrrs/gsub/MANIFEST | 0 - 212 files changed, 4 insertions(+), 3 deletions(-) - -commit 45f640c98d752161e51eda63061d70fad9ab9f68 -Author: Behdad Esfahbod -Date: Fri Jan 20 14:24:21 2012 -0500 - - Minor - - test/shaping/hb-diff | 35 ++++++++++++++++++++--------------- - 1 file changed, 20 insertions(+), 15 deletions(-) - -commit 47ca766a9cbdfb304f60e23a4dee0a155075a277 -Author: Behdad Esfahbod -Date: Fri Jan 20 14:21:53 2012 -0500 - - Minor - - test/shaping/hb-unicode-decode | 2 +- - test/shaping/hb-unicode-prettyname | 5 ++--- - 2 files changed, 3 insertions(+), 4 deletions(-) - -commit 8f1db07894674b02c36ca9352e666b4618ee8832 -Author: Behdad Esfahbod -Date: Fri Jan 20 13:57:57 2012 -0500 - - [test/shaping] Add some Indic test data for the new test suite - - Imported from UTRRS. - - test/shaping/texts/shaper-indic/indic/MANIFEST | 2 +- - .../shaper-indic/indic/script-assamese/MANIFEST | 1 + - .../indic/script-assamese/utrrs/LICENSE | 19 + - .../indic/script-assamese/utrrs/MANIFEST | 3 + - .../indic/script-assamese/utrrs/README | 13 + - .../indic/script-assamese/utrrs/SOURCES | 2 + - .../IndicFontFeatureCodepoint-AdditionalVowels.txt | 4 + - .../IndicFontFeatureCodepoint-Consonants.txt | 40 + - .../IndicFontFeatureCodepoint-DependentVowels.txt | 10 + - .../codepoint/IndicFontFeatureCodepoint-Digits.txt | 10 + - ...IndicFontFeatureCodepoint-IndependentVowels.txt | 11 + - .../IndicFontFeatureCodepoint-Reserved.txt | 2 + - .../IndicFontFeatureCodepoint-VariousSigns.txt | 6 + - .../indic/script-assamese/utrrs/codepoint/MANIFEST | 7 + - .../utrrs/gpos/IndicFontFeatureGPOS-AboveBase.txt | 59 + - .../utrrs/gpos/IndicFontFeatureGPOS-BelowBase.txt | 131 ++ - .../indic/script-assamese/utrrs/gpos/MANIFEST | 2 + - .../utrrs/gsub/IndicFontFeatureGSUB.txt | 139 ++ - .../indic/script-assamese/utrrs/gsub/MANIFEST | 1 + - .../shaper-indic/indic/script-bengali/MANIFEST | 1 + - .../indic/script-bengali/utrrs/LICENSE | 19 + - .../indic/script-bengali/utrrs/MANIFEST | 3 + - .../shaper-indic/indic/script-bengali/utrrs/README | 13 + - .../indic/script-bengali/utrrs/SOURCES | 2 + - .../IndicFontFeatureCodepoint-AdditionalVowels.txt | 1 + - .../IndicFontFeatureCodepoint-Consonants.txt | 36 + - .../IndicFontFeatureCodepoint-DependentVowels.txt | 10 + - .../codepoint/IndicFontFeatureCodepoint-Digits.txt | 10 + - ...IndicFontFeatureCodepoint-IndependentVowels.txt | 12 + - .../IndicFontFeatureCodepoint-Reserved.txt | 2 + - .../IndicFontFeatureCodepoint-VariousSigns.txt | 6 + - .../indic/script-bengali/utrrs/codepoint/MANIFEST | 7 + - .../utrrs/gpos/IndicFontFeatureGPOS-AboveBase.txt | 58 + - .../utrrs/gpos/IndicFontFeatureGPOS-BelowBase.txt | 119 ++ - .../indic/script-bengali/utrrs/gpos/MANIFEST | 2 + - .../utrrs/gsub/IndicFontFeatureGSUB.txt | 215 +++ - .../indic/script-bengali/utrrs/gsub/MANIFEST | 1 + - .../shaper-indic/indic/script-devanagari/MANIFEST | 1 + - .../indic/script-devanagari/utrrs/LICENSE | 19 + - .../indic/script-devanagari/utrrs/MANIFEST | 3 + - .../indic/script-devanagari/utrrs/README | 13 + - .../indic/script-devanagari/utrrs/SOURCES | 2 + - ...icFontFeatureCodepoint-AdditionalConsonants.txt | 8 + - .../IndicFontFeatureCodepoint-AdditionalVowels.txt | 4 + - .../IndicFontFeatureCodepoint-Consonants.txt | 45 + - .../IndicFontFeatureCodepoint-DependentVowels.txt | 14 + - ...tFeatureCodepoint-DevnagariSpecificAddition.txt | 1 + - .../codepoint/IndicFontFeatureCodepoint-Digits.txt | 10 + - ...ndicFontFeatureCodepoint-GenericPunctuation.txt | 2 + - ...IndicFontFeatureCodepoint-IndependentVowels.txt | 16 + - .../IndicFontFeatureCodepoint-VariousSigns.txt | 10 + - .../script-devanagari/utrrs/codepoint/MANIFEST | 9 + - .../utrrs/gpos/IndicFontFeatureGPOS-AboveBase.txt | 185 +++ - .../utrrs/gpos/IndicFontFeatureGPOS-BelowBase.txt | 185 +++ - .../indic/script-devanagari/utrrs/gpos/MANIFEST | 2 + - .../utrrs/gsub/IndicFontFeatureGSUB.txt | 1367 ++++++++++++++++++++ - .../indic/script-devanagari/utrrs/gsub/MANIFEST | 1 + - .../shaper-indic/indic/script-gujarati/MANIFEST | 1 + - .../indic/script-gujarati/utrrs/LICENSE | 19 + - .../indic/script-gujarati/utrrs/MANIFEST | 3 + - .../indic/script-gujarati/utrrs/README | 13 + - .../indic/script-gujarati/utrrs/SOURCES | 2 + - .../IndicFontFeatureCodepoint-AdditionalVowels.txt | 1 + - .../IndicFontFeatureCodepoint-Consonants.txt | 34 + - .../IndicFontFeatureCodepoint-DependentVowels.txt | 12 + - .../codepoint/IndicFontFeatureCodepoint-Digits.txt | 10 + - ...IndicFontFeatureCodepoint-IndependentVowels.txt | 13 + - .../IndicFontFeatureCodepoint-Reserved.txt | 2 + - .../IndicFontFeatureCodepoint-VariousSigns.txt | 7 + - .../indic/script-gujarati/utrrs/codepoint/MANIFEST | 7 + - .../utrrs/gpos/IndicFontFeatureGPOS-AboveBase.txt | 170 +++ - .../utrrs/gpos/IndicFontFeatureGPOS-BelowBase.txt | 170 +++ - .../indic/script-gujarati/utrrs/gpos/MANIFEST | 2 + - .../utrrs/gsub/IndicFontFeatureGSUB.txt | 1156 +++++++++++++++++ - .../indic/script-gujarati/utrrs/gsub/MANIFEST | 1 + - .../shaper-indic/indic/script-kannada/MANIFEST | 1 + - .../indic/script-kannada/utrrs/LICENSE | 19 + - .../indic/script-kannada/utrrs/MANIFEST | 3 + - .../shaper-indic/indic/script-kannada/utrrs/README | 13 + - .../indic/script-kannada/utrrs/SOURCES | 2 + - ...icFontFeatureCodepoint-AdditionalConsonants.txt | 1 + - .../IndicFontFeatureCodepoint-AdditionalVowels.txt | 4 + - .../IndicFontFeatureCodepoint-Consonants.txt | 40 + - .../IndicFontFeatureCodepoint-DependentVowels.txt | 13 + - .../codepoint/IndicFontFeatureCodepoint-Digits.txt | 10 + - ...IndicFontFeatureCodepoint-IndependentVowels.txt | 14 + - .../IndicFontFeatureCodepoint-Reserved.txt | 2 + - .../IndicFontFeatureCodepoint-VariousSigns.txt | 9 + - .../indic/script-kannada/utrrs/codepoint/MANIFEST | 8 + - .../utrrs/gpos/IndicFontFeatureGPOS-AboveBase.txt | 188 +++ - .../indic/script-kannada/utrrs/gpos/MANIFEST | 1 + - .../utrrs/gsub/IndicFontFeatureGSUB.txt | 306 +++++ - .../indic/script-kannada/utrrs/gsub/MANIFEST | 1 + - .../shaper-indic/indic/script-malayalam/MANIFEST | 1 + - .../indic/script-malayalam/utrrs/LICENSE | 19 + - .../indic/script-malayalam/utrrs/MANIFEST | 2 + - .../indic/script-malayalam/utrrs/README | 13 + - .../indic/script-malayalam/utrrs/SOURCES | 2 + - .../IndicFontFeatureCodepoint-AdditionalVowels.txt | 2 + - .../IndicFontFeatureCodepoint-Consonants.txt | 36 + - .../IndicFontFeatureCodepoint-DependentVowels.txt | 12 + - .../codepoint/IndicFontFeatureCodepoint-Digits.txt | 10 + - ...IndicFontFeatureCodepoint-IndependentVowels.txt | 14 + - .../IndicFontFeatureCodepoint-Reserved.txt | 2 + - .../IndicFontFeatureCodepoint-VariousSigns.txt | 4 + - .../script-malayalam/utrrs/codepoint/MANIFEST | 7 + - .../utrrs/gsub/IndicFontFeatureGSUB.txt | 254 ++++ - .../indic/script-malayalam/utrrs/gsub/MANIFEST | 1 + - .../texts/shaper-indic/indic/script-oriya/MANIFEST | 1 + - .../shaper-indic/indic/script-oriya/utrrs/LICENSE | 19 + - .../shaper-indic/indic/script-oriya/utrrs/MANIFEST | 2 + - .../shaper-indic/indic/script-oriya/utrrs/README | 13 + - .../shaper-indic/indic/script-oriya/utrrs/SOURCES | 2 + - ...icFontFeatureCodepoint-AdditionalConsonants.txt | 3 + - .../IndicFontFeatureCodepoint-AdditionalVowels.txt | 2 + - .../IndicFontFeatureCodepoint-Consonants.txt | 34 + - .../IndicFontFeatureCodepoint-DependentVowels.txt | 12 + - .../codepoint/IndicFontFeatureCodepoint-Digits.txt | 10 + - ...IndicFontFeatureCodepoint-IndependentVowels.txt | 12 + - .../IndicFontFeatureCodepoint-OriyaSpecific.txt | 2 + - .../IndicFontFeatureCodepoint-Reserved.txt | 2 + - .../IndicFontFeatureCodepoint-VariousSigns.txt | 8 + - .../indic/script-oriya/utrrs/codepoint/MANIFEST | 9 + - .../utrrs/gsub/IndicFontFeatureGSUB.txt | 170 +++ - .../indic/script-oriya/utrrs/gsub/MANIFEST | 1 + - .../shaper-indic/indic/script-punjabi/MANIFEST | 1 + - .../indic/script-punjabi/utrrs/LICENSE | 19 + - .../indic/script-punjabi/utrrs/MANIFEST | 3 + - .../shaper-indic/indic/script-punjabi/utrrs/README | 13 + - .../indic/script-punjabi/utrrs/SOURCES | 2 + - .../IndicFontFeatureCodepoint-Consonants.txt | 38 + - .../IndicFontFeatureCodepoint-DependentVowels.txt | 9 + - .../codepoint/IndicFontFeatureCodepoint-Digits.txt | 10 + - .../IndicFontFeatureCodepoint-GurmukhiSpecific.txt | 6 + - ...IndicFontFeatureCodepoint-IndependentVowels.txt | 10 + - .../IndicFontFeatureCodepoint-Reserved.txt | 2 + - .../IndicFontFeatureCodepoint-VariousSigns.txt | 6 + - .../indic/script-punjabi/utrrs/codepoint/MANIFEST | 7 + - .../utrrs/gpos/IndicFontFeatureGPOS-AboveBase.txt | 22 + - .../utrrs/gpos/IndicFontFeatureGPOS-BelowBase.txt | 2 + - .../indic/script-punjabi/utrrs/gpos/MANIFEST | 2 + - .../utrrs/gsub/IndicFontFeatureGSUB.txt | 152 +++ - .../indic/script-punjabi/utrrs/gsub/MANIFEST | 1 + - .../shaper-indic/indic/script-sinhala/MANIFEST | 1 + - .../indic/script-sinhala/utrrs/LICENSE | 19 + - .../indic/script-sinhala/utrrs/MANIFEST | 3 + - .../shaper-indic/indic/script-sinhala/utrrs/README | 13 + - .../indic/script-sinhala/utrrs/SOURCES | 2 + - .../IndicFontFeatureCodepoint-Consonants.txt | 41 + - .../IndicFontFeatureCodepoint-DependentVowels.txt | 17 + - ...IndicFontFeatureCodepoint-IndependentVowels.txt | 18 + - .../IndicFontFeatureCodepoint-Punctuation.txt | 1 + - .../IndicFontFeatureCodepoint-VariousSigns.txt | 3 + - .../indic/script-sinhala/utrrs/codepoint/MANIFEST | 5 + - .../utrrs/gpos/IndicFontFeatureGPOS.txt | 162 +++ - .../indic/script-sinhala/utrrs/gpos/MANIFEST | 1 + - .../utrrs/gsub/IndicFontFeatureGSUB-Conjunct.txt | 1 + - .../gsub/IndicFontFeatureGSUB-Rakaaraansaya.txt | 41 + - .../utrrs/gsub/IndicFontFeatureGSUB-Repaya.txt | 42 + - .../gsub/IndicFontFeatureGSUB-Special-Cases.txt | 2 + - .../gsub/IndicFontFeatureGSUB-TouchingLetters.txt | 1 + - .../utrrs/gsub/IndicFontFeatureGSUB-Yansaya.txt | 41 + - .../utrrs/gsub/IndicFontFeatureGSUB.txt | 1 + - .../indic/script-sinhala/utrrs/gsub/MANIFEST | 7 + - .../texts/shaper-indic/indic/script-tamil/MANIFEST | 1 + - .../shaper-indic/indic/script-tamil/utrrs/LICENSE | 19 + - .../shaper-indic/indic/script-tamil/utrrs/MANIFEST | 3 + - .../shaper-indic/indic/script-tamil/utrrs/README | 13 + - .../shaper-indic/indic/script-tamil/utrrs/SOURCES | 2 + - .../IndicFontFeatureCodepoint-Consonants.txt | 23 + - .../IndicFontFeatureCodepoint-CurrencySymbols.txt | 1 + - .../IndicFontFeatureCodepoint-DependentVowels.txt | 11 + - .../codepoint/IndicFontFeatureCodepoint-Digits.txt | 10 + - ...IndicFontFeatureCodepoint-IndependentVowels.txt | 12 + - .../IndicFontFeatureCodepoint-Numerics.txt | 3 + - .../IndicFontFeatureCodepoint-Reserved.txt | 2 + - .../IndicFontFeatureCodepoint-Symbols.txt | 6 + - .../IndicFontFeatureCodepoint-TamilSymbol.txt | 1 + - .../IndicFontFeatureCodepoint-VariousSigns.txt | 4 + - .../indic/script-tamil/utrrs/codepoint/MANIFEST | 10 + - .../utrrs/gpos/IndicFontFeatureGPOS-AboveBase.txt | 64 + - .../utrrs/gpos/IndicFontFeatureGPOS-BelowBase.txt | 44 + - .../indic/script-tamil/utrrs/gpos/MANIFEST | 2 + - .../utrrs/gsub/IndicFontFeatureGSUB.txt | 4 + - .../indic/script-tamil/utrrs/gsub/MANIFEST | 1 + - .../shaper-indic/indic/script-telugu/MANIFEST | 1 + - .../shaper-indic/indic/script-telugu/utrrs/LICENSE | 19 + - .../indic/script-telugu/utrrs/MANIFEST | 3 + - .../shaper-indic/indic/script-telugu/utrrs/README | 13 + - .../shaper-indic/indic/script-telugu/utrrs/SOURCES | 2 + - .../IndicFontFeatureCodepoint-AdditionalVowels.txt | 2 + - .../IndicFontFeatureCodepoint-Consonants.txt | 38 + - .../IndicFontFeatureCodepoint-DependentVowels.txt | 13 + - .../codepoint/IndicFontFeatureCodepoint-Digits.txt | 10 + - ...IndicFontFeatureCodepoint-IndependentVowels.txt | 14 + - .../IndicFontFeatureCodepoint-Reserved.txt | 2 + - .../IndicFontFeatureCodepoint-VariousSigns.txt | 6 + - .../indic/script-telugu/utrrs/codepoint/MANIFEST | 7 + - .../utrrs/gpos/IndicFontFeatureGPOS-AboveBase.txt | 385 ++++++ - .../indic/script-telugu/utrrs/gpos/MANIFEST | 1 + - .../utrrs/gsub/IndicFontFeatureGSUB.txt | 287 ++++ - .../indic/script-telugu/utrrs/gsub/MANIFEST | 1 + - 202 files changed, 7581 insertions(+), 1 deletion(-) - -commit 11267aef364b1cc5683ce65aaf544b7f2a127fb3 -Author: Behdad Esfahbod -Date: Fri Jan 20 13:57:14 2012 -0500 - - Fix - - test/shaping/Makefile.am | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 4e84ce48d5d41cf1bad2fb8774e5c66745b0e75e -Author: Behdad Esfahbod -Date: Fri Jan 20 13:50:55 2012 -0500 - - Move hb-diff to test/shaping/ - - {util => test/shaping}/hb-diff | 0 - util/Makefile.am | 2 -- - 2 files changed, 2 deletions(-) - -commit f868e1b84d2f73688d4d6558d44610b1ac75ec13 -Author: Behdad Esfahbod -Date: Fri Jan 20 13:50:05 2012 -0500 - - Add hb-unicode-decode - - test/shaping/{hb-read-manifest => hb-manifest-read} | 0 - .../{hb-update-manifests => hb-manifest-update} | 0 - test/shaping/hb-unicode-decode | 19 +++++++++++++++++++ - 3 files changed, 19 insertions(+) - -commit 9ab23ef4749b51e60464b9ef2a92739cdc2b36ba -Author: Behdad Esfahbod -Date: Fri Jan 20 13:49:56 2012 -0500 - - Minor - - test/shaping/hb-unicode-prettyname | 5 +++++ - 1 file changed, 5 insertions(+) - -commit c8d81db03335192f20f08ab8fabe9869fd7350a2 -Author: Behdad Esfahbod -Date: Fri Jan 20 13:39:27 2012 -0500 - - Recognize more characters - - test/shaping/hb-unicode-prettyname | 7 +++++++ - 1 file changed, 7 insertions(+) - -commit 0016d4662d486fa32c2191df801a2792f44b273c -Author: Behdad Esfahbod -Date: Fri Jan 20 13:31:59 2012 -0500 - - [test] Make hb-unicode-prettyname take a --stdin option - - test/shaping/hb-unicode-prettyname | 15 +++++++++------ - 1 file changed, 9 insertions(+), 6 deletions(-) - -commit ad8c6446f2e0d21d065203924467f6a2c418401e -Author: Behdad Esfahbod -Date: Thu Jan 19 20:28:31 2012 -0500 - - [test/shaping] Add hb-unicode-prettyname - - test/shaping/hb-unicode-prettyname | 38 ++++++++++++++++++++++++++++++++++++++ - 1 file changed, 38 insertions(+) - -commit e900869b0f373d25b72d966338beb6cbc53e6446 -Author: Behdad Esfahbod -Date: Thu Jan 19 20:28:15 2012 -0500 - - [test/shaping] Add hb-read-manifest - - test/shaping/hb-read-manifest | 36 ++++++++++++++++++++++++++++++++++++ - 1 file changed, 36 insertions(+) - -commit a211cd3ffce3aa100e92d837384bbaa9decf6b09 -Author: Behdad Esfahbod -Date: Thu Jan 19 20:27:53 2012 -0500 - - Ignore AUTHORS also - - test/shaping/hb-update-manifests | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit c91c4fa47140c0d6191241a832fc534b1c1514ce -Author: Behdad Esfahbod -Date: Thu Jan 19 17:51:57 2012 -0500 - - [hb-shape] Change glyphstring brackets from to [/] - - Sorry for the disruption but I need this to differentiate from the - Unicode string. - - util/options.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 36fe87d1b4bf8317074a597501d1ee52c0bec38d -Author: Behdad Esfahbod -Date: Thu Jan 19 16:55:26 2012 -0500 - - More Indic tests from Pravin - - test/api/test-shape-complex.c | 48 +++++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 48 insertions(+) - -commit a33e46cf7d9862856fd7ecb04e047cc58a9785c8 -Author: Behdad Esfahbod -Date: Thu Jan 19 15:43:48 2012 -0500 - - [test/shaping] Add hb-update-manifests - - test/shaping/Makefile.am | 6 ++---- - test/shaping/hb-update-manifests | 22 ++++++++++++++++++++++ - test/shaping/texts/shaper-indic/indic/MANIFEST | 1 + - 3 files changed, 25 insertions(+), 4 deletions(-) - -commit d4de562adf691425b15e3e9c0eec035feaa60413 -Author: Behdad Esfahbod -Date: Thu Jan 19 15:21:04 2012 -0500 - - Start adding new shaping test suite together - - configure.ac | 1 + - test/Makefile.am | 2 +- - test/shaping/Makefile.am | 10 ++++++++++ - test/shaping/texts/MANIFEST | 3 +++ - test/shaping/texts/shaper-arabic/MANIFEST | 5 +++++ - test/shaping/texts/shaper-arabic/script-arabic/MANIFEST | 0 - test/shaping/texts/shaper-arabic/script-mandaic/MANIFEST | 0 - test/shaping/texts/shaper-arabic/script-mongolian/MANIFEST | 0 - test/shaping/texts/shaper-arabic/script-nko/MANIFEST | 0 - test/shaping/texts/shaper-arabic/script-syriac/MANIFEST | 0 - test/shaping/texts/shaper-default/MANIFEST | 0 - test/shaping/texts/shaper-indic/MANIFEST | 1 + - test/shaping/texts/shaper-indic/indic/MANIFEST | 10 ++++++++++ - test/shaping/texts/shaper-indic/indic/script-assamese/MANIFEST | 0 - test/shaping/texts/shaper-indic/indic/script-bengali/MANIFEST | 0 - .../texts/shaper-indic/indic/script-devanagari/MANIFEST | 0 - test/shaping/texts/shaper-indic/indic/script-gujarati/MANIFEST | 0 - test/shaping/texts/shaper-indic/indic/script-kannada/MANIFEST | 0 - .../shaping/texts/shaper-indic/indic/script-malayalam/MANIFEST | 0 - test/shaping/texts/shaper-indic/indic/script-oriya/MANIFEST | 0 - test/shaping/texts/shaper-indic/indic/script-punjabi/MANIFEST | 0 - test/shaping/texts/shaper-indic/indic/script-tamil/MANIFEST | 0 - test/shaping/texts/shaper-indic/indic/script-telugu/MANIFEST | 0 - 23 files changed, 31 insertions(+), 1 deletion(-) - -commit 7a4a848db27d1605195f677c9c8632cde558aa05 -Author: Behdad Esfahbod -Date: Thu Jan 19 15:15:21 2012 -0500 - - Minor - - src/hb-ot-shape-complex-private.hh | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 4d6dafd47f4271549e528d2e8047d50562aef399 -Author: Behdad Esfahbod -Date: Thu Jan 19 14:52:02 2012 -0500 - - Rename test/ to test/api/ - - configure.ac | 1 + - test/Makefile.am | 128 +---------------------------------- - test/api/Makefile.am | 131 ++++++++++++++++++++++++++++++++++++ - test/{ => api}/hb-test.h | 0 - test/{ => api}/test-blob.c | 0 - test/{ => api}/test-buffer.c | 0 - test/{ => api}/test-c.c | 0 - test/{ => api}/test-common.c | 0 - test/{ => api}/test-cplusplus.cc | 0 - test/{ => api}/test-font.c | 0 - test/{ => api}/test-object.c | 0 - test/{ => api}/test-ot-tag.c | 0 - test/{ => api}/test-shape-complex.c | 0 - test/{ => api}/test-shape.c | 0 - test/{ => api}/test-unicode.c | 0 - test/{ => api}/test-version.c | 0 - 16 files changed, 133 insertions(+), 127 deletions(-) - -commit 3b5c22c39b87155f315853fb0c40edcf14e99b54 -Author: Behdad Esfahbod -Date: Thu Jan 19 14:28:11 2012 -0500 - - Remove src/test.cc - - Not really useful. - - src/Makefile.am | 6 +-- - src/test.cc | 132 -------------------------------------------------------- - 2 files changed, 1 insertion(+), 137 deletions(-) - -commit 4983feebbbb25e79201bf34035e4d58e61218758 -Author: Behdad Esfahbod -Date: Thu Jan 19 13:54:52 2012 -0500 - - [hb-diff] Clean up - - util/hb-diff | 41 ++++++++++++++++++++++++++--------------- - 1 file changed, 26 insertions(+), 15 deletions(-) - -commit cdc673d97c5ffedb386865a81f54a5cedcbad27c -Author: Behdad Esfahbod -Date: Thu Jan 19 12:46:18 2012 -0500 - - [hb-shape] Add --show-line-num - - Ok, much more useful as a test suite driver now. - - util/hb-shape.cc | 24 +++++------------------- - util/options.cc | 34 ++++++++++++++++++++++++++++++++++ - util/options.hh | 25 ++++++++++++++++++++----- - 3 files changed, 59 insertions(+), 24 deletions(-) - -commit cc4d9810d6318ca2e4de3b8d62f03b51cc21ee05 -Author: Behdad Esfahbod -Date: Thu Jan 19 12:32:20 2012 -0500 - - [hb-shape] Add --show-text and --show-unicode options - - util/hb-shape.cc | 19 ++++++++++++++++++- - util/options.cc | 26 +++++++++++++++++++++++--- - util/options.hh | 12 +++++++++--- - 3 files changed, 50 insertions(+), 7 deletions(-) - -commit 27c36af411c7c4d75dd25d79fc76dd92c6bb9643 -Author: Behdad Esfahbod -Date: Thu Jan 19 12:30:43 2012 -0500 - - Fix OOB in hb-shape - - util/options.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 8d2781d69274672303e30522e222bd01c6b5e781 -Author: Behdad Esfahbod -Date: Thu Jan 19 11:36:39 2012 -0500 - - [test] Add two Indic test cases from Bernard Massot - - test/test-shape-complex.c | 16 ++++++++++++++++ - 1 file changed, 16 insertions(+) - -commit 8750abaf8410005facbea8c886c592bead7f959b -Author: Behdad Esfahbod -Date: Wed Jan 18 22:47:44 2012 -0500 - - [util] Add --help-features - - Patch from Khaled Hosny. - - util/options.cc | 42 +++++++++++++++++++++++++++++++++++++++++- - 1 file changed, 41 insertions(+), 1 deletion(-) - -commit 889caa52fa1bef61013ec1d127f84d7d5907ef1e -Author: Behdad Esfahbod -Date: Wed Jan 18 22:32:52 2012 -0500 - - [icu] Use U_FAILURE - - src/hb-icu.cc | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -commit 36a4f4a482456ee816dcb59befa0b0538ba487df -Author: Behdad Esfahbod -Date: Wed Jan 18 22:16:49 2012 -0500 - - Replace u_strlen() with u_countChar32() - - The latter is what I meant. - - src/hb-icu.cc | 8 +++----- - 1 file changed, 3 insertions(+), 5 deletions(-) - -commit 055fb24d03ae518fa0aa6c2860a03f3cb6a5ef0d -Author: Behdad Esfahbod -Date: Wed Jan 18 21:58:34 2012 -0500 - - Add test for bug in ICU decompose - - As reported by Kenichi Ishibashi on 2011-10-28. - - test/test-unicode.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit c521e793bd6c1dafacb94253a45b9c70ab38525e -Author: Behdad Esfahbod -Date: Wed Jan 18 21:51:05 2012 -0500 - - Fix OOB in replace_glyph() - - Patch from Kenichi Ishibashi. - - src/hb-buffer.cc | 2 ++ - 1 file changed, 2 insertions(+) - -commit 03408ce73d003ed4e58e3f8472f9445e72b86bee -Author: Behdad Esfahbod -Date: Wed Jan 18 21:28:34 2012 -0500 - - Fix more possible buffer overruns - - I have this function, but can't clean up it to my satisfaction. - - src/hb-ot-layout-gsubgpos-private.hh | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -commit 7d479900cd11bc88148cd601ee43bc5492ce5843 -Author: Behdad Esfahbod -Date: Wed Jan 18 21:19:32 2012 -0500 - - Refactor the two remaining uses of _hb_ot_layout_skip_mark() - - src/hb-ot-layout-gsub-table.hh | 2 +- - src/hb-ot-layout-gsubgpos-private.hh | 7 +++++-- - 2 files changed, 6 insertions(+), 3 deletions(-) - -commit 506ffeb8e77a668fa305139582d215c32e46bb03 -Author: Behdad Esfahbod -Date: Wed Jan 18 16:07:53 2012 -0500 - - Further mark skippy fixes from Jonathan Kew - - We should be in good shape now. - - src/hb-ot-layout-gsubgpos-private.hh | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit a4a48fe6d4f884a37e720430347d10dbe3562a79 -Author: Behdad Esfahbod -Date: Tue Jan 17 18:08:41 2012 -0500 - - Fix mark skipping regression - - Ouch! - - src/hb-ot-layout-gsubgpos-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 4ab97311541225906f6b737a2b47de252224cc09 -Author: Behdad Esfahbod -Date: Mon Jan 16 22:05:08 2012 -0500 - - Refactor mark skipping - - src/hb-ot-layout-gpos-table.hh | 95 ++++++++++---------------- - src/hb-ot-layout-gsub-table.hh | 21 +++--- - src/hb-ot-layout-gsubgpos-private.hh | 125 +++++++++++++++++++++++++++-------- - 3 files changed, 143 insertions(+), 98 deletions(-) - -commit 370f03e9c69d98d735eafb7e72b13b17f42cbaa9 -Author: Behdad Esfahbod -Date: Mon Jan 16 17:03:55 2012 -0500 - - Minor - - src/hb-ot-layout-gsub-table.hh | 5 ++--- - src/hb-ot-layout-gsubgpos-private.hh | 6 ++---- - 2 files changed, 4 insertions(+), 7 deletions(-) - -commit 4d3aeb8cb2bc1ca7cdd03ba28ba8c334f12d4c03 -Author: Behdad Esfahbod -Date: Mon Jan 16 16:43:26 2012 -0500 - - [GSUB/GPOS] Fix mark skip indexing issues - - Mozilla bug 701637 and 714067 combined. - - Patch from Jonathan Kew. - - src/hb-ot-layout-gpos-table.hh | 42 ++++++++++++++++----------------- - src/hb-ot-layout-gsub-table.hh | 21 +++++++++-------- - src/hb-ot-layout-gsubgpos-private.hh | 45 ++++++++++++++++++------------------ - 3 files changed, 54 insertions(+), 54 deletions(-) - -commit e8eedf2687f05372bf5476e84139d01ba67c9f73 -Author: Behdad Esfahbod -Date: Mon Jan 16 16:39:40 2012 -0500 - - Avoid enum trailing commas - - Based on patch from Jonathan Kew. - - src/hb-ot-shape-complex-indic.cc | 4 ++-- - src/hb-ot-shape-complex-private.hh | 2 ++ - 2 files changed, 4 insertions(+), 2 deletions(-) - -commit 3d0ddd12801689b4093ffca97da4dd9ca669b64a -Author: Behdad Esfahbod -Date: Sun Jan 15 15:55:52 2012 -0500 - - Require glib >= 2.16 for the gobject option - - configure.ac | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 95ab82a992ab916046c2e6205db7cadeec88d206 -Author: Behdad Esfahbod -Date: Sun Jan 15 14:56:56 2012 -0500 - - Disable gtk-doc macro - - We don't have any docs yet. - - configure.ac | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 299ae0c3a367c84a835eadbd1276ca284d2720c0 -Author: Behdad Esfahbod -Date: Sat Jan 14 21:29:45 2012 -0500 - - [icu] Remove glib-ism - - src/hb-icu.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit a097043f9a81e6c20caf69a5dabdf9e00438d79b -Author: Behdad Esfahbod -Date: Sat Jan 14 17:55:51 2012 -0500 - - Allow space in one more place when parsing features - - util/options.cc | 2 ++ - 1 file changed, 2 insertions(+) - -commit af92135424b994062648f4fb7e26af0bd970a4b1 -Author: Behdad Esfahbod -Date: Fri Oct 21 09:18:43 2011 -0700 - - Minor - - src/hb-object-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 89d89646e8163b6c0874b9a3c14d4da974ea8219 -Author: Behdad Esfahbod -Date: Mon Oct 17 11:50:54 2011 -0700 - - Fix intrin.h b0rkage with older MSVC - - Reported by Jonathan Kew. - - src/hb-object-private.hh | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -commit af913c5788e600e36d29f44fe4e77db84cf8c442 -Author: Behdad Esfahbod -Date: Mon Oct 17 11:39:28 2011 -0700 - - Fix infinite loop in normalization code with variation selectors - - Reported by Jonathan Kew. - - src/hb-ot-shape-normalize.cc | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -commit fd528c17b7b5ac912f1ac980e1d9981f561c3b46 -Author: Behdad Esfahbod -Date: Wed Oct 12 15:03:58 2011 -0400 - - [util] Add --list-shapers to hb-view and hb-shape - - util/options.cc | 17 ++++++++++++++++- - 1 file changed, 16 insertions(+), 1 deletion(-) - -commit a17554bfd51dc8a37b1674d1ede63e616618e0a6 -Author: Behdad Esfahbod -Date: Wed Sep 28 16:57:34 2011 -0400 - - Make test-c.c actually use hb - - This will make sure we test that C code can actually link to the - library. - - test/test-c.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 55deff7595ef357d000fef83559c74c9f8acad00 -Author: Behdad Esfahbod -Date: Wed Sep 28 16:20:09 2011 -0400 - - Add comments - - src/hb-ot-shape-normalize.cc | 4 ++++ - 1 file changed, 4 insertions(+) - -commit a240d5a0a3ccc71902e7a341b6d531995319999d -Author: Behdad Esfahbod -Date: Tue Sep 27 13:50:45 2011 -0400 - - Add TODO item - - TODO | 2 ++ - 1 file changed, 2 insertions(+) - -commit 52ebdff49d13f239efc886de935d47be9860f6e5 -Author: Behdad Esfahbod -Date: Tue Sep 27 12:38:16 2011 -0400 - - Fix GSUB lookuptype 1 subtype 1 delta wrapping - - src/hb-ot-layout-gsub-table.hh | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit 5857720cd35078d1c3906c8b2db3190b5166b66f -Author: Behdad Esfahbod -Date: Tue Sep 27 12:36:26 2011 -0400 - - [util] s/%d/%u/ when printing glyph ids and clusters - - util/options.cc | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit b95324cdd217f44c40c5fd44898e659500f19511 -Author: Behdad Esfahbod -Date: Wed Sep 21 16:50:39 2011 -0400 - - Minor - - src/hb-blob.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 0cd33592ab4bb486ffc438ba0efdac2fa7a1bb7f -Author: Behdad Esfahbod -Date: Wed Sep 21 16:49:33 2011 -0400 - - Fix possible leaks - - src/hb-font.cc | 16 +++++++++++++--- - 1 file changed, 13 insertions(+), 3 deletions(-) - -commit d3f3690b485e1d240fec4f204aef54e07853a244 -Author: Behdad Esfahbod -Date: Wed Sep 21 16:41:43 2011 -0400 - - hb-shape: In --no-glyph-names, output glyph number directly - - Ie. write "86" instead of "gid86". - - util/options.cc | 11 +++++++---- - 1 file changed, 7 insertions(+), 4 deletions(-) - -commit 088c1e27c0fc0cdef999cf1f567e4d5eb2cfb2e4 -Author: Behdad Esfahbod -Date: Tue Sep 20 14:43:55 2011 -0400 - - [util] Fix option parsing - - Wow, who knew bool is one byte and I was using it as a 4byte int?! - - C++ auto casts fails you in mysterious ways... - - util/helper-cairo.cc | 2 +- - util/options.cc | 3 ++- - util/options.hh | 14 +++++++------- - 3 files changed, 10 insertions(+), 9 deletions(-) - -commit d606daa4cca323c8977b2e52e6863dc0f1b72fa9 -Author: Behdad Esfahbod -Date: Tue Sep 20 14:34:06 2011 -0400 - - Whitespace - - src/gen-arabic-table.py | 2 +- - src/gen-indic-table.py | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit e700bce1189465a159a7c3c179f231be224f31cc -Author: Behdad Esfahbod -Date: Tue Sep 20 11:20:53 2011 -0400 - - [util] Add hb-diff - - A diff program written in Python that is more suitable for comparing - hb-shape output from different backends. Main differences with stock - diff: - - 1. It outputs one line's comparison at a time, as opposed to batching - '+' lines and '-' lines. - - 2. It colors the part of the line that changed, taking word boundaries - into consideration. - - You can pipe the colored output to 'less -r'. - - util/Makefile.am | 2 ++ - util/hb-diff | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ - 2 files changed, 61 insertions(+) - -commit 880c1f0e4ede65890592d28dfb38bb06f5b57500 -Author: Behdad Esfahbod -Date: Mon Sep 19 23:10:22 2011 -0400 - - Rewrite ICU detection code with in-house macros - - At least works for cross-compiling now... - - configure.ac | 26 +++++++++++++++----------- - 1 file changed, 15 insertions(+), 11 deletions(-) - -commit f83f0f4836691b04306c2ef80979f2e1d76a2f28 -Author: Behdad Esfahbod -Date: Mon Sep 19 18:51:48 2011 -0400 - - [graphite] Add note about graphite shaker brokenness - - src/hb-graphite2.cc | 8 ++++++++ - 1 file changed, 8 insertions(+) - -commit 422558142aabb996d8ad1848df7ea4d5a8ade98a -Author: Behdad Esfahbod -Date: Mon Sep 19 17:57:02 2011 -0400 - - [util] Account for line-space in surface size - - util/options.cc | 2 +- - util/options.hh | 1 - - util/view-cairo.cc | 2 +- - 3 files changed, 2 insertions(+), 3 deletions(-) - -commit b5afd8f78e6b372f1bbed469329c1554adb20eea -Author: Behdad Esfahbod -Date: Mon Sep 19 16:56:21 2011 -0400 - - [util] Rename --output to --output_file, and --format to --output-format - - util/options.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 0a965eee880428a43ad7f9d1317c344666247dd7 -Author: Behdad Esfahbod -Date: Mon Sep 19 16:53:47 2011 -0400 - - Minor - - src/hb-ot-shape-complex-indic.cc | 4 ++++ - 1 file changed, 4 insertions(+) - -commit 466393c2f04fb5b3dcb3e81ea9609905fa8c9648 -Author: Behdad Esfahbod -Date: Mon Sep 19 16:50:18 2011 -0400 - - Really fix build this time - - util/hb-view.hh | 1 - - 1 file changed, 1 deletion(-) - -commit fe1605db4f28ed75d5debe0db45a19aa77f0585f -Author: Behdad Esfahbod -Date: Mon Sep 19 16:49:03 2011 -0400 - - Fix dist - - util/Makefile.am | 2 ++ - 1 file changed, 2 insertions(+) - -commit 8b8b19056decaf09e4e0ccd9412ee1aeb30f4de7 -Author: Behdad Esfahbod -Date: Mon Sep 19 16:41:17 2011 -0400 - - [util] Add hb-shape utility - - Like hb-view, but prints out buffer contents. - - The output format is kinda cryptic. Suggestions welcome. - - configure.ac | 6 - - util/Makefile.am | 44 +++-- - util/{common.cc => hb-shape.cc} | 57 ++++-- - util/hb-view.cc | 44 +---- - util/hb-view.hh | 79 ++++++++ - util/helper-cairo.cc | 375 +++++++++++++++++++++++++++++++++++ - util/{common.hh => helper-cairo.hh} | 64 ++++-- - util/options.cc | 79 ++++++++ - util/options.hh | 53 ++++- - util/view-cairo.cc | 381 ++---------------------------------- - util/view-cairo.hh | 8 +- - 11 files changed, 717 insertions(+), 473 deletions(-) - -commit eb2d8be7a8ede0c0f5e346cf06516792f83f36f7 -Author: Behdad Esfahbod -Date: Mon Sep 19 16:15:22 2011 -0400 - - Minor - - TODO | 2 ++ - 1 file changed, 2 insertions(+) - -commit f6496663c2f6849a944e41afcf9511f378477532 -Author: Behdad Esfahbod -Date: Mon Sep 19 15:45:52 2011 -0400 - - [util] If no text is provided, simply call cairo_show_glyphs() - - util/view-cairo.cc | 92 ++++++++++++++++++++++++++++++------------------------ - 1 file changed, 51 insertions(+), 41 deletions(-) - -commit 5c299343118d1eaff32ffb2a5dac077cfff67dee -Author: Behdad Esfahbod -Date: Mon Sep 19 14:53:26 2011 -0400 - - [uniscribe] Various improvements - - src/hb-uniscribe.cc | 30 +++++++++++++++++++----------- - 1 file changed, 19 insertions(+), 11 deletions(-) - -commit 11e51993ab562d4c7460eb7c43d0e97404e628e7 -Author: Behdad Esfahbod -Date: Mon Sep 19 09:58:55 2011 -0400 - - [util] Move font-size into view-options - - util/options.cc | 2 +- - util/options.hh | 7 +++---- - util/view-cairo.cc | 4 ++-- - 3 files changed, 6 insertions(+), 7 deletions(-) - -commit 0fe296019746689551d224a5f6fb7e0ebe1b91dc -Author: Behdad Esfahbod -Date: Sat Sep 17 09:59:58 2011 -0400 - - Fix Linux build when io.h is available - - Bug 40953 - fail compile git: make[2]: *** [hb_view-options.o] Error 1 - - configure.ac | 2 +- - util/options.cc | 8 ++++---- - 2 files changed, 5 insertions(+), 5 deletions(-) - -commit d2b3ab9ecebbf46cb9dac1f09c17379c50ea4575 -Author: Behdad Esfahbod -Date: Fri Sep 16 16:59:17 2011 -0400 - - Fix "[util] Fix hb-view crash with bogus font." - - util/view-cairo.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit da4a2a1426ee3aa9d9678ec12c9ba4dfcba0bcf8 -Author: Behdad Esfahbod -Date: Fri Sep 16 16:56:34 2011 -0400 - - Cosmetic - - util/view-cairo.cc | 31 +++++++++++++++++++++++-------- - 1 file changed, 23 insertions(+), 8 deletions(-) - -commit 4274ed7ab6fb03fbf8eaaa43ab06647dc0beed79 -Author: Behdad Esfahbod -Date: Fri Sep 16 16:52:26 2011 -0400 - - [util] Fix hb-view crash with bogus font - - util/view-cairo.cc | 8 +++++++- - 1 file changed, 7 insertions(+), 1 deletion(-) - -commit 5ddd9cc499f2470eca239ae357a5c8a3626c0809 -Author: Behdad Esfahbod -Date: Fri Sep 16 16:40:44 2011 -0400 - - Minor - - src/hb-private.hh | 2 +- - src/hb-unicode-private.hh | 4 ++-- - src/test.cc | 4 ++-- - util/common.hh | 2 +- - util/options.cc | 8 ++++---- - 5 files changed, 10 insertions(+), 10 deletions(-) - -commit 652d64aa8d32d914bf3ee2f2c451de103fea8fa9 -Author: Behdad Esfahbod -Date: Fri Sep 16 16:34:39 2011 -0400 - - TODO items - - TODO | 6 ++++++ - 1 file changed, 6 insertions(+) - -commit 947c9a778c0d4b428b58806f98c34ede59b7439c -Author: Behdad Esfahbod -Date: Fri Sep 16 16:33:18 2011 -0400 - - Minor - - src/hb-ot-shape-normalize.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit d5476a30a10da5e54783c8dbf04340225a9a00d7 -Author: Behdad Esfahbod -Date: Fri Sep 16 12:30:50 2011 -0400 - - Minor - - src/hb-object-private.hh | 26 +++++++++++++++----------- - 1 file changed, 15 insertions(+), 11 deletions(-) - -commit 55aeb0490454cc1ba93a42f307ed1230f59dee4b -Author: Behdad Esfahbod -Date: Fri Sep 16 02:08:36 2011 -0400 - - Fix reading text from stdin - - util/options.cc | 76 +++++++++++++++++++++++++++++++++++------------------- - util/options.hh | 16 +++++++----- - util/view-cairo.cc | 6 +++-- - 3 files changed, 64 insertions(+), 34 deletions(-) - -commit a75c1b125159f6cfb6b652a9ec40803f7c7e3f71 -Author: Behdad Esfahbod -Date: Fri Sep 16 01:16:41 2011 -0400 - - Move code around - - util/options.cc | 27 +++++++++++++++++++++++++-- - util/options.hh | 20 +------------------- - 2 files changed, 26 insertions(+), 21 deletions(-) - -commit 7bf6ecd3bfb1ccf5d9ac6fe274efa74b46885fea -Author: Behdad Esfahbod -Date: Fri Sep 16 01:11:30 2011 -0400 - - Always shape at size=upem - - Fixes bug with uniscribe not handling GIGANTIC sizes. - - util/options.cc | 2 +- - util/view-cairo.cc | 8 ++++---- - util/view-cairo.hh | 2 +- - 3 files changed, 6 insertions(+), 6 deletions(-) - -commit 674ee58d9bc9f825d769220d77f58513edae4558 -Author: Behdad Esfahbod -Date: Fri Sep 16 00:54:05 2011 -0400 - - Minor - - util/options.cc | 4 +--- - 1 file changed, 1 insertion(+), 3 deletions(-) - -commit 4451168e5d1ea26560899e9a9733b3a3f1853050 -Author: Behdad Esfahbod -Date: Fri Sep 16 00:38:19 2011 -0400 - - Fix binary stdin/stdout io in Windows - - Make --font-file accept "-" to mean stdin, and have it work - in Windows too! - - configure.ac | 2 +- - util/common.hh | 5 +++++ - util/options.cc | 64 +++++++++++++++++++++++++++++++++++++++++++++++---------- - util/options.hh | 10 +++++++-- - 4 files changed, 67 insertions(+), 14 deletions(-) - -commit 639b5957d9c7b6d8bef6784e3467ccc055ddeea4 -Author: Behdad Esfahbod -Date: Thu Sep 15 18:09:49 2011 -0400 - - Minor - - util/options.cc | 5 +++-- - util/options.hh | 4 ++-- - 2 files changed, 5 insertions(+), 4 deletions(-) - -commit f7e2ef74f856ee13d6fd6cf3f1e04bc162203bc2 -Author: Behdad Esfahbod -Date: Thu Sep 15 17:52:00 2011 -0400 - - [hb-view] Make print to stdout work in Windows - - Apparently there's no equivalent to "/dev/stdout", so write using - stdio to be able to output to stdout. - - util/common.hh | 1 + - util/options.hh | 31 ++++++++++++++++----- - util/view-cairo.cc | 79 ++++++++++++++++++++++++++++++++++++------------------ - 3 files changed, 78 insertions(+), 33 deletions(-) - -commit 36b10f58cc70ce9570d17b30616f9cb27423e03b -Author: Behdad Esfahbod -Date: Thu Sep 15 16:29:51 2011 -0400 - - Minor - - src/hb-ot-shape-normalize.cc | 7 +++++-- - 1 file changed, 5 insertions(+), 2 deletions(-) - -commit c4611cb66f8e3a133ec00e3ace62ef19d9b95b28 -Author: Behdad Esfahbod -Date: Tue Sep 13 13:33:11 2011 -0400 - - Fix test - - src/hb-graphite2.h | 1 + - src/hb-ot-shape.h | 1 + - src/hb-uniscribe.h | 1 + - 3 files changed, 3 insertions(+) - -commit b9b10ad78b1f977494a3a42b58f8040fe16505a3 -Author: Behdad Esfahbod -Date: Tue Sep 13 13:30:39 2011 -0400 - - [util] Refactor hb-view completely - - Now we can use the same code to do other utils... - - configure.ac | 2 + - util/Makefile.am | 2 + - util/common.cc | 7 +- - util/common.hh | 2 +- - util/hb-view.cc | 244 ++++------------------------- - util/options.cc | 321 ++++++++++++++++++++++++++------------ - util/options.hh | 179 +++++++++++++++++++--- - util/view-cairo.cc | 440 +++++++++++++++++++++++++++++++++++++++++++++++++++++ - util/view-cairo.hh | 63 ++++++++ - 9 files changed, 927 insertions(+), 333 deletions(-) - -commit bc4b07b05ea9e39eb9f966eb2c3e1c737efa77ff -Author: Behdad Esfahbod -Date: Thu Sep 8 17:08:32 2011 -0400 - - More reshuffling - - util/hb-view.cc | 4 ++-- - util/options.cc | 64 ++++++++++++++++++++++++++++++--------------------------- - util/options.hh | 13 ++++++------ - 3 files changed, 43 insertions(+), 38 deletions(-) - -commit 516857eb51bbb79ff4adf44e3fefbf460f9ee8f8 -Author: Behdad Esfahbod -Date: Thu Sep 8 16:50:24 2011 -0400 - - [util] Simplify more - - util/options.hh | 9 +++------ - 1 file changed, 3 insertions(+), 6 deletions(-) - -commit 4f4b114a5592c2f5d128ee795f159b438ad97829 -Author: Behdad Esfahbod -Date: Thu Sep 8 16:49:02 2011 -0400 - - [util] Move code around - - util/hb-view.cc | 8 +------- - util/options.hh | 14 ++++++++++++++ - 2 files changed, 15 insertions(+), 7 deletions(-) - -commit 46d86a73a103b061144018c3fe947b57548fc58f -Author: Behdad Esfahbod -Date: Thu Sep 8 16:43:15 2011 -0400 - - Minor - - We now support using -1 for NUL-terminated strings. - - util/hb-view.cc | 2 -- - 1 file changed, 2 deletions(-) - -commit 90e312cb85df7a6dc350cb62138ab950790e3d15 -Author: Behdad Esfahbod -Date: Thu Sep 8 16:42:37 2011 -0400 - - [util] Move code around - - util/hb-view.cc | 5 ----- - util/options.hh | 4 ++++ - 2 files changed, 4 insertions(+), 5 deletions(-) - -commit 109cb382898f491eed733dba4ef5ba12de94aaf6 -Author: Behdad Esfahbod -Date: Thu Sep 8 16:00:04 2011 -0400 - - [util] Further refactor option parsing - - util/options.cc | 80 +++++++++++++++++++++++++++++++++++++++++++++++---------- - util/options.hh | 20 ++++++++++++--- - 2 files changed, 83 insertions(+), 17 deletions(-) - -commit bc187e5ac7433f5561b0e97e8c62172c73883f3f -Author: Behdad Esfahbod -Date: Thu Sep 8 13:35:17 2011 -0400 - - Refine Indic scripts, following Martin Hosken's recommendation - - src/hb-ot-shape-complex-private.hh | 56 +++++++++++++++++++++++--------------- - 1 file changed, 34 insertions(+), 22 deletions(-) - -commit 738d096a06822e63b3894bd817ecb90e5fb94f73 -Author: Behdad Esfahbod -Date: Fri Sep 2 13:31:19 2011 -0400 - - Pass through unknown ISO 639-3 language tags to OpenType engine - - In hb_ot_tag_from_language(), if first component of an unknown - language is three letters long, use it directly as OpenType language - tag (after case conversion and padding). - - src/hb-ot-tag.cc | 8 ++++++++ - test/test-ot-tag.c | 5 +++++ - 2 files changed, 13 insertions(+) - -commit ea02cbf03c084b3ead6e9e4c9af07b3b47608d5b -Author: Behdad Esfahbod -Date: Fri Sep 2 12:39:20 2011 -0400 - - [graphite] Don't preload glyphs - - Doesn't seem to be slower. - - src/hb-graphite2.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 210a06f3d7bd2df55ebd1743da74f327c5a7a967 -Author: Behdad Esfahbod -Date: Fri Aug 26 13:39:49 2011 +0200 - - Minor - - src/hb-graphite2.h | 12 ++++++------ - src/hb-ot-shape.h | 1 - - src/hb-uniscribe.h | 1 - - 3 files changed, 6 insertions(+), 8 deletions(-) - -commit 4a8d2e379a34b19bccc72bc3e2d9ace3fdd27733 -Author: Behdad Esfahbod -Date: Fri Aug 26 09:40:54 2011 +0200 - - [graphite2] Chop a few more lines - - src/hb-graphite2.cc | 13 ++++--------- - 1 file changed, 4 insertions(+), 9 deletions(-) - -commit 81ec289da799bd2f50da9382507c606d2c779ab9 -Author: Behdad Esfahbod -Date: Fri Aug 26 09:33:06 2011 +0200 - - Minor - - src/hb-graphite2.cc | 24 ++++++++++++------------ - 1 file changed, 12 insertions(+), 12 deletions(-) - -commit 3380de5abbaff535e1cf57ea7e5c2a7c4fdcfe66 -Author: Behdad Esfahbod -Date: Fri Aug 26 09:30:49 2011 +0200 - - [graphite] Use buffer->replace_glyphs() - - src/hb-graphite2.cc | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit 9ebe8c0286856d46430ae184ba7303bd34485883 -Author: Behdad Esfahbod -Date: Fri Aug 26 09:29:42 2011 +0200 - - Add buffer->replace_glyphs() - - src/hb-buffer-private.hh | 3 +++ - src/hb-buffer.cc | 26 ++++++++++++++++++++++++++ - 2 files changed, 29 insertions(+) - -commit a5edb1031c204464da4f852ba3d90e8cc20cd20e -Author: Behdad Esfahbod -Date: Fri Aug 26 09:27:13 2011 +0200 - - Minor - - src/hb-graphite2.cc | 9 +++++---- - 1 file changed, 5 insertions(+), 4 deletions(-) - -commit 290e3ee51727df75d136ccfff79831b94d1583b6 -Author: Behdad Esfahbod -Date: Fri Aug 26 09:25:04 2011 +0200 - - [graphite] Only pass the first part language tag to graphite - - Still not sure about: - - 1) Case. We pass lowercase for now. Would be nice if graphite was - uppercase 3letter like OpenType, - - 2) Padding. IMO, tag padding is always with spaces, but Martin was - talking about NUL bytes. - - src/hb-graphite2.cc | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit 4c9fe88d30036340fe592bcbc375049b84602b8b -Author: Behdad Esfahbod -Date: Fri Aug 26 09:18:53 2011 +0200 - - [API] Make all _from_string() functions take a len parameter - - Can be -1 for NUL-terminated string. This is useful for passing parts - of a larger string to a function without having to copy or modify the - string first. - - Affected functions: - - hb_tag_t hb_tag_from_string() - hb_direction_from_string() - hb_language_from_string() - hb_script_from_string() - - src/hb-common.cc | 29 +++++++++++++------- - src/hb-common.h | 12 +++++--- - src/hb-graphite2.cc | 2 +- - src/hb-icu.cc | 2 +- - src/hb-ot-tag.cc | 8 +++--- - test/test-buffer.c | 4 +-- - test/test-common.c | 79 +++++++++++++++++++++++++++++++---------------------- - test/test-ot-tag.c | 22 +++++++-------- - util/hb-view.cc | 6 ++-- - util/options.cc | 5 +--- - 10 files changed, 96 insertions(+), 73 deletions(-) - -commit a499bdea5cc5097dec62eeafdef58d08ba534be0 -Author: Behdad Esfahbod -Date: Thu Aug 25 22:46:21 2011 +0200 - - [graphite2] Bail if grface is NULL - - src/hb-graphite2.cc | 1 + - 1 file changed, 1 insertion(+) - -commit 3007ffa9e53e6100a761c2363f50a2b19a0764fc -Author: Behdad Esfahbod -Date: Thu Aug 25 09:08:53 2011 +0200 - - Reorder combining-class to better suit Arabic shadda mark-mark positioning - - As reported by Khaled on the list: - - "After the introduction of canonical reordering of combining marks - (commit 34c22f8), I'm no longer able to do mark/mark substitution or - positioning for mark sequences that involve shadda as a first mark (or - most interesting sequences at least). - - "After some digging, it turned out that shadda have a ccc=33 while most - Arabic marks that combine with it have a lower ccc value, which results - in the shadda being reordered after the other mark which, - unsurprisingly, breaks my contextual substitution and mkmk anchors." - - See: - - http://unicode.org/faq/normalization.html#8 - http://unicode.org/faq/normalization.html#9 - - src/hb-ot-shape-private.hh | 18 +++++++++++++++++- - 1 file changed, 17 insertions(+), 1 deletion(-) - -commit 74ef81a0b0f9adddfb42c3cb87f08f8156054519 -Author: Behdad Esfahbod -Date: Wed Aug 24 19:16:13 2011 +0200 - - Fix make distcheck - - src/Makefile.am | 15 ++++++++------- - src/hb-gobject-enums.cc.tmpl | 2 +- - 2 files changed, 9 insertions(+), 8 deletions(-) - -commit 24bcdbcc0639ca9e9c0fde1a71cbbf1c3d2ef98d -Author: Behdad Esfahbod -Date: Wed Aug 24 19:13:15 2011 +0200 - - Add hb-ot-hmtx-table.hh - - Oops! - - src/hb-ot-hmtx-table.hh | 86 +++++++++++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 86 insertions(+) - -commit a3bd8a0e1862212a2d4141b973039bd000a3054f -Author: Behdad Esfahbod -Date: Wed Aug 24 03:22:49 2011 +0200 - - [graphite] Rewrite properly - - src/hb-graphite2.cc | 633 ++++++++++++++++++++++------------------------------ - src/hb-uniscribe.cc | 2 + - 2 files changed, 273 insertions(+), 362 deletions(-) - -commit 5072934c35bddc23d6bcb07a41010da51eb1b090 -Author: Behdad Esfahbod -Date: Wed Aug 24 02:24:27 2011 +0200 - - Minor - - src/hb-uniscribe.cc | 14 +++++++------- - 1 file changed, 7 insertions(+), 7 deletions(-) - -commit 46377396accf6b43792ffba553dcd9847608aa86 -Author: Behdad Esfahbod -Date: Wed Aug 24 02:12:05 2011 +0200 - - [configure] Fix graphite bits - - configure.ac | 9 +++++---- - 1 file changed, 5 insertions(+), 4 deletions(-) - -commit 71388b3ee71c7d3b79f842db7588bd683691797c -Author: Behdad Esfahbod -Date: Wed Aug 24 02:09:04 2011 +0200 - - [uniscribe] Minor - - src/hb-uniscribe.cc | 19 +++++++++---------- - 1 file changed, 9 insertions(+), 10 deletions(-) - -commit cd2b901027bd154e31aa509c0cb2d86633e36398 -Author: Behdad Esfahbod -Date: Wed Aug 24 01:47:25 2011 +0200 - - [graphite] Minor - - src/hb-graphite2.cc | 10 ++++------ - src/hb-shape.cc | 1 - - 2 files changed, 4 insertions(+), 7 deletions(-) - -commit 834af3b48a1aca3e53811d1eb4ca09b582b8e598 -Author: Behdad Esfahbod -Date: Wed Aug 24 01:45:47 2011 +0200 - - [graphite] Remove hb_graphite2_feature_check() - - I don't see how this function can be useful. - - src/hb-graphite2.cc | 10 ---------- - src/hb-graphite2.h | 2 -- - 2 files changed, 12 deletions(-) - -commit 1f49cf32c96cb45a4d8ba2c210aeb7a8076b4762 -Author: Behdad Esfahbod -Date: Wed Aug 24 01:29:25 2011 +0200 - - Add graphite2 integration from Martin Hosken - - To be modified, a lot. - - configure.ac | 9 +- - contrib/python/lib/harfbuzz.pyx | 20 +- - contrib/python/runpy | 2 - - contrib/python/scripts/hbtestfont | 4 +- - contrib/python/setup.py | 18 +- - src/Makefile.am | 7 + - src/hb-graphite2.cc | 446 ++++++++++++++++++++++++++++++++++++++ - src/hb-graphite2.h | 47 ++++ - src/hb-shape.cc | 7 + - 9 files changed, 542 insertions(+), 18 deletions(-) - -commit 0e6d36d8a3f9f533cb6eb04408af62bfd1ad83da -Author: Behdad Esfahbod -Date: Wed Aug 24 01:31:29 2011 +0200 - - Minor - - src/Makefile.am | 2 +- - src/{hb-uniscribe-shape.cc => hb-uniscribe.cc} | 0 - 2 files changed, 1 insertion(+), 1 deletion(-) - -commit efde8113258b117ec0a7fbffe6d681442d045c41 -Author: Behdad Esfahbod -Date: Tue Aug 23 00:04:57 2011 +0200 - - Add a constructor for hb_prealloced_array_t - - Fixes build with MSVC. - - src/hb-private.hh | 2 ++ - 1 file changed, 2 insertions(+) - -commit d75333f166d21e9b9f2341c3bc8a9ef8a886f4b3 -Author: Behdad Esfahbod -Date: Fri Aug 19 19:59:24 2011 +0200 - - Add gobject enum support, but disabled for now - - need to figure out the naming. The generated code doesn't have the - right name. - - configure.ac | 2 + - src/Makefile.am | 13 +++-- - src/hb-gobject-enums.cc.tmpl | 74 ++++++++++++++++++++++++++++ - src/{hb-gobject.cc => hb-gobject-structs.cc} | 0 - 4 files changed, 86 insertions(+), 3 deletions(-) - -commit 7d235d272f4c9213f54c9c807fb8fba5068c45b0 -Author: Behdad Esfahbod -Date: Wed Aug 17 23:55:29 2011 +0200 - - Flesh out tt funcs a bit - - src/hb-tt-font.cc | 36 +++++++++++++++++++++++++++++++++++- - 1 file changed, 35 insertions(+), 1 deletion(-) - -commit b9415e76d7b41da203b9ae85e38b6dc777481184 -Author: Behdad Esfahbod -Date: Wed Aug 17 19:21:44 2011 +0200 - - [API] Add hb_font_set_funcs_data() - - src/hb-font.cc | 15 +++++++++++++++ - src/hb-font.h | 6 ++++++ - 2 files changed, 21 insertions(+) - -commit e6c09cdf43201ff1b7f38e411ae1f9977e4f9271 -Author: Behdad Esfahbod -Date: Wed Aug 17 19:07:59 2011 +0200 - - Remove the pre_allocate argument from hb_buffer_create() - - For two reasons: - - 1. User can always call hb_buffer_pre_allocate() themselves, and - - 2. Now we do a pre_alloc in add_utfX anyway, so the total number of - reallocs is limited to a small number (~3) anyway. This just makes the - API cleaner. - - src/hb-buffer.cc | 7 +------ - src/hb-buffer.h | 2 +- - src/test.cc | 2 +- - test/test-buffer.c | 9 ++++----- - test/test-object.c | 4 ++-- - test/test-shape-complex.c | 2 +- - test/test-shape.c | 2 +- - util/hb-view.cc | 2 +- - 8 files changed, 12 insertions(+), 18 deletions(-) - -commit 187bdeaa6c82fcb95fdd546da9c78b843e1dea0e -Author: Behdad Esfahbod -Date: Wed Aug 17 19:03:06 2011 +0200 - - Do (nothing for) hmtx sanitize - - src/hb-ot-hhea-table.hh | 1 - - src/hb-tt-font.cc | 1 + - 2 files changed, 1 insertion(+), 1 deletion(-) - -commit d6016e49108be183ab2dc9c226447d1db3a09b90 -Author: Behdad Esfahbod -Date: Wed Aug 17 14:47:41 2011 +0200 - - Fix name-table sanitize - - src/hb-ot-name-table.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit ae9877dea6a1aed3566d9b87a75ede84259deaca -Author: Behdad Esfahbod -Date: Wed Aug 17 14:43:45 2011 +0200 - - Add hhea-table support - - src/Makefile.am | 1 + - src/hb-open-type-private.hh | 6 ++ - src/hb-ot-head-table.hh | 2 +- - src/hb-ot-hhea-table.hh | 93 ++++++++++++++++++ - src/hb-ot-layout-gdef-table.hh | 2 +- - src/hb-ot-layout-gpos-table.hh | 2 +- - src/hb-ot-layout-gsub-table.hh | 2 +- - src/hb-ot-maxp-table.hh | 2 +- - src/hb-ot-name-table.hh | 3 +- - src/hb-tt-font.cc | 207 +++++++++++++++++++++++++++++++++++++++++ - 10 files changed, 314 insertions(+), 6 deletions(-) - -commit 7a750ac33ec482e2c4856c19ea607f3563741c24 -Author: Behdad Esfahbod -Date: Wed Aug 17 14:19:59 2011 +0200 - - Rename table files from eg maxp-private.hh to maxp-table.hh - - src/Makefile.am | 12 ++++++------ - src/hb-font.cc | 2 +- - src/{hb-ot-head-private.hh => hb-ot-head-table.hh} | 6 +++--- - ...-ot-layout-gdef-private.hh => hb-ot-layout-gdef-table.hh} | 6 +++--- - ...-ot-layout-gpos-private.hh => hb-ot-layout-gpos-table.hh} | 6 +++--- - ...-ot-layout-gsub-private.hh => hb-ot-layout-gsub-table.hh} | 6 +++--- - src/hb-ot-layout-gsubgpos-private.hh | 2 +- - src/hb-ot-layout.cc | 8 ++++---- - src/{hb-ot-maxp-private.hh => hb-ot-maxp-table.hh} | 6 +++--- - src/{hb-ot-name-private.hh => hb-ot-name-table.hh} | 6 +++--- - src/hb-uniscribe-shape.cc | 2 +- - src/main.cc | 2 +- - 12 files changed, 32 insertions(+), 32 deletions(-) - -commit 0b7e4d9f20b3ed947d0c441ca59b43c4097cdb0e -Author: Behdad Esfahbod -Date: Mon Aug 15 20:41:59 2011 +0200 - - [ft] FT_Get_Advance() for advance-width callbacks - - Using graphite2's comparerenderer suggests that this makes hb-ft 15 - times faster. No caching layer needed anymore. - - configure.ac | 2 +- - src/hb-ft.cc | 19 +++++++++++++------ - util/common.hh | 4 +++- - 3 files changed, 17 insertions(+), 8 deletions(-) - -commit 97796453aab56873809a15b5e316cba8acea7449 -Author: Behdad Esfahbod -Date: Mon Aug 15 19:03:43 2011 +0200 - - Fix falloffs of the GOption conversion - - util/options.cc | 8 ++++---- - util/options.hh | 4 ++-- - 2 files changed, 6 insertions(+), 6 deletions(-) - -commit 4e9ff1dd6ee3ea63fd91a76a91d9725a10a294a0 -Author: Behdad Esfahbod -Date: Mon Aug 15 16:21:22 2011 +0200 - - Pre-allocate buffers when adding string - - We do a conservative estimate of the number of characters, but still, - this limits the number of buffer reallocs to a small constant. - - src/hb-buffer.cc | 1 + - 1 file changed, 1 insertion(+) - -commit 553bc3de82cfda8d83db26a93205e0d39440cbd1 -Author: Behdad Esfahbod -Date: Mon Aug 15 16:21:06 2011 +0200 - - Minor - - src/hb-ft.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 254142bb67a5c520a304142301479eb5292592d1 -Author: Behdad Esfahbod -Date: Mon Aug 15 16:15:44 2011 +0200 - - [ft] FT_Select_Charmap() when we create face - - src/hb-ft.cc | 2 ++ - 1 file changed, 2 insertions(+) - -commit a4cbd03dd17990783d8fd4c6be0c9c0d3d9cae5b -Author: Behdad Esfahbod -Date: Mon Aug 15 09:52:05 2011 +0200 - - Apply 'locl' with 'ccmp' in Arabic shaper - - According to Peter Constable this is indeed what Uniscribe has been - doing for years. - - Mozilla Bug 667166 - wrong shape of letter when it comes at the end of - word in the arabic version of Firefox 5.0 - - src/hb-ot-shape-complex-arabic.cc | 1 + - 1 file changed, 1 insertion(+) - -commit c214cff55ce539d004d069a484dac3988953cb11 -Author: Behdad Esfahbod -Date: Sun Aug 14 15:17:16 2011 +0200 - - Start adding gobject-introspection support - - configure.ac | 13 ++++++++++- - src/Makefile.am | 43 ++++++++++++++++------------------- - src/hb-common.h | 1 + - src/hb-glib.cc | 3 --- - src/hb-gobject.cc | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-gobject.h | 68 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ - 6 files changed, 163 insertions(+), 28 deletions(-) - -commit 9527fb200ffbbd839334e99b51d9671752d393db -Author: Behdad Esfahbod -Date: Sat Aug 13 19:03:48 2011 +0200 - - Fix missing return - - src/hb-ft.cc | 2 ++ - 1 file changed, 2 insertions(+) - -commit 77a328769545f6b2970d8491fe77fe98781961cf -Author: Behdad Esfahbod -Date: Sat Aug 13 17:16:45 2011 +0200 - - Minor - - src/hb-common.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 3bb300ee78a40f9ded21ab19283863b733aeb677 -Author: Behdad Esfahbod -Date: Thu Aug 11 11:54:31 2011 +0200 - - Refactor hb-view code - - util/Makefile.am | 26 +++- - util/common.cc | 40 ++++++ - util/common.hh | 49 +++++++ - util/hb-view.cc | 387 ++++--------------------------------------------------- - util/options.cc | 318 +++++++++++++++++++++++++++++++++++++++++++++ - util/options.hh | 86 +++++++++++++ - 6 files changed, 541 insertions(+), 365 deletions(-) - -commit d6660356dd81358033743f72d8a5fbf2fc70eaf7 -Author: Behdad Esfahbod -Date: Wed Aug 10 22:08:36 2011 +0200 - - Add uniscribe font getters - - src/hb-uniscribe-shape.cc | 24 +++++++++++++++++++++--- - src/hb-uniscribe.h | 8 ++++++++ - 2 files changed, 29 insertions(+), 3 deletions(-) - -commit 01ec13a1d9ae380305b593e1c52cebb0e8327cb6 -Author: Behdad Esfahbod -Date: Wed Aug 10 22:00:35 2011 +0200 - - Implement hb_ft_font_get_face - - src/hb-ft.cc | 15 ++++++++++++++- - src/hb-ft.h | 2 ++ - 2 files changed, 16 insertions(+), 1 deletion(-) - -commit 36a4fe037df201f85b7a544eb30d75dc3585a1b6 -Author: Behdad Esfahbod -Date: Wed Aug 10 21:54:22 2011 +0200 - - Fix charset conversion - - util/hb-view.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 25c4830593064f023e296aa795b72ddcaa1c9322 -Author: Behdad Esfahbod -Date: Wed Aug 10 16:28:38 2011 +0200 - - [util] Add hb-shape --shapers - - If the specified shapers fail, hb-shape will fail immediately - - util/hb-view.cc | 57 +++++++++++++++++++++++++++++++++------------------------ - 1 file changed, 33 insertions(+), 24 deletions(-) - -commit 0501573deda3a8dcdfcea491392f554f21ed0154 -Author: Behdad Esfahbod -Date: Wed Aug 10 16:25:56 2011 +0200 - - Fix const correctness in the API - - src/hb-fallback-shape-private.hh | 2 +- - src/hb-fallback-shape.cc | 2 +- - src/hb-ot-shape.cc | 2 +- - src/hb-ot-shape.h | 2 +- - src/hb-shape.cc | 14 +++++++------- - src/hb-shape.h | 12 ++++++------ - src/hb-uniscribe-shape.cc | 2 +- - src/hb-uniscribe.h | 2 +- - 8 files changed, 19 insertions(+), 19 deletions(-) - -commit a21add6c0da067173d51792d716d6e38379f138f -Author: Behdad Esfahbod -Date: Wed Aug 10 16:07:49 2011 +0200 - - Reformat - - util/hb-view.cc | 49 ++++++++++++++++++------------------------------- - 1 file changed, 18 insertions(+), 31 deletions(-) - -commit 8df90c81187db58eee6b90426cd16c32feef6be3 -Author: Behdad Esfahbod -Date: Wed Aug 10 15:26:41 2011 +0200 - - [util] Port hb-view to GOption - - util/hb-view.cc | 267 +++++++++++++++++++++++++++++++++----------------------- - 1 file changed, 156 insertions(+), 111 deletions(-) - -commit 511a136f0c092880b19250a5df53bcf9f4b043ca -Author: Behdad Esfahbod -Date: Tue Aug 9 15:03:00 2011 +0200 - - Move hb-view into util/ - - Makefile.am | 3 +-- - configure.ac | 1 + - src/Makefile.am | 13 ------------- - util/Makefile.am | 24 ++++++++++++++++++++++++ - {src => util}/hb-view.cc | 0 - 5 files changed, 26 insertions(+), 15 deletions(-) - -commit d753ac78da5619a0a545cdaf7a8e65787e996570 -Author: Behdad Esfahbod -Date: Tue Aug 9 14:03:12 2011 +0200 - - [uniscribe] Remove zerowidth glyphs from output - - src/hb-uniscribe-shape.cc | 7 +++++-- - 1 file changed, 5 insertions(+), 2 deletions(-) - -commit 217cc81cd9c3de30b2ef226983ec43c0f78b5c7d -Author: Behdad Esfahbod -Date: Tue Aug 9 14:00:44 2011 +0200 - - [test/shape-complex] Print cluster and position info in --verbose - - test/test-shape-complex.c | 20 +++++++++++++++++--- - 1 file changed, 17 insertions(+), 3 deletions(-) - -commit 708403e7f3e4a5cf9b0d2bd764fb74b148af7adb -Author: Behdad Esfahbod -Date: Tue Aug 9 13:52:36 2011 +0200 - - Fix warnings with old glib - - test/hb-test.h | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit ddd247b0c528cdb8bdf5f8063180abe884afa305 -Author: Behdad Esfahbod -Date: Tue Aug 9 11:44:42 2011 +0200 - - Minor - - src/test.cc | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit 1b8196c98638ba05ae0ebcb8ba7aa99ed9c08e0a -Author: Behdad Esfahbod -Date: Tue Aug 9 11:37:46 2011 +0200 - - Add fallback shaper - - src/hb-fallback-shape.cc | 23 +++++++++++++++++++++-- - 1 file changed, 21 insertions(+), 2 deletions(-) - -commit 13a601fe99f237b08b7166448e386eaea0b77294 -Author: Behdad Esfahbod -Date: Tue Aug 9 11:36:54 2011 +0200 - - [FT] Don't make font immutable - - src/hb-ft.cc | 2 -- - 1 file changed, 2 deletions(-) - -commit 38b2118724600521c6ad1e49df0667dcdf863634 -Author: Behdad Esfahbod -Date: Tue Aug 9 10:51:24 2011 +0200 - - [API] Add hb_ft_font_set_funcs(), remove hb_ft_get_font_funcs() - - Remove hb_ft_get_font_funcs() as it cannot be used by the user anyway. - - Add hb_ft_font_set_funcs(). Which will make the font internally use - FreeType. That is, no need for the font to have created using the - hb-ft API. Just create using hb_face_create()/hb_font_create() and - then call this on the font (after having set font scale). This - internally creates an FT_Face and attached to the font. - - src/Makefile.am | 4 +-- - src/hb-ft.cc | 76 +++++++++++++++++++++++++++++++++++++++++++++++++++--- - src/hb-ft.h | 10 ++++--- - src/test.cc | 7 +++++ - test/Makefile.am | 8 ------ - test/test-object.c | 9 ------- - 6 files changed, 89 insertions(+), 25 deletions(-) - -commit 255f176fdcd42ab94f9c3c54e2bffb55d0b1a8f5 -Author: Behdad Esfahbod -Date: Tue Aug 9 08:35:07 2011 +0200 - - Minor - - src/hb-uniscribe-shape.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit a9057eb3f38018faa1ece53c4aaeeba798b41fd1 -Author: Behdad Esfahbod -Date: Tue Aug 9 00:47:55 2011 +0200 - - [uniscribe] Unbreak - - src/hb-uniscribe-shape.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit c0975e12315b7167b92411584d2f00a751bbc204 -Author: Behdad Esfahbod -Date: Tue Aug 9 00:46:18 2011 +0200 - - Fix build again - - test/Makefile.am | 3 +++ - 1 file changed, 3 insertions(+) - -commit 33ccc77902660ed4b49184e5ec99f4fd0ef63175 -Author: Behdad Esfahbod -Date: Tue Aug 9 00:43:24 2011 +0200 - - [API] Make set_user_data() functions take a replace parameter - - We need this to set data on objects safely without worrying that some - other thread unsets it by setting it at the same time. - - src/hb-blob.cc | 5 +++-- - src/hb-blob.h | 3 ++- - src/hb-buffer.cc | 5 +++-- - src/hb-buffer.h | 3 ++- - src/hb-common.cc | 13 ++++++++----- - src/hb-font.cc | 15 +++++++++------ - src/hb-font.h | 9 ++++++--- - src/hb-object-private.hh | 13 ++++++++----- - src/hb-private.hh | 16 +++++++++++----- - src/hb-shape.cc | 2 +- - src/hb-unicode.cc | 5 +++-- - src/hb-unicode.h | 3 ++- - src/hb-uniscribe-shape.cc | 18 ++++++++++++++---- - test/test-object.c | 33 +++++++++++++++++---------------- - 14 files changed, 89 insertions(+), 54 deletions(-) - -commit 944b2ba1ce076385f985212bbdf2df96a8a995f0 -Author: Behdad Esfahbod -Date: Tue Aug 9 00:23:58 2011 +0200 - - [buffer] Make API take signed int length - - Since we already switched to accepting -1 as 'zero-terminated'. - - src/hb-buffer.cc | 12 ++++++------ - src/hb-buffer.h | 12 ++++++------ - src/hb-ot-layout.cc | 2 -- - src/main.cc | 1 - - 4 files changed, 12 insertions(+), 15 deletions(-) - -commit de1e1cf9bccfd116d495804e230dc2e12b733a2d -Author: Behdad Esfahbod -Date: Tue Aug 9 00:19:38 2011 +0200 - - [FT] Adapt to new face API - - src/hb-ft.cc | 3 +++ - 1 file changed, 3 insertions(+) - -commit 458c89a85695220d43b69dbae36fc93e3fe78d89 -Author: Behdad Esfahbod -Date: Tue Aug 9 00:19:19 2011 +0200 - - Minor - - test/test-c.c | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -commit bf3eef540f81fdeba1c36263d7d5b2ec4c5f07b1 -Author: Behdad Esfahbod -Date: Tue Aug 9 00:13:24 2011 +0200 - - [uniscribe] Cleanup backend - - TODO | 2 + - src/hb-uniscribe-shape.cc | 161 ++++++++++++++++++++++++++++++++++------------ - 2 files changed, 123 insertions(+), 40 deletions(-) - -commit f1f848e2e46ac54ff08aca7cd83390af31c7c9ef -Author: Behdad Esfahbod -Date: Mon Aug 8 23:41:06 2011 +0200 - - Fix build - - test/Makefile.am | 5 +++++ - 1 file changed, 5 insertions(+) - -commit 3897335c7620c37e9a0224b0c42ade0dfdce4053 -Author: Behdad Esfahbod -Date: Mon Aug 8 23:37:41 2011 +0200 - - [API] Sort out get_blob API - - hb_face_get_blob() renamed to hb_face_reference_blob(), returns a - reference now. - - hb_face_[sg]et_index() added. - - hb_face_set_upem() added. - - src/hb-font-private.hh | 3 +- - src/hb-font.cc | 67 +++++++++++++++++++++++++++++++++++---------- - src/hb-font.h | 17 ++++++++++-- - src/hb-ft.cc | 3 +- - src/hb-ot-layout-private.hh | 9 ------ - src/hb-ot-layout.cc | 21 -------------- - src/hb-uniscribe-shape.cc | 3 +- - 7 files changed, 72 insertions(+), 51 deletions(-) - -commit e715784be35f0846c0e084b7c53c7556ce933a45 -Author: Behdad Esfahbod -Date: Mon Aug 8 21:42:02 2011 +0200 - - Rename get_table to reference_table in all API - - src/hb-font-private.hh | 6 +++--- - src/hb-font.cc | 20 ++++++++++---------- - src/hb-font.h | 8 ++++---- - src/hb-ft.cc | 4 ++-- - 4 files changed, 19 insertions(+), 19 deletions(-) - -commit 670c873499f7f03fdfc07b8a0567b041628c6ab0 -Author: Behdad Esfahbod -Date: Mon Aug 8 21:36:24 2011 +0200 - - Fix shaper ordering logic - - src/hb-shape.cc | 80 ++++++++++++++++++++++++--------------------------------- - 1 file changed, 34 insertions(+), 46 deletions(-) - -commit cc797e0d5368b2f5732d77eb3e3882283bd87cf7 -Author: Behdad Esfahbod -Date: Mon Aug 8 03:49:30 2011 +0200 - - Minor - - TODO | 2 -- - src/hb-shape.cc | 2 ++ - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit 826e22732dd8697600a1392f48af21b7b3ce6271 -Author: Behdad Esfahbod -Date: Sun Aug 7 03:53:42 2011 -0400 - - [uniscribe] Fix blob lifecycles - - src/hb-uniscribe-shape.cc | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit ff199ba356f0eb5bc6252203eea18a1d1fd28934 -Author: Behdad Esfahbod -Date: Sun Aug 7 03:43:46 2011 -0400 - - Fix shaper_list manipulation, aaaaaaaaaaaaargh - - src/hb-shape.cc | 16 +++++++++------- - 1 file changed, 9 insertions(+), 7 deletions(-) - -commit 206e32934592b915b1f3052aecf014c6ced729e1 -Author: Behdad Esfahbod -Date: Sun Aug 7 01:10:55 2011 -0400 - - [test] test-object is not FreeType-specific, move it to the right place - - test/Makefile.am | 8 +++----- - 1 file changed, 3 insertions(+), 5 deletions(-) - -commit 577326b86af80cc137eea81f4cc1e30adf9232b1 -Author: Behdad Esfahbod -Date: Sun Aug 7 01:04:40 2011 -0400 - - [uniscribe] Fix cluster calculation - - src/hb-uniscribe-shape.cc | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -commit f6d83b2dcf120f9d6f0a28c6f5de2da7addf9089 -Author: Behdad Esfahbod -Date: Sun Aug 7 00:59:58 2011 -0400 - - Minor - - src/test.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 2eb474afb4a09f4da8f14b444bd6066769010224 -Author: Behdad Esfahbod -Date: Sun Aug 7 00:59:38 2011 -0400 - - [uniscribe] Fix shaper - - It's kinda working finally! - - src/hb-uniscribe-shape.cc | 9 ++++++--- - 1 file changed, 6 insertions(+), 3 deletions(-) - -commit f22e661147691ebc9d531aa28a850988e6503f9b -Author: Behdad Esfahbod -Date: Sun Aug 7 00:59:12 2011 -0400 - - [glib] Protect against invalid characters - - src/hb-glib.cc | 8 ++++++-- - 1 file changed, 6 insertions(+), 2 deletions(-) - -commit 144cd49a0eb3ccc749325d0ee14b3ebf4367c971 -Author: Behdad Esfahbod -Date: Sun Aug 7 00:51:50 2011 -0400 - - [buffer] Accept -1 for text_length and item_length - - A -1 text_length means: zero-terminated string. - A -1 item_length means: to the end of string. - - src/hb-buffer.cc | 10 ++++++++++ - 1 file changed, 10 insertions(+) - -commit e9c71fab30fd1d5b163c8a072f9e2d3eb8ba3a92 -Author: Behdad Esfahbod -Date: Sun Aug 7 00:00:27 2011 -0400 - - Fix name-table lookup - - Oops! - - src/hb-ot-name-private.hh | 2 +- - src/hb-uniscribe-shape.cc | 2 ++ - 2 files changed, 3 insertions(+), 1 deletion(-) - -commit 3fd2b5bece28c81e3e379352f09eee39d19ac372 -Author: Behdad Esfahbod -Date: Sat Aug 6 22:59:54 2011 -0400 - - [uniscribe] Use font size directly - - src/hb-uniscribe-shape.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 892eb2e462b40451b8f73879eab66310d884386a -Author: Behdad Esfahbod -Date: Sat Aug 6 22:06:52 2011 -0400 - - [uniscribe] Make font selection work - - Not tested yet. - - src/hb-ot-name-private.hh | 37 +++++++++++++++++++++++++++++++++++++ - src/hb-uniscribe-shape.cc | 30 +++++++++++++++++++++++------- - src/test.cc | 1 - - 3 files changed, 60 insertions(+), 8 deletions(-) - -commit b492299eb3c398701557e452f6c2c9bd370fbbf3 -Author: Behdad Esfahbod -Date: Fri Aug 5 20:34:50 2011 -0400 - - Start implementing the 'name' table - - src/Makefile.am | 3 +- - src/hb-ot-name-private.hh | 91 +++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-uniscribe-shape.cc | 12 ++++--- - 3 files changed, 100 insertions(+), 6 deletions(-) - -commit 4538efacca84329a60ff69851de70027d9b4f567 -Author: Behdad Esfahbod -Date: Fri Aug 5 20:11:06 2011 -0400 - - Skip tests by returning 77 - - automake test runner understands this. - - src/check-internal-symbols.sh | 3 ++- - src/check-libstdc++.sh | 3 ++- - 2 files changed, 4 insertions(+), 2 deletions(-) - -commit 54eb65538da0a6ab0389d09944c90e12a913157d -Author: Behdad Esfahbod -Date: Fri Aug 5 20:09:25 2011 -0400 - - Fix check on OS X sh - - src/check-header-guards.sh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 9da554504e30a326fc57b28cdb0e57108bfa9555 -Author: Behdad Esfahbod -Date: Fri Aug 5 19:48:49 2011 -0400 - - Add hb_shape_list_shapers() - - src/hb-shape.cc | 22 ++++++++++++++++++---- - src/hb-shape.h | 3 +++ - test/Makefile.am | 2 ++ - test/test-c.c | 8 ++++++++ - test/test-shape.c | 15 +++++++++++++++ - 5 files changed, 46 insertions(+), 4 deletions(-) - -commit d7bf473ef222ab420456ff155ffaa09bacb3a394 -Author: Behdad Esfahbod -Date: Fri Aug 5 18:18:21 2011 -0400 - - Minor - - src/check-header-guards.sh | 1 - - src/hb-open-type-private.hh | 10 +++++----- - 2 files changed, 5 insertions(+), 6 deletions(-) - -commit c62a8f10f3b9a4ac3ac6b686464ac734ebfa2f7f -Author: Behdad Esfahbod -Date: Fri Aug 5 18:02:30 2011 -0400 - - Free all static memory upon exit - - src/hb-common.cc | 8 +++++--- - src/hb-shape.cc | 4 ++-- - 2 files changed, 7 insertions(+), 5 deletions(-) - -commit c4d63ef744f79701458ab7af2055afb87ffe8de3 -Author: Behdad Esfahbod -Date: Fri Aug 5 17:54:25 2011 -0400 - - Fix env parsing code - - Also changed the separator to comma instead of colon. - - src/hb-shape.cc | 34 +++++++++++++++++++++++++--------- - 1 file changed, 25 insertions(+), 9 deletions(-) - -commit 3931837bebd79c5eb1bd5b24ff12e2c8e7d3f24c -Author: Behdad Esfahbod -Date: Fri Aug 5 17:22:19 2011 -0400 - - Change hb_shape() API back to what it was, add hb_shape_full() - - I disliked changing hb_shape() API, and disliked the fact that it was - returning a bool now. So, reverted. Added new API for the extra - functionality. - - src/hb-view.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 3ca6c4ecc299295b6682fa2b6b9f83b213223bad -Author: Behdad Esfahbod -Date: Fri Aug 5 17:22:19 2011 -0400 - - Change hb_shape() API back to what it was, add hb_shape_full() - - I disliked changing hb_shape() API, and disliked the fact that it was - returning a bool now. So, reverted. Added new API for the extra - functionality. - - src/hb-shape.cc | 21 +++++++++++++++------ - src/hb-shape.h | 14 ++++++++++---- - src/test.cc | 2 +- - test/test-shape.c | 2 +- - 4 files changed, 27 insertions(+), 12 deletions(-) - -commit 02aeca985b570763342c35e99af90025bfa088d5 -Author: Behdad Esfahbod -Date: Thu Aug 4 22:31:05 2011 -0400 - - [API] Changes to main shape API - - hb_shape() now accepts a shaper_options and a shaper_list argument. - Both can be set to NULL to emulate previous API. And in most situations - they are expected to be set to NULL. - - hb_shape() also returns a boolean for now. If shaper_list is NULL, the - return value can be ignored. - - shaper_options is ignored for now, but otherwise it should be a - NULL-terminated list of strings. - - shaper_list is a NULL-terminated list of strings. Currently recognized - strings are "ot" for native OpenType Layout implementation, "uniscribe" - for the Uniscribe backend, and "fallback" for the non-complex backend - (that will be implemented shortly). The fallback backend never fails. - - The env var HB_SHAPER_LIST is also parsed and honored. It's a - colon-separated list of shaper names. The fallback shaper is invoked if - none of the env-listed shapers succeed. - - New API hb_buffer_guess_properties() added. - - TODO | 2 - - configure.ac | 9 +++ - src/Makefile.am | 14 ++-- - src/hb-buffer-private.hh | 1 + - src/hb-buffer.cc | 35 ++++++++++ - src/hb-buffer.h | 3 + - src/hb-fallback-shape-private.hh | 48 ++++++++++++++ - src/hb-fallback-shape.cc | 43 +++++++++++++ - src/hb-ot-shape.cc | 9 ++- - src/hb-ot-shape.h | 5 +- - src/hb-shape.cc | 135 +++++++++++++++++++++++---------------- - src/hb-shape.h | 13 ++-- - src/hb-uniscribe-shape.cc | 52 ++++++--------- - src/hb-uniscribe.h | 5 +- - src/hb-view.cc | 2 +- - src/test.cc | 3 +- - test/test-shape.c | 2 +- - 17 files changed, 274 insertions(+), 107 deletions(-) - -commit 57692adf1294a6db4627d0de7c671e4aa01d2a8f -Author: Behdad Esfahbod -Date: Thu Aug 4 20:49:16 2011 -0400 - - Make test.cc do something more useful - - Hardcoded to the uniscribe backend for now. Will fix soon. - - src/test.cc | 38 ++++++++++++++++++++++++++++++++++---- - 1 file changed, 34 insertions(+), 4 deletions(-) - -commit c605bbbb6d4b2a98b1f40ca818760088d991f7d1 -Author: Behdad Esfahbod -Date: Thu Aug 4 20:00:53 2011 -0400 - - Remove C++ guards from source files - - Where causing issues for people with MSVC. - - src/check-c-linkage-decls.sh | 3 +-- - src/hb-blob.cc | 2 -- - src/hb-buffer-private.hh | 2 -- - src/hb-buffer.cc | 2 -- - src/hb-common.cc | 2 -- - src/hb-font-private.hh | 2 -- - src/hb-font.cc | 2 -- - src/hb-ft.cc | 2 -- - src/hb-glib.cc | 2 -- - src/hb-icu.cc | 2 -- - src/hb-mutex-private.hh | 2 -- - src/hb-object-private.hh | 4 ---- - src/hb-open-file-private.hh | 2 -- - src/hb-open-type-private.hh | 4 ---- - src/hb-ot-head-private.hh | 2 -- - src/hb-ot-layout-common-private.hh | 4 ---- - src/hb-ot-layout-gdef-private.hh | 2 -- - src/hb-ot-layout-gpos-private.hh | 4 ---- - src/hb-ot-layout-gsub-private.hh | 4 ---- - src/hb-ot-layout-gsubgpos-private.hh | 6 ------ - src/hb-ot-layout-private.hh | 2 -- - src/hb-ot-layout.cc | 2 -- - src/hb-ot-map-private.hh | 2 -- - src/hb-ot-map.cc | 2 -- - src/hb-ot-maxp-private.hh | 2 -- - src/hb-ot-shape-complex-arabic-table.hh | 2 -- - src/hb-ot-shape-complex-arabic.cc | 2 -- - src/hb-ot-shape-complex-indic-table.hh | 2 -- - src/hb-ot-shape-complex-indic.cc | 2 -- - src/hb-ot-shape-complex-misc.cc | 2 -- - src/hb-ot-shape-complex-private.hh | 2 -- - src/hb-ot-shape-normalize.cc | 2 -- - src/hb-ot-shape-private.hh | 2 -- - src/hb-ot-shape.cc | 2 -- - src/hb-ot-tag.cc | 2 -- - src/hb-private.hh | 8 -------- - src/hb-shape.cc | 2 -- - src/hb-unicode-private.hh | 2 -- - src/hb-unicode.cc | 2 -- - src/hb-uniscribe-shape.cc | 2 -- - src/hb-view.cc | 2 -- - src/main.cc | 2 -- - src/test.cc | 2 -- - 43 files changed, 1 insertion(+), 106 deletions(-) - -commit 8336186a52813b53e90b4399dc462d55750e2d37 -Author: Behdad Esfahbod -Date: Thu Aug 4 19:49:05 2011 -0400 - - Zero map objects - - src/hb-ot-map-private.hh | 4 ++++ - 1 file changed, 4 insertions(+) - -commit ecd3b6e4ad253cf9d0dae1ed2da8ba6caed16b85 -Author: Behdad Esfahbod -Date: Thu Aug 4 01:57:40 2011 -0400 - - More build fixes - - configure.ac | 2 ++ - 1 file changed, 2 insertions(+) - -commit c747f509bcc4e6a34ced04e9e79ed414a44437b1 -Author: Behdad Esfahbod -Date: Thu Aug 4 01:51:30 2011 -0400 - - More out-of-tree build fixes - - src/check-c-linkage-decls.sh | 3 +-- - src/check-header-guards.sh | 8 ++++---- - 2 files changed, 5 insertions(+), 6 deletions(-) - -commit 0530ca9a180edc330ab801c535907cefa4a0c298 -Author: Behdad Esfahbod -Date: Thu Aug 4 01:42:59 2011 -0400 - - Fix out-of-tree build - - test/Makefile.am | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit ddbf4edc5d09a645351b1bd1722b068aba6a6dec -Author: Behdad Esfahbod -Date: Thu Aug 4 01:38:37 2011 -0400 - - Minor - - configure.ac | 1 - - 1 file changed, 1 deletion(-) - -commit 20dde6101662fd9ebe5f613631ea468f4c0a995f -Author: Behdad Esfahbod -Date: Thu Aug 4 01:07:33 2011 -0400 - - Minor - - src/hb-uniscribe.h | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 44b4f50d05fd51d8056a78e359fbb00fbcac43a0 -Author: Behdad Esfahbod -Date: Thu Aug 4 00:52:20 2011 -0400 - - Fix typo - - src/hb-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 0fbb2dc83132a89201ad8b56c6909610437d2da0 -Author: Behdad Esfahbod -Date: Wed Aug 3 19:55:04 2011 -0400 - - Add draft experimental Uniscribe backend - - Not complete yet, font selection doesn't work. But hey it shapes! - - This is not supposed to be a production backend, more like a testing - backend. - - configure.ac | 9 ++ - src/Makefile.am | 11 ++ - src/hb-private.hh | 4 +- - src/hb-uniscribe-shape.cc | 325 ++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-uniscribe.h | 46 +++++++ - 5 files changed, 394 insertions(+), 1 deletion(-) - -commit 0d7d4824b2edc7aeeb995077655a9a89b5c360a9 -Author: Behdad Esfahbod -Date: Wed Aug 3 17:39:24 2011 -0400 - - Minor - - configure.ac | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -commit e62df43649e31b7815c272f01808b3f726c7d07d -Author: Behdad Esfahbod -Date: Wed Aug 3 17:38:54 2011 -0400 - - Add internal hb_buffer_t::get_scratch_buffer() - - src/hb-buffer-private.hh | 2 ++ - src/hb-buffer.cc | 10 ++++++++++ - 2 files changed, 12 insertions(+) - -commit 71e7936fcadfd375a8bdc47987ef8b1b2b542df5 -Author: Behdad Esfahbod -Date: Wed Aug 3 17:38:34 2011 -0400 - - Minor - - TODO | 2 ++ - 1 file changed, 2 insertions(+) - -commit bf8c57ba745c02370c38198adfdcd8075ba38b13 -Author: Behdad Esfahbod -Date: Wed Aug 3 17:38:04 2011 -0400 - - [API] Add hb_face_get_blob() - - Need to think more about it. - - src/hb-font.cc | 10 ++++++++++ - src/hb-font.h | 3 +++ - 2 files changed, 13 insertions(+) - -commit 2118fdb9f584e6735e904638e48bae48314372fa -Author: Behdad Esfahbod -Date: Tue Aug 2 14:06:51 2011 -0400 - - Fix fallback shaping - - Broke it a few commits ago. - - src/hb-ot-shape.cc | 8 +++++--- - 1 file changed, 5 insertions(+), 3 deletions(-) - -commit 199abbd0f15bd295c3a56845c71b38dd20af1332 -Author: Behdad Esfahbod -Date: Tue Aug 2 13:59:47 2011 -0400 - - Minor - - test/test-unicode.c | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit 4f052b93c0b17d92b9f0adddf64ef77518bf2ac4 -Author: Behdad Esfahbod -Date: Tue Aug 2 13:44:24 2011 -0400 - - Fix build with glib but not freetype - - test/Makefile.am | 7 +++---- - 1 file changed, 3 insertions(+), 4 deletions(-) - -commit c21be799daa85d5edb2d831ac985d3e43c8755ec -Author: Behdad Esfahbod -Date: Tue Aug 2 12:05:49 2011 -0400 - - Minor - - test/Makefile.am | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit e9c2341b1384c161bbab9871411af0bc9f6c3cf4 -Author: Behdad Esfahbod -Date: Tue Aug 2 11:40:44 2011 -0400 - - Don't use icu-config when cross-compiling - - configure.ac | 17 ++++++++++------- - 1 file changed, 10 insertions(+), 7 deletions(-) - -commit 390dab49b6cf34f263b67d20a13f0752ada57bcc -Author: Behdad Esfahbod -Date: Tue Aug 2 11:29:55 2011 -0400 - - Unbreak icu-config results a bit - - configure.ac | 1 + - 1 file changed, 1 insertion(+) - -commit b301478a69d961c724a4875b839a81fb458d1153 -Author: Behdad Esfahbod -Date: Tue Aug 2 11:25:13 2011 -0400 - - Bug 39763 - autogen.sh should check pkg-config availability - - (and revert change have_icu change I mistakenly pushed out) - - autogen.sh | 10 ++++++++-- - configure.ac | 1 - - 2 files changed, 8 insertions(+), 3 deletions(-) - -commit f60271c0c2b0101e7b2725f9a9ad950c277a616c -Author: Behdad Esfahbod -Date: Tue Aug 2 09:56:30 2011 -0400 - - Add mingw32 support - - With these changes, on Ubuntu I can do: - - ./configure --host=i586-mingw32msvc && make - - configure.ac | 1 + - src/hb-mutex-private.hh | 4 ++-- - src/hb-open-type-private.hh | 5 +++++ - src/hb-private.hh | 6 +++++- - src/main.cc | 1 + - 5 files changed, 14 insertions(+), 3 deletions(-) - -commit 1264b23e4a4ae1c9831a3009e1c7ab8e65a5b434 -Author: Behdad Esfahbod -Date: Mon Aug 1 16:39:32 2011 -0400 - - Bug 39702 - configure check for ragel - - autogen.sh | 18 +++++++++++++----- - 1 file changed, 13 insertions(+), 5 deletions(-) - -commit f5414cf0a220d6e6f3d4b6e8221cd583b4684187 -Author: Behdad Esfahbod -Date: Mon Aug 1 16:34:16 2011 -0400 - - Use missing script for calling ragel - - src/Makefile.am | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit a91c58bf98258a34e5f7c1ad39a38db58fadc4b9 -Author: Behdad Esfahbod -Date: Mon Aug 1 16:30:11 2011 -0400 - - [Indic] Disable CJCT-disabling logic - - Read comment. - - src/hb-ot-shape-complex-indic.cc | 7 ++++++- - 1 file changed, 6 insertions(+), 1 deletion(-) - -commit 5e72071062c015237b79fbd0521341a63166a204 -Author: Behdad Esfahbod -Date: Sun Jul 31 17:51:50 2011 -0400 - - [Indic] Stop looking for base upon seeing joiners - - Not sure where this is documented, but I remember this being the desired - behavior. - - test-shape-complex failures are down from 48 to 46. Meh. - - src/hb-ot-shape-complex-indic.cc | 11 +++++++++-- - 1 file changed, 9 insertions(+), 2 deletions(-) - -commit 281683995a46ed37aeeb84061249758c59822457 -Author: Behdad Esfahbod -Date: Sun Jul 31 16:00:35 2011 -0400 - - Cosmetic - - src/hb-ot-shape-complex-indic.cc | 23 +++++++++++++++-------- - 1 file changed, 15 insertions(+), 8 deletions(-) - -commit 6b37bc80843e38ca7b62500f95fd70c08af68d62 -Author: Behdad Esfahbod -Date: Sun Jul 31 15:57:00 2011 -0400 - - [Indic] Fix ZWJ/ZWNJ application - - Not quite working just yet. False alarm re 10 failures. It was - crashing. Ouch! Back to 48 failures. - - src/hb-ot-shape-complex-indic.cc | 10 ++++++---- - 1 file changed, 6 insertions(+), 4 deletions(-) - -commit e7be05702447ae270d797398132c1930cd3a9b86 -Author: Behdad Esfahbod -Date: Sun Jul 31 15:18:57 2011 -0400 - - [Indic] Add Final Reordering rules into comments - - Not applied yet. - - src/hb-ot-shape-complex-indic.cc | 86 ++++++++++++++++++++++++++++++++++++++-- - 1 file changed, 83 insertions(+), 3 deletions(-) - -commit cfd4382ec1af91640129551697de36fd42c0849a -Author: Behdad Esfahbod -Date: Sun Jul 31 15:07:11 2011 -0400 - - [Indic] Handle Reph when determining base consonant - - src/hb-ot-shape-complex-indic.cc | 24 +++++++++++++++--------- - 1 file changed, 15 insertions(+), 9 deletions(-) - -commit 97158392a5899ddb739afaac925128f33f699bd7 -Author: Behdad Esfahbod -Date: Sun Jul 31 15:01:28 2011 -0400 - - [Indic] Ra is a consonant too - - src/hb-ot-shape-complex-indic.cc | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit 0d8f8a177c4bfd4dc642a353bab8d03674e839ac -Author: Behdad Esfahbod -Date: Sun Jul 31 14:57:59 2011 -0400 - - [Indic] Fix reph inhibition logic - - src/hb-ot-shape-complex-indic.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 9da0487cd452d780673e24329ce03e174a4ef83b -Author: Behdad Esfahbod -Date: Sun Jul 31 13:46:44 2011 -0400 - - [Indic] Support ZWJ/ZWNJ - - Brings test-shape-complex failures down from 52 to 10! - - I hereby declare harfbuzz-ng supporting Indic! - - src/hb-ot-shape-complex-indic.cc | 57 +++++++++++++++++++++++++++++++++------- - 1 file changed, 48 insertions(+), 9 deletions(-) - -commit 9ee27a928a989c71923cef82a9e9828f8e9ca051 -Author: Behdad Esfahbod -Date: Sun Jul 31 11:10:14 2011 -0400 - - [Indic] Suppress reph formation upon joiners - - src/hb-ot-shape-complex-indic.cc | 8 +++++++- - 1 file changed, 7 insertions(+), 1 deletion(-) - -commit 8354e004e553856d7d743e0f0b4de4668484026a -Author: Behdad Esfahbod -Date: Sun Jul 31 02:24:51 2011 -0400 - - Un-Ra U+09F1. According to the test suite this is correct. - - But I'm not sure... Down from 54 failures to 52. - - src/hb-ot-shape-complex-indic.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 07cedd81f48907b2e372cd2e963716bbded9ce29 -Author: Behdad Esfahbod -Date: Sat Jul 30 21:16:51 2011 -0400 - - Minor - - test/test-shape-complex.c | 21 +++++++++++---------- - 1 file changed, 11 insertions(+), 10 deletions(-) - -commit ba7e85c104e68b4685c1b3b5c9a260fe0f6879df -Author: Behdad Esfahbod -Date: Sat Jul 30 21:11:53 2011 -0400 - - Cosmetic - - src/hb-ot-shape-complex-indic.cc | 1 + - 1 file changed, 1 insertion(+) - -commit f5bc2725cb892264ba223e0a49f7fd2c622a0730 -Author: Behdad Esfahbod -Date: Sat Jul 30 21:08:10 2011 -0400 - - [Indic] For old-style Indic tables, move Halant around - - In old-style Indic OT standards, the post-base Halants are moved after - their base. Emulate that by moving first post-base Halant to - post-last-consonant. - - Brings test-shape-complex failures down from 88 to 54. Getting there! - - src/hb-ot-map-private.hh | 3 +++ - src/hb-ot-shape-complex-indic.cc | 20 ++++++++++++++++++++ - 2 files changed, 23 insertions(+) - -commit c47a31fb4793b825f4be57e9cb1b10db352b9512 -Author: Behdad Esfahbod -Date: Sat Jul 30 20:57:01 2011 -0400 - - [OT] Save chosen script tag - - src/hb-ot-layout.cc | 20 ++++++++++++++++---- - src/hb-ot-layout.h | 3 ++- - src/hb-ot-map-private.hh | 1 + - src/hb-ot-map.cc | 2 +- - 4 files changed, 20 insertions(+), 6 deletions(-) - -commit 3a9b14dfdfc278b432890e1537672a4ca141a3b0 -Author: Behdad Esfahbod -Date: Sat Jul 30 20:23:55 2011 -0400 - - Minor - - test/test-shape-complex.c | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 8613193bbf28fe8951c900b68c4418a6fb929626 -Author: Behdad Esfahbod -Date: Sat Jul 30 20:21:40 2011 -0400 - - [test] Fix problem with N'ko test direction - - Old HarfBuzz test suite always shaped as left-to-right and hence had wrong - 0x14db, direction expected glyphstring for N'ko. Doh! - - Failures down from 92 to 88. - - test/test-shape-complex.c | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit fd06bf56110e73826b3d5c73ac964e2609450d46 -Author: Behdad Esfahbod -Date: Sat Jul 30 20:14:44 2011 -0400 - - [Indic] Handle initial Ra+Halant in scripts that support Reph - - Brings test-shape-complex failures down from 104 to 92. Way to go! - - src/hb-ot-shape-complex-indic.cc | 10 ++++++++++ - 1 file changed, 10 insertions(+) - -commit ee58f3bc75d2d071a71b94063bf12205a5871acb -Author: Behdad Esfahbod -Date: Sat Jul 30 19:15:53 2011 -0400 - - Minor - - src/hb-ot-shape-complex-indic.cc | 23 ++++++++++++----------- - 1 file changed, 12 insertions(+), 11 deletions(-) - -commit 352372ae5ea0998e40cf9fe43c22b6b610a5764e -Author: Behdad Esfahbod -Date: Sat Jul 30 19:04:02 2011 -0400 - - [Indic] Categorize Ra in scripts that have Reph - - Is the categorization correct? I don't know. - - src/hb-ot-shape-complex-indic.cc | 31 ++++++++++++++++++++++++++++++- - 1 file changed, 30 insertions(+), 1 deletion(-) - -commit 45d6f29f15f1d2323bcaa2498aed23ff0c8a1567 -Author: Behdad Esfahbod -Date: Sat Jul 30 14:44:30 2011 -0400 - - [Indic] Reorder matras - - Number of failing shape-complex tests goes from 125 down to 94. - - Next: Add Ra handling and it's fair to say we kinda support Indic :). - - src/hb-ot-shape-complex-indic.cc | 29 +++++++++++++++++++++++++++-- - src/hb-ot-shape-normalize.cc | 26 ++++++++++---------------- - src/hb-private.hh | 36 ++++++++++++++++++++++++++++++------ - 3 files changed, 67 insertions(+), 24 deletions(-) - -commit 911bf32acad7f1cd161f666cb659990ade0925ad -Author: Behdad Esfahbod -Date: Sat Jul 30 11:16:00 2011 -0400 - - Bug 39686 - Add '-no-undefined' to libharfbuzz LDFLAGS - - src/Makefile.am | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 8f0b64fb6988f9502d2c5e39768a9af133d9a83f -Author: Behdad Esfahbod -Date: Fri Jul 29 17:02:48 2011 -0400 - - Minor - - src/hb-ot-shape-complex-arabic.cc | 6 +++--- - src/hb-private.hh | 8 ++++++-- - 2 files changed, 9 insertions(+), 5 deletions(-) - -commit 743807a3ce1b2229e5307a8aea074a7544623d8d -Author: Behdad Esfahbod -Date: Fri Jul 29 16:37:02 2011 -0400 - - [Indic] Apply Indic features - - Find the base consonant and apply basic Indic features accordingly. - Nothing complete, but does something for now. Specifically: - no Ra handling right now, and no ZWJ/ZWNJ. - - Number of failing shape-complex tests goes from 174 down to 125. - - Next: reorder matras. - - src/hb-ot-shape-complex-indic-machine.rl | 35 ++++-- - src/hb-ot-shape-complex-indic.cc | 209 ++++++++++++++++++++++++++++--- - 2 files changed, 212 insertions(+), 32 deletions(-) - -commit 1a1b5013159369b343d0c32df02c9c419277aead -Author: Behdad Esfahbod -Date: Fri Jul 29 16:36:46 2011 -0400 - - Minor - - test/test-shape-complex.c | 8 ++++++-- - 1 file changed, 6 insertions(+), 2 deletions(-) - -commit dd5546de15e63c0320b7db2bf42b0f15271f7915 -Author: Behdad Esfahbod -Date: Fri Jul 29 16:27:31 2011 -0400 - - Minor - - test/test-shape-complex.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 9f9bcceca6321d5a5812f878de1de39901349a78 -Author: Behdad Esfahbod -Date: Thu Jul 28 17:06:46 2011 -0400 - - Register buffer vars in Indic shaper - - src/hb-ot-shape-complex-indic.cc | 6 ++++++ - src/hb-ot-shape.cc | 2 ++ - 2 files changed, 8 insertions(+) - -commit be09bf6b799cafc2ff54a28915b307ffe99661b6 -Author: Behdad Esfahbod -Date: Thu Jul 28 17:03:43 2011 -0400 - - Oops. This should have gone into the previous commit - - src/hb-ot-layout-gsub-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit b65c06025d2b54a44f716e030d4b10072c65bea8 -Author: Behdad Esfahbod -Date: Thu Jul 28 16:48:43 2011 -0400 - - Formalize buffer var allocations - - src/hb-buffer-private.hh | 25 ++++++---------- - src/hb-buffer.cc | 15 +++++----- - src/hb-ot-layout-gpos-private.hh | 14 +++++---- - src/hb-ot-layout-gsub-private.hh | 5 +++- - src/hb-ot-shape-complex-arabic.cc | 6 +++- - src/hb-ot-shape-complex-indic.cc | 4 +-- - src/hb-ot-shape-complex-private.hh | 10 ++++++- - src/hb-ot-shape.cc | 60 +++++++++++++++++++++++--------------- - src/hb-private.hh | 1 + - 9 files changed, 83 insertions(+), 57 deletions(-) - -commit a9ad3d3460ba863a8d8f3766ccbeab288c3c6822 -Author: Behdad Esfahbod -Date: Thu Jul 28 15:42:18 2011 -0400 - - Move more code around - - Buffer var allocation coming into shape - - src/hb-buffer-private.hh | 1 + - src/hb-buffer.cc | 35 +++++++++++++++++++++++++++++++++++ - src/hb-ot-layout-gpos-private.hh | 7 +++++++ - src/hb-ot-layout-gsub-private.hh | 18 ++++++++++++++++++ - src/hb-ot-layout.cc | 8 +++----- - 5 files changed, 64 insertions(+), 5 deletions(-) - -commit cc06c243d8be3ebb1190281653d2dba504c16c0f -Author: Behdad Esfahbod -Date: Mon Jul 25 20:25:44 2011 -0400 - - Streamline debugging infrastructure even more - - src/hb-blob.cc | 26 ++++----- - src/hb-object-private.hh | 8 +-- - src/hb-open-type-private.hh | 64 ++++++-------------- - src/hb-ot-layout-gsubgpos-private.hh | 2 +- - src/hb-private.hh | 109 +++++++++++++++++++++++++++++++---- - 5 files changed, 136 insertions(+), 73 deletions(-) - -commit 43ff203d8ea3e1b09e316e3aae1a4e5ec15bfdd2 -Author: Behdad Esfahbod -Date: Mon Jul 25 17:35:24 2011 -0400 - - Use variadic macros for debugging - - Looks *so* much nicer! - - src/hb-blob.cc | 26 ++++++++-------- - src/hb-object-private.hh | 8 ++--- - src/hb-open-type-private.hh | 75 ++++++++++++++++++++------------------------- - src/hb-private.hh | 7 +++-- - 4 files changed, 56 insertions(+), 60 deletions(-) - -commit decd4e3e16424dc311e9fb5b663170414a11556a -Author: Behdad Esfahbod -Date: Mon Jul 25 16:47:02 2011 -0400 - - Add sugar syntax for debug messages - - Buffer debugging coming soon. - - src/hb-blob.cc | 35 +++++++++++++---------------------- - src/hb-object-private.hh | 9 ++++----- - src/hb-open-type-private.hh | 44 ++++++++++++++++++++++---------------------- - src/hb-private.hh | 7 +++++-- - 4 files changed, 44 insertions(+), 51 deletions(-) - -commit 3a81b1db89beba91fb91791918b9fdd9f8fc9fa0 -Author: Behdad Esfahbod -Date: Mon Jul 25 16:30:32 2011 -0400 - - Minor, fix leak from my previous refactorings - - src/hb-buffer.cc | 14 +++++++------- - 1 file changed, 7 insertions(+), 7 deletions(-) - -commit f4a579bc42fb811ff5c391a0e97b7d8656ef59b1 -Author: Behdad Esfahbod -Date: Mon Jul 25 16:20:16 2011 -0400 - - Add internal API for buffer var allocation - - src/hb-buffer-private.hh | 25 +++++++++++++++++++++++-- - src/hb-buffer.cc | 22 ++++++++++++++++++++++ - 2 files changed, 45 insertions(+), 2 deletions(-) - -commit 651e8dd79ec8eaca5ab75a61e8ce961ff7bd26eb -Author: Behdad Esfahbod -Date: Mon Jul 25 14:54:08 2011 -0400 - - Start cleaning up buffer var allocation - - I've messed up a lot of stuff recently, different parts of the - shaping process are stumbling on eachother's toes because - manually tracking what's in which buffer var is hard. I'm - going to add some internal API to track those such that mistakes - are discovered as soon as they are introduced. - - src/hb-ot-layout-gsubgpos-private.hh | 1 - - src/hb-ot-layout.cc | 1 + - src/hb-ot-shape.cc | 10 ---------- - 3 files changed, 1 insertion(+), 11 deletions(-) - -commit c86f932015bdf5803572b0904d343d3bc033e009 -Author: Behdad Esfahbod -Date: Mon Jul 25 00:44:50 2011 -0400 - - Move code around - - src/hb-ot-shape.cc | 85 +++++++++++++++++++++++++++--------------------------- - 1 file changed, 42 insertions(+), 43 deletions(-) - -commit 18c42850c9327ab4479ff150660a76d4ff6f3e9c -Author: Behdad Esfahbod -Date: Mon Jul 25 00:36:58 2011 -0400 - - Shrink space used for ligature ids - - This frees 16bits in the glyph_info struct during the ot_layout process. - We can use the freed space in the shapers now. - - src/hb-ot-layout-gsubgpos-private.hh | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit d8787493c9aa420544096cef07c29a591a0c1a99 -Author: Behdad Esfahbod -Date: Mon Jul 25 00:36:01 2011 -0400 - - Minor - - src/hb-ot-layout-gsub-private.hh | 6 ------ - src/hb-ot-layout-gsubgpos-private.hh | 7 +++++++ - 2 files changed, 7 insertions(+), 6 deletions(-) - -commit c311d852080b50ffc85e80168de62abb05a6be59 -Author: Behdad Esfahbod -Date: Sat Jul 23 23:43:54 2011 -0400 - - Keep Unicode props updated as we go so we avoid a scan later - - src/hb-ot-shape-normalize.cc | 54 +++++++++++++++++++++----------------------- - 1 file changed, 26 insertions(+), 28 deletions(-) - -commit 5389ff4dbc46c76c9483e3c95f22524b60e21166 -Author: Behdad Esfahbod -Date: Fri Jul 22 20:22:49 2011 -0400 - - Implement the Unicode Canonical Composition algorithm - - Fallback normalization is complete and working now! - - src/hb-ot-shape-normalize.cc | 49 +++++++++++++++++++++++++++++++++++++++++--- - 1 file changed, 46 insertions(+), 3 deletions(-) - -commit dcdc51cdc0ba9d9fb75f84dd5fa7a49aa0b24ea0 -Author: Behdad Esfahbod -Date: Fri Jul 22 17:14:46 2011 -0400 - - Handle singleton decompositions - - src/hb-ot-shape-normalize.cc | 12 +++++++----- - 1 file changed, 7 insertions(+), 5 deletions(-) - -commit 34c22f816808d061a980cffca12de03beb437fa0 -Author: Behdad Esfahbod -Date: Fri Jul 22 17:04:20 2011 -0400 - - Implement Unicode Canonical Reordering Algorithm - - src/hb-ot-shape-normalize.cc | 80 +++++++++++++++++++++++++++++++++++++------- - src/hb-ot-shape-private.hh | 2 ++ - src/hb-ot-shape.cc | 6 ++-- - 3 files changed, 73 insertions(+), 15 deletions(-) - -commit 4ff0d2d9dfc4f7e4880a4e964ca9872624508ea0 -Author: Behdad Esfahbod -Date: Fri Jul 22 16:15:32 2011 -0400 - - Decomposition works now! - - src/hb-ot-shape-normalize.cc | 109 +++++++++++++++++++++++++++---------------- - src/hb-ot-shape.cc | 3 +- - 2 files changed, 70 insertions(+), 42 deletions(-) - -commit 468e9cb25c9bc14781b7013e447d763f93bf76a3 -Author: Behdad Esfahbod -Date: Fri Jul 22 11:28:07 2011 -0400 - - Move buffer methods into the object - - src/hb-buffer-private.hh | 110 +++---- - src/hb-buffer.cc | 605 +++++++++++++++++------------------ - src/hb-ot-layout-gpos-private.hh | 88 ++--- - src/hb-ot-layout-gsub-private.hh | 58 ++-- - src/hb-ot-layout-gsubgpos-private.hh | 50 +-- - src/hb-ot-shape-normalize.cc | 16 +- - src/hb-ot-shape.cc | 14 +- - 7 files changed, 456 insertions(+), 485 deletions(-) - -commit 45412523dc295cb5ee12e096bfacb282cc925843 -Author: Behdad Esfahbod -Date: Fri Jul 22 11:07:05 2011 -0400 - - More normalization kick - - src/hb-ot-shape-normalize.cc | 54 +++++++++++++++++++++++++++++--------------- - src/hb-ot-shape-private.hh | 8 ++++++- - src/hb-ot-shape.cc | 13 +++-------- - 3 files changed, 46 insertions(+), 29 deletions(-) - -commit 63c0ef4a0763e579c9c80887bbfbd2651de05067 -Author: Behdad Esfahbod -Date: Thu Jul 21 20:58:42 2011 -0400 - - Fix decompose() implementations to work with non-starter non-composables - - Add tests. - - src/hb-glib.cc | 10 +++++----- - src/hb-icu.cc | 20 +++++++++++++------- - test/test-unicode.c | 11 ++++++++--- - 3 files changed, 26 insertions(+), 15 deletions(-) - -commit 5d90a342e319068716429bf7af76c3896b61a0e5 -Author: Behdad Esfahbod -Date: Thu Jul 21 15:25:01 2011 -0400 - - Document normalization design - - src/hb-ot-shape-normalize.cc | 78 +++++++++++++++++++++++++++++++++++--------- - src/hb-ot-shape-private.hh | 2 +- - src/hb-ot-shape.cc | 6 ++-- - 3 files changed, 67 insertions(+), 19 deletions(-) - -commit 02cdf743c2ec345a44d4fcf865594b6ac13fccd0 -Author: Behdad Esfahbod -Date: Thu Jul 21 12:23:12 2011 -0400 - - Add prefer_decomposed() complex-shaper callback - - This allows the Indic shaper to request decomposed characters. This will - handle split matra for free. Other shapers prefer precomposed - characters. - - src/hb-ot-shape-complex-arabic.cc | 6 ++++++ - src/hb-ot-shape-complex-indic.cc | 7 +++++++ - src/hb-ot-shape-complex-misc.cc | 6 ++++++ - src/hb-ot-shape-complex-private.hh | 31 +++++++++++++++++++++++++++++-- - 4 files changed, 48 insertions(+), 2 deletions(-) - -commit d6b9c6d20041b4f4fa11befc179aee757c41904d -Author: Behdad Esfahbod -Date: Thu Jul 21 12:16:45 2011 -0400 - - More kicking - - src/hb-ot-shape-normalize.cc | 17 ++++++++++++++--- - 1 file changed, 14 insertions(+), 3 deletions(-) - -commit 192445aef2e50087049243ce54ce7059ec441ffa -Author: Behdad Esfahbod -Date: Thu Jul 21 12:13:04 2011 -0400 - - Remove intermittent_glyph() - - Lets not worry about performance for now... - - src/hb-ot-shape-normalize.cc | 3 ++- - src/hb-ot-shape-private.hh | 2 -- - 2 files changed, 2 insertions(+), 3 deletions(-) - -commit d63adfc7d09b26764d9166da97372b21257e7611 -Author: Behdad Esfahbod -Date: Thu Jul 21 11:48:57 2011 -0400 - - No need to handle variation-selectors seperately, they are GC=Mn - - src/hb-ot-shape.cc | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit aa7264123a088936f2043b45d4d41ca7413fabe5 -Author: Behdad Esfahbod -Date: Thu Jul 21 11:34:59 2011 -0400 - - Only form clusters if we are reversing - - This produces more accurate cluster mappings. Cluster mappings are - minimal now. Combining marks get their own cluster value most of - the time. - - src/hb-ot-shape.cc | 45 ++++++++++++++++++++++----------------------- - 1 file changed, 22 insertions(+), 23 deletions(-) - -commit 5c6f5982d78e2d7fadc2fbb8b4f3a4be9420c59a -Author: Behdad Esfahbod -Date: Thu Jul 21 11:31:08 2011 -0400 - - Towards normalization - - src/hb-ot-shape-normalize.cc | 33 ++++++++++++++++++++++----------- - src/hb-ot-shape-private.hh | 3 ++- - src/hb-ot-shape.cc | 4 +++- - 3 files changed, 27 insertions(+), 13 deletions(-) - -commit ad903e66b1cc4ec1b8160f93b3ab2b5e636f8d62 -Author: Behdad Esfahbod -Date: Thu Jul 21 10:17:22 2011 -0400 - - s/COMBINING_MARK/SPACING_MARK/ here too. Oops! - - test/test-unicode.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit cf7f43ec3382cac2af11f5637c840500daabf889 -Author: Behdad Esfahbod -Date: Thu Jul 21 01:12:26 2011 -0400 - - Remove stale comment - - src/hb-ot-shape.cc | 1 - - 1 file changed, 1 deletion(-) - -commit 54d1a0d2b2c4ffe15494967122c6422ecb1fc80b -Author: Behdad Esfahbod -Date: Thu Jul 21 01:11:09 2011 -0400 - - Form clusters before ensuring native direciton - - This is essential as ensure_native_direction uses cluster info that - is set by form_clusters(). - - src/hb-ot-shape.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 9111b21ef99d5e53348176f683261b0101eb427f -Author: Behdad Esfahbod -Date: Thu Jul 21 00:58:29 2011 -0400 - - Add _hb_buffer_output_glyph() and _hb_buffer_skip_glyph() - - src/hb-buffer-private.hh | 10 ++++++++++ - src/hb-buffer.cc | 19 ++++++++++++++++--- - src/hb-ot-shape.cc | 2 +- - 3 files changed, 27 insertions(+), 4 deletions(-) - -commit 655586fe5e1fadf2a2ef7826e61ee9a445ffa37a -Author: Behdad Esfahbod -Date: Thu Jul 21 00:51:18 2011 -0400 - - Towards normalization - - src/Makefile.am | 1 + - src/hb-ot-shape-normalize.cc | 71 ++++++++++++++++++++++++++++++++++++++++++++ - src/hb-ot-shape-private.hh | 12 ++++++++ - src/hb-ot-shape.cc | 10 ++----- - 4 files changed, 86 insertions(+), 8 deletions(-) - -commit 49741c86334d12fa08a5bfa2110ff3b9adcba1c7 -Author: Behdad Esfahbod -Date: Thu Jul 21 00:35:37 2011 -0400 - - Include variation-selectors in cluster calculation - - src/hb-ot-shape.cc | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit dd89d958c139d85efb776fffaf314eead3952c78 -Author: Behdad Esfahbod -Date: Thu Jul 21 00:28:57 2011 -0400 - - Fix cluster calculation for non-LTR text - - TODO | 6 ------ - src/hb-buffer.cc | 5 +++++ - 2 files changed, 5 insertions(+), 6 deletions(-) - -commit 4a68684654e645882095c1189477146287ce9437 -Author: Behdad Esfahbod -Date: Thu Jul 21 00:14:01 2011 -0400 - - When forming clusters, participate all mark types - - src/hb-ot-shape.cc | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -commit 5157e12a55f943b7fc5be7dce0b2ee1bcacca6ec -Author: Behdad Esfahbod -Date: Thu Jul 21 00:12:33 2011 -0400 - - Rename HB_UNICODE_GENERAL_CATEGORY_COMBINING_MARK to HB_UNICODE_GENERAL_CATEGORY_SPACING_MARK - - Spacing_Mark is the current Unicode long-name for this property value. - The previous name was wrongly carried from glib. - - src/hb-common.h | 2 +- - src/hb-icu.cc | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit 7b08b0a7f2057937dfc3ab2ec191656bf2386463 -Author: Behdad Esfahbod -Date: Wed Jul 20 23:59:07 2011 -0400 - - Minor - - src/hb-ot-shape-complex-arabic.cc | 8 ++++---- - src/hb-private.hh | 19 +++++++++++++++++++ - 2 files changed, 23 insertions(+), 4 deletions(-) - -commit 498e1a9be673bb02c00aac3f12bb4c6993a85910 -Author: Behdad Esfahbod -Date: Wed Jul 20 23:19:49 2011 -0400 - - [icu] Implement compose()/decompose() - - src/hb-icu.cc | 87 +++++++++++++++++++++++++++++++++++++++++++++++++++-- - test/test-unicode.c | 1 + - 2 files changed, 86 insertions(+), 2 deletions(-) - -commit ffd4a436f7baccb68a0c3602f94ea0246e32844f -Author: Behdad Esfahbod -Date: Wed Jul 20 22:30:29 2011 -0400 - - Add tests for compose()/decompose() - - Adjust glib fallback implementation. - - The tests are not hooked up for ICU yet. - - src/hb-glib.cc | 17 ++++++++++++-- - src/hb-unicode.cc | 2 +- - test/test-unicode.c | 66 +++++++++++++++++++++++++++++++++++++++++++++++++++++ - 3 files changed, 82 insertions(+), 3 deletions(-) - -commit fca0923b04aeff9369849da97d247a647611f346 -Author: Behdad Esfahbod -Date: Wed Jul 20 22:16:13 2011 -0400 - - Minor - - src/hb-icu.cc | 62 ++++++++++++++++++++++++++++++++++++----------------------- - 1 file changed, 38 insertions(+), 24 deletions(-) - -commit 26b6024962b254b624d4f22088b6c87745074743 -Author: Behdad Esfahbod -Date: Wed Jul 20 21:58:14 2011 -0400 - - [glib] Use g_unicode_script_to/from_iso15924() if available - - src/hb-glib.cc | 10 ++++++++++ - 1 file changed, 10 insertions(+) - -commit 22fdc66712464bdb02e45eed49e4be57e79b442f -Author: Behdad Esfahbod -Date: Wed Jul 20 21:51:37 2011 -0400 - - [glib] Add compose() and decompose() implementations with fallback - - src/hb-glib.cc | 126 +++++++++++++++++++++++++++++++++++++++++++----------- - src/hb-unicode.cc | 6 ++- - 2 files changed, 106 insertions(+), 26 deletions(-) - -commit a54a5505a35eef5315a8e2e7a79502901e3eff5f -Author: Behdad Esfahbod -Date: Wed Jul 20 16:42:10 2011 -0400 - - Minor - - src/hb-ot-shape-complex-indic.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 23db8d5c92c96a34c716b68e1aa6819c5a20477a -Author: Behdad Esfahbod -Date: Tue Jul 12 12:02:26 2011 -0400 - - [test] Work around glib <= 2.30 API - - test/hb-test.h | 4 ++++ - 1 file changed, 4 insertions(+) - -commit 22989c5ffc8cce1ea05d729cdf33661c35a52334 -Author: Behdad Esfahbod -Date: Tue Jul 12 11:54:58 2011 -0400 - - Distribute hb-ot-shape-complex-indic-machine.rl - - src/Makefile.am | 1 + - 1 file changed, 1 insertion(+) - -commit f6fd3780e12b23ff7ed3743497c8996e71dcb064 -Author: Behdad Esfahbod -Date: Fri Jul 8 00:22:40 2011 -0400 - - Let shapers decide when to apply ccmp and locl - - Instead of always applying those two features before the complex shaper, - let the complex shaper decide whether they should be applied first. - - Also add stub for Indic's final_reordering(). - - src/hb-ot-shape-complex-arabic.cc | 2 ++ - src/hb-ot-shape-complex-indic.cc | 16 ++++++++++++++++ - src/hb-ot-shape.cc | 7 +------ - 3 files changed, 19 insertions(+), 6 deletions(-) - -commit c4641723fbf6532b2e80a662e15573b31276bc73 -Author: Behdad Esfahbod -Date: Thu Jul 7 23:47:19 2011 -0400 - - [API] Add compose() and decompose() unicode funcs, rename other ones - - Add compose() and decompose() unicode funcs. These implement - pair-wise canonical composition/decomposition. - - The glib/icu implementations are lacking for now. We are adding - API for this to glib, but I cannot find any useful API in ICU. - May end of implementing these in-house. - - Changed all unicode_funcs callback names to remove the "_get" part. - Eg, hb_unicode_get_script_func_t is now hb_unicode_script_func_t, - and hb_unicode_get_script() is hb_unicode_script() now. - - TODO | 4 ++- - src/hb-glib.cc | 6 +++- - src/hb-icu.cc | 6 +++- - src/hb-ot-shape.cc | 6 ++-- - src/hb-shape.cc | 2 +- - src/hb-unicode-private.hh | 8 +++-- - src/hb-unicode.cc | 85 ++++++++++++++++++++++++++++++++++------------- - src/hb-unicode.h | 70 +++++++++++++++++++++++++++----------- - test/test-unicode.c | 21 +++++++----- - 9 files changed, 146 insertions(+), 62 deletions(-) - -commit d05dded1676924e8894c90f7a7c3527b492bcdff -Author: Behdad Esfahbod -Date: Thu Jul 7 23:42:40 2011 -0400 - - More code generation through preprocessor - - src/hb-ot-shape-complex-private.hh | 46 ++++++++++++++++++++++++-------------- - 1 file changed, 29 insertions(+), 17 deletions(-) - -commit 891c4755baae6cd59fad59d27fd8933e5f548a74 -Author: Behdad Esfahbod -Date: Thu Jul 7 23:19:27 2011 -0400 - - Humm, undo some shuffling - - In preparation for adding more advanced unicode funcs. - - src/hb-ot-shape.cc | 6 ++--- - src/hb-shape.cc | 2 +- - src/hb-unicode-private.hh | 36 +++++++++++++------------- - src/hb-unicode.cc | 65 ++++++++++++++++++++++++++++++++++------------- - 4 files changed, 70 insertions(+), 39 deletions(-) - -commit 4b6317c4f426cfaf21e509dbf6ee6d4e0422cdac -Author: Behdad Esfahbod -Date: Thu Jul 7 23:14:42 2011 -0400 - - More code shuffling - - src/hb-font-private.hh | 16 +++--- - src/hb-font.cc | 3 +- - src/hb-unicode-private.hh | 42 +++++++------- - src/hb-unicode.cc | 140 +++++++++++++++++----------------------------- - 4 files changed, 82 insertions(+), 119 deletions(-) - -commit 3361c9a323575309d9fd55fe076697a3e22073c0 -Author: Behdad Esfahbod -Date: Thu Jul 7 22:35:17 2011 -0400 - - Minor - - src/Makefile.am | 1 + - src/hb-ot-shape-complex-misc.cc | 51 ++++++++++++++++++++++++++++++++++++++ - src/hb-ot-shape-complex-private.hh | 12 ++++++--- - 3 files changed, 60 insertions(+), 4 deletions(-) - -commit 76f76812ac7cca8ac6935952a2360d5e151480fa -Author: Behdad Esfahbod -Date: Thu Jul 7 22:25:25 2011 -0400 - - Shuffle code around, remove shape_plan from complex shapers - - src/hb-ot-shape-complex-arabic.cc | 36 +++++++++++++------------- - src/hb-ot-shape-complex-indic-machine.rl | 12 ++++----- - src/hb-ot-shape-complex-indic.cc | 25 +++++++++--------- - src/hb-ot-shape-complex-private.hh | 44 +++++++++++++++++++++----------- - src/hb-ot-shape-private.hh | 13 ++-------- - src/hb-ot-shape.cc | 4 +-- - 6 files changed, 69 insertions(+), 65 deletions(-) - -commit e88bff9b4d77dc86c04832163081effbff752216 -Author: Behdad Esfahbod -Date: Thu Jul 7 22:03:02 2011 -0400 - - Minor, use function typedefs - - src/hb-ot-shape-complex-private.hh | 10 ++++++---- - 1 file changed, 6 insertions(+), 4 deletions(-) - -commit 359dcaa0d33271025ca42a5f54ecbac7ae3b56d3 -Author: Behdad Esfahbod -Date: Thu Jul 7 21:55:05 2011 -0400 - - Update copyright headers - - src/hb-ot-map-private.hh | 2 +- - src/hb-ot-map.cc | 2 +- - src/hb-ot-shape-complex-private.hh | 2 +- - src/hb-ot-shape.cc | 2 +- - 4 files changed, 4 insertions(+), 4 deletions(-) - -commit d8d0c480c85246a74d47dd5297019c7e39391ab0 -Author: Behdad Esfahbod -Date: Thu Jul 7 21:22:08 2011 -0400 - - Refactor some code common to GSUB and GPOS - - src/hb-ot-map-private.hh | 29 ++++++++++++++++++-------- - src/hb-ot-map.cc | 54 +++++++++--------------------------------------- - 2 files changed, 30 insertions(+), 53 deletions(-) - -commit b70c96dbe41d6512b80fe3d966a1942e1ef64a4b -Author: Behdad Esfahbod -Date: Thu Jul 7 21:07:41 2011 -0400 - - Enable applying GSUB/GPOS features in multiple segments - - Fixes https://bugzilla.mozilla.org/show_bug.cgi?id=644184 - among others. - - Shapers now can request segmented feature application by calling - add_gsub_pause() or add_gpos_pause(). They can also provide a - callback to be called at the pause. Currently the Arabic shaper - uses pauses to enforce certain feature application. The Indic - shaper can use the same facility to pause and do reordering in the - callback. - - src/hb-ot-map-private.hh | 50 +++++++++++---- - src/hb-ot-map.cc | 132 +++++++++++++++++++++++++++++++++----- - src/hb-ot-shape-complex-arabic.cc | 24 ++++++- - src/hb-private.hh | 5 ++ - 4 files changed, 181 insertions(+), 30 deletions(-) - -commit f6d7a9bb4c19e605f1f16d9ca40adefba138c37e -Author: Behdad Esfahbod -Date: Thu Jul 7 16:20:35 2011 -0400 - - Shuffle code around - - src/hb-ot-map-private.hh | 68 ++++++++++++++++++++++++------------------------ - 1 file changed, 34 insertions(+), 34 deletions(-) - -commit fc551edbf236d71a522ae7c2c9461aa71c5f7d66 -Author: Behdad Esfahbod -Date: Thu Jul 7 16:09:38 2011 -0400 - - Add todo - - I'm too lazy to fix the tests now. - - test/test-shape.c | 1 + - 1 file changed, 1 insertion(+) - -commit 2e18c6dbdfbbfdec0490260bb7cb5213551b2188 -Author: Behdad Esfahbod -Date: Wed Jul 6 16:05:45 2011 -0400 - - Fix reverse_range() position loop - - Mozilla Bug 669175 - Slow rendering of text sometimes in this case, - using direction: rtl - - src/hb-buffer.cc | 7 +++++-- - 1 file changed, 5 insertions(+), 2 deletions(-) - -commit fa2befa46f215d8c33a54dfc57889928a628164c -Author: Behdad Esfahbod -Date: Mon Jul 4 17:18:57 2011 -0400 - - Minor - - src/hb-view.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit d69d5ceaa0ad30e8d4b9783507c59c6d4221de4f -Author: Behdad Esfahbod -Date: Mon Jul 4 12:56:38 2011 -0400 - - [Indic] Well, at least finding syllables works now :) - - Still not much there. - - src/hb-ot-shape-complex-indic-machine.rl | 4 +++- - src/hb-ot-shape-complex-indic.cc | 9 ++++++++- - 2 files changed, 11 insertions(+), 2 deletions(-) - -commit 253a57fb5ab211f67140e6139d183e49483a9074 -Author: Behdad Esfahbod -Date: Tue Jun 28 17:26:03 2011 -0400 - - [test-shape-complex] Remove the greek tests - - They are outdated with respect to the DejaVu Sans I'm using. - We need to add font version checking to the tests. - - test/test-shape-complex.c | 17 ----------------- - 1 file changed, 17 deletions(-) - -commit afa74bf90405fb121d3132982b87762c1686d80c -Author: Behdad Esfahbod -Date: Tue Jun 28 17:25:17 2011 -0400 - - [test-shape-complex] Print out expected and actual glyphstrings upon failure - - One has to run the test with --verbose to see that right now. - - test/test-shape-complex.c | 25 ++++++++++++++++++++++--- - 1 file changed, 22 insertions(+), 3 deletions(-) - -commit 42d453b0236f67239342df2003b7abce6e2c51ea -Author: Behdad Esfahbod -Date: Tue Jun 28 16:59:16 2011 -0400 - - [test] Name tests after their input string - - test/Makefile.am | 2 +- - test/test-shape-complex.c | 150 ++++++++++++++++++++++++++++++---------------- - 2 files changed, 100 insertions(+), 52 deletions(-) - -commit 27413169782fdf79e278dd6552c8e194b3bc4eaa -Author: Behdad Esfahbod -Date: Tue Jun 28 16:21:31 2011 -0400 - - Minor - - Towards a better test runner. - - test/test-shape-complex.c | 10 +++++++++- - 1 file changed, 9 insertions(+), 1 deletion(-) - -commit cc674cbf7fb9972975dc0499974e5e7fb4ae3c81 -Author: Behdad Esfahbod -Date: Tue Jun 28 16:17:16 2011 -0400 - - Minor - - test/test-shape-complex.c | 2 -- - 1 file changed, 2 deletions(-) - -commit 20d8a3982ae320035edd6a04b402cefc9a5e5779 -Author: Behdad Esfahbod -Date: Tue Jun 28 16:16:21 2011 -0400 - - [test] Remove disabled code - - We'd add normalization and decomposition tests later. - - test/test-shape-complex.c | 92 ----------------------------------------------- - 1 file changed, 92 deletions(-) - -commit 9704f0ca6c2defed52640da77506c80bc67b4f56 -Author: Behdad Esfahbod -Date: Tue Jun 28 16:15:46 2011 -0400 - - [test] Restructure shape test data a bit - - test/test-shape-complex.c | 75 +++++++++++++++++++++++++++-------------------- - 1 file changed, 43 insertions(+), 32 deletions(-) - -commit 4ec30aec3014be6effc09cbbc88dcd075f3826df -Author: Behdad Esfahbod -Date: Tue Jun 28 14:13:38 2011 -0400 - - [Indic] Optimize Indic table storage - - src/hb-ot-shape-complex-indic.cc | 8 +++++--- - src/hb-private.hh | 1 + - 2 files changed, 6 insertions(+), 3 deletions(-) - -commit c4a59de6d8c1e581b5c155319232be9e805e5cba -Author: Behdad Esfahbod -Date: Tue Jun 28 14:03:29 2011 -0400 - - [Indic] Generate a single data table instead of multiple ones - - src/gen-indic-table.py | 30 +++++++++------- - src/hb-ot-shape-complex-indic-table.hh | 62 ++++++++++++++++------------------ - 2 files changed, 48 insertions(+), 44 deletions(-) - -commit a346e923a99f920bbebc25b335db51fdfb1429ea -Author: Behdad Esfahbod -Date: Tue Jun 28 12:49:18 2011 -0400 - - [test] Add Indic tests from harfbuzz.old - - Needs fonts to be put in test/fonts. Tests are skipped otherwise. - Run with --verbose for details. Working on improving the test runner - to make it easier to make sense of what's going on. - - test/Makefile.am | 11 +- - test/hb-test.h | 21 + - test/test-shape-complex.c | 1179 +++++++++++++++++++++++++++++++++++++++++++++ - 3 files changed, 1209 insertions(+), 2 deletions(-) - -commit 8fdba506f0f1c66b50f8f4b114d624cb956d03b7 -Author: Behdad Esfahbod -Date: Fri Jun 24 20:45:55 2011 -0400 - - [Indic] Define indic_position_t - - src/hb-ot-shape-complex-indic.cc | 239 ++++++++++++++++++++------------------- - 1 file changed, 122 insertions(+), 117 deletions(-) - -commit 65988a145b4a52c37fd53c1473034f9e701f61d9 -Author: Behdad Esfahbod -Date: Fri Jun 24 19:05:52 2011 -0400 - - [Indic] Add a table of consonant positions - - Copied form HarfBuzz.old Indic data. These are below and post - consonants. This is temporary. Read the comment in the patch. - - src/hb-ot-shape-complex-indic.cc | 106 +++++++++++++++++++++++++++++++++++++++ - 1 file changed, 106 insertions(+) - -commit c7fe56a1d5d3e969b6ec51cd9ecd471706a19568 -Author: Behdad Esfahbod -Date: Fri Jun 24 19:05:34 2011 -0400 - - [Indic] Some of the basic features are global; Mark them so - - src/hb-ot-shape-complex-indic-machine.rl | 1 + - src/hb-ot-shape-complex-indic.cc | 48 ++++++++++++++++++++++---------- - 2 files changed, 35 insertions(+), 14 deletions(-) - -commit 867361c3ad39629a8d5b7dc48d558a1c19e37d43 -Author: Behdad Esfahbod -Date: Fri Jun 17 18:35:46 2011 -0400 - - [indic] Add syllable recognition state machine - - Using an incredible tool called Ragel. - - src/Makefile.am | 5 ++ - src/hb-ot-shape-complex-indic-machine.rl | 105 +++++++++++++++++++++++++++++++ - src/hb-ot-shape-complex-indic.cc | 21 +++++-- - 3 files changed, 125 insertions(+), 6 deletions(-) - -commit 422e08dbb8e2c0c5664f1bdc7e159a673cfea8c5 -Author: Behdad Esfahbod -Date: Wed Jun 15 17:22:48 2011 -0400 - - Better categorize Indic character classes - - Matches OT types now. - - src/hb-ot-shape-complex-indic.cc | 51 +++++++++++++++++++++++++--------------- - 1 file changed, 32 insertions(+), 19 deletions(-) - -commit 31f18abecb149f8888a72510f2660328dd6de16d -Author: Behdad Esfahbod -Date: Wed Jun 15 09:49:58 2011 -0400 - - Minor compiler warning fixes - - src/hb-buffer-private.hh | 8 ++++---- - src/hb-object-private.hh | 4 ++-- - src/hb-open-type-private.hh | 6 +++--- - src/hb-ot-layout-common-private.hh | 8 ++++---- - src/hb-ot-map.cc | 28 +++++++++++++++------------- - src/hb-ot-shape-complex-arabic.cc | 3 +-- - src/hb-view.cc | 11 ++++++----- - test/test-object.c | 22 +++++++++++----------- - test/test-unicode.c | 4 ++-- - 9 files changed, 48 insertions(+), 46 deletions(-) - -commit e3693b72f0651985d4f619cde668611639dca885 -Author: Behdad Esfahbod -Date: Wed Jun 15 09:33:52 2011 -0400 - - Change a couple strstr() to strchr() - - src/hb-ot-tag.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit b9452bfc1696457e156e79037c863903da5454fc -Author: Behdad Esfahbod -Date: Tue Jun 14 14:47:07 2011 -0400 - - Fix compiler warnings with -pedantic - - src/hb-blob.cc | 18 +++++++++--------- - src/hb-glib.cc | 20 ++++++++++---------- - src/hb-icu.cc | 20 ++++++++++---------- - src/hb-object-private.hh | 2 +- - src/hb-open-type-private.hh | 14 +++++++------- - src/hb-ot-layout-gdef-private.hh | 2 +- - src/hb-ot-layout.cc | 2 +- - src/hb-ot-map-private.hh | 2 +- - src/hb-ot-shape-complex-indic.cc | 8 ++++---- - src/hb-ot-shape-private.hh | 2 +- - src/hb-ot-shape.cc | 2 +- - 11 files changed, 46 insertions(+), 46 deletions(-) - -commit 970e092dc23cbeb7897d4c7bb58c042209f518fb -Author: Behdad Esfahbod -Date: Tue Jun 14 14:35:44 2011 -0400 - - Remove extra semicolon - - src/hb-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 81426808020e2b88f008480bd63519aa68c579a7 -Author: Behdad Esfahbod -Date: Mon Jun 13 16:02:18 2011 -0400 - - Cosmetic - - src/gen-indic-table.py | 9 +- - src/hb-ot-shape-complex-indic-table.hh | 1038 ++++++++++++++++---------------- - 2 files changed, 524 insertions(+), 523 deletions(-) - -commit 902ab866f2d2edc3a71c1203065e6ddf49e5b431 -Author: Behdad Esfahbod -Date: Fri Jun 10 23:08:54 2011 -0400 - - GNOME Bug 652227 - Unconditional use of stdint.h - - src/hb-common.h | 33 ++++++++++++++++++++++----------- - 1 file changed, 22 insertions(+), 11 deletions(-) - -commit 20503ccd578c9983162857954e3236413469ed35 -Author: Behdad Esfahbod -Date: Tue Jun 7 17:02:48 2011 -0400 - - More Indic data shuffling - - src/hb-ot-shape-complex-indic.cc | 74 +++++++++++++++++++++++++++------------- - 1 file changed, 50 insertions(+), 24 deletions(-) - -commit 63b177e45c2405272da3fa6c26fe11ae37950bd0 -Author: Behdad Esfahbod -Date: Tue Jun 7 15:51:40 2011 -0400 - - Minor - - src/hb-ot-shape.cc | 1 + - 1 file changed, 1 insertion(+) - -commit b9ddbd55930228422e82b34a141ad1b6093f5376 -Author: Behdad Esfahbod -Date: Thu Jun 2 17:43:12 2011 -0400 - - [Indic] Start an Indic shaper - - Nothing functional in there yet. - - So far, we're parsing IndicSyllabicCategory.txt and IndicMatraCategory.txt - fils from Unicode Character Database and store them in an array to be used - by the shaper. Also hooked up the shaper, but it does not do anything - right now. - - src/Makefile.am | 3 + - src/gen-indic-table.py | 201 ++++++++ - src/hb-ot-shape-complex-arabic.cc | 4 +- - src/hb-ot-shape-complex-indic-table.hh | 834 +++++++++++++++++++++++++++++++++ - src/hb-ot-shape-complex-indic.cc | 141 ++++++ - src/hb-ot-shape-complex-private.hh | 58 ++- - src/hb-ot-shape-private.hh | 3 +- - 7 files changed, 1237 insertions(+), 7 deletions(-) - -commit 697a65c5f5cda53bc68720886a253a019e8212a8 -Author: Behdad Esfahbod -Date: Wed Jun 1 20:52:00 2011 -0400 - - Minor - - src/gen-arabic-table.py | 21 +++++++++++++-------- - src/hb-ot-shape-complex-arabic-table.hh | 9 ++++----- - 2 files changed, 17 insertions(+), 13 deletions(-) - -commit 9de1481f2bbbf2a174280b849628612f36a2f701 -Author: Behdad Esfahbod -Date: Wed Jun 1 20:45:14 2011 -0400 - - Update to ArabicShaping-6.1.0d2.txt - - src/hb-ot-shape-complex-arabic-table.hh | 307 ++++++++++++++++++++------------ - 1 file changed, 197 insertions(+), 110 deletions(-) - -commit 9d49433efba2217852f4e44f056465b451961c49 -Author: Behdad Esfahbod -Date: Wed Jun 1 18:10:10 2011 -0400 - - Minor rename - - src/Makefile.am | 2 +- - src/{gen-arabic-joining-table.py => gen-arabic-table.py} | 2 +- - src/hb-ot-shape-complex-arabic-table.hh | 2 +- - 3 files changed, 3 insertions(+), 3 deletions(-) - -commit 0eafce56eed4c5166ee5b97b121a452ffd292a7a -Author: Behdad Esfahbod -Date: Wed Jun 1 12:44:30 2011 -0400 - - [TODO] New items - - TODO | 4 ++++ - 1 file changed, 4 insertions(+) - -commit 89a2bc9ba674e7e57fec1fd8ce7648a44f3aab63 -Author: Behdad Esfahbod -Date: Tue May 31 15:18:13 2011 -0400 - - [Vertical] Apply vertical features - - We apply all of vert, vrt2, vkrn, valt, and vpal. - - TODO | 7 ------- - src/hb-ot-shape.cc | 50 +++++++++++++++++++++++++++++++++++++++++--------- - 2 files changed, 41 insertions(+), 16 deletions(-) - -commit 0c6a9767c812c00f2a6a02d9f43f4694e1f43815 -Author: Behdad Esfahbod -Date: Tue May 31 12:59:17 2011 -0400 - - [hb-view] Add --face-index to choose a face in a TrueType Collection - - src/hb-view.cc | 7 ++++++- - 1 file changed, 6 insertions(+), 1 deletion(-) - -commit 4f28fbdd804fabeec57a98fe267d892ab58b3a6d -Author: Behdad Esfahbod -Date: Tue May 31 12:33:11 2011 -0400 - - Fix TTC header handling - - Also change the Version type to avoid similar bugs in the future. - - Reported by Grigori Goronzy. - - src/hb-open-file-private.hh | 6 +++--- - src/hb-open-type-private.hh | 2 +- - src/hb-ot-layout-gdef-private.hh | 6 +++--- - 3 files changed, 7 insertions(+), 7 deletions(-) - -commit 21deab2bdc58d8e9f1a3ba1f9c61c30a79e288a1 -Author: Behdad Esfahbod -Date: Mon May 30 11:08:40 2011 -0400 - - Fixed inifinite loop introduced in 7403e055cd1463f - - k is the index, not j. - - Reported by Tom Hacohen. - - src/hb-ot-layout-gpos-private.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 51881a61ca96c3328e2d92927a5a61e60997a429 -Author: Behdad Esfahbod -Date: Fri May 27 18:15:56 2011 -0400 - - Shrink code size - - src/hb-ot-map-private.hh | 11 +---------- - src/hb-ot-map.cc | 11 +++++++++++ - 2 files changed, 12 insertions(+), 10 deletions(-) - -commit 90645fb24bcbb78183576d3641a99560d87e49f2 -Author: Behdad Esfahbod -Date: Fri May 27 18:13:31 2011 -0400 - - [OT] Separate map_builder from the actual map - - Respectively, separate planner from the actual plan. - - src/hb-ot-map-private.hh | 121 ++++++++++++++++++++----------------- - src/hb-ot-map.cc | 33 +++++----- - src/hb-ot-shape-complex-arabic.cc | 6 +- - src/hb-ot-shape-complex-private.hh | 8 +-- - src/hb-ot-shape-private.hh | 22 +++++++ - src/hb-ot-shape.cc | 28 +++++---- - 6 files changed, 127 insertions(+), 91 deletions(-) - -commit 5560a19e2b3901437d8ee2e5905b4ac77073bfbe -Author: Behdad Esfahbod -Date: Fri May 27 17:49:16 2011 -0400 - - Minor - - src/hb-view.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 1587c26fe94087040b4a5d682ec196f568e4a1a2 -Author: Behdad Esfahbod -Date: Fri May 27 16:05:01 2011 -0400 - - [TODO] Add item - - TODO | 2 ++ - 1 file changed, 2 insertions(+) - -commit 5c9f14932d59e306fbc72f7daecb384a16da73d9 -Author: Behdad Esfahbod -Date: Fri May 27 15:59:33 2011 -0400 - - Minor - - Makefile.am | 2 ++ - 1 file changed, 2 insertions(+) - -commit 5bc18195d55570ef01e4b24dd248f222f081b0a2 -Author: Behdad Esfahbod -Date: Fri May 27 15:58:54 2011 -0400 - - Add check-includes.sh - - src/Makefile.am | 7 +++++++ - src/check-c-linkage-decls.sh | 6 +++++- - src/check-header-guards.sh | 8 +++++++- - src/check-includes.sh | 42 ++++++++++++++++++++++++++++++++++++++++++ - src/check-internal-symbols.sh | 8 ++++---- - src/check-libstdc++.sh | 7 ++++--- - src/hb-ot-shape.h | 1 + - 7 files changed, 70 insertions(+), 9 deletions(-) - -commit 3f12c434e20261f6d5c600e56575b7dfdd5b1470 -Author: Behdad Esfahbod -Date: Fri May 27 04:58:11 2011 -0400 - - [configure] Generate sha256sum and GPG-sign it - - Makefile.am | 29 ++++++++++++++++++++++++++++- - 1 file changed, 28 insertions(+), 1 deletion(-) - -commit 75ba4073ca6f72c135927d9314197a605281b789 -Author: Behdad Esfahbod -Date: Fri May 27 03:58:17 2011 -0400 - - [test] Rename valgrind-log to log-vaglring.txt - - test/Makefile.am | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit e3b0ba8e292e6a90666cfbbab6faf11ae11f9ddb -Author: Behdad Esfahbod -Date: Fri May 27 03:56:37 2011 -0400 - - Minor - - harfbuzz.doap | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 595dc63eee926a0e0fee26f8225b5fbe00610fcb -Author: Behdad Esfahbod -Date: Fri May 27 04:14:12 2011 -0400 - - Bump version to 0.7.0 to open up for development - - configure.ac | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit f24557604281356131618546332d7ee3a0c8abef -Author: Behdad Esfahbod -Date: Wed May 25 16:08:06 2011 -0400 - - Release 0.6.0. First official tarball release! - - There are no API guarantees just yet, but I *expect* that no - incompatible API changes to happen before 1.0.0. - - Update NEWS. - - NEWS | 262 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ - configure.ac | 2 +- - 2 files changed, 263 insertions(+), 1 deletion(-) - -commit 654f88fbc9bcb54f9bd2d5586236234e03424044 -Author: Behdad Esfahbod -Date: Fri May 27 03:38:46 2011 -0400 - - [test-common] Test hb_direction_to_string() - - Caught by "make check-symbols". - - test/test-common.c | 6 ++++++ - 1 file changed, 6 insertions(+) - -commit 18bced134fc3379c9124ba029e22ff3f6434ca0f -Author: Behdad Esfahbod -Date: Fri May 27 03:38:30 2011 -0400 - - [test] Rename test-symbols to check-symbols - - Shows undocumented symbols. - - test/Makefile.am | 37 +++++++++++++++++++++---------------- - 1 file changed, 21 insertions(+), 16 deletions(-) - -commit 376dafa6ed414e368e9dc1d5a2e0bfc8e55f410d -Author: Behdad Esfahbod -Date: Fri May 27 03:35:58 2011 -0400 - - Hide internal symbols - - src/hb-ot-shape.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 0e482ec6ba30b613f2d7ee97c61be458c5aebcd6 -Author: Behdad Esfahbod -Date: Fri May 27 02:46:28 2011 -0400 - - [test/unicode] Fix double-free - - Caught by "make check-valgrind". - - test/Makefile.am | 2 +- - test/test-unicode.c | 2 -- - 2 files changed, 1 insertion(+), 3 deletions(-) - -commit 28b1bac5415774cf892c9cc0afcac1324c2093f5 -Author: Behdad Esfahbod -Date: Fri May 27 02:44:29 2011 -0400 - - [test] Switch to automake-based test-runner - - Adds check-valgrind among other modes. We do not run under gtester by - default anymore. - - Makefile.am | 2 + - test/.valgrind-suppressions | 0 - test/Makefile.am | 48 ++++++++++++++++++++++-- - test/Makefile.decl | 90 --------------------------------------------- - 4 files changed, 47 insertions(+), 93 deletions(-) - -commit adbc97ddde27cf609d95d3249f3ea8060a6e1d20 -Author: Behdad Esfahbod -Date: Fri May 27 01:33:18 2011 -0400 - - [test] Add test-symbols that checks API symbol text coverage - - We're not at 100% coverage yet, so do not enable the test by default. - - test/Makefile.am | 21 +++++++++++++++++++++ - 1 file changed, 21 insertions(+) - -commit 9313b9aa66a82fd3fa60d8417c22a5350e5a8791 -Author: Behdad Esfahbod -Date: Fri May 27 01:00:55 2011 -0400 - - [test/version] Test hb-version.h - - test/Makefile.am | 1 + - test/test-version.c | 80 +++++++++++++++++++++++++++++++++++++++++++++++++++++ - 2 files changed, 81 insertions(+) - -commit 329c15714be90d3fc2d9054f80cb14fa325dc959 -Author: Behdad Esfahbod -Date: Wed May 25 16:07:07 2011 -0400 - - Add libtool versioning - - The versioning is automatic. For now, soname-major is 0. With - the 1.0.0 release it will jump to 1 and stay there forever. - - configure.ac | 26 +++++++++++++++++++++----- - src/Makefile.am | 1 + - 2 files changed, 22 insertions(+), 5 deletions(-) - -commit 5b21eff8c4a00962d4315a47a65a143abe323299 -Author: Behdad Esfahbod -Date: Wed May 25 14:49:35 2011 -0400 - - Update README, etc - - COPYING | 1 + - README | 8 +++----- - configure.ac | 2 +- - 3 files changed, 5 insertions(+), 6 deletions(-) - -commit 5bf56ea056b30fba8e07e82ec818c430cab8cafd -Author: Behdad Esfahbod -Date: Wed May 25 14:43:10 2011 -0400 - - [TODO] Add item - - TODO | 2 ++ - test/test-shape.c | 2 ++ - 2 files changed, 4 insertions(+) - -commit 2d8ebcb9d089c2cfbefac71ca6350e2703ab13e3 -Author: Behdad Esfahbod -Date: Wed May 25 11:27:33 2011 -0400 - - [API] One last font-funcs API change - - Now that vertical text works correctly, I'm doing a last round - modification of the font-funcs API to simplify. Expect no more - changes around here. - - src/hb-font.cc | 107 ++++++++++++++++++------------------------------------ - src/hb-font.h | 50 +++++++++++-------------- - src/hb-ft.cc | 26 ++++++------- - test/test-font.c | 27 +++++++------- - test/test-shape.c | 21 +++++------ - 5 files changed, 91 insertions(+), 140 deletions(-) - -commit d31691296f7d3051fcd345bf1325d17835484b50 -Author: Behdad Esfahbod -Date: Wed May 25 11:01:32 2011 -0400 - - [test] Update to API changes - - test/test-font.c | 72 ++++++++++++++++++++++--------------------------------- - test/test-shape.c | 35 +++++++++++++-------------- - 2 files changed, 44 insertions(+), 63 deletions(-) - -commit 7403e055cd1463f38215ad9faedd61c3e1b66ac5 -Author: Behdad Esfahbod -Date: Tue May 24 21:04:15 2011 -0400 - - [Vertical] fix vertical gpos - - Wow, it took me a few days to find the right fix! - - We now set the advance for attached marks to zero, but we - do this in the _finish() state of gpos, so it shouldn't - regress with fonts like DejaVuSansMono that explicitly - decrease the mark advance width to set it to zero. - - src/hb-ot-layout-gpos-private.hh | 167 +++++++++++++++++++++++---------------- - src/hb-ot-shape.cc | 9 ++- - 2 files changed, 103 insertions(+), 73 deletions(-) - -commit ff7cbd0219a7c260612c53b3bed343747d79ec4e -Author: Behdad Esfahbod -Date: Wed May 25 09:56:06 2011 -0400 - - [TODO] Update - - TODO | 14 ++++++++++++-- - 1 file changed, 12 insertions(+), 2 deletions(-) - -commit 3b0bb855e011099f1a4c77ffc5214c658e280b2d -Author: Behdad Esfahbod -Date: Fri May 20 15:59:59 2011 -0400 - - [Vertical] GPOS x/y advance adjustments only apply in hori/vert respectively - - src/hb-ot-layout-gpos-private.hh | 31 +++++++++++++++++++++---------- - 1 file changed, 21 insertions(+), 10 deletions(-) - -commit cc2086d67ce559878a5ce2b41d89a37eabac90b8 -Author: Behdad Esfahbod -Date: Thu May 19 19:19:50 2011 -0400 - - [Vertical] Fix GPOS y-advance direction - - src/hb-ot-layout-gpos-private.hh | 7 ++++--- - 1 file changed, 4 insertions(+), 3 deletions(-) - -commit 67d51ff96154c8909734046601e439dd8f6a86df -Author: Behdad Esfahbod -Date: Thu May 19 19:08:57 2011 -0400 - - [Vertical] Do fallback origin calculation - - src/hb-font.cc | 32 +++++++++++++++++++++++++++----- - 1 file changed, 27 insertions(+), 5 deletions(-) - -commit 60fbb36096e344e9af79409ce8cfe3f1f7b0d321 -Author: Behdad Esfahbod -Date: Thu May 19 18:46:15 2011 -0400 - - [Vertical] GPOS is always done with horizontal origin - - src/hb-font-private.hh | 4 +- - src/hb-font.cc | 187 ++++++++++++++++++--------------------- - src/hb-font.h | 53 ++++++----- - src/hb-ft.cc | 47 ++++------ - src/hb-ot-layout-gdef-private.hh | 18 ++-- - src/hb-ot-layout-gpos-private.hh | 23 ++--- - src/hb-ot-layout.h | 2 +- - src/hb-ot-shape.cc | 15 ++++ - 8 files changed, 166 insertions(+), 183 deletions(-) - -commit 8b38faeede41e64eb0f6ac2e12ce51dd7138d50a -Author: Behdad Esfahbod -Date: Thu May 19 13:08:00 2011 -0400 - - More vertical - - Starting to get there, but not without yet another round of changes. - - I think I know wheere to go now. - - src/hb-font.cc | 44 ++++++++++++++++++++++++++++++++------------ - src/hb-font.h | 10 ++++++++++ - src/hb-ft.cc | 14 ++++++++++++-- - src/hb-ot-shape.cc | 4 ++++ - 4 files changed, 58 insertions(+), 14 deletions(-) - -commit e609aeb1e24da6b7c812396cddb93ee3c95ef87a -Author: Behdad Esfahbod -Date: Wed May 18 10:17:02 2011 -0400 - - [hb-view] Add --annotate - - Currently it only marks glyph origins. - - src/hb-view.cc | 20 +++++++++++++++++++- - 1 file changed, 19 insertions(+), 1 deletion(-) - -commit b8d76dd74e50d295918cc015e9d2a55e2bf6a461 -Author: Behdad Esfahbod -Date: Tue May 17 23:31:00 2011 -0400 - - Vertical: Adjust origin in glyph_extents() and glyph_contour_point() - - The base for vertical is almost ready now. - - src/hb-font.cc | 12 ++++++++---- - 1 file changed, 8 insertions(+), 4 deletions(-) - -commit 190981851fe2bb6479b5c72451279f66fe4f6e23 -Author: Behdad Esfahbod -Date: Tue May 17 23:27:22 2011 -0400 - - Cosmetic - - src/hb-font.cc | 114 ++++++++++++++++++++++++++++----------------------------- - src/hb-ft.cc | 36 +++++++++--------- - 2 files changed, 74 insertions(+), 76 deletions(-) - -commit 2c3f51a11c176aa3fc12a9522325efaef2c79d35 -Author: Behdad Esfahbod -Date: Tue May 17 23:23:27 2011 -0400 - - Minor - - src/hb-font.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 7e2c85de305be59e1a6afa7d2061e4b7dd00acf7 -Author: Behdad Esfahbod -Date: Tue May 17 17:55:03 2011 -0400 - - [API] Vertical support, take 2 - - I like this API *much* better. Implementation still incomplete, but - horizontal works. - - src/hb-font-private.hh | 7 +- - src/hb-font.cc | 185 +++++++++++++++++++++++---------------- - src/hb-font.h | 109 ++++++++++++----------- - src/hb-ft.cc | 66 ++++++++------ - src/hb-ot-layout-gdef-private.hh | 2 +- - src/hb-ot-layout-gpos-private.hh | 2 +- - src/hb-ot-shape.cc | 8 +- - 7 files changed, 218 insertions(+), 161 deletions(-) - -commit 744970af4d884cc87ffa645804578fec8df674a9 -Author: Behdad Esfahbod -Date: Mon May 16 18:15:37 2011 -0400 - - [API] Add support for vertical text - - Design not final yet, and in fact I'm going to change it immediately, - but this is an standalone change for itself. - - src/hb-font-private.hh | 35 ++-- - src/hb-font.cc | 387 +++++++++++++++++++++++++---------- - src/hb-font.h | 164 +++++++++++---- - src/hb-ft.cc | 227 +++++++++++++------- - src/hb-ot-layout-gdef-private.hh | 2 +- - src/hb-ot-layout-gpos-private.hh | 35 ++-- - src/hb-ot-layout-gsub-private.hh | 1 + - src/hb-ot-layout-gsubgpos-private.hh | 1 + - src/hb-ot-shape.cc | 14 +- - src/hb-ot-tag.cc | 2 +- - test/test-font.c | 61 +++--- - test/test-shape.c | 17 +- - 12 files changed, 650 insertions(+), 296 deletions(-) - -commit 80dce8b7c8202766d52cc7666355446bbf5b0565 -Author: Behdad Esfahbod -Date: Tue May 17 17:08:36 2011 -0400 - - Minor - - TODO | 2 ++ - 1 file changed, 2 insertions(+) - -commit 5be7d047f6bf54cc577e311b5426c463d2b9b131 -Author: Behdad Esfahbod -Date: Tue May 17 15:05:34 2011 -0400 - - Check for mmap() - - Apparently there exist systems with mprotect(), but not mmap()? - - configure.ac | 2 +- - test/test-blob.c | 6 ++++-- - 2 files changed, 5 insertions(+), 3 deletions(-) - -commit 4053f3f788353448b41e541ee617aafbe1cac366 -Author: Behdad Esfahbod -Date: Mon May 16 16:20:48 2011 -0400 - - Cosmetic - - src/hb-font.h | 8 ++++---- - test/test-shape.c | 6 +++--- - 2 files changed, 7 insertions(+), 7 deletions(-) - -commit 56d12e0356bee5a95b870dfbc2100b8caeb5d593 -Author: Behdad Esfahbod -Date: Mon May 16 16:01:58 2011 -0400 - - Remove unnecessary TODO item - - src/hb-ft.cc | 1 - - 1 file changed, 1 deletion(-) - -commit 1883af3796459cafe2d194064403b6b1152c584d -Author: Behdad Esfahbod -Date: Mon May 16 15:18:16 2011 -0400 - - [hb-view] Start work on vertical support - - src/hb-view.cc | 10 ++++++---- - 1 file changed, 6 insertions(+), 4 deletions(-) - -commit 9aa6f96af5e5940ba5c9596c6ae377fea23c0ec0 -Author: Behdad Esfahbod -Date: Mon May 16 15:08:31 2011 -0400 - - [hb-view] No need to allocate an extra glyph item at the end - - src/hb-view.cc | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit a0359485c9997e3a211f7c00d40c09074d906c4f -Author: Behdad Esfahbod -Date: Mon May 16 15:07:48 2011 -0400 - - Minor - - test/test-shape.c | 6 ++++++ - 1 file changed, 6 insertions(+) - -commit 92de53ea450eaee077eb1730e6d7a487b20ac721 -Author: Behdad Esfahbod -Date: Mon May 16 12:24:56 2011 -0400 - - [test/buffer] Add more tests for nil buffer - - test/test-buffer.c | 38 ++++++++++++++++++++++++++++++++++++++ - 1 file changed, 38 insertions(+) - -commit 065fb38c9a338ddb095f2ec9e034fcc5a02167bd -Author: Behdad Esfahbod -Date: Fri May 13 23:04:46 2011 -0400 - - [test/ot-tag] More tests - - test/test-ot-tag.c | 9 +++++++++ - 1 file changed, 9 insertions(+) - -commit 1a64f6e19a4b483e278c85e4941107be2f71b0a4 -Author: Behdad Esfahbod -Date: Fri May 13 22:55:32 2011 -0400 - - [API] Add HB_LANGUAGE_INVALID - - src/hb-common.cc | 5 +++-- - src/hb-common.h | 2 ++ - src/hb-ot-tag.cc | 2 +- - src/hb-shape.cc | 2 +- - test/test-common.c | 9 ++++++--- - 5 files changed, 13 insertions(+), 7 deletions(-) - -commit 40b5c2e86c633441040196d158e965ad95d6ad37 -Author: Behdad Esfahbod -Date: Fri May 13 22:46:36 2011 -0400 - - [test/test-ot-tag] Test hb-ot-tag.h, fix many bugs - - I'm in awe with how many bugs this test revealed. All fixed. - - src/hb-ot-tag.cc | 153 +++++++++++++++++++++--------------- - test/Makefile.am | 3 + - test/test-ot-tag.c | 227 +++++++++++++++++++++++++++++++++++++++++++++++++++++ - 3 files changed, 320 insertions(+), 63 deletions(-) - -commit 1368018b475c2a6dd5f625af99695ae2fcba1f05 -Author: Behdad Esfahbod -Date: Fri May 13 20:25:38 2011 -0400 - - [TODO] Add items - - TODO | 2 ++ - 1 file changed, 2 insertions(+) - -commit 7fc5a30cb4fbe9a4633ab842b0a8cbbcc6f6bd1b -Author: Behdad Esfahbod -Date: Thu May 12 17:48:20 2011 -0400 - - [API] Add hb_face_make/is_immutable() - - src/hb-font-private.hh | 2 ++ - src/hb-font.cc | 18 ++++++++++++++++++ - src/hb-font.h | 6 ++++++ - test/test-font.c | 2 ++ - test/test-object.c | 2 +- - 5 files changed, 29 insertions(+), 1 deletion(-) - -commit 20c8b908ddf50a9814dfdd9fca595f258273cd4f -Author: Behdad Esfahbod -Date: Thu May 12 15:19:33 2011 -0400 - - Finish off previous change - - src/hb-font.cc | 1 + - 1 file changed, 1 insertion(+) - -commit 0fd8c2f1be693616f19f2f1526369874763d6cf6 -Author: Behdad Esfahbod -Date: Thu May 12 15:14:13 2011 -0400 - - [API] Make get_glyph() callback return a boolean - - We need to know whether the glyph exists, so we can fallback to - composing / decomposing. Assuming that glyph==0 means "doesn't exist" - wouldn't work for applications like Pango that want to use different - "doesn't exist" glyph codes for different characters. An explicit - return value fixes that. - - src/hb-font.cc | 15 +++++++++------ - src/hb-font.h | 12 +++++++----- - src/hb-ft.cc | 12 +++++++----- - src/hb-ot-shape.cc | 13 +++++++++---- - test/test-font.c | 5 ++++- - test/test-shape.c | 12 +++++++----- - 6 files changed, 43 insertions(+), 26 deletions(-) - -commit 8e07f93ab4a3ef9adc7942727ef21f2f9a141d10 -Author: Behdad Esfahbod -Date: Thu May 12 14:27:44 2011 -0400 - - [test/shape] Check shape output - - test/test-shape.c | 23 +++++++++++++++++++---- - 1 file changed, 19 insertions(+), 4 deletions(-) - -commit 805af72405a2f653f08de392d7172291ffe8e902 -Author: Behdad Esfahbod -Date: Thu May 12 12:39:40 2011 -0400 - - Rename get_kernings() arguments from first/second_glyph to left/right_glyph - - Makes it clear that kerning is in visual order. - - src/hb-font.cc | 10 +++++----- - src/hb-font.h | 4 ++-- - src/hb-ft.cc | 6 +++--- - 3 files changed, 10 insertions(+), 10 deletions(-) - -commit 23d2432219a91c6328efa9e041b1ecf137752ac3 -Author: Behdad Esfahbod -Date: Thu May 12 10:53:57 2011 -0400 - - [test] Add test-shape.c. Oops - - test/test-shape.c | 125 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 125 insertions(+) - -commit c098c3acc8c48b4b6883c50c9a87e81dbe98ba24 -Author: Behdad Esfahbod -Date: Thu May 12 10:49:30 2011 -0400 - - [test/blob] Use MAP_ANON instead of MAP_ANONYMOUS - - More portable. - - test/test-blob.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 8329eb7c6ca39e162228733a2210e643b1a1019d -Author: Behdad Esfahbod -Date: Thu May 12 01:39:17 2011 -0400 - - [test/shape] Add simplest test for hb_shape() - - test/Makefile.am | 1 + - 1 file changed, 1 insertion(+) - -commit df077fadd7828b609bdfe4dbcad52ef2448525c7 -Author: Behdad Esfahbod -Date: Thu May 12 01:19:39 2011 -0400 - - [object] Make object inert during destruction - - Such that user_data and other finalizers cannot resurrect object - - src/hb-object-private.hh | 2 ++ - 1 file changed, 2 insertions(+) - -commit ee8dd83bb4e0b1c2ca5928391e35e8bd1fca6121 -Author: Behdad Esfahbod -Date: Thu May 12 01:02:03 2011 -0400 - - [TODO] Update - - TODO | 6 ++++++ - 1 file changed, 6 insertions(+) - -commit 52df150efeff4cf003cee65f8c91618f1a980bc8 -Author: Behdad Esfahbod -Date: Thu May 12 00:46:57 2011 -0400 - - Fix font subclass chainup - - Test passing now. - - src/hb-font.cc | 6 +----- - 1 file changed, 1 insertion(+), 5 deletions(-) - -commit f2c1dd4f746c36a44cf33d0257a3cd800107c286 -Author: Behdad Esfahbod -Date: Thu May 12 00:35:12 2011 -0400 - - [test/font] Test font_funcs subclassing - - test/test-font.c | 158 +++++++++++++++++++++++++++++++++++++++++++++++++++++-- - 1 file changed, 155 insertions(+), 3 deletions(-) - -commit 14f1e81b77971204e9325e2a8b6f8b690fac20a7 -Author: Behdad Esfahbod -Date: Thu May 12 00:18:28 2011 -0400 - - [test/font] Test empty funcs - - test/test-font.c | 75 ++++++++++++++++++++++++++++++++++++++++++++++++++++++-- - 1 file changed, 73 insertions(+), 2 deletions(-) - -commit 2ca0b5ae1e65d3f43df3a4a2144a1451d8b485c4 -Author: Behdad Esfahbod -Date: Wed May 11 23:57:36 2011 -0400 - - [test/font] Test more - - test/test-font.c | 63 ++++++++++++++++++++++++++++++++++++++++++++++++-------- - 1 file changed, 54 insertions(+), 9 deletions(-) - -commit 7033518f756490e9cf00b96387fee6f2f7fae785 -Author: Behdad Esfahbod -Date: Wed May 11 23:31:15 2011 -0400 - - [API] Pass face to get_table() - - src/hb-font.cc | 4 ++-- - src/hb-font.h | 2 +- - src/hb-ft.cc | 2 +- - test/test-font.c | 2 +- - 4 files changed, 5 insertions(+), 5 deletions(-) - -commit b46782780690e26a8221e2d63dd224159aebe413 -Author: Behdad Esfahbod -Date: Wed May 11 23:25:28 2011 -0400 - - [API] Remove const from font user_data - - src/hb-font.cc | 20 ++++++++++---------- - src/hb-font.h | 20 ++++++++++---------- - src/hb-ft.cc | 20 ++++++++++---------- - 3 files changed, 30 insertions(+), 30 deletions(-) - -commit ea93e7b27ca04a1655d62bd1d18a32805994af44 -Author: Behdad Esfahbod -Date: Wed May 11 23:22:55 2011 -0400 - - [test/font] More tests - - test/test-font.c | 36 +++++++++++++++++++++++++++++++++--- - 1 file changed, 33 insertions(+), 3 deletions(-) - -commit cdb153175f8a1521cde112c65b173f548ca6ee5c -Author: Behdad Esfahbod -Date: Wed May 11 23:12:58 2011 -0400 - - [test/font] More tests - - test/test-font.c | 44 ++++++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 44 insertions(+) - -commit 74d9fa3d9ac226ed72702884e721ef94ecc48e22 -Author: Behdad Esfahbod -Date: Wed May 11 23:07:47 2011 -0400 - - [test/font] More get_empty() tests - - test/test-font.c | 5 +++++ - 1 file changed, 5 insertions(+) - -commit db9f4eb4e004fadae9d540522d1d21c3bbe659b0 -Author: Behdad Esfahbod -Date: Wed May 11 23:06:02 2011 -0400 - - [test/font] Test get_face() / get_parent() - - test/test-font.c | 4 ++++ - 1 file changed, 4 insertions(+) - -commit 606923bb4304d5b9cf164745d657cba58949a80a -Author: Behdad Esfahbod -Date: Wed May 11 23:05:02 2011 -0400 - - [test/font] Add test_font_properties() - - test/test-font.c | 85 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 85 insertions(+) - -commit da603e80386b41b360acb070a862b6ed87da57b8 -Author: Behdad Esfahbod -Date: Wed May 11 22:52:35 2011 -0400 - - [test/font] Start adding tests for hb-font.h - - test/Makefile.am | 1 + - test/test-buffer.c | 2 +- - test/test-font.c | 69 +++++++++++++++++++++++++++++++++++++++++++++++++++++ - test/test-unicode.c | 1 + - 4 files changed, 72 insertions(+), 1 deletion(-) - -commit 9a14688e40e926b9453fcb75891f27bff1e45c49 -Author: Behdad Esfahbod -Date: Wed May 11 22:49:29 2011 -0400 - - [API] Rename hb_face_create_for_data() to hb_face_create() - - src/hb-font.cc | 4 ++-- - src/hb-font.h | 4 ++-- - src/hb-ft.cc | 2 +- - src/test.cc | 2 +- - test/test-object.c | 4 ++-- - 5 files changed, 8 insertions(+), 8 deletions(-) - -commit 46d6a21cc8613519e6ce27b1925e29285cccb71d -Author: Behdad Esfahbod -Date: Wed May 11 22:33:13 2011 -0400 - - [API] Add hb_ot_layout_substitute_start/finish() - - src/hb-ot-layout.cc | 13 +++++++++++++ - src/hb-ot-layout.h | 8 ++++++++ - 2 files changed, 21 insertions(+) - -commit c84d15f52e1183164502d45b476b54f8fe812e0f -Author: Behdad Esfahbod -Date: Wed May 11 22:23:15 2011 -0400 - - Remove unused hb_set_t - - src/hb-private.hh | 48 ------------------------------------------------ - 1 file changed, 48 deletions(-) - -commit 389a7c9e67549b1a9f7c538965e4647077f8e6ec -Author: Behdad Esfahbod -Date: Wed May 11 22:21:38 2011 -0400 - - Remove hb_static_threadsafe_set_t - - src/hb-common.cc | 5 +++-- - src/hb-mutex-private.hh | 42 ------------------------------------------ - 2 files changed, 3 insertions(+), 44 deletions(-) - -commit e06d4eda7bbdb3a1be1f1ce8d98b059a0730f14d -Author: Behdad Esfahbod -Date: Wed May 11 22:18:31 2011 -0400 - - Use constructor/destructor for hb_ot_shape_plan_t - - src/hb-ot-shape-private.hh | 6 +++++- - src/hb-ot-shape.cc | 4 +--- - 2 files changed, 6 insertions(+), 4 deletions(-) - -commit a5e4e109460ea23fa5e64926a1676c6a02ab6ba2 -Author: Behdad Esfahbod -Date: Wed May 11 22:00:56 2011 -0400 - - Minor - - TODO | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit daa446f184fa27c9764ff7f8a2444d47cf34d986 -Author: Behdad Esfahbod -Date: Wed May 11 21:31:25 2011 -0400 - - Fix compile with no mutex available - - src/hb-mutex-private.hh | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -commit 1e56c476c10577fe319fe553c5ced000bd740940 -Author: Behdad Esfahbod -Date: Wed May 11 21:28:01 2011 -0400 - - Free static mutex'es - - src/hb-mutex-private.hh | 1 + - 1 file changed, 1 insertion(+) - -commit 831886a9b4073cfe27f7e1db0e957cbd5913fd31 -Author: Behdad Esfahbod -Date: Wed May 11 21:27:52 2011 -0400 - - Streamline mutex stuff - - src/hb-mutex-private.hh | 61 ++++++++++++++++++++++++++++++------------------- - src/hb-private.hh | 8 +++++++ - 2 files changed, 46 insertions(+), 23 deletions(-) - -commit 438c4eee353ddf0de66171d84c6ef9b21cbdf8f6 -Author: Behdad Esfahbod -Date: Wed May 11 21:14:34 2011 -0400 - - Remove unused hb_mutex_trylock() - - src/hb-mutex-private.hh | 3 --- - 1 file changed, 3 deletions(-) - -commit b8477e1da2785708f3232f8f2577f602a5d320d1 -Author: Behdad Esfahbod -Date: Wed May 11 21:12:44 2011 -0400 - - [test] Add tests for _get_empty() funcs - - test/test-blob.c | 1 + - test/test-buffer.c | 7 +++++++ - test/test-unicode.c | 10 ++++++++++ - 3 files changed, 18 insertions(+) - -commit 3994be3ded40e5a3da0e187ad421b19a78865e02 -Author: Behdad Esfahbod -Date: Wed May 11 21:08:31 2011 -0400 - - [TODO] Update - - TODO | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 80a6833b032bc63b4e8c3da6489d3767af1168f3 -Author: Behdad Esfahbod -Date: Wed May 11 18:14:44 2011 -0400 - - [API] Add hb_*_get_empty() for all objects - - src/hb-buffer.cc | 6 ++++++ - src/hb-buffer.h | 3 +++ - src/hb-font.cc | 18 ++++++++++++++++++ - src/hb-font.h | 9 +++++++++ - src/hb-unicode.cc | 6 ++++++ - src/hb-unicode.h | 3 +++ - test/test-object.c | 36 +++++++++++++++++++++++++++++++++--- - 7 files changed, 78 insertions(+), 3 deletions(-) - -commit d3b30be378c1dec0259a626d9a408bb9ca1b71ac -Author: Behdad Esfahbod -Date: Wed May 11 18:06:12 2011 -0400 - - [API] Add HB_UNTAG() - - Useful in C API only. - - src/hb-common.h | 1 + - 1 file changed, 1 insertion(+) - -commit 3cc6e9dcb42551761c3a1a9d3c25b1f1bcdc2419 -Author: Behdad Esfahbod -Date: Wed May 11 18:02:48 2011 -0400 - - Minor - - src/test.cc | 9 ++++++--- - 1 file changed, 6 insertions(+), 3 deletions(-) - -commit 4101ca7dbbdf1438fa116fb8cad935501ac7cca8 -Author: Behdad Esfahbod -Date: Wed May 11 14:30:56 2011 -0400 - - Plug more leaks - - All good now. - - src/hb-blob.cc | 2 +- - src/hb-open-type-private.hh | 8 ++++---- - 2 files changed, 5 insertions(+), 5 deletions(-) - -commit 6a7ac79e26e85f6781186cf708a12825c0857324 -Author: Behdad Esfahbod -Date: Wed May 11 14:19:18 2011 -0400 - - Plug leaks - - src/hb-ot-map-private.hh | 7 +++++++ - src/hb-ot-shape-private.hh | 2 ++ - src/hb-ot-shape.cc | 2 ++ - src/hb-private.hh | 10 +++++++++- - 4 files changed, 20 insertions(+), 1 deletion(-) - -commit 7aa12ebdff11a4ffbd04bf9b164586eb0c172e37 -Author: Behdad Esfahbod -Date: Wed May 11 11:55:11 2011 -0400 - - [unicode] Simplify method setting - - src/hb-unicode.cc | 6 +----- - test/test-unicode.c | 6 +++++- - 2 files changed, 6 insertions(+), 6 deletions(-) - -commit d5bfd0272130a315d3b5e6cdcf9b7e6395879204 -Author: Behdad Esfahbod -Date: Wed May 11 11:48:28 2011 -0400 - - Minor - - src/Makefile.am | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 6a4e7e1372ef9fde81b84ecc9c4d1f23d97396c1 -Author: Behdad Esfahbod -Date: Wed May 11 10:31:33 2011 -0400 - - Add maxp table - - Not used for anything right now. Will use to get num_glyphs in the future. - - src/Makefile.am | 1 + - src/hb-ot-head-private.hh | 1 - - src/hb-ot-layout.cc | 1 + - src/hb-ot-maxp-private.hh | 68 +++++++++++++++++++++++++++++++++++++++++++++++ - 4 files changed, 70 insertions(+), 1 deletion(-) - -commit e0b0710ae52bcc8c6fbd87dfae83818faa5d5f5f -Author: Behdad Esfahbod -Date: Wed May 11 08:58:21 2011 -0400 - - Minor - - TODO | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit a513dbcf73ab1cc39a7c9653034904d0c6cd9fe9 -Author: Behdad Esfahbod -Date: Wed May 11 00:24:34 2011 -0400 - - [API] Change signature of get_contour_point and get_kerning ffuncs - - get_contour_point now takes glyph id before point_index. - - get_kerning now takes a vector to fill-in. - - src/hb-font.cc | 56 +++++++++++++++++++++------------------- - src/hb-font.h | 16 +++++++----- - src/hb-ft.cc | 11 +++++--- - src/hb-ot-layout-gdef-private.hh | 2 +- - src/hb-ot-layout-gpos-private.hh | 2 +- - src/hb-ot-shape.cc | 15 ++++++++--- - 6 files changed, 59 insertions(+), 43 deletions(-) - -commit 63d646fb2933c2765ce526d321a498d0f7fae2f5 -Author: Behdad Esfahbod -Date: Wed May 11 00:15:37 2011 -0400 - - [font] Do user-space conversion when chaining up to parent font - - src/hb-font-private.hh | 28 ++++++++++++++++++++++++++++ - src/hb-font.cc | 23 +++++++++++++++++------ - 2 files changed, 45 insertions(+), 6 deletions(-) - -commit b6f902a1a9c8b72b5d6a241a14a7bacfaea3a56a -Author: Behdad Esfahbod -Date: Wed May 11 00:04:15 2011 -0400 - - Minor - - src/hb-font-private.hh | 6 +++--- - src/hb-ot-layout-gdef-private.hh | 6 +++--- - src/hb-ot-layout-gpos-private.hh | 20 ++++++++++---------- - 3 files changed, 16 insertions(+), 16 deletions(-) - -commit abcfe9b59b4475eb02dd679aac4bc59616713b28 -Author: Behdad Esfahbod -Date: Wed May 11 00:02:02 2011 -0400 - - Remove hb_ot_layout_context_t, simplify code - - src/hb-font-private.hh | 12 +++- - src/hb-font.cc | 6 +- - src/hb-ot-layout-common-private.hh | 8 +-- - src/hb-ot-layout-gdef-private.hh | 34 +++++----- - src/hb-ot-layout-gpos-private.hh | 121 ++++++++++++++++++----------------- - src/hb-ot-layout-gsub-private.hh | 24 +++---- - src/hb-ot-layout-gsubgpos-private.hh | 11 ++-- - src/hb-ot-layout-private.hh | 13 ---- - src/hb-ot-layout.cc | 15 +---- - 9 files changed, 118 insertions(+), 126 deletions(-) - -commit 1ded6d8bbf93b7dabf2b1f620c07bd3236e7a60f -Author: Behdad Esfahbod -Date: Tue May 10 20:49:02 2011 -0400 - - Make default font-funcs chain-up to the parent - - src/hb-font.cc | 44 +++++++++++++++++++++++++++++++++++++++----- - src/hb-font.h | 41 +++++++++++++++++++++-------------------- - 2 files changed, 60 insertions(+), 25 deletions(-) - -commit b9d975b931d6310f25fab5ac280f523cdc27bf94 -Author: Behdad Esfahbod -Date: Tue May 10 20:41:13 2011 -0400 - - [API] Pass down closure user_data to font funcs - - src/hb-font-private.hh | 30 ++++++-- - src/hb-font.cc | 184 +++++++++++++++++++++++++------------------------ - src/hb-font.h | 42 ++++++----- - src/hb-ft.cc | 103 ++++++++++++++------------- - 4 files changed, 198 insertions(+), 161 deletions(-) - -commit 446df9cdb1fddb51819b731436fca54146d0bb23 -Author: Behdad Esfahbod -Date: Tue May 10 20:14:44 2011 -0400 - - Whitespace - - src/hb-unicode.h | 30 +++++++++++++++--------------- - 1 file changed, 15 insertions(+), 15 deletions(-) - -commit 686c2d165dfb284b74b78f6b902d04b585dcaef3 -Author: Behdad Esfahbod -Date: Tue May 10 20:04:26 2011 -0400 - - [API] Remove font_funcs func getter functions - - src/hb-font.cc | 32 -------------------------------- - src/hb-font.h | 18 ------------------ - 2 files changed, 50 deletions(-) - -commit defc45be6d75aba4a67fa7814b91b73bad953fe6 -Author: Behdad Esfahbod -Date: Tue May 10 20:02:49 2011 -0400 - - [API] Add hb_font_create_sub_font() and hb_font_get_parent() - - Not quite useful just yet. - - src/hb-font-private.hh | 1 + - src/hb-font.cc | 41 ++++++++++++++++++++++++++++++++++++++--- - src/hb-font.h | 5 +++++ - src/hb-unicode.h | 2 +- - 4 files changed, 45 insertions(+), 4 deletions(-) - -commit 11bb8fe7b3925bc9b019ad0c0218a231e581f152 -Author: Behdad Esfahbod -Date: Tue May 10 19:57:00 2011 -0400 - - [font] Fix internal sign of x/y_scale - - Should have been done as part of da975419884a535281745f30f4b32fee0bc8a7a1 - - src/hb-font-private.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 85e6218e3306165d69ef44277459511d5b54b9ff -Author: Behdad Esfahbod -Date: Tue May 10 19:40:44 2011 -0400 - - [API] Remove broken-by-design hb_font_unset_funcs() - - src/hb-font.cc | 22 ---------------------- - src/hb-font.h | 16 ---------------- - 2 files changed, 38 deletions(-) - -commit 74f1d896f2479500d65649cf3ec86dd201f0663a -Author: Behdad Esfahbod -Date: Tue May 10 19:39:32 2011 -0400 - - Add hb_font_make/is_immutable() - - src/hb-font-private.hh | 2 ++ - src/hb-font.cc | 26 +++++++++++++++++++++++--- - src/hb-font.h | 6 ++++++ - test/test-object.c | 2 +- - 4 files changed, 32 insertions(+), 4 deletions(-) - -commit 8c7a100a4d0f3a257fb7563cb08ed4356c3af669 -Author: Behdad Esfahbod -Date: Tue May 10 19:21:07 2011 -0400 - - Fix build without mutex - - src/hb-mutex-private.hh | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - -commit 19d3035c40e73923bcad709dc5eefe31cb34d681 -Author: Behdad Esfahbod -Date: Tue May 10 19:18:12 2011 -0400 - - Remove duplicate atomic_int implementation - - src/hb-mutex-private.hh | 17 ----------------- - 1 file changed, 17 deletions(-) - -commit 45bfa99034512e886d75b1d45a5a649647f4711f -Author: Behdad Esfahbod -Date: Tue May 10 19:12:49 2011 -0400 - - Fix set implementation to be truly threadsafe even with destroy() callbacks - - The test/object test is passing again, instead of deadlocking. - - src/hb-common.cc | 26 +++++------ - src/hb-mutex-private.hh | 47 +++++++------------ - src/hb-object-private.hh | 6 ++- - src/hb-private.hh | 117 ++++++++++++++++++++++++++++++++++++++--------- - 4 files changed, 128 insertions(+), 68 deletions(-) - -commit 0c2ec1d78bfa0166ffd4afc204c2668d4f456ed9 -Author: Behdad Esfahbod -Date: Tue May 10 19:11:27 2011 -0400 - - [test] Always initialize gthread such that our mutex() stuff is tested - - Now the test/object test deadlocks as expected. Fix coming. - - configure.ac | 1 + - test/Makefile.am | 4 ++-- - test/hb-test.h | 1 + - 3 files changed, 4 insertions(+), 2 deletions(-) - -commit 6a9093cc486c1899197cd7cc9a3eb907c2e756f7 -Author: Behdad Esfahbod -Date: Tue May 10 19:00:07 2011 -0400 - - [test/object] Test user_data with destroy() callback that calls user_data - - Exposes the non-atomicity of user_data opertaions at this time because - we call finish() while still locked and modifying the object. In fact, - I'm surprised that it doesn't deadlock. It should. - - test/test-object.c | 22 ++++++++++++++++++++++ - 1 file changed, 22 insertions(+) - -commit abe636b8761e47ea60b193c7e72a044de224d172 -Author: Behdad Esfahbod -Date: Tue May 10 17:55:40 2011 -0400 - - Add DOAP file - - Makefile.am | 6 +++++- - harfbuzz.doap | 24 ++++++++++++++++++++++++ - 2 files changed, 29 insertions(+), 1 deletion(-) - -commit f82c18630471216a04e4e3ad42396da4e6d74cba -Author: Behdad Esfahbod -Date: Tue May 10 17:48:34 2011 -0400 - - [test/blob] Fix bug in test - - test/test-blob.c | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 785d23acd0ce72d399f9c5021bebc854872648af -Author: Behdad Esfahbod -Date: Tue May 10 17:41:44 2011 -0400 - - [test/blob] Add create_sub_blob() - - test/test-blob.c | 17 +++++++++++++++++ - 1 file changed, 17 insertions(+) - -commit 0617b1558234673d3924f37541be01b04d36f05a -Author: Behdad Esfahbod -Date: Tue May 10 17:37:08 2011 -0400 - - [test] Test blob API - - test/Makefile.am | 1 + - test/test-blob.c | 280 +++++++++++++++++++++++++++++++++++++++++++++++++++++ - test/test-buffer.c | 149 ++++++++++++++-------------- - 3 files changed, 359 insertions(+), 71 deletions(-) - -commit 1c9f8717eb12c37c219333cbb0d123e1d2da4896 -Author: Behdad Esfahbod -Date: Fri May 6 22:28:26 2011 -0400 - - [API] Simplify blob API, remove lock - - TODO | 2 - - src/hb-blob.cc | 206 ++++++++++++++++++-------------------------- - src/hb-blob.h | 19 ++-- - src/hb-font.cc | 2 - - src/hb-open-type-private.hh | 32 ++++--- - src/hb-ot-layout.cc | 7 +- - test/test-object.c | 2 +- - 7 files changed, 118 insertions(+), 152 deletions(-) - -commit 71cef14ac3de07e4fed0a2903b1f0f639406ec6c -Author: Behdad Esfahbod -Date: Fri May 6 19:30:59 2011 -0400 - - Add -Bsymbolic-functions to linker flags - - configure.ac | 3 +++ - 1 file changed, 3 insertions(+) - -commit ab428aeab724ca40341318b66640f992cd72d2fc -Author: Behdad Esfahbod -Date: Fri May 6 19:30:46 2011 -0400 - - [TODO] Update - - TODO | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit a0f337a1cce1788dbf3147b459e7f615acbfe81b -Author: Behdad Esfahbod -Date: Fri May 6 19:20:52 2011 -0400 - - Remove unused hb_blob_try_writable_inplace() - - src/hb-blob.cc | 20 -------------------- - src/hb-blob.h | 3 --- - 2 files changed, 23 deletions(-) - -commit 08611d5194144bbf5d96a1110aeb812db06e0901 -Author: Behdad Esfahbod -Date: Fri May 6 16:28:10 2011 -0400 - - Add note re deadlocks - - src/hb-common.cc | 1 + - src/hb-mutex-private.hh | 4 ++++ - 2 files changed, 5 insertions(+) - -commit 34fb5521a5fbb6b95ceff4bbac42a62628bc9f31 -Author: Behdad Esfahbod -Date: Fri May 6 00:04:28 2011 -0400 - - [API] Add hb_language_get_default() - - It uses locale information to detect default language. It's used by - hb_shape() whenever language is not set on the buffer. - - Not sure how to properly test it in the test suite. Tested by observing - that with DejaVu Sans we select the proper local glyph version for U+431 - under Serbian locale. See http://www.pango.org/ScriptGallery - - src/hb-common.cc | 21 +++++++++++++++++++++ - src/hb-common.h | 3 +++ - src/hb-shape.cc | 2 +- - test/test-common.c | 5 +++++ - 4 files changed, 30 insertions(+), 1 deletion(-) - -commit c78f4485587cc1dee07e772c164a13fde9d2859f -Author: Behdad Esfahbod -Date: Thu May 5 21:31:04 2011 -0400 - - [API] Add version macros and functions - - Step version up to 0.5.0. - - Also, fix to pass "make distcheck" - - configure.ac | 24 ++++++++++++----- - src/Makefile.am | 9 +++++++ - src/check-c-linkage-decls.sh | 2 +- - src/hb-common.cc | 29 +++++++++++++++++++++ - src/hb-version.h.in | 62 ++++++++++++++++++++++++++++++++++++++++++++ - src/hb.h | 1 + - test/Makefile.am | 2 ++ - 7 files changed, 122 insertions(+), 7 deletions(-) - -commit 9ff819f6571fd0d570f271162d7a30d97ee64148 -Author: Behdad Esfahbod -Date: Thu May 5 19:47:59 2011 -0400 - - Add disable-static libtool flag - - No one who builds harfbuzz static uses the autotools build system to do it. - - configure.ac | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 7ca7571ef91754274f6c84bbf988962d74a74098 -Author: Behdad Esfahbod -Date: Thu May 5 19:47:12 2011 -0400 - - Remove win32-dll libtool flag - - Since we're not win32-dll clean the way libtool docs define it. - - configure.ac | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 174e3fe89b72729c9c34c647544a2dc1bf63cd84 -Author: Behdad Esfahbod -Date: Thu May 5 19:37:53 2011 -0400 - - Add AC_CANONICAL_HOST - - configure.ac | 10 ++++++++++ - 1 file changed, 10 insertions(+) - -commit e6a5b88c01420366a70e0c9ae1775fb3c930cb8b -Author: Behdad Esfahbod -Date: Thu May 5 16:24:42 2011 -0400 - - Fix build with older glib - - configure.ac | 2 +- - test/hb-test.h | 55 +++++++++++++++++++++++++++++++++---------------------- - 2 files changed, 34 insertions(+), 23 deletions(-) - -commit 3935af1c0d0f53a5fd6054e1ee219f3adda42dca -Author: Behdad Esfahbod -Date: Thu May 5 16:09:45 2011 -0400 - - [buffer] Remove wrong optimization - - While the cluster fields of the glyph string are usually sorted, they - wouldn't be in special cases (for example for non-native direction). - Blindly using bsearch is plain wrong. If we want to reintroduce this - optimization we have to make sure we know the buffer clusters are - monotonic and in which direction. Not sure it's worth it though. - - src/hb-buffer.cc | 16 +++------------- - 1 file changed, 3 insertions(+), 13 deletions(-) - -commit 46df6828513d56cd60467e36cbe45aa06648f488 -Author: Behdad Esfahbod -Date: Thu May 5 15:33:19 2011 -0400 - - Make user_data access threadsafe - - For now, by taking a global user_data mutex. - - src/hb-common.cc | 25 +++++++++++++++++++++++-- - src/hb-object-private.hh | 2 -- - 2 files changed, 23 insertions(+), 4 deletions(-) - -commit 218e67b9eefa26e2e4fe43f99a84d082b185b1b0 -Author: Behdad Esfahbod -Date: Thu May 5 15:28:37 2011 -0400 - - Shrink code - - src/hb-common.cc | 26 ++++++++++++++++++++++++++ - src/hb-object-private.hh | 21 ++++----------------- - 2 files changed, 30 insertions(+), 17 deletions(-) - -commit b8d6183ebc4697a434776cf2aec7857d63a7d881 -Author: Behdad Esfahbod -Date: Thu May 5 15:14:04 2011 -0400 - - Use threadsafe set implementation for hb_language lookups - - Note that the static variable has to be a global static, as gcc - implements local statics differently and that would require linking - to libstdc++, which we don't want. - - src/hb-common.cc | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -commit d37486d87b65c5abaaa2998fa5c9e48eedde0933 -Author: Behdad Esfahbod -Date: Thu May 5 15:07:54 2011 -0400 - - Add hb_threadsafe_set_t - - src/hb-mutex-private.hh | 54 +++++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-private.hh | 3 +-- - 2 files changed, 55 insertions(+), 2 deletions(-) - -commit b45f32ee4e599c515ce93e44315283d236b073bb -Author: Behdad Esfahbod -Date: Thu May 5 15:00:43 2011 -0400 - - Use hb_array_t for hb_language_t mapping - - src/hb-common.cc | 48 ++++++++++++++++++++++-------------------------- - src/hb-object-private.hh | 4 ++-- - src/hb-private.hh | 19 +++++++++++++++---- - 3 files changed, 39 insertions(+), 32 deletions(-) - -commit 21d2c92fdf7307c7117f8948021f0dd7d5a5d2a3 -Author: Behdad Esfahbod -Date: Thu May 5 14:47:53 2011 -0400 - - Move code around - - src/hb-object-private.hh | 28 ++++++++++++++-------------- - 1 file changed, 14 insertions(+), 14 deletions(-) - -commit 448ea9bf63104d39f87fff66219034222fa632b8 -Author: Behdad Esfahbod -Date: Thu May 5 14:39:24 2011 -0400 - - [TODO] Remove done items - - TODO | 9 --------- - 1 file changed, 9 deletions(-) - -commit 265ac614ea6d26041c7d64739098b76a82bbc4f4 -Author: Behdad Esfahbod -Date: Thu May 5 14:38:16 2011 -0400 - - Replace fixed-size lookup_maps array with hb_array_t - - src/hb-ot-map-private.hh | 13 +++++-------- - src/hb-ot-map.cc | 47 +++++++++++++++++++++++++---------------------- - src/hb-private.hh | 6 ++---- - 3 files changed, 32 insertions(+), 34 deletions(-) - -commit 6843569d2c70c1771ce964e3d1a4cf91e14e7687 -Author: Behdad Esfahbod -Date: Thu May 5 14:12:37 2011 -0400 - - Replace fixed-size feature_maps array with hb_array_t - - src/hb-ot-map-private.hh | 10 +++------- - src/hb-ot-map.cc | 12 ++++++------ - src/hb-ot-shape.cc | 2 +- - src/hb-private.hh | 42 +++++++++++++++++++++++++++++------------- - 4 files changed, 39 insertions(+), 27 deletions(-) - -commit 44b0a4d2fc62689fc56ef57f412b4bb1e439a614 -Author: Behdad Esfahbod -Date: Thu May 5 13:42:19 2011 -0400 - - Replace fixed-size feature_infos array with hb_array_t - - src/hb-ot-map-private.hh | 9 +++++---- - src/hb-ot-map.cc | 9 +++++---- - src/hb-private.hh | 12 ++++++++++++ - 3 files changed, 22 insertions(+), 8 deletions(-) - -commit b214ec3ac0ce6568e9226fd09661d52de11dca96 -Author: Behdad Esfahbod -Date: Thu May 5 13:24:07 2011 -0400 - - Minor - - src/hb-private.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 811482bd650fb5652a9835471ae8ecf0fb185611 -Author: Behdad Esfahbod -Date: Thu May 5 13:21:04 2011 -0400 - - Replace hb_map_t with hb_set_t which is more intuitive and flexible - - src/hb-object-private.hh | 24 ++++++++++++++---------- - src/hb-private.hh | 44 +++++++++++++++++--------------------------- - test/test-object.c | 4 ++++ - 3 files changed, 35 insertions(+), 37 deletions(-) - -commit 478a42536ff7ab777a7774fbfdb9c5e51334a14e -Author: Behdad Esfahbod -Date: Thu May 5 12:39:51 2011 -0400 - - Make array/map implementation more generic - - src/hb-object-private.hh | 2 ++ - src/hb-private.hh | 13 +++++++------ - 2 files changed, 9 insertions(+), 6 deletions(-) - -commit b81bd42951e1ce1569b29168015d3c5a2dacf773 -Author: Behdad Esfahbod -Date: Thu May 5 00:21:16 2011 -0400 - - Make hb_mutex_*() macros take a pointer - - More intuitive. - - src/hb-blob.cc | 28 ++++++++++++++-------------- - src/hb-mutex-private.hh | 32 ++++++++++++++++---------------- - 2 files changed, 30 insertions(+), 30 deletions(-) - -commit a4b1900913c91aa9db74c4fdfa7c691a5cdf02a8 -Author: Behdad Esfahbod -Date: Thu May 5 00:17:43 2011 -0400 - - Add hb_static_mutex_t - - src/hb-mutex-private.hh | 8 ++++++++ - 1 file changed, 8 insertions(+) - -commit 56eb5ad6f94c32189ad219438db9a18683ca6846 -Author: Behdad Esfahbod -Date: Wed May 4 19:27:37 2011 -0400 - - Move code around - - Mutex (and Windows.h by extension) are fairly isolated now. - - src/Makefile.am | 8 ++-- - src/hb-blob-private.hh | 60 --------------------------- - src/hb-blob.cc | 24 ++++++++++- - src/hb-font-private.hh | 3 -- - src/hb-font.cc | 12 +++--- - src/hb-mutex-private.hh | 105 +++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-object-private.hh | 33 ++------------- - src/hb-unicode.cc | 1 - - 8 files changed, 141 insertions(+), 105 deletions(-) - -commit d292885893395dcb345dce1010e5c8628a715ef4 -Author: Behdad Esfahbod -Date: Tue May 3 01:03:53 2011 -0400 - - [ft] Fix font->face handling - - Don't use _cached() - - src/hb-ft.cc | 7 +++++-- - 1 file changed, 5 insertions(+), 2 deletions(-) - -commit 2000179487b49e0d504ec127450dc6fcb5568cec -Author: Behdad Esfahbod -Date: Tue May 3 00:49:06 2011 -0400 - - Move Win32 thread-safety stuff to hb-object-private.h - - The Win32 definitions for LONG, ULONG, etc conflicts with - hb-open-type.h. Avoid that by making sure hb-object-private.h - and hb-open-type.h are not included in the same compilation unit. - - src/hb-common.cc | 54 --------------------------------------- - src/hb-object-private.hh | 66 ++++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-private.hh | 66 ------------------------------------------------ - 3 files changed, 66 insertions(+), 120 deletions(-) - -commit 266b34418c9bbe23ccaf29cb354b58c465fa3b22 -Author: Behdad Esfahbod -Date: Tue May 3 00:35:53 2011 -0400 - - Refactor to keep hb-object-private.h and hb-open-type.h separate - - Needed to be able to include from hb-object-private.h. - - src/hb-font.cc | 19 ++++---------- - src/hb-ot-layout-private.hh | 60 +++++++++++++++++++++++++-------------------- - src/hb-ot-layout.cc | 28 ++++++++++++++++++--- - 3 files changed, 63 insertions(+), 44 deletions(-) - -commit d4141a44b97377a65e6d2a3e03b3709307af38c1 -Author: Behdad Esfahbod -Date: Tue May 3 00:19:18 2011 -0400 - - [blob] Implement sub_blob() in terms of create() - - Fixes problem with uninitialized sub_blob->mutex among other things. - - Reported by Bradley Grainger. - - src/hb-blob.cc | 12 +++++------- - 1 file changed, 5 insertions(+), 7 deletions(-) - -commit fc52e9e44c2fe84d63f18dc0098720830f0b467d -Author: Behdad Esfahbod -Date: Tue May 3 00:09:16 2011 -0400 - - Implement win32 thread-safety stuff - - Patch from Bradley Grainger. - - src/hb-common.cc | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-private.hh | 30 +++++++++++++++++++++++++----- - 2 files changed, 79 insertions(+), 5 deletions(-) - -commit f55272ecde857c116f97a3195f3abd1df3be4b86 -Author: Behdad Esfahbod -Date: Mon May 2 20:57:28 2011 -0400 - - Add hb_mutex_free() and use it - - Based on patch by Bradley Grainger. - - src/hb-blob.cc | 1 + - src/hb-private.hh | 16 +++++++++------- - 2 files changed, 10 insertions(+), 7 deletions(-) - -commit 8d5186484b28b5f629b523e067d7d5166eec557a -Author: Behdad Esfahbod -Date: Mon May 2 20:52:21 2011 -0400 - - Cosmetic - - src/hb-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 72657e4ce757dcb055a8db7291b68f96f0d34bfb -Author: Behdad Esfahbod -Date: Mon May 2 20:46:32 2011 -0400 - - [API] Make hb_font_create() take a face and reference it - - src/hb-font-private.hh | 2 ++ - src/hb-font.cc | 42 +++++++++++++++++++++++++--------------- - src/hb-font.h | 26 ++++++++++++++----------- - src/hb-ft.cc | 7 +------ - src/hb-ot-layout-gdef-private.hh | 2 +- - src/hb-ot-layout-gpos-private.hh | 2 +- - src/hb-ot-layout.cc | 10 ++++------ - src/hb-ot-layout.h | 2 -- - src/hb-ot-map-private.hh | 2 +- - src/hb-ot-shape.cc | 23 +++++++++++----------- - src/hb-ot-shape.h | 1 - - src/hb-shape.cc | 18 ++--------------- - src/hb-shape.h | 1 - - src/hb-view.cc | 4 +--- - test/test-object.c | 7 +++++-- - 15 files changed, 70 insertions(+), 79 deletions(-) - -commit cec6611c5ce84d69d910bf7e9ec1fdd594398f9f -Author: Behdad Esfahbod -Date: Mon May 2 20:18:58 2011 -0400 - - Protect NULL in a couple places - - src/hb-font.cc | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 5a5030366e40baa8d96ca67b47a52ad5af143157 -Author: Behdad Esfahbod -Date: Mon May 2 19:54:29 2011 -0400 - - Fix bug in array growth implementation - - With this, test/object is now passing. Yay! - - src/hb-private.hh | 24 +++++++++++------------- - 1 file changed, 11 insertions(+), 13 deletions(-) - -commit 16123e10700436df18d14e37371bb621b31ea5d1 -Author: Behdad Esfahbod -Date: Mon May 2 19:54:17 2011 -0400 - - Fix bug in map implementation - - src/hb-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 1cd5969f253528b1fc05a06c7a9f222baa29f68d -Author: Behdad Esfahbod -Date: Mon May 2 19:53:39 2011 -0400 - - [object] Fix bug in get_user_data() implementation - - src/hb-object-private.hh | 7 ++++--- - 1 file changed, 4 insertions(+), 3 deletions(-) - -commit db99589529a22a2113bcef1680ab6d9b934f382e -Author: Behdad Esfahbod -Date: Mon May 2 19:52:47 2011 -0400 - - [test/object] Add test for object lifecycle stuff - - Revealed many bugs in the (untested and known buggy) user_data - support. - - test/Makefile.am | 4 + - test/test-object.c | 316 +++++++++++++++++++++++++++++++++++++++++++++++++++++ - 2 files changed, 320 insertions(+) - -commit f74d6c81f14f117b3cecfb65f0d5df22849c9a07 -Author: Behdad Esfahbod -Date: Mon May 2 19:52:32 2011 -0400 - - Cosmetic - - test/test-unicode.c | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -commit 4911062d5be0d937ee8f1a70cc93e05d162f45b3 -Author: Behdad Esfahbod -Date: Mon May 2 19:36:39 2011 -0400 - - [API] Rename hb_blob_create_empty() to hb_blob_get_empty() - - src/hb-blob.cc | 2 +- - src/hb-blob.h | 2 +- - src/hb-font.cc | 2 +- - src/hb-open-type-private.hh | 2 +- - 4 files changed, 4 insertions(+), 4 deletions(-) - -commit 1ab1d3e38cdf8e7331efdbc4ef0c02ee9d5c8c04 -Author: Behdad Esfahbod -Date: Mon May 2 19:35:53 2011 -0400 - - [face] Return nil face if blob is inert - - src/hb-font.cc | 3 +++ - 1 file changed, 3 insertions(+) - -commit e87867cb88280e3f3a38d829e359cb686168b2cb -Author: Behdad Esfahbod -Date: Mon May 2 19:35:05 2011 -0400 - - [buffer] Fail in _create() if we cannot pre-allocate the requested size - - src/hb-buffer.cc | 8 +++++--- - 1 file changed, 5 insertions(+), 3 deletions(-) - -commit cd361ec9a1b2bfc271e5490dbfc0a870fd5c439a -Author: Behdad Esfahbod -Date: Mon May 2 16:54:05 2011 -0400 - - Cosmetic - - test/test-unicode.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit c784c67a28f5b92d396eaa9529d57ef91a5cb9ac -Author: Behdad Esfahbod -Date: Mon May 2 15:59:57 2011 -0400 - - [unicode] Make _get_parent() return _nil object instead of NULL - - src/hb-unicode.cc | 29 ++++++++++++----------------- - test/test-unicode.c | 2 +- - 2 files changed, 13 insertions(+), 18 deletions(-) - -commit 07e22779abd089d5921bf2d19d4a3bf1bd0173c6 -Author: Behdad Esfahbod -Date: Mon May 2 14:58:04 2011 -0400 - - [test/unicode] Add script roundtrip tests for glib and ICU - - test/test-unicode.c | 70 ++++++++++++++++++++++++++++++++++++++++++++++++----- - 1 file changed, 64 insertions(+), 6 deletions(-) - -commit 7cda65935c73c277550f6ac12f6730e96d4852a7 -Author: Behdad Esfahbod -Date: Mon May 2 14:33:53 2011 -0400 - - [test/unicode] Better test chainup - - test/test-unicode.c | 54 ++++++++++++++++++++++++++++++++++++++++++++++++----- - 1 file changed, 49 insertions(+), 5 deletions(-) - -commit 250c59225ead28449deb11522dee3819480a19b4 -Author: Behdad Esfahbod -Date: Mon May 2 14:21:30 2011 -0400 - - [test/unicode] Port the _custom test to test all property setters - - test/test-unicode.c | 186 +++++++++++++++++++++++++++++----------------------- - 1 file changed, 104 insertions(+), 82 deletions(-) - -commit e74b5b339ab0af53d893ec84a0955d5aa508fed3 -Author: Behdad Esfahbod -Date: Mon May 2 14:03:55 2011 -0400 - - [test/unicode] Test Unicode 5.2+ but don't fail - - test/test-unicode.c | 21 +++++++++++++++++++-- - 1 file changed, 19 insertions(+), 2 deletions(-) - -commit c763aa42b46eaee95359806cab56fa632ff3ad58 -Author: Behdad Esfahbod -Date: Mon May 2 13:52:17 2011 -0400 - - [test/buffer] Clean up testing - - Getting the hang of how to cleanly use gtest. - - test/test-buffer.c | 154 +++++++++++++++++++++++++++++------------------------ - 1 file changed, 85 insertions(+), 69 deletions(-) - -commit 819e9d9e5310e67e8dcce9fa885f8a086a9b9ee8 -Author: Behdad Esfahbod -Date: Mon May 2 12:38:54 2011 -0400 - - Minor - - test/test-unicode.c | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -commit 03034acb8a9fdd33135bc3775a1f932da9ebdd42 -Author: Behdad Esfahbod -Date: Mon May 2 12:37:45 2011 -0400 - - [icu] Make sure we return script UNKNOWN instead of INVALID - - src/hb-icu.cc | 3 +++ - 1 file changed, 3 insertions(+) - -commit d02985ec5a24c659a0a133cc6bc103f1d76bcb29 -Author: Behdad Esfahbod -Date: Mon May 2 12:35:14 2011 -0400 - - ISO 15924 fixes - - Update to http://unicode.org/iso15924 - - Fixes some of the test failures in test-unicode with ICU. Still - one more to fix before the test passes. - - src/hb-common.cc | 10 ++++++++-- - src/hb-common.h | 5 +++-- - src/hb-ot-tag.cc | 2 -- - 3 files changed, 11 insertions(+), 6 deletions(-) - -commit e8e29c725a72c2e991cd1c4422a020457e1684e9 -Author: Behdad Esfahbod -Date: Mon May 2 12:06:18 2011 -0400 - - [test/unicode] Add log messages - - Use with --verbose to see what's failing - - test/test-unicode.c | 9 ++++++--- - 1 file changed, 6 insertions(+), 3 deletions(-) - -commit 208c2c31501f6eb2b81b6bf80fcf39f4646eb38b -Author: Behdad Esfahbod -Date: Sun May 1 20:04:01 2011 -0400 - - Minor - - test/test-unicode.c | 478 ++++++++++++++++++++++++++-------------------------- - 1 file changed, 243 insertions(+), 235 deletions(-) - -commit 60833efaf1310c3f18e150b61daaeb0074ae3d91 -Author: Behdad Esfahbod -Date: Fri Apr 29 16:49:57 2011 -0400 - - [test/unicode] Add testing of all unicode properties - - ICU fails for now. - - test/hb-test.h | 4 +- - test/test-unicode.c | 432 +++++++++++++++++++++++++++++++++++++++++++++++++--- - 2 files changed, 416 insertions(+), 20 deletions(-) - -commit da96ee072fa3544c3d36cf0b82ada11806789d70 -Author: Behdad Esfahbod -Date: Fri Apr 29 12:17:09 2011 -0400 - - [test/unicode] Test is/make_immutable() - - test/test-unicode.c | 46 ++++++++++++++++++++++++++++++---------------- - 1 file changed, 30 insertions(+), 16 deletions(-) - -commit 6af9cff5e17e82100b435c8d21aed0765296d58d -Author: Behdad Esfahbod -Date: Fri Apr 29 12:00:38 2011 -0400 - - [test/unicode] Use text fixture instead of static variables - - src/hb-unicode-private.hh | 2 +- - src/hb-unicode.h | 2 +- - test/test-buffer.c | 2 +- - test/test-c.c | 1 + - test/test-common.c | 3 +- - test/test-cplusplus.cc | 1 + - test/test-unicode.c | 112 +++++++++++++++++++++++++++------------------- - 7 files changed, 74 insertions(+), 49 deletions(-) - -commit 13db3d40bfc09c68f9761a71435b1840b9d34099 -Author: Behdad Esfahbod -Date: Thu Apr 28 19:44:45 2011 -0400 - - [test/buffer] Add UTF-16 tests - - test/test-buffer.c | 48 ++++++++++++++++++++++++++++++++++++++++++++++-- - 1 file changed, 46 insertions(+), 2 deletions(-) - -commit 243673d601588a6f704ceafbff5dd5cdf66c47b7 -Author: Behdad Esfahbod -Date: Thu Apr 28 19:37:51 2011 -0400 - - [test/buffer] Add more extensive UTF-8 test data from glib - - src/hb-buffer.cc | 2 +- - test/test-buffer.c | 317 ++++++++++++++++++++++++++++++++++++++++++++++++++--- - 2 files changed, 303 insertions(+), 16 deletions(-) - -commit dfec67f958482e5c3bb01e06b08694cd4ded6f66 -Author: Behdad Esfahbod -Date: Thu Apr 28 18:34:42 2011 -0400 - - [test/buffer] Add initial utf-8 tests - - test/hb-test.h | 25 ++++++++++++++++++++++++- - test/test-buffer.c | 46 +++++++++++++++++++++++++++++++++++++++++++++- - 2 files changed, 69 insertions(+), 2 deletions(-) - -commit aafe395ab550d3ba2fabc69155662e87d45e74a8 -Author: Behdad Esfahbod -Date: Thu Apr 28 17:10:44 2011 -0400 - - Add test suite infrastructure - - Wraps around glib for convenience and ease of use. - - test/Makefile.am | 1 + - test/hb-test.h | 132 ++++++++++++++++++++++++++++++++++++++++++++++++---- - test/test-buffer.c | 29 ++++++------ - test/test-common.c | 14 +++--- - test/test-unicode.c | 32 ++++++------- - 5 files changed, 160 insertions(+), 48 deletions(-) - -commit c7ffe2ad5f6e97e26d14e2cc0d4098af8f5f36d0 -Author: Behdad Esfahbod -Date: Thu Apr 28 16:03:29 2011 -0400 - - [API Remove hb_font_funcs_copy() - - Will be adding font_funcs subclassing instead. - - src/hb-font.cc | 13 ------------- - src/hb-font.h | 3 --- - 2 files changed, 16 deletions(-) - -commit 30f34d08d445722320db711c3ddf41e66225752c -Author: Behdad Esfahbod -Date: Thu Apr 28 16:02:40 2011 -0400 - - [TODO] Remove finished items - - TODO | 2 -- - src/hb-font.h | 10 ---------- - 2 files changed, 12 deletions(-) - -commit 080a0eb7d82d7195be72c16ece6e0a3ffed636b6 -Author: Behdad Esfahbod -Date: Thu Apr 28 16:01:01 2011 -0400 - - Add _hb_unsigned_int_mul_overflows - - src/hb-buffer.cc | 7 ++----- - src/hb-open-type-private.hh | 2 +- - src/hb-ot-layout-gsub-private.hh | 2 +- - src/hb-private.hh | 9 ++++++++- - 4 files changed, 12 insertions(+), 8 deletions(-) - -commit 1d39d6e42b3d7628512d675a84a831a0f58624eb -Author: Behdad Esfahbod -Date: Thu Apr 28 15:54:16 2011 -0400 - - Desable possibly lethal test on 64-bit machines - - test/test-buffer.c | 9 ++++++--- - 1 file changed, 6 insertions(+), 3 deletions(-) - -commit 3264042873fd639f3ef8ff0acfad777a0a9f3355 -Author: Behdad Esfahbod -Date: Thu Apr 28 14:24:16 2011 -0400 - - [test/buffer] Test pre_allocate() and allocation_successful() - - src/hb-buffer.cc | 3 ++- - test/test-buffer.c | 26 +++++++++++++++++++++++++- - 2 files changed, 27 insertions(+), 2 deletions(-) - -commit 123aa04f7b3241d6e43de2d472c4a1cbdb250ac7 -Author: Behdad Esfahbod -Date: Thu Apr 28 12:58:28 2011 -0400 - - Fix possible but improbable overflow in hb_array_t - - src/hb-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit e0db4b868f9fdd8e680890f87dd4e13a1c27b7a1 -Author: Behdad Esfahbod -Date: Thu Apr 28 12:56:49 2011 -0400 - - [buffer] More error handling - - Should be all set now. - - src/hb-buffer-private.hh | 2 +- - src/hb-buffer.cc | 60 +++++++++++++++++++++++++++++++++--------------- - 2 files changed, 43 insertions(+), 19 deletions(-) - -commit 15c57e04bf05026ef424f8ae912d2f379301bf93 -Author: Behdad Esfahbod -Date: Thu Apr 28 12:28:54 2011 -0400 - - [test/buffer] Add test pre_alloc(); hangs in the buffer code right now - - Because the following loop overflows: - - while (size > new_allocated) - new_allocated += (new_allocated >> 1) + 32; - - test/test-buffer.c | 33 ++++++++++++++++++++++++++------- - 1 file changed, 26 insertions(+), 7 deletions(-) - -commit 1e5527e2d60ed3b4a5adf62b258415ec3aef41fb -Author: Behdad Esfahbod -Date: Thu Apr 28 12:15:24 2011 -0400 - - [test/buffer] Test reset(), set_length(), and set/get_unicode_data() - - test/test-buffer.c | 66 ++++++++++++++++++++++++++++++++++++++++++++++++------ - 1 file changed, 59 insertions(+), 7 deletions(-) - -commit db126b5448ec802285cf2b6f0e7da412d02dfb28 -Author: Behdad Esfahbod -Date: Thu Apr 28 11:56:29 2011 -0400 - - [test/buffer] Test reverse() and reverse_clusters() - - test/test-buffer.c | 61 ++++++++++++++++++++++++++++++++++++++++++++++++++---- - 1 file changed, 57 insertions(+), 4 deletions(-) - -commit 5fa849b77d49da2212825ebb1bea9145713b8449 -Author: Behdad Esfahbod -Date: Wed Apr 27 21:46:01 2011 -0400 - - [API] Add _set/get_user_data() for all objects - - src/hb-blob.cc | 17 +++++++++++++++++ - src/hb-blob.h | 12 ++++++++++++ - src/hb-buffer.cc | 16 ++++++++++++++++ - src/hb-buffer.h | 10 ++++++++++ - src/hb-font.cc | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-font.h | 36 ++++++++++++++++++++++++++++++++++++ - src/hb-unicode.cc | 17 +++++++++++++++++ - src/hb-unicode.h | 12 ++++++++++++ - 8 files changed, 171 insertions(+) - -commit 852e08ec8fbfbce1d50e571d0bb0b52ef4d4cc58 -Author: Behdad Esfahbod -Date: Wed Apr 27 21:45:51 2011 -0400 - - Move code around - - src/hb-object-private.hh | 153 ++++++++++------------------------------------- - src/hb-private.hh | 136 +++++++++++++++++++++++++++++++++++++---- - 2 files changed, 157 insertions(+), 132 deletions(-) - -commit 29c67d3f70b081766a6c01353980f457f38aeb12 -Author: Behdad Esfahbod -Date: Wed Apr 27 21:22:32 2011 -0400 - - Add initial implementation of user_data to objects - - src/hb-common.h | 11 ++- - src/hb-object-private.hh | 186 ++++++++++++++++++++++++++++++++++++++++++++++- - 2 files changed, 193 insertions(+), 4 deletions(-) - -commit 47e71d9661946a4ffb96026bf1d697d788414ab5 -Author: Behdad Esfahbod -Date: Wed Apr 27 16:38:03 2011 -0400 - - [object] Remove unnecessary use of macros - - TODO | 2 -- - src/hb-blob.cc | 18 +++++++++--------- - src/hb-buffer.cc | 6 +++--- - src/hb-font.cc | 30 +++++++++++++++--------------- - src/hb-object-private.hh | 9 --------- - src/hb-unicode.cc | 8 ++++---- - 6 files changed, 31 insertions(+), 42 deletions(-) - -commit 8be1420f8fd0e5c53282245d6830efbee5c7409d -Author: Behdad Esfahbod -Date: Wed Apr 27 16:14:04 2011 -0400 - - [blob] Use HB_FUNC instead of __FUNCTION__ - - src/hb-blob.cc | 24 ++++++++++++------------ - 1 file changed, 12 insertions(+), 12 deletions(-) - -commit ae008b90cfc2028e878100f78b21d70f923a6044 -Author: Behdad Esfahbod -Date: Wed Apr 27 16:12:12 2011 -0400 - - [object] Add tracing support back in - - src/hb-object-private.hh | 38 ++++++++++++++++++++++++++------------ - 1 file changed, 26 insertions(+), 12 deletions(-) - -commit 5b7f38979fa90117861fe327477de1707f117a8c -Author: Behdad Esfahbod -Date: Wed Apr 27 15:10:12 2011 -0400 - - GNOME Bug 612402 - (hb-arm) HarfBuzz compilation fix for arm - - With gcc on arm, request 8-bit structure alignment. - - configure.ac | 10 +++++++++- - 1 file changed, 9 insertions(+), 1 deletion(-) - -commit 39a840ae65327b173e6eb1bb291e235a8305d7a1 -Author: Behdad Esfahbod -Date: Wed Apr 27 14:48:19 2011 -0400 - - [API] Add hb_direction_from/to_string() - - And hb-view --direction argument. - - TODO | 1 - - src/hb-common.cc | 36 ++++++++++++++++++++++++++++++++++++ - src/hb-common.h | 6 ++++++ - src/hb-view.cc | 13 ++++++++++--- - test/test-common.c | 21 ++++++++++++++++++++- - 5 files changed, 72 insertions(+), 5 deletions(-) - -commit f1425a549fef360c3750532de23604cd318999d8 -Author: Behdad Esfahbod -Date: Wed Apr 27 12:15:06 2011 -0400 - - Rename hb-view.c and test.c to .cc files - - src/Makefile.am | 4 ++-- - src/{hb-view.c => hb-view.cc} | 2 +- - src/{test.c => test.cc} | 5 ++++- - 3 files changed, 7 insertions(+), 4 deletions(-) - -commit eb5796f58897ecfb9d76fd99915bf1a30669a0fa -Author: Behdad Esfahbod -Date: Wed Apr 27 12:14:53 2011 -0400 - - [TODO] Add hb-view items - - TODO | 10 ++++++++++ - 1 file changed, 10 insertions(+) - -commit 65e0063eae2f3adb25315b8bd7b0e7757aa960f3 -Author: Behdad Esfahbod -Date: Wed Apr 27 09:33:58 2011 -0400 - - Make buffer size growth start from 32 instead of 8 - - src/hb-buffer.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit d4bee9f813bb299b1c4aab7c33d588be2a7d354b -Author: Behdad Esfahbod -Date: Wed Apr 27 09:24:37 2011 -0400 - - [API] Add hb_unicode_funcs_get_default() - - src/hb-buffer.cc | 4 ++-- - src/hb-glib.cc | 5 +++-- - src/hb-icu.cc | 5 +++-- - src/hb-unicode-private.hh | 11 +++++++++++ - src/hb-unicode.cc | 7 +++++++ - src/hb-unicode.h | 8 ++++++++ - src/hb-view.c | 13 ++++++------- - test/test-unicode.c | 11 ++++++++++- - 8 files changed, 50 insertions(+), 14 deletions(-) - -commit 153142dac8dd9abaf164bb88af07c600c17fc3a1 -Author: Behdad Esfahbod -Date: Wed Apr 27 01:49:03 2011 -0400 - - Replace simple macros with inline functions for better type safety - - Now that we use C++ for all source code, lets benefit from it! - - The hb_be_int16/32_get/put/eq() macros grow code size if replaced with - inline functions, so leave them as is. - - src/hb-open-type-private.hh | 4 ++-- - src/hb-private.hh | 30 +++++++++++++++++++++--------- - 2 files changed, 23 insertions(+), 11 deletions(-) - -commit 40a9b8154f929947f4693bf90c64301afa407c3f -Author: Behdad Esfahbod -Date: Wed Apr 27 01:48:56 2011 -0400 - - Add TODO item - - src/hb-object-private.hh | 1 + - 1 file changed, 1 insertion(+) - -commit ebdc83467c31574daa118fc18cd2ef2dc819b503 -Author: Behdad Esfahbod -Date: Wed Apr 27 01:41:24 2011 -0400 - - Don't return in void function - - Would have been nice if gcc had warned... - - src/hb-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit ec6f9c2fd03a49d1e91cbaefa5bdbbfb35dff92e -Author: Behdad Esfahbod -Date: Thu Apr 21 18:35:58 2011 -0400 - - Further simplify object handling - - src/hb-object-private.hh | 53 ++++++++++++++++++++++++------------------------ - 1 file changed, 27 insertions(+), 26 deletions(-) - -commit fca368c4682624346a0aaee690e1ad6ed4c0b337 -Author: Behdad Esfahbod -Date: Thu Apr 21 18:24:02 2011 -0400 - - Add hb_object_header_t which is the common part of all objects - - Makes way for adding arbitrary user_data support. - - src/hb-blob-private.hh | 3 +- - src/hb-blob.cc | 2 +- - src/hb-buffer-private.hh | 9 +++-- - src/hb-buffer.cc | 2 +- - src/hb-font-private.hh | 7 ++-- - src/hb-font.cc | 7 ++-- - src/hb-ft.cc | 3 +- - src/hb-glib.cc | 3 +- - src/hb-icu.cc | 3 +- - src/hb-object-private.hh | 95 ++++++++++++++++++++++++++--------------------- - src/hb-private.hh | 5 +-- - src/hb-unicode-private.hh | 6 ++- - src/hb-unicode.cc | 3 +- - 13 files changed, 82 insertions(+), 66 deletions(-) - -commit a9f24c802956d57180d71b83e96a0fb81197df4a -Author: Behdad Esfahbod -Date: Thu Apr 21 17:18:22 2011 -0400 - - Move hb_reference_count_t to hb-private.h - - src/hb-object-private.hh | 17 ----------------- - src/hb-private.hh | 20 ++++++++++++++++++++ - 2 files changed, 20 insertions(+), 17 deletions(-) - -commit 2409d5f8d7dd8b535ce5ea29e933f7db27d33793 -Author: Behdad Esfahbod -Date: Thu Apr 21 17:14:28 2011 -0400 - - Update Copyright headers - - COPYING | 15 ++++++++------- - src/hb-blob-private.hh | 2 +- - src/hb-blob.cc | 2 +- - src/hb-blob.h | 2 +- - src/hb-buffer-private.hh | 4 ++-- - src/hb-buffer.cc | 6 +++--- - src/hb-buffer.h | 6 +++--- - src/hb-common.cc | 4 +++- - src/hb-common.h | 4 +++- - src/hb-font-private.hh | 4 +++- - src/hb-font.cc | 2 +- - src/hb-font.h | 2 +- - src/hb-ft.cc | 4 ++-- - src/hb-ft.h | 2 +- - src/hb-glib.cc | 4 +++- - src/hb-glib.h | 4 +++- - src/hb-icu.cc | 6 ++++-- - src/hb-icu.h | 4 +++- - src/hb-object-private.hh | 6 ++++-- - src/hb-open-file-private.hh | 2 +- - src/hb-open-type-private.hh | 2 +- - src/hb-ot-head-private.hh | 2 +- - src/hb-ot-layout-common-private.hh | 4 ++-- - src/hb-ot-layout-gdef-private.hh | 4 ++-- - src/hb-ot-layout-gpos-private.hh | 4 ++-- - src/hb-ot-layout-gsub-private.hh | 4 ++-- - src/hb-ot-layout-gsubgpos-private.hh | 4 ++-- - src/hb-ot-layout-private.hh | 2 +- - src/hb-ot-layout.cc | 6 +++--- - src/hb-ot-layout.h | 2 +- - src/hb-ot-map-private.hh | 4 ++-- - src/hb-ot-map.cc | 4 ++-- - src/hb-ot-shape-complex-arabic-table.hh | 2 +- - src/hb-ot-shape-complex-arabic.cc | 2 +- - src/hb-ot-shape-complex-private.hh | 2 +- - src/hb-ot-shape-private.hh | 2 +- - src/hb-ot-shape.cc | 4 ++-- - src/hb-ot-shape.h | 2 +- - src/hb-ot-tag.cc | 4 +++- - src/hb-ot-tag.h | 2 +- - src/hb-ot.h | 2 +- - src/hb-private.hh | 4 +++- - src/hb-shape.cc | 2 +- - src/hb-shape.h | 2 +- - src/hb-unicode-private.hh | 4 ++-- - src/hb-unicode.cc | 4 ++-- - src/hb-unicode.h | 4 +++- - src/hb-view.c | 4 ++-- - src/hb.h | 2 +- - src/main.cc | 2 +- - src/test.c | 2 +- - test/hb-test.h | 17 ++++++++++++++++- - test/test-buffer.c | 2 +- - test/test-c.c | 2 +- - test/test-common.c | 2 +- - test/test-cplusplus.cc | 2 +- - test/test-unicode.c | 2 +- - 57 files changed, 122 insertions(+), 84 deletions(-) - -commit 08da7a3841ca7dfcb627314cae1c3a668b9c7236 -Author: Behdad Esfahbod -Date: Thu Apr 21 16:59:10 2011 -0400 - - [hb-view] Accept numbers in feature tag name - - Reported by Adam Twardoch. - - src/hb-view.c | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 24229eb13268a422efffbcb28a094b726824c7f0 -Author: Behdad Esfahbod -Date: Thu Apr 21 16:55:17 2011 -0400 - - Remove obsolete comment - - Talking to Ryan Lortie, he thinks my comment doesn't make sense. - - So I'm making the getter const. Note that g_atomic_int_get() - casts that away itself, so we don't need to worry about that - (which kinda makes me uncomfortable actually). - - src/hb-object-private.hh | 16 ++-------------- - 1 file changed, 2 insertions(+), 14 deletions(-) - -commit dcb7026f33cbcdf60e9b7fcdd44c64cc08702c74 -Author: Behdad Esfahbod -Date: Thu Apr 21 16:34:22 2011 -0400 - - Add ASSERT_STATIC_EXPR macro - - Unused right now. - - src/hb-private.hh | 2 ++ - 1 file changed, 2 insertions(+) - -commit 3e8bdbf9414291da5cf61213d5f4275c1ae23ae5 -Author: Behdad Esfahbod -Date: Thu Apr 21 16:16:21 2011 -0400 - - Cleanup hb_refrence_count_t - - src/hb-object-private.hh | 23 ++++++++++++++++++----- - src/hb-private.hh | 6 +++--- - 2 files changed, 21 insertions(+), 8 deletions(-) - -commit 783a7d69696bf0b1502ec9c1495e482e491c78e0 -Author: Behdad Esfahbod -Date: Thu Apr 21 16:03:59 2011 -0400 - - [TODO] Remove finished items - - TODO | 6 +----- - src/hb-ft.cc | 1 - - 2 files changed, 1 insertion(+), 6 deletions(-) - -commit da975419884a535281745f30f4b32fee0bc8a7a1 -Author: Behdad Esfahbod -Date: Thu Apr 21 15:08:01 2011 -0400 - - [API] Allow negative font x_scale/y_scale - - I was reconsidering whether y should grow down, since all three/four - times I've used this API I was tricked and got that wrong in my use. - So I was very inclined to make y grow down instead of up. However, - considering that the font space has y up and it would be very confusing - for callbacks to work against that, I decided that what I really want - is for the user to be able to set y_scale to a negative number to imply - that user-space y grows down. - - Changing x_scale/y_scale from unsigned int to int allows that, and I've - made pango to use that instead of negating glyph y_offset later. hb-ft - however still has y group up. I *guess* that's how FreeType works? - I'm not sure, FreeType docs don't make this clear... - - I'm happy with the resolution :-). - - src/hb-font.cc | 8 ++++---- - src/hb-font.h | 8 ++++---- - src/hb-ot-layout-common-private.hh | 6 +----- - src/hb-ot-layout-private.hh | 2 +- - 4 files changed, 10 insertions(+), 14 deletions(-) - -commit 4d559cddbb3b3a5c12c5167eba69598618a9f283 -Author: Behdad Esfahbod -Date: Thu Apr 21 14:58:23 2011 -0400 - - [icu] Remove big script switch(), rely on reverse-lookup - - src/hb-icu.cc | 137 ++++------------------------------------------------------ - 1 file changed, 9 insertions(+), 128 deletions(-) - -commit d18431b4cd8c1b14523733cd60a62b862f5b471f -Author: Behdad Esfahbod -Date: Wed Apr 20 18:59:10 2011 -0400 - - Move hb_reference_count_t from macros to inline methods - - src/hb-object-private.hh | 25 +++++++++++-------------- - 1 file changed, 11 insertions(+), 14 deletions(-) - -commit c57d454accff66e5f2c58006e8fb40bc020b6182 -Author: Behdad Esfahbod -Date: Wed Apr 20 18:50:27 2011 -0400 - - Rename all private sources and headers to C++ files - - So we can liberally use the simple features of C++ that parts of the - codebase is already using. - - src/Makefile.am | 17 +++++++++-------- - src/{hb-blob-private.h => hb-blob-private.hh} | 8 ++++---- - src/hb-blob.cc | 4 ++-- - src/hb-buffer-private.hh | 2 +- - src/{hb-common.c => hb-common.cc} | 8 ++++---- - src/{hb-font-private.h => hb-font-private.hh} | 8 ++++---- - src/hb-font.cc | 6 +++--- - src/{hb-ft.c => hb-ft.cc} | 4 ++-- - src/hb-glib.cc | 2 +- - src/hb-icu.cc | 2 +- - src/{hb-object-private.h => hb-object-private.hh} | 10 ++++------ - src/hb-open-type-private.hh | 2 +- - src/hb-ot-layout-gdef-private.hh | 2 +- - src/hb-ot-layout-private.hh | 4 ++-- - ...abic-table.h => hb-ot-shape-complex-arabic-table.hh} | 8 ++++---- - src/hb-ot-shape-complex-arabic.cc | 2 +- - src/hb-ot-shape-complex-private.hh | 2 +- - src/hb-ot-shape-private.hh | 2 +- - src/{hb-ot-tag.c => hb-ot-tag.cc} | 8 ++++---- - src/{hb-private.h => hb-private.hh} | 8 ++++---- - src/hb-shape.cc | 2 +- - src/hb-unicode-private.hh | 2 +- - src/hb-unicode.cc | 2 +- - src/hb-view.c | 6 ++++++ - 24 files changed, 63 insertions(+), 58 deletions(-) - -commit f19f4f9b0965ad7473a0f3a1ffcdbf16930e35d4 -Author: Behdad Esfahbod -Date: Wed Apr 20 18:25:56 2011 -0400 - - Rename hb-blob.c to hb-blob.cc in preparation of more changes - - src/Makefile.am | 2 +- - src/{hb-blob.c => hb-blob.cc} | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit 04744e73bad22d679986173b5f0d84dbbf49dd57 -Author: Behdad Esfahbod -Date: Wed Apr 20 17:24:03 2011 -0400 - - [TODO] Remove done items - - TODO | 6 ------ - 1 file changed, 6 deletions(-) - -commit 9417c1c0d2b005eadf0c087ca695121a6200d0f7 -Author: Behdad Esfahbod -Date: Wed Apr 20 17:21:23 2011 -0400 - - [API] Make hb_face_reference_table() return empty blob instead of NULL - - The idea here is that: - - - Like pretty much all other API in harfbuzz, user does not have to - check for NULL. - - - In any caller code, the case of missing table should be handled - exactly the same way that a too-short table is handled. Turning - a non-existent talbe into a table of size 0 makes the user code - safer. - - src/hb-font.cc | 2 ++ - src/hb-open-type-private.hh | 3 --- - 2 files changed, 2 insertions(+), 3 deletions(-) - -commit c035812feb0d385a9e8c334631738e4915912c71 -Author: Behdad Esfahbod -Date: Wed Apr 20 17:03:00 2011 -0400 - - [API] Rename hb_face_get_table() to hb_face_reference_table() - - That correctly reflects the reference ownership transfer happening. - - src/hb-font.cc | 4 ++-- - src/hb-font.h | 7 ++----- - src/hb-ot-layout.cc | 6 +++--- - src/hb-shape.cc | 2 +- - 4 files changed, 8 insertions(+), 11 deletions(-) - -commit 2d7b61a4b0ed212ca414b3281c2eae3e3db19c13 -Author: Behdad Esfahbod -Date: Wed Apr 20 16:40:56 2011 -0400 - - [TODO] Remove done items - - TODO | 10 ++-------- - src/hb-ft.h | 2 +- - 2 files changed, 3 insertions(+), 9 deletions(-) - -commit af02933739e03a156b9f7761fd7a63e2a02d0df1 -Author: Behdad Esfahbod -Date: Wed Apr 20 15:49:31 2011 -0400 - - [API] Remove hb_*_get_reference_count() - - This was a bizzare piece of API that I inherited from cairo. It has - been wrong adding them to cairo in the first place. Remove them before - someone uses them! - - src/hb-blob.c | 6 ------ - src/hb-blob.h | 3 --- - src/hb-buffer.cc | 6 ------ - src/hb-buffer.h | 3 --- - src/hb-font.cc | 18 ------------------ - src/hb-font.h | 9 --------- - src/hb-object-private.h | 7 ------- - src/hb-unicode.cc | 6 ------ - src/hb-unicode.h | 3 --- - test/test-unicode.c | 24 ------------------------ - 10 files changed, 85 deletions(-) - -commit 440a76b630a36a7336c93e8b05d988c6407b085e -Author: Behdad Esfahbod -Date: Wed Apr 20 14:20:00 2011 -0400 - - [OT] Fix script to ot-script-tag conversion - - src/hb-ot-tag.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit a3036a3e97b14c8eb1df208aed944207f9b6cc0b -Author: Behdad Esfahbod -Date: Wed Apr 20 14:13:23 2011 -0400 - - Minor - - src/hb-view.c | 1 - - 1 file changed, 1 deletion(-) - -commit fb6291d9c9224bedf207bf0077ad9f0a2690f867 -Author: Behdad Esfahbod -Date: Wed Apr 20 03:15:31 2011 -0400 - - [test] Add test for headers included from C and C++ - - test/Makefile.am | 17 +++++++++++++++++ - test/test-c.c | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ - test/test-cplusplus.cc | 29 +++++++++++++++++++++++++++++ - 3 files changed, 95 insertions(+) - -commit 107a50581ccab7df7c390d5b927fdab1bbe8e713 -Author: Behdad Esfahbod -Date: Wed Apr 20 03:04:56 2011 -0400 - - [test] Add todo items - - test/test-unicode.c | 3 +++ - 1 file changed, 3 insertions(+) - -commit 5668189c12c264e8d2caf0d12dac918363ef6f80 -Author: Behdad Esfahbod -Date: Wed Apr 20 03:03:32 2011 -0400 - - [API] font: move user_data before destroy() - - This is the common convention for language binding tools. - - src/hb-font-private.h | 4 ++-- - src/hb-font.cc | 30 +++++++++++++++--------------- - src/hb-font.h | 12 ++++++------ - src/hb-ft.c | 8 ++++---- - 4 files changed, 27 insertions(+), 27 deletions(-) - -commit e5847f75fb7bd25c5db6061d8e20d61fa469f9fe -Author: Behdad Esfahbod -Date: Wed Apr 20 02:59:28 2011 -0400 - - [API] blob: move user_data before destroy() - - This is the common convention for language binding tools. - - src/hb-blob-private.h | 2 +- - src/hb-blob.c | 16 ++++++++-------- - src/hb-blob.h | 4 ++-- - 3 files changed, 11 insertions(+), 11 deletions(-) - -commit 1fd73b594d611624ccb73f614c61298debf48994 -Author: Behdad Esfahbod -Date: Wed Apr 20 02:56:39 2011 -0400 - - [test] Rename test-types to test-common - - test/Makefile.am | 2 +- - test/{test-types.c => test-common.c} | 0 - 2 files changed, 1 insertion(+), 1 deletion(-) - -commit f144a8ea840c6452c1fece2fd988b42a8ea7c5a6 -Author: Behdad Esfahbod -Date: Wed Apr 20 02:54:42 2011 -0400 - - [icu] Add two-way script conversion functions - - Also optimizes the common-direction script lookup. - - src/hb-common.c | 5 +- - src/hb-icu.cc | 205 +++++++++++++++++++++++++++++------------------------- - src/hb-icu.h | 9 +++ - test/test-types.c | 2 +- - 4 files changed, 124 insertions(+), 97 deletions(-) - -commit 0809aadd4bbd5d0f256407def7cc10b79772a824 -Author: Behdad Esfahbod -Date: Wed Apr 20 02:44:29 2011 -0400 - - [glib] Add two-way script conversion functions - - Also optimizes the common-direction script lookup to be an array lookup. - - src/hb-glib.cc | 270 ++++++++++++++++++++++++++++++--------------------------- - src/hb-glib.h | 8 ++ - 2 files changed, 148 insertions(+), 130 deletions(-) - -commit 5c8c1b680c4fa23c8574b9aebd21113e276f57a3 -Author: Behdad Esfahbod -Date: Wed Apr 20 02:29:22 2011 -0400 - - Remove verbose comments - - src/hb-glib.cc | 194 ++++++++++++++++++++--------------------- - src/hb-icu.cc | 266 ++++++++++++++++++++++++++++----------------------------- - 2 files changed, 230 insertions(+), 230 deletions(-) - -commit fb194b8794898f51eb596fa4092c26606889d376 -Author: Behdad Esfahbod -Date: Wed Apr 20 02:00:47 2011 -0400 - - unicode: Cleanup implementation - - src/Makefile.am | 8 +- - src/hb-buffer-private.hh | 2 +- - src/{hb-glib.c => hb-glib.cc} | 65 +++---- - src/{hb-icu.c => hb-icu.cc} | 30 +-- - src/hb-ot-shape.cc | 14 +- - src/hb-shape.cc | 4 +- - ...{hb-unicode-private.h => hb-unicode-private.hh} | 65 ++++--- - src/{hb-unicode.c => hb-unicode.cc} | 213 +++++++++------------ - src/hb-unicode.h | 57 +++--- - test/test-unicode.c | 23 ++- - 10 files changed, 237 insertions(+), 244 deletions(-) - -commit ecfb773829a5d98a4f5456a992f3e5ecd6731435 -Author: Behdad Esfahbod -Date: Wed Apr 20 01:34:51 2011 -0400 - - Cosmetic - - src/hb-unicode.h | 22 +++++++++------------- - 1 file changed, 9 insertions(+), 13 deletions(-) - -commit 2fd0c577e322ccbf762927bc4600b3ea31db4c80 -Author: Ryan Lortie -Date: Wed Apr 20 00:19:20 2011 -0400 - - [API] unicode: rework virtual functions for subclassing - - Unicode data providers can now be subclassed, including support for - chain-up. The interface should now be nicely bindable, as well. - - Also fix glib unicode funcs that where broken after hb_script_t - changes. Nicely caught by the test-unicode.c added in this commit. - - src/hb-glib.c | 186 ++++++++++++++++++++++++++++++++++++-- - src/hb-icu.c | 45 +++++++-- - src/hb-ot-shape.cc | 9 +- - src/hb-shape.cc | 2 +- - src/hb-unicode-private.h | 17 ++++ - src/hb-unicode.c | 231 +++++++++++++++++++++++++---------------------- - src/hb-unicode.h | 68 +++++++------- - test/Makefile.am | 1 + - test/test-unicode.c | 215 +++++++++++++++++++++++++++++++++++++++++++ - 9 files changed, 610 insertions(+), 164 deletions(-) - -commit f85faee9b3cb841ea977403945e2c877ab32b97a -Author: Behdad Esfahbod -Date: Tue Apr 19 00:38:01 2011 -0400 - - [API] Rename hb_buffer_add_glyph() to hb_buffer_add() - - src/hb-buffer.cc | 10 +++++----- - src/hb-buffer.h | 8 ++++---- - test/test-buffer.c | 2 +- - 3 files changed, 10 insertions(+), 10 deletions(-) - -commit aab0de50e23727b69fa8c3d4e05c50c114c62835 -Author: Behdad Esfahbod -Date: Tue Apr 19 00:32:19 2011 -0400 - - [API] Add hb_buffer_allocation_successful() - - Returns the error status of the buffer. - - src/hb-buffer.cc | 6 ++++++ - src/hb-buffer.h | 6 ++++++ - test/test-buffer.c | 2 +- - 3 files changed, 13 insertions(+), 1 deletion(-) - -commit 02a534b23f2d1e7475109563b9f61221ed020e8b -Author: Ryan Lortie -Date: Fri Apr 15 18:34:45 2011 -0400 - - [API] Rename hb_buffer_ensure() to hb_buffer_pre_allocate() - - The new name is self-documenting. - - src/hb-buffer.cc | 4 ++-- - src/hb-buffer.h | 4 ++-- - 2 files changed, 4 insertions(+), 4 deletions(-) - -commit 70566befc59cfa8b9c43ac682749c40ea783b1dd -Author: Ryan Lortie -Date: Fri Apr 15 18:32:36 2011 -0400 - - [API} hb_buffer_get_glyph_{infos,positions}: Add length out parameter - - Return the length, whenever we return an array. Makes it easier on the - language bindings. - - src/hb-buffer.cc | 12 ++++++++++-- - src/hb-buffer.h | 6 ++++-- - src/hb-ot-layout-gpos-private.hh | 4 ++-- - src/hb-view.c | 4 ++-- - test/test-buffer.c | 7 ++----- - 5 files changed, 20 insertions(+), 13 deletions(-) - -commit 62879eebd9965179af8602ba29ac0a64a739b757 -Author: Behdad Esfahbod -Date: Mon Apr 18 23:40:21 2011 -0400 - - [API] Use ISO 15924 tags for hb_script_t - - This simplifies the code, reduces static data, and makes the design - more extensible to future additions of new scripts. - - src/hb-common.c | 411 ++++--------------------------------- - src/hb-common.h | 199 +++++++++--------- - src/hb-ot-map.cc | 4 +- - src/hb-ot-shape-complex-private.hh | 3 +- - src/hb-ot-tag.c | 228 +++++++++----------- - src/hb-ot-tag.h | 6 +- - src/hb-shape.cc | 4 +- - test/test-types.c | 2 +- - 8 files changed, 252 insertions(+), 605 deletions(-) - -commit c0af193c8e25c4f11d23b8893e9ce1c2d2615bb2 -Author: Behdad Esfahbod -Date: Fri Apr 15 19:26:24 2011 -0400 - - Change buffer default properties to invalid - - This includes HB_DIRECTION_INVALID and HB_SCRIPT_INVALID. - - The INVALID will cause a "guess whatever from the text" in hb_shape(). - While it's not ideal, it works better than the previous defaults at - least (HB_DIRECTION_LTR and HB_SCRIPT_COMMON). - - src/hb-buffer-private.hh | 9 +++------ - src/hb-buffer.cc | 24 ++++++++++++++++-------- - src/hb-view.c | 6 ++---- - test/test-buffer.c | 4 ++-- - 4 files changed, 23 insertions(+), 20 deletions(-) - -commit 00bec2c969555e76c3f84650a1d3c45308e585ad -Author: Behdad Esfahbod -Date: Fri Apr 15 19:16:54 2011 -0400 - - Move enum types to hb-common.h - - src/hb-common.c | 406 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-common.h | 170 +++++++++++++++++++++++ - src/hb-unicode.c | 406 ------------------------------------------------------- - src/hb-unicode.h | 166 ----------------------- - 4 files changed, 576 insertions(+), 572 deletions(-) - -commit 5dd4609f4da5674966a0169d9fa533ac5bc9f464 -Author: Behdad Esfahbod -Date: Fri Apr 15 19:16:34 2011 -0400 - - [TODO] Add new item - - TODO | 1 + - 1 file changed, 1 insertion(+) - -commit b54cd07b2623b68171e00179a9dc3ecbea7aa6a1 -Author: Behdad Esfahbod -Date: Fri Apr 15 19:12:01 2011 -0400 - - Mark internal buffer variables private - - src/hb-buffer.h | 4 ++++ - 1 file changed, 4 insertions(+) - -commit 0e8d35c0932ddc20ebf430f2fd82c087da698954 -Author: Behdad Esfahbod -Date: Fri Apr 15 19:07:10 2011 -0400 - - Add hb_script_from_string() - - src/hb-unicode.c | 6 ++++++ - src/hb-unicode.h | 4 ++++ - src/hb-view.c | 2 +- - 3 files changed, 11 insertions(+), 1 deletion(-) - -commit 8f0d7e0c3fd4b05c43ac449be4f374dc2dc56127 -Author: Behdad Esfahbod -Date: Fri Apr 15 18:59:56 2011 -0400 - - Remove hb_buffer_clear_positions(), add hb_ot_layout_position_start() - - src/hb-buffer-private.hh | 6 +++++- - src/hb-buffer.cc | 24 ++++++++++++------------ - src/hb-buffer.h | 5 +---- - src/hb-ot-layout.cc | 6 ++++++ - src/hb-ot-layout.h | 4 ++++ - src/hb-ot-shape.cc | 2 +- - 6 files changed, 29 insertions(+), 18 deletions(-) - -commit 2fc56edff6d64f190271454ccb1b5fd347d4f172 -Author: Behdad Esfahbod -Date: Fri Apr 15 18:35:08 2011 -0400 - - [API] Remove hb_buffer_clear() - - One should use hb_buffer_reset() really. - - src/hb-buffer.cc | 16 +++++----------- - src/hb-buffer.h | 4 ---- - test/test-buffer.c | 4 ---- - 3 files changed, 5 insertions(+), 19 deletions(-) - -commit 7f5bdc80541cdc90aa1acafba5e9e0bd2df53ff4 -Author: Behdad Esfahbod -Date: Fri Apr 15 18:34:55 2011 -0400 - - [TODO] Remove done items - - TODO | 4 ---- - 1 file changed, 4 deletions(-) - -commit 5814dfa3f5aa41bc3df06b78980d57d7bea0ba58 -Author: Behdad Esfahbod -Date: Fri Apr 15 14:41:04 2011 -0400 - - Cosmetic - - src/hb-ot-shape.cc | 14 +++++++------- - src/hb-ot-shape.h | 4 ++-- - src/hb-shape.cc | 20 ++++++++++---------- - src/hb-shape.h | 10 +++++----- - 4 files changed, 24 insertions(+), 24 deletions(-) - -commit cfbfeb88a6ec059ea97a6624e63cfacc642b685a -Author: Behdad Esfahbod -Date: Fri Apr 15 12:40:40 2011 -0400 - - [TODO] Remove done items - - TODO | 4 ---- - 1 file changed, 4 deletions(-) - -commit 3cbdf70e0a92f1c24e16c0d4dcfbec4ac59a77a3 -Author: Behdad Esfahbod -Date: Fri Apr 15 12:32:06 2011 -0400 - - Make hb_language_t typesafe - - src/hb-common.c | 18 +++++++++++------- - src/hb-common.h | 2 +- - 2 files changed, 12 insertions(+), 8 deletions(-) - -commit 2f2f448af35c232d18888c0e57cb21c9796ba7a8 -Author: Behdad Esfahbod -Date: Fri Apr 15 11:45:14 2011 -0400 - - [test] Add more TODO items - - test/test-buffer.c | 2 ++ - 1 file changed, 2 insertions(+) - -commit c910bec863215f918c659f58debbc7fe5264d7b6 -Author: Behdad Esfahbod -Date: Wed Apr 13 15:49:06 2011 -0400 - - Add hb_buffer_reset() and hb_buffer_set_length() - - src/hb-buffer.cc | 31 +++++++++++++++++++++++++++++++ - src/hb-buffer.h | 15 ++++++++++++++- - 2 files changed, 45 insertions(+), 1 deletion(-) - -commit 69ea23cb5d47dd1cfd3129f68375021ef79bf63b -Author: Behdad Esfahbod -Date: Wed Apr 13 15:02:40 2011 -0400 - - Minor - - src/hb-buffer.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 7dea908cd582c8c25555015940065c69c1e7e65b -Author: Behdad Esfahbod -Date: Wed Apr 13 01:35:58 2011 -0400 - - [test] Add todo items - - test/test-buffer.c | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -commit 07cbaac07d7f43437b171e9275430b5fb3097716 -Author: Behdad Esfahbod -Date: Wed Apr 13 01:11:19 2011 -0400 - - [TODO] Add item re script iso15924 functions - - TODO | 2 ++ - 1 file changed, 2 insertions(+) - -commit d0f53fdbead15d9003b521b8ed47d02fd29a4c64 -Author: Behdad Esfahbod -Date: Wed Apr 13 01:09:09 2011 -0400 - - [test] Test hb-buffer.h - - test/Makefile.am | 8 ++- - test/test-buffer.c | 195 +++++++++++++++++++++++++++++++++++++++++++++++++++++ - 2 files changed, 202 insertions(+), 1 deletion(-) - -commit 72d89404c2837d578f5305456c817130b6a15c73 -Author: Behdad Esfahbod -Date: Wed Apr 13 01:07:42 2011 -0400 - - [TODO] Add item re hb_buffer_reset() - - TODO | 2 ++ - 1 file changed, 2 insertions(+) - -commit 5015c12dfb4de8525325178ae6def9e80fd83669 -Author: Behdad Esfahbod -Date: Wed Apr 13 01:06:02 2011 -0400 - - [TODO] Add item re hb_buffer_resize() - - TODO | 2 ++ - 1 file changed, 2 insertions(+) - -commit 9329ec92078d0e2d7bb04f683e0c6a582aab92f7 -Author: Behdad Esfahbod -Date: Wed Apr 13 00:06:23 2011 -0400 - - [TODO] Add API item - - TODO | 2 ++ - 1 file changed, 2 insertions(+) - -commit 4744379efc6063d94e15ff99381a7ab8b88ee567 -Author: Behdad Esfahbod -Date: Mon Apr 11 19:47:33 2011 -0400 - - Minor - - test/test-types.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 9385caa8a693df0f06a511a71de9aa407637097c -Author: Behdad Esfahbod -Date: Mon Apr 11 19:43:51 2011 -0400 - - [test] Actually hook up hb_script_t tests - - I really shall find a way to automate the test enumeration. Otherwise - it's too easy to add a test and wrongly hook it up. Did it twice today. - - test/test-types.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 8e4bb3cacc269ed32187aaaeaa166c64f41a0418 -Author: Behdad Esfahbod -Date: Mon Apr 11 17:55:58 2011 -0400 - - Fold hb-language.[ch] into hb-common.[ch] - - src/Makefile.am | 2 - - src/hb-buffer.h | 1 - - src/hb-common.c | 92 ++++++++++++++++++++++++++++++++++++++++- - src/hb-common.h | 42 +++++++++++++------ - src/hb-language.c | 120 ------------------------------------------------------ - src/hb-language.h | 46 --------------------- - src/hb-ot-tag.h | 1 - - src/hb.h | 1 - - 8 files changed, 120 insertions(+), 185 deletions(-) - -commit 09125576ca745b3393f3dc49071df891400bbdc9 -Author: Behdad Esfahbod -Date: Mon Apr 11 17:49:33 2011 -0400 - - [test] Test hb_language_t - - test/test-types.c | 26 +++++++++++++++++++++++++- - 1 file changed, 25 insertions(+), 1 deletion(-) - -commit 316b7a1afb84a5dfeaed886a585669b4d549c9b7 -Author: Behdad Esfahbod -Date: Mon Apr 11 17:49:10 2011 -0400 - - Make hb_language_from_string("") return NULL language - - src/hb-language.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit db60c96f20426111ffa71e9802ef6e248f8b28d0 -Author: Behdad Esfahbod -Date: Mon Apr 11 16:17:02 2011 -0400 - - [teset] Test hb_script_t - - test/hb-test.h | 8 ++++++++ - test/test-types.c | 35 ++++++++++++++++++++++++++++++++++- - 2 files changed, 42 insertions(+), 1 deletion(-) - -commit 99b74760a4cddc798ab44b5ca897486bbb9c76d6 -Author: Behdad Esfahbod -Date: Mon Apr 11 15:47:40 2011 -0400 - - Rename hb_category_t to hb_unicode_general_category_t - - src/hb-glib.c | 2 +- - src/hb-icu.c | 64 ++++++++++++++++++------------------- - src/hb-ot-shape-complex-arabic.cc | 8 ++--- - src/hb-ot-shape-private.hh | 2 +- - src/hb-ot-shape.cc | 2 +- - src/hb-unicode.c | 4 +-- - src/hb-unicode.h | 66 +++++++++++++++++++-------------------- - 7 files changed, 74 insertions(+), 74 deletions(-) - -commit 4188096a7722f09ffa9319986c0286071da10a27 -Author: Behdad Esfahbod -Date: Mon Apr 11 14:58:28 2011 -0400 - - Make HB_TAG_CHAR4 private - - It's just sugar. - - src/hb-common.h | 5 +---- - src/hb-private.h | 7 ++++++- - test/test-types.c | 2 -- - 3 files changed, 7 insertions(+), 7 deletions(-) - -commit 7ff7401c9237cda661869c1cb196d685706ac4e9 -Author: Behdad Esfahbod -Date: Mon Apr 11 13:27:30 2011 -0400 - - Make hb_tag_from_string(NULL) return HB_TAG_NONE - - src/hb-common.c | 3 +++ - test/test-types.c | 3 +++ - 2 files changed, 6 insertions(+) - -commit 02f6e62d6cabc7808c188daef26a1fe7ac626b1f -Author: Behdad Esfahbod -Date: Mon Apr 11 13:27:21 2011 -0400 - - Build fix - - test/Makefile.am | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit db5227c40e5c35fe2ffb750f32b639cb44424a1d -Author: Behdad Esfahbod -Date: Mon Apr 11 13:16:08 2011 -0400 - - Move macros around - - src/hb-ot-tag.c | 6 ++---- - src/hb-private.h | 7 +++++++ - 2 files changed, 9 insertions(+), 4 deletions(-) - -commit 07233581c9d953708d3c020907c42b8b89472b89 -Author: Behdad Esfahbod -Date: Mon Apr 11 13:12:37 2011 -0400 - - Rename HB_TAG_STR() to HB_TAG_CHAR4() - - The problem with HB_TAG_STR() was that it expected a string of size 4 - exactly, and unlike hb_tag_from_string() it doesn't pad the tag with - space characters. So, the new name is more appropriate. - - src/hb-common.c | 2 +- - src/hb-common.h | 8 ++++---- - src/hb-ot-tag.c | 2 +- - test/test-types.c | 2 +- - 4 files changed, 7 insertions(+), 7 deletions(-) - -commit 9faa980067f802f712c2adf8263152ed40c98088 -Author: Behdad Esfahbod -Date: Mon Apr 11 12:46:49 2011 -0400 - - Add an in-tree test suite - - Uses the glib testing framework. Wrote unit tests for hb-common.h - types. - - Makefile.am | 2 +- - test/Makefile.am | 18 +++++++++ - test/Makefile.decl | 90 ++++++++++++++++++++++++++++++++++++++++++++ - test/hb-test.h | 67 +++++++++++++++++++++++++++++++++ - test/test-types.c | 108 +++++++++++++++++++++++++++++++++++++++++++++++++++++ - 5 files changed, 284 insertions(+), 1 deletion(-) - -commit d77b76200efbaa0611691920f9f2018b1e8be340 -Author: Behdad Esfahbod -Date: Mon Apr 11 12:29:52 2011 -0400 - - Add few more paratheses to the HB_TAG macro - - Never hurts. - - src/hb-common.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit b13640de6992de9ee9d07e3581c33b8181b70ff9 -Author: Behdad Esfahbod -Date: Mon Apr 11 12:29:31 2011 -0400 - - A few more ASSERTs - - src/hb-private.h | 3 +++ - 1 file changed, 3 insertions(+) - -commit ae9eeaff9300f3bb7bed588c5478e8e5461b3df0 -Author: Behdad Esfahbod -Date: Mon Apr 11 11:49:08 2011 -0400 - - Remove warning message from public header file - - Since we now assert thos in hb-private.h, the int types cannot be wrong. - (Except for when someone else includes hb-common.h in a very broken - configuration, but that's not our problem!) - - Plus, we don't use inline in the public headers, so remove that too. - - src/hb-common.h | 7 ------- - src/hb-private.h | 4 ++++ - 2 files changed, 4 insertions(+), 7 deletions(-) - -commit 6fd5364bdc3a2b459175377e9e16c86cff054232 -Author: Behdad Esfahbod -Date: Mon Apr 11 11:47:14 2011 -0400 - - Assert int types - - src/hb-private.h | 12 ++++++++++++ - 1 file changed, 12 insertions(+) - -commit bbdeff59646e5502b9fc53ab1761b3f014ee276c -Author: Behdad Esfahbod -Date: Thu Apr 7 16:05:07 2011 -0400 - - Add test directory - - configure.ac | 1 + - test/Makefile.am | 0 - 2 files changed, 1 insertion(+) - -commit 4accc92afc702177ea53280d977cec839af3c12c -Author: Behdad Esfahbod -Date: Thu Apr 7 15:53:26 2011 -0400 - - Update TODO items - - TODO | 31 ++++++++++++++++++++----------- - 1 file changed, 20 insertions(+), 11 deletions(-) - -commit a71b9c8579d73aea4549f12524bbc2e89f43b5c5 -Author: Behdad Esfahbod -Date: Wed Apr 6 14:04:56 2011 -0400 - - Disable 'cswh' by default except for Arabic shaper - - That better matches OpenType spec. Note that we enable it for all - Arabic-shaper scripts. Ie. we enable it by default for Syriac too, - but the SyriacOT spec does not require it. I think this is a more - useful compromise than special-casing for Arabic script alone. - - src/hb-ot-shape-complex-arabic.cc | 3 +++ - src/hb-ot-shape.cc | 1 - - 2 files changed, 3 insertions(+), 1 deletion(-) - -commit cab6f65bba560ac1651d9152f1ecf12eb88eca74 -Author: Behdad Esfahbod -Date: Mon Apr 4 15:36:51 2011 -0400 - - [hb-view] setlocale (LC_ALL, "") - - For now we don't use anything from the locale, but we should default - to using $LANG, etc, if --language is not specified. Right? - - src/hb-view.c | 3 +++ - 1 file changed, 3 insertions(+) - -commit fb9ca1bfabde7da0c274e7a1bd12bffaf7949c18 -Author: Behdad Esfahbod -Date: Mon Apr 4 14:50:09 2011 -0400 - - [hb-view] Rewrite --features parsing, with range support - - The --features parsing handles errors now. More importantly, it - allos limiting individual features to specific byte ranges. The - format is Python-esque. Here is how it all works: - - Syntax: Value: Start: End: - - Setting value: - "kern" 1 0 ∞ # Turn feature on - "+kern" 1 0 ∞ # Turn feature off - "-kern" 0 0 ∞ # Turn feature off - "kern=0" 0 0 ∞ # Turn feature off - "kern=1" 1 0 ∞ # Turn feature on - "kern=2" 2 0 ∞ # Choose 2nd alternate - - Setting index: - "kern[]" 1 0 ∞ # Turn feature on - "kern[:]" 1 0 ∞ # Turn feature on - "kern[5:]" 1 5 ∞ # Turn feature on, partial - "kern[:5]" 1 0 5 # Turn feature on, partial - "kern[3:5]" 1 3 5 # Turn feature on, range - "kern[3]" 1 3 3+1 # Turn feature on, single char - - Mixing it all: - - "kern[3:5]=0" 1 3 5 # Turn feature off for range - - src/hb-view.c | 169 +++++++++++++++++++++++++++++++++++++++++++++------------- - 1 file changed, 132 insertions(+), 37 deletions(-) - -commit ccc6745afaa68ce7497a6cd02ce85986d3c863d0 -Author: Behdad Esfahbod -Date: Mon Apr 4 14:49:50 2011 -0400 - - [hb-view] Use cached hb-ft face creation - - Avoids recreating the face the second time we call draw(). - - src/hb-view.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 1b4a2cc095d165dc573e0235f00fbbf2a5d3c2c5 -Author: Behdad Esfahbod -Date: Mon Apr 4 14:45:28 2011 -0400 - - [hb-view] Add --debug - - Frees all allocated memory before exiting. Useful for valgrind run. - - src/hb-view.c | 17 +++++++++++++++++ - 1 file changed, 17 insertions(+) - -commit b2da26d1e32a012f7feaad7c7cced61e4fb269f1 -Author: Behdad Esfahbod -Date: Fri Apr 1 15:48:43 2011 -0400 - - [hb-view] Support --features - - Accepts values like: - - --features="-mkmk,aalt=2,calt=1,+cswh" - - A minus sign means "=0", a plus sign means "=1". Default is "=1". - A minus sign overrides an explicit value. - - src/hb-view.c | 70 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++-- - 1 file changed, 68 insertions(+), 2 deletions(-) - -commit f48ff19b629070d13cee3c0eeeb06c98992f93c6 -Author: Behdad Esfahbod -Date: Fri Apr 1 14:19:10 2011 -0400 - - Sort options for clarity - - src/hb-view.c | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - -commit 5d91c3d547f78163b36aa7436d4388a836cca94a -Author: Behdad Esfahbod -Date: Wed Mar 16 17:36:32 2011 -0300 - - Add script to/from ISO 15924 tag support - - Also adds --script support to hb-view. - - If a script tag is not known to us, we pass the ISO 15924 tag around. - Right now, the OT layer ignores that, but we can fix it to blindly - convert that to an OT script tag. - - src/hb-ot-tag.c | 4 + - src/hb-unicode.c | 273 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-unicode.h | 8 +- - src/hb-view.c | 10 +- - 4 files changed, 293 insertions(+), 2 deletions(-) - -commit 3286fc0e9adc3f2874c9409e7fdb09e4d2b7dda1 -Author: Behdad Esfahbod -Date: Wed Mar 16 14:53:32 2011 -0300 - - Let hb_shape() guess script and direction... - - - Rename HB_SCRIPT_INVALID_CODE to HB_SCRIPT_INVALID - - - Add HB_DIRECTION_INVALID - - - Make hb_script_get_horizontal_direction() public - - - Make hb_shape() guess script from buffer text (first non-common - non-inherit script) if buffer script is set to HB_SCRIPT_INVALID (this - is NOT the default.) - - - Make hb_shape() guess direction from buffer script if buffer direction - is set to HB_DIRECTION_INVALID (this is NOT the default.) - - - Make hb-view.c set INVALID script and direction on the buffer. - - The above changes are meant to make hb-view fairly useful for uni-script - uni-direction text. The guessing behavior however is NOT the default of - hb_shape() and must be asked for explicitly. This is intended, because - the guess is not a suitable substitute to full-fledged bidi and script - segmentation. It's just a testing tool. - - src/hb-common.h | 3 ++- - src/hb-icu.c | 2 +- - src/hb-ot-shape.cc | 3 ++- - src/hb-shape.cc | 52 ++++++++++++++++++++++++++++++++++++++++++------ - src/hb-unicode-private.h | 4 ---- - src/hb-unicode.c | 2 +- - src/hb-unicode.h | 8 +++++++- - src/hb-view.c | 4 ++-- - 8 files changed, 61 insertions(+), 17 deletions(-) - -commit b7b29684df67af7280b74ca4cf18f02ad6521bdc -Author: Behdad Esfahbod -Date: Wed Mar 2 01:01:03 2011 -0500 - - [hb-view] Handle write_to_png errors - - src/hb-view.c | 9 ++++++++- - 1 file changed, 8 insertions(+), 1 deletion(-) - -commit c2cb98c8185c5560cfd04de7ee7c64c9496b986c -Author: Behdad Esfahbod -Date: Tue Mar 1 23:18:09 2011 -0500 - - [hb-view] Link with -lm - - src/Makefile.am | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit b5dd44e24669cd35affcd92788d39ff56cac94db -Author: Behdad Esfahbod -Date: Mon Feb 28 10:13:52 2011 -0800 - - Fix possible overflow - - src/hb-buffer.cc | 12 ++++++++++-- - 1 file changed, 10 insertions(+), 2 deletions(-) - -commit a4b781e93a0bee0549611e129b3564d9804d9090 -Author: Behdad Esfahbod -Date: Wed Feb 23 12:47:56 2011 -0500 - - Default background color shall either be white or transparent - - Definitely not black! - - src/hb-view.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 5353bf439c150492708ef9337078cfd73b83627b -Author: Behdad Esfahbod -Date: Tue Feb 22 18:06:19 2011 -0500 - - Add initial hb-view tool - - Currently doesn't handle script or direction. - - configure.ac | 18 +++ - src/Makefile.am | 14 +++ - src/hb-view.c | 342 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ - 3 files changed, 374 insertions(+) - -commit 82438c6ad5f60b6afc75c48cef72e18bef532468 -Author: Bradley Grainger -Date: Tue Feb 15 18:37:29 2011 -0500 - - Fix #pragma message for MSVC. - - __LOC__ was renamed to _HB__LOC__ in cd7555 but the corresponding - change wasn't made in hb-private.h. - - src/hb-private.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit ba9ab8d6d9c863662c4b44ace4a4d89e29e592f2 -Author: Behdad Esfahbod -Date: Mon Jan 10 07:45:41 2011 -0500 - - Fix language extension matching - - src/hb-ot-tag.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit a07874300a669ec0ea09a67df2a3ee8b0612d6b9 -Author: Behdad Esfahbod -Date: Mon Jan 10 02:27:49 2011 -0500 - - Don't use the m4/ dir - - We just require people to have libtool, pkg-config, etc installed - when running autogen.sh - - Makefile.am | 2 -- - configure.ac | 1 - - 2 files changed, 3 deletions(-) - -commit 7bbe14bed8a886ea5b293c927c4bf937cbfc6f51 -Author: Behdad Esfahbod -Date: Sun Jan 9 22:29:14 2011 -0500 - - Fix 'make distcheck' - - src/Makefile.am | 7 ++++--- - 1 file changed, 4 insertions(+), 3 deletions(-) - -commit 2abe1264a580858bf7803af1701117a462375fb4 -Author: Javier Jardón -Date: Sun Jan 9 22:18:53 2011 -0500 - - Bug 31174 - Update autotools configuration - - Makefile.am | 2 + - autogen.sh | 188 ++++------------------------------------------------------- - configure.ac | 22 +++++-- - 3 files changed, 29 insertions(+), 183 deletions(-) - -commit cc1a8a938b4c13e76b58825a9e1951c4134e634a -Author: Behdad Esfahbod -Date: Thu Jan 6 14:58:52 2011 -0500 - - Fix ChanContext backtrack matching with GPOS - - Reported on mailing list by Keith Stribley and Khaled Hosny. - - src/hb-buffer-private.hh | 5 +++-- - src/hb-buffer.cc | 2 +- - src/hb-ot-layout-gsubgpos-private.hh | 6 +++--- - 3 files changed, 7 insertions(+), 6 deletions(-) - -commit 1c3183027fe823cd673866ba29d169b69f8efba1 -Author: Behdad Esfahbod -Date: Thu Jan 6 14:44:14 2011 -0500 - - Remove unused realloc - - We always allocate and grow str and pos together. - - src/hb-buffer.cc | 6 ------ - 1 file changed, 6 deletions(-) - -commit 76691f0240d6de230e9b42280b54e91639464635 -Author: Behdad Esfahbod -Date: Thu Jan 6 14:16:59 2011 -0500 - - Fix ICU detection - - configure.ac | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 756f794a1fce701092345a3f9afae039583fb55b -Author: Behdad Esfahbod -Date: Sun Dec 26 20:52:40 2010 -0500 - - Remove Graphite backend - - It was unmaintained and the code has to be replaced to use the new - grphite-ng code base. - - configure.ac | 6 -- - src/Makefile.am | 14 --- - src/hb-graphite.cc | 310 ----------------------------------------------------- - src/hb-graphite.h | 47 -------- - 4 files changed, 377 deletions(-) - -commit f3d9d9879364609502d9d3a3a9f4647adb167d78 -Author: Behdad Esfahbod -Date: Wed Dec 22 01:39:29 2010 -0500 - - Docs - - src/hb-unicode.h | 60 ++++++++++++++++++++++++++++---------------------------- - 1 file changed, 30 insertions(+), 30 deletions(-) - -commit d86a5b3c5752abcc791724035ba4115958e6b5e2 -Author: Behdad Esfahbod -Date: Tue Dec 21 18:36:25 2010 -0500 - - Bug 32274 - classic mongolian shaper - - Add support for classic Mongolian script to the Arabic shaper. - - Still work to be done around U+180E MONGOLIAN VOWEL SEPARATOR as it - should not be included in the final glyph stream the same way that - ZWNJ, etc should not appear in the final glyph stream. - - But the joining part should be done. - - There remains the question of how should the U+18A9 MONGOLIAN LETTER ALI - GALI DAGALGA be handled as it has General Category NSM but a letter - nonetheless. For now, our generic logic makes this a joining T instead - of joining D as other Mongolian letters are. - - src/hb-ot-shape-complex-arabic.cc | 8 ++++++++ - src/hb-ot-shape-complex-private.hh | 1 + - 2 files changed, 9 insertions(+) - -commit b0e7378fa9a4fc6fc74d9b3c27d927602eaacc5b -Author: Behdad Esfahbod -Date: Tue Dec 21 14:19:32 2010 -0500 - - Reroute Mandaic shaping through the Arabic shaper - - We added Mandaic joining data to the Arabic shaper a while ago, but - were not actually using the Arabic shaper for Mandaic. Fixed. - - src/hb-ot-shape-complex-private.hh | 1 + - 1 file changed, 1 insertion(+) - -commit 88e7f37488e4e8590619d815b975232a0c9d2ea0 -Author: Behdad Esfahbod -Date: Tue Dec 21 14:18:24 2010 -0500 - - Annotate the Arabic joining table with block information - - src/gen-arabic-joining-table.py | 93 +++++++++++++++++++++------------- - src/hb-ot-shape-complex-arabic-table.h | 24 +++++++-- - 2 files changed, 80 insertions(+), 37 deletions(-) - -commit 1482a39e56cd4151874e5c073540274349240a87 -Author: Behdad Esfahbod -Date: Fri Dec 17 20:15:05 2010 -0500 - - Rename remaining metrics uses to extents - - src/hb-font.h | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 22c537657cee1f47a4056a21e2cddfcbe6ab1c01 -Author: Behdad Esfahbod -Date: Tue Dec 14 23:51:29 2010 -0500 - - Rename TableDirectory to TableRecord as per OpenType 1.6 - - src/hb-open-file-private.hh | 18 +++++++++--------- - 1 file changed, 9 insertions(+), 9 deletions(-) - -commit 33e8b86197239e667a887709104357bdc6566b7c -Author: Behdad Esfahbod -Date: Mon Dec 13 15:54:56 2010 -0500 - - Update 'head' table to OpenType 1.6 - - src/hb-ot-head-private.hh | 8 +++++++- - 1 file changed, 7 insertions(+), 1 deletion(-) - -commit b7683335146bfe3a74d9419db92cd7a8019a9c10 -Author: Behdad Esfahbod -Date: Mon Dec 13 14:22:35 2010 -0500 - - Disallow ligature substitutions replacing one glyph - - src/hb-ot-layout-gsub-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 7eb875118dc31e9fb0e23c45985396a8bfe977e3 -Author: Behdad Esfahbod -Date: Mon Dec 13 14:13:35 2010 -0500 - - Mozilla Bug 618592 - freeze on typekit - - Fix apply_lookup() for zero-input broken fonts. - - src/hb-ot-layout-gsubgpos-private.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit bbbbe80ec9bc45c5b685bc09c8f993e98496555c -Author: Behdad Esfahbod -Date: Tue Dec 7 16:22:02 2010 -0500 - - Rename original_direction to target_direction - - src/hb-ot-shape-private.hh | 2 +- - src/hb-ot-shape.cc | 6 +++--- - 2 files changed, 4 insertions(+), 4 deletions(-) - -commit ee8aaf976a6eb42be49b63b4c51c7a0a338e0298 -Author: Behdad Esfahbod -Date: Tue Dec 7 16:20:42 2010 -0500 - - Fix arabic shaping of LTR text - - We should ensure-direction before doing any complex work. The only - exception is mirroring that needs to see the original / final direction, - not the native. Handle that. - - src/hb-ot-shape.cc | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit d1f1707adc03317760b0f75e04d0f3dd425e547f -Author: Behdad Esfahbod -Date: Tue Nov 30 00:57:15 2010 -0500 - - Bug 31965 - some GNU/Linux distributions lack icu.pc but have icu-config - - Patch from suzuki toshiya. - - configure.ac | 10 +++++++++- - 1 file changed, 9 insertions(+), 1 deletion(-) - -commit 3c48982be6b2286088541ee55cac78b0f2b6e771 -Author: Behdad Esfahbod -Date: Sun Nov 28 19:39:47 2010 -0500 - - Adjust pyx files to reflect change from int to hb_var_int_t - - Patch from Thomas Hunger. - - contrib/python/lib/harfbuzz.pyx | 7 +++++-- - 1 file changed, 5 insertions(+), 2 deletions(-) - -commit 4f9e4a40bc248aeb1364ed6f4aa7f392aa364497 -Author: Behdad Esfahbod -Date: Mon Nov 22 11:30:32 2010 -0500 - - Fix failing checks - - src/hb-ot-shape-complex-arabic-table.h | 37 ++++++++++++++++++++++++++++++++++ - 1 file changed, 37 insertions(+) - -commit 9da26d6669e7f3b91ba37e71f6f8a6e2ea806688 -Author: Behdad Esfahbod -Date: Mon Nov 22 11:03:18 2010 -0500 - - Remove email address from Copyright headers - - COPYING | 2 +- - src/hb-ft.c | 2 +- - src/hb-icu.c | 2 +- - 3 files changed, 3 insertions(+), 3 deletions(-) - -commit a45f00019242734fca742adeb2ed507305baeda6 -Author: Behdad Esfahbod -Date: Thu Nov 18 13:58:32 2010 -0500 - - Clarify copyright notice - - COPYING | 12 ++++++++++++ - README | 4 ++-- - src/hb-graphite.cc | 4 ++-- - src/hb-object-private.h | 2 +- - 4 files changed, 17 insertions(+), 5 deletions(-) - -commit 0884a8d9cd576f116400b3f7c8815e747c315d5e -Author: Behdad Esfahbod -Date: Wed Nov 17 16:58:21 2010 -0500 - - Move generated table to its own file - - src/Makefile.am | 1 + - src/hb-ot-shape-complex-arabic-table.h | 619 ++++++++++++++++++++++++++++++++ - src/hb-ot-shape-complex-arabic.cc | 621 +-------------------------------- - 3 files changed, 621 insertions(+), 620 deletions(-) - -commit 14d784116b08685425e4ddcb1c1f813dbe2b2986 -Author: Behdad Esfahbod -Date: Wed Nov 17 16:52:58 2010 -0500 - - Update Arabic joining table to include Mandaic - - Mandaic was added to Unicode 6.0, but the joining data was not updated. - Draft ArabicShaping.txt from 6.1 includes the joining data for Mandaic. - Use that. - - src/gen-arabic-joining-table.py | 45 ++++++++++---- - src/hb-ot-shape-complex-arabic.cc | 123 ++++++++++++++++++++++++++++++++------ - 2 files changed, 137 insertions(+), 31 deletions(-) - -commit 43bf2f7f1ec427c431e2ee2fd1a9345e7d5c9718 -Author: Behdad Esfahbod -Date: Wed Nov 17 14:49:40 2010 -0500 - - Add OpenType script tags for Unicode 5.2 and Unicode 6.0 scripts - - Based on tags proposed by Microsoft for inclusion in OpenType. - - src/hb-ot-tag.c | 34 +++++++++++++++++----------------- - 1 file changed, 17 insertions(+), 17 deletions(-) - -commit afab01cf7caca79cf6dfabe6827d1703be1a74f7 -Author: Behdad Esfahbod -Date: Wed Nov 17 14:35:34 2010 -0500 - - Add Unicode 6.0 scripts - - src/hb-icu.c | 6 ++++++ - src/hb-ot-tag.c | 7 ++++++- - src/hb-unicode.c | 7 ++++++- - src/hb-unicode.h | 7 ++++++- - 4 files changed, 24 insertions(+), 3 deletions(-) - -commit f234b68d18d956f7e4eb4bf58d6dc408d9e5146e -Author: Behdad Esfahbod -Date: Wed Nov 17 14:25:44 2010 -0500 - - Change HB_SCRIPT_MEITEI_MAYEK to HB_SCRIPT_MEETEI_MAYEK - - The new name matches the Unicode name. Reported by Jonathan Kew. - - src/hb-icu.c | 2 +- - src/hb-ot-tag.c | 2 +- - src/hb-unicode.h | 2 +- - 3 files changed, 3 insertions(+), 3 deletions(-) - -commit 3ca9a6d1cffe950b325e1d522b20d4a645ae448e -Author: Behdad Esfahbod -Date: Wed Nov 17 13:08:47 2010 -0500 - - Add TODO item - - TODO | 3 +++ - 1 file changed, 3 insertions(+) - -commit 300cb41417d40473268e3b4089bed24e9e77a753 -Author: Behdad Esfahbod -Date: Wed Nov 17 12:57:23 2010 -0500 - - Add XXX marks - - src/hb-ot-layout-gsubgpos-private.hh | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit ea00aee9f94ae8c6cf03d620254817d5e1f51d64 -Author: Behdad Esfahbod -Date: Fri Nov 5 10:51:37 2010 -0400 - - Add TODO item - - TODO | 2 ++ - 1 file changed, 2 insertions(+) - -commit 3a852ae7fe6edfaadd75625d27515a3689503395 -Author: Behdad Esfahbod -Date: Wed Nov 3 16:37:24 2010 -0400 - - Save general category and combining class in the buffer for reuse - - src/hb-ot-layout-private.hh | 3 ++- - src/hb-ot-shape-complex-arabic.cc | 16 ++++++++++------ - src/hb-ot-shape-private.hh | 6 ++++++ - src/hb-ot-shape.cc | 26 +++++++++++++++++++++----- - 4 files changed, 39 insertions(+), 12 deletions(-) - -commit a5ab682b9ba8224fc132624f93e6fef9973a68ca -Author: Behdad Esfahbod -Date: Wed Nov 3 15:50:36 2010 -0400 - - More "unreached code" warning fixes - - Ugly :(. - - src/hb-blob.c | 48 ++++++++++++++++++++++++------------------------ - 1 file changed, 24 insertions(+), 24 deletions(-) - -commit 4e22c7e94102c9f00c32b8cb6aaa832f83909149 -Author: Behdad Esfahbod -Date: Wed Nov 3 15:47:12 2010 -0400 - - Add comment - - src/hb-ot-layout-common-private.hh | 3 +++ - 1 file changed, 3 insertions(+) - -commit 0342034d1cb577d34b42f7204da7fb930c12a464 -Author: Behdad Esfahbod -Date: Wed Nov 3 15:40:07 2010 -0400 - - Pedantic - - src/hb-ot-layout-gpos-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 4a2d844c2f12dc1b858ab4ddd737ded7c0852221 -Author: Behdad Esfahbod -Date: Wed Nov 3 15:28:56 2010 -0400 - - Minor code shuffling - - src/hb-ot-layout-private.hh | 21 +++------------- - src/hb-ot-layout.cc | 61 +++++++++++++++++++++++++++++++++------------ - 2 files changed, 48 insertions(+), 34 deletions(-) - -commit 11e3ec444a85fc72541823c2e98cc92c4ceb19af -Author: Behdad Esfahbod -Date: Wed Nov 3 15:11:04 2010 -0400 - - Fix a few more "unreachable code" warnings - - src/hb-blob.c | 2 +- - src/hb-object-private.h | 12 +++--- - src/hb-open-type-private.hh | 84 +++++++++++++++++------------------- - src/hb-ot-layout-gsubgpos-private.hh | 2 +- - src/hb-private.h | 3 +- - 5 files changed, 49 insertions(+), 54 deletions(-) - -commit 2304856340782c72cb30873f7907191dc359e921 -Author: Behdad Esfahbod -Date: Wed Nov 3 12:46:58 2010 -0400 - - Remove another couple lines of dead code - - src/hb-ot-layout-gsubgpos-private.hh | 2 -- - 1 file changed, 2 deletions(-) - -commit b8783c85ac5dd9ea8f5a66eacb92dfcfbf649a6d -Author: Behdad Esfahbod -Date: Wed Nov 3 11:50:21 2010 -0400 - - Fix unreachable-code warning - - src/hb-ot-layout-gpos-private.hh | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit c2709119c8c610a0d4d71884a7d4fdba7cb65b72 -Author: Behdad Esfahbod -Date: Wed Oct 27 23:18:51 2010 -0400 - - Move things around some more - - src/hb-ot-layout-gpos-private.hh | 8 ++++---- - src/hb-ot-layout-gsub-private.hh | 4 ++-- - src/hb-ot-layout-gsubgpos-private.hh | 9 +++++++-- - src/hb-ot-layout-private.hh | 7 +++---- - src/hb-ot-layout.cc | 6 +++--- - 5 files changed, 19 insertions(+), 15 deletions(-) - -commit 194d4566ec054db03fa31d369a9f1c6cf4941e74 -Author: Behdad Esfahbod -Date: Wed Oct 27 23:09:10 2010 -0400 - - Move buffer var allocation local - - src/hb-ot-layout-gpos-private.hh | 19 ++++++++++++++----- - src/hb-ot-layout-private.hh | 2 -- - 2 files changed, 14 insertions(+), 7 deletions(-) - -commit 1e7c1fcbc33599faefc32d4a28e5d8506d2c56fa -Author: Behdad Esfahbod -Date: Wed Oct 27 22:48:31 2010 -0400 - - Move code around - - src/hb-ot-layout-gpos-private.hh | 59 ++++++++++++++++++++++++++++++++++++++++ - src/hb-ot-layout.cc | 59 ++-------------------------------------- - src/hb-ot-layout.h | 4 +-- - src/hb-ot-shape.cc | 2 +- - 4 files changed, 63 insertions(+), 61 deletions(-) - -commit bf94b3ad22b2fe4730d4e64d673c63154fc5b5fe -Author: Behdad Esfahbod -Date: Wed Oct 27 22:37:59 2010 -0400 - - Move some more code around - - src/hb-ot-layout-gdef-private.hh | 21 +++++++++++++++ - src/hb-ot-layout-private.hh | 27 ++++++++++++++++--- - src/hb-ot-layout.cc | 56 ++++++---------------------------------- - 3 files changed, 52 insertions(+), 52 deletions(-) - -commit 6334658fe79d6acfb46a2a147721b78f92510ebb -Author: Behdad Esfahbod -Date: Wed Oct 27 22:11:32 2010 -0400 - - Simplify mark skipping logic - - src/hb-ot-layout.cc | 17 +++-------------- - 1 file changed, 3 insertions(+), 14 deletions(-) - -commit 8c69e65abed961002d90024c92e18538c6516262 -Author: Behdad Esfahbod -Date: Wed Oct 27 22:07:49 2010 -0400 - - Rename lookup_flags to lookup_props since it's more than just flags - - src/hb-ot-layout-common-private.hh | 6 +++++- - src/hb-ot-layout-gpos-private.hh | 14 +++++++------- - src/hb-ot-layout-gsub-private.hh | 8 ++++---- - src/hb-ot-layout-gsubgpos-private.hh | 10 +++++----- - src/hb-ot-layout-private.hh | 4 ++-- - src/hb-ot-layout.cc | 36 ++++++++++++++++++------------------ - src/main.cc | 4 ++-- - 7 files changed, 43 insertions(+), 39 deletions(-) - -commit 98370e89d1bff248737b482d129c2a4deb8bfd95 -Author: Behdad Esfahbod -Date: Wed Oct 27 17:39:01 2010 -0400 - - WIP removing external synthesized GDEF support and implementing it internally - - TODO | 2 - - src/hb-buffer-private.hh | 4 - - src/hb-buffer.cc | 3 - - src/hb-ot-layout-common-private.hh | 8 +- - src/hb-ot-layout-gdef-private.hh | 6 +- - src/hb-ot-layout-gpos-private.hh | 4 +- - src/hb-ot-layout-gsub-private.hh | 66 ++++++----------- - src/hb-ot-layout-gsubgpos-private.hh | 29 +++++++- - src/hb-ot-layout-private.hh | 29 +++----- - src/hb-ot-layout.cc | 138 +++++------------------------------ - src/hb-ot-layout.h | 26 ------- - src/hb-ot-shape.cc | 10 +++ - 12 files changed, 98 insertions(+), 227 deletions(-) - -commit 870e2d6eac01d004c72a925ea93e6823251d5fa2 -Author: Behdad Esfahbod -Date: Wed Oct 27 17:37:20 2010 -0400 - - Remove unused function - - src/hb-buffer-private.hh | 10 ---------- - src/hb-buffer.cc | 27 --------------------------- - 2 files changed, 37 deletions(-) - -commit 1115890b90709fa5329a55d22f543020f3df9f6f -Author: Behdad Esfahbod -Date: Wed Oct 27 17:07:04 2010 -0400 - - More cleanup - - src/hb-buffer-private.hh | 5 +---- - src/hb-ot-layout-private.hh | 6 ++++++ - 2 files changed, 7 insertions(+), 4 deletions(-) - -commit dbf56b1d94910f04823e53e39ace1e5145bddc04 -Author: Behdad Esfahbod -Date: Wed Oct 27 17:06:12 2010 -0400 - - More lig-id cleanup - - src/hb-buffer-private.hh | 4 ++-- - src/hb-buffer.cc | 2 +- - src/hb-ot-layout-gsub-private.hh | 8 +++++++- - 3 files changed, 10 insertions(+), 4 deletions(-) - -commit f6a23a0b9171958f76c1d0473b09fc08d2b3a0d0 -Author: Behdad Esfahbod -Date: Wed Oct 27 17:01:03 2010 -0400 - - More removal of lig-id code from buffer - - src/hb-buffer.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit dd2ffd282c059194fd87fb1664e2e0cdb56a87a0 -Author: Behdad Esfahbod -Date: Wed Oct 27 16:57:01 2010 -0400 - - Minor renaming - - src/hb-buffer-private.hh | 41 ++++++++++++++++++++-------------------- - src/hb-buffer.cc | 20 ++++++++++---------- - src/hb-ot-layout-gsub-private.hh | 8 ++++---- - src/hb-ot-shape.cc | 6 +++--- - 4 files changed, 37 insertions(+), 38 deletions(-) - -commit fe263272a2b26204bc39829a94d90ab537517f3f -Author: Behdad Esfahbod -Date: Wed Oct 27 16:51:02 2010 -0400 - - Move setting lig_id/component out of buffer and to the gsub code - - src/hb-buffer-private.hh | 30 +++++++---------------- - src/hb-buffer.cc | 52 +++++++--------------------------------- - src/hb-ot-layout-gsub-private.hh | 27 ++++++++++++--------- - 3 files changed, 34 insertions(+), 75 deletions(-) - -commit 2e2b2480c01c788ea702d78ca830c2bb659654a8 -Author: Behdad Esfahbod -Date: Wed Oct 27 16:25:28 2010 -0400 - - Always allocate new ligature id - - No practical point in reusing ligature ids. - - src/hb-ot-layout-gsub-private.hh | 5 +---- - 1 file changed, 1 insertion(+), 4 deletions(-) - -commit bf07d5a29c61baf6fd683289c7764f487ad7e413 -Author: Behdad Esfahbod -Date: Wed Oct 27 16:19:13 2010 -0400 - - Set component=0 for ligature glyph - - src/hb-ot-layout-gsub-private.hh | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit 37ab877149582c7ce7416425bb402340e3f948a2 -Author: Behdad Esfahbod -Date: Wed Oct 27 15:38:06 2010 -0400 - - Remove comment - - src/hb-buffer.cc | 20 -------------------- - 1 file changed, 20 deletions(-) - -commit 88474c6fdaf35c56368694a5b164f4988a004d49 -Author: Behdad Esfahbod -Date: Wed Oct 27 14:42:15 2010 -0400 - - Get rid of the OpenType-specific internal buffer representation - - Add variant integers to buffer item types. More cleanup coming. - - TODO | 2 -- - src/hb-buffer-private.hh | 35 ++++++---------------- - src/hb-buffer.cc | 62 +++++++++++++++++++-------------------- - src/hb-buffer.h | 2 +- - src/hb-ot-layout-gpos-private.hh | 24 +++++++-------- - src/hb-ot-layout-gsub-private.hh | 2 +- - src/hb-ot-layout-private.hh | 4 +-- - src/hb-ot-layout.cc | 39 ++++++++++++------------ - src/hb-ot-shape-complex-arabic.cc | 8 ++--- - 9 files changed, 79 insertions(+), 99 deletions(-) - -commit 6cb8c3493019e1497921666fc268cb81943f9f1f -Author: Behdad Esfahbod -Date: Wed Oct 27 14:27:03 2010 -0400 - - Add hb_var_int_t - - src/hb-buffer.h | 6 +++--- - src/hb-common.h | 10 ++++++++++ - 2 files changed, 13 insertions(+), 3 deletions(-) - -commit f22802431a983bd4bc60a7653b1103973c3475cb -Author: Behdad Esfahbod -Date: Tue Nov 2 19:12:37 2010 -0400 - - Remove trailing comma - - src/hb-ot-shape-complex-arabic.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 13528d0c78cadb1f67267c9a692558caef9fdaa6 -Author: Behdad Esfahbod -Date: Wed Oct 27 14:09:27 2010 -0400 - - Supposedly implement vertical support in GPOS - - Not tested at all. - - src/hb-ot-layout-gpos-private.hh | 27 ++++++++++++++++++++------- - src/hb-ot-layout.cc | 39 ++++++++++++++++++++++++--------------- - 2 files changed, 44 insertions(+), 22 deletions(-) - -commit 9624de5b496846cd89ee4f7b07d38029aca70ce1 -Author: Behdad Esfahbod -Date: Wed Oct 27 13:44:59 2010 -0400 - - Clarify cursive_chain (and change its sign) - - src/hb-ot-layout-gpos-private.hh | 4 ++-- - src/hb-ot-layout.cc | 13 +++++++------ - 2 files changed, 9 insertions(+), 8 deletions(-) - -commit d6c9eadb88240c40b3cb9a33f067e575cbc2f729 -Author: Behdad Esfahbod -Date: Wed Oct 27 12:34:50 2010 -0400 - - Remove more pointless LONGTERMTODO items - - src/hb-ot-layout-common-private.hh | 2 -- - 1 file changed, 2 deletions(-) - -commit e204674fe340a57c48a9fe7e1ed02a9a08f4aca4 -Author: Behdad Esfahbod -Date: Wed Oct 27 12:32:02 2010 -0400 - - Rename hb_ot_layout_get_lig_carets() to hb_ot_layout_get_ligature_carets() - - src/hb-ot-layout.cc | 14 +++++++------- - src/hb-ot-layout.h | 14 +++++++------- - 2 files changed, 14 insertions(+), 14 deletions(-) - -commit 3357d145f81cb7b746c910018fe3a0dfab00972c -Author: Behdad Esfahbod -Date: Wed Oct 27 12:30:46 2010 -0400 - - Implement vertical support in get_lig_carets() - - src/hb-ot-layout-gdef-private.hh | 34 ++++++++++++++++++---------------- - src/hb-ot-layout.cc | 3 ++- - src/hb-ot-layout.h | 1 + - 3 files changed, 21 insertions(+), 17 deletions(-) - -commit 8eeed7eddc789151cbffe62ed6bfd77612266bf1 -Author: Behdad Esfahbod -Date: Wed Oct 27 12:07:49 2010 -0400 - - Remove LONGTERMTODO item that I'll never fix - - src/hb-ot-layout-gsubgpos-private.hh | 6 ------ - 1 file changed, 6 deletions(-) - -commit 184a5279c64f37bc2ceefbe2191bb64ca87f88d8 -Author: Behdad Esfahbod -Date: Wed Oct 27 12:00:49 2010 -0400 - - Remove unused macro - - src/hb-ot-layout-gpos-private.hh | 2 -- - 1 file changed, 2 deletions(-) - -commit af5d02a269d55331300df1e382241893928d64e0 -Author: Behdad Esfahbod -Date: Wed Oct 27 11:54:26 2010 -0400 - - Rewrite Cursive joining to act more like other pair lookups - - Look forward for next character instead of joining to the last character. - - src/hb-ot-layout-gpos-private.hh | 71 ++++++++++++++++++---------------------- - src/hb-ot-layout-private.hh | 10 ------ - 2 files changed, 31 insertions(+), 50 deletions(-) - -commit ea22c749c7371cf66ca44f0bfe7030aef1926edd -Author: Behdad Esfahbod -Date: Wed Oct 27 11:09:48 2010 -0400 - - Fix Cursive positioning - - Test case: "مرا" rendered using IranNastaliq. - - src/hb-ot-layout-gpos-private.hh | 124 +-------------------------------------- - 1 file changed, 3 insertions(+), 121 deletions(-) - -commit aefdb64689aab19df76590a36c4a04052a8bffdb -Author: Behdad Esfahbod -Date: Wed Oct 27 10:40:39 2010 -0400 - - Fix segfault with Arabic combining marks - - src/hb-ot-shape-complex-arabic.cc | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit 12b2d09a87adc1e1aac089cd2e09a68fb7129829 -Author: Behdad Esfahbod -Date: Wed Oct 27 01:28:28 2010 -0400 - - Remove obsolete TODO item - - We don't cache any metrics internally, so the correct way to add more - glyph metrics items is to add new callbacks for them. We already have - separeate callbacks for advance vs extents. - - TODO | 2 -- - 1 file changed, 2 deletions(-) - -commit 248e3c2ba47889c247959e44166644872aed59ba -Author: Behdad Esfahbod -Date: Wed Oct 27 01:23:14 2010 -0400 - - Oops, remove extra mask setting that broke complex shaping - - src/hb-ot-shape.cc | 2 -- - 1 file changed, 2 deletions(-) - -commit 502f4cba3e0bcd625d31f8fd295b8b18e2d02a5a -Author: Behdad Esfahbod -Date: Wed Oct 27 01:13:56 2010 -0400 - - Divide get_metrics into get_advance and get_extents - - Graphite module not updated. - Bump version to 0.3. - - configure.ac | 2 +- - src/hb-font-private.h | 3 +- - src/hb-font.cc | 96 +++++++++++++++++++++++++++++++++++---------------- - src/hb-font.h | 61 ++++++++++++++++++++------------ - src/hb-ft.c | 72 +++++++++++++++++++++++--------------- - src/hb-ot-shape.cc | 7 ++-- - 6 files changed, 154 insertions(+), 87 deletions(-) - -commit ec6c0e54d322d58cbc835feb58dcec7ede6ab744 -Author: Behdad Esfahbod -Date: Tue Oct 26 11:28:14 2010 -0400 - - Fix blob leak - - src/hb-font.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit bd7378b2ef9793de4e7f57b920f29f48ac9d0c25 -Author: Behdad Esfahbod -Date: Wed Oct 13 18:33:16 2010 -0400 - - Massage mask setting a bit more - - Still finding the exact correct way the masks should be set. - - src/hb-buffer-private.hh | 19 ++++++++++++++++--- - src/hb-buffer.cc | 9 +++++++++ - src/hb-ot-shape.cc | 6 ++++-- - 3 files changed, 29 insertions(+), 5 deletions(-) - -commit 961f9baa7bc3556f1e4e7135859cebe1351f73a4 -Author: Behdad Esfahbod -Date: Wed Oct 13 17:17:00 2010 -0400 - - Oops, actually set global mask - - src/hb-buffer.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 39dede9ffffe732f78cbd092ccb3b48d77ddd66d -Author: Behdad Esfahbod -Date: Wed Oct 13 15:54:06 2010 -0400 - - Make sure boolean features always use value=1 - - Previously boolean features turned on the entire feature mask. This is - wrong if feature is Alternate and user has provided values bigger than one. - Though, I don't think other engines support such corner cases. - - src/hb-ot-map-private.hh | 10 ++++++++-- - src/hb-ot-map.cc | 3 ++- - src/hb-ot-shape-complex-arabic.cc | 2 +- - src/hb-ot-shape.cc | 2 +- - 4 files changed, 12 insertions(+), 5 deletions(-) - -commit 3506b2e78db27e7835bd2c09c053a9807c9cac40 -Author: Behdad Esfahbod -Date: Wed Oct 13 15:38:52 2010 -0400 - - Return early if mask is 0 - - src/hb-buffer.cc | 3 +++ - 1 file changed, 3 insertions(+) - -commit 5c1c8c9c50ddbe66ea595afb245a208b7775b27c -Author: Behdad Esfahbod -Date: Wed Oct 13 15:36:38 2010 -0400 - - Make sure feature values don't leak out of their mask - - src/hb-buffer.cc | 1 + - 1 file changed, 1 insertion(+) - -commit 852912fc2db06b6183a2dc87c45ec1b563063572 -Author: Behdad Esfahbod -Date: Wed Oct 13 15:34:50 2010 -0400 - - Fix applying default-value for features - - Previously if a default global feature was overrided by a non-global - user feature, we were not setting any default mask for the feature, - essentially disabling the feature by default. Fix that. - - TODO | 2 -- - src/hb-ot-map-private.hh | 10 ++++++---- - src/hb-ot-map.cc | 13 +++++++------ - 3 files changed, 13 insertions(+), 12 deletions(-) - -commit 2989be4919242670c94825bded96db20a7b2035b -Author: Behdad Esfahbod -Date: Wed Oct 13 15:18:29 2010 -0400 - - Set user masks after complex masks - - src/hb-ot-shape.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit a7820b7b15a809b4a1a4077147ceed7bea528483 -Author: Behdad Esfahbod -Date: Wed Oct 13 14:20:48 2010 -0400 - - Add TODO item - - TODO | 2 ++ - 1 file changed, 2 insertions(+) - -commit 04a3023a66203d94b77f2d7a8d6bcdedf067e155 -Author: Behdad Esfahbod -Date: Wed Oct 13 10:57:27 2010 -0400 - - Cleanup TODO - - Looks like a roadmap now. - - TODO | 72 +++++++++++++++++++++++++++++++++++++++++++++++++++++++------------- - 1 file changed, 59 insertions(+), 13 deletions(-) - -commit 3111b8a0d5b38da57c0f6285aec2b92eb690188f -Author: Behdad Esfahbod -Date: Wed Oct 13 10:41:53 2010 -0400 - - Fix stupid bug, oops - - src/hb-font.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 3703f88b74707113e782eb6ca9a77603561760d0 -Author: Behdad Esfahbod -Date: Tue Oct 12 18:34:20 2010 -0400 - - Step the version up to 0.2 now that Arabic shaper is in - - configure.ac | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 758f68b860b44b5a04eb3dde5cb40b1b04cf634a -Author: Behdad Esfahbod -Date: Tue Oct 12 17:37:44 2010 -0400 - - Fix Arabic shaper - - It's tested now. It works! - - src/hb-ot-shape-complex-arabic.cc | 7 ++++--- - 1 file changed, 4 insertions(+), 3 deletions(-) - -commit 13403bc67a01e0d4908fb964093fd02ddd11c580 -Author: Behdad Esfahbod -Date: Tue Oct 12 17:23:54 2010 -0400 - - Hookup Arabic shaper! - - Not tested yet. - - src/hb-ot-shape-complex-arabic.cc | 6 +++--- - src/hb-ot-shape-complex-private.hh | 37 ++++++++++++++++++++++--------------- - src/hb-ot-shape-private.hh | 14 +++++++++++++- - src/hb-ot-shape.cc | 3 ++- - 4 files changed, 40 insertions(+), 20 deletions(-) - -commit 57ac0ecb7843533b2e6e6d6c8a12b2a44437cc1c -Author: Behdad Esfahbod -Date: Tue Oct 12 17:07:02 2010 -0400 - - Merge clearing masks and setting global masks - - src/hb-buffer-private.hh | 11 ++++++----- - src/hb-buffer.cc | 5 +++-- - src/hb-ot-map.cc | 2 +- - src/hb-ot-shape.cc | 7 ++----- - 4 files changed, 12 insertions(+), 13 deletions(-) - -commit fc96596b7c1c4e62491e951a3c256fb00dcde550 -Author: Behdad Esfahbod -Date: Tue Oct 12 17:00:25 2010 -0400 - - Form clusters before setting masks - - src/hb-ot-shape.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 1e80782244cdb1dedae9d1e61079d0508e57ca72 -Author: Behdad Esfahbod -Date: Tue Oct 12 17:00:07 2010 -0400 - - Clear masks before setting them up, not after! - - src/hb-ot-shape.cc | 6 ++---- - 1 file changed, 2 insertions(+), 4 deletions(-) - -commit fd3d32d31cb6d74a9994b6850d539fd0b707d941 -Author: Behdad Esfahbod -Date: Tue Oct 12 16:57:47 2010 -0400 - - Add hb_ot_shape_execute() - - Not public yet. - - src/hb-ot-shape-private.hh | 5 ++--- - src/hb-ot-shape.cc | 19 ++++++++++++++----- - 2 files changed, 16 insertions(+), 8 deletions(-) - -commit 49baa1f69efb0e3c62e45bd59dd88459a84bf390 -Author: Behdad Esfahbod -Date: Tue Oct 12 16:50:36 2010 -0400 - - Add hb_ot_complex_shaper_t stuff and start hooking Arabic shaper up - - src/Makefile.am | 3 +- - src/hb-ot-map-private.hh | 2 +- - src/hb-ot-map.cc | 2 +- - ...ape-arabic.cc => hb-ot-shape-complex-arabic.cc} | 9 +++ - src/hb-ot-shape-complex-private.hh | 88 ++++++++++++++++++++++ - src/hb-ot-shape-private.hh | 12 +-- - src/hb-ot-shape.cc | 8 +- - 7 files changed, 107 insertions(+), 17 deletions(-) - -commit 605ed468f380f86d642031f6451447d270cb6de1 -Author: Behdad Esfahbod -Date: Tue Oct 12 16:19:29 2010 -0400 - - Add hb_ot_shape_plan_t - - This is the object that a separate plan/execute shaping API will use in - between the two stages. - - src/hb-ot-shape-private.hh | 12 ++++++++++-- - src/hb-ot-shape.cc | 38 ++++++++++++++++++-------------------- - 2 files changed, 28 insertions(+), 22 deletions(-) - -commit 895fb5d364e7ae5d9d2e34b9f68b8651804369ef -Author: Behdad Esfahbod -Date: Tue Oct 12 16:00:21 2010 -0400 - - Refactor, in a different direction - - src/hb-ot-map-private.hh | 15 ++++++++------- - src/hb-ot-map.cc | 23 ++++++++++++----------- - src/hb-ot-shape-private.hh | 13 +------------ - src/hb-ot-shape.cc | 33 +++++++++++++++++---------------- - 4 files changed, 38 insertions(+), 46 deletions(-) - -commit d2ba016ca1ba7489537768b619980d5159b5870c -Author: Behdad Esfahbod -Date: Tue Oct 12 15:35:45 2010 -0400 - - More refactoring - - src/hb-ot-map-private.hh | 32 +++++--------------------------- - src/hb-ot-map.cc | 32 +++++++++++++++++++++++++++++--- - src/hb-ot-shape-private.hh | 16 ++++++++++++++-- - src/hb-ot-shape.cc | 43 ++++++++++++++++++++++++++++--------------- - src/hb-ot-shape.h | 10 +++++----- - 5 files changed, 81 insertions(+), 52 deletions(-) - -commit 66e487dfbfdccd0c4be8cd11661d412ca27c3425 -Author: Behdad Esfahbod -Date: Tue Oct 12 13:51:19 2010 -0400 - - Update Arabic shaping table to Unicode 6.0.0. - - src/hb-ot-shape-arabic.cc | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit f4792d99eee0e8cd72b7cb01c96a09f16e2a72ce -Author: Behdad Esfahbod -Date: Tue Oct 12 12:32:18 2010 -0400 - - Fix infinite loop! - - Untested code is indeed buggy code. - - Mozilla bug #603352. - - src/hb-ot-tag.c | 6 ++---- - 1 file changed, 2 insertions(+), 4 deletions(-) - -commit 993d1e786a32612b796dae8309ce402a4121bec7 -Author: Behdad Esfahbod -Date: Tue Oct 12 11:17:30 2010 -0400 - - Fix missing negation in unreachable code! - - Mozilla bug #603346 - - src/hb-open-type-private.hh | 5 ++--- - 1 file changed, 2 insertions(+), 3 deletions(-) - -commit 52601275d5e4000dada4f925fb78723eeeee7bd4 -Author: Behdad Esfahbod -Date: Fri Oct 8 20:38:46 2010 -0400 - - More separation - - src/hb-ot-shape.cc | 14 +++++--------- - 1 file changed, 5 insertions(+), 9 deletions(-) - -commit 6b7e6758626268ba1c7c266128e618ec73ae2c0f -Author: Behdad Esfahbod -Date: Fri Oct 8 20:30:04 2010 -0400 - - Minor - - src/hb-ot-shape.cc | 22 +++++++++++----------- - 1 file changed, 11 insertions(+), 11 deletions(-) - -commit aa9c450bb2d7c3c9e36ea32e3558250391a0582d -Author: Behdad Esfahbod -Date: Fri Oct 8 20:27:38 2010 -0400 - - Enable 'rtlm' mirroring - - src/hb-ot-map-private.hh | 9 +++++---- - src/hb-ot-shape.cc | 30 +++++++++++++++--------------- - 2 files changed, 20 insertions(+), 19 deletions(-) - -commit 36925f695d349a53d52ecc3a58f18240a6977463 -Author: Behdad Esfahbod -Date: Fri Oct 8 20:20:32 2010 -0400 - - Rename hb_mask_allocator_t to hb_ot_map_t - - hb_ot_plan_t may be a better name, donno. - - src/hb-ot-map-private.hh | 4 ++-- - src/hb-ot-map.cc | 2 +- - src/hb-ot-shape-private.hh | 4 ++-- - src/hb-ot-shape.cc | 49 +++++++++++++++++++++------------------------- - 4 files changed, 27 insertions(+), 32 deletions(-) - -commit f5dd3be46b5c77a2c5b97b82a0b67ac9e851b898 -Author: Behdad Esfahbod -Date: Fri Oct 8 20:16:23 2010 -0400 - - Improve checks - - src/check-c-linkage-decls.sh | 2 +- - src/check-header-guards.sh | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit 5a2b0b3878cd9c62121bb4fd6344e102a9ee1825 -Author: Behdad Esfahbod -Date: Fri Oct 8 20:14:57 2010 -0400 - - Add hb-ot-map.cc - - src/Makefile.am | 1 + - src/hb-ot-map-private.hh | 129 +----------------------------------- - src/hb-ot-map.cc | 165 +++++++++++++++++++++++++++++++++++++++++++++++ - 3 files changed, 168 insertions(+), 127 deletions(-) - -commit ecc4550ed7bc900a61081edfbcd0ad09cbf29b36 -Author: Behdad Esfahbod -Date: Fri Oct 8 20:05:29 2010 -0400 - - Fix feature overriding - - src/hb-ot-map-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 8f08c3275040870a645ef034a38d30c05c619f21 -Author: Behdad Esfahbod -Date: Fri Oct 8 19:43:48 2010 -0400 - - Minor cleanup - - src/hb-open-type-private.hh | 8 ++---- - src/hb-ot-map-private.hh | 61 +++++++++++++-------------------------------- - src/hb-ot-tag.c | 11 ++++---- - src/hb-private.h | 4 +++ - 4 files changed, 28 insertions(+), 56 deletions(-) - -commit a806762a314e83154793d96ee665e6668d6b56de -Author: Behdad Esfahbod -Date: Fri Oct 8 19:18:40 2010 -0400 - - Add hb-ot-shape-private.hh - - src/Makefile.am | 1 + - src/hb-ot-shape-arabic.cc | 2 +- - src/hb-ot-shape-private.hh | 60 ++++++++++++++++++++++++++++++++++++++++++++++ - 3 files changed, 62 insertions(+), 1 deletion(-) - -commit 4924affe0f0adf75f2a0e2137a71206b0576d63f -Author: Behdad Esfahbod -Date: Fri Oct 8 19:18:16 2010 -0400 - - Add hb-ot-map-private.hh - - src/Makefile.am | 1 + - src/hb-ot-map-private.hh | 307 +++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-ot-shape.cc | 274 ++---------------------------------------- - 3 files changed, 315 insertions(+), 267 deletions(-) - -commit a7c5046d6b676a32298b97403a49235f7f255161 -Author: Behdad Esfahbod -Date: Fri Oct 8 18:47:47 2010 -0400 - - Add private hb_segment_properties_t - - src/hb-buffer-private.hh | 14 ++++++++------ - 1 file changed, 8 insertions(+), 6 deletions(-) - -commit b897c607d91d569f4eaa681d1f5b3d9f3d2bb093 -Author: Behdad Esfahbod -Date: Fri Oct 8 18:41:57 2010 -0400 - - Flip the OT bit-allocation vs gsub/gpos inside-out - - We now build our entire attack plan before jumping in. - - src/hb-ot-shape.cc | 333 ++++++++++++++++++++++++++++------------------------- - 1 file changed, 176 insertions(+), 157 deletions(-) - -commit e89b7d2a61b7f58e6c7cec00d5ce2246dee1e8a1 -Author: Behdad Esfahbod -Date: Fri Oct 8 12:29:59 2010 -0400 - - Logically separate feature collection - - src/hb-ot-shape.cc | 29 ++++++++++++++++++----------- - 1 file changed, 18 insertions(+), 11 deletions(-) - -commit 5b88908f12ad1d828dd6075fb8fc0036c2d6af3a -Author: Behdad Esfahbod -Date: Fri Oct 8 12:23:01 2010 -0400 - - Minor - - src/hb-ot-shape.cc | 18 ++++++------------ - 1 file changed, 6 insertions(+), 12 deletions(-) - -commit 5360ce0c5c33f921b3f9ad3f42529a19df5ad0fe -Author: Behdad Esfahbod -Date: Thu Oct 7 21:21:11 2010 -0400 - - Move some more code around - - src/hb-ot-shape.cc | 27 +++++++++++++-------------- - 1 file changed, 13 insertions(+), 14 deletions(-) - -commit d9c726078828d50db62e05407a3f38f2e7607533 -Author: Behdad Esfahbod -Date: Thu Oct 7 21:19:54 2010 -0400 - - Minor - - src/hb-ot-shape.cc | 18 +++++++++--------- - 1 file changed, 9 insertions(+), 9 deletions(-) - -commit efe0d682e860ffd23a1d17c68c8273f17d51c1c9 -Author: Behdad Esfahbod -Date: Thu Oct 7 21:12:46 2010 -0400 - - Simplify compiling lookups - - src/hb-ot-shape.cc | 66 ++++++++++++++++++++++-------------------------------- - 1 file changed, 27 insertions(+), 39 deletions(-) - -commit 476c94218b4f5b8e119e82b0e10b641e0c10bf56 -Author: Behdad Esfahbod -Date: Thu Oct 7 17:47:33 2010 -0400 - - Rename - - src/hb-ot-shape.cc | 18 ++++++++++-------- - 1 file changed, 10 insertions(+), 8 deletions(-) - -commit 34db6f031d7ac009f554386ef990bad44886b9ee -Author: Behdad Esfahbod -Date: Thu Oct 7 01:21:19 2010 -0400 - - Add XXX note - - src/hb-buffer.cc | 1 + - 1 file changed, 1 insertion(+) - -commit 98aa3f65446496dc250d9b01d98cacfdf1157e06 -Author: Behdad Esfahbod -Date: Wed Oct 6 00:23:36 2010 -0400 - - Call hb_ot_shape_setup_lookups_complex() - - src/hb-ot-shape.cc | 10 +++++++++- - 1 file changed, 9 insertions(+), 1 deletion(-) - -commit f1d07885dc358e79c237e824c94b3320c0a9c17d -Author: Behdad Esfahbod -Date: Wed Oct 6 00:21:37 2010 -0400 - - Rename setup_lookups() - - src/hb-ot-shape.cc | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -commit affc5abac7bdae51df85856a5478d34d96fda4fe -Author: Behdad Esfahbod -Date: Wed Oct 6 00:18:16 2010 -0400 - - Move table_tag to hb_ot_shape_context_t - - src/hb-ot-shape.cc | 31 +++++++++++++++++-------------- - 1 file changed, 17 insertions(+), 14 deletions(-) - -commit 967240dd8b96802345ef273e75427066e91ea8fb -Author: Behdad Esfahbod -Date: Tue Oct 5 23:00:05 2010 -0400 - - Add internal hb_ot_shape_context_t - - src/hb-ot-shape-arabic.cc | 26 ++--- - src/hb-ot-shape.cc | 237 +++++++++++++++++++--------------------------- - 2 files changed, 108 insertions(+), 155 deletions(-) - -commit 3eb936f1539475098f39be78654b9c39b86f0799 -Author: Behdad Esfahbod -Date: Tue Oct 5 18:36:58 2010 -0400 - - Add Arabic/Syriac/N'ko shaping logic - - Not hooked up just yet. - - src/Makefile.am | 9 + - src/gen-arabic-joining-table.py | 39 +++ - src/hb-ot-shape-arabic.cc | 716 ++++++++++++++++++++++++++++++++++++++++ - 3 files changed, 764 insertions(+) - -commit 0109816b50064a314389333ff64aaf22cb4b1e56 -Author: Behdad Esfahbod -Date: Tue Oct 5 18:36:45 2010 -0400 - - Update build system - - autogen.sh | 3 --- - configure.ac | 1 + - 2 files changed, 1 insertion(+), 3 deletions(-) - -commit e81d7afe6e0e9dd26025f3243a11cf0b408a8046 -Author: Behdad Esfahbod -Date: Mon Oct 4 18:18:48 2010 -0400 - - Add hb_face_get_upem() - - src/hb-font.cc | 6 ++++++ - src/hb-font.h | 3 +++ - 2 files changed, 9 insertions(+) - -commit d47f79db92fa45d51cd5f7845db8a206f5ec122b -Author: Behdad Esfahbod -Date: Mon Oct 4 18:13:30 2010 -0400 - - Add TODO item - - TODO | 2 ++ - 1 file changed, 2 insertions(+) - -commit bd361945a89ea31e6c4525aa030e18744ea81fb3 -Author: Behdad Esfahbod -Date: Mon Oct 4 17:22:57 2010 -0400 - - Add API comments - - src/hb-font.h | 17 +++++++++++++++-- - 1 file changed, 15 insertions(+), 2 deletions(-) - -commit 645f6f265b5f6fb85b3c0f59ea874d58c86e3917 -Author: Behdad Esfahbod -Date: Mon Oct 4 17:01:01 2010 -0400 - - Add is_mutable() functions - - Correspond to the make_mutable() ones. - - src/hb-font.cc | 6 ++++++ - src/hb-font.h | 2 ++ - src/hb-unicode.c | 6 ++++++ - src/hb-unicode.h | 2 ++ - 4 files changed, 16 insertions(+) - -commit 19c0eab8cf96d00e168c4b11ec435019c1ed44f7 -Author: Behdad Esfahbod -Date: Mon Oct 4 16:45:21 2010 -0400 - - Add getters for all setter APIs - - One in particular is not a straight getter: hb_font_unset_funcs() is - special because of the specific needs of the lifecycle management of - the user_data object. - - src/hb-font.cc | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-font.h | 40 +++++++++++++++++++++++++++++++++++ - src/hb-unicode.c | 32 ++++++++++++++++++++++++++++ - src/hb-unicode.h | 31 ++++++++++++++++++++++++++- - 4 files changed, 166 insertions(+), 1 deletion(-) - -commit f0feb084b0fd1510474b25404d1dcc5686ee0538 -Author: Behdad Esfahbod -Date: Sun Oct 3 19:09:39 2010 -0400 - - Minor - - src/hb-ot-layout-private.hh | 12 +++++++----- - 1 file changed, 7 insertions(+), 5 deletions(-) - -commit ac0c1663fa6e93a5a94c88fc7497bc11ca17f0a1 -Author: Behdad Esfahbod -Date: Fri Oct 1 19:09:23 2010 -0400 - - Avoid div-by-zero, validate upem - - src/hb-ot-head-private.hh | 7 +++++++ - src/hb-ot-layout-private.hh | 6 +++--- - 2 files changed, 10 insertions(+), 3 deletions(-) - -commit 7f97d2cd904ea999c099c73c52187c5d65aeec67 -Author: Behdad Esfahbod -Date: Fri Oct 1 18:58:50 2010 -0400 - - Pedantic - - src/hb-open-type-private.hh | 12 ++++++------ - src/hb-ot-layout-common-private.hh | 2 +- - src/hb-ot-layout-gdef-private.hh | 10 +++++----- - src/hb-ot-layout-gpos-private.hh | 6 +++--- - 4 files changed, 15 insertions(+), 15 deletions(-) - -commit 2841436926d6a406bd1f4a35c66a0e3c2fdbeca7 -Author: Behdad Esfahbod -Date: Wed Sep 29 12:20:36 2010 -0400 - - Don't zero glyph advances in MarkToBase and similar lookups - - See email thread "Should MarkToBase attachment zero the mark advance?" - started by Jonathan Kew on 23 August 2010 for details. - - src/hb-ot-layout-gpos-private.hh | 2 -- - 1 file changed, 2 deletions(-) - -commit 36b3862009c00ad922d68810173a69ac59723365 -Author: Behdad Esfahbod -Date: Wed Sep 29 12:10:24 2010 -0400 - - One fewer cmp() implementation... - - src/hb-ot-layout-common-private.hh | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit 4e573715ae5f5ed486ad66382bb44c47a86591ff -Author: Behdad Esfahbod -Date: Tue Sep 28 16:23:58 2010 -0400 - - Improve cmp function parameter namings and casts - - No semantic change. - - src/hb-open-type-private.hh | 6 +++--- - src/hb-ot-layout-common-private.hh | 6 +++--- - src/hb-ot-shape.cc | 8 ++++---- - 3 files changed, 10 insertions(+), 10 deletions(-) - -commit dca8aff24652c83c53efbb9d06e5e1c7ef1c2fa5 -Author: Behdad Esfahbod -Date: Tue Sep 28 16:25:23 2010 -0400 - - Add comment re DejaVu Sans Mono having 'dflt' script - - src/hb-ot-layout.cc | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 9dc45401c07cb40114067cafbe286c63a9598f3b -Author: Behdad Esfahbod -Date: Tue Sep 28 16:23:28 2010 -0400 - - Fix stupid bug in bsearch cmp function! - - src/hb-ot-layout-common-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 6fca4c18c42bdcbc67ee8855499c51c7d6311eb2 -Author: Behdad Esfahbod -Date: Thu Sep 23 10:28:51 2010 -0400 - - Add TODO iteam - - TODO | 2 ++ - 1 file changed, 2 insertions(+) - -commit f2a30bd605a57b99fce4b78e288c2ca62f7191ad -Author: Behdad Esfahbod -Date: Thu Sep 23 10:27:08 2010 -0400 - - Remove unimplemented method hb_font_get_funcs() - - Got to add a suitable replacement. - - src/hb-font.h | 3 --- - 1 file changed, 3 deletions(-) - -commit 7b9a38a112aa2421d97187a9b30619360edeabbe -Author: Behdad Esfahbod -Date: Wed Sep 22 17:42:59 2010 -0400 - - Add test.c using public API - - src/Makefile.am | 6 +++- - src/test.c | 94 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ - 2 files changed, 99 insertions(+), 1 deletion(-) - -commit 9ea7368fce3fa373d8d2925961ad211f5cf6ce70 -Author: Behdad Esfahbod -Date: Wed Sep 22 17:38:44 2010 -0400 - - Fix hb_ot_layout leak - - src/hb-ot-layout.cc | 2 ++ - 1 file changed, 2 insertions(+) - -commit 8e577acae2e605547b6a1b9b3a941cb9e3c56a4c -Author: Behdad Esfahbod -Date: Wed Sep 22 17:37:02 2010 -0400 - - Fix blob refcounting with insane SFNT table directories - - src/hb-font.cc | 4 +--- - 1 file changed, 1 insertion(+), 3 deletions(-) - -commit 75371bea4fbf50b8604d2698b4935c011648a6b6 -Author: Behdad Esfahbod -Date: Wed Sep 22 17:12:10 2010 -0400 - - Add TODO item - - TODO | 2 ++ - 1 file changed, 2 insertions(+) - -commit 5bd1e95236320aed60fb29ca1e93b9595d4aeeec -Author: Behdad Esfahbod -Date: Wed Sep 22 16:46:18 2010 -0400 - - Speedup Device table delta computation for common cases - - src/hb-ot-layout-common-private.hh | 25 +++++++++++++++++++++---- - 1 file changed, 21 insertions(+), 4 deletions(-) - -commit ed4acbde9c5e3323cc95037b500d1bf2878ed3ee -Author: Behdad Esfahbod -Date: Mon Aug 16 14:36:27 2010 -0400 - - Fix NULL dereference - - Reported by Jonathan Kew. Face table handling needs to be redone - anyway, but fix this for now. - - src/hb-ot-layout.cc | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 258305c2a5dd47bd2d83f12eaf9caa5b19ae5efb -Author: Behdad Esfahbod -Date: Fri Aug 13 14:10:02 2010 -0400 - - [GPOS] Fix div-by-zero - - Patch by Jonathan Kew. Mozilla bug #465728. - - src/hb-ot-layout-gpos-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 2422c4b96d32037a5cdaef4c427ed1d25db5f647 -Author: Behdad Esfahbod -Date: Fri Aug 13 14:00:34 2010 -0400 - - Add TODO - - src/hb-ot-shape.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 27f0b092a13344e8791c496c77a3c1e5de4f887c -Author: Behdad Esfahbod -Date: Fri Jul 23 17:35:54 2010 -0400 - - Logically separate feature allocation from application - - src/hb-ot-shape.cc | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 6cf63132dc771e1bcd5627720daf4bd2ea0800a5 -Author: Behdad Esfahbod -Date: Fri Jul 23 17:32:26 2010 -0400 - - Minor - - src/hb-ot-shape.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 4e4ef24e46f273ad2bdda2f718223e05b37dd50f -Author: Behdad Esfahbod -Date: Fri Jul 23 17:22:11 2010 -0400 - - Towards separating bit allocation from shaping - - src/hb-buffer-private.hh | 9 ++++++--- - src/hb-buffer.cc | 12 ++++++------ - src/hb-ot-layout-gpos-private.hh | 2 +- - src/hb-ot-layout.cc | 2 +- - src/hb-ot-shape.cc | 41 ++++++++++++++++------------------------ - 5 files changed, 30 insertions(+), 36 deletions(-) - -commit da6cff3864d2ef4a061a29e5918359bafcd51f4c -Author: Behdad Esfahbod -Date: Fri Jul 23 15:40:58 2010 -0400 - - Add TODO items - - TODO | 3 +++ - 1 file changed, 3 insertions(+) - -commit acdba3f90b232fc12fcb200dca2584481b339118 -Author: Behdad Esfahbod -Date: Fri Jul 23 15:11:18 2010 -0400 - - Prefer C linkage - - src/Makefile.am | 1 + - src/check-c-linkage-decls.sh | 18 ++++++++++++++++++ - src/hb-blob-private.h | 2 ++ - src/hb-blob.c | 18 ++++++++++++------ - src/hb-blob.h | 2 ++ - src/hb-buffer-private.hh | 1 + - src/hb-buffer.cc | 7 ++++++- - src/hb-buffer.h | 1 + - src/hb-common.c | 6 ++++++ - src/hb-common.h | 21 +++++++++++++-------- - src/hb-font-private.h | 1 + - src/hb-font.cc | 4 ++++ - src/hb-font.h | 1 + - src/hb-ft.c | 10 ++++++++-- - src/hb-ft.h | 2 ++ - src/hb-glib.c | 6 ++++++ - src/hb-glib.h | 2 ++ - src/hb-graphite.cc | 6 ++++++ - src/hb-graphite.h | 3 ++- - src/hb-icu.c | 6 ++++++ - src/hb-icu.h | 2 ++ - src/hb-language.c | 5 +++++ - src/hb-language.h | 2 ++ - src/hb-object-private.h | 2 ++ - src/hb-open-file-private.hh | 4 ++++ - src/hb-open-type-private.hh | 5 +++++ - src/hb-ot-head-private.hh | 5 +++++ - src/hb-ot-layout-common-private.hh | 6 ++++++ - src/hb-ot-layout-gdef-private.hh | 4 ++++ - src/hb-ot-layout-gpos-private.hh | 6 ++++++ - src/hb-ot-layout-gsub-private.hh | 7 ++++++- - src/hb-ot-layout-gsubgpos-private.hh | 13 +++++++++++++ - src/hb-ot-layout-private.hh | 3 ++- - src/hb-ot-layout.cc | 5 +++++ - src/hb-ot-layout.h | 1 + - src/hb-ot-shape.cc | 6 ++++++ - src/hb-ot-shape.h | 2 ++ - src/hb-ot-tag.c | 5 +++++ - src/hb-ot-tag.h | 2 ++ - src/hb-ot.h | 3 +++ - src/hb-private.h | 5 +++++ - src/hb-shape.cc | 5 +++++ - src/hb-shape.h | 1 + - src/hb-unicode-private.h | 1 + - src/hb-unicode.c | 6 ++++++ - src/hb-unicode.h | 1 + - src/hb.h | 3 +++ - src/main.cc | 6 ++++++ - 48 files changed, 214 insertions(+), 20 deletions(-) - -commit cc6d52279d10a2edcf0d86c3a18a79ff4f6d3858 -Author: Behdad Esfahbod -Date: Fri Jul 23 15:00:13 2010 -0400 - - De-C++ where possible - - Helps with avoiding many "extern C" declarations in source files. - - src/Makefile.am | 4 ++-- - src/check-header-guards.sh | 2 +- - src/{hb-font-private.hh => hb-font-private.h} | 6 +++--- - src/hb-font.cc | 2 +- - src/{hb-ft.cc => hb-ft.c} | 2 +- - src/hb-graphite.cc | 2 +- - src/hb-ot-layout-gdef-private.hh | 2 +- - src/hb-ot-layout-private.hh | 2 +- - 8 files changed, 11 insertions(+), 11 deletions(-) - -commit 0dd200d28f51bf4062d8a377432c8977c80cb210 -Author: Behdad Esfahbod -Date: Fri Jul 23 14:56:29 2010 -0400 - - Header dep cleanup - - src/hb-font-private.hh | 2 -- - src/hb-ot-layout-private.hh | 1 + - 2 files changed, 1 insertion(+), 2 deletions(-) - -commit fb0d25246267851a1fc200ead28c56359a40047e -Author: Behdad Esfahbod -Date: Fri Jul 23 14:54:22 2010 -0400 - - dos2unix - - src/hb-ot-head-private.hh | 256 +++++++++++++++++++++++----------------------- - 1 file changed, 128 insertions(+), 128 deletions(-) - -commit 81408cd51ce575891e79e6483be187130f864c28 -Author: Behdad Esfahbod -Date: Fri Jul 23 14:46:57 2010 -0400 - - Don't use "operator =" - - Some compilers don't like operator = defined on members of union members - either. Reported by Ginn Chen for Sun Studio compilers. - - src/hb-open-type-private.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 39fe34d4c356516f0a92f42b13a168572829d24e -Author: Behdad Esfahbod -Date: Thu Jul 22 18:12:38 2010 -0400 - - Add TODO option - - TODO | 2 ++ - 1 file changed, 2 insertions(+) - -commit 243a96f41482edb83e4798358064bd3329dd278c -Author: Behdad Esfahbod -Date: Wed Jul 21 17:21:12 2010 -0400 - - Add arm build fix to TODO - - TODO | 1 + - 1 file changed, 1 insertion(+) - -commit c407f05f99f9225916d3d0ae06eac8fbc8b55b97 -Author: Behdad Esfahbod -Date: Wed Jul 21 17:20:44 2010 -0400 - - Remove fixed TODO item - - TODO | 1 - - 1 file changed, 1 deletion(-) - -commit 4f801bd6586defdbf70162e0c7f8968d2b476df2 -Author: Behdad Esfahbod -Date: Wed Jul 21 16:37:01 2010 -0400 - - Mozilla bug 580233 - check for zero-length record in hb sanitizer. - - Patch / report by Jonathan Kew. - - src/hb-open-type-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 17e9ff938b638fd1cb80c990ba13bd47562116b8 -Author: Behdad Esfahbod -Date: Thu Jul 15 11:21:34 2010 -0700 - - Fix 64bit issues with debug prints - - src/hb-blob.c | 10 +++++----- - src/hb-open-type-private.hh | 5 +++-- - 2 files changed, 8 insertions(+), 7 deletions(-) - -commit fd56ae49637b978ea3b36fab5b48f1a3cc99e90e -Author: Behdad Esfahbod -Date: Thu Jul 8 00:53:40 2010 -0400 - - Don't bother sorting, it's a safe font error if the array is not sorted - - src/hb-open-type-private.hh | 29 ----------------------------- - src/hb-ot-layout-common-private.hh | 7 ------- - 2 files changed, 36 deletions(-) - -commit cc8a4abea68f2dba26feb5785f9e518e6853c744 -Author: Behdad Esfahbod -Date: Thu Jul 8 00:40:04 2010 -0400 - - Use bsearch where applicable - - src/hb-open-type-private.hh | 49 +++++++++++++ - src/hb-ot-layout-common-private.hh | 145 +++++++++++++------------------------ - 2 files changed, 100 insertions(+), 94 deletions(-) - -commit 2f418f5709b2b8b3ef2f6056b9d8c13b66f0b74a -Author: Behdad Esfahbod -Date: Wed Jul 7 22:07:40 2010 -0400 - - Remove useless TODO - - src/hb-open-file-private.hh | 1 - - 1 file changed, 1 deletion(-) - -commit da8edbb62204dc39f93d500ef85929e234e0bd19 -Author: Behdad Esfahbod -Date: Wed Jun 9 07:15:39 2010 -0400 - - Fix header - - src/hb-buffer-private.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit d05d13df02fbe76814694fe49cc01bbb41c3d0e7 -Author: Behdad Esfahbod -Date: Wed Jun 9 07:15:03 2010 -0400 - - Add a test for header preprocessor guards - - src/Makefile.am | 4 +++- - src/check-header-guards.sh | 20 ++++++++++++++++++++ - src/check-libstdc++.sh | 1 - - 3 files changed, 23 insertions(+), 2 deletions(-) - -commit 0f0cd9d361f1bb614aa3fd4616160d027062370e -Author: Behdad Esfahbod -Date: Wed Jun 9 06:32:56 2010 -0400 - - Fix header tags - - src/hb-font-private.hh | 6 +++--- - src/hb-object-private.h | 6 +++--- - src/hb-open-type-private.hh | 4 ++-- - src/hb-ot-layout-private.hh | 6 +++--- - src/hb-ot-shape.h | 2 +- - 5 files changed, 12 insertions(+), 12 deletions(-) - -commit f2a1b411b1d48c3dfac0df8e78c848d9aa3bb047 -Author: Behdad Esfahbod -Date: Thu Jun 3 11:37:51 2010 -0400 - - Followup fix for variation-selectors - - Patch from Jonathan Kew - - src/hb-ot-shape.cc | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit a224b4d502d026fa642ee4098bf7bc0b4ba7ce27 -Author: Behdad Esfahbod -Date: Wed Jun 2 22:24:54 2010 -0400 - - Fix skipping variation-selectors - - src/hb-ot-shape.cc | 14 ++++++++------ - 1 file changed, 8 insertions(+), 6 deletions(-) - -commit 81a77b115db401f69e869690f24b9047370bdfde -Author: Behdad Esfahbod -Date: Tue Jun 1 23:03:54 2010 -0400 - - Make feature sorting stable - - src/hb-ot-shape.cc | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit fdc322a82047c4bda9fa3dab4338a0eac1c1bde7 -Author: Behdad Esfahbod -Date: Fri May 28 20:55:52 2010 -0400 - - Minor - - src/hb-ot-shape.cc | 38 +++++++++++++++++++++----------------- - 1 file changed, 21 insertions(+), 17 deletions(-) - -commit f062ec6bb24b1c21d37b12adc7e944a5fe53526a -Author: Behdad Esfahbod -Date: Fri May 28 20:54:43 2010 -0400 - - Further simplify mask allocator - - src/hb-ot-shape.cc | 23 +++++++---------------- - 1 file changed, 7 insertions(+), 16 deletions(-) - -commit 8af45fda475d075c5a285002463a00a0423d3926 -Author: Behdad Esfahbod -Date: Fri May 28 20:41:20 2010 -0400 - - Fix global feature handling - - src/hb-ot-shape.cc | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -commit e04685ee7be01695ec437fab50f919f1b7423c57 -Author: Behdad Esfahbod -Date: Fri May 28 20:37:06 2010 -0400 - - Simplify mask allocation - - src/hb-ot-shape.cc | 48 ++++++++++++++++++++---------------------------- - 1 file changed, 20 insertions(+), 28 deletions(-) - -commit 0e235d0fc9bdeeaffa7215c21abc5d40767a10c7 -Author: Behdad Esfahbod -Date: Fri May 28 20:21:47 2010 -0400 - - Towards a mask allocator - - src/hb-ot-shape.cc | 291 ++++++++++++++++++++++++++++++++++------------------- - 1 file changed, 186 insertions(+), 105 deletions(-) - -commit 81c5e8724b740c6e42ed3a45e0574c7c5f3ad8e6 -Author: Behdad Esfahbod -Date: Fri May 28 18:31:16 2010 -0400 - - Allow disabling default features - - Patch from Jonathan Kew - - src/hb-buffer-private.hh | 18 +++-- - src/hb-buffer.cc | 15 ++-- - src/hb-ot-shape.cc | 196 ++++++++++++++++++++++++++++++++--------------- - 3 files changed, 153 insertions(+), 76 deletions(-) - -commit 2163afbf35044f59dbf449254e65b8c9feb6cdeb -Author: Behdad Esfahbod -Date: Thu May 27 14:04:15 2010 -0400 - - Add note about UTF-8 decoder - - src/hb-buffer.cc | 2 ++ - 1 file changed, 2 insertions(+) - -commit 226faa58f4e23eb655bebb0eff7206a3024c8d55 -Author: Behdad Esfahbod -Date: Thu May 27 11:42:34 2010 -0400 - - Fix loop - - src/hb-ot-tag.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 56bef5680cc76a67d16ca14ac69f0dda1a691968 -Author: Martin Hosken -Date: Thu May 27 10:09:04 2010 +0100 - - Fixes to Python and Graphite from Martin - - contrib/python/README | 10 ++++ - contrib/python/lib/fontconfig.pyx | 47 +++++++++++++++++ - contrib/python/lib/harfbuzz.pyx | 104 ++------------------------------------ - contrib/python/scripts/hbtestfont | 103 +++++++++++++++++++++++++++++++++---- - contrib/python/setup.py | 3 +- - src/hb-graphite.cc | 8 +-- - 6 files changed, 159 insertions(+), 116 deletions(-) - -commit b485da0b719cb03cc33da57802c5151301664c2f -Author: Behdad Esfahbod -Date: Thu May 27 11:39:19 2010 -0400 - - Disable Graphite as it crashes all over the place... - - src/hb-shape.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 93ac709b1f6b015371c29bf244a9ece62baedff0 -Author: Behdad Esfahbod -Date: Wed May 26 16:22:00 2010 -0400 - - Cypriot is RTL - - src/hb-unicode.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 15c7379c16dbb9ee8ed1c0333ca7492532ce8423 -Author: Behdad Esfahbod -Date: Wed May 26 10:48:10 2010 -0400 - - Revert "Merge remote branch 'martin/master'" - - This reverts commit 80af2812fb3b231ddcb4608ec13c6038a681c818, reversing - changes made to c442672ec2fb83ed41f3994b3aa4f92a097664ab. - - contrib/python/README | 10 ---- - contrib/python/lib/fontconfig.pyx | 47 ----------------- - contrib/python/lib/harfbuzz.pyx | 104 ++++++++++++++++++++++++++++++++++++-- - contrib/python/scripts/hbtestfont | 98 ++++------------------------------- - contrib/python/setup.py | 3 +- - src/Makefile.am | 2 +- - src/hb-graphite.cc | 8 +-- - src/hb-ot-shape.cc | 2 +- - src/hb-ot-tag.c | 1 - - src/hb-ot.h | 2 +- - src/hb-shape.cc | 2 +- - 11 files changed, 119 insertions(+), 160 deletions(-) - -commit 80af2812fb3b231ddcb4608ec13c6038a681c818 -Merge: c442672ec 3109a86ad -Author: Behdad Esfahbod -Date: Mon May 24 18:14:24 2010 +0100 - - Merge remote branch 'martin/master' - -commit c442672ec2fb83ed41f3994b3aa4f92a097664ab -Author: Behdad Esfahbod -Date: Mon May 24 18:02:32 2010 +0100 - - Fix struct initializers - - src/hb-ft.cc | 12 ++++++------ - src/hb-glib.c | 14 +++++++------- - src/hb-icu.c | 14 +++++++------- - 3 files changed, 20 insertions(+), 20 deletions(-) - -commit f5ac9de259773a5f86809892e58166a485d70a3d -Author: Behdad Esfahbod -Date: Mon May 24 18:01:09 2010 +0100 - - Minor - - src/hb-object-private.h | 24 +++++++++++++----------- - 1 file changed, 13 insertions(+), 11 deletions(-) - -commit f97bf4f81257c97a46dff51be31b2ec214d6c270 -Author: Behdad Esfahbod -Date: Mon May 24 17:50:19 2010 +0100 - - Make sure we initialize all callbacks upon creation - - Also fixes issue with unicode callbacks never being set really. - - src/hb-font.cc | 18 +++++++----------- - src/hb-unicode.c | 9 ++------- - 2 files changed, 9 insertions(+), 18 deletions(-) - -commit bf36a1074ab23abeab0a7a6c47db26770dc1ab0a -Author: Behdad Esfahbod -Date: Mon May 24 17:46:21 2010 +0100 - - Move all callback functions in a vtable structs - - src/hb-font-private.hh | 10 ++++++---- - src/hb-font.cc | 28 +++++++++++++++------------- - src/hb-ot-shape.cc | 4 ++-- - src/hb-unicode-private.h | 12 +++++++----- - src/hb-unicode.c | 32 +++++++++++++++++--------------- - 5 files changed, 47 insertions(+), 39 deletions(-) - -commit 3109a86add936ae4cc77541fc026c4fe2db4e328 -Author: Martin Hosken -Date: Mon May 24 13:25:37 2010 +0100 - - hb-graphite now no longer has -ve advances within clusters. Fix infinite loop in tag_to_script(). python fixed to use tag_to_script and allow hbtestfont to be passed font files, where fontconfig knows about them. - - contrib/python/lib/harfbuzz.pyx | 4 ++-- - contrib/python/scripts/hbtestfont | 6 +++++- - src/hb-graphite.cc | 4 ++-- - src/hb-ot-tag.c | 1 + - 4 files changed, 10 insertions(+), 5 deletions(-) - -commit e5bed0a37fe1b0576d08435179e455cb28eadcdb -Author: Martin Hosken -Date: Sat May 22 20:19:00 2010 +0100 - - Tidy up hbtestfont and add README - - contrib/python/README | 10 +++ - contrib/python/scripts/hbtestfont | 134 +++++++++++++++++++------------------- - 2 files changed, 77 insertions(+), 67 deletions(-) - -commit 70ae332fe66510500d303b6fcc79537833b42f05 -Author: Martin Hosken -Date: Sat May 22 19:58:00 2010 +0100 - - Add fontconfig to hbtestfont - - contrib/python/lib/fontconfig.pyx | 47 ++++++++++++++++++++++++++++ - contrib/python/scripts/hbtestfont | 64 ++++++++++++++++++++++++--------------- - contrib/python/setup.py | 3 +- - 3 files changed, 88 insertions(+), 26 deletions(-) - -commit 72631c9d06b131d82080f212908e7d0b0266b841 -Merge: 1432ab15c 1094a294f -Author: Martin Hosken -Date: Sat May 22 09:38:02 2010 +0100 - - Merge branch 'master' of git://git.freedesktop.org/~behdad/harfbuzz-ng - -commit 1432ab15c163eb0b5be3de66a4cb3df15ad73500 -Author: Martin Hosken -Date: Sat May 22 00:56:40 2010 +0100 - - Add graphical output to hbtestfont - - contrib/python/lib/harfbuzz.pyx | 100 +------------------------------------- - contrib/python/scripts/hbtestfont | 62 ++++++++++++++++++++++- - src/Makefile.am | 2 +- - src/hb-ot-shape.cc | 2 +- - src/hb-ot.h | 2 +- - src/hb-shape.cc | 2 +- - 6 files changed, 67 insertions(+), 103 deletions(-) - -commit bbc7a99d01298f9be1ebaaceacbc9bc961e247e5 -Author: Behdad Esfahbod -Date: Fri May 21 18:24:34 2010 +0100 - - Move mirroring around a bit - - src/hb-ot-shape.cc | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit bd0987386b3a4dddf208ccf1a70ebfff6242ba73 -Author: Behdad Esfahbod -Date: Fri May 21 18:06:35 2010 +0100 - - Add a few more standard features - - src/hb-ot-shape.cc | 10 ++++++---- - 1 file changed, 6 insertions(+), 4 deletions(-) - -commit 75f3469ca6d626b08eb411984a2ba7fd48ca5b5f -Author: Behdad Esfahbod -Date: Fri May 21 17:59:04 2010 +0100 - - Add note - - src/hb-ot-shape.cc | 1 + - 1 file changed, 1 insertion(+) - -commit 1094a294f6a44c47fc75867983f2b135a6442bab -Author: Behdad Esfahbod -Date: Fri May 21 17:58:20 2010 +0100 - - Add rtlm - - src/hb-ot-shape.cc | 26 +++++++++++++++++++++----- - 1 file changed, 21 insertions(+), 5 deletions(-) - -commit 074ea787493a37ae8f68d17be7820f13fff57520 -Author: Behdad Esfahbod -Date: Fri May 21 17:53:10 2010 +0100 - - Add ltra, ltrm, and rtla features - - src/hb-ot-shape.cc | 60 +++++++++++++++++++++++++++++++++++++++++++----------- - 1 file changed, 48 insertions(+), 12 deletions(-) - -commit 1ce7b87c4d8d1ab3ec1d5198351d71b7199f7c64 -Author: Behdad Esfahbod -Date: Fri May 21 17:31:45 2010 +0100 - - Cleanup bitmask allocation - - src/hb-buffer-private.hh | 16 +++++++++++++ - src/hb-buffer.cc | 36 +++++++++++++++++++++++++++++ - src/hb-ot-shape.cc | 60 +++++++++++++++++++++--------------------------- - 3 files changed, 78 insertions(+), 34 deletions(-) - -commit dd22a8f7bfd424a69286e90f79d2a23af6e89ec1 -Author: Behdad Esfahbod -Date: Fri May 21 16:43:17 2010 +0100 - - Add note - - src/hb-ot-layout-gsub-private.hh | 1 + - 1 file changed, 1 insertion(+) - -commit cbd1d6a63a5d696b7d6a5aba9ee7305ea228416a -Author: Martin Hosken -Date: Fri May 21 15:16:43 2010 +0100 - - Rename Grxxx to HbGrxxx - - src/hb-graphite.cc | 26 +++++++++++++------------- - 1 file changed, 13 insertions(+), 13 deletions(-) - -commit 0375bdd2027767ee7bebef1ed289b33dc64f430e -Author: Martin Hosken -Date: Fri May 21 15:01:37 2010 +0100 - - Rename classes from Grxxx to HbGrxxx - - src/hb-graphite.cc | 22 +++++++++++----------- - 1 file changed, 11 insertions(+), 11 deletions(-) - -commit a5a72e004bb7123445c2c3a94352d358fc80d904 -Author: Behdad Esfahbod -Date: Fri May 21 15:12:52 2010 +0100 - - Add hb-ot-shape.h, oops. - - src/hb-ot-shape.h | 44 ++++++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 44 insertions(+) - -commit aa62a402a72bdecad2a955dbfaf6e24cd2c00e55 -Author: Behdad Esfahbod -Date: Fri May 21 14:42:11 2010 +0100 - - Fix Makefile to install hb-ot-shape.h - - src/Makefile.am | 2 +- - src/hb-ot.h | 1 + - 2 files changed, 2 insertions(+), 1 deletion(-) - -commit 9722b8f005a10fd16e841df4da3ccd80be66e296 -Author: Behdad Esfahbod -Date: Fri May 21 14:37:47 2010 +0100 - - Simple renames - - src/hb-ot-shape.cc | 36 ++++++++++++++++++------------------ - 1 file changed, 18 insertions(+), 18 deletions(-) - -commit 02f28550d785671cf92fd4239c5f913f7e71585f -Author: Behdad Esfahbod -Date: Fri May 21 14:37:28 2010 +0100 - - Graphite also forces us to link to libstdc++ currently - - src/Makefile.am | 3 +++ - 1 file changed, 3 insertions(+) - -commit ca663bb23c16f6a1f04efa6e10dad0e3e7c260a3 -Author: Behdad Esfahbod -Date: Fri May 21 14:34:23 2010 +0100 - - Move main shaper code into hb_ot_shape() - - src/hb-ot-shape-private.hh | 53 ----------- - src/hb-ot-shape.cc | 225 ++++++++++++++++++++++++++++++++++++++++++--- - src/hb-shape.cc | 209 +---------------------------------------- - 3 files changed, 214 insertions(+), 273 deletions(-) - -commit 7acd232d36c2b2ed03823e6aa6bb2b814bf673b3 -Author: Behdad Esfahbod -Date: Fri May 21 14:20:48 2010 +0100 - - Fix test failing - - src/hb-graphite.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit dd47924d88d86b83e7f3ab040de6e7136ac0ca09 -Author: Behdad Esfahbod -Date: Fri May 21 14:18:08 2010 +0100 - - Fix warnings - - src/hb-graphite.cc | 14 +++++--------- - 1 file changed, 5 insertions(+), 9 deletions(-) - -commit 305ba8671553cd955c20a54db622666c0bb02532 -Author: Behdad Esfahbod -Date: Fri May 21 14:02:20 2010 +0100 - - Import Graphite shaping backend by Martin Hosken - - configure.ac | 6 ++ - src/Makefile.am | 11 ++ - src/hb-graphite.cc | 308 +++++++++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-graphite.h | 46 ++++++++ - src/hb-shape.cc | 15 +++ - 5 files changed, 386 insertions(+) - -commit 3ba6818ba9be950e46902f0239f2451ec0e65d44 -Author: Behdad Esfahbod -Date: Fri May 21 13:51:29 2010 +0100 - - Update the Python module - - contrib/python/lib/harfbuzz.pyx | 40 +++++++++++++++++++++------------------- - 1 file changed, 21 insertions(+), 19 deletions(-) - -commit 83f34677bcbc6bb194940407b0fcb23575650e3d -Author: Behdad Esfahbod -Date: Fri May 21 13:43:49 2010 +0100 - - Add hb_tag_from_string() - - src/Makefile.am | 1 + - src/hb-common.c | 41 +++++++++++++++++++++++++++++++++++++++++ - src/hb-common.h | 3 +++ - 3 files changed, 45 insertions(+) - -commit 4a9a5c0b06e8aa5d15327242609a7c766d3e0e94 -Author: Behdad Esfahbod -Date: Fri May 21 13:33:46 2010 +0100 - - Don't allocate bits for features not available - - src/hb-ot-shape.cc | 10 ++++++---- - 1 file changed, 6 insertions(+), 4 deletions(-) - -commit e53d77142ac4ecbe38ab3235491fa93cb7ff16ab -Author: Behdad Esfahbod -Date: Fri May 21 13:32:38 2010 +0100 - - Speed up feature mask setting - - Patch from Jonathan Kew. - - src/hb-ot-shape.cc | 31 +++++++++++++++++++++++++------ - 1 file changed, 25 insertions(+), 6 deletions(-) - -commit 4fa67f34ecc65056ce60a572213fbdae66e0423b -Author: Behdad Esfahbod -Date: Fri May 21 13:29:12 2010 +0100 - - Add Unicode 5.2 scripts - - src/hb-icu.c | 29 ++++++++++++++++++++++++++++- - src/hb-ot-tag.c | 21 +++++++++++++++++++-- - src/hb-unicode.c | 19 ++++++++++++++++++- - src/hb-unicode.h | 19 ++++++++++++++++++- - 4 files changed, 83 insertions(+), 5 deletions(-) - -commit ee1b322100a6bd575b999904592abbd9fed5587f -Author: Behdad Esfahbod -Date: Fri May 21 12:55:57 2010 +0100 - - Fix feature mask setting - - src/hb-ot-shape.cc | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit b490fa343322f1b5abaf880abc073287c1f34132 -Author: Behdad Esfahbod -Date: Fri May 21 11:15:07 2010 +0100 - - Add hb_ot_tag_to_script() - - src/hb-ot-tag.c | 14 ++++++++++++++ - src/hb-ot-tag.h | 3 +++ - 2 files changed, 17 insertions(+) - -commit 50355309047765558ef8f5d60aefed42a7f954cc -Author: Behdad Esfahbod -Date: Fri May 21 10:33:23 2010 +0100 - - Add Python wrapper from Martin Hosken - - contrib/python/lib/harfbuzz.pyx | 306 ++++++++++++++++++++++++++++++++++++++ - contrib/python/runpy | 2 + - contrib/python/scripts/hbtestfont | 35 +++++ - contrib/python/setup.py | 24 +++ - 4 files changed, 367 insertions(+) - -commit 280af1bddb958ff97cf7ce12fe7ec2b6352e61d0 -Author: Behdad Esfahbod -Date: Thu May 20 18:33:35 2010 +0100 - - Let hb_face_get_table() return NULL if table not found - - src/hb-font.cc | 2 +- - src/hb-font.h | 1 + - src/hb-open-type-private.hh | 3 +++ - 3 files changed, 5 insertions(+), 1 deletion(-) - -commit 1cdbfd944eecb58587461f57f037e47a44f39990 -Author: Behdad Esfahbod -Date: Thu May 20 17:47:28 2010 +0100 - - Fix alternate, again - - src/hb-ot-layout-gsub-private.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit fdca3d51603bd6bef6a4b0ee4a560f7dcd2f1d37 -Author: Behdad Esfahbod -Date: Thu May 20 17:46:20 2010 +0100 - - Fix alternate off-by-one - - src/hb-ot-layout-gsub-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit b634beb39e0a4fef7167a8af646f6b2d8cafe69b -Author: Behdad Esfahbod -Date: Thu May 20 17:44:52 2010 +0100 - - Fix delta scale, again... - - src/hb-ot-layout-common-private.hh | 8 ++++++++ - src/hb-ot-layout-gdef-private.hh | 3 +-- - src/hb-ot-layout-gpos-private.hh | 12 ++++++------ - src/hb-ot-layout-private.hh | 2 +- - 4 files changed, 16 insertions(+), 9 deletions(-) - -commit 40335d4533ac2b08121c9dc6003f3ebc5b44a67b -Author: Behdad Esfahbod -Date: Thu May 20 17:35:14 2010 +0100 - - Remove unused operator - - src/hb-ot-layout-common-private.hh | 2 -- - 1 file changed, 2 deletions(-) - -commit f7acd8df5146155b51d6f50aeb04f54f3030c1c3 -Author: Behdad Esfahbod -Date: Thu May 20 17:26:35 2010 +0100 - - Do alternate glyph selection! - - Kinda hand-wavy right now. Not tested. - - src/hb-ot-layout-gpos-private.hh | 12 +++++++----- - src/hb-ot-layout-gsub-private.hh | 20 +++++++++----------- - src/hb-ot-layout-gsubgpos-private.hh | 1 + - src/hb-private.h | 19 ++++++++++++++++++- - 4 files changed, 35 insertions(+), 17 deletions(-) - -commit 750a2294553d252e28875b605fe61fd9d6696e0f -Author: Behdad Esfahbod -Date: Thu May 20 16:23:27 2010 +0100 - - get_table() is allowed to return NULL. Use that to simplify code - - src/hb-font.cc | 2 +- - src/hb-ft.cc | 6 +++--- - 2 files changed, 4 insertions(+), 4 deletions(-) - -commit 99d9ef785f108df76f80a307eaa2784685ea86ba -Author: Behdad Esfahbod -Date: Thu May 20 15:47:49 2010 +0100 - - Write hb_face_create_for_data() in terms of hb_face_create_for_tables() - - Fixes lack of head_table initialization in create_for_tables() also. - - src/hb-font.cc | 35 ++++++++++++----------------------- - 1 file changed, 12 insertions(+), 23 deletions(-) - -commit 6774463883978b00b4d8c719ed75edfc4537c77f -Author: Behdad Esfahbod -Date: Thu May 20 15:40:12 2010 +0100 - - Apply user features to ranges! - - src/hb-ot-shape.cc | 23 ++++++++++++++++++++++- - 1 file changed, 22 insertions(+), 1 deletion(-) - -commit 9b6023338530a2dbb8214eb4391ef3e8372f3892 -Author: Behdad Esfahbod -Date: Thu May 20 15:31:12 2010 +0100 - - Add _hb_bit_storage() - - src/hb-private.h | 35 ++++++++++++++++++++++------------- - 1 file changed, 22 insertions(+), 13 deletions(-) - -commit 6b1b957f6d2955cbe4fa97e2659e033b3eaaf4d2 -Author: Behdad Esfahbod -Date: Thu May 20 15:14:44 2010 +0100 - - Add lookup_map - - src/hb-ot-shape.cc | 48 +++++++++++++++++++++++++++++++++--------------- - 1 file changed, 33 insertions(+), 15 deletions(-) - -commit 60010a0c4d8efae5c61a0c9cf10cfe2c1860f41e -Author: Behdad Esfahbod -Date: Thu May 20 14:05:02 2010 +0100 - - Update always-apply mask from 0xFFFF to 1 - - We plan to use the first bit to be always on. - - src/hb-ot-shape.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 009aad567863c05ee2ec4a3ee76fe0ee79c767bb -Author: Behdad Esfahbod -Date: Thu May 20 14:00:57 2010 +0100 - - Invert the mask logic - - Before, the mask in the buffer was inverted. That is, a 0 bit meant - feature should be applied and 1 meant not applied, whereas in the - lookups, the logic was positive. - - Now both are in sync. When calling hb_buffer_add_glyph() manually, - the mask should be 1 instead of 0. - - src/hb-buffer.cc | 2 +- - src/hb-ot-layout-gpos-private.hh | 2 +- - src/hb-ot-layout-gsub-private.hh | 4 ++-- - 3 files changed, 4 insertions(+), 4 deletions(-) - -commit 7f411dbfd9f8d5360c948531ff9f6c3998d1d897 -Author: Behdad Esfahbod -Date: Thu May 20 13:40:18 2010 +0100 - - Apply user features - - No ranges yet - - src/hb-ot-shape.cc | 8 ++++++++ - 1 file changed, 8 insertions(+) - -commit 0db299ccad346d9ea5573ea8408b78d9997bd379 -Author: Behdad Esfahbod -Date: Thu May 20 13:30:09 2010 +0100 - - Change hb_feature_t to keep tag/int instead of string - - src/hb-shape.h | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 0a4399ca228d244e646abdb3487da0f13b228889 -Author: Behdad Esfahbod -Date: Wed May 19 15:45:06 2010 -0400 - - Fix scale issues - - hb_font_set_scale() now sets the value to be used to represent a unit - pixel. For example, if rendering a 10px font with a 26.6 representation, - you would set scale to (10 << 6). For 10px in 16.16 you would set it to - (10 << 16). This space should be the same space that the get_glyph_metrics - and get_kerning callbacks work in. - - src/hb-common.h | 1 - - src/hb-font-private.hh | 8 +++----- - src/hb-font.cc | 12 ++++++------ - src/hb-font.h | 12 +++--------- - src/hb-ft.cc | 4 ++-- - src/hb-ot-layout-gdef-private.hh | 6 +++--- - src/hb-ot-layout-gpos-private.hh | 37 +++++++++++++++++-------------------- - src/hb-ot-layout-gsub-private.hh | 2 +- - src/hb-ot-layout-private.hh | 20 +++++++++++--------- - src/hb-ot-layout.cc | 31 +++++++++++++++---------------- - src/hb-private.h | 4 ---- - 11 files changed, 61 insertions(+), 76 deletions(-) - -commit cf5585cfa6cac6fdf627a99941299e76af5ae0f7 -Author: Behdad Esfahbod -Date: Wed May 19 12:03:35 2010 -0400 - - Add 'head' table - - src/Makefile.am | 1 + - src/hb-font-private.hh | 5 ++ - src/hb-font.cc | 9 ++++ - src/hb-open-type-private.hh | 2 +- - src/hb-ot-head-private.hh | 128 ++++++++++++++++++++++++++++++++++++++++++++ - 5 files changed, 144 insertions(+), 1 deletion(-) - -commit e29caf3f943b2b6f4997f469f7274252c82f465e -Author: Behdad Esfahbod -Date: Wed May 19 11:47:17 2010 -0400 - - Add LONGDATETIME - - src/hb-open-type-private.hh | 15 +++++++++++++++ - 1 file changed, 15 insertions(+) - -commit f415755fdf011d3fa3b9aad04c38f2255dd7acf8 -Author: Behdad Esfahbod -Date: Mon May 17 15:14:14 2010 -0400 - - Minor - - src/hb-ot-layout.cc | 52 +++++++++++++++++++++++++++------------------------- - 1 file changed, 27 insertions(+), 25 deletions(-) - -commit 73af7756dc6d3961f176854246e5722baff101fb -Author: Behdad Esfahbod -Date: Fri May 14 23:38:08 2010 -0400 - - Indent - - src/hb-ot-layout-gsub-private.hh | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - -commit 3567b87cce541dfb0af7caf024ec67c9d3c09214 -Author: Behdad Esfahbod -Date: Fri May 14 23:28:44 2010 -0400 - - Add an inline version of hb_buffer_ensure() - - src/hb-buffer.cc | 117 ++++++++++++++++++++++++++++++------------------------- - 1 file changed, 63 insertions(+), 54 deletions(-) - -commit a6a79df5fe2ed2cd307e7a991346faee164e70d9 -Author: Behdad Esfahbod -Date: Fri May 14 23:20:16 2010 -0400 - - Handle malloc failture in the buffer - - src/hb-buffer-private.hh | 5 ++-- - src/hb-buffer.cc | 71 +++++++++++++++++++++++++++++------------------- - src/hb-buffer.h | 2 +- - 3 files changed, 47 insertions(+), 31 deletions(-) - -commit ca54a12658510f9aa0b2db82f20a8fac230d6bb6 -Author: Behdad Esfahbod -Date: Fri May 14 22:25:42 2010 -0400 - - Minor - - src/hb-shape.cc | 60 +++++++++++++++++++++++++-------------------------------- - 1 file changed, 26 insertions(+), 34 deletions(-) - -commit 910a33fe8457a8e13f7eb77fc92fa59c31f5e8fd -Author: Behdad Esfahbod -Date: Fri May 14 22:13:38 2010 -0400 - - Update buffer docs - - src/hb-buffer-private.hh | 13 +++++++------ - src/hb-buffer.cc | 16 ++++++++-------- - 2 files changed, 15 insertions(+), 14 deletions(-) - -commit 36b73c80df91e96492357c6da945e081e9046a93 -Author: Behdad Esfahbod -Date: Fri May 14 22:10:39 2010 -0400 - - Shortening buffer accessors: rename buffer->in_pos to buffer->i - - src/hb-buffer-private.hh | 2 +- - src/hb-buffer.cc | 52 ++++++++++---------- - src/hb-ot-layout-gpos-private.hh | 94 ++++++++++++++++++------------------ - src/hb-ot-layout-gsub-private.hh | 48 +++++++++--------- - src/hb-ot-layout-gsubgpos-private.hh | 46 +++++++++--------- - src/hb-shape.cc | 40 +++++++-------- - 6 files changed, 141 insertions(+), 141 deletions(-) - -commit 29427c5c51ac70aca53ed523fa5ddb3de4355fb0 -Author: Behdad Esfahbod -Date: Fri May 14 22:08:22 2010 -0400 - - Shortening buffer accessors: rename buffer->out_length to buffer->out_len - - src/hb-buffer-private.hh | 2 +- - src/hb-buffer.cc | 52 ++++++++++++++++++------------------ - src/hb-ot-layout-gsub-private.hh | 2 +- - src/hb-ot-layout-gsubgpos-private.hh | 6 ++--- - 4 files changed, 31 insertions(+), 31 deletions(-) - -commit 6960350be97f24e97140391025b56369c393a3df -Author: Behdad Esfahbod -Date: Fri May 14 22:07:46 2010 -0400 - - Shortening buffer accessors: rename buffer->in_length to buffer->len - - src/hb-buffer-private.hh | 2 +- - src/hb-buffer.cc | 26 +++++++++++++------------- - src/hb-ot-layout-gpos-private.hh | 8 ++++---- - src/hb-ot-layout-gsub-private.hh | 8 ++++---- - src/hb-ot-layout-gsubgpos-private.hh | 8 ++++---- - src/hb-shape.cc | 12 ++++++------ - 6 files changed, 32 insertions(+), 32 deletions(-) - -commit 1b621823f3e31b48c80cc8b0691dfa873ba086cd -Author: Behdad Esfahbod -Date: Fri May 14 22:05:53 2010 -0400 - - Shortening buffer accessors: rename buffer->positions to buffer->pos - - src/hb-buffer-private.hh | 4 ++-- - src/hb-buffer.cc | 32 ++++++++++++++++---------------- - src/hb-ot-layout-gpos-private.hh | 26 +++++++++++++------------- - src/hb-shape.cc | 10 +++++----- - 4 files changed, 36 insertions(+), 36 deletions(-) - -commit 9d5e26df0877aa5b187764ba09bd7bf221e92968 -Author: Behdad Esfahbod -Date: Fri May 14 22:03:11 2010 -0400 - - Shortening buffer accessors: rename buffer->out_string to buffer->out_info - - src/hb-buffer-private.hh | 2 +- - src/hb-buffer.cc | 56 ++++++++++++++++++------------------ - src/hb-ot-layout-gsubgpos-private.hh | 4 +-- - 3 files changed, 31 insertions(+), 31 deletions(-) - -commit 7e7007a1c9bf2c07a8369752126ece8fa6164248 -Author: Behdad Esfahbod -Date: Fri May 14 22:02:37 2010 -0400 - - Shortening buffer accessors: rename buffer->in_string to buffer->info - - src/hb-buffer-private.hh | 2 +- - src/hb-buffer.cc | 82 ++++++++++++++++++------------------ - src/hb-ot-layout-gpos-private.hh | 58 ++++++++++++------------- - src/hb-ot-layout-gsub-private.hh | 30 ++++++------- - src/hb-ot-layout-gsubgpos-private.hh | 26 ++++++------ - src/hb-shape.cc | 18 ++++---- - 6 files changed, 108 insertions(+), 108 deletions(-) - -commit 8e6b6bb2932946ebc7b01c3abf575b654c741e20 -Author: Behdad Esfahbod -Date: Fri May 14 21:58:22 2010 -0400 - - Merge buffer->out_pos and buffer->out_length - - src/hb-buffer-private.hh | 1 - - src/hb-buffer.cc | 48 +++++++++++++++--------------------- - src/hb-ot-layout-gsub-private.hh | 2 +- - src/hb-ot-layout-gsubgpos-private.hh | 6 ++--- - 4 files changed, 24 insertions(+), 33 deletions(-) - -commit 22f668eb9ad5f62d9fcd2e0c826ea78977687e5c -Author: Behdad Esfahbod -Date: Fri May 14 21:41:04 2010 -0400 - - Remove the unused BUFFER macro - - src/hb-buffer-private.hh | 6 ------ - src/hb-ot-layout-gpos-private.hh | 6 ------ - src/hb-ot-layout-gsub-private.hh | 6 ------ - src/hb-ot-layout-gsubgpos-private.hh | 5 ----- - 4 files changed, 23 deletions(-) - -commit 7e53ebe478597778c25c197ff9f0cb379f1d0043 -Author: Behdad Esfahbod -Date: Fri May 14 21:38:13 2010 -0400 - - Remove the IN_CURGLYPH() macro - - src/hb-buffer-private.hh | 3 --- - src/hb-ot-layout-gpos-private.hh | 24 ++++++++++++------------ - src/hb-ot-layout-gsub-private.hh | 16 ++++++++-------- - src/hb-ot-layout-gsubgpos-private.hh | 16 ++++++++-------- - src/hb-shape.cc | 14 +++++++------- - 5 files changed, 35 insertions(+), 38 deletions(-) - -commit d784da1923ff2ca093f8b0210449731d376b7513 -Author: Behdad Esfahbod -Date: Fri May 14 21:37:18 2010 -0400 - - Remove the IN_CURINFO() macro - - src/hb-buffer-private.hh | 1 - - src/hb-ot-layout-gpos-private.hh | 2 +- - src/hb-ot-layout-gsub-private.hh | 4 ++-- - src/hb-ot-layout-gsubgpos-private.hh | 2 +- - 4 files changed, 4 insertions(+), 5 deletions(-) - -commit 281f59b4fb16f7c73767eb042a91f70f4c109b3a -Author: Behdad Esfahbod -Date: Fri May 14 21:34:22 2010 -0400 - - Remove IN_INFO() and IN_NEXTGLYPH() macros - - src/hb-buffer-private.hh | 2 -- - src/hb-ot-layout-gpos-private.hh | 10 +++++----- - src/hb-ot-layout-gsub-private.hh | 2 +- - src/hb-ot-layout-gsubgpos-private.hh | 4 ++-- - src/hb-shape.cc | 4 ++-- - 5 files changed, 10 insertions(+), 12 deletions(-) - -commit 6e489cdf7623ac627d06d59a80ecea03ca97dc1b -Author: Behdad Esfahbod -Date: Fri May 14 21:07:35 2010 -0400 - - Remove the IN_GLYPH() macro - - src/hb-buffer-private.hh | 1 - - src/hb-ot-layout-gpos-private.hh | 12 ++++++------ - src/hb-ot-layout-gsub-private.hh | 2 +- - src/hb-ot-layout-gsubgpos-private.hh | 4 ++-- - src/hb-shape.cc | 2 +- - 5 files changed, 10 insertions(+), 11 deletions(-) - -commit 01feb74c78a3a302fa3472a0be7b2a1d52fd1ba3 -Author: Behdad Esfahbod -Date: Fri May 14 21:00:08 2010 -0400 - - Remove the IN_CLUSTER() macro - - src/hb-buffer-private.hh | 1 - - src/hb-shape.cc | 2 +- - 2 files changed, 1 insertion(+), 2 deletions(-) - -commit d63a1e089acad9ab9f80addd936d36b6d38fb46a -Author: Behdad Esfahbod -Date: Fri May 14 20:30:07 2010 -0400 - - Remove the IN_MASK() macro - - src/hb-buffer-private.hh | 1 - - src/hb-ot-layout-gpos-private.hh | 2 +- - src/hb-ot-layout-gsub-private.hh | 4 ++-- - 3 files changed, 3 insertions(+), 4 deletions(-) - -commit 89e2834dabd2d17f2823c51fe3a7fcadeaba7a59 -Author: Behdad Esfahbod -Date: Fri May 14 20:25:55 2010 -0400 - - Remove the IN_LIGID() macro - - src/hb-buffer-private.hh | 1 - - src/hb-ot-layout-gpos-private.hh | 4 ++-- - src/hb-ot-layout-gsub-private.hh | 2 +- - 3 files changed, 3 insertions(+), 4 deletions(-) - -commit 4a871041f4718834afa312ed17cdd157603468b7 -Author: Behdad Esfahbod -Date: Fri May 14 20:25:04 2010 -0400 - - Remove IN_COMPONENT() macro - - src/hb-buffer-private.hh | 1 - - src/hb-ot-layout-gpos-private.hh | 8 ++++---- - src/hb-ot-layout-gsub-private.hh | 2 +- - 3 files changed, 5 insertions(+), 6 deletions(-) - -commit 27da6dd89a359f7ef340c646c4cb79373782261d -Author: Behdad Esfahbod -Date: Fri May 14 20:17:50 2010 -0400 - - Remove OUT_GLYPH() and OUT_INFO() macros - - src/hb-buffer-private.hh | 2 -- - src/hb-ot-layout-gsubgpos-private.hh | 4 ++-- - 2 files changed, 2 insertions(+), 4 deletions(-) - -commit cc6ae7ff91eeb93bef153f331ed02b500062f90e -Author: Behdad Esfahbod -Date: Fri May 14 20:09:48 2010 -0400 - - Fix lookahead matching. Oops! - - src/hb-ot-layout-gsubgpos-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 3109375b849f340b4807724218010c53dea58082 -Author: Behdad Esfahbod -Date: Fri May 14 19:55:27 2010 -0400 - - Remove POSITION() and CURPOSITION() macros - - src/hb-buffer-private.hh | 2 -- - src/hb-ot-layout-gpos-private.hh | 54 ++++++++++++++++++++-------------------- - src/hb-shape.cc | 10 ++++---- - 3 files changed, 32 insertions(+), 34 deletions(-) - -commit d7cfb3b2d1dd2e9fdae2b3e540bbe313660895e8 -Author: Behdad Esfahbod -Date: Thu May 13 14:18:49 2010 -0400 - - s/\/c/g - - src/hb-open-file-private.hh | 28 +-- - src/hb-open-type-private.hh | 100 ++++---- - src/hb-ot-layout-common-private.hh | 84 +++---- - src/hb-ot-layout-gdef-private.hh | 98 ++++---- - src/hb-ot-layout-gpos-private.hh | 460 +++++++++++++++++------------------ - src/hb-ot-layout-gsub-private.hh | 306 +++++++++++------------ - src/hb-ot-layout-gsubgpos-private.hh | 258 ++++++++++---------- - src/hb-ot-layout.cc | 24 +- - 8 files changed, 679 insertions(+), 679 deletions(-) - -commit f679635893eebc13402c5ee51a6f106eed0c76be -Author: Behdad Esfahbod -Date: Thu May 13 13:34:17 2010 -0400 - - Don't use variable-length-arrays - - src/hb-open-type-private.hh | 11 +++++++++-- - 1 file changed, 9 insertions(+), 2 deletions(-) - -commit 72071a8afaba2952fe42be093024ae9dbd37f233 -Author: Behdad Esfahbod -Date: Thu May 13 13:22:24 2010 -0400 - - Add a few more buffer convenience methods - - src/hb-buffer-private.hh | 12 ++++++++++++ - src/hb-ot-layout-gsub-private.hh | 20 ++++++++++---------- - 2 files changed, 22 insertions(+), 10 deletions(-) - -commit 11a81612e51c598e857507c268312206423cbfca -Author: Behdad Esfahbod -Date: Thu May 13 00:01:40 2010 -0400 - - Minor - - src/hb-unicode.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 3f93518a634cb1852bf050877db23b9b9203ad03 -Author: Behdad Esfahbod -Date: Wed May 12 23:48:40 2010 -0400 - - Improve check for internal symbols - - src/check-internal-symbols.sh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 357d0f29c431b842179ee4b56c21bcc402178ce7 -Author: Behdad Esfahbod -Date: Wed May 12 23:46:16 2010 -0400 - - Make HB_PRIVATE more useful - - So we can apply it to class methods also. Not sure if that works! - - src/hb-blob-private.h | 2 +- - src/hb-font-private.hh | 4 ++-- - src/hb-private.h | 2 +- - src/hb-unicode-private.h | 3 +-- - 4 files changed, 5 insertions(+), 6 deletions(-) - -commit 1d5e78013696b10751d8a35027619e81978e1312 -Author: Behdad Esfahbod -Date: Wed May 12 23:43:00 2010 -0400 - - Add a few other buffer methods - - src/hb-buffer-private.hh | 11 +++++++---- - src/hb-buffer.cc | 7 ------- - src/hb-ot-layout-gsub-private.hh | 10 +++++----- - src/hb-ot-layout-gsubgpos-private.hh | 4 ++-- - 4 files changed, 14 insertions(+), 18 deletions(-) - -commit d0316a81f59a4e814b0af78797d915d7ce04d119 -Author: Behdad Esfahbod -Date: Wed May 12 23:34:52 2010 -0400 - - Add buffer->swap() - - src/hb-buffer-private.hh | 68 ++++++++++++++++++++++------------------ - src/hb-ot-layout-gsub-private.hh | 2 +- - 2 files changed, 38 insertions(+), 32 deletions(-) - -commit 3b649a38b5772dd7aba7f07ff7698a7f427f421f -Author: Behdad Esfahbod -Date: Wed May 12 23:28:38 2010 -0400 - - Add check for internal symbols - - src/Makefile.am | 3 ++- - src/check-internal-symbols.sh | 28 ++++++++++++++++++++++++++++ - 2 files changed, 30 insertions(+), 1 deletion(-) - -commit eee8598d75d3af692d9ececf7e8ac458e892ba9e -Author: Behdad Esfahbod -Date: Wed May 12 23:22:55 2010 -0400 - - Hide internal symbols - - src/hb-ot-layout-private.hh | 4 ++-- - src/hb-private.h | 8 ++++---- - 2 files changed, 6 insertions(+), 6 deletions(-) - -commit 8951fc2c82f2db4865da6d9e303fce419b6363bb -Author: Behdad Esfahbod -Date: Wed May 12 23:13:39 2010 -0400 - - Add buffer->allocate_lig_id() - - src/hb-buffer-private.hh | 5 ++--- - src/hb-buffer.cc | 6 ------ - src/hb-ot-layout-gsub-private.hh | 4 ++-- - 3 files changed, 4 insertions(+), 11 deletions(-) - -commit 1ce4dc95dbb28842085342aea4f9d12cbe9671a9 -Author: Behdad Esfahbod -Date: Wed May 12 18:29:25 2010 -0400 - - Use bit tricks for HB_DIRECTION_IS_* - - We already depend on the exact values of the direction enum - in HB_DIRECTION_REVERSE(), so we may as well use that. - - src/hb-common.h | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 22da7fd94d6318c52df69d70470a85464ffc533d -Author: Behdad Esfahbod -Date: Wed May 12 18:23:21 2010 -0400 - - Rename a few files to be C++ sources - - In anticipation for buffer revamp coming. - - src/Makefile.am | 16 ++++++++-------- - src/{hb-buffer-private.h => hb-buffer-private.hh} | 2 +- - src/{hb-buffer.c => hb-buffer.cc} | 14 +++++++------- - src/hb-common.h | 1 + - src/{hb-font-private.h => hb-font-private.hh} | 2 +- - src/hb-font.cc | 4 ++-- - src/{hb-ft.c => hb-ft.cc} | 8 ++++---- - src/hb-ot-layout-common-private.hh | 2 +- - src/hb-ot-layout-gdef-private.hh | 2 +- - src/hb-ot-layout-gsubgpos-private.hh | 2 +- - src/{hb-ot-layout-private.h => hb-ot-layout-private.hh} | 2 +- - src/hb-ot-layout.cc | 2 +- - src/{hb-ot-shape-private.h => hb-ot-shape-private.hh} | 0 - src/{hb-ot-shape.c => hb-ot-shape.cc} | 4 ++-- - src/{hb-shape.c => hb-shape.cc} | 6 +++--- - 15 files changed, 34 insertions(+), 33 deletions(-) - -commit c3df649f258b334e93c7626a43cd8ebfbd5a610e -Author: Behdad Esfahbod -Date: Tue May 11 13:54:12 2010 -0400 - - Fix comment - - src/hb-buffer-private.h | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit 281f08954a1d96d7807153c25073b8eb7630703b -Author: Behdad Esfahbod -Date: Tue May 11 11:37:58 2010 -0400 - - Remove obsolete friend - - src/hb-ot-layout-gpos-private.hh | 1 - - 1 file changed, 1 deletion(-) - -commit 70c9bfd5646a4a55a7f43c0cf0b5ac5993615d5b -Author: Behdad Esfahbod -Date: Tue May 11 00:23:50 2010 -0400 - - Simplify PairSet - - src/hb-ot-layout-gpos-private.hh | 101 +++++++++++++++++++++------------------ - 1 file changed, 54 insertions(+), 47 deletions(-) - -commit 97e7f8f305c47caf2968a9da3b8407825547286d -Author: Behdad Esfahbod -Date: Tue May 11 00:11:36 2010 -0400 - - Add CONST_FUNC annotation - - src/hb-private.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 494d28ad988e505c1c45cc35a7ec6b880cfec5fc -Author: Behdad Esfahbod -Date: Mon May 10 23:50:07 2010 -0400 - - Simplify likely() implementation - - Shrinks .text by 1%! - - src/hb-private.h | 10 +--------- - 1 file changed, 1 insertion(+), 9 deletions(-) - -commit 75651b20871047d3ec17f4221794b8ef5d60e14b -Author: Behdad Esfahbod -Date: Mon May 10 23:44:51 2010 -0400 - - Fix warnings - - src/hb-open-type-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 4c20d8c057738b66150a88472714690e137884f8 -Author: Behdad Esfahbod -Date: Mon May 10 23:27:54 2010 -0400 - - Sprinkle a few strategic likely()'s - - Shrinks the code size by some 2% even. - - src/hb-open-file-private.hh | 4 ++-- - src/hb-open-type-private.hh | 20 ++++++++++---------- - 2 files changed, 12 insertions(+), 12 deletions(-) - -commit 69cb28bc13d236a01acf40da62e345c7e83ccba7 -Author: Behdad Esfahbod -Date: Mon May 10 23:13:08 2010 -0400 - - Remove a few likely()'s - - src/hb-ot-layout-common-private.hh | 2 +- - src/hb-ot-layout-gpos-private.hh | 8 ++++---- - 2 files changed, 5 insertions(+), 5 deletions(-) - -commit 24552ecf92982fe561dc47d5102fcf1a7b337c70 -Author: Behdad Esfahbod -Date: Mon May 10 23:08:41 2010 -0400 - - Remove excess sub_format sanitize - - src/hb-ot-layout-gpos-private.hh | 1 - - src/hb-ot-layout-gsub-private.hh | 1 - - 2 files changed, 2 deletions(-) - -commit f7adc5e9be352ac31ad3ab847abb6fceb239aa12 -Author: Behdad Esfahbod -Date: Mon May 10 22:41:50 2010 -0400 - - Shrink NullPool now that we have accurate size tracking - - src/hb-open-type-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 3d44fb6f15177dc6518166e435597936b044acc1 -Author: Behdad Esfahbod -Date: Mon May 10 22:22:54 2010 -0400 - - Fix warning - - src/hb-ot-layout-common-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit b5db4f1e4eefa266a71a28b5496f47ff9d1a81e8 -Author: Behdad Esfahbod -Date: Mon May 10 22:22:22 2010 -0400 - - Clean up NO_INDEX - - src/hb-open-file-private.hh | 2 +- - src/hb-open-type-private.hh | 10 ++++++---- - src/hb-ot-layout-common-private.hh | 17 ++++------------- - src/hb-ot-layout.cc | 8 ++++---- - src/main.cc | 2 +- - 5 files changed, 16 insertions(+), 23 deletions(-) - -commit fe9bc070e1d545b0df2ea548eebf5a1fc4c92ddc -Author: Behdad Esfahbod -Date: Mon May 10 21:39:24 2010 -0400 - - Fix awful confusion between lookup format and subtable format - - As reported by John Daggett. - - src/hb-ot-layout-gpos-private.hh | 14 +++++++------- - src/hb-ot-layout-gsub-private.hh | 14 +++++++------- - 2 files changed, 14 insertions(+), 14 deletions(-) - -commit 458ecbb60bb7e8e32aca62a562586d921d5396aa -Author: Behdad Esfahbod -Date: Mon May 10 21:11:35 2010 -0400 - - Fix tracing order - - src/hb-open-type-private.hh | 14 +++++--------- - src/hb-ot-layout-gsubgpos-private.hh | 3 +-- - 2 files changed, 6 insertions(+), 11 deletions(-) - -commit 48146e5612f6d272d6962f6829c6d64a31edef89 -Author: Behdad Esfahbod -Date: Mon May 10 20:07:56 2010 -0400 - - Don't fail sanitize on NULL data - - src/hb-open-type-private.hh | 5 +++++ - 1 file changed, 5 insertions(+) - -commit d2c2ca8faf62fc380d4717d286556139a62d2356 -Author: Behdad Esfahbod -Date: Mon May 10 19:58:25 2010 -0400 - - Fix comment - - src/hb-open-type-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit b435ab7e29c388e3b100f729957319931625a3a8 -Author: Behdad Esfahbod -Date: Mon May 10 19:51:57 2010 -0400 - - Fix accessing tables from NULL pointer - - src/hb-font.cc | 2 +- - src/hb-open-type-private.hh | 5 +++++ - src/hb-ot-layout.cc | 6 +++--- - 3 files changed, 9 insertions(+), 4 deletions(-) - -commit dacebcadae36b35531d635d81df2afb937677b7a -Author: Behdad Esfahbod -Date: Mon May 10 19:45:41 2010 -0400 - - Simplify unions - - src/hb-open-file-private.hh | 24 +++---- - src/hb-ot-layout-common-private.hh | 24 +++---- - src/hb-ot-layout-gdef-private.hh | 24 +++---- - src/hb-ot-layout-gpos-private.hh | 120 +++++++++++++++++------------------ - src/hb-ot-layout-gsub-private.hh | 88 ++++++++++++------------- - src/hb-ot-layout-gsubgpos-private.hh | 44 ++++++------- - 6 files changed, 163 insertions(+), 161 deletions(-) - -commit fd671e02433bcbc1fd07901fa2d6065020f41ba8 -Author: Behdad Esfahbod -Date: Mon May 10 19:02:32 2010 -0400 - - Remove unused macro - - src/hb-open-type-private.hh | 1 - - 1 file changed, 1 deletion(-) - -commit 0eb9fc6e37935707dba2bf4b3705de2161a08cb7 -Author: Behdad Esfahbod -Date: Mon May 10 19:01:17 2010 -0400 - - Change DEFINE_SIZE_VAR to DEFINE_SIZE_ARRAY - - src/hb-open-file-private.hh | 4 ++-- - src/hb-open-type-private.hh | 10 +++++----- - src/hb-ot-layout-common-private.hh | 27 +++++++++++++++------------ - src/hb-ot-layout-gdef-private.hh | 10 +++++----- - src/hb-ot-layout-gpos-private.hh | 25 ++++++++++++------------- - src/hb-ot-layout-gsub-private.hh | 14 +++++++------- - src/hb-ot-layout-gsubgpos-private.hh | 16 ++++++++-------- - 7 files changed, 54 insertions(+), 52 deletions(-) - -commit 596e471aa5053d955fb5d5b5923088c8814469b1 -Author: Behdad Esfahbod -Date: Mon May 10 18:47:48 2010 -0400 - - Cleanup DEFINE_SIZE_VAR2 - - src/hb-open-type-private.hh | 18 +++++++++++------- - src/hb-ot-layout-common-private.hh | 6 +++--- - src/hb-ot-layout-gdef-private.hh | 4 ++-- - src/hb-ot-layout-gpos-private.hh | 4 ++-- - src/hb-ot-layout-gsub-private.hh | 2 +- - src/hb-ot-layout-gsubgpos-private.hh | 4 ++-- - 6 files changed, 21 insertions(+), 17 deletions(-) - -commit 33afa4e2dc352f08cc094703e3f01d3ecd83b354 -Author: Behdad Esfahbod -Date: Mon May 10 18:35:02 2010 -0400 - - Minor - - src/hb-open-type-private.hh | 14 +++++++------- - 1 file changed, 7 insertions(+), 7 deletions(-) - -commit b961518b9611471ff7060e97686e5625974847eb -Author: Behdad Esfahbod -Date: Mon May 10 18:20:54 2010 -0400 - - Simplify array access - - src/hb-open-type-private.hh | 29 ++++++++++------------------- - src/hb-ot-layout-common-private.hh | 8 ++++---- - src/hb-ot-layout-gsub-private.hh | 6 +++--- - src/hb-ot-layout-gsubgpos-private.hh | 16 ++++++++-------- - 4 files changed, 25 insertions(+), 34 deletions(-) - -commit 54842374c2b291ef208c51ae1d853ec0403ccf84 -Author: Behdad Esfahbod -Date: Mon May 10 18:13:32 2010 -0400 - - Fix check_struct to check min_size instead of sizeof - - src/hb-open-type-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit ed07422c33bbb52ff4d79e65986171e3f07697d8 -Author: Behdad Esfahbod -Date: Mon May 10 18:08:46 2010 -0400 - - Further cleanup of sizeof - - src/hb-open-type-private.hh | 7 +++++-- - src/hb-ot-layout-common-private.hh | 4 ++++ - src/hb-ot-layout-gdef-private.hh | 4 ++++ - src/hb-ot-layout-gpos-private.hh | 10 +++++++--- - src/hb-ot-layout-gsub-private.hh | 4 +++- - src/hb-ot-layout-gsubgpos-private.hh | 2 ++ - 6 files changed, 25 insertions(+), 6 deletions(-) - -commit a82ef7a893b773a17f7548375de9f588dfc83aba -Author: Behdad Esfahbod -Date: Mon May 10 17:55:03 2010 -0400 - - Remove CastP completely - - src/hb-open-type-private.hh | 39 +++++++++++++++++---------------------- - 1 file changed, 17 insertions(+), 22 deletions(-) - -commit 40cbefe858192531ed64dd51d402f7ca7b8153a3 -Author: Behdad Esfahbod -Date: Mon May 10 17:47:22 2010 -0400 - - Remove unnecessary casts - - src/hb-open-type-private.hh | 12 ++++++------ - src/hb-ot-layout-common-private.hh | 2 +- - src/hb-ot-layout-gpos-private.hh | 34 +++++++++++++++++----------------- - src/hb-ot-layout-gsub-private.hh | 4 ++-- - src/hb-ot-layout-gsubgpos-private.hh | 34 +++++++++++++++++----------------- - 5 files changed, 43 insertions(+), 43 deletions(-) - -commit 09766b1ec5ec55a61edbcd7a89ed3613cc92d4cb -Author: Behdad Esfahbod -Date: Mon May 10 17:36:03 2010 -0400 - - Make StructAtOffset take a pointer - - Is safer. - - src/hb-open-type-private.hh | 26 +++++++++++++------------- - src/hb-ot-layout-gpos-private.hh | 6 +++--- - src/hb-ot-layout-gsub-private.hh | 4 ++-- - 3 files changed, 18 insertions(+), 18 deletions(-) - -commit bea34c7cbb583cf7660776e95cab3171590b8427 -Author: Behdad Esfahbod -Date: Mon May 10 17:28:16 2010 -0400 - - Further cleanup of DEFINE_SIZE - - src/hb-open-file-private.hh | 2 +- - src/hb-open-type-private.hh | 10 +++++----- - src/hb-ot-layout-common-private.hh | 16 ++++++++-------- - src/hb-ot-layout-gdef-private.hh | 8 ++++---- - src/hb-ot-layout-gpos-private.hh | 16 +++++----------- - src/hb-ot-layout-gsub-private.hh | 14 +++++++------- - src/hb-ot-layout-gsubgpos-private.hh | 14 +++++++------- - 7 files changed, 37 insertions(+), 43 deletions(-) - -commit 0abcc3b48cfd51a22695c9e988938b2f45cb19d8 -Author: Behdad Esfahbod -Date: Mon May 10 17:04:20 2010 -0400 - - Cleanup - - src/hb-open-type-private.hh | 18 ++++++++++-------- - 1 file changed, 10 insertions(+), 8 deletions(-) - -commit b3651231bf80bb7009214547a75ed90e21815c68 -Author: Behdad Esfahbod -Date: Mon May 10 16:57:29 2010 -0400 - - Remove ASSERT_SIZE in favor of the safer DEFINE_SIZE_STATIC - - src/hb-open-file-private.hh | 3 ++- - src/hb-open-type-private.hh | 20 +++++++++++++--- - src/hb-ot-layout-common-private.hh | 24 ++++++++++++-------- - src/hb-ot-layout-gdef-private.hh | 22 +++++++++++------- - src/hb-ot-layout-gpos-private.hh | 44 ++++++++++++++++++++---------------- - src/hb-ot-layout-gsub-private.hh | 32 ++++++++++++++++---------- - src/hb-ot-layout-gsubgpos-private.hh | 27 ++++++++++++++-------- - src/hb-private.h | 2 -- - 8 files changed, 109 insertions(+), 65 deletions(-) - -commit 569da92bc6956f42d9b2d65c784e184fb6380efe -Author: Behdad Esfahbod -Date: Mon May 10 16:38:32 2010 -0400 - - Cleanup ASSERT_SIZE_VAR - - src/hb-open-file-private.hh | 9 ++++++--- - src/hb-open-type-private.hh | 6 ++++-- - src/hb-ot-layout-common-private.hh | 22 ++++++++++++---------- - src/hb-ot-layout-gdef-private.hh | 3 ++- - src/hb-ot-layout-gpos-private.hh | 30 +++++++++++++++++++----------- - src/hb-ot-layout-gsubgpos-private.hh | 10 ++++++---- - src/hb-private.h | 8 -------- - 7 files changed, 49 insertions(+), 39 deletions(-) - -commit 99bf03459ff2f00cf3fb7fa3c8b8336ec9fcca56 -Author: Behdad Esfahbod -Date: Thu May 6 19:37:32 2010 -0400 - - Whitespace - - src/hb-ot-layout-gpos-private.hh | 1 + - 1 file changed, 1 insertion(+) - -commit 65f46b00333e20ab8a52a4b350747507541ec1db -Author: Behdad Esfahbod -Date: Thu May 6 19:35:19 2010 -0400 - - Simplify DEFINE_NULL_DATA - - Using ::min_size. - - src/hb-open-type-private.hh | 6 +++--- - src/hb-ot-layout-common-private.hh | 9 +++++---- - 2 files changed, 8 insertions(+), 7 deletions(-) - -commit e45d3f86f9a5f3d29ca35a282de7f98e702878f9 -Author: Behdad Esfahbod -Date: Thu May 6 19:33:31 2010 -0400 - - Start cleaning up get_size() - - So we know when the size is static and when dynamic. - - src/hb-open-file-private.hh | 7 +++--- - src/hb-open-type-private.hh | 42 +++++++++++++++++++++++++----------- - src/hb-ot-layout-common-private.hh | 14 ++++++------ - src/hb-ot-layout-gpos-private.hh | 17 ++++++--------- - src/hb-ot-layout-gsubgpos-private.hh | 19 ++++++++-------- - 5 files changed, 55 insertions(+), 44 deletions(-) - -commit b157617644d1e38f680163889d1dc2e2f64d9ba3 -Author: Behdad Esfahbod -Date: Thu May 6 14:48:27 2010 -0400 - - Remove the last of SANITIZE macros: SANITIZE_SELF - - src/hb-open-file-private.hh | 4 ++-- - src/hb-open-type-private.hh | 21 ++++++++++++--------- - src/hb-ot-layout-common-private.hh | 16 ++++++++-------- - src/hb-ot-layout-gdef-private.hh | 6 +++--- - src/hb-ot-layout-gpos-private.hh | 26 +++++++++++++------------- - src/hb-ot-layout-gsubgpos-private.hh | 6 +++--- - 6 files changed, 41 insertions(+), 38 deletions(-) - -commit 4f252fedc7136c66a9d7fbcb2978581986da6227 -Author: Behdad Esfahbod -Date: Thu May 6 13:30:23 2010 -0400 - - Remove SANITIZE macro - - src/hb-open-file-private.hh | 4 ++-- - src/hb-open-type-private.hh | 6 ++---- - src/hb-ot-layout-common-private.hh | 18 +++++++++--------- - src/hb-ot-layout-gdef-private.hh | 6 +++--- - src/hb-ot-layout-gpos-private.hh | 18 +++++++++--------- - src/hb-ot-layout-gsub-private.hh | 26 +++++++++++++------------- - src/hb-ot-layout-gsubgpos-private.hh | 22 +++++++++++----------- - 7 files changed, 49 insertions(+), 51 deletions(-) - -commit c2ddfd2d268385257c77c09a9abeacf4230d5377 -Author: Behdad Esfahbod -Date: Thu May 6 13:06:15 2010 -0400 - - Cleanup Value casts - - src/hb-ot-layout-gpos-private.hh | 34 +++++++++++++++++++++------------- - 1 file changed, 21 insertions(+), 13 deletions(-) - -commit 41a93d2c1ff175ef06328a99983577459c2d34b0 -Author: Behdad Esfahbod -Date: Thu May 6 12:55:14 2010 -0400 - - Remove SANITIZE_WITH_BASE - - src/hb-open-file-private.hh | 2 +- - src/hb-open-type-private.hh | 2 - - src/hb-ot-layout-common-private.hh | 6 +-- - src/hb-ot-layout-gdef-private.hh | 24 +++++----- - src/hb-ot-layout-gpos-private.hh | 90 ++++++++++++++++++------------------ - src/hb-ot-layout-gsub-private.hh | 31 ++++++------- - src/hb-ot-layout-gsubgpos-private.hh | 44 +++++++++--------- - 7 files changed, 98 insertions(+), 101 deletions(-) - -commit f5fab0c71837371cce32dc3e9edca1ccb8d44e29 -Author: Behdad Esfahbod -Date: Thu May 6 10:26:52 2010 -0400 - - Remove SANITIZE_MEM - - src/hb-open-type-private.hh | 4 +--- - src/hb-ot-layout-common-private.hh | 2 +- - src/hb-ot-layout-gpos-private.hh | 2 +- - src/hb-ot-layout-gsubgpos-private.hh | 6 +++--- - 4 files changed, 6 insertions(+), 8 deletions(-) - -commit 4ad2cc5dec6b0639da2b1846282bdd99d06d5ff1 -Author: Behdad Esfahbod -Date: Thu May 6 09:24:24 2010 -0400 - - Rename check to check_range - - src/hb-open-type-private.hh | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 1cd1e117d060d38e314618b627d7663cb01ed584 -Author: Behdad Esfahbod -Date: Wed May 5 20:15:14 2010 -0400 - - Remove SANITIZE_ARRAY - - src/hb-open-file-private.hh | 2 +- - src/hb-open-type-private.hh | 16 +++++++--------- - src/hb-ot-layout-gpos-private.hh | 8 ++++---- - src/hb-ot-layout-gsubgpos-private.hh | 4 ++-- - 4 files changed, 14 insertions(+), 16 deletions(-) - -commit 583d7f9586ce69754f1354aa3895e6d732a0c2ce -Author: Behdad Esfahbod -Date: Wed May 5 01:49:22 2010 -0400 - - Cosmetic - - src/hb-open-file-private.hh | 3 ++- - src/hb-open-type-private.hh | 6 ++++-- - src/hb-ot-layout-common-private.hh | 15 ++++++++++----- - src/hb-ot-layout-gpos-private.hh | 5 ++--- - src/hb-ot-layout-gsub-private.hh | 3 ++- - src/hb-ot-layout-gsubgpos-private.hh | 9 +++++---- - 6 files changed, 25 insertions(+), 16 deletions(-) - -commit 705e215268aa95c2bc6af8af9b48b72b690ec1f7 -Author: Behdad Esfahbod -Date: Wed May 5 01:40:25 2010 -0400 - - Minor - - src/hb-open-type-private.hh | 4 ++-- - src/hb-ot-layout-gpos-private.hh | 2 +- - src/hb-ot-layout-gsub-private.hh | 2 +- - src/hb-ot-layout-gsubgpos-private.hh | 2 +- - 4 files changed, 5 insertions(+), 5 deletions(-) - -commit b18eafd0f62f854d15276c78f99843aecd47acad -Author: Behdad Esfahbod -Date: Wed May 5 01:39:26 2010 -0400 - - Minor - - src/hb-open-type-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 4169710911450e0f9bc045fe279bfc8ba9e8457c -Author: Behdad Esfahbod -Date: Wed May 5 01:37:58 2010 -0400 - - Simplify chaining - - src/hb-ot-layout-gsubgpos-private.hh | 61 +++++++++++++++--------------------- - 1 file changed, 25 insertions(+), 36 deletions(-) - -commit 1911b9d21b2b7b6b8219ce6c888540e3a60aa9c3 -Author: Behdad Esfahbod -Date: Wed May 5 01:32:04 2010 -0400 - - Remove APPLY_ARG_DEF and APPLY_ARG - - src/hb-ot-layout-gpos-private.hh | 92 ++++++++++++++++++------------------ - src/hb-ot-layout-gsub-private.hh | 88 +++++++++++++++++----------------- - src/hb-ot-layout-gsubgpos-private.hh | 89 ++++++++++++++++------------------ - 3 files changed, 132 insertions(+), 137 deletions(-) - -commit 6c42cddfe53a1c664081862bb9a3e1c38d05a823 -Author: Behdad Esfahbod -Date: Wed May 5 01:30:48 2010 -0400 - - Port apply to use hb_trace_t - - src/hb-ot-layout-gpos-private.hh | 9 ++++----- - src/hb-ot-layout-gsub-private.hh | 11 +++++------ - src/hb-ot-layout-gsubgpos-private.hh | 13 +++++-------- - 3 files changed, 14 insertions(+), 19 deletions(-) - -commit 969c9705ae0c64577c3f69f5300fec975f952e1f -Author: Behdad Esfahbod -Date: Wed May 5 01:23:44 2010 -0400 - - Move context_length into apply_context - - src/hb-ot-layout-gpos-private.hh | 9 ++--- - src/hb-ot-layout-gsub-private.hh | 9 ++--- - src/hb-ot-layout-gsubgpos-private.hh | 70 ++++++++++++++++++++---------------- - 3 files changed, 50 insertions(+), 38 deletions(-) - -commit 94a23aaeca39c662614037ef887412249bdc8d49 -Author: Behdad Esfahbod -Date: Wed May 5 01:13:09 2010 -0400 - - Move buffer into apply_context - - src/hb-buffer-private.h | 30 +++++++++-------- - src/hb-ot-layout-gpos-private.hh | 64 ++++++++++++++++++++---------------- - src/hb-ot-layout-gsub-private.hh | 45 ++++++++++++++----------- - src/hb-ot-layout-gsubgpos-private.hh | 49 ++++++++++++++------------- - 4 files changed, 106 insertions(+), 82 deletions(-) - -commit 63493f956dca519df49da0a6badc3cb0a1b92779 -Author: Behdad Esfahbod -Date: Wed May 5 01:01:05 2010 -0400 - - Move layout_context into apply_context - - src/hb-ot-layout-gpos-private.hh | 105 ++++++++++++++++++----------------- - src/hb-ot-layout-gsub-private.hh | 47 ++++++++-------- - src/hb-ot-layout-gsubgpos-private.hh | 11 ++-- - 3 files changed, 82 insertions(+), 81 deletions(-) - -commit fff9aa263d1daf7c5117cf383fafa5043d5eb5af -Author: Behdad Esfahbod -Date: Wed May 5 00:32:21 2010 -0400 - - Minor - - src/hb-ot-layout-gsubgpos-private.hh | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - -commit 27e302dc8e794ff6bf878bc76e17d336d510849e -Author: Behdad Esfahbod -Date: Wed May 5 00:26:16 2010 -0400 - - I keep changing my mind about this - - src/hb-open-type-private.hh | 30 ++++++++++-------------------- - 1 file changed, 10 insertions(+), 20 deletions(-) - -commit 39840474afd2cda9ff576c08aff9c87095496c27 -Author: Behdad Esfahbod -Date: Wed May 5 00:23:19 2010 -0400 - - Remove SANITIZE_ARG_DEF and SANITIZE_ARG - - src/hb-open-file-private.hh | 16 ++--- - src/hb-open-type-private.hh | 59 +++++++-------- - src/hb-ot-layout-common-private.hh | 42 +++++------ - src/hb-ot-layout-gdef-private.hh | 28 ++++---- - src/hb-ot-layout-gpos-private.hh | 136 +++++++++++++++++------------------ - src/hb-ot-layout-gsub-private.hh | 72 +++++++++---------- - src/hb-ot-layout-gsubgpos-private.hh | 46 ++++++------ - 7 files changed, 197 insertions(+), 202 deletions(-) - -commit b261e2ad5c5a065599ce1dbc4ba437caa2cee1e9 -Author: Behdad Esfahbod -Date: Wed May 5 00:20:16 2010 -0400 - - Remove trace from sanitize_shallow() - - src/hb-open-type-private.hh | 1 - - 1 file changed, 1 deletion(-) - -commit dfc8cbe85479dde1ffdc6b2e73f4907331d77a19 -Author: Behdad Esfahbod -Date: Wed May 5 00:19:46 2010 -0400 - - Add hb_trace_t - - src/hb-open-type-private.hh | 33 +++++++++++++++++++-------------- - 1 file changed, 19 insertions(+), 14 deletions(-) - -commit 20e3dd5d292b65f70d2eae63b8d8713a1c889d47 -Author: Behdad Esfahbod -Date: Tue May 4 23:21:57 2010 -0400 - - Make sanitize_depth variable automatic and not passed through function args - - src/hb-open-type-private.hh | 72 +++++++++++++++++++++++++++------------------ - 1 file changed, 43 insertions(+), 29 deletions(-) - -commit 4a446ac35136eff23d55f47bdd7b40095ad707ab -Author: Behdad Esfahbod -Date: Tue May 4 22:46:21 2010 -0400 - - Use function template for pass-thru argument - - src/hb-open-type-private.hh | 26 ++++++-------------------- - src/hb-ot-layout-gpos-private.hh | 6 +++--- - 2 files changed, 9 insertions(+), 23 deletions(-) - -commit 98daaf183d6dbf2b68959da608cd9876ba55d7aa -Author: Behdad Esfahbod -Date: Tue May 4 22:42:49 2010 -0400 - - Make _hb_sanitize_*() methods of the context object - - src/hb-open-type-private.hh | 190 +++++++++++++++++++++++--------------------- - 1 file changed, 98 insertions(+), 92 deletions(-) - -commit bb029af943faa9905e652d58856998687e60c31d -Author: Behdad Esfahbod -Date: Tue May 4 15:28:52 2010 -0400 - - Remove SANITIZE_THIS - - src/hb-open-file-private.hh | 2 +- - src/hb-open-type-private.hh | 3 +- - src/hb-ot-layout-common-private.hh | 4 +-- - src/hb-ot-layout-gdef-private.hh | 25 ++++++++-------- - src/hb-ot-layout-gpos-private.hh | 55 ++++++++++++++++++++---------------- - src/hb-ot-layout-gsub-private.hh | 29 ++++++++++--------- - src/hb-ot-layout-gsubgpos-private.hh | 42 +++++++++++++-------------- - 7 files changed, 85 insertions(+), 75 deletions(-) - -commit 2226fc93d1427b8830bfb892fe1b25b488ea36dc -Author: Behdad Esfahbod -Date: Tue May 4 15:12:17 2010 -0400 - - Rename SANITIZE_BASE to SANITIZE_WITH_BASE - - src/hb-open-type-private.hh | 11 +++++++---- - src/hb-ot-layout-common-private.hh | 3 ++- - src/hb-ot-layout-gpos-private.hh | 15 ++++++++------- - 3 files changed, 17 insertions(+), 12 deletions(-) - -commit 89da1346ec3a8dec8a368df46d61ca75356e22fa -Author: Behdad Esfahbod -Date: Tue May 4 15:01:45 2010 -0400 - - Remove SANITIZE_OBJ - - src/hb-open-type-private.hh | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit 4d4cce96266b777a01cec03e8766dc8c0b159351 -Author: Behdad Esfahbod -Date: Tue May 4 14:57:55 2010 -0400 - - Remove SANITIZE_THIS2 - - src/hb-open-type-private.hh | 2 -- - src/hb-ot-layout-common-private.hh | 3 ++- - src/hb-ot-layout-gdef-private.hh | 10 ++++++---- - src/hb-ot-layout-gpos-private.hh | 9 ++++++--- - src/hb-ot-layout-gsub-private.hh | 11 +++++++---- - src/hb-ot-layout-gsubgpos-private.hh | 14 +++++++++----- - 6 files changed, 30 insertions(+), 19 deletions(-) - -commit 26bfcb64e473c40e439d6efbe974781dada28eca -Author: Behdad Esfahbod -Date: Tue May 4 14:49:45 2010 -0400 - - Cosmetic - - src/hb-ot-layout-gdef-private.hh | 5 ++--- - src/hb-ot-layout-gsubgpos-private.hh | 7 +++---- - 2 files changed, 5 insertions(+), 7 deletions(-) - -commit be74284673a1944e0f1884e861c3fe8f9855172c -Author: Behdad Esfahbod -Date: Tue May 4 14:47:05 2010 -0400 - - Remove SANITIZE_THIS3 - - src/hb-open-type-private.hh | 1 - - src/hb-ot-layout-gpos-private.hh | 21 +++++++++++++++------ - src/hb-ot-layout-gsubgpos-private.hh | 8 ++++++-- - 3 files changed, 21 insertions(+), 9 deletions(-) - -commit fbab9f9bd8ba59e7e5811f33c1dda198f95cf05a -Author: Behdad Esfahbod -Date: Tue May 4 14:42:10 2010 -0400 - - Remove SANITIZE_BASE2 - - src/hb-open-type-private.hh | 1 - - src/hb-ot-layout-gpos-private.hh | 3 ++- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit 73c7dbf7f5433c0cdd467ef32402f52867e9798e -Author: Behdad Esfahbod -Date: Tue May 4 14:40:55 2010 -0400 - - Remove SANITIZE2 - - src/hb-open-type-private.hh | 1 - - src/hb-ot-layout-gsub-private.hh | 2 +- - 2 files changed, 1 insertion(+), 2 deletions(-) - -commit c9f14687a30866181feb57ee2736a147ec9f25a1 -Author: Behdad Esfahbod -Date: Tue May 4 14:38:08 2010 -0400 - - Remove the NEUTER macro, move code to a method - - src/hb-open-type-private.hh | 21 +++++++++++++-------- - 1 file changed, 13 insertions(+), 8 deletions(-) - -commit 30fa2821c277df99a14089749313dfe2b541e2d0 -Author: Behdad Esfahbod -Date: Tue May 4 14:28:18 2010 -0400 - - Make internal method private - - src/hb-open-type-private.hh | 12 +++++++----- - 1 file changed, 7 insertions(+), 5 deletions(-) - -commit ce5694c79671bf75990923c1da17bb611e4e7d15 -Author: Behdad Esfahbod -Date: Tue May 4 14:10:18 2010 -0400 - - [main] Recognize Apple SFNTs - - src/hb-open-file-private.hh | 4 ++-- - src/main.cc | 6 ++++++ - 2 files changed, 8 insertions(+), 2 deletions(-) - -commit 710500a93ecc2a0c595045602aa367073485ff91 -Author: Behdad Esfahbod -Date: Mon May 3 23:11:16 2010 -0400 - - Comment new SFNT tags - - src/hb-open-file-private.hh | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -commit 64d3fc8d0dada673245cc8c0b1c12cd849b30997 -Author: Behdad Esfahbod -Date: Mon May 3 22:51:19 2010 -0400 - - Cosmetic: Rename HB_LIKELY/HB_UNLIKELY to likely/unlikely - - src/hb-buffer.c | 14 ++++---- - src/hb-font.cc | 6 ++-- - src/hb-ft.c | 14 ++++---- - src/hb-language.c | 2 +- - src/hb-object-private.h | 10 +++--- - src/hb-open-file-private.hh | 2 +- - src/hb-open-type-private.hh | 38 ++++++++++----------- - src/hb-ot-layout-common-private.hh | 16 ++++----- - src/hb-ot-layout-gdef-private.hh | 2 +- - src/hb-ot-layout-gpos-private.hh | 64 ++++++++++++++++++------------------ - src/hb-ot-layout-gsub-private.hh | 52 ++++++++++++++--------------- - src/hb-ot-layout-gsubgpos-private.hh | 40 +++++++++++----------- - src/hb-ot-layout.cc | 12 +++---- - src/hb-ot-tag.c | 2 +- - src/hb-private.h | 8 ++--- - src/hb-shape.c | 10 +++--- - src/hb-unicode.c | 2 +- - 17 files changed, 147 insertions(+), 147 deletions(-) - -commit fa3b3d58443a7c22eca3f86243993ba2d4bd9f4a -Author: Behdad Esfahbod -Date: Mon May 3 22:47:22 2010 -0400 - - Mark a couple functions as inline - - src/hb-open-type-private.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 6b84198f9d471defb6f55d44d4f5423df70b2a10 -Merge: 631d10b72 eaf29edb8 -Author: Behdad Esfahbod -Date: Mon May 3 22:46:52 2010 -0400 - - Merge remote branch 'jrmuizel/master' - -commit eaf29edb8fa49390e5f48b78105dfd173aff445b -Author: Jeff Muizelaar -Date: Mon May 3 22:27:56 2010 -0400 - - HB_UNUSED is unneeded on static inline functions - - src/hb-object-private.h | 2 +- - src/hb-open-type-private.hh | 6 +++--- - src/hb-private.h | 4 ++-- - 3 files changed, 6 insertions(+), 6 deletions(-) - -commit 4ce578ed369f1526c91deedcf9e72537b3e4328f -Author: Jeff Muizelaar -Date: Mon May 3 15:03:53 2010 -0400 - - Include the tags from the Apple specification for TrueType fonts - - src/hb-open-file-private.hh | 8 ++++++++ - 1 file changed, 8 insertions(+) - -commit 631d10b728d9e1a02c7dddf505d4fae5e244c6e8 -Author: Behdad Esfahbod -Date: Sun May 2 21:14:21 2010 -0400 - - Remove unused method - - src/hb-open-file-private.hh | 5 ----- - 1 file changed, 5 deletions(-) - -commit f0abcd69408a3af65207cdf8847575ade4579bd4 -Author: Behdad Esfahbod -Date: Sun May 2 18:14:25 2010 -0400 - - Whitespace - - src/hb-open-type-private.hh | 9 ++++----- - 1 file changed, 4 insertions(+), 5 deletions(-) - -commit a8d960bd26883ee937b04ca2a3c16a3644870356 -Author: Behdad Esfahbod -Date: Thu Apr 29 14:31:56 2010 -0400 - - [GPOS] Speedup apply_value() - - src/hb-ot-layout-gpos-private.hh | 7 ++++++- - 1 file changed, 6 insertions(+), 1 deletion(-) - -commit 2cd1ea4411d0808559a942ff3fa4e637f9c9a9c8 -Author: Behdad Esfahbod -Date: Thu Apr 29 14:15:32 2010 -0400 - - [ft] Disallow getting the entire font data with tag=0 - - src/hb-ft.c | 3 +++ - 1 file changed, 3 insertions(+) - -commit 33d13fdda99acaeffa9600737e8870278d053ebe -Author: Behdad Esfahbod -Date: Thu Apr 29 13:56:44 2010 -0400 - - Rename HB_GNUC_UNUSED -> HB_UNUSED - - src/hb-buffer.c | 6 ++--- - src/hb-font.cc | 44 ++++++++++++++++++------------------ - src/hb-ft.c | 16 ++++++------- - src/hb-object-private.h | 2 +- - src/hb-open-type-private.hh | 18 +++++++-------- - src/hb-ot-layout-gdef-private.hh | 4 ++-- - src/hb-ot-layout-gpos-private.hh | 4 ++-- - src/hb-ot-layout-gsubgpos-private.hh | 6 ++--- - src/hb-ot-layout.cc | 4 ++-- - src/hb-ot-shape.c | 2 +- - src/hb-private.h | 16 ++++++------- - src/hb-shape.c | 32 +++++++++++++------------- - src/hb-unicode.c | 8 +++---- - 13 files changed, 81 insertions(+), 81 deletions(-) - -commit 7d3a126334f8e6f6441561c1bb592bd3fa7a2c5c -Author: Behdad Esfahbod -Date: Thu Apr 29 13:54:01 2010 -0400 - - Define HB_FUNC for portability to non-gcc - - src/hb-open-type-private.hh | 12 ++++++------ - src/hb-ot-layout-gsubgpos-private.hh | 2 +- - src/hb-private.h | 9 +++++++++ - 3 files changed, 16 insertions(+), 7 deletions(-) - -commit fa030175ca998b00cc42cbced6e98de323ec01ec -Author: Behdad Esfahbod -Date: Thu Apr 29 13:48:26 2010 -0400 - - [sanitize] Make debug code always available to the compiler - - Such that we don't break debug build all the time. - - src/hb-open-type-private.hh | 71 ++++++++++++++++++++------------------------- - 1 file changed, 31 insertions(+), 40 deletions(-) - -commit fde6f5bd682f5ad0cc5e2ec69fc831b0192bf90b -Author: Behdad Esfahbod -Date: Thu Apr 29 04:41:41 2010 -0400 - - Convert to uppercase in hb_ot_tag_from_language() - - src/hb-ot-tag.c | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -commit 6f729b45b04243c42ad7201b67cda9d5e5c363f1 -Author: Behdad Esfahbod -Date: Thu Apr 29 03:59:06 2010 -0400 - - More contour point use - - src/hb-font.cc | 1 + - src/hb-ot-layout-gdef-private.hh | 8 +++++--- - src/hb-ot-layout-gpos-private.hh | 13 +++++++++---- - 3 files changed, 15 insertions(+), 7 deletions(-) - -commit 3840b6b50503ba2c9a99f774284e0077baffa8a0 -Author: Behdad Esfahbod -Date: Thu Apr 29 03:48:27 2010 -0400 - - [gdef] Fix delta scale - - src/hb-ot-layout-gdef-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 4ac6cc284b2c1eb670c2a3659ec385ed729acac4 -Author: Behdad Esfahbod -Date: Thu Apr 29 03:48:11 2010 -0400 - - [gdef] Fix rounding - - src/hb-ot-layout-gdef-private.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit b52fbb1bab608bda76efb936f08344afaec600a1 -Author: Behdad Esfahbod -Date: Thu Apr 29 03:47:00 2010 -0400 - - [gdef] Implement getting contour point - - src/hb-ot-layout-gdef-private.hh | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -commit 4c5fbae011a33b9efef5aedd61c357fc0ded1113 -Author: Behdad Esfahbod -Date: Thu Apr 29 03:39:39 2010 -0400 - - Make sure mirroring is done in original direction - - Reported by Jonathan Kew. - - src/hb-shape.c | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -commit ce23c9234b87513d6460fb89bad178fb8537e161 -Author: Behdad Esfahbod -Date: Thu Apr 29 03:31:03 2010 -0400 - - Use BCP47 private-use tags for OpenType tag language string mapping - - src/hb-ot-tag.c | 16 ++++++++-------- - 1 file changed, 8 insertions(+), 8 deletions(-) - -commit eaf1d9a46c4a320f3b0026c0a610f95a620d566f -Author: Behdad Esfahbod -Date: Thu Apr 29 03:11:32 2010 -0400 - - Minor - - src/hb-ot-tag.c | 1 + - 1 file changed, 1 insertion(+) - -commit 3a4784fe88a0f14147ccdd3633952c9c0f3ae8f3 -Author: Behdad Esfahbod -Date: Thu Apr 29 02:58:38 2010 -0400 - - Fix bug in hb_language_from_string() - - Reported by Jonathan Kew. - - src/hb-language.c | 2 ++ - 1 file changed, 2 insertions(+) - -commit 602e4f8d5512cdf48c696ad64ad62ff97f6dbdcc -Author: Behdad Esfahbod -Date: Thu Apr 29 02:28:54 2010 -0400 - - Use const_cast - - src/hb-open-type-private.hh | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit abff3580a5b229641086e0da097efee11d22ff81 -Author: Behdad Esfahbod -Date: Thu Apr 29 02:27:20 2010 -0400 - - Add const - - src/hb-object-private.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 6617eada95928457a25e29f793f1a93c6b3edaec -Author: Behdad Esfahbod -Date: Thu Apr 29 02:25:30 2010 -0400 - - Rename apply_context -> context - - src/hb-ot-layout-gpos-private.hh | 22 +++++++++++----------- - src/hb-ot-layout-gsub-private.hh | 26 +++++++++++++------------- - src/hb-ot-layout-gsubgpos-private.hh | 12 ++++++------ - 3 files changed, 30 insertions(+), 30 deletions(-) - -commit b4c7fab762935b9c182b3e2ac3415f29fc6a5558 -Author: Behdad Esfahbod -Date: Thu Apr 29 02:24:25 2010 -0400 - - Rename - - src/hb-ot-layout-gpos-private.hh | 98 ++++++++++++++++++------------------ - src/hb-ot-layout-gsub-private.hh | 46 ++++++++--------- - src/hb-ot-layout-gsubgpos-private.hh | 12 ++--- - 3 files changed, 78 insertions(+), 78 deletions(-) - -commit 1376fb7bf9ef07970f0ba13dc64d6a8ab8252762 -Author: Behdad Esfahbod -Date: Thu Apr 29 02:19:21 2010 -0400 - - [apply] Use a context object to reduce number of parameters passed around - - src/hb-open-type-private.hh | 5 ++--- - src/hb-ot-layout-gpos-private.hh | 26 ++++++++++++++----------- - src/hb-ot-layout-gsub-private.hh | 37 +++++++++++++++++++----------------- - src/hb-ot-layout-gsubgpos-private.hh | 29 +++++++++++++++------------- - 4 files changed, 53 insertions(+), 44 deletions(-) - -commit 173fde7087c0db3e99409f1119530477c14072f5 -Author: Behdad Esfahbod -Date: Thu Apr 29 01:47:30 2010 -0400 - - Further simplify tracing - - src/hb-open-type-private.hh | 31 +++++++++++++++---------------- - src/hb-ot-layout-gpos-private.hh | 9 +++++---- - src/hb-ot-layout-gsub-private.hh | 11 ++++++----- - src/hb-ot-layout-gsubgpos-private.hh | 8 -------- - 4 files changed, 26 insertions(+), 33 deletions(-) - -commit bc200457430c083914a64bf4b056153506749610 -Author: Behdad Esfahbod -Date: Thu Apr 29 01:40:26 2010 -0400 - - Simplify trace code - - src/hb-open-type-private.hh | 41 +++++++++--------------------- - src/hb-ot-layout-gsubgpos-private.hh | 25 +++++-------------- - src/hb-private.h | 48 +++++++++++++++++++++++++----------- - 3 files changed, 51 insertions(+), 63 deletions(-) - -commit 807c5b03a2251a3c29a520852639421783101b55 -Author: Behdad Esfahbod -Date: Wed Apr 28 20:25:22 2010 -0400 - - [sanitize] Make debug code always available to the compiler - - Such that we don't break debug build all the time. - - src/hb-open-type-private.hh | 31 ++++++++++++++++++++----------- - src/hb-ot-layout-gsubgpos-private.hh | 2 +- - 2 files changed, 21 insertions(+), 12 deletions(-) - -commit 74e313c016704e1d9157c2763691c4151f049dfc -Author: Behdad Esfahbod -Date: Wed Apr 28 15:15:09 2010 -0400 - - [gsubgpos] Make debug code always available to the compiler - - Such that we don't break debug build all the time. - - src/hb-ot-layout-gsubgpos-private.hh | 52 ++++++++++++++++++------------------ - 1 file changed, 26 insertions(+), 26 deletions(-) - -commit 41011a6ed7c4891b20c0eddbb6d4ad9c820cfddb -Author: Behdad Esfahbod -Date: Wed Apr 28 13:33:09 2010 -0400 - - Fix compiler warning about value unused - - src/hb-object-private.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 863df68e894b7644dcd12da88aa22f73edf829dc -Author: Behdad Esfahbod -Date: Wed Apr 28 13:29:55 2010 -0400 - - [object] Make debug code always available to the compiler - - Such that we don't break debug build all the time. - - src/hb-object-private.h | 42 +++++++++++++++++++++++++++--------------- - 1 file changed, 27 insertions(+), 15 deletions(-) - -commit 1d52151a19ed8ec776276aac5cc6ce3769e0d947 -Author: Behdad Esfahbod -Date: Wed Apr 28 13:18:41 2010 -0400 - - Minor - - src/hb-private.h | 8 +++++--- - 1 file changed, 5 insertions(+), 3 deletions(-) - -commit 444fffb1ab378cb3022e2a8e9f90d20a00c82f6a -Author: Behdad Esfahbod -Date: Wed Apr 28 13:16:38 2010 -0400 - - [blob] Make debug code always available to the compiler - - Such that we don't break debug build all the time. - - src/hb-blob.c | 78 ++++++++++++++++++++++++----------------------------------- - 1 file changed, 32 insertions(+), 46 deletions(-) - -commit ba51b25c7ba568aeced17f016eceba987569c5d9 -Author: Behdad Esfahbod -Date: Wed Apr 28 13:10:36 2010 -0400 - - Fix build. Ouch! - - src/hb-object-private.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit a92f0fda7fee9d60b399b8865541bf73e6e30141 -Author: Behdad Esfahbod -Date: Wed Apr 28 13:09:40 2010 -0400 - - Fix debug build - - src/hb-open-type-private.hh | 4 ++-- - src/hb-ot-layout-gsubgpos-private.hh | 2 +- - 2 files changed, 3 insertions(+), 3 deletions(-) - -commit c165f25410f817d248ad5d07e1827d33efd1b0a0 -Author: Behdad Esfahbod -Date: Tue Apr 27 23:28:10 2010 -0400 - - [object] Actually handle malloc() failure - - Caught by John Daggett. - - src/hb-object-private.h | 10 ++++++---- - 1 file changed, 6 insertions(+), 4 deletions(-) - -commit caff7db93d205e32a535d49e51a3cad70f91dfdd -Author: Behdad Esfahbod -Date: Mon Apr 26 10:07:35 2010 -0400 - - Fix Device::get_size() calculation - - src/hb-ot-layout-common-private.hh | 8 ++++++-- - 1 file changed, 6 insertions(+), 2 deletions(-) - -commit 66d6eb30eb0b8d61e00f86ea0c7829abaddb52fa -Author: Behdad Esfahbod -Date: Sun Apr 25 23:01:45 2010 -0400 - - Rename Var to Obj - - src/hb-open-type-private.hh | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 690b9194619589c32ffc0c092e45262ae7776e79 -Author: Behdad Esfahbod -Date: Sun Apr 25 22:51:05 2010 -0400 - - Remove use of flexible arrays - - Also remove wrong ASSERT_SIZE that would trigger only when not using - flexible arrays (which was the case on win32, but not with gcc). - - configure.ac | 2 -- - src/hb-open-file-private.hh | 1 - - src/hb-private.h | 4 ---- - 3 files changed, 7 deletions(-) - -commit 1cebfbb0636b13dc5dc6a4b8b7acbb7da28129d2 -Author: Behdad Esfahbod -Date: Fri Apr 23 20:49:18 2010 -0400 - - Cleanup hb_face_create_for_data() - - src/Makefile.am | 1 + - src/hb-blob-private.h | 57 +++++++++++++++++++++++++++++++ - src/hb-blob.c | 20 ++--------- - src/hb-font-private.h | 3 -- - src/hb-font.cc | 92 +++++++++++++++++++++++++++++++++++---------------- - 5 files changed, 123 insertions(+), 50 deletions(-) - -commit d6b3c83a90f60bedb4049750ffb351161710980d -Author: Behdad Esfahbod -Date: Fri Apr 23 19:59:53 2010 -0400 - - Allow get_table() to return NULL - - src/hb-font.cc | 6 +++++- - src/hb-ft.c | 2 +- - 2 files changed, 6 insertions(+), 2 deletions(-) - -commit ad3653751b1e4a03f7058200cb83f64db46722d5 -Author: Behdad Esfahbod -Date: Fri Apr 23 19:43:40 2010 -0400 - - Typo - - src/hb-open-type-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 990443e5f282ad61de00dcf1ebff9cf1d5bc2d70 -Author: Behdad Esfahbod -Date: Fri Apr 23 17:53:32 2010 -0400 - - Remove lock_instance() - - src/hb-font.cc | 2 +- - src/hb-open-type-private.hh | 4 ---- - src/hb-ot-layout.cc | 6 +++--- - 3 files changed, 4 insertions(+), 8 deletions(-) - -commit 187454c595559ce48d072fee6bccb51f3de283d4 -Author: Behdad Esfahbod -Date: Fri Apr 23 16:35:01 2010 -0400 - - Add different casts from pointer and ref to avoid bugs - - src/hb-open-type-private.hh | 22 +++++++++++++++------- - src/hb-ot-layout-gpos-private.hh | 8 ++++---- - src/hb-ot-layout-gsub-private.hh | 12 ++++++------ - src/main.cc | 6 +++--- - 4 files changed, 28 insertions(+), 20 deletions(-) - -commit efb324a46ff64adb4ec8612b4089e8daff1e6d8e -Author: Behdad Esfahbod -Date: Fri Apr 23 16:22:54 2010 -0400 - - Remove GET_FOR_DATA macros - - The major-version check is now handled by sanitize. If major - doesn't match, we reject and fall back to the Null object. - - src/hb-open-file-private.hh | 4 ---- - src/hb-open-type-private.hh | 23 ++--------------------- - src/hb-ot-layout-gdef-private.hh | 2 -- - src/hb-ot-layout-gpos-private.hh | 3 --- - src/hb-ot-layout-gsub-private.hh | 3 --- - src/hb-ot-layout-gsubgpos-private.hh | 2 -- - src/main.cc | 6 +++--- - 7 files changed, 5 insertions(+), 38 deletions(-) - -commit f1aaa2a43654c28405ffd393de2cb127437c99a5 -Author: Behdad Esfahbod -Date: Fri Apr 23 15:19:50 2010 -0400 - - Add TODO - - src/hb-ft.c | 2 -- - src/hb-ft.h | 1 + - src/hb-open-file-private.hh | 2 +- - src/hb-open-type-private.hh | 2 ++ - src/hb-ot-layout-common-private.hh | 12 ++++++------ - 5 files changed, 10 insertions(+), 9 deletions(-) - -commit 33d4d4325e15e332105ea8f361bab79ee542f0f8 -Author: Behdad Esfahbod -Date: Fri Apr 23 14:56:55 2010 -0400 - - Zero glyph metrics before calling user callback - - src/hb-font.cc | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 4206e9511a222c0c50cc9b4fe72ec421983bba2c -Author: Behdad Esfahbod -Date: Fri Apr 23 14:44:55 2010 -0400 - - More warning fixes - - src/hb-ot-layout.cc | 4 ++-- - src/hb-ot-shape.c | 9 ++++----- - src/hb-shape.c | 32 ++++++++++++++++---------------- - 3 files changed, 22 insertions(+), 23 deletions(-) - -commit ef66ebeabc6c234004bd9e9bb67eb5c9711f4a1e -Author: Behdad Esfahbod -Date: Fri Apr 23 14:40:36 2010 -0400 - - Remove unused parameter - - src/hb-open-file-private.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 1d720192b193f48b44be0385eda3c2c5d5cd28ad -Author: Behdad Esfahbod -Date: Fri Apr 23 14:39:10 2010 -0400 - - Fix compile warnings (HB_GNUC_UNUSED) - - src/hb-buffer.c | 6 +++--- - src/hb-font.cc | 31 ++++++++++++++++++++++--------- - src/hb-ft.c | 29 +++++++++++++++++++++-------- - src/hb-open-type-private.hh | 2 +- - src/hb-unicode.c | 8 ++++---- - 5 files changed, 51 insertions(+), 25 deletions(-) - -commit 8dfdca599c0a3ba5255131002910bca3b381acac -Author: Behdad Esfahbod -Date: Fri Apr 23 14:07:34 2010 -0400 - - No need to keep blob in sanitize context - - src/hb-open-type-private.hh | 13 +++++-------- - 1 file changed, 5 insertions(+), 8 deletions(-) - -commit 254933c397f1ce9796f59689a25f9fc2e58df4ea -Author: Behdad Esfahbod -Date: Fri Apr 23 13:57:10 2010 -0400 - - When sanitizing, delay making writable - - Before, as soon as we needed to make an edit, we tried to make the blob - writable inplace. That grows code unnecessarily though. We can simply - fail, make writable, then start again. That's indeed what the fallback - was doing anyway. - - src/hb-open-type-private.hh | 11 +++++++---- - 1 file changed, 7 insertions(+), 4 deletions(-) - -commit 71e735e915c85536ee4d3035576f7426e8cd19dd -Author: Behdad Esfahbod -Date: Fri Apr 23 13:48:06 2010 -0400 - - [blob] Fallback to copying if mprotect() fails - - src/hb-blob.c | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit 1aa4666b914da7747fc58a8f6f2d913c94e3b8da -Author: Behdad Esfahbod -Date: Fri Apr 23 13:32:03 2010 -0400 - - Cleanup OpenTypeFontFile - - src/hb-open-file-private.hh | 44 ++++++++++++++++++++++++++------------------ - src/main.cc | 2 +- - 2 files changed, 27 insertions(+), 19 deletions(-) - -commit ae4190cafe927649f8ff8be6a0082478d1298fda -Author: Behdad Esfahbod -Date: Fri Apr 23 12:33:02 2010 -0400 - - Properly define separate structs for TTCHeader and TTCHeaderVersion1 - - src/hb-open-file-private.hh | 71 +++++++++++++++++++++++++++++++++++---------- - 1 file changed, 55 insertions(+), 16 deletions(-) - -commit a065f471b3bc23d33ef75217308efeaed4ffd033 -Author: Behdad Esfahbod -Date: Thu Apr 22 20:15:11 2010 -0400 - - Cleanup Extension lookups - - Two things: - - 1. Allow nested Extension lookups. The offset is always positive, so - it can't loop circularly. - - 2. Move the check for all Extension subtables having the same lookup - type to the correct place. Before it wasn't really working. - - src/hb-ot-layout-gpos-private.hh | 29 +------------------- - src/hb-ot-layout-gsub-private.hh | 57 ++++++++++++++++++++++------------------ - 2 files changed, 33 insertions(+), 53 deletions(-) - -commit a0bb49c5830f8a7f25d573ec57b79df2620ddba7 -Author: Behdad Esfahbod -Date: Thu Apr 22 18:47:03 2010 -0400 - - Add comment re bsearch effect on sanitize - - src/hb-open-file-private.hh | 2 +- - src/hb-ot-layout-common-private.hh | 8 ++++---- - 2 files changed, 5 insertions(+), 5 deletions(-) - -commit d632ec4000b3079150e6424e88a3ab7509f7445c -Author: Behdad Esfahbod -Date: Thu Apr 22 18:33:12 2010 -0400 - - Cosmetic - - src/hb-open-type-private.hh | 6 +++--- - src/hb-ot-layout-gsubgpos-private.hh | 2 +- - 2 files changed, 4 insertions(+), 4 deletions(-) - -commit a3263aa773ad7a914496792466c69047048b093c -Author: Behdad Esfahbod -Date: Thu Apr 22 18:29:09 2010 -0400 - - Convert the last set of cast macros to templates - - src/hb-open-file-private.hh | 4 +-- - src/hb-open-type-private.hh | 53 +++++++++++++++++++++++------------- - src/hb-ot-layout-gpos-private.hh | 16 +++++------ - src/hb-ot-layout-gsub-private.hh | 14 +++++----- - src/hb-ot-layout-gsubgpos-private.hh | 12 ++++---- - 5 files changed, 57 insertions(+), 42 deletions(-) - -commit c38188a1912f72d9ef90ae1bcbdbba7ecce63371 -Author: Behdad Esfahbod -Date: Thu Apr 22 16:52:09 2010 -0400 - - Remove unused macro - - src/hb-open-type-private.hh | 1 - - 1 file changed, 1 deletion(-) - -commit 3b2c2df41b90f2a1d9e33b3dc15a92cff58a689a -Author: Behdad Esfahbod -Date: Thu Apr 22 16:51:42 2010 -0400 - - Cleanup Extension sanitize() - - src/hb-ot-layout-common-private.hh | 20 +++----------------- - src/hb-ot-layout-gpos-private.hh | 20 +++++++++++++------- - src/hb-ot-layout-gsub-private.hh | 20 +++++++++++++------- - src/hb-ot-layout-gsubgpos-private.hh | 13 ++++--------- - 4 files changed, 33 insertions(+), 40 deletions(-) - -commit 1856184b93760a1a54fb1a3c54281bb252df7ce6 -Author: Behdad Esfahbod -Date: Thu Apr 22 14:15:11 2010 -0400 - - Fail sanitize on major version mismatch - - We handle major-version differences via get_for_data(), so sanitize - should never see a major version mismatch. - - src/hb-open-file-private.hh | 4 ++-- - src/hb-ot-layout-gdef-private.hh | 2 +- - src/hb-ot-layout-gsubgpos-private.hh | 2 +- - 3 files changed, 4 insertions(+), 4 deletions(-) - -commit df3f505dcfeefc8cd395900b116767d22549f756 -Author: Behdad Esfahbod -Date: Thu Apr 22 14:11:33 2010 -0400 - - More sanitize cleanup - - src/hb-open-file-private.hh | 24 ++---------------------- - src/main.cc | 4 ++-- - 2 files changed, 4 insertions(+), 24 deletions(-) - -commit 278a91f0cd802ac817c2603429bae1fa4a350ea0 -Author: Behdad Esfahbod -Date: Thu Apr 22 13:59:39 2010 -0400 - - Minor cleanup of sanitize - - Done with an audit of all sanitize() - - src/hb-ot-layout-gpos-private.hh | 18 +++++++++--------- - 1 file changed, 9 insertions(+), 9 deletions(-) - -commit 9ac7dc73bc24b6dafb94df5de9cbf8fa0c82d5bc -Author: Behdad Esfahbod -Date: Thu Apr 22 13:50:22 2010 -0400 - - Check for (impossible) overflow - - src/hb-ot-layout-gpos-private.hh | 1 + - 1 file changed, 1 insertion(+) - -commit 9fc8684fd85ef6ec82b3b54323761bbdd4c3d891 -Author: Behdad Esfahbod -Date: Thu Apr 22 13:37:58 2010 -0400 - - Cleanup ContextFormat3 sanitize - - src/hb-ot-layout-gsubgpos-private.hh | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit e77302c61f1f1620d1f438a997575fa6ee5c172e -Author: Behdad Esfahbod -Date: Thu Apr 22 13:34:00 2010 -0400 - - Add comment - - src/hb-ot-layout-common-private.hh | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit 7c469c3ca4ed4e45c50eff70df59b1a4780bae5b -Author: Behdad Esfahbod -Date: Thu Apr 22 13:26:21 2010 -0400 - - Minor - - src/hb-ot-layout-common-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit dc228048a813e43356373505168d3822deea5d72 -Author: Behdad Esfahbod -Date: Thu Apr 22 13:22:41 2010 -0400 - - Remove integrity check in Tag sanitize - - Serves no useful purpose. - - src/hb-open-type-private.hh | 9 --------- - src/hb-ot-layout-common-private.hh | 2 +- - 2 files changed, 1 insertion(+), 10 deletions(-) - -commit 8015a8c762dc7be36998d529b7a3af59e3d14d87 -Author: Behdad Esfahbod -Date: Thu Apr 22 11:06:30 2010 -0400 - - Don't sanitize raw table data - - That part is performed by individual table sanitize. - - src/hb-open-file-private.hh | 15 +++++++++------ - 1 file changed, 9 insertions(+), 6 deletions(-) - -commit c293581e962b7982622e7d607fa3909b40da718e -Author: Behdad Esfahbod -Date: Thu Apr 22 11:15:46 2010 -0400 - - Add coment - - src/hb-open-type-private.hh | 1 + - 1 file changed, 1 insertion(+) - -commit 1faa76c6e848c6b0e360d9ddcf567533b87f8f31 -Author: Behdad Esfahbod -Date: Thu Apr 22 10:54:26 2010 -0400 - - Remove unnecessary casts - - src/hb-open-type-private.hh | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 079dc40112d3908ff7b7028ea3019bfe82bf606d -Author: Behdad Esfahbod -Date: Thu Apr 22 10:47:12 2010 -0400 - - Avoid overflow in TableDirectory sanitize - - src/hb-open-file-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit fb5904ec935d925a423401bc975ffaa22022ce1b -Author: Behdad Esfahbod -Date: Thu Apr 22 10:43:30 2010 -0400 - - Make casts more explicit - - src/hb-ot-layout-gpos-private.hh | 4 ++-- - src/hb-ot-layout-gsub-private.hh | 4 ++-- - 2 files changed, 4 insertions(+), 4 deletions(-) - -commit 565c80bd2960366ace2d10dd71beaaf2a80213c8 -Author: Behdad Esfahbod -Date: Thu Apr 22 10:26:35 2010 -0400 - - Make sure semicolon is expected after DEFINE_NULL_DATA() - - src/hb-open-type-private.hh | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit bb1e16335e537231246f44740f73cc23c0707364 -Author: Behdad Esfahbod -Date: Thu Apr 22 01:01:35 2010 -0400 - - Improve Subst/Pos SubTable access and sanitize - - src/hb-ot-layout-gpos-private.hh | 4 ++-- - src/hb-ot-layout-gsub-private.hh | 4 ++-- - 2 files changed, 4 insertions(+), 4 deletions(-) - -commit 81f2af40f9afd5bb9695018e6baddcd4aa3361c1 -Author: Behdad Esfahbod -Date: Thu Apr 22 00:58:49 2010 -0400 - - Simplify Extension offset now that our int types have no alignment - - src/hb-ot-layout-gsubgpos-private.hh | 9 +++------ - 1 file changed, 3 insertions(+), 6 deletions(-) - -commit 19828ad42d8117563412aae3c70887aa117805a9 -Author: Behdad Esfahbod -Date: Thu Apr 22 00:49:16 2010 -0400 - - Sanitize shallow in Lookup since the generic SubLookup has no methods - - src/hb-ot-layout-common-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit e5546a4352c54311ac4a9ef138b187378155ebe1 -Author: Behdad Esfahbod -Date: Thu Apr 22 00:45:42 2010 -0400 - - Watch for overflow in Array sanitize - - src/hb-open-type-private.hh | 21 +++++++++++++++------ - src/hb-ot-layout-common-private.hh | 2 +- - 2 files changed, 16 insertions(+), 7 deletions(-) - -commit 4f5f1c34dda1e0629bfa6d7b0ffa2e1ce003b7c7 -Author: Behdad Esfahbod -Date: Thu Apr 22 00:27:39 2010 -0400 - - Rename const_sub_array to sub_array since all consts are implicit now - - src/hb-open-type-private.hh | 2 +- - src/hb-ot-layout-common-private.hh | 4 ++-- - src/hb-ot-layout-gdef-private.hh | 4 ++-- - 3 files changed, 5 insertions(+), 5 deletions(-) - -commit 0795b784dd1009976c185482a376df250167e73b -Author: Behdad Esfahbod -Date: Thu Apr 22 00:23:14 2010 -0400 - - Cosmetic - - src/hb-ot-layout-common-private.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 2d98d3bbaa0ddadcb08b5a8f437b18c211c50768 -Author: Behdad Esfahbod -Date: Thu Apr 22 00:19:30 2010 -0400 - - Simplify Lookup sanitize - - src/hb-ot-layout-common-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit c755cb3e3ac55156d0d2ec05adea7a650b97cc41 -Author: Behdad Esfahbod -Date: Thu Apr 22 00:11:43 2010 -0400 - - Change header comment - - README | 2 +- - src/hb-blob.c | 2 +- - src/hb-blob.h | 2 +- - src/hb-buffer-private.h | 2 +- - src/hb-buffer.c | 2 +- - src/hb-buffer.h | 2 +- - src/hb-common.h | 2 +- - src/hb-font-private.h | 2 +- - src/hb-font.cc | 2 +- - src/hb-font.h | 2 +- - src/hb-ft.c | 2 +- - src/hb-ft.h | 2 +- - src/hb-glib.c | 2 +- - src/hb-glib.h | 2 +- - src/hb-icu.c | 2 +- - src/hb-icu.h | 2 +- - src/hb-language.c | 2 +- - src/hb-language.h | 2 +- - src/hb-object-private.h | 2 +- - src/hb-open-file-private.hh | 2 +- - src/hb-open-type-private.hh | 2 +- - src/hb-ot-layout-common-private.hh | 2 +- - src/hb-ot-layout-gdef-private.hh | 2 +- - src/hb-ot-layout-gpos-private.hh | 2 +- - src/hb-ot-layout-gsub-private.hh | 2 +- - src/hb-ot-layout-gsubgpos-private.hh | 2 +- - src/hb-ot-layout-private.h | 2 +- - src/hb-ot-layout.cc | 2 +- - src/hb-ot-layout.h | 2 +- - src/hb-ot-shape-private.h | 2 +- - src/hb-ot-shape.c | 2 +- - src/hb-ot-tag.c | 2 +- - src/hb-ot-tag.h | 2 +- - src/hb-ot.h | 2 +- - src/hb-private.h | 2 +- - src/hb-shape.c | 2 +- - src/hb-shape.h | 2 +- - src/hb-unicode-private.h | 2 +- - src/hb-unicode.c | 2 +- - src/hb-unicode.h | 2 +- - src/hb.h | 2 +- - src/main.cc | 2 +- - 42 files changed, 42 insertions(+), 42 deletions(-) - -commit 243d20e011e251462a07947275e0e98cc19c7e9b -Author: Behdad Esfahbod -Date: Wed Apr 21 23:57:01 2010 -0400 - - More cast simplification - - src/hb-open-type-private.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 0dfcc13a4668cdd2c2ebdd5f4a7540a51222cf2f -Author: Behdad Esfahbod -Date: Wed Apr 21 23:41:26 2010 -0400 - - Rename ConstCharP to CharP (overloaded now) - - src/hb-open-file-private.hh | 10 +++++----- - src/hb-open-type-private.hh | 24 ++++++++++++------------ - src/hb-ot-layout-gpos-private.hh | 12 ++++++------ - src/hb-ot-layout-gsub-private.hh | 4 ++-- - src/hb-ot-layout-gsubgpos-private.hh | 14 +++++++------- - 5 files changed, 32 insertions(+), 32 deletions(-) - -commit 62c0fd75737a69721dbf29e773405a4c529f8b6d -Author: Behdad Esfahbod -Date: Wed Apr 21 23:30:48 2010 -0400 - - Cleanup de-const-casting during sanitize - - src/hb-open-file-private.hh | 2 +- - src/hb-open-type-private.hh | 29 ++++++++++++++--------------- - src/hb-ot-layout-common-private.hh | 4 ++-- - src/hb-ot-layout-gpos-private.hh | 12 ++++++------ - 4 files changed, 23 insertions(+), 24 deletions(-) - -commit dd155870567cfb9647b2e71593ace8b2705d7cff -Author: Behdad Esfahbod -Date: Wed Apr 21 23:13:33 2010 -0400 - - Add more comments - - src/hb-open-type-private.hh | 1 + - 1 file changed, 1 insertion(+) - -commit c85c3620675f38ffdca59134aeec2641485f40ca -Author: Behdad Esfahbod -Date: Wed Apr 21 23:12:54 2010 -0400 - - Add comment - - src/hb-open-type-private.hh | 1 + - 1 file changed, 1 insertion(+) - -commit 2467c669c2aee4de2a6621a9d06cba0262376d41 -Author: Behdad Esfahbod -Date: Wed Apr 21 23:11:45 2010 -0400 - - Add comment - - src/hb-open-type-private.hh | 1 + - 1 file changed, 1 insertion(+) - -commit 29c3f5e1b6212c775a7b911becd44ba093b7b0eb -Author: Behdad Esfahbod -Date: Wed Apr 21 23:01:00 2010 -0400 - - Improve comment - - src/hb-open-type-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 01c01618e98283611628cd54d5ba4bf122f24cd9 -Author: Behdad Esfahbod -Date: Wed Apr 21 22:49:56 2010 -0400 - - Further simplify IntType struct defs - - src/hb-open-type-private.hh | 21 ++++++++++++--------- - 1 file changed, 12 insertions(+), 9 deletions(-) - -commit 2cb08458f674301cde9d962c13911035a251f7c5 -Author: Behdad Esfahbod -Date: Wed Apr 21 22:37:31 2010 -0400 - - Rename const_array() to array() (overloaded) - - src/hb-open-type-private.hh | 12 ++++++------ - src/hb-ot-layout-common-private.hh | 4 ++-- - src/hb-ot-layout-gsub-private.hh | 6 +++--- - src/hb-ot-layout-gsubgpos-private.hh | 16 ++++++++-------- - 4 files changed, 19 insertions(+), 19 deletions(-) - -commit 2e2f43edf2f49f4047e28b1ce2ea95938536de9c -Author: Behdad Esfahbod -Date: Wed Apr 21 22:30:36 2010 -0400 - - Remove ArrayAfter, use StructAfter in place - - src/hb-open-type-private.hh | 21 ++++++--------------- - 1 file changed, 6 insertions(+), 15 deletions(-) - -commit e961c86c579fd98ee604342a9c70c4e7f8d4f220 -Author: Behdad Esfahbod -Date: Wed Apr 21 15:56:11 2010 -0400 - - Convert NEXT() and ARRAY_AFTER() macros to templates - - src/hb-open-type-private.hh | 40 ++++++++++++++++++++++++++---------- - src/hb-ot-layout-common-private.hh | 4 ++-- - src/hb-ot-layout-gsub-private.hh | 8 ++++---- - src/hb-ot-layout-gsubgpos-private.hh | 24 +++++++++++----------- - 4 files changed, 47 insertions(+), 29 deletions(-) - -commit 198facdc55756cb48cdfb8ba7fa50916fac54ec3 -Author: Behdad Esfahbod -Date: Wed Apr 21 13:35:36 2010 -0400 - - Use templates for const char * casts - - src/hb-open-file-private.hh | 12 ++++----- - src/hb-open-type-private.hh | 48 ++++++++++++++++++------------------ - src/hb-ot-layout-common-private.hh | 2 +- - src/hb-ot-layout-gpos-private.hh | 32 ++++++++++++------------ - src/hb-ot-layout-gsub-private.hh | 4 +-- - src/hb-ot-layout-gsubgpos-private.hh | 14 +++++------ - 6 files changed, 56 insertions(+), 56 deletions(-) - -commit 1922ffe7013c46014803a9f18c42e193a25b1968 -Author: Behdad Esfahbod -Date: Wed Apr 21 04:19:51 2010 -0400 - - Const correctness - - src/hb-ot-layout-gsub-private.hh | 4 ++-- - src/hb-ot-layout-gsubgpos-private.hh | 30 +++++++++++++++--------------- - 2 files changed, 17 insertions(+), 17 deletions(-) - -commit e032ed9f75d4a0f365649a25706871bbb5ae6651 -Author: Behdad Esfahbod -Date: Wed Apr 21 03:11:46 2010 -0400 - - Use templates for defining int typess - - src/hb-open-type-private.hh | 66 ++++++++++++++++++++++++++++++--------------- - src/hb-private.h | 10 ++----- - 2 files changed, 46 insertions(+), 30 deletions(-) - -commit 2c9fd2adce5a6a9dcd62c874bd64613ea68d8d9b -Author: Behdad Esfahbod -Date: Wed Apr 21 02:15:39 2010 -0400 - - Remove unused macro - - src/hb-open-type-private.hh | 15 --------------- - 1 file changed, 15 deletions(-) - -commit 7a52f281178867379adb6e6c6fb0022102f75d17 -Author: Behdad Esfahbod -Date: Wed Apr 21 02:14:44 2010 -0400 - - Rename macros - - src/hb-open-type-private.hh | 6 +++--- - src/hb-private.h | 30 +++++++++++++++--------------- - 2 files changed, 18 insertions(+), 18 deletions(-) - -commit ffff7dc44cb2a35a60f92831165e9d3c3a61ce19 -Author: Behdad Esfahbod -Date: Wed Apr 21 02:13:55 2010 -0400 - - Minor - - src/hb-private.h | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - -commit f60f2166c48d07f556ff83f04e95181946eb03df -Author: Behdad Esfahbod -Date: Wed Apr 21 02:12:45 2010 -0400 - - Move macros around - - src/hb-private.h | 122 ++++++++++++++++++++++++++++--------------------------- - 1 file changed, 62 insertions(+), 60 deletions(-) - -commit 649a4344ca363da3d44cdd908350449ec40ed0f9 -Author: Behdad Esfahbod -Date: Wed Apr 21 02:11:59 2010 -0400 - - Remove unused macros - - src/hb-private.h | 7 ------- - 1 file changed, 7 deletions(-) - -commit eba8b4f644701cc6b78b0fcb4e932dce15561598 -Author: Behdad Esfahbod -Date: Mon Mar 29 00:04:12 2010 -0400 - - GNOME Bug 613015 - [HB] Does not sanitize Device tables referenced from ValueRecords - - src/hb-ot-layout-gpos-private.hh | 47 ++++++++++++++++++++++++++++++---------- - 1 file changed, 36 insertions(+), 11 deletions(-) - -commit 673a4efcbc72a62105a24d9b0b54047417160f7d -Author: Behdad Esfahbod -Date: Wed Apr 21 02:02:57 2010 -0400 - - WIP - - src/hb-ot-layout-gpos-private.hh | 102 +++++++++++++++++++++++++++++++-------- - 1 file changed, 81 insertions(+), 21 deletions(-) - -commit 40d73bc68dd828cf68f90fde0f9499a6ce9fbb19 -Author: Behdad Esfahbod -Date: Wed Apr 21 00:49:40 2010 -0400 - - Improve comments - - src/hb-open-type-private.hh | 22 ++++++++++++++-------- - 1 file changed, 14 insertions(+), 8 deletions(-) - -commit 394bad41a76f90e441e327cef76efb99997e9ae0 -Author: Behdad Esfahbod -Date: Wed Apr 21 00:40:50 2010 -0400 - - Remove stale TODO item - - src/hb-open-type-private.hh | 1 - - 1 file changed, 1 deletion(-) - -commit 9d3677899f90abdc7fb3e3d854db654a8707a84b -Author: Behdad Esfahbod -Date: Wed Apr 21 00:32:47 2010 -0400 - - Use a function template instead of struct template for Null - - src/hb-open-type-private.hh | 24 ++++++++++-------------- - 1 file changed, 10 insertions(+), 14 deletions(-) - -commit ffd321afd91429c5de7ab03d71ef1030044f53cb -Author: Behdad Esfahbod -Date: Wed Apr 21 00:14:12 2010 -0400 - - Simplify Tag struct - - src/hb-open-file-private.hh | 3 ++- - src/hb-open-type-private.hh | 6 +----- - src/hb-ot-layout-common-private.hh | 3 ++- - 3 files changed, 5 insertions(+), 7 deletions(-) - -commit 00e23fcc6fd0eee5c582251bf3de6a2703fbbd3e -Author: Behdad Esfahbod -Date: Tue Apr 20 23:50:45 2010 -0400 - - Cosmetic - - src/hb-open-type-private.hh | 8 ++++---- - src/hb-ot-layout-common-private.hh | 6 +++--- - 2 files changed, 7 insertions(+), 7 deletions(-) - -commit a87072db5d41e25b2e31191545298bca4838c65c -Author: Behdad Esfahbod -Date: Tue Apr 20 15:52:47 2010 -0400 - - Fix Class operator return type - - src/hb-ot-layout-common-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit f9b37727985191c9b4aedb0e9835736027e59260 -Author: Behdad Esfahbod -Date: Tue Apr 20 15:51:53 2010 -0400 - - Add couple consts to operators - - src/hb-open-type-private.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 53d237ec6352d7c6fab3b2805b48154a25506beb -Author: Behdad Esfahbod -Date: Tue Apr 20 15:25:27 2010 -0400 - - Remove ASSERT_SIZE_DATA - - src/hb-open-type-private.hh | 4 ---- - src/hb-ot-layout-common-private.hh | 9 ++++++--- - 2 files changed, 6 insertions(+), 7 deletions(-) - -commit 06558d2a745b8f3af11a8d6dce956ae52187a7e5 -Author: Behdad Esfahbod -Date: Mon Apr 19 02:34:10 2010 -0400 - - Round instead of trunc - - src/hb-ot-layout-gpos-private.hh | 20 ++++++++++---------- - src/hb-private.h | 2 +- - 2 files changed, 11 insertions(+), 11 deletions(-) - -commit 0e206de98621ed8a55824b42e9e6bf320f4c6cc8 -Author: Behdad Esfahbod -Date: Mon Apr 19 02:29:04 2010 -0400 - - Fix warnings - - src/hb-open-type-private.hh | 2 +- - src/hb-ot-layout-gdef-private.hh | 2 +- - src/hb-ot-layout-gpos-private.hh | 4 ++-- - src/hb-ot-layout-gsubgpos-private.hh | 6 +++--- - 4 files changed, 7 insertions(+), 7 deletions(-) - -commit d5943407a4251cb947fbfc130c0facb2f6216bd6 -Author: Behdad Esfahbod -Date: Mon Apr 19 02:27:56 2010 -0400 - - Fix debug build - - src/hb-open-type-private.hh | 2 +- - src/hb-ot-layout-gsubgpos-private.hh | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit 12b27ed91de0192deee4e9feffcaf4aca4c78113 -Author: Behdad Esfahbod -Date: Sat Mar 27 17:00:19 2010 -0400 - - Fix leak when duplicating blob - - src/hb-blob.c | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -commit 4b8487d83e0c10076a6c573cb3487790ce366607 -Author: Behdad Esfahbod -Date: Tue Mar 16 03:46:17 2010 -0400 - - Fix the mystery bug! - - A couple bugs joined forces to exhibit the mystery behavior of - crashes / infinite loops on OS X / wrong kerning / invalid memory - access. Pooh! - - The bugs were involved: - - - Wrong pointer math with ValueRecord in PairPosFormat1 - - - Fallout from avoiding flex arrays, code not correctly updated - to remove sizeof() usage. - - We strictly never use sizeof() directly now. And the PairPos code - is cleaned up. Should fix them all. Bugs are: - - Bug 605655 - Pango 1.26.2 introduces kerning bug - Bug 611229 - Pango reads from uninitialized memory - Bug 593240 - (pangoosx) Crash / infinite loop with Mac OS X - - We were also doing wrong math converting Device adjustments to - hb_position_t. Fallout from FreeType days. Should shift 16, not - 6. Fixed that too. - - There's still another bug: we don't sanitize Device records - referenced from value records. Fixing that also. - - src/hb-open-file-private.hh | 4 +++- - src/hb-open-type-private.hh | 11 ++++++----- - src/hb-ot-layout-common-private.hh | 10 ++++++++-- - src/hb-ot-layout-gpos-private.hh | 37 ++++++++++++++++++++---------------- - src/hb-ot-layout-gsubgpos-private.hh | 15 ++++++++------- - 5 files changed, 46 insertions(+), 31 deletions(-) - -commit 9b39755d104603d1163738f77637cc1923d4055b -Author: Behdad Esfahbod -Date: Thu Apr 15 14:00:25 2010 -0400 - - Typo - - src/hb-open-type-private.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit f85ec1c7da36d2c2c9b1c94a988563697dcc79c9 -Author: Behdad Esfahbod -Date: Wed Mar 10 04:14:40 2010 -0500 - - Cosmetic - - src/hb-open-type-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit e48ed72230a83499dabbd02af2ac63340220a353 -Author: Behdad Esfahbod -Date: Mon Mar 1 22:33:45 2010 -0500 - - [ft] Check stream->read instead of stream->base - - The former is more robust. See discussion on freetype-devel. - - src/hb-ft.c | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit 917c227500305aee543981ad24a39f868c5ca0b7 -Author: Behdad Esfahbod -Date: Tue Feb 23 16:47:51 2010 -0500 - - Make blob unlocking 64bit-safe - - GNOME Bug 604128 - Applications crash when displaying Hebrew characters - - src/hb-blob.c | 14 +++++++------- - 1 file changed, 7 insertions(+), 7 deletions(-) - -commit ecd2e996d2137fef30011a41dd57ea45f9a796de -Author: Behdad Esfahbod -Date: Tue Feb 23 02:42:00 2010 -0500 - - Improve the alignment for NullPool - - src/hb-open-type-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit bc7830e4259755ce7549025c6f5bf750e78c2ff1 -Author: Behdad Esfahbod -Date: Wed Feb 17 15:14:57 2010 -0500 - - Use __attribute__((unused)) only with gcc 4 and later - - See discussion at: - https://bugzilla.gnome.org/show_bug.cgi?id=610183 - - src/hb-private.h | 7 +++++-- - 1 file changed, 5 insertions(+), 2 deletions(-) - -commit 555d11273ee4c30e84eda3a78ffadb3ee7da65d0 -Author: Behdad Esfahbod -Date: Tue Jan 26 12:58:59 2010 -0500 - - [GDEF] Fix bug in building synthetic GDEF - - src/hb-ot-layout.cc | 5 +++-- - src/hb-ot-layout.h | 1 - - 2 files changed, 3 insertions(+), 3 deletions(-) - -commit 70834d89c30a56fcd78825fbc28fc9c6bec31124 -Author: Behdad Esfahbod -Date: Tue Jan 26 12:17:37 2010 -0500 - - [TODO] Add kern/GPOS interaction - - TODO | 3 +++ - 1 file changed, 3 insertions(+) - -commit cd11a98fa1426e9dbc4b61e702913b23a4794ae2 -Author: Behdad Esfahbod -Date: Sun Dec 20 23:05:02 2009 +0100 - - Fix compile with older FreeType - - configure.ac | 7 +++++++ - src/hb-ft.c | 2 ++ - 2 files changed, 9 insertions(+) - -commit 7f7448a354c43650348b4e91b4e40ecf18718d66 -Author: Behdad Esfahbod -Date: Sun Dec 20 21:42:14 2009 +0100 - - Indent - - src/hb-ot-layout-gpos-private.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit e70f45eb522bcb41388cc218b79bbd6aaecf8050 -Author: Behdad Esfahbod -Date: Sun Dec 20 21:26:24 2009 +0100 - - Revert "Fallback to 'kern' if no GPOS applied" - - This reverts commit d740c8f78bcbe80a8bcd8a9468830a406da37cc0. - - The change is wrong. If there is a GPOS table, we should not use 'kern'. - - src/hb-ot-shape.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit d740c8f78bcbe80a8bcd8a9468830a406da37cc0 -Author: Behdad Esfahbod -Date: Sun Dec 20 21:23:56 2009 +0100 - - Fallback to 'kern' if no GPOS applied - - src/hb-ot-shape.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 2f78c17197892b2bdc2f64caeb1c1c806ef44545 -Author: Behdad Esfahbod -Date: Sun Dec 20 21:03:11 2009 +0100 - - Remove glibism! - - src/hb-ot-shape-private.h | 4 ++-- - src/hb-ot-shape.c | 4 ++-- - src/hb-shape.c | 4 ++-- - 3 files changed, 6 insertions(+), 6 deletions(-) - -commit 907e67da13b5ed719362702138703fe2f90e790d -Author: Behdad Esfahbod -Date: Sun Dec 20 20:59:51 2009 +0100 - - Oops, add file. - - src/hb-ot-shape-private.h | 53 +++++++++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 53 insertions(+) - -commit 2014b8d110231b13e524008282ece7451f1ae9e7 -Author: Behdad Esfahbod -Date: Sun Dec 20 20:58:26 2009 +0100 - - Hook OpenType shaping up - - Default features only for now. - - src/Makefile.am | 2 + - src/hb-ot-layout.cc | 28 +++++++++ - src/hb-ot-layout.h | 7 +++ - src/hb-ot-shape.c | 165 ++++++++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-shape.c | 8 +-- - 5 files changed, 206 insertions(+), 4 deletions(-) - -commit 196610ba4c7071c2b802d0fc921a63cbc0753114 -Author: Behdad Esfahbod -Date: Sun Dec 20 19:01:14 2009 +0100 - - Pass features down - - src/hb-shape.c | 49 +++++++++++++++++++++++++++++++++---------------- - 1 file changed, 33 insertions(+), 16 deletions(-) - -commit 51f141a7f38a73f671b23f58cadf97a72c43b625 -Author: Behdad Esfahbod -Date: Sun Dec 20 18:22:28 2009 +0100 - - Avoid overflow - - src/hb-shape.c | 2 ++ - 1 file changed, 2 insertions(+) - -commit 26d7a75752631b2596a5bcb7e645b34cc3d139ab -Author: Behdad Esfahbod -Date: Sun Dec 20 17:58:25 2009 +0100 - - Refactor hb_shape a bit - - src/hb-shape.c | 87 +++++++++++++++++++++++++++++++++++++++++++++++++--------- - 1 file changed, 74 insertions(+), 13 deletions(-) - -commit 001fc2d2aa22f14302739fe4ca45f7535855e0fb -Author: Behdad Esfahbod -Date: Sun Dec 20 17:24:05 2009 +0100 - - Add TrueType kern support - - src/hb-shape.c | 74 +++++++++++++++++++++++++++++++++++++--------------------- - 1 file changed, 48 insertions(+), 26 deletions(-) - -commit 2c1b85cf66e5ecb7521b6018b76f0e161fb68967 -Author: Behdad Esfahbod -Date: Sun Dec 20 16:29:17 2009 +0100 - - Direct unicode->get_mirroring directly - - src/hb-shape.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 6a2ef5aa5459def232708af30ef8a484906b868b -Author: Behdad Esfahbod -Date: Sun Dec 20 16:28:01 2009 +0100 - - Do mirroring - - src/hb-shape.c | 18 +++++++++++++++++- - 1 file changed, 17 insertions(+), 1 deletion(-) - -commit 0465e69832393cc1ed36508ec5d597fbab64877a -Author: Behdad Esfahbod -Date: Sun Dec 20 16:25:18 2009 +0100 - - Protect against NULL funcs - - src/hb-buffer.c | 3 +++ - src/hb-font.cc | 3 +++ - 2 files changed, 6 insertions(+) - -commit 5ceefa1d8dbd310570ea8d1c47107fe8d3dc96d9 -Author: Behdad Esfahbod -Date: Sun Dec 20 15:29:16 2009 +0100 - - Add hb_unicode_get_*() functions - - src/hb-unicode.c | 37 +++++++++++++++++++++++++++++++++++++ - src/hb-unicode.h | 21 +++++++++++++++++++++ - 2 files changed, 58 insertions(+) - -commit b8a53e44ce05911ce98b7cff34dee165e19d87ba -Author: Behdad Esfahbod -Date: Sun Dec 20 14:56:25 2009 +0100 - - We'll have to link to libstdc++ if linking to ICU, so disable test for now - - We have to get rid of the ICU in main lib. Still thinking about best way - to do it. - - src/Makefile.am | 9 ++++++--- - 1 file changed, 6 insertions(+), 3 deletions(-) - -commit 314905d7548d5be58354546d660754b807b6efb2 -Author: Behdad Esfahbod -Date: Sun Dec 20 14:50:42 2009 +0100 - - Explicitly track whether the buffer has positions - - src/hb-buffer-private.h | 3 ++- - src/hb-buffer.c | 27 ++++++++++++++------------- - 2 files changed, 16 insertions(+), 14 deletions(-) - -commit 314b460d8a02ed4b2789ff527cf6c9bc19769114 -Author: Behdad Esfahbod -Date: Sun Dec 20 13:58:50 2009 +0100 - - Add HB_DIRECTION_IS_FORWARD/BACKWARD - - src/hb-common.h | 2 ++ - src/hb-shape.c | 3 +-- - 2 files changed, 3 insertions(+), 2 deletions(-) - -commit bdd0ff5290bae4db65c3fdf95c5728031f13ca84 -Author: Behdad Esfahbod -Date: Tue Dec 15 04:07:40 2009 -0500 - - Make main.cc compile without glib - - src/main.cc | 18 ++++++++++++++++-- - 1 file changed, 16 insertions(+), 2 deletions(-) - -commit 8a7d16808200f4fa02d6d12a8b8492bdedeb2c24 -Author: Behdad Esfahbod -Date: Tue Dec 15 03:53:45 2009 -0500 - - Distribute autogen.sh - - Makefile.am | 3 +++ - 1 file changed, 3 insertions(+) - -commit 807b8aa486753474e05e09f4fcca8ac94021b97c -Author: Behdad Esfahbod -Date: Thu Nov 19 20:28:03 2009 -0500 - - Another C++ strictness fix - - Pango Bug 602408 - Invalid C++ code breaks compile with Sun C++ Compiler - (Error: A union member cannot have a user-defined assignment operator) - - According to the bug: - - C++ Programming Language by Bjarne Stroustrup: Chapter 10.4.12 forbids - explicitly using of union members with constructors, destructors or assignment - operations. - - So we use a set() method instead of the assignment operator. Ugly, but hey, - that's life. - - src/hb-open-type-private.hh | 8 ++++---- - src/hb-ot-layout-common-private.hh | 2 +- - 2 files changed, 5 insertions(+), 5 deletions(-) - -commit 8b9b866d3e495c186f0530fcf4e00ffcdc170d3f -Author: Behdad Esfahbod -Date: Thu Nov 19 20:27:57 2009 -0500 - - Fix warning - - src/hb-ot-layout-gdef-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit c65b26acf28bd1a5b346fd8f6f28bec1f7d17a2a -Author: Behdad Esfahbod -Date: Wed Nov 18 11:27:33 2009 -0500 - - Use autoconf FLEXIBLE_ARRAY_MEMBER when available - - configure.ac | 2 ++ - src/hb-ot-layout-gpos-private.hh | 4 ++-- - src/hb-private.h | 13 ++++++++++--- - 3 files changed, 14 insertions(+), 5 deletions(-) - -commit d33f674cb793af40f1612df3660b138383f2de95 -Author: Behdad Esfahbod -Date: Wed Nov 18 09:47:44 2009 -0500 - - Add Mongolian variation selectors - - src/hb-shape.c | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit d6387757de2c27867d6f57c4ee7c4ef436b3a74f -Author: Behdad Esfahbod -Date: Wed Nov 11 17:15:03 2009 -0500 - - Fix sanitize - - src/hb-ot-layout-common-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 636f017e387d46d4083c9f9ee57647a94dc5dc6d -Author: Behdad Esfahbod -Date: Tue Nov 10 12:56:35 2009 -0500 - - Remove obsolete TODO item - - src/hb-open-file-private.hh | 2 -- - 1 file changed, 2 deletions(-) - -commit bf2b25dd8591e92f3944c763641b613a70c379a7 -Author: Behdad Esfahbod -Date: Fri Nov 6 19:52:47 2009 -0500 - - Remove done item - - src/hb-shape.c | 1 - - 1 file changed, 1 deletion(-) - -commit 4a8605315901e0ff1e6e09437a92dd5ac39164cc -Author: Behdad Esfahbod -Date: Fri Nov 6 19:52:01 2009 -0500 - - Reverse buffer at the end if RTL - - src/hb-shape.c | 12 ++++++++---- - 1 file changed, 8 insertions(+), 4 deletions(-) - -commit ff44f88df2c46920f3ec2384ef321a4c7bb0f6ef -Author: Behdad Esfahbod -Date: Fri Nov 6 19:48:16 2009 -0500 - - Handle shaping in non-native direction - - src/hb-buffer-private.h | 1 + - src/hb-buffer.c | 42 +++++++++++++++++-- - src/hb-buffer.h | 10 ++--- - src/hb-common.h | 11 +++++ - src/hb-shape.c | 38 +++++++++++++++-- - src/hb-unicode-private.h | 5 +++ - src/hb-unicode.c | 103 +++++++++++++++++++++++++++++++++++++++++++++++ - 7 files changed, 196 insertions(+), 14 deletions(-) - -commit b4b4272c8d19ba3e0cb8f12b3b7d1590349e3d14 -Author: Behdad Esfahbod -Date: Fri Nov 6 17:46:33 2009 -0500 - - Oops, wrong change - - src/hb-ot-layout.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 52ea47767c7c35650ebddfba6ddc8203a3e33d3a -Author: Behdad Esfahbod -Date: Fri Nov 6 17:45:38 2009 -0500 - - Change order of font and face for API consistency - - src/hb-ot-layout.cc | 14 +++++++------- - src/hb-ot-layout.h | 14 +++++++------- - 2 files changed, 14 insertions(+), 14 deletions(-) - -commit f4f1fc970b3e37d9903cbf5e05bbd38be4df3047 -Author: Behdad Esfahbod -Date: Fri Nov 6 17:42:38 2009 -0500 - - Remove debug info that crept in - - src/hb-ot-layout.cc | 2 -- - 1 file changed, 2 deletions(-) - -commit aa196d6026b496ec70be3d3588cc8cd2b8ccdb36 -Author: Behdad Esfahbod -Date: Fri Nov 6 17:23:31 2009 -0500 - - [GSUB] More ligature/component fixing - - We can only reuse the ligid if it belongs to a previous ligature, not a - component! - - src/hb-ot-layout-gsub-private.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 25e7ef704633447f109b148620336c42d6fb310e -Author: Behdad Esfahbod -Date: Fri Nov 6 17:21:01 2009 -0500 - - Add _hb_buffer_add_output_glyphs() that takes codepoint_t* - - src/hb-buffer-private.h | 10 ++++++++- - src/hb-buffer.c | 45 ++++++++++++++++++++++++++++++++++++++-- - src/hb-ot-layout-gsub-private.hh | 16 +++++++------- - 3 files changed, 60 insertions(+), 11 deletions(-) - -commit 9db8ad75317d589807e7725455f49cafece58d5d -Author: Behdad Esfahbod -Date: Fri Nov 6 16:47:31 2009 -0500 - - Add hb_ot_layout_position_finish() - - We expect buffer to be setup with default positions before GPOS. - - src/hb-buffer-private.h | 6 +---- - src/hb-buffer.h | 11 +-------- - src/hb-ot-layout-gpos-private.hh | 8 +++---- - src/hb-ot-layout.cc | 52 ++++++++++++++++++++++++++++++++++++++++ - src/hb-ot-layout.h | 16 +++++++++---- - 5 files changed, 69 insertions(+), 24 deletions(-) - -commit edb54e9aeca25f4120a69ed3d5562cbb68fdb348 -Author: Behdad Esfahbod -Date: Fri Nov 6 15:19:22 2009 -0500 - - Fix FT_Face finalizer call - - src/hb-ft.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 3d14528b8b2e7da425a9df7057fc9fb326d8298c -Author: Behdad Esfahbod -Date: Fri Nov 6 15:13:17 2009 -0500 - - Rename hb_buffer_get_len() to hb_buffer_get_length() - - src/hb-buffer.c | 2 +- - src/hb-buffer.h | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit 1ff7775051559a8ca442be3938450c7ed3817806 -Author: Behdad Esfahbod -Date: Fri Nov 6 13:52:57 2009 -0500 - - Minor. - - src/hb-shape.c | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -commit 3648bdf5b221adfe01ad99714de420b49964921e -Author: Behdad Esfahbod -Date: Thu Nov 5 20:17:53 2009 -0500 - - Fix FT_Face generic finalizer - - src/hb-ft.c | 10 ++++++++-- - 1 file changed, 8 insertions(+), 2 deletions(-) - -commit 5a11c875d8c95d480e6f32b57e969ee34ca1940d -Author: Behdad Esfahbod -Date: Thu Nov 5 20:08:17 2009 -0500 - - Cosmetic - - src/hb-blob.c | 10 ++++++---- - 1 file changed, 6 insertions(+), 4 deletions(-) - -commit 44533e773f75b9a1171d884fcbe91a2f3879e2d8 -Author: Behdad Esfahbod -Date: Thu Nov 5 19:58:02 2009 -0500 - - Fix warning - - src/hb-object-private.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit bcc0406a525ca3fe597aec5f2a97e5c50965d49c -Author: Behdad Esfahbod -Date: Thu Nov 5 19:54:23 2009 -0500 - - include errno.h - - src/hb-blob.c | 1 + - 1 file changed, 1 insertion(+) - -commit 799b3c375ad0e1293fd37a0e3a0d422a3166dcd8 -Author: Behdad Esfahbod -Date: Thu Nov 5 19:37:58 2009 -0500 - - Add debugging to object lifecycle - - src/hb-object-private.h | 18 ++++++++++++++++++ - 1 file changed, 18 insertions(+) - -commit 25edb940ab050545f47a06648e73c192fa213548 -Author: Behdad Esfahbod -Date: Thu Nov 5 19:20:06 2009 -0500 - - Cosmetic - - src/hb-ft.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 850dc5bb551409bb9bf6113ec2199bb3fb905e43 -Author: Behdad Esfahbod -Date: Thu Nov 5 18:26:52 2009 -0500 - - Return 0 from get_glyph_nil - - src/hb-font.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 85555a953376ee68a8fcc64485e74d44a353577b -Author: Behdad Esfahbod -Date: Thu Nov 5 18:25:56 2009 -0500 - - Initialize font->klass - - src/hb-font.cc | 2 ++ - 1 file changed, 2 insertions(+) - -commit bcd26bd7b1c96057bf154d7d50a61018d40f0d29 -Author: Behdad Esfahbod -Date: Thu Nov 5 18:03:26 2009 -0500 - - Add TODO item - - src/hb-ft.c | 1 + - 1 file changed, 1 insertion(+) - -commit f4281e0a92a40746fa630fb15b877adaf3ff15b1 -Author: Behdad Esfahbod -Date: Thu Nov 5 17:58:41 2009 -0500 - - Fix ref counting - - src/hb-ft.c | 16 ++++++++-------- - 1 file changed, 8 insertions(+), 8 deletions(-) - -commit 6358ff45ae8cfc0b58b4976619319e3dde43add2 -Author: Behdad Esfahbod -Date: Thu Nov 5 17:39:16 2009 -0500 - - Add hb_ft_face_create_cached - - src/hb-ft.c | 16 ++++++++++++++++ - src/hb-ft.h | 3 +++ - 2 files changed, 19 insertions(+) - -commit 2027f74b286cabe3c60c275170c4f4b437a30f55 -Author: Behdad Esfahbod -Date: Thu Nov 5 16:34:47 2009 -0500 - - Add default positioning to hb-shape - - src/hb-shape.c | 28 ++++++++++++++++++++++++---- - 1 file changed, 24 insertions(+), 4 deletions(-) - -commit c3f9f7e59d865f8664862b7ca99d9a3a9221e456 -Author: Behdad Esfahbod -Date: Thu Nov 5 16:16:14 2009 -0500 - - Fix MarkMark issue with ligid and components - - src/hb-ot-layout-gpos-private.hh | 11 ++++++----- - src/hb-ot-layout-gsub-private.hh | 6 +----- - 2 files changed, 7 insertions(+), 10 deletions(-) - -commit d0351314cd29fbdf0efb5c7f89a569648f7a7fc7 -Author: Behdad Esfahbod -Date: Thu Nov 5 16:16:06 2009 -0500 - - Include stdio.h if debugging - - src/hb-blob.c | 4 ++++ - src/hb-open-type-private.hh | 1 + - src/hb-ot-layout-gsubgpos-private.hh | 1 + - 3 files changed, 6 insertions(+) - -commit 2e336692913405976392bf505028481a5caa53b4 -Author: Behdad Esfahbod -Date: Thu Nov 5 13:55:41 2009 -0500 - - Add hb_font_get_* - - src/hb-font.cc | 35 +++++++++++++++++++++++++++++++++++ - src/hb-font.h | 18 ++++++++++++++++++ - src/hb-shape.c | 2 +- - 3 files changed, 54 insertions(+), 1 deletion(-) - -commit 9bef3611f07b45ba8199a4a339c72f49d266216a -Author: Behdad Esfahbod -Date: Thu Nov 5 12:20:11 2009 -0500 - - Rename [xy]_pos to [xy]_offset since we don't accumulate positions - - src/hb-buffer-private.h | 4 ++-- - src/hb-buffer.h | 4 ++-- - src/hb-font.h | 4 ++-- - src/hb-ft.c | 10 +++++----- - src/hb-ot-layout-gpos-private.hh | 40 ++++++++++++---------------------------- - src/hb-shape.c | 14 +++++++------- - src/hb-shape.h | 4 ++-- - 7 files changed, 32 insertions(+), 48 deletions(-) - -commit 2daa47e9cdbfb027f76765301b3a78950e92eb09 -Author: Behdad Esfahbod -Date: Thu Nov 5 12:08:34 2009 -0500 - - Cosmetic - - src/hb-shape.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 2f50d873680ce0a43b6ec79df1ac946b91f31e63 -Author: Behdad Esfahbod -Date: Wed Nov 4 21:07:03 2009 -0500 - - Start filling hb_shape() in - - src/hb-buffer-private.h | 1 + - src/hb-shape.c | 40 +++++++++++++++++++++++++++++++++++++++- - 2 files changed, 40 insertions(+), 1 deletion(-) - -commit ae070b7d39d03bd8bc1244f687b24db505f4af3f -Author: Behdad Esfahbod -Date: Wed Nov 4 20:29:54 2009 -0500 - - Add script and language to buffer - - TODO | 1 - - src/hb-buffer-private.h | 6 +++--- - src/hb-buffer.c | 26 ++++++++++++++++++++++++++ - src/hb-buffer.h | 15 ++++++++++++++- - 4 files changed, 43 insertions(+), 5 deletions(-) - -commit 8a3511ac6c795226699c2b36e03401ecdf88f5f8 -Author: Behdad Esfahbod -Date: Wed Nov 4 19:45:39 2009 -0500 - - Add hb_language_t as well as language/script conversion to OT tags - - src/Makefile.am | 4 + - src/hb-language.c | 113 +++++++++ - src/hb-language.h | 44 ++++ - src/hb-ot-layout.cc | 6 +- - src/hb-ot-layout.h | 4 +- - src/hb-ot-tag.c | 662 ++++++++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-ot-tag.h | 49 ++++ - src/hb-ot.h | 1 + - src/hb-private.h | 3 + - src/hb.h | 1 + - 10 files changed, 882 insertions(+), 5 deletions(-) - -commit 4591753ad4b5ec0224e3f1befdfe4fc5f6075562 -Author: Behdad Esfahbod -Date: Wed Nov 4 18:15:59 2009 -0500 - - Define ARRAY_LENGTH - - src/hb-private.h | 15 ++++++++------- - 1 file changed, 8 insertions(+), 7 deletions(-) - -commit 214ac7c1ff51b397d227832526f882e824cb9ea3 -Author: Behdad Esfahbod -Date: Wed Nov 4 18:12:32 2009 -0500 - - Another one - - src/hb-unicode.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 1e91434569a9e9535ef021ca52b60b2e2af75d19 -Author: Behdad Esfahbod -Date: Wed Nov 4 18:12:09 2009 -0500 - - Minor - - src/hb-open-type-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 48de3730cdf91b9f6473509e22260a902ccec992 -Author: Behdad Esfahbod -Date: Wed Nov 4 16:59:50 2009 -0500 - - Fix previous commit, ouch! - - src/hb-open-type-private.hh | 12 ++++++++++++ - src/hb-ot-layout-common-private.hh | 12 ++++-------- - src/hb-ot-layout-gdef-private.hh | 12 ++++-------- - 3 files changed, 20 insertions(+), 16 deletions(-) - -commit e21899bc3593aa0d3adf64cee21c5de2ea219783 -Author: Behdad Esfahbod -Date: Wed Nov 4 16:36:14 2009 -0500 - - Fix array query API - - The array query APIs now all do: - - - Return the total number of items - - Take a start_offset, such that individual items can be fetched - - The _count IN/OUT variable always has number of items written - into the array upon return of the function - - TODO | 1 - - src/hb-ot-layout-common-private.hh | 59 ++++++++++++++----------- - src/hb-ot-layout-gdef-private.hh | 84 +++++++++++++++++++++--------------- - src/hb-ot-layout-gsubgpos-private.hh | 14 +++--- - src/hb-ot-layout.cc | 40 ++++++++++------- - src/hb-ot-layout.h | 24 +++++++---- - 6 files changed, 131 insertions(+), 91 deletions(-) - -commit 3b59306b858d31d97be0ea8c64461de1d0d03572 -Author: Behdad Esfahbod -Date: Wed Nov 4 15:48:32 2009 -0500 - - Finish FT glue. Rough and untested - - src/hb-font.cc | 2 +- - src/hb-font.h | 2 +- - src/hb-ft.c | 114 ++++++++++++++++++++++++++++++--------------------------- - 3 files changed, 63 insertions(+), 55 deletions(-) - -commit f8be443aecd54b479470e6559b1dfbc8f33c5f55 -Author: Behdad Esfahbod -Date: Tue Nov 3 20:28:27 2009 -0500 - - Add TODO item - - TODO | 1 + - 1 file changed, 1 insertion(+) - -commit 7951279b4a52b48f13631e7838dbc180c7249ea4 -Author: Behdad Esfahbod -Date: Tue Nov 3 20:27:05 2009 -0500 - - Implement nil font functions - - TODO | 1 + - src/hb-font-private.h | 8 ++--- - src/hb-font.cc | 72 +++++++++++++++++++++++++++++++++++++--- - src/hb-font.h | 9 +++-- - src/hb-ot-layout-gpos-private.hh | 7 ++-- - src/hb-ot-layout-gsub-private.hh | 2 +- - src/hb-private.h | 18 +++++----- - 7 files changed, 91 insertions(+), 26 deletions(-) - -commit 8fb3d1aa4e613cdf965a83bd650c668884c58ad8 -Author: Behdad Esfahbod -Date: Tue Nov 3 18:34:20 2009 -0500 - - Start ft glue - - TODO | 3 - - src/Makefile.am | 16 ++++- - src/hb-font-private.h | 4 +- - src/hb-font.cc | 17 ++++- - src/hb-font.h | 6 +- - src/hb-ft.c | 192 ++++++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-ft.h | 52 ++++++++++++++ - src/hb-glib.h | 2 - - src/hb-icu.h | 2 - - src/hb.h | 4 +- - 10 files changed, 281 insertions(+), 17 deletions(-) - -commit d94647e2cd187bf4a4c8fb1c0c15c3d23c1293ac -Author: Behdad Esfahbod -Date: Tue Nov 3 16:35:10 2009 -0500 - - Add ICU glue - - configure.ac | 8 +- - src/Makefile.am | 23 +++++- - src/hb-icu.c | 221 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-icu.h | 41 +++++++++++ - 4 files changed, 288 insertions(+), 5 deletions(-) - -commit b7dd4b945b4ec384526439b365a25739bf9cd2df -Author: Behdad Esfahbod -Date: Tue Nov 3 15:21:15 2009 -0500 - - Fix hb_be_uint16() - - src/hb-private.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit cd7555eef27cb18857c0c06d2afdaf3a354a3c15 -Author: Behdad Esfahbod -Date: Tue Nov 3 15:16:10 2009 -0500 - - Namespace MSVC defines in public header - - src/hb-common.h | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 5ebabecef382c3e8b0a2a5657b2c01f7ff37d796 -Author: Behdad Esfahbod -Date: Tue Nov 3 15:15:07 2009 -0500 - - Move unicode_funcs to buffer - - TODO | 1 - - src/hb-buffer-private.h | 12 +++++++++++- - src/hb-buffer.c | 47 ++++++++++++++++++++++++++++++++++++++--------- - src/hb-buffer.h | 10 ++++++++++ - src/hb-font-private.h | 3 --- - src/hb-font.cc | 17 ----------------- - src/hb-font.h | 9 ++++----- - 7 files changed, 63 insertions(+), 36 deletions(-) - -commit d5a8e46099e363d928b54de104126b1b34ba401c -Author: Behdad Esfahbod -Date: Tue Nov 3 15:14:40 2009 -0500 - - [Makefile] Install hb-unicode.h - - Separate OT headers also. - - src/Makefile.am | 27 ++++++++++++++++----------- - 1 file changed, 16 insertions(+), 11 deletions(-) - -commit 63d7a41dd0704a7e89bd2872ad096f470f51866a -Author: Behdad Esfahbod -Date: Tue Nov 3 15:14:08 2009 -0500 - - [TODO] Add item for fixing buffer error handling - - TODO | 1 + - 1 file changed, 1 insertion(+) - -commit 21d0fce3d5364c91e5582bd530210f03e054d1a4 -Author: Behdad Esfahbod -Date: Tue Nov 3 14:28:32 2009 -0500 - - Add check for not linking to libstdc++ - - TODO | 3 +-- - src/Makefile.am | 4 ++++ - src/check-libstdc++.sh | 28 ++++++++++++++++++++++++++++ - 3 files changed, 33 insertions(+), 2 deletions(-) - -commit ca95ce460adf2ca6901595d4a6107fd000d90151 -Author: Behdad Esfahbod -Date: Tue Nov 3 14:18:33 2009 -0500 - - Use the C linker, not C++ linker - - Such that we don't link to libstdc++. - - src/Makefile.am | 2 ++ - 1 file changed, 2 insertions(+) - -commit eb4ebda2d10637b966f42a4ed5cfaec46082a050 -Author: Behdad Esfahbod -Date: Tue Nov 3 14:09:32 2009 -0500 - - [configure] Fix check for FreeType - - configure.ac | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit cb0e99a5a76136c128faba1c27d7e7eac2f219ee -Author: Behdad Esfahbod -Date: Tue Nov 3 14:09:10 2009 -0500 - - [TODO] Remove obsolete item - - TODO | 2 -- - 1 file changed, 2 deletions(-) - -commit 3a59ec37c5576b711c7c36dcfa2a63f6c00a3f5c -Author: Behdad Esfahbod -Date: Tue Nov 3 11:36:06 2009 -0500 - - Add bunch of TODO items - - TODO | 15 ++++++++++++--- - 1 file changed, 12 insertions(+), 3 deletions(-) - -commit ffbe0a853d5e7defa85d0eef53814c22d1ecb412 -Author: Behdad Esfahbod -Date: Tue Nov 3 10:52:45 2009 -0500 - - More MSVC fixes from Jonathan Kew - - src/hb-common.h | 7 ++++++- - src/hb-private.h | 5 +++++ - 2 files changed, 11 insertions(+), 1 deletion(-) - -commit d3480ba37fbb5d4be75b094060f5b2f1ce98fb53 -Author: Behdad Esfahbod -Date: Tue Nov 3 10:47:29 2009 -0500 - - Don't use zero-sized arrays - - It's not part of the standard and MSVC doesn't like it. It makes the code - a lot less elegant than it used to be, but I think it should work now. - - src/hb-open-file-private.hh | 4 +- - src/hb-open-type-private.hh | 36 +++++++++++------ - src/hb-ot-layout-common-private.hh | 33 ++++++++-------- - src/hb-ot-layout-gdef-private.hh | 14 +++---- - src/hb-ot-layout-gpos-private.hh | 76 ++++++++++++++---------------------- - src/hb-ot-layout-gsub-private.hh | 44 ++++++++------------- - src/hb-ot-layout-gsubgpos-private.hh | 47 +++++++++++----------- - src/hb-private.h | 5 +++ - 8 files changed, 122 insertions(+), 137 deletions(-) - -commit 6bec81aa3a58b8be255568b2ea63b7854e1b0ea7 -Author: Behdad Esfahbod -Date: Mon Nov 2 19:17:36 2009 -0500 - - Cosmetic - - src/hb-ot-layout-common-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit f94cf6b969281cf8a7f701ff26ea4f134ff9746e -Author: Behdad Esfahbod -Date: Mon Nov 2 18:55:19 2009 -0500 - - Another try at build without glib - - configure.ac | 8 ++++++-- - 1 file changed, 6 insertions(+), 2 deletions(-) - -commit 2f3e69f3cb7e571cc62b0840d0b3f2072b29345a -Author: Behdad Esfahbod -Date: Mon Nov 2 18:53:15 2009 -0500 - - Fix build without glib, again - - src/Makefile.am | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit d03f81865914b40e941bf680557c0d8f98e30ad5 -Author: Behdad Esfahbod -Date: Mon Nov 2 18:52:21 2009 -0500 - - Disable configure cache - - autogen.sh | 1 - - 1 file changed, 1 deletion(-) - -commit a6451aa626fa5850d7c3b716bd52126995154e27 -Author: Behdad Esfahbod -Date: Mon Nov 2 18:35:12 2009 -0500 - - We don't really use gthread directly - - configure.ac | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 63a792a811e0ad69d05e8805d4f347bd533db4c3 -Author: Behdad Esfahbod -Date: Mon Nov 2 18:33:52 2009 -0500 - - Update Makefile to build without glib - - src/Makefile.am | 12 +++++++++--- - src/hb-glib.c | 2 ++ - 2 files changed, 11 insertions(+), 3 deletions(-) - -commit 68a2c771e2b923461a552bf3673e9e8245e1bfea -Author: Behdad Esfahbod -Date: Mon Nov 2 18:31:53 2009 -0500 - - Build without glib - - Thready-safety disabled in that case, until we add support for pthread, etc. - Fun... - - src/hb-private.h | 19 +++++++++++++++++-- - 1 file changed, 17 insertions(+), 2 deletions(-) - -commit cc4c096a7e08ae96b3030fe27f871ce5b797f370 -Author: Behdad Esfahbod -Date: Mon Nov 2 18:13:17 2009 -0500 - - MSVC has no stdint.h - - src/hb-common.h | 13 +++++++++++++ - 1 file changed, 13 insertions(+) - -commit 9a204c7ab57ca0a866c72e1431c54a8883b15605 -Author: Behdad Esfahbod -Date: Mon Nov 2 18:11:55 2009 -0500 - - Remove use of GINT16_FROM_BE - - src/hb-private.h | 10 ++-------- - 1 file changed, 2 insertions(+), 8 deletions(-) - -commit 1f0ceeb8cf2fad0a0dfd338ce1472470a81789d4 -Author: Behdad Esfahbod -Date: Mon Nov 2 16:28:39 2009 -0500 - - Install library - - autogen.sh | 2 +- - src/Makefile.am | 5 ++--- - 2 files changed, 3 insertions(+), 4 deletions(-) - -commit 5932f8f7c3b73ade3752020351fa8b6a9a3bf500 -Author: Behdad Esfahbod -Date: Mon Nov 2 16:38:41 2009 -0500 - - Generate ChangeLog - - Makefile.am | 39 +++++++++++++++++++++++++++++++++++++++ - 1 file changed, 39 insertions(+) - -commit 29aa40018301a4f138cd5e73463079c7704bf3ac -Author: Behdad Esfahbod -Date: Mon Nov 2 16:28:39 2009 -0500 - - Add build system - - AUTHORS | 0 - src/COPYING => COPYING | 0 - Makefile.am | 3 + - NEWS | 0 - src/README => README | 0 - src/TODO => TODO | 0 - autogen.sh | 189 +++++++++++++++++++++++++++++++++++++++++++++++++ - configure.ac | 40 +++++++++++ - git.mk | 184 +++++++++++++++++++++++++++++++++++++++++++++++ - harfbuzz.pc.in | 11 +++ - src/.gitignore | 1 - - src/Makefile.ng | 11 --- - 12 files changed, 427 insertions(+), 12 deletions(-) - -commit c09ed9801ead002d6f8e507ce664b83707b202e9 -Author: Behdad Esfahbod -Date: Thu Oct 29 03:08:42 2009 -0400 - - [HB] Add glyph_metrics typedef - - src/hb-font.h | 9 +++++++++ - 1 file changed, 9 insertions(+) - -commit 91b1e03e0312be2a7a165308239b40449e3ab360 -Author: Behdad Esfahbod -Date: Thu Oct 29 03:05:18 2009 -0400 - - [HB] Add point_index to get_contour_point() - - Pointed out by Keith Stribley on HarfBuzz list. - - src/hb-font.h | 1 + - 1 file changed, 1 insertion(+) - -commit aa87d951739f6beacb66daa235cd033fdcfcadd7 -Author: Behdad Esfahbod -Date: Thu Oct 29 03:00:44 2009 -0400 - - [HB] Fix lookup_flag ignoring - - Reported by Keith Stribley on HarfBuzz list. - - src/hb-ot-layout-common-private.hh | 1 + - src/hb-ot-layout.cc | 2 +- - 2 files changed, 2 insertions(+), 1 deletion(-) - -commit 52e9a71d578c5171bbb0f4bfc1b70841c3270328 -Author: Behdad Esfahbod -Date: Mon Sep 21 13:58:56 2009 -0400 - - [HB] Add comment - - src/hb-ot-layout-gsubgpos-private.hh | 5 +++++ - 1 file changed, 5 insertions(+) - -commit f9c0a2dad09cd168fb28cdee09b4303f307ea56d -Author: Behdad Esfahbod -Date: Mon Sep 21 13:43:54 2009 -0400 - - [HB] Fix apply_lookup() loop - - Part of Bug 595539 - Regressions in rendering certain Thai sequences with - OpenType font - - src/hb-ot-layout-gsubgpos-private.hh | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit c0ab43c05833e8fc06d770a89370bec58a627e74 -Author: Behdad Esfahbod -Date: Mon Sep 21 13:40:38 2009 -0400 - - [HB] Fix bug in chain_context_lookup() invocations - - Part of Bug 595539 - Regressions in rendering certain Thai sequences with - OpenType font - - src/hb-ot-layout-gsubgpos-private.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit e6bd4e93bd5722249ab977dfa98bdc8eb765318c -Author: Behdad Esfahbod -Date: Sun Aug 30 21:02:28 2009 -0400 - - [HB] Add TODO item - - src/TODO | 1 + - 1 file changed, 1 insertion(+) - -commit 3e2401f6c53d2b047954d75c37aef5e5e7cdc51a -Author: Behdad Esfahbod -Date: Fri Aug 28 17:17:11 2009 -0400 - - [HB] Rename DEBUG to TRACE where appropriate - - src/hb-open-file-private.hh | 8 ++-- - src/hb-open-type-private.hh | 50 ++++++++++---------- - src/hb-ot-layout-common-private.hh | 32 ++++++------- - src/hb-ot-layout-gdef-private.hh | 20 ++++---- - src/hb-ot-layout-gpos-private.hh | 92 ++++++++++++++++++------------------ - src/hb-ot-layout-gsub-private.hh | 72 ++++++++++++++-------------- - src/hb-ot-layout-gsubgpos-private.hh | 78 +++++++++++++++--------------- - 7 files changed, 176 insertions(+), 176 deletions(-) - -commit 0535b50f436f3dac85e6df1761957f86c2bd7213 -Author: Behdad Esfahbod -Date: Fri Aug 28 17:14:33 2009 -0400 - - [HB] Add GSUB/GPOS tracing - - src/hb-ot-layout-gpos-private.hh | 29 ++++++++++++++++++--- - src/hb-ot-layout-gsub-private.hh | 28 ++++++++++++++++++--- - src/hb-ot-layout-gsubgpos-private.hh | 49 ++++++++++++++++++++++++++++++++++-- - 3 files changed, 98 insertions(+), 8 deletions(-) - -commit 95e202403ffa543c817f45cca21fbc116eb8e807 -Author: Behdad Esfahbod -Date: Fri Aug 28 16:31:20 2009 -0400 - - [HB] Allow enabling different debug facilities individually - - src/hb-blob.c | 28 ++++++++++++++++------------ - src/hb-open-type-private.hh | 32 ++++++++++++++++++-------------- - 2 files changed, 34 insertions(+), 26 deletions(-) - -commit 37006bd1bd107ac1a1c1b131579e9c494ba3a20f -Author: Behdad Esfahbod -Date: Fri Aug 28 09:46:14 2009 -0400 - - Fix stupid array growing bug - - src/hb-ot-layout.cc | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -commit 9897749113f76dc26a83bfae8de62e55d384fcad -Author: Behdad Esfahbod -Date: Thu Aug 27 01:32:17 2009 -0400 - - [HB] Simplify counting - - src/hb-ot-layout.cc | 9 +++++---- - 1 file changed, 5 insertions(+), 4 deletions(-) - -commit 81a5c4df94e7c6066314d5fe75bbaf24483bc022 -Author: Behdad Esfahbod -Date: Thu Aug 27 00:21:04 2009 -0400 - - [HB] Indent - - src/hb-blob.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit c91facd83b5dc3b9aed75617c7c35585ff18889f -Author: Behdad Esfahbod -Date: Wed Aug 26 18:53:43 2009 -0400 - - [HB] Bug 593231 - < c99 compiler dislikes ValueRecord - - src/hb-ot-layout-gpos-private.hh | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit f0c7540c4e217a7354072365a7301453d1e25b80 -Author: Behdad Esfahbod -Date: Thu Aug 20 14:01:37 2009 -0400 - - Bug 592484 - invalid write in HB - - Fix off-by-one. - - src/hb-ot-layout.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit b614b004723ead60849dd37e7ba2faee67cebd93 -Author: Behdad Esfahbod -Date: Thu Aug 20 13:07:50 2009 -0400 - - [HB][glib] Make glib unicode funcs static - - src/hb-glib.c | 36 +++++++++++++++++------------------- - 1 file changed, 17 insertions(+), 19 deletions(-) - -commit 8b5346130425c7c101f6ff2432874ba2fd372edc -Author: Behdad Esfahbod -Date: Wed Aug 19 18:16:50 2009 -0400 - - [HB] Fix more casts - - src/hb-open-type-private.hh | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -commit 9d2e02db74deb3b3b92beab96f112cc387c8bd88 -Author: Behdad Esfahbod -Date: Wed Aug 19 18:07:36 2009 -0400 - - [HB] Rename CAIRO_ in macro prefix to HB_ - - Hiss! - - src/hb-private.h | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 388ad037ff399c23c5e24bbcede27e0e35bed07e -Author: Behdad Esfahbod -Date: Wed Aug 19 16:45:41 2009 -0400 - - [HB] Remove HB_MEMORY_MODE_READONLY_NEVER_DUPLICATE - - Unlike the rest of the memory-mode enum, this one didn't only - describe the access mode of the input memory region. Remove it. - - If someone wants to inhibit duplicating, they can lock the blob - and throw away the key. - - Based on mailing list discussion with Carl Worth. - - src/hb-blob.c | 51 +++++++++++++++++++++++++-------------------------- - src/hb-blob.h | 1 - - 2 files changed, 25 insertions(+), 27 deletions(-) - -commit 977eeb714454630bd045bb11f58ff6397f10b143 -Author: Behdad Esfahbod -Date: Wed Aug 19 16:17:24 2009 -0400 - - [HB] s/writeable/writable/g - - src/hb-blob.c | 38 +++++++++++++++++++------------------- - src/hb-blob.h | 10 +++++----- - src/hb-open-type-private.hh | 6 +++--- - 3 files changed, 27 insertions(+), 27 deletions(-) - -commit 2f5931e404cb56e31d24b2eb7ff0a849fb077b55 -Author: Behdad Esfahbod -Date: Wed Aug 19 16:07:40 2009 -0400 - - [HB] Hide lig_id and component members of hb_glyph_info_t - - src/hb-buffer.h | 5 ++--- - 1 file changed, 2 insertions(+), 3 deletions(-) - -commit 6b600dd6199104cff01b3fa43d2abb52ae4319ea -Author: Behdad Esfahbod -Date: Wed Aug 19 14:45:24 2009 -0400 - - [HB] Fix typo - - src/hb-font.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 32c65a5ca3bde673bf2aa8fca911dd32914d3122 -Author: Behdad Esfahbod -Date: Tue Aug 18 18:37:36 2009 -0400 - - [HB] Add font funcs prototypes - - src/hb-font-private.h | 2 -- - src/hb-font.cc | 14 ++++++-------- - src/hb-font.h | 23 ++++++++++++++++------- - 3 files changed, 22 insertions(+), 17 deletions(-) - -commit 8f034d5849627ee95a5889fa34c9ba294fff13ca -Author: Behdad Esfahbod -Date: Tue Aug 18 16:41:59 2009 -0400 - - Fix a few other pedantic warnings - - src/hb-ot-layout-common-private.hh | 2 +- - src/hb-ot-layout-gdef-private.hh | 2 +- - src/hb-ot-layout-gpos-private.hh | 4 ++-- - src/hb-ot-layout-gsub-private.hh | 2 +- - 4 files changed, 5 insertions(+), 5 deletions(-) - -commit 864e2560b627f1e73be3b0635e02f00844cb67c3 -Author: Behdad Esfahbod -Date: Tue Aug 18 16:38:48 2009 -0400 - - [HB] Fix pedantic warnings - - src/hb-blob.h | 2 +- - src/hb-buffer-private.h | 18 +++++++++--------- - src/hb-buffer.h | 6 +++--- - 3 files changed, 13 insertions(+), 13 deletions(-) - -commit 3e09722214d9bbcc9014409342072c79d0c4447f -Author: Behdad Esfahbod -Date: Tue Aug 18 16:32:31 2009 -0400 - - [HB] Fix more wrong method signatures - - src/hb-ot-layout-common-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 822e99fe9ae920df41a0bd3f1125495c2ea96b45 -Author: Behdad Esfahbod -Date: Tue Aug 18 16:27:48 2009 -0400 - - [HB] Fix wrong method signature - - src/hb-ot-layout-common-private.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 4ff2a58952f010c6252f06e5f404d6840d257250 -Author: Behdad Esfahbod -Date: Tue Aug 18 15:49:23 2009 -0400 - - Bug 592194 - Fix missing _SC_PAGE_SIZE macro - - Autoconfiscate a simple call to mprotect() even more. - - src/hb-blob.c | 94 ++++++++++++++++++++++++++++++++++++++--------------------- - 1 file changed, 60 insertions(+), 34 deletions(-) - -commit 3c69bd46e27069fac0bfdefdecf5492c17eb01df -Author: Behdad Esfahbod -Date: Mon Aug 17 16:48:13 2009 -0400 - - [HB] Avoid int overflow in GPOS - - Bug 592036 - integer overflow bug causes misrendering of Nepali characters - - src/hb-ot-layout-gpos-private.hh | 20 ++++++++++---------- - src/hb-private.h | 3 +++ - 2 files changed, 13 insertions(+), 10 deletions(-) - -commit b2b18ef43c5bac6a5bb8412da7c9a37f815d4deb -Author: Behdad Esfahbod -Date: Fri Aug 14 19:37:18 2009 -0400 - - [HB] Simplify loop - - src/hb-ot-layout-gpos-private.hh | 31 ++++++++++++++----------------- - 1 file changed, 14 insertions(+), 17 deletions(-) - -commit b41f210d12d8df48e645823463343f7e14b0ddd0 -Author: Behdad Esfahbod -Date: Fri Aug 14 19:33:24 2009 -0400 - - [HB] Merge mark positionin code between three types of lookups - - src/hb-ot-layout-gpos-private.hh | 95 ++++++++++++---------------------------- - 1 file changed, 29 insertions(+), 66 deletions(-) - -commit cd33cb9ed84308da72bd7c64b9355dc2410c63ec -Author: Behdad Esfahbod -Date: Fri Aug 14 18:42:42 2009 -0400 - - [HB] More minor shuffling - - src/hb-open-type-private.hh | 3 --- - src/hb-ot-layout-common-private.hh | 5 +++++ - 2 files changed, 5 insertions(+), 3 deletions(-) - -commit 80e2aa2e1bfa2c8ecedcfa4cce8cadeb15792ac3 -Author: Behdad Esfahbod -Date: Fri Aug 14 18:40:56 2009 -0400 - - [HB] Move code around - - src/hb-open-type-private.hh | 21 +++++++++++++++++++++ - src/hb-ot-layout-common-private.hh | 19 ------------------- - 2 files changed, 21 insertions(+), 19 deletions(-) - -commit 3564ee5216004d45d30b0ded61184cf8dde5dd89 -Author: Behdad Esfahbod -Date: Fri Aug 14 18:32:56 2009 -0400 - - [HB] Correctly sanitize LigatureAttach - - src/hb-open-type-private.hh | 14 ++++++++++---- - src/hb-ot-layout-common-private.hh | 4 ++++ - src/hb-ot-layout-gdef-private.hh | 4 ++-- - src/hb-ot-layout-gpos-private.hh | 6 +++--- - 4 files changed, 19 insertions(+), 9 deletions(-) - -commit cb71a2fb76c6ddee050f775eb299ee44230c3ac9 -Author: Behdad Esfahbod -Date: Fri Aug 14 18:14:03 2009 -0400 - - [HB] Simplify MarkBase and MarkLig too - - src/hb-ot-layout-gpos-private.hh | 127 +++++++++++++++------------------------ - 1 file changed, 48 insertions(+), 79 deletions(-) - -commit dfa54f4440960c39d37ef02fff4c0d9eb315d4b4 -Author: Behdad Esfahbod -Date: Fri Aug 14 17:53:31 2009 -0400 - - [HB] Simplify MarkMark - - src/hb-ot-layout-gpos-private.hh | 29 ++++++++++++++++------------- - 1 file changed, 16 insertions(+), 13 deletions(-) - -commit 815a73e4202ca17677f12e862b70ca8724cf2f57 -Author: Behdad Esfahbod -Date: Fri Aug 14 17:31:16 2009 -0400 - - [HB] Fix possible int overflows during sanitize - - src/TODO | 1 - - src/hb-open-type-private.hh | 22 ++++++++++++++++++++++ - src/hb-ot-layout-gpos-private.hh | 15 ++++++++------- - 3 files changed, 30 insertions(+), 8 deletions(-) - -commit ae728e51e94d18d731b7c8dc524da1a4f427d63b -Author: Behdad Esfahbod -Date: Fri Aug 14 16:41:00 2009 -0400 - - [HB] Debug output for SANITIZE_MEM() - - src/hb-open-type-private.hh | 34 +++++++++++++++++++++++----------- - 1 file changed, 23 insertions(+), 11 deletions(-) - -commit 41895506cb6a41b1a833866f8822261ea449ea0b -Author: Behdad Esfahbod -Date: Fri Aug 14 16:25:33 2009 -0400 - - [HB] Use inline function for SANITIZE_MEM() - - src/hb-open-type-private.hh | 33 ++++++++++++++++++++------------- - 1 file changed, 20 insertions(+), 13 deletions(-) - -commit 95528131b5ab9fc9e265ace715832135ebd457a4 -Author: Behdad Esfahbod -Date: Fri Aug 14 16:17:32 2009 -0400 - - [HB] Use SANITIZE_THIS() when applicable - - src/hb-open-type-private.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 5769538abfe153c503da4801649493e57a9854c2 -Author: Behdad Esfahbod -Date: Fri Aug 14 16:12:22 2009 -0400 - - [HB] Add note about auditing sanitize code for overflows - - src/TODO | 1 + - src/hb-ot-layout-gpos-private.hh | 2 +- - 2 files changed, 2 insertions(+), 1 deletion(-) - -commit 15232e26f4a89dab1b6de35ad9d3d16e75bf93d0 -Author: Behdad Esfahbod -Date: Thu Aug 13 17:13:25 2009 -0400 - - [HB] Add empty hb_shape() API - - src/Makefile.am | 2 ++ - src/hb-shape.c | 40 ++++++++++++++++++++++++++++++++++++++++ - src/hb-shape.h | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ - 3 files changed, 95 insertions(+) - -commit 2866d2974b6768e93cc7d473d14c5a8abae5f7fd -Author: Behdad Esfahbod -Date: Thu Aug 13 11:47:08 2009 -0400 - - [HB] Bitfield packing *is* very delicate - - Fix the second instance. - - src/hb-buffer.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit ec90ee23b29aab187c3fa209970aa97434c84b1b -Author: Behdad Esfahbod -Date: Thu Aug 13 05:25:23 2009 -0400 - - Bug 591511 – hh-blob.c does not compile using mingw on windows - - Check for sys/mman.h, not mprotect(). - - src/hb-blob.c | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 12eae6d55d468ff2fbe2bc12bec188d313c671f9 -Author: Behdad Esfahbod -Date: Thu Aug 13 05:20:46 2009 -0400 - - [HB] Fix buffer sizing issue with mingw gcc - - Bit field packing is a delicate field. Issue reported in comment 3 here: - http://bugzilla.gnome.org/show_bug.cgi?id=591511 - - src/hb-buffer-private.h | 14 +++++++------- - 1 file changed, 7 insertions(+), 7 deletions(-) - -commit 6936706cd77f96961a1239d0c9dc8ede64d7f06d -Author: Behdad Esfahbod -Date: Wed Aug 12 19:45:50 2009 -0400 - - Bug 591413 – needs to link with libstdc++ - - Enforce -fno-exceptions better. - - src/Makefile.am | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit c486ea9c3582710474c1085c21c1dc5e2700adc3 -Author: Behdad Esfahbod -Date: Wed Aug 12 19:36:29 2009 -0400 - - Bug 591511 – hb-blob.c does not compile using mingw on windows - - Only call mprotect() when available. For optimal performance, a win32 - way to make memory writeable needs to be added. - - src/hb-blob.c | 8 ++++++++ - 1 file changed, 8 insertions(+) - -commit a579584594f1ca4781f1c5b92ad78513c0b37480 -Author: Behdad Esfahbod -Date: Wed Aug 12 19:23:16 2009 -0400 - - [HB] Add comment - - src/hb-buffer-private.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit b6e66ee102eb5b64d945e5a73ab63fe8cac5edcb -Author: Behdad Esfahbod -Date: Wed Aug 12 16:50:28 2009 -0400 - - [HB] Always clear positions if dirty, before returning to user - - src/hb-buffer.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit e4679d9fae43f3219c476c5b9e411d1f5d0d5bae -Author: Behdad Esfahbod -Date: Wed Aug 12 16:47:27 2009 -0400 - - [HB] Fix _hb_buffer_next() when positioning - - We were copying glyphs to output. This should not happen when in - GPOS. Back then it was fine, then some optimizations broke then - assumption. - - src/hb-buffer-private.h | 1 + - src/hb-buffer.c | 12 ++++++++++++ - 2 files changed, 13 insertions(+) - -commit 5ccf1ba339d6ffb4469f1c4f20d8d8d00012c857 -Author: Behdad Esfahbod -Date: Wed Aug 12 15:55:23 2009 -0400 - - [HB] Fixed signedness warnings - - src/hb-open-type-private.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit f71329147bd3087588cfeafd6feff45f29d1ca7a -Author: Behdad Esfahbod -Date: Wed Aug 12 15:48:44 2009 -0400 - - [HB] Ouch. Fix compilation. - - src/hb-ot-layout-gpos-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 0532ed160c678b5404b20594fd2ca9a640bf6a0a -Author: Behdad Esfahbod -Date: Wed Aug 12 15:40:04 2009 -0400 - - [HB] Fix invalid access / overflow on x86-64 - - Bug 591557 – [HB] crash scrolling the evolution message list - Bug 591576 – crashed with SIGSEGV at pango - - src/hb-ot-layout-gpos-private.hh | 21 ++++++++++++--------- - src/hb-ot-layout-gsub-private.hh | 2 -- - 2 files changed, 12 insertions(+), 11 deletions(-) - -commit 8d70312c7b899131c3aafa7a43527ef3ced33bfe -Author: Behdad Esfahbod -Date: Mon Aug 10 23:50:51 2009 -0400 - - [HB] Add hb_font_funcs_make_immutable() - - src/hb-font-private.h | 4 ++++ - src/hb-font.cc | 17 +++++++++++++++-- - src/hb-font.h | 3 +++ - 3 files changed, 22 insertions(+), 2 deletions(-) - -commit 3284d05da27c338d94f0da99df66d924cd9d6717 -Author: Behdad Esfahbod -Date: Mon Aug 10 23:45:57 2009 -0400 - - [HB] Add missing initializer - - src/hb-font.cc | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit 081819ea8b98c0a4b4dffe8d4aca3512f9798719 -Author: Behdad Esfahbod -Date: Mon Aug 10 23:40:28 2009 -0400 - - [OT] Hookup glib unicode funcs - - src/hb-buffer.c | 14 +++++++------- - src/hb-glib.c | 4 +++- - src/hb-glib.h | 4 ++-- - src/hb-ot-layout.cc | 10 +++++----- - src/hb-private.h | 2 +- - 5 files changed, 18 insertions(+), 16 deletions(-) - -commit 49f261df2aa753e8b09e97f7835e6a827f92970a -Author: Behdad Esfahbod -Date: Mon Aug 10 23:35:05 2009 -0400 - - [HB] Add hb-glib - - src/Makefile.am | 4 +++- - src/hb-glib.c | 56 ++++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-glib.h | 41 +++++++++++++++++++++++++++++++++++ - src/hb-unicode-private.h | 2 +- - src/hb-unicode.c | 10 ++++----- - src/hb-unicode.h | 6 +++--- - 6 files changed, 109 insertions(+), 10 deletions(-) - -commit eb27ec0cef0d92740875ab5035b53acc639e5fae -Author: Behdad Esfahbod -Date: Mon Aug 10 23:25:28 2009 -0400 - - [HB] Add hb_unicode_funcs_make_immutable() - - src/hb-unicode-private.h | 2 ++ - src/hb-unicode.c | 22 +++++++++++++++++----- - src/hb-unicode.h | 2 ++ - 3 files changed, 21 insertions(+), 5 deletions(-) - -commit af9e104028b7cdc1fbba0eb1d86cfa4d5258657f -Author: Behdad Esfahbod -Date: Mon Aug 10 23:21:33 2009 -0400 - - [HB] Use nil unicode funcs in nil face - - src/hb-font.cc | 7 ++++--- - src/hb-unicode-private.h | 3 +++ - src/hb-unicode.c | 2 +- - 3 files changed, 8 insertions(+), 4 deletions(-) - -commit 48910f8f0034c54b4e11cef3d08aa40e52c06b28 -Author: Behdad Esfahbod -Date: Mon Aug 10 23:05:05 2009 -0400 - - [HB] Initialize unicode funcs to nil getters - - src/hb-unicode.c | 29 +++++++++++++++++++---------- - 1 file changed, 19 insertions(+), 10 deletions(-) - -commit 04cc0a29ee1472c318c36efcd19b9c1a6657d9ea -Author: Behdad Esfahbod -Date: Mon Aug 10 22:58:56 2009 -0400 - - [HB] Flesh out Unicode funcs - - src/hb-object-private.h | 2 +- - src/hb-unicode-private.h | 12 ++++----- - src/hb-unicode.c | 67 ++++++++++++++++++++++++++++++++++++++++++------ - src/hb-unicode.h | 3 --- - 4 files changed, 65 insertions(+), 19 deletions(-) - -commit 299f08961ffcea27e8def4f0743d0c86ef8dadf1 -Author: Behdad Esfahbod -Date: Mon Aug 10 22:47:57 2009 -0400 - - [HB] Implement buffer UTF-X input - - src/hb-buffer.c | 110 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-buffer.h | 12 +++---- - 2 files changed, 116 insertions(+), 6 deletions(-) - -commit 1b7b97f28ac192006ca5b6d1cc9fbc80fa2bdb55 -Author: Behdad Esfahbod -Date: Mon Aug 10 21:10:37 2009 -0400 - - [HB] Add buffer UTF-X API - - src/hb-buffer.h | 21 +++++++++++++++++++++ - 1 file changed, 21 insertions(+) - -commit fbaf8ffa098bd2b6fb4f4bc2d04b360a319c4af5 -Author: Behdad Esfahbod -Date: Mon Aug 10 20:59:25 2009 -0400 - - [HB] Add hb_buffer_reverse() - - src/hb-buffer.c | 32 +++++++++++++++++++++++++++++--- - src/hb-buffer.h | 7 +++++++ - 2 files changed, 36 insertions(+), 3 deletions(-) - -commit cbe5a4e08e6c2ccfdf98e630d48ec9da69374516 -Author: Behdad Esfahbod -Date: Mon Aug 10 20:24:49 2009 -0400 - - [HB] Reuse the positions array as alt string array - - src/hb-buffer-private.h | 1 - - src/hb-buffer.c | 28 +++++++++------------------- - 2 files changed, 9 insertions(+), 20 deletions(-) - -commit 5c44188455ca1b696aa24b20c3a83877dfae2fb2 -Author: Behdad Esfahbod -Date: Mon Aug 10 20:05:16 2009 -0400 - - [HB] Start adding Unicode funcs - - src/Makefile.am | 3 + - src/hb-font-private.h | 29 ++----- - src/hb-font.cc | 163 ++++++++++------------------------- - src/hb-font.h | 140 ++++++++++-------------------- - src/hb-unicode-private.h | 54 ++++++++++++ - src/hb-unicode.c | 89 +++++++++++++++++++ - src/hb-unicode.h | 220 +++++++++++++++++++++++++++++++++++++++++++++++ - 7 files changed, 463 insertions(+), 235 deletions(-) - -commit 20b035dad41247076815a2bbb0346d63058b322f -Author: Behdad Esfahbod -Date: Mon Aug 10 19:00:36 2009 -0400 - - [HB] Put C++ inline's back - - Apparetly in C++, inline means a totally different thing. - - src/hb-open-file-private.hh | 14 +++++++------- - src/hb-open-type-private.hh | 16 ++++++++-------- - src/hb-ot-layout-common-private.hh | 12 ++++++------ - src/hb-ot-layout-gdef-private.hh | 4 ++-- - src/hb-ot-layout-gpos-private.hh | 12 ++++++------ - src/hb-ot-layout-gsub-private.hh | 12 ++++++------ - src/hb-ot-layout-gsubgpos-private.hh | 12 ++++++------ - 7 files changed, 41 insertions(+), 41 deletions(-) - -commit a62f776d8e7e3e57d28ee71b34abab0a5b8471eb -Author: Behdad Esfahbod -Date: Mon Aug 10 13:57:02 2009 -0400 - - [HB] Don't override CXX compiler - - Just add couple of options to it (still assuming gcc) - - src/Makefile.am | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 6bdab706ecb41c1305e85d041a586e86c54d0ab7 -Author: Behdad Esfahbod -Date: Mon Aug 10 09:35:11 2009 -0400 - - [HB] Indent - - src/hb-ot-layout.h | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 797724904a3ab294f8390d4ff80c299d8213a5c6 -Author: Behdad Esfahbod -Date: Sun Aug 9 22:25:17 2009 -0400 - - [HB] Remove unused code - - src/hb-ot-layout-gdef-private.hh | 10 ---------- - 1 file changed, 10 deletions(-) - -commit 284899ccbe79fda7405ab09d3092fc25fd89e810 -Author: Behdad Esfahbod -Date: Sun Aug 9 22:10:39 2009 -0400 - - [HB] Add a NEXT() macro - - src/hb-open-type-private.hh | 2 ++ - src/hb-ot-layout-common-private.hh | 4 ++-- - src/hb-ot-layout-gsub-private.hh | 8 ++++---- - src/hb-ot-layout-gsubgpos-private.hh | 24 ++++++++++++------------ - 4 files changed, 20 insertions(+), 18 deletions(-) - -commit 918572fc870dfd7596155ce700247a5bb024fb1a -Author: Behdad Esfahbod -Date: Sun Aug 9 18:31:47 2009 -0400 - - [HB] Remove done TODO item - - src/TODO | 1 - - 1 file changed, 1 deletion(-) - -commit 67cb8111f209de26b3afa46e9fb7e4d01c9ecad4 -Author: Behdad Esfahbod -Date: Sun Aug 9 13:05:08 2009 -0400 - - [HB] Print mark sets in main.cc - - src/main.cc | 2 ++ - 1 file changed, 2 insertions(+) - -commit 17878255fa88e76cd503461fc1ade2ed365cebd2 -Author: Behdad Esfahbod -Date: Sat Aug 8 16:57:27 2009 -0400 - - [HB] Remove hb_ot_layout_table_find_feature() - - That function doesn't make much sense as multiple features in the table may - have the same tag. - - src/hb-ot-layout.cc | 16 ---------------- - src/hb-ot-layout.h | 6 ------ - 2 files changed, 22 deletions(-) - -commit 468769b8f5332940278244e744ec2bd5a5dc5ee9 -Author: Behdad Esfahbod -Date: Sat Aug 8 16:53:23 2009 -0400 - - [HB] Rename hb_ot_layout_feature_mask_t to hb_mask_t - - src/TODO | 1 - - src/hb-buffer-private.h | 4 ++-- - src/hb-buffer.c | 12 ++++++------ - src/hb-buffer.h | 4 ++-- - src/hb-common.h | 1 + - src/hb-ot-layout-gpos-private.hh | 12 ++++++------ - src/hb-ot-layout-gsub-private.hh | 14 +++++++------- - src/hb-ot-layout.cc | 18 +++++++++--------- - src/hb-ot-layout.h | 34 +++++++++------------------------- - 9 files changed, 42 insertions(+), 58 deletions(-) - -commit 7f96b39a9d5a81ba77e0c3dea8fe2cdb9957c4c7 -Author: Behdad Esfahbod -Date: Sat Aug 8 16:37:22 2009 -0400 - - [HB] Fix bug introduced recently - - src/hb-open-type-private.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit bff3c0fde5da04a70d1f7aeeb9fa2a75fe5c07f6 -Author: Behdad Esfahbod -Date: Fri Aug 7 19:46:30 2009 -0400 - - [HB] Remove clumsy macros and improve API - - src/TODO | 2 - - src/hb-open-file-private.hh | 41 ++++++++-- - src/hb-open-type-private.hh | 104 +------------------------ - src/hb-ot-layout-common-private.hh | 103 ++++++++++++++++++------ - src/hb-ot-layout-gsubgpos-private.hh | 35 +++++++-- - src/hb-ot-layout.cc | 146 ++++++++++++----------------------- - src/hb-ot-layout.h | 101 ++++++++++-------------- - 7 files changed, 240 insertions(+), 292 deletions(-) - -commit d0b657379bbe63602953412d6bc944b2a0f430eb -Author: Behdad Esfahbod -Date: Thu Aug 6 18:34:47 2009 -0400 - - [HB] Fix various XXX issues - - src/hb-open-type-private.hh | 13 ++++++++++--- - src/hb-ot-layout-gdef-private.hh | 5 ++--- - 2 files changed, 12 insertions(+), 6 deletions(-) - -commit 82199868fb036b63799af761762225d45d36f575 -Author: Behdad Esfahbod -Date: Thu Aug 6 18:28:45 2009 -0400 - - [HB] Remove unused var - - src/hb-ot-layout-private.h | 2 -- - 1 file changed, 2 deletions(-) - -commit 07e69226cbd4167741fd868a3125487bbabb99dc -Author: Behdad Esfahbod -Date: Thu Aug 6 18:28:00 2009 -0400 - - [HB] Remove another stale XXX - - src/hb-ot-layout.cc | 2 -- - 1 file changed, 2 deletions(-) - -commit e605c367c5627e7ab05af9cb59247a89290e598a -Author: Behdad Esfahbod -Date: Thu Aug 6 18:27:28 2009 -0400 - - [HB] Rebrand XXX as TODO - - src/hb-open-file-private.hh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit c5a13048e21fcfcfd3b74f800e8d521e6245b451 -Author: Behdad Esfahbod -Date: Thu Aug 6 18:26:38 2009 -0400 - - [HB] Remove stale XXX - - src/hb-blob.c | 2 -- - 1 file changed, 2 deletions(-) - -commit 9e826ea2832f0444bcef9075b445d481a58a09c2 -Author: Behdad Esfahbod -Date: Thu Aug 6 18:24:55 2009 -0400 - - [HB] Fix unaligned access - - src/hb-open-type-private.hh | 20 +++++++++++++++++--- - src/hb-private.h | 22 ++++++++++++++++++++++ - 2 files changed, 39 insertions(+), 3 deletions(-) - -commit 71a8344a5eeaa34e31d53138cf3bbe30b819f83c -Author: Behdad Esfahbod -Date: Thu Aug 6 14:28:18 2009 -0400 - - [HB] Remove a few 'inline's, though the compiler mostly ignores them - - src/hb-open-file-private.hh | 1 - - src/hb-open-type-private.hh | 16 ++++++++-------- - src/hb-ot-layout-gsubgpos-private.hh | 6 +++--- - 3 files changed, 11 insertions(+), 12 deletions(-) - -commit 7f3d5c8166e5205e9d9bf8b4b2f31d44387a8006 -Author: Behdad Esfahbod -Date: Thu Aug 6 13:33:51 2009 -0400 - - [HB] Fix blob to use a actual mutex - - src/hb-blob.c | 125 +++++++++++++++++++++++++++++++++++------------- - src/hb-object-private.h | 4 +- - src/hb-private.h | 20 +++++--- - 3 files changed, 106 insertions(+), 43 deletions(-) - -commit a794ebf4be9896393f4badf02905a4007981a588 -Author: Behdad Esfahbod -Date: Thu Aug 6 12:32:35 2009 -0400 - - [HB] Use glib again - - src/Makefile.am | 5 +++-- - src/hb-blob.c | 4 ++-- - src/hb-object-private.h | 19 ++++++------------- - src/hb-private.h | 45 ++++++++++++++++++++++++++------------------- - 4 files changed, 37 insertions(+), 36 deletions(-) - -commit 9b76a290a94f2603f3cb9498ae976125347cf54b -Author: Behdad Esfahbod -Date: Thu Aug 6 10:27:38 2009 -0400 - - [HB] Improve debug output - - src/hb-open-type-private.hh | 7 ++++--- - 1 file changed, 4 insertions(+), 3 deletions(-) - -commit 9faee63034d3965735bd6362c0beeca1613bd771 -Author: Behdad Esfahbod -Date: Thu Aug 6 10:24:49 2009 -0400 - - [HB] Minor - - src/hb-private.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit f72059ee6946d9b4812b794f662ee83c7e25fe53 -Author: Behdad Esfahbod -Date: Wed Aug 5 15:35:02 2009 -0400 - - [HB] Add a few TODO items - - src/TODO | 8 +++++--- - 1 file changed, 5 insertions(+), 3 deletions(-) - -commit 0d77ab8a73f57c9fca4c6f9301dae394d79526e3 -Author: Behdad Esfahbod -Date: Wed Aug 5 15:27:42 2009 -0400 - - [HB] Improve debug output - - src/hb-open-type-private.hh | 8 ++++++++ - 1 file changed, 8 insertions(+) - -commit 268cac4c9ef8cb592cfb8507273332165b8d3ad3 -Author: Behdad Esfahbod -Date: Wed Aug 5 15:21:48 2009 -0400 - - [HB] Fix blob unlock - - src/hb-blob.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 7acb389569cf99c6bae9db31a8ed7c7007fbb566 -Author: Behdad Esfahbod -Date: Wed Aug 5 15:20:34 2009 -0400 - - [HB] Improve debug output and fix mprotect bug - - src/hb-blob.c | 57 ++++++++++++++++++++++++++++++++++++++------- - src/hb-open-type-private.hh | 30 +++++++++++------------- - src/hb-private.h | 3 ++- - 3 files changed, 65 insertions(+), 25 deletions(-) - -commit ec9f8db0d3cad146801b7dc5c59e517de3b6fa34 -Author: Behdad Esfahbod -Date: Wed Aug 5 14:52:03 2009 -0400 - - [HB] Minor - - src/hb-private.h | 3 +++ - 1 file changed, 3 insertions(+) - -commit d341881d9a0f835f691b121480046081ad162918 -Author: Behdad Esfahbod -Date: Wed Aug 5 14:49:25 2009 -0400 - - [HB] Fix build of main.cc - - src/Makefile.am | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 8f3be25e7ec88ea451ee8097bf32e5f729f4fef9 -Author: Behdad Esfahbod -Date: Tue Aug 4 23:43:40 2009 -0400 - - [HB] turn debugging off - - src/hb-private.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 62ed5850d9e0e0d0231889470d58e815420c21e5 -Author: Behdad Esfahbod -Date: Tue Aug 4 23:30:32 2009 -0400 - - [HB] Fix another sanitize() bug; hopefully it's the last one - - src/hb-ot-layout-common-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 90482b68178b687c0f0a3f82cd6a36b2c0bb9384 -Author: Behdad Esfahbod -Date: Tue Aug 4 23:24:35 2009 -0400 - - [HB] Fix a couple other sanitize() bugs - - src/hb-ot-layout-gpos-private.hh | 4 ++-- - src/hb-ot-layout-gsub-private.hh | 4 ++-- - 2 files changed, 4 insertions(+), 4 deletions(-) - -commit 4f3ad9115a4161fc23fa559c26082440196217ec -Author: Behdad Esfahbod -Date: Tue Aug 4 23:01:23 2009 -0400 - - [HB] More debugging output - - src/hb-open-type-private.hh | 45 ++++++++++++++++++++++++++++++++++++++++----- - 1 file changed, 40 insertions(+), 5 deletions(-) - -commit 8cd6fa28d1b77100491519b8dedb2e113508bf59 -Author: Behdad Esfahbod -Date: Tue Aug 4 22:55:44 2009 -0400 - - [HB] Fix fatal Sanitizer bug - - src/hb-open-type-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 2870ac5e5d5d87646a4b273a9805fb3fcf280f97 -Author: Behdad Esfahbod -Date: Tue Aug 4 22:43:47 2009 -0400 - - [HB] Add missing sanitize - - src/hb-open-file-private.hh | 1 + - 1 file changed, 1 insertion(+) - -commit b28815c1f6e46d38471cacbc31248ca6fda8c4d1 -Author: Behdad Esfahbod -Date: Tue Aug 4 22:35:36 2009 -0400 - - [HB] Add sanitize debugging facilities - - src/hb-open-file-private.hh | 4 ++++ - src/hb-open-type-private.hh | 43 +++++++++++++++++++++++++++++++----- - src/hb-ot-layout-common-private.hh | 17 ++++++++++++++ - src/hb-ot-layout-gdef-private.hh | 10 +++++++++ - src/hb-ot-layout-gpos-private.hh | 28 +++++++++++++++++++++++ - src/hb-ot-layout-gsub-private.hh | 18 +++++++++++++++ - src/hb-ot-layout-gsubgpos-private.hh | 16 ++++++++++++++ - src/hb-private.h | 6 ++++- - 8 files changed, 136 insertions(+), 6 deletions(-) - -commit 7edb430f9182723b7b720708c56088cec1200a70 -Author: Behdad Esfahbod -Date: Tue Aug 4 22:06:57 2009 -0400 - - [HB] Rename open-types to open-type; beauty - - src/Makefile.am | 2 +- - src/hb-open-file-private.hh | 2 +- - src/{hb-open-types-private.hh => hb-open-type-private.hh} | 0 - src/hb-ot-layout-common-private.hh | 2 +- - 4 files changed, 3 insertions(+), 3 deletions(-) - -commit f4b58d3fc2956a9d1b6178588d809c781f7a5c0c -Author: Behdad Esfahbod -Date: Tue Aug 4 21:47:29 2009 -0400 - - [HB] Save edit even if not writeable - - src/hb-open-types-private.hh | 6 ++---- - 1 file changed, 2 insertions(+), 4 deletions(-) - -commit 9bd629ccd064e739789e504c41ad875eed93abba -Author: Behdad Esfahbod -Date: Tue Aug 4 21:42:23 2009 -0400 - - [HB] Fix warnings - - src/hb-open-file-private.hh | 1 + - src/hb-open-types-private.hh | 5 +++++ - src/hb-ot-layout-gsub-private.hh | 3 +-- - 3 files changed, 7 insertions(+), 2 deletions(-) - -commit 5ff4e13143c227fa57854c987b5a98e610f89361 -Author: Behdad Esfahbod -Date: Tue Aug 4 21:35:32 2009 -0400 - - [HB] Avoid infinite recusion in Extension sanitize() - - src/hb-ot-layout-gpos-private.hh | 1 + - src/hb-ot-layout-gsub-private.hh | 1 + - 2 files changed, 2 insertions(+) - -commit d60bb8ca2ae6edf29b2227b56c57f0d16879370b -Author: Behdad Esfahbod -Date: Tue Aug 4 21:32:57 2009 -0400 - - [HB] Hook Sanitizer up. Hell's breaking loose right now - - src/hb-font.cc | 7 ++----- - src/hb-open-types-private.hh | 2 +- - src/hb-ot-layout.cc | 12 ++++++------ - 3 files changed, 9 insertions(+), 12 deletions(-) - -commit 679f41fe61242aa8d7f45b64bdb66395aa530fe2 -Author: Behdad Esfahbod -Date: Tue Aug 4 21:32:06 2009 -0400 - - [HB] Fix leak - - src/hb-ot-layout.cc | 2 ++ - 1 file changed, 2 insertions(+) - -commit 4e8a0602bb0b3cbf7f26cc38790e37cdec7b0b37 -Author: Behdad Esfahbod -Date: Tue Aug 4 20:52:47 2009 -0400 - - [HB] Add Sanitizer - - src/hb-open-types-private.hh | 58 ++++++++++++++++++++++++++++++++++++++++---- - 1 file changed, 53 insertions(+), 5 deletions(-) - -commit 2765d333e523a13dbd932fa33f3b39a5cf83f0f7 -Author: Behdad Esfahbod -Date: Tue Aug 4 20:50:18 2009 -0400 - - [HB] Add XXX - - src/hb-open-file-private.hh | 3 +++ - 1 file changed, 3 insertions(+) - -commit a328d66e6a8122f7d4d71941449d4d0136203e08 -Author: Behdad Esfahbod -Date: Tue Aug 4 20:27:05 2009 -0400 - - [HB] Minor cleanup - - src/hb-ot-layout-gdef-private.hh | 2 +- - src/hb-ot-layout-gpos-private.hh | 2 +- - src/hb-ot-layout-gsub-private.hh | 2 +- - src/hb-ot-layout-gsubgpos-private.hh | 4 ++-- - 4 files changed, 5 insertions(+), 5 deletions(-) - -commit 577c1116493d785d3455626612f97dabb383abf0 -Author: Behdad Esfahbod -Date: Tue Aug 4 19:31:02 2009 -0400 - - [HB] Shuffle code around - - src/hb-open-types-private.hh | 127 ++++++++++++++++++++++--------------------- - 1 file changed, 65 insertions(+), 62 deletions(-) - -commit b1e187fc6365f5355c652a61494a5e9f6acf51b4 -Author: Behdad Esfahbod -Date: Tue Aug 4 15:28:49 2009 -0400 - - [HB] More sanitize infrastructure - - src/hb-open-types-private.hh | 29 ++++++++++++++++++++++++++++- - 1 file changed, 28 insertions(+), 1 deletion(-) - -commit b508e5ccd528f3f0f49f545bd5f30a525d5abd5a -Author: Behdad Esfahbod -Date: Tue Aug 4 15:07:24 2009 -0400 - - [HB] open-file sanitize() - - src/hb-open-file-private.hh | 46 ++++++++++++++++++++++++++++++++++++++++---- - src/hb-open-types-private.hh | 13 +++++++++++++ - 2 files changed, 55 insertions(+), 4 deletions(-) - -commit 738c54d9caa3affc4b434e56bfb810ff6dc9b0b3 -Author: Behdad Esfahbod -Date: Tue Aug 4 14:42:46 2009 -0400 - - [HB] Tag sanitize() - - src/hb-open-types-private.hh | 8 ++++++++ - src/hb-ot-layout-common-private.hh | 6 +----- - 2 files changed, 9 insertions(+), 5 deletions(-) - -commit e49a84c9e37c08808880e74e94c8160731ababa1 -Author: Behdad Esfahbod -Date: Tue Aug 4 14:33:23 2009 -0400 - - [HB] GDEF sanitize() - - src/hb-ot-layout-gdef-private.hh | 54 ++++++++++++++++++++++++++++++++++++ - src/hb-ot-layout-gpos-private.hh | 2 +- - src/hb-ot-layout-gsub-private.hh | 2 +- - src/hb-ot-layout-gsubgpos-private.hh | 2 +- - 4 files changed, 57 insertions(+), 3 deletions(-) - -commit 18939487d04dba86880b0af8e89cf2cc44a431f5 -Author: Behdad Esfahbod -Date: Tue Aug 4 14:27:56 2009 -0400 - - [HB] Fix Extension sanitize() - - src/hb-ot-layout-gpos-private.hh | 3 ++- - src/hb-ot-layout-gsub-private.hh | 3 ++- - src/hb-ot-layout-gsubgpos-private.hh | 2 +- - 3 files changed, 5 insertions(+), 3 deletions(-) - -commit f2be750981be58a723831e69b1670275851d4be9 -Author: Behdad Esfahbod -Date: Tue Aug 4 14:12:46 2009 -0400 - - [HB] Remove stale TODO - - src/hb-ot-layout.cc | 2 -- - 1 file changed, 2 deletions(-) - -commit ac26e2a838d1266bb5f39c43245eb2a52c5e072d -Author: Behdad Esfahbod -Date: Tue Aug 4 14:10:39 2009 -0400 - - [HB] Hookup NEUTER() - - src/hb-open-types-private.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 15164d9258a74122a4db748d35532bd72c47cec2 -Author: Behdad Esfahbod -Date: Tue Aug 4 13:57:41 2009 -0400 - - [HB] Fix mix warnings - - src/Makefile.am | 2 +- - src/hb-font.cc | 15 +++------------ - src/hb-open-types-private.hh | 2 +- - src/hb-ot-layout-common-private.hh | 6 +++--- - src/hb-ot-layout-gdef-private.hh | 2 +- - src/hb-ot-layout-gpos-private.hh | 9 ++++----- - src/hb-ot-layout.cc | 2 +- - src/main.cc | 4 +--- - 8 files changed, 15 insertions(+), 27 deletions(-) - -commit 42b778f89e0818fe06910ce04e2203485823da09 -Author: Behdad Esfahbod -Date: Tue Aug 4 13:30:49 2009 -0400 - - [HB] GPOS sanitize() - - src/hb-open-types-private.hh | 22 ++++- - src/hb-ot-layout-gpos-private.hh | 195 ++++++++++++++++++++++++++++++++++++++- - src/hb-ot-layout-gsub-private.hh | 2 - - 3 files changed, 213 insertions(+), 6 deletions(-) - -commit dc9c4d93cd0f3ac991f32df08c1c17fc389054c0 -Author: Behdad Esfahbod -Date: Tue Aug 4 12:26:26 2009 -0400 - - [HB] Sanitize DeviceTable - - src/hb-open-types-private.hh | 8 ++++---- - src/hb-ot-layout-common-private.hh | 17 ++++++++++++++--- - src/hb-ot-layout-gsub-private.hh | 2 +- - 3 files changed, 19 insertions(+), 8 deletions(-) - -commit ad3a3cd4955661c591b20af1f2c493432f0bebf0 -Author: Behdad Esfahbod -Date: Tue Aug 4 12:13:52 2009 -0400 - - [HB] More casts - - src/hb-ot-layout-gsub-private.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 95639fccc1ef18eadeb737e8b611d1d1f1315fc2 -Author: Behdad Esfahbod -Date: Tue Aug 4 12:05:24 2009 -0400 - - [HB] Fix couple of bugs - - src/hb-open-types-private.hh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 2b5a59c277f4c5bf7aac9a9005054763e322e02d -Author: Behdad Esfahbod -Date: Tue Aug 4 11:38:50 2009 -0400 - - [HB] More cast cleanup - - src/hb-open-types-private.hh | 23 ++++++++----- - src/hb-ot-layout-common-private.hh | 7 ++-- - src/hb-ot-layout-gsub-private.hh | 27 ++++++--------- - src/hb-ot-layout-gsubgpos-private.hh | 64 +++++++++++++----------------------- - 4 files changed, 50 insertions(+), 71 deletions(-) - -commit 196598bbccff08415ff5192314cba044df258cad -Author: Behdad Esfahbod -Date: Tue Aug 4 11:04:32 2009 -0400 - - [Hb] Use reinterpret casts instead of direct casts to char * - - src/hb-open-file-private.hh | 4 ++-- - src/hb-open-types-private.hh | 19 +++++++++++----- - src/hb-ot-layout-common-private.hh | 8 +++---- - src/hb-ot-layout-gpos-private.hh | 12 +++++----- - src/hb-ot-layout-gsub-private.hh | 20 ++++++++-------- - src/hb-ot-layout-gsubgpos-private.hh | 44 ++++++++++++++++++------------------ - 6 files changed, 57 insertions(+), 50 deletions(-) - -commit 92b5dd8e71e1bdeaa6e86a53f167683a3f5f4289 -Author: Behdad Esfahbod -Date: Tue Aug 4 10:41:32 2009 -0400 - - [HB] Merge more templates - - src/hb-open-types-private.hh | 167 ++++++++++++++----------------------------- - 1 file changed, 55 insertions(+), 112 deletions(-) - -commit e6ab2c59ba2d37942ac5fcbfe61d38b7e359ac8c -Author: Behdad Esfahbod -Date: Tue Aug 4 10:23:01 2009 -0400 - - [HB] Simplify indirect sanitize() - - src/hb-open-types-private.hh | 52 ++++++++++++++++++-------------------- - src/hb-ot-layout-common-private.hh | 11 +------- - 2 files changed, 26 insertions(+), 37 deletions(-) - -commit 29d8644a315ebe6976f15db2fe96069376d9b8cd -Author: Behdad Esfahbod -Date: Tue Aug 4 02:27:37 2009 -0400 - - [HB] Finish GSUB sanitize() - - src/hb-ot-layout-gsub-private.hh | 21 ++++++++++++++++++++- - 1 file changed, 20 insertions(+), 1 deletion(-) - -commit cf086adca1b7b5a361a248808f9a847e513d3630 -Author: Behdad Esfahbod -Date: Tue Aug 4 02:14:24 2009 -0400 - - [HB] Add comment - - src/hb-ot-layout-common-private.hh | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -commit a97ce570ab693190350886e4e80942851c4d5727 -Author: Behdad Esfahbod -Date: Tue Aug 4 02:10:48 2009 -0400 - - [HB] Optimize sanitize() - - src/hb-open-types-private.hh | 7 ++++++- - 1 file changed, 6 insertions(+), 1 deletion(-) - -commit cd3827ee567612c5500206b62840702fc956e0f5 -Author: Behdad Esfahbod -Date: Tue Aug 4 02:09:34 2009 -0400 - - [HB] More sanitize() - - src/hb-open-file-private.hh | 2 +- - src/hb-open-types-private.hh | 12 ++++--- - src/hb-ot-layout-common-private.hh | 64 +++++++++++++++++++++++++++++++----- - src/hb-ot-layout-gdef-private.hh | 2 +- - src/hb-ot-layout-gsubgpos-private.hh | 15 +++++++-- - 5 files changed, 79 insertions(+), 16 deletions(-) - -commit 70de50c11ed7037b20eb6814ff60f6e32a9944e4 -Author: Behdad Esfahbod -Date: Tue Aug 4 00:58:28 2009 -0400 - - [HB] Start sanitize() - - src/hb-open-types-private.hh | 105 ++++++++++++++++++++++++++++- - src/hb-ot-layout-common-private.hh | 48 +++++++++++++- - src/hb-ot-layout-gsub-private.hh | 125 ++++++++++++++++++++++++++++++++++- - src/hb-ot-layout-gsubgpos-private.hh | 104 +++++++++++++++++++++++++++++ - 4 files changed, 376 insertions(+), 6 deletions(-) - -commit 5fc22e647c8a2bf6d3cb59185e351ac625e7e322 -Author: Behdad Esfahbod -Date: Mon Aug 3 22:43:02 2009 -0400 - - [HB] Remove use of typeof() - - src/hb-blob.c | 4 ++-- - src/hb-buffer.c | 2 +- - src/hb-font.cc | 14 +++++++------- - src/hb-object-private.h | 4 ++-- - 4 files changed, 12 insertions(+), 12 deletions(-) - -commit 70e0f2a75ec1559f2f70ada837ce4bc4baca49e3 -Author: Behdad Esfahbod -Date: Mon Aug 3 22:01:47 2009 -0400 - - [HB] Make it all work again - - src/hb-font.cc | 23 ++++++++++++--------- - src/hb-ot-layout-private.h | 9 +++++--- - src/hb-ot-layout.cc | 51 +++++++++++++++++++++++----------------------- - 3 files changed, 44 insertions(+), 39 deletions(-) - -commit 23c86aa0009324433e78fcd0c47f2c0ff14b1949 -Author: Behdad Esfahbod -Date: Mon Aug 3 21:40:20 2009 -0400 - - [HB] Use face_t directly instead of ot_layout_t - - src/TODO | 1 + - src/hb-font-private.h | 4 + - src/hb-font.cc | 74 +++++++++--- - src/hb-font.h | 3 + - src/hb-object-private.h | 36 +++--- - src/hb-ot-layout-gdef-private.hh | 2 + - src/hb-ot-layout-gpos-private.hh | 14 +-- - src/hb-ot-layout-gsub-private.hh | 32 ++--- - src/hb-ot-layout-gsubgpos-private.hh | 8 +- - src/hb-ot-layout-private.h | 40 ++++--- - src/hb-ot-layout.cc | 220 +++++++++++++++-------------------- - 11 files changed, 237 insertions(+), 197 deletions(-) - -commit fc6c94002dd5478cf9fbdaff12d8374a786c85e1 -Author: Behdad Esfahbod -Date: Mon Aug 3 21:27:08 2009 -0400 - - [HB] Simplify sub-blob support - - src/hb-blob.c | 172 ++++++++++++++++++++++------------------------------------ - src/hb-blob.h | 14 +++-- - 2 files changed, 74 insertions(+), 112 deletions(-) - -commit a26442437ae9f11674e0d68cd5cbf395ade7695d -Author: Behdad Esfahbod -Date: Mon Aug 3 17:53:29 2009 -0400 - - [HB] Add sub-blobs - - src/hb-blob.c | 162 +++++++++++++++++++++++++++++++++++++++++++++++++--------- - src/hb-blob.h | 12 ++++- - 2 files changed, 147 insertions(+), 27 deletions(-) - -commit b28e21b90c4105a0c2e17009b748777294614664 -Author: Behdad Esfahbod -Date: Sun Aug 2 20:06:48 2009 -0400 - - [HB] Rename hb-font.c to hb-font.cc - - src/Makefile.am | 2 +- - src/{hb-font.c => hb-font.cc} | 0 - 2 files changed, 1 insertion(+), 1 deletion(-) - -commit 5f5b24f99f52bbc922e238b65c06061ba07c8548 -Author: Behdad Esfahbod -Date: Sun Aug 2 20:03:12 2009 -0400 - - [OT] Rename C++ header files from *.h to *.hh - - src/Makefile.am | 14 +++++++------- - src/{hb-open-file-private.h => hb-open-file-private.hh} | 8 ++++---- - src/{hb-open-types-private.h => hb-open-types-private.hh} | 6 +++--- - ...out-common-private.h => hb-ot-layout-common-private.hh} | 8 ++++---- - ...-layout-gdef-private.h => hb-ot-layout-gdef-private.hh} | 8 ++++---- - ...-layout-gpos-private.h => hb-ot-layout-gpos-private.hh} | 8 ++++---- - ...-layout-gsub-private.h => hb-ot-layout-gsub-private.hh} | 8 ++++---- - ...gsubgpos-private.h => hb-ot-layout-gsubgpos-private.hh} | 8 ++++---- - src/hb-ot-layout.cc | 8 ++++---- - src/main.cc | 6 +++--- - 10 files changed, 41 insertions(+), 41 deletions(-) - -commit 2098a021a826e76ee27d5db74e32738d7d1c3d30 -Author: Behdad Esfahbod -Date: Sun Aug 2 19:57:00 2009 -0400 - - [HB] Move OT file handling out of ot-layout - - src/Makefile.am | 3 +- - src/hb-open-file-private.h | 145 +++++++++++++++++++++ - ...yout-open-private.h => hb-open-types-private.h} | 117 +---------------- - src/hb-ot-layout-common-private.h | 4 +- - src/hb-ot-layout.cc | 2 +- - src/main.cc | 4 +- - 6 files changed, 157 insertions(+), 118 deletions(-) - -commit 0ead481a5a8623103565fd7d924666e7342278dd -Author: Behdad Esfahbod -Date: Sun Aug 2 17:41:36 2009 -0400 - - [HB] Port ot-layout to new public API - - src/TODO | 1 + - src/hb-common.h | 1 + - src/hb-font.c | 9 + - src/hb-font.h | 3 + - src/hb-ot-layout-gdef-private.h | 32 ++-- - src/hb-ot-layout-gpos-private.h | 106 ++++++------ - src/hb-ot-layout-gsub-private.h | 50 +++--- - src/hb-ot-layout-gsubgpos-private.h | 12 +- - src/hb-ot-layout-private.h | 36 +++- - src/hb-ot-layout.cc | 334 ++++++++++++++++++++---------------- - src/hb-ot-layout.h | 207 ++++++++++------------ - 11 files changed, 415 insertions(+), 376 deletions(-) - -commit 678bed433371d90536976a2d57195c1e1867f766 -Author: Behdad Esfahbod -Date: Sun Aug 2 15:35:31 2009 -0400 - - [HB] Add top-level header files - - src/Makefile.am | 2 ++ - src/hb-ot.h | 34 ++++++++++++++++++++++++++++++++++ - src/hb.h | 35 +++++++++++++++++++++++++++++++++++ - 3 files changed, 71 insertions(+) - -commit 2c80296aa5991ad67483889147f5c84fefe54af2 -Author: Behdad Esfahbod -Date: Sun Aug 2 15:20:22 2009 -0400 - - [HB] Add XXX marks - - src/hb-ot-layout-private.h | 2 ++ - src/hb-ot-layout.cc | 7 ++----- - 2 files changed, 4 insertions(+), 5 deletions(-) - -commit c46f8efd6ddd981b5724b2600ac98a80193385be -Author: Behdad Esfahbod -Date: Sat Aug 1 23:06:27 2009 -0400 - - [HB] Rename _duplicate to _copy - - To be in line with cairo - - src/hb-font.c | 4 ++-- - src/hb-font.h | 4 ++-- - 2 files changed, 4 insertions(+), 4 deletions(-) - -commit f1ebe44985e2192844cf1747a4e36ed81e715ce6 -Author: Behdad Esfahbod -Date: Sat Aug 1 22:55:11 2009 -0400 - - [HB] Cleanup TODO - - src/TODO | 10 +--------- - 1 file changed, 1 insertion(+), 9 deletions(-) - -commit f1322e52d557726baa010be8d35a594748e8fa1a -Author: Behdad Esfahbod -Date: Sat Aug 1 22:53:04 2009 -0400 - - [HB] Cleanup public buffer structs - - src/hb-buffer-private.h | 46 +++++++++++++++++++++++++++++++------- - src/hb-buffer.c | 49 +++++++++++++++++++++-------------------- - src/hb-buffer.h | 35 ++++++++++++++--------------- - src/hb-ot-layout-gpos-private.h | 8 +++---- - src/hb-ot-layout-private.h | 5 +++-- - src/hb-ot-layout.cc | 20 ++++++++--------- - 6 files changed, 97 insertions(+), 66 deletions(-) - -commit 6d5bb18e93d2a53350b342869a3ec8f25f0396c2 -Author: Behdad Esfahbod -Date: Sat Aug 1 22:25:04 2009 -0400 - - [OT] Match struct with HB's - - src/hb-buffer.c | 6 +++--- - src/hb-buffer.h | 2 +- - src/hb-ot-layout.cc | 12 ++++++------ - 3 files changed, 10 insertions(+), 10 deletions(-) - -commit 11fbb5487d9900a019440ef8235f35c9f525decb -Author: Behdad Esfahbod -Date: Sat Aug 1 22:19:06 2009 -0400 - - [HB] Port buffert to new object API - - src/hb-buffer-private.h | 24 +++++++++++++++--- - src/hb-buffer.c | 65 +++++++++++++++++++++++++++++++++++++------------ - src/hb-buffer.h | 53 +++++++++++++++++++++++++--------------- - 3 files changed, 104 insertions(+), 38 deletions(-) - -commit 0cc7bc59ea6e8f38bf1e196c558cca9862ac3302 -Author: Behdad Esfahbod -Date: Sat Aug 1 21:38:39 2009 -0400 - - [HB] Move typedef's around - - src/hb-blob.h | 2 ++ - src/hb-common.h | 9 --------- - src/hb-font.h | 10 ++++++++++ - 3 files changed, 12 insertions(+), 9 deletions(-) - -commit a12dd324a3859496a95602d426aee34ce6c5c8a6 -Author: Behdad Esfahbod -Date: Sat Aug 1 21:36:15 2009 -0400 - - [HB] Add get_reference_count() - - src/hb-blob.c | 6 ++++++ - src/hb-blob.h | 3 +++ - src/hb-font.c | 24 ++++++++++++++++++++++++ - src/hb-font.h | 12 ++++++++++++ - src/hb-object-private.h | 7 +++++++ - 5 files changed, 52 insertions(+) - -commit baec684fde2303edb16341bfcf1022cd72acf129 -Author: Behdad Esfahbod -Date: Sat Aug 1 21:06:11 2009 -0400 - - [HB] Remove glib dependency - - src/Makefile.am | 7 ++----- - src/hb-buffer.c | 2 +- - src/hb-private.h | 30 ++++++++++++++++++------------ - src/main.cc | 1 + - 4 files changed, 22 insertions(+), 18 deletions(-) - -commit df66028781a7609a515980e64396e6f1044d764a -Author: Behdad Esfahbod -Date: Sat Aug 1 20:46:02 2009 -0400 - - [HB] Assorted compiler macros - - src/hb-ot-layout-open-private.h | 4 +- - src/hb-private.h | 88 +++++++++++++++++++++++++++++++---------- - 2 files changed, 70 insertions(+), 22 deletions(-) - -commit ba8d94ce3360bfaf2c530d01f2af69237018a531 -Author: Behdad Esfahbod -Date: Sat Aug 1 20:29:22 2009 -0400 - - [HB] Simplify object creation - - src/Makefile.am | 2 +- - src/hb-blob.c | 6 +--- - src/hb-font-private.h | 1 - - src/hb-font.c | 37 +++++++--------------- - src/{hb-refcount-private.h => hb-object-private.h} | 14 ++++++-- - src/hb-private.h | 2 ++ - 6 files changed, 27 insertions(+), 35 deletions(-) - -commit c62b503770325819f249885dfc9d4683a69c9efd -Author: Behdad Esfahbod -Date: Sat Aug 1 19:54:49 2009 -0400 - - [HB] Add abstract font and face API - - Not used yet. - - src/Makefile.am | 3 + - src/hb-blob.c | 6 +- - src/hb-font-private.h | 108 +++++++++++++++ - src/hb-font.c | 331 ++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-font.h | 182 +++++++++++++++++++++++++ - src/hb-refcount-private.h | 14 +- - 6 files changed, 636 insertions(+), 8 deletions(-) - -commit 35a7383c6138fd705560f0d4bb30659cbd1ab64c -Author: Behdad Esfahbod -Date: Sat Aug 1 19:30:31 2009 -0400 - - [HB] Simplify refcounting functions - - src/hb-blob.c | 32 ++++++++++---------------------- - src/hb-common.h | 2 ++ - src/hb-private.h | 2 ++ - src/hb-refcount-private.h | 31 ++++++++++++++++++++++++++++++- - 4 files changed, 44 insertions(+), 23 deletions(-) - -commit 23af767a4475fecc1fe9fe9108f12c05c89bc8c9 -Author: Behdad Esfahbod -Date: Sat Aug 1 19:10:41 2009 -0400 - - [HB] Fix for dfont's with multiple faces - - src/hb-ot-layout-open-private.h | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -commit e97a95f2ea2770689bbf076d3c3ac404f273271e -Author: Behdad Esfahbod -Date: Sat Aug 1 19:05:44 2009 -0400 - - [HB] Use calloc instead of malloc where feasible - - src/hb-blob.c | 8 +++++--- - src/hb-buffer.c | 4 ++-- - 2 files changed, 7 insertions(+), 5 deletions(-) - -commit 0090dc0f67b553d2f6eaaedc289c0956ade09ef6 -Author: Behdad Esfahbod -Date: Thu Jul 30 16:28:45 2009 -0400 - - [HB] Remove hinting setting and use ppem==0 to mean "no hinting" - - src/hb-blob.h | 3 --- - src/hb-common.h | 9 +++++++++ - src/hb-ot-layout-gpos-private.h | 36 ++++++++++++++++++++++++------------ - src/hb-ot-layout-private.h | 2 -- - src/hb-ot-layout.cc | 7 ------- - src/hb-ot-layout.h | 4 ---- - 6 files changed, 33 insertions(+), 28 deletions(-) - -commit f0954d1e08ae288eda9904e17108fc73f48c0b98 -Author: Behdad Esfahbod -Date: Thu Jul 30 15:33:57 2009 -0400 - - [HB] Add a "blob" manager - - src/Makefile.am | 5 +- - src/hb-blob.c | 181 ++++++++++++++++++++++++++++++++++++++++++++++ - src/hb-blob.h | 74 +++++++++++++++++++ - src/hb-private.h | 2 + - src/hb-refcount-private.h | 54 ++++++++++++++ - 5 files changed, 315 insertions(+), 1 deletion(-) - -commit 02a370697d25b986dbf1d5c38f46a89a4833b495 -Author: Behdad Esfahbod -Date: Wed Jul 29 18:41:25 2009 -0400 - - [HB] Move direction to buffer - - src/hb-buffer.c | 9 +++++++++ - src/hb-buffer.h | 14 ++++++++++++++ - src/hb-ot-layout-gpos-private.h | 2 +- - src/hb-ot-layout-private.h | 1 - - src/hb-ot-layout.cc | 7 ------- - src/hb-ot-layout.h | 5 ----- - 6 files changed, 24 insertions(+), 14 deletions(-) - -commit 7cda6fa24c26887c5543d0657b07aad466452cb3 -Author: Behdad Esfahbod -Date: Wed Jul 29 18:37:57 2009 -0400 - - [HB] Rename internal vars - - src/hb-ot-layout-gsubgpos-private.h | 56 ++++++++++++++++++------------------- - 1 file changed, 28 insertions(+), 28 deletions(-) - -commit b196e6f2743d631ef181f1116370be3055063d36 -Author: Behdad Esfahbod -Date: Tue Jul 28 15:50:42 2009 -0400 - - [HB] Fix buffer enlargement. Ouch - - src/hb-buffer.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit f9cd1014f8f4d0394b5e0e9eefc1e2af13c59cab -Author: Behdad Esfahbod -Date: Tue Jul 28 15:43:34 2009 -0400 - - Apply patch from Jonathan Kew - - src/hb-buffer.c | 75 ++++++++++++++++++++++++++++------------------------- - src/hb-buffer.h | 6 ++++- - src/hb-ot-layout.cc | 31 ++++++++++++++++++++++ - src/hb-ot-layout.h | 15 +++++++++++ - src/hb-private.h | 2 +- - 5 files changed, 91 insertions(+), 38 deletions(-) - -commit 2ebb89d63dd27e800f2b6cbf624924601105f48a -Author: Behdad Esfahbod -Date: Sat Jul 25 19:09:01 2009 -0400 - - Revert "XX" - - This reverts commit c939f6aff405ca7b10b1f1538f46148bff719fcb. - - src/Makefile.am | 2 - - src/hb-buffer.c | 9 --- - src/hb-buffer.h | 14 ----- - src/hb-common.h | 3 - - src/hb-ot-layout-gdef-private.h | 32 +++++------ - src/hb-ot-layout-gpos-private.h | 108 ++++++++++++++++++------------------ - src/hb-ot-layout-gsub-private.h | 46 +++++++-------- - src/hb-ot-layout-gsubgpos-private.h | 68 +++++++++++------------ - src/hb-ot-layout-private.h | 28 ++++------ - src/hb-ot-layout.cc | 30 ++++++++++ - src/hb-ot-layout.h | 5 ++ - src/hb-private.h | 16 ------ - 12 files changed, 174 insertions(+), 187 deletions(-) - -commit 55520d2af172f5f6617b909e80cbd7d898f2bc15 -Author: Behdad Esfahbod -Date: Wed Jun 10 23:26:51 2009 -0400 - - XX - - src/Makefile.am | 2 + - src/hb-buffer.c | 9 +++ - src/hb-buffer.h | 14 +++++ - src/hb-common.h | 3 + - src/hb-ot-layout-gdef-private.h | 32 +++++------ - src/hb-ot-layout-gpos-private.h | 108 ++++++++++++++++++------------------ - src/hb-ot-layout-gsub-private.h | 46 +++++++-------- - src/hb-ot-layout-gsubgpos-private.h | 68 +++++++++++------------ - src/hb-ot-layout-private.h | 28 ++++++---- - src/hb-ot-layout.cc | 30 ---------- - src/hb-ot-layout.h | 5 -- - src/hb-private.h | 16 ++++++ - 12 files changed, 187 insertions(+), 174 deletions(-) - -commit f53d434b9151c4ec43c148734b49bb165e522cc9 -Author: Behdad Esfahbod -Date: Sat May 30 22:17:32 2009 -0400 - - [GPOS] Advance buffer cursor in SinglePos lookups. Ouch! - - src/hb-ot-layout-gpos-private.h | 4 ++++ - 1 file changed, 4 insertions(+) - -commit e35bbd570a5d914f86f1ea83941ee4328f268059 -Author: Behdad Esfahbod -Date: Sat May 30 12:02:46 2009 -0400 - - [HB] Improve buffer. Don't dup out buffer unless out is longer than in - - That is, we work in-place even for ligatures now. - - src/hb-buffer.c | 156 ++++++++++++++++++++++++-------------------------------- - src/hb-buffer.h | 7 ++- - 2 files changed, 71 insertions(+), 92 deletions(-) - -commit 6734ed4b6b2ce382917bf644aaf1acfa993f00ad -Author: Behdad Esfahbod -Date: Wed May 27 18:16:55 2009 -0400 - - [GPOS] Fix property checking - - src/hb-ot-layout-gpos-private.h | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit cc83ae12484108586fba6586bd9008971338b322 -Author: Behdad Esfahbod -Date: Wed May 27 00:17:37 2009 -0400 - - [GPOS] Add vertical TODO - - src/hb-ot-layout-gpos-private.h | 2 ++ - 1 file changed, 2 insertions(+) - -commit b69d38e7eaea544ba6c1876cdc6ddac61a698dd3 -Author: Behdad Esfahbod -Date: Tue May 26 22:29:02 2009 -0400 - - [HB] Remove useless include - - src/hb-ot-layout-private.h | 3 --- - 1 file changed, 3 deletions(-) - -commit 6c8108cb583292a679b05844ab613b7f4587adc6 -Author: Behdad Esfahbod -Date: Tue May 26 22:26:08 2009 -0400 - - [GPOS] Remove unused variables - - src/hb-ot-layout-gpos-private.h | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit 09c292e3b688a67fbae67b645d1e6ffcf8d8eb6e -Author: Behdad Esfahbod -Date: Tue May 26 19:48:16 2009 -0400 - - [HB] Fix glyph properties - - src/hb-ot-layout-common-private.h | 6 +++--- - src/hb-ot-layout-open-private.h | 2 +- - src/hb-ot-layout.cc | 2 +- - 3 files changed, 5 insertions(+), 5 deletions(-) - -commit 64e33f008ff9cc807fdfdc4553ad3fe01bb0615f -Author: Behdad Esfahbod -Date: Tue May 26 18:57:56 2009 -0400 - - [GPOS] Fix PairPos signedness - - src/hb-ot-layout-gpos-private.h | 11 ++++------- - 1 file changed, 4 insertions(+), 7 deletions(-) - -commit 80ea5bd10e72561a7627a5196621a6d7eccd91b7 -Author: Behdad Esfahbod -Date: Tue May 26 17:58:37 2009 -0400 - - [GPOS] Fix mark matching - - src/hb-ot-layout-gpos-private.h | 44 +++++++++++++++++++---------------------- - 1 file changed, 20 insertions(+), 24 deletions(-) - -commit 4189b92aaa41e4a1756c561cc6e08b0ed024afda -Author: Behdad Esfahbod -Date: Tue May 26 17:31:56 2009 -0400 - - [HB] When looking back/forward, skip marks only - - src/TODO | 1 - - src/hb-ot-layout-gpos-private.h | 13 ++----- - src/hb-ot-layout-gsub-private.h | 38 +++++++++----------- - src/hb-ot-layout-gsubgpos-private.h | 14 ++++---- - src/hb-ot-layout-private.h | 6 ++++ - src/hb-ot-layout.cc | 69 ++++++++++++++++++++++++------------- - 6 files changed, 76 insertions(+), 65 deletions(-) - -commit 1246e41021ab1d782b4c97e5d81c4917a57e3ed4 -Author: Behdad Esfahbod -Date: Tue May 26 15:58:34 2009 -0400 - - [GDEF] Support MarkFilteringSets - - src/hb-ot-layout.cc | 59 +++++++++++++++++++---------------------------------- - 1 file changed, 21 insertions(+), 38 deletions(-) - -commit 5130c35e93528bcf3095fee5baf3847589167a58 -Author: Behdad Esfahbod -Date: Tue May 26 15:45:41 2009 -0400 - - [HB] Simplify MarkAttachmentType handling - - src/hb-ot-layout-gpos-private.h | 6 +++--- - src/hb-ot-layout-gsub-private.h | 6 ++---- - src/hb-ot-layout.cc | 18 ++++++++---------- - 3 files changed, 13 insertions(+), 17 deletions(-) - -commit e4b92b85a7750bd4271ad607b3c41f0184e89feb -Author: Behdad Esfahbod -Date: Tue May 26 15:38:53 2009 -0400 - - [HB] Support parsing MarkFilteringSets introduced in OpenType 1.6 - - src/hb-ot-layout-gdef-private.h | 55 +++++++++++++++++++++++++++++++++++------ - src/hb-ot-layout-gpos-private.h | 1 + - src/hb-ot-layout.cc | 6 ++--- - 3 files changed, 51 insertions(+), 11 deletions(-) - -commit 515ce4ceb2ab0151d8dfc03ff0bfc7d110dd93b5 -Author: Behdad Esfahbod -Date: Tue May 26 13:08:00 2009 -0400 - - [HB] More de-C++'ization - - src/hb-ot-layout-gsubgpos-private.h | 24 ++++++++++++------------ - 1 file changed, 12 insertions(+), 12 deletions(-) - -commit d7df42d7ee586219475878d160f85ae5a188bd59 -Author: Behdad Esfahbod -Date: Tue May 26 13:04:59 2009 -0400 - - [HB] Start MarkFilteringSet support - - src/hb-ot-layout-common-private.h | 24 +++++++++++++++++++----- - 1 file changed, 19 insertions(+), 5 deletions(-) - -commit 62964afcecd96038cfaa8bc2bc931f43ee83be7e -Author: Behdad Esfahbod -Date: Tue May 26 12:40:10 2009 -0400 - - [HB] Implement get_lig_carets() - - src/hb-ot-layout-gdef-private.h | 57 ++++++++++++++++++++++++++++++++--------- - src/hb-ot-layout.cc | 17 +++++++++--- - src/hb-ot-layout.h | 8 +++++- - src/main.cc | 9 +------ - 4 files changed, 66 insertions(+), 25 deletions(-) - -commit 79420ad9caf2d5fc94c3693e8292edfa27060b2d -Author: Behdad Esfahbod -Date: Tue May 26 12:24:16 2009 -0400 - - [HB] Add get_attach_points() - - src/Makefile.am | 2 +- - src/hb-ot-layout-gdef-private.h | 35 +++++++++++++++++++++++++---------- - src/hb-ot-layout-gpos-private.h | 28 +++++++--------------------- - src/hb-ot-layout-gsub-private.h | 28 +++++++--------------------- - src/hb-ot-layout-open-private.h | 12 +++--------- - src/hb-ot-layout.cc | 9 +++++++++ - src/hb-ot-layout.h | 6 ++++++ - src/main.cc | 8 ++++---- - 8 files changed, 62 insertions(+), 66 deletions(-) - -commit 855720ca47bf5a7a44eb5b84dce9f7da6e7156bd -Author: Behdad Esfahbod -Date: Tue May 26 12:00:28 2009 -0400 - - [HB] Remove more macros - - src/hb-ot-layout-gdef-private.h | 18 +++++++++--------- - 1 file changed, 9 insertions(+), 9 deletions(-) - -commit c968fc2dc87cf85b53f60a40db59d5ee7b992edf -Author: Behdad Esfahbod -Date: Mon May 25 04:04:24 2009 -0400 - - [HB] More buffer cleanup - - src/hb-buffer-private.h | 39 +++-------- - src/hb-buffer.c | 136 ++++++++++++++++++------------------ - src/hb-buffer.h | 22 +++--- - src/hb-ot-layout-gpos-private.h | 29 ++++---- - src/hb-ot-layout-gsub-private.h | 10 +-- - src/hb-ot-layout-gsubgpos-private.h | 8 +-- - src/hb-ot-layout-private.h | 13 ++-- - src/hb-ot-layout.cc | 16 ++--- - src/hb-private.h | 29 -------- - 9 files changed, 125 insertions(+), 177 deletions(-) - -commit 88a5f5a49b6809d88560791f9cf6b8f78f22a4ad -Author: Behdad Esfahbod -Date: Mon May 25 03:39:11 2009 -0400 - - [HB] Cleanup buffer - - src/hb-buffer-private.h | 2 +- - src/hb-buffer.c | 26 ++++++++------ - src/hb-ot-layout-gsub-private.h | 26 +++++--------- - src/hb-ot-layout-gsubgpos-private.h | 2 +- - src/hb-ot-layout.cc | 71 ------------------------------------- - 5 files changed, 25 insertions(+), 102 deletions(-) - -commit 347f0b8621d3adfec157e5634ff3defc818ea37f -Author: Behdad Esfahbod -Date: Mon May 25 03:30:31 2009 -0400 - - [HB] Clean more - - src/hb-ot-layout-private.h | 10 ++++------ - src/hb-ot-layout.cc | 8 ++++---- - 2 files changed, 8 insertions(+), 10 deletions(-) - -commit d9d2a07f4a8696666a12f5a206aa9cfb56dc2b35 -Author: Behdad Esfahbod -Date: Mon May 25 03:24:19 2009 -0400 - - [HB] Remove one XXX, add another - - src/hb-buffer.h | 2 ++ - src/hb-ot-layout-private.h | 3 +-- - 2 files changed, 3 insertions(+), 2 deletions(-) - -commit 6c78683c042250a7b5a6fc6ebae4717b03fadf9e -Author: Behdad Esfahbod -Date: Mon May 25 03:22:19 2009 -0400 - - [HB] Update copyright years - - src/hb-buffer-private.h | 2 +- - src/hb-buffer.h | 2 +- - src/hb-common.h | 2 +- - src/hb-ot-layout-private.h | 2 +- - src/hb-ot-layout.h | 2 +- - src/hb-private.h | 2 +- - 6 files changed, 6 insertions(+), 6 deletions(-) - -commit 4497af0069a94c69fc1518b1db2c1282721b732a -Author: Behdad Esfahbod -Date: Mon May 25 03:20:18 2009 -0400 - - [HB] Would have helped if I actually knew C++ before using it... - - src/hb-ot-layout-gsubgpos-private.h | 4 ++-- - src/hb-ot-layout-open-private.h | 24 ++++++++++++------------ - 2 files changed, 14 insertions(+), 14 deletions(-) - -commit cc6c644ff2af5f6669b6ec100ff13e904872b21c -Author: Behdad Esfahbod -Date: Mon May 25 03:10:06 2009 -0400 - - [HB] More cleanup - - src/hb-ot-layout-common-private.h | 4 ++-- - src/hb-ot-layout-open-private.h | 9 +++++---- - 2 files changed, 7 insertions(+), 6 deletions(-) - -commit 20cc86b3592db33731de671f008d7d222776be49 -Author: Behdad Esfahbod -Date: Mon May 25 02:41:49 2009 -0400 - - [HB] Simplify Tag - - src/hb-ot-layout-open-private.h | 46 ++++++++++++++++------------------------- - 1 file changed, 18 insertions(+), 28 deletions(-) - -commit 3ec0092c5e2d48e8c4fc1618d3bee427adddb1e7 -Author: Behdad Esfahbod -Date: Mon May 25 02:34:25 2009 -0400 - - [HB] Simplify more - - src/hb-ot-layout-open-private.h | 31 ++++++++++--------------------- - 1 file changed, 10 insertions(+), 21 deletions(-) - -commit 6ad8d5f3c7028147b371137ae4bca6aae66b3489 -Author: Behdad Esfahbod -Date: Mon May 25 02:27:29 2009 -0400 - - [HB] Simplify some basic things - - src/hb-ot-layout-open-private.h | 90 +++++++++++++++++++++++++++-------------- - src/main.cc | 8 ++-- - 2 files changed, 64 insertions(+), 34 deletions(-) - -commit f96ffd43bce0ac6d9c897933c9be0e51d543e570 -Author: Behdad Esfahbod -Date: Sun May 24 15:01:16 2009 -0400 - - [HB] simplify macros - - src/hb-buffer-private.h | 4 ++-- - src/hb-buffer.h | 4 ++-- - src/hb-common.h | 8 ++++---- - src/hb-ot-layout-private.h | 4 ++-- - src/hb-ot-layout.h | 4 ++-- - 5 files changed, 12 insertions(+), 12 deletions(-) - -commit 8e7b30782a12f3997b9a5a18e6b9d01f6bff8b46 -Author: Behdad Esfahbod -Date: Sun May 24 14:27:24 2009 -0400 - - [HB] Update text files - - src/COPYING | 7 ------- - src/README | 13 ++----------- - 2 files changed, 2 insertions(+), 18 deletions(-) - -commit fa7d47249496fe00ea1ab6943b385c8dd80e5ce6 -Author: Behdad Esfahbod -Date: Sun May 24 14:24:35 2009 -0400 - - [HB] Remove stale makefile.msc too - - src/makefile.msc | 19 ------------------- - 1 file changed, 19 deletions(-) - -commit da2c52abcd75d46929b34cad55c4fb2c8892bc08 -Author: Behdad Esfahbod -Date: Sun May 24 14:22:22 2009 -0400 - - [HB] Remove old code! - - Goodbye 16 thousand lines of ten-year old code! - - src/harfbuzz-dump-main.c | 97 - - src/harfbuzz-dump.c | 768 ------ - src/harfbuzz-dump.h | 41 - - src/harfbuzz-gdef-private.h | 124 - - src/harfbuzz-gdef.c | 1160 -------- - src/harfbuzz-gdef.h | 135 - - src/harfbuzz-global.h | 84 - - src/harfbuzz-gpos-private.h | 712 ----- - src/harfbuzz-gpos.c | 6071 ----------------------------------------- - src/harfbuzz-gpos.h | 174 -- - src/harfbuzz-gsub-private.h | 476 ---- - src/harfbuzz-gsub.c | 4304 ----------------------------- - src/harfbuzz-gsub.h | 140 - - src/harfbuzz-impl.c | 84 - - src/harfbuzz-impl.h | 126 - - src/harfbuzz-open-private.h | 102 - - src/harfbuzz-open.c | 1405 ---------- - src/harfbuzz-open.h | 282 -- - src/harfbuzz-stream-private.h | 83 - - src/harfbuzz-stream.c | 257 -- - src/harfbuzz.c | 31 - - src/harfbuzz.h | 35 - - 22 files changed, 16691 deletions(-) - -commit e5372f1621602dcee4e14a4b22dc182c21502a50 -Author: Behdad Esfahbod -Date: Sun May 24 14:21:27 2009 -0400 - - [HB] Remove stale TODO mark - - src/hb-ot-layout-open-private.h | 1 - - 1 file changed, 1 deletion(-) - -commit 96908b898476ca5d7da5f386b15be76f9e83d76e -Author: Behdad Esfahbod -Date: Sun May 24 12:30:40 2009 -0400 - - [HB] Add FixedVersion cast to int - - src/hb-ot-layout-open-private.h | 2 ++ - 1 file changed, 2 insertions(+) - -commit 957740dd253475020a94a62ec5dfcd03e3358176 -Author: Behdad Esfahbod -Date: Sun May 24 12:29:55 2009 -0400 - - [HB] Simplify tag - - src/hb-ot-layout-open-private.h | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -commit 87fcdcbe3644da10154688765db2d62eb9ac079a -Author: Behdad Esfahbod -Date: Sun May 24 01:03:24 2009 -0400 - - [HB] Remove unused data types - - src/hb-ot-layout-gdef-private.h | 2 +- - src/hb-ot-layout-gsubgpos-private.h | 2 +- - src/hb-ot-layout-open-private.h | 54 ++++--------------------------------- - 3 files changed, 7 insertions(+), 51 deletions(-) - -commit 5876bf1b73fcb56cc41b4d348248a4817f9688cb -Author: Behdad Esfahbod -Date: Sun May 24 00:53:28 2009 -0400 - - [HB] Simplify version check in GSUB/GPOS - - src/hb-ot-layout-gpos-private.h | 5 ++++- - src/hb-ot-layout-gsub-private.h | 5 ++++- - 2 files changed, 8 insertions(+), 2 deletions(-) - -commit 212aba6189d7aaac0bab169b77ae6bdab16800a5 -Author: Behdad Esfahbod -Date: Sun May 24 00:50:27 2009 -0400 - - [HB] Check for GDEF/GSUB/GPOS versions - - src/hb-ot-layout-gdef-private.h | 3 +-- - src/hb-ot-layout-gpos-private.h | 3 +-- - src/hb-ot-layout-gsub-private.h | 3 +-- - src/hb-ot-layout-gsubgpos-private.h | 5 ++--- - src/hb-ot-layout-open-private.h | 11 ++++++++++- - 5 files changed, 15 insertions(+), 10 deletions(-) - -commit a21b5062cc32c04eeee3c4b20d26c7e2b34133e9 -Author: Behdad Esfahbod -Date: Sat May 23 22:39:42 2009 -0400 - - [HB] Minor - - src/hb-ot-layout-gdef-private.h | 6 +++--- - src/hb-ot-layout-open-private.h | 4 ++-- - 2 files changed, 5 insertions(+), 5 deletions(-) - -commit a080b1cc2f66d6e109d431a1e09519d7cf53bb9a -Author: Behdad Esfahbod -Date: Sat May 23 18:50:44 2009 -0400 - - [HB] Add TODO items - - src/TODO | 6 ++++++ - 1 file changed, 6 insertions(+) - -commit e4efdd80a8fa4edbcdec9cd84f35f5f4521943c2 -Author: Behdad Esfahbod -Date: Fri May 22 18:54:24 2009 -0400 - - [GDEF] Add some get_carret_value() code - - src/hb-ot-layout-gdef-private.h | 36 ++++++++++++++++++------------------ - 1 file changed, 18 insertions(+), 18 deletions(-) - -commit 9b006bc0322723d065271e4b0ea4f137f81101e1 -Author: Behdad Esfahbod -Date: Fri May 22 18:29:45 2009 -0400 - - [GPOS] MarkLigPosFormat1 - - GPOS is complete now! Yay! - - src/hb-ot-layout-gpos-private.h | 128 +++++++++++++++++++++++++++++----------- - 1 file changed, 92 insertions(+), 36 deletions(-) - -commit 923923feb248250626c637c11a886804011197b0 -Author: Behdad Esfahbod -Date: Fri May 22 17:58:09 2009 -0400 - - [HB] Remove apply_subtables() again - - src/hb-ot-layout-gpos-private.h | 31 +++++++++++-------------------- - src/hb-ot-layout-gsub-private.h | 33 ++++++++++++--------------------- - 2 files changed, 23 insertions(+), 41 deletions(-) - -commit d468f9af5b9fdc2713b0b86f28129e4190ee5053 -Author: Behdad Esfahbod -Date: Thu May 21 22:31:33 2009 -0400 - - [HB] Share Extension lookup code between GSUB and GPOS - - src/hb-ot-layout-gpos-private.h | 64 +++++----------------------- - src/hb-ot-layout-gsub-private.h | 83 +++++++------------------------------ - src/hb-ot-layout-gsubgpos-private.h | 52 +++++++++++++++++++++++ - 3 files changed, 77 insertions(+), 122 deletions(-) - -commit 498f1909e0f7a32484b2058622c4a018cbfc1334 -Author: Behdad Esfahbod -Date: Thu May 21 15:51:04 2009 -0400 - - [GPOS] Remove printf. MarkMarkPos1 is working - - The "bug" was in the font. - - src/hb-ot-layout-gpos-private.h | 1 - - 1 file changed, 1 deletion(-) - -commit c7d457aa3ae7138630f52ca7263f663a3ea284c0 -Author: Behdad Esfahbod -Date: Thu May 21 12:46:29 2009 -0400 - - [HB] Ouch. Add files. - - src/hb-common.h | 13 +++++----- - src/hb-private.h | 74 ++++++++++++++++++++++++++++++++++++++++++++++++++++++-- - 2 files changed, 78 insertions(+), 9 deletions(-) - -commit fe550f4dd815285e9de8c3cbff810b0a1c7b377f -Author: Behdad Esfahbod -Date: Thu May 21 08:27:07 2009 -0400 - - [GPOS] MarkMarkPosFormat1 - - Still not quite working. - - src/TODO | 4 +- - src/hb-ot-layout-gpos-private.h | 105 +++++++++++++++++++++++++++++----------- - 2 files changed, 79 insertions(+), 30 deletions(-) - -commit 357ccde36bba01a405d59b7da061fc5048cdc7b4 -Author: Behdad Esfahbod -Date: Thu May 21 06:32:01 2009 -0400 - - [GPOS] MarkBasePosFormat1 - - src/TODO | 1 + - src/hb-ot-layout-gpos-private.h | 62 +++++++++++++++++++++++++++++++++++++---- - 2 files changed, 58 insertions(+), 5 deletions(-) - -commit 377bfc5860ae018f54e4a2dd737b4b000383ab54 -Author: Behdad Esfahbod -Date: Thu May 21 04:58:24 2009 -0400 - - [GPOS] Implement MarkArray interface - - src/hb-ot-layout-gpos-private.h | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit c18ec2b1d7b8c7abe6ebf4b53c9ec75d5c9bb255 -Author: Behdad Esfahbod -Date: Thu May 21 04:54:01 2009 -0400 - - [GPOS] Implement Device support in AnchorFormat3 - - src/hb-ot-layout-gpos-private.h | 11 ++++++++--- - 1 file changed, 8 insertions(+), 3 deletions(-) - -commit fca6a0d158b847181dcf67a13f34499177df899b -Author: Behdad Esfahbod -Date: Thu May 21 04:49:04 2009 -0400 - - [GPOS] Remove apply_value() return value - - src/hb-ot-layout-gpos-private.h | 75 +++++++++++++++++++---------------------- - 1 file changed, 34 insertions(+), 41 deletions(-) - -commit fb3b5ccfefc4c38c9184d432703e81f73e1f5bc7 -Author: Behdad Esfahbod -Date: Thu May 21 04:47:05 2009 -0400 - - [GPOS] Start MarkBasePosFormat1 - - src/TODO | 1 + - src/hb-ot-layout-gpos-private.h | 38 +++++++++++++++++--------------------- - 2 files changed, 18 insertions(+), 21 deletions(-) - -commit ee8776d9e009a7fb8e1f3c1f9cf3ad42d9746a16 -Author: Behdad Esfahbod -Date: Wed May 20 15:46:12 2009 -0400 - - [HB] Add TODO item - - src/hb-ot-layout-gpos-private.h | 1 + - src/hb-ot-layout-gsub-private.h | 1 + - 2 files changed, 2 insertions(+) - -commit c6456ca5cfc35095378dcf29f8edc33ece9c3ea1 -Author: Behdad Esfahbod -Date: Wed May 20 06:15:23 2009 -0400 - - [HB] Add TODO item - - src/TODO | 1 + - 1 file changed, 1 insertion(+) - -commit 3015c4175179a1816aad2a4950da9a3b8baf2578 -Author: Behdad Esfahbod -Date: Wed May 20 06:01:16 2009 -0400 - - [HB] Remove last dependence on the old code base! - - src/hb-buffer-private.h | 88 ++++++++++++++++++++--------------------- - src/hb-buffer.c | 47 +++++++++++----------- - src/hb-ot-layout-gpos-private.h | 11 ++---- - src/hb-ot-layout-gsub-private.h | 12 +++--- - src/hb-ot-layout.cc | 16 ++++---- - 5 files changed, 85 insertions(+), 89 deletions(-) - -commit 5c0adce1ccc739415c4b26ff13ffd2d77ea4bc6c -Author: Behdad Esfahbod -Date: Wed May 20 05:42:12 2009 -0400 - - [HB] Rename harfbuzz-buffer to hb-buffer - - src/Makefile.am | 5 +++-- - src/{harfbuzz-buffer-private.h => hb-buffer-private.h} | 8 ++++---- - src/{harfbuzz-buffer.c => hb-buffer.c} | 6 ++---- - src/{harfbuzz-buffer.h => hb-buffer.h} | 8 ++++---- - src/hb-ot-layout-gsubgpos-private.h | 2 +- - src/hb-ot-layout-private.h | 2 +- - src/hb-ot-layout.cc | 5 +++-- - src/hb-ot-layout.h | 2 +- - 8 files changed, 19 insertions(+), 19 deletions(-) - -commit b857b49c82782d29d6d189f1a9f4a84d39cd84ea -Author: Behdad Esfahbod -Date: Wed May 20 05:35:14 2009 -0400 - - [HB] Remove all references to the old code! - - src/Makefile.am | 76 +++++++--------------- - src/harfbuzz-buffer.c | 154 +++++++++++++++++++-------------------------- - src/harfbuzz-buffer.h | 80 +++++++++++------------ - src/hb-ot-layout-private.h | 6 +- - src/hb-ot-layout.cc | 17 ++--- - src/hb-ot-layout.h | 1 + - 6 files changed, 137 insertions(+), 197 deletions(-) - -commit e1593a6e620ee6a8184487185d1c95e0d1820ba5 -Author: Behdad Esfahbod -Date: Wed May 20 04:51:30 2009 -0400 - - [GPOS] Finally it's working, up to Cursive - - Wow, IranNastaliq renders perfectly again! - - src/hb-ot-layout.cc | 24 ++++++++++++++++++++++++ - src/hb-ot-layout.h | 12 ++++++++++++ - 2 files changed, 36 insertions(+) - -commit 0f7e6b2cead0c7d527ef68ededb27e0afd71d819 -Author: Behdad Esfahbod -Date: Wed May 20 04:16:35 2009 -0400 - - [GPOS] Fix more brokenness - - src/Makefile.am | 2 +- - src/hb-ot-layout-gpos-private.h | 37 ++++++++++++++++++++----------------- - src/hb-ot-layout.cc | 7 +++++++ - src/hb-ot-layout.h | 5 +++++ - 4 files changed, 33 insertions(+), 18 deletions(-) - -commit ff05d257dd43221b7c8ebead188e78495daa8eda -Author: Behdad Esfahbod -Date: Wed May 20 03:53:00 2009 -0400 - - [HB] Move lookup types enum into subtable class - - src/hb-ot-layout-gpos-private.h | 66 ++++++++++++++++++++--------------------- - src/hb-ot-layout-gsub-private.h | 44 +++++++++++++-------------- - 2 files changed, 55 insertions(+), 55 deletions(-) - -commit 263bbef7670b59aa88ef9ba910579dfa51226524 -Author: Behdad Esfahbod -Date: Wed May 20 00:00:09 2009 -0400 - - [GDEF] Simplify Device access - - src/hb-ot-layout-gdef-private.h | 12 +++--------- - 1 file changed, 3 insertions(+), 9 deletions(-) - -commit 60d77cf05fddc5304b4b1fc19cdedba15cbee1e9 -Author: Behdad Esfahbod -Date: Tue May 19 23:58:54 2009 -0400 - - [HB] Indentation - - src/hb-ot-layout-common-private.h | 170 +++++++++++++++++------------------- - src/hb-ot-layout-gdef-private.h | 65 +++++++------- - src/hb-ot-layout-gsubgpos-private.h | 150 +++++++++++++++++-------------- - src/hb-ot-layout-open-private.h | 159 ++++++++++++++++----------------- - src/hb-ot-layout-private.h | 9 +- - 5 files changed, 288 insertions(+), 265 deletions(-) - -commit 90de3dfff9e82dae20b7517642511aebaf736b74 -Author: Behdad Esfahbod -Date: Tue May 19 23:43:04 2009 -0400 - - [HB] Remove unused methods - - src/hb-ot-layout-common-private.h | 6 ------ - 1 file changed, 6 deletions(-) - -commit 4c44d830d79431fcb143df2b5a29cdc8e8fccef3 -Author: Behdad Esfahbod -Date: Tue May 19 23:42:30 2009 -0400 - - [HB] Indentation - - src/hb-ot-layout-gpos-private.h | 253 +++++++++++++++++++++----------------- - src/hb-ot-layout-gsub-private.h | 262 ++++++++++++++++++++++------------------ - 2 files changed, 284 insertions(+), 231 deletions(-) - -commit d18fd8e3f7185f531fa4c4988d3f5d5c5282b8eb -Author: Behdad Esfahbod -Date: Tue May 19 23:25:41 2009 -0400 - - [GPOS] CursivePosFormat1 - - src/hb-ot-layout-gpos-private.h | 174 ++++++++++++++++++++++++++++++++++++++-- - src/hb-ot-layout-private.h | 2 +- - 2 files changed, 169 insertions(+), 7 deletions(-) - -commit 70632add333e4ab38f8f485bb87b25116128cf92 -Author: Behdad Esfahbod -Date: Tue May 19 22:30:09 2009 -0400 - - [GSUB] PairPosFormat2 - - src/hb-ot-layout-gpos-private.h | 43 ++++++++++++++++++++++++++++++++++++----- - 1 file changed, 38 insertions(+), 5 deletions(-) - -commit b24ecbadf44d56fd3286d1d3ff6928151ccec9bd -Author: Behdad Esfahbod -Date: Tue May 19 22:16:04 2009 -0400 - - [GPOS] PairPosFormat1 - - src/hb-ot-layout-gpos-private.h | 91 +++++++++++++++++++++++++++++++++-------- - 1 file changed, 73 insertions(+), 18 deletions(-) - -commit 056c7ec1aea1eca60a3b20b583b8a8072be9d758 -Author: Behdad Esfahbod -Date: Mon May 18 19:47:52 2009 -0400 - - [GPOS] Start filling apply() functions in - - src/harfbuzz-buffer-private.h | 1 + - src/harfbuzz-buffer.c | 3 - - src/hb-ot-layout-common-private.h | 35 ++++++----- - src/hb-ot-layout-gpos-private.h | 127 ++++++++++++++++++++++++++++---------- - 4 files changed, 116 insertions(+), 50 deletions(-) - -commit 4fa77d3c4305a76b956de8c1a9b83a961d035a80 -Author: Behdad Esfahbod -Date: Mon May 18 18:44:54 2009 -0400 - - [HB] Use enums - - src/hb-ot-layout-common-private.h | 14 ++++++++------ - src/hb-ot-layout-gdef-private.h | 22 +++++++++++++--------- - 2 files changed, 21 insertions(+), 15 deletions(-) - -commit 6b54c5d0446b514fbb6521e7e9e614d153435f0e -Author: Behdad Esfahbod -Date: Mon May 18 18:30:25 2009 -0400 - - [HB] More reference cast simplification - - src/hb-ot-layout-gsub-private.h | 8 ++++---- - src/hb-ot-layout-gsubgpos-private.h | 28 ++++++++++++++-------------- - src/hb-ot-layout-open-private.h | 2 +- - 3 files changed, 19 insertions(+), 19 deletions(-) - -commit eb0dfc830e09405492f494c85380e133ac5d0ea3 -Author: Behdad Esfahbod -Date: Mon May 18 18:22:44 2009 -0400 - - [HB] Rename LOOKUP_ARGS to APPLY_ARGS - - src/hb-ot-layout-gpos-private.h | 88 ++++++++++++++++++------------------ - src/hb-ot-layout-gsub-private.h | 84 +++++++++++++++++----------------- - src/hb-ot-layout-gsubgpos-private.h | 90 ++++++++++++++++++------------------- - 3 files changed, 131 insertions(+), 131 deletions(-) - -commit 2a8e6accdf798a78ff180dcb593140592d62b872 -Author: Behdad Esfahbod -Date: Mon May 18 18:21:44 2009 -0400 - - [HB] Internally rename position() and substitute() to apply() - - src/hb-ot-layout-gpos-private.h | 110 ++++++++++++++++++++-------------------- - src/hb-ot-layout-gsub-private.h | 104 ++++++++++++++++++------------------- - 2 files changed, 107 insertions(+), 107 deletions(-) - -commit f6c8a6eacf27fd1c509d07c85985f0367c5e475f -Author: Behdad Esfahbod -Date: Mon May 18 18:01:19 2009 -0400 - - [HB] Simplify casts - - src/hb-ot-layout-gdef-private.h | 2 +- - src/hb-ot-layout-gpos-private.h | 6 +++--- - src/hb-ot-layout-gsub-private.h | 6 +++--- - src/hb-ot-layout-open-private.h | 10 +++++----- - 4 files changed, 12 insertions(+), 12 deletions(-) - -commit 9c42f05a5ccbb48a9367b80ecdf3679e88088fcf -Author: Behdad Esfahbod -Date: Mon May 18 17:43:49 2009 -0400 - - Switch Pango to new, defunt, GPOS - - src/hb-ot-layout-gpos-private.h | 22 +++++++++++++++------- - src/hb-ot-layout.cc | 13 +++++++++++++ - src/hb-ot-layout.h | 5 +++++ - 3 files changed, 33 insertions(+), 7 deletions(-) - -commit 5e5eb0573f7ea2ce2cf037fef0df70a4351e82c0 -Author: Behdad Esfahbod -Date: Mon May 18 17:09:33 2009 -0400 - - [HB] Start GPOS! - - src/hb-ot-layout-gpos-private.h | 915 ++++++++++++++++++++++++++++++++++++++++ - src/hb-ot-layout-gsub-private.h | 2 - - src/hb-ot-layout-private.h | 15 +- - src/hb-ot-layout.cc | 5 +- - src/hb-ot-layout.h | 8 +- - 5 files changed, 936 insertions(+), 9 deletions(-) - -commit 64e67f7599deeec98b104f8b70d0d321cf96799d -Author: Behdad Esfahbod -Date: Mon May 18 15:32:40 2009 -0400 - - [GSUB] Minor - - src/hb-ot-layout-gsub-private.h | 16 ++++++---------- - 1 file changed, 6 insertions(+), 10 deletions(-) - -commit d79cae0b4eef8c2694ada791bb8e427c1202875e -Author: Behdad Esfahbod -Date: Mon May 18 13:50:15 2009 -0400 - - [HB] Minor - - src/hb-ot-layout-gsub-private.h | 22 +++++++++++----------- - 1 file changed, 11 insertions(+), 11 deletions(-) - -commit 8533bb985e6af2b656d7c45620d8f11f36330b85 -Author: Behdad Esfahbod -Date: Mon May 18 06:00:12 2009 -0400 - - [GSUB] Protect against mismatching Extension subtable types - - src/hb-ot-layout-gsub-private.h | 9 ++++++--- - 1 file changed, 6 insertions(+), 3 deletions(-) - -commit 969afd706e9b52adc79f6210c0088b2c6bbae9bc -Author: Behdad Esfahbod -Date: Mon May 18 05:47:47 2009 -0400 - - [GSUB] Implement ReverseChainSingleSubst - - GSUB is done! - - src/hb-ot-layout-gsub-private.h | 55 +++++++++++++++++++++++++++---------- - src/hb-ot-layout-gsubgpos-private.h | 43 +++++++++-------------------- - 2 files changed, 54 insertions(+), 44 deletions(-) - -commit 4acaffd786a11b5bd7d41b39fc65625fd8cd5077 -Author: Behdad Esfahbod -Date: Mon May 18 05:29:29 2009 -0400 - - [HB] Don't use G_LIKELY! - - src/hb-ot-layout-gsub-private.h | 12 ++++++------ - src/hb-ot-layout-gsubgpos-private.h | 12 ++++++------ - src/hb-ot-layout-open-private.h | 4 ++-- - src/hb-ot-layout.cc | 6 +++--- - 4 files changed, 17 insertions(+), 17 deletions(-) - -commit 3dcb12f171ebbf44461e6ce6439d286c9520dd88 -Author: Behdad Esfahbod -Date: Mon May 18 05:22:32 2009 -0400 - - [GSUB] Oops, fix Extension check - - src/hb-ot-layout-gsub-private.h | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit 2e8fb6c38dbc01cb77b384c0ae0212514dfbb588 -Author: Behdad Esfahbod -Date: Mon May 18 04:37:37 2009 -0400 - - [HB] Tweak some constants and fix Coverage - - src/hb-ot-layout-common-private.h | 11 ++++++----- - src/hb-ot-layout-gsubgpos-private.h | 2 ++ - src/hb-ot-layout-open-private.h | 6 +++--- - 3 files changed, 11 insertions(+), 8 deletions(-) - -commit d6aae5f5cad54fc5dac8b0ff10a3921ebda533d4 -Author: Behdad Esfahbod -Date: Mon May 18 04:25:22 2009 -0400 - - [HB] Cleanup TODOs - - src/hb-ot-layout-gsub-private.h | 12 ++++++------ - src/hb-ot-layout-open-private.h | 2 +- - src/hb-ot-layout.cc | 4 ++-- - 3 files changed, 9 insertions(+), 9 deletions(-) - -commit 122f21fb9a3a0b914575929a3be11884f1ae00c0 -Author: Behdad Esfahbod -Date: Mon May 18 04:21:53 2009 -0400 - - [GSUB] Fix context_length handling in Ligature too - - src/hb-ot-layout-gsub-private.h | 9 ++++----- - src/hb-ot-layout-gsubgpos-private.h | 5 +++-- - 2 files changed, 7 insertions(+), 7 deletions(-) - -commit 47958dea214fd55725bf04aa13d233870255fb03 -Author: Behdad Esfahbod -Date: Mon May 18 04:17:47 2009 -0400 - - [HB] Minor cleanup - - src/hb-ot-layout-gsubgpos-private.h | 10 ++++------ - 1 file changed, 4 insertions(+), 6 deletions(-) - -commit e73a0c2a903112ce9a35b95e14e10ab8ea2dc337 -Author: Behdad Esfahbod -Date: Mon May 18 04:15:25 2009 -0400 - - [HB] Correctly skip glyphs when applying (Chain)Context lookups - - src/hb-ot-layout-gsubgpos-private.h | 14 +++++++++++--- - 1 file changed, 11 insertions(+), 3 deletions(-) - -commit 7cff75babd64cd49dd2b3faaa15193d12c098f42 -Author: Behdad Esfahbod -Date: Mon May 18 04:09:05 2009 -0400 - - [HB] Fix context_length checking - - src/hb-ot-layout-gsubgpos-private.h | 23 +++++++++++++---------- - src/hb-ot-layout-open-private.h | 2 +- - 2 files changed, 14 insertions(+), 11 deletions(-) - -commit d0ba0557007798db2c60ddd0b7a5a0624cd1698d -Author: Behdad Esfahbod -Date: Mon May 18 03:56:39 2009 -0400 - - [HB] ChainContext complete - - IranNastaliq renders perfectly again! - - src/hb-ot-layout-gsubgpos-private.h | 63 +++++++++++++++++++++++++++---------- - 1 file changed, 46 insertions(+), 17 deletions(-) - -commit e072c24e79f0e7c1e078a87c782ab5dd8f21dcda -Author: Behdad Esfahbod -Date: Mon May 18 03:47:31 2009 -0400 - - [HB] Implement backtrack matching - - src/hb-ot-layout-gsubgpos-private.h | 61 +++++++++++++++++++++++++++---------- - 1 file changed, 45 insertions(+), 16 deletions(-) - -commit 02e1e5c63fa4f896053fa3c21e495239e1e9caa2 -Author: Behdad Esfahbod -Date: Mon May 18 02:47:57 2009 -0400 - - [HB] One more step to go, for fully working GSUB and ChainContext - - src/hb-ot-layout-gsubgpos-private.h | 107 ++++++++++++++++++++---------------- - 1 file changed, 61 insertions(+), 46 deletions(-) - -commit f14c2b7acfba75b8a6880f41ceec758f9a56abce -Author: Behdad Esfahbod -Date: Mon May 18 02:36:18 2009 -0400 - - [HB] Further modularize Context matching - - src/hb-ot-layout-gsubgpos-private.h | 92 +++++++++++++++++++++++++------------ - 1 file changed, 63 insertions(+), 29 deletions(-) - -commit 13ed4405c558e445b052360f1ed8ee27ecf48e6e -Author: Behdad Esfahbod -Date: Mon May 18 02:14:37 2009 -0400 - - [HB] A step closer to working ChainContext - - src/hb-ot-layout-gsubgpos-private.h | 36 ++++++++++++++++++++++++++---------- - 1 file changed, 26 insertions(+), 10 deletions(-) - -commit e8cbaaf6d538036ff9b880b018db402e0895ed01 -Author: Behdad Esfahbod -Date: Mon May 18 02:03:58 2009 -0400 - - [HB] Add HeadlessArrayTo<> - - src/hb-ot-layout-gsub-private.h | 10 ++++------ - src/hb-ot-layout-gsubgpos-private.h | 5 ++--- - src/hb-ot-layout-open-private.h | 19 +++++++++++++++++++ - 3 files changed, 25 insertions(+), 9 deletions(-) - -commit dcb6b60254951a2831c03f3196962d229f7e556c -Author: Behdad Esfahbod -Date: Mon May 18 01:49:57 2009 -0400 - - [HB] More template goodness - - src/hb-ot-layout-gsubgpos-private.h | 37 +++++++++++++++---------------------- - 1 file changed, 15 insertions(+), 22 deletions(-) - -commit aa3d7adca5c821c91a2a1b5380fd6b3d19656ab1 -Author: Behdad Esfahbod -Date: Sun May 17 23:17:56 2009 -0400 - - [HB] More churning towards ChainContext lookups - - src/hb-ot-layout-common-private.h | 6 +- - src/hb-ot-layout-gsub-private.h | 15 +++- - src/hb-ot-layout-gsubgpos-private.h | 174 ++++++++++++++++++++++-------------- - 3 files changed, 125 insertions(+), 70 deletions(-) - -commit 48f16ed96ac7041b511d9e0864623d2aa09c6da3 -Author: Behdad Esfahbod -Date: Sun May 17 22:11:30 2009 -0400 - - [HB] Towards sharing Context and ChainContext code - - src/hb-ot-layout-gsubgpos-private.h | 220 ++++++++++++++++-------------------- - 1 file changed, 99 insertions(+), 121 deletions(-) - -commit 6cf2a52593cb4b23e3efe5e16228e3172bdcdd05 -Author: Behdad Esfahbod -Date: Sun May 17 21:11:49 2009 -0400 - - [HB] Add check to avoid infinite recursion - - src/hb-ot-layout-gsub-private.h | 12 ++++++++---- - 1 file changed, 8 insertions(+), 4 deletions(-) - -commit 887c4b44165eeb8ac7fb09bc4474d11720b94a9e -Author: Behdad Esfahbod -Date: Sun May 17 21:06:08 2009 -0400 - - [HB] Cosmetic - - src/hb-ot-layout-gsub-private.h | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit ca5290f4994e1b2db4dac03f7a22b7071441ba06 -Author: Behdad Esfahbod -Date: Sun May 17 20:48:27 2009 -0400 - - [HB] Start ChainContext and ReverseChainSingleSubst lookups - - src/hb-ot-layout-gsub-private.h | 269 ++++++++---------------------------- - src/hb-ot-layout-gsubgpos-private.h | 214 +++++++++++++++++++++++++++- - 2 files changed, 268 insertions(+), 215 deletions(-) - -commit 433f4aea741e39df079126769441b79ab64fd236 -Author: Behdad Esfahbod -Date: Sun May 17 20:30:05 2009 -0400 - - [HB] Remove stale TODO - - src/hb-ot-layout-private.h | 2 -- - 1 file changed, 2 deletions(-) - -commit 6f20f72e9c58ba23db2e31afa5d331acfea3d77e -Author: Behdad Esfahbod -Date: Sun May 17 20:28:01 2009 -0400 - - [HB] Split Layout-common tables into new files - - src/hb-ot-layout-common-private.h | 429 ++++++++++++++++++++++++++++++++++++ - src/hb-ot-layout-gdef-private.h | 3 +- - src/hb-ot-layout-gsub-private.h | 1 + - src/hb-ot-layout-gsubgpos-private.h | 2 + - src/hb-ot-layout-open-private.h | 408 ---------------------------------- - 5 files changed, 434 insertions(+), 409 deletions(-) - -commit f45107fe0904414f1266648a6c42849c494fe611 -Author: Behdad Esfahbod -Date: Sun May 17 20:13:02 2009 -0400 - - [HB] More shuffling - - src/hb-ot-layout-gsub-private.h | 71 +++++++++++++++++++++---------------- - src/hb-ot-layout-gsubgpos-private.h | 30 ++++++++++++++++ - src/hb-ot-layout-open-private.h | 41 --------------------- - 3 files changed, 71 insertions(+), 71 deletions(-) - -commit f8dc67b3c24dfc805da756a73cb217b36e16b4b8 -Author: Behdad Esfahbod -Date: Sun May 17 19:47:54 2009 -0400 - - [HB] Cleanup format unions - - src/hb-ot-layout-gdef-private.h | 18 ++++---- - src/hb-ot-layout-gsub-private.h | 87 +++++++++++++++++++------------------ - src/hb-ot-layout-gsubgpos-private.h | 16 +++---- - src/hb-ot-layout-open-private.h | 41 +++++++---------- - 4 files changed, 77 insertions(+), 85 deletions(-) - -commit da1097bc3b1995776c205707fd2b17603b804646 -Author: Behdad Esfahbod -Date: Sun May 17 19:31:18 2009 -0400 - - [HB] Use four bytes for Null Tag, not 5 - - src/hb-ot-layout-open-private.h | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit 19fc24f268b985d30971307ac2055622d11cb21f -Author: Behdad Esfahbod -Date: Sun May 17 09:45:32 2009 -0400 - - [HB] Couple size checks - - src/hb-ot-layout-gsub-private.h | 7 +++++-- - src/hb-ot-layout-gsubgpos-private.h | 4 ++-- - src/hb-ot-layout-open-private.h | 4 ++-- - 3 files changed, 9 insertions(+), 6 deletions(-) - -commit ecf17e849db19599bbb816d0018380ebf979576b -Author: Behdad Esfahbod -Date: Sun May 17 09:34:41 2009 -0400 - - [HB] Propagate property of first glyph - - This slightly grows code size. - - src/hb-ot-layout-gsub-private.h | 100 +++++++++++++++++++----------------- - src/hb-ot-layout-gsubgpos-private.h | 7 +-- - 2 files changed, 56 insertions(+), 51 deletions(-) - -commit eca8e33710cfce51454e64d974ff0c28b0eefa14 -Author: Behdad Esfahbod -Date: Sun May 17 09:07:27 2009 -0400 - - [GSUB] Further optimize the main switch - - src/hb-ot-layout-gsub-private.h | 31 +++++++++++++++++-------------- - 1 file changed, 17 insertions(+), 14 deletions(-) - -commit 13068232e7054748ae5ba0d961ee5a95b959e92e -Author: Behdad Esfahbod -Date: Sun May 17 08:59:01 2009 -0400 - - [HB] Unify first glyph property checking - - src/hb-ot-layout-gsub-private.h | 81 ++++++++++++++++--------------------- - src/hb-ot-layout-gsubgpos-private.h | 12 ------ - 2 files changed, 35 insertions(+), 58 deletions(-) - -commit 66bf7ce4e3135535c110a917178b84c4a2b1d11f -Author: Behdad Esfahbod -Date: Sun May 17 08:28:42 2009 -0400 - - [HB] Move Context matching logic out of GSUB - - src/hb-ot-layout-gdef-private.h | 2 - - src/hb-ot-layout-gsub-private.h | 331 +--------------------------------- - src/hb-ot-layout-gsubgpos-private.h | 347 ++++++++++++++++++++++++++++++++++++ - 3 files changed, 352 insertions(+), 328 deletions(-) - -commit a1625528cd5ed94bc8f18903da3300e823ee5b54 -Author: Behdad Esfahbod -Date: Sun May 17 07:52:11 2009 -0400 - - [GSUB] Unify ContextSubst matching - - src/hb-ot-layout-gsub-private.h | 378 ++++++++++++++++------------------------ - 1 file changed, 154 insertions(+), 224 deletions(-) - -commit c36238bea40e9e2b589028eb6de0710455b31585 -Author: Behdad Esfahbod -Date: Sun May 17 07:39:34 2009 -0400 - - [HB] Renames - - src/hb-ot-layout-gsub-private.h | 122 ++++++++++++++++++++-------------------- - 1 file changed, 61 insertions(+), 61 deletions(-) - -commit 15c3e75b39797a153b6bc0598f87b27c4a487228 -Author: Behdad Esfahbod -Date: Sun May 17 06:03:42 2009 -0400 - - [HB] Simplify buffer - - src/harfbuzz-buffer-private.h | 14 ++++++-------- - src/harfbuzz-buffer.c | 35 ++++++++++++++++------------------- - src/harfbuzz-gsub.c | 6 +++--- - src/hb-ot-layout-gsub-private.h | 12 ++++++------ - 4 files changed, 31 insertions(+), 36 deletions(-) - -commit 36f78446cef8a7cbae000d5e742c9d13e1cc7f83 -Author: Behdad Esfahbod -Date: Sun May 17 05:52:32 2009 -0400 - - [HB] Add TODO item - - src/TODO | 1 + - src/harfbuzz-buffer.c | 2 +- - 2 files changed, 2 insertions(+), 1 deletion(-) - -commit ee58aaebd296ea8237516754fd4e825d524b11b7 -Author: Behdad Esfahbod -Date: Sun May 17 05:14:33 2009 -0400 - - [HB] Update copyright years - - src/hb-ot-layout-gdef-private.h | 2 +- - src/hb-ot-layout-open-private.h | 2 +- - src/hb-ot-layout.cc | 2 +- - src/main.cc | 2 +- - 4 files changed, 4 insertions(+), 4 deletions(-) - -commit f4c9514935cf97a58dcb3b1962ac3f3b5ba61264 -Author: Behdad Esfahbod -Date: Sun May 17 04:59:56 2009 -0400 - - [HB] Simplify more arrays - - src/hb-ot-layout-open-private.h | 241 ++++++++++++++++------------------------ - src/hb-ot-layout.cc | 8 +- - 2 files changed, 100 insertions(+), 149 deletions(-) - -commit c9a7cbe9cb52264af9954e5ce9ac7a45d7e310cd -Author: Behdad Esfahbod -Date: Sun May 17 01:22:51 2009 -0400 - - [HB] Use ArrayOf<> in GSUB - - src/hb-ot-layout-gdef-private.h | 3 +- - src/hb-ot-layout-gsub-private.h | 157 +++++++++++++--------------------------- - src/hb-ot-layout-open-private.h | 5 -- - 3 files changed, 53 insertions(+), 112 deletions(-) - -commit 5f810363acc3ad3cba631a68620e3d37e54c95c4 -Author: Behdad Esfahbod -Date: Sun May 17 00:54:25 2009 -0400 - - [HB] Add ArrayOf<> - - src/hb-ot-layout-gdef-private.h | 62 ++++++++------------------------- - src/hb-ot-layout-open-private.h | 77 ++++++++++++++++++++++++++++++----------- - 2 files changed, 71 insertions(+), 68 deletions(-) - -commit 238c855fcd4f0ef97a94a8662d2a2f2bb5c21ecb -Author: Behdad Esfahbod -Date: Sun May 17 00:22:37 2009 -0400 - - [HB] Use OffsetTo<> for Coverage - - src/hb-ot-layout-gdef-private.h | 1 + - src/hb-ot-layout-gsub-private.h | 55 ++++++++++++++++------------------------- - src/hb-ot-layout-open-private.h | 10 +------- - 3 files changed, 23 insertions(+), 43 deletions(-) - -commit 3d54bd1293069fc3d3bdeeea8ad45036f3ee65f3 -Author: Behdad Esfahbod -Date: Sun May 17 00:15:51 2009 -0400 - - [HB] Use OffsetTo<> in more places - - src/hb-ot-layout-gdef-private.h | 12 +++++------- - src/hb-ot-layout-open-private.h | 4 ++++ - 2 files changed, 9 insertions(+), 7 deletions(-) - -commit 9e4d9d7b2721859172bc9c59c1aea27b01eb9c07 -Author: Behdad Esfahbod -Date: Sun May 17 00:09:20 2009 -0400 - - [HB] Add OffsetTo template. - - src/hb-ot-layout-gdef-private.h | 26 ++++++++++++++------------ - src/hb-ot-layout-gsub-private.h | 6 +++--- - src/hb-ot-layout-open-private.h | 27 ++++++++++++++++++--------- - 3 files changed, 35 insertions(+), 24 deletions(-) - -commit e07f89295b9b38d233dfd4acec1f6b4a3416f267 -Author: Behdad Esfahbod -Date: Sat May 16 23:20:48 2009 -0400 - - [HB] Automate int-type size assertion - - src/hb-ot-layout-open-private.h | 13 +++---------- - 1 file changed, 3 insertions(+), 10 deletions(-) - -commit 8b8358033184198ff638ee1379093717596e162d -Author: Behdad Esfahbod -Date: Sat May 16 22:48:14 2009 -0400 - - [HB] Use templates for Null objects - - Also use a common pool for all nul-content ones. - - src/hb-ot-layout-gdef-private.h | 12 ++-- - src/hb-ot-layout-gsub-private.h | 28 ++++---- - src/hb-ot-layout-open-private.h | 142 +++++++++++++++++++++++----------------- - src/hb-ot-layout.cc | 8 +-- - 4 files changed, 105 insertions(+), 85 deletions(-) - -commit 6e13d4140158aff736647fc53d8c0ae3a02c2afc -Author: Behdad Esfahbod -Date: Sat May 16 20:15:16 2009 -0400 - - [HB] Remove obsolete comment - - src/hb-ot-layout-gdef-private.h | 1 - - 1 file changed, 1 deletion(-) - -commit 9f721cf380954d67415dbfd0404a983cdd75b7df -Author: Behdad Esfahbod -Date: Sat May 16 19:59:15 2009 -0400 - - [GSUB] Start ChainContextSubst - - src/hb-ot-layout-gsub-private.h | 50 ++++++++++++++++++++++++++++++++--------- - 1 file changed, 39 insertions(+), 11 deletions(-) - -commit 7fca9e5245d2d283e8b5354eb1ddf553a7ffc033 -Author: Behdad Esfahbod -Date: Sat May 16 19:44:24 2009 -0400 - - [GSUB] Implement ContextSubstFormat3 - - src/hb-ot-layout-gsub-private.h | 62 ++++++++++++++++++++++++++++++++++++++++- - 1 file changed, 61 insertions(+), 1 deletion(-) - -commit 1ff926a5681b5d4bfce65351062cda9dc1ffeba2 -Author: Behdad Esfahbod -Date: Fri May 15 20:25:37 2009 -0400 - - [GSUB] Implement ContextSubstFormat2 - - src/hb-ot-layout-gsub-private.h | 105 +++++++++++++++++++++++++++++++++++++--- - 1 file changed, 97 insertions(+), 8 deletions(-) - -commit fc36d9453ed7edb0a570abc44d7caa87aafb0fcf -Author: Behdad Esfahbod -Date: Fri May 15 20:11:10 2009 -0400 - - [GSUB] Add GSUB::substitute_lookup() - - src/hb-ot-layout-gsub-private.h | 7 +++++++ - src/hb-ot-layout.cc | 5 +---- - 2 files changed, 8 insertions(+), 4 deletions(-) - -commit c43562b2a7587fa3f9ef4c1c4338e4eda77368b5 -Author: Behdad Esfahbod -Date: Fri May 15 18:54:53 2009 -0400 - - [GSUB] Finish ContextSubstFormat1 - - src/hb-ot-layout-gsub-private.h | 77 ++++++++++++++++++++++++++++++++--------- - src/hb-ot-layout-private.h | 14 ++++++++ - src/hb-ot-layout.cc | 13 ------- - 3 files changed, 74 insertions(+), 30 deletions(-) - -commit 5ee21896224e3a9835a9695037a94ccf1c35a217 -Author: Behdad Esfahbod -Date: Fri May 15 13:28:56 2009 -0400 - - [HB] Fix typo - - src/hb-ot-layout-open-private.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 6b59c9b445b6d2454008c83a2c7d6a995ea5995e -Author: Behdad Esfahbod -Date: Fri May 15 01:00:36 2009 -0400 - - [HB] Add TODO item - - src/TODO | 1 + - 1 file changed, 1 insertion(+) - -commit c5419b6cf28822e07f1ef9b0394825e9cb01a445 -Author: Behdad Esfahbod -Date: Fri May 8 21:17:56 2009 -0400 - - [HB] Remove DEFINE_NON_INSTANTIABLE - - src/hb-ot-layout-gdef-private.h | 2 -- - src/hb-ot-layout-gsub-private.h | 3 --- - src/hb-ot-layout-open-private.h | 18 +----------------- - 3 files changed, 1 insertion(+), 22 deletions(-) - -commit 0dff25f0368c5f14ebb0a4af35f3bb6658740d57 -Author: Behdad Esfahbod -Date: Fri May 8 21:12:18 2009 -0400 - - [HB] Remove get_size() - - src/hb-ot-layout-gdef-private.h | 9 ------ - src/hb-ot-layout-gsub-private.h | 63 ----------------------------------------- - src/hb-ot-layout-open-private.h | 42 ++------------------------- - 3 files changed, 3 insertions(+), 111 deletions(-) - -commit 25c6c9a3f6c062ec639d9202a8b9844be64d6fc0 -Author: Behdad Esfahbod -Date: Fri May 8 19:09:17 2009 -0400 - - [GSUB] ContextSubst format 1 - - src/hb-ot-layout-gsub-private.h | 52 +++++++++++++++++++++++++++++++++++------ - 1 file changed, 45 insertions(+), 7 deletions(-) - -commit f70229510303109bd0f71423cdf13aa200066d17 -Author: Behdad Esfahbod -Date: Fri May 8 18:45:53 2009 -0400 - - [GSUB] Shuffle - - src/hb-ot-layout-gsub-private.h | 170 ++++++++++++++++++++-------------------- - 1 file changed, 86 insertions(+), 84 deletions(-) - -commit a83e08f8728439ef75e3dfab2191ac913d8f907b -Author: Behdad Esfahbod -Date: Thu May 7 12:53:02 2009 -0400 - - [HarfBuzz] Start a TODO file - - src/TODO | 1 + - 1 file changed, 1 insertion(+) - -commit eed05b04ebc2cbb3fa699c99200db12a0081cefb -Author: Behdad Esfahbod -Date: Wed May 6 00:25:59 2009 -0400 - - [GSUB] minor - - src/hb-ot-layout-open-private.h | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -commit cdb317bc4e188421cad997b448abb19223d39e96 -Author: Behdad Esfahbod -Date: Wed May 6 00:12:29 2009 -0400 - - [GSUB] Towards Context subtitutes - - src/hb-ot-layout-gsub-private.h | 137 +++++++++++++++++++++++++++++++--------- - 1 file changed, 108 insertions(+), 29 deletions(-) - -commit c9c6a78aec2b16ac06dfca8cbfaf28a77a10bae2 -Author: Behdad Esfahbod -Date: Tue May 5 16:22:02 2009 -0400 - - [GSUB] Minor refactoring - - src/hb-ot-layout-gsub-private.h | 42 ++++++++++++++++++++++------------------- - 1 file changed, 23 insertions(+), 19 deletions(-) - -commit bb3899a579b00134b24df8891b69bf1621a8190f -Author: Behdad Esfahbod -Date: Tue May 5 13:25:13 2009 -0400 - - [GSUB] Implement ligature substitutions - - src/Makefile.am | 2 + - src/hb-ot-layout-gsub-private.h | 113 ++++++++++++++++++++++++++++++++-------- - 2 files changed, 93 insertions(+), 22 deletions(-) - -commit 38b011a293181856463dd08d43e2106e5bf1d56e -Author: Behdad Esfahbod -Date: Mon May 4 20:21:57 2009 -0400 - - [GSUB] Hook new GSUB up in Pango - - src/hb-ot-layout-gsub-private.h | 15 ++++++++++----- - 1 file changed, 10 insertions(+), 5 deletions(-) - -commit a84e71ad11a72feff47ead16772a8c4bcf4f69d5 -Author: Behdad Esfahbod -Date: Thu Apr 16 16:53:40 2009 -0400 - - [GSUB] Start Ligature subtable support - - src/hb-ot-layout-gsub-private.h | 132 +++++++++++++++++++++++++++++----------- - src/hb-ot-layout.h | 2 +- - 2 files changed, 96 insertions(+), 38 deletions(-) - -commit 52886ca56b24a8335614b1df16a33dd4e2d7ae56 -Author: Behdad Esfahbod -Date: Thu Apr 16 14:19:42 2009 -0400 - - [GSUB] Implement Alternate subtables - - src/hb-ot-layout-gsub-private.h | 104 ++++++++++++++++++++++++++++++++++++---- - src/hb-ot-layout-open-private.h | 2 +- - 2 files changed, 97 insertions(+), 9 deletions(-) - -commit 4f27ce7e0213ac5ba356f0fd2ec0a175ffd002e6 -Author: Behdad Esfahbod -Date: Thu Apr 16 13:40:13 2009 -0400 - - [GSUB] Implement Extension subtables - - src/hb-ot-layout-gsub-private.h | 169 +++++++++++++++++++++++++--------------- - 1 file changed, 108 insertions(+), 61 deletions(-) - -commit 83e61ff4702121d3418fe82a8fe7ef6bb63bb5d2 -Author: Behdad Esfahbod -Date: Thu Apr 16 12:30:51 2009 -0400 - - [GSUB] Fix reverse lookup loop like we did in the old code before - - src/hb-ot-layout-gsub-private.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 5a0b791184cf6ef39eae0570e14aca21abc32845 -Author: Behdad Esfahbod -Date: Thu Apr 16 04:45:30 2009 -0400 - - [harfbuzz/GSUB] towards a partially working GSUB - - src/harfbuzz-buffer.c | 2 +- - src/harfbuzz-impl.h | 2 +- - src/harfbuzz.c | 1 - - src/hb-ot-layout-gdef-private.h | 4 +- - src/hb-ot-layout-gsub-private.h | 383 +++++++++++++++++++++++++++++----------- - src/hb-ot-layout-open-private.h | 31 +++- - src/hb-ot-layout-private.h | 6 +- - src/hb-ot-layout.cc | 94 +++++++--- - src/hb-ot-layout.h | 2 - - 9 files changed, 381 insertions(+), 144 deletions(-) - -commit 30bd763fa2fa4aceee51433ec9fc8dc28480b5d7 -Author: Behdad Esfahbod -Date: Wed Apr 15 22:56:15 2009 -0400 - - Implement the first substitute() - - src/harfbuzz-buffer-private.h | 8 ++-- - src/harfbuzz-buffer.c | 4 +- - src/harfbuzz-buffer.h | 2 +- - src/harfbuzz-gdef-private.h | 4 +- - src/harfbuzz-gdef.c | 6 +-- - src/harfbuzz-gdef.h | 2 +- - src/harfbuzz-gpos.c | 8 ++-- - src/harfbuzz-gpos.h | 2 +- - src/harfbuzz-gsub.h | 2 +- - src/hb-ot-layout-gsub-private.h | 88 +++++++++++++++++++++++++++++++++++++---- - src/hb-ot-layout-open-private.h | 2 +- - src/hb-ot-layout-private.h | 23 ++++++----- - src/hb-ot-layout.cc | 54 +++++++++++++++++-------- - src/hb-ot-layout.h | 2 +- - 14 files changed, 151 insertions(+), 56 deletions(-) - -commit ce48f03946bef895912019046bdbe62bb1301d0b -Merge: 0e13beeb9 2d15e72c7 -Author: Behdad Esfahbod -Date: Mon Nov 2 14:35:51 2009 -0500 - - Merge harfbuzz-ng - -commit 0e13beeb93077750183a8242780158b88df81e26 -Author: Behdad Esfahbod -Date: Fri Apr 17 17:03:39 2009 -0400 - - Use git.mk - - src/Makefile.am | 2 ++ - 1 file changed, 2 insertions(+) - -commit 2d15e72c75931398db5e027e660f1320bb979117 -Author: Behdad Esfahbod -Date: Wed Apr 15 19:50:16 2009 -0400 - - Give it a start at GSUB - - src/hb-common.h | 5 +- - src/hb-ot-layout-gdef-private.h | 24 ++++---- - src/hb-ot-layout-gsub-private.h | 120 +++++++++++++++++++++++++++++++++++++++- - src/hb-ot-layout-open-private.h | 51 ++++++++++------- - src/hb-ot-layout-private.h | 2 +- - src/hb-ot-layout.cc | 63 +++++++++++++++++++-- - src/hb-ot-layout.h | 29 +++++++++- - src/main.cc | 4 +- - 8 files changed, 253 insertions(+), 45 deletions(-) - -commit 9d870f2a558f4e463e3ff953312202a8d144158b -Author: Behdad Esfahbod -Date: Thu Apr 9 13:30:26 2009 -0400 - - Bug 577952 – Error loading {GDEF,GSUB,GPOS} table 0x6EAD - - Detect TrueType Collections by checking the font data header instead - of checking for "face->num_faces >1". - - src/harfbuzz-stream.c | 11 +++++++++-- - 1 file changed, 9 insertions(+), 2 deletions(-) - -commit d49caf1f77743550d83fc7feced1293ba34a4e99 -Author: Behdad Esfahbod -Date: Mon Mar 2 15:16:11 2009 +0330 - - [opentype] Protect against illegal access for arrays of length zero - - src/harfbuzz-gpos.c | 22 ++++++++++++++++++---- - src/harfbuzz-gsub.c | 6 ++++++ - 2 files changed, 24 insertions(+), 4 deletions(-) - -commit 66871797af194f9d2161faf8bfbc9684f09e207e -Author: Behdad Esfahbod -Date: Mon Mar 2 14:20:20 2009 +0330 - - [opentype] Use size_t instead of uint for malloc wrappers - - src/harfbuzz-impl.c | 4 ++-- - src/harfbuzz-impl.h | 6 ++++-- - 2 files changed, 6 insertions(+), 4 deletions(-) - -commit 3664e59c52ed56486a3e38126c0c3abb78f42233 -Author: Behdad Esfahbod -Date: Mon Mar 2 11:09:29 2009 +0330 - - Fix Bug 572529 – Poor -I ordering can break build - - src/Makefile.am | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit aca4d11388eedd532a73bd34747abb65c0ea9291 -Author: Behdad Esfahbod -Date: Mon Feb 2 00:13:07 2009 +0000 - - Allocate all array rows in a single ALLOC call. Saves over 100 alloc calls - - 2009-01-31 Behdad Esfahbod - - * pango/opentype/harfbuzz-gpos.c (Load_Mark2Array), - (Free_Mark2Array): - Allocate all array rows in a single ALLOC call. Saves over 100 - alloc calls when loading DejaVu Sans, - - src/harfbuzz-gpos.c | 59 +++++++++++++++-------------------------------------- - 1 file changed, 17 insertions(+), 42 deletions(-) - -commit c561d69c721105b78bb06d1e3c5f21ca314d924a -Author: Behdad Esfahbod -Date: Thu Jan 29 09:20:08 2009 +0000 - - Remove ClassDef->Defined field. This is the comment accompanying it: - - 2009-01-29 Behdad Esfahbod - - * pango/opentype/harfbuzz-open.h: - * pango/opentype/harfbuzz-gdef.c (Make_ClassRange), - (HB_GDEF_Build_ClassDefinition): - * pango/opentype/harfbuzz-gpos.c (Load_PosClassRule), - (Load_ChainPosClassRule): - * pango/opentype/harfbuzz-gsub.c (Load_SubClassRule), - (Load_ChainSubClassRule): - * pango/opentype/harfbuzz-open.c (Load_ClassDef1), - (Load_ClassDef2), (_HB_OPEN_Load_ClassDefinition), - (_HB_OPEN_Load_EmptyClassDefinition), - (_HB_OPEN_Free_ClassDefinition): - Remove ClassDef->Defined field. This is the comment accompanying it: - - The `Defined' field is not defined in the OpenType specification - but apparently needed for processing fonts like trado.ttf: This - font refers to a class which contains not a single element. We - map such classes to class 0. - - The comment is correct that trado.ttf (MS Traditional Arabic) uses - such classes. However, in my testing I couldn't identify any - problems with the font if the special handling is removed. I also - processed as many fonts as I could get my hand on and trado.ttf was - the only not-totally-broken font hitting the special-case code. - DejaVu fonts hit it too, but I'm sure they do not require the - special-handling code. Most probably, that code introduces bugs - in them. - - The special-casing was consuming lots of memory. EIGHT MEGABYTES - for loading DejaVu Sans! While this could be complete fixed, I - decided to remove the special-handling code altogether. I don't - think it will make any real difference, and if it does, we'll fix - fonts. Such hacks will not be in harfbuzz-ng anyway. - - Bug originally reported by nsf. - - src/harfbuzz-gdef.c | 8 -------- - src/harfbuzz-gpos.c | 32 -------------------------------- - src/harfbuzz-gsub.c | 31 ------------------------------- - src/harfbuzz-open.c | 30 +++--------------------------- - src/harfbuzz-open.h | 8 -------- - 5 files changed, 3 insertions(+), 106 deletions(-) - -commit 9372edd6f020c92609853609dcb504c72551c9c3 -Author: Behdad Esfahbod -Date: Thu Jan 29 09:19:56 2009 +0000 - - Use calloc(), instead of malloc()ing and memset()ing. - - 2009-01-29 Behdad Esfahbod - - * pango/opentype/harfbuzz-impl.c (_hb_alloc): Use calloc(), - instead of malloc()ing and memset()ing. - - src/harfbuzz-impl.c | 4 +--- - 1 file changed, 1 insertion(+), 3 deletions(-) - -commit 94c21d26ba878b3168a21f2e76f02bc52e8fe6fd -Author: Behdad Esfahbod -Date: Thu Jan 29 09:19:43 2009 +0000 - - Remove old cruft. - - 2009-01-29 Behdad Esfahbod - - * pango/opentype/harfbuzz-dump-main.c (main): Remove old cruft. - - src/harfbuzz-dump-main.c | 144 +---------------------------------------------- - 1 file changed, 1 insertion(+), 143 deletions(-) - -commit 0a47c4f78e8a9e81cd305f24ec92ea61ead7dd8d -Author: Behdad Esfahbod -Date: Thu Jan 29 09:19:20 2009 +0000 - - Allocate all array rows in a single ALLOC call. Saves over 2000 alloc - - 2009-01-29 Behdad Esfahbod - - * pango/opentype/harfbuzz-gpos.c (Load_BaseArray), (Free_BaseArray): - Allocate all array rows in a single ALLOC call. Saves over 2000 - alloc calls when loading DejaVu Sans! - - src/harfbuzz-gpos.c | 57 ++++++++++++++++------------------------------------- - 1 file changed, 17 insertions(+), 40 deletions(-) - -commit 549be924bccd187f53791dfa27647981ac909545 -Author: Behdad Esfahbod -Date: Fri Dec 26 02:31:47 2008 +0000 - - Bug 469049 – Fix all compiler warnings - - 2008-12-25 Behdad Esfahbod - - Bug 469049 – Fix all compiler warnings - - * pango-view/viewer-pangocairo.c (render_callback): - * pango/fonts.c (append_field), (pango_font_description_to_string): - * pango/opentype/harfbuzz-dump.c: - * pango/pango-bidi-type.c (pango_log2vis_get_embedding_levels): - * pango/pango-coverage.c (pango_coverage_set): - * pango/pango-markup.c (span_parse_func): - * pango/pango-renderer.c - (pango_renderer_default_draw_error_underline): - * pango/pango-utils.c (pango_scan_string): - * pango/pangocairo-render.c (pango_cairo_renderer_draw_trapezoid), - (draw_error_underline), (pango_cairo_renderer_class_init): - Fix all the remaining warnings. - - src/harfbuzz-dump.c | 3 +++ - 1 file changed, 3 insertions(+) - -commit 719f9eaa755396ff377da10c5eeced01d3456b1b -Author: Behdad Esfahbod -Date: Fri Dec 26 02:31:35 2008 +0000 - - Fix more warnings. - - 2008-12-25 Behdad Esfahbod - - * pango/modules.c (pango_module_load), (script_info_free): - * pango/opentype/harfbuzz-gpos.c (HB_Load_GPOS_Table): - * pango/pango-bidi-type.c: - * pango/pango-coverage.c (pango_coverage_ref), - (pango_coverage_unref): - * pango/pango-engine.c (pango_engine_shape_real_covers), - (fallback_engine_shape), (fallback_engine_covers): - * pango/pango-fontmap.c (pango_font_map_init): - * pango/pango-ot-ruleset.c (pango_ot_ruleset_finalize), - (pango_ot_ruleset_new): - * pango/pangofc-decoder.c (pango_fc_decoder_init), - (pango_fc_decoder_class_init): - * pango/pangofc-font.c (pango_fc_font_find_shaper), - (pango_fc_font_get_coverage): - * pango/pangofc-fontmap.c (pango_fc_font_map_list_families), - (pango_fc_make_pattern), (pango_fc_font_map_get_patterns), - (get_first_font), (_pango_fc_font_map_get_coverage), - (cleanup_font), (pango_fc_font_description_from_pattern), - (pango_fc_face_list_sizes), (pango_fc_family_list_faces): - * pango/pangoft2-fontmap.c (pango_ft2_font_map_get_resolution): - * pango/pangoft2-render.c (pango_ft2_renderer_init), - (pango_ft2_renderer_draw_trapezoid): - * pango/pangoft2.c (pango_ft2_font_get_face), - (pango_ft2_font_real_unlock_face), - (pango_ft2_free_glyph_info_callback): - Fix more warnings. - - src/harfbuzz-gpos.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 21f7d507f4b50e2743ab47954270f4c72d5a722a -Author: Behdad Esfahbod -Date: Wed Oct 15 03:45:29 2008 +0000 - - Bug 528272 – "Error loading GPOS table 5503" when using katakana - - 2008-10-14 Behdad Esfahbod - - Bug 528272 – "Error loading GPOS table 5503" when using katakana - characters - - * pango/opentype/harfbuzz-gpos.c (Load_Mark2Array): Skip parsing - null anchor tables. - - src/harfbuzz-gpos.c | 7 +++++++ - 1 file changed, 7 insertions(+) - -commit a26c6ae70502b4d60c52a0648662b1619c688b9a -Author: Behdad Esfahbod -Date: Mon Sep 29 22:28:47 2008 +0000 - - Fix left-to-right positioning. Reported by Peter Hunter. - - 2008-09-29 Behdad Esfahbod - - * pango/opentype/harfbuzz-gpos.c (Position_CursiveChain): - Fix left-to-right positioning. Reported by Peter Hunter. - - src/harfbuzz-gpos.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit b6c06c56a33f1e1ec15e3b525ecafe8fadc679db -Author: Behdad Esfahbod -Date: Sun Jun 29 18:30:14 2008 +0000 - - Bug 540592 – Crash in HB_GSUB_Apply_String with Linux-Libertine font - - 2008-06-29 Behdad Esfahbod - - Bug 540592 – Crash in HB_GSUB_Apply_String with Linux-Libertine font - - * pango/opentype/harfbuzz-gsub.c (GSUB_Do_String_Lookup): Fix reverse - loops for type 8 lookups. - - src/harfbuzz-gsub.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit c44733596c6648e209c12349e18e35424edf3d59 -Author: Behdad Esfahbod -Date: Mon Feb 18 21:14:23 2008 -0500 - - [hb-ot-layout] Add proper namespace to accessors - - src/hb-ot-layout.cc | 165 ++++++++++++++++++++++++++++++++++++++-------------- - src/hb-ot-layout.h | 115 +++++++++++++++++++++++------------- - 2 files changed, 198 insertions(+), 82 deletions(-) - -commit 57225672098ebdafb0c06ae091a1b55635daca29 -Author: Behdad Esfahbod -Date: Mon Feb 18 20:58:39 2008 -0500 - - Fix typo, add TODOs - - src/hb-ot-layout-open-private.h | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -commit 4a26ea408c87f0bb59deca9ff44008d138471aa3 -Author: Behdad Esfahbod -Date: Mon Jan 28 07:40:10 2008 -0500 - - Finish script, language, and feature public API - - src/hb-ot-layout-open-private.h | 22 ++++++--- - src/hb-ot-layout.cc | 107 +++++++++++++++++++++++++++++++--------- - src/hb-ot-layout.h | 34 ++++++++++++- - 3 files changed, 132 insertions(+), 31 deletions(-) - -commit 706ab25a4cb043d46e6088aa0a7184ee200276c9 -Author: Behdad Esfahbod -Date: Mon Jan 28 05:58:50 2008 -0500 - - Add script and language public getter API - - src/hb-ot-layout-open-private.h | 40 ++++++++----- - src/hb-ot-layout.cc | 127 +++++++++++++++++++++++++++++++++++++++- - src/hb-ot-layout.h | 56 ++++++++++++++++++ - src/main.cc | 2 +- - 4 files changed, 207 insertions(+), 18 deletions(-) - -commit 40a81314fa3eb7c701aea47b43f81bfad985f717 -Author: Behdad Esfahbod -Date: Mon Jan 28 02:30:48 2008 -0500 - - Make main.cc compile again, which means finished getter API - - src/hb-ot-layout-open-private.h | 117 +++++++++++++++++++++++++++++----------- - src/main.cc | 99 +++++++++++++++++++++++----------- - 2 files changed, 155 insertions(+), 61 deletions(-) - -commit e50c3978d37b2c0d6ddd4ced6a6196f6857cd596 -Author: Behdad Esfahbod -Date: Mon Jan 28 00:16:49 2008 -0500 - - Rename HB_OT_Layout to hb_ot_layout_t - - src/hb-ot-layout-private.h | 8 ++++---- - src/hb-ot-layout.cc | 34 +++++++++++++++++----------------- - src/hb-ot-layout.h | 33 +++++++++++++++------------------ - 3 files changed, 36 insertions(+), 39 deletions(-) - -commit dfa811965133bc4d1696fa5a0166e17ed4142c98 -Author: Behdad Esfahbod -Date: Mon Jan 28 00:12:21 2008 -0500 - - Rename hb_ot_layout_create() to hb_ot_layout_create_for_data() - - src/hb-ot-layout.cc | 4 ++-- - src/hb-ot-layout.h | 4 ++-- - 2 files changed, 4 insertions(+), 4 deletions(-) - -commit 54e5aac5e2947d4e2864c6f2987e4d275da73100 -Author: Behdad Esfahbod -Date: Sun Jan 27 21:19:51 2008 -0500 - - GDEF completely working now - - src/hb-ot-layout-open-private.h | 11 ++++++++--- - src/hb-ot-layout-private.h | 16 +++++++++------- - src/hb-ot-layout.cc | 19 +++++++++---------- - src/hb-private.h | 7 +++++++ - src/main.cc | 12 ++++++------ - 5 files changed, 39 insertions(+), 26 deletions(-) - -commit 6f425b11799aa20dab553085f05744191b7318e2 -Author: Behdad Esfahbod -Date: Thu Jan 24 19:38:56 2008 -0500 - - [GDEF] Finish internal API - - src/hb-ot-layout-private.h | 15 +++++++- - src/hb-ot-layout.cc | 95 ++++++++++++++++++++++------------------------ - src/hb-ot-layout.h | 16 ++++---- - 3 files changed, 66 insertions(+), 60 deletions(-) - -commit 590d55cbb9e21ef74dfd88eee51fd0a763958cd2 -Author: Behdad Esfahbod -Date: Thu Jan 24 19:13:50 2008 -0500 - - [GDEF] Finish public API - - src/hb-common.h | 11 ++++ - src/hb-ot-layout-gdef-private.h | 28 +++++---- - src/hb-ot-layout-open-private.h | 25 ++++---- - src/hb-ot-layout-private.h | 23 ++------ - src/hb-ot-layout.cc | 123 +++++++++++++++++++++++++++++++++++++--- - src/hb-ot-layout.h | 29 ++++++---- - 6 files changed, 176 insertions(+), 63 deletions(-) - -commit aff831ed6787abe8e24a977e34d97ff2e0b7dc21 -Author: Behdad Esfahbod -Date: Thu Jan 24 06:03:45 2008 -0500 - - Implement glyph properties - - src/hb-ot-layout-gdef-private.h | 10 ++++- - src/hb-ot-layout-private.h | 16 +++++++- - src/hb-ot-layout.cc | 84 +++++++++++++++++++++++++++++++++++++---- - src/hb-ot-layout.h | 25 ++++++++---- - 4 files changed, 117 insertions(+), 18 deletions(-) - -commit ead428d7a0bf4dc84340a99f3959e5cc58123e99 -Author: Behdad Esfahbod -Date: Thu Jan 24 03:54:09 2008 -0500 - - More public api - - src/hb-ot-layout-open-private.h | 32 +++++++++++++++++++------------- - src/hb-ot-layout-private.h | 9 ++++++--- - src/hb-ot-layout.cc | 21 ++++++++++++++------- - src/hb-ot-layout.h | 2 -- - 4 files changed, 39 insertions(+), 25 deletions(-) - -commit fd92a3dde32fd10df30c9eeb97641bc3c15b1e9b -Author: Behdad Esfahbod -Date: Thu Jan 24 03:11:09 2008 -0500 - - Starting public interface - - src/{Makefile => Makefile.ng} | 0 - src/hb-ot-layout-gdef-private.h | 17 ++++---- - src/hb-ot-layout-gsub-private.h | 3 +- - src/hb-ot-layout-open-private.h | 92 +++++++++++++++++++++++++++++------------ - src/hb-ot-layout-private.h | 51 +++++++++++++++++++++++ - src/hb-ot-layout.cc | 67 ++++++++++++++++++++++++++++++ - src/hb-ot-layout.h | 35 ++++++++++++++-- - src/main.cc | 1 + - 8 files changed, 225 insertions(+), 41 deletions(-) - -commit 7d6b95b000ec6cd8ca93113b2d81a049ad2f9bbe -Author: Behdad Esfahbod -Date: Thu Jan 24 04:42:24 2008 +0000 - - Remove unused macro - - src/harfbuzz-impl.h | 2 -- - 1 file changed, 2 deletions(-) - -commit 7586089c6fa8185cad8387869d3703c637e5cbb1 -Author: Behdad Esfahbod -Date: Wed Jan 23 18:02:28 2008 -0500 - - Minor - - src/hb-ot-layout-gdef-private.h | 37 +++++++++++++++++++++++++------ - src/hb-ot-layout-gsub-private.h | 13 +++++++++++ - src/hb-ot-layout-open-private.h | 49 ++++++++++++++++++++++++++++++++++------- - src/hb-private.h | 2 ++ - 4 files changed, 86 insertions(+), 15 deletions(-) - -commit aefaafe5bc4fc6d37a412c135b1079c287be7045 -Author: Behdad Esfahbod -Date: Wed Jan 23 17:25:29 2008 -0500 - - Minor renaming - - src/hb-ot-layout-gdef-private.h | 10 +++++----- - src/hb-ot-layout-open-private.h | 16 +++++++--------- - src/main.cc | 4 ++-- - 3 files changed, 14 insertions(+), 16 deletions(-) - -commit a16ecbf0564a6e2576da22c12827f3c0719da549 -Author: Behdad Esfahbod -Date: Wed Jan 23 17:01:55 2008 -0500 - - Initial gsub stub - - src/hb-ot-layout-gdef-private.h | 4 + - src/hb-ot-layout-gsub-private.h | 453 ++++++++++++++++++++++++++++++++++++++++ - src/hb-ot-layout-open-private.h | 3 + - src/main.cc | 1 + - 4 files changed, 461 insertions(+) - -commit 64aef3a54999496fd1de4f5aa5b019e4c03b3836 -Author: Behdad Esfahbod -Date: Wed Jan 23 16:14:38 2008 -0500 - - Add copyright notices. - - src/hb-common.h | 26 ++++++++++++++++++++++++++ - src/hb-ot-layout-gdef-private.h | 26 ++++++++++++++++++++++++++ - src/hb-ot-layout-open-private.h | 26 ++++++++++++++++++++++++++ - src/hb-ot-layout.h | 26 ++++++++++++++++++++++++++ - src/hb-private.h | 26 ++++++++++++++++++++++++++ - src/main.cc | 26 ++++++++++++++++++++++++++ - 6 files changed, 156 insertions(+) - -commit 12360f7c159826ae72271b34486dee59d96aa8ca -Author: Behdad Esfahbod -Date: Wed Jan 23 15:50:38 2008 -0500 - - Minor cleanup, add LIKELY and UNLIKELY annotations - - src/hb-ot-layout-gdef-private.h | 63 +++++++++++++++++++++++------------------ - src/hb-ot-layout-open-private.h | 36 ++++++++--------------- - src/hb-private.h | 15 ++++++++++ - 3 files changed, 63 insertions(+), 51 deletions(-) - -commit 8dd1c8b8d6797d899d0f5b0a8015886bf6520ca2 -Author: Behdad Esfahbod -Date: Wed Jan 23 05:00:30 2008 -0500 - - Clean up file names, add namespace - - src/harfbuzz-common.h | 14 -------------- - src/harfbuzz-gdef.h | 11 ----------- - src/hb-common.h | 14 ++++++++++++++ - ...harfbuzz-gdef-private.h => hb-ot-layout-gdef-private.h} | 8 ++++---- - ...harfbuzz-open-private.h => hb-ot-layout-open-private.h} | 10 +++++----- - src/{harfbuzz-open.h => hb-ot-layout.h} | 12 ++++++------ - src/{harfbuzz-private.h => hb-private.h} | 6 +++--- - src/main.cc | 4 ++-- - 8 files changed, 34 insertions(+), 45 deletions(-) - -commit 1f437e6f47fb6c15761021bd2078f31778f2179c -Author: Behdad Esfahbod -Date: Wed Jan 23 04:36:40 2008 -0500 - - Make all code NULL-free and assert-free - - src/harfbuzz-gdef-private.h | 125 ++++++++++--------- - src/harfbuzz-open-private.h | 285 +++++++++++++++++++++++--------------------- - src/main.cc | 8 +- - 3 files changed, 214 insertions(+), 204 deletions(-) - -commit 600e5eb80f553ea8eb862e6784133574c74ca513 -Author: Behdad Esfahbod -Date: Wed Jan 23 02:01:37 2008 -0500 - - Define get_for_data() factories - - src/harfbuzz-gdef-private.h | 3 +++ - src/harfbuzz-open-private.h | 42 +++++++++++++++++++++++++++++------------- - src/main.cc | 10 ++++------ - 3 files changed, 36 insertions(+), 19 deletions(-) - -commit b9d7688fb3d45894901484b74095c4f11cab6196 -Author: Behdad Esfahbod -Date: Wed Jan 23 01:38:10 2008 -0500 - - Finish and test GDEF - - src/harfbuzz-gdef-private.h | 72 ++++++++++++++++++++++++++++++++------------- - src/harfbuzz-open-private.h | 23 ++++++++------- - src/harfbuzz-open.h | 4 +++ - src/main.cc | 10 +++++++ - 4 files changed, 77 insertions(+), 32 deletions(-) - -commit 303fe62824d4e99df554b6bfaacba05d068522fb -Author: Behdad Esfahbod -Date: Wed Jan 23 00:20:48 2008 -0500 - - Misc cleanup - - src/Makefile | 10 ++++- - src/harfbuzz-gdef-private.h | 65 +++++++++++++++++++++------- - src/harfbuzz-open-private.h | 102 ++++++++++++++++++++++++++++++++++++++++---- - src/harfbuzz-private.h | 6 +++ - src/main.cc | 12 +++--- - 5 files changed, 163 insertions(+), 32 deletions(-) - -commit 17843245fde4cc8cddc7da8ef30357d3d8778187 -Author: Behdad Esfahbod -Date: Wed Jan 16 20:39:29 2008 +0000 - - Remove COPYING.GPL and COPYING.FTL that are no longer there. - - 2008-01-16 Behdad Esfahbod - - * pango/opentype/Makefile.am: Remove COPYING.GPL and COPYING.FTL that - are no longer there. - - src/Makefile.am | 2 -- - 1 file changed, 2 deletions(-) - -commit a2a9a023f6472ba262f89e5327318996b8258d25 -Author: Behdad Esfahbod -Date: Tue Jan 15 22:46:32 2008 +0000 - - HarfBuzz was relicensed to a more generous and simpler license. Adapt. See - - 2008-01-15 Behdad Esfahbod - - * pango/opentype/*: - HarfBuzz was relicensed to a more generous and simpler license. - Adapt. See pango/opentype/COPYING for the new license which is - LGPL-compatible. - - src/COPYING | 39 +++-- - src/COPYING.FTL | 174 --------------------- - src/COPYING.GPL | 340 ------------------------------------------ - src/harfbuzz-buffer-private.h | 32 ++-- - src/harfbuzz-buffer.c | 27 +++- - src/harfbuzz-buffer.h | 32 ++-- - src/harfbuzz-dump-main.c | 34 +++-- - src/harfbuzz-dump.c | 34 +++-- - src/harfbuzz-dump.h | 35 +++-- - src/harfbuzz-gdef-private.h | 29 +++- - src/harfbuzz-gdef.c | 29 +++- - src/harfbuzz-gdef.h | 29 +++- - src/harfbuzz-global.h | 29 +++- - src/harfbuzz-gpos-private.h | 29 +++- - src/harfbuzz-gpos.c | 31 +++- - src/harfbuzz-gpos.h | 29 +++- - src/harfbuzz-gsub-private.h | 29 +++- - src/harfbuzz-gsub.c | 31 +++- - src/harfbuzz-gsub.h | 29 +++- - src/harfbuzz-impl.c | 31 +++- - src/harfbuzz-impl.h | 29 +++- - src/harfbuzz-open-private.h | 29 +++- - src/harfbuzz-open.c | 29 +++- - src/harfbuzz-open.h | 29 +++- - src/harfbuzz-stream-private.h | 29 +++- - src/harfbuzz-stream.c | 31 +++- - src/harfbuzz.c | 28 +++- - src/harfbuzz.h | 29 +++- - 28 files changed, 564 insertions(+), 741 deletions(-) - -commit 4ccedd22eaa6e47bd8bbf255627a8b55fbb44736 -Author: Behdad Esfahbod -Date: Wed Dec 5 03:41:29 2007 +0000 - - Bug 501575 – Compile errors Patch from Jens Granseuer - - 2007-12-04 Behdad Esfahbod - - Bug 501575 – Compile errors - Patch from Jens Granseuer - - * pango/opentype/harfbuzz-stream.c (_hb_font_goto_table): - * pango/pango-utils.c (handle_alias_line): - Fix C99ism. - - src/harfbuzz-stream.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit cd55cfa2b0a1fe35d5a4ad1c8feaa399d7fb7ab3 -Author: Behdad Esfahbod -Date: Fri Nov 30 04:31:29 2007 +0000 - - Undo accidental change. - - src/harfbuzz-impl.c | 2 -- - 1 file changed, 2 deletions(-) - -commit 3f05da638c8d7b13e7f860aeda1a6321e5ebd92e -Author: Behdad Esfahbod -Date: Fri Nov 30 04:29:58 2007 +0000 - - Bug 485536 – underline_position can be zero - - 2007-11-29 Behdad Esfahbod - - Bug 485536 – underline_position can be zero - - * pango/pango-utils.c (pango_cairo_quantize_line_geometry): - Document that returned position may be zero. - - * pango/pangocairo-win32font.c - (pango_cairo_win32_font_create_metrics_for_context): - * pango/pangofc-font.c (get_face_metrics): - Handle case of underline_position==0 after rounding. - - src/harfbuzz-impl.c | 2 ++ - 1 file changed, 2 insertions(+) - -commit e58278fedb67cbaac4bf4d6dfc33209cb22eec08 -Author: Behdad Esfahbod -Date: Sat Nov 24 01:40:13 2007 +0000 - - Remove unused macro. - - 2007-11-23 Behdad Esfahbod - - * pango/opentype/harfbuzz-impl.c: Remove unused macro. - - src/harfbuzz-impl.c | 18 ------------------ - 1 file changed, 18 deletions(-) - -commit 3b047380aec4ccc707c4579327d54172c19820fd -Author: Behdad Esfahbod -Date: Sun Nov 18 22:34:08 2007 +0000 - - Minor - - src/harfbuzz-dump-main.c | 4 +-- - src/harfbuzz-stream.c | 89 ++++++++++++++++++++++++------------------------ - 2 files changed, 46 insertions(+), 47 deletions(-) - -commit 10d6a25a26bdbab4ece4edf0e34ffd3d22410ebe -Author: Behdad Esfahbod -Date: Wed Nov 7 10:04:11 2007 +0000 - - Remove dead code. - - src/harfbuzz-gdef.c | 88 ----------------------------------------------------- - src/harfbuzz-gpos.h | 4 +-- - 2 files changed, 1 insertion(+), 91 deletions(-) - -commit 47d2c33e3d099fae79e199367de5011bc5c12273 -Author: Behdad Esfahbod -Date: Wed Nov 7 09:59:18 2007 +0000 - - And some more. - - 2007-11-07 Behdad Esfahbod - - * pango/opentype/*: And some more. - - src/harfbuzz-buffer.h | 8 ++--- - src/harfbuzz-dump-main.c | 22 ++++++------ - src/harfbuzz-gdef.c | 14 ++++---- - src/harfbuzz-gdef.h | 4 +-- - src/harfbuzz-global.h | 21 +++++------ - src/harfbuzz-gpos.c | 82 +++++++++++++++++++++---------------------- - src/harfbuzz-gpos.h | 12 +++---- - src/harfbuzz-gsub.c | 4 +-- - src/harfbuzz-gsub.h | 4 +-- - src/harfbuzz-stream-private.h | 4 +-- - src/harfbuzz-stream.c | 16 ++++----- - 11 files changed, 95 insertions(+), 96 deletions(-) - -commit 78ef65ba08967fe1b5f97bcb27074bd635f4b898 -Author: Behdad Esfahbod -Date: Wed Nov 7 08:06:01 2007 +0000 - - Some more cleanup and merging. - - 2007-11-07 Behdad Esfahbod - - * pango/opentype/*: Some more cleanup and merging. - - src/Makefile.am | 6 +- - src/harfbuzz-buffer-private.h | 33 ++++++ - src/harfbuzz-buffer.c | 4 +- - src/harfbuzz-dump-main.c | 3 +- - src/harfbuzz-gdef-private.h | 9 +- - src/harfbuzz-gdef.c | 39 +++++++ - src/harfbuzz-global.h | 2 + - src/harfbuzz-gpos-private.h | 1 + - src/harfbuzz-gpos.c | 32 +----- - src/harfbuzz-gsub-private.h | 1 + - src/harfbuzz-gsub.c | 33 +----- - src/harfbuzz-impl.c | 216 ++------------------------------------ - src/harfbuzz-impl.h | 100 +----------------- - src/harfbuzz-open-private.h | 4 +- - src/harfbuzz-stream-private.h | 70 +++++++++++++ - src/harfbuzz-stream.c | 234 ++++++++++++++++++++++++++++++++++++++++++ - src/harfbuzz.c | 1 + - src/harfbuzz.h | 3 +- - 18 files changed, 419 insertions(+), 372 deletions(-) - -commit 5c9bd379950d914982bdb91d0f82b8036908db37 -Author: Behdad Esfahbod -Date: Mon Oct 29 23:51:48 2007 +0000 - - Fix typo. - - src/Makefile.am | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit ef1f481752fa6e478f649e826c96927c98f21981 -Author: Behdad Esfahbod -Date: Thu Oct 25 23:37:11 2007 +0000 - - Even more cleanup and more type renames. - - 2007-10-25 Behdad Esfahbod - - * pango/opentype/*: Even more cleanup and more type renames. - - src/harfbuzz-buffer.h | 3 +-- - src/harfbuzz-global.h | 6 ++++++ - src/harfbuzz-impl.c | 16 ++++++++-------- - src/harfbuzz-impl.h | 22 +++++++++++----------- - src/harfbuzz-open.h | 3 --- - 5 files changed, 26 insertions(+), 24 deletions(-) - -commit 282c60a0eea0db784b0a094958bec35b5f3dc399 -Author: Behdad Esfahbod -Date: Thu Oct 25 23:22:17 2007 +0000 - - More cleanup, remove redundant error types. - - 2007-10-25 Behdad Esfahbod - - * pango/opentype/*: More cleanup, remove redundant error types. - - src/harfbuzz-dump-main.c | 4 +- - src/harfbuzz-dump.c | 14 +++--- - src/harfbuzz-gdef.c | 25 +++++----- - src/harfbuzz-gdef.h | 3 -- - src/harfbuzz-global.h | 31 ++++++------ - src/harfbuzz-gpos.c | 124 +++++++++++++++++++++++------------------------ - src/harfbuzz-gpos.h | 3 -- - src/harfbuzz-gsub.c | 86 ++++++++++++++++---------------- - src/harfbuzz-gsub.h | 3 -- - src/harfbuzz-impl.c | 18 +++---- - src/harfbuzz-impl.h | 2 + - src/harfbuzz-open.c | 24 ++++----- - src/harfbuzz-open.h | 6 +-- - 13 files changed, 170 insertions(+), 173 deletions(-) - -commit 4280ec4df45ae86c10c3cd24ddb9c05e47223d39 -Author: Behdad Esfahbod -Date: Thu Oct 25 00:23:46 2007 +0000 - - Rename ftglue.c to harfbuzz-impl.c and more type renames and moving code - - 2007-10-24 Behdad Esfahbod - - * pango/opentype/*: Rename ftglue.c to harfbuzz-impl.c and more - type renames and moving code around. - - src/Makefile.am | 3 +- - src/ftglue.h | 151 -------------------------------------- - src/harfbuzz-dump-main.c | 48 ++---------- - src/harfbuzz-dump.c | 30 ++++---- - src/harfbuzz-gdef.c | 18 ++--- - src/harfbuzz-global.h | 18 +++++ - src/harfbuzz-gpos-private.h | 2 +- - src/harfbuzz-gpos.c | 90 +++++++++++------------ - src/harfbuzz-gsub-private.h | 2 +- - src/harfbuzz-gsub.c | 64 ++++++++-------- - src/{ftglue.c => harfbuzz-impl.c} | 64 ++++++++-------- - src/harfbuzz-impl.h | 114 ++++++++++++++++++++++++++-- - src/harfbuzz-open-private.h | 14 ++-- - src/harfbuzz-open.c | 32 ++++---- - src/harfbuzz-open.h | 16 ---- - src/harfbuzz.c | 4 +- - 16 files changed, 289 insertions(+), 381 deletions(-) - -commit 5716ae278a82d318ddbfeba01d0785d4efbe1454 -Author: Behdad Esfahbod -Date: Wed Oct 24 22:44:47 2007 +0000 - - New header file harfbuzz-global.h. Rename FT_* int types to HB_* types. - - 2007-10-24 Behdad Esfahbod - - * pango/opentype/*: New header file harfbuzz-global.h. Rename - FT_* int types to HB_* types. - - src/Makefile.am | 1 + - src/ftglue.c | 30 +-- - src/ftglue.h | 26 +- - src/harfbuzz-buffer-private.h | 26 +- - src/harfbuzz-buffer.c | 40 ++-- - src/harfbuzz-buffer.h | 42 ++-- - src/harfbuzz-dump-main.c | 24 +- - src/harfbuzz-dump.c | 14 +- - src/harfbuzz-dump.h | 4 +- - src/harfbuzz-gdef-private.h | 30 +-- - src/harfbuzz-gdef.c | 104 ++++---- - src/harfbuzz-gdef.h | 32 +-- - src/harfbuzz-global.h | 34 +++ - src/harfbuzz-gpos-private.h | 182 +++++++------- - src/harfbuzz-gpos.c | 540 +++++++++++++++++++++--------------------- - src/harfbuzz-gpos.h | 52 ++-- - src/harfbuzz-gsub-private.h | 142 +++++------ - src/harfbuzz-gsub.c | 432 ++++++++++++++++----------------- - src/harfbuzz-gsub.h | 50 ++-- - src/harfbuzz-impl.h | 6 +- - src/harfbuzz-open-private.h | 26 +- - src/harfbuzz-open.c | 146 ++++++------ - src/harfbuzz-open.h | 88 +++---- - src/harfbuzz.h | 1 + - 24 files changed, 1056 insertions(+), 1016 deletions(-) - -commit 2130d852c76cccb94350a4aea222359640ffa8a4 -Author: Behdad Esfahbod -Date: Wed Oct 24 21:35:03 2007 +0000 - - Add commented-out dummy struct for Extension lookups. - - 2007-10-24 Behdad Esfahbod - - * pango/opentype/harfbuzz-gpos-private.h: - * pango/opentype/harfbuzz-gsub-private.h: - Add commented-out dummy struct for Extension lookups. - - src/harfbuzz-gpos-private.h | 13 +++++++++++++ - src/harfbuzz-gsub-private.h | 13 +++++++++++++ - 2 files changed, 26 insertions(+) - -commit 13b2b963848ada169c2fe3d3669fbc1c337f7fe7 -Author: Behdad Esfahbod -Date: Sun Oct 21 18:17:02 2007 +0000 - - Bug 488840 – harfbuzz: protect against ligid overflow - - 2007-10-21 Behdad Esfahbod - - Bug 488840 – harfbuzz: protect against ligid overflow - - * pango/opentype/harfbuzz-buffer.c (_hb_buffer_allocate_ligid): - Never return zero, even in case of overflow. - - * pango/opentype/harfbuzz-impl.h: Define dummy HB_LIKELY() and - HB_UNLIKELY(), to be filled later. - - src/harfbuzz-buffer.c | 6 +++++- - src/harfbuzz-impl.h | 3 +++ - 2 files changed, 8 insertions(+), 1 deletion(-) - -commit 6b347138b597c41af24453f630336ba2fc033dc5 -Author: Behdad Esfahbod -Date: Thu Oct 11 08:30:50 2007 +0000 - - Mark internal symbols as HB_INTERNAL and define that to static in - - 2007-10-11 Behdad Esfahbod - - * pango/opentype/*: Mark internal symbols as HB_INTERNAL and - define that to static in harfbuzz.c. - - * pango/opentype/harfbuzz-buffer-internal.h: New file. - - src/Makefile.am | 1 + - src/ftglue.c | 18 +++---- - src/ftglue.h | 20 ++++---- - src/harfbuzz-buffer-private.h | 60 +++++++++++++++++++++++ - src/harfbuzz-buffer.c | 108 +++++++++++++++++++++------------------- - src/harfbuzz-buffer.h | 38 +-------------- - src/harfbuzz-gdef-private.h | 17 ++++--- - src/harfbuzz-gdef.c | 20 ++++---- - src/harfbuzz-gpos-private.h | 13 +++-- - src/harfbuzz-gpos.c | 16 +++--- - src/harfbuzz-gsub-private.h | 14 +++--- - src/harfbuzz-gsub.c | 20 ++++---- - src/harfbuzz-impl.h | 12 +++-- - src/harfbuzz-open-private.h | 81 +++++++++++++++++------------- - src/harfbuzz-open.c | 111 ++++++++++++++++++++++++------------------ - src/harfbuzz.c | 1 + - 16 files changed, 315 insertions(+), 235 deletions(-) - -commit 7cdfb61deefd8f43edb5eb79d45d38dbbbef9051 -Author: Behdad Esfahbod -Date: Thu Oct 11 07:46:33 2007 +0000 - - Remove FTGLUE_API/APIDEF cruft. - - 2007-10-11 Behdad Esfahbod - - * pango/opentype/ftglue.[ch]: Remove FTGLUE_API/APIDEF cruft. - - src/ftglue.c | 16 ++++++++-------- - src/ftglue.h | 24 ++++++++---------------- - 2 files changed, 16 insertions(+), 24 deletions(-) - -commit 61ddbafaaad31ccacde54cad7e60a84abffc0a9f -Author: Behdad Esfahbod -Date: Thu Oct 11 07:45:26 2007 +0000 - - Build harfbuzz.c instead of individual source files, to let compiler go - - 2007-10-11 Behdad Esfahbod - - * pango/opentype/Makefile.am: Build harfbuzz.c instead of individual - source files, to let compiler go wild with optimizations! - - src/Makefile.am | 9 +++++---- - 1 file changed, 5 insertions(+), 4 deletions(-) - -commit a219b3d003d6727c79dc51282d21e9ac48c44458 -Author: Behdad Esfahbod -Date: Thu Oct 11 07:34:08 2007 +0000 - - Same here. - - 2007-10-11 Behdad Esfahbod - - * pango/opentype/harfbuzz.c: Same here. - - src/harfbuzz.c | 1 - - 1 file changed, 1 deletion(-) - -commit 6567e16e3b14c08659342bbcc9f2735e71f9114e -Author: Behdad Esfahbod -Date: Thu Oct 11 07:33:19 2007 +0000 - - Don't include harfbuzz-dump.[ch] in libharfbuzz.a. Those are just used by - - 2007-10-11 Behdad Esfahbod - - * pango/opentype/Makefile.am: Don't include harfbuzz-dump.[ch] in - libharfbuzz.a. Those are just used by the harfbuzz-dump tool. - - src/Makefile.am | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 0b032549ba7581c879a0fc4e794b0e9a4723ae85 -Author: Behdad Esfahbod -Date: Thu Oct 11 07:24:47 2007 +0000 - - Some more cleanup. - - 2007-10-11 Behdad Esfahbod - - * pango/opentype/harfbuzz-buffer.c: Some more cleanup. - - src/harfbuzz-buffer.c | 11 ++--------- - 1 file changed, 2 insertions(+), 9 deletions(-) - -commit 7a26864308bd1ca8d5f47d798411cac7239b7d38 -Author: Behdad Esfahbod -Date: Thu Oct 11 07:21:31 2007 +0000 - - Move some code around. - - 2007-10-11 Behdad Esfahbod - - * pango/opentype/harfbuzz-buffer.c: Move some code around. - - src/harfbuzz-buffer.c | 91 +++++++++++++++++++++++++++------------------------ - 1 file changed, 48 insertions(+), 43 deletions(-) - -commit 7a5405c8261573a0f29d28fb533e800d698f6129 -Author: Behdad Esfahbod -Date: Thu Oct 11 07:15:16 2007 +0000 - - Minor. - - src/harfbuzz-buffer.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 986f4fd96892ebda550793941bb1daed862c4a34 -Author: Behdad Esfahbod -Date: Thu Oct 11 07:12:49 2007 +0000 - - Rename buffer->inplace to buffer->separate_out with the inverted meaning, - - 2007-10-11 Behdad Esfahbod - - * pango/opentype/harfbuzz-buffer.[ch]: Rename buffer->inplace to - buffer->separate_out with the inverted meaning, such that buffer - is initialization is memset(0). - - src/harfbuzz-buffer.c | 34 +++++++++++++++++----------------- - src/harfbuzz-buffer.h | 2 +- - 2 files changed, 18 insertions(+), 18 deletions(-) - -commit 06003908ccf2473366816935dd1b144cde587be9 -Author: Behdad Esfahbod -Date: Thu Oct 11 07:05:09 2007 +0000 - - Allocate buffer->positions lazily. - - 2007-10-11 Behdad Esfahbod - - * pango/opentype/*: Allocate buffer->positions lazily. - - src/harfbuzz-buffer.c | 25 +++++++++++++++++++++++-- - src/harfbuzz-buffer.h | 3 +++ - src/harfbuzz-gpos.c | 13 ++++++++----- - src/harfbuzz-gsub.c | 5 +++-- - 4 files changed, 37 insertions(+), 9 deletions(-) - -commit fc3d6f575826704a0ae9ee9018323f6a3c422f4b -Author: Behdad Esfahbod -Date: Thu Oct 11 06:52:07 2007 +0000 - - Bug 485621 – Get rid of freetype memory allocator in harfbuzz - - 2007-10-11 Behdad Esfahbod - - Bug 485621 – Get rid of freetype memory allocator in harfbuzz - - * pango/opentype/*: Remove all occurences of FT_Memory. Use - malloc/realloc/free directly. - - * pango/pango-ot*: Update to above. - - src/ftglue.c | 52 ++--- - src/ftglue.h | 28 ++- - src/harfbuzz-buffer.c | 16 +- - src/harfbuzz-buffer.h | 4 +- - src/harfbuzz-gdef.c | 106 ++++------ - src/harfbuzz-gdef.h | 6 +- - src/harfbuzz-gpos-private.h | 1 - - src/harfbuzz-gpos.c | 462 ++++++++++++++++++-------------------------- - src/harfbuzz-gpos.h | 2 - - src/harfbuzz-gsub-private.h | 1 - - src/harfbuzz-gsub.c | 312 +++++++++++------------------- - src/harfbuzz-gsub.h | 2 - - src/harfbuzz-open-private.h | 25 ++- - src/harfbuzz-open.c | 127 ++++++------ - 14 files changed, 441 insertions(+), 703 deletions(-) - -commit a8abb8b994c3cd89808e8f7128a0c04b23eb3ede -Author: Behdad Esfahbod -Date: Thu Oct 11 00:07:58 2007 +0000 - - Bug 485559 – Boston Summit HarfBuzz optimizations - - 2007-10-10 Behdad Esfahbod - - Bug 485559 – Boston Summit HarfBuzz optimizations - - * pango/opentype/*: HarfBuzz hacking to: - - - Rename last remaining FT_Err stuff to HB_Err. - - - Fix a couple invalid table paths to be permissive so - fonts work better. Particularly GDEF table for Nafees - Nastaliq is loaded and works great now. - - - Optimize harfbuzz buffer to not copy/swap for simple - one-to-one and "copy" GSUB operations. - - * pango/pango-ot*: Update to FT_Err to HB_Err renaming. - - src/ftglue.c | 51 ++- - src/ftglue.h | 21 +- - src/harfbuzz-buffer.c | 190 +++++++-- - src/harfbuzz-buffer.h | 26 +- - src/harfbuzz-dump-main.c | 14 +- - src/harfbuzz-dump.c | 15 +- - src/harfbuzz-gdef-private.h | 4 +- - src/harfbuzz-gdef.c | 149 +++---- - src/harfbuzz-gdef.h | 10 +- - src/harfbuzz-gpos-private.h | 2 +- - src/harfbuzz-gpos.c | 810 ++++++++++++++++++-------------------- - src/harfbuzz-gpos.h | 30 +- - src/harfbuzz-gsub-private.h | 2 +- - src/harfbuzz-gsub.c | 919 +++++++++++++++++++------------------------- - src/harfbuzz-gsub.h | 24 +- - src/harfbuzz-impl.h | 22 +- - src/harfbuzz-open-private.h | 20 +- - src/harfbuzz-open.c | 238 ++++++------ - src/harfbuzz-open.h | 13 +- - 19 files changed, 1253 insertions(+), 1307 deletions(-) - -commit dd810b76bc554278d3a226cf89901d16992cf56d -Author: Behdad Esfahbod -Date: Wed Aug 29 08:46:50 2007 +0000 - - Bug 302952 – The placement of a diacritic marks for an arabic ligature - - 2007-08-29 Behdad Esfahbod - - Bug 302952 – The placement of a diacritic marks for an arabic ligature - is not correct - - * pango/opentype/harfbuzz-buffer.c (hb_buffer_allocate_ligid): Don't - use zero as allocated ligature id. Zero means no ligature id. - - src/harfbuzz-buffer.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit e90d19919434b90d79e67aaf199bddd991f8e5d8 -Author: Behdad Esfahbod -Date: Tue Aug 21 08:03:26 2007 +0000 - - Bug 463430 – Gets stuck while "formatting message" - - 2007-08-21 Behdad Esfahbod - - Bug 463430 – Gets stuck while "formatting message" - - * pango/opentype/harfbuzz-gpos.c (Lookup_PairPos1), - (Lookup_PairPos2), (Lookup_PairPos), (Do_ContextPos): - * pango/opentype/harfbuzz-gsub.c (Do_ContextSubst): - Change type of intermediate index variable from FT_UShort to - FT_ULong as it was overlowing with more than 65536 glyphs. - - src/harfbuzz-gpos.c | 15 ++++++++++----- - src/harfbuzz-gsub.c | 2 +- - 2 files changed, 11 insertions(+), 6 deletions(-) - -commit 13b86ee398905f96f57df001309312f6dfdfea9a -Author: Behdad Esfahbod -Date: Tue Aug 21 01:38:07 2007 +0000 - - Don't ignore error return value of hb_buffer_copy_output_glyph(). Patch - - 2007-08-20 Behdad Esfahbod - - * pango/opentype/harfbuzz-gsub.c (GSUB_Do_String_Lookup): Don't - ignore error return value of hb_buffer_copy_output_glyph(). Patch - sent to harfbuzz-list. - - src/harfbuzz-gsub.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 4c2556cb4c38a56c3a5087deb54aa6262ab3aff9 -Author: Behdad Esfahbod -Date: Fri Jul 6 11:29:21 2007 -0400 - - [gdef] Initial implementation - - src/harfbuzz-gdef-private.h | 144 +++++++++++++++++++++++++++++++++++++++++++- - 1 file changed, 142 insertions(+), 2 deletions(-) - -commit 5b2e947fd2b7c5ea49b2bef1e0190d99a525058c -Author: Behdad Esfahbod -Date: Fri Jul 6 02:03:26 2007 -0400 - - [open] small fixes, including not using unions for main structs - - src/harfbuzz-open-private.h | 54 ++++++++++++++++++++++++--------------------- - 1 file changed, 29 insertions(+), 25 deletions(-) - -commit 151df44346990728b5dd249db5740a9543ae33b9 -Author: Behdad Esfahbod -Date: Thu Jul 5 17:22:07 2007 -0400 - - Improve stupid Makefile - - src/Makefile | 2 ++ - 1 file changed, 2 insertions(+) - -commit 6c49bebc70a0118a803a5bc979f4436a82b48240 -Author: Behdad Esfahbod -Date: Tue May 1 02:32:12 2007 +0000 - - Link freetype to harfbuzz-dump, for those systems that don't track - - 2007-04-30 Behdad Esfahbod - - * pango/opentype/Makefile.am: Link freetype to harfbuzz-dump, for - those systems that don't track dependencies automatically. - - src/Makefile.am | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit 7341a116916c8470f1211f0cb3c65b189b42ec9e -Author: Behdad Esfahbod -Date: Tue Apr 3 22:45:29 2007 +0000 - - Copy fixes from harfbuzz stable branch. Includes a leak fix, a kerning - - 2007-04-03 Behdad Esfahbod - - * pango/opentype/harfbuzz-gdef.c (_HB_GDEF_Check_Property): - * pango/opentype/harfbuzz-gpos.c (HB_Done_GPOS_Table), - (Lookup_PairPos): - * pango/opentype/harfbuzz-open.c (Get_Class1): - Copy fixes from harfbuzz stable branch. Includes a leak fix, - a kerning fix, and an array out-of-bound access fix. - - src/harfbuzz-gdef.c | 2 ++ - src/harfbuzz-gpos.c | 8 ++++++++ - src/harfbuzz-open.c | 2 +- - 3 files changed, 11 insertions(+), 1 deletion(-) - -commit 999a6f05758c10a902354457ecbf6c943bfed514 -Author: Hans Breuer -Date: Sat Jan 13 21:31:41 2007 +0000 - - updated - - 2007-01-13 Hans Breuer - - * pango/makefile.msc pango/opentype/makefile.msc : updated - - src/makefile.msc | 16 ++++++---------- - 1 file changed, 6 insertions(+), 10 deletions(-) - -commit 3c038d40da4bfe5037cc4e9de22bad08fa408465 -Author: Behdad Esfahbod -Date: Tue Jan 9 03:32:12 2007 +0000 - - Remove .cvsignore files (moved to svn:ignore prop) - - src/.cvsignore | 7 ------- - 1 file changed, 7 deletions(-) - -commit 5b3f7702a64fe0513d08a67bdb72704e46fd7cd4 -Author: Behdad Esfahbod -Date: Thu Dec 28 06:42:37 2006 -0500 - - Add stub GDEF files - - src/harfbuzz-gdef-private.h | 8 ++++++++ - src/harfbuzz-gdef.h | 11 +++++++++++ - src/harfbuzz-open-private.h | 3 +-- - src/harfbuzz-private.h | 6 ++++++ - src/main.cc | 1 + - 5 files changed, 27 insertions(+), 2 deletions(-) - -commit b3395a7aa36ff1ba5a17f494fbf359ec317a7e69 -Author: Behdad Esfahbod -Date: Thu Dec 28 06:31:18 2006 -0500 - - Don't shift down the mark attachment type - - src/harfbuzz-open-private.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 193b66d52ae2cb5ced7969e15b7f56dc1978ca8a -Author: Behdad Esfahbod -Date: Thu Dec 28 06:12:18 2006 -0500 - - Remove stale comment - - src/harfbuzz-open-private.h | 10 ---------- - 1 file changed, 10 deletions(-) - -commit 12c4568c680ea2b9b98a16a8b7402ca185c90ef6 -Author: Behdad Esfahbod -Date: Thu Dec 28 06:10:59 2006 -0500 - - Break and rename, in the layout of old HarfBuzz codebase - - src/.gitignore | 1 + - src/Makefile | 2 +- - src/harfbuzz-common.h | 14 +++ - src/{harfbuzz-ng.cc => harfbuzz-open-private.h} | 117 ++---------------------- - src/harfbuzz-open.h | 13 +++ - src/main.cc | 98 ++++++++++++++++++++ - 6 files changed, 133 insertions(+), 112 deletions(-) - -commit 3158d84b0dfe5032e7c56c03f2da97b8ab549d94 -Author: Behdad Esfahbod -Date: Wed Dec 27 20:08:07 2006 -0500 - - Oops. s/OpenTypeFontFaceFile/OpenTypeFontFile/g - - src/harfbuzz-ng.cc | 22 +++++++++++----------- - 1 file changed, 11 insertions(+), 11 deletions(-) - -commit bf0f9dd61375c5afce8e6b1664d0df5f6c8b2494 -Author: Behdad Esfahbod -Date: Wed Dec 27 20:06:42 2006 -0500 - - Use union for ClassDef - - src/harfbuzz-ng.cc | 12 +++++++----- - 1 file changed, 7 insertions(+), 5 deletions(-) - -commit c46196d09c4ea879bf45182e8a0d649d4c750c39 -Author: Behdad Esfahbod -Date: Wed Dec 27 20:05:16 2006 -0500 - - Use union for Coverage - - src/harfbuzz-ng.cc | 21 +++++++++++---------- - 1 file changed, 11 insertions(+), 10 deletions(-) - -commit 86f450243dbaa82f187cf2d36364e9a59c0e64c7 -Author: Behdad Esfahbod -Date: Wed Dec 27 19:59:07 2006 -0500 - - Add GPOS stub - - src/harfbuzz-ng.cc | 3 +++ - 1 file changed, 3 insertions(+) - -commit 133466177e104ddcd2501a88735670540252167c -Author: Behdad Esfahbod -Date: Wed Dec 27 19:58:32 2006 -0500 - - s/OpenTypeFont/OpenTypeFontFace/g - - src/harfbuzz-ng.cc | 44 +++++++++++++++++++++++--------------------- - 1 file changed, 23 insertions(+), 21 deletions(-) - -commit 71d62baab0429cdf56ba4019fd2a205f08188503 -Author: Behdad Esfahbod -Date: Wed Dec 27 01:29:24 2006 -0500 - - GSUBGPOSHeader - - src/harfbuzz-ng.cc | 103 ++++++++++++++++++++++++++++++++++++++++++++++++++--- - 1 file changed, 98 insertions(+), 5 deletions(-) - -commit eebabd8b2ec5296deba6b09d7755933da0a7d9dc -Author: Behdad Esfahbod -Date: Wed Dec 27 00:21:31 2006 -0500 - - Finished OpenType Common Table Formats - - src/harfbuzz-ng.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 2b7374519766825971f9f4ff5b1cb49b74cfcaf8 -Author: Behdad Esfahbod -Date: Tue Dec 26 20:55:37 2006 -0500 - - Device tables. - - src/harfbuzz-ng.cc | 49 +++++++++++++++++++++++++++++++++++++++++++++---- - 1 file changed, 45 insertions(+), 4 deletions(-) - -commit eb32e374f4d6de8d428d36144f6eef93514820d2 -Author: Behdad Esfahbod -Date: Tue Dec 26 20:00:33 2006 -0500 - - ClassDef - - src/harfbuzz-ng.cc | 121 ++++++++++++++++++++++++++++++++++++++++++----------- - 1 file changed, 97 insertions(+), 24 deletions(-) - -commit 53502c6723dbf9cd3b6ba91b733678b3c7871715 -Author: Behdad Esfahbod -Date: Tue Dec 26 19:29:08 2006 -0500 - - Rename CoverageFormat to Coverage - - src/harfbuzz-ng.cc | 18 +++++++++++++----- - 1 file changed, 13 insertions(+), 5 deletions(-) - -commit 0d6db2abcbe98456569ccf7934ba0a8b37c7f6f3 -Author: Behdad Esfahbod -Date: Tue Dec 26 18:53:55 2006 -0500 - - Define more structs using DEFINE_INT_TYPE. - - src/harfbuzz-ng.cc | 39 +++++++++++++++++++-------------------- - 1 file changed, 19 insertions(+), 20 deletions(-) - -commit 915931b74a30e8652fac5fec153d499485513f63 -Author: Behdad Esfahbod -Date: Tue Dec 26 15:30:14 2006 -0500 - - s/DEFINE_NOT_INSTANTIABLE/DEFINE_NON_INSTANTIABLE/ - - src/harfbuzz-ng.cc | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 0c0d55330ef4090f3e4864538e83a4344caaf3ba -Author: Behdad Esfahbod -Date: Tue Dec 26 15:29:38 2006 -0500 - - Coverage. - - src/harfbuzz-ng.cc | 91 +++++++++++++++++++++++++++++++++++++++++++++++------- - 1 file changed, 79 insertions(+), 12 deletions(-) - -commit 882e52f59196535495af8ca8069df32308ad52cf -Author: Behdad Esfahbod -Date: Mon Dec 25 10:28:31 2006 -0500 - - Rename to harfbuzz-ng.cc - - src/Makefile | 2 +- - src/{hb-types-private.cc => harfbuzz-ng.cc} | 0 - 2 files changed, 1 insertion(+), 1 deletion(-) - -commit f8ba99f6f322800a915428ffc3b5eaf1be2e6c21 -Author: Behdad Esfahbod -Date: Mon Dec 25 09:58:02 2006 -0500 - - LookupFlags - - src/hb-types-private.cc | 52 ++++++++++++++++++++++++++++++++++++++++++++----- - 1 file changed, 47 insertions(+), 5 deletions(-) - -commit 25ad92c8a68bf72464601a644ed57b9213126a78 -Author: Behdad Esfahbod -Date: Mon Dec 25 09:35:06 2006 -0500 - - Implement Feature - - src/hb-types-private.cc | 46 ++++++++++++++++++++++++++++++++++++++++++---- - 1 file changed, 42 insertions(+), 4 deletions(-) - -commit befc022affd2386b3f46cd7d11e4262f6c8bce9f -Author: Behdad Esfahbod -Date: Mon Dec 25 09:14:52 2006 -0500 - - LangSys - - src/hb-types-private.cc | 51 ++++++++++++++++++++++++++++++++++++++++++------- - 1 file changed, 44 insertions(+), 7 deletions(-) - -commit c81efca149b08832d5d96a944fb5f303f3d0ca42 -Author: Behdad Esfahbod -Date: Mon Dec 25 06:22:08 2006 -0500 - - Use CamelCaseTags. - - src/hb-types-private.cc | 29 ++++++++++++++--------------- - 1 file changed, 14 insertions(+), 15 deletions(-) - -commit 808dbe283c1ad66091f2cb67380888b7cf265c01 -Author: Behdad Esfahbod -Date: Mon Dec 25 06:18:52 2006 -0500 - - Make types not instantiable - - src/hb-types-private.cc | 104 ++++++++++++++++++++++++++---------------------- - 1 file changed, 57 insertions(+), 47 deletions(-) - -commit b739c05ca4b7acfa45bd4b0812ecbb3747f726f0 -Author: Behdad Esfahbod -Date: Mon Dec 25 05:39:20 2006 -0500 - - Add OpenTypeFontFile. - - src/Makefile | 2 +- - src/hb-types-private.cc | 113 +++++++++++++++++++++++++++++++++++++++++++++--- - 2 files changed, 107 insertions(+), 8 deletions(-) - -commit 8596944b7421f982960e825019fc0263442520cb -Author: Behdad Esfahbod -Date: Sat Dec 23 17:49:25 2006 -0500 - - Add Makefile - - src/Makefile | 3 +++ - 1 file changed, 3 insertions(+) - -commit b6e62bc5db76ae342177b2b646c37f45eccad975 -Author: Behdad Esfahbod -Date: Fri Dec 22 02:21:55 2006 -0500 - - After DEFINE_SCRIPT_ARRAY - - src/hb-types-private.cc | 215 +++++++++++++++++++++++++++++++----------------- - 1 file changed, 140 insertions(+), 75 deletions(-) - -commit 01e4fcb032be601f272e62228881e2aabfb9d925 -Author: Behdad Esfahbod -Date: Thu Dec 21 22:31:31 2006 -0500 - - Remove the annoying HB_ prefix. - - src/hb-types-private.cc | 107 +++++++++++++++++++++++------------------------- - 1 file changed, 52 insertions(+), 55 deletions(-) - -commit 6b4ce01da121e12e1c78ad7eaedf469f35f3568d -Author: Behdad Esfahbod -Date: Thu Dec 21 22:31:10 2006 -0500 - - Second version. Complete redesign, based on C++ classes to ensure endian - correctness. - - src/hb-types-private.cc | 300 +++++++++++++++++++++++++++++++++--------------- - 1 file changed, 205 insertions(+), 95 deletions(-) - -commit f78e70c301311ffcfb007c7fc4125d71cbcff1e2 -Author: Behdad Esfahbod -Date: Thu Dec 21 22:30:38 2006 -0500 - - First version. - - src/hb-types-private.cc | 116 ++++++++++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 116 insertions(+) - -commit f726b20e56e8b1106dfde0bf8d575c73e83957c4 -Author: Behdad Esfahbod -Date: Tue Jul 25 01:02:27 2006 +0000 - - Bug 347073 – Allow empty GPOS table - - 2006-07-24 Behdad Esfahbod - - Bug 347073 – Allow empty GPOS table - - * pango/opentype/harfbuzz-open.c (_HB_OPEN_Load_ScriptList): Don't - err on empty GPOS/GSUB tables. - - src/harfbuzz-open.c | 5 +++++ - 1 file changed, 5 insertions(+) - -commit 52481a5c55d466f41654dcdc67245d0ca8cefbcf -Author: Behdad Esfahbod -Date: Thu Jun 22 18:09:04 2006 +0000 - - Bug 345600 – cvs build error in pango/opentype/Makefile - - 2006-06-22 Behdad Esfahbod - - Bug 345600 – cvs build error in pango/opentype/Makefile - - * pango/opentype/Makefile.am: Rename variable SOURCES to MAINSOURCES. - Some automake versions seem to use it or something. - - src/Makefile.am | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit ffb2d5c1e7af33644d0a4058befa4b8358c9a7bf -Author: Behdad Esfahbod -Date: Wed May 31 07:42:55 2006 +0000 - - Bug 341138 – Using TTC font, Gtk2 programs begin to eating big memory - - 2006-05-31 Behdad Esfahbod - - Bug 341138 – Using TTC font, Gtk2 programs begin to eating big memory - and have many cpu usage. - Patch from Yong Li. - - * pango/opentype/ftglue.c (_hb_ftglue_face_goto_table): TrueType table - offsets are absolute, not relative. - - src/ftglue.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit f8f7bd2451eeafb57f5c80c7b4e88a1e50b97c4f -Author: Behdad Esfahbod -Date: Wed May 31 07:23:02 2006 +0000 - - Bug 336153 – Mark to mark positioning (Lookup Type 6) isn't correct when - - 2006-05-31 Behdad Esfahbod - - Bug 336153 – Mark to mark positioning (Lookup Type 6) isn't correct - when using MarkAttchmentType - Patch from Tin Myo Htet. - - * pango/opentype/harfbuzz-gpos.c (Lookup_MarkMarkPos): Ignore marks - of non-matchin attachment type. - - src/harfbuzz-gpos.c | 37 ++++++++++++++++++++++--------------- - 1 file changed, 22 insertions(+), 15 deletions(-) - -commit d2a613187c1257371d62153b55c89336965e0754 -Author: Behdad Esfahbod -Date: Wed Apr 12 18:47:50 2006 +0000 - - Fix loop variables. (coverity found bug.) - - 2006-04-12 Behdad Esfahbod - - * pango/opentype/harfbuzz-gpos.c: Fix loop variables. (coverity - found bug.) - - src/harfbuzz-gpos.c | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 14022e826f63c48b689f9037645c9a3a3302d9b6 -Author: Behdad Esfahbod -Date: Tue Apr 11 08:31:44 2006 +0000 - - Bug 337924 – cleanups for issues reported by various compilers Patch - - 2006-04-11 Behdad Esfahbod - - Bug 337924 – cleanups for issues reported by various compilers - Patch from Kjartan Maraas. - - * examples/viewer-x.c (update): - * modules/arabic/arabic-fc.c (fallback_shape), - (arabic_engine_shape): - * modules/basic/basic-fc.c (fallback_shape), (basic_engine_shape): - * modules/basic/basic-x.c: - * modules/hangul/hangul-fc.c: - * modules/hebrew/hebrew-fc.c (hebrew_engine_shape): - * modules/indic/indic-fc.c: - * modules/khmer/khmer-fc.c: - * modules/syriac/syriac-fc.c: - * modules/thai/thai-fc.c: - * modules/tibetan/tibetan-fc.c: - * pango/break.c: - * pango/modules.c: - * pango/opentype/ftglue.c (_hb_ftglue_face_goto_table): - * pango/pango-attributes.c (pango_attr_list_filter): - * pango/pango-engine.c: - * pango/pango-fontset.c: - * pango/pango-layout.c (pango_layout_set_text), - (pango_layout_xy_to_index), (pango_layout_get_cursor_pos): - * pango/pango-markup.c (text_handler): - * pango/pango-utils.c (read_alias_file): - * pango/pangocairo-fcfont.c (G_DEFINE_TYPE_WITH_CODE): - * pango/pangocairo-fcfontmap.c (G_DEFINE_TYPE_WITH_CODE): - * pango/pangocairo-font.c (_pango_cairo_font_get_hex_box_info): - * pango/pangox-fontmap.c (pango_x_make_matching_xlfd): - * tests/dump-boundaries.c (fail): - Remove unused variables. Remove excess semicolon after DEFINE_TYPE - macros. - - src/ftglue.c | 2 -- - 1 file changed, 2 deletions(-) - -commit 59aafd07806a2f0d4f399eff13aec74557f60522 -Author: Behdad Esfahbod -Date: Mon Apr 10 10:33:17 2006 +0000 - - Fix minor bugs reported by the Coverity scan report. - - 2006-04-10 Behdad Esfahbod - - Fix minor bugs reported by the Coverity scan report. - - * pango/opentype/harfbuzz-gdef.c (HB_GDEF_Build_ClassDefinition): - * pango/opentype/harfbuzz-gpos.c (HB_GPOS_Query_Scripts), - (HB_GPOS_Query_Languages), (HB_GPOS_Query_Features): Do not access - structs before we check them for nullity. - - * pango/pango-layout.c (pango_layout_index_to_line), - (pango_layout_index_to_line_and_extents), - (pango_layout_index_to_pos): Check for invalid iterators outside the - loop, so we don't crash. - - * pango/pango-layout.c (pango_layout_line_x_to_index): Set - char_trailing instead of trailing in one of too many paths. Should - have been a typo. - - * pango/pangox.c (get_font_metrics_from_subfonts): Check for nullity - somewhere. - - src/harfbuzz-gdef.c | 3 ++- - src/harfbuzz-gpos.c | 9 ++++++--- - 2 files changed, 8 insertions(+), 4 deletions(-) - -commit b31d6def96ff99e89ba42e09661992498bda460d -Author: Behdad Esfahbod -Date: Thu Apr 6 18:23:49 2006 +0000 - - Update from HarfBuzz. Lars Knoll fixed all the warnings. - - 2006-04-06 Behdad Esfahbod - - * pango/opentype: Update from HarfBuzz. Lars Knoll fixed all the - warnings. - - src/harfbuzz-dump.c | 94 ++++++++++++++++++++++++++++--------------- - src/harfbuzz-gpos.c | 80 ++++++++++++++++++++++-------------- - src/harfbuzz-gsub.c | 114 +++++++++++++++++++++++++++++----------------------- - src/harfbuzz-impl.h | 4 ++ - 4 files changed, 179 insertions(+), 113 deletions(-) - -commit ca57250bc9d9f92c88a2ea516e251b9cbfdebda0 -Author: Behdad Esfahbod -Date: Mon Apr 3 20:13:17 2006 +0000 - - Make sure TTAG_GDEF and frineds are defined, needed for FreeType <= 2.1.7 - - 2006-04-03 Behdad Esfahbod - - * pango/opentype/harfbuzz-impl.h: Make sure TTAG_GDEF and frineds are - defined, needed for FreeType <= 2.1.7 (pointed by Tim Janik). - - src/harfbuzz-gdef.c | 3 --- - src/harfbuzz-gpos.c | 3 --- - src/harfbuzz-gsub.c | 3 --- - src/harfbuzz-impl.h | 11 +++++++++++ - 4 files changed, 11 insertions(+), 9 deletions(-) - -commit f618288e00914b6606ec977d506c18e4abdd3ce4 -Author: Behdad Esfahbod -Date: Fri Mar 31 13:19:29 2006 +0000 - - . - - src/.cvsignore | 2 -- - 1 file changed, 2 deletions(-) - -commit 5f1f943b9e6d753722ceadba7eb7ce1f14526ea5 -Author: Behdad Esfahbod -Date: Fri Mar 31 13:18:23 2006 +0000 - - . - - src/.cvsignore | 1 + - 1 file changed, 1 insertion(+) - -commit bce3e0b0d4ee521767d80c5c21704337bf5ac716 -Author: Behdad Esfahbod -Date: Fri Mar 31 12:45:40 2006 +0000 - - Define NULL. - - src/harfbuzz-impl.h | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -commit 9f8da38cd108590514b71756b752d98952a9221f -Author: Behdad Esfahbod -Date: Fri Mar 31 12:28:09 2006 +0000 - - Convert pango/opentype to the new project called HarfBuzz. - - 2006-03-31 Behdad Esfahbod - - Convert pango/opentype to the new project called HarfBuzz. - - * pango/opentype/*: Restructured. - - * pango/pango-ot-*: Updated to use HarfBuzz symbol names. - - src/COPYING | 15 + - src/{FTL.TXT => COPYING.FTL} | 0 - src/COPYING.GPL | 340 ++ - src/FT-license.txt | 28 - - src/Makefile.am | 89 +- - src/README | 44 +- - src/ftglue.c | 88 +- - src/ftglue.h | 68 +- - src/ftxgdef.c | 1225 ------- - src/ftxgdef.h | 224 -- - src/ftxgpos.c | 6199 ------------------------------- - src/ftxgpos.h | 838 ----- - src/ftxgsub.c | 4533 ----------------------- - src/ftxgsub.h | 594 --- - src/ftxopen.c | 1552 -------- - src/ftxopen.h | 317 -- - src/ftxopenf.h | 166 - - src/harfbuzz-buffer.c | 227 ++ - src/harfbuzz-buffer.h | 106 + - src/{ottest.c => harfbuzz-dump-main.c} | 84 +- - src/{disasm.c => harfbuzz-dump.c} | 186 +- - src/{disasm.h => harfbuzz-dump.h} | 18 +- - src/harfbuzz-gdef-private.h | 101 + - src/harfbuzz-gdef.c | 1228 +++++++ - src/harfbuzz-gdef.h | 127 + - src/harfbuzz-gpos-private.h | 683 ++++ - src/harfbuzz-gpos.c | 6269 ++++++++++++++++++++++++++++++++ - src/harfbuzz-gpos.h | 168 + - src/harfbuzz-gsub-private.h | 448 +++ - src/harfbuzz-gsub.c | 4581 +++++++++++++++++++++++ - src/harfbuzz-gsub.h | 132 + - src/harfbuzz-impl.h | 64 + - src/harfbuzz-open-private.h | 81 + - src/harfbuzz-open.c | 1426 ++++++++ - src/harfbuzz-open.h | 285 ++ - src/harfbuzz.c | 19 + - src/harfbuzz.h | 23 + - src/otlbuffer.c | 238 -- - src/otlbuffer.h | 103 - - 39 files changed, 16582 insertions(+), 16335 deletions(-) - -commit dd2a8d4d490df1d310e7553ba6c7c8de661f28a1 -Author: Behdad Esfahbod -Date: Sat Mar 25 23:52:30 2006 +0000 - - Don't err on Table_Missing. - - 2006-03-25 Behdad Esfahbod - - * pango/opentype/ottest.c: Don't err on Table_Missing. - - src/ottest.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 434833b1b7b01d85a143f9ad4b04e7044dd72567 -Author: Behdad Esfahbod -Date: Mon Mar 13 05:06:05 2006 +0000 - - === Released 1.12.0 === - - 2006-03-13 Behdad Esfahbod - - * === Released 1.12.0 === - - * configure.in: Version 1.12.0 - - * NEWS, README: Updated. - - src/README | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 8228828e1e4c8dd6f9435fb718ad4394bba95655 -Author: Behdad Esfahbod -Date: Mon Jan 30 22:37:48 2006 +0000 - - Handle GSUB Lookup type 8, and ReverseChainContextualSubst table. (bug - - 2006-01-30 Behdad Esfahbod - - * pango/opentype/ftxgsub.c: Handle GSUB Lookup type 8, - and ReverseChainContextualSubst table. (bug #149696, - patch from Aamir Wali) - - src/ftxgsub.c | 545 ++++++++++++++++++++++++++++++++++++++++++++++----------- - src/ftxgsub.h | 47 +++-- - src/ftxopen.c | 7 + - src/ftxopenf.h | 5 +- - 4 files changed, 487 insertions(+), 117 deletions(-) - -commit e040f681963d51eaadcd53a456100fde1a7addb6 -Author: Behdad Esfahbod -Date: Sat Jan 28 20:29:18 2006 +0000 - - Removed. - - 2006-01-28 Behdad Esfahbod - - * pango/opentype/pango-ot-*: Removed. - - * pango/pango-ot-*: Added. - - * pango/Makefile.am, pango/opentype/Makefile.am: Adjusted. - - src/Makefile.am | 30 +-- - src/pango-ot-buffer.c | 339 ------------------------ - src/pango-ot-info.c | 681 ------------------------------------------------- - src/pango-ot-private.h | 105 -------- - src/pango-ot-ruleset.c | 225 ---------------- - 5 files changed, 13 insertions(+), 1367 deletions(-) - -commit f45689bc655eb723f11a2eb65a41303221b80397 -Author: Behdad Esfahbod -Date: Wed Jan 25 19:33:58 2006 +0000 - - If major.minor of required and available glib versions are the same, add - - 2006-01-25 Behdad Esfahbod - - * configure.in: If major.minor of required and available glib versions - are the same, add -DG_DISABLE_DEPRECATED to GLIB_CFLAGS. (bug #328617) - - * */Makefile.am: Remove hardcoded -DG_DISABLE_DEPRECATED. - - src/Makefile.am | 1 - - 1 file changed, 1 deletion(-) - -commit 6cc6c9a57c674787f278ea5b60705384fd72b4ad -Author: Behdad Esfahbod -Date: Sat Jan 14 07:00:13 2006 +0000 - - Make sure #include is the first include in the file. (bug - - 2006-01-14 Behdad Esfahbod - - * */*.c, */*/*.c: Make sure #include is the first include - in the file. (bug #158870, based on patch by Luis Menina) - - src/disasm.c | 2 ++ - src/ftglue.c | 1 + - src/ftxgdef.c | 1 + - src/ftxgpos.c | 2 ++ - src/ftxgsub.c | 2 ++ - src/ftxopen.c | 2 ++ - src/otlbuffer.c | 3 +++ - src/ottest.c | 1 + - src/pango-ot-buffer.c | 2 ++ - src/pango-ot-info.c | 2 ++ - src/pango-ot-ruleset.c | 2 ++ - 11 files changed, 20 insertions(+) - -commit ca07fcf6ef61c09825e67ca7e2574a90e4f5a9a0 -Author: Behdad Esfahbod -Date: Thu Jan 5 16:14:49 2006 +0000 - - pango/Makefile.am, pango/fonts.c, pango/glyphstring.c, - - 2006-01-05 Behdad Esfahbod - - * pango/Makefile.am, - * pango/fonts.c, - * pango/glyphstring.c, - * pango/pango-attributes.c, - * pango/pango-color.c, - * pango/pango-impl-utils.h, - * pango/pango-item.c, - * pango/pango-layout.c, - * pango/pango-tabs.c, - * pango/pango-utils.c, - * pango/pango-utils.h, - * pango/pangoatsui-fontmap.c, - * pango/pangocairo-font.c, - * pango/pangocairo-fontmap.c, - * pango/pangofc-fontmap.c, - * pango/pangowin32-fontmap.c, - * pango/pangox-fontmap.c, - * pango/pangox.c, - * pango/opentype/pango-ot-info.c, - * pango/opentype/pango-ot-ruleset.c: Intern strings to avoid - unnecessary strdups in the type system. (bug #325832, Matthias Clasen) - - src/pango-ot-info.c | 3 ++- - src/pango-ot-ruleset.c | 3 ++- - 2 files changed, 4 insertions(+), 2 deletions(-) - -commit 71524f1bc891bb4450507f769e5cc8f6f6cffa0c -Author: Behdad Esfahbod -Date: Tue Dec 27 09:55:48 2005 +0000 - - Use g_slice for PangoOTBuffer allocation. (bug #325026, Matthias Clasen) - - 2005-12-27 Behdad Esfahbod - - * pango/opentype/pango-ot-buffer.c: Use g_slice for PangoOTBuffer - allocation. (bug #325026, Matthias Clasen) - - src/pango-ot-buffer.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit b5baa43d3a972ebd3ef82ede14b54c185b723a71 -Author: Behdad Esfahbod -Date: Fri Nov 25 09:22:02 2005 +0000 - - Tiny doc improvement. - - src/pango-ot-info.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 6f64314f7a031a5a5d6b7663c08b70c452961c89 -Author: Behdad Esfahbod -Date: Wed Nov 23 19:48:10 2005 +0000 - - Fix typo in docs. - - 2005-11-23 Behdad Esfahbod - - * pango/opentyp/pango-ot-buffer.c: Fix typo in docs. - - src/pango-ot-buffer.c | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit f2bcf72296b57c8cd7d5a08228c3aef6c8f97d2d -Author: Behdad Esfahbod -Date: Wed Nov 23 17:54:55 2005 +0000 - - Added "Since:" tags to all interfaces added after Pango 1.0. (#319116, - - 2005-11-23 Behdad Esfahbod - - * pango/fonts.c pango/pango-attributes.c pango/pango-context.c - pango/pango-glyph-item.c pango/pango-layout.c - pango/pango-script.c pango/pango-utils.c pango/pangofc-font.c - pango/pangoft2-fontmap.c pango/opentype/pango-ot-buffer.c - pango/opentype/pango-ot-ruleset.c: Added "Since:" tags to all - interfaces added after Pango 1.0. (#319116, Brian Cameron) - - src/pango-ot-buffer.c | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ - src/pango-ot-ruleset.c | 14 ++++++++++++++ - 2 files changed, 63 insertions(+) - -commit 682db81c23d2116072d8550657c914afb7c26d2b -Author: Behdad Esfahbod -Date: Wed Nov 23 15:19:48 2005 +0000 - - Protect against possible division by zeros (#316468, Steve Grubb) - - 2005-11-23 Behdad Esfahbod - - Protect against possible division by zeros (#316468, Steve Grubb) - - * pango/pango-context.c (update_metrics_from_items), - pango/pango-fontset.c (pango_fontset_real_get_metrics): If count is - zero, do not alter approximate_{char,digit}_width. - - * pango/opentype/disasm.c: Err on invalid DeltaFormat. - - src/disasm.c | 28 ++++++++++++++++++---------- - 1 file changed, 18 insertions(+), 10 deletions(-) - -commit e6e15352d154e1350340f8045759e5f7b0d86dc7 -Author: Behdad Esfahbod -Date: Wed Nov 23 11:53:03 2005 +0000 - - Reworked basic shaper with OpenType support. (#101079, based on patch from - - 2005-11-23 Behdad Esfahbod - - * modules/basic/basic-fc.c: Reworked basic shaper with OpenType - support. (#101079, based on patch from Denis Jacquerye and Noah Levitt) - - * modules/basic/basic-fc.c (basic_scripts): Added Unicode 4.1 addition - script PANGO_SCRIPT_GLAGOLITIC that is a "simple" script. - - * modules/arabic/arabic-fc.c, modules/syriac/syriac-fc.c: Replace - g_utf8_to_ucs4_fast() with g_utf8_strlen()! - - * pango/opentype/pango-ot-ruleset.c (pango_ot_ruleset_add_feature): - Remove reference in docs to pango_ot_ruleset_shape() that was - removed long ago. - - src/pango-ot-ruleset.c | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 612b6cf60928b356f4bbb59bc9d64886574322c3 -Author: Behdad Esfahbod -Date: Thu Nov 17 06:28:11 2005 +0000 - - Part of #101079: - - 2005-11-17 Behdad Esfahbod - - Part of #101079: - - * pango/opentype/ftxopen.c (Load_Lookup): In extension subtables, - offset is relative to the extension subtable, not the original - table. (Greg Aumann) - - * pango/opentype/ftxgpos.c (Load_BaseArray): When reading BaseAnchor, - skip offsets that are zero. Works around bug in Doulos SIL Regular. - - src/ftxgpos.c | 6 ++++++ - src/ftxopen.c | 6 ++++-- - 2 files changed, 10 insertions(+), 2 deletions(-) - -commit 1b2c314b804da97b1d5e7adab64bdd4177702579 -Author: Behdad Esfahbod -Date: Wed Nov 9 23:30:00 2005 +0000 - - Remove debug line that got in accidentally. - - 2005-11-09 Behdad Esfahbod - - * pango/opentype/ftxgpos.c, pango/opentype/ftxopen.c: Remove debug - line that got in accidentally. - - src/ftxgpos.c | 1 - - src/ftxopen.c | 1 - - 2 files changed, 2 deletions(-) - -commit 9717127a5be037e26afe52332a8b07f13474557a -Author: Behdad Esfahbod -Date: Fri Nov 4 23:55:38 2005 +0000 - - Turn various gcc warnings off. Adding const, adding static, fully - - 2005-11-04 Behdad Esfahbod - - * configure.in, examples/argcontext.c examples/cairoview.c, - examples/renderdemo.c, examples/renderdemo.h examples/xftview.c, - modules/basic/basic-x.c, modules/hangul/hangul-fc.c, - modules/hebrew/hebrew-shaper.c, modules/hebrew/hebrew-shaper.h, - modules/indic/indic-fc.c, modules/indic/mprefixups.c, - modules/syriac/syriac-fc.c, pango/break.c pango/fonts.c, - pango/modules.c, pango/pango-coverage.c pango/pango-engine.c, - pango/pango-engine.h, pango/pango-fontmap.c, - pango/pango-fontset.c, pango/pango-impl-utils.h, - pango/pango-layout.c, pango/pango-layout.h, - pango/pango-renderer.c, pango/pango-script.c, - pango/pango-utils.c, pango/pangocairo-fc.h, - pango/pangocairo-font.c, pango/pangocairo-fontmap.c, - pango/pangocairo-private.h, pango/pangofc-decoder.c, - pango/pangofc-font.c, pango/pangofc-fontmap.c pango/pangoft2.c, - pango/pangox-fontcache.c, pango/pangox-fontmap.c pango/pangox.c, - pango/pangoxft-font.c, pango/querymodules.c, - pango/opentype/ftglue.c, pango/opentype/ftxgpos.c, - pango/opentype/ftxopen.c, pango/opentype/pango-ot-buffer.c, - pango/opentype/pango-ot-info.c, - pango/opentype/pango-ot-ruleset.c, tests/dump-boundaries.c, - tests/testboundaries.c, tests/testcolor.c tests/testiter.c, - tests/testscript.c: Turn various gcc warnings off. Adding const, - adding static, fully initializing structs, match signedness in - comparisons. (#317804) - - * tests/testscript.c, tools/gen-script-for-lang.c: - (scripts_for_file): Pass error->message instead of error to fail(), - which was wrong. - (compare_lang): Fix typo comparing a and a instead of a and b. - - src/ftglue.c | 2 +- - src/ftxgpos.c | 4 ++++ - src/ftxopen.c | 1 + - src/pango-ot-buffer.c | 4 ++-- - src/pango-ot-info.c | 5 +++-- - src/pango-ot-ruleset.c | 5 +++-- - 6 files changed, 14 insertions(+), 7 deletions(-) - -commit c0505f3bb28feeba95b201e6464fb2fdac90194a -Author: Behdad Esfahbod -Date: Thu Nov 3 20:13:40 2005 +0000 - - Patches from #170414. Reviewed by Matthias Clasen. - - 2005-11-03 Behdad Esfahbod - - Patches from #170414. Reviewed by Matthias Clasen. - - * pango/opentype/ftxgpos.c, pango/opentype/ftxgsub.c: Use call table - to dispatch different lookup types. - - * pango/opentype/pango-ot-buffer.c, pango/opentype/pango-ot-ruleset.c: - Small cleanup. - - src/ftxgpos.c | 143 ++++++++++++++++++++++++------------------------- - src/ftxgsub.c | 115 +++++++++++++++++++++------------------ - src/pango-ot-buffer.c | 3 +- - src/pango-ot-ruleset.c | 75 +++++++++----------------- - 4 files changed, 159 insertions(+), 177 deletions(-) - -commit c6b22b9119ef54ea8d0d2f08b74fdeb024289d73 -Author: Behdad Esfahbod -Date: Mon Aug 29 10:06:40 2005 +0000 - - Generate valid XML output. Dump LookupFlag too. - - 2005-08-29 Behdad Esfahbod - - * pango/opentype/ottest.c, pango/opentype/disasm.c: Generate valid - XML output. Dump LookupFlag too. - - src/disasm.c | 58 ++++++++++++++++++++++++++++++---------------------------- - src/ottest.c | 23 ++++++++++++++--------- - 2 files changed, 44 insertions(+), 37 deletions(-) - -commit 1e3747ca5d1a6f607f8e56fb94e3daaf6ad623cb -Author: Behdad Esfahbod -Date: Mon Aug 15 04:16:04 2005 +0000 - - Replace perror with perror_. Remove FT_BEGIN_STMNT and FT_END_STMNT. - - 2005-08-15 Behdad Esfahbod - - * pango/opentype/ftglue.h: Replace perror with perror_. - Remove FT_BEGIN_STMNT and FT_END_STMNT. (#313477) - - src/ftglue.h | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 3c60250875fa9d04ca96dea35eba23fc70690ff5 -Author: Owen Taylor -Date: Tue Jul 26 18:33:27 2005 +0000 - - Skip lookups with lookup index out of range. (Patch from Behdad Esfahbod, - - 2005-07-26 Owen Taylor - - * pango/opentype/ftxgsub.c, pango/opentype/ftxgpos.c: Skip lookups - with lookup index out of range. (Patch from Behdad Esfahbod, #171170) - - src/ftxgpos.c | 30 ++++++++++++++++++++++++------ - src/ftxgsub.c | 30 ++++++++++++++++++++++++------ - 2 files changed, 48 insertions(+), 12 deletions(-) - -commit 91a3fa2e4bcdde8ae022d1264c783f133cd7e00d -Author: Owen Taylor -Date: Fri Jul 22 18:03:58 2005 +0000 - - Remove an unecessary set of block2. - - 2005-07-22 Owen Taylor - - * pango/opentype/ftglue.c (ftglue_realloc): Remove - an unecessary set of block2. - - src/ftglue.c | 1 - - 1 file changed, 1 deletion(-) - -commit ff7034787d79dcd1bec58a4e02602039313da00e -Author: Owen Taylor -Date: Fri Jul 22 17:56:37 2005 +0000 - - Patch from David Turner. Review and testing by Behdad Esfahbod - - 2005-07-22 Owen Taylor - - Patch from David Turner. Review and testing by Behdad Esfahbod - - * pango/opentype/ftglue.[ch] Makefile.am: Glue layer that provides - implementation of the internal functions that the opentype code - expects in terms of publically exported FreeType API. - - * pango/opentype/ftxgdef.c pango/opentype/ftxgpos.c - pango/opentype/ftxgsub.c pango/opentype/ftxopen.c - pango/opentype/otlbuffer.c pango/opentype/pango-ot-info.c - pango/opentype/pango-ot-ruleset.c: Remove includes of - internal headers. Small changes to work with ftglue.[ch] - - * pango/opentype/fterrcompat.h: Remove: no longer needed. - - * pango/opentype/ftxgpos.c: Use FT_IS_SFNT(face) rather - than poking at FT_MODULE_CLASS (face->driver)->module_name. - - * pango/opentype/ftxopen.c (Free_FeatureList): Free - fl->ApplyOrder. (Found by Behdad) - - src/Makefile.am | 3 +- - src/fterrcompat.h | 95 -------------- - src/ftglue.c | 350 +++++++++++++++++++++++++++++++++++++++++++++++++ - src/ftglue.h | 156 ++++++++++++++++++++++ - src/ftxgdef.c | 9 +- - src/ftxgpos.c | 9 +- - src/ftxgsub.c | 10 +- - src/ftxopen.c | 8 +- - src/otlbuffer.c | 4 +- - src/pango-ot-info.c | 6 +- - src/pango-ot-ruleset.c | 2 - - 11 files changed, 520 insertions(+), 132 deletions(-) - -commit 43dbec6f3a345ba0e4a43766610ed59622bbe4a0 -Author: Owen Taylor -Date: Thu Jul 21 18:15:45 2005 +0000 - - Fix up places where there is missing or incomplete Copyright and License - - 2005-07-21 Owen Taylor - - Fix up places where there is missing or incomplete - Copyright and License information (Reported by William N. Ray) - - * pango/opentype/fterrcompat.h: Mark as FreeType/GPL licensed. - - * pango/opentype/FT-license.txt: Make this the dual-licensing - description that covers the FreeType code (FreeType's - LICENSE.TXT) rather than the FTL. - - * pango/opentype/FTL.TXT: Move the FTL (referenced from - FT-license.txt) to here. - - * modules/basic/basic-common.h modules/hebrew/hebrew-shaper.h - modules/thai/thai-charprop.c modules/thai/thai-shaper.h - tools/gen-script-for-lang.c tests/testcolor.c: - Add LGPL header and copyright information. - - * modules/indic/indic-ot.[ch] modules/indic/indic-ot-class-tables.c - modules/thai/thai-ot.[ch]: Add LGPL header. - - * modules/thai/thai-shaper.c modules/thai/thai-charprop.h: - Minor fixes to copyright information. - - * modules/arabic/arabic-ot.c: Add Freetype license boilerplate. - - src/FT-license.txt | 179 +++++++---------------------------------------------- - src/FTL.TXT | 174 +++++++++++++++++++++++++++++++++++++++++++++++++++ - src/fterrcompat.h | 10 ++- - 3 files changed, 204 insertions(+), 159 deletions(-) - -commit c55850d36d208c7aae8f6ed5c9e1e7927b988d6c -Author: Owen Taylor -Date: Tue Jun 14 19:54:19 2005 +0000 - - Chain up from finalize. (#307547, Paolo Borelli) - - 2005-06-14 Owen Taylor - - * pango/opentype/pango-ot-info.c (pango_ot_info_finalize) - pango/opentype/pango-ot-ruleset.c (pango_ot_ruleset_finalize): - Chain up from finalize. (#307547, Paolo Borelli) - - * pango/opentype/pango-ot-info.c (pango_ot_info_finalizer): - make accidentally public function static. - - src/pango-ot-info.c | 4 +++- - src/pango-ot-ruleset.c | 2 ++ - 2 files changed, 5 insertions(+), 1 deletion(-) - -commit 44ff46a364fb7981804eb45329c4999b415711f9 -Author: Tor Lillqvist -Date: Tue Apr 12 01:27:21 2005 +0000 - - Rename LDADDS to libpango_ot_la_LIBADD to actually make libpango-ot.la - - 2005-04-12 Tor Lillqvist - - * pango/opentype/Makefile.am: Rename LDADDS to - libpango_ot_la_LIBADD to actually make libpango-ot.la link with - it. - - * pango/pangowin32.def: Rename get_scale_factor to - get_metrics_factor here, too. (#300222, Ivan Wong) - - src/Makefile.am | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - -commit 0c349a032e5a52a9d0dcc8204f761b7cb28bfa6b -Author: Owen Taylor -Date: Thu Mar 3 19:38:02 2005 +0000 - - For all binary searches, handle the case where the number of items is 0. - - 2005-03-03 Owen Taylor - - * pango/opentype/ftxopen.c (Coverage_Index1, Coverage_Index2, - Get_Class2): For all binary searches, handle the case where - the number of items is 0. (#162977, Nick Lamb) - - * pango/opentype/ftxgdef.c (TT_GDEF_Build_ClassDefinition): - Handle the case where glyph_count == 0 properly. Fix a problem - with cleanups on memory allocation failure. - (Get_New_Count, Add_Glyph_Property): Avoid reading off the - end of the ClassRangeRecord array. - - src/ftxgdef.c | 60 +++++++++++++++++++++++++++++++++++------------------------ - src/ftxopen.c | 15 +++++++++++++++ - 2 files changed, 51 insertions(+), 24 deletions(-) - -commit 03838daaa9d485bffcb7bc46453a9a4c32a1f32f -Author: Owen Taylor -Date: Mon Nov 22 23:37:19 2004 +0000 - - Set G_LOG_DOMAIN. - - Mon Nov 22 18:30:14 2004 Owen Taylor - - * pango/opentype/Makefile.am pango/Makefile.am - modules/*/Makefile.am: Set G_LOG_DOMAIN. - - src/Makefile.am | 1 + - 1 file changed, 1 insertion(+) - -commit 346d3b3cac253d2db41205151c185bf2fd9dda16 -Author: Owen Taylor -Date: Wed Sep 22 18:14:55 2004 +0000 - - Cleanups from 'sparse', #149922, Kjartan Maraas - - Wed Sep 22 14:07:47 2004 Owen Taylor - - Cleanups from 'sparse', #149922, Kjartan Maraas - - * pango/pango-utils.c (read_config): () => (void) in - definition. - - * pango/pangofc-fontmap.c (pango_fc_font_map_list_families): - Initialize *n_families, not n_families. - - * pango/pangofc-fontmap.c pango/pangoft2.c opentype/ftxgdef.c - opentype/ftxgpos.c opentype/ftxgsub.c: : Fix various 0/NULL - confusion. - - src/ftxgdef.c | 2 +- - src/ftxgpos.c | 6 +++--- - src/ftxgsub.c | 2 +- - 3 files changed, 5 insertions(+), 5 deletions(-) - -commit 8b654dfb5ad6137ee9c5a48f5abe04bf7d28d8cd -Author: Owen Taylor -Date: Tue Sep 14 13:45:41 2004 +0000 - - === Released 1.6.0 === - - Mon Sep 13 17:38:58 2004 Owen Taylor - - * === Released 1.6.0 === - - * configure.in: Update versions for 1.6.0 - - * NEWS: Update. - - * README: Minor tweak. - - * pango/fonts.c pango/pango-context.c pango/pango-types.h - pango/pango-utils.c pango/pangoft2.c pango/pango-layout.c - pango/opentype/pango-ot-buffer.c: Add a bunch of missing - Since: 1.6. - - src/pango-ot-buffer.c | 2 ++ - 1 file changed, 2 insertions(+) - -commit d41089a5b691967fdd622f47c8397a80af104396 -Author: Owen Taylor -Date: Fri Jul 30 21:23:04 2004 +0000 - - Finish extending properties flags from FT_UShort => FT_UInt. (OTLBuffer - - Fri Jul 30 17:17:05 2004 Owen Taylor - - * pango/opentype/ftxgpos.[ch] pango/opentype/ftxgsub.[ch] - pango/opentype/ftxopen.[ch]: Finish extending properties - flags from FT_UShort => FT_UInt. (OTLBuffer was already - using an FT_UInt) - - src/ftxgpos.c | 8 ++++---- - src/ftxgpos.h | 2 +- - src/ftxgsub.c | 8 ++++---- - src/ftxgsub.h | 2 +- - src/ftxopen.c | 2 +- - src/ftxopen.h | 2 +- - 6 files changed, 12 insertions(+), 12 deletions(-) - -commit f42d5eca291dcdfb27d7fbf88391d6d381b8e9c4 -Author: Owen Taylor -Date: Tue Jul 27 17:20:01 2004 +0000 - - Save the order in which features were added and use that when applying - - Tue Jul 27 12:38:05 2004 Owen Taylor - - * pango/opentype/ftxopen.[ch] pango/opentype/ftxgsub.c - pango/opentype/ftxpos.c: Save the order in which - features were added and use that when applying features. - (Patch from Soheil Hassas Yeganeh, #122330) - - src/ftxgpos.c | 41 ++++++++++++++++++++++++----------------- - src/ftxgsub.c | 34 +++++++++++++++++++++------------- - src/ftxopen.c | 14 +++++++++++--- - src/ftxopen.h | 2 ++ - 4 files changed, 58 insertions(+), 33 deletions(-) - -commit ae2daa972d74c5ecfe1d2f0057ce12682ad30b00 -Author: Behdad Esfahbod -Date: Tue Jul 27 13:12:19 2004 +0000 - - Remove the unused parameter from the IN_CURITEM() and IN_CURGLYPH macros. - - - * pango/opentype/ftxgpos.c: Remove the unused parameter - from the IN_CURITEM() and IN_CURGLYPH macros. - - src/ftxgpos.c | 68 +++++++++++++++++++++++++++++------------------------------ - src/ftxgsub.c | 2 +- - 2 files changed, 35 insertions(+), 35 deletions(-) - -commit 7d5435ea8cb345c79029b8a12d1bddbed28b1997 -Author: Behdad Esfahbod -Date: Tue Jul 27 10:43:58 2004 +0000 - - Fix bug to copy glyph from in_string, not out_string. - - - * pango/opentype/otlbuffer.c (otl_buffer_copy_output_glyph): - Fix bug to copy glyph from in_string, not out_string. - - src/otlbuffer.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 2ea2a55bdf7ef1caebcd0c5922b0f542ed8bb5bf -Author: Owen Taylor -Date: Mon Jul 26 23:14:53 2004 +0000 - - Fix allocation and indexing in NewGlyphClasses array. (#130661, Masatake - - Mon Jul 26 19:11:46 2004 Owen Taylor - - * pango/opentype/ftxgdef.c: Fix allocation and indexing - in NewGlyphClasses array. (#130661, Masatake YAMATO) - - src/ftxgdef.c | 14 +++++++------- - 1 file changed, 7 insertions(+), 7 deletions(-) - -commit 5d42695e5ed89f73fbc665792ebec82c29ae04ae -Author: Owen Taylor -Date: Mon Jul 26 19:25:45 2004 +0000 - - Remove the unused parameter from the IN_CURITEM() and IN_CURGLYPH macros. - - Mon Jul 26 15:24:11 2004 Owen Taylor - - * pango/opentype/ftxgsub.c (ADD_Glyph): Remove the - unused parameter from the IN_CURITEM() and IN_CURGLYPH - macros. - - src/ftxgsub.c | 56 ++++++++++++++++++++++++++++---------------------------- - 1 file changed, 28 insertions(+), 28 deletions(-) - -commit a00c4ea5626526980139b122977e367b8434d24a -Author: Owen Taylor -Date: Mon Jul 26 19:23:06 2004 +0000 - - Add missing macro to make the last change actually compile. - - Mon Jul 26 15:21:23 2004 Owen Taylor - - * pango/opentype/ftxgsub.c: Add missing macro to make the - last change actually compile. - - src/ftxgsub.c | 2 ++ - 1 file changed, 2 insertions(+) - -commit ed3e1f278d3ebfd224f0b57388502d4bb9fb1441 -Author: Owen Taylor -Date: Mon Jul 26 19:20:27 2004 +0000 - - Match backtrack context against the output glyphs not the input glyphs - - Mon Jul 26 15:16:07 2004 Owen Taylor - - * pango/opentype/ftxgsub.c (Lookup_ChainContextSubst[123]): - Match backtrack context against the output glyphs not - the input glyphs (#145174, Aamir Wali) - - src/ftxgsub.c | 24 ++++++++++++------------ - 1 file changed, 12 insertions(+), 12 deletions(-) - -commit 78282cda004a88b2aadb2786dd3897884e22ed0b -Author: Owen Taylor -Date: Mon Jul 26 18:59:02 2004 +0000 - - Make Check_Property() take a OTL_GlyphItem, add a gproperties field to - - Mon Jul 26 14:49:22 2004 Owen Taylor - - * ftxgdef.[ch] otlbuffer.[ch]: Make Check_Property() take a - OTL_GlyphItem, add a gproperties field to OTLGlyphItem, - and use that to cache the properties for a glyph. - - * ftxgsub.c ftxgdef.c: Adapt to Check_Property() changes. - - * otlbuffer.[ch] ftxgsub.c: Add otl_buffer_copy_output_glyph() - to use when we are copying an unmodified glyph from input - to output that preserves the cached properties. - - src/ftxgdef.c | 16 ++++++++++------ - src/ftxgpos.c | 52 +++++++++++++++++++++++++++------------------------- - src/ftxgsub.c | 54 ++++++++++++++++++++++++++++-------------------------- - src/ftxopenf.h | 2 +- - src/otlbuffer.c | 21 +++++++++++++++++++-- - src/otlbuffer.h | 6 ++++++ - 6 files changed, 91 insertions(+), 60 deletions(-) - -commit 81b62af42313fb60db523374cd8c6901829f5c4e -Author: Owen Taylor -Date: Mon Jul 19 21:13:23 2004 +0000 - - Add support for ChainContextSubstFormat3. - - Mon Jul 19 17:09:11 2004 Owen Taylor - - * pango/opentype/disasm.c: Add support for - ChainContextSubstFormat3. - - src/disasm.c | 16 +++++++++++++++- - 1 file changed, 15 insertions(+), 1 deletion(-) - -commit d4f773ef92fdbaa7e61e6577db5e9b2846a100a4 -Author: Owen Taylor -Date: Mon Jul 19 20:37:22 2004 +0000 - - Fix pervasive buffer overruns when skipping glyphs when matching contexts. - - Mon Jul 19 16:29:45 2004 Owen Taylor - - * pango/opentype/ftxgsub.c pango/opentype/ftxgpos.c: - Fix pervasive buffer overruns when skipping glyphs - when matching contexts. (#118592, Kailash C. Chowksey) - - src/ftxgpos.c | 259 ++++++++++++++++++---------------------- - src/ftxgsub.c | 376 ++++++++++++++++++++++++++-------------------------------- - 2 files changed, 284 insertions(+), 351 deletions(-) - -commit 99848cfafee8e598ef533f254cdb99fbae4c9364 -Author: Owen Taylor -Date: Wed Jun 23 20:33:35 2004 +0000 - - #143693, Sayamindu Dasgupta - - Wed Jun 23 16:13:53 2004 Owen Taylor - - #143693, Sayamindu Dasgupta - - * pango/opentype/pango-ot-buffer.c (pango_ot_buffer_set_zero_width_marks) pango/opentype/pango-ot-private.h: - Allow setting for whether marks should be given zero width, - defaulting to FALSE. - - * modules/arabic/arabic-fc.c (arabic_engine_shape): Turn - on zero-width-marks setting. - - src/pango-ot-buffer.c | 22 +++++++++++++++++++++- - src/pango-ot-private.h | 5 +++-- - 2 files changed, 24 insertions(+), 3 deletions(-) - -commit 68d4cedb8726fa239f56d62060d8fee7e09cb8be -Author: Owen Taylor -Date: Mon Jun 21 18:04:02 2004 +0000 - - Use the gcc-3.3 strict-aliasing compatible macros from fterrcompat.h - - Mon Jun 21 13:55:17 2004 Owen Taylor - - * pango/opentype/otlbuffer.c: Use the gcc-3.3 - strict-aliasing compatible macros from fterrcompat.h - (#140495, reported by Stanislav Brabec) - - src/otlbuffer.c | 22 ++++++++++++++-------- - 1 file changed, 14 insertions(+), 8 deletions(-) - -commit b327765176dff81047f942ac56a1d206344e6039 -Author: Theppitak Karoonboonyanan -Date: Fri May 28 16:41:36 2004 +0000 - - Negate y offset according to different conventions between - - * pango/opentype/pango-ot-buffer.c (apply_gpos_ltr): Negate y offset - according to different conventions between PangoGlyphString and OTL - (#142544) - - src/pango-ot-buffer.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 068763b547d791e28b892bcaee810f3d60a83018 -Author: Owen Taylor -Date: Thu May 27 21:55:50 2004 +0000 - - Revert error return changes from last commit. - - Thu May 27 17:54:24 2004 Owen Taylor - - * pango/opentype/otlbuffer.c: Revert error return changes - from last commit. - - src/otlbuffer.c | 16 ++++++---------- - 1 file changed, 6 insertions(+), 10 deletions(-) - -commit ef07481025c5bbb9769b9f908d9dc78f44161bbb -Author: Owen Taylor -Date: Thu May 27 21:03:42 2004 +0000 - - Free buffer->positions, clean up error returns that were returning - - Thu May 27 16:57:30 2004 Owen Taylor - - * pango/opentype/otlbuffer.c: Free buffer->positions, - clean up error returns that were returning uninitialized - values. (#139239, Behdad Esfahbod) - - src/otlbuffer.c | 21 +++++++++++++-------- - 1 file changed, 13 insertions(+), 8 deletions(-) - -commit de568e7e6200c7a49bae1f78ac63858b8df01173 -Author: Owen Taylor -Date: Tue Mar 16 19:23:43 2004 +0000 - - === Released 1.4.0 === - - Tue Mar 16 11:24:46 2004 Owen Taylor - - * === Released 1.4.0 === - - * configure.in: Version 1.4.0, interface ago 0. Require - glib-2.4.0. - - * NEWS: Updates. - - * README: Some updates; include details about the FreeType - license of the OpenType code. - - src/FT-license.txt | 77 +++++++++++++++++++++++++++++------------------------- - 1 file changed, 42 insertions(+), 35 deletions(-) - -commit 8b3554b3afe7c125b1a53171b01ac87de9c486fe -Author: Hans Breuer -Date: Wed Mar 3 22:35:19 2004 +0000 - - if PANGO_MODULE_PREFIX is defined include the basic backend shaper (should - - 2004-03-03 Hans Breuer - - * pango/module-defs-win32.c.win32 : if PANGO_MODULE_PREFIX is - defined include the basic backend shaper (should have been - commited at 2003-12-12, too) - - * pango/makefile.msc : generate correct type for PangoFontMask - (bug #135892, John Ehresman) - * pango/opentype/makefile.msc : updated - - * pango/pango.def pango/pangoft2.def : more updatd externals - - src/makefile.msc | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -commit a7e096c5de3ec5319bf9333c9ace0732d97c52c3 -Author: Owen Taylor -Date: Sun Feb 29 15:44:50 2004 +0000 - - Rework opentype interfaces and other changes to make GPOS work for Arabic. - - Sun Feb 29 09:25:13 2004 Owen Taylor - - Rework opentype interfaces and other changes to make GPOS - work for Arabic. (Most of #117282, #121060) - - * pango/opentype/otlbuffer.[ch]: OTL_Buffer that - acts as a replacement for the separate GSUB and - GPOS string structures and hides many of the internal - details. - - * pango/opentype/ftxgsub.[ch] pango/opentype/ftxgpos.[ch]: - Adapt to OTL_Buffer. - - * pango/opentype/ftxgpos.c: Redo handling of cursive - chains so that it actually works. - - * pango/pango-ot.h pango/opentype/pango-ot-buffer.c: - Pango wrapper around OTL_Buffer. - - * pango/pango-ot.h pango/pango-ot-ruleset.c pango/pango-ot-buffer.c: - Split pango_ot_ruleset_shape() into pango_ot_ruleset_substitute(), - pango_ot_ruleset_position(), make them act on - PangoOTBuffer, add a separate pango_ot_buffer_output() - which does the default positioning and writes to a - PangoGlyphString. - - * modules/arabic/arabic-fc.c modules/indic/indic-fc.c - modules/indic/mprefixups.[ch]: Adapt to new OpenType - interfaces; add GPOS features for Arabic. - - * pango/opentype/pango-ot-info.c: Don't derive class information - from Unicode properties for Arabic presentation forms, - let the shaping process derive the properties. - - src/Makefile.am | 3 + - src/ftxgdef.c | 4 +- - src/ftxgpos.c | 573 ++++++++++++++++----------------------- - src/ftxgpos.h | 23 +- - src/ftxgsub.c | 719 +++++++++++-------------------------------------- - src/ftxgsub.h | 40 +-- - src/ftxopen.h | 1 + - src/otlbuffer.c | 213 +++++++++++++++ - src/otlbuffer.h | 97 +++++++ - src/ottest.c | 2 + - src/pango-ot-buffer.c | 265 ++++++++++++++++++ - src/pango-ot-info.c | 27 +- - src/pango-ot-private.h | 8 + - src/pango-ot-ruleset.c | 148 +++------- - 14 files changed, 1039 insertions(+), 1084 deletions(-) - -commit d670ddf99192dd4999775a9215a818ae63fa3416 -Author: Owen Taylor -Date: Sat Feb 21 14:53:12 2004 +0000 - - Sign convention for y offsets is opposite between PangoGlyphString and FT - - Sat Feb 21 09:49:23 2004 Owen Taylor - - * pango/opentype/pango-ot-ruleset.c (pango_ot_ruleset_shape): - Sign convention for y offsets is opposite between - PangoGlyphString and FT code. (#132591) - - src/pango-ot-ruleset.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit b9b3c131c2b57c12a77124a52512fb19a1255f8e -Author: Owen Taylor -Date: Fri Feb 13 16:11:40 2004 +0000 - - Memory leak fixes from Masatake YAMATO, #130652 - - Fri Feb 13 10:54:18 2004 Owen Taylor - - Memory leak fixes from Masatake YAMATO, #130652 - - * pango/opentype/ftxgdef.c (TT_Done_GDEF_Table): - Free the gdef table as well as the contained data. - - * pango/opentype/ftxgdef.c (TT_GDEF_Build_ClassDefinition): - Set gcd->loaded, so that the contents get freed later. - - src/ftxgdef.c | 4 ++++ - 1 file changed, 4 insertions(+) - -commit 926b8f322989298e43c8bac85f23e3525470a669 -Author: Owen Taylor -Date: Mon Jan 26 19:23:35 2004 +0000 - - Suport CFF fonts as well. (#131202, Manjunath Sripadarao) - - Mon Jan 26 14:20:34 2004 Owen Taylor - - * pango/opentype/pango-ot-info.c (is_truetype): Suport - CFF fonts as well. (#131202, Manjunath Sripadarao) - - src/pango-ot-info.c | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 945e479a3a35769e5e7c792fdcf306892523a5f9 -Author: Hans Breuer -Date: Sat Dec 13 14:31:50 2003 +0000 - - moved pango_fc_* to the latter where they live on *nix too. - - 2003-12-13 Hans Breuer - - * pango/pango.def pangoft2.def : moved pango_fc_* - to the latter where they live on *nix too. - - * pango/makefile.msc : make it build again (including - the Ft2 backend) - - * pango/module-defs-fc.c.win32 : if PANGO_MODULE_PREFIX is defined - include the basic backend shaper - - * pango/pangowin32.c (pango_win32_render_layout) : - initialize iter before first usage to avoid immediate crashing - - * pango/opentype/makefile.msc - pango/modules/makefile.msc : finally build with mscv, too. - [completely untested cause I'm not able to type, write or read - any of these languages] - - * modules/modules.def : follow module function renaming/changes - - * modules/basic/basic-win32.c : register the right engine, i.e. - make it compile - - src/makefile.msc | 21 +++++++++++++++++++++ - 1 file changed, 21 insertions(+) - -commit ba0ccd5cfcb514cdc45373158343138b7b190f9d -Author: Owen Taylor -Date: Sat Nov 1 15:02:17 2003 +0000 - - Switch over to recommended Freetype system of include ft2build.h then - - Sat Nov 1 09:32:15 2003 Owen Taylor - - * pango/pango-ot.h pango/pangofc-font.h modules/indic/indic-ot.h - pango/pangoft2.c pango/opentype/pango-ot-info.c - pango/opentype/pango-ot-ruleset.c pango/opentype/ottest.c - pango/opentype/ftxopen.[ch] pango/opentype/ftxgdef.c - pango/opentype/ftxgsub.c pango/opentype/ftxgpos.c: - Switch over to recommended Freetype system of - include ft2build.h then #include FT_FREETYPE_H. - Fixes ftmodule.h problem with current Freetype CVS. - (#125548) - - src/ftxgdef.c | 14 +++++++------- - src/ftxgpos.c | 17 ++++++++--------- - src/ftxgsub.c | 13 ++++++------- - src/ftxopen.c | 10 +++++----- - src/ftxopen.h | 3 ++- - src/ottest.c | 1 - - src/pango-ot-info.c | 4 ++-- - src/pango-ot-private.h | 2 -- - src/pango-ot-ruleset.c | 4 ++-- - 9 files changed, 32 insertions(+), 36 deletions(-) - -commit 558171a7a3666999c679719ad0bfbdf7c6a52289 -Author: Owen Taylor -Date: Mon Sep 15 22:04:55 2003 +0000 - - Fix gcc-3.3 versions of macros to have the right return value. - - Mon Sep 15 17:16:59 2003 Owen Taylor - - * pango/opentype/fterrcompat.h: Fix gcc-3.3 versions of - macros to have the right return value. - - src/fterrcompat.h | 44 ++++++++++++++++++++++++++------------------ - 1 file changed, 26 insertions(+), 18 deletions(-) - -commit c99259bf7e08ccdc4130d4983e8d186021ea8e1a -Author: Owen Taylor -Date: Mon Aug 25 14:30:12 2003 +0000 - - pango/opentype/ftxgsub.c (Lookup_ChainContextSubst3) Fix problems where - - Mon Aug 25 10:17:21 2003 Owen Taylor - - * pango/opentype/ftxgsub.c (Lookup_ChainContextSubst3) - * pango/opentype/ftxgpos.c (Lookup_ChainContextPos3): - Fix problems where the coverage wasn't being checked - for the first input glyph. (#118639, Kailash C. Chowksey) - - src/ftxgpos.c | 7 +++---- - src/ftxgsub.c | 7 +++---- - 2 files changed, 6 insertions(+), 8 deletions(-) - -commit bcf81bcc80c6235dfbc7eeaa34ed21ea329c7a3d -Author: Owen Taylor -Date: Fri Aug 22 22:52:08 2003 +0000 - - Add some macro definitions for gcc-3.3 that suppress the bogus - - Fri Aug 22 18:09:52 2003 Owen Taylor - - * pango/opentype/fterrcompat.h: Add some macro definitions - for gcc-3.3 that suppress the bogus strict-aliasing - warnings. - - * pango/pango-utils.c (read_config_file): Use - g_hash_table_new_full() to simplify code and fix - gcc-3.3 warnings. - - * pango/pangox-fontmap.c (pango_x_real_get_coverage_win) - * pango/querymodules.c (query_module): Suppress gcc-3.3 - warnings. - - * pango/modules.c (pango_find_map): Fix warning from - missing declaration of pango_module_get_type(). - - * pango/pango-context.c/pango-engine.c: Fix name confusion - for pango_get_fallback_shaper(). - - src/fterrcompat.h | 36 ++++++++++++++++++++++++++++++++++-- - 1 file changed, 34 insertions(+), 2 deletions(-) - -commit 46d379596d7292a3b2e51f35fc8044b366d413a3 -Author: Owen Taylor -Date: Tue Jul 29 14:21:54 2003 +0000 - - Rewrite handling of IGNORE_SPECIAL_MARKS to be properly "ignore marks of - - Tue Jul 29 09:58:13 2003 Owen Taylor - - * pango/opentype/ftxgdef.c (Check_Property): Rewrite - handling of IGNORE_SPECIAL_MARKS to be properly - "ignore marks of attachment type different than - specified. (#118456, Kailash C. Chowksey) - - src/ftxgdef.c | 37 ++++++++++++++++++++++++++++--------- - 1 file changed, 28 insertions(+), 9 deletions(-) - -commit 8247acad79c1a4154e9337aed453eb3e4d23063d -Author: Owen Taylor -Date: Mon Jul 28 22:28:37 2003 +0000 - - Revert back out the FreeType patch preventing ligatures of not-originally - - Sat Jul 26 09:41:22 2003 Owen Taylor - - * pango/opentype/ftxgsub.c (Lookup_LigatureSubst): - Revert back out the FreeType patch preventing - ligatures of not-originally adjacent glyphs; - it doesn't work for all scripts. (#118472, - Kailash C. Chowksey) - - src/ftxgsub.c | 31 +++---------------------------- - 1 file changed, 3 insertions(+), 28 deletions(-) - -commit 825e6d7e86cac310161648601b09291fa05d5ba5 -Author: Owen Taylor -Date: Sun Jul 27 02:40:31 2003 +0000 - - Check for lookahead glyphs in the right place. (Patch from #116860) - - Sat Jul 26 22:30:59 2003 Owen Taylor - - * pango/opentype/ftxgsub.c (Lookup_ChainContextSubst{1,2,3}): - Check for lookahead glyphs in the right place. (Patch - from #116860) - - * pango/opentype/ftxgpos.c (Lookup_ChainContextPos{1,2,3}): - Same fix here. - - src/ftxgpos.c | 6 +++--- - src/ftxgsub.c | 6 +++--- - 2 files changed, 6 insertions(+), 6 deletions(-) - -commit 03a0fe09c711b81c7eb4065fd4700b8cfd2c977a -Author: Owen Taylor -Date: Sun Jul 27 02:19:52 2003 +0000 - - Fix return value to only contain TTO_Err_Not_Covered if *no* lookups - - Sat Jul 26 22:12:46 2003 Owen Taylor - - * pango/opentype/ftxgsub.c (Do_String_Lookup, - TT_GSUB_Apply_String): Fix return value to only - contain TTO_Err_Not_Covered if *no* lookups - matched. Fix memory leaks on error in Apply_String(). - - src/ftxgsub.c | 120 ++++++++++++++++++++++++++++++++++++---------------------- - 1 file changed, 75 insertions(+), 45 deletions(-) - -commit e10ea2afd9a5868d4ec1ff3a2b99bcd64ce45816 -Author: Owen Taylor -Date: Sun Jul 27 01:10:15 2003 +0000 - - Fix confusion between boolean and FT_Error return. (GSUB equivalent of fix - - Sat Jul 26 21:06:26 2003 Owen Taylor - - * pango/opentype/ftxgsub.c (Load_EmptyOrClassDefinition): - Fix confusion between boolean and FT_Error return. - (GSUB equivalent of fix for #108358) - - src/ftxgsub.c | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit a7305ab2624cbc08160dc11587ba3dc4e17781c2 -Author: Owen Taylor -Date: Sat Jul 26 15:02:13 2003 +0000 - - Move allocation afer initial checks, fixing memory leak. - - Sat Jul 26 10:52:20 2003 Owen Taylor - - * pango/opentype/ftxgpos.c (Lookup_ContextPos2): - * pango/opentype/ftxgsub.c (Lookup_ContextSubst2): Move - allocation afer initial checks, fixing memory leak. - - * pango/opentype/ftxgsub.c (Lookup_ChainContextSubst2): - Fix some more error return memory leaks that weren't - fixed in the Qt changes. - - src/ftxgpos.c | 8 ++++---- - src/ftxgsub.c | 12 ++++++------ - 2 files changed, 10 insertions(+), 10 deletions(-) - -commit f40b7c15e0bc4b71e706602c4e062f72d8f0fcdd -Author: Owen Taylor -Date: Sat Jul 26 14:50:23 2003 +0000 - - Fix various memory leaks from error returns that should have been jumps to - - Sat Jul 26 10:43:20 2003 Owen Taylor - - * pango/opentype/ftxgsub.c pango/opentype/ftxgpos.c: - Fix various memory leaks from error returns that should - have been jumps to cleanup blocks. (From Qt, Lars Knoll) - - src/ftxgpos.c | 8 ++++---- - src/ftxgsub.c | 4 ++-- - 2 files changed, 6 insertions(+), 6 deletions(-) - -commit 256d21970733483833b9cf31d5e0fa7ae853e944 -Author: Owen Taylor -Date: Sat Jul 26 14:35:29 2003 +0000 - - Fix additional places where TTO_Err_Not_Covered wasn't considered a - - Sat Jul 26 10:30:24 2003 Owen Taylor - - * pango/opentype/ftxgpos.c: Fix additional places where - TTO_Err_Not_Covered wasn't considered a successful return - from Get_Class. (From Qt, Lars Knoll) - - src/ftxgpos.c | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 374960681e2e36d0e4032623d8cb92a7910baf71 -Author: Owen Taylor -Date: Sat Jul 26 13:50:23 2003 +0000 - - If applying a ligature lookup makes adjacent two glyphs that were not - - Sat Jul 26 09:41:22 2003 Owen Taylor - - * pango/opentype/ftxgsub.c (Lookup_LigatureSubst): - If applying a ligature lookup makes adjacent two glyphs - that were not originally adjacent, avoid making - subsequent ligatures between those glyphs. - (From FreeType, Werner Lemberg, 2001-08-22, 2001-08-23) - - src/ftxgsub.c | 31 ++++++++++++++++++++++++++++--- - 1 file changed, 28 insertions(+), 3 deletions(-) - -commit b682482df77608d67eca8a050db5b36f44953c13 -Author: Owen Taylor -Date: Sat Jul 26 13:20:52 2003 +0000 - - Fix some FreeType1 variable declarations that snuck in from the last - - Sat Jul 26 09:16:57 2003 Owen Taylor - - * pango/opentype/ftxgpos.c pango/opentype/ftxopen.c: - Fix some FreeType1 variable declarations that snuck - in from the last commits (Christophe Fergeau, - 118363) - - src/ftxgpos.c | 6 +++--- - src/ftxopen.c | 2 +- - 2 files changed, 4 insertions(+), 4 deletions(-) - -commit 06c12109de061c357f46dcec82c4bee7160afede -Author: Owen Taylor -Date: Sat Jul 26 03:45:44 2003 +0000 - - OpenType-1.4 update: backtrack information is stored with the item closest - - Fri Jul 25 23:38:07 2003 Owen Taylor - - * pango/opentype/ftxgpos.c pango/opentype/ftxgsub.c: - OpenType-1.4 update: backtrack information is stored with the - item closest to the input first (From FreeType, - Werner Lemberg, 2002-09-26) - - src/ftxgpos.c | 26 ++++++++++++++++++-------- - src/ftxgsub.c | 24 +++++++++++++++++------- - 2 files changed, 35 insertions(+), 15 deletions(-) - -commit 15a69e4a12739e7392f2a38d6f7bfdd96c0dc3ba -Author: Owen Taylor -Date: Sat Jul 26 03:14:23 2003 +0000 - - Update of GPOS and GSUB support to OpenType 1.3 (From FreeType, Werner - - Fri Jul 25 23:07:06 2003 Owen Taylor - - Update of GPOS and GSUB support to OpenType 1.3 - (From FreeType, Werner Lemberg, 2001-08-08) - - * pango/opentype/ftxopen.h: Add RIGHT_TO_LEFT LookupFlag - - * pango/opentype/ftxgpos.c (GPOS_Instance): Add 'first' - member to mark the beginning of a chain of cursive connections. - - * pango/opentype/ftxgpos.c (Do_String_Lookup): If the - RIGHT_TO_FLAG flag is set, shift cursive chain up so - last glyph is on the baseline. - - src/ftxgpos.c | 25 ++++++++++++++++++++++++- - src/ftxopen.h | 8 ++++++-- - 2 files changed, 30 insertions(+), 3 deletions(-) - -commit 6f74f18b77402f3adf5bfbae26e8f44de6543b4e -Author: Owen Taylor -Date: Sat Jul 26 03:03:40 2003 +0000 - - Add GPOS_LOOKUP_EXTENSION, GSUB_LOOKUP_EXTENSION, which allow lookup - - Fri Jul 25 22:59:13 2003 Owen Taylor - - * pango/opentype/ftx{gpos,gsub}.h pango/opentype/ftxgdef.c: - Add GPOS_LOOKUP_EXTENSION, GSUB_LOOKUP_EXTENSION, which - allow lookup information to be stored at 32-bit offets - via a double indirection. (From FreeType, Werner Lemberg, - 2001-08-08) - - src/ftxgpos.h | 17 +++++++++-------- - src/ftxgsub.h | 1 + - src/ftxopen.c | 19 +++++++++++++++++++ - 3 files changed, 29 insertions(+), 8 deletions(-) - -commit 375781c4546b5cfc453b99551ddf715bb162ffb9 -Author: Owen Taylor -Date: Sat Jul 26 02:44:19 2003 +0000 - - Fix a couple of places where TTO_Err_Not_Covered wasn't considered a - - Fri Jul 25 22:25:48 2003 Owen Taylor - - * pango/opentype/ftxgsub.c (Lookup_ContextSubst2, - Lookup_ChainContextSubst2): Fix a couple of - places where TTO_Err_Not_Covered wasn't considered - a successful return from Get_Class -- it means - use class index 0. (From FreeType, Werner Lemberg, - 2001-08-06) - - src/ftxgsub.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 378e1889cd294cb77313ba7fdab3e52959bf2c40 -Author: Owen Taylor -Date: Sat Jul 26 02:10:42 2003 +0000 - - Improvements to OpenType-dumping code, based on changes in Qt by Lars - - Fri Jul 25 20:12:00 2003 Owen Taylor - - Improvements to OpenType-dumping code, based on - changes in Qt by Lars Knoll. - - * pango/opentype/ottest.c: Tweak the debugging output, - suppress some warnings. - - * pango/opentype/disasm.c: Add support for - GSUB Context/Chain GPOS MarkBase lookups, improve - output in various ways. - - src/disasm.c | 242 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++-- - src/ottest.c | 12 +-- - 2 files changed, 241 insertions(+), 13 deletions(-) - -commit 07bad0e77c42b5f2535e3b018bf9074d2f4ecc7c -Author: Owen Taylor -Date: Thu Jul 24 21:05:29 2003 +0000 - - Fix uses of g_assert() around statements with side effects. (#115498, - - Thu Jul 24 17:04:21 2003 Owen Taylor - - * pango/opentype/pango-ot-ruleset.c (pango_ot_ruleset_shape): - Fix uses of g_assert() around statements with side effects. - (#115498, patch from David Cuthbert) - - src/pango-ot-ruleset.c | 14 +++++++++----- - 1 file changed, 9 insertions(+), 5 deletions(-) - -commit f91deef2c9473da5c3cb5e120f2d4fbf0d638166 -Author: Owen Taylor -Date: Wed Apr 16 21:48:29 2003 +0000 - - More careful handling of face->charmap; if is NULL, try to set a unicode - - Wed Apr 16 03:46:42 2003 Owen Taylor - - * pango/opentype/pango-ot-info.c (synthesize_class_def): - More careful handling of face->charmap; if is NULL, - try to set a unicode charmap, if that doesn't succeed, - return. (Hopefully fixes #106550) - - src/pango-ot-info.c | 26 ++++++++++++++++++++++++-- - 1 file changed, 24 insertions(+), 2 deletions(-) - -commit 587b3940f3ce71e8e1c9950086923d4eb78d62db -Author: Owen Taylor -Date: Wed Apr 16 03:58:17 2003 +0000 - - When loading in Load_Chain{Sub,Pos}ClassRule, the limit we have only - - Tue Apr 15 11:49:39 2003 Owen Taylor - - * pango/opentype/ftxg{sub/pos}.c: When loading - in Load_Chain{Sub,Pos}ClassRule, the limit we - have only applies to the input ClassDef table. - Fixes problem with Arial Unicode. Much help from - Noah Levitt in tracing this down. - - src/ftxgpos.c | 7 ++++--- - src/ftxgsub.c | 7 ++++--- - 2 files changed, 8 insertions(+), 6 deletions(-) - -commit 0d7567f8eaa1f8d0ec9cb89218ce3a1475d258ac -Author: Owen Taylor -Date: Tue Apr 15 23:01:19 2003 +0000 - - Fix mispelled constant from last commit. - - Tue Apr 15 06:57:02 2003 Owen Taylor - - * pango/opentype/ftxgpos.c: Fix mispelled constant - from last commit. - - src/ftxgpos.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 73cd600798a9a7225b2ac8241ea371d48cf7baf3 -Author: Owen Taylor -Date: Tue Apr 15 22:15:41 2003 +0000 - - Fix confusion between boolean and FT_Error return. (#108358, Noah Levitt) - - Tue Apr 15 06:03:39 2003 Owen Taylor - - * pango/opentype/ftxgpos.c: Fix confusion between - boolean and FT_Error return. (#108358, Noah Levitt) - - * pango/opentype/ftxopen.c (Get_Class1): index is - allowed to be NULL. (#108358, Noah Levitt) - - src/ftxgpos.c | 5 +++-- - src/ftxopen.c | 3 ++- - 2 files changed, 5 insertions(+), 3 deletions(-) - -commit 462bd0be608c3d14e5b4c01099b02b3948a52369 -Author: Owen Taylor -Date: Tue Apr 15 21:05:53 2003 +0000 - - Fix infinite loop in the case where the charmap contains a character > - - Tue Apr 15 05:00:39 2003 Owen Taylor - - * pango/opentype/pango-ot-info.c (synthesize_class_def): - Fix infinite loop in the case where the charmap contains - a character > 65535. (#106550, Morten Welinder.) - - src/pango-ot-info.c | 14 +++++++------- - 1 file changed, 7 insertions(+), 7 deletions(-) - -commit 312e1c1cf9f2c1e2137b9aaa5181a541447923cb -Author: James Henstridge -Date: Tue Mar 11 12:31:16 2003 +0000 - - make similar changes to the ones on glib head (call gtk-docize, etc). - - 2003-03-11 James Henstridge - - * autogen.sh: make similar changes to the ones on glib head (call - gtk-docize, etc). - - * configure.in: move some calculations into M4 macros, rather than - calculating them when configure runs. - Use AC_HELP_STRING where appropriate. - Replace gtk-doc checks with a call to GTK_DOC_CHECK. - Replace AC_OUTPUT_COMMANDS() call with a number of calls to - AC_CONFIG_COMMANDS (once per created file). - Get rid of the "chmod +x pango-config" bit, because there is no - pango-config anymore. - - * Makefile.am: get rid of custom distcheck rule, and set - DISTCHECK_CONFIGURE_FLAGS, which is equivalent. - Use += to select which .pc files to install. - - * pango/Makefile.am: Add rules to rebuild module-defs* files, and - remove them on clean. - Reorder so that rules related to each individual library are next - to each other. - Use BUILT_SOURCES for built sources. - - * pango/opentype/Makefile.am: don't use STRIP_BEGIN/STRIP_END. - - * modules/*/Makefile.am: simplify module makefiles through use of - +=, and regularise them a bit (fixed a few bugs in the process). - - * docs/Makefile.am: remove common rules, and instead include - gtk-doc.make. - - * examples/Makefile.am: add pango.modules to CLEANFILES. - - * tests/Makefile.am: remove temporary files on clean. - - src/Makefile.am | 11 +++++------ - 1 file changed, 5 insertions(+), 6 deletions(-) - -commit 1aad15fd0c007c9075f2f7f4c4cacf576d726eea -Author: Owen Taylor -Date: Mon Feb 17 22:04:29 2003 +0000 - - Add an --enable-debug configure argument defaulting to 'yes' for unstable - - Mon Feb 17 13:06:39 2003 Owen Taylor - - * configure.in **/Makefile.am: Add an --enable-debug - configure argument defaulting to 'yes' for unstable - releases and 'minimum' for stable releases. - For minimum, -DG_DISABLE_CAST_CHECKS. - - * pango/pangofc-fontmap.cI pango/pangoft2-fontmap.c - pango/pangoxft-fontmap.c: Add caching of fontsets - (#104495, initial patch and review by Soeren Sandmann) - - * pango/pangofc-fontmap.cI pango/pangoft2-fontmap.c - pango/pangoxft-fontmap.c pango/pangoft2-private.h - pango/pangoxft-private.h: Remove cache of recently freed - fonts; not necessary now that we cache fontsets. - - * pango/pangofc-fontmap.cI (pango_fc_pattern_set_free): - Rename from pango_fc_font_set_free to reflect - what it actually does. - - * pango/pangofc-fontmap.cI pango/pangoft-fontmap.c - pango/pangoxft-fontmap.c: Combine clear-the-cache - functions; we didn't need separate clear-the-font-cache - and clear-the-pattern-cache functions. - - src/Makefile.am | 1 + - 1 file changed, 1 insertion(+) - -commit 5febce1ffc956ea44526d50be7cf14c69c66cb34 -Author: Owen Taylor -Date: Wed Feb 12 22:12:55 2003 +0000 - - Up the FreeType version requirement to 2.0.9. (2.2.1 had a compilation - - Wed Feb 12 16:59:23 2003 Owen Taylor - - * configure.in pango/opentype/fterrcompat.h README: - Up the FreeType version requirement to 2.0.9. - (2.2.1 had a compilation failure with older versions, - this catches it more cleanly, and removes some unneeded - checks. #105302, problem reported by Will Partain.) - - src/fterrcompat.h | 4 ---- - 1 file changed, 4 deletions(-) - -commit 54e85cc0cf3700d2c4af5396d79bd0e40df8f0da -Author: Owen Taylor -Date: Sat Jan 11 00:16:26 2003 +0000 - - Export TT_New_GDEF_Table to create an empty GDEF table. - - Fri Jan 10 18:56:36 2003 Owen Taylor - - * pango/opentype/ftxgdef.c: Export TT_New_GDEF_Table - to create an empty GDEF table. - - * pango/opentype/pango-ot-info.c: If the font doesn't - have a class definition table, synthesize one using - the charmap and the unicode properties of characters - in the charmap. (Needed to make things work with various - old Arabic fonts, such as the KACST fonts) - - src/ftxgdef.c | 46 +++++++++++++++------- - src/ftxgdef.h | 4 ++ - src/pango-ot-info.c | 108 ++++++++++++++++++++++++++++++++++++++++++++++++++++ - 3 files changed, 144 insertions(+), 14 deletions(-) - -commit db6bb4b034d4d8d546fc9bdc4ad28b16bb7f1bb7 -Author: Matthias Clasen -Date: Thu Nov 28 23:53:18 2002 +0000 - - Add docs. - - * docs/tmpl/xft-fonts.sgml: - * docs/tmpl/freetype-fonts.sgml: Add docs. - - * pango/pangoxft-fontmap.c (pango_xft_substitute_changed): - * pango/pangoft2-fontmap.c - (pango_ft2_font_map_set_default_substitute): - Fix doc typos. - - src/pango-ot-info.c | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit 226d9b67db852eb29ad37ec8121b79f3ea6f0b73 -Author: Sebastian Wilhelmi -Date: Tue Nov 26 13:37:10 2002 +0000 - - Do not add GLIB_CFLAGS to CFLAGS. - - - 2002-11-26 Sebastian Wilhelmi - - * configure.in: Do not add GLIB_CFLAGS to CFLAGS. - - * docs/Makefile.am, examples/Makefile.am, - modules/arabic/Makefile.am, modules/basic/Makefile.am, - modules/hangul/Makefile.am, modules/hebrew/Makefile.am, - modules/indic/Makefile.am, modules/tamil/Makefile.am, - modules/thai/Makefile.am, pango/Makefile.am, - pango/mini-fribidi/Makefile.am, pango/opentype/Makefile.am: - Instead add $(GLIB_CFLAGS) directly to INCLUDES (GTKDOC_CFLAGS for - docs/Makefile.am). Also some cosmetic line wrapping and - reindentation. - - src/Makefile.am | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit 80634a30b9abdf575320bc6fdacdba4e1ea3903d -Author: Manish Singh -Date: Mon Oct 14 22:50:48 2002 +0000 - - Get rid of unnecessary casts for g_object_{ref,unref} - - Mon Oct 14 15:39:41 2002 Manish Singh - - * pango/pango-context.c pango/pango-layout.c pango/pangoft2.c - pango/pangowin32-fontmap.c pango/pangowin32.c pango/pangox-fontmap.c - pango/pangox.c pango/pangoxft-font.c pango/pangoxft-fontmap.c - pango/testfonts.c pango/opentype/pango-ot-ruleset.c: - Get rid of unnecessary casts for g_object_{ref,unref} - - src/pango-ot-ruleset.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 741993e0b15b4df86d76fa8df5055bd764c42c71 -Author: Owen Taylor -Date: Sun Sep 29 19:06:58 2002 +0000 - - ligatures can be also used in MarkBasePos lookups. (2001-03-17 Werner - - Sun Sep 29 14:55:36 2002 Owen Taylor - - * pango/opentype/ftxgpos.c: ligatures can be also used in - MarkBasePos lookups. (2001-03-17 Werner Lemberg) - - src/ftxgpos.c | 13 ++++++++++--- - 1 file changed, 10 insertions(+), 3 deletions(-) - -commit a35dc445e86ab433fe9f3937c95f2c1f18f58110 -Author: Owen Taylor -Date: Sun Sep 29 19:05:01 2002 +0000 - - Start of merges from freetype1 of OpenType fixes. - - Sun Sep 29 14:51:25 2002 Owen Taylor - - Start of merges from freetype1 of OpenType fixes. - - (2001-03-17 Werner Lemberg) - - * pango/opentype/ftxgdef.c pango/opentype/ftxgpos.c pango/opentype/ftxg\sub.c: - More fixes for special marks. - - src/ftxgdef.c | 13 ++++++++----- - src/ftxgpos.c | 6 +++--- - src/ftxgsub.c | 4 ++-- - 3 files changed, 13 insertions(+), 10 deletions(-) - -commit 5c53f14f371b349da65dfa3a848b17ab89ce3ba8 -Author: Tor Lillqvist -Date: Mon Sep 23 21:45:31 2002 +0000 - - Remove. Not used. (A static library is built here. Exported entries are in - - 2002-09-24 Tor Lillqvist - - * pango/opentype/pango-ot.def: Remove. Not used. (A static library - is built here. Exported entries are in ../pangoft2.def.) - - * pango/opentype/Makefile.am (EXTRA_DIST): Remove from here, too. - - src/Makefile.am | 3 +-- - src/pango-ot.def | 50 -------------------------------------------------- - 2 files changed, 1 insertion(+), 52 deletions(-) - -commit 35e4593ccd9ea5ed78f1e6f32f04b3a13cee0145 -Author: Tor Lillqvist -Date: Mon Sep 23 21:19:30 2002 +0000 - - pango/makefile.mingw.in pango/mini-fribidi/makefile.mingw Remove. Not - - 2002-09-23 Tor Lillqvist - - * pango/makefile.mingw.in - * pango/mini-fribidi/makefile.mingw - * pango/opentype/makefile.mingw.in: Remove. Not maintained. - - * pango/Makefile.am (EXTRA_DIST) - * pango/mini-fribidi/Makefile.am (EXTRA_DIST) - * pango/opentype/Makefile.am (EXTRA_DIST): Remove - makefile.mingw(.in) from here, too. - - * configure.in (AC_OUTPUT): Don't try to output above removed - files. - - src/Makefile.am | 3 +-- - src/makefile.mingw.in | 43 ------------------------------------------- - 2 files changed, 1 insertion(+), 45 deletions(-) - -commit fb279cb0bf676bb1d225e6a296282523d839074d -Author: Eric Mader -Date: Mon Sep 9 18:11:55 2002 +0000 - - Correctly handle back, new_advance. - - src/pango-ot-ruleset.c | 25 ++++++++++++++++--------- - 1 file changed, 16 insertions(+), 9 deletions(-) - -commit c880e814a50100577811a8a51bc06b4275c55a7e -Author: Eric Mader -Date: Fri Sep 6 22:45:23 2002 +0000 - - Don't fail when reading an empty script. - - src/ftxopen.c | 36 +++++++++++++++++++++++++----------- - src/ftxopen.h | 1 + - 2 files changed, 26 insertions(+), 11 deletions(-) - -commit 441e7d0292bf1a06396daac80fcbad23976a824d -Author: Owen Taylor -Date: Wed Aug 7 17:01:52 2002 +0000 - - Offset to MarkAttachClassDef is offset to table, not offset to offset to - - Wed Aug 7 12:32:39 2002 Owen Taylor - - * pango/opentype/ftxgsub.c (TT_Load_GSUB_Table): - Offset to MarkAttachClassDef is offset to table, - not offset to offset to table. - - * pango/opentype/ftxopen.c (Get_Device): Handle - NULL device tables which we represent with - d->DeltaValue == NULL. - - src/ftxgsub.c | 13 ------------- - src/ftxopen.c | 2 +- - 2 files changed, 1 insertion(+), 14 deletions(-) - -commit 48a16fa8090b67b046b2bb686ff4f6f038a2b8e8 -Author: Owen Taylor -Date: Tue Jun 4 00:20:51 2002 +0000 - - on Jun 3 18:56:09 2002 Owen Taylor - - Xft2 and fontconfig conversion, based largely on a patch - from Keith Packard. - - * configure.in acconfig.h: Add checks for fontconfig, switch - Xft checks to switch for Xft2 using pkg-config. - - * pangoxft.pc.in pangoxft.pc.in - modules/{arabic,basic,hebrew,indic,tamil}/Makefile.am - pango/Makefile.am: Reflect new Xft/fontconfig dependencies. - - * pango/pangoxft-private.h pango/pangoxft-fontmap.c - modules/arabic/arabic-xft.c modules/indic/indic-xft.c: - Switch over to using Xft2 and fontconfig. - - * pango/pangoft2.c pango/pangoft2-fontmap.c pango/pangoft2-private.h - pango/pango/Makefile.am: Remove usage of mini-xft in - favor of fontconfig. - - * pango/pango-ot.h pango/opentype/pango-ot-info.c pango/pangoxft.h - modules/arabic/arabic-{xft,ft2}.c modules/indic/indic-xft.c: - Attach OpenType information directly to the FT_Face - structure using FT_Generic. - - * modules/tamil/Makefile.am modules/tamil/tamil-xft.c - configure.in: Remove this module, no longer needed. - - * pango/pangoxft-font.c (pango_xft_real_render): Coalesce - calls to Xft rendering functions. - - src/pango-ot-info.c | 29 +++++++++++++++++++++++------ - 1 file changed, 23 insertions(+), 6 deletions(-) - -commit 9df9af0b3615dc6a52d784233a3410a9080d9369 -Author: Owen Taylor -Date: Fri May 10 18:44:47 2002 +0000 - - Fix acess outside of a loaded frame and some memory leaks on failure. - - Fri May 10 14:41:27 2002 Owen Taylor - - * pango/opentype/ftxgdef.c (TT_Load_GDEF_Table): Fix acess - outside of a loaded frame and some memory leaks - on failure. - - src/ftxgdef.c | 12 ++++++++++-- - 1 file changed, 10 insertions(+), 2 deletions(-) - -commit a63dbbbeeb91ebf4ded2fc788f5810a3bd1e14fe -Author: Eric Mader -Date: Tue May 7 20:39:14 2002 +0000 - - Add modules modules/indic/indic-xft.c, indic-ot.c, indic-ot.h, - - Mon May 06 15:07:39 2002 Eric Mader - * Add modules modules/indic/indic-xft.c, indic-ot.c, indic-ot.h, indic-ot-class-tables.c - - * pango/opentype/ftxgdef.c: Compute full offset for mark attachment class table - - * pango/opentype/ftxgpos.c: Only return TTO_Err_Not_Covered if nothing matches - - * pango/opentype/pango-ot-ruleset.c: enable GPOS processing - - src/ftxgdef.c | 10 ++++++++-- - src/ftxgpos.c | 33 ++++++++++++++------------------- - src/pango-ot-ruleset.c | 35 ++++++++++++++++++++++++++++++++++- - 3 files changed, 56 insertions(+), 22 deletions(-) - -commit cf00f8217c9dfcf50febbb06fad245d489a0abe6 -Author: Owen Taylor -Date: Tue Apr 23 20:20:29 2002 +0000 - - Add compatibility defines for changes in FreeType 2.1.0. - - Tue Apr 23 16:15:07 2002 Owen Taylor - - * pango/opentype/fterrcompat.h: Add compatibility - defines for changes in FreeType 2.1.0. - - src/fterrcompat.h | 39 +++++++++++++++++++++++++++++++++++++-- - 1 file changed, 37 insertions(+), 2 deletions(-) - -commit 6b1b04e3736fdca774052ac3cfbe9f027548c29d -Author: Owen Taylor -Date: Fri Mar 15 06:46:05 2002 +0000 - - In Load_ChainContextSubst2, handle the case where an empty class - - Fri Mar 15 01:35:56 2002 Owen Taylor - - * pango/opentype/ftxgsub.c pango/opentype/ftxopen.c - pango/opentype/ftxopenf.h: In Load_ChainContextSubst2, - handle the case where an empty class definition - is represented by an offset of 0. - - * pango/opentype/ftxgpos.c: Same for Load_ChainContextPos2. - - * pango/opentype/{ftxopen.c,ftxgpos.c,ftxgsub.c,ftgdef.c}: - Fix pervasive bug where on cleanups on failure of loading - an array element, all array elements were freed, not - just the ones that had been succesfully loaded. - - src/ftxgdef.c | 24 +++--- - src/ftxgpos.c | 259 ++++++++++++++++++++++++++++++++++++--------------------- - src/ftxgsub.c | 159 ++++++++++++++++++++--------------- - src/ftxopen.c | 53 ++++++++---- - src/ftxopenf.h | 2 + - 5 files changed, 306 insertions(+), 191 deletions(-) - -commit 6050933f336f43453e35246525cfec362bd23acb -Author: Owen Taylor -Date: Fri Mar 15 04:22:14 2002 +0000 - - Uncomment GPOS parts. - - Thu Mar 14 23:05:18 2002 Owen Taylor - - * pango/opentype/ftxopen.c: Uncomment GPOS parts. - - * pango/opentype/disasm.c: Start adding some GPOS - dumping. - - src/disasm.c | 146 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ - src/ftxopen.c | 20 ++++---- - 2 files changed, 154 insertions(+), 12 deletions(-) - -commit 973bd60a2526666f68138255b8536d1eaee3c2c2 -Author: Sebastian Wilhelmi -Date: Thu Dec 13 17:44:46 2001 +0000 - - Resuming aborted commit - - - Resuming aborted commit - - src/Makefile.am | 1 + - 1 file changed, 1 insertion(+) - -commit 6926ca94255e5d52d99d0d64d126165fc725432d -Author: Matthias Clasen -Date: Tue Oct 30 22:09:20 2001 +0000 - - Remove declarations of unimplemented functions - - * docs/pango-sections.txt, pango/pango-ot.h: Remove declarations - of unimplemented functions pango_ot_ruleset_set_glyph_loader and - pango_ot_ruleset_set_alternate_func and the related typedefs - PangoOTGlyphLoader and PangoOTAlternateFunc. - - * pango/opentype/pango-ot-info.c, - pango/opentype/pango-ot-ruleset.c: Documentation updates. - - src/pango-ot-info.c | 76 ++++++++++++++++++++++++++++++++++++++++++++++++++ - src/pango-ot-ruleset.c | 27 ++++++++++++++++++ - 2 files changed, 103 insertions(+) - -commit 87a475c09f6b9b391bca37de47a303a62a397b83 -Author: Havoc Pennington -Date: Wed Sep 19 21:20:36 2001 +0000 - - header to abstract the difference between FreeType 2.0.3 and 2.0.4 error - - 2001-09-19 Havoc Pennington - - * pango/opentype/fterrcompat.h: header to abstract the difference - between FreeType 2.0.3 and 2.0.4 error codes, based on the - configure check. - - * configure.in: check for the tterrors.h header in FreeType 2.0.3, - and define HAVE_FREETYPE_2_0_3 if we have it - - src/Makefile.am | 1 + - src/fterrcompat.h | 16 ++++++++++++++++ - src/ftxgdef.c | 3 ++- - src/ftxgpos.c | 3 ++- - src/ftxgsub.c | 3 ++- - src/ftxopen.c | 3 ++- - src/pango-ot-info.c | 2 +- - 7 files changed, 26 insertions(+), 5 deletions(-) - -commit 9c37226efe2489b4cf9618ec98f581c998aaf9e4 -Author: Owen Taylor -Date: Tue Sep 18 20:05:20 2001 +0000 - - Up to 0.19. - - Tue Sep 18 15:47:08 2001 Owen Taylor - - * configure.in (PANGO_MINOR_VERSION): Up to 0.19. - - * pango/pango-font.h pango/pango-fontmap.[ch] pango/fonts.c - pango/pangoxft-fontmap.c pango/pangoft-fontmap.c pango/pango-context.[ch] - pango/pangox-fontmap.c: Add new PangoFontFace and PangoFontFamily - object types, and change the font listing API to list faces and - families, instead of face names and font descriptions. - - * pango/pango-font.h pango/fonts.c: Make PangoFontDescription - an opaque heap-allocated structure, add accessors and - convenience functions. - - * pango/pango-font.h pango/pango-private.h: Make PangoFontMetrics - heap allocated, protect the structure definition with - #ifdef PANGO_ENABLE_BACKEND, and add getters for the fields. - - * pango/pango-attributes.[ch] ( pango_attr_iterator_get_font): - instead of providing a base font description and one to fill - in, provide a single font description to modify based on - the attributes. - - * pango/pango-attributes.[ch]: Fix PangoAttrFontDesc to have - a PangoFontDescription by reference, not by value. - - * pango/pango-utils.[ch]: make pango_parse_style() and friends - take pointers to individual enumerations instead of to a - PangoFontDescription structure. - - * pango/*.c: Fix for the PangoFontDescription and PangoFontMetrics - changes. - - * pango/pango-{break,engine,indic,ot,xft}.h pango/Makefile.am - pango/opentype/Makefile.am: Protect portions with - PANGO_ENABLE_ENGINE to shrink the public API. - - * modules/*/Makefile.am: -DPANGO_ENABLE_ENGINE. - - * pango/{pangox.h,pangox-private.h} modules/basic/basic-x.c: Move - pango_x_font_get_unknown_glyph() into public header since it is - used from modules. - - * pango/pango-{context,font,fontmap,modules.utils}.h pango/Makefile.am: - Protect portions with PANGO_ENABLE_BACKEND to shrink the public API. - - * pango/*.h: Use G_BEGIN/END_DECLS - - * examples/viewer-qt.[cc,h]: Fix for changes to font listing API, - PangoFontDescription. - - * pango/pango-indic.h modules/indic/*: Since we install this - header fix it up to Pango conventions, namespece - ZERO_WIDTH_JOINER, ZERO_WIDTH_NON_JOINER. - - * docs/pango-sections.txt: Updated. - - src/Makefile.am | 1 + - 1 file changed, 1 insertion(+) - -commit 7dd0838863f65a8ff2e27d12679c9a289a76aec1 -Author: Darin Adler -Date: Thu Jul 12 16:34:40 2001 +0000 - - Remove stray semicolon. - - * modules/arabic/arabic-x.c: (arabic_engine_shape): Remove stray - semicolon. - - * modules/arabic/arconv.h: - * modules/arabic/arconv.c: (shape), (doublelig), (arabic_reshape): - Use long* instead of int* for parameter to match what's passed in. - - * modules/indic/bengali-x.c: Add missing include. - (pango_indic_make_ligs): Use local variable that was added but not - ever used. - (pango_indic_engine_shape): Remove unused locals. - - * modules/indic/devanagari-x.c: Add missing include. - (pango_indic_engine_shape): Remove unused local. - - * modules/indic/gujarati-x.c: Add missing include. - (pango_indic_engine_shape): Remove unused local - - * modules/tamil/tamil-x.c: (tamil_engine_shape): Initialize a - variable to quiet the compiler's unused warning. - - * pango/.cvsignore: Ignore more generated files. - - * pango/opentype/ftxgpos.c: (Get_Anchor): Add code to set up the - ap variable. The old code would just use the uninitialized value. - - * pango/opentype/ftxopen.c: (Load_Coverage): Remove unused local. - - * pango/opentype/pango-ot-ruleset.c: (pango_ot_ruleset_shape): - Remove unused local. - - * pango/pango-attributes.c: (pango_attr_list_get_type), - (pango_color_get_type): Add needed function type casts (just - warnings under gcc, but could be errors in other compilers). - - * pango/pangoxft-font.c: (pango_xft_font_get_metrics), - (pango_xft_font_get_coverage), (pango_xft_get_shaper_map), - (pango_xft_font_find_shaper): Switch from lang char* to - PangoLanguage*. The code was still compiling, but would not have - worked. - - src/ftxgpos.c | 2 ++ - src/ftxopen.c | 1 - - src/pango-ot-ruleset.c | 1 - - 3 files changed, 2 insertions(+), 2 deletions(-) - -commit 68f8a64307441bd3b3d45971ac4dc93f63dedfe8 -Author: Owen Taylor -Date: Fri May 18 16:04:40 2001 +0000 - - Use ISO C99 varargs when available. - - Fri May 18 11:30:57 2001 Owen Taylor - - * pango/opentype/disasm.c: Use ISO C99 varargs when - available. - - Thu May 17 11:16:23 2001 Owen Taylor - - * pango/mapping.c: Fixup docs, remove some FIXMEs that are - no longer applicable. - - * pango/pango-layout.c: Move by graphemes, not characters. - - * pango/pango-layout.c (pango_layout_line_x_to_index): - Position at the closest grapheme boundary, not at character - boundaries. - - * pango/pango-layout.c (pango_layout_line_index_to_x): - Return positions of grapheme boundaries, not character - boundaries. - - src/Makefile.am | 2 ++ - src/disasm.c | 5 +++++ - 2 files changed, 7 insertions(+) - -commit 89eb36ebc6591025c063cb98f0e1b3badde73e9e -Author: Owen Taylor -Date: Tue Apr 24 15:47:22 2001 +0000 - - Remove excess call to DONE_Stream left over from conversion from FT1. - - Tue Apr 24 11:45:55 2001 Owen Taylor - - * pango/opentype/ftxgdef.c (TT_Load_GDEF_Table): Remove - excess call to DONE_Stream left over from conversion - from FT1. (reported by Michael Jansson) - - src/ftxgdef.c | 1 - - 1 file changed, 1 deletion(-) - -commit c61a730aaebec751831f8423894de5f4b539d0ec -Author: Owen Taylor -Date: Tue Apr 3 19:07:36 2001 +0000 - - Release 0.14 - - Tue Apr 3 15:05:19 2001 Owen Taylor - - * Release 0.14 - - * NEWS: updated. - - * pango/pango/opentype/Makefile.am: make dist fixes. - - * configure.in (PANGO_MINOR_VERSION): Up to 0.14 - - src/Makefile.am | 10 ++++++++-- - 1 file changed, 8 insertions(+), 2 deletions(-) - -commit 405b878923ed219617c6f643a9aec06175223d16 -Author: Tor Lillqvist -Date: Thu Dec 21 19:55:23 2000 +0000 - - Only a script engine here. - - 2000-12-21 Tor Lillqvist - - * modules/basic/basic-win32.c (script_engine_load): Only a script - engine here. - - * pango/makefile.mingw.in: Add the built pango-enum-types.[ch]. - - * pango/pango.def - * pango/pangoft2.def: Update. - - * pango/opentype/pango-ot.def - * pango/opentype/makefile.mingw.in: New files. - - * pango/opentype/Makefile.am (EXTRA_DIST): Add them. - - * configure.in (included_modules): Generate - pango/opentype/makefile.mingw. - - src/Makefile.am | 4 +++- - src/makefile.mingw.in | 43 +++++++++++++++++++++++++++++++++++++++++++ - src/pango-ot.def | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ - 3 files changed, 96 insertions(+), 1 deletion(-) - -commit 80a15829135065e16ce5b129c715d10d14b829ba -Author: Owen Taylor -Date: Wed Dec 20 04:41:36 2000 +0000 - - Since Xft may only be available statically without shlib deps, check for - - Tue Dec 19 22:47:16 2000 Owen Taylor - - * configure.in pango-config.in pangoxft.pc.in - modules/basic/Makefile.am: Since Xft may only be available - statically without shlib deps, check for FreeType libs explicitly - and include them when linking, otherwise things won't work. Also, - define FREETYPE_CFLAGS from freetype-config --cflags. - - * modules/basic/basic-xft.c pango/pangoxft-font{,map}.c: Fool - Xft into not converting glyph indices by loading the - face unencoded then calling FT_Set_Charmap ourselves. - - * pango/Makefile.am pango/pango-ot.h pango/opentype/* :Add start - of opentype handling - most of the actually meat of the code here - is the OpenType layout code from FreeType 1 ported to freetype2 - and adapted slighlty for our purposes. Also, includes a - incomplete OpenType-table-dumping code useful for figuring - out what is going on. - - * pango/pangoxft.h pango/pangoxft-font.h: Add calls for - getting FT_Face and PangoOTInfo from PangoXftFont. - - * modules/arabic/{Makefile.am,arabic-ot.[ch],arabic-xft.c}: - Initial support for rendering Arabic with OpenType fonts. - - src/.cvsignore | 8 + - src/FT-license.txt | 158 ++ - src/Makefile.am | 39 + - src/README | 36 + - src/disasm.c | 317 +++ - src/disasm.h | 26 + - src/ftxgdef.c | 1155 +++++++++ - src/ftxgdef.h | 220 ++ - src/ftxgpos.c | 6222 ++++++++++++++++++++++++++++++++++++++++++++++++ - src/ftxgpos.h | 858 +++++++ - src/ftxgsub.c | 4531 +++++++++++++++++++++++++++++++++++ - src/ftxgsub.h | 612 +++++ - src/ftxopen.c | 1467 ++++++++++++ - src/ftxopen.h | 308 +++ - src/ftxopenf.h | 161 ++ - src/ottest.c | 265 +++ - src/pango-ot-info.c | 438 ++++ - src/pango-ot-private.h | 98 + - src/pango-ot-ruleset.c | 232 ++ - 19 files changed, 17151 insertions(+) diff --git a/harfbuzz/INSTALL b/harfbuzz/INSTALL deleted file mode 100644 index 8865734..0000000 --- a/harfbuzz/INSTALL +++ /dev/null @@ -1,368 +0,0 @@ -Installation Instructions -************************* - - Copyright (C) 1994-1996, 1999-2002, 2004-2016 Free Software -Foundation, Inc. - - Copying and distribution of this file, with or without modification, -are permitted in any medium without royalty provided the copyright -notice and this notice are preserved. This file is offered as-is, -without warranty of any kind. - -Basic Installation -================== - - Briefly, the shell command './configure && make && make install' -should configure, build, and install this package. The following -more-detailed instructions are generic; see the 'README' file for -instructions specific to this package. Some packages provide this -'INSTALL' file but do not implement all of the features documented -below. The lack of an optional feature in a given package is not -necessarily a bug. More recommendations for GNU packages can be found -in *note Makefile Conventions: (standards)Makefile Conventions. - - The 'configure' shell script attempts to guess correct values for -various system-dependent variables used during compilation. It uses -those values to create a 'Makefile' in each directory of the package. -It may also create one or more '.h' files containing system-dependent -definitions. Finally, it creates a shell script 'config.status' that -you can run in the future to recreate the current configuration, and a -file 'config.log' containing compiler output (useful mainly for -debugging 'configure'). - - It can also use an optional file (typically called 'config.cache' and -enabled with '--cache-file=config.cache' or simply '-C') that saves the -results of its tests to speed up reconfiguring. Caching is disabled by -default to prevent problems with accidental use of stale cache files. - - If you need to do unusual things to compile the package, please try -to figure out how 'configure' could check whether to do them, and mail -diffs or instructions to the address given in the 'README' so they can -be considered for the next release. If you are using the cache, and at -some point 'config.cache' contains results you don't want to keep, you -may remove or edit it. - - The file 'configure.ac' (or 'configure.in') is used to create -'configure' by a program called 'autoconf'. You need 'configure.ac' if -you want to change it or regenerate 'configure' using a newer version of -'autoconf'. - - The simplest way to compile this package is: - - 1. 'cd' to the directory containing the package's source code and type - './configure' to configure the package for your system. - - Running 'configure' might take a while. While running, it prints - some messages telling which features it is checking for. - - 2. Type 'make' to compile the package. - - 3. Optionally, type 'make check' to run any self-tests that come with - the package, generally using the just-built uninstalled binaries. - - 4. Type 'make install' to install the programs and any data files and - documentation. When installing into a prefix owned by root, it is - recommended that the package be configured and built as a regular - user, and only the 'make install' phase executed with root - privileges. - - 5. Optionally, type 'make installcheck' to repeat any self-tests, but - this time using the binaries in their final installed location. - This target does not install anything. Running this target as a - regular user, particularly if the prior 'make install' required - root privileges, verifies that the installation completed - correctly. - - 6. You can remove the program binaries and object files from the - source code directory by typing 'make clean'. To also remove the - files that 'configure' created (so you can compile the package for - a different kind of computer), type 'make distclean'. There is - also a 'make maintainer-clean' target, but that is intended mainly - for the package's developers. If you use it, you may have to get - all sorts of other programs in order to regenerate files that came - with the distribution. - - 7. Often, you can also type 'make uninstall' to remove the installed - files again. In practice, not all packages have tested that - uninstallation works correctly, even though it is required by the - GNU Coding Standards. - - 8. Some packages, particularly those that use Automake, provide 'make - distcheck', which can by used by developers to test that all other - targets like 'make install' and 'make uninstall' work correctly. - This target is generally not run by end users. - -Compilers and Options -===================== - - Some systems require unusual options for compilation or linking that -the 'configure' script does not know about. Run './configure --help' -for details on some of the pertinent environment variables. - - You can give 'configure' initial values for configuration parameters -by setting variables in the command line or in the environment. Here is -an example: - - ./configure CC=c99 CFLAGS=-g LIBS=-lposix - - *Note Defining Variables::, for more details. - -Compiling For Multiple Architectures -==================================== - - You can compile the package for more than one kind of computer at the -same time, by placing the object files for each architecture in their -own directory. To do this, you can use GNU 'make'. 'cd' to the -directory where you want the object files and executables to go and run -the 'configure' script. 'configure' automatically checks for the source -code in the directory that 'configure' is in and in '..'. This is known -as a "VPATH" build. - - With a non-GNU 'make', it is safer to compile the package for one -architecture at a time in the source code directory. After you have -installed the package for one architecture, use 'make distclean' before -reconfiguring for another architecture. - - On MacOS X 10.5 and later systems, you can create libraries and -executables that work on multiple system types--known as "fat" or -"universal" binaries--by specifying multiple '-arch' options to the -compiler but only a single '-arch' option to the preprocessor. Like -this: - - ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ - CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ - CPP="gcc -E" CXXCPP="g++ -E" - - This is not guaranteed to produce working output in all cases, you -may have to build one architecture at a time and combine the results -using the 'lipo' tool if you have problems. - -Installation Names -================== - - By default, 'make install' installs the package's commands under -'/usr/local/bin', include files under '/usr/local/include', etc. You -can specify an installation prefix other than '/usr/local' by giving -'configure' the option '--prefix=PREFIX', where PREFIX must be an -absolute file name. - - You can specify separate installation prefixes for -architecture-specific files and architecture-independent files. If you -pass the option '--exec-prefix=PREFIX' to 'configure', the package uses -PREFIX as the prefix for installing programs and libraries. -Documentation and other data files still use the regular prefix. - - In addition, if you use an unusual directory layout you can give -options like '--bindir=DIR' to specify different values for particular -kinds of files. Run 'configure --help' for a list of the directories -you can set and what kinds of files go in them. In general, the default -for these options is expressed in terms of '${prefix}', so that -specifying just '--prefix' will affect all of the other directory -specifications that were not explicitly provided. - - The most portable way to affect installation locations is to pass the -correct locations to 'configure'; however, many packages provide one or -both of the following shortcuts of passing variable assignments to the -'make install' command line to change installation locations without -having to reconfigure or recompile. - - The first method involves providing an override variable for each -affected directory. For example, 'make install -prefix=/alternate/directory' will choose an alternate location for all -directory configuration variables that were expressed in terms of -'${prefix}'. Any directories that were specified during 'configure', -but not in terms of '${prefix}', must each be overridden at install time -for the entire installation to be relocated. The approach of makefile -variable overrides for each directory variable is required by the GNU -Coding Standards, and ideally causes no recompilation. However, some -platforms have known limitations with the semantics of shared libraries -that end up requiring recompilation when using this method, particularly -noticeable in packages that use GNU Libtool. - - The second method involves providing the 'DESTDIR' variable. For -example, 'make install DESTDIR=/alternate/directory' will prepend -'/alternate/directory' before all installation names. The approach of -'DESTDIR' overrides is not required by the GNU Coding Standards, and -does not work on platforms that have drive letters. On the other hand, -it does better at avoiding recompilation issues, and works well even -when some directory options were not specified in terms of '${prefix}' -at 'configure' time. - -Optional Features -================= - - If the package supports it, you can cause programs to be installed -with an extra prefix or suffix on their names by giving 'configure' the -option '--program-prefix=PREFIX' or '--program-suffix=SUFFIX'. - - Some packages pay attention to '--enable-FEATURE' options to -'configure', where FEATURE indicates an optional part of the package. -They may also pay attention to '--with-PACKAGE' options, where PACKAGE -is something like 'gnu-as' or 'x' (for the X Window System). The -'README' should mention any '--enable-' and '--with-' options that the -package recognizes. - - For packages that use the X Window System, 'configure' can usually -find the X include and library files automatically, but if it doesn't, -you can use the 'configure' options '--x-includes=DIR' and -'--x-libraries=DIR' to specify their locations. - - Some packages offer the ability to configure how verbose the -execution of 'make' will be. For these packages, running './configure ---enable-silent-rules' sets the default to minimal output, which can be -overridden with 'make V=1'; while running './configure ---disable-silent-rules' sets the default to verbose, which can be -overridden with 'make V=0'. - -Particular systems -================== - - On HP-UX, the default C compiler is not ANSI C compatible. If GNU CC -is not installed, it is recommended to use the following options in -order to use an ANSI C compiler: - - ./configure CC="cc -Ae -D_XOPEN_SOURCE=500" - -and if that doesn't work, install pre-built binaries of GCC for HP-UX. - - HP-UX 'make' updates targets which have the same time stamps as their -prerequisites, which makes it generally unusable when shipped generated -files such as 'configure' are involved. Use GNU 'make' instead. - - On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot -parse its '' header file. The option '-nodtk' can be used as a -workaround. If GNU CC is not installed, it is therefore recommended to -try - - ./configure CC="cc" - -and if that doesn't work, try - - ./configure CC="cc -nodtk" - - On Solaris, don't put '/usr/ucb' early in your 'PATH'. This -directory contains several dysfunctional programs; working variants of -these programs are available in '/usr/bin'. So, if you need '/usr/ucb' -in your 'PATH', put it _after_ '/usr/bin'. - - On Haiku, software installed for all users goes in '/boot/common', -not '/usr/local'. It is recommended to use the following options: - - ./configure --prefix=/boot/common - -Specifying the System Type -========================== - - There may be some features 'configure' cannot figure out -automatically, but needs to determine by the type of machine the package -will run on. Usually, assuming the package is built to be run on the -_same_ architectures, 'configure' can figure that out, but if it prints -a message saying it cannot guess the machine type, give it the -'--build=TYPE' option. TYPE can either be a short name for the system -type, such as 'sun4', or a canonical name which has the form: - - CPU-COMPANY-SYSTEM - -where SYSTEM can have one of these forms: - - OS - KERNEL-OS - - See the file 'config.sub' for the possible values of each field. If -'config.sub' isn't included in this package, then this package doesn't -need to know the machine type. - - If you are _building_ compiler tools for cross-compiling, you should -use the option '--target=TYPE' to select the type of system they will -produce code for. - - If you want to _use_ a cross compiler, that generates code for a -platform different from the build platform, you should specify the -"host" platform (i.e., that on which the generated programs will -eventually be run) with '--host=TYPE'. - -Sharing Defaults -================ - - If you want to set default values for 'configure' scripts to share, -you can create a site shell script called 'config.site' that gives -default values for variables like 'CC', 'cache_file', and 'prefix'. -'configure' looks for 'PREFIX/share/config.site' if it exists, then -'PREFIX/etc/config.site' if it exists. Or, you can set the -'CONFIG_SITE' environment variable to the location of the site script. -A warning: not all 'configure' scripts look for a site script. - -Defining Variables -================== - - Variables not defined in a site shell script can be set in the -environment passed to 'configure'. However, some packages may run -configure again during the build, and the customized values of these -variables may be lost. In order to avoid this problem, you should set -them in the 'configure' command line, using 'VAR=value'. For example: - - ./configure CC=/usr/local2/bin/gcc - -causes the specified 'gcc' to be used as the C compiler (unless it is -overridden in the site shell script). - -Unfortunately, this technique does not work for 'CONFIG_SHELL' due to an -Autoconf limitation. Until the limitation is lifted, you can use this -workaround: - - CONFIG_SHELL=/bin/bash ./configure CONFIG_SHELL=/bin/bash - -'configure' Invocation -====================== - - 'configure' recognizes the following options to control how it -operates. - -'--help' -'-h' - Print a summary of all of the options to 'configure', and exit. - -'--help=short' -'--help=recursive' - Print a summary of the options unique to this package's - 'configure', and exit. The 'short' variant lists options used only - in the top level, while the 'recursive' variant lists options also - present in any nested packages. - -'--version' -'-V' - Print the version of Autoconf used to generate the 'configure' - script, and exit. - -'--cache-file=FILE' - Enable the cache: use and save the results of the tests in FILE, - traditionally 'config.cache'. FILE defaults to '/dev/null' to - disable caching. - -'--config-cache' -'-C' - Alias for '--cache-file=config.cache'. - -'--quiet' -'--silent' -'-q' - Do not print messages saying which checks are being made. To - suppress all normal output, redirect it to '/dev/null' (any error - messages will still be shown). - -'--srcdir=DIR' - Look for the package's source code in directory DIR. Usually - 'configure' can determine that directory automatically. - -'--prefix=DIR' - Use DIR as the installation prefix. *note Installation Names:: for - more details, including other options available for fine-tuning the - installation locations. - -'--no-create' -'-n' - Run the configure checks, but stop before creating any output - files. - -'configure' also accepts some other, not widely useful, options. Run -'configure --help' for more details. diff --git a/harfbuzz/Makefile.am b/harfbuzz/Makefile.am deleted file mode 100644 index 3055e5a..0000000 --- a/harfbuzz/Makefile.am +++ /dev/null @@ -1,96 +0,0 @@ -# Process this file with automake to produce Makefile.in - -NULL = - -ACLOCAL_AMFLAGS = -I m4 - -SUBDIRS = src util test docs - -EXTRA_DIST = \ - autogen.sh \ - harfbuzz.doap \ - README.md \ - README.python.md \ - BUILD.md \ - CONFIG.md \ - RELEASING.md \ - TESTING.md \ - CMakeLists.txt \ - replace-enum-strings.cmake \ - meson.build \ - meson_options.txt \ - subprojects/cairo.wrap \ - subprojects/freetype2.wrap \ - subprojects/glib.wrap \ - subprojects/google-benchmark.wrap \ - subprojects/ragel.wrap \ - subprojects/packagefiles/ragel/meson.build \ - subprojects/ttf-parser.wrap \ - perf/meson.build \ - perf/perf-draw.hh \ - perf/perf-extents.hh \ - perf/perf-shaping.hh \ - perf/perf.cc \ - perf/fonts/Amiri-Regular.ttf \ - perf/fonts/NotoNastaliqUrdu-Regular.ttf \ - perf/fonts/NotoSansDevanagari-Regular.ttf \ - perf/fonts/Roboto-Regular.ttf \ - perf/texts/en-thelittleprince.txt \ - perf/texts/en-words.txt \ - perf/texts/fa-monologue.txt \ - perf/texts/fa-thelittleprince.txt \ - mingw-configure.sh \ - $(NULL) - -MAINTAINERCLEANFILES = \ - $(GITIGNORE_MAINTAINERCLEANFILES_TOPLEVEL) \ - $(GITIGNORE_MAINTAINERCLEANFILES_M4_LIBTOOL) \ - $(GITIGNORE_MAINTAINERCLEANFILES_MAKEFILE_IN) \ - $(srcdir)/INSTALL \ - $(srcdir)/ChangeLog \ - $(srcdir)/gtk-doc.make \ - $(srcdir)/m4/gtk-doc.m4 \ - $(NULL) - - -# -# ChangeLog generation -# -CHANGELOG_RANGE = -ChangeLog: $(srcdir)/ChangeLog -$(srcdir)/ChangeLog: - $(AM_V_GEN) if test -d "$(top_srcdir)/.git"; then \ - (GIT_DIR=$(top_srcdir)/.git \ - $(GIT) log $(CHANGELOG_RANGE) --stat) > $@.tmp \ - && mv -f $@.tmp "$(srcdir)/ChangeLog" \ - || ($(RM) $@.tmp; \ - echo Failed to generate ChangeLog, your ChangeLog may be outdated >&2; \ - (test -f $@ || echo git-log is required to generate this file >> "$(srcdir)/$@")); \ - else \ - test -f $@ || \ - (echo A git checkout and git-log is required to generate ChangeLog >&2 && \ - echo A git checkout and git-log is required to generate this file >> "$(srcdir)/$@"); \ - fi -.PHONY: ChangeLog $(srcdir)/ChangeLog - - -# -# Release engineering -# - -DISTCHECK_CONFIGURE_FLAGS = \ - --enable-gtk-doc \ - --disable-doc-cross-references \ - --with-gobject \ - --enable-introspection \ - $(NULL) - -# TAR_OPTIONS is not set as env var for 'make dist'. How to fix that? -TAR_OPTIONS = --owner=0 --group=0 - -dist-hook: dist-clear-sticky-bits -# Clean up any sticky bits we may inherit from parent dir -dist-clear-sticky-bits: - chmod -R a-s $(distdir) - --include $(top_srcdir)/git.mk diff --git a/harfbuzz/Makefile.in b/harfbuzz/Makefile.in deleted file mode 100644 index 540a3e7..0000000 --- a/harfbuzz/Makefile.in +++ /dev/null @@ -1,991 +0,0 @@ -# Makefile.in generated by automake 1.16.1 from Makefile.am. -# @configure_input@ - -# Copyright (C) 1994-2018 Free Software Foundation, Inc. - -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ - -# Process this file with automake to produce Makefile.in -VPATH = @srcdir@ -am__is_gnu_make = { \ - if test -z '$(MAKELEVEL)'; then \ - false; \ - elif test -n '$(MAKE_HOST)'; then \ - true; \ - elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ - true; \ - else \ - false; \ - fi; \ -} -am__make_running_with_option = \ - case $${target_option-} in \ - ?) ;; \ - *) echo "am__make_running_with_option: internal error: invalid" \ - "target option '$${target_option-}' specified" >&2; \ - exit 1;; \ - esac; \ - has_opt=no; \ - sane_makeflags=$$MAKEFLAGS; \ - if $(am__is_gnu_make); then \ - sane_makeflags=$$MFLAGS; \ - else \ - case $$MAKEFLAGS in \ - *\\[\ \ ]*) \ - bs=\\; \ - sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ - | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ - esac; \ - fi; \ - skip_next=no; \ - strip_trailopt () \ - { \ - flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ - }; \ - for flg in $$sane_makeflags; do \ - test $$skip_next = yes && { skip_next=no; continue; }; \ - case $$flg in \ - *=*|--*) continue;; \ - -*I) strip_trailopt 'I'; skip_next=yes;; \ - -*I?*) strip_trailopt 'I';; \ - -*O) strip_trailopt 'O'; skip_next=yes;; \ - -*O?*) strip_trailopt 'O';; \ - -*l) strip_trailopt 'l'; skip_next=yes;; \ - -*l?*) strip_trailopt 'l';; \ - -[dEDm]) skip_next=yes;; \ - -[JT]) skip_next=yes;; \ - esac; \ - case $$flg in \ - *$$target_option*) has_opt=yes; break;; \ - esac; \ - done; \ - test $$has_opt = yes -am__make_dryrun = (target_option=n; $(am__make_running_with_option)) -am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) -pkgdatadir = $(datadir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkglibexecdir = $(libexecdir)/@PACKAGE@ -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -build_triplet = @build@ -host_triplet = @host@ -subdir = . -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_link_flag.m4 \ - $(top_srcdir)/m4/ax_code_coverage.m4 \ - $(top_srcdir)/m4/ax_cxx_compile_stdcxx.m4 \ - $(top_srcdir)/m4/ax_pthread.m4 $(top_srcdir)/m4/gtk-doc.m4 \ - $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ - $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ - $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \ - $(am__configure_deps) $(am__DIST_COMMON) -am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ - configure.lineno config.status.lineno -mkinstalldirs = $(install_sh) -d -CONFIG_HEADER = config.h -CONFIG_CLEAN_FILES = -CONFIG_CLEAN_VPATH_FILES = -AM_V_P = $(am__v_P_@AM_V@) -am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) -am__v_P_0 = false -am__v_P_1 = : -AM_V_GEN = $(am__v_GEN_@AM_V@) -am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) -am__v_GEN_0 = @echo " GEN " $@; -am__v_GEN_1 = -AM_V_at = $(am__v_at_@AM_V@) -am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) -am__v_at_0 = @ -am__v_at_1 = -SOURCES = -DIST_SOURCES = -RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ - ctags-recursive dvi-recursive html-recursive info-recursive \ - install-data-recursive install-dvi-recursive \ - install-exec-recursive install-html-recursive \ - install-info-recursive install-pdf-recursive \ - install-ps-recursive install-recursive installcheck-recursive \ - installdirs-recursive pdf-recursive ps-recursive \ - tags-recursive uninstall-recursive -am__can_run_installinfo = \ - case $$AM_UPDATE_INFO_DIR in \ - n|no|NO) false;; \ - *) (install-info --version) >/dev/null 2>&1;; \ - esac -RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ - distclean-recursive maintainer-clean-recursive -am__recursive_targets = \ - $(RECURSIVE_TARGETS) \ - $(RECURSIVE_CLEAN_TARGETS) \ - $(am__extra_recursive_targets) -AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ - cscope distdir distdir-am dist dist-all distcheck -am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \ - $(LISP)config.h.in -# Read a list of newline-separated strings from the standard input, -# and print each of them once, without duplicates. Input order is -# *not* preserved. -am__uniquify_input = $(AWK) '\ - BEGIN { nonempty = 0; } \ - { items[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in items) print i; }; } \ -' -# Make sure the list of sources is unique. This is necessary because, -# e.g., the same source file might be shared among _SOURCES variables -# for different programs/libraries. -am__define_uniq_tagged_files = \ - list='$(am__tagged_files)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | $(am__uniquify_input)` -ETAGS = etags -CTAGS = ctags -CSCOPE = cscope -DIST_SUBDIRS = $(SUBDIRS) -am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in AUTHORS \ - COPYING ChangeLog INSTALL NEWS README THANKS TODO ar-lib \ - compile config.guess config.sub install-sh ltmain.sh missing -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -distdir = $(PACKAGE)-$(VERSION) -top_distdir = $(distdir) -am__remove_distdir = \ - if test -d "$(distdir)"; then \ - find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ - && rm -rf "$(distdir)" \ - || { sleep 5 && rm -rf "$(distdir)"; }; \ - else :; fi -am__post_remove_distdir = $(am__remove_distdir) -am__relativize = \ - dir0=`pwd`; \ - sed_first='s,^\([^/]*\)/.*$$,\1,'; \ - sed_rest='s,^[^/]*/*,,'; \ - sed_last='s,^.*/\([^/]*\)$$,\1,'; \ - sed_butlast='s,/*[^/]*$$,,'; \ - while test -n "$$dir1"; do \ - first=`echo "$$dir1" | sed -e "$$sed_first"`; \ - if test "$$first" != "."; then \ - if test "$$first" = ".."; then \ - dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ - dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ - else \ - first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ - if test "$$first2" = "$$first"; then \ - dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ - else \ - dir2="../$$dir2"; \ - fi; \ - dir0="$$dir0"/"$$first"; \ - fi; \ - fi; \ - dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ - done; \ - reldir="$$dir2" -GZIP_ENV = --best -DIST_ARCHIVES = $(distdir).tar.xz -DIST_TARGETS = dist-xz -distuninstallcheck_listfiles = find . -type f -print -am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ - | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' -distcleancheck_listfiles = find . -type f -print -ACLOCAL = @ACLOCAL@ -AMTAR = @AMTAR@ -AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ -AR = @AR@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AWK = @AWK@ -CAIRO_CFLAGS = @CAIRO_CFLAGS@ -CAIRO_FT_CFLAGS = @CAIRO_FT_CFLAGS@ -CAIRO_FT_LIBS = @CAIRO_FT_LIBS@ -CAIRO_LIBS = @CAIRO_LIBS@ -CC = @CC@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -CHAFA_CFLAGS = @CHAFA_CFLAGS@ -CHAFA_LIBS = @CHAFA_LIBS@ -CODE_COVERAGE_CFLAGS = @CODE_COVERAGE_CFLAGS@ -CODE_COVERAGE_CPPFLAGS = @CODE_COVERAGE_CPPFLAGS@ -CODE_COVERAGE_CXXFLAGS = @CODE_COVERAGE_CXXFLAGS@ -CODE_COVERAGE_ENABLED = @CODE_COVERAGE_ENABLED@ -CODE_COVERAGE_LDFLAGS = @CODE_COVERAGE_LDFLAGS@ -CODE_COVERAGE_LIBS = @CODE_COVERAGE_LIBS@ -CORETEXT_CFLAGS = @CORETEXT_CFLAGS@ -CORETEXT_LIBS = @CORETEXT_LIBS@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CXX = @CXX@ -CXXCPP = @CXXCPP@ -CXXDEPMODE = @CXXDEPMODE@ -CXXFLAGS = @CXXFLAGS@ -CYGPATH_W = @CYGPATH_W@ -DEFS = @DEFS@ -DEPDIR = @DEPDIR@ -DIRECTWRITE_CXXFLAGS = @DIRECTWRITE_CXXFLAGS@ -DIRECTWRITE_LIBS = @DIRECTWRITE_LIBS@ -DLLTOOL = @DLLTOOL@ -DSYMUTIL = @DSYMUTIL@ -DUMPBIN = @DUMPBIN@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -EXEEXT = @EXEEXT@ -FGREP = @FGREP@ -FREETYPE_CFLAGS = @FREETYPE_CFLAGS@ -FREETYPE_DEPS = @FREETYPE_DEPS@ -FREETYPE_LIBS = @FREETYPE_LIBS@ -GCOV = @GCOV@ -GDI_CFLAGS = @GDI_CFLAGS@ -GDI_LIBS = @GDI_LIBS@ -GENHTML = @GENHTML@ -GIT = @GIT@ -GLIB_CFLAGS = @GLIB_CFLAGS@ -GLIB_DEPS = @GLIB_DEPS@ -GLIB_LIBS = @GLIB_LIBS@ -GLIB_MKENUMS = @GLIB_MKENUMS@ -GOBJECT_CFLAGS = @GOBJECT_CFLAGS@ -GOBJECT_LIBS = @GOBJECT_LIBS@ -GRAPHITE2_CFLAGS = @GRAPHITE2_CFLAGS@ -GRAPHITE2_DEPS = @GRAPHITE2_DEPS@ -GRAPHITE2_LIBS = @GRAPHITE2_LIBS@ -GREP = @GREP@ -GTKDOC_CHECK = @GTKDOC_CHECK@ -GTKDOC_CHECK_PATH = @GTKDOC_CHECK_PATH@ -GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@ -GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@ -GTKDOC_MKPDF = @GTKDOC_MKPDF@ -GTKDOC_REBASE = @GTKDOC_REBASE@ -HAVE_CXX11 = @HAVE_CXX11@ -HB_LIBTOOL_VERSION_INFO = @HB_LIBTOOL_VERSION_INFO@ -HB_VERSION = @HB_VERSION@ -HB_VERSION_MAJOR = @HB_VERSION_MAJOR@ -HB_VERSION_MICRO = @HB_VERSION_MICRO@ -HB_VERSION_MINOR = @HB_VERSION_MINOR@ -HTML_DIR = @HTML_DIR@ -ICU_CFLAGS = @ICU_CFLAGS@ -ICU_LIBS = @ICU_LIBS@ -INSTALL = @INSTALL@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -INTROSPECTION_CFLAGS = @INTROSPECTION_CFLAGS@ -INTROSPECTION_COMPILER = @INTROSPECTION_COMPILER@ -INTROSPECTION_GENERATE = @INTROSPECTION_GENERATE@ -INTROSPECTION_GIRDIR = @INTROSPECTION_GIRDIR@ -INTROSPECTION_LIBS = @INTROSPECTION_LIBS@ -INTROSPECTION_MAKEFILE = @INTROSPECTION_MAKEFILE@ -INTROSPECTION_SCANNER = @INTROSPECTION_SCANNER@ -INTROSPECTION_TYPELIBDIR = @INTROSPECTION_TYPELIBDIR@ -LCOV = @LCOV@ -LD = @LD@ -LDFLAGS = @LDFLAGS@ -LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ -LIBTOOL = @LIBTOOL@ -LIPO = @LIPO@ -LN_S = @LN_S@ -LTLIBOBJS = @LTLIBOBJS@ -LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ -MAKEINFO = @MAKEINFO@ -MANIFEST_TOOL = @MANIFEST_TOOL@ -MKDIR_P = @MKDIR_P@ -NM = @NM@ -NMEDIT = @NMEDIT@ -OBJDUMP = @OBJDUMP@ -OBJEXT = @OBJEXT@ -OTOOL = @OTOOL@ -OTOOL64 = @OTOOL64@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_URL = @PACKAGE_URL@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -PKG_CONFIG = @PKG_CONFIG@ -PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ -PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ -PTHREAD_CC = @PTHREAD_CC@ -PTHREAD_CFLAGS = @PTHREAD_CFLAGS@ -PTHREAD_LIBS = @PTHREAD_LIBS@ -RAGEL = @RAGEL@ -RANLIB = @RANLIB@ -SED = @SED@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -STRIP = @STRIP@ -UNISCRIBE_CFLAGS = @UNISCRIBE_CFLAGS@ -UNISCRIBE_LIBS = @UNISCRIBE_LIBS@ -VERSION = @VERSION@ -_GI_EXP_DATADIR = @_GI_EXP_DATADIR@ -_GI_EXP_LIBDIR = @_GI_EXP_LIBDIR@ -abs_builddir = @abs_builddir@ -abs_srcdir = @abs_srcdir@ -abs_top_builddir = @abs_top_builddir@ -abs_top_srcdir = @abs_top_srcdir@ -ac_ct_AR = @ac_ct_AR@ -ac_ct_CC = @ac_ct_CC@ -ac_ct_CXX = @ac_ct_CXX@ -ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -am__tar = @am__tar@ -am__untar = @am__untar@ -ax_pthread_config = @ax_pthread_config@ -bindir = @bindir@ -build = @build@ -build_alias = @build_alias@ -build_cpu = @build_cpu@ -build_os = @build_os@ -build_vendor = @build_vendor@ -builddir = @builddir@ -datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ -exec_prefix = @exec_prefix@ -have_gobject = @have_gobject@ -host = @host@ -host_alias = @host_alias@ -host_cpu = @host_cpu@ -host_os = @host_os@ -host_vendor = @host_vendor@ -htmldir = @htmldir@ -includedir = @includedir@ -infodir = @infodir@ -install_sh = @install_sh@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localedir = @localedir@ -localstatedir = @localstatedir@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -psdir = @psdir@ -runstatedir = @runstatedir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -srcdir = @srcdir@ -sysconfdir = @sysconfdir@ -target_alias = @target_alias@ -top_build_prefix = @top_build_prefix@ -top_builddir = @top_builddir@ -top_srcdir = @top_srcdir@ -NULL = -ACLOCAL_AMFLAGS = -I m4 -SUBDIRS = src util test docs -EXTRA_DIST = \ - autogen.sh \ - harfbuzz.doap \ - README.md \ - README.python.md \ - BUILD.md \ - CONFIG.md \ - RELEASING.md \ - TESTING.md \ - CMakeLists.txt \ - replace-enum-strings.cmake \ - meson.build \ - meson_options.txt \ - subprojects/cairo.wrap \ - subprojects/freetype2.wrap \ - subprojects/glib.wrap \ - subprojects/google-benchmark.wrap \ - subprojects/ragel.wrap \ - subprojects/packagefiles/ragel/meson.build \ - subprojects/ttf-parser.wrap \ - perf/meson.build \ - perf/perf-draw.hh \ - perf/perf-extents.hh \ - perf/perf-shaping.hh \ - perf/perf.cc \ - perf/fonts/Amiri-Regular.ttf \ - perf/fonts/NotoNastaliqUrdu-Regular.ttf \ - perf/fonts/NotoSansDevanagari-Regular.ttf \ - perf/fonts/Roboto-Regular.ttf \ - perf/texts/en-thelittleprince.txt \ - perf/texts/en-words.txt \ - perf/texts/fa-monologue.txt \ - perf/texts/fa-thelittleprince.txt \ - mingw-configure.sh \ - $(NULL) - -MAINTAINERCLEANFILES = \ - $(GITIGNORE_MAINTAINERCLEANFILES_TOPLEVEL) \ - $(GITIGNORE_MAINTAINERCLEANFILES_M4_LIBTOOL) \ - $(GITIGNORE_MAINTAINERCLEANFILES_MAKEFILE_IN) \ - $(srcdir)/INSTALL \ - $(srcdir)/ChangeLog \ - $(srcdir)/gtk-doc.make \ - $(srcdir)/m4/gtk-doc.m4 \ - $(NULL) - - -# -# ChangeLog generation -# -CHANGELOG_RANGE = - -# -# Release engineering -# -DISTCHECK_CONFIGURE_FLAGS = \ - --enable-gtk-doc \ - --disable-doc-cross-references \ - --with-gobject \ - --enable-introspection \ - $(NULL) - - -# TAR_OPTIONS is not set as env var for 'make dist'. How to fix that? -TAR_OPTIONS = --owner=0 --group=0 -all: config.h - $(MAKE) $(AM_MAKEFLAGS) all-recursive - -.SUFFIXES: -am--refresh: Makefile - @: -$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - echo ' cd $(srcdir) && $(AUTOMAKE) --gnits'; \ - $(am__cd) $(srcdir) && $(AUTOMAKE) --gnits \ - && exit 0; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnits Makefile'; \ - $(am__cd) $(top_srcdir) && \ - $(AUTOMAKE) --gnits Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - echo ' $(SHELL) ./config.status'; \ - $(SHELL) ./config.status;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - $(SHELL) ./config.status --recheck - -$(top_srcdir)/configure: $(am__configure_deps) - $(am__cd) $(srcdir) && $(AUTOCONF) -$(ACLOCAL_M4): $(am__aclocal_m4_deps) - $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) -$(am__aclocal_m4_deps): - -config.h: stamp-h1 - @test -f $@ || rm -f stamp-h1 - @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1 - -stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status - @rm -f stamp-h1 - cd $(top_builddir) && $(SHELL) ./config.status config.h -$(srcdir)/config.h.in: $(am__configure_deps) - ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) - rm -f stamp-h1 - touch $@ - -distclean-hdr: - -rm -f config.h stamp-h1 - -mostlyclean-libtool: - -rm -f *.lo - -clean-libtool: - -rm -rf .libs _libs - -distclean-libtool: - -rm -f libtool config.lt - -# This directory's subdirectories are mostly independent; you can cd -# into them and run 'make' without going through this Makefile. -# To change the values of 'make' variables: instead of editing Makefiles, -# (1) if the variable is set in 'config.status', edit 'config.status' -# (which will cause the Makefiles to be regenerated when you run 'make'); -# (2) otherwise, pass the desired values on the 'make' command line. -$(am__recursive_targets): - @fail=; \ - if $(am__make_keepgoing); then \ - failcom='fail=yes'; \ - else \ - failcom='exit 1'; \ - fi; \ - dot_seen=no; \ - target=`echo $@ | sed s/-recursive//`; \ - case "$@" in \ - distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ - *) list='$(SUBDIRS)' ;; \ - esac; \ - for subdir in $$list; do \ - echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - dot_seen=yes; \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || eval $$failcom; \ - done; \ - if test "$$dot_seen" = "no"; then \ - $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ - fi; test -z "$$fail" - -ID: $(am__tagged_files) - $(am__define_uniq_tagged_files); mkid -fID $$unique -tags: tags-recursive -TAGS: tags - -tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) - set x; \ - here=`pwd`; \ - if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ - include_option=--etags-include; \ - empty_fix=.; \ - else \ - include_option=--include; \ - empty_fix=; \ - fi; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - test ! -f $$subdir/TAGS || \ - set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ - fi; \ - done; \ - $(am__define_uniq_tagged_files); \ - shift; \ - if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ - test -n "$$unique" || unique=$$empty_fix; \ - if test $$# -gt 0; then \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - "$$@" $$unique; \ - else \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - $$unique; \ - fi; \ - fi -ctags: ctags-recursive - -CTAGS: ctags -ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) - $(am__define_uniq_tagged_files); \ - test -z "$(CTAGS_ARGS)$$unique" \ - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ - $$unique - -GTAGS: - here=`$(am__cd) $(top_builddir) && pwd` \ - && $(am__cd) $(top_srcdir) \ - && gtags -i $(GTAGS_ARGS) "$$here" -cscope: cscope.files - test ! -s cscope.files \ - || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS) -clean-cscope: - -rm -f cscope.files -cscope.files: clean-cscope cscopelist -cscopelist: cscopelist-recursive - -cscopelist-am: $(am__tagged_files) - list='$(am__tagged_files)'; \ - case "$(srcdir)" in \ - [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ - *) sdir=$(subdir)/$(srcdir) ;; \ - esac; \ - for i in $$list; do \ - if test -f "$$i"; then \ - echo "$(subdir)/$$i"; \ - else \ - echo "$$sdir/$$i"; \ - fi; \ - done >> $(top_builddir)/cscope.files - -distclean-tags: - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags - -rm -f cscope.out cscope.in.out cscope.po.out cscope.files - -distdir: $(BUILT_SOURCES) - $(MAKE) $(AM_MAKEFLAGS) distdir-am - -distdir-am: $(DISTFILES) - @case `sed 15q $(srcdir)/NEWS` in \ - *"$(VERSION)"*) : ;; \ - *) \ - echo "NEWS not updated; not releasing" 1>&2; \ - exit 1;; \ - esac - $(am__remove_distdir) - test -d "$(distdir)" || mkdir "$(distdir)" - @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - list='$(DISTFILES)'; \ - dist_files=`for file in $$list; do echo $$file; done | \ - sed -e "s|^$$srcdirstrip/||;t" \ - -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ - case $$dist_files in \ - */*) $(MKDIR_P) `echo "$$dist_files" | \ - sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ - sort -u` ;; \ - esac; \ - for file in $$dist_files; do \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - if test -d $$d/$$file; then \ - dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test -d "$(distdir)/$$file"; then \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ - else \ - test -f "$(distdir)/$$file" \ - || cp -p $$d/$$file "$(distdir)/$$file" \ - || exit 1; \ - fi; \ - done - @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - $(am__make_dryrun) \ - || test -d "$(distdir)/$$subdir" \ - || $(MKDIR_P) "$(distdir)/$$subdir" \ - || exit 1; \ - dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ - $(am__relativize); \ - new_distdir=$$reldir; \ - dir1=$$subdir; dir2="$(top_distdir)"; \ - $(am__relativize); \ - new_top_distdir=$$reldir; \ - echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ - echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ - ($(am__cd) $$subdir && \ - $(MAKE) $(AM_MAKEFLAGS) \ - top_distdir="$$new_top_distdir" \ - distdir="$$new_distdir" \ - am__remove_distdir=: \ - am__skip_length_check=: \ - am__skip_mode_fix=: \ - distdir) \ - || exit 1; \ - fi; \ - done - $(MAKE) $(AM_MAKEFLAGS) \ - top_distdir="$(top_distdir)" distdir="$(distdir)" \ - dist-hook - -test -n "$(am__skip_mode_fix)" \ - || find "$(distdir)" -type d ! -perm -755 \ - -exec chmod u+rwx,go+rx {} \; -o \ - ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ - ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ - ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ - || chmod -R a+r "$(distdir)" -dist-gzip: distdir - tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz - $(am__post_remove_distdir) - -dist-bzip2: distdir - tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 - $(am__post_remove_distdir) - -dist-lzip: distdir - tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz - $(am__post_remove_distdir) -dist-xz: distdir - tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz - $(am__post_remove_distdir) - -dist-tarZ: distdir - @echo WARNING: "Support for distribution archives compressed with" \ - "legacy program 'compress' is deprecated." >&2 - @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 - tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z - $(am__post_remove_distdir) - -dist-shar: distdir - @echo WARNING: "Support for shar distribution archives is" \ - "deprecated." >&2 - @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 - shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz - $(am__post_remove_distdir) - -dist-zip: distdir - -rm -f $(distdir).zip - zip -rq $(distdir).zip $(distdir) - $(am__post_remove_distdir) - -dist dist-all: - $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:' - $(am__post_remove_distdir) - -# This target untars the dist file and tries a VPATH configuration. Then -# it guarantees that the distribution is self-contained by making another -# tarfile. -distcheck: dist - case '$(DIST_ARCHIVES)' in \ - *.tar.gz*) \ - eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\ - *.tar.bz2*) \ - bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ - *.tar.lz*) \ - lzip -dc $(distdir).tar.lz | $(am__untar) ;;\ - *.tar.xz*) \ - xz -dc $(distdir).tar.xz | $(am__untar) ;;\ - *.tar.Z*) \ - uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ - *.shar.gz*) \ - eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\ - *.zip*) \ - unzip $(distdir).zip ;;\ - esac - chmod -R a-w $(distdir) - chmod u+w $(distdir) - mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst - chmod a-w $(distdir) - test -d $(distdir)/_build || exit 0; \ - dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ - && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ - && am__cwd=`pwd` \ - && $(am__cd) $(distdir)/_build/sub \ - && ../../configure \ - $(AM_DISTCHECK_CONFIGURE_FLAGS) \ - $(DISTCHECK_CONFIGURE_FLAGS) \ - --srcdir=../.. --prefix="$$dc_install_base" \ - && $(MAKE) $(AM_MAKEFLAGS) \ - && $(MAKE) $(AM_MAKEFLAGS) dvi \ - && $(MAKE) $(AM_MAKEFLAGS) check \ - && $(MAKE) $(AM_MAKEFLAGS) install \ - && $(MAKE) $(AM_MAKEFLAGS) installcheck \ - && $(MAKE) $(AM_MAKEFLAGS) uninstall \ - && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ - distuninstallcheck \ - && chmod -R a-w "$$dc_install_base" \ - && ({ \ - (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ - && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ - && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ - && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ - distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ - } || { rm -rf "$$dc_destdir"; exit 1; }) \ - && rm -rf "$$dc_destdir" \ - && $(MAKE) $(AM_MAKEFLAGS) dist \ - && rm -rf $(DIST_ARCHIVES) \ - && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ - && cd "$$am__cwd" \ - || exit 1 - $(am__post_remove_distdir) - @(echo "$(distdir) archives ready for distribution: "; \ - list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ - sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' -distuninstallcheck: - @test -n '$(distuninstallcheck_dir)' || { \ - echo 'ERROR: trying to run $@ with an empty' \ - '$$(distuninstallcheck_dir)' >&2; \ - exit 1; \ - }; \ - $(am__cd) '$(distuninstallcheck_dir)' || { \ - echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \ - exit 1; \ - }; \ - test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \ - || { echo "ERROR: files left after uninstall:" ; \ - if test -n "$(DESTDIR)"; then \ - echo " (check DESTDIR support)"; \ - fi ; \ - $(distuninstallcheck_listfiles) ; \ - exit 1; } >&2 -distcleancheck: distclean - @if test '$(srcdir)' = . ; then \ - echo "ERROR: distcleancheck can only run from a VPATH build" ; \ - exit 1 ; \ - fi - @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ - || { echo "ERROR: files left in build directory after distclean:" ; \ - $(distcleancheck_listfiles) ; \ - exit 1; } >&2 -check-am: all-am -check: check-recursive -all-am: Makefile config.h -installdirs: installdirs-recursive -installdirs-am: -install: install-recursive -install-exec: install-exec-recursive -install-data: install-data-recursive -uninstall: uninstall-recursive - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-recursive -install-strip: - if test -z '$(STRIP)'; then \ - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - install; \ - else \ - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ - fi -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." - -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) -clean: clean-recursive - -clean-am: clean-generic clean-libtool mostlyclean-am - -distclean: distclean-recursive - -rm -f $(am__CONFIG_DISTCLEAN_FILES) - -rm -f Makefile -distclean-am: clean-am distclean-generic distclean-hdr \ - distclean-libtool distclean-tags - -dvi: dvi-recursive - -dvi-am: - -html: html-recursive - -html-am: - -info: info-recursive - -info-am: - -install-data-am: - -install-dvi: install-dvi-recursive - -install-dvi-am: - -install-exec-am: - -install-html: install-html-recursive - -install-html-am: - -install-info: install-info-recursive - -install-info-am: - -install-man: - -install-pdf: install-pdf-recursive - -install-pdf-am: - -install-ps: install-ps-recursive - -install-ps-am: - -installcheck-am: - -maintainer-clean: maintainer-clean-recursive - -rm -f $(am__CONFIG_DISTCLEAN_FILES) - -rm -rf $(top_srcdir)/autom4te.cache - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-recursive - -mostlyclean-am: mostlyclean-generic mostlyclean-libtool - -pdf: pdf-recursive - -pdf-am: - -ps: ps-recursive - -ps-am: - -uninstall-am: - -.MAKE: $(am__recursive_targets) all install-am install-strip - -.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \ - am--refresh check check-am clean clean-cscope clean-generic \ - clean-libtool cscope cscopelist-am ctags ctags-am dist \ - dist-all dist-bzip2 dist-gzip dist-hook dist-lzip dist-shar \ - dist-tarZ dist-xz dist-zip distcheck distclean \ - distclean-generic distclean-hdr distclean-libtool \ - distclean-tags distcleancheck distdir distuninstallcheck dvi \ - dvi-am html html-am info info-am install install-am \ - install-data install-data-am install-dvi install-dvi-am \ - install-exec install-exec-am install-html install-html-am \ - install-info install-info-am install-man install-pdf \ - install-pdf-am install-ps install-ps-am install-strip \ - installcheck installcheck-am installdirs installdirs-am \ - maintainer-clean maintainer-clean-generic mostlyclean \ - mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ - tags tags-am uninstall uninstall-am - -.PRECIOUS: Makefile - -ChangeLog: $(srcdir)/ChangeLog -$(srcdir)/ChangeLog: - $(AM_V_GEN) if test -d "$(top_srcdir)/.git"; then \ - (GIT_DIR=$(top_srcdir)/.git \ - $(GIT) log $(CHANGELOG_RANGE) --stat) > $@.tmp \ - && mv -f $@.tmp "$(srcdir)/ChangeLog" \ - || ($(RM) $@.tmp; \ - echo Failed to generate ChangeLog, your ChangeLog may be outdated >&2; \ - (test -f $@ || echo git-log is required to generate this file >> "$(srcdir)/$@")); \ - else \ - test -f $@ || \ - (echo A git checkout and git-log is required to generate ChangeLog >&2 && \ - echo A git checkout and git-log is required to generate this file >> "$(srcdir)/$@"); \ - fi -.PHONY: ChangeLog $(srcdir)/ChangeLog - -dist-hook: dist-clear-sticky-bits -# Clean up any sticky bits we may inherit from parent dir -dist-clear-sticky-bits: - chmod -R a-s $(distdir) - --include $(top_srcdir)/git.mk - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/harfbuzz/NEWS b/harfbuzz/NEWS deleted file mode 100644 index 13a3b51..0000000 --- a/harfbuzz/NEWS +++ /dev/null @@ -1,2625 +0,0 @@ -Overview of changes leading to 3.2.0 -Friday, November 26, 2021 -==================================== - -“harfbuzz” library improvements: -- Fixed shaping of Apple Color Emoji flags in right-to-left context. (Behdad Esfahbod) -- Fixed positioning of CFF fonts in HB_TINY profile. (Behdad Esfahbod) -- OpenType 1.9 language tags update. (David Corbett) -- Add HB_NO_VERTICAL config option. -- Add HB_CONFIG_OVERRIDE_H for easier configuration. (Behdad Esfahbod) - -“harfbuzz-subset” library improvements: -- Improved packing of cmap, loca, and Ligature tables. (Garret Rieger) -- Significantly improved overflow-resolution strategy in the repacker. (Garret Rieger) - - -Overview of changes leading to 3.1.2 -Friday, November 26, 2021 -==================================== -- hb-shape / hb-view: revert treating text on the commandline as single - paragraph (was introduced in 3.0.0); add new --single-par to do that. - (Behdad Esfahbod) -- Subsetter bug fixes. (Garret Rieger, Qunxin Liu, Behdad Esfahbod) - - -Overview of changes leading to 3.1.1 -Wednesday, November 8, 2021 -==================================== -- Work around GCC cast-align error/warning on some platforms. (Behdad Esfahbod) -- Documentation improvements. (Matthias Clasen) - - -Overview of changes leading to 3.1.0 -Wednesday, November 3, 2021 -==================================== -- Better offset-overflow handling in the subsetter library. (Garret Rieger) -- Improved Unicode 14 properties in the USE shaper, and various other USE - shaper fixes. (David Corbett) -- MATH and COLR v1 tables subsetting support, and various other subsetter fixes. - (Qunxin Liu) -- Support for Pwo Karen / Ason Chin medial la. (Simon Cozens) -- Apply GPOS positioning when substituting with morx table, if kerx is missing. - (Behdad Esfahbod) -- Apply calt and clig features across syllable boundaries in Indic shaper. - (Behdad Esfahbod) -- meson option for enabling Graphite 2 has been renamed to graphite2. -- Build and documentation fixes. - -- New API: -+hb_buffer_set_not_found_glyph() -+hb_buffer_get_not_found_glyph() - - -Overview of changes leading to 3.0.0 -Friday, September 17, 2021 -==================================== -- Unicode 14.0 support (David Corbett). -- The hb-subset API and the harfbuzz-subset library's ABI are now declared - stable. The harfbuzz-subset library would not have been possible without the - work of Garret Rieger and Qunxin Liu from Google Fonts, and the earlier work - of Michiharu Ariza from Adobe. -- The hb-style API is now stable and no longer experimental. - -- New API: -+hb_style_tag_t -+hb_style_get_value() -+hb_subset_input_t -+hb_subset_flags_t -+hb_subset_sets_t -+hb_subset_input_create_or_fail() -+hb_subset_input_reference() -+hb_subset_input_destroy() -+hb_subset_input_set_user_data() -+hb_subset_input_get_user_data() -+hb_subset_input_unicode_set() -+hb_subset_input_glyph_set() -+hb_subset_input_set() -+hb_subset_input_get_flags() -+hb_subset_input_set_flags() -+hb_subset_or_fail() - -- Removed old unstable harfbuzz-subset API: --hb_subset_input_nameid_set() --hb_subset_input_namelangid_set() --hb_subset_input_layout_features_set() --hb_subset_input_no_subset_tables_set() --hb_subset_input_drop_tables_set() --hb_subset_input_set_drop_hints() --hb_subset_input_get_drop_hints() --hb_subset_input_set_desubroutinize() --hb_subset_input_get_desubroutinize() --hb_subset_input_set_retain_gids() --hb_subset_input_get_retain_gids() --hb_subset_input_set_name_legacy() --hb_subset_input_get_name_legacy() --hb_subset_input_set_overlaps_flag() --hb_subset_input_get_overlaps_flag() --hb_subset_input_set_notdef_outline() --hb_subset_input_get_notdef_outline() --hb_subset_input_set_no_prune_unicode_ranges() --hb_subset_input_get_no_prune_unicode_ranges() --hb_subset() - - -Overview of changes leading to 2.9.1 -Tuesday, September 7, 2021 -==================================== -- Final subset API is in place and if no issues are discovered, it will be the - stable subset API of HarfBuzz 3.0.0. Old API is kept to ease transition, but - will be removed in 3.0.0. -- Various fuzzer-found bug fixes. -- hb_buffer_append() now handles the pre- and post-context which previously - were left unchanged in the destination buffer. -- hb-view / hb-shape now accept following new arguments: - o --unicodes-before/after: takes a list of hex numbers that represent Unicode - codepoints. -- Undeprecated API: - hb_set_invert() - - -Overview of changes leading to 2.9.0 -Wednesday, August 18, 2021 -History Repeats Itself (Afghanistan) -==================================== -- Subsetter API is being stabilized, with the first stable API to happen in - 3.0.0 release (https://github.com/harfbuzz/harfbuzz/issues/3078). -- Support multiple variation axes with same tag, aka HOI. -- The “coretext” testing shaper now passes font variations to CoreText. -- hb-shape/hb-view does not break line at new lines unless text is read from - file. -- hb-view and hb-subset has a --batch now, similar to hb-shape. -- The --batch mode now uses ; as argument separator instead of : used previously. -- The --batch in hb-shape does not expect 0th argument anymore. That is, the - lines read are interpreted as argv[1:], instead of argv[0:]. -- The --batch option has been undocumented. We are ready to document it; send - feedback if you find it useful. -- hb-subset got arguments revamps. Added much-requested --gids-file, --glyphs, - --glyphs-file, --unicodes-file, supporting ranges in --unicodes. -- Various bug fixes. - - -Overview of changes leading to 2.8.2 -Tuesday, July 8, 2021 -==================================== -- Shaping LTR digits for RTL scripts now makes the native direction of the - digits LTR, applying shaping and positioning rules on the same glyph order as - Uniscribe. (Jonathan Kew, Khaled Hosny). -- Subsetting COLR v1 and CPAL tables is now supported. (Garret Rieger, Qunxin Liu) -- Various fixes and improvements to the subsetter. (Garret Rieger, Qunxin Liu, Behdad) -- When applying morx table, mark glyph widths should not be zeroed. (Jonathan Kew) -- GPOS is preferred over kerx, if GSUB was applied. (Behdad) -- Regional_Indicator pairs are grouped together when clustering. (Behdad) -- New API: -+hb_blob_create_or_fail() -+hb_blob_create_from_file_or_fail() -+hb_set_copy() - - -Overview of changes leading to 2.8.1 -Tuesday, May 4, 2021 -==================================== -- Subsetter now fully supports GSUB/GPOS/GDEF tables (including variations); as - such, layout tables are retained by subsetter by default. (Garret Rieger, Qunxin Liu) -- Build scripts no longer check for FontConfig as HarfBuzz does not use it. -- hb-view supports iTerm2 and kitty inline image protocols (Khaled Hosny), - it can also use Chafa for terminal graphics if available (Hans Petter Jansson). - -Overview of changes leading to 2.8.0 -Tuesday, March 16, 2021 -==================================== -- Shape joining scripts other than Arabic/Syriac using the Universal Shaping Engine. - Previously these were shaped using the generalized Arabic shaper. (David Corbett) -- Fix regression in shaping of U+0B55 ORIYA SIGN OVERLINE. (David Corbett) -- Update language tags. (David Corbett) -- Variations: reduce error: do not round each interpolated delta. (Just van Rossum) -- Documentation improvements. (Khaled Hosny, Nathan Willis) -- Subsetter improvements: subsets most, if not all, lookup types now. (Garret Rieger, Qunxin Liu) -- Fuzzer-found fixes and other improvements when memory failures happen. (Behdad) -- Removed most atomic implementations now that we have C++11 atomic impl. (Behdad) -- General codebase upkeep; using more C++11 features: constexpr constructors, etc. (Behdad) - - -Overview of changes leading to 2.7.4 -Sunday, December 27, 2020 -==================================== -- Fix missing --enable-introspection configure option from previous release - tarball. -- Documentation updates. - - -Overview of changes leading to 2.7.3 -Wednesday, December 23, 2020 -==================================== -- Update USE shaper to 2020-08-13 specification, and other improvements. -- Don’t disable liga feature in myanmar shaper, to match Uniscribe. -- Improvements to language and script tags handling. -- Update language system tag registry to OpenType 1.8.4 -- Support for serializing and deserializing Unicode buffers. Serialized buffers - are now delimited with `<>` or `[]` based on whether it is a Unicode or - glyphs buffer. -- Increase buffer work limits to handle fonts with many complex lookups. -- Handle more shaping operations in trace output. -- Memory access fixes. -- More OOM fixes. -- Improved documentation. -- Build system improvements. -- New API: -+hb_buffer_has_positions() -+hb_buffer_serialize() -+hb_buffer_serialize_unicode() -+hb_buffer_deserialize_unicode() - - -Overview of changes leading to 2.7.2 -Saturday, August 29, 2020 -==================================== -- Fix a regression in the previous release that caused a crash with Kaithi. -- More OOM fixes. - - -Overview of changes leading to 2.7.1 -Thursday, August 13, 2020 -==================================== -- ot-funcs now handles variable empty glyphs better when hvar/vvar isn't present. -- Reverted a GDEF processing regression. -- A couple of fixes to handle OOM better. - - -Overview of changes leading to 2.7.0 -Saturday, July 25, 2020 -==================================== -- Use an implementation for round that always rounds up, some minor fluctuations - are expected on var font specially when hb-ot callback is used. -- Fix an AAT's `kerx` issue on broken rendering of Devanagari Sangam MN. -- Remove AAT's `lcar` table support from _get_ligature_carets API, not even much - use on macOS installed fonts (only two files). GDEF support is the recommended - one and expected to work properly after issues fixed two releases ago. -- Minor memory fixes to handle OOM better specially in hb-ft. -- Minor .so files versioning scheme change and remove stable/unstable scheme - differences, was never used in practice (always default to stable scheme). -- We are now suggesting careful packaging of the library using meson, - https://github.com/harfbuzz/harfbuzz/wiki/Notes-on-migration-to-meson - for more information. -- Distribution package URL is changed, either use GitHub generated tarballs, - `https://github.com/harfbuzz/harfbuzz/archive/$pkgver.tar.gz` - or, even more preferably use commit hash of the release and git checkouts like, - `git+https://github.com/harfbuzz/harfbuzz#commit=$commit` - - -Overview of changes leading to 2.6.8 -Monday, June 22, 2020 -==================================== -- New API to fetch glyph alternates from GSUB table. -- hb-coretext build fix for macOS < 10.10. -- Meson build fixes, cmake port removal is postponed but please prepare for - it and give us feedback. - Autotools is still our main build system however please consider - experimenting with meson also for packaging the library. -- New API: -+hb_ot_layout_lookup_get_glyph_alternates() - - -Overview of changes leading to 2.6.7 -Wednesday, June 3, 2020 -==================================== -- Update to Unicode 13.0.0. -- Fix hb_ot_layout_get_ligature_carets for fonts without lcar table, it was - completely broken for all the other fonts since 2.1.2. -- As a part of our migration to meson, this release will be the last one - to provide cmake port files but autotools still is our main build system. - There is a possibility that the next version or the after be released - using meson. - - -Overview of changes leading to 2.6.6 -Tuesday, May 12, 2020 -==================================== -- A fix in AAT kerning for Geeza Pro. -- Better support for resource fork fonts on macOS. - - -Overview of changes leading to 2.6.5 -Friday, April 17, 2020 -==================================== -- Add experimental meson build system. Autotools is still the primary - and supported build system. -- AAT is now always preferred for horizontal scripts when both AAT and OT - layout tables exist at the same time. -- Subsetter improvements. -- New API: -+hb_ft_font_lock_face() -+hb_ft_font_unlock_face() - - -Overview of changes leading to 2.6.4 -Monday, October 29, 2019 -==================================== -- Small bug fix. -- Build fixes. - - -Overview of changes leading to 2.6.3 -Monday, October 28, 2019 -==================================== -- Misc small fixes, mostly to build-related issues. -- New API: -+hb_font_get_nominal_glyphs() - - -Overview of changes leading to 2.6.2 -Monday, September 30, 2019 -==================================== -- Misc small fixes, mostly to build-related issues. - - -Overview of changes leading to 2.6.1 -Thursday, August 22, 2019 -==================================== -- Fix regression with hb_font_create_sub_font scaling introduced in 2.6.0. -- Change interpretation of font PTEM size / CoreText font size handling. - See https://github.com/harfbuzz/harfbuzz/pull/1484 -- hb-ot-font: Prefer symbol cmap subtable if present. -- Apply 'dist'/'abvm'/'blwm' features to all scripts. -- Drop experimental DirectWrite API. - - -Overview of changes leading to 2.6.0 -Tuesday, August 13, 2019 -==================================== -- New OpenType metrics, baseline, and metadata table access APIs. -- New API to set font variations to a named-instance. -- New hb-gdi.h header and API for creating hb_face_t from HFONT. -- Amalgam: Provide a single-file harfbuzz.cc file for easier alternate building. -- More size-reduction configurable options, enabled by HB_TINY. -- New API: -+hb_font_set_var_named_instance() -+hb_gdi_face_create() -+hb_ot_layout_baseline_tag_t -+hb_ot_layout_get_baseline() -+hb_ot_meta_tag_t -+hb_ot_meta_get_entry_tags() -+hb_ot_meta_reference_entry() -+hb_ot_metrics_tag_t -+hb_ot_metrics_get_position() -+hb_ot_metrics_get_variation() -+hb_ot_metrics_get_x_variation() -+hb_ot_metrics_get_y_variation() - - -Overview of changes leading to 2.5.3 -Wednesday, June 26, 2019 -==================================== -- Fix UCD script data for Unicode 10+ scripts. This was broken since 2.5.0. -- More optimizations for HB_TINY. - - -Overview of changes leading to 2.5.2 -Thursday, June 20, 2019 -==================================== -- More hb-config.hh facilities to shrink library size, namely when built as - HB_TINY. -- New documentation of custom configurations in CONFIG.md. -- Fix build on gcc 4.8. That's supported again. -- Universal Shaping Engine improvements thanks to David Corbett. -- API Changes: Undeprecate some horizontal-kerning API and re-enable in hb-ft, - such that Type1 fonts will continue kerning. - - -Overview of changes leading to 2.5.1 -Friday, May 31, 2019 -==================================== -- Fix build with various versions of Visual Studio. -- Improved documentation, thanks to Nathan Willis. -- Bugfix in subsetting glyf table. -- Improved scripts for cross-compiling for Windows using mingw. -- Rename HB_MATH_GLYPH_PART_FLAG_EXTENDER to HB_OT_MATH_GLYPH_PART_FLAG_EXTENDER. - A deprecated macro is added for backwards-compatibility. - - -Overview of changes leading to 2.5.0 -Friday, May 24, 2019 -==================================== -- This release does not include much functional changes, but includes major internal - code-base changes. We now require C++11. Support for gcc 4.8 and earlier has been - dropped. -- New hb-config.hh facility for compiling smaller library for embedded and web usecases. -- New Unicode Character Databse implementation that is half the size of previously-used - UCDN. -- Subsetter improvements. -- Improved documentation, thanks to Nathan Willis. -- Misc shaping fixes. - - -Overview of changes leading to 2.4.0 -Monday, March 25, 2019 -==================================== -- Unicode 12. -- Misc fixes. -- Subsetter improvements. -- New API: -HB_BUFFER_FLAG_DO_NOT_INSERT_DOTTED_CIRCLE -hb_directwrite_face_create() - - -Overview of changes leading to 2.3.1 -Wednesday, January 30, 2019 -==================================== -- AAT bug fixes. -- Misc internal housekeeping cleanup. - - -Overview of changes leading to 2.3.0 -Thursday, December 20, 2018 -==================================== -- Fix regression on big-endian architectures. Ouch! -- Misc bug and build fixes. -- Fix subsetting of simple GSUB/GDEF. -- Merge CFF / CFF2 support contributed by Adobe. This mostly involves - the subsetter, but also get_glyph_extents on CFF fonts. - -New API in hb-aat.h: -+hb_aat_layout_has_substitution() -+hb_aat_layout_has_positioning() -+hb_aat_layout_has_tracking() - - -Overview of changes leading to 2.2.0 -Thursday, November 29, 2018 -==================================== -- Misc shaping bug fixes. -- Add font variations named-instance API. -- Deprecate font variations axis enumeration API and add replacement. -- AAT shaping improvements: - o Fixed 'kern' table Format 2 implementation. - o Implement 'feat' table API for feature detection. - o Blacklist 'GSUB' table of fonts from 'MUTF' foundry that also have 'morx'. - -New API: -+hb_aat_layout_feature_type_t -+hb_aat_layout_feature_selector_t -+hb_aat_layout_get_feature_types() -+hb_aat_layout_feature_type_get_name_id -+hb_aat_layout_feature_selector_info_t -+HB_AAT_LAYOUT_NO_SELECTOR_INDEX -+hb_aat_layout_feature_type_get_selector_infos() -+hb_ot_var_axis_flags_t -+hb_ot_var_axis_info_t -+hb_ot_var_get_axis_infos() -+hb_ot_var_find_axis_info() -+hb_ot_var_get_named_instance_count() -+hb_ot_var_named_instance_get_subfamily_name_id() -+hb_ot_var_named_instance_get_postscript_name_id() -+hb_ot_var_named_instance_get_design_coords() - -Deprecated API: -+HB_OT_VAR_NO_AXIS_INDEX -+hb_ot_var_axis_t -+hb_ot_var_get_axes() -+hb_ot_var_find_axis() - - -Overview of changes leading to 2.1.3 -Friday, November 16, 2018 -==================================== -- Fix AAT 'mort' shaping, which was broken in 2.1.2 - - -Overview of changes leading to 2.1.2 -Friday, November 16, 2018 -==================================== -- Various internal changes. -- AAT shaping improvements: - o Implement kern table Format 1 state-machine-based kerning. - o Implement cross-stream kerning (cursive positioning, etc). - o Ignore emptyish GSUB tables (zero scripts) if morx present. - o Don't apply GPOS if morx is being applied. Matches Apple. - - --Overview of changes leading to 2.1.1 -Monday, November 5, 2018 -==================================== -- AAT improvements: - o Implement 'mort' table. - o Implement 'kern' subtables Format 1 and Format 3. - - -Overview of changes leading to 2.1.0 -Tuesday, October 30, 2018 -==================================== -- AAT shaping improvements: - o Allow user controlling AAT features, for whole buffer only currently. - o Several 'morx' fixes. - o Implement tuple-kerns in 'kerx'; Fixes kerning with Apple default - San Francisco fonts. -- Support for color fonts: - o COLR/CPAL API to fetch color layers. - o SVG table to fetch SVG documents. - o CBDT/sbix API to fetch PNG images. -- New 'name' table API. -- hb-ot-font now uses 'VORG' table to correctly position CFF glyphs - in vertical layout. -- Various fuzzer-found bug fixes. - -Changed API: - -A type and a macro added in 2.0.0 were renamed: - -hb_name_id_t -> hb_ot_name_id_t -HB_NAME_ID_INVALID -> HB_OT_NAME_ID_INVALID - -New API: - -+hb_color_t -+HB_COLOR -+hb_color_get_alpha() -+hb_color_get_red() -+hb_color_get_green() -+hb_color_get_blue() -+hb_ot_color_has_palettes() -+hb_ot_color_palette_get_count() -+hb_ot_color_palette_get_name_id() -+hb_ot_color_palette_color_get_name_id() -+hb_ot_color_palette_flags_t -+hb_ot_color_palette_get_flags() -+hb_ot_color_palette_get_colors() -+hb_ot_color_has_layers() -+hb_ot_color_layer_t -+hb_ot_color_glyph_get_layers() -+hb_ot_color_has_svg() -+hb_ot_color_glyph_reference_svg() -+hb_ot_color_has_png() -+hb_ot_color_glyph_reference_png() - -+hb_ot_name_id_t -+HB_OT_NAME_ID_INVALID -+HB_OT_NAME_ID_COPYRIGHT -+HB_OT_NAME_ID_FONT_FAMILY -+HB_OT_NAME_ID_FONT_SUBFAMILY -+HB_OT_NAME_ID_UNIQUE_ID -+HB_OT_NAME_ID_FULL_NAME -+HB_OT_NAME_ID_VERSION_STRING -+HB_OT_NAME_ID_POSTSCRIPT_NAME -+HB_OT_NAME_ID_TRADEMARK -+HB_OT_NAME_ID_MANUFACTURER -+HB_OT_NAME_ID_DESIGNER -+HB_OT_NAME_ID_DESCRIPTION -+HB_OT_NAME_ID_VENDOR_URL -+HB_OT_NAME_ID_DESIGNER_URL -+HB_OT_NAME_ID_LICENSE -+HB_OT_NAME_ID_LICENSE_URL -+HB_OT_NAME_ID_TYPOGRAPHIC_FAMILY -+HB_OT_NAME_ID_TYPOGRAPHIC_SUBFAMILY -+HB_OT_NAME_ID_MAC_FULL_NAME -+HB_OT_NAME_ID_SAMPLE_TEXT -+HB_OT_NAME_ID_CID_FINDFONT_NAME -+HB_OT_NAME_ID_WWS_FAMILY -+HB_OT_NAME_ID_WWS_SUBFAMILY -+HB_OT_NAME_ID_LIGHT_BACKGROUND -+HB_OT_NAME_ID_DARK_BACKGROUND -+HB_OT_NAME_ID_VARIATIONS_PS_PREFIX -+hb_ot_name_entry_t -+hb_ot_name_list_names() -+hb_ot_name_get_utf8() -+hb_ot_name_get_utf16() -+hb_ot_name_get_utf32() - - -Overview of changes leading to 2.0.2 -Saturday, October 20, 2018 -==================================== -- Fix two minor memory access issues in AAT tables. - - -Overview of changes leading to 2.0.1 -Friday, October 19, 2018 -==================================== -- Fix hb-version.h reported release version that went wrong (1.8.0) - with previous release. -- Fix extrapolation in 'trak' table. -- Fix hb-font infinite-recursion issue with some font funcs and - subclassed fonts. -- Implement variation-kerning format in kerx table, although without - variation. -- Fix return value of hb_map_is_empty(). - - -Overview of changes leading to 2.0.0 -Thursday, October 18, 2018 -==================================== -- Added AAT shaping support (morx/kerx/trak). - Automatically used if GSUB/GPOS are not available respectively. - Set HB_OPTIONS=aat env var to have morx/kerx preferred over - GSUB/GPOS. -- Apply TrueType kern table internally, instead of relying on - hb_font_t callbacks. -- Khmer shaper significantly rewritten to better match Uniscribe. -- Indic3 tags ('dev3', etc) are passed to USE shaper. -- .dfont Mac font containers implemented. -- Script- and language-mapping revamped to better use BCP 47. -- Misc USE and Indic fixes. -- Misc everything fixes. -- Too many things to list. Biggest release since 0.9.1, with - over 500 commits in just over 5 weeks! Didn't intend it to - be a big release. Just happened to become. -- hb-ft now locks underlying FT_Face during use. - -API changes: - -- Newly-created hb_font_t's now have our internal "hb-ot-font" - callbacks set on them, so they should work out of the box - without any callbacks set. If callbacks are set, everything - is back to what it was before, the fallback callbacks are - null. If you to get the internal implementation modified, - sub_font it. - -- New hb_font_funcs_set_nominal_glyphs_func() allows speeding - up character to glyph mapping. - -New API: -+HB_FEATURE_GLOBAL_START -+HB_FEATURE_GLOBAL_END -+hb_buffer_set_invisible_glyph() -+hb_buffer_get_invisible_glyph() -+hb_font_funcs_set_nominal_glyphs_func() -+hb_ot_layout_table_select_script() -+hb_ot_layout_script_select_language() -+hb_ot_layout_feature_get_name_ids() -+hb_ot_layout_feature_get_characters() -+hb_name_id_t -+HB_NAME_ID_INVALID -+HB_OT_MAX_TAGS_PER_SCRIPT -+hb_ot_tags_from_script_and_language() -+hb_ot_tags_to_script_and_language() - -Deprecated API: --hb_font_funcs_set_glyph_func() --hb_unicode_eastasian_width_func_t --hb_unicode_funcs_set_eastasian_width_func() --hb_unicode_eastasian_width() --hb_unicode_decompose_compatibility_func_t --HB_UNICODE_MAX_DECOMPOSITION_LEN --hb_unicode_funcs_set_decompose_compatibility_func() --hb_unicode_decompose_compatibility() --hb_font_funcs_set_glyph_h_kerning_func() --hb_font_funcs_set_glyph_v_kerning_func() --hb_font_get_glyph_h_kerning() --hb_font_get_glyph_v_kerning() --hb_font_get_glyph_kerning_for_direction() --hb_ot_layout_table_choose_script() --hb_ot_layout_script_find_language() --hb_ot_tags_from_script() --hb_ot_tag_from_language() - - -Overview of changes leading to 1.9.0 -Monday, September 10, 2018 -==================================== -- Added 'cmap' API to hb_face_t. -- Face-builder API. -- hb-ot-font re-creation should be much leaner now, as the - font tables it uses are cached on hb_face_t now. -- Internal source header file name changes: - hb-*-private.hh is renamed to hb-*.hh. - -New API: -+HB_UNICODE_MAX -+hb_face_collect_unicodes() -+hb_face_collect_variation_selectors() -+hb_face_collect_variation_unicodes() -+hb_face_builder_create() -+hb_face_builder_add_table() - - -Overview of changes leading to 1.8.8 -Tuesday, August 14, 2018 -==================================== -- Fix hb-icu crash on architectures where compare_exchange_weak() can - fail falsely. This bug was introduced in 1.8.4. - https://bugs.chromium.org/p/chromium/issues/detail?id=873568 -- More internal refactoring of atomic operations and singletons. -- API changes: - The following functions do NOT reference their return value before - returning: - * hb_unicode_funcs_get_default() - * hb_glib_get_unicode_funcs() - * hb_icu_get_unicode_funcs() - This is consistent with their naming ("get", instead of "reference") - as well as how they are used in the wild (ie. no one calls destroy() - on their return value.) - - -Overview of changes leading to 1.8.7 -Wednesday, August 8, 2018 -==================================== -- Fix assertion failure with GDEF-blacklisted fonts. - - -Overview of changes leading to 1.8.6 -Tuesday, August 7, 2018 -==================================== -- Internal code shuffling. -- New API to speed up getting advance widths for implementations - that have heavy overhead in get_h_advance callback: -+hb_font_funcs_set_glyph_h_advances_func -+hb_font_funcs_set_glyph_v_advances_func -+hb_font_get_glyph_advances_for_direction -+hb_font_get_glyph_h_advances -+hb_font_get_glyph_h_advances_func_t -+hb_font_get_glyph_v_advances -+hb_font_get_glyph_v_advances_func_t - - -Overview of changes leading to 1.8.5 -Wednesday, August 1, 2018 -==================================== -- Major Khmer shaper improvements to better match Microsoft. -- Indic bug fixes. -- Internal improvements to atomic operations. - - -Overview of changes leading to 1.8.4 -Tuesday, July 17, 2018 -==================================== -- Fix build on non-C++11. -- Use C++-style GCC atomics and C++11 atomics. - - -Overview of changes leading to 1.8.3 -Wednesday, July 11, 2018 -==================================== -- A couple of Indic / USE bug fixes. -- Disable vectorization, as it was causing unaligned access bus error on - certain 32bit architectures. - - -Overview of changes leading to 1.8.2 -Tuesday, July 3, 2018 -==================================== -- Fix infinite loop in Khmer shaper. -- Improve hb_blob_create_from_file() for streams. - - -Overview of changes leading to 1.8.1 -Tuesday, June 12, 2018 -==================================== -- Fix hb-version.h file generation; last two releases went out with wrong ones. -- Add correctness bug in hb_set_t operations, introduced in 1.7.7. -- Remove HB_SUBSET_BUILTIN build option. Not necessary. - - -Overview of changes leading to 1.8.0 -Tuesday, June 5, 2018 -==================================== -- Update to Unicode 11.0.0. - - -Overview of changes leading to 1.7.7 -Tuesday, June 5, 2018 -==================================== -- Lots of internal changes, but not yet exposed externally. -- All HarfBuzz objects are significantly smaller in size now. -- Sinhala: Position repha on top of post-consonant, not base. - This better matches Windows 10 behavior, which was changed - from previous Windows versions. -- New build options: - o New cpp macro HB_NO_ATEXIT - o New cpp macro HB_SUBSET_BUILTIN -- Significant libharfbuzz-subset changes. API subject to change. -- New API in libharfbuzz: - -+hb_blob_create_from_file() -+hb_face_count() - -A hashmap implementation: -+hb-map.h -+HB_MAP_VALUE_INVALID -+hb_map_t -+hb_map_create() -+hb_map_get_empty() -+hb_map_reference() -+hb_map_destroy() -+hb_map_set_user_data() -+hb_map_get_user_data() -+hb_map_allocation_successful() -+hb_map_clear() -+hb_map_is_empty() -+hb_map_get_population() -+hb_map_set() -+hb_map_get() -+hb_map_del() -+hb_map_has() - - -Overview of changes leading to 1.7.6 -Wednesday, March 7, 2018 -==================================== - -- Fix to hb_set_t binary operations. Ouch. -- New experimental harfbuzz-subset library. All of hb-subset.h - is experimental right now and API WILL change. - -- New API: -hb_blob_copy_writable_or_fail() -HB_OT_TAG_BASE -hb_set_previous() -hb_set_previous_range() - - -Overview of changes leading to 1.7.5 -Tuesday, January 30, 2018 -==================================== - -- Separate Khmer shaper from Indic. -- First stab at AAT morx. Not hooked up. -- Misc bug fixes. - - -Overview of changes leading to 1.7.4 -Wednesday, December 20, 2017 -==================================== - -- Fix collect_glyphs() regression caused by hb_set_t changes. - - -Overview of changes leading to 1.7.3 -Monday, December 18, 2017 -==================================== - -- hb_set_t performance tuning and optimizations. -- Speed up collect_glyphs() and reject garbage data. -- In hb_coretext_font_create() set font point-size (ptem). -- Misc fixes. - - -Overview of changes leading to 1.7.2 -Monday, December 4, 2017 -==================================== - -- Optimize hb_set_add_range(). -- Misc fixes. -- New API: -hb_coretext_font_create() - - -Overview of changes leading to 1.7.1 -Tuesday, November 14, 2017 -==================================== - -- Fix atexit object destruction regression. -- Fix minor integer-overflow. - - -Overview of changes leading to 1.7.0 -Monday, November 13, 2017 -==================================== - -- Minor Indic fixes. -- Implement kerning and glyph names in hb-ot-font. -- Various DSO optimization re .data and .bss sizes. -- Make C++11 optional; build fixes. -- Mark all other backends "unsafe-to-break". -- Graphite fix. - - -Overview of changes leading to 1.6.3 -Thursday, October 26th, 2017 -==================================== - -- Fix hb_set_t some more. Should be solid now. -- Implement get_glyph_name() for hb-ot-font. -- Misc fixes. - - -Overview of changes leading to 1.6.2 -Monday, October 23nd, 2017 -==================================== - -- Yesterday's release had a bad crasher; don't use it. That's what - happens when one works on Sunday... - https://github.com/harfbuzz/harfbuzz/issues/578 -- Build fixes for FreeBSD and Chrome Android. - - -Overview of changes leading to 1.6.1 -Sunday, October 22nd, 2017 -==================================== - -- Don't skip over COMBINING GRAPHEME JOINER when ligating, etc. - To be refined: https://github.com/harfbuzz/harfbuzz/issues/554 -- Faster hb_set_t implementation. -- Don't use deprecated ICU API. -- Fix undefined-behavior in Myanmar shaper, introduced in 1.6.0 -- Deprecated API: - hb_set_invert() - - -Overview of changes leading to 1.6.0 -Friday, October the 13th, 2017 -==================================== - -- Update to Unicode 10. - -- Various Indic and Universal Shaping Engine fixes as a result of - HarfBuzz Hackfest with Jonathan Kew at Web Engines Hackfest at - the Igalia offices in A Coruña, Spain. Thanks Igalia for having - us! - -- Implement Unicode Arabic Mark Ordering Algorithm UTR#53. - -- Implement optical sizing / tracking in CoreText backend, using - new API hb_font_set_ptem(). - -- Allow notifying hb_font_t that underlying FT_Face changed sizing, - using new API hb_ft_font_changed(). - -- More Graphite backend RTL fixes. - -- Fix caching of variable font shaping plans. - -- hb-view / hb-shape now accept following new arguments: - - o --unicodes: takes a list of hex numbers that represent Unicode - codepoints. - -New API: -+hb_face_get_table_tags() -+hb_font_set_ptem() -+hb_font_get_ptem() -+hb_ft_font_changed() - - -Overview of changes leading to 1.5.1 -Tuesday, September 5, 2017 -==================================== - -- Fix "unsafe-to-break" in fallback shaping and other corner cases. - All our tests pass with --verify now, meaning unsafe-to-break API - works as expected. -- Add --unicodes to hb-view / hb-shape. -- [indic] Treat Consonant_With_Stacker as consonant. This will need - further tweaking. -- hb_buffer_diff() tweaks. - - -Overview of changes leading to 1.5.0 -Wednesday, August 23, 2017 -==================================== - -- Misc new API, for appending a buffer to another, and for comparing - contents of two buffers for types of differences. - -- New "unsafe-to-break" API. Can be used to speed up reshaping - in line-breaking situations. Essentially, after shaping, it returns - positions in the input string (some of the cluster boundaries) that - are "safe to break" in that if the text is segmented at that position - and two sides reshaped and concatenated, the shaping result is - exactly the same as shaping the text in one piece. - - hb-view and hb-shape and hb-shape now take --verify, which verifies - the above property. - - Some corner cases of the implementation are still not quite working. - Those will be fixed in subsequent releases. - -- New API: - -hb_buffer_append() - -hb_glyph_flags_t -HB_GLYPH_FLAG_UNSAFE_TO_BREAK -HB_GLYPH_FLAG_DEFINED -hb_glyph_info_get_glyph_flags() - -HB_BUFFER_SERIALIZE_FLAG_GLYPH_FLAGS - -hb_buffer_diff_flags_t -HB_BUFFER_DIFF_FLAG_EQUAL -HB_BUFFER_DIFF_FLAG_CONTENT_TYPE_MISMATCH -HB_BUFFER_DIFF_FLAG_LENGTH_MISMATCH -HB_BUFFER_DIFF_FLAG_NOTDEF_PRESENT -HB_BUFFER_DIFF_FLAG_DOTTED_CIRCLE_PRESENT -HB_BUFFER_DIFF_FLAG_CODEPOINT_MISMATCH -HB_BUFFER_DIFF_FLAG_CLUSTER_MISMATCH -HB_BUFFER_DIFF_FLAG_GLYPH_FLAGS_MISMATCH -HB_BUFFER_DIFF_FLAG_POSITION_MISMATCH -hb_buffer_diff - - -Overview of changes leading to 1.4.8 -Tuesday, August 8, 2017 -==================================== - -- Major fix to avar table handling. -- Rename hb-shape --show-message to --trace. -- Build fixes. - - -Overview of changes leading to 1.4.7 -Tuesday, July 18, 2017 -==================================== - -- Multiple Indic, Tibetan, and Cham fixes. -- CoreText: Allow disabling kerning. -- Adjust Arabic feature order again. -- Misc build fixes. - - -Overview of changes leading to 1.4.6 -Sunday, April 23, 2017 -==================================== - -- Graphite2: Fix RTL positioning issue. -- Backlist GDEF of more versions of Padauk and Tahoma. -- New, experimental, cmake alternative build system. - - -Overview of changes leading to 1.4.5 -Friday, March 10, 2017 -==================================== - -- Revert "Fix Context lookup application when moving back after a glyph..." - This introduced memory access problems. To be fixed properly soon. - - -Overview of changes leading to 1.4.4 -Sunday, March 5, 2017 -==================================== - -- Fix Context lookup application when moving back after a glyph deletion. -- Fix buffer-overrun in Bengali. - - -Overview of changes leading to 1.4.3 -Saturday, February 25, 2017 -==================================== - -- Route Adlam script to Arabic shaper. -- Misc fixes. -- New API: - hb_font_set_face() -- Deprecate API: - hb_graphite2_font_get_gr_font() - - -Overview of changes leading to 1.4.2 -Monday, January 23, 2017 -==================================== - -- Implement OpenType Font Variation tables avar/fvar/HVAR/VVAR. -- hb-shape and hb-view now accept --variations. -- New API: - -hb_variation_t -hb_variation_from_string() -hb_variation_to_string() - -hb_font_set_variations() -hb_font_set_var_coords_design() -hb_font_get_var_coords_normalized() - -hb-ot-var.h: -hb_ot_var_axis_t -hb_ot_var_has_data() -hb_ot_var_get_axis_count() -hb_ot_var_get_axes() -hb_ot_var_find_axis() -hb_ot_var_normalize_variations() -hb_ot_var_normalize_coords() - -- MVAR to be implemented later. Access to named instances to be - implemented later as well. - -- Misc fixes. - - -Overview of changes leading to 1.4.1 -Thursday, January 5, 2017 -==================================== - -- Always build and use UCDN for Unicode data by default. - Reduces dependence on version of Unicode data in glib, - specially in the Windows bundles we are shipping, which - have very old glib. - - -Overview of changes leading to 1.4.0 -Thursday, January 5, 2017 -==================================== - -- Merged "OpenType GX" branch which adds core of support for - OpenType 1.8 Font Variations. To that extent, the relevant - new API is: - -New API: -hb_font_set_var_coords_normalized() - - with supporting API: - -New API: -HB_OT_LAYOUT_NO_VARIATIONS_INDEX -hb_ot_layout_table_find_feature_variations() -hb_ot_layout_feature_with_variations_get_lookups() -hb_shape_plan_create2() -hb_shape_plan_create_cached2() - - Currently variations in GSUB/GPOS/GDEF are fully supported, - and no other tables are supported. In particular, fvar/avar - are NOT supported, hence the hb_font_set_var_coords_normalized() - taking normalized coordinates. API to take design coordinates - will be added in the future. - - HVAR/VVAR/MVAR support will also be added to hb-ot-font in the - future. - -- Fix regression in GDEF glyph class processing. -- Add decompositions for Chakma, Limbu, and Balinese in USE shaper. -- Misc fixes. - - -Overview of changes leading to 1.3.4 -Monday, December 5, 2016 -==================================== - -- Fix vertical glyph origin in hb-ot-font. -- Implement CBDT/CBLC color font glyph extents in hb-ot-font. - - -Overview of changes leading to 1.3.3 -Wednesday, September 28, 2016 -==================================== - -- Implement parsing of OpenType MATH table. -New API: -HB_OT_TAG_MATH -HB_OT_MATH_SCRIPT -hb_ot_math_constant_t -hb_ot_math_kern_t -hb_ot_math_glyph_variant_t -hb_ot_math_glyph_part_flags_t -hb_ot_math_glyph_part_t -hb_ot_math_has_data -hb_ot_math_get_constant -hb_ot_math_get_glyph_italics_correction -hb_ot_math_get_glyph_top_accent_attachment -hb_ot_math_get_glyph_kerning -hb_ot_math_is_glyph_extended_shape -hb_ot_math_get_glyph_variants -hb_ot_math_get_min_connector_overlap -hb_ot_math_get_glyph_assembly - - -Overview of changes leading to 1.3.2 -Wednesday, September 27, 2016 -==================================== - -- Fix build of hb-coretext on older OS X versions. - - -Overview of changes leading to 1.3.1 -Wednesday, September 7, 2016 -==================================== - -- Blacklist bad GDEF of more fonts (Padauk). -- More CoreText backend crash fixes with OS X 10.9.5. -- Misc fixes. - - -Overview of changes leading to 1.3.0 -Thursday, July 21, 2016 -==================================== - -- Update to Unicode 9.0.0 -- Move Javanese from Indic shaper to Universal Shaping Engine. -- Allow MultipleSubst to delete a glyph (matching Windows engine). -- Update Universal Shaping Engine to latest draft from Microsoft. -- DirectWrite backend improvements. Note: this backend is for testing ONLY. -- CoreText backend improvements with unreachable fonts. -- Implement symbol fonts (cmap 3.0.0) in hb-ft and hb-ot-font. -- Blacklist bad GDEF of more fonts (Tahoma & others). -- Misc fixes. - - -Overview of changes leading to 1.2.7 -Monday, May 2, 2016 -==================================== - -- Blacklist another version of Times New Roman (Bold) Italic from Windows 7. -- Fix Mongolian Free Variation Selectors shaping with certain fonts. -- Fix Tibetan shorthand contractions shaping. -- Improved list of language tag mappings. -- Unbreak build on Windows CE. -- Make 'glyf' table loading lazy in hb-ot-font. - - -Overview of changes leading to 1.2.6 -Friday, April 8, 2016 -==================================== - -- Blacklist GDEF table of another set of Times New Roman (Bold) Italic. -- DirectWrite backend improvements. Note: DirectWrite backend is - exclusively for our internal testing and should NOT be used in any - production system whatsoever. - - -Overview of changes leading to 1.2.5 -Monday, April 4, 2016 -==================================== - -- Fix GDEF mark-filtering-set, which was broken in 1.2.3. - - -Overview of changes leading to 1.2.4 -Thursday, March 17, 2016 -==================================== - -- Synthesize GDEF glyph class for any glyph that does not have one in GDEF. - I really hope we don't discover broken fonts that shape badly with this - change. -- Misc build and other minor fixes. -- API changes: - - Added HB_NDEBUG. It's fine for production systems to define this to - disable high-overhead debugging checks. However, I also reduced the - overhead of those checks, so it's a non-issue right now. You can - forget it. Just not defining anything at all is fine. - - -Overview of changes leading to 1.2.3 -Thursday, February 25, 2016 -==================================== - -- Blacklist GDEF table of certain versions of Times New Roman (Bold) Italic, - due to bug in glyph class of ASCII double-quote character. This should - address "regression" introduced in 1.2.0 when we switched mark zeroing - in most shapers from BY_UNICODE_LATE to BY_GDEF_LATE. - This fourth release in a week should finally stablize things... - -- hb-ot-font's get_glyph() implementation saw some optimizations. Though, - might be really hard to measure in real-world situations. - -- Also, two rather small API changes: - -We now disable some time-consuming internal bookkeeping if built with NDEBUG -defined. This is a first time that we use NDEBUG to disable debug code. If -there exist production systems that do NOT want to enable NDEBUG, please let -me know and I'll add HB_NDEBUG. - -Added get_nominal_glyph() and get_variation_glyph() instead of get_glyph() - -New API: -- hb_font_get_nominal_glyph_func_t -- hb_font_get_variation_glyph_func_t -- hb_font_funcs_set_nominal_glyph_func() -- hb_font_funcs_set_variation_glyph_func() -- hb_font_get_nominal_glyph() -- hb_font_get_variation_glyph() - -Deprecated API: -- hb_font_get_glyph_func_t -- hb_font_funcs_set_glyph_func() - -Clients that implement their own font-funcs are encouraged to replace -their get_glyph() implementation with a get_nominal_glyph() and -get_variation_glyph() pair. The variation version can assume that -variation_selector argument is not zero. Old (deprecated) functions -will continue working indefinitely using internal gymnastics; it is -just more efficient to use the new functions. - - -Overview of changes leading to 1.2.2 -Wednesday, February 24, 2016 -==================================== - -- Fix regression with mark positioning with fonts that have - non-zero mark advances. This was introduced in 1.2.0 while - trying to make mark and cursive attachments to work together. - I have partially reverted that, so this version is much more - like what we had before. All clients who updated to 1.2.0 - should update to this version. - - -Overview of changes leading to 1.2.1 -Tuesday, February 23, 2016 -==================================== - -- CoreText: Fix bug with wrong scale if font scale was changed later. - https://github.com/libass/libass/issues/212 -- CoreText: Drastically speed up font initialization. -- CoreText: Fix tiny leak. -- Group ZWJ/ZWNJ with previous syllable under cluster-level=0. - https://github.com/harfbuzz/harfbuzz/issues/217 -- Add test/shaping/README.md about how to add tests to the suite. - - -Overview of changes leading to 1.2.0 -Friday, February 19, 2016 -==================================== - -- Fix various issues (hangs mostly) in case of memory allocation failure. -- Change mark zeroing types of most shapers from BY_UNICODE_LATE to - BY_GDEF_LATE. This seems to be what Uniscribe does. -- Change mark zeroing of USE shaper from NONE to BY_GDEF_EARLY. That's - what Windows does. -- Allow GPOS cursive connection on marks, and fix the interaction with - mark attachment. This work resulted in some changes to how mark - attachments work. See: - https://github.com/harfbuzz/harfbuzz/issues/211 - https://github.com/harfbuzz/harfbuzz/commit/86c68c7a2c971efe8e35b1f1bd99401dc8b688d2 -- Graphite2 shaper: improved negative advance handling (eg. Nastaliq). -- Add nmake-based build system for Windows. -- Minor speedup. -- Misc. improvements. - - -Overview of changes leading to 1.1.3 -Monday, January 11, 2016 -==================================== - -- Ported Indic shaper to Unicode 8.0 data. -- Universal Shaping Engine fixes. -- Speed up CoreText shaper when font fallback happens in CoreText. -- Documentation improvements, thanks to Khaled Hosny. -- Very rough directwrite shaper for testing, thanks to Ebrahim Byagowi. -- Misc bug fixes. -- New API: - - * Font extents: - hb_font_extents_t - hb_font_get_font_extents_func_t - hb_font_get_font_h_extents_func_t - hb_font_get_font_v_extents_func_t - hb_font_funcs_set_font_h_extents_func - hb_font_funcs_set_font_v_extents_func - hb_font_get_h_extents - hb_font_get_v_extents - hb_font_get_extents_for_direction - - * Buffer message (aka debug): - hb_buffer_message_func_t - hb_buffer_set_message_func() - Actual message protocol to be fleshed out later. - - -Overview of changes leading to 1.1.2 -Wednesday, November 26, 2015 -==================================== - -- Fix badly-broken fallback shaper that affected terminology. - https://github.com/harfbuzz/harfbuzz/issues/187 -- Fix y_scaling in Graphite shaper. -- API changes: - * An unset glyph_h_origin() function in font-funcs now (sensibly) - implies horizontal origin at 0,0. Ie, the nil callback returns - true instead of false. As such, implementations that have a - glyph_h_origin() that simply returns true, can remove that function - with HarfBuzz >= 1.1.2. This results in a tiny speedup. - - -Overview of changes leading to 1.1.1 -Wednesday, November 24, 2015 -==================================== - -- Build fixes, specially for hb-coretext. - - -Overview of changes leading to 1.1.0 -Wednesday, November 18, 2015 -==================================== - -- Implement 'stch' stretch feature for Syriac Abbreviation Mark. - https://github.com/harfbuzz/harfbuzz/issues/141 -- Disable use of decompose_compatibility() callback. -- Implement "shaping" of various Unicode space characters, even - if the font does not support them. - https://github.com/harfbuzz/harfbuzz/issues/153 -- If font does not support U+2011 NO-BREAK HYPHEN, fallback to - U+2010 HYPHEN. -- Changes resulting from libFuzzer continuous fuzzing: - * Reject font tables that need more than 8 edits, - * Bound buffer growth during shaping to 32x, - * Fix assertions and other issues at OOM / buffer max-growth. -- Misc fixes and optimizations. -- API changes: - * All fonts created with hb_font_create() now inherit from - (ie. have parent) hb_font_get_empty(). - - -Overview of changes leading to 1.0.6 -Thursday, October 15, 2015 -==================================== - -- Reduce max nesting level in OT lookups from 8 to 6. - Should not affect any real font as far as I know. -- Fix memory access issue in ot-font. -- Revert default load-flags of fonts created using hb_ft_font_create() - back to FT_LOAD_DEFAULT|FT_LOAD_NO_HINTING. This was changed in - last release (1.0.5), but caused major issues, so revert. - https://github.com/harfbuzz/harfbuzz/issues/143 - - -Overview of changes leading to 1.0.5 -Tuesday, October 13, 2015 -==================================== - -- Fix multiple memory access bugs discovered using libFuzzer. - https://github.com/harfbuzz/harfbuzz/issues/139 - Everyone should upgrade to this version as soon as possible. - We now have continuous fuzzing set up, to avoid issues like - these creeping in again. -- Misc fixes. - -- New API: - * hb_font_set_parent(). - * hb_ft_font_[sg]et_load_flags() - The default flags for fonts created using hb_ft_font_create() - has changed to default to FT_LOAD_DEFAULT now. Previously it - was defaulting to FT_LOAD_DFEAULT|FT_LOAD_NO_HINTING. - -- API changes: - * Fonts now default to units-per-EM as their scale, instead of 0. - * hb_font_create_sub_font() does NOT make parent font immutable - anymore. hb_font_make_immutable() does. - - -Overview of changes leading to 1.0.4 -Wednesday, September 30, 2015 -==================================== - -- Fix minor out-of-bounds read error. - - -Overview of changes leading to 1.0.3 -Tuesday, September 1, 2015 -==================================== - -- Start of user documentation, from Simon Cozens! -- Implement glyph_extents() for TrueType fonts in hb-ot-font. -- Improve GPOS cursive attachments with conflicting lookups. -- More fixes for cluster-level = 1. -- Uniscribe positioning fix. - - -Overview of changes leading to 1.0.2 -Wednesday, August 19, 2015 -==================================== - -- Fix shaping with cluster-level > 0. -- Fix Uniscribe backend font-size scaling. -- Declare dependencies in harfbuzz.pc. - FreeType is not declared though, to avoid bugs in pkg-config - 0.26 with recursive dependencies. -- Slightly improved debug infrastructure. More to come later. -- Misc build fixes. - - -Overview of changes leading to 1.0.1 -Monday, July 27, 2015 -==================================== - -- Fix out-of-bounds access in USE shaper. - - -Overview of changes leading to 1.0.0 -Sunday, July 26, 2015 -==================================== - -- Implement Universal Shaping Engine: - https://www.microsoft.com/typography/OpenTypeDev/USE/intro.htm - http://blogs.windows.com/bloggingwindows/2015/02/23/windows-shapes-the-worlds-languages/ -- Bump version to 1.0.0. The soname was NOT bumped. - - -Overview of changes leading to 0.9.42 -Thursday, July 26, 2015 -===================================== - -- New API to allow for retrieving finer-grained cluster - mappings if the client desires to handle them. Default - behavior is unchanged. -- Fix cluster merging when removing default-ignorables. -- Update to Unicode 8.0 -- hb-graphite2 fixes. -- Misc fixes. -- Removed HB_NO_MERGE_CLUSTERS hack. -- New API: - hb_buffer_cluster_level_t enum - hb_buffer_get_cluster_level() - hb_buffer_set_cluster_level() - hb-shape / hb-view --cluster-level - - -Overview of changes leading to 0.9.41 -Thursday, June 18, 2015 -===================================== - -- Fix hb-coretext with trailing whitespace in right-to-left. -- New API: hb_buffer_reverse_range(). -- Allow implementing atomic ops in config.h. -- Fix hb_language_t in language bindings. -- Misc fixes. - - -Overview of changes leading to 0.9.40 -Friday, March 20, 2015 -===================================== - -- Another hb-coretext crasher fix. Ouch! -- Happy Norouz! - - -Overview of changes leading to 0.9.39 -Wednesday, March 4, 2015 -===================================== - -- Critical hb-coretext fixes. -- Optimizations and refactoring; no functional change - expected. -- Misc build fixes. - - -Overview of changes leading to 0.9.38 -Friday, January 23, 2015 -===================================== - -- Fix minor out-of-bounds access in Indic shaper. -- Change New Tai Lue shaping engine from South-East Asian to default, - reflecting change in Unicode encoding model. -- Add hb-shape --font-size. Can take up to two numbers for separate - x / y size. -- Fix CoreText and FreeType scale issues with negative scales. -- Reject blobs larger than 2GB. This might break some icu-le-hb clients - that need security fixes. See: - http://www.icu-project.org/trac/ticket/11450 -- Avoid accessing font tables during face destruction, in casce rogue - clients released face data already. -- Fix up gobject-introspection a bit. Python bindings kinda working. - See README.python. -- Misc fixes. -- API additions: - hb_ft_face_create_referenced() - hb_ft_font_create_referenced() - - -Overview of changes leading to 0.9.37 -Wednesday, December 17, 2014 -===================================== - -- Fix out-of-bounds access in Context lookup format 3. -- Indic: Allow ZWJ/ZWNJ before syllable modifiers. - - -Overview of changes leading to 0.9.36 -Thursday, November 20, 2014 -===================================== - -- First time that three months went by without a release since - 0.9.2 was released on August 10, 2012! -- Fix performance bug in hb_ot_collect_glyphs(): - https://bugzilla.mozilla.org/show_bug.cgi?id=1090869 -- Add basic vertical-text support to hb-ot-font. -- Misc build fixes. - - -Overview of changes leading to 0.9.35 -Saturday, August 13, 2014 -===================================== - -- Fix major shape-plan caching bug when more than one shaper were - provided to hb_shape_full() (as exercised by XeTeX). - http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1246370.html -- Fix Arabic fallback shaping regression. This was broken in 0.9.32. -- Major hb-coretext fixes. That backend is complete now, including - respecing buffer direction and language, down to vertical writing. -- Build fixes for Windows CE. Should build fine now. -- Misc fixes: - Use atexit() only if it's safe to call from shared library - https://bugs.freedesktop.org/show_bug.cgi?id=82246 - Mandaic had errors in its Unicode Joining_Type - https://bugs.freedesktop.org/show_bug.cgi?id=82306 -- API changes: - - * hb_buffer_clear_contents() does not reset buffer flags now. - - After 763e5466c0a03a7c27020e1e2598e488612529a7, one doesn't - need to set flags for different pieces of text. The flags now - are something the client sets up once, depending on how it - actually uses the buffer. As such, don't clear it in - clear_contents(). - - I don't expect any changes to be needed to any existing client. - - -Overview of changes leading to 0.9.34 -Saturday, August 2, 2014 -===================================== - -- hb_feature_from_string() now accepts CSS font-feature-settings format. -- As a result, hb-shape / hb-view --features also accept CSS-style strings. - Eg, "'liga' off" is accepted now. -- Add old-spec Myanmar shaper: - https://bugs.freedesktop.org/show_bug.cgi?id=81775 -- Don't apply 'calt' in Hangul shaper. -- Fix mark advance zeroing for Hebrew shaper: - https://bugs.freedesktop.org/show_bug.cgi?id=76767 -- Implement Windows-1256 custom Arabic shaping. Only built on Windows, - and requires help from get_glyph(). Used by Firefox. - https://bugzilla.mozilla.org/show_bug.cgi?id=1045139 -- Disable 'liga' in vertical text. -- Build fixes. -- API changes: - - * Make HB_BUFFER_FLAG_BOT/EOT easier to use. - - Previously, we expected users to provide BOT/EOT flags when the - text *segment* was at paragraph boundaries. This meant that for - clients that provide full paragraph to HarfBuzz (eg. Pango), they - had code like this: - - hb_buffer_set_flags (hb_buffer, - (item_offset == 0 ? HB_BUFFER_FLAG_BOT : 0) | - (item_offset + item_length == paragraph_length ? - HB_BUFFER_FLAG_EOT : 0)); - - hb_buffer_add_utf8 (hb_buffer, - paragraph_text, paragraph_length, - item_offset, item_length); - - After this change such clients can simply say: - - hb_buffer_set_flags (hb_buffer, - HB_BUFFER_FLAG_BOT | HB_BUFFER_FLAG_EOT); - - hb_buffer_add_utf8 (hb_buffer, - paragraph_text, paragraph_length, - item_offset, item_length); - - Ie, HarfBuzz itself checks whether the segment is at the beginning/end - of the paragraph. Clients that only pass item-at-a-time to HarfBuzz - continue not setting any flags whatsoever. - - Another way to put it is: if there's pre-context text in the buffer, - HarfBuzz ignores the BOT flag. If there's post-context, it ignores - EOT flag. - - -Overview of changes leading to 0.9.33 -Tuesday, July 22, 2014 -===================================== - -- Turn off ARabic 'cswh' feature that was accidentally turned on. -- Add HB_TAG_MAX_SIGNED. -- Make hb_face_make_immutable() really make face immutable! -- Windows build fixes. - - -Overview of changes leading to 0.9.32 -Thursday, July 17, 2014 -===================================== - -- Apply Arabic shaping features in spec order exactly. -- Another fix for Mongolian free variation selectors. -- For non-Arabic scripts in Arabic shaper apply 'rlig' and 'calt' - together. -- Minor adjustment to U+FFFD logic. -- Fix hb-coretext build. - - -Overview of changes leading to 0.9.31 -Wednesday, July 16, 2014 -===================================== - -- Only accept valid UTF-8/16/32; we missed many cases before. -- Better shaping of invalid UTF-8/16/32. Falls back to - U+FFFD REPLACEMENT CHARACTER now. -- With all changes in this release, the buffer will contain fully - valid Unicode after hb_buffer_add_utf8/16/32 no matter how - broken the input is. This can be overridden though. See below. -- Fix Mongolian Variation Selectors for fonts without GDEF. -- Fix minor invalid buffer access. -- Accept zh-Hant and zh-Hans language tags. hb_ot_tag_to_language() - now uses these instead of private tags. -- Build fixes. -- New API: - * hb_buffer_add_codepoints(). This does what hb_buffer_add_utf32() - used to do, ie. no validity check on the input at all. add_utf32 - now replaces invalid Unicode codepoints with the replacement - character (see below). - * hb_buffer_set_replacement_codepoint() - * hb_buffer_get_replacement_codepoint() - Previously, in hb_buffer_add_utf8 and hb_buffer_add_utf16, when - we detected broken input, we replaced that with (hb_codepoint_t)-1. - This has changed to use U+FFFD now, but can be changed using these - new API. - - -Overview of changes leading to 0.9.30 -Wednesday, July 9, 2014 -===================================== - -- Update to Unicode 7.0.0: - * New scripts Manichaean and Psalter Pahlavi are shaped using - Arabic shaper. - * All the other new scripts to through the generic shaper for - now. -- Minor Indic improvements. -- Fix graphite2 backend cluster mapping [crasher!] -- API changes: - * New HB_SCRIPT_* values for Unicode 7.0 scripts. - * New function hb_ot_layout_language_get_required_feature(). -- Build fixes. - - -Overview of changes leading to 0.9.29 -Thursday, May 29, 2014 -===================================== - -- Implement cmap in hb-ot-font.h. No variation-selectors yet. -- Myanmar: Allow MedialYa+Asat. -- Various Indic fixes: - * Support most characters in Extended Devanagary and Vedic - Unicode blocks. - * Allow digits and a some punctuation as consonant placeholders. -- Build fixes. - - -Overview of changes leading to 0.9.28 -Monday, April 28, 2014 -===================================== - -- Unbreak old-spec Indic shaping. (bug 76705) -- Fix shaping of U+17DD and U+0FC6. -- Add HB_NO_MERGE_CLUSTERS build option. NOT to be enabled by default - for shipping libraries. It's an option for further experimentation - right now. When we are sure how to do it properly, we will add - public run-time API for the functionality. -- Build fixes. - - -Overview of changes leading to 0.9.27 -Tuesday, March 18, 2014 -===================================== - -- Don't use "register" storage class specifier -- Wrap definition of free_langs() with HAVE_ATEXIT -- Add coretext_aat shaper and hb_coretext_face_create() constructor -- If HAVE_ICU_BUILTIN is defined, use hb-icu Unicode callbacks -- Add Myanmar test case from OpenType Myanmar spec -- Only do fallback Hebrew composition if no GPOS 'mark' available -- Allow bootstrapping without gtk-doc -- Use AM_MISSING_PROG for ragel and git -- Typo in ucdn's Makefile.am -- Improve MemoryBarrier() implementation - - -Overview of changes leading to 0.9.26 -Thursday, January 30, 2014 -===================================== - -- Misc fixes. -- Fix application of 'rtlm' feature. -- Automatically apply frac/numr/dnom around U+2044 FRACTION SLASH. -- New header: hb-ot-shape.h -- Uniscribe: fix scratch-buffer accounting. -- Reorder Tai Tham SAKOT to after tone-marks. -- Add Hangul shaper. -- New files: - hb-ot-shape-complex-hangul.cc - hb-ot-shape-complex-hebrew.cc - hb-ot-shape-complex-tibetan.cc -- Disable 'cswh' feature in Arabic shaper. -- Coretext: better handle surrogate pairs. -- Add HB_TAG_MAX and _HB_SCRIPT_MAX_VALUE. - - -Overview of changes leading to 0.9.25 -Wednesday, December 4, 2013 -===================================== - -- Myanmar shaper improvements. -- Avoid font fallback in CoreText backend. -- Additional OpenType language tag mappiongs. -- More aggressive shape-plan caching. -- Build with / require automake 1.13. -- Build with libtool 2.4.2.418 alpha to support ppc64le. - - -Overview of changes leading to 0.9.24 -Tuesday, November 13, 2013 -===================================== - -- Misc compiler warning fixes with clang. -- No functional changes. - - -Overview of changes leading to 0.9.23 -Monday, October 28, 2013 -===================================== - -- "Udupi HarfBuzz Hackfest", Paris, October 14..18 2013. -- Fix (Chain)Context recursion with non-monotone lookup positions. -- Misc Indic bug fixes. -- New Javanese / Buginese shaping, similar to Windows 8.1. - - -Overview of changes leading to 0.9.22 -Thursday, October 3, 2013 -===================================== - -- Fix use-after-end-of-scope in hb_language_from_string(). -- Fix hiding of default_ignorables if font doesn't have space glyph. -- Protect against out-of-range lookup indices. - -- API Changes: - - * Added hb_ot_layout_table_get_lookup_count() - - -Overview of changes leading to 0.9.21 -Monday, September 16, 2013 -===================================== - -- Rename gobject-introspection library name from harfbuzz to HarfBuzz. -- Remove (long disabled) hb-old and hb-icu-le test shapers. -- Misc gtk-doc and gobject-introspection annotations. -- Misc fixes. -- API changes: - - * Add HB_SET_VALUE_INVALID - -Overview of changes leading to 0.9.20 -Thursday, August 29, 2013 -===================================== - -General: -- Misc substitute_closure() fixes. -- Build fixes. - -Documentation: -- gtk-doc boilerplate integrated. Docs are built now, but - contain no contents. By next release hopefully we have - some content in. Enable using --enable-gtk-doc. - -GObject and Introspection: -- Added harfbuzz-gobject library (hb-gobject.h) that has type - bindings for all HarfBuzz objects and enums. Enable using - --with-gobject. -- Added gobject-introspection boilerplate. Nothing useful - right now. Work in progress. Gets enabled automatically if - --with-gobject is used. Override with --disable-introspection. - -OpenType shaper: -- Apply 'mark' in Myanmar shaper. -- Don't apply 'dlig' by default. - -Uniscribe shaper: -- Support user features. -- Fix loading of fonts that are also installed on the system. -- Fix shaping of Arabic Presentation Forms. -- Fix build with wide chars. - -CoreText shaper: -- Support user features. - -Source changes: -- hb_face_t code moved to hb-face.h / hb-face.cc. -- Added hb-deprecated.h. - -API changes: -- Added HB_DISABLE_DEPRECATED. -- Deprecated HB_SCRIPT_CANADIAN_ABORIGINAL; replaced by - HB_SCRIPT_CANADIAN_SYLLABICS. -- Deprecated HB_BUFFER_FLAGS_DEFAULT; replaced by - HB_BUFFER_FLAG_DEFAULT. -- Deprecated HB_BUFFER_SERIALIZE_FLAGS_DEFAULT; replaced by - HB_BUFFER_SERIALIZE_FLAG_DEFAULT. - - -Overview of changes leading to 0.9.19 -Tuesday, July 16, 2013 -===================================== - -- Build fixes. -- Better handling of multiple variation selectors in a row. -- Pass on variation selector to GSUB if not consumed by cmap. -- Fix undefined memory access. -- Add Javanese config to Indic shaper. -- Misc bug fixes. - -Overview of changes leading to 0.9.18 -Tuesday, May 28, 2013 -===================================== - -New build system: - -- All unneeded code is all disabled by default, - -- Uniscribe and CoreText shapers can be enabled with their --with options, - -- icu_le and old shapers cannot be enabled for now, - -- glib, freetype, and cairo will be detected automatically. - They can be force on/off'ed with their --with options, - -- icu and graphite2 are default off, can be enabled with their --with - options, - -Moreover, ICU support is now build into a separate library: -libharfbuzz-icu.so, and a new harfbuzz-icu.pc is shipped for it. -Distros can enable ICU now without every application on earth -getting linked to via libharfbuzz.so. - -For distros I recommend that they make sure they are building --with-glib ---with-freetype --with-cairo, --with-icu, and optionally --with-graphite2; -And package harfbuzz and harfbuzz-icu separately. - - -Overview of changes leading to 0.9.17 -Monday, May 20, 2013 -===================================== - -- Build fixes. -- Fix bug in hb_set_get_min(). -- Fix regression with Arabic mark positioning / width-zeroing. - -Overview of changes leading to 0.9.16 -Friday, April 19, 2013 -===================================== - -- Major speedup in OpenType lookup processing. With the Amiri - Arabic font, this release is over 3x faster than previous - release. All scripts / languages should see this speedup. - -- New --num-iterations option for hb-shape / hb-view; useful for - profiling. - -Overview of changes leading to 0.9.15 -Friday, April 05, 2013 -===================================== - -- Build fixes. -- Fix crasher in graphite2 shaper. -- Fix Arabic mark width zeroing regression. -- Don't compose Hangul jamo into Unicode syllables. - - -Overview of changes leading to 0.9.14 -Thursday, March 21, 2013 -===================================== - -- Build fixes. -- Fix time-consuming sanitize with malicious fonts. -- Implement hb_buffer_deserialize_glyphs() for both json and text. -- Do not ignore Hangul filler characters. -- Indic fixes: - * Fix Malayalam pre-base reordering interaction with post-forms. - * Further adjust ZWJ handling. Should fix known regressions from - 0.9.13. - - -Overview of changes leading to 0.9.13 -Thursday, February 25, 2013 -===================================== - -- Build fixes. -- Ngapi HarfBuzz Hackfest in London (February 2013): - * Fixed all known Indic bugs, - * New Win8-style Myanmar shaper, - * New South-East Asian shaper for Tai Tham, Cham, and New Tai Lue, - * Smartly ignore Default_Ignorable characters (joiners, etc) wheb - matching GSUB/GPOS lookups, - * Fix 'Phags-Pa U+A872 shaping, - * Fix partial disabling of default-on features, - * Allow disabling of TrueType kerning. -- Fix possible crasher with broken fonts with overlapping tables. -- Removed generated files from git again. So, one needs ragel to - bootstrap from the git tree. - -API changes: -- hb_shape() and related APIs now abort if buffer direction is - HB_DIRECTION_INVALID. Previously, hb_shape() was calling - hb_buffer_guess_segment_properties() on the buffer before - shaping. The heuristics in that function are fragile. If the - user really wants the old behvaior, they can call that function - right before calling hb_shape() to get the old behavior. -- hb_blob_create_sub_blob() always creates sub-blob with - HB_MEMORY_MODE_READONLY. See comments for the reason. - - -Overview of changes leading to 0.9.12 -Thursday, January 18, 2013 -===================================== - -- Build fixes for Sun compiler. -- Minor bug fix. - -Overview of changes leading to 0.9.11 -Thursday, January 10, 2013 -===================================== - -- Build fixes. -- Fix GPOS mark attachment with null Anchor offsets. -- [Indic] Fix old-spec reordering of viramas if sequence ends in one. -- Fix multi-threaded shaper data creation crash. -- Add atomic ops for Solaris. - -API changes: -- Rename hb_buffer_clear() to hb_buffer_clear_contents(). - - -Overview of changes leading to 0.9.10 -Thursday, January 3, 2013 -===================================== - -- [Indic] Fixed rendering of Malayalam dot-reph -- Updated OT language tags. -- Updated graphite2 backend. -- Improved hb_ot_layout_get_size_params() logic. -- Improve hb-shape/hb-view help output. -- Fixed hb-set.h implementation to not crash. -- Fixed various issues with hb_ot_layout_collect_lookups(). -- Various build fixes. - -New API: - -hb_graphite2_face_get_gr_face() -hb_graphite2_font_get_gr_font() -hb_coretext_face_get_cg_font() - -Modified API: - -hb_ot_layout_get_size_params() - - -Overview of changes leading to 0.9.9 -Wednesday, December 5, 2012 -==================================== - -- Fix build on Windows. -- Minor improvements. - - -Overview of changes leading to 0.9.8 -Tuesday, December 4, 2012 -==================================== - - -- Actually implement hb_shape_plan_get_shaper (). -- Make UCDB data tables const. -- Lots of internal refactoring in OTLayout tables. -- Flesh out hb_ot_layout_lookup_collect_glyphs(). - -New API: - -hb_ot_layout_collect_lookups() -hb_ot_layout_get_size_params() - - -Overview of changes leading to 0.9.7 -Sunday, November 21, 2012 -==================================== - - -HarfBuzz "All-You-Can-Eat-Sushi" (aka Vancouver) Hackfest and follow-on fixes. - -- Fix Arabic contextual joining using pre-context text. -- Fix Sinhala "split matra" mess. -- Fix Khmer shaping with broken fonts. -- Implement Thai "PUA" shaping for old fonts. -- Do NOT route Kharoshthi script through the Indic shaper. -- Disable fallback positioning for Indic and Thai shapers. -- Misc fixes. - - -hb-shape / hb-view changes: - -- Add --text-before and --text-after -- Add --bot / --eot / --preserve-default-ignorables -- hb-shape --output-format=json - - -New API: - -hb_buffer_clear() - -hb_buffer_flags_t - -HB_BUFFER_FLAGS_DEFAULT -HB_BUFFER_FLAG_BOT -HB_BUFFER_FLAG_EOT -HB_BUFFER_FLAG_PRESERVE_DEFAULT_IGNORABLES - -hb_buffer_set_flags() -hb_buffer_get_flags() - -HB_BUFFER_SERIALIZE_FLAGS -hb_buffer_serialize_glyphs() -hb_buffer_deserialize_glyphs() -hb_buffer_serialize_list_formats() - -hb_set_add_range() -hb_set_del_range() -hb_set_get_population() -hb_set_next_range() - -hb_face_[sg]et_glyph_count() - -hb_segment_properties_t -HB_SEGMENT_PROPERTIES_DEFAULT -hb_segment_properties_equal() -hb_segment_properties_hash() - -hb_buffer_set_segment_properties() -hb_buffer_get_segment_properties() - -hb_ot_layout_glyph_class_t -hb_ot_layout_get_glyph_class() -hb_ot_layout_get_glyphs_in_class() - -hb_shape_plan_t -hb_shape_plan_create() -hb_shape_plan_create_cached() -hb_shape_plan_get_empty() -hb_shape_plan_reference() -hb_shape_plan_destroy() -hb_shape_plan_set_user_data() -hb_shape_plan_get_user_data() -hb_shape_plan_execute() -hb_shape_plan_get_shaper() - -hb_ot_shape_plan_collect_lookups() - - -API changes: - -- Remove "mask" parameter from hb_buffer_add(). -- Rename hb_ot_layout_would_substitute_lookup() and hb_ot_layout_substitute_closure_lookup(). -- hb-set.h API const correction. -- Renamed hb_set_min/max() to hb_set_get_min/max(). -- Rename hb_ot_layout_feature_get_lookup_indexes() to hb_ot_layout_feature_get_lookups(). -- Rename hb_buffer_guess_properties() to hb_buffer_guess_segment_properties(). - - - -Overview of changes leading to 0.9.6 -Sunday, November 13, 2012 -==================================== - -- Don't clear pre-context text if no new context is provided. -- Fix ReverseChainingSubstLookup, which was totally borked. -- Adjust output format of hb-shape a bit. -- Include config.h.in in-tree. Makes it easier for alternate build systems. -- Fix hb_buffer_set_length(buffer, 0) invalid memory allocation. -- Use ICU LayoutEngine's C API instead of C++. Avoids much headache. -- Drop glyphs for all of Unicode Default_Ignorable characters. -- Misc build fixes. - -Arabic shaper: -- Enable 'dlig' and 'mset' features in Arabic shaper. -- Implement 'Phags-pa shaping, improve Mongolian. - -Indic shaper: -- Decompose Sinhala split matras the way old HarfBuzz / Pango did. -- Initial support for Consonant Medials. -- Start adding new-style Myanmar shaping. -- Make reph and 'pref' logic introspect the font. -- Route Meetei-Mayek through the Indic shaper. -- Don't apply 'liga' in Indic shaper. -- Improve Malayalam pre-base reordering Ra interaction with Chillus. - - - -Overview of changes leading to 0.9.5 -Sunday, October 14, 2012 -==================================== - -- Synthetic-GSUB Arabic fallback shaping. - -- Misc Indic improvements. - -- Add build system support for pthread. - -- Imported UCDN for in-tree Unicode callbacks implementation. - -- Context-aware Arabic joining. - -- Misc other fixes. - -- New API: - - hb_feature_to/from-string() - hb_buffer_[sg]et_content_type() - - - -Overview of changes leading to 0.9.4 -Tuesday, Sep 03, 2012 -==================================== - -- Indic improvements with old-spec Malayalam. - -- Better fallback glyph positioning, specially with Thai / Lao marks. - -- Implement dotted-circle insertion. - -- Better Arabic fallback shaping / ligation. - -- Added ICU LayoutEngine backend for testing. Call it by the 'icu_le' name. - -- Misc fixes. - - - -Overview of changes leading to 0.9.3 -Friday, Aug 18, 2012 -==================================== - -- Fixed fallback mark positioning for left-to-right text. - -- Improve mark positioning for the remaining combining classes. - -- Unbreak Thai and fallback Arabic shaping. - -- Port Arabic shaper to shape-plan caching. - -- Use new ICU normalizer functions. - - - -Overview of changes leading to 0.9.2 -Friday, Aug 10, 2012 -==================================== - -- Over a thousand commits! This is the first major release of HarfBuzz. - -- HarfBuzz is feature-complete now! It should be in par, or better, than - both Pango's shapers and old HarfBuzz / Qt shapers. - -- New Indic shaper, supporting main Indic scripts, Sinhala, and Khmer. - -- Improved Arabic shaper, with fallback Arabic shaping, supporting Arabic, - Sinhala, N'ko, Mongolian, and Mandaic. - -- New Thai / Lao shaper. - -- Tibetan / Hangul support in the generic shaper. - -- Synthetic GDEF support for fonts without a GDEF table. - -- Fallback mark positioning for fonts without a GPOS table. - -- Unicode normalization shaping heuristic during glyph mapping. - -- New experimental Graphite2 backend. - -- New Uniscribe backend (primarily for testing). - -- New CoreText backend (primarily for testing). - -- Major optimization and speedup. - -- Test suites and testing infrastructure (work in progress). - -- Greatly improved hb-view cmdline tool. - -- hb-shape cmdline tool. - -- Unicode 6.1 support. - -Summary of API changes: - -o Changed API: - - - Users are expected to only include main header files now (ie. hb.h, - hb-glib.h, hb-ft.h, ...) - - - All struct tag names had their initial underscore removed. - Ie. "struct _hb_buffer_t" is "struct hb_buffer_t" now. - - - All set_user_data() functions now take a "replace" boolean parameter. - - - hb_buffer_create() takes zero arguments now. - Use hb_buffer_pre_allocate() to pre-allocate. - - - hb_buffer_add_utf*() now accept -1 for length parameteres, - meaning "nul-terminated". - - - hb_direction_t enum values changed. - - - All *_from_string() APIs now take a length parameter to allow for - non-nul-terminated strings. A -1 length means "nul-terminated". - - - Typedef for hb_language_t changed. - - - hb_get_table_func_t renamed to hb_reference_table_func_t. - - - hb_ot_layout_table_choose_script() - - - Various renames in hb-unicode.h. - -o New API: - - - hb_buffer_guess_properties() - Automatically called by hb_shape(). - - - hb_buffer_normalize_glyphs() - - - hb_tag_from_string() - - - hb-coretext.h - - - hb-uniscribe.h - - - hb_face_reference_blob() - - hb_face_[sg]et_index() - - hb_face_set_upem() - - - hb_font_get_glyph_name_func_t - hb_font_get_glyph_from_name_func_t - hb_font_funcs_set_glyph_name_func() - hb_font_funcs_set_glyph_from_name_func() - hb_font_get_glyph_name() - hb_font_get_glyph_from_name() - hb_font_glyph_to_string() - hb_font_glyph_from_string() - - - hb_font_set_funcs_data() - - - hb_ft_font_set_funcs() - - hb_ft_font_get_face() - - - hb-gobject.h (work in progress) - - - hb_ot_shape_glyphs_closure() - hb_ot_layout_substitute_closure_lookup() - - - hb-set.h - - - hb_shape_full() - - - hb_unicode_combining_class_t - - - hb_unicode_compose_func_t - hb_unicode_decompose_func_t - hb_unicode_decompose_compatibility_func_t - hb_unicode_funcs_set_compose_func() - hb_unicode_funcs_set_decompose_func() - hb_unicode_funcs_set_decompose_compatibility_func() - hb_unicode_compose() - hb_unicode_decompose() - hb_unicode_decompose_compatibility() - -o Removed API: - - - hb_ft_get_font_funcs() - - - hb_ot_layout_substitute_start() - hb_ot_layout_substitute_lookup() - hb_ot_layout_substitute_finish() - hb_ot_layout_position_start() - hb_ot_layout_position_lookup() - hb_ot_layout_position_finish() - - - -Overview of changes leading to 0.6.0 -Friday, May 27, 2011 -==================================== - -- Vertical text support in GPOS -- Almost all API entries have unit tests now, under test/ -- All thread-safety issues are fixed - -Summary of API changes follows. - - -* Simple Types API: - - o New API: - HB_LANGUAGE_INVALID - hb_language_get_default() - hb_direction_to_string() - hb_direction_from_string() - hb_script_get_horizontal_direction() - HB_UNTAG() - - o Renamed API: - hb_category_t renamed to hb_unicode_general_category_t - - o Changed API: - hb_language_t is a typed pointers now - - o Removed API: - HB_TAG_STR() - - -* Use ISO 15924 tags for hb_script_t: - - o New API: - hb_script_from_iso15924_tag() - hb_script_to_iso15924_tag() - hb_script_from_string() - - o Changed API: - HB_SCRIPT_* enum members changed value. - - -* Buffer API streamlined: - - o New API: - hb_buffer_reset() - hb_buffer_set_length() - hb_buffer_allocation_successful() - - o Renamed API: - hb_buffer_ensure() renamed to hb_buffer_pre_allocate() - hb_buffer_add_glyph() renamed to hb_buffer_add() - - o Removed API: - hb_buffer_clear() - hb_buffer_clear_positions() - - o Changed API: - hb_buffer_get_glyph_infos() takes an out length parameter now - hb_buffer_get_glyph_positions() takes an out length parameter now - - -* Blob API streamlined: - - o New API: - hb_blob_get_data() - hb_blob_get_data_writable() - - o Renamed API: - hb_blob_create_empty() renamed to hb_blob_get_empty() - - o Removed API: - hb_blob_lock() - hb_blob_unlock() - hb_blob_is_writable() - hb_blob_try_writable() - - o Changed API: - hb_blob_create() takes user_data before destroy now - - -* Unicode functions API: - - o Unicode function vectors can subclass other unicode function vectors now. - Unimplemented callbacks in the subclass automatically chainup to the parent. - - o All hb_unicode_funcs_t callbacks take a user_data now. Their setters - take a user_data and its respective destroy callback. - - o New API: - hb_unicode_funcs_get_empty() - hb_unicode_funcs_get_default() - hb_unicode_funcs_get_parent() - - o Changed API: - hb_unicode_funcs_create() now takes a parent_funcs. - - o Removed func getter functions: - hb_unicode_funcs_get_mirroring_func() - hb_unicode_funcs_get_general_category_func() - hb_unicode_funcs_get_script_func() - hb_unicode_funcs_get_combining_class_func() - hb_unicode_funcs_get_eastasian_width_func() - - -* Face API: - - o Renamed API: - hb_face_get_table() renamed to hb_face_reference_table() - hb_face_create_for_data() renamed to hb_face_create() - - o Changed API: - hb_face_create_for_tables() takes user_data before destroy now - hb_face_reference_table() returns empty blob instead of NULL - hb_get_table_func_t accepts the face as first parameter now - -* Font API: - - o Fonts can subclass other fonts now. Unimplemented callbacks in the - subclass automatically chainup to the parent. When chaining up, - scale is adjusted if the parent font has a different scale. - - o All hb_font_funcs_t callbacks take a user_data now. Their setters - take a user_data and its respective destroy callback. - - o New API: - hb_font_get_parent() - hb_font_funcs_get_empty() - hb_font_create_sub_font() - - o Removed API: - hb_font_funcs_copy() - hb_font_unset_funcs() - - o Removed func getter functions: - hb_font_funcs_get_glyph_func() - hb_font_funcs_get_glyph_advance_func() - hb_font_funcs_get_glyph_extents_func() - hb_font_funcs_get_contour_point_func() - hb_font_funcs_get_kerning_func() - - o Changed API: - hb_font_create() takes a face and references it now - hb_font_set_funcs() takes user_data before destroy now - hb_font_set_scale() accepts signed integers now - hb_font_get_contour_point_func_t now takes glyph first, then point_index - hb_font_get_glyph_func_t returns a success boolean now - - -* Changed object model: - - o All object types have a _get_empty() now: - hb_blob_get_empty() - hb_buffer_get_empty() - hb_face_get_empty() - hb_font_get_empty() - hb_font_funcs_get_empty() - hb_unicode_funcs_get_empty() - - o Added _set_user_data() and _get_user_data() for all object types: - hb_blob_get_user_data() - hb_blob_set_user_data() - hb_buffer_get_user_data() - hb_buffer_set_user_data() - hb_face_get_user_data() - hb_face_set_user_data() - hb_font_funcs_get_user_data() - hb_font_funcs_set_user_data() - hb_font_get_user_data() - hb_font_set_user_data() - hb_unicode_funcs_get_user_data() - hb_unicode_funcs_set_user_data() - - o Removed the _get_reference_count() from all object types: - hb_blob_get_reference_count() - hb_buffer_get_reference_count() - hb_face_get_reference_count() - hb_font_funcs_get_reference_count() - hb_font_get_reference_count() - hb_unicode_funcs_get_reference_count() - - o Added _make_immutable() and _is_immutable() for all object types except for buffer: - hb_blob_make_immutable() - hb_blob_is_immutable() - hb_face_make_immutable() - hb_face_is_immutable() - - -* Changed API for vertical text support - - o The following callbacks where removed: - hb_font_get_glyph_advance_func_t - hb_font_get_kerning_func_t - - o The following new callbacks added instead: - hb_font_get_glyph_h_advance_func_t - hb_font_get_glyph_v_advance_func_t - hb_font_get_glyph_h_origin_func_t - hb_font_get_glyph_v_origin_func_t - hb_font_get_glyph_h_kerning_func_t - hb_font_get_glyph_v_kerning_func_t - - o The following API removed as such: - hb_font_funcs_set_glyph_advance_func() - hb_font_funcs_set_kerning_func() - hb_font_get_glyph_advance() - hb_font_get_kerning() - - o New API added instead: - hb_font_funcs_set_glyph_h_advance_func() - hb_font_funcs_set_glyph_v_advance_func() - hb_font_funcs_set_glyph_h_origin_func() - hb_font_funcs_set_glyph_v_origin_func() - hb_font_funcs_set_glyph_h_kerning_func() - hb_font_funcs_set_glyph_v_kerning_func() - hb_font_get_glyph_h_advance() - hb_font_get_glyph_v_advance() - hb_font_get_glyph_h_origin() - hb_font_get_glyph_v_origin() - hb_font_get_glyph_h_kerning() - hb_font_get_glyph_v_kerning() - - o The following higher-leve API added for convenience: - hb_font_get_glyph_advance_for_direction() - hb_font_get_glyph_origin_for_direction() - hb_font_add_glyph_origin_for_direction() - hb_font_subtract_glyph_origin_for_direction() - hb_font_get_glyph_kerning_for_direction() - hb_font_get_glyph_extents_for_origin() - hb_font_get_glyph_contour_point_for_origin() - - -* OpenType Layout API: - - o New API: - hb_ot_layout_position_start() - hb_ot_layout_substitute_start() - hb_ot_layout_substitute_finish() - - -* Glue code: - - o New API: - hb_glib_script_to_script() - hb_glib_script_from_script() - hb_icu_script_to_script() - hb_icu_script_from_script() - - -* Version API added: - - o New API: - HB_VERSION_MAJOR - HB_VERSION_MINOR - HB_VERSION_MICRO - HB_VERSION_STRING - HB_VERSION_CHECK() - hb_version() - hb_version_string() - hb_version_check() - - diff --git a/harfbuzz/README b/harfbuzz/README deleted file mode 100644 index 84c542f..0000000 --- a/harfbuzz/README +++ /dev/null @@ -1,15 +0,0 @@ -This is HarfBuzz, a text shaping library. - -For bug reports, mailing list, and other information please visit: - - http://harfbuzz.org/ - -For license information, see https://github.com/harfbuzz/harfbuzz/blob/main/COPYING - -For build information, see https://github.com/harfbuzz/harfbuzz/blob/main/BUILD.md - -For custom configurations, see https://github.com/harfbuzz/harfbuzz/blob/main/CONFIG.md - -For test execution, see https://github.com/harfbuzz/harfbuzz/blob/main/TESTING.md - -Documentation: https://harfbuzz.github.io diff --git a/harfbuzz/README.md b/harfbuzz/README.md deleted file mode 100644 index 9deb32c..0000000 --- a/harfbuzz/README.md +++ /dev/null @@ -1,33 +0,0 @@ -[![Linux CI Status](https://github.com/harfbuzz/harfbuzz/workflows/linux-ci/badge.svg)](https://github.com/harfbuzz/harfbuzz/workflows/linux-ci/badge.svg) -[![CircleCI Build Status](https://circleci.com/gh/harfbuzz/harfbuzz/tree/main.svg?style=svg)](https://circleci.com/gh/harfbuzz/harfbuzz/tree/main) -[![OSS-Fuzz Status](https://oss-fuzz-build-logs.storage.googleapis.com/badges/harfbuzz.svg)](https://oss-fuzz-build-logs.storage.googleapis.com/index.html) -[![Coverity Code Health](https://img.shields.io/coverity/scan/5450.svg)](https://scan.coverity.com/projects/behdad-harfbuzz) -[![Codacy Code Health](https://api.codacy.com/project/badge/Grade/f17f1708783c447488bc8dd317150eaa)](https://app.codacy.com/app/behdad/harfbuzz) -[![Codecov Code Coverage](https://codecov.io/gh/harfbuzz/harfbuzz/branch/main/graph/badge.svg)](https://codecov.io/gh/harfbuzz/harfbuzz) -[![Coverals Code Coverage](https://img.shields.io/coveralls/harfbuzz/harfbuzz.svg)](https://coveralls.io/r/harfbuzz/harfbuzz) -[![Packaging status](https://repology.org/badge/tiny-repos/harfbuzz.svg)](https://repology.org/project/harfbuzz/versions) -[ABI Tracker](http://abi-laboratory.pro/tracker/timeline/harfbuzz/) - -This is HarfBuzz, a text shaping library. - -For bug reports, mailing list, and other information please visit: - - http://harfbuzz.org/ - -For license information, see [COPYING](COPYING). - -For build information, see [BUILD.md](BUILD.md). - -For custom configurations, see [CONFIG.md](CONFIG.md). - -For test execution, see [TESTING.md](TESTING.md). - -Documentation: https://harfbuzz.github.io - - -
- Packaging status of HarfBuzz - -[![Packaging status](https://repology.org/badge/vertical-allrepos/harfbuzz.svg?header=harfbuzz)](https://repology.org/project/harfbuzz/versions) - -
diff --git a/harfbuzz/README.python.md b/harfbuzz/README.python.md deleted file mode 100644 index 7496f04..0000000 --- a/harfbuzz/README.python.md +++ /dev/null @@ -1,31 +0,0 @@ -To enable HarfBuzz bindings for Python among other languages, make sure -you have latest version of gobject-introspection available. On Ubuntu, -you can install that this way: - -```bash -sudo apt-get install libgirepository1.0-dev -``` - -And then run `meson setup` and make sure that `Introspection` is reported -enabled in output. - -Compile and install. - -Make sure you have the installation lib dir in `LD_LIBRARY_PATH`, as needed -for the linker to find the library. - -Then make sure you also have `GI_TYPELIB_PATH` pointing to the resulting -`$prefix/lib/girepository-*` directory. - -Make sure you have pygobject installed. Then check that the following -import works in your Python interpreter: - -```python -from gi.repository import HarfBuzz -``` - -If it does, you are ready to call HarfBuzz from Python! Congratulations. -See [`src/sample.py`](src/sample.py). - -The Python API will change. Let us know on the mailing list if you are -using it, and send lots of feedback. diff --git a/harfbuzz/RELEASING.md b/harfbuzz/RELEASING.md deleted file mode 100644 index 67d6310..0000000 --- a/harfbuzz/RELEASING.md +++ /dev/null @@ -1,37 +0,0 @@ -# HarfBuzz release walk-through checklist: - -- [ ] Open gitk and review changes since last release. - - - [ ] Print all public API changes: - `git diff $(git describe | sed 's/-.*//').. src/*.h` - - - [ ] Document them in NEWS. - All API and API semantic changes should be clearly marked as API additions, API changes, or API deletions. - - - [ ] Document deprecations. - Ensure all new API / deprecations are in listed correctly in docs/harfbuzz-sections.txt. - If release added new API, add entry for new API index at the end of docs/harfbuzz-docs.xml. - - If there's a backward-incompatible API change (including deletions for API used anywhere), that's a release blocker. - Do NOT release. - -- [ ] Based on severity of changes, decide whether it's a minor or micro release number bump. - -- [ ] Search for REPLACEME on the repository and replace it with the chosen version for the release. - -- [ ] Make sure you have correct date and new version at the top of NEWS file. - -- [ ] Bump version in line 3 of meson.build and configure.ac. - -- [ ] Do a `meson test -Cbuild` so it both checks the tests and updates hb-version.h (use `git diff` to see if is really updated). - -- [ ] Commit NEWS, meson.build, configure.ac, and src/hb-version.h, as well as any REPLACEME changes you made. - The commit message is simply the release number, e. g. "1.4.7" - -- [ ] Do a `meson dist -Cbuild` that runs the tests against the latest commited changes. - If doesn't pass, something fishy is going on, reset the repo and start over. - -- [ ] Tag the release and sign it: e.g. `git tag -s 1.4.7 -m 1.4.7`. - Enter your GPG password. - -- [ ] Push the commit and tag out: `git push --follow-tags`. diff --git a/harfbuzz/TESTING.md b/harfbuzz/TESTING.md deleted file mode 100644 index c722834..0000000 --- a/harfbuzz/TESTING.md +++ /dev/null @@ -1,55 +0,0 @@ -## Build and Test - -```shell -meson build -ninja -Cbuild -meson test -Cbuild -``` - -### Debug with GDB - -```shell -meson test -Cbuild --gdb testname -``` - -## Build and Run - -Depending on what area you are working in change or add `HB_DEBUG_`. -Values defined in `hb-debug.hh`. - -```shell -CPPFLAGS='-DHB_DEBUG_SUBSET=100' meson setup build --reconfigure -meson test -C build -``` - -### Run tests with asan - -```shell -meson setup build -Db_sanitize=address --reconfigure -meson compile -C build -meson test -C build -``` - -### Enable Debug Logging - -```shell -CPPFLAGS=-DHB_DEBUG_SUBSET=100 meson build --reconfigure -ninja -C build -``` - -## Test with the Fuzzer - -```shell -CXXFLAGS="-fsanitize=address,fuzzer-no-link" meson fuzzbuild --default-library=static -Dfuzzer_ldflags="-fsanitize=address,fuzzer" -Dexperimental_api=true -ninja -Cfuzzbuild test/fuzzing/hb-{shape,draw,subset,set}-fuzzer -fuzzbuild/test/fuzzing/hb-subset-fuzzer test/fuzzing/fonts -``` - -## Profiling - -``` -meson build --reconfigure -meson compile -C build -build/perf/perf -``` - diff --git a/harfbuzz/THANKS b/harfbuzz/THANKS deleted file mode 100644 index 88cb7e9..0000000 --- a/harfbuzz/THANKS +++ /dev/null @@ -1,7 +0,0 @@ -Bradley Grainger -Kenichi Ishibashi -Ivan Kuckir -Ryan Lortie -Jeff Muizelaar -suzuki toshiya -Philip Withnall diff --git a/harfbuzz/TODO b/harfbuzz/TODO deleted file mode 100644 index d8e4105..0000000 --- a/harfbuzz/TODO +++ /dev/null @@ -1,28 +0,0 @@ -API issues: -=========== - -- API to accept a list of languages? - -- Remove hb_ot_shape_glyphs_closure()? - - -API additions -============= - -- Language to/from script. - -- Add hb-cairo glue - -- Add sanitize API. - -- Add query / enumeration API for aalt-like features? - -- Add segmentation API - -- Add hb-fribidi glue? - - -hb-view / hb-shape enhancements: -=============================== - -- Add --width, --height, --auto-size, --ink-box, --align, etc? diff --git a/harfbuzz/aclocal.m4 b/harfbuzz/aclocal.m4 deleted file mode 100644 index ce5c0af..0000000 --- a/harfbuzz/aclocal.m4 +++ /dev/null @@ -1,1624 +0,0 @@ -# generated automatically by aclocal 1.16.1 -*- Autoconf -*- - -# Copyright (C) 1996-2018 Free Software Foundation, Inc. - -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])]) -m4_ifndef([AC_AUTOCONF_VERSION], - [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl -m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],, -[m4_warning([this file was generated for autoconf 2.69. -You have another version of autoconf. It may work, but is not guaranteed to. -If you have problems, you may need to regenerate the build system entirely. -To do so, use the procedure documented by the package, typically 'autoreconf'.])]) - -dnl -*- mode: autoconf -*- -dnl Copyright 2009 Johan Dahlin -dnl -dnl This file is free software; the author(s) gives unlimited -dnl permission to copy and/or distribute it, with or without -dnl modifications, as long as this notice is preserved. -dnl - -# serial 1 - -dnl This is a copy of AS_AC_EXPAND -dnl -dnl (C) 2003, 2004, 2005 Thomas Vander Stichele -dnl Copying and distribution of this file, with or without modification, -dnl are permitted in any medium without royalty provided the copyright -dnl notice and this notice are preserved. -m4_define([_GOBJECT_INTROSPECTION_AS_AC_EXPAND], -[ - EXP_VAR=[$1] - FROM_VAR=[$2] - - dnl first expand prefix and exec_prefix if necessary - prefix_save=$prefix - exec_prefix_save=$exec_prefix - - dnl if no prefix given, then use /usr/local, the default prefix - if test "x$prefix" = "xNONE"; then - prefix="$ac_default_prefix" - fi - dnl if no exec_prefix given, then use prefix - if test "x$exec_prefix" = "xNONE"; then - exec_prefix=$prefix - fi - - full_var="$FROM_VAR" - dnl loop until it doesn't change anymore - while true; do - new_full_var="`eval echo $full_var`" - if test "x$new_full_var" = "x$full_var"; then break; fi - full_var=$new_full_var - done - - dnl clean up - full_var=$new_full_var - AC_SUBST([$1], "$full_var") - - dnl restore prefix and exec_prefix - prefix=$prefix_save - exec_prefix=$exec_prefix_save -]) - -m4_define([_GOBJECT_INTROSPECTION_CHECK_INTERNAL], -[ - AC_BEFORE([AC_PROG_LIBTOOL],[$0])dnl setup libtool first - AC_BEFORE([AM_PROG_LIBTOOL],[$0])dnl setup libtool first - AC_BEFORE([LT_INIT],[$0])dnl setup libtool first - - dnl enable/disable introspection - m4_if([$2], [require], - [dnl - enable_introspection=yes - ],[dnl - AC_ARG_ENABLE(introspection, - AS_HELP_STRING([--enable-introspection[=@<:@no/auto/yes@:>@]], - [Enable introspection for this build]),, - [enable_introspection=auto]) - ])dnl - - AC_MSG_CHECKING([for gobject-introspection]) - - dnl presence/version checking - AS_CASE([$enable_introspection], - [no], [dnl - found_introspection="no (disabled, use --enable-introspection to enable)" - ],dnl - [yes],[dnl - PKG_CHECK_EXISTS([gobject-introspection-1.0],, - AC_MSG_ERROR([gobject-introspection-1.0 is not installed])) - PKG_CHECK_EXISTS([gobject-introspection-1.0 >= $1], - found_introspection=yes, - AC_MSG_ERROR([You need to have gobject-introspection >= $1 installed to build AC_PACKAGE_NAME])) - ],dnl - [auto],[dnl - PKG_CHECK_EXISTS([gobject-introspection-1.0 >= $1], found_introspection=yes, found_introspection=no) - dnl Canonicalize enable_introspection - enable_introspection=$found_introspection - ],dnl - [dnl - AC_MSG_ERROR([invalid argument passed to --enable-introspection, should be one of @<:@no/auto/yes@:>@]) - ])dnl - - AC_MSG_RESULT([$found_introspection]) - - dnl expand datadir/libdir so we can pass them to pkg-config - dnl and get paths relative to our target directories - _GOBJECT_INTROSPECTION_AS_AC_EXPAND(_GI_EXP_DATADIR, "$datadir") - _GOBJECT_INTROSPECTION_AS_AC_EXPAND(_GI_EXP_LIBDIR, "$libdir") - - INTROSPECTION_SCANNER= - INTROSPECTION_COMPILER= - INTROSPECTION_GENERATE= - INTROSPECTION_GIRDIR= - INTROSPECTION_TYPELIBDIR= - if test "x$found_introspection" = "xyes"; then - INTROSPECTION_SCANNER=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0` - INTROSPECTION_COMPILER=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0` - INTROSPECTION_GENERATE=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0` - INTROSPECTION_GIRDIR=`$PKG_CONFIG --define-variable=datadir="${_GI_EXP_DATADIR}" --variable=girdir gobject-introspection-1.0` - INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --define-variable=libdir="${_GI_EXP_LIBDIR}" --variable=typelibdir gobject-introspection-1.0)" - INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0` - INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0` - INTROSPECTION_MAKEFILE=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection - fi - AC_SUBST(INTROSPECTION_SCANNER) - AC_SUBST(INTROSPECTION_COMPILER) - AC_SUBST(INTROSPECTION_GENERATE) - AC_SUBST(INTROSPECTION_GIRDIR) - AC_SUBST(INTROSPECTION_TYPELIBDIR) - AC_SUBST(INTROSPECTION_CFLAGS) - AC_SUBST(INTROSPECTION_LIBS) - AC_SUBST(INTROSPECTION_MAKEFILE) - - AM_CONDITIONAL(HAVE_INTROSPECTION, test "x$found_introspection" = "xyes") -]) - - -dnl Usage: -dnl GOBJECT_INTROSPECTION_CHECK([minimum-g-i-version]) - -AC_DEFUN([GOBJECT_INTROSPECTION_CHECK], -[ - _GOBJECT_INTROSPECTION_CHECK_INTERNAL([$1]) -]) - -dnl Usage: -dnl GOBJECT_INTROSPECTION_REQUIRE([minimum-g-i-version]) - - -AC_DEFUN([GOBJECT_INTROSPECTION_REQUIRE], -[ - _GOBJECT_INTROSPECTION_CHECK_INTERNAL([$1], [require]) -]) - -dnl pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- -dnl serial 11 (pkg-config-0.29.1) -dnl -dnl Copyright © 2004 Scott James Remnant . -dnl Copyright © 2012-2015 Dan Nicholson -dnl -dnl This program is free software; you can redistribute it and/or modify -dnl it under the terms of the GNU General Public License as published by -dnl the Free Software Foundation; either version 2 of the License, or -dnl (at your option) any later version. -dnl -dnl This program is distributed in the hope that it will be useful, but -dnl WITHOUT ANY WARRANTY; without even the implied warranty of -dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -dnl General Public License for more details. -dnl -dnl You should have received a copy of the GNU General Public License -dnl along with this program; if not, write to the Free Software -dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -dnl 02111-1307, USA. -dnl -dnl As a special exception to the GNU General Public License, if you -dnl distribute this file as part of a program that contains a -dnl configuration script generated by Autoconf, you may include it under -dnl the same distribution terms that you use for the rest of that -dnl program. - -dnl PKG_PREREQ(MIN-VERSION) -dnl ----------------------- -dnl Since: 0.29 -dnl -dnl Verify that the version of the pkg-config macros are at least -dnl MIN-VERSION. Unlike PKG_PROG_PKG_CONFIG, which checks the user's -dnl installed version of pkg-config, this checks the developer's version -dnl of pkg.m4 when generating configure. -dnl -dnl To ensure that this macro is defined, also add: -dnl m4_ifndef([PKG_PREREQ], -dnl [m4_fatal([must install pkg-config 0.29 or later before running autoconf/autogen])]) -dnl -dnl See the "Since" comment for each macro you use to see what version -dnl of the macros you require. -m4_defun([PKG_PREREQ], -[m4_define([PKG_MACROS_VERSION], [0.29.1]) -m4_if(m4_version_compare(PKG_MACROS_VERSION, [$1]), -1, - [m4_fatal([pkg.m4 version $1 or higher is required but ]PKG_MACROS_VERSION[ found])]) -])dnl PKG_PREREQ - -dnl PKG_PROG_PKG_CONFIG([MIN-VERSION]) -dnl ---------------------------------- -dnl Since: 0.16 -dnl -dnl Search for the pkg-config tool and set the PKG_CONFIG variable to -dnl first found in the path. Checks that the version of pkg-config found -dnl is at least MIN-VERSION. If MIN-VERSION is not specified, 0.9.0 is -dnl used since that's the first version where most current features of -dnl pkg-config existed. -AC_DEFUN([PKG_PROG_PKG_CONFIG], -[m4_pattern_forbid([^_?PKG_[A-Z_]+$]) -m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$]) -m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$]) -AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility]) -AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path]) -AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path]) - -if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then - AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) -fi -if test -n "$PKG_CONFIG"; then - _pkg_min_version=m4_default([$1], [0.9.0]) - AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) - if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then - AC_MSG_RESULT([yes]) - else - AC_MSG_RESULT([no]) - PKG_CONFIG="" - fi -fi[]dnl -])dnl PKG_PROG_PKG_CONFIG - -dnl PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) -dnl ------------------------------------------------------------------- -dnl Since: 0.18 -dnl -dnl Check to see whether a particular set of modules exists. Similar to -dnl PKG_CHECK_MODULES(), but does not set variables or print errors. -dnl -dnl Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG]) -dnl only at the first occurence in configure.ac, so if the first place -dnl it's called might be skipped (such as if it is within an "if", you -dnl have to call PKG_CHECK_EXISTS manually -AC_DEFUN([PKG_CHECK_EXISTS], -[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl -if test -n "$PKG_CONFIG" && \ - AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then - m4_default([$2], [:]) -m4_ifvaln([$3], [else - $3])dnl -fi]) - -dnl _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) -dnl --------------------------------------------- -dnl Internal wrapper calling pkg-config via PKG_CONFIG and setting -dnl pkg_failed based on the result. -m4_define([_PKG_CONFIG], -[if test -n "$$1"; then - pkg_cv_[]$1="$$1" - elif test -n "$PKG_CONFIG"; then - PKG_CHECK_EXISTS([$3], - [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null` - test "x$?" != "x0" && pkg_failed=yes ], - [pkg_failed=yes]) - else - pkg_failed=untried -fi[]dnl -])dnl _PKG_CONFIG - -dnl _PKG_SHORT_ERRORS_SUPPORTED -dnl --------------------------- -dnl Internal check to see if pkg-config supports short errors. -AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], -[AC_REQUIRE([PKG_PROG_PKG_CONFIG]) -if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then - _pkg_short_errors_supported=yes -else - _pkg_short_errors_supported=no -fi[]dnl -])dnl _PKG_SHORT_ERRORS_SUPPORTED - - -dnl PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], -dnl [ACTION-IF-NOT-FOUND]) -dnl -------------------------------------------------------------- -dnl Since: 0.4.0 -dnl -dnl Note that if there is a possibility the first call to -dnl PKG_CHECK_MODULES might not happen, you should be sure to include an -dnl explicit call to PKG_PROG_PKG_CONFIG in your configure.ac -AC_DEFUN([PKG_CHECK_MODULES], -[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl -AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl -AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl - -pkg_failed=no -AC_MSG_CHECKING([for $1]) - -_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) -_PKG_CONFIG([$1][_LIBS], [libs], [$2]) - -m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS -and $1[]_LIBS to avoid the need to call pkg-config. -See the pkg-config man page for more details.]) - -if test $pkg_failed = yes; then - AC_MSG_RESULT([no]) - _PKG_SHORT_ERRORS_SUPPORTED - if test $_pkg_short_errors_supported = yes; then - $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1` - else - $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1` - fi - # Put the nasty error message in config.log where it belongs - echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD - - m4_default([$4], [AC_MSG_ERROR( -[Package requirements ($2) were not met: - -$$1_PKG_ERRORS - -Consider adjusting the PKG_CONFIG_PATH environment variable if you -installed software in a non-standard prefix. - -_PKG_TEXT])[]dnl - ]) -elif test $pkg_failed = untried; then - AC_MSG_RESULT([no]) - m4_default([$4], [AC_MSG_FAILURE( -[The pkg-config script could not be found or is too old. Make sure it -is in your PATH or set the PKG_CONFIG environment variable to the full -path to pkg-config. - -_PKG_TEXT - -To get pkg-config, see .])[]dnl - ]) -else - $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS - $1[]_LIBS=$pkg_cv_[]$1[]_LIBS - AC_MSG_RESULT([yes]) - $3 -fi[]dnl -])dnl PKG_CHECK_MODULES - - -dnl PKG_CHECK_MODULES_STATIC(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], -dnl [ACTION-IF-NOT-FOUND]) -dnl --------------------------------------------------------------------- -dnl Since: 0.29 -dnl -dnl Checks for existence of MODULES and gathers its build flags with -dnl static libraries enabled. Sets VARIABLE-PREFIX_CFLAGS from --cflags -dnl and VARIABLE-PREFIX_LIBS from --libs. -dnl -dnl Note that if there is a possibility the first call to -dnl PKG_CHECK_MODULES_STATIC might not happen, you should be sure to -dnl include an explicit call to PKG_PROG_PKG_CONFIG in your -dnl configure.ac. -AC_DEFUN([PKG_CHECK_MODULES_STATIC], -[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl -_save_PKG_CONFIG=$PKG_CONFIG -PKG_CONFIG="$PKG_CONFIG --static" -PKG_CHECK_MODULES($@) -PKG_CONFIG=$_save_PKG_CONFIG[]dnl -])dnl PKG_CHECK_MODULES_STATIC - - -dnl PKG_INSTALLDIR([DIRECTORY]) -dnl ------------------------- -dnl Since: 0.27 -dnl -dnl Substitutes the variable pkgconfigdir as the location where a module -dnl should install pkg-config .pc files. By default the directory is -dnl $libdir/pkgconfig, but the default can be changed by passing -dnl DIRECTORY. The user can override through the --with-pkgconfigdir -dnl parameter. -AC_DEFUN([PKG_INSTALLDIR], -[m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])]) -m4_pushdef([pkg_description], - [pkg-config installation directory @<:@]pkg_default[@:>@]) -AC_ARG_WITH([pkgconfigdir], - [AS_HELP_STRING([--with-pkgconfigdir], pkg_description)],, - [with_pkgconfigdir=]pkg_default) -AC_SUBST([pkgconfigdir], [$with_pkgconfigdir]) -m4_popdef([pkg_default]) -m4_popdef([pkg_description]) -])dnl PKG_INSTALLDIR - - -dnl PKG_NOARCH_INSTALLDIR([DIRECTORY]) -dnl -------------------------------- -dnl Since: 0.27 -dnl -dnl Substitutes the variable noarch_pkgconfigdir as the location where a -dnl module should install arch-independent pkg-config .pc files. By -dnl default the directory is $datadir/pkgconfig, but the default can be -dnl changed by passing DIRECTORY. The user can override through the -dnl --with-noarch-pkgconfigdir parameter. -AC_DEFUN([PKG_NOARCH_INSTALLDIR], -[m4_pushdef([pkg_default], [m4_default([$1], ['${datadir}/pkgconfig'])]) -m4_pushdef([pkg_description], - [pkg-config arch-independent installation directory @<:@]pkg_default[@:>@]) -AC_ARG_WITH([noarch-pkgconfigdir], - [AS_HELP_STRING([--with-noarch-pkgconfigdir], pkg_description)],, - [with_noarch_pkgconfigdir=]pkg_default) -AC_SUBST([noarch_pkgconfigdir], [$with_noarch_pkgconfigdir]) -m4_popdef([pkg_default]) -m4_popdef([pkg_description]) -])dnl PKG_NOARCH_INSTALLDIR - - -dnl PKG_CHECK_VAR(VARIABLE, MODULE, CONFIG-VARIABLE, -dnl [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) -dnl ------------------------------------------- -dnl Since: 0.28 -dnl -dnl Retrieves the value of the pkg-config variable for the given module. -AC_DEFUN([PKG_CHECK_VAR], -[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl -AC_ARG_VAR([$1], [value of $3 for $2, overriding pkg-config])dnl - -_PKG_CONFIG([$1], [variable="][$3]["], [$2]) -AS_VAR_COPY([$1], [pkg_cv_][$1]) - -AS_VAR_IF([$1], [""], [$5], [$4])dnl -])dnl PKG_CHECK_VAR - -# Copyright (C) 2002-2018 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# AM_AUTOMAKE_VERSION(VERSION) -# ---------------------------- -# Automake X.Y traces this macro to ensure aclocal.m4 has been -# generated from the m4 files accompanying Automake X.Y. -# (This private macro should not be called outside this file.) -AC_DEFUN([AM_AUTOMAKE_VERSION], -[am__api_version='1.16' -dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to -dnl require some minimum version. Point them to the right macro. -m4_if([$1], [1.16.1], [], - [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl -]) - -# _AM_AUTOCONF_VERSION(VERSION) -# ----------------------------- -# aclocal traces this macro to find the Autoconf version. -# This is a private macro too. Using m4_define simplifies -# the logic in aclocal, which can simply ignore this definition. -m4_define([_AM_AUTOCONF_VERSION], []) - -# AM_SET_CURRENT_AUTOMAKE_VERSION -# ------------------------------- -# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. -# This function is AC_REQUIREd by AM_INIT_AUTOMAKE. -AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], -[AM_AUTOMAKE_VERSION([1.16.1])dnl -m4_ifndef([AC_AUTOCONF_VERSION], - [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl -_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) - -# Copyright (C) 2011-2018 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# AM_PROG_AR([ACT-IF-FAIL]) -# ------------------------- -# Try to determine the archiver interface, and trigger the ar-lib wrapper -# if it is needed. If the detection of archiver interface fails, run -# ACT-IF-FAIL (default is to abort configure with a proper error message). -AC_DEFUN([AM_PROG_AR], -[AC_BEFORE([$0], [LT_INIT])dnl -AC_BEFORE([$0], [AC_PROG_LIBTOOL])dnl -AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl -AC_REQUIRE_AUX_FILE([ar-lib])dnl -AC_CHECK_TOOLS([AR], [ar lib "link -lib"], [false]) -: ${AR=ar} - -AC_CACHE_CHECK([the archiver ($AR) interface], [am_cv_ar_interface], - [AC_LANG_PUSH([C]) - am_cv_ar_interface=ar - AC_COMPILE_IFELSE([AC_LANG_SOURCE([[int some_variable = 0;]])], - [am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&AS_MESSAGE_LOG_FD' - AC_TRY_EVAL([am_ar_try]) - if test "$ac_status" -eq 0; then - am_cv_ar_interface=ar - else - am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&AS_MESSAGE_LOG_FD' - AC_TRY_EVAL([am_ar_try]) - if test "$ac_status" -eq 0; then - am_cv_ar_interface=lib - else - am_cv_ar_interface=unknown - fi - fi - rm -f conftest.lib libconftest.a - ]) - AC_LANG_POP([C])]) - -case $am_cv_ar_interface in -ar) - ;; -lib) - # Microsoft lib, so override with the ar-lib wrapper script. - # FIXME: It is wrong to rewrite AR. - # But if we don't then we get into trouble of one sort or another. - # A longer-term fix would be to have automake use am__AR in this case, - # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something - # similar. - AR="$am_aux_dir/ar-lib $AR" - ;; -unknown) - m4_default([$1], - [AC_MSG_ERROR([could not determine $AR interface])]) - ;; -esac -AC_SUBST([AR])dnl -]) - -# AM_AUX_DIR_EXPAND -*- Autoconf -*- - -# Copyright (C) 2001-2018 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets -# $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to -# '$srcdir', '$srcdir/..', or '$srcdir/../..'. -# -# Of course, Automake must honor this variable whenever it calls a -# tool from the auxiliary directory. The problem is that $srcdir (and -# therefore $ac_aux_dir as well) can be either absolute or relative, -# depending on how configure is run. This is pretty annoying, since -# it makes $ac_aux_dir quite unusable in subdirectories: in the top -# source directory, any form will work fine, but in subdirectories a -# relative path needs to be adjusted first. -# -# $ac_aux_dir/missing -# fails when called from a subdirectory if $ac_aux_dir is relative -# $top_srcdir/$ac_aux_dir/missing -# fails if $ac_aux_dir is absolute, -# fails when called from a subdirectory in a VPATH build with -# a relative $ac_aux_dir -# -# The reason of the latter failure is that $top_srcdir and $ac_aux_dir -# are both prefixed by $srcdir. In an in-source build this is usually -# harmless because $srcdir is '.', but things will broke when you -# start a VPATH build or use an absolute $srcdir. -# -# So we could use something similar to $top_srcdir/$ac_aux_dir/missing, -# iff we strip the leading $srcdir from $ac_aux_dir. That would be: -# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` -# and then we would define $MISSING as -# MISSING="\${SHELL} $am_aux_dir/missing" -# This will work as long as MISSING is not called from configure, because -# unfortunately $(top_srcdir) has no meaning in configure. -# However there are other variables, like CC, which are often used in -# configure, and could therefore not use this "fixed" $ac_aux_dir. -# -# Another solution, used here, is to always expand $ac_aux_dir to an -# absolute PATH. The drawback is that using absolute paths prevent a -# configured tree to be moved without reconfiguration. - -AC_DEFUN([AM_AUX_DIR_EXPAND], -[AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl -# Expand $ac_aux_dir to an absolute path. -am_aux_dir=`cd "$ac_aux_dir" && pwd` -]) - -# AM_CONDITIONAL -*- Autoconf -*- - -# Copyright (C) 1997-2018 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# AM_CONDITIONAL(NAME, SHELL-CONDITION) -# ------------------------------------- -# Define a conditional. -AC_DEFUN([AM_CONDITIONAL], -[AC_PREREQ([2.52])dnl - m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], - [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl -AC_SUBST([$1_TRUE])dnl -AC_SUBST([$1_FALSE])dnl -_AM_SUBST_NOTMAKE([$1_TRUE])dnl -_AM_SUBST_NOTMAKE([$1_FALSE])dnl -m4_define([_AM_COND_VALUE_$1], [$2])dnl -if $2; then - $1_TRUE= - $1_FALSE='#' -else - $1_TRUE='#' - $1_FALSE= -fi -AC_CONFIG_COMMANDS_PRE( -[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then - AC_MSG_ERROR([[conditional "$1" was never defined. -Usually this means the macro was only invoked conditionally.]]) -fi])]) - -# Copyright (C) 1999-2018 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - - -# There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be -# written in clear, in which case automake, when reading aclocal.m4, -# will think it sees a *use*, and therefore will trigger all it's -# C support machinery. Also note that it means that autoscan, seeing -# CC etc. in the Makefile, will ask for an AC_PROG_CC use... - - -# _AM_DEPENDENCIES(NAME) -# ---------------------- -# See how the compiler implements dependency checking. -# NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC". -# We try a few techniques and use that to set a single cache variable. -# -# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was -# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular -# dependency, and given that the user is not expected to run this macro, -# just rely on AC_PROG_CC. -AC_DEFUN([_AM_DEPENDENCIES], -[AC_REQUIRE([AM_SET_DEPDIR])dnl -AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl -AC_REQUIRE([AM_MAKE_INCLUDE])dnl -AC_REQUIRE([AM_DEP_TRACK])dnl - -m4_if([$1], [CC], [depcc="$CC" am_compiler_list=], - [$1], [CXX], [depcc="$CXX" am_compiler_list=], - [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'], - [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'], - [$1], [UPC], [depcc="$UPC" am_compiler_list=], - [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'], - [depcc="$$1" am_compiler_list=]) - -AC_CACHE_CHECK([dependency style of $depcc], - [am_cv_$1_dependencies_compiler_type], -[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then - # We make a subdir and do the tests there. Otherwise we can end up - # making bogus files that we don't know about and never remove. For - # instance it was reported that on HP-UX the gcc test will end up - # making a dummy file named 'D' -- because '-MD' means "put the output - # in D". - rm -rf conftest.dir - mkdir conftest.dir - # Copy depcomp to subdir because otherwise we won't find it if we're - # using a relative directory. - cp "$am_depcomp" conftest.dir - cd conftest.dir - # We will build objects and dependencies in a subdirectory because - # it helps to detect inapplicable dependency modes. For instance - # both Tru64's cc and ICC support -MD to output dependencies as a - # side effect of compilation, but ICC will put the dependencies in - # the current directory while Tru64 will put them in the object - # directory. - mkdir sub - - am_cv_$1_dependencies_compiler_type=none - if test "$am_compiler_list" = ""; then - am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` - fi - am__universal=false - m4_case([$1], [CC], - [case " $depcc " in #( - *\ -arch\ *\ -arch\ *) am__universal=true ;; - esac], - [CXX], - [case " $depcc " in #( - *\ -arch\ *\ -arch\ *) am__universal=true ;; - esac]) - - for depmode in $am_compiler_list; do - # Setup a source with many dependencies, because some compilers - # like to wrap large dependency lists on column 80 (with \), and - # we should not choose a depcomp mode which is confused by this. - # - # We need to recreate these files for each test, as the compiler may - # overwrite some of them when testing with obscure command lines. - # This happens at least with the AIX C compiler. - : > sub/conftest.c - for i in 1 2 3 4 5 6; do - echo '#include "conftst'$i'.h"' >> sub/conftest.c - # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with - # Solaris 10 /bin/sh. - echo '/* dummy */' > sub/conftst$i.h - done - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf - - # We check with '-c' and '-o' for the sake of the "dashmstdout" - # mode. It turns out that the SunPro C++ compiler does not properly - # handle '-M -o', and we need to detect this. Also, some Intel - # versions had trouble with output in subdirs. - am__obj=sub/conftest.${OBJEXT-o} - am__minus_obj="-o $am__obj" - case $depmode in - gcc) - # This depmode causes a compiler race in universal mode. - test "$am__universal" = false || continue - ;; - nosideeffect) - # After this tag, mechanisms are not by side-effect, so they'll - # only be used when explicitly requested. - if test "x$enable_dependency_tracking" = xyes; then - continue - else - break - fi - ;; - msvc7 | msvc7msys | msvisualcpp | msvcmsys) - # This compiler won't grok '-c -o', but also, the minuso test has - # not run yet. These depmodes are late enough in the game, and - # so weak that their functioning should not be impacted. - am__obj=conftest.${OBJEXT-o} - am__minus_obj= - ;; - none) break ;; - esac - if depmode=$depmode \ - source=sub/conftest.c object=$am__obj \ - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ - $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ - >/dev/null 2>conftest.err && - grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && - grep $am__obj sub/conftest.Po > /dev/null 2>&1 && - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then - # icc doesn't choke on unknown options, it will just issue warnings - # or remarks (even with -Werror). So we grep stderr for any message - # that says an option was ignored or not supported. - # When given -MP, icc 7.0 and 7.1 complain thusly: - # icc: Command line warning: ignoring option '-M'; no argument required - # The diagnosis changed in icc 8.0: - # icc: Command line remark: option '-MP' not supported - if (grep 'ignoring option' conftest.err || - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else - am_cv_$1_dependencies_compiler_type=$depmode - break - fi - fi - done - - cd .. - rm -rf conftest.dir -else - am_cv_$1_dependencies_compiler_type=none -fi -]) -AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) -AM_CONDITIONAL([am__fastdep$1], [ - test "x$enable_dependency_tracking" != xno \ - && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) -]) - - -# AM_SET_DEPDIR -# ------------- -# Choose a directory name for dependency files. -# This macro is AC_REQUIREd in _AM_DEPENDENCIES. -AC_DEFUN([AM_SET_DEPDIR], -[AC_REQUIRE([AM_SET_LEADING_DOT])dnl -AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl -]) - - -# AM_DEP_TRACK -# ------------ -AC_DEFUN([AM_DEP_TRACK], -[AC_ARG_ENABLE([dependency-tracking], [dnl -AS_HELP_STRING( - [--enable-dependency-tracking], - [do not reject slow dependency extractors]) -AS_HELP_STRING( - [--disable-dependency-tracking], - [speeds up one-time build])]) -if test "x$enable_dependency_tracking" != xno; then - am_depcomp="$ac_aux_dir/depcomp" - AMDEPBACKSLASH='\' - am__nodep='_no' -fi -AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) -AC_SUBST([AMDEPBACKSLASH])dnl -_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl -AC_SUBST([am__nodep])dnl -_AM_SUBST_NOTMAKE([am__nodep])dnl -]) - -# Generate code to set up dependency tracking. -*- Autoconf -*- - -# Copyright (C) 1999-2018 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# _AM_OUTPUT_DEPENDENCY_COMMANDS -# ------------------------------ -AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], -[{ - # Older Autoconf quotes --file arguments for eval, but not when files - # are listed without --file. Let's play safe and only enable the eval - # if we detect the quoting. - # TODO: see whether this extra hack can be removed once we start - # requiring Autoconf 2.70 or later. - AS_CASE([$CONFIG_FILES], - [*\'*], [eval set x "$CONFIG_FILES"], - [*], [set x $CONFIG_FILES]) - shift - # Used to flag and report bootstrapping failures. - am_rc=0 - for am_mf - do - # Strip MF so we end up with the name of the file. - am_mf=`AS_ECHO(["$am_mf"]) | sed -e 's/:.*$//'` - # Check whether this is an Automake generated Makefile which includes - # dependency-tracking related rules and includes. - # Grep'ing the whole file directly is not great: AIX grep has a line - # limit of 2048, but all sed's we know have understand at least 4000. - sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ - || continue - am_dirpart=`AS_DIRNAME(["$am_mf"])` - am_filepart=`AS_BASENAME(["$am_mf"])` - AM_RUN_LOG([cd "$am_dirpart" \ - && sed -e '/# am--include-marker/d' "$am_filepart" \ - | $MAKE -f - am--depfiles]) || am_rc=$? - done - if test $am_rc -ne 0; then - AC_MSG_FAILURE([Something went wrong bootstrapping makefile fragments - for automatic dependency tracking. Try re-running configure with the - '--disable-dependency-tracking' option to at least be able to build - the package (albeit without support for automatic dependency tracking).]) - fi - AS_UNSET([am_dirpart]) - AS_UNSET([am_filepart]) - AS_UNSET([am_mf]) - AS_UNSET([am_rc]) - rm -f conftest-deps.mk -} -])# _AM_OUTPUT_DEPENDENCY_COMMANDS - - -# AM_OUTPUT_DEPENDENCY_COMMANDS -# ----------------------------- -# This macro should only be invoked once -- use via AC_REQUIRE. -# -# This code is only required when automatic dependency tracking is enabled. -# This creates each '.Po' and '.Plo' makefile fragment that we'll need in -# order to bootstrap the dependency handling code. -AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], -[AC_CONFIG_COMMANDS([depfiles], - [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], - [AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"])]) - -# Do all the work for Automake. -*- Autoconf -*- - -# Copyright (C) 1996-2018 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This macro actually does too much. Some checks are only needed if -# your package does certain things. But this isn't really a big deal. - -dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O. -m4_define([AC_PROG_CC], -m4_defn([AC_PROG_CC]) -[_AM_PROG_CC_C_O -]) - -# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) -# AM_INIT_AUTOMAKE([OPTIONS]) -# ----------------------------------------------- -# The call with PACKAGE and VERSION arguments is the old style -# call (pre autoconf-2.50), which is being phased out. PACKAGE -# and VERSION should now be passed to AC_INIT and removed from -# the call to AM_INIT_AUTOMAKE. -# We support both call styles for the transition. After -# the next Automake release, Autoconf can make the AC_INIT -# arguments mandatory, and then we can depend on a new Autoconf -# release and drop the old call support. -AC_DEFUN([AM_INIT_AUTOMAKE], -[AC_PREREQ([2.65])dnl -dnl Autoconf wants to disallow AM_ names. We explicitly allow -dnl the ones we care about. -m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl -AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl -AC_REQUIRE([AC_PROG_INSTALL])dnl -if test "`cd $srcdir && pwd`" != "`pwd`"; then - # Use -I$(srcdir) only when $(srcdir) != ., so that make's output - # is not polluted with repeated "-I." - AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl - # test to see if srcdir already configured - if test -f $srcdir/config.status; then - AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) - fi -fi - -# test whether we have cygpath -if test -z "$CYGPATH_W"; then - if (cygpath --version) >/dev/null 2>/dev/null; then - CYGPATH_W='cygpath -w' - else - CYGPATH_W=echo - fi -fi -AC_SUBST([CYGPATH_W]) - -# Define the identity of the package. -dnl Distinguish between old-style and new-style calls. -m4_ifval([$2], -[AC_DIAGNOSE([obsolete], - [$0: two- and three-arguments forms are deprecated.]) -m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl - AC_SUBST([PACKAGE], [$1])dnl - AC_SUBST([VERSION], [$2])], -[_AM_SET_OPTIONS([$1])dnl -dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. -m4_if( - m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]), - [ok:ok],, - [m4_fatal([AC_INIT should be called with package and version arguments])])dnl - AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl - AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl - -_AM_IF_OPTION([no-define],, -[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package]) - AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl - -# Some tools Automake needs. -AC_REQUIRE([AM_SANITY_CHECK])dnl -AC_REQUIRE([AC_ARG_PROGRAM])dnl -AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}]) -AM_MISSING_PROG([AUTOCONF], [autoconf]) -AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}]) -AM_MISSING_PROG([AUTOHEADER], [autoheader]) -AM_MISSING_PROG([MAKEINFO], [makeinfo]) -AC_REQUIRE([AM_PROG_INSTALL_SH])dnl -AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl -AC_REQUIRE([AC_PROG_MKDIR_P])dnl -# For better backward compatibility. To be removed once Automake 1.9.x -# dies out for good. For more background, see: -# -# -AC_SUBST([mkdir_p], ['$(MKDIR_P)']) -# We need awk for the "check" target (and possibly the TAP driver). The -# system "awk" is bad on some platforms. -AC_REQUIRE([AC_PROG_AWK])dnl -AC_REQUIRE([AC_PROG_MAKE_SET])dnl -AC_REQUIRE([AM_SET_LEADING_DOT])dnl -_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], - [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], - [_AM_PROG_TAR([v7])])]) -_AM_IF_OPTION([no-dependencies],, -[AC_PROVIDE_IFELSE([AC_PROG_CC], - [_AM_DEPENDENCIES([CC])], - [m4_define([AC_PROG_CC], - m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl -AC_PROVIDE_IFELSE([AC_PROG_CXX], - [_AM_DEPENDENCIES([CXX])], - [m4_define([AC_PROG_CXX], - m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl -AC_PROVIDE_IFELSE([AC_PROG_OBJC], - [_AM_DEPENDENCIES([OBJC])], - [m4_define([AC_PROG_OBJC], - m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl -AC_PROVIDE_IFELSE([AC_PROG_OBJCXX], - [_AM_DEPENDENCIES([OBJCXX])], - [m4_define([AC_PROG_OBJCXX], - m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl -]) -AC_REQUIRE([AM_SILENT_RULES])dnl -dnl The testsuite driver may need to know about EXEEXT, so add the -dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This -dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below. -AC_CONFIG_COMMANDS_PRE(dnl -[m4_provide_if([_AM_COMPILER_EXEEXT], - [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl - -# POSIX will say in a future version that running "rm -f" with no argument -# is OK; and we want to be able to make that assumption in our Makefile -# recipes. So use an aggressive probe to check that the usage we want is -# actually supported "in the wild" to an acceptable degree. -# See automake bug#10828. -# To make any issue more visible, cause the running configure to be aborted -# by default if the 'rm' program in use doesn't match our expectations; the -# user can still override this though. -if rm -f && rm -fr && rm -rf; then : OK; else - cat >&2 <<'END' -Oops! - -Your 'rm' program seems unable to run without file operands specified -on the command line, even when the '-f' option is present. This is contrary -to the behaviour of most rm programs out there, and not conforming with -the upcoming POSIX standard: - -Please tell bug-automake@gnu.org about your system, including the value -of your $PATH and any error possibly output before this message. This -can help us improve future automake versions. - -END - if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then - echo 'Configuration will proceed anyway, since you have set the' >&2 - echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 - echo >&2 - else - cat >&2 <<'END' -Aborting the configuration process, to ensure you take notice of the issue. - -You can download and install GNU coreutils to get an 'rm' implementation -that behaves properly: . - -If you want to complete the configuration process using your problematic -'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM -to "yes", and re-run configure. - -END - AC_MSG_ERROR([Your 'rm' program is bad, sorry.]) - fi -fi -dnl The trailing newline in this macro's definition is deliberate, for -dnl backward compatibility and to allow trailing 'dnl'-style comments -dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841. -]) - -dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not -dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further -dnl mangled by Autoconf and run in a shell conditional statement. -m4_define([_AC_COMPILER_EXEEXT], -m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) - -# When config.status generates a header, we must update the stamp-h file. -# This file resides in the same directory as the config header -# that is generated. The stamp files are numbered to have different names. - -# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the -# loop where config.status creates the headers, so we can generate -# our stamp files there. -AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], -[# Compute $1's index in $config_headers. -_am_arg=$1 -_am_stamp_count=1 -for _am_header in $config_headers :; do - case $_am_header in - $_am_arg | $_am_arg:* ) - break ;; - * ) - _am_stamp_count=`expr $_am_stamp_count + 1` ;; - esac -done -echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) - -# Copyright (C) 2001-2018 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# AM_PROG_INSTALL_SH -# ------------------ -# Define $install_sh. -AC_DEFUN([AM_PROG_INSTALL_SH], -[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl -if test x"${install_sh+set}" != xset; then - case $am_aux_dir in - *\ * | *\ *) - install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; - *) - install_sh="\${SHELL} $am_aux_dir/install-sh" - esac -fi -AC_SUBST([install_sh])]) - -# Copyright (C) 2003-2018 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# Check whether the underlying file-system supports filenames -# with a leading dot. For instance MS-DOS doesn't. -AC_DEFUN([AM_SET_LEADING_DOT], -[rm -rf .tst 2>/dev/null -mkdir .tst 2>/dev/null -if test -d .tst; then - am__leading_dot=. -else - am__leading_dot=_ -fi -rmdir .tst 2>/dev/null -AC_SUBST([am__leading_dot])]) - -# Check to see how 'make' treats includes. -*- Autoconf -*- - -# Copyright (C) 2001-2018 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# AM_MAKE_INCLUDE() -# ----------------- -# Check whether make has an 'include' directive that can support all -# the idioms we need for our automatic dependency tracking code. -AC_DEFUN([AM_MAKE_INCLUDE], -[AC_MSG_CHECKING([whether ${MAKE-make} supports the include directive]) -cat > confinc.mk << 'END' -am__doit: - @echo this is the am__doit target >confinc.out -.PHONY: am__doit -END -am__include="#" -am__quote= -# BSD make does it like this. -echo '.include "confinc.mk" # ignored' > confmf.BSD -# Other make implementations (GNU, Solaris 10, AIX) do it like this. -echo 'include confinc.mk # ignored' > confmf.GNU -_am_result=no -for s in GNU BSD; do - AM_RUN_LOG([${MAKE-make} -f confmf.$s && cat confinc.out]) - AS_CASE([$?:`cat confinc.out 2>/dev/null`], - ['0:this is the am__doit target'], - [AS_CASE([$s], - [BSD], [am__include='.include' am__quote='"'], - [am__include='include' am__quote=''])]) - if test "$am__include" != "#"; then - _am_result="yes ($s style)" - break - fi -done -rm -f confinc.* confmf.* -AC_MSG_RESULT([${_am_result}]) -AC_SUBST([am__include])]) -AC_SUBST([am__quote])]) - -# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- - -# Copyright (C) 1997-2018 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# AM_MISSING_PROG(NAME, PROGRAM) -# ------------------------------ -AC_DEFUN([AM_MISSING_PROG], -[AC_REQUIRE([AM_MISSING_HAS_RUN]) -$1=${$1-"${am_missing_run}$2"} -AC_SUBST($1)]) - -# AM_MISSING_HAS_RUN -# ------------------ -# Define MISSING if not defined so far and test if it is modern enough. -# If it is, set am_missing_run to use it, otherwise, to nothing. -AC_DEFUN([AM_MISSING_HAS_RUN], -[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl -AC_REQUIRE_AUX_FILE([missing])dnl -if test x"${MISSING+set}" != xset; then - case $am_aux_dir in - *\ * | *\ *) - MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; - *) - MISSING="\${SHELL} $am_aux_dir/missing" ;; - esac -fi -# Use eval to expand $SHELL -if eval "$MISSING --is-lightweight"; then - am_missing_run="$MISSING " -else - am_missing_run= - AC_MSG_WARN(['missing' script is too old or missing]) -fi -]) - -# Helper functions for option handling. -*- Autoconf -*- - -# Copyright (C) 2001-2018 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# _AM_MANGLE_OPTION(NAME) -# ----------------------- -AC_DEFUN([_AM_MANGLE_OPTION], -[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) - -# _AM_SET_OPTION(NAME) -# -------------------- -# Set option NAME. Presently that only means defining a flag for this option. -AC_DEFUN([_AM_SET_OPTION], -[m4_define(_AM_MANGLE_OPTION([$1]), [1])]) - -# _AM_SET_OPTIONS(OPTIONS) -# ------------------------ -# OPTIONS is a space-separated list of Automake options. -AC_DEFUN([_AM_SET_OPTIONS], -[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) - -# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) -# ------------------------------------------- -# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. -AC_DEFUN([_AM_IF_OPTION], -[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) - -# Copyright (C) 1999-2018 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# _AM_PROG_CC_C_O -# --------------- -# Like AC_PROG_CC_C_O, but changed for automake. We rewrite AC_PROG_CC -# to automatically call this. -AC_DEFUN([_AM_PROG_CC_C_O], -[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl -AC_REQUIRE_AUX_FILE([compile])dnl -AC_LANG_PUSH([C])dnl -AC_CACHE_CHECK( - [whether $CC understands -c and -o together], - [am_cv_prog_cc_c_o], - [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])]) - # Make sure it works both with $CC and with simple cc. - # Following AC_PROG_CC_C_O, we do the test twice because some - # compilers refuse to overwrite an existing .o file with -o, - # though they will create one. - am_cv_prog_cc_c_o=yes - for am_i in 1 2; do - if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \ - && test -f conftest2.$ac_objext; then - : OK - else - am_cv_prog_cc_c_o=no - break - fi - done - rm -f core conftest* - unset am_i]) -if test "$am_cv_prog_cc_c_o" != yes; then - # Losing compiler, so override with the script. - # FIXME: It is wrong to rewrite CC. - # But if we don't then we get into trouble of one sort or another. - # A longer-term fix would be to have automake use am__CC in this case, - # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" - CC="$am_aux_dir/compile $CC" -fi -AC_LANG_POP([C])]) - -# For backward compatibility. -AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])]) - -# Copyright (C) 2001-2018 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# AM_RUN_LOG(COMMAND) -# ------------------- -# Run COMMAND, save the exit status in ac_status, and log it. -# (This has been adapted from Autoconf's _AC_RUN_LOG macro.) -AC_DEFUN([AM_RUN_LOG], -[{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD - ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD - (exit $ac_status); }]) - -# Check to make sure that the build environment is sane. -*- Autoconf -*- - -# Copyright (C) 1996-2018 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# AM_SANITY_CHECK -# --------------- -AC_DEFUN([AM_SANITY_CHECK], -[AC_MSG_CHECKING([whether build environment is sane]) -# Reject unsafe characters in $srcdir or the absolute working directory -# name. Accept space and tab only in the latter. -am_lf=' -' -case `pwd` in - *[[\\\"\#\$\&\'\`$am_lf]]*) - AC_MSG_ERROR([unsafe absolute working directory name]);; -esac -case $srcdir in - *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) - AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);; -esac - -# Do 'set' in a subshell so we don't clobber the current shell's -# arguments. Must try -L first in case configure is actually a -# symlink; some systems play weird games with the mod time of symlinks -# (eg FreeBSD returns the mod time of the symlink's containing -# directory). -if ( - am_has_slept=no - for am_try in 1 2; do - echo "timestamp, slept: $am_has_slept" > conftest.file - set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` - if test "$[*]" = "X"; then - # -L didn't work. - set X `ls -t "$srcdir/configure" conftest.file` - fi - if test "$[*]" != "X $srcdir/configure conftest.file" \ - && test "$[*]" != "X conftest.file $srcdir/configure"; then - - # If neither matched, then we have a broken ls. This can happen - # if, for instance, CONFIG_SHELL is bash and it inherits a - # broken ls alias from the environment. This has actually - # happened. Such a system could not be considered "sane". - AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken - alias in your environment]) - fi - if test "$[2]" = conftest.file || test $am_try -eq 2; then - break - fi - # Just in case. - sleep 1 - am_has_slept=yes - done - test "$[2]" = conftest.file - ) -then - # Ok. - : -else - AC_MSG_ERROR([newly created file is older than distributed files! -Check your system clock]) -fi -AC_MSG_RESULT([yes]) -# If we didn't sleep, we still need to ensure time stamps of config.status and -# generated files are strictly newer. -am_sleep_pid= -if grep 'slept: no' conftest.file >/dev/null 2>&1; then - ( sleep 1 ) & - am_sleep_pid=$! -fi -AC_CONFIG_COMMANDS_PRE( - [AC_MSG_CHECKING([that generated files are newer than configure]) - if test -n "$am_sleep_pid"; then - # Hide warnings about reused PIDs. - wait $am_sleep_pid 2>/dev/null - fi - AC_MSG_RESULT([done])]) -rm -f conftest.file -]) - -# Copyright (C) 2009-2018 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# AM_SILENT_RULES([DEFAULT]) -# -------------------------- -# Enable less verbose build rules; with the default set to DEFAULT -# ("yes" being less verbose, "no" or empty being verbose). -AC_DEFUN([AM_SILENT_RULES], -[AC_ARG_ENABLE([silent-rules], [dnl -AS_HELP_STRING( - [--enable-silent-rules], - [less verbose build output (undo: "make V=1")]) -AS_HELP_STRING( - [--disable-silent-rules], - [verbose build output (undo: "make V=0")])dnl -]) -case $enable_silent_rules in @%:@ ((( - yes) AM_DEFAULT_VERBOSITY=0;; - no) AM_DEFAULT_VERBOSITY=1;; - *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);; -esac -dnl -dnl A few 'make' implementations (e.g., NonStop OS and NextStep) -dnl do not support nested variable expansions. -dnl See automake bug#9928 and bug#10237. -am_make=${MAKE-make} -AC_CACHE_CHECK([whether $am_make supports nested variables], - [am_cv_make_support_nested_variables], - [if AS_ECHO([['TRUE=$(BAR$(V)) -BAR0=false -BAR1=true -V=1 -am__doit: - @$(TRUE) -.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then - am_cv_make_support_nested_variables=yes -else - am_cv_make_support_nested_variables=no -fi]) -if test $am_cv_make_support_nested_variables = yes; then - dnl Using '$V' instead of '$(V)' breaks IRIX make. - AM_V='$(V)' - AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' -else - AM_V=$AM_DEFAULT_VERBOSITY - AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY -fi -AC_SUBST([AM_V])dnl -AM_SUBST_NOTMAKE([AM_V])dnl -AC_SUBST([AM_DEFAULT_V])dnl -AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl -AC_SUBST([AM_DEFAULT_VERBOSITY])dnl -AM_BACKSLASH='\' -AC_SUBST([AM_BACKSLASH])dnl -_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl -]) - -# Copyright (C) 2001-2018 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# AM_PROG_INSTALL_STRIP -# --------------------- -# One issue with vendor 'install' (even GNU) is that you can't -# specify the program used to strip binaries. This is especially -# annoying in cross-compiling environments, where the build's strip -# is unlikely to handle the host's binaries. -# Fortunately install-sh will honor a STRIPPROG variable, so we -# always use install-sh in "make install-strip", and initialize -# STRIPPROG with the value of the STRIP variable (set by the user). -AC_DEFUN([AM_PROG_INSTALL_STRIP], -[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl -# Installed binaries are usually stripped using 'strip' when the user -# run "make install-strip". However 'strip' might not be the right -# tool to use in cross-compilation environments, therefore Automake -# will honor the 'STRIP' environment variable to overrule this program. -dnl Don't test for $cross_compiling = yes, because it might be 'maybe'. -if test "$cross_compiling" != no; then - AC_CHECK_TOOL([STRIP], [strip], :) -fi -INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" -AC_SUBST([INSTALL_STRIP_PROGRAM])]) - -# Copyright (C) 2006-2018 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# _AM_SUBST_NOTMAKE(VARIABLE) -# --------------------------- -# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. -# This macro is traced by Automake. -AC_DEFUN([_AM_SUBST_NOTMAKE]) - -# AM_SUBST_NOTMAKE(VARIABLE) -# -------------------------- -# Public sister of _AM_SUBST_NOTMAKE. -AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) - -# Check how to create a tarball. -*- Autoconf -*- - -# Copyright (C) 2004-2018 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# _AM_PROG_TAR(FORMAT) -# -------------------- -# Check how to create a tarball in format FORMAT. -# FORMAT should be one of 'v7', 'ustar', or 'pax'. -# -# Substitute a variable $(am__tar) that is a command -# writing to stdout a FORMAT-tarball containing the directory -# $tardir. -# tardir=directory && $(am__tar) > result.tar -# -# Substitute a variable $(am__untar) that extract such -# a tarball read from stdin. -# $(am__untar) < result.tar -# -AC_DEFUN([_AM_PROG_TAR], -[# Always define AMTAR for backward compatibility. Yes, it's still used -# in the wild :-( We should find a proper way to deprecate it ... -AC_SUBST([AMTAR], ['$${TAR-tar}']) - -# We'll loop over all known methods to create a tar archive until one works. -_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' - -m4_if([$1], [v7], - [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], - - [m4_case([$1], - [ustar], - [# The POSIX 1988 'ustar' format is defined with fixed-size fields. - # There is notably a 21 bits limit for the UID and the GID. In fact, - # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 - # and bug#13588). - am_max_uid=2097151 # 2^21 - 1 - am_max_gid=$am_max_uid - # The $UID and $GID variables are not portable, so we need to resort - # to the POSIX-mandated id(1) utility. Errors in the 'id' calls - # below are definitely unexpected, so allow the users to see them - # (that is, avoid stderr redirection). - am_uid=`id -u || echo unknown` - am_gid=`id -g || echo unknown` - AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format]) - if test $am_uid -le $am_max_uid; then - AC_MSG_RESULT([yes]) - else - AC_MSG_RESULT([no]) - _am_tools=none - fi - AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format]) - if test $am_gid -le $am_max_gid; then - AC_MSG_RESULT([yes]) - else - AC_MSG_RESULT([no]) - _am_tools=none - fi], - - [pax], - [], - - [m4_fatal([Unknown tar format])]) - - AC_MSG_CHECKING([how to create a $1 tar archive]) - - # Go ahead even if we have the value already cached. We do so because we - # need to set the values for the 'am__tar' and 'am__untar' variables. - _am_tools=${am_cv_prog_tar_$1-$_am_tools} - - for _am_tool in $_am_tools; do - case $_am_tool in - gnutar) - for _am_tar in tar gnutar gtar; do - AM_RUN_LOG([$_am_tar --version]) && break - done - am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' - am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' - am__untar="$_am_tar -xf -" - ;; - plaintar) - # Must skip GNU tar: if it does not support --format= it doesn't create - # ustar tarball either. - (tar --version) >/dev/null 2>&1 && continue - am__tar='tar chf - "$$tardir"' - am__tar_='tar chf - "$tardir"' - am__untar='tar xf -' - ;; - pax) - am__tar='pax -L -x $1 -w "$$tardir"' - am__tar_='pax -L -x $1 -w "$tardir"' - am__untar='pax -r' - ;; - cpio) - am__tar='find "$$tardir" -print | cpio -o -H $1 -L' - am__tar_='find "$tardir" -print | cpio -o -H $1 -L' - am__untar='cpio -i -H $1 -d' - ;; - none) - am__tar=false - am__tar_=false - am__untar=false - ;; - esac - - # If the value was cached, stop now. We just wanted to have am__tar - # and am__untar set. - test -n "${am_cv_prog_tar_$1}" && break - - # tar/untar a dummy directory, and stop if the command works. - rm -rf conftest.dir - mkdir conftest.dir - echo GrepMe > conftest.dir/file - AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) - rm -rf conftest.dir - if test -s conftest.tar; then - AM_RUN_LOG([$am__untar /dev/null 2>&1 && break - fi - done - rm -rf conftest.dir - - AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) - AC_MSG_RESULT([$am_cv_prog_tar_$1])]) - -AC_SUBST([am__tar]) -AC_SUBST([am__untar]) -]) # _AM_PROG_TAR - -m4_include([m4/ax_check_link_flag.m4]) -m4_include([m4/ax_code_coverage.m4]) -m4_include([m4/ax_cxx_compile_stdcxx.m4]) -m4_include([m4/ax_pthread.m4]) -m4_include([m4/gtk-doc.m4]) -m4_include([m4/libtool.m4]) -m4_include([m4/ltoptions.m4]) -m4_include([m4/ltsugar.m4]) -m4_include([m4/ltversion.m4]) -m4_include([m4/lt~obsolete.m4]) diff --git a/harfbuzz/ar-lib b/harfbuzz/ar-lib deleted file mode 100755 index 0baa4f6..0000000 --- a/harfbuzz/ar-lib +++ /dev/null @@ -1,270 +0,0 @@ -#! /bin/sh -# Wrapper for Microsoft lib.exe - -me=ar-lib -scriptversion=2012-03-01.08; # UTC - -# Copyright (C) 2010-2018 Free Software Foundation, Inc. -# Written by Peter Rosin . -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . - -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - -# This file is maintained in Automake, please report -# bugs to or send patches to -# . - - -# func_error message -func_error () -{ - echo "$me: $1" 1>&2 - exit 1 -} - -file_conv= - -# func_file_conv build_file -# Convert a $build file to $host form and store it in $file -# Currently only supports Windows hosts. -func_file_conv () -{ - file=$1 - case $file in - / | /[!/]*) # absolute file, and not a UNC file - if test -z "$file_conv"; then - # lazily determine how to convert abs files - case `uname -s` in - MINGW*) - file_conv=mingw - ;; - CYGWIN*) - file_conv=cygwin - ;; - *) - file_conv=wine - ;; - esac - fi - case $file_conv in - mingw) - file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'` - ;; - cygwin) - file=`cygpath -m "$file" || echo "$file"` - ;; - wine) - file=`winepath -w "$file" || echo "$file"` - ;; - esac - ;; - esac -} - -# func_at_file at_file operation archive -# Iterate over all members in AT_FILE performing OPERATION on ARCHIVE -# for each of them. -# When interpreting the content of the @FILE, do NOT use func_file_conv, -# since the user would need to supply preconverted file names to -# binutils ar, at least for MinGW. -func_at_file () -{ - operation=$2 - archive=$3 - at_file_contents=`cat "$1"` - eval set x "$at_file_contents" - shift - - for member - do - $AR -NOLOGO $operation:"$member" "$archive" || exit $? - done -} - -case $1 in - '') - func_error "no command. Try '$0 --help' for more information." - ;; - -h | --h*) - cat <. -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . - -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - -# This file is maintained in Automake, please report -# bugs to or send patches to -# . - -nl=' -' - -# We need space, tab and new line, in precisely that order. Quoting is -# there to prevent tools from complaining about whitespace usage. -IFS=" "" $nl" - -file_conv= - -# func_file_conv build_file lazy -# Convert a $build file to $host form and store it in $file -# Currently only supports Windows hosts. If the determined conversion -# type is listed in (the comma separated) LAZY, no conversion will -# take place. -func_file_conv () -{ - file=$1 - case $file in - / | /[!/]*) # absolute file, and not a UNC file - if test -z "$file_conv"; then - # lazily determine how to convert abs files - case `uname -s` in - MINGW*) - file_conv=mingw - ;; - CYGWIN*) - file_conv=cygwin - ;; - *) - file_conv=wine - ;; - esac - fi - case $file_conv/,$2, in - *,$file_conv,*) - ;; - mingw/*) - file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'` - ;; - cygwin/*) - file=`cygpath -m "$file" || echo "$file"` - ;; - wine/*) - file=`winepath -w "$file" || echo "$file"` - ;; - esac - ;; - esac -} - -# func_cl_dashL linkdir -# Make cl look for libraries in LINKDIR -func_cl_dashL () -{ - func_file_conv "$1" - if test -z "$lib_path"; then - lib_path=$file - else - lib_path="$lib_path;$file" - fi - linker_opts="$linker_opts -LIBPATH:$file" -} - -# func_cl_dashl library -# Do a library search-path lookup for cl -func_cl_dashl () -{ - lib=$1 - found=no - save_IFS=$IFS - IFS=';' - for dir in $lib_path $LIB - do - IFS=$save_IFS - if $shared && test -f "$dir/$lib.dll.lib"; then - found=yes - lib=$dir/$lib.dll.lib - break - fi - if test -f "$dir/$lib.lib"; then - found=yes - lib=$dir/$lib.lib - break - fi - if test -f "$dir/lib$lib.a"; then - found=yes - lib=$dir/lib$lib.a - break - fi - done - IFS=$save_IFS - - if test "$found" != yes; then - lib=$lib.lib - fi -} - -# func_cl_wrapper cl arg... -# Adjust compile command to suit cl -func_cl_wrapper () -{ - # Assume a capable shell - lib_path= - shared=: - linker_opts= - for arg - do - if test -n "$eat"; then - eat= - else - case $1 in - -o) - # configure might choose to run compile as 'compile cc -o foo foo.c'. - eat=1 - case $2 in - *.o | *.[oO][bB][jJ]) - func_file_conv "$2" - set x "$@" -Fo"$file" - shift - ;; - *) - func_file_conv "$2" - set x "$@" -Fe"$file" - shift - ;; - esac - ;; - -I) - eat=1 - func_file_conv "$2" mingw - set x "$@" -I"$file" - shift - ;; - -I*) - func_file_conv "${1#-I}" mingw - set x "$@" -I"$file" - shift - ;; - -l) - eat=1 - func_cl_dashl "$2" - set x "$@" "$lib" - shift - ;; - -l*) - func_cl_dashl "${1#-l}" - set x "$@" "$lib" - shift - ;; - -L) - eat=1 - func_cl_dashL "$2" - ;; - -L*) - func_cl_dashL "${1#-L}" - ;; - -static) - shared=false - ;; - -Wl,*) - arg=${1#-Wl,} - save_ifs="$IFS"; IFS=',' - for flag in $arg; do - IFS="$save_ifs" - linker_opts="$linker_opts $flag" - done - IFS="$save_ifs" - ;; - -Xlinker) - eat=1 - linker_opts="$linker_opts $2" - ;; - -*) - set x "$@" "$1" - shift - ;; - *.cc | *.CC | *.cxx | *.CXX | *.[cC]++) - func_file_conv "$1" - set x "$@" -Tp"$file" - shift - ;; - *.c | *.cpp | *.CPP | *.lib | *.LIB | *.Lib | *.OBJ | *.obj | *.[oO]) - func_file_conv "$1" mingw - set x "$@" "$file" - shift - ;; - *) - set x "$@" "$1" - shift - ;; - esac - fi - shift - done - if test -n "$linker_opts"; then - linker_opts="-link$linker_opts" - fi - exec "$@" $linker_opts - exit 1 -} - -eat= - -case $1 in - '') - echo "$0: No command. Try '$0 --help' for more information." 1>&2 - exit 1; - ;; - -h | --h*) - cat <<\EOF -Usage: compile [--help] [--version] PROGRAM [ARGS] - -Wrapper for compilers which do not understand '-c -o'. -Remove '-o dest.o' from ARGS, run PROGRAM with the remaining -arguments, and rename the output as expected. - -If you are trying to build a whole package this is not the -right script to run: please start by reading the file 'INSTALL'. - -Report bugs to . -EOF - exit $? - ;; - -v | --v*) - echo "compile $scriptversion" - exit $? - ;; - cl | *[/\\]cl | cl.exe | *[/\\]cl.exe | \ - icl | *[/\\]icl | icl.exe | *[/\\]icl.exe ) - func_cl_wrapper "$@" # Doesn't return... - ;; -esac - -ofile= -cfile= - -for arg -do - if test -n "$eat"; then - eat= - else - case $1 in - -o) - # configure might choose to run compile as 'compile cc -o foo foo.c'. - # So we strip '-o arg' only if arg is an object. - eat=1 - case $2 in - *.o | *.obj) - ofile=$2 - ;; - *) - set x "$@" -o "$2" - shift - ;; - esac - ;; - *.c) - cfile=$1 - set x "$@" "$1" - shift - ;; - *) - set x "$@" "$1" - shift - ;; - esac - fi - shift -done - -if test -z "$ofile" || test -z "$cfile"; then - # If no '-o' option was seen then we might have been invoked from a - # pattern rule where we don't need one. That is ok -- this is a - # normal compilation that the losing compiler can handle. If no - # '.c' file was seen then we are probably linking. That is also - # ok. - exec "$@" -fi - -# Name of file we expect compiler to create. -cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'` - -# Create the lock directory. -# Note: use '[/\\:.-]' here to ensure that we don't use the same name -# that we are using for the .o file. Also, base the name on the expected -# object file name, since that is what matters with a parallel build. -lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d -while true; do - if mkdir "$lockdir" >/dev/null 2>&1; then - break - fi - sleep 1 -done -# FIXME: race condition here if user kills between mkdir and trap. -trap "rmdir '$lockdir'; exit 1" 1 2 15 - -# Run the compile. -"$@" -ret=$? - -if test -f "$cofile"; then - test "$cofile" = "$ofile" || mv "$cofile" "$ofile" -elif test -f "${cofile}bj"; then - test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile" -fi - -rmdir "$lockdir" -exit $ret - -# Local Variables: -# mode: shell-script -# sh-indentation: 2 -# eval: (add-hook 'before-save-hook 'time-stamp) -# time-stamp-start: "scriptversion=" -# time-stamp-format: "%:y-%02m-%02d.%02H" -# time-stamp-time-zone: "UTC0" -# time-stamp-end: "; # UTC" -# End: diff --git a/harfbuzz/config.guess b/harfbuzz/config.guess deleted file mode 100755 index f50dcdb..0000000 --- a/harfbuzz/config.guess +++ /dev/null @@ -1,1480 +0,0 @@ -#! /bin/sh -# Attempt to guess a canonical system name. -# Copyright 1992-2018 Free Software Foundation, Inc. - -timestamp='2018-02-24' - -# This file is free software; you can redistribute it and/or modify it -# under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, see . -# -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that -# program. This Exception is an additional permission under section 7 -# of the GNU General Public License, version 3 ("GPLv3"). -# -# Originally written by Per Bothner; maintained since 2000 by Ben Elliston. -# -# You can get the latest version of this script from: -# https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess -# -# Please send patches to . - - -me=`echo "$0" | sed -e 's,.*/,,'` - -usage="\ -Usage: $0 [OPTION] - -Output the configuration name of the system \`$me' is run on. - -Options: - -h, --help print this help, then exit - -t, --time-stamp print date of last modification, then exit - -v, --version print version number, then exit - -Report bugs and patches to ." - -version="\ -GNU config.guess ($timestamp) - -Originally written by Per Bothner. -Copyright 1992-2018 Free Software Foundation, Inc. - -This is free software; see the source for copying conditions. There is NO -warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." - -help=" -Try \`$me --help' for more information." - -# Parse command line -while test $# -gt 0 ; do - case $1 in - --time-stamp | --time* | -t ) - echo "$timestamp" ; exit ;; - --version | -v ) - echo "$version" ; exit ;; - --help | --h* | -h ) - echo "$usage"; exit ;; - -- ) # Stop option processing - shift; break ;; - - ) # Use stdin as input. - break ;; - -* ) - echo "$me: invalid option $1$help" >&2 - exit 1 ;; - * ) - break ;; - esac -done - -if test $# != 0; then - echo "$me: too many arguments$help" >&2 - exit 1 -fi - -trap 'exit 1' 1 2 15 - -# CC_FOR_BUILD -- compiler used by this script. Note that the use of a -# compiler to aid in system detection is discouraged as it requires -# temporary files to be created and, as you can see below, it is a -# headache to deal with in a portable fashion. - -# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still -# use `HOST_CC' if defined, but it is deprecated. - -# Portable tmp directory creation inspired by the Autoconf team. - -set_cc_for_build=' -trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; -trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; -: ${TMPDIR=/tmp} ; - { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || - { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || - { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || - { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; -dummy=$tmp/dummy ; -tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ; -case $CC_FOR_BUILD,$HOST_CC,$CC in - ,,) echo "int x;" > "$dummy.c" ; - for c in cc gcc c89 c99 ; do - if ($c -c -o "$dummy.o" "$dummy.c") >/dev/null 2>&1 ; then - CC_FOR_BUILD="$c"; break ; - fi ; - done ; - if test x"$CC_FOR_BUILD" = x ; then - CC_FOR_BUILD=no_compiler_found ; - fi - ;; - ,,*) CC_FOR_BUILD=$CC ;; - ,*,*) CC_FOR_BUILD=$HOST_CC ;; -esac ; set_cc_for_build= ;' - -# This is needed to find uname on a Pyramid OSx when run in the BSD universe. -# (ghazi@noc.rutgers.edu 1994-08-24) -if (test -f /.attbin/uname) >/dev/null 2>&1 ; then - PATH=$PATH:/.attbin ; export PATH -fi - -UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown -UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown -UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown -UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown - -case "$UNAME_SYSTEM" in -Linux|GNU|GNU/*) - # If the system lacks a compiler, then just pick glibc. - # We could probably try harder. - LIBC=gnu - - eval "$set_cc_for_build" - cat <<-EOF > "$dummy.c" - #include - #if defined(__UCLIBC__) - LIBC=uclibc - #elif defined(__dietlibc__) - LIBC=dietlibc - #else - LIBC=gnu - #endif - EOF - eval "`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^LIBC' | sed 's, ,,g'`" - - # If ldd exists, use it to detect musl libc. - if command -v ldd >/dev/null && \ - ldd --version 2>&1 | grep -q ^musl - then - LIBC=musl - fi - ;; -esac - -# Note: order is significant - the case branches are not exclusive. - -case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in - *:NetBSD:*:*) - # NetBSD (nbsd) targets should (where applicable) match one or - # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*, - # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently - # switched to ELF, *-*-netbsd* would select the old - # object file format. This provides both forward - # compatibility and a consistent mechanism for selecting the - # object file format. - # - # Note: NetBSD doesn't particularly care about the vendor - # portion of the name. We always set it to "unknown". - sysctl="sysctl -n hw.machine_arch" - UNAME_MACHINE_ARCH=`(uname -p 2>/dev/null || \ - "/sbin/$sysctl" 2>/dev/null || \ - "/usr/sbin/$sysctl" 2>/dev/null || \ - echo unknown)` - case "$UNAME_MACHINE_ARCH" in - armeb) machine=armeb-unknown ;; - arm*) machine=arm-unknown ;; - sh3el) machine=shl-unknown ;; - sh3eb) machine=sh-unknown ;; - sh5el) machine=sh5le-unknown ;; - earmv*) - arch=`echo "$UNAME_MACHINE_ARCH" | sed -e 's,^e\(armv[0-9]\).*$,\1,'` - endian=`echo "$UNAME_MACHINE_ARCH" | sed -ne 's,^.*\(eb\)$,\1,p'` - machine="${arch}${endian}"-unknown - ;; - *) machine="$UNAME_MACHINE_ARCH"-unknown ;; - esac - # The Operating System including object format, if it has switched - # to ELF recently (or will in the future) and ABI. - case "$UNAME_MACHINE_ARCH" in - earm*) - os=netbsdelf - ;; - arm*|i386|m68k|ns32k|sh3*|sparc|vax) - eval "$set_cc_for_build" - if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ - | grep -q __ELF__ - then - # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). - # Return netbsd for either. FIX? - os=netbsd - else - os=netbsdelf - fi - ;; - *) - os=netbsd - ;; - esac - # Determine ABI tags. - case "$UNAME_MACHINE_ARCH" in - earm*) - expr='s/^earmv[0-9]/-eabi/;s/eb$//' - abi=`echo "$UNAME_MACHINE_ARCH" | sed -e "$expr"` - ;; - esac - # The OS release - # Debian GNU/NetBSD machines have a different userland, and - # thus, need a distinct triplet. However, they do not need - # kernel version information, so it can be replaced with a - # suitable tag, in the style of linux-gnu. - case "$UNAME_VERSION" in - Debian*) - release='-gnu' - ;; - *) - release=`echo "$UNAME_RELEASE" | sed -e 's/[-_].*//' | cut -d. -f1,2` - ;; - esac - # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: - # contains redundant information, the shorter form: - # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. - echo "$machine-${os}${release}${abi}" - exit ;; - *:Bitrig:*:*) - UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'` - echo "$UNAME_MACHINE_ARCH"-unknown-bitrig"$UNAME_RELEASE" - exit ;; - *:OpenBSD:*:*) - UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` - echo "$UNAME_MACHINE_ARCH"-unknown-openbsd"$UNAME_RELEASE" - exit ;; - *:LibertyBSD:*:*) - UNAME_MACHINE_ARCH=`arch | sed 's/^.*BSD\.//'` - echo "$UNAME_MACHINE_ARCH"-unknown-libertybsd"$UNAME_RELEASE" - exit ;; - *:MidnightBSD:*:*) - echo "$UNAME_MACHINE"-unknown-midnightbsd"$UNAME_RELEASE" - exit ;; - *:ekkoBSD:*:*) - echo "$UNAME_MACHINE"-unknown-ekkobsd"$UNAME_RELEASE" - exit ;; - *:SolidBSD:*:*) - echo "$UNAME_MACHINE"-unknown-solidbsd"$UNAME_RELEASE" - exit ;; - macppc:MirBSD:*:*) - echo powerpc-unknown-mirbsd"$UNAME_RELEASE" - exit ;; - *:MirBSD:*:*) - echo "$UNAME_MACHINE"-unknown-mirbsd"$UNAME_RELEASE" - exit ;; - *:Sortix:*:*) - echo "$UNAME_MACHINE"-unknown-sortix - exit ;; - *:Redox:*:*) - echo "$UNAME_MACHINE"-unknown-redox - exit ;; - mips:OSF1:*.*) - echo mips-dec-osf1 - exit ;; - alpha:OSF1:*:*) - case $UNAME_RELEASE in - *4.0) - UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` - ;; - *5.*) - UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` - ;; - esac - # According to Compaq, /usr/sbin/psrinfo has been available on - # OSF/1 and Tru64 systems produced since 1995. I hope that - # covers most systems running today. This code pipes the CPU - # types through head -n 1, so we only detect the type of CPU 0. - ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` - case "$ALPHA_CPU_TYPE" in - "EV4 (21064)") - UNAME_MACHINE=alpha ;; - "EV4.5 (21064)") - UNAME_MACHINE=alpha ;; - "LCA4 (21066/21068)") - UNAME_MACHINE=alpha ;; - "EV5 (21164)") - UNAME_MACHINE=alphaev5 ;; - "EV5.6 (21164A)") - UNAME_MACHINE=alphaev56 ;; - "EV5.6 (21164PC)") - UNAME_MACHINE=alphapca56 ;; - "EV5.7 (21164PC)") - UNAME_MACHINE=alphapca57 ;; - "EV6 (21264)") - UNAME_MACHINE=alphaev6 ;; - "EV6.7 (21264A)") - UNAME_MACHINE=alphaev67 ;; - "EV6.8CB (21264C)") - UNAME_MACHINE=alphaev68 ;; - "EV6.8AL (21264B)") - UNAME_MACHINE=alphaev68 ;; - "EV6.8CX (21264D)") - UNAME_MACHINE=alphaev68 ;; - "EV6.9A (21264/EV69A)") - UNAME_MACHINE=alphaev69 ;; - "EV7 (21364)") - UNAME_MACHINE=alphaev7 ;; - "EV7.9 (21364A)") - UNAME_MACHINE=alphaev79 ;; - esac - # A Pn.n version is a patched version. - # A Vn.n version is a released version. - # A Tn.n version is a released field test version. - # A Xn.n version is an unreleased experimental baselevel. - # 1.2 uses "1.2" for uname -r. - echo "$UNAME_MACHINE"-dec-osf"`echo "$UNAME_RELEASE" | sed -e 's/^[PVTX]//' | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`" - # Reset EXIT trap before exiting to avoid spurious non-zero exit code. - exitcode=$? - trap '' 0 - exit $exitcode ;; - Amiga*:UNIX_System_V:4.0:*) - echo m68k-unknown-sysv4 - exit ;; - *:[Aa]miga[Oo][Ss]:*:*) - echo "$UNAME_MACHINE"-unknown-amigaos - exit ;; - *:[Mm]orph[Oo][Ss]:*:*) - echo "$UNAME_MACHINE"-unknown-morphos - exit ;; - *:OS/390:*:*) - echo i370-ibm-openedition - exit ;; - *:z/VM:*:*) - echo s390-ibm-zvmoe - exit ;; - *:OS400:*:*) - echo powerpc-ibm-os400 - exit ;; - arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) - echo arm-acorn-riscix"$UNAME_RELEASE" - exit ;; - arm*:riscos:*:*|arm*:RISCOS:*:*) - echo arm-unknown-riscos - exit ;; - SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) - echo hppa1.1-hitachi-hiuxmpp - exit ;; - Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) - # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. - if test "`(/bin/universe) 2>/dev/null`" = att ; then - echo pyramid-pyramid-sysv3 - else - echo pyramid-pyramid-bsd - fi - exit ;; - NILE*:*:*:dcosx) - echo pyramid-pyramid-svr4 - exit ;; - DRS?6000:unix:4.0:6*) - echo sparc-icl-nx6 - exit ;; - DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*) - case `/usr/bin/uname -p` in - sparc) echo sparc-icl-nx7; exit ;; - esac ;; - s390x:SunOS:*:*) - echo "$UNAME_MACHINE"-ibm-solaris2"`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`" - exit ;; - sun4H:SunOS:5.*:*) - echo sparc-hal-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`" - exit ;; - sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) - echo sparc-sun-solaris2"`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`" - exit ;; - i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*) - echo i386-pc-auroraux"$UNAME_RELEASE" - exit ;; - i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) - eval "$set_cc_for_build" - SUN_ARCH=i386 - # If there is a compiler, see if it is configured for 64-bit objects. - # Note that the Sun cc does not turn __LP64__ into 1 like gcc does. - # This test works for both compilers. - if [ "$CC_FOR_BUILD" != no_compiler_found ]; then - if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \ - (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ - grep IS_64BIT_ARCH >/dev/null - then - SUN_ARCH=x86_64 - fi - fi - echo "$SUN_ARCH"-pc-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`" - exit ;; - sun4*:SunOS:6*:*) - # According to config.sub, this is the proper way to canonicalize - # SunOS6. Hard to guess exactly what SunOS6 will be like, but - # it's likely to be more like Solaris than SunOS4. - echo sparc-sun-solaris3"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`" - exit ;; - sun4*:SunOS:*:*) - case "`/usr/bin/arch -k`" in - Series*|S4*) - UNAME_RELEASE=`uname -v` - ;; - esac - # Japanese Language versions have a version number like `4.1.3-JL'. - echo sparc-sun-sunos"`echo "$UNAME_RELEASE"|sed -e 's/-/_/'`" - exit ;; - sun3*:SunOS:*:*) - echo m68k-sun-sunos"$UNAME_RELEASE" - exit ;; - sun*:*:4.2BSD:*) - UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` - test "x$UNAME_RELEASE" = x && UNAME_RELEASE=3 - case "`/bin/arch`" in - sun3) - echo m68k-sun-sunos"$UNAME_RELEASE" - ;; - sun4) - echo sparc-sun-sunos"$UNAME_RELEASE" - ;; - esac - exit ;; - aushp:SunOS:*:*) - echo sparc-auspex-sunos"$UNAME_RELEASE" - exit ;; - # The situation for MiNT is a little confusing. The machine name - # can be virtually everything (everything which is not - # "atarist" or "atariste" at least should have a processor - # > m68000). The system name ranges from "MiNT" over "FreeMiNT" - # to the lowercase version "mint" (or "freemint"). Finally - # the system name "TOS" denotes a system which is actually not - # MiNT. But MiNT is downward compatible to TOS, so this should - # be no problem. - atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) - echo m68k-atari-mint"$UNAME_RELEASE" - exit ;; - atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) - echo m68k-atari-mint"$UNAME_RELEASE" - exit ;; - *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) - echo m68k-atari-mint"$UNAME_RELEASE" - exit ;; - milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) - echo m68k-milan-mint"$UNAME_RELEASE" - exit ;; - hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) - echo m68k-hades-mint"$UNAME_RELEASE" - exit ;; - *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) - echo m68k-unknown-mint"$UNAME_RELEASE" - exit ;; - m68k:machten:*:*) - echo m68k-apple-machten"$UNAME_RELEASE" - exit ;; - powerpc:machten:*:*) - echo powerpc-apple-machten"$UNAME_RELEASE" - exit ;; - RISC*:Mach:*:*) - echo mips-dec-mach_bsd4.3 - exit ;; - RISC*:ULTRIX:*:*) - echo mips-dec-ultrix"$UNAME_RELEASE" - exit ;; - VAX*:ULTRIX*:*:*) - echo vax-dec-ultrix"$UNAME_RELEASE" - exit ;; - 2020:CLIX:*:* | 2430:CLIX:*:*) - echo clipper-intergraph-clix"$UNAME_RELEASE" - exit ;; - mips:*:*:UMIPS | mips:*:*:RISCos) - eval "$set_cc_for_build" - sed 's/^ //' << EOF > "$dummy.c" -#ifdef __cplusplus -#include /* for printf() prototype */ - int main (int argc, char *argv[]) { -#else - int main (argc, argv) int argc; char *argv[]; { -#endif - #if defined (host_mips) && defined (MIPSEB) - #if defined (SYSTYPE_SYSV) - printf ("mips-mips-riscos%ssysv\\n", argv[1]); exit (0); - #endif - #if defined (SYSTYPE_SVR4) - printf ("mips-mips-riscos%ssvr4\\n", argv[1]); exit (0); - #endif - #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD) - printf ("mips-mips-riscos%sbsd\\n", argv[1]); exit (0); - #endif - #endif - exit (-1); - } -EOF - $CC_FOR_BUILD -o "$dummy" "$dummy.c" && - dummyarg=`echo "$UNAME_RELEASE" | sed -n 's/\([0-9]*\).*/\1/p'` && - SYSTEM_NAME=`"$dummy" "$dummyarg"` && - { echo "$SYSTEM_NAME"; exit; } - echo mips-mips-riscos"$UNAME_RELEASE" - exit ;; - Motorola:PowerMAX_OS:*:*) - echo powerpc-motorola-powermax - exit ;; - Motorola:*:4.3:PL8-*) - echo powerpc-harris-powermax - exit ;; - Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) - echo powerpc-harris-powermax - exit ;; - Night_Hawk:Power_UNIX:*:*) - echo powerpc-harris-powerunix - exit ;; - m88k:CX/UX:7*:*) - echo m88k-harris-cxux7 - exit ;; - m88k:*:4*:R4*) - echo m88k-motorola-sysv4 - exit ;; - m88k:*:3*:R3*) - echo m88k-motorola-sysv3 - exit ;; - AViiON:dgux:*:*) - # DG/UX returns AViiON for all architectures - UNAME_PROCESSOR=`/usr/bin/uname -p` - if [ "$UNAME_PROCESSOR" = mc88100 ] || [ "$UNAME_PROCESSOR" = mc88110 ] - then - if [ "$TARGET_BINARY_INTERFACE"x = m88kdguxelfx ] || \ - [ "$TARGET_BINARY_INTERFACE"x = x ] - then - echo m88k-dg-dgux"$UNAME_RELEASE" - else - echo m88k-dg-dguxbcs"$UNAME_RELEASE" - fi - else - echo i586-dg-dgux"$UNAME_RELEASE" - fi - exit ;; - M88*:DolphinOS:*:*) # DolphinOS (SVR3) - echo m88k-dolphin-sysv3 - exit ;; - M88*:*:R3*:*) - # Delta 88k system running SVR3 - echo m88k-motorola-sysv3 - exit ;; - XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) - echo m88k-tektronix-sysv3 - exit ;; - Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) - echo m68k-tektronix-bsd - exit ;; - *:IRIX*:*:*) - echo mips-sgi-irix"`echo "$UNAME_RELEASE"|sed -e 's/-/_/g'`" - exit ;; - ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. - echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id - exit ;; # Note that: echo "'`uname -s`'" gives 'AIX ' - i*86:AIX:*:*) - echo i386-ibm-aix - exit ;; - ia64:AIX:*:*) - if [ -x /usr/bin/oslevel ] ; then - IBM_REV=`/usr/bin/oslevel` - else - IBM_REV="$UNAME_VERSION.$UNAME_RELEASE" - fi - echo "$UNAME_MACHINE"-ibm-aix"$IBM_REV" - exit ;; - *:AIX:2:3) - if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then - eval "$set_cc_for_build" - sed 's/^ //' << EOF > "$dummy.c" - #include - - main() - { - if (!__power_pc()) - exit(1); - puts("powerpc-ibm-aix3.2.5"); - exit(0); - } -EOF - if $CC_FOR_BUILD -o "$dummy" "$dummy.c" && SYSTEM_NAME=`"$dummy"` - then - echo "$SYSTEM_NAME" - else - echo rs6000-ibm-aix3.2.5 - fi - elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then - echo rs6000-ibm-aix3.2.4 - else - echo rs6000-ibm-aix3.2 - fi - exit ;; - *:AIX:*:[4567]) - IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` - if /usr/sbin/lsattr -El "$IBM_CPU_ID" | grep ' POWER' >/dev/null 2>&1; then - IBM_ARCH=rs6000 - else - IBM_ARCH=powerpc - fi - if [ -x /usr/bin/lslpp ] ; then - IBM_REV=`/usr/bin/lslpp -Lqc bos.rte.libc | - awk -F: '{ print $3 }' | sed s/[0-9]*$/0/` - else - IBM_REV="$UNAME_VERSION.$UNAME_RELEASE" - fi - echo "$IBM_ARCH"-ibm-aix"$IBM_REV" - exit ;; - *:AIX:*:*) - echo rs6000-ibm-aix - exit ;; - ibmrt:4.4BSD:*|romp-ibm:4.4BSD:*) - echo romp-ibm-bsd4.4 - exit ;; - ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and - echo romp-ibm-bsd"$UNAME_RELEASE" # 4.3 with uname added to - exit ;; # report: romp-ibm BSD 4.3 - *:BOSX:*:*) - echo rs6000-bull-bosx - exit ;; - DPX/2?00:B.O.S.:*:*) - echo m68k-bull-sysv3 - exit ;; - 9000/[34]??:4.3bsd:1.*:*) - echo m68k-hp-bsd - exit ;; - hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) - echo m68k-hp-bsd4.4 - exit ;; - 9000/[34678]??:HP-UX:*:*) - HPUX_REV=`echo "$UNAME_RELEASE"|sed -e 's/[^.]*.[0B]*//'` - case "$UNAME_MACHINE" in - 9000/31?) HP_ARCH=m68000 ;; - 9000/[34]??) HP_ARCH=m68k ;; - 9000/[678][0-9][0-9]) - if [ -x /usr/bin/getconf ]; then - sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` - sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` - case "$sc_cpu_version" in - 523) HP_ARCH=hppa1.0 ;; # CPU_PA_RISC1_0 - 528) HP_ARCH=hppa1.1 ;; # CPU_PA_RISC1_1 - 532) # CPU_PA_RISC2_0 - case "$sc_kernel_bits" in - 32) HP_ARCH=hppa2.0n ;; - 64) HP_ARCH=hppa2.0w ;; - '') HP_ARCH=hppa2.0 ;; # HP-UX 10.20 - esac ;; - esac - fi - if [ "$HP_ARCH" = "" ]; then - eval "$set_cc_for_build" - sed 's/^ //' << EOF > "$dummy.c" - - #define _HPUX_SOURCE - #include - #include - - int main () - { - #if defined(_SC_KERNEL_BITS) - long bits = sysconf(_SC_KERNEL_BITS); - #endif - long cpu = sysconf (_SC_CPU_VERSION); - - switch (cpu) - { - case CPU_PA_RISC1_0: puts ("hppa1.0"); break; - case CPU_PA_RISC1_1: puts ("hppa1.1"); break; - case CPU_PA_RISC2_0: - #if defined(_SC_KERNEL_BITS) - switch (bits) - { - case 64: puts ("hppa2.0w"); break; - case 32: puts ("hppa2.0n"); break; - default: puts ("hppa2.0"); break; - } break; - #else /* !defined(_SC_KERNEL_BITS) */ - puts ("hppa2.0"); break; - #endif - default: puts ("hppa1.0"); break; - } - exit (0); - } -EOF - (CCOPTS="" $CC_FOR_BUILD -o "$dummy" "$dummy.c" 2>/dev/null) && HP_ARCH=`"$dummy"` - test -z "$HP_ARCH" && HP_ARCH=hppa - fi ;; - esac - if [ "$HP_ARCH" = hppa2.0w ] - then - eval "$set_cc_for_build" - - # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating - # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler - # generating 64-bit code. GNU and HP use different nomenclature: - # - # $ CC_FOR_BUILD=cc ./config.guess - # => hppa2.0w-hp-hpux11.23 - # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess - # => hppa64-hp-hpux11.23 - - if echo __LP64__ | (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | - grep -q __LP64__ - then - HP_ARCH=hppa2.0w - else - HP_ARCH=hppa64 - fi - fi - echo "$HP_ARCH"-hp-hpux"$HPUX_REV" - exit ;; - ia64:HP-UX:*:*) - HPUX_REV=`echo "$UNAME_RELEASE"|sed -e 's/[^.]*.[0B]*//'` - echo ia64-hp-hpux"$HPUX_REV" - exit ;; - 3050*:HI-UX:*:*) - eval "$set_cc_for_build" - sed 's/^ //' << EOF > "$dummy.c" - #include - int - main () - { - long cpu = sysconf (_SC_CPU_VERSION); - /* The order matters, because CPU_IS_HP_MC68K erroneously returns - true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct - results, however. */ - if (CPU_IS_PA_RISC (cpu)) - { - switch (cpu) - { - case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break; - case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break; - case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break; - default: puts ("hppa-hitachi-hiuxwe2"); break; - } - } - else if (CPU_IS_HP_MC68K (cpu)) - puts ("m68k-hitachi-hiuxwe2"); - else puts ("unknown-hitachi-hiuxwe2"); - exit (0); - } -EOF - $CC_FOR_BUILD -o "$dummy" "$dummy.c" && SYSTEM_NAME=`"$dummy"` && - { echo "$SYSTEM_NAME"; exit; } - echo unknown-hitachi-hiuxwe2 - exit ;; - 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:*) - echo hppa1.1-hp-bsd - exit ;; - 9000/8??:4.3bsd:*:*) - echo hppa1.0-hp-bsd - exit ;; - *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) - echo hppa1.0-hp-mpeix - exit ;; - hp7??:OSF1:*:* | hp8?[79]:OSF1:*:*) - echo hppa1.1-hp-osf - exit ;; - hp8??:OSF1:*:*) - echo hppa1.0-hp-osf - exit ;; - i*86:OSF1:*:*) - if [ -x /usr/sbin/sysversion ] ; then - echo "$UNAME_MACHINE"-unknown-osf1mk - else - echo "$UNAME_MACHINE"-unknown-osf1 - fi - exit ;; - parisc*:Lites*:*:*) - echo hppa1.1-hp-lites - exit ;; - C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) - echo c1-convex-bsd - exit ;; - C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) - if getsysinfo -f scalar_acc - then echo c32-convex-bsd - else echo c2-convex-bsd - fi - exit ;; - C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) - echo c34-convex-bsd - exit ;; - C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) - echo c38-convex-bsd - exit ;; - C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) - echo c4-convex-bsd - exit ;; - CRAY*Y-MP:*:*:*) - echo ymp-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/' - exit ;; - CRAY*[A-Z]90:*:*:*) - echo "$UNAME_MACHINE"-cray-unicos"$UNAME_RELEASE" \ - | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ - -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ - -e 's/\.[^.]*$/.X/' - exit ;; - CRAY*TS:*:*:*) - echo t90-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/' - exit ;; - CRAY*T3E:*:*:*) - echo alphaev5-cray-unicosmk"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/' - exit ;; - CRAY*SV1:*:*:*) - echo sv1-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/' - exit ;; - *:UNICOS/mp:*:*) - echo craynv-cray-unicosmp"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/' - exit ;; - F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) - FUJITSU_PROC=`uname -m | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz` - FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'` - FUJITSU_REL=`echo "$UNAME_RELEASE" | sed -e 's/ /_/'` - echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" - exit ;; - 5000:UNIX_System_V:4.*:*) - FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'` - FUJITSU_REL=`echo "$UNAME_RELEASE" | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/ /_/'` - echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" - exit ;; - i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) - echo "$UNAME_MACHINE"-pc-bsdi"$UNAME_RELEASE" - exit ;; - sparc*:BSD/OS:*:*) - echo sparc-unknown-bsdi"$UNAME_RELEASE" - exit ;; - *:BSD/OS:*:*) - echo "$UNAME_MACHINE"-unknown-bsdi"$UNAME_RELEASE" - exit ;; - *:FreeBSD:*:*) - UNAME_PROCESSOR=`/usr/bin/uname -p` - case "$UNAME_PROCESSOR" in - amd64) - UNAME_PROCESSOR=x86_64 ;; - i386) - UNAME_PROCESSOR=i586 ;; - esac - echo "$UNAME_PROCESSOR"-unknown-freebsd"`echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`" - exit ;; - i*:CYGWIN*:*) - echo "$UNAME_MACHINE"-pc-cygwin - exit ;; - *:MINGW64*:*) - echo "$UNAME_MACHINE"-pc-mingw64 - exit ;; - *:MINGW*:*) - echo "$UNAME_MACHINE"-pc-mingw32 - exit ;; - *:MSYS*:*) - echo "$UNAME_MACHINE"-pc-msys - exit ;; - i*:PW*:*) - echo "$UNAME_MACHINE"-pc-pw32 - exit ;; - *:Interix*:*) - case "$UNAME_MACHINE" in - x86) - echo i586-pc-interix"$UNAME_RELEASE" - exit ;; - authenticamd | genuineintel | EM64T) - echo x86_64-unknown-interix"$UNAME_RELEASE" - exit ;; - IA64) - echo ia64-unknown-interix"$UNAME_RELEASE" - exit ;; - esac ;; - i*:UWIN*:*) - echo "$UNAME_MACHINE"-pc-uwin - exit ;; - amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) - echo x86_64-unknown-cygwin - exit ;; - prep*:SunOS:5.*:*) - echo powerpcle-unknown-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`" - exit ;; - *:GNU:*:*) - # the GNU system - echo "`echo "$UNAME_MACHINE"|sed -e 's,[-/].*$,,'`-unknown-$LIBC`echo "$UNAME_RELEASE"|sed -e 's,/.*$,,'`" - exit ;; - *:GNU/*:*:*) - # other systems with GNU libc and userland - echo "$UNAME_MACHINE-unknown-`echo "$UNAME_SYSTEM" | sed 's,^[^/]*/,,' | tr "[:upper:]" "[:lower:]"``echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`-$LIBC" - exit ;; - i*86:Minix:*:*) - echo "$UNAME_MACHINE"-pc-minix - exit ;; - aarch64:Linux:*:*) - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" - exit ;; - aarch64_be:Linux:*:*) - UNAME_MACHINE=aarch64_be - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" - exit ;; - alpha:Linux:*:*) - case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in - EV5) UNAME_MACHINE=alphaev5 ;; - EV56) UNAME_MACHINE=alphaev56 ;; - PCA56) UNAME_MACHINE=alphapca56 ;; - PCA57) UNAME_MACHINE=alphapca56 ;; - EV6) UNAME_MACHINE=alphaev6 ;; - EV67) UNAME_MACHINE=alphaev67 ;; - EV68*) UNAME_MACHINE=alphaev68 ;; - esac - objdump --private-headers /bin/sh | grep -q ld.so.1 - if test "$?" = 0 ; then LIBC=gnulibc1 ; fi - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" - exit ;; - arc:Linux:*:* | arceb:Linux:*:*) - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" - exit ;; - arm*:Linux:*:*) - eval "$set_cc_for_build" - if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ - | grep -q __ARM_EABI__ - then - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" - else - if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \ - | grep -q __ARM_PCS_VFP - then - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"eabi - else - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"eabihf - fi - fi - exit ;; - avr32*:Linux:*:*) - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" - exit ;; - cris:Linux:*:*) - echo "$UNAME_MACHINE"-axis-linux-"$LIBC" - exit ;; - crisv32:Linux:*:*) - echo "$UNAME_MACHINE"-axis-linux-"$LIBC" - exit ;; - e2k:Linux:*:*) - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" - exit ;; - frv:Linux:*:*) - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" - exit ;; - hexagon:Linux:*:*) - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" - exit ;; - i*86:Linux:*:*) - echo "$UNAME_MACHINE"-pc-linux-"$LIBC" - exit ;; - ia64:Linux:*:*) - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" - exit ;; - k1om:Linux:*:*) - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" - exit ;; - m32r*:Linux:*:*) - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" - exit ;; - m68*:Linux:*:*) - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" - exit ;; - mips:Linux:*:* | mips64:Linux:*:*) - eval "$set_cc_for_build" - sed 's/^ //' << EOF > "$dummy.c" - #undef CPU - #undef ${UNAME_MACHINE} - #undef ${UNAME_MACHINE}el - #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) - CPU=${UNAME_MACHINE}el - #else - #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) - CPU=${UNAME_MACHINE} - #else - CPU= - #endif - #endif -EOF - eval "`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^CPU'`" - test "x$CPU" != x && { echo "$CPU-unknown-linux-$LIBC"; exit; } - ;; - mips64el:Linux:*:*) - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" - exit ;; - openrisc*:Linux:*:*) - echo or1k-unknown-linux-"$LIBC" - exit ;; - or32:Linux:*:* | or1k*:Linux:*:*) - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" - exit ;; - padre:Linux:*:*) - echo sparc-unknown-linux-"$LIBC" - exit ;; - parisc64:Linux:*:* | hppa64:Linux:*:*) - echo hppa64-unknown-linux-"$LIBC" - exit ;; - parisc:Linux:*:* | hppa:Linux:*:*) - # Look for CPU level - case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in - PA7*) echo hppa1.1-unknown-linux-"$LIBC" ;; - PA8*) echo hppa2.0-unknown-linux-"$LIBC" ;; - *) echo hppa-unknown-linux-"$LIBC" ;; - esac - exit ;; - ppc64:Linux:*:*) - echo powerpc64-unknown-linux-"$LIBC" - exit ;; - ppc:Linux:*:*) - echo powerpc-unknown-linux-"$LIBC" - exit ;; - ppc64le:Linux:*:*) - echo powerpc64le-unknown-linux-"$LIBC" - exit ;; - ppcle:Linux:*:*) - echo powerpcle-unknown-linux-"$LIBC" - exit ;; - riscv32:Linux:*:* | riscv64:Linux:*:*) - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" - exit ;; - s390:Linux:*:* | s390x:Linux:*:*) - echo "$UNAME_MACHINE"-ibm-linux-"$LIBC" - exit ;; - sh64*:Linux:*:*) - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" - exit ;; - sh*:Linux:*:*) - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" - exit ;; - sparc:Linux:*:* | sparc64:Linux:*:*) - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" - exit ;; - tile*:Linux:*:*) - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" - exit ;; - vax:Linux:*:*) - echo "$UNAME_MACHINE"-dec-linux-"$LIBC" - exit ;; - x86_64:Linux:*:*) - if objdump -f /bin/sh | grep -q elf32-x86-64; then - echo "$UNAME_MACHINE"-pc-linux-"$LIBC"x32 - else - echo "$UNAME_MACHINE"-pc-linux-"$LIBC" - fi - exit ;; - xtensa*:Linux:*:*) - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" - exit ;; - i*86:DYNIX/ptx:4*:*) - # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. - # earlier versions are messed up and put the nodename in both - # sysname and nodename. - echo i386-sequent-sysv4 - exit ;; - i*86:UNIX_SV:4.2MP:2.*) - # Unixware is an offshoot of SVR4, but it has its own version - # number series starting with 2... - # I am not positive that other SVR4 systems won't match this, - # I just have to hope. -- rms. - # Use sysv4.2uw... so that sysv4* matches it. - echo "$UNAME_MACHINE"-pc-sysv4.2uw"$UNAME_VERSION" - exit ;; - i*86:OS/2:*:*) - # If we were able to find `uname', then EMX Unix compatibility - # is probably installed. - echo "$UNAME_MACHINE"-pc-os2-emx - exit ;; - i*86:XTS-300:*:STOP) - echo "$UNAME_MACHINE"-unknown-stop - exit ;; - i*86:atheos:*:*) - echo "$UNAME_MACHINE"-unknown-atheos - exit ;; - i*86:syllable:*:*) - echo "$UNAME_MACHINE"-pc-syllable - exit ;; - i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*) - echo i386-unknown-lynxos"$UNAME_RELEASE" - exit ;; - i*86:*DOS:*:*) - echo "$UNAME_MACHINE"-pc-msdosdjgpp - exit ;; - i*86:*:4.*:*) - UNAME_REL=`echo "$UNAME_RELEASE" | sed 's/\/MP$//'` - if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then - echo "$UNAME_MACHINE"-univel-sysv"$UNAME_REL" - else - echo "$UNAME_MACHINE"-pc-sysv"$UNAME_REL" - fi - exit ;; - i*86:*:5:[678]*) - # UnixWare 7.x, OpenUNIX and OpenServer 6. - case `/bin/uname -X | grep "^Machine"` in - *486*) UNAME_MACHINE=i486 ;; - *Pentium) UNAME_MACHINE=i586 ;; - *Pent*|*Celeron) UNAME_MACHINE=i686 ;; - esac - echo "$UNAME_MACHINE-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}{$UNAME_VERSION}" - exit ;; - i*86:*:3.2:*) - if test -f /usr/options/cb.name; then - UNAME_REL=`sed -n 's/.*Version //p' /dev/null >/dev/null ; then - UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` - (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 - (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \ - && UNAME_MACHINE=i586 - (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \ - && UNAME_MACHINE=i686 - (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ - && UNAME_MACHINE=i686 - echo "$UNAME_MACHINE"-pc-sco"$UNAME_REL" - else - echo "$UNAME_MACHINE"-pc-sysv32 - fi - exit ;; - pc:*:*:*) - # Left here for compatibility: - # uname -m prints for DJGPP always 'pc', but it prints nothing about - # the processor, so we play safe by assuming i586. - # Note: whatever this is, it MUST be the same as what config.sub - # prints for the "djgpp" host, or else GDB configure will decide that - # this is a cross-build. - echo i586-pc-msdosdjgpp - exit ;; - Intel:Mach:3*:*) - echo i386-pc-mach3 - exit ;; - paragon:*:*:*) - echo i860-intel-osf1 - exit ;; - i860:*:4.*:*) # i860-SVR4 - if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then - echo i860-stardent-sysv"$UNAME_RELEASE" # Stardent Vistra i860-SVR4 - else # Add other i860-SVR4 vendors below as they are discovered. - echo i860-unknown-sysv"$UNAME_RELEASE" # Unknown i860-SVR4 - fi - exit ;; - mini*:CTIX:SYS*5:*) - # "miniframe" - echo m68010-convergent-sysv - exit ;; - mc68k:UNIX:SYSTEM5:3.51m) - echo m68k-convergent-sysv - exit ;; - M680?0:D-NIX:5.3:*) - echo m68k-diab-dnix - exit ;; - M68*:*:R3V[5678]*:*) - test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;; - 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0) - OS_REL='' - test -r /etc/.relid \ - && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` - /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ - && { echo i486-ncr-sysv4.3"$OS_REL"; exit; } - /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ - && { echo i586-ncr-sysv4.3"$OS_REL"; exit; } ;; - 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) - /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ - && { echo i486-ncr-sysv4; exit; } ;; - NCR*:*:4.2:* | MPRAS*:*:4.2:*) - OS_REL='.3' - test -r /etc/.relid \ - && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` - /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ - && { echo i486-ncr-sysv4.3"$OS_REL"; exit; } - /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ - && { echo i586-ncr-sysv4.3"$OS_REL"; exit; } - /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \ - && { echo i586-ncr-sysv4.3"$OS_REL"; exit; } ;; - m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) - echo m68k-unknown-lynxos"$UNAME_RELEASE" - exit ;; - mc68030:UNIX_System_V:4.*:*) - echo m68k-atari-sysv4 - exit ;; - TSUNAMI:LynxOS:2.*:*) - echo sparc-unknown-lynxos"$UNAME_RELEASE" - exit ;; - rs6000:LynxOS:2.*:*) - echo rs6000-unknown-lynxos"$UNAME_RELEASE" - exit ;; - PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*) - echo powerpc-unknown-lynxos"$UNAME_RELEASE" - exit ;; - SM[BE]S:UNIX_SV:*:*) - echo mips-dde-sysv"$UNAME_RELEASE" - exit ;; - RM*:ReliantUNIX-*:*:*) - echo mips-sni-sysv4 - exit ;; - RM*:SINIX-*:*:*) - echo mips-sni-sysv4 - exit ;; - *:SINIX-*:*:*) - if uname -p 2>/dev/null >/dev/null ; then - UNAME_MACHINE=`(uname -p) 2>/dev/null` - echo "$UNAME_MACHINE"-sni-sysv4 - else - echo ns32k-sni-sysv - fi - exit ;; - PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort - # says - echo i586-unisys-sysv4 - exit ;; - *:UNIX_System_V:4*:FTX*) - # From Gerald Hewes . - # How about differentiating between stratus architectures? -djm - echo hppa1.1-stratus-sysv4 - exit ;; - *:*:*:FTX*) - # From seanf@swdc.stratus.com. - echo i860-stratus-sysv4 - exit ;; - i*86:VOS:*:*) - # From Paul.Green@stratus.com. - echo "$UNAME_MACHINE"-stratus-vos - exit ;; - *:VOS:*:*) - # From Paul.Green@stratus.com. - echo hppa1.1-stratus-vos - exit ;; - mc68*:A/UX:*:*) - echo m68k-apple-aux"$UNAME_RELEASE" - exit ;; - news*:NEWS-OS:6*:*) - echo mips-sony-newsos6 - exit ;; - R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) - if [ -d /usr/nec ]; then - echo mips-nec-sysv"$UNAME_RELEASE" - else - echo mips-unknown-sysv"$UNAME_RELEASE" - fi - exit ;; - BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. - echo powerpc-be-beos - exit ;; - BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. - echo powerpc-apple-beos - exit ;; - BePC:BeOS:*:*) # BeOS running on Intel PC compatible. - echo i586-pc-beos - exit ;; - BePC:Haiku:*:*) # Haiku running on Intel PC compatible. - echo i586-pc-haiku - exit ;; - x86_64:Haiku:*:*) - echo x86_64-unknown-haiku - exit ;; - SX-4:SUPER-UX:*:*) - echo sx4-nec-superux"$UNAME_RELEASE" - exit ;; - SX-5:SUPER-UX:*:*) - echo sx5-nec-superux"$UNAME_RELEASE" - exit ;; - SX-6:SUPER-UX:*:*) - echo sx6-nec-superux"$UNAME_RELEASE" - exit ;; - SX-7:SUPER-UX:*:*) - echo sx7-nec-superux"$UNAME_RELEASE" - exit ;; - SX-8:SUPER-UX:*:*) - echo sx8-nec-superux"$UNAME_RELEASE" - exit ;; - SX-8R:SUPER-UX:*:*) - echo sx8r-nec-superux"$UNAME_RELEASE" - exit ;; - SX-ACE:SUPER-UX:*:*) - echo sxace-nec-superux"$UNAME_RELEASE" - exit ;; - Power*:Rhapsody:*:*) - echo powerpc-apple-rhapsody"$UNAME_RELEASE" - exit ;; - *:Rhapsody:*:*) - echo "$UNAME_MACHINE"-apple-rhapsody"$UNAME_RELEASE" - exit ;; - *:Darwin:*:*) - UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown - eval "$set_cc_for_build" - if test "$UNAME_PROCESSOR" = unknown ; then - UNAME_PROCESSOR=powerpc - fi - if test "`echo "$UNAME_RELEASE" | sed -e 's/\..*//'`" -le 10 ; then - if [ "$CC_FOR_BUILD" != no_compiler_found ]; then - if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ - (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ - grep IS_64BIT_ARCH >/dev/null - then - case $UNAME_PROCESSOR in - i386) UNAME_PROCESSOR=x86_64 ;; - powerpc) UNAME_PROCESSOR=powerpc64 ;; - esac - fi - # On 10.4-10.6 one might compile for PowerPC via gcc -arch ppc - if (echo '#ifdef __POWERPC__'; echo IS_PPC; echo '#endif') | \ - (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ - grep IS_PPC >/dev/null - then - UNAME_PROCESSOR=powerpc - fi - fi - elif test "$UNAME_PROCESSOR" = i386 ; then - # Avoid executing cc on OS X 10.9, as it ships with a stub - # that puts up a graphical alert prompting to install - # developer tools. Any system running Mac OS X 10.7 or - # later (Darwin 11 and later) is required to have a 64-bit - # processor. This is not true of the ARM version of Darwin - # that Apple uses in portable devices. - UNAME_PROCESSOR=x86_64 - fi - echo "$UNAME_PROCESSOR"-apple-darwin"$UNAME_RELEASE" - exit ;; - *:procnto*:*:* | *:QNX:[0123456789]*:*) - UNAME_PROCESSOR=`uname -p` - if test "$UNAME_PROCESSOR" = x86; then - UNAME_PROCESSOR=i386 - UNAME_MACHINE=pc - fi - echo "$UNAME_PROCESSOR"-"$UNAME_MACHINE"-nto-qnx"$UNAME_RELEASE" - exit ;; - *:QNX:*:4*) - echo i386-pc-qnx - exit ;; - NEO-*:NONSTOP_KERNEL:*:*) - echo neo-tandem-nsk"$UNAME_RELEASE" - exit ;; - NSE-*:NONSTOP_KERNEL:*:*) - echo nse-tandem-nsk"$UNAME_RELEASE" - exit ;; - NSR-*:NONSTOP_KERNEL:*:*) - echo nsr-tandem-nsk"$UNAME_RELEASE" - exit ;; - NSV-*:NONSTOP_KERNEL:*:*) - echo nsv-tandem-nsk"$UNAME_RELEASE" - exit ;; - NSX-*:NONSTOP_KERNEL:*:*) - echo nsx-tandem-nsk"$UNAME_RELEASE" - exit ;; - *:NonStop-UX:*:*) - echo mips-compaq-nonstopux - exit ;; - BS2000:POSIX*:*:*) - echo bs2000-siemens-sysv - exit ;; - DS/*:UNIX_System_V:*:*) - echo "$UNAME_MACHINE"-"$UNAME_SYSTEM"-"$UNAME_RELEASE" - exit ;; - *:Plan9:*:*) - # "uname -m" is not consistent, so use $cputype instead. 386 - # is converted to i386 for consistency with other x86 - # operating systems. - if test "$cputype" = 386; then - UNAME_MACHINE=i386 - else - UNAME_MACHINE="$cputype" - fi - echo "$UNAME_MACHINE"-unknown-plan9 - exit ;; - *:TOPS-10:*:*) - echo pdp10-unknown-tops10 - exit ;; - *:TENEX:*:*) - echo pdp10-unknown-tenex - exit ;; - KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) - echo pdp10-dec-tops20 - exit ;; - XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) - echo pdp10-xkl-tops20 - exit ;; - *:TOPS-20:*:*) - echo pdp10-unknown-tops20 - exit ;; - *:ITS:*:*) - echo pdp10-unknown-its - exit ;; - SEI:*:*:SEIUX) - echo mips-sei-seiux"$UNAME_RELEASE" - exit ;; - *:DragonFly:*:*) - echo "$UNAME_MACHINE"-unknown-dragonfly"`echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`" - exit ;; - *:*VMS:*:*) - UNAME_MACHINE=`(uname -p) 2>/dev/null` - case "$UNAME_MACHINE" in - A*) echo alpha-dec-vms ; exit ;; - I*) echo ia64-dec-vms ; exit ;; - V*) echo vax-dec-vms ; exit ;; - esac ;; - *:XENIX:*:SysV) - echo i386-pc-xenix - exit ;; - i*86:skyos:*:*) - echo "$UNAME_MACHINE"-pc-skyos"`echo "$UNAME_RELEASE" | sed -e 's/ .*$//'`" - exit ;; - i*86:rdos:*:*) - echo "$UNAME_MACHINE"-pc-rdos - exit ;; - i*86:AROS:*:*) - echo "$UNAME_MACHINE"-pc-aros - exit ;; - x86_64:VMkernel:*:*) - echo "$UNAME_MACHINE"-unknown-esx - exit ;; - amd64:Isilon\ OneFS:*:*) - echo x86_64-unknown-onefs - exit ;; -esac - -echo "$0: unable to guess system type" >&2 - -case "$UNAME_MACHINE:$UNAME_SYSTEM" in - mips:Linux | mips64:Linux) - # If we got here on MIPS GNU/Linux, output extra information. - cat >&2 <&2 </dev/null || echo unknown` -uname -r = `(uname -r) 2>/dev/null || echo unknown` -uname -s = `(uname -s) 2>/dev/null || echo unknown` -uname -v = `(uname -v) 2>/dev/null || echo unknown` - -/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null` -/bin/uname -X = `(/bin/uname -X) 2>/dev/null` - -hostinfo = `(hostinfo) 2>/dev/null` -/bin/universe = `(/bin/universe) 2>/dev/null` -/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null` -/bin/arch = `(/bin/arch) 2>/dev/null` -/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` -/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` - -UNAME_MACHINE = "$UNAME_MACHINE" -UNAME_RELEASE = "$UNAME_RELEASE" -UNAME_SYSTEM = "$UNAME_SYSTEM" -UNAME_VERSION = "$UNAME_VERSION" -EOF - -exit 1 - -# Local variables: -# eval: (add-hook 'write-file-functions 'time-stamp) -# time-stamp-start: "timestamp='" -# time-stamp-format: "%:y-%02m-%02d" -# time-stamp-end: "'" -# End: diff --git a/harfbuzz/config.h.in b/harfbuzz/config.h.in deleted file mode 100644 index c3d447d..0000000 --- a/harfbuzz/config.h.in +++ /dev/null @@ -1,163 +0,0 @@ -/* config.h.in. Generated from configure.ac by autoheader. */ - -/* The normal alignment of `struct{char;}', in bytes. */ -#undef ALIGNOF_STRUCT_CHAR__ - -/* Define to 1 if you have the `atexit' function. */ -#undef HAVE_ATEXIT - -/* Have cairo graphics library */ -#undef HAVE_CAIRO - -/* Have cairo-ft support in cairo graphics library */ -#undef HAVE_CAIRO_FT - -/* Have chafa terminal graphics library */ -#undef HAVE_CHAFA - -/* Have Core Text backend */ -#undef HAVE_CORETEXT - -/* define if the compiler supports basic C++11 syntax */ -#undef HAVE_CXX11 - -/* Have DirectWrite library */ -#undef HAVE_DIRECTWRITE - -/* Define to 1 if you have the header file. */ -#undef HAVE_DLFCN_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_DWRITE_H - -/* Have FreeType 2 library */ -#undef HAVE_FREETYPE - -/* Define to 1 if you have the `FT_Done_MM_Var' function. */ -#undef HAVE_FT_DONE_MM_VAR - -/* Define to 1 if you have the `FT_Get_Var_Blend_Coordinates' function. */ -#undef HAVE_FT_GET_VAR_BLEND_COORDINATES - -/* Define to 1 if you have the `FT_Set_Var_Blend_Coordinates' function. */ -#undef HAVE_FT_SET_VAR_BLEND_COORDINATES - -/* Have GDI library */ -#undef HAVE_GDI - -/* Define to 1 if you have the `getpagesize' function. */ -#undef HAVE_GETPAGESIZE - -/* Have glib2 library */ -#undef HAVE_GLIB - -/* Have gobject2 library */ -#undef HAVE_GOBJECT - -/* Have Graphite2 library */ -#undef HAVE_GRAPHITE2 - -/* Have ICU library */ -#undef HAVE_ICU - -/* Use hb-icu Unicode callbacks */ -#undef HAVE_ICU_BUILTIN - -/* Define to 1 if you have the header file. */ -#undef HAVE_INTTYPES_H - -/* Define to 1 if you have the `isatty' function. */ -#undef HAVE_ISATTY - -/* Define to 1 if you have the header file. */ -#undef HAVE_MEMORY_H - -/* Define to 1 if you have the `mmap' function. */ -#undef HAVE_MMAP - -/* Define to 1 if you have the `mprotect' function. */ -#undef HAVE_MPROTECT - -/* Have POSIX threads */ -#undef HAVE_PTHREAD - -/* Have PTHREAD_PRIO_INHERIT. */ -#undef HAVE_PTHREAD_PRIO_INHERIT - -/* Define to 1 if you have the header file. */ -#undef HAVE_STDBOOL_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_STDINT_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_STDLIB_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_STRINGS_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_STRING_H - -/* Define to 1 if you have the `sysconf' function. */ -#undef HAVE_SYSCONF - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_MMAN_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_STAT_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_TYPES_H - -/* Have Uniscribe library */ -#undef HAVE_UNISCRIBE - -/* Define to 1 if you have the header file. */ -#undef HAVE_UNISTD_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_USP10_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_WINDOWS_H - -/* Define to the sub-directory where libtool stores uninstalled libraries. */ -#undef LT_OBJDIR - -/* Define to the address where bug reports for this package should be sent. */ -#undef PACKAGE_BUGREPORT - -/* Define to the full name of this package. */ -#undef PACKAGE_NAME - -/* Define to the full name and version of this package. */ -#undef PACKAGE_STRING - -/* Define to the one symbol short name of this package. */ -#undef PACKAGE_TARNAME - -/* Define to the home page for this package. */ -#undef PACKAGE_URL - -/* Define to the version of this package. */ -#undef PACKAGE_VERSION - -/* Define to necessary symbol if this constant uses a non-standard name on - your system. */ -#undef PTHREAD_CREATE_JOINABLE - -/* Define to 1 if you have the ANSI C header files. */ -#undef STDC_HEADERS - -/* Enable large inode numbers on Mac OS X 10.5. */ -#ifndef _DARWIN_USE_64_BIT_INODE -# define _DARWIN_USE_64_BIT_INODE 1 -#endif - -/* Number of bits in a file offset, on hosts where this is settable. */ -#undef _FILE_OFFSET_BITS - -/* Define for large files, on AIX-style hosts. */ -#undef _LARGE_FILES diff --git a/harfbuzz/config.sub b/harfbuzz/config.sub deleted file mode 100755 index 1d8e98b..0000000 --- a/harfbuzz/config.sub +++ /dev/null @@ -1,1801 +0,0 @@ -#! /bin/sh -# Configuration validation subroutine script. -# Copyright 1992-2018 Free Software Foundation, Inc. - -timestamp='2018-02-22' - -# This file is free software; you can redistribute it and/or modify it -# under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, see . -# -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that -# program. This Exception is an additional permission under section 7 -# of the GNU General Public License, version 3 ("GPLv3"). - - -# Please send patches to . -# -# Configuration subroutine to validate and canonicalize a configuration type. -# Supply the specified configuration type as an argument. -# If it is invalid, we print an error message on stderr and exit with code 1. -# Otherwise, we print the canonical config type on stdout and succeed. - -# You can get the latest version of this script from: -# https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub - -# This file is supposed to be the same for all GNU packages -# and recognize all the CPU types, system types and aliases -# that are meaningful with *any* GNU software. -# Each package is responsible for reporting which valid configurations -# it does not support. The user should be able to distinguish -# a failure to support a valid configuration from a meaningless -# configuration. - -# The goal of this file is to map all the various variations of a given -# machine specification into a single specification in the form: -# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM -# or in some cases, the newer four-part form: -# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM -# It is wrong to echo any other type of specification. - -me=`echo "$0" | sed -e 's,.*/,,'` - -usage="\ -Usage: $0 [OPTION] CPU-MFR-OPSYS or ALIAS - -Canonicalize a configuration name. - -Options: - -h, --help print this help, then exit - -t, --time-stamp print date of last modification, then exit - -v, --version print version number, then exit - -Report bugs and patches to ." - -version="\ -GNU config.sub ($timestamp) - -Copyright 1992-2018 Free Software Foundation, Inc. - -This is free software; see the source for copying conditions. There is NO -warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." - -help=" -Try \`$me --help' for more information." - -# Parse command line -while test $# -gt 0 ; do - case $1 in - --time-stamp | --time* | -t ) - echo "$timestamp" ; exit ;; - --version | -v ) - echo "$version" ; exit ;; - --help | --h* | -h ) - echo "$usage"; exit ;; - -- ) # Stop option processing - shift; break ;; - - ) # Use stdin as input. - break ;; - -* ) - echo "$me: invalid option $1$help" - exit 1 ;; - - *local*) - # First pass through any local machine types. - echo "$1" - exit ;; - - * ) - break ;; - esac -done - -case $# in - 0) echo "$me: missing argument$help" >&2 - exit 1;; - 1) ;; - *) echo "$me: too many arguments$help" >&2 - exit 1;; -esac - -# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). -# Here we must recognize all the valid KERNEL-OS combinations. -maybe_os=`echo "$1" | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` -case $maybe_os in - nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ - linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ - knetbsd*-gnu* | netbsd*-gnu* | netbsd*-eabi* | \ - kopensolaris*-gnu* | cloudabi*-eabi* | \ - storm-chaos* | os2-emx* | rtmk-nova*) - os=-$maybe_os - basic_machine=`echo "$1" | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` - ;; - android-linux) - os=-linux-android - basic_machine=`echo "$1" | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown - ;; - *) - basic_machine=`echo "$1" | sed 's/-[^-]*$//'` - if [ "$basic_machine" != "$1" ] - then os=`echo "$1" | sed 's/.*-/-/'` - else os=; fi - ;; -esac - -### Let's recognize common machines as not being operating systems so -### that things like config.sub decstation-3100 work. We also -### recognize some manufacturers as not being operating systems, so we -### can provide default operating systems below. -case $os in - -sun*os*) - # Prevent following clause from handling this invalid input. - ;; - -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ - -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ - -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ - -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ - -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ - -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ - -apple | -axis | -knuth | -cray | -microblaze*) - os= - basic_machine=$1 - ;; - -bluegene*) - os=-cnk - ;; - -sim | -cisco | -oki | -wec | -winbond) - os= - basic_machine=$1 - ;; - -scout) - ;; - -wrs) - os=-vxworks - basic_machine=$1 - ;; - -chorusos*) - os=-chorusos - basic_machine=$1 - ;; - -chorusrdb) - os=-chorusrdb - basic_machine=$1 - ;; - -hiux*) - os=-hiuxwe2 - ;; - -sco6) - os=-sco5v6 - basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` - ;; - -sco5) - os=-sco3.2v5 - basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` - ;; - -sco4) - os=-sco3.2v4 - basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` - ;; - -sco3.2.[4-9]*) - os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` - basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` - ;; - -sco3.2v[4-9]*) - # Don't forget version if it is 3.2v4 or newer. - basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` - ;; - -sco5v6*) - # Don't forget version if it is 3.2v4 or newer. - basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` - ;; - -sco*) - os=-sco3.2v2 - basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` - ;; - -udk*) - basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` - ;; - -isc) - os=-isc2.2 - basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` - ;; - -clix*) - basic_machine=clipper-intergraph - ;; - -isc*) - basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` - ;; - -lynx*178) - os=-lynxos178 - ;; - -lynx*5) - os=-lynxos5 - ;; - -lynx*) - os=-lynxos - ;; - -ptx*) - basic_machine=`echo "$1" | sed -e 's/86-.*/86-sequent/'` - ;; - -psos*) - os=-psos - ;; - -mint | -mint[0-9]*) - basic_machine=m68k-atari - os=-mint - ;; -esac - -# Decode aliases for certain CPU-COMPANY combinations. -case $basic_machine in - # Recognize the basic CPU types without company name. - # Some are omitted here because they have special meanings below. - 1750a | 580 \ - | a29k \ - | aarch64 | aarch64_be \ - | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ - | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ - | am33_2.0 \ - | arc | arceb \ - | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \ - | avr | avr32 \ - | ba \ - | be32 | be64 \ - | bfin \ - | c4x | c8051 | clipper \ - | d10v | d30v | dlx | dsp16xx \ - | e2k | epiphany \ - | fido | fr30 | frv | ft32 \ - | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ - | hexagon \ - | i370 | i860 | i960 | ia16 | ia64 \ - | ip2k | iq2000 \ - | k1om \ - | le32 | le64 \ - | lm32 \ - | m32c | m32r | m32rle | m68000 | m68k | m88k \ - | maxq | mb | microblaze | microblazeel | mcore | mep | metag \ - | mips | mipsbe | mipseb | mipsel | mipsle \ - | mips16 \ - | mips64 | mips64el \ - | mips64octeon | mips64octeonel \ - | mips64orion | mips64orionel \ - | mips64r5900 | mips64r5900el \ - | mips64vr | mips64vrel \ - | mips64vr4100 | mips64vr4100el \ - | mips64vr4300 | mips64vr4300el \ - | mips64vr5000 | mips64vr5000el \ - | mips64vr5900 | mips64vr5900el \ - | mipsisa32 | mipsisa32el \ - | mipsisa32r2 | mipsisa32r2el \ - | mipsisa32r6 | mipsisa32r6el \ - | mipsisa64 | mipsisa64el \ - | mipsisa64r2 | mipsisa64r2el \ - | mipsisa64r6 | mipsisa64r6el \ - | mipsisa64sb1 | mipsisa64sb1el \ - | mipsisa64sr71k | mipsisa64sr71kel \ - | mipsr5900 | mipsr5900el \ - | mipstx39 | mipstx39el \ - | mn10200 | mn10300 \ - | moxie \ - | mt \ - | msp430 \ - | nds32 | nds32le | nds32be \ - | nios | nios2 | nios2eb | nios2el \ - | ns16k | ns32k \ - | open8 | or1k | or1knd | or32 \ - | pdp10 | pj | pjl \ - | powerpc | powerpc64 | powerpc64le | powerpcle \ - | pru \ - | pyramid \ - | riscv32 | riscv64 \ - | rl78 | rx \ - | score \ - | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[234]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ - | sh64 | sh64le \ - | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ - | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ - | spu \ - | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \ - | ubicom32 \ - | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \ - | visium \ - | wasm32 \ - | x86 | xc16x | xstormy16 | xtensa \ - | z8k | z80) - basic_machine=$basic_machine-unknown - ;; - c54x) - basic_machine=tic54x-unknown - ;; - c55x) - basic_machine=tic55x-unknown - ;; - c6x) - basic_machine=tic6x-unknown - ;; - leon|leon[3-9]) - basic_machine=sparc-$basic_machine - ;; - m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip) - basic_machine=$basic_machine-unknown - os=-none - ;; - m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65) - ;; - ms1) - basic_machine=mt-unknown - ;; - - strongarm | thumb | xscale) - basic_machine=arm-unknown - ;; - xgate) - basic_machine=$basic_machine-unknown - os=-none - ;; - xscaleeb) - basic_machine=armeb-unknown - ;; - - xscaleel) - basic_machine=armel-unknown - ;; - - # We use `pc' rather than `unknown' - # because (1) that's what they normally are, and - # (2) the word "unknown" tends to confuse beginning users. - i*86 | x86_64) - basic_machine=$basic_machine-pc - ;; - # Object if more than one company name word. - *-*-*) - echo Invalid configuration \`"$1"\': machine \`"$basic_machine"\' not recognized 1>&2 - exit 1 - ;; - # Recognize the basic CPU types with company name. - 580-* \ - | a29k-* \ - | aarch64-* | aarch64_be-* \ - | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ - | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ - | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \ - | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ - | avr-* | avr32-* \ - | ba-* \ - | be32-* | be64-* \ - | bfin-* | bs2000-* \ - | c[123]* | c30-* | [cjt]90-* | c4x-* \ - | c8051-* | clipper-* | craynv-* | cydra-* \ - | d10v-* | d30v-* | dlx-* \ - | e2k-* | elxsi-* \ - | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ - | h8300-* | h8500-* \ - | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ - | hexagon-* \ - | i*86-* | i860-* | i960-* | ia16-* | ia64-* \ - | ip2k-* | iq2000-* \ - | k1om-* \ - | le32-* | le64-* \ - | lm32-* \ - | m32c-* | m32r-* | m32rle-* \ - | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ - | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \ - | microblaze-* | microblazeel-* \ - | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ - | mips16-* \ - | mips64-* | mips64el-* \ - | mips64octeon-* | mips64octeonel-* \ - | mips64orion-* | mips64orionel-* \ - | mips64r5900-* | mips64r5900el-* \ - | mips64vr-* | mips64vrel-* \ - | mips64vr4100-* | mips64vr4100el-* \ - | mips64vr4300-* | mips64vr4300el-* \ - | mips64vr5000-* | mips64vr5000el-* \ - | mips64vr5900-* | mips64vr5900el-* \ - | mipsisa32-* | mipsisa32el-* \ - | mipsisa32r2-* | mipsisa32r2el-* \ - | mipsisa32r6-* | mipsisa32r6el-* \ - | mipsisa64-* | mipsisa64el-* \ - | mipsisa64r2-* | mipsisa64r2el-* \ - | mipsisa64r6-* | mipsisa64r6el-* \ - | mipsisa64sb1-* | mipsisa64sb1el-* \ - | mipsisa64sr71k-* | mipsisa64sr71kel-* \ - | mipsr5900-* | mipsr5900el-* \ - | mipstx39-* | mipstx39el-* \ - | mmix-* \ - | mt-* \ - | msp430-* \ - | nds32-* | nds32le-* | nds32be-* \ - | nios-* | nios2-* | nios2eb-* | nios2el-* \ - | none-* | np1-* | ns16k-* | ns32k-* \ - | open8-* \ - | or1k*-* \ - | orion-* \ - | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ - | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \ - | pru-* \ - | pyramid-* \ - | riscv32-* | riscv64-* \ - | rl78-* | romp-* | rs6000-* | rx-* \ - | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ - | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ - | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ - | sparclite-* \ - | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx*-* \ - | tahoe-* \ - | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ - | tile*-* \ - | tron-* \ - | ubicom32-* \ - | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \ - | vax-* \ - | visium-* \ - | wasm32-* \ - | we32k-* \ - | x86-* | x86_64-* | xc16x-* | xps100-* \ - | xstormy16-* | xtensa*-* \ - | ymp-* \ - | z8k-* | z80-*) - ;; - # Recognize the basic CPU types without company name, with glob match. - xtensa*) - basic_machine=$basic_machine-unknown - ;; - # Recognize the various machine names and aliases which stand - # for a CPU type and a company and sometimes even an OS. - 386bsd) - basic_machine=i386-pc - os=-bsd - ;; - 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) - basic_machine=m68000-att - ;; - 3b*) - basic_machine=we32k-att - ;; - a29khif) - basic_machine=a29k-amd - os=-udi - ;; - abacus) - basic_machine=abacus-unknown - ;; - adobe68k) - basic_machine=m68010-adobe - os=-scout - ;; - alliant | fx80) - basic_machine=fx80-alliant - ;; - altos | altos3068) - basic_machine=m68k-altos - ;; - am29k) - basic_machine=a29k-none - os=-bsd - ;; - amd64) - basic_machine=x86_64-pc - ;; - amd64-*) - basic_machine=x86_64-`echo "$basic_machine" | sed 's/^[^-]*-//'` - ;; - amdahl) - basic_machine=580-amdahl - os=-sysv - ;; - amiga | amiga-*) - basic_machine=m68k-unknown - ;; - amigaos | amigados) - basic_machine=m68k-unknown - os=-amigaos - ;; - amigaunix | amix) - basic_machine=m68k-unknown - os=-sysv4 - ;; - apollo68) - basic_machine=m68k-apollo - os=-sysv - ;; - apollo68bsd) - basic_machine=m68k-apollo - os=-bsd - ;; - aros) - basic_machine=i386-pc - os=-aros - ;; - asmjs) - basic_machine=asmjs-unknown - ;; - aux) - basic_machine=m68k-apple - os=-aux - ;; - balance) - basic_machine=ns32k-sequent - os=-dynix - ;; - blackfin) - basic_machine=bfin-unknown - os=-linux - ;; - blackfin-*) - basic_machine=bfin-`echo "$basic_machine" | sed 's/^[^-]*-//'` - os=-linux - ;; - bluegene*) - basic_machine=powerpc-ibm - os=-cnk - ;; - c54x-*) - basic_machine=tic54x-`echo "$basic_machine" | sed 's/^[^-]*-//'` - ;; - c55x-*) - basic_machine=tic55x-`echo "$basic_machine" | sed 's/^[^-]*-//'` - ;; - c6x-*) - basic_machine=tic6x-`echo "$basic_machine" | sed 's/^[^-]*-//'` - ;; - c90) - basic_machine=c90-cray - os=-unicos - ;; - cegcc) - basic_machine=arm-unknown - os=-cegcc - ;; - convex-c1) - basic_machine=c1-convex - os=-bsd - ;; - convex-c2) - basic_machine=c2-convex - os=-bsd - ;; - convex-c32) - basic_machine=c32-convex - os=-bsd - ;; - convex-c34) - basic_machine=c34-convex - os=-bsd - ;; - convex-c38) - basic_machine=c38-convex - os=-bsd - ;; - cray | j90) - basic_machine=j90-cray - os=-unicos - ;; - craynv) - basic_machine=craynv-cray - os=-unicosmp - ;; - cr16 | cr16-*) - basic_machine=cr16-unknown - os=-elf - ;; - crds | unos) - basic_machine=m68k-crds - ;; - crisv32 | crisv32-* | etraxfs*) - basic_machine=crisv32-axis - ;; - cris | cris-* | etrax*) - basic_machine=cris-axis - ;; - crx) - basic_machine=crx-unknown - os=-elf - ;; - da30 | da30-*) - basic_machine=m68k-da30 - ;; - decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) - basic_machine=mips-dec - ;; - decsystem10* | dec10*) - basic_machine=pdp10-dec - os=-tops10 - ;; - decsystem20* | dec20*) - basic_machine=pdp10-dec - os=-tops20 - ;; - delta | 3300 | motorola-3300 | motorola-delta \ - | 3300-motorola | delta-motorola) - basic_machine=m68k-motorola - ;; - delta88) - basic_machine=m88k-motorola - os=-sysv3 - ;; - dicos) - basic_machine=i686-pc - os=-dicos - ;; - djgpp) - basic_machine=i586-pc - os=-msdosdjgpp - ;; - dpx20 | dpx20-*) - basic_machine=rs6000-bull - os=-bosx - ;; - dpx2*) - basic_machine=m68k-bull - os=-sysv3 - ;; - e500v[12]) - basic_machine=powerpc-unknown - os=$os"spe" - ;; - e500v[12]-*) - basic_machine=powerpc-`echo "$basic_machine" | sed 's/^[^-]*-//'` - os=$os"spe" - ;; - ebmon29k) - basic_machine=a29k-amd - os=-ebmon - ;; - elxsi) - basic_machine=elxsi-elxsi - os=-bsd - ;; - encore | umax | mmax) - basic_machine=ns32k-encore - ;; - es1800 | OSE68k | ose68k | ose | OSE) - basic_machine=m68k-ericsson - os=-ose - ;; - fx2800) - basic_machine=i860-alliant - ;; - genix) - basic_machine=ns32k-ns - ;; - gmicro) - basic_machine=tron-gmicro - os=-sysv - ;; - go32) - basic_machine=i386-pc - os=-go32 - ;; - h3050r* | hiux*) - basic_machine=hppa1.1-hitachi - os=-hiuxwe2 - ;; - h8300hms) - basic_machine=h8300-hitachi - os=-hms - ;; - h8300xray) - basic_machine=h8300-hitachi - os=-xray - ;; - h8500hms) - basic_machine=h8500-hitachi - os=-hms - ;; - harris) - basic_machine=m88k-harris - os=-sysv3 - ;; - hp300-*) - basic_machine=m68k-hp - ;; - hp300bsd) - basic_machine=m68k-hp - os=-bsd - ;; - hp300hpux) - basic_machine=m68k-hp - os=-hpux - ;; - hp3k9[0-9][0-9] | hp9[0-9][0-9]) - basic_machine=hppa1.0-hp - ;; - hp9k2[0-9][0-9] | hp9k31[0-9]) - basic_machine=m68000-hp - ;; - hp9k3[2-9][0-9]) - basic_machine=m68k-hp - ;; - hp9k6[0-9][0-9] | hp6[0-9][0-9]) - basic_machine=hppa1.0-hp - ;; - hp9k7[0-79][0-9] | hp7[0-79][0-9]) - basic_machine=hppa1.1-hp - ;; - hp9k78[0-9] | hp78[0-9]) - # FIXME: really hppa2.0-hp - basic_machine=hppa1.1-hp - ;; - hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893) - # FIXME: really hppa2.0-hp - basic_machine=hppa1.1-hp - ;; - hp9k8[0-9][13679] | hp8[0-9][13679]) - basic_machine=hppa1.1-hp - ;; - hp9k8[0-9][0-9] | hp8[0-9][0-9]) - basic_machine=hppa1.0-hp - ;; - hppaosf) - basic_machine=hppa1.1-hp - os=-osf - ;; - hppro) - basic_machine=hppa1.1-hp - os=-proelf - ;; - i370-ibm* | ibm*) - basic_machine=i370-ibm - ;; - i*86v32) - basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'` - os=-sysv32 - ;; - i*86v4*) - basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'` - os=-sysv4 - ;; - i*86v) - basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'` - os=-sysv - ;; - i*86sol2) - basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'` - os=-solaris2 - ;; - i386mach) - basic_machine=i386-mach - os=-mach - ;; - vsta) - basic_machine=i386-unknown - os=-vsta - ;; - iris | iris4d) - basic_machine=mips-sgi - case $os in - -irix*) - ;; - *) - os=-irix4 - ;; - esac - ;; - isi68 | isi) - basic_machine=m68k-isi - os=-sysv - ;; - leon-*|leon[3-9]-*) - basic_machine=sparc-`echo "$basic_machine" | sed 's/-.*//'` - ;; - m68knommu) - basic_machine=m68k-unknown - os=-linux - ;; - m68knommu-*) - basic_machine=m68k-`echo "$basic_machine" | sed 's/^[^-]*-//'` - os=-linux - ;; - magnum | m3230) - basic_machine=mips-mips - os=-sysv - ;; - merlin) - basic_machine=ns32k-utek - os=-sysv - ;; - microblaze*) - basic_machine=microblaze-xilinx - ;; - mingw64) - basic_machine=x86_64-pc - os=-mingw64 - ;; - mingw32) - basic_machine=i686-pc - os=-mingw32 - ;; - mingw32ce) - basic_machine=arm-unknown - os=-mingw32ce - ;; - miniframe) - basic_machine=m68000-convergent - ;; - *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) - basic_machine=m68k-atari - os=-mint - ;; - mips3*-*) - basic_machine=`echo "$basic_machine" | sed -e 's/mips3/mips64/'` - ;; - mips3*) - basic_machine=`echo "$basic_machine" | sed -e 's/mips3/mips64/'`-unknown - ;; - monitor) - basic_machine=m68k-rom68k - os=-coff - ;; - morphos) - basic_machine=powerpc-unknown - os=-morphos - ;; - moxiebox) - basic_machine=moxie-unknown - os=-moxiebox - ;; - msdos) - basic_machine=i386-pc - os=-msdos - ;; - ms1-*) - basic_machine=`echo "$basic_machine" | sed -e 's/ms1-/mt-/'` - ;; - msys) - basic_machine=i686-pc - os=-msys - ;; - mvs) - basic_machine=i370-ibm - os=-mvs - ;; - nacl) - basic_machine=le32-unknown - os=-nacl - ;; - ncr3000) - basic_machine=i486-ncr - os=-sysv4 - ;; - netbsd386) - basic_machine=i386-unknown - os=-netbsd - ;; - netwinder) - basic_machine=armv4l-rebel - os=-linux - ;; - news | news700 | news800 | news900) - basic_machine=m68k-sony - os=-newsos - ;; - news1000) - basic_machine=m68030-sony - os=-newsos - ;; - news-3600 | risc-news) - basic_machine=mips-sony - os=-newsos - ;; - necv70) - basic_machine=v70-nec - os=-sysv - ;; - next | m*-next) - basic_machine=m68k-next - case $os in - -nextstep* ) - ;; - -ns2*) - os=-nextstep2 - ;; - *) - os=-nextstep3 - ;; - esac - ;; - nh3000) - basic_machine=m68k-harris - os=-cxux - ;; - nh[45]000) - basic_machine=m88k-harris - os=-cxux - ;; - nindy960) - basic_machine=i960-intel - os=-nindy - ;; - mon960) - basic_machine=i960-intel - os=-mon960 - ;; - nonstopux) - basic_machine=mips-compaq - os=-nonstopux - ;; - np1) - basic_machine=np1-gould - ;; - neo-tandem) - basic_machine=neo-tandem - ;; - nse-tandem) - basic_machine=nse-tandem - ;; - nsr-tandem) - basic_machine=nsr-tandem - ;; - nsv-tandem) - basic_machine=nsv-tandem - ;; - nsx-tandem) - basic_machine=nsx-tandem - ;; - op50n-* | op60c-*) - basic_machine=hppa1.1-oki - os=-proelf - ;; - openrisc | openrisc-*) - basic_machine=or32-unknown - ;; - os400) - basic_machine=powerpc-ibm - os=-os400 - ;; - OSE68000 | ose68000) - basic_machine=m68000-ericsson - os=-ose - ;; - os68k) - basic_machine=m68k-none - os=-os68k - ;; - pa-hitachi) - basic_machine=hppa1.1-hitachi - os=-hiuxwe2 - ;; - paragon) - basic_machine=i860-intel - os=-osf - ;; - parisc) - basic_machine=hppa-unknown - os=-linux - ;; - parisc-*) - basic_machine=hppa-`echo "$basic_machine" | sed 's/^[^-]*-//'` - os=-linux - ;; - pbd) - basic_machine=sparc-tti - ;; - pbb) - basic_machine=m68k-tti - ;; - pc532 | pc532-*) - basic_machine=ns32k-pc532 - ;; - pc98) - basic_machine=i386-pc - ;; - pc98-*) - basic_machine=i386-`echo "$basic_machine" | sed 's/^[^-]*-//'` - ;; - pentium | p5 | k5 | k6 | nexgen | viac3) - basic_machine=i586-pc - ;; - pentiumpro | p6 | 6x86 | athlon | athlon_*) - basic_machine=i686-pc - ;; - pentiumii | pentium2 | pentiumiii | pentium3) - basic_machine=i686-pc - ;; - pentium4) - basic_machine=i786-pc - ;; - pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) - basic_machine=i586-`echo "$basic_machine" | sed 's/^[^-]*-//'` - ;; - pentiumpro-* | p6-* | 6x86-* | athlon-*) - basic_machine=i686-`echo "$basic_machine" | sed 's/^[^-]*-//'` - ;; - pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) - basic_machine=i686-`echo "$basic_machine" | sed 's/^[^-]*-//'` - ;; - pentium4-*) - basic_machine=i786-`echo "$basic_machine" | sed 's/^[^-]*-//'` - ;; - pn) - basic_machine=pn-gould - ;; - power) basic_machine=power-ibm - ;; - ppc | ppcbe) basic_machine=powerpc-unknown - ;; - ppc-* | ppcbe-*) - basic_machine=powerpc-`echo "$basic_machine" | sed 's/^[^-]*-//'` - ;; - ppcle | powerpclittle) - basic_machine=powerpcle-unknown - ;; - ppcle-* | powerpclittle-*) - basic_machine=powerpcle-`echo "$basic_machine" | sed 's/^[^-]*-//'` - ;; - ppc64) basic_machine=powerpc64-unknown - ;; - ppc64-*) basic_machine=powerpc64-`echo "$basic_machine" | sed 's/^[^-]*-//'` - ;; - ppc64le | powerpc64little) - basic_machine=powerpc64le-unknown - ;; - ppc64le-* | powerpc64little-*) - basic_machine=powerpc64le-`echo "$basic_machine" | sed 's/^[^-]*-//'` - ;; - ps2) - basic_machine=i386-ibm - ;; - pw32) - basic_machine=i586-unknown - os=-pw32 - ;; - rdos | rdos64) - basic_machine=x86_64-pc - os=-rdos - ;; - rdos32) - basic_machine=i386-pc - os=-rdos - ;; - rom68k) - basic_machine=m68k-rom68k - os=-coff - ;; - rm[46]00) - basic_machine=mips-siemens - ;; - rtpc | rtpc-*) - basic_machine=romp-ibm - ;; - s390 | s390-*) - basic_machine=s390-ibm - ;; - s390x | s390x-*) - basic_machine=s390x-ibm - ;; - sa29200) - basic_machine=a29k-amd - os=-udi - ;; - sb1) - basic_machine=mipsisa64sb1-unknown - ;; - sb1el) - basic_machine=mipsisa64sb1el-unknown - ;; - sde) - basic_machine=mipsisa32-sde - os=-elf - ;; - sei) - basic_machine=mips-sei - os=-seiux - ;; - sequent) - basic_machine=i386-sequent - ;; - sh5el) - basic_machine=sh5le-unknown - ;; - simso-wrs) - basic_machine=sparclite-wrs - os=-vxworks - ;; - sps7) - basic_machine=m68k-bull - os=-sysv2 - ;; - spur) - basic_machine=spur-unknown - ;; - st2000) - basic_machine=m68k-tandem - ;; - stratus) - basic_machine=i860-stratus - os=-sysv4 - ;; - strongarm-* | thumb-*) - basic_machine=arm-`echo "$basic_machine" | sed 's/^[^-]*-//'` - ;; - sun2) - basic_machine=m68000-sun - ;; - sun2os3) - basic_machine=m68000-sun - os=-sunos3 - ;; - sun2os4) - basic_machine=m68000-sun - os=-sunos4 - ;; - sun3os3) - basic_machine=m68k-sun - os=-sunos3 - ;; - sun3os4) - basic_machine=m68k-sun - os=-sunos4 - ;; - sun4os3) - basic_machine=sparc-sun - os=-sunos3 - ;; - sun4os4) - basic_machine=sparc-sun - os=-sunos4 - ;; - sun4sol2) - basic_machine=sparc-sun - os=-solaris2 - ;; - sun3 | sun3-*) - basic_machine=m68k-sun - ;; - sun4) - basic_machine=sparc-sun - ;; - sun386 | sun386i | roadrunner) - basic_machine=i386-sun - ;; - sv1) - basic_machine=sv1-cray - os=-unicos - ;; - symmetry) - basic_machine=i386-sequent - os=-dynix - ;; - t3e) - basic_machine=alphaev5-cray - os=-unicos - ;; - t90) - basic_machine=t90-cray - os=-unicos - ;; - tile*) - basic_machine=$basic_machine-unknown - os=-linux-gnu - ;; - tx39) - basic_machine=mipstx39-unknown - ;; - tx39el) - basic_machine=mipstx39el-unknown - ;; - toad1) - basic_machine=pdp10-xkl - os=-tops20 - ;; - tower | tower-32) - basic_machine=m68k-ncr - ;; - tpf) - basic_machine=s390x-ibm - os=-tpf - ;; - udi29k) - basic_machine=a29k-amd - os=-udi - ;; - ultra3) - basic_machine=a29k-nyu - os=-sym1 - ;; - v810 | necv810) - basic_machine=v810-nec - os=-none - ;; - vaxv) - basic_machine=vax-dec - os=-sysv - ;; - vms) - basic_machine=vax-dec - os=-vms - ;; - vpp*|vx|vx-*) - basic_machine=f301-fujitsu - ;; - vxworks960) - basic_machine=i960-wrs - os=-vxworks - ;; - vxworks68) - basic_machine=m68k-wrs - os=-vxworks - ;; - vxworks29k) - basic_machine=a29k-wrs - os=-vxworks - ;; - w65*) - basic_machine=w65-wdc - os=-none - ;; - w89k-*) - basic_machine=hppa1.1-winbond - os=-proelf - ;; - x64) - basic_machine=x86_64-pc - ;; - xbox) - basic_machine=i686-pc - os=-mingw32 - ;; - xps | xps100) - basic_machine=xps100-honeywell - ;; - xscale-* | xscalee[bl]-*) - basic_machine=`echo "$basic_machine" | sed 's/^xscale/arm/'` - ;; - ymp) - basic_machine=ymp-cray - os=-unicos - ;; - none) - basic_machine=none-none - os=-none - ;; - -# Here we handle the default manufacturer of certain CPU types. It is in -# some cases the only manufacturer, in others, it is the most popular. - w89k) - basic_machine=hppa1.1-winbond - ;; - op50n) - basic_machine=hppa1.1-oki - ;; - op60c) - basic_machine=hppa1.1-oki - ;; - romp) - basic_machine=romp-ibm - ;; - mmix) - basic_machine=mmix-knuth - ;; - rs6000) - basic_machine=rs6000-ibm - ;; - vax) - basic_machine=vax-dec - ;; - pdp11) - basic_machine=pdp11-dec - ;; - we32k) - basic_machine=we32k-att - ;; - sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele) - basic_machine=sh-unknown - ;; - cydra) - basic_machine=cydra-cydrome - ;; - orion) - basic_machine=orion-highlevel - ;; - orion105) - basic_machine=clipper-highlevel - ;; - mac | mpw | mac-mpw) - basic_machine=m68k-apple - ;; - pmac | pmac-mpw) - basic_machine=powerpc-apple - ;; - *-unknown) - # Make sure to match an already-canonicalized machine name. - ;; - *) - echo Invalid configuration \`"$1"\': machine \`"$basic_machine"\' not recognized 1>&2 - exit 1 - ;; -esac - -# Here we canonicalize certain aliases for manufacturers. -case $basic_machine in - *-digital*) - basic_machine=`echo "$basic_machine" | sed 's/digital.*/dec/'` - ;; - *-commodore*) - basic_machine=`echo "$basic_machine" | sed 's/commodore.*/cbm/'` - ;; - *) - ;; -esac - -# Decode manufacturer-specific aliases for certain operating systems. - -if [ x"$os" != x"" ] -then -case $os in - # First match some system type aliases that might get confused - # with valid system types. - # -solaris* is a basic system type, with this one exception. - -auroraux) - os=-auroraux - ;; - -solaris1 | -solaris1.*) - os=`echo $os | sed -e 's|solaris1|sunos4|'` - ;; - -solaris) - os=-solaris2 - ;; - -unixware*) - os=-sysv4.2uw - ;; - -gnu/linux*) - os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` - ;; - # es1800 is here to avoid being matched by es* (a different OS) - -es1800*) - os=-ose - ;; - # Now accept the basic system types. - # The portable systems comes first. - # Each alternative MUST end in a * to match a version number. - # -sysv* is not here because it comes later, after sysvr4. - -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ - | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ - | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \ - | -sym* | -kopensolaris* | -plan9* \ - | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ - | -aos* | -aros* | -cloudabi* | -sortix* \ - | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ - | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ - | -hiux* | -knetbsd* | -mirbsd* | -netbsd* \ - | -bitrig* | -openbsd* | -solidbsd* | -libertybsd* \ - | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ - | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ - | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ - | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ - | -chorusos* | -chorusrdb* | -cegcc* | -glidix* \ - | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ - | -midipix* | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \ - | -linux-newlib* | -linux-musl* | -linux-uclibc* \ - | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \ - | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* \ - | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ - | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ - | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ - | -morphos* | -superux* | -rtmk* | -windiss* \ - | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ - | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* \ - | -onefs* | -tirtos* | -phoenix* | -fuchsia* | -redox* | -bme* \ - | -midnightbsd*) - # Remember, each alternative MUST END IN *, to match a version number. - ;; - -qnx*) - case $basic_machine in - x86-* | i*86-*) - ;; - *) - os=-nto$os - ;; - esac - ;; - -nto-qnx*) - ;; - -nto*) - os=`echo $os | sed -e 's|nto|nto-qnx|'` - ;; - -sim | -xray | -os68k* | -v88r* \ - | -windows* | -osx | -abug | -netware* | -os9* \ - | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) - ;; - -mac*) - os=`echo "$os" | sed -e 's|mac|macos|'` - ;; - -linux-dietlibc) - os=-linux-dietlibc - ;; - -linux*) - os=`echo $os | sed -e 's|linux|linux-gnu|'` - ;; - -sunos5*) - os=`echo "$os" | sed -e 's|sunos5|solaris2|'` - ;; - -sunos6*) - os=`echo "$os" | sed -e 's|sunos6|solaris3|'` - ;; - -opened*) - os=-openedition - ;; - -os400*) - os=-os400 - ;; - -wince*) - os=-wince - ;; - -utek*) - os=-bsd - ;; - -dynix*) - os=-bsd - ;; - -acis*) - os=-aos - ;; - -atheos*) - os=-atheos - ;; - -syllable*) - os=-syllable - ;; - -386bsd) - os=-bsd - ;; - -ctix* | -uts*) - os=-sysv - ;; - -nova*) - os=-rtmk-nova - ;; - -ns2) - os=-nextstep2 - ;; - -nsk*) - os=-nsk - ;; - # Preserve the version number of sinix5. - -sinix5.*) - os=`echo $os | sed -e 's|sinix|sysv|'` - ;; - -sinix*) - os=-sysv4 - ;; - -tpf*) - os=-tpf - ;; - -triton*) - os=-sysv3 - ;; - -oss*) - os=-sysv3 - ;; - -svr4*) - os=-sysv4 - ;; - -svr3) - os=-sysv3 - ;; - -sysvr4) - os=-sysv4 - ;; - # This must come after -sysvr4. - -sysv*) - ;; - -ose*) - os=-ose - ;; - -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) - os=-mint - ;; - -zvmoe) - os=-zvmoe - ;; - -dicos*) - os=-dicos - ;; - -pikeos*) - # Until real need of OS specific support for - # particular features comes up, bare metal - # configurations are quite functional. - case $basic_machine in - arm*) - os=-eabi - ;; - *) - os=-elf - ;; - esac - ;; - -nacl*) - ;; - -ios) - ;; - -none) - ;; - *) - # Get rid of the `-' at the beginning of $os. - os=`echo $os | sed 's/[^-]*-//'` - echo Invalid configuration \`"$1"\': system \`"$os"\' not recognized 1>&2 - exit 1 - ;; -esac -else - -# Here we handle the default operating systems that come with various machines. -# The value should be what the vendor currently ships out the door with their -# machine or put another way, the most popular os provided with the machine. - -# Note that if you're going to try to match "-MANUFACTURER" here (say, -# "-sun"), then you have to tell the case statement up towards the top -# that MANUFACTURER isn't an operating system. Otherwise, code above -# will signal an error saying that MANUFACTURER isn't an operating -# system, and we'll never get to this point. - -case $basic_machine in - score-*) - os=-elf - ;; - spu-*) - os=-elf - ;; - *-acorn) - os=-riscix1.2 - ;; - arm*-rebel) - os=-linux - ;; - arm*-semi) - os=-aout - ;; - c4x-* | tic4x-*) - os=-coff - ;; - c8051-*) - os=-elf - ;; - hexagon-*) - os=-elf - ;; - tic54x-*) - os=-coff - ;; - tic55x-*) - os=-coff - ;; - tic6x-*) - os=-coff - ;; - # This must come before the *-dec entry. - pdp10-*) - os=-tops20 - ;; - pdp11-*) - os=-none - ;; - *-dec | vax-*) - os=-ultrix4.2 - ;; - m68*-apollo) - os=-domain - ;; - i386-sun) - os=-sunos4.0.2 - ;; - m68000-sun) - os=-sunos3 - ;; - m68*-cisco) - os=-aout - ;; - mep-*) - os=-elf - ;; - mips*-cisco) - os=-elf - ;; - mips*-*) - os=-elf - ;; - or32-*) - os=-coff - ;; - *-tti) # must be before sparc entry or we get the wrong os. - os=-sysv3 - ;; - sparc-* | *-sun) - os=-sunos4.1.1 - ;; - pru-*) - os=-elf - ;; - *-be) - os=-beos - ;; - *-ibm) - os=-aix - ;; - *-knuth) - os=-mmixware - ;; - *-wec) - os=-proelf - ;; - *-winbond) - os=-proelf - ;; - *-oki) - os=-proelf - ;; - *-hp) - os=-hpux - ;; - *-hitachi) - os=-hiux - ;; - i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) - os=-sysv - ;; - *-cbm) - os=-amigaos - ;; - *-dg) - os=-dgux - ;; - *-dolphin) - os=-sysv3 - ;; - m68k-ccur) - os=-rtu - ;; - m88k-omron*) - os=-luna - ;; - *-next) - os=-nextstep - ;; - *-sequent) - os=-ptx - ;; - *-crds) - os=-unos - ;; - *-ns) - os=-genix - ;; - i370-*) - os=-mvs - ;; - *-gould) - os=-sysv - ;; - *-highlevel) - os=-bsd - ;; - *-encore) - os=-bsd - ;; - *-sgi) - os=-irix - ;; - *-siemens) - os=-sysv4 - ;; - *-masscomp) - os=-rtu - ;; - f30[01]-fujitsu | f700-fujitsu) - os=-uxpv - ;; - *-rom68k) - os=-coff - ;; - *-*bug) - os=-coff - ;; - *-apple) - os=-macos - ;; - *-atari*) - os=-mint - ;; - *) - os=-none - ;; -esac -fi - -# Here we handle the case where we know the os, and the CPU type, but not the -# manufacturer. We pick the logical manufacturer. -vendor=unknown -case $basic_machine in - *-unknown) - case $os in - -riscix*) - vendor=acorn - ;; - -sunos*) - vendor=sun - ;; - -cnk*|-aix*) - vendor=ibm - ;; - -beos*) - vendor=be - ;; - -hpux*) - vendor=hp - ;; - -mpeix*) - vendor=hp - ;; - -hiux*) - vendor=hitachi - ;; - -unos*) - vendor=crds - ;; - -dgux*) - vendor=dg - ;; - -luna*) - vendor=omron - ;; - -genix*) - vendor=ns - ;; - -mvs* | -opened*) - vendor=ibm - ;; - -os400*) - vendor=ibm - ;; - -ptx*) - vendor=sequent - ;; - -tpf*) - vendor=ibm - ;; - -vxsim* | -vxworks* | -windiss*) - vendor=wrs - ;; - -aux*) - vendor=apple - ;; - -hms*) - vendor=hitachi - ;; - -mpw* | -macos*) - vendor=apple - ;; - -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) - vendor=atari - ;; - -vos*) - vendor=stratus - ;; - esac - basic_machine=`echo "$basic_machine" | sed "s/unknown/$vendor/"` - ;; -esac - -echo "$basic_machine$os" -exit - -# Local variables: -# eval: (add-hook 'write-file-functions 'time-stamp) -# time-stamp-start: "timestamp='" -# time-stamp-format: "%:y-%02m-%02d" -# time-stamp-end: "'" -# End: diff --git a/harfbuzz/configure b/harfbuzz/configure deleted file mode 100755 index 9fa5331..0000000 --- a/harfbuzz/configure +++ /dev/null @@ -1,24563 +0,0 @@ -#! /bin/sh -# Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for HarfBuzz 3.2.0. -# -# Report bugs to . -# -# -# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. -# -# -# This configure script is free software; the Free Software Foundation -# gives unlimited permission to copy, distribute and modify it. -## -------------------- ## -## M4sh Initialization. ## -## -------------------- ## - -# Be more Bourne compatible -DUALCASE=1; export DUALCASE # for MKS sh -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : - emulate sh - NULLCMD=: - # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which - # is contrary to our usage. Disable this feature. - alias -g '${1+"$@"}'='"$@"' - setopt NO_GLOB_SUBST -else - case `(set -o) 2>/dev/null` in #( - *posix*) : - set -o posix ;; #( - *) : - ;; -esac -fi - - -as_nl=' -' -export as_nl -# Printing a long string crashes Solaris 7 /usr/bin/printf. -as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo -# Prefer a ksh shell builtin over an external printf program on Solaris, -# but without wasting forks for bash or zsh. -if test -z "$BASH_VERSION$ZSH_VERSION" \ - && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then - as_echo='print -r --' - as_echo_n='print -rn --' -elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then - as_echo='printf %s\n' - as_echo_n='printf %s' -else - if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then - as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' - as_echo_n='/usr/ucb/echo -n' - else - as_echo_body='eval expr "X$1" : "X\\(.*\\)"' - as_echo_n_body='eval - arg=$1; - case $arg in #( - *"$as_nl"*) - expr "X$arg" : "X\\(.*\\)$as_nl"; - arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; - esac; - expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" - ' - export as_echo_n_body - as_echo_n='sh -c $as_echo_n_body as_echo' - fi - export as_echo_body - as_echo='sh -c $as_echo_body as_echo' -fi - -# The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then - PATH_SEPARATOR=: - (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { - (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || - PATH_SEPARATOR=';' - } -fi - - -# IFS -# We need space, tab and new line, in precisely that order. Quoting is -# there to prevent editors from complaining about space-tab. -# (If _AS_PATH_WALK were called with IFS unset, it would disable word -# splitting by setting IFS to empty value.) -IFS=" "" $as_nl" - -# Find who we are. Look in the path if we contain no directory separator. -as_myself= -case $0 in #(( - *[\\/]* ) as_myself=$0 ;; - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break - done -IFS=$as_save_IFS - - ;; -esac -# We did not find ourselves, most probably we were run as `sh COMMAND' -# in which case we are not to be found in the path. -if test "x$as_myself" = x; then - as_myself=$0 -fi -if test ! -f "$as_myself"; then - $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 - exit 1 -fi - -# Unset variables that we do not need and which cause bugs (e.g. in -# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" -# suppresses any "Segmentation fault" message there. '((' could -# trigger a bug in pdksh 5.2.14. -for as_var in BASH_ENV ENV MAIL MAILPATH -do eval test x\${$as_var+set} = xset \ - && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : -done -PS1='$ ' -PS2='> ' -PS4='+ ' - -# NLS nuisances. -LC_ALL=C -export LC_ALL -LANGUAGE=C -export LANGUAGE - -# CDPATH. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH - -# Use a proper internal environment variable to ensure we don't fall - # into an infinite loop, continuously re-executing ourselves. - if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then - _as_can_reexec=no; export _as_can_reexec; - # We cannot yet assume a decent shell, so we have to provide a -# neutralization value for shells without unset; and this also -# works around shells that cannot unset nonexistent variables. -# Preserve -v and -x to the replacement shell. -BASH_ENV=/dev/null -ENV=/dev/null -(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV -case $- in # (((( - *v*x* | *x*v* ) as_opts=-vx ;; - *v* ) as_opts=-v ;; - *x* ) as_opts=-x ;; - * ) as_opts= ;; -esac -exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} -# Admittedly, this is quite paranoid, since all the known shells bail -# out after a failed `exec'. -$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 -as_fn_exit 255 - fi - # We don't want this to propagate to other subprocesses. - { _as_can_reexec=; unset _as_can_reexec;} -if test "x$CONFIG_SHELL" = x; then - as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : - emulate sh - NULLCMD=: - # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which - # is contrary to our usage. Disable this feature. - alias -g '\${1+\"\$@\"}'='\"\$@\"' - setopt NO_GLOB_SUBST -else - case \`(set -o) 2>/dev/null\` in #( - *posix*) : - set -o posix ;; #( - *) : - ;; -esac -fi -" - as_required="as_fn_return () { (exit \$1); } -as_fn_success () { as_fn_return 0; } -as_fn_failure () { as_fn_return 1; } -as_fn_ret_success () { return 0; } -as_fn_ret_failure () { return 1; } - -exitcode=0 -as_fn_success || { exitcode=1; echo as_fn_success failed.; } -as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } -as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } -as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } -if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : - -else - exitcode=1; echo positional parameters were not saved. -fi -test x\$exitcode = x0 || exit 1 -test -x / || exit 1" - as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO - as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO - eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && - test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 -test \$(( 1 + 1 )) = 2 || exit 1 - - test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( - ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' - ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO - ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO - PATH=/empty FPATH=/empty; export PATH FPATH - test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ - || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1" - if (eval "$as_required") 2>/dev/null; then : - as_have_required=yes -else - as_have_required=no -fi - if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : - -else - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -as_found=false -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - as_found=: - case $as_dir in #( - /*) - for as_base in sh bash ksh sh5; do - # Try only shells that exist, to save several forks. - as_shell=$as_dir/$as_base - if { test -f "$as_shell" || test -f "$as_shell.exe"; } && - { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : - CONFIG_SHELL=$as_shell as_have_required=yes - if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : - break 2 -fi -fi - done;; - esac - as_found=false -done -$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && - { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : - CONFIG_SHELL=$SHELL as_have_required=yes -fi; } -IFS=$as_save_IFS - - - if test "x$CONFIG_SHELL" != x; then : - export CONFIG_SHELL - # We cannot yet assume a decent shell, so we have to provide a -# neutralization value for shells without unset; and this also -# works around shells that cannot unset nonexistent variables. -# Preserve -v and -x to the replacement shell. -BASH_ENV=/dev/null -ENV=/dev/null -(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV -case $- in # (((( - *v*x* | *x*v* ) as_opts=-vx ;; - *v* ) as_opts=-v ;; - *x* ) as_opts=-x ;; - * ) as_opts= ;; -esac -exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} -# Admittedly, this is quite paranoid, since all the known shells bail -# out after a failed `exec'. -$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 -exit 255 -fi - - if test x$as_have_required = xno; then : - $as_echo "$0: This script requires a shell more modern than all" - $as_echo "$0: the shells that I found on your system." - if test x${ZSH_VERSION+set} = xset ; then - $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" - $as_echo "$0: be upgraded to zsh 4.3.4 or later." - else - $as_echo "$0: Please tell bug-autoconf@gnu.org and -$0: https://github.com/harfbuzz/harfbuzz/issues/new about -$0: your system, including any error possibly output before -$0: this message. Then install a modern shell, or manually -$0: run the script under such a shell if you do have one." - fi - exit 1 -fi -fi -fi -SHELL=${CONFIG_SHELL-/bin/sh} -export SHELL -# Unset more variables known to interfere with behavior of common tools. -CLICOLOR_FORCE= GREP_OPTIONS= -unset CLICOLOR_FORCE GREP_OPTIONS - -## --------------------- ## -## M4sh Shell Functions. ## -## --------------------- ## -# as_fn_unset VAR -# --------------- -# Portably unset VAR. -as_fn_unset () -{ - { eval $1=; unset $1;} -} -as_unset=as_fn_unset - -# as_fn_set_status STATUS -# ----------------------- -# Set $? to STATUS, without forking. -as_fn_set_status () -{ - return $1 -} # as_fn_set_status - -# as_fn_exit STATUS -# ----------------- -# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. -as_fn_exit () -{ - set +e - as_fn_set_status $1 - exit $1 -} # as_fn_exit - -# as_fn_mkdir_p -# ------------- -# Create "$as_dir" as a directory, including parents if necessary. -as_fn_mkdir_p () -{ - - case $as_dir in #( - -*) as_dir=./$as_dir;; - esac - test -d "$as_dir" || eval $as_mkdir_p || { - as_dirs= - while :; do - case $as_dir in #( - *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( - *) as_qdir=$as_dir;; - esac - as_dirs="'$as_qdir' $as_dirs" - as_dir=`$as_dirname -- "$as_dir" || -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$as_dir" : 'X\(//\)[^/]' \| \ - X"$as_dir" : 'X\(//\)$' \| \ - X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$as_dir" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - test -d "$as_dir" && break - done - test -z "$as_dirs" || eval "mkdir $as_dirs" - } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" - - -} # as_fn_mkdir_p - -# as_fn_executable_p FILE -# ----------------------- -# Test if FILE is an executable regular file. -as_fn_executable_p () -{ - test -f "$1" && test -x "$1" -} # as_fn_executable_p -# as_fn_append VAR VALUE -# ---------------------- -# Append the text in VALUE to the end of the definition contained in VAR. Take -# advantage of any shell optimizations that allow amortized linear growth over -# repeated appends, instead of the typical quadratic growth present in naive -# implementations. -if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : - eval 'as_fn_append () - { - eval $1+=\$2 - }' -else - as_fn_append () - { - eval $1=\$$1\$2 - } -fi # as_fn_append - -# as_fn_arith ARG... -# ------------------ -# Perform arithmetic evaluation on the ARGs, and store the result in the -# global $as_val. Take advantage of shells that can avoid forks. The arguments -# must be portable across $(()) and expr. -if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : - eval 'as_fn_arith () - { - as_val=$(( $* )) - }' -else - as_fn_arith () - { - as_val=`expr "$@" || test $? -eq 1` - } -fi # as_fn_arith - - -# as_fn_error STATUS ERROR [LINENO LOG_FD] -# ---------------------------------------- -# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are -# provided, also output the error to LOG_FD, referencing LINENO. Then exit the -# script with STATUS, using 1 if that was 0. -as_fn_error () -{ - as_status=$1; test $as_status -eq 0 && as_status=1 - if test "$4"; then - as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 - fi - $as_echo "$as_me: error: $2" >&2 - as_fn_exit $as_status -} # as_fn_error - -if expr a : '\(a\)' >/dev/null 2>&1 && - test "X`expr 00001 : '.*\(...\)'`" = X001; then - as_expr=expr -else - as_expr=false -fi - -if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then - as_basename=basename -else - as_basename=false -fi - -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then - as_dirname=dirname -else - as_dirname=false -fi - -as_me=`$as_basename -- "$0" || -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ - X"$0" : 'X\(//\)$' \| \ - X"$0" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X/"$0" | - sed '/^.*\/\([^/][^/]*\)\/*$/{ - s//\1/ - q - } - /^X\/\(\/\/\)$/{ - s//\1/ - q - } - /^X\/\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - -# Avoid depending upon Character Ranges. -as_cr_letters='abcdefghijklmnopqrstuvwxyz' -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' -as_cr_Letters=$as_cr_letters$as_cr_LETTERS -as_cr_digits='0123456789' -as_cr_alnum=$as_cr_Letters$as_cr_digits - - - as_lineno_1=$LINENO as_lineno_1a=$LINENO - as_lineno_2=$LINENO as_lineno_2a=$LINENO - eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && - test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { - # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) - sed -n ' - p - /[$]LINENO/= - ' <$as_myself | - sed ' - s/[$]LINENO.*/&-/ - t lineno - b - :lineno - N - :loop - s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ - t loop - s/-\n.*// - ' >$as_me.lineno && - chmod +x "$as_me.lineno" || - { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } - - # If we had to re-execute with $CONFIG_SHELL, we're ensured to have - # already done that, so ensure we don't try to do so again and fall - # in an infinite loop. This has already happened in practice. - _as_can_reexec=no; export _as_can_reexec - # Don't try to exec as it changes $[0], causing all sort of problems - # (the dirname of $[0] is not the place where we might find the - # original and so on. Autoconf is especially sensitive to this). - . "./$as_me.lineno" - # Exit status is that of the last command. - exit -} - -ECHO_C= ECHO_N= ECHO_T= -case `echo -n x` in #((((( --n*) - case `echo 'xy\c'` in - *c*) ECHO_T=' ';; # ECHO_T is single tab character. - xy) ECHO_C='\c';; - *) echo `echo ksh88 bug on AIX 6.1` > /dev/null - ECHO_T=' ';; - esac;; -*) - ECHO_N='-n';; -esac - -rm -f conf$$ conf$$.exe conf$$.file -if test -d conf$$.dir; then - rm -f conf$$.dir/conf$$.file -else - rm -f conf$$.dir - mkdir conf$$.dir 2>/dev/null -fi -if (echo >conf$$.file) 2>/dev/null; then - if ln -s conf$$.file conf$$ 2>/dev/null; then - as_ln_s='ln -s' - # ... but there are two gotchas: - # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. - # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. - # In both cases, we have to default to `cp -pR'. - ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || - as_ln_s='cp -pR' - elif ln conf$$.file conf$$ 2>/dev/null; then - as_ln_s=ln - else - as_ln_s='cp -pR' - fi -else - as_ln_s='cp -pR' -fi -rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file -rmdir conf$$.dir 2>/dev/null - -if mkdir -p . 2>/dev/null; then - as_mkdir_p='mkdir -p "$as_dir"' -else - test -d ./-p && rmdir ./-p - as_mkdir_p=false -fi - -as_test_x='test -x' -as_executable_p=as_fn_executable_p - -# Sed expression to map a string onto a valid CPP name. -as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" - -# Sed expression to map a string onto a valid variable name. -as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" - -SHELL=${CONFIG_SHELL-/bin/sh} - - -test -n "$DJDIR" || exec 7<&0 &1 - -# Name of the host. -# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, -# so uname gets run too. -ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` - -# -# Initializations. -# -ac_default_prefix=/usr/local -ac_clean_files= -ac_config_libobj_dir=. -LIBOBJS= -cross_compiling=no -subdirs= -MFLAGS= -MAKEFLAGS= - -# Identity of this package. -PACKAGE_NAME='HarfBuzz' -PACKAGE_TARNAME='harfbuzz' -PACKAGE_VERSION='3.2.0' -PACKAGE_STRING='HarfBuzz 3.2.0' -PACKAGE_BUGREPORT='https://github.com/harfbuzz/harfbuzz/issues/new' -PACKAGE_URL='http://harfbuzz.org/' - -ac_unique_file="src/harfbuzz.pc.in" -# Factoring default headers for most tests. -ac_includes_default="\ -#include -#ifdef HAVE_SYS_TYPES_H -# include -#endif -#ifdef HAVE_SYS_STAT_H -# include -#endif -#ifdef STDC_HEADERS -# include -# include -#else -# ifdef HAVE_STDLIB_H -# include -# endif -#endif -#ifdef HAVE_STRING_H -# if !defined STDC_HEADERS && defined HAVE_MEMORY_H -# include -# endif -# include -#endif -#ifdef HAVE_STRINGS_H -# include -#endif -#ifdef HAVE_INTTYPES_H -# include -#endif -#ifdef HAVE_STDINT_H -# include -#endif -#ifdef HAVE_UNISTD_H -# include -#endif" - -ac_subst_vars='am__EXEEXT_FALSE -am__EXEEXT_TRUE -LTLIBOBJS -LIBOBJS -HAVE_CORETEXT_FALSE -HAVE_CORETEXT_TRUE -CORETEXT_LIBS -CORETEXT_CFLAGS -HAVE_DIRECTWRITE_FALSE -HAVE_DIRECTWRITE_TRUE -DIRECTWRITE_LIBS -DIRECTWRITE_CXXFLAGS -HAVE_GDI_FALSE -HAVE_GDI_TRUE -GDI_LIBS -GDI_CFLAGS -HAVE_UNISCRIBE_FALSE -HAVE_UNISCRIBE_TRUE -UNISCRIBE_LIBS -UNISCRIBE_CFLAGS -HAVE_FREETYPE_FALSE -HAVE_FREETYPE_TRUE -FREETYPE_LIBS -FREETYPE_CFLAGS -FREETYPE_DEPS -HAVE_GRAPHITE2_FALSE -HAVE_GRAPHITE2_TRUE -GRAPHITE2_LIBS -GRAPHITE2_CFLAGS -GRAPHITE2_DEPS -HAVE_ICU_BUILTIN_FALSE -HAVE_ICU_BUILTIN_TRUE -HAVE_ICU_FALSE -HAVE_ICU_TRUE -ICU_LIBS -ICU_CFLAGS -HAVE_CHAFA_FALSE -HAVE_CHAFA_TRUE -CHAFA_LIBS -CHAFA_CFLAGS -HAVE_CAIRO_FT_FALSE -HAVE_CAIRO_FT_TRUE -CAIRO_FT_LIBS -CAIRO_FT_CFLAGS -HAVE_CAIRO_FALSE -HAVE_CAIRO_TRUE -CAIRO_LIBS -CAIRO_CFLAGS -HAVE_INTROSPECTION_FALSE -HAVE_INTROSPECTION_TRUE -INTROSPECTION_MAKEFILE -INTROSPECTION_LIBS -INTROSPECTION_CFLAGS -INTROSPECTION_TYPELIBDIR -INTROSPECTION_GIRDIR -INTROSPECTION_GENERATE -INTROSPECTION_COMPILER -INTROSPECTION_SCANNER -_GI_EXP_LIBDIR -_GI_EXP_DATADIR -have_gobject -HAVE_GOBJECT_FALSE -HAVE_GOBJECT_TRUE -GLIB_MKENUMS -GOBJECT_LIBS -GOBJECT_CFLAGS -HAVE_GLIB_FALSE -HAVE_GLIB_TRUE -GLIB_LIBS -GLIB_CFLAGS -GLIB_DEPS -HAVE_PTHREAD_FALSE -HAVE_PTHREAD_TRUE -PTHREAD_CFLAGS -PTHREAD_LIBS -PTHREAD_CC -ax_pthread_config -OS_WIN32_FALSE -OS_WIN32_TRUE -HAVE_GCC_FALSE -HAVE_GCC_TRUE -GTK_DOC_USE_REBASE_FALSE -GTK_DOC_USE_REBASE_TRUE -GTK_DOC_USE_LIBTOOL_FALSE -GTK_DOC_USE_LIBTOOL_TRUE -GTK_DOC_BUILD_PDF_FALSE -GTK_DOC_BUILD_PDF_TRUE -GTK_DOC_BUILD_HTML_FALSE -GTK_DOC_BUILD_HTML_TRUE -ENABLE_GTK_DOC_FALSE -ENABLE_GTK_DOC_TRUE -HAVE_GTK_DOC_FALSE -HAVE_GTK_DOC_TRUE -GTKDOC_DEPS_LIBS -GTKDOC_DEPS_CFLAGS -HTML_DIR -GTKDOC_MKPDF -GTKDOC_REBASE -GTKDOC_CHECK_PATH -GTKDOC_CHECK -WITH_LIBSTDCXX_FALSE -WITH_LIBSTDCXX_TRUE -HB_LIBTOOL_VERSION_INFO -HB_VERSION -HB_VERSION_MICRO -HB_VERSION_MINOR -HB_VERSION_MAJOR -GIT -RAGEL -PKG_CONFIG_LIBDIR -PKG_CONFIG_PATH -PKG_CONFIG -HAVE_CXX11 -CXXCPP -am__fastdepCXX_FALSE -am__fastdepCXX_TRUE -CXXDEPMODE -ac_ct_CXX -CXXFLAGS -CXX -CPP -LT_SYS_LIBRARY_PATH -OTOOL64 -OTOOL -LIPO -NMEDIT -DSYMUTIL -MANIFEST_TOOL -RANLIB -DLLTOOL -OBJDUMP -LN_S -NM -ac_ct_DUMPBIN -DUMPBIN -LD -FGREP -EGREP -GREP -host_os -host_vendor -host_cpu -host -build_os -build_vendor -build_cpu -build -LIBTOOL -am__fastdepCC_FALSE -am__fastdepCC_TRUE -CCDEPMODE -am__nodep -AMDEPBACKSLASH -AMDEP_FALSE -AMDEP_TRUE -am__include -DEPDIR -OBJEXT -EXEEXT -ac_ct_CC -CPPFLAGS -LDFLAGS -CFLAGS -CC -ac_ct_AR -AR -CODE_COVERAGE_RULES -CODE_COVERAGE_LDFLAGS -CODE_COVERAGE_LIBS -CODE_COVERAGE_CXXFLAGS -CODE_COVERAGE_CFLAGS -CODE_COVERAGE_CPPFLAGS -GENHTML -LCOV -GCOV -CODE_COVERAGE_ENABLED -CODE_COVERAGE_ENABLED_FALSE -CODE_COVERAGE_ENABLED_TRUE -SED -AM_BACKSLASH -AM_DEFAULT_VERBOSITY -AM_DEFAULT_V -AM_V -am__untar -am__tar -AMTAR -am__leading_dot -SET_MAKE -AWK -mkdir_p -MKDIR_P -INSTALL_STRIP_PROGRAM -STRIP -install_sh -MAKEINFO -AUTOHEADER -AUTOMAKE -AUTOCONF -ACLOCAL -VERSION -PACKAGE -CYGPATH_W -am__isrc -INSTALL_DATA -INSTALL_SCRIPT -INSTALL_PROGRAM -target_alias -host_alias -build_alias -LIBS -ECHO_T -ECHO_N -ECHO_C -DEFS -mandir -localedir -libdir -psdir -pdfdir -dvidir -htmldir -infodir -docdir -oldincludedir -includedir -runstatedir -localstatedir -sharedstatedir -sysconfdir -datadir -datarootdir -libexecdir -sbindir -bindir -program_transform_name -prefix -exec_prefix -PACKAGE_URL -PACKAGE_BUGREPORT -PACKAGE_STRING -PACKAGE_VERSION -PACKAGE_TARNAME -PACKAGE_NAME -PATH_SEPARATOR -SHELL -am__quote' -ac_subst_files='' -ac_user_opts=' -enable_option_checking -enable_silent_rules -with_gcov -enable_code_coverage -enable_dependency_tracking -enable_static -enable_shared -with_pic -enable_fast_install -with_aix_soname -with_gnu_ld -with_sysroot -enable_libtool_lock -enable_largefile -with_libstdc__ -with_html_dir -enable_gtk_doc -enable_gtk_doc_html -enable_gtk_doc_pdf -with_glib -with_gobject -enable_introspection -with_cairo -with_chafa -with_icu -with_graphite2 -with_freetype -with_uniscribe -with_gdi -with_directwrite -with_coretext -' - ac_precious_vars='build_alias -host_alias -target_alias -CC -CFLAGS -LDFLAGS -LIBS -CPPFLAGS -LT_SYS_LIBRARY_PATH -CPP -CXX -CXXFLAGS -CCC -CXXCPP -PKG_CONFIG -PKG_CONFIG_PATH -PKG_CONFIG_LIBDIR -GTKDOC_DEPS_CFLAGS -GTKDOC_DEPS_LIBS -GLIB_CFLAGS -GLIB_LIBS -GOBJECT_CFLAGS -GOBJECT_LIBS -CAIRO_CFLAGS -CAIRO_LIBS -CAIRO_FT_CFLAGS -CAIRO_FT_LIBS -CHAFA_CFLAGS -CHAFA_LIBS -ICU_CFLAGS -ICU_LIBS -GRAPHITE2_CFLAGS -GRAPHITE2_LIBS -FREETYPE_CFLAGS -FREETYPE_LIBS' - - -# Initialize some variables set by options. -ac_init_help= -ac_init_version=false -ac_unrecognized_opts= -ac_unrecognized_sep= -# The variables have the same names as the options, with -# dashes changed to underlines. -cache_file=/dev/null -exec_prefix=NONE -no_create= -no_recursion= -prefix=NONE -program_prefix=NONE -program_suffix=NONE -program_transform_name=s,x,x, -silent= -site= -srcdir= -verbose= -x_includes=NONE -x_libraries=NONE - -# Installation directory options. -# These are left unexpanded so users can "make install exec_prefix=/foo" -# and all the variables that are supposed to be based on exec_prefix -# by default will actually change. -# Use braces instead of parens because sh, perl, etc. also accept them. -# (The list follows the same order as the GNU Coding Standards.) -bindir='${exec_prefix}/bin' -sbindir='${exec_prefix}/sbin' -libexecdir='${exec_prefix}/libexec' -datarootdir='${prefix}/share' -datadir='${datarootdir}' -sysconfdir='${prefix}/etc' -sharedstatedir='${prefix}/com' -localstatedir='${prefix}/var' -runstatedir='${localstatedir}/run' -includedir='${prefix}/include' -oldincludedir='/usr/include' -docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' -infodir='${datarootdir}/info' -htmldir='${docdir}' -dvidir='${docdir}' -pdfdir='${docdir}' -psdir='${docdir}' -libdir='${exec_prefix}/lib' -localedir='${datarootdir}/locale' -mandir='${datarootdir}/man' - -ac_prev= -ac_dashdash= -for ac_option -do - # If the previous option needs an argument, assign it. - if test -n "$ac_prev"; then - eval $ac_prev=\$ac_option - ac_prev= - continue - fi - - case $ac_option in - *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; - *=) ac_optarg= ;; - *) ac_optarg=yes ;; - esac - - # Accept the important Cygnus configure options, so we can diagnose typos. - - case $ac_dashdash$ac_option in - --) - ac_dashdash=yes ;; - - -bindir | --bindir | --bindi | --bind | --bin | --bi) - ac_prev=bindir ;; - -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) - bindir=$ac_optarg ;; - - -build | --build | --buil | --bui | --bu) - ac_prev=build_alias ;; - -build=* | --build=* | --buil=* | --bui=* | --bu=*) - build_alias=$ac_optarg ;; - - -cache-file | --cache-file | --cache-fil | --cache-fi \ - | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) - ac_prev=cache_file ;; - -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ - | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) - cache_file=$ac_optarg ;; - - --config-cache | -C) - cache_file=config.cache ;; - - -datadir | --datadir | --datadi | --datad) - ac_prev=datadir ;; - -datadir=* | --datadir=* | --datadi=* | --datad=*) - datadir=$ac_optarg ;; - - -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ - | --dataroo | --dataro | --datar) - ac_prev=datarootdir ;; - -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ - | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) - datarootdir=$ac_optarg ;; - - -disable-* | --disable-*) - ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` - # Reject names that are not valid shell variable names. - expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error $? "invalid feature name: $ac_useropt" - ac_useropt_orig=$ac_useropt - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` - case $ac_user_opts in - *" -"enable_$ac_useropt" -"*) ;; - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" - ac_unrecognized_sep=', ';; - esac - eval enable_$ac_useropt=no ;; - - -docdir | --docdir | --docdi | --doc | --do) - ac_prev=docdir ;; - -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) - docdir=$ac_optarg ;; - - -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) - ac_prev=dvidir ;; - -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) - dvidir=$ac_optarg ;; - - -enable-* | --enable-*) - ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` - # Reject names that are not valid shell variable names. - expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error $? "invalid feature name: $ac_useropt" - ac_useropt_orig=$ac_useropt - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` - case $ac_user_opts in - *" -"enable_$ac_useropt" -"*) ;; - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" - ac_unrecognized_sep=', ';; - esac - eval enable_$ac_useropt=\$ac_optarg ;; - - -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ - | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ - | --exec | --exe | --ex) - ac_prev=exec_prefix ;; - -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ - | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ - | --exec=* | --exe=* | --ex=*) - exec_prefix=$ac_optarg ;; - - -gas | --gas | --ga | --g) - # Obsolete; use --with-gas. - with_gas=yes ;; - - -help | --help | --hel | --he | -h) - ac_init_help=long ;; - -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) - ac_init_help=recursive ;; - -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) - ac_init_help=short ;; - - -host | --host | --hos | --ho) - ac_prev=host_alias ;; - -host=* | --host=* | --hos=* | --ho=*) - host_alias=$ac_optarg ;; - - -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) - ac_prev=htmldir ;; - -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ - | --ht=*) - htmldir=$ac_optarg ;; - - -includedir | --includedir | --includedi | --included | --include \ - | --includ | --inclu | --incl | --inc) - ac_prev=includedir ;; - -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ - | --includ=* | --inclu=* | --incl=* | --inc=*) - includedir=$ac_optarg ;; - - -infodir | --infodir | --infodi | --infod | --info | --inf) - ac_prev=infodir ;; - -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) - infodir=$ac_optarg ;; - - -libdir | --libdir | --libdi | --libd) - ac_prev=libdir ;; - -libdir=* | --libdir=* | --libdi=* | --libd=*) - libdir=$ac_optarg ;; - - -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ - | --libexe | --libex | --libe) - ac_prev=libexecdir ;; - -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ - | --libexe=* | --libex=* | --libe=*) - libexecdir=$ac_optarg ;; - - -localedir | --localedir | --localedi | --localed | --locale) - ac_prev=localedir ;; - -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) - localedir=$ac_optarg ;; - - -localstatedir | --localstatedir | --localstatedi | --localstated \ - | --localstate | --localstat | --localsta | --localst | --locals) - ac_prev=localstatedir ;; - -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ - | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) - localstatedir=$ac_optarg ;; - - -mandir | --mandir | --mandi | --mand | --man | --ma | --m) - ac_prev=mandir ;; - -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) - mandir=$ac_optarg ;; - - -nfp | --nfp | --nf) - # Obsolete; use --without-fp. - with_fp=no ;; - - -no-create | --no-create | --no-creat | --no-crea | --no-cre \ - | --no-cr | --no-c | -n) - no_create=yes ;; - - -no-recursion | --no-recursion | --no-recursio | --no-recursi \ - | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) - no_recursion=yes ;; - - -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ - | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ - | --oldin | --oldi | --old | --ol | --o) - ac_prev=oldincludedir ;; - -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ - | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ - | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) - oldincludedir=$ac_optarg ;; - - -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) - ac_prev=prefix ;; - -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) - prefix=$ac_optarg ;; - - -program-prefix | --program-prefix | --program-prefi | --program-pref \ - | --program-pre | --program-pr | --program-p) - ac_prev=program_prefix ;; - -program-prefix=* | --program-prefix=* | --program-prefi=* \ - | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) - program_prefix=$ac_optarg ;; - - -program-suffix | --program-suffix | --program-suffi | --program-suff \ - | --program-suf | --program-su | --program-s) - ac_prev=program_suffix ;; - -program-suffix=* | --program-suffix=* | --program-suffi=* \ - | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) - program_suffix=$ac_optarg ;; - - -program-transform-name | --program-transform-name \ - | --program-transform-nam | --program-transform-na \ - | --program-transform-n | --program-transform- \ - | --program-transform | --program-transfor \ - | --program-transfo | --program-transf \ - | --program-trans | --program-tran \ - | --progr-tra | --program-tr | --program-t) - ac_prev=program_transform_name ;; - -program-transform-name=* | --program-transform-name=* \ - | --program-transform-nam=* | --program-transform-na=* \ - | --program-transform-n=* | --program-transform-=* \ - | --program-transform=* | --program-transfor=* \ - | --program-transfo=* | --program-transf=* \ - | --program-trans=* | --program-tran=* \ - | --progr-tra=* | --program-tr=* | --program-t=*) - program_transform_name=$ac_optarg ;; - - -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) - ac_prev=pdfdir ;; - -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) - pdfdir=$ac_optarg ;; - - -psdir | --psdir | --psdi | --psd | --ps) - ac_prev=psdir ;; - -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) - psdir=$ac_optarg ;; - - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ - | -silent | --silent | --silen | --sile | --sil) - silent=yes ;; - - -runstatedir | --runstatedir | --runstatedi | --runstated \ - | --runstate | --runstat | --runsta | --runst | --runs \ - | --run | --ru | --r) - ac_prev=runstatedir ;; - -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ - | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ - | --run=* | --ru=* | --r=*) - runstatedir=$ac_optarg ;; - - -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) - ac_prev=sbindir ;; - -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ - | --sbi=* | --sb=*) - sbindir=$ac_optarg ;; - - -sharedstatedir | --sharedstatedir | --sharedstatedi \ - | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ - | --sharedst | --shareds | --shared | --share | --shar \ - | --sha | --sh) - ac_prev=sharedstatedir ;; - -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ - | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ - | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ - | --sha=* | --sh=*) - sharedstatedir=$ac_optarg ;; - - -site | --site | --sit) - ac_prev=site ;; - -site=* | --site=* | --sit=*) - site=$ac_optarg ;; - - -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) - ac_prev=srcdir ;; - -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) - srcdir=$ac_optarg ;; - - -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ - | --syscon | --sysco | --sysc | --sys | --sy) - ac_prev=sysconfdir ;; - -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ - | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) - sysconfdir=$ac_optarg ;; - - -target | --target | --targe | --targ | --tar | --ta | --t) - ac_prev=target_alias ;; - -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) - target_alias=$ac_optarg ;; - - -v | -verbose | --verbose | --verbos | --verbo | --verb) - verbose=yes ;; - - -version | --version | --versio | --versi | --vers | -V) - ac_init_version=: ;; - - -with-* | --with-*) - ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` - # Reject names that are not valid shell variable names. - expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error $? "invalid package name: $ac_useropt" - ac_useropt_orig=$ac_useropt - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` - case $ac_user_opts in - *" -"with_$ac_useropt" -"*) ;; - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" - ac_unrecognized_sep=', ';; - esac - eval with_$ac_useropt=\$ac_optarg ;; - - -without-* | --without-*) - ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` - # Reject names that are not valid shell variable names. - expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error $? "invalid package name: $ac_useropt" - ac_useropt_orig=$ac_useropt - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` - case $ac_user_opts in - *" -"with_$ac_useropt" -"*) ;; - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" - ac_unrecognized_sep=', ';; - esac - eval with_$ac_useropt=no ;; - - --x) - # Obsolete; use --with-x. - with_x=yes ;; - - -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ - | --x-incl | --x-inc | --x-in | --x-i) - ac_prev=x_includes ;; - -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ - | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) - x_includes=$ac_optarg ;; - - -x-libraries | --x-libraries | --x-librarie | --x-librari \ - | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) - ac_prev=x_libraries ;; - -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ - | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) - x_libraries=$ac_optarg ;; - - -*) as_fn_error $? "unrecognized option: \`$ac_option' -Try \`$0 --help' for more information" - ;; - - *=*) - ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` - # Reject names that are not valid shell variable names. - case $ac_envvar in #( - '' | [0-9]* | *[!_$as_cr_alnum]* ) - as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; - esac - eval $ac_envvar=\$ac_optarg - export $ac_envvar ;; - - *) - # FIXME: should be removed in autoconf 3.0. - $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 - expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && - $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 - : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" - ;; - - esac -done - -if test -n "$ac_prev"; then - ac_option=--`echo $ac_prev | sed 's/_/-/g'` - as_fn_error $? "missing argument to $ac_option" -fi - -if test -n "$ac_unrecognized_opts"; then - case $enable_option_checking in - no) ;; - fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; - *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; - esac -fi - -# Check all directory arguments for consistency. -for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ - datadir sysconfdir sharedstatedir localstatedir includedir \ - oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ - libdir localedir mandir runstatedir -do - eval ac_val=\$$ac_var - # Remove trailing slashes. - case $ac_val in - */ ) - ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` - eval $ac_var=\$ac_val;; - esac - # Be sure to have absolute directory names. - case $ac_val in - [\\/$]* | ?:[\\/]* ) continue;; - NONE | '' ) case $ac_var in *prefix ) continue;; esac;; - esac - as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" -done - -# There might be people who depend on the old broken behavior: `$host' -# used to hold the argument of --host etc. -# FIXME: To remove some day. -build=$build_alias -host=$host_alias -target=$target_alias - -# FIXME: To remove some day. -if test "x$host_alias" != x; then - if test "x$build_alias" = x; then - cross_compiling=maybe - elif test "x$build_alias" != "x$host_alias"; then - cross_compiling=yes - fi -fi - -ac_tool_prefix= -test -n "$host_alias" && ac_tool_prefix=$host_alias- - -test "$silent" = yes && exec 6>/dev/null - - -ac_pwd=`pwd` && test -n "$ac_pwd" && -ac_ls_di=`ls -di .` && -ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || - as_fn_error $? "working directory cannot be determined" -test "X$ac_ls_di" = "X$ac_pwd_ls_di" || - as_fn_error $? "pwd does not report name of working directory" - - -# Find the source files, if location was not specified. -if test -z "$srcdir"; then - ac_srcdir_defaulted=yes - # Try the directory containing this script, then the parent directory. - ac_confdir=`$as_dirname -- "$as_myself" || -$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$as_myself" : 'X\(//\)[^/]' \| \ - X"$as_myself" : 'X\(//\)$' \| \ - X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$as_myself" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - srcdir=$ac_confdir - if test ! -r "$srcdir/$ac_unique_file"; then - srcdir=.. - fi -else - ac_srcdir_defaulted=no -fi -if test ! -r "$srcdir/$ac_unique_file"; then - test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." - as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" -fi -ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" -ac_abs_confdir=`( - cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" - pwd)` -# When building in place, set srcdir=. -if test "$ac_abs_confdir" = "$ac_pwd"; then - srcdir=. -fi -# Remove unnecessary trailing slashes from srcdir. -# Double slashes in file names in object file debugging info -# mess up M-x gdb in Emacs. -case $srcdir in -*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; -esac -for ac_var in $ac_precious_vars; do - eval ac_env_${ac_var}_set=\${${ac_var}+set} - eval ac_env_${ac_var}_value=\$${ac_var} - eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} - eval ac_cv_env_${ac_var}_value=\$${ac_var} -done - -# -# Report the --help message. -# -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 HarfBuzz 3.2.0 to adapt to many kinds of systems. - -Usage: $0 [OPTION]... [VAR=VALUE]... - -To assign environment variables (e.g., CC, CFLAGS...), specify them as -VAR=VALUE. See below for descriptions of some of the useful variables. - -Defaults for the options are specified in brackets. - -Configuration: - -h, --help display this help and exit - --help=short display options specific to this package - --help=recursive display the short help of all the included packages - -V, --version display version information and exit - -q, --quiet, --silent do not print \`checking ...' messages - --cache-file=FILE cache test results in FILE [disabled] - -C, --config-cache alias for \`--cache-file=config.cache' - -n, --no-create do not create output files - --srcdir=DIR find the sources in DIR [configure dir or \`..'] - -Installation directories: - --prefix=PREFIX install architecture-independent files in PREFIX - [$ac_default_prefix] - --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX - [PREFIX] - -By default, \`make install' will install all the files in -\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify -an installation prefix other than \`$ac_default_prefix' using \`--prefix', -for instance \`--prefix=\$HOME'. - -For better control, use the options below. - -Fine tuning of the installation directories: - --bindir=DIR user executables [EPREFIX/bin] - --sbindir=DIR system admin executables [EPREFIX/sbin] - --libexecdir=DIR program executables [EPREFIX/libexec] - --sysconfdir=DIR read-only single-machine data [PREFIX/etc] - --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] - --localstatedir=DIR modifiable single-machine data [PREFIX/var] - --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] - --libdir=DIR object code libraries [EPREFIX/lib] - --includedir=DIR C header files [PREFIX/include] - --oldincludedir=DIR C header files for non-gcc [/usr/include] - --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] - --datadir=DIR read-only architecture-independent data [DATAROOTDIR] - --infodir=DIR info documentation [DATAROOTDIR/info] - --localedir=DIR locale-dependent data [DATAROOTDIR/locale] - --mandir=DIR man documentation [DATAROOTDIR/man] - --docdir=DIR documentation root [DATAROOTDIR/doc/harfbuzz] - --htmldir=DIR html documentation [DOCDIR] - --dvidir=DIR dvi documentation [DOCDIR] - --pdfdir=DIR pdf documentation [DOCDIR] - --psdir=DIR ps documentation [DOCDIR] -_ACEOF - - cat <<\_ACEOF - -Program names: - --program-prefix=PREFIX prepend PREFIX to installed program names - --program-suffix=SUFFIX append SUFFIX to installed program names - --program-transform-name=PROGRAM run sed PROGRAM on installed program names - -System types: - --build=BUILD configure for building on BUILD [guessed] - --host=HOST cross-compile to build programs to run on HOST [BUILD] -_ACEOF -fi - -if test -n "$ac_init_help"; then - case $ac_init_help in - short | recursive ) echo "Configuration of HarfBuzz 3.2.0:";; - esac - cat <<\_ACEOF - -Optional Features: - --disable-option-checking ignore unrecognized --enable/--with options - --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) - --enable-FEATURE[=ARG] include FEATURE [ARG=yes] - --enable-silent-rules less verbose build output (undo: "make V=1") - --disable-silent-rules verbose build output (undo: "make V=0") - --enable-code-coverage Whether to enable code coverage support - --enable-dependency-tracking - do not reject slow dependency extractors - --disable-dependency-tracking - speeds up one-time build - --enable-static[=PKGS] build static libraries [default=no] - --enable-shared[=PKGS] build shared libraries [default=yes] - --enable-fast-install[=PKGS] - optimize for fast installation [default=yes] - --disable-libtool-lock avoid locking (might break parallel builds) - --disable-largefile omit support for large files - --enable-gtk-doc use gtk-doc to build documentation [[default=no]] - --enable-gtk-doc-html build documentation in html format [[default=yes]] - --enable-gtk-doc-pdf build documentation in pdf format [[default=no]] - --enable-introspection=[no/auto/yes] - Enable introspection for this build - -Optional Packages: - --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] - --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) - --with-gcov=GCOV use given GCOV for coverage (GCOV=gcov). - --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use - both] - --with-aix-soname=aix|svr4|both - shared library versioning (aka "SONAME") variant to - provide on AIX, [default=aix]. - --with-gnu-ld assume the C compiler uses GNU ld [default=no] - --with-sysroot[=DIR] Search for dependent libraries within DIR (or the - compiler's sysroot if not specified). - --with-libstdc++=[yes/no] - Allow linking with libstdc++ [default=no] - --with-html-dir=PATH path to installed docs - --with-glib=[yes/no/auto] - Use glib [default=auto] - --with-gobject=[yes/no/auto] - Use gobject [default=no] - --with-cairo=[yes/no/auto] - Use cairo [default=auto] - --with-chafa=[yes/no/auto] - Use chafa [default=auto] - --with-icu=[yes/no/builtin/auto] - Use ICU [default=auto] - --with-graphite2=[yes/no/auto] - Use the graphite2 library [default=no] - --with-freetype=[yes/no/auto] - Use the FreeType library [default=auto] - --with-uniscribe=[yes/no/auto] - Use the Uniscribe library [default=no] - --with-gdi=[yes/no/auto] - Provide GDI integration helpers [default=no] - --with-directwrite=[yes/no/auto] - Use the DirectWrite library (experimental) - [default=no] - --with-coretext=[yes/no/auto] - Use CoreText [default=no] - -Some influential environment variables: - CC C compiler command - CFLAGS C compiler flags - LDFLAGS linker flags, e.g. -L if you have libraries in a - nonstandard directory - LIBS libraries to pass to the linker, e.g. -l - CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I if - you have headers in a nonstandard directory - LT_SYS_LIBRARY_PATH - User-defined run-time library search path. - CPP C preprocessor - CXX C++ compiler command - CXXFLAGS C++ compiler flags - CXXCPP C++ preprocessor - PKG_CONFIG path to pkg-config utility - PKG_CONFIG_PATH - directories to add to pkg-config's search path - PKG_CONFIG_LIBDIR - path overriding pkg-config's built-in search path - GTKDOC_DEPS_CFLAGS - C compiler flags for GTKDOC_DEPS, overriding pkg-config - GTKDOC_DEPS_LIBS - linker flags for GTKDOC_DEPS, overriding pkg-config - GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config - GLIB_LIBS linker flags for GLIB, overriding pkg-config - GOBJECT_CFLAGS - C compiler flags for GOBJECT, overriding pkg-config - GOBJECT_LIBS - linker flags for GOBJECT, overriding pkg-config - CAIRO_CFLAGS - C compiler flags for CAIRO, overriding pkg-config - CAIRO_LIBS linker flags for CAIRO, overriding pkg-config - CAIRO_FT_CFLAGS - C compiler flags for CAIRO_FT, overriding pkg-config - CAIRO_FT_LIBS - linker flags for CAIRO_FT, overriding pkg-config - CHAFA_CFLAGS - C compiler flags for CHAFA, overriding pkg-config - CHAFA_LIBS linker flags for CHAFA, overriding pkg-config - ICU_CFLAGS C compiler flags for ICU, overriding pkg-config - ICU_LIBS linker flags for ICU, overriding pkg-config - GRAPHITE2_CFLAGS - C compiler flags for GRAPHITE2, overriding pkg-config - GRAPHITE2_LIBS - linker flags for GRAPHITE2, overriding pkg-config - FREETYPE_CFLAGS - C compiler flags for FREETYPE, overriding pkg-config - FREETYPE_LIBS - linker flags for FREETYPE, overriding pkg-config - -Use these variables to override the choices made by `configure' or to help -it to find libraries and programs with nonstandard names/locations. - -Report bugs to . -HarfBuzz home page: . -_ACEOF -ac_status=$? -fi - -if test "$ac_init_help" = "recursive"; then - # If there are subdirs, report their specific --help. - for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue - test -d "$ac_dir" || - { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || - continue - ac_builddir=. - -case "$ac_dir" in -.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; -*) - ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` - # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` - case $ac_top_builddir_sub in - "") ac_top_builddir_sub=. ac_top_build_prefix= ;; - *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; - esac ;; -esac -ac_abs_top_builddir=$ac_pwd -ac_abs_builddir=$ac_pwd$ac_dir_suffix -# for backward compatibility: -ac_top_builddir=$ac_top_build_prefix - -case $srcdir in - .) # We are building in place. - ac_srcdir=. - ac_top_srcdir=$ac_top_builddir_sub - ac_abs_top_srcdir=$ac_pwd ;; - [\\/]* | ?:[\\/]* ) # Absolute name. - ac_srcdir=$srcdir$ac_dir_suffix; - ac_top_srcdir=$srcdir - ac_abs_top_srcdir=$srcdir ;; - *) # Relative name. - ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix - ac_top_srcdir=$ac_top_build_prefix$srcdir - ac_abs_top_srcdir=$ac_pwd/$srcdir ;; -esac -ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix - - cd "$ac_dir" || { ac_status=$?; continue; } - # Check for guested configure. - if test -f "$ac_srcdir/configure.gnu"; then - echo && - $SHELL "$ac_srcdir/configure.gnu" --help=recursive - elif test -f "$ac_srcdir/configure"; then - echo && - $SHELL "$ac_srcdir/configure" --help=recursive - else - $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 - fi || ac_status=$? - cd "$ac_pwd" || { ac_status=$?; break; } - done -fi - -test -n "$ac_init_help" && exit $ac_status -if $ac_init_version; then - cat <<\_ACEOF -HarfBuzz configure 3.2.0 -generated by GNU Autoconf 2.69 - -Copyright (C) 2012 Free Software Foundation, Inc. -This configure script is free software; the Free Software Foundation -gives unlimited permission to copy, distribute and modify it. -_ACEOF - exit -fi - -## ------------------------ ## -## Autoconf initialization. ## -## ------------------------ ## - -# ac_fn_c_try_compile LINENO -# -------------------------- -# Try to compile conftest.$ac_ext, and return whether this succeeded. -ac_fn_c_try_compile () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - 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:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_compile") 2>conftest.err - ac_status=$? - if test -s conftest.err; then - grep -v '^ *+' conftest.err >conftest.er1 - cat conftest.er1 >&5 - mv -f conftest.er1 conftest.err - fi - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then : - ac_retval=0 -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_retval=1 -fi - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - as_fn_set_status $ac_retval - -} # ac_fn_c_try_compile - -# ac_fn_c_try_link LINENO -# ----------------------- -# Try to link conftest.$ac_ext, and return whether this succeeded. -ac_fn_c_try_link () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - rm -f conftest.$ac_objext conftest$ac_exeext - if { { ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_link") 2>conftest.err - ac_status=$? - if test -s conftest.err; then - grep -v '^ *+' conftest.err >conftest.er1 - cat conftest.er1 >&5 - mv -f conftest.er1 conftest.err - fi - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - test -x conftest$ac_exeext - }; then : - ac_retval=0 -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_retval=1 -fi - # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information - # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would - # interfere with the next link command; also delete a directory that is - # left behind by Apple's compiler. We do this before executing the actions. - rm -rf conftest.dSYM conftest_ipa8_conftest.oo - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - as_fn_set_status $ac_retval - -} # ac_fn_c_try_link - -# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES -# ------------------------------------------------------- -# Tests whether HEADER exists and can be compiled using the include files in -# INCLUDES, setting the cache variable VAR accordingly. -ac_fn_c_check_header_compile () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if eval \${$3+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -#include <$2> -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - eval "$3=yes" -else - eval "$3=no" -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - -} # ac_fn_c_check_header_compile - -# ac_fn_c_try_cpp LINENO -# ---------------------- -# Try to preprocess conftest.$ac_ext, and return whether this succeeded. -ac_fn_c_try_cpp () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - if { { ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err - ac_status=$? - if test -s conftest.err; then - grep -v '^ *+' conftest.err >conftest.er1 - cat conftest.er1 >&5 - mv -f conftest.er1 conftest.err - fi - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } > conftest.i && { - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || - test ! -s conftest.err - }; then : - ac_retval=0 -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_retval=1 -fi - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - as_fn_set_status $ac_retval - -} # ac_fn_c_try_cpp - -# ac_fn_c_try_run LINENO -# ---------------------- -# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes -# that executables *can* be run. -ac_fn_c_try_run () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - if { { ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' - { { case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; }; then : - ac_retval=0 -else - $as_echo "$as_me: program exited with status $ac_status" >&5 - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_retval=$ac_status -fi - rm -rf conftest.dSYM conftest_ipa8_conftest.oo - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - as_fn_set_status $ac_retval - -} # ac_fn_c_try_run - -# ac_fn_c_check_func LINENO FUNC VAR -# ---------------------------------- -# Tests whether FUNC exists, setting the cache variable VAR accordingly -ac_fn_c_check_func () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if eval \${$3+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -/* Define $2 to an innocuous variant, in case declares $2. - For example, HP-UX 11i declares gettimeofday. */ -#define $2 innocuous_$2 - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $2 (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif - -#undef $2 - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char $2 (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined __stub_$2 || defined __stub___$2 -choke me -#endif - -int -main () -{ -return $2 (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - eval "$3=yes" -else - eval "$3=no" -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - -} # ac_fn_c_check_func - -# ac_fn_cxx_try_compile LINENO -# ---------------------------- -# Try to compile conftest.$ac_ext, and return whether this succeeded. -ac_fn_cxx_try_compile () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - 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:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_compile") 2>conftest.err - ac_status=$? - if test -s conftest.err; then - grep -v '^ *+' conftest.err >conftest.er1 - cat conftest.er1 >&5 - mv -f conftest.er1 conftest.err - fi - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } && { - test -z "$ac_cxx_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then : - ac_retval=0 -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_retval=1 -fi - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - as_fn_set_status $ac_retval - -} # ac_fn_cxx_try_compile - -# ac_fn_cxx_try_cpp LINENO -# ------------------------ -# Try to preprocess conftest.$ac_ext, and return whether this succeeded. -ac_fn_cxx_try_cpp () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - if { { ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err - ac_status=$? - if test -s conftest.err; then - grep -v '^ *+' conftest.err >conftest.er1 - cat conftest.er1 >&5 - mv -f conftest.er1 conftest.err - fi - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } > conftest.i && { - test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || - test ! -s conftest.err - }; then : - ac_retval=0 -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_retval=1 -fi - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - as_fn_set_status $ac_retval - -} # ac_fn_cxx_try_cpp - -# ac_fn_cxx_try_link LINENO -# ------------------------- -# Try to link conftest.$ac_ext, and return whether this succeeded. -ac_fn_cxx_try_link () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - rm -f conftest.$ac_objext conftest$ac_exeext - if { { ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_link") 2>conftest.err - ac_status=$? - if test -s conftest.err; then - grep -v '^ *+' conftest.err >conftest.er1 - cat conftest.er1 >&5 - mv -f conftest.er1 conftest.err - fi - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } && { - test -z "$ac_cxx_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - test -x conftest$ac_exeext - }; then : - ac_retval=0 -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_retval=1 -fi - # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information - # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would - # interfere with the next link command; also delete a directory that is - # left behind by Apple's compiler. We do this before executing the actions. - rm -rf conftest.dSYM conftest_ipa8_conftest.oo - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - as_fn_set_status $ac_retval - -} # ac_fn_cxx_try_link - -# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES -# ------------------------------------------------------- -# Tests whether HEADER exists, giving a warning if it cannot be compiled using -# the include files in INCLUDES and setting the cache variable VAR -# accordingly. -ac_fn_c_check_header_mongrel () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - if eval \${$3+:} false; then : - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if eval \${$3+:} false; then : - $as_echo_n "(cached) " >&6 -fi -eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -else - # Is the header compilable? -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 -$as_echo_n "checking $2 usability... " >&6; } -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -#include <$2> -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_header_compiler=yes -else - ac_header_compiler=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 -$as_echo "$ac_header_compiler" >&6; } - -# Is the header present? -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 -$as_echo_n "checking $2 presence... " >&6; } -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <$2> -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - ac_header_preproc=yes -else - ac_header_preproc=no -fi -rm -f conftest.err conftest.i conftest.$ac_ext -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 -$as_echo "$ac_header_preproc" >&6; } - -# So? What about this header? -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( - yes:no: ) - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 -$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 -$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} - ;; - no:yes:* ) - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 -$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 -$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 -$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 -$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 -$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} -( $as_echo "## -------------------------------------------------------------- ## -## Report this to https://github.com/harfbuzz/harfbuzz/issues/new ## -## -------------------------------------------------------------- ##" - ) | sed "s/^/$as_me: WARNING: /" >&2 - ;; -esac - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if eval \${$3+:} false; then : - $as_echo_n "(cached) " >&6 -else - eval "$3=\$ac_header_compiler" -fi -eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -fi - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - -} # ac_fn_c_check_header_mongrel - -# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES -# -------------------------------------------- -# Tries to find the compile-time value of EXPR in a program that includes -# INCLUDES, setting VAR accordingly. Returns whether the value could be -# computed -ac_fn_c_compute_int () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - if test "$cross_compiling" = yes; then - # Depending upon the size, compute the lo and hi bounds. -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -int -main () -{ -static int test_array [1 - 2 * !(($2) >= 0)]; -test_array [0] = 0; -return test_array [0]; - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_lo=0 ac_mid=0 - while :; do - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -int -main () -{ -static int test_array [1 - 2 * !(($2) <= $ac_mid)]; -test_array [0] = 0; -return test_array [0]; - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_hi=$ac_mid; break -else - as_fn_arith $ac_mid + 1 && ac_lo=$as_val - if test $ac_lo -le $ac_mid; then - ac_lo= ac_hi= - break - fi - as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - done -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -int -main () -{ -static int test_array [1 - 2 * !(($2) < 0)]; -test_array [0] = 0; -return test_array [0]; - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_hi=-1 ac_mid=-1 - while :; do - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -int -main () -{ -static int test_array [1 - 2 * !(($2) >= $ac_mid)]; -test_array [0] = 0; -return test_array [0]; - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_lo=$ac_mid; break -else - as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val - if test $ac_mid -le $ac_hi; then - ac_lo= ac_hi= - break - fi - as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - done -else - ac_lo= ac_hi= -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -# Binary search between lo and hi bounds. -while test "x$ac_lo" != "x$ac_hi"; do - as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -int -main () -{ -static int test_array [1 - 2 * !(($2) <= $ac_mid)]; -test_array [0] = 0; -return test_array [0]; - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_hi=$ac_mid -else - as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -done -case $ac_lo in #(( -?*) eval "$3=\$ac_lo"; ac_retval=0 ;; -'') ac_retval=1 ;; -esac - else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -static long int longval () { return $2; } -static unsigned long int ulongval () { return $2; } -#include -#include -int -main () -{ - - FILE *f = fopen ("conftest.val", "w"); - if (! f) - return 1; - if (($2) < 0) - { - long int i = longval (); - if (i != ($2)) - return 1; - fprintf (f, "%ld", i); - } - else - { - unsigned long int i = ulongval (); - if (i != ($2)) - return 1; - fprintf (f, "%lu", i); - } - /* Do not output a trailing newline, as this causes \r\n confusion - on some platforms. */ - return ferror (f) || fclose (f) != 0; - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_run "$LINENO"; then : - echo >>conftest.val; read $3 &5 -$as_echo_n "checking for $2... " >&6; } -if eval \${$3+:} false; then : - $as_echo_n "(cached) " >&6 -fi -eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -else - # Is the header compilable? -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 -$as_echo_n "checking $2 usability... " >&6; } -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -#include <$2> -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - ac_header_compiler=yes -else - ac_header_compiler=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 -$as_echo "$ac_header_compiler" >&6; } - -# Is the header present? -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 -$as_echo_n "checking $2 presence... " >&6; } -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <$2> -_ACEOF -if ac_fn_cxx_try_cpp "$LINENO"; then : - ac_header_preproc=yes -else - ac_header_preproc=no -fi -rm -f conftest.err conftest.i conftest.$ac_ext -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 -$as_echo "$ac_header_preproc" >&6; } - -# So? What about this header? -case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #(( - yes:no: ) - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 -$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 -$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} - ;; - no:yes:* ) - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 -$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 -$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 -$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 -$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 -$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} -( $as_echo "## -------------------------------------------------------------- ## -## Report this to https://github.com/harfbuzz/harfbuzz/issues/new ## -## -------------------------------------------------------------- ##" - ) | sed "s/^/$as_me: WARNING: /" >&2 - ;; -esac - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if eval \${$3+:} false; then : - $as_echo_n "(cached) " >&6 -else - eval "$3=\$ac_header_compiler" -fi -eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -fi - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - -} # ac_fn_cxx_check_header_mongrel - -# ac_fn_c_check_type LINENO TYPE VAR INCLUDES -# ------------------------------------------- -# Tests whether TYPE exists after having included INCLUDES, setting cache -# variable VAR accordingly. -ac_fn_c_check_type () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if eval \${$3+:} false; then : - $as_echo_n "(cached) " >&6 -else - eval "$3=no" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -int -main () -{ -if (sizeof ($2)) - return 0; - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -int -main () -{ -if (sizeof (($2))) - return 0; - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - -else - eval "$3=yes" -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - -} # ac_fn_c_check_type -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 HarfBuzz $as_me 3.2.0, which was -generated by GNU Autoconf 2.69. Invocation command line was - - $ $0 $@ - -_ACEOF -exec 5>>config.log -{ -cat <<_ASUNAME -## --------- ## -## Platform. ## -## --------- ## - -hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` -uname -m = `(uname -m) 2>/dev/null || echo unknown` -uname -r = `(uname -r) 2>/dev/null || echo unknown` -uname -s = `(uname -s) 2>/dev/null || echo unknown` -uname -v = `(uname -v) 2>/dev/null || echo unknown` - -/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` -/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` - -/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` -/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` -/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` -/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` -/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` -/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` -/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` - -_ASUNAME - -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - $as_echo "PATH: $as_dir" - done -IFS=$as_save_IFS - -} >&5 - -cat >&5 <<_ACEOF - - -## ----------- ## -## Core tests. ## -## ----------- ## - -_ACEOF - - -# Keep a trace of the command line. -# Strip out --no-create and --no-recursion so they do not pile up. -# Strip out --silent because we don't want to record it for future runs. -# Also quote any args containing shell meta-characters. -# Make two passes to allow for proper duplicate-argument suppression. -ac_configure_args= -ac_configure_args0= -ac_configure_args1= -ac_must_keep_next=false -for ac_pass in 1 2 -do - for ac_arg - do - case $ac_arg in - -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ - | -silent | --silent | --silen | --sile | --sil) - continue ;; - *\'*) - ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; - esac - case $ac_pass in - 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; - 2) - as_fn_append ac_configure_args1 " '$ac_arg'" - if test $ac_must_keep_next = true; then - ac_must_keep_next=false # Got value, back to normal. - else - case $ac_arg in - *=* | --config-cache | -C | -disable-* | --disable-* \ - | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ - | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ - | -with-* | --with-* | -without-* | --without-* | --x) - case "$ac_configure_args0 " in - "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; - esac - ;; - -* ) ac_must_keep_next=true ;; - esac - fi - as_fn_append ac_configure_args " '$ac_arg'" - ;; - esac - done -done -{ ac_configure_args0=; unset ac_configure_args0;} -{ ac_configure_args1=; unset ac_configure_args1;} - -# When interrupted or exit'd, cleanup temporary files, and complete -# config.log. We remove comments because anyway the quotes in there -# would cause problems or look ugly. -# WARNING: Use '\'' to represent an apostrophe within the trap. -# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. -trap 'exit_status=$? - # Save into config.log some information that might help in debugging. - { - echo - - $as_echo "## ---------------- ## -## Cache variables. ## -## ---------------- ##" - echo - # The following way of writing the cache mishandles newlines in values, -( - for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do - eval ac_val=\$$ac_var - case $ac_val in #( - *${as_nl}*) - case $ac_var in #( - *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 -$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; - esac - case $ac_var in #( - _ | IFS | as_nl) ;; #( - BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( - *) { eval $ac_var=; unset $ac_var;} ;; - esac ;; - esac - done - (set) 2>&1 | - case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( - *${as_nl}ac_space=\ *) - sed -n \ - "s/'\''/'\''\\\\'\'''\''/g; - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" - ;; #( - *) - sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" - ;; - esac | - sort -) - echo - - $as_echo "## ----------------- ## -## Output variables. ## -## ----------------- ##" - echo - for ac_var in $ac_subst_vars - do - eval ac_val=\$$ac_var - case $ac_val in - *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; - esac - $as_echo "$ac_var='\''$ac_val'\''" - done | sort - echo - - if test -n "$ac_subst_files"; then - $as_echo "## ------------------- ## -## File substitutions. ## -## ------------------- ##" - echo - for ac_var in $ac_subst_files - do - eval ac_val=\$$ac_var - case $ac_val in - *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; - esac - $as_echo "$ac_var='\''$ac_val'\''" - done | sort - echo - fi - - if test -s confdefs.h; then - $as_echo "## ----------- ## -## confdefs.h. ## -## ----------- ##" - echo - cat confdefs.h - echo - fi - test "$ac_signal" != 0 && - $as_echo "$as_me: caught signal $ac_signal" - $as_echo "$as_me: exit $exit_status" - } >&5 - rm -f core *.core core.conftest.* && - rm -f -r conftest* confdefs* conf$$* $ac_clean_files && - exit $exit_status -' 0 -for ac_signal in 1 2 13 15; do - trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal -done -ac_signal=0 - -# confdefs.h avoids OS command line length limits that DEFS can exceed. -rm -f -r conftest* confdefs.h - -$as_echo "/* confdefs.h */" > confdefs.h - -# Predefined preprocessor variables. - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_NAME "$PACKAGE_NAME" -_ACEOF - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_TARNAME "$PACKAGE_TARNAME" -_ACEOF - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_VERSION "$PACKAGE_VERSION" -_ACEOF - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_STRING "$PACKAGE_STRING" -_ACEOF - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" -_ACEOF - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_URL "$PACKAGE_URL" -_ACEOF - - -# Let the site file select an alternate cache file if it wants to. -# Prefer an explicitly selected file to automatically selected ones. -ac_site_file1=NONE -ac_site_file2=NONE -if test -n "$CONFIG_SITE"; then - # We do not want a PATH search for config.site. - case $CONFIG_SITE in #(( - -*) ac_site_file1=./$CONFIG_SITE;; - */*) ac_site_file1=$CONFIG_SITE;; - *) ac_site_file1=./$CONFIG_SITE;; - esac -elif test "x$prefix" != xNONE; then - ac_site_file1=$prefix/share/config.site - ac_site_file2=$prefix/etc/config.site -else - ac_site_file1=$ac_default_prefix/share/config.site - ac_site_file2=$ac_default_prefix/etc/config.site -fi -for ac_site_file in "$ac_site_file1" "$ac_site_file2" -do - test "x$ac_site_file" = xNONE && continue - if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 -$as_echo "$as_me: loading site script $ac_site_file" >&6;} - sed 's/^/| /' "$ac_site_file" >&5 - . "$ac_site_file" \ - || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "failed to load site script $ac_site_file -See \`config.log' for more details" "$LINENO" 5; } - fi -done - -if test -r "$cache_file"; then - # Some versions of bash will fail to source /dev/null (special files - # actually), so we avoid doing that. DJGPP emulates it as a regular file. - if test /dev/null != "$cache_file" && test -f "$cache_file"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 -$as_echo "$as_me: loading cache $cache_file" >&6;} - case $cache_file in - [\\/]* | ?:[\\/]* ) . "$cache_file";; - *) . "./$cache_file";; - esac - fi -else - { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 -$as_echo "$as_me: creating cache $cache_file" >&6;} - >$cache_file -fi - -# Check that the precious variables saved in the cache have kept the same -# value. -ac_cache_corrupted=false -for ac_var in $ac_precious_vars; do - eval ac_old_set=\$ac_cv_env_${ac_var}_set - eval ac_new_set=\$ac_env_${ac_var}_set - eval ac_old_val=\$ac_cv_env_${ac_var}_value - eval ac_new_val=\$ac_env_${ac_var}_value - case $ac_old_set,$ac_new_set in - set,) - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 -$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} - ac_cache_corrupted=: ;; - ,set) - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 -$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} - ac_cache_corrupted=: ;; - ,);; - *) - if test "x$ac_old_val" != "x$ac_new_val"; then - # differences in whitespace do not lead to failure. - ac_old_val_w=`echo x $ac_old_val` - ac_new_val_w=`echo x $ac_new_val` - if test "$ac_old_val_w" != "$ac_new_val_w"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 -$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} - ac_cache_corrupted=: - else - { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 -$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} - eval $ac_var=\$ac_old_val - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 -$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 -$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} - fi;; - esac - # Pass precious variables to config.status. - if test "$ac_new_set" = set; then - case $ac_new_val in - *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; - *) ac_arg=$ac_var=$ac_new_val ;; - esac - case " $ac_configure_args " in - *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. - *) as_fn_append ac_configure_args " '$ac_arg'" ;; - esac - fi -done -if $ac_cache_corrupted; then - { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 -$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} - as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 -fi -## -------------------- ## -## Main body of script. ## -## -------------------- ## - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - - - - -ac_config_headers="$ac_config_headers config.h" - - -am__api_version='1.16' - -ac_aux_dir= -for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do - if test -f "$ac_dir/install-sh"; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/install-sh -c" - break - elif test -f "$ac_dir/install.sh"; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/install.sh -c" - break - elif test -f "$ac_dir/shtool"; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/shtool install -c" - break - fi -done -if test -z "$ac_aux_dir"; then - as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 -fi - -# These three variables are undocumented and unsupported, -# and are intended to be withdrawn in a future Autoconf release. -# They can cause serious problems if a builder's source tree is in a directory -# whose full name contains unusual characters. -ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. -ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. -ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. - - -# Find a good install program. We prefer a C program (faster), -# so one script is as good as another. But avoid the broken or -# incompatible versions: -# SysV /etc/install, /usr/sbin/install -# SunOS /usr/etc/install -# IRIX /sbin/install -# AIX /bin/install -# AmigaOS /C/install, which installs bootblocks on floppy discs -# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag -# AFS /usr/afsws/bin/install, which mishandles nonexistent args -# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" -# OS/2's system install, which has a completely different semantic -# ./install, which can be erroneously created by make from ./install.sh. -# Reject install programs that cannot install multiple files. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 -$as_echo_n "checking for a BSD-compatible install... " >&6; } -if test -z "$INSTALL"; then -if ${ac_cv_path_install+:} false; then : - $as_echo_n "(cached) " >&6 -else - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - # Account for people who put trailing slashes in PATH elements. -case $as_dir/ in #(( - ./ | .// | /[cC]/* | \ - /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ - ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ - /usr/ucb/* ) ;; - *) - # OSF1 and SCO ODT 3.0 have their own names for install. - # Don't use installbsd from OSF since it installs stuff as root - # by default. - for ac_prog in ginstall scoinst install; do - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then - if test $ac_prog = install && - grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then - # AIX install. It has an incompatible calling convention. - : - elif test $ac_prog = install && - grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then - # program-specific install script used by HP pwplus--don't use. - : - else - rm -rf conftest.one conftest.two conftest.dir - echo one > conftest.one - echo two > conftest.two - mkdir conftest.dir - if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && - test -s conftest.one && test -s conftest.two && - test -s conftest.dir/conftest.one && - test -s conftest.dir/conftest.two - then - ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" - break 3 - fi - fi - fi - done - done - ;; -esac - - done -IFS=$as_save_IFS - -rm -rf conftest.one conftest.two conftest.dir - -fi - if test "${ac_cv_path_install+set}" = set; then - INSTALL=$ac_cv_path_install - else - # As a last resort, use the slow shell script. Don't cache a - # value for INSTALL within a source directory, because that will - # break other packages using the cache if that directory is - # removed, or if the value is a relative name. - INSTALL=$ac_install_sh - fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 -$as_echo "$INSTALL" >&6; } - -# Use test -z because SunOS4 sh mishandles braces in ${var-val}. -# It thinks the first close brace ends the variable substitution. -test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' - -test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' - -test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 -$as_echo_n "checking whether build environment is sane... " >&6; } -# Reject unsafe characters in $srcdir or the absolute working directory -# name. Accept space and tab only in the latter. -am_lf=' -' -case `pwd` in - *[\\\"\#\$\&\'\`$am_lf]*) - as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; -esac -case $srcdir in - *[\\\"\#\$\&\'\`$am_lf\ \ ]*) - as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; -esac - -# Do 'set' in a subshell so we don't clobber the current shell's -# arguments. Must try -L first in case configure is actually a -# symlink; some systems play weird games with the mod time of symlinks -# (eg FreeBSD returns the mod time of the symlink's containing -# directory). -if ( - am_has_slept=no - for am_try in 1 2; do - echo "timestamp, slept: $am_has_slept" > conftest.file - set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` - if test "$*" = "X"; then - # -L didn't work. - set X `ls -t "$srcdir/configure" conftest.file` - fi - if test "$*" != "X $srcdir/configure conftest.file" \ - && test "$*" != "X conftest.file $srcdir/configure"; then - - # If neither matched, then we have a broken ls. This can happen - # if, for instance, CONFIG_SHELL is bash and it inherits a - # broken ls alias from the environment. This has actually - # happened. Such a system could not be considered "sane". - as_fn_error $? "ls -t appears to fail. Make sure there is not a broken - alias in your environment" "$LINENO" 5 - fi - if test "$2" = conftest.file || test $am_try -eq 2; then - break - fi - # Just in case. - sleep 1 - am_has_slept=yes - done - test "$2" = conftest.file - ) -then - # Ok. - : -else - as_fn_error $? "newly created file is older than distributed files! -Check your system clock" "$LINENO" 5 -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } -# If we didn't sleep, we still need to ensure time stamps of config.status and -# generated files are strictly newer. -am_sleep_pid= -if grep 'slept: no' conftest.file >/dev/null 2>&1; then - ( sleep 1 ) & - am_sleep_pid=$! -fi - -rm -f conftest.file - -test "$program_prefix" != NONE && - program_transform_name="s&^&$program_prefix&;$program_transform_name" -# Use a double $ so make ignores it. -test "$program_suffix" != NONE && - program_transform_name="s&\$&$program_suffix&;$program_transform_name" -# Double any \ or $. -# By default was `s,x,x', remove it if useless. -ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' -program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` - -# Expand $ac_aux_dir to an absolute path. -am_aux_dir=`cd "$ac_aux_dir" && pwd` - -if test x"${MISSING+set}" != xset; then - case $am_aux_dir in - *\ * | *\ *) - MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; - *) - MISSING="\${SHELL} $am_aux_dir/missing" ;; - esac -fi -# Use eval to expand $SHELL -if eval "$MISSING --is-lightweight"; then - am_missing_run="$MISSING " -else - am_missing_run= - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 -$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} -fi - -if test x"${install_sh+set}" != xset; then - case $am_aux_dir in - *\ * | *\ *) - install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; - *) - install_sh="\${SHELL} $am_aux_dir/install-sh" - esac -fi - -# Installed binaries are usually stripped using 'strip' when the user -# run "make install-strip". However 'strip' might not be the right -# tool to use in cross-compilation environments, therefore Automake -# will honor the 'STRIP' environment variable to overrule this program. -if test "$cross_compiling" != no; then - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. -set dummy ${ac_tool_prefix}strip; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_STRIP+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$STRIP"; then - ac_cv_prog_STRIP="$STRIP" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_STRIP="${ac_tool_prefix}strip" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -STRIP=$ac_cv_prog_STRIP -if test -n "$STRIP"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 -$as_echo "$STRIP" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_STRIP"; then - ac_ct_STRIP=$STRIP - # Extract the first word of "strip", so it can be a program name with args. -set dummy strip; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_STRIP+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_STRIP"; then - ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_STRIP="strip" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP -if test -n "$ac_ct_STRIP"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 -$as_echo "$ac_ct_STRIP" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_STRIP" = x; then - STRIP=":" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - STRIP=$ac_ct_STRIP - fi -else - STRIP="$ac_cv_prog_STRIP" -fi - -fi -INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 -$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } -if test -z "$MKDIR_P"; then - if ${ac_cv_path_mkdir+:} false; then : - $as_echo_n "(cached) " >&6 -else - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_prog in mkdir gmkdir; do - for ac_exec_ext in '' $ac_executable_extensions; do - as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue - case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( - 'mkdir (GNU coreutils) '* | \ - 'mkdir (coreutils) '* | \ - 'mkdir (fileutils) '4.1*) - ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext - break 3;; - esac - done - done - done -IFS=$as_save_IFS - -fi - - test -d ./--version && rmdir ./--version - if test "${ac_cv_path_mkdir+set}" = set; then - MKDIR_P="$ac_cv_path_mkdir -p" - else - # As a last resort, use the slow shell script. Don't cache a - # value for MKDIR_P within a source directory, because that will - # break other packages using the cache if that directory is - # removed, or if the value is a relative name. - MKDIR_P="$ac_install_sh -d" - fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 -$as_echo "$MKDIR_P" >&6; } - -for ac_prog in gawk mawk nawk awk -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_AWK+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$AWK"; then - ac_cv_prog_AWK="$AWK" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_AWK="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -AWK=$ac_cv_prog_AWK -if test -n "$AWK"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 -$as_echo "$AWK" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$AWK" && break -done - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 -$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } -set x ${MAKE-make} -ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` -if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat >conftest.make <<\_ACEOF -SHELL = /bin/sh -all: - @echo '@@@%%%=$(MAKE)=@@@%%%' -_ACEOF -# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. -case `${MAKE-make} -f conftest.make 2>/dev/null` in - *@@@%%%=?*=@@@%%%*) - eval ac_cv_prog_make_${ac_make}_set=yes;; - *) - eval ac_cv_prog_make_${ac_make}_set=no;; -esac -rm -f conftest.make -fi -if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } - SET_MAKE= -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - SET_MAKE="MAKE=${MAKE-make}" -fi - -rm -rf .tst 2>/dev/null -mkdir .tst 2>/dev/null -if test -d .tst; then - am__leading_dot=. -else - am__leading_dot=_ -fi -rmdir .tst 2>/dev/null - -# Check whether --enable-silent-rules was given. -if test "${enable_silent_rules+set}" = set; then : - enableval=$enable_silent_rules; -fi - -case $enable_silent_rules in # ((( - yes) AM_DEFAULT_VERBOSITY=0;; - no) AM_DEFAULT_VERBOSITY=1;; - *) AM_DEFAULT_VERBOSITY=1;; -esac -am_make=${MAKE-make} -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 -$as_echo_n "checking whether $am_make supports nested variables... " >&6; } -if ${am_cv_make_support_nested_variables+:} false; then : - $as_echo_n "(cached) " >&6 -else - if $as_echo 'TRUE=$(BAR$(V)) -BAR0=false -BAR1=true -V=1 -am__doit: - @$(TRUE) -.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then - am_cv_make_support_nested_variables=yes -else - am_cv_make_support_nested_variables=no -fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 -$as_echo "$am_cv_make_support_nested_variables" >&6; } -if test $am_cv_make_support_nested_variables = yes; then - AM_V='$(V)' - AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' -else - AM_V=$AM_DEFAULT_VERBOSITY - AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY -fi -AM_BACKSLASH='\' - -if test "`cd $srcdir && pwd`" != "`pwd`"; then - # Use -I$(srcdir) only when $(srcdir) != ., so that make's output - # is not polluted with repeated "-I." - am__isrc=' -I$(srcdir)' - # test to see if srcdir already configured - if test -f $srcdir/config.status; then - as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 - fi -fi - -# test whether we have cygpath -if test -z "$CYGPATH_W"; then - if (cygpath --version) >/dev/null 2>/dev/null; then - CYGPATH_W='cygpath -w' - else - CYGPATH_W=echo - fi -fi - - -# Define the identity of the package. - PACKAGE='harfbuzz' - VERSION='3.2.0' - - -# Some tools Automake needs. - -ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} - - -AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} - - -AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} - - -AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} - - -MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} - -# For better backward compatibility. To be removed once Automake 1.9.x -# dies out for good. For more background, see: -# -# -mkdir_p='$(MKDIR_P)' - -# We need awk for the "check" target (and possibly the TAP driver). The -# system "awk" is bad on some platforms. -# Always define AMTAR for backward compatibility. Yes, it's still used -# in the wild :-( We should find a proper way to deprecate it ... -AMTAR='$${TAR-tar}' - - -# We'll loop over all known methods to create a tar archive until one works. -_am_tools='gnutar plaintar pax cpio none' - -# The POSIX 1988 'ustar' format is defined with fixed-size fields. - # There is notably a 21 bits limit for the UID and the GID. In fact, - # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 - # and bug#13588). - am_max_uid=2097151 # 2^21 - 1 - am_max_gid=$am_max_uid - # The $UID and $GID variables are not portable, so we need to resort - # to the POSIX-mandated id(1) utility. Errors in the 'id' calls - # below are definitely unexpected, so allow the users to see them - # (that is, avoid stderr redirection). - am_uid=`id -u || echo unknown` - am_gid=`id -g || echo unknown` - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5 -$as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; } - if test $am_uid -le $am_max_uid; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } - else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - _am_tools=none - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5 -$as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; } - if test $am_gid -le $am_max_gid; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } - else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - _am_tools=none - fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5 -$as_echo_n "checking how to create a ustar tar archive... " >&6; } - - # Go ahead even if we have the value already cached. We do so because we - # need to set the values for the 'am__tar' and 'am__untar' variables. - _am_tools=${am_cv_prog_tar_ustar-$_am_tools} - - for _am_tool in $_am_tools; do - case $_am_tool in - gnutar) - for _am_tar in tar gnutar gtar; do - { echo "$as_me:$LINENO: $_am_tar --version" >&5 - ($_am_tar --version) >&5 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && break - done - am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"' - am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"' - am__untar="$_am_tar -xf -" - ;; - plaintar) - # Must skip GNU tar: if it does not support --format= it doesn't create - # ustar tarball either. - (tar --version) >/dev/null 2>&1 && continue - am__tar='tar chf - "$$tardir"' - am__tar_='tar chf - "$tardir"' - am__untar='tar xf -' - ;; - pax) - am__tar='pax -L -x ustar -w "$$tardir"' - am__tar_='pax -L -x ustar -w "$tardir"' - am__untar='pax -r' - ;; - cpio) - am__tar='find "$$tardir" -print | cpio -o -H ustar -L' - am__tar_='find "$tardir" -print | cpio -o -H ustar -L' - am__untar='cpio -i -H ustar -d' - ;; - none) - am__tar=false - am__tar_=false - am__untar=false - ;; - esac - - # If the value was cached, stop now. We just wanted to have am__tar - # and am__untar set. - test -n "${am_cv_prog_tar_ustar}" && break - - # tar/untar a dummy directory, and stop if the command works. - rm -rf conftest.dir - mkdir conftest.dir - echo GrepMe > conftest.dir/file - { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5 - (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } - rm -rf conftest.dir - if test -s conftest.tar; then - { echo "$as_me:$LINENO: $am__untar &5 - ($am__untar &5 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } - { echo "$as_me:$LINENO: cat conftest.dir/file" >&5 - (cat conftest.dir/file) >&5 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } - grep GrepMe conftest.dir/file >/dev/null 2>&1 && break - fi - done - rm -rf conftest.dir - - if ${am_cv_prog_tar_ustar+:} false; then : - $as_echo_n "(cached) " >&6 -else - am_cv_prog_tar_ustar=$_am_tool -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5 -$as_echo "$am_cv_prog_tar_ustar" >&6; } - - - - - - -# POSIX will say in a future version that running "rm -f" with no argument -# is OK; and we want to be able to make that assumption in our Makefile -# recipes. So use an aggressive probe to check that the usage we want is -# actually supported "in the wild" to an acceptable degree. -# See automake bug#10828. -# To make any issue more visible, cause the running configure to be aborted -# by default if the 'rm' program in use doesn't match our expectations; the -# user can still override this though. -if rm -f && rm -fr && rm -rf; then : OK; else - cat >&2 <<'END' -Oops! - -Your 'rm' program seems unable to run without file operands specified -on the command line, even when the '-f' option is present. This is contrary -to the behaviour of most rm programs out there, and not conforming with -the upcoming POSIX standard: - -Please tell bug-automake@gnu.org about your system, including the value -of your $PATH and any error possibly output before this message. This -can help us improve future automake versions. - -END - if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then - echo 'Configuration will proceed anyway, since you have set the' >&2 - echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 - echo >&2 - else - cat >&2 <<'END' -Aborting the configuration process, to ensure you take notice of the issue. - -You can download and install GNU coreutils to get an 'rm' implementation -that behaves properly: . - -If you want to complete the configuration process using your problematic -'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM -to "yes", and re-run configure. - -END - as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 - fi -fi - -# Check whether --enable-silent-rules was given. -if test "${enable_silent_rules+set}" = set; then : - enableval=$enable_silent_rules; -fi - -case $enable_silent_rules in # ((( - yes) AM_DEFAULT_VERBOSITY=0;; - no) AM_DEFAULT_VERBOSITY=1;; - *) AM_DEFAULT_VERBOSITY=0;; -esac -am_make=${MAKE-make} -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 -$as_echo_n "checking whether $am_make supports nested variables... " >&6; } -if ${am_cv_make_support_nested_variables+:} false; then : - $as_echo_n "(cached) " >&6 -else - if $as_echo 'TRUE=$(BAR$(V)) -BAR0=false -BAR1=true -V=1 -am__doit: - @$(TRUE) -.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then - am_cv_make_support_nested_variables=yes -else - am_cv_make_support_nested_variables=no -fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 -$as_echo "$am_cv_make_support_nested_variables" >&6; } -if test $am_cv_make_support_nested_variables = yes; then - AM_V='$(V)' - AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' -else - AM_V=$AM_DEFAULT_VERBOSITY - AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY -fi -AM_BACKSLASH='\' - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 -$as_echo_n "checking for a sed that does not truncate output... " >&6; } -if ${ac_cv_path_SED+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ - for ac_i in 1 2 3 4 5 6 7; do - ac_script="$ac_script$as_nl$ac_script" - done - echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed - { ac_script=; unset ac_script;} - if test -z "$SED"; then - ac_path_SED_found=false - # Loop through the user's path and test for each of PROGNAME-LIST - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_prog in sed gsed; do - for ac_exec_ext in '' $ac_executable_extensions; do - ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" - as_fn_executable_p "$ac_path_SED" || continue -# Check for GNU ac_path_SED and select it if it is found. - # Check for GNU $ac_path_SED -case `"$ac_path_SED" --version 2>&1` in -*GNU*) - ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; -*) - ac_count=0 - $as_echo_n 0123456789 >"conftest.in" - while : - do - cat "conftest.in" "conftest.in" >"conftest.tmp" - mv "conftest.tmp" "conftest.in" - cp "conftest.in" "conftest.nl" - $as_echo '' >> "conftest.nl" - "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break - as_fn_arith $ac_count + 1 && ac_count=$as_val - if test $ac_count -gt ${ac_path_SED_max-0}; then - # Best one so far, save it but keep looking for a better one - ac_cv_path_SED="$ac_path_SED" - ac_path_SED_max=$ac_count - fi - # 10*(2^10) chars as input seems more than enough - test $ac_count -gt 10 && break - done - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; -esac - - $ac_path_SED_found && break 3 - done - done - done -IFS=$as_save_IFS - if test -z "$ac_cv_path_SED"; then - as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 - fi -else - ac_cv_path_SED=$SED -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 -$as_echo "$ac_cv_path_SED" >&6; } - SED="$ac_cv_path_SED" - rm -f conftest.sed - - - - - # allow to override gcov location - -# Check whether --with-gcov was given. -if test "${with_gcov+set}" = set; then : - withval=$with_gcov; _AX_CODE_COVERAGE_GCOV_PROG_WITH=$with_gcov -else - _AX_CODE_COVERAGE_GCOV_PROG_WITH=gcov -fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build with code coverage support" >&5 -$as_echo_n "checking whether to build with code coverage support... " >&6; } - # Check whether --enable-code-coverage was given. -if test "${enable_code_coverage+set}" = set; then : - enableval=$enable_code_coverage; -else - enable_code_coverage=no -fi - - - if test x$enable_code_coverage = xyes; then - CODE_COVERAGE_ENABLED_TRUE= - CODE_COVERAGE_ENABLED_FALSE='#' -else - CODE_COVERAGE_ENABLED_TRUE='#' - CODE_COVERAGE_ENABLED_FALSE= -fi - - CODE_COVERAGE_ENABLED=$enable_code_coverage - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_code_coverage" >&5 -$as_echo "$enable_code_coverage" >&6; } - - if test "$enable_code_coverage" = "yes" ; then : - - # check for gcov - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}$_AX_CODE_COVERAGE_GCOV_PROG_WITH", so it can be a program name with args. -set dummy ${ac_tool_prefix}$_AX_CODE_COVERAGE_GCOV_PROG_WITH; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_GCOV+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$GCOV"; then - ac_cv_prog_GCOV="$GCOV" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_GCOV="${ac_tool_prefix}$_AX_CODE_COVERAGE_GCOV_PROG_WITH" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -GCOV=$ac_cv_prog_GCOV -if test -n "$GCOV"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCOV" >&5 -$as_echo "$GCOV" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_GCOV"; then - ac_ct_GCOV=$GCOV - # Extract the first word of "$_AX_CODE_COVERAGE_GCOV_PROG_WITH", so it can be a program name with args. -set dummy $_AX_CODE_COVERAGE_GCOV_PROG_WITH; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_GCOV+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_GCOV"; then - ac_cv_prog_ac_ct_GCOV="$ac_ct_GCOV" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_GCOV="$_AX_CODE_COVERAGE_GCOV_PROG_WITH" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_GCOV=$ac_cv_prog_ac_ct_GCOV -if test -n "$ac_ct_GCOV"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GCOV" >&5 -$as_echo "$ac_ct_GCOV" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_GCOV" = x; then - GCOV=":" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - GCOV=$ac_ct_GCOV - fi -else - GCOV="$ac_cv_prog_GCOV" -fi - - if test "X$GCOV" = "X:"; then : - as_fn_error $? "gcov is needed to do coverage" "$LINENO" 5 -fi - - - if test "$GCC" = "no" ; then : - - as_fn_error $? "not compiling with gcc, which is required for gcov code coverage" "$LINENO" 5 - -fi - - # Extract the first word of "lcov", so it can be a program name with args. -set dummy lcov; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_LCOV+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$LCOV"; then - ac_cv_prog_LCOV="$LCOV" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_LCOV="lcov" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -LCOV=$ac_cv_prog_LCOV -if test -n "$LCOV"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LCOV" >&5 -$as_echo "$LCOV" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - # Extract the first word of "genhtml", so it can be a program name with args. -set dummy genhtml; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_GENHTML+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$GENHTML"; then - ac_cv_prog_GENHTML="$GENHTML" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_GENHTML="genhtml" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -GENHTML=$ac_cv_prog_GENHTML -if test -n "$GENHTML"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GENHTML" >&5 -$as_echo "$GENHTML" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - - if test -z "$LCOV" ; then : - - as_fn_error $? "To enable code coverage reporting you must have lcov installed" "$LINENO" 5 - -fi - - if test -z "$GENHTML" ; then : - - as_fn_error $? "Could not find genhtml from the lcov package" "$LINENO" 5 - -fi - - CODE_COVERAGE_CPPFLAGS="-DNDEBUG" - CODE_COVERAGE_CFLAGS="-O0 -g -fprofile-arcs -ftest-coverage" - CODE_COVERAGE_CXXFLAGS="-O0 -g -fprofile-arcs -ftest-coverage" - CODE_COVERAGE_LIBS="-lgcov" - CODE_COVERAGE_LDFLAGS="$CODE_COVERAGE_LIBS" - - - - - - - - CODE_COVERAGE_RULES_CHECK=' - -$(A''M_V_at)$(MAKE) $(AM_MAKEFLAGS) -k check - $(A''M_V_at)$(MAKE) $(AM_MAKEFLAGS) code-coverage-capture -' - CODE_COVERAGE_RULES_CAPTURE=' - $(code_coverage_v_lcov_cap)$(LCOV) $(code_coverage_quiet) $(addprefix --directory ,$(CODE_COVERAGE_DIRECTORY)) --capture --output-file "$(CODE_COVERAGE_OUTPUT_FILE).tmp" --test-name "$(call code_coverage_sanitize,$(PACKAGE_NAME)-$(PACKAGE_VERSION))" --no-checksum --compat-libtool $(CODE_COVERAGE_LCOV_SHOPTS) $(CODE_COVERAGE_LCOV_OPTIONS) - $(code_coverage_v_lcov_ign)$(LCOV) $(code_coverage_quiet) $(addprefix --directory ,$(CODE_COVERAGE_DIRECTORY)) --remove "$(CODE_COVERAGE_OUTPUT_FILE).tmp" "/tmp/*" $(CODE_COVERAGE_IGNORE_PATTERN) --output-file "$(CODE_COVERAGE_OUTPUT_FILE)" $(CODE_COVERAGE_LCOV_SHOPTS) $(CODE_COVERAGE_LCOV_RMOPTS) - -@rm -f $(CODE_COVERAGE_OUTPUT_FILE).tmp - $(code_coverage_v_genhtml)LANG=C $(GENHTML) $(code_coverage_quiet) $(addprefix --prefix ,$(CODE_COVERAGE_DIRECTORY)) --output-directory "$(CODE_COVERAGE_OUTPUT_DIRECTORY)" --title "$(PACKAGE_NAME)-$(PACKAGE_VERSION) Code Coverage" --legend --show-details "$(CODE_COVERAGE_OUTPUT_FILE)" $(CODE_COVERAGE_GENHTML_OPTIONS) - @echo "file://$(abs_builddir)/$(CODE_COVERAGE_OUTPUT_DIRECTORY)/index.html" -' - CODE_COVERAGE_RULES_CLEAN=' -clean: code-coverage-clean -distclean: code-coverage-clean -code-coverage-clean: - -$(LCOV) --directory $(top_builddir) -z - -rm -rf $(CODE_COVERAGE_OUTPUT_FILE) $(CODE_COVERAGE_OUTPUT_FILE).tmp $(CODE_COVERAGE_OUTPUT_DIRECTORY) - -find . \( -name "*.gcda" -o -name "*.gcno" -o -name "*.gcov" \) -delete -' - -else - - CODE_COVERAGE_RULES_CHECK=' - @echo "Need to reconfigure with --enable-code-coverage" -' - CODE_COVERAGE_RULES_CAPTURE="$CODE_COVERAGE_RULES_CHECK" - CODE_COVERAGE_RULES_CLEAN='' - -fi - -CODE_COVERAGE_RULES=' -# Code coverage -# -# Optional: -# - CODE_COVERAGE_DIRECTORY: Top-level directory for code coverage reporting. -# Multiple directories may be specified, separated by whitespace. -# (Default: $(top_builddir)) -# - CODE_COVERAGE_OUTPUT_FILE: Filename and path for the .info file generated -# by lcov for code coverage. (Default: -# $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage.info) -# - CODE_COVERAGE_OUTPUT_DIRECTORY: Directory for generated code coverage -# reports to be created. (Default: -# $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage) -# - CODE_COVERAGE_BRANCH_COVERAGE: Set to 1 to enforce branch coverage, -# set to 0 to disable it and leave empty to stay with the default. -# (Default: empty) -# - CODE_COVERAGE_LCOV_SHOPTS_DEFAULT: Extra options shared between both lcov -# instances. (Default: based on $CODE_COVERAGE_BRANCH_COVERAGE) -# - CODE_COVERAGE_LCOV_SHOPTS: Extra options to shared between both lcov -# instances. (Default: $CODE_COVERAGE_LCOV_SHOPTS_DEFAULT) -# - CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH: --gcov-tool pathtogcov -# - CODE_COVERAGE_LCOV_OPTIONS_DEFAULT: Extra options to pass to the -# collecting lcov instance. (Default: $CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH) -# - CODE_COVERAGE_LCOV_OPTIONS: Extra options to pass to the collecting lcov -# instance. (Default: $CODE_COVERAGE_LCOV_OPTIONS_DEFAULT) -# - CODE_COVERAGE_LCOV_RMOPTS_DEFAULT: Extra options to pass to the filtering -# lcov instance. (Default: empty) -# - CODE_COVERAGE_LCOV_RMOPTS: Extra options to pass to the filtering lcov -# instance. (Default: $CODE_COVERAGE_LCOV_RMOPTS_DEFAULT) -# - CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT: Extra options to pass to the -# genhtml instance. (Default: based on $CODE_COVERAGE_BRANCH_COVERAGE) -# - CODE_COVERAGE_GENHTML_OPTIONS: Extra options to pass to the genhtml -# instance. (Default: $CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT) -# - CODE_COVERAGE_IGNORE_PATTERN: Extra glob pattern of files to ignore -# -# The generated report will be titled using the $(PACKAGE_NAME) and -# $(PACKAGE_VERSION). In order to add the current git hash to the title, -# use the git-version-gen script, available online. - -# Optional variables -CODE_COVERAGE_DIRECTORY ?= $(top_builddir) -CODE_COVERAGE_OUTPUT_FILE ?= $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage.info -CODE_COVERAGE_OUTPUT_DIRECTORY ?= $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage -CODE_COVERAGE_BRANCH_COVERAGE ?= -CODE_COVERAGE_LCOV_SHOPTS_DEFAULT ?= $(if $(CODE_COVERAGE_BRANCH_COVERAGE),\ ---rc lcov_branch_coverage=$(CODE_COVERAGE_BRANCH_COVERAGE)) -CODE_COVERAGE_LCOV_SHOPTS ?= $(CODE_COVERAGE_LCOV_SHOPTS_DEFAULT) -CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH ?= --gcov-tool "$(GCOV)" -CODE_COVERAGE_LCOV_OPTIONS_DEFAULT ?= $(CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH) -CODE_COVERAGE_LCOV_OPTIONS ?= $(CODE_COVERAGE_LCOV_OPTIONS_DEFAULT) -CODE_COVERAGE_LCOV_RMOPTS_DEFAULT ?= -CODE_COVERAGE_LCOV_RMOPTS ?= $(CODE_COVERAGE_LCOV_RMOPTS_DEFAULT) -CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT ?=\ -$(if $(CODE_COVERAGE_BRANCH_COVERAGE),\ ---rc genhtml_branch_coverage=$(CODE_COVERAGE_BRANCH_COVERAGE)) -CODE_COVERAGE_GENHTML_OPTIONS ?= $(CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT) -CODE_COVERAGE_IGNORE_PATTERN ?= - -GITIGNOREFILES ?= -GITIGNOREFILES += $(CODE_COVERAGE_OUTPUT_FILE) $(CODE_COVERAGE_OUTPUT_DIRECTORY) - -code_coverage_v_lcov_cap = $(code_coverage_v_lcov_cap_$(V)) -code_coverage_v_lcov_cap_ = $(code_coverage_v_lcov_cap_$(AM_DEFAULT_VERBOSITY)) -code_coverage_v_lcov_cap_0 = @echo " LCOV --capture"\ - $(CODE_COVERAGE_OUTPUT_FILE); -code_coverage_v_lcov_ign = $(code_coverage_v_lcov_ign_$(V)) -code_coverage_v_lcov_ign_ = $(code_coverage_v_lcov_ign_$(AM_DEFAULT_VERBOSITY)) -code_coverage_v_lcov_ign_0 = @echo " LCOV --remove /tmp/*"\ - $(CODE_COVERAGE_IGNORE_PATTERN); -code_coverage_v_genhtml = $(code_coverage_v_genhtml_$(V)) -code_coverage_v_genhtml_ = $(code_coverage_v_genhtml_$(AM_DEFAULT_VERBOSITY)) -code_coverage_v_genhtml_0 = @echo " GEN " $(CODE_COVERAGE_OUTPUT_DIRECTORY); -code_coverage_quiet = $(code_coverage_quiet_$(V)) -code_coverage_quiet_ = $(code_coverage_quiet_$(AM_DEFAULT_VERBOSITY)) -code_coverage_quiet_0 = --quiet - -# sanitizes the test-name: replaces with underscores: dashes and dots -code_coverage_sanitize = $(subst -,_,$(subst .,_,$(1))) - -# Use recursive makes in order to ignore errors during check -check-code-coverage:'"$CODE_COVERAGE_RULES_CHECK"' - -# Capture code coverage data -code-coverage-capture: code-coverage-capture-hook'"$CODE_COVERAGE_RULES_CAPTURE"' - -# Hook rule executed before code-coverage-capture, overridable by the user -code-coverage-capture-hook: - -'"$CODE_COVERAGE_RULES_CLEAN"' - -A''M_DISTCHECK_CONFIGURE_FLAGS ?= -A''M_DISTCHECK_CONFIGURE_FLAGS += --disable-code-coverage - -.PHONY: check-code-coverage code-coverage-capture code-coverage-capture-hook code-coverage-clean -' - - - - - -# Initialize libtool -DEPDIR="${am__leading_dot}deps" - -ac_config_commands="$ac_config_commands depfiles" - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 -$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; } -cat > confinc.mk << 'END' -am__doit: - @echo this is the am__doit target >confinc.out -.PHONY: am__doit -END -am__include="#" -am__quote= -# BSD make does it like this. -echo '.include "confinc.mk" # ignored' > confmf.BSD -# Other make implementations (GNU, Solaris 10, AIX) do it like this. -echo 'include confinc.mk # ignored' > confmf.GNU -_am_result=no -for s in GNU BSD; do - { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5 - (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } - case $?:`cat confinc.out 2>/dev/null` in #( - '0:this is the am__doit target') : - case $s in #( - BSD) : - am__include='.include' am__quote='"' ;; #( - *) : - am__include='include' am__quote='' ;; -esac ;; #( - *) : - ;; -esac - if test "$am__include" != "#"; then - _am_result="yes ($s style)" - break - fi -done -rm -f confinc.* confmf.* -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 -$as_echo "${_am_result}" >&6; } - -# Check whether --enable-dependency-tracking was given. -if test "${enable_dependency_tracking+set}" = set; then : - enableval=$enable_dependency_tracking; -fi - -if test "x$enable_dependency_tracking" != xno; then - am_depcomp="$ac_aux_dir/depcomp" - AMDEPBACKSLASH='\' - am__nodep='_no' -fi - if test "x$enable_dependency_tracking" != xno; then - AMDEP_TRUE= - AMDEP_FALSE='#' -else - AMDEP_TRUE='#' - AMDEP_FALSE= -fi - - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. -set dummy ${ac_tool_prefix}gcc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_CC="${ac_tool_prefix}gcc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_CC"; then - ac_ct_CC=$CC - # Extract the first word of "gcc", so it can be a program name with args. -set dummy gcc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_CC"; then - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_CC="gcc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_CC=$ac_cv_prog_ac_ct_CC -if test -n "$ac_ct_CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 -$as_echo "$ac_ct_CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_CC" = x; then - CC="" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - CC=$ac_ct_CC - fi -else - CC="$ac_cv_prog_CC" -fi - -if test -z "$CC"; then - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. -set dummy ${ac_tool_prefix}cc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_CC="${ac_tool_prefix}cc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - fi -fi -if test -z "$CC"; then - # Extract the first word of "cc", so it can be a program name with args. -set dummy cc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else - ac_prog_rejected=no -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then - ac_prog_rejected=yes - continue - fi - ac_cv_prog_CC="cc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -if test $ac_prog_rejected = yes; then - # We found a bogon in the path, so make sure we never use it. - set dummy $ac_cv_prog_CC - shift - if test $# != 0; then - # We chose a different compiler from the bogus one. - # However, it has the same basename, so the bogon will be chosen - # first if we set CC to just the basename; use the full file name. - shift - ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" - fi -fi -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$CC"; then - if test -n "$ac_tool_prefix"; then - for ac_prog in cl.exe - do - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. -set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_CC="$ac_tool_prefix$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$CC" && break - done -fi -if test -z "$CC"; then - ac_ct_CC=$CC - for ac_prog in cl.exe -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_CC"; then - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_CC="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_CC=$ac_cv_prog_ac_ct_CC -if test -n "$ac_ct_CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 -$as_echo "$ac_ct_CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$ac_ct_CC" && break -done - - if test "x$ac_ct_CC" = x; then - CC="" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - CC=$ac_ct_CC - fi -fi - -fi - - -test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "no acceptable C compiler found in \$PATH -See \`config.log' for more details" "$LINENO" 5; } - -# Provide some information about the compiler. -$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 -set X $ac_compile -ac_compiler=$2 -for ac_option in --version -v -V -qversion; do - { { ac_try="$ac_compiler $ac_option >&5" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_compiler $ac_option >&5") 2>conftest.err - ac_status=$? - if test -s conftest.err; then - sed '10a\ -... rest of stderr output deleted ... - 10q' conftest.err >conftest.er1 - cat conftest.er1 >&5 - fi - rm -f conftest.er1 conftest.err - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } -done - -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -ac_clean_files_save=$ac_clean_files -ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" -# Try to create an executable without -o first, disregard a.out. -# It will help us diagnose broken compilers, and finding out an intuition -# of exeext. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 -$as_echo_n "checking whether the C compiler works... " >&6; } -ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` - -# The possible output files: -ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" - -ac_rmfiles= -for ac_file in $ac_files -do - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; - * ) ac_rmfiles="$ac_rmfiles $ac_file";; - esac -done -rm -f $ac_rmfiles - -if { { ac_try="$ac_link_default" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_link_default") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then : - # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. -# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' -# in a Makefile. We should not override ac_cv_exeext if it was cached, -# so that the user can short-circuit this test for compilers unknown to -# Autoconf. -for ac_file in $ac_files '' -do - test -f "$ac_file" || continue - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) - ;; - [ab].out ) - # We found the default executable, but exeext='' is most - # certainly right. - break;; - *.* ) - if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; - then :; else - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` - fi - # We set ac_cv_exeext here because the later test for it is not - # safe: cross compilers may not add the suffix if given an `-o' - # argument, so we may need to know it at that point already. - # Even if this section looks crufty: it has the advantage of - # actually working. - break;; - * ) - break;; - esac -done -test "$ac_cv_exeext" = no && ac_cv_exeext= - -else - ac_file='' -fi -if test -z "$ac_file"; then : - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -$as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error 77 "C compiler cannot create executables -See \`config.log' for more details" "$LINENO" 5; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 -$as_echo_n "checking for C compiler default output file name... " >&6; } -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 -$as_echo "$ac_file" >&6; } -ac_exeext=$ac_cv_exeext - -rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out -ac_clean_files=$ac_clean_files_save -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 -$as_echo_n "checking for suffix of executables... " >&6; } -if { { ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then : - # If both `conftest.exe' and `conftest' are `present' (well, observable) -# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will -# work properly (i.e., refer to `conftest.exe'), while it won't with -# `rm'. -for ac_file in conftest.exe conftest conftest.*; do - test -f "$ac_file" || continue - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; - *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` - break;; - * ) break;; - esac -done -else - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "cannot compute suffix of executables: cannot compile and link -See \`config.log' for more details" "$LINENO" 5; } -fi -rm -f conftest conftest$ac_cv_exeext -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 -$as_echo "$ac_cv_exeext" >&6; } - -rm -f conftest.$ac_ext -EXEEXT=$ac_cv_exeext -ac_exeext=$EXEEXT -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ -FILE *f = fopen ("conftest.out", "w"); - return ferror (f) || fclose (f) != 0; - - ; - return 0; -} -_ACEOF -ac_clean_files="$ac_clean_files conftest.out" -# Check that the compiler produces executables we can run. If not, either -# the compiler is broken, or we cross compile. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 -$as_echo_n "checking whether we are cross compiling... " >&6; } -if test "$cross_compiling" != yes; then - { { ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } - if { ac_try='./conftest$ac_cv_exeext' - { { case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; }; then - cross_compiling=no - else - if test "$cross_compiling" = maybe; then - cross_compiling=yes - else - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "cannot run C compiled programs. -If you meant to cross compile, use \`--host'. -See \`config.log' for more details" "$LINENO" 5; } - fi - fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 -$as_echo "$cross_compiling" >&6; } - -rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out -ac_clean_files=$ac_clean_files_save -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 -$as_echo_n "checking for suffix of object files... " >&6; } -if ${ac_cv_objext+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.o conftest.obj -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:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_compile") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then : - for ac_file in conftest.o conftest.obj conftest.*; do - test -f "$ac_file" || continue; - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; - *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` - break;; - esac -done -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "cannot compute suffix of object files: cannot compile -See \`config.log' for more details" "$LINENO" 5; } -fi -rm -f conftest.$ac_cv_objext conftest.$ac_ext -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 -$as_echo "$ac_cv_objext" >&6; } -OBJEXT=$ac_cv_objext -ac_objext=$OBJEXT -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 -$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } -if ${ac_cv_c_compiler_gnu+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ -#ifndef __GNUC__ - choke me -#endif - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_compiler_gnu=yes -else - ac_compiler_gnu=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -ac_cv_c_compiler_gnu=$ac_compiler_gnu - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 -$as_echo "$ac_cv_c_compiler_gnu" >&6; } -if test $ac_compiler_gnu = yes; then - GCC=yes -else - GCC= -fi -ac_test_CFLAGS=${CFLAGS+set} -ac_save_CFLAGS=$CFLAGS -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 -$as_echo_n "checking whether $CC accepts -g... " >&6; } -if ${ac_cv_prog_cc_g+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_save_c_werror_flag=$ac_c_werror_flag - ac_c_werror_flag=yes - ac_cv_prog_cc_g=no - CFLAGS="-g" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_prog_cc_g=yes -else - CFLAGS="" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - -else - ac_c_werror_flag=$ac_save_c_werror_flag - CFLAGS="-g" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_prog_cc_g=yes -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_c_werror_flag=$ac_save_c_werror_flag -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 -$as_echo "$ac_cv_prog_cc_g" >&6; } -if test "$ac_test_CFLAGS" = set; then - CFLAGS=$ac_save_CFLAGS -elif test $ac_cv_prog_cc_g = yes; then - if test "$GCC" = yes; then - CFLAGS="-g -O2" - else - CFLAGS="-g" - fi -else - if test "$GCC" = yes; then - CFLAGS="-O2" - else - CFLAGS= - fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 -$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } -if ${ac_cv_prog_cc_c89+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_cv_prog_cc_c89=no -ac_save_CC=$CC -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -#include -struct stat; -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ -struct buf { int x; }; -FILE * (*rcsopen) (struct buf *, struct stat *, int); -static char *e (p, i) - char **p; - int i; -{ - return p[i]; -} -static char *f (char * (*g) (char **, int), char **p, ...) -{ - char *s; - va_list v; - va_start (v,p); - s = g (p, va_arg (v,int)); - va_end (v); - return s; -} - -/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has - function prototypes and stuff, but not '\xHH' hex character constants. - These don't provoke an error unfortunately, instead are silently treated - as 'x'. The following induces an error, until -std is added to get - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an - array size at least. It's necessary to write '\x00'==0 to get something - that's true only with -std. */ -int osf4_cc_array ['\x00' == 0 ? 1 : -1]; - -/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters - inside strings and character constants. */ -#define FOO(x) 'x' -int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; - -int test (int i, double x); -struct s1 {int (*f) (int a);}; -struct s2 {int (*f) (double a);}; -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); -int argc; -char **argv; -int -main () -{ -return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; - ; - return 0; -} -_ACEOF -for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ - -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" -do - CC="$ac_save_CC $ac_arg" - if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_prog_cc_c89=$ac_arg -fi -rm -f core conftest.err conftest.$ac_objext - test "x$ac_cv_prog_cc_c89" != "xno" && break -done -rm -f conftest.$ac_ext -CC=$ac_save_CC - -fi -# AC_CACHE_VAL -case "x$ac_cv_prog_cc_c89" in - x) - { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 -$as_echo "none needed" >&6; } ;; - xno) - { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 -$as_echo "unsupported" >&6; } ;; - *) - CC="$CC $ac_cv_prog_cc_c89" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 -$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; -esac -if test "x$ac_cv_prog_cc_c89" != xno; then : - -fi - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 -$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } -if ${am_cv_prog_cc_c_o+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF - # Make sure it works both with $CC and with simple cc. - # Following AC_PROG_CC_C_O, we do the test twice because some - # compilers refuse to overwrite an existing .o file with -o, - # though they will create one. - am_cv_prog_cc_c_o=yes - for am_i in 1 2; do - if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 - ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } \ - && test -f conftest2.$ac_objext; then - : OK - else - am_cv_prog_cc_c_o=no - break - fi - done - rm -f core conftest* - unset am_i -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 -$as_echo "$am_cv_prog_cc_c_o" >&6; } -if test "$am_cv_prog_cc_c_o" != yes; then - # Losing compiler, so override with the script. - # FIXME: It is wrong to rewrite CC. - # But if we don't then we get into trouble of one sort or another. - # A longer-term fix would be to have automake use am__CC in this case, - # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" - CC="$am_aux_dir/compile $CC" -fi -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -depcc="$CC" am_compiler_list= - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 -$as_echo_n "checking dependency style of $depcc... " >&6; } -if ${am_cv_CC_dependencies_compiler_type+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then - # We make a subdir and do the tests there. Otherwise we can end up - # making bogus files that we don't know about and never remove. For - # instance it was reported that on HP-UX the gcc test will end up - # making a dummy file named 'D' -- because '-MD' means "put the output - # in D". - rm -rf conftest.dir - mkdir conftest.dir - # Copy depcomp to subdir because otherwise we won't find it if we're - # using a relative directory. - cp "$am_depcomp" conftest.dir - cd conftest.dir - # We will build objects and dependencies in a subdirectory because - # it helps to detect inapplicable dependency modes. For instance - # both Tru64's cc and ICC support -MD to output dependencies as a - # side effect of compilation, but ICC will put the dependencies in - # the current directory while Tru64 will put them in the object - # directory. - mkdir sub - - am_cv_CC_dependencies_compiler_type=none - if test "$am_compiler_list" = ""; then - am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` - fi - am__universal=false - case " $depcc " in #( - *\ -arch\ *\ -arch\ *) am__universal=true ;; - esac - - for depmode in $am_compiler_list; do - # Setup a source with many dependencies, because some compilers - # like to wrap large dependency lists on column 80 (with \), and - # we should not choose a depcomp mode which is confused by this. - # - # We need to recreate these files for each test, as the compiler may - # overwrite some of them when testing with obscure command lines. - # This happens at least with the AIX C compiler. - : > sub/conftest.c - for i in 1 2 3 4 5 6; do - echo '#include "conftst'$i'.h"' >> sub/conftest.c - # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with - # Solaris 10 /bin/sh. - echo '/* dummy */' > sub/conftst$i.h - done - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf - - # We check with '-c' and '-o' for the sake of the "dashmstdout" - # mode. It turns out that the SunPro C++ compiler does not properly - # handle '-M -o', and we need to detect this. Also, some Intel - # versions had trouble with output in subdirs. - am__obj=sub/conftest.${OBJEXT-o} - am__minus_obj="-o $am__obj" - case $depmode in - gcc) - # This depmode causes a compiler race in universal mode. - test "$am__universal" = false || continue - ;; - nosideeffect) - # After this tag, mechanisms are not by side-effect, so they'll - # only be used when explicitly requested. - if test "x$enable_dependency_tracking" = xyes; then - continue - else - break - fi - ;; - msvc7 | msvc7msys | msvisualcpp | msvcmsys) - # This compiler won't grok '-c -o', but also, the minuso test has - # not run yet. These depmodes are late enough in the game, and - # so weak that their functioning should not be impacted. - am__obj=conftest.${OBJEXT-o} - am__minus_obj= - ;; - none) break ;; - esac - if depmode=$depmode \ - source=sub/conftest.c object=$am__obj \ - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ - $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ - >/dev/null 2>conftest.err && - grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && - grep $am__obj sub/conftest.Po > /dev/null 2>&1 && - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then - # icc doesn't choke on unknown options, it will just issue warnings - # or remarks (even with -Werror). So we grep stderr for any message - # that says an option was ignored or not supported. - # When given -MP, icc 7.0 and 7.1 complain thusly: - # icc: Command line warning: ignoring option '-M'; no argument required - # The diagnosis changed in icc 8.0: - # icc: Command line remark: option '-MP' not supported - if (grep 'ignoring option' conftest.err || - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else - am_cv_CC_dependencies_compiler_type=$depmode - break - fi - fi - done - - cd .. - rm -rf conftest.dir -else - am_cv_CC_dependencies_compiler_type=none -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 -$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } -CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type - - if - test "x$enable_dependency_tracking" != xno \ - && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then - am__fastdepCC_TRUE= - am__fastdepCC_FALSE='#' -else - am__fastdepCC_TRUE='#' - am__fastdepCC_FALSE= -fi - - - -if test -n "$ac_tool_prefix"; then - for ac_prog in ar lib "link -lib" - do - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. -set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_AR+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$AR"; then - ac_cv_prog_AR="$AR" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_AR="$ac_tool_prefix$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -AR=$ac_cv_prog_AR -if test -n "$AR"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 -$as_echo "$AR" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$AR" && break - done -fi -if test -z "$AR"; then - ac_ct_AR=$AR - for ac_prog in ar lib "link -lib" -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_AR+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_AR"; then - ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_AR="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_AR=$ac_cv_prog_ac_ct_AR -if test -n "$ac_ct_AR"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 -$as_echo "$ac_ct_AR" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$ac_ct_AR" && break -done - - if test "x$ac_ct_AR" = x; then - AR="false" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - AR=$ac_ct_AR - fi -fi - -: ${AR=ar} - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5 -$as_echo_n "checking the archiver ($AR) interface... " >&6; } -if ${am_cv_ar_interface+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - am_cv_ar_interface=ar - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -int some_variable = 0; -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5' - { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5 - (eval $am_ar_try) 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } - if test "$ac_status" -eq 0; then - am_cv_ar_interface=ar - else - am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5' - { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5 - (eval $am_ar_try) 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } - if test "$ac_status" -eq 0; then - am_cv_ar_interface=lib - else - am_cv_ar_interface=unknown - fi - fi - rm -f conftest.lib libconftest.a - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5 -$as_echo "$am_cv_ar_interface" >&6; } - -case $am_cv_ar_interface in -ar) - ;; -lib) - # Microsoft lib, so override with the ar-lib wrapper script. - # FIXME: It is wrong to rewrite AR. - # But if we don't then we get into trouble of one sort or another. - # A longer-term fix would be to have automake use am__AR in this case, - # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something - # similar. - AR="$am_aux_dir/ar-lib $AR" - ;; -unknown) - as_fn_error $? "could not determine $AR interface" "$LINENO" 5 - ;; -esac - - -case `pwd` in - *\ * | *\ *) - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 -$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; -esac - - - -macro_version='2.4.6' -macro_revision='2.4.6' - - - - - - - - - - - - - -ltmain=$ac_aux_dir/ltmain.sh - -# Make sure we can run config.sub. -$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || - as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 -$as_echo_n "checking build system type... " >&6; } -if ${ac_cv_build+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_build_alias=$build_alias -test "x$ac_build_alias" = x && - ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` -test "x$ac_build_alias" = x && - as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 -ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || - as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 -$as_echo "$ac_cv_build" >&6; } -case $ac_cv_build in -*-*-*) ;; -*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; -esac -build=$ac_cv_build -ac_save_IFS=$IFS; IFS='-' -set x $ac_cv_build -shift -build_cpu=$1 -build_vendor=$2 -shift; shift -# Remember, the first character of IFS is used to create $*, -# except with old shells: -build_os=$* -IFS=$ac_save_IFS -case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 -$as_echo_n "checking host system type... " >&6; } -if ${ac_cv_host+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test "x$host_alias" = x; then - ac_cv_host=$ac_cv_build -else - ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || - as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 -$as_echo "$ac_cv_host" >&6; } -case $ac_cv_host in -*-*-*) ;; -*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; -esac -host=$ac_cv_host -ac_save_IFS=$IFS; IFS='-' -set x $ac_cv_host -shift -host_cpu=$1 -host_vendor=$2 -shift; shift -# Remember, the first character of IFS is used to create $*, -# except with old shells: -host_os=$* -IFS=$ac_save_IFS -case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac - - -# Backslashify metacharacters that are still active within -# double-quoted strings. -sed_quote_subst='s/\(["`$\\]\)/\\\1/g' - -# Same as above, but do not quote variable references. -double_quote_subst='s/\(["`\\]\)/\\\1/g' - -# Sed substitution to delay expansion of an escaped shell variable in a -# double_quote_subst'ed string. -delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' - -# Sed substitution to delay expansion of an escaped single quote. -delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' - -# Sed substitution to avoid accidental globbing in evaled expressions -no_glob_subst='s/\*/\\\*/g' - -ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' -ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO -ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 -$as_echo_n "checking how to print strings... " >&6; } -# Test print first, because it will be a builtin if present. -if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ - test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then - ECHO='print -r --' -elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then - ECHO='printf %s\n' -else - # Use this function as a fallback that always works. - func_fallback_echo () - { - eval 'cat <<_LTECHO_EOF -$1 -_LTECHO_EOF' - } - ECHO='func_fallback_echo' -fi - -# func_echo_all arg... -# Invoke $ECHO with all args, space-separated. -func_echo_all () -{ - $ECHO "" -} - -case $ECHO in - printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 -$as_echo "printf" >&6; } ;; - print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 -$as_echo "print -r" >&6; } ;; - *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 -$as_echo "cat" >&6; } ;; -esac - - - - - - - - - - - - - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 -$as_echo_n "checking for a sed that does not truncate output... " >&6; } -if ${ac_cv_path_SED+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ - for ac_i in 1 2 3 4 5 6 7; do - ac_script="$ac_script$as_nl$ac_script" - done - echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed - { ac_script=; unset ac_script;} - if test -z "$SED"; then - ac_path_SED_found=false - # Loop through the user's path and test for each of PROGNAME-LIST - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_prog in sed gsed; do - for ac_exec_ext in '' $ac_executable_extensions; do - ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" - as_fn_executable_p "$ac_path_SED" || continue -# Check for GNU ac_path_SED and select it if it is found. - # Check for GNU $ac_path_SED -case `"$ac_path_SED" --version 2>&1` in -*GNU*) - ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; -*) - ac_count=0 - $as_echo_n 0123456789 >"conftest.in" - while : - do - cat "conftest.in" "conftest.in" >"conftest.tmp" - mv "conftest.tmp" "conftest.in" - cp "conftest.in" "conftest.nl" - $as_echo '' >> "conftest.nl" - "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break - as_fn_arith $ac_count + 1 && ac_count=$as_val - if test $ac_count -gt ${ac_path_SED_max-0}; then - # Best one so far, save it but keep looking for a better one - ac_cv_path_SED="$ac_path_SED" - ac_path_SED_max=$ac_count - fi - # 10*(2^10) chars as input seems more than enough - test $ac_count -gt 10 && break - done - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; -esac - - $ac_path_SED_found && break 3 - done - done - done -IFS=$as_save_IFS - if test -z "$ac_cv_path_SED"; then - as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 - fi -else - ac_cv_path_SED=$SED -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 -$as_echo "$ac_cv_path_SED" >&6; } - SED="$ac_cv_path_SED" - rm -f conftest.sed - -test -z "$SED" && SED=sed -Xsed="$SED -e 1s/^X//" - - - - - - - - - - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 -$as_echo_n "checking for grep that handles long lines and -e... " >&6; } -if ${ac_cv_path_GREP+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -z "$GREP"; then - ac_path_GREP_found=false - # Loop through the user's path and test for each of PROGNAME-LIST - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_prog in grep ggrep; do - for ac_exec_ext in '' $ac_executable_extensions; do - ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" - as_fn_executable_p "$ac_path_GREP" || continue -# Check for GNU ac_path_GREP and select it if it is found. - # Check for GNU $ac_path_GREP -case `"$ac_path_GREP" --version 2>&1` in -*GNU*) - ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; -*) - ac_count=0 - $as_echo_n 0123456789 >"conftest.in" - while : - do - cat "conftest.in" "conftest.in" >"conftest.tmp" - mv "conftest.tmp" "conftest.in" - cp "conftest.in" "conftest.nl" - $as_echo 'GREP' >> "conftest.nl" - "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break - as_fn_arith $ac_count + 1 && ac_count=$as_val - if test $ac_count -gt ${ac_path_GREP_max-0}; then - # Best one so far, save it but keep looking for a better one - ac_cv_path_GREP="$ac_path_GREP" - ac_path_GREP_max=$ac_count - fi - # 10*(2^10) chars as input seems more than enough - test $ac_count -gt 10 && break - done - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; -esac - - $ac_path_GREP_found && break 3 - done - done - done -IFS=$as_save_IFS - if test -z "$ac_cv_path_GREP"; then - as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 - fi -else - ac_cv_path_GREP=$GREP -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 -$as_echo "$ac_cv_path_GREP" >&6; } - GREP="$ac_cv_path_GREP" - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 -$as_echo_n "checking for egrep... " >&6; } -if ${ac_cv_path_EGREP+:} false; then : - $as_echo_n "(cached) " >&6 -else - if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 - then ac_cv_path_EGREP="$GREP -E" - else - if test -z "$EGREP"; then - ac_path_EGREP_found=false - # Loop through the user's path and test for each of PROGNAME-LIST - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_prog in egrep; do - for ac_exec_ext in '' $ac_executable_extensions; do - ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" - as_fn_executable_p "$ac_path_EGREP" || continue -# Check for GNU ac_path_EGREP and select it if it is found. - # Check for GNU $ac_path_EGREP -case `"$ac_path_EGREP" --version 2>&1` in -*GNU*) - ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; -*) - ac_count=0 - $as_echo_n 0123456789 >"conftest.in" - while : - do - cat "conftest.in" "conftest.in" >"conftest.tmp" - mv "conftest.tmp" "conftest.in" - cp "conftest.in" "conftest.nl" - $as_echo 'EGREP' >> "conftest.nl" - "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break - as_fn_arith $ac_count + 1 && ac_count=$as_val - if test $ac_count -gt ${ac_path_EGREP_max-0}; then - # Best one so far, save it but keep looking for a better one - ac_cv_path_EGREP="$ac_path_EGREP" - ac_path_EGREP_max=$ac_count - fi - # 10*(2^10) chars as input seems more than enough - test $ac_count -gt 10 && break - done - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; -esac - - $ac_path_EGREP_found && break 3 - done - done - done -IFS=$as_save_IFS - if test -z "$ac_cv_path_EGREP"; then - as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 - fi -else - ac_cv_path_EGREP=$EGREP -fi - - fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 -$as_echo "$ac_cv_path_EGREP" >&6; } - EGREP="$ac_cv_path_EGREP" - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 -$as_echo_n "checking for fgrep... " >&6; } -if ${ac_cv_path_FGREP+:} false; then : - $as_echo_n "(cached) " >&6 -else - if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 - then ac_cv_path_FGREP="$GREP -F" - else - if test -z "$FGREP"; then - ac_path_FGREP_found=false - # Loop through the user's path and test for each of PROGNAME-LIST - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_prog in fgrep; do - for ac_exec_ext in '' $ac_executable_extensions; do - ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" - as_fn_executable_p "$ac_path_FGREP" || continue -# Check for GNU ac_path_FGREP and select it if it is found. - # Check for GNU $ac_path_FGREP -case `"$ac_path_FGREP" --version 2>&1` in -*GNU*) - ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; -*) - ac_count=0 - $as_echo_n 0123456789 >"conftest.in" - while : - do - cat "conftest.in" "conftest.in" >"conftest.tmp" - mv "conftest.tmp" "conftest.in" - cp "conftest.in" "conftest.nl" - $as_echo 'FGREP' >> "conftest.nl" - "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break - as_fn_arith $ac_count + 1 && ac_count=$as_val - if test $ac_count -gt ${ac_path_FGREP_max-0}; then - # Best one so far, save it but keep looking for a better one - ac_cv_path_FGREP="$ac_path_FGREP" - ac_path_FGREP_max=$ac_count - fi - # 10*(2^10) chars as input seems more than enough - test $ac_count -gt 10 && break - done - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; -esac - - $ac_path_FGREP_found && break 3 - done - done - done -IFS=$as_save_IFS - if test -z "$ac_cv_path_FGREP"; then - as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 - fi -else - ac_cv_path_FGREP=$FGREP -fi - - fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 -$as_echo "$ac_cv_path_FGREP" >&6; } - FGREP="$ac_cv_path_FGREP" - - -test -z "$GREP" && GREP=grep - - - - - - - - - - - - - - - - - - - -# Check whether --with-gnu-ld was given. -if test "${with_gnu_ld+set}" = set; then : - withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes -else - with_gnu_ld=no -fi - -ac_prog=ld -if test yes = "$GCC"; then - # Check if gcc -print-prog-name=ld gives a path. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 -$as_echo_n "checking for ld used by $CC... " >&6; } - case $host in - *-*-mingw*) - # gcc leaves a trailing carriage return, which upsets mingw - ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; - *) - ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; - esac - case $ac_prog in - # Accept absolute paths. - [\\/]* | ?:[\\/]*) - re_direlt='/[^/][^/]*/\.\./' - # Canonicalize the pathname of ld - ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` - while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do - ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` - done - test -z "$LD" && LD=$ac_prog - ;; - "") - # If it fails, then pretend we aren't using GCC. - ac_prog=ld - ;; - *) - # If it is relative, then search for the first ld in PATH. - with_gnu_ld=unknown - ;; - esac -elif test yes = "$with_gnu_ld"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 -$as_echo_n "checking for GNU ld... " >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 -$as_echo_n "checking for non-GNU ld... " >&6; } -fi -if ${lt_cv_path_LD+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -z "$LD"; then - lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR - for ac_dir in $PATH; do - IFS=$lt_save_ifs - test -z "$ac_dir" && ac_dir=. - if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then - lt_cv_path_LD=$ac_dir/$ac_prog - # Check to see if the program is GNU ld. I'd rather use --version, - # but apparently some variants of GNU ld only accept -v. - # Break only if it was the GNU/non-GNU ld that we prefer. - case `"$lt_cv_path_LD" -v 2>&1 &5 -$as_echo "$LD" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi -test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 -$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } -if ${lt_cv_prog_gnu_ld+:} false; then : - $as_echo_n "(cached) " >&6 -else - # I'd rather use --version here, but apparently some GNU lds only accept -v. -case `$LD -v 2>&1 &5 -$as_echo "$lt_cv_prog_gnu_ld" >&6; } -with_gnu_ld=$lt_cv_prog_gnu_ld - - - - - - - - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 -$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } -if ${lt_cv_path_NM+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$NM"; then - # Let the user override the test. - lt_cv_path_NM=$NM -else - lt_nm_to_check=${ac_tool_prefix}nm - if test -n "$ac_tool_prefix" && test "$build" = "$host"; then - lt_nm_to_check="$lt_nm_to_check nm" - fi - for lt_tmp_nm in $lt_nm_to_check; do - lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR - for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do - IFS=$lt_save_ifs - test -z "$ac_dir" && ac_dir=. - tmp_nm=$ac_dir/$lt_tmp_nm - if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then - # Check to see if the nm accepts a BSD-compat flag. - # Adding the 'sed 1q' prevents false positives on HP-UX, which says: - # nm: unknown option "B" ignored - # Tru64's nm complains that /dev/null is an invalid object file - # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty - case $build_os in - mingw*) lt_bad_file=conftest.nm/nofile ;; - *) lt_bad_file=/dev/null ;; - esac - case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in - *$lt_bad_file* | *'Invalid file or object type'*) - lt_cv_path_NM="$tmp_nm -B" - break 2 - ;; - *) - case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in - */dev/null*) - lt_cv_path_NM="$tmp_nm -p" - break 2 - ;; - *) - lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but - continue # so that we can try to find one that supports BSD flags - ;; - esac - ;; - esac - fi - done - IFS=$lt_save_ifs - done - : ${lt_cv_path_NM=no} -fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 -$as_echo "$lt_cv_path_NM" >&6; } -if test no != "$lt_cv_path_NM"; then - NM=$lt_cv_path_NM -else - # Didn't find any BSD compatible name lister, look for dumpbin. - if test -n "$DUMPBIN"; then : - # Let the user override the test. - else - if test -n "$ac_tool_prefix"; then - for ac_prog in dumpbin "link -dump" - do - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. -set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_DUMPBIN+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$DUMPBIN"; then - ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -DUMPBIN=$ac_cv_prog_DUMPBIN -if test -n "$DUMPBIN"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 -$as_echo "$DUMPBIN" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$DUMPBIN" && break - done -fi -if test -z "$DUMPBIN"; then - ac_ct_DUMPBIN=$DUMPBIN - for ac_prog in dumpbin "link -dump" -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_DUMPBIN"; then - ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN -if test -n "$ac_ct_DUMPBIN"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 -$as_echo "$ac_ct_DUMPBIN" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$ac_ct_DUMPBIN" && break -done - - if test "x$ac_ct_DUMPBIN" = x; then - DUMPBIN=":" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - DUMPBIN=$ac_ct_DUMPBIN - fi -fi - - case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in - *COFF*) - DUMPBIN="$DUMPBIN -symbols -headers" - ;; - *) - DUMPBIN=: - ;; - esac - fi - - if test : != "$DUMPBIN"; then - NM=$DUMPBIN - fi -fi -test -z "$NM" && NM=nm - - - - - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 -$as_echo_n "checking the name lister ($NM) interface... " >&6; } -if ${lt_cv_nm_interface+:} false; then : - $as_echo_n "(cached) " >&6 -else - lt_cv_nm_interface="BSD nm" - echo "int some_variable = 0;" > conftest.$ac_ext - (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) - (eval "$ac_compile" 2>conftest.err) - cat conftest.err >&5 - (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) - (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) - cat conftest.err >&5 - (eval echo "\"\$as_me:$LINENO: output\"" >&5) - cat conftest.out >&5 - if $GREP 'External.*some_variable' conftest.out > /dev/null; then - lt_cv_nm_interface="MS dumpbin" - fi - rm -f conftest* -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 -$as_echo "$lt_cv_nm_interface" >&6; } - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 -$as_echo_n "checking whether ln -s works... " >&6; } -LN_S=$as_ln_s -if test "$LN_S" = "ln -s"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 -$as_echo "no, using $LN_S" >&6; } -fi - -# find the maximum length of command line arguments -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 -$as_echo_n "checking the maximum length of command line arguments... " >&6; } -if ${lt_cv_sys_max_cmd_len+:} false; then : - $as_echo_n "(cached) " >&6 -else - i=0 - teststring=ABCD - - case $build_os in - msdosdjgpp*) - # On DJGPP, this test can blow up pretty badly due to problems in libc - # (any single argument exceeding 2000 bytes causes a buffer overrun - # during glob expansion). Even if it were fixed, the result of this - # check would be larger than it should be. - lt_cv_sys_max_cmd_len=12288; # 12K is about right - ;; - - gnu*) - # Under GNU Hurd, this test is not required because there is - # no limit to the length of command line arguments. - # Libtool will interpret -1 as no limit whatsoever - lt_cv_sys_max_cmd_len=-1; - ;; - - cygwin* | mingw* | cegcc*) - # On Win9x/ME, this test blows up -- it succeeds, but takes - # about 5 minutes as the teststring grows exponentially. - # Worse, since 9x/ME are not pre-emptively multitasking, - # you end up with a "frozen" computer, even though with patience - # the test eventually succeeds (with a max line length of 256k). - # Instead, let's just punt: use the minimum linelength reported by - # all of the supported platforms: 8192 (on NT/2K/XP). - lt_cv_sys_max_cmd_len=8192; - ;; - - mint*) - # On MiNT this can take a long time and run out of memory. - lt_cv_sys_max_cmd_len=8192; - ;; - - amigaos*) - # On AmigaOS with pdksh, this test takes hours, literally. - # So we just punt and use a minimum line length of 8192. - lt_cv_sys_max_cmd_len=8192; - ;; - - bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) - # This has been around since 386BSD, at least. Likely further. - if test -x /sbin/sysctl; then - lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` - elif test -x /usr/sbin/sysctl; then - lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` - else - lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs - fi - # And add a safety zone - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` - ;; - - interix*) - # We know the value 262144 and hardcode it with a safety zone (like BSD) - lt_cv_sys_max_cmd_len=196608 - ;; - - os2*) - # The test takes a long time on OS/2. - lt_cv_sys_max_cmd_len=8192 - ;; - - osf*) - # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure - # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not - # nice to cause kernel panics so lets avoid the loop below. - # First set a reasonable default. - lt_cv_sys_max_cmd_len=16384 - # - if test -x /sbin/sysconfig; then - case `/sbin/sysconfig -q proc exec_disable_arg_limit` in - *1*) lt_cv_sys_max_cmd_len=-1 ;; - esac - fi - ;; - sco3.2v5*) - lt_cv_sys_max_cmd_len=102400 - ;; - sysv5* | sco5v6* | sysv4.2uw2*) - kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` - if test -n "$kargmax"; then - lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` - else - lt_cv_sys_max_cmd_len=32768 - fi - ;; - *) - lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` - if test -n "$lt_cv_sys_max_cmd_len" && \ - test undefined != "$lt_cv_sys_max_cmd_len"; then - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` - else - # Make teststring a little bigger before we do anything with it. - # a 1K string should be a reasonable start. - for i in 1 2 3 4 5 6 7 8; do - teststring=$teststring$teststring - done - SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} - # If test is not a shell built-in, we'll probably end up computing a - # maximum length that is only half of the actual maximum length, but - # we can't tell. - while { test X`env echo "$teststring$teststring" 2>/dev/null` \ - = "X$teststring$teststring"; } >/dev/null 2>&1 && - test 17 != "$i" # 1/2 MB should be enough - do - i=`expr $i + 1` - teststring=$teststring$teststring - done - # Only check the string length outside the loop. - lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` - teststring= - # Add a significant safety factor because C++ compilers can tack on - # massive amounts of additional arguments before passing them to the - # linker. It appears as though 1/2 is a usable value. - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` - fi - ;; - esac - -fi - -if test -n "$lt_cv_sys_max_cmd_len"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 -$as_echo "$lt_cv_sys_max_cmd_len" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 -$as_echo "none" >&6; } -fi -max_cmd_len=$lt_cv_sys_max_cmd_len - - - - - - -: ${CP="cp -f"} -: ${MV="mv -f"} -: ${RM="rm -f"} - -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then - lt_unset=unset -else - lt_unset=false -fi - - - - - -# test EBCDIC or ASCII -case `echo X|tr X '\101'` in - A) # ASCII based system - # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr - lt_SP2NL='tr \040 \012' - lt_NL2SP='tr \015\012 \040\040' - ;; - *) # EBCDIC based system - lt_SP2NL='tr \100 \n' - lt_NL2SP='tr \r\n \100\100' - ;; -esac - - - - - - - - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 -$as_echo_n "checking how to convert $build file names to $host format... " >&6; } -if ${lt_cv_to_host_file_cmd+:} false; then : - $as_echo_n "(cached) " >&6 -else - case $host in - *-*-mingw* ) - case $build in - *-*-mingw* ) # actually msys - lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 - ;; - *-*-cygwin* ) - lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 - ;; - * ) # otherwise, assume *nix - lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 - ;; - esac - ;; - *-*-cygwin* ) - case $build in - *-*-mingw* ) # actually msys - lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin - ;; - *-*-cygwin* ) - lt_cv_to_host_file_cmd=func_convert_file_noop - ;; - * ) # otherwise, assume *nix - lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin - ;; - esac - ;; - * ) # unhandled hosts (and "normal" native builds) - lt_cv_to_host_file_cmd=func_convert_file_noop - ;; -esac - -fi - -to_host_file_cmd=$lt_cv_to_host_file_cmd -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 -$as_echo "$lt_cv_to_host_file_cmd" >&6; } - - - - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 -$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } -if ${lt_cv_to_tool_file_cmd+:} false; then : - $as_echo_n "(cached) " >&6 -else - #assume ordinary cross tools, or native build. -lt_cv_to_tool_file_cmd=func_convert_file_noop -case $host in - *-*-mingw* ) - case $build in - *-*-mingw* ) # actually msys - lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 - ;; - esac - ;; -esac - -fi - -to_tool_file_cmd=$lt_cv_to_tool_file_cmd -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 -$as_echo "$lt_cv_to_tool_file_cmd" >&6; } - - - - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 -$as_echo_n "checking for $LD option to reload object files... " >&6; } -if ${lt_cv_ld_reload_flag+:} false; then : - $as_echo_n "(cached) " >&6 -else - lt_cv_ld_reload_flag='-r' -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 -$as_echo "$lt_cv_ld_reload_flag" >&6; } -reload_flag=$lt_cv_ld_reload_flag -case $reload_flag in -"" | " "*) ;; -*) reload_flag=" $reload_flag" ;; -esac -reload_cmds='$LD$reload_flag -o $output$reload_objs' -case $host_os in - cygwin* | mingw* | pw32* | cegcc*) - if test yes != "$GCC"; then - reload_cmds=false - fi - ;; - darwin*) - if test yes = "$GCC"; then - reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs' - else - reload_cmds='$LD$reload_flag -o $output$reload_objs' - fi - ;; -esac - - - - - - - - - -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. -set dummy ${ac_tool_prefix}objdump; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_OBJDUMP+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$OBJDUMP"; then - ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -OBJDUMP=$ac_cv_prog_OBJDUMP -if test -n "$OBJDUMP"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 -$as_echo "$OBJDUMP" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_OBJDUMP"; then - ac_ct_OBJDUMP=$OBJDUMP - # Extract the first word of "objdump", so it can be a program name with args. -set dummy objdump; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_OBJDUMP"; then - ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_OBJDUMP="objdump" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP -if test -n "$ac_ct_OBJDUMP"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 -$as_echo "$ac_ct_OBJDUMP" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_OBJDUMP" = x; then - OBJDUMP="false" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - OBJDUMP=$ac_ct_OBJDUMP - fi -else - OBJDUMP="$ac_cv_prog_OBJDUMP" -fi - -test -z "$OBJDUMP" && OBJDUMP=objdump - - - - - - - - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 -$as_echo_n "checking how to recognize dependent libraries... " >&6; } -if ${lt_cv_deplibs_check_method+:} false; then : - $as_echo_n "(cached) " >&6 -else - lt_cv_file_magic_cmd='$MAGIC_CMD' -lt_cv_file_magic_test_file= -lt_cv_deplibs_check_method='unknown' -# Need to set the preceding variable on all platforms that support -# interlibrary dependencies. -# 'none' -- dependencies not supported. -# 'unknown' -- same as none, but documents that we really don't know. -# 'pass_all' -- all dependencies passed with no checks. -# 'test_compile' -- check by making test program. -# 'file_magic [[regex]]' -- check by looking for files in library path -# that responds to the $file_magic_cmd with a given extended regex. -# If you have 'file' or equivalent on your system and you're not sure -# whether 'pass_all' will *always* work, you probably want this one. - -case $host_os in -aix[4-9]*) - lt_cv_deplibs_check_method=pass_all - ;; - -beos*) - lt_cv_deplibs_check_method=pass_all - ;; - -bsdi[45]*) - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' - lt_cv_file_magic_cmd='/usr/bin/file -L' - lt_cv_file_magic_test_file=/shlib/libc.so - ;; - -cygwin*) - # func_win32_libid is a shell function defined in ltmain.sh - lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' - lt_cv_file_magic_cmd='func_win32_libid' - ;; - -mingw* | pw32*) - # Base MSYS/MinGW do not provide the 'file' command needed by - # func_win32_libid shell function, so use a weaker test based on 'objdump', - # unless we find 'file', for example because we are cross-compiling. - if ( file / ) >/dev/null 2>&1; then - lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' - lt_cv_file_magic_cmd='func_win32_libid' - else - # Keep this pattern in sync with the one in func_win32_libid. - lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' - lt_cv_file_magic_cmd='$OBJDUMP -f' - fi - ;; - -cegcc*) - # use the weaker test based on 'objdump'. See mingw*. - lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' - lt_cv_file_magic_cmd='$OBJDUMP -f' - ;; - -darwin* | rhapsody*) - lt_cv_deplibs_check_method=pass_all - ;; - -freebsd* | dragonfly*) - if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then - case $host_cpu in - i*86 ) - # Not sure whether the presence of OpenBSD here was a mistake. - # Let's accept both of them until this is cleared up. - lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' - lt_cv_file_magic_cmd=/usr/bin/file - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` - ;; - esac - else - lt_cv_deplibs_check_method=pass_all - fi - ;; - -haiku*) - lt_cv_deplibs_check_method=pass_all - ;; - -hpux10.20* | hpux11*) - lt_cv_file_magic_cmd=/usr/bin/file - case $host_cpu in - ia64*) - lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' - lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so - ;; - hppa*64*) - lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]' - lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl - ;; - *) - lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' - lt_cv_file_magic_test_file=/usr/lib/libc.sl - ;; - esac - ;; - -interix[3-9]*) - # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' - ;; - -irix5* | irix6* | nonstopux*) - case $LD in - *-32|*"-32 ") libmagic=32-bit;; - *-n32|*"-n32 ") libmagic=N32;; - *-64|*"-64 ") libmagic=64-bit;; - *) libmagic=never-match;; - esac - lt_cv_deplibs_check_method=pass_all - ;; - -# This must be glibc/ELF. -linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) - lt_cv_deplibs_check_method=pass_all - ;; - -netbsd* | netbsdelf*-gnu) - if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' - else - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' - fi - ;; - -newos6*) - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' - lt_cv_file_magic_cmd=/usr/bin/file - lt_cv_file_magic_test_file=/usr/lib/libnls.so - ;; - -*nto* | *qnx*) - lt_cv_deplibs_check_method=pass_all - ;; - -openbsd* | bitrig*) - if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' - else - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' - fi - ;; - -osf3* | osf4* | osf5*) - lt_cv_deplibs_check_method=pass_all - ;; - -rdos*) - lt_cv_deplibs_check_method=pass_all - ;; - -solaris*) - lt_cv_deplibs_check_method=pass_all - ;; - -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) - lt_cv_deplibs_check_method=pass_all - ;; - -sysv4 | sysv4.3*) - case $host_vendor in - motorola) - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]' - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` - ;; - ncr) - lt_cv_deplibs_check_method=pass_all - ;; - sequent) - lt_cv_file_magic_cmd='/bin/file' - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' - ;; - sni) - lt_cv_file_magic_cmd='/bin/file' - lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" - lt_cv_file_magic_test_file=/lib/libc.so - ;; - siemens) - lt_cv_deplibs_check_method=pass_all - ;; - pc) - lt_cv_deplibs_check_method=pass_all - ;; - esac - ;; - -tpf*) - lt_cv_deplibs_check_method=pass_all - ;; -os2*) - lt_cv_deplibs_check_method=pass_all - ;; -esac - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 -$as_echo "$lt_cv_deplibs_check_method" >&6; } - -file_magic_glob= -want_nocaseglob=no -if test "$build" = "$host"; then - case $host_os in - mingw* | pw32*) - if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then - want_nocaseglob=yes - else - file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` - fi - ;; - esac -fi - -file_magic_cmd=$lt_cv_file_magic_cmd -deplibs_check_method=$lt_cv_deplibs_check_method -test -z "$deplibs_check_method" && deplibs_check_method=unknown - - - - - - - - - - - - - - - - - - - - - - -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. -set dummy ${ac_tool_prefix}dlltool; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_DLLTOOL+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$DLLTOOL"; then - ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -DLLTOOL=$ac_cv_prog_DLLTOOL -if test -n "$DLLTOOL"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 -$as_echo "$DLLTOOL" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_DLLTOOL"; then - ac_ct_DLLTOOL=$DLLTOOL - # Extract the first word of "dlltool", so it can be a program name with args. -set dummy dlltool; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_DLLTOOL"; then - ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_DLLTOOL="dlltool" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL -if test -n "$ac_ct_DLLTOOL"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 -$as_echo "$ac_ct_DLLTOOL" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_DLLTOOL" = x; then - DLLTOOL="false" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - DLLTOOL=$ac_ct_DLLTOOL - fi -else - DLLTOOL="$ac_cv_prog_DLLTOOL" -fi - -test -z "$DLLTOOL" && DLLTOOL=dlltool - - - - - - - - - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 -$as_echo_n "checking how to associate runtime and link libraries... " >&6; } -if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : - $as_echo_n "(cached) " >&6 -else - lt_cv_sharedlib_from_linklib_cmd='unknown' - -case $host_os in -cygwin* | mingw* | pw32* | cegcc*) - # two different shell functions defined in ltmain.sh; - # decide which one to use based on capabilities of $DLLTOOL - case `$DLLTOOL --help 2>&1` in - *--identify-strict*) - lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib - ;; - *) - lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback - ;; - esac - ;; -*) - # fallback: assume linklib IS sharedlib - lt_cv_sharedlib_from_linklib_cmd=$ECHO - ;; -esac - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 -$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } -sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd -test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO - - - - - - - -if test -n "$ac_tool_prefix"; then - for ac_prog in ar - do - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. -set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_AR+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$AR"; then - ac_cv_prog_AR="$AR" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_AR="$ac_tool_prefix$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -AR=$ac_cv_prog_AR -if test -n "$AR"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 -$as_echo "$AR" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$AR" && break - done -fi -if test -z "$AR"; then - ac_ct_AR=$AR - for ac_prog in ar -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_AR+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_AR"; then - ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_AR="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_AR=$ac_cv_prog_ac_ct_AR -if test -n "$ac_ct_AR"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 -$as_echo "$ac_ct_AR" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$ac_ct_AR" && break -done - - if test "x$ac_ct_AR" = x; then - AR="false" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - AR=$ac_ct_AR - fi -fi - -: ${AR=ar} -: ${AR_FLAGS=cr} - - - - - - - - - - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 -$as_echo_n "checking for archiver @FILE support... " >&6; } -if ${lt_cv_ar_at_file+:} false; then : - $as_echo_n "(cached) " >&6 -else - lt_cv_ar_at_file=no - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - echo conftest.$ac_objext > conftest.lst - lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' - { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 - (eval $lt_ar_try) 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } - if test 0 -eq "$ac_status"; then - # Ensure the archiver fails upon bogus file names. - rm -f conftest.$ac_objext libconftest.a - { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 - (eval $lt_ar_try) 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } - if test 0 -ne "$ac_status"; then - lt_cv_ar_at_file=@ - fi - fi - rm -f conftest.* libconftest.a - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 -$as_echo "$lt_cv_ar_at_file" >&6; } - -if test no = "$lt_cv_ar_at_file"; then - archiver_list_spec= -else - archiver_list_spec=$lt_cv_ar_at_file -fi - - - - - - - -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. -set dummy ${ac_tool_prefix}strip; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_STRIP+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$STRIP"; then - ac_cv_prog_STRIP="$STRIP" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_STRIP="${ac_tool_prefix}strip" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -STRIP=$ac_cv_prog_STRIP -if test -n "$STRIP"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 -$as_echo "$STRIP" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_STRIP"; then - ac_ct_STRIP=$STRIP - # Extract the first word of "strip", so it can be a program name with args. -set dummy strip; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_STRIP+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_STRIP"; then - ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_STRIP="strip" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP -if test -n "$ac_ct_STRIP"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 -$as_echo "$ac_ct_STRIP" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_STRIP" = x; then - STRIP=":" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - STRIP=$ac_ct_STRIP - fi -else - STRIP="$ac_cv_prog_STRIP" -fi - -test -z "$STRIP" && STRIP=: - - - - - - -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. -set dummy ${ac_tool_prefix}ranlib; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_RANLIB+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$RANLIB"; then - ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -RANLIB=$ac_cv_prog_RANLIB -if test -n "$RANLIB"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 -$as_echo "$RANLIB" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_RANLIB"; then - ac_ct_RANLIB=$RANLIB - # Extract the first word of "ranlib", so it can be a program name with args. -set dummy ranlib; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_RANLIB"; then - ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_RANLIB="ranlib" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB -if test -n "$ac_ct_RANLIB"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 -$as_echo "$ac_ct_RANLIB" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_RANLIB" = x; then - RANLIB=":" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - RANLIB=$ac_ct_RANLIB - fi -else - RANLIB="$ac_cv_prog_RANLIB" -fi - -test -z "$RANLIB" && RANLIB=: - - - - - - -# Determine commands to create old-style static archives. -old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' -old_postinstall_cmds='chmod 644 $oldlib' -old_postuninstall_cmds= - -if test -n "$RANLIB"; then - case $host_os in - bitrig* | openbsd*) - old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" - ;; - *) - old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" - ;; - esac - old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" -fi - -case $host_os in - darwin*) - lock_old_archive_extraction=yes ;; - *) - lock_old_archive_extraction=no ;; -esac - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -# If no C compiler was specified, use CC. -LTCC=${LTCC-"$CC"} - -# If no C compiler flags were specified, use CFLAGS. -LTCFLAGS=${LTCFLAGS-"$CFLAGS"} - -# Allow CC to be a program name with arguments. -compiler=$CC - - -# Check for command to grab the raw symbol name followed by C symbol from nm. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 -$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } -if ${lt_cv_sys_global_symbol_pipe+:} false; then : - $as_echo_n "(cached) " >&6 -else - -# These are sane defaults that work on at least a few old systems. -# [They come from Ultrix. What could be older than Ultrix?!! ;)] - -# Character class describing NM global symbol codes. -symcode='[BCDEGRST]' - -# Regexp to match symbols that can be accessed directly from C. -sympat='\([_A-Za-z][_A-Za-z0-9]*\)' - -# Define system-specific variables. -case $host_os in -aix*) - symcode='[BCDT]' - ;; -cygwin* | mingw* | pw32* | cegcc*) - symcode='[ABCDGISTW]' - ;; -hpux*) - if test ia64 = "$host_cpu"; then - symcode='[ABCDEGRST]' - fi - ;; -irix* | nonstopux*) - symcode='[BCDEGRST]' - ;; -osf*) - symcode='[BCDEGQRST]' - ;; -solaris*) - symcode='[BDRT]' - ;; -sco3.2v5*) - symcode='[DT]' - ;; -sysv4.2uw2*) - symcode='[DT]' - ;; -sysv5* | sco5v6* | unixware* | OpenUNIX*) - symcode='[ABDT]' - ;; -sysv4) - symcode='[DFNSTU]' - ;; -esac - -# If we're using GNU nm, then use its standard symbol codes. -case `$NM -V 2>&1` in -*GNU* | *'with BFD'*) - symcode='[ABCDGIRSTW]' ;; -esac - -if test "$lt_cv_nm_interface" = "MS dumpbin"; then - # Gets list of data symbols to import. - lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" - # Adjust the below global symbol transforms to fixup imported variables. - lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" - lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" - lt_c_name_lib_hook="\ - -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ - -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" -else - # Disable hooks by default. - lt_cv_sys_global_symbol_to_import= - lt_cdecl_hook= - lt_c_name_hook= - lt_c_name_lib_hook= -fi - -# Transform an extracted symbol line into a proper C declaration. -# Some systems (esp. on ia64) link data and code symbols differently, -# so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="sed -n"\ -$lt_cdecl_hook\ -" -e 's/^T .* \(.*\)$/extern int \1();/p'"\ -" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" - -# Transform an extracted symbol line into symbol name and symbol address -lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ -$lt_c_name_hook\ -" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ -" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" - -# Transform an extracted symbol line into symbol name with lib prefix and -# symbol address. -lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ -$lt_c_name_lib_hook\ -" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ -" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ -" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" - -# Handle CRLF in mingw tool chain -opt_cr= -case $build_os in -mingw*) - opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp - ;; -esac - -# Try without a prefix underscore, then with it. -for ac_symprfx in "" "_"; do - - # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. - symxfrm="\\1 $ac_symprfx\\2 \\2" - - # Write the raw and C identifiers. - if test "$lt_cv_nm_interface" = "MS dumpbin"; then - # Fake it for dumpbin and say T for any non-static function, - # D for any global variable and I for any imported variable. - # Also find C++ and __fastcall symbols from MSVC++, - # which start with @ or ?. - lt_cv_sys_global_symbol_pipe="$AWK '"\ -" {last_section=section; section=\$ 3};"\ -" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ -" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ -" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ -" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ -" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ -" \$ 0!~/External *\|/{next};"\ -" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ -" {if(hide[section]) next};"\ -" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ -" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ -" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ -" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ -" ' prfx=^$ac_symprfx" - else - lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" - fi - lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" - - # Check to see that the pipe works correctly. - pipe_works=no - - rm -f conftest* - cat > conftest.$ac_ext <<_LT_EOF -#ifdef __cplusplus -extern "C" { -#endif -char nm_test_var; -void nm_test_func(void); -void nm_test_func(void){} -#ifdef __cplusplus -} -#endif -int main(){nm_test_var='a';nm_test_func();return(0);} -_LT_EOF - - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then - # Now try to grab the symbols. - nlist=conftest.nm - $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5 - if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then - # Try sorting and uniquifying the output. - if sort "$nlist" | uniq > "$nlist"T; then - mv -f "$nlist"T "$nlist" - else - rm -f "$nlist"T - fi - - # Make sure that we snagged all the symbols we need. - if $GREP ' nm_test_var$' "$nlist" >/dev/null; then - if $GREP ' nm_test_func$' "$nlist" >/dev/null; then - cat <<_LT_EOF > conftest.$ac_ext -/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ -#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE -/* DATA imports from DLLs on WIN32 can't be const, because runtime - relocations are performed -- see ld's documentation on pseudo-relocs. */ -# define LT_DLSYM_CONST -#elif defined __osf__ -/* This system does not cope well with relocations in const data. */ -# define LT_DLSYM_CONST -#else -# define LT_DLSYM_CONST const -#endif - -#ifdef __cplusplus -extern "C" { -#endif - -_LT_EOF - # Now generate the symbol file. - eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' - - cat <<_LT_EOF >> conftest.$ac_ext - -/* The mapping between symbol names and symbols. */ -LT_DLSYM_CONST struct { - const char *name; - void *address; -} -lt__PROGRAM__LTX_preloaded_symbols[] = -{ - { "@PROGRAM@", (void *) 0 }, -_LT_EOF - $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext - cat <<\_LT_EOF >> conftest.$ac_ext - {0, (void *) 0} -}; - -/* This works around a problem in FreeBSD linker */ -#ifdef FREEBSD_WORKAROUND -static const void *lt_preloaded_setup() { - return lt__PROGRAM__LTX_preloaded_symbols; -} -#endif - -#ifdef __cplusplus -} -#endif -_LT_EOF - # Now try linking the two files. - mv conftest.$ac_objext conftstm.$ac_objext - lt_globsym_save_LIBS=$LIBS - lt_globsym_save_CFLAGS=$CFLAGS - LIBS=conftstm.$ac_objext - CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 - (eval $ac_link) 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } && test -s conftest$ac_exeext; then - pipe_works=yes - fi - LIBS=$lt_globsym_save_LIBS - CFLAGS=$lt_globsym_save_CFLAGS - else - echo "cannot find nm_test_func in $nlist" >&5 - fi - else - echo "cannot find nm_test_var in $nlist" >&5 - fi - else - echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 - fi - else - echo "$progname: failed program was:" >&5 - cat conftest.$ac_ext >&5 - fi - rm -rf conftest* conftst* - - # Do not use the global_symbol_pipe unless it works. - if test yes = "$pipe_works"; then - break - else - lt_cv_sys_global_symbol_pipe= - fi -done - -fi - -if test -z "$lt_cv_sys_global_symbol_pipe"; then - lt_cv_sys_global_symbol_to_cdecl= -fi -if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 -$as_echo "failed" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 -$as_echo "ok" >&6; } -fi - -# Response file support. -if test "$lt_cv_nm_interface" = "MS dumpbin"; then - nm_file_list_spec='@' -elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then - nm_file_list_spec='@' -fi - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 -$as_echo_n "checking for sysroot... " >&6; } - -# Check whether --with-sysroot was given. -if test "${with_sysroot+set}" = set; then : - withval=$with_sysroot; -else - with_sysroot=no -fi - - -lt_sysroot= -case $with_sysroot in #( - yes) - if test yes = "$GCC"; then - lt_sysroot=`$CC --print-sysroot 2>/dev/null` - fi - ;; #( - /*) - lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` - ;; #( - no|'') - ;; #( - *) - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 -$as_echo "$with_sysroot" >&6; } - as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 - ;; -esac - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 -$as_echo "${lt_sysroot:-no}" >&6; } - - - - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 -$as_echo_n "checking for a working dd... " >&6; } -if ${ac_cv_path_lt_DD+:} false; then : - $as_echo_n "(cached) " >&6 -else - printf 0123456789abcdef0123456789abcdef >conftest.i -cat conftest.i conftest.i >conftest2.i -: ${lt_DD:=$DD} -if test -z "$lt_DD"; then - ac_path_lt_DD_found=false - # Loop through the user's path and test for each of PROGNAME-LIST - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_prog in dd; do - for ac_exec_ext in '' $ac_executable_extensions; do - ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext" - as_fn_executable_p "$ac_path_lt_DD" || continue -if "$ac_path_lt_DD" bs=32 count=1 conftest.out 2>/dev/null; then - cmp -s conftest.i conftest.out \ - && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: -fi - $ac_path_lt_DD_found && break 3 - done - done - done -IFS=$as_save_IFS - if test -z "$ac_cv_path_lt_DD"; then - : - fi -else - ac_cv_path_lt_DD=$lt_DD -fi - -rm -f conftest.i conftest2.i conftest.out -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 -$as_echo "$ac_cv_path_lt_DD" >&6; } - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 -$as_echo_n "checking how to truncate binary pipes... " >&6; } -if ${lt_cv_truncate_bin+:} false; then : - $as_echo_n "(cached) " >&6 -else - printf 0123456789abcdef0123456789abcdef >conftest.i -cat conftest.i conftest.i >conftest2.i -lt_cv_truncate_bin= -if "$ac_cv_path_lt_DD" bs=32 count=1 conftest.out 2>/dev/null; then - cmp -s conftest.i conftest.out \ - && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" -fi -rm -f conftest.i conftest2.i conftest.out -test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 -$as_echo "$lt_cv_truncate_bin" >&6; } - - - - - - - -# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. -func_cc_basename () -{ - for cc_temp in $*""; do - case $cc_temp in - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; - \-*) ;; - *) break;; - esac - done - func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` -} - -# Check whether --enable-libtool-lock was given. -if test "${enable_libtool_lock+set}" = set; then : - enableval=$enable_libtool_lock; -fi - -test no = "$enable_libtool_lock" || enable_libtool_lock=yes - -# Some flags need to be propagated to the compiler or linker for good -# libtool support. -case $host in -ia64-*-hpux*) - # Find out what ABI is being produced by ac_compile, and set mode - # options accordingly. - echo 'int i;' > conftest.$ac_ext - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then - case `/usr/bin/file conftest.$ac_objext` in - *ELF-32*) - HPUX_IA64_MODE=32 - ;; - *ELF-64*) - HPUX_IA64_MODE=64 - ;; - esac - fi - rm -rf conftest* - ;; -*-*-irix6*) - # Find out what ABI is being produced by ac_compile, and set linker - # options accordingly. - echo '#line '$LINENO' "configure"' > conftest.$ac_ext - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then - if test yes = "$lt_cv_prog_gnu_ld"; then - case `/usr/bin/file conftest.$ac_objext` in - *32-bit*) - LD="${LD-ld} -melf32bsmip" - ;; - *N32*) - LD="${LD-ld} -melf32bmipn32" - ;; - *64-bit*) - LD="${LD-ld} -melf64bmip" - ;; - esac - else - case `/usr/bin/file conftest.$ac_objext` in - *32-bit*) - LD="${LD-ld} -32" - ;; - *N32*) - LD="${LD-ld} -n32" - ;; - *64-bit*) - LD="${LD-ld} -64" - ;; - esac - fi - fi - rm -rf conftest* - ;; - -mips64*-*linux*) - # Find out what ABI is being produced by ac_compile, and set linker - # options accordingly. - echo '#line '$LINENO' "configure"' > conftest.$ac_ext - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then - emul=elf - case `/usr/bin/file conftest.$ac_objext` in - *32-bit*) - emul="${emul}32" - ;; - *64-bit*) - emul="${emul}64" - ;; - esac - case `/usr/bin/file conftest.$ac_objext` in - *MSB*) - emul="${emul}btsmip" - ;; - *LSB*) - emul="${emul}ltsmip" - ;; - esac - case `/usr/bin/file conftest.$ac_objext` in - *N32*) - emul="${emul}n32" - ;; - esac - LD="${LD-ld} -m $emul" - fi - rm -rf conftest* - ;; - -x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ -s390*-*linux*|s390*-*tpf*|sparc*-*linux*) - # Find out what ABI is being produced by ac_compile, and set linker - # options accordingly. Note that the listed cases only cover the - # situations where additional linker options are needed (such as when - # doing 32-bit compilation for a host where ld defaults to 64-bit, or - # vice versa); the common cases where no linker options are needed do - # not appear in the list. - echo 'int i;' > conftest.$ac_ext - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then - case `/usr/bin/file conftest.o` in - *32-bit*) - case $host in - x86_64-*kfreebsd*-gnu) - LD="${LD-ld} -m elf_i386_fbsd" - ;; - x86_64-*linux*) - case `/usr/bin/file conftest.o` in - *x86-64*) - LD="${LD-ld} -m elf32_x86_64" - ;; - *) - LD="${LD-ld} -m elf_i386" - ;; - esac - ;; - powerpc64le-*linux*) - LD="${LD-ld} -m elf32lppclinux" - ;; - powerpc64-*linux*) - LD="${LD-ld} -m elf32ppclinux" - ;; - s390x-*linux*) - LD="${LD-ld} -m elf_s390" - ;; - sparc64-*linux*) - LD="${LD-ld} -m elf32_sparc" - ;; - esac - ;; - *64-bit*) - case $host in - x86_64-*kfreebsd*-gnu) - LD="${LD-ld} -m elf_x86_64_fbsd" - ;; - x86_64-*linux*) - LD="${LD-ld} -m elf_x86_64" - ;; - powerpcle-*linux*) - LD="${LD-ld} -m elf64lppc" - ;; - powerpc-*linux*) - LD="${LD-ld} -m elf64ppc" - ;; - s390*-*linux*|s390*-*tpf*) - LD="${LD-ld} -m elf64_s390" - ;; - sparc*-*linux*) - LD="${LD-ld} -m elf64_sparc" - ;; - esac - ;; - esac - fi - rm -rf conftest* - ;; - -*-*-sco3.2v5*) - # On SCO OpenServer 5, we need -belf to get full-featured binaries. - SAVE_CFLAGS=$CFLAGS - CFLAGS="$CFLAGS -belf" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 -$as_echo_n "checking whether the C compiler needs -belf... " >&6; } -if ${lt_cv_cc_needs_belf+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - lt_cv_cc_needs_belf=yes -else - lt_cv_cc_needs_belf=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 -$as_echo "$lt_cv_cc_needs_belf" >&6; } - if test yes != "$lt_cv_cc_needs_belf"; then - # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf - CFLAGS=$SAVE_CFLAGS - fi - ;; -*-*solaris*) - # Find out what ABI is being produced by ac_compile, and set linker - # options accordingly. - echo 'int i;' > conftest.$ac_ext - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then - case `/usr/bin/file conftest.o` in - *64-bit*) - case $lt_cv_prog_gnu_ld in - yes*) - case $host in - i?86-*-solaris*|x86_64-*-solaris*) - LD="${LD-ld} -m elf_x86_64" - ;; - sparc*-*-solaris*) - LD="${LD-ld} -m elf64_sparc" - ;; - esac - # GNU ld 2.21 introduced _sol2 emulations. Use them if available. - if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then - LD=${LD-ld}_sol2 - fi - ;; - *) - if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then - LD="${LD-ld} -64" - fi - ;; - esac - ;; - esac - fi - rm -rf conftest* - ;; -esac - -need_locks=$enable_libtool_lock - -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. -set dummy ${ac_tool_prefix}mt; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$MANIFEST_TOOL"; then - ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL -if test -n "$MANIFEST_TOOL"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 -$as_echo "$MANIFEST_TOOL" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_MANIFEST_TOOL"; then - ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL - # Extract the first word of "mt", so it can be a program name with args. -set dummy mt; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_MANIFEST_TOOL"; then - ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL -if test -n "$ac_ct_MANIFEST_TOOL"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 -$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_MANIFEST_TOOL" = x; then - MANIFEST_TOOL=":" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL - fi -else - MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" -fi - -test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 -$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } -if ${lt_cv_path_mainfest_tool+:} false; then : - $as_echo_n "(cached) " >&6 -else - lt_cv_path_mainfest_tool=no - echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 - $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out - cat conftest.err >&5 - if $GREP 'Manifest Tool' conftest.out > /dev/null; then - lt_cv_path_mainfest_tool=yes - fi - rm -f conftest* -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 -$as_echo "$lt_cv_path_mainfest_tool" >&6; } -if test yes != "$lt_cv_path_mainfest_tool"; then - MANIFEST_TOOL=: -fi - - - - - - - case $host_os in - rhapsody* | darwin*) - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. -set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_DSYMUTIL+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$DSYMUTIL"; then - ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -DSYMUTIL=$ac_cv_prog_DSYMUTIL -if test -n "$DSYMUTIL"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 -$as_echo "$DSYMUTIL" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_DSYMUTIL"; then - ac_ct_DSYMUTIL=$DSYMUTIL - # Extract the first word of "dsymutil", so it can be a program name with args. -set dummy dsymutil; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_DSYMUTIL"; then - ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL -if test -n "$ac_ct_DSYMUTIL"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 -$as_echo "$ac_ct_DSYMUTIL" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_DSYMUTIL" = x; then - DSYMUTIL=":" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - DSYMUTIL=$ac_ct_DSYMUTIL - fi -else - DSYMUTIL="$ac_cv_prog_DSYMUTIL" -fi - - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. -set dummy ${ac_tool_prefix}nmedit; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_NMEDIT+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$NMEDIT"; then - ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -NMEDIT=$ac_cv_prog_NMEDIT -if test -n "$NMEDIT"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 -$as_echo "$NMEDIT" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_NMEDIT"; then - ac_ct_NMEDIT=$NMEDIT - # Extract the first word of "nmedit", so it can be a program name with args. -set dummy nmedit; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_NMEDIT"; then - ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_NMEDIT="nmedit" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT -if test -n "$ac_ct_NMEDIT"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 -$as_echo "$ac_ct_NMEDIT" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_NMEDIT" = x; then - NMEDIT=":" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - NMEDIT=$ac_ct_NMEDIT - fi -else - NMEDIT="$ac_cv_prog_NMEDIT" -fi - - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. -set dummy ${ac_tool_prefix}lipo; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_LIPO+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$LIPO"; then - ac_cv_prog_LIPO="$LIPO" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_LIPO="${ac_tool_prefix}lipo" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -LIPO=$ac_cv_prog_LIPO -if test -n "$LIPO"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 -$as_echo "$LIPO" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_LIPO"; then - ac_ct_LIPO=$LIPO - # Extract the first word of "lipo", so it can be a program name with args. -set dummy lipo; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_LIPO+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_LIPO"; then - ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_LIPO="lipo" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO -if test -n "$ac_ct_LIPO"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 -$as_echo "$ac_ct_LIPO" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_LIPO" = x; then - LIPO=":" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - LIPO=$ac_ct_LIPO - fi -else - LIPO="$ac_cv_prog_LIPO" -fi - - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. -set dummy ${ac_tool_prefix}otool; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_OTOOL+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$OTOOL"; then - ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_OTOOL="${ac_tool_prefix}otool" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -OTOOL=$ac_cv_prog_OTOOL -if test -n "$OTOOL"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 -$as_echo "$OTOOL" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_OTOOL"; then - ac_ct_OTOOL=$OTOOL - # Extract the first word of "otool", so it can be a program name with args. -set dummy otool; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_OTOOL"; then - ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_OTOOL="otool" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL -if test -n "$ac_ct_OTOOL"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 -$as_echo "$ac_ct_OTOOL" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_OTOOL" = x; then - OTOOL=":" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - OTOOL=$ac_ct_OTOOL - fi -else - OTOOL="$ac_cv_prog_OTOOL" -fi - - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. -set dummy ${ac_tool_prefix}otool64; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_OTOOL64+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$OTOOL64"; then - ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -OTOOL64=$ac_cv_prog_OTOOL64 -if test -n "$OTOOL64"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 -$as_echo "$OTOOL64" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_OTOOL64"; then - ac_ct_OTOOL64=$OTOOL64 - # Extract the first word of "otool64", so it can be a program name with args. -set dummy otool64; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_OTOOL64"; then - ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_OTOOL64="otool64" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 -if test -n "$ac_ct_OTOOL64"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 -$as_echo "$ac_ct_OTOOL64" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_OTOOL64" = x; then - OTOOL64=":" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - OTOOL64=$ac_ct_OTOOL64 - fi -else - OTOOL64="$ac_cv_prog_OTOOL64" -fi - - - - - - - - - - - - - - - - - - - - - - - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 -$as_echo_n "checking for -single_module linker flag... " >&6; } -if ${lt_cv_apple_cc_single_mod+:} false; then : - $as_echo_n "(cached) " >&6 -else - lt_cv_apple_cc_single_mod=no - if test -z "$LT_MULTI_MODULE"; then - # By default we will add the -single_module flag. You can override - # by either setting the environment variable LT_MULTI_MODULE - # non-empty at configure time, or by adding -multi_module to the - # link flags. - rm -rf libconftest.dylib* - echo "int foo(void){return 1;}" > conftest.c - echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ --dynamiclib -Wl,-single_module conftest.c" >&5 - $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ - -dynamiclib -Wl,-single_module conftest.c 2>conftest.err - _lt_result=$? - # If there is a non-empty error log, and "single_module" - # appears in it, assume the flag caused a linker warning - if test -s conftest.err && $GREP single_module conftest.err; then - cat conftest.err >&5 - # Otherwise, if the output was created with a 0 exit code from - # the compiler, it worked. - elif test -f libconftest.dylib && test 0 = "$_lt_result"; then - lt_cv_apple_cc_single_mod=yes - else - cat conftest.err >&5 - fi - rm -rf libconftest.dylib* - rm -f conftest.* - fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 -$as_echo "$lt_cv_apple_cc_single_mod" >&6; } - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 -$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } -if ${lt_cv_ld_exported_symbols_list+:} false; then : - $as_echo_n "(cached) " >&6 -else - lt_cv_ld_exported_symbols_list=no - save_LDFLAGS=$LDFLAGS - echo "_main" > conftest.sym - LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - lt_cv_ld_exported_symbols_list=yes -else - lt_cv_ld_exported_symbols_list=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - LDFLAGS=$save_LDFLAGS - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 -$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 -$as_echo_n "checking for -force_load linker flag... " >&6; } -if ${lt_cv_ld_force_load+:} false; then : - $as_echo_n "(cached) " >&6 -else - lt_cv_ld_force_load=no - cat > conftest.c << _LT_EOF -int forced_loaded() { return 2;} -_LT_EOF - echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 - $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 - echo "$AR cr libconftest.a conftest.o" >&5 - $AR cr libconftest.a conftest.o 2>&5 - echo "$RANLIB libconftest.a" >&5 - $RANLIB libconftest.a 2>&5 - cat > conftest.c << _LT_EOF -int main() { return 0;} -_LT_EOF - echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 - $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err - _lt_result=$? - if test -s conftest.err && $GREP force_load conftest.err; then - cat conftest.err >&5 - elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then - lt_cv_ld_force_load=yes - else - cat conftest.err >&5 - fi - rm -f conftest.err libconftest.a conftest conftest.c - rm -rf conftest.dSYM - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 -$as_echo "$lt_cv_ld_force_load" >&6; } - case $host_os in - rhapsody* | darwin1.[012]) - _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; - darwin1.*) - _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; - darwin*) # darwin 5.x on - # if running on 10.5 or later, the deployment target defaults - # to the OS version, if on x86, and 10.4, the deployment - # target defaults to 10.4. Don't you love it? - case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in - 10.0,*86*-darwin8*|10.0,*-darwin[91]*) - _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; - 10.[012][,.]*) - _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; - 10.*) - _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; - esac - ;; - esac - if test yes = "$lt_cv_apple_cc_single_mod"; then - _lt_dar_single_mod='$single_module' - fi - if test yes = "$lt_cv_ld_exported_symbols_list"; then - _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' - else - _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' - fi - if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then - _lt_dsymutil='~$DSYMUTIL $lib || :' - else - _lt_dsymutil= - fi - ;; - esac - -# func_munge_path_list VARIABLE PATH -# ----------------------------------- -# VARIABLE is name of variable containing _space_ separated list of -# directories to be munged by the contents of PATH, which is string -# having a format: -# "DIR[:DIR]:" -# string "DIR[ DIR]" will be prepended to VARIABLE -# ":DIR[:DIR]" -# string "DIR[ DIR]" will be appended to VARIABLE -# "DIRP[:DIRP]::[DIRA:]DIRA" -# string "DIRP[ DIRP]" will be prepended to VARIABLE and string -# "DIRA[ DIRA]" will be appended to VARIABLE -# "DIR[:DIR]" -# VARIABLE will be replaced by "DIR[ DIR]" -func_munge_path_list () -{ - case x$2 in - x) - ;; - *:) - eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" - ;; - x:*) - eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" - ;; - *::*) - eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" - eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" - ;; - *) - eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" - ;; - esac -} - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 -$as_echo_n "checking how to run the C preprocessor... " >&6; } -# On Suns, sometimes $CPP names a directory. -if test -n "$CPP" && test -d "$CPP"; then - CPP= -fi -if test -z "$CPP"; then - if ${ac_cv_prog_CPP+:} false; then : - $as_echo_n "(cached) " >&6 -else - # Double quotes because CPP needs to be expanded - for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" - do - ac_preproc_ok=false -for ac_c_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # Prefer to if __STDC__ is defined, since - # exists even on freestanding compilers. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#ifdef __STDC__ -# include -#else -# include -#endif - Syntax error -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - -else - # Broken: fails on valid input. -continue -fi -rm -f conftest.err conftest.i conftest.$ac_ext - - # OK, works on sane cases. Now check whether nonexistent headers - # can be detected and how. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - # Broken: success on invalid input. -continue -else - # Passes both tests. -ac_preproc_ok=: -break -fi -rm -f conftest.err conftest.i conftest.$ac_ext - -done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.i conftest.err conftest.$ac_ext -if $ac_preproc_ok; then : - break -fi - - done - ac_cv_prog_CPP=$CPP - -fi - CPP=$ac_cv_prog_CPP -else - ac_cv_prog_CPP=$CPP -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 -$as_echo "$CPP" >&6; } -ac_preproc_ok=false -for ac_c_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # Prefer to if __STDC__ is defined, since - # exists even on freestanding compilers. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#ifdef __STDC__ -# include -#else -# include -#endif - Syntax error -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - -else - # Broken: fails on valid input. -continue -fi -rm -f conftest.err conftest.i conftest.$ac_ext - - # OK, works on sane cases. Now check whether nonexistent headers - # can be detected and how. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - # Broken: success on invalid input. -continue -else - # Passes both tests. -ac_preproc_ok=: -break -fi -rm -f conftest.err conftest.i conftest.$ac_ext - -done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.i conftest.err conftest.$ac_ext -if $ac_preproc_ok; then : - -else - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "C preprocessor \"$CPP\" fails sanity check -See \`config.log' for more details" "$LINENO" 5; } -fi - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 -$as_echo_n "checking for ANSI C header files... " >&6; } -if ${ac_cv_header_stdc+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -#include -#include -#include - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_header_stdc=yes -else - ac_cv_header_stdc=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -if test $ac_cv_header_stdc = yes; then - # SunOS 4.x string.h does not declare mem*, contrary to ANSI. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "memchr" >/dev/null 2>&1; then : - -else - ac_cv_header_stdc=no -fi -rm -f conftest* - -fi - -if test $ac_cv_header_stdc = yes; then - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "free" >/dev/null 2>&1; then : - -else - ac_cv_header_stdc=no -fi -rm -f conftest* - -fi - -if test $ac_cv_header_stdc = yes; then - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. - if test "$cross_compiling" = yes; then : - : -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -#include -#if ((' ' & 0x0FF) == 0x020) -# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') -# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) -#else -# define ISLOWER(c) \ - (('a' <= (c) && (c) <= 'i') \ - || ('j' <= (c) && (c) <= 'r') \ - || ('s' <= (c) && (c) <= 'z')) -# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) -#endif - -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) -int -main () -{ - int i; - for (i = 0; i < 256; i++) - if (XOR (islower (i), ISLOWER (i)) - || toupper (i) != TOUPPER (i)) - return 2; - return 0; -} -_ACEOF -if ac_fn_c_try_run "$LINENO"; then : - -else - ac_cv_header_stdc=no -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi - -fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 -$as_echo "$ac_cv_header_stdc" >&6; } -if test $ac_cv_header_stdc = yes; then - -$as_echo "#define STDC_HEADERS 1" >>confdefs.h - -fi - -# On IRIX 5.3, sys/types and inttypes.h are conflicting. -for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ - inttypes.h stdint.h unistd.h -do : - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default -" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - -for ac_header in dlfcn.h -do : - ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default -" -if test "x$ac_cv_header_dlfcn_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_DLFCN_H 1 -_ACEOF - -fi - -done - - - - - -# Set options -# Check whether --enable-static was given. -if test "${enable_static+set}" = set; then : - enableval=$enable_static; p=${PACKAGE-default} - case $enableval in - yes) enable_static=yes ;; - no) enable_static=no ;; - *) - enable_static=no - # Look at the argument we got. We use all the common list separators. - lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, - for pkg in $enableval; do - IFS=$lt_save_ifs - if test "X$pkg" = "X$p"; then - enable_static=yes - fi - done - IFS=$lt_save_ifs - ;; - esac -else - enable_static=no -fi - - - - - - - - - - - enable_dlopen=no - - - enable_win32_dll=no - - - # Check whether --enable-shared was given. -if test "${enable_shared+set}" = set; then : - enableval=$enable_shared; p=${PACKAGE-default} - case $enableval in - yes) enable_shared=yes ;; - no) enable_shared=no ;; - *) - enable_shared=no - # Look at the argument we got. We use all the common list separators. - lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, - for pkg in $enableval; do - IFS=$lt_save_ifs - if test "X$pkg" = "X$p"; then - enable_shared=yes - fi - done - IFS=$lt_save_ifs - ;; - esac -else - enable_shared=yes -fi - - - - - - - - - - - -# Check whether --with-pic was given. -if test "${with_pic+set}" = set; then : - withval=$with_pic; lt_p=${PACKAGE-default} - case $withval in - yes|no) pic_mode=$withval ;; - *) - pic_mode=default - # Look at the argument we got. We use all the common list separators. - lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, - for lt_pkg in $withval; do - IFS=$lt_save_ifs - if test "X$lt_pkg" = "X$lt_p"; then - pic_mode=yes - fi - done - IFS=$lt_save_ifs - ;; - esac -else - pic_mode=default -fi - - - - - - - - - # Check whether --enable-fast-install was given. -if test "${enable_fast_install+set}" = set; then : - enableval=$enable_fast_install; p=${PACKAGE-default} - case $enableval in - yes) enable_fast_install=yes ;; - no) enable_fast_install=no ;; - *) - enable_fast_install=no - # Look at the argument we got. We use all the common list separators. - lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, - for pkg in $enableval; do - IFS=$lt_save_ifs - if test "X$pkg" = "X$p"; then - enable_fast_install=yes - fi - done - IFS=$lt_save_ifs - ;; - esac -else - enable_fast_install=yes -fi - - - - - - - - - shared_archive_member_spec= -case $host,$enable_shared in -power*-*-aix[5-9]*,yes) - { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 -$as_echo_n "checking which variant of shared library versioning to provide... " >&6; } - -# Check whether --with-aix-soname was given. -if test "${with_aix_soname+set}" = set; then : - withval=$with_aix_soname; case $withval in - aix|svr4|both) - ;; - *) - as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5 - ;; - esac - lt_cv_with_aix_soname=$with_aix_soname -else - if ${lt_cv_with_aix_soname+:} false; then : - $as_echo_n "(cached) " >&6 -else - lt_cv_with_aix_soname=aix -fi - - with_aix_soname=$lt_cv_with_aix_soname -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 -$as_echo "$with_aix_soname" >&6; } - if test aix != "$with_aix_soname"; then - # For the AIX way of multilib, we name the shared archive member - # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', - # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. - # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, - # the AIX toolchain works better with OBJECT_MODE set (default 32). - if test 64 = "${OBJECT_MODE-32}"; then - shared_archive_member_spec=shr_64 - else - shared_archive_member_spec=shr - fi - fi - ;; -*) - with_aix_soname=aix - ;; -esac - - - - - - - - - - -# This can be used to rebuild libtool when needed -LIBTOOL_DEPS=$ltmain - -# Always use our own libtool. -LIBTOOL='$(SHELL) $(top_builddir)/libtool' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -test -z "$LN_S" && LN_S="ln -s" - - - - - - - - - - - - - - -if test -n "${ZSH_VERSION+set}"; then - setopt NO_GLOB_SUBST -fi - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 -$as_echo_n "checking for objdir... " >&6; } -if ${lt_cv_objdir+:} false; then : - $as_echo_n "(cached) " >&6 -else - rm -f .libs 2>/dev/null -mkdir .libs 2>/dev/null -if test -d .libs; then - lt_cv_objdir=.libs -else - # MS-DOS does not allow filenames that begin with a dot. - lt_cv_objdir=_libs -fi -rmdir .libs 2>/dev/null -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 -$as_echo "$lt_cv_objdir" >&6; } -objdir=$lt_cv_objdir - - - - - -cat >>confdefs.h <<_ACEOF -#define LT_OBJDIR "$lt_cv_objdir/" -_ACEOF - - - - -case $host_os in -aix3*) - # AIX sometimes has problems with the GCC collect2 program. For some - # reason, if we set the COLLECT_NAMES environment variable, the problems - # vanish in a puff of smoke. - if test set != "${COLLECT_NAMES+set}"; then - COLLECT_NAMES= - export COLLECT_NAMES - fi - ;; -esac - -# Global variables: -ofile=libtool -can_build_shared=yes - -# All known linkers require a '.a' archive for static linking (except MSVC, -# which needs '.lib'). -libext=a - -with_gnu_ld=$lt_cv_prog_gnu_ld - -old_CC=$CC -old_CFLAGS=$CFLAGS - -# Set sane defaults for various variables -test -z "$CC" && CC=cc -test -z "$LTCC" && LTCC=$CC -test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS -test -z "$LD" && LD=ld -test -z "$ac_objext" && ac_objext=o - -func_cc_basename $compiler -cc_basename=$func_cc_basename_result - - -# Only perform the check for file, if the check method requires it -test -z "$MAGIC_CMD" && MAGIC_CMD=file -case $deplibs_check_method in -file_magic*) - if test "$file_magic_cmd" = '$MAGIC_CMD'; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 -$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } -if ${lt_cv_path_MAGIC_CMD+:} false; then : - $as_echo_n "(cached) " >&6 -else - case $MAGIC_CMD in -[\\/*] | ?:[\\/]*) - lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. - ;; -*) - lt_save_MAGIC_CMD=$MAGIC_CMD - lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR - ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" - for ac_dir in $ac_dummy; do - IFS=$lt_save_ifs - test -z "$ac_dir" && ac_dir=. - if test -f "$ac_dir/${ac_tool_prefix}file"; then - lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file" - if test -n "$file_magic_test_file"; then - case $deplibs_check_method in - "file_magic "*) - file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` - MAGIC_CMD=$lt_cv_path_MAGIC_CMD - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | - $EGREP "$file_magic_regex" > /dev/null; then - : - else - cat <<_LT_EOF 1>&2 - -*** Warning: the command libtool uses to detect shared libraries, -*** $file_magic_cmd, produces output that libtool cannot recognize. -*** The result is that libtool may fail to recognize shared libraries -*** as such. This will affect the creation of libtool libraries that -*** depend on shared libraries, but programs linked with such libtool -*** libraries will work regardless of this problem. Nevertheless, you -*** may want to report the problem to your system manager and/or to -*** bug-libtool@gnu.org - -_LT_EOF - fi ;; - esac - fi - break - fi - done - IFS=$lt_save_ifs - MAGIC_CMD=$lt_save_MAGIC_CMD - ;; -esac -fi - -MAGIC_CMD=$lt_cv_path_MAGIC_CMD -if test -n "$MAGIC_CMD"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 -$as_echo "$MAGIC_CMD" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - - - -if test -z "$lt_cv_path_MAGIC_CMD"; then - if test -n "$ac_tool_prefix"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 -$as_echo_n "checking for file... " >&6; } -if ${lt_cv_path_MAGIC_CMD+:} false; then : - $as_echo_n "(cached) " >&6 -else - case $MAGIC_CMD in -[\\/*] | ?:[\\/]*) - lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. - ;; -*) - lt_save_MAGIC_CMD=$MAGIC_CMD - lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR - ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" - for ac_dir in $ac_dummy; do - IFS=$lt_save_ifs - test -z "$ac_dir" && ac_dir=. - if test -f "$ac_dir/file"; then - lt_cv_path_MAGIC_CMD=$ac_dir/"file" - if test -n "$file_magic_test_file"; then - case $deplibs_check_method in - "file_magic "*) - file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` - MAGIC_CMD=$lt_cv_path_MAGIC_CMD - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | - $EGREP "$file_magic_regex" > /dev/null; then - : - else - cat <<_LT_EOF 1>&2 - -*** Warning: the command libtool uses to detect shared libraries, -*** $file_magic_cmd, produces output that libtool cannot recognize. -*** The result is that libtool may fail to recognize shared libraries -*** as such. This will affect the creation of libtool libraries that -*** depend on shared libraries, but programs linked with such libtool -*** libraries will work regardless of this problem. Nevertheless, you -*** may want to report the problem to your system manager and/or to -*** bug-libtool@gnu.org - -_LT_EOF - fi ;; - esac - fi - break - fi - done - IFS=$lt_save_ifs - MAGIC_CMD=$lt_save_MAGIC_CMD - ;; -esac -fi - -MAGIC_CMD=$lt_cv_path_MAGIC_CMD -if test -n "$MAGIC_CMD"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 -$as_echo "$MAGIC_CMD" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - else - MAGIC_CMD=: - fi -fi - - fi - ;; -esac - -# Use C for the default configuration in the libtool script - -lt_save_CC=$CC -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -# Source file extension for C test sources. -ac_ext=c - -# Object file extension for compiled C test sources. -objext=o -objext=$objext - -# Code to be used in simple compile tests -lt_simple_compile_test_code="int some_variable = 0;" - -# Code to be used in simple link tests -lt_simple_link_test_code='int main(){return(0);}' - - - - - - - -# If no C compiler was specified, use CC. -LTCC=${LTCC-"$CC"} - -# If no C compiler flags were specified, use CFLAGS. -LTCFLAGS=${LTCFLAGS-"$CFLAGS"} - -# Allow CC to be a program name with arguments. -compiler=$CC - -# Save the default compiler, since it gets overwritten when the other -# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. -compiler_DEFAULT=$CC - -# save warnings/boilerplate of simple test code -ac_outfile=conftest.$ac_objext -echo "$lt_simple_compile_test_code" >conftest.$ac_ext -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err -_lt_compiler_boilerplate=`cat conftest.err` -$RM conftest* - -ac_outfile=conftest.$ac_objext -echo "$lt_simple_link_test_code" >conftest.$ac_ext -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err -_lt_linker_boilerplate=`cat conftest.err` -$RM -r conftest* - - -## CAVEAT EMPTOR: -## There is no encapsulation within the following macros, do not change -## the running order or otherwise move them around unless you know exactly -## what you are doing... -if test -n "$compiler"; then - -lt_prog_compiler_no_builtin_flag= - -if test yes = "$GCC"; then - case $cc_basename in - nvcc*) - lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; - *) - lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; - esac - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 -$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } -if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : - $as_echo_n "(cached) " >&6 -else - lt_cv_prog_compiler_rtti_exceptions=no - ac_outfile=conftest.$ac_objext - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment - # Insert the option either (1) after the last *FLAGS variable, or - # (2) before a word containing "conftest.", or (3) at the end. - # Note that $ac_compile itself does not contain backslashes and begins - # with a dollar sign (not a hyphen), so the echo should work correctly. - # The option is referenced via a variable to avoid confusing sed. - lt_compile=`echo "$ac_compile" | $SED \ - -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:$LINENO: $lt_compile\"" >&5) - (eval "$lt_compile" 2>conftest.err) - ac_status=$? - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $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. - $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 - if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then - lt_cv_prog_compiler_rtti_exceptions=yes - fi - fi - $RM conftest* - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 -$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } - -if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then - lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" -else - : -fi - -fi - - - - - - - lt_prog_compiler_wl= -lt_prog_compiler_pic= -lt_prog_compiler_static= - - - if test yes = "$GCC"; then - lt_prog_compiler_wl='-Wl,' - lt_prog_compiler_static='-static' - - case $host_os in - aix*) - # All AIX code is PIC. - if test ia64 = "$host_cpu"; then - # AIX 5 now supports IA64 processor - lt_prog_compiler_static='-Bstatic' - fi - lt_prog_compiler_pic='-fPIC' - ;; - - amigaos*) - case $host_cpu in - powerpc) - # see comment about AmigaOS4 .so support - lt_prog_compiler_pic='-fPIC' - ;; - m68k) - # FIXME: we need at least 68020 code to build shared libraries, but - # adding the '-m68020' flag to GCC prevents building anything better, - # like '-m68040'. - lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' - ;; - esac - ;; - - beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) - # PIC is the default for these OSes. - ;; - - mingw* | cygwin* | pw32* | os2* | cegcc*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - # Although the cygwin gcc ignores -fPIC, still need this for old-style - # (--disable-auto-import) libraries - lt_prog_compiler_pic='-DDLL_EXPORT' - case $host_os in - os2*) - lt_prog_compiler_static='$wl-static' - ;; - esac - ;; - - darwin* | rhapsody*) - # PIC is the default on this platform - # Common symbols not allowed in MH_DYLIB files - lt_prog_compiler_pic='-fno-common' - ;; - - haiku*) - # PIC is the default for Haiku. - # The "-static" flag exists, but is broken. - lt_prog_compiler_static= - ;; - - hpux*) - # PIC is the default for 64-bit PA HP-UX, but not for 32-bit - # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag - # sets the default TLS model and affects inlining. - case $host_cpu in - hppa*64*) - # +Z the default - ;; - *) - lt_prog_compiler_pic='-fPIC' - ;; - esac - ;; - - interix[3-9]*) - # Interix 3.x gcc -fpic/-fPIC options generate broken code. - # Instead, we relocate shared libraries at runtime. - ;; - - msdosdjgpp*) - # Just because we use GCC doesn't mean we suddenly get shared libraries - # on systems that don't support them. - lt_prog_compiler_can_build_shared=no - enable_shared=no - ;; - - *nto* | *qnx*) - # QNX uses GNU C++, but need to define -shared option too, otherwise - # it will coredump. - lt_prog_compiler_pic='-fPIC -shared' - ;; - - sysv4*MP*) - if test -d /usr/nec; then - lt_prog_compiler_pic=-Kconform_pic - fi - ;; - - *) - lt_prog_compiler_pic='-fPIC' - ;; - esac - - case $cc_basename in - nvcc*) # Cuda Compiler Driver 2.2 - lt_prog_compiler_wl='-Xlinker ' - if test -n "$lt_prog_compiler_pic"; then - lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" - fi - ;; - esac - else - # PORTME Check for flag to pass linker flags through the system compiler. - case $host_os in - aix*) - lt_prog_compiler_wl='-Wl,' - if test ia64 = "$host_cpu"; then - # AIX 5 now supports IA64 processor - lt_prog_compiler_static='-Bstatic' - else - lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' - fi - ;; - - darwin* | rhapsody*) - # PIC is the default on this platform - # Common symbols not allowed in MH_DYLIB files - lt_prog_compiler_pic='-fno-common' - case $cc_basename in - nagfor*) - # NAG Fortran compiler - lt_prog_compiler_wl='-Wl,-Wl,,' - lt_prog_compiler_pic='-PIC' - lt_prog_compiler_static='-Bstatic' - ;; - esac - ;; - - mingw* | cygwin* | pw32* | os2* | cegcc*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - lt_prog_compiler_pic='-DDLL_EXPORT' - case $host_os in - os2*) - lt_prog_compiler_static='$wl-static' - ;; - esac - ;; - - hpux9* | hpux10* | hpux11*) - lt_prog_compiler_wl='-Wl,' - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but - # not for PA HP-UX. - case $host_cpu in - hppa*64*|ia64*) - # +Z the default - ;; - *) - lt_prog_compiler_pic='+Z' - ;; - esac - # Is there a better lt_prog_compiler_static that works with the bundled CC? - lt_prog_compiler_static='$wl-a ${wl}archive' - ;; - - irix5* | irix6* | nonstopux*) - lt_prog_compiler_wl='-Wl,' - # PIC (with -KPIC) is the default. - lt_prog_compiler_static='-non_shared' - ;; - - linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) - case $cc_basename in - # old Intel for x86_64, which still supported -KPIC. - ecc*) - lt_prog_compiler_wl='-Wl,' - lt_prog_compiler_pic='-KPIC' - lt_prog_compiler_static='-static' - ;; - # flang / f18. f95 an alias for gfortran or flang on Debian - flang* | f18* | f95*) - lt_prog_compiler_wl='-Wl,' - lt_prog_compiler_pic='-fPIC' - lt_prog_compiler_static='-static' - ;; - # icc used to be incompatible with GCC. - # ICC 10 doesn't accept -KPIC any more. - icc* | ifort*) - lt_prog_compiler_wl='-Wl,' - lt_prog_compiler_pic='-fPIC' - lt_prog_compiler_static='-static' - ;; - # Lahey Fortran 8.1. - lf95*) - lt_prog_compiler_wl='-Wl,' - lt_prog_compiler_pic='--shared' - lt_prog_compiler_static='--static' - ;; - nagfor*) - # NAG Fortran compiler - lt_prog_compiler_wl='-Wl,-Wl,,' - lt_prog_compiler_pic='-PIC' - lt_prog_compiler_static='-Bstatic' - ;; - tcc*) - # Fabrice Bellard et al's Tiny C Compiler - lt_prog_compiler_wl='-Wl,' - lt_prog_compiler_pic='-fPIC' - lt_prog_compiler_static='-static' - ;; - pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) - # Portland Group compilers (*not* the Pentium gcc compiler, - # which looks to be a dead project) - lt_prog_compiler_wl='-Wl,' - lt_prog_compiler_pic='-fpic' - lt_prog_compiler_static='-Bstatic' - ;; - ccc*) - lt_prog_compiler_wl='-Wl,' - # All Alpha code is PIC. - lt_prog_compiler_static='-non_shared' - ;; - xl* | bgxl* | bgf* | mpixl*) - # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene - lt_prog_compiler_wl='-Wl,' - lt_prog_compiler_pic='-qpic' - lt_prog_compiler_static='-qstaticlink' - ;; - *) - case `$CC -V 2>&1 | sed 5q` in - *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) - # Sun Fortran 8.3 passes all unrecognized flags to the linker - lt_prog_compiler_pic='-KPIC' - lt_prog_compiler_static='-Bstatic' - lt_prog_compiler_wl='' - ;; - *Sun\ F* | *Sun*Fortran*) - lt_prog_compiler_pic='-KPIC' - lt_prog_compiler_static='-Bstatic' - lt_prog_compiler_wl='-Qoption ld ' - ;; - *Sun\ C*) - # Sun C 5.9 - lt_prog_compiler_pic='-KPIC' - lt_prog_compiler_static='-Bstatic' - lt_prog_compiler_wl='-Wl,' - ;; - *Intel*\ [CF]*Compiler*) - lt_prog_compiler_wl='-Wl,' - lt_prog_compiler_pic='-fPIC' - lt_prog_compiler_static='-static' - ;; - *Portland\ Group*) - lt_prog_compiler_wl='-Wl,' - lt_prog_compiler_pic='-fpic' - lt_prog_compiler_static='-Bstatic' - ;; - esac - ;; - esac - ;; - - newsos6) - lt_prog_compiler_pic='-KPIC' - lt_prog_compiler_static='-Bstatic' - ;; - - *nto* | *qnx*) - # QNX uses GNU C++, but need to define -shared option too, otherwise - # it will coredump. - lt_prog_compiler_pic='-fPIC -shared' - ;; - - osf3* | osf4* | osf5*) - lt_prog_compiler_wl='-Wl,' - # All OSF/1 code is PIC. - lt_prog_compiler_static='-non_shared' - ;; - - rdos*) - lt_prog_compiler_static='-non_shared' - ;; - - solaris*) - lt_prog_compiler_pic='-KPIC' - lt_prog_compiler_static='-Bstatic' - case $cc_basename in - f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) - lt_prog_compiler_wl='-Qoption ld ';; - *) - lt_prog_compiler_wl='-Wl,';; - esac - ;; - - sunos4*) - lt_prog_compiler_wl='-Qoption ld ' - lt_prog_compiler_pic='-PIC' - lt_prog_compiler_static='-Bstatic' - ;; - - sysv4 | sysv4.2uw2* | sysv4.3*) - lt_prog_compiler_wl='-Wl,' - lt_prog_compiler_pic='-KPIC' - lt_prog_compiler_static='-Bstatic' - ;; - - sysv4*MP*) - if test -d /usr/nec; then - lt_prog_compiler_pic='-Kconform_pic' - lt_prog_compiler_static='-Bstatic' - fi - ;; - - sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) - lt_prog_compiler_wl='-Wl,' - lt_prog_compiler_pic='-KPIC' - lt_prog_compiler_static='-Bstatic' - ;; - - unicos*) - lt_prog_compiler_wl='-Wl,' - lt_prog_compiler_can_build_shared=no - ;; - - uts4*) - lt_prog_compiler_pic='-pic' - lt_prog_compiler_static='-Bstatic' - ;; - - *) - lt_prog_compiler_can_build_shared=no - ;; - esac - fi - -case $host_os in - # For platforms that do not support PIC, -DPIC is meaningless: - *djgpp*) - lt_prog_compiler_pic= - ;; - *) - lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" - ;; -esac - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 -$as_echo_n "checking for $compiler option to produce PIC... " >&6; } -if ${lt_cv_prog_compiler_pic+:} false; then : - $as_echo_n "(cached) " >&6 -else - lt_cv_prog_compiler_pic=$lt_prog_compiler_pic -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 -$as_echo "$lt_cv_prog_compiler_pic" >&6; } -lt_prog_compiler_pic=$lt_cv_prog_compiler_pic - -# -# Check to make sure the PIC flag actually works. -# -if test -n "$lt_prog_compiler_pic"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 -$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } -if ${lt_cv_prog_compiler_pic_works+:} false; then : - $as_echo_n "(cached) " >&6 -else - lt_cv_prog_compiler_pic_works=no - ac_outfile=conftest.$ac_objext - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment - # Insert the option either (1) after the last *FLAGS variable, or - # (2) before a word containing "conftest.", or (3) at the end. - # Note that $ac_compile itself does not contain backslashes and begins - # with a dollar sign (not a hyphen), so the echo should work correctly. - # The option is referenced via a variable to avoid confusing sed. - lt_compile=`echo "$ac_compile" | $SED \ - -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:$LINENO: $lt_compile\"" >&5) - (eval "$lt_compile" 2>conftest.err) - ac_status=$? - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $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. - $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 - if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then - lt_cv_prog_compiler_pic_works=yes - fi - fi - $RM conftest* - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 -$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } - -if test yes = "$lt_cv_prog_compiler_pic_works"; then - case $lt_prog_compiler_pic in - "" | " "*) ;; - *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; - esac -else - lt_prog_compiler_pic= - lt_prog_compiler_can_build_shared=no -fi - -fi - - - - - - - - - - - -# -# Check to make sure the static flag actually works. -# -wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 -$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } -if ${lt_cv_prog_compiler_static_works+:} false; then : - $as_echo_n "(cached) " >&6 -else - lt_cv_prog_compiler_static_works=no - save_LDFLAGS=$LDFLAGS - LDFLAGS="$LDFLAGS $lt_tmp_static_flag" - echo "$lt_simple_link_test_code" > conftest.$ac_ext - if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then - # The linker can only warn and ignore the option if not recognized - # So say no if there are warnings - if test -s conftest.err; then - # Append any errors to the config.log. - cat conftest.err 1>&5 - $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 - if diff conftest.exp conftest.er2 >/dev/null; then - lt_cv_prog_compiler_static_works=yes - fi - else - lt_cv_prog_compiler_static_works=yes - fi - fi - $RM -r conftest* - LDFLAGS=$save_LDFLAGS - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 -$as_echo "$lt_cv_prog_compiler_static_works" >&6; } - -if test yes = "$lt_cv_prog_compiler_static_works"; then - : -else - lt_prog_compiler_static= -fi - - - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 -$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } -if ${lt_cv_prog_compiler_c_o+:} false; then : - $as_echo_n "(cached) " >&6 -else - lt_cv_prog_compiler_c_o=no - $RM -r conftest 2>/dev/null - mkdir conftest - cd conftest - mkdir out - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - - lt_compiler_flag="-o out/conftest2.$ac_objext" - # Insert the option either (1) after the last *FLAGS variable, or - # (2) before a word containing "conftest.", or (3) at the end. - # Note that $ac_compile itself does not contain backslashes and begins - # with a dollar sign (not a hyphen), so the echo should work correctly. - lt_compile=`echo "$ac_compile" | $SED \ - -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:$LINENO: $lt_compile\"" >&5) - (eval "$lt_compile" 2>out/conftest.err) - ac_status=$? - cat out/conftest.err >&5 - echo "$as_me:$LINENO: \$? = $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 - # So say no if there are warnings - $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp - $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 - if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then - lt_cv_prog_compiler_c_o=yes - fi - fi - chmod u+w . 2>&5 - $RM conftest* - # SGI C++ compiler will create directory out/ii_files/ for - # template instantiation - test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files - $RM out/* && rmdir out - cd .. - $RM -r conftest - $RM conftest* - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 -$as_echo "$lt_cv_prog_compiler_c_o" >&6; } - - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 -$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } -if ${lt_cv_prog_compiler_c_o+:} false; then : - $as_echo_n "(cached) " >&6 -else - lt_cv_prog_compiler_c_o=no - $RM -r conftest 2>/dev/null - mkdir conftest - cd conftest - mkdir out - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - - lt_compiler_flag="-o out/conftest2.$ac_objext" - # Insert the option either (1) after the last *FLAGS variable, or - # (2) before a word containing "conftest.", or (3) at the end. - # Note that $ac_compile itself does not contain backslashes and begins - # with a dollar sign (not a hyphen), so the echo should work correctly. - lt_compile=`echo "$ac_compile" | $SED \ - -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:$LINENO: $lt_compile\"" >&5) - (eval "$lt_compile" 2>out/conftest.err) - ac_status=$? - cat out/conftest.err >&5 - echo "$as_me:$LINENO: \$? = $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 - # So say no if there are warnings - $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp - $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 - if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then - lt_cv_prog_compiler_c_o=yes - fi - fi - chmod u+w . 2>&5 - $RM conftest* - # SGI C++ compiler will create directory out/ii_files/ for - # template instantiation - test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files - $RM out/* && rmdir out - cd .. - $RM -r conftest - $RM conftest* - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 -$as_echo "$lt_cv_prog_compiler_c_o" >&6; } - - - - -hard_links=nottested -if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then - # do not overwrite the value of need_locks provided by the user - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 -$as_echo_n "checking if we can lock with hard links... " >&6; } - hard_links=yes - $RM conftest* - ln conftest.a conftest.b 2>/dev/null && hard_links=no - touch conftest.a - ln conftest.a conftest.b 2>&5 || hard_links=no - ln conftest.a conftest.b 2>/dev/null && hard_links=no - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 -$as_echo "$hard_links" >&6; } - if test no = "$hard_links"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 -$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} - need_locks=warn - fi -else - need_locks=no -fi - - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 -$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } - - runpath_var= - allow_undefined_flag= - always_export_symbols=no - archive_cmds= - archive_expsym_cmds= - compiler_needs_object=no - enable_shared_with_static_runtimes=no - export_dynamic_flag_spec= - export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' - hardcode_automatic=no - hardcode_direct=no - hardcode_direct_absolute=no - hardcode_libdir_flag_spec= - hardcode_libdir_separator= - hardcode_minus_L=no - hardcode_shlibpath_var=unsupported - inherit_rpath=no - link_all_deplibs=unknown - module_cmds= - module_expsym_cmds= - old_archive_from_new_cmds= - old_archive_from_expsyms_cmds= - thread_safe_flag_spec= - whole_archive_flag_spec= - # include_expsyms should be a list of space-separated symbols to be *always* - # included in the symbol list - include_expsyms= - # exclude_expsyms can be an extended regexp of symbols to exclude - # it will be wrapped by ' (' and ')$', so one must not match beginning or - # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', - # as well as any symbol that contains 'd'. - exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' - # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out - # platforms (ab)use it in PIC code, but their linkers get confused if - # the symbol is explicitly referenced. Since portable code cannot - # rely on this symbol name, it's probably fine to never include it in - # preloaded symbol tables. - # Exclude shared library initialization/finalization symbols. - extract_expsyms_cmds= - - case $host_os in - cygwin* | mingw* | pw32* | cegcc*) - # FIXME: the MSVC++ port hasn't been tested in a loooong time - # When not using gcc, we currently assume that we are using - # Microsoft Visual C++. - if test yes != "$GCC"; then - with_gnu_ld=no - fi - ;; - interix*) - # we just hope/assume this is gcc and not c89 (= MSVC++) - with_gnu_ld=yes - ;; - openbsd* | bitrig*) - with_gnu_ld=no - ;; - linux* | k*bsd*-gnu | gnu*) - link_all_deplibs=no - ;; - esac - - ld_shlibs=yes - - # On some targets, GNU ld is compatible enough with the native linker - # that we're better off using the native interface for both. - lt_use_gnu_ld_interface=no - if test yes = "$with_gnu_ld"; then - case $host_os in - aix*) - # The AIX port of GNU ld has always aspired to compatibility - # with the native linker. However, as the warning in the GNU ld - # block says, versions before 2.19.5* couldn't really create working - # shared libraries, regardless of the interface used. - case `$LD -v 2>&1` in - *\ \(GNU\ Binutils\)\ 2.19.5*) ;; - *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; - *\ \(GNU\ Binutils\)\ [3-9]*) ;; - *) - lt_use_gnu_ld_interface=yes - ;; - esac - ;; - *) - lt_use_gnu_ld_interface=yes - ;; - esac - fi - - if test yes = "$lt_use_gnu_ld_interface"; then - # If archive_cmds runs LD, not CC, wlarc should be empty - wlarc='$wl' - - # Set some defaults for GNU ld with shared library support. These - # are reset later if shared libraries are not supported. Putting them - # here allows them to be overridden if necessary. - runpath_var=LD_RUN_PATH - hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' - export_dynamic_flag_spec='$wl--export-dynamic' - # ancient GNU ld didn't support --whole-archive et. al. - if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then - whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' - else - whole_archive_flag_spec= - fi - supports_anon_versioning=no - case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in - *GNU\ gold*) supports_anon_versioning=yes ;; - *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... - *\ 2.11.*) ;; # other 2.11 versions - *) supports_anon_versioning=yes ;; - esac - - # See if GNU ld supports shared libraries. - case $host_os in - aix[3-9]*) - # On AIX/PPC, the GNU linker is very broken - if test ia64 != "$host_cpu"; then - ld_shlibs=no - cat <<_LT_EOF 1>&2 - -*** Warning: the GNU linker, at least up to release 2.19, is reported -*** to be unable to reliably create shared libraries on AIX. -*** Therefore, libtool is disabling shared libraries support. If you -*** really care for shared libraries, you may want to install binutils -*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. -*** You will then need to restart the configuration process. - -_LT_EOF - fi - ;; - - amigaos*) - case $host_cpu in - powerpc) - # see comment about AmigaOS4 .so support - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' - archive_expsym_cmds='' - ;; - m68k) - archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_minus_L=yes - ;; - esac - ;; - - beos*) - if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then - allow_undefined_flag=unsupported - # Joseph Beckenbach says some releases of gcc - # support --undefined. This deserves some investigation. FIXME - archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' - else - ld_shlibs=no - fi - ;; - - cygwin* | mingw* | pw32* | cegcc*) - # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, - # as there is no search path for DLLs. - hardcode_libdir_flag_spec='-L$libdir' - export_dynamic_flag_spec='$wl--export-all-symbols' - allow_undefined_flag=unsupported - always_export_symbols=no - enable_shared_with_static_runtimes=yes - export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' - exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' - - if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' - # If the export-symbols file already is a .def file, use it as - # is; otherwise, prepend EXPORTS... - archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then - cp $export_symbols $output_objdir/$soname.def; - else - echo EXPORTS > $output_objdir/$soname.def; - cat $export_symbols >> $output_objdir/$soname.def; - fi~ - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' - else - ld_shlibs=no - fi - ;; - - haiku*) - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' - link_all_deplibs=yes - ;; - - os2*) - hardcode_libdir_flag_spec='-L$libdir' - hardcode_minus_L=yes - allow_undefined_flag=unsupported - shrext_cmds=.dll - archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ - $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ - $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ - $ECHO EXPORTS >> $output_objdir/$libname.def~ - emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ - $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ - emximp -o $lib $output_objdir/$libname.def' - archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ - $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ - $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ - $ECHO EXPORTS >> $output_objdir/$libname.def~ - prefix_cmds="$SED"~ - if test EXPORTS = "`$SED 1q $export_symbols`"; then - prefix_cmds="$prefix_cmds -e 1d"; - fi~ - prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ - cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ - $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ - emximp -o $lib $output_objdir/$libname.def' - old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' - enable_shared_with_static_runtimes=yes - ;; - - interix[3-9]*) - hardcode_direct=no - hardcode_shlibpath_var=no - hardcode_libdir_flag_spec='$wl-rpath,$libdir' - export_dynamic_flag_spec='$wl-E' - # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. - # Instead, shared libraries are loaded at an image base (0x10000000 by - # default) and relocated if they conflict, which is a slow very memory - # consuming and fragmenting process. To avoid this, we pick a random, - # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link - # time. Moving up from 0x10000000 also allows more sbrk(2) space. - archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' - archive_expsym_cmds='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' - ;; - - gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) - tmp_diet=no - if test linux-dietlibc = "$host_os"; then - case $cc_basename in - diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) - esac - fi - if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ - && test no = "$tmp_diet" - then - tmp_addflag=' $pic_flag' - tmp_sharedflag='-shared' - case $cc_basename,$host_cpu in - pgcc*) # Portland Group C compiler - whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' - tmp_addflag=' $pic_flag' - ;; - pgf77* | pgf90* | pgf95* | pgfortran*) - # Portland Group f77 and f90 compilers - whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' - tmp_addflag=' $pic_flag -Mnomain' ;; - ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 - tmp_addflag=' -i_dynamic' ;; - efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 - tmp_addflag=' -i_dynamic -nofor_main' ;; - ifc* | ifort*) # Intel Fortran compiler - tmp_addflag=' -nofor_main' ;; - lf95*) # Lahey Fortran 8.1 - whole_archive_flag_spec= - tmp_sharedflag='--shared' ;; - nagfor*) # NAGFOR 5.3 - tmp_sharedflag='-Wl,-shared' ;; - xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) - tmp_sharedflag='-qmkshrobj' - tmp_addflag= ;; - nvcc*) # Cuda Compiler Driver 2.2 - whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' - compiler_needs_object=yes - ;; - esac - case `$CC -V 2>&1 | sed 5q` in - *Sun\ C*) # Sun C 5.9 - whole_archive_flag_spec='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' - compiler_needs_object=yes - tmp_sharedflag='-G' ;; - *Sun\ F*) # Sun Fortran 8.3 - tmp_sharedflag='-G' ;; - esac - archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' - - if test yes = "$supports_anon_versioning"; then - archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ - echo "local: *; };" >> $output_objdir/$libname.ver~ - $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' - fi - - case $cc_basename in - tcc*) - export_dynamic_flag_spec='-rdynamic' - ;; - xlf* | bgf* | bgxlf* | mpixlf*) - # IBM XL Fortran 10.1 on PPC cannot create shared libs itself - whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' - hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' - archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' - if test yes = "$supports_anon_versioning"; then - archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ - echo "local: *; };" >> $output_objdir/$libname.ver~ - $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' - fi - ;; - esac - else - ld_shlibs=no - fi - ;; - - netbsd* | netbsdelf*-gnu) - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then - archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' - wlarc= - else - archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' - fi - ;; - - solaris*) - if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then - ld_shlibs=no - cat <<_LT_EOF 1>&2 - -*** Warning: The releases 2.8.* of the GNU linker cannot reliably -*** create shared libraries on Solaris systems. Therefore, libtool -*** is disabling shared libraries support. We urge you to upgrade GNU -*** binutils to release 2.9.1 or newer. Another option is to modify -*** your PATH or compiler configuration so that the native linker is -*** used, and then restart. - -_LT_EOF - elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then - archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' - else - ld_shlibs=no - fi - ;; - - sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) - case `$LD -v 2>&1` in - *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) - ld_shlibs=no - cat <<_LT_EOF 1>&2 - -*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot -*** reliably create shared libraries on SCO systems. Therefore, libtool -*** is disabling shared libraries support. We urge you to upgrade GNU -*** binutils to release 2.16.91.0.3 or newer. Another option is to modify -*** your PATH or compiler configuration so that the native linker is -*** used, and then restart. - -_LT_EOF - ;; - *) - # For security reasons, it is highly recommended that you always - # use absolute paths for naming shared libraries, and exclude the - # DT_RUNPATH tag from executables and libraries. But doing so - # requires that you compile everything twice, which is a pain. - if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then - hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' - else - ld_shlibs=no - fi - ;; - esac - ;; - - sunos4*) - archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' - wlarc= - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; - - *) - if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then - archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' - else - ld_shlibs=no - fi - ;; - esac - - if test no = "$ld_shlibs"; then - runpath_var= - hardcode_libdir_flag_spec= - export_dynamic_flag_spec= - whole_archive_flag_spec= - fi - else - # PORTME fill in a description of your system's linker (not GNU ld) - case $host_os in - aix3*) - allow_undefined_flag=unsupported - always_export_symbols=yes - archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' - # Note: this linker hardcodes the directories in LIBPATH if there - # are no directories specified by -L. - hardcode_minus_L=yes - if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then - # Neither direct hardcoding nor static linking is supported with a - # broken collect2. - hardcode_direct=unsupported - fi - ;; - - aix[4-9]*) - if test ia64 = "$host_cpu"; then - # On IA64, the linker does run time linking by default, so we don't - # have to do anything special. - aix_use_runtimelinking=no - exp_sym_flag='-Bexport' - no_entry_flag= - else - # If we're using GNU nm, then we don't want the "-C" option. - # -C means demangle to GNU nm, but means don't demangle to AIX nm. - # Without the "-l" option, or with the "-B" option, AIX nm treats - # weak defined symbols like other global defined symbols, whereas - # GNU nm marks them as "W". - # While the 'weak' keyword is ignored in the Export File, we need - # it in the Import File for the 'aix-soname' feature, so we have - # to replace the "-B" option with "-P" for AIX nm. - if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then - export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols' - else - export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols' - fi - aix_use_runtimelinking=no - - # Test if we are trying to use run time linking or normal - # AIX style linking. If -brtl is somewhere in LDFLAGS, we - # have runtime linking enabled, and use it for executables. - # For shared libraries, we enable/disable runtime linking - # depending on the kind of the shared library created - - # when "with_aix_soname,aix_use_runtimelinking" is: - # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables - # "aix,yes" lib.so shared, rtl:yes, for executables - # lib.a static archive - # "both,no" lib.so.V(shr.o) shared, rtl:yes - # lib.a(lib.so.V) shared, rtl:no, for executables - # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables - # lib.a(lib.so.V) shared, rtl:no - # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables - # lib.a static archive - case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) - for ld_flag in $LDFLAGS; do - if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then - aix_use_runtimelinking=yes - break - fi - done - if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then - # With aix-soname=svr4, we create the lib.so.V shared archives only, - # so we don't have lib.a shared libs to link our executables. - # We have to force runtime linking in this case. - aix_use_runtimelinking=yes - LDFLAGS="$LDFLAGS -Wl,-brtl" - fi - ;; - esac - - exp_sym_flag='-bexport' - no_entry_flag='-bnoentry' - fi - - # When large executables or shared objects are built, AIX ld can - # have problems creating the table of contents. If linking a library - # or program results in "error TOC overflow" add -mminimal-toc to - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. - - archive_cmds='' - hardcode_direct=yes - hardcode_direct_absolute=yes - hardcode_libdir_separator=':' - link_all_deplibs=yes - file_list_spec='$wl-f,' - case $with_aix_soname,$aix_use_runtimelinking in - aix,*) ;; # traditional, no import file - svr4,* | *,yes) # use import file - # The Import File defines what to hardcode. - hardcode_direct=no - hardcode_direct_absolute=no - ;; - esac - - if test yes = "$GCC"; then - case $host_os in aix4.[012]|aix4.[012].*) - # We only want to do this on AIX 4.2 and lower, the check - # below for broken collect2 doesn't work under 4.3+ - collect2name=`$CC -print-prog-name=collect2` - if test -f "$collect2name" && - strings "$collect2name" | $GREP resolve_lib_name >/dev/null - then - # We have reworked collect2 - : - else - # We have old collect2 - hardcode_direct=unsupported - # It fails to find uninstalled libraries when the uninstalled - # path is not listed in the libpath. Setting hardcode_minus_L - # to unsupported forces relinking - hardcode_minus_L=yes - hardcode_libdir_flag_spec='-L$libdir' - hardcode_libdir_separator= - fi - ;; - esac - shared_flag='-shared' - if test yes = "$aix_use_runtimelinking"; then - shared_flag="$shared_flag "'$wl-G' - fi - # Need to ensure runtime linking is disabled for the traditional - # shared library, or the linker may eventually find shared libraries - # /with/ Import File - we do not want to mix them. - shared_flag_aix='-shared' - shared_flag_svr4='-shared $wl-G' - else - # not using gcc - if test ia64 = "$host_cpu"; then - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release - # chokes on -Wl,-G. The following line is correct: - shared_flag='-G' - else - if test yes = "$aix_use_runtimelinking"; then - shared_flag='$wl-G' - else - shared_flag='$wl-bM:SRE' - fi - shared_flag_aix='$wl-bM:SRE' - shared_flag_svr4='$wl-G' - fi - fi - - export_dynamic_flag_spec='$wl-bexpall' - # It seems that -bexpall does not export symbols beginning with - # underscore (_), so it is better to generate a list of symbols to export. - always_export_symbols=yes - if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then - # Warning - without using the other runtime loading flags (-brtl), - # -berok will link without error, but may produce a broken library. - allow_undefined_flag='-berok' - # Determine the default libpath from the value encoded in an - # empty executable. - if test set = "${lt_cv_aix_libpath+set}"; then - aix_libpath=$lt_cv_aix_libpath -else - if ${lt_cv_aix_libpath_+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - - lt_aix_libpath_sed=' - /Import File Strings/,/^$/ { - /^0/ { - s/^0 *\([^ ]*\) *$/\1/ - p - } - }' - lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` - # Check for a 64-bit object if we didn't find anything. - if test -z "$lt_cv_aix_libpath_"; then - lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` - fi -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - if test -z "$lt_cv_aix_libpath_"; then - lt_cv_aix_libpath_=/usr/lib:/lib - fi - -fi - - aix_libpath=$lt_cv_aix_libpath_ -fi - - hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" - archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag - else - if test ia64 = "$host_cpu"; then - hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib' - allow_undefined_flag="-z nodefs" - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols" - else - # Determine the default libpath from the value encoded in an - # empty executable. - if test set = "${lt_cv_aix_libpath+set}"; then - aix_libpath=$lt_cv_aix_libpath -else - if ${lt_cv_aix_libpath_+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - - lt_aix_libpath_sed=' - /Import File Strings/,/^$/ { - /^0/ { - s/^0 *\([^ ]*\) *$/\1/ - p - } - }' - lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` - # Check for a 64-bit object if we didn't find anything. - if test -z "$lt_cv_aix_libpath_"; then - lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` - fi -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - if test -z "$lt_cv_aix_libpath_"; then - lt_cv_aix_libpath_=/usr/lib:/lib - fi - -fi - - aix_libpath=$lt_cv_aix_libpath_ -fi - - hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" - # Warning - without using the other run time loading flags, - # -berok will link without error, but may produce a broken library. - no_undefined_flag=' $wl-bernotok' - allow_undefined_flag=' $wl-berok' - if test yes = "$with_gnu_ld"; then - # We only use this code for GNU lds that support --whole-archive. - whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive' - else - # Exported symbols can be pulled into shared objects from archives - whole_archive_flag_spec='$convenience' - fi - archive_cmds_need_lc=yes - archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' - # -brtl affects multiple linker settings, -berok does not and is overridden later - compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' - if test svr4 != "$with_aix_soname"; then - # This is similar to how AIX traditionally builds its shared libraries. - archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname' - fi - if test aix != "$with_aix_soname"; then - archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp' - else - # used by -dlpreopen to get the symbols - archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir' - fi - archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d' - fi - fi - ;; - - amigaos*) - case $host_cpu in - powerpc) - # see comment about AmigaOS4 .so support - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' - archive_expsym_cmds='' - ;; - m68k) - archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_minus_L=yes - ;; - esac - ;; - - bsdi[45]*) - export_dynamic_flag_spec=-rdynamic - ;; - - cygwin* | mingw* | pw32* | cegcc*) - # When not using gcc, we currently assume that we are using - # Microsoft Visual C++. - # hardcode_libdir_flag_spec is actually meaningless, as there is - # no search path for DLLs. - case $cc_basename in - cl*) - # Native MSVC - hardcode_libdir_flag_spec=' ' - allow_undefined_flag=unsupported - always_export_symbols=yes - file_list_spec='@' - # Tell ltmain to make .lib files, not .a files. - libext=lib - # Tell ltmain to make .dll files, not .so files. - shrext_cmds=.dll - # FIXME: Setting linknames here is a bad hack. - archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' - archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then - cp "$export_symbols" "$output_objdir/$soname.def"; - echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; - else - $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; - fi~ - $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ - linknames=' - # The linker will not automatically build a static lib if we build a DLL. - # _LT_TAGVAR(old_archive_from_new_cmds, )='true' - enable_shared_with_static_runtimes=yes - exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' - export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' - # Don't use ranlib - old_postinstall_cmds='chmod 644 $oldlib' - postlink_cmds='lt_outputfile="@OUTPUT@"~ - lt_tool_outputfile="@TOOL_OUTPUT@"~ - case $lt_outputfile in - *.exe|*.EXE) ;; - *) - lt_outputfile=$lt_outputfile.exe - lt_tool_outputfile=$lt_tool_outputfile.exe - ;; - esac~ - if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then - $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; - $RM "$lt_outputfile.manifest"; - fi' - ;; - *) - # Assume MSVC wrapper - hardcode_libdir_flag_spec=' ' - allow_undefined_flag=unsupported - # Tell ltmain to make .lib files, not .a files. - libext=lib - # Tell ltmain to make .dll files, not .so files. - shrext_cmds=.dll - # FIXME: Setting linknames here is a bad hack. - archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' - # The linker will automatically build a .lib file if we build a DLL. - old_archive_from_new_cmds='true' - # FIXME: Should let the user specify the lib program. - old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' - enable_shared_with_static_runtimes=yes - ;; - esac - ;; - - darwin* | rhapsody*) - - - archive_cmds_need_lc=no - hardcode_direct=no - hardcode_automatic=yes - hardcode_shlibpath_var=unsupported - if test yes = "$lt_cv_ld_force_load"; then - whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' - - else - whole_archive_flag_spec='' - fi - link_all_deplibs=yes - allow_undefined_flag=$_lt_dar_allow_undefined - case $cc_basename in - ifort*|nagfor*) _lt_dar_can_shared=yes ;; - *) _lt_dar_can_shared=$GCC ;; - esac - if test yes = "$_lt_dar_can_shared"; then - output_verbose_link_cmd=func_echo_all - archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" - module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" - archive_expsym_cmds="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil" - module_expsym_cmds="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil" - - else - ld_shlibs=no - fi - - ;; - - dgux*) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_shlibpath_var=no - ;; - - # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor - # support. Future versions do this automatically, but an explicit c++rt0.o - # does not break anything, and helps significantly (at the cost of a little - # extra space). - freebsd2.2*) - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' - hardcode_libdir_flag_spec='-R$libdir' - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; - - # Unfortunately, older versions of FreeBSD 2 do not have this feature. - freebsd2.*) - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=yes - hardcode_minus_L=yes - hardcode_shlibpath_var=no - ;; - - # FreeBSD 3 and greater uses gcc -shared to do shared libraries. - freebsd* | dragonfly*) - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' - hardcode_libdir_flag_spec='-R$libdir' - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; - - hpux9*) - if test yes = "$GCC"; then - archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' - else - archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' - fi - hardcode_libdir_flag_spec='$wl+b $wl$libdir' - hardcode_libdir_separator=: - hardcode_direct=yes - - # hardcode_minus_L: Not really in the search PATH, - # but as the default location of the library. - hardcode_minus_L=yes - export_dynamic_flag_spec='$wl-E' - ;; - - hpux10*) - if test yes,no = "$GCC,$with_gnu_ld"; then - archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' - else - archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' - fi - if test no = "$with_gnu_ld"; then - hardcode_libdir_flag_spec='$wl+b $wl$libdir' - hardcode_libdir_separator=: - hardcode_direct=yes - hardcode_direct_absolute=yes - export_dynamic_flag_spec='$wl-E' - # hardcode_minus_L: Not really in the search PATH, - # but as the default location of the library. - hardcode_minus_L=yes - fi - ;; - - hpux11*) - if test yes,no = "$GCC,$with_gnu_ld"; then - case $host_cpu in - hppa*64*) - archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - ia64*) - archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' - ;; - *) - archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' - ;; - esac - else - case $host_cpu in - hppa*64*) - archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - ia64*) - archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' - ;; - *) - - # Older versions of the 11.00 compiler do not understand -b yet - # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 -$as_echo_n "checking if $CC understands -b... " >&6; } -if ${lt_cv_prog_compiler__b+:} false; then : - $as_echo_n "(cached) " >&6 -else - lt_cv_prog_compiler__b=no - save_LDFLAGS=$LDFLAGS - LDFLAGS="$LDFLAGS -b" - echo "$lt_simple_link_test_code" > conftest.$ac_ext - if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then - # The linker can only warn and ignore the option if not recognized - # So say no if there are warnings - if test -s conftest.err; then - # Append any errors to the config.log. - cat conftest.err 1>&5 - $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 - if diff conftest.exp conftest.er2 >/dev/null; then - lt_cv_prog_compiler__b=yes - fi - else - lt_cv_prog_compiler__b=yes - fi - fi - $RM -r conftest* - LDFLAGS=$save_LDFLAGS - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 -$as_echo "$lt_cv_prog_compiler__b" >&6; } - -if test yes = "$lt_cv_prog_compiler__b"; then - archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' -else - archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' -fi - - ;; - esac - fi - if test no = "$with_gnu_ld"; then - hardcode_libdir_flag_spec='$wl+b $wl$libdir' - hardcode_libdir_separator=: - - case $host_cpu in - hppa*64*|ia64*) - hardcode_direct=no - hardcode_shlibpath_var=no - ;; - *) - hardcode_direct=yes - hardcode_direct_absolute=yes - export_dynamic_flag_spec='$wl-E' - - # hardcode_minus_L: Not really in the search PATH, - # but as the default location of the library. - hardcode_minus_L=yes - ;; - esac - fi - ;; - - irix5* | irix6* | nonstopux*) - if test yes = "$GCC"; then - archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' - # Try to use the -exported_symbol ld option, if it does not - # work, assume that -exports_file does not work either and - # implicitly export all symbols. - # This should be the same for all languages, so no per-tag cache variable. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 -$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } -if ${lt_cv_irix_exported_symbol+:} false; then : - $as_echo_n "(cached) " >&6 -else - save_LDFLAGS=$LDFLAGS - LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -int foo (void) { return 0; } -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - lt_cv_irix_exported_symbol=yes -else - lt_cv_irix_exported_symbol=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - LDFLAGS=$save_LDFLAGS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 -$as_echo "$lt_cv_irix_exported_symbol" >&6; } - if test yes = "$lt_cv_irix_exported_symbol"; then - archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib' - fi - link_all_deplibs=no - else - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib' - fi - archive_cmds_need_lc='no' - hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' - hardcode_libdir_separator=: - inherit_rpath=yes - link_all_deplibs=yes - ;; - - linux*) - case $cc_basename in - tcc*) - # Fabrice Bellard et al's Tiny C Compiler - ld_shlibs=yes - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' - ;; - esac - ;; - - netbsd* | netbsdelf*-gnu) - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out - else - archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF - fi - hardcode_libdir_flag_spec='-R$libdir' - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; - - newsos6) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=yes - hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' - hardcode_libdir_separator=: - hardcode_shlibpath_var=no - ;; - - *nto* | *qnx*) - ;; - - openbsd* | bitrig*) - if test -f /usr/libexec/ld.so; then - hardcode_direct=yes - hardcode_shlibpath_var=no - hardcode_direct_absolute=yes - if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' - hardcode_libdir_flag_spec='$wl-rpath,$libdir' - export_dynamic_flag_spec='$wl-E' - else - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' - hardcode_libdir_flag_spec='$wl-rpath,$libdir' - fi - else - ld_shlibs=no - fi - ;; - - os2*) - hardcode_libdir_flag_spec='-L$libdir' - hardcode_minus_L=yes - allow_undefined_flag=unsupported - shrext_cmds=.dll - archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ - $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ - $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ - $ECHO EXPORTS >> $output_objdir/$libname.def~ - emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ - $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ - emximp -o $lib $output_objdir/$libname.def' - archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ - $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ - $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ - $ECHO EXPORTS >> $output_objdir/$libname.def~ - prefix_cmds="$SED"~ - if test EXPORTS = "`$SED 1q $export_symbols`"; then - prefix_cmds="$prefix_cmds -e 1d"; - fi~ - prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ - cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ - $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ - emximp -o $lib $output_objdir/$libname.def' - old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' - enable_shared_with_static_runtimes=yes - ;; - - osf3*) - if test yes = "$GCC"; then - allow_undefined_flag=' $wl-expect_unresolved $wl\*' - archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' - else - allow_undefined_flag=' -expect_unresolved \*' - archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' - fi - archive_cmds_need_lc='no' - hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' - hardcode_libdir_separator=: - ;; - - osf4* | osf5*) # as osf3* with the addition of -msym flag - if test yes = "$GCC"; then - allow_undefined_flag=' $wl-expect_unresolved $wl\*' - archive_cmds='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' - hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' - else - allow_undefined_flag=' -expect_unresolved \*' - archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' - archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ - $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp' - - # Both c and cxx compiler support -rpath directly - hardcode_libdir_flag_spec='-rpath $libdir' - fi - archive_cmds_need_lc='no' - hardcode_libdir_separator=: - ;; - - solaris*) - no_undefined_flag=' -z defs' - if test yes = "$GCC"; then - wlarc='$wl' - archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ - $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' - else - case `$CC -V 2>&1` in - *"Compilers 5.0"*) - wlarc='' - archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' - archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ - $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' - ;; - *) - wlarc='$wl' - archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ - $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' - ;; - esac - fi - hardcode_libdir_flag_spec='-R$libdir' - hardcode_shlibpath_var=no - case $host_os in - solaris2.[0-5] | solaris2.[0-5].*) ;; - *) - # The compiler driver will combine and reorder linker options, - # but understands '-z linker_flag'. GCC discards it without '$wl', - # but is careful enough not to reorder. - # Supported since Solaris 2.6 (maybe 2.5.1?) - if test yes = "$GCC"; then - whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' - else - whole_archive_flag_spec='-z allextract$convenience -z defaultextract' - fi - ;; - esac - link_all_deplibs=yes - ;; - - sunos4*) - if test sequent = "$host_vendor"; then - # Use $CC to link under sequent, because it throws in some extra .o - # files that make .init and .fini sections work. - archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' - else - archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' - fi - hardcode_libdir_flag_spec='-L$libdir' - hardcode_direct=yes - hardcode_minus_L=yes - hardcode_shlibpath_var=no - ;; - - sysv4) - case $host_vendor in - sni) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=yes # is this really true??? - ;; - siemens) - ## LD is ld it makes a PLAMLIB - ## CC just makes a GrossModule. - archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' - reload_cmds='$CC -r -o $output$reload_objs' - hardcode_direct=no - ;; - motorola) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=no #Motorola manual says yes, but my tests say they lie - ;; - esac - runpath_var='LD_RUN_PATH' - hardcode_shlibpath_var=no - ;; - - sysv4.3*) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_shlibpath_var=no - export_dynamic_flag_spec='-Bexport' - ;; - - sysv4*MP*) - if test -d /usr/nec; then - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_shlibpath_var=no - runpath_var=LD_RUN_PATH - hardcode_runpath_var=yes - ld_shlibs=yes - fi - ;; - - sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) - no_undefined_flag='$wl-z,text' - archive_cmds_need_lc=no - hardcode_shlibpath_var=no - runpath_var='LD_RUN_PATH' - - if test yes = "$GCC"; then - archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - else - archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - fi - ;; - - sysv5* | sco3.2v5* | sco5v6*) - # Note: We CANNOT use -z defs as we might desire, because we do not - # link with -lc, and that would cause any symbols used from libc to - # always be unresolved, which means just about no library would - # ever link correctly. If we're not using GNU ld we use -z text - # though, which does catch some bad symbols but isn't as heavy-handed - # as -z defs. - no_undefined_flag='$wl-z,text' - allow_undefined_flag='$wl-z,nodefs' - archive_cmds_need_lc=no - hardcode_shlibpath_var=no - hardcode_libdir_flag_spec='$wl-R,$libdir' - hardcode_libdir_separator=':' - link_all_deplibs=yes - export_dynamic_flag_spec='$wl-Bexport' - runpath_var='LD_RUN_PATH' - - if test yes = "$GCC"; then - archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - else - archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - fi - ;; - - uts4*) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_shlibpath_var=no - ;; - - *) - ld_shlibs=no - ;; - esac - - if test sni = "$host_vendor"; then - case $host in - sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) - export_dynamic_flag_spec='$wl-Blargedynsym' - ;; - esac - fi - fi - -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 -$as_echo "$ld_shlibs" >&6; } -test no = "$ld_shlibs" && can_build_shared=no - -with_gnu_ld=$with_gnu_ld - - - - - - - - - - - - - - - -# -# Do we need to explicitly link libc? -# -case "x$archive_cmds_need_lc" in -x|xyes) - # Assume -lc should be added - archive_cmds_need_lc=yes - - if test yes,yes = "$GCC,$enable_shared"; then - case $archive_cmds in - *'~'*) - # FIXME: we may have to deal with multi-command sequences. - ;; - '$CC '*) - # Test whether the compiler implicitly links with -lc since on some - # systems, -lgcc has to come before -lc. If gcc already passes -lc - # to ld, don't add -lc before -lgcc. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 -$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } -if ${lt_cv_archive_cmds_need_lc+:} false; then : - $as_echo_n "(cached) " >&6 -else - $RM conftest* - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } 2>conftest.err; then - soname=conftest - lib=conftest - libobjs=conftest.$ac_objext - deplibs= - wl=$lt_prog_compiler_wl - pic_flag=$lt_prog_compiler_pic - compiler_flags=-v - linker_flags=-v - verstring= - output_objdir=. - libname=conftest - lt_save_allow_undefined_flag=$allow_undefined_flag - allow_undefined_flag= - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 - (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } - then - lt_cv_archive_cmds_need_lc=no - else - lt_cv_archive_cmds_need_lc=yes - fi - allow_undefined_flag=$lt_save_allow_undefined_flag - else - cat conftest.err 1>&5 - fi - $RM conftest* - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 -$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } - archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc - ;; - esac - fi - ;; -esac - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 -$as_echo_n "checking dynamic linker characteristics... " >&6; } - -if test yes = "$GCC"; then - case $host_os in - darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; - *) lt_awk_arg='/^libraries:/' ;; - esac - case $host_os in - mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;; - *) lt_sed_strip_eq='s|=/|/|g' ;; - esac - lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` - case $lt_search_path_spec in - *\;*) - # if the path contains ";" then we assume it to be the separator - # otherwise default to the standard path separator (i.e. ":") - it is - # assumed that no part of a normal pathname contains ";" but that should - # okay in the real world where ";" in dirpaths is itself problematic. - lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` - ;; - *) - lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` - ;; - esac - # Ok, now we have the path, separated by spaces, we can step through it - # and add multilib dir if necessary... - lt_tmp_lt_search_path_spec= - lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` - # ...but if some path component already ends with the multilib dir we assume - # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). - case "$lt_multi_os_dir; $lt_search_path_spec " in - "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) - lt_multi_os_dir= - ;; - esac - for lt_sys_path in $lt_search_path_spec; do - if test -d "$lt_sys_path$lt_multi_os_dir"; then - lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" - elif test -n "$lt_multi_os_dir"; then - test -d "$lt_sys_path" && \ - lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" - fi - done - lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' -BEGIN {RS = " "; FS = "/|\n";} { - lt_foo = ""; - lt_count = 0; - for (lt_i = NF; lt_i > 0; lt_i--) { - if ($lt_i != "" && $lt_i != ".") { - if ($lt_i == "..") { - lt_count++; - } else { - if (lt_count == 0) { - lt_foo = "/" $lt_i lt_foo; - } else { - lt_count--; - } - } - } - } - if (lt_foo != "") { lt_freq[lt_foo]++; } - if (lt_freq[lt_foo] == 1) { print lt_foo; } -}'` - # AWK program above erroneously prepends '/' to C:/dos/paths - # for these hosts. - case $host_os in - mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ - $SED 's|/\([A-Za-z]:\)|\1|g'` ;; - esac - sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` -else - sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" -fi -library_names_spec= -libname_spec='lib$name' -soname_spec= -shrext_cmds=.so -postinstall_cmds= -postuninstall_cmds= -finish_cmds= -finish_eval= -shlibpath_var= -shlibpath_overrides_runpath=unknown -version_type=none -dynamic_linker="$host_os ld.so" -sys_lib_dlsearch_path_spec="/lib /usr/lib" -need_lib_prefix=unknown -hardcode_into_libs=no - -# when you set need_version to no, make sure it does not cause -set_version -# flags to be left without arguments -need_version=unknown - - - -case $host_os in -aix3*) - version_type=linux # correct to gnu/linux during the next big refactor - library_names_spec='$libname$release$shared_ext$versuffix $libname.a' - shlibpath_var=LIBPATH - - # AIX 3 has no versioning support, so we append a major version to the name. - soname_spec='$libname$release$shared_ext$major' - ;; - -aix[4-9]*) - version_type=linux # correct to gnu/linux during the next big refactor - need_lib_prefix=no - need_version=no - hardcode_into_libs=yes - if test ia64 = "$host_cpu"; then - # AIX 5 supports IA64 - library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' - shlibpath_var=LD_LIBRARY_PATH - else - # With GCC up to 2.95.x, collect2 would create an import file - # for dependence libraries. The import file would start with - # the line '#! .'. This would cause the generated library to - # depend on '.', always an invalid library. This was fixed in - # development snapshots of GCC prior to 3.0. - case $host_os in - aix4 | aix4.[01] | aix4.[01].*) - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' - echo ' yes ' - echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then - : - else - can_build_shared=no - fi - ;; - esac - # Using Import Files as archive members, it is possible to support - # filename-based versioning of shared library archives on AIX. While - # this would work for both with and without runtime linking, it will - # prevent static linking of such archives. So we do filename-based - # shared library versioning with .so extension only, which is used - # when both runtime linking and shared linking is enabled. - # Unfortunately, runtime linking may impact performance, so we do - # not want this to be the default eventually. Also, we use the - # versioned .so libs for executables only if there is the -brtl - # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. - # To allow for filename-based versioning support, we need to create - # libNAME.so.V as an archive file, containing: - # *) an Import File, referring to the versioned filename of the - # archive as well as the shared archive member, telling the - # bitwidth (32 or 64) of that shared object, and providing the - # list of exported symbols of that shared object, eventually - # decorated with the 'weak' keyword - # *) the shared object with the F_LOADONLY flag set, to really avoid - # it being seen by the linker. - # At run time we better use the real file rather than another symlink, - # but for link time we create the symlink libNAME.so -> libNAME.so.V - - case $with_aix_soname,$aix_use_runtimelinking in - # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct - # soname into executable. Probably we can add versioning support to - # collect2, so additional links can be useful in future. - aix,yes) # traditional libtool - dynamic_linker='AIX unversionable lib.so' - # If using run time linking (on AIX 4.2 or later) use lib.so - # instead of lib.a to let people know that these are not - # typical AIX shared libraries. - library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' - ;; - aix,no) # traditional AIX only - dynamic_linker='AIX lib.a(lib.so.V)' - # We preserve .a as extension for shared libraries through AIX4.2 - # and later when we are not doing run time linking. - library_names_spec='$libname$release.a $libname.a' - soname_spec='$libname$release$shared_ext$major' - ;; - svr4,*) # full svr4 only - dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" - library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' - # We do not specify a path in Import Files, so LIBPATH fires. - shlibpath_overrides_runpath=yes - ;; - *,yes) # both, prefer svr4 - dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" - library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' - # unpreferred sharedlib libNAME.a needs extra handling - postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"' - postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"' - # We do not specify a path in Import Files, so LIBPATH fires. - shlibpath_overrides_runpath=yes - ;; - *,no) # both, prefer aix - dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" - library_names_spec='$libname$release.a $libname.a' - soname_spec='$libname$release$shared_ext$major' - # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling - postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)' - postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"' - ;; - esac - shlibpath_var=LIBPATH - fi - ;; - -amigaos*) - case $host_cpu in - powerpc) - # Since July 2007 AmigaOS4 officially supports .so libraries. - # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. - library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' - ;; - m68k) - library_names_spec='$libname.ixlibrary $libname.a' - # Create ${libname}_ixlibrary.a entries in /sys/libs. - finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' - ;; - esac - ;; - -beos*) - library_names_spec='$libname$shared_ext' - dynamic_linker="$host_os ld.so" - shlibpath_var=LIBRARY_PATH - ;; - -bsdi[45]*) - version_type=linux # correct to gnu/linux during the next big refactor - need_version=no - library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' - soname_spec='$libname$release$shared_ext$major' - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' - shlibpath_var=LD_LIBRARY_PATH - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" - # the default ld.so.conf also contains /usr/contrib/lib and - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow - # libtool to hard-code these into programs - ;; - -cygwin* | mingw* | pw32* | cegcc*) - version_type=windows - shrext_cmds=.dll - need_version=no - need_lib_prefix=no - - case $GCC,$cc_basename in - yes,*) - # gcc - library_names_spec='$libname.dll.a' - # DLL is installed to $(libdir)/../bin by postinstall_cmds - postinstall_cmds='base_file=`basename \$file`~ - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ - dldir=$destdir/`dirname \$dlpath`~ - test -d \$dldir || mkdir -p \$dldir~ - $install_prog $dir/$dlname \$dldir/$dlname~ - chmod a+x \$dldir/$dlname~ - if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then - eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; - fi' - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ - dlpath=$dir/\$dldll~ - $RM \$dlpath' - shlibpath_overrides_runpath=yes - - case $host_os in - cygwin*) - # Cygwin DLLs use 'cyg' prefix rather than 'lib' - soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' - - sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" - ;; - mingw* | cegcc*) - # MinGW DLLs use traditional 'lib' prefix - soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' - ;; - pw32*) - # pw32 DLLs use 'pw' prefix rather than 'lib' - library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' - ;; - esac - dynamic_linker='Win32 ld.exe' - ;; - - *,cl*) - # Native MSVC - libname_spec='$name' - soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' - library_names_spec='$libname.dll.lib' - - case $build_os in - mingw*) - sys_lib_search_path_spec= - lt_save_ifs=$IFS - IFS=';' - for lt_path in $LIB - do - IFS=$lt_save_ifs - # Let DOS variable expansion print the short 8.3 style file name. - lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` - sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" - done - IFS=$lt_save_ifs - # Convert to MSYS style. - sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` - ;; - cygwin*) - # Convert to unix form, then to dos form, then back to unix form - # but this time dos style (no spaces!) so that the unix form looks - # like /cygdrive/c/PROGRA~1:/cygdr... - sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` - sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` - sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` - ;; - *) - sys_lib_search_path_spec=$LIB - if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then - # It is most probably a Windows format PATH. - sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` - else - sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` - fi - # FIXME: find the short name or the path components, as spaces are - # common. (e.g. "Program Files" -> "PROGRA~1") - ;; - esac - - # DLL is installed to $(libdir)/../bin by postinstall_cmds - postinstall_cmds='base_file=`basename \$file`~ - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ - dldir=$destdir/`dirname \$dlpath`~ - test -d \$dldir || mkdir -p \$dldir~ - $install_prog $dir/$dlname \$dldir/$dlname' - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ - dlpath=$dir/\$dldll~ - $RM \$dlpath' - shlibpath_overrides_runpath=yes - dynamic_linker='Win32 link.exe' - ;; - - *) - # Assume MSVC wrapper - library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' - dynamic_linker='Win32 ld.exe' - ;; - esac - # FIXME: first we should search . and the directory the executable is in - shlibpath_var=PATH - ;; - -darwin* | rhapsody*) - dynamic_linker="$host_os dyld" - version_type=darwin - need_lib_prefix=no - need_version=no - library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' - soname_spec='$libname$release$major$shared_ext' - shlibpath_overrides_runpath=yes - shlibpath_var=DYLD_LIBRARY_PATH - shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' - - sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" - sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' - ;; - -dgux*) - version_type=linux # correct to gnu/linux during the next big refactor - need_lib_prefix=no - need_version=no - library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' - soname_spec='$libname$release$shared_ext$major' - shlibpath_var=LD_LIBRARY_PATH - ;; - -freebsd* | dragonfly*) - # DragonFly does not have aout. When/if they implement a new - # versioning mechanism, adjust this. - if test -x /usr/bin/objformat; then - objformat=`/usr/bin/objformat` - else - case $host_os in - freebsd[23].*) objformat=aout ;; - *) objformat=elf ;; - esac - fi - version_type=freebsd-$objformat - case $version_type in - freebsd-elf*) - library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' - soname_spec='$libname$release$shared_ext$major' - need_version=no - need_lib_prefix=no - ;; - freebsd-*) - library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' - need_version=yes - ;; - esac - shlibpath_var=LD_LIBRARY_PATH - case $host_os in - freebsd2.*) - shlibpath_overrides_runpath=yes - ;; - freebsd3.[01]* | freebsdelf3.[01]*) - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - ;; - freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ - freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - ;; - *) # from 4.6 on, and DragonFly - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - ;; - esac - ;; - -haiku*) - version_type=linux # correct to gnu/linux during the next big refactor - need_lib_prefix=no - need_version=no - dynamic_linker="$host_os runtime_loader" - library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' - soname_spec='$libname$release$shared_ext$major' - shlibpath_var=LIBRARY_PATH - shlibpath_overrides_runpath=no - sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' - hardcode_into_libs=yes - ;; - -hpux9* | hpux10* | hpux11*) - # Give a soname corresponding to the major version so that dld.sl refuses to - # link against other versions. - version_type=sunos - need_lib_prefix=no - need_version=no - case $host_cpu in - ia64*) - shrext_cmds='.so' - hardcode_into_libs=yes - dynamic_linker="$host_os dld.so" - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. - library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' - soname_spec='$libname$release$shared_ext$major' - if test 32 = "$HPUX_IA64_MODE"; then - sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" - sys_lib_dlsearch_path_spec=/usr/lib/hpux32 - else - sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" - sys_lib_dlsearch_path_spec=/usr/lib/hpux64 - fi - ;; - hppa*64*) - shrext_cmds='.sl' - hardcode_into_libs=yes - dynamic_linker="$host_os dld.sl" - shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. - library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' - soname_spec='$libname$release$shared_ext$major' - sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec - ;; - *) - shrext_cmds='.sl' - dynamic_linker="$host_os dld.sl" - shlibpath_var=SHLIB_PATH - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH - library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' - soname_spec='$libname$release$shared_ext$major' - ;; - esac - # HP-UX runs *really* slowly unless shared libraries are mode 555, ... - postinstall_cmds='chmod 555 $lib' - # or fails outright, so override atomically: - install_override_mode=555 - ;; - -interix[3-9]*) - version_type=linux # correct to gnu/linux during the next big refactor - need_lib_prefix=no - need_version=no - library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' - soname_spec='$libname$release$shared_ext$major' - dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - ;; - -irix5* | irix6* | nonstopux*) - case $host_os in - nonstopux*) version_type=nonstopux ;; - *) - if test yes = "$lt_cv_prog_gnu_ld"; then - version_type=linux # correct to gnu/linux during the next big refactor - else - version_type=irix - fi ;; - esac - need_lib_prefix=no - need_version=no - soname_spec='$libname$release$shared_ext$major' - library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' - case $host_os in - irix5* | nonstopux*) - libsuff= shlibsuff= - ;; - *) - case $LD in # libtool.m4 will add one of these switches to LD - *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") - libsuff= shlibsuff= libmagic=32-bit;; - *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") - libsuff=32 shlibsuff=N32 libmagic=N32;; - *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") - libsuff=64 shlibsuff=64 libmagic=64-bit;; - *) libsuff= shlibsuff= libmagic=never-match;; - esac - ;; - esac - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH - shlibpath_overrides_runpath=no - sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" - sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" - hardcode_into_libs=yes - ;; - -# No shared lib support for Linux oldld, aout, or coff. -linux*oldld* | linux*aout* | linux*coff*) - dynamic_linker=no - ;; - -linux*android*) - version_type=none # Android doesn't support versioned libraries. - need_lib_prefix=no - need_version=no - library_names_spec='$libname$release$shared_ext' - soname_spec='$libname$release$shared_ext' - finish_cmds= - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - - # This implies no fast_install, which is unacceptable. - # Some rework will be needed to allow for fast_install - # before this can be enabled. - hardcode_into_libs=yes - - dynamic_linker='Android linker' - # Don't embed -rpath directories since the linker doesn't support them. - hardcode_libdir_flag_spec='-L$libdir' - ;; - -# This must be glibc/ELF. -linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) - version_type=linux # correct to gnu/linux during the next big refactor - need_lib_prefix=no - need_version=no - library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' - soname_spec='$libname$release$shared_ext$major' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - - # Some binutils ld are patched to set DT_RUNPATH - if ${lt_cv_shlibpath_overrides_runpath+:} false; then : - $as_echo_n "(cached) " >&6 -else - lt_cv_shlibpath_overrides_runpath=no - save_LDFLAGS=$LDFLAGS - save_libdir=$libdir - eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ - LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : - lt_cv_shlibpath_overrides_runpath=yes -fi -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - LDFLAGS=$save_LDFLAGS - libdir=$save_libdir - -fi - - shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath - - # This implies no fast_install, which is unacceptable. - # Some rework will be needed to allow for fast_install - # before this can be enabled. - hardcode_into_libs=yes - - # Ideally, we could use ldconfig to report *all* directores which are - # searched for libraries, however this is still not possible. Aside from not - # being certain /sbin/ldconfig is available, command - # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, - # even though it is searched at run-time. Try to do the best guess by - # appending ld.so.conf contents (and includes) to the search path. - if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" - fi - - # We used to test for /lib/ld.so.1 and disable shared libraries on - # powerpc, because MkLinux only supported shared libraries with the - # GNU dynamic linker. Since this was broken with cross compilers, - # most powerpc-linux boxes support dynamic linking these days and - # people can always --disable-shared, the test was removed, and we - # assume the GNU/Linux dynamic linker is in use. - dynamic_linker='GNU/Linux ld.so' - ;; - -netbsdelf*-gnu) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - dynamic_linker='NetBSD ld.elf_so' - ;; - -netbsd*) - version_type=sunos - need_lib_prefix=no - need_version=no - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then - library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' - dynamic_linker='NetBSD (a.out) ld.so' - else - library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' - soname_spec='$libname$release$shared_ext$major' - dynamic_linker='NetBSD ld.elf_so' - fi - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - ;; - -newsos6) - version_type=linux # correct to gnu/linux during the next big refactor - library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - ;; - -*nto* | *qnx*) - version_type=qnx - need_lib_prefix=no - need_version=no - library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' - soname_spec='$libname$release$shared_ext$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - dynamic_linker='ldqnx.so' - ;; - -openbsd* | bitrig*) - version_type=sunos - sys_lib_dlsearch_path_spec=/usr/lib - need_lib_prefix=no - if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then - need_version=no - else - need_version=yes - fi - library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - ;; - -os2*) - libname_spec='$name' - version_type=windows - shrext_cmds=.dll - need_version=no - need_lib_prefix=no - # OS/2 can only load a DLL with a base name of 8 characters or less. - soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; - v=$($ECHO $release$versuffix | tr -d .-); - n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); - $ECHO $n$v`$shared_ext' - library_names_spec='${libname}_dll.$libext' - dynamic_linker='OS/2 ld.exe' - shlibpath_var=BEGINLIBPATH - sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec - postinstall_cmds='base_file=`basename \$file`~ - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ - dldir=$destdir/`dirname \$dlpath`~ - test -d \$dldir || mkdir -p \$dldir~ - $install_prog $dir/$dlname \$dldir/$dlname~ - chmod a+x \$dldir/$dlname~ - if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then - eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; - fi' - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ - dlpath=$dir/\$dldll~ - $RM \$dlpath' - ;; - -osf3* | osf4* | osf5*) - version_type=osf - need_lib_prefix=no - need_version=no - soname_spec='$libname$release$shared_ext$major' - library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' - shlibpath_var=LD_LIBRARY_PATH - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec - ;; - -rdos*) - dynamic_linker=no - ;; - -solaris*) - version_type=linux # correct to gnu/linux during the next big refactor - need_lib_prefix=no - need_version=no - library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' - soname_spec='$libname$release$shared_ext$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - # ldd complains unless libraries are executable - postinstall_cmds='chmod +x $lib' - ;; - -sunos4*) - version_type=sunos - library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - if test yes = "$with_gnu_ld"; then - need_lib_prefix=no - fi - need_version=yes - ;; - -sysv4 | sysv4.3*) - version_type=linux # correct to gnu/linux during the next big refactor - library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' - soname_spec='$libname$release$shared_ext$major' - shlibpath_var=LD_LIBRARY_PATH - case $host_vendor in - sni) - shlibpath_overrides_runpath=no - need_lib_prefix=no - runpath_var=LD_RUN_PATH - ;; - siemens) - need_lib_prefix=no - ;; - motorola) - need_lib_prefix=no - need_version=no - shlibpath_overrides_runpath=no - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' - ;; - esac - ;; - -sysv4*MP*) - if test -d /usr/nec; then - version_type=linux # correct to gnu/linux during the next big refactor - library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' - soname_spec='$libname$shared_ext.$major' - shlibpath_var=LD_LIBRARY_PATH - fi - ;; - -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) - version_type=sco - need_lib_prefix=no - need_version=no - library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' - soname_spec='$libname$release$shared_ext$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - if test yes = "$with_gnu_ld"; then - sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' - else - sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' - case $host_os in - sco3.2v5*) - sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" - ;; - esac - fi - sys_lib_dlsearch_path_spec='/usr/lib' - ;; - -tpf*) - # TPF is a cross-target only. Preferred cross-host = GNU/Linux. - version_type=linux # correct to gnu/linux during the next big refactor - need_lib_prefix=no - need_version=no - library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - ;; - -uts4*) - version_type=linux # correct to gnu/linux during the next big refactor - library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' - soname_spec='$libname$release$shared_ext$major' - shlibpath_var=LD_LIBRARY_PATH - ;; - -*) - dynamic_linker=no - ;; -esac -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 -$as_echo "$dynamic_linker" >&6; } -test no = "$dynamic_linker" && can_build_shared=no - -variables_saved_for_relink="PATH $shlibpath_var $runpath_var" -if test yes = "$GCC"; then - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" -fi - -if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then - sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec -fi - -if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then - sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec -fi - -# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... -configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec - -# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code -func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" - -# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool -configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 -$as_echo_n "checking how to hardcode library paths into programs... " >&6; } -hardcode_action= -if test -n "$hardcode_libdir_flag_spec" || - test -n "$runpath_var" || - test yes = "$hardcode_automatic"; then - - # We can hardcode non-existent directories. - if test no != "$hardcode_direct" && - # If the only mechanism to avoid hardcoding is shlibpath_var, we - # have to relink, otherwise we might link with an installed library - # when we should be linking with a yet-to-be-installed one - ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" && - test no != "$hardcode_minus_L"; then - # Linking always hardcodes the temporary library directory. - hardcode_action=relink - else - # We can link without hardcoding, and we can hardcode nonexisting dirs. - hardcode_action=immediate - fi -else - # We cannot hardcode anything, or else we can only hardcode existing - # directories. - hardcode_action=unsupported -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 -$as_echo "$hardcode_action" >&6; } - -if test relink = "$hardcode_action" || - test yes = "$inherit_rpath"; then - # Fast installation is not supported - enable_fast_install=no -elif test yes = "$shlibpath_overrides_runpath" || - test no = "$enable_shared"; then - # Fast installation is not necessary - enable_fast_install=needless -fi - - - - - - - if test yes != "$enable_dlopen"; then - enable_dlopen=unknown - enable_dlopen_self=unknown - enable_dlopen_self_static=unknown -else - lt_cv_dlopen=no - lt_cv_dlopen_libs= - - case $host_os in - beos*) - lt_cv_dlopen=load_add_on - lt_cv_dlopen_libs= - lt_cv_dlopen_self=yes - ;; - - mingw* | pw32* | cegcc*) - lt_cv_dlopen=LoadLibrary - lt_cv_dlopen_libs= - ;; - - cygwin*) - lt_cv_dlopen=dlopen - lt_cv_dlopen_libs= - ;; - - darwin*) - # if libdl is installed we need to link against it - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 -$as_echo_n "checking for dlopen in -ldl... " >&6; } -if ${ac_cv_lib_dl_dlopen+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-ldl $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char dlopen (); -int -main () -{ -return dlopen (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_dl_dlopen=yes -else - ac_cv_lib_dl_dlopen=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 -$as_echo "$ac_cv_lib_dl_dlopen" >&6; } -if test "x$ac_cv_lib_dl_dlopen" = xyes; then : - lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl -else - - lt_cv_dlopen=dyld - lt_cv_dlopen_libs= - lt_cv_dlopen_self=yes - -fi - - ;; - - tpf*) - # Don't try to run any link tests for TPF. We know it's impossible - # because TPF is a cross-compiler, and we know how we open DSOs. - lt_cv_dlopen=dlopen - lt_cv_dlopen_libs= - lt_cv_dlopen_self=no - ;; - - *) - ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" -if test "x$ac_cv_func_shl_load" = xyes; then : - lt_cv_dlopen=shl_load -else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 -$as_echo_n "checking for shl_load in -ldld... " >&6; } -if ${ac_cv_lib_dld_shl_load+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-ldld $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char shl_load (); -int -main () -{ -return shl_load (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_dld_shl_load=yes -else - ac_cv_lib_dld_shl_load=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 -$as_echo "$ac_cv_lib_dld_shl_load" >&6; } -if test "x$ac_cv_lib_dld_shl_load" = xyes; then : - lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld -else - ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" -if test "x$ac_cv_func_dlopen" = xyes; then : - lt_cv_dlopen=dlopen -else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 -$as_echo_n "checking for dlopen in -ldl... " >&6; } -if ${ac_cv_lib_dl_dlopen+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-ldl $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char dlopen (); -int -main () -{ -return dlopen (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_dl_dlopen=yes -else - ac_cv_lib_dl_dlopen=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 -$as_echo "$ac_cv_lib_dl_dlopen" >&6; } -if test "x$ac_cv_lib_dl_dlopen" = xyes; then : - lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl -else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 -$as_echo_n "checking for dlopen in -lsvld... " >&6; } -if ${ac_cv_lib_svld_dlopen+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lsvld $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char dlopen (); -int -main () -{ -return dlopen (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_svld_dlopen=yes -else - ac_cv_lib_svld_dlopen=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 -$as_echo "$ac_cv_lib_svld_dlopen" >&6; } -if test "x$ac_cv_lib_svld_dlopen" = xyes; then : - lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld -else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 -$as_echo_n "checking for dld_link in -ldld... " >&6; } -if ${ac_cv_lib_dld_dld_link+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-ldld $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char dld_link (); -int -main () -{ -return dld_link (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_dld_dld_link=yes -else - ac_cv_lib_dld_dld_link=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 -$as_echo "$ac_cv_lib_dld_dld_link" >&6; } -if test "x$ac_cv_lib_dld_dld_link" = xyes; then : - lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld -fi - - -fi - - -fi - - -fi - - -fi - - -fi - - ;; - esac - - if test no = "$lt_cv_dlopen"; then - enable_dlopen=no - else - enable_dlopen=yes - fi - - case $lt_cv_dlopen in - dlopen) - save_CPPFLAGS=$CPPFLAGS - test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" - - save_LDFLAGS=$LDFLAGS - wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" - - save_LIBS=$LIBS - LIBS="$lt_cv_dlopen_libs $LIBS" - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 -$as_echo_n "checking whether a program can dlopen itself... " >&6; } -if ${lt_cv_dlopen_self+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test yes = "$cross_compiling"; then : - lt_cv_dlopen_self=cross -else - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 - lt_status=$lt_dlunknown - cat > conftest.$ac_ext <<_LT_EOF -#line $LINENO "configure" -#include "confdefs.h" - -#if HAVE_DLFCN_H -#include -#endif - -#include - -#ifdef RTLD_GLOBAL -# define LT_DLGLOBAL RTLD_GLOBAL -#else -# ifdef DL_GLOBAL -# define LT_DLGLOBAL DL_GLOBAL -# else -# define LT_DLGLOBAL 0 -# endif -#endif - -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we - find out it does not work in some platform. */ -#ifndef LT_DLLAZY_OR_NOW -# ifdef RTLD_LAZY -# define LT_DLLAZY_OR_NOW RTLD_LAZY -# else -# ifdef DL_LAZY -# define LT_DLLAZY_OR_NOW DL_LAZY -# else -# ifdef RTLD_NOW -# define LT_DLLAZY_OR_NOW RTLD_NOW -# else -# ifdef DL_NOW -# define LT_DLLAZY_OR_NOW DL_NOW -# else -# define LT_DLLAZY_OR_NOW 0 -# endif -# endif -# endif -# endif -#endif - -/* When -fvisibility=hidden is used, assume the code has been annotated - correspondingly for the symbols needed. */ -#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) -int fnord () __attribute__((visibility("default"))); -#endif - -int fnord () { return 42; } -int main () -{ - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); - int status = $lt_dlunknown; - - if (self) - { - if (dlsym (self,"fnord")) status = $lt_dlno_uscore; - else - { - if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; - else puts (dlerror ()); - } - /* dlclose (self); */ - } - else - puts (dlerror ()); - - return status; -} -_LT_EOF - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 - (eval $ac_link) 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then - (./conftest; exit; ) >&5 2>/dev/null - lt_status=$? - case x$lt_status in - x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; - x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; - x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; - esac - else : - # compilation failed - lt_cv_dlopen_self=no - fi -fi -rm -fr conftest* - - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 -$as_echo "$lt_cv_dlopen_self" >&6; } - - if test yes = "$lt_cv_dlopen_self"; then - wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 -$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } -if ${lt_cv_dlopen_self_static+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test yes = "$cross_compiling"; then : - lt_cv_dlopen_self_static=cross -else - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 - lt_status=$lt_dlunknown - cat > conftest.$ac_ext <<_LT_EOF -#line $LINENO "configure" -#include "confdefs.h" - -#if HAVE_DLFCN_H -#include -#endif - -#include - -#ifdef RTLD_GLOBAL -# define LT_DLGLOBAL RTLD_GLOBAL -#else -# ifdef DL_GLOBAL -# define LT_DLGLOBAL DL_GLOBAL -# else -# define LT_DLGLOBAL 0 -# endif -#endif - -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we - find out it does not work in some platform. */ -#ifndef LT_DLLAZY_OR_NOW -# ifdef RTLD_LAZY -# define LT_DLLAZY_OR_NOW RTLD_LAZY -# else -# ifdef DL_LAZY -# define LT_DLLAZY_OR_NOW DL_LAZY -# else -# ifdef RTLD_NOW -# define LT_DLLAZY_OR_NOW RTLD_NOW -# else -# ifdef DL_NOW -# define LT_DLLAZY_OR_NOW DL_NOW -# else -# define LT_DLLAZY_OR_NOW 0 -# endif -# endif -# endif -# endif -#endif - -/* When -fvisibility=hidden is used, assume the code has been annotated - correspondingly for the symbols needed. */ -#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) -int fnord () __attribute__((visibility("default"))); -#endif - -int fnord () { return 42; } -int main () -{ - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); - int status = $lt_dlunknown; - - if (self) - { - if (dlsym (self,"fnord")) status = $lt_dlno_uscore; - else - { - if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; - else puts (dlerror ()); - } - /* dlclose (self); */ - } - else - puts (dlerror ()); - - return status; -} -_LT_EOF - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 - (eval $ac_link) 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then - (./conftest; exit; ) >&5 2>/dev/null - lt_status=$? - case x$lt_status in - x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; - x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; - x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; - esac - else : - # compilation failed - lt_cv_dlopen_self_static=no - fi -fi -rm -fr conftest* - - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 -$as_echo "$lt_cv_dlopen_self_static" >&6; } - fi - - CPPFLAGS=$save_CPPFLAGS - LDFLAGS=$save_LDFLAGS - LIBS=$save_LIBS - ;; - esac - - case $lt_cv_dlopen_self in - yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; - *) enable_dlopen_self=unknown ;; - esac - - case $lt_cv_dlopen_self_static in - yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; - *) enable_dlopen_self_static=unknown ;; - esac -fi - - - - - - - - - - - - - - - - - -striplib= -old_striplib= -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 -$as_echo_n "checking whether stripping libraries is possible... " >&6; } -if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" - test -z "$striplib" && striplib="$STRIP --strip-unneeded" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } -else -# FIXME - insert some real tests, host_os isn't really good enough - case $host_os in - darwin*) - if test -n "$STRIP"; then - striplib="$STRIP -x" - old_striplib="$STRIP -S" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } - else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - fi - ;; - *) - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - ;; - esac -fi - - - - - - - - - - - - - # Report what library types will actually be built - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 -$as_echo_n "checking if libtool supports shared libraries... " >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 -$as_echo "$can_build_shared" >&6; } - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 -$as_echo_n "checking whether to build shared libraries... " >&6; } - test no = "$can_build_shared" && enable_shared=no - - # On AIX, shared libraries and static libraries use the same namespace, and - # are all built from PIC. - case $host_os in - aix3*) - test yes = "$enable_shared" && enable_static=no - if test -n "$RANLIB"; then - archive_cmds="$archive_cmds~\$RANLIB \$lib" - postinstall_cmds='$RANLIB $lib' - fi - ;; - - aix[4-9]*) - if test ia64 != "$host_cpu"; then - case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in - yes,aix,yes) ;; # shared object as lib.so file only - yes,svr4,*) ;; # shared object as lib.so archive member only - yes,*) enable_static=no ;; # shared object in lib.a archive as well - esac - fi - ;; - esac - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 -$as_echo "$enable_shared" >&6; } - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 -$as_echo_n "checking whether to build static libraries... " >&6; } - # Make sure either enable_shared or enable_static is yes. - test yes = "$enable_shared" || enable_static=yes - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 -$as_echo "$enable_static" >&6; } - - - - -fi -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - -CC=$lt_save_CC - - - - - - - - - - - - - - - - ac_config_commands="$ac_config_commands libtool" - - - - -# Only expand once: - - - -# Check for programs -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. -set dummy ${ac_tool_prefix}gcc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_CC="${ac_tool_prefix}gcc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_CC"; then - ac_ct_CC=$CC - # Extract the first word of "gcc", so it can be a program name with args. -set dummy gcc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_CC"; then - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_CC="gcc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_CC=$ac_cv_prog_ac_ct_CC -if test -n "$ac_ct_CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 -$as_echo "$ac_ct_CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_CC" = x; then - CC="" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - CC=$ac_ct_CC - fi -else - CC="$ac_cv_prog_CC" -fi - -if test -z "$CC"; then - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. -set dummy ${ac_tool_prefix}cc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_CC="${ac_tool_prefix}cc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - fi -fi -if test -z "$CC"; then - # Extract the first word of "cc", so it can be a program name with args. -set dummy cc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else - ac_prog_rejected=no -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then - ac_prog_rejected=yes - continue - fi - ac_cv_prog_CC="cc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -if test $ac_prog_rejected = yes; then - # We found a bogon in the path, so make sure we never use it. - set dummy $ac_cv_prog_CC - shift - if test $# != 0; then - # We chose a different compiler from the bogus one. - # However, it has the same basename, so the bogon will be chosen - # first if we set CC to just the basename; use the full file name. - shift - ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" - fi -fi -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$CC"; then - if test -n "$ac_tool_prefix"; then - for ac_prog in cl.exe - do - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. -set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_CC="$ac_tool_prefix$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$CC" && break - done -fi -if test -z "$CC"; then - ac_ct_CC=$CC - for ac_prog in cl.exe -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_CC"; then - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_CC="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_CC=$ac_cv_prog_ac_ct_CC -if test -n "$ac_ct_CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 -$as_echo "$ac_ct_CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$ac_ct_CC" && break -done - - if test "x$ac_ct_CC" = x; then - CC="" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - CC=$ac_ct_CC - fi -fi - -fi - - -test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "no acceptable C compiler found in \$PATH -See \`config.log' for more details" "$LINENO" 5; } - -# Provide some information about the compiler. -$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 -set X $ac_compile -ac_compiler=$2 -for ac_option in --version -v -V -qversion; do - { { ac_try="$ac_compiler $ac_option >&5" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_compiler $ac_option >&5") 2>conftest.err - ac_status=$? - if test -s conftest.err; then - sed '10a\ -... rest of stderr output deleted ... - 10q' conftest.err >conftest.er1 - cat conftest.er1 >&5 - fi - rm -f conftest.er1 conftest.err - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } -done - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 -$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } -if ${ac_cv_c_compiler_gnu+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ -#ifndef __GNUC__ - choke me -#endif - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_compiler_gnu=yes -else - ac_compiler_gnu=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -ac_cv_c_compiler_gnu=$ac_compiler_gnu - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 -$as_echo "$ac_cv_c_compiler_gnu" >&6; } -if test $ac_compiler_gnu = yes; then - GCC=yes -else - GCC= -fi -ac_test_CFLAGS=${CFLAGS+set} -ac_save_CFLAGS=$CFLAGS -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 -$as_echo_n "checking whether $CC accepts -g... " >&6; } -if ${ac_cv_prog_cc_g+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_save_c_werror_flag=$ac_c_werror_flag - ac_c_werror_flag=yes - ac_cv_prog_cc_g=no - CFLAGS="-g" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_prog_cc_g=yes -else - CFLAGS="" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - -else - ac_c_werror_flag=$ac_save_c_werror_flag - CFLAGS="-g" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_prog_cc_g=yes -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_c_werror_flag=$ac_save_c_werror_flag -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 -$as_echo "$ac_cv_prog_cc_g" >&6; } -if test "$ac_test_CFLAGS" = set; then - CFLAGS=$ac_save_CFLAGS -elif test $ac_cv_prog_cc_g = yes; then - if test "$GCC" = yes; then - CFLAGS="-g -O2" - else - CFLAGS="-g" - fi -else - if test "$GCC" = yes; then - CFLAGS="-O2" - else - CFLAGS= - fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 -$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } -if ${ac_cv_prog_cc_c89+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_cv_prog_cc_c89=no -ac_save_CC=$CC -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -#include -struct stat; -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ -struct buf { int x; }; -FILE * (*rcsopen) (struct buf *, struct stat *, int); -static char *e (p, i) - char **p; - int i; -{ - return p[i]; -} -static char *f (char * (*g) (char **, int), char **p, ...) -{ - char *s; - va_list v; - va_start (v,p); - s = g (p, va_arg (v,int)); - va_end (v); - return s; -} - -/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has - function prototypes and stuff, but not '\xHH' hex character constants. - These don't provoke an error unfortunately, instead are silently treated - as 'x'. The following induces an error, until -std is added to get - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an - array size at least. It's necessary to write '\x00'==0 to get something - that's true only with -std. */ -int osf4_cc_array ['\x00' == 0 ? 1 : -1]; - -/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters - inside strings and character constants. */ -#define FOO(x) 'x' -int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; - -int test (int i, double x); -struct s1 {int (*f) (int a);}; -struct s2 {int (*f) (double a);}; -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); -int argc; -char **argv; -int -main () -{ -return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; - ; - return 0; -} -_ACEOF -for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ - -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" -do - CC="$ac_save_CC $ac_arg" - if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_prog_cc_c89=$ac_arg -fi -rm -f core conftest.err conftest.$ac_objext - test "x$ac_cv_prog_cc_c89" != "xno" && break -done -rm -f conftest.$ac_ext -CC=$ac_save_CC - -fi -# AC_CACHE_VAL -case "x$ac_cv_prog_cc_c89" in - x) - { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 -$as_echo "none needed" >&6; } ;; - xno) - { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 -$as_echo "unsupported" >&6; } ;; - *) - CC="$CC $ac_cv_prog_cc_c89" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 -$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; -esac -if test "x$ac_cv_prog_cc_c89" != xno; then : - -fi - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 -$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } -if ${am_cv_prog_cc_c_o+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF - # Make sure it works both with $CC and with simple cc. - # Following AC_PROG_CC_C_O, we do the test twice because some - # compilers refuse to overwrite an existing .o file with -o, - # though they will create one. - am_cv_prog_cc_c_o=yes - for am_i in 1 2; do - if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 - ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } \ - && test -f conftest2.$ac_objext; then - : OK - else - am_cv_prog_cc_c_o=no - break - fi - done - rm -f core conftest* - unset am_i -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 -$as_echo "$am_cv_prog_cc_c_o" >&6; } -if test "$am_cv_prog_cc_c_o" != yes; then - # Losing compiler, so override with the script. - # FIXME: It is wrong to rewrite CC. - # But if we don't then we get into trouble of one sort or another. - # A longer-term fix would be to have automake use am__CC in this case, - # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" - CC="$am_aux_dir/compile $CC" -fi -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -depcc="$CC" am_compiler_list= - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 -$as_echo_n "checking dependency style of $depcc... " >&6; } -if ${am_cv_CC_dependencies_compiler_type+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then - # We make a subdir and do the tests there. Otherwise we can end up - # making bogus files that we don't know about and never remove. For - # instance it was reported that on HP-UX the gcc test will end up - # making a dummy file named 'D' -- because '-MD' means "put the output - # in D". - rm -rf conftest.dir - mkdir conftest.dir - # Copy depcomp to subdir because otherwise we won't find it if we're - # using a relative directory. - cp "$am_depcomp" conftest.dir - cd conftest.dir - # We will build objects and dependencies in a subdirectory because - # it helps to detect inapplicable dependency modes. For instance - # both Tru64's cc and ICC support -MD to output dependencies as a - # side effect of compilation, but ICC will put the dependencies in - # the current directory while Tru64 will put them in the object - # directory. - mkdir sub - - am_cv_CC_dependencies_compiler_type=none - if test "$am_compiler_list" = ""; then - am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` - fi - am__universal=false - case " $depcc " in #( - *\ -arch\ *\ -arch\ *) am__universal=true ;; - esac - - for depmode in $am_compiler_list; do - # Setup a source with many dependencies, because some compilers - # like to wrap large dependency lists on column 80 (with \), and - # we should not choose a depcomp mode which is confused by this. - # - # We need to recreate these files for each test, as the compiler may - # overwrite some of them when testing with obscure command lines. - # This happens at least with the AIX C compiler. - : > sub/conftest.c - for i in 1 2 3 4 5 6; do - echo '#include "conftst'$i'.h"' >> sub/conftest.c - # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with - # Solaris 10 /bin/sh. - echo '/* dummy */' > sub/conftst$i.h - done - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf - - # We check with '-c' and '-o' for the sake of the "dashmstdout" - # mode. It turns out that the SunPro C++ compiler does not properly - # handle '-M -o', and we need to detect this. Also, some Intel - # versions had trouble with output in subdirs. - am__obj=sub/conftest.${OBJEXT-o} - am__minus_obj="-o $am__obj" - case $depmode in - gcc) - # This depmode causes a compiler race in universal mode. - test "$am__universal" = false || continue - ;; - nosideeffect) - # After this tag, mechanisms are not by side-effect, so they'll - # only be used when explicitly requested. - if test "x$enable_dependency_tracking" = xyes; then - continue - else - break - fi - ;; - msvc7 | msvc7msys | msvisualcpp | msvcmsys) - # This compiler won't grok '-c -o', but also, the minuso test has - # not run yet. These depmodes are late enough in the game, and - # so weak that their functioning should not be impacted. - am__obj=conftest.${OBJEXT-o} - am__minus_obj= - ;; - none) break ;; - esac - if depmode=$depmode \ - source=sub/conftest.c object=$am__obj \ - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ - $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ - >/dev/null 2>conftest.err && - grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && - grep $am__obj sub/conftest.Po > /dev/null 2>&1 && - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then - # icc doesn't choke on unknown options, it will just issue warnings - # or remarks (even with -Werror). So we grep stderr for any message - # that says an option was ignored or not supported. - # When given -MP, icc 7.0 and 7.1 complain thusly: - # icc: Command line warning: ignoring option '-M'; no argument required - # The diagnosis changed in icc 8.0: - # icc: Command line remark: option '-MP' not supported - if (grep 'ignoring option' conftest.err || - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else - am_cv_CC_dependencies_compiler_type=$depmode - break - fi - fi - done - - cd .. - rm -rf conftest.dir -else - am_cv_CC_dependencies_compiler_type=none -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 -$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } -CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type - - if - test "x$enable_dependency_tracking" != xno \ - && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then - am__fastdepCC_TRUE= - am__fastdepCC_FALSE='#' -else - am__fastdepCC_TRUE='#' - am__fastdepCC_FALSE= -fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 -$as_echo_n "checking for $CC option to accept ISO C99... " >&6; } -if ${ac_cv_prog_cc_c99+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_cv_prog_cc_c99=no -ac_save_CC=$CC -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -#include -#include -#include -#include - -// Check varargs macros. These examples are taken from C99 6.10.3.5. -#define debug(...) fprintf (stderr, __VA_ARGS__) -#define showlist(...) puts (#__VA_ARGS__) -#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) -static void -test_varargs_macros (void) -{ - int x = 1234; - int y = 5678; - debug ("Flag"); - debug ("X = %d\n", x); - showlist (The first, second, and third items.); - report (x>y, "x is %d but y is %d", x, y); -} - -// Check long long types. -#define BIG64 18446744073709551615ull -#define BIG32 4294967295ul -#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) -#if !BIG_OK - your preprocessor is broken; -#endif -#if BIG_OK -#else - your preprocessor is broken; -#endif -static long long int bignum = -9223372036854775807LL; -static unsigned long long int ubignum = BIG64; - -struct incomplete_array -{ - int datasize; - double data[]; -}; - -struct named_init { - int number; - const wchar_t *name; - double average; -}; - -typedef const char *ccp; - -static inline int -test_restrict (ccp restrict text) -{ - // See if C++-style comments work. - // Iterate through items via the restricted pointer. - // Also check for declarations in for loops. - for (unsigned int i = 0; *(text+i) != '\0'; ++i) - continue; - return 0; -} - -// Check varargs and va_copy. -static void -test_varargs (const char *format, ...) -{ - va_list args; - va_start (args, format); - va_list args_copy; - va_copy (args_copy, args); - - const char *str; - int number; - float fnumber; - - while (*format) - { - switch (*format++) - { - case 's': // string - str = va_arg (args_copy, const char *); - break; - case 'd': // int - number = va_arg (args_copy, int); - break; - case 'f': // float - fnumber = va_arg (args_copy, double); - break; - default: - break; - } - } - va_end (args_copy); - va_end (args); -} - -int -main () -{ - - // Check bool. - _Bool success = false; - - // Check restrict. - if (test_restrict ("String literal") == 0) - success = true; - char *restrict newvar = "Another string"; - - // Check varargs. - test_varargs ("s, d' f .", "string", 65, 34.234); - test_varargs_macros (); - - // Check flexible array members. - struct incomplete_array *ia = - malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); - ia->datasize = 10; - for (int i = 0; i < ia->datasize; ++i) - ia->data[i] = i * 1.234; - - // Check named initializers. - struct named_init ni = { - .number = 34, - .name = L"Test wide string", - .average = 543.34343, - }; - - ni.number = 58; - - int dynamic_array[ni.number]; - dynamic_array[ni.number - 1] = 543; - - // work around unused variable warnings - return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' - || dynamic_array[ni.number - 1] != 543); - - ; - return 0; -} -_ACEOF -for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99 -do - CC="$ac_save_CC $ac_arg" - if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_prog_cc_c99=$ac_arg -fi -rm -f core conftest.err conftest.$ac_objext - test "x$ac_cv_prog_cc_c99" != "xno" && break -done -rm -f conftest.$ac_ext -CC=$ac_save_CC - -fi -# AC_CACHE_VAL -case "x$ac_cv_prog_cc_c99" in - x) - { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 -$as_echo "none needed" >&6; } ;; - xno) - { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 -$as_echo "unsupported" >&6; } ;; - *) - CC="$CC $ac_cv_prog_cc_c99" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 -$as_echo "$ac_cv_prog_cc_c99" >&6; } ;; -esac -if test "x$ac_cv_prog_cc_c99" != xno; then : - -fi - - - -ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -if test -z "$CXX"; then - if test -n "$CCC"; then - CXX=$CCC - else - if test -n "$ac_tool_prefix"; then - for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC - do - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. -set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_CXX+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$CXX"; then - ac_cv_prog_CXX="$CXX" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -CXX=$ac_cv_prog_CXX -if test -n "$CXX"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 -$as_echo "$CXX" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$CXX" && break - done -fi -if test -z "$CXX"; then - ac_ct_CXX=$CXX - for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_CXX+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_CXX"; then - ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_CXX="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_CXX=$ac_cv_prog_ac_ct_CXX -if test -n "$ac_ct_CXX"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 -$as_echo "$ac_ct_CXX" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$ac_ct_CXX" && break -done - - if test "x$ac_ct_CXX" = x; then - CXX="g++" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - CXX=$ac_ct_CXX - fi -fi - - fi -fi -# Provide some information about the compiler. -$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 -set X $ac_compile -ac_compiler=$2 -for ac_option in --version -v -V -qversion; do - { { ac_try="$ac_compiler $ac_option >&5" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_compiler $ac_option >&5") 2>conftest.err - ac_status=$? - if test -s conftest.err; then - sed '10a\ -... rest of stderr output deleted ... - 10q' conftest.err >conftest.er1 - cat conftest.er1 >&5 - fi - rm -f conftest.er1 conftest.err - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } -done - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 -$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } -if ${ac_cv_cxx_compiler_gnu+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ -#ifndef __GNUC__ - choke me -#endif - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - ac_compiler_gnu=yes -else - ac_compiler_gnu=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -ac_cv_cxx_compiler_gnu=$ac_compiler_gnu - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 -$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } -if test $ac_compiler_gnu = yes; then - GXX=yes -else - GXX= -fi -ac_test_CXXFLAGS=${CXXFLAGS+set} -ac_save_CXXFLAGS=$CXXFLAGS -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 -$as_echo_n "checking whether $CXX accepts -g... " >&6; } -if ${ac_cv_prog_cxx_g+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_save_cxx_werror_flag=$ac_cxx_werror_flag - ac_cxx_werror_flag=yes - ac_cv_prog_cxx_g=no - CXXFLAGS="-g" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - ac_cv_prog_cxx_g=yes -else - CXXFLAGS="" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - -else - ac_cxx_werror_flag=$ac_save_cxx_werror_flag - CXXFLAGS="-g" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - ac_cv_prog_cxx_g=yes -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_cxx_werror_flag=$ac_save_cxx_werror_flag -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 -$as_echo "$ac_cv_prog_cxx_g" >&6; } -if test "$ac_test_CXXFLAGS" = set; then - CXXFLAGS=$ac_save_CXXFLAGS -elif test $ac_cv_prog_cxx_g = yes; then - if test "$GXX" = yes; then - CXXFLAGS="-g -O2" - else - CXXFLAGS="-g" - fi -else - if test "$GXX" = yes; then - CXXFLAGS="-O2" - else - CXXFLAGS= - fi -fi -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - -depcc="$CXX" am_compiler_list= - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 -$as_echo_n "checking dependency style of $depcc... " >&6; } -if ${am_cv_CXX_dependencies_compiler_type+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then - # We make a subdir and do the tests there. Otherwise we can end up - # making bogus files that we don't know about and never remove. For - # instance it was reported that on HP-UX the gcc test will end up - # making a dummy file named 'D' -- because '-MD' means "put the output - # in D". - rm -rf conftest.dir - mkdir conftest.dir - # Copy depcomp to subdir because otherwise we won't find it if we're - # using a relative directory. - cp "$am_depcomp" conftest.dir - cd conftest.dir - # We will build objects and dependencies in a subdirectory because - # it helps to detect inapplicable dependency modes. For instance - # both Tru64's cc and ICC support -MD to output dependencies as a - # side effect of compilation, but ICC will put the dependencies in - # the current directory while Tru64 will put them in the object - # directory. - mkdir sub - - am_cv_CXX_dependencies_compiler_type=none - if test "$am_compiler_list" = ""; then - am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` - fi - am__universal=false - case " $depcc " in #( - *\ -arch\ *\ -arch\ *) am__universal=true ;; - esac - - for depmode in $am_compiler_list; do - # Setup a source with many dependencies, because some compilers - # like to wrap large dependency lists on column 80 (with \), and - # we should not choose a depcomp mode which is confused by this. - # - # We need to recreate these files for each test, as the compiler may - # overwrite some of them when testing with obscure command lines. - # This happens at least with the AIX C compiler. - : > sub/conftest.c - for i in 1 2 3 4 5 6; do - echo '#include "conftst'$i'.h"' >> sub/conftest.c - # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with - # Solaris 10 /bin/sh. - echo '/* dummy */' > sub/conftst$i.h - done - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf - - # We check with '-c' and '-o' for the sake of the "dashmstdout" - # mode. It turns out that the SunPro C++ compiler does not properly - # handle '-M -o', and we need to detect this. Also, some Intel - # versions had trouble with output in subdirs. - am__obj=sub/conftest.${OBJEXT-o} - am__minus_obj="-o $am__obj" - case $depmode in - gcc) - # This depmode causes a compiler race in universal mode. - test "$am__universal" = false || continue - ;; - nosideeffect) - # After this tag, mechanisms are not by side-effect, so they'll - # only be used when explicitly requested. - if test "x$enable_dependency_tracking" = xyes; then - continue - else - break - fi - ;; - msvc7 | msvc7msys | msvisualcpp | msvcmsys) - # This compiler won't grok '-c -o', but also, the minuso test has - # not run yet. These depmodes are late enough in the game, and - # so weak that their functioning should not be impacted. - am__obj=conftest.${OBJEXT-o} - am__minus_obj= - ;; - none) break ;; - esac - if depmode=$depmode \ - source=sub/conftest.c object=$am__obj \ - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ - $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ - >/dev/null 2>conftest.err && - grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && - grep $am__obj sub/conftest.Po > /dev/null 2>&1 && - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then - # icc doesn't choke on unknown options, it will just issue warnings - # or remarks (even with -Werror). So we grep stderr for any message - # that says an option was ignored or not supported. - # When given -MP, icc 7.0 and 7.1 complain thusly: - # icc: Command line warning: ignoring option '-M'; no argument required - # The diagnosis changed in icc 8.0: - # icc: Command line remark: option '-MP' not supported - if (grep 'ignoring option' conftest.err || - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else - am_cv_CXX_dependencies_compiler_type=$depmode - break - fi - fi - done - - cd .. - rm -rf conftest.dir -else - am_cv_CXX_dependencies_compiler_type=none -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 -$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } -CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type - - if - test "x$enable_dependency_tracking" != xno \ - && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then - am__fastdepCXX_TRUE= - am__fastdepCXX_FALSE='#' -else - am__fastdepCXX_TRUE='#' - am__fastdepCXX_FALSE= -fi - - - - -func_stripname_cnf () -{ - case $2 in - .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;; - *) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;; - esac -} # func_stripname_cnf - - if test -n "$CXX" && ( test no != "$CXX" && - ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) || - (test g++ != "$CXX"))); then - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 -$as_echo_n "checking how to run the C++ preprocessor... " >&6; } -if test -z "$CXXCPP"; then - if ${ac_cv_prog_CXXCPP+:} false; then : - $as_echo_n "(cached) " >&6 -else - # Double quotes because CXXCPP needs to be expanded - for CXXCPP in "$CXX -E" "/lib/cpp" - do - ac_preproc_ok=false -for ac_cxx_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # Prefer to if __STDC__ is defined, since - # exists even on freestanding compilers. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#ifdef __STDC__ -# include -#else -# include -#endif - Syntax error -_ACEOF -if ac_fn_cxx_try_cpp "$LINENO"; then : - -else - # Broken: fails on valid input. -continue -fi -rm -f conftest.err conftest.i conftest.$ac_ext - - # OK, works on sane cases. Now check whether nonexistent headers - # can be detected and how. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -_ACEOF -if ac_fn_cxx_try_cpp "$LINENO"; then : - # Broken: success on invalid input. -continue -else - # Passes both tests. -ac_preproc_ok=: -break -fi -rm -f conftest.err conftest.i conftest.$ac_ext - -done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.i conftest.err conftest.$ac_ext -if $ac_preproc_ok; then : - break -fi - - done - ac_cv_prog_CXXCPP=$CXXCPP - -fi - CXXCPP=$ac_cv_prog_CXXCPP -else - ac_cv_prog_CXXCPP=$CXXCPP -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 -$as_echo "$CXXCPP" >&6; } -ac_preproc_ok=false -for ac_cxx_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # Prefer to if __STDC__ is defined, since - # exists even on freestanding compilers. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#ifdef __STDC__ -# include -#else -# include -#endif - Syntax error -_ACEOF -if ac_fn_cxx_try_cpp "$LINENO"; then : - -else - # Broken: fails on valid input. -continue -fi -rm -f conftest.err conftest.i conftest.$ac_ext - - # OK, works on sane cases. Now check whether nonexistent headers - # can be detected and how. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -_ACEOF -if ac_fn_cxx_try_cpp "$LINENO"; then : - # Broken: success on invalid input. -continue -else - # Passes both tests. -ac_preproc_ok=: -break -fi -rm -f conftest.err conftest.i conftest.$ac_ext - -done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.i conftest.err conftest.$ac_ext -if $ac_preproc_ok; then : - -else - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check -See \`config.log' for more details" "$LINENO" 5; } -fi - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - -else - _lt_caught_CXX_error=yes -fi - -ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - -archive_cmds_need_lc_CXX=no -allow_undefined_flag_CXX= -always_export_symbols_CXX=no -archive_expsym_cmds_CXX= -compiler_needs_object_CXX=no -export_dynamic_flag_spec_CXX= -hardcode_direct_CXX=no -hardcode_direct_absolute_CXX=no -hardcode_libdir_flag_spec_CXX= -hardcode_libdir_separator_CXX= -hardcode_minus_L_CXX=no -hardcode_shlibpath_var_CXX=unsupported -hardcode_automatic_CXX=no -inherit_rpath_CXX=no -module_cmds_CXX= -module_expsym_cmds_CXX= -link_all_deplibs_CXX=unknown -old_archive_cmds_CXX=$old_archive_cmds -reload_flag_CXX=$reload_flag -reload_cmds_CXX=$reload_cmds -no_undefined_flag_CXX= -whole_archive_flag_spec_CXX= -enable_shared_with_static_runtimes_CXX=no - -# Source file extension for C++ test sources. -ac_ext=cpp - -# Object file extension for compiled C++ test sources. -objext=o -objext_CXX=$objext - -# No sense in running all these tests if we already determined that -# the CXX compiler isn't working. Some variables (like enable_shared) -# are currently assumed to apply to all compilers on this platform, -# and will be corrupted by setting them based on a non-working compiler. -if test yes != "$_lt_caught_CXX_error"; then - # Code to be used in simple compile tests - lt_simple_compile_test_code="int some_variable = 0;" - - # Code to be used in simple link tests - lt_simple_link_test_code='int main(int, char *[]) { return(0); }' - - # ltmain only uses $CC for tagged configurations so make sure $CC is set. - - - - - - -# If no C compiler was specified, use CC. -LTCC=${LTCC-"$CC"} - -# If no C compiler flags were specified, use CFLAGS. -LTCFLAGS=${LTCFLAGS-"$CFLAGS"} - -# Allow CC to be a program name with arguments. -compiler=$CC - - - # save warnings/boilerplate of simple test code - ac_outfile=conftest.$ac_objext -echo "$lt_simple_compile_test_code" >conftest.$ac_ext -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err -_lt_compiler_boilerplate=`cat conftest.err` -$RM conftest* - - ac_outfile=conftest.$ac_objext -echo "$lt_simple_link_test_code" >conftest.$ac_ext -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err -_lt_linker_boilerplate=`cat conftest.err` -$RM -r conftest* - - - # Allow CC to be a program name with arguments. - lt_save_CC=$CC - lt_save_CFLAGS=$CFLAGS - lt_save_LD=$LD - lt_save_GCC=$GCC - GCC=$GXX - lt_save_with_gnu_ld=$with_gnu_ld - lt_save_path_LD=$lt_cv_path_LD - if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then - lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx - else - $as_unset lt_cv_prog_gnu_ld - fi - if test -n "${lt_cv_path_LDCXX+set}"; then - lt_cv_path_LD=$lt_cv_path_LDCXX - else - $as_unset lt_cv_path_LD - fi - test -z "${LDCXX+set}" || LD=$LDCXX - CC=${CXX-"c++"} - CFLAGS=$CXXFLAGS - compiler=$CC - compiler_CXX=$CC - func_cc_basename $compiler -cc_basename=$func_cc_basename_result - - - if test -n "$compiler"; then - # We don't want -fno-exception when compiling C++ code, so set the - # no_builtin_flag separately - if test yes = "$GXX"; then - lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' - else - lt_prog_compiler_no_builtin_flag_CXX= - fi - - if test yes = "$GXX"; then - # Set up default GNU C++ configuration - - - -# Check whether --with-gnu-ld was given. -if test "${with_gnu_ld+set}" = set; then : - withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes -else - with_gnu_ld=no -fi - -ac_prog=ld -if test yes = "$GCC"; then - # Check if gcc -print-prog-name=ld gives a path. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 -$as_echo_n "checking for ld used by $CC... " >&6; } - case $host in - *-*-mingw*) - # gcc leaves a trailing carriage return, which upsets mingw - ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; - *) - ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; - esac - case $ac_prog in - # Accept absolute paths. - [\\/]* | ?:[\\/]*) - re_direlt='/[^/][^/]*/\.\./' - # Canonicalize the pathname of ld - ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` - while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do - ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` - done - test -z "$LD" && LD=$ac_prog - ;; - "") - # If it fails, then pretend we aren't using GCC. - ac_prog=ld - ;; - *) - # If it is relative, then search for the first ld in PATH. - with_gnu_ld=unknown - ;; - esac -elif test yes = "$with_gnu_ld"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 -$as_echo_n "checking for GNU ld... " >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 -$as_echo_n "checking for non-GNU ld... " >&6; } -fi -if ${lt_cv_path_LD+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -z "$LD"; then - lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR - for ac_dir in $PATH; do - IFS=$lt_save_ifs - test -z "$ac_dir" && ac_dir=. - if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then - lt_cv_path_LD=$ac_dir/$ac_prog - # Check to see if the program is GNU ld. I'd rather use --version, - # but apparently some variants of GNU ld only accept -v. - # Break only if it was the GNU/non-GNU ld that we prefer. - case `"$lt_cv_path_LD" -v 2>&1 &5 -$as_echo "$LD" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi -test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 -$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } -if ${lt_cv_prog_gnu_ld+:} false; then : - $as_echo_n "(cached) " >&6 -else - # I'd rather use --version here, but apparently some GNU lds only accept -v. -case `$LD -v 2>&1 &5 -$as_echo "$lt_cv_prog_gnu_ld" >&6; } -with_gnu_ld=$lt_cv_prog_gnu_ld - - - - - - - - # Check if GNU C++ uses GNU ld as the underlying linker, since the - # archiving commands below assume that GNU ld is being used. - if test yes = "$with_gnu_ld"; then - archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' - archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' - - hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' - export_dynamic_flag_spec_CXX='$wl--export-dynamic' - - # If archive_cmds runs LD, not CC, wlarc should be empty - # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to - # investigate it a little bit more. (MM) - wlarc='$wl' - - # ancient GNU ld didn't support --whole-archive et. al. - if eval "`$CC -print-prog-name=ld` --help 2>&1" | - $GREP 'no-whole-archive' > /dev/null; then - whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' - else - whole_archive_flag_spec_CXX= - fi - else - with_gnu_ld=no - wlarc= - - # A generic and very simple default shared library creation - # command for GNU C++ for the case where it uses the native - # linker, instead of GNU ld. If possible, this setting should - # overridden to take advantage of the native linker features on - # the platform it is being used on. - archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' - fi - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"' - - else - GXX=no - with_gnu_ld=no - wlarc= - fi - - # PORTME: fill in a description of your system's C++ link characteristics - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 -$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } - ld_shlibs_CXX=yes - case $host_os in - aix3*) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - aix[4-9]*) - if test ia64 = "$host_cpu"; then - # On IA64, the linker does run time linking by default, so we don't - # have to do anything special. - aix_use_runtimelinking=no - exp_sym_flag='-Bexport' - no_entry_flag= - else - aix_use_runtimelinking=no - - # Test if we are trying to use run time linking or normal - # AIX style linking. If -brtl is somewhere in LDFLAGS, we - # have runtime linking enabled, and use it for executables. - # For shared libraries, we enable/disable runtime linking - # depending on the kind of the shared library created - - # when "with_aix_soname,aix_use_runtimelinking" is: - # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables - # "aix,yes" lib.so shared, rtl:yes, for executables - # lib.a static archive - # "both,no" lib.so.V(shr.o) shared, rtl:yes - # lib.a(lib.so.V) shared, rtl:no, for executables - # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables - # lib.a(lib.so.V) shared, rtl:no - # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables - # lib.a static archive - case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) - for ld_flag in $LDFLAGS; do - case $ld_flag in - *-brtl*) - aix_use_runtimelinking=yes - break - ;; - esac - done - if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then - # With aix-soname=svr4, we create the lib.so.V shared archives only, - # so we don't have lib.a shared libs to link our executables. - # We have to force runtime linking in this case. - aix_use_runtimelinking=yes - LDFLAGS="$LDFLAGS -Wl,-brtl" - fi - ;; - esac - - exp_sym_flag='-bexport' - no_entry_flag='-bnoentry' - fi - - # When large executables or shared objects are built, AIX ld can - # have problems creating the table of contents. If linking a library - # or program results in "error TOC overflow" add -mminimal-toc to - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. - - archive_cmds_CXX='' - hardcode_direct_CXX=yes - hardcode_direct_absolute_CXX=yes - hardcode_libdir_separator_CXX=':' - link_all_deplibs_CXX=yes - file_list_spec_CXX='$wl-f,' - case $with_aix_soname,$aix_use_runtimelinking in - aix,*) ;; # no import file - svr4,* | *,yes) # use import file - # The Import File defines what to hardcode. - hardcode_direct_CXX=no - hardcode_direct_absolute_CXX=no - ;; - esac - - if test yes = "$GXX"; then - case $host_os in aix4.[012]|aix4.[012].*) - # We only want to do this on AIX 4.2 and lower, the check - # below for broken collect2 doesn't work under 4.3+ - collect2name=`$CC -print-prog-name=collect2` - if test -f "$collect2name" && - strings "$collect2name" | $GREP resolve_lib_name >/dev/null - then - # We have reworked collect2 - : - else - # We have old collect2 - hardcode_direct_CXX=unsupported - # It fails to find uninstalled libraries when the uninstalled - # path is not listed in the libpath. Setting hardcode_minus_L - # to unsupported forces relinking - hardcode_minus_L_CXX=yes - hardcode_libdir_flag_spec_CXX='-L$libdir' - hardcode_libdir_separator_CXX= - fi - esac - shared_flag='-shared' - if test yes = "$aix_use_runtimelinking"; then - shared_flag=$shared_flag' $wl-G' - fi - # Need to ensure runtime linking is disabled for the traditional - # shared library, or the linker may eventually find shared libraries - # /with/ Import File - we do not want to mix them. - shared_flag_aix='-shared' - shared_flag_svr4='-shared $wl-G' - else - # not using gcc - if test ia64 = "$host_cpu"; then - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release - # chokes on -Wl,-G. The following line is correct: - shared_flag='-G' - else - if test yes = "$aix_use_runtimelinking"; then - shared_flag='$wl-G' - else - shared_flag='$wl-bM:SRE' - fi - shared_flag_aix='$wl-bM:SRE' - shared_flag_svr4='$wl-G' - fi - fi - - export_dynamic_flag_spec_CXX='$wl-bexpall' - # It seems that -bexpall does not export symbols beginning with - # underscore (_), so it is better to generate a list of symbols to - # export. - always_export_symbols_CXX=yes - if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then - # Warning - without using the other runtime loading flags (-brtl), - # -berok will link without error, but may produce a broken library. - # The "-G" linker flag allows undefined symbols. - no_undefined_flag_CXX='-bernotok' - # Determine the default libpath from the value encoded in an empty - # executable. - if test set = "${lt_cv_aix_libpath+set}"; then - aix_libpath=$lt_cv_aix_libpath -else - if ${lt_cv_aix_libpath__CXX+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - - lt_aix_libpath_sed=' - /Import File Strings/,/^$/ { - /^0/ { - s/^0 *\([^ ]*\) *$/\1/ - p - } - }' - lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` - # Check for a 64-bit object if we didn't find anything. - if test -z "$lt_cv_aix_libpath__CXX"; then - lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` - fi -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - if test -z "$lt_cv_aix_libpath__CXX"; then - lt_cv_aix_libpath__CXX=/usr/lib:/lib - fi - -fi - - aix_libpath=$lt_cv_aix_libpath__CXX -fi - - hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath" - - archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag - else - if test ia64 = "$host_cpu"; then - hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib' - allow_undefined_flag_CXX="-z nodefs" - archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols" - else - # Determine the default libpath from the value encoded in an - # empty executable. - if test set = "${lt_cv_aix_libpath+set}"; then - aix_libpath=$lt_cv_aix_libpath -else - if ${lt_cv_aix_libpath__CXX+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - - lt_aix_libpath_sed=' - /Import File Strings/,/^$/ { - /^0/ { - s/^0 *\([^ ]*\) *$/\1/ - p - } - }' - lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` - # Check for a 64-bit object if we didn't find anything. - if test -z "$lt_cv_aix_libpath__CXX"; then - lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` - fi -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - if test -z "$lt_cv_aix_libpath__CXX"; then - lt_cv_aix_libpath__CXX=/usr/lib:/lib - fi - -fi - - aix_libpath=$lt_cv_aix_libpath__CXX -fi - - hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath" - # Warning - without using the other run time loading flags, - # -berok will link without error, but may produce a broken library. - no_undefined_flag_CXX=' $wl-bernotok' - allow_undefined_flag_CXX=' $wl-berok' - if test yes = "$with_gnu_ld"; then - # We only use this code for GNU lds that support --whole-archive. - whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive' - else - # Exported symbols can be pulled into shared objects from archives - whole_archive_flag_spec_CXX='$convenience' - fi - archive_cmds_need_lc_CXX=yes - archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' - # -brtl affects multiple linker settings, -berok does not and is overridden later - compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' - if test svr4 != "$with_aix_soname"; then - # This is similar to how AIX traditionally builds its shared - # libraries. Need -bnortl late, we may have -brtl in LDFLAGS. - archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname' - fi - if test aix != "$with_aix_soname"; then - archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp' - else - # used by -dlpreopen to get the symbols - archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir' - fi - archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d' - fi - fi - ;; - - beos*) - if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then - allow_undefined_flag_CXX=unsupported - # Joseph Beckenbach says some releases of gcc - # support --undefined. This deserves some investigation. FIXME - archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' - else - ld_shlibs_CXX=no - fi - ;; - - chorus*) - case $cc_basename in - *) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - esac - ;; - - cygwin* | mingw* | pw32* | cegcc*) - case $GXX,$cc_basename in - ,cl* | no,cl*) - # Native MSVC - # hardcode_libdir_flag_spec is actually meaningless, as there is - # no search path for DLLs. - hardcode_libdir_flag_spec_CXX=' ' - allow_undefined_flag_CXX=unsupported - always_export_symbols_CXX=yes - file_list_spec_CXX='@' - # Tell ltmain to make .lib files, not .a files. - libext=lib - # Tell ltmain to make .dll files, not .so files. - shrext_cmds=.dll - # FIXME: Setting linknames here is a bad hack. - archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' - archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then - cp "$export_symbols" "$output_objdir/$soname.def"; - echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; - else - $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; - fi~ - $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ - linknames=' - # The linker will not automatically build a static lib if we build a DLL. - # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true' - enable_shared_with_static_runtimes_CXX=yes - # Don't use ranlib - old_postinstall_cmds_CXX='chmod 644 $oldlib' - postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~ - lt_tool_outputfile="@TOOL_OUTPUT@"~ - case $lt_outputfile in - *.exe|*.EXE) ;; - *) - lt_outputfile=$lt_outputfile.exe - lt_tool_outputfile=$lt_tool_outputfile.exe - ;; - esac~ - func_to_tool_file "$lt_outputfile"~ - if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then - $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; - $RM "$lt_outputfile.manifest"; - fi' - ;; - *) - # g++ - # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, - # as there is no search path for DLLs. - hardcode_libdir_flag_spec_CXX='-L$libdir' - export_dynamic_flag_spec_CXX='$wl--export-all-symbols' - allow_undefined_flag_CXX=unsupported - always_export_symbols_CXX=no - enable_shared_with_static_runtimes_CXX=yes - - if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then - archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' - # If the export-symbols file already is a .def file, use it as - # is; otherwise, prepend EXPORTS... - archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then - cp $export_symbols $output_objdir/$soname.def; - else - echo EXPORTS > $output_objdir/$soname.def; - cat $export_symbols >> $output_objdir/$soname.def; - fi~ - $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' - else - ld_shlibs_CXX=no - fi - ;; - esac - ;; - darwin* | rhapsody*) - - - archive_cmds_need_lc_CXX=no - hardcode_direct_CXX=no - hardcode_automatic_CXX=yes - hardcode_shlibpath_var_CXX=unsupported - if test yes = "$lt_cv_ld_force_load"; then - whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' - - else - whole_archive_flag_spec_CXX='' - fi - link_all_deplibs_CXX=yes - allow_undefined_flag_CXX=$_lt_dar_allow_undefined - case $cc_basename in - ifort*|nagfor*) _lt_dar_can_shared=yes ;; - *) _lt_dar_can_shared=$GCC ;; - esac - if test yes = "$_lt_dar_can_shared"; then - output_verbose_link_cmd=func_echo_all - archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" - module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" - archive_expsym_cmds_CXX="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil" - module_expsym_cmds_CXX="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil" - if test yes != "$lt_cv_apple_cc_single_mod"; then - archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dsymutil" - archive_expsym_cmds_CXX="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil" - fi - - else - ld_shlibs_CXX=no - fi - - ;; - - os2*) - hardcode_libdir_flag_spec_CXX='-L$libdir' - hardcode_minus_L_CXX=yes - allow_undefined_flag_CXX=unsupported - shrext_cmds=.dll - archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ - $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ - $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ - $ECHO EXPORTS >> $output_objdir/$libname.def~ - emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ - $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ - emximp -o $lib $output_objdir/$libname.def' - archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ - $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ - $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ - $ECHO EXPORTS >> $output_objdir/$libname.def~ - prefix_cmds="$SED"~ - if test EXPORTS = "`$SED 1q $export_symbols`"; then - prefix_cmds="$prefix_cmds -e 1d"; - fi~ - prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ - cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ - $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ - emximp -o $lib $output_objdir/$libname.def' - old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' - enable_shared_with_static_runtimes_CXX=yes - ;; - - dgux*) - case $cc_basename in - ec++*) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - ghcx*) - # Green Hills C++ Compiler - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - *) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - esac - ;; - - freebsd2.*) - # C++ shared libraries reported to be fairly broken before - # switch to ELF - ld_shlibs_CXX=no - ;; - - freebsd-elf*) - archive_cmds_need_lc_CXX=no - ;; - - freebsd* | dragonfly*) - # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF - # conventions - ld_shlibs_CXX=yes - ;; - - haiku*) - archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' - link_all_deplibs_CXX=yes - ;; - - hpux9*) - hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir' - hardcode_libdir_separator_CXX=: - export_dynamic_flag_spec_CXX='$wl-E' - hardcode_direct_CXX=yes - hardcode_minus_L_CXX=yes # Not in the search PATH, - # but as the default - # location of the library. - - case $cc_basename in - CC*) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - aCC*) - archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP " \-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' - ;; - *) - if test yes = "$GXX"; then - archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' - else - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - fi - ;; - esac - ;; - - hpux10*|hpux11*) - if test no = "$with_gnu_ld"; then - hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir' - hardcode_libdir_separator_CXX=: - - case $host_cpu in - hppa*64*|ia64*) - ;; - *) - export_dynamic_flag_spec_CXX='$wl-E' - ;; - esac - fi - case $host_cpu in - hppa*64*|ia64*) - hardcode_direct_CXX=no - hardcode_shlibpath_var_CXX=no - ;; - *) - hardcode_direct_CXX=yes - hardcode_direct_absolute_CXX=yes - hardcode_minus_L_CXX=yes # Not in the search PATH, - # but as the default - # location of the library. - ;; - esac - - case $cc_basename in - CC*) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - aCC*) - case $host_cpu in - hppa*64*) - archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - ia64*) - archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - *) - archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - esac - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP " \-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' - ;; - *) - if test yes = "$GXX"; then - if test no = "$with_gnu_ld"; then - case $host_cpu in - hppa*64*) - archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - ia64*) - archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - *) - archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - esac - fi - else - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - fi - ;; - esac - ;; - - interix[3-9]*) - hardcode_direct_CXX=no - hardcode_shlibpath_var_CXX=no - hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' - export_dynamic_flag_spec_CXX='$wl-E' - # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. - # Instead, shared libraries are loaded at an image base (0x10000000 by - # default) and relocated if they conflict, which is a slow very memory - # consuming and fragmenting process. To avoid this, we pick a random, - # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link - # time. Moving up from 0x10000000 also allows more sbrk(2) space. - archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' - archive_expsym_cmds_CXX='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' - ;; - irix5* | irix6*) - case $cc_basename in - CC*) - # SGI C++ - archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' - - # Archives containing C++ object files must be created using - # "CC -ar", where "CC" is the IRIX C++ compiler. This is - # necessary to make sure instantiated templates are included - # in the archive. - old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' - ;; - *) - if test yes = "$GXX"; then - if test no = "$with_gnu_ld"; then - archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' - else - archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` -o $lib' - fi - fi - link_all_deplibs_CXX=yes - ;; - esac - hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' - hardcode_libdir_separator_CXX=: - inherit_rpath_CXX=yes - ;; - - linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) - case $cc_basename in - KCC*) - # Kuck and Associates, Inc. (KAI) C++ Compiler - - # KCC will only create a shared library if the output file - # ends with ".so" (or ".sl" for HP-UX), so rename the library - # to its proper name (with version) after linking. - archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' - archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib $wl-retain-symbols-file,$export_symbols; mv \$templib $lib' - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' - - hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' - export_dynamic_flag_spec_CXX='$wl--export-dynamic' - - # Archives containing C++ object files must be created using - # "CC -Bstatic", where "CC" is the KAI C++ compiler. - old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' - ;; - icpc* | ecpc* ) - # Intel C++ - with_gnu_ld=yes - # version 8.0 and above of icpc choke on multiply defined symbols - # if we add $predep_objects and $postdep_objects, however 7.1 and - # earlier do not add the objects themselves. - case `$CC -V 2>&1` in - *"Version 7."*) - archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' - archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' - ;; - *) # Version 8.0 or newer - tmp_idyn= - case $host_cpu in - ia64*) tmp_idyn=' -i_dynamic';; - esac - archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' - archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' - ;; - esac - archive_cmds_need_lc_CXX=no - hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' - export_dynamic_flag_spec_CXX='$wl--export-dynamic' - whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive' - ;; - pgCC* | pgcpp*) - # Portland Group C++ compiler - case `$CC -V` in - *pgCC\ [1-5].* | *pgcpp\ [1-5].*) - prelink_cmds_CXX='tpldir=Template.dir~ - rm -rf $tpldir~ - $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ - compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"' - old_archive_cmds_CXX='tpldir=Template.dir~ - rm -rf $tpldir~ - $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ - $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~ - $RANLIB $oldlib' - archive_cmds_CXX='tpldir=Template.dir~ - rm -rf $tpldir~ - $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ - $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' - archive_expsym_cmds_CXX='tpldir=Template.dir~ - rm -rf $tpldir~ - $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ - $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' - ;; - *) # Version 6 and above use weak symbols - archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' - archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' - ;; - esac - - hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir' - export_dynamic_flag_spec_CXX='$wl--export-dynamic' - whole_archive_flag_spec_CXX='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' - ;; - cxx*) - # Compaq C++ - archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' - archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib $wl-retain-symbols-file $wl$export_symbols' - - runpath_var=LD_RUN_PATH - hardcode_libdir_flag_spec_CXX='-rpath $libdir' - hardcode_libdir_separator_CXX=: - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed' - ;; - xl* | mpixl* | bgxl*) - # IBM XL 8.0 on PPC, with GNU ld - hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' - export_dynamic_flag_spec_CXX='$wl--export-dynamic' - archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' - if test yes = "$supports_anon_versioning"; then - archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~ - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ - echo "local: *; };" >> $output_objdir/$libname.ver~ - $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' - fi - ;; - *) - case `$CC -V 2>&1 | sed 5q` in - *Sun\ C*) - # Sun C++ 5.9 - no_undefined_flag_CXX=' -zdefs' - archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - archive_expsym_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file $wl$export_symbols' - hardcode_libdir_flag_spec_CXX='-R$libdir' - whole_archive_flag_spec_CXX='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' - compiler_needs_object_CXX=yes - - # Not sure whether something based on - # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 - # would be better. - output_verbose_link_cmd='func_echo_all' - - # Archives containing C++ object files must be created using - # "CC -xar", where "CC" is the Sun C++ compiler. This is - # necessary to make sure instantiated templates are included - # in the archive. - old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' - ;; - esac - ;; - esac - ;; - - lynxos*) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - - m88k*) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - - mvs*) - case $cc_basename in - cxx*) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - *) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - esac - ;; - - netbsd*) - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then - archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' - wlarc= - hardcode_libdir_flag_spec_CXX='-R$libdir' - hardcode_direct_CXX=yes - hardcode_shlibpath_var_CXX=no - fi - # Workaround some broken pre-1.5 toolchains - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' - ;; - - *nto* | *qnx*) - ld_shlibs_CXX=yes - ;; - - openbsd* | bitrig*) - if test -f /usr/libexec/ld.so; then - hardcode_direct_CXX=yes - hardcode_shlibpath_var_CXX=no - hardcode_direct_absolute_CXX=yes - archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' - hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then - archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib' - export_dynamic_flag_spec_CXX='$wl-E' - whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' - fi - output_verbose_link_cmd=func_echo_all - else - ld_shlibs_CXX=no - fi - ;; - - osf3* | osf4* | osf5*) - case $cc_basename in - KCC*) - # Kuck and Associates, Inc. (KAI) C++ Compiler - - # KCC will only create a shared library if the output file - # ends with ".so" (or ".sl" for HP-UX), so rename the library - # to its proper name (with version) after linking. - archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' - - hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' - hardcode_libdir_separator_CXX=: - - # Archives containing C++ object files must be created using - # the KAI C++ compiler. - case $host in - osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;; - *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;; - esac - ;; - RCC*) - # Rational C++ 2.4.1 - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - cxx*) - case $host in - osf3*) - allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*' - archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $soname `test -n "$verstring" && func_echo_all "$wl-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' - hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' - ;; - *) - allow_undefined_flag_CXX=' -expect_unresolved \*' - archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' - archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ - echo "-hidden">> $lib.exp~ - $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname $wl-input $wl$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~ - $RM $lib.exp' - hardcode_libdir_flag_spec_CXX='-rpath $libdir' - ;; - esac - - hardcode_libdir_separator_CXX=: - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' - ;; - *) - if test yes,no = "$GXX,$with_gnu_ld"; then - allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*' - case $host in - osf3*) - archive_cmds_CXX='$CC -shared -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' - ;; - *) - archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' - ;; - esac - - hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' - hardcode_libdir_separator_CXX=: - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"' - - else - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - fi - ;; - esac - ;; - - psos*) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - - sunos4*) - case $cc_basename in - CC*) - # Sun C++ 4.x - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - lcc*) - # Lucid - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - *) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - esac - ;; - - solaris*) - case $cc_basename in - CC* | sunCC*) - # Sun C++ 4.2, 5.x and Centerline C++ - archive_cmds_need_lc_CXX=yes - no_undefined_flag_CXX=' -zdefs' - archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ - $CC -G$allow_undefined_flag $wl-M $wl$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' - - hardcode_libdir_flag_spec_CXX='-R$libdir' - hardcode_shlibpath_var_CXX=no - case $host_os in - solaris2.[0-5] | solaris2.[0-5].*) ;; - *) - # The compiler driver will combine and reorder linker options, - # but understands '-z linker_flag'. - # Supported since Solaris 2.6 (maybe 2.5.1?) - whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract' - ;; - esac - link_all_deplibs_CXX=yes - - output_verbose_link_cmd='func_echo_all' - - # Archives containing C++ object files must be created using - # "CC -xar", where "CC" is the Sun C++ compiler. This is - # necessary to make sure instantiated templates are included - # in the archive. - old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' - ;; - gcx*) - # Green Hills C++ Compiler - archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' - - # The C++ compiler must be used to create the archive. - old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' - ;; - *) - # GNU C++ compiler with Solaris linker - if test yes,no = "$GXX,$with_gnu_ld"; then - no_undefined_flag_CXX=' $wl-z ${wl}defs' - if $CC --version | $GREP -v '^2\.7' > /dev/null; then - archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' - archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ - $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"' - else - # g++ 2.7 appears to require '-G' NOT '-shared' on this - # platform. - archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' - archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ - $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"' - fi - - hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir' - case $host_os in - solaris2.[0-5] | solaris2.[0-5].*) ;; - *) - whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' - ;; - esac - fi - ;; - esac - ;; - - sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) - no_undefined_flag_CXX='$wl-z,text' - archive_cmds_need_lc_CXX=no - hardcode_shlibpath_var_CXX=no - runpath_var='LD_RUN_PATH' - - case $cc_basename in - CC*) - archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - *) - archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - esac - ;; - - sysv5* | sco3.2v5* | sco5v6*) - # Note: We CANNOT use -z defs as we might desire, because we do not - # link with -lc, and that would cause any symbols used from libc to - # always be unresolved, which means just about no library would - # ever link correctly. If we're not using GNU ld we use -z text - # though, which does catch some bad symbols but isn't as heavy-handed - # as -z defs. - no_undefined_flag_CXX='$wl-z,text' - allow_undefined_flag_CXX='$wl-z,nodefs' - archive_cmds_need_lc_CXX=no - hardcode_shlibpath_var_CXX=no - hardcode_libdir_flag_spec_CXX='$wl-R,$libdir' - hardcode_libdir_separator_CXX=':' - link_all_deplibs_CXX=yes - export_dynamic_flag_spec_CXX='$wl-Bexport' - runpath_var='LD_RUN_PATH' - - case $cc_basename in - CC*) - archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~ - '"$old_archive_cmds_CXX" - reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~ - '"$reload_cmds_CXX" - ;; - *) - archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - esac - ;; - - tandem*) - case $cc_basename in - NCC*) - # NonStop-UX NCC 3.20 - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - *) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - esac - ;; - - vxworks*) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - - *) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - esac - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 -$as_echo "$ld_shlibs_CXX" >&6; } - test no = "$ld_shlibs_CXX" && can_build_shared=no - - GCC_CXX=$GXX - LD_CXX=$LD - - ## CAVEAT EMPTOR: - ## There is no encapsulation within the following macros, do not change - ## the running order or otherwise move them around unless you know exactly - ## what you are doing... - # Dependencies to place before and after the object being linked: -predep_objects_CXX= -postdep_objects_CXX= -predeps_CXX= -postdeps_CXX= -compiler_lib_search_path_CXX= - -cat > conftest.$ac_ext <<_LT_EOF -class Foo -{ -public: - Foo (void) { a = 0; } -private: - int a; -}; -_LT_EOF - - -_lt_libdeps_save_CFLAGS=$CFLAGS -case "$CC $CFLAGS " in #( -*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;; -*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;; -*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;; -esac - -if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then - # Parse the compiler output and extract the necessary - # objects, libraries and library flags. - - # Sentinel used to keep track of whether or not we are before - # the conftest object file. - pre_test_object_deps_done=no - - for p in `eval "$output_verbose_link_cmd"`; do - case $prev$p in - - -L* | -R* | -l*) - # Some compilers place space between "-{L,R}" and the path. - # Remove the space. - if test x-L = "$p" || - test x-R = "$p"; then - prev=$p - continue - fi - - # Expand the sysroot to ease extracting the directories later. - if test -z "$prev"; then - case $p in - -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;; - -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;; - -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;; - esac - fi - case $p in - =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;; - esac - if test no = "$pre_test_object_deps_done"; then - case $prev in - -L | -R) - # Internal compiler library paths should come after those - # provided the user. The postdeps already come after the - # user supplied libs so there is no need to process them. - if test -z "$compiler_lib_search_path_CXX"; then - compiler_lib_search_path_CXX=$prev$p - else - compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p" - fi - ;; - # The "-l" case would never come before the object being - # linked, so don't bother handling this case. - esac - else - if test -z "$postdeps_CXX"; then - postdeps_CXX=$prev$p - else - postdeps_CXX="${postdeps_CXX} $prev$p" - fi - fi - prev= - ;; - - *.lto.$objext) ;; # Ignore GCC LTO objects - *.$objext) - # This assumes that the test object file only shows up - # once in the compiler output. - if test "$p" = "conftest.$objext"; then - pre_test_object_deps_done=yes - continue - fi - - if test no = "$pre_test_object_deps_done"; then - if test -z "$predep_objects_CXX"; then - predep_objects_CXX=$p - else - predep_objects_CXX="$predep_objects_CXX $p" - fi - else - if test -z "$postdep_objects_CXX"; then - postdep_objects_CXX=$p - else - postdep_objects_CXX="$postdep_objects_CXX $p" - fi - fi - ;; - - *) ;; # Ignore the rest. - - esac - done - - # Clean up. - rm -f a.out a.exe -else - echo "libtool.m4: error: problem compiling CXX test program" -fi - -$RM -f confest.$objext -CFLAGS=$_lt_libdeps_save_CFLAGS - -# PORTME: override above test on systems where it is broken -case $host_os in -interix[3-9]*) - # Interix 3.5 installs completely hosed .la files for C++, so rather than - # hack all around it, let's just trust "g++" to DTRT. - predep_objects_CXX= - postdep_objects_CXX= - postdeps_CXX= - ;; -esac - - -case " $postdeps_CXX " in -*" -lc "*) archive_cmds_need_lc_CXX=no ;; -esac - compiler_lib_search_dirs_CXX= -if test -n "${compiler_lib_search_path_CXX}"; then - compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'` -fi - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - lt_prog_compiler_wl_CXX= -lt_prog_compiler_pic_CXX= -lt_prog_compiler_static_CXX= - - - # C++ specific cases for pic, static, wl, etc. - if test yes = "$GXX"; then - lt_prog_compiler_wl_CXX='-Wl,' - lt_prog_compiler_static_CXX='-static' - - case $host_os in - aix*) - # All AIX code is PIC. - if test ia64 = "$host_cpu"; then - # AIX 5 now supports IA64 processor - lt_prog_compiler_static_CXX='-Bstatic' - fi - lt_prog_compiler_pic_CXX='-fPIC' - ;; - - amigaos*) - case $host_cpu in - powerpc) - # see comment about AmigaOS4 .so support - lt_prog_compiler_pic_CXX='-fPIC' - ;; - m68k) - # FIXME: we need at least 68020 code to build shared libraries, but - # adding the '-m68020' flag to GCC prevents building anything better, - # like '-m68040'. - lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' - ;; - esac - ;; - - beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) - # PIC is the default for these OSes. - ;; - mingw* | cygwin* | os2* | pw32* | cegcc*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - # Although the cygwin gcc ignores -fPIC, still need this for old-style - # (--disable-auto-import) libraries - lt_prog_compiler_pic_CXX='-DDLL_EXPORT' - case $host_os in - os2*) - lt_prog_compiler_static_CXX='$wl-static' - ;; - esac - ;; - darwin* | rhapsody*) - # PIC is the default on this platform - # Common symbols not allowed in MH_DYLIB files - lt_prog_compiler_pic_CXX='-fno-common' - ;; - *djgpp*) - # DJGPP does not support shared libraries at all - lt_prog_compiler_pic_CXX= - ;; - haiku*) - # PIC is the default for Haiku. - # The "-static" flag exists, but is broken. - lt_prog_compiler_static_CXX= - ;; - interix[3-9]*) - # Interix 3.x gcc -fpic/-fPIC options generate broken code. - # Instead, we relocate shared libraries at runtime. - ;; - sysv4*MP*) - if test -d /usr/nec; then - lt_prog_compiler_pic_CXX=-Kconform_pic - fi - ;; - hpux*) - # PIC is the default for 64-bit PA HP-UX, but not for 32-bit - # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag - # sets the default TLS model and affects inlining. - case $host_cpu in - hppa*64*) - ;; - *) - lt_prog_compiler_pic_CXX='-fPIC' - ;; - esac - ;; - *qnx* | *nto*) - # QNX uses GNU C++, but need to define -shared option too, otherwise - # it will coredump. - lt_prog_compiler_pic_CXX='-fPIC -shared' - ;; - *) - lt_prog_compiler_pic_CXX='-fPIC' - ;; - esac - else - case $host_os in - aix[4-9]*) - # All AIX code is PIC. - if test ia64 = "$host_cpu"; then - # AIX 5 now supports IA64 processor - lt_prog_compiler_static_CXX='-Bstatic' - else - lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' - fi - ;; - chorus*) - case $cc_basename in - cxch68*) - # Green Hills C++ Compiler - # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" - ;; - esac - ;; - mingw* | cygwin* | os2* | pw32* | cegcc*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - lt_prog_compiler_pic_CXX='-DDLL_EXPORT' - ;; - dgux*) - case $cc_basename in - ec++*) - lt_prog_compiler_pic_CXX='-KPIC' - ;; - ghcx*) - # Green Hills C++ Compiler - lt_prog_compiler_pic_CXX='-pic' - ;; - *) - ;; - esac - ;; - freebsd* | dragonfly*) - # FreeBSD uses GNU C++ - ;; - hpux9* | hpux10* | hpux11*) - case $cc_basename in - CC*) - lt_prog_compiler_wl_CXX='-Wl,' - lt_prog_compiler_static_CXX='$wl-a ${wl}archive' - if test ia64 != "$host_cpu"; then - lt_prog_compiler_pic_CXX='+Z' - fi - ;; - aCC*) - lt_prog_compiler_wl_CXX='-Wl,' - lt_prog_compiler_static_CXX='$wl-a ${wl}archive' - case $host_cpu in - hppa*64*|ia64*) - # +Z the default - ;; - *) - lt_prog_compiler_pic_CXX='+Z' - ;; - esac - ;; - *) - ;; - esac - ;; - interix*) - # This is c89, which is MS Visual C++ (no shared libs) - # Anyone wants to do a port? - ;; - irix5* | irix6* | nonstopux*) - case $cc_basename in - CC*) - lt_prog_compiler_wl_CXX='-Wl,' - lt_prog_compiler_static_CXX='-non_shared' - # CC pic flag -KPIC is the default. - ;; - *) - ;; - esac - ;; - linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) - case $cc_basename in - KCC*) - # KAI C++ Compiler - lt_prog_compiler_wl_CXX='--backend -Wl,' - lt_prog_compiler_pic_CXX='-fPIC' - ;; - ecpc* ) - # old Intel C++ for x86_64, which still supported -KPIC. - lt_prog_compiler_wl_CXX='-Wl,' - lt_prog_compiler_pic_CXX='-KPIC' - lt_prog_compiler_static_CXX='-static' - ;; - icpc* ) - # Intel C++, used to be incompatible with GCC. - # ICC 10 doesn't accept -KPIC any more. - lt_prog_compiler_wl_CXX='-Wl,' - lt_prog_compiler_pic_CXX='-fPIC' - lt_prog_compiler_static_CXX='-static' - ;; - pgCC* | pgcpp*) - # Portland Group C++ compiler - lt_prog_compiler_wl_CXX='-Wl,' - lt_prog_compiler_pic_CXX='-fpic' - lt_prog_compiler_static_CXX='-Bstatic' - ;; - cxx*) - # Compaq C++ - # Make sure the PIC flag is empty. It appears that all Alpha - # Linux and Compaq Tru64 Unix objects are PIC. - lt_prog_compiler_pic_CXX= - lt_prog_compiler_static_CXX='-non_shared' - ;; - xlc* | xlC* | bgxl[cC]* | mpixl[cC]*) - # IBM XL 8.0, 9.0 on PPC and BlueGene - lt_prog_compiler_wl_CXX='-Wl,' - lt_prog_compiler_pic_CXX='-qpic' - lt_prog_compiler_static_CXX='-qstaticlink' - ;; - *) - case `$CC -V 2>&1 | sed 5q` in - *Sun\ C*) - # Sun C++ 5.9 - lt_prog_compiler_pic_CXX='-KPIC' - lt_prog_compiler_static_CXX='-Bstatic' - lt_prog_compiler_wl_CXX='-Qoption ld ' - ;; - esac - ;; - esac - ;; - lynxos*) - ;; - m88k*) - ;; - mvs*) - case $cc_basename in - cxx*) - lt_prog_compiler_pic_CXX='-W c,exportall' - ;; - *) - ;; - esac - ;; - netbsd* | netbsdelf*-gnu) - ;; - *qnx* | *nto*) - # QNX uses GNU C++, but need to define -shared option too, otherwise - # it will coredump. - lt_prog_compiler_pic_CXX='-fPIC -shared' - ;; - osf3* | osf4* | osf5*) - case $cc_basename in - KCC*) - lt_prog_compiler_wl_CXX='--backend -Wl,' - ;; - RCC*) - # Rational C++ 2.4.1 - lt_prog_compiler_pic_CXX='-pic' - ;; - cxx*) - # Digital/Compaq C++ - lt_prog_compiler_wl_CXX='-Wl,' - # Make sure the PIC flag is empty. It appears that all Alpha - # Linux and Compaq Tru64 Unix objects are PIC. - lt_prog_compiler_pic_CXX= - lt_prog_compiler_static_CXX='-non_shared' - ;; - *) - ;; - esac - ;; - psos*) - ;; - solaris*) - case $cc_basename in - CC* | sunCC*) - # Sun C++ 4.2, 5.x and Centerline C++ - lt_prog_compiler_pic_CXX='-KPIC' - lt_prog_compiler_static_CXX='-Bstatic' - lt_prog_compiler_wl_CXX='-Qoption ld ' - ;; - gcx*) - # Green Hills C++ Compiler - lt_prog_compiler_pic_CXX='-PIC' - ;; - *) - ;; - esac - ;; - sunos4*) - case $cc_basename in - CC*) - # Sun C++ 4.x - lt_prog_compiler_pic_CXX='-pic' - lt_prog_compiler_static_CXX='-Bstatic' - ;; - lcc*) - # Lucid - lt_prog_compiler_pic_CXX='-pic' - ;; - *) - ;; - esac - ;; - sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) - case $cc_basename in - CC*) - lt_prog_compiler_wl_CXX='-Wl,' - lt_prog_compiler_pic_CXX='-KPIC' - lt_prog_compiler_static_CXX='-Bstatic' - ;; - esac - ;; - tandem*) - case $cc_basename in - NCC*) - # NonStop-UX NCC 3.20 - lt_prog_compiler_pic_CXX='-KPIC' - ;; - *) - ;; - esac - ;; - vxworks*) - ;; - *) - lt_prog_compiler_can_build_shared_CXX=no - ;; - esac - fi - -case $host_os in - # For platforms that do not support PIC, -DPIC is meaningless: - *djgpp*) - lt_prog_compiler_pic_CXX= - ;; - *) - lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" - ;; -esac - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 -$as_echo_n "checking for $compiler option to produce PIC... " >&6; } -if ${lt_cv_prog_compiler_pic_CXX+:} false; then : - $as_echo_n "(cached) " >&6 -else - lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5 -$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; } -lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX - -# -# Check to make sure the PIC flag actually works. -# -if test -n "$lt_prog_compiler_pic_CXX"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 -$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; } -if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then : - $as_echo_n "(cached) " >&6 -else - lt_cv_prog_compiler_pic_works_CXX=no - ac_outfile=conftest.$ac_objext - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" ## exclude from sc_useless_quotes_in_assignment - # Insert the option either (1) after the last *FLAGS variable, or - # (2) before a word containing "conftest.", or (3) at the end. - # Note that $ac_compile itself does not contain backslashes and begins - # with a dollar sign (not a hyphen), so the echo should work correctly. - # The option is referenced via a variable to avoid confusing sed. - lt_compile=`echo "$ac_compile" | $SED \ - -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:$LINENO: $lt_compile\"" >&5) - (eval "$lt_compile" 2>conftest.err) - ac_status=$? - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $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. - $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 - if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then - lt_cv_prog_compiler_pic_works_CXX=yes - fi - fi - $RM conftest* - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5 -$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; } - -if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then - case $lt_prog_compiler_pic_CXX in - "" | " "*) ;; - *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; - esac -else - lt_prog_compiler_pic_CXX= - lt_prog_compiler_can_build_shared_CXX=no -fi - -fi - - - - - -# -# Check to make sure the static flag actually works. -# -wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 -$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } -if ${lt_cv_prog_compiler_static_works_CXX+:} false; then : - $as_echo_n "(cached) " >&6 -else - lt_cv_prog_compiler_static_works_CXX=no - save_LDFLAGS=$LDFLAGS - LDFLAGS="$LDFLAGS $lt_tmp_static_flag" - echo "$lt_simple_link_test_code" > conftest.$ac_ext - if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then - # The linker can only warn and ignore the option if not recognized - # So say no if there are warnings - if test -s conftest.err; then - # Append any errors to the config.log. - cat conftest.err 1>&5 - $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 - if diff conftest.exp conftest.er2 >/dev/null; then - lt_cv_prog_compiler_static_works_CXX=yes - fi - else - lt_cv_prog_compiler_static_works_CXX=yes - fi - fi - $RM -r conftest* - LDFLAGS=$save_LDFLAGS - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5 -$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; } - -if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then - : -else - lt_prog_compiler_static_CXX= -fi - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 -$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } -if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : - $as_echo_n "(cached) " >&6 -else - lt_cv_prog_compiler_c_o_CXX=no - $RM -r conftest 2>/dev/null - mkdir conftest - cd conftest - mkdir out - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - - lt_compiler_flag="-o out/conftest2.$ac_objext" - # Insert the option either (1) after the last *FLAGS variable, or - # (2) before a word containing "conftest.", or (3) at the end. - # Note that $ac_compile itself does not contain backslashes and begins - # with a dollar sign (not a hyphen), so the echo should work correctly. - lt_compile=`echo "$ac_compile" | $SED \ - -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:$LINENO: $lt_compile\"" >&5) - (eval "$lt_compile" 2>out/conftest.err) - ac_status=$? - cat out/conftest.err >&5 - echo "$as_me:$LINENO: \$? = $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 - # So say no if there are warnings - $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp - $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 - if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then - lt_cv_prog_compiler_c_o_CXX=yes - fi - fi - chmod u+w . 2>&5 - $RM conftest* - # SGI C++ compiler will create directory out/ii_files/ for - # template instantiation - test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files - $RM out/* && rmdir out - cd .. - $RM -r conftest - $RM conftest* - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 -$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 -$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } -if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : - $as_echo_n "(cached) " >&6 -else - lt_cv_prog_compiler_c_o_CXX=no - $RM -r conftest 2>/dev/null - mkdir conftest - cd conftest - mkdir out - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - - lt_compiler_flag="-o out/conftest2.$ac_objext" - # Insert the option either (1) after the last *FLAGS variable, or - # (2) before a word containing "conftest.", or (3) at the end. - # Note that $ac_compile itself does not contain backslashes and begins - # with a dollar sign (not a hyphen), so the echo should work correctly. - lt_compile=`echo "$ac_compile" | $SED \ - -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:$LINENO: $lt_compile\"" >&5) - (eval "$lt_compile" 2>out/conftest.err) - ac_status=$? - cat out/conftest.err >&5 - echo "$as_me:$LINENO: \$? = $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 - # So say no if there are warnings - $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp - $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 - if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then - lt_cv_prog_compiler_c_o_CXX=yes - fi - fi - chmod u+w . 2>&5 - $RM conftest* - # SGI C++ compiler will create directory out/ii_files/ for - # template instantiation - test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files - $RM out/* && rmdir out - cd .. - $RM -r conftest - $RM conftest* - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 -$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } - - - - -hard_links=nottested -if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then - # do not overwrite the value of need_locks provided by the user - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 -$as_echo_n "checking if we can lock with hard links... " >&6; } - hard_links=yes - $RM conftest* - ln conftest.a conftest.b 2>/dev/null && hard_links=no - touch conftest.a - ln conftest.a conftest.b 2>&5 || hard_links=no - ln conftest.a conftest.b 2>/dev/null && hard_links=no - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 -$as_echo "$hard_links" >&6; } - if test no = "$hard_links"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 -$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} - need_locks=warn - fi -else - need_locks=no -fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 -$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } - - export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' - exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' - case $host_os in - aix[4-9]*) - # If we're using GNU nm, then we don't want the "-C" option. - # -C means demangle to GNU nm, but means don't demangle to AIX nm. - # Without the "-l" option, or with the "-B" option, AIX nm treats - # weak defined symbols like other global defined symbols, whereas - # GNU nm marks them as "W". - # While the 'weak' keyword is ignored in the Export File, we need - # it in the Import File for the 'aix-soname' feature, so we have - # to replace the "-B" option with "-P" for AIX nm. - if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then - export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols' - else - export_symbols_cmds_CXX='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols' - fi - ;; - pw32*) - export_symbols_cmds_CXX=$ltdll_cmds - ;; - cygwin* | mingw* | cegcc*) - case $cc_basename in - cl*) - exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' - ;; - *) - export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' - exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' - ;; - esac - ;; - linux* | k*bsd*-gnu | gnu*) - link_all_deplibs_CXX=no - ;; - *) - export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' - ;; - esac - -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 -$as_echo "$ld_shlibs_CXX" >&6; } -test no = "$ld_shlibs_CXX" && can_build_shared=no - -with_gnu_ld_CXX=$with_gnu_ld - - - - - - -# -# Do we need to explicitly link libc? -# -case "x$archive_cmds_need_lc_CXX" in -x|xyes) - # Assume -lc should be added - archive_cmds_need_lc_CXX=yes - - if test yes,yes = "$GCC,$enable_shared"; then - case $archive_cmds_CXX in - *'~'*) - # FIXME: we may have to deal with multi-command sequences. - ;; - '$CC '*) - # Test whether the compiler implicitly links with -lc since on some - # systems, -lgcc has to come before -lc. If gcc already passes -lc - # to ld, don't add -lc before -lgcc. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 -$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } -if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then : - $as_echo_n "(cached) " >&6 -else - $RM conftest* - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } 2>conftest.err; then - soname=conftest - lib=conftest - libobjs=conftest.$ac_objext - deplibs= - wl=$lt_prog_compiler_wl_CXX - pic_flag=$lt_prog_compiler_pic_CXX - compiler_flags=-v - linker_flags=-v - verstring= - output_objdir=. - libname=conftest - lt_save_allow_undefined_flag=$allow_undefined_flag_CXX - allow_undefined_flag_CXX= - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 - (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } - then - lt_cv_archive_cmds_need_lc_CXX=no - else - lt_cv_archive_cmds_need_lc_CXX=yes - fi - allow_undefined_flag_CXX=$lt_save_allow_undefined_flag - else - cat conftest.err 1>&5 - fi - $RM conftest* - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5 -$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; } - archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX - ;; - esac - fi - ;; -esac - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 -$as_echo_n "checking dynamic linker characteristics... " >&6; } - -library_names_spec= -libname_spec='lib$name' -soname_spec= -shrext_cmds=.so -postinstall_cmds= -postuninstall_cmds= -finish_cmds= -finish_eval= -shlibpath_var= -shlibpath_overrides_runpath=unknown -version_type=none -dynamic_linker="$host_os ld.so" -sys_lib_dlsearch_path_spec="/lib /usr/lib" -need_lib_prefix=unknown -hardcode_into_libs=no - -# when you set need_version to no, make sure it does not cause -set_version -# flags to be left without arguments -need_version=unknown - - - -case $host_os in -aix3*) - version_type=linux # correct to gnu/linux during the next big refactor - library_names_spec='$libname$release$shared_ext$versuffix $libname.a' - shlibpath_var=LIBPATH - - # AIX 3 has no versioning support, so we append a major version to the name. - soname_spec='$libname$release$shared_ext$major' - ;; - -aix[4-9]*) - version_type=linux # correct to gnu/linux during the next big refactor - need_lib_prefix=no - need_version=no - hardcode_into_libs=yes - if test ia64 = "$host_cpu"; then - # AIX 5 supports IA64 - library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' - shlibpath_var=LD_LIBRARY_PATH - else - # With GCC up to 2.95.x, collect2 would create an import file - # for dependence libraries. The import file would start with - # the line '#! .'. This would cause the generated library to - # depend on '.', always an invalid library. This was fixed in - # development snapshots of GCC prior to 3.0. - case $host_os in - aix4 | aix4.[01] | aix4.[01].*) - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' - echo ' yes ' - echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then - : - else - can_build_shared=no - fi - ;; - esac - # Using Import Files as archive members, it is possible to support - # filename-based versioning of shared library archives on AIX. While - # this would work for both with and without runtime linking, it will - # prevent static linking of such archives. So we do filename-based - # shared library versioning with .so extension only, which is used - # when both runtime linking and shared linking is enabled. - # Unfortunately, runtime linking may impact performance, so we do - # not want this to be the default eventually. Also, we use the - # versioned .so libs for executables only if there is the -brtl - # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. - # To allow for filename-based versioning support, we need to create - # libNAME.so.V as an archive file, containing: - # *) an Import File, referring to the versioned filename of the - # archive as well as the shared archive member, telling the - # bitwidth (32 or 64) of that shared object, and providing the - # list of exported symbols of that shared object, eventually - # decorated with the 'weak' keyword - # *) the shared object with the F_LOADONLY flag set, to really avoid - # it being seen by the linker. - # At run time we better use the real file rather than another symlink, - # but for link time we create the symlink libNAME.so -> libNAME.so.V - - case $with_aix_soname,$aix_use_runtimelinking in - # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct - # soname into executable. Probably we can add versioning support to - # collect2, so additional links can be useful in future. - aix,yes) # traditional libtool - dynamic_linker='AIX unversionable lib.so' - # If using run time linking (on AIX 4.2 or later) use lib.so - # instead of lib.a to let people know that these are not - # typical AIX shared libraries. - library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' - ;; - aix,no) # traditional AIX only - dynamic_linker='AIX lib.a(lib.so.V)' - # We preserve .a as extension for shared libraries through AIX4.2 - # and later when we are not doing run time linking. - library_names_spec='$libname$release.a $libname.a' - soname_spec='$libname$release$shared_ext$major' - ;; - svr4,*) # full svr4 only - dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" - library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' - # We do not specify a path in Import Files, so LIBPATH fires. - shlibpath_overrides_runpath=yes - ;; - *,yes) # both, prefer svr4 - dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" - library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' - # unpreferred sharedlib libNAME.a needs extra handling - postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"' - postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"' - # We do not specify a path in Import Files, so LIBPATH fires. - shlibpath_overrides_runpath=yes - ;; - *,no) # both, prefer aix - dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" - library_names_spec='$libname$release.a $libname.a' - soname_spec='$libname$release$shared_ext$major' - # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling - postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)' - postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"' - ;; - esac - shlibpath_var=LIBPATH - fi - ;; - -amigaos*) - case $host_cpu in - powerpc) - # Since July 2007 AmigaOS4 officially supports .so libraries. - # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. - library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' - ;; - m68k) - library_names_spec='$libname.ixlibrary $libname.a' - # Create ${libname}_ixlibrary.a entries in /sys/libs. - finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' - ;; - esac - ;; - -beos*) - library_names_spec='$libname$shared_ext' - dynamic_linker="$host_os ld.so" - shlibpath_var=LIBRARY_PATH - ;; - -bsdi[45]*) - version_type=linux # correct to gnu/linux during the next big refactor - need_version=no - library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' - soname_spec='$libname$release$shared_ext$major' - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' - shlibpath_var=LD_LIBRARY_PATH - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" - # the default ld.so.conf also contains /usr/contrib/lib and - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow - # libtool to hard-code these into programs - ;; - -cygwin* | mingw* | pw32* | cegcc*) - version_type=windows - shrext_cmds=.dll - need_version=no - need_lib_prefix=no - - case $GCC,$cc_basename in - yes,*) - # gcc - library_names_spec='$libname.dll.a' - # DLL is installed to $(libdir)/../bin by postinstall_cmds - postinstall_cmds='base_file=`basename \$file`~ - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ - dldir=$destdir/`dirname \$dlpath`~ - test -d \$dldir || mkdir -p \$dldir~ - $install_prog $dir/$dlname \$dldir/$dlname~ - chmod a+x \$dldir/$dlname~ - if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then - eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; - fi' - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ - dlpath=$dir/\$dldll~ - $RM \$dlpath' - shlibpath_overrides_runpath=yes - - case $host_os in - cygwin*) - # Cygwin DLLs use 'cyg' prefix rather than 'lib' - soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' - - ;; - mingw* | cegcc*) - # MinGW DLLs use traditional 'lib' prefix - soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' - ;; - pw32*) - # pw32 DLLs use 'pw' prefix rather than 'lib' - library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' - ;; - esac - dynamic_linker='Win32 ld.exe' - ;; - - *,cl*) - # Native MSVC - libname_spec='$name' - soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' - library_names_spec='$libname.dll.lib' - - case $build_os in - mingw*) - sys_lib_search_path_spec= - lt_save_ifs=$IFS - IFS=';' - for lt_path in $LIB - do - IFS=$lt_save_ifs - # Let DOS variable expansion print the short 8.3 style file name. - lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` - sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" - done - IFS=$lt_save_ifs - # Convert to MSYS style. - sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` - ;; - cygwin*) - # Convert to unix form, then to dos form, then back to unix form - # but this time dos style (no spaces!) so that the unix form looks - # like /cygdrive/c/PROGRA~1:/cygdr... - sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` - sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` - sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` - ;; - *) - sys_lib_search_path_spec=$LIB - if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then - # It is most probably a Windows format PATH. - sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` - else - sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` - fi - # FIXME: find the short name or the path components, as spaces are - # common. (e.g. "Program Files" -> "PROGRA~1") - ;; - esac - - # DLL is installed to $(libdir)/../bin by postinstall_cmds - postinstall_cmds='base_file=`basename \$file`~ - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ - dldir=$destdir/`dirname \$dlpath`~ - test -d \$dldir || mkdir -p \$dldir~ - $install_prog $dir/$dlname \$dldir/$dlname' - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ - dlpath=$dir/\$dldll~ - $RM \$dlpath' - shlibpath_overrides_runpath=yes - dynamic_linker='Win32 link.exe' - ;; - - *) - # Assume MSVC wrapper - library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' - dynamic_linker='Win32 ld.exe' - ;; - esac - # FIXME: first we should search . and the directory the executable is in - shlibpath_var=PATH - ;; - -darwin* | rhapsody*) - dynamic_linker="$host_os dyld" - version_type=darwin - need_lib_prefix=no - need_version=no - library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' - soname_spec='$libname$release$major$shared_ext' - shlibpath_overrides_runpath=yes - shlibpath_var=DYLD_LIBRARY_PATH - shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' - - sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' - ;; - -dgux*) - version_type=linux # correct to gnu/linux during the next big refactor - need_lib_prefix=no - need_version=no - library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' - soname_spec='$libname$release$shared_ext$major' - shlibpath_var=LD_LIBRARY_PATH - ;; - -freebsd* | dragonfly*) - # DragonFly does not have aout. When/if they implement a new - # versioning mechanism, adjust this. - if test -x /usr/bin/objformat; then - objformat=`/usr/bin/objformat` - else - case $host_os in - freebsd[23].*) objformat=aout ;; - *) objformat=elf ;; - esac - fi - version_type=freebsd-$objformat - case $version_type in - freebsd-elf*) - library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' - soname_spec='$libname$release$shared_ext$major' - need_version=no - need_lib_prefix=no - ;; - freebsd-*) - library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' - need_version=yes - ;; - esac - shlibpath_var=LD_LIBRARY_PATH - case $host_os in - freebsd2.*) - shlibpath_overrides_runpath=yes - ;; - freebsd3.[01]* | freebsdelf3.[01]*) - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - ;; - freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ - freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - ;; - *) # from 4.6 on, and DragonFly - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - ;; - esac - ;; - -haiku*) - version_type=linux # correct to gnu/linux during the next big refactor - need_lib_prefix=no - need_version=no - dynamic_linker="$host_os runtime_loader" - library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' - soname_spec='$libname$release$shared_ext$major' - shlibpath_var=LIBRARY_PATH - shlibpath_overrides_runpath=no - sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' - hardcode_into_libs=yes - ;; - -hpux9* | hpux10* | hpux11*) - # Give a soname corresponding to the major version so that dld.sl refuses to - # link against other versions. - version_type=sunos - need_lib_prefix=no - need_version=no - case $host_cpu in - ia64*) - shrext_cmds='.so' - hardcode_into_libs=yes - dynamic_linker="$host_os dld.so" - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. - library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' - soname_spec='$libname$release$shared_ext$major' - if test 32 = "$HPUX_IA64_MODE"; then - sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" - sys_lib_dlsearch_path_spec=/usr/lib/hpux32 - else - sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" - sys_lib_dlsearch_path_spec=/usr/lib/hpux64 - fi - ;; - hppa*64*) - shrext_cmds='.sl' - hardcode_into_libs=yes - dynamic_linker="$host_os dld.sl" - shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. - library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' - soname_spec='$libname$release$shared_ext$major' - sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec - ;; - *) - shrext_cmds='.sl' - dynamic_linker="$host_os dld.sl" - shlibpath_var=SHLIB_PATH - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH - library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' - soname_spec='$libname$release$shared_ext$major' - ;; - esac - # HP-UX runs *really* slowly unless shared libraries are mode 555, ... - postinstall_cmds='chmod 555 $lib' - # or fails outright, so override atomically: - install_override_mode=555 - ;; - -interix[3-9]*) - version_type=linux # correct to gnu/linux during the next big refactor - need_lib_prefix=no - need_version=no - library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' - soname_spec='$libname$release$shared_ext$major' - dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - ;; - -irix5* | irix6* | nonstopux*) - case $host_os in - nonstopux*) version_type=nonstopux ;; - *) - if test yes = "$lt_cv_prog_gnu_ld"; then - version_type=linux # correct to gnu/linux during the next big refactor - else - version_type=irix - fi ;; - esac - need_lib_prefix=no - need_version=no - soname_spec='$libname$release$shared_ext$major' - library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' - case $host_os in - irix5* | nonstopux*) - libsuff= shlibsuff= - ;; - *) - case $LD in # libtool.m4 will add one of these switches to LD - *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") - libsuff= shlibsuff= libmagic=32-bit;; - *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") - libsuff=32 shlibsuff=N32 libmagic=N32;; - *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") - libsuff=64 shlibsuff=64 libmagic=64-bit;; - *) libsuff= shlibsuff= libmagic=never-match;; - esac - ;; - esac - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH - shlibpath_overrides_runpath=no - sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" - sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" - hardcode_into_libs=yes - ;; - -# No shared lib support for Linux oldld, aout, or coff. -linux*oldld* | linux*aout* | linux*coff*) - dynamic_linker=no - ;; - -linux*android*) - version_type=none # Android doesn't support versioned libraries. - need_lib_prefix=no - need_version=no - library_names_spec='$libname$release$shared_ext' - soname_spec='$libname$release$shared_ext' - finish_cmds= - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - - # This implies no fast_install, which is unacceptable. - # Some rework will be needed to allow for fast_install - # before this can be enabled. - hardcode_into_libs=yes - - dynamic_linker='Android linker' - # Don't embed -rpath directories since the linker doesn't support them. - hardcode_libdir_flag_spec_CXX='-L$libdir' - ;; - -# This must be glibc/ELF. -linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) - version_type=linux # correct to gnu/linux during the next big refactor - need_lib_prefix=no - need_version=no - library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' - soname_spec='$libname$release$shared_ext$major' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - - # Some binutils ld are patched to set DT_RUNPATH - if ${lt_cv_shlibpath_overrides_runpath+:} false; then : - $as_echo_n "(cached) " >&6 -else - lt_cv_shlibpath_overrides_runpath=no - save_LDFLAGS=$LDFLAGS - save_libdir=$libdir - eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \ - LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\"" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : - lt_cv_shlibpath_overrides_runpath=yes -fi -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - LDFLAGS=$save_LDFLAGS - libdir=$save_libdir - -fi - - shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath - - # This implies no fast_install, which is unacceptable. - # Some rework will be needed to allow for fast_install - # before this can be enabled. - hardcode_into_libs=yes - - # Ideally, we could use ldconfig to report *all* directores which are - # searched for libraries, however this is still not possible. Aside from not - # being certain /sbin/ldconfig is available, command - # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, - # even though it is searched at run-time. Try to do the best guess by - # appending ld.so.conf contents (and includes) to the search path. - if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" - fi - - # We used to test for /lib/ld.so.1 and disable shared libraries on - # powerpc, because MkLinux only supported shared libraries with the - # GNU dynamic linker. Since this was broken with cross compilers, - # most powerpc-linux boxes support dynamic linking these days and - # people can always --disable-shared, the test was removed, and we - # assume the GNU/Linux dynamic linker is in use. - dynamic_linker='GNU/Linux ld.so' - ;; - -netbsdelf*-gnu) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - dynamic_linker='NetBSD ld.elf_so' - ;; - -netbsd*) - version_type=sunos - need_lib_prefix=no - need_version=no - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then - library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' - dynamic_linker='NetBSD (a.out) ld.so' - else - library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' - soname_spec='$libname$release$shared_ext$major' - dynamic_linker='NetBSD ld.elf_so' - fi - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - ;; - -newsos6) - version_type=linux # correct to gnu/linux during the next big refactor - library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - ;; - -*nto* | *qnx*) - version_type=qnx - need_lib_prefix=no - need_version=no - library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' - soname_spec='$libname$release$shared_ext$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - dynamic_linker='ldqnx.so' - ;; - -openbsd* | bitrig*) - version_type=sunos - sys_lib_dlsearch_path_spec=/usr/lib - need_lib_prefix=no - if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then - need_version=no - else - need_version=yes - fi - library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - ;; - -os2*) - libname_spec='$name' - version_type=windows - shrext_cmds=.dll - need_version=no - need_lib_prefix=no - # OS/2 can only load a DLL with a base name of 8 characters or less. - soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; - v=$($ECHO $release$versuffix | tr -d .-); - n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); - $ECHO $n$v`$shared_ext' - library_names_spec='${libname}_dll.$libext' - dynamic_linker='OS/2 ld.exe' - shlibpath_var=BEGINLIBPATH - sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec - postinstall_cmds='base_file=`basename \$file`~ - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ - dldir=$destdir/`dirname \$dlpath`~ - test -d \$dldir || mkdir -p \$dldir~ - $install_prog $dir/$dlname \$dldir/$dlname~ - chmod a+x \$dldir/$dlname~ - if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then - eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; - fi' - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ - dlpath=$dir/\$dldll~ - $RM \$dlpath' - ;; - -osf3* | osf4* | osf5*) - version_type=osf - need_lib_prefix=no - need_version=no - soname_spec='$libname$release$shared_ext$major' - library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' - shlibpath_var=LD_LIBRARY_PATH - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec - ;; - -rdos*) - dynamic_linker=no - ;; - -solaris*) - version_type=linux # correct to gnu/linux during the next big refactor - need_lib_prefix=no - need_version=no - library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' - soname_spec='$libname$release$shared_ext$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - # ldd complains unless libraries are executable - postinstall_cmds='chmod +x $lib' - ;; - -sunos4*) - version_type=sunos - library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - if test yes = "$with_gnu_ld"; then - need_lib_prefix=no - fi - need_version=yes - ;; - -sysv4 | sysv4.3*) - version_type=linux # correct to gnu/linux during the next big refactor - library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' - soname_spec='$libname$release$shared_ext$major' - shlibpath_var=LD_LIBRARY_PATH - case $host_vendor in - sni) - shlibpath_overrides_runpath=no - need_lib_prefix=no - runpath_var=LD_RUN_PATH - ;; - siemens) - need_lib_prefix=no - ;; - motorola) - need_lib_prefix=no - need_version=no - shlibpath_overrides_runpath=no - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' - ;; - esac - ;; - -sysv4*MP*) - if test -d /usr/nec; then - version_type=linux # correct to gnu/linux during the next big refactor - library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' - soname_spec='$libname$shared_ext.$major' - shlibpath_var=LD_LIBRARY_PATH - fi - ;; - -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) - version_type=sco - need_lib_prefix=no - need_version=no - library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' - soname_spec='$libname$release$shared_ext$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - if test yes = "$with_gnu_ld"; then - sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' - else - sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' - case $host_os in - sco3.2v5*) - sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" - ;; - esac - fi - sys_lib_dlsearch_path_spec='/usr/lib' - ;; - -tpf*) - # TPF is a cross-target only. Preferred cross-host = GNU/Linux. - version_type=linux # correct to gnu/linux during the next big refactor - need_lib_prefix=no - need_version=no - library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - ;; - -uts4*) - version_type=linux # correct to gnu/linux during the next big refactor - library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' - soname_spec='$libname$release$shared_ext$major' - shlibpath_var=LD_LIBRARY_PATH - ;; - -*) - dynamic_linker=no - ;; -esac -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 -$as_echo "$dynamic_linker" >&6; } -test no = "$dynamic_linker" && can_build_shared=no - -variables_saved_for_relink="PATH $shlibpath_var $runpath_var" -if test yes = "$GCC"; then - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" -fi - -if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then - sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec -fi - -if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then - sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec -fi - -# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... -configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec - -# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code -func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" - -# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool -configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 -$as_echo_n "checking how to hardcode library paths into programs... " >&6; } -hardcode_action_CXX= -if test -n "$hardcode_libdir_flag_spec_CXX" || - test -n "$runpath_var_CXX" || - test yes = "$hardcode_automatic_CXX"; then - - # We can hardcode non-existent directories. - if test no != "$hardcode_direct_CXX" && - # If the only mechanism to avoid hardcoding is shlibpath_var, we - # have to relink, otherwise we might link with an installed library - # when we should be linking with a yet-to-be-installed one - ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" && - test no != "$hardcode_minus_L_CXX"; then - # Linking always hardcodes the temporary library directory. - hardcode_action_CXX=relink - else - # We can link without hardcoding, and we can hardcode nonexisting dirs. - hardcode_action_CXX=immediate - fi -else - # We cannot hardcode anything, or else we can only hardcode existing - # directories. - hardcode_action_CXX=unsupported -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5 -$as_echo "$hardcode_action_CXX" >&6; } - -if test relink = "$hardcode_action_CXX" || - test yes = "$inherit_rpath_CXX"; then - # Fast installation is not supported - enable_fast_install=no -elif test yes = "$shlibpath_overrides_runpath" || - test no = "$enable_shared"; then - # Fast installation is not necessary - enable_fast_install=needless -fi - - - - - - - - fi # test -n "$compiler" - - CC=$lt_save_CC - CFLAGS=$lt_save_CFLAGS - LDCXX=$LD - LD=$lt_save_LD - GCC=$lt_save_GCC - with_gnu_ld=$lt_save_with_gnu_ld - lt_cv_path_LDCXX=$lt_cv_path_LD - lt_cv_path_LD=$lt_save_path_LD - lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld - lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld -fi # test yes != "$_lt_caught_CXX_error" - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - - ax_cxx_compile_alternatives="11 0x" ax_cxx_compile_cxx11_required=true - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - ac_success=no - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features by default" >&5 -$as_echo_n "checking whether $CXX supports C++11 features by default... " >&6; } -if ${ax_cv_cxx_compile_cxx11+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - - -// If the compiler admits that it is not ready for C++11, why torture it? -// Hopefully, this will speed up the test. - -#ifndef __cplusplus - -#error "This is not a C++ compiler" - -#elif __cplusplus < 201103L - -#error "This is not a C++11 compiler" - -#else - -namespace cxx11 -{ - - namespace test_static_assert - { - - template - struct check - { - static_assert(sizeof(int) <= sizeof(T), "not big enough"); - }; - - } - - namespace test_final_override - { - - struct Base - { - virtual void f() {} - }; - - struct Derived : public Base - { - virtual void f() override {} - }; - - } - - namespace test_double_right_angle_brackets - { - - template < typename T > - struct check {}; - - typedef check single_type; - typedef check> double_type; - typedef check>> triple_type; - typedef check>>> quadruple_type; - - } - - namespace test_decltype - { - - int - f() - { - int a = 1; - decltype(a) b = 2; - return a + b; - } - - } - - namespace test_type_deduction - { - - template < typename T1, typename T2 > - struct is_same - { - static const bool value = false; - }; - - template < typename T > - struct is_same - { - static const bool value = true; - }; - - template < typename T1, typename T2 > - auto - add(T1 a1, T2 a2) -> decltype(a1 + a2) - { - return a1 + a2; - } - - int - test(const int c, volatile int v) - { - static_assert(is_same::value == true, ""); - static_assert(is_same::value == false, ""); - static_assert(is_same::value == false, ""); - auto ac = c; - auto av = v; - auto sumi = ac + av + 'x'; - auto sumf = ac + av + 1.0; - static_assert(is_same::value == true, ""); - static_assert(is_same::value == true, ""); - static_assert(is_same::value == true, ""); - static_assert(is_same::value == false, ""); - static_assert(is_same::value == true, ""); - return (sumf > 0.0) ? sumi : add(c, v); - } - - } - - namespace test_noexcept - { - - int f() { return 0; } - int g() noexcept { return 0; } - - static_assert(noexcept(f()) == false, ""); - static_assert(noexcept(g()) == true, ""); - - } - - namespace test_constexpr - { - - template < typename CharT > - unsigned long constexpr - strlen_c_r(const CharT *const s, const unsigned long acc) noexcept - { - return *s ? strlen_c_r(s + 1, acc + 1) : acc; - } - - template < typename CharT > - unsigned long constexpr - strlen_c(const CharT *const s) noexcept - { - return strlen_c_r(s, 0UL); - } - - static_assert(strlen_c("") == 0UL, ""); - static_assert(strlen_c("1") == 1UL, ""); - static_assert(strlen_c("example") == 7UL, ""); - static_assert(strlen_c("another\0example") == 7UL, ""); - - } - - namespace test_rvalue_references - { - - template < int N > - struct answer - { - static constexpr int value = N; - }; - - answer<1> f(int&) { return answer<1>(); } - answer<2> f(const int&) { return answer<2>(); } - answer<3> f(int&&) { return answer<3>(); } - - void - test() - { - int i = 0; - const int c = 0; - static_assert(decltype(f(i))::value == 1, ""); - static_assert(decltype(f(c))::value == 2, ""); - static_assert(decltype(f(0))::value == 3, ""); - } - - } - - namespace test_uniform_initialization - { - - struct test - { - static const int zero {}; - static const int one {1}; - }; - - static_assert(test::zero == 0, ""); - static_assert(test::one == 1, ""); - - } - - namespace test_lambdas - { - - void - test1() - { - auto lambda1 = [](){}; - auto lambda2 = lambda1; - lambda1(); - lambda2(); - } - - int - test2() - { - auto a = [](int i, int j){ return i + j; }(1, 2); - auto b = []() -> int { return '0'; }(); - auto c = [=](){ return a + b; }(); - auto d = [&](){ return c; }(); - auto e = [a, &b](int x) mutable { - const auto identity = [](int y){ return y; }; - for (auto i = 0; i < a; ++i) - a += b--; - return x + identity(a + b); - }(0); - return a + b + c + d + e; - } - - int - test3() - { - const auto nullary = [](){ return 0; }; - const auto unary = [](int x){ return x; }; - using nullary_t = decltype(nullary); - using unary_t = decltype(unary); - const auto higher1st = [](nullary_t f){ return f(); }; - const auto higher2nd = [unary](nullary_t f1){ - return [unary, f1](unary_t f2){ return f2(unary(f1())); }; - }; - return higher1st(nullary) + higher2nd(nullary)(unary); - } - - } - - namespace test_variadic_templates - { - - template - struct sum; - - template - struct sum - { - static constexpr auto value = N0 + sum::value; - }; - - template <> - struct sum<> - { - static constexpr auto value = 0; - }; - - static_assert(sum<>::value == 0, ""); - static_assert(sum<1>::value == 1, ""); - static_assert(sum<23>::value == 23, ""); - static_assert(sum<1, 2>::value == 3, ""); - static_assert(sum<5, 5, 11>::value == 21, ""); - static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, ""); - - } - - // https://stackoverflow.com/questions/13728184/template-aliases-and-sfinae - // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function - // because of this. - namespace test_template_alias_sfinae - { - - struct foo {}; - - template - using member = typename T::member_type; - - template - void func(...) {} - - template - void func(member*) {} - - void test(); - - void test() { func(0); } - - } - -} // namespace cxx11 - -#endif // __cplusplus >= 201103L - - - -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - ax_cv_cxx_compile_cxx11=yes -else - ax_cv_cxx_compile_cxx11=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx11" >&5 -$as_echo "$ax_cv_cxx_compile_cxx11" >&6; } - if test x$ax_cv_cxx_compile_cxx11 = xyes; then - ac_success=yes - fi - - if test x$ac_success = xno; then - for alternative in ${ax_cxx_compile_alternatives}; do - switch="-std=gnu++${alternative}" - cachevar=`$as_echo "ax_cv_cxx_compile_cxx11_$switch" | $as_tr_sh` - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5 -$as_echo_n "checking whether $CXX supports C++11 features with $switch... " >&6; } -if eval \${$cachevar+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_save_CXX="$CXX" - CXX="$CXX $switch" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - - -// If the compiler admits that it is not ready for C++11, why torture it? -// Hopefully, this will speed up the test. - -#ifndef __cplusplus - -#error "This is not a C++ compiler" - -#elif __cplusplus < 201103L - -#error "This is not a C++11 compiler" - -#else - -namespace cxx11 -{ - - namespace test_static_assert - { - - template - struct check - { - static_assert(sizeof(int) <= sizeof(T), "not big enough"); - }; - - } - - namespace test_final_override - { - - struct Base - { - virtual void f() {} - }; - - struct Derived : public Base - { - virtual void f() override {} - }; - - } - - namespace test_double_right_angle_brackets - { - - template < typename T > - struct check {}; - - typedef check single_type; - typedef check> double_type; - typedef check>> triple_type; - typedef check>>> quadruple_type; - - } - - namespace test_decltype - { - - int - f() - { - int a = 1; - decltype(a) b = 2; - return a + b; - } - - } - - namespace test_type_deduction - { - - template < typename T1, typename T2 > - struct is_same - { - static const bool value = false; - }; - - template < typename T > - struct is_same - { - static const bool value = true; - }; - - template < typename T1, typename T2 > - auto - add(T1 a1, T2 a2) -> decltype(a1 + a2) - { - return a1 + a2; - } - - int - test(const int c, volatile int v) - { - static_assert(is_same::value == true, ""); - static_assert(is_same::value == false, ""); - static_assert(is_same::value == false, ""); - auto ac = c; - auto av = v; - auto sumi = ac + av + 'x'; - auto sumf = ac + av + 1.0; - static_assert(is_same::value == true, ""); - static_assert(is_same::value == true, ""); - static_assert(is_same::value == true, ""); - static_assert(is_same::value == false, ""); - static_assert(is_same::value == true, ""); - return (sumf > 0.0) ? sumi : add(c, v); - } - - } - - namespace test_noexcept - { - - int f() { return 0; } - int g() noexcept { return 0; } - - static_assert(noexcept(f()) == false, ""); - static_assert(noexcept(g()) == true, ""); - - } - - namespace test_constexpr - { - - template < typename CharT > - unsigned long constexpr - strlen_c_r(const CharT *const s, const unsigned long acc) noexcept - { - return *s ? strlen_c_r(s + 1, acc + 1) : acc; - } - - template < typename CharT > - unsigned long constexpr - strlen_c(const CharT *const s) noexcept - { - return strlen_c_r(s, 0UL); - } - - static_assert(strlen_c("") == 0UL, ""); - static_assert(strlen_c("1") == 1UL, ""); - static_assert(strlen_c("example") == 7UL, ""); - static_assert(strlen_c("another\0example") == 7UL, ""); - - } - - namespace test_rvalue_references - { - - template < int N > - struct answer - { - static constexpr int value = N; - }; - - answer<1> f(int&) { return answer<1>(); } - answer<2> f(const int&) { return answer<2>(); } - answer<3> f(int&&) { return answer<3>(); } - - void - test() - { - int i = 0; - const int c = 0; - static_assert(decltype(f(i))::value == 1, ""); - static_assert(decltype(f(c))::value == 2, ""); - static_assert(decltype(f(0))::value == 3, ""); - } - - } - - namespace test_uniform_initialization - { - - struct test - { - static const int zero {}; - static const int one {1}; - }; - - static_assert(test::zero == 0, ""); - static_assert(test::one == 1, ""); - - } - - namespace test_lambdas - { - - void - test1() - { - auto lambda1 = [](){}; - auto lambda2 = lambda1; - lambda1(); - lambda2(); - } - - int - test2() - { - auto a = [](int i, int j){ return i + j; }(1, 2); - auto b = []() -> int { return '0'; }(); - auto c = [=](){ return a + b; }(); - auto d = [&](){ return c; }(); - auto e = [a, &b](int x) mutable { - const auto identity = [](int y){ return y; }; - for (auto i = 0; i < a; ++i) - a += b--; - return x + identity(a + b); - }(0); - return a + b + c + d + e; - } - - int - test3() - { - const auto nullary = [](){ return 0; }; - const auto unary = [](int x){ return x; }; - using nullary_t = decltype(nullary); - using unary_t = decltype(unary); - const auto higher1st = [](nullary_t f){ return f(); }; - const auto higher2nd = [unary](nullary_t f1){ - return [unary, f1](unary_t f2){ return f2(unary(f1())); }; - }; - return higher1st(nullary) + higher2nd(nullary)(unary); - } - - } - - namespace test_variadic_templates - { - - template - struct sum; - - template - struct sum - { - static constexpr auto value = N0 + sum::value; - }; - - template <> - struct sum<> - { - static constexpr auto value = 0; - }; - - static_assert(sum<>::value == 0, ""); - static_assert(sum<1>::value == 1, ""); - static_assert(sum<23>::value == 23, ""); - static_assert(sum<1, 2>::value == 3, ""); - static_assert(sum<5, 5, 11>::value == 21, ""); - static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, ""); - - } - - // https://stackoverflow.com/questions/13728184/template-aliases-and-sfinae - // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function - // because of this. - namespace test_template_alias_sfinae - { - - struct foo {}; - - template - using member = typename T::member_type; - - template - void func(...) {} - - template - void func(member*) {} - - void test(); - - void test() { func(0); } - - } - -} // namespace cxx11 - -#endif // __cplusplus >= 201103L - - - -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - eval $cachevar=yes -else - eval $cachevar=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - CXX="$ac_save_CXX" -fi -eval ac_res=\$$cachevar - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } - if eval test x\$$cachevar = xyes; then - CXX="$CXX $switch" - if test -n "$CXXCPP" ; then - CXXCPP="$CXXCPP $switch" - fi - ac_success=yes - break - fi - done - fi - - if test x$ac_success = xno; then - for alternative in ${ax_cxx_compile_alternatives}; do - for switch in -std=c++${alternative} +std=c++${alternative} "-h std=c++${alternative}"; do - cachevar=`$as_echo "ax_cv_cxx_compile_cxx11_$switch" | $as_tr_sh` - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5 -$as_echo_n "checking whether $CXX supports C++11 features with $switch... " >&6; } -if eval \${$cachevar+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_save_CXX="$CXX" - CXX="$CXX $switch" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - - -// If the compiler admits that it is not ready for C++11, why torture it? -// Hopefully, this will speed up the test. - -#ifndef __cplusplus - -#error "This is not a C++ compiler" - -#elif __cplusplus < 201103L - -#error "This is not a C++11 compiler" - -#else - -namespace cxx11 -{ - - namespace test_static_assert - { - - template - struct check - { - static_assert(sizeof(int) <= sizeof(T), "not big enough"); - }; - - } - - namespace test_final_override - { - - struct Base - { - virtual void f() {} - }; - - struct Derived : public Base - { - virtual void f() override {} - }; - - } - - namespace test_double_right_angle_brackets - { - - template < typename T > - struct check {}; - - typedef check single_type; - typedef check> double_type; - typedef check>> triple_type; - typedef check>>> quadruple_type; - - } - - namespace test_decltype - { - - int - f() - { - int a = 1; - decltype(a) b = 2; - return a + b; - } - - } - - namespace test_type_deduction - { - - template < typename T1, typename T2 > - struct is_same - { - static const bool value = false; - }; - - template < typename T > - struct is_same - { - static const bool value = true; - }; - - template < typename T1, typename T2 > - auto - add(T1 a1, T2 a2) -> decltype(a1 + a2) - { - return a1 + a2; - } - - int - test(const int c, volatile int v) - { - static_assert(is_same::value == true, ""); - static_assert(is_same::value == false, ""); - static_assert(is_same::value == false, ""); - auto ac = c; - auto av = v; - auto sumi = ac + av + 'x'; - auto sumf = ac + av + 1.0; - static_assert(is_same::value == true, ""); - static_assert(is_same::value == true, ""); - static_assert(is_same::value == true, ""); - static_assert(is_same::value == false, ""); - static_assert(is_same::value == true, ""); - return (sumf > 0.0) ? sumi : add(c, v); - } - - } - - namespace test_noexcept - { - - int f() { return 0; } - int g() noexcept { return 0; } - - static_assert(noexcept(f()) == false, ""); - static_assert(noexcept(g()) == true, ""); - - } - - namespace test_constexpr - { - - template < typename CharT > - unsigned long constexpr - strlen_c_r(const CharT *const s, const unsigned long acc) noexcept - { - return *s ? strlen_c_r(s + 1, acc + 1) : acc; - } - - template < typename CharT > - unsigned long constexpr - strlen_c(const CharT *const s) noexcept - { - return strlen_c_r(s, 0UL); - } - - static_assert(strlen_c("") == 0UL, ""); - static_assert(strlen_c("1") == 1UL, ""); - static_assert(strlen_c("example") == 7UL, ""); - static_assert(strlen_c("another\0example") == 7UL, ""); - - } - - namespace test_rvalue_references - { - - template < int N > - struct answer - { - static constexpr int value = N; - }; - - answer<1> f(int&) { return answer<1>(); } - answer<2> f(const int&) { return answer<2>(); } - answer<3> f(int&&) { return answer<3>(); } - - void - test() - { - int i = 0; - const int c = 0; - static_assert(decltype(f(i))::value == 1, ""); - static_assert(decltype(f(c))::value == 2, ""); - static_assert(decltype(f(0))::value == 3, ""); - } - - } - - namespace test_uniform_initialization - { - - struct test - { - static const int zero {}; - static const int one {1}; - }; - - static_assert(test::zero == 0, ""); - static_assert(test::one == 1, ""); - - } - - namespace test_lambdas - { - - void - test1() - { - auto lambda1 = [](){}; - auto lambda2 = lambda1; - lambda1(); - lambda2(); - } - - int - test2() - { - auto a = [](int i, int j){ return i + j; }(1, 2); - auto b = []() -> int { return '0'; }(); - auto c = [=](){ return a + b; }(); - auto d = [&](){ return c; }(); - auto e = [a, &b](int x) mutable { - const auto identity = [](int y){ return y; }; - for (auto i = 0; i < a; ++i) - a += b--; - return x + identity(a + b); - }(0); - return a + b + c + d + e; - } - - int - test3() - { - const auto nullary = [](){ return 0; }; - const auto unary = [](int x){ return x; }; - using nullary_t = decltype(nullary); - using unary_t = decltype(unary); - const auto higher1st = [](nullary_t f){ return f(); }; - const auto higher2nd = [unary](nullary_t f1){ - return [unary, f1](unary_t f2){ return f2(unary(f1())); }; - }; - return higher1st(nullary) + higher2nd(nullary)(unary); - } - - } - - namespace test_variadic_templates - { - - template - struct sum; - - template - struct sum - { - static constexpr auto value = N0 + sum::value; - }; - - template <> - struct sum<> - { - static constexpr auto value = 0; - }; - - static_assert(sum<>::value == 0, ""); - static_assert(sum<1>::value == 1, ""); - static_assert(sum<23>::value == 23, ""); - static_assert(sum<1, 2>::value == 3, ""); - static_assert(sum<5, 5, 11>::value == 21, ""); - static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, ""); - - } - - // https://stackoverflow.com/questions/13728184/template-aliases-and-sfinae - // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function - // because of this. - namespace test_template_alias_sfinae - { - - struct foo {}; - - template - using member = typename T::member_type; - - template - void func(...) {} - - template - void func(member*) {} - - void test(); - - void test() { func(0); } - - } - -} // namespace cxx11 - -#endif // __cplusplus >= 201103L - - - -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - eval $cachevar=yes -else - eval $cachevar=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - CXX="$ac_save_CXX" -fi -eval ac_res=\$$cachevar - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } - if eval test x\$$cachevar = xyes; then - CXX="$CXX $switch" - if test -n "$CXXCPP" ; then - CXXCPP="$CXXCPP $switch" - fi - ac_success=yes - break - fi - done - if test x$ac_success = xyes; then - break - fi - done - fi - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - if test x$ax_cxx_compile_cxx11_required = xtrue; then - if test x$ac_success = xno; then - as_fn_error $? "*** A compiler with support for C++11 language features is required." "$LINENO" 5 - fi - fi - if test x$ac_success = xno; then - HAVE_CXX11=0 - { $as_echo "$as_me:${as_lineno-$LINENO}: No compiler with C++11 support was found" >&5 -$as_echo "$as_me: No compiler with C++11 support was found" >&6;} - else - HAVE_CXX11=1 - -$as_echo "#define HAVE_CXX11 1" >>confdefs.h - - fi - - - -# Check whether --enable-largefile was given. -if test "${enable_largefile+set}" = set; then : - enableval=$enable_largefile; -fi - -if test "$enable_largefile" != no; then - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 -$as_echo_n "checking for special C compiler options needed for large files... " >&6; } -if ${ac_cv_sys_largefile_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_cv_sys_largefile_CC=no - if test "$GCC" != yes; then - ac_save_CC=$CC - while :; do - # IRIX 6.2 and later do not support large files by default, - # so use the C compiler's -n32 option if that helps. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - /* Check that off_t can represent 2**63 - 1 correctly. - We can't simply define LARGE_OFF_T to be 9223372036854775807, - since some C++ compilers masquerading as C compilers - incorrectly reject 9223372036854775807. */ -#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) - int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 - && LARGE_OFF_T % 2147483647 == 1) - ? 1 : -1]; -int -main () -{ - - ; - return 0; -} -_ACEOF - if ac_fn_c_try_compile "$LINENO"; then : - break -fi -rm -f core conftest.err conftest.$ac_objext - CC="$CC -n32" - if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_sys_largefile_CC=' -n32'; break -fi -rm -f core conftest.err conftest.$ac_objext - break - done - CC=$ac_save_CC - rm -f conftest.$ac_ext - fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 -$as_echo "$ac_cv_sys_largefile_CC" >&6; } - if test "$ac_cv_sys_largefile_CC" != no; then - CC=$CC$ac_cv_sys_largefile_CC - fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 -$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } -if ${ac_cv_sys_file_offset_bits+:} false; then : - $as_echo_n "(cached) " >&6 -else - while :; do - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - /* Check that off_t can represent 2**63 - 1 correctly. - We can't simply define LARGE_OFF_T to be 9223372036854775807, - since some C++ compilers masquerading as C compilers - incorrectly reject 9223372036854775807. */ -#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) - int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 - && LARGE_OFF_T % 2147483647 == 1) - ? 1 : -1]; -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_sys_file_offset_bits=no; break -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#define _FILE_OFFSET_BITS 64 -#include - /* Check that off_t can represent 2**63 - 1 correctly. - We can't simply define LARGE_OFF_T to be 9223372036854775807, - since some C++ compilers masquerading as C compilers - incorrectly reject 9223372036854775807. */ -#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) - int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 - && LARGE_OFF_T % 2147483647 == 1) - ? 1 : -1]; -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_sys_file_offset_bits=64; break -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_cv_sys_file_offset_bits=unknown - break -done -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 -$as_echo "$ac_cv_sys_file_offset_bits" >&6; } -case $ac_cv_sys_file_offset_bits in #( - no | unknown) ;; - *) -cat >>confdefs.h <<_ACEOF -#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits -_ACEOF -;; -esac -rm -rf conftest* - if test $ac_cv_sys_file_offset_bits = unknown; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 -$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } -if ${ac_cv_sys_large_files+:} false; then : - $as_echo_n "(cached) " >&6 -else - while :; do - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - /* Check that off_t can represent 2**63 - 1 correctly. - We can't simply define LARGE_OFF_T to be 9223372036854775807, - since some C++ compilers masquerading as C compilers - incorrectly reject 9223372036854775807. */ -#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) - int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 - && LARGE_OFF_T % 2147483647 == 1) - ? 1 : -1]; -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_sys_large_files=no; break -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#define _LARGE_FILES 1 -#include - /* Check that off_t can represent 2**63 - 1 correctly. - We can't simply define LARGE_OFF_T to be 9223372036854775807, - since some C++ compilers masquerading as C compilers - incorrectly reject 9223372036854775807. */ -#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) - int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 - && LARGE_OFF_T % 2147483647 == 1) - ? 1 : -1]; -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_sys_large_files=1; break -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_cv_sys_large_files=unknown - break -done -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 -$as_echo "$ac_cv_sys_large_files" >&6; } -case $ac_cv_sys_large_files in #( - no | unknown) ;; - *) -cat >>confdefs.h <<_ACEOF -#define _LARGE_FILES $ac_cv_sys_large_files -_ACEOF -;; -esac -rm -rf conftest* - fi - - -fi - - - - - - - - -if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. -set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_PKG_CONFIG+:} false; then : - $as_echo_n "(cached) " >&6 -else - case $PKG_CONFIG in - [\\/]* | ?:[\\/]*) - ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - - ;; -esac -fi -PKG_CONFIG=$ac_cv_path_PKG_CONFIG -if test -n "$PKG_CONFIG"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 -$as_echo "$PKG_CONFIG" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_path_PKG_CONFIG"; then - ac_pt_PKG_CONFIG=$PKG_CONFIG - # Extract the first word of "pkg-config", so it can be a program name with args. -set dummy pkg-config; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : - $as_echo_n "(cached) " >&6 -else - case $ac_pt_PKG_CONFIG in - [\\/]* | ?:[\\/]*) - ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - - ;; -esac -fi -ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG -if test -n "$ac_pt_PKG_CONFIG"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 -$as_echo "$ac_pt_PKG_CONFIG" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_pt_PKG_CONFIG" = x; then - PKG_CONFIG="" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - PKG_CONFIG=$ac_pt_PKG_CONFIG - fi -else - PKG_CONFIG="$ac_cv_path_PKG_CONFIG" -fi - -fi -if test -n "$PKG_CONFIG"; then - _pkg_min_version=0.28 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 -$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } - if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } - else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - PKG_CONFIG="" - fi -fi - -RAGEL=${RAGEL-"${am_missing_run}ragel"} - - -GIT=${GIT-"${am_missing_run}git"} - - -# Version - - - - -HB_VERSION_MAJOR=3 -HB_VERSION_MINOR=2 -HB_VERSION_MICRO=0 -HB_VERSION=3.2.0 - - - - - -# Libtool version - -HB_LIBTOOL_VERSION_INFO=30200:0:30200 - - - -# Check whether --with-libstdc++ was given. -if test "${with_libstdc__+set}" = set; then : - withval=$with_libstdc__; with_libstdcxx=$withval -else - with_libstdcxx=no -fi - - if test "x$with_libstdcxx" = "xyes"; then - WITH_LIBSTDCXX_TRUE= - WITH_LIBSTDCXX_FALSE='#' -else - WITH_LIBSTDCXX_TRUE='#' - WITH_LIBSTDCXX_FALSE= -fi - - -# Documentation -have_gtk_doc=false - - - - - gtk_doc_requires="gtk-doc >= 1.15" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk-doc" >&5 -$as_echo_n "checking for gtk-doc... " >&6; } - if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_doc_requires\""; } >&5 - ($PKG_CONFIG --exists --print-errors "$gtk_doc_requires") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then - have_gtk_doc=yes -else - have_gtk_doc=no -fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gtk_doc" >&5 -$as_echo "$have_gtk_doc" >&6; } - - if test "$have_gtk_doc" = "no"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: - You will not be able to create source packages with 'make dist' - because $gtk_doc_requires is not found." >&5 -$as_echo "$as_me: WARNING: - You will not be able to create source packages with 'make dist' - because $gtk_doc_requires is not found." >&2;} - fi - - # Extract the first word of "gtkdoc-check", so it can be a program name with args. -set dummy gtkdoc-check; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_GTKDOC_CHECK+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$GTKDOC_CHECK"; then - ac_cv_prog_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_GTKDOC_CHECK="gtkdoc-check.test" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -GTKDOC_CHECK=$ac_cv_prog_GTKDOC_CHECK -if test -n "$GTKDOC_CHECK"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5 -$as_echo "$GTKDOC_CHECK" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - # Extract the first word of "gtkdoc-check", so it can be a program name with args. -set dummy gtkdoc-check; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_GTKDOC_CHECK_PATH+:} false; then : - $as_echo_n "(cached) " >&6 -else - case $GTKDOC_CHECK_PATH in - [\\/]* | ?:[\\/]*) - ac_cv_path_GTKDOC_CHECK_PATH="$GTKDOC_CHECK_PATH" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_GTKDOC_CHECK_PATH="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - - ;; -esac -fi -GTKDOC_CHECK_PATH=$ac_cv_path_GTKDOC_CHECK_PATH -if test -n "$GTKDOC_CHECK_PATH"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK_PATH" >&5 -$as_echo "$GTKDOC_CHECK_PATH" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - for ac_prog in gtkdoc-rebase -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_GTKDOC_REBASE+:} false; then : - $as_echo_n "(cached) " >&6 -else - case $GTKDOC_REBASE in - [\\/]* | ?:[\\/]*) - ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - - ;; -esac -fi -GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE -if test -n "$GTKDOC_REBASE"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5 -$as_echo "$GTKDOC_REBASE" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$GTKDOC_REBASE" && break -done -test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true" - - # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args. -set dummy gtkdoc-mkpdf; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_GTKDOC_MKPDF+:} false; then : - $as_echo_n "(cached) " >&6 -else - case $GTKDOC_MKPDF in - [\\/]* | ?:[\\/]*) - ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - - ;; -esac -fi -GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF -if test -n "$GTKDOC_MKPDF"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5 -$as_echo "$GTKDOC_MKPDF" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - - -# Check whether --with-html-dir was given. -if test "${with_html_dir+set}" = set; then : - withval=$with_html_dir; -else - with_html_dir='${datadir}/gtk-doc/html' -fi - - HTML_DIR="$with_html_dir" - - - # Check whether --enable-gtk-doc was given. -if test "${enable_gtk_doc+set}" = set; then : - enableval=$enable_gtk_doc; -else - enable_gtk_doc=no -fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5 -$as_echo_n "checking whether to build gtk-doc documentation... " >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5 -$as_echo "$enable_gtk_doc" >&6; } - - if test "x$enable_gtk_doc" = "xyes" && test "$have_gtk_doc" = "no"; then - as_fn_error $? " - You must have $gtk_doc_requires installed to build documentation for - $PACKAGE_NAME. Please install gtk-doc or disable building the - documentation by adding '--disable-gtk-doc' to '$0'." "$LINENO" 5 - fi - - if test "x$PACKAGE_NAME" != "xglib"; then - -pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5 -$as_echo_n "checking for GTKDOC_DEPS... " >&6; } - -if test -n "$GTKDOC_DEPS_CFLAGS"; then - pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS" - elif test -n "$PKG_CONFIG"; then - if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0\""; } >&5 - ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then - pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null` - test "x$?" != "x0" && pkg_failed=yes -else - pkg_failed=yes -fi - else - pkg_failed=untried -fi -if test -n "$GTKDOC_DEPS_LIBS"; then - pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS" - elif test -n "$PKG_CONFIG"; then - if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0\""; } >&5 - ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then - pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null` - test "x$?" != "x0" && pkg_failed=yes -else - pkg_failed=yes -fi - else - pkg_failed=untried -fi - - - -if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - -if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then - _pkg_short_errors_supported=yes -else - _pkg_short_errors_supported=no -fi - if test $_pkg_short_errors_supported = yes; then - GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1` - else - GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1` - fi - # Put the nasty error message in config.log where it belongs - echo "$GTKDOC_DEPS_PKG_ERRORS" >&5 - - : -elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - : -else - GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS - GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } - -fi - fi - - # Check whether --enable-gtk-doc-html was given. -if test "${enable_gtk_doc_html+set}" = set; then : - enableval=$enable_gtk_doc_html; -else - enable_gtk_doc_html=yes -fi - - # Check whether --enable-gtk-doc-pdf was given. -if test "${enable_gtk_doc_pdf+set}" = set; then : - enableval=$enable_gtk_doc_pdf; -else - enable_gtk_doc_pdf=no -fi - - - if test -z "$GTKDOC_MKPDF"; then - enable_gtk_doc_pdf=no - fi - - if test -z "$AM_DEFAULT_VERBOSITY"; then - AM_DEFAULT_VERBOSITY=1 - fi - - - if test x$have_gtk_doc = xyes; then - HAVE_GTK_DOC_TRUE= - HAVE_GTK_DOC_FALSE='#' -else - HAVE_GTK_DOC_TRUE='#' - HAVE_GTK_DOC_FALSE= -fi - - if test x$enable_gtk_doc = xyes; then - ENABLE_GTK_DOC_TRUE= - ENABLE_GTK_DOC_FALSE='#' -else - ENABLE_GTK_DOC_TRUE='#' - ENABLE_GTK_DOC_FALSE= -fi - - if test x$enable_gtk_doc_html = xyes; then - GTK_DOC_BUILD_HTML_TRUE= - GTK_DOC_BUILD_HTML_FALSE='#' -else - GTK_DOC_BUILD_HTML_TRUE='#' - GTK_DOC_BUILD_HTML_FALSE= -fi - - if test x$enable_gtk_doc_pdf = xyes; then - GTK_DOC_BUILD_PDF_TRUE= - GTK_DOC_BUILD_PDF_FALSE='#' -else - GTK_DOC_BUILD_PDF_TRUE='#' - GTK_DOC_BUILD_PDF_FALSE= -fi - - if test -n "$LIBTOOL"; then - GTK_DOC_USE_LIBTOOL_TRUE= - GTK_DOC_USE_LIBTOOL_FALSE='#' -else - GTK_DOC_USE_LIBTOOL_TRUE='#' - GTK_DOC_USE_LIBTOOL_FALSE= -fi - - if test -n "$GTKDOC_REBASE"; then - GTK_DOC_USE_REBASE_TRUE= - GTK_DOC_USE_REBASE_FALSE='#' -else - GTK_DOC_USE_REBASE_TRUE='#' - GTK_DOC_USE_REBASE_FALSE= -fi - - - if test "x$enable_gtk_doc" = xyes; then - have_gtk_doc=true - fi - - -# Functions and headers -for ac_func in atexit mprotect sysconf getpagesize mmap isatty -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -for ac_header in unistd.h sys/mman.h stdbool.h -do : - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - -# Compiler flags - -# The cast to long int works around a bug in the HP C Compiler, -# see AC_CHECK_SIZEOF for more information. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of struct{char;}" >&5 -$as_echo_n "checking alignment of struct{char;}... " >&6; } -if ${ac_cv_alignof_struct_char__+:} false; then : - $as_echo_n "(cached) " >&6 -else - if ac_fn_c_compute_int "$LINENO" "(long int) offsetof (ac__type_alignof_, y)" "ac_cv_alignof_struct_char__" "$ac_includes_default -#ifndef offsetof -# define offsetof(type, member) ((char *) &((type *) 0)->member - (char *) 0) -#endif -typedef struct { char x; struct{char;} y; } ac__type_alignof_;"; then : - -else - if test "$ac_cv_type_struct_char__" = yes; then - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error 77 "cannot compute alignment of struct{char;} -See \`config.log' for more details" "$LINENO" 5; } - else - ac_cv_alignof_struct_char__=0 - fi -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_struct_char__" >&5 -$as_echo "$ac_cv_alignof_struct_char__" >&6; } - - - -cat >>confdefs.h <<_ACEOF -#define ALIGNOF_STRUCT_CHAR__ $ac_cv_alignof_struct_char__ -_ACEOF - - -if test "x$GCC" = "xyes"; then - - # Make symbols link locally - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Bsymbolic-functions" >&5 -$as_echo_n "checking whether the linker accepts -Bsymbolic-functions... " >&6; } -if ${ax_cv_check_ldflags___Bsymbolic_functions+:} false; then : - $as_echo_n "(cached) " >&6 -else - - ax_check_save_flags=$LDFLAGS - LDFLAGS="$LDFLAGS -Bsymbolic-functions" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ax_cv_check_ldflags___Bsymbolic_functions=yes -else - ax_cv_check_ldflags___Bsymbolic_functions=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - LDFLAGS=$ax_check_save_flags -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Bsymbolic_functions" >&5 -$as_echo "$ax_cv_check_ldflags___Bsymbolic_functions" >&6; } -if test "x$ax_cv_check_ldflags___Bsymbolic_functions" = xyes; then : - LDFLAGS="$LDFLAGS -Bsymbolic-functions" -else - : -fi - - - # Make it possible to not link to libstdc++ - # No threadsafe statics in C++ as we do it ourselves. - # We don't use these features, so it's safe to disable them - # even in the cases where we DO link to libstdc++. - # Put -fno-rtti before $CXXFLAGS such that users can re-enable it - # by overriding CXXFLAGS. - CXXFLAGS="-fno-rtti $CXXFLAGS -fno-exceptions -fno-threadsafe-statics" - - case "$host" in - *-*-mingw*) - ;; - *) - # Hide inline methods - CXXFLAGS="$CXXFLAGS -fvisibility-inlines-hidden" - ;; - esac - - case "$host" in - arm-*-*) - if test "x$ac_cv_alignof_struct_char__" != x1; then - # Request byte alignment - CXXFLAGS="$CXXFLAGS -mstructure-size-boundary=8" - fi - ;; - esac -fi - - if test "x$GCC" = "xyes"; then - HAVE_GCC_TRUE= - HAVE_GCC_FALSE='#' -else - HAVE_GCC_TRUE='#' - HAVE_GCC_FALSE= -fi - - -hb_os_win32=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for native Win32" >&5 -$as_echo_n "checking for native Win32... " >&6; } -case "$host" in - *-*-mingw*) - hb_os_win32=yes - ;; -esac -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hb_os_win32" >&5 -$as_echo "$hb_os_win32" >&6; } - if test "$hb_os_win32" = "yes"; then - OS_WIN32_TRUE= - OS_WIN32_FALSE='#' -else - OS_WIN32_TRUE='#' - OS_WIN32_FALSE= -fi - - -have_pthread=false - - - - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - -ax_pthread_ok=no - -# We used to check for pthread.h first, but this fails if pthread.h -# requires special compiler flags (e.g. on Tru64 or Sequent). -# It gets checked for in the link test anyway. - -# First of all, check if the user has set any of the PTHREAD_LIBS, -# etcetera environment variables, and if threads linking works using -# them: -if test "x$PTHREAD_CFLAGS$PTHREAD_LIBS" != "x"; then - ax_pthread_save_CC="$CC" - ax_pthread_save_CFLAGS="$CFLAGS" - ax_pthread_save_LIBS="$LIBS" - if test "x$PTHREAD_CC" != "x"; then : - CC="$PTHREAD_CC" -fi - CFLAGS="$CFLAGS $PTHREAD_CFLAGS" - LIBS="$PTHREAD_LIBS $LIBS" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS" >&5 -$as_echo_n "checking for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS... " >&6; } - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char pthread_join (); -int -main () -{ -return pthread_join (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ax_pthread_ok=yes -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5 -$as_echo "$ax_pthread_ok" >&6; } - if test "x$ax_pthread_ok" = "xno"; then - PTHREAD_LIBS="" - PTHREAD_CFLAGS="" - fi - CC="$ax_pthread_save_CC" - CFLAGS="$ax_pthread_save_CFLAGS" - LIBS="$ax_pthread_save_LIBS" -fi - -# We must check for the threads library under a number of different -# names; the ordering is very important because some systems -# (e.g. DEC) have both -lpthread and -lpthreads, where one of the -# libraries is broken (non-POSIX). - -# Create a list of thread flags to try. Items starting with a "-" are -# C compiler flags, and other items are library names, except for "none" -# which indicates that we try without any flags at all, and "pthread-config" -# which is a program returning the flags for the Pth emulation library. - -ax_pthread_flags="pthreads none -Kthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config" - -# The ordering *is* (sometimes) important. Some notes on the -# individual items follow: - -# pthreads: AIX (must check this before -lpthread) -# none: in case threads are in libc; should be tried before -Kthread and -# other compiler flags to prevent continual compiler warnings -# -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h) -# -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads), Tru64 -# (Note: HP C rejects this with "bad form for `-t' option") -# -pthreads: Solaris/gcc (Note: HP C also rejects) -# -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it -# doesn't hurt to check since this sometimes defines pthreads and -# -D_REENTRANT too), HP C (must be checked before -lpthread, which -# is present but should not be used directly; and before -mthreads, -# because the compiler interprets this as "-mt" + "-hreads") -# -mthreads: Mingw32/gcc, Lynx/gcc -# pthread: Linux, etcetera -# --thread-safe: KAI C++ -# pthread-config: use pthread-config program (for GNU Pth library) - -case $host_os in - - freebsd*) - - # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able) - # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread) - - ax_pthread_flags="-kthread lthread $ax_pthread_flags" - ;; - - hpux*) - - # From the cc(1) man page: "[-mt] Sets various -D flags to enable - # multi-threading and also sets -lpthread." - - ax_pthread_flags="-mt -pthread pthread $ax_pthread_flags" - ;; - - openedition*) - - # IBM z/OS requires a feature-test macro to be defined in order to - # enable POSIX threads at all, so give the user a hint if this is - # not set. (We don't define these ourselves, as they can affect - # other portions of the system API in unpredictable ways.) - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -# if !defined(_OPEN_THREADS) && !defined(_UNIX03_THREADS) - AX_PTHREAD_ZOS_MISSING -# endif - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "AX_PTHREAD_ZOS_MISSING" >/dev/null 2>&1; then : - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pthreads support." >&5 -$as_echo "$as_me: WARNING: IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pthreads support." >&2;} -fi -rm -f conftest* - - ;; - - solaris*) - - # On Solaris (at least, for some versions), libc contains stubbed - # (non-functional) versions of the pthreads routines, so link-based - # tests will erroneously succeed. (N.B.: The stubs are missing - # pthread_cleanup_push, or rather a function called by this macro, - # so we could check for that, but who knows whether they'll stub - # that too in a future libc.) So we'll check first for the - # standard Solaris way of linking pthreads (-mt -lpthread). - - ax_pthread_flags="-mt,pthread pthread $ax_pthread_flags" - ;; -esac - -# GCC generally uses -pthread, or -pthreads on some platforms (e.g. SPARC) - -if test "x$GCC" = "xyes"; then : - ax_pthread_flags="-pthread -pthreads $ax_pthread_flags" -fi - -# The presence of a feature test macro requesting re-entrant function -# definitions is, on some systems, a strong hint that pthreads support is -# correctly enabled - -case $host_os in - darwin* | hpux* | linux* | osf* | solaris*) - ax_pthread_check_macro="_REENTRANT" - ;; - - aix*) - ax_pthread_check_macro="_THREAD_SAFE" - ;; - - *) - ax_pthread_check_macro="--" - ;; -esac -if test "x$ax_pthread_check_macro" = "x--"; then : - ax_pthread_check_cond=0 -else - ax_pthread_check_cond="!defined($ax_pthread_check_macro)" -fi - -# Are we compiling with Clang? - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC is Clang" >&5 -$as_echo_n "checking whether $CC is Clang... " >&6; } -if ${ax_cv_PTHREAD_CLANG+:} false; then : - $as_echo_n "(cached) " >&6 -else - ax_cv_PTHREAD_CLANG=no - # Note that Autoconf sets GCC=yes for Clang as well as GCC - if test "x$GCC" = "xyes"; then - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -/* Note: Clang 2.7 lacks __clang_[a-z]+__ */ -# if defined(__clang__) && defined(__llvm__) - AX_PTHREAD_CC_IS_CLANG -# endif - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "AX_PTHREAD_CC_IS_CLANG" >/dev/null 2>&1; then : - ax_cv_PTHREAD_CLANG=yes -fi -rm -f conftest* - - fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_CLANG" >&5 -$as_echo "$ax_cv_PTHREAD_CLANG" >&6; } -ax_pthread_clang="$ax_cv_PTHREAD_CLANG" - -ax_pthread_clang_warning=no - -# Clang needs special handling, because older versions handle the -pthread -# option in a rather... idiosyncratic way - -if test "x$ax_pthread_clang" = "xyes"; then - - # Clang takes -pthread; it has never supported any other flag - - # (Note 1: This will need to be revisited if a system that Clang - # supports has POSIX threads in a separate library. This tends not - # to be the way of modern systems, but it's conceivable.) - - # (Note 2: On some systems, notably Darwin, -pthread is not needed - # to get POSIX threads support; the API is always present and - # active. We could reasonably leave PTHREAD_CFLAGS empty. But - # -pthread does define _REENTRANT, and while the Darwin headers - # ignore this macro, third-party headers might not.) - - PTHREAD_CFLAGS="-pthread" - PTHREAD_LIBS= - - ax_pthread_ok=yes - - # However, older versions of Clang make a point of warning the user - # that, in an invocation where only linking and no compilation is - # taking place, the -pthread option has no effect ("argument unused - # during compilation"). They expect -pthread to be passed in only - # when source code is being compiled. - # - # Problem is, this is at odds with the way Automake and most other - # C build frameworks function, which is that the same flags used in - # compilation (CFLAGS) are also used in linking. Many systems - # supported by AX_PTHREAD require exactly this for POSIX threads - # support, and in fact it is often not straightforward to specify a - # flag that is used only in the compilation phase and not in - # linking. Such a scenario is extremely rare in practice. - # - # Even though use of the -pthread flag in linking would only print - # a warning, this can be a nuisance for well-run software projects - # that build with -Werror. So if the active version of Clang has - # this misfeature, we search for an option to squash it. - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Clang needs flag to prevent \"argument unused\" warning when linking with -pthread" >&5 -$as_echo_n "checking whether Clang needs flag to prevent \"argument unused\" warning when linking with -pthread... " >&6; } -if ${ax_cv_PTHREAD_CLANG_NO_WARN_FLAG+:} false; then : - $as_echo_n "(cached) " >&6 -else - ax_cv_PTHREAD_CLANG_NO_WARN_FLAG=unknown - # Create an alternate version of $ac_link that compiles and - # links in two steps (.c -> .o, .o -> exe) instead of one - # (.c -> exe), because the warning occurs only in the second - # step - ax_pthread_save_ac_link="$ac_link" - ax_pthread_sed='s/conftest\.\$ac_ext/conftest.$ac_objext/g' - ax_pthread_link_step=`$as_echo "$ac_link" | sed "$ax_pthread_sed"` - ax_pthread_2step_ac_link="($ac_compile) && (echo ==== >&5) && ($ax_pthread_link_step)" - ax_pthread_save_CFLAGS="$CFLAGS" - for ax_pthread_try in '' -Qunused-arguments -Wno-unused-command-line-argument unknown; do - if test "x$ax_pthread_try" = "xunknown"; then : - break -fi - CFLAGS="-Werror -Wunknown-warning-option $ax_pthread_try -pthread $ax_pthread_save_CFLAGS" - ac_link="$ax_pthread_save_ac_link" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -int main(void){return 0;} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_link="$ax_pthread_2step_ac_link" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -int main(void){return 0;} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - break -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - done - ac_link="$ax_pthread_save_ac_link" - CFLAGS="$ax_pthread_save_CFLAGS" - if test "x$ax_pthread_try" = "x"; then : - ax_pthread_try=no -fi - ax_cv_PTHREAD_CLANG_NO_WARN_FLAG="$ax_pthread_try" - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" >&5 -$as_echo "$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" >&6; } - - case "$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" in - no | unknown) ;; - *) PTHREAD_CFLAGS="$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG $PTHREAD_CFLAGS" ;; - esac - -fi # $ax_pthread_clang = yes - -if test "x$ax_pthread_ok" = "xno"; then -for ax_pthread_try_flag in $ax_pthread_flags; do - - case $ax_pthread_try_flag in - none) - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5 -$as_echo_n "checking whether pthreads work without any flags... " >&6; } - ;; - - -mt,pthread) - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with -mt -lpthread" >&5 -$as_echo_n "checking whether pthreads work with -mt -lpthread... " >&6; } - PTHREAD_CFLAGS="-mt" - PTHREAD_LIBS="-lpthread" - ;; - - -*) - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $ax_pthread_try_flag" >&5 -$as_echo_n "checking whether pthreads work with $ax_pthread_try_flag... " >&6; } - PTHREAD_CFLAGS="$ax_pthread_try_flag" - ;; - - pthread-config) - # Extract the first word of "pthread-config", so it can be a program name with args. -set dummy pthread-config; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ax_pthread_config+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ax_pthread_config"; then - ac_cv_prog_ax_pthread_config="$ax_pthread_config" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ax_pthread_config="yes" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - - test -z "$ac_cv_prog_ax_pthread_config" && ac_cv_prog_ax_pthread_config="no" -fi -fi -ax_pthread_config=$ac_cv_prog_ax_pthread_config -if test -n "$ax_pthread_config"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_config" >&5 -$as_echo "$ax_pthread_config" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - if test "x$ax_pthread_config" = "xno"; then : - continue -fi - PTHREAD_CFLAGS="`pthread-config --cflags`" - PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`" - ;; - - *) - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$ax_pthread_try_flag" >&5 -$as_echo_n "checking for the pthreads library -l$ax_pthread_try_flag... " >&6; } - PTHREAD_LIBS="-l$ax_pthread_try_flag" - ;; - esac - - ax_pthread_save_CFLAGS="$CFLAGS" - ax_pthread_save_LIBS="$LIBS" - CFLAGS="$CFLAGS $PTHREAD_CFLAGS" - LIBS="$PTHREAD_LIBS $LIBS" - - # Check for various functions. We must include pthread.h, - # since some functions may be macros. (On the Sequent, we - # need a special flag -Kthread to make this header compile.) - # We check for pthread_join because it is in -lpthread on IRIX - # while pthread_create is in libc. We check for pthread_attr_init - # due to DEC craziness with -lpthreads. We check for - # pthread_cleanup_push because it is one of the few pthread - # functions on Solaris that doesn't have a non-functional libc stub. - # We try pthread_create on general principles. - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -# if $ax_pthread_check_cond -# error "$ax_pthread_check_macro must be defined" -# endif - static void routine(void *a) { a = 0; } - static void *start_routine(void *a) { return a; } -int -main () -{ -pthread_t th; pthread_attr_t attr; - pthread_create(&th, 0, start_routine, 0); - pthread_join(th, 0); - pthread_attr_init(&attr); - pthread_cleanup_push(routine, 0); - pthread_cleanup_pop(0) /* ; */ - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ax_pthread_ok=yes -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - - CFLAGS="$ax_pthread_save_CFLAGS" - LIBS="$ax_pthread_save_LIBS" - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5 -$as_echo "$ax_pthread_ok" >&6; } - if test "x$ax_pthread_ok" = "xyes"; then : - break -fi - - PTHREAD_LIBS="" - PTHREAD_CFLAGS="" -done -fi - -# Various other checks: -if test "x$ax_pthread_ok" = "xyes"; then - ax_pthread_save_CFLAGS="$CFLAGS" - ax_pthread_save_LIBS="$LIBS" - CFLAGS="$CFLAGS $PTHREAD_CFLAGS" - LIBS="$PTHREAD_LIBS $LIBS" - - # Detect AIX lossage: JOINABLE attribute is called UNDETACHED. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5 -$as_echo_n "checking for joinable pthread attribute... " >&6; } -if ${ax_cv_PTHREAD_JOINABLE_ATTR+:} false; then : - $as_echo_n "(cached) " >&6 -else - ax_cv_PTHREAD_JOINABLE_ATTR=unknown - for ax_pthread_attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ -int attr = $ax_pthread_attr; return attr /* ; */ - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ax_cv_PTHREAD_JOINABLE_ATTR=$ax_pthread_attr; break -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - done - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_JOINABLE_ATTR" >&5 -$as_echo "$ax_cv_PTHREAD_JOINABLE_ATTR" >&6; } - if test "x$ax_cv_PTHREAD_JOINABLE_ATTR" != "xunknown" && \ - test "x$ax_cv_PTHREAD_JOINABLE_ATTR" != "xPTHREAD_CREATE_JOINABLE" && \ - test "x$ax_pthread_joinable_attr_defined" != "xyes"; then : - -cat >>confdefs.h <<_ACEOF -#define PTHREAD_CREATE_JOINABLE $ax_cv_PTHREAD_JOINABLE_ATTR -_ACEOF - - ax_pthread_joinable_attr_defined=yes - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether more special flags are required for pthreads" >&5 -$as_echo_n "checking whether more special flags are required for pthreads... " >&6; } -if ${ax_cv_PTHREAD_SPECIAL_FLAGS+:} false; then : - $as_echo_n "(cached) " >&6 -else - ax_cv_PTHREAD_SPECIAL_FLAGS=no - case $host_os in - solaris*) - ax_cv_PTHREAD_SPECIAL_FLAGS="-D_POSIX_PTHREAD_SEMANTICS" - ;; - esac - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_SPECIAL_FLAGS" >&5 -$as_echo "$ax_cv_PTHREAD_SPECIAL_FLAGS" >&6; } - if test "x$ax_cv_PTHREAD_SPECIAL_FLAGS" != "xno" && \ - test "x$ax_pthread_special_flags_added" != "xyes"; then : - PTHREAD_CFLAGS="$ax_cv_PTHREAD_SPECIAL_FLAGS $PTHREAD_CFLAGS" - ax_pthread_special_flags_added=yes -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_PRIO_INHERIT" >&5 -$as_echo_n "checking for PTHREAD_PRIO_INHERIT... " >&6; } -if ${ax_cv_PTHREAD_PRIO_INHERIT+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ -int i = PTHREAD_PRIO_INHERIT; - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ax_cv_PTHREAD_PRIO_INHERIT=yes -else - ax_cv_PTHREAD_PRIO_INHERIT=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_PRIO_INHERIT" >&5 -$as_echo "$ax_cv_PTHREAD_PRIO_INHERIT" >&6; } - if test "x$ax_cv_PTHREAD_PRIO_INHERIT" = "xyes" && \ - test "x$ax_pthread_prio_inherit_defined" != "xyes"; then : - -$as_echo "#define HAVE_PTHREAD_PRIO_INHERIT 1" >>confdefs.h - - ax_pthread_prio_inherit_defined=yes - -fi - - CFLAGS="$ax_pthread_save_CFLAGS" - LIBS="$ax_pthread_save_LIBS" - - # More AIX lossage: compile with *_r variant - if test "x$GCC" != "xyes"; then - case $host_os in - aix*) - case "x/$CC" in #( - x*/c89|x*/c89_128|x*/c99|x*/c99_128|x*/cc|x*/cc128|x*/xlc|x*/xlc_v6|x*/xlc128|x*/xlc128_v6) : - #handle absolute path differently from PATH based program lookup - case "x$CC" in #( - x/*) : - if as_fn_executable_p ${CC}_r; then : - PTHREAD_CC="${CC}_r" -fi ;; #( - *) : - for ac_prog in ${CC}_r -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_PTHREAD_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$PTHREAD_CC"; then - ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_PTHREAD_CC="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -PTHREAD_CC=$ac_cv_prog_PTHREAD_CC -if test -n "$PTHREAD_CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5 -$as_echo "$PTHREAD_CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$PTHREAD_CC" && break -done -test -n "$PTHREAD_CC" || PTHREAD_CC="$CC" - ;; -esac ;; #( - *) : - ;; -esac - ;; - esac - fi -fi - -test -n "$PTHREAD_CC" || PTHREAD_CC="$CC" - - - - - -# Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND: -if test "x$ax_pthread_ok" = "xyes"; then - have_pthread=true - : -else - ax_pthread_ok=no - -fi -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -if $have_pthread; then - -$as_echo "#define HAVE_PTHREAD 1" >>confdefs.h - -fi - if $have_pthread; then - HAVE_PTHREAD_TRUE= - HAVE_PTHREAD_FALSE='#' -else - HAVE_PTHREAD_TRUE='#' - HAVE_PTHREAD_FALSE= -fi - - - - -# Check whether --with-glib was given. -if test "${with_glib+set}" = set; then : - withval=$with_glib; -else - with_glib=auto -fi - -have_glib=false -GLIB_DEPS="glib-2.0 >= 2.19.1" - -if test "x$with_glib" = "xyes" -o "x$with_glib" = "xauto"; then - -pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5 -$as_echo_n "checking for GLIB... " >&6; } - -if test -n "$GLIB_CFLAGS"; then - pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS" - elif test -n "$PKG_CONFIG"; then - if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GLIB_DEPS\""; } >&5 - ($PKG_CONFIG --exists --print-errors "$GLIB_DEPS") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then - pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "$GLIB_DEPS" 2>/dev/null` - test "x$?" != "x0" && pkg_failed=yes -else - pkg_failed=yes -fi - else - pkg_failed=untried -fi -if test -n "$GLIB_LIBS"; then - pkg_cv_GLIB_LIBS="$GLIB_LIBS" - elif test -n "$PKG_CONFIG"; then - if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GLIB_DEPS\""; } >&5 - ($PKG_CONFIG --exists --print-errors "$GLIB_DEPS") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then - pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "$GLIB_DEPS" 2>/dev/null` - test "x$?" != "x0" && pkg_failed=yes -else - pkg_failed=yes -fi - else - pkg_failed=untried -fi - - - -if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - -if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then - _pkg_short_errors_supported=yes -else - _pkg_short_errors_supported=no -fi - if test $_pkg_short_errors_supported = yes; then - GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$GLIB_DEPS" 2>&1` - else - GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$GLIB_DEPS" 2>&1` - fi - # Put the nasty error message in config.log where it belongs - echo "$GLIB_PKG_ERRORS" >&5 - - : -elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - : -else - GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS - GLIB_LIBS=$pkg_cv_GLIB_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } - have_glib=true -fi -fi -if test "x$with_glib" = "xyes" -a "x$have_glib" != "xtrue"; then - as_fn_error $? "glib support requested but glib-2.0 not found" "$LINENO" 5 -fi -if $have_glib; then - -$as_echo "#define HAVE_GLIB 1" >>confdefs.h - -fi - if $have_glib; then - HAVE_GLIB_TRUE= - HAVE_GLIB_FALSE='#' -else - HAVE_GLIB_TRUE='#' - HAVE_GLIB_FALSE= -fi - - - - -# Check whether --with-gobject was given. -if test "${with_gobject+set}" = set; then : - withval=$with_gobject; -else - with_gobject=no -fi - -have_gobject=false -if test "x$with_gobject" = "xyes" -o "x$with_gobject" = "xauto"; then - -pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GOBJECT" >&5 -$as_echo_n "checking for GOBJECT... " >&6; } - -if test -n "$GOBJECT_CFLAGS"; then - pkg_cv_GOBJECT_CFLAGS="$GOBJECT_CFLAGS" - elif test -n "$PKG_CONFIG"; then - if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 glib-2.0\""; } >&5 - ($PKG_CONFIG --exists --print-errors "gobject-2.0 glib-2.0") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then - pkg_cv_GOBJECT_CFLAGS=`$PKG_CONFIG --cflags "gobject-2.0 glib-2.0" 2>/dev/null` - test "x$?" != "x0" && pkg_failed=yes -else - pkg_failed=yes -fi - else - pkg_failed=untried -fi -if test -n "$GOBJECT_LIBS"; then - pkg_cv_GOBJECT_LIBS="$GOBJECT_LIBS" - elif test -n "$PKG_CONFIG"; then - if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 glib-2.0\""; } >&5 - ($PKG_CONFIG --exists --print-errors "gobject-2.0 glib-2.0") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then - pkg_cv_GOBJECT_LIBS=`$PKG_CONFIG --libs "gobject-2.0 glib-2.0" 2>/dev/null` - test "x$?" != "x0" && pkg_failed=yes -else - pkg_failed=yes -fi - else - pkg_failed=untried -fi - - - -if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - -if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then - _pkg_short_errors_supported=yes -else - _pkg_short_errors_supported=no -fi - if test $_pkg_short_errors_supported = yes; then - GOBJECT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gobject-2.0 glib-2.0" 2>&1` - else - GOBJECT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gobject-2.0 glib-2.0" 2>&1` - fi - # Put the nasty error message in config.log where it belongs - echo "$GOBJECT_PKG_ERRORS" >&5 - - : -elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - : -else - GOBJECT_CFLAGS=$pkg_cv_GOBJECT_CFLAGS - GOBJECT_LIBS=$pkg_cv_GOBJECT_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } - have_gobject=true -fi -fi -if test "x$with_gobject" = "xyes" -a "x$have_gobject" != "xtrue"; then - as_fn_error $? "gobject support requested but gobject-2.0 / glib-2.0 not found" "$LINENO" 5 -fi -if $have_gobject; then - -$as_echo "#define HAVE_GOBJECT 1" >>confdefs.h - - GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0` - -fi - if $have_gobject; then - HAVE_GOBJECT_TRUE= - HAVE_GOBJECT_FALSE='#' -else - HAVE_GOBJECT_TRUE='#' - HAVE_GOBJECT_FALSE= -fi - - - - - -# Gobject-Introspection -have_introspection=false - - if $have_gobject; then - - - - # Check whether --enable-introspection was given. -if test "${enable_introspection+set}" = set; then : - enableval=$enable_introspection; -else - enable_introspection=auto -fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5 -$as_echo_n "checking for gobject-introspection... " >&6; } - - case $enable_introspection in #( - no) : - found_introspection="no (disabled, use --enable-introspection to enable)" - ;; #( - yes) : - if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5 - ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then - : -else - as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5 -fi - if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 1.34.0\""; } >&5 - ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 1.34.0") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then - found_introspection=yes -else - as_fn_error $? "You need to have gobject-introspection >= 1.34.0 installed to build HarfBuzz" "$LINENO" 5 -fi - ;; #( - auto) : - if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 1.34.0\""; } >&5 - ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 1.34.0") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then - found_introspection=yes -else - found_introspection=no -fi - enable_introspection=$found_introspection - ;; #( - *) : - as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5 - ;; -esac - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5 -$as_echo "$found_introspection" >&6; } - - - EXP_VAR=_GI_EXP_DATADIR - FROM_VAR="$datadir" - - prefix_save=$prefix - exec_prefix_save=$exec_prefix - - if test "x$prefix" = "xNONE"; then - prefix="$ac_default_prefix" - fi - if test "x$exec_prefix" = "xNONE"; then - exec_prefix=$prefix - fi - - full_var="$FROM_VAR" - while true; do - new_full_var="`eval echo $full_var`" - if test "x$new_full_var" = "x$full_var"; then break; fi - full_var=$new_full_var - done - - full_var=$new_full_var - _GI_EXP_DATADIR="$full_var" - - - prefix=$prefix_save - exec_prefix=$exec_prefix_save - - - EXP_VAR=_GI_EXP_LIBDIR - FROM_VAR="$libdir" - - prefix_save=$prefix - exec_prefix_save=$exec_prefix - - if test "x$prefix" = "xNONE"; then - prefix="$ac_default_prefix" - fi - if test "x$exec_prefix" = "xNONE"; then - exec_prefix=$prefix - fi - - full_var="$FROM_VAR" - while true; do - new_full_var="`eval echo $full_var`" - if test "x$new_full_var" = "x$full_var"; then break; fi - full_var=$new_full_var - done - - full_var=$new_full_var - _GI_EXP_LIBDIR="$full_var" - - - prefix=$prefix_save - exec_prefix=$exec_prefix_save - - - INTROSPECTION_SCANNER= - INTROSPECTION_COMPILER= - INTROSPECTION_GENERATE= - INTROSPECTION_GIRDIR= - INTROSPECTION_TYPELIBDIR= - if test "x$found_introspection" = "xyes"; then - INTROSPECTION_SCANNER=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0` - INTROSPECTION_COMPILER=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0` - INTROSPECTION_GENERATE=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0` - INTROSPECTION_GIRDIR=`$PKG_CONFIG --define-variable=datadir="${_GI_EXP_DATADIR}" --variable=girdir gobject-introspection-1.0` - INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --define-variable=libdir="${_GI_EXP_LIBDIR}" --variable=typelibdir gobject-introspection-1.0)" - INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0` - INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0` - INTROSPECTION_MAKEFILE=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection - fi - - - - - - - - - - if test "x$found_introspection" = "xyes"; then - HAVE_INTROSPECTION_TRUE= - HAVE_INTROSPECTION_FALSE='#' -else - HAVE_INTROSPECTION_TRUE='#' - HAVE_INTROSPECTION_FALSE= -fi - - - - if test "x$found_introspection" = xyes; then - have_introspection=true - fi - else - if false; then - HAVE_INTROSPECTION_TRUE= - HAVE_INTROSPECTION_FALSE='#' -else - HAVE_INTROSPECTION_TRUE='#' - HAVE_INTROSPECTION_FALSE= -fi - - fi - - - - -# Check whether --with-cairo was given. -if test "${with_cairo+set}" = set; then : - withval=$with_cairo; -else - with_cairo=auto -fi - -have_cairo=false -if test "x$with_cairo" = "xyes" -o "x$with_cairo" = "xauto"; then - -pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5 -$as_echo_n "checking for CAIRO... " >&6; } - -if test -n "$CAIRO_CFLAGS"; then - pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS" - elif test -n "$PKG_CONFIG"; then - if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo >= 1.8.0\""; } >&5 - ($PKG_CONFIG --exists --print-errors "cairo >= 1.8.0") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then - pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo >= 1.8.0" 2>/dev/null` - test "x$?" != "x0" && pkg_failed=yes -else - pkg_failed=yes -fi - else - pkg_failed=untried -fi -if test -n "$CAIRO_LIBS"; then - pkg_cv_CAIRO_LIBS="$CAIRO_LIBS" - elif test -n "$PKG_CONFIG"; then - if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo >= 1.8.0\""; } >&5 - ($PKG_CONFIG --exists --print-errors "cairo >= 1.8.0") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then - pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo >= 1.8.0" 2>/dev/null` - test "x$?" != "x0" && pkg_failed=yes -else - pkg_failed=yes -fi - else - pkg_failed=untried -fi - - - -if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - -if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then - _pkg_short_errors_supported=yes -else - _pkg_short_errors_supported=no -fi - if test $_pkg_short_errors_supported = yes; then - CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "cairo >= 1.8.0" 2>&1` - else - CAIRO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "cairo >= 1.8.0" 2>&1` - fi - # Put the nasty error message in config.log where it belongs - echo "$CAIRO_PKG_ERRORS" >&5 - - : -elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - : -else - CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS - CAIRO_LIBS=$pkg_cv_CAIRO_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } - have_cairo=true -fi -fi -if test "x$with_cairo" = "xyes" -a "x$have_cairo" != "xtrue"; then - as_fn_error $? "cairo support requested but not found" "$LINENO" 5 -fi -if $have_cairo; then - -$as_echo "#define HAVE_CAIRO 1" >>confdefs.h - -fi - if $have_cairo; then - HAVE_CAIRO_TRUE= - HAVE_CAIRO_FALSE='#' -else - HAVE_CAIRO_TRUE='#' - HAVE_CAIRO_FALSE= -fi - - -have_cairo_ft=false -if $have_cairo; then - -pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO_FT" >&5 -$as_echo_n "checking for CAIRO_FT... " >&6; } - -if test -n "$CAIRO_FT_CFLAGS"; then - pkg_cv_CAIRO_FT_CFLAGS="$CAIRO_FT_CFLAGS" - elif test -n "$PKG_CONFIG"; then - if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo-ft\""; } >&5 - ($PKG_CONFIG --exists --print-errors "cairo-ft") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then - pkg_cv_CAIRO_FT_CFLAGS=`$PKG_CONFIG --cflags "cairo-ft" 2>/dev/null` - test "x$?" != "x0" && pkg_failed=yes -else - pkg_failed=yes -fi - else - pkg_failed=untried -fi -if test -n "$CAIRO_FT_LIBS"; then - pkg_cv_CAIRO_FT_LIBS="$CAIRO_FT_LIBS" - elif test -n "$PKG_CONFIG"; then - if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo-ft\""; } >&5 - ($PKG_CONFIG --exists --print-errors "cairo-ft") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then - pkg_cv_CAIRO_FT_LIBS=`$PKG_CONFIG --libs "cairo-ft" 2>/dev/null` - test "x$?" != "x0" && pkg_failed=yes -else - pkg_failed=yes -fi - else - pkg_failed=untried -fi - - - -if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - -if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then - _pkg_short_errors_supported=yes -else - _pkg_short_errors_supported=no -fi - if test $_pkg_short_errors_supported = yes; then - CAIRO_FT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "cairo-ft" 2>&1` - else - CAIRO_FT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "cairo-ft" 2>&1` - fi - # Put the nasty error message in config.log where it belongs - echo "$CAIRO_FT_PKG_ERRORS" >&5 - - : -elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - : -else - CAIRO_FT_CFLAGS=$pkg_cv_CAIRO_FT_CFLAGS - CAIRO_FT_LIBS=$pkg_cv_CAIRO_FT_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } - have_cairo_ft=true -fi -fi -if $have_cairo_ft; then - -$as_echo "#define HAVE_CAIRO_FT 1" >>confdefs.h - -fi - if $have_cairo_ft; then - HAVE_CAIRO_FT_TRUE= - HAVE_CAIRO_FT_FALSE='#' -else - HAVE_CAIRO_FT_TRUE='#' - HAVE_CAIRO_FT_FALSE= -fi - - - - -# Check whether --with-chafa was given. -if test "${with_chafa+set}" = set; then : - withval=$with_chafa; -else - with_chafa=auto -fi - -have_chafa=false -if test "x$with_chafa" = "xyes" -o "x$with_chafa" = "xauto"; then - -pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHAFA" >&5 -$as_echo_n "checking for CHAFA... " >&6; } - -if test -n "$CHAFA_CFLAGS"; then - pkg_cv_CHAFA_CFLAGS="$CHAFA_CFLAGS" - elif test -n "$PKG_CONFIG"; then - if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"chafa >= 1.6.0\""; } >&5 - ($PKG_CONFIG --exists --print-errors "chafa >= 1.6.0") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then - pkg_cv_CHAFA_CFLAGS=`$PKG_CONFIG --cflags "chafa >= 1.6.0" 2>/dev/null` - test "x$?" != "x0" && pkg_failed=yes -else - pkg_failed=yes -fi - else - pkg_failed=untried -fi -if test -n "$CHAFA_LIBS"; then - pkg_cv_CHAFA_LIBS="$CHAFA_LIBS" - elif test -n "$PKG_CONFIG"; then - if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"chafa >= 1.6.0\""; } >&5 - ($PKG_CONFIG --exists --print-errors "chafa >= 1.6.0") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then - pkg_cv_CHAFA_LIBS=`$PKG_CONFIG --libs "chafa >= 1.6.0" 2>/dev/null` - test "x$?" != "x0" && pkg_failed=yes -else - pkg_failed=yes -fi - else - pkg_failed=untried -fi - - - -if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - -if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then - _pkg_short_errors_supported=yes -else - _pkg_short_errors_supported=no -fi - if test $_pkg_short_errors_supported = yes; then - CHAFA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "chafa >= 1.6.0" 2>&1` - else - CHAFA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "chafa >= 1.6.0" 2>&1` - fi - # Put the nasty error message in config.log where it belongs - echo "$CHAFA_PKG_ERRORS" >&5 - - : -elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - : -else - CHAFA_CFLAGS=$pkg_cv_CHAFA_CFLAGS - CHAFA_LIBS=$pkg_cv_CHAFA_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } - have_chafa=true -fi -fi -if test "x$with_chafa" = "xyes" -a "x$have_chafa" != "xtrue"; then - as_fn_error $? "chafa support requested but not found" "$LINENO" 5 -fi -if $have_chafa; then - -$as_echo "#define HAVE_CHAFA 1" >>confdefs.h - -fi - if $have_chafa; then - HAVE_CHAFA_TRUE= - HAVE_CHAFA_FALSE='#' -else - HAVE_CHAFA_TRUE='#' - HAVE_CHAFA_FALSE= -fi - - - - -# Check whether --with-icu was given. -if test "${with_icu+set}" = set; then : - withval=$with_icu; -else - with_icu=auto -fi - -have_icu=false -if test "x$with_icu" = "xyes" -o "x$with_icu" = "xbuiltin" -o "x$with_icu" = "xauto"; then - -pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ICU" >&5 -$as_echo_n "checking for ICU... " >&6; } - -if test -n "$ICU_CFLAGS"; then - pkg_cv_ICU_CFLAGS="$ICU_CFLAGS" - elif test -n "$PKG_CONFIG"; then - if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"icu-uc\""; } >&5 - ($PKG_CONFIG --exists --print-errors "icu-uc") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then - pkg_cv_ICU_CFLAGS=`$PKG_CONFIG --cflags "icu-uc" 2>/dev/null` - test "x$?" != "x0" && pkg_failed=yes -else - pkg_failed=yes -fi - else - pkg_failed=untried -fi -if test -n "$ICU_LIBS"; then - pkg_cv_ICU_LIBS="$ICU_LIBS" - elif test -n "$PKG_CONFIG"; then - if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"icu-uc\""; } >&5 - ($PKG_CONFIG --exists --print-errors "icu-uc") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then - pkg_cv_ICU_LIBS=`$PKG_CONFIG --libs "icu-uc" 2>/dev/null` - test "x$?" != "x0" && pkg_failed=yes -else - pkg_failed=yes -fi - else - pkg_failed=untried -fi - - - -if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - -if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then - _pkg_short_errors_supported=yes -else - _pkg_short_errors_supported=no -fi - if test $_pkg_short_errors_supported = yes; then - ICU_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "icu-uc" 2>&1` - else - ICU_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "icu-uc" 2>&1` - fi - # Put the nasty error message in config.log where it belongs - echo "$ICU_PKG_ERRORS" >&5 - - : -elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - : -else - ICU_CFLAGS=$pkg_cv_ICU_CFLAGS - ICU_LIBS=$pkg_cv_ICU_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } - have_icu=true -fi -fi -if test \( "x$with_icu" = "xyes" -o "x$with_icu" = "xbuiltin" \) -a "x$have_icu" != "xtrue"; then - as_fn_error $? "icu support requested but icu-uc not found" "$LINENO" 5 -fi - -if $have_icu; then - CXXFLAGS="$CXXFLAGS `$PKG_CONFIG --variable=CXXFLAGS icu-uc`" - -$as_echo "#define HAVE_ICU 1" >>confdefs.h - - if test "x$with_icu" = "xbuiltin"; then - -$as_echo "#define HAVE_ICU_BUILTIN 1" >>confdefs.h - - fi -fi - if $have_icu; then - HAVE_ICU_TRUE= - HAVE_ICU_FALSE='#' -else - HAVE_ICU_TRUE='#' - HAVE_ICU_FALSE= -fi - - if $have_icu && test "x$with_icu" = "xbuiltin"; then - HAVE_ICU_BUILTIN_TRUE= - HAVE_ICU_BUILTIN_FALSE='#' -else - HAVE_ICU_BUILTIN_TRUE='#' - HAVE_ICU_BUILTIN_FALSE= -fi - - - - -# Check whether --with-graphite2 was given. -if test "${with_graphite2+set}" = set; then : - withval=$with_graphite2; -else - with_graphite2=no -fi - -have_graphite2=false -GRAPHITE2_DEPS="graphite2 >= 1.2.0" - -if test "x$with_graphite2" = "xyes" -o "x$with_graphite2" = "xauto"; then - -pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GRAPHITE2" >&5 -$as_echo_n "checking for GRAPHITE2... " >&6; } - -if test -n "$GRAPHITE2_CFLAGS"; then - pkg_cv_GRAPHITE2_CFLAGS="$GRAPHITE2_CFLAGS" - elif test -n "$PKG_CONFIG"; then - if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GRAPHITE2_DEPS\""; } >&5 - ($PKG_CONFIG --exists --print-errors "$GRAPHITE2_DEPS") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then - pkg_cv_GRAPHITE2_CFLAGS=`$PKG_CONFIG --cflags "$GRAPHITE2_DEPS" 2>/dev/null` - test "x$?" != "x0" && pkg_failed=yes -else - pkg_failed=yes -fi - else - pkg_failed=untried -fi -if test -n "$GRAPHITE2_LIBS"; then - pkg_cv_GRAPHITE2_LIBS="$GRAPHITE2_LIBS" - elif test -n "$PKG_CONFIG"; then - if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GRAPHITE2_DEPS\""; } >&5 - ($PKG_CONFIG --exists --print-errors "$GRAPHITE2_DEPS") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then - pkg_cv_GRAPHITE2_LIBS=`$PKG_CONFIG --libs "$GRAPHITE2_DEPS" 2>/dev/null` - test "x$?" != "x0" && pkg_failed=yes -else - pkg_failed=yes -fi - else - pkg_failed=untried -fi - - - -if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - -if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then - _pkg_short_errors_supported=yes -else - _pkg_short_errors_supported=no -fi - if test $_pkg_short_errors_supported = yes; then - GRAPHITE2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$GRAPHITE2_DEPS" 2>&1` - else - GRAPHITE2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$GRAPHITE2_DEPS" 2>&1` - fi - # Put the nasty error message in config.log where it belongs - echo "$GRAPHITE2_PKG_ERRORS" >&5 - - : -elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - : -else - GRAPHITE2_CFLAGS=$pkg_cv_GRAPHITE2_CFLAGS - GRAPHITE2_LIBS=$pkg_cv_GRAPHITE2_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } - have_graphite2=true -fi - if test "x$have_graphite2" != "xtrue"; then - # If pkg-config is not available, graphite2 can still be there - ac_save_CFLAGS="$CFLAGS" - ac_save_CPPFLAGS="$CPPFLAGS" - CFLAGS="$CFLAGS $GRAPHITE2_CFLAGS" - CPPFLAGS="$CPPFLAGS $GRAPHITE2_CFLAGS" - ac_fn_c_check_header_mongrel "$LINENO" "graphite2/Segment.h" "ac_cv_header_graphite2_Segment_h" "$ac_includes_default" -if test "x$ac_cv_header_graphite2_Segment_h" = xyes; then : - have_graphite2=true -else - : -fi - - - CPPFLAGS="$ac_save_CPPFLAGS" - CFLAGS="$ac_save_CFLAGS" - fi -fi -if test "x$with_graphite2" = "xyes" -a "x$have_graphite2" != "xtrue"; then - as_fn_error $? "graphite2 support requested but libgraphite2 not found" "$LINENO" 5 -fi -if $have_graphite2; then - -$as_echo "#define HAVE_GRAPHITE2 1" >>confdefs.h - -fi - if $have_graphite2; then - HAVE_GRAPHITE2_TRUE= - HAVE_GRAPHITE2_FALSE='#' -else - HAVE_GRAPHITE2_TRUE='#' - HAVE_GRAPHITE2_FALSE= -fi - - - - -# Check whether --with-freetype was given. -if test "${with_freetype+set}" = set; then : - withval=$with_freetype; -else - with_freetype=auto -fi - -have_freetype=false -FREETYPE_DEPS="freetype2 >= 12.0.6" - -if test "x$with_freetype" = "xyes" -o "x$with_freetype" = "xauto"; then - # See freetype/docs/VERSION.DLL; 12.0.6 means freetype-2.4.2 - -pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for FREETYPE" >&5 -$as_echo_n "checking for FREETYPE... " >&6; } - -if test -n "$FREETYPE_CFLAGS"; then - pkg_cv_FREETYPE_CFLAGS="$FREETYPE_CFLAGS" - elif test -n "$PKG_CONFIG"; then - if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$FREETYPE_DEPS\""; } >&5 - ($PKG_CONFIG --exists --print-errors "$FREETYPE_DEPS") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then - pkg_cv_FREETYPE_CFLAGS=`$PKG_CONFIG --cflags "$FREETYPE_DEPS" 2>/dev/null` - test "x$?" != "x0" && pkg_failed=yes -else - pkg_failed=yes -fi - else - pkg_failed=untried -fi -if test -n "$FREETYPE_LIBS"; then - pkg_cv_FREETYPE_LIBS="$FREETYPE_LIBS" - elif test -n "$PKG_CONFIG"; then - if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$FREETYPE_DEPS\""; } >&5 - ($PKG_CONFIG --exists --print-errors "$FREETYPE_DEPS") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then - pkg_cv_FREETYPE_LIBS=`$PKG_CONFIG --libs "$FREETYPE_DEPS" 2>/dev/null` - test "x$?" != "x0" && pkg_failed=yes -else - pkg_failed=yes -fi - else - pkg_failed=untried -fi - - - -if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - -if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then - _pkg_short_errors_supported=yes -else - _pkg_short_errors_supported=no -fi - if test $_pkg_short_errors_supported = yes; then - FREETYPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$FREETYPE_DEPS" 2>&1` - else - FREETYPE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$FREETYPE_DEPS" 2>&1` - fi - # Put the nasty error message in config.log where it belongs - echo "$FREETYPE_PKG_ERRORS" >&5 - - : -elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - : -else - FREETYPE_CFLAGS=$pkg_cv_FREETYPE_CFLAGS - FREETYPE_LIBS=$pkg_cv_FREETYPE_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } - have_freetype=true -fi -fi -if test "x$with_freetype" = "xyes" -a "x$have_freetype" != "xtrue"; then - as_fn_error $? "FreeType support requested but libfreetype2 not found" "$LINENO" 5 -fi -if $have_freetype; then - -$as_echo "#define HAVE_FREETYPE 1" >>confdefs.h - - save_libs=$LIBS - LIBS="$LIBS $FREETYPE_LIBS" - for ac_func in FT_Get_Var_Blend_Coordinates FT_Set_Var_Blend_Coordinates FT_Done_MM_Var -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - LIBS=$save_libs -fi - if $have_freetype; then - HAVE_FREETYPE_TRUE= - HAVE_FREETYPE_FALSE='#' -else - HAVE_FREETYPE_TRUE='#' - HAVE_FREETYPE_FALSE= -fi - - - - -# Check whether --with-uniscribe was given. -if test "${with_uniscribe+set}" = set; then : - withval=$with_uniscribe; -else - with_uniscribe=no -fi - -have_uniscribe=false -if test "x$with_uniscribe" = "xyes" -o "x$with_uniscribe" = "xauto"; then - for ac_header in usp10.h windows.h -do : - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 -_ACEOF - have_uniscribe=true -fi - -done - -fi -if test "x$with_uniscribe" = "xyes" -a "x$have_uniscribe" != "xtrue"; then - as_fn_error $? "uniscribe support requested but not found" "$LINENO" 5 -fi -if $have_uniscribe; then - UNISCRIBE_CFLAGS= - UNISCRIBE_LIBS="-lusp10 -lgdi32 -lrpcrt4" - - - -$as_echo "#define HAVE_UNISCRIBE 1" >>confdefs.h - -fi - if $have_uniscribe; then - HAVE_UNISCRIBE_TRUE= - HAVE_UNISCRIBE_FALSE='#' -else - HAVE_UNISCRIBE_TRUE='#' - HAVE_UNISCRIBE_FALSE= -fi - - - - -# Check whether --with-gdi was given. -if test "${with_gdi+set}" = set; then : - withval=$with_gdi; -else - with_gdi=no -fi - -have_gdi=false -if test "x$with_gdi" = "xyes" -o "x$with_gdi" = "xauto"; then - for ac_header in windows.h -do : - ac_fn_c_check_header_mongrel "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default" -if test "x$ac_cv_header_windows_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_WINDOWS_H 1 -_ACEOF - have_gdi=true -fi - -done - -fi -if test "x$with_gdi" = "xyes" -a "x$have_gdi" != "xtrue"; then - as_fn_error $? "gdi support requested but not found" "$LINENO" 5 -fi -if $have_gdi; then - GDI_CFLAGS= - GDI_LIBS="-lgdi32" - - - -$as_echo "#define HAVE_GDI 1" >>confdefs.h - -fi - if $have_gdi; then - HAVE_GDI_TRUE= - HAVE_GDI_FALSE='#' -else - HAVE_GDI_TRUE='#' - HAVE_GDI_FALSE= -fi - - - - -# Check whether --with-directwrite was given. -if test "${with_directwrite+set}" = set; then : - withval=$with_directwrite; -else - with_directwrite=no -fi - -have_directwrite=false -ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - -if test "x$with_directwrite" = "xyes" -o "x$with_directwrite" = "xauto"; then - -for ac_header in dwrite.h -do : - ac_fn_cxx_check_header_mongrel "$LINENO" "dwrite.h" "ac_cv_header_dwrite_h" "$ac_includes_default" -if test "x$ac_cv_header_dwrite_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_DWRITE_H 1 -_ACEOF - have_directwrite=true -fi - -done - -fi -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - -if test "x$with_directwrite" = "xyes" -a "x$have_directwrite" != "xtrue"; then - as_fn_error $? "directwrite support requested but not found" "$LINENO" 5 -fi -if $have_directwrite; then - DIRECTWRITE_CXXFLAGS= - DIRECTWRITE_LIBS= - - - -$as_echo "#define HAVE_DIRECTWRITE 1" >>confdefs.h - -fi - if $have_directwrite; then - HAVE_DIRECTWRITE_TRUE= - HAVE_DIRECTWRITE_FALSE='#' -else - HAVE_DIRECTWRITE_TRUE='#' - HAVE_DIRECTWRITE_FALSE= -fi - - - - -# Check whether --with-coretext was given. -if test "${with_coretext+set}" = set; then : - withval=$with_coretext; -else - with_coretext=no -fi - -have_coretext=false -if test "x$with_coretext" = "xyes" -o "x$with_coretext" = "xauto"; then - ac_fn_c_check_type "$LINENO" "CTFontRef" "ac_cv_type_CTFontRef" "#include -" -if test "x$ac_cv_type_CTFontRef" = xyes; then : - have_coretext=true -fi - - - if $have_coretext; then - CORETEXT_CFLAGS= - CORETEXT_LIBS="-framework ApplicationServices" - - - else - # On iOS CoreText and CoreGraphics are stand-alone frameworks - if test "x$have_coretext" != "xtrue"; then - # Check for a different symbol to avoid getting cached result. - ac_fn_c_check_type "$LINENO" "CTRunRef" "ac_cv_type_CTRunRef" "#include -" -if test "x$ac_cv_type_CTRunRef" = xyes; then : - have_coretext=true -fi - - fi - - if $have_coretext; then - CORETEXT_CFLAGS= - CORETEXT_LIBS="-framework CoreText -framework CoreGraphics -framework CoreFoundation" - - - fi - fi -fi -if test "x$with_coretext" = "xyes" -a "x$have_coretext" != "xtrue"; then - as_fn_error $? "CoreText support requested but libcoretext not found" "$LINENO" 5 -fi -if $have_coretext; then - -$as_echo "#define HAVE_CORETEXT 1" >>confdefs.h - -fi - if $have_coretext; then - HAVE_CORETEXT_TRUE= - HAVE_CORETEXT_FALSE='#' -else - HAVE_CORETEXT_TRUE='#' - HAVE_CORETEXT_FALSE= -fi - - - -ac_config_files="$ac_config_files Makefile src/Makefile src/harfbuzz-config.cmake util/Makefile test/Makefile test/api/Makefile test/fuzzing/Makefile test/shape/Makefile test/shape/data/Makefile test/shape/data/aots/Makefile test/shape/data/in-house/Makefile test/shape/data/text-rendering-tests/Makefile test/subset/Makefile test/subset/data/Makefile test/subset/data/repack_tests/Makefile docs/Makefile docs/version.xml" - - -cat >confcache <<\_ACEOF -# This file is a shell script that caches the results of configure -# tests run on this system so they can be shared between configure -# scripts and configure runs, see configure's option --config-cache. -# It is not useful on other systems. If it contains results you don't -# want to keep, you may remove or edit it. -# -# config.status only pays attention to the cache file if you give it -# the --recheck option to rerun configure. -# -# `ac_cv_env_foo' variables (set or unset) will be overridden when -# loading this file, other *unset* `ac_cv_foo' will be assigned the -# following values. - -_ACEOF - -# The following way of writing the cache mishandles newlines in values, -# but we know of no workaround that is simple, portable, and efficient. -# So, we kill variables containing newlines. -# Ultrix sh set writes to stderr and can't be redirected directly, -# and sets the high bit in the cache file unless we assign to the vars. -( - for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do - eval ac_val=\$$ac_var - case $ac_val in #( - *${as_nl}*) - case $ac_var in #( - *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 -$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; - esac - case $ac_var in #( - _ | IFS | as_nl) ;; #( - BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( - *) { eval $ac_var=; unset $ac_var;} ;; - esac ;; - esac - done - - (set) 2>&1 | - case $as_nl`(ac_space=' '; set) 2>&1` in #( - *${as_nl}ac_space=\ *) - # `set' does not quote correctly, so add quotes: double-quote - # substitution turns \\\\ into \\, and sed turns \\ into \. - sed -n \ - "s/'/'\\\\''/g; - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" - ;; #( - *) - # `set' quotes correctly as required by POSIX, so do not add quotes. - sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" - ;; - esac | - sort -) | - sed ' - /^ac_cv_env_/b end - t clear - :clear - s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ - t end - s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ - :end' >>confcache -if diff "$cache_file" confcache >/dev/null 2>&1; then :; else - if test -w "$cache_file"; then - if test "x$cache_file" != "x/dev/null"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 -$as_echo "$as_me: updating cache $cache_file" >&6;} - if test ! -f "$cache_file" || test -h "$cache_file"; then - cat confcache >"$cache_file" - else - case $cache_file in #( - */* | ?:*) - mv -f confcache "$cache_file"$$ && - mv -f "$cache_file"$$ "$cache_file" ;; #( - *) - mv -f confcache "$cache_file" ;; - esac - fi - fi - else - { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 -$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} - fi -fi -rm -f confcache - -test "x$prefix" = xNONE && prefix=$ac_default_prefix -# Let make expand exec_prefix. -test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' - -DEFS=-DHAVE_CONFIG_H - -ac_libobjs= -ac_ltlibobjs= -U= -for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue - # 1. Remove the extension, and $U if already installed. - ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' - ac_i=`$as_echo "$ac_i" | sed "$ac_script"` - # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR - # will be set to the directory where LIBOBJS objects are built. - as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" - as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' -done -LIBOBJS=$ac_libobjs - -LTLIBOBJS=$ac_ltlibobjs - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 -$as_echo_n "checking that generated files are newer than configure... " >&6; } - if test -n "$am_sleep_pid"; then - # Hide warnings about reused PIDs. - wait $am_sleep_pid 2>/dev/null - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 -$as_echo "done" >&6; } - if test -n "$EXEEXT"; then - am__EXEEXT_TRUE= - am__EXEEXT_FALSE='#' -else - am__EXEEXT_TRUE='#' - am__EXEEXT_FALSE= -fi - -if test -z "${CODE_COVERAGE_ENABLED_TRUE}" && test -z "${CODE_COVERAGE_ENABLED_FALSE}"; then - as_fn_error $? "conditional \"CODE_COVERAGE_ENABLED\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then - as_fn_error $? "conditional \"AMDEP\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then - as_fn_error $? "conditional \"am__fastdepCC\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then - as_fn_error $? "conditional \"am__fastdepCC\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then - as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${WITH_LIBSTDCXX_TRUE}" && test -z "${WITH_LIBSTDCXX_FALSE}"; then - as_fn_error $? "conditional \"WITH_LIBSTDCXX\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${HAVE_GTK_DOC_TRUE}" && test -z "${HAVE_GTK_DOC_FALSE}"; then - as_fn_error $? "conditional \"HAVE_GTK_DOC\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then - as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then - as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then - as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then - as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then - as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${HAVE_GCC_TRUE}" && test -z "${HAVE_GCC_FALSE}"; then - as_fn_error $? "conditional \"HAVE_GCC\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then - as_fn_error $? "conditional \"OS_WIN32\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${HAVE_PTHREAD_TRUE}" && test -z "${HAVE_PTHREAD_FALSE}"; then - as_fn_error $? "conditional \"HAVE_PTHREAD\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${HAVE_GLIB_TRUE}" && test -z "${HAVE_GLIB_FALSE}"; then - as_fn_error $? "conditional \"HAVE_GLIB\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${HAVE_GOBJECT_TRUE}" && test -z "${HAVE_GOBJECT_FALSE}"; then - as_fn_error $? "conditional \"HAVE_GOBJECT\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then - as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then - as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${HAVE_CAIRO_TRUE}" && test -z "${HAVE_CAIRO_FALSE}"; then - as_fn_error $? "conditional \"HAVE_CAIRO\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${HAVE_CAIRO_FT_TRUE}" && test -z "${HAVE_CAIRO_FT_FALSE}"; then - as_fn_error $? "conditional \"HAVE_CAIRO_FT\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${HAVE_CHAFA_TRUE}" && test -z "${HAVE_CHAFA_FALSE}"; then - as_fn_error $? "conditional \"HAVE_CHAFA\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${HAVE_ICU_TRUE}" && test -z "${HAVE_ICU_FALSE}"; then - as_fn_error $? "conditional \"HAVE_ICU\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${HAVE_ICU_BUILTIN_TRUE}" && test -z "${HAVE_ICU_BUILTIN_FALSE}"; then - as_fn_error $? "conditional \"HAVE_ICU_BUILTIN\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${HAVE_GRAPHITE2_TRUE}" && test -z "${HAVE_GRAPHITE2_FALSE}"; then - as_fn_error $? "conditional \"HAVE_GRAPHITE2\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${HAVE_FREETYPE_TRUE}" && test -z "${HAVE_FREETYPE_FALSE}"; then - as_fn_error $? "conditional \"HAVE_FREETYPE\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${HAVE_UNISCRIBE_TRUE}" && test -z "${HAVE_UNISCRIBE_FALSE}"; then - as_fn_error $? "conditional \"HAVE_UNISCRIBE\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${HAVE_GDI_TRUE}" && test -z "${HAVE_GDI_FALSE}"; then - as_fn_error $? "conditional \"HAVE_GDI\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${HAVE_DIRECTWRITE_TRUE}" && test -z "${HAVE_DIRECTWRITE_FALSE}"; then - as_fn_error $? "conditional \"HAVE_DIRECTWRITE\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${HAVE_CORETEXT_TRUE}" && test -z "${HAVE_CORETEXT_FALSE}"; then - as_fn_error $? "conditional \"HAVE_CORETEXT\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi - -: "${CONFIG_STATUS=./config.status}" -ac_write_fail=0 -ac_clean_files_save=$ac_clean_files -ac_clean_files="$ac_clean_files $CONFIG_STATUS" -{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 -$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} -as_write_fail=0 -cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 -#! $SHELL -# Generated by $as_me. -# Run this file to recreate the current configuration. -# Compiler output produced by configure, useful for debugging -# configure, is in config.log if it exists. - -debug=false -ac_cs_recheck=false -ac_cs_silent=false - -SHELL=\${CONFIG_SHELL-$SHELL} -export SHELL -_ASEOF -cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 -## -------------------- ## -## M4sh Initialization. ## -## -------------------- ## - -# Be more Bourne compatible -DUALCASE=1; export DUALCASE # for MKS sh -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : - emulate sh - NULLCMD=: - # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which - # is contrary to our usage. Disable this feature. - alias -g '${1+"$@"}'='"$@"' - setopt NO_GLOB_SUBST -else - case `(set -o) 2>/dev/null` in #( - *posix*) : - set -o posix ;; #( - *) : - ;; -esac -fi - - -as_nl=' -' -export as_nl -# Printing a long string crashes Solaris 7 /usr/bin/printf. -as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo -# Prefer a ksh shell builtin over an external printf program on Solaris, -# but without wasting forks for bash or zsh. -if test -z "$BASH_VERSION$ZSH_VERSION" \ - && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then - as_echo='print -r --' - as_echo_n='print -rn --' -elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then - as_echo='printf %s\n' - as_echo_n='printf %s' -else - if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then - as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' - as_echo_n='/usr/ucb/echo -n' - else - as_echo_body='eval expr "X$1" : "X\\(.*\\)"' - as_echo_n_body='eval - arg=$1; - case $arg in #( - *"$as_nl"*) - expr "X$arg" : "X\\(.*\\)$as_nl"; - arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; - esac; - expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" - ' - export as_echo_n_body - as_echo_n='sh -c $as_echo_n_body as_echo' - fi - export as_echo_body - as_echo='sh -c $as_echo_body as_echo' -fi - -# The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then - PATH_SEPARATOR=: - (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { - (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || - PATH_SEPARATOR=';' - } -fi - - -# IFS -# We need space, tab and new line, in precisely that order. Quoting is -# there to prevent editors from complaining about space-tab. -# (If _AS_PATH_WALK were called with IFS unset, it would disable word -# splitting by setting IFS to empty value.) -IFS=" "" $as_nl" - -# Find who we are. Look in the path if we contain no directory separator. -as_myself= -case $0 in #(( - *[\\/]* ) as_myself=$0 ;; - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break - done -IFS=$as_save_IFS - - ;; -esac -# We did not find ourselves, most probably we were run as `sh COMMAND' -# in which case we are not to be found in the path. -if test "x$as_myself" = x; then - as_myself=$0 -fi -if test ! -f "$as_myself"; then - $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 - exit 1 -fi - -# Unset variables that we do not need and which cause bugs (e.g. in -# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" -# suppresses any "Segmentation fault" message there. '((' could -# trigger a bug in pdksh 5.2.14. -for as_var in BASH_ENV ENV MAIL MAILPATH -do eval test x\${$as_var+set} = xset \ - && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : -done -PS1='$ ' -PS2='> ' -PS4='+ ' - -# NLS nuisances. -LC_ALL=C -export LC_ALL -LANGUAGE=C -export LANGUAGE - -# CDPATH. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH - - -# as_fn_error STATUS ERROR [LINENO LOG_FD] -# ---------------------------------------- -# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are -# provided, also output the error to LOG_FD, referencing LINENO. Then exit the -# script with STATUS, using 1 if that was 0. -as_fn_error () -{ - as_status=$1; test $as_status -eq 0 && as_status=1 - if test "$4"; then - as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 - fi - $as_echo "$as_me: error: $2" >&2 - as_fn_exit $as_status -} # as_fn_error - - -# as_fn_set_status STATUS -# ----------------------- -# Set $? to STATUS, without forking. -as_fn_set_status () -{ - return $1 -} # as_fn_set_status - -# as_fn_exit STATUS -# ----------------- -# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. -as_fn_exit () -{ - set +e - as_fn_set_status $1 - exit $1 -} # as_fn_exit - -# as_fn_unset VAR -# --------------- -# Portably unset VAR. -as_fn_unset () -{ - { eval $1=; unset $1;} -} -as_unset=as_fn_unset -# as_fn_append VAR VALUE -# ---------------------- -# Append the text in VALUE to the end of the definition contained in VAR. Take -# advantage of any shell optimizations that allow amortized linear growth over -# repeated appends, instead of the typical quadratic growth present in naive -# implementations. -if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : - eval 'as_fn_append () - { - eval $1+=\$2 - }' -else - as_fn_append () - { - eval $1=\$$1\$2 - } -fi # as_fn_append - -# as_fn_arith ARG... -# ------------------ -# Perform arithmetic evaluation on the ARGs, and store the result in the -# global $as_val. Take advantage of shells that can avoid forks. The arguments -# must be portable across $(()) and expr. -if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : - eval 'as_fn_arith () - { - as_val=$(( $* )) - }' -else - as_fn_arith () - { - as_val=`expr "$@" || test $? -eq 1` - } -fi # as_fn_arith - - -if expr a : '\(a\)' >/dev/null 2>&1 && - test "X`expr 00001 : '.*\(...\)'`" = X001; then - as_expr=expr -else - as_expr=false -fi - -if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then - as_basename=basename -else - as_basename=false -fi - -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then - as_dirname=dirname -else - as_dirname=false -fi - -as_me=`$as_basename -- "$0" || -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ - X"$0" : 'X\(//\)$' \| \ - X"$0" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X/"$0" | - sed '/^.*\/\([^/][^/]*\)\/*$/{ - s//\1/ - q - } - /^X\/\(\/\/\)$/{ - s//\1/ - q - } - /^X\/\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - -# Avoid depending upon Character Ranges. -as_cr_letters='abcdefghijklmnopqrstuvwxyz' -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' -as_cr_Letters=$as_cr_letters$as_cr_LETTERS -as_cr_digits='0123456789' -as_cr_alnum=$as_cr_Letters$as_cr_digits - -ECHO_C= ECHO_N= ECHO_T= -case `echo -n x` in #((((( --n*) - case `echo 'xy\c'` in - *c*) ECHO_T=' ';; # ECHO_T is single tab character. - xy) ECHO_C='\c';; - *) echo `echo ksh88 bug on AIX 6.1` > /dev/null - ECHO_T=' ';; - esac;; -*) - ECHO_N='-n';; -esac - -rm -f conf$$ conf$$.exe conf$$.file -if test -d conf$$.dir; then - rm -f conf$$.dir/conf$$.file -else - rm -f conf$$.dir - mkdir conf$$.dir 2>/dev/null -fi -if (echo >conf$$.file) 2>/dev/null; then - if ln -s conf$$.file conf$$ 2>/dev/null; then - as_ln_s='ln -s' - # ... but there are two gotchas: - # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. - # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. - # In both cases, we have to default to `cp -pR'. - ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || - as_ln_s='cp -pR' - elif ln conf$$.file conf$$ 2>/dev/null; then - as_ln_s=ln - else - as_ln_s='cp -pR' - fi -else - as_ln_s='cp -pR' -fi -rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file -rmdir conf$$.dir 2>/dev/null - - -# as_fn_mkdir_p -# ------------- -# Create "$as_dir" as a directory, including parents if necessary. -as_fn_mkdir_p () -{ - - case $as_dir in #( - -*) as_dir=./$as_dir;; - esac - test -d "$as_dir" || eval $as_mkdir_p || { - as_dirs= - while :; do - case $as_dir in #( - *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( - *) as_qdir=$as_dir;; - esac - as_dirs="'$as_qdir' $as_dirs" - as_dir=`$as_dirname -- "$as_dir" || -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$as_dir" : 'X\(//\)[^/]' \| \ - X"$as_dir" : 'X\(//\)$' \| \ - X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$as_dir" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - test -d "$as_dir" && break - done - test -z "$as_dirs" || eval "mkdir $as_dirs" - } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" - - -} # as_fn_mkdir_p -if mkdir -p . 2>/dev/null; then - as_mkdir_p='mkdir -p "$as_dir"' -else - test -d ./-p && rmdir ./-p - as_mkdir_p=false -fi - - -# as_fn_executable_p FILE -# ----------------------- -# Test if FILE is an executable regular file. -as_fn_executable_p () -{ - test -f "$1" && test -x "$1" -} # as_fn_executable_p -as_test_x='test -x' -as_executable_p=as_fn_executable_p - -# Sed expression to map a string onto a valid CPP name. -as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" - -# Sed expression to map a string onto a valid variable name. -as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" - - -exec 6>&1 -## ----------------------------------- ## -## Main body of $CONFIG_STATUS script. ## -## ----------------------------------- ## -_ASEOF -test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -# Save the log message, to keep $0 and so on meaningful, and to -# report actual input values of CONFIG_FILES etc. instead of their -# values after options handling. -ac_log=" -This file was extended by HarfBuzz $as_me 3.2.0, which was -generated by GNU Autoconf 2.69. Invocation command line was - - CONFIG_FILES = $CONFIG_FILES - CONFIG_HEADERS = $CONFIG_HEADERS - CONFIG_LINKS = $CONFIG_LINKS - CONFIG_COMMANDS = $CONFIG_COMMANDS - $ $0 $@ - -on `(hostname || uname -n) 2>/dev/null | sed 1q` -" - -_ACEOF - -case $ac_config_files in *" -"*) set x $ac_config_files; shift; ac_config_files=$*;; -esac - -case $ac_config_headers in *" -"*) set x $ac_config_headers; shift; ac_config_headers=$*;; -esac - - -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -# Files that config.status was made for. -config_files="$ac_config_files" -config_headers="$ac_config_headers" -config_commands="$ac_config_commands" - -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -ac_cs_usage="\ -\`$as_me' instantiates files and other configuration actions -from templates according to the current configuration. Unless the files -and actions are specified as TAGs, all are instantiated by default. - -Usage: $0 [OPTION]... [TAG]... - - -h, --help print this help, then exit - -V, --version print version number and configuration settings, then exit - --config print configuration, then exit - -q, --quiet, --silent - do not print progress messages - -d, --debug don't remove temporary files - --recheck update $as_me by reconfiguring in the same conditions - --file=FILE[:TEMPLATE] - instantiate the configuration file FILE - --header=FILE[:TEMPLATE] - instantiate the configuration header FILE - -Configuration files: -$config_files - -Configuration headers: -$config_headers - -Configuration commands: -$config_commands - -Report bugs to . -HarfBuzz home page: ." - -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" -ac_cs_version="\\ -HarfBuzz config.status 3.2.0 -configured by $0, generated by GNU Autoconf 2.69, - with options \\"\$ac_cs_config\\" - -Copyright (C) 2012 Free Software Foundation, Inc. -This config.status script is free software; the Free Software Foundation -gives unlimited permission to copy, distribute and modify it." - -ac_pwd='$ac_pwd' -srcdir='$srcdir' -INSTALL='$INSTALL' -MKDIR_P='$MKDIR_P' -AWK='$AWK' -test -n "\$AWK" || AWK=awk -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -# The default lists apply if the user does not specify any file. -ac_need_defaults=: -while test $# != 0 -do - case $1 in - --*=?*) - ac_option=`expr "X$1" : 'X\([^=]*\)='` - ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` - ac_shift=: - ;; - --*=) - ac_option=`expr "X$1" : 'X\([^=]*\)='` - ac_optarg= - ac_shift=: - ;; - *) - ac_option=$1 - ac_optarg=$2 - ac_shift=shift - ;; - esac - - case $ac_option in - # Handling of the options. - -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) - ac_cs_recheck=: ;; - --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) - $as_echo "$ac_cs_version"; exit ;; - --config | --confi | --conf | --con | --co | --c ) - $as_echo "$ac_cs_config"; exit ;; - --debug | --debu | --deb | --de | --d | -d ) - debug=: ;; - --file | --fil | --fi | --f ) - $ac_shift - case $ac_optarg in - *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; - '') as_fn_error $? "missing file argument" ;; - esac - as_fn_append CONFIG_FILES " '$ac_optarg'" - ac_need_defaults=false;; - --header | --heade | --head | --hea ) - $ac_shift - case $ac_optarg in - *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; - esac - as_fn_append CONFIG_HEADERS " '$ac_optarg'" - ac_need_defaults=false;; - --he | --h) - # Conflict between --help and --header - as_fn_error $? "ambiguous option: \`$1' -Try \`$0 --help' for more information.";; - --help | --hel | -h ) - $as_echo "$ac_cs_usage"; exit ;; - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ - | -silent | --silent | --silen | --sile | --sil | --si | --s) - ac_cs_silent=: ;; - - # This is an error. - -*) as_fn_error $? "unrecognized option: \`$1' -Try \`$0 --help' for more information." ;; - - *) as_fn_append ac_config_targets " $1" - ac_need_defaults=false ;; - - esac - shift -done - -ac_configure_extra_args= - -if $ac_cs_silent; then - exec 6>/dev/null - ac_configure_extra_args="$ac_configure_extra_args --silent" -fi - -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -if \$ac_cs_recheck; then - set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion - shift - \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 - CONFIG_SHELL='$SHELL' - export CONFIG_SHELL - exec "\$@" -fi - -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -exec 5>>config.log -{ - echo - sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX -## Running $as_me. ## -_ASBOX - $as_echo "$ac_log" -} >&5 - -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -# -# INIT-COMMANDS -# -AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}" - - -# The HP-UX ksh and POSIX shell print the target directory to stdout -# if CDPATH is set. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH - -sed_quote_subst='$sed_quote_subst' -double_quote_subst='$double_quote_subst' -delay_variable_subst='$delay_variable_subst' -macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' -macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' -enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' -enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' -pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' -enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' -shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' -SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' -ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' -PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' -host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' -host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' -host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' -build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' -build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' -build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' -SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' -Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' -GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' -EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' -FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' -LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' -NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' -LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' -max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' -ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' -exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' -lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' -lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' -lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' -lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' -lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' -reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' -reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' -OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' -deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' -file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' -file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' -want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' -DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' -sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' -AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' -AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' -archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' -STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' -RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' -old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' -old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' -old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' -lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' -CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' -CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' -compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' -GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' -lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' -nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' -lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' -lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`' -objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' -MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' -lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' -lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' -lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' -lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' -lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' -need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' -MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' -DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' -NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' -LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' -OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' -OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' -libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' -shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' -extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' -archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' -enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' -export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' -whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' -compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' -old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' -old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' -archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' -archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' -module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' -module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' -with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' -allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' -no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' -hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' -hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' -hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' -hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' -hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' -hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' -hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' -inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' -link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' -always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' -export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' -exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' -include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' -prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' -postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' -file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' -variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' -need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' -need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' -version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' -runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' -shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' -shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' -libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' -library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' -soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' -install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' -postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' -postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' -finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' -finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' -hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' -sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' -configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' -configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' -hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' -enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' -enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' -enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' -old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' -striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' -compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`' -predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`' -postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`' -predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`' -postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`' -compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`' -LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`' -reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`' -reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`' -old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' -compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`' -GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`' -lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`' -lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`' -lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`' -lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`' -lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`' -archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`' -enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`' -export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' -whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' -compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`' -old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`' -old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`' -archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' -archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' -module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`' -module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' -with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`' -allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' -no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' -hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' -hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`' -hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`' -hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`' -hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`' -hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`' -hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`' -inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`' -link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`' -always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`' -export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`' -exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`' -include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`' -prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`' -postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`' -file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`' -hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`' -compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`' -predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`' -postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`' -predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`' -postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`' -compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`' - -LTCC='$LTCC' -LTCFLAGS='$LTCFLAGS' -compiler='$compiler_DEFAULT' - -# A function that is used when there is no print builtin or printf. -func_fallback_echo () -{ - eval 'cat <<_LTECHO_EOF -\$1 -_LTECHO_EOF' -} - -# Quote evaled strings. -for var in SHELL \ -ECHO \ -PATH_SEPARATOR \ -SED \ -GREP \ -EGREP \ -FGREP \ -LD \ -NM \ -LN_S \ -lt_SP2NL \ -lt_NL2SP \ -reload_flag \ -OBJDUMP \ -deplibs_check_method \ -file_magic_cmd \ -file_magic_glob \ -want_nocaseglob \ -DLLTOOL \ -sharedlib_from_linklib_cmd \ -AR \ -AR_FLAGS \ -archiver_list_spec \ -STRIP \ -RANLIB \ -CC \ -CFLAGS \ -compiler \ -lt_cv_sys_global_symbol_pipe \ -lt_cv_sys_global_symbol_to_cdecl \ -lt_cv_sys_global_symbol_to_import \ -lt_cv_sys_global_symbol_to_c_name_address \ -lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ -lt_cv_nm_interface \ -nm_file_list_spec \ -lt_cv_truncate_bin \ -lt_prog_compiler_no_builtin_flag \ -lt_prog_compiler_pic \ -lt_prog_compiler_wl \ -lt_prog_compiler_static \ -lt_cv_prog_compiler_c_o \ -need_locks \ -MANIFEST_TOOL \ -DSYMUTIL \ -NMEDIT \ -LIPO \ -OTOOL \ -OTOOL64 \ -shrext_cmds \ -export_dynamic_flag_spec \ -whole_archive_flag_spec \ -compiler_needs_object \ -with_gnu_ld \ -allow_undefined_flag \ -no_undefined_flag \ -hardcode_libdir_flag_spec \ -hardcode_libdir_separator \ -exclude_expsyms \ -include_expsyms \ -file_list_spec \ -variables_saved_for_relink \ -libname_spec \ -library_names_spec \ -soname_spec \ -install_override_mode \ -finish_eval \ -old_striplib \ -striplib \ -compiler_lib_search_dirs \ -predep_objects \ -postdep_objects \ -predeps \ -postdeps \ -compiler_lib_search_path \ -LD_CXX \ -reload_flag_CXX \ -compiler_CXX \ -lt_prog_compiler_no_builtin_flag_CXX \ -lt_prog_compiler_pic_CXX \ -lt_prog_compiler_wl_CXX \ -lt_prog_compiler_static_CXX \ -lt_cv_prog_compiler_c_o_CXX \ -export_dynamic_flag_spec_CXX \ -whole_archive_flag_spec_CXX \ -compiler_needs_object_CXX \ -with_gnu_ld_CXX \ -allow_undefined_flag_CXX \ -no_undefined_flag_CXX \ -hardcode_libdir_flag_spec_CXX \ -hardcode_libdir_separator_CXX \ -exclude_expsyms_CXX \ -include_expsyms_CXX \ -file_list_spec_CXX \ -compiler_lib_search_dirs_CXX \ -predep_objects_CXX \ -postdep_objects_CXX \ -predeps_CXX \ -postdeps_CXX \ -compiler_lib_search_path_CXX; do - case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in - *[\\\\\\\`\\"\\\$]*) - eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes - ;; - *) - eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" - ;; - esac -done - -# Double-quote double-evaled strings. -for var in reload_cmds \ -old_postinstall_cmds \ -old_postuninstall_cmds \ -old_archive_cmds \ -extract_expsyms_cmds \ -old_archive_from_new_cmds \ -old_archive_from_expsyms_cmds \ -archive_cmds \ -archive_expsym_cmds \ -module_cmds \ -module_expsym_cmds \ -export_symbols_cmds \ -prelink_cmds \ -postlink_cmds \ -postinstall_cmds \ -postuninstall_cmds \ -finish_cmds \ -sys_lib_search_path_spec \ -configure_time_dlsearch_path \ -configure_time_lt_sys_library_path \ -reload_cmds_CXX \ -old_archive_cmds_CXX \ -old_archive_from_new_cmds_CXX \ -old_archive_from_expsyms_cmds_CXX \ -archive_cmds_CXX \ -archive_expsym_cmds_CXX \ -module_cmds_CXX \ -module_expsym_cmds_CXX \ -export_symbols_cmds_CXX \ -prelink_cmds_CXX \ -postlink_cmds_CXX; do - case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in - *[\\\\\\\`\\"\\\$]*) - eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes - ;; - *) - eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" - ;; - esac -done - -ac_aux_dir='$ac_aux_dir' - -# See if we are running on zsh, and set the options that allow our -# commands through without removal of \ escapes INIT. -if test -n "\${ZSH_VERSION+set}"; then - setopt NO_GLOB_SUBST -fi - - - PACKAGE='$PACKAGE' - VERSION='$VERSION' - RM='$RM' - ofile='$ofile' - - - - - - -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 - -# Handling of arguments. -for ac_config_target in $ac_config_targets -do - case $ac_config_target in - "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; - "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; - "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; - "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; - "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; - "src/harfbuzz-config.cmake") CONFIG_FILES="$CONFIG_FILES src/harfbuzz-config.cmake" ;; - "util/Makefile") CONFIG_FILES="$CONFIG_FILES util/Makefile" ;; - "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;; - "test/api/Makefile") CONFIG_FILES="$CONFIG_FILES test/api/Makefile" ;; - "test/fuzzing/Makefile") CONFIG_FILES="$CONFIG_FILES test/fuzzing/Makefile" ;; - "test/shape/Makefile") CONFIG_FILES="$CONFIG_FILES test/shape/Makefile" ;; - "test/shape/data/Makefile") CONFIG_FILES="$CONFIG_FILES test/shape/data/Makefile" ;; - "test/shape/data/aots/Makefile") CONFIG_FILES="$CONFIG_FILES test/shape/data/aots/Makefile" ;; - "test/shape/data/in-house/Makefile") CONFIG_FILES="$CONFIG_FILES test/shape/data/in-house/Makefile" ;; - "test/shape/data/text-rendering-tests/Makefile") CONFIG_FILES="$CONFIG_FILES test/shape/data/text-rendering-tests/Makefile" ;; - "test/subset/Makefile") CONFIG_FILES="$CONFIG_FILES test/subset/Makefile" ;; - "test/subset/data/Makefile") CONFIG_FILES="$CONFIG_FILES test/subset/data/Makefile" ;; - "test/subset/data/repack_tests/Makefile") CONFIG_FILES="$CONFIG_FILES test/subset/data/repack_tests/Makefile" ;; - "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;; - "docs/version.xml") CONFIG_FILES="$CONFIG_FILES docs/version.xml" ;; - - *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; - esac -done - - -# If the user did not use the arguments to specify the items to instantiate, -# then the envvar interface is used. Set only those that are not. -# We use the long form for the default assignment because of an extremely -# bizarre bug on SunOS 4.1.3. -if $ac_need_defaults; then - test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files - test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers - test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands -fi - -# Have a temporary directory for convenience. Make it in the build tree -# simply because there is no reason against having it here, and in addition, -# creating and moving files from /tmp can sometimes cause problems. -# Hook for its removal unless debugging. -# Note that there is a small window in which the directory will not be cleaned: -# after its creation but before its name has been assigned to `$tmp'. -$debug || -{ - tmp= ac_tmp= - trap 'exit_status=$? - : "${ac_tmp:=$tmp}" - { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status -' 0 - trap 'as_fn_exit 1' 1 2 13 15 -} -# Create a (secure) tmp directory for tmp files. - -{ - tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && - test -d "$tmp" -} || -{ - tmp=./conf$$-$RANDOM - (umask 077 && mkdir "$tmp") -} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 -ac_tmp=$tmp - -# Set up the scripts for CONFIG_FILES section. -# No need to generate them if there are no CONFIG_FILES. -# This happens for instance with `./config.status config.h'. -if test -n "$CONFIG_FILES"; then - - -ac_cr=`echo X | tr X '\015'` -# On cygwin, bash can eat \r inside `` if the user requested igncr. -# But we know of no other shell where ac_cr would be empty at this -# point, so we can use a bashism as a fallback. -if test "x$ac_cr" = x; then - eval ac_cr=\$\'\\r\' -fi -ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` -if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then - ac_cs_awk_cr='\\r' -else - ac_cs_awk_cr=$ac_cr -fi - -echo 'BEGIN {' >"$ac_tmp/subs1.awk" && -_ACEOF - - -{ - echo "cat >conf$$subs.awk <<_ACEOF" && - echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && - echo "_ACEOF" -} >conf$$subs.sh || - as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 -ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` -ac_delim='%!_!# ' -for ac_last_try in false false false false false :; do - . ./conf$$subs.sh || - as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 - - ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` - if test $ac_delim_n = $ac_delim_num; then - break - elif $ac_last_try; then - as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 - else - ac_delim="$ac_delim!$ac_delim _$ac_delim!! " - fi -done -rm -f conf$$subs.sh - -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && -_ACEOF -sed -n ' -h -s/^/S["/; s/!.*/"]=/ -p -g -s/^[^!]*!// -:repl -t repl -s/'"$ac_delim"'$// -t delim -:nl -h -s/\(.\{148\}\)..*/\1/ -t more1 -s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ -p -n -b repl -:more1 -s/["\\]/\\&/g; s/^/"/; s/$/"\\/ -p -g -s/.\{148\}// -t nl -:delim -h -s/\(.\{148\}\)..*/\1/ -t more2 -s/["\\]/\\&/g; s/^/"/; s/$/"/ -p -b -:more2 -s/["\\]/\\&/g; s/^/"/; s/$/"\\/ -p -g -s/.\{148\}// -t delim -' >$CONFIG_STATUS || ac_write_fail=1 -rm -f conf$$subs.awk -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -_ACAWK -cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && - for (key in S) S_is_set[key] = 1 - FS = "" - -} -{ - line = $ 0 - nfields = split(line, field, "@") - substed = 0 - len = length(field[1]) - for (i = 2; i < nfields; i++) { - key = field[i] - keylen = length(key) - if (S_is_set[key]) { - value = S[key] - line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) - len += length(value) + length(field[++i]) - substed = 1 - } else - len += 1 + keylen - } - - print line -} - -_ACAWK -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then - sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" -else - cat -fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ - || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 -_ACEOF - -# VPATH may cause trouble with some makes, so we remove sole $(srcdir), -# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and -# trailing colons and then remove the whole line if VPATH becomes empty -# (actually we leave an empty line to preserve line numbers). -if test "x$srcdir" = x.; then - ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ -h -s/// -s/^/:/ -s/[ ]*$/:/ -s/:\$(srcdir):/:/g -s/:\${srcdir}:/:/g -s/:@srcdir@:/:/g -s/^:*// -s/:*$// -x -s/\(=[ ]*\).*/\1/ -G -s/\n// -s/^[^=]*=[ ]*$// -}' -fi - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -fi # test -n "$CONFIG_FILES" - -# Set up the scripts for CONFIG_HEADERS section. -# No need to generate them if there are no CONFIG_HEADERS. -# This happens for instance with `./config.status Makefile'. -if test -n "$CONFIG_HEADERS"; then -cat >"$ac_tmp/defines.awk" <<\_ACAWK || -BEGIN { -_ACEOF - -# Transform confdefs.h into an awk script `defines.awk', embedded as -# here-document in config.status, that substitutes the proper values into -# config.h.in to produce config.h. - -# Create a delimiter string that does not exist in confdefs.h, to ease -# handling of long lines. -ac_delim='%!_!# ' -for ac_last_try in false false :; do - ac_tt=`sed -n "/$ac_delim/p" confdefs.h` - if test -z "$ac_tt"; then - break - elif $ac_last_try; then - as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 - else - ac_delim="$ac_delim!$ac_delim _$ac_delim!! " - fi -done - -# For the awk script, D is an array of macro values keyed by name, -# likewise P contains macro parameters if any. Preserve backslash -# newline sequences. - -ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* -sed -n ' -s/.\{148\}/&'"$ac_delim"'/g -t rset -:rset -s/^[ ]*#[ ]*define[ ][ ]*/ / -t def -d -:def -s/\\$// -t bsnl -s/["\\]/\\&/g -s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ -D["\1"]=" \3"/p -s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p -d -:bsnl -s/["\\]/\\&/g -s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ -D["\1"]=" \3\\\\\\n"\\/p -t cont -s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p -t cont -d -:cont -n -s/.\{148\}/&'"$ac_delim"'/g -t clear -:clear -s/\\$// -t bsnlc -s/["\\]/\\&/g; s/^/"/; s/$/"/p -d -:bsnlc -s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p -b cont -' >$CONFIG_STATUS || ac_write_fail=1 - -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 - for (key in D) D_is_set[key] = 1 - FS = "" -} -/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { - line = \$ 0 - split(line, arg, " ") - if (arg[1] == "#") { - defundef = arg[2] - mac1 = arg[3] - } else { - defundef = substr(arg[1], 2) - mac1 = arg[2] - } - split(mac1, mac2, "(") #) - macro = mac2[1] - prefix = substr(line, 1, index(line, defundef) - 1) - if (D_is_set[macro]) { - # Preserve the white space surrounding the "#". - print prefix "define", macro P[macro] D[macro] - next - } else { - # Replace #undef with comments. This is necessary, for example, - # in the case of _POSIX_SOURCE, which is predefined and required - # on some systems where configure will not decide to define it. - if (defundef == "undef") { - print "/*", prefix defundef, macro, "*/" - next - } - } -} -{ print } -_ACAWK -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 - as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 -fi # test -n "$CONFIG_HEADERS" - - -eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" -shift -for ac_tag -do - case $ac_tag in - :[FHLC]) ac_mode=$ac_tag; continue;; - esac - case $ac_mode$ac_tag in - :[FHL]*:*);; - :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; - :[FH]-) ac_tag=-:-;; - :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; - esac - ac_save_IFS=$IFS - IFS=: - set x $ac_tag - IFS=$ac_save_IFS - shift - ac_file=$1 - shift - - case $ac_mode in - :L) ac_source=$1;; - :[FH]) - ac_file_inputs= - for ac_f - do - case $ac_f in - -) ac_f="$ac_tmp/stdin";; - *) # Look for the file first in the build tree, then in the source tree - # (if the path is not absolute). The absolute path cannot be DOS-style, - # because $ac_f cannot contain `:'. - test -f "$ac_f" || - case $ac_f in - [\\/$]*) false;; - *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; - esac || - as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; - esac - case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac - as_fn_append ac_file_inputs " '$ac_f'" - done - - # Let's still pretend it is `configure' which instantiates (i.e., don't - # use $as_me), people would be surprised to read: - # /* config.h. Generated by config.status. */ - configure_input='Generated from '` - $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' - `' by configure.' - if test x"$ac_file" != x-; then - configure_input="$ac_file. $configure_input" - { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 -$as_echo "$as_me: creating $ac_file" >&6;} - fi - # Neutralize special characters interpreted by sed in replacement strings. - case $configure_input in #( - *\&* | *\|* | *\\* ) - ac_sed_conf_input=`$as_echo "$configure_input" | - sed 's/[\\\\&|]/\\\\&/g'`;; #( - *) ac_sed_conf_input=$configure_input;; - esac - - case $ac_tag in - *:-:* | *:-) cat >"$ac_tmp/stdin" \ - || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; - esac - ;; - esac - - ac_dir=`$as_dirname -- "$ac_file" || -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$ac_file" : 'X\(//\)[^/]' \| \ - X"$ac_file" : 'X\(//\)$' \| \ - X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$ac_file" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - as_dir="$ac_dir"; as_fn_mkdir_p - ac_builddir=. - -case "$ac_dir" in -.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; -*) - ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` - # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` - case $ac_top_builddir_sub in - "") ac_top_builddir_sub=. ac_top_build_prefix= ;; - *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; - esac ;; -esac -ac_abs_top_builddir=$ac_pwd -ac_abs_builddir=$ac_pwd$ac_dir_suffix -# for backward compatibility: -ac_top_builddir=$ac_top_build_prefix - -case $srcdir in - .) # We are building in place. - ac_srcdir=. - ac_top_srcdir=$ac_top_builddir_sub - ac_abs_top_srcdir=$ac_pwd ;; - [\\/]* | ?:[\\/]* ) # Absolute name. - ac_srcdir=$srcdir$ac_dir_suffix; - ac_top_srcdir=$srcdir - ac_abs_top_srcdir=$srcdir ;; - *) # Relative name. - ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix - ac_top_srcdir=$ac_top_build_prefix$srcdir - ac_abs_top_srcdir=$ac_pwd/$srcdir ;; -esac -ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix - - - case $ac_mode in - :F) - # - # CONFIG_FILE - # - - case $INSTALL in - [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; - *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; - esac - ac_MKDIR_P=$MKDIR_P - case $MKDIR_P in - [\\/$]* | ?:[\\/]* ) ;; - */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; - esac -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -# If the template does not know about datarootdir, expand it. -# FIXME: This hack should be removed a few years after 2.60. -ac_datarootdir_hack=; ac_datarootdir_seen= -ac_sed_dataroot=' -/datarootdir/ { - p - q -} -/@datadir@/p -/@docdir@/p -/@infodir@/p -/@localedir@/p -/@mandir@/p' -case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in -*datarootdir*) ac_datarootdir_seen=yes;; -*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 -$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 - ac_datarootdir_hack=' - s&@datadir@&$datadir&g - s&@docdir@&$docdir&g - s&@infodir@&$infodir&g - s&@localedir@&$localedir&g - s&@mandir@&$mandir&g - s&\\\${datarootdir}&$datarootdir&g' ;; -esac -_ACEOF - -# Neutralize VPATH when `$srcdir' = `.'. -# Shell code in configure.ac might set extrasub. -# FIXME: do we really want to maintain this feature? -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -ac_sed_extra="$ac_vpsub -$extrasub -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -:t -/@[a-zA-Z_][a-zA-Z_0-9]*@/!b -s|@configure_input@|$ac_sed_conf_input|;t t -s&@top_builddir@&$ac_top_builddir_sub&;t t -s&@top_build_prefix@&$ac_top_build_prefix&;t t -s&@srcdir@&$ac_srcdir&;t t -s&@abs_srcdir@&$ac_abs_srcdir&;t t -s&@top_srcdir@&$ac_top_srcdir&;t t -s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t -s&@builddir@&$ac_builddir&;t t -s&@abs_builddir@&$ac_abs_builddir&;t t -s&@abs_top_builddir@&$ac_abs_top_builddir&;t t -s&@INSTALL@&$ac_INSTALL&;t t -s&@MKDIR_P@&$ac_MKDIR_P&;t t -$ac_datarootdir_hack -" -eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ - >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 - -test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && - { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && - { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ - "$ac_tmp/out"`; test -z "$ac_out"; } && - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' -which seems to be undefined. Please make sure it is defined" >&5 -$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' -which seems to be undefined. Please make sure it is defined" >&2;} - - rm -f "$ac_tmp/stdin" - case $ac_file in - -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; - *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; - esac \ - || as_fn_error $? "could not create $ac_file" "$LINENO" 5 - ;; - :H) - # - # CONFIG_HEADER - # - if test x"$ac_file" != x-; then - { - $as_echo "/* $configure_input */" \ - && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" - } >"$ac_tmp/config.h" \ - || as_fn_error $? "could not create $ac_file" "$LINENO" 5 - if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then - { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 -$as_echo "$as_me: $ac_file is unchanged" >&6;} - else - rm -f "$ac_file" - mv "$ac_tmp/config.h" "$ac_file" \ - || as_fn_error $? "could not create $ac_file" "$LINENO" 5 - fi - else - $as_echo "/* $configure_input */" \ - && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ - || as_fn_error $? "could not create -" "$LINENO" 5 - fi -# Compute "$ac_file"'s index in $config_headers. -_am_arg="$ac_file" -_am_stamp_count=1 -for _am_header in $config_headers :; do - case $_am_header in - $_am_arg | $_am_arg:* ) - break ;; - * ) - _am_stamp_count=`expr $_am_stamp_count + 1` ;; - esac -done -echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || -$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$_am_arg" : 'X\(//\)[^/]' \| \ - X"$_am_arg" : 'X\(//\)$' \| \ - X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$_am_arg" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'`/stamp-h$_am_stamp_count - ;; - - :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 -$as_echo "$as_me: executing $ac_file commands" >&6;} - ;; - esac - - - case $ac_file$ac_mode in - "depfiles":C) test x"$AMDEP_TRUE" != x"" || { - # Older Autoconf quotes --file arguments for eval, but not when files - # are listed without --file. Let's play safe and only enable the eval - # if we detect the quoting. - # TODO: see whether this extra hack can be removed once we start - # requiring Autoconf 2.70 or later. - case $CONFIG_FILES in #( - *\'*) : - eval set x "$CONFIG_FILES" ;; #( - *) : - set x $CONFIG_FILES ;; #( - *) : - ;; -esac - shift - # Used to flag and report bootstrapping failures. - am_rc=0 - for am_mf - do - # Strip MF so we end up with the name of the file. - am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'` - # Check whether this is an Automake generated Makefile which includes - # dependency-tracking related rules and includes. - # Grep'ing the whole file directly is not great: AIX grep has a line - # limit of 2048, but all sed's we know have understand at least 4000. - sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ - || continue - am_dirpart=`$as_dirname -- "$am_mf" || -$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$am_mf" : 'X\(//\)[^/]' \| \ - X"$am_mf" : 'X\(//\)$' \| \ - X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$am_mf" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - am_filepart=`$as_basename -- "$am_mf" || -$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \ - X"$am_mf" : 'X\(//\)$' \| \ - X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X/"$am_mf" | - sed '/^.*\/\([^/][^/]*\)\/*$/{ - s//\1/ - q - } - /^X\/\(\/\/\)$/{ - s//\1/ - q - } - /^X\/\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - { echo "$as_me:$LINENO: cd "$am_dirpart" \ - && sed -e '/# am--include-marker/d' "$am_filepart" \ - | $MAKE -f - am--depfiles" >&5 - (cd "$am_dirpart" \ - && sed -e '/# am--include-marker/d' "$am_filepart" \ - | $MAKE -f - am--depfiles) >&5 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } || am_rc=$? - done - if test $am_rc -ne 0; then - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "Something went wrong bootstrapping makefile fragments - for automatic dependency tracking. Try re-running configure with the - '--disable-dependency-tracking' option to at least be able to build - the package (albeit without support for automatic dependency tracking). -See \`config.log' for more details" "$LINENO" 5; } - fi - { am_dirpart=; unset am_dirpart;} - { am_filepart=; unset am_filepart;} - { am_mf=; unset am_mf;} - { am_rc=; unset am_rc;} - rm -f conftest-deps.mk -} - ;; - "libtool":C) - - # See if we are running on zsh, and set the options that allow our - # commands through without removal of \ escapes. - if test -n "${ZSH_VERSION+set}"; then - setopt NO_GLOB_SUBST - fi - - cfgfile=${ofile}T - trap "$RM \"$cfgfile\"; exit 1" 1 2 15 - $RM "$cfgfile" - - cat <<_LT_EOF >> "$cfgfile" -#! $SHELL -# Generated automatically by $as_me ($PACKAGE) $VERSION -# NOTE: Changes made to this file will be lost: look at ltmain.sh. - -# Provide generalized library-building support services. -# Written by Gordon Matzigkeit, 1996 - -# Copyright (C) 2014 Free Software Foundation, Inc. -# This is free software; see the source for copying conditions. There is NO -# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - -# GNU Libtool is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of of the License, or -# (at your option) any later version. -# -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program or library that is built -# using GNU Libtool, you may include this file under the same -# distribution terms that you use for the rest of that program. -# -# GNU Libtool is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . - - -# The names of the tagged configurations supported by this script. -available_tags='CXX ' - -# Configured defaults for sys_lib_dlsearch_path munging. -: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} - -# ### BEGIN LIBTOOL CONFIG - -# Which release of libtool.m4 was used? -macro_version=$macro_version -macro_revision=$macro_revision - -# Whether or not to build static libraries. -build_old_libs=$enable_static - -# Whether or not to build shared libraries. -build_libtool_libs=$enable_shared - -# What type of objects to build. -pic_mode=$pic_mode - -# Whether or not to optimize for fast installation. -fast_install=$enable_fast_install - -# Shared archive member basename,for filename based shared library versioning on AIX. -shared_archive_member_spec=$shared_archive_member_spec - -# Shell to use when invoking shell scripts. -SHELL=$lt_SHELL - -# An echo program that protects backslashes. -ECHO=$lt_ECHO - -# The PATH separator for the build system. -PATH_SEPARATOR=$lt_PATH_SEPARATOR - -# The host system. -host_alias=$host_alias -host=$host -host_os=$host_os - -# The build system. -build_alias=$build_alias -build=$build -build_os=$build_os - -# A sed program that does not truncate output. -SED=$lt_SED - -# Sed that helps us avoid accidentally triggering echo(1) options like -n. -Xsed="\$SED -e 1s/^X//" - -# A grep program that handles long lines. -GREP=$lt_GREP - -# An ERE matcher. -EGREP=$lt_EGREP - -# A literal string matcher. -FGREP=$lt_FGREP - -# A BSD- or MS-compatible name lister. -NM=$lt_NM - -# Whether we need soft or hard links. -LN_S=$lt_LN_S - -# What is the maximum length of a command? -max_cmd_len=$max_cmd_len - -# Object file suffix (normally "o"). -objext=$ac_objext - -# Executable file suffix (normally ""). -exeext=$exeext - -# whether the shell understands "unset". -lt_unset=$lt_unset - -# turn spaces into newlines. -SP2NL=$lt_lt_SP2NL - -# turn newlines into spaces. -NL2SP=$lt_lt_NL2SP - -# convert \$build file names to \$host format. -to_host_file_cmd=$lt_cv_to_host_file_cmd - -# convert \$build files to toolchain format. -to_tool_file_cmd=$lt_cv_to_tool_file_cmd - -# An object symbol dumper. -OBJDUMP=$lt_OBJDUMP - -# Method to check whether dependent libraries are shared objects. -deplibs_check_method=$lt_deplibs_check_method - -# Command to use when deplibs_check_method = "file_magic". -file_magic_cmd=$lt_file_magic_cmd - -# How to find potential files when deplibs_check_method = "file_magic". -file_magic_glob=$lt_file_magic_glob - -# Find potential files using nocaseglob when deplibs_check_method = "file_magic". -want_nocaseglob=$lt_want_nocaseglob - -# DLL creation program. -DLLTOOL=$lt_DLLTOOL - -# Command to associate shared and link libraries. -sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd - -# The archiver. -AR=$lt_AR - -# Flags to create an archive. -AR_FLAGS=$lt_AR_FLAGS - -# How to feed a file listing to the archiver. -archiver_list_spec=$lt_archiver_list_spec - -# A symbol stripping program. -STRIP=$lt_STRIP - -# Commands used to install an old-style archive. -RANLIB=$lt_RANLIB -old_postinstall_cmds=$lt_old_postinstall_cmds -old_postuninstall_cmds=$lt_old_postuninstall_cmds - -# Whether to use a lock for old archive extraction. -lock_old_archive_extraction=$lock_old_archive_extraction - -# A C compiler. -LTCC=$lt_CC - -# LTCC compiler flags. -LTCFLAGS=$lt_CFLAGS - -# Take the output of nm and produce a listing of raw symbols and C names. -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe - -# Transform the output of nm in a proper C declaration. -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl - -# Transform the output of nm into a list of symbols to manually relocate. -global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import - -# Transform the output of nm in a C name address pair. -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address - -# Transform the output of nm in a C name address pair when lib prefix is needed. -global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix - -# The name lister interface. -nm_interface=$lt_lt_cv_nm_interface - -# Specify filename containing input files for \$NM. -nm_file_list_spec=$lt_nm_file_list_spec - -# The root where to search for dependent libraries,and where our libraries should be installed. -lt_sysroot=$lt_sysroot - -# Command to truncate a binary pipe. -lt_truncate_bin=$lt_lt_cv_truncate_bin - -# The name of the directory that contains temporary libtool files. -objdir=$objdir - -# Used to examine libraries when file_magic_cmd begins with "file". -MAGIC_CMD=$MAGIC_CMD - -# Must we lock files when doing compilation? -need_locks=$lt_need_locks - -# Manifest tool. -MANIFEST_TOOL=$lt_MANIFEST_TOOL - -# Tool to manipulate archived DWARF debug symbol files on Mac OS X. -DSYMUTIL=$lt_DSYMUTIL - -# Tool to change global to local symbols on Mac OS X. -NMEDIT=$lt_NMEDIT - -# Tool to manipulate fat objects and archives on Mac OS X. -LIPO=$lt_LIPO - -# ldd/readelf like tool for Mach-O binaries on Mac OS X. -OTOOL=$lt_OTOOL - -# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. -OTOOL64=$lt_OTOOL64 - -# Old archive suffix (normally "a"). -libext=$libext - -# Shared library suffix (normally ".so"). -shrext_cmds=$lt_shrext_cmds - -# The commands to extract the exported symbol list from a shared archive. -extract_expsyms_cmds=$lt_extract_expsyms_cmds - -# Variables whose values should be saved in libtool wrapper scripts and -# restored at link time. -variables_saved_for_relink=$lt_variables_saved_for_relink - -# Do we need the "lib" prefix for modules? -need_lib_prefix=$need_lib_prefix - -# Do we need a version for libraries? -need_version=$need_version - -# Library versioning type. -version_type=$version_type - -# Shared library runtime path variable. -runpath_var=$runpath_var - -# Shared library path variable. -shlibpath_var=$shlibpath_var - -# Is shlibpath searched before the hard-coded library search path? -shlibpath_overrides_runpath=$shlibpath_overrides_runpath - -# Format of library name prefix. -libname_spec=$lt_libname_spec - -# List of archive names. First name is the real one, the rest are links. -# The last name is the one that the linker finds with -lNAME -library_names_spec=$lt_library_names_spec - -# The coded name of the library, if different from the real name. -soname_spec=$lt_soname_spec - -# Permission mode override for installation of shared libraries. -install_override_mode=$lt_install_override_mode - -# Command to use after installation of a shared archive. -postinstall_cmds=$lt_postinstall_cmds - -# Command to use after uninstallation of a shared archive. -postuninstall_cmds=$lt_postuninstall_cmds - -# Commands used to finish a libtool library installation in a directory. -finish_cmds=$lt_finish_cmds - -# As "finish_cmds", except a single script fragment to be evaled but -# not shown. -finish_eval=$lt_finish_eval - -# Whether we should hardcode library paths into libraries. -hardcode_into_libs=$hardcode_into_libs - -# Compile-time system search path for libraries. -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec - -# Detected run-time system search path for libraries. -sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path - -# Explicit LT_SYS_LIBRARY_PATH set during ./configure time. -configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path - -# Whether dlopen is supported. -dlopen_support=$enable_dlopen - -# Whether dlopen of programs is supported. -dlopen_self=$enable_dlopen_self - -# Whether dlopen of statically linked programs is supported. -dlopen_self_static=$enable_dlopen_self_static - -# Commands to strip libraries. -old_striplib=$lt_old_striplib -striplib=$lt_striplib - - -# The linker used to build libraries. -LD=$lt_LD - -# How to create reloadable object files. -reload_flag=$lt_reload_flag -reload_cmds=$lt_reload_cmds - -# Commands used to build an old-style archive. -old_archive_cmds=$lt_old_archive_cmds - -# A language specific compiler. -CC=$lt_compiler - -# Is the compiler the GNU compiler? -with_gcc=$GCC - -# Compiler flag to turn off builtin functions. -no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag - -# Additional compiler flags for building library objects. -pic_flag=$lt_lt_prog_compiler_pic - -# How to pass a linker flag through the compiler. -wl=$lt_lt_prog_compiler_wl - -# Compiler flag to prevent dynamic linking. -link_static_flag=$lt_lt_prog_compiler_static - -# Does compiler simultaneously support -c and -o options? -compiler_c_o=$lt_lt_cv_prog_compiler_c_o - -# Whether or not to add -lc for building shared libraries. -build_libtool_need_lc=$archive_cmds_need_lc - -# Whether or not to disallow shared libs when runtime libs are static. -allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes - -# Compiler flag to allow reflexive dlopens. -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec - -# Compiler flag to generate shared objects directly from archives. -whole_archive_flag_spec=$lt_whole_archive_flag_spec - -# Whether the compiler copes with passing no objects directly. -compiler_needs_object=$lt_compiler_needs_object - -# Create an old-style archive from a shared archive. -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds - -# Create a temporary old-style archive to link instead of a shared archive. -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds - -# Commands used to build a shared archive. -archive_cmds=$lt_archive_cmds -archive_expsym_cmds=$lt_archive_expsym_cmds - -# Commands used to build a loadable module if different from building -# a shared archive. -module_cmds=$lt_module_cmds -module_expsym_cmds=$lt_module_expsym_cmds - -# Whether we are building with GNU ld or not. -with_gnu_ld=$lt_with_gnu_ld - -# Flag that allows shared libraries with undefined symbols to be built. -allow_undefined_flag=$lt_allow_undefined_flag - -# Flag that enforces no undefined symbols. -no_undefined_flag=$lt_no_undefined_flag - -# Flag to hardcode \$libdir into a binary during linking. -# This must work even if \$libdir does not exist -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec - -# Whether we need a single "-rpath" flag with a separated argument. -hardcode_libdir_separator=$lt_hardcode_libdir_separator - -# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes -# DIR into the resulting binary. -hardcode_direct=$hardcode_direct - -# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes -# DIR into the resulting binary and the resulting library dependency is -# "absolute",i.e impossible to change by setting \$shlibpath_var if the -# library is relocated. -hardcode_direct_absolute=$hardcode_direct_absolute - -# Set to "yes" if using the -LDIR flag during linking hardcodes DIR -# into the resulting binary. -hardcode_minus_L=$hardcode_minus_L - -# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR -# into the resulting binary. -hardcode_shlibpath_var=$hardcode_shlibpath_var - -# Set to "yes" if building a shared library automatically hardcodes DIR -# into the library and all subsequent libraries and executables linked -# against it. -hardcode_automatic=$hardcode_automatic - -# Set to yes if linker adds runtime paths of dependent libraries -# to runtime path list. -inherit_rpath=$inherit_rpath - -# Whether libtool must link a program against all its dependency libraries. -link_all_deplibs=$link_all_deplibs - -# Set to "yes" if exported symbols are required. -always_export_symbols=$always_export_symbols - -# The commands to list exported symbols. -export_symbols_cmds=$lt_export_symbols_cmds - -# Symbols that should not be listed in the preloaded symbols. -exclude_expsyms=$lt_exclude_expsyms - -# Symbols that must always be exported. -include_expsyms=$lt_include_expsyms - -# Commands necessary for linking programs (against libraries) with templates. -prelink_cmds=$lt_prelink_cmds - -# Commands necessary for finishing linking programs. -postlink_cmds=$lt_postlink_cmds - -# Specify filename containing input files. -file_list_spec=$lt_file_list_spec - -# How to hardcode a shared library path into an executable. -hardcode_action=$hardcode_action - -# The directories searched by this compiler when creating a shared library. -compiler_lib_search_dirs=$lt_compiler_lib_search_dirs - -# Dependencies to place before and after the objects being linked to -# create a shared library. -predep_objects=$lt_predep_objects -postdep_objects=$lt_postdep_objects -predeps=$lt_predeps -postdeps=$lt_postdeps - -# The library search path used internally by the compiler when linking -# a shared library. -compiler_lib_search_path=$lt_compiler_lib_search_path - -# ### END LIBTOOL CONFIG - -_LT_EOF - - cat <<'_LT_EOF' >> "$cfgfile" - -# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE - -# func_munge_path_list VARIABLE PATH -# ----------------------------------- -# VARIABLE is name of variable containing _space_ separated list of -# directories to be munged by the contents of PATH, which is string -# having a format: -# "DIR[:DIR]:" -# string "DIR[ DIR]" will be prepended to VARIABLE -# ":DIR[:DIR]" -# string "DIR[ DIR]" will be appended to VARIABLE -# "DIRP[:DIRP]::[DIRA:]DIRA" -# string "DIRP[ DIRP]" will be prepended to VARIABLE and string -# "DIRA[ DIRA]" will be appended to VARIABLE -# "DIR[:DIR]" -# VARIABLE will be replaced by "DIR[ DIR]" -func_munge_path_list () -{ - case x$2 in - x) - ;; - *:) - eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" - ;; - x:*) - eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" - ;; - *::*) - eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" - eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" - ;; - *) - eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" - ;; - esac -} - - -# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. -func_cc_basename () -{ - for cc_temp in $*""; do - case $cc_temp in - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; - \-*) ;; - *) break;; - esac - done - func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` -} - - -# ### END FUNCTIONS SHARED WITH CONFIGURE - -_LT_EOF - - case $host_os in - aix3*) - cat <<\_LT_EOF >> "$cfgfile" -# AIX sometimes has problems with the GCC collect2 program. For some -# reason, if we set the COLLECT_NAMES environment variable, the problems -# vanish in a puff of smoke. -if test set != "${COLLECT_NAMES+set}"; then - COLLECT_NAMES= - export COLLECT_NAMES -fi -_LT_EOF - ;; - esac - - -ltmain=$ac_aux_dir/ltmain.sh - - - # We use sed instead of cat because bash on DJGPP gets confused if - # if finds mixed CR/LF and LF-only lines. Since sed operates in - # text mode, it properly converts lines to CR/LF. This bash problem - # is reportedly fixed, but why not run on old versions too? - sed '$q' "$ltmain" >> "$cfgfile" \ - || (rm -f "$cfgfile"; exit 1) - - mv -f "$cfgfile" "$ofile" || - (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") - chmod +x "$ofile" - - - cat <<_LT_EOF >> "$ofile" - -# ### BEGIN LIBTOOL TAG CONFIG: CXX - -# The linker used to build libraries. -LD=$lt_LD_CXX - -# How to create reloadable object files. -reload_flag=$lt_reload_flag_CXX -reload_cmds=$lt_reload_cmds_CXX - -# Commands used to build an old-style archive. -old_archive_cmds=$lt_old_archive_cmds_CXX - -# A language specific compiler. -CC=$lt_compiler_CXX - -# Is the compiler the GNU compiler? -with_gcc=$GCC_CXX - -# Compiler flag to turn off builtin functions. -no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX - -# Additional compiler flags for building library objects. -pic_flag=$lt_lt_prog_compiler_pic_CXX - -# How to pass a linker flag through the compiler. -wl=$lt_lt_prog_compiler_wl_CXX - -# Compiler flag to prevent dynamic linking. -link_static_flag=$lt_lt_prog_compiler_static_CXX - -# Does compiler simultaneously support -c and -o options? -compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX - -# Whether or not to add -lc for building shared libraries. -build_libtool_need_lc=$archive_cmds_need_lc_CXX - -# Whether or not to disallow shared libs when runtime libs are static. -allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX - -# Compiler flag to allow reflexive dlopens. -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX - -# Compiler flag to generate shared objects directly from archives. -whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX - -# Whether the compiler copes with passing no objects directly. -compiler_needs_object=$lt_compiler_needs_object_CXX - -# Create an old-style archive from a shared archive. -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX - -# Create a temporary old-style archive to link instead of a shared archive. -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX - -# Commands used to build a shared archive. -archive_cmds=$lt_archive_cmds_CXX -archive_expsym_cmds=$lt_archive_expsym_cmds_CXX - -# Commands used to build a loadable module if different from building -# a shared archive. -module_cmds=$lt_module_cmds_CXX -module_expsym_cmds=$lt_module_expsym_cmds_CXX - -# Whether we are building with GNU ld or not. -with_gnu_ld=$lt_with_gnu_ld_CXX - -# Flag that allows shared libraries with undefined symbols to be built. -allow_undefined_flag=$lt_allow_undefined_flag_CXX - -# Flag that enforces no undefined symbols. -no_undefined_flag=$lt_no_undefined_flag_CXX - -# Flag to hardcode \$libdir into a binary during linking. -# This must work even if \$libdir does not exist -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX - -# Whether we need a single "-rpath" flag with a separated argument. -hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX - -# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes -# DIR into the resulting binary. -hardcode_direct=$hardcode_direct_CXX - -# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes -# DIR into the resulting binary and the resulting library dependency is -# "absolute",i.e impossible to change by setting \$shlibpath_var if the -# library is relocated. -hardcode_direct_absolute=$hardcode_direct_absolute_CXX - -# Set to "yes" if using the -LDIR flag during linking hardcodes DIR -# into the resulting binary. -hardcode_minus_L=$hardcode_minus_L_CXX - -# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR -# into the resulting binary. -hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX - -# Set to "yes" if building a shared library automatically hardcodes DIR -# into the library and all subsequent libraries and executables linked -# against it. -hardcode_automatic=$hardcode_automatic_CXX - -# Set to yes if linker adds runtime paths of dependent libraries -# to runtime path list. -inherit_rpath=$inherit_rpath_CXX - -# Whether libtool must link a program against all its dependency libraries. -link_all_deplibs=$link_all_deplibs_CXX - -# Set to "yes" if exported symbols are required. -always_export_symbols=$always_export_symbols_CXX - -# The commands to list exported symbols. -export_symbols_cmds=$lt_export_symbols_cmds_CXX - -# Symbols that should not be listed in the preloaded symbols. -exclude_expsyms=$lt_exclude_expsyms_CXX - -# Symbols that must always be exported. -include_expsyms=$lt_include_expsyms_CXX - -# Commands necessary for linking programs (against libraries) with templates. -prelink_cmds=$lt_prelink_cmds_CXX - -# Commands necessary for finishing linking programs. -postlink_cmds=$lt_postlink_cmds_CXX - -# Specify filename containing input files. -file_list_spec=$lt_file_list_spec_CXX - -# How to hardcode a shared library path into an executable. -hardcode_action=$hardcode_action_CXX - -# The directories searched by this compiler when creating a shared library. -compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX - -# Dependencies to place before and after the objects being linked to -# create a shared library. -predep_objects=$lt_predep_objects_CXX -postdep_objects=$lt_postdep_objects_CXX -predeps=$lt_predeps_CXX -postdeps=$lt_postdeps_CXX - -# The library search path used internally by the compiler when linking -# a shared library. -compiler_lib_search_path=$lt_compiler_lib_search_path_CXX - -# ### END LIBTOOL TAG CONFIG: CXX -_LT_EOF - - ;; - - esac -done # for ac_tag - - -as_fn_exit 0 -_ACEOF -ac_clean_files=$ac_clean_files_save - -test $ac_write_fail = 0 || - as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 - - -# configure is writing to config.log, and then calls config.status. -# config.status does its own redirection, appending to config.log. -# Unfortunately, on DOS this fails, as config.log is still kept open -# by configure, so config.status won't be able to write to it; its -# output is simply discarded. So we exec the FD to /dev/null, -# effectively closing config.log, so it can be properly (re)opened and -# appended to by config.status. When coming back to configure, we -# need to make the FD available again. -if test "$no_create" != yes; then - ac_cs_success=: - ac_config_status_args= - test "$silent" = yes && - ac_config_status_args="$ac_config_status_args --quiet" - exec 5>/dev/null - $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false - exec 5>>config.log - # Use ||, not &&, to avoid exiting from the if with $? = 1, which - # would make configure fail if this is the last instruction. - $ac_cs_success || as_fn_exit 1 -fi -if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 -$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} -fi - - -echo -echo "C++ compiler version:" -$CXX --version -echo - -{ $as_echo "$as_me:${as_lineno-$LINENO}: - -Autotools is no longer our supported build system for building the library -for *nix distributions, please migrate to meson. - -" >&5 -$as_echo "$as_me: - -Autotools is no longer our supported build system for building the library -for *nix distributions, please migrate to meson. - -" >&6;} - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: - -Build configuration: - -Unicode callbacks (you want at least one): - Builtin true - Glib: ${have_glib} - ICU: ${have_icu} - -Font callbacks (the more the merrier): - FreeType: ${have_freetype} - -Tools used for command-line utilities: - Cairo: ${have_cairo} - Chafa: ${have_chafa} - -Additional shapers: - Graphite2: ${have_graphite2} - -Platform shapers (not normally needed): - CoreText: ${have_coretext} - DirectWrite: ${have_directwrite} - GDI: ${have_gdi} - Uniscribe: ${have_uniscribe} - -Other features: - Documentation: ${enable_gtk_doc} - GObject bindings: ${have_gobject} - Introspection: ${have_introspection} -" >&5 -$as_echo "$as_me: - -Build configuration: - -Unicode callbacks (you want at least one): - Builtin true - Glib: ${have_glib} - ICU: ${have_icu} - -Font callbacks (the more the merrier): - FreeType: ${have_freetype} - -Tools used for command-line utilities: - Cairo: ${have_cairo} - Chafa: ${have_chafa} - -Additional shapers: - Graphite2: ${have_graphite2} - -Platform shapers (not normally needed): - CoreText: ${have_coretext} - DirectWrite: ${have_directwrite} - GDI: ${have_gdi} - Uniscribe: ${have_uniscribe} - -Other features: - Documentation: ${enable_gtk_doc} - GObject bindings: ${have_gobject} - Introspection: ${have_introspection} -" >&6;} diff --git a/harfbuzz/configure.ac b/harfbuzz/configure.ac deleted file mode 100644 index 605cfbe..0000000 --- a/harfbuzz/configure.ac +++ /dev/null @@ -1,484 +0,0 @@ -AC_PREREQ([2.64]) -AC_INIT([HarfBuzz], - [3.2.0], - [https://github.com/harfbuzz/harfbuzz/issues/new], - [harfbuzz], - [http://harfbuzz.org/]) - -AC_CONFIG_MACRO_DIR([m4]) -AC_CONFIG_SRCDIR([src/harfbuzz.pc.in]) -AC_CONFIG_HEADERS([config.h]) - -AM_INIT_AUTOMAKE([1.13.0 gnits tar-ustar dist-xz no-dist-gzip -Wall no-define color-tests -Wno-portability]) -AM_SILENT_RULES([yes]) -AX_CODE_COVERAGE - -# Initialize libtool -m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) -LT_PREREQ([2.2]) -LT_INIT([disable-static]) - -# Check for programs -AC_PROG_CC -AC_PROG_CC_C99 -AM_PROG_CC_C_O -AC_PROG_CXX -AX_CXX_COMPILE_STDCXX(11) -AC_SYS_LARGEFILE -PKG_PROG_PKG_CONFIG([0.28]) -AM_MISSING_PROG([RAGEL], [ragel]) -AM_MISSING_PROG([GIT], [git]) - -# Version -m4_define(hb_version_triplet,m4_split(AC_PACKAGE_VERSION,[[.]])) -m4_define(hb_version_major,m4_argn(1,hb_version_triplet)) -m4_define(hb_version_minor,m4_argn(2,hb_version_triplet)) -m4_define(hb_version_micro,m4_argn(3,hb_version_triplet)) -HB_VERSION_MAJOR=hb_version_major -HB_VERSION_MINOR=hb_version_minor -HB_VERSION_MICRO=hb_version_micro -HB_VERSION=AC_PACKAGE_VERSION -AC_SUBST(HB_VERSION_MAJOR) -AC_SUBST(HB_VERSION_MINOR) -AC_SUBST(HB_VERSION_MICRO) -AC_SUBST(HB_VERSION) - -# Libtool version -m4_define([hb_version_int], - m4_eval(hb_version_major*10000 + hb_version_minor*100 + hb_version_micro)) -HB_LIBTOOL_VERSION_INFO=hb_version_int:0:hb_version_int -AC_SUBST(HB_LIBTOOL_VERSION_INFO) - -AC_ARG_WITH([libstdc++], - [AS_HELP_STRING([--with-libstdc++=@<:@yes/no@:>@], - [Allow linking with libstdc++ @<:@default=no@:>@])], - [with_libstdcxx=$withval], - [with_libstdcxx=no]) -AM_CONDITIONAL(WITH_LIBSTDCXX, [test "x$with_libstdcxx" = "xyes"]) - -# Documentation -have_gtk_doc=false -m4_ifdef([GTK_DOC_CHECK], [ -GTK_DOC_CHECK([1.15],[--flavour no-tmpl]) - if test "x$enable_gtk_doc" = xyes; then - have_gtk_doc=true - fi -], [ - AM_CONDITIONAL([ENABLE_GTK_DOC], false) -]) - -# Functions and headers -AC_CHECK_FUNCS(atexit mprotect sysconf getpagesize mmap isatty) -AC_CHECK_HEADERS(unistd.h sys/mman.h stdbool.h) - -# Compiler flags -AC_CANONICAL_HOST -AC_CHECK_ALIGNOF([struct{char;}]) -if test "x$GCC" = "xyes"; then - - # Make symbols link locally - AX_CHECK_LINK_FLAG([[-Bsymbolic-functions]], [LDFLAGS="$LDFLAGS -Bsymbolic-functions"]) - - # Make it possible to not link to libstdc++ - # No threadsafe statics in C++ as we do it ourselves. - # We don't use these features, so it's safe to disable them - # even in the cases where we DO link to libstdc++. - # Put -fno-rtti before $CXXFLAGS such that users can re-enable it - # by overriding CXXFLAGS. - CXXFLAGS="-fno-rtti $CXXFLAGS -fno-exceptions -fno-threadsafe-statics" - - case "$host" in - *-*-mingw*) - ;; - *) - # Hide inline methods - CXXFLAGS="$CXXFLAGS -fvisibility-inlines-hidden" - ;; - esac - - case "$host" in - arm-*-*) - if test "x$ac_cv_alignof_struct_char__" != x1; then - # Request byte alignment - CXXFLAGS="$CXXFLAGS -mstructure-size-boundary=8" - fi - ;; - esac -fi - -AM_CONDITIONAL(HAVE_GCC, test "x$GCC" = "xyes") - -hb_os_win32=no -AC_MSG_CHECKING([for native Win32]) -case "$host" in - *-*-mingw*) - hb_os_win32=yes - ;; -esac -AC_MSG_RESULT([$hb_os_win32]) -AM_CONDITIONAL(OS_WIN32, test "$hb_os_win32" = "yes") - -have_pthread=false -AX_PTHREAD([have_pthread=true]) -if $have_pthread; then - AC_DEFINE(HAVE_PTHREAD, 1, [Have POSIX threads]) -fi -AM_CONDITIONAL(HAVE_PTHREAD, $have_pthread) - -dnl ========================================================================== - -AC_ARG_WITH(glib, - [AS_HELP_STRING([--with-glib=@<:@yes/no/auto@:>@], - [Use glib @<:@default=auto@:>@])],, - [with_glib=auto]) -have_glib=false -GLIB_DEPS="glib-2.0 >= 2.19.1" -AC_SUBST(GLIB_DEPS) -if test "x$with_glib" = "xyes" -o "x$with_glib" = "xauto"; then - PKG_CHECK_MODULES(GLIB, $GLIB_DEPS, have_glib=true, :) -fi -if test "x$with_glib" = "xyes" -a "x$have_glib" != "xtrue"; then - AC_MSG_ERROR([glib support requested but glib-2.0 not found]) -fi -if $have_glib; then - AC_DEFINE(HAVE_GLIB, 1, [Have glib2 library]) -fi -AM_CONDITIONAL(HAVE_GLIB, $have_glib) - -dnl =========================================================================== - -AC_ARG_WITH(gobject, - [AS_HELP_STRING([--with-gobject=@<:@yes/no/auto@:>@], - [Use gobject @<:@default=no@:>@])],, - [with_gobject=no]) -have_gobject=false -if test "x$with_gobject" = "xyes" -o "x$with_gobject" = "xauto"; then - PKG_CHECK_MODULES(GOBJECT, gobject-2.0 glib-2.0, have_gobject=true, :) -fi -if test "x$with_gobject" = "xyes" -a "x$have_gobject" != "xtrue"; then - AC_MSG_ERROR([gobject support requested but gobject-2.0 / glib-2.0 not found]) -fi -if $have_gobject; then - AC_DEFINE(HAVE_GOBJECT, 1, [Have gobject2 library]) - GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0` - AC_SUBST(GLIB_MKENUMS) -fi -AM_CONDITIONAL(HAVE_GOBJECT, $have_gobject) -AC_SUBST(have_gobject) - -dnl =========================================================================== - - -dnl =========================================================================== -# Gobject-Introspection -have_introspection=false -m4_ifdef([GOBJECT_INTROSPECTION_CHECK], [ - if $have_gobject; then - GOBJECT_INTROSPECTION_CHECK([1.34.0]) - if test "x$found_introspection" = xyes; then - have_introspection=true - fi - else - AM_CONDITIONAL([HAVE_INTROSPECTION], false) - fi -], [ - AM_CONDITIONAL([HAVE_INTROSPECTION], false) -]) - -dnl ========================================================================== - -AC_ARG_WITH(cairo, - [AS_HELP_STRING([--with-cairo=@<:@yes/no/auto@:>@], - [Use cairo @<:@default=auto@:>@])],, - [with_cairo=auto]) -have_cairo=false -if test "x$with_cairo" = "xyes" -o "x$with_cairo" = "xauto"; then - PKG_CHECK_MODULES(CAIRO, cairo >= 1.8.0, have_cairo=true, :) -fi -if test "x$with_cairo" = "xyes" -a "x$have_cairo" != "xtrue"; then - AC_MSG_ERROR([cairo support requested but not found]) -fi -if $have_cairo; then - AC_DEFINE(HAVE_CAIRO, 1, [Have cairo graphics library]) -fi -AM_CONDITIONAL(HAVE_CAIRO, $have_cairo) - -have_cairo_ft=false -if $have_cairo; then - PKG_CHECK_MODULES(CAIRO_FT, cairo-ft, have_cairo_ft=true, :) -fi -if $have_cairo_ft; then - AC_DEFINE(HAVE_CAIRO_FT, 1, [Have cairo-ft support in cairo graphics library]) -fi -AM_CONDITIONAL(HAVE_CAIRO_FT, $have_cairo_ft) - -dnl ========================================================================== - -AC_ARG_WITH(chafa, - [AS_HELP_STRING([--with-chafa=@<:@yes/no/auto@:>@], - [Use chafa @<:@default=auto@:>@])],, - [with_chafa=auto]) -have_chafa=false -if test "x$with_chafa" = "xyes" -o "x$with_chafa" = "xauto"; then - PKG_CHECK_MODULES(CHAFA, chafa >= 1.6.0, have_chafa=true, :) -fi -if test "x$with_chafa" = "xyes" -a "x$have_chafa" != "xtrue"; then - AC_MSG_ERROR([chafa support requested but not found]) -fi -if $have_chafa; then - AC_DEFINE(HAVE_CHAFA, 1, [Have chafa terminal graphics library]) -fi -AM_CONDITIONAL(HAVE_CHAFA, $have_chafa) - -dnl ========================================================================== - -AC_ARG_WITH(icu, - [AS_HELP_STRING([--with-icu=@<:@yes/no/builtin/auto@:>@], - [Use ICU @<:@default=auto@:>@])],, - [with_icu=auto]) -have_icu=false -if test "x$with_icu" = "xyes" -o "x$with_icu" = "xbuiltin" -o "x$with_icu" = "xauto"; then - PKG_CHECK_MODULES(ICU, icu-uc, have_icu=true, :) -fi -if test \( "x$with_icu" = "xyes" -o "x$with_icu" = "xbuiltin" \) -a "x$have_icu" != "xtrue"; then - AC_MSG_ERROR([icu support requested but icu-uc not found]) -fi - -if $have_icu; then - CXXFLAGS="$CXXFLAGS `$PKG_CONFIG --variable=CXXFLAGS icu-uc`" - AC_DEFINE(HAVE_ICU, 1, [Have ICU library]) - if test "x$with_icu" = "xbuiltin"; then - AC_DEFINE(HAVE_ICU_BUILTIN, 1, [Use hb-icu Unicode callbacks]) - fi -fi -AM_CONDITIONAL(HAVE_ICU, $have_icu) -AM_CONDITIONAL(HAVE_ICU_BUILTIN, $have_icu && test "x$with_icu" = "xbuiltin") - -dnl =========================================================================== - -AC_ARG_WITH(graphite2, - [AS_HELP_STRING([--with-graphite2=@<:@yes/no/auto@:>@], - [Use the graphite2 library @<:@default=no@:>@])],, - [with_graphite2=no]) -have_graphite2=false -GRAPHITE2_DEPS="graphite2 >= 1.2.0" -AC_SUBST(GRAPHITE2_DEPS) -if test "x$with_graphite2" = "xyes" -o "x$with_graphite2" = "xauto"; then - PKG_CHECK_MODULES(GRAPHITE2, $GRAPHITE2_DEPS, have_graphite2=true, :) - if test "x$have_graphite2" != "xtrue"; then - # If pkg-config is not available, graphite2 can still be there - ac_save_CFLAGS="$CFLAGS" - ac_save_CPPFLAGS="$CPPFLAGS" - CFLAGS="$CFLAGS $GRAPHITE2_CFLAGS" - CPPFLAGS="$CPPFLAGS $GRAPHITE2_CFLAGS" - AC_CHECK_HEADER(graphite2/Segment.h, have_graphite2=true, :) - CPPFLAGS="$ac_save_CPPFLAGS" - CFLAGS="$ac_save_CFLAGS" - fi -fi -if test "x$with_graphite2" = "xyes" -a "x$have_graphite2" != "xtrue"; then - AC_MSG_ERROR([graphite2 support requested but libgraphite2 not found]) -fi -if $have_graphite2; then - AC_DEFINE(HAVE_GRAPHITE2, 1, [Have Graphite2 library]) -fi -AM_CONDITIONAL(HAVE_GRAPHITE2, $have_graphite2) - -dnl ========================================================================== - -AC_ARG_WITH(freetype, - [AS_HELP_STRING([--with-freetype=@<:@yes/no/auto@:>@], - [Use the FreeType library @<:@default=auto@:>@])],, - [with_freetype=auto]) -have_freetype=false -FREETYPE_DEPS="freetype2 >= 12.0.6" -AC_SUBST(FREETYPE_DEPS) -if test "x$with_freetype" = "xyes" -o "x$with_freetype" = "xauto"; then - # See freetype/docs/VERSION.DLL; 12.0.6 means freetype-2.4.2 - PKG_CHECK_MODULES(FREETYPE, $FREETYPE_DEPS, have_freetype=true, :) -fi -if test "x$with_freetype" = "xyes" -a "x$have_freetype" != "xtrue"; then - AC_MSG_ERROR([FreeType support requested but libfreetype2 not found]) -fi -if $have_freetype; then - AC_DEFINE(HAVE_FREETYPE, 1, [Have FreeType 2 library]) - save_libs=$LIBS - LIBS="$LIBS $FREETYPE_LIBS" - AC_CHECK_FUNCS(FT_Get_Var_Blend_Coordinates FT_Set_Var_Blend_Coordinates FT_Done_MM_Var) - LIBS=$save_libs -fi -AM_CONDITIONAL(HAVE_FREETYPE, $have_freetype) - -dnl =========================================================================== - -AC_ARG_WITH(uniscribe, - [AS_HELP_STRING([--with-uniscribe=@<:@yes/no/auto@:>@], - [Use the Uniscribe library @<:@default=no@:>@])],, - [with_uniscribe=no]) -have_uniscribe=false -if test "x$with_uniscribe" = "xyes" -o "x$with_uniscribe" = "xauto"; then - AC_CHECK_HEADERS(usp10.h windows.h, have_uniscribe=true) -fi -if test "x$with_uniscribe" = "xyes" -a "x$have_uniscribe" != "xtrue"; then - AC_MSG_ERROR([uniscribe support requested but not found]) -fi -if $have_uniscribe; then - UNISCRIBE_CFLAGS= - UNISCRIBE_LIBS="-lusp10 -lgdi32 -lrpcrt4" - AC_SUBST(UNISCRIBE_CFLAGS) - AC_SUBST(UNISCRIBE_LIBS) - AC_DEFINE(HAVE_UNISCRIBE, 1, [Have Uniscribe library]) -fi -AM_CONDITIONAL(HAVE_UNISCRIBE, $have_uniscribe) - -dnl =========================================================================== - -AC_ARG_WITH(gdi, - [AS_HELP_STRING([--with-gdi=@<:@yes/no/auto@:>@], - [Provide GDI integration helpers @<:@default=no@:>@])],, - [with_gdi=no]) -have_gdi=false -if test "x$with_gdi" = "xyes" -o "x$with_gdi" = "xauto"; then - AC_CHECK_HEADERS(windows.h, have_gdi=true) -fi -if test "x$with_gdi" = "xyes" -a "x$have_gdi" != "xtrue"; then - AC_MSG_ERROR([gdi support requested but not found]) -fi -if $have_gdi; then - GDI_CFLAGS= - GDI_LIBS="-lgdi32" - AC_SUBST(GDI_CFLAGS) - AC_SUBST(GDI_LIBS) - AC_DEFINE(HAVE_GDI, 1, [Have GDI library]) -fi -AM_CONDITIONAL(HAVE_GDI, $have_gdi) - -dnl =========================================================================== - -AC_ARG_WITH(directwrite, - [AS_HELP_STRING([--with-directwrite=@<:@yes/no/auto@:>@], - [Use the DirectWrite library (experimental) @<:@default=no@:>@])],, - [with_directwrite=no]) -have_directwrite=false -AC_LANG_PUSH([C++]) -if test "x$with_directwrite" = "xyes" -o "x$with_directwrite" = "xauto"; then - AC_CHECK_HEADERS(dwrite.h, have_directwrite=true) -fi -AC_LANG_POP([C++]) -if test "x$with_directwrite" = "xyes" -a "x$have_directwrite" != "xtrue"; then - AC_MSG_ERROR([directwrite support requested but not found]) -fi -if $have_directwrite; then - DIRECTWRITE_CXXFLAGS= - DIRECTWRITE_LIBS= - AC_SUBST(DIRECTWRITE_CXXFLAGS) - AC_SUBST(DIRECTWRITE_LIBS) - AC_DEFINE(HAVE_DIRECTWRITE, 1, [Have DirectWrite library]) -fi -AM_CONDITIONAL(HAVE_DIRECTWRITE, $have_directwrite) - -dnl =========================================================================== - -AC_ARG_WITH(coretext, - [AS_HELP_STRING([--with-coretext=@<:@yes/no/auto@:>@], - [Use CoreText @<:@default=no@:>@])],, - [with_coretext=no]) -have_coretext=false -if test "x$with_coretext" = "xyes" -o "x$with_coretext" = "xauto"; then - AC_CHECK_TYPE(CTFontRef, have_coretext=true,, [#include ]) - - if $have_coretext; then - CORETEXT_CFLAGS= - CORETEXT_LIBS="-framework ApplicationServices" - AC_SUBST(CORETEXT_CFLAGS) - AC_SUBST(CORETEXT_LIBS) - else - # On iOS CoreText and CoreGraphics are stand-alone frameworks - if test "x$have_coretext" != "xtrue"; then - # Check for a different symbol to avoid getting cached result. - AC_CHECK_TYPE(CTRunRef, have_coretext=true,, [#include ]) - fi - - if $have_coretext; then - CORETEXT_CFLAGS= - CORETEXT_LIBS="-framework CoreText -framework CoreGraphics -framework CoreFoundation" - AC_SUBST(CORETEXT_CFLAGS) - AC_SUBST(CORETEXT_LIBS) - fi - fi -fi -if test "x$with_coretext" = "xyes" -a "x$have_coretext" != "xtrue"; then - AC_MSG_ERROR([CoreText support requested but libcoretext not found]) -fi -if $have_coretext; then - AC_DEFINE(HAVE_CORETEXT, 1, [Have Core Text backend]) -fi -AM_CONDITIONAL(HAVE_CORETEXT, $have_coretext) - -dnl =========================================================================== - -AC_CONFIG_FILES([ -Makefile -src/Makefile -src/harfbuzz-config.cmake -util/Makefile -test/Makefile -test/api/Makefile -test/fuzzing/Makefile -test/shape/Makefile -test/shape/data/Makefile -test/shape/data/aots/Makefile -test/shape/data/in-house/Makefile -test/shape/data/text-rendering-tests/Makefile -test/subset/Makefile -test/subset/data/Makefile -test/subset/data/repack_tests/Makefile -docs/Makefile -docs/version.xml -]) - -AC_OUTPUT - -echo -echo "C++ compiler version:" -$CXX --version -echo - -AC_MSG_NOTICE([ - -Autotools is no longer our supported build system for building the library -for *nix distributions, please migrate to meson. - -]) - - -AC_MSG_NOTICE([ - -Build configuration: - -Unicode callbacks (you want at least one): - Builtin true - Glib: ${have_glib} - ICU: ${have_icu} - -Font callbacks (the more the merrier): - FreeType: ${have_freetype} - -Tools used for command-line utilities: - Cairo: ${have_cairo} - Chafa: ${have_chafa} - -Additional shapers: - Graphite2: ${have_graphite2} - -Platform shapers (not normally needed): - CoreText: ${have_coretext} - DirectWrite: ${have_directwrite} - GDI: ${have_gdi} - Uniscribe: ${have_uniscribe} - -Other features: - Documentation: ${enable_gtk_doc} - GObject bindings: ${have_gobject} - Introspection: ${have_introspection} -]) diff --git a/harfbuzz/depcomp b/harfbuzz/depcomp deleted file mode 100755 index 65cbf70..0000000 --- a/harfbuzz/depcomp +++ /dev/null @@ -1,791 +0,0 @@ -#! /bin/sh -# depcomp - compile a program generating dependencies as side-effects - -scriptversion=2018-03-07.03; # UTC - -# Copyright (C) 1999-2018 Free Software Foundation, Inc. - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . - -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - -# Originally written by Alexandre Oliva . - -case $1 in - '') - echo "$0: No command. Try '$0 --help' for more information." 1>&2 - exit 1; - ;; - -h | --h*) - cat <<\EOF -Usage: depcomp [--help] [--version] PROGRAM [ARGS] - -Run PROGRAMS ARGS to compile a file, generating dependencies -as side-effects. - -Environment variables: - depmode Dependency tracking mode. - source Source file read by 'PROGRAMS ARGS'. - object Object file output by 'PROGRAMS ARGS'. - DEPDIR directory where to store dependencies. - depfile Dependency file to output. - tmpdepfile Temporary file to use when outputting dependencies. - libtool Whether libtool is used (yes/no). - -Report bugs to . -EOF - exit $? - ;; - -v | --v*) - echo "depcomp $scriptversion" - exit $? - ;; -esac - -# Get the directory component of the given path, and save it in the -# global variables '$dir'. Note that this directory component will -# be either empty or ending with a '/' character. This is deliberate. -set_dir_from () -{ - case $1 in - */*) dir=`echo "$1" | sed -e 's|/[^/]*$|/|'`;; - *) dir=;; - esac -} - -# Get the suffix-stripped basename of the given path, and save it the -# global variable '$base'. -set_base_from () -{ - base=`echo "$1" | sed -e 's|^.*/||' -e 's/\.[^.]*$//'` -} - -# If no dependency file was actually created by the compiler invocation, -# we still have to create a dummy depfile, to avoid errors with the -# Makefile "include basename.Plo" scheme. -make_dummy_depfile () -{ - echo "#dummy" > "$depfile" -} - -# Factor out some common post-processing of the generated depfile. -# Requires the auxiliary global variable '$tmpdepfile' to be set. -aix_post_process_depfile () -{ - # If the compiler actually managed to produce a dependency file, - # post-process it. - if test -f "$tmpdepfile"; then - # Each line is of the form 'foo.o: dependency.h'. - # Do two passes, one to just change these to - # $object: dependency.h - # and one to simply output - # dependency.h: - # which is needed to avoid the deleted-header problem. - { sed -e "s,^.*\.[$lower]*:,$object:," < "$tmpdepfile" - sed -e "s,^.*\.[$lower]*:[$tab ]*,," -e 's,$,:,' < "$tmpdepfile" - } > "$depfile" - rm -f "$tmpdepfile" - else - make_dummy_depfile - fi -} - -# A tabulation character. -tab=' ' -# A newline character. -nl=' -' -# Character ranges might be problematic outside the C locale. -# These definitions help. -upper=ABCDEFGHIJKLMNOPQRSTUVWXYZ -lower=abcdefghijklmnopqrstuvwxyz -digits=0123456789 -alpha=${upper}${lower} - -if test -z "$depmode" || test -z "$source" || test -z "$object"; then - echo "depcomp: Variables source, object and depmode must be set" 1>&2 - exit 1 -fi - -# Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po. -depfile=${depfile-`echo "$object" | - sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`} -tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`} - -rm -f "$tmpdepfile" - -# Avoid interferences from the environment. -gccflag= dashmflag= - -# Some modes work just like other modes, but use different flags. We -# parameterize here, but still list the modes in the big case below, -# to make depend.m4 easier to write. Note that we *cannot* use a case -# here, because this file can only contain one case statement. -if test "$depmode" = hp; then - # HP compiler uses -M and no extra arg. - gccflag=-M - depmode=gcc -fi - -if test "$depmode" = dashXmstdout; then - # This is just like dashmstdout with a different argument. - dashmflag=-xM - depmode=dashmstdout -fi - -cygpath_u="cygpath -u -f -" -if test "$depmode" = msvcmsys; then - # This is just like msvisualcpp but w/o cygpath translation. - # Just convert the backslash-escaped backslashes to single forward - # slashes to satisfy depend.m4 - cygpath_u='sed s,\\\\,/,g' - depmode=msvisualcpp -fi - -if test "$depmode" = msvc7msys; then - # This is just like msvc7 but w/o cygpath translation. - # Just convert the backslash-escaped backslashes to single forward - # slashes to satisfy depend.m4 - cygpath_u='sed s,\\\\,/,g' - depmode=msvc7 -fi - -if test "$depmode" = xlc; then - # IBM C/C++ Compilers xlc/xlC can output gcc-like dependency information. - gccflag=-qmakedep=gcc,-MF - depmode=gcc -fi - -case "$depmode" in -gcc3) -## gcc 3 implements dependency tracking that does exactly what -## we want. Yay! Note: for some reason libtool 1.4 doesn't like -## it if -MD -MP comes after the -MF stuff. Hmm. -## Unfortunately, FreeBSD c89 acceptance of flags depends upon -## the command line argument order; so add the flags where they -## appear in depend2.am. Note that the slowdown incurred here -## affects only configure: in makefiles, %FASTDEP% shortcuts this. - for arg - do - case $arg in - -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;; - *) set fnord "$@" "$arg" ;; - esac - shift # fnord - shift # $arg - done - "$@" - stat=$? - if test $stat -ne 0; then - rm -f "$tmpdepfile" - exit $stat - fi - mv "$tmpdepfile" "$depfile" - ;; - -gcc) -## Note that this doesn't just cater to obsosete pre-3.x GCC compilers. -## but also to in-use compilers like IMB xlc/xlC and the HP C compiler. -## (see the conditional assignment to $gccflag above). -## There are various ways to get dependency output from gcc. Here's -## why we pick this rather obscure method: -## - Don't want to use -MD because we'd like the dependencies to end -## up in a subdir. Having to rename by hand is ugly. -## (We might end up doing this anyway to support other compilers.) -## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like -## -MM, not -M (despite what the docs say). Also, it might not be -## supported by the other compilers which use the 'gcc' depmode. -## - Using -M directly means running the compiler twice (even worse -## than renaming). - if test -z "$gccflag"; then - gccflag=-MD, - fi - "$@" -Wp,"$gccflag$tmpdepfile" - stat=$? - if test $stat -ne 0; then - rm -f "$tmpdepfile" - exit $stat - fi - rm -f "$depfile" - echo "$object : \\" > "$depfile" - # The second -e expression handles DOS-style file names with drive - # letters. - sed -e 's/^[^:]*: / /' \ - -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile" -## This next piece of magic avoids the "deleted header file" problem. -## The problem is that when a header file which appears in a .P file -## is deleted, the dependency causes make to die (because there is -## typically no way to rebuild the header). We avoid this by adding -## dummy dependencies for each header file. Too bad gcc doesn't do -## this for us directly. -## Some versions of gcc put a space before the ':'. On the theory -## that the space means something, we add a space to the output as -## well. hp depmode also adds that space, but also prefixes the VPATH -## to the object. Take care to not repeat it in the output. -## Some versions of the HPUX 10.20 sed can't process this invocation -## correctly. Breaking it into two sed invocations is a workaround. - tr ' ' "$nl" < "$tmpdepfile" \ - | sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \ - | sed -e 's/$/ :/' >> "$depfile" - rm -f "$tmpdepfile" - ;; - -hp) - # This case exists only to let depend.m4 do its work. It works by - # looking at the text of this script. This case will never be run, - # since it is checked for above. - exit 1 - ;; - -sgi) - if test "$libtool" = yes; then - "$@" "-Wp,-MDupdate,$tmpdepfile" - else - "$@" -MDupdate "$tmpdepfile" - fi - stat=$? - if test $stat -ne 0; then - rm -f "$tmpdepfile" - exit $stat - fi - rm -f "$depfile" - - if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files - echo "$object : \\" > "$depfile" - # Clip off the initial element (the dependent). Don't try to be - # clever and replace this with sed code, as IRIX sed won't handle - # lines with more than a fixed number of characters (4096 in - # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines; - # the IRIX cc adds comments like '#:fec' to the end of the - # dependency line. - tr ' ' "$nl" < "$tmpdepfile" \ - | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' \ - | tr "$nl" ' ' >> "$depfile" - echo >> "$depfile" - # The second pass generates a dummy entry for each header file. - tr ' ' "$nl" < "$tmpdepfile" \ - | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ - >> "$depfile" - else - make_dummy_depfile - fi - rm -f "$tmpdepfile" - ;; - -xlc) - # This case exists only to let depend.m4 do its work. It works by - # looking at the text of this script. This case will never be run, - # since it is checked for above. - exit 1 - ;; - -aix) - # The C for AIX Compiler uses -M and outputs the dependencies - # in a .u file. In older versions, this file always lives in the - # current directory. Also, the AIX compiler puts '$object:' at the - # start of each line; $object doesn't have directory information. - # Version 6 uses the directory in both cases. - set_dir_from "$object" - set_base_from "$object" - if test "$libtool" = yes; then - tmpdepfile1=$dir$base.u - tmpdepfile2=$base.u - tmpdepfile3=$dir.libs/$base.u - "$@" -Wc,-M - else - tmpdepfile1=$dir$base.u - tmpdepfile2=$dir$base.u - tmpdepfile3=$dir$base.u - "$@" -M - fi - stat=$? - if test $stat -ne 0; then - rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" - exit $stat - fi - - for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" - do - test -f "$tmpdepfile" && break - done - aix_post_process_depfile - ;; - -tcc) - # tcc (Tiny C Compiler) understand '-MD -MF file' since version 0.9.26 - # FIXME: That version still under development at the moment of writing. - # Make that this statement remains true also for stable, released - # versions. - # It will wrap lines (doesn't matter whether long or short) with a - # trailing '\', as in: - # - # foo.o : \ - # foo.c \ - # foo.h \ - # - # It will put a trailing '\' even on the last line, and will use leading - # spaces rather than leading tabs (at least since its commit 0394caf7 - # "Emit spaces for -MD"). - "$@" -MD -MF "$tmpdepfile" - stat=$? - if test $stat -ne 0; then - rm -f "$tmpdepfile" - exit $stat - fi - rm -f "$depfile" - # Each non-empty line is of the form 'foo.o : \' or ' dep.h \'. - # We have to change lines of the first kind to '$object: \'. - sed -e "s|.*:|$object :|" < "$tmpdepfile" > "$depfile" - # And for each line of the second kind, we have to emit a 'dep.h:' - # dummy dependency, to avoid the deleted-header problem. - sed -n -e 's|^ *\(.*\) *\\$|\1:|p' < "$tmpdepfile" >> "$depfile" - rm -f "$tmpdepfile" - ;; - -## The order of this option in the case statement is important, since the -## shell code in configure will try each of these formats in the order -## listed in this file. A plain '-MD' option would be understood by many -## compilers, so we must ensure this comes after the gcc and icc options. -pgcc) - # Portland's C compiler understands '-MD'. - # Will always output deps to 'file.d' where file is the root name of the - # source file under compilation, even if file resides in a subdirectory. - # The object file name does not affect the name of the '.d' file. - # pgcc 10.2 will output - # foo.o: sub/foo.c sub/foo.h - # and will wrap long lines using '\' : - # foo.o: sub/foo.c ... \ - # sub/foo.h ... \ - # ... - set_dir_from "$object" - # Use the source, not the object, to determine the base name, since - # that's sadly what pgcc will do too. - set_base_from "$source" - tmpdepfile=$base.d - - # For projects that build the same source file twice into different object - # files, the pgcc approach of using the *source* file root name can cause - # problems in parallel builds. Use a locking strategy to avoid stomping on - # the same $tmpdepfile. - lockdir=$base.d-lock - trap " - echo '$0: caught signal, cleaning up...' >&2 - rmdir '$lockdir' - exit 1 - " 1 2 13 15 - numtries=100 - i=$numtries - while test $i -gt 0; do - # mkdir is a portable test-and-set. - if mkdir "$lockdir" 2>/dev/null; then - # This process acquired the lock. - "$@" -MD - stat=$? - # Release the lock. - rmdir "$lockdir" - break - else - # If the lock is being held by a different process, wait - # until the winning process is done or we timeout. - while test -d "$lockdir" && test $i -gt 0; do - sleep 1 - i=`expr $i - 1` - done - fi - i=`expr $i - 1` - done - trap - 1 2 13 15 - if test $i -le 0; then - echo "$0: failed to acquire lock after $numtries attempts" >&2 - echo "$0: check lockdir '$lockdir'" >&2 - exit 1 - fi - - if test $stat -ne 0; then - rm -f "$tmpdepfile" - exit $stat - fi - rm -f "$depfile" - # Each line is of the form `foo.o: dependent.h', - # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'. - # Do two passes, one to just change these to - # `$object: dependent.h' and one to simply `dependent.h:'. - sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile" - # Some versions of the HPUX 10.20 sed can't process this invocation - # correctly. Breaking it into two sed invocations is a workaround. - sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" \ - | sed -e 's/$/ :/' >> "$depfile" - rm -f "$tmpdepfile" - ;; - -hp2) - # The "hp" stanza above does not work with aCC (C++) and HP's ia64 - # compilers, which have integrated preprocessors. The correct option - # to use with these is +Maked; it writes dependencies to a file named - # 'foo.d', which lands next to the object file, wherever that - # happens to be. - # Much of this is similar to the tru64 case; see comments there. - set_dir_from "$object" - set_base_from "$object" - if test "$libtool" = yes; then - tmpdepfile1=$dir$base.d - tmpdepfile2=$dir.libs/$base.d - "$@" -Wc,+Maked - else - tmpdepfile1=$dir$base.d - tmpdepfile2=$dir$base.d - "$@" +Maked - fi - stat=$? - if test $stat -ne 0; then - rm -f "$tmpdepfile1" "$tmpdepfile2" - exit $stat - fi - - for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" - do - test -f "$tmpdepfile" && break - done - if test -f "$tmpdepfile"; then - sed -e "s,^.*\.[$lower]*:,$object:," "$tmpdepfile" > "$depfile" - # Add 'dependent.h:' lines. - sed -ne '2,${ - s/^ *// - s/ \\*$// - s/$/:/ - p - }' "$tmpdepfile" >> "$depfile" - else - make_dummy_depfile - fi - rm -f "$tmpdepfile" "$tmpdepfile2" - ;; - -tru64) - # The Tru64 compiler uses -MD to generate dependencies as a side - # effect. 'cc -MD -o foo.o ...' puts the dependencies into 'foo.o.d'. - # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put - # dependencies in 'foo.d' instead, so we check for that too. - # Subdirectories are respected. - set_dir_from "$object" - set_base_from "$object" - - if test "$libtool" = yes; then - # Libtool generates 2 separate objects for the 2 libraries. These - # two compilations output dependencies in $dir.libs/$base.o.d and - # in $dir$base.o.d. We have to check for both files, because - # one of the two compilations can be disabled. We should prefer - # $dir$base.o.d over $dir.libs/$base.o.d because the latter is - # automatically cleaned when .libs/ is deleted, while ignoring - # the former would cause a distcleancheck panic. - tmpdepfile1=$dir$base.o.d # libtool 1.5 - tmpdepfile2=$dir.libs/$base.o.d # Likewise. - tmpdepfile3=$dir.libs/$base.d # Compaq CCC V6.2-504 - "$@" -Wc,-MD - else - tmpdepfile1=$dir$base.d - tmpdepfile2=$dir$base.d - tmpdepfile3=$dir$base.d - "$@" -MD - fi - - stat=$? - if test $stat -ne 0; then - rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" - exit $stat - fi - - for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" - do - test -f "$tmpdepfile" && break - done - # Same post-processing that is required for AIX mode. - aix_post_process_depfile - ;; - -msvc7) - if test "$libtool" = yes; then - showIncludes=-Wc,-showIncludes - else - showIncludes=-showIncludes - fi - "$@" $showIncludes > "$tmpdepfile" - stat=$? - grep -v '^Note: including file: ' "$tmpdepfile" - if test $stat -ne 0; then - rm -f "$tmpdepfile" - exit $stat - fi - rm -f "$depfile" - echo "$object : \\" > "$depfile" - # The first sed program below extracts the file names and escapes - # backslashes for cygpath. The second sed program outputs the file - # name when reading, but also accumulates all include files in the - # hold buffer in order to output them again at the end. This only - # works with sed implementations that can handle large buffers. - sed < "$tmpdepfile" -n ' -/^Note: including file: *\(.*\)/ { - s//\1/ - s/\\/\\\\/g - p -}' | $cygpath_u | sort -u | sed -n ' -s/ /\\ /g -s/\(.*\)/'"$tab"'\1 \\/p -s/.\(.*\) \\/\1:/ -H -$ { - s/.*/'"$tab"'/ - G - p -}' >> "$depfile" - echo >> "$depfile" # make sure the fragment doesn't end with a backslash - rm -f "$tmpdepfile" - ;; - -msvc7msys) - # This case exists only to let depend.m4 do its work. It works by - # looking at the text of this script. This case will never be run, - # since it is checked for above. - exit 1 - ;; - -#nosideeffect) - # This comment above is used by automake to tell side-effect - # dependency tracking mechanisms from slower ones. - -dashmstdout) - # Important note: in order to support this mode, a compiler *must* - # always write the preprocessed file to stdout, regardless of -o. - "$@" || exit $? - - # Remove the call to Libtool. - if test "$libtool" = yes; then - while test "X$1" != 'X--mode=compile'; do - shift - done - shift - fi - - # Remove '-o $object'. - IFS=" " - for arg - do - case $arg in - -o) - shift - ;; - $object) - shift - ;; - *) - set fnord "$@" "$arg" - shift # fnord - shift # $arg - ;; - esac - done - - test -z "$dashmflag" && dashmflag=-M - # Require at least two characters before searching for ':' - # in the target name. This is to cope with DOS-style filenames: - # a dependency such as 'c:/foo/bar' could be seen as target 'c' otherwise. - "$@" $dashmflag | - sed "s|^[$tab ]*[^:$tab ][^:][^:]*:[$tab ]*|$object: |" > "$tmpdepfile" - rm -f "$depfile" - cat < "$tmpdepfile" > "$depfile" - # Some versions of the HPUX 10.20 sed can't process this sed invocation - # correctly. Breaking it into two sed invocations is a workaround. - tr ' ' "$nl" < "$tmpdepfile" \ - | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \ - | sed -e 's/$/ :/' >> "$depfile" - rm -f "$tmpdepfile" - ;; - -dashXmstdout) - # This case only exists to satisfy depend.m4. It is never actually - # run, as this mode is specially recognized in the preamble. - exit 1 - ;; - -makedepend) - "$@" || exit $? - # Remove any Libtool call - if test "$libtool" = yes; then - while test "X$1" != 'X--mode=compile'; do - shift - done - shift - fi - # X makedepend - shift - cleared=no eat=no - for arg - do - case $cleared in - no) - set ""; shift - cleared=yes ;; - esac - if test $eat = yes; then - eat=no - continue - fi - case "$arg" in - -D*|-I*) - set fnord "$@" "$arg"; shift ;; - # Strip any option that makedepend may not understand. Remove - # the object too, otherwise makedepend will parse it as a source file. - -arch) - eat=yes ;; - -*|$object) - ;; - *) - set fnord "$@" "$arg"; shift ;; - esac - done - obj_suffix=`echo "$object" | sed 's/^.*\././'` - touch "$tmpdepfile" - ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@" - rm -f "$depfile" - # makedepend may prepend the VPATH from the source file name to the object. - # No need to regex-escape $object, excess matching of '.' is harmless. - sed "s|^.*\($object *:\)|\1|" "$tmpdepfile" > "$depfile" - # Some versions of the HPUX 10.20 sed can't process the last invocation - # correctly. Breaking it into two sed invocations is a workaround. - sed '1,2d' "$tmpdepfile" \ - | tr ' ' "$nl" \ - | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \ - | sed -e 's/$/ :/' >> "$depfile" - rm -f "$tmpdepfile" "$tmpdepfile".bak - ;; - -cpp) - # Important note: in order to support this mode, a compiler *must* - # always write the preprocessed file to stdout. - "$@" || exit $? - - # Remove the call to Libtool. - if test "$libtool" = yes; then - while test "X$1" != 'X--mode=compile'; do - shift - done - shift - fi - - # Remove '-o $object'. - IFS=" " - for arg - do - case $arg in - -o) - shift - ;; - $object) - shift - ;; - *) - set fnord "$@" "$arg" - shift # fnord - shift # $arg - ;; - esac - done - - "$@" -E \ - | sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ - -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ - | sed '$ s: \\$::' > "$tmpdepfile" - rm -f "$depfile" - echo "$object : \\" > "$depfile" - cat < "$tmpdepfile" >> "$depfile" - sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile" - rm -f "$tmpdepfile" - ;; - -msvisualcpp) - # Important note: in order to support this mode, a compiler *must* - # always write the preprocessed file to stdout. - "$@" || exit $? - - # Remove the call to Libtool. - if test "$libtool" = yes; then - while test "X$1" != 'X--mode=compile'; do - shift - done - shift - fi - - IFS=" " - for arg - do - case "$arg" in - -o) - shift - ;; - $object) - shift - ;; - "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI") - set fnord "$@" - shift - shift - ;; - *) - set fnord "$@" "$arg" - shift - shift - ;; - esac - done - "$@" -E 2>/dev/null | - sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile" - rm -f "$depfile" - echo "$object : \\" > "$depfile" - sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::'"$tab"'\1 \\:p' >> "$depfile" - echo "$tab" >> "$depfile" - sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile" - rm -f "$tmpdepfile" - ;; - -msvcmsys) - # This case exists only to let depend.m4 do its work. It works by - # looking at the text of this script. This case will never be run, - # since it is checked for above. - exit 1 - ;; - -none) - exec "$@" - ;; - -*) - echo "Unknown depmode $depmode" 1>&2 - exit 1 - ;; -esac - -exit 0 - -# Local Variables: -# mode: shell-script -# sh-indentation: 2 -# eval: (add-hook 'before-save-hook 'time-stamp) -# time-stamp-start: "scriptversion=" -# time-stamp-format: "%:y-%02m-%02d.%02H" -# time-stamp-time-zone: "UTC0" -# time-stamp-end: "; # UTC" -# End: diff --git a/harfbuzz/docs/HarfBuzz.png b/harfbuzz/docs/HarfBuzz.png deleted file mode 100644 index c9d2e7b..0000000 Binary files a/harfbuzz/docs/HarfBuzz.png and /dev/null differ diff --git a/harfbuzz/docs/HarfBuzz.svg b/harfbuzz/docs/HarfBuzz.svg deleted file mode 100644 index beb13ad..0000000 --- a/harfbuzz/docs/HarfBuzz.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/harfbuzz/docs/Makefile.am b/harfbuzz/docs/Makefile.am deleted file mode 100644 index 5c03209..0000000 --- a/harfbuzz/docs/Makefile.am +++ /dev/null @@ -1,123 +0,0 @@ -# Process this file with automake to produce Makefile.in - -# We require automake 1.6 at least. -AUTOMAKE_OPTIONS = 1.6 - -# This is a blank Makefile.am for using gtk-doc. -# Copy this to your project's API docs directory and modify the variables to -# suit your project. See the GTK+ Makefiles in gtk+/docs/reference for examples -# of using the various options. - -# The name of the module, e.g. 'glib'. -DOC_MODULE=harfbuzz - -# Uncomment for versioned docs and specify the version of the module, e.g. '2'. -#DOC_MODULE_VERSION=$(HB_VERSION_MAJOR) - -# The top-level SGML file. You can change this if you want to. -DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.xml - -# Directories containing the source code. -# gtk-doc will search all .c and .h files beneath these paths -# for inline comments documenting functions and macros. -# e.g. DOC_SOURCE_DIR=$(top_srcdir)/gtk $(top_srcdir)/gdk -DOC_SOURCE_DIR=$(top_srcdir)/src $(top_builddir)/src - -# Extra options to pass to gtkdoc-scangobj. Not normally needed. -SCANGOBJ_OPTIONS= - -# Extra options to supply to gtkdoc-scan. -# e.g. SCAN_OPTIONS=--deprecated-guards="GTK_DISABLE_DEPRECATED" -SCAN_OPTIONS=--rebuild-types --deprecated-guards="HB_DISABLE_DEPRECATED" \ - --ignore-decorators='HB_EXTERN|HB_DEPRECATED' - -# Header files or dirs to ignore when scanning. Use base file/dir names -# e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h private_code -IGNORE_HFILES=`cd $(top_srcdir)/src; find . -path './*/*.h' | sed 's@^.*/@@'` -IGNORE_HFILES+=hb-gobject.h hb-gobject-enums.h hb-gobject-structs.h - -# Extra options to supply to gtkdoc-mkdb. -# e.g. MKDB_OPTIONS=--xml-mode --output-format=xml -MKDB_OPTIONS=--source-suffixes=h,cc --xml-mode --output-format=xml --ignore-files="$(IGNORE_HFILES)" - -# Extra options to supply to gtkdoc-mktmpl -# e.g. MKTMPL_OPTIONS=--only-section-tmpl -MKTMPL_OPTIONS= - -# Extra options to supply to gtkdoc-mkhtml -MKHTML_OPTIONS= - -# Extra options to supply to gtkdoc-fixref. Not normally needed. -# e.g. FIXXREF_OPTIONS=--extra-dir=../gdk-pixbuf/html --extra-dir=../gdk/html -FIXXREF_OPTIONS= - -# Used for dependencies. The docs will be rebuilt if any of these change. -# e.g. HFILE_GLOB=$(top_srcdir)/gtk/*.h -# e.g. CFILE_GLOB=$(top_srcdir)/gtk/*.c -HFILE_GLOB=$(top_srcdir)/src/hb.h $(top_srcdir)/src/hb-*.h -CFILE_GLOB=$(top_srcdir)/src/hb-*.cc - -# Extra header to include when scanning, which are not under DOC_SOURCE_DIR -# e.g. EXTRA_HFILES=$(top_srcdir}/contrib/extra.h - -# Images to copy into HTML directory. -# e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png -HTML_IMAGES= \ - HarfBuzz.png \ - HarfBuzz.svg - -# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE). -# e.g. content_files=running.sgml building.sgml changes-2.0.sgml -content_files= \ - usermanual-what-is-harfbuzz.xml \ - usermanual-install-harfbuzz.xml \ - usermanual-getting-started.xml \ - usermanual-glyph-information.xml \ - usermanual-shaping-concepts.xml \ - usermanual-object-model.xml \ - usermanual-buffers-language-script-and-direction.xml \ - usermanual-fonts-and-faces.xml \ - usermanual-opentype-features.xml \ - usermanual-clusters.xml \ - usermanual-utilities.xml \ - usermanual-integration.xml \ - version.xml - -# SGML files where gtk-doc abbrevations (#GtkWidget) are expanded -# These files must be listed here *and* in content_files -# e.g. expand_content_files=running.sgml -expand_content_files= - -# CFLAGS and LDFLAGS for compiling gtkdoc-scangobj with your library. -# Only needed if you are using gtkdoc-scangobj to dynamically query widget -# signals and properties. -# e.g. GTKDOC_CFLAGS=-I$(top_srcdir) -I$(top_builddir) $(GTK_DEBUG_FLAGS) -# e.g. GTKDOC_LIBS=$(top_builddir)/gtk/$(gtktargetlib) -GTKDOC_CFLAGS= -GTKDOC_LIBS=$(top_builddir)/src/libharfbuzz.la -if HAVE_GOBJECT -GTKDOC_LIBS+=$(top_builddir)/src/libharfbuzz-gobject.la -endif - -# This includes the standard gtk-doc make rules, copied by gtkdocize. -include $(top_srcdir)/gtk-doc.make - -# Other files to distribute -# e.g. EXTRA_DIST += version.xml.in -EXTRA_DIST += version.xml.in meson.build - -# Files not to distribute -# for --rebuild-types in $(SCAN_OPTIONS), e.g. $(DOC_MODULE).types -# for --rebuild-sections in $(SCAN_OPTIONS) e.g. $(DOC_MODULE)-sections.txt -#DISTCLEANFILES += - -# Comment this out if you don't want 'make check' to test you doc status -# and run some sanity checks -if ENABLE_GTK_DOC -TESTS_ENVIRONMENT = cd $(srcdir) && \ - DOC_MODULE=$(DOC_MODULE) DOC_MAIN_SGML_FILE=$(DOC_MAIN_SGML_FILE) \ - SRCDIR=$(abs_srcdir) BUILDDIR=$(abs_builddir) -#TESTS = $(GTKDOC_CHECK) -endif - --include $(top_srcdir)/git.mk diff --git a/harfbuzz/docs/Makefile.in b/harfbuzz/docs/Makefile.in deleted file mode 100644 index cdc2b7c..0000000 --- a/harfbuzz/docs/Makefile.in +++ /dev/null @@ -1,945 +0,0 @@ -# Makefile.in generated by automake 1.16.1 from Makefile.am. -# @configure_input@ - -# Copyright (C) 1994-2018 Free Software Foundation, Inc. - -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ - -# Process this file with automake to produce Makefile.in - -# -*- mode: makefile -*- -# -# gtk-doc.make - make rules for gtk-doc -# Copyright (C) 2003 James Henstridge -# 2004-2007 Damon Chaplin -# 2007-2017 Stefan Sauer -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . - -#################################### -# Everything below here is generic # -#################################### -VPATH = @srcdir@ -am__is_gnu_make = { \ - if test -z '$(MAKELEVEL)'; then \ - false; \ - elif test -n '$(MAKE_HOST)'; then \ - true; \ - elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ - true; \ - else \ - false; \ - fi; \ -} -am__make_running_with_option = \ - case $${target_option-} in \ - ?) ;; \ - *) echo "am__make_running_with_option: internal error: invalid" \ - "target option '$${target_option-}' specified" >&2; \ - exit 1;; \ - esac; \ - has_opt=no; \ - sane_makeflags=$$MAKEFLAGS; \ - if $(am__is_gnu_make); then \ - sane_makeflags=$$MFLAGS; \ - else \ - case $$MAKEFLAGS in \ - *\\[\ \ ]*) \ - bs=\\; \ - sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ - | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ - esac; \ - fi; \ - skip_next=no; \ - strip_trailopt () \ - { \ - flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ - }; \ - for flg in $$sane_makeflags; do \ - test $$skip_next = yes && { skip_next=no; continue; }; \ - case $$flg in \ - *=*|--*) continue;; \ - -*I) strip_trailopt 'I'; skip_next=yes;; \ - -*I?*) strip_trailopt 'I';; \ - -*O) strip_trailopt 'O'; skip_next=yes;; \ - -*O?*) strip_trailopt 'O';; \ - -*l) strip_trailopt 'l'; skip_next=yes;; \ - -*l?*) strip_trailopt 'l';; \ - -[dEDm]) skip_next=yes;; \ - -[JT]) skip_next=yes;; \ - esac; \ - case $$flg in \ - *$$target_option*) has_opt=yes; break;; \ - esac; \ - done; \ - test $$has_opt = yes -am__make_dryrun = (target_option=n; $(am__make_running_with_option)) -am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) -pkgdatadir = $(datadir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkglibexecdir = $(libexecdir)/@PACKAGE@ -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -build_triplet = @build@ -host_triplet = @host@ -@HAVE_GOBJECT_TRUE@am__append_1 = $(top_builddir)/src/libharfbuzz-gobject.la -subdir = docs -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_link_flag.m4 \ - $(top_srcdir)/m4/ax_code_coverage.m4 \ - $(top_srcdir)/m4/ax_cxx_compile_stdcxx.m4 \ - $(top_srcdir)/m4/ax_pthread.m4 $(top_srcdir)/m4/gtk-doc.m4 \ - $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ - $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ - $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) -mkinstalldirs = $(install_sh) -d -CONFIG_HEADER = $(top_builddir)/config.h -CONFIG_CLEAN_FILES = version.xml -CONFIG_CLEAN_VPATH_FILES = -AM_V_P = $(am__v_P_@AM_V@) -am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) -am__v_P_0 = false -am__v_P_1 = : -AM_V_GEN = $(am__v_GEN_@AM_V@) -am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) -am__v_GEN_0 = @echo " GEN " $@; -am__v_GEN_1 = -AM_V_at = $(am__v_at_@AM_V@) -am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) -am__v_at_0 = @ -am__v_at_1 = -SOURCES = -DIST_SOURCES = -am__can_run_installinfo = \ - case $$AM_UPDATE_INFO_DIR in \ - n|no|NO) false;; \ - *) (install-info --version) >/dev/null 2>&1;; \ - esac -am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) -am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/version.xml.in \ - $(top_srcdir)/gtk-doc.make -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ACLOCAL = @ACLOCAL@ -AMTAR = @AMTAR@ -AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ -AR = @AR@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AWK = @AWK@ -CAIRO_CFLAGS = @CAIRO_CFLAGS@ -CAIRO_FT_CFLAGS = @CAIRO_FT_CFLAGS@ -CAIRO_FT_LIBS = @CAIRO_FT_LIBS@ -CAIRO_LIBS = @CAIRO_LIBS@ -CC = @CC@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -CHAFA_CFLAGS = @CHAFA_CFLAGS@ -CHAFA_LIBS = @CHAFA_LIBS@ -CODE_COVERAGE_CFLAGS = @CODE_COVERAGE_CFLAGS@ -CODE_COVERAGE_CPPFLAGS = @CODE_COVERAGE_CPPFLAGS@ -CODE_COVERAGE_CXXFLAGS = @CODE_COVERAGE_CXXFLAGS@ -CODE_COVERAGE_ENABLED = @CODE_COVERAGE_ENABLED@ -CODE_COVERAGE_LDFLAGS = @CODE_COVERAGE_LDFLAGS@ -CODE_COVERAGE_LIBS = @CODE_COVERAGE_LIBS@ -CORETEXT_CFLAGS = @CORETEXT_CFLAGS@ -CORETEXT_LIBS = @CORETEXT_LIBS@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CXX = @CXX@ -CXXCPP = @CXXCPP@ -CXXDEPMODE = @CXXDEPMODE@ -CXXFLAGS = @CXXFLAGS@ -CYGPATH_W = @CYGPATH_W@ -DEFS = @DEFS@ -DEPDIR = @DEPDIR@ -DIRECTWRITE_CXXFLAGS = @DIRECTWRITE_CXXFLAGS@ -DIRECTWRITE_LIBS = @DIRECTWRITE_LIBS@ -DLLTOOL = @DLLTOOL@ -DSYMUTIL = @DSYMUTIL@ -DUMPBIN = @DUMPBIN@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -EXEEXT = @EXEEXT@ -FGREP = @FGREP@ -FREETYPE_CFLAGS = @FREETYPE_CFLAGS@ -FREETYPE_DEPS = @FREETYPE_DEPS@ -FREETYPE_LIBS = @FREETYPE_LIBS@ -GCOV = @GCOV@ -GDI_CFLAGS = @GDI_CFLAGS@ -GDI_LIBS = @GDI_LIBS@ -GENHTML = @GENHTML@ -GIT = @GIT@ -GLIB_CFLAGS = @GLIB_CFLAGS@ -GLIB_DEPS = @GLIB_DEPS@ -GLIB_LIBS = @GLIB_LIBS@ -GLIB_MKENUMS = @GLIB_MKENUMS@ -GOBJECT_CFLAGS = @GOBJECT_CFLAGS@ -GOBJECT_LIBS = @GOBJECT_LIBS@ -GRAPHITE2_CFLAGS = @GRAPHITE2_CFLAGS@ -GRAPHITE2_DEPS = @GRAPHITE2_DEPS@ -GRAPHITE2_LIBS = @GRAPHITE2_LIBS@ -GREP = @GREP@ -GTKDOC_CHECK = @GTKDOC_CHECK@ -GTKDOC_CHECK_PATH = @GTKDOC_CHECK_PATH@ -GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@ -GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@ -GTKDOC_MKPDF = @GTKDOC_MKPDF@ -GTKDOC_REBASE = @GTKDOC_REBASE@ -HAVE_CXX11 = @HAVE_CXX11@ -HB_LIBTOOL_VERSION_INFO = @HB_LIBTOOL_VERSION_INFO@ -HB_VERSION = @HB_VERSION@ -HB_VERSION_MAJOR = @HB_VERSION_MAJOR@ -HB_VERSION_MICRO = @HB_VERSION_MICRO@ -HB_VERSION_MINOR = @HB_VERSION_MINOR@ -HTML_DIR = @HTML_DIR@ -ICU_CFLAGS = @ICU_CFLAGS@ -ICU_LIBS = @ICU_LIBS@ -INSTALL = @INSTALL@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -INTROSPECTION_CFLAGS = @INTROSPECTION_CFLAGS@ -INTROSPECTION_COMPILER = @INTROSPECTION_COMPILER@ -INTROSPECTION_GENERATE = @INTROSPECTION_GENERATE@ -INTROSPECTION_GIRDIR = @INTROSPECTION_GIRDIR@ -INTROSPECTION_LIBS = @INTROSPECTION_LIBS@ -INTROSPECTION_MAKEFILE = @INTROSPECTION_MAKEFILE@ -INTROSPECTION_SCANNER = @INTROSPECTION_SCANNER@ -INTROSPECTION_TYPELIBDIR = @INTROSPECTION_TYPELIBDIR@ -LCOV = @LCOV@ -LD = @LD@ -LDFLAGS = @LDFLAGS@ -LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ -LIBTOOL = @LIBTOOL@ -LIPO = @LIPO@ -LN_S = @LN_S@ -LTLIBOBJS = @LTLIBOBJS@ -LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ -MAKEINFO = @MAKEINFO@ -MANIFEST_TOOL = @MANIFEST_TOOL@ -MKDIR_P = @MKDIR_P@ -NM = @NM@ -NMEDIT = @NMEDIT@ -OBJDUMP = @OBJDUMP@ -OBJEXT = @OBJEXT@ -OTOOL = @OTOOL@ -OTOOL64 = @OTOOL64@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_URL = @PACKAGE_URL@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -PKG_CONFIG = @PKG_CONFIG@ -PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ -PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ -PTHREAD_CC = @PTHREAD_CC@ -PTHREAD_CFLAGS = @PTHREAD_CFLAGS@ -PTHREAD_LIBS = @PTHREAD_LIBS@ -RAGEL = @RAGEL@ -RANLIB = @RANLIB@ -SED = @SED@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -STRIP = @STRIP@ -UNISCRIBE_CFLAGS = @UNISCRIBE_CFLAGS@ -UNISCRIBE_LIBS = @UNISCRIBE_LIBS@ -VERSION = @VERSION@ -_GI_EXP_DATADIR = @_GI_EXP_DATADIR@ -_GI_EXP_LIBDIR = @_GI_EXP_LIBDIR@ -abs_builddir = @abs_builddir@ -abs_srcdir = @abs_srcdir@ -abs_top_builddir = @abs_top_builddir@ -abs_top_srcdir = @abs_top_srcdir@ -ac_ct_AR = @ac_ct_AR@ -ac_ct_CC = @ac_ct_CC@ -ac_ct_CXX = @ac_ct_CXX@ -ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -am__tar = @am__tar@ -am__untar = @am__untar@ -ax_pthread_config = @ax_pthread_config@ -bindir = @bindir@ -build = @build@ -build_alias = @build_alias@ -build_cpu = @build_cpu@ -build_os = @build_os@ -build_vendor = @build_vendor@ -builddir = @builddir@ -datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ -exec_prefix = @exec_prefix@ -have_gobject = @have_gobject@ -host = @host@ -host_alias = @host_alias@ -host_cpu = @host_cpu@ -host_os = @host_os@ -host_vendor = @host_vendor@ -htmldir = @htmldir@ -includedir = @includedir@ -infodir = @infodir@ -install_sh = @install_sh@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localedir = @localedir@ -localstatedir = @localstatedir@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -psdir = @psdir@ -runstatedir = @runstatedir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -srcdir = @srcdir@ -sysconfdir = @sysconfdir@ -target_alias = @target_alias@ -top_build_prefix = @top_build_prefix@ -top_builddir = @top_builddir@ -top_srcdir = @top_srcdir@ - -# We require automake 1.6 at least. -AUTOMAKE_OPTIONS = 1.6 - -# This is a blank Makefile.am for using gtk-doc. -# Copy this to your project's API docs directory and modify the variables to -# suit your project. See the GTK+ Makefiles in gtk+/docs/reference for examples -# of using the various options. - -# The name of the module, e.g. 'glib'. -DOC_MODULE = harfbuzz - -# Uncomment for versioned docs and specify the version of the module, e.g. '2'. -#DOC_MODULE_VERSION=$(HB_VERSION_MAJOR) - -# The top-level SGML file. You can change this if you want to. -DOC_MAIN_SGML_FILE = $(DOC_MODULE)-docs.xml - -# Directories containing the source code. -# gtk-doc will search all .c and .h files beneath these paths -# for inline comments documenting functions and macros. -# e.g. DOC_SOURCE_DIR=$(top_srcdir)/gtk $(top_srcdir)/gdk -DOC_SOURCE_DIR = $(top_srcdir)/src $(top_builddir)/src - -# Extra options to pass to gtkdoc-scangobj. Not normally needed. -SCANGOBJ_OPTIONS = - -# Extra options to supply to gtkdoc-scan. -# e.g. SCAN_OPTIONS=--deprecated-guards="GTK_DISABLE_DEPRECATED" -SCAN_OPTIONS = --rebuild-types --deprecated-guards="HB_DISABLE_DEPRECATED" \ - --ignore-decorators='HB_EXTERN|HB_DEPRECATED' - - -# Header files or dirs to ignore when scanning. Use base file/dir names -# e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h private_code -IGNORE_HFILES = `cd $(top_srcdir)/src; find . -path './*/*.h' | sed \ - 's@^.*/@@'` hb-gobject.h hb-gobject-enums.h \ - hb-gobject-structs.h - -# Extra options to supply to gtkdoc-mkdb. -# e.g. MKDB_OPTIONS=--xml-mode --output-format=xml -MKDB_OPTIONS = --source-suffixes=h,cc --xml-mode --output-format=xml --ignore-files="$(IGNORE_HFILES)" - -# Extra options to supply to gtkdoc-mktmpl -# e.g. MKTMPL_OPTIONS=--only-section-tmpl -MKTMPL_OPTIONS = - -# Extra options to supply to gtkdoc-mkhtml -MKHTML_OPTIONS = - -# Extra options to supply to gtkdoc-fixref. Not normally needed. -# e.g. FIXXREF_OPTIONS=--extra-dir=../gdk-pixbuf/html --extra-dir=../gdk/html -FIXXREF_OPTIONS = - -# Used for dependencies. The docs will be rebuilt if any of these change. -# e.g. HFILE_GLOB=$(top_srcdir)/gtk/*.h -# e.g. CFILE_GLOB=$(top_srcdir)/gtk/*.c -HFILE_GLOB = $(top_srcdir)/src/hb.h $(top_srcdir)/src/hb-*.h -CFILE_GLOB = $(top_srcdir)/src/hb-*.cc - -# Extra header to include when scanning, which are not under DOC_SOURCE_DIR -# e.g. EXTRA_HFILES=$(top_srcdir}/contrib/extra.h - -# Images to copy into HTML directory. -# e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png -HTML_IMAGES = \ - HarfBuzz.png \ - HarfBuzz.svg - - -# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE). -# e.g. content_files=running.sgml building.sgml changes-2.0.sgml -content_files = \ - usermanual-what-is-harfbuzz.xml \ - usermanual-install-harfbuzz.xml \ - usermanual-getting-started.xml \ - usermanual-glyph-information.xml \ - usermanual-shaping-concepts.xml \ - usermanual-object-model.xml \ - usermanual-buffers-language-script-and-direction.xml \ - usermanual-fonts-and-faces.xml \ - usermanual-opentype-features.xml \ - usermanual-clusters.xml \ - usermanual-utilities.xml \ - usermanual-integration.xml \ - version.xml - - -# SGML files where gtk-doc abbrevations (#GtkWidget) are expanded -# These files must be listed here *and* in content_files -# e.g. expand_content_files=running.sgml -expand_content_files = - -# CFLAGS and LDFLAGS for compiling gtkdoc-scangobj with your library. -# Only needed if you are using gtkdoc-scangobj to dynamically query widget -# signals and properties. -# e.g. GTKDOC_CFLAGS=-I$(top_srcdir) -I$(top_builddir) $(GTK_DEBUG_FLAGS) -# e.g. GTKDOC_LIBS=$(top_builddir)/gtk/$(gtktargetlib) -GTKDOC_CFLAGS = -GTKDOC_LIBS = $(top_builddir)/src/libharfbuzz.la $(am__append_1) -@GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_CC = $(CC) $(INCLUDES) $(GTKDOC_DEPS_CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -@GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_CC = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(INCLUDES) $(GTKDOC_DEPS_CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -@GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_LD = $(CC) $(GTKDOC_DEPS_LIBS) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -@GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_LD = $(LIBTOOL) --tag=CC --mode=link $(CC) $(GTKDOC_DEPS_LIBS) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -@GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_RUN = -@GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_RUN = $(LIBTOOL) --mode=execute - -# We set GPATH here; this gives us semantics for GNU make -# which are more like other make's VPATH, when it comes to -# whether a source that is a target of one rule is then -# searched for in VPATH/GPATH. -# -GPATH = $(srcdir) -TARGET_DIR = $(HTML_DIR)/$(DOC_MODULE) -SETUP_FILES = \ - $(content_files) \ - $(expand_content_files) \ - $(DOC_MAIN_SGML_FILE) \ - $(DOC_MODULE)-sections.txt \ - $(DOC_MODULE)-overrides.txt - - -# This includes the standard gtk-doc make rules, copied by gtkdocize. - -# Other files to distribute -# e.g. EXTRA_DIST += version.xml.in -EXTRA_DIST = $(HTML_IMAGES) $(SETUP_FILES) version.xml.in meson.build -DOC_STAMPS = setup-build.stamp scan-build.stamp sgml-build.stamp \ - html-build.stamp pdf-build.stamp \ - sgml.stamp html.stamp pdf.stamp - -SCANOBJ_FILES = \ - $(DOC_MODULE).args \ - $(DOC_MODULE).hierarchy \ - $(DOC_MODULE).interfaces \ - $(DOC_MODULE).prerequisites \ - $(DOC_MODULE).signals - -REPORT_FILES = \ - $(DOC_MODULE)-undocumented.txt \ - $(DOC_MODULE)-undeclared.txt \ - $(DOC_MODULE)-unused.txt - -CLEANFILES = $(SCANOBJ_FILES) $(REPORT_FILES) $(DOC_STAMPS) gtkdoc-check.test -@GTK_DOC_BUILD_HTML_FALSE@HTML_BUILD_STAMP = -@GTK_DOC_BUILD_HTML_TRUE@HTML_BUILD_STAMP = html-build.stamp -@GTK_DOC_BUILD_PDF_FALSE@PDF_BUILD_STAMP = -@GTK_DOC_BUILD_PDF_TRUE@PDF_BUILD_STAMP = pdf-build.stamp - -#### setup #### -GTK_DOC_V_SETUP = $(GTK_DOC_V_SETUP_@AM_V@) -GTK_DOC_V_SETUP_ = $(GTK_DOC_V_SETUP_@AM_DEFAULT_V@) -GTK_DOC_V_SETUP_0 = @echo " DOC Preparing build"; - -#### scan #### -GTK_DOC_V_SCAN = $(GTK_DOC_V_SCAN_@AM_V@) -GTK_DOC_V_SCAN_ = $(GTK_DOC_V_SCAN_@AM_DEFAULT_V@) -GTK_DOC_V_SCAN_0 = @echo " DOC Scanning header files"; -GTK_DOC_V_INTROSPECT = $(GTK_DOC_V_INTROSPECT_@AM_V@) -GTK_DOC_V_INTROSPECT_ = $(GTK_DOC_V_INTROSPECT_@AM_DEFAULT_V@) -GTK_DOC_V_INTROSPECT_0 = @echo " DOC Introspecting gobjects"; - -#### xml #### -GTK_DOC_V_XML = $(GTK_DOC_V_XML_@AM_V@) -GTK_DOC_V_XML_ = $(GTK_DOC_V_XML_@AM_DEFAULT_V@) -GTK_DOC_V_XML_0 = @echo " DOC Building XML"; - -#### html #### -GTK_DOC_V_HTML = $(GTK_DOC_V_HTML_@AM_V@) -GTK_DOC_V_HTML_ = $(GTK_DOC_V_HTML_@AM_DEFAULT_V@) -GTK_DOC_V_HTML_0 = @echo " DOC Building HTML"; -GTK_DOC_V_XREF = $(GTK_DOC_V_XREF_@AM_V@) -GTK_DOC_V_XREF_ = $(GTK_DOC_V_XREF_@AM_DEFAULT_V@) -GTK_DOC_V_XREF_0 = @echo " DOC Fixing cross-references"; - -#### pdf #### -GTK_DOC_V_PDF = $(GTK_DOC_V_PDF_@AM_V@) -GTK_DOC_V_PDF_ = $(GTK_DOC_V_PDF_@AM_DEFAULT_V@) -GTK_DOC_V_PDF_0 = @echo " DOC Building PDF"; - -# Files not to distribute -# for --rebuild-types in $(SCAN_OPTIONS), e.g. $(DOC_MODULE).types -# for --rebuild-sections in $(SCAN_OPTIONS) e.g. $(DOC_MODULE)-sections.txt -#DISTCLEANFILES += - -# Comment this out if you don't want 'make check' to test you doc status -# and run some sanity checks -@ENABLE_GTK_DOC_TRUE@TESTS_ENVIRONMENT = cd $(srcdir) && \ -@ENABLE_GTK_DOC_TRUE@ DOC_MODULE=$(DOC_MODULE) DOC_MAIN_SGML_FILE=$(DOC_MAIN_SGML_FILE) \ -@ENABLE_GTK_DOC_TRUE@ SRCDIR=$(abs_srcdir) BUILDDIR=$(abs_builddir) - -all: all-am - -.SUFFIXES: -$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(top_srcdir)/gtk-doc.make $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ - && { if test -f $@; then exit 0; else break; fi; }; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnits docs/Makefile'; \ - $(am__cd) $(top_srcdir) && \ - $(AUTOMAKE) --gnits docs/Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ - esac; -$(top_srcdir)/gtk-doc.make $(am__empty): - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -$(top_srcdir)/configure: $(am__configure_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): $(am__aclocal_m4_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(am__aclocal_m4_deps): -version.xml: $(top_builddir)/config.status $(srcdir)/version.xml.in - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ - -mostlyclean-libtool: - -rm -f *.lo - -clean-libtool: - -rm -rf .libs _libs -tags TAGS: - -ctags CTAGS: - -cscope cscopelist: - - -distdir: $(BUILT_SOURCES) - $(MAKE) $(AM_MAKEFLAGS) distdir-am - -distdir-am: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - list='$(DISTFILES)'; \ - dist_files=`for file in $$list; do echo $$file; done | \ - sed -e "s|^$$srcdirstrip/||;t" \ - -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ - case $$dist_files in \ - */*) $(MKDIR_P) `echo "$$dist_files" | \ - sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ - sort -u` ;; \ - esac; \ - for file in $$dist_files; do \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - if test -d $$d/$$file; then \ - dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test -d "$(distdir)/$$file"; then \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ - else \ - test -f "$(distdir)/$$file" \ - || cp -p $$d/$$file "$(distdir)/$$file" \ - || exit 1; \ - fi; \ - done - $(MAKE) $(AM_MAKEFLAGS) \ - top_distdir="$(top_distdir)" distdir="$(distdir)" \ - dist-hook -check-am: all-am -check: check-am -@ENABLE_GTK_DOC_FALSE@all-local: -all-am: Makefile all-local -installdirs: -install: install-am -install-exec: install-exec-am -install-data: install-data-am -uninstall: uninstall-am - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-am -install-strip: - if test -z '$(STRIP)'; then \ - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - install; \ - else \ - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ - fi -mostlyclean-generic: - -clean-generic: - -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-am - -clean-am: clean-generic clean-libtool clean-local mostlyclean-am - -distclean: distclean-am - -rm -f Makefile -distclean-am: clean-am distclean-generic distclean-local - -dvi: dvi-am - -dvi-am: - -html: html-am - -html-am: - -info: info-am - -info-am: - -install-data-am: install-data-local - -install-dvi: install-dvi-am - -install-dvi-am: - -install-exec-am: - -install-html: install-html-am - -install-html-am: - -install-info: install-info-am - -install-info-am: - -install-man: - -install-pdf: install-pdf-am - -install-pdf-am: - -install-ps: install-ps-am - -install-ps-am: - -installcheck-am: - -maintainer-clean: maintainer-clean-am - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic \ - maintainer-clean-local - -mostlyclean: mostlyclean-am - -mostlyclean-am: mostlyclean-generic mostlyclean-libtool - -pdf: pdf-am - -pdf-am: - -ps: ps-am - -ps-am: - -uninstall-am: uninstall-local - -.MAKE: install-am install-strip - -.PHONY: all all-am all-local check check-am clean clean-generic \ - clean-libtool clean-local cscopelist-am ctags-am dist-hook \ - distclean distclean-generic distclean-libtool distclean-local \ - distdir dvi dvi-am html html-am info info-am install \ - install-am install-data install-data-am install-data-local \ - install-dvi install-dvi-am install-exec install-exec-am \ - install-html install-html-am install-info install-info-am \ - install-man install-pdf install-pdf-am install-ps \ - install-ps-am install-strip installcheck installcheck-am \ - installdirs maintainer-clean maintainer-clean-generic \ - maintainer-clean-local mostlyclean mostlyclean-generic \ - mostlyclean-libtool pdf pdf-am ps ps-am tags-am uninstall \ - uninstall-am uninstall-local - -.PRECIOUS: Makefile - - -gtkdoc-check.test: Makefile - $(AM_V_GEN)echo "#!/bin/sh -e" > $@; \ - echo "$(GTKDOC_CHECK_PATH) || exit 1" >> $@; \ - chmod +x $@ - -all-gtk-doc: $(HTML_BUILD_STAMP) $(PDF_BUILD_STAMP) -.PHONY: all-gtk-doc - -@ENABLE_GTK_DOC_TRUE@all-local: all-gtk-doc - -docs: $(HTML_BUILD_STAMP) $(PDF_BUILD_STAMP) - -$(REPORT_FILES): sgml-build.stamp - -setup-build.stamp: - -$(GTK_DOC_V_SETUP)if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \ - files=`echo $(SETUP_FILES) $(DOC_MODULE).types`; \ - if test "x$$files" != "x" ; then \ - for file in $$files ; do \ - destdir=`dirname $(abs_builddir)/$$file`; \ - test -d "$$destdir" || mkdir -p "$$destdir"; \ - test -f $(abs_srcdir)/$$file && \ - cp -pf $(abs_srcdir)/$$file $(abs_builddir)/$$file || true; \ - done; \ - fi; \ - fi - $(AM_V_at)touch setup-build.stamp - -scan-build.stamp: setup-build.stamp $(HFILE_GLOB) $(CFILE_GLOB) - $(GTK_DOC_V_SCAN)_source_dir='' ; \ - for i in $(DOC_SOURCE_DIR) ; do \ - _source_dir="$${_source_dir} --source-dir=$$i" ; \ - done ; \ - gtkdoc-scan --module=$(DOC_MODULE) --ignore-headers="$(IGNORE_HFILES)" $${_source_dir} $(SCAN_OPTIONS) $(EXTRA_HFILES) - $(GTK_DOC_V_INTROSPECT)if grep -l '^..*$$' $(DOC_MODULE).types > /dev/null 2>&1 ; then \ - scanobj_options=""; \ - gtkdoc-scangobj 2>&1 --help | grep >/dev/null "\-\-verbose"; \ - if test "$$?" = "0"; then \ - if test "x$(V)" = "x1"; then \ - scanobj_options="--verbose"; \ - fi; \ - fi; \ - CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" RUN="$(GTKDOC_RUN)" CFLAGS="$(GTKDOC_CFLAGS) $(CFLAGS)" LDFLAGS="$(GTKDOC_LIBS) $(LDFLAGS)" \ - gtkdoc-scangobj $(SCANGOBJ_OPTIONS) $$scanobj_options --module=$(DOC_MODULE); \ - else \ - for i in $(SCANOBJ_FILES) ; do \ - test -f $$i || touch $$i ; \ - done \ - fi - $(AM_V_at)touch scan-build.stamp - -$(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt: scan-build.stamp - @true - -sgml-build.stamp: setup-build.stamp $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(HFILE_GLOB) $(CFILE_GLOB) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt $(expand_content_files) xml/gtkdocentities.ent - $(GTK_DOC_V_XML)_source_dir='' ; \ - for i in $(DOC_SOURCE_DIR) ; do \ - _source_dir="$${_source_dir} --source-dir=$$i" ; \ - done ; \ - gtkdoc-mkdb --module=$(DOC_MODULE) --output-format=xml --expand-content-files="$(expand_content_files)" --main-sgml-file=$(DOC_MAIN_SGML_FILE) $${_source_dir} $(MKDB_OPTIONS) - $(AM_V_at)touch sgml-build.stamp - -sgml.stamp: sgml-build.stamp - @true - -$(DOC_MAIN_SGML_FILE): sgml-build.stamp - @true - -xml/gtkdocentities.ent: Makefile - $(GTK_DOC_V_XML)$(MKDIR_P) $(@D) && ( \ - echo ""; \ - echo ""; \ - echo ""; \ - echo ""; \ - echo ""; \ - echo ""; \ - echo ""; \ - ) > $@ - -html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files) $(expand_content_files) - $(GTK_DOC_V_HTML)rm -rf html && mkdir html && \ - mkhtml_options=""; \ - gtkdoc-mkhtml 2>&1 --help | grep >/dev/null "\-\-verbose"; \ - if test "$$?" = "0"; then \ - if test "x$(V)" = "x1"; then \ - mkhtml_options="$$mkhtml_options --verbose"; \ - fi; \ - fi; \ - gtkdoc-mkhtml 2>&1 --help | grep >/dev/null "\-\-path"; \ - if test "$$?" = "0"; then \ - mkhtml_options="$$mkhtml_options --path=\"$(abs_srcdir)\""; \ - fi; \ - cd html && gtkdoc-mkhtml $$mkhtml_options $(MKHTML_OPTIONS) $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE) - -@test "x$(HTML_IMAGES)" = "x" || \ - for file in $(HTML_IMAGES) ; do \ - test -f $(abs_srcdir)/$$file && cp $(abs_srcdir)/$$file $(abs_builddir)/html; \ - test -f $(abs_builddir)/$$file && cp $(abs_builddir)/$$file $(abs_builddir)/html; \ - test -f $$file && cp $$file $(abs_builddir)/html; \ - done; - $(GTK_DOC_V_XREF)gtkdoc-fixxref --module=$(DOC_MODULE) --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS) - $(AM_V_at)touch html-build.stamp - -pdf-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files) $(expand_content_files) - $(GTK_DOC_V_PDF)rm -f $(DOC_MODULE).pdf && \ - mkpdf_options=""; \ - gtkdoc-mkpdf 2>&1 --help | grep >/dev/null "\-\-verbose"; \ - if test "$$?" = "0"; then \ - if test "x$(V)" = "x1"; then \ - mkpdf_options="$$mkpdf_options --verbose"; \ - fi; \ - fi; \ - if test "x$(HTML_IMAGES)" != "x"; then \ - for img in $(HTML_IMAGES); do \ - part=`dirname $$img`; \ - echo $$mkpdf_options | grep >/dev/null "\-\-imgdir=$$part "; \ - if test $$? != 0; then \ - mkpdf_options="$$mkpdf_options --imgdir=$$part"; \ - fi; \ - done; \ - fi; \ - gtkdoc-mkpdf --path="$(abs_srcdir)" $$mkpdf_options $(DOC_MODULE) $(DOC_MAIN_SGML_FILE) $(MKPDF_OPTIONS) - $(AM_V_at)touch pdf-build.stamp - -############## - -clean-local: - @rm -f *~ *.bak - @rm -rf .libs - @if echo $(SCAN_OPTIONS) | grep -q "\-\-rebuild-types" ; then \ - rm -f $(DOC_MODULE).types; \ - fi - @if echo $(SCAN_OPTIONS) | grep -q "\-\-rebuild-sections" ; then \ - rm -f $(DOC_MODULE)-sections.txt; \ - fi - -distclean-local: - @rm -rf xml html $(REPORT_FILES) $(DOC_MODULE).pdf \ - $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt - @if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \ - rm -f $(SETUP_FILES) $(DOC_MODULE).types; \ - fi - -maintainer-clean-local: - @rm -rf xml html - -install-data-local: - @installfiles=`echo $(builddir)/html/*`; \ - if test "$$installfiles" = '$(builddir)/html/*'; \ - then echo 1>&2 'Nothing to install' ; \ - else \ - if test -n "$(DOC_MODULE_VERSION)"; then \ - installdir="$(DESTDIR)$(TARGET_DIR)-$(DOC_MODULE_VERSION)"; \ - else \ - installdir="$(DESTDIR)$(TARGET_DIR)"; \ - fi; \ - $(mkinstalldirs) $${installdir} ; \ - for i in $$installfiles; do \ - echo ' $(INSTALL_DATA) '$$i ; \ - $(INSTALL_DATA) $$i $${installdir}; \ - done; \ - if test -n "$(DOC_MODULE_VERSION)"; then \ - mv -f $${installdir}/$(DOC_MODULE).devhelp2 \ - $${installdir}/$(DOC_MODULE)-$(DOC_MODULE_VERSION).devhelp2; \ - fi; \ - $(GTKDOC_REBASE) --relative --dest-dir=$(DESTDIR) --html-dir=$${installdir}; \ - fi - -uninstall-local: - @if test -n "$(DOC_MODULE_VERSION)"; then \ - installdir="$(DESTDIR)$(TARGET_DIR)-$(DOC_MODULE_VERSION)"; \ - else \ - installdir="$(DESTDIR)$(TARGET_DIR)"; \ - fi; \ - rm -rf $${installdir} - -# -# Require gtk-doc when making dist -# -@HAVE_GTK_DOC_TRUE@dist-check-gtkdoc: docs -@HAVE_GTK_DOC_FALSE@dist-check-gtkdoc: -@HAVE_GTK_DOC_FALSE@ @echo "*** gtk-doc is needed to run 'make dist'. ***" -@HAVE_GTK_DOC_FALSE@ @echo "*** gtk-doc was not found when 'configure' ran. ***" -@HAVE_GTK_DOC_FALSE@ @echo "*** please install gtk-doc and rerun 'configure'. ***" -@HAVE_GTK_DOC_FALSE@ @false - -dist-hook: dist-check-gtkdoc all-gtk-doc dist-hook-local - @mkdir $(distdir)/html - @cp ./html/* $(distdir)/html - @-cp ./$(DOC_MODULE).pdf $(distdir)/ - @-cp ./$(DOC_MODULE).types $(distdir)/ - @-cp ./$(DOC_MODULE)-sections.txt $(distdir)/ - @cd $(distdir) && rm -f $(DISTCLEANFILES) - @$(GTKDOC_REBASE) --online --relative --html-dir=$(distdir)/html - -.PHONY : dist-hook-local docs -#TESTS = $(GTKDOC_CHECK) - --include $(top_srcdir)/git.mk - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/harfbuzz/docs/harfbuzz-docs.xml b/harfbuzz/docs/harfbuzz-docs.xml deleted file mode 100644 index 5fa3658..0000000 --- a/harfbuzz/docs/harfbuzz-docs.xml +++ /dev/null @@ -1,204 +0,0 @@ - - - -]> - - - HarfBuzz Manual - - HarfBuzz - - - HarfBuzz is a text shaping library. Using the HarfBuzz library allows - programs to convert a sequence of Unicode input into - properly formatted and positioned glyph output—for any writing - system and language. - - - - The canonical source-code tree is available at - github.com/harfbuzz/harfbuzz. - See for - release tarballs. - - - - - - User's manual - - - - - - - - - - - - - - - - - This document is for HarfBuzz &version;. - - - - - Reference manual - - Core API - - - - - - - - - - - - - - - - OpenType API - - - - - - - - - - - - - Apple Advanced Typography API - - - - - Integration API - - - - - - - - - - - - Style API - - - - - Subset API - - - - - - - API Index - Index of deprecated API - - Index of new symbols in 3.1.0 - Index of new symbols in 3.0.0 - Index of new symbols in 2.9.1 - Index of new symbols in 2.9.0 - Index of new symbols in 2.8.2 - Index of new symbols in 2.7.3 - Index of new symbols in 2.6.8 - Index of new symbols in 2.6.5 - Index of new symbols in 2.6.3 - Index of new symbols in 2.6.0 - Index of new symbols in 2.5.0 - Index of new symbols in 2.4.0 - Index of new symbols in 2.3.0 - Index of new symbols in 2.2.0 - Index of new symbols in 2.1.0 - Index of new symbols in 2.0.0 - Index of new symbols in 1.9.0 - Index of new symbols in 1.8.6 - Index of new symbols in 1.8.5 - Index of new symbols in 1.8.1 - Index of new symbols in 1.8.0 - Index of new symbols in 1.7.7 - Index of new symbols in 1.7.5 - Index of new symbols in 1.7.2 - Index of new symbols in 1.6.0 - Index of new symbols in 1.5.0 - Index of new symbols in 1.4.3 - Index of new symbols in 1.4.2 - Index of new symbols in 1.4.0 - Index of new symbols in 1.3.3 - Index of new symbols in 1.2.3 - Index of new symbols in 1.1.3 - Index of new symbols in 1.1.2 - Index of new symbols in 1.0.5 - Index of new symbols in 0.9.42 - Index of new symbols in 0.9.41 - Index of new symbols in 0.9.39 - Index of new symbols in 0.9.38 - Index of new symbols in 0.9.33 - Index of new symbols in 0.9.31 - Index of new symbols in 0.9.30 - Index of new symbols in 0.9.28 - Index of new symbols in 0.9.26 - Index of new symbols in 0.9.22 - Index of new symbols in 0.9.21 - Index of new symbols in 0.9.20 - Index of new symbols in 0.9.11 - Index of new symbols in 0.9.10 - Index of new symbols in 0.9.8 - Index of new symbols in 0.9.7 - Index of new symbols in 0.9.5 - Index of new symbols in 0.9.2 - Index of new symbols in 0.6.0 - - - - - - - The current HarfBuzz codebase is versioned 2.x.x and is stable - and under active maintenance. This is what is used in latest - versions of Firefox, GNOME, ChromeOS, Chrome, LibreOffice, - XeTeX, Android, and KDE, among other places. - - - Prior to 2012, the original HarfBuzz codebase (which, these days, is - referred to as harfbuzz-old) was derived from code - in FreeType, - Pango, and - Qt. - It is not actively developed or maintained, and is - extremely buggy. All users of harfbuzz-old are encouraged to switch over - to the new HarfBuzz as soon as possible. - - - To make this distinction clearer in discussions, the current HarfBuzz - codebase is sometimes referred to as harfbuzz-ng. - - - For reference purposes, the harfbuzz-old source tree is archived - here. - There are no release tarballs of harfbuzz-old whatsoever. - - - - diff --git a/harfbuzz/docs/harfbuzz-overrides.txt b/harfbuzz/docs/harfbuzz-overrides.txt deleted file mode 100644 index e69de29..0000000 diff --git a/harfbuzz/docs/harfbuzz-sections.txt b/harfbuzz/docs/harfbuzz-sections.txt deleted file mode 100644 index f2c7593..0000000 --- a/harfbuzz/docs/harfbuzz-sections.txt +++ /dev/null @@ -1,734 +0,0 @@ - -HB_H_IN -HB_OT_H_IN -HB_AAT_H_IN - - -
-hb-aat-layout -HB_AAT_LAYOUT_NO_SELECTOR_INDEX -hb_aat_layout_feature_type_t -hb_aat_layout_feature_selector_t -hb_aat_layout_feature_selector_info_t -hb_aat_layout_feature_type_get_name_id -hb_aat_layout_feature_type_get_selector_infos -hb_aat_layout_get_feature_types -hb_aat_layout_has_positioning -hb_aat_layout_has_substitution -hb_aat_layout_has_tracking -
- -
-hb-blob -hb_blob_create -hb_blob_create_or_fail -hb_blob_create_from_file -hb_blob_create_from_file_or_fail -hb_blob_create_sub_blob -hb_blob_copy_writable_or_fail -hb_blob_destroy -hb_blob_get_data -hb_blob_get_data_writable -hb_blob_get_empty -hb_blob_get_length -hb_blob_get_user_data -hb_blob_is_immutable -hb_blob_make_immutable -hb_blob_reference -hb_blob_set_user_data -hb_blob_t -hb_memory_mode_t -
- -
-hb-buffer -HB_SEGMENT_PROPERTIES_DEFAULT -HB_BUFFER_REPLACEMENT_CODEPOINT_DEFAULT -hb_buffer_create -hb_buffer_reference -hb_buffer_get_empty -hb_buffer_destroy -hb_buffer_reset -hb_buffer_clear_contents -hb_buffer_pre_allocate -hb_buffer_allocation_successful -hb_buffer_add -hb_buffer_add_codepoints -hb_buffer_add_utf32 -hb_buffer_add_utf16 -hb_buffer_add_utf8 -hb_buffer_add_latin1 -hb_buffer_append -hb_buffer_set_content_type -hb_buffer_get_content_type -hb_buffer_set_direction -hb_buffer_get_direction -hb_buffer_set_script -hb_buffer_get_script -hb_buffer_set_language -hb_buffer_get_language -hb_buffer_set_flags -hb_buffer_get_flags -hb_buffer_set_cluster_level -hb_buffer_get_cluster_level -hb_buffer_set_length -hb_buffer_get_length -hb_buffer_set_segment_properties -hb_buffer_get_segment_properties -hb_buffer_guess_segment_properties -hb_buffer_set_unicode_funcs -hb_buffer_get_unicode_funcs -hb_buffer_set_user_data -hb_buffer_get_user_data -hb_buffer_get_glyph_infos -hb_buffer_get_glyph_positions -hb_buffer_has_positions -hb_buffer_get_invisible_glyph -hb_buffer_set_invisible_glyph -hb_buffer_get_not_found_glyph -hb_buffer_set_not_found_glyph -hb_buffer_set_replacement_codepoint -hb_buffer_get_replacement_codepoint -hb_buffer_normalize_glyphs -hb_buffer_reverse -hb_buffer_reverse_range -hb_buffer_reverse_clusters -hb_buffer_serialize -hb_buffer_serialize_glyphs -hb_buffer_deserialize_glyphs -hb_buffer_serialize_unicode -hb_buffer_deserialize_unicode -hb_buffer_serialize_format_from_string -hb_buffer_serialize_format_to_string -hb_buffer_serialize_list_formats -hb_segment_properties_equal -hb_segment_properties_hash -hb_buffer_diff -hb_buffer_set_message_func -hb_buffer_t -hb_glyph_info_get_glyph_flags -hb_glyph_info_t -hb_glyph_flags_t -hb_glyph_position_t -hb_buffer_content_type_t -hb_buffer_flags_t -hb_buffer_cluster_level_t -hb_segment_properties_t -hb_buffer_serialize_format_t -hb_buffer_serialize_flags_t -hb_buffer_diff_flags_t -hb_buffer_message_func_t -
- -
-hb-common -hb_tag_from_string -hb_tag_to_string -hb_direction_from_string -hb_direction_to_string -hb_script_from_iso15924_tag -hb_script_from_string -hb_script_to_iso15924_tag -hb_script_get_horizontal_direction -hb_language_from_string -hb_language_to_string -hb_language_get_default -hb_feature_from_string -hb_feature_to_string -hb_variation_from_string -hb_variation_to_string -hb_bool_t -hb_codepoint_t -hb_destroy_func_t -hb_direction_t -hb_language_t -hb_feature_t -hb_variation_t -hb_mask_t -hb_position_t -hb_tag_t -hb_script_t -hb_user_data_key_t -HB_TAG -HB_TAG_NONE -HB_TAG_MAX -HB_TAG_MAX_SIGNED -HB_UNTAG -HB_DIRECTION_REVERSE -HB_DIRECTION_IS_BACKWARD -HB_DIRECTION_IS_FORWARD -HB_DIRECTION_IS_HORIZONTAL -HB_DIRECTION_IS_VALID -HB_DIRECTION_IS_VERTICAL -HB_LANGUAGE_INVALID -HB_FEATURE_GLOBAL_END -HB_FEATURE_GLOBAL_START - -HB_BEGIN_DECLS -HB_END_DECLS -hb_var_int_t -int16_t -int32_t -int64_t -int8_t -uint16_t -uint32_t -uint64_t -uint8_t - -HB_EXTERN -HB_DEPRECATED -HB_DEPRECATED_FOR -
- -
-hb-deprecated -HB_BUFFER_FLAGS_DEFAULT -HB_BUFFER_SERIALIZE_FLAGS_DEFAULT -HB_SCRIPT_CANADIAN_ABORIGINAL -hb_font_funcs_set_glyph_func -hb_font_get_glyph_func_t -HB_MATH_GLYPH_PART_FLAG_EXTENDER -hb_ot_layout_table_choose_script -hb_ot_layout_table_find_script -hb_ot_tag_from_language -hb_ot_tags_from_script -HB_OT_VAR_NO_AXIS_INDEX -hb_ot_var_axis_t -hb_ot_var_find_axis -hb_ot_var_get_axes -hb_unicode_eastasian_width_func_t -hb_unicode_eastasian_width -hb_unicode_funcs_set_eastasian_width_func -HB_UNICODE_MAX_DECOMPOSITION_LEN -hb_unicode_decompose_compatibility_func_t -hb_unicode_decompose_compatibility -hb_unicode_funcs_set_decompose_compatibility_func -hb_font_funcs_set_glyph_v_kerning_func -hb_font_get_glyph_v_kerning -hb_font_get_glyph_v_kerning_func_t -
- -
-hb-coretext -HB_CORETEXT_TAG_KERX -HB_CORETEXT_TAG_MORT -HB_CORETEXT_TAG_MORX -hb_coretext_face_create -hb_coretext_font_create -hb_coretext_face_get_cg_font -hb_coretext_font_get_ct_font -
- -
-hb-directwrite -hb_directwrite_face_create -hb_directwrite_face_get_font_face - -hb_directwrite_shape_experimental_width -
- -
-hb-face -hb_face_count -hb_face_t -hb_face_create -hb_face_create_for_tables -hb_face_destroy -hb_face_get_empty -hb_face_get_table_tags -hb_face_get_glyph_count -hb_face_get_index -hb_face_get_upem -hb_face_get_user_data -hb_face_is_immutable -hb_face_make_immutable -hb_face_reference -hb_face_reference_blob -hb_face_reference_table -hb_face_set_glyph_count -hb_face_set_index -hb_face_set_upem -hb_face_set_user_data -hb_face_collect_unicodes -hb_face_collect_variation_selectors -hb_face_collect_variation_unicodes -hb_face_builder_create -hb_face_builder_add_table -
- -
-hb-font -hb_font_add_glyph_origin_for_direction -hb_font_create -hb_font_create_sub_font -hb_font_destroy -hb_font_funcs_create -hb_font_funcs_destroy -hb_font_funcs_get_empty -hb_font_funcs_get_user_data -hb_font_funcs_is_immutable -hb_font_funcs_make_immutable -hb_font_funcs_reference -hb_font_funcs_set_glyph_contour_point_func -hb_font_funcs_set_glyph_extents_func -hb_font_funcs_set_glyph_from_name_func -hb_font_funcs_set_glyph_h_advance_func -hb_font_funcs_set_glyph_h_advances_func -hb_font_funcs_set_glyph_h_kerning_func -hb_font_funcs_set_glyph_h_origin_func -hb_font_funcs_set_glyph_name_func -hb_font_funcs_set_glyph_v_advance_func -hb_font_funcs_set_glyph_v_advances_func -hb_font_funcs_set_glyph_v_origin_func -hb_font_funcs_set_nominal_glyph_func -hb_font_funcs_set_nominal_glyphs_func -hb_font_funcs_set_user_data -hb_font_funcs_set_variation_glyph_func -hb_font_funcs_t -hb_font_get_empty -hb_font_get_face -hb_font_get_glyph -hb_font_get_glyph_advance_for_direction -hb_font_get_glyph_advance_func_t -hb_font_get_glyph_advances_for_direction -hb_font_get_glyph_advances_func_t -hb_font_get_glyph_contour_point -hb_font_get_glyph_contour_point_for_origin -hb_font_get_glyph_contour_point_func_t -hb_font_get_glyph_extents -hb_font_get_glyph_extents_for_origin -hb_font_get_glyph_extents_func_t -hb_font_get_glyph_from_name -hb_font_get_glyph_from_name_func_t -hb_font_get_glyph_h_advance -hb_font_get_glyph_h_advance_func_t -hb_font_get_glyph_h_advances -hb_font_get_glyph_h_advances_func_t -hb_font_get_glyph_h_kerning -hb_font_get_glyph_h_kerning_func_t -hb_font_get_glyph_h_origin -hb_font_get_glyph_h_origin_func_t -hb_font_get_glyph_kerning_for_direction -hb_font_get_glyph_kerning_func_t -hb_font_get_glyph_name -hb_font_get_glyph_name_func_t -hb_font_get_glyph_origin_for_direction -hb_font_get_glyph_origin_func_t -hb_font_get_glyph_v_advance -hb_font_get_glyph_v_advance_func_t -hb_font_get_glyph_v_advances -hb_font_get_glyph_v_advances_func_t -hb_font_get_glyph_v_origin -hb_font_get_glyph_v_origin_func_t -hb_font_get_nominal_glyph -hb_font_get_nominal_glyph_func_t -hb_font_get_nominal_glyphs -hb_font_get_nominal_glyphs_func_t -hb_font_get_parent -hb_font_get_ppem -hb_font_get_ptem -hb_font_get_scale -hb_font_get_user_data -hb_font_get_variation_glyph -hb_font_get_variation_glyph_func_t -hb_font_get_var_coords_normalized -hb_font_glyph_from_string -hb_font_glyph_to_string -hb_font_is_immutable -hb_font_make_immutable -hb_font_reference -hb_font_set_face -hb_font_set_funcs -hb_font_set_funcs_data -hb_font_set_parent -hb_font_set_ppem -hb_font_set_ptem -hb_font_set_scale -hb_font_set_user_data -hb_font_set_variations -hb_font_set_var_coords_design -hb_font_set_var_coords_normalized -hb_font_set_var_named_instance -hb_font_subtract_glyph_origin_for_direction -hb_font_t -hb_reference_table_func_t -hb_font_funcs_set_font_h_extents_func -hb_font_funcs_set_font_v_extents_func -hb_font_get_extents_for_direction -hb_font_get_font_extents_func_t -hb_font_get_font_h_extents_func_t -hb_font_get_font_v_extents_func_t -hb_font_get_h_extents -hb_font_get_v_extents -hb_font_extents_t -hb_glyph_extents_t - -hb_font_get_var_coords_design -hb_font_draw_glyph -
- -
-hb-ft -hb_ft_face_create -hb_ft_face_create_cached -hb_ft_face_create_referenced -hb_ft_font_create -hb_ft_font_create_referenced -hb_ft_font_changed -hb_ft_font_get_face -hb_ft_font_lock_face -hb_ft_font_unlock_face -hb_ft_font_set_load_flags -hb_ft_font_get_load_flags -hb_ft_font_set_funcs -
- -
-hb-gdi -hb_gdi_face_create -
- -
-hb-glib -hb_glib_get_unicode_funcs -hb_glib_script_from_script -hb_glib_script_to_script -hb_glib_blob_create -
- -
-hb-graphite2 -HB_GRAPHITE2_TAG_SILF -hb_graphite2_face_get_gr_face -hb_graphite2_font_get_gr_font -
- -
-hb-icu -hb_icu_get_unicode_funcs -hb_icu_script_from_script -hb_icu_script_to_script -
- -
-hb-map -HB_MAP_VALUE_INVALID -hb_map_allocation_successful -hb_map_clear -hb_map_create -hb_map_del -hb_map_destroy -hb_map_get -hb_map_get_empty -hb_map_get_population -hb_map_get_user_data -hb_map_has -hb_map_is_empty -hb_map_reference -hb_map_set -hb_map_set_user_data -hb_map_t -
- -
-hb-ot-color -hb_color_t -HB_COLOR -hb_color_get_alpha -hb_color_get_blue -hb_color_get_green -hb_color_get_red -hb_ot_color_glyph_get_layers -hb_ot_color_glyph_reference_png -hb_ot_color_glyph_reference_svg -hb_ot_color_has_layers -hb_ot_color_has_palettes -hb_ot_color_has_png -hb_ot_color_has_svg -hb_ot_color_layer_t -hb_ot_color_palette_color_get_name_id -hb_ot_color_palette_flags_t -hb_ot_color_palette_get_colors -hb_ot_color_palette_get_count -hb_ot_color_palette_get_flags -hb_ot_color_palette_get_name_id -
- -
-hb-ot-font -hb_ot_font_set_funcs -
- -
-hb-ot-name -hb_ot_name_id_t -HB_OT_NAME_ID_INVALID -hb_ot_name_entry_t -hb_ot_name_list_names -hb_ot_name_get_utf16 -hb_ot_name_get_utf32 -hb_ot_name_get_utf8 -
- -
-hb-ot-layout -HB_OT_MAX_TAGS_PER_LANGUAGE -HB_OT_MAX_TAGS_PER_SCRIPT -HB_OT_TAG_DEFAULT_LANGUAGE -HB_OT_TAG_DEFAULT_SCRIPT -hb_ot_tag_to_language -hb_ot_tag_to_script -hb_ot_tags_from_script_and_language -hb_ot_tags_to_script_and_language -HB_OT_LAYOUT_DEFAULT_LANGUAGE_INDEX -HB_OT_LAYOUT_NO_FEATURE_INDEX -HB_OT_LAYOUT_NO_SCRIPT_INDEX -HB_OT_LAYOUT_NO_VARIATIONS_INDEX -HB_OT_TAG_BASE -HB_OT_TAG_GDEF -HB_OT_TAG_GPOS -HB_OT_TAG_GSUB -HB_OT_TAG_JSTF -hb_ot_layout_baseline_tag_t -hb_ot_layout_collect_lookups -hb_ot_layout_collect_features -hb_ot_layout_feature_get_characters -hb_ot_layout_feature_get_lookups -hb_ot_layout_feature_get_name_ids -hb_ot_layout_feature_with_variations_get_lookups -hb_ot_layout_get_attach_points -hb_ot_layout_get_baseline -hb_ot_layout_get_glyph_class -hb_ot_layout_get_glyphs_in_class -hb_ot_layout_get_ligature_carets -hb_ot_layout_get_size_params -hb_ot_layout_glyph_class_t -hb_ot_layout_has_glyph_classes -hb_ot_layout_has_positioning -hb_ot_layout_has_substitution -hb_ot_layout_language_find_feature -hb_ot_layout_language_get_feature_indexes -hb_ot_layout_language_get_feature_tags -hb_ot_layout_language_get_required_feature -hb_ot_layout_lookup_collect_glyphs -hb_ot_layout_lookup_get_glyph_alternates -hb_ot_layout_lookup_substitute_closure -hb_ot_layout_lookups_substitute_closure -hb_ot_layout_lookup_would_substitute -hb_ot_layout_script_find_language -hb_ot_layout_script_get_language_tags -hb_ot_layout_script_select_language -hb_ot_layout_table_find_feature_variations -hb_ot_layout_table_get_feature_tags -hb_ot_layout_table_get_script_tags -hb_ot_layout_table_get_lookup_count -hb_ot_layout_table_select_script -hb_ot_shape_plan_collect_lookups -hb_ot_layout_language_get_required_feature_index - -Xhb_ot_layout_lookup_enumerate_sequences -Xhb_ot_layout_lookup_position -Xhb_ot_layout_lookup_substitute -hb_ot_layout_glyph_sequence_t -hb_ot_layout_glyph_sequence_func_t -
- -
-hb-ot-math -HB_OT_TAG_MATH -HB_OT_MATH_SCRIPT -hb_ot_math_constant_t -hb_ot_math_kern_t -hb_ot_math_glyph_variant_t -hb_ot_math_glyph_part_flags_t -hb_ot_math_glyph_part_t -hb_ot_math_has_data -hb_ot_math_get_constant -hb_ot_math_get_glyph_italics_correction -hb_ot_math_get_glyph_top_accent_attachment -hb_ot_math_get_glyph_kerning -hb_ot_math_is_glyph_extended_shape -hb_ot_math_get_glyph_variants -hb_ot_math_get_min_connector_overlap -hb_ot_math_get_glyph_assembly -
- -
-hb-ot-meta -hb_ot_meta_tag_t -hb_ot_meta_get_entry_tags -hb_ot_meta_reference_entry -
- -
-hb-ot-metrics -hb_ot_metrics_tag_t -hb_ot_metrics_get_position -hb_ot_metrics_get_variation -hb_ot_metrics_get_x_variation -hb_ot_metrics_get_y_variation -
- -
-hb-ot-shape -hb_ot_shape_glyphs_closure -
- -
-hb-ot-var -HB_OT_TAG_VAR_AXIS_ITALIC -HB_OT_TAG_VAR_AXIS_OPTICAL_SIZE -HB_OT_TAG_VAR_AXIS_SLANT -HB_OT_TAG_VAR_AXIS_WEIGHT -HB_OT_TAG_VAR_AXIS_WIDTH -hb_ot_var_has_data -hb_ot_var_axis_flags_t -hb_ot_var_axis_info_t -hb_ot_var_find_axis_info -hb_ot_var_get_axis_count -hb_ot_var_get_axis_infos -hb_ot_var_get_named_instance_count -hb_ot_var_named_instance_get_subfamily_name_id -hb_ot_var_named_instance_get_postscript_name_id -hb_ot_var_named_instance_get_design_coords -hb_ot_var_normalize_variations -hb_ot_var_normalize_coords -
- -
-hb-set -HB_SET_VALUE_INVALID -hb_set_add -hb_set_add_range -hb_set_allocation_successful -hb_set_copy -hb_set_clear -hb_set_create -hb_set_del -hb_set_del_range -hb_set_destroy -hb_set_get_empty -hb_set_get_max -hb_set_get_min -hb_set_get_population -hb_set_get_user_data -hb_set_has -hb_set_intersect -hb_set_invert -hb_set_is_empty -hb_set_is_equal -hb_set_is_subset -hb_set_next -hb_set_next_range -hb_set_previous -hb_set_previous_range -hb_set_reference -hb_set_set -hb_set_set_user_data -hb_set_subtract -hb_set_symmetric_difference -hb_set_t -hb_set_union -
- -
-hb-shape -hb_shape -hb_shape_full -hb_shape_list_shapers -
- -
-hb-shape-plan -hb_shape_plan_create -hb_shape_plan_create_cached -hb_shape_plan_create2 -hb_shape_plan_create_cached2 -hb_shape_plan_destroy -hb_shape_plan_execute -hb_shape_plan_get_empty -hb_shape_plan_get_shaper -hb_shape_plan_get_user_data -hb_shape_plan_reference -hb_shape_plan_set_user_data -hb_shape_plan_t -
- -
-hb-unicode -HB_UNICODE_MAX -hb_unicode_combining_class -hb_unicode_combining_class_func_t -hb_unicode_combining_class_t -hb_unicode_compose -hb_unicode_compose_func_t -hb_unicode_decompose -hb_unicode_decompose_func_t -hb_unicode_funcs_create -hb_unicode_funcs_destroy -hb_unicode_funcs_get_default -hb_unicode_funcs_get_empty -hb_unicode_funcs_get_parent -hb_unicode_funcs_get_user_data -hb_unicode_funcs_is_immutable -hb_unicode_funcs_make_immutable -hb_unicode_funcs_reference -hb_unicode_funcs_set_combining_class_func -hb_unicode_funcs_set_compose_func -hb_unicode_funcs_set_decompose_func -hb_unicode_funcs_set_general_category_func -hb_unicode_funcs_set_mirroring_func -hb_unicode_funcs_set_script_func -hb_unicode_funcs_set_user_data -hb_unicode_funcs_t -hb_unicode_general_category -hb_unicode_general_category_func_t -hb_unicode_general_category_t -hb_unicode_mirroring -hb_unicode_mirroring_func_t -hb_unicode_script -hb_unicode_script_func_t -
- -
-hb-uniscribe -hb_uniscribe_font_get_hfont -hb_uniscribe_font_get_logfontw -
- -
-hb-version -HB_VERSION_ATLEAST -HB_VERSION_MAJOR -HB_VERSION_MICRO -HB_VERSION_MINOR -HB_VERSION_STRING -hb_version -hb_version_atleast -hb_version_string -
- -
-hb-style -hb_style_tag_t -hb_style_get_value -
- -
-hb-subset -hb_subset_flags_t -hb_subset_input_t -hb_subset_sets_t -hb_subset_input_create_or_fail -hb_subset_input_reference -hb_subset_input_destroy -hb_subset_input_set_user_data -hb_subset_input_get_user_data -hb_subset_input_get_flags -hb_subset_input_set_flags -hb_subset_input_unicode_set -hb_subset_input_glyph_set -hb_subset_input_set -hb_subset_or_fail -
diff --git a/harfbuzz/docs/html/HarfBuzz.png b/harfbuzz/docs/html/HarfBuzz.png deleted file mode 100644 index c9d2e7b..0000000 Binary files a/harfbuzz/docs/html/HarfBuzz.png and /dev/null differ diff --git a/harfbuzz/docs/html/HarfBuzz.svg b/harfbuzz/docs/html/HarfBuzz.svg deleted file mode 100644 index beb13ad..0000000 --- a/harfbuzz/docs/html/HarfBuzz.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/harfbuzz/docs/html/a-clustering-example-for-levels-0-and-1.html b/harfbuzz/docs/html/a-clustering-example-for-levels-0-and-1.html deleted file mode 100644 index 7fcc6f8..0000000 --- a/harfbuzz/docs/html/a-clustering-example-for-levels-0-and-1.html +++ /dev/null @@ -1,120 +0,0 @@ - - - - -A clustering example for levels 0 and 1: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-A clustering example for levels 0 and 1

-

- The basic shaping operations affect clusters in a predictable - manner when using level 0 or level 1: -

-
    -
  • - When two or more clusters merge, the - resulting merged cluster takes as its cluster value the - minimum of the incoming cluster values. -

  • -
  • - When a cluster decomposes, all of the - resulting child clusters inherit as their cluster value the - cluster value of the parent cluster. -

  • -
  • - When a character is reordered, the - reordered character and all clusters that the character - moves past as part of the reordering are merged into one cluster. -

  • -
-

- The functionality, guarantees, and benefits of level 0 and level - 1 behavior can be seen with some examples. First, let us examine - what happens with cluster values when shaping involves cluster - merging with ligatures and decomposition. -

-

- Let's say we start with the following character sequence (top row) and - initial cluster values (bottom row): -

-
-      A,B,C,D,E
-      0,1,2,3,4
-    
-

- During shaping, HarfBuzz maps these characters to glyphs from - the font. For simplicity, let us assume that each character maps - to the corresponding, identical-looking glyph: -

-
-      A,B,C,D,E
-      0,1,2,3,4
-    
-

- Now if, for example, B and C - form a ligature, then the clusters to which they belong - "merge". This merged cluster takes for its cluster - value the minimum of all the cluster values of the clusters that - went in to the ligature. In this case, we get: -

-
-      A,BC,D,E
-      0,1 ,3,4
-    
-

- because 1 is the minimum of the set {1,2}, which were the - cluster values of B and - C. -

-

- Next, let us say that the BC ligature glyph - decomposes into three components, and D also - decomposes into two components. Whenever a cluster decomposes, - its components each inherit the cluster value of their parent: -

-
-      A,BC0,BC1,BC2,D0,D1,E
-      0,1  ,1  ,1  ,3 ,3 ,4
-    
-

- Next, if BC2 and D0 form a - ligature, then their clusters (cluster values 1 and 3) merge into - min(1,3) = 1: -

-
-      A,BC0,BC1,BC2D0,D1,E
-      0,1  ,1  ,1    ,1 ,4
-    
-

- Note that the entirety of cluster 3 merges into cluster 1, not - just the D0 glyph. This reflects the fact - that the cluster must be treated as an - indivisible unit. -

-

- At this point, cluster 1 means: the character sequence - BCD is represented by glyphs - BC0,BC1,BC2D0,D1 and cannot be broken down any - further. -

-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/a-simple-shaping-example.html b/harfbuzz/docs/html/a-simple-shaping-example.html deleted file mode 100644 index ba96d0e..0000000 --- a/harfbuzz/docs/html/a-simple-shaping-example.html +++ /dev/null @@ -1,104 +0,0 @@ - - - - -A simple shaping example: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-A simple shaping example

-

- Below is the simplest HarfBuzz shaping example possible. -

-
  1. - Create a buffer and put your text in it. -

-
-      #include <hb.h>
-
-      hb_buffer_t *buf;
-      buf = hb_buffer_create();
-      hb_buffer_add_utf8(buf, text, -1, 0, -1);
-    
-
  1. - Set the script, language and direction of the buffer. -

-
-      hb_buffer_set_direction(buf, HB_DIRECTION_LTR);
-      hb_buffer_set_script(buf, HB_SCRIPT_LATIN);
-      hb_buffer_set_language(buf, hb_language_from_string("en", -1));
-    
-
  1. - Create a face and a font from a font file. -

-
-      hb_blob_t *blob = hb_blob_create_from_file(filename); /* or hb_blob_create_from_file_or_fail() */
-      hb_face_t *face = hb_face_create(blob, 0);
-      hb_font_t *font = hb_font_create(face);
-    
-
  1. - Shape! -

-
-      hb_shape(font, buf, NULL, 0);
-    
-
  1. - Get the glyph and position information. -

-
-      unsigned int glyph_count;
-      hb_glyph_info_t *glyph_info    = hb_buffer_get_glyph_infos(buf, &glyph_count);
-      hb_glyph_position_t *glyph_pos = hb_buffer_get_glyph_positions(buf, &glyph_count);
-    
-
  1. - Iterate over each glyph. -

-
-      hb_position_t cursor_x = 0;
-      hb_position_t cursor_y = 0;
-      for (unsigned int i = 0; i < glyph_count; i++) {
-          hb_codepoint_t glyphid  = glyph_info[i].codepoint;
-          hb_position_t x_offset  = glyph_pos[i].x_offset;
-          hb_position_t y_offset  = glyph_pos[i].y_offset;
-          hb_position_t x_advance = glyph_pos[i].x_advance;
-          hb_position_t y_advance = glyph_pos[i].y_advance;
-       /* draw_glyph(glyphid, cursor_x + x_offset, cursor_y + y_offset); */
-          cursor_x += x_advance;
-          cursor_y += y_advance;
-      }
-    
-
  1. - Tidy up. -

-
-      hb_buffer_destroy(buf);
-      hb_font_destroy(font);
-      hb_face_destroy(face);
-      hb_blob_destroy(blob);
-    
-

- This example shows enough to get us started using HarfBuzz. In - the sections that follow, we will use the remainder of - HarfBuzz's API to refine and extend the example and improve its - text-shaping capabilities. -

-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/aat-shaping.html b/harfbuzz/docs/html/aat-shaping.html deleted file mode 100644 index ead4cd7..0000000 --- a/harfbuzz/docs/html/aat-shaping.html +++ /dev/null @@ -1,45 +0,0 @@ - - - - -AAT shaping: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-AAT shaping

-

- In contrast to OpenType shaping, AAT shaping does not specify a - predefined set of shaping models or a set of supported scripts. -

-

- Instead, each AAT font includes a complete set of rules that - implement the desired shaping model for the intended - script. These rules include finite-state machines to match glyph - sequences and the shaping operations to perform. -

-

- Notably, AAT shaping rules are expressed for glyphs in the font, - not for Unicode codepoints. AAT shaping can perform the same - shaping operations used in OpenType shaping, as well as other - functions that have not been defined for OpenType shaping. -

-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/adding-text-to-the-buffer.html b/harfbuzz/docs/html/adding-text-to-the-buffer.html deleted file mode 100644 index dfc5b7c..0000000 --- a/harfbuzz/docs/html/adding-text-to-the-buffer.html +++ /dev/null @@ -1,108 +0,0 @@ - - - - -Adding text to the buffer: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Adding text to the buffer

-

- Now we have a brand new HarfBuzz buffer. Let's start filling it - with text! From HarfBuzz's perspective, a buffer is just a stream - of Unicode code points, but your input string is probably in one of - the standard Unicode character encodings (UTF-8, UTF-16, or - UTF-32). HarfBuzz provides convenience functions that accept - each of these encodings: - hb_buffer_add_utf8(), - hb_buffer_add_utf16(), and - hb_buffer_add_utf32(). Other than the - character encoding they accept, they function identically. -

-

- You can add UTF-8 text to a buffer by passing in the text array, - the array's length, an offset into the array for the first - character to add, and the length of the segment to add: -

-
-    hb_buffer_add_utf8 (hb_buffer_t *buf,
-                    const char *text,
-                    int text_length,
-                    unsigned int item_offset,
-                    int item_length)
-    
-

- So, in practice, you can say: -

-
-      hb_buffer_add_utf8(buf, text, strlen(text), 0, strlen(text));
-    
-

- This will append your new characters to - buf, not replace its existing - contents. Also, note that you can use -1 in - place of the first instance of strlen(text) - if your text array is NULL-terminated. Similarly, you can also use - -1 as the final argument want to add its full - contents. -

-

- Whatever start item_offset and - item_length you provide, HarfBuzz will also - attempt to grab the five characters before - the offset point and the five characters - after the designated end. These are the - before and after "context" segments, which are used internally - for HarfBuzz to make shaping decisions. They will not be part of - the final output, but they ensure that HarfBuzz's - script-specific shaping operations are correct. If there are - fewer than five characters available for the before or after - contexts, HarfBuzz will just grab what is there. -

-

- For longer text runs, such as full paragraphs, it might be - tempting to only add smaller sub-segments to a buffer and - shape them in piecemeal fashion. Generally, this is not a good - idea, however, because a lot of shaping decisions are - dependent on this context information. For example, in Arabic - and other connected scripts, HarfBuzz needs to know the code - points before and after each character in order to correctly - determine which glyph to return. -

-

- The safest approach is to add all of the text available (even - if your text contains a mix of scripts, directions, languages - and fonts), then use item_offset and - item_length to indicate which characters you - want shaped (which must all have the same script, direction, - language and font), so that HarfBuzz has access to any context. -

-

- You can also add Unicode code points directly with - hb_buffer_add_codepoints(). The arguments - to this function are the same as those for the UTF - encodings. But it is particularly important to note that - HarfBuzz does not do validity checking on the text that is added - to a buffer. Invalid code points will be replaced, but it is up - to you to do any deep-sanity checking necessary. -

-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/annotation-glossary.html b/harfbuzz/docs/html/annotation-glossary.html deleted file mode 100644 index ccdfc03..0000000 --- a/harfbuzz/docs/html/annotation-glossary.html +++ /dev/null @@ -1,79 +0,0 @@ - - - - -Annotation Glossary: HarfBuzz Manual - - - - - - - - - - - - - - - -
-

-Annotation Glossary

-

A

-
array
-

Parameter points to an array of items.

-

C

-
closure
-

This parameter is a 'user_data', for callbacks; many bindings can pass NULL here.

-

D

-
destroy
-

This parameter is a 'destroy_data', for callbacks.

-

E

-
element-type
-

Generics and defining elements of containers and arrays.

-

I

-
inout
-

Parameter for input and for returning results. Default is transfer full.

-

N

-
nullable
-

NULL may be passed as the value in, out, in-out; or as a return value.

-

O

-
optional
-

NULL may be passed instead of a pointer to a location.

-
out
-

Parameter for returning results. Default is transfer full.

-
out caller-allocates
-

Out parameter, where caller must allocate storage.

-

S

-
scope notified
-

The callback is valid until the GDestroyNotify argument is called.

-
skip
-

Exposed in C code, not necessarily available in other languages.

-

T

-
transfer full
-

Free data after the code is done.

-
transfer none
-

Don't free data after the code is done.

-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/api-index-0-6-0.html b/harfbuzz/docs/html/api-index-0-6-0.html deleted file mode 100644 index 73a22a7..0000000 --- a/harfbuzz/docs/html/api-index-0-6-0.html +++ /dev/null @@ -1,41 +0,0 @@ - - - - -Index of new symbols in 0.6.0: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Index of new symbols in 0.6.0

-

L

-
-HB_LANGUAGE_INVALID, macro in hb-common -
-
-

U

-
-HB_UNTAG, macro in hb-common -
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/api-index-0-9-10.html b/harfbuzz/docs/html/api-index-0-9-10.html deleted file mode 100644 index 0eccb3b..0000000 --- a/harfbuzz/docs/html/api-index-0-9-10.html +++ /dev/null @@ -1,56 +0,0 @@ - - - - -Index of new symbols in 0.9.10: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Index of new symbols in 0.9.10

-

C

-
-hb_coretext_face_create, function in hb-coretext -
-
-
-hb_coretext_face_get_cg_font, function in hb-coretext -
-
-
-hb_coretext_font_get_ct_font, function in hb-coretext -
-
-

G

-
-hb_graphite2_face_get_gr_face, function in hb-graphite2 -
-
-

O

-
-hb_ot_layout_get_size_params, function in hb-ot-layout -
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/api-index-0-9-11.html b/harfbuzz/docs/html/api-index-0-9-11.html deleted file mode 100644 index 45beabd..0000000 --- a/harfbuzz/docs/html/api-index-0-9-11.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - -Index of new symbols in 0.9.11: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Index of new symbols in 0.9.11

-

B

-
-hb_buffer_clear_contents, function in hb-buffer -
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/api-index-0-9-2.html b/harfbuzz/docs/html/api-index-0-9-2.html deleted file mode 100644 index 179feae..0000000 --- a/harfbuzz/docs/html/api-index-0-9-2.html +++ /dev/null @@ -1,761 +0,0 @@ - - - - -Index of new symbols in 0.9.2: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Index of new symbols in 0.9.2

-

B

-
-hb_blob_create, function in hb-blob -
-
-
-hb_blob_create_sub_blob, function in hb-blob -
-
-
-hb_blob_destroy, function in hb-blob -
-
-
-hb_blob_get_data, function in hb-blob -
-
-
-hb_blob_get_data_writable, function in hb-blob -
-
-
-hb_blob_get_empty, function in hb-blob -
-
-
-hb_blob_get_length, function in hb-blob -
-
-
-hb_blob_get_user_data, function in hb-blob -
-
-
-hb_blob_is_immutable, function in hb-blob -
-
-
-hb_blob_make_immutable, function in hb-blob -
-
-
-hb_blob_reference, function in hb-blob -
-
-
-hb_blob_set_user_data, function in hb-blob -
-
-
-hb_buffer_add_utf16, function in hb-buffer -
-
-
-hb_buffer_add_utf32, function in hb-buffer -
-
-
-hb_buffer_add_utf8, function in hb-buffer -
-
-
-hb_buffer_allocation_successful, function in hb-buffer -
-
-
-hb_buffer_create, function in hb-buffer -
-
-
-hb_buffer_destroy, function in hb-buffer -
-
-
-hb_buffer_get_direction, function in hb-buffer -
-
-
-hb_buffer_get_empty, function in hb-buffer -
-
-
-hb_buffer_get_glyph_infos, function in hb-buffer -
-
-
-hb_buffer_get_glyph_positions, function in hb-buffer -
-
-
-hb_buffer_get_language, function in hb-buffer -
-
-
-hb_buffer_get_length, function in hb-buffer -
-
-
-hb_buffer_get_script, function in hb-buffer -
-
-
-hb_buffer_get_unicode_funcs, function in hb-buffer -
-
-
-hb_buffer_get_user_data, function in hb-buffer -
-
-
-hb_buffer_normalize_glyphs, function in hb-buffer -
-
-
-hb_buffer_pre_allocate, function in hb-buffer -
-
-
-hb_buffer_reference, function in hb-buffer -
-
-
-hb_buffer_reset, function in hb-buffer -
-
-
-hb_buffer_reverse, function in hb-buffer -
-
-
-hb_buffer_reverse_clusters, function in hb-buffer -
-
-
-hb_buffer_serialize_format_t, enum in hb-buffer -
-
-
-hb_buffer_set_direction, function in hb-buffer -
-
-
-hb_buffer_set_language, function in hb-buffer -
-
-
-hb_buffer_set_length, function in hb-buffer -
-
-
-hb_buffer_set_script, function in hb-buffer -
-
-
-hb_buffer_set_unicode_funcs, function in hb-buffer -
-
-
-hb_buffer_set_user_data, function in hb-buffer -
-
-

D

-
-hb_direction_from_string, function in hb-common -
-
-
-hb_direction_to_string, function in hb-common -
-
-

F

-
-hb_face_create, function in hb-face -
-
-
-hb_face_create_for_tables, function in hb-face -
-
-
-hb_face_destroy, function in hb-face -
-
-
-hb_face_get_empty, function in hb-face -
-
-
-hb_face_get_index, function in hb-face -
-
-
-hb_face_get_upem, function in hb-face -
-
-
-hb_face_get_user_data, function in hb-face -
-
-
-hb_face_is_immutable, function in hb-face -
-
-
-hb_face_make_immutable, function in hb-face -
-
-
-hb_face_reference, function in hb-face -
-
-
-hb_face_reference_blob, function in hb-face -
-
-
-hb_face_reference_table, function in hb-face -
-
-
-hb_face_set_index, function in hb-face -
-
-
-hb_face_set_upem, function in hb-face -
-
-
-hb_face_set_user_data, function in hb-face -
-
-
-hb_font_add_glyph_origin_for_direction, function in hb-font -
-
-
-hb_font_create, function in hb-font -
-
-
-hb_font_create_sub_font, function in hb-font -
-
-
-hb_font_destroy, function in hb-font -
-
-
-hb_font_funcs_create, function in hb-font -
-
-
-hb_font_funcs_destroy, function in hb-font -
-
-
-hb_font_funcs_get_empty, function in hb-font -
-
-
-hb_font_funcs_get_user_data, function in hb-font -
-
-
-hb_font_funcs_is_immutable, function in hb-font -
-
-
-hb_font_funcs_make_immutable, function in hb-font -
-
-
-hb_font_funcs_reference, function in hb-font -
-
-
-hb_font_funcs_set_glyph_contour_point_func, function in hb-font -
-
-
-hb_font_funcs_set_glyph_extents_func, function in hb-font -
-
-
-hb_font_funcs_set_glyph_from_name_func, function in hb-font -
-
-
-hb_font_funcs_set_glyph_h_advance_func, function in hb-font -
-
-
-hb_font_funcs_set_glyph_h_kerning_func, function in hb-font -
-
-
-hb_font_funcs_set_glyph_h_origin_func, function in hb-font -
-
-
-hb_font_funcs_set_glyph_name_func, function in hb-font -
-
-
-hb_font_funcs_set_glyph_v_advance_func, function in hb-font -
-
-
-hb_font_funcs_set_glyph_v_kerning_func, function in hb-deprecated -
-
-
-hb_font_funcs_set_glyph_v_origin_func, function in hb-font -
-
-
-hb_font_funcs_set_user_data, function in hb-font -
-
-
-hb_font_get_empty, function in hb-font -
-
-
-hb_font_get_face, function in hb-font -
-
-
-hb_font_get_glyph, function in hb-font -
-
-
-hb_font_get_glyph_advance_for_direction, function in hb-font -
-
-
-hb_font_get_glyph_contour_point, function in hb-font -
-
-
-hb_font_get_glyph_contour_point_for_origin, function in hb-font -
-
-
-hb_font_get_glyph_extents, function in hb-font -
-
-
-hb_font_get_glyph_extents_for_origin, function in hb-font -
-
-
-hb_font_get_glyph_from_name, function in hb-font -
-
-
-hb_font_get_glyph_h_advance, function in hb-font -
-
-
-hb_font_get_glyph_h_kerning, function in hb-font -
-
-
-hb_font_get_glyph_h_origin, function in hb-font -
-
-
-hb_font_get_glyph_kerning_for_direction, function in hb-font -
-
-
-hb_font_get_glyph_name, function in hb-font -
-
-
-hb_font_get_glyph_origin_for_direction, function in hb-font -
-
-
-hb_font_get_glyph_v_advance, function in hb-font -
-
-
-hb_font_get_glyph_v_kerning, function in hb-deprecated -
-
-
-hb_font_get_glyph_v_origin, function in hb-font -
-
-
-hb_font_get_parent, function in hb-font -
-
-
-hb_font_get_ppem, function in hb-font -
-
-
-hb_font_get_ptem, function in hb-font -
-
-
-hb_font_get_scale, function in hb-font -
-
-
-hb_font_get_user_data, function in hb-font -
-
-
-hb_font_glyph_from_string, function in hb-font -
-
-
-hb_font_glyph_to_string, function in hb-font -
-
-
-hb_font_is_immutable, function in hb-font -
-
-
-hb_font_make_immutable, function in hb-font -
-
-
-hb_font_reference, function in hb-font -
-
-
-hb_font_set_funcs, function in hb-font -
-
-
-hb_font_set_funcs_data, function in hb-font -
-
-
-hb_font_set_ppem, function in hb-font -
-
-
-hb_font_set_scale, function in hb-font -
-
-
-hb_font_set_user_data, function in hb-font -
-
-
-hb_font_subtract_glyph_origin_for_direction, function in hb-font -
-
-
-hb_ft_face_create, function in hb-ft -
-
-
-hb_ft_face_create_cached, function in hb-ft -
-
-
-hb_ft_font_create, function in hb-ft -
-
-
-hb_ft_font_get_face, function in hb-ft -
-
-

L

-
-hb_language_from_string, function in hb-common -
-
-
-hb_language_get_default, function in hb-common -
-
-
-hb_language_to_string, function in hb-common -
-
-

O

-
-hb_ot_shape_glyphs_closure, function in hb-ot-shape -
-
-
-hb_ot_tag_to_language, function in hb-ot-layout -
-
-

R

-
-hb_reference_table_func_t, user_function in hb-font -
-
-

S

-
-hb_script_from_iso15924_tag, function in hb-common -
-
-
-hb_script_from_string, function in hb-common -
-
-
-hb_script_get_horizontal_direction, function in hb-common -
-
-
-hb_script_to_iso15924_tag, function in hb-common -
-
-
-hb_set_add, function in hb-set -
-
-
-hb_set_allocation_successful, function in hb-set -
-
-
-hb_set_clear, function in hb-set -
-
-
-hb_set_create, function in hb-set -
-
-
-hb_set_del, function in hb-set -
-
-
-hb_set_destroy, function in hb-set -
-
-
-hb_set_get_empty, function in hb-set -
-
-
-hb_set_get_user_data, function in hb-set -
-
-
-hb_set_has, function in hb-set -
-
-
-hb_set_intersect, function in hb-set -
-
-
-hb_set_next, function in hb-set -
-
-
-hb_set_reference, function in hb-set -
-
-
-hb_set_set, function in hb-set -
-
-
-hb_set_set_user_data, function in hb-set -
-
-
-hb_set_subtract, function in hb-set -
-
-
-hb_set_symmetric_difference, function in hb-set -
-
-
-hb_set_union, function in hb-set -
-
-
-hb_shape, function in hb-shape -
-
-
-hb_shape_full, function in hb-shape -
-
-
-hb_shape_list_shapers, function in hb-shape -
-
-

T

-
-hb_tag_from_string, function in hb-common -
-
-

U

-
-hb_unicode_combining_class, function in hb-unicode -
-
-
-hb_unicode_compose, function in hb-unicode -
-
-
-hb_unicode_decompose, function in hb-unicode -
-
-
-hb_unicode_decompose_compatibility, function in hb-deprecated -
-
-
-hb_unicode_eastasian_width, function in hb-deprecated -
-
-
-hb_unicode_funcs_create, function in hb-unicode -
-
-
-hb_unicode_funcs_destroy, function in hb-unicode -
-
-
-hb_unicode_funcs_get_default, function in hb-unicode -
-
-
-hb_unicode_funcs_get_empty, function in hb-unicode -
-
-
-hb_unicode_funcs_get_parent, function in hb-unicode -
-
-
-hb_unicode_funcs_get_user_data, function in hb-unicode -
-
-
-hb_unicode_funcs_is_immutable, function in hb-unicode -
-
-
-hb_unicode_funcs_make_immutable, function in hb-unicode -
-
-
-hb_unicode_funcs_reference, function in hb-unicode -
-
-
-hb_unicode_funcs_set_combining_class_func, function in hb-unicode -
-
-
-hb_unicode_funcs_set_compose_func, function in hb-unicode -
-
-
-hb_unicode_funcs_set_decompose_compatibility_func, function in hb-deprecated -
-
-
-hb_unicode_funcs_set_decompose_func, function in hb-unicode -
-
-
-hb_unicode_funcs_set_eastasian_width_func, function in hb-deprecated -
-
-
-hb_unicode_funcs_set_general_category_func, function in hb-unicode -
-
-
-hb_unicode_funcs_set_mirroring_func, function in hb-unicode -
-
-
-hb_unicode_funcs_set_script_func, function in hb-unicode -
-
-
-hb_unicode_funcs_set_user_data, function in hb-unicode -
-
-
-hb_unicode_general_category, function in hb-unicode -
-
-
-hb_unicode_mirroring, function in hb-unicode -
-
-
-hb_unicode_script, function in hb-unicode -
-
-

V

-
-hb_version, function in hb-version -
-
-
-hb_version_string, function in hb-version -
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/api-index-0-9-20.html b/harfbuzz/docs/html/api-index-0-9-20.html deleted file mode 100644 index 741876b..0000000 --- a/harfbuzz/docs/html/api-index-0-9-20.html +++ /dev/null @@ -1,38 +0,0 @@ - - - - -Index of new symbols in 0.9.20: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Index of new symbols in 0.9.20

-

B

-
-hb_buffer_flags_t, enum in hb-buffer -
-
-
-hb_buffer_serialize_flags_t, enum in hb-buffer -
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/api-index-0-9-21.html b/harfbuzz/docs/html/api-index-0-9-21.html deleted file mode 100644 index 5872def..0000000 --- a/harfbuzz/docs/html/api-index-0-9-21.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - -Index of new symbols in 0.9.21: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Index of new symbols in 0.9.21

-

S

-
-HB_SET_VALUE_INVALID, macro in hb-set -
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/api-index-0-9-22.html b/harfbuzz/docs/html/api-index-0-9-22.html deleted file mode 100644 index 2cb1da6..0000000 --- a/harfbuzz/docs/html/api-index-0-9-22.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - -Index of new symbols in 0.9.22: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Index of new symbols in 0.9.22

-

O

-
-hb_ot_layout_table_get_lookup_count, function in hb-ot-layout -
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/api-index-0-9-26.html b/harfbuzz/docs/html/api-index-0-9-26.html deleted file mode 100644 index d9aeee5..0000000 --- a/harfbuzz/docs/html/api-index-0-9-26.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - -Index of new symbols in 0.9.26: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Index of new symbols in 0.9.26

-

T

-
-HB_TAG_MAX, macro in hb-common -
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/api-index-0-9-28.html b/harfbuzz/docs/html/api-index-0-9-28.html deleted file mode 100644 index d60024d..0000000 --- a/harfbuzz/docs/html/api-index-0-9-28.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - -Index of new symbols in 0.9.28: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Index of new symbols in 0.9.28

-

O

-
-hb_ot_font_set_funcs, function in hb-ot-font -
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/api-index-0-9-30.html b/harfbuzz/docs/html/api-index-0-9-30.html deleted file mode 100644 index 19c70ed..0000000 --- a/harfbuzz/docs/html/api-index-0-9-30.html +++ /dev/null @@ -1,41 +0,0 @@ - - - - -Index of new symbols in 0.9.30: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Index of new symbols in 0.9.30

-

O

-
-hb_ot_layout_language_get_required_feature, function in hb-ot-layout -
-
-

V

-
-hb_version_atleast, function in hb-version -
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/api-index-0-9-31.html b/harfbuzz/docs/html/api-index-0-9-31.html deleted file mode 100644 index 0129bfc..0000000 --- a/harfbuzz/docs/html/api-index-0-9-31.html +++ /dev/null @@ -1,46 +0,0 @@ - - - - -Index of new symbols in 0.9.31: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Index of new symbols in 0.9.31

-

B

-
-hb_buffer_add_codepoints, function in hb-buffer -
-
-
-hb_buffer_get_replacement_codepoint, function in hb-buffer -
-
-
-HB_BUFFER_REPLACEMENT_CODEPOINT_DEFAULT, macro in hb-buffer -
-
-
-hb_buffer_set_replacement_codepoint, function in hb-buffer -
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/api-index-0-9-33.html b/harfbuzz/docs/html/api-index-0-9-33.html deleted file mode 100644 index a4593f9..0000000 --- a/harfbuzz/docs/html/api-index-0-9-33.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - -Index of new symbols in 0.9.33: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Index of new symbols in 0.9.33

-

T

-
-HB_TAG_MAX_SIGNED, macro in hb-common -
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/api-index-0-9-38.html b/harfbuzz/docs/html/api-index-0-9-38.html deleted file mode 100644 index 971b83a..0000000 --- a/harfbuzz/docs/html/api-index-0-9-38.html +++ /dev/null @@ -1,64 +0,0 @@ - - - - -Index of new symbols in 0.9.38: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Index of new symbols in 0.9.38

-

F

-
-hb_ft_face_create_referenced, function in hb-ft -
-
-
-hb_ft_font_create_referenced, function in hb-ft -
-
-

G

-
-hb_glib_blob_create, function in hb-glib -
-
-
-hb_glib_get_unicode_funcs, function in hb-glib -
-
-
-hb_glib_script_from_script, function in hb-glib -
-
-
-hb_glib_script_to_script, function in hb-glib -
-
-

I

-
-hb_icu_get_unicode_funcs, function in hb-icu -
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/api-index-0-9-39.html b/harfbuzz/docs/html/api-index-0-9-39.html deleted file mode 100644 index c379f3e..0000000 --- a/harfbuzz/docs/html/api-index-0-9-39.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - -Index of new symbols in 0.9.39: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Index of new symbols in 0.9.39

-

B

-
-hb_buffer_add_latin1, function in hb-buffer -
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/api-index-0-9-41.html b/harfbuzz/docs/html/api-index-0-9-41.html deleted file mode 100644 index f8489fa..0000000 --- a/harfbuzz/docs/html/api-index-0-9-41.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - -Index of new symbols in 0.9.41: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Index of new symbols in 0.9.41

-

B

-
-hb_buffer_reverse_range, function in hb-buffer -
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/api-index-0-9-42.html b/harfbuzz/docs/html/api-index-0-9-42.html deleted file mode 100644 index 546e5a8..0000000 --- a/harfbuzz/docs/html/api-index-0-9-42.html +++ /dev/null @@ -1,42 +0,0 @@ - - - - -Index of new symbols in 0.9.42: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Index of new symbols in 0.9.42

-

B

-
-hb_buffer_cluster_level_t, enum in hb-buffer -
-
-
-hb_buffer_get_cluster_level, function in hb-buffer -
-
-
-hb_buffer_set_cluster_level, function in hb-buffer -
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/api-index-0-9-5.html b/harfbuzz/docs/html/api-index-0-9-5.html deleted file mode 100644 index d6c96ad..0000000 --- a/harfbuzz/docs/html/api-index-0-9-5.html +++ /dev/null @@ -1,56 +0,0 @@ - - - - -Index of new symbols in 0.9.5: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Index of new symbols in 0.9.5

-

B

-
-hb_buffer_get_content_type, function in hb-buffer -
-
-
-hb_buffer_set_content_type, function in hb-buffer -
-
-

F

-
-hb_feature_from_string, function in hb-common -
-
-
-hb_feature_to_string, function in hb-common -
-
-

T

-
-hb_tag_to_string, function in hb-common -
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/api-index-0-9-7.html b/harfbuzz/docs/html/api-index-0-9-7.html deleted file mode 100644 index 7d82d78..0000000 --- a/harfbuzz/docs/html/api-index-0-9-7.html +++ /dev/null @@ -1,195 +0,0 @@ - - - - -Index of new symbols in 0.9.7: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Index of new symbols in 0.9.7

-

B

-
-hb_buffer_add, function in hb-buffer -
-
-
-hb_buffer_deserialize_glyphs, function in hb-buffer -
-
-
-hb_buffer_get_flags, function in hb-buffer -
-
-
-hb_buffer_get_segment_properties, function in hb-buffer -
-
-
-hb_buffer_guess_segment_properties, function in hb-buffer -
-
-
-hb_buffer_serialize_format_from_string, function in hb-buffer -
-
-
-hb_buffer_serialize_format_to_string, function in hb-buffer -
-
-
-hb_buffer_serialize_glyphs, function in hb-buffer -
-
-
-hb_buffer_serialize_list_formats, function in hb-buffer -
-
-
-hb_buffer_set_flags, function in hb-buffer -
-
-
-hb_buffer_set_segment_properties, function in hb-buffer -
-
-

F

-
-hb_face_get_glyph_count, function in hb-face -
-
-
-hb_face_set_glyph_count, function in hb-face -
-
-

O

-
-hb_ot_layout_feature_get_lookups, function in hb-ot-layout -
-
-
-hb_ot_layout_get_glyphs_in_class, function in hb-ot-layout -
-
-
-hb_ot_layout_get_glyph_class, function in hb-ot-layout -
-
-
-hb_ot_layout_lookup_collect_glyphs, function in hb-ot-layout -
-
-
-hb_ot_layout_lookup_substitute_closure, function in hb-ot-layout -
-
-
-hb_ot_layout_lookup_would_substitute, function in hb-ot-layout -
-
-
-hb_ot_shape_plan_collect_lookups, function in hb-ot-layout -
-
-

S

-
-hb_segment_properties_equal, function in hb-buffer -
-
-
-hb_segment_properties_hash, function in hb-buffer -
-
-
-hb_set_add_range, function in hb-set -
-
-
-hb_set_del_range, function in hb-set -
-
-
-hb_set_get_max, function in hb-set -
-
-
-hb_set_get_min, function in hb-set -
-
-
-hb_set_get_population, function in hb-set -
-
-
-hb_set_is_empty, function in hb-set -
-
-
-hb_set_is_equal, function in hb-set -
-
-
-hb_set_next_range, function in hb-set -
-
-
-hb_shape_plan_create, function in hb-shape-plan -
-
-
-hb_shape_plan_create_cached, function in hb-shape-plan -
-
-
-hb_shape_plan_destroy, function in hb-shape-plan -
-
-
-hb_shape_plan_execute, function in hb-shape-plan -
-
-
-hb_shape_plan_get_empty, function in hb-shape-plan -
-
-
-hb_shape_plan_get_shaper, function in hb-shape-plan -
-
-
-hb_shape_plan_get_user_data, function in hb-shape-plan -
-
-
-hb_shape_plan_reference, function in hb-shape-plan -
-
-
-hb_shape_plan_set_user_data, function in hb-shape-plan -
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/api-index-0-9-8.html b/harfbuzz/docs/html/api-index-0-9-8.html deleted file mode 100644 index 92f7c4b..0000000 --- a/harfbuzz/docs/html/api-index-0-9-8.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - -Index of new symbols in 0.9.8: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Index of new symbols in 0.9.8

-

O

-
-hb_ot_layout_collect_lookups, function in hb-ot-layout -
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/api-index-1-0-5.html b/harfbuzz/docs/html/api-index-1-0-5.html deleted file mode 100644 index 7b214c0..0000000 --- a/harfbuzz/docs/html/api-index-1-0-5.html +++ /dev/null @@ -1,50 +0,0 @@ - - - - -Index of new symbols in 1.0.5: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Index of new symbols in 1.0.5

-

F

-
-hb_font_set_parent, function in hb-font -
-
-
-hb_ft_font_changed, function in hb-ft -
-
-
-hb_ft_font_get_load_flags, function in hb-ft -
-
-
-hb_ft_font_set_funcs, function in hb-ft -
-
-
-hb_ft_font_set_load_flags, function in hb-ft -
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/api-index-1-1-2.html b/harfbuzz/docs/html/api-index-1-1-2.html deleted file mode 100644 index 5e0e51e..0000000 --- a/harfbuzz/docs/html/api-index-1-1-2.html +++ /dev/null @@ -1,38 +0,0 @@ - - - - -Index of new symbols in 1.1.2: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Index of new symbols in 1.1.2

-

F

-
-hb_font_funcs_set_font_h_extents_func, function in hb-font -
-
-
-hb_font_funcs_set_font_v_extents_func, function in hb-font -
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/api-index-1-1-3.html b/harfbuzz/docs/html/api-index-1-1-3.html deleted file mode 100644 index dbde650..0000000 --- a/harfbuzz/docs/html/api-index-1-1-3.html +++ /dev/null @@ -1,53 +0,0 @@ - - - - -Index of new symbols in 1.1.3: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Index of new symbols in 1.1.3

-

B

-
-hb_buffer_message_func_t, user_function in hb-buffer -
-
-
-hb_buffer_set_message_func, function in hb-buffer -
-
-

F

-
-hb_font_get_extents_for_direction, function in hb-font -
-
-
-hb_font_get_h_extents, function in hb-font -
-
-
-hb_font_get_v_extents, function in hb-font -
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/api-index-1-2-3.html b/harfbuzz/docs/html/api-index-1-2-3.html deleted file mode 100644 index 97856dd..0000000 --- a/harfbuzz/docs/html/api-index-1-2-3.html +++ /dev/null @@ -1,46 +0,0 @@ - - - - -Index of new symbols in 1.2.3: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Index of new symbols in 1.2.3

-

F

-
-hb_font_funcs_set_nominal_glyph_func, function in hb-font -
-
-
-hb_font_funcs_set_variation_glyph_func, function in hb-font -
-
-
-hb_font_get_nominal_glyph, function in hb-font -
-
-
-hb_font_get_variation_glyph, function in hb-font -
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/api-index-1-3-3.html b/harfbuzz/docs/html/api-index-1-3-3.html deleted file mode 100644 index 20cef27..0000000 --- a/harfbuzz/docs/html/api-index-1-3-3.html +++ /dev/null @@ -1,94 +0,0 @@ - - - - -Index of new symbols in 1.3.3: HarfBuzz Manual - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/harfbuzz/docs/html/api-index-1-4-0.html b/harfbuzz/docs/html/api-index-1-4-0.html deleted file mode 100644 index 2a5080b..0000000 --- a/harfbuzz/docs/html/api-index-1-4-0.html +++ /dev/null @@ -1,38 +0,0 @@ - - - - -Index of new symbols in 1.4.0: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Index of new symbols in 1.4.0

-

S

-
-hb_shape_plan_create2, function in hb-shape-plan -
-
-
-hb_shape_plan_create_cached2, function in hb-shape-plan -
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/api-index-1-4-2.html b/harfbuzz/docs/html/api-index-1-4-2.html deleted file mode 100644 index 2f231f9..0000000 --- a/harfbuzz/docs/html/api-index-1-4-2.html +++ /dev/null @@ -1,88 +0,0 @@ - - - - -Index of new symbols in 1.4.2: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Index of new symbols in 1.4.2

-

F

-
-hb_font_get_var_coords_normalized, function in hb-font -
-
-
-hb_font_set_variations, function in hb-font -
-
-
-hb_font_set_var_coords_design, function in hb-font -
-
-
-hb_font_set_var_coords_normalized, function in hb-font -
-
-

O

-
-hb_ot_var_axis_t, struct in hb-deprecated -
-
-
-hb_ot_var_get_axis_count, function in hb-ot-var -
-
-
-hb_ot_var_has_data, function in hb-ot-var -
-
-
-hb_ot_var_normalize_coords, function in hb-ot-var -
-
-
-hb_ot_var_normalize_variations, function in hb-ot-var -
-
-
-HB_OT_VAR_NO_AXIS_INDEX, macro in hb-deprecated -
-
-

V

-
-hb_variation_from_string, function in hb-common -
-
-
-hb_variation_t, struct in hb-common -
-
-
-hb_variation_to_string, function in hb-common -
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/api-index-1-4-3.html b/harfbuzz/docs/html/api-index-1-4-3.html deleted file mode 100644 index 80a5c53..0000000 --- a/harfbuzz/docs/html/api-index-1-4-3.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - -Index of new symbols in 1.4.3: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Index of new symbols in 1.4.3

-

F

-
-hb_font_set_face, function in hb-font -
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/api-index-1-5-0.html b/harfbuzz/docs/html/api-index-1-5-0.html deleted file mode 100644 index d46687e..0000000 --- a/harfbuzz/docs/html/api-index-1-5-0.html +++ /dev/null @@ -1,53 +0,0 @@ - - - - -Index of new symbols in 1.5.0: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Index of new symbols in 1.5.0

-

B

-
-hb_buffer_append, function in hb-buffer -
-
-
-hb_buffer_diff, function in hb-buffer -
-
-
-hb_buffer_diff_flags_t, enum in hb-buffer -
-
-

G

-
-hb_glyph_flags_t, enum in hb-buffer -
-
-
-hb_glyph_info_get_glyph_flags, function in hb-buffer -
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/api-index-1-6-0.html b/harfbuzz/docs/html/api-index-1-6-0.html deleted file mode 100644 index e6b3972..0000000 --- a/harfbuzz/docs/html/api-index-1-6-0.html +++ /dev/null @@ -1,38 +0,0 @@ - - - - -Index of new symbols in 1.6.0: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Index of new symbols in 1.6.0

-

F

-
-hb_face_get_table_tags, function in hb-face -
-
-
-hb_font_set_ptem, function in hb-font -
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/api-index-1-7-2.html b/harfbuzz/docs/html/api-index-1-7-2.html deleted file mode 100644 index b2932dc..0000000 --- a/harfbuzz/docs/html/api-index-1-7-2.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - -Index of new symbols in 1.7.2: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Index of new symbols in 1.7.2

-

C

-
-hb_coretext_font_create, function in hb-coretext -
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/api-index-1-7-5.html b/harfbuzz/docs/html/api-index-1-7-5.html deleted file mode 100644 index 243f9da..0000000 --- a/harfbuzz/docs/html/api-index-1-7-5.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - -Index of new symbols in 1.7.5: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Index of new symbols in 1.7.5

- -
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/api-index-1-7-7.html b/harfbuzz/docs/html/api-index-1-7-7.html deleted file mode 100644 index c2375f2..0000000 --- a/harfbuzz/docs/html/api-index-1-7-7.html +++ /dev/null @@ -1,104 +0,0 @@ - - - - -Index of new symbols in 1.7.7: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Index of new symbols in 1.7.7

-

B

-
-hb_blob_create_from_file, function in hb-blob -
-
-

F

-
-hb_face_count, function in hb-face -
-
-

M

-
-hb_map_allocation_successful, function in hb-map -
-
-
-hb_map_clear, function in hb-map -
-
-
-hb_map_create, function in hb-map -
-
-
-hb_map_del, function in hb-map -
-
-
-hb_map_destroy, function in hb-map -
-
-
-hb_map_get, function in hb-map -
-
-
-hb_map_get_empty, function in hb-map -
-
-
-hb_map_get_population, function in hb-map -
-
-
-hb_map_get_user_data, function in hb-map -
-
-
-hb_map_has, function in hb-map -
-
-
-hb_map_is_empty, function in hb-map -
-
-
-hb_map_reference, function in hb-map -
-
-
-hb_map_set, function in hb-map -
-
-
-hb_map_set_user_data, function in hb-map -
-
-
-HB_MAP_VALUE_INVALID, macro in hb-map -
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/api-index-1-8-0.html b/harfbuzz/docs/html/api-index-1-8-0.html deleted file mode 100644 index da6ce0b..0000000 --- a/harfbuzz/docs/html/api-index-1-8-0.html +++ /dev/null @@ -1,65 +0,0 @@ - - - - -Index of new symbols in 1.8.0: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Index of new symbols in 1.8.0

-

B

-
-hb_blob_copy_writable_or_fail, function in hb-blob -
-
-

S

-
-hb_set_previous, function in hb-set -
-
-
-hb_set_previous_range, function in hb-set -
-
-
-hb_subset_input_create_or_fail, function in hb-subset -
-
-
-hb_subset_input_destroy, function in hb-subset -
-
-
-hb_subset_input_glyph_set, function in hb-subset -
-
-
-hb_subset_input_reference, function in hb-subset -
-
-
-hb_subset_input_unicode_set, function in hb-subset -
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/api-index-1-8-1.html b/harfbuzz/docs/html/api-index-1-8-1.html deleted file mode 100644 index c773b0f..0000000 --- a/harfbuzz/docs/html/api-index-1-8-1.html +++ /dev/null @@ -1,41 +0,0 @@ - - - - -Index of new symbols in 1.8.1: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Index of new symbols in 1.8.1

-

O

-
-hb_ot_layout_lookups_substitute_closure, function in hb-ot-layout -
-
-

S

-
-hb_set_is_subset, function in hb-set -
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/api-index-1-8-5.html b/harfbuzz/docs/html/api-index-1-8-5.html deleted file mode 100644 index d5bbc06..0000000 --- a/harfbuzz/docs/html/api-index-1-8-5.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - -Index of new symbols in 1.8.5: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Index of new symbols in 1.8.5

-

O

-
-hb_ot_layout_collect_features, function in hb-ot-layout -
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/api-index-1-8-6.html b/harfbuzz/docs/html/api-index-1-8-6.html deleted file mode 100644 index eedfdf9..0000000 --- a/harfbuzz/docs/html/api-index-1-8-6.html +++ /dev/null @@ -1,50 +0,0 @@ - - - - -Index of new symbols in 1.8.6: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Index of new symbols in 1.8.6

-

F

-
-hb_font_funcs_set_glyph_h_advances_func, function in hb-font -
-
-
-hb_font_funcs_set_glyph_v_advances_func, function in hb-font -
-
-
-hb_font_get_glyph_advances_for_direction, function in hb-font -
-
-
-hb_font_get_glyph_h_advances, function in hb-font -
-
-
-hb_font_get_glyph_v_advances, function in hb-font -
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/api-index-1-9-0.html b/harfbuzz/docs/html/api-index-1-9-0.html deleted file mode 100644 index 43cab97..0000000 --- a/harfbuzz/docs/html/api-index-1-9-0.html +++ /dev/null @@ -1,57 +0,0 @@ - - - - -Index of new symbols in 1.9.0: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Index of new symbols in 1.9.0

-

F

-
-hb_face_builder_add_table, function in hb-face -
-
-
-hb_face_builder_create, function in hb-face -
-
-
-hb_face_collect_unicodes, function in hb-face -
-
-
-hb_face_collect_variation_selectors, function in hb-face -
-
-
-hb_face_collect_variation_unicodes, function in hb-face -
-
-

U

-
-HB_UNICODE_MAX, macro in hb-unicode -
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/api-index-2-0-0.html b/harfbuzz/docs/html/api-index-2-0-0.html deleted file mode 100644 index c1538eb..0000000 --- a/harfbuzz/docs/html/api-index-2-0-0.html +++ /dev/null @@ -1,92 +0,0 @@ - - - - -Index of new symbols in 2.0.0: HarfBuzz Manual - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/harfbuzz/docs/html/api-index-2-1-0.html b/harfbuzz/docs/html/api-index-2-1-0.html deleted file mode 100644 index 20ad84b..0000000 --- a/harfbuzz/docs/html/api-index-2-1-0.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - -Index of new symbols in 2.1.0: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Index of new symbols in 2.1.0

-

C

-
-HB_COLOR, macro in hb-ot-color -
-
-
-hb_color_get_alpha, function in hb-ot-color -
-
-
-hb_color_get_blue, function in hb-ot-color -
-
-
-hb_color_get_green, function in hb-ot-color -
-
-
-hb_color_get_red, function in hb-ot-color -
-
-
-hb_color_t, typedef in hb-ot-color -
-
-

O

-
-hb_ot_color_glyph_get_layers, function in hb-ot-color -
-
-
-hb_ot_color_glyph_reference_png, function in hb-ot-color -
-
-
-hb_ot_color_glyph_reference_svg, function in hb-ot-color -
-
-
-hb_ot_color_has_layers, function in hb-ot-color -
-
-
-hb_ot_color_has_palettes, function in hb-ot-color -
-
-
-hb_ot_color_has_png, function in hb-ot-color -
-
-
-hb_ot_color_has_svg, function in hb-ot-color -
-
-
-hb_ot_color_layer_t, struct in hb-ot-color -
-
-
-hb_ot_color_palette_color_get_name_id, function in hb-ot-color -
-
-
-hb_ot_color_palette_flags_t, enum in hb-ot-color -
-
-
-hb_ot_color_palette_get_colors, function in hb-ot-color -
-
-
-hb_ot_color_palette_get_count, function in hb-ot-color -
-
-
-hb_ot_color_palette_get_flags, function in hb-ot-color -
-
-
-hb_ot_color_palette_get_name_id, function in hb-ot-color -
-
-
-hb_ot_name_entry_t, struct in hb-ot-name -
-
-
-hb_ot_name_get_utf16, function in hb-ot-name -
-
-
-hb_ot_name_get_utf32, function in hb-ot-name -
-
-
-hb_ot_name_get_utf8, function in hb-ot-name -
-
-
-hb_ot_name_list_names, function in hb-ot-name -
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/api-index-2-2-0.html b/harfbuzz/docs/html/api-index-2-2-0.html deleted file mode 100644 index 679cc4b..0000000 --- a/harfbuzz/docs/html/api-index-2-2-0.html +++ /dev/null @@ -1,85 +0,0 @@ - - - - -Index of new symbols in 2.2.0: HarfBuzz Manual - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/harfbuzz/docs/html/api-index-2-3-0.html b/harfbuzz/docs/html/api-index-2-3-0.html deleted file mode 100644 index a5d1469..0000000 --- a/harfbuzz/docs/html/api-index-2-3-0.html +++ /dev/null @@ -1,42 +0,0 @@ - - - - -Index of new symbols in 2.3.0: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Index of new symbols in 2.3.0

-

A

-
-hb_aat_layout_has_positioning, function in hb-aat-layout -
-
-
-hb_aat_layout_has_substitution, function in hb-aat-layout -
-
-
-hb_aat_layout_has_tracking, function in hb-aat-layout -
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/api-index-2-4-0.html b/harfbuzz/docs/html/api-index-2-4-0.html deleted file mode 100644 index a139e30..0000000 --- a/harfbuzz/docs/html/api-index-2-4-0.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - -Index of new symbols in 2.4.0: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Index of new symbols in 2.4.0

-

D

-
-hb_directwrite_face_create, function in hb-directwrite -
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/api-index-2-5-0.html b/harfbuzz/docs/html/api-index-2-5-0.html deleted file mode 100644 index dd424af..0000000 --- a/harfbuzz/docs/html/api-index-2-5-0.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - -Index of new symbols in 2.5.0: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Index of new symbols in 2.5.0

-

D

-
-hb_directwrite_face_get_font_face, function in hb-directwrite -
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/api-index-2-6-0.html b/harfbuzz/docs/html/api-index-2-6-0.html deleted file mode 100644 index 7918cd7..0000000 --- a/harfbuzz/docs/html/api-index-2-6-0.html +++ /dev/null @@ -1,84 +0,0 @@ - - - - -Index of new symbols in 2.6.0: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Index of new symbols in 2.6.0

-

F

-
-hb_font_set_var_named_instance, function in hb-font -
-
-

G

-
-hb_gdi_face_create, function in hb-gdi -
-
-

O

-
-hb_ot_layout_baseline_tag_t, enum in hb-ot-layout -
-
-
-hb_ot_layout_get_baseline, function in hb-ot-layout -
-
-
-hb_ot_meta_get_entry_tags, function in hb-ot-meta -
-
-
-hb_ot_meta_reference_entry, function in hb-ot-meta -
-
-
-hb_ot_meta_tag_t, enum in hb-ot-meta -
-
-
-hb_ot_metrics_get_position, function in hb-ot-metrics -
-
-
-hb_ot_metrics_get_variation, function in hb-ot-metrics -
-
-
-hb_ot_metrics_get_x_variation, function in hb-ot-metrics -
-
-
-hb_ot_metrics_get_y_variation, function in hb-ot-metrics -
-
-
-hb_ot_metrics_tag_t, enum in hb-ot-metrics -
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/api-index-2-6-3.html b/harfbuzz/docs/html/api-index-2-6-3.html deleted file mode 100644 index da3e73d..0000000 --- a/harfbuzz/docs/html/api-index-2-6-3.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - -Index of new symbols in 2.6.3: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Index of new symbols in 2.6.3

-

F

-
-hb_font_get_nominal_glyphs, function in hb-font -
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/api-index-2-6-5.html b/harfbuzz/docs/html/api-index-2-6-5.html deleted file mode 100644 index 0c5d9d6..0000000 --- a/harfbuzz/docs/html/api-index-2-6-5.html +++ /dev/null @@ -1,38 +0,0 @@ - - - - -Index of new symbols in 2.6.5: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Index of new symbols in 2.6.5

-

F

-
-hb_ft_font_lock_face, function in hb-ft -
-
-
-hb_ft_font_unlock_face, function in hb-ft -
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/api-index-2-6-8.html b/harfbuzz/docs/html/api-index-2-6-8.html deleted file mode 100644 index 07c9b88..0000000 --- a/harfbuzz/docs/html/api-index-2-6-8.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - -Index of new symbols in 2.6.8: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Index of new symbols in 2.6.8

-

O

-
-hb_ot_layout_lookup_get_glyph_alternates, function in hb-ot-layout -
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/api-index-2-7-3.html b/harfbuzz/docs/html/api-index-2-7-3.html deleted file mode 100644 index 9eee8e1..0000000 --- a/harfbuzz/docs/html/api-index-2-7-3.html +++ /dev/null @@ -1,46 +0,0 @@ - - - - -Index of new symbols in 2.7.3: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Index of new symbols in 2.7.3

-

B

-
-hb_buffer_deserialize_unicode, function in hb-buffer -
-
-
-hb_buffer_has_positions, function in hb-buffer -
-
-
-hb_buffer_serialize, function in hb-buffer -
-
-
-hb_buffer_serialize_unicode, function in hb-buffer -
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/api-index-2-8-2.html b/harfbuzz/docs/html/api-index-2-8-2.html deleted file mode 100644 index 8ef0da9..0000000 --- a/harfbuzz/docs/html/api-index-2-8-2.html +++ /dev/null @@ -1,45 +0,0 @@ - - - - -Index of new symbols in 2.8.2: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Index of new symbols in 2.8.2

-

B

-
-hb_blob_create_from_file_or_fail, function in hb-blob -
-
-
-hb_blob_create_or_fail, function in hb-blob -
-
-

S

-
-hb_set_copy, function in hb-set -
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/api-index-2-9-0.html b/harfbuzz/docs/html/api-index-2-9-0.html deleted file mode 100644 index c5291d2..0000000 --- a/harfbuzz/docs/html/api-index-2-9-0.html +++ /dev/null @@ -1,54 +0,0 @@ - - - - -Index of new symbols in 2.9.0: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Index of new symbols in 2.9.0

-

S

-
-hb_subset_flags_t, enum in hb-subset -
-
-
-hb_subset_input_get_flags, function in hb-subset -
-
-
-hb_subset_input_get_user_data, function in hb-subset -
-
-
-hb_subset_input_set_flags, function in hb-subset -
-
-
-hb_subset_input_set_user_data, function in hb-subset -
-
-
-hb_subset_or_fail, function in hb-subset -
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/api-index-2-9-1.html b/harfbuzz/docs/html/api-index-2-9-1.html deleted file mode 100644 index d387c38..0000000 --- a/harfbuzz/docs/html/api-index-2-9-1.html +++ /dev/null @@ -1,38 +0,0 @@ - - - - -Index of new symbols in 2.9.1: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Index of new symbols in 2.9.1

-

S

-
-hb_subset_input_set, function in hb-subset -
-
-
-hb_subset_sets_t, enum in hb-subset -
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/api-index-3-0-0.html b/harfbuzz/docs/html/api-index-3-0-0.html deleted file mode 100644 index 642cac3..0000000 --- a/harfbuzz/docs/html/api-index-3-0-0.html +++ /dev/null @@ -1,42 +0,0 @@ - - - - -Index of new symbols in 3.0.0: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Index of new symbols in 3.0.0

-

S

-
-hb_set_invert, function in hb-set -
-
-
-hb_style_get_value, function in hb-style -
-
-
-hb_style_tag_t, enum in hb-style -
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/api-index-3-1-0.html b/harfbuzz/docs/html/api-index-3-1-0.html deleted file mode 100644 index cea53fe..0000000 --- a/harfbuzz/docs/html/api-index-3-1-0.html +++ /dev/null @@ -1,38 +0,0 @@ - - - - -Index of new symbols in 3.1.0: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Index of new symbols in 3.1.0

-

B

-
-hb_buffer_get_not_found_glyph, function in hb-buffer -
-
-
-hb_buffer_set_not_found_glyph, function in hb-buffer -
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/api-index-full.html b/harfbuzz/docs/html/api-index-full.html deleted file mode 100644 index ab5fe63..0000000 --- a/harfbuzz/docs/html/api-index-full.html +++ /dev/null @@ -1,2335 +0,0 @@ - - - - -API Index: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-API Index

-

A

-
-hb_aat_layout_feature_selector_info_t, struct in hb-aat-layout -
-
-
-hb_aat_layout_feature_selector_t, enum in hb-aat-layout -
-
-
-hb_aat_layout_feature_type_get_name_id, function in hb-aat-layout -
-
-
-hb_aat_layout_feature_type_get_selector_infos, function in hb-aat-layout -
-
-
-hb_aat_layout_feature_type_t, enum in hb-aat-layout -
-
-
-hb_aat_layout_get_feature_types, function in hb-aat-layout -
-
-
-hb_aat_layout_has_positioning, function in hb-aat-layout -
-
-
-hb_aat_layout_has_substitution, function in hb-aat-layout -
-
-
-hb_aat_layout_has_tracking, function in hb-aat-layout -
-
-
-HB_AAT_LAYOUT_NO_SELECTOR_INDEX, macro in hb-aat-layout -
-
-

B

-
-hb_blob_copy_writable_or_fail, function in hb-blob -
-
-
-hb_blob_create, function in hb-blob -
-
-
-hb_blob_create_from_file, function in hb-blob -
-
-
-hb_blob_create_from_file_or_fail, function in hb-blob -
-
-
-hb_blob_create_or_fail, function in hb-blob -
-
-
-hb_blob_create_sub_blob, function in hb-blob -
-
-
-hb_blob_destroy, function in hb-blob -
-
-
-hb_blob_get_data, function in hb-blob -
-
-
-hb_blob_get_data_writable, function in hb-blob -
-
-
-hb_blob_get_empty, function in hb-blob -
-
-
-hb_blob_get_length, function in hb-blob -
-
-
-hb_blob_get_user_data, function in hb-blob -
-
-
-hb_blob_is_immutable, function in hb-blob -
-
-
-hb_blob_make_immutable, function in hb-blob -
-
-
-hb_blob_reference, function in hb-blob -
-
-
-hb_blob_set_user_data, function in hb-blob -
-
-
-hb_blob_t, typedef in hb-blob -
-
-
-hb_bool_t, typedef in hb-common -
-
-
-hb_buffer_add, function in hb-buffer -
-
-
-hb_buffer_add_codepoints, function in hb-buffer -
-
-
-hb_buffer_add_latin1, function in hb-buffer -
-
-
-hb_buffer_add_utf16, function in hb-buffer -
-
-
-hb_buffer_add_utf32, function in hb-buffer -
-
-
-hb_buffer_add_utf8, function in hb-buffer -
-
-
-hb_buffer_allocation_successful, function in hb-buffer -
-
-
-hb_buffer_append, function in hb-buffer -
-
-
-hb_buffer_clear_contents, function in hb-buffer -
-
-
-hb_buffer_cluster_level_t, enum in hb-buffer -
-
-
-hb_buffer_content_type_t, enum in hb-buffer -
-
-
-hb_buffer_create, function in hb-buffer -
-
-
-hb_buffer_deserialize_glyphs, function in hb-buffer -
-
-
-hb_buffer_deserialize_unicode, function in hb-buffer -
-
-
-hb_buffer_destroy, function in hb-buffer -
-
-
-hb_buffer_diff, function in hb-buffer -
-
-
-hb_buffer_diff_flags_t, enum in hb-buffer -
-
-
-HB_BUFFER_FLAGS_DEFAULT, macro in hb-deprecated -
-
-
-hb_buffer_flags_t, enum in hb-buffer -
-
-
-hb_buffer_get_cluster_level, function in hb-buffer -
-
-
-hb_buffer_get_content_type, function in hb-buffer -
-
-
-hb_buffer_get_direction, function in hb-buffer -
-
-
-hb_buffer_get_empty, function in hb-buffer -
-
-
-hb_buffer_get_flags, function in hb-buffer -
-
-
-hb_buffer_get_glyph_infos, function in hb-buffer -
-
-
-hb_buffer_get_glyph_positions, function in hb-buffer -
-
-
-hb_buffer_get_invisible_glyph, function in hb-buffer -
-
-
-hb_buffer_get_language, function in hb-buffer -
-
-
-hb_buffer_get_length, function in hb-buffer -
-
-
-hb_buffer_get_not_found_glyph, function in hb-buffer -
-
-
-hb_buffer_get_replacement_codepoint, function in hb-buffer -
-
-
-hb_buffer_get_script, function in hb-buffer -
-
-
-hb_buffer_get_segment_properties, function in hb-buffer -
-
-
-hb_buffer_get_unicode_funcs, function in hb-buffer -
-
-
-hb_buffer_get_user_data, function in hb-buffer -
-
-
-hb_buffer_guess_segment_properties, function in hb-buffer -
-
-
-hb_buffer_has_positions, function in hb-buffer -
-
-
-hb_buffer_message_func_t, user_function in hb-buffer -
-
-
-hb_buffer_normalize_glyphs, function in hb-buffer -
-
-
-hb_buffer_pre_allocate, function in hb-buffer -
-
-
-hb_buffer_reference, function in hb-buffer -
-
-
-HB_BUFFER_REPLACEMENT_CODEPOINT_DEFAULT, macro in hb-buffer -
-
-
-hb_buffer_reset, function in hb-buffer -
-
-
-hb_buffer_reverse, function in hb-buffer -
-
-
-hb_buffer_reverse_clusters, function in hb-buffer -
-
-
-hb_buffer_reverse_range, function in hb-buffer -
-
-
-hb_buffer_serialize, function in hb-buffer -
-
-
-HB_BUFFER_SERIALIZE_FLAGS_DEFAULT, macro in hb-deprecated -
-
-
-hb_buffer_serialize_flags_t, enum in hb-buffer -
-
-
-hb_buffer_serialize_format_from_string, function in hb-buffer -
-
-
-hb_buffer_serialize_format_t, enum in hb-buffer -
-
-
-hb_buffer_serialize_format_to_string, function in hb-buffer -
-
-
-hb_buffer_serialize_glyphs, function in hb-buffer -
-
-
-hb_buffer_serialize_list_formats, function in hb-buffer -
-
-
-hb_buffer_serialize_unicode, function in hb-buffer -
-
-
-hb_buffer_set_cluster_level, function in hb-buffer -
-
-
-hb_buffer_set_content_type, function in hb-buffer -
-
-
-hb_buffer_set_direction, function in hb-buffer -
-
-
-hb_buffer_set_flags, function in hb-buffer -
-
-
-hb_buffer_set_invisible_glyph, function in hb-buffer -
-
-
-hb_buffer_set_language, function in hb-buffer -
-
-
-hb_buffer_set_length, function in hb-buffer -
-
-
-hb_buffer_set_message_func, function in hb-buffer -
-
-
-hb_buffer_set_not_found_glyph, function in hb-buffer -
-
-
-hb_buffer_set_replacement_codepoint, function in hb-buffer -
-
-
-hb_buffer_set_script, function in hb-buffer -
-
-
-hb_buffer_set_segment_properties, function in hb-buffer -
-
-
-hb_buffer_set_unicode_funcs, function in hb-buffer -
-
-
-hb_buffer_set_user_data, function in hb-buffer -
-
-
-hb_buffer_t, typedef in hb-buffer -
-
-

C

-
-hb_codepoint_t, typedef in hb-common -
-
-
-HB_COLOR, macro in hb-ot-color -
-
-
-hb_color_get_alpha, function in hb-ot-color -
-
-
-hb_color_get_blue, function in hb-ot-color -
-
-
-hb_color_get_green, function in hb-ot-color -
-
-
-hb_color_get_red, function in hb-ot-color -
-
-
-hb_color_t, typedef in hb-ot-color -
-
-
-hb_coretext_face_create, function in hb-coretext -
-
-
-hb_coretext_face_get_cg_font, function in hb-coretext -
-
-
-hb_coretext_font_create, function in hb-coretext -
-
-
-hb_coretext_font_get_ct_font, function in hb-coretext -
-
-
-HB_CORETEXT_TAG_KERX, macro in hb-coretext -
-
-
-HB_CORETEXT_TAG_MORT, macro in hb-coretext -
-
-
-HB_CORETEXT_TAG_MORX, macro in hb-coretext -
-
-

D

-
-hb_destroy_func_t, user_function in hb-common -
-
-
-hb_direction_from_string, function in hb-common -
-
-
-HB_DIRECTION_IS_BACKWARD, macro in hb-common -
-
-
-HB_DIRECTION_IS_FORWARD, macro in hb-common -
-
-
-HB_DIRECTION_IS_HORIZONTAL, macro in hb-common -
-
-
-HB_DIRECTION_IS_VALID, macro in hb-common -
-
-
-HB_DIRECTION_IS_VERTICAL, macro in hb-common -
-
-
-HB_DIRECTION_REVERSE, macro in hb-common -
-
-
-hb_direction_t, enum in hb-common -
-
-
-hb_direction_to_string, function in hb-common -
-
-
-hb_directwrite_face_create, function in hb-directwrite -
-
-
-hb_directwrite_face_get_font_face, function in hb-directwrite -
-
-

F

-
-hb_face_builder_add_table, function in hb-face -
-
-
-hb_face_builder_create, function in hb-face -
-
-
-hb_face_collect_unicodes, function in hb-face -
-
-
-hb_face_collect_variation_selectors, function in hb-face -
-
-
-hb_face_collect_variation_unicodes, function in hb-face -
-
-
-hb_face_count, function in hb-face -
-
-
-hb_face_create, function in hb-face -
-
-
-hb_face_create_for_tables, function in hb-face -
-
-
-hb_face_destroy, function in hb-face -
-
-
-hb_face_get_empty, function in hb-face -
-
-
-hb_face_get_glyph_count, function in hb-face -
-
-
-hb_face_get_index, function in hb-face -
-
-
-hb_face_get_table_tags, function in hb-face -
-
-
-hb_face_get_upem, function in hb-face -
-
-
-hb_face_get_user_data, function in hb-face -
-
-
-hb_face_is_immutable, function in hb-face -
-
-
-hb_face_make_immutable, function in hb-face -
-
-
-hb_face_reference, function in hb-face -
-
-
-hb_face_reference_blob, function in hb-face -
-
-
-hb_face_reference_table, function in hb-face -
-
-
-hb_face_set_glyph_count, function in hb-face -
-
-
-hb_face_set_index, function in hb-face -
-
-
-hb_face_set_upem, function in hb-face -
-
-
-hb_face_set_user_data, function in hb-face -
-
-
-hb_face_t, typedef in hb-face -
-
-
-hb_feature_from_string, function in hb-common -
-
-
-HB_FEATURE_GLOBAL_END, macro in hb-common -
-
-
-HB_FEATURE_GLOBAL_START, macro in hb-common -
-
-
-hb_feature_t, struct in hb-common -
-
-
-hb_feature_to_string, function in hb-common -
-
-
-hb_font_add_glyph_origin_for_direction, function in hb-font -
-
-
-hb_font_create, function in hb-font -
-
-
-hb_font_create_sub_font, function in hb-font -
-
-
-hb_font_destroy, function in hb-font -
-
-
-hb_font_extents_t, struct in hb-font -
-
-
-hb_font_funcs_create, function in hb-font -
-
-
-hb_font_funcs_destroy, function in hb-font -
-
-
-hb_font_funcs_get_empty, function in hb-font -
-
-
-hb_font_funcs_get_user_data, function in hb-font -
-
-
-hb_font_funcs_is_immutable, function in hb-font -
-
-
-hb_font_funcs_make_immutable, function in hb-font -
-
-
-hb_font_funcs_reference, function in hb-font -
-
-
-hb_font_funcs_set_font_h_extents_func, function in hb-font -
-
-
-hb_font_funcs_set_font_v_extents_func, function in hb-font -
-
-
-hb_font_funcs_set_glyph_contour_point_func, function in hb-font -
-
-
-hb_font_funcs_set_glyph_extents_func, function in hb-font -
-
-
-hb_font_funcs_set_glyph_from_name_func, function in hb-font -
-
-
-hb_font_funcs_set_glyph_h_advances_func, function in hb-font -
-
-
-hb_font_funcs_set_glyph_h_advance_func, function in hb-font -
-
-
-hb_font_funcs_set_glyph_h_kerning_func, function in hb-font -
-
-
-hb_font_funcs_set_glyph_h_origin_func, function in hb-font -
-
-
-hb_font_funcs_set_glyph_name_func, function in hb-font -
-
-
-hb_font_funcs_set_glyph_v_advances_func, function in hb-font -
-
-
-hb_font_funcs_set_glyph_v_advance_func, function in hb-font -
-
-
-hb_font_funcs_set_glyph_v_kerning_func, function in hb-deprecated -
-
-
-hb_font_funcs_set_glyph_v_origin_func, function in hb-font -
-
-
-hb_font_funcs_set_nominal_glyphs_func, function in hb-font -
-
-
-hb_font_funcs_set_nominal_glyph_func, function in hb-font -
-
-
-hb_font_funcs_set_user_data, function in hb-font -
-
-
-hb_font_funcs_set_variation_glyph_func, function in hb-font -
-
-
-hb_font_funcs_t, typedef in hb-font -
-
-
-hb_font_get_empty, function in hb-font -
-
-
-hb_font_get_extents_for_direction, function in hb-font -
-
-
-hb_font_get_face, function in hb-font -
-
-
-hb_font_get_font_extents_func_t, user_function in hb-font -
-
-
-hb_font_get_font_h_extents_func_t, typedef in hb-font -
-
-
-hb_font_get_font_v_extents_func_t, typedef in hb-font -
-
-
-hb_font_get_glyph, function in hb-font -
-
-
-hb_font_get_glyph_advances_for_direction, function in hb-font -
-
-
-hb_font_get_glyph_advances_func_t, user_function in hb-font -
-
-
-hb_font_get_glyph_advance_for_direction, function in hb-font -
-
-
-hb_font_get_glyph_advance_func_t, user_function in hb-font -
-
-
-hb_font_get_glyph_contour_point, function in hb-font -
-
-
-hb_font_get_glyph_contour_point_for_origin, function in hb-font -
-
-
-hb_font_get_glyph_contour_point_func_t, user_function in hb-font -
-
-
-hb_font_get_glyph_extents, function in hb-font -
-
-
-hb_font_get_glyph_extents_for_origin, function in hb-font -
-
-
-hb_font_get_glyph_extents_func_t, user_function in hb-font -
-
-
-hb_font_get_glyph_from_name, function in hb-font -
-
-
-hb_font_get_glyph_from_name_func_t, user_function in hb-font -
-
-
-hb_font_get_glyph_func_t, user_function in hb-deprecated -
-
-
-hb_font_get_glyph_h_advance, function in hb-font -
-
-
-hb_font_get_glyph_h_advances, function in hb-font -
-
-
-hb_font_get_glyph_h_advances_func_t, typedef in hb-font -
-
-
-hb_font_get_glyph_h_advance_func_t, typedef in hb-font -
-
-
-hb_font_get_glyph_h_kerning, function in hb-font -
-
-
-hb_font_get_glyph_h_kerning_func_t, typedef in hb-font -
-
-
-hb_font_get_glyph_h_origin, function in hb-font -
-
-
-hb_font_get_glyph_h_origin_func_t, typedef in hb-font -
-
-
-hb_font_get_glyph_kerning_for_direction, function in hb-font -
-
-
-hb_font_get_glyph_kerning_func_t, user_function in hb-font -
-
-
-hb_font_get_glyph_name, function in hb-font -
-
-
-hb_font_get_glyph_name_func_t, user_function in hb-font -
-
-
-hb_font_get_glyph_origin_for_direction, function in hb-font -
-
-
-hb_font_get_glyph_origin_func_t, user_function in hb-font -
-
-
-hb_font_get_glyph_v_advance, function in hb-font -
-
-
-hb_font_get_glyph_v_advances, function in hb-font -
-
-
-hb_font_get_glyph_v_advances_func_t, typedef in hb-font -
-
-
-hb_font_get_glyph_v_advance_func_t, typedef in hb-font -
-
-
-hb_font_get_glyph_v_kerning, function in hb-deprecated -
-
-
-hb_font_get_glyph_v_kerning_func_t, typedef in hb-deprecated -
-
-
-hb_font_get_glyph_v_origin, function in hb-font -
-
-
-hb_font_get_glyph_v_origin_func_t, typedef in hb-font -
-
-
-hb_font_get_h_extents, function in hb-font -
-
-
-hb_font_get_nominal_glyph, function in hb-font -
-
-
-hb_font_get_nominal_glyphs, function in hb-font -
-
-
-hb_font_get_nominal_glyphs_func_t, user_function in hb-font -
-
-
-hb_font_get_nominal_glyph_func_t, user_function in hb-font -
-
-
-hb_font_get_parent, function in hb-font -
-
-
-hb_font_get_ppem, function in hb-font -
-
-
-hb_font_get_ptem, function in hb-font -
-
-
-hb_font_get_scale, function in hb-font -
-
-
-hb_font_get_user_data, function in hb-font -
-
-
-hb_font_get_variation_glyph, function in hb-font -
-
-
-hb_font_get_variation_glyph_func_t, user_function in hb-font -
-
-
-hb_font_get_var_coords_normalized, function in hb-font -
-
-
-hb_font_get_v_extents, function in hb-font -
-
-
-hb_font_glyph_from_string, function in hb-font -
-
-
-hb_font_glyph_to_string, function in hb-font -
-
-
-hb_font_is_immutable, function in hb-font -
-
-
-hb_font_make_immutable, function in hb-font -
-
-
-hb_font_reference, function in hb-font -
-
-
-hb_font_set_face, function in hb-font -
-
-
-hb_font_set_funcs, function in hb-font -
-
-
-hb_font_set_funcs_data, function in hb-font -
-
-
-hb_font_set_parent, function in hb-font -
-
-
-hb_font_set_ppem, function in hb-font -
-
-
-hb_font_set_ptem, function in hb-font -
-
-
-hb_font_set_scale, function in hb-font -
-
-
-hb_font_set_user_data, function in hb-font -
-
-
-hb_font_set_variations, function in hb-font -
-
-
-hb_font_set_var_coords_design, function in hb-font -
-
-
-hb_font_set_var_coords_normalized, function in hb-font -
-
-
-hb_font_set_var_named_instance, function in hb-font -
-
-
-hb_font_subtract_glyph_origin_for_direction, function in hb-font -
-
-
-hb_font_t, typedef in hb-font -
-
-
-hb_ft_face_create, function in hb-ft -
-
-
-hb_ft_face_create_cached, function in hb-ft -
-
-
-hb_ft_face_create_referenced, function in hb-ft -
-
-
-hb_ft_font_changed, function in hb-ft -
-
-
-hb_ft_font_create, function in hb-ft -
-
-
-hb_ft_font_create_referenced, function in hb-ft -
-
-
-hb_ft_font_get_face, function in hb-ft -
-
-
-hb_ft_font_get_load_flags, function in hb-ft -
-
-
-hb_ft_font_lock_face, function in hb-ft -
-
-
-hb_ft_font_set_funcs, function in hb-ft -
-
-
-hb_ft_font_set_load_flags, function in hb-ft -
-
-
-hb_ft_font_unlock_face, function in hb-ft -
-
-

G

-
-hb_gdi_face_create, function in hb-gdi -
-
-
-hb_glib_blob_create, function in hb-glib -
-
-
-hb_glib_get_unicode_funcs, function in hb-glib -
-
-
-hb_glib_script_from_script, function in hb-glib -
-
-
-hb_glib_script_to_script, function in hb-glib -
-
-
-hb_glyph_extents_t, struct in hb-font -
-
-
-hb_glyph_flags_t, enum in hb-buffer -
-
-
-hb_glyph_info_get_glyph_flags, function in hb-buffer -
-
-
-hb_glyph_info_t, struct in hb-buffer -
-
-
-hb_glyph_position_t, struct in hb-buffer -
-
-
-hb_graphite2_face_get_gr_face, function in hb-graphite2 -
-
-
-HB_GRAPHITE2_TAG_SILF, macro in hb-graphite2 -
-
-

I

-
-hb_icu_get_unicode_funcs, function in hb-icu -
-
-
-hb_icu_script_from_script, function in hb-icu -
-
-
-hb_icu_script_to_script, function in hb-icu -
-
-

L

-
-hb_language_from_string, function in hb-common -
-
-
-hb_language_get_default, function in hb-common -
-
-
-HB_LANGUAGE_INVALID, macro in hb-common -
-
-
-hb_language_t, typedef in hb-common -
-
-
-hb_language_to_string, function in hb-common -
-
-

M

-
-hb_map_allocation_successful, function in hb-map -
-
-
-hb_map_clear, function in hb-map -
-
-
-hb_map_create, function in hb-map -
-
-
-hb_map_del, function in hb-map -
-
-
-hb_map_destroy, function in hb-map -
-
-
-hb_map_get, function in hb-map -
-
-
-hb_map_get_empty, function in hb-map -
-
-
-hb_map_get_population, function in hb-map -
-
-
-hb_map_get_user_data, function in hb-map -
-
-
-hb_map_has, function in hb-map -
-
-
-hb_map_is_empty, function in hb-map -
-
-
-hb_map_reference, function in hb-map -
-
-
-hb_map_set, function in hb-map -
-
-
-hb_map_set_user_data, function in hb-map -
-
-
-hb_map_t, typedef in hb-map -
-
-
-HB_MAP_VALUE_INVALID, macro in hb-map -
-
-
-hb_mask_t, typedef in hb-common -
-
-
-HB_MATH_GLYPH_PART_FLAG_EXTENDER, macro in hb-deprecated -
-
-
-hb_memory_mode_t, enum in hb-blob -
-
-

O

-
-hb_ot_color_glyph_get_layers, function in hb-ot-color -
-
-
-hb_ot_color_glyph_reference_png, function in hb-ot-color -
-
-
-hb_ot_color_glyph_reference_svg, function in hb-ot-color -
-
-
-hb_ot_color_has_layers, function in hb-ot-color -
-
-
-hb_ot_color_has_palettes, function in hb-ot-color -
-
-
-hb_ot_color_has_png, function in hb-ot-color -
-
-
-hb_ot_color_has_svg, function in hb-ot-color -
-
-
-hb_ot_color_layer_t, struct in hb-ot-color -
-
-
-hb_ot_color_palette_color_get_name_id, function in hb-ot-color -
-
-
-hb_ot_color_palette_flags_t, enum in hb-ot-color -
-
-
-hb_ot_color_palette_get_colors, function in hb-ot-color -
-
-
-hb_ot_color_palette_get_count, function in hb-ot-color -
-
-
-hb_ot_color_palette_get_flags, function in hb-ot-color -
-
-
-hb_ot_color_palette_get_name_id, function in hb-ot-color -
-
-
-hb_ot_font_set_funcs, function in hb-ot-font -
-
-
-hb_ot_layout_baseline_tag_t, enum in hb-ot-layout -
-
-
-hb_ot_layout_collect_features, function in hb-ot-layout -
-
-
-hb_ot_layout_collect_lookups, function in hb-ot-layout -
-
-
-HB_OT_LAYOUT_DEFAULT_LANGUAGE_INDEX, macro in hb-ot-layout -
-
-
-hb_ot_layout_feature_get_characters, function in hb-ot-layout -
-
-
-hb_ot_layout_feature_get_lookups, function in hb-ot-layout -
-
-
-hb_ot_layout_feature_get_name_ids, function in hb-ot-layout -
-
-
-hb_ot_layout_feature_with_variations_get_lookups, function in hb-ot-layout -
-
-
-hb_ot_layout_get_attach_points, function in hb-ot-layout -
-
-
-hb_ot_layout_get_baseline, function in hb-ot-layout -
-
-
-hb_ot_layout_get_glyphs_in_class, function in hb-ot-layout -
-
-
-hb_ot_layout_get_glyph_class, function in hb-ot-layout -
-
-
-hb_ot_layout_get_ligature_carets, function in hb-ot-layout -
-
-
-hb_ot_layout_get_size_params, function in hb-ot-layout -
-
-
-hb_ot_layout_glyph_class_t, enum in hb-ot-layout -
-
-
-hb_ot_layout_has_glyph_classes, function in hb-ot-layout -
-
-
-hb_ot_layout_has_positioning, function in hb-ot-layout -
-
-
-hb_ot_layout_has_substitution, function in hb-ot-layout -
-
-
-hb_ot_layout_language_find_feature, function in hb-ot-layout -
-
-
-hb_ot_layout_language_get_feature_indexes, function in hb-ot-layout -
-
-
-hb_ot_layout_language_get_feature_tags, function in hb-ot-layout -
-
-
-hb_ot_layout_language_get_required_feature, function in hb-ot-layout -
-
-
-hb_ot_layout_language_get_required_feature_index, function in hb-ot-layout -
-
-
-hb_ot_layout_lookups_substitute_closure, function in hb-ot-layout -
-
-
-hb_ot_layout_lookup_collect_glyphs, function in hb-ot-layout -
-
-
-hb_ot_layout_lookup_get_glyph_alternates, function in hb-ot-layout -
-
-
-hb_ot_layout_lookup_substitute_closure, function in hb-ot-layout -
-
-
-hb_ot_layout_lookup_would_substitute, function in hb-ot-layout -
-
-
-HB_OT_LAYOUT_NO_FEATURE_INDEX, macro in hb-ot-layout -
-
-
-HB_OT_LAYOUT_NO_SCRIPT_INDEX, macro in hb-ot-layout -
-
-
-HB_OT_LAYOUT_NO_VARIATIONS_INDEX, macro in hb-ot-layout -
-
-
-hb_ot_layout_script_get_language_tags, function in hb-ot-layout -
-
-
-hb_ot_layout_script_select_language, function in hb-ot-layout -
-
-
-hb_ot_layout_table_find_feature_variations, function in hb-ot-layout -
-
-
-hb_ot_layout_table_find_script, function in hb-deprecated -
-
-
-hb_ot_layout_table_get_feature_tags, function in hb-ot-layout -
-
-
-hb_ot_layout_table_get_lookup_count, function in hb-ot-layout -
-
-
-hb_ot_layout_table_get_script_tags, function in hb-ot-layout -
-
-
-hb_ot_layout_table_select_script, function in hb-ot-layout -
-
-
-hb_ot_math_constant_t, enum in hb-ot-math -
-
-
-hb_ot_math_get_constant, function in hb-ot-math -
-
-
-hb_ot_math_get_glyph_assembly, function in hb-ot-math -
-
-
-hb_ot_math_get_glyph_italics_correction, function in hb-ot-math -
-
-
-hb_ot_math_get_glyph_kerning, function in hb-ot-math -
-
-
-hb_ot_math_get_glyph_top_accent_attachment, function in hb-ot-math -
-
-
-hb_ot_math_get_glyph_variants, function in hb-ot-math -
-
-
-hb_ot_math_get_min_connector_overlap, function in hb-ot-math -
-
-
-hb_ot_math_glyph_part_flags_t, enum in hb-ot-math -
-
-
-hb_ot_math_glyph_part_t, struct in hb-ot-math -
-
-
-hb_ot_math_glyph_variant_t, struct in hb-ot-math -
-
-
-hb_ot_math_has_data, function in hb-ot-math -
-
-
-hb_ot_math_is_glyph_extended_shape, function in hb-ot-math -
-
-
-hb_ot_math_kern_t, enum in hb-ot-math -
-
-
-HB_OT_MATH_SCRIPT, macro in hb-ot-math -
-
-
-HB_OT_MAX_TAGS_PER_LANGUAGE, macro in hb-ot-layout -
-
-
-HB_OT_MAX_TAGS_PER_SCRIPT, macro in hb-ot-layout -
-
-
-hb_ot_meta_get_entry_tags, function in hb-ot-meta -
-
-
-hb_ot_meta_reference_entry, function in hb-ot-meta -
-
-
-hb_ot_meta_tag_t, enum in hb-ot-meta -
-
-
-hb_ot_metrics_get_position, function in hb-ot-metrics -
-
-
-hb_ot_metrics_get_variation, function in hb-ot-metrics -
-
-
-hb_ot_metrics_get_x_variation, function in hb-ot-metrics -
-
-
-hb_ot_metrics_get_y_variation, function in hb-ot-metrics -
-
-
-hb_ot_metrics_tag_t, enum in hb-ot-metrics -
-
-
-hb_ot_name_entry_t, struct in hb-ot-name -
-
-
-hb_ot_name_get_utf16, function in hb-ot-name -
-
-
-hb_ot_name_get_utf32, function in hb-ot-name -
-
-
-hb_ot_name_get_utf8, function in hb-ot-name -
-
-
-hb_ot_name_id_t, typedef in hb-ot-name -
-
-
-hb_ot_name_list_names, function in hb-ot-name -
-
-
-hb_ot_shape_glyphs_closure, function in hb-ot-shape -
-
-
-hb_ot_shape_plan_collect_lookups, function in hb-ot-layout -
-
-
-hb_ot_tags_from_script_and_language, function in hb-ot-layout -
-
-
-hb_ot_tags_to_script_and_language, function in hb-ot-layout -
-
-
-HB_OT_TAG_BASE, macro in hb-ot-layout -
-
-
-HB_OT_TAG_DEFAULT_LANGUAGE, macro in hb-ot-layout -
-
-
-HB_OT_TAG_DEFAULT_SCRIPT, macro in hb-ot-layout -
-
-
-HB_OT_TAG_GDEF, macro in hb-ot-layout -
-
-
-HB_OT_TAG_GPOS, macro in hb-ot-layout -
-
-
-HB_OT_TAG_GSUB, macro in hb-ot-layout -
-
-
-HB_OT_TAG_JSTF, macro in hb-ot-layout -
-
-
-HB_OT_TAG_MATH, macro in hb-ot-math -
-
-
-hb_ot_tag_to_language, function in hb-ot-layout -
-
-
-hb_ot_tag_to_script, function in hb-ot-layout -
-
-
-HB_OT_TAG_VAR_AXIS_ITALIC, macro in hb-ot-var -
-
-
-HB_OT_TAG_VAR_AXIS_OPTICAL_SIZE, macro in hb-ot-var -
-
-
-HB_OT_TAG_VAR_AXIS_SLANT, macro in hb-ot-var -
-
-
-HB_OT_TAG_VAR_AXIS_WEIGHT, macro in hb-ot-var -
-
-
-HB_OT_TAG_VAR_AXIS_WIDTH, macro in hb-ot-var -
-
-
-hb_ot_var_axis_flags_t, enum in hb-ot-var -
-
-
-hb_ot_var_axis_info_t, struct in hb-ot-var -
-
-
-hb_ot_var_axis_t, struct in hb-deprecated -
-
-
-hb_ot_var_find_axis_info, function in hb-ot-var -
-
-
-hb_ot_var_get_axis_count, function in hb-ot-var -
-
-
-hb_ot_var_get_axis_infos, function in hb-ot-var -
-
-
-hb_ot_var_get_named_instance_count, function in hb-ot-var -
-
-
-hb_ot_var_has_data, function in hb-ot-var -
-
-
-hb_ot_var_named_instance_get_design_coords, function in hb-ot-var -
-
-
-hb_ot_var_named_instance_get_postscript_name_id, function in hb-ot-var -
-
-
-hb_ot_var_named_instance_get_subfamily_name_id, function in hb-ot-var -
-
-
-hb_ot_var_normalize_coords, function in hb-ot-var -
-
-
-hb_ot_var_normalize_variations, function in hb-ot-var -
-
-
-HB_OT_VAR_NO_AXIS_INDEX, macro in hb-deprecated -
-
-

P

-
-hb_position_t, typedef in hb-common -
-
-

R

-
-hb_reference_table_func_t, user_function in hb-font -
-
-

S

-
-HB_SCRIPT_CANADIAN_ABORIGINAL, macro in hb-deprecated -
-
-
-hb_script_from_iso15924_tag, function in hb-common -
-
-
-hb_script_from_string, function in hb-common -
-
-
-hb_script_get_horizontal_direction, function in hb-common -
-
-
-hb_script_t, enum in hb-common -
-
-
-hb_script_to_iso15924_tag, function in hb-common -
-
-
-HB_SEGMENT_PROPERTIES_DEFAULT, macro in hb-buffer -
-
-
-hb_segment_properties_equal, function in hb-buffer -
-
-
-hb_segment_properties_hash, function in hb-buffer -
-
-
-hb_segment_properties_t, struct in hb-buffer -
-
-
-hb_set_add, function in hb-set -
-
-
-hb_set_add_range, function in hb-set -
-
-
-hb_set_allocation_successful, function in hb-set -
-
-
-hb_set_clear, function in hb-set -
-
-
-hb_set_copy, function in hb-set -
-
-
-hb_set_create, function in hb-set -
-
-
-hb_set_del, function in hb-set -
-
-
-hb_set_del_range, function in hb-set -
-
-
-hb_set_destroy, function in hb-set -
-
-
-hb_set_get_empty, function in hb-set -
-
-
-hb_set_get_max, function in hb-set -
-
-
-hb_set_get_min, function in hb-set -
-
-
-hb_set_get_population, function in hb-set -
-
-
-hb_set_get_user_data, function in hb-set -
-
-
-hb_set_has, function in hb-set -
-
-
-hb_set_intersect, function in hb-set -
-
-
-hb_set_invert, function in hb-set -
-
-
-hb_set_is_empty, function in hb-set -
-
-
-hb_set_is_equal, function in hb-set -
-
-
-hb_set_is_subset, function in hb-set -
-
-
-hb_set_next, function in hb-set -
-
-
-hb_set_next_range, function in hb-set -
-
-
-hb_set_previous, function in hb-set -
-
-
-hb_set_previous_range, function in hb-set -
-
-
-hb_set_reference, function in hb-set -
-
-
-hb_set_set, function in hb-set -
-
-
-hb_set_set_user_data, function in hb-set -
-
-
-hb_set_subtract, function in hb-set -
-
-
-hb_set_symmetric_difference, function in hb-set -
-
-
-hb_set_t, typedef in hb-set -
-
-
-hb_set_union, function in hb-set -
-
-
-HB_SET_VALUE_INVALID, macro in hb-set -
-
-
-hb_shape, function in hb-shape -
-
-
-hb_shape_full, function in hb-shape -
-
-
-hb_shape_list_shapers, function in hb-shape -
-
-
-hb_shape_plan_create, function in hb-shape-plan -
-
-
-hb_shape_plan_create2, function in hb-shape-plan -
-
-
-hb_shape_plan_create_cached, function in hb-shape-plan -
-
-
-hb_shape_plan_create_cached2, function in hb-shape-plan -
-
-
-hb_shape_plan_destroy, function in hb-shape-plan -
-
-
-hb_shape_plan_execute, function in hb-shape-plan -
-
-
-hb_shape_plan_get_empty, function in hb-shape-plan -
-
-
-hb_shape_plan_get_shaper, function in hb-shape-plan -
-
-
-hb_shape_plan_get_user_data, function in hb-shape-plan -
-
-
-hb_shape_plan_reference, function in hb-shape-plan -
-
-
-hb_shape_plan_set_user_data, function in hb-shape-plan -
-
-
-hb_shape_plan_t, typedef in hb-shape-plan -
-
-
-hb_style_get_value, function in hb-style -
-
-
-hb_style_tag_t, enum in hb-style -
-
-
-hb_subset_flags_t, enum in hb-subset -
-
-
-hb_subset_input_create_or_fail, function in hb-subset -
-
-
-hb_subset_input_destroy, function in hb-subset -
-
-
-hb_subset_input_get_flags, function in hb-subset -
-
-
-hb_subset_input_get_user_data, function in hb-subset -
-
-
-hb_subset_input_glyph_set, function in hb-subset -
-
-
-hb_subset_input_reference, function in hb-subset -
-
-
-hb_subset_input_set, function in hb-subset -
-
-
-hb_subset_input_set_flags, function in hb-subset -
-
-
-hb_subset_input_set_user_data, function in hb-subset -
-
-
-hb_subset_input_t, typedef in hb-subset -
-
-
-hb_subset_input_unicode_set, function in hb-subset -
-
-
-hb_subset_or_fail, function in hb-subset -
-
-
-hb_subset_sets_t, enum in hb-subset -
-
-

T

-
-HB_TAG, macro in hb-common -
-
-
-hb_tag_from_string, function in hb-common -
-
-
-HB_TAG_MAX, macro in hb-common -
-
-
-HB_TAG_MAX_SIGNED, macro in hb-common -
-
-
-HB_TAG_NONE, macro in hb-common -
-
-
-hb_tag_t, typedef in hb-common -
-
-
-hb_tag_to_string, function in hb-common -
-
-

U

-
-hb_unicode_combining_class, function in hb-unicode -
-
-
-hb_unicode_combining_class_func_t, user_function in hb-unicode -
-
-
-hb_unicode_combining_class_t, enum in hb-unicode -
-
-
-hb_unicode_compose, function in hb-unicode -
-
-
-hb_unicode_compose_func_t, user_function in hb-unicode -
-
-
-hb_unicode_decompose, function in hb-unicode -
-
-
-hb_unicode_decompose_compatibility, function in hb-deprecated -
-
-
-hb_unicode_decompose_compatibility_func_t, user_function in hb-deprecated -
-
-
-hb_unicode_decompose_func_t, user_function in hb-unicode -
-
-
-hb_unicode_eastasian_width, function in hb-deprecated -
-
-
-hb_unicode_eastasian_width_func_t, user_function in hb-deprecated -
-
-
-hb_unicode_funcs_create, function in hb-unicode -
-
-
-hb_unicode_funcs_destroy, function in hb-unicode -
-
-
-hb_unicode_funcs_get_default, function in hb-unicode -
-
-
-hb_unicode_funcs_get_empty, function in hb-unicode -
-
-
-hb_unicode_funcs_get_parent, function in hb-unicode -
-
-
-hb_unicode_funcs_get_user_data, function in hb-unicode -
-
-
-hb_unicode_funcs_is_immutable, function in hb-unicode -
-
-
-hb_unicode_funcs_make_immutable, function in hb-unicode -
-
-
-hb_unicode_funcs_reference, function in hb-unicode -
-
-
-hb_unicode_funcs_set_combining_class_func, function in hb-unicode -
-
-
-hb_unicode_funcs_set_compose_func, function in hb-unicode -
-
-
-hb_unicode_funcs_set_decompose_compatibility_func, function in hb-deprecated -
-
-
-hb_unicode_funcs_set_decompose_func, function in hb-unicode -
-
-
-hb_unicode_funcs_set_eastasian_width_func, function in hb-deprecated -
-
-
-hb_unicode_funcs_set_general_category_func, function in hb-unicode -
-
-
-hb_unicode_funcs_set_mirroring_func, function in hb-unicode -
-
-
-hb_unicode_funcs_set_script_func, function in hb-unicode -
-
-
-hb_unicode_funcs_set_user_data, function in hb-unicode -
-
-
-hb_unicode_funcs_t, typedef in hb-unicode -
-
-
-hb_unicode_general_category, function in hb-unicode -
-
-
-hb_unicode_general_category_func_t, user_function in hb-unicode -
-
-
-hb_unicode_general_category_t, enum in hb-unicode -
-
-
-HB_UNICODE_MAX, macro in hb-unicode -
-
-
-HB_UNICODE_MAX_DECOMPOSITION_LEN, macro in hb-deprecated -
-
-
-hb_unicode_mirroring, function in hb-unicode -
-
-
-hb_unicode_mirroring_func_t, user_function in hb-unicode -
-
-
-hb_unicode_script, function in hb-unicode -
-
-
-hb_unicode_script_func_t, user_function in hb-unicode -
-
-
-hb_uniscribe_font_get_hfont, function in hb-uniscribe -
-
-
-hb_uniscribe_font_get_logfontw, function in hb-uniscribe -
-
-
-HB_UNTAG, macro in hb-common -
-
-
-hb_user_data_key_t, struct in hb-common -
-
-

V

-
-hb_variation_from_string, function in hb-common -
-
-
-hb_variation_t, struct in hb-common -
-
-
-hb_variation_to_string, function in hb-common -
-
-
-hb_version, function in hb-version -
-
-
-HB_VERSION_ATLEAST, macro in hb-version -
-
-
-hb_version_atleast, function in hb-version -
-
-
-HB_VERSION_MAJOR, macro in hb-version -
-
-
-HB_VERSION_MICRO, macro in hb-version -
-
-
-HB_VERSION_MINOR, macro in hb-version -
-
-
-HB_VERSION_STRING, macro in hb-version -
-
-
-hb_version_string, function in hb-version -
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/apple-advanced-typography-api.html b/harfbuzz/docs/html/apple-advanced-typography-api.html deleted file mode 100644 index d4c49fd..0000000 --- a/harfbuzz/docs/html/apple-advanced-typography-api.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - -Apple Advanced Typography API: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Apple Advanced Typography API

-
-hb-aat-layout — Apple Advanced Typography Layout -
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/buffers-language-script-and-direction.html b/harfbuzz/docs/html/buffers-language-script-and-direction.html deleted file mode 100644 index 4f55a19..0000000 --- a/harfbuzz/docs/html/buffers-language-script-and-direction.html +++ /dev/null @@ -1,100 +0,0 @@ - - - - -Buffers, language, script and direction: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Buffers, language, script and direction

- -

- The input to the HarfBuzz shaper is a series of Unicode characters, stored in a - buffer. In this chapter, we'll look at how to set up a buffer with - the text that we want and how to customize the properties of the - buffer. We'll also look at a piece of lower-level machinery that - you will need to understand before proceeding: the functions that - HarfBuzz uses to retrieve Unicode information. -

-

- After shaping is complete, HarfBuzz puts its output back - into the buffer. But getting that output requires setting up a - face and a font first, so we will look at that in the next chapter - instead of here. -

-
-

-Creating and destroying buffers

-

- As we saw in our Getting Started example, a - buffer is created and - initialized with hb_buffer_create(). This - produces a new, empty buffer object, instantiated with some - default values and ready to accept your Unicode strings. -

-

- HarfBuzz manages the memory of objects (such as buffers) that it - creates, so you don't have to. When you have finished working on - a buffer, you can call hb_buffer_destroy(): -

-
-      hb_buffer_t *buf = hb_buffer_create();
-      ...
-      hb_buffer_destroy(buf);
-    
-

- This will destroy the object and free its associated memory - - unless some other part of the program holds a reference to this - buffer. If you acquire a HarfBuzz buffer from another subsystem - and want to ensure that it is not garbage collected by someone - else destroying it, you should increase its reference count: -

-
-      void somefunc(hb_buffer_t *buf) {
-      buf = hb_buffer_reference(buf);
-      ...
-    
-

- And then decrease it once you're done with it: -

-
-      hb_buffer_destroy(buf);
-      }
-    
-

- While we are on the subject of reference-counting buffers, it is - worth noting that an individual buffer can only meaningfully be - used by one thread at a time. -

-

- To throw away all the data in your buffer and start from scratch, - call hb_buffer_reset(buf). If you want to - throw away the string in the buffer but keep the options, you can - instead call hb_buffer_clear_contents(buf). -

-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/building.html b/harfbuzz/docs/html/building.html deleted file mode 100644 index c6c7134..0000000 --- a/harfbuzz/docs/html/building.html +++ /dev/null @@ -1,348 +0,0 @@ - - - - -Building HarfBuzz: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Building HarfBuzz

-
-

-Building on Linux

-

- (1) To build HarfBuzz on Linux, you must first install the - development packages for FreeType, Cairo, and GLib. The exact - commands required for this step will vary depending on - the Linux distribution you use. -

-

- For example, on an Ubuntu or Debian system, you would run: -

-
sudo apt install gcc g++ libfreetype6-dev libglib2.0-dev libcairo2-dev
-

- On Fedora, RHEL, CentOS, or other Red-Hat–based systems, you would run: -

-
sudo yum install gcc gcc-c++ freetype-devel glib2-devel cairo-devel
-

- -

-

- (2) The next step depends on whether you - are building from the source in a downloaded release tarball or - from the source directly from the git repository. -

-

- (2)(a) If you downloaded the HarfBuzz - source code in a tarball, you can now extract the source. -

-

- From a shell in the top-level directory of the extracted source - code, you can run meson build followed by - meson compile -C build as with any other standard package. -

-

- This should leave you with a shared - library in the src/ directory, and a few - utility programs including hb-view and - hb-shape under the util/ - directory. -

-

- (2)(b) If you are building from the source in the HarfBuzz git - repository, rather than installing from a downloaded tarball - release, then you must install two more auxiliary tools before you - can build for the first time: pkg-config. -

-

- On Ubuntu or Debian, run: -

-
sudo apt-get install meson pkg-config gtk-doc-tools
-

- On Fedora, RHEL, CentOS, run: -

-
sudo yum install meson pkgconfig gtk-doc
-

- -

-

- With pkg-config installed, you can now run - meson build then - meson compile -C build to build HarfBuzz. -

-
-
-

-Building on Windows

-

- Install meson - and run (from the console) meson build (by default - bundled dependencies are not built, --wrap-mode=default - overrides this), then meson compile -C build to - build HarfBuzz. -

-
-
-

-Building on macOS

-

- There are two ways to build HarfBuzz on Mac systems: MacPorts - and Homebrew. The process is similar to the process used on a - Linux system. -

-

- (1) You must first install the - development packages for FreeType, Cairo, and GLib. If you are - using MacPorts, you should run: -

-
sudo port install freetype glib2 cairo
-

-

-

- If you are using Homebrew, you should run: -

-
brew install freetype glib cairo
-

-

-

- (2) The next step depends on whether you are building from the - source in a downloaded release tarball or from the source directly - from the git repository. -

-

- (2)(a) If you are installing HarfBuzz - from a downloaded tarball release, extract the tarball and - open a Terminal in the extracted source-code directory. Run: -

-
meson build
-

- followed by: -

-
meson compile -C build
-

- to build HarfBuzz. -

-

- (2)(b) Alternatively, if you are building - HarfBuzz from the source in the HarfBuzz git repository, then - you must install several built-time dependencies before - proceeding. -

-

If you are - using MacPorts, you should run: -

-
sudo port install meson pkgconfig gtk-doc
-

- to install the build dependencies. -

-

If you are using Homebrew, you should run: -

-
brew install meson pkgconfig gtk-doc
-

- Finally, you can run: -

-
meson build
-

-

-

- (3) You can now build HarfBuzz (on either - a MacPorts or a Homebrew system) by running: -

-
meson build
-

- followed by: -

-
meson compile -C build
-

-

-

- This should leave you with a shared - library in the src/ directory, and a few - utility programs including hb-view and - hb-shape under the util/ - directory. -

-
-
-

-Configuration options

-

- The instructions in the "Building HarfBuzz" section will build - the source code under its default configuration. If needed, - the following additional configuration options are available. -

-
---- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Dglib=enabled

-

- Use GLib. (Default = auto) -

-

- This option enables or disables usage of the GLib - library. The default setting is to check for the - presence of GLib and, if it is found, build with - GLib support. GLib is native to GNU/Linux systems but is - available on other operating system as well. -

-

-Dgobject=enabled

-

- Use GObject. (Default = no) -

-

- This option enables or disables usage of the GObject - library. The default setting is to check for the - presence of GObject and, if it is found, build with - GObject support. GObject is native to GNU/Linux systems but is - available on other operating system as well. -

-

-Dcairo=enabled

-

- Use Cairo. (Default = auto) -

-

- This option enables or disables usage of the Cairo - graphics-rendering library. The default setting is to - check for the presence of Cairo and, if it is found, - build with Cairo support. -

-

- Note: Cairo is used only by the HarfBuzz - command-line utilities, and not by the HarfBuzz library. -

-

-Dicu=enabled

-

- Use the ICU library. (Default = auto) -

-

- This option enables or disables usage of the - International Components for - Unicode (ICU) library, which provides access - to Unicode Character Database (UCD) properties as well - as normalization and conversion functions. The default - setting is to check for the presence of ICU and, if it - is found, build with ICU support. -

-

-Dgraphite=enabled

-

- Use the Graphite2 library. (Default = no) -

-

- This option enables or disables usage of the Graphite2 - library, which provides support for the Graphite shaping - model. -

-

-Dfreetype=enabled

-

- Use the FreeType library. (Default = auto) -

-

- This option enables or disables usage of the FreeType - font-rendering library. The default setting is to check for the - presence of FreeType and, if it is found, build with - FreeType support. -

-

-Dgdi=enabled

-

- Use the Uniscribe - library (experimental). (Default = no) -

-

- This option enables or disables usage of the Uniscribe - font-rendering library. Uniscribe is available on - Windows systems. Uniscribe support is used only for - testing purposes and does not need to be enabled for - HarfBuzz to run on Windows systems. -

-

-Ddirectwrite=enabled

-

- Use the DirectWrite library (experimental). (Default = no) -

-

- This option enables or disables usage of the DirectWrite - font-rendering library. DirectWrite is available on - Windows systems. DirectWrite support is used only for - testing purposes and does not need to be enabled for - HarfBuzz to run on Windows systems. -

-

-Dcoretext=enabled

-

- Use the CoreText library. (Default = no) -

-

- This option enables or disables usage of the CoreText - library. CoreText is available on macOS and iOS systems. -

-

-Ddocs=enabled

-

- Use GTK-Doc. (Default = no) -

-

- This option enables the building of the documentation. -

-
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/clusters.html b/harfbuzz/docs/html/clusters.html deleted file mode 100644 index 7c56777..0000000 --- a/harfbuzz/docs/html/clusters.html +++ /dev/null @@ -1,125 +0,0 @@ - - - - -Clusters: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Clusters

- -
-

-Clusters and shaping

-

- In text shaping, a cluster is a sequence of - characters that needs to be treated as a single, indivisible - unit. A single letter or symbol can be a cluster of its - own. Other clusters correspond to longer subsequences of the - input code points — such as a ligature or conjunct form - — and require the shaper to ensure that the cluster is not - broken during the shaping process. -

-

- A cluster is distinct from a grapheme, - which is the smallest unit of meaning in a writing system or - script. -

-

- The definitions of the two terms are similar. However, clusters - are only relevant for script shaping and glyph layout. In - contrast, graphemes are a property of the underlying script, and - are of interest when client programs implement orthographic - or linguistic functionality. -

-

- For example, two individual letters are often two separate - graphemes. When two letters form a ligature, however, they - combine into a single glyph. They are then part of the same - cluster and are treated as a unit by the shaping engine — - even though the two original, underlying letters remain separate - graphemes. -

-

- HarfBuzz is concerned with clusters, not - with graphemes — although client programs using HarfBuzz - may still care about graphemes for other reasons from time to time. -

-

- During the shaping process, there are several shaping operations - that may merge adjacent characters (for example, when two code - points form a ligature or a conjunct form and are replaced by a - single glyph) or split one character into several (for example, - when decomposing a code point through the - ccmp feature). Operations like these alter - clusters; HarfBuzz tracks the changes to ensure that no clusters - get lost or broken during shaping. -

-

- HarfBuzz records cluster information independently from how - shaping operations affect the individual glyphs returned in an - output buffer. Consequently, a client program using HarfBuzz can - utilize the cluster information to implement features such as: -

-
    -
  • - Correctly positioning the cursor within a shaped text run, - even when characters have formed ligatures, composed or - decomposed, reordered, or undergone other shaping operations. -

  • -
  • - Correctly highlighting a text selection that includes some, - but not all, of the characters in a word. -

  • -
  • - Applying text attributes (such as color or underlining) to - part, but not all, of a word. -

  • -
  • - Generating output document formats (such as PDF) with - embedded text that can be fully extracted. -

  • -
  • - Determining the mapping between input characters and output - glyphs, such as which glyphs are ligatures. -

  • -
  • - Performing line-breaking, justification, and other - line-level or paragraph-level operations that must be done - after shaping is complete, but which require examining - character-level properties. -

  • -
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/complex-scripts.html b/harfbuzz/docs/html/complex-scripts.html deleted file mode 100644 index fcce71f..0000000 --- a/harfbuzz/docs/html/complex-scripts.html +++ /dev/null @@ -1,57 +0,0 @@ - - - - -Complex scripts: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Complex scripts

-

- In text-shaping terminology, scripts are generally classified as - either complex or non-complex. -

-

- Complex scripts are those for which transforming the input - sequence into the final layout requires some combination of - operations—such as context-dependent substitutions, - context-dependent mark positioning, glyph-to-glyph joining, - glyph reordering, or glyph stacking. -

-

- In some complex scripts, the shaping rules require that a text - run be divided into syllables before the operations can be - applied. Other complex scripts may apply shaping operations over - entire words or over the entire text run, with no subdivision - required. -

-

- Non-complex scripts, by definition, do not require these - operations. However, correctly shaping a text run in a - non-complex script may still involve Unicode normalization, - ligature substitutions, mark positioning, kerning, and applying - other font features. The key difference is that a text run in a - non-complex script can be processed sequentially and in the same - order as the input sequence of Unicode codepoints, without - requiring an analysis stage. -

-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/core-api.html b/harfbuzz/docs/html/core-api.html deleted file mode 100644 index cda3f06..0000000 --- a/harfbuzz/docs/html/core-api.html +++ /dev/null @@ -1,67 +0,0 @@ - - - - -Core API: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Core API

-
-
-hb-blob — Binary data containers -
-
-hb-buffer — Input and output buffers -
-
-hb-common — Common data types -
-
-hb-deprecated — Deprecated API -
-
-hb-face — Font face objects -
-
-hb-font — Font objects -
-
-hb-map — Object representing integer to integer mapping -
-
-hb-set — Objects representing a set of integers -
-
-hb-shape-plan — Object representing a shaping plan -
-
-hb-shape — Conversion of text strings into positioned glyphs -
-
-hb-unicode — Unicode character property access -
-
-hb-version — Information about the version of HarfBuzz in use -
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/customizing-unicode-functions.html b/harfbuzz/docs/html/customizing-unicode-functions.html deleted file mode 100644 index e7694ca..0000000 --- a/harfbuzz/docs/html/customizing-unicode-functions.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - -Customizing Unicode functions: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Customizing Unicode functions

-

- HarfBuzz requires some simple functions for accessing - information from the Unicode Character Database (such as the - General_Category (gc) and - Script (sc) properties) that is useful - for shaping, as well as some useful operations like composing and - decomposing code points. -

-

- HarfBuzz includes its own internal, lightweight set of Unicode - functions. At build time, it is also possible to compile support - for some other options, such as the Unicode functions provided - by GLib or the International Components for Unicode (ICU) - library. Generally, this option is only of interest for client - programs that have specific integration requirements or that do - a significant amount of customization. -

-

- If your program has access to other Unicode functions, however, - such as through a system library or application framework, you - might prefer to use those instead of the built-in - options. HarfBuzz supports this by implementing its Unicode - functions as a set of virtual methods that you can replace — - without otherwise affecting HarfBuzz's functionality. -

-

- The Unicode functions are specified in a structure called - unicode_funcs which is attached to each - buffer. But even though unicode_funcs is - associated with a hb_buffer_t, the functions - themselves are called by other HarfBuzz APIs that access - buffers, so it would be unwise for you to hook different - functions into different buffers. -

-

- In addition, you can mark your unicode_funcs - as immutable by calling - hb_unicode_funcs_make_immutable (ufuncs). - This is especially useful if your code is a - library or framework that will have its own client programs. By - marking your Unicode function choices as immutable, you prevent - your own client programs from changing the - unicode_funcs configuration and introducing - inconsistencies and errors downstream. -

-

- You can retrieve the Unicode-functions configuration for - your buffer by calling hb_buffer_get_unicode_funcs(): -

-
-      hb_unicode_funcs_t *ufunctions;
-      ufunctions = hb_buffer_get_unicode_funcs(buf);
-    
-

- The current version of unicode_funcs uses six functions: -

-
    -
  • - hb_unicode_combining_class_func_t: - returns the Canonical Combining Class of a code point. -

  • -
  • - hb_unicode_general_category_func_t: - returns the General Category (gc) of a code point. -

  • -
  • - hb_unicode_mirroring_func_t: returns - the Mirroring Glyph code point (for bi-directional - replacement) of a code point. -

  • -
  • - hb_unicode_script_func_t: returns the - Script (sc) property of a code point. -

  • -
  • - hb_unicode_compose_func_t: returns the - canonical composition of a sequence of two code points. -

  • -
  • - hb_unicode_decompose_func_t: returns - the canonical decomposition of a code point. -

  • -
-

- Note, however, that future HarfBuzz releases may alter this set. -

-

- Each Unicode function has a corresponding setter, with which you - can assign a callback to your replacement function. For example, - to replace - hb_unicode_general_category_func_t, you can call -

-
-      hb_unicode_funcs_set_general_category_func (*ufuncs, func, *user_data, destroy)	    
-    
-

- Virtualizing this set of Unicode functions is primarily intended - to improve portability. There is no need for every client - program to make the effort to replace the default options, so if - you are unsure, do not feel any pressure to customize - unicode_funcs. -

-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/deprecated-api-index.html b/harfbuzz/docs/html/deprecated-api-index.html deleted file mode 100644 index 232a031..0000000 --- a/harfbuzz/docs/html/deprecated-api-index.html +++ /dev/null @@ -1,113 +0,0 @@ - - - - -Index of deprecated API: HarfBuzz Manual - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/harfbuzz/docs/html/fonts-and-faces-custom-functions.html b/harfbuzz/docs/html/fonts-and-faces-custom-functions.html deleted file mode 100644 index 38c9422..0000000 --- a/harfbuzz/docs/html/fonts-and-faces-custom-functions.html +++ /dev/null @@ -1,170 +0,0 @@ - - - - -Customizing font functions: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Customizing font functions

-

- During shaping, HarfBuzz frequently needs to query font objects - to get at the contents and parameters of the glyphs in a font - file. It includes a built-in set of functions that is tailored - to working with OpenType fonts. However, as was the case with - Unicode functions in the buffers chapter, HarfBuzz also wants to - make it easy for you to assign a substitute set of font - functions if you are developing a program to work with a library - or platform that provides its own font functions. -

-

- Therefore, the HarfBuzz API defines a set of virtual - methods for accessing font-object properties, and you can - replace the defaults with your own selections without - interfering with the shaping process. Each font object in - HarfBuzz includes a structure called - font_funcs that serves as a vtable for the - font object. The virtual methods in - font_funcs are: -

-
    -
  • - hb_font_get_font_h_extents_func_t: returns - the extents of the font for horizontal text. -

  • -
  • - hb_font_get_font_v_extents_func_t: returns - the extents of the font for vertical text. -

  • -
  • - hb_font_get_nominal_glyph_func_t: returns - the font's nominal glyph for a given code point. -

  • -
  • - hb_font_get_variation_glyph_func_t: returns - the font's glyph for a given code point when it is followed by a - given Variation Selector. -

  • -
  • - hb_font_get_nominal_glyphs_func_t: returns - the font's nominal glyphs for a series of code points. -

  • -
  • - hb_font_get_glyph_advance_func_t: returns - the advance for a glyph. -

  • -
  • - hb_font_get_glyph_h_advance_func_t: returns - the advance for a glyph for horizontal text. -

  • -
  • - hb_font_get_glyph_v_advance_func_t:returns - the advance for a glyph for vertical text. -

  • -
  • - hb_font_get_glyph_advances_func_t: returns - the advances for a series of glyphs. -

  • -
  • - hb_font_get_glyph_h_advances_func_t: returns - the advances for a series of glyphs for horizontal text . -

  • -
  • - hb_font_get_glyph_v_advances_func_t: returns - the advances for a series of glyphs for vertical text. -

  • -
  • - hb_font_get_glyph_origin_func_t: returns - the origin coordinates of a glyph. -

  • -
  • - hb_font_get_glyph_h_origin_func_t: returns - the origin coordinates of a glyph for horizontal text. -

  • -
  • - hb_font_get_glyph_v_origin_func_t: returns - the origin coordinates of a glyph for vertical text. -

  • -
  • - hb_font_get_glyph_extents_func_t: returns - the extents for a glyph. -

  • -
  • - hb_font_get_glyph_contour_point_func_t: - returns the coordinates of a specific contour point from a glyph. -

  • -
  • - hb_font_get_glyph_name_func_t: returns the - name of a glyph (from its glyph index). -

  • -
  • - hb_font_get_glyph_from_name_func_t: returns - the glyph index that corresponds to a given glyph name. -

  • -
-

- You can create new font-functions by calling - hb_font_funcs_create(): -

-
-      hb_font_funcs_t *ffunctions = hb_font_funcs_create ();
-      hb_font_set_funcs (font, ffunctions, font_data, destroy);
-    
-

- The individual methods can each be set with their own setter - function, such as - hb_font_funcs_set_nominal_glyph_func(ffunctions, - func, user_data, destroy). -

-

- Font-functions structures can be reused for multiple font - objects, and can be reference counted with - hb_font_funcs_reference() and - hb_font_funcs_destroy(). Just like other - objects in HarfBuzz, you can set user-data for each - font-functions structure and assign a destroy callback for - it. -

-

- You can also mark a font-functions structure as immutable, - with hb_font_funcs_make_immutable(). This - is especially useful if your code is a library or framework that - will have its own client programs. By marking your - font-functions structures as immutable, you prevent your client - programs from changing the configuration and introducing - inconsistencies and errors downstream. -

-

- To override only some functions while using the default implementation - for the others, you will need to create a sub-font. By default, the - sub-font uses the font functions of its parent except for the functions - that were explicitly set. The following code will override only the - hb_font_get_nominal_glyph_func_t for the sub-font: -

-
-      hb_font_t *subfont = hb_font_create_sub_font (font)
-      hb_font_funcs_t *ffunctions = hb_font_funcs_create ();
-      hb_font_funcs_set_nominal_glyph_func (ffunctions, func, user_data, destroy);
-      hb_font_set_funcs (subfont, ffunctions, font_data, destroy);
-      hb_font_funcs_destroy (ffunctions);
-    
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/fonts-and-faces-native-opentype.html b/harfbuzz/docs/html/fonts-and-faces-native-opentype.html deleted file mode 100644 index 16b913d..0000000 --- a/harfbuzz/docs/html/fonts-and-faces-native-opentype.html +++ /dev/null @@ -1,93 +0,0 @@ - - - - -Font objects and HarfBuzz's native OpenType implementation: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Font objects and HarfBuzz's native OpenType implementation

-

- By default, whenever HarfBuzz creates a font object, it will - configure the font to use a built-in set of font functions that - supports contemporary OpenType font internals. If you want to - work with OpenType or TrueType fonts, you should be able to use - these functions without difficulty. -

-

- Many of the methods in the font-functions structure deal with - the fundamental properties of glyphs that are required for - shaping text: extents (the maximums and minimums on each axis), - origins (the (0,0) coordinate point which - glyphs are drawn in reference to), and advances (the amount that - the cursor needs to be moved after drawing each glyph, including - any empty space for the glyph's side bearings). -

-

- As you can see in the list of functions, there are separate "horizontal" - and "vertical" variants depending on whether the text is set in - the horizontal or vertical direction. For some scripts, fonts - that are designed to support text set horizontally or vertically (for - example, in Japanese) may include metrics for both text - directions. When fonts don't include this information, HarfBuzz - does its best to transform what the font provides. -

-

- In addition to the direction-specific functions, HarfBuzz - provides some higher-level functions for fetching information - like extents and advances for a glyph. If you call -

-
-      hb_font_get_glyph_advance_for_direction(font, direction, extents);
-    
-

- then you can provide any hb_direction_t as the - direction parameter, and HarfBuzz will - use the correct function variant for the text direction. There - are similar higher-level versions of the functions for fetching - extents, origin coordinates, and contour-point - coordinates. There are also addition and subtraction functions - for moving points with respect to the origin. -

-

- There are also methods for fetching the glyph ID that - corresponds to a Unicode code point (possibly when followed by a - variation-selector code point), fetching the glyph name from the - font, and fetching the glyph ID that corresponds to a glyph name - you already have. -

-

- HarfBuzz also provides functions for converting between glyph - names and string - variables. hb_font_glyph_to_string(font, glyph, s, - size) retrieves the name for the glyph ID - glyph from the font object. It generates a - generic name of the form gidDDD (where DDD is - the glyph index) if there is no name for the glyph in the - font. The hb_font_glyph_from_string(font, s, len, - glyph) takes an input string s - and looks for a glyph with that name in the font, returning its - glyph ID in the glyph - output parameter. It automatically parses - gidDDD and uniUUUU strings. -

-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/fonts-and-faces-variable.html b/harfbuzz/docs/html/fonts-and-faces-variable.html deleted file mode 100644 index b857d3b..0000000 --- a/harfbuzz/docs/html/fonts-and-faces-variable.html +++ /dev/null @@ -1,100 +0,0 @@ - - - - -Working with OpenType Variable Fonts: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Working with OpenType Variable Fonts

-

- If you are working with OpenType Variable Fonts, there are a few - additional functions you should use to specify the - variation-axis settings of your font object. Without doing so, - your variable font's font object can still be used, but only at - the default setting for every axis (which, of course, is - sometimes what you want, but does not cover general usage). -

-

- HarfBuzz manages variation settings in the - hb_variation_t data type, which holds a tag for the - variation-axis identifier tag and a value for its - setting. You can retrieve the list of variation axes in a font - binary from the face object (not from a font object, notably) by - calling hb_ot_var_get_axis_count(face) to - find the number of axes, then using - hb_ot_var_get_axis_infos() to collect the - axis structures: -

-
-      axes = hb_ot_var_get_axis_count(face);
-      ...
-      hb_ot_var_get_axis_infos(face, 0, axes, axes_array);
-    
-

- For each axis returned in the array, you can can access the - identifier in its tag. HarfBuzz also has - tag definitions predefined for the five standard axes specified - in OpenType (ital for italic, - opsz for optical size, - slnt for slant, wdth for - width, and wght for weight). Each axis also - has a min_value, a - default_value, and a max_value. -

-

- To set your font object's variation settings, you call the - hb_font_set_variations() function with an - array of hb_variation_t variation settings. Let's - say our font has weight and width axes. We need to specify each - of the axes by tag and assign a value on the axis: -

-
-      unsigned int variation_count = 2;
-      hb_variation_t variation_data[variation_count];
-      variation_data[0].tag = HB_OT_TAG_VAR_AXIS_WIDTH;
-      variation_data[1].tag = HB_OT_TAG_VAR_AXIS_WEIGHT;
-      variation_data[0].value = 80;
-      variation_data[1].value = 750;
-      ...
-      hb_font_set_variations(font, variation_data, variation_count);
-    
-

- That should give us a slightly condensed font ("normal" on the - wdth axis is 100) at a noticeably bolder - weight ("regular" is 400 on the wght axis). -

-

- In practice, though, you should always check that the value you - want to set on the axis is within the - [min_value,max_value] - range actually implemented in the font's variation axis. After - all, a font might only provide lighter-than-regular weights, and - setting a heavier value on the wght axis will - not change that. -

-

- Once your variation settings are specified on your font object, - however, shaping with a variable font is just like shaping a - static font. -

-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/fonts-and-faces.html b/harfbuzz/docs/html/fonts-and-faces.html deleted file mode 100644 index 841f255..0000000 --- a/harfbuzz/docs/html/fonts-and-faces.html +++ /dev/null @@ -1,154 +0,0 @@ - - - - -Fonts, faces, and output: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Fonts, faces, and output

- -

- In the previous chapter, we saw how to set up a buffer and fill - it with text as Unicode code points. In order to shape this - buffer text with HarfBuzz, you will need also need a font - object. -

-

- HarfBuzz provides abstractions to help you cache and reuse the - heavier parts of working with binary fonts, so we will look at - how to do that. We will also look at how to work with the - FreeType font-rendering library and at how you can customize - HarfBuzz to work with other libraries. -

-

- Finally, we will look at how to work with OpenType variable - fonts, the latest update to the OpenType font format, and at - some other recent additions to OpenType. -

-
-

-Font and face objects

-

- The outcome of shaping a run of text depends on the contents of - a specific font file (such as the substitutions and positioning - moves in the 'GSUB' and 'GPOS' tables), so HarfBuzz makes - accessing those internals fast. -

-

- An hb_face_t represents a face - in HarfBuzz. This data type is a wrapper around an - hb_blob_t blob that holds the contents of a binary - font file. Since HarfBuzz supports TrueType Collections and - OpenType Collections (each of which can include multiple - typefaces), a HarfBuzz face also requires an index number - specifying which typeface in the file you want to use. Most of - the font files you will encounter in the wild include just a - single face, however, so most of the time you would pass in - 0 as the index when you create a face: -

-
-      hb_blob_t* blob = hb_blob_create_from_file(file);
-      ...
-      hb_face_t* face = hb_face_create(blob, 0);
-    
-

- On its own, a face object is not quite ready to use for - shaping. The typeface must be set to a specific point size in - order for some details (such as hinting) to work. In addition, - if the font file in question is an OpenType Variable Font, then - you may need to specify one or variation-axis settings (or a - named instance) in order to get the output you need. -

-

- In HarfBuzz, you do this by creating a font - object from your face. -

-

- Font objects also have the advantage of being considerably - lighter-weight than face objects (remember that a face contains - the contents of a binary font file mapped into memory). As a - result, you can cache and reuse a font object, but you could - also create a new one for each additional size you needed. - Creating new fonts incurs some additional overhead, of course, - but whether or not it is excessive is your call in the end. In - contrast, face objects are substantially larger, and you really - should cache them and reuse them whenever possible. -

-

- You can create a font object from a face object: -

-
-      hb_font_t* hb_font = hb_font_create(hb_face);
-    
-

- After creating a font, there are a few properties you should - set. Many fonts enable and disable hints based on the size it - is used at, so setting this is important for font - objects. hb_font_set_ppem(font, x_ppem, - y_ppem) sets the pixels-per-EM value of the font. You - can also set the point size of the font with - hb_font_set_ptem(font, ptem). HarfBuzz uses the - industry standard 72 points per inch. -

-

- HarfBuzz lets you specify the degree subpixel precision you want - through a scaling factor. You can set horizontal and - vertical scaling factors on the - font by calling hb_font_set_scale(font, x_scale, - y_scale). -

-

- There may be times when you are handed a font object and need to - access the face object that it comes from. For that, you can call -

-
-      hb_face = hb_font_get_face(hb_font);
-    
-

- You can also create a font object from an existing font object - using the hb_font_create_sub_font() - function. This creates a child font object that is initiated - with the same attributes as its parent; it can be used to - quickly set up a new font for the purpose of overriding a specific - font-functions method. -

-

- All face objects and font objects are lifecycle-managed by - HarfBuzz. After creating a face, you increase its reference - count with hb_face_reference(face) and - decrease it with - hb_face_destroy(face). Likewise, you - increase the reference count on a font with - hb_font_reference(font) and decrease it - with hb_font_destroy(font). -

-

- You can also attach user data to face objects and font objects. -

-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/getting-started.html b/harfbuzz/docs/html/getting-started.html deleted file mode 100644 index 9b725d5..0000000 --- a/harfbuzz/docs/html/getting-started.html +++ /dev/null @@ -1,96 +0,0 @@ - - - - -Getting started with HarfBuzz: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Getting started with HarfBuzz

- -
-

-An overview of the HarfBuzz shaping API

-

- The core of the HarfBuzz shaping API is the function - hb_shape(). This function takes a font, a - buffer containing a string of Unicode codepoints and - (optionally) a list of font features as its input. It replaces - the codepoints in the buffer with the corresponding glyphs from - the font, correctly ordered and positioned, and with any of the - optional font features applied. -

-

- In addition to holding the pre-shaping input (the Unicode - codepoints that comprise the input string) and the post-shaping - output (the glyphs and positions), a HarfBuzz buffer has several - properties that affect shaping. The most important are the - text-flow direction (e.g., left-to-right, right-to-left, - top-to-bottom, or bottom-to-top), the script tag, and the - language tag. -

-

- For input string buffers, flags are available to denote when the - buffer represents the beginning or end of a paragraph, to - indicate whether or not to visibly render Unicode Default - Ignorable codepoints, and to modify the cluster-merging - behavior for the buffer. For shaped output buffers, the - individual X and Y offsets and advances - (the logical dimensions) of each glyph are - accessible. HarfBuzz also flags glyphs as - UNSAFE_TO_BREAK if breaking the string at - that glyph (e.g., in a line-breaking or hyphenation process) - would require re-shaping the text. -

-

- HarfBuzz also provides methods to compare the contents of - buffers, join buffers, normalize buffer contents, and handle - invalid codepoints, as well as to determine the state of a - buffer (e.g., input codepoints or output glyphs). Buffer - lifecycles are managed and all buffers are reference-counted. -

-

- Although the default hb_shape() function is - sufficient for most use cases, a variant is also provided that - lets you specify which of HarfBuzz's shapers to use on a buffer. -

-

- HarfBuzz can read TrueType fonts, TrueType collections, OpenType - fonts, and OpenType collections. Functions are provided to query - font objects about metrics, Unicode coverage, available tables and - features, and variation selectors. Individual glyphs can also be - queried for metrics, variations, and glyph names. OpenType - variable fonts are supported, and HarfBuzz allows you to set - variation-axis coordinates on font objects. -

-

- HarfBuzz provides glue code to integrate with various other - libraries, including FreeType, GObject, and CoreText. Support - for integrating with Uniscribe and DirectWrite is experimental - at present. -

-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/graphite-shaping.html b/harfbuzz/docs/html/graphite-shaping.html deleted file mode 100644 index 0ca5af3..0000000 --- a/harfbuzz/docs/html/graphite-shaping.html +++ /dev/null @@ -1,45 +0,0 @@ - - - - -Graphite shaping: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Graphite shaping

-

- In contrast to OpenType shaping, Graphite shaping does not - specify a predefined set of shaping models or a set of supported - scripts. -

-

- Instead, each Graphite font contains a complete set of rules that - implement the required shaping model for the intended - script. These rules include finite-state machines to match - sequences of codepoints to the shaping operations to perform. -

-

- Graphite shaping can perform the same shaping operations used in - OpenType shaping, as well as other functions that have not been - defined for OpenType shaping. -

-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/harfbuzz-hb-aat-layout.html b/harfbuzz/docs/html/harfbuzz-hb-aat-layout.html deleted file mode 100644 index ac9e89a..0000000 --- a/harfbuzz/docs/html/harfbuzz-hb-aat-layout.html +++ /dev/null @@ -1,2492 +0,0 @@ - - - - -hb-aat-layout: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-
-
- - -
-

hb-aat-layout

-

hb-aat-layout — Apple Advanced Typography Layout

-
-
-

Functions

- -
- -
-

Includes

-
#include <hb-aat.h>
-
-
-
-

Description

-

Functions for querying AAT Layout features in the font face.

-

HarfBuzz supports all of the AAT tables used to implement shaping. Other -AAT tables and their associated features are not supported.

-
-
-

Functions

-
-

hb_aat_layout_feature_type_get_name_id ()

-
hb_ot_name_id_t
-hb_aat_layout_feature_type_get_name_id
-                               (hb_face_t *face,
-                                hb_aat_layout_feature_type_t feature_type);
-

Fetches the name identifier of the specified feature type in the face's name table.

-
-

Parameters

-
----- - - - - - - - - - - - - -

face

hb_face_t to work upon

 

feature_type

The hb_aat_layout_feature_type_t of the requested feature type

 
-
-
-

Returns

-

Name identifier of the requested feature type

-
-

Since: 2.2.0

-
-
-
-

hb_aat_layout_feature_type_get_selector_infos ()

-
unsigned int
-hb_aat_layout_feature_type_get_selector_infos
-                               (hb_face_t *face,
-                                hb_aat_layout_feature_type_t feature_type,
-                                unsigned int start_offset,
-                                unsigned int *selector_count,
-                                hb_aat_layout_feature_selector_info_t *selectors,
-                                unsigned int *default_index);
-

Fetches a list of the selectors available for the specified feature in the given face.

-

If upon return, default_index - is set to HB_AAT_LAYOUT_NO_SELECTOR_INDEX, then -the feature type is non-exclusive. Otherwise, default_index - is the index of -the selector that is selected by default.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

face

hb_face_t to work upon

 

feature_type

The hb_aat_layout_feature_type_t of the requested feature type

 

start_offset

offset of the first feature type to retrieve

 

selector_count

Input = the maximum number of selectors to return; -Output = the actual number of selectors returned (may be zero).

[inout][optional]

selectors

A buffer pointer. The selectors available for the feature type queries.

[out caller-allocates][array length=selector_count][optional]

default_index

The index of the feature's default selector, if any.

[out][optional]
-
-
-

Returns

-

Number of all available feature selectors

-
-

Since: 2.2.0

-
-
-
-

hb_aat_layout_get_feature_types ()

-
unsigned int
-hb_aat_layout_get_feature_types (hb_face_t *face,
-                                 unsigned int start_offset,
-                                 unsigned int *feature_count,
-                                 hb_aat_layout_feature_type_t *features);
-

Fetches a list of the AAT feature types included in the specified face.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - -

face

hb_face_t to work upon

 

start_offset

offset of the first feature type to retrieve

 

feature_count

Input = the maximum number of feature types to return; -Output = the actual number of feature types returned (may be zero).

[inout][optional]

features

Array of feature types found.

[out caller-allocates][array length=feature_count]
-
-
-

Returns

-

Number of all available feature types.

-
-

Since: 2.2.0

-
-
-
-

hb_aat_layout_has_positioning ()

-
hb_bool_t
-hb_aat_layout_has_positioning (hb_face_t *face);
-

Tests whether the specified face includes any positioning information -in the kerx table.

-
Note: does not examine the `GPOS` table.
-
-

Parameters

-
----- - - - - - -

face

hb_face_t to work upon

 
-
-
-

Returns

-

true if data found, false otherwise

-
-

Since: 2.3.0

-
-
-
-

hb_aat_layout_has_substitution ()

-
hb_bool_t
-hb_aat_layout_has_substitution (hb_face_t *face);
-

Tests whether the specified face includes any substitutions in the -morx or mort tables.

-
Note: does not examine the `GSUB` table.
-
-

Parameters

-
----- - - - - - -

face

hb_face_t to work upon

 
-
-
-

Returns

-

true if data found, false otherwise

-
-

Since: 2.3.0

-
-
-
-

hb_aat_layout_has_tracking ()

-
hb_bool_t
-hb_aat_layout_has_tracking (hb_face_t *face);
-

Tests whether the specified face includes any tracking information -in the trak table.

-
-

Parameters

-
----- - - - - - -

face

: hb_face_t to work upon

 
-
-
-

Returns

-

true if data found, false otherwise

-
-

Since: 2.3.0

-
-
-
-

Types and Values

-
-

HB_AAT_LAYOUT_NO_SELECTOR_INDEX

-
#define HB_AAT_LAYOUT_NO_SELECTOR_INDEX		0xFFFFu
-
-

Used when getting or setting AAT feature selectors. Indicates that -there is no selector index corresponding to the selector of interest.

-
-
-
-

enum hb_aat_layout_feature_type_t

-

The possible feature types defined for AAT shaping, from Apple Font Feature Registry.

-
-

Members

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

HB_AAT_LAYOUT_FEATURE_TYPE_INVALID

-

Initial, unset feature type

-
 

HB_AAT_LAYOUT_FEATURE_TYPE_ALL_TYPOGRAPHIC

-

All Typographic Features

-
 

HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES

-

Ligatures

-
 

HB_AAT_LAYOUT_FEATURE_TYPE_CURISVE_CONNECTION

-

Cursive Connection

-
 

HB_AAT_LAYOUT_FEATURE_TYPE_LETTER_CASE

-

Letter Case

-
 

HB_AAT_LAYOUT_FEATURE_TYPE_VERTICAL_SUBSTITUTION

-

Vertical Substitution

-
 

HB_AAT_LAYOUT_FEATURE_TYPE_LINGUISTIC_REARRANGEMENT

-

Linguistic Rearrangement

-
 

HB_AAT_LAYOUT_FEATURE_TYPE_NUMBER_SPACING

-

Number Spacing

-
 

HB_AAT_LAYOUT_FEATURE_TYPE_SMART_SWASH_TYPE

-

Smart Swash

-
 

HB_AAT_LAYOUT_FEATURE_TYPE_DIACRITICS_TYPE

-

Diacritics

-
 

HB_AAT_LAYOUT_FEATURE_TYPE_VERTICAL_POSITION

-

Vertical Position

-
 

HB_AAT_LAYOUT_FEATURE_TYPE_FRACTIONS

-

Fractions

-
 

HB_AAT_LAYOUT_FEATURE_TYPE_OVERLAPPING_CHARACTERS_TYPE

-

Overlapping Characters

-
 

HB_AAT_LAYOUT_FEATURE_TYPE_TYPOGRAPHIC_EXTRAS

-

Typographic Extras

-
 

HB_AAT_LAYOUT_FEATURE_TYPE_MATHEMATICAL_EXTRAS

-

Mathematical Extras

-
 

HB_AAT_LAYOUT_FEATURE_TYPE_ORNAMENT_SETS_TYPE

-

Ornament Sets

-
 

HB_AAT_LAYOUT_FEATURE_TYPE_CHARACTER_ALTERNATIVES

-

Character Alternatives

-
 

HB_AAT_LAYOUT_FEATURE_TYPE_DESIGN_COMPLEXITY_TYPE

-

Design Complexity

-
 

HB_AAT_LAYOUT_FEATURE_TYPE_STYLE_OPTIONS

-

Style Options

-
 

HB_AAT_LAYOUT_FEATURE_TYPE_CHARACTER_SHAPE

-

Character Shape

-
 

HB_AAT_LAYOUT_FEATURE_TYPE_NUMBER_CASE

-

Number Case

-
 

HB_AAT_LAYOUT_FEATURE_TYPE_TEXT_SPACING

-

Text Spacing

-
 

HB_AAT_LAYOUT_FEATURE_TYPE_TRANSLITERATION

-

Transliteration

-
 

HB_AAT_LAYOUT_FEATURE_TYPE_ANNOTATION_TYPE

-

Annotation

-
 

HB_AAT_LAYOUT_FEATURE_TYPE_KANA_SPACING_TYPE

-

Kana Spacing

-
 

HB_AAT_LAYOUT_FEATURE_TYPE_IDEOGRAPHIC_SPACING_TYPE

-

Ideographic Spacing

-
 

HB_AAT_LAYOUT_FEATURE_TYPE_UNICODE_DECOMPOSITION_TYPE

-

Unicode Decomposition

-
 

HB_AAT_LAYOUT_FEATURE_TYPE_RUBY_KANA

-

Ruby Kana

-
 

HB_AAT_LAYOUT_FEATURE_TYPE_CJK_SYMBOL_ALTERNATIVES_TYPE

-

CJK Symbol Alternatives

-
 

HB_AAT_LAYOUT_FEATURE_TYPE_IDEOGRAPHIC_ALTERNATIVES_TYPE

-

Ideographic Alternatives

-
 

HB_AAT_LAYOUT_FEATURE_TYPE_CJK_VERTICAL_ROMAN_PLACEMENT_TYPE

-

CJK Vertical Roman Placement

-
 

HB_AAT_LAYOUT_FEATURE_TYPE_ITALIC_CJK_ROMAN

-

Italic CJK Roman

-
 

HB_AAT_LAYOUT_FEATURE_TYPE_CASE_SENSITIVE_LAYOUT

-

Case Sensitive Layout

-
 

HB_AAT_LAYOUT_FEATURE_TYPE_ALTERNATE_KANA

-

Alternate Kana

-
 

HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES

-

Stylistic Alternatives

-
 

HB_AAT_LAYOUT_FEATURE_TYPE_CONTEXTUAL_ALTERNATIVES

-

Contextual Alternatives

-
 

HB_AAT_LAYOUT_FEATURE_TYPE_LOWER_CASE

-

Lower Case

-
 

HB_AAT_LAYOUT_FEATURE_TYPE_UPPER_CASE

-

Upper Case

-
 

HB_AAT_LAYOUT_FEATURE_TYPE_LANGUAGE_TAG_TYPE

-

Language Tag

-
 

HB_AAT_LAYOUT_FEATURE_TYPE_CJK_ROMAN_SPACING_TYPE

-

CJK Roman Spacing

-
 
-
-

Since: 2.2.0

-
-
-
-

enum hb_aat_layout_feature_selector_t

-

The selectors defined for specifying AAT feature settings.

-
-

Members

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

HB_AAT_LAYOUT_FEATURE_SELECTOR_INVALID

-

Initial, unset feature selector

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_ALL_TYPE_FEATURES_ON

-

for HB_AAT_LAYOUT_FEATURE_TYPE_ALL_TYPOGRAPHIC

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_ALL_TYPE_FEATURES_OFF

-

for HB_AAT_LAYOUT_FEATURE_TYPE_ALL_TYPOGRAPHIC

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_REQUIRED_LIGATURES_ON

-

for HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_REQUIRED_LIGATURES_OFF

-

for HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_COMMON_LIGATURES_ON

-

for HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_COMMON_LIGATURES_OFF

-

for HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_RARE_LIGATURES_ON

-

for HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_RARE_LIGATURES_OFF

-

for HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_LOGOS_ON

-

for HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_LOGOS_OFF

-

for HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_REBUS_PICTURES_ON

-

for HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_REBUS_PICTURES_OFF

-

for HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_DIPHTHONG_LIGATURES_ON

-

for HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_DIPHTHONG_LIGATURES_OFF

-

for HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_SQUARED_LIGATURES_ON

-

for HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_SQUARED_LIGATURES_OFF

-

for HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_ABBREV_SQUARED_LIGATURES_ON

-

for HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_ABBREV_SQUARED_LIGATURES_OFF

-

for HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_SYMBOL_LIGATURES_ON

-

for HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_SYMBOL_LIGATURES_OFF

-

for HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_CONTEXTUAL_LIGATURES_ON

-

for HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_CONTEXTUAL_LIGATURES_OFF

-

for HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_HISTORICAL_LIGATURES_ON

-

for HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_HISTORICAL_LIGATURES_OFF

-

for HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_UNCONNECTED

-

for HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_PARTIALLY_CONNECTED

-

for HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_CURSIVE

-

for HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_UPPER_AND_LOWER_CASE

-

Deprecated

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_ALL_CAPS

-

Deprecated

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_ALL_LOWER_CASE

-

Deprecated

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_SMALL_CAPS

-

Deprecated

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_INITIAL_CAPS

-

Deprecated

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_INITIAL_CAPS_AND_SMALL_CAPS

-

Deprecated

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_SUBSTITUTE_VERTICAL_FORMS_ON

-

for HB_AAT_LAYOUT_FEATURE_TYPE_VERTICAL_SUBSTITUTION

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_SUBSTITUTE_VERTICAL_FORMS_OFF

-

for HB_AAT_LAYOUT_FEATURE_TYPE_VERTICAL_SUBSTITUTION

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_LINGUISTIC_REARRANGEMENT_ON

-

for HB_AAT_LAYOUT_FEATURE_TYPE_LINGUISTIC_REARRANGEMENT

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_LINGUISTIC_REARRANGEMENT_OFF

-

for HB_AAT_LAYOUT_FEATURE_TYPE_LINGUISTIC_REARRANGEMENT

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_MONOSPACED_NUMBERS

-

for HB_AAT_LAYOUT_FEATURE_TYPE_NUMBER_SPACING

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_PROPORTIONAL_NUMBERS

-

for HB_AAT_LAYOUT_FEATURE_TYPE_NUMBER_SPACING

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_THIRD_WIDTH_NUMBERS

-

for HB_AAT_LAYOUT_FEATURE_TYPE_NUMBER_SPACING

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_QUARTER_WIDTH_NUMBERS

-

for HB_AAT_LAYOUT_FEATURE_TYPE_NUMBER_SPACING

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_WORD_INITIAL_SWASHES_ON

-

for HB_AAT_LAYOUT_FEATURE_TYPE_SMART_SWASH_TYPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_WORD_INITIAL_SWASHES_OFF

-

for HB_AAT_LAYOUT_FEATURE_TYPE_SMART_SWASH_TYPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_WORD_FINAL_SWASHES_ON

-

for HB_AAT_LAYOUT_FEATURE_TYPE_SMART_SWASH_TYPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_WORD_FINAL_SWASHES_OFF

-

for HB_AAT_LAYOUT_FEATURE_TYPE_SMART_SWASH_TYPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_LINE_INITIAL_SWASHES_ON

-

for HB_AAT_LAYOUT_FEATURE_TYPE_SMART_SWASH_TYPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_LINE_INITIAL_SWASHES_OFF

-

for HB_AAT_LAYOUT_FEATURE_TYPE_SMART_SWASH_TYPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_LINE_FINAL_SWASHES_ON

-

for HB_AAT_LAYOUT_FEATURE_TYPE_SMART_SWASH_TYPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_LINE_FINAL_SWASHES_OFF

-

for HB_AAT_LAYOUT_FEATURE_TYPE_SMART_SWASH_TYPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_NON_FINAL_SWASHES_ON

-

for HB_AAT_LAYOUT_FEATURE_TYPE_SMART_SWASH_TYPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_NON_FINAL_SWASHES_OFF

-

for HB_AAT_LAYOUT_FEATURE_TYPE_SMART_SWASH_TYPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_SHOW_DIACRITICS

-

for HB_AAT_LAYOUT_FEATURE_TYPE_DIACRITICS_TYPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_HIDE_DIACRITICS

-

for HB_AAT_LAYOUT_FEATURE_TYPE_DIACRITICS_TYPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_DECOMPOSE_DIACRITICS

-

for HB_AAT_LAYOUT_FEATURE_TYPE_DIACRITICS_TYPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_NORMAL_POSITION

-

for HB_AAT_LAYOUT_FEATURE_TYPE_VERTICAL_POSITION

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_SUPERIORS

-

for HB_AAT_LAYOUT_FEATURE_TYPE_VERTICAL_POSITION

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_INFERIORS

-

for HB_AAT_LAYOUT_FEATURE_TYPE_VERTICAL_POSITION

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_ORDINALS

-

for HB_AAT_LAYOUT_FEATURE_TYPE_VERTICAL_POSITION

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_SCIENTIFIC_INFERIORS

-

for HB_AAT_LAYOUT_FEATURE_TYPE_VERTICAL_POSITION

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_NO_FRACTIONS

-

for HB_AAT_LAYOUT_FEATURE_TYPE_FRACTIONS

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_VERTICAL_FRACTIONS

-

for HB_AAT_LAYOUT_FEATURE_TYPE_FRACTIONS

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_DIAGONAL_FRACTIONS

-

for HB_AAT_LAYOUT_FEATURE_TYPE_FRACTIONS

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_PREVENT_OVERLAP_ON

-

for HB_AAT_LAYOUT_FEATURE_TYPE_OVERLAPPING_CHARACTERS_TYPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_PREVENT_OVERLAP_OFF

-

for HB_AAT_LAYOUT_FEATURE_TYPE_OVERLAPPING_CHARACTERS_TYPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_HYPHENS_TO_EM_DASH_ON

-

for HB_AAT_LAYOUT_FEATURE_TYPE_TYPOGRAPHIC_EXTRAS

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_HYPHENS_TO_EM_DASH_OFF

-

for HB_AAT_LAYOUT_FEATURE_TYPE_TYPOGRAPHIC_EXTRAS

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_HYPHEN_TO_EN_DASH_ON

-

for HB_AAT_LAYOUT_FEATURE_TYPE_TYPOGRAPHIC_EXTRAS

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_HYPHEN_TO_EN_DASH_OFF

-

for HB_AAT_LAYOUT_FEATURE_TYPE_TYPOGRAPHIC_EXTRAS

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_SLASHED_ZERO_ON

-

for HB_AAT_LAYOUT_FEATURE_TYPE_TYPOGRAPHIC_EXTRAS

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_SLASHED_ZERO_OFF

-

for HB_AAT_LAYOUT_FEATURE_TYPE_TYPOGRAPHIC_EXTRAS

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_FORM_INTERROBANG_ON

-

for HB_AAT_LAYOUT_FEATURE_TYPE_TYPOGRAPHIC_EXTRAS

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_FORM_INTERROBANG_OFF

-

for HB_AAT_LAYOUT_FEATURE_TYPE_TYPOGRAPHIC_EXTRAS

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_SMART_QUOTES_ON

-

for HB_AAT_LAYOUT_FEATURE_TYPE_TYPOGRAPHIC_EXTRAS

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_SMART_QUOTES_OFF

-

for HB_AAT_LAYOUT_FEATURE_TYPE_TYPOGRAPHIC_EXTRAS

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_PERIODS_TO_ELLIPSIS_ON

-

for HB_AAT_LAYOUT_FEATURE_TYPE_TYPOGRAPHIC_EXTRAS

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_PERIODS_TO_ELLIPSIS_OFF

-

for HB_AAT_LAYOUT_FEATURE_TYPE_TYPOGRAPHIC_EXTRAS

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_HYPHEN_TO_MINUS_ON

-

for HB_AAT_LAYOUT_FEATURE_TYPE_MATHEMATICAL_EXTRAS

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_HYPHEN_TO_MINUS_OFF

-

for HB_AAT_LAYOUT_FEATURE_TYPE_MATHEMATICAL_EXTRAS

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_ASTERISK_TO_MULTIPLY_ON

-

for HB_AAT_LAYOUT_FEATURE_TYPE_MATHEMATICAL_EXTRAS

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_ASTERISK_TO_MULTIPLY_OFF

-

for HB_AAT_LAYOUT_FEATURE_TYPE_MATHEMATICAL_EXTRAS

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_SLASH_TO_DIVIDE_ON

-

for HB_AAT_LAYOUT_FEATURE_TYPE_MATHEMATICAL_EXTRAS

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_SLASH_TO_DIVIDE_OFF

-

for HB_AAT_LAYOUT_FEATURE_TYPE_MATHEMATICAL_EXTRAS

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_INEQUALITY_LIGATURES_ON

-

for HB_AAT_LAYOUT_FEATURE_TYPE_MATHEMATICAL_EXTRAS

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_INEQUALITY_LIGATURES_OFF

-

for HB_AAT_LAYOUT_FEATURE_TYPE_MATHEMATICAL_EXTRAS

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_EXPONENTS_ON

-

for HB_AAT_LAYOUT_FEATURE_TYPE_MATHEMATICAL_EXTRAS

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_EXPONENTS_OFF

-

for HB_AAT_LAYOUT_FEATURE_TYPE_MATHEMATICAL_EXTRAS

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_MATHEMATICAL_GREEK_ON

-

for HB_AAT_LAYOUT_FEATURE_TYPE_MATHEMATICAL_EXTRAS

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_MATHEMATICAL_GREEK_OFF

-

for HB_AAT_LAYOUT_FEATURE_TYPE_MATHEMATICAL_EXTRAS

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_NO_ORNAMENTS

-

for HB_AAT_LAYOUT_FEATURE_TYPE_ORNAMENT_SETS_TYPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_DINGBATS

-

for HB_AAT_LAYOUT_FEATURE_TYPE_ORNAMENT_SETS_TYPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_PI_CHARACTERS

-

for HB_AAT_LAYOUT_FEATURE_TYPE_ORNAMENT_SETS_TYPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_FLEURONS

-

for HB_AAT_LAYOUT_FEATURE_TYPE_ORNAMENT_SETS_TYPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_DECORATIVE_BORDERS

-

for HB_AAT_LAYOUT_FEATURE_TYPE_ORNAMENT_SETS_TYPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_INTERNATIONAL_SYMBOLS

-

for HB_AAT_LAYOUT_FEATURE_TYPE_ORNAMENT_SETS_TYPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_MATH_SYMBOLS

-

for HB_AAT_LAYOUT_FEATURE_TYPE_ORNAMENT_SETS_TYPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_NO_ALTERNATES

-

for HB_AAT_LAYOUT_FEATURE_TYPE_CHARACTER_ALTERNATIVES

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_DESIGN_LEVEL1

-

for HB_AAT_LAYOUT_FEATURE_TYPE_DESIGN_COMPLEXITY_TYPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_DESIGN_LEVEL2

-

for HB_AAT_LAYOUT_FEATURE_TYPE_DESIGN_COMPLEXITY_TYPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_DESIGN_LEVEL3

-

for HB_AAT_LAYOUT_FEATURE_TYPE_DESIGN_COMPLEXITY_TYPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_DESIGN_LEVEL4

-

for HB_AAT_LAYOUT_FEATURE_TYPE_DESIGN_COMPLEXITY_TYPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_DESIGN_LEVEL5

-

for HB_AAT_LAYOUT_FEATURE_TYPE_DESIGN_COMPLEXITY_TYPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_NO_STYLE_OPTIONS

-

for HB_AAT_LAYOUT_FEATURE_TYPE_STYLE_OPTIONS

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_DISPLAY_TEXT

-

for HB_AAT_LAYOUT_FEATURE_TYPE_STYLE_OPTIONS

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_ENGRAVED_TEXT

-

for HB_AAT_LAYOUT_FEATURE_TYPE_STYLE_OPTIONS

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_ILLUMINATED_CAPS

-

for HB_AAT_LAYOUT_FEATURE_TYPE_STYLE_OPTIONS

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_TITLING_CAPS

-

for HB_AAT_LAYOUT_FEATURE_TYPE_STYLE_OPTIONS

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_TALL_CAPS

-

for HB_AAT_LAYOUT_FEATURE_TYPE_STYLE_OPTIONS

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_TRADITIONAL_CHARACTERS

-

for HB_AAT_LAYOUT_FEATURE_TYPE_CHARACTER_SHAPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_SIMPLIFIED_CHARACTERS

-

for HB_AAT_LAYOUT_FEATURE_TYPE_CHARACTER_SHAPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_JIS1978_CHARACTERS

-

for HB_AAT_LAYOUT_FEATURE_TYPE_CHARACTER_SHAPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_JIS1983_CHARACTERS

-

for HB_AAT_LAYOUT_FEATURE_TYPE_CHARACTER_SHAPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_JIS1990_CHARACTERS

-

for HB_AAT_LAYOUT_FEATURE_TYPE_CHARACTER_SHAPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_TRADITIONAL_ALT_ONE

-

for HB_AAT_LAYOUT_FEATURE_TYPE_CHARACTER_SHAPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_TRADITIONAL_ALT_TWO

-

for HB_AAT_LAYOUT_FEATURE_TYPE_CHARACTER_SHAPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_TRADITIONAL_ALT_THREE

-

for HB_AAT_LAYOUT_FEATURE_TYPE_CHARACTER_SHAPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_TRADITIONAL_ALT_FOUR

-

for HB_AAT_LAYOUT_FEATURE_TYPE_CHARACTER_SHAPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_TRADITIONAL_ALT_FIVE

-

for HB_AAT_LAYOUT_FEATURE_TYPE_CHARACTER_SHAPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_EXPERT_CHARACTERS

-

for HB_AAT_LAYOUT_FEATURE_TYPE_CHARACTER_SHAPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_JIS2004_CHARACTERS

-

for HB_AAT_LAYOUT_FEATURE_TYPE_CHARACTER_SHAPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_HOJO_CHARACTERS

-

for HB_AAT_LAYOUT_FEATURE_TYPE_CHARACTER_SHAPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_NLCCHARACTERS

-

for HB_AAT_LAYOUT_FEATURE_TYPE_CHARACTER_SHAPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_TRADITIONAL_NAMES_CHARACTERS

-

for HB_AAT_LAYOUT_FEATURE_TYPE_CHARACTER_SHAPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_LOWER_CASE_NUMBERS

-

for HB_AAT_LAYOUT_FEATURE_TYPE_NUMBER_CASE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_UPPER_CASE_NUMBERS

-

for HB_AAT_LAYOUT_FEATURE_TYPE_NUMBER_CASE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_PROPORTIONAL_TEXT

-

for HB_AAT_LAYOUT_FEATURE_TYPE_TEXT_SPACING

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_MONOSPACED_TEXT

-

for HB_AAT_LAYOUT_FEATURE_TYPE_TEXT_SPACING

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_HALF_WIDTH_TEXT

-

for HB_AAT_LAYOUT_FEATURE_TYPE_TEXT_SPACING

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_THIRD_WIDTH_TEXT

-

for HB_AAT_LAYOUT_FEATURE_TYPE_TEXT_SPACING

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_QUARTER_WIDTH_TEXT

-

for HB_AAT_LAYOUT_FEATURE_TYPE_TEXT_SPACING

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_ALT_PROPORTIONAL_TEXT

-

for HB_AAT_LAYOUT_FEATURE_TYPE_TEXT_SPACING

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_ALT_HALF_WIDTH_TEXT

-

for HB_AAT_LAYOUT_FEATURE_TYPE_TEXT_SPACING

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_NO_TRANSLITERATION

-

for HB_AAT_LAYOUT_FEATURE_TYPE_TRANSLITERATION

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_HANJA_TO_HANGUL

-

for HB_AAT_LAYOUT_FEATURE_TYPE_TRANSLITERATION

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_HIRAGANA_TO_KATAKANA

-

for HB_AAT_LAYOUT_FEATURE_TYPE_TRANSLITERATION

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_KATAKANA_TO_HIRAGANA

-

for HB_AAT_LAYOUT_FEATURE_TYPE_TRANSLITERATION

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_KANA_TO_ROMANIZATION

-

for HB_AAT_LAYOUT_FEATURE_TYPE_TRANSLITERATION

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_ROMANIZATION_TO_HIRAGANA

-

for HB_AAT_LAYOUT_FEATURE_TYPE_TRANSLITERATION

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_ROMANIZATION_TO_KATAKANA

-

for HB_AAT_LAYOUT_FEATURE_TYPE_TRANSLITERATION

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_HANJA_TO_HANGUL_ALT_ONE

-

for HB_AAT_LAYOUT_FEATURE_TYPE_TRANSLITERATION

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_HANJA_TO_HANGUL_ALT_TWO

-

for HB_AAT_LAYOUT_FEATURE_TYPE_TRANSLITERATION

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_HANJA_TO_HANGUL_ALT_THREE

-

for HB_AAT_LAYOUT_FEATURE_TYPE_TRANSLITERATION

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_NO_ANNOTATION

-

for HB_AAT_LAYOUT_FEATURE_TYPE_ANNOTATION_TYPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_BOX_ANNOTATION

-

for HB_AAT_LAYOUT_FEATURE_TYPE_ANNOTATION_TYPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_ROUNDED_BOX_ANNOTATION

-

for HB_AAT_LAYOUT_FEATURE_TYPE_ANNOTATION_TYPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_CIRCLE_ANNOTATION

-

for HB_AAT_LAYOUT_FEATURE_TYPE_ANNOTATION_TYPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_INVERTED_CIRCLE_ANNOTATION

-

for HB_AAT_LAYOUT_FEATURE_TYPE_ANNOTATION_TYPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_PARENTHESIS_ANNOTATION

-

for HB_AAT_LAYOUT_FEATURE_TYPE_ANNOTATION_TYPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_PERIOD_ANNOTATION

-

for HB_AAT_LAYOUT_FEATURE_TYPE_ANNOTATION_TYPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_ROMAN_NUMERAL_ANNOTATION

-

for HB_AAT_LAYOUT_FEATURE_TYPE_ANNOTATION_TYPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_DIAMOND_ANNOTATION

-

for HB_AAT_LAYOUT_FEATURE_TYPE_ANNOTATION_TYPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_INVERTED_BOX_ANNOTATION

-

for HB_AAT_LAYOUT_FEATURE_TYPE_ANNOTATION_TYPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_INVERTED_ROUNDED_BOX_ANNOTATION

-

for HB_AAT_LAYOUT_FEATURE_TYPE_ANNOTATION_TYPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_FULL_WIDTH_KANA

-

for HB_AAT_LAYOUT_FEATURE_TYPE_KANA_SPACING_TYPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_PROPORTIONAL_KANA

-

for HB_AAT_LAYOUT_FEATURE_TYPE_KANA_SPACING_TYPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_FULL_WIDTH_IDEOGRAPHS

-

for HB_AAT_LAYOUT_FEATURE_TYPE_IDEOGRAPHIC_SPACING_TYPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_PROPORTIONAL_IDEOGRAPHS

-

for HB_AAT_LAYOUT_FEATURE_TYPE_IDEOGRAPHIC_SPACING_TYPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_HALF_WIDTH_IDEOGRAPHS

-

for HB_AAT_LAYOUT_FEATURE_TYPE_IDEOGRAPHIC_SPACING_TYPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_CANONICAL_COMPOSITION_ON

-

for HB_AAT_LAYOUT_FEATURE_TYPE_UNICODE_DECOMPOSITION_TYPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_CANONICAL_COMPOSITION_OFF

-

for HB_AAT_LAYOUT_FEATURE_TYPE_UNICODE_DECOMPOSITION_TYPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_COMPATIBILITY_COMPOSITION_ON

-

for HB_AAT_LAYOUT_FEATURE_TYPE_UNICODE_DECOMPOSITION_TYPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_COMPATIBILITY_COMPOSITION_OFF

-

for HB_AAT_LAYOUT_FEATURE_TYPE_UNICODE_DECOMPOSITION_TYPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_TRANSCODING_COMPOSITION_ON

-

for HB_AAT_LAYOUT_FEATURE_TYPE_UNICODE_DECOMPOSITION_TYPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_TRANSCODING_COMPOSITION_OFF

-

for HB_AAT_LAYOUT_FEATURE_TYPE_UNICODE_DECOMPOSITION_TYPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_NO_RUBY_KANA

-

Deprecated; use HB_AAT_LAYOUT_FEATURE_SELECTOR_RUBY_KANA_OFF instead

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_RUBY_KANA

-

Deprecated; use HB_AAT_LAYOUT_FEATURE_SELECTOR_RUBY_KANA_ON instead

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_RUBY_KANA_ON

-

for HB_AAT_LAYOUT_FEATURE_TYPE_RUBY_KANA

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_RUBY_KANA_OFF

-

for HB_AAT_LAYOUT_FEATURE_TYPE_RUBY_KANA

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_NO_CJK_SYMBOL_ALTERNATIVES

-

for HB_AAT_LAYOUT_FEATURE_TYPE_CJK_SYMBOL_ALTERNATIVES_TYPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_CJK_SYMBOL_ALT_ONE

-

for HB_AAT_LAYOUT_FEATURE_TYPE_CJK_SYMBOL_ALTERNATIVES_TYPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_CJK_SYMBOL_ALT_TWO

-

for HB_AAT_LAYOUT_FEATURE_TYPE_CJK_SYMBOL_ALTERNATIVES_TYPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_CJK_SYMBOL_ALT_THREE

-

for HB_AAT_LAYOUT_FEATURE_TYPE_CJK_SYMBOL_ALTERNATIVES_TYPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_CJK_SYMBOL_ALT_FOUR

-

for HB_AAT_LAYOUT_FEATURE_TYPE_CJK_SYMBOL_ALTERNATIVES_TYPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_CJK_SYMBOL_ALT_FIVE

-

for HB_AAT_LAYOUT_FEATURE_TYPE_CJK_SYMBOL_ALTERNATIVES_TYPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_NO_IDEOGRAPHIC_ALTERNATIVES

-

for HB_AAT_LAYOUT_FEATURE_TYPE_IDEOGRAPHIC_ALTERNATIVES_TYPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_IDEOGRAPHIC_ALT_ONE

-

for HB_AAT_LAYOUT_FEATURE_TYPE_IDEOGRAPHIC_ALTERNATIVES_TYPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_IDEOGRAPHIC_ALT_TWO

-

for HB_AAT_LAYOUT_FEATURE_TYPE_IDEOGRAPHIC_ALTERNATIVES_TYPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_IDEOGRAPHIC_ALT_THREE

-

for HB_AAT_LAYOUT_FEATURE_TYPE_IDEOGRAPHIC_ALTERNATIVES_TYPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_IDEOGRAPHIC_ALT_FOUR

-

for HB_AAT_LAYOUT_FEATURE_TYPE_IDEOGRAPHIC_ALTERNATIVES_TYPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_IDEOGRAPHIC_ALT_FIVE

-

for HB_AAT_LAYOUT_FEATURE_TYPE_IDEOGRAPHIC_ALTERNATIVES_TYPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_CJK_VERTICAL_ROMAN_CENTERED

-

for HB_AAT_LAYOUT_FEATURE_TYPE_CJK_VERTICAL_ROMAN_PLACEMENT_TYPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_CJK_VERTICAL_ROMAN_HBASELINE

-

for HB_AAT_LAYOUT_FEATURE_TYPE_CJK_VERTICAL_ROMAN_PLACEMENT_TYPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_NO_CJK_ITALIC_ROMAN

-

Deprecated; use HB_AAT_LAYOUT_FEATURE_SELECTOR_CJK_ITALIC_ROMAN_OFF instead

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_CJK_ITALIC_ROMAN

-

Deprecated; use HB_AAT_LAYOUT_FEATURE_SELECTOR_CJK_ITALIC_ROMAN_ON instead

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_CJK_ITALIC_ROMAN_ON

-

for HB_AAT_LAYOUT_FEATURE_TYPE_ITALIC_CJK_ROMAN

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_CJK_ITALIC_ROMAN_OFF

-

for HB_AAT_LAYOUT_FEATURE_TYPE_ITALIC_CJK_ROMAN

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_CASE_SENSITIVE_LAYOUT_ON

-

for HB_AAT_LAYOUT_FEATURE_TYPE_CASE_SENSITIVE_LAYOUT

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_CASE_SENSITIVE_LAYOUT_OFF

-

for HB_AAT_LAYOUT_FEATURE_TYPE_CASE_SENSITIVE_LAYOUT

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_CASE_SENSITIVE_SPACING_ON

-

for HB_AAT_LAYOUT_FEATURE_TYPE_CASE_SENSITIVE_LAYOUT

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_CASE_SENSITIVE_SPACING_OFF

-

for HB_AAT_LAYOUT_FEATURE_TYPE_CASE_SENSITIVE_LAYOUT

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_ALTERNATE_HORIZ_KANA_ON

-

for HB_AAT_LAYOUT_FEATURE_TYPE_ALTERNATE_KANA

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_ALTERNATE_HORIZ_KANA_OFF

-

for HB_AAT_LAYOUT_FEATURE_TYPE_ALTERNATE_KANA

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_ALTERNATE_VERT_KANA_ON

-

for HB_AAT_LAYOUT_FEATURE_TYPE_ALTERNATE_KANA

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_ALTERNATE_VERT_KANA_OFF

-

for HB_AAT_LAYOUT_FEATURE_TYPE_ALTERNATE_KANA

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_NO_STYLISTIC_ALTERNATES

-

for HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_ONE_ON

-

for HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_ONE_OFF

-

for HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_TWO_ON

-

for HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_TWO_OFF

-

for HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_THREE_ON

-

for HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_THREE_OFF

-

for HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_FOUR_ON

-

for HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_FOUR_OFF

-

for HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_FIVE_ON

-

for HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_FIVE_OFF

-

for HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_SIX_ON

-

for HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_SIX_OFF

-

for HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_SEVEN_ON

-

for HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_SEVEN_OFF

-

for HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_EIGHT_ON

-

for HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_EIGHT_OFF

-

for HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_NINE_ON

-

for HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_NINE_OFF

-

for HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_TEN_ON

-

for HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_TEN_OFF

-

for HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_ELEVEN_ON

-

for HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_ELEVEN_OFF

-

for HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_TWELVE_ON

-

for HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_TWELVE_OFF

-

for HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_THIRTEEN_ON

-

for HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_THIRTEEN_OFF

-

for HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_FOURTEEN_ON

-

for HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_FOURTEEN_OFF

-

for HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_FIFTEEN_ON

-

for HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_FIFTEEN_OFF

-

for HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_SIXTEEN_ON

-

for HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_SIXTEEN_OFF

-

for HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_SEVENTEEN_ON

-

for HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_SEVENTEEN_OFF

-

for HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_EIGHTEEN_ON

-

for HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_EIGHTEEN_OFF

-

for HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_NINETEEN_ON

-

for HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_NINETEEN_OFF

-

for HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_TWENTY_ON

-

for HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_TWENTY_OFF

-

for HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_CONTEXTUAL_ALTERNATES_ON

-

for HB_AAT_LAYOUT_FEATURE_TYPE_CONTEXTUAL_ALTERNATIVES

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_CONTEXTUAL_ALTERNATES_OFF

-

for HB_AAT_LAYOUT_FEATURE_TYPE_CONTEXTUAL_ALTERNATIVES

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_SWASH_ALTERNATES_ON

-

for HB_AAT_LAYOUT_FEATURE_TYPE_CONTEXTUAL_ALTERNATIVES

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_SWASH_ALTERNATES_OFF

-

for HB_AAT_LAYOUT_FEATURE_TYPE_CONTEXTUAL_ALTERNATIVES

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_CONTEXTUAL_SWASH_ALTERNATES_ON

-

for HB_AAT_LAYOUT_FEATURE_TYPE_CONTEXTUAL_ALTERNATIVES

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_CONTEXTUAL_SWASH_ALTERNATES_OFF

-

for HB_AAT_LAYOUT_FEATURE_TYPE_CONTEXTUAL_ALTERNATIVES

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_DEFAULT_LOWER_CASE

-

for HB_AAT_LAYOUT_FEATURE_TYPE_LOWER_CASE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_LOWER_CASE_SMALL_CAPS

-

for HB_AAT_LAYOUT_FEATURE_TYPE_LOWER_CASE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_LOWER_CASE_PETITE_CAPS

-

for HB_AAT_LAYOUT_FEATURE_TYPE_LOWER_CASE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_DEFAULT_UPPER_CASE

-

for HB_AAT_LAYOUT_FEATURE_TYPE_UPPER_CASE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_UPPER_CASE_SMALL_CAPS

-

for HB_AAT_LAYOUT_FEATURE_TYPE_UPPER_CASE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_UPPER_CASE_PETITE_CAPS

-

for HB_AAT_LAYOUT_FEATURE_TYPE_UPPER_CASE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_HALF_WIDTH_CJK_ROMAN

-

for HB_AAT_LAYOUT_FEATURE_TYPE_CJK_ROMAN_SPACING_TYPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_PROPORTIONAL_CJK_ROMAN

-

for HB_AAT_LAYOUT_FEATURE_TYPE_CJK_ROMAN_SPACING_TYPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_DEFAULT_CJK_ROMAN

-

for HB_AAT_LAYOUT_FEATURE_TYPE_CJK_ROMAN_SPACING_TYPE

-
 

HB_AAT_LAYOUT_FEATURE_SELECTOR_FULL_WIDTH_CJK_ROMAN

-

for HB_AAT_LAYOUT_FEATURE_TYPE_CJK_ROMAN_SPACING_TYPE

-
 
-
-

Since: 2.2.0

-
-
-
-

hb_aat_layout_feature_selector_info_t

-
typedef struct {
-  hb_ot_name_id_t			name_id;
-  hb_aat_layout_feature_selector_t enable;
-  hb_aat_layout_feature_selector_t disable;
-} hb_aat_layout_feature_selector_info_t;
-
-

Structure representing a setting for an hb_aat_layout_feature_type_t.

-
-

Members

-
----- - - - - - - - - - - - - - - - - - -

hb_ot_name_id_t name_id;

The selector's name identifier

 

hb_aat_layout_feature_selector_t enable;

The value to turn the selector on

 

hb_aat_layout_feature_selector_t disable;

The value to turn the selector off

 
-
-
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/harfbuzz-hb-blob.html b/harfbuzz/docs/html/harfbuzz-hb-blob.html deleted file mode 100644 index 822fb52..0000000 --- a/harfbuzz/docs/html/harfbuzz-hb-blob.html +++ /dev/null @@ -1,881 +0,0 @@ - - - - -hb-blob: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-
-
- - -
-

hb-blob

-

hb-blob — Binary data containers

-
-
-

Functions

-
---- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-hb_blob_t * - -hb_blob_create () -
-hb_blob_t * - -hb_blob_create_or_fail () -
-hb_blob_t * - -hb_blob_create_from_file () -
-hb_blob_t * - -hb_blob_create_from_file_or_fail () -
-hb_blob_t * - -hb_blob_create_sub_blob () -
-hb_blob_t * - -hb_blob_copy_writable_or_fail () -
-void - -hb_blob_destroy () -
const char * - -hb_blob_get_data () -
-char * - -hb_blob_get_data_writable () -
-hb_blob_t * - -hb_blob_get_empty () -
unsigned int - -hb_blob_get_length () -
-void * - -hb_blob_get_user_data () -
-hb_bool_t - -hb_blob_is_immutable () -
-void - -hb_blob_make_immutable () -
-hb_blob_t * - -hb_blob_reference () -
-hb_bool_t - -hb_blob_set_user_data () -
-
-
-

Types and Values

-
---- - - - - - - - - - - -
typedefhb_blob_t
enumhb_memory_mode_t
-
-
-

Includes

-
#include <hb.h>
-
-
-
-

Description

-

Blobs wrap a chunk of binary data to handle lifecycle management of data -while it is passed between client and HarfBuzz. Blobs are primarily used -to create font faces, but also to access font face tables, as well as -pass around other binary data.

-
-
-

Functions

-
-

hb_blob_create ()

-
hb_blob_t *
-hb_blob_create (const char *data,
-                unsigned int length,
-                hb_memory_mode_t mode,
-                void *user_data,
-                hb_destroy_func_t destroy);
-

Creates a new "blob" object wrapping data -. The mode - parameter is used -to negotiate ownership and lifecycle of data -.

-

[skip]

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

data

Pointer to blob data.

 

length

Length of data -in bytes.

 

mode

Memory mode for data -.

 

user_data

Data parameter to pass to destroy -.

 

destroy

Callback to call when data -is not needed anymore.

[nullable]
-
-
-

Returns

-

New blob, or the empty blob if something failed or if length -is -zero. Destroy with hb_blob_destroy().

-
-

Since: 0.9.2

-
-
-
-

hb_blob_create_or_fail ()

-
hb_blob_t *
-hb_blob_create_or_fail (const char *data,
-                        unsigned int length,
-                        hb_memory_mode_t mode,
-                        void *user_data,
-                        hb_destroy_func_t destroy);
-

Creates a new "blob" object wrapping data -. The mode - parameter is used -to negotiate ownership and lifecycle of data -.

-

Note that this function returns a freshly-allocated empty blob even if length - -is zero. This is in contrast to hb_blob_create(), which returns the singleton -empty blob (as returned by hb_blob_get_empty()) if length - is zero.

-

[skip]

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

data

Pointer to blob data.

 

length

Length of data -in bytes.

 

mode

Memory mode for data -.

 

user_data

Data parameter to pass to destroy -.

 

destroy

Callback to call when data -is not needed anymore.

[nullable]
-
-
-

Returns

-

New blob, or NULL if failed. Destroy with hb_blob_destroy().

-
-

Since: 2.8.2

-
-
-
-

hb_blob_create_from_file ()

-
hb_blob_t *
-hb_blob_create_from_file (const char *file_name);
-

Creates a new blob containing the data from the -specified binary font file.

-
-

Parameters

-
----- - - - - - -

file_name

A font filename

 
-
-
-

Returns

-

An hb_blob_t pointer with the content of the file, -or hb_blob_get_empty() if failed.

-
-

Since: 1.7.7

-
-
-
-

hb_blob_create_from_file_or_fail ()

-
hb_blob_t *
-hb_blob_create_from_file_or_fail (const char *file_name);
-

Creates a new blob containing the data from the -specified binary font file.

-
-

Parameters

-
----- - - - - - -

file_name

A font filename

 
-
-
-

Returns

-

An hb_blob_t pointer with the content of the file, -or NULL if failed.

-
-

Since: 2.8.2

-
-
-
-

hb_blob_create_sub_blob ()

-
hb_blob_t *
-hb_blob_create_sub_blob (hb_blob_t *parent,
-                         unsigned int offset,
-                         unsigned int length);
-

Returns a blob that represents a range of bytes in parent -. The new -blob is always created with HB_MEMORY_MODE_READONLY, meaning that it -will never modify data in the parent blob. The parent data is not -expected to be modified, and will result in undefined behavior if it -is.

-

Makes parent - immutable.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - -

parent

Parent blob.

 

offset

Start offset of sub-blob within parent -, in bytes.

 

length

Length of sub-blob.

 
-
-
-

Returns

-

New blob, or the empty blob if something failed or if -length -is zero or offset -is beyond the end of parent -'s data. Destroy -with hb_blob_destroy().

-
-

Since: 0.9.2

-
-
-
-

hb_blob_copy_writable_or_fail ()

-
hb_blob_t *
-hb_blob_copy_writable_or_fail (hb_blob_t *blob);
-

Makes a writable copy of blob -.

-
-

Parameters

-
----- - - - - - -

blob

A blob.

 
-
-
-

Returns

-

The new blob, or nullptr if allocation failed

-
-

Since: 1.8.0

-
-
-
-

hb_blob_destroy ()

-
void
-hb_blob_destroy (hb_blob_t *blob);
-

Decreases the reference count on blob -, and if it reaches zero, destroys -blob -, freeing all memory, possibly calling the destroy-callback the blob -was created for if it has not been called already.

-

See TODO:link object types for more information.

-

[skip]

-
-

Parameters

-
----- - - - - - -

blob

a blob.

 
-
-

Since: 0.9.2

-
-
-
-

hb_blob_get_data ()

-
const char *
-hb_blob_get_data (hb_blob_t *blob,
-                  unsigned int *length);
-

Fetches the data from a blob.

-
-

Parameters

-
----- - - - - - - - - - - - - -

blob

a blob.

 

length

The length in bytes of the data retrieved.

[out]
-
-
-

Returns

-

the byte data of blob -.

-

[transfer none][array length=length]

-
-

Since: 0.9.2

-
-
-
-

hb_blob_get_data_writable ()

-
char *
-hb_blob_get_data_writable (hb_blob_t *blob,
-                           unsigned int *length);
-

Tries to make blob data writable (possibly copying it) and -return pointer to data.

-

Fails if blob has been made immutable, or if memory allocation -fails.

-
-

Parameters

-
----- - - - - - - - - - - - - -

blob

a blob.

 

length

output length of the writable data.

[out]
-
-
-

Returns

-

Writable blob data, -or NULL if failed.

-

[transfer none][array length=length]

-
-

Since: 0.9.2

-
-
-
-

hb_blob_get_empty ()

-
hb_blob_t *
-hb_blob_get_empty (void);
-

Returns the singleton empty blob.

-

See TODO:link object types for more information.

-
-

Returns

-

The empty blob.

-

[transfer full]

-
-

Since: 0.9.2

-
-
-
-

hb_blob_get_length ()

-
unsigned int
-hb_blob_get_length (hb_blob_t *blob);
-

Fetches the length of a blob's data.

-
-

Parameters

-
----- - - - - - -

blob

a blob.

 
-
-
-

Returns

-

the length of blob -data in bytes.

-
-

Since: 0.9.2

-
-
-
-

hb_blob_get_user_data ()

-
void *
-hb_blob_get_user_data (hb_blob_t *blob,
-                       hb_user_data_key_t *key);
-

Fetches the user data associated with the specified key, -attached to the specified font-functions structure.

-

[skip]

-
-

Parameters

-
----- - - - - - - - - - - - - -

blob

a blob

 

key

The user-data key to query

 
-
-
-

Returns

-

A pointer to the user data.

-

[transfer none]

-
-

Since: 0.9.2

-
-
-
-

hb_blob_is_immutable ()

-
hb_bool_t
-hb_blob_is_immutable (hb_blob_t *blob);
-

Tests whether a blob is immutable.

-
-

Parameters

-
----- - - - - - -

blob

a blob.

 
-
-
-

Returns

-

true if blob -is immutable, false otherwise

-
-

Since: 0.9.2

-
-
-
-

hb_blob_make_immutable ()

-
void
-hb_blob_make_immutable (hb_blob_t *blob);
-

Makes a blob immutable.

-
-

Parameters

-
----- - - - - - -

blob

a blob

 
-
-

Since: 0.9.2

-
-
-
-

hb_blob_reference ()

-
hb_blob_t *
-hb_blob_reference (hb_blob_t *blob);
-

Increases the reference count on blob -.

-

See TODO:link object types for more information.

-

[skip]

-
-

Parameters

-
----- - - - - - -

blob

a blob.

 
-
-
-

Returns

-

blob -.

-
-

Since: 0.9.2

-
-
-
-

hb_blob_set_user_data ()

-
hb_bool_t
-hb_blob_set_user_data (hb_blob_t *blob,
-                       hb_user_data_key_t *key,
-                       void *data,
-                       hb_destroy_func_t destroy,
-                       hb_bool_t replace);
-

Attaches a user-data key/data pair to the specified blob.

-

[skip]

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

blob

An hb_blob_t

 

key

The user-data key to set

 

data

A pointer to the user data to set

 

destroy

A callback to call when data -is not needed anymore.

[nullable]

replace

Whether to replace an existing data with the same key

 
-
-
-

Returns

-

true if success, false otherwise

-
-

Since: 0.9.2

-
-
-
-

Types and Values

-
-

hb_blob_t

-
typedef struct hb_blob_t hb_blob_t;
-
-

Data type for blobs. A blob wraps a chunk of binary -data and facilitates its lifecycle management between -a client program and HarfBuzz.

-
-
-
-

enum hb_memory_mode_t

-

Data type holding the memory modes available to -client programs.

-

Regarding these various memory-modes:

-
    -
  • In no case shall the HarfBuzz client modify memory -that is passed to HarfBuzz in a blob. If there is -any such possibility, HB_MEMORY_MODE_DUPLICATE - should be used -such that HarfBuzz makes a copy immediately,

  • -
  • Use HB_MEMORY_MODE_READONLY - otherwise, unless you really really -really know what you are doing,

  • -
  • HB_MEMORY_MODE_WRITABLE - is appropriate if you really made a -copy of data solely for the purpose of passing to -HarfBuzz and doing that just once (no reuse!),

  • -
  • If the font is mmap()ed, it's okay to use -HB_MEMORY_READONLY_MAY_MAKE_WRITABLE -, however, using that mode -correctly is very tricky. Use HB_MEMORY_MODE_READONLY - instead.

  • -
-
-

Members

-
----- - - - - - - - - - - - - - - - - - - - - - - -

HB_MEMORY_MODE_DUPLICATE

-

HarfBuzz immediately makes a copy of the data.

-
 

HB_MEMORY_MODE_READONLY

-

HarfBuzz client will never modify the data, -and HarfBuzz will never modify the data.

-
 

HB_MEMORY_MODE_WRITABLE

-

HarfBuzz client made a copy of the data solely -for HarfBuzz, so HarfBuzz may modify the data.

-
 

HB_MEMORY_MODE_READONLY_MAY_MAKE_WRITABLE

-

See above

-
 
-
-
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/harfbuzz-hb-buffer.html b/harfbuzz/docs/html/harfbuzz-hb-buffer.html deleted file mode 100644 index 85f8626..0000000 --- a/harfbuzz/docs/html/harfbuzz-hb-buffer.html +++ /dev/null @@ -1,3723 +0,0 @@ - - - - -hb-buffer: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-
-
- - -
-

hb-buffer

-

hb-buffer — Input and output buffers

-
-
-

Functions

-
---- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-hb_buffer_t * - -hb_buffer_create () -
-hb_buffer_t * - -hb_buffer_reference () -
-hb_buffer_t * - -hb_buffer_get_empty () -
-void - -hb_buffer_destroy () -
-void - -hb_buffer_reset () -
-void - -hb_buffer_clear_contents () -
-hb_bool_t - -hb_buffer_pre_allocate () -
-hb_bool_t - -hb_buffer_allocation_successful () -
-void - -hb_buffer_add () -
-void - -hb_buffer_add_codepoints () -
-void - -hb_buffer_add_utf32 () -
-void - -hb_buffer_add_utf16 () -
-void - -hb_buffer_add_utf8 () -
-void - -hb_buffer_add_latin1 () -
-void - -hb_buffer_append () -
-void - -hb_buffer_set_content_type () -
-hb_buffer_content_type_t - -hb_buffer_get_content_type () -
-void - -hb_buffer_set_direction () -
-hb_direction_t - -hb_buffer_get_direction () -
-void - -hb_buffer_set_script () -
-hb_script_t - -hb_buffer_get_script () -
-void - -hb_buffer_set_language () -
-hb_language_t - -hb_buffer_get_language () -
-void - -hb_buffer_set_flags () -
-hb_buffer_flags_t - -hb_buffer_get_flags () -
-void - -hb_buffer_set_cluster_level () -
-hb_buffer_cluster_level_t - -hb_buffer_get_cluster_level () -
-hb_bool_t - -hb_buffer_set_length () -
unsigned int - -hb_buffer_get_length () -
-void - -hb_buffer_set_segment_properties () -
-void - -hb_buffer_get_segment_properties () -
-void - -hb_buffer_guess_segment_properties () -
-void - -hb_buffer_set_unicode_funcs () -
-hb_unicode_funcs_t * - -hb_buffer_get_unicode_funcs () -
-hb_bool_t - -hb_buffer_set_user_data () -
-void * - -hb_buffer_get_user_data () -
-hb_glyph_info_t * - -hb_buffer_get_glyph_infos () -
-hb_glyph_position_t * - -hb_buffer_get_glyph_positions () -
-hb_bool_t - -hb_buffer_has_positions () -
-hb_codepoint_t - -hb_buffer_get_invisible_glyph () -
-void - -hb_buffer_set_invisible_glyph () -
-hb_codepoint_t - -hb_buffer_get_not_found_glyph () -
-void - -hb_buffer_set_not_found_glyph () -
-void - -hb_buffer_set_replacement_codepoint () -
-hb_codepoint_t - -hb_buffer_get_replacement_codepoint () -
-void - -hb_buffer_normalize_glyphs () -
-void - -hb_buffer_reverse () -
-void - -hb_buffer_reverse_range () -
-void - -hb_buffer_reverse_clusters () -
unsigned int - -hb_buffer_serialize () -
unsigned int - -hb_buffer_serialize_glyphs () -
-hb_bool_t - -hb_buffer_deserialize_glyphs () -
unsigned int - -hb_buffer_serialize_unicode () -
-hb_bool_t - -hb_buffer_deserialize_unicode () -
-hb_buffer_serialize_format_t - -hb_buffer_serialize_format_from_string () -
const char * - -hb_buffer_serialize_format_to_string () -
const char ** - -hb_buffer_serialize_list_formats () -
-hb_bool_t - -hb_segment_properties_equal () -
unsigned int - -hb_segment_properties_hash () -
-hb_buffer_diff_flags_t - -hb_buffer_diff () -
-void - -hb_buffer_set_message_func () -
-hb_glyph_flags_t - -hb_glyph_info_get_glyph_flags () -
-hb_bool_t - -(*hb_buffer_message_func_t) () -
-
- -
-

Includes

-
#include <hb.h>
-
-
-
-

Description

-

Buffers serve a dual role in HarfBuzz; before shaping, they hold -the input characters that are passed to hb_shape(), and after -shaping they hold the output glyphs.

-
-
-

Functions

-
-

hb_buffer_create ()

-
hb_buffer_t *
-hb_buffer_create (void);
-

Creates a new hb_buffer_t with all properties to defaults.

-

[Xconstructor]

-
-

Returns

-

A newly allocated hb_buffer_t with a reference count of 1. The initial -reference count should be released with hb_buffer_destroy() when you are done -using the hb_buffer_t. This function never returns NULL. If memory cannot -be allocated, a special hb_buffer_t object will be returned on which -hb_buffer_allocation_successful() returns false.

-

[transfer full]

-
-

Since: 0.9.2

-
-
-
-

hb_buffer_reference ()

-
hb_buffer_t *
-hb_buffer_reference (hb_buffer_t *buffer);
-

Increases the reference count on buffer - by one. This prevents buffer - from -being destroyed until a matching call to hb_buffer_destroy() is made.

-

[skip]

-
-

Parameters

-
----- - - - - - -

buffer

An hb_buffer_t

 
-
-
-

Returns

-

The referenced hb_buffer_t.

-

[transfer full]

-
-

Since: 0.9.2

-
-
-
-

hb_buffer_get_empty ()

-
hb_buffer_t *
-hb_buffer_get_empty (void);
-

Fetches an empty hb_buffer_t.

-
-

Returns

-

The empty buffer.

-

[transfer full]

-
-

Since: 0.9.2

-
-
-
-

hb_buffer_destroy ()

-
void
-hb_buffer_destroy (hb_buffer_t *buffer);
-

Deallocate the buffer -. -Decreases the reference count on buffer - by one. If the result is zero, then -buffer - and all associated resources are freed. See hb_buffer_reference().

-

[skip]

-
-

Parameters

-
----- - - - - - -

buffer

An hb_buffer_t

 
-
-

Since: 0.9.2

-
-
-
-

hb_buffer_reset ()

-
void
-hb_buffer_reset (hb_buffer_t *buffer);
-

Resets the buffer to its initial status, as if it was just newly created -with hb_buffer_create().

-
-

Parameters

-
----- - - - - - -

buffer

An hb_buffer_t

 
-
-

Since: 0.9.2

-
-
-
-

hb_buffer_clear_contents ()

-
void
-hb_buffer_clear_contents (hb_buffer_t *buffer);
-

Similar to hb_buffer_reset(), but does not clear the Unicode functions and -the replacement code point.

-
-

Parameters

-
----- - - - - - -

buffer

An hb_buffer_t

 
-
-

Since: 0.9.11

-
-
-
-

hb_buffer_pre_allocate ()

-
hb_bool_t
-hb_buffer_pre_allocate (hb_buffer_t *buffer,
-                        unsigned int size);
-

Pre allocates memory for buffer - to fit at least size - number of items.

-
-

Parameters

-
----- - - - - - - - - - - - - -

buffer

An hb_buffer_t

 

size

Number of items to pre allocate.

 
-
-
-

Returns

-

true if buffer -memory allocation succeeded, false otherwise

-
-

Since: 0.9.2

-
-
-
-

hb_buffer_allocation_successful ()

-
hb_bool_t
-hb_buffer_allocation_successful (hb_buffer_t *buffer);
-

Check if allocating memory for the buffer succeeded.

-
-

Parameters

-
----- - - - - - -

buffer

An hb_buffer_t

 
-
-
-

Returns

-

true if buffer -memory allocation succeeded, false otherwise.

-
-

Since: 0.9.2

-
-
-
-

hb_buffer_add ()

-
void
-hb_buffer_add (hb_buffer_t *buffer,
-               hb_codepoint_t codepoint,
-               unsigned int cluster);
-

Appends a character with the Unicode value of codepoint - to buffer -, and -gives it the initial cluster value of cluster -. Clusters can be any thing -the client wants, they are usually used to refer to the index of the -character in the input text stream and are output in -hb_glyph_info_t.cluster field.

-

This function does not check the validity of codepoint -, it is up to the -caller to ensure it is a valid Unicode code point.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - -

buffer

An hb_buffer_t

 

codepoint

A Unicode code point.

 

cluster

The cluster value of codepoint -.

 
-
-

Since: 0.9.7

-
-
-
-

hb_buffer_add_codepoints ()

-
void
-hb_buffer_add_codepoints (hb_buffer_t *buffer,
-                          const hb_codepoint_t *text,
-                          int text_length,
-                          unsigned int item_offset,
-                          int item_length);
-

Appends characters from text - array to buffer -. The item_offset - is the -position of the first character from text - that will be appended, and -item_length - is the number of character. When shaping part of a larger text -(e.g. a run of text from a paragraph), instead of passing just the substring -corresponding to the run, it is preferable to pass the whole -paragraph and specify the run start and length as item_offset - and -item_length -, respectively, to give HarfBuzz the full context to be able, -for example, to do cross-run Arabic shaping or properly handle combining -marks at stat of run.

-

This function does not check the validity of text -, it is up to the caller -to ensure it contains a valid Unicode code points.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

buffer

a hb_buffer_t to append characters to.

 

text

an array of Unicode code points to append.

[array length=text_length]

text_length

the length of the text -, or -1 if it is NULL terminated.

 

item_offset

the offset of the first code point to add to the buffer -.

 

item_length

the number of code points to add to the buffer -, or -1 for the -end of text -(assuming it is NULL terminated).

 
-
-

Since: 0.9.31

-
-
-
-

hb_buffer_add_utf32 ()

-
void
-hb_buffer_add_utf32 (hb_buffer_t *buffer,
-                     const uint32_t *text,
-                     int text_length,
-                     unsigned int item_offset,
-                     int item_length);
-

See hb_buffer_add_codepoints().

-

Replaces invalid UTF-32 characters with the buffer - replacement code point, -see hb_buffer_set_replacement_codepoint().

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

buffer

An hb_buffer_t

 

text

An array of UTF-32 characters to append.

[array length=text_length]

text_length

The length of the text -, or -1 if it is NULL terminated

 

item_offset

The offset of the first character to add to the buffer -

 

item_length

The number of characters to add to the buffer -, or -1 for the -end of text -(assuming it is NULL terminated)

 
-
-

Since: 0.9.2

-
-
-
-

hb_buffer_add_utf16 ()

-
void
-hb_buffer_add_utf16 (hb_buffer_t *buffer,
-                     const uint16_t *text,
-                     int text_length,
-                     unsigned int item_offset,
-                     int item_length);
-

See hb_buffer_add_codepoints().

-

Replaces invalid UTF-16 characters with the buffer - replacement code point, -see hb_buffer_set_replacement_codepoint().

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

buffer

An hb_buffer_t

 

text

An array of UTF-16 characters to append.

[array length=text_length]

text_length

The length of the text -, or -1 if it is NULL terminated

 

item_offset

The offset of the first character to add to the buffer -

 

item_length

The number of characters to add to the buffer -, or -1 for the -end of text -(assuming it is NULL terminated)

 
-
-

Since: 0.9.2

-
-
-
-

hb_buffer_add_utf8 ()

-
void
-hb_buffer_add_utf8 (hb_buffer_t *buffer,
-                    const char *text,
-                    int text_length,
-                    unsigned int item_offset,
-                    int item_length);
-

See hb_buffer_add_codepoints().

-

Replaces invalid UTF-8 characters with the buffer - replacement code point, -see hb_buffer_set_replacement_codepoint().

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

buffer

An hb_buffer_t

 

text

An array of UTF-8 -characters to append.

[array length=text_length][element-type uint8_t]

text_length

The length of the text -, or -1 if it is NULL terminated.

 

item_offset

The offset of the first character to add to the buffer -.

 

item_length

The number of characters to add to the buffer -, or -1 for the -end of text -(assuming it is NULL terminated).

 
-
-

Since: 0.9.2

-
-
-
-

hb_buffer_add_latin1 ()

-
void
-hb_buffer_add_latin1 (hb_buffer_t *buffer,
-                      const uint8_t *text,
-                      int text_length,
-                      unsigned int item_offset,
-                      int item_length);
-

Similar to hb_buffer_add_codepoints(), but allows only access to first 256 -Unicode code points that can fit in 8-bit strings.

-
Has nothing to do with non-Unicode Latin-1 encoding.
-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

buffer

An hb_buffer_t

 

text

an array of UTF-8 -characters to append.

[array length=text_length][element-type uint8_t]

text_length

the length of the text -, or -1 if it is NULL terminated

 

item_offset

the offset of the first character to add to the buffer -

 

item_length

the number of characters to add to the buffer -, or -1 for the -end of text -(assuming it is NULL terminated)

 
-
-

Since: 0.9.39

-
-
-
-

hb_buffer_append ()

-
void
-hb_buffer_append (hb_buffer_t *buffer,
-                  hb_buffer_t *source,
-                  unsigned int start,
-                  unsigned int end);
-

Append (part of) contents of another buffer to this buffer.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - -

buffer

An hb_buffer_t

 

source

source hb_buffer_t

 

start

start index into source buffer to copy. Use 0 to copy from start of buffer.

 

end

end index into source buffer to copy. Use HB_FEATURE_GLOBAL_END -to copy to end of buffer.

 
-
-

Since: 1.5.0

-
-
-
-

hb_buffer_set_content_type ()

-
void
-hb_buffer_set_content_type (hb_buffer_t *buffer,
-                            hb_buffer_content_type_t content_type);
-

Sets the type of buffer - contents. Buffers are either empty, contain -characters (before shaping), or contain glyphs (the result of shaping).

-
-

Parameters

-
----- - - - - - - - - - - - - -

buffer

An hb_buffer_t

 

content_type

The type of buffer contents to set

 
-
-

Since: 0.9.5

-
-
-
-

hb_buffer_get_content_type ()

-
hb_buffer_content_type_t
-hb_buffer_get_content_type (hb_buffer_t *buffer);
-

Fetches the type of buffer - contents. Buffers are either empty, contain -characters (before shaping), or contain glyphs (the result of shaping).

-
-

Parameters

-
----- - - - - - -

buffer

An hb_buffer_t

 
-
-
-

Returns

-

The type of buffer -contents

-
-

Since: 0.9.5

-
-
-
-

hb_buffer_set_direction ()

-
void
-hb_buffer_set_direction (hb_buffer_t *buffer,
-                         hb_direction_t direction);
-

Set the text flow direction of the buffer. No shaping can happen without -setting buffer - direction, and it controls the visual direction for the -output glyphs; for RTL direction the glyphs will be reversed. Many layout -features depend on the proper setting of the direction, for example, -reversing RTL text before shaping, then shaping with LTR direction is not -the same as keeping the text in logical order and shaping with RTL -direction.

-
-

Parameters

-
----- - - - - - - - - - - - - -

buffer

An hb_buffer_t

 

direction

the hb_direction_t of the buffer -

 
-
-

Since: 0.9.2

-
-
-
-

hb_buffer_get_direction ()

-
hb_direction_t
-hb_buffer_get_direction (hb_buffer_t *buffer);
-

See hb_buffer_set_direction()

-
-

Parameters

-
----- - - - - - -

buffer

An hb_buffer_t

 
-
-
-

Returns

-

The direction of the buffer -.

-
-

Since: 0.9.2

-
-
-
-

hb_buffer_set_script ()

-
void
-hb_buffer_set_script (hb_buffer_t *buffer,
-                      hb_script_t script);
-

Sets the script of buffer - to script -.

-

Script is crucial for choosing the proper shaping behaviour for scripts that -require it (e.g. Arabic) and the which OpenType features defined in the font -to be applied.

-

You can pass one of the predefined hb_script_t values, or use -hb_script_from_string() or hb_script_from_iso15924_tag() to get the -corresponding script from an ISO 15924 script tag.

-
-

Parameters

-
----- - - - - - - - - - - - - -

buffer

An hb_buffer_t

 

script

An hb_script_t to set.

 
-
-

Since: 0.9.2

-
-
-
-

hb_buffer_get_script ()

-
hb_script_t
-hb_buffer_get_script (hb_buffer_t *buffer);
-

Fetches the script of buffer -.

-
-

Parameters

-
----- - - - - - -

buffer

An hb_buffer_t

 
-
-
-

Returns

-

The hb_script_t of the buffer -

-
-

Since: 0.9.2

-
-
-
-

hb_buffer_set_language ()

-
void
-hb_buffer_set_language (hb_buffer_t *buffer,
-                        hb_language_t language);
-

Sets the language of buffer - to language -.

-

Languages are crucial for selecting which OpenType feature to apply to the -buffer which can result in applying language-specific behaviour. Languages -are orthogonal to the scripts, and though they are related, they are -different concepts and should not be confused with each other.

-

Use hb_language_from_string() to convert from BCP 47 language tags to -hb_language_t.

-
-

Parameters

-
----- - - - - - - - - - - - - -

buffer

An hb_buffer_t

 

language

An hb_language_t to set

 
-
-

Since: 0.9.2

-
-
-
-

hb_buffer_get_language ()

-
hb_language_t
-hb_buffer_get_language (hb_buffer_t *buffer);
-

See hb_buffer_set_language().

-
-

Parameters

-
----- - - - - - -

buffer

An hb_buffer_t

 
-
-
-

Returns

-

The hb_language_t of the buffer. Must not be freed by the caller.

-

[transfer none]

-
-

Since: 0.9.2

-
-
-
-

hb_buffer_set_flags ()

-
void
-hb_buffer_set_flags (hb_buffer_t *buffer,
-                     hb_buffer_flags_t flags);
-

Sets buffer - flags to flags -. See hb_buffer_flags_t.

-
-

Parameters

-
----- - - - - - - - - - - - - -

buffer

An hb_buffer_t

 

flags

The buffer flags to set

 
-
-

Since: 0.9.7

-
-
-
-

hb_buffer_get_flags ()

-
hb_buffer_flags_t
-hb_buffer_get_flags (hb_buffer_t *buffer);
-

Fetches the hb_buffer_flags_t of buffer -.

-
-

Parameters

-
----- - - - - - -

buffer

An hb_buffer_t

 
-
-
-

Returns

-

The buffer -flags

-
-

Since: 0.9.7

-
-
-
-

hb_buffer_set_cluster_level ()

-
void
-hb_buffer_set_cluster_level (hb_buffer_t *buffer,
-                             hb_buffer_cluster_level_t cluster_level);
-

Sets the cluster level of a buffer. The hb_buffer_cluster_level_t -dictates one aspect of how HarfBuzz will treat non-base characters -during shaping.

-
-

Parameters

-
----- - - - - - - - - - - - - -

buffer

An hb_buffer_t

 

cluster_level

The cluster level to set on the buffer

 
-
-

Since: 0.9.42

-
-
-
-

hb_buffer_get_cluster_level ()

-
hb_buffer_cluster_level_t
-hb_buffer_get_cluster_level (hb_buffer_t *buffer);
-

Fetches the cluster level of a buffer. The hb_buffer_cluster_level_t -dictates one aspect of how HarfBuzz will treat non-base characters -during shaping.

-
-

Parameters

-
----- - - - - - -

buffer

An hb_buffer_t

 
-
-
-

Returns

-

The cluster level of buffer -

-
-

Since: 0.9.42

-
-
-
-

hb_buffer_set_length ()

-
hb_bool_t
-hb_buffer_set_length (hb_buffer_t *buffer,
-                      unsigned int length);
-

Similar to hb_buffer_pre_allocate(), but clears any new items added at the -end.

-
-

Parameters

-
----- - - - - - - - - - - - - -

buffer

An hb_buffer_t

 

length

The new length of buffer -

 
-
-
-

Returns

-

true if buffer -memory allocation succeeded, false otherwise.

-
-

Since: 0.9.2

-
-
-
-

hb_buffer_get_length ()

-
unsigned int
-hb_buffer_get_length (hb_buffer_t *buffer);
-

Returns the number of items in the buffer.

-
-

Parameters

-
----- - - - - - -

buffer

An hb_buffer_t

 
-
-
-

Returns

-

The buffer -length. -The value valid as long as buffer has not been modified.

-
-

Since: 0.9.2

-
-
-
-

hb_buffer_set_segment_properties ()

-
void
-hb_buffer_set_segment_properties (hb_buffer_t *buffer,
-                                  const hb_segment_properties_t *props);
-

Sets the segment properties of the buffer, a shortcut for calling -hb_buffer_set_direction(), hb_buffer_set_script() and -hb_buffer_set_language() individually.

-
-

Parameters

-
----- - - - - - - - - - - - - -

buffer

An hb_buffer_t

 

props

An hb_segment_properties_t to use

 
-
-

Since: 0.9.7

-
-
-
-

hb_buffer_get_segment_properties ()

-
void
-hb_buffer_get_segment_properties (hb_buffer_t *buffer,
-                                  hb_segment_properties_t *props);
-

Sets props - to the hb_segment_properties_t of buffer -.

-
-

Parameters

-
----- - - - - - - - - - - - - -

buffer

An hb_buffer_t

 

props

The output hb_segment_properties_t.

[out]
-
-

Since: 0.9.7

-
-
-
-

hb_buffer_guess_segment_properties ()

-
void
-hb_buffer_guess_segment_properties (hb_buffer_t *buffer);
-

Sets unset buffer segment properties based on buffer Unicode -contents. If buffer is not empty, it must have content type -HB_BUFFER_CONTENT_TYPE_UNICODE.

-

If buffer script is not set (ie. is HB_SCRIPT_INVALID), it -will be set to the Unicode script of the first character in -the buffer that has a script other than HB_SCRIPT_COMMON, -HB_SCRIPT_INHERITED, and HB_SCRIPT_UNKNOWN.

-

Next, if buffer direction is not set (ie. is HB_DIRECTION_INVALID), -it will be set to the natural horizontal direction of the -buffer script as returned by hb_script_get_horizontal_direction(). -If hb_script_get_horizontal_direction() returns HB_DIRECTION_INVALID, -then HB_DIRECTION_LTR is used.

-

Finally, if buffer language is not set (ie. is HB_LANGUAGE_INVALID), -it will be set to the process's default language as returned by -hb_language_get_default(). This may change in the future by -taking buffer script into consideration when choosing a language. -Note that hb_language_get_default() is NOT threadsafe the first time -it is called. See documentation for that function for details.

-
-

Parameters

-
----- - - - - - -

buffer

An hb_buffer_t

 
-
-

Since: 0.9.7

-
-
-
-

hb_buffer_set_unicode_funcs ()

-
void
-hb_buffer_set_unicode_funcs (hb_buffer_t *buffer,
-                             hb_unicode_funcs_t *unicode_funcs);
-

Sets the Unicode-functions structure of a buffer to -unicode_funcs -.

-
-

Parameters

-
----- - - - - - - - - - - - - -

buffer

An hb_buffer_t

 

unicode_funcs

The Unicode-functions structure

 
-
-

Since: 0.9.2

-
-
-
-

hb_buffer_get_unicode_funcs ()

-
hb_unicode_funcs_t *
-hb_buffer_get_unicode_funcs (hb_buffer_t *buffer);
-

Fetches the Unicode-functions structure of a buffer.

-
-

Parameters

-
----- - - - - - -

buffer

An hb_buffer_t

 
-
-
-

Returns

-

The Unicode-functions structure

-
-

Since: 0.9.2

-
-
-
-

hb_buffer_set_user_data ()

-
hb_bool_t
-hb_buffer_set_user_data (hb_buffer_t *buffer,
-                         hb_user_data_key_t *key,
-                         void *data,
-                         hb_destroy_func_t destroy,
-                         hb_bool_t replace);
-

Attaches a user-data key/data pair to the specified buffer.

-

[skip]

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

buffer

An hb_buffer_t

 

key

The user-data key

 

data

A pointer to the user data

 

destroy

A callback to call when data -is not needed anymore.

[nullable]

replace

Whether to replace an existing data with the same key

 
-
-
-

Returns

-

true if success, false otherwise

-
-

Since: 0.9.2

-
-
-
-

hb_buffer_get_user_data ()

-
void *
-hb_buffer_get_user_data (hb_buffer_t *buffer,
-                         hb_user_data_key_t *key);
-

Fetches the user data associated with the specified key, -attached to the specified buffer.

-

[skip]

-
-

Parameters

-
----- - - - - - - - - - - - - -

buffer

An hb_buffer_t

 

key

The user-data key to query

 
-
-
-

Returns

-

A pointer to the user data.

-

[transfer none]

-
-

Since: 0.9.2

-
-
-
-

hb_buffer_get_glyph_infos ()

-
hb_glyph_info_t *
-hb_buffer_get_glyph_infos (hb_buffer_t *buffer,
-                           unsigned int *length);
-

Returns buffer - glyph information array. Returned pointer -is valid as long as buffer - contents are not modified.

-
-

Parameters

-
----- - - - - - - - - - - - - -

buffer

An hb_buffer_t

 

length

The output-array length.

[out]
-
-
-

Returns

-

The buffer -glyph information array. -The value valid as long as buffer has not been modified.

-

[transfer none][array length=length]

-
-

Since: 0.9.2

-
-
-
-

hb_buffer_get_glyph_positions ()

-
hb_glyph_position_t *
-hb_buffer_get_glyph_positions (hb_buffer_t *buffer,
-                               unsigned int *length);
-

Returns buffer - glyph position array. Returned pointer -is valid as long as buffer - contents are not modified.

-

If buffer did not have positions before, the positions will be -initialized to zeros, unless this function is called from -within a buffer message callback (see hb_buffer_set_message_func()), -in which case NULL is returned.

-
-

Parameters

-
----- - - - - - - - - - - - - -

buffer

An hb_buffer_t

 

length

The output length.

[out]
-
-
-

Returns

-

The buffer -glyph position array. -The value valid as long as buffer has not been modified.

-

[transfer none][array length=length]

-
-

Since: 0.9.2

-
-
-
-

hb_buffer_has_positions ()

-
hb_bool_t
-hb_buffer_has_positions (hb_buffer_t *buffer);
-

Returns whether buffer - has glyph position data. -A buffer gains position data when hb_buffer_get_glyph_positions() is called on it, -and cleared of position data when hb_buffer_clear_contents() is called.

-
-

Parameters

-
----- - - - - - -

buffer

an hb_buffer_t.

 
-
-
-

Returns

-

true if the buffer -has position array, false otherwise.

-
-

Since: 2.7.3

-
-
-
-

hb_buffer_get_invisible_glyph ()

-
hb_codepoint_t
-hb_buffer_get_invisible_glyph (hb_buffer_t *buffer);
-

See hb_buffer_set_invisible_glyph().

-
-

Parameters

-
----- - - - - - -

buffer

An hb_buffer_t

 
-
-
-

Returns

-

The buffer -invisible hb_codepoint_t

-
-

Since: 2.0.0

-
-
-
-

hb_buffer_set_invisible_glyph ()

-
void
-hb_buffer_set_invisible_glyph (hb_buffer_t *buffer,
-                               hb_codepoint_t invisible);
-

Sets the hb_codepoint_t that replaces invisible characters in -the shaping result. If set to zero (default), the glyph for the -U+0020 SPACE character is used. Otherwise, this value is used -verbatim.

-
-

Parameters

-
----- - - - - - - - - - - - - -

buffer

An hb_buffer_t

 

invisible

the invisible hb_codepoint_t

 
-
-

Since: 2.0.0

-
-
-
-

hb_buffer_get_not_found_glyph ()

-
hb_codepoint_t
-hb_buffer_get_not_found_glyph (hb_buffer_t *buffer);
-

See hb_buffer_set_not_found_glyph().

-
-

Parameters

-
----- - - - - - -

buffer

An hb_buffer_t

 
-
-
-

Returns

-

The buffer -not-found hb_codepoint_t

-
-

Since: 3.1.0

-
-
-
-

hb_buffer_set_not_found_glyph ()

-
void
-hb_buffer_set_not_found_glyph (hb_buffer_t *buffer,
-                               hb_codepoint_t not_found);
-

Sets the hb_codepoint_t that replaces characters not found in -the font during shaping.

-

The not-found glyph defaults to zero, sometimes knows as the -".notdef" glyph. This API allows for differentiating the two.

-
-

Parameters

-
----- - - - - - - - - - - - - -

buffer

An hb_buffer_t

 

not_found

the not-found hb_codepoint_t

 
-
-

Since: 3.1.0

-
-
-
-

hb_buffer_set_replacement_codepoint ()

-
void
-hb_buffer_set_replacement_codepoint (hb_buffer_t *buffer,
-                                     hb_codepoint_t replacement);
-

Sets the hb_codepoint_t that replaces invalid entries for a given encoding -when adding text to buffer -.

-

Default is HB_BUFFER_REPLACEMENT_CODEPOINT_DEFAULT.

-
-

Parameters

-
----- - - - - - - - - - - - - -

buffer

An hb_buffer_t

 

replacement

the replacement hb_codepoint_t

 
-
-

Since: 0.9.31

-
-
-
-

hb_buffer_get_replacement_codepoint ()

-
hb_codepoint_t
-hb_buffer_get_replacement_codepoint (hb_buffer_t *buffer);
-

Fetches the hb_codepoint_t that replaces invalid entries for a given encoding -when adding text to buffer -.

-
-

Parameters

-
----- - - - - - -

buffer

An hb_buffer_t

 
-
-
-

Returns

-

The buffer -replacement hb_codepoint_t

-
-

Since: 0.9.31

-
-
-
-

hb_buffer_normalize_glyphs ()

-
void
-hb_buffer_normalize_glyphs (hb_buffer_t *buffer);
-

Reorders a glyph buffer to have canonical in-cluster glyph order / position. -The resulting clusters should behave identical to pre-reordering clusters.

-
This has nothing to do with Unicode normalization.
-
-

Parameters

-
----- - - - - - -

buffer

An hb_buffer_t

 
-
-

Since: 0.9.2

-
-
-
-

hb_buffer_reverse ()

-
void
-hb_buffer_reverse (hb_buffer_t *buffer);
-

Reverses buffer contents.

-
-

Parameters

-
----- - - - - - -

buffer

An hb_buffer_t

 
-
-

Since: 0.9.2

-
-
-
-

hb_buffer_reverse_range ()

-
void
-hb_buffer_reverse_range (hb_buffer_t *buffer,
-                         unsigned int start,
-                         unsigned int end);
-

Reverses buffer contents between start - and end -.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - -

buffer

An hb_buffer_t

 

start

start index

 

end

end index

 
-
-

Since: 0.9.41

-
-
-
-

hb_buffer_reverse_clusters ()

-
void
-hb_buffer_reverse_clusters (hb_buffer_t *buffer);
-

Reverses buffer clusters. That is, the buffer contents are -reversed, then each cluster (consecutive items having the -same cluster number) are reversed again.

-
-

Parameters

-
----- - - - - - -

buffer

An hb_buffer_t

 
-
-

Since: 0.9.2

-
-
-
-

hb_buffer_serialize ()

-
unsigned int
-hb_buffer_serialize (hb_buffer_t *buffer,
-                     unsigned int start,
-                     unsigned int end,
-                     char *buf,
-                     unsigned int buf_size,
-                     unsigned int *buf_consumed,
-                     hb_font_t *font,
-                     hb_buffer_serialize_format_t format,
-                     hb_buffer_serialize_flags_t flags);
-

Serializes buffer - into a textual representation of its content, whether -Unicode codepoints or glyph identifiers and positioning information. This is -useful for showing the contents of the buffer, for example during debugging. -See the documentation of hb_buffer_serialize_unicode() and -hb_buffer_serialize_glyphs() for a description of the output format.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

buffer

an hb_buffer_t buffer.

 

start

the first item in buffer -to serialize.

 

end

the last item in buffer -to serialize.

 

buf

output string to -write serialized buffer into.

[out][array length=buf_size][element-type uint8_t]

buf_size

the size of buf -.

 

buf_consumed

if not NULL, will be set to the number of byes written into buf -.

[out][optional]

font

the hb_font_t used to shape this buffer, needed to -read glyph names and extents. If NULL, and empty font will be used.

[nullable]

format

the hb_buffer_serialize_format_t to use for formatting the output.

 

flags

the hb_buffer_serialize_flags_t that control what glyph properties -to serialize.

 
-
-
-

Returns

-

The number of serialized items.

-
-

Since: 2.7.3

-
-
-
-

hb_buffer_serialize_glyphs ()

-
unsigned int
-hb_buffer_serialize_glyphs (hb_buffer_t *buffer,
-                            unsigned int start,
-                            unsigned int end,
-                            char *buf,
-                            unsigned int buf_size,
-                            unsigned int *buf_consumed,
-                            hb_font_t *font,
-                            hb_buffer_serialize_format_t format,
-                            hb_buffer_serialize_flags_t flags);
-

Serializes buffer - into a textual representation of its glyph content, -useful for showing the contents of the buffer, for example during debugging. -There are currently two supported serialization formats:

-
-

text

-

A human-readable, plain text format. -The serialized glyphs will look something like:

-

-[uni0651=0@518,0+0|uni0628=0+1897] -

-
-
-
-

json

-

A machine-readable, structured format. -The serialized glyphs will look something like:

-

-[{"g":"uni0651","cl":0,"dx":518,"dy":0,"ax":0,"ay":0}, -{"g":"uni0628","cl":0,"dx":0,"dy":0,"ax":1897,"ay":0}] -

-

Each glyph is a JSON object, with the following properties:

- -
-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

buffer

an hb_buffer_t buffer.

 

start

the first item in buffer -to serialize.

 

end

the last item in buffer -to serialize.

 

buf

output string to -write serialized buffer into.

[out][array length=buf_size][element-type uint8_t]

buf_size

the size of buf -.

 

buf_consumed

if not NULL, will be set to the number of byes written into buf -.

[out][optional]

font

the hb_font_t used to shape this buffer, needed to -read glyph names and extents. If NULL, and empty font will be used.

[nullable]

format

the hb_buffer_serialize_format_t to use for formatting the output.

 

flags

the hb_buffer_serialize_flags_t that control what glyph properties -to serialize.

 
-
-
-

Returns

-

The number of serialized items.

-
-

Since: 0.9.7

-
-
-
-

hb_buffer_deserialize_glyphs ()

-
hb_bool_t
-hb_buffer_deserialize_glyphs (hb_buffer_t *buffer,
-                              const char *buf,
-                              int buf_len,
-                              const char **end_ptr,
-                              hb_font_t *font,
-                              hb_buffer_serialize_format_t format);
-

Deserializes glyphs buffer - from textual representation in the format -produced by hb_buffer_serialize_glyphs().

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

buffer

an hb_buffer_t buffer.

 

buf

string to deserialize.

[array length=buf_len]

buf_len

the size of buf -, or -1 if it is NULL-terminated

 

end_ptr

output pointer to the character after last -consumed one.

[out][optional]

font

font for getting glyph IDs.

[nullable]

format

the hb_buffer_serialize_format_t of the input buf -

 
-
-
-

Returns

-

true if buf -is not fully consumed, false otherwise.

-
-

Since: 0.9.7

-
-
-
-

hb_buffer_serialize_unicode ()

-
unsigned int
-hb_buffer_serialize_unicode (hb_buffer_t *buffer,
-                             unsigned int start,
-                             unsigned int end,
-                             char *buf,
-                             unsigned int buf_size,
-                             unsigned int *buf_consumed,
-                             hb_buffer_serialize_format_t format,
-                             hb_buffer_serialize_flags_t flags);
-

Serializes buffer - into a textual representation of its content, -when the buffer contains Unicode codepoints (i.e., before shaping). This is -useful for showing the contents of the buffer, for example during debugging. -There are currently two supported serialization formats:

-
-

text

-

A human-readable, plain text format. -The serialized codepoints will look something like:

-

- <U+0651=0|U+0628=1> -

-
-
-
-

json

-

A machine-readable, structured format. -The serialized codepoints will be a list of objects with the following -properties:

-
-

For example:

-

-[{u:1617,cl:0},{u:1576,cl:1}] -

-
-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

buffer

an hb_buffer_t buffer.

 

start

the first item in buffer -to serialize.

 

end

the last item in buffer -to serialize.

 

buf

output string to -write serialized buffer into.

[out][array length=buf_size][element-type uint8_t]

buf_size

the size of buf -.

 

buf_consumed

if not NULL, will be set to the number of byes written into buf -.

[out][optional]

format

the hb_buffer_serialize_format_t to use for formatting the output.

 

flags

the hb_buffer_serialize_flags_t that control what glyph properties -to serialize.

 
-
-
-

Returns

-

The number of serialized items.

-
-

Since: 2.7.3

-
-
-
-

hb_buffer_deserialize_unicode ()

-
hb_bool_t
-hb_buffer_deserialize_unicode (hb_buffer_t *buffer,
-                               const char *buf,
-                               int buf_len,
-                               const char **end_ptr,
-                               hb_buffer_serialize_format_t format);
-

Deserializes Unicode buffer - from textual representation in the format -produced by hb_buffer_serialize_unicode().

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

buffer

an hb_buffer_t buffer.

 

buf

string to deserialize.

[array length=buf_len]

buf_len

the size of buf -, or -1 if it is NULL-terminated

 

end_ptr

output pointer to the character after last -consumed one.

[out][optional]

format

the hb_buffer_serialize_format_t of the input buf -

 
-
-
-

Returns

-

true if buf -is not fully consumed, false otherwise.

-
-

Since: 2.7.3

-
-
-
-

hb_buffer_serialize_format_from_string ()

-
hb_buffer_serialize_format_t
-hb_buffer_serialize_format_from_string
-                               (const char *str,
-                                int len);
-

Parses a string into an hb_buffer_serialize_format_t. Does not check if -str - is a valid buffer serialization format, use -hb_buffer_serialize_list_formats() to get the list of supported formats.

-
-

Parameters

-
----- - - - - - - - - - - - - -

str

a string to parse.

[array length=len][element-type uint8_t]

len

length of str -, or -1 if string is NULL terminated

 
-
-
-

Returns

-

The parsed hb_buffer_serialize_format_t.

-
-

Since: 0.9.7

-
-
-
-

hb_buffer_serialize_format_to_string ()

-
const char *
-hb_buffer_serialize_format_to_string (hb_buffer_serialize_format_t format);
-

Converts format - to the string corresponding it, or NULL if it is not a valid -hb_buffer_serialize_format_t.

-
-

Parameters

-
----- - - - - - -

format

an hb_buffer_serialize_format_t to convert.

 
-
-
-

Returns

-

A NULL terminated string corresponding to format -. Should not be freed.

-

[transfer none]

-
-

Since: 0.9.7

-
-
-
-

hb_buffer_serialize_list_formats ()

-
const char **
-hb_buffer_serialize_list_formats (void);
-

Returns a list of supported buffer serialization formats.

-
-

Returns

-

A string array of buffer serialization formats. Should not be freed.

-

[transfer none]

-
-

Since: 0.9.7

-
-
-
-

hb_segment_properties_equal ()

-
hb_bool_t
-hb_segment_properties_equal (const hb_segment_properties_t *a,
-                             const hb_segment_properties_t *b);
-

Checks the equality of two hb_segment_properties_t's.

-
-

Parameters

-
----- - - - - - - - - - - - - -

a

first hb_segment_properties_t to compare.

 

b

second hb_segment_properties_t to compare.

 
-
-
-

Returns

-

true if all properties of a -equal those of b -, false otherwise.

-
-

Since: 0.9.7

-
-
-
-

hb_segment_properties_hash ()

-
unsigned int
-hb_segment_properties_hash (const hb_segment_properties_t *p);
-

Creates a hash representing p -.

-
-

Parameters

-
----- - - - - - -

p

hb_segment_properties_t to hash.

 
-
-
-

Returns

-

A hash of p -.

-
-

Since: 0.9.7

-
-
-
-

hb_buffer_diff ()

-
hb_buffer_diff_flags_t
-hb_buffer_diff (hb_buffer_t *buffer,
-                hb_buffer_t *reference,
-                hb_codepoint_t dottedcircle_glyph,
-                unsigned int position_fuzz);
-

If dottedcircle_glyph is (hb_codepoint_t) -1 then HB_BUFFER_DIFF_FLAG_DOTTED_CIRCLE_PRESENT -and HB_BUFFER_DIFF_FLAG_NOTDEF_PRESENT are never returned. This should be used by most -callers if just comparing two buffers is needed.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - -

buffer

a buffer.

 

reference

other buffer to compare to.

 

dottedcircle_glyph

glyph id of U+25CC DOTTED CIRCLE, or (hb_codepont_t) -1.

 

position_fuzz

allowed absolute difference in position values.

 
-
-

Since: 1.5.0

-
-
-
-

hb_buffer_set_message_func ()

-
void
-hb_buffer_set_message_func (hb_buffer_t *buffer,
-                            hb_buffer_message_func_t func,
-                            void *user_data,
-                            hb_destroy_func_t destroy);
-

Sets the implementation function for hb_buffer_message_func_t.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - -

buffer

An hb_buffer_t

 

func

Callback function.

[closure user_data][destroy destroy][scope notified]

user_data

Data to pass to func -.

[nullable]

destroy

The function to call when user_data -is not needed anymore.

[nullable]
-
-

Since: 1.1.3

-
-
-
-

hb_glyph_info_get_glyph_flags ()

-
hb_glyph_flags_t
-hb_glyph_info_get_glyph_flags (const hb_glyph_info_t *info);
-

Returns glyph flags encoded within a hb_glyph_info_t.

-
-

Parameters

-
----- - - - - - -

info

a hb_glyph_info_t

 
-
-
-

Returns

-

The hb_glyph_flags_t encoded within info -

-
-

Since: 1.5.0

-
-
-
-

hb_buffer_message_func_t ()

-
hb_bool_t
-(*hb_buffer_message_func_t) (hb_buffer_t *buffer,
-                             hb_font_t *font,
-                             const char *message,
-                             void *user_data);
-

A callback method for hb_buffer_t. The method gets called with the -hb_buffer_t it was set on, the hb_font_t the buffer is shaped with and a -message describing what step of the shaping process will be performed. -Returning false from this method will skip this shaping step and move to -the next one.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - -

buffer

An hb_buffer_t to work upon

 

font

The hb_font_t the buffer -is shaped with

 

message

NULL-terminated message passed to the function

 

user_data

User data pointer passed by the caller

 
-
-
-

Returns

-

true to perform the shaping step, false to skip it.

-
-

Since: 1.1.3

-
-
-
-

Types and Values

-
-

HB_SEGMENT_PROPERTIES_DEFAULT

-
#define             HB_SEGMENT_PROPERTIES_DEFAULT
-

The default hb_segment_properties_t of of freshly created hb_buffer_t.

-
-
-
-

HB_BUFFER_REPLACEMENT_CODEPOINT_DEFAULT

-
#define HB_BUFFER_REPLACEMENT_CODEPOINT_DEFAULT 0xFFFDu
-
-

The default code point for replacing invalid characters in a given encoding. -Set to U+FFFD REPLACEMENT CHARACTER.

-

Since: 0.9.31

-
-
-
-

hb_buffer_t

-
typedef struct hb_buffer_t hb_buffer_t;
-
-

The main structure holding the input text and its properties before shaping, -and output glyphs and their information after shaping.

-
-
-
-

hb_glyph_info_t

-
typedef struct {
-  hb_codepoint_t codepoint;
-  uint32_t       cluster;
-} hb_glyph_info_t;
-
-

The hb_glyph_info_t is the structure that holds information about the -glyphs and their relation to input text.

-
-

Members

-
----- - - - - - - - - - - - - -

hb_codepoint_t codepoint;

either a Unicode code point (before shaping) or a glyph index -(after shaping).

 

uint32_t cluster;

the index of the character in the original text that corresponds -to this hb_glyph_info_t, or whatever the client passes to -hb_buffer_add(). More than one hb_glyph_info_t can have the same -cluster -value, if they resulted from the same character (e.g. one -to many glyph substitution), and when more than one character gets -merged in the same glyph (e.g. many to one glyph substitution) the -hb_glyph_info_t will have the smallest cluster value of them. -By default some characters are merged into the same cluster -(e.g. combining marks have the same cluster as their bases) -even if they are separate glyphs, hb_buffer_set_cluster_level() -allow selecting more fine-grained cluster handling.

 
-
-
-
-
-

enum hb_glyph_flags_t

-

Flags for hb_glyph_info_t.

-
-

Members

-
----- - - - - - - - - - - - - -

HB_GLYPH_FLAG_UNSAFE_TO_BREAK

-

Indicates that if input text is broken at the - beginning of the cluster this glyph is part of, - then both sides need to be re-shaped, as the - result might be different. On the flip side, - it means that when this flag is not present, - then it's safe to break the glyph-run at the - beginning of this cluster, and the two sides - represent the exact same result one would get - if breaking input text at the beginning of - this cluster and shaping the two sides - separately. This can be used to optimize - paragraph layout, by avoiding re-shaping - of each line after line-breaking, or limiting - the reshaping to a small piece around the - breaking point only.

-
 

HB_GLYPH_FLAG_DEFINED

-

All the currently defined flags.

-
 
-
-

Since: 1.5.0

-
-
-
-

hb_glyph_position_t

-
typedef struct {
-  hb_position_t  x_advance;
-  hb_position_t  y_advance;
-  hb_position_t  x_offset;
-  hb_position_t  y_offset;
-} hb_glyph_position_t;
-
-

The hb_glyph_position_t is the structure that holds the positions of the -glyph in both horizontal and vertical directions. All positions in -hb_glyph_position_t are relative to the current point.

-
-

Members

-
----- - - - - - - - - - - - - - - - - - - - - - - -

hb_position_t x_advance;

how much the line advances after drawing this glyph when setting -text in horizontal direction.

 

hb_position_t y_advance;

how much the line advances after drawing this glyph when setting -text in vertical direction.

 

hb_position_t x_offset;

how much the glyph moves on the X-axis before drawing it, this -should not affect how much the line advances.

 

hb_position_t y_offset;

how much the glyph moves on the Y-axis before drawing it, this -should not affect how much the line advances.

 
-
-
-
-
-

enum hb_buffer_content_type_t

-

The type of hb_buffer_t contents.

-
-

Members

-
----- - - - - - - - - - - - - - - - - - -

HB_BUFFER_CONTENT_TYPE_INVALID

-

Initial value for new buffer.

-
 

HB_BUFFER_CONTENT_TYPE_UNICODE

-

The buffer contains input characters (before shaping).

-
 

HB_BUFFER_CONTENT_TYPE_GLYPHS

-

The buffer contains output glyphs (after shaping).

-
 
-
-
-
-
-

enum hb_buffer_flags_t

-

Flags for hb_buffer_t.

-
-

Members

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

HB_BUFFER_FLAG_DEFAULT

-

the default buffer flag.

-
 

HB_BUFFER_FLAG_BOT

-

flag indicating that special handling of the beginning -of text paragraph can be applied to this buffer. Should usually -be set, unless you are passing to the buffer only part -of the text without the full context.

-
 

HB_BUFFER_FLAG_EOT

-

flag indicating that special handling of the end of text -paragraph can be applied to this buffer, similar to -HB_BUFFER_FLAG_BOT -.

-
 

HB_BUFFER_FLAG_PRESERVE_DEFAULT_IGNORABLES

-

flag indication that character with Default_Ignorable -Unicode property should use the corresponding glyph -from the font, instead of hiding them (done by -replacing them with the space glyph and zeroing the -advance width.) This flag takes precedence over -HB_BUFFER_FLAG_REMOVE_DEFAULT_IGNORABLES -.

-
 

HB_BUFFER_FLAG_REMOVE_DEFAULT_IGNORABLES

-

flag indication that character with Default_Ignorable -Unicode property should be removed from glyph string -instead of hiding them (done by replacing them with the -space glyph and zeroing the advance width.) -HB_BUFFER_FLAG_PRESERVE_DEFAULT_IGNORABLES - takes -precedence over this flag. Since: 1.8.0

-
 

HB_BUFFER_FLAG_DO_NOT_INSERT_DOTTED_CIRCLE

-

flag indicating that a dotted circle should -not be inserted in the rendering of incorrect -character sequences (such at <0905 093E>). Since: 2.4

-
 
-
-

Since: 0.9.20

-
-
-
-

enum hb_buffer_cluster_level_t

-

Data type for holding HarfBuzz's clustering behavior options. The cluster level -dictates one aspect of how HarfBuzz will treat non-base characters - -during shaping.

-

In HB_BUFFER_CLUSTER_LEVEL_MONOTONE_GRAPHEMES -, non-base -characters are merged into the cluster of the base character that precedes them.

-

In HB_BUFFER_CLUSTER_LEVEL_MONOTONE_CHARACTERS -, non-base characters are initially -assigned their own cluster values, which are not merged into preceding base -clusters. This allows HarfBuzz to perform additional operations like reorder -sequences of adjacent marks.

-

HB_BUFFER_CLUSTER_LEVEL_MONOTONE_GRAPHEMES - is the default, because it maintains -backward compatibility with older versions of HarfBuzz. New client programs that -do not need to maintain such backward compatibility are recommended to use -HB_BUFFER_CLUSTER_LEVEL_MONOTONE_CHARACTERS - instead of the default.

-
-

Members

-
----- - - - - - - - - - - - - - - - - - - - - - - -

HB_BUFFER_CLUSTER_LEVEL_MONOTONE_GRAPHEMES

-

Return cluster values grouped by graphemes into -monotone order.

-
 

HB_BUFFER_CLUSTER_LEVEL_MONOTONE_CHARACTERS

-

Return cluster values grouped into monotone order.

-
 

HB_BUFFER_CLUSTER_LEVEL_CHARACTERS

-

Don't group cluster values.

-
 

HB_BUFFER_CLUSTER_LEVEL_DEFAULT

-

Default cluster level, -equal to HB_BUFFER_CLUSTER_LEVEL_MONOTONE_GRAPHEMES -.

-
 
-
-

Since: 0.9.42

-
-
-
-

hb_segment_properties_t

-
typedef struct {
-  hb_direction_t  direction;
-  hb_script_t     script;
-  hb_language_t   language;
-} hb_segment_properties_t;
-
-

The structure that holds various text properties of an hb_buffer_t. Can be -set and retrieved using hb_buffer_set_segment_properties() and -hb_buffer_get_segment_properties(), respectively.

-
-

Members

-
----- - - - - - - - - - - - - - - - - - -

hb_direction_t direction;

the hb_direction_t of the buffer, see hb_buffer_set_direction().

 

hb_script_t script;

the hb_script_t of the buffer, see hb_buffer_set_script().

 

hb_language_t language;

the hb_language_t of the buffer, see hb_buffer_set_language().

 
-
-
-
-
-

enum hb_buffer_serialize_format_t

-

The buffer serialization and de-serialization format used in -hb_buffer_serialize_glyphs() and hb_buffer_deserialize_glyphs().

-
-

Members

-
----- - - - - - - - - - - - - - - - - - -

HB_BUFFER_SERIALIZE_FORMAT_TEXT

-

a human-readable, plain text format.

-
 

HB_BUFFER_SERIALIZE_FORMAT_JSON

-

a machine-readable JSON format.

-
 

HB_BUFFER_SERIALIZE_FORMAT_INVALID

-

invalid format.

-
 
-
-

Since: 0.9.2

-
-
-
-

enum hb_buffer_serialize_flags_t

-

Flags that control what glyph information are serialized in hb_buffer_serialize_glyphs().

-
-

Members

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

HB_BUFFER_SERIALIZE_FLAG_DEFAULT

-

serialize glyph names, clusters and positions.

-
 

HB_BUFFER_SERIALIZE_FLAG_NO_CLUSTERS

-

do not serialize glyph cluster.

-
 

HB_BUFFER_SERIALIZE_FLAG_NO_POSITIONS

-

do not serialize glyph position information.

-
 

HB_BUFFER_SERIALIZE_FLAG_NO_GLYPH_NAMES

-

do no serialize glyph name.

-
 

HB_BUFFER_SERIALIZE_FLAG_GLYPH_EXTENTS

-

serialize glyph extents.

-
 

HB_BUFFER_SERIALIZE_FLAG_GLYPH_FLAGS

-

serialize glyph flags. Since: 1.5.0

-
 

HB_BUFFER_SERIALIZE_FLAG_NO_ADVANCES

-

do not serialize glyph advances, -glyph offsets will reflect absolute glyph positions. Since: 1.8.0

-
 
-
-

Since: 0.9.20

-
-
-
-

enum hb_buffer_diff_flags_t

-

Flags from comparing two hb_buffer_t's.

-

Buffer with different hb_buffer_content_type_t cannot be meaningfully -compared in any further detail.

-

For buffers with differing length, the per-glyph comparison is not -attempted, though we do still scan reference buffer for dotted circle and -.notdef glyphs.

-

If the buffers have the same length, we compare them glyph-by-glyph and -report which aspect(s) of the glyph info/position are different.

-
-

Members

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

HB_BUFFER_DIFF_FLAG_EQUAL

-

equal buffers.

-
 

HB_BUFFER_DIFF_FLAG_CONTENT_TYPE_MISMATCH

-

buffers with different -hb_buffer_content_type_t.

-
 

HB_BUFFER_DIFF_FLAG_LENGTH_MISMATCH

-

buffers with differing length.

-
 

HB_BUFFER_DIFF_FLAG_NOTDEF_PRESENT

-

.notdef glyph is present in the -reference buffer.

-
 

HB_BUFFER_DIFF_FLAG_DOTTED_CIRCLE_PRESENT

-

dotted circle glyph is present -in the reference buffer.

-
 

HB_BUFFER_DIFF_FLAG_CODEPOINT_MISMATCH

-

difference in hb_glyph_info_t.codepoint

-
 

HB_BUFFER_DIFF_FLAG_CLUSTER_MISMATCH

-

difference in hb_glyph_info_t.cluster

-
 

HB_BUFFER_DIFF_FLAG_GLYPH_FLAGS_MISMATCH

-

difference in hb_glyph_flags_t.

-
 

HB_BUFFER_DIFF_FLAG_POSITION_MISMATCH

-

difference in hb_glyph_position_t.

-
 
-
-

Since: 1.5.0

-
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/harfbuzz-hb-common.html b/harfbuzz/docs/html/harfbuzz-hb-common.html deleted file mode 100644 index 6b171a4..0000000 --- a/harfbuzz/docs/html/harfbuzz-hb-common.html +++ /dev/null @@ -1,2616 +0,0 @@ - - - - -hb-common: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-
-
- - -
-

hb-common

-

hb-common — Common data types

-
-
-

Functions

-
---- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-hb_tag_t - -hb_tag_from_string () -
-void - -hb_tag_to_string () -
-hb_direction_t - -hb_direction_from_string () -
const char * - -hb_direction_to_string () -
-hb_script_t - -hb_script_from_iso15924_tag () -
-hb_script_t - -hb_script_from_string () -
-hb_tag_t - -hb_script_to_iso15924_tag () -
-hb_direction_t - -hb_script_get_horizontal_direction () -
-hb_language_t - -hb_language_from_string () -
const char * - -hb_language_to_string () -
-hb_language_t - -hb_language_get_default () -
-hb_bool_t - -hb_feature_from_string () -
-void - -hb_feature_to_string () -
-hb_bool_t - -hb_variation_from_string () -
-void - -hb_variation_to_string () -
-void - -(*hb_destroy_func_t) () -
#define -HB_TAG() -
#define -HB_UNTAG() -
#define -HB_DIRECTION_REVERSE() -
#define -HB_DIRECTION_IS_BACKWARD() -
#define -HB_DIRECTION_IS_FORWARD() -
#define -HB_DIRECTION_IS_HORIZONTAL() -
#define -HB_DIRECTION_IS_VALID() -
#define -HB_DIRECTION_IS_VERTICAL() -
-
-
-

Types and Values

-
---- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
typedefhb_bool_t
typedefhb_codepoint_t
enumhb_direction_t
typedefhb_language_t
 hb_feature_t
 hb_variation_t
typedefhb_mask_t
typedefhb_position_t
typedefhb_tag_t
enumhb_script_t
 hb_user_data_key_t
#defineHB_TAG_NONE
#defineHB_TAG_MAX
#defineHB_TAG_MAX_SIGNED
#defineHB_LANGUAGE_INVALID
#defineHB_FEATURE_GLOBAL_END
#defineHB_FEATURE_GLOBAL_START
-
-
-

Includes

-
#include <hb.h>
-
-
-
-

Description

-

Common data types used across HarfBuzz are defined here.

-
-
-

Functions

-
-

hb_tag_from_string ()

-
hb_tag_t
-hb_tag_from_string (const char *str,
-                    int len);
-

Converts a string into an hb_tag_t. Valid tags -are four characters. Shorter input strings will be -padded with spaces. Longer input strings will be -truncated.

-
-

Parameters

-
----- - - - - - - - - - - - - -

str

String to convert.

[array length=len][element-type uint8_t]

len

Length of str -, or -1 if it is NULL-terminated

 
-
-
-

Returns

-

The hb_tag_t corresponding to str -

-
-

Since: 0.9.2

-
-
-
-

hb_tag_to_string ()

-
void
-hb_tag_to_string (hb_tag_t tag,
-                  char *buf);
-

Converts an hb_tag_t to a string and returns it in buf -. -Strings will be four characters long.

-
-

Parameters

-
----- - - - - - - - - - - - - -

tag

hb_tag_t to convert

 

buf

Converted string.

[out caller-allocates][array fixed-size=4][element-type uint8_t]
-
-

Since: 0.9.5

-
-
-
-

hb_direction_from_string ()

-
hb_direction_t
-hb_direction_from_string (const char *str,
-                          int len);
-

Converts a string to an hb_direction_t.

-

Matching is loose and applies only to the first letter. For -examples, "LTR" and "left-to-right" will both return HB_DIRECTION_LTR.

-

Unmatched strings will return HB_DIRECTION_INVALID.

-
-

Parameters

-
----- - - - - - - - - - - - - -

str

String to convert.

[array length=len][element-type uint8_t]

len

Length of str -, or -1 if it is NULL-terminated

 
-
-
-

Returns

-

The hb_direction_t matching str -

-
-

Since: 0.9.2

-
-
-
-

hb_direction_to_string ()

-
const char *
-hb_direction_to_string (hb_direction_t direction);
-

Converts an hb_direction_t to a string.

-
-

Parameters

-
----- - - - - - -

direction

The hb_direction_t to convert

 
-
-
-

Returns

-

The string corresponding to direction -.

-

[transfer none]

-
-

Since: 0.9.2

-
-
-
-

hb_script_from_iso15924_tag ()

-
hb_script_t
-hb_script_from_iso15924_tag (hb_tag_t tag);
-

Converts an ISO 15924 script tag to a corresponding hb_script_t.

-
-

Parameters

-
----- - - - - - -

tag

an hb_tag_t representing an ISO 15924 tag.

 
-
-
-

Returns

-

An hb_script_t corresponding to the ISO 15924 tag.

-
-

Since: 0.9.2

-
-
-
-

hb_script_from_string ()

-
hb_script_t
-hb_script_from_string (const char *str,
-                       int len);
-

Converts a string str - representing an ISO 15924 script tag to a -corresponding hb_script_t. Shorthand for hb_tag_from_string() then -hb_script_from_iso15924_tag().

-
-

Parameters

-
----- - - - - - - - - - - - - -

str

a string representing an -ISO 15924 tag.

[array length=len][element-type uint8_t]

len

length of the str -, or -1 if it is NULL-terminated.

 
-
-
-

Returns

-

An hb_script_t corresponding to the ISO 15924 tag.

-
-

Since: 0.9.2

-
-
-
-

hb_script_to_iso15924_tag ()

-
hb_tag_t
-hb_script_to_iso15924_tag (hb_script_t script);
-

Converts an hb_script_t to a corresponding ISO 15924 script tag.

-
-

Parameters

-
----- - - - - - -

script

an hb_script_t to convert.

 
-
-
-

Returns

-

An hb_tag_t representing an ISO 15924 script tag.

-
-

Since: 0.9.2

-
-
-
-

hb_script_get_horizontal_direction ()

-
hb_direction_t
-hb_script_get_horizontal_direction (hb_script_t script);
-

Fetches the hb_direction_t of a script when it is -set horizontally. All right-to-left scripts will return -HB_DIRECTION_RTL. All left-to-right scripts will return -HB_DIRECTION_LTR. Scripts that can be written either -horizontally or vertically will return HB_DIRECTION_INVALID. -Unknown scripts will return HB_DIRECTION_LTR.

-
-

Parameters

-
----- - - - - - -

script

The hb_script_t to query

 
-
-
-

Returns

-

The horizontal hb_direction_t of script -

-
-

Since: 0.9.2

-
-
-
-

hb_language_from_string ()

-
hb_language_t
-hb_language_from_string (const char *str,
-                         int len);
-

Converts str - representing a BCP 47 language tag to the corresponding -hb_language_t.

-
-

Parameters

-
----- - - - - - - - - - - - - -

str

a string representing -a BCP 47 language tag.

[array length=len][element-type uint8_t]

len

length of the str -, or -1 if it is NULL-terminated.

 
-
-
-

Returns

-

The hb_language_t corresponding to the BCP 47 language tag.

-

[transfer none]

-
-

Since: 0.9.2

-
-
-
-

hb_language_to_string ()

-
const char *
-hb_language_to_string (hb_language_t language);
-

Converts an hb_language_t to a string.

-
-

Parameters

-
----- - - - - - -

language

The hb_language_t to convert

 
-
-
-

Returns

-

A NULL-terminated string representing the language -. Must not be freed by -the caller.

-

[transfer none]

-
-

Since: 0.9.2

-
-
-
-

hb_language_get_default ()

-
hb_language_t
-hb_language_get_default (void);
-

Fetch the default language from current locale.

-
Note that the first time this function is called, it calls -"setlocale (LC_CTYPE, nullptr)" to fetch current locale. The underlying -setlocale function is, in many implementations, NOT threadsafe. To avoid -problems, call this function once before multiple threads can call it. -This function is only used from hb_buffer_guess_segment_properties() by -HarfBuzz itself.
-
-

Returns

-

The default language of the locale as -an hb_language_t.

-

[transfer none]

-
-

Since: 0.9.2

-
-
-
-

hb_feature_from_string ()

-
hb_bool_t
-hb_feature_from_string (const char *str,
-                        int len,
-                        hb_feature_t *feature);
-

Parses a string into a hb_feature_t.

-

The format for specifying feature strings follows. All valid CSS -font-feature-settings values other than 'normal' and the global values are -also accepted, though not documented below. CSS string escapes are not -supported.

-

The range indices refer to the positions between Unicode characters. The -position before the first character is always 0.

-

The format is Python-esque. Here is how it all works:

-
------- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SyntaxValueStartEnd 
Setting value:    
kern10Turn feature on
+kern10Turn feature on
-kern00Turn feature off
kern=000Turn feature off
kern=110Turn feature on
aalt=220Choose 2nd alternate
Setting index:    
kern[]10Turn feature on
kern[:]10Turn feature on
kern[5:]15Turn feature on, partial
kern[:5]105Turn feature on, partial
kern[3:5]135Turn feature on, range
kern[3]133+1Turn feature on, single char
Mixing it all:    
aalt[3:5]=2235Turn 2nd alternate on for range
-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - -

str

a string to parse.

[array length=len][element-type uint8_t]

len

length of str -, or -1 if string is NULL terminated

 

feature

the hb_feature_t to initialize with the parsed values.

[out]
-
-
-

Returns

-

true if str -is successfully parsed, false otherwise

-
-

Since: 0.9.5

-
-
-
-

hb_feature_to_string ()

-
void
-hb_feature_to_string (hb_feature_t *feature,
-                      char *buf,
-                      unsigned int size);
-

Converts a hb_feature_t into a NULL-terminated string in the format -understood by hb_feature_from_string(). The client in responsible for -allocating big enough size for buf -, 128 bytes is more than enough.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - -

feature

an hb_feature_t to convert

 

buf

output string.

[array length=size][out]

size

the allocated size of buf -

 
-
-

Since: 0.9.5

-
-
-
-

hb_variation_from_string ()

-
hb_bool_t
-hb_variation_from_string (const char *str,
-                          int len,
-                          hb_variation_t *variation);
-

Parses a string into a hb_variation_t.

-

The format for specifying variation settings follows. All valid CSS -font-variation-settings values other than 'normal' and 'inherited' are also -accepted, though, not documented below.

-

The format is a tag, optionally followed by an equals sign, followed by a -number. For example wght=500, or slnt=-7.5.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - -

str

a string to parse.

[array length=len][element-type uint8_t]

len

length of str -, or -1 if string is NULL terminated

 

variation

the hb_variation_t to initialize with the parsed values.

[out]
-
-
-

Returns

-

true if str -is successfully parsed, false otherwise

-
-

Since: 1.4.2

-
-
-
-

hb_variation_to_string ()

-
void
-hb_variation_to_string (hb_variation_t *variation,
-                        char *buf,
-                        unsigned int size);
-

Converts an hb_variation_t into a NULL-terminated string in the format -understood by hb_variation_from_string(). The client in responsible for -allocating big enough size for buf -, 128 bytes is more than enough.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - -

variation

an hb_variation_t to convert

 

buf

output string.

[array length=size][out]

size

the allocated size of buf -

 
-
-

Since: 1.4.2

-
-
-
-

hb_destroy_func_t ()

-
void
-(*hb_destroy_func_t) (void *user_data);
-

A virtual method for destroy user-data callbacks.

-
-

Parameters

-
----- - - - - - -

user_data

the data to be destroyed

 
-
-
-
-
-

HB_TAG()

-
#define HB_TAG(c1,c2,c3,c4) ((hb_tag_t)((((uint32_t)(c1)&0xFF)<<24)|(((uint32_t)(c2)&0xFF)<<16)|(((uint32_t)(c3)&0xFF)<<8)|((uint32_t)(c4)&0xFF)))
-
-

Constructs an hb_tag_t from four character literals.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - -

c1

1st character of the tag

 

c2

2nd character of the tag

 

c3

3rd character of the tag

 

c4

4th character of the tag

 
-
-
-
-
-

HB_UNTAG()

-
#define HB_UNTAG(tag)   (uint8_t)(((tag)>>24)&0xFF), (uint8_t)(((tag)>>16)&0xFF), (uint8_t)(((tag)>>8)&0xFF), (uint8_t)((tag)&0xFF)
-
-

Extracts four character literals from an hb_tag_t.

-
-

Parameters

-
----- - - - - - -

tag

an hb_tag_t

 
-
-

Since: 0.6.0

-
-
-
-

HB_DIRECTION_REVERSE()

-
#define HB_DIRECTION_REVERSE(dir) ((hb_direction_t) (((unsigned int) (dir)) ^ 1))
-
-

Reverses a text direction. Requires that the direction -be valid.

-
-

Parameters

-
----- - - - - - -

dir

hb_direction_t to reverse

 
-
-
-
-
-

HB_DIRECTION_IS_BACKWARD()

-
#define HB_DIRECTION_IS_BACKWARD(dir) ((((unsigned int) (dir)) & ~2U) == 5)
-
-

Tests whether a text direction moves backward (from right to left, or from -bottom to top). Requires that the direction be valid.

-
-

Parameters

-
----- - - - - - -

dir

hb_direction_t to test

 
-
-
-
-
-

HB_DIRECTION_IS_FORWARD()

-
#define HB_DIRECTION_IS_FORWARD(dir) ((((unsigned int) (dir)) & ~2U) == 4)
-
-

Tests whether a text direction moves forward (from left to right, or from -top to bottom). Requires that the direction be valid.

-
-

Parameters

-
----- - - - - - -

dir

hb_direction_t to test

 
-
-
-
-
-

HB_DIRECTION_IS_HORIZONTAL()

-
#define HB_DIRECTION_IS_HORIZONTAL(dir) ((((unsigned int) (dir)) & ~1U) == 4)
-
-

Tests whether a text direction is horizontal. Requires -that the direction be valid.

-
-

Parameters

-
----- - - - - - -

dir

hb_direction_t to test

 
-
-
-
-
-

HB_DIRECTION_IS_VALID()

-
#define HB_DIRECTION_IS_VALID(dir) ((((unsigned int) (dir)) & ~3U) == 4)
-
-

Tests whether a text direction is valid.

-
-

Parameters

-
----- - - - - - -

dir

hb_direction_t to test

 
-
-
-
-
-

HB_DIRECTION_IS_VERTICAL()

-
#define HB_DIRECTION_IS_VERTICAL(dir) ((((unsigned int) (dir)) & ~1U) == 6)
-
-

Tests whether a text direction is vertical. Requires -that the direction be valid.

-
-

Parameters

-
----- - - - - - -

dir

hb_direction_t to test

 
-
-
-
-
-

Types and Values

-
-

hb_bool_t

-
typedef int hb_bool_t;
-
-

Data type for booleans.

-
-
-
-

hb_codepoint_t

-
typedef uint32_t hb_codepoint_t;
-
-

Data type for holding Unicode codepoints. Also -used to hold glyph IDs.

-
-
-
-

enum hb_direction_t

-

The direction of a text segment or buffer.

-

A segment can also be tested for horizontal or vertical -orientation (irrespective of specific direction) with - -HB_DIRECTION_IS_HORIZONTAL() or HB_DIRECTION_IS_VERTICAL().

-
-

Members

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

HB_DIRECTION_INVALID

-

Initial, unset direction.

-
 

HB_DIRECTION_LTR

-

Text is set horizontally from left to right.

-
 

HB_DIRECTION_RTL

-

Text is set horizontally from right to left.

-
 

HB_DIRECTION_TTB

-

Text is set vertically from top to bottom.

-
 

HB_DIRECTION_BTT

-

Text is set vertically from bottom to top.

-
 
-
-
-
-
-

hb_language_t

-
typedef const struct hb_language_impl_t *hb_language_t;
-
-

Data type for languages. Each hb_language_t corresponds to a BCP 47 -language tag.

-
-
-
-

hb_feature_t

-
typedef struct {
-  hb_tag_t      tag;
-  uint32_t      value;
-  unsigned int  start;
-  unsigned int  end;
-} hb_feature_t;
-
-

The hb_feature_t is the structure that holds information about requested -feature application. The feature will be applied with the given value to all -glyphs which are in clusters between start - (inclusive) and end - (exclusive). -Setting start to HB_FEATURE_GLOBAL_START and end to HB_FEATURE_GLOBAL_END -specifies that the feature always applies to the entire buffer.

-
-

Members

-
----- - - - - - - - - - - - - - - - - - - - - - - -

hb_tag_t tag;

The hb_tag_t tag of the feature

 

uint32_t value;

The value of the feature. 0 disables the feature, non-zero (usually -1) enables the feature. For features implemented as lookup type 3 (like -'salt') the value -is a one based index into the alternates.

 

unsigned int start;

the cluster to start applying this feature setting (inclusive).

 

unsigned int end;

the cluster to end applying this feature setting (exclusive).

 
-
-
-
-
-

hb_variation_t

-
typedef struct {
-  hb_tag_t tag;
-  float    value;
-} hb_variation_t;
-
-

Data type for holding variation data. Registered OpenType -variation-axis tags are listed in -OpenType Axis Tag Registry.

-
-

Members

-
----- - - - - - - - - - - - - -

hb_tag_t tag;

The hb_tag_t tag of the variation-axis name

 

float value;

The value of the variation axis

 
-
-

Since: 1.4.2

-
-
-
-

hb_mask_t

-
typedef uint32_t hb_mask_t;
-
-

Data type for bitmasks.

-
-
-
-

hb_position_t

-
typedef int32_t hb_position_t;
-
-

Data type for holding a single coordinate value. -Contour points and other multi-dimensional data are -stored as tuples of hb_position_t's.

-
-
-
-

hb_tag_t

-
typedef uint32_t hb_tag_t;
-
-

Data type for tag identifiers. Tags are four -byte integers, each byte representing a character.

-

Tags are used to identify tables, design-variation axes, -scripts, languages, font features, and baselines with -human-readable names.

-
-
-
-

enum hb_script_t

-

Data type for scripts. Each hb_script_t's value is an hb_tag_t corresponding -to the four-letter values defined by ISO 15924.

-

See also the Script (sc) property of the Unicode Character Database.

-
-

Members

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

HB_SCRIPT_COMMON

-

Zyyy

-
 

HB_SCRIPT_INHERITED

-

Zinh

-
 

HB_SCRIPT_UNKNOWN

-

Zzzz

-
 

HB_SCRIPT_ARABIC

-

Arab

-
 

HB_SCRIPT_ARMENIAN

-

Armn

-
 

HB_SCRIPT_BENGALI

-

Beng

-
 

HB_SCRIPT_CYRILLIC

-

Cyrl

-
 

HB_SCRIPT_DEVANAGARI

-

Deva

-
 

HB_SCRIPT_GEORGIAN

-

Geor

-
 

HB_SCRIPT_GREEK

-

Grek

-
 

HB_SCRIPT_GUJARATI

-

Gujr

-
 

HB_SCRIPT_GURMUKHI

-

Guru

-
 

HB_SCRIPT_HANGUL

-

Hang

-
 

HB_SCRIPT_HAN

-

Hani

-
 

HB_SCRIPT_HEBREW

-

Hebr

-
 

HB_SCRIPT_HIRAGANA

-

Hira

-
 

HB_SCRIPT_KANNADA

-

Knda

-
 

HB_SCRIPT_KATAKANA

-

Kana

-
 

HB_SCRIPT_LAO

-

Laoo

-
 

HB_SCRIPT_LATIN

-

Latn

-
 

HB_SCRIPT_MALAYALAM

-

Mlym

-
 

HB_SCRIPT_ORIYA

-

Orya

-
 

HB_SCRIPT_TAMIL

-

Taml

-
 

HB_SCRIPT_TELUGU

-

Telu

-
 

HB_SCRIPT_THAI

-

Thai

-
 

HB_SCRIPT_TIBETAN

-

Tibt

-
 

HB_SCRIPT_BOPOMOFO

-

Bopo

-
 

HB_SCRIPT_BRAILLE

-

Brai

-
 

HB_SCRIPT_CANADIAN_SYLLABICS

-

Cans

-
 

HB_SCRIPT_CHEROKEE

-

Cher

-
 

HB_SCRIPT_ETHIOPIC

-

Ethi

-
 

HB_SCRIPT_KHMER

-

Khmr

-
 

HB_SCRIPT_MONGOLIAN

-

Mong

-
 

HB_SCRIPT_MYANMAR

-

Mymr

-
 

HB_SCRIPT_OGHAM

-

Ogam

-
 

HB_SCRIPT_RUNIC

-

Runr

-
 

HB_SCRIPT_SINHALA

-

Sinh

-
 

HB_SCRIPT_SYRIAC

-

Syrc

-
 

HB_SCRIPT_THAANA

-

Thaa

-
 

HB_SCRIPT_YI

-

Yiii

-
 

HB_SCRIPT_DESERET

-

Dsrt

-
 

HB_SCRIPT_GOTHIC

-

Goth

-
 

HB_SCRIPT_OLD_ITALIC

-

Ital

-
 

HB_SCRIPT_BUHID

-

Buhd

-
 

HB_SCRIPT_HANUNOO

-

Hano

-
 

HB_SCRIPT_TAGALOG

-

Tglg

-
 

HB_SCRIPT_TAGBANWA

-

Tagb

-
 

HB_SCRIPT_CYPRIOT

-

Cprt

-
 

HB_SCRIPT_LIMBU

-

Limb

-
 

HB_SCRIPT_LINEAR_B

-

Linb

-
 

HB_SCRIPT_OSMANYA

-

Osma

-
 

HB_SCRIPT_SHAVIAN

-

Shaw

-
 

HB_SCRIPT_TAI_LE

-

Tale

-
 

HB_SCRIPT_UGARITIC

-

Ugar

-
 

HB_SCRIPT_BUGINESE

-

Bugi

-
 

HB_SCRIPT_COPTIC

-

Copt

-
 

HB_SCRIPT_GLAGOLITIC

-

Glag

-
 

HB_SCRIPT_KHAROSHTHI

-

Khar

-
 

HB_SCRIPT_NEW_TAI_LUE

-

Talu

-
 

HB_SCRIPT_OLD_PERSIAN

-

Xpeo

-
 

HB_SCRIPT_SYLOTI_NAGRI

-

Sylo

-
 

HB_SCRIPT_TIFINAGH

-

Tfng

-
 

HB_SCRIPT_BALINESE

-

Bali

-
 

HB_SCRIPT_CUNEIFORM

-

Xsux

-
 

HB_SCRIPT_NKO

-

Nkoo

-
 

HB_SCRIPT_PHAGS_PA

-

Phag

-
 

HB_SCRIPT_PHOENICIAN

-

Phnx

-
 

HB_SCRIPT_CARIAN

-

Cari

-
 

HB_SCRIPT_CHAM

-

Cham

-
 

HB_SCRIPT_KAYAH_LI

-

Kali

-
 

HB_SCRIPT_LEPCHA

-

Lepc

-
 

HB_SCRIPT_LYCIAN

-

Lyci

-
 

HB_SCRIPT_LYDIAN

-

Lydi

-
 

HB_SCRIPT_OL_CHIKI

-

Olck

-
 

HB_SCRIPT_REJANG

-

Rjng

-
 

HB_SCRIPT_SAURASHTRA

-

Saur

-
 

HB_SCRIPT_SUNDANESE

-

Sund

-
 

HB_SCRIPT_VAI

-

Vaii

-
 

HB_SCRIPT_AVESTAN

-

Avst

-
 

HB_SCRIPT_BAMUM

-

Bamu

-
 

HB_SCRIPT_EGYPTIAN_HIEROGLYPHS

-

Egyp

-
 

HB_SCRIPT_IMPERIAL_ARAMAIC

-

Armi

-
 

HB_SCRIPT_INSCRIPTIONAL_PAHLAVI

-

Phli

-
 

HB_SCRIPT_INSCRIPTIONAL_PARTHIAN

-

Prti

-
 

HB_SCRIPT_JAVANESE

-

Java

-
 

HB_SCRIPT_KAITHI

-

Kthi

-
 

HB_SCRIPT_LISU

-

Lisu

-
 

HB_SCRIPT_MEETEI_MAYEK

-

Mtei

-
 

HB_SCRIPT_OLD_SOUTH_ARABIAN

-

Sarb

-
 

HB_SCRIPT_OLD_TURKIC

-

Orkh

-
 

HB_SCRIPT_SAMARITAN

-

Samr

-
 

HB_SCRIPT_TAI_THAM

-

Lana

-
 

HB_SCRIPT_TAI_VIET

-

Tavt

-
 

HB_SCRIPT_BATAK

-

Batk

-
 

HB_SCRIPT_BRAHMI

-

Brah

-
 

HB_SCRIPT_MANDAIC

-

Mand

-
 

HB_SCRIPT_CHAKMA

-

Cakm

-
 

HB_SCRIPT_MEROITIC_CURSIVE

-

Merc

-
 

HB_SCRIPT_MEROITIC_HIEROGLYPHS

-

Mero

-
 

HB_SCRIPT_MIAO

-

Plrd

-
 

HB_SCRIPT_SHARADA

-

Shrd

-
 

HB_SCRIPT_SORA_SOMPENG

-

Sora

-
 

HB_SCRIPT_TAKRI

-

Takr

-
 

HB_SCRIPT_BASSA_VAH

-

Bass, Since: 0.9.30

-
 

HB_SCRIPT_CAUCASIAN_ALBANIAN

-

Aghb, Since: 0.9.30

-
 

HB_SCRIPT_DUPLOYAN

-

Dupl, Since: 0.9.30

-
 

HB_SCRIPT_ELBASAN

-

Elba, Since: 0.9.30

-
 

HB_SCRIPT_GRANTHA

-

Gran, Since: 0.9.30

-
 

HB_SCRIPT_KHOJKI

-

Khoj, Since: 0.9.30

-
 

HB_SCRIPT_KHUDAWADI

-

Sind, Since: 0.9.30

-
 

HB_SCRIPT_LINEAR_A

-

Lina, Since: 0.9.30

-
 

HB_SCRIPT_MAHAJANI

-

Mahj, Since: 0.9.30

-
 

HB_SCRIPT_MANICHAEAN

-

Mani, Since: 0.9.30

-
 

HB_SCRIPT_MENDE_KIKAKUI

-

Mend, Since: 0.9.30

-
 

HB_SCRIPT_MODI

-

Modi, Since: 0.9.30

-
 

HB_SCRIPT_MRO

-

Mroo, Since: 0.9.30

-
 

HB_SCRIPT_NABATAEAN

-

Nbat, Since: 0.9.30

-
 

HB_SCRIPT_OLD_NORTH_ARABIAN

-

Narb, Since: 0.9.30

-
 

HB_SCRIPT_OLD_PERMIC

-

Perm, Since: 0.9.30

-
 

HB_SCRIPT_PAHAWH_HMONG

-

Hmng, Since: 0.9.30

-
 

HB_SCRIPT_PALMYRENE

-

Palm, Since: 0.9.30

-
 

HB_SCRIPT_PAU_CIN_HAU

-

Pauc, Since: 0.9.30

-
 

HB_SCRIPT_PSALTER_PAHLAVI

-

Phlp, Since: 0.9.30

-
 

HB_SCRIPT_SIDDHAM

-

Sidd, Since: 0.9.30

-
 

HB_SCRIPT_TIRHUTA

-

Tirh, Since: 0.9.30

-
 

HB_SCRIPT_WARANG_CITI

-

Wara, Since: 0.9.30

-
 

HB_SCRIPT_AHOM

-

Ahom, Since: 0.9.30

-
 

HB_SCRIPT_ANATOLIAN_HIEROGLYPHS

-

Hluw, Since: 0.9.30

-
 

HB_SCRIPT_HATRAN

-

Hatr, Since: 0.9.30

-
 

HB_SCRIPT_MULTANI

-

Mult, Since: 0.9.30

-
 

HB_SCRIPT_OLD_HUNGARIAN

-

Hung, Since: 0.9.30

-
 

HB_SCRIPT_SIGNWRITING

-

Sgnw, Since: 0.9.30

-
 

HB_SCRIPT_ADLAM

-

Adlm, Since: 1.3.0

-
 

HB_SCRIPT_BHAIKSUKI

-

Bhks, Since: 1.3.0

-
 

HB_SCRIPT_MARCHEN

-

Marc, Since: 1.3.0

-
 

HB_SCRIPT_OSAGE

-

Osge, Since: 1.3.0

-
 

HB_SCRIPT_TANGUT

-

Tang, Since: 1.3.0

-
 

HB_SCRIPT_NEWA

-

Newa, Since: 1.3.0

-
 

HB_SCRIPT_MASARAM_GONDI

-

Gonm, Since: 1.6.0

-
 

HB_SCRIPT_NUSHU

-

Nshu, Since: 1.6.0

-
 

HB_SCRIPT_SOYOMBO

-

Soyo, Since: 1.6.0

-
 

HB_SCRIPT_ZANABAZAR_SQUARE

-

Zanb, Since: 1.6.0

-
 

HB_SCRIPT_DOGRA

-

Dogr, Since: 1.8.0

-
 

HB_SCRIPT_GUNJALA_GONDI

-

Gong, Since: 1.8.0

-
 

HB_SCRIPT_HANIFI_ROHINGYA

-

Rohg, Since: 1.8.0

-
 

HB_SCRIPT_MAKASAR

-

Maka, Since: 1.8.0

-
 

HB_SCRIPT_MEDEFAIDRIN

-

Medf, Since: 1.8.0

-
 

HB_SCRIPT_OLD_SOGDIAN

-

Sogo, Since: 1.8.0

-
 

HB_SCRIPT_SOGDIAN

-

Sogd, Since: 1.8.0

-
 

HB_SCRIPT_ELYMAIC

-

Elym, Since: 2.4.0

-
 

HB_SCRIPT_NANDINAGARI

-

Nand, Since: 2.4.0

-
 

HB_SCRIPT_NYIAKENG_PUACHUE_HMONG

-

Hmnp, Since: 2.4.0

-
 

HB_SCRIPT_WANCHO

-

Wcho, Since: 2.4.0

-
 

HB_SCRIPT_CHORASMIAN

-

Chrs, Since: 2.6.7

-
 

HB_SCRIPT_DIVES_AKURU

-

Diak, Since: 2.6.7

-
 

HB_SCRIPT_KHITAN_SMALL_SCRIPT

-

Kits, Since: 2.6.7

-
 

HB_SCRIPT_YEZIDI

-

Yezi, Since: 2.6.7

-
 

HB_SCRIPT_CYPRO_MINOAN

-

Cpmn, Since: 3.0.0

-
 

HB_SCRIPT_OLD_UYGHUR

-

Ougr, Since: 3.0.0

-
 

HB_SCRIPT_TANGSA

-

Tnsa, Since: 3.0.0

-
 

HB_SCRIPT_TOTO

-

Toto, Since: 3.0.0

-
 

HB_SCRIPT_VITHKUQI

-

Vith, Since: 3.0.0

-
 

HB_SCRIPT_INVALID

-

No script set

-
 
-
-
-
-
-

hb_user_data_key_t

-
typedef struct {
-} hb_user_data_key_t;
-
-

Data structure for holding user-data keys.

-
-
-
-

HB_TAG_NONE

-
#define HB_TAG_NONE HB_TAG(0,0,0,0)
-
-

Unset hb_tag_t.

-
-
-
-

HB_TAG_MAX

-
#define HB_TAG_MAX HB_TAG(0xff,0xff,0xff,0xff)
-
-

Maximum possible unsigned hb_tag_t.

-

Since: 0.9.26

-
-
-
-

HB_TAG_MAX_SIGNED

-
#define HB_TAG_MAX_SIGNED HB_TAG(0x7f,0xff,0xff,0xff)
-
-

Maximum possible signed hb_tag_t.

-

Since: 0.9.33

-
-
-
-

HB_LANGUAGE_INVALID

-
#define HB_LANGUAGE_INVALID ((hb_language_t) 0)
-
-

An unset hb_language_t.

-

Since: 0.6.0

-
-
-
-

HB_FEATURE_GLOBAL_END

-
#define HB_FEATURE_GLOBAL_END ((unsigned int) -1)
-
-

Special setting for hb_feature_t.end to apply the feature from to the end -of the buffer.

-

Since: 2.0.0

-
-
-
-

HB_FEATURE_GLOBAL_START

-
#define HB_FEATURE_GLOBAL_START 0
-
-

Special setting for hb_feature_t.start to apply the feature from the start -of the buffer.

-

Since: 2.0.0

-
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/harfbuzz-hb-coretext.html b/harfbuzz/docs/html/harfbuzz-hb-coretext.html deleted file mode 100644 index f30de41..0000000 --- a/harfbuzz/docs/html/harfbuzz-hb-coretext.html +++ /dev/null @@ -1,261 +0,0 @@ - - - - -hb-coretext: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-
-
- - -
-

hb-coretext

-

hb-coretext — CoreText integration

-
-
-

Functions

-
---- - - - - - - - - - - - - - - - - - - -
-hb_face_t * - -hb_coretext_face_create () -
-hb_font_t * - -hb_coretext_font_create () -
-CGFontRef - -hb_coretext_face_get_cg_font () -
-CTFontRef - -hb_coretext_font_get_ct_font () -
-
-
-

Types and Values

-
---- - - - - - - - - - - - - - - -
#defineHB_CORETEXT_TAG_KERX
#defineHB_CORETEXT_TAG_MORT
#defineHB_CORETEXT_TAG_MORX
-
-
-

Includes

-
#include <hb-coretext.h>
-
-
-
-

Description

-

Functions for using HarfBuzz with the CoreText fonts.

-
-
-

Functions

-
-

hb_coretext_face_create ()

-
hb_face_t *
-hb_coretext_face_create (CGFontRef cg_font);
-

Creates an hb_face_t face object from the specified -CGFontRef.

-
-

Parameters

-
----- - - - - - -

cg_font

The CGFontRef to work upon

 
-
-
-

Returns

-

the new hb_face_t face object

-
-

Since: 0.9.10

-
-
-
-

hb_coretext_font_create ()

-
hb_font_t *
-hb_coretext_font_create (CTFontRef ct_font);
-

Creates an hb_font_t font object from the specified -CTFontRef.

-
-

Parameters

-
----- - - - - - -

ct_font

The CTFontRef to work upon

 
-
-
-

Returns

-

the new hb_font_t font object

-
-

Since: 1.7.2

-
-
-
-

hb_coretext_face_get_cg_font ()

-
CGFontRef
-hb_coretext_face_get_cg_font (hb_face_t *face);
-

Fetches the CGFontRef associated with an hb_face_t -face object

-
-

Parameters

-
----- - - - - - -

face

The hb_face_t to work upon

 
-
-
-

Returns

-

the CGFontRef found

-
-

Since: 0.9.10

-
-
-
-

hb_coretext_font_get_ct_font ()

-
CTFontRef
-hb_coretext_font_get_ct_font (hb_font_t *font);
-

Fetches the CTFontRef associated with the specified -hb_font_t font object.

-
-

Parameters

-
----- - - - - - -

font

hb_font_t to work upon

 
-
-
-

Returns

-

the CTFontRef found

-
-

Since: 0.9.10

-
-
-
-

Types and Values

-
-

HB_CORETEXT_TAG_KERX

-
#define HB_CORETEXT_TAG_KERX HB_TAG('k','e','r','x')
-
-

The hb_tag_t tag for the kerx (extended kerning) table, which -holds AAT kerning information.

-

For more information, see - -https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6kerx.html

-
-
-
-

HB_CORETEXT_TAG_MORT

-
#define HB_CORETEXT_TAG_MORT HB_TAG('m','o','r','t')
-
-

The hb_tag_t tag for the mort (glyph metamorphosis) table, -which holds AAT features.

-

For more information, see - -https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6mort.html

-
-
-
-

HB_CORETEXT_TAG_MORX

-
#define HB_CORETEXT_TAG_MORX HB_TAG('m','o','r','x')
-
-

The hb_tag_t tag for the morx (extended glyph metamorphosis) -table, which holds AAT features.

-

For more information, see -https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6morx.html

-
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/harfbuzz-hb-deprecated.html b/harfbuzz/docs/html/harfbuzz-hb-deprecated.html deleted file mode 100644 index ca973ee..0000000 --- a/harfbuzz/docs/html/harfbuzz-hb-deprecated.html +++ /dev/null @@ -1,760 +0,0 @@ - - - - -hb-deprecated: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-
-
- - -
-

hb-deprecated

-

hb-deprecated — Deprecated API

-
-
-

Functions

-
---- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-hb_bool_t - -(*hb_font_get_glyph_func_t) () -
-hb_bool_t - -hb_ot_layout_table_find_script () -
unsigned int - -(*hb_unicode_eastasian_width_func_t) () -
unsigned int - -hb_unicode_eastasian_width () -
-void - -hb_unicode_funcs_set_eastasian_width_func () -
unsigned int - -(*hb_unicode_decompose_compatibility_func_t) () -
unsigned int - -hb_unicode_decompose_compatibility () -
-void - -hb_unicode_funcs_set_decompose_compatibility_func () -
-void - -hb_font_funcs_set_glyph_v_kerning_func () -
-hb_position_t - -hb_font_get_glyph_v_kerning () -
-
-
-

Types and Values

- -
-
-

Includes

-
#include <hb.h>
-
-
-
-

Description

-

These API have been deprecated in favor of newer API, or because they -were deemed unnecessary.

-
-
-

Functions

-
-

hb_font_get_glyph_func_t ()

-
hb_bool_t
-(*hb_font_get_glyph_func_t) (hb_font_t *font,
-                             void *font_data,
-                             hb_codepoint_t unicode,
-                             hb_codepoint_t variation_selector,
-                             hb_codepoint_t *glyph,
-                             void *user_data);
-

hb_font_get_glyph_func_t has been deprecated since version 1.2.3 and should not be used in newly-written code.

-

A virtual method for the hb_font_funcs_t of an hb_font_t object.

-

This method should retrieve the glyph ID for a specified Unicode code point -font, with an optional variation selector.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

font

hb_font_t to work upon

 

font_data

font -user data pointer

 

unicode

The Unicode code point to query

 

variation_selector

The variation-selector code point to query

 

glyph

The glyph ID retrieved.

[out]

user_data

User data pointer passed by the caller

 
-
-
-

Returns

-

true if data found, false otherwise

-
-
-
-
-

hb_ot_layout_table_find_script ()

-
hb_bool_t
-hb_ot_layout_table_find_script (hb_face_t *face,
-                                hb_tag_t table_tag,
-                                hb_tag_t script_tag,
-                                unsigned int *script_index);
-

Fetches the index if a given script tag in the specified face's GSUB table -or GPOS table.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - -

face

hb_face_t to work upon

 

table_tag

HB_OT_TAG_GSUB or HB_OT_TAG_GPOS

 

script_tag

hb_tag_t of the script tag requested

 

script_index

The index of the requested script tag.

[out]
-
-
-

Returns

-

true if the script is found, false otherwise

-
-
-
-
-

hb_unicode_eastasian_width_func_t ()

-
unsigned int
-(*hb_unicode_eastasian_width_func_t) (hb_unicode_funcs_t *ufuncs,
-                                      hb_codepoint_t unicode,
-                                      void *user_data);
-

hb_unicode_eastasian_width_func_t has been deprecated since version 2.0.0 and should not be used in newly-written code.

-

A virtual method for the hb_unicode_funcs_t structure.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - -

ufuncs

A Unicode-functions structure

 

unicode

The code point to query

 

user_data

User data pointer passed by the caller

 
-
-
-
-
-

hb_unicode_eastasian_width ()

-
unsigned int
-hb_unicode_eastasian_width (hb_unicode_funcs_t *ufuncs,
-                            hb_codepoint_t unicode);
-

hb_unicode_eastasian_width has been deprecated since version 2.0.0 and should not be used in newly-written code.

-

Don't use. Not used by HarfBuzz.

-
-

Parameters

-
----- - - - - - - - - - - - - -

ufuncs

a Unicode-function structure

 

unicode

The code point to query

 
-
-

Since: 0.9.2

-
-
-
-

hb_unicode_funcs_set_eastasian_width_func ()

-
void
-hb_unicode_funcs_set_eastasian_width_func
-                               (hb_unicode_funcs_t *ufuncs,
-                                hb_unicode_eastasian_width_func_t func,
-                                void *user_data,
-                                hb_destroy_func_t destroy);
-

hb_unicode_funcs_set_eastasian_width_func has been deprecated since version 2.0.0 and should not be used in newly-written code.

-

Sets the implementation function for hb_unicode_eastasian_width_func_t.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - -

ufuncs

a Unicode-function structure

 

func

The callback function to assign.

[closure user_data][destroy destroy][scope notified]

user_data

Data to pass to func -

 

destroy

The function to call when user_data -is not needed anymore.

[nullable]
-
-

Since: 0.9.2

-
-
-
-

hb_unicode_decompose_compatibility_func_t ()

-
unsigned int
-(*hb_unicode_decompose_compatibility_func_t)
-                               (hb_unicode_funcs_t *ufuncs,
-                                hb_codepoint_t u,
-                                hb_codepoint_t *decomposed,
-                                void *user_data);
-

hb_unicode_decompose_compatibility_func_t has been deprecated since version 2.0.0 and should not be used in newly-written code.

-

Fully decompose u - to its Unicode compatibility decomposition. The codepoints of the decomposition will be written to decomposed -. -The complete length of the decomposition will be returned.

-

If u - has no compatibility decomposition, zero should be returned.

-

The Unicode standard guarantees that a buffer of length HB_UNICODE_MAX_DECOMPOSITION_LEN codepoints will always be sufficient for any -compatibility decomposition plus an terminating value of 0. Consequently, decompose - must be allocated by the caller to be at least this length. Implementations -of this function type must ensure that they do not write past the provided array.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - -

ufuncs

a Unicode function structure

 

u

codepoint to decompose

 

decomposed

address of codepoint array (of length HB_UNICODE_MAX_DECOMPOSITION_LEN) to write decomposition into

 

user_data

user data pointer as passed to hb_unicode_funcs_set_decompose_compatibility_func()

 
-
-
-

Returns

-

number of codepoints in the full compatibility decomposition of u -, or 0 if no decomposition available.

-
-
-
-
-

hb_unicode_decompose_compatibility ()

-
unsigned int
-hb_unicode_decompose_compatibility (hb_unicode_funcs_t *ufuncs,
-                                    hb_codepoint_t u,
-                                    hb_codepoint_t *decomposed);
-

hb_unicode_decompose_compatibility has been deprecated since version 2.0.0 and should not be used in newly-written code.

-

Fetches the compatibility decomposition of a Unicode -code point. Deprecated.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - -

ufuncs

The Unicode-functions structure

 

u

Code point to decompose

 

decomposed

Compatibility decomposition of u -.

[out]
-
-
-

Returns

-

length of decomposed -.

-
-

Since: 0.9.2

-
-
-
-

hb_unicode_funcs_set_decompose_compatibility_func ()

-
void
-hb_unicode_funcs_set_decompose_compatibility_func
-                               (hb_unicode_funcs_t *ufuncs,
-                                hb_unicode_decompose_compatibility_func_t func,
-                                void *user_data,
-                                hb_destroy_func_t destroy);
-

hb_unicode_funcs_set_decompose_compatibility_func has been deprecated since version 2.0.0 and should not be used in newly-written code.

-

Sets the implementation function for hb_unicode_decompose_compatibility_func_t.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - -

ufuncs

A Unicode-functions structure

 

func

The callback function to assign.

[closure user_data][destroy destroy][scope notified]

user_data

Data to pass to func -

 

destroy

The function to call when user_data -is not needed anymore.

[nullable]
-
-

Since: 0.9.2

-
-
-
-

hb_font_funcs_set_glyph_v_kerning_func ()

-
void
-hb_font_funcs_set_glyph_v_kerning_func
-                               (hb_font_funcs_t *ffuncs,
-                                hb_font_get_glyph_v_kerning_func_t func,
-                                void *user_data,
-                                hb_destroy_func_t destroy);
-

hb_font_funcs_set_glyph_v_kerning_func has been deprecated since version 2.0.0 and should not be used in newly-written code.

-

Sets the implementation function for hb_font_get_glyph_v_kerning_func_t.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - -

ffuncs

A font-function structure

 

func

The callback function to assign.

[closure user_data][destroy destroy][scope notified]

user_data

Data to pass to func -

 

destroy

The function to call when user_data -is not needed anymore.

[nullable]
-
-

Since: 0.9.2

-
-
-
-

hb_font_get_glyph_v_kerning ()

-
hb_position_t
-hb_font_get_glyph_v_kerning (hb_font_t *font,
-                             hb_codepoint_t top_glyph,
-                             hb_codepoint_t bottom_glyph);
-

hb_font_get_glyph_v_kerning has been deprecated since version 2.0.0 and should not be used in newly-written code.

-

Fetches the kerning-adjustment value for a glyph-pair in -the specified font, for vertical text segments.

-
It handles legacy kerning only (as returned by the corresponding -hb_font_funcs_t function).
-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - -

font

hb_font_t to work upon

 

top_glyph

The glyph ID of the top glyph in the glyph pair

 

bottom_glyph

The glyph ID of the bottom glyph in the glyph pair

 
-
-
-

Returns

-

The kerning adjustment value

-
-

Since: 0.9.2

-
-
-
-

Types and Values

-
-

HB_BUFFER_FLAGS_DEFAULT

-
#define HB_BUFFER_FLAGS_DEFAULT			HB_BUFFER_FLAG_DEFAULT
-
-

HB_BUFFER_FLAGS_DEFAULT has been deprecated since version 0.9.20 and should not be used in newly-written code.

-

Use HB_BUFFER_FLAG_DEFAULT instead.

-
-
-
-

HB_BUFFER_SERIALIZE_FLAGS_DEFAULT

-
#define HB_BUFFER_SERIALIZE_FLAGS_DEFAULT HB_BUFFER_SERIALIZE_FLAG_DEFAULT
-
-

HB_BUFFER_SERIALIZE_FLAGS_DEFAULT has been deprecated since version 0.9.20 and should not be used in newly-written code.

-

Use HB_BUFFER_SERIALIZE_FLAG_DEFAULT instead.

-
-
-
-

HB_SCRIPT_CANADIAN_ABORIGINAL

-
#define HB_SCRIPT_CANADIAN_ABORIGINAL		HB_SCRIPT_CANADIAN_SYLLABICS
-
-

HB_SCRIPT_CANADIAN_ABORIGINAL has been deprecated since version 0.9.20 and should not be used in newly-written code.

-

Use HB_SCRIPT_CANADIAN_SYLLABICS instead:

-
-
-
-

HB_MATH_GLYPH_PART_FLAG_EXTENDER

-
#define HB_MATH_GLYPH_PART_FLAG_EXTENDER HB_OT_MATH_GLYPH_PART_FLAG_EXTENDER
-
-

HB_MATH_GLYPH_PART_FLAG_EXTENDER has been deprecated since version 2.5.1 and should not be used in newly-written code.

-

Use HB_OT_MATH_GLYPH_PART_FLAG_EXTENDER instead.

-
-
-
-

HB_OT_VAR_NO_AXIS_INDEX

-
#define HB_OT_VAR_NO_AXIS_INDEX		0xFFFFFFFFu
-
-

HB_OT_VAR_NO_AXIS_INDEX has been deprecated since version 2.2.0 and should not be used in newly-written code.

-

Do not use.

-

Since: 1.4.2

-
-
-
-

hb_ot_var_axis_t

-
typedef struct {
-  hb_tag_t tag;
-  hb_ot_name_id_t name_id;
-  float min_value;
-  float default_value;
-  float max_value;
-} hb_ot_var_axis_t;
-
-

hb_ot_var_axis_t has been deprecated since version 2.2.0 and should not be used in newly-written code.

-

Use hb_ot_var_axis_info_t instead.

-
-

Members

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

hb_tag_t tag;

axis tag

 

hb_ot_name_id_t name_id;

axis name identifier

 

float min_value;

minimum value of the axis

 

float default_value;

default value of the axis

 

float max_value;

maximum value of the axis

 
-
-

Since: 1.4.2

-
-
-
-

HB_UNICODE_MAX_DECOMPOSITION_LEN

-
#define HB_UNICODE_MAX_DECOMPOSITION_LEN (18+1) /* codepoints */
-
-

HB_UNICODE_MAX_DECOMPOSITION_LEN has been deprecated since version 2.0.0 and should not be used in newly-written code.

-

See Unicode 6.1 for details on the maximum decomposition length.

-
-
-
-

hb_font_get_glyph_v_kerning_func_t

-
typedef hb_font_get_glyph_kerning_func_t hb_font_get_glyph_v_kerning_func_t;
-
-

hb_font_get_glyph_v_kerning_func_t is deprecated and should not be used in newly-written code.

-

A virtual method for the hb_font_funcs_t of an hb_font_t object.

-

This method should retrieve the kerning-adjustment value for a glyph-pair in -the specified font, for vertical text segments.

-
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/harfbuzz-hb-directwrite.html b/harfbuzz/docs/html/harfbuzz-hb-directwrite.html deleted file mode 100644 index cfca7a3..0000000 --- a/harfbuzz/docs/html/harfbuzz-hb-directwrite.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - -hb-directwrite: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-
-
- - -
-

hb-directwrite

-

hb-directwrite — DirectWrite integration

-
-
-

Functions

-
---- - - - - - - - - - - -
-hb_face_t * - -hb_directwrite_face_create () -
-IDWriteFontFace * - -hb_directwrite_face_get_font_face () -
-
-
-

Includes

-
#include <hb-directwrite.h>
-
-
-
-

Description

-

Functions for using HarfBuzz with DirectWrite fonts.

-
-
-

Functions

-
-

hb_directwrite_face_create ()

-
hb_face_t *
-hb_directwrite_face_create (IDWriteFontFace *font_face);
-

Constructs a new face object from the specified DirectWrite IDWriteFontFace.

-
-

Parameters

-
----- - - - - - -

font_face

a DirectWrite IDWriteFontFace object.

 
-
-
-

Returns

-

hb_face_t object corresponding to the given input

-
-

Since: 2.4.0

-
-
-
-

hb_directwrite_face_get_font_face ()

-
IDWriteFontFace *
-hb_directwrite_face_get_font_face (hb_face_t *face);
-

Gets the DirectWrite IDWriteFontFace associated with face -.

-
-

Parameters

-
----- - - - - - -

face

a hb_face_t object

 
-
-
-

Returns

-

DirectWrite IDWriteFontFace object corresponding to the given input

-
-

Since: 2.5.0

-
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/harfbuzz-hb-face.html b/harfbuzz/docs/html/harfbuzz-hb-face.html deleted file mode 100644 index 8391b11..0000000 --- a/harfbuzz/docs/html/harfbuzz-hb-face.html +++ /dev/null @@ -1,1070 +0,0 @@ - - - - -hb-face: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-
-
- - -
-

hb-face

-

hb-face — Font face objects

-
-
-

Functions

-
---- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
unsigned int - -hb_face_count () -
-hb_face_t * - -hb_face_create () -
-hb_face_t * - -hb_face_create_for_tables () -
-void - -hb_face_destroy () -
-hb_face_t * - -hb_face_get_empty () -
unsigned int - -hb_face_get_table_tags () -
unsigned int - -hb_face_get_glyph_count () -
unsigned int - -hb_face_get_index () -
unsigned int - -hb_face_get_upem () -
-void * - -hb_face_get_user_data () -
-hb_bool_t - -hb_face_is_immutable () -
-void - -hb_face_make_immutable () -
-hb_face_t * - -hb_face_reference () -
-hb_blob_t * - -hb_face_reference_blob () -
-hb_blob_t * - -hb_face_reference_table () -
-void - -hb_face_set_glyph_count () -
-void - -hb_face_set_index () -
-void - -hb_face_set_upem () -
-hb_bool_t - -hb_face_set_user_data () -
-void - -hb_face_collect_unicodes () -
-void - -hb_face_collect_variation_selectors () -
-void - -hb_face_collect_variation_unicodes () -
-hb_face_t * - -hb_face_builder_create () -
-hb_bool_t - -hb_face_builder_add_table () -
-
-
-

Types and Values

-
---- - - - - -
typedefhb_face_t
-
-
-

Includes

-
#include <hb.h>
-
-
-
-

Description

-

A font face is an object that represents a single face from within a -font family.

-

More precisely, a font face represents a single face in a binary font file. -Font faces are typically built from a binary blob and a face index. -Font faces are used to create fonts.

-
-
-

Functions

-
-

hb_face_count ()

-
unsigned int
-hb_face_count (hb_blob_t *blob);
-

Fetches the number of faces in a blob.

-
-

Parameters

-
----- - - - - - -

blob

a blob.

 
-
-
-

Returns

-

Number of faces in blob -

-
-

Since: 1.7.7

-
-
-
-

hb_face_create ()

-
hb_face_t *
-hb_face_create (hb_blob_t *blob,
-                unsigned int index);
-

Constructs a new face object from the specified blob and -a face index into that blob. This is used for blobs of -file formats such as Dfont and TTC that can contain more -than one face.

-

[Xconstructor]

-
-

Parameters

-
----- - - - - - - - - - - - - -

blob

hb_blob_t to work upon

 

index

The index of the face within blob -

 
-
-
-

Returns

-

The new face object.

-

[transfer full]

-
-

Since: 0.9.2

-
-
-
-

hb_face_create_for_tables ()

-
hb_face_t *
-hb_face_create_for_tables (hb_reference_table_func_t reference_table_func,
-                           void *user_data,
-                           hb_destroy_func_t destroy);
-

Variant of hb_face_create(), built for those cases where it is more -convenient to provide data for individual tables instead of the whole font -data. With the caveat that hb_face_get_table_tags() does not currently work -with faces created this way.

-

Creates a new face object from the specified user_data - and reference_table_func -, -with the destroy - callback.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - -

reference_table_func

Table-referencing function.

[closure user_data][destroy destroy][scope notified]

user_data

A pointer to the user data

 

destroy

A callback to call when data -is not needed anymore.

[nullable]
-
-
-

Returns

-

The new face object.

-

[transfer full]

-
-

Since: 0.9.2

-
-
-
-

hb_face_destroy ()

-
void
-hb_face_destroy (hb_face_t *face);
-

Decreases the reference count on a face object. When the -reference count reaches zero, the face is destroyed, -freeing all memory.

-

[skip]

-
-

Parameters

-
----- - - - - - -

face

A face object

 
-
-

Since: 0.9.2

-
-
-
-

hb_face_get_empty ()

-
hb_face_t *
-hb_face_get_empty (void);
-

Fetches the singleton empty face object.

-
-

Returns

-

The empty face object.

-

[transfer full]

-
-

Since: 0.9.2

-
-
-
-

hb_face_get_table_tags ()

-
unsigned int
-hb_face_get_table_tags (const hb_face_t *face,
-                        unsigned int start_offset,
-                        unsigned int *table_count,
-                        hb_tag_t *table_tags);
-

Fetches a list of all table tags for a face, if possible. The list returned will -begin at the offset provided

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - -

face

A face object

 

start_offset

The index of first table tag to retrieve

 

table_count

Input = the maximum number of table tags to return; -Output = the actual number of table tags returned (may be zero).

[inout]

table_tags

The array of table tags found.

[out][array length=table_count]
-
-
-

Returns

-

Total number of tables, or zero if it is not possible to list

-
-

Since: 1.6.0

-
-
-
-

hb_face_get_glyph_count ()

-
unsigned int
-hb_face_get_glyph_count (const hb_face_t *face);
-

Fetches the glyph-count value of the specified face object.

-
-

Parameters

-
----- - - - - - -

face

A face object

 
-
-
-

Returns

-

The glyph-count value of face -

-
-

Since: 0.9.7

-
-
-
-

hb_face_get_index ()

-
unsigned int
-hb_face_get_index (const hb_face_t *face);
-

Fetches the face-index corresponding to the given face.

-
Note: face indices within a collection are zero-based.
-
-

Parameters

-
----- - - - - - -

face

A face object

 
-
-
-

Returns

-

The index of face -.

-
-

Since: 0.9.2

-
-
-
-

hb_face_get_upem ()

-
unsigned int
-hb_face_get_upem (const hb_face_t *face);
-

Fetches the units-per-em (upem) value of the specified face object.

-
-

Parameters

-
----- - - - - - -

face

A face object

 
-
-
-

Returns

-

The upem value of face -

-
-

Since: 0.9.2

-
-
-
-

hb_face_get_user_data ()

-
void *
-hb_face_get_user_data (const hb_face_t *face,
-                       hb_user_data_key_t *key);
-

Fetches the user data associated with the specified key, -attached to the specified face object.

-

[skip]

-
-

Parameters

-
----- - - - - - - - - - - - - -

face

A face object

 

key

The user-data key to query

 
-
-
-

Returns

-

A pointer to the user data.

-

[transfer none]

-
-

Since: 0.9.2

-
-
-
-

hb_face_is_immutable ()

-
hb_bool_t
-hb_face_is_immutable (const hb_face_t *face);
-

Tests whether the given face object is immutable.

-
-

Parameters

-
----- - - - - - -

face

A face object

 
-
-
-

Returns

-

true is face -is immutable, false otherwise

-
-

Since: 0.9.2

-
-
-
-

hb_face_make_immutable ()

-
void
-hb_face_make_immutable (hb_face_t *face);
-

Makes the given face object immutable.

-
-

Parameters

-
----- - - - - - -

face

A face object

 
-
-

Since: 0.9.2

-
-
-
-

hb_face_reference ()

-
hb_face_t *
-hb_face_reference (hb_face_t *face);
-

Increases the reference count on a face object.

-

[skip]

-
-

Parameters

-
----- - - - - - -

face

A face object

 
-
-
-

Returns

-

The face -object

-
-

Since: 0.9.2

-
-
-
-

hb_face_reference_blob ()

-
hb_blob_t *
-hb_face_reference_blob (hb_face_t *face);
-

Fetches a pointer to the binary blob that contains the -specified face. Returns an empty blob if referencing face data is not -possible.

-
-

Parameters

-
----- - - - - - -

face

A face object

 
-
-
-

Returns

-

A pointer to the blob for face -.

-

[transfer full]

-
-

Since: 0.9.2

-
-
-
-

hb_face_reference_table ()

-
hb_blob_t *
-hb_face_reference_table (const hb_face_t *face,
-                         hb_tag_t tag);
-

Fetches a reference to the specified table within -the specified face.

-
-

Parameters

-
----- - - - - - - - - - - - - -

face

A face object

 

tag

The hb_tag_t of the table to query

 
-
-
-

Returns

-

A pointer to the tag -table within face -.

-

[transfer full]

-
-

Since: 0.9.2

-
-
-
-

hb_face_set_glyph_count ()

-
void
-hb_face_set_glyph_count (hb_face_t *face,
-                         unsigned int glyph_count);
-

Sets the glyph count for a face object to the specified value.

-
-

Parameters

-
----- - - - - - - - - - - - - -

face

A face object

 

glyph_count

The glyph-count value to assign

 
-
-

Since: 0.9.7

-
-
-
-

hb_face_set_index ()

-
void
-hb_face_set_index (hb_face_t *face,
-                   unsigned int index);
-

Assigns the specified face-index to face -. Fails if the -face is immutable.

-
Note: face indices within a collection are zero-based.
-
-

Parameters

-
----- - - - - - - - - - - - - -

face

A face object

 

index

The index to assign

 
-
-

Since: 0.9.2

-
-
-
-

hb_face_set_upem ()

-
void
-hb_face_set_upem (hb_face_t *face,
-                  unsigned int upem);
-

Sets the units-per-em (upem) for a face object to the specified value.

-
-

Parameters

-
----- - - - - - - - - - - - - -

face

A face object

 

upem

The units-per-em value to assign

 
-
-

Since: 0.9.2

-
-
-
-

hb_face_set_user_data ()

-
hb_bool_t
-hb_face_set_user_data (hb_face_t *face,
-                       hb_user_data_key_t *key,
-                       void *data,
-                       hb_destroy_func_t destroy,
-                       hb_bool_t replace);
-

Attaches a user-data key/data pair to the given face object.

-

[skip]

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

face

A face object

 

key

The user-data key to set

 

data

A pointer to the user data

 

destroy

A callback to call when data -is not needed anymore.

[nullable]

replace

Whether to replace an existing data with the same key

 
-
-
-

Returns

-

true if success, false otherwise

-
-

Since: 0.9.2

-
-
-
-

hb_face_collect_unicodes ()

-
void
-hb_face_collect_unicodes (hb_face_t *face,
-                          hb_set_t *out);
-

Collects all of the Unicode characters covered by face - and adds -them to the hb_set_t set out -.

-
-

Parameters

-
----- - - - - - - - - - - - - -

face

A face object

 

out

The set to add Unicode characters to

 
-
-

Since: 1.9.0

-
-
-
-

hb_face_collect_variation_selectors ()

-
void
-hb_face_collect_variation_selectors (hb_face_t *face,
-                                     hb_set_t *out);
-

Collects all Unicode "Variation Selector" characters covered by face - and adds -them to the hb_set_t set out -.

-
-

Parameters

-
----- - - - - - - - - - - - - -

face

A face object

 

out

The set to add Variation Selector characters to

 
-
-

Since: 1.9.0

-
-
-
-

hb_face_collect_variation_unicodes ()

-
void
-hb_face_collect_variation_unicodes (hb_face_t *face,
-                                    hb_codepoint_t variation_selector,
-                                    hb_set_t *out);
-

Collects all Unicode characters for variation_selector - covered by face - and adds -them to the hb_set_t set out -.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - -

face

A face object

 

variation_selector

The Variation Selector to query

 

out

The set to add Unicode characters to

 
-
-

Since: 1.9.0

-
-
-
-

hb_face_builder_create ()

-
hb_face_t *
-hb_face_builder_create (void);
-

Creates a hb_face_t that can be used with hb_face_builder_add_table(). -After tables are added to the face, it can be compiled to a binary -font file by calling hb_face_reference_blob().

-
-

Returns

-

New face.

-

[transfer full]

-
-

Since: 1.9.0

-
-
-
-

hb_face_builder_add_table ()

-
hb_bool_t
-hb_face_builder_add_table (hb_face_t *face,
-                           hb_tag_t tag,
-                           hb_blob_t *blob);
-

Add table for tag - with data provided by blob - to the face. face - must -be created using hb_face_builder_create().

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - -

face

A face object created with hb_face_builder_create()

 

tag

The hb_tag_t of the table to add

 

blob

The blob containing the table data to add

 
-
-

Since: 1.9.0

-
-
-
-

Types and Values

-
-

hb_face_t

-
typedef struct hb_face_t hb_face_t;
-
-

Data type for holding font faces.

-
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/harfbuzz-hb-font.html b/harfbuzz/docs/html/harfbuzz-hb-font.html deleted file mode 100644 index 4141141..0000000 --- a/harfbuzz/docs/html/harfbuzz-hb-font.html +++ /dev/null @@ -1,5038 +0,0 @@ - - - - -hb-font: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-
-
- - -
-

hb-font

-

hb-font — Font objects

-
-
-

Functions

-
---- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-void - -hb_font_add_glyph_origin_for_direction () -
-hb_font_t * - -hb_font_create () -
-hb_font_t * - -hb_font_create_sub_font () -
-void - -hb_font_destroy () -
-hb_font_funcs_t * - -hb_font_funcs_create () -
-void - -hb_font_funcs_destroy () -
-hb_font_funcs_t * - -hb_font_funcs_get_empty () -
-void * - -hb_font_funcs_get_user_data () -
-hb_bool_t - -hb_font_funcs_is_immutable () -
-void - -hb_font_funcs_make_immutable () -
-hb_font_funcs_t * - -hb_font_funcs_reference () -
-void - -hb_font_funcs_set_glyph_contour_point_func () -
-void - -hb_font_funcs_set_glyph_extents_func () -
-void - -hb_font_funcs_set_glyph_from_name_func () -
-void - -hb_font_funcs_set_glyph_h_advance_func () -
-void - -hb_font_funcs_set_glyph_h_advances_func () -
-void - -hb_font_funcs_set_glyph_h_kerning_func () -
-void - -hb_font_funcs_set_glyph_h_origin_func () -
-void - -hb_font_funcs_set_glyph_name_func () -
-void - -hb_font_funcs_set_glyph_v_advance_func () -
-void - -hb_font_funcs_set_glyph_v_advances_func () -
-void - -hb_font_funcs_set_glyph_v_origin_func () -
-void - -hb_font_funcs_set_nominal_glyph_func () -
-void - -hb_font_funcs_set_nominal_glyphs_func () -
-hb_bool_t - -hb_font_funcs_set_user_data () -
-void - -hb_font_funcs_set_variation_glyph_func () -
-hb_font_t * - -hb_font_get_empty () -
-hb_face_t * - -hb_font_get_face () -
-hb_bool_t - -hb_font_get_glyph () -
-void - -hb_font_get_glyph_advance_for_direction () -
-hb_position_t - -(*hb_font_get_glyph_advance_func_t) () -
-void - -hb_font_get_glyph_advances_for_direction () -
-void - -(*hb_font_get_glyph_advances_func_t) () -
-hb_bool_t - -hb_font_get_glyph_contour_point () -
-hb_bool_t - -hb_font_get_glyph_contour_point_for_origin () -
-hb_bool_t - -(*hb_font_get_glyph_contour_point_func_t) () -
-hb_bool_t - -hb_font_get_glyph_extents () -
-hb_bool_t - -hb_font_get_glyph_extents_for_origin () -
-hb_bool_t - -(*hb_font_get_glyph_extents_func_t) () -
-hb_bool_t - -hb_font_get_glyph_from_name () -
-hb_bool_t - -(*hb_font_get_glyph_from_name_func_t) () -
-hb_position_t - -hb_font_get_glyph_h_advance () -
-void - -hb_font_get_glyph_h_advances () -
-hb_position_t - -hb_font_get_glyph_h_kerning () -
-hb_bool_t - -hb_font_get_glyph_h_origin () -
-void - -hb_font_get_glyph_kerning_for_direction () -
-hb_position_t - -(*hb_font_get_glyph_kerning_func_t) () -
-hb_bool_t - -hb_font_get_glyph_name () -
-hb_bool_t - -(*hb_font_get_glyph_name_func_t) () -
-void - -hb_font_get_glyph_origin_for_direction () -
-hb_bool_t - -(*hb_font_get_glyph_origin_func_t) () -
-hb_position_t - -hb_font_get_glyph_v_advance () -
-void - -hb_font_get_glyph_v_advances () -
-hb_bool_t - -hb_font_get_glyph_v_origin () -
-hb_bool_t - -hb_font_get_nominal_glyph () -
-hb_bool_t - -(*hb_font_get_nominal_glyph_func_t) () -
unsigned int - -hb_font_get_nominal_glyphs () -
unsigned int - -(*hb_font_get_nominal_glyphs_func_t) () -
-hb_font_t * - -hb_font_get_parent () -
-void - -hb_font_get_ppem () -
-float - -hb_font_get_ptem () -
-void - -hb_font_get_scale () -
-void * - -hb_font_get_user_data () -
-hb_bool_t - -hb_font_get_variation_glyph () -
-hb_bool_t - -(*hb_font_get_variation_glyph_func_t) () -
const int * - -hb_font_get_var_coords_normalized () -
-hb_bool_t - -hb_font_glyph_from_string () -
-void - -hb_font_glyph_to_string () -
-hb_bool_t - -hb_font_is_immutable () -
-void - -hb_font_make_immutable () -
-hb_font_t * - -hb_font_reference () -
-void - -hb_font_set_face () -
-void - -hb_font_set_funcs () -
-void - -hb_font_set_funcs_data () -
-void - -hb_font_set_parent () -
-void - -hb_font_set_ppem () -
-void - -hb_font_set_ptem () -
-void - -hb_font_set_scale () -
-hb_bool_t - -hb_font_set_user_data () -
-void - -hb_font_set_variations () -
-void - -hb_font_set_var_coords_design () -
-void - -hb_font_set_var_coords_normalized () -
-void - -hb_font_set_var_named_instance () -
-void - -hb_font_subtract_glyph_origin_for_direction () -
-hb_blob_t * - -(*hb_reference_table_func_t) () -
-void - -hb_font_funcs_set_font_h_extents_func () -
-void - -hb_font_funcs_set_font_v_extents_func () -
-void - -hb_font_get_extents_for_direction () -
-hb_bool_t - -(*hb_font_get_font_extents_func_t) () -
-hb_bool_t - -hb_font_get_h_extents () -
-hb_bool_t - -hb_font_get_v_extents () -
-
- -
-

Includes

-
#include <hb.h>
-
-
-
-

Description

-

Functions for working with font objects.

-

A font object represents a font face at a specific size and with -certain other parameters (pixels-per-em, points-per-em, variation -settings) specified. Font objects are created from font face -objects, and are used as input to hb_shape(), among other things.

-

Client programs can optionally pass in their own functions that -implement the basic, lower-level queries of font objects. This set -of font functions is defined by the virtual methods in -hb_font_funcs_t.

-

HarfBuzz provides a built-in set of lightweight default -functions for each method in hb_font_funcs_t.

-
-
-

Functions

-
-

hb_font_add_glyph_origin_for_direction ()

-
void
-hb_font_add_glyph_origin_for_direction
-                               (hb_font_t *font,
-                                hb_codepoint_t glyph,
-                                hb_direction_t direction,
-                                hb_position_t *x,
-                                hb_position_t *y);
-

Adds the origin coordinates to an (X,Y) point coordinate, in -the specified glyph ID in the specified font.

-

Calls the appropriate direction-specific variant (horizontal -or vertical) depending on the value of direction -.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

font

hb_font_t to work upon

 

glyph

The glyph ID to query

 

direction

The direction of the text segment

 

x

Input = The original X coordinate -Output = The X coordinate plus the X-coordinate of the origin.

[inout]

y

Input = The original Y coordinate -Output = The Y coordinate plus the Y-coordinate of the origin.

[inout]
-
-

Since: 0.9.2

-
-
-
-

hb_font_create ()

-
hb_font_t *
-hb_font_create (hb_face_t *face);
-

Constructs a new font object from the specified face.

-

[Xconstructor]

-
-

Parameters

-
----- - - - - - -

face

a face.

 
-
-
-

Returns

-

The new font object.

-

[transfer full]

-
-

Since: 0.9.2

-
-
-
-

hb_font_create_sub_font ()

-
hb_font_t *
-hb_font_create_sub_font (hb_font_t *parent);
-

Constructs a sub-font font object from the specified parent - font, -replicating the parent's properties.

-
-

Parameters

-
----- - - - - - -

parent

The parent font object

 
-
-
-

Returns

-

The new sub-font font object.

-

[transfer full]

-
-

Since: 0.9.2

-
-
-
-

hb_font_destroy ()

-
void
-hb_font_destroy (hb_font_t *font);
-

Decreases the reference count on the given font object. When the -reference count reaches zero, the font is destroyed, -freeing all memory.

-

[skip]

-
-

Parameters

-
----- - - - - - -

font

hb_font_t to work upon

 
-
-

Since: 0.9.2

-
-
-
-

hb_font_funcs_create ()

-
hb_font_funcs_t *
-hb_font_funcs_create (void);
-

Creates a new hb_font_funcs_t structure of font functions.

-

[Xconstructor]

-
-

Returns

-

The font-functions structure.

-

[transfer full]

-
-

Since: 0.9.2

-
-
-
-

hb_font_funcs_destroy ()

-
void
-hb_font_funcs_destroy (hb_font_funcs_t *ffuncs);
-

Decreases the reference count on a font-functions structure. When -the reference count reaches zero, the font-functions structure is -destroyed, freeing all memory.

-

[skip]

-
-

Parameters

-
----- - - - - - -

ffuncs

The font-functions structure

 
-
-

Since: 0.9.2

-
-
-
-

hb_font_funcs_get_empty ()

-
hb_font_funcs_t *
-hb_font_funcs_get_empty (void);
-

Fetches an empty font-functions structure.

-
-

Returns

-

The font-functions structure.

-

[transfer full]

-
-

Since: 0.9.2

-
-
-
-

hb_font_funcs_get_user_data ()

-
void *
-hb_font_funcs_get_user_data (hb_font_funcs_t *ffuncs,
-                             hb_user_data_key_t *key);
-

Fetches the user data associated with the specified key, -attached to the specified font-functions structure.

-

[skip]

-
-

Parameters

-
----- - - - - - - - - - - - - -

ffuncs

The font-functions structure

 

key

The user-data key to query

 
-
-
-

Returns

-

A pointer to the user data.

-

[transfer none]

-
-

Since: 0.9.2

-
-
-
-

hb_font_funcs_is_immutable ()

-
hb_bool_t
-hb_font_funcs_is_immutable (hb_font_funcs_t *ffuncs);
-

Tests whether a font-functions structure is immutable.

-
-

Parameters

-
----- - - - - - -

ffuncs

The font-functions structure

 
-
-
-

Returns

-

true if ffuncs -is immutable, false otherwise

-
-

Since: 0.9.2

-
-
-
-

hb_font_funcs_make_immutable ()

-
void
-hb_font_funcs_make_immutable (hb_font_funcs_t *ffuncs);
-

Makes a font-functions structure immutable.

-
-

Parameters

-
----- - - - - - -

ffuncs

The font-functions structure

 
-
-

Since: 0.9.2

-
-
-
-

hb_font_funcs_reference ()

-
hb_font_funcs_t *
-hb_font_funcs_reference (hb_font_funcs_t *ffuncs);
-

Increases the reference count on a font-functions structure.

-

[skip]

-
-

Parameters

-
----- - - - - - -

ffuncs

The font-functions structure

 
-
-
-

Returns

-

The font-functions structure

-
-

Since: 0.9.2

-
-
-
-

hb_font_funcs_set_glyph_contour_point_func ()

-
void
-hb_font_funcs_set_glyph_contour_point_func
-                               (hb_font_funcs_t *ffuncs,
-                                hb_font_get_glyph_contour_point_func_t func,
-                                void *user_data,
-                                hb_destroy_func_t destroy);
-

Sets the implementation function for hb_font_get_glyph_contour_point_func_t.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - -

ffuncs

A font-function structure

 

func

The callback function to assign.

[closure user_data][destroy destroy][scope notified]

user_data

Data to pass to func -

 

destroy

The function to call when user_data -is not needed anymore.

[nullable]
-
-

Since: 0.9.2

-
-
-
-

hb_font_funcs_set_glyph_extents_func ()

-
void
-hb_font_funcs_set_glyph_extents_func (hb_font_funcs_t *ffuncs,
-                                      hb_font_get_glyph_extents_func_t func,
-                                      void *user_data,
-                                      hb_destroy_func_t destroy);
-

Sets the implementation function for hb_font_get_glyph_extents_func_t.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - -

ffuncs

A font-function structure

 

func

The callback function to assign.

[closure user_data][destroy destroy][scope notified]

user_data

Data to pass to func -

 

destroy

The function to call when user_data -is not needed anymore.

[nullable]
-
-

Since: 0.9.2

-
-
-
-

hb_font_funcs_set_glyph_from_name_func ()

-
void
-hb_font_funcs_set_glyph_from_name_func
-                               (hb_font_funcs_t *ffuncs,
-                                hb_font_get_glyph_from_name_func_t func,
-                                void *user_data,
-                                hb_destroy_func_t destroy);
-

Sets the implementation function for hb_font_get_glyph_from_name_func_t.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - -

ffuncs

A font-function structure

 

func

The callback function to assign.

[closure user_data][destroy destroy][scope notified]

user_data

Data to pass to func -

 

destroy

The function to call when user_data -is not needed anymore.

[nullable]
-
-

Since: 0.9.2

-
-
-
-

hb_font_funcs_set_glyph_h_advance_func ()

-
void
-hb_font_funcs_set_glyph_h_advance_func
-                               (hb_font_funcs_t *ffuncs,
-                                hb_font_get_glyph_h_advance_func_t func,
-                                void *user_data,
-                                hb_destroy_func_t destroy);
-

Sets the implementation function for hb_font_get_glyph_h_advance_func_t.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - -

ffuncs

A font-function structure

 

func

The callback function to assign.

[closure user_data][destroy destroy][scope notified]

user_data

Data to pass to func -

 

destroy

The function to call when user_data -is not needed anymore.

[nullable]
-
-

Since: 0.9.2

-
-
-
-

hb_font_funcs_set_glyph_h_advances_func ()

-
void
-hb_font_funcs_set_glyph_h_advances_func
-                               (hb_font_funcs_t *ffuncs,
-                                hb_font_get_glyph_h_advances_func_t func,
-                                void *user_data,
-                                hb_destroy_func_t destroy);
-

Sets the implementation function for hb_font_get_glyph_h_advances_func_t.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - -

ffuncs

A font-function structure

 

func

The callback function to assign.

[closure user_data][destroy destroy][scope notified]

user_data

Data to pass to func -

 

destroy

The function to call when user_data -is not needed anymore.

[nullable]
-
-

Since: 1.8.6

-
-
-
-

hb_font_funcs_set_glyph_h_kerning_func ()

-
void
-hb_font_funcs_set_glyph_h_kerning_func
-                               (hb_font_funcs_t *ffuncs,
-                                hb_font_get_glyph_h_kerning_func_t func,
-                                void *user_data,
-                                hb_destroy_func_t destroy);
-

Sets the implementation function for hb_font_get_glyph_h_kerning_func_t.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - -

ffuncs

A font-function structure

 

func

The callback function to assign.

[closure user_data][destroy destroy][scope notified]

user_data

Data to pass to func -

 

destroy

The function to call when user_data -is not needed anymore.

[nullable]
-
-

Since: 0.9.2

-
-
-
-

hb_font_funcs_set_glyph_h_origin_func ()

-
void
-hb_font_funcs_set_glyph_h_origin_func (hb_font_funcs_t *ffuncs,
-                                       hb_font_get_glyph_h_origin_func_t func,
-                                       void *user_data,
-                                       hb_destroy_func_t destroy);
-

Sets the implementation function for hb_font_get_glyph_h_origin_func_t.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - -

ffuncs

A font-function structure

 

func

The callback function to assign.

[closure user_data][destroy destroy][scope notified]

user_data

Data to pass to func -

 

destroy

The function to call when user_data -is not needed anymore.

[nullable]
-
-

Since: 0.9.2

-
-
-
-

hb_font_funcs_set_glyph_name_func ()

-
void
-hb_font_funcs_set_glyph_name_func (hb_font_funcs_t *ffuncs,
-                                   hb_font_get_glyph_name_func_t func,
-                                   void *user_data,
-                                   hb_destroy_func_t destroy);
-

Sets the implementation function for hb_font_get_glyph_name_func_t.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - -

ffuncs

A font-function structure

 

func

The callback function to assign.

[closure user_data][destroy destroy][scope notified]

user_data

Data to pass to func -

 

destroy

The function to call when user_data -is not needed anymore.

[nullable]
-
-

Since: 0.9.2

-
-
-
-

hb_font_funcs_set_glyph_v_advance_func ()

-
void
-hb_font_funcs_set_glyph_v_advance_func
-                               (hb_font_funcs_t *ffuncs,
-                                hb_font_get_glyph_v_advance_func_t func,
-                                void *user_data,
-                                hb_destroy_func_t destroy);
-

Sets the implementation function for hb_font_get_glyph_v_advance_func_t.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - -

ffuncs

A font-function structure

 

func

The callback function to assign.

[closure user_data][destroy destroy][scope notified]

user_data

Data to pass to func -

 

destroy

The function to call when user_data -is not needed anymore.

[nullable]
-
-

Since: 0.9.2

-
-
-
-

hb_font_funcs_set_glyph_v_advances_func ()

-
void
-hb_font_funcs_set_glyph_v_advances_func
-                               (hb_font_funcs_t *ffuncs,
-                                hb_font_get_glyph_v_advances_func_t func,
-                                void *user_data,
-                                hb_destroy_func_t destroy);
-

Sets the implementation function for hb_font_get_glyph_v_advances_func_t.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - -

ffuncs

A font-function structure

 

func

The callback function to assign.

[closure user_data][destroy destroy][scope notified]

user_data

Data to pass to func -

 

destroy

The function to call when user_data -is not needed anymore.

[nullable]
-
-

Since: 1.8.6

-
-
-
-

hb_font_funcs_set_glyph_v_origin_func ()

-
void
-hb_font_funcs_set_glyph_v_origin_func (hb_font_funcs_t *ffuncs,
-                                       hb_font_get_glyph_v_origin_func_t func,
-                                       void *user_data,
-                                       hb_destroy_func_t destroy);
-

Sets the implementation function for hb_font_get_glyph_v_origin_func_t.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - -

ffuncs

A font-function structure

 

func

The callback function to assign.

[closure user_data][destroy destroy][scope notified]

user_data

Data to pass to func -

 

destroy

The function to call when user_data -is not needed anymore.

[nullable]
-
-

Since: 0.9.2

-
-
-
-

hb_font_funcs_set_nominal_glyph_func ()

-
void
-hb_font_funcs_set_nominal_glyph_func (hb_font_funcs_t *ffuncs,
-                                      hb_font_get_nominal_glyph_func_t func,
-                                      void *user_data,
-                                      hb_destroy_func_t destroy);
-

Sets the implementation function for hb_font_get_nominal_glyph_func_t.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - -

ffuncs

A font-function structure

 

func

The callback function to assign.

[closure user_data][destroy destroy][scope notified]

user_data

Data to pass to func -

 

destroy

The function to call when user_data -is not needed anymore.

[nullable]
-
-

Since: 1.2.3

-
-
-
-

hb_font_funcs_set_nominal_glyphs_func ()

-
void
-hb_font_funcs_set_nominal_glyphs_func (hb_font_funcs_t *ffuncs,
-                                       hb_font_get_nominal_glyphs_func_t func,
-                                       void *user_data,
-                                       hb_destroy_func_t destroy);
-

Sets the implementation function for hb_font_get_nominal_glyphs_func_t.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - -

ffuncs

A font-function structure

 

func

The callback function to assign.

[closure user_data][destroy destroy][scope notified]

user_data

Data to pass to func -

 

destroy

The function to call when user_data -is not needed anymore.

[nullable]
-
-

Since: 2.0.0

-
-
-
-

hb_font_funcs_set_user_data ()

-
hb_bool_t
-hb_font_funcs_set_user_data (hb_font_funcs_t *ffuncs,
-                             hb_user_data_key_t *key,
-                             void *data,
-                             hb_destroy_func_t destroy,
-                             hb_bool_t replace);
-

Attaches a user-data key/data pair to the specified font-functions structure.

-

[skip]

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

ffuncs

The font-functions structure

 

key

The user-data key to set

 

data

A pointer to the user data set

 

destroy

A callback to call when data -is not needed anymore.

[nullable]

replace

Whether to replace an existing data with the same key

 
-
-
-

Returns

-

true if success, false otherwise

-
-

Since: 0.9.2

-
-
-
-

hb_font_funcs_set_variation_glyph_func ()

-
void
-hb_font_funcs_set_variation_glyph_func
-                               (hb_font_funcs_t *ffuncs,
-                                hb_font_get_variation_glyph_func_t func,
-                                void *user_data,
-                                hb_destroy_func_t destroy);
-

Sets the implementation function for hb_font_get_variation_glyph_func_t.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - -

ffuncs

A font-function structure

 

func

The callback function to assign.

[closure user_data][destroy destroy][scope notified]

user_data

Data to pass to func -

 

destroy

The function to call when user_data -is not needed anymore.

[nullable]
-
-

Since: 1.2.3

-
-
-
-

hb_font_get_empty ()

-
hb_font_t *
-hb_font_get_empty (void);
-

Fetches the empty font object.

-
-

Returns

-

The empty font object.

-

[transfer full]

-
-

Since: 0.9.2

-
-
-
-

hb_font_get_face ()

-
hb_face_t *
-hb_font_get_face (hb_font_t *font);
-

Fetches the face associated with the specified font object.

-
-

Parameters

-
----- - - - - - -

font

hb_font_t to work upon

 
-
-
-

Returns

-

The hb_face_t value.

-

[transfer none]

-
-

Since: 0.9.2

-
-
-
-

hb_font_get_glyph ()

-
hb_bool_t
-hb_font_get_glyph (hb_font_t *font,
-                   hb_codepoint_t unicode,
-                   hb_codepoint_t variation_selector,
-                   hb_codepoint_t *glyph);
-

Fetches the glyph ID for a Unicode code point in the specified -font, with an optional variation selector.

-

If variation_selector - is 0, calls hb_font_get_nominal_glyph(); -otherwise calls hb_font_get_variation_glyph().

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - -

font

hb_font_t to work upon

 

unicode

The Unicode code point to query

 

variation_selector

A variation-selector code point

 

glyph

The glyph ID retrieved.

[out]
-
-
-

Returns

-

true if data found, false otherwise

-
-

Since: 0.9.2

-
-
-
-

hb_font_get_glyph_advance_for_direction ()

-
void
-hb_font_get_glyph_advance_for_direction
-                               (hb_font_t *font,
-                                hb_codepoint_t glyph,
-                                hb_direction_t direction,
-                                hb_position_t *x,
-                                hb_position_t *y);
-

Fetches the advance for a glyph ID from the specified font, -in a text segment of the specified direction.

-

Calls the appropriate direction-specific variant (horizontal -or vertical) depending on the value of direction -.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

font

hb_font_t to work upon

 

glyph

The glyph ID to query

 

direction

The direction of the text segment

 

x

The horizontal advance retrieved.

[out]

y

The vertical advance retrieved.

[out]
-
-

Since: 0.9.2

-
-
-
-

hb_font_get_glyph_advance_func_t ()

-
hb_position_t
-(*hb_font_get_glyph_advance_func_t) (hb_font_t *font,
-                                     void *font_data,
-                                     hb_codepoint_t glyph,
-                                     void *user_data);
-

A virtual method for the hb_font_funcs_t of an hb_font_t object.

-

This method should retrieve the advance for a specified glyph. The -method must return an hb_position_t.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - -

font

hb_font_t to work upon

 

font_data

font -user data pointer

 

glyph

The glyph ID to query

 

user_data

User data pointer passed by the caller

 
-
-
-

Returns

-

The advance of glyph -within font -

-
-
-
-
-

hb_font_get_glyph_advances_for_direction ()

-
void
-hb_font_get_glyph_advances_for_direction
-                               (hb_font_t *font,
-                                hb_direction_t direction,
-                                unsigned int count,
-                                const hb_codepoint_t *first_glyph,
-                                unsigned  glyph_stride,
-                                hb_position_t *first_advance,
-                                unsigned  advance_stride);
-

Fetches the advances for a sequence of glyph IDs in the specified -font, in a text segment of the specified direction.

-

Calls the appropriate direction-specific variant (horizontal -or vertical) depending on the value of direction -.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

font

hb_font_t to work upon

 

direction

The direction of the text segment

 

count

The number of glyph IDs in the sequence queried

 

first_glyph

The first glyph ID to query

 

glyph_stride

The stride between successive glyph IDs

 

first_advance

The first advance retrieved.

[out]

advance_stride

The stride between successive advances.

[out]
-
-

Since: 1.8.6

-
-
-
-

hb_font_get_glyph_advances_func_t ()

-
void
-(*hb_font_get_glyph_advances_func_t) (hb_font_t *font,
-                                      void *font_data,
-                                      unsigned int count,
-                                      const hb_codepoint_t *first_glyph,
-                                      unsigned  glyph_stride,
-                                      hb_position_t *first_advance,
-                                      unsigned  advance_stride,
-                                      void *user_data);
-

A virtual method for the hb_font_funcs_t of an hb_font_t object.

-

This method should retrieve the advances for a sequence of glyphs.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

font

hb_font_t to work upon

 

font_data

font -user data pointer

 

count

The number of glyph IDs in the sequence queried

 

first_glyph

The first glyph ID to query

 

glyph_stride

The stride between successive glyph IDs

 

first_advance

The first advance retrieved.

[out]

advance_stride

The stride between successive advances

 

user_data

User data pointer passed by the caller

 
-
-
-
-
-

hb_font_get_glyph_contour_point ()

-
hb_bool_t
-hb_font_get_glyph_contour_point (hb_font_t *font,
-                                 hb_codepoint_t glyph,
-                                 unsigned int point_index,
-                                 hb_position_t *x,
-                                 hb_position_t *y);
-

Fetches the (x,y) coordinates of a specified contour-point index -in the specified glyph, within the specified font.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

font

hb_font_t to work upon

 

glyph

The glyph ID to query

 

point_index

The contour-point index to query

 

x

The X value retrieved for the contour point.

[out]

y

The Y value retrieved for the contour point.

[out]
-
-
-

Returns

-

true if data found, false otherwise

-
-

Since: 0.9.2

-
-
-
-

hb_font_get_glyph_contour_point_for_origin ()

-
hb_bool_t
-hb_font_get_glyph_contour_point_for_origin
-                               (hb_font_t *font,
-                                hb_codepoint_t glyph,
-                                unsigned int point_index,
-                                hb_direction_t direction,
-                                hb_position_t *x,
-                                hb_position_t *y);
-

Fetches the (X,Y) coordinates of a specified contour-point index -in the specified glyph ID in the specified font, with respect -to the origin in a text segment in the specified direction.

-

Calls the appropriate direction-specific variant (horizontal -or vertical) depending on the value of direction -.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

font

hb_font_t to work upon

 

glyph

The glyph ID to query

 

point_index

The contour-point index to query

 

direction

The direction of the text segment

 

x

The X value retrieved for the contour point.

[out]

y

The Y value retrieved for the contour point.

[out]
-
-
-

Returns

-

true if data found, false otherwise

-
-

Since: 0.9.2

-
-
-
-

hb_font_get_glyph_contour_point_func_t ()

-
hb_bool_t
-(*hb_font_get_glyph_contour_point_func_t)
-                               (hb_font_t *font,
-                                void *font_data,
-                                hb_codepoint_t glyph,
-                                unsigned int point_index,
-                                hb_position_t *x,
-                                hb_position_t *y,
-                                void *user_data);
-

A virtual method for the hb_font_funcs_t of an hb_font_t object.

-

This method should retrieve the (X,Y) coordinates (in font units) for a -specified contour point in a glyph. Each coordinate must be returned as -an hb_position_t output parameter.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

font

hb_font_t to work upon

 

font_data

font -user data pointer

 

glyph

The glyph ID to query

 

point_index

The contour-point index to query

 

x

The X value retrieved for the contour point.

[out]

y

The Y value retrieved for the contour point.

[out]

user_data

User data pointer passed by the caller

 
-
-
-

Returns

-

true if data found, false otherwise

-
-
-
-
-

hb_font_get_glyph_extents ()

-
hb_bool_t
-hb_font_get_glyph_extents (hb_font_t *font,
-                           hb_codepoint_t glyph,
-                           hb_glyph_extents_t *extents);
-

Fetches the hb_glyph_extents_t data for a glyph ID -in the specified font.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - -

font

hb_font_t to work upon

 

glyph

The glyph ID to query

 

extents

The hb_glyph_extents_t retrieved.

[out]
-
-
-

Returns

-

true if data found, false otherwise

-
-

Since: 0.9.2

-
-
-
-

hb_font_get_glyph_extents_for_origin ()

-
hb_bool_t
-hb_font_get_glyph_extents_for_origin (hb_font_t *font,
-                                      hb_codepoint_t glyph,
-                                      hb_direction_t direction,
-                                      hb_glyph_extents_t *extents);
-

Fetches the hb_glyph_extents_t data for a glyph ID -in the specified font, with respect to the origin in -a text segment in the specified direction.

-

Calls the appropriate direction-specific variant (horizontal -or vertical) depending on the value of direction -.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - -

font

hb_font_t to work upon

 

glyph

The glyph ID to query

 

direction

The direction of the text segment

 

extents

The hb_glyph_extents_t retrieved.

[out]
-
-
-

Returns

-

true if data found, false otherwise

-
-

Since: 0.9.2

-
-
-
-

hb_font_get_glyph_extents_func_t ()

-
hb_bool_t
-(*hb_font_get_glyph_extents_func_t) (hb_font_t *font,
-                                     void *font_data,
-                                     hb_codepoint_t glyph,
-                                     hb_glyph_extents_t *extents,
-                                     void *user_data);
-

A virtual method for the hb_font_funcs_t of an hb_font_t object.

-

This method should retrieve the extents for a specified glyph. Extents must be -returned in an hb_glyph_extents output parameter.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

font

hb_font_t to work upon

 

font_data

font -user data pointer

 

glyph

The glyph ID to query

 

extents

The hb_glyph_extents_t retrieved.

[out]

user_data

User data pointer passed by the caller

 
-
-
-

Returns

-

true if data found, false otherwise

-
-
-
-
-

hb_font_get_glyph_from_name ()

-
hb_bool_t
-hb_font_get_glyph_from_name (hb_font_t *font,
-                             const char *name,
-                             int len,
-                             hb_codepoint_t *glyph);
-

Fetches the glyph ID that corresponds to a name string in the specified font -.

-
Note: len == -1 means the name string is null-terminated.
-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - -

font

hb_font_t to work upon

 

name

The name string to query.

[array length=len]

len

The length of the name queried

 

glyph

The glyph ID retrieved.

[out]
-
-
-

Returns

-

true if data found, false otherwise

-
-

Since: 0.9.2

-
-
-
-

hb_font_get_glyph_from_name_func_t ()

-
hb_bool_t
-(*hb_font_get_glyph_from_name_func_t) (hb_font_t *font,
-                                       void *font_data,
-                                       const char *name,
-                                       int len,
-                                       hb_codepoint_t *glyph,
-                                       void *user_data);
-

A virtual method for the hb_font_funcs_t of an hb_font_t object.

-

This method should retrieve the glyph ID that corresponds to a glyph-name -string.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

font

hb_font_t to work upon

 

font_data

font -user data pointer

 

name

The name string to query.

[array length=len]

len

The length of the name queried

 

glyph

The glyph ID retrieved.

[out]

user_data

User data pointer passed by the caller

 
-
-
-

Returns

-

true if data found, false otherwise

-
-
-
-
-

hb_font_get_glyph_h_advance ()

-
hb_position_t
-hb_font_get_glyph_h_advance (hb_font_t *font,
-                             hb_codepoint_t glyph);
-

Fetches the advance for a glyph ID in the specified font, -for horizontal text segments.

-
-

Parameters

-
----- - - - - - - - - - - - - -

font

hb_font_t to work upon

 

glyph

The glyph ID to query

 
-
-
-

Returns

-

The advance of glyph -within font -

-
-

Since: 0.9.2

-
-
-
-

hb_font_get_glyph_h_advances ()

-
void
-hb_font_get_glyph_h_advances (hb_font_t *font,
-                              unsigned int count,
-                              const hb_codepoint_t *first_glyph,
-                              unsigned  glyph_stride,
-                              hb_position_t *first_advance,
-                              unsigned  advance_stride);
-

Fetches the advances for a sequence of glyph IDs in the specified -font, for horizontal text segments.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

font

hb_font_t to work upon

 

count

The number of glyph IDs in the sequence queried

 

first_glyph

The first glyph ID to query

 

glyph_stride

The stride between successive glyph IDs

 

first_advance

The first advance retrieved.

[out]

advance_stride

The stride between successive advances

 
-
-

Since: 1.8.6

-
-
-
-

hb_font_get_glyph_h_kerning ()

-
hb_position_t
-hb_font_get_glyph_h_kerning (hb_font_t *font,
-                             hb_codepoint_t left_glyph,
-                             hb_codepoint_t right_glyph);
-

Fetches the kerning-adjustment value for a glyph-pair in -the specified font, for horizontal text segments.

-
It handles legacy kerning only (as returned by the corresponding -hb_font_funcs_t function).
-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - -

font

hb_font_t to work upon

 

left_glyph

The glyph ID of the left glyph in the glyph pair

 

right_glyph

The glyph ID of the right glyph in the glyph pair

 
-
-
-

Returns

-

The kerning adjustment value

-
-

Since: 0.9.2

-
-
-
-

hb_font_get_glyph_h_origin ()

-
hb_bool_t
-hb_font_get_glyph_h_origin (hb_font_t *font,
-                            hb_codepoint_t glyph,
-                            hb_position_t *x,
-                            hb_position_t *y);
-

Fetches the (X,Y) coordinates of the origin for a glyph ID -in the specified font, for horizontal text segments.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - -

font

hb_font_t to work upon

 

glyph

The glyph ID to query

 

x

The X coordinate of the origin.

[out]

y

The Y coordinate of the origin.

[out]
-
-
-

Returns

-

true if data found, false otherwise

-
-

Since: 0.9.2

-
-
-
-

hb_font_get_glyph_kerning_for_direction ()

-
void
-hb_font_get_glyph_kerning_for_direction
-                               (hb_font_t *font,
-                                hb_codepoint_t first_glyph,
-                                hb_codepoint_t second_glyph,
-                                hb_direction_t direction,
-                                hb_position_t *x,
-                                hb_position_t *y);
-

Fetches the kerning-adjustment value for a glyph-pair in the specified font.

-

Calls the appropriate direction-specific variant (horizontal -or vertical) depending on the value of direction -.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

font

hb_font_t to work upon

 

first_glyph

The glyph ID of the first glyph in the glyph pair to query

 

second_glyph

The glyph ID of the second glyph in the glyph pair to query

 

direction

The direction of the text segment

 

x

The horizontal kerning-adjustment value retrieved.

[out]

y

The vertical kerning-adjustment value retrieved.

[out]
-
-

Since: 0.9.2

-
-
-
-

hb_font_get_glyph_kerning_func_t ()

-
hb_position_t
-(*hb_font_get_glyph_kerning_func_t) (hb_font_t *font,
-                                     void *font_data,
-                                     hb_codepoint_t first_glyph,
-                                     hb_codepoint_t second_glyph,
-                                     void *user_data);
-

This method should retrieve the kerning-adjustment value for a glyph-pair in -the specified font, for horizontal text segments.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

font

hb_font_t to work upon

 

font_data

font -user data pointer

 

first_glyph

The glyph ID of the first glyph in the glyph pair

 

second_glyph

The glyph ID of the second glyph in the glyph pair

 

user_data

User data pointer passed by the caller

 
-
-
-
-
-

hb_font_get_glyph_name ()

-
hb_bool_t
-hb_font_get_glyph_name (hb_font_t *font,
-                        hb_codepoint_t glyph,
-                        char *name,
-                        unsigned int size);
-

Fetches the glyph-name string for a glyph ID in the specified font -.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - -

font

hb_font_t to work upon

 

glyph

The glyph ID to query

 

name

Name string retrieved for the glyph ID.

[out][array length=size]

size

Length of the glyph-name string retrieved

 
-
-
-

Returns

-

true if data found, false otherwise

-
-

Since: 0.9.2

-
-
-
-

hb_font_get_glyph_name_func_t ()

-
hb_bool_t
-(*hb_font_get_glyph_name_func_t) (hb_font_t *font,
-                                  void *font_data,
-                                  hb_codepoint_t glyph,
-                                  char *name,
-                                  unsigned int size,
-                                  void *user_data);
-

A virtual method for the hb_font_funcs_t of an hb_font_t object.

-

This method should retrieve the glyph name that corresponds to a -glyph ID. The name should be returned in a string output parameter.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

font

hb_font_t to work upon

 

font_data

font -user data pointer

 

glyph

The glyph ID to query

 

name

Name string retrieved for the glyph ID.

[out][array length=size]

size

Length of the glyph-name string retrieved

 

user_data

User data pointer passed by the caller

 
-
-
-

Returns

-

true if data found, false otherwise

-
-
-
-
-

hb_font_get_glyph_origin_for_direction ()

-
void
-hb_font_get_glyph_origin_for_direction
-                               (hb_font_t *font,
-                                hb_codepoint_t glyph,
-                                hb_direction_t direction,
-                                hb_position_t *x,
-                                hb_position_t *y);
-

Fetches the (X,Y) coordinates of the origin for a glyph in -the specified font.

-

Calls the appropriate direction-specific variant (horizontal -or vertical) depending on the value of direction -.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

font

hb_font_t to work upon

 

glyph

The glyph ID to query

 

direction

The direction of the text segment

 

x

The X coordinate retrieved for the origin.

[out]

y

The Y coordinate retrieved for the origin.

[out]
-
-

Since: 0.9.2

-
-
-
-

hb_font_get_glyph_origin_func_t ()

-
hb_bool_t
-(*hb_font_get_glyph_origin_func_t) (hb_font_t *font,
-                                    void *font_data,
-                                    hb_codepoint_t glyph,
-                                    hb_position_t *x,
-                                    hb_position_t *y,
-                                    void *user_data);
-

A virtual method for the hb_font_funcs_t of an hb_font_t object.

-

This method should retrieve the (X,Y) coordinates (in font units) of the -origin for a glyph. Each coordinate must be returned in an hb_position_t -output parameter.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

font

hb_font_t to work upon

 

font_data

font -user data pointer

 

glyph

The glyph ID to query

 

x

The X coordinate of the origin.

[out]

y

The Y coordinate of the origin.

[out]

user_data

User data pointer passed by the caller

 
-
-
-

Returns

-

true if data found, false otherwise

-
-
-
-
-

hb_font_get_glyph_v_advance ()

-
hb_position_t
-hb_font_get_glyph_v_advance (hb_font_t *font,
-                             hb_codepoint_t glyph);
-

Fetches the advance for a glyph ID in the specified font, -for vertical text segments.

-
-

Parameters

-
----- - - - - - - - - - - - - -

font

hb_font_t to work upon

 

glyph

The glyph ID to query

 
-
-
-

Returns

-

The advance of glyph -within font -

-
-

Since: 0.9.2

-
-
-
-

hb_font_get_glyph_v_advances ()

-
void
-hb_font_get_glyph_v_advances (hb_font_t *font,
-                              unsigned int count,
-                              const hb_codepoint_t *first_glyph,
-                              unsigned  glyph_stride,
-                              hb_position_t *first_advance,
-                              unsigned  advance_stride);
-

Fetches the advances for a sequence of glyph IDs in the specified -font, for vertical text segments.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

font

hb_font_t to work upon

 

count

The number of glyph IDs in the sequence queried

 

first_glyph

The first glyph ID to query

 

glyph_stride

The stride between successive glyph IDs

 

first_advance

The first advance retrieved.

[out]

advance_stride

The stride between successive advances.

[out]
-
-

Since: 1.8.6

-
-
-
-

hb_font_get_glyph_v_origin ()

-
hb_bool_t
-hb_font_get_glyph_v_origin (hb_font_t *font,
-                            hb_codepoint_t glyph,
-                            hb_position_t *x,
-                            hb_position_t *y);
-

Fetches the (X,Y) coordinates of the origin for a glyph ID -in the specified font, for vertical text segments.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - -

font

hb_font_t to work upon

 

glyph

The glyph ID to query

 

x

The X coordinate of the origin.

[out]

y

The Y coordinate of the origin.

[out]
-
-
-

Returns

-

true if data found, false otherwise

-
-

Since: 0.9.2

-
-
-
-

hb_font_get_nominal_glyph ()

-
hb_bool_t
-hb_font_get_nominal_glyph (hb_font_t *font,
-                           hb_codepoint_t unicode,
-                           hb_codepoint_t *glyph);
-

Fetches the nominal glyph ID for a Unicode code point in the -specified font.

-

This version of the function should not be used to fetch glyph IDs -for code points modified by variation selectors. For variation-selector -support, user hb_font_get_variation_glyph() or use hb_font_get_glyph().

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - -

font

hb_font_t to work upon

 

unicode

The Unicode code point to query

 

glyph

The glyph ID retrieved.

[out]
-
-
-

Returns

-

true if data found, false otherwise

-
-

Since: 1.2.3

-
-
-
-

hb_font_get_nominal_glyph_func_t ()

-
hb_bool_t
-(*hb_font_get_nominal_glyph_func_t) (hb_font_t *font,
-                                     void *font_data,
-                                     hb_codepoint_t unicode,
-                                     hb_codepoint_t *glyph,
-                                     void *user_data);
-

A virtual method for the hb_font_funcs_t of an hb_font_t object.

-

This method should retrieve the nominal glyph ID for a specified Unicode code -point. Glyph IDs must be returned in a hb_codepoint_t output parameter.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

font

hb_font_t to work upon

 

font_data

font -user data pointer

 

unicode

The Unicode code point to query

 

glyph

The glyph ID retrieved.

[out]

user_data

User data pointer passed by the caller

 
-
-
-

Returns

-

true if data found, false otherwise

-
-
-
-
-

hb_font_get_nominal_glyphs ()

-
unsigned int
-hb_font_get_nominal_glyphs (hb_font_t *font,
-                            unsigned int count,
-                            const hb_codepoint_t *first_unicode,
-                            unsigned int unicode_stride,
-                            hb_codepoint_t *first_glyph,
-                            unsigned int glyph_stride);
-

Fetches the nominal glyph IDs for a sequence of Unicode code points. Glyph -IDs must be returned in a hb_codepoint_t output parameter.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

font

hb_font_t to work upon

 

count

number of code points to query

 

first_unicode

The first Unicode code point to query

 

unicode_stride

The stride between successive code points

 

first_glyph

The first glyph ID retrieved.

[out]

glyph_stride

The stride between successive glyph IDs

 
-
-
-

Returns

-

the number of code points processed

-
-

Since: 2.6.3

-
-
-
-

hb_font_get_nominal_glyphs_func_t ()

-
unsigned int
-(*hb_font_get_nominal_glyphs_func_t) (hb_font_t *font,
-                                      void *font_data,
-                                      unsigned int count,
-                                      const hb_codepoint_t *first_unicode,
-                                      unsigned int unicode_stride,
-                                      hb_codepoint_t *first_glyph,
-                                      unsigned int glyph_stride,
-                                      void *user_data);
-

A virtual method for the hb_font_funcs_t of an hb_font_t object.

-

This method should retrieve the nominal glyph IDs for a sequence of -Unicode code points. Glyph IDs must be returned in a hb_codepoint_t -output parameter.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

font

hb_font_t to work upon

 

font_data

font -user data pointer

 

count

number of code points to query

 

first_unicode

The first Unicode code point to query

 

unicode_stride

The stride between successive code points

 

first_glyph

The first glyph ID retrieved.

[out]

glyph_stride

The stride between successive glyph IDs

 

user_data

User data pointer passed by the caller

 
-
-
-

Returns

-

the number of code points processed

-
-
-
-
-

hb_font_get_parent ()

-
hb_font_t *
-hb_font_get_parent (hb_font_t *font);
-

Fetches the parent font of font -.

-
-

Parameters

-
----- - - - - - -

font

hb_font_t to work upon

 
-
-
-

Returns

-

The parent font object.

-

[transfer none]

-
-

Since: 0.9.2

-
-
-
-

hb_font_get_ppem ()

-
void
-hb_font_get_ppem (hb_font_t *font,
-                  unsigned int *x_ppem,
-                  unsigned int *y_ppem);
-

Fetches the horizontal and vertical points-per-em (ppem) of a font.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - -

font

hb_font_t to work upon

 

x_ppem

Horizontal ppem value.

[out]

y_ppem

Vertical ppem value.

[out]
-
-

Since: 0.9.2

-
-
-
-

hb_font_get_ptem ()

-
float
-hb_font_get_ptem (hb_font_t *font);
-

Fetches the "point size" of a font. Used in CoreText to -implement optical sizing.

-
-

Parameters

-
----- - - - - - -

font

hb_font_t to work upon

 
-
-
-

Returns

-

Point size. A value of zero means "not set."

-
-

Since: 0.9.2

-
-
-
-

hb_font_get_scale ()

-
void
-hb_font_get_scale (hb_font_t *font,
-                   int *x_scale,
-                   int *y_scale);
-

Fetches the horizontal and vertical scale of a font.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - -

font

hb_font_t to work upon

 

x_scale

Horizontal scale value.

[out]

y_scale

Vertical scale value.

[out]
-
-

Since: 0.9.2

-
-
-
-

hb_font_get_user_data ()

-
void *
-hb_font_get_user_data (hb_font_t *font,
-                       hb_user_data_key_t *key);
-

Fetches the user-data object associated with the specified key, -attached to the specified font object.

-

[skip]

-
-

Parameters

-
----- - - - - - - - - - - - - -

font

hb_font_t to work upon

 

key

The user-data key to query

 
-
-
-

Returns

-

Pointer to the user data.

-

[transfer none]

-
-

Since: 0.9.2

-
-
-
-

hb_font_get_variation_glyph ()

-
hb_bool_t
-hb_font_get_variation_glyph (hb_font_t *font,
-                             hb_codepoint_t unicode,
-                             hb_codepoint_t variation_selector,
-                             hb_codepoint_t *glyph);
-

Fetches the glyph ID for a Unicode code point when followed by -by the specified variation-selector code point, in the specified -font.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - -

font

hb_font_t to work upon

 

unicode

The Unicode code point to query

 

variation_selector

The variation-selector code point to query

 

glyph

The glyph ID retrieved.

[out]
-
-
-

Returns

-

true if data found, false otherwise

-
-

Since: 1.2.3

-
-
-
-

hb_font_get_variation_glyph_func_t ()

-
hb_bool_t
-(*hb_font_get_variation_glyph_func_t) (hb_font_t *font,
-                                       void *font_data,
-                                       hb_codepoint_t unicode,
-                                       hb_codepoint_t variation_selector,
-                                       hb_codepoint_t *glyph,
-                                       void *user_data);
-

A virtual method for the hb_font_funcs_t of an hb_font_t object.

-

This method should retrieve the glyph ID for a specified Unicode code point -followed by a specified Variation Selector code point. Glyph IDs must be -returned in a hb_codepoint_t output parameter.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

font

hb_font_t to work upon

 

font_data

font -user data pointer

 

unicode

The Unicode code point to query

 

variation_selector

The variation-selector code point to query

 

glyph

The glyph ID retrieved.

[out]

user_data

User data pointer passed by the caller

 
-
-
-

Returns

-

true if data found, false otherwise

-
-
-
-
-

hb_font_get_var_coords_normalized ()

-
const int *
-hb_font_get_var_coords_normalized (hb_font_t *font,
-                                   unsigned int *length);
-

Fetches the list of normalized variation coordinates currently -set on a font.

-

Return value is valid as long as variation coordinates of the font -are not modified.

-
-

Parameters

-
----- - - - - - - - - - - - - -

font

hb_font_t to work upon

 

length

Number of coordinates retrieved

 
-
-

Since: 1.4.2

-
-
-
-

hb_font_glyph_from_string ()

-
hb_bool_t
-hb_font_glyph_from_string (hb_font_t *font,
-                           const char *s,
-                           int len,
-                           hb_codepoint_t *glyph);
-

Fetches the glyph ID from font - that matches the specified string. -Strings of the format gidDDD or uniUUUU are parsed automatically.

-
Note: len == -1 means the string is null-terminated.
-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - -

font

hb_font_t to work upon

 

s

string to query.

[array length=len][element-type uint8_t]

len

The length of the string s -

 

glyph

The glyph ID corresponding to the string requested.

[out]
-
-
-

Returns

-

true if data found, false otherwise

-
-

Since: 0.9.2

-
-
-
-

hb_font_glyph_to_string ()

-
void
-hb_font_glyph_to_string (hb_font_t *font,
-                         hb_codepoint_t glyph,
-                         char *s,
-                         unsigned int size);
-

Fetches the name of the specified glyph ID in font - and returns -it in string s -.

-

If the glyph ID has no name in font -, a string of the form gidDDD is -generated, with DDD being the glyph ID.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - -

font

hb_font_t to work upon

 

glyph

The glyph ID to query

 

s

The string containing the glyph name.

[out][array length=size]

size

Length of string s -

 
-
-

Since: 0.9.2

-
-
-
-

hb_font_is_immutable ()

-
hb_bool_t
-hb_font_is_immutable (hb_font_t *font);
-

Tests whether a font object is immutable.

-
-

Parameters

-
----- - - - - - -

font

hb_font_t to work upon

 
-
-
-

Returns

-

true if font -is immutable, false otherwise

-
-

Since: 0.9.2

-
-
-
-

hb_font_make_immutable ()

-
void
-hb_font_make_immutable (hb_font_t *font);
-

Makes font - immutable.

-
-

Parameters

-
----- - - - - - -

font

hb_font_t to work upon

 
-
-

Since: 0.9.2

-
-
-
-

hb_font_reference ()

-
hb_font_t *
-hb_font_reference (hb_font_t *font);
-

Increases the reference count on the given font object.

-

[skip]

-
-

Parameters

-
----- - - - - - -

font

hb_font_t to work upon

 
-
-
-

Returns

-

The font -object.

-

[transfer full]

-
-

Since: 0.9.2

-
-
-
-

hb_font_set_face ()

-
void
-hb_font_set_face (hb_font_t *font,
-                  hb_face_t *face);
-

Sets face - as the font-face value of font -.

-
-

Parameters

-
----- - - - - - - - - - - - - -

font

hb_font_t to work upon

 

face

The hb_face_t to assign

 
-
-

Since: 1.4.3

-
-
-
-

hb_font_set_funcs ()

-
void
-hb_font_set_funcs (hb_font_t *font,
-                   hb_font_funcs_t *klass,
-                   void *font_data,
-                   hb_destroy_func_t destroy);
-

Replaces the font-functions structure attached to a font, updating -the font's user-data with font --data and the destroy - callback.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - -

font

hb_font_t to work upon

 

klass

The font-functions structure.

[closure font_data][destroy destroy][scope notified]

font_data

Data to attach to font -

 

destroy

The function to call when font_data -is not needed anymore.

[nullable]
-
-

Since: 0.9.2

-
-
-
-

hb_font_set_funcs_data ()

-
void
-hb_font_set_funcs_data (hb_font_t *font,
-                        void *font_data,
-                        hb_destroy_func_t destroy);
-

Replaces the user data attached to a font, updating the font's -destroy - callback.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - -

font

hb_font_t to work upon

 

font_data

Data to attach to font -.

[destroy destroy][scope notified]

destroy

The function to call when font_data -is not needed anymore.

[nullable]
-
-

Since: 0.9.2

-
-
-
-

hb_font_set_parent ()

-
void
-hb_font_set_parent (hb_font_t *font,
-                    hb_font_t *parent);
-

Sets the parent font of font -.

-
-

Parameters

-
----- - - - - - - - - - - - - -

font

hb_font_t to work upon

 

parent

The parent font object to assign

 
-
-

Since: 1.0.5

-
-
-
-

hb_font_set_ppem ()

-
void
-hb_font_set_ppem (hb_font_t *font,
-                  unsigned int x_ppem,
-                  unsigned int y_ppem);
-

Sets the horizontal and vertical pixels-per-em (ppem) of a font.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - -

font

hb_font_t to work upon

 

x_ppem

Horizontal ppem value to assign

 

y_ppem

Vertical ppem value to assign

 
-
-

Since: 0.9.2

-
-
-
-

hb_font_set_ptem ()

-
void
-hb_font_set_ptem (hb_font_t *font,
-                  float ptem);
-

Sets the "point size" of a font. Set to zero to unset. -Used in CoreText to implement optical sizing.

-
Note: There are 72 points in an inch.
-
-

Parameters

-
----- - - - - - - - - - - - - -

font

hb_font_t to work upon

 

ptem

font size in points.

 
-
-

Since: 1.6.0

-
-
-
-

hb_font_set_scale ()

-
void
-hb_font_set_scale (hb_font_t *font,
-                   int x_scale,
-                   int y_scale);
-

Sets the horizontal and vertical scale of a font.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - -

font

hb_font_t to work upon

 

x_scale

Horizontal scale value to assign

 

y_scale

Vertical scale value to assign

 
-
-

Since: 0.9.2

-
-
-
-

hb_font_set_user_data ()

-
hb_bool_t
-hb_font_set_user_data (hb_font_t *font,
-                       hb_user_data_key_t *key,
-                       void *data,
-                       hb_destroy_func_t destroy,
-                       hb_bool_t replace);
-

Attaches a user-data key/data pair to the specified font object.

-

[skip]

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

font

hb_font_t to work upon

 

key

The user-data key

 

data

A pointer to the user data

 

destroy

A callback to call when data -is not needed anymore.

[nullable]

replace

Whether to replace an existing data with the same key

 
-
-
-

Returns

-

true if success, false otherwise

-
-

Since: 0.9.2

-
-
-
-

hb_font_set_variations ()

-
void
-hb_font_set_variations (hb_font_t *font,
-                        const hb_variation_t *variations,
-                        unsigned int variations_length);
-

Applies a list of font-variation settings to a font.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - -

font

hb_font_t to work upon

 

variations

Array of variation settings to apply.

[array length=variations_length]

variations_length

Number of variations to apply

 
-
-

Since: 1.4.2

-
-
-
-

hb_font_set_var_coords_design ()

-
void
-hb_font_set_var_coords_design (hb_font_t *font,
-                               const float *coords,
-                               unsigned int coords_length);
-

Applies a list of variation coordinates (in design-space units) -to a font.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - -

font

hb_font_t to work upon

 

coords

Array of variation coordinates to apply.

[array length=coords_length]

coords_length

Number of coordinates to apply

 
-
-

Since: 1.4.2

-
-
-
-

hb_font_set_var_coords_normalized ()

-
void
-hb_font_set_var_coords_normalized (hb_font_t *font,
-                                   const int *coords,
-                                   unsigned int coords_length);
-

Applies a list of variation coordinates (in normalized units) -to a font.

-
Note: Coordinates should be normalized to 2.14.
-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - -

font

hb_font_t to work upon

 

coords

Array of variation coordinates to apply.

[array length=coords_length]

coords_length

Number of coordinates to apply

 
-
-

Since: 1.4.2

-
-
-
-

hb_font_set_var_named_instance ()

-
void
-hb_font_set_var_named_instance (hb_font_t *font,
-                                unsigned  instance_index);
-

Sets design coords of a font from a named instance index.

-
-

Parameters

-
----- - - - - - - - - - - - - -

font

a font.

 

instance_index

named instance index.

 
-
-

Since: 2.6.0

-
-
-
-

hb_font_subtract_glyph_origin_for_direction ()

-
void
-hb_font_subtract_glyph_origin_for_direction
-                               (hb_font_t *font,
-                                hb_codepoint_t glyph,
-                                hb_direction_t direction,
-                                hb_position_t *x,
-                                hb_position_t *y);
-

Subtracts the origin coordinates from an (X,Y) point coordinate, -in the specified glyph ID in the specified font.

-

Calls the appropriate direction-specific variant (horizontal -or vertical) depending on the value of direction -.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

font

hb_font_t to work upon

 

glyph

The glyph ID to query

 

direction

The direction of the text segment

 

x

Input = The original X coordinate -Output = The X coordinate minus the X-coordinate of the origin.

[inout]

y

Input = The original Y coordinate -Output = The Y coordinate minus the Y-coordinate of the origin.

[inout]
-
-

Since: 0.9.2

-
-
-
-

hb_reference_table_func_t ()

-
hb_blob_t *
-(*hb_reference_table_func_t) (hb_face_t *face,
-                              hb_tag_t tag,
-                              void *user_data);
-

Callback function for hb_face_create_for_tables().

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - -

face

an hb_face_t to reference table for

 

tag

the tag of the table to reference

 

user_data

User data pointer passed by the caller

 
-
-
-

Returns

-

A pointer to the tag -table within face -.

-

[transfer full]

-
-

Since: 0.9.2

-
-
-
-

hb_font_funcs_set_font_h_extents_func ()

-
void
-hb_font_funcs_set_font_h_extents_func (hb_font_funcs_t *ffuncs,
-                                       hb_font_get_font_h_extents_func_t func,
-                                       void *user_data,
-                                       hb_destroy_func_t destroy);
-

Sets the implementation function for hb_font_get_font_h_extents_func_t.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - -

ffuncs

A font-function structure

 

func

The callback function to assign.

[closure user_data][destroy destroy][scope notified]

user_data

Data to pass to func -

 

destroy

The function to call when user_data -is not needed anymore.

[nullable]
-
-

Since: 1.1.2

-
-
-
-

hb_font_funcs_set_font_v_extents_func ()

-
void
-hb_font_funcs_set_font_v_extents_func (hb_font_funcs_t *ffuncs,
-                                       hb_font_get_font_v_extents_func_t func,
-                                       void *user_data,
-                                       hb_destroy_func_t destroy);
-

Sets the implementation function for hb_font_get_font_v_extents_func_t.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - -

ffuncs

A font-function structure

 

func

The callback function to assign.

[closure user_data][destroy destroy][scope notified]

user_data

Data to pass to func -

 

destroy

The function to call when user_data -is not needed anymore.

[nullable]
-
-

Since: 1.1.2

-
-
-
-

hb_font_get_extents_for_direction ()

-
void
-hb_font_get_extents_for_direction (hb_font_t *font,
-                                   hb_direction_t direction,
-                                   hb_font_extents_t *extents);
-

Fetches the extents for a font in a text segment of the -specified direction.

-

Calls the appropriate direction-specific variant (horizontal -or vertical) depending on the value of direction -.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - -

font

hb_font_t to work upon

 

direction

The direction of the text segment

 

extents

The hb_font_extents_t retrieved.

[out]
-
-

Since: 1.1.3

-
-
-
-

hb_font_get_font_extents_func_t ()

-
hb_bool_t
-(*hb_font_get_font_extents_func_t) (hb_font_t *font,
-                                    void *font_data,
-                                    hb_font_extents_t *extents,
-                                    void *user_data);
-

This method should retrieve the extents for a font.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - -

font

hb_font_t to work upon

 

font_data

font -user data pointer

 

extents

The font extents retrieved.

[out]

user_data

User data pointer passed by the caller

 
-
-
-
-
-

hb_font_get_h_extents ()

-
hb_bool_t
-hb_font_get_h_extents (hb_font_t *font,
-                       hb_font_extents_t *extents);
-

Fetches the extents for a specified font, for horizontal -text segments.

-
-

Parameters

-
----- - - - - - - - - - - - - -

font

hb_font_t to work upon

 

extents

The font extents retrieved.

[out]
-
-
-

Returns

-

true if data found, false otherwise

-
-

Since: 1.1.3

-
-
-
-

hb_font_get_v_extents ()

-
hb_bool_t
-hb_font_get_v_extents (hb_font_t *font,
-                       hb_font_extents_t *extents);
-

Fetches the extents for a specified font, for vertical -text segments.

-
-

Parameters

-
----- - - - - - - - - - - - - -

font

hb_font_t to work upon

 

extents

The font extents retrieved.

[out]
-
-
-

Returns

-

true if data found, false otherwise

-
-

Since: 1.1.3

-
-
-
-

Types and Values

-
-

hb_font_funcs_t

-
typedef struct hb_font_funcs_t hb_font_funcs_t;
-
-

Data type containing a set of virtual methods used for -working on hb_font_t font objects.

-

HarfBuzz provides a lightweight default function for each of - -the methods in hb_font_funcs_t. Client programs can implement -their own replacements for the individual font functions, as -needed, and replace the default by calling the setter for a -method.

-
-
-
-

hb_font_get_glyph_h_advance_func_t

-
typedef hb_font_get_glyph_advance_func_t hb_font_get_glyph_h_advance_func_t;
-
-

A virtual method for the hb_font_funcs_t of an hb_font_t object.

-

This method should retrieve the advance for a specified glyph, in -horizontal-direction text segments. Advances must be returned in -an hb_position_t output parameter.

-
-
-
-

hb_font_get_glyph_h_advances_func_t

-
typedef hb_font_get_glyph_advances_func_t hb_font_get_glyph_h_advances_func_t;
-
-

A virtual method for the hb_font_funcs_t of an hb_font_t object.

-

This method should retrieve the advances for a sequence of glyphs, in -horizontal-direction text segments.

-
-
-
-

hb_font_get_glyph_h_kerning_func_t

-
typedef hb_font_get_glyph_kerning_func_t hb_font_get_glyph_h_kerning_func_t;
-
-

A virtual method for the hb_font_funcs_t of an hb_font_t object.

-

This method should retrieve the kerning-adjustment value for a glyph-pair in -the specified font, for horizontal text segments.

-
-
-
-

hb_font_get_glyph_h_origin_func_t

-
typedef hb_font_get_glyph_origin_func_t hb_font_get_glyph_h_origin_func_t;
-
-

A virtual method for the hb_font_funcs_t of an hb_font_t object.

-

This method should retrieve the (X,Y) coordinates (in font units) of the -origin for a glyph, for horizontal-direction text segments. Each -coordinate must be returned in an hb_position_t output parameter.

-
-
-
-

hb_font_get_glyph_v_advance_func_t

-
typedef hb_font_get_glyph_advance_func_t hb_font_get_glyph_v_advance_func_t;
-
-

A virtual method for the hb_font_funcs_t of an hb_font_t object.

-

This method should retrieve the advance for a specified glyph, in -vertical-direction text segments. Advances must be returned in -an hb_position_t output parameter.

-
-
-
-

hb_font_get_glyph_v_advances_func_t

-
typedef hb_font_get_glyph_advances_func_t hb_font_get_glyph_v_advances_func_t;
-
-

A virtual method for the hb_font_funcs_t of an hb_font_t object.

-

This method should retrieve the advances for a sequence of glyphs, in -vertical-direction text segments.

-
-
-
-

hb_font_get_glyph_v_origin_func_t

-
typedef hb_font_get_glyph_origin_func_t hb_font_get_glyph_v_origin_func_t;
-
-

A virtual method for the hb_font_funcs_t of an hb_font_t object.

-

This method should retrieve the (X,Y) coordinates (in font units) of the -origin for a glyph, for vertical-direction text segments. Each coordinate -must be returned in an hb_position_t output parameter.

-
-
-
-

hb_font_t

-
typedef struct hb_font_t hb_font_t;
-
-

Data type for holding fonts.

-
-
-
-

hb_font_get_font_h_extents_func_t

-
typedef hb_font_get_font_extents_func_t hb_font_get_font_h_extents_func_t;
-
-

A virtual method for the hb_font_funcs_t of an hb_font_t object.

-

This method should retrieve the extents for a font, for horizontal-direction -text segments. Extents must be returned in an hb_glyph_extents output -parameter.

-
-
-
-

hb_font_get_font_v_extents_func_t

-
typedef hb_font_get_font_extents_func_t hb_font_get_font_v_extents_func_t;
-
-

A virtual method for the hb_font_funcs_t of an hb_font_t object.

-

This method should retrieve the extents for a font, for vertical-direction -text segments. Extents must be returned in an hb_glyph_extents output -parameter.

-
-
-
-

hb_font_extents_t

-
typedef struct {
-  hb_position_t ascender;
-  hb_position_t descender;
-  hb_position_t line_gap;
-} hb_font_extents_t;
-
-

Font-wide extent values, measured in font units.

-

Note that typically ascender - is positive and descender - -negative, in coordinate systems that grow up.

-
-

Members

-
----- - - - - - - - - - - - - - - - - - -

hb_position_t ascender;

The height of typographic ascenders.

 

hb_position_t descender;

The depth of typographic descenders.

 

hb_position_t line_gap;

The suggested line-spacing gap.

 
-
-
-
-
-

hb_glyph_extents_t

-
typedef struct {
-  hb_position_t x_bearing;
-  hb_position_t y_bearing;
-  hb_position_t width;
-  hb_position_t height;
-} hb_glyph_extents_t;
-
-

Glyph extent values, measured in font units.

-

Note that height - is negative, in coordinate systems that grow up.

-
-

Members

-
----- - - - - - - - - - - - - - - - - - - - - - - -

hb_position_t x_bearing;

Distance from the x-origin to the left extremum of the glyph.

 

hb_position_t y_bearing;

Distance from the top extremum of the glyph to the y-origin.

 

hb_position_t width;

Distance from the left extremum of the glyph to the right extremum.

 

hb_position_t height;

Distance from the top extremum of the glyph to the bottom extremum.

 
-
-
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/harfbuzz-hb-ft.html b/harfbuzz/docs/html/harfbuzz-hb-ft.html deleted file mode 100644 index d5705d4..0000000 --- a/harfbuzz/docs/html/harfbuzz-hb-ft.html +++ /dev/null @@ -1,576 +0,0 @@ - - - - -hb-ft: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-
-
- - -
-

hb-ft

-

hb-ft — FreeType integration

-
-
-

Functions

-
---- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-hb_face_t * - -hb_ft_face_create () -
-hb_face_t * - -hb_ft_face_create_cached () -
-hb_face_t * - -hb_ft_face_create_referenced () -
-hb_font_t * - -hb_ft_font_create () -
-hb_font_t * - -hb_ft_font_create_referenced () -
-void - -hb_ft_font_changed () -
-FT_Face - -hb_ft_font_get_face () -
-FT_Face - -hb_ft_font_lock_face () -
-void - -hb_ft_font_unlock_face () -
-void - -hb_ft_font_set_load_flags () -
-int - -hb_ft_font_get_load_flags () -
-void - -hb_ft_font_set_funcs () -
-
-
-

Includes

-
#include <hb-ft.h>
-
-
-
-

Description

-

Functions for using HarfBuzz with the FreeType library.

-

HarfBuzz supports using FreeType to provide face and -font data.

-
Note that FreeType is not thread-safe, therefore these -functions are not thread-safe either.
-
-
-

Functions

-
-

hb_ft_face_create ()

-
hb_face_t *
-hb_ft_face_create (FT_Face ft_face,
-                   hb_destroy_func_t destroy);
-

Creates an hb_face_t face object from the specified FT_Face.

-

This variant of the function does not provide any life-cycle management.

-

Most client programs should use hb_ft_face_create_referenced() -(or, perhaps, hb_ft_face_create_cached()) instead.

-

If you know you have valid reasons not to use hb_ft_face_create_referenced(), -then it is the client program's responsibility to destroy ft_face - -after the hb_face_t face object has been destroyed.

-
-

Parameters

-
----- - - - - - - - - - - - - -

ft_face

FT_Face to work upon.

[destroy destroy][scope notified]

destroy

A callback to call when the face object is not needed anymore.

[nullable]
-
-
-

Returns

-

the new hb_face_t face object.

-

[transfer full]

-
-

Since: 0.9.2

-
-
-
-

hb_ft_face_create_cached ()

-
hb_face_t *
-hb_ft_face_create_cached (FT_Face ft_face);
-

Creates an hb_face_t face object from the specified FT_Face.

-

This variant of the function caches the newly created hb_face_t -face object, using the generic - pointer of ft_face -. Subsequent function -calls that are passed the same ft_face - parameter will have the same -hb_face_t returned to them, and that hb_face_t will be correctly -reference counted.

-

However, client programs are still responsible for destroying -ft_face - after the last hb_face_t face object has been destroyed.

-
-

Parameters

-
----- - - - - - -

ft_face

FT_Face to work upon

 
-
-
-

Returns

-

the new hb_face_t face object.

-

[transfer full]

-
-

Since: 0.9.2

-
-
-
-

hb_ft_face_create_referenced ()

-
hb_face_t *
-hb_ft_face_create_referenced (FT_Face ft_face);
-

Creates an hb_face_t face object from the specified FT_Face.

-

This is the preferred variant of the hb_ft_face_create* -function family, because it calls FT_Reference_Face() on ft_face -, -ensuring that ft_face - remains alive as long as the resulting -hb_face_t face object remains alive. Also calls FT_Done_Face() -when the hb_face_t face object is destroyed.

-

Use this version unless you know you have good reasons not to.

-
-

Parameters

-
----- - - - - - -

ft_face

FT_Face to work upon

 
-
-
-

Returns

-

the new hb_face_t face object.

-

[transfer full]

-
-

Since: 0.9.38

-
-
-
-

hb_ft_font_create ()

-
hb_font_t *
-hb_ft_font_create (FT_Face ft_face,
-                   hb_destroy_func_t destroy);
-

Creates an hb_font_t font object from the specified FT_Face.

-
Note: You must set the face size on ft_face before calling -hb_ft_font_create() on it. HarfBuzz assumes size is always set and will -access `size` member of FT_Face unconditionally.
-

This variant of the function does not provide any life-cycle management.

-

Most client programs should use hb_ft_font_create_referenced() -instead.

-

If you know you have valid reasons not to use hb_ft_font_create_referenced(), -then it is the client program's responsibility to destroy ft_face - -after the hb_font_t font object has been destroyed.

-

HarfBuzz will use the destroy - callback on the hb_font_t font object -if it is supplied when you use this function. However, even if destroy - -is provided, it is the client program's responsibility to destroy ft_face -, -and it is the client program's responsibility to ensure that ft_face - is -destroyed only after the hb_font_t font object has been destroyed.

-
-

Parameters

-
----- - - - - - - - - - - - - -

ft_face

FT_Face to work upon.

[destroy destroy][scope notified]

destroy

A callback to call when the font object is not needed anymore.

[nullable]
-
-
-

Returns

-

the new hb_font_t font object.

-

[transfer full]

-
-

Since: 0.9.2

-
-
-
-

hb_ft_font_create_referenced ()

-
hb_font_t *
-hb_ft_font_create_referenced (FT_Face ft_face);
-

Creates an hb_font_t font object from the specified FT_Face.

-
Note: You must set the face size on ft_face before calling -hb_ft_font_create_referenced() on it. HarfBuzz assumes size is always set -and will access `size` member of FT_Face unconditionally.
-

This is the preferred variant of the hb_ft_font_create* -function family, because it calls FT_Reference_Face() on ft_face -, -ensuring that ft_face - remains alive as long as the resulting -hb_font_t font object remains alive.

-

Use this version unless you know you have good reasons not to.

-
-

Parameters

-
----- - - - - - -

ft_face

FT_Face to work upon

 
-
-
-

Returns

-

the new hb_font_t font object.

-

[transfer full]

-
-

Since: 0.9.38

-
-
-
-

hb_ft_font_changed ()

-
void
-hb_ft_font_changed (hb_font_t *font);
-

Refreshes the state of font - when the underlying FT_Face has changed. -This function should be called after changing the size or -variation-axis settings on the FT_Face.

-
-

Parameters

-
----- - - - - - -

font

hb_font_t to work upon

 
-
-

Since: 1.0.5

-
-
-
-

hb_ft_font_get_face ()

-
FT_Face
-hb_ft_font_get_face (hb_font_t *font);
-

Fetches the FT_Face associated with the specified hb_font_t -font object.

-
-

Parameters

-
----- - - - - - -

font

hb_font_t to work upon

 
-
-
-

Returns

-

the FT_Face found or NULL.

-

[nullable]

-
-

Since: 0.9.2

-
-
-
-

hb_ft_font_lock_face ()

-
FT_Face
-hb_ft_font_lock_face (hb_font_t *font);
-

Gets the FT_Face associated with font -, This face will be kept around until -you call hb_ft_font_unlock_face().

-
-

Parameters

-
----- - - - - - -

font

hb_font_t to work upon

 
-
-
-

Returns

-

the FT_Face associated with font -or NULL.

-

[nullable]

-
-

Since: 2.6.5

-
-
-
-

hb_ft_font_unlock_face ()

-
void
-hb_ft_font_unlock_face (hb_font_t *font);
-

Releases an FT_Face previously obtained with hb_ft_font_lock_face().

-
-

Parameters

-
----- - - - - - -

font

hb_font_t to work upon

 
-
-

Since: 2.6.5

-
-
-
-

hb_ft_font_set_load_flags ()

-
void
-hb_ft_font_set_load_flags (hb_font_t *font,
-                           int load_flags);
-

Sets the FT_Load_Glyph load flags for the specified hb_font_t.

-

For more information, see -https://www.freetype.org/freetype2/docs/reference/ft2-base_interface.htmlft_load_xxx

-
-

Parameters

-
----- - - - - - - - - - - - - -

font

hb_font_t to work upon

 

load_flags

The FreeType load flags to set

 
-
-

Since: 1.0.5

-
-
-
-

hb_ft_font_get_load_flags ()

-
int
-hb_ft_font_get_load_flags (hb_font_t *font);
-

Fetches the FT_Load_Glyph load flags of the specified hb_font_t.

-

For more information, see -https://www.freetype.org/freetype2/docs/reference/ft2-base_interface.htmlft_load_xxx

-
-

Parameters

-
----- - - - - - -

font

hb_font_t to work upon

 
-
-
-

Returns

-

FT_Load_Glyph flags found

-
-

Since: 1.0.5

-
-
-
-

hb_ft_font_set_funcs ()

-
void
-hb_ft_font_set_funcs (hb_font_t *font);
-

Configures the font-functions structure of the specified -hb_font_t font object to use FreeType font functions.

-

In particular, you can use this function to configure an -existing hb_face_t face object for use with FreeType font -functions even if that hb_face_t face object was initially -created with hb_face_create(), and therefore was not -initially configured to use FreeType font functions.

-

An hb_face_t face object created with hb_ft_face_create() -is preconfigured for FreeType font functions and does not -require this function to be used.

-
Note: Internally, this function creates an FT_Face. -
-
-

Parameters

-
----- - - - - - -

font

hb_font_t to work upon

 
-
-

Since: 1.0.5

-
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/harfbuzz-hb-gdi.html b/harfbuzz/docs/html/harfbuzz-hb-gdi.html deleted file mode 100644 index a8eb09a..0000000 --- a/harfbuzz/docs/html/harfbuzz-hb-gdi.html +++ /dev/null @@ -1,93 +0,0 @@ - - - - -hb-gdi: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-
-
- - -
-

hb-gdi

-

hb-gdi — GDI integration

-
-
-

Functions

-
---- - - - - -
-hb_face_t * - -hb_gdi_face_create () -
-
-
-

Includes

-
#include <hb-gdi.h>
-
-
-
-

Description

-

Functions for using HarfBuzz with GDI fonts.

-
-
-

Functions

-
-

hb_gdi_face_create ()

-
hb_face_t *
-hb_gdi_face_create (HFONT hfont);
-

Constructs a new face object from the specified GDI HFONT.

-
-

Parameters

-
----- - - - - - -

hfont

a HFONT object.

 
-
-
-

Returns

-

hb_face_t object corresponding to the given input

-
-

Since: 2.6.0

-
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/harfbuzz-hb-glib.html b/harfbuzz/docs/html/harfbuzz-hb-glib.html deleted file mode 100644 index 03b4442..0000000 --- a/harfbuzz/docs/html/harfbuzz-hb-glib.html +++ /dev/null @@ -1,194 +0,0 @@ - - - - -hb-glib: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-
-
- - -
-

hb-glib

-

hb-glib — GLib integration

-
-
-

Functions

-
---- - - - - - - - - - - - - - - - - - - -
-hb_unicode_funcs_t * - -hb_glib_get_unicode_funcs () -
-GUnicodeScript - -hb_glib_script_from_script () -
-hb_script_t - -hb_glib_script_to_script () -
-hb_blob_t * - -hb_glib_blob_create () -
-
-
-

Includes

-
#include <hb-glib.h>
-
-
-
-

Description

-

Functions for using HarfBuzz with the GLib library.

-

HarfBuzz supports using GLib to provide Unicode data, by attaching -GLib functions to the virtual methods in a hb_unicode_funcs_t function -structure.

-
-
-

Functions

-
-

hb_glib_get_unicode_funcs ()

-
hb_unicode_funcs_t *
-hb_glib_get_unicode_funcs (void);
-

Fetches a Unicode-functions structure that is populated -with the appropriate GLib function for each method.

-
-

Returns

-

a pointer to the hb_unicode_funcs_t Unicode-functions structure.

-

[transfer none]

-
-

Since: 0.9.38

-
-
-
-

hb_glib_script_from_script ()

-
GUnicodeScript
-hb_glib_script_from_script (hb_script_t script);
-

Fetches the GUnicodeScript identifier that corresponds to the -specified hb_script_t script.

-
-

Parameters

-
----- - - - - - -

script

The hb_script_t to query

 
-
-
-

Returns

-

the GUnicodeScript identifier found

-
-

Since: 0.9.38

-
-
-
-

hb_glib_script_to_script ()

-
hb_script_t
-hb_glib_script_to_script (GUnicodeScript script);
-

Fetches the hb_script_t script that corresponds to the -specified GUnicodeScript identifier.

-
-

Parameters

-
----- - - - - - -

script

The GUnicodeScript identifier to query

 
-
-
-

Returns

-

the hb_script_t script found

-
-

Since: 0.9.38

-
-
-
-

hb_glib_blob_create ()

-
hb_blob_t *
-hb_glib_blob_create (GBytes *gbytes);
-

Creates an hb_blob_t blob from the specified -GBytes data structure.

-
-

Parameters

-
----- - - - - - -

gbytes

the GBytes structure to work upon

 
-
-
-

Returns

-

the new hb_blob_t blob object.

-

[transfer full]

-
-

Since: 0.9.38

-
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/harfbuzz-hb-graphite2.html b/harfbuzz/docs/html/harfbuzz-hb-graphite2.html deleted file mode 100644 index 8d2e314..0000000 --- a/harfbuzz/docs/html/harfbuzz-hb-graphite2.html +++ /dev/null @@ -1,122 +0,0 @@ - - - - -hb-graphite2: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-
-
- - -
-

hb-graphite2

-

hb-graphite2 — Graphite2 integration

-
-
-

Functions

-
---- - - - - -
-gr_face * - -hb_graphite2_face_get_gr_face () -
-
-
-

Types and Values

-
---- - - - - -
#defineHB_GRAPHITE2_TAG_SILF
-
-
-

Includes

-
#include <hb-graphite2.h>
-
-
-
-

Description

-

Functions for using HarfBuzz with fonts that include Graphite features.

-

For Graphite features to work, you must be sure that HarfBuzz was compiled -with the graphite2 shaping engine enabled. Currently, the default is to -not enable graphite2 shaping.

-
-
-

Functions

-
-

hb_graphite2_face_get_gr_face ()

-
gr_face *
-hb_graphite2_face_get_gr_face (hb_face_t *face);
-

Fetches the Graphite2 gr_face corresponding to the specified -hb_face_t face object.

-
-

Parameters

-
----- - - - - - -

face

hb_face_t -to query

 
-
-
-

Returns

-

the gr_face found

-
-

Since: 0.9.10

-
-
-
-

Types and Values

-
-

HB_GRAPHITE2_TAG_SILF

-
#define HB_GRAPHITE2_TAG_SILF HB_TAG('S','i','l','f')
-
-

The hb_tag_t tag for the Silf table, which holds Graphite -features.

-

For more information, see http://graphite.sil.org/

-
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/harfbuzz-hb-icu.html b/harfbuzz/docs/html/harfbuzz-hb-icu.html deleted file mode 100644 index 0b8d518..0000000 --- a/harfbuzz/docs/html/harfbuzz-hb-icu.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - -hb-icu: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-
-
- - -
-

hb-icu

-

hb-icu — ICU integration

-
-
-

Functions

-
---- - - - - - - - - - - - - - - -
-hb_unicode_funcs_t * - -hb_icu_get_unicode_funcs () -
-UScriptCode - -hb_icu_script_from_script () -
-hb_script_t - -hb_icu_script_to_script () -
-
-
-

Includes

-
#include <hb-icu.h>
-
-
-
-

Description

-

Functions for using HarfBuzz with the International Components for Unicode -(ICU) library. HarfBuzz supports using ICU to provide Unicode data, by attaching -ICU functions to the virtual methods in a hb_unicode_funcs_t function -structure.

-
-
-

Functions

-
-

hb_icu_get_unicode_funcs ()

-
hb_unicode_funcs_t *
-hb_icu_get_unicode_funcs (void);
-

Fetches a Unicode-functions structure that is populated -with the appropriate ICU function for each method.

-
-

Returns

-

a pointer to the hb_unicode_funcs_t Unicode-functions structure.

-

[transfer none]

-
-

Since: 0.9.38

-
-
-
-

hb_icu_script_from_script ()

-
UScriptCode
-hb_icu_script_from_script (hb_script_t script);
-

Fetches the UScriptCode identifier that corresponds to the -specified hb_script_t script.

-
-

Parameters

-
----- - - - - - -

script

The hb_script_t script to query

 
-
-
-

Returns

-

the UScriptCode identifier found

-
-
-
-
-

hb_icu_script_to_script ()

-
hb_script_t
-hb_icu_script_to_script (UScriptCode script);
-

Fetches the hb_script_t script that corresponds to the -specified UScriptCode identifier.

-
-

Parameters

-
----- - - - - - -

script

The UScriptCode identifier to query

 
-
-
-

Returns

-

the hb_script_t script found

-
-
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/harfbuzz-hb-map.html b/harfbuzz/docs/html/harfbuzz-hb-map.html deleted file mode 100644 index c49a42b..0000000 --- a/harfbuzz/docs/html/harfbuzz-hb-map.html +++ /dev/null @@ -1,637 +0,0 @@ - - - - -hb-map: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-
-
- - -
-

hb-map

-

hb-map — Object representing integer to integer mapping

-
-
-

Functions

-
---- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-hb_bool_t - -hb_map_allocation_successful () -
-void - -hb_map_clear () -
-hb_map_t * - -hb_map_create () -
-void - -hb_map_del () -
-void - -hb_map_destroy () -
-hb_codepoint_t - -hb_map_get () -
-hb_map_t * - -hb_map_get_empty () -
unsigned int - -hb_map_get_population () -
-void * - -hb_map_get_user_data () -
-hb_bool_t - -hb_map_has () -
-hb_bool_t - -hb_map_is_empty () -
-hb_map_t * - -hb_map_reference () -
-void - -hb_map_set () -
-hb_bool_t - -hb_map_set_user_data () -
-
-
-

Types and Values

-
---- - - - - - - - - - - -
#defineHB_MAP_VALUE_INVALID
typedefhb_map_t
-
-
-

Includes

-
#include <hb.h>
-
-
-
-

Description

-

Map objects are integer-to-integer hash-maps. Currently they are -not used in the HarfBuzz public API, but are provided for client's -use if desired.

-
-
-

Functions

-
-

hb_map_allocation_successful ()

-
hb_bool_t
-hb_map_allocation_successful (const hb_map_t *map);
-

Tests whether memory allocation for a set was successful.

-
-

Parameters

-
----- - - - - - -

map

A map

 
-
-
-

Returns

-

true if allocation succeeded, false otherwise

-
-

Since: 1.7.7

-
-
-
-

hb_map_clear ()

-
void
-hb_map_clear (hb_map_t *map);
-

Clears out the contents of map -.

-
-

Parameters

-
----- - - - - - -

map

A map

 
-
-

Since: 1.7.7

-
-
-
-

hb_map_create ()

-
hb_map_t *
-hb_map_create (void);
-

Creates a new, initially empty map.

-

[Xconstructor]

-
-

Returns

-

The new hb_map_t.

-

[transfer full]

-
-

Since: 1.7.7

-
-
-
-

hb_map_del ()

-
void
-hb_map_del (hb_map_t *map,
-            hb_codepoint_t key);
-

Removes key - and its stored value from map -.

-
-

Parameters

-
----- - - - - - - - - - - - - -

map

A map

 

key

The key to delete

 
-
-

Since: 1.7.7

-
-
-
-

hb_map_destroy ()

-
void
-hb_map_destroy (hb_map_t *map);
-

Decreases the reference count on a map. When -the reference count reaches zero, the map is -destroyed, freeing all memory.

-

[skip]

-
-

Parameters

-
----- - - - - - -

map

A map

 
-
-

Since: 1.7.7

-
-
-
-

hb_map_get ()

-
hb_codepoint_t
-hb_map_get (const hb_map_t *map,
-            hb_codepoint_t key);
-

Fetches the value stored for key - in map -.

-
-

Parameters

-
----- - - - - - - - - - - - - -

map

A map

 

key

The key to query

 
-
-

Since: 1.7.7

-
-
-
-

hb_map_get_empty ()

-
hb_map_t *
-hb_map_get_empty (void);
-

Fetches the singleton empty hb_map_t.

-
-

Returns

-

The empty hb_map_t.

-

[transfer full]

-
-

Since: 1.7.7

-
-
-
-

hb_map_get_population ()

-
unsigned int
-hb_map_get_population (const hb_map_t *map);
-

Returns the number of key-value pairs in the map.

-
-

Parameters

-
----- - - - - - -

map

A map

 
-
-
-

Returns

-

The population of map -

-
-

Since: 1.7.7

-
-
-
-

hb_map_get_user_data ()

-
void *
-hb_map_get_user_data (hb_map_t *map,
-                      hb_user_data_key_t *key);
-

Fetches the user data associated with the specified key, -attached to the specified map.

-

[skip]

-
-

Parameters

-
----- - - - - - - - - - - - - -

map

A map

 

key

The user-data key to query

 
-
-
-

Returns

-

A pointer to the user data.

-

[transfer none]

-
-

Since: 1.7.7

-
-
-
-

hb_map_has ()

-
hb_bool_t
-hb_map_has (const hb_map_t *map,
-            hb_codepoint_t key);
-

Tests whether key - is an element of map -.

-
-

Parameters

-
----- - - - - - - - - - - - - -

map

A map

 

key

The key to query

 
-
-
-

Returns

-

true if key -is found in map -, false otherwise

-
-

Since: 1.7.7

-
-
-
-

hb_map_is_empty ()

-
hb_bool_t
-hb_map_is_empty (const hb_map_t *map);
-

Tests whether map - is empty (contains no elements).

-
-

Parameters

-
----- - - - - - -

map

A map

 
-
-
-

Returns

-

true if map -is empty

-
-

Since: 1.7.7

-
-
-
-

hb_map_reference ()

-
hb_map_t *
-hb_map_reference (hb_map_t *map);
-

Increases the reference count on a map.

-

[skip]

-
-

Parameters

-
----- - - - - - -

map

A map

 
-
-
-

Returns

-

The map.

-

[transfer full]

-
-

Since: 1.7.7

-
-
-
-

hb_map_set ()

-
void
-hb_map_set (hb_map_t *map,
-            hb_codepoint_t key,
-            hb_codepoint_t value);
-

Stores key -:value - in the map.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - -

map

A map

 

key

The key to store in the map

 

value

The value to store for key -

 
-
-

Since: 1.7.7

-
-
-
-

hb_map_set_user_data ()

-
hb_bool_t
-hb_map_set_user_data (hb_map_t *map,
-                      hb_user_data_key_t *key,
-                      void *data,
-                      hb_destroy_func_t destroy,
-                      hb_bool_t replace);
-

Attaches a user-data key/data pair to the specified map.

-

[skip]

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

map

A map

 

key

The user-data key to set

 

data

A pointer to the user data to set

 

destroy

A callback to call when data -is not needed anymore.

[nullable]

replace

Whether to replace an existing data with the same key

 
-
-
-

Returns

-

true if success, false otherwise

-
-

Since: 1.7.7

-
-
-
-

Types and Values

-
-

HB_MAP_VALUE_INVALID

-
#define HB_MAP_VALUE_INVALID ((hb_codepoint_t) -1)
-
-

Unset hb_map_t value.

-

Since: 1.7.7

-
-
-
-

hb_map_t

-
typedef struct hb_map_t hb_map_t;
-
-

Data type for holding integer-to-integer hash maps.

-
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/harfbuzz-hb-ot-color.html b/harfbuzz/docs/html/harfbuzz-hb-ot-color.html deleted file mode 100644 index 49b5e0e..0000000 --- a/harfbuzz/docs/html/harfbuzz-hb-ot-color.html +++ /dev/null @@ -1,891 +0,0 @@ - - - - -hb-ot-color: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-
-
- - -
-

hb-ot-color

-

hb-ot-color — OpenType Color Fonts

-
-
-

Functions

-
---- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#define -HB_COLOR() -
-uint8_t - -hb_color_get_alpha () -
-uint8_t - -hb_color_get_blue () -
-uint8_t - -hb_color_get_green () -
-uint8_t - -hb_color_get_red () -
unsigned int - -hb_ot_color_glyph_get_layers () -
-hb_blob_t * - -hb_ot_color_glyph_reference_png () -
-hb_blob_t * - -hb_ot_color_glyph_reference_svg () -
-hb_bool_t - -hb_ot_color_has_layers () -
-hb_bool_t - -hb_ot_color_has_palettes () -
-hb_bool_t - -hb_ot_color_has_png () -
-hb_bool_t - -hb_ot_color_has_svg () -
-hb_ot_name_id_t - -hb_ot_color_palette_color_get_name_id () -
unsigned int - -hb_ot_color_palette_get_colors () -
unsigned int - -hb_ot_color_palette_get_count () -
-hb_ot_color_palette_flags_t - -hb_ot_color_palette_get_flags () -
-hb_ot_name_id_t - -hb_ot_color_palette_get_name_id () -
-
-
-

Types and Values

-
---- - - - - - - - - - - - - - - -
typedefhb_color_t
 hb_ot_color_layer_t
enumhb_ot_color_palette_flags_t
-
-
-

Includes

-
#include <hb-ot.h>
-
-
-
-

Description

-

Functions for fetching color-font information from OpenType font faces.

-

HarfBuzz supports COLR/CPAL, sbix, CBDT, and SVG color fonts.

-
-
-

Functions

-
-

HB_COLOR()

-
#define HB_COLOR(b,g,r,a) ((hb_color_t) HB_TAG ((b),(g),(r),(a)))
-
-

Constructs an hb_color_t from four integers.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - -

b

blue channel value

 

g

green channel value

 

r

red channel value

 

a

alpha channel value

 
-
-

Since: 2.1.0

-
-
-
-

hb_color_get_alpha ()

-
uint8_t
-hb_color_get_alpha (hb_color_t color);
-

Fetches the alpha channel of the given color -.

-
-

Parameters

-
----- - - - - - -

color

an hb_color_t we are interested in its channels.

 
-
-
-

Returns

-

Alpha channel value

-
-

Since: 2.1.0

-
-
-
-

hb_color_get_blue ()

-
uint8_t
-hb_color_get_blue (hb_color_t color);
-

Fetches the blue channel of the given color -.

-
-

Parameters

-
----- - - - - - -

color

an hb_color_t we are interested in its channels.

 
-
-
-

Returns

-

Blue channel value

-
-

Since: 2.1.0

-
-
-
-

hb_color_get_green ()

-
uint8_t
-hb_color_get_green (hb_color_t color);
-

Fetches the green channel of the given color -.

-
-

Parameters

-
----- - - - - - -

color

an hb_color_t we are interested in its channels.

 
-
-
-

Returns

-

Green channel value

-
-

Since: 2.1.0

-
-
-
-

hb_color_get_red ()

-
uint8_t
-hb_color_get_red (hb_color_t color);
-

Fetches the red channel of the given color -.

-
-

Parameters

-
----- - - - - - -

color

an hb_color_t we are interested in its channels.

 
-
-
-

Returns

-

Red channel value

-
-

Since: 2.1.0

-
-
-
-

hb_ot_color_glyph_get_layers ()

-
unsigned int
-hb_ot_color_glyph_get_layers (hb_face_t *face,
-                              hb_codepoint_t glyph,
-                              unsigned int start_offset,
-                              unsigned int *layer_count,
-                              hb_ot_color_layer_t *layers);
-

Fetches a list of all color layers for the specified glyph index in the specified -face. The list returned will begin at the offset provided.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

face

hb_face_t to work upon

 

glyph

The glyph index to query

 

start_offset

offset of the first layer to retrieve

 

layer_count

Input = the maximum number of layers to return; -Output = the actual number of layers returned (may be zero).

[inout][optional]

layers

The array of layers found.

[out][array length=layer_count][nullable]
-
-
-

Returns

-

Total number of layers available for the glyph index queried

-
-

Since: 2.1.0

-
-
-
-

hb_ot_color_glyph_reference_png ()

-
hb_blob_t *
-hb_ot_color_glyph_reference_png (hb_font_t *font,
-                                 hb_codepoint_t glyph);
-

Fetches the PNG image for a glyph. This function takes a font object, not a face object, -as input. To get an optimally sized PNG blob, the UPEM value must be set on the font - -object. If UPEM is unset, the blob returned will be the largest PNG available.

-
-

Parameters

-
----- - - - - - - - - - - - - -

font

hb_font_t to work upon

 

glyph

a glyph index

 
-
-
-

Returns

-

An hb_blob_t containing the PNG image for the glyph, if available.

-

[transfer full]

-
-

Since: 2.1.0

-
-
-
-

hb_ot_color_glyph_reference_svg ()

-
hb_blob_t *
-hb_ot_color_glyph_reference_svg (hb_face_t *face,
-                                 hb_codepoint_t glyph);
-

Fetches the SVG document for a glyph. The blob may be either plain text or gzip-encoded.

-
-

Parameters

-
----- - - - - - - - - - - - - -

face

hb_face_t to work upon

 

glyph

a svg glyph index

 
-
-
-

Returns

-

An hb_blob_t containing the SVG document of the glyph, if available.

-

[transfer full]

-
-

Since: 2.1.0

-
-
-
-

hb_ot_color_has_layers ()

-
hb_bool_t
-hb_ot_color_has_layers (hb_face_t *face);
-

Tests whether a face includes any COLR color layers.

-
-

Parameters

-
----- - - - - - -

face

hb_face_t to work upon

 
-
-
-

Returns

-

true if data found, false otherwise

-
-

Since: 2.1.0

-
-
-
-

hb_ot_color_has_palettes ()

-
hb_bool_t
-hb_ot_color_has_palettes (hb_face_t *face);
-

Tests whether a face includes a CPAL color-palette table.

-
-

Parameters

-
----- - - - - - -

face

hb_face_t to work upon

 
-
-
-

Returns

-

true if data found, false otherwise

-
-

Since: 2.1.0

-
-
-
-

hb_ot_color_has_png ()

-
hb_bool_t
-hb_ot_color_has_png (hb_face_t *face);
-

Tests whether a face has PNG glyph images (either in CBDT or sbix tables).

-
-

Parameters

-
----- - - - - - -

face

hb_face_t to work upon

 
-
-
-

Returns

-

true if data found, false otherwise

-
-

Since: 2.1.0

-
-
-
-

hb_ot_color_has_svg ()

-
hb_bool_t
-hb_ot_color_has_svg (hb_face_t *face);
-

Tests whether a face includes any SVG glyph images.

-
-

Parameters

-
----- - - - - - -

face

hb_face_t to work upon.

 
-
-
-

Returns

-

true if data found, false otherwise.

-
-

Since: 2.1.0

-
-
-
-

hb_ot_color_palette_color_get_name_id ()

-
hb_ot_name_id_t
-hb_ot_color_palette_color_get_name_id (hb_face_t *face,
-                                       unsigned int color_index);
-

Fetches the name table Name ID that provides display names for -the specificed color in a face's CPAL color palette.

-

Display names can be generic (e.g., "Background") or specific -(e.g., "Eye color").

-
-

Parameters

-
----- - - - - - - - - - - - - -

face

hb_face_t to work upon

 

color_index

The index of the color

 
-
-
-

Returns

-

the Name ID found for the color.

-
-

Since: 2.1.0

-
-
-
-

hb_ot_color_palette_get_colors ()

-
unsigned int
-hb_ot_color_palette_get_colors (hb_face_t *face,
-                                unsigned int palette_index,
-                                unsigned int start_offset,
-                                unsigned int *color_count,
-                                hb_color_t *colors);
-

Fetches a list of the colors in a color palette.

-

After calling this function, colors - will be filled with the palette -colors. If colors - is NULL, the function will just return the number -of total colors without storing any actual colors; this can be used -for allocating a buffer of suitable size before calling -hb_ot_color_palette_get_colors() a second time.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

face

hb_face_t to work upon

 

palette_index

the index of the color palette to query

 

start_offset

offset of the first color to retrieve

 

color_count

Input = the maximum number of colors to return; -Output = the actual number of colors returned (may be zero).

[inout][optional]

colors

The array of hb_color_t records found.

[out][array length=color_count][nullable]
-
-
-

Returns

-

the total number of colors in the palette

-
-

Since: 2.1.0

-
-
-
-

hb_ot_color_palette_get_count ()

-
unsigned int
-hb_ot_color_palette_get_count (hb_face_t *face);
-

Fetches the number of color palettes in a face.

-
-

Parameters

-
----- - - - - - -

face

hb_face_t to work upon

 
-
-
-

Returns

-

the number of palettes found

-
-

Since: 2.1.0

-
-
-
-

hb_ot_color_palette_get_flags ()

-
hb_ot_color_palette_flags_t
-hb_ot_color_palette_get_flags (hb_face_t *face,
-                               unsigned int palette_index);
-

Fetches the flags defined for a color palette.

-
-

Parameters

-
----- - - - - - - - - - - - - -

face

hb_face_t to work upon

 

palette_index

The index of the color palette

 
-
-
-

Returns

-

the hb_ot_color_palette_flags_t of the requested color palette

-
-

Since: 2.1.0

-
-
-
-

hb_ot_color_palette_get_name_id ()

-
hb_ot_name_id_t
-hb_ot_color_palette_get_name_id (hb_face_t *face,
-                                 unsigned int palette_index);
-

Fetches the name table Name ID that provides display names for -a CPAL color palette.

-

Palette display names can be generic (e.g., "Default") or provide -specific, themed names (e.g., "Spring", "Summer", "Fall", and "Winter").

-
-

Parameters

-
----- - - - - - - - - - - - - -

face

hb_face_t to work upon

 

palette_index

The index of the color palette

 
-
-
-

Returns

-

the Named ID found for the palette. -If the requested palette has no name the result is HB_OT_NAME_ID_INVALID.

-
-

Since: 2.1.0

-
-
-
-

Types and Values

-
-

hb_color_t

-
typedef uint32_t hb_color_t;
-
-

Data type for holding color values. Colors are eight bits per -channel RGB plus alpha transparency.

-

Since: 2.1.0

-
-
-
-

hb_ot_color_layer_t

-
typedef struct {
-  hb_codepoint_t glyph;
-  unsigned int   color_index;
-} hb_ot_color_layer_t;
-
-

Pairs of glyph and color index.

-
-

Members

-
----- - - - - - - - - - - - - -

hb_codepoint_t glyph;

the glyph ID of the layer

 

unsigned int color_index;

the palette color index of the layer

 
-
-

Since: 2.1.0

-
-
-
-

enum hb_ot_color_palette_flags_t

-

Flags that describe the properties of color palette.

-
-

Members

-
----- - - - - - - - - - - - - - - - - - -

HB_OT_COLOR_PALETTE_FLAG_DEFAULT

-

Default indicating that there is nothing special -to note about a color palette.

-
 

HB_OT_COLOR_PALETTE_FLAG_USABLE_WITH_LIGHT_BACKGROUND

-

Flag indicating that the color -palette is appropriate to use when displaying the font on a light background such as white.

-
 

HB_OT_COLOR_PALETTE_FLAG_USABLE_WITH_DARK_BACKGROUND

-

Flag indicating that the color -palette is appropriate to use when displaying the font on a dark background such as black.

-
 
-
-

Since: 2.1.0

-
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/harfbuzz-hb-ot-font.html b/harfbuzz/docs/html/harfbuzz-hb-ot-font.html deleted file mode 100644 index 23745aa..0000000 --- a/harfbuzz/docs/html/harfbuzz-hb-ot-font.html +++ /dev/null @@ -1,92 +0,0 @@ - - - - -hb-ot-font: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-
-
- - -
-

hb-ot-font

-

hb-ot-font — OpenType font implementation

-
-
-

Functions

-
---- - - - - -
-void - -hb_ot_font_set_funcs () -
-
-
-

Includes

-
#include <hb-ot.h>
-
-
-
-

Description

-

Functions for using OpenType fonts with hb_shape(). Note that fonts returned -by hb_font_create() default to using these functions, so most clients would -never need to call these functions directly.

-
-
-

Functions

-
-

hb_ot_font_set_funcs ()

-
void
-hb_ot_font_set_funcs (hb_font_t *font);
-

Sets the font functions to use when working with font -.

-
-

Parameters

-
----- - - - - - -

font

hb_font_t to work upon

 
-
-

Since: 0.9.28

-
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/harfbuzz-hb-ot-layout.html b/harfbuzz/docs/html/harfbuzz-hb-ot-layout.html deleted file mode 100644 index a4380a9..0000000 --- a/harfbuzz/docs/html/harfbuzz-hb-ot-layout.html +++ /dev/null @@ -1,2584 +0,0 @@ - - - - -hb-ot-layout: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-
-
- - -
-

hb-ot-layout

-

hb-ot-layout — OpenType Layout

-
-
-

Functions

-
---- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-hb_language_t - -hb_ot_tag_to_language () -
-hb_script_t - -hb_ot_tag_to_script () -
-void - -hb_ot_tags_from_script_and_language () -
-void - -hb_ot_tags_to_script_and_language () -
-void - -hb_ot_layout_collect_lookups () -
-void - -hb_ot_layout_collect_features () -
unsigned int - -hb_ot_layout_feature_get_characters () -
unsigned int - -hb_ot_layout_feature_get_lookups () -
-hb_bool_t - -hb_ot_layout_feature_get_name_ids () -
unsigned int - -hb_ot_layout_feature_with_variations_get_lookups () -
unsigned int - -hb_ot_layout_get_attach_points () -
-hb_bool_t - -hb_ot_layout_get_baseline () -
-hb_ot_layout_glyph_class_t - -hb_ot_layout_get_glyph_class () -
-void - -hb_ot_layout_get_glyphs_in_class () -
unsigned int - -hb_ot_layout_get_ligature_carets () -
-hb_bool_t - -hb_ot_layout_get_size_params () -
-hb_bool_t - -hb_ot_layout_has_glyph_classes () -
-hb_bool_t - -hb_ot_layout_has_positioning () -
-hb_bool_t - -hb_ot_layout_has_substitution () -
-hb_bool_t - -hb_ot_layout_language_find_feature () -
unsigned int - -hb_ot_layout_language_get_feature_indexes () -
unsigned int - -hb_ot_layout_language_get_feature_tags () -
-hb_bool_t - -hb_ot_layout_language_get_required_feature () -
-void - -hb_ot_layout_lookup_collect_glyphs () -
-unsigned - -hb_ot_layout_lookup_get_glyph_alternates () -
-void - -hb_ot_layout_lookup_substitute_closure () -
-void - -hb_ot_layout_lookups_substitute_closure () -
-hb_bool_t - -hb_ot_layout_lookup_would_substitute () -
unsigned int - -hb_ot_layout_script_get_language_tags () -
-hb_bool_t - -hb_ot_layout_script_select_language () -
-hb_bool_t - -hb_ot_layout_table_find_feature_variations () -
unsigned int - -hb_ot_layout_table_get_feature_tags () -
unsigned int - -hb_ot_layout_table_get_script_tags () -
unsigned int - -hb_ot_layout_table_get_lookup_count () -
-hb_bool_t - -hb_ot_layout_table_select_script () -
-void - -hb_ot_shape_plan_collect_lookups () -
-hb_bool_t - -hb_ot_layout_language_get_required_feature_index () -
-
-
-

Types and Values

- -
-
-

Includes

-
#include <hb-ot.h>
-
-
-
-

Description

-

Functions for querying OpenType Layout features in the font face.

-
-
-

Functions

-
-

hb_ot_tag_to_language ()

-
hb_language_t
-hb_ot_tag_to_language (hb_tag_t tag);
-

Converts a language tag to an hb_language_t.

-
-

Parameters

-
----- - - - - - -

tag

an language tag

 
-
-
-

Returns

-

The hb_language_t corresponding to tag -.

-

[transfer none][nullable]

-
-

Since: 0.9.2

-
-
-
-

hb_ot_tag_to_script ()

-
hb_script_t
-hb_ot_tag_to_script (hb_tag_t tag);
-

Converts a script tag to an hb_script_t.

-
-

Parameters

-
----- - - - - - -

tag

a script tag

 
-
-
-

Returns

-

The hb_script_t corresponding to tag -.

-
-
-
-
-

hb_ot_tags_from_script_and_language ()

-
void
-hb_ot_tags_from_script_and_language (hb_script_t script,
-                                     hb_language_t language,
-                                     unsigned int *script_count,
-                                     hb_tag_t *script_tags,
-                                     unsigned int *language_count,
-                                     hb_tag_t *language_tags);
-

Converts an hb_script_t and an hb_language_t to script and language tags.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

script

an hb_script_t to convert.

 

language

an hb_language_t to convert.

 

script_count

maximum number of script tags to retrieve (IN) -and actual number of script tags retrieved (OUT).

[inout][optional]

script_tags

array of size at least script_count -to store the -script tag results.

[out][optional]

language_count

maximum number of language tags to retrieve -(IN) and actual number of language tags retrieved (OUT).

[inout][optional]

language_tags

array of size at least language_count -to store -the language tag results.

[out][optional]
-
-

Since: 2.0.0

-
-
-
-

hb_ot_tags_to_script_and_language ()

-
void
-hb_ot_tags_to_script_and_language (hb_tag_t script_tag,
-                                   hb_tag_t language_tag,
-                                   hb_script_t *script,
-                                   hb_language_t *language);
-

Converts a script tag and a language tag to an hb_script_t and an -hb_language_t.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - -

script_tag

a script tag

 

language_tag

a language tag

 

script

the hb_script_t corresponding to script_tag -.

[out][optional]

language

the hb_language_t corresponding to script_tag -and -language_tag -.

[out][optional]
-
-

Since: 2.0.0

-
-
-
-

hb_ot_layout_collect_lookups ()

-
void
-hb_ot_layout_collect_lookups (hb_face_t *face,
-                              hb_tag_t table_tag,
-                              const hb_tag_t *scripts,
-                              const hb_tag_t *languages,
-                              const hb_tag_t *features,
-                              hb_set_t *lookup_indexes);
-

Fetches a list of all feature-lookup indexes in the specified face's GSUB -table or GPOS table, underneath the specified scripts, languages, and -features. If no list of scripts is provided, all scripts will be queried. -If no list of languages is provided, all languages will be queried. If no -list of features is provided, all features will be queried.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

face

hb_face_t to work upon

 

table_tag

HB_OT_TAG_GSUB or HB_OT_TAG_GPOS

 

scripts

The array of scripts to collect lookups for

 

languages

The array of languages to collect lookups for

 

features

The array of features to collect lookups for

 

lookup_indexes

The array of lookup indexes found for the query.

[out]
-
-

Since: 0.9.8

-
-
-
-

hb_ot_layout_collect_features ()

-
void
-hb_ot_layout_collect_features (hb_face_t *face,
-                               hb_tag_t table_tag,
-                               const hb_tag_t *scripts,
-                               const hb_tag_t *languages,
-                               const hb_tag_t *features,
-                               hb_set_t *feature_indexes);
-

Fetches a list of all feature indexes in the specified face's GSUB table -or GPOS table, underneath the specified scripts, languages, and features. -If no list of scripts is provided, all scripts will be queried. If no list -of languages is provided, all languages will be queried. If no list of -features is provided, all features will be queried.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

face

hb_face_t to work upon

 

table_tag

HB_OT_TAG_GSUB or HB_OT_TAG_GPOS

 

scripts

The array of scripts to collect features for

 

languages

The array of languages to collect features for

 

features

The array of features to collect

 

feature_indexes

The array of feature indexes found for the query.

[out]
-
-

Since: 1.8.5

-
-
-
-

hb_ot_layout_feature_get_characters ()

-
unsigned int
-hb_ot_layout_feature_get_characters (hb_face_t *face,
-                                     hb_tag_t table_tag,
-                                     unsigned int feature_index,
-                                     unsigned int start_offset,
-                                     unsigned int *char_count,
-                                     hb_codepoint_t *characters);
-

Fetches a list of the characters defined as having a variant under the specified -"Character Variant" ("cvXX") feature tag.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

face

hb_face_t to work upon

 

table_tag

table tag to query, "GSUB" or "GPOS".

 

feature_index

index of feature to query.

 

start_offset

offset of the first character to retrieve

 

char_count

Input = the maximum number of characters to return; -Output = the actual number of characters returned (may be zero).

[inout][optional]

characters

A buffer pointer. -The Unicode codepoints of the characters for which this feature provides -glyph variants.

[out caller-allocates][array length=char_count]
-
-
-

Returns

-

Number of total sample characters in the cvXX feature.

-
-

Since: 2.0.0

-
-
-
-

hb_ot_layout_feature_get_lookups ()

-
unsigned int
-hb_ot_layout_feature_get_lookups (hb_face_t *face,
-                                  hb_tag_t table_tag,
-                                  unsigned int feature_index,
-                                  unsigned int start_offset,
-                                  unsigned int *lookup_count,
-                                  unsigned int *lookup_indexes);
-

Fetches a list of all lookups enumerated for the specified feature, in -the specified face's GSUB table or GPOS table. The list returned will -begin at the offset provided.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

face

hb_face_t to work upon

 

table_tag

HB_OT_TAG_GSUB or HB_OT_TAG_GPOS

 

feature_index

The index of the requested feature

 

start_offset

offset of the first lookup to retrieve

 

lookup_count

Input = the maximum number of lookups to return; -Output = the actual number of lookups returned (may be zero).

[inout][optional]

lookup_indexes

The array of lookup indexes found for the query.

[out][array length=lookup_count]
-
-
-

Returns

-

Total number of lookups.

-
-

Since: 0.9.7

-
-
-
-

hb_ot_layout_feature_get_name_ids ()

-
hb_bool_t
-hb_ot_layout_feature_get_name_ids (hb_face_t *face,
-                                   hb_tag_t table_tag,
-                                   unsigned int feature_index,
-                                   hb_ot_name_id_t *label_id,
-                                   hb_ot_name_id_t *tooltip_id,
-                                   hb_ot_name_id_t *sample_id,
-                                   unsigned int *num_named_parameters,
-                                   hb_ot_name_id_t *first_param_id);
-

Fetches name indices from feature parameters for "Stylistic Set" ('ssXX') or -"Character Variant" ('cvXX') features.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

face

hb_face_t to work upon

 

table_tag

table tag to query, "GSUB" or "GPOS".

 

feature_index

index of feature to query.

 

label_id

The ‘name’ table name ID that specifies a string -for a user-interface label for this feature. (May be NULL.).

[out][optional]

tooltip_id

The ‘name’ table name ID that specifies a string -that an application can use for tooltip text for this -feature. (May be NULL.).

[out][optional]

sample_id

The ‘name’ table name ID that specifies sample text -that illustrates the effect of this feature. (May be NULL.).

[out][optional]

num_named_parameters

Number of named parameters. (May be zero.).

[out][optional]

first_param_id

The first ‘name’ table name ID used to specify -strings for user-interface labels for the feature -parameters. (Must be zero if numParameters is zero.).

[out][optional]
-
-
-

Returns

-

true if data found, false otherwise

-
-

Since: 2.0.0

-
-
-
-

hb_ot_layout_feature_with_variations_get_lookups ()

-
unsigned int
-hb_ot_layout_feature_with_variations_get_lookups
-                               (hb_face_t *face,
-                                hb_tag_t table_tag,
-                                unsigned int feature_index,
-                                unsigned int variations_index,
-                                unsigned int start_offset,
-                                unsigned int *lookup_count,
-                                unsigned int *lookup_indexes);
-

Fetches a list of all lookups enumerated for the specified feature, in -the specified face's GSUB table or GPOS table, enabled at the specified -variations index. The list returned will begin at the offset provided.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

face

hb_face_t to work upon

 

table_tag

HB_OT_TAG_GSUB or HB_OT_TAG_GPOS

 

feature_index

The index of the feature to query

 

variations_index

The index of the feature variation to query

 

start_offset

offset of the first lookup to retrieve

 

lookup_count

Input = the maximum number of lookups to return; -Output = the actual number of lookups returned (may be zero).

[inout][optional]

lookup_indexes

The array of lookups found for the query.

[out][array length=lookup_count]
-
-
-

Returns

-

Total number of lookups.

-
-
-
-
-

hb_ot_layout_get_attach_points ()

-
unsigned int
-hb_ot_layout_get_attach_points (hb_face_t *face,
-                                hb_codepoint_t glyph,
-                                unsigned int start_offset,
-                                unsigned int *point_count,
-                                unsigned int *point_array);
-

Fetches a list of all attachment points for the specified glyph in the GDEF -table of the face. The list returned will begin at the offset provided.

-

Useful if the client program wishes to cache the list.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

face

The hb_face_t to work on

 

glyph

The hb_codepoint_t code point to query

 

start_offset

offset of the first attachment point to retrieve

 

point_count

Input = the maximum number of attachment points to return; -Output = the actual number of attachment points returned (may be zero).

[inout][optional]

point_array

The array of attachment points found for the query.

[out][array length=point_count]
-
-
-

Returns

-

Total number of attachment points for glyph -.

-
-
-
-
-

hb_ot_layout_get_baseline ()

-
hb_bool_t
-hb_ot_layout_get_baseline (hb_font_t *font,
-                           hb_ot_layout_baseline_tag_t baseline_tag,
-                           hb_direction_t direction,
-                           hb_tag_t script_tag,
-                           hb_tag_t language_tag,
-                           hb_position_t *coord);
-

Fetches a baseline value from the face.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

font

a font

 

baseline_tag

a baseline tag

 

direction

text direction.

 

script_tag

script tag.

 

language_tag

language tag, currently unused.

 

coord

baseline value if found.

[out]
-
-
-

Returns

-

true if found baseline value in the font.

-
-

Since: 2.6.0

-
-
-
-

hb_ot_layout_get_glyph_class ()

-
hb_ot_layout_glyph_class_t
-hb_ot_layout_get_glyph_class (hb_face_t *face,
-                              hb_codepoint_t glyph);
-

Fetches the GDEF class of the requested glyph in the specified face.

-
-

Parameters

-
----- - - - - - - - - - - - - -

face

The hb_face_t to work on

 

glyph

The hb_codepoint_t code point to query

 
-
-
-

Returns

-

The hb_ot_layout_glyph_class_t glyph class of the given code -point in the GDEF table of the face.

-
-

Since: 0.9.7

-
-
-
-

hb_ot_layout_get_glyphs_in_class ()

-
void
-hb_ot_layout_get_glyphs_in_class (hb_face_t *face,
-                                  hb_ot_layout_glyph_class_t klass,
-                                  hb_set_t *glyphs);
-

Retrieves the set of all glyphs from the face that belong to the requested -glyph class in the face's GDEF table.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - -

face

The hb_face_t to work on

 

klass

The hb_ot_layout_glyph_class_t GDEF class to retrieve

 

glyphs

The hb_set_t set of all glyphs belonging to the requested -class.

[out]
-
-

Since: 0.9.7

-
-
-
-

hb_ot_layout_get_ligature_carets ()

-
unsigned int
-hb_ot_layout_get_ligature_carets (hb_font_t *font,
-                                  hb_direction_t direction,
-                                  hb_codepoint_t glyph,
-                                  unsigned int start_offset,
-                                  unsigned int *caret_count,
-                                  hb_position_t *caret_array);
-

Fetches a list of the caret positions defined for a ligature glyph in the GDEF -table of the font. The list returned will begin at the offset provided.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

font

The hb_font_t to work on

 

direction

The hb_direction_t text direction to use

 

glyph

The hb_codepoint_t code point to query

 

start_offset

offset of the first caret position to retrieve

 

caret_count

Input = the maximum number of caret positions to return; -Output = the actual number of caret positions returned (may be zero).

[inout][optional]

caret_array

The array of caret positions found for the query.

[out][array length=caret_count]
-
-
-

Returns

-

Total number of ligature caret positions for glyph -.

-
-
-
-
-

hb_ot_layout_get_size_params ()

-
hb_bool_t
-hb_ot_layout_get_size_params (hb_face_t *face,
-                              unsigned int *design_size,
-                              unsigned int *subfamily_id,
-                              hb_ot_name_id_t *subfamily_name_id,
-                              unsigned int *range_start,
-                              unsigned int *range_end);
-

Fetches optical-size feature data (i.e., the size feature from GPOS). Note that -the subfamily_id and the subfamily name string (accessible via the subfamily_name_id) -as used here are defined as pertaining only to fonts within a font family that differ -specifically in their respective size ranges; other ways to differentiate fonts within -a subfamily are not covered by the size feature.

-

For more information on this distinction, see the size feature documentation.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

face

hb_face_t to work upon

 

design_size

The design size of the face.

[out]

subfamily_id

The identifier of the face within the font subfamily.

[out]

subfamily_name_id

The ‘name’ table name ID of the face within the font subfamily.

[out]

range_start

The minimum size of the recommended size range for the face.

[out]

range_end

The maximum size of the recommended size range for the face.

[out]
-
-
-

Returns

-

true if data found, false otherwise

-
-

Since: 0.9.10

-
-
-
-

hb_ot_layout_has_glyph_classes ()

-
hb_bool_t
-hb_ot_layout_has_glyph_classes (hb_face_t *face);
-

Tests whether a face has any glyph classes defined in its GDEF table.

-
-

Parameters

-
----- - - - - - -

face

hb_face_t to work upon

 
-
-
-

Returns

-

true if data found, false otherwise

-
-
-
-
-

hb_ot_layout_has_positioning ()

-
hb_bool_t
-hb_ot_layout_has_positioning (hb_face_t *face);
-

Tests whether the specified face includes any GPOS positioning.

-
-

Parameters

-
----- - - - - - -

face

hb_face_t to work upon

 
-
-
-

Returns

-

true if the face has GPOS data, false otherwise

-
-
-
-
-

hb_ot_layout_has_substitution ()

-
hb_bool_t
-hb_ot_layout_has_substitution (hb_face_t *face);
-

Tests whether the specified face includes any GSUB substitutions.

-
-

Parameters

-
----- - - - - - -

face

hb_face_t to work upon

 
-
-
-

Returns

-

true if data found, false otherwise

-
-
-
-
-

hb_ot_layout_language_find_feature ()

-
hb_bool_t
-hb_ot_layout_language_find_feature (hb_face_t *face,
-                                    hb_tag_t table_tag,
-                                    unsigned int script_index,
-                                    unsigned int language_index,
-                                    hb_tag_t feature_tag,
-                                    unsigned int *feature_index);
-

Fetches the index of a given feature tag in the specified face's GSUB table -or GPOS table, underneath the specified script and language.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

face

hb_face_t to work upon

 

table_tag

HB_OT_TAG_GSUB or HB_OT_TAG_GPOS

 

script_index

The index of the requested script tag

 

language_index

The index of the requested language tag

 

feature_tag

hb_tag_t of the feature tag requested

 

feature_index

The index of the requested feature.

[out]
-
-
-

Returns

-

true if the feature is found, false otherwise

-
-
-
-
-

hb_ot_layout_language_get_feature_indexes ()

-
unsigned int
-hb_ot_layout_language_get_feature_indexes
-                               (hb_face_t *face,
-                                hb_tag_t table_tag,
-                                unsigned int script_index,
-                                unsigned int language_index,
-                                unsigned int start_offset,
-                                unsigned int *feature_count,
-                                unsigned int *feature_indexes);
-

Fetches a list of all features in the specified face's GSUB table -or GPOS table, underneath the specified script and language. The list -returned will begin at the offset provided.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

face

hb_face_t to work upon

 

table_tag

HB_OT_TAG_GSUB or HB_OT_TAG_GPOS

 

script_index

The index of the requested script tag

 

language_index

The index of the requested language tag

 

start_offset

offset of the first feature tag to retrieve

 

feature_count

Input = the maximum number of feature tags to return; -Output: the actual number of feature tags returned (may be zero).

[inout][optional]

feature_indexes

The array of feature indexes found for the query.

[out][array length=feature_count]
-
-
-

Returns

-

Total number of features.

-
-
-
-
-

hb_ot_layout_language_get_feature_tags ()

-
unsigned int
-hb_ot_layout_language_get_feature_tags
-                               (hb_face_t *face,
-                                hb_tag_t table_tag,
-                                unsigned int script_index,
-                                unsigned int language_index,
-                                unsigned int start_offset,
-                                unsigned int *feature_count,
-                                hb_tag_t *feature_tags);
-

Fetches a list of all features in the specified face's GSUB table -or GPOS table, underneath the specified script and language. The list -returned will begin at the offset provided.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

face

hb_face_t to work upon

 

table_tag

HB_OT_TAG_GSUB or HB_OT_TAG_GPOS

 

script_index

The index of the requested script tag

 

language_index

The index of the requested language tag

 

start_offset

offset of the first feature tag to retrieve

 

feature_count

Input = the maximum number of feature tags to return; -Output = the actual number of feature tags returned (may be zero).

[inout][optional]

feature_tags

The array of hb_tag_t feature tags found for the query.

[out][array length=feature_count]
-
-
-

Returns

-

Total number of feature tags.

-
-
-
-
-

hb_ot_layout_language_get_required_feature ()

-
hb_bool_t
-hb_ot_layout_language_get_required_feature
-                               (hb_face_t *face,
-                                hb_tag_t table_tag,
-                                unsigned int script_index,
-                                unsigned int language_index,
-                                unsigned int *feature_index,
-                                hb_tag_t *feature_tag);
-

Fetches the tag of a requested feature index in the given face's GSUB or GPOS table, -underneath the specified script and language.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

face

hb_face_t to work upon

 

table_tag

HB_OT_TAG_GSUB or HB_OT_TAG_GPOS

 

script_index

The index of the requested script tag

 

language_index

The index of the requested language tag

 

feature_index

The index of the requested feature.

[out]

feature_tag

The hb_tag_t of the requested feature.

[out]
-
-
-

Returns

-

true if the feature is found, false otherwise

-
-

Since: 0.9.30

-
-
-
-

hb_ot_layout_lookup_collect_glyphs ()

-
void
-hb_ot_layout_lookup_collect_glyphs (hb_face_t *face,
-                                    hb_tag_t table_tag,
-                                    unsigned int lookup_index,
-                                    hb_set_t *glyphs_before,
-                                    hb_set_t *glyphs_input,
-                                    hb_set_t *glyphs_after,
-                                    hb_set_t *glyphs_output);
-

Fetches a list of all glyphs affected by the specified lookup in the -specified face's GSUB table or GPOS table.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

face

hb_face_t to work upon

 

table_tag

HB_OT_TAG_GSUB or HB_OT_TAG_GPOS

 

lookup_index

The index of the feature lookup to query

 

glyphs_before

Array of glyphs preceding the substitution range.

[out]

glyphs_input

Array of input glyphs that would be substituted by the lookup.

[out]

glyphs_after

Array of glyphs following the substitution range.

[out]

glyphs_output

Array of glyphs that would be the substituted output of the lookup.

[out]
-
-

Since: 0.9.7

-
-
-
-

hb_ot_layout_lookup_get_glyph_alternates ()

-
unsigned
-hb_ot_layout_lookup_get_glyph_alternates
-                               (hb_face_t *face,
-                                unsigned  lookup_index,
-                                hb_codepoint_t glyph,
-                                unsigned  start_offset,
-                                unsigned *alternate_count,
-                                hb_codepoint_t *alternate_glyphs);
-

Fetches alternates of a glyph from a given GSUB lookup index.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

face

a face.

 

lookup_index

index of the feature lookup to query.

 

glyph

a glyph id.

 

start_offset

starting offset.

 

alternate_count

Input = the maximum number of alternate glyphs to return; -Output = the actual number of alternate glyphs returned (may be zero).

[inout][optional]

alternate_glyphs

A glyphs buffer. -Alternate glyphs associated with the glyph id.

[out caller-allocates][array length=alternate_count]
-
-
-

Returns

-

Total number of alternates found in the specific lookup index for the given glyph id.

-
-

Since: 2.6.8

-
-
-
-

hb_ot_layout_lookup_substitute_closure ()

-
void
-hb_ot_layout_lookup_substitute_closure
-                               (hb_face_t *face,
-                                unsigned int lookup_index,
-                                hb_set_t *glyphs);
-

Compute the transitive closure of glyphs needed for a -specified lookup.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - -

face

hb_face_t to work upon

 

lookup_index

index of the feature lookup to query

 

glyphs

Array of glyphs comprising the transitive closure of the lookup.

[out]
-
-

Since: 0.9.7

-
-
-
-

hb_ot_layout_lookups_substitute_closure ()

-
void
-hb_ot_layout_lookups_substitute_closure
-                               (hb_face_t *face,
-                                const hb_set_t *lookups,
-                                hb_set_t *glyphs);
-

Compute the transitive closure of glyphs needed for all of the -provided lookups.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - -

face

hb_face_t to work upon

 

lookups

The set of lookups to query

 

glyphs

Array of glyphs comprising the transitive closure of the lookups.

[out]
-
-

Since: 1.8.1

-
-
-
-

hb_ot_layout_lookup_would_substitute ()

-
hb_bool_t
-hb_ot_layout_lookup_would_substitute (hb_face_t *face,
-                                      unsigned int lookup_index,
-                                      const hb_codepoint_t *glyphs,
-                                      unsigned int glyphs_length,
-                                      hb_bool_t zero_context);
-

Tests whether a specified lookup in the specified face would -trigger a substitution on the given glyph sequence.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

face

hb_face_t to work upon

 

lookup_index

The index of the lookup to query

 

glyphs

The sequence of glyphs to query for substitution

 

glyphs_length

The length of the glyph sequence

 

zero_context

hb_bool_t indicating whether pre-/post-context are disallowed -in substitutions

 
-
-
-

Returns

-

true if a substitution would be triggered, false otherwise

-
-

Since: 0.9.7

-
-
-
-

hb_ot_layout_script_get_language_tags ()

-
unsigned int
-hb_ot_layout_script_get_language_tags (hb_face_t *face,
-                                       hb_tag_t table_tag,
-                                       unsigned int script_index,
-                                       unsigned int start_offset,
-                                       unsigned int *language_count,
-                                       hb_tag_t *language_tags);
-

Fetches a list of language tags in the given face's GSUB or GPOS table, underneath -the specified script index. The list returned will begin at the offset provided.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

face

hb_face_t to work upon

 

table_tag

HB_OT_TAG_GSUB or HB_OT_TAG_GPOS

 

script_index

The index of the requested script tag

 

start_offset

offset of the first language tag to retrieve

 

language_count

Input = the maximum number of language tags to return; -Output = the actual number of language tags returned (may be zero).

[inout][optional]

language_tags

Array of language tags found in the table.

[out][array length=language_count]
-
-
-

Returns

-

Total number of language tags.

-
-
-
-
-

hb_ot_layout_script_select_language ()

-
hb_bool_t
-hb_ot_layout_script_select_language (hb_face_t *face,
-                                     hb_tag_t table_tag,
-                                     unsigned int script_index,
-                                     unsigned int language_count,
-                                     const hb_tag_t *language_tags,
-                                     unsigned int *language_index);
-

Fetches the index of the first language tag fom language_tags - that is present -in the specified face's GSUB or GPOS table, underneath the specified script -index.

-

If none of the given language tags is found, false is returned and -language_index - is set to the default language index.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

face

hb_face_t to work upon

 

table_tag

HB_OT_TAG_GSUB or HB_OT_TAG_GPOS

 

script_index

The index of the requested script tag

 

language_count

The number of languages in the specified script

 

language_tags

The array of language tags

 

language_index

The index of the requested language.

[out]
-
-
-

Returns

-

true if one of the given language tags is found, false otherwise

-
-

Since: 2.0.0

-
-
-
-

hb_ot_layout_table_find_feature_variations ()

-
hb_bool_t
-hb_ot_layout_table_find_feature_variations
-                               (hb_face_t *face,
-                                hb_tag_t table_tag,
-                                const int *coords,
-                                unsigned int num_coords,
-                                unsigned int *variations_index);
-

Fetches a list of feature variations in the specified face's GSUB table -or GPOS table, at the specified variation coordinates.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

face

hb_face_t to work upon

 

table_tag

HB_OT_TAG_GSUB or HB_OT_TAG_GPOS

 

coords

The variation coordinates to query

 

num_coords

The number of variation coordinates

 

variations_index

The array of feature variations found for the query.

[out]
-
-
-

Returns

-

true if feature variations were found, false otherwise.

-
-
-
-
-

hb_ot_layout_table_get_feature_tags ()

-
unsigned int
-hb_ot_layout_table_get_feature_tags (hb_face_t *face,
-                                     hb_tag_t table_tag,
-                                     unsigned int start_offset,
-                                     unsigned int *feature_count,
-                                     hb_tag_t *feature_tags);
-

Fetches a list of all feature tags in the given face's GSUB or GPOS table.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

face

hb_face_t to work upon

 

table_tag

HB_OT_TAG_GSUB or HB_OT_TAG_GPOS

 

start_offset

offset of the first feature tag to retrieve

 

feature_count

Input = the maximum number of feature tags to return; -Output = the actual number of feature tags returned (may be zero).

[inout][optional]

feature_tags

Array of feature tags found in the table.

[out][array length=feature_count]
-
-
-

Returns

-

Total number of feature tags.

-
-
-
-
-

hb_ot_layout_table_get_script_tags ()

-
unsigned int
-hb_ot_layout_table_get_script_tags (hb_face_t *face,
-                                    hb_tag_t table_tag,
-                                    unsigned int start_offset,
-                                    unsigned int *script_count,
-                                    hb_tag_t *script_tags);
-

Fetches a list of all scripts enumerated in the specified face's GSUB table -or GPOS table. The list returned will begin at the offset provided.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

face

hb_face_t to work upon

 

table_tag

HB_OT_TAG_GSUB or HB_OT_TAG_GPOS

 

start_offset

offset of the first script tag to retrieve

 

script_count

Input = the maximum number of script tags to return; -Output = the actual number of script tags returned (may be zero).

[inout][optional]

script_tags

The array of hb_tag_t script tags found for the query.

[out][array length=script_count]
-
-
-

Returns

-

Total number of script tags.

-
-
-
-
-

hb_ot_layout_table_get_lookup_count ()

-
unsigned int
-hb_ot_layout_table_get_lookup_count (hb_face_t *face,
-                                     hb_tag_t table_tag);
-

Fetches the total number of lookups enumerated in the specified -face's GSUB table or GPOS table.

-
-

Parameters

-
----- - - - - - - - - - - - - -

face

hb_face_t to work upon

 

table_tag

HB_OT_TAG_GSUB or HB_OT_TAG_GPOS

 
-
-
-

Returns

-

Total number of lookups.

-
-

Since: 0.9.22

-
-
-
-

hb_ot_layout_table_select_script ()

-
hb_bool_t
-hb_ot_layout_table_select_script (hb_face_t *face,
-                                  hb_tag_t table_tag,
-                                  unsigned int script_count,
-                                  const hb_tag_t *script_tags,
-                                  unsigned int *script_index,
-                                  hb_tag_t *chosen_script);
-

Selects an OpenType script for table_tag - from the script_tags - array.

-

If the table does not have any of the requested scripts, then DFLT, -dflt, and latn tags are tried in that order. If the table still does not -have any of these scripts, script_index - and chosen_script - are set to -HB_OT_LAYOUT_NO_SCRIPT_INDEX.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

face

hb_face_t to work upon

 

table_tag

HB_OT_TAG_GSUB or HB_OT_TAG_GPOS

 

script_count

Number of script tags in the array

 

script_tags

Array of hb_tag_t script tags

 

script_index

The index of the requested script.

[out][optional]

chosen_script

hb_tag_t of the requested script.

[out][optional]
-
-
-

Returns

-

true if one of the requested scripts is selected, false if a fallback -script is selected or if no scripts are selected.

-
-

Since: 2.0.0

-
-
-
-

hb_ot_shape_plan_collect_lookups ()

-
void
-hb_ot_shape_plan_collect_lookups (hb_shape_plan_t *shape_plan,
-                                  hb_tag_t table_tag,
-                                  hb_set_t *lookup_indexes);
-

Computes the complete set of GSUB or GPOS lookups that are applicable -under a given shape_plan -.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - -

shape_plan

hb_shape_plan_t to query

 

table_tag

GSUB or GPOS

 

lookup_indexes

The hb_set_t set of lookups returned.

[out]
-
-

Since: 0.9.7

-
-
-
-

hb_ot_layout_language_get_required_feature_index ()

-
hb_bool_t
-hb_ot_layout_language_get_required_feature_index
-                               (hb_face_t *face,
-                                hb_tag_t table_tag,
-                                unsigned int script_index,
-                                unsigned int language_index,
-                                unsigned int *feature_index);
-

Fetches the index of a requested feature in the given face's GSUB or GPOS table, -underneath the specified script and language.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

face

hb_face_t to work upon

 

table_tag

HB_OT_TAG_GSUB or HB_OT_TAG_GPOS

 

script_index

The index of the requested script tag

 

language_index

The index of the requested language tag

 

feature_index

The index of the requested feature.

[out]
-
-
-

Returns

-

true if the feature is found, false otherwise

-
-
-
-
-

Types and Values

-
-

HB_OT_MAX_TAGS_PER_LANGUAGE

-
#define HB_OT_MAX_TAGS_PER_LANGUAGE 3u
-
-

Maximum number of OpenType tags that can correspond to a give hb_language_t.

-

Since: 2.0.0

-
-
-
-

HB_OT_MAX_TAGS_PER_SCRIPT

-
#define HB_OT_MAX_TAGS_PER_SCRIPT 3u
-
-

Maximum number of OpenType tags that can correspond to a give hb_script_t.

-

Since: 2.0.0

-
-
-
-

HB_OT_TAG_DEFAULT_LANGUAGE

-
#define HB_OT_TAG_DEFAULT_LANGUAGE HB_TAG ('d', 'f', 'l', 't')
-
-

OpenType language tag, dflt. Not a valid language tag, but some fonts -mistakenly use it.

-
-
-
-

HB_OT_TAG_DEFAULT_SCRIPT

-
#define HB_OT_TAG_DEFAULT_SCRIPT HB_TAG ('D', 'F', 'L', 'T')
-
-

OpenType script tag, DFLT, for features that are not script-specific.

-
-
-
-

HB_OT_LAYOUT_DEFAULT_LANGUAGE_INDEX

-
#define HB_OT_LAYOUT_DEFAULT_LANGUAGE_INDEX 0xFFFFu
-
-

Special value for language index indicating default or unsupported language.

-
-
-
-

HB_OT_LAYOUT_NO_FEATURE_INDEX

-
#define HB_OT_LAYOUT_NO_FEATURE_INDEX		0xFFFFu
-
-

Special value for feature index indicating unsupported feature.

-
-
-
-

HB_OT_LAYOUT_NO_SCRIPT_INDEX

-
#define HB_OT_LAYOUT_NO_SCRIPT_INDEX		0xFFFFu
-
-

Special value for script index indicating unsupported script.

-
-
-
-

HB_OT_LAYOUT_NO_VARIATIONS_INDEX

-
#define HB_OT_LAYOUT_NO_VARIATIONS_INDEX 0xFFFFFFFFu
-
-

Special value for variations index indicating unsupported variation.

-
-
-
-

HB_OT_TAG_BASE

-
#define HB_OT_TAG_BASE HB_TAG('B','A','S','E')
-
-

OpenType Baseline Table.

-
-
-
-

HB_OT_TAG_GDEF

-
#define HB_OT_TAG_GDEF HB_TAG('G','D','E','F')
-
-

OpenType Glyph Definition Table.

-
-
-
-

HB_OT_TAG_GPOS

-
#define HB_OT_TAG_GPOS HB_TAG('G','P','O','S')
-
-

OpenType Glyph Positioning Table.

-
-
-
-

HB_OT_TAG_GSUB

-
#define HB_OT_TAG_GSUB HB_TAG('G','S','U','B')
-
-

OpenType Glyph Substitution Table.

-
-
-
-

HB_OT_TAG_JSTF

-
#define HB_OT_TAG_JSTF HB_TAG('J','S','T','F')
-
-

OpenType Justification Table.

-
-
-
-

enum hb_ot_layout_baseline_tag_t

-

Baseline tags from Baseline Tags registry.

-
-

Members

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

HB_OT_LAYOUT_BASELINE_TAG_ROMAN

-

The baseline used by alphabetic scripts such as Latin, Cyrillic and Greek. -In vertical writing mode, the alphabetic baseline for characters rotated 90 degrees clockwise. -(This would not apply to alphabetic characters that remain upright in vertical writing mode, since these -characters are not rotated.)

-
 

HB_OT_LAYOUT_BASELINE_TAG_HANGING

-

The hanging baseline. In horizontal direction, this is the horizontal -line from which syllables seem, to hang in Tibetan and other similar scripts. In vertical writing mode, -for Tibetan (or some other similar script) characters rotated 90 degrees clockwise.

-
 

HB_OT_LAYOUT_BASELINE_TAG_IDEO_FACE_BOTTOM_OR_LEFT

-

Ideographic character face bottom or left edge, -if the direction is horizontal or vertical, respectively.

-
 

HB_OT_LAYOUT_BASELINE_TAG_IDEO_FACE_TOP_OR_RIGHT

-

Ideographic character face top or right edge, -if the direction is horizontal or vertical, respectively.

-
 

HB_OT_LAYOUT_BASELINE_TAG_IDEO_EMBOX_BOTTOM_OR_LEFT

-

Ideographic em-box bottom or left edge, -if the direction is horizontal or vertical, respectively.

-
 

HB_OT_LAYOUT_BASELINE_TAG_IDEO_EMBOX_TOP_OR_RIGHT

-

Ideographic em-box top or right edge baseline, -if the direction is horizontal or vertical, respectively.

-
 

HB_OT_LAYOUT_BASELINE_TAG_MATH

-

The baseline about which mathematical characters are centered. -In vertical writing mode when mathematical characters rotated 90 degrees clockwise, are centered.

-
 
-
-

Since: 2.6.0

-
-
-
-

enum hb_ot_layout_glyph_class_t

-

The GDEF classes defined for glyphs.

-
-

Members

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

HB_OT_LAYOUT_GLYPH_CLASS_UNCLASSIFIED

-

Glyphs not matching the other classifications

-
 

HB_OT_LAYOUT_GLYPH_CLASS_BASE_GLYPH

-

Spacing, single characters, capable of accepting marks

-
 

HB_OT_LAYOUT_GLYPH_CLASS_LIGATURE

-

Glyphs that represent ligation of multiple characters

-
 

HB_OT_LAYOUT_GLYPH_CLASS_MARK

-

Non-spacing, combining glyphs that represent marks

-
 

HB_OT_LAYOUT_GLYPH_CLASS_COMPONENT

-

Spacing glyphs that represent part of a single character

-
 
-
-
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/harfbuzz-hb-ot-math.html b/harfbuzz/docs/html/harfbuzz-hb-ot-math.html deleted file mode 100644 index b165fdb..0000000 --- a/harfbuzz/docs/html/harfbuzz-hb-ot-math.html +++ /dev/null @@ -1,1178 +0,0 @@ - - - - -hb-ot-math: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-
-
- - -
-

hb-ot-math

-

hb-ot-math — OpenType Math information

-
- -
-

Types and Values

-
---- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#defineHB_OT_TAG_MATH
#defineHB_OT_MATH_SCRIPT
enumhb_ot_math_constant_t
enumhb_ot_math_kern_t
 hb_ot_math_glyph_variant_t
enumhb_ot_math_glyph_part_flags_t
 hb_ot_math_glyph_part_t
-
-
-

Includes

-
#include <hb-ot.h>
-
-
-
-

Description

-

Functions for fetching mathematics layout data from OpenType fonts.

-

HarfBuzz itself does not implement a math layout solution. The -functions and types provided can be used by client programs to access -the font data necessary for typesetting OpenType Math layout.

-
-
-

Functions

-
-

hb_ot_math_has_data ()

-
hb_bool_t
-hb_ot_math_has_data (hb_face_t *face);
-

Tests whether a face has a MATH table.

-
-

Parameters

-
----- - - - - - -

face

hb_face_t to test

 
-
-
-

Returns

-

true if the table is found, false otherwise

-
-

Since: 1.3.3

-
-
-
-

hb_ot_math_get_constant ()

-
hb_position_t
-hb_ot_math_get_constant (hb_font_t *font,
-                         hb_ot_math_constant_t constant);
-

Fetches the specified math constant. For most constants, the value returned -is an hb_position_t.

-

However, if the requested constant is HB_OT_MATH_CONSTANT_SCRIPT_PERCENT_SCALE_DOWN, -HB_OT_MATH_CONSTANT_SCRIPT_SCRIPT_PERCENT_SCALE_DOWN or -HB_OT_MATH_CONSTANT_SCRIPT_PERCENT_SCALE_DOWN, then the return value is -an integer between 0 and 100 representing that percentage.

-
-

Parameters

-
----- - - - - - - - - - - - - -

font

hb_font_t to work upon

 

constant

hb_ot_math_constant_t the constant to retrieve

 
-
-
-

Returns

-

the requested constant or zero

-
-

Since: 1.3.3

-
-
-
-

hb_ot_math_get_glyph_italics_correction ()

-
hb_position_t
-hb_ot_math_get_glyph_italics_correction
-                               (hb_font_t *font,
-                                hb_codepoint_t glyph);
-

Fetches an italics-correction value (if one exists) for the specified -glyph index.

-
-

Parameters

-
----- - - - - - - - - - - - - -

font

hb_font_t to work upon

 

glyph

The glyph index from which to retrieve the value

 
-
-
-

Returns

-

the italics correction of the glyph or zero

-
-

Since: 1.3.3

-
-
-
-

hb_ot_math_get_glyph_top_accent_attachment ()

-
hb_position_t
-hb_ot_math_get_glyph_top_accent_attachment
-                               (hb_font_t *font,
-                                hb_codepoint_t glyph);
-

Fetches a top-accent-attachment value (if one exists) for the specified -glyph index.

-

For any glyph that does not have a top-accent-attachment value - that is, -a glyph not covered by the MathTopAccentAttachment table (or, when -font - has no MathTopAccentAttachment table or no MATH table, any -glyph) - the function synthesizes a value, returning the position at -one-half the glyph's advance width.

-
-

Parameters

-
----- - - - - - - - - - - - - -

font

hb_font_t to work upon

 

glyph

The glyph index from which to retrieve the value

 
-
-
-

Returns

-

the top accent attachment of the glyph or 0.5 * the advance -width of glyph -

-
-

Since: 1.3.3

-
-
-
-

hb_ot_math_get_glyph_kerning ()

-
hb_position_t
-hb_ot_math_get_glyph_kerning (hb_font_t *font,
-                              hb_codepoint_t glyph,
-                              hb_ot_math_kern_t kern,
-                              hb_position_t correction_height);
-

Fetches the math kerning (cut-ins) value for the specified font, glyph index, and -kern -.

-

If the MathKern table is found, the function examines it to find a height -value that is greater or equal to correction_height -. If such a height -value is found, corresponding kerning value from the table is returned. If -no such height value is found, the last kerning value is returned.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - -

font

hb_font_t to work upon

 

glyph

The glyph index from which to retrieve the value

 

kern

The hb_ot_math_kern_t from which to retrieve the value

 

correction_height

the correction height to use to determine the kerning.

 
-
-
-

Returns

-

requested kerning value or zero

-
-

Since: 1.3.3

-
-
-
-

hb_ot_math_is_glyph_extended_shape ()

-
hb_bool_t
-hb_ot_math_is_glyph_extended_shape (hb_face_t *face,
-                                    hb_codepoint_t glyph);
-

Tests whether the given glyph index is an extended shape in the face.

-
-

Parameters

-
----- - - - - - - - - - - - - -

face

hb_face_t to work upon

 

glyph

The glyph index to test

 
-
-
-

Returns

-

true if the glyph is an extended shape, false otherwise

-
-

Since: 1.3.3

-
-
-
-

hb_ot_math_get_glyph_variants ()

-
unsigned int
-hb_ot_math_get_glyph_variants (hb_font_t *font,
-                               hb_codepoint_t glyph,
-                               hb_direction_t direction,
-                               unsigned int start_offset,
-                               unsigned int *variants_count,
-                               hb_ot_math_glyph_variant_t *variants);
-

Fetches the MathGlyphConstruction for the specified font, glyph index, and -direction. The corresponding list of size variants is returned as a list of -hb_ot_math_glyph_variant_t structs.

-
The direction parameter is only used to select between horizontal -or vertical directions for the construction. Even though all hb_direction_t -values are accepted, only the result of HB_DIRECTION_IS_HORIZONTAL is -considered.
-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

font

hb_font_t to work upon

 

glyph

The index of the glyph to stretch

 

direction

The direction of the stretching (horizontal or vertical)

 

start_offset

offset of the first variant to retrieve

 

variants_count

Input = the maximum number of variants to return; -Output = the actual number of variants returned.

[inout]

variants

array of variants returned.

[out][array length=variants_count]
-
-
-

Returns

-

the total number of size variants available or zero

-
-

Since: 1.3.3

-
-
-
-

hb_ot_math_get_min_connector_overlap ()

-
hb_position_t
-hb_ot_math_get_min_connector_overlap (hb_font_t *font,
-                                      hb_direction_t direction);
-

Fetches the MathVariants table for the specified font and returns the -minimum overlap of connecting glyphs that are required to draw a glyph -assembly in the specified direction.

-
The direction parameter is only used to select between horizontal -or vertical directions for the construction. Even though all hb_direction_t -values are accepted, only the result of HB_DIRECTION_IS_HORIZONTAL is -considered.
-
-

Parameters

-
----- - - - - - - - - - - - - -

font

hb_font_t to work upon

 

direction

direction of the stretching (horizontal or vertical)

 
-
-
-

Returns

-

requested minimum connector overlap or zero

-
-

Since: 1.3.3

-
-
-
-

hb_ot_math_get_glyph_assembly ()

-
unsigned int
-hb_ot_math_get_glyph_assembly (hb_font_t *font,
-                               hb_codepoint_t glyph,
-                               hb_direction_t direction,
-                               unsigned int start_offset,
-                               unsigned int *parts_count,
-                               hb_ot_math_glyph_part_t *parts,
-                               hb_position_t *italics_correction);
-

Fetches the GlyphAssembly for the specified font, glyph index, and direction. -Returned are a list of hb_ot_math_glyph_part_t glyph parts that can be -used to draw the glyph and an italics-correction value (if one is defined -in the font).

-
The direction parameter is only used to select between horizontal -or vertical directions for the construction. Even though all hb_direction_t -values are accepted, only the result of HB_DIRECTION_IS_HORIZONTAL is -considered.
-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

font

hb_font_t to work upon

 

glyph

The index of the glyph to stretch

 

direction

direction of the stretching (horizontal or vertical)

 

start_offset

offset of the first glyph part to retrieve

 

parts_count

Input = maximum number of glyph parts to return; -Output = actual number of parts returned.

[inout]

parts

the glyph parts returned.

[out][array length=parts_count]

italics_correction

italics correction of the glyph assembly.

[out]
-
-
-

Returns

-

the total number of parts in the glyph assembly

-
-

Since: 1.3.3

-
-
-
-

Types and Values

-
-

HB_OT_TAG_MATH

-
#define HB_OT_TAG_MATH HB_TAG('M','A','T','H')
-
-

OpenType Mathematical Typesetting Table.

-

Since: 1.3.3

-
-
-
-

HB_OT_MATH_SCRIPT

-
#define HB_OT_MATH_SCRIPT HB_TAG('m','a','t','h')
-
-

OpenType script tag for math shaping, for use with -Use with hb_buffer_set_script().

-

Since: 1.3.3

-
-
-
-

enum hb_ot_math_constant_t

-

The 'MATH' table constants, refer to -OpenType documentation -For more explanations.

-
-

Members

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

HB_OT_MATH_CONSTANT_SCRIPT_PERCENT_SCALE_DOWN

-

scriptPercentScaleDown

-
 

HB_OT_MATH_CONSTANT_SCRIPT_SCRIPT_PERCENT_SCALE_DOWN

-

scriptScriptPercentScaleDown

-
 

HB_OT_MATH_CONSTANT_DELIMITED_SUB_FORMULA_MIN_HEIGHT

-

delimitedSubFormulaMinHeight

-
 

HB_OT_MATH_CONSTANT_DISPLAY_OPERATOR_MIN_HEIGHT

-

displayOperatorMinHeight

-
 

HB_OT_MATH_CONSTANT_MATH_LEADING

-

mathLeading

-
 

HB_OT_MATH_CONSTANT_AXIS_HEIGHT

-

axisHeight

-
 

HB_OT_MATH_CONSTANT_ACCENT_BASE_HEIGHT

-

accentBaseHeight

-
 

HB_OT_MATH_CONSTANT_FLATTENED_ACCENT_BASE_HEIGHT

-

flattenedAccentBaseHeight

-
 

HB_OT_MATH_CONSTANT_SUBSCRIPT_SHIFT_DOWN

-

subscriptShiftDown

-
 

HB_OT_MATH_CONSTANT_SUBSCRIPT_TOP_MAX

-

subscriptTopMax

-
 

HB_OT_MATH_CONSTANT_SUBSCRIPT_BASELINE_DROP_MIN

-

subscriptBaselineDropMin

-
 

HB_OT_MATH_CONSTANT_SUPERSCRIPT_SHIFT_UP

-

superscriptShiftUp

-
 

HB_OT_MATH_CONSTANT_SUPERSCRIPT_SHIFT_UP_CRAMPED

-

superscriptShiftUpCramped

-
 

HB_OT_MATH_CONSTANT_SUPERSCRIPT_BOTTOM_MIN

-

superscriptBottomMin

-
 

HB_OT_MATH_CONSTANT_SUPERSCRIPT_BASELINE_DROP_MAX

-

superscriptBaselineDropMax

-
 

HB_OT_MATH_CONSTANT_SUB_SUPERSCRIPT_GAP_MIN

-

subSuperscriptGapMin

-
 

HB_OT_MATH_CONSTANT_SUPERSCRIPT_BOTTOM_MAX_WITH_SUBSCRIPT

-

superscriptBottomMaxWithSubscript

-
 

HB_OT_MATH_CONSTANT_SPACE_AFTER_SCRIPT

-

spaceAfterScript

-
 

HB_OT_MATH_CONSTANT_UPPER_LIMIT_GAP_MIN

-

upperLimitGapMin

-
 

HB_OT_MATH_CONSTANT_UPPER_LIMIT_BASELINE_RISE_MIN

-

upperLimitBaselineRiseMin

-
 

HB_OT_MATH_CONSTANT_LOWER_LIMIT_GAP_MIN

-

lowerLimitGapMin

-
 

HB_OT_MATH_CONSTANT_LOWER_LIMIT_BASELINE_DROP_MIN

-

lowerLimitBaselineDropMin

-
 

HB_OT_MATH_CONSTANT_STACK_TOP_SHIFT_UP

-

stackTopShiftUp

-
 

HB_OT_MATH_CONSTANT_STACK_TOP_DISPLAY_STYLE_SHIFT_UP

-

stackTopDisplayStyleShiftUp

-
 

HB_OT_MATH_CONSTANT_STACK_BOTTOM_SHIFT_DOWN

-

stackBottomShiftDown

-
 

HB_OT_MATH_CONSTANT_STACK_BOTTOM_DISPLAY_STYLE_SHIFT_DOWN

-

stackBottomDisplayStyleShiftDown

-
 

HB_OT_MATH_CONSTANT_STACK_GAP_MIN

-

stackGapMin

-
 

HB_OT_MATH_CONSTANT_STACK_DISPLAY_STYLE_GAP_MIN

-

stackDisplayStyleGapMin

-
 

HB_OT_MATH_CONSTANT_STRETCH_STACK_TOP_SHIFT_UP

-

stretchStackTopShiftUp

-
 

HB_OT_MATH_CONSTANT_STRETCH_STACK_BOTTOM_SHIFT_DOWN

-

stretchStackBottomShiftDown

-
 

HB_OT_MATH_CONSTANT_STRETCH_STACK_GAP_ABOVE_MIN

-

stretchStackGapAboveMin

-
 

HB_OT_MATH_CONSTANT_STRETCH_STACK_GAP_BELOW_MIN

-

stretchStackGapBelowMin

-
 

HB_OT_MATH_CONSTANT_FRACTION_NUMERATOR_SHIFT_UP

-

fractionNumeratorShiftUp

-
 

HB_OT_MATH_CONSTANT_FRACTION_NUMERATOR_DISPLAY_STYLE_SHIFT_UP

-

fractionNumeratorDisplayStyleShiftUp

-
 

HB_OT_MATH_CONSTANT_FRACTION_DENOMINATOR_SHIFT_DOWN

-

fractionDenominatorShiftDown

-
 

HB_OT_MATH_CONSTANT_FRACTION_DENOMINATOR_DISPLAY_STYLE_SHIFT_DOWN

-

fractionDenominatorDisplayStyleShiftDown

-
 

HB_OT_MATH_CONSTANT_FRACTION_NUMERATOR_GAP_MIN

-

fractionNumeratorGapMin

-
 

HB_OT_MATH_CONSTANT_FRACTION_NUM_DISPLAY_STYLE_GAP_MIN

-

fractionNumDisplayStyleGapMin

-
 

HB_OT_MATH_CONSTANT_FRACTION_RULE_THICKNESS

-

fractionRuleThickness

-
 

HB_OT_MATH_CONSTANT_FRACTION_DENOMINATOR_GAP_MIN

-

fractionDenominatorGapMin

-
 

HB_OT_MATH_CONSTANT_FRACTION_DENOM_DISPLAY_STYLE_GAP_MIN

-

fractionDenomDisplayStyleGapMin

-
 

HB_OT_MATH_CONSTANT_SKEWED_FRACTION_HORIZONTAL_GAP

-

skewedFractionHorizontalGap

-
 

HB_OT_MATH_CONSTANT_SKEWED_FRACTION_VERTICAL_GAP

-

skewedFractionVerticalGap

-
 

HB_OT_MATH_CONSTANT_OVERBAR_VERTICAL_GAP

-

overbarVerticalGap

-
 

HB_OT_MATH_CONSTANT_OVERBAR_RULE_THICKNESS

-

overbarRuleThickness

-
 

HB_OT_MATH_CONSTANT_OVERBAR_EXTRA_ASCENDER

-

overbarExtraAscender

-
 

HB_OT_MATH_CONSTANT_UNDERBAR_VERTICAL_GAP

-

underbarVerticalGap

-
 

HB_OT_MATH_CONSTANT_UNDERBAR_RULE_THICKNESS

-

underbarRuleThickness

-
 

HB_OT_MATH_CONSTANT_UNDERBAR_EXTRA_DESCENDER

-

underbarExtraDescender

-
 

HB_OT_MATH_CONSTANT_RADICAL_VERTICAL_GAP

-

radicalVerticalGap

-
 

HB_OT_MATH_CONSTANT_RADICAL_DISPLAY_STYLE_VERTICAL_GAP

-

radicalDisplayStyleVerticalGap

-
 

HB_OT_MATH_CONSTANT_RADICAL_RULE_THICKNESS

-

radicalRuleThickness

-
 

HB_OT_MATH_CONSTANT_RADICAL_EXTRA_ASCENDER

-

radicalExtraAscender

-
 

HB_OT_MATH_CONSTANT_RADICAL_KERN_BEFORE_DEGREE

-

radicalKernBeforeDegree

-
 

HB_OT_MATH_CONSTANT_RADICAL_KERN_AFTER_DEGREE

-

radicalKernAfterDegree

-
 

HB_OT_MATH_CONSTANT_RADICAL_DEGREE_BOTTOM_RAISE_PERCENT

-

radicalDegreeBottomRaisePercent

-
 
-
-

Since: 1.3.3

-
-
-
-

enum hb_ot_math_kern_t

-

The math kerning-table types defined for the four corners -of a glyph.

-
-

Members

-
----- - - - - - - - - - - - - - - - - - - - - - - -

HB_OT_MATH_KERN_TOP_RIGHT

-

The top right corner of the glyph.

-
 

HB_OT_MATH_KERN_TOP_LEFT

-

The top left corner of the glyph.

-
 

HB_OT_MATH_KERN_BOTTOM_RIGHT

-

The bottom right corner of the glyph.

-
 

HB_OT_MATH_KERN_BOTTOM_LEFT

-

The bottom left corner of the glyph.

-
 
-
-

Since: 1.3.3

-
-
-
-

hb_ot_math_glyph_variant_t

-
typedef struct {
-  hb_codepoint_t glyph;
-  hb_position_t advance;
-} hb_ot_math_glyph_variant_t;
-
-

Data type to hold math-variant information for a glyph.

-
-

Members

-
----- - - - - - - - - - - - - -

hb_codepoint_t glyph;

The glyph index of the variant

 

hb_position_t advance;

The advance width of the variant

 
-
-

Since: 1.3.3

-
-
-
-

enum hb_ot_math_glyph_part_flags_t

-

Flags for math glyph parts.

-
-

Members

-
----- - - - - - -

HB_OT_MATH_GLYPH_PART_FLAG_EXTENDER

-

This is an extender glyph part that -can be repeated to reach the desired length.

-
 
-
-

Since: 1.3.3

-
-
-
-

hb_ot_math_glyph_part_t

-
typedef struct {
-  hb_codepoint_t glyph;
-  hb_position_t start_connector_length;
-  hb_position_t end_connector_length;
-  hb_position_t full_advance;
-  hb_ot_math_glyph_part_flags_t flags;
-} hb_ot_math_glyph_part_t;
-
-

Data type to hold information for a "part" component of a math-variant glyph. -Large variants for stretchable math glyphs (such as parentheses) can be constructed -on the fly from parts.

-
-

Members

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

hb_codepoint_t glyph;

The glyph index of the variant part

 

hb_position_t start_connector_length;

The length of the connector on the starting side of the variant part

 

hb_position_t end_connector_length;

The length of the connector on the ending side of the variant part

 

hb_position_t full_advance;

The total advance of the part

 

hb_ot_math_glyph_part_flags_t flags;

hb_ot_math_glyph_part_flags_t flags for the part

 
-
-

Since: 1.3.3

-
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/harfbuzz-hb-ot-meta.html b/harfbuzz/docs/html/harfbuzz-hb-ot-meta.html deleted file mode 100644 index 209f2c5..0000000 --- a/harfbuzz/docs/html/harfbuzz-hb-ot-meta.html +++ /dev/null @@ -1,209 +0,0 @@ - - - - -hb-ot-meta: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-
-
- - -
-

hb-ot-meta

-

hb-ot-meta — OpenType Metadata

-
-
-

Functions

-
---- - - - - - - - - - - -
unsigned int - -hb_ot_meta_get_entry_tags () -
-hb_blob_t * - -hb_ot_meta_reference_entry () -
-
-
-

Types and Values

-
---- - - - - -
enumhb_ot_meta_tag_t
-
-
-

Includes

-
#include <hb-ot.h>
-
-
-
-

Description

-

Functions for fetching metadata from fonts.

-
-
-

Functions

-
-

hb_ot_meta_get_entry_tags ()

-
unsigned int
-hb_ot_meta_get_entry_tags (hb_face_t *face,
-                           unsigned int start_offset,
-                           unsigned int *entries_count,
-                           hb_ot_meta_tag_t *entries);
-

Fetches all available feature types.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - -

face

a face object

 

start_offset

iteration's start offset

 

entries_count

buffer size as input, filled size as output.

[inout][optional]

entries

entries tags buffer.

[out caller-allocates][array length=entries_count]
-
-
-

Returns

-

Number of all available feature types.

-
-

Since: 2.6.0

-
-
-
-

hb_ot_meta_reference_entry ()

-
hb_blob_t *
-hb_ot_meta_reference_entry (hb_face_t *face,
-                            hb_ot_meta_tag_t meta_tag);
-

It fetches metadata entry of a given tag from a font.

-
-

Parameters

-
----- - - - - - - - - - - - - -

face

a hb_face_t object.

 

meta_tag

tag of metadata you like to have.

 
-
-
-

Returns

-

A blob containing the blob.

-

[transfer full]

-
-

Since: 2.6.0

-
-
-
-

Types and Values

-
-

enum hb_ot_meta_tag_t

-

Known metadata tags from https://docs.microsoft.com/en-us/typography/opentype/spec/meta

-
-

Members

-
----- - - - - - - - - - - - - -

HB_OT_META_TAG_DESIGN_LANGUAGES

-

Design languages. Text, using only -Basic Latin (ASCII) characters. Indicates languages and/or scripts -for the user audiences that the font was primarily designed for.

-
 

HB_OT_META_TAG_SUPPORTED_LANGUAGES

-

Supported languages. Text, using -only Basic Latin (ASCII) characters. Indicates languages and/or scripts -that the font is declared to be capable of supporting.

-
 
-
-

Since: 2.6.0

-
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/harfbuzz-hb-ot-metrics.html b/harfbuzz/docs/html/harfbuzz-hb-ot-metrics.html deleted file mode 100644 index 6662f42..0000000 --- a/harfbuzz/docs/html/harfbuzz-hb-ot-metrics.html +++ /dev/null @@ -1,479 +0,0 @@ - - - - -hb-ot-metrics: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-
-
- - -
-

hb-ot-metrics

-

hb-ot-metrics — OpenType Metrics

-
-
-

Functions

- -
-
-

Types and Values

-
---- - - - - -
enumhb_ot_metrics_tag_t
-
-
-

Includes

-
#include <hb-ot.h>
-
-
-
-

Description

-

Functions for fetching metrics from fonts.

-
-
-

Functions

-
-

hb_ot_metrics_get_position ()

-
hb_bool_t
-hb_ot_metrics_get_position (hb_font_t *font,
-                            hb_ot_metrics_tag_t metrics_tag,
-                            hb_position_t *position);
-

Fetches metrics value corresponding to metrics_tag - from font -.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - -

font

an hb_font_t object.

 

metrics_tag

tag of metrics value you like to fetch.

 

position

result of metrics value from the font.

[out][optional]
-
-
-

Returns

-

Whether found the requested metrics in the font.

-
-

Since: 2.6.0

-
-
-
-

hb_ot_metrics_get_variation ()

-
float
-hb_ot_metrics_get_variation (hb_font_t *font,
-                             hb_ot_metrics_tag_t metrics_tag);
-

Fetches metrics value corresponding to metrics_tag - from font - with the -current font variation settings applied.

-
-

Parameters

-
----- - - - - - - - - - - - - -

font

an hb_font_t object.

 

metrics_tag

tag of metrics value you like to fetch.

 
-
-
-

Returns

-

The requested metric value.

-
-

Since: 2.6.0

-
-
-
-

hb_ot_metrics_get_x_variation ()

-
hb_position_t
-hb_ot_metrics_get_x_variation (hb_font_t *font,
-                               hb_ot_metrics_tag_t metrics_tag);
-

Fetches horizontal metrics value corresponding to metrics_tag - from font - -with the current font variation settings applied.

-
-

Parameters

-
----- - - - - - - - - - - - - -

font

an hb_font_t object.

 

metrics_tag

tag of metrics value you like to fetch.

 
-
-
-

Returns

-

The requested metric value.

-
-

Since: 2.6.0

-
-
-
-

hb_ot_metrics_get_y_variation ()

-
hb_position_t
-hb_ot_metrics_get_y_variation (hb_font_t *font,
-                               hb_ot_metrics_tag_t metrics_tag);
-

Fetches vertical metrics value corresponding to metrics_tag - from font - with -the current font variation settings applied.

-
-

Parameters

-
----- - - - - - - - - - - - - -

font

an hb_font_t object.

 

metrics_tag

tag of metrics value you like to fetch.

 
-
-
-

Returns

-

The requested metric value.

-
-

Since: 2.6.0

-
-
-
-

Types and Values

-
-

enum hb_ot_metrics_tag_t

-

Metric tags corresponding to MVAR Value -Tags

-
-

Members

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

HB_OT_METRICS_TAG_HORIZONTAL_ASCENDER

-

horizontal ascender.

-
 

HB_OT_METRICS_TAG_HORIZONTAL_DESCENDER

-

horizontal descender.

-
 

HB_OT_METRICS_TAG_HORIZONTAL_LINE_GAP

-

horizontal line gap.

-
 

HB_OT_METRICS_TAG_HORIZONTAL_CLIPPING_ASCENT

-

horizontal clipping ascent.

-
 

HB_OT_METRICS_TAG_HORIZONTAL_CLIPPING_DESCENT

-

horizontal clipping descent.

-
 

HB_OT_METRICS_TAG_VERTICAL_ASCENDER

-

vertical ascender.

-
 

HB_OT_METRICS_TAG_VERTICAL_DESCENDER

-

vertical descender.

-
 

HB_OT_METRICS_TAG_VERTICAL_LINE_GAP

-

vertical line gap.

-
 

HB_OT_METRICS_TAG_HORIZONTAL_CARET_RISE

-

horizontal caret rise.

-
 

HB_OT_METRICS_TAG_HORIZONTAL_CARET_RUN

-

horizontal caret run.

-
 

HB_OT_METRICS_TAG_HORIZONTAL_CARET_OFFSET

-

horizontal caret offset.

-
 

HB_OT_METRICS_TAG_VERTICAL_CARET_RISE

-

vertical caret rise.

-
 

HB_OT_METRICS_TAG_VERTICAL_CARET_RUN

-

vertical caret run.

-
 

HB_OT_METRICS_TAG_VERTICAL_CARET_OFFSET

-

vertical caret offset.

-
 

HB_OT_METRICS_TAG_X_HEIGHT

-

x height.

-
 

HB_OT_METRICS_TAG_CAP_HEIGHT

-

cap height.

-
 

HB_OT_METRICS_TAG_SUBSCRIPT_EM_X_SIZE

-

subscript em x size.

-
 

HB_OT_METRICS_TAG_SUBSCRIPT_EM_Y_SIZE

-

subscript em y size.

-
 

HB_OT_METRICS_TAG_SUBSCRIPT_EM_X_OFFSET

-

subscript em x offset.

-
 

HB_OT_METRICS_TAG_SUBSCRIPT_EM_Y_OFFSET

-

subscript em y offset.

-
 

HB_OT_METRICS_TAG_SUPERSCRIPT_EM_X_SIZE

-

superscript em x size.

-
 

HB_OT_METRICS_TAG_SUPERSCRIPT_EM_Y_SIZE

-

superscript em y size.

-
 

HB_OT_METRICS_TAG_SUPERSCRIPT_EM_X_OFFSET

-

superscript em x offset.

-
 

HB_OT_METRICS_TAG_SUPERSCRIPT_EM_Y_OFFSET

-

superscript em y offset.

-
 

HB_OT_METRICS_TAG_STRIKEOUT_SIZE

-

strikeout size.

-
 

HB_OT_METRICS_TAG_STRIKEOUT_OFFSET

-

strikeout offset.

-
 

HB_OT_METRICS_TAG_UNDERLINE_SIZE

-

underline size.

-
 

HB_OT_METRICS_TAG_UNDERLINE_OFFSET

-

underline offset.

-
 
-
-

Since: 2.6.0

-
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/harfbuzz-hb-ot-name.html b/harfbuzz/docs/html/harfbuzz-hb-ot-name.html deleted file mode 100644 index fcd7510..0000000 --- a/harfbuzz/docs/html/harfbuzz-hb-ot-name.html +++ /dev/null @@ -1,374 +0,0 @@ - - - - -hb-ot-name: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-
-
- - -
-

hb-ot-name

-

hb-ot-name — OpenType font name information

-
-
-

Functions

-
---- - - - - - - - - - - - - - - - - - - -
const hb_ot_name_entry_t * - -hb_ot_name_list_names () -
unsigned int - -hb_ot_name_get_utf16 () -
unsigned int - -hb_ot_name_get_utf32 () -
unsigned int - -hb_ot_name_get_utf8 () -
-
-
-

Types and Values

-
---- - - - - - - - - - - -
typedefhb_ot_name_id_t
 hb_ot_name_entry_t
-
-
-

Includes

-
#include <hb-ot.h>
-
-
-
-

Description

-

Functions for fetching name strings from OpenType fonts.

-
-
-

Functions

-
-

hb_ot_name_list_names ()

-
const hb_ot_name_entry_t *
-hb_ot_name_list_names (hb_face_t *face,
-                       unsigned int *num_entries);
-

Enumerates all available name IDs and language combinations. Returned -array is owned by the face - and should not be modified. It can be -used as long as face - is alive.

-
-

Parameters

-
----- - - - - - - - - - - - - -

face

font face.

 

num_entries

number of returned entries.

[out][optional]
-
-
-

Returns

-

Array of available name entries.

-

[out][transfer none][array length=num_entries]

-
-

Since: 2.1.0

-
-
-
-

hb_ot_name_get_utf16 ()

-
unsigned int
-hb_ot_name_get_utf16 (hb_face_t *face,
-                      hb_ot_name_id_t name_id,
-                      hb_language_t language,
-                      unsigned int *text_size,
-                      uint16_t *text);
-

Fetches a font name from the OpenType 'name' table. -If language - is HB_LANGUAGE_INVALID, English ("en") is assumed. -Returns string in UTF-16 encoding. A NUL terminator is always written -for convenience, and isn't included in the output text_size -.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

face

font face.

 

name_id

OpenType name identifier to fetch.

 

language

language to fetch the name for.

 

text_size

input size of text -buffer, and output size of -text written to buffer.

[inout][optional]

text

buffer to write fetched name into.

[out caller-allocates][array length=text_size]
-
-
-

Returns

-

full length of the requested string, or 0 if not found.

-
-

Since: 2.1.0

-
-
-
-

hb_ot_name_get_utf32 ()

-
unsigned int
-hb_ot_name_get_utf32 (hb_face_t *face,
-                      hb_ot_name_id_t name_id,
-                      hb_language_t language,
-                      unsigned int *text_size,
-                      uint32_t *text);
-

Fetches a font name from the OpenType 'name' table. -If language - is HB_LANGUAGE_INVALID, English ("en") is assumed. -Returns string in UTF-32 encoding. A NUL terminator is always written -for convenience, and isn't included in the output text_size -.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

face

font face.

 

name_id

OpenType name identifier to fetch.

 

language

language to fetch the name for.

 

text_size

input size of text -buffer, and output size of -text written to buffer.

[inout][optional]

text

buffer to write fetched name into.

[out caller-allocates][array length=text_size]
-
-
-

Returns

-

full length of the requested string, or 0 if not found.

-
-

Since: 2.1.0

-
-
-
-

hb_ot_name_get_utf8 ()

-
unsigned int
-hb_ot_name_get_utf8 (hb_face_t *face,
-                     hb_ot_name_id_t name_id,
-                     hb_language_t language,
-                     unsigned int *text_size,
-                     char *text);
-

Fetches a font name from the OpenType 'name' table. -If language - is HB_LANGUAGE_INVALID, English ("en") is assumed. -Returns string in UTF-8 encoding. A NUL terminator is always written -for convenience, and isn't included in the output text_size -.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

face

font face.

 

name_id

OpenType name identifier to fetch.

 

language

language to fetch the name for.

 

text_size

input size of text -buffer, and output size of -text written to buffer.

[inout][optional]

text

buffer to write fetched name into.

[out caller-allocates][array length=text_size]
-
-
-

Returns

-

full length of the requested string, or 0 if not found.

-
-

Since: 2.1.0

-
-
-
-

Types and Values

-
-

hb_ot_name_id_t

-
typedef unsigned int hb_ot_name_id_t;
-
-

An integral type representing an OpenType 'name' table name identifier. -There are predefined name IDs, as well as name IDs return from other -API. These can be used to fetch name strings from a font face.

-

For more information on these fields, see the -OpenType spec.

-

Since: 2.0.0

-
-
-
-

hb_ot_name_entry_t

-
typedef struct {
-  hb_ot_name_id_t name_id;
-  hb_language_t   language;
-} hb_ot_name_entry_t;
-
-

Structure representing a name ID in a particular language.

-
-

Members

-
----- - - - - - - - - - - - - -

hb_ot_name_id_t name_id;

name ID

 

hb_language_t language;

language

 
-
-

Since: 2.1.0

-
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/harfbuzz-hb-ot-shape.html b/harfbuzz/docs/html/harfbuzz-hb-ot-shape.html deleted file mode 100644 index 02dbcd8..0000000 --- a/harfbuzz/docs/html/harfbuzz-hb-ot-shape.html +++ /dev/null @@ -1,117 +0,0 @@ - - - - -hb-ot-shape: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-
-
- - -
-

hb-ot-shape

-

hb-ot-shape — OpenType shaping support

-
-
-

Functions

-
---- - - - - -
-void - -hb_ot_shape_glyphs_closure () -
-
-
-

Includes

-
#include <hb-ot.h>
-
-
-
-

Description

-

Support functions for OpenType shaping related queries.

-
-
-

Functions

-
-

hb_ot_shape_glyphs_closure ()

-
void
-hb_ot_shape_glyphs_closure (hb_font_t *font,
-                            hb_buffer_t *buffer,
-                            const hb_feature_t *features,
-                            unsigned int num_features,
-                            hb_set_t *glyphs);
-

Computes the transitive closure of glyphs needed for a specified -input buffer under the given font and feature list. The closure is -computed as a set, not as a list.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

font

hb_font_t to work upon

 

buffer

The input buffer to compute from

 

features

The features enabled on the buffer.

[array length=num_features]

num_features

The number of features enabled on the buffer

 

glyphs

The hb_set_t set of glyphs comprising the transitive closure of the query.

[out]
-
-

Since: 0.9.2

-
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/harfbuzz-hb-ot-var.html b/harfbuzz/docs/html/harfbuzz-hb-ot-var.html deleted file mode 100644 index c2b2263..0000000 --- a/harfbuzz/docs/html/harfbuzz-hb-ot-var.html +++ /dev/null @@ -1,694 +0,0 @@ - - - - -hb-ot-var: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-
-
- - -
-

hb-ot-var

-

hb-ot-var — OpenType Font Variations

-
-
-

Functions

-
---- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-hb_bool_t - -hb_ot_var_has_data () -
-hb_bool_t - -hb_ot_var_find_axis_info () -
unsigned int - -hb_ot_var_get_axis_count () -
unsigned int - -hb_ot_var_get_axis_infos () -
unsigned int - -hb_ot_var_get_named_instance_count () -
-hb_ot_name_id_t - -hb_ot_var_named_instance_get_subfamily_name_id () -
-hb_ot_name_id_t - -hb_ot_var_named_instance_get_postscript_name_id () -
unsigned int - -hb_ot_var_named_instance_get_design_coords () -
-void - -hb_ot_var_normalize_variations () -
-void - -hb_ot_var_normalize_coords () -
-
-
-

Types and Values

- -
-
-

Includes

-
#include <hb-ot.h>
-
-
-
-

Description

-

Functions for fetching information about OpenType Variable Fonts.

-
-
-

Functions

-
-

hb_ot_var_has_data ()

-
hb_bool_t
-hb_ot_var_has_data (hb_face_t *face);
-

Tests whether a face includes any OpenType variation data in the fvar table.

-
-

Parameters

-
----- - - - - - -

face

The hb_face_t to work on

 
-
-
-

Returns

-

true if data found, false otherwise

-
-

Since: 1.4.2

-
-
-
-

hb_ot_var_find_axis_info ()

-
hb_bool_t
-hb_ot_var_find_axis_info (hb_face_t *face,
-                          hb_tag_t axis_tag,
-                          hb_ot_var_axis_info_t *axis_info);
-

Fetches the variation-axis information corresponding to the specified axis tag -in the specified face.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - -

face

hb_face_t to work upon

 

axis_tag

The hb_tag_t of the variation axis to query

 

axis_info

The hb_ot_var_axis_info_t of the axis tag queried.

[out]
-
-
-

Returns

-

true if data found, false otherwise

-
-

Since: 2.2.0

-
-
-
-

hb_ot_var_get_axis_count ()

-
unsigned int
-hb_ot_var_get_axis_count (hb_face_t *face);
-

Fetches the number of OpenType variation axes included in the face.

-
-

Parameters

-
----- - - - - - -

face

The hb_face_t to work on

 
-
-
-

Returns

-

the number of variation axes defined

-
-

Since: 1.4.2

-
-
-
-

hb_ot_var_get_axis_infos ()

-
unsigned int
-hb_ot_var_get_axis_infos (hb_face_t *face,
-                          unsigned int start_offset,
-                          unsigned int *axes_count,
-                          hb_ot_var_axis_info_t *axes_array);
-

Fetches a list of all variation axes in the specified face. The list returned will begin -at the offset provided.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - -

face

hb_face_t to work upon

 

start_offset

offset of the first lookup to retrieve

 

axes_count

Input = the maximum number of variation axes to return; -Output = the actual number of variation axes returned (may be zero).

[inout][optional]

axes_array

The array of variation axes found.

[out caller-allocates][array length=axes_count]
-
-
-

Returns

-

the number of variation axes in the face

-
-

Since: 2.2.0

-
-
-
-

hb_ot_var_get_named_instance_count ()

-
unsigned int
-hb_ot_var_get_named_instance_count (hb_face_t *face);
-

Fetches the number of named instances included in the face.

-
-

Parameters

-
----- - - - - - -

face

The hb_face_t to work on

 
-
-
-

Returns

-

the number of named instances defined

-
-

Since: 2.2.0

-
-
-
-

hb_ot_var_named_instance_get_subfamily_name_id ()

-
hb_ot_name_id_t
-hb_ot_var_named_instance_get_subfamily_name_id
-                               (hb_face_t *face,
-                                unsigned int instance_index);
-

Fetches the name table Name ID that provides display names for -the "Subfamily name" defined for the given named instance in the face.

-
-

Parameters

-
----- - - - - - - - - - - - - -

face

The hb_face_t to work on

 

instance_index

The index of the named instance to query

 
-
-
-

Returns

-

the Name ID found for the Subfamily name

-
-

Since: 2.2.0

-
-
-
-

hb_ot_var_named_instance_get_postscript_name_id ()

-
hb_ot_name_id_t
-hb_ot_var_named_instance_get_postscript_name_id
-                               (hb_face_t *face,
-                                unsigned int instance_index);
-

Fetches the name table Name ID that provides display names for -the "PostScript name" defined for the given named instance in the face.

-
-

Parameters

-
----- - - - - - - - - - - - - -

face

The hb_face_t to work on

 

instance_index

The index of the named instance to query

 
-
-
-

Returns

-

the Name ID found for the PostScript name

-
-

Since: 2.2.0

-
-
-
-

hb_ot_var_named_instance_get_design_coords ()

-
unsigned int
-hb_ot_var_named_instance_get_design_coords
-                               (hb_face_t *face,
-                                unsigned int instance_index,
-                                unsigned int *coords_length,
-                                float *coords);
-

Fetches the design-space coordinates corresponding to the given -named instance in the face.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - -

face

The hb_face_t to work on

 

instance_index

The index of the named instance to query

 

coords_length

Input = the maximum number of coordinates to return; -Output = the actual number of coordinates returned (may be zero).

[inout][optional]

coords

The array of coordinates found for the query.

[out][array length=coords_length]
-
-
-

Returns

-

the number of variation axes in the face

-
-

Since: 2.2.0

-
-
-
-

hb_ot_var_normalize_variations ()

-
void
-hb_ot_var_normalize_variations (hb_face_t *face,
-                                const hb_variation_t *variations,
-                                unsigned int variations_length,
-                                int *coords,
-                                unsigned int coords_length);
-

Normalizes all of the coordinates in the given list of variation axes.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

face

The hb_face_t to work on

 

variations

The array of variations to normalize

 

variations_length

The number of variations to normalize

 

coords

The array of normalized coordinates.

[out][array length=coords_length]

coords_length

The length of the coordinate array

 
-
-

Since: 1.4.2

-
-
-
-

hb_ot_var_normalize_coords ()

-
void
-hb_ot_var_normalize_coords (hb_face_t *face,
-                            unsigned int coords_length,
-                            const float *design_coords,
-                            int *normalized_coords);
-

Normalizes the given design-space coordinates. The minimum and maximum -values for the axis are mapped to the interval [-1,1], with the default -axis value mapped to 0.

-

Any additional scaling defined in the face's avar table is also -applied, as described at https://docs.microsoft.com/en-us/typography/opentype/spec/avar

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - -

face

The hb_face_t to work on

 

coords_length

The length of the coordinate array

 

design_coords

The design-space coordinates to normalize

 

normalized_coords

The normalized coordinates.

[out]
-
-

Since: 1.4.2

-
-
-
-

Types and Values

-
-

HB_OT_TAG_VAR_AXIS_ITALIC

-
#define HB_OT_TAG_VAR_AXIS_ITALIC HB_TAG('i','t','a','l')
-
-

Registered tag for the roman/italic axis.

-
-
-
-

HB_OT_TAG_VAR_AXIS_OPTICAL_SIZE

-
#define HB_OT_TAG_VAR_AXIS_OPTICAL_SIZE HB_TAG('o','p','s','z')
-
-

Registered tag for the optical-size axis.

-
Note: The optical-size axis supersedes the OpenType `size` feature.
-
-
-
-

HB_OT_TAG_VAR_AXIS_SLANT

-
#define HB_OT_TAG_VAR_AXIS_SLANT HB_TAG('s','l','n','t')
-
-

Registered tag for the slant axis

-
-
-
-

HB_OT_TAG_VAR_AXIS_WEIGHT

-
#define HB_OT_TAG_VAR_AXIS_WEIGHT HB_TAG('w','g','h','t')
-
-

Registered tag for the weight axis.

-
-
-
-

HB_OT_TAG_VAR_AXIS_WIDTH

-
#define HB_OT_TAG_VAR_AXIS_WIDTH HB_TAG('w','d','t','h')
-
-

Registered tag for the width axis.

-
-
-
-

enum hb_ot_var_axis_flags_t

-

Flags for hb_ot_var_axis_info_t.

-
-

Members

-
----- - - - - - -

HB_OT_VAR_AXIS_FLAG_HIDDEN

-

The axis should not be exposed directly in user interfaces.

-
 
-
-

Since: 2.2.0

-
-
-
-

hb_ot_var_axis_info_t

-
typedef struct {
-  unsigned int			axis_index;
-  hb_tag_t			tag;
-  hb_ot_name_id_t		name_id;
-  hb_ot_var_axis_flags_t flags;
-  float				min_value;
-  float				default_value;
-  float				max_value;
-} hb_ot_var_axis_info_t;
-
-

Data type for holding variation-axis values.

-

The minimum, default, and maximum values are in un-normalized, user scales.

-
Note: at present, the only flag defined for flags is -HB_OT_VAR_AXIS_FLAG_HIDDEN.
-
-

Members

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

unsigned int axis_index;

Index of the axis in the variation-axis array

 

hb_tag_t tag;

The hb_tag_t tag identifying the design variation of the axis

 

hb_ot_name_id_t name_id;

The name table Name ID that provides display names for the axis

 

hb_ot_var_axis_flags_t flags;

The hb_ot_var_axis_flags_t flags for the axis

 

float min_value;

The mininum value on the variation axis that the font covers

 

float default_value;

The position on the variation axis corresponding to the font's defaults

 

float max_value;

The maximum value on the variation axis that the font covers

 
-
-

Since: 2.2.0

-
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/harfbuzz-hb-set.html b/harfbuzz/docs/html/harfbuzz-hb-set.html deleted file mode 100644 index 4a60fa8..0000000 --- a/harfbuzz/docs/html/harfbuzz-hb-set.html +++ /dev/null @@ -1,1350 +0,0 @@ - - - - -hb-set: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-
-
- - -
-

hb-set

-

hb-set — Objects representing a set of integers

-
-
-

Functions

-
---- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-void - -hb_set_add () -
-void - -hb_set_add_range () -
-hb_bool_t - -hb_set_allocation_successful () -
-hb_set_t * - -hb_set_copy () -
-void - -hb_set_clear () -
-hb_set_t * - -hb_set_create () -
-void - -hb_set_del () -
-void - -hb_set_del_range () -
-void - -hb_set_destroy () -
-hb_set_t * - -hb_set_get_empty () -
-hb_codepoint_t - -hb_set_get_max () -
-hb_codepoint_t - -hb_set_get_min () -
unsigned int - -hb_set_get_population () -
-void * - -hb_set_get_user_data () -
-hb_bool_t - -hb_set_has () -
-void - -hb_set_intersect () -
-void - -hb_set_invert () -
-hb_bool_t - -hb_set_is_empty () -
-hb_bool_t - -hb_set_is_equal () -
-hb_bool_t - -hb_set_is_subset () -
-hb_bool_t - -hb_set_next () -
-hb_bool_t - -hb_set_next_range () -
-hb_bool_t - -hb_set_previous () -
-hb_bool_t - -hb_set_previous_range () -
-hb_set_t * - -hb_set_reference () -
-void - -hb_set_set () -
-hb_bool_t - -hb_set_set_user_data () -
-void - -hb_set_subtract () -
-void - -hb_set_symmetric_difference () -
-void - -hb_set_union () -
-
-
-

Types and Values

-
---- - - - - - - - - - - -
#defineHB_SET_VALUE_INVALID
typedefhb_set_t
-
-
-

Includes

-
#include <hb.h>
-
-
-
-

Description

-

Set objects represent a mathematical set of integer values. They are -used in non-shaping APIs to query certain sets of characters or glyphs, -or other integer values.

-
-
-

Functions

-
-

hb_set_add ()

-
void
-hb_set_add (hb_set_t *set,
-            hb_codepoint_t codepoint);
-

Adds codepoint - to set -.

-
-

Parameters

-
----- - - - - - - - - - - - - -

set

A set

 

codepoint

The element to add to set -

 
-
-

Since: 0.9.2

-
-
-
-

hb_set_add_range ()

-
void
-hb_set_add_range (hb_set_t *set,
-                  hb_codepoint_t first,
-                  hb_codepoint_t last);
-

Adds all of the elements from first - to last - -(inclusive) to set -.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - -

set

A set

 

first

The first element to add to set -

 

last

The final element to add to set -

 
-
-

Since: 0.9.7

-
-
-
-

hb_set_allocation_successful ()

-
hb_bool_t
-hb_set_allocation_successful (const hb_set_t *set);
-

Tests whether memory allocation for a set was successful.

-
-

Parameters

-
----- - - - - - -

set

A set

 
-
-
-

Returns

-

true if allocation succeeded, false otherwise

-
-

Since: 0.9.2

-
-
-
-

hb_set_copy ()

-
hb_set_t *
-hb_set_copy (const hb_set_t *set);
-

Allocate a copy of set -.

-
-

Parameters

-
----- - - - - - -

set

A set

 
-
-
-

Returns

-

Newly-allocated set.

-
-

Since: 2.8.2

-
-
-
-

hb_set_clear ()

-
void
-hb_set_clear (hb_set_t *set);
-

Clears out the contents of a set.

-
-

Parameters

-
----- - - - - - -

set

A set

 
-
-

Since: 0.9.2

-
-
-
-

hb_set_create ()

-
hb_set_t *
-hb_set_create (void);
-

Creates a new, initially empty set.

-

[Xconstructor]

-
-

Returns

-

The new hb_set_t.

-

[transfer full]

-
-

Since: 0.9.2

-
-
-
-

hb_set_del ()

-
void
-hb_set_del (hb_set_t *set,
-            hb_codepoint_t codepoint);
-

Removes codepoint - from set -.

-
-

Parameters

-
----- - - - - - - - - - - - - -

set

A set

 

codepoint

Removes codepoint -from set -

 
-
-

Since: 0.9.2

-
-
-
-

hb_set_del_range ()

-
void
-hb_set_del_range (hb_set_t *set,
-                  hb_codepoint_t first,
-                  hb_codepoint_t last);
-

Removes all of the elements from first - to last - -(inclusive) from set -.

-

If last - is HB_SET_VALUE_INVALID, then all values -greater than or equal to first - are removed.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - -

set

A set

 

first

The first element to remove from set -

 

last

The final element to remove from set -

 
-
-

Since: 0.9.7

-
-
-
-

hb_set_destroy ()

-
void
-hb_set_destroy (hb_set_t *set);
-

Decreases the reference count on a set. When -the reference count reaches zero, the set is -destroyed, freeing all memory.

-

[skip]

-
-

Parameters

-
----- - - - - - -

set

A set

 
-
-

Since: 0.9.2

-
-
-
-

hb_set_get_empty ()

-
hb_set_t *
-hb_set_get_empty (void);
-

Fetches the singleton empty hb_set_t.

-
-

Returns

-

The empty hb_set_t.

-

[transfer full]

-
-

Since: 0.9.2

-
-
-
-

hb_set_get_max ()

-
hb_codepoint_t
-hb_set_get_max (const hb_set_t *set);
-

Finds the largest element in the set.

-
-

Parameters

-
----- - - - - - -

set

A set

 
-
-
-

Returns

-

maximum of set -, or HB_SET_VALUE_INVALID if set -is empty.

-
-

Since: 0.9.7

-
-
-
-

hb_set_get_min ()

-
hb_codepoint_t
-hb_set_get_min (const hb_set_t *set);
-

Finds the smallest element in the set.

-
-

Parameters

-
----- - - - - - -

set

A set

 
-
-
-

Returns

-

minimum of set -, or HB_SET_VALUE_INVALID if set -is empty.

-
-

Since: 0.9.7

-
-
-
-

hb_set_get_population ()

-
unsigned int
-hb_set_get_population (const hb_set_t *set);
-

Returns the number of elements in the set.

-
-

Parameters

-
----- - - - - - -

set

A set

 
-
-
-

Returns

-

The population of set -

-
-

Since: 0.9.7

-
-
-
-

hb_set_get_user_data ()

-
void *
-hb_set_get_user_data (hb_set_t *set,
-                      hb_user_data_key_t *key);
-

Fetches the user data associated with the specified key, -attached to the specified set.

-

[skip]

-
-

Parameters

-
----- - - - - - - - - - - - - -

set

A set

 

key

The user-data key to query

 
-
-
-

Returns

-

A pointer to the user data.

-

[transfer none]

-
-

Since: 0.9.2

-
-
-
-

hb_set_has ()

-
hb_bool_t
-hb_set_has (const hb_set_t *set,
-            hb_codepoint_t codepoint);
-

Tests whether codepoint - belongs to set -.

-
-

Parameters

-
----- - - - - - - - - - - - - -

set

A set

 

codepoint

The element to query

 
-
-
-

Returns

-

true if codepoint -is in set -, false otherwise

-
-

Since: 0.9.2

-
-
-
-

hb_set_intersect ()

-
void
-hb_set_intersect (hb_set_t *set,
-                  const hb_set_t *other);
-

Makes set - the intersection of set - and other -.

-
-

Parameters

-
----- - - - - - - - - - - - - -

set

A set

 

other

Another set

 
-
-

Since: 0.9.2

-
-
-
-

hb_set_invert ()

-
void
-hb_set_invert (hb_set_t *set);
-

Inverts the contents of set -.

-
-

Parameters

-
----- - - - - - -

set

A set

 
-
-

Since: 3.0.0

-
-
-
-

hb_set_is_empty ()

-
hb_bool_t
-hb_set_is_empty (const hb_set_t *set);
-

Tests whether a set is empty (contains no elements).

-
-

Parameters

-
----- - - - - - -

set

a set.

 
-
-
-

Returns

-

true if set -is empty

-
-

Since: 0.9.7

-
-
-
-

hb_set_is_equal ()

-
hb_bool_t
-hb_set_is_equal (const hb_set_t *set,
-                 const hb_set_t *other);
-

Tests whether set - and other - are equal (contain the same -elements).

-
-

Parameters

-
----- - - - - - - - - - - - - -

set

A set

 

other

Another set

 
-
-
-

Returns

-

true if the two sets are equal, false otherwise.

-
-

Since: 0.9.7

-
-
-
-

hb_set_is_subset ()

-
hb_bool_t
-hb_set_is_subset (const hb_set_t *set,
-                  const hb_set_t *larger_set);
-

Tests whether set - is a subset of larger_set -.

-
-

Parameters

-
----- - - - - - - - - - - - - -

set

A set

 

larger_set

Another set

 
-
-
-

Returns

-

true if the set -is a subset of (or equal to) larger_set -, false otherwise.

-
-

Since: 1.8.1

-
-
-
-

hb_set_next ()

-
hb_bool_t
-hb_set_next (const hb_set_t *set,
-             hb_codepoint_t *codepoint);
-

Fetches the next element in set - that is greater than current value of codepoint -.

-

Set codepoint - to HB_SET_VALUE_INVALID to get started.

-
-

Parameters

-
----- - - - - - - - - - - - - -

set

A set

 

codepoint

Input = Code point to query -Output = Code point retrieved.

[inout]
-
-
-

Returns

-

true if there was a next value, false otherwise

-
-

Since: 0.9.2

-
-
-
-

hb_set_next_range ()

-
hb_bool_t
-hb_set_next_range (const hb_set_t *set,
-                   hb_codepoint_t *first,
-                   hb_codepoint_t *last);
-

Fetches the next consecutive range of elements in set - that -are greater than current value of last -.

-

Set last - to HB_SET_VALUE_INVALID to get started.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - -

set

A set

 

first

The first code point in the range.

[out]

last

Input = The current last code point in the range -Output = The last code point in the range.

[inout]
-
-
-

Returns

-

true if there was a next range, false otherwise

-
-

Since: 0.9.7

-
-
-
-

hb_set_previous ()

-
hb_bool_t
-hb_set_previous (const hb_set_t *set,
-                 hb_codepoint_t *codepoint);
-

Fetches the previous element in set - that is lower than current value of codepoint -.

-

Set codepoint - to HB_SET_VALUE_INVALID to get started.

-
-

Parameters

-
----- - - - - - - - - - - - - -

set

A set

 

codepoint

Input = Code point to query -Output = Code point retrieved.

[inout]
-
-
-

Returns

-

true if there was a previous value, false otherwise

-
-

Since: 1.8.0

-
-
-
-

hb_set_previous_range ()

-
hb_bool_t
-hb_set_previous_range (const hb_set_t *set,
-                       hb_codepoint_t *first,
-                       hb_codepoint_t *last);
-

Fetches the previous consecutive range of elements in set - that -are greater than current value of last -.

-

Set first - to HB_SET_VALUE_INVALID to get started.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - -

set

A set

 

first

Input = The current first code point in the range -Output = The first code point in the range.

[inout]

last

The last code point in the range.

[out]
-
-
-

Returns

-

true if there was a previous range, false otherwise

-
-

Since: 1.8.0

-
-
-
-

hb_set_reference ()

-
hb_set_t *
-hb_set_reference (hb_set_t *set);
-

Increases the reference count on a set.

-

[skip]

-
-

Parameters

-
----- - - - - - -

set

A set

 
-
-
-

Returns

-

The set.

-

[transfer full]

-
-

Since: 0.9.2

-
-
-
-

hb_set_set ()

-
void
-hb_set_set (hb_set_t *set,
-            const hb_set_t *other);
-

Makes the contents of set - equal to the contents of other -.

-
-

Parameters

-
----- - - - - - - - - - - - - -

set

A set

 

other

Another set

 
-
-

Since: 0.9.2

-
-
-
-

hb_set_set_user_data ()

-
hb_bool_t
-hb_set_set_user_data (hb_set_t *set,
-                      hb_user_data_key_t *key,
-                      void *data,
-                      hb_destroy_func_t destroy,
-                      hb_bool_t replace);
-

Attaches a user-data key/data pair to the specified set.

-

[skip]

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

set

A set

 

key

The user-data key to set

 

data

A pointer to the user data to set

 

destroy

A callback to call when data -is not needed anymore.

[nullable]

replace

Whether to replace an existing data with the same key

 
-
-
-

Returns

-

true if success, false otherwise

-
-

Since: 0.9.2

-
-
-
-

hb_set_subtract ()

-
void
-hb_set_subtract (hb_set_t *set,
-                 const hb_set_t *other);
-

Subtracts the contents of other - from set -.

-
-

Parameters

-
----- - - - - - - - - - - - - -

set

A set

 

other

Another set

 
-
-

Since: 0.9.2

-
-
-
-

hb_set_symmetric_difference ()

-
void
-hb_set_symmetric_difference (hb_set_t *set,
-                             const hb_set_t *other);
-

Makes set - the symmetric difference of set - -and other -.

-
-

Parameters

-
----- - - - - - - - - - - - - -

set

A set

 

other

Another set

 
-
-

Since: 0.9.2

-
-
-
-

hb_set_union ()

-
void
-hb_set_union (hb_set_t *set,
-              const hb_set_t *other);
-

Makes set - the union of set - and other -.

-
-

Parameters

-
----- - - - - - - - - - - - - -

set

A set

 

other

Another set

 
-
-

Since: 0.9.2

-
-
-
-

Types and Values

-
-

HB_SET_VALUE_INVALID

-
#define HB_SET_VALUE_INVALID ((hb_codepoint_t) -1)
-
-

Unset hb_set_t value.

-

Since: 0.9.21

-
-
-
-

hb_set_t

-
typedef struct hb_set_t hb_set_t;
-
-

Data type for holding a set of integers. hb_set_t's are -used to gather and contain glyph IDs, Unicode code -points, and various other collections of discrete - -values.

-
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/harfbuzz-hb-shape-plan.html b/harfbuzz/docs/html/harfbuzz-hb-shape-plan.html deleted file mode 100644 index 92f316c..0000000 --- a/harfbuzz/docs/html/harfbuzz-hb-shape-plan.html +++ /dev/null @@ -1,696 +0,0 @@ - - - - -hb-shape-plan: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-
-
- - -
-

hb-shape-plan

-

hb-shape-plan — Object representing a shaping plan

-
-
-

Functions

-
---- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-hb_shape_plan_t * - -hb_shape_plan_create () -
-hb_shape_plan_t * - -hb_shape_plan_create_cached () -
-hb_shape_plan_t * - -hb_shape_plan_create2 () -
-hb_shape_plan_t * - -hb_shape_plan_create_cached2 () -
-void - -hb_shape_plan_destroy () -
-hb_bool_t - -hb_shape_plan_execute () -
-hb_shape_plan_t * - -hb_shape_plan_get_empty () -
const char * - -hb_shape_plan_get_shaper () -
-void * - -hb_shape_plan_get_user_data () -
-hb_shape_plan_t * - -hb_shape_plan_reference () -
-hb_bool_t - -hb_shape_plan_set_user_data () -
-
-
-

Types and Values

-
---- - - - - -
typedefhb_shape_plan_t
-
-
-

Includes

-
#include <hb.h>
-
-
-
-

Description

-

Shape plans are an internal mechanism. Each plan contains state -describing how HarfBuzz will shape a particular text segment, based on -the combination of segment properties and the capabilities in the -font face in use.

-

Shape plans are not used for shaping directly, but can be queried to -access certain information about how shaping will perform, given a set -of specific input parameters (script, language, direction, features, -etc.).

-

Most client programs will not need to deal with shape plans directly.

-
-
-

Functions

-
-

hb_shape_plan_create ()

-
hb_shape_plan_t *
-hb_shape_plan_create (hb_face_t *face,
-                      const hb_segment_properties_t *props,
-                      const hb_feature_t *user_features,
-                      unsigned int num_user_features,
-                      const char * const *shaper_list);
-

Constructs a shaping plan for a combination of face -, user_features -, props -, -and shaper_list -.

-

[Xconstructor]

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

face

hb_face_t to use

 

props

The hb_segment_properties_t of the segment

 

user_features

The list of user-selected features.

[array length=num_user_features]

num_user_features

The number of user-selected features

 

shaper_list

List of shapers to try.

[array zero-terminated=1]
-
-
-

Returns

-

The shaping plan.

-

[transfer full]

-
-

Since: 0.9.7

-
-
-
-

hb_shape_plan_create_cached ()

-
hb_shape_plan_t *
-hb_shape_plan_create_cached (hb_face_t *face,
-                             const hb_segment_properties_t *props,
-                             const hb_feature_t *user_features,
-                             unsigned int num_user_features,
-                             const char * const *shaper_list);
-

Creates a cached shaping plan suitable for reuse, for a combination -of face -, user_features -, props -, and shaper_list -.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

face

hb_face_t to use

 

props

The hb_segment_properties_t of the segment

 

user_features

The list of user-selected features.

[array length=num_user_features]

num_user_features

The number of user-selected features

 

shaper_list

List of shapers to try.

[array zero-terminated=1]
-
-
-

Returns

-

The shaping plan.

-

[transfer full]

-
-

Since: 0.9.7

-
-
-
-

hb_shape_plan_create2 ()

-
hb_shape_plan_t *
-hb_shape_plan_create2 (hb_face_t *face,
-                       const hb_segment_properties_t *props,
-                       const hb_feature_t *user_features,
-                       unsigned int num_user_features,
-                       const int *coords,
-                       unsigned int num_coords,
-                       const char * const *shaper_list);
-

The variable-font version of hb_shape_plan_create. -Constructs a shaping plan for a combination of face -, user_features -, props -, -and shaper_list -, plus the variation-space coordinates coords -.

-

[Xconstructor]

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

face

hb_face_t to use

 

props

The hb_segment_properties_t of the segment

 

user_features

The list of user-selected features.

[array length=num_user_features]

num_user_features

The number of user-selected features

 

coords

The list of variation-space coordinates.

[array length=num_coords]

num_coords

The number of variation-space coordinates

 

shaper_list

List of shapers to try.

[array zero-terminated=1]
-
-
-

Returns

-

The shaping plan.

-

[transfer full]

-
-

Since: 1.4.0

-
-
-
-

hb_shape_plan_create_cached2 ()

-
hb_shape_plan_t *
-hb_shape_plan_create_cached2 (hb_face_t *face,
-                              const hb_segment_properties_t *props,
-                              const hb_feature_t *user_features,
-                              unsigned int num_user_features,
-                              const int *coords,
-                              unsigned int num_coords,
-                              const char * const *shaper_list);
-

The variable-font version of hb_shape_plan_create_cached. -Creates a cached shaping plan suitable for reuse, for a combination -of face -, user_features -, props -, and shaper_list -, plus the -variation-space coordinates coords -.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

face

hb_face_t to use

 

props

The hb_segment_properties_t of the segment

 

user_features

The list of user-selected features.

[array length=num_user_features]

num_user_features

The number of user-selected features

 

coords

The list of variation-space coordinates.

[array length=num_coords]

num_coords

The number of variation-space coordinates

 

shaper_list

List of shapers to try.

[array zero-terminated=1]
-
-
-

Returns

-

The shaping plan.

-

[transfer full]

-
-

Since: 1.4.0

-
-
-
-

hb_shape_plan_destroy ()

-
void
-hb_shape_plan_destroy (hb_shape_plan_t *shape_plan);
-

Decreases the reference count on the given shaping plan. When the -reference count reaches zero, the shaping plan is destroyed, -freeing all memory.

-

[skip]

-
-

Parameters

-
----- - - - - - -

shape_plan

A shaping plan

 
-
-

Since: 0.9.7

-
-
-
-

hb_shape_plan_execute ()

-
hb_bool_t
-hb_shape_plan_execute (hb_shape_plan_t *shape_plan,
-                       hb_font_t *font,
-                       hb_buffer_t *buffer,
-                       const hb_feature_t *features,
-                       unsigned int num_features);
-

Executes the given shaping plan on the specified buffer, using -the given font - and features -.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

shape_plan

A shaping plan

 

font

The hb_font_t to use

 

buffer

The hb_buffer_t to work upon

 

features

Features to enable.

[array length=num_features]

num_features

The number of features to enable

 
-
-
-

Returns

-

true if success, false otherwise.

-
-

Since: 0.9.7

-
-
-
-

hb_shape_plan_get_empty ()

-
hb_shape_plan_t *
-hb_shape_plan_get_empty (void);
-

Fetches the singleton empty shaping plan.

-
-

Returns

-

The empty shaping plan.

-

[transfer full]

-
-

Since: 0.9.7

-
-
-
-

hb_shape_plan_get_shaper ()

-
const char *
-hb_shape_plan_get_shaper (hb_shape_plan_t *shape_plan);
-

Fetches the shaper from a given shaping plan.

-
-

Parameters

-
----- - - - - - -

shape_plan

A shaping plan

 
-
-
-

Returns

-

The shaper.

-

[transfer none]

-
-

Since: 0.9.7

-
-
-
-

hb_shape_plan_get_user_data ()

-
void *
-hb_shape_plan_get_user_data (hb_shape_plan_t *shape_plan,
-                             hb_user_data_key_t *key);
-

Fetches the user data associated with the specified key, -attached to the specified shaping plan.

-

[skip]

-
-

Parameters

-
----- - - - - - - - - - - - - -

shape_plan

A shaping plan

 

key

The user-data key to query

 
-
-
-

Returns

-

A pointer to the user data.

-

[transfer none]

-
-

Since: 0.9.7

-
-
-
-

hb_shape_plan_reference ()

-
hb_shape_plan_t *
-hb_shape_plan_reference (hb_shape_plan_t *shape_plan);
-

Increases the reference count on the given shaping plan.

-

[skip]

-
-

Parameters

-
----- - - - - - -

shape_plan

A shaping plan

 
-
-
-

Returns

-

shape_plan -.

-

[transfer full]

-
-

Since: 0.9.7

-
-
-
-

hb_shape_plan_set_user_data ()

-
hb_bool_t
-hb_shape_plan_set_user_data (hb_shape_plan_t *shape_plan,
-                             hb_user_data_key_t *key,
-                             void *data,
-                             hb_destroy_func_t destroy,
-                             hb_bool_t replace);
-

Attaches a user-data key/data pair to the given shaping plan.

-

[skip]

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

shape_plan

A shaping plan

 

key

The user-data key to set

 

data

A pointer to the user data

 

destroy

A callback to call when data -is not needed anymore.

[nullable]

replace

Whether to replace an existing data with the same key

 
-
-
-

Returns

-

true if success, false otherwise.

-
-

Since: 0.9.7

-
-
-
-

Types and Values

-
-

hb_shape_plan_t

-
typedef struct hb_shape_plan_t hb_shape_plan_t;
-
-

Data type for holding a shaping plan.

-

Shape plans contain information about how HarfBuzz will shape a -particular text segment, based on the segment's properties and the -capabilities in the font face in use.

-

Shape plans can be queried about how shaping will perform, given a set -of specific input parameters (script, language, direction, features, -etc.).

-
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/harfbuzz-hb-shape.html b/harfbuzz/docs/html/harfbuzz-hb-shape.html deleted file mode 100644 index 5ea14ea..0000000 --- a/harfbuzz/docs/html/harfbuzz-hb-shape.html +++ /dev/null @@ -1,212 +0,0 @@ - - - - -hb-shape: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-
-
- - -
-

hb-shape

-

hb-shape — Conversion of text strings into positioned glyphs

-
-
-

Functions

-
---- - - - - - - - - - - - - - - -
-void - -hb_shape () -
-hb_bool_t - -hb_shape_full () -
const char ** - -hb_shape_list_shapers () -
-
-
-

Includes

-
#include <hb.h>
-
-
-
-

Description

-

Shaping is the central operation of HarfBuzz. Shaping operates on buffers, -which are sequences of Unicode characters that use the same font and have -the same text direction, script, and language. After shaping the buffer -contains the output glyphs and their positions.

-
-
-

Functions

-
-

hb_shape ()

-
void
-hb_shape (hb_font_t *font,
-          hb_buffer_t *buffer,
-          const hb_feature_t *features,
-          unsigned int num_features);
-

Shapes buffer - using font - turning its Unicode characters content to -positioned glyphs. If features - is not NULL, it will be used to control the -features applied during shaping. If two features - have the same tag but -overlapping ranges the value of the feature with the higher index takes -precedence.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - -

font

an hb_font_t to use for shaping

 

buffer

an hb_buffer_t to shape

 

features

an array of user -specified hb_feature_t or NULL.

[array length=num_features][nullable]

num_features

the length of features -array

 
-
-

Since: 0.9.2

-
-
-
-

hb_shape_full ()

-
hb_bool_t
-hb_shape_full (hb_font_t *font,
-               hb_buffer_t *buffer,
-               const hb_feature_t *features,
-               unsigned int num_features,
-               const char * const *shaper_list);
-

See hb_shape() for details. If shaper_list - is not NULL, the specified -shapers will be used in the given order, otherwise the default shapers list -will be used.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

font

an hb_font_t to use for shaping

 

buffer

an hb_buffer_t to shape

 

features

an array of user -specified hb_feature_t or NULL.

[array length=num_features][nullable]

num_features

the length of features -array

 

shaper_list

a NULL-terminated -array of shapers to use or NULL.

[array zero-terminated=1][nullable]
-
-
-

Returns

-

false if all shapers failed, true otherwise

-
-

Since: 0.9.2

-
-
-
-

hb_shape_list_shapers ()

-
const char **
-hb_shape_list_shapers (void);
-

Retrieves the list of shapers supported by HarfBuzz.

-
-

Returns

-

an array of -constant strings.

-

[transfer none][array zero-terminated=1]

-
-

Since: 0.9.2

-
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/harfbuzz-hb-style.html b/harfbuzz/docs/html/harfbuzz-hb-style.html deleted file mode 100644 index fa33cdd..0000000 --- a/harfbuzz/docs/html/harfbuzz-hb-style.html +++ /dev/null @@ -1,190 +0,0 @@ - - - - -hb-style: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-
-
- - -
-

hb-style

-

hb-style — Font Styles

-
-
-

Functions

-
---- - - - - -
-float - -hb_style_get_value () -
-
-
-

Types and Values

-
---- - - - - -
enumhb_style_tag_t
-
-
-

Includes

-
#include <hb.h>
-
-
-
-

Description

-

Functions for fetching style information from fonts.

-
-
-

Functions

-
-

hb_style_get_value ()

-
float
-hb_style_get_value (hb_font_t *font,
-                    hb_style_tag_t style_tag);
-

Searches variation axes of a hb_font_t object for a specific axis first, -if not set, then tries to get default style values from different -tables of the font.

-
-

Parameters

-
----- - - - - - - - - - - - - -

font

a hb_font_t object.

 

style_tag

a style tag.

 
-
-
-

Returns

-

Corresponding axis or default value to a style tag.

-
-

Since: 3.0.0

-
-
-
-

Types and Values

-
-

enum hb_style_tag_t

-

Defined by OpenType Design-Variation Axis Tag Registry.

-
-

Members

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

HB_STYLE_TAG_ITALIC

-

Used to vary between non-italic and italic. -A value of 0 can be interpreted as "Roman" (non-italic); a value of 1 can -be interpreted as (fully) italic.

-
 

HB_STYLE_TAG_OPTICAL_SIZE

-

Used to vary design to suit different text sizes. -Non-zero. Values can be interpreted as text size, in points.

-
 

HB_STYLE_TAG_SLANT_ANGLE

-

Used to vary between upright and slanted text. Values -must be greater than -90 and less than +90. Values can be interpreted as -the angle, in counter-clockwise degrees, of oblique slant from whatever the -designer considers to be upright for that font design.

-
 

HB_STYLE_TAG_SLANT_RATIO

-

same as HB_STYLE_TAG_SLANT_ANGLE - expression as ratio.

-
 

HB_STYLE_TAG_WIDTH

-

Used to vary width of text from narrower to wider. -Non-zero. Values can be interpreted as a percentage of whatever the font -designer considers “normal width” for that font design.

-
 

HB_STYLE_TAG_WEIGHT

-

Used to vary stroke thicknesses or other design details -to give variation from lighter to blacker. Values can be interpreted in direct -comparison to values for usWeightClass in the OS/2 table, -or the CSS font-weight property.

-
 
-
-

Since: 3.0.0

-
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/harfbuzz-hb-subset.html b/harfbuzz/docs/html/harfbuzz-hb-subset.html deleted file mode 100644 index d8c0a4c..0000000 --- a/harfbuzz/docs/html/harfbuzz-hb-subset.html +++ /dev/null @@ -1,707 +0,0 @@ - - - - -hb-subset: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-
-
- - -
-

hb-subset

-

hb-subset — Subsets font files.

-
-
-

Functions

-
---- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-hb_subset_input_t * - -hb_subset_input_create_or_fail () -
-hb_subset_input_t * - -hb_subset_input_reference () -
-void - -hb_subset_input_destroy () -
-hb_bool_t - -hb_subset_input_set_user_data () -
-void * - -hb_subset_input_get_user_data () -
-hb_subset_flags_t - -hb_subset_input_get_flags () -
-void - -hb_subset_input_set_flags () -
-hb_set_t * - -hb_subset_input_unicode_set () -
-hb_set_t * - -hb_subset_input_glyph_set () -
-hb_set_t * - -hb_subset_input_set () -
-hb_face_t * - -hb_subset_or_fail () -
-
-
-

Types and Values

-
---- - - - - - - - - - - - - - - -
enumhb_subset_flags_t
typedefhb_subset_input_t
enumhb_subset_sets_t
-
-
-

Includes

-
#include <hb-subset.h>
-
-
-
-

Description

-

Subsetting reduces the codepoint coverage of font files and removes all data -that is no longer needed. A subset input describes the desired subset. The input is -provided along with a font to the subsetting operation. Output is a new font file -containing only the data specified in the input.

-

Currently most outline and bitmap tables are supported: glyf, CFF, CFF2, sbix, -COLR, and CBDT/CBLC. This also includes fonts with variable outlines via OpenType -variations. Notably EBDT/EBLC and SVG are not supported. Layout subsetting is supported -only for OpenType Layout tables (GSUB, GPOS, GDEF). Notably subsetting of graphite or AAT tables -is not yet supported.

-

Fonts with graphite or AAT tables may still be subsetted but will likely need to use the -retain glyph ids option and configure the subset to pass through the layout tables untouched.

-
-
-

Functions

-
-

hb_subset_input_create_or_fail ()

-
hb_subset_input_t *
-hb_subset_input_create_or_fail (void);
-

Creates a new subset input object.

-
-

Returns

-

New subset input, or NULL if failed. Destroy -with hb_subset_input_destroy().

-

[transfer full]

-
-

Since: 1.8.0

-
-
-
-

hb_subset_input_reference ()

-
hb_subset_input_t *
-hb_subset_input_reference (hb_subset_input_t *input);
-

Increases the reference count on input -.

-

[skip]

-
-

Parameters

-
----- - - - - - -

input

a hb_subset_input_t object.

 
-
-
-

Returns

-

input -.

-
-

Since: 1.8.0

-
-
-
-

hb_subset_input_destroy ()

-
void
-hb_subset_input_destroy (hb_subset_input_t *input);
-

Decreases the reference count on input -, and if it reaches zero, destroys -input -, freeing all memory.

-
-

Parameters

-
----- - - - - - -

input

a hb_subset_input_t object.

 
-
-

Since: 1.8.0

-
-
-
-

hb_subset_input_set_user_data ()

-
hb_bool_t
-hb_subset_input_set_user_data (hb_subset_input_t *input,
-                               hb_user_data_key_t *key,
-                               void *data,
-                               hb_destroy_func_t destroy,
-                               hb_bool_t replace);
-

Attaches a user-data key/data pair to the given subset input object.

-

[skip]

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

input

a hb_subset_input_t object.

 

key

The user-data key to set

 

data

A pointer to the user data

 

destroy

A callback to call when data -is not needed anymore.

[nullable]

replace

Whether to replace an existing data with the same key

 
-
-
-

Returns

-

true if success, false otherwise

-
-

Since: 2.9.0

-
-
-
-

hb_subset_input_get_user_data ()

-
void *
-hb_subset_input_get_user_data (const hb_subset_input_t *input,
-                               hb_user_data_key_t *key);
-

Fetches the user data associated with the specified key, -attached to the specified subset input object.

-

[skip]

-
-

Parameters

-
----- - - - - - - - - - - - - -

input

a hb_subset_input_t object.

 

key

The user-data key to query

 
-
-
-

Returns

-

A pointer to the user data.

-

[transfer none]

-
-

Since: 2.9.0

-
-
-
-

hb_subset_input_get_flags ()

-
hb_subset_flags_t
-hb_subset_input_get_flags (hb_subset_input_t *input);
-

Gets all of the subsetting flags in the input object.

-
-

Parameters

-
----- - - - - - -

input

a hb_subset_input_t object.

 
-
-
-

Returns

-

the subsetting flags bit field.

-
-

Since: 2.9.0

-
-
-
-

hb_subset_input_set_flags ()

-
void
-hb_subset_input_set_flags (hb_subset_input_t *input,
-                           unsigned  value);
-

Sets all of the flags in the input object to the values specified by the bit -field.

-
-

Parameters

-
----- - - - - - - - - - - - - -

input

a hb_subset_input_t object.

 

value

bit field of flags

 
-
-

Since: 2.9.0

-
-
-
-

hb_subset_input_unicode_set ()

-
hb_set_t *
-hb_subset_input_unicode_set (hb_subset_input_t *input);
-

Gets the set of Unicode code points to retain, the caller should modify the -set as needed.

-
-

Parameters

-
----- - - - - - -

input

a hb_subset_input_t object.

 
-
-
-

Returns

-

pointer to the hb_set_t of Unicode code -points.

-

[transfer none]

-
-

Since: 1.8.0

-
-
-
-

hb_subset_input_glyph_set ()

-
hb_set_t *
-hb_subset_input_glyph_set (hb_subset_input_t *input);
-

Gets the set of glyph IDs to retain, the caller should modify the set as -needed.

-
-

Parameters

-
----- - - - - - -

input

a hb_subset_input_t object.

 
-
-
-

Returns

-

pointer to the hb_set_t of glyph IDs.

-

[transfer none]

-
-

Since: 1.8.0

-
-
-
-

hb_subset_input_set ()

-
hb_set_t *
-hb_subset_input_set (hb_subset_input_t *input,
-                     hb_subset_sets_t set_type);
-

Gets the set of the specified type.

-
-

Parameters

-
----- - - - - - - - - - - - - -

input

a hb_subset_input_t object.

 

set_type

a hb_subset_sets_t set type.

 
-
-
-

Returns

-

pointer to the hb_set_t of the specified type.

-

[transfer none]

-
-

Since: 2.9.1

-
-
-
-

hb_subset_or_fail ()

-
hb_face_t *
-hb_subset_or_fail (hb_face_t *source,
-                   const hb_subset_input_t *input);
-

Subsets a font according to provided input. Returns nullptr -if the subset operation fails.

-
-

Parameters

-
----- - - - - - - - - - - - - -

source

font face data to be subset.

 

input

input to use for the subsetting.

 
-
-

Since: 2.9.0

-
-
-
-

Types and Values

-
-

enum hb_subset_flags_t

-

List of boolean properties that can be configured on the subset input.

-
-

Members

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

HB_SUBSET_FLAGS_DEFAULT

-

all flags at their default value of false.

-
 

HB_SUBSET_FLAGS_NO_HINTING

-

If set hinting instructions will be dropped in -the produced subset. Otherwise hinting instructions will be retained.

-
 

HB_SUBSET_FLAGS_RETAIN_GIDS

-

If set glyph indices will not be modified in -the produced subset. If glyphs are dropped their indices will be retained -as an empty glyph.

-
 

HB_SUBSET_FLAGS_DESUBROUTINIZE

-

If set and subsetting a CFF font the -subsetter will attempt to remove subroutines from the CFF glyphs.

-
 

HB_SUBSET_FLAGS_NAME_LEGACY

-

If set non-unicode name records will be -retained in the subset.

-
 

HB_SUBSET_FLAGS_SET_OVERLAPS_FLAG

-

If set the subsetter will set the -OVERLAP_SIMPLE flag on each simple glyph.

-
 

HB_SUBSET_FLAGS_PASSTHROUGH_UNRECOGNIZED

-

If set the subsetter will not -drop unrecognized tables and instead pass them through untouched.

-
 

HB_SUBSET_FLAGS_NOTDEF_OUTLINE

-

If set the notdef glyph outline will be -retained in the final subset.

-
 

HB_SUBSET_FLAGS_GLYPH_NAMES

-

If set the PS glyph names will be retained -in the final subset.

-
 

HB_SUBSET_FLAGS_NO_PRUNE_UNICODE_RANGES

-

If set then the unicode ranges in -OS/2 will not be recalculated.

-
 
-
-

Since: 2.9.0

-
-
-
-

hb_subset_input_t

-
typedef struct hb_subset_input_t hb_subset_input_t;
-
-

Things that change based on the input. Characters to keep, etc.

-
-
-
-

enum hb_subset_sets_t

-

List of sets that can be configured on the subset input.

-
-

Members

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

HB_SUBSET_SETS_GLYPH_INDEX

-

the set of glyph indexes to retain in the subset.

-
 

HB_SUBSET_SETS_UNICODE

-

the set of unicode codepoints to retain in the subset.

-
 

HB_SUBSET_SETS_NO_SUBSET_TABLE_TAG

-

the set of table tags which specifies tables that should not be -subsetted.

-
 

HB_SUBSET_SETS_DROP_TABLE_TAG

-

the set of table tags which specifies tables which will be dropped -in the subset.

-
 

HB_SUBSET_SETS_NAME_ID

-

the set of name ids that will be retained.

-
 

HB_SUBSET_SETS_NAME_LANG_ID

-

the set of name lang ids that will be retained.

-
 

HB_SUBSET_SETS_LAYOUT_FEATURE_TAG

-

the set of layout feature tags that will be retained -in the subset.

-
 
-
-

Since: 2.9.1

-
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/harfbuzz-hb-unicode.html b/harfbuzz/docs/html/harfbuzz-hb-unicode.html deleted file mode 100644 index 35276f3..0000000 --- a/harfbuzz/docs/html/harfbuzz-hb-unicode.html +++ /dev/null @@ -1,2099 +0,0 @@ - - - - -hb-unicode: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-
-
- - -
-

hb-unicode

-

hb-unicode — Unicode character property access

-
-
-

Functions

-
---- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-hb_unicode_combining_class_t - -hb_unicode_combining_class () -
-hb_unicode_combining_class_t - -(*hb_unicode_combining_class_func_t) () -
-hb_bool_t - -hb_unicode_compose () -
-hb_bool_t - -(*hb_unicode_compose_func_t) () -
-hb_bool_t - -hb_unicode_decompose () -
-hb_bool_t - -(*hb_unicode_decompose_func_t) () -
-hb_unicode_funcs_t * - -hb_unicode_funcs_create () -
-void - -hb_unicode_funcs_destroy () -
-hb_unicode_funcs_t * - -hb_unicode_funcs_get_default () -
-hb_unicode_funcs_t * - -hb_unicode_funcs_get_empty () -
-hb_unicode_funcs_t * - -hb_unicode_funcs_get_parent () -
-void * - -hb_unicode_funcs_get_user_data () -
-hb_bool_t - -hb_unicode_funcs_is_immutable () -
-void - -hb_unicode_funcs_make_immutable () -
-hb_unicode_funcs_t * - -hb_unicode_funcs_reference () -
-void - -hb_unicode_funcs_set_combining_class_func () -
-void - -hb_unicode_funcs_set_compose_func () -
-void - -hb_unicode_funcs_set_decompose_func () -
-void - -hb_unicode_funcs_set_general_category_func () -
-void - -hb_unicode_funcs_set_mirroring_func () -
-void - -hb_unicode_funcs_set_script_func () -
-hb_bool_t - -hb_unicode_funcs_set_user_data () -
-hb_unicode_general_category_t - -hb_unicode_general_category () -
-hb_unicode_general_category_t - -(*hb_unicode_general_category_func_t) () -
-hb_codepoint_t - -hb_unicode_mirroring () -
-hb_codepoint_t - -(*hb_unicode_mirroring_func_t) () -
-hb_script_t - -hb_unicode_script () -
-hb_script_t - -(*hb_unicode_script_func_t) () -
-
-
-

Types and Values

-
---- - - - - - - - - - - - - - - - - - - -
#defineHB_UNICODE_MAX
enumhb_unicode_combining_class_t
typedefhb_unicode_funcs_t
enumhb_unicode_general_category_t
-
-
-

Includes

-
#include <hb.h>
-
-
-
-

Description

-

Unicode functions are used to access Unicode character properties. -With these functions, client programs can query various properties from -the Unicode Character Database for any code point, such as General -Category (gc), Script (sc), Canonical Combining Class (ccc), etc.

-

Client programs can optionally pass in their own Unicode functions -that implement the same queries. The set of functions available is -defined by the virtual methods in hb_unicode_funcs_t.

-

HarfBuzz provides built-in default functions for each method in -hb_unicode_funcs_t.

-
-
-

Functions

-
-

hb_unicode_combining_class ()

-
hb_unicode_combining_class_t
-hb_unicode_combining_class (hb_unicode_funcs_t *ufuncs,
-                            hb_codepoint_t unicode);
-

Retrieves the Canonical Combining Class (ccc) property -of code point unicode -.

-
-

Parameters

-
----- - - - - - - - - - - - - -

ufuncs

The Unicode-functions structure

 

unicode

The code point to query

 
-
-
-

Returns

-

The hb_unicode_combining_class_t of unicode -

-
-

Since: 0.9.2

-
-
-
-

hb_unicode_combining_class_func_t ()

-
hb_unicode_combining_class_t
-(*hb_unicode_combining_class_func_t) (hb_unicode_funcs_t *ufuncs,
-                                      hb_codepoint_t unicode,
-                                      void *user_data);
-

A virtual method for the hb_unicode_funcs_t structure.

-

This method should retrieve the Canonical Combining Class (ccc) -property for a specified Unicode code point.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - -

ufuncs

A Unicode-functions structure

 

unicode

The code point to query

 

user_data

User data pointer passed by the caller

 
-
-
-

Returns

-

The hb_unicode_combining_class_t of unicode -

-
-
-
-
-

hb_unicode_compose ()

-
hb_bool_t
-hb_unicode_compose (hb_unicode_funcs_t *ufuncs,
-                    hb_codepoint_t a,
-                    hb_codepoint_t b,
-                    hb_codepoint_t *ab);
-

Fetches the composition of a sequence of two Unicode -code points.

-

Calls the composition function of the specified -Unicode-functions structure ufuncs -.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - -

ufuncs

The Unicode-functions structure

 

a

The first Unicode code point to compose

 

b

The second Unicode code point to compose

 

ab

The composition of a -, b -.

[out]
-
-
-

Returns

-

true if a -and b -composed, false otherwise

-
-

Since: 0.9.2

-
-
-
-

hb_unicode_compose_func_t ()

-
hb_bool_t
-(*hb_unicode_compose_func_t) (hb_unicode_funcs_t *ufuncs,
-                              hb_codepoint_t a,
-                              hb_codepoint_t b,
-                              hb_codepoint_t *ab,
-                              void *user_data);
-

A virtual method for the hb_unicode_funcs_t structure.

-

This method should compose a sequence of two input Unicode code -points by canonical equivalence, returning the composed code -point in a hb_codepoint_t output parameter (if successful). -The method must return an hb_bool_t indicating the success -of the composition.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

ufuncs

A Unicode-functions structure

 

a

The first code point to compose

 

b

The second code point to compose

 

ab

The composed code point.

[out]

user_data

user data pointer passed by the caller

 
-
-
-

Returns

-

true is a -,b -composed, false otherwise

-
-
-
-
-

hb_unicode_decompose ()

-
hb_bool_t
-hb_unicode_decompose (hb_unicode_funcs_t *ufuncs,
-                      hb_codepoint_t ab,
-                      hb_codepoint_t *a,
-                      hb_codepoint_t *b);
-

Fetches the decomposition of a Unicode code point.

-

Calls the decomposition function of the specified -Unicode-functions structure ufuncs -.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - -

ufuncs

The Unicode-functions structure

 

ab

Unicode code point to decompose

 

a

The first code point of the decomposition of ab -.

[out]

b

The second code point of the decomposition of ab -.

[out]
-
-
-

Returns

-

true if ab -was decomposed, false otherwise

-
-

Since: 0.9.2

-
-
-
-

hb_unicode_decompose_func_t ()

-
hb_bool_t
-(*hb_unicode_decompose_func_t) (hb_unicode_funcs_t *ufuncs,
-                                hb_codepoint_t ab,
-                                hb_codepoint_t *a,
-                                hb_codepoint_t *b,
-                                void *user_data);
-

A virtual method for the hb_unicode_funcs_t structure.

-

This method should decompose an input Unicode code point, -returning the two decomposed code points in hb_codepoint_t -output parameters (if successful). The method must return an -hb_bool_t indicating the success of the composition.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

ufuncs

A Unicode-functions structure

 

ab

The code point to decompose

 

a

The first decomposed code point.

[out]

b

The second decomposed code point.

[out]

user_data

user data pointer passed by the caller

 
-
-
-

Returns

-

true if ab -decomposed, false otherwise

-
-
-
-
-

hb_unicode_funcs_create ()

-
hb_unicode_funcs_t *
-hb_unicode_funcs_create (hb_unicode_funcs_t *parent);
-

Creates a new hb_unicode_funcs_t structure of Unicode functions.

-

[Xconstructor]

-
-

Parameters

-
----- - - - - - -

parent

Parent Unicode-functions structure.

[nullable]
-
-
-

Returns

-

The Unicode-functions structure.

-

[transfer full]

-
-

Since: 0.9.2

-
-
-
-

hb_unicode_funcs_destroy ()

-
void
-hb_unicode_funcs_destroy (hb_unicode_funcs_t *ufuncs);
-

Decreases the reference count on a Unicode-functions structure. When -the reference count reaches zero, the Unicode-functions structure is -destroyed, freeing all memory.

-

[skip]

-
-

Parameters

-
----- - - - - - -

ufuncs

The Unicode-functions structure

 
-
-

Since: 0.9.2

-
-
-
-

hb_unicode_funcs_get_default ()

-
hb_unicode_funcs_t *
-hb_unicode_funcs_get_default (void);
-

Fetches a pointer to the default Unicode-functions structure that is used -when no functions are explicitly set on hb_buffer_t.

-
-

Returns

-

a pointer to the hb_unicode_funcs_t Unicode-functions structure.

-

[transfer none]

-
-

Since: 0.9.2

-
-
-
-

hb_unicode_funcs_get_empty ()

-
hb_unicode_funcs_t *
-hb_unicode_funcs_get_empty (void);
-

Fetches the singleton empty Unicode-functions structure.

-
-

Returns

-

The empty Unicode-functions structure.

-

[transfer full]

-
-

Since: 0.9.2

-
-
-
-

hb_unicode_funcs_get_parent ()

-
hb_unicode_funcs_t *
-hb_unicode_funcs_get_parent (hb_unicode_funcs_t *ufuncs);
-

Fetches the parent of the Unicode-functions structure -ufuncs -.

-
-

Parameters

-
----- - - - - - -

ufuncs

The Unicode-functions structure

 
-
-
-

Returns

-

The parent Unicode-functions structure

-
-

Since: 0.9.2

-
-
-
-

hb_unicode_funcs_get_user_data ()

-
void *
-hb_unicode_funcs_get_user_data (hb_unicode_funcs_t *ufuncs,
-                                hb_user_data_key_t *key);
-

Fetches the user-data associated with the specified key, -attached to the specified Unicode-functions structure.

-

[skip]

-
-

Parameters

-
----- - - - - - - - - - - - - -

ufuncs

The Unicode-functions structure

 

key

The user-data key to query

 
-
-
-

Returns

-

A pointer to the user data.

-

[transfer none]

-
-

Since: 0.9.2

-
-
-
-

hb_unicode_funcs_is_immutable ()

-
hb_bool_t
-hb_unicode_funcs_is_immutable (hb_unicode_funcs_t *ufuncs);
-

Tests whether the specified Unicode-functions structure -is immutable.

-
-

Parameters

-
----- - - - - - -

ufuncs

The Unicode-functions structure

 
-
-
-

Returns

-

true if ufuncs -is immutable, false otherwise

-
-

Since: 0.9.2

-
-
-
-

hb_unicode_funcs_make_immutable ()

-
void
-hb_unicode_funcs_make_immutable (hb_unicode_funcs_t *ufuncs);
-

Makes the specified Unicode-functions structure -immutable.

-
-

Parameters

-
----- - - - - - -

ufuncs

The Unicode-functions structure

 
-
-

Since: 0.9.2

-
-
-
-

hb_unicode_funcs_reference ()

-
hb_unicode_funcs_t *
-hb_unicode_funcs_reference (hb_unicode_funcs_t *ufuncs);
-

Increases the reference count on a Unicode-functions structure.

-

[skip]

-
-

Parameters

-
----- - - - - - -

ufuncs

The Unicode-functions structure

 
-
-
-

Returns

-

The Unicode-functions structure.

-

[transfer full]

-
-

Since: 0.9.2

-
-
-
-

hb_unicode_funcs_set_combining_class_func ()

-
void
-hb_unicode_funcs_set_combining_class_func
-                               (hb_unicode_funcs_t *ufuncs,
-                                hb_unicode_combining_class_func_t func,
-                                void *user_data,
-                                hb_destroy_func_t destroy);
-

Sets the implementation function for hb_unicode_combining_class_func_t.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - -

ufuncs

A Unicode-functions structure

 

func

The callback function to assign.

[closure user_data][destroy destroy][scope notified]

user_data

Data to pass to func -

 

destroy

The function to call when user_data -is not needed anymore.

[nullable]
-
-

Since: 0.9.2

-
-
-
-

hb_unicode_funcs_set_compose_func ()

-
void
-hb_unicode_funcs_set_compose_func (hb_unicode_funcs_t *ufuncs,
-                                   hb_unicode_compose_func_t func,
-                                   void *user_data,
-                                   hb_destroy_func_t destroy);
-

Sets the implementation function for hb_unicode_compose_func_t.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - -

ufuncs

A Unicode-functions structure

 

func

The callback function to assign.

[closure user_data][destroy destroy][scope notified]

user_data

Data to pass to func -

 

destroy

The function to call when user_data -is not needed anymore.

[nullable]
-
-

Since: 0.9.2

-
-
-
-

hb_unicode_funcs_set_decompose_func ()

-
void
-hb_unicode_funcs_set_decompose_func (hb_unicode_funcs_t *ufuncs,
-                                     hb_unicode_decompose_func_t func,
-                                     void *user_data,
-                                     hb_destroy_func_t destroy);
-

Sets the implementation function for hb_unicode_decompose_func_t.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - -

ufuncs

A Unicode-functions structure

 

func

The callback function to assign.

[closure user_data][destroy destroy][scope notified]

user_data

Data to pass to func -

 

destroy

The function to call when user_data -is not needed anymore.

[nullable]
-
-

Since: 0.9.2

-
-
-
-

hb_unicode_funcs_set_general_category_func ()

-
void
-hb_unicode_funcs_set_general_category_func
-                               (hb_unicode_funcs_t *ufuncs,
-                                hb_unicode_general_category_func_t func,
-                                void *user_data,
-                                hb_destroy_func_t destroy);
-

Sets the implementation function for hb_unicode_general_category_func_t.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - -

ufuncs

A Unicode-functions structure

 

func

The callback function to assign.

[closure user_data][destroy destroy][scope notified]

user_data

Data to pass to func -

 

destroy

The function to call when user_data -is not needed anymore.

[nullable]
-
-

Since: 0.9.2

-
-
-
-

hb_unicode_funcs_set_mirroring_func ()

-
void
-hb_unicode_funcs_set_mirroring_func (hb_unicode_funcs_t *ufuncs,
-                                     hb_unicode_mirroring_func_t func,
-                                     void *user_data,
-                                     hb_destroy_func_t destroy);
-

Sets the implementation function for hb_unicode_mirroring_func_t.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - -

ufuncs

A Unicode-functions structure

 

func

The callback function to assign.

[closure user_data][destroy destroy][scope notified]

user_data

Data to pass to func -

 

destroy

The function to call when user_data -is not needed anymore.

[nullable]
-
-

Since: 0.9.2

-
-
-
-

hb_unicode_funcs_set_script_func ()

-
void
-hb_unicode_funcs_set_script_func (hb_unicode_funcs_t *ufuncs,
-                                  hb_unicode_script_func_t func,
-                                  void *user_data,
-                                  hb_destroy_func_t destroy);
-

Sets the implementation function for hb_unicode_script_func_t.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - -

ufuncs

A Unicode-functions structure

 

func

The callback function to assign.

[closure user_data][destroy destroy][scope notified]

user_data

Data to pass to func -

 

destroy

The function to call when user_data -is not needed anymore.

[nullable]
-
-

Since: 0.9.2

-
-
-
-

hb_unicode_funcs_set_user_data ()

-
hb_bool_t
-hb_unicode_funcs_set_user_data (hb_unicode_funcs_t *ufuncs,
-                                hb_user_data_key_t *key,
-                                void *data,
-                                hb_destroy_func_t destroy,
-                                hb_bool_t replace);
-

Attaches a user-data key/data pair to the specified Unicode-functions structure.

-

[skip]

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

ufuncs

The Unicode-functions structure

 

key

The user-data key

 

data

A pointer to the user data

 

destroy

A callback to call when data -is not needed anymore.

[nullable]

replace

Whether to replace an existing data with the same key

 
-
-
-

Returns

-

true if success, false otherwise

-
-

Since: 0.9.2

-
-
-
-

hb_unicode_general_category ()

-
hb_unicode_general_category_t
-hb_unicode_general_category (hb_unicode_funcs_t *ufuncs,
-                             hb_codepoint_t unicode);
-

Retrieves the General Category (gc) property -of code point unicode -.

-
-

Parameters

-
----- - - - - - - - - - - - - -

ufuncs

The Unicode-functions structure

 

unicode

The code point to query

 
-
-
-

Returns

-

The hb_unicode_general_category_t of unicode -

-
-

Since: 0.9.2

-
-
-
-

hb_unicode_general_category_func_t ()

-
hb_unicode_general_category_t
-(*hb_unicode_general_category_func_t) (hb_unicode_funcs_t *ufuncs,
-                                       hb_codepoint_t unicode,
-                                       void *user_data);
-

A virtual method for the hb_unicode_funcs_t structure.

-

This method should retrieve the General Category property for -a specified Unicode code point.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - -

ufuncs

A Unicode-functions structure

 

unicode

The code point to query

 

user_data

User data pointer passed by the caller

 
-
-
-

Returns

-

The hb_unicode_general_category_t of unicode -

-
-
-
-
-

hb_unicode_mirroring ()

-
hb_codepoint_t
-hb_unicode_mirroring (hb_unicode_funcs_t *ufuncs,
-                      hb_codepoint_t unicode);
-

Retrieves the Bi-directional Mirroring Glyph code -point defined for code point unicode -.

-
-

Parameters

-
----- - - - - - - - - - - - - -

ufuncs

The Unicode-functions structure

 

unicode

The code point to query

 
-
-
-

Returns

-

The hb_codepoint_t of the Mirroring Glyph for unicode -

-
-

Since: 0.9.2

-
-
-
-

hb_unicode_mirroring_func_t ()

-
hb_codepoint_t
-(*hb_unicode_mirroring_func_t) (hb_unicode_funcs_t *ufuncs,
-                                hb_codepoint_t unicode,
-                                void *user_data);
-

A virtual method for the hb_unicode_funcs_t structure.

-

This method should retrieve the Bi-Directional Mirroring Glyph -code point for a specified Unicode code point.

-
Note: If a code point does not have a specified -Bi-Directional Mirroring Glyph defined, the method should -return the original code point.
-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - -

ufuncs

A Unicode-functions structure

 

unicode

The code point to query

 

user_data

User data pointer passed by the caller

 
-
-
-

Returns

-

The hb_codepoint_t of the Mirroring Glyph for unicode -

-
-
-
-
-

hb_unicode_script ()

-
hb_script_t
-hb_unicode_script (hb_unicode_funcs_t *ufuncs,
-                   hb_codepoint_t unicode);
-

Retrieves the hb_script_t script to which code -point unicode - belongs.

-
-

Parameters

-
----- - - - - - - - - - - - - -

ufuncs

The Unicode-functions structure

 

unicode

The code point to query

 
-
-
-

Returns

-

The hb_script_t of unicode -

-
-

Since: 0.9.2

-
-
-
-

hb_unicode_script_func_t ()

-
hb_script_t
-(*hb_unicode_script_func_t) (hb_unicode_funcs_t *ufuncs,
-                             hb_codepoint_t unicode,
-                             void *user_data);
-

A virtual method for the hb_unicode_funcs_t structure.

-

This method should retrieve the Script property for a -specified Unicode code point.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - -

ufuncs

A Unicode-functions structure

 

unicode

The code point to query

 

user_data

User data pointer passed by the caller

 
-
-
-

Returns

-

The hb_script_t of unicode -

-
-
-
-
-

Types and Values

-
-

HB_UNICODE_MAX

-
#define HB_UNICODE_MAX 0x10FFFFu
-
-

Maximum valid Unicode code point.

-

Since: 1.9.0

-
-
-
-

enum hb_unicode_combining_class_t

-

Data type for the Canonical_Combining_Class (ccc) property -from the Unicode Character Database.

-
Note: newer versions of Unicode may add new values. -Client programs should be ready to handle any value in the 0..254 range -being returned from hb_unicode_combining_class().
-
-

Members

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

HB_UNICODE_COMBINING_CLASS_NOT_REORDERED

-

Spacing and enclosing marks; also many vowel and consonant signs, even if nonspacing

-
 

HB_UNICODE_COMBINING_CLASS_OVERLAY

-

Marks which overlay a base letter or symbol

-
 

HB_UNICODE_COMBINING_CLASS_NUKTA

-

Diacritic nukta marks in Brahmi-derived scripts

-
 

HB_UNICODE_COMBINING_CLASS_KANA_VOICING

-

Hiragana/Katakana voicing marks

-
 

HB_UNICODE_COMBINING_CLASS_VIRAMA

-

Viramas

-
 

HB_UNICODE_COMBINING_CLASS_CCC10

-

[Hebrew]

-
 

HB_UNICODE_COMBINING_CLASS_CCC11

-

[Hebrew]

-
 

HB_UNICODE_COMBINING_CLASS_CCC12

-

[Hebrew]

-
 

HB_UNICODE_COMBINING_CLASS_CCC13

-

[Hebrew]

-
 

HB_UNICODE_COMBINING_CLASS_CCC14

-

[Hebrew]

-
 

HB_UNICODE_COMBINING_CLASS_CCC15

-

[Hebrew]

-
 

HB_UNICODE_COMBINING_CLASS_CCC16

-

[Hebrew]

-
 

HB_UNICODE_COMBINING_CLASS_CCC17

-

[Hebrew]

-
 

HB_UNICODE_COMBINING_CLASS_CCC18

-

[Hebrew]

-
 

HB_UNICODE_COMBINING_CLASS_CCC19

-

[Hebrew]

-
 

HB_UNICODE_COMBINING_CLASS_CCC20

-

[Hebrew]

-
 

HB_UNICODE_COMBINING_CLASS_CCC21

-

[Hebrew]

-
 

HB_UNICODE_COMBINING_CLASS_CCC22

-

[Hebrew]

-
 

HB_UNICODE_COMBINING_CLASS_CCC23

-

[Hebrew]

-
 

HB_UNICODE_COMBINING_CLASS_CCC24

-

[Hebrew]

-
 

HB_UNICODE_COMBINING_CLASS_CCC25

-

[Hebrew]

-
 

HB_UNICODE_COMBINING_CLASS_CCC26

-

[Hebrew]

-
 

HB_UNICODE_COMBINING_CLASS_CCC27

-

[Arabic]

-
 

HB_UNICODE_COMBINING_CLASS_CCC28

-

[Arabic]

-
 

HB_UNICODE_COMBINING_CLASS_CCC29

-

[Arabic]

-
 

HB_UNICODE_COMBINING_CLASS_CCC30

-

[Arabic]

-
 

HB_UNICODE_COMBINING_CLASS_CCC31

-

[Arabic]

-
 

HB_UNICODE_COMBINING_CLASS_CCC32

-

[Arabic]

-
 

HB_UNICODE_COMBINING_CLASS_CCC33

-

[Arabic]

-
 

HB_UNICODE_COMBINING_CLASS_CCC34

-

[Arabic]

-
 

HB_UNICODE_COMBINING_CLASS_CCC35

-

[Arabic]

-
 

HB_UNICODE_COMBINING_CLASS_CCC36

-

[Syriac]

-
 

HB_UNICODE_COMBINING_CLASS_CCC84

-

[Telugu]

-
 

HB_UNICODE_COMBINING_CLASS_CCC91

-

[Telugu]

-
 

HB_UNICODE_COMBINING_CLASS_CCC103

-

[Thai]

-
 

HB_UNICODE_COMBINING_CLASS_CCC107

-

[Thai]

-
 

HB_UNICODE_COMBINING_CLASS_CCC118

-

[Lao]

-
 

HB_UNICODE_COMBINING_CLASS_CCC122

-

[Lao]

-
 

HB_UNICODE_COMBINING_CLASS_CCC129

-

[Tibetan]

-
 

HB_UNICODE_COMBINING_CLASS_CCC130

-

[Tibetan]

-
 

HB_UNICODE_COMBINING_CLASS_CCC133

-

[Tibetan]

-
 

HB_UNICODE_COMBINING_CLASS_ATTACHED_BELOW_LEFT

-

Marks attached at the bottom left

-
 

HB_UNICODE_COMBINING_CLASS_ATTACHED_BELOW

-

Marks attached directly below

-
 

HB_UNICODE_COMBINING_CLASS_ATTACHED_ABOVE

-

Marks attached directly above

-
 

HB_UNICODE_COMBINING_CLASS_ATTACHED_ABOVE_RIGHT

-

Marks attached at the top right

-
 

HB_UNICODE_COMBINING_CLASS_BELOW_LEFT

-

Distinct marks at the bottom left

-
 

HB_UNICODE_COMBINING_CLASS_BELOW

-

Distinct marks directly below

-
 

HB_UNICODE_COMBINING_CLASS_BELOW_RIGHT

-

Distinct marks at the bottom right

-
 

HB_UNICODE_COMBINING_CLASS_LEFT

-

Distinct marks to the left

-
 

HB_UNICODE_COMBINING_CLASS_RIGHT

-

Distinct marks to the right

-
 

HB_UNICODE_COMBINING_CLASS_ABOVE_LEFT

-

Distinct marks at the top left

-
 

HB_UNICODE_COMBINING_CLASS_ABOVE

-

Distinct marks directly above

-
 

HB_UNICODE_COMBINING_CLASS_ABOVE_RIGHT

-

Distinct marks at the top right

-
 

HB_UNICODE_COMBINING_CLASS_DOUBLE_BELOW

-

Distinct marks subtending two bases

-
 

HB_UNICODE_COMBINING_CLASS_DOUBLE_ABOVE

-

Distinct marks extending above two bases

-
 

HB_UNICODE_COMBINING_CLASS_IOTA_SUBSCRIPT

-

Greek iota subscript only

-
 

HB_UNICODE_COMBINING_CLASS_INVALID

-

Invalid combining class

-
 
-
-
-
-
-

hb_unicode_funcs_t

-
typedef struct hb_unicode_funcs_t hb_unicode_funcs_t;
-
-

Data type containing a set of virtual methods used for -accessing various Unicode character properties.

-

HarfBuzz provides a default function for each of the -methods in hb_unicode_funcs_t. Client programs can implement -their own replacements for the individual Unicode functions, as -needed, and replace the default by calling the setter for a -method.

-
-
-
-

enum hb_unicode_general_category_t

-

Data type for the "General_Category" (gc) property from -the Unicode Character Database.

-
-

Members

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

HB_UNICODE_GENERAL_CATEGORY_CONTROL

-

[Cc]

-
 

HB_UNICODE_GENERAL_CATEGORY_FORMAT

-

[Cf]

-
 

HB_UNICODE_GENERAL_CATEGORY_UNASSIGNED

-

[Cn]

-
 

HB_UNICODE_GENERAL_CATEGORY_PRIVATE_USE

-

[Co]

-
 

HB_UNICODE_GENERAL_CATEGORY_SURROGATE

-

[Cs]

-
 

HB_UNICODE_GENERAL_CATEGORY_LOWERCASE_LETTER

-

[Ll]

-
 

HB_UNICODE_GENERAL_CATEGORY_MODIFIER_LETTER

-

[Lm]

-
 

HB_UNICODE_GENERAL_CATEGORY_OTHER_LETTER

-

[Lo]

-
 

HB_UNICODE_GENERAL_CATEGORY_TITLECASE_LETTER

-

[Lt]

-
 

HB_UNICODE_GENERAL_CATEGORY_UPPERCASE_LETTER

-

[Lu]

-
 

HB_UNICODE_GENERAL_CATEGORY_SPACING_MARK

-

[Mc]

-
 

HB_UNICODE_GENERAL_CATEGORY_ENCLOSING_MARK

-

[Me]

-
 

HB_UNICODE_GENERAL_CATEGORY_NON_SPACING_MARK

-

[Mn]

-
 

HB_UNICODE_GENERAL_CATEGORY_DECIMAL_NUMBER

-

[Nd]

-
 

HB_UNICODE_GENERAL_CATEGORY_LETTER_NUMBER

-

[Nl]

-
 

HB_UNICODE_GENERAL_CATEGORY_OTHER_NUMBER

-

[No]

-
 

HB_UNICODE_GENERAL_CATEGORY_CONNECT_PUNCTUATION

-

[Pc]

-
 

HB_UNICODE_GENERAL_CATEGORY_DASH_PUNCTUATION

-

[Pd]

-
 

HB_UNICODE_GENERAL_CATEGORY_CLOSE_PUNCTUATION

-

[Pe]

-
 

HB_UNICODE_GENERAL_CATEGORY_FINAL_PUNCTUATION

-

[Pf]

-
 

HB_UNICODE_GENERAL_CATEGORY_INITIAL_PUNCTUATION

-

[Pi]

-
 

HB_UNICODE_GENERAL_CATEGORY_OTHER_PUNCTUATION

-

[Po]

-
 

HB_UNICODE_GENERAL_CATEGORY_OPEN_PUNCTUATION

-

[Ps]

-
 

HB_UNICODE_GENERAL_CATEGORY_CURRENCY_SYMBOL

-

[Sc]

-
 

HB_UNICODE_GENERAL_CATEGORY_MODIFIER_SYMBOL

-

[Sk]

-
 

HB_UNICODE_GENERAL_CATEGORY_MATH_SYMBOL

-

[Sm]

-
 

HB_UNICODE_GENERAL_CATEGORY_OTHER_SYMBOL

-

[So]

-
 

HB_UNICODE_GENERAL_CATEGORY_LINE_SEPARATOR

-

[Zl]

-
 

HB_UNICODE_GENERAL_CATEGORY_PARAGRAPH_SEPARATOR

-

[Zp]

-
 

HB_UNICODE_GENERAL_CATEGORY_SPACE_SEPARATOR

-

[Zs]

-
 
-
-
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/harfbuzz-hb-uniscribe.html b/harfbuzz/docs/html/harfbuzz-hb-uniscribe.html deleted file mode 100644 index 3eb26dd..0000000 --- a/harfbuzz/docs/html/harfbuzz-hb-uniscribe.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - -hb-uniscribe: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-
-
- - -
-

hb-uniscribe

-

hb-uniscribe — Windows integration

-
-
-

Functions

-
---- - - - - - - - - - - -
-HFONT - -hb_uniscribe_font_get_hfont () -
-LOGFONTW * - -hb_uniscribe_font_get_logfontw () -
-
-
-

Includes

-
#include <hb-uniscribe.h>
-
-
-
-

Description

-

Functions for using HarfBuzz with Windows fonts.

-
-
-

Functions

-
-

hb_uniscribe_font_get_hfont ()

-
HFONT
-hb_uniscribe_font_get_hfont (hb_font_t *font);
-

Fetches the HFONT handle that corresponds to the -specified hb_font_t font.

-
-

Parameters

-
----- - - - - - -

font

The hb_font_t to work upon

 
-
-
-

Returns

-

the HFONT retreieved

-
-
-
-
-

hb_uniscribe_font_get_logfontw ()

-
LOGFONTW *
-hb_uniscribe_font_get_logfontw (hb_font_t *font);
-

Fetches the LOGFONTW structure that corresponds to the -specified hb_font_t font.

-
-

Parameters

-
----- - - - - - -

font

The hb_font_t to work upon

 
-
-
-

Returns

-

a pointer to the LOGFONTW retrieved

-
-
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/harfbuzz-hb-version.html b/harfbuzz/docs/html/harfbuzz-hb-version.html deleted file mode 100644 index d9878c8..0000000 --- a/harfbuzz/docs/html/harfbuzz-hb-version.html +++ /dev/null @@ -1,274 +0,0 @@ - - - - -hb-version: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-
-
- - -
-

hb-version

-

hb-version — Information about the version of HarfBuzz in use

-
-
-

Functions

-
---- - - - - - - - - - - - - - - - - - - -
#define -HB_VERSION_ATLEAST() -
-void - -hb_version () -
-hb_bool_t - -hb_version_atleast () -
const char * - -hb_version_string () -
-
-
-

Types and Values

-
---- - - - - - - - - - - - - - - - - - - -
#defineHB_VERSION_MAJOR
#defineHB_VERSION_MICRO
#defineHB_VERSION_MINOR
#defineHB_VERSION_STRING
-
-
-

Includes

-
#include <hb.h>
-
-
-
-

Description

-

These functions and macros allow accessing version of the HarfBuzz -library used at compile- as well as run-time, and to direct code -conditionally based on those versions, again, at compile- or run-time.

-
-
-

Functions

-
-

HB_VERSION_ATLEAST()

-
#define             HB_VERSION_ATLEAST(major,minor,micro)
-

Tests the library version at compile-time against a minimum value, -as three integer components.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - -

major

the major component of the version number

 

minor

the minor component of the version number

 

micro

the micro component of the version number

 
-
-
-
-
-

hb_version ()

-
void
-hb_version (unsigned int *major,
-            unsigned int *minor,
-            unsigned int *micro);
-

Returns library version as three integer components.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - -

major

Library major version component.

[out]

minor

Library minor version component.

[out]

micro

Library micro version component.

[out]
-
-

Since: 0.9.2

-
-
-
-

hb_version_atleast ()

-
hb_bool_t
-hb_version_atleast (unsigned int major,
-                    unsigned int minor,
-                    unsigned int micro);
-

Tests the library version against a minimum value, -as three integer components.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - -

major

Library major version component

 

minor

Library minor version component

 

micro

Library micro version component

 
-
-
-

Returns

-

true if the library is equal to or greater than -the test value, false otherwise

-
-

Since: 0.9.30

-
-
-
-

hb_version_string ()

-
const char *
-hb_version_string (void);
-

Returns library version as a string with three components.

-
-

Returns

-

Library version string

-
-

Since: 0.9.2

-
-
-
-

Types and Values

-
-

HB_VERSION_MAJOR

-
#define HB_VERSION_MAJOR 3
-
-

The major component of the library version available at compile-time.

-
-
-
-

HB_VERSION_MICRO

-
#define HB_VERSION_MICRO 0
-
-

The micro component of the library version available at compile-time.

-
-
-
-

HB_VERSION_MINOR

-
#define HB_VERSION_MINOR 2
-
-

The minor component of the library version available at compile-time.

-
-
-
-

HB_VERSION_STRING

-
#define HB_VERSION_STRING "3.2.0"
-
-

A string literal containing the library version available at compile-time.

-
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/harfbuzz.devhelp2 b/harfbuzz/docs/html/harfbuzz.devhelp2 deleted file mode 100644 index 983b7ee..0000000 --- a/harfbuzz/docs/html/harfbuzz.devhelp2 +++ /dev/null @@ -1,1522 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/harfbuzz/docs/html/home.png b/harfbuzz/docs/html/home.png deleted file mode 100644 index b293af5..0000000 Binary files a/harfbuzz/docs/html/home.png and /dev/null differ diff --git a/harfbuzz/docs/html/index.html b/harfbuzz/docs/html/index.html deleted file mode 100644 index f2f6ed6..0000000 --- a/harfbuzz/docs/html/index.html +++ /dev/null @@ -1,338 +0,0 @@ - - - - -HarfBuzz Manual: HarfBuzz Manual - - - - - - - - -
-
-
-
-
-

HarfBuzz

-
-

- HarfBuzz is a text shaping library. Using the HarfBuzz library allows - programs to convert a sequence of Unicode input into - properly formatted and positioned glyph output—for any writing - system and language. -

-

- The canonical source-code tree is available at - github.com/harfbuzz/harfbuzz. - See Downloading HarfBuzz for - release tarballs. -

-
-
-
-
-
-
I. User's manual
-
-
What is HarfBuzz?
-
-
What is text shaping?
-
Why do I need a shaping engine?
-
What does HarfBuzz do?
-
What HarfBuzz doesn't do
-
Why is it called HarfBuzz?
-
-
Installing HarfBuzz
-
-
Downloading HarfBuzz
-
Building HarfBuzz
-
-
Building on Linux
-
Building on Windows
-
Building on macOS
-
Configuration options
-
-
-
Getting started with HarfBuzz
-
-
An overview of the HarfBuzz shaping API
-
Terminology
-
A simple shaping example
-
-
Shaping concepts
-
-
Text shaping
-
Complex scripts
-
Shaping operations
-
Unicode character categories
-
Text runs
-
OpenType shaping models
-
Graphite shaping
-
AAT shaping
-
-
The HarfBuzz object model
-
-
An overview of data types in HarfBuzz
-
Objects in HarfBuzz
-
Object lifecycle management
-
User data
-
Blobs
-
-
Buffers, language, script and direction
-
-
Creating and destroying buffers
-
Adding text to the buffer
-
Setting buffer properties
-
Customizing Unicode functions
-
-
Fonts, faces, and output
-
-
Font and face objects
-
Customizing font functions
-
Font objects and HarfBuzz's native OpenType implementation
-
Working with OpenType Variable Fonts
-
-
Shaping and shape plans
-
-
Shaping and buffer output
-
OpenType features
-
Shaper selection
-
Plans and caching
-
-
Clusters
-
-
Clusters and shaping
-
Working with HarfBuzz clusters
-
A clustering example for levels 0 and 1
-
Reordering in levels 0 and 1
-
The distinction between levels 0 and 1
-
Level 2
-
-
Ligatures with combining marks in level 2
-
Reordering in level 2
-
Other considerations in level 2
-
-
-
Utilities
-
-
Command-line tools
-
-
hb-shape
-
hb-view
-
hb-subset
-
-
Common data types and APIs
-
-
Platform Integration Guide
-
-
GNOME integration, GLib, and GObject
-
FreeType integration
-
Uniscribe integration
-
Core Text integration
-
ICU integration
-
Python bindings
-
-
-
II. Reference manual
-
-
Core API
-
-
-hb-blob — Binary data containers -
-
-hb-buffer — Input and output buffers -
-
-hb-common — Common data types -
-
-hb-deprecated — Deprecated API -
-
-hb-face — Font face objects -
-
-hb-font — Font objects -
-
-hb-map — Object representing integer to integer mapping -
-
-hb-set — Objects representing a set of integers -
-
-hb-shape-plan — Object representing a shaping plan -
-
-hb-shape — Conversion of text strings into positioned glyphs -
-
-hb-unicode — Unicode character property access -
-
-hb-version — Information about the version of HarfBuzz in use -
-
-
OpenType API
-
-
-hb-ot-color — OpenType Color Fonts -
-
-hb-ot-font — OpenType font implementation -
-
-hb-ot-layout — OpenType Layout -
-
-hb-ot-math — OpenType Math information -
-
-hb-ot-meta — OpenType Metadata -
-
-hb-ot-metrics — OpenType Metrics -
-
-hb-ot-name — OpenType font name information -
-
-hb-ot-shape — OpenType shaping support -
-
-hb-ot-var — OpenType Font Variations -
-
-
Apple Advanced Typography API
-
-hb-aat-layout — Apple Advanced Typography Layout -
-
Integration API
-
-
-hb-coretext — CoreText integration -
-
-hb-ft — FreeType integration -
-
-hb-glib — GLib integration -
-
-hb-graphite2 — Graphite2 integration -
-
-hb-icu — ICU integration -
-
-hb-uniscribe — Windows integration -
-
-hb-gdi — GDI integration -
-
-hb-directwrite — DirectWrite integration -
-
-
Style API
-
-hb-style — Font Styles -
-
Subset API
-
-hb-subset — Subsets font files. -
-
API Index
-
Index of deprecated API
-
Index of new symbols in 3.1.0
-
Index of new symbols in 3.0.0
-
Index of new symbols in 2.9.1
-
Index of new symbols in 2.9.0
-
Index of new symbols in 2.8.2
-
Index of new symbols in 2.7.3
-
Index of new symbols in 2.6.8
-
Index of new symbols in 2.6.5
-
Index of new symbols in 2.6.3
-
Index of new symbols in 2.6.0
-
Index of new symbols in 2.5.0
-
Index of new symbols in 2.4.0
-
Index of new symbols in 2.3.0
-
Index of new symbols in 2.2.0
-
Index of new symbols in 2.1.0
-
Index of new symbols in 2.0.0
-
Index of new symbols in 1.9.0
-
Index of new symbols in 1.8.6
-
Index of new symbols in 1.8.5
-
Index of new symbols in 1.8.1
-
Index of new symbols in 1.8.0
-
Index of new symbols in 1.7.7
-
Index of new symbols in 1.7.5
-
Index of new symbols in 1.7.2
-
Index of new symbols in 1.6.0
-
Index of new symbols in 1.5.0
-
Index of new symbols in 1.4.3
-
Index of new symbols in 1.4.2
-
Index of new symbols in 1.4.0
-
Index of new symbols in 1.3.3
-
Index of new symbols in 1.2.3
-
Index of new symbols in 1.1.3
-
Index of new symbols in 1.1.2
-
Index of new symbols in 1.0.5
-
Index of new symbols in 0.9.42
-
Index of new symbols in 0.9.41
-
Index of new symbols in 0.9.39
-
Index of new symbols in 0.9.38
-
Index of new symbols in 0.9.33
-
Index of new symbols in 0.9.31
-
Index of new symbols in 0.9.30
-
Index of new symbols in 0.9.28
-
Index of new symbols in 0.9.26
-
Index of new symbols in 0.9.22
-
Index of new symbols in 0.9.21
-
Index of new symbols in 0.9.20
-
Index of new symbols in 0.9.11
-
Index of new symbols in 0.9.10
-
Index of new symbols in 0.9.8
-
Index of new symbols in 0.9.7
-
Index of new symbols in 0.9.5
-
Index of new symbols in 0.9.2
-
Index of new symbols in 0.6.0
-
Annotation Glossary
-
-
-
-

- The current HarfBuzz codebase is versioned 2.x.x and is stable - and under active maintenance. This is what is used in latest - versions of Firefox, GNOME, ChromeOS, Chrome, LibreOffice, - XeTeX, Android, and KDE, among other places. -

-

- Prior to 2012, the original HarfBuzz codebase (which, these days, is - referred to as harfbuzz-old) was derived from code - in FreeType, - Pango, and - Qt. - It is not actively developed or maintained, and is - extremely buggy. All users of harfbuzz-old are encouraged to switch over - to the new HarfBuzz as soon as possible. -

-

- To make this distinction clearer in discussions, the current HarfBuzz - codebase is sometimes referred to as harfbuzz-ng. -

-

- For reference purposes, the harfbuzz-old source tree is archived - here. - There are no release tarballs of harfbuzz-old whatsoever. -

-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/install-harfbuzz.html b/harfbuzz/docs/html/install-harfbuzz.html deleted file mode 100644 index 6af6ca4..0000000 --- a/harfbuzz/docs/html/install-harfbuzz.html +++ /dev/null @@ -1,64 +0,0 @@ - - - - -Installing HarfBuzz: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Installing HarfBuzz

- -
-

-Downloading HarfBuzz

-

- The HarfBuzz source code is hosted at github.com/harfbuzz/harfbuzz. -

-

- Tarball releases and Win32 binary bundles (which include the - libharfbuzz DLL, hb-view.exe, hb-shape.exe, and all - dependencies) of HarfBuzz can be downloaded from github.com/harfbuzz/harfbuzz/releases. -

-

- Release notes are posted with each new release to provide an - overview of the changes. The project tracks bug - reports and other issues on GitHub. Discussion and - questions are welcome on GitHub as well. -

-

- The API included in the hb.h file will not change in a - compatibility-breaking way in any release. However, other, - peripheral headers are more likely to go through minor - modifications. We will do our best to never change APIs in an - incompatible way. We will never break the ABI. -

-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/integration-api.html b/harfbuzz/docs/html/integration-api.html deleted file mode 100644 index fdb7b45..0000000 --- a/harfbuzz/docs/html/integration-api.html +++ /dev/null @@ -1,55 +0,0 @@ - - - - -Integration API: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Integration API

-
-
-hb-coretext — CoreText integration -
-
-hb-ft — FreeType integration -
-
-hb-glib — GLib integration -
-
-hb-graphite2 — Graphite2 integration -
-
-hb-icu — ICU integration -
-
-hb-uniscribe — Windows integration -
-
-hb-gdi — GDI integration -
-
-hb-directwrite — DirectWrite integration -
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/integration-coretext.html b/harfbuzz/docs/html/integration-coretext.html deleted file mode 100644 index 8c8feb7..0000000 --- a/harfbuzz/docs/html/integration-coretext.html +++ /dev/null @@ -1,117 +0,0 @@ - - - - -Core Text integration: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Core Text integration

-

- If your client program is running on macOS or iOS, HarfBuzz offers - an additional API that can help integrate with Apple's - Core Text engine and the underlying Core Graphics - framework. HarfBuzz does not attempt to offer the same - drop-in-replacement functionality for Core Text that it strives - for with Uniscribe on Windows, but you can still use HarfBuzz - to perform text shaping in native macOS and iOS applications. -

-

- Note, though, that if your interest is just in using fonts that - contain Apple Advanced Typography (AAT) features, then you do - not need to add Core Text integration. HarfBuzz natively - supports AAT features and will shape AAT fonts (on any platform) - automatically, without requiring additional work on your - part. This includes support for AAT-specific TrueType tables - such as mort, morx, and - kerx, which AAT fonts use instead of - GSUB and GPOS. -

-

- On a macOS or iOS system, the primary integration points offered - by HarfBuzz are for face objects and font objects. -

-

- The Apple APIs offer a pair of data structures that map well to - HarfBuzz's face and font objects. The Core Graphics API, which - is slightly lower-level than Core Text, provides - CGFontRef, which enables access to typeface - properties, but does not include size information. Core Text's - CTFontRef is analagous to a HarfBuzz font object, - with all of the properties required to render text at a specific - size and configuration. - Consequently, a HarfBuzz hb_font_t font object can - be hooked up to a Core Text CTFontRef, and a HarfBuzz - hb_face_t face object can be hooked up to a - CGFontRef. -

-

- You can create a hb_face_t from a - CGFontRef by using the - hb_coretext_face_create(). Subsequently, - you can retrieve the CGFontRef from a - hb_face_t with hb_coretext_face_get_cg_font(). -

-

- Likewise, you create a hb_font_t from a - CTFontRef by calling - hb_coretext_font_create(), and you can - fetch the associated CTFontRef from a - hb_font_t font object with - hb_coretext_face_get_ct_font(). -

-

- HarfBuzz also offers a hb_font_set_ptem() - that you an use to set the nominal point size on any - hb_font_t font object. Core Text uses this value to - implement optical scaling. -

-

- When integrating your client code with Core Text, it is - important to recognize that Core Text points - are not typographic points (standardized at 72 per inch) as the - term is used elsewhere in OpenType. Instead, Core Text points - are CSS points, which are standardized at 96 per inch. -

-

- HarfBuzz's font functions take this distinction into account, - but it can be an easy detail to miss in cross-platform - code. -

-

- As a final note, you may notice a reference to an optional - coretext shaper back-end in the the section called “Configuration options” section of the HarfBuzz manual. This - option is not a Core Text-integration facility. -

-

- Instead, it is a internal code path used in the - hb-shape command-line utility, which hands - shaping functionality over to Core Text entirely, when run on a - macOS system. That allows testing HarfBuzz's native output - against the Core Text engine, for tracking compatibility and debugging. -

-

- Because this back-end is only used when testing HarfBuzz - functionality, it is disabled by default when building the - HarfBuzz binaries. -

-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/integration-freetype.html b/harfbuzz/docs/html/integration-freetype.html deleted file mode 100644 index c1070e9..0000000 --- a/harfbuzz/docs/html/integration-freetype.html +++ /dev/null @@ -1,174 +0,0 @@ - - - - -FreeType integration: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-FreeType integration

-

- FreeType is the free-software font-rendering engine included in - desktop Linux distributions, Android, ChromeOS, iOS, and multiple Unix - operating systems, and used by cross-platform programs like - Chrome, Java, and GhostScript. Used together, HarfBuzz can - perform shaping on Unicode text segments, outputting the glyph - IDs that FreeType should rasterize from the active font as well - as the positions at which those glyphs should be drawn. -

-

- HarfBuzz provides integration points with FreeType at the - face-object and font-object level and for the font-functions - virtual-method structure of a font object. To use the - FreeType-integration API, include the - hb-ft.h header. -

-

- In a typical client program, you will create your - hb_face_t face object and hb_font_t - font object from a FreeType FT_Face. HarfBuzz - provides a suite of functions for doing this. -

-

- In the most common case, you will want to use - hb_ft_font_create_referenced(), which - creates both an hb_face_t face object and - hb_font_t font object (linked to that face object), - and provides lifecycle management. -

-

- It is important to note, - though, that while HarfBuzz makes a distinction between its face and - font objects, FreeType's FT_Face does not. After - you create your FT_Face, you must set its size - parameter using FT_Set_Char_Size(), because - an hb_font_t is defined as an instance of an - hb_face_t with size specified. -

-
-      #include <hb-ft.h>
-      ...
-      FT_New_Face(ft_library, font_path, index, &face);
-      FT_Set_Char_Size(face, 0, 1000, 0, 0);
-      hb_font_t *font = hb_ft_font_create(face);
-    
-

- hb_ft_font_create_referenced() is - the recommended function for creating an hb_face_t face - object. This function calls FT_Reference_Face() - before using the FT_Face and calls - FT_Done_Face() when it is finished using the - FT_Face. Consequently, your client program does not need - to worry about destroying the FT_Face while HarfBuzz - is still using it. -

-

- Although hb_ft_font_create_referenced() is - the recommended function, there is another variant for client code - where special circumstances make it necessary. The simpler - version of the function is hb_ft_font_create(), - which takes an FT_Face and an optional destroy callback - as its arguments. Because hb_ft_font_create() - does not offer lifecycle management, however, your client code will - be responsible for tracking references to the FT_Face - objects and destroying them when they are no longer needed. If you - do not have a valid reason for doing this, use - hb_ft_font_create_referenced(). -

-

- After you have created your font object from your - FT_Face, you can set or retrieve the - load_flags of the - FT_Face through the hb_font_t - object. HarfBuzz provides - hb_ft_font_set_load_flags() and - hb_ft_font_get_load_flags() for this - purpose. The ability to set the - load_flags through the font object - could be useful for enabling or disabling hinting, for example, - or to activate vertical layout. -

-

- HarfBuzz also provides a utility function called - hb_ft_font_has_changed() that you should - call whenever you have altered the properties of your underlying - FT_Face, as well as a - hb_ft_get_face() that you can call on an - hb_font_t font object to fetch its underlying FT_Face. -

-

- With an hb_face_t and hb_font_t both linked - to your FT_Face, you will typically also want to - use FreeType for the font_funcs - vtable of your hb_font_t. As a reminder, this - font-functions structure is the set of methods that HarfBuzz - will use to fetch important information from the font, such as - the advances and extents of individual glyphs. -

-

- All you need to do is call -

-
-      hb_ft_font_set_funcs(font);
-    
-

- and HarfBuzz will use FreeType for the font-functions in - font. -

-

- As we noted above, an hb_font_t is derived from an - hb_face_t with size (and, perhaps, other - parameters, such as variation-axis coordinates) - specified. Consequently, you can reuse an hb_face_t - with several hb_font_t objects, and HarfBuzz - provides functions to simplify this. -

-

- The hb_ft_face_create_referenced() - function creates just an hb_face_t from a FreeType - FT_Face and, as with - hb_ft_font_create_referenced() above, - provides lifecycle management for the FT_Face. -

-

- Similarly, there is an hb_ft_face_create() - function variant that does not provide the lifecycle-management - feature. As with the font-object case, if you use this version - of the function, it will be your client code's respsonsibility - to track usage of the FT_Face objects. -

-

- A third variant of this function is - hb_ft_face_create_cached(), which is the - same as hb_ft_face_create() except that it - also uses the generic field of the - FT_Face structure to save a pointer to the newly - created hb_face_t. Subsequently, function calls - that pass the same FT_Face will get the same - hb_face_t returned — and the - hb_face_t will be correctly reference - counted. Still, as with - hb_ft_face_create(), your client code must - track references to the FT_Face itself, and destroy - it when it is unneeded. -

-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/integration-icu.html b/harfbuzz/docs/html/integration-icu.html deleted file mode 100644 index 9292567..0000000 --- a/harfbuzz/docs/html/integration-icu.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - -ICU integration: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-ICU integration

-

- Although HarfBuzz includes its own Unicode-data functions, it - also provides integration APIs for using the International - Components for Unicode (ICU) library as a source of Unicode data - on any supported platform. -

-

- The principal integration point with ICU is the - hb_unicode_funcs_t Unicode-functions structure - attached to a buffer. This structure holds the virtual methods - used for retrieving Unicode character properties, such as - General Category, Script, Combining Class, decomposition - mappings, and mirroring information. -

-

- To use ICU in your client program, you need to call - hb_icu_get_unicode_funcs(), which creates a - Unicode-functions structure populated with the ICU function for - each included method. Subsequently, you can attach the - Unicode-functions structure to your buffer: -

-
-      hb_unicode_funcs_t *icufunctions;
-      icufunctions = hb_icu_get_unicode_funcs();
-      hb_buffer_set_unicode_funcs(buf, icufunctions);
-    
-

- and ICU will be used for Unicode-data access. -

-

- HarfBuzz also supplies a pair of functions - (hb_icu_script_from_script() and - hb_icu_script_to_script()) for converting - between ICU's and HarfBuzz's internal enumerations of Unicode - scripts. The hb_icu_script_from_script() - function converts from a HarfBuzz hb_script_t to an - ICU UScriptCode. The - hb_icu_script_to_script() function does the - reverse: converting from a UScriptCode identifier - to a hb_script_t. -

-

- By default, HarfBuzz's ICU support is built as a separate shared - library (libharfbuzz-icu.so) - when compiling HarfBuzz from source. This allows client programs - that do not need ICU to link against HarfBuzz without unnecessarily - adding ICU as a dependency. You can also build HarfBuzz with ICU - support built directly into the main HarfBuzz shared library - (libharfbuzz.so), - by specifying the --with-icu=builtin - compile-time option. -

-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/integration-python.html b/harfbuzz/docs/html/integration-python.html deleted file mode 100644 index 1d13d30..0000000 --- a/harfbuzz/docs/html/integration-python.html +++ /dev/null @@ -1,61 +0,0 @@ - - - - -Python bindings: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Python bindings

-

- As noted in the the section called “GNOME integration, GLib, and GObject” section, - HarfBuzz uses a feature called GObject - Introspection (GI) to provide bindings for Python. -

-

- At compile time, the GI scanner analyzes the HarfBuzz C source - and builds metadata objects connecting the language bindings to - the C library. Your Python code can then use the HarfBuzz binary - through its Python interface. -

-

- HarfBuzz's Python bindings support Python 2 and Python 3. To use - them, you will need to have the pygobject - package installed. Then you should import - HarfBuzz from - gi.repository: -

-
-      from gi.repository import HarfBuzz
-    
-

- and you can call HarfBuzz functions from Python. Sample code can - be found in the sample.py script in the - HarfBuzz src directory. -

-

- Do note, however, that the Python API is subject to change - without advance notice. GI allows the bindings to be - automatically updated, which is one of its advantages, but you - may need to update your Python code. -

-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/integration-uniscribe.html b/harfbuzz/docs/html/integration-uniscribe.html deleted file mode 100644 index 3de9483..0000000 --- a/harfbuzz/docs/html/integration-uniscribe.html +++ /dev/null @@ -1,117 +0,0 @@ - - - - -Uniscribe integration: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Uniscribe integration

-

- If your client program is running on Windows, HarfBuzz offers - an additional API that can help integrate with Microsoft's - Uniscribe engine and the Windows GDI. -

-

- Overall, the Uniscribe API covers a broader set of typographic - layout functions than HarfBuzz implements, but HarfBuzz's - shaping API can serve as a drop-in replacement for Uniscribe's shaping - functionality. In fact, one of HarfBuzz's design goals is to - accurately reproduce the same output for shaping a given text - segment that Uniscribe produces — even to the point of - duplicating known shaping bugs or deviations from the - specification — so you can be confident that your users' - documents with their existing fonts will not be affected adversely by - switching to HarfBuzz. -

-

- At a basic level, HarfBuzz's hb_shape() - function replaces both the ScriptShape() - and ScriptPlace() - functions from Uniscribe. -

-

- However, whereas ScriptShape() returns the - glyphs and clusters for a shaped sequence and - ScriptPlace() returns the advances and - offsets for those glyphs, hb_shape() - handles both. After hb_shape() shapes a - buffer, the output glyph IDs and cluster IDs are returned as - an array of hb_glyph_info_t structures, and the - glyph advances and offsets are returned as an array of - hb_glyph_position_t structures. -

-

- Your client program only needs to ensure that it coverts - correctly between HarfBuzz's low-level data types (such as - hb_position_t) and Windows's corresponding types - (such as GOFFSET and ABC). Be sure you - read the Buffers, language, script and direction - chapter for a full explanation of how HarfBuzz input buffers are - used, and see the section called “Shaping and buffer output” for the - details of what hb_shape() returns in the - output buffer when shaping is complete. -

-

- Although hb_shape() itself is functionally - equivalent to Uniscribe's shaping routines, there are two - additional HarfBuzz functions you may want to use to integrate - the libraries in your code. Both are used to link HarfBuzz font - objects to the equivalent Windows structures. -

-

- The hb_uniscribe_font_get_logfontw() - function takes a hb_font_t font object and returns - a pointer to the LOGFONTW - "logical font" that corresponds to it. A LOGFONTW - structure holds font-wide attributes, including metrics, size, - and style information. -

-

- The hb_uniscribe_font_get_hfont() function - also takes a hb_font_t font object, but it returns - an HFONT — a handle to the underlying logical - font — instead. -

-

- LOGFONTWs and HFONTs are both needed - by other Uniscribe functions. -

-

- As a final note, you may notice a reference to an optional - uniscribe shaper back-end in the the section called “Configuration options” section of the HarfBuzz manual. This - option is not a Uniscribe-integration facility. -

-

- Instead, it is a internal code path used in the - hb-shape command-line utility, which hands - shaping functionality over to Uniscribe entirely, when run on a - Windows system. That allows testing HarfBuzz's native output - against the Uniscribe engine, for tracking compatibility and - debugging. -

-

- Because this back-end is only used when testing HarfBuzz - functionality, it is disabled by default when building the - HarfBuzz binaries. -

-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/integration.html b/harfbuzz/docs/html/integration.html deleted file mode 100644 index 8493b91..0000000 --- a/harfbuzz/docs/html/integration.html +++ /dev/null @@ -1,187 +0,0 @@ - - - - -Platform Integration Guide: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Platform Integration Guide

- -

- HarfBuzz was first developed for use with the GNOME and GTK - software stack commonly found in desktop Linux - distributions. Nevertheless, it can be used on other operating - systems and platforms, from iOS and macOS to Windows. It can also - be used with other application frameworks and components, such as - Android, Qt, or application-specific widget libraries. -

-

- This chapter will look at how HarfBuzz fits into a typical - text-rendering pipeline, and will discuss the APIs available to - integrate HarfBuzz with contemporary Linux, Mac, and Windows - software. It will also show how HarfBuzz integrates with popular - external libraries like FreeType and International Components for - Unicode (ICU) and describe the HarfBuzz language bindings for - Python. -

-

- On a GNOME system, HarfBuzz is designed to tie in with several - other common system libraries. The most common architecture uses - Pango at the layer directly "above" HarfBuzz; Pango is responsible - for text segmentation and for ensuring that each input - hb_buffer_t passed to HarfBuzz for shaping contains - Unicode code points that share the same segment properties - (namely, direction, language, and script, but also higher-level - properties like the active font, font style, and so on). -

-

- The layer directly "below" HarfBuzz is typically FreeType, which - is used to rasterize glyph outlines at the necessary optical size, - hinting settings, and pixel resolution. FreeType provides APIs for - accessing font and face information, so HarfBuzz includes - functions to create hb_face_t and - hb_font_t objects directly from FreeType - objects. HarfBuzz can use FreeType's built-in functions for - font_funcs vtable in an hb_font_t. -

-

- FreeType's output is bitmaps of the rasterized glyphs; on a - typical Linux system these will then be drawn by a graphics - library like Cairo, but those details are beyond HarfBuzz's - control. On the other hand, at the top end of the stack, Pango is - part of the larger GNOME framework, and HarfBuzz does include APIs - for working with key components of GNOME's higher-level libraries - — most notably GLib. -

-

- For other operating systems or application frameworks, the - critical integration points are where HarfBuzz gets font and face - information about the font used for shaping and where HarfBuzz - gets Unicode data about the input-buffer code points. -

-

- The font and face information is necessary for text shaping - because HarfBuzz needs to retrieve the glyph indices for - particular code points, and to know the extents and advances of - glyphs. Note that, in an OpenType variable font, both of those - types of information can change with different variation-axis - settings. -

-

- The Unicode information is necessary for shaping because the - properties of a code point (such as its General Category (gc), - Canonical Combining Class (ccc), and decomposition) can directly - impact the shaping moves that HarfBuzz performs. -

-
-

-GNOME integration, GLib, and GObject

-

- As mentioned in the preceding section, HarfBuzz offers - integration APIs to help client programs using the - GNOME and GTK framework commonly found in desktop Linux - distributions. -

-

- GLib is the main utility library for GNOME applications. It - provides basic data types and conversions, file abstractions, - string manipulation, and macros, as well as facilities like - memory allocation and the main event loop. -

-

- Where text shaping is concerned, GLib provides several utilities - that HarfBuzz can take advantage of, including a set of - Unicode-data functions and a data type for script - information. Both are useful when working with HarfBuzz - buffers. To make use of them, you will need to include the - hb-glib.h header file. -

-

- GLib's Unicode - manipulation API includes all the functionality - necessary to retrieve Unicode data for the - unicode_funcs structure of a HarfBuzz - hb_buffer_t. -

-

- The function hb_glib_get_unicode_funcs() - sets up a hb_unicode_funcs_t structure configured - with the GLib Unicode functions and returns a pointer to it. -

-

- You can attach this Unicode-functions structure to your buffer, - and it will be ready for use with GLib: -

-
-      #include <hb-glib.h>
-      ...
-      hb_unicode_funcs_t *glibufunctions;
-      glibufunctions = hb_glib_get_unicode_funcs();
-      hb_buffer_set_unicode_funcs(buf, glibufunctions);
-    
-

- For script information, GLib uses the - GUnicodeScript type. Like HarfBuzz's own - hb_script_t, this data type is an enumeration - of Unicode scripts, but text segments passed in from GLib code - will be tagged with a GUnicodeScript. Therefore, - when setting the script property on a hb_buffer_t, - you will need to convert between the GUnicodeScript - of the input provided by GLib and HarfBuzz's - hb_script_t type. -

-

- The hb_glib_script_to_script() function - takes an GUnicodeScript script identifier as its - sole argument and returns the corresponding hb_script_t. - The hb_glib_script_from_script() does the - reverse, taking an hb_script_t and returning the - GUnicodeScript identifier for GLib. -

-

- Finally, GLib also provides a reference-counted object type called GBytes - that is used for accessing raw memory segments with the benefits - of GLib's lifecycle management. HarfBuzz provides a - hb_glib_blob_create() function that lets - you create an hb_blob_t directly from a - GBytes object. This function takes only the - GBytes object as its input; HarfBuzz registers the - GLib destroy callback automatically. -

-

- The GNOME platform also features an object system called - GObject. For HarfBuzz, the main advantage of GObject is a - feature called GObject - Introspection. This is a middleware facility that can be - used to generate language bindings for C libraries. HarfBuzz uses it - to build its Python bindings, which we will look at in a separate section. -

-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/left-insensitive.png b/harfbuzz/docs/html/left-insensitive.png deleted file mode 100644 index 903790a..0000000 Binary files a/harfbuzz/docs/html/left-insensitive.png and /dev/null differ diff --git a/harfbuzz/docs/html/left.png b/harfbuzz/docs/html/left.png deleted file mode 100644 index 21b31e3..0000000 Binary files a/harfbuzz/docs/html/left.png and /dev/null differ diff --git a/harfbuzz/docs/html/level-2.html b/harfbuzz/docs/html/level-2.html deleted file mode 100644 index 9589fad..0000000 --- a/harfbuzz/docs/html/level-2.html +++ /dev/null @@ -1,185 +0,0 @@ - - - - -Level 2: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Level 2

-

- HarfBuzz's level 2 cluster behavior uses a significantly - different model than that of level 0 and level 1. -

-

- The level 2 behavior is easy to describe, but it may be - difficult to understand in practical terms. In brief, level 2 - performs no merging of clusters whatsoever. -

-

- This means that there is no initial base-and-mark merging step - (as is done in level 0), and it means that reordering moves and - ligature substitutions do not trigger a cluster merge. -

-

- Only one shaping operation directly affects clusters when using - level 2: -

-
  • - When a cluster decomposes, all of the - resulting child clusters inherit as their cluster value the - cluster value of the parent cluster. -

-

- When glyphs do form a ligature (or when some other feature - substitutes multiple glyphs with one glyph) the cluster value - of the first glyph is retained as the cluster value for the - resulting ligature. -

-

- This occurrence sounds similar to a cluster merge, but it is - different. In particular, no subsequent characters — - including marks and modifiers — are affected. They retain - their previous cluster values. -

-

- Level 2 cluster behavior is ultimately less complex than level 0 - or level 1, but there are several cases for which processing - cluster values produced at level 2 may be tricky. -

-
-

-Ligatures with combining marks in level 2

-

- The first example of how HarfBuzz's level 2 cluster behavior - can be tricky is when the text to be shaped includes combining - marks attached to ligatures. -

-

- Let us start with an input sequence with the following - characters (top row) and initial cluster values (bottom row): -

-
-	A,acute,B,breve,C,circumflex
-	0,1    ,2,3    ,4,5
-      
-

- If the sequence A,B,C forms a ligature, - then these are the cluster values HarfBuzz will return under - the various cluster levels: -

-

- Level 0: -

-
-	ABC,acute,breve,circumflex
-	0  ,0    ,0    ,0
-      
-

- Level 1: -

-
-	ABC,acute,breve,circumflex
-	0  ,0    ,0    ,5
-      
-

- Level 2: -

-
-	ABC,acute,breve,circumflex
-	0  ,1    ,3    ,5
-      
-

- Making sense of the level 2 result is the hardest for a client - program, because there is nothing in the cluster values that - indicates that B and C - formed a ligature with A. -

-

- In contrast, the "merged" cluster values of the mark glyphs - that are seen in the level 0 and level 1 output are evidence - that a ligature substitution took place. -

-
-
-

-Reordering in level 2

-

- Another example of how HarfBuzz's level 2 cluster behavior - can be tricky is when glyphs reorder. Consider an input sequence - with the following characters (top row) and initial cluster - values (bottom row): -

-
-	A,B,C,D,E
-	0,1,2,3,4
-      
-

- Now imagine D moves before - B in a reordering operation. The cluster - values will then be: -

-
-	A,D,B,C,E
-	0,3,1,2,4
-      
-

- Next, if D forms a ligature with - B, the output is: -

-
-	A,DB,C,E
-	0,3 ,2,4
-      
-

- However, in a different scenario, in which the shaping rules - of the script instead caused A and - B to form a ligature - before the D reordered, the - result would be: -

-
-	AB,D,C,E
-	0 ,3,2,4   
-      
-

- There is no way for a client program to differentiate between - these two scenarios based on the cluster values - alone. Consequently, client programs that use level 2 might - need to undertake additional work in order to manage cursor - positioning, text attributes, or other desired features. -

-
-
-

-Other considerations in level 2

-

- There may be other problems encountered with ligatures under - level 2, such as if the direction of the text is forced to - the opposite of its natural direction (for example, Arabic text - that is forced into left-to-right directionality). But, - generally speaking, these other scenarios are minor corner - cases that are too obscure for most client programs to need to - worry about. -

-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/object-model-blobs.html b/harfbuzz/docs/html/object-model-blobs.html deleted file mode 100644 index f871bcd..0000000 --- a/harfbuzz/docs/html/object-model-blobs.html +++ /dev/null @@ -1,56 +0,0 @@ - - - - -Blobs: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Blobs

-

- While most of HarfBuzz's object types are specific to the - shaping process, blobs are somewhat - different. -

-

- Blobs are an abstraction designed to negotiate lifecycle and - permissions for raw pieces of data. For example, when you load - the raw font data into memory and want to pass it to HarfBuzz, - you do so in a hb_blob_t wrapper. -

-

- This allows you to take advantage of HarffBuzz's - reference-counting and destroy - callbacks. If you allocated the memory for the data using - malloc(), you would create the blob using -

-
-      hb_blob_create (data, length, HB_MEMORY_MODE_WRITABLE, data, free)
-    
-

- That way, HarfBuzz will call free() on the - allocated memory whenever the blob drops its last reference and - is deconstructed. Consequently, the user code can stop worrying - about freeing memory and let the reference-counting machinery - take care of that. -

-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/object-model-lifecycle.html b/harfbuzz/docs/html/object-model-lifecycle.html deleted file mode 100644 index c853ac9..0000000 --- a/harfbuzz/docs/html/object-model-lifecycle.html +++ /dev/null @@ -1,97 +0,0 @@ - - - - -Object lifecycle management: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Object lifecycle management

-

- Each object type in HarfBuzz provides a - create() method. Some object types provide - additional variants of create() to handle - special cases or to speed up common tasks; those variants are - documented in the API reference. For example, - hb_blob_create_from_file() constructs a new - blob directly from the contents of a file. -

-

- All objects are created with an initial reference count of - 1. Client programs can increase the reference - count on an object by calling its - reference() method. Whenever a client - program is finished with an object, it should call its - corresponding destroy() method. The destroy - method will decrease the reference count on the object and, - whenever the reference count reaches zero, it will also destroy - the object and free all of the associated memory. -

-

- All of HarfBuzz's object-lifecycle-management APIs are - thread-safe (unless you compiled HarfBuzz from source with the - HB_NO_MT configuration flag), even when the - object as a whole is not thread-safe. - It is also permissible to reference() or to - destroy() the NULL - value. -

-

- Some objects are thread-safe after they have been constructed - and set up. The general pattern is to - create() the object, make a few - set_*() calls to set up the - object, and then use it without further modification. -

-

- To ensure that such an object is not modified, client programs - can explicitly mark an object as immutable. HarfBuzz provides - make_immutable() methods to mark an object - as immutable and is_immutable() methods to - test whether or not an object is immutable. Attempts to use - setter functions on immutable objects will fail silently; see the API - Reference manual for specifics. -

-

- Note also that there are no "make mutable" methods. If client - programs need to alter an object previously marked as immutable, - they will need to make a duplicate of the original. -

-

- Finally, object constructors (and, indeed, as much of the - shaping API as possible) will never return - NULL. Instead, if there is an allocation - error, each constructor will return an “empty” object - singleton. -

-

- These empty-object singletons are inert and safe (although - typically useless) to pass around. This design choice avoids - having to check for NULL pointers all - throughout the code. -

-

- In addition, this “empty” object singleton can also be accessed - using the get_empty() method of the object - type in question. -

-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/object-model-object-types.html b/harfbuzz/docs/html/object-model-object-types.html deleted file mode 100644 index 1905f09..0000000 --- a/harfbuzz/docs/html/object-model-object-types.html +++ /dev/null @@ -1,84 +0,0 @@ - - - - -Objects in HarfBuzz: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Objects in HarfBuzz

-

- Object types: Opaque struct types are used - for what HarfBuzz loosely calls "objects." This doesn’t have - much to do with the terminology from object-oriented programming - (OOP), although some of the concepts are similar. -

-

- In HarfBuzz, all object types provide certain - lifecycle-management APIs. Objects are reference-counted, and - constructed with various create() methods, referenced via - reference() and dereferenced using - destroy(). -

-

- For example, - the hb_buffer_t object has - hb_buffer_create() as its constructor, - hb_buffer_reference() to reference, and - hb_buffer_destroy() to dereference. -

-

- After construction, each object's properties are accessible only - through the setter and getter functions described in the API - Reference manual. -

-

- Key object types provided by HarfBuzz include: -

-
    -
  • - blobs, which act as low-level wrappers around binary - data. Blobs are typically used to hold the contents of a - binary font file. -

  • -
  • - faces, which represent typefaces from a - font file, but without specific parameters (such as size) set. -

  • -
  • - fonts, which represent instances of a - face with all of their parameters specified. -

  • -
  • - buffers, which hold Unicode code points - for characters (before shaping) and the shaped glyph output - (after shaping). -

  • -
  • - shape plans, which store the settings - that HarfBuzz will use when shaping a particular text - segment. Shape plans are not generally used by client - programs directly, but as we will see in a later chapter, - they are still valuable to understand. -

  • -
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/object-model-user-data.html b/harfbuzz/docs/html/object-model-user-data.html deleted file mode 100644 index b04dd76..0000000 --- a/harfbuzz/docs/html/object-model-user-data.html +++ /dev/null @@ -1,59 +0,0 @@ - - - - -User data: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-User data

-

- To better integrate with client programs, HarfBuzz's objects - offer a "user data" mechanism that can be used to attach - arbitrary data to the object. User-data attachment can be - useful for tying the lifecycles of various pieces of data - together, or for creating language bindings. -

-

- Each object type has a set_user_data() - method and a get_user_data() method. The - set_user_data() methods take a client-provided - key and a pointer, - user_data, pointing to the data itself. Once - the key-data pair has been attached to the object, the - get_user_data() method can be called with - the key, returning the user_data pointer. -

-

- The set_user_data() methods also support an - optional destroy callback. Client programs - can set the destroy callback and receive - notification from HarfBuzz whenever the object is destructed. -

-

- Finally, each set_user_data() method allows - the client program to set a replace Boolean - indicating whether or not the function call should replace any - existing user_data - associated with the specified key. -

-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/object-model.html b/harfbuzz/docs/html/object-model.html deleted file mode 100644 index 7bb4b17..0000000 --- a/harfbuzz/docs/html/object-model.html +++ /dev/null @@ -1,73 +0,0 @@ - - - - -The HarfBuzz object model: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-The HarfBuzz object model

- -
-

-An overview of data types in HarfBuzz

-

- HarfBuzz features two kinds of data types: non-opaque, - pass-by-value types and opaque, heap-allocated types. This kind - of separation is common in C libraries that have to provide - API/ABI compatibility (almost) indefinitely. -

-

- Value types: The non-opaque, pass-by-value - types include integer types, enums, and small structs. Exposing - a struct in the public API makes it impossible to expand the - struct in the future. As such, exposing structs is reserved for - cases where it’s extremely inefficient to do otherwise. -

-

- In HarfBuzz, several structs, like hb_glyph_info_t and - hb_glyph_position_t, fall into that efficiency-sensitive - category and are non-opaque. -

-

- For all non-opaque structs where future extensibility may be - necessary, reserved members are included to hold space for - possible future members. As such, it’s important to provide - equal(), and hash() - methods for such structs, allowing users of the API do - effectively deal with the type without having to - adapt their code to future changes. -

-

- Important value types provided by HarfBuzz include the structs - for working with Unicode code points, glyphs, and tags for font - tables and features, as well as the enums for many Unicode and - OpenType properties. -

-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/opentype-api.html b/harfbuzz/docs/html/opentype-api.html deleted file mode 100644 index 32dbb5d..0000000 --- a/harfbuzz/docs/html/opentype-api.html +++ /dev/null @@ -1,58 +0,0 @@ - - - - -OpenType API: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-OpenType API

-
-
-hb-ot-color — OpenType Color Fonts -
-
-hb-ot-font — OpenType font implementation -
-
-hb-ot-layout — OpenType Layout -
-
-hb-ot-math — OpenType Math information -
-
-hb-ot-meta — OpenType Metadata -
-
-hb-ot-metrics — OpenType Metrics -
-
-hb-ot-name — OpenType font name information -
-
-hb-ot-shape — OpenType shaping support -
-
-hb-ot-var — OpenType Font Variations -
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/opentype-shaping-models.html b/harfbuzz/docs/html/opentype-shaping-models.html deleted file mode 100644 index 8fd85a7..0000000 --- a/harfbuzz/docs/html/opentype-shaping-models.html +++ /dev/null @@ -1,100 +0,0 @@ - - - - -OpenType shaping models: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-OpenType shaping models

-

- OpenType provides shaping models for the following scripts: -

-
    -
  • - The default shaping model handles all - non-complex scripts, and may also be used as a fallback for - handling unrecognized scripts. -

  • -
  • -

    - The Indic shaping model handles the Indic - scripts Bengali, Devanagari, Gujarati, Gurmukhi, Kannada, - Malayalam, Oriya, Tamil, Telugu, and Sinhala. -

    -

    - The Indic shaping model was revised significantly in - 2005. To denote the change, a new set of script - tags was assigned for Bengali, Devanagari, - Gujarati, Gurmukhi, Kannada, Malayalam, Oriya, Tamil, and - Telugu. For the sake of clarity, the term "Indic2" is - sometimes used to refer to the current, revised shaping - model. -

    -
  • -
  • - The Arabic shaping model supports - Arabic, Mongolian, N'Ko, Syriac, and several other connected - or cursive scripts. -

  • -
  • - The Thai/Lao shaping model supports - the Thai and Lao scripts. -

  • -
  • - The Khmer shaping model supports the - Khmer script. -

  • -
  • - The Myanmar shaping model supports the - Myanmar (or Burmese) script. -

  • -
  • - The Tibetan shaping model supports the - Tibetan script. -

  • -
  • - The Hangul shaping model supports the - Hangul script. -

  • -
  • - The Hebrew shaping model supports the - Hebrew script. -

  • -
  • - The Universal Shaping Engine (USE) - shaping model supports complex scripts not covered by one of - the above, script-specific shaping models, including - Javanese, Balinese, Buginese, Batak, Chakma, Lepcha, Modi, - Phags-pa, Tagalog, Siddham, Sundanese, Tai Le, Tai Tham, Tai - Viet, and many others. -

  • -
  • - Text runs that do not fall under one of the above shaping - models may still require processing by a shaping engine. Of - particular note is Emoji shaping, which - may involve variation-selector sequences and glyph - substitution. Emoji shaping is handled by the default - shaping model. -

  • -
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/reference-manual.html b/harfbuzz/docs/html/reference-manual.html deleted file mode 100644 index eee639d..0000000 --- a/harfbuzz/docs/html/reference-manual.html +++ /dev/null @@ -1,205 +0,0 @@ - - - - -Part II. Reference manual: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-
-

-Part II. Reference manual

-

- This document is for HarfBuzz 3.2.0 -. - -

-
-
-

Table of Contents

-
-
Core API
-
-
-hb-blob — Binary data containers -
-
-hb-buffer — Input and output buffers -
-
-hb-common — Common data types -
-
-hb-deprecated — Deprecated API -
-
-hb-face — Font face objects -
-
-hb-font — Font objects -
-
-hb-map — Object representing integer to integer mapping -
-
-hb-set — Objects representing a set of integers -
-
-hb-shape-plan — Object representing a shaping plan -
-
-hb-shape — Conversion of text strings into positioned glyphs -
-
-hb-unicode — Unicode character property access -
-
-hb-version — Information about the version of HarfBuzz in use -
-
-
OpenType API
-
-
-hb-ot-color — OpenType Color Fonts -
-
-hb-ot-font — OpenType font implementation -
-
-hb-ot-layout — OpenType Layout -
-
-hb-ot-math — OpenType Math information -
-
-hb-ot-meta — OpenType Metadata -
-
-hb-ot-metrics — OpenType Metrics -
-
-hb-ot-name — OpenType font name information -
-
-hb-ot-shape — OpenType shaping support -
-
-hb-ot-var — OpenType Font Variations -
-
-
Apple Advanced Typography API
-
-hb-aat-layout — Apple Advanced Typography Layout -
-
Integration API
-
-
-hb-coretext — CoreText integration -
-
-hb-ft — FreeType integration -
-
-hb-glib — GLib integration -
-
-hb-graphite2 — Graphite2 integration -
-
-hb-icu — ICU integration -
-
-hb-uniscribe — Windows integration -
-
-hb-gdi — GDI integration -
-
-hb-directwrite — DirectWrite integration -
-
-
Style API
-
-hb-style — Font Styles -
-
Subset API
-
-hb-subset — Subsets font files. -
-
API Index
-
Index of deprecated API
-
Index of new symbols in 3.1.0
-
Index of new symbols in 3.0.0
-
Index of new symbols in 2.9.1
-
Index of new symbols in 2.9.0
-
Index of new symbols in 2.8.2
-
Index of new symbols in 2.7.3
-
Index of new symbols in 2.6.8
-
Index of new symbols in 2.6.5
-
Index of new symbols in 2.6.3
-
Index of new symbols in 2.6.0
-
Index of new symbols in 2.5.0
-
Index of new symbols in 2.4.0
-
Index of new symbols in 2.3.0
-
Index of new symbols in 2.2.0
-
Index of new symbols in 2.1.0
-
Index of new symbols in 2.0.0
-
Index of new symbols in 1.9.0
-
Index of new symbols in 1.8.6
-
Index of new symbols in 1.8.5
-
Index of new symbols in 1.8.1
-
Index of new symbols in 1.8.0
-
Index of new symbols in 1.7.7
-
Index of new symbols in 1.7.5
-
Index of new symbols in 1.7.2
-
Index of new symbols in 1.6.0
-
Index of new symbols in 1.5.0
-
Index of new symbols in 1.4.3
-
Index of new symbols in 1.4.2
-
Index of new symbols in 1.4.0
-
Index of new symbols in 1.3.3
-
Index of new symbols in 1.2.3
-
Index of new symbols in 1.1.3
-
Index of new symbols in 1.1.2
-
Index of new symbols in 1.0.5
-
Index of new symbols in 0.9.42
-
Index of new symbols in 0.9.41
-
Index of new symbols in 0.9.39
-
Index of new symbols in 0.9.38
-
Index of new symbols in 0.9.33
-
Index of new symbols in 0.9.31
-
Index of new symbols in 0.9.30
-
Index of new symbols in 0.9.28
-
Index of new symbols in 0.9.26
-
Index of new symbols in 0.9.22
-
Index of new symbols in 0.9.21
-
Index of new symbols in 0.9.20
-
Index of new symbols in 0.9.11
-
Index of new symbols in 0.9.10
-
Index of new symbols in 0.9.8
-
Index of new symbols in 0.9.7
-
Index of new symbols in 0.9.5
-
Index of new symbols in 0.9.2
-
Index of new symbols in 0.6.0
-
Annotation Glossary
-
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/reordering-in-levels-0-and-1.html b/harfbuzz/docs/html/reordering-in-levels-0-and-1.html deleted file mode 100644 index a051767..0000000 --- a/harfbuzz/docs/html/reordering-in-levels-0-and-1.html +++ /dev/null @@ -1,64 +0,0 @@ - - - - -Reordering in levels 0 and 1: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Reordering in levels 0 and 1

-

- Another common operation in the more complex shapers is glyph - reordering. In order to maintain a monotonic cluster sequence - when glyph reordering takes place, HarfBuzz merges the clusters - of everything in the reordering sequence. -

-

- For example, let us again start with the character sequence (top - row) and initial cluster values (bottom row): -

-
-      A,B,C,D,E
-      0,1,2,3,4
-    
-

- If D is reordered to the position immediately - before B, then HarfBuzz merges the - B, C, and - D clusters — all the clusters between - the final position of the reordered glyph and its original - position. This means that we get: -

-
-      A,D,B,C,E
-      0,1,1,1,4
-    
-

- as the final cluster sequence. -

-

- Merging this many clusters is not ideal, but it is the only - sensible way for HarfBuzz to maintain the guarantee that the - sequence of cluster values remains monotonic and to retain the - true relationship between glyphs and characters. -

-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/right-insensitive.png b/harfbuzz/docs/html/right-insensitive.png deleted file mode 100644 index a3696bf..0000000 Binary files a/harfbuzz/docs/html/right-insensitive.png and /dev/null differ diff --git a/harfbuzz/docs/html/right.png b/harfbuzz/docs/html/right.png deleted file mode 100644 index 73d25da..0000000 Binary files a/harfbuzz/docs/html/right.png and /dev/null differ diff --git a/harfbuzz/docs/html/setting-buffer-properties.html b/harfbuzz/docs/html/setting-buffer-properties.html deleted file mode 100644 index 7ce728d..0000000 --- a/harfbuzz/docs/html/setting-buffer-properties.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - -Setting buffer properties: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Setting buffer properties

-

- Buffers containing input characters still need several - properties set before HarfBuzz can shape their text correctly. -

-

- Initially, all buffers are set to the - HB_BUFFER_CONTENT_TYPE_INVALID content - type. After adding text, the buffer should be set to - HB_BUFFER_CONTENT_TYPE_UNICODE instead, which - indicates that it contains un-shaped input - characters. After shaping, the buffer will have the - HB_BUFFER_CONTENT_TYPE_GLYPHS content type. -

-

- hb_buffer_add_utf8() and the - other UTF functions set the content type of their buffer - automatically. But if you are reusing a buffer you may want to - check its state with - hb_buffer_get_content_type(buffer). If - necessary you can set the content type with -

-
-      hb_buffer_set_content_type(buf, HB_BUFFER_CONTENT_TYPE_UNICODE);
-    
-

- to prepare for shaping. -

-

- Buffers also need to carry information about the script, - language, and text direction of their contents. You can set - these properties individually: -

-
-      hb_buffer_set_direction(buf, HB_DIRECTION_LTR);
-      hb_buffer_set_script(buf, HB_SCRIPT_LATIN);
-      hb_buffer_set_language(buf, hb_language_from_string("en", -1));
-    
-

- However, since these properties are often repeated for - multiple text runs, you can also save them in a - hb_segment_properties_t for reuse: -

-
-      hb_segment_properties_t *savedprops;
-      hb_buffer_get_segment_properties (buf, savedprops);
-      ...
-      hb_buffer_set_segment_properties (buf2, savedprops);
-    
-

- HarfBuzz also provides getter functions to retrieve a buffer's - direction, script, and language properties individually. -

-

- HarfBuzz recognizes four text directions in - hb_direction_t: left-to-right - (HB_DIRECTION_LTR), right-to-left (HB_DIRECTION_RTL), - top-to-bottom (HB_DIRECTION_TTB), and - bottom-to-top (HB_DIRECTION_BTT). For the - script property, HarfBuzz uses identifiers based on the - ISO 15924 - standard. For languages, HarfBuzz uses tags based on the - IETF BCP 47 standard. -

-

- Helper functions are provided to convert character strings into - the necessary script and language tag types. -

-

- Two additional buffer properties to be aware of are the - "invisible glyph" and the replacement code point. The - replacement code point is inserted into buffer output in place of - any invalid code points encountered in the input. By default, it - is the Unicode REPLACEMENT CHARACTER code - point, U+FFFD "�". You can change this with -

-
-      hb_buffer_set_replacement_codepoint(buf, replacement);
-    
-

- passing in the replacement Unicode code point as the - replacement parameter. -

-

- The invisible glyph is used to replace all output glyphs that - are invisible. By default, the standard space character - U+0020 is used; you can replace this (for - example, when using a font that provides script-specific - spaces) with -

-
-      hb_buffer_set_invisible_glyph(buf, replacement_glyph);
-    
-

- Do note that in the replacement_glyph - parameter, you must provide the glyph ID of the replacement you - wish to use, not the Unicode code point. -

-

- HarfBuzz supports a few additional flags you might want to set - on your buffer under certain circumstances. The - HB_BUFFER_FLAG_BOT and - HB_BUFFER_FLAG_EOT flags tell HarfBuzz - that the buffer represents the beginning or end (respectively) - of a text element (such as a paragraph or other block). Knowing - this allows HarfBuzz to apply certain contextual font features - when shaping, such as initial or final variants in connected - scripts. -

-

- HB_BUFFER_FLAG_PRESERVE_DEFAULT_IGNORABLES - tells HarfBuzz not to hide glyphs with the - Default_Ignorable property in Unicode. This - property designates control characters and other non-printing - code points, such as joiners and variation selectors. Normally - HarfBuzz replaces them in the output buffer with zero-width - space glyphs (using the "invisible glyph" property discussed - above); setting this flag causes them to be printed, which can - be helpful for troubleshooting. -

-

- Conversely, setting the - HB_BUFFER_FLAG_REMOVE_DEFAULT_IGNORABLES flag - tells HarfBuzz to remove Default_Ignorable - glyphs from the output buffer entirely. Finally, setting the - HB_BUFFER_FLAG_DO_NOT_INSERT_DOTTED_CIRCLE - flag tells HarfBuzz not to insert the dotted-circle glyph - (U+25CC, "◌"), which is normally - inserted into buffer output when broken character sequences are - encountered (such as combining marks that are not attached to a - base character). -

-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/shaping-and-shape-plans.html b/harfbuzz/docs/html/shaping-and-shape-plans.html deleted file mode 100644 index 3e19db5..0000000 --- a/harfbuzz/docs/html/shaping-and-shape-plans.html +++ /dev/null @@ -1,146 +0,0 @@ - - - - -Shaping and shape plans: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Shaping and shape plans

- -

- Once you have your face and font objects configured as desired and - your input buffer is filled with the characters you need to shape, - all you need to do is call hb_shape(). -

-

- HarfBuzz will return the shaped version of the text in the same - buffer that you provided, but it will be in output mode. At that - point, you can iterate through the glyphs in the buffer, drawing - each one at the specified position or handing them off to the - appropriate graphics library. -

-

- For the most part, HarfBuzz's shaping step is straightforward from - the outside. But that doesn't mean there will never be cases where - you want to look under the hood and see what is happening on the - inside. HarfBuzz provides facilities for doing that, too. -

-
-

-Shaping and buffer output

-

- The hb_shape() function call takes four arguments: the font - object to use, the buffer of characters to shape, an array of - user-specified features to apply, and the length of that feature - array. The feature array can be NULL, so for the sake of - simplicity we will start with that case. -

-

- Internally, HarfBuzz looks at the tables of the font file to - determine where glyph classes, substitutions, and positioning - are defined, using that information to decide which - shaper to use (ot for - OpenType fonts, aat for Apple Advanced - Typography fonts, and so on). It also looks at the direction, - script, and language properties of the segment to figure out - which script-specific shaping model is needed (at least, in - shapers that support multiple options). -

-

- If a font has a GDEF table, then that is used for - glyph classes; if not, HarfBuzz will fall back to Unicode - categorization by code point. If a font has an AAT morx table, - then it is used for substitutions; if not, but there is a GSUB - table, then the GSUB table is used. If the font has an AAT - kerx table, then it is used for positioning; if not, but - there is a GPOS table, then the GPOS table is used. If neither - table is found, but there is a kern table, then HarfBuzz will - use the kern table. If there is no kerx, no GPOS, and no - kern, HarfBuzz will fall back to positioning marks itself. -

-

- With a well-behaved OpenType font, you expect GDEF, GSUB, and - GPOS tables to all be applied. HarfBuzz implements the - script-specific shaping models in internal functions, rather - than in the public API. -

-

- The algorithms - used for complex scripts can be quite involved; HarfBuzz tries - to be compatible with the OpenType Layout specification - and, wherever there is any ambiguity, HarfBuzz attempts to replicate the - output of Microsoft's Uniscribe engine. See the Microsoft - Typography pages for more detail. -

-

- In general, though, all that you need to know is that - hb_shape() returns the results of shaping - in the same buffer that you provided. The buffer's content type - will now be set to - HB_BUFFER_CONTENT_TYPE_GLYPHS, indicating - that it contains shaped output, rather than input text. You can - now extract the glyph information and positioning arrays: -

-
-      hb_glyph_info_t *glyph_info    = hb_buffer_get_glyph_infos(buf, &glyph_count);
-      hb_glyph_position_t *glyph_pos = hb_buffer_get_glyph_positions(buf, &glyph_count);
-    
-

- The glyph information array holds a hb_glyph_info_t - for each output glyph, which has two fields: - codepoint and - cluster. Whereas, in the input buffer, - the codepoint field contained the Unicode - code point, it now contains the glyph ID of the corresponding - glyph in the font. The cluster field is - an integer that you can use to help identify when shaping has - reordered, split, or combined code points; we will say more - about that in the next chapter. -

-

- The glyph positions array holds a corresponding - hb_glyph_position_t for each output glyph, - containing four fields: x_advance, - y_advance, - x_offset, and - y_offset. The advances tell you how far - you need to move the drawing point after drawing this glyph, - depending on whether you are setting horizontal text (in which - case you will have x advances) or vertical text (for which you - will have y advances). The x and y offsets tell you where to - move to start drawing the glyph; usually you will have both and - x and a y offset, regardless of the text direction. -

-

- Most of the time, you will rely on a font-rendering library or - other graphics library to do the actual drawing of glyphs, so - you will need to iterate through the glyphs in the buffer and - pass the corresponding values off. -

-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/shaping-concepts.html b/harfbuzz/docs/html/shaping-concepts.html deleted file mode 100644 index 6ce7bcc..0000000 --- a/harfbuzz/docs/html/shaping-concepts.html +++ /dev/null @@ -1,69 +0,0 @@ - - - - -Shaping concepts: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Shaping concepts

- -
-

-Text shaping

-

- Text shaping is the process of transforming a sequence of Unicode - codepoints that represent individual characters (letters, - diacritics, tone marks, numbers, symbols, etc.) into the - orthographically and linguistically correct two-dimensional layout - of glyph shapes taken from a specified font. -

-

- For some writing systems (or scripts) and - languages, the process is simple, requiring the shaper to do - little more than advance the horizontal position forward by the - correct amount for each successive glyph. -

-

- But, for complex scripts, any combination of - several shaping operations may be required, and the rules for how - and when they are applied vary from script to script. HarfBuzz and - other shaping engines implement these rules. -

-

- The exact rules and necessary operations for a particular script - constitute a shaping model. OpenType - specifies a set of shaping models that covers all of - Unicode. Other shaping models are available, however, including - Graphite and Apple Advanced Typography (AAT). -

-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/shaping-opentype-features.html b/harfbuzz/docs/html/shaping-opentype-features.html deleted file mode 100644 index e36d84a..0000000 --- a/harfbuzz/docs/html/shaping-opentype-features.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - -OpenType features: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-OpenType features

-

- OpenType features enable fonts to include smart behavior, - implemented as "lookup" rules stored in the GSUB and GPOS - tables. The OpenType specification defines a long list of - standard features that fonts can use for these behaviors; each - feature has a four-character reserved name and a well-defined - semantic meaning. -

-

- Some OpenType features are defined for the purpose of supporting - complex-script shaping, and are automatically activated, but - only when a buffer's script property is set to a script that the - feature supports. -

-

- Other features are more generic and can apply to several (or - any) script, and shaping engines are expected to implement - them. By default, HarfBuzz activates several of these features - on every text run. They include abvm, - blwm, ccmp, - locl, mark, - mkmk, and rlig. -

-

- In addition, if the text direction is horizontal, HarfBuzz - also applies the calt, - clig, curs, - dist, kern, - liga and rclt, features. -

-

- Additionally, when HarfBuzz encounters a fraction slash - (U+2044), it looks backward and forward for decimal - digits (Unicode General Category = Nd), and enables features - numr on the sequence before the fraction slash, - dnom on the sequence after the fraction slash, - and frac on the whole sequence including the fraction - slash. -

-

- Some script-specific shaping models - (see the section called “OpenType shaping models”) disable some of the - features listed above: -

-
    -
  • - Hangul: calt -

  • -
  • - Indic: liga -

  • -
  • - Khmer: liga -

  • -
-

- If the text direction is vertical, HarfBuzz applies - the vert feature by default. -

-

- Still other features are designed to be purely optional and left - up to the application or the end user to enable or disable as desired. -

-

- You can adjust the set of features that HarfBuzz applies to a - buffer by supplying an array of hb_feature_t - features as the third argument to - hb_shape(). For a simple case, let's just - enable the dlig feature, which turns on any - "discretionary" ligatures in the font: -

-
-      hb_feature_t userfeatures[1];
-      userfeatures[0].tag = HB_TAG('d','l','i','g');
-      userfeatures[0].value = 1;
-      userfeatures[0].start = HB_FEATURE_GLOBAL_START;
-      userfeatures[0].end = HB_FEATURE_GLOBAL_END;
-    
-

- HB_FEATURE_GLOBAL_END and - HB_FEATURE_GLOBAL_END are macros we can use - to indicate that the features will be applied to the entire - buffer. We could also have used a literal 0 - for the start and a -1 to indicate the end of - the buffer (or have selected other start and end positions, if needed). -

-

- When we pass the userfeatures array to - hb_shape(), any discretionary ligature - substitutions from our font that match the text in our buffer - will get performed: -

-
-      hb_shape(font, buf, userfeatures, num_features);
-    
-

- Just like we enabled the dlig feature by - setting its value to - 1, you would disable a feature by setting its - value to 0. Some - features can take other value settings; - be sure you read the full specification of each feature tag to - understand what it does and how to control it. -

-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/shaping-operations.html b/harfbuzz/docs/html/shaping-operations.html deleted file mode 100644 index b96df28..0000000 --- a/harfbuzz/docs/html/shaping-operations.html +++ /dev/null @@ -1,98 +0,0 @@ - - - - -Shaping operations: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Shaping operations

-

- Shaping a complex-script text run involves transforming the - input sequence of Unicode codepoints with some combination of - operations that is specified in the shaping model for the - script. -

-

- The specific conditions that trigger a given operation for a - text run varies from script to script, as do the order that the - operations are performed in and which codepoints are - affected. However, the same general set of shaping operations is - common to all of the complex-script shaping models. -

-
    -
  • -

    - A reordering operation moves a glyph - from its original ("logical") position in the sequence to - some other ("visual") position. -

    -

    - The shaping model for a given complex script might involve - more than one reordering step. -

    -
  • -
  • - A joining operation replaces a glyph - with an alternate form that is designed to connect with one - or more of the adjacent glyphs in the sequence. -

  • -
  • -

    - A contextual substitution operation - replaces either a single glyph or a subsequence of several - glyphs with an alternate glyph. This substitution is - performed when the original glyph or subsequence of glyphs - occurs in a specified position with respect to the - surrounding sequence. For example, one substitution might be - performed only when the target glyph is the first glyph in - the sequence, while another substitution is performed only - when a different target glyph occurs immediately after a - particular string pattern. -

    -

    - The shaping model for a given complex script might involve - multiple contextual-substitution operations, each applying - to different target glyphs and patterns, and which are - performed in separate steps. -

    -
  • -
  • -

    - A contextual positioning operation - moves the horizontal and/or vertical position of a - glyph. This positioning move is performed when the glyph - occurs in a specified position with respect to the - surrounding sequence. -

    -

    - Many contextual positioning operations are used to place - mark glyphs (such as diacritics, vowel - signs, and tone markers) with respect to - base glyphs. However, some complex - scripts may use contextual positioning operations to - correctly place base glyphs as well, such as - when the script uses stacking characters. -

    -
  • -
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/shaping-plans-and-caching.html b/harfbuzz/docs/html/shaping-plans-and-caching.html deleted file mode 100644 index 5c490f8..0000000 --- a/harfbuzz/docs/html/shaping-plans-and-caching.html +++ /dev/null @@ -1,85 +0,0 @@ - - - - -Plans and caching: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Plans and caching

-

- Internally, HarfBuzz uses a structure called a shape plan to - track its decisions about how to shape the contents of a - buffer. The hb_shape() function builds up the shape plan by - examining segment properties and by inspecting the contents of - the font. -

-

- This process can involve some decision-making and - trade-offs — for example, HarfBuzz inspects the GSUB and GPOS - lookups for the script and language tags set on the segment - properties, but it falls back on the lookups under the - DFLT tag (and sometimes other common tags) - if there are actually no lookups for the tag requested. -

-

- HarfBuzz also includes some work-arounds for - handling well-known older font conventions that do not follow - OpenType or Unicode specifications, for buggy system fonts, and for - peculiarities of Microsoft Uniscribe. All of that means that a - shape plan, while not something that you should edit directly in - client code, still might be an object that you want to - inspect. Furthermore, if resources are tight, you might want to - cache the shape plan that HarfBuzz builds for your buffer and - font, so that you do not have to rebuild it for every shaping call. -

-

- You can create a cacheable shape plan with - hb_shape_plan_create_cached(face, props, - user_features, num_user_features, shaper_list), where - face is a face object (not a font object, - notably), props is an - hb_segment_properties_t, - user_features is an array of - hb_feature_ts (with length - num_user_features), and - shaper_list is a list of shapers to try. -

-

- Shape plans are objects in HarfBuzz, so there are - reference-counting functions and user-data attachment functions - you can - use. hb_shape_plan_reference(shape_plan) - increases the reference count on a shape plan, while - hb_shape_plan_destroy(shape_plan) decreases - the reference count, destroying the shape plan when the last - reference is dropped. -

-

- You can attach user data to a shaper (with a key) using the - hb_shape_plan_set_user_data(shape_plan,key,data,destroy,replace) - function, optionally supplying a destroy - callback to use. You can then fetch the user data attached to a - shape plan with - hb_shape_plan_get_user_data(shape_plan, key). -

-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/shaping-shaper-selection.html b/harfbuzz/docs/html/shaping-shaper-selection.html deleted file mode 100644 index f7ec05b..0000000 --- a/harfbuzz/docs/html/shaping-shaper-selection.html +++ /dev/null @@ -1,65 +0,0 @@ - - - - -Shaper selection: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Shaper selection

-

- The basic version of hb_shape() determines - its shaping strategy based on examining the capabilities of the - font file. OpenType font tables cause HarfBuzz to try the - ot shaper, while AAT font tables cause HarfBuzz to try the - aat shaper. -

-

- In the real world, however, a font might include some unusual - mix of tables, or one of the tables might simply be broken for - the script you need to shape. So, sometimes, you might not - want to rely on HarfBuzz's process for deciding what to do, and - just tell hb_shape() what you want it to try. -

-

- hb_shape_full() is an alternate shaping - function that lets you supply a list of shapers for HarfBuzz to - try, in order, when shaping your buffer. For example, if you - have determined that HarfBuzz's attempts to work around broken - tables gives you better results than the AAT shaper itself does, - you might move the AAT shaper to the end of your list of - preferences and call hb_shape_full() -

-
-      char *shaperprefs[3] = {"ot", "default", "aat"};
-      ...
-      hb_shape_full(font, buf, userfeatures, num_features, shaperprefs);
-    
-

- to get results you are happier with. -

-

- You may also want to call - hb_shape_list_shapers() to get a list of - the shapers that were built at compile time in your copy of HarfBuzz. -

-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/style-api.html b/harfbuzz/docs/html/style-api.html deleted file mode 100644 index 952cf46..0000000 --- a/harfbuzz/docs/html/style-api.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - -Style API: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Style API

-
-hb-style — Font Styles -
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/style.css b/harfbuzz/docs/html/style.css deleted file mode 100644 index b4a1493..0000000 --- a/harfbuzz/docs/html/style.css +++ /dev/null @@ -1,533 +0,0 @@ -body -{ - font-family: cantarell, sans-serif; -} -.synopsis, .classsynopsis -{ - /* tango:aluminium 1/2 */ - background: #eeeeec; - background: rgba(238, 238, 236, 0.5); - border: solid 1px rgb(238, 238, 236); - padding: 0.5em; -} -.programlisting -{ - /* tango:sky blue 0/1 */ - /* fallback for no rgba support */ - background: #e6f3ff; - border: solid 1px #729fcf; - background: rgba(114, 159, 207, 0.1); - border: solid 1px rgba(114, 159, 207, 0.2); - padding: 0.5em; -} -.variablelist -{ - padding: 4px; - margin-left: 3em; -} -.variablelist td:first-child -{ - vertical-align: top; -} - -span.nowrap { - white-space: nowrap; -} - -div.gallery-float -{ - float: left; - padding: 10px; -} -div.gallery-float img -{ - border-style: none; -} -div.gallery-spacer -{ - clear: both; -} - -a, a:visited -{ - text-decoration: none; - /* tango:sky blue 2 */ - color: #3465a4; -} -a:hover -{ - text-decoration: underline; - /* tango:sky blue 1 */ - color: #729fcf; -} - -div.informaltable table -{ - border-collapse: separate; - border-spacing: 1em 0.3em; - border: none; -} - -div.informaltable table td, div.informaltable table th -{ - vertical-align: top; -} - -.function_type, -.variable_type, -.property_type, -.signal_type, -.parameter_name, -.struct_member_name, -.union_member_name, -.define_keyword, -.datatype_keyword, -.typedef_keyword -{ - text-align: right; -} - -/* dim non-primary columns */ -.c_punctuation, -.function_type, -.variable_type, -.property_type, -.signal_type, -.define_keyword, -.datatype_keyword, -.typedef_keyword, -.property_flags, -.signal_flags, -.parameter_annotations, -.enum_member_annotations, -.struct_member_annotations, -.union_member_annotations -{ - color: #888a85; -} - -.function_type a, -.function_type a:visited, -.function_type a:hover, -.property_type a, -.property_type a:visited, -.property_type a:hover, -.signal_type a, -.signal_type a:visited, -.signal_type a:hover, -.signal_flags a, -.signal_flags a:visited, -.signal_flags a:hover -{ - color: #729fcf; -} - -td p -{ - margin: 0.25em; -} - -div.table table -{ - border-collapse: collapse; - border-spacing: 0px; - /* tango:aluminium 3 */ - border: solid 1px #babdb6; -} - -div.table table td, div.table table th -{ - /* tango:aluminium 3 */ - border: solid 1px #babdb6; - padding: 3px; - vertical-align: top; -} - -div.table table th -{ - /* tango:aluminium 2 */ - background-color: #d3d7cf; -} - -h4 -{ - color: #555753; - margin-top: 1em; - margin-bottom: 1em; -} - -hr -{ - /* tango:aluminium 1 */ - color: #d3d7cf; - background: #d3d7cf; - border: none 0px; - height: 1px; - clear: both; - margin: 2.0em 0em 2.0em 0em; -} - -dl.toc dt -{ - padding-bottom: 0.25em; -} - -dl.toc > dt -{ - padding-top: 0.25em; - padding-bottom: 0.25em; - font-weight: bold; -} - -dl.toc > dl -{ - padding-bottom: 0.5em; -} - -.parameter -{ - font-style: normal; -} - -.footer -{ - padding-top: 3.5em; - /* tango:aluminium 3 */ - color: #babdb6; - text-align: center; - font-size: 80%; -} - -.informalfigure, -.figure -{ - margin: 1em; -} - -.informalexample, -.example -{ - margin-top: 1em; - margin-bottom: 1em; -} - -.warning -{ - /* tango:orange 0/1 */ - background: #ffeed9; - background: rgba(252, 175, 62, 0.1); - border-color: #ffb04f; - border-color: rgba(252, 175, 62, 0.2); -} -.note -{ - /* tango:chameleon 0/0.5 */ - background: #d8ffb2; - background: rgba(138, 226, 52, 0.1); - border-color: #abf562; - border-color: rgba(138, 226, 52, 0.2); -} -div.blockquote -{ - border-color: #eeeeec; -} -.note, .warning, div.blockquote -{ - padding: 0.5em; - border-width: 1px; - border-style: solid; - margin: 2em; -} -.note p, .warning p -{ - margin: 0; -} - -div.warning h3.title, -div.note h3.title -{ - display: none; -} - -p + div.section -{ - margin-top: 1em; -} - -div.refnamediv, -div.refsynopsisdiv, -div.refsect1, -div.refsect2, -div.toc, -div.section -{ - margin-bottom: 1em; -} - -/* blob links */ -h2 .extralinks, h3 .extralinks -{ - float: right; - /* tango:aluminium 3 */ - color: #babdb6; - font-size: 80%; - font-weight: normal; -} - -.lineart -{ - color: #d3d7cf; - font-weight: normal; -} - -.annotation -{ - /* tango:aluminium 5 */ - color: #555753; - font-weight: normal; -} - -.structfield -{ - font-style: normal; - font-weight: normal; -} - -acronym,abbr -{ - border-bottom: 1px dotted gray; -} - -.listing_frame { - /* tango:sky blue 1 */ - border: solid 1px #729fcf; - border: solid 1px rgba(114, 159, 207, 0.2); - padding: 0px; -} - -.listing_lines, .listing_code { - margin-top: 0px; - margin-bottom: 0px; - padding: 0.5em; -} -.listing_lines { - /* tango:sky blue 0.5 */ - background: #a6c5e3; - background: rgba(114, 159, 207, 0.2); - /* tango:aluminium 6 */ - color: #2e3436; -} -.listing_code { - /* tango:sky blue 0 */ - background: #e6f3ff; - background: rgba(114, 159, 207, 0.1); -} -.listing_code .programlisting { - /* override from previous */ - border: none 0px; - padding: 0px; - background: none; -} -.listing_lines pre, .listing_code pre { - margin: 0px; -} - -@media screen { - /* these have a as a first child, but since there are no parent selectors - * we can't use that. */ - a.footnote - { - position: relative; - top: 0em ! important; - } - /* this is needed so that the local anchors are displayed below the naviagtion */ - div.footnote a[name], div.refnamediv a[name], div.refsect1 a[name], div.refsect2 a[name], div.index a[name], div.glossary a[name], div.sect1 a[name] - { - display: inline-block; - position: relative; - top:-5em; - } - /* this seems to be a bug in the xsl style sheets when generating indexes */ - div.index div.index - { - top: 0em; - } - /* make space for the fixed navigation bar and add space at the bottom so that - * link targets appear somewhat close to top - */ - body - { - padding-top: 2.5em; - padding-bottom: 500px; - max-width: 60em; - } - p - { - max-width: 60em; - } - /* style and size the navigation bar */ - table.navigation#top - { - position: fixed; - background: #e2e2e2; - border-bottom: solid 1px #babdb6; - border-spacing: 5px; - margin-top: 0; - margin-bottom: 0; - top: 0; - left: 0; - z-index: 10; - } - table.navigation#top td - { - padding-left: 6px; - padding-right: 6px; - } - .navigation a, .navigation a:visited - { - /* tango:sky blue 3 */ - color: #204a87; - } - .navigation a:hover - { - /* tango:sky blue 2 */ - color: #3465a4; - } - td.shortcuts - { - /* tango:sky blue 2 */ - color: #3465a4; - font-size: 80%; - white-space: nowrap; - } - td.shortcuts .dim - { - color: #babdb6; - } - .navigation .title - { - font-size: 80%; - max-width: none; - margin: 0px; - font-weight: normal; - } -} -@media screen and (min-width: 60em) { - /* screen larger than 60em */ - body { margin: auto; } -} -@media screen and (max-width: 60em) { - /* screen less than 60em */ - #nav_hierarchy { display: none; } - #nav_interfaces { display: none; } - #nav_prerequisites { display: none; } - #nav_derived_interfaces { display: none; } - #nav_implementations { display: none; } - #nav_child_properties { display: none; } - #nav_style_properties { display: none; } - #nav_index { display: none; } - #nav_glossary { display: none; } - .gallery_image { display: none; } - .property_flags { display: none; } - .signal_flags { display: none; } - .parameter_annotations { display: none; } - .enum_member_annotations { display: none; } - .struct_member_annotations { display: none; } - .union_member_annotations { display: none; } - /* now that a column is hidden, optimize space */ - col.parameters_name { width: auto; } - col.parameters_description { width: auto; } - col.struct_members_name { width: auto; } - col.struct_members_description { width: auto; } - col.enum_members_name { width: auto; } - col.enum_members_description { width: auto; } - col.union_members_name { width: auto; } - col.union_members_description { width: auto; } - .listing_lines { display: none; } -} -@media print { - table.navigation { - visibility: collapse; - display: none; - } - div.titlepage table.navigation { - visibility: visible; - display: table; - background: #e2e2e2; - border: solid 1px #babdb6; - margin-top: 0; - margin-bottom: 0; - top: 0; - left: 0; - height: 3em; - } -} - -.hll { background-color: #ffffcc } -.c { color: #408080; font-style: italic } /* Comment */ -.err { border: 1px solid #FF0000 } /* Error */ -.k { color: #008000; font-weight: bold } /* Keyword */ -.o { color: #666666 } /* Operator */ -.ch { color: #408080; font-style: italic } /* Comment.Hashbang */ -.cm { color: #408080; font-style: italic } /* Comment.Multiline */ -.cp { color: #BC7A00 } /* Comment.Preproc */ -.cpf { color: #408080; font-style: italic } /* Comment.PreprocFile */ -.c1 { color: #408080; font-style: italic } /* Comment.Single */ -.cs { color: #408080; font-style: italic } /* Comment.Special */ -.gd { color: #A00000 } /* Generic.Deleted */ -.ge { font-style: italic } /* Generic.Emph */ -.gr { color: #FF0000 } /* Generic.Error */ -.gh { color: #000080; font-weight: bold } /* Generic.Heading */ -.gi { color: #00A000 } /* Generic.Inserted */ -.go { color: #888888 } /* Generic.Output */ -.gp { color: #000080; font-weight: bold } /* Generic.Prompt */ -.gs { font-weight: bold } /* Generic.Strong */ -.gu { color: #800080; font-weight: bold } /* Generic.Subheading */ -.gt { color: #0044DD } /* Generic.Traceback */ -.kc { color: #008000; font-weight: bold } /* Keyword.Constant */ -.kd { color: #008000; font-weight: bold } /* Keyword.Declaration */ -.kn { color: #008000; font-weight: bold } /* Keyword.Namespace */ -.kp { color: #008000 } /* Keyword.Pseudo */ -.kr { color: #008000; font-weight: bold } /* Keyword.Reserved */ -.kt { color: #B00040 } /* Keyword.Type */ -.m { color: #666666 } /* Literal.Number */ -.s { color: #BA2121 } /* Literal.String */ -.na { color: #7D9029 } /* Name.Attribute */ -.nb { color: #008000 } /* Name.Builtin */ -.nc { color: #0000FF; font-weight: bold } /* Name.Class */ -.no { color: #880000 } /* Name.Constant */ -.nd { color: #AA22FF } /* Name.Decorator */ -.ni { color: #999999; font-weight: bold } /* Name.Entity */ -.ne { color: #D2413A; font-weight: bold } /* Name.Exception */ -.nf { color: #0000FF } /* Name.Function */ -.nl { color: #A0A000 } /* Name.Label */ -.nn { color: #0000FF; font-weight: bold } /* Name.Namespace */ -.nt { color: #008000; font-weight: bold } /* Name.Tag */ -.nv { color: #19177C } /* Name.Variable */ -.ow { color: #AA22FF; font-weight: bold } /* Operator.Word */ -.w { color: #bbbbbb } /* Text.Whitespace */ -.mb { color: #666666 } /* Literal.Number.Bin */ -.mf { color: #666666 } /* Literal.Number.Float */ -.mh { color: #666666 } /* Literal.Number.Hex */ -.mi { color: #666666 } /* Literal.Number.Integer */ -.mo { color: #666666 } /* Literal.Number.Oct */ -.sa { color: #BA2121 } /* Literal.String.Affix */ -.sb { color: #BA2121 } /* Literal.String.Backtick */ -.sc { color: #BA2121 } /* Literal.String.Char */ -.dl { color: #BA2121 } /* Literal.String.Delimiter */ -.sd { color: #BA2121; font-style: italic } /* Literal.String.Doc */ -.s2 { color: #BA2121 } /* Literal.String.Double */ -.se { color: #BB6622; font-weight: bold } /* Literal.String.Escape */ -.sh { color: #BA2121 } /* Literal.String.Heredoc */ -.si { color: #BB6688; font-weight: bold } /* Literal.String.Interpol */ -.sx { color: #008000 } /* Literal.String.Other */ -.sr { color: #BB6688 } /* Literal.String.Regex */ -.s1 { color: #BA2121 } /* Literal.String.Single */ -.ss { color: #19177C } /* Literal.String.Symbol */ -.bp { color: #008000 } /* Name.Builtin.Pseudo */ -.fm { color: #0000FF } /* Name.Function.Magic */ -.vc { color: #19177C } /* Name.Variable.Class */ -.vg { color: #19177C } /* Name.Variable.Global */ -.vi { color: #19177C } /* Name.Variable.Instance */ -.vm { color: #19177C } /* Name.Variable.Magic */ -.il { color: #666666 } /* Literal.Number.Integer.Long */ \ No newline at end of file diff --git a/harfbuzz/docs/html/subset-api.html b/harfbuzz/docs/html/subset-api.html deleted file mode 100644 index 466ccdb..0000000 --- a/harfbuzz/docs/html/subset-api.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - -Subset API: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Subset API

-
-hb-subset — Subsets font files. -
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/terminology.html b/harfbuzz/docs/html/terminology.html deleted file mode 100644 index f1c3dbe..0000000 --- a/harfbuzz/docs/html/terminology.html +++ /dev/null @@ -1,150 +0,0 @@ - - - - -Terminology: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Terminology

-

- -

-
---- - - - - - - - - - - - - - - - - - - - - - - -

script

-

- In text shaping, a script is a - writing system: a set of symbols, rules, and conventions - that is used to represent a language or multiple - languages. -

-

- In general computing lingo, the word "script" can also - be used to mean an executable program (usually one - written in a human-readable programming language). For - the sake of clarity, HarfBuzz documents will always use - more specific terminology when referring to this - meaning, such as "Python script" or "shell script." In - all other instances, "script" refers to a writing system. -

-

- For developers using HarfBuzz, it is important to note - the distinction between a script and a language. Most - scripts are used to write a variety of different - languages, and many languages may be written in more - than one script. -

-

shaper

- In HarfBuzz, a shaper is a - handler for a specific script-shaping model. HarfBuzz - implements separate shapers for Indic, Arabic, Thai and - Lao, Khmer, Myanmar, Tibetan, Hangul, Hebrew, the - Universal Shaping Engine (USE), and a default shaper for - non-complex scripts. -

cluster

-

- In text shaping, a cluster is a - sequence of codepoints that must be treated as an - indivisible unit. Clusters can include code-point - sequences that form a ligature or base-and-mark - sequences. Tracking and preserving clusters is important - when shaping operations might separate or reorder - code points. -

-

- HarfBuzz provides three cluster - levels that implement different - approaches to the problem of preserving clusters during - shaping operations. -

-

grapheme

-

- In linguistics, a grapheme is one - of the indivisible units that make up a writing system or - script. Often, graphemes are individual symbols (letters, - numbers, punctuation marks, logograms, etc.) but, - depending on the writing system, a particular grapheme - might correspond to a sequence of several Unicode code - points. -

-

- In practice, HarfBuzz and other text-shaping engines - are not generally concerned with graphemes. However, it - is important for developers using HarfBuzz to recognize - that there is a difference between graphemes and shaping - clusters (see above). The two concepts may overlap - frequently, but there is no guarantee that they will be - identical. -

-

syllable

-

- In linguistics, a syllable is an - a sequence of sounds that makes up a building block of a - particular language. Every language has its own set of - rules describing what constitutes a valid syllable. -

-

- For text-shaping purposes, the various definitions of - "syllable" are important because script-specific shaping - operations may be applied at the syllable level. For - example, a reordering rule might specify that a vowel - mark be reordered to the beginning of the syllable. -

-

- Syllables will consist of one or more Unicode code - points. The definition of a syllable for a particular - writing system might correspond to how HarfBuzz - identifies clusters (see above) for the same writing - system. However, it is important for developers using - HarfBuzz to recognize that there is a difference between - syllables and shaping clusters. The two concepts may - overlap frequently, but there is no guarantee that they - will be identical. -

-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/text-runs.html b/harfbuzz/docs/html/text-runs.html deleted file mode 100644 index a6e4b2b..0000000 --- a/harfbuzz/docs/html/text-runs.html +++ /dev/null @@ -1,47 +0,0 @@ - - - - -Text runs: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Text runs

-

- Real-world text usually contains codepoints from a mixture of - different Unicode scripts (including punctuation, numbers, symbols, - white-space characters, and other codepoints that do not belong - to any script). Real-world text may also be marked up with - formatting that changes font properties (including the font, - font style, and font size). -

-

- For shaping purposes, all real-world text streams must be first - segmented into runs that have a uniform set of properties. -

-

- In particular, shaping models always assume that every codepoint - in a text run has the same direction, - script tag, and - language tag. -

-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/the-distinction-between-levels-0-and-1.html b/harfbuzz/docs/html/the-distinction-between-levels-0-and-1.html deleted file mode 100644 index e153966..0000000 --- a/harfbuzz/docs/html/the-distinction-between-levels-0-and-1.html +++ /dev/null @@ -1,106 +0,0 @@ - - - - -The distinction between levels 0 and 1: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-The distinction between levels 0 and 1

-

- The preceding examples demonstrate the main effects of using - cluster levels 0 and 1. The only difference between the two - levels is this: in level 0, at the very beginning of the shaping - process, HarfBuzz merges the cluster of each base character - with the clusters of all Unicode marks (combining or not) and - modifiers that follow it. -

-

- For example, let us start with the following character sequence - (top row) and accompanying initial cluster values (bottom row): -

-
-      A,acute,B
-      0,1    ,2
-    
-

- The acute is a Unicode mark. If HarfBuzz is - using cluster level 0 on this sequence, then the - A and acute clusters will - merge, and the result will become: -

-
-      A,acute,B
-      0,0    ,2
-    
-

- This merger is performed before any other script-shaping - steps. -

-

- This initial cluster merging is the default behavior of the - Windows shaping engine, and the old HarfBuzz codebase copied - that behavior to maintain compatibility. Consequently, it has - remained the default behavior in the new HarfBuzz codebase. -

-

- But this initial cluster-merging behavior makes it impossible - for client programs to implement some features (such as to - color diacritic marks differently from their base - characters). That is why, in level 1, HarfBuzz does not perform - the initial merging step. -

-

- For client programs that rely on HarfBuzz cluster values to - perform cursor positioning, level 0 is more convenient. But - relying on cluster boundaries for cursor positioning is wrong: cursor - positions should be determined based on Unicode grapheme - boundaries, not on shaping-cluster boundaries. As such, using - level 1 clustering behavior is recommended. -

-

- One final facet of levels 0 and 1 is worth noting. HarfBuzz - currently does not allow any - multiple-substitution GSUB lookups to - replace a glyph with zero glyphs (in other words, to delete a - glyph). -

-

- But, in some other situations, glyphs can be deleted. In - those cases, if the glyph being deleted is the last glyph of its - cluster, HarfBuzz makes sure to merge the deleted glyph's - cluster with a neighboring cluster. -

-

- This is done primarily to make sure that the starting cluster of the - text always has the cluster index pointing to the start of the text - for the run; more than one client program currently relies on this - guarantee. -

-

- Incidentally, Apple's CoreText does something different to - maintain the same promise: it inserts a glyph with id 65535 at - the beginning of the glyph string if the glyph corresponding to - the first character in the run was deleted. HarfBuzz might do - something similar in the future. -

-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/unicode-character-categories.html b/harfbuzz/docs/html/unicode-character-categories.html deleted file mode 100644 index 8ecaf32..0000000 --- a/harfbuzz/docs/html/unicode-character-categories.html +++ /dev/null @@ -1,79 +0,0 @@ - - - - -Unicode character categories: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Unicode character categories

-

- Shaping models are typically specified with respect to how - scripts are defined in the Unicode standard. -

-

- Every codepoint in the Unicode Character Database (UCD) is - assigned a Unicode General Category (UGC), - which provides the most fundamental information about the - codepoint: whether the codepoint represents a - Letter, a Mark, a - Number, Punctuation, a - Symbol, a Separator, - or something else (Other). -

-

- These UGC properties are "Major" categories. Each codepoint is - further assigned to a "minor" category within its Major - category, such as "Letter, uppercase" (Lu) or - "Letter, modifier" (Lm). -

-

- Shaping models are concerned primarily with Letter and Mark - codepoints. The minor categories of Mark codepoints are - particularly important for shaping. Marks can be nonspacing - (Mn), spacing combining - (Mc), or enclosing (Me). -

-

- In addition to the UGC property, codepoints in the Indic and - Southeast Asian scripts are also assigned - Unicode Indic Syllabic Category (UISC) and - Unicode Indic Positional Category (UIPC) - properties that provide more detailed information needed for - shaping. -

-

- The UISC property sub-categorizes Letters and Marks according to - common script-shaping behaviors. For example, UISC distinguishes - between consonant letters, vowel letters, and vowel marks. The - UIPC property sub-categorizes Mark codepoints by the relative visual - position that they occupy (above, below, right, left, or in - multiple positions). -

-

- Some complex scripts require that the text run be split into - syllables. What constitutes a valid syllable in these - scripts is specified in regular expressions, formed from the - Letter and Mark codepoints, that take the UISC and UIPC - properties into account. -

-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/up-insensitive.png b/harfbuzz/docs/html/up-insensitive.png deleted file mode 100644 index 674be9c..0000000 Binary files a/harfbuzz/docs/html/up-insensitive.png and /dev/null differ diff --git a/harfbuzz/docs/html/up.png b/harfbuzz/docs/html/up.png deleted file mode 100644 index ae83f66..0000000 Binary files a/harfbuzz/docs/html/up.png and /dev/null differ diff --git a/harfbuzz/docs/html/user-manual.html b/harfbuzz/docs/html/user-manual.html deleted file mode 100644 index 5420493..0000000 --- a/harfbuzz/docs/html/user-manual.html +++ /dev/null @@ -1,132 +0,0 @@ - - - - -Part I. User's manual: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Part I. User's manual

-
-

Table of Contents

-
-
What is HarfBuzz?
-
-
What is text shaping?
-
Why do I need a shaping engine?
-
What does HarfBuzz do?
-
What HarfBuzz doesn't do
-
Why is it called HarfBuzz?
-
-
Installing HarfBuzz
-
-
Downloading HarfBuzz
-
Building HarfBuzz
-
-
Building on Linux
-
Building on Windows
-
Building on macOS
-
Configuration options
-
-
-
Getting started with HarfBuzz
-
-
An overview of the HarfBuzz shaping API
-
Terminology
-
A simple shaping example
-
-
Shaping concepts
-
-
Text shaping
-
Complex scripts
-
Shaping operations
-
Unicode character categories
-
Text runs
-
OpenType shaping models
-
Graphite shaping
-
AAT shaping
-
-
The HarfBuzz object model
-
-
An overview of data types in HarfBuzz
-
Objects in HarfBuzz
-
Object lifecycle management
-
User data
-
Blobs
-
-
Buffers, language, script and direction
-
-
Creating and destroying buffers
-
Adding text to the buffer
-
Setting buffer properties
-
Customizing Unicode functions
-
-
Fonts, faces, and output
-
-
Font and face objects
-
Customizing font functions
-
Font objects and HarfBuzz's native OpenType implementation
-
Working with OpenType Variable Fonts
-
-
Shaping and shape plans
-
-
Shaping and buffer output
-
OpenType features
-
Shaper selection
-
Plans and caching
-
-
Clusters
-
-
Clusters and shaping
-
Working with HarfBuzz clusters
-
A clustering example for levels 0 and 1
-
Reordering in levels 0 and 1
-
The distinction between levels 0 and 1
-
Level 2
-
-
Ligatures with combining marks in level 2
-
Reordering in level 2
-
Other considerations in level 2
-
-
-
Utilities
-
-
Command-line tools
-
-
hb-shape
-
hb-view
-
hb-subset
-
-
Common data types and APIs
-
-
Platform Integration Guide
-
-
GNOME integration, GLib, and GObject
-
FreeType integration
-
Uniscribe integration
-
Core Text integration
-
ICU integration
-
Python bindings
-
-
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/utilities-common-types-apis.html b/harfbuzz/docs/html/utilities-common-types-apis.html deleted file mode 100644 index dbb216a..0000000 --- a/harfbuzz/docs/html/utilities-common-types-apis.html +++ /dev/null @@ -1,84 +0,0 @@ - - - - -Common data types and APIs: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Common data types and APIs

-

- HarfBuzz includes several APIs for working with general-purpose - data that you may find convenient to leverage in your own - software. They include set operations and integer-to-integer - mapping operations. -

-

- HarfBuzz uses set operations for internal bookkeeping, such as - when it collects all of the glyph IDs covered by a particular - font feature. You can also use the set API to build sets, add - and remove elements, test whether or not sets contain particular - elements, or compute the unions, intersections, or differences - between sets. -

-

- All set elements are integers (specifically, - hb_codepoint_t 32-bit unsigned ints), and there are - functions for fetching the minimum and maximum element from a - set. The set API also includes some functions that might not - be part of a generic set facility, such as the ability to add a - contiguous range of integer elements to a set in bulk, and the - ability to fetch the next-smallest or next-largest element. -

-

- The HarfBuzz set API includes some conveniences as well. All - sets are lifecycle-managed, just like other HarfBuzz - objects. You increase the reference count on a set with - hb_set_reference() and decrease it with - hb_set_destroy(). You can also attach - user data to a set, just like you can to blobs, buffers, faces, - fonts, and other objects, and set destroy callbacks. -

-

- HarfBuzz also provides an API for keeping track of - integer-to-integer mappings. As with the set API, each integer is - stored as an unsigned 32-bit hb_codepoint_t - element. Maps, like other objects, are reference counted with - reference and destroy functions, and you can attach user data to - them. The mapping operations include adding and deleting - integer-to-integer key:value pairs to the map, testing for the - presence of a key, fetching the population of the map, and so on. -

-

- There are several other internal HarfBuzz facilities that are - exposed publicly and which you may want to take advantage of - while processing text. HarfBuzz uses a common - hb_tag_t for a variety of OpenType tag identifiers (for - scripts, languages, font features, table names, variation-axis - names, and more), and provides functions for converting strings - to tags and vice-versa. -

-

- Finally, HarfBuzz also includes data type for Booleans, bit - masks, and other simple types. -

-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/utilities.html b/harfbuzz/docs/html/utilities.html deleted file mode 100644 index 210e71b..0000000 --- a/harfbuzz/docs/html/utilities.html +++ /dev/null @@ -1,186 +0,0 @@ - - - - -Utilities: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Utilities

- -

- HarfBuzz includes several auxiliary components in addition to the - main APIs. These include a set of command-line tools, a set of - lower-level APIs for common data types that may be of interest to - client programs. -

-
-

-Command-line tools

-

- HarfBuzz include three command-line tools: - hb-shape, hb-view, and - hb-subset. They can be used to examine - HarfBuzz's functionality, debug font binaries, or explore the - various shaping models and features from a terminal. -

-
-

-hb-shape

-

- hb-shape allows you to run HarfBuzz's - hb_shape() function on an input string and - to examine the outcome, in human-readable form, as terminal - output. hb-shape does - not render the results of the shaping call - into rendered text (you can use hb-view, below, for - that). Instead, it prints out the final glyph indices and - positions, taking all shaping operations into account, as if the - input string were a HarfBuzz input buffer. -

-

- You can specify the font to be used for shaping and, with - command-line options, you can add various aspects of the - internal state to the output that is sent to the terminal. The - general format is -

-
-	hb-shape [[OPTIONS]]
-      path/to/font/file.ttf
-      yourinputtext
-      
-

- The default output format is plain text (although JSON output - can be selected instead by specifying the option - [--output-format=json]). The default output - syntax reports each glyph name (or glyph index if there is no - name) followed by its cluster value, its horizontal and vertical - position displacement, and its horizontal and vertical advances. -

-

- Output options exist to skip any of these elements in the - output, and to include additional data, such as Unicode - code-point values, glyph extents, glyph flags, or interim - shaping results. -

-

- Output can also be redirected to a file, or input read from a - file. Additional options enable you to enable or disable - specific font features, to set variation-font axis values, to - alter the language, script, direction, and clustering settings - used, to enable sanity checks, or to change which shaping engine is used. -

-

- For a complete explanation of the options available, run -

-
-	hb-shape --help
-      
-
-
-

-hb-view

-

- hb-view allows you to - see the shaped output of an input string in rendered - form. Like hb-shape, - hb-view takes a font file and a text string - as its arguments: -

-
-	hb-view [[OPTIONS]]
-	path/to/font/file.ttf
-	yourinputtext
-      
-

- By default, hb-view renders the shaped - text in ASCII block-character images as terminal output. By - appending the - --output-file=[filename] - switch, you can write the output to a PNG, SVG, or PDF file - (among other formats). -

-

- As with hb-shape, a lengthy set of options - is available, with which you can enable or disable - specific font features, set variation-font axis values, - alter the language, script, direction, and clustering settings - used, enable sanity checks, or change which shaping engine is - used. -

-

- You can also set the foreground and background colors used for - the output, independently control the width of all four - margins, alter the line spacing, and annotate the output image - with -

-

- In general, hb-view is a quick way to - verify that the output of HarfBuzz's shaping operation looks - correct for a given text-and-font combination, but you may - want to use hb-shape to figure out exactly - why something does not appear as expected. -

-
-
-

-hb-subset

-

- hb-subset allows you - to generate a subset of a given font, with a limited set of - supported characters, features, and variation settings. -

-

- By default, you provide an input font and an input text string - as the arguments to hb-subset, and it will - generate a font that covers the input text exactly like the - input font does, but includes no other characters or features. -

-
-	hb-subset [[OPTIONS]]
-	path/to/font/file.ttf
-	yourinputtext
-      
-

- For example, to create a subset of Noto Serif that just includes the - numerals and the lowercase Latin alphabet, you could run -

-
-	hb-subset [[OPTIONS]]
-	NotoSerif-Regular.ttf
-	0123456789abcdefghijklmnopqrstuvwxyz
-      
-

- There are options available to remove hinting from the - subsetted font and to specify a list of variation-axis settings. -

-
-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/what-does-harfbuzz-do.html b/harfbuzz/docs/html/what-does-harfbuzz-do.html deleted file mode 100644 index 937bd35..0000000 --- a/harfbuzz/docs/html/what-does-harfbuzz-do.html +++ /dev/null @@ -1,108 +0,0 @@ - - - - -What does HarfBuzz do?: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-What does HarfBuzz do?

-

- HarfBuzz provides text shaping through a cross-platform - C API that accepts sequences of Unicode codepoints as input. Currently, - the following OpenType shaping models are supported: -

-
    -
  • - Indic (covering Devanagari, Bengali, Gujarati, - Gurmukhi, Kannada, Malayalam, Oriya, Tamil, Telugu, and - Sinhala) -

  • -
  • - Arabic (covering Arabic, N'Ko, Syriac, and Mongolian) -

  • -
  • - Thai and Lao -

  • -
  • - Khmer -

  • -
  • - Myanmar -

  • -
  • - Tibetan -

  • -
  • - Hangul -

  • -
  • - Hebrew -

  • -
  • - The Universal Shaping Engine or USE - (covering complex scripts not covered by the above shaping - models) -

  • -
  • - A default shaping model for non-complex scripts - (covering Latin, Cyrillic, Greek, Armenian, Georgian, Tifinagh, - and many others) -

  • -
  • - Emoji (including emoji modifier sequences, flag sequences, - and ZWJ sequences) -

  • -
-

- In addition to OpenType shaping, HarfBuzz supports the latest - version of Graphite shaping (the "Graphite 2" model) and AAT - shaping. -

-

- HarfBuzz can read and understand TrueType fonts (.ttf), TrueType - collections (.ttc), and OpenType fonts (.otf, including those - fonts that contain TrueType-style outlines and those that - contain PostScript CFF or CFF2 outlines). -

-

- HarfBuzz is designed and tested to run on top of the FreeType - font renderer. It can run on Linux, Android, Windows, macOS, and - iOS systems. -

-

- In addition to its core shaping functionality, HarfBuzz provides - functions for accessing other font features, including optional - GSUB and GPOS OpenType features, as well as - all color-font formats (CBDT, - sbix, COLR/CPAL, and - SVG-OT) and OpenType variable fonts. HarfBuzz - also includes a font-subsetting feature. HarfBuzz can perform - some low-level math-shaping operations, although it does not - currently perform full shaping for mathematical typesetting. -

-

- A suite of command-line utilities is also provided in the - source-code tree, designed to help users test and debug - HarfBuzz's features on real-world fonts and input. -

-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/what-harfbuzz-doesnt-do.html b/harfbuzz/docs/html/what-harfbuzz-doesnt-do.html deleted file mode 100644 index 7cdf615..0000000 --- a/harfbuzz/docs/html/what-harfbuzz-doesnt-do.html +++ /dev/null @@ -1,111 +0,0 @@ - - - - -What HarfBuzz doesn't do: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-What HarfBuzz doesn't do

-

- HarfBuzz will take a Unicode string, shape it, and give you the - information required to lay it out correctly on a single - horizontal (or vertical) line using the font provided. That is the - extent of HarfBuzz's responsibility. -

-

- It is important to note that if you are implementing a complete - text-layout engine you may have other responsibilities that - HarfBuzz will not help you with. For example: -

-
    -
  • -

    - HarfBuzz won't help you with bidirectionality. If you want to - lay out text that includes a mix of Hebrew and English, you - will need to ensure that each buffer provided to HarfBuzz - has all of its characters in the same order and that the - directionality of the buffer is set correctly. This may mean - segmenting the text before it is placed into HarfBuzz buffers. In - other words, the user will hit the keys in the following - sequence: -

    -
    -	  A B C [space] ג ב א [space] D E F
    -        
    -

    - but will expect to see in the output: -

    -
    -	  ABC אבג DEF
    -        
    -

    - This reordering is called bidi processing - ("bidi" is short for bidirectional), and there's an - algorithm as an annex to the Unicode Standard which tells you how - to process a string of mixed directionality. - Before sending your string to HarfBuzz, you may need to apply the - bidi algorithm to it. Libraries such as ICU and fribidi can do this for you. -

    -
  • -
  • -

    - HarfBuzz won't help you with text that contains different font - properties. For instance, if you have the string "a - huge breakfast", and you expect - "huge" to be italic, then you will need to send three - strings to HarfBuzz: a, in your Roman font; - huge using your italic font; and - breakfast using your Roman font again. -

    -

    - Similarly, if you change the font, font size, script, - language, or direction within your string, then you will - need to shape each run independently and output them - independently. HarfBuzz expects to shape a run of characters - that all share the same properties. -

    -
  • -
  • -

    - HarfBuzz won't help you with line breaking, hyphenation, or - justification. As mentioned above, HarfBuzz lays out the string - along a single line of, notionally, - infinite length. If you want to find out where the potential - word, sentence and line break points are in your text, you - could use the ICU library's break iterator functions. -

    -

    - HarfBuzz can tell you how wide a shaped piece of text is, which is - useful input to a justification algorithm, but it knows nothing - about paragraphs, lines or line lengths. Nor will it adjust the - space between words to fit them proportionally into a line. -

    -
  • -
-

- As a layout-engine implementor, HarfBuzz will help you with the - interface between your text and your font, and that's something - that you'll need—what you then do with the glyphs that your font - returns is up to you. -

-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/what-is-harfbuzz.html b/harfbuzz/docs/html/what-is-harfbuzz.html deleted file mode 100644 index bfc491a..0000000 --- a/harfbuzz/docs/html/what-is-harfbuzz.html +++ /dev/null @@ -1,100 +0,0 @@ - - - - -What is HarfBuzz?: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-What is HarfBuzz?

- -

- HarfBuzz is a text-shaping engine. If you - give HarfBuzz a font and a string containing a sequence of Unicode - codepoints, HarfBuzz selects and positions the corresponding - glyphs from the font, applying all of the necessary layout rules - and font features. HarfBuzz then returns the string to you in the - form that is correctly arranged for the language and writing - system. -

-

- HarfBuzz can properly shape all of the world's major writing - systems. It runs on all major operating systems and software - platforms and it supports the major font formats in use - today. -

-
-

-What is text shaping?

-

- Text shaping is the process of translating a string of character - codes (such as Unicode codepoints) into a properly arranged - sequence of glyphs that can be rendered onto a screen or into - final output form for inclusion in a document. -

-

- The shaping process is dependent on the input string, the active - font, the script (or writing system) that the string is in, and - the language that the string is in. -

-

- Modern software systems generally only deal with strings in the - Unicode encoding scheme (although legacy systems and documents may - involve other encodings). -

-

- There are several font formats that a program might - encounter, each of which has a set of standard text-shaping - rules. -

-

The dominant format is OpenType. The - OpenType specification defines a series of shaping models for - various scripts from around the world. These shaping models depend on - the font incorporating certain features as - lookups in its GSUB - and GPOS tables. -

-

- Alternatively, OpenType fonts can include shaping features for - the Graphite shaping model. -

-

- TrueType fonts can also include OpenType shaping - features. Alternatively, TrueType fonts can also include Apple - Advanced Typography (AAT) tables to implement shaping - support. AAT fonts are generally only found on macOS and iOS systems. -

-

- Text strings will usually be tagged with a script and language - tag that provide the context needed to perform text shaping - correctly. The necessary script - and language - tags are defined by OpenType. -

-
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/why-do-i-need-a-shaping-engine.html b/harfbuzz/docs/html/why-do-i-need-a-shaping-engine.html deleted file mode 100644 index 82419b3..0000000 --- a/harfbuzz/docs/html/why-do-i-need-a-shaping-engine.html +++ /dev/null @@ -1,174 +0,0 @@ - - - - -Why do I need a shaping engine?: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Why do I need a shaping engine?

-

- Text shaping is an integral part of preparing text for - display. Before a Unicode sequence can be rendered, the - codepoints in the sequence must be mapped to the corresponding - glyphs provided in the font, and those glyphs must be positioned - correctly relative to each other. For many of the scripts - supported in Unicode, these steps involve script-specific layout - rules, including complex joining, reordering, and positioning - behavior. Implementing these rules is the job of the shaping engine. -

-

- Text shaping is a fairly low-level operation. HarfBuzz is - used directly by text-handling libraries like Pango, as well as by the layout - engines in Firefox, LibreOffice, and Chromium. Unless you are - writing one of these layout engines - yourself, you will probably not need to use HarfBuzz: normally, - a layout engine, toolkit, or other library will turn text into - glyphs for you. -

-

- However, if you are writing a layout engine - or graphics library yourself, then you will need to perform text - shaping, and this is where HarfBuzz can help you. -

-

- Here are some specific scenarios where a text-shaping engine - like HarfBuzz helps you: -

-
    -
  • -

    - OpenType fonts contain a set of glyphs (that is, shapes - to represent the letters, numbers, punctuation marks, and - all other symbols), which are indexed by a glyph ID. -

    -

    - A particular glyph ID within the font does not necessarily - correlate to a predictable Unicode codepoint. For instance, - some fonts have the letter "a" as glyph ID 1, but - many others do not. In order to retrieve the right glyph - from the font to display "a", you need to consult - the table inside the font (the cmap - table) that maps Unicode codepoints to glyph IDs. In other - words, text shaping turns codepoints into glyph - IDs. -

    -
  • -
  • -

    - Many OpenType fonts contain ligatures: combinations of - characters that are rendered as a single unit. For instance, - it is common for the "f, i" letter - sequence to appear in print as the single ligature glyph - "fi". -

    -

    - Whether you should render an "f, i" sequence - as fi or as "fi" does not - depend on the input text. Instead, it depends on the whether - or not the font includes an "fi" glyph and on the - level of ligature application you wish to perform. The font - and the amount of ligature application used are under your - control. In other words, text shaping involves - querying the font's ligature tables and determining what - substitutions should be made. -

    -
  • -
  • -

    - While ligatures like "fi" are optional typographic - refinements, some languages require certain - substitutions to be made in order to display text correctly. -

    -

    - For example, in Tamil, when the letter "TTA" (ட) - letter is followed by the vowel sign "U" (ு), the pair - must be replaced by the single glyph "டு". The - sequence of Unicode characters "ட,ு" needs to be - substituted with a single "டு" glyph from the - font. -

    -

    - But "டு" does not have a Unicode codepoint. To - find this glyph, you need to consult the table inside - the font (the GSUB table) that contains - substitution information. In other words, text shaping - chooses the correct glyph for a sequence of characters - provided. -

    -
  • -
  • -

    - Similarly, each Arabic character has four different variants - corresponding to the different positions it might appear in - within a sequence. Inside a font, there will be separate - glyphs for the initial, medial, final, and isolated forms of - each letter, each at a different glyph ID. -

    -

    - Unicode only assigns one codepoint per character, so a - Unicode string will not tell you which glyph variant to use - for each character. To decide, you need to analyze the whole - string and determine the appropriate glyph for each character - based on its position. In other words, text - shaping chooses the correct form of the letter by its - position and returns the correct glyph from the font. -

    -
  • -
  • -

    - Other languages involve marks and accents that need to be - rendered in specific positions relative a base character. For - instance, the Moldovan language includes the Cyrillic letter - "zhe" (ж) with a breve accent, like so: "ӂ". -

    -

    - Some fonts will provide this character as a single - zhe-with-breve glyph, but other fonts will not and, instead, - will expect the rendering engine to form the character by - superimposing the separate "ж" and "˘" - glyphs. -

    -

    - But exactly where you should draw the breve depends on the - height and width of the preceding zhe glyph. To find the - right position, you need to consult the table inside - the font (the GPOS table) that contains - positioning information. - In other words, text shaping tells you whether you - have a precomposed glyph within your font or if you need to - compose a glyph yourself out of combining marks—and, - if so, where to position those marks. -

    -
  • -
-

- If tasks like these are something that you need to do, then you - need a text shaping engine. You could use Uniscribe if you are - writing Windows software; you could use CoreText on macOS; or - you could use HarfBuzz. -

-

- In the rest of this manual, the text will assume that the reader - is that implementor of a text-layout engine. -

-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/why-is-it-called-harfbuzz.html b/harfbuzz/docs/html/why-is-it-called-harfbuzz.html deleted file mode 100644 index 4a42630..0000000 --- a/harfbuzz/docs/html/why-is-it-called-harfbuzz.html +++ /dev/null @@ -1,38 +0,0 @@ - - - - -Why is it called HarfBuzz?: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Why is it called HarfBuzz?

-

- HarfBuzz began its life as text-shaping code within the FreeType - project (and you will see references to the FreeType authors - within the source code copyright declarations), but was then - extracted out to its own project. This project is maintained by - Behdad Esfahbod, who named it HarfBuzz. Originally, it was a - shaping engine for OpenType fonts—"HarfBuzz" is - the Persian for "open type". -

-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/html/working-with-harfbuzz-clusters.html b/harfbuzz/docs/html/working-with-harfbuzz-clusters.html deleted file mode 100644 index 7641d06..0000000 --- a/harfbuzz/docs/html/working-with-harfbuzz-clusters.html +++ /dev/null @@ -1,229 +0,0 @@ - - - - -Working with HarfBuzz clusters: HarfBuzz Manual - - - - - - - - - - - - - - - - -
-

-Working with HarfBuzz clusters

-

- When you add text to a HarfBuzz buffer, each code point must be - assigned a cluster value. -

-

- This cluster value is an arbitrary number; HarfBuzz uses it only - to distinguish between clusters. Many client programs will use - the index of each code point in the input text stream as the - cluster value. This is for the sake of convenience; the actual - value does not matter. -

-

- Some of the shaping operations performed by HarfBuzz — - such as reordering, composition, decomposition, and substitution - — may alter the cluster values of some characters. The - final cluster values in the buffer at the end of the shaping - process will indicate to client programs which subsequences of - glyphs represent a cluster and, therefore, must not be - separated. -

-

- In addition, client programs can query the final cluster values - to discern other potentially important information about the - glyphs in the output buffer (such as whether or not a ligature - was formed). -

-

- For example, if the initial sequence of cluster values was: -

-
-      0,1,2,3,4
-    
-

- and the final sequence of cluster values is: -

-
-      0,0,3,3
-    
-

- then there are two clusters in the output buffer: the first - cluster includes the first two glyphs, and the second cluster - includes the third and fourth glyphs. It is also evident that a - ligature or conjunct has been formed, because there are fewer - glyphs in the output buffer (four) than there were code points - in the input buffer (five). -

-

- Although client programs using HarfBuzz are free to assign - initial cluster values in any manner they choose to, HarfBuzz - does offer some useful guarantees if the cluster values are - assigned in a monotonic (either non-decreasing or non-increasing) - order. -

-

- For buffers in the left-to-right (LTR) - or top-to-bottom (TTB) text flow direction, - HarfBuzz will preserve the monotonic property: client programs - are guaranteed that monotonically increasing initial cluster - values will be returned as monotonically increasing final - cluster values. -

-

- For buffers in the right-to-left (RTL) - or bottom-to-top (BTT) text flow direction, - the directionality of the buffer itself is reversed for final - output as a matter of design. Therefore, HarfBuzz inverts the - monotonic property: client programs are guaranteed that - monotonically increasing initial cluster values will be - returned as monotonically decreasing final - cluster values. -

-

- Client programs can adjust how HarfBuzz handles clusters during - shaping by setting the - cluster_level of the - buffer. HarfBuzz offers three levels of - clustering support for this property: -

-
    -
  • -

    Level 0 is the default and - reproduces the behavior of the old HarfBuzz library. -

    -

    - The distinguishing feature of level 0 behavior is that, at - the beginning of processing the buffer, all code points that - are categorized as marks, - modifier symbols, or - Emoji extended pictographic modifiers, - as well as the Zero Width Joiner and - Zero Width Non-Joiner code points, are - assigned the cluster value of the closest preceding code - point from different category. -

    -

    - In essence, whenever a base character is followed by a mark - character or a sequence of mark characters, those marks are - reassigned to the same initial cluster value as the base - character. This reassignment is referred to as - "merging" the affected clusters. This behavior is based on - the Grapheme Cluster Boundary specification in Unicode - Technical Report 29. -

    -

    - Client programs can specify level 0 behavior for a buffer by - setting its cluster_level to - HB_BUFFER_CLUSTER_LEVEL_MONOTONE_GRAPHEMES. -

    -
  • -
  • -

    - Level 1 tweaks the old behavior - slightly to produce better results. Therefore, level 1 - clustering is recommended for code that is not required to - implement backward compatibility with the old HarfBuzz. -

    -

    - Level 1 differs from level 0 by not merging the - clusters of marks and other modifier code points with the - preceding "base" code point's cluster. By preserving the - separate cluster values of these marks and modifier code - points, script shapers can perform additional operations - that might lead to improved results (for example, reordering - a sequence of marks). -

    -

    - Client programs can specify level 1 behavior for a buffer by - setting its cluster_level to - HB_BUFFER_CLUSTER_LEVEL_MONOTONE_CHARACTERS. -

    -
  • -
  • -

    - Level 2 differs significantly in how it - treats cluster values. In level 2, HarfBuzz never merges - clusters. -

    -

    - This difference can be seen most clearly when HarfBuzz processes - ligature substitutions and glyph decompositions. In level 0 - and level 1, ligatures and glyph decomposition both involve - merging clusters; in level 2, neither of these operations - triggers a merge. -

    -

    - Client programs can specify level 2 behavior for a buffer by - setting its cluster_level to - HB_BUFFER_CLUSTER_LEVEL_CHARACTERS. -

    -
  • -
-

- As mentioned earlier, client programs using HarfBuzz often - assign initial cluster values in a buffer by reusing the indices - of the code points in the input text. This gives a sequence of - cluster values that is monotonically increasing (for example, - 0,1,2,3,4). -

-

- It is not required that the cluster values - in a buffer be monotonically increasing. However, if the initial - cluster values in a buffer are monotonic and the buffer is - configured to use cluster level 0 or 1, then HarfBuzz - guarantees that the final cluster values in the shaped buffer - will also be monotonic. No such guarantee is made for cluster - level 2. -

-

- In levels 0 and 1, HarfBuzz implements the following conceptual - model for cluster values: -

-
    -
  • - If the sequence of input cluster values is monotonic, the - sequence of cluster values will remain monotonic. -

  • -
  • - Each cluster value represents a single cluster. -

  • -
  • - Each cluster contains one or more glyphs and one or more - characters. -

  • -
-

- In practice, this model offers several benefits. Assuming that - the initial cluster values were monotonically increasing - and distinct before shaping began, then, in the final output: -

-
    -
  • - All adjacent glyphs having the same final cluster - value belong to the same cluster. -

  • -
  • - Each character belongs to the cluster that has the highest - cluster value not larger than its - initial cluster value. -

  • -
-
- - - \ No newline at end of file diff --git a/harfbuzz/docs/meson.build b/harfbuzz/docs/meson.build deleted file mode 100644 index 9da1fd5..0000000 --- a/harfbuzz/docs/meson.build +++ /dev/null @@ -1,66 +0,0 @@ -if build_machine.system() == 'windows' - message('Skipping gtk-doc while building on Windows') - subdir_done() -endif - -if not find_program('gtkdoc-scan', required: get_option('docs')).found() - message('Not building documentation as gtk-doc was not found') - subdir_done() -endif - -conf.set('HAVE_GTK_DOC', 1) - -gnome = import('gnome') - -docconf = configuration_data() -docconf.set('HB_VERSION', meson.project_version()) - -version_xml = configure_file(input: 'version.xml.in', - output: 'version.xml', - configuration: docconf) - -content_files = [ - 'usermanual-what-is-harfbuzz.xml', - 'usermanual-install-harfbuzz.xml', - 'usermanual-getting-started.xml', - 'usermanual-glyph-information.xml', - 'usermanual-shaping-concepts.xml', - 'usermanual-object-model.xml', - 'usermanual-buffers-language-script-and-direction.xml', - 'usermanual-fonts-and-faces.xml', - 'usermanual-opentype-features.xml', - 'usermanual-clusters.xml', - 'usermanual-utilities.xml', - 'usermanual-integration.xml', - version_xml, -] - -html_images = [ - 'HarfBuzz.png', - 'HarfBuzz.svg', -] - -ignore_headers = [ - 'hb-gobject.h', - 'hb-gobject-enums.h', - 'hb-gobject-enums-tmp.h', - 'hb-gobject-structs.h', -] - -gnome.gtkdoc('harfbuzz', - main_sgml: 'harfbuzz-docs.xml', - src_dir: [meson.current_source_dir() / '..' / 'src', - meson.current_build_dir() / '..' / 'src', - ], - scan_args: ['--deprecated-guards=HB_DISABLE_DEPRECATED', - '--ignore-decorators=HB_EXTERN|HB_DEPRECATED', - ], - mkdb_args: ['--source-suffixes=h,cc', - '--xml-mode', - '--output-format=xml', - ], - content_files: content_files, - html_assets: html_images, - ignore_headers: ignore_headers, - dependencies: [libharfbuzz_dep], - install: true) diff --git a/harfbuzz/docs/usermanual-buffers-language-script-and-direction.xml b/harfbuzz/docs/usermanual-buffers-language-script-and-direction.xml deleted file mode 100644 index 0235d2d..0000000 --- a/harfbuzz/docs/usermanual-buffers-language-script-and-direction.xml +++ /dev/null @@ -1,412 +0,0 @@ - - - -]> - - Buffers, language, script and direction - - The input to the HarfBuzz shaper is a series of Unicode characters, stored in a - buffer. In this chapter, we'll look at how to set up a buffer with - the text that we want and how to customize the properties of the - buffer. We'll also look at a piece of lower-level machinery that - you will need to understand before proceeding: the functions that - HarfBuzz uses to retrieve Unicode information. - - - After shaping is complete, HarfBuzz puts its output back - into the buffer. But getting that output requires setting up a - face and a font first, so we will look at that in the next chapter - instead of here. - -
- Creating and destroying buffers - - As we saw in our Getting Started example, a - buffer is created and - initialized with hb_buffer_create(). This - produces a new, empty buffer object, instantiated with some - default values and ready to accept your Unicode strings. - - - HarfBuzz manages the memory of objects (such as buffers) that it - creates, so you don't have to. When you have finished working on - a buffer, you can call hb_buffer_destroy(): - - - hb_buffer_t *buf = hb_buffer_create(); - ... - hb_buffer_destroy(buf); - - - This will destroy the object and free its associated memory - - unless some other part of the program holds a reference to this - buffer. If you acquire a HarfBuzz buffer from another subsystem - and want to ensure that it is not garbage collected by someone - else destroying it, you should increase its reference count: - - - void somefunc(hb_buffer_t *buf) { - buf = hb_buffer_reference(buf); - ... - - - And then decrease it once you're done with it: - - - hb_buffer_destroy(buf); - } - - - While we are on the subject of reference-counting buffers, it is - worth noting that an individual buffer can only meaningfully be - used by one thread at a time. - - - To throw away all the data in your buffer and start from scratch, - call hb_buffer_reset(buf). If you want to - throw away the string in the buffer but keep the options, you can - instead call hb_buffer_clear_contents(buf). - -
- -
- Adding text to the buffer - - Now we have a brand new HarfBuzz buffer. Let's start filling it - with text! From HarfBuzz's perspective, a buffer is just a stream - of Unicode code points, but your input string is probably in one of - the standard Unicode character encodings (UTF-8, UTF-16, or - UTF-32). HarfBuzz provides convenience functions that accept - each of these encodings: - hb_buffer_add_utf8(), - hb_buffer_add_utf16(), and - hb_buffer_add_utf32(). Other than the - character encoding they accept, they function identically. - - - You can add UTF-8 text to a buffer by passing in the text array, - the array's length, an offset into the array for the first - character to add, and the length of the segment to add: - - - hb_buffer_add_utf8 (hb_buffer_t *buf, - const char *text, - int text_length, - unsigned int item_offset, - int item_length) - - - So, in practice, you can say: - - - hb_buffer_add_utf8(buf, text, strlen(text), 0, strlen(text)); - - - This will append your new characters to - buf, not replace its existing - contents. Also, note that you can use -1 in - place of the first instance of strlen(text) - if your text array is NULL-terminated. Similarly, you can also use - -1 as the final argument want to add its full - contents. - - - Whatever start item_offset and - item_length you provide, HarfBuzz will also - attempt to grab the five characters before - the offset point and the five characters - after the designated end. These are the - before and after "context" segments, which are used internally - for HarfBuzz to make shaping decisions. They will not be part of - the final output, but they ensure that HarfBuzz's - script-specific shaping operations are correct. If there are - fewer than five characters available for the before or after - contexts, HarfBuzz will just grab what is there. - - - For longer text runs, such as full paragraphs, it might be - tempting to only add smaller sub-segments to a buffer and - shape them in piecemeal fashion. Generally, this is not a good - idea, however, because a lot of shaping decisions are - dependent on this context information. For example, in Arabic - and other connected scripts, HarfBuzz needs to know the code - points before and after each character in order to correctly - determine which glyph to return. - - - The safest approach is to add all of the text available (even - if your text contains a mix of scripts, directions, languages - and fonts), then use item_offset and - item_length to indicate which characters you - want shaped (which must all have the same script, direction, - language and font), so that HarfBuzz has access to any context. - - - You can also add Unicode code points directly with - hb_buffer_add_codepoints(). The arguments - to this function are the same as those for the UTF - encodings. But it is particularly important to note that - HarfBuzz does not do validity checking on the text that is added - to a buffer. Invalid code points will be replaced, but it is up - to you to do any deep-sanity checking necessary. - - -
- -
- Setting buffer properties - - Buffers containing input characters still need several - properties set before HarfBuzz can shape their text correctly. - - - Initially, all buffers are set to the - HB_BUFFER_CONTENT_TYPE_INVALID content - type. After adding text, the buffer should be set to - HB_BUFFER_CONTENT_TYPE_UNICODE instead, which - indicates that it contains un-shaped input - characters. After shaping, the buffer will have the - HB_BUFFER_CONTENT_TYPE_GLYPHS content type. - - - hb_buffer_add_utf8() and the - other UTF functions set the content type of their buffer - automatically. But if you are reusing a buffer you may want to - check its state with - hb_buffer_get_content_type(buffer). If - necessary you can set the content type with - - - hb_buffer_set_content_type(buf, HB_BUFFER_CONTENT_TYPE_UNICODE); - - - to prepare for shaping. - - - Buffers also need to carry information about the script, - language, and text direction of their contents. You can set - these properties individually: - - - hb_buffer_set_direction(buf, HB_DIRECTION_LTR); - hb_buffer_set_script(buf, HB_SCRIPT_LATIN); - hb_buffer_set_language(buf, hb_language_from_string("en", -1)); - - - However, since these properties are often repeated for - multiple text runs, you can also save them in a - hb_segment_properties_t for reuse: - - - hb_segment_properties_t *savedprops; - hb_buffer_get_segment_properties (buf, savedprops); - ... - hb_buffer_set_segment_properties (buf2, savedprops); - - - HarfBuzz also provides getter functions to retrieve a buffer's - direction, script, and language properties individually. - - - HarfBuzz recognizes four text directions in - hb_direction_t: left-to-right - (HB_DIRECTION_LTR), right-to-left (HB_DIRECTION_RTL), - top-to-bottom (HB_DIRECTION_TTB), and - bottom-to-top (HB_DIRECTION_BTT). For the - script property, HarfBuzz uses identifiers based on the - ISO 15924 - standard. For languages, HarfBuzz uses tags based on the - IETF BCP 47 standard. - - - Helper functions are provided to convert character strings into - the necessary script and language tag types. - - - Two additional buffer properties to be aware of are the - "invisible glyph" and the replacement code point. The - replacement code point is inserted into buffer output in place of - any invalid code points encountered in the input. By default, it - is the Unicode REPLACEMENT CHARACTER code - point, U+FFFD "�". You can change this with - - - hb_buffer_set_replacement_codepoint(buf, replacement); - - - passing in the replacement Unicode code point as the - replacement parameter. - - - The invisible glyph is used to replace all output glyphs that - are invisible. By default, the standard space character - U+0020 is used; you can replace this (for - example, when using a font that provides script-specific - spaces) with - - - hb_buffer_set_invisible_glyph(buf, replacement_glyph); - - - Do note that in the replacement_glyph - parameter, you must provide the glyph ID of the replacement you - wish to use, not the Unicode code point. - - - HarfBuzz supports a few additional flags you might want to set - on your buffer under certain circumstances. The - HB_BUFFER_FLAG_BOT and - HB_BUFFER_FLAG_EOT flags tell HarfBuzz - that the buffer represents the beginning or end (respectively) - of a text element (such as a paragraph or other block). Knowing - this allows HarfBuzz to apply certain contextual font features - when shaping, such as initial or final variants in connected - scripts. - - - HB_BUFFER_FLAG_PRESERVE_DEFAULT_IGNORABLES - tells HarfBuzz not to hide glyphs with the - Default_Ignorable property in Unicode. This - property designates control characters and other non-printing - code points, such as joiners and variation selectors. Normally - HarfBuzz replaces them in the output buffer with zero-width - space glyphs (using the "invisible glyph" property discussed - above); setting this flag causes them to be printed, which can - be helpful for troubleshooting. - - - Conversely, setting the - HB_BUFFER_FLAG_REMOVE_DEFAULT_IGNORABLES flag - tells HarfBuzz to remove Default_Ignorable - glyphs from the output buffer entirely. Finally, setting the - HB_BUFFER_FLAG_DO_NOT_INSERT_DOTTED_CIRCLE - flag tells HarfBuzz not to insert the dotted-circle glyph - (U+25CC, "◌"), which is normally - inserted into buffer output when broken character sequences are - encountered (such as combining marks that are not attached to a - base character). - -
- -
- Customizing Unicode functions - - HarfBuzz requires some simple functions for accessing - information from the Unicode Character Database (such as the - General_Category (gc) and - Script (sc) properties) that is useful - for shaping, as well as some useful operations like composing and - decomposing code points. - - - HarfBuzz includes its own internal, lightweight set of Unicode - functions. At build time, it is also possible to compile support - for some other options, such as the Unicode functions provided - by GLib or the International Components for Unicode (ICU) - library. Generally, this option is only of interest for client - programs that have specific integration requirements or that do - a significant amount of customization. - - - If your program has access to other Unicode functions, however, - such as through a system library or application framework, you - might prefer to use those instead of the built-in - options. HarfBuzz supports this by implementing its Unicode - functions as a set of virtual methods that you can replace — - without otherwise affecting HarfBuzz's functionality. - - - The Unicode functions are specified in a structure called - unicode_funcs which is attached to each - buffer. But even though unicode_funcs is - associated with a hb_buffer_t, the functions - themselves are called by other HarfBuzz APIs that access - buffers, so it would be unwise for you to hook different - functions into different buffers. - - - In addition, you can mark your unicode_funcs - as immutable by calling - hb_unicode_funcs_make_immutable (ufuncs). - This is especially useful if your code is a - library or framework that will have its own client programs. By - marking your Unicode function choices as immutable, you prevent - your own client programs from changing the - unicode_funcs configuration and introducing - inconsistencies and errors downstream. - - - You can retrieve the Unicode-functions configuration for - your buffer by calling hb_buffer_get_unicode_funcs(): - - - hb_unicode_funcs_t *ufunctions; - ufunctions = hb_buffer_get_unicode_funcs(buf); - - - The current version of unicode_funcs uses six functions: - - - - - hb_unicode_combining_class_func_t: - returns the Canonical Combining Class of a code point. - - - - - hb_unicode_general_category_func_t: - returns the General Category (gc) of a code point. - - - - - hb_unicode_mirroring_func_t: returns - the Mirroring Glyph code point (for bi-directional - replacement) of a code point. - - - - - hb_unicode_script_func_t: returns the - Script (sc) property of a code point. - - - - - hb_unicode_compose_func_t: returns the - canonical composition of a sequence of two code points. - - - - - hb_unicode_decompose_func_t: returns - the canonical decomposition of a code point. - - - - - Note, however, that future HarfBuzz releases may alter this set. - - - Each Unicode function has a corresponding setter, with which you - can assign a callback to your replacement function. For example, - to replace - hb_unicode_general_category_func_t, you can call - - - hb_unicode_funcs_set_general_category_func (*ufuncs, func, *user_data, destroy) - - - Virtualizing this set of Unicode functions is primarily intended - to improve portability. There is no need for every client - program to make the effort to replace the default options, so if - you are unsure, do not feel any pressure to customize - unicode_funcs. - -
- -
diff --git a/harfbuzz/docs/usermanual-clusters.xml b/harfbuzz/docs/usermanual-clusters.xml deleted file mode 100644 index 9147ff0..0000000 --- a/harfbuzz/docs/usermanual-clusters.xml +++ /dev/null @@ -1,697 +0,0 @@ - - - -]> - - Clusters -
- Clusters and shaping - - In text shaping, a cluster is a sequence of - characters that needs to be treated as a single, indivisible - unit. A single letter or symbol can be a cluster of its - own. Other clusters correspond to longer subsequences of the - input code points — such as a ligature or conjunct form - — and require the shaper to ensure that the cluster is not - broken during the shaping process. - - - A cluster is distinct from a grapheme, - which is the smallest unit of meaning in a writing system or - script. - - - The definitions of the two terms are similar. However, clusters - are only relevant for script shaping and glyph layout. In - contrast, graphemes are a property of the underlying script, and - are of interest when client programs implement orthographic - or linguistic functionality. - - - For example, two individual letters are often two separate - graphemes. When two letters form a ligature, however, they - combine into a single glyph. They are then part of the same - cluster and are treated as a unit by the shaping engine — - even though the two original, underlying letters remain separate - graphemes. - - - HarfBuzz is concerned with clusters, not - with graphemes — although client programs using HarfBuzz - may still care about graphemes for other reasons from time to time. - - - During the shaping process, there are several shaping operations - that may merge adjacent characters (for example, when two code - points form a ligature or a conjunct form and are replaced by a - single glyph) or split one character into several (for example, - when decomposing a code point through the - ccmp feature). Operations like these alter - clusters; HarfBuzz tracks the changes to ensure that no clusters - get lost or broken during shaping. - - - HarfBuzz records cluster information independently from how - shaping operations affect the individual glyphs returned in an - output buffer. Consequently, a client program using HarfBuzz can - utilize the cluster information to implement features such as: - - - - - Correctly positioning the cursor within a shaped text run, - even when characters have formed ligatures, composed or - decomposed, reordered, or undergone other shaping operations. - - - - - Correctly highlighting a text selection that includes some, - but not all, of the characters in a word. - - - - - Applying text attributes (such as color or underlining) to - part, but not all, of a word. - - - - - Generating output document formats (such as PDF) with - embedded text that can be fully extracted. - - - - - Determining the mapping between input characters and output - glyphs, such as which glyphs are ligatures. - - - - - Performing line-breaking, justification, and other - line-level or paragraph-level operations that must be done - after shaping is complete, but which require examining - character-level properties. - - - -
-
- Working with HarfBuzz clusters - - When you add text to a HarfBuzz buffer, each code point must be - assigned a cluster value. - - - This cluster value is an arbitrary number; HarfBuzz uses it only - to distinguish between clusters. Many client programs will use - the index of each code point in the input text stream as the - cluster value. This is for the sake of convenience; the actual - value does not matter. - - - Some of the shaping operations performed by HarfBuzz — - such as reordering, composition, decomposition, and substitution - — may alter the cluster values of some characters. The - final cluster values in the buffer at the end of the shaping - process will indicate to client programs which subsequences of - glyphs represent a cluster and, therefore, must not be - separated. - - - In addition, client programs can query the final cluster values - to discern other potentially important information about the - glyphs in the output buffer (such as whether or not a ligature - was formed). - - - For example, if the initial sequence of cluster values was: - - - 0,1,2,3,4 - - - and the final sequence of cluster values is: - - - 0,0,3,3 - - - then there are two clusters in the output buffer: the first - cluster includes the first two glyphs, and the second cluster - includes the third and fourth glyphs. It is also evident that a - ligature or conjunct has been formed, because there are fewer - glyphs in the output buffer (four) than there were code points - in the input buffer (five). - - - Although client programs using HarfBuzz are free to assign - initial cluster values in any manner they choose to, HarfBuzz - does offer some useful guarantees if the cluster values are - assigned in a monotonic (either non-decreasing or non-increasing) - order. - - - For buffers in the left-to-right (LTR) - or top-to-bottom (TTB) text flow direction, - HarfBuzz will preserve the monotonic property: client programs - are guaranteed that monotonically increasing initial cluster - values will be returned as monotonically increasing final - cluster values. - - - For buffers in the right-to-left (RTL) - or bottom-to-top (BTT) text flow direction, - the directionality of the buffer itself is reversed for final - output as a matter of design. Therefore, HarfBuzz inverts the - monotonic property: client programs are guaranteed that - monotonically increasing initial cluster values will be - returned as monotonically decreasing final - cluster values. - - - Client programs can adjust how HarfBuzz handles clusters during - shaping by setting the - cluster_level of the - buffer. HarfBuzz offers three levels of - clustering support for this property: - - - - Level 0 is the default and - reproduces the behavior of the old HarfBuzz library. - - - The distinguishing feature of level 0 behavior is that, at - the beginning of processing the buffer, all code points that - are categorized as marks, - modifier symbols, or - Emoji extended pictographic modifiers, - as well as the Zero Width Joiner and - Zero Width Non-Joiner code points, are - assigned the cluster value of the closest preceding code - point from different category. - - - In essence, whenever a base character is followed by a mark - character or a sequence of mark characters, those marks are - reassigned to the same initial cluster value as the base - character. This reassignment is referred to as - "merging" the affected clusters. This behavior is based on - the Grapheme Cluster Boundary specification in Unicode - Technical Report 29. - - - Client programs can specify level 0 behavior for a buffer by - setting its cluster_level to - HB_BUFFER_CLUSTER_LEVEL_MONOTONE_GRAPHEMES. - - - - - Level 1 tweaks the old behavior - slightly to produce better results. Therefore, level 1 - clustering is recommended for code that is not required to - implement backward compatibility with the old HarfBuzz. - - - Level 1 differs from level 0 by not merging the - clusters of marks and other modifier code points with the - preceding "base" code point's cluster. By preserving the - separate cluster values of these marks and modifier code - points, script shapers can perform additional operations - that might lead to improved results (for example, reordering - a sequence of marks). - - - Client programs can specify level 1 behavior for a buffer by - setting its cluster_level to - HB_BUFFER_CLUSTER_LEVEL_MONOTONE_CHARACTERS. - - - - - Level 2 differs significantly in how it - treats cluster values. In level 2, HarfBuzz never merges - clusters. - - - This difference can be seen most clearly when HarfBuzz processes - ligature substitutions and glyph decompositions. In level 0 - and level 1, ligatures and glyph decomposition both involve - merging clusters; in level 2, neither of these operations - triggers a merge. - - - Client programs can specify level 2 behavior for a buffer by - setting its cluster_level to - HB_BUFFER_CLUSTER_LEVEL_CHARACTERS. - - - - - As mentioned earlier, client programs using HarfBuzz often - assign initial cluster values in a buffer by reusing the indices - of the code points in the input text. This gives a sequence of - cluster values that is monotonically increasing (for example, - 0,1,2,3,4). - - - It is not required that the cluster values - in a buffer be monotonically increasing. However, if the initial - cluster values in a buffer are monotonic and the buffer is - configured to use cluster level 0 or 1, then HarfBuzz - guarantees that the final cluster values in the shaped buffer - will also be monotonic. No such guarantee is made for cluster - level 2. - - - In levels 0 and 1, HarfBuzz implements the following conceptual - model for cluster values: - - - - - If the sequence of input cluster values is monotonic, the - sequence of cluster values will remain monotonic. - - - - - Each cluster value represents a single cluster. - - - - - Each cluster contains one or more glyphs and one or more - characters. - - - - - In practice, this model offers several benefits. Assuming that - the initial cluster values were monotonically increasing - and distinct before shaping began, then, in the final output: - - - - - All adjacent glyphs having the same final cluster - value belong to the same cluster. - - - - - Each character belongs to the cluster that has the highest - cluster value not larger than its - initial cluster value. - - - -
- -
- A clustering example for levels 0 and 1 - - The basic shaping operations affect clusters in a predictable - manner when using level 0 or level 1: - - - - - When two or more clusters merge, the - resulting merged cluster takes as its cluster value the - minimum of the incoming cluster values. - - - - - When a cluster decomposes, all of the - resulting child clusters inherit as their cluster value the - cluster value of the parent cluster. - - - - - When a character is reordered, the - reordered character and all clusters that the character - moves past as part of the reordering are merged into one cluster. - - - - - The functionality, guarantees, and benefits of level 0 and level - 1 behavior can be seen with some examples. First, let us examine - what happens with cluster values when shaping involves cluster - merging with ligatures and decomposition. - - - - Let's say we start with the following character sequence (top row) and - initial cluster values (bottom row): - - - A,B,C,D,E - 0,1,2,3,4 - - - During shaping, HarfBuzz maps these characters to glyphs from - the font. For simplicity, let us assume that each character maps - to the corresponding, identical-looking glyph: - - - A,B,C,D,E - 0,1,2,3,4 - - - Now if, for example, B and C - form a ligature, then the clusters to which they belong - "merge". This merged cluster takes for its cluster - value the minimum of all the cluster values of the clusters that - went in to the ligature. In this case, we get: - - - A,BC,D,E - 0,1 ,3,4 - - - because 1 is the minimum of the set {1,2}, which were the - cluster values of B and - C. - - - Next, let us say that the BC ligature glyph - decomposes into three components, and D also - decomposes into two components. Whenever a cluster decomposes, - its components each inherit the cluster value of their parent: - - - A,BC0,BC1,BC2,D0,D1,E - 0,1 ,1 ,1 ,3 ,3 ,4 - - - Next, if BC2 and D0 form a - ligature, then their clusters (cluster values 1 and 3) merge into - min(1,3) = 1: - - - A,BC0,BC1,BC2D0,D1,E - 0,1 ,1 ,1 ,1 ,4 - - - Note that the entirety of cluster 3 merges into cluster 1, not - just the D0 glyph. This reflects the fact - that the cluster must be treated as an - indivisible unit. - - - At this point, cluster 1 means: the character sequence - BCD is represented by glyphs - BC0,BC1,BC2D0,D1 and cannot be broken down any - further. - -
-
- Reordering in levels 0 and 1 - - Another common operation in the more complex shapers is glyph - reordering. In order to maintain a monotonic cluster sequence - when glyph reordering takes place, HarfBuzz merges the clusters - of everything in the reordering sequence. - - - For example, let us again start with the character sequence (top - row) and initial cluster values (bottom row): - - - A,B,C,D,E - 0,1,2,3,4 - - - If D is reordered to the position immediately - before B, then HarfBuzz merges the - B, C, and - D clusters — all the clusters between - the final position of the reordered glyph and its original - position. This means that we get: - - - A,D,B,C,E - 0,1,1,1,4 - - - as the final cluster sequence. - - - Merging this many clusters is not ideal, but it is the only - sensible way for HarfBuzz to maintain the guarantee that the - sequence of cluster values remains monotonic and to retain the - true relationship between glyphs and characters. - -
-
- The distinction between levels 0 and 1 - - The preceding examples demonstrate the main effects of using - cluster levels 0 and 1. The only difference between the two - levels is this: in level 0, at the very beginning of the shaping - process, HarfBuzz merges the cluster of each base character - with the clusters of all Unicode marks (combining or not) and - modifiers that follow it. - - - For example, let us start with the following character sequence - (top row) and accompanying initial cluster values (bottom row): - - - A,acute,B - 0,1 ,2 - - - The acute is a Unicode mark. If HarfBuzz is - using cluster level 0 on this sequence, then the - A and acute clusters will - merge, and the result will become: - - - A,acute,B - 0,0 ,2 - - - This merger is performed before any other script-shaping - steps. - - - This initial cluster merging is the default behavior of the - Windows shaping engine, and the old HarfBuzz codebase copied - that behavior to maintain compatibility. Consequently, it has - remained the default behavior in the new HarfBuzz codebase. - - - But this initial cluster-merging behavior makes it impossible - for client programs to implement some features (such as to - color diacritic marks differently from their base - characters). That is why, in level 1, HarfBuzz does not perform - the initial merging step. - - - For client programs that rely on HarfBuzz cluster values to - perform cursor positioning, level 0 is more convenient. But - relying on cluster boundaries for cursor positioning is wrong: cursor - positions should be determined based on Unicode grapheme - boundaries, not on shaping-cluster boundaries. As such, using - level 1 clustering behavior is recommended. - - - One final facet of levels 0 and 1 is worth noting. HarfBuzz - currently does not allow any - multiple-substitution GSUB lookups to - replace a glyph with zero glyphs (in other words, to delete a - glyph). - - - But, in some other situations, glyphs can be deleted. In - those cases, if the glyph being deleted is the last glyph of its - cluster, HarfBuzz makes sure to merge the deleted glyph's - cluster with a neighboring cluster. - - - This is done primarily to make sure that the starting cluster of the - text always has the cluster index pointing to the start of the text - for the run; more than one client program currently relies on this - guarantee. - - - Incidentally, Apple's CoreText does something different to - maintain the same promise: it inserts a glyph with id 65535 at - the beginning of the glyph string if the glyph corresponding to - the first character in the run was deleted. HarfBuzz might do - something similar in the future. - -
-
- Level 2 - - HarfBuzz's level 2 cluster behavior uses a significantly - different model than that of level 0 and level 1. - - - The level 2 behavior is easy to describe, but it may be - difficult to understand in practical terms. In brief, level 2 - performs no merging of clusters whatsoever. - - - This means that there is no initial base-and-mark merging step - (as is done in level 0), and it means that reordering moves and - ligature substitutions do not trigger a cluster merge. - - - Only one shaping operation directly affects clusters when using - level 2: - - - - - When a cluster decomposes, all of the - resulting child clusters inherit as their cluster value the - cluster value of the parent cluster. - - - - - When glyphs do form a ligature (or when some other feature - substitutes multiple glyphs with one glyph) the cluster value - of the first glyph is retained as the cluster value for the - resulting ligature. - - - This occurrence sounds similar to a cluster merge, but it is - different. In particular, no subsequent characters — - including marks and modifiers — are affected. They retain - their previous cluster values. - - - Level 2 cluster behavior is ultimately less complex than level 0 - or level 1, but there are several cases for which processing - cluster values produced at level 2 may be tricky. - -
- Ligatures with combining marks in level 2 - - The first example of how HarfBuzz's level 2 cluster behavior - can be tricky is when the text to be shaped includes combining - marks attached to ligatures. - - - Let us start with an input sequence with the following - characters (top row) and initial cluster values (bottom row): - - - A,acute,B,breve,C,circumflex - 0,1 ,2,3 ,4,5 - - - If the sequence A,B,C forms a ligature, - then these are the cluster values HarfBuzz will return under - the various cluster levels: - - - Level 0: - - - ABC,acute,breve,circumflex - 0 ,0 ,0 ,0 - - - Level 1: - - - ABC,acute,breve,circumflex - 0 ,0 ,0 ,5 - - - Level 2: - - - ABC,acute,breve,circumflex - 0 ,1 ,3 ,5 - - - Making sense of the level 2 result is the hardest for a client - program, because there is nothing in the cluster values that - indicates that B and C - formed a ligature with A. - - - In contrast, the "merged" cluster values of the mark glyphs - that are seen in the level 0 and level 1 output are evidence - that a ligature substitution took place. - -
-
- Reordering in level 2 - - Another example of how HarfBuzz's level 2 cluster behavior - can be tricky is when glyphs reorder. Consider an input sequence - with the following characters (top row) and initial cluster - values (bottom row): - - - A,B,C,D,E - 0,1,2,3,4 - - - Now imagine D moves before - B in a reordering operation. The cluster - values will then be: - - - A,D,B,C,E - 0,3,1,2,4 - - - Next, if D forms a ligature with - B, the output is: - - - A,DB,C,E - 0,3 ,2,4 - - - However, in a different scenario, in which the shaping rules - of the script instead caused A and - B to form a ligature - before the D reordered, the - result would be: - - - AB,D,C,E - 0 ,3,2,4 - - - There is no way for a client program to differentiate between - these two scenarios based on the cluster values - alone. Consequently, client programs that use level 2 might - need to undertake additional work in order to manage cursor - positioning, text attributes, or other desired features. - -
-
- Other considerations in level 2 - - There may be other problems encountered with ligatures under - level 2, such as if the direction of the text is forced to - the opposite of its natural direction (for example, Arabic text - that is forced into left-to-right directionality). But, - generally speaking, these other scenarios are minor corner - cases that are too obscure for most client programs to need to - worry about. - -
-
-
diff --git a/harfbuzz/docs/usermanual-fonts-and-faces.xml b/harfbuzz/docs/usermanual-fonts-and-faces.xml deleted file mode 100644 index abf5dc2..0000000 --- a/harfbuzz/docs/usermanual-fonts-and-faces.xml +++ /dev/null @@ -1,467 +0,0 @@ - - - -]> - - Fonts, faces, and output - - In the previous chapter, we saw how to set up a buffer and fill - it with text as Unicode code points. In order to shape this - buffer text with HarfBuzz, you will need also need a font - object. - - - HarfBuzz provides abstractions to help you cache and reuse the - heavier parts of working with binary fonts, so we will look at - how to do that. We will also look at how to work with the - FreeType font-rendering library and at how you can customize - HarfBuzz to work with other libraries. - - - Finally, we will look at how to work with OpenType variable - fonts, the latest update to the OpenType font format, and at - some other recent additions to OpenType. - - -
- Font and face objects - - The outcome of shaping a run of text depends on the contents of - a specific font file (such as the substitutions and positioning - moves in the 'GSUB' and 'GPOS' tables), so HarfBuzz makes - accessing those internals fast. - - - An hb_face_t represents a face - in HarfBuzz. This data type is a wrapper around an - hb_blob_t blob that holds the contents of a binary - font file. Since HarfBuzz supports TrueType Collections and - OpenType Collections (each of which can include multiple - typefaces), a HarfBuzz face also requires an index number - specifying which typeface in the file you want to use. Most of - the font files you will encounter in the wild include just a - single face, however, so most of the time you would pass in - 0 as the index when you create a face: - - - hb_blob_t* blob = hb_blob_create_from_file(file); - ... - hb_face_t* face = hb_face_create(blob, 0); - - - On its own, a face object is not quite ready to use for - shaping. The typeface must be set to a specific point size in - order for some details (such as hinting) to work. In addition, - if the font file in question is an OpenType Variable Font, then - you may need to specify one or variation-axis settings (or a - named instance) in order to get the output you need. - - - In HarfBuzz, you do this by creating a font - object from your face. - - - Font objects also have the advantage of being considerably - lighter-weight than face objects (remember that a face contains - the contents of a binary font file mapped into memory). As a - result, you can cache and reuse a font object, but you could - also create a new one for each additional size you needed. - Creating new fonts incurs some additional overhead, of course, - but whether or not it is excessive is your call in the end. In - contrast, face objects are substantially larger, and you really - should cache them and reuse them whenever possible. - - - You can create a font object from a face object: - - - hb_font_t* hb_font = hb_font_create(hb_face); - - - After creating a font, there are a few properties you should - set. Many fonts enable and disable hints based on the size it - is used at, so setting this is important for font - objects. hb_font_set_ppem(font, x_ppem, - y_ppem) sets the pixels-per-EM value of the font. You - can also set the point size of the font with - hb_font_set_ptem(font, ptem). HarfBuzz uses the - industry standard 72 points per inch. - - - HarfBuzz lets you specify the degree subpixel precision you want - through a scaling factor. You can set horizontal and - vertical scaling factors on the - font by calling hb_font_set_scale(font, x_scale, - y_scale). - - - There may be times when you are handed a font object and need to - access the face object that it comes from. For that, you can call - - - hb_face = hb_font_get_face(hb_font); - - - You can also create a font object from an existing font object - using the hb_font_create_sub_font() - function. This creates a child font object that is initiated - with the same attributes as its parent; it can be used to - quickly set up a new font for the purpose of overriding a specific - font-functions method. - - - All face objects and font objects are lifecycle-managed by - HarfBuzz. After creating a face, you increase its reference - count with hb_face_reference(face) and - decrease it with - hb_face_destroy(face). Likewise, you - increase the reference count on a font with - hb_font_reference(font) and decrease it - with hb_font_destroy(font). - - - You can also attach user data to face objects and font objects. - -
- -
- Customizing font functions - - During shaping, HarfBuzz frequently needs to query font objects - to get at the contents and parameters of the glyphs in a font - file. It includes a built-in set of functions that is tailored - to working with OpenType fonts. However, as was the case with - Unicode functions in the buffers chapter, HarfBuzz also wants to - make it easy for you to assign a substitute set of font - functions if you are developing a program to work with a library - or platform that provides its own font functions. - - - Therefore, the HarfBuzz API defines a set of virtual - methods for accessing font-object properties, and you can - replace the defaults with your own selections without - interfering with the shaping process. Each font object in - HarfBuzz includes a structure called - font_funcs that serves as a vtable for the - font object. The virtual methods in - font_funcs are: - - - - - hb_font_get_font_h_extents_func_t: returns - the extents of the font for horizontal text. - - - - - hb_font_get_font_v_extents_func_t: returns - the extents of the font for vertical text. - - - - - hb_font_get_nominal_glyph_func_t: returns - the font's nominal glyph for a given code point. - - - - - hb_font_get_variation_glyph_func_t: returns - the font's glyph for a given code point when it is followed by a - given Variation Selector. - - - - - hb_font_get_nominal_glyphs_func_t: returns - the font's nominal glyphs for a series of code points. - - - - - hb_font_get_glyph_advance_func_t: returns - the advance for a glyph. - - - - - hb_font_get_glyph_h_advance_func_t: returns - the advance for a glyph for horizontal text. - - - - - hb_font_get_glyph_v_advance_func_t:returns - the advance for a glyph for vertical text. - - - - - hb_font_get_glyph_advances_func_t: returns - the advances for a series of glyphs. - - - - - hb_font_get_glyph_h_advances_func_t: returns - the advances for a series of glyphs for horizontal text . - - - - - hb_font_get_glyph_v_advances_func_t: returns - the advances for a series of glyphs for vertical text. - - - - - hb_font_get_glyph_origin_func_t: returns - the origin coordinates of a glyph. - - - - - hb_font_get_glyph_h_origin_func_t: returns - the origin coordinates of a glyph for horizontal text. - - - - - hb_font_get_glyph_v_origin_func_t: returns - the origin coordinates of a glyph for vertical text. - - - - - hb_font_get_glyph_extents_func_t: returns - the extents for a glyph. - - - - - hb_font_get_glyph_contour_point_func_t: - returns the coordinates of a specific contour point from a glyph. - - - - - hb_font_get_glyph_name_func_t: returns the - name of a glyph (from its glyph index). - - - - - hb_font_get_glyph_from_name_func_t: returns - the glyph index that corresponds to a given glyph name. - - - - - You can create new font-functions by calling - hb_font_funcs_create(): - - - hb_font_funcs_t *ffunctions = hb_font_funcs_create (); - hb_font_set_funcs (font, ffunctions, font_data, destroy); - - - The individual methods can each be set with their own setter - function, such as - hb_font_funcs_set_nominal_glyph_func(ffunctions, - func, user_data, destroy). - - - Font-functions structures can be reused for multiple font - objects, and can be reference counted with - hb_font_funcs_reference() and - hb_font_funcs_destroy(). Just like other - objects in HarfBuzz, you can set user-data for each - font-functions structure and assign a destroy callback for - it. - - - You can also mark a font-functions structure as immutable, - with hb_font_funcs_make_immutable(). This - is especially useful if your code is a library or framework that - will have its own client programs. By marking your - font-functions structures as immutable, you prevent your client - programs from changing the configuration and introducing - inconsistencies and errors downstream. - - - To override only some functions while using the default implementation - for the others, you will need to create a sub-font. By default, the - sub-font uses the font functions of its parent except for the functions - that were explicitly set. The following code will override only the - hb_font_get_nominal_glyph_func_t for the sub-font: - - - hb_font_t *subfont = hb_font_create_sub_font (font) - hb_font_funcs_t *ffunctions = hb_font_funcs_create (); - hb_font_funcs_set_nominal_glyph_func (ffunctions, func, user_data, destroy); - hb_font_set_funcs (subfont, ffunctions, font_data, destroy); - hb_font_funcs_destroy (ffunctions); - -
- -
- Font objects and HarfBuzz's native OpenType implementation - - By default, whenever HarfBuzz creates a font object, it will - configure the font to use a built-in set of font functions that - supports contemporary OpenType font internals. If you want to - work with OpenType or TrueType fonts, you should be able to use - these functions without difficulty. - - - Many of the methods in the font-functions structure deal with - the fundamental properties of glyphs that are required for - shaping text: extents (the maximums and minimums on each axis), - origins (the (0,0) coordinate point which - glyphs are drawn in reference to), and advances (the amount that - the cursor needs to be moved after drawing each glyph, including - any empty space for the glyph's side bearings). - - - As you can see in the list of functions, there are separate "horizontal" - and "vertical" variants depending on whether the text is set in - the horizontal or vertical direction. For some scripts, fonts - that are designed to support text set horizontally or vertically (for - example, in Japanese) may include metrics for both text - directions. When fonts don't include this information, HarfBuzz - does its best to transform what the font provides. - - - In addition to the direction-specific functions, HarfBuzz - provides some higher-level functions for fetching information - like extents and advances for a glyph. If you call - - - hb_font_get_glyph_advance_for_direction(font, direction, extents); - - - then you can provide any hb_direction_t as the - direction parameter, and HarfBuzz will - use the correct function variant for the text direction. There - are similar higher-level versions of the functions for fetching - extents, origin coordinates, and contour-point - coordinates. There are also addition and subtraction functions - for moving points with respect to the origin. - - - There are also methods for fetching the glyph ID that - corresponds to a Unicode code point (possibly when followed by a - variation-selector code point), fetching the glyph name from the - font, and fetching the glyph ID that corresponds to a glyph name - you already have. - - - HarfBuzz also provides functions for converting between glyph - names and string - variables. hb_font_glyph_to_string(font, glyph, s, - size) retrieves the name for the glyph ID - glyph from the font object. It generates a - generic name of the form gidDDD (where DDD is - the glyph index) if there is no name for the glyph in the - font. The hb_font_glyph_from_string(font, s, len, - glyph) takes an input string s - and looks for a glyph with that name in the font, returning its - glyph ID in the glyph - output parameter. It automatically parses - gidDDD and uniUUUU strings. - -
- - - - - - -
- Working with OpenType Variable Fonts - - If you are working with OpenType Variable Fonts, there are a few - additional functions you should use to specify the - variation-axis settings of your font object. Without doing so, - your variable font's font object can still be used, but only at - the default setting for every axis (which, of course, is - sometimes what you want, but does not cover general usage). - - - HarfBuzz manages variation settings in the - hb_variation_t data type, which holds a tag for the - variation-axis identifier tag and a value for its - setting. You can retrieve the list of variation axes in a font - binary from the face object (not from a font object, notably) by - calling hb_ot_var_get_axis_count(face) to - find the number of axes, then using - hb_ot_var_get_axis_infos() to collect the - axis structures: - - - axes = hb_ot_var_get_axis_count(face); - ... - hb_ot_var_get_axis_infos(face, 0, axes, axes_array); - - - For each axis returned in the array, you can can access the - identifier in its tag. HarfBuzz also has - tag definitions predefined for the five standard axes specified - in OpenType (ital for italic, - opsz for optical size, - slnt for slant, wdth for - width, and wght for weight). Each axis also - has a min_value, a - default_value, and a max_value. - - - To set your font object's variation settings, you call the - hb_font_set_variations() function with an - array of hb_variation_t variation settings. Let's - say our font has weight and width axes. We need to specify each - of the axes by tag and assign a value on the axis: - - - unsigned int variation_count = 2; - hb_variation_t variation_data[variation_count]; - variation_data[0].tag = HB_OT_TAG_VAR_AXIS_WIDTH; - variation_data[1].tag = HB_OT_TAG_VAR_AXIS_WEIGHT; - variation_data[0].value = 80; - variation_data[1].value = 750; - ... - hb_font_set_variations(font, variation_data, variation_count); - - - That should give us a slightly condensed font ("normal" on the - wdth axis is 100) at a noticeably bolder - weight ("regular" is 400 on the wght axis). - - - In practice, though, you should always check that the value you - want to set on the axis is within the - [min_value,max_value] - range actually implemented in the font's variation axis. After - all, a font might only provide lighter-than-regular weights, and - setting a heavier value on the wght axis will - not change that. - - - Once your variation settings are specified on your font object, - however, shaping with a variable font is just like shaping a - static font. - -
- -
diff --git a/harfbuzz/docs/usermanual-getting-started.xml b/harfbuzz/docs/usermanual-getting-started.xml deleted file mode 100644 index e7241a6..0000000 --- a/harfbuzz/docs/usermanual-getting-started.xml +++ /dev/null @@ -1,312 +0,0 @@ - - - -]> - - Getting started with HarfBuzz -
- An overview of the HarfBuzz shaping API - - The core of the HarfBuzz shaping API is the function - hb_shape(). This function takes a font, a - buffer containing a string of Unicode codepoints and - (optionally) a list of font features as its input. It replaces - the codepoints in the buffer with the corresponding glyphs from - the font, correctly ordered and positioned, and with any of the - optional font features applied. - - - In addition to holding the pre-shaping input (the Unicode - codepoints that comprise the input string) and the post-shaping - output (the glyphs and positions), a HarfBuzz buffer has several - properties that affect shaping. The most important are the - text-flow direction (e.g., left-to-right, right-to-left, - top-to-bottom, or bottom-to-top), the script tag, and the - language tag. - - - - For input string buffers, flags are available to denote when the - buffer represents the beginning or end of a paragraph, to - indicate whether or not to visibly render Unicode Default - Ignorable codepoints, and to modify the cluster-merging - behavior for the buffer. For shaped output buffers, the - individual X and Y offsets and advances - (the logical dimensions) of each glyph are - accessible. HarfBuzz also flags glyphs as - UNSAFE_TO_BREAK if breaking the string at - that glyph (e.g., in a line-breaking or hyphenation process) - would require re-shaping the text. - - - - HarfBuzz also provides methods to compare the contents of - buffers, join buffers, normalize buffer contents, and handle - invalid codepoints, as well as to determine the state of a - buffer (e.g., input codepoints or output glyphs). Buffer - lifecycles are managed and all buffers are reference-counted. - - - - Although the default hb_shape() function is - sufficient for most use cases, a variant is also provided that - lets you specify which of HarfBuzz's shapers to use on a buffer. - - - - HarfBuzz can read TrueType fonts, TrueType collections, OpenType - fonts, and OpenType collections. Functions are provided to query - font objects about metrics, Unicode coverage, available tables and - features, and variation selectors. Individual glyphs can also be - queried for metrics, variations, and glyph names. OpenType - variable fonts are supported, and HarfBuzz allows you to set - variation-axis coordinates on font objects. - - - - HarfBuzz provides glue code to integrate with various other - libraries, including FreeType, GObject, and CoreText. Support - for integrating with Uniscribe and DirectWrite is experimental - at present. - -
- -
- Terminology - - - - - - - script - - - In text shaping, a script is a - writing system: a set of symbols, rules, and conventions - that is used to represent a language or multiple - languages. - - - In general computing lingo, the word "script" can also - be used to mean an executable program (usually one - written in a human-readable programming language). For - the sake of clarity, HarfBuzz documents will always use - more specific terminology when referring to this - meaning, such as "Python script" or "shell script." In - all other instances, "script" refers to a writing system. - - - For developers using HarfBuzz, it is important to note - the distinction between a script and a language. Most - scripts are used to write a variety of different - languages, and many languages may be written in more - than one script. - - - - - - shaper - - - In HarfBuzz, a shaper is a - handler for a specific script-shaping model. HarfBuzz - implements separate shapers for Indic, Arabic, Thai and - Lao, Khmer, Myanmar, Tibetan, Hangul, Hebrew, the - Universal Shaping Engine (USE), and a default shaper for - non-complex scripts. - - - - - - cluster - - - In text shaping, a cluster is a - sequence of codepoints that must be treated as an - indivisible unit. Clusters can include code-point - sequences that form a ligature or base-and-mark - sequences. Tracking and preserving clusters is important - when shaping operations might separate or reorder - code points. - - - HarfBuzz provides three cluster - levels that implement different - approaches to the problem of preserving clusters during - shaping operations. - - - - - - grapheme - - - In linguistics, a grapheme is one - of the indivisible units that make up a writing system or - script. Often, graphemes are individual symbols (letters, - numbers, punctuation marks, logograms, etc.) but, - depending on the writing system, a particular grapheme - might correspond to a sequence of several Unicode code - points. - - - In practice, HarfBuzz and other text-shaping engines - are not generally concerned with graphemes. However, it - is important for developers using HarfBuzz to recognize - that there is a difference between graphemes and shaping - clusters (see above). The two concepts may overlap - frequently, but there is no guarantee that they will be - identical. - - - - - - syllable - - - In linguistics, a syllable is an - a sequence of sounds that makes up a building block of a - particular language. Every language has its own set of - rules describing what constitutes a valid syllable. - - - For text-shaping purposes, the various definitions of - "syllable" are important because script-specific shaping - operations may be applied at the syllable level. For - example, a reordering rule might specify that a vowel - mark be reordered to the beginning of the syllable. - - - Syllables will consist of one or more Unicode code - points. The definition of a syllable for a particular - writing system might correspond to how HarfBuzz - identifies clusters (see above) for the same writing - system. However, it is important for developers using - HarfBuzz to recognize that there is a difference between - syllables and shaping clusters. The two concepts may - overlap frequently, but there is no guarantee that they - will be identical. - - - - - -
- - -
- A simple shaping example - - - Below is the simplest HarfBuzz shaping example possible. - - - - - Create a buffer and put your text in it. - - - - - #include <hb.h> - - hb_buffer_t *buf; - buf = hb_buffer_create(); - hb_buffer_add_utf8(buf, text, -1, 0, -1); - - - - - Set the script, language and direction of the buffer. - - - - - hb_buffer_set_direction(buf, HB_DIRECTION_LTR); - hb_buffer_set_script(buf, HB_SCRIPT_LATIN); - hb_buffer_set_language(buf, hb_language_from_string("en", -1)); - - - - - Create a face and a font from a font file. - - - - - hb_blob_t *blob = hb_blob_create_from_file(filename); /* or hb_blob_create_from_file_or_fail() */ - hb_face_t *face = hb_face_create(blob, 0); - hb_font_t *font = hb_font_create(face); - - - - - Shape! - - - - - hb_shape(font, buf, NULL, 0); - - - - - Get the glyph and position information. - - - - - unsigned int glyph_count; - hb_glyph_info_t *glyph_info = hb_buffer_get_glyph_infos(buf, &glyph_count); - hb_glyph_position_t *glyph_pos = hb_buffer_get_glyph_positions(buf, &glyph_count); - - - - - Iterate over each glyph. - - - - - hb_position_t cursor_x = 0; - hb_position_t cursor_y = 0; - for (unsigned int i = 0; i < glyph_count; i++) { - hb_codepoint_t glyphid = glyph_info[i].codepoint; - hb_position_t x_offset = glyph_pos[i].x_offset; - hb_position_t y_offset = glyph_pos[i].y_offset; - hb_position_t x_advance = glyph_pos[i].x_advance; - hb_position_t y_advance = glyph_pos[i].y_advance; - /* draw_glyph(glyphid, cursor_x + x_offset, cursor_y + y_offset); */ - cursor_x += x_advance; - cursor_y += y_advance; - } - - - - - Tidy up. - - - - - hb_buffer_destroy(buf); - hb_font_destroy(font); - hb_face_destroy(face); - hb_blob_destroy(blob); - - - - This example shows enough to get us started using HarfBuzz. In - the sections that follow, we will use the remainder of - HarfBuzz's API to refine and extend the example and improve its - text-shaping capabilities. - -
-
diff --git a/harfbuzz/docs/usermanual-glyph-information.xml b/harfbuzz/docs/usermanual-glyph-information.xml deleted file mode 100644 index 78f06c7..0000000 --- a/harfbuzz/docs/usermanual-glyph-information.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - -]> - - Glyph information - - Names and numbers - - - - diff --git a/harfbuzz/docs/usermanual-install-harfbuzz.xml b/harfbuzz/docs/usermanual-install-harfbuzz.xml deleted file mode 100644 index 760b9c5..0000000 --- a/harfbuzz/docs/usermanual-install-harfbuzz.xml +++ /dev/null @@ -1,349 +0,0 @@ - - - -]> - - Installing HarfBuzz - -
- Downloading HarfBuzz - - The HarfBuzz source code is hosted at github.com/harfbuzz/harfbuzz. - - - Tarball releases and Win32 binary bundles (which include the - libharfbuzz DLL, hb-view.exe, hb-shape.exe, and all - dependencies) of HarfBuzz can be downloaded from github.com/harfbuzz/harfbuzz/releases. - - - Release notes are posted with each new release to provide an - overview of the changes. The project tracks bug - reports and other issues on GitHub. Discussion and - questions are welcome on GitHub as well. - - - The API included in the hb.h file will not change in a - compatibility-breaking way in any release. However, other, - peripheral headers are more likely to go through minor - modifications. We will do our best to never change APIs in an - incompatible way. We will never break the ABI. - -
- -
- Building HarfBuzz - -
- Building on Linux - - (1) To build HarfBuzz on Linux, you must first install the - development packages for FreeType, Cairo, and GLib. The exact - commands required for this step will vary depending on - the Linux distribution you use. - - - For example, on an Ubuntu or Debian system, you would run: - sudo apt install gcc g++ libfreetype6-dev libglib2.0-dev libcairo2-dev - On Fedora, RHEL, CentOS, or other Red-Hat–based systems, you would run: - sudo yum install gcc gcc-c++ freetype-devel glib2-devel cairo-devel - - - - - (2) The next step depends on whether you - are building from the source in a downloaded release tarball or - from the source directly from the git repository. - - - (2)(a) If you downloaded the HarfBuzz - source code in a tarball, you can now extract the source. - - - From a shell in the top-level directory of the extracted source - code, you can run meson build followed by - meson compile -C build as with any other standard package. - - - This should leave you with a shared - library in the src/ directory, and a few - utility programs including hb-view and - hb-shape under the util/ - directory. - - - (2)(b) If you are building from the source in the HarfBuzz git - repository, rather than installing from a downloaded tarball - release, then you must install two more auxiliary tools before you - can build for the first time: pkg-config. - - - On Ubuntu or Debian, run: - sudo apt-get install meson pkg-config gtk-doc-tools - On Fedora, RHEL, CentOS, run: - sudo yum install meson pkgconfig gtk-doc - - - - With pkg-config installed, you can now run - meson build then - meson compile -C build to build HarfBuzz. - -
- - -
- Building on Windows - - - Install meson - and run (from the console) meson build (by default - bundled dependencies are not built, --wrap-mode=default - overrides this), then meson compile -C build to - build HarfBuzz. - -
- - -
- Building on macOS - - - There are two ways to build HarfBuzz on Mac systems: MacPorts - and Homebrew. The process is similar to the process used on a - Linux system. - - - (1) You must first install the - development packages for FreeType, Cairo, and GLib. If you are - using MacPorts, you should run: - sudo port install freetype glib2 cairo - - - If you are using Homebrew, you should run: - brew install freetype glib cairo - - - (2) The next step depends on whether you are building from the - source in a downloaded release tarball or from the source directly - from the git repository. - - - (2)(a) If you are installing HarfBuzz - from a downloaded tarball release, extract the tarball and - open a Terminal in the extracted source-code directory. Run: - meson build - followed by: - meson compile -C build - to build HarfBuzz. - - - (2)(b) Alternatively, if you are building - HarfBuzz from the source in the HarfBuzz git repository, then - you must install several built-time dependencies before - proceeding. - - If you are - using MacPorts, you should run: - sudo port install meson pkgconfig gtk-doc - to install the build dependencies. - - If you are using Homebrew, you should run: - brew install meson pkgconfig gtk-doc - Finally, you can run: - meson build - - - (3) You can now build HarfBuzz (on either - a MacPorts or a Homebrew system) by running: - meson build - followed by: - meson compile -C build - - - This should leave you with a shared - library in the src/ directory, and a few - utility programs including hb-view and - hb-shape under the util/ - directory. - - -
- -
- Configuration options - - - The instructions in the "Building HarfBuzz" section will build - the source code under its default configuration. If needed, - the following additional configuration options are available. - - - - - - -Dglib=enabled - - - Use GLib. (Default = auto) - - - This option enables or disables usage of the GLib - library. The default setting is to check for the - presence of GLib and, if it is found, build with - GLib support. GLib is native to GNU/Linux systems but is - available on other operating system as well. - - - - - - -Dgobject=enabled - - - Use GObject. (Default = no) - - - This option enables or disables usage of the GObject - library. The default setting is to check for the - presence of GObject and, if it is found, build with - GObject support. GObject is native to GNU/Linux systems but is - available on other operating system as well. - - - - - - -Dcairo=enabled - - - Use Cairo. (Default = auto) - - - This option enables or disables usage of the Cairo - graphics-rendering library. The default setting is to - check for the presence of Cairo and, if it is found, - build with Cairo support. - - - Note: Cairo is used only by the HarfBuzz - command-line utilities, and not by the HarfBuzz library. - - - - - - -Dicu=enabled - - - Use the ICU library. (Default = auto) - - - This option enables or disables usage of the - International Components for - Unicode (ICU) library, which provides access - to Unicode Character Database (UCD) properties as well - as normalization and conversion functions. The default - setting is to check for the presence of ICU and, if it - is found, build with ICU support. - - - - - - -Dgraphite=enabled - - - Use the Graphite2 library. (Default = no) - - - This option enables or disables usage of the Graphite2 - library, which provides support for the Graphite shaping - model. - - - - - - -Dfreetype=enabled - - - Use the FreeType library. (Default = auto) - - - This option enables or disables usage of the FreeType - font-rendering library. The default setting is to check for the - presence of FreeType and, if it is found, build with - FreeType support. - - - - - - -Dgdi=enabled - - - Use the Uniscribe - library (experimental). (Default = no) - - - This option enables or disables usage of the Uniscribe - font-rendering library. Uniscribe is available on - Windows systems. Uniscribe support is used only for - testing purposes and does not need to be enabled for - HarfBuzz to run on Windows systems. - - - - - - -Ddirectwrite=enabled - - - Use the DirectWrite library (experimental). (Default = no) - - - This option enables or disables usage of the DirectWrite - font-rendering library. DirectWrite is available on - Windows systems. DirectWrite support is used only for - testing purposes and does not need to be enabled for - HarfBuzz to run on Windows systems. - - - - - - -Dcoretext=enabled - - - Use the CoreText library. (Default = no) - - - This option enables or disables usage of the CoreText - library. CoreText is available on macOS and iOS systems. - - - - - - -Ddocs=enabled - - - Use GTK-Doc. (Default = no) - - - This option enables the building of the documentation. - - - - -
- -
-
diff --git a/harfbuzz/docs/usermanual-integration.xml b/harfbuzz/docs/usermanual-integration.xml deleted file mode 100644 index 78c9a0e..0000000 --- a/harfbuzz/docs/usermanual-integration.xml +++ /dev/null @@ -1,603 +0,0 @@ - - - -]> - - Platform Integration Guide - - HarfBuzz was first developed for use with the GNOME and GTK - software stack commonly found in desktop Linux - distributions. Nevertheless, it can be used on other operating - systems and platforms, from iOS and macOS to Windows. It can also - be used with other application frameworks and components, such as - Android, Qt, or application-specific widget libraries. - - - This chapter will look at how HarfBuzz fits into a typical - text-rendering pipeline, and will discuss the APIs available to - integrate HarfBuzz with contemporary Linux, Mac, and Windows - software. It will also show how HarfBuzz integrates with popular - external libraries like FreeType and International Components for - Unicode (ICU) and describe the HarfBuzz language bindings for - Python. - - - On a GNOME system, HarfBuzz is designed to tie in with several - other common system libraries. The most common architecture uses - Pango at the layer directly "above" HarfBuzz; Pango is responsible - for text segmentation and for ensuring that each input - hb_buffer_t passed to HarfBuzz for shaping contains - Unicode code points that share the same segment properties - (namely, direction, language, and script, but also higher-level - properties like the active font, font style, and so on). - - - The layer directly "below" HarfBuzz is typically FreeType, which - is used to rasterize glyph outlines at the necessary optical size, - hinting settings, and pixel resolution. FreeType provides APIs for - accessing font and face information, so HarfBuzz includes - functions to create hb_face_t and - hb_font_t objects directly from FreeType - objects. HarfBuzz can use FreeType's built-in functions for - font_funcs vtable in an hb_font_t. - - - FreeType's output is bitmaps of the rasterized glyphs; on a - typical Linux system these will then be drawn by a graphics - library like Cairo, but those details are beyond HarfBuzz's - control. On the other hand, at the top end of the stack, Pango is - part of the larger GNOME framework, and HarfBuzz does include APIs - for working with key components of GNOME's higher-level libraries - — most notably GLib. - - - For other operating systems or application frameworks, the - critical integration points are where HarfBuzz gets font and face - information about the font used for shaping and where HarfBuzz - gets Unicode data about the input-buffer code points. - - - The font and face information is necessary for text shaping - because HarfBuzz needs to retrieve the glyph indices for - particular code points, and to know the extents and advances of - glyphs. Note that, in an OpenType variable font, both of those - types of information can change with different variation-axis - settings. - - - The Unicode information is necessary for shaping because the - properties of a code point (such as its General Category (gc), - Canonical Combining Class (ccc), and decomposition) can directly - impact the shaping moves that HarfBuzz performs. - - -
- GNOME integration, GLib, and GObject - - As mentioned in the preceding section, HarfBuzz offers - integration APIs to help client programs using the - GNOME and GTK framework commonly found in desktop Linux - distributions. - - - GLib is the main utility library for GNOME applications. It - provides basic data types and conversions, file abstractions, - string manipulation, and macros, as well as facilities like - memory allocation and the main event loop. - - - Where text shaping is concerned, GLib provides several utilities - that HarfBuzz can take advantage of, including a set of - Unicode-data functions and a data type for script - information. Both are useful when working with HarfBuzz - buffers. To make use of them, you will need to include the - hb-glib.h header file. - - - GLib's Unicode - manipulation API includes all the functionality - necessary to retrieve Unicode data for the - unicode_funcs structure of a HarfBuzz - hb_buffer_t. - - - The function hb_glib_get_unicode_funcs() - sets up a hb_unicode_funcs_t structure configured - with the GLib Unicode functions and returns a pointer to it. - - - You can attach this Unicode-functions structure to your buffer, - and it will be ready for use with GLib: - - - #include <hb-glib.h> - ... - hb_unicode_funcs_t *glibufunctions; - glibufunctions = hb_glib_get_unicode_funcs(); - hb_buffer_set_unicode_funcs(buf, glibufunctions); - - - For script information, GLib uses the - GUnicodeScript type. Like HarfBuzz's own - hb_script_t, this data type is an enumeration - of Unicode scripts, but text segments passed in from GLib code - will be tagged with a GUnicodeScript. Therefore, - when setting the script property on a hb_buffer_t, - you will need to convert between the GUnicodeScript - of the input provided by GLib and HarfBuzz's - hb_script_t type. - - - The hb_glib_script_to_script() function - takes an GUnicodeScript script identifier as its - sole argument and returns the corresponding hb_script_t. - The hb_glib_script_from_script() does the - reverse, taking an hb_script_t and returning the - GUnicodeScript identifier for GLib. - - - Finally, GLib also provides a reference-counted object type called GBytes - that is used for accessing raw memory segments with the benefits - of GLib's lifecycle management. HarfBuzz provides a - hb_glib_blob_create() function that lets - you create an hb_blob_t directly from a - GBytes object. This function takes only the - GBytes object as its input; HarfBuzz registers the - GLib destroy callback automatically. - - - The GNOME platform also features an object system called - GObject. For HarfBuzz, the main advantage of GObject is a - feature called GObject - Introspection. This is a middleware facility that can be - used to generate language bindings for C libraries. HarfBuzz uses it - to build its Python bindings, which we will look at in a separate section. - -
- -
- FreeType integration - - FreeType is the free-software font-rendering engine included in - desktop Linux distributions, Android, ChromeOS, iOS, and multiple Unix - operating systems, and used by cross-platform programs like - Chrome, Java, and GhostScript. Used together, HarfBuzz can - perform shaping on Unicode text segments, outputting the glyph - IDs that FreeType should rasterize from the active font as well - as the positions at which those glyphs should be drawn. - - - HarfBuzz provides integration points with FreeType at the - face-object and font-object level and for the font-functions - virtual-method structure of a font object. To use the - FreeType-integration API, include the - hb-ft.h header. - - - In a typical client program, you will create your - hb_face_t face object and hb_font_t - font object from a FreeType FT_Face. HarfBuzz - provides a suite of functions for doing this. - - - In the most common case, you will want to use - hb_ft_font_create_referenced(), which - creates both an hb_face_t face object and - hb_font_t font object (linked to that face object), - and provides lifecycle management. - - - It is important to note, - though, that while HarfBuzz makes a distinction between its face and - font objects, FreeType's FT_Face does not. After - you create your FT_Face, you must set its size - parameter using FT_Set_Char_Size(), because - an hb_font_t is defined as an instance of an - hb_face_t with size specified. - - - #include <hb-ft.h> - ... - FT_New_Face(ft_library, font_path, index, &face); - FT_Set_Char_Size(face, 0, 1000, 0, 0); - hb_font_t *font = hb_ft_font_create(face); - - - hb_ft_font_create_referenced() is - the recommended function for creating an hb_face_t face - object. This function calls FT_Reference_Face() - before using the FT_Face and calls - FT_Done_Face() when it is finished using the - FT_Face. Consequently, your client program does not need - to worry about destroying the FT_Face while HarfBuzz - is still using it. - - - Although hb_ft_font_create_referenced() is - the recommended function, there is another variant for client code - where special circumstances make it necessary. The simpler - version of the function is hb_ft_font_create(), - which takes an FT_Face and an optional destroy callback - as its arguments. Because hb_ft_font_create() - does not offer lifecycle management, however, your client code will - be responsible for tracking references to the FT_Face - objects and destroying them when they are no longer needed. If you - do not have a valid reason for doing this, use - hb_ft_font_create_referenced(). - - - After you have created your font object from your - FT_Face, you can set or retrieve the - load_flags of the - FT_Face through the hb_font_t - object. HarfBuzz provides - hb_ft_font_set_load_flags() and - hb_ft_font_get_load_flags() for this - purpose. The ability to set the - load_flags through the font object - could be useful for enabling or disabling hinting, for example, - or to activate vertical layout. - - - HarfBuzz also provides a utility function called - hb_ft_font_has_changed() that you should - call whenever you have altered the properties of your underlying - FT_Face, as well as a - hb_ft_get_face() that you can call on an - hb_font_t font object to fetch its underlying FT_Face. - - - With an hb_face_t and hb_font_t both linked - to your FT_Face, you will typically also want to - use FreeType for the font_funcs - vtable of your hb_font_t. As a reminder, this - font-functions structure is the set of methods that HarfBuzz - will use to fetch important information from the font, such as - the advances and extents of individual glyphs. - - - All you need to do is call - - - hb_ft_font_set_funcs(font); - - - and HarfBuzz will use FreeType for the font-functions in - font. - - - As we noted above, an hb_font_t is derived from an - hb_face_t with size (and, perhaps, other - parameters, such as variation-axis coordinates) - specified. Consequently, you can reuse an hb_face_t - with several hb_font_t objects, and HarfBuzz - provides functions to simplify this. - - - The hb_ft_face_create_referenced() - function creates just an hb_face_t from a FreeType - FT_Face and, as with - hb_ft_font_create_referenced() above, - provides lifecycle management for the FT_Face. - - - Similarly, there is an hb_ft_face_create() - function variant that does not provide the lifecycle-management - feature. As with the font-object case, if you use this version - of the function, it will be your client code's respsonsibility - to track usage of the FT_Face objects. - - - A third variant of this function is - hb_ft_face_create_cached(), which is the - same as hb_ft_face_create() except that it - also uses the generic field of the - FT_Face structure to save a pointer to the newly - created hb_face_t. Subsequently, function calls - that pass the same FT_Face will get the same - hb_face_t returned — and the - hb_face_t will be correctly reference - counted. Still, as with - hb_ft_face_create(), your client code must - track references to the FT_Face itself, and destroy - it when it is unneeded. - -
- -
- Uniscribe integration - - If your client program is running on Windows, HarfBuzz offers - an additional API that can help integrate with Microsoft's - Uniscribe engine and the Windows GDI. - - - Overall, the Uniscribe API covers a broader set of typographic - layout functions than HarfBuzz implements, but HarfBuzz's - shaping API can serve as a drop-in replacement for Uniscribe's shaping - functionality. In fact, one of HarfBuzz's design goals is to - accurately reproduce the same output for shaping a given text - segment that Uniscribe produces — even to the point of - duplicating known shaping bugs or deviations from the - specification — so you can be confident that your users' - documents with their existing fonts will not be affected adversely by - switching to HarfBuzz. - - - At a basic level, HarfBuzz's hb_shape() - function replaces both the ScriptShape() - and ScriptPlace() - functions from Uniscribe. - - - However, whereas ScriptShape() returns the - glyphs and clusters for a shaped sequence and - ScriptPlace() returns the advances and - offsets for those glyphs, hb_shape() - handles both. After hb_shape() shapes a - buffer, the output glyph IDs and cluster IDs are returned as - an array of hb_glyph_info_t structures, and the - glyph advances and offsets are returned as an array of - hb_glyph_position_t structures. - - - Your client program only needs to ensure that it coverts - correctly between HarfBuzz's low-level data types (such as - hb_position_t) and Windows's corresponding types - (such as GOFFSET and ABC). Be sure you - read the - chapter for a full explanation of how HarfBuzz input buffers are - used, and see for the - details of what hb_shape() returns in the - output buffer when shaping is complete. - - - Although hb_shape() itself is functionally - equivalent to Uniscribe's shaping routines, there are two - additional HarfBuzz functions you may want to use to integrate - the libraries in your code. Both are used to link HarfBuzz font - objects to the equivalent Windows structures. - - - The hb_uniscribe_font_get_logfontw() - function takes a hb_font_t font object and returns - a pointer to the LOGFONTW - "logical font" that corresponds to it. A LOGFONTW - structure holds font-wide attributes, including metrics, size, - and style information. - - - - The hb_uniscribe_font_get_hfont() function - also takes a hb_font_t font object, but it returns - an HFONT — a handle to the underlying logical - font — instead. - - - LOGFONTWs and HFONTs are both needed - by other Uniscribe functions. - - - As a final note, you may notice a reference to an optional - uniscribe shaper back-end in the section of the HarfBuzz manual. This - option is not a Uniscribe-integration facility. - - - Instead, it is a internal code path used in the - hb-shape command-line utility, which hands - shaping functionality over to Uniscribe entirely, when run on a - Windows system. That allows testing HarfBuzz's native output - against the Uniscribe engine, for tracking compatibility and - debugging. - - - Because this back-end is only used when testing HarfBuzz - functionality, it is disabled by default when building the - HarfBuzz binaries. - -
- -
- Core Text integration - - If your client program is running on macOS or iOS, HarfBuzz offers - an additional API that can help integrate with Apple's - Core Text engine and the underlying Core Graphics - framework. HarfBuzz does not attempt to offer the same - drop-in-replacement functionality for Core Text that it strives - for with Uniscribe on Windows, but you can still use HarfBuzz - to perform text shaping in native macOS and iOS applications. - - - Note, though, that if your interest is just in using fonts that - contain Apple Advanced Typography (AAT) features, then you do - not need to add Core Text integration. HarfBuzz natively - supports AAT features and will shape AAT fonts (on any platform) - automatically, without requiring additional work on your - part. This includes support for AAT-specific TrueType tables - such as mort, morx, and - kerx, which AAT fonts use instead of - GSUB and GPOS. - - - On a macOS or iOS system, the primary integration points offered - by HarfBuzz are for face objects and font objects. - - - The Apple APIs offer a pair of data structures that map well to - HarfBuzz's face and font objects. The Core Graphics API, which - is slightly lower-level than Core Text, provides - CGFontRef, which enables access to typeface - properties, but does not include size information. Core Text's - CTFontRef is analagous to a HarfBuzz font object, - with all of the properties required to render text at a specific - size and configuration. - Consequently, a HarfBuzz hb_font_t font object can - be hooked up to a Core Text CTFontRef, and a HarfBuzz - hb_face_t face object can be hooked up to a - CGFontRef. - - - You can create a hb_face_t from a - CGFontRef by using the - hb_coretext_face_create(). Subsequently, - you can retrieve the CGFontRef from a - hb_face_t with hb_coretext_face_get_cg_font(). - - - Likewise, you create a hb_font_t from a - CTFontRef by calling - hb_coretext_font_create(), and you can - fetch the associated CTFontRef from a - hb_font_t font object with - hb_coretext_face_get_ct_font(). - - - HarfBuzz also offers a hb_font_set_ptem() - that you an use to set the nominal point size on any - hb_font_t font object. Core Text uses this value to - implement optical scaling. - - - When integrating your client code with Core Text, it is - important to recognize that Core Text points - are not typographic points (standardized at 72 per inch) as the - term is used elsewhere in OpenType. Instead, Core Text points - are CSS points, which are standardized at 96 per inch. - - - HarfBuzz's font functions take this distinction into account, - but it can be an easy detail to miss in cross-platform - code. - - - As a final note, you may notice a reference to an optional - coretext shaper back-end in the section of the HarfBuzz manual. This - option is not a Core Text-integration facility. - - - Instead, it is a internal code path used in the - hb-shape command-line utility, which hands - shaping functionality over to Core Text entirely, when run on a - macOS system. That allows testing HarfBuzz's native output - against the Core Text engine, for tracking compatibility and debugging. - - - Because this back-end is only used when testing HarfBuzz - functionality, it is disabled by default when building the - HarfBuzz binaries. - -
- -
- ICU integration - - Although HarfBuzz includes its own Unicode-data functions, it - also provides integration APIs for using the International - Components for Unicode (ICU) library as a source of Unicode data - on any supported platform. - - - The principal integration point with ICU is the - hb_unicode_funcs_t Unicode-functions structure - attached to a buffer. This structure holds the virtual methods - used for retrieving Unicode character properties, such as - General Category, Script, Combining Class, decomposition - mappings, and mirroring information. - - - To use ICU in your client program, you need to call - hb_icu_get_unicode_funcs(), which creates a - Unicode-functions structure populated with the ICU function for - each included method. Subsequently, you can attach the - Unicode-functions structure to your buffer: - - - hb_unicode_funcs_t *icufunctions; - icufunctions = hb_icu_get_unicode_funcs(); - hb_buffer_set_unicode_funcs(buf, icufunctions); - - - and ICU will be used for Unicode-data access. - - - HarfBuzz also supplies a pair of functions - (hb_icu_script_from_script() and - hb_icu_script_to_script()) for converting - between ICU's and HarfBuzz's internal enumerations of Unicode - scripts. The hb_icu_script_from_script() - function converts from a HarfBuzz hb_script_t to an - ICU UScriptCode. The - hb_icu_script_to_script() function does the - reverse: converting from a UScriptCode identifier - to a hb_script_t. - - - By default, HarfBuzz's ICU support is built as a separate shared - library (libharfbuzz-icu.so) - when compiling HarfBuzz from source. This allows client programs - that do not need ICU to link against HarfBuzz without unnecessarily - adding ICU as a dependency. You can also build HarfBuzz with ICU - support built directly into the main HarfBuzz shared library - (libharfbuzz.so), - by specifying the --with-icu=builtin - compile-time option. - - -
- -
- Python bindings - - As noted in the section, - HarfBuzz uses a feature called GObject - Introspection (GI) to provide bindings for Python. - - - At compile time, the GI scanner analyzes the HarfBuzz C source - and builds metadata objects connecting the language bindings to - the C library. Your Python code can then use the HarfBuzz binary - through its Python interface. - - - HarfBuzz's Python bindings support Python 2 and Python 3. To use - them, you will need to have the pygobject - package installed. Then you should import - HarfBuzz from - gi.repository: - - - from gi.repository import HarfBuzz - - - and you can call HarfBuzz functions from Python. Sample code can - be found in the sample.py script in the - HarfBuzz src directory. - - - Do note, however, that the Python API is subject to change - without advance notice. GI allows the bindings to be - automatically updated, which is one of its advantages, but you - may need to update your Python code. - -
- -
diff --git a/harfbuzz/docs/usermanual-object-model.xml b/harfbuzz/docs/usermanual-object-model.xml deleted file mode 100644 index 23065bf..0000000 --- a/harfbuzz/docs/usermanual-object-model.xml +++ /dev/null @@ -1,258 +0,0 @@ - - - -]> - - The HarfBuzz object model -
- An overview of data types in HarfBuzz - - HarfBuzz features two kinds of data types: non-opaque, - pass-by-value types and opaque, heap-allocated types. This kind - of separation is common in C libraries that have to provide - API/ABI compatibility (almost) indefinitely. - - - Value types: The non-opaque, pass-by-value - types include integer types, enums, and small structs. Exposing - a struct in the public API makes it impossible to expand the - struct in the future. As such, exposing structs is reserved for - cases where it’s extremely inefficient to do otherwise. - - - In HarfBuzz, several structs, like hb_glyph_info_t and - hb_glyph_position_t, fall into that efficiency-sensitive - category and are non-opaque. - - - For all non-opaque structs where future extensibility may be - necessary, reserved members are included to hold space for - possible future members. As such, it’s important to provide - equal(), and hash() - methods for such structs, allowing users of the API do - effectively deal with the type without having to - adapt their code to future changes. - - - Important value types provided by HarfBuzz include the structs - for working with Unicode code points, glyphs, and tags for font - tables and features, as well as the enums for many Unicode and - OpenType properties. - -
- -
- Objects in HarfBuzz - - Object types: Opaque struct types are used - for what HarfBuzz loosely calls "objects." This doesn’t have - much to do with the terminology from object-oriented programming - (OOP), although some of the concepts are similar. - - - In HarfBuzz, all object types provide certain - lifecycle-management APIs. Objects are reference-counted, and - constructed with various create() methods, referenced via - reference() and dereferenced using - destroy(). - - - For example, - the hb_buffer_t object has - hb_buffer_create() as its constructor, - hb_buffer_reference() to reference, and - hb_buffer_destroy() to dereference. - - - After construction, each object's properties are accessible only - through the setter and getter functions described in the API - Reference manual. - - - Key object types provided by HarfBuzz include: - - - - - blobs, which act as low-level wrappers around binary - data. Blobs are typically used to hold the contents of a - binary font file. - - - - - faces, which represent typefaces from a - font file, but without specific parameters (such as size) set. - - - - - fonts, which represent instances of a - face with all of their parameters specified. - - - - - buffers, which hold Unicode code points - for characters (before shaping) and the shaped glyph output - (after shaping). - - - - - shape plans, which store the settings - that HarfBuzz will use when shaping a particular text - segment. Shape plans are not generally used by client - programs directly, but as we will see in a later chapter, - they are still valuable to understand. - - - - -
- - - -
- Object lifecycle management - - Each object type in HarfBuzz provides a - create() method. Some object types provide - additional variants of create() to handle - special cases or to speed up common tasks; those variants are - documented in the API reference. For example, - hb_blob_create_from_file() constructs a new - blob directly from the contents of a file. - - - All objects are created with an initial reference count of - 1. Client programs can increase the reference - count on an object by calling its - reference() method. Whenever a client - program is finished with an object, it should call its - corresponding destroy() method. The destroy - method will decrease the reference count on the object and, - whenever the reference count reaches zero, it will also destroy - the object and free all of the associated memory. - - - All of HarfBuzz's object-lifecycle-management APIs are - thread-safe (unless you compiled HarfBuzz from source with the - HB_NO_MT configuration flag), even when the - object as a whole is not thread-safe. - It is also permissible to reference() or to - destroy() the NULL - value. - - - Some objects are thread-safe after they have been constructed - and set up. The general pattern is to - create() the object, make a few - set_*() calls to set up the - object, and then use it without further modification. - - - To ensure that such an object is not modified, client programs - can explicitly mark an object as immutable. HarfBuzz provides - make_immutable() methods to mark an object - as immutable and is_immutable() methods to - test whether or not an object is immutable. Attempts to use - setter functions on immutable objects will fail silently; see the API - Reference manual for specifics. - - - Note also that there are no "make mutable" methods. If client - programs need to alter an object previously marked as immutable, - they will need to make a duplicate of the original. - - - Finally, object constructors (and, indeed, as much of the - shaping API as possible) will never return - NULL. Instead, if there is an allocation - error, each constructor will return an “empty” object - singleton. - - - These empty-object singletons are inert and safe (although - typically useless) to pass around. This design choice avoids - having to check for NULL pointers all - throughout the code. - - - In addition, this “empty” object singleton can also be accessed - using the get_empty() method of the object - type in question. - -
- - -
- User data - - To better integrate with client programs, HarfBuzz's objects - offer a "user data" mechanism that can be used to attach - arbitrary data to the object. User-data attachment can be - useful for tying the lifecycles of various pieces of data - together, or for creating language bindings. - - - Each object type has a set_user_data() - method and a get_user_data() method. The - set_user_data() methods take a client-provided - key and a pointer, - user_data, pointing to the data itself. Once - the key-data pair has been attached to the object, the - get_user_data() method can be called with - the key, returning the user_data pointer. - - - The set_user_data() methods also support an - optional destroy callback. Client programs - can set the destroy callback and receive - notification from HarfBuzz whenever the object is destructed. - - - Finally, each set_user_data() method allows - the client program to set a replace Boolean - indicating whether or not the function call should replace any - existing user_data - associated with the specified key. - -
- - - -
- Blobs - - While most of HarfBuzz's object types are specific to the - shaping process, blobs are somewhat - different. - - - Blobs are an abstraction designed to negotiate lifecycle and - permissions for raw pieces of data. For example, when you load - the raw font data into memory and want to pass it to HarfBuzz, - you do so in a hb_blob_t wrapper. - - - This allows you to take advantage of HarffBuzz's - reference-counting and destroy - callbacks. If you allocated the memory for the data using - malloc(), you would create the blob using - - - hb_blob_create (data, length, HB_MEMORY_MODE_WRITABLE, data, free) - - - That way, HarfBuzz will call free() on the - allocated memory whenever the blob drops its last reference and - is deconstructed. Consequently, the user code can stop worrying - about freeing memory and let the reference-counting machinery - take care of that. - -
- -
diff --git a/harfbuzz/docs/usermanual-opentype-features.xml b/harfbuzz/docs/usermanual-opentype-features.xml deleted file mode 100644 index e9ea145..0000000 --- a/harfbuzz/docs/usermanual-opentype-features.xml +++ /dev/null @@ -1,336 +0,0 @@ - - - -]> - - Shaping and shape plans - - Once you have your face and font objects configured as desired and - your input buffer is filled with the characters you need to shape, - all you need to do is call hb_shape(). - - - HarfBuzz will return the shaped version of the text in the same - buffer that you provided, but it will be in output mode. At that - point, you can iterate through the glyphs in the buffer, drawing - each one at the specified position or handing them off to the - appropriate graphics library. - - - For the most part, HarfBuzz's shaping step is straightforward from - the outside. But that doesn't mean there will never be cases where - you want to look under the hood and see what is happening on the - inside. HarfBuzz provides facilities for doing that, too. - - -
- Shaping and buffer output - - The hb_shape() function call takes four arguments: the font - object to use, the buffer of characters to shape, an array of - user-specified features to apply, and the length of that feature - array. The feature array can be NULL, so for the sake of - simplicity we will start with that case. - - - Internally, HarfBuzz looks at the tables of the font file to - determine where glyph classes, substitutions, and positioning - are defined, using that information to decide which - shaper to use (ot for - OpenType fonts, aat for Apple Advanced - Typography fonts, and so on). It also looks at the direction, - script, and language properties of the segment to figure out - which script-specific shaping model is needed (at least, in - shapers that support multiple options). - - - If a font has a GDEF table, then that is used for - glyph classes; if not, HarfBuzz will fall back to Unicode - categorization by code point. If a font has an AAT morx table, - then it is used for substitutions; if not, but there is a GSUB - table, then the GSUB table is used. If the font has an AAT - kerx table, then it is used for positioning; if not, but - there is a GPOS table, then the GPOS table is used. If neither - table is found, but there is a kern table, then HarfBuzz will - use the kern table. If there is no kerx, no GPOS, and no - kern, HarfBuzz will fall back to positioning marks itself. - - - With a well-behaved OpenType font, you expect GDEF, GSUB, and - GPOS tables to all be applied. HarfBuzz implements the - script-specific shaping models in internal functions, rather - than in the public API. - - - The algorithms - used for complex scripts can be quite involved; HarfBuzz tries - to be compatible with the OpenType Layout specification - and, wherever there is any ambiguity, HarfBuzz attempts to replicate the - output of Microsoft's Uniscribe engine. See the Microsoft - Typography pages for more detail. - - - In general, though, all that you need to know is that - hb_shape() returns the results of shaping - in the same buffer that you provided. The buffer's content type - will now be set to - HB_BUFFER_CONTENT_TYPE_GLYPHS, indicating - that it contains shaped output, rather than input text. You can - now extract the glyph information and positioning arrays: - - - hb_glyph_info_t *glyph_info = hb_buffer_get_glyph_infos(buf, &glyph_count); - hb_glyph_position_t *glyph_pos = hb_buffer_get_glyph_positions(buf, &glyph_count); - - - The glyph information array holds a hb_glyph_info_t - for each output glyph, which has two fields: - codepoint and - cluster. Whereas, in the input buffer, - the codepoint field contained the Unicode - code point, it now contains the glyph ID of the corresponding - glyph in the font. The cluster field is - an integer that you can use to help identify when shaping has - reordered, split, or combined code points; we will say more - about that in the next chapter. - - - The glyph positions array holds a corresponding - hb_glyph_position_t for each output glyph, - containing four fields: x_advance, - y_advance, - x_offset, and - y_offset. The advances tell you how far - you need to move the drawing point after drawing this glyph, - depending on whether you are setting horizontal text (in which - case you will have x advances) or vertical text (for which you - will have y advances). The x and y offsets tell you where to - move to start drawing the glyph; usually you will have both and - x and a y offset, regardless of the text direction. - - - Most of the time, you will rely on a font-rendering library or - other graphics library to do the actual drawing of glyphs, so - you will need to iterate through the glyphs in the buffer and - pass the corresponding values off. - -
- -
- OpenType features - - OpenType features enable fonts to include smart behavior, - implemented as "lookup" rules stored in the GSUB and GPOS - tables. The OpenType specification defines a long list of - standard features that fonts can use for these behaviors; each - feature has a four-character reserved name and a well-defined - semantic meaning. - - - Some OpenType features are defined for the purpose of supporting - complex-script shaping, and are automatically activated, but - only when a buffer's script property is set to a script that the - feature supports. - - - Other features are more generic and can apply to several (or - any) script, and shaping engines are expected to implement - them. By default, HarfBuzz activates several of these features - on every text run. They include abvm, - blwm, ccmp, - locl, mark, - mkmk, and rlig. - - - In addition, if the text direction is horizontal, HarfBuzz - also applies the calt, - clig, curs, - dist, kern, - liga and rclt, features. - - - Additionally, when HarfBuzz encounters a fraction slash - (U+2044), it looks backward and forward for decimal - digits (Unicode General Category = Nd), and enables features - numr on the sequence before the fraction slash, - dnom on the sequence after the fraction slash, - and frac on the whole sequence including the fraction - slash. - - - Some script-specific shaping models - (see ) disable some of the - features listed above: - - - - - Hangul: calt - - - - - Indic: liga - - - - - Khmer: liga - - - - - If the text direction is vertical, HarfBuzz applies - the vert feature by default. - - - Still other features are designed to be purely optional and left - up to the application or the end user to enable or disable as desired. - - - You can adjust the set of features that HarfBuzz applies to a - buffer by supplying an array of hb_feature_t - features as the third argument to - hb_shape(). For a simple case, let's just - enable the dlig feature, which turns on any - "discretionary" ligatures in the font: - - - hb_feature_t userfeatures[1]; - userfeatures[0].tag = HB_TAG('d','l','i','g'); - userfeatures[0].value = 1; - userfeatures[0].start = HB_FEATURE_GLOBAL_START; - userfeatures[0].end = HB_FEATURE_GLOBAL_END; - - - HB_FEATURE_GLOBAL_END and - HB_FEATURE_GLOBAL_END are macros we can use - to indicate that the features will be applied to the entire - buffer. We could also have used a literal 0 - for the start and a -1 to indicate the end of - the buffer (or have selected other start and end positions, if needed). - - - When we pass the userfeatures array to - hb_shape(), any discretionary ligature - substitutions from our font that match the text in our buffer - will get performed: - - - hb_shape(font, buf, userfeatures, num_features); - - - Just like we enabled the dlig feature by - setting its value to - 1, you would disable a feature by setting its - value to 0. Some - features can take other value settings; - be sure you read the full specification of each feature tag to - understand what it does and how to control it. - -
- -
- Shaper selection - - The basic version of hb_shape() determines - its shaping strategy based on examining the capabilities of the - font file. OpenType font tables cause HarfBuzz to try the - ot shaper, while AAT font tables cause HarfBuzz to try the - aat shaper. - - - In the real world, however, a font might include some unusual - mix of tables, or one of the tables might simply be broken for - the script you need to shape. So, sometimes, you might not - want to rely on HarfBuzz's process for deciding what to do, and - just tell hb_shape() what you want it to try. - - - hb_shape_full() is an alternate shaping - function that lets you supply a list of shapers for HarfBuzz to - try, in order, when shaping your buffer. For example, if you - have determined that HarfBuzz's attempts to work around broken - tables gives you better results than the AAT shaper itself does, - you might move the AAT shaper to the end of your list of - preferences and call hb_shape_full() - - - char *shaperprefs[3] = {"ot", "default", "aat"}; - ... - hb_shape_full(font, buf, userfeatures, num_features, shaperprefs); - - - to get results you are happier with. - - - You may also want to call - hb_shape_list_shapers() to get a list of - the shapers that were built at compile time in your copy of HarfBuzz. - -
- -
- Plans and caching - - Internally, HarfBuzz uses a structure called a shape plan to - track its decisions about how to shape the contents of a - buffer. The hb_shape() function builds up the shape plan by - examining segment properties and by inspecting the contents of - the font. - - - This process can involve some decision-making and - trade-offs — for example, HarfBuzz inspects the GSUB and GPOS - lookups for the script and language tags set on the segment - properties, but it falls back on the lookups under the - DFLT tag (and sometimes other common tags) - if there are actually no lookups for the tag requested. - - - HarfBuzz also includes some work-arounds for - handling well-known older font conventions that do not follow - OpenType or Unicode specifications, for buggy system fonts, and for - peculiarities of Microsoft Uniscribe. All of that means that a - shape plan, while not something that you should edit directly in - client code, still might be an object that you want to - inspect. Furthermore, if resources are tight, you might want to - cache the shape plan that HarfBuzz builds for your buffer and - font, so that you do not have to rebuild it for every shaping call. - - - You can create a cacheable shape plan with - hb_shape_plan_create_cached(face, props, - user_features, num_user_features, shaper_list), where - face is a face object (not a font object, - notably), props is an - hb_segment_properties_t, - user_features is an array of - hb_feature_ts (with length - num_user_features), and - shaper_list is a list of shapers to try. - - - Shape plans are objects in HarfBuzz, so there are - reference-counting functions and user-data attachment functions - you can - use. hb_shape_plan_reference(shape_plan) - increases the reference count on a shape plan, while - hb_shape_plan_destroy(shape_plan) decreases - the reference count, destroying the shape plan when the last - reference is dropped. - - - You can attach user data to a shaper (with a key) using the - hb_shape_plan_set_user_data(shape_plan,key,data,destroy,replace) - function, optionally supplying a destroy - callback to use. You can then fetch the user data attached to a - shape plan with - hb_shape_plan_get_user_data(shape_plan, key). - -
- -
diff --git a/harfbuzz/docs/usermanual-shaping-concepts.xml b/harfbuzz/docs/usermanual-shaping-concepts.xml deleted file mode 100644 index db4e309..0000000 --- a/harfbuzz/docs/usermanual-shaping-concepts.xml +++ /dev/null @@ -1,375 +0,0 @@ - - - -]> - - Shaping concepts -
- Text shaping - - Text shaping is the process of transforming a sequence of Unicode - codepoints that represent individual characters (letters, - diacritics, tone marks, numbers, symbols, etc.) into the - orthographically and linguistically correct two-dimensional layout - of glyph shapes taken from a specified font. - - - For some writing systems (or scripts) and - languages, the process is simple, requiring the shaper to do - little more than advance the horizontal position forward by the - correct amount for each successive glyph. - - - But, for complex scripts, any combination of - several shaping operations may be required, and the rules for how - and when they are applied vary from script to script. HarfBuzz and - other shaping engines implement these rules. - - - The exact rules and necessary operations for a particular script - constitute a shaping model. OpenType - specifies a set of shaping models that covers all of - Unicode. Other shaping models are available, however, including - Graphite and Apple Advanced Typography (AAT). - -
- -
- Complex scripts - - In text-shaping terminology, scripts are generally classified as - either complex or non-complex. - - - Complex scripts are those for which transforming the input - sequence into the final layout requires some combination of - operations—such as context-dependent substitutions, - context-dependent mark positioning, glyph-to-glyph joining, - glyph reordering, or glyph stacking. - - - In some complex scripts, the shaping rules require that a text - run be divided into syllables before the operations can be - applied. Other complex scripts may apply shaping operations over - entire words or over the entire text run, with no subdivision - required. - - - Non-complex scripts, by definition, do not require these - operations. However, correctly shaping a text run in a - non-complex script may still involve Unicode normalization, - ligature substitutions, mark positioning, kerning, and applying - other font features. The key difference is that a text run in a - non-complex script can be processed sequentially and in the same - order as the input sequence of Unicode codepoints, without - requiring an analysis stage. - -
- -
- Shaping operations - - Shaping a complex-script text run involves transforming the - input sequence of Unicode codepoints with some combination of - operations that is specified in the shaping model for the - script. - - - The specific conditions that trigger a given operation for a - text run varies from script to script, as do the order that the - operations are performed in and which codepoints are - affected. However, the same general set of shaping operations is - common to all of the complex-script shaping models. - - - - - - A reordering operation moves a glyph - from its original ("logical") position in the sequence to - some other ("visual") position. - - - The shaping model for a given complex script might involve - more than one reordering step. - - - - - - A joining operation replaces a glyph - with an alternate form that is designed to connect with one - or more of the adjacent glyphs in the sequence. - - - - - - A contextual substitution operation - replaces either a single glyph or a subsequence of several - glyphs with an alternate glyph. This substitution is - performed when the original glyph or subsequence of glyphs - occurs in a specified position with respect to the - surrounding sequence. For example, one substitution might be - performed only when the target glyph is the first glyph in - the sequence, while another substitution is performed only - when a different target glyph occurs immediately after a - particular string pattern. - - - The shaping model for a given complex script might involve - multiple contextual-substitution operations, each applying - to different target glyphs and patterns, and which are - performed in separate steps. - - - - - - A contextual positioning operation - moves the horizontal and/or vertical position of a - glyph. This positioning move is performed when the glyph - occurs in a specified position with respect to the - surrounding sequence. - - - Many contextual positioning operations are used to place - mark glyphs (such as diacritics, vowel - signs, and tone markers) with respect to - base glyphs. However, some complex - scripts may use contextual positioning operations to - correctly place base glyphs as well, such as - when the script uses stacking characters. - - - - -
- -
- Unicode character categories - - Shaping models are typically specified with respect to how - scripts are defined in the Unicode standard. - - - Every codepoint in the Unicode Character Database (UCD) is - assigned a Unicode General Category (UGC), - which provides the most fundamental information about the - codepoint: whether the codepoint represents a - Letter, a Mark, a - Number, Punctuation, a - Symbol, a Separator, - or something else (Other). - - - These UGC properties are "Major" categories. Each codepoint is - further assigned to a "minor" category within its Major - category, such as "Letter, uppercase" (Lu) or - "Letter, modifier" (Lm). - - - Shaping models are concerned primarily with Letter and Mark - codepoints. The minor categories of Mark codepoints are - particularly important for shaping. Marks can be nonspacing - (Mn), spacing combining - (Mc), or enclosing (Me). - - - In addition to the UGC property, codepoints in the Indic and - Southeast Asian scripts are also assigned - Unicode Indic Syllabic Category (UISC) and - Unicode Indic Positional Category (UIPC) - properties that provide more detailed information needed for - shaping. - - - The UISC property sub-categorizes Letters and Marks according to - common script-shaping behaviors. For example, UISC distinguishes - between consonant letters, vowel letters, and vowel marks. The - UIPC property sub-categorizes Mark codepoints by the relative visual - position that they occupy (above, below, right, left, or in - multiple positions). - - - Some complex scripts require that the text run be split into - syllables. What constitutes a valid syllable in these - scripts is specified in regular expressions, formed from the - Letter and Mark codepoints, that take the UISC and UIPC - properties into account. - - -
- -
- Text runs - - Real-world text usually contains codepoints from a mixture of - different Unicode scripts (including punctuation, numbers, symbols, - white-space characters, and other codepoints that do not belong - to any script). Real-world text may also be marked up with - formatting that changes font properties (including the font, - font style, and font size). - - - For shaping purposes, all real-world text streams must be first - segmented into runs that have a uniform set of properties. - - - In particular, shaping models always assume that every codepoint - in a text run has the same direction, - script tag, and - language tag. - -
- -
- OpenType shaping models - - OpenType provides shaping models for the following scripts: - - - - - - The default shaping model handles all - non-complex scripts, and may also be used as a fallback for - handling unrecognized scripts. - - - - - - The Indic shaping model handles the Indic - scripts Bengali, Devanagari, Gujarati, Gurmukhi, Kannada, - Malayalam, Oriya, Tamil, Telugu, and Sinhala. - - - The Indic shaping model was revised significantly in - 2005. To denote the change, a new set of script - tags was assigned for Bengali, Devanagari, - Gujarati, Gurmukhi, Kannada, Malayalam, Oriya, Tamil, and - Telugu. For the sake of clarity, the term "Indic2" is - sometimes used to refer to the current, revised shaping - model. - - - - - - The Arabic shaping model supports - Arabic, Mongolian, N'Ko, Syriac, and several other connected - or cursive scripts. - - - - - - The Thai/Lao shaping model supports - the Thai and Lao scripts. - - - - - - The Khmer shaping model supports the - Khmer script. - - - - - - The Myanmar shaping model supports the - Myanmar (or Burmese) script. - - - - - - The Tibetan shaping model supports the - Tibetan script. - - - - - - The Hangul shaping model supports the - Hangul script. - - - - - - The Hebrew shaping model supports the - Hebrew script. - - - - - - The Universal Shaping Engine (USE) - shaping model supports complex scripts not covered by one of - the above, script-specific shaping models, including - Javanese, Balinese, Buginese, Batak, Chakma, Lepcha, Modi, - Phags-pa, Tagalog, Siddham, Sundanese, Tai Le, Tai Tham, Tai - Viet, and many others. - - - - - - Text runs that do not fall under one of the above shaping - models may still require processing by a shaping engine. Of - particular note is Emoji shaping, which - may involve variation-selector sequences and glyph - substitution. Emoji shaping is handled by the default - shaping model. - - - - - -
- -
- Graphite shaping - - In contrast to OpenType shaping, Graphite shaping does not - specify a predefined set of shaping models or a set of supported - scripts. - - - Instead, each Graphite font contains a complete set of rules that - implement the required shaping model for the intended - script. These rules include finite-state machines to match - sequences of codepoints to the shaping operations to perform. - - - Graphite shaping can perform the same shaping operations used in - OpenType shaping, as well as other functions that have not been - defined for OpenType shaping. - -
- -
- AAT shaping - - In contrast to OpenType shaping, AAT shaping does not specify a - predefined set of shaping models or a set of supported scripts. - - - Instead, each AAT font includes a complete set of rules that - implement the desired shaping model for the intended - script. These rules include finite-state machines to match glyph - sequences and the shaping operations to perform. - - - Notably, AAT shaping rules are expressed for glyphs in the font, - not for Unicode codepoints. AAT shaping can perform the same - shaping operations used in OpenType shaping, as well as other - functions that have not been defined for OpenType shaping. - -
-
diff --git a/harfbuzz/docs/usermanual-utilities.xml b/harfbuzz/docs/usermanual-utilities.xml deleted file mode 100644 index 0208dbf..0000000 --- a/harfbuzz/docs/usermanual-utilities.xml +++ /dev/null @@ -1,218 +0,0 @@ - - - -]> - - Utilities - - HarfBuzz includes several auxiliary components in addition to the - main APIs. These include a set of command-line tools, a set of - lower-level APIs for common data types that may be of interest to - client programs. - - -
- Command-line tools - - HarfBuzz include three command-line tools: - hb-shape, hb-view, and - hb-subset. They can be used to examine - HarfBuzz's functionality, debug font binaries, or explore the - various shaping models and features from a terminal. - - -
- hb-shape - - hb-shape allows you to run HarfBuzz's - hb_shape() function on an input string and - to examine the outcome, in human-readable form, as terminal - output. hb-shape does - not render the results of the shaping call - into rendered text (you can use hb-view, below, for - that). Instead, it prints out the final glyph indices and - positions, taking all shaping operations into account, as if the - input string were a HarfBuzz input buffer. - - - You can specify the font to be used for shaping and, with - command-line options, you can add various aspects of the - internal state to the output that is sent to the terminal. The - general format is - - - hb-shape [OPTIONS] - path/to/font/file.ttf - yourinputtext - - - The default output format is plain text (although JSON output - can be selected instead by specifying the option - --output-format=json). The default output - syntax reports each glyph name (or glyph index if there is no - name) followed by its cluster value, its horizontal and vertical - position displacement, and its horizontal and vertical advances. - - - Output options exist to skip any of these elements in the - output, and to include additional data, such as Unicode - code-point values, glyph extents, glyph flags, or interim - shaping results. - - - Output can also be redirected to a file, or input read from a - file. Additional options enable you to enable or disable - specific font features, to set variation-font axis values, to - alter the language, script, direction, and clustering settings - used, to enable sanity checks, or to change which shaping engine is used. - - - For a complete explanation of the options available, run - - - hb-shape --help - -
- -
- hb-view - - hb-view allows you to - see the shaped output of an input string in rendered - form. Like hb-shape, - hb-view takes a font file and a text string - as its arguments: - - - hb-view [OPTIONS] - path/to/font/file.ttf - yourinputtext - - - By default, hb-view renders the shaped - text in ASCII block-character images as terminal output. By - appending the - --output-file=filename - switch, you can write the output to a PNG, SVG, or PDF file - (among other formats). - - - As with hb-shape, a lengthy set of options - is available, with which you can enable or disable - specific font features, set variation-font axis values, - alter the language, script, direction, and clustering settings - used, enable sanity checks, or change which shaping engine is - used. - - - You can also set the foreground and background colors used for - the output, independently control the width of all four - margins, alter the line spacing, and annotate the output image - with - - - In general, hb-view is a quick way to - verify that the output of HarfBuzz's shaping operation looks - correct for a given text-and-font combination, but you may - want to use hb-shape to figure out exactly - why something does not appear as expected. - -
- -
- hb-subset - - hb-subset allows you - to generate a subset of a given font, with a limited set of - supported characters, features, and variation settings. - - - By default, you provide an input font and an input text string - as the arguments to hb-subset, and it will - generate a font that covers the input text exactly like the - input font does, but includes no other characters or features. - - - hb-subset [OPTIONS] - path/to/font/file.ttf - yourinputtext - - - For example, to create a subset of Noto Serif that just includes the - numerals and the lowercase Latin alphabet, you could run - - - hb-subset [OPTIONS] - NotoSerif-Regular.ttf - 0123456789abcdefghijklmnopqrstuvwxyz - - - There are options available to remove hinting from the - subsetted font and to specify a list of variation-axis settings. - -
- -
- -
- Common data types and APIs - - HarfBuzz includes several APIs for working with general-purpose - data that you may find convenient to leverage in your own - software. They include set operations and integer-to-integer - mapping operations. - - - HarfBuzz uses set operations for internal bookkeeping, such as - when it collects all of the glyph IDs covered by a particular - font feature. You can also use the set API to build sets, add - and remove elements, test whether or not sets contain particular - elements, or compute the unions, intersections, or differences - between sets. - - - All set elements are integers (specifically, - hb_codepoint_t 32-bit unsigned ints), and there are - functions for fetching the minimum and maximum element from a - set. The set API also includes some functions that might not - be part of a generic set facility, such as the ability to add a - contiguous range of integer elements to a set in bulk, and the - ability to fetch the next-smallest or next-largest element. - - - The HarfBuzz set API includes some conveniences as well. All - sets are lifecycle-managed, just like other HarfBuzz - objects. You increase the reference count on a set with - hb_set_reference() and decrease it with - hb_set_destroy(). You can also attach - user data to a set, just like you can to blobs, buffers, faces, - fonts, and other objects, and set destroy callbacks. - - - HarfBuzz also provides an API for keeping track of - integer-to-integer mappings. As with the set API, each integer is - stored as an unsigned 32-bit hb_codepoint_t - element. Maps, like other objects, are reference counted with - reference and destroy functions, and you can attach user data to - them. The mapping operations include adding and deleting - integer-to-integer key:value pairs to the map, testing for the - presence of a key, fetching the population of the map, and so on. - - - There are several other internal HarfBuzz facilities that are - exposed publicly and which you may want to take advantage of - while processing text. HarfBuzz uses a common - hb_tag_t for a variety of OpenType tag identifiers (for - scripts, languages, font features, table names, variation-axis - names, and more), and provides functions for converting strings - to tags and vice-versa. - - - Finally, HarfBuzz also includes data type for Booleans, bit - masks, and other simple types. - -
- -
diff --git a/harfbuzz/docs/usermanual-what-is-harfbuzz.xml b/harfbuzz/docs/usermanual-what-is-harfbuzz.xml deleted file mode 100644 index 4534783..0000000 --- a/harfbuzz/docs/usermanual-what-is-harfbuzz.xml +++ /dev/null @@ -1,442 +0,0 @@ - - - -]> - - What is HarfBuzz? - - HarfBuzz is a text-shaping engine. If you - give HarfBuzz a font and a string containing a sequence of Unicode - codepoints, HarfBuzz selects and positions the corresponding - glyphs from the font, applying all of the necessary layout rules - and font features. HarfBuzz then returns the string to you in the - form that is correctly arranged for the language and writing - system. - - - HarfBuzz can properly shape all of the world's major writing - systems. It runs on all major operating systems and software - platforms and it supports the major font formats in use - today. - -
- What is text shaping? - - Text shaping is the process of translating a string of character - codes (such as Unicode codepoints) into a properly arranged - sequence of glyphs that can be rendered onto a screen or into - final output form for inclusion in a document. - - - The shaping process is dependent on the input string, the active - font, the script (or writing system) that the string is in, and - the language that the string is in. - - - Modern software systems generally only deal with strings in the - Unicode encoding scheme (although legacy systems and documents may - involve other encodings). - - - There are several font formats that a program might - encounter, each of which has a set of standard text-shaping - rules. - - The dominant format is OpenType. The - OpenType specification defines a series of shaping models for - various scripts from around the world. These shaping models depend on - the font incorporating certain features as - lookups in its GSUB - and GPOS tables. - - - Alternatively, OpenType fonts can include shaping features for - the Graphite shaping model. - - - TrueType fonts can also include OpenType shaping - features. Alternatively, TrueType fonts can also include Apple - Advanced Typography (AAT) tables to implement shaping - support. AAT fonts are generally only found on macOS and iOS systems. - - - Text strings will usually be tagged with a script and language - tag that provide the context needed to perform text shaping - correctly. The necessary script - and language - tags are defined by OpenType. - -
- -
- Why do I need a shaping engine? - - Text shaping is an integral part of preparing text for - display. Before a Unicode sequence can be rendered, the - codepoints in the sequence must be mapped to the corresponding - glyphs provided in the font, and those glyphs must be positioned - correctly relative to each other. For many of the scripts - supported in Unicode, these steps involve script-specific layout - rules, including complex joining, reordering, and positioning - behavior. Implementing these rules is the job of the shaping engine. - - - Text shaping is a fairly low-level operation. HarfBuzz is - used directly by text-handling libraries like Pango, as well as by the layout - engines in Firefox, LibreOffice, and Chromium. Unless you are - writing one of these layout engines - yourself, you will probably not need to use HarfBuzz: normally, - a layout engine, toolkit, or other library will turn text into - glyphs for you. - - - However, if you are writing a layout engine - or graphics library yourself, then you will need to perform text - shaping, and this is where HarfBuzz can help you. - - - Here are some specific scenarios where a text-shaping engine - like HarfBuzz helps you: - - - - - OpenType fonts contain a set of glyphs (that is, shapes - to represent the letters, numbers, punctuation marks, and - all other symbols), which are indexed by a glyph ID. - - - A particular glyph ID within the font does not necessarily - correlate to a predictable Unicode codepoint. For instance, - some fonts have the letter "a" as glyph ID 1, but - many others do not. In order to retrieve the right glyph - from the font to display "a", you need to consult - the table inside the font (the cmap - table) that maps Unicode codepoints to glyph IDs. In other - words, text shaping turns codepoints into glyph - IDs. - - - - - Many OpenType fonts contain ligatures: combinations of - characters that are rendered as a single unit. For instance, - it is common for the "f, i" letter - sequence to appear in print as the single ligature glyph - "fi". - - - Whether you should render an "f, i" sequence - as fi or as "fi" does not - depend on the input text. Instead, it depends on the whether - or not the font includes an "fi" glyph and on the - level of ligature application you wish to perform. The font - and the amount of ligature application used are under your - control. In other words, text shaping involves - querying the font's ligature tables and determining what - substitutions should be made. - - - - - While ligatures like "fi" are optional typographic - refinements, some languages require certain - substitutions to be made in order to display text correctly. - - - For example, in Tamil, when the letter "TTA" (ட) - letter is followed by the vowel sign "U" (ு), the pair - must be replaced by the single glyph "டு". The - sequence of Unicode characters "ட,ு" needs to be - substituted with a single "டு" glyph from the - font. - - - But "டு" does not have a Unicode codepoint. To - find this glyph, you need to consult the table inside - the font (the GSUB table) that contains - substitution information. In other words, text shaping - chooses the correct glyph for a sequence of characters - provided. - - - - - Similarly, each Arabic character has four different variants - corresponding to the different positions it might appear in - within a sequence. Inside a font, there will be separate - glyphs for the initial, medial, final, and isolated forms of - each letter, each at a different glyph ID. - - - Unicode only assigns one codepoint per character, so a - Unicode string will not tell you which glyph variant to use - for each character. To decide, you need to analyze the whole - string and determine the appropriate glyph for each character - based on its position. In other words, text - shaping chooses the correct form of the letter by its - position and returns the correct glyph from the font. - - - - - Other languages involve marks and accents that need to be - rendered in specific positions relative a base character. For - instance, the Moldovan language includes the Cyrillic letter - "zhe" (ж) with a breve accent, like so: "ӂ". - - - Some fonts will provide this character as a single - zhe-with-breve glyph, but other fonts will not and, instead, - will expect the rendering engine to form the character by - superimposing the separate "ж" and "˘" - glyphs. - - - But exactly where you should draw the breve depends on the - height and width of the preceding zhe glyph. To find the - right position, you need to consult the table inside - the font (the GPOS table) that contains - positioning information. - In other words, text shaping tells you whether you - have a precomposed glyph within your font or if you need to - compose a glyph yourself out of combining marks—and, - if so, where to position those marks. - - - - - If tasks like these are something that you need to do, then you - need a text shaping engine. You could use Uniscribe if you are - writing Windows software; you could use CoreText on macOS; or - you could use HarfBuzz. - - - - In the rest of this manual, the text will assume that the reader - is that implementor of a text-layout engine. - - -
- - -
- What does HarfBuzz do? - - HarfBuzz provides text shaping through a cross-platform - C API that accepts sequences of Unicode codepoints as input. Currently, - the following OpenType shaping models are supported: - - - - - Indic (covering Devanagari, Bengali, Gujarati, - Gurmukhi, Kannada, Malayalam, Oriya, Tamil, Telugu, and - Sinhala) - - - - - Arabic (covering Arabic, N'Ko, Syriac, and Mongolian) - - - - - Thai and Lao - - - - - Khmer - - - - - Myanmar - - - - - - Tibetan - - - - - - Hangul - - - - - - Hebrew - - - - - The Universal Shaping Engine or USE - (covering complex scripts not covered by the above shaping - models) - - - - - A default shaping model for non-complex scripts - (covering Latin, Cyrillic, Greek, Armenian, Georgian, Tifinagh, - and many others) - - - - - Emoji (including emoji modifier sequences, flag sequences, - and ZWJ sequences) - - - - - - In addition to OpenType shaping, HarfBuzz supports the latest - version of Graphite shaping (the "Graphite 2" model) and AAT - shaping. - - - - HarfBuzz can read and understand TrueType fonts (.ttf), TrueType - collections (.ttc), and OpenType fonts (.otf, including those - fonts that contain TrueType-style outlines and those that - contain PostScript CFF or CFF2 outlines). - - - - HarfBuzz is designed and tested to run on top of the FreeType - font renderer. It can run on Linux, Android, Windows, macOS, and - iOS systems. - - - - In addition to its core shaping functionality, HarfBuzz provides - functions for accessing other font features, including optional - GSUB and GPOS OpenType features, as well as - all color-font formats (CBDT, - sbix, COLR/CPAL, and - SVG-OT) and OpenType variable fonts. HarfBuzz - also includes a font-subsetting feature. HarfBuzz can perform - some low-level math-shaping operations, although it does not - currently perform full shaping for mathematical typesetting. - - - - A suite of command-line utilities is also provided in the - source-code tree, designed to help users test and debug - HarfBuzz's features on real-world fonts and input. - -
- -
- What HarfBuzz doesn't do - - HarfBuzz will take a Unicode string, shape it, and give you the - information required to lay it out correctly on a single - horizontal (or vertical) line using the font provided. That is the - extent of HarfBuzz's responsibility. - - - It is important to note that if you are implementing a complete - text-layout engine you may have other responsibilities that - HarfBuzz will not help you with. For example: - - - - - HarfBuzz won't help you with bidirectionality. If you want to - lay out text that includes a mix of Hebrew and English, you - will need to ensure that each buffer provided to HarfBuzz - has all of its characters in the same order and that the - directionality of the buffer is set correctly. This may mean - segmenting the text before it is placed into HarfBuzz buffers. In - other words, the user will hit the keys in the following - sequence: - - - A B C [space] ג ב א [space] D E F - - - but will expect to see in the output: - - - ABC אבג DEF - - - This reordering is called bidi processing - ("bidi" is short for bidirectional), and there's an - algorithm as an annex to the Unicode Standard which tells you how - to process a string of mixed directionality. - Before sending your string to HarfBuzz, you may need to apply the - bidi algorithm to it. Libraries such as ICU and fribidi can do this for you. - - - - - HarfBuzz won't help you with text that contains different font - properties. For instance, if you have the string "a - huge breakfast", and you expect - "huge" to be italic, then you will need to send three - strings to HarfBuzz: a, in your Roman font; - huge using your italic font; and - breakfast using your Roman font again. - - - Similarly, if you change the font, font size, script, - language, or direction within your string, then you will - need to shape each run independently and output them - independently. HarfBuzz expects to shape a run of characters - that all share the same properties. - - - - - HarfBuzz won't help you with line breaking, hyphenation, or - justification. As mentioned above, HarfBuzz lays out the string - along a single line of, notionally, - infinite length. If you want to find out where the potential - word, sentence and line break points are in your text, you - could use the ICU library's break iterator functions. - - - HarfBuzz can tell you how wide a shaped piece of text is, which is - useful input to a justification algorithm, but it knows nothing - about paragraphs, lines or line lengths. Nor will it adjust the - space between words to fit them proportionally into a line. - - - - - As a layout-engine implementor, HarfBuzz will help you with the - interface between your text and your font, and that's something - that you'll need—what you then do with the glyphs that your font - returns is up to you. - -
- -
- Why is it called HarfBuzz? - - HarfBuzz began its life as text-shaping code within the FreeType - project (and you will see references to the FreeType authors - within the source code copyright declarations), but was then - extracted out to its own project. This project is maintained by - Behdad Esfahbod, who named it HarfBuzz. Originally, it was a - shaping engine for OpenType fonts—"HarfBuzz" is - the Persian for "open type". - -
-
diff --git a/harfbuzz/docs/version.xml b/harfbuzz/docs/version.xml deleted file mode 100644 index 944880f..0000000 --- a/harfbuzz/docs/version.xml +++ /dev/null @@ -1 +0,0 @@ -3.2.0 diff --git a/harfbuzz/docs/version.xml.in b/harfbuzz/docs/version.xml.in deleted file mode 100644 index de213c2..0000000 --- a/harfbuzz/docs/version.xml.in +++ /dev/null @@ -1 +0,0 @@ -@HB_VERSION@ diff --git a/harfbuzz/gtk-doc.make b/harfbuzz/gtk-doc.make deleted file mode 100644 index 7d9a27f..0000000 --- a/harfbuzz/gtk-doc.make +++ /dev/null @@ -1,321 +0,0 @@ -# -*- mode: makefile -*- -# -# gtk-doc.make - make rules for gtk-doc -# Copyright (C) 2003 James Henstridge -# 2004-2007 Damon Chaplin -# 2007-2017 Stefan Sauer -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . - -#################################### -# Everything below here is generic # -#################################### - -if GTK_DOC_USE_LIBTOOL -GTKDOC_CC = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(INCLUDES) $(GTKDOC_DEPS_CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -GTKDOC_LD = $(LIBTOOL) --tag=CC --mode=link $(CC) $(GTKDOC_DEPS_LIBS) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -GTKDOC_RUN = $(LIBTOOL) --mode=execute -else -GTKDOC_CC = $(CC) $(INCLUDES) $(GTKDOC_DEPS_CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -GTKDOC_LD = $(CC) $(GTKDOC_DEPS_LIBS) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -GTKDOC_RUN = -endif - -# We set GPATH here; this gives us semantics for GNU make -# which are more like other make's VPATH, when it comes to -# whether a source that is a target of one rule is then -# searched for in VPATH/GPATH. -# -GPATH = $(srcdir) - -TARGET_DIR=$(HTML_DIR)/$(DOC_MODULE) - -SETUP_FILES = \ - $(content_files) \ - $(expand_content_files) \ - $(DOC_MAIN_SGML_FILE) \ - $(DOC_MODULE)-sections.txt \ - $(DOC_MODULE)-overrides.txt - -EXTRA_DIST = \ - $(HTML_IMAGES) \ - $(SETUP_FILES) - -DOC_STAMPS=setup-build.stamp scan-build.stamp sgml-build.stamp \ - html-build.stamp pdf-build.stamp \ - sgml.stamp html.stamp pdf.stamp - -SCANOBJ_FILES = \ - $(DOC_MODULE).args \ - $(DOC_MODULE).hierarchy \ - $(DOC_MODULE).interfaces \ - $(DOC_MODULE).prerequisites \ - $(DOC_MODULE).signals - -REPORT_FILES = \ - $(DOC_MODULE)-undocumented.txt \ - $(DOC_MODULE)-undeclared.txt \ - $(DOC_MODULE)-unused.txt - -gtkdoc-check.test: Makefile - $(AM_V_GEN)echo "#!/bin/sh -e" > $@; \ - echo "$(GTKDOC_CHECK_PATH) || exit 1" >> $@; \ - chmod +x $@ - -CLEANFILES = $(SCANOBJ_FILES) $(REPORT_FILES) $(DOC_STAMPS) gtkdoc-check.test - -if GTK_DOC_BUILD_HTML -HTML_BUILD_STAMP=html-build.stamp -else -HTML_BUILD_STAMP= -endif -if GTK_DOC_BUILD_PDF -PDF_BUILD_STAMP=pdf-build.stamp -else -PDF_BUILD_STAMP= -endif - -all-gtk-doc: $(HTML_BUILD_STAMP) $(PDF_BUILD_STAMP) -.PHONY: all-gtk-doc - -if ENABLE_GTK_DOC -all-local: all-gtk-doc -endif - -docs: $(HTML_BUILD_STAMP) $(PDF_BUILD_STAMP) - -$(REPORT_FILES): sgml-build.stamp - -#### setup #### - -GTK_DOC_V_SETUP=$(GTK_DOC_V_SETUP_@AM_V@) -GTK_DOC_V_SETUP_=$(GTK_DOC_V_SETUP_@AM_DEFAULT_V@) -GTK_DOC_V_SETUP_0=@echo " DOC Preparing build"; - -setup-build.stamp: - -$(GTK_DOC_V_SETUP)if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \ - files=`echo $(SETUP_FILES) $(DOC_MODULE).types`; \ - if test "x$$files" != "x" ; then \ - for file in $$files ; do \ - destdir=`dirname $(abs_builddir)/$$file`; \ - test -d "$$destdir" || mkdir -p "$$destdir"; \ - test -f $(abs_srcdir)/$$file && \ - cp -pf $(abs_srcdir)/$$file $(abs_builddir)/$$file || true; \ - done; \ - fi; \ - fi - $(AM_V_at)touch setup-build.stamp - -#### scan #### - -GTK_DOC_V_SCAN=$(GTK_DOC_V_SCAN_@AM_V@) -GTK_DOC_V_SCAN_=$(GTK_DOC_V_SCAN_@AM_DEFAULT_V@) -GTK_DOC_V_SCAN_0=@echo " DOC Scanning header files"; - -GTK_DOC_V_INTROSPECT=$(GTK_DOC_V_INTROSPECT_@AM_V@) -GTK_DOC_V_INTROSPECT_=$(GTK_DOC_V_INTROSPECT_@AM_DEFAULT_V@) -GTK_DOC_V_INTROSPECT_0=@echo " DOC Introspecting gobjects"; - -scan-build.stamp: setup-build.stamp $(HFILE_GLOB) $(CFILE_GLOB) - $(GTK_DOC_V_SCAN)_source_dir='' ; \ - for i in $(DOC_SOURCE_DIR) ; do \ - _source_dir="$${_source_dir} --source-dir=$$i" ; \ - done ; \ - gtkdoc-scan --module=$(DOC_MODULE) --ignore-headers="$(IGNORE_HFILES)" $${_source_dir} $(SCAN_OPTIONS) $(EXTRA_HFILES) - $(GTK_DOC_V_INTROSPECT)if grep -l '^..*$$' $(DOC_MODULE).types > /dev/null 2>&1 ; then \ - scanobj_options=""; \ - gtkdoc-scangobj 2>&1 --help | grep >/dev/null "\-\-verbose"; \ - if test "$$?" = "0"; then \ - if test "x$(V)" = "x1"; then \ - scanobj_options="--verbose"; \ - fi; \ - fi; \ - CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" RUN="$(GTKDOC_RUN)" CFLAGS="$(GTKDOC_CFLAGS) $(CFLAGS)" LDFLAGS="$(GTKDOC_LIBS) $(LDFLAGS)" \ - gtkdoc-scangobj $(SCANGOBJ_OPTIONS) $$scanobj_options --module=$(DOC_MODULE); \ - else \ - for i in $(SCANOBJ_FILES) ; do \ - test -f $$i || touch $$i ; \ - done \ - fi - $(AM_V_at)touch scan-build.stamp - -$(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt: scan-build.stamp - @true - -#### xml #### - -GTK_DOC_V_XML=$(GTK_DOC_V_XML_@AM_V@) -GTK_DOC_V_XML_=$(GTK_DOC_V_XML_@AM_DEFAULT_V@) -GTK_DOC_V_XML_0=@echo " DOC Building XML"; - -sgml-build.stamp: setup-build.stamp $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(HFILE_GLOB) $(CFILE_GLOB) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt $(expand_content_files) xml/gtkdocentities.ent - $(GTK_DOC_V_XML)_source_dir='' ; \ - for i in $(DOC_SOURCE_DIR) ; do \ - _source_dir="$${_source_dir} --source-dir=$$i" ; \ - done ; \ - gtkdoc-mkdb --module=$(DOC_MODULE) --output-format=xml --expand-content-files="$(expand_content_files)" --main-sgml-file=$(DOC_MAIN_SGML_FILE) $${_source_dir} $(MKDB_OPTIONS) - $(AM_V_at)touch sgml-build.stamp - -sgml.stamp: sgml-build.stamp - @true - -$(DOC_MAIN_SGML_FILE): sgml-build.stamp - @true - -xml/gtkdocentities.ent: Makefile - $(GTK_DOC_V_XML)$(MKDIR_P) $(@D) && ( \ - echo ""; \ - echo ""; \ - echo ""; \ - echo ""; \ - echo ""; \ - echo ""; \ - echo ""; \ - ) > $@ - -#### html #### - -GTK_DOC_V_HTML=$(GTK_DOC_V_HTML_@AM_V@) -GTK_DOC_V_HTML_=$(GTK_DOC_V_HTML_@AM_DEFAULT_V@) -GTK_DOC_V_HTML_0=@echo " DOC Building HTML"; - -GTK_DOC_V_XREF=$(GTK_DOC_V_XREF_@AM_V@) -GTK_DOC_V_XREF_=$(GTK_DOC_V_XREF_@AM_DEFAULT_V@) -GTK_DOC_V_XREF_0=@echo " DOC Fixing cross-references"; - -html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files) $(expand_content_files) - $(GTK_DOC_V_HTML)rm -rf html && mkdir html && \ - mkhtml_options=""; \ - gtkdoc-mkhtml 2>&1 --help | grep >/dev/null "\-\-verbose"; \ - if test "$$?" = "0"; then \ - if test "x$(V)" = "x1"; then \ - mkhtml_options="$$mkhtml_options --verbose"; \ - fi; \ - fi; \ - gtkdoc-mkhtml 2>&1 --help | grep >/dev/null "\-\-path"; \ - if test "$$?" = "0"; then \ - mkhtml_options="$$mkhtml_options --path=\"$(abs_srcdir)\""; \ - fi; \ - cd html && gtkdoc-mkhtml $$mkhtml_options $(MKHTML_OPTIONS) $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE) - -@test "x$(HTML_IMAGES)" = "x" || \ - for file in $(HTML_IMAGES) ; do \ - test -f $(abs_srcdir)/$$file && cp $(abs_srcdir)/$$file $(abs_builddir)/html; \ - test -f $(abs_builddir)/$$file && cp $(abs_builddir)/$$file $(abs_builddir)/html; \ - test -f $$file && cp $$file $(abs_builddir)/html; \ - done; - $(GTK_DOC_V_XREF)gtkdoc-fixxref --module=$(DOC_MODULE) --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS) - $(AM_V_at)touch html-build.stamp - -#### pdf #### - -GTK_DOC_V_PDF=$(GTK_DOC_V_PDF_@AM_V@) -GTK_DOC_V_PDF_=$(GTK_DOC_V_PDF_@AM_DEFAULT_V@) -GTK_DOC_V_PDF_0=@echo " DOC Building PDF"; - -pdf-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files) $(expand_content_files) - $(GTK_DOC_V_PDF)rm -f $(DOC_MODULE).pdf && \ - mkpdf_options=""; \ - gtkdoc-mkpdf 2>&1 --help | grep >/dev/null "\-\-verbose"; \ - if test "$$?" = "0"; then \ - if test "x$(V)" = "x1"; then \ - mkpdf_options="$$mkpdf_options --verbose"; \ - fi; \ - fi; \ - if test "x$(HTML_IMAGES)" != "x"; then \ - for img in $(HTML_IMAGES); do \ - part=`dirname $$img`; \ - echo $$mkpdf_options | grep >/dev/null "\-\-imgdir=$$part "; \ - if test $$? != 0; then \ - mkpdf_options="$$mkpdf_options --imgdir=$$part"; \ - fi; \ - done; \ - fi; \ - gtkdoc-mkpdf --path="$(abs_srcdir)" $$mkpdf_options $(DOC_MODULE) $(DOC_MAIN_SGML_FILE) $(MKPDF_OPTIONS) - $(AM_V_at)touch pdf-build.stamp - -############## - -clean-local: - @rm -f *~ *.bak - @rm -rf .libs - @if echo $(SCAN_OPTIONS) | grep -q "\-\-rebuild-types" ; then \ - rm -f $(DOC_MODULE).types; \ - fi - @if echo $(SCAN_OPTIONS) | grep -q "\-\-rebuild-sections" ; then \ - rm -f $(DOC_MODULE)-sections.txt; \ - fi - -distclean-local: - @rm -rf xml html $(REPORT_FILES) $(DOC_MODULE).pdf \ - $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt - @if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \ - rm -f $(SETUP_FILES) $(DOC_MODULE).types; \ - fi - -maintainer-clean-local: - @rm -rf xml html - -install-data-local: - @installfiles=`echo $(builddir)/html/*`; \ - if test "$$installfiles" = '$(builddir)/html/*'; \ - then echo 1>&2 'Nothing to install' ; \ - else \ - if test -n "$(DOC_MODULE_VERSION)"; then \ - installdir="$(DESTDIR)$(TARGET_DIR)-$(DOC_MODULE_VERSION)"; \ - else \ - installdir="$(DESTDIR)$(TARGET_DIR)"; \ - fi; \ - $(mkinstalldirs) $${installdir} ; \ - for i in $$installfiles; do \ - echo ' $(INSTALL_DATA) '$$i ; \ - $(INSTALL_DATA) $$i $${installdir}; \ - done; \ - if test -n "$(DOC_MODULE_VERSION)"; then \ - mv -f $${installdir}/$(DOC_MODULE).devhelp2 \ - $${installdir}/$(DOC_MODULE)-$(DOC_MODULE_VERSION).devhelp2; \ - fi; \ - $(GTKDOC_REBASE) --relative --dest-dir=$(DESTDIR) --html-dir=$${installdir}; \ - fi - -uninstall-local: - @if test -n "$(DOC_MODULE_VERSION)"; then \ - installdir="$(DESTDIR)$(TARGET_DIR)-$(DOC_MODULE_VERSION)"; \ - else \ - installdir="$(DESTDIR)$(TARGET_DIR)"; \ - fi; \ - rm -rf $${installdir} - -# -# Require gtk-doc when making dist -# -if HAVE_GTK_DOC -dist-check-gtkdoc: docs -else -dist-check-gtkdoc: - @echo "*** gtk-doc is needed to run 'make dist'. ***" - @echo "*** gtk-doc was not found when 'configure' ran. ***" - @echo "*** please install gtk-doc and rerun 'configure'. ***" - @false -endif - -dist-hook: dist-check-gtkdoc all-gtk-doc dist-hook-local - @mkdir $(distdir)/html - @cp ./html/* $(distdir)/html - @-cp ./$(DOC_MODULE).pdf $(distdir)/ - @-cp ./$(DOC_MODULE).types $(distdir)/ - @-cp ./$(DOC_MODULE)-sections.txt $(distdir)/ - @cd $(distdir) && rm -f $(DISTCLEANFILES) - @$(GTKDOC_REBASE) --online --relative --html-dir=$(distdir)/html - -.PHONY : dist-hook-local docs diff --git a/harfbuzz/harfbuzz.doap b/harfbuzz/harfbuzz.doap deleted file mode 100644 index 0769969..0000000 --- a/harfbuzz/harfbuzz.doap +++ /dev/null @@ -1,24 +0,0 @@ - - - harfbuzz - Text shaping library - - - - - - - - - Behdad Esfahbod - - - - diff --git a/harfbuzz/install-sh b/harfbuzz/install-sh deleted file mode 100755 index 8175c64..0000000 --- a/harfbuzz/install-sh +++ /dev/null @@ -1,518 +0,0 @@ -#!/bin/sh -# install - install a program, script, or datafile - -scriptversion=2018-03-11.20; # UTC - -# This originates from X11R5 (mit/util/scripts/install.sh), which was -# later released in X11R6 (xc/config/util/install.sh) with the -# following copyright and license. -# -# Copyright (C) 1994 X Consortium -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to -# deal in the Software without restriction, including without limitation the -# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -# sell copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN -# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- -# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -# -# Except as contained in this notice, the name of the X Consortium shall not -# be used in advertising or otherwise to promote the sale, use or other deal- -# ings in this Software without prior written authorization from the X Consor- -# tium. -# -# -# FSF changes to this file are in the public domain. -# -# Calling this script install-sh is preferred over install.sh, to prevent -# 'make' implicit rules from creating a file called install from it -# when there is no Makefile. -# -# This script is compatible with the BSD install script, but was written -# from scratch. - -tab=' ' -nl=' -' -IFS=" $tab$nl" - -# Set DOITPROG to "echo" to test this script. - -doit=${DOITPROG-} -doit_exec=${doit:-exec} - -# Put in absolute file names if you don't have them in your path; -# or use environment vars. - -chgrpprog=${CHGRPPROG-chgrp} -chmodprog=${CHMODPROG-chmod} -chownprog=${CHOWNPROG-chown} -cmpprog=${CMPPROG-cmp} -cpprog=${CPPROG-cp} -mkdirprog=${MKDIRPROG-mkdir} -mvprog=${MVPROG-mv} -rmprog=${RMPROG-rm} -stripprog=${STRIPPROG-strip} - -posix_mkdir= - -# Desired mode of installed file. -mode=0755 - -chgrpcmd= -chmodcmd=$chmodprog -chowncmd= -mvcmd=$mvprog -rmcmd="$rmprog -f" -stripcmd= - -src= -dst= -dir_arg= -dst_arg= - -copy_on_change=false -is_target_a_directory=possibly - -usage="\ -Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE - or: $0 [OPTION]... SRCFILES... DIRECTORY - or: $0 [OPTION]... -t DIRECTORY SRCFILES... - or: $0 [OPTION]... -d DIRECTORIES... - -In the 1st form, copy SRCFILE to DSTFILE. -In the 2nd and 3rd, copy all SRCFILES to DIRECTORY. -In the 4th, create DIRECTORIES. - -Options: - --help display this help and exit. - --version display version info and exit. - - -c (ignored) - -C install only if different (preserve the last data modification time) - -d create directories instead of installing files. - -g GROUP $chgrpprog installed files to GROUP. - -m MODE $chmodprog installed files to MODE. - -o USER $chownprog installed files to USER. - -s $stripprog installed files. - -t DIRECTORY install into DIRECTORY. - -T report an error if DSTFILE is a directory. - -Environment variables override the default commands: - CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG - RMPROG STRIPPROG -" - -while test $# -ne 0; do - case $1 in - -c) ;; - - -C) copy_on_change=true;; - - -d) dir_arg=true;; - - -g) chgrpcmd="$chgrpprog $2" - shift;; - - --help) echo "$usage"; exit $?;; - - -m) mode=$2 - case $mode in - *' '* | *"$tab"* | *"$nl"* | *'*'* | *'?'* | *'['*) - echo "$0: invalid mode: $mode" >&2 - exit 1;; - esac - shift;; - - -o) chowncmd="$chownprog $2" - shift;; - - -s) stripcmd=$stripprog;; - - -t) - is_target_a_directory=always - dst_arg=$2 - # Protect names problematic for 'test' and other utilities. - case $dst_arg in - -* | [=\(\)!]) dst_arg=./$dst_arg;; - esac - shift;; - - -T) is_target_a_directory=never;; - - --version) echo "$0 $scriptversion"; exit $?;; - - --) shift - break;; - - -*) echo "$0: invalid option: $1" >&2 - exit 1;; - - *) break;; - esac - shift -done - -# We allow the use of options -d and -T together, by making -d -# take the precedence; this is for compatibility with GNU install. - -if test -n "$dir_arg"; then - if test -n "$dst_arg"; then - echo "$0: target directory not allowed when installing a directory." >&2 - exit 1 - fi -fi - -if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then - # When -d is used, all remaining arguments are directories to create. - # When -t is used, the destination is already specified. - # Otherwise, the last argument is the destination. Remove it from $@. - for arg - do - if test -n "$dst_arg"; then - # $@ is not empty: it contains at least $arg. - set fnord "$@" "$dst_arg" - shift # fnord - fi - shift # arg - dst_arg=$arg - # Protect names problematic for 'test' and other utilities. - case $dst_arg in - -* | [=\(\)!]) dst_arg=./$dst_arg;; - esac - done -fi - -if test $# -eq 0; then - if test -z "$dir_arg"; then - echo "$0: no input file specified." >&2 - exit 1 - fi - # It's OK to call 'install-sh -d' without argument. - # This can happen when creating conditional directories. - exit 0 -fi - -if test -z "$dir_arg"; then - if test $# -gt 1 || test "$is_target_a_directory" = always; then - if test ! -d "$dst_arg"; then - echo "$0: $dst_arg: Is not a directory." >&2 - exit 1 - fi - fi -fi - -if test -z "$dir_arg"; then - do_exit='(exit $ret); exit $ret' - trap "ret=129; $do_exit" 1 - trap "ret=130; $do_exit" 2 - trap "ret=141; $do_exit" 13 - trap "ret=143; $do_exit" 15 - - # Set umask so as not to create temps with too-generous modes. - # However, 'strip' requires both read and write access to temps. - case $mode in - # Optimize common cases. - *644) cp_umask=133;; - *755) cp_umask=22;; - - *[0-7]) - if test -z "$stripcmd"; then - u_plus_rw= - else - u_plus_rw='% 200' - fi - cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;; - *) - if test -z "$stripcmd"; then - u_plus_rw= - else - u_plus_rw=,u+rw - fi - cp_umask=$mode$u_plus_rw;; - esac -fi - -for src -do - # Protect names problematic for 'test' and other utilities. - case $src in - -* | [=\(\)!]) src=./$src;; - esac - - if test -n "$dir_arg"; then - dst=$src - dstdir=$dst - test -d "$dstdir" - dstdir_status=$? - else - - # Waiting for this to be detected by the "$cpprog $src $dsttmp" command - # might cause directories to be created, which would be especially bad - # if $src (and thus $dsttmp) contains '*'. - if test ! -f "$src" && test ! -d "$src"; then - echo "$0: $src does not exist." >&2 - exit 1 - fi - - if test -z "$dst_arg"; then - echo "$0: no destination specified." >&2 - exit 1 - fi - dst=$dst_arg - - # If destination is a directory, append the input filename. - if test -d "$dst"; then - if test "$is_target_a_directory" = never; then - echo "$0: $dst_arg: Is a directory" >&2 - exit 1 - fi - dstdir=$dst - dstbase=`basename "$src"` - case $dst in - */) dst=$dst$dstbase;; - *) dst=$dst/$dstbase;; - esac - dstdir_status=0 - else - dstdir=`dirname "$dst"` - test -d "$dstdir" - dstdir_status=$? - fi - fi - - case $dstdir in - */) dstdirslash=$dstdir;; - *) dstdirslash=$dstdir/;; - esac - - obsolete_mkdir_used=false - - if test $dstdir_status != 0; then - case $posix_mkdir in - '') - # Create intermediate dirs using mode 755 as modified by the umask. - # This is like FreeBSD 'install' as of 1997-10-28. - umask=`umask` - case $stripcmd.$umask in - # Optimize common cases. - *[2367][2367]) mkdir_umask=$umask;; - .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;; - - *[0-7]) - mkdir_umask=`expr $umask + 22 \ - - $umask % 100 % 40 + $umask % 20 \ - - $umask % 10 % 4 + $umask % 2 - `;; - *) mkdir_umask=$umask,go-w;; - esac - - # With -d, create the new directory with the user-specified mode. - # Otherwise, rely on $mkdir_umask. - if test -n "$dir_arg"; then - mkdir_mode=-m$mode - else - mkdir_mode= - fi - - posix_mkdir=false - case $umask in - *[123567][0-7][0-7]) - # POSIX mkdir -p sets u+wx bits regardless of umask, which - # is incompatible with FreeBSD 'install' when (umask & 300) != 0. - ;; - *) - # Note that $RANDOM variable is not portable (e.g. dash); Use it - # here however when possible just to lower collision chance. - tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ - - trap 'ret=$?; rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null; exit $ret' 0 - - # Because "mkdir -p" follows existing symlinks and we likely work - # directly in world-writeable /tmp, make sure that the '$tmpdir' - # directory is successfully created first before we actually test - # 'mkdir -p' feature. - if (umask $mkdir_umask && - $mkdirprog $mkdir_mode "$tmpdir" && - exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1 - then - if test -z "$dir_arg" || { - # Check for POSIX incompatibilities with -m. - # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or - # other-writable bit of parent directory when it shouldn't. - # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. - test_tmpdir="$tmpdir/a" - ls_ld_tmpdir=`ls -ld "$test_tmpdir"` - case $ls_ld_tmpdir in - d????-?r-*) different_mode=700;; - d????-?--*) different_mode=755;; - *) false;; - esac && - $mkdirprog -m$different_mode -p -- "$test_tmpdir" && { - ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"` - test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" - } - } - then posix_mkdir=: - fi - rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" - else - # Remove any dirs left behind by ancient mkdir implementations. - rmdir ./$mkdir_mode ./-p ./-- "$tmpdir" 2>/dev/null - fi - trap '' 0;; - esac;; - esac - - if - $posix_mkdir && ( - umask $mkdir_umask && - $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" - ) - then : - else - - # The umask is ridiculous, or mkdir does not conform to POSIX, - # or it failed possibly due to a race condition. Create the - # directory the slow way, step by step, checking for races as we go. - - case $dstdir in - /*) prefix='/';; - [-=\(\)!]*) prefix='./';; - *) prefix='';; - esac - - oIFS=$IFS - IFS=/ - set -f - set fnord $dstdir - shift - set +f - IFS=$oIFS - - prefixes= - - for d - do - test X"$d" = X && continue - - prefix=$prefix$d - if test -d "$prefix"; then - prefixes= - else - if $posix_mkdir; then - (umask=$mkdir_umask && - $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break - # Don't fail if two instances are running concurrently. - test -d "$prefix" || exit 1 - else - case $prefix in - *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;; - *) qprefix=$prefix;; - esac - prefixes="$prefixes '$qprefix'" - fi - fi - prefix=$prefix/ - done - - if test -n "$prefixes"; then - # Don't fail if two instances are running concurrently. - (umask $mkdir_umask && - eval "\$doit_exec \$mkdirprog $prefixes") || - test -d "$dstdir" || exit 1 - obsolete_mkdir_used=true - fi - fi - fi - - if test -n "$dir_arg"; then - { test -z "$chowncmd" || $doit $chowncmd "$dst"; } && - { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } && - { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false || - test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1 - else - - # Make a couple of temp file names in the proper directory. - dsttmp=${dstdirslash}_inst.$$_ - rmtmp=${dstdirslash}_rm.$$_ - - # Trap to clean up those temp files at exit. - trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 - - # Copy the file name to the temp name. - (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") && - - # and set any options; do chmod last to preserve setuid bits. - # - # If any of these fail, we abort the whole thing. If we want to - # ignore errors from any of these, just make sure not to ignore - # errors from the above "$doit $cpprog $src $dsttmp" command. - # - { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } && - { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } && - { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } && - { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } && - - # If -C, don't bother to copy if it wouldn't change the file. - if $copy_on_change && - old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` && - new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` && - set -f && - set X $old && old=:$2:$4:$5:$6 && - set X $new && new=:$2:$4:$5:$6 && - set +f && - test "$old" = "$new" && - $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1 - then - rm -f "$dsttmp" - else - # Rename the file to the real destination. - $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null || - - # The rename failed, perhaps because mv can't rename something else - # to itself, or perhaps because mv is so ancient that it does not - # support -f. - { - # Now remove or move aside any old file at destination location. - # We try this two ways since rm can't unlink itself on some - # systems and the destination file might be busy for other - # reasons. In this case, the final cleanup might fail but the new - # file should still install successfully. - { - test ! -f "$dst" || - $doit $rmcmd -f "$dst" 2>/dev/null || - { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null && - { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; } - } || - { echo "$0: cannot unlink or rename $dst" >&2 - (exit 1); exit 1 - } - } && - - # Now rename the file to the real destination. - $doit $mvcmd "$dsttmp" "$dst" - } - fi || exit 1 - - trap '' 0 - fi -done - -# Local variables: -# eval: (add-hook 'before-save-hook 'time-stamp) -# time-stamp-start: "scriptversion=" -# time-stamp-format: "%:y-%02m-%02d.%02H" -# time-stamp-time-zone: "UTC0" -# time-stamp-end: "; # UTC" -# End: diff --git a/harfbuzz/ltmain.sh b/harfbuzz/ltmain.sh deleted file mode 100644 index 0cb7f90..0000000 --- a/harfbuzz/ltmain.sh +++ /dev/null @@ -1,11251 +0,0 @@ -#! /bin/sh -## DO NOT EDIT - This file generated from ./build-aux/ltmain.in -## by inline-source v2014-01-03.01 - -# libtool (GNU libtool) 2.4.6 -# Provide generalized library-building support services. -# Written by Gordon Matzigkeit , 1996 - -# Copyright (C) 1996-2015 Free Software Foundation, Inc. -# This is free software; see the source for copying conditions. There is NO -# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - -# GNU Libtool is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# As a special exception to the GNU General Public License, -# if you distribute this file as part of a program or library that -# is built using GNU Libtool, you may include this file under the -# same distribution terms that you use for the rest of that program. -# -# GNU Libtool is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . - - -PROGRAM=libtool -PACKAGE=libtool -VERSION="2.4.6 Debian-2.4.6-14" -package_revision=2.4.6 - - -## ------ ## -## Usage. ## -## ------ ## - -# Run './libtool --help' for help with using this script from the -# command line. - - -## ------------------------------- ## -## User overridable command paths. ## -## ------------------------------- ## - -# After configure completes, it has a better idea of some of the -# shell tools we need than the defaults used by the functions shared -# with bootstrap, so set those here where they can still be over- -# ridden by the user, but otherwise take precedence. - -: ${AUTOCONF="autoconf"} -: ${AUTOMAKE="automake"} - - -## -------------------------- ## -## Source external libraries. ## -## -------------------------- ## - -# Much of our low-level functionality needs to be sourced from external -# libraries, which are installed to $pkgauxdir. - -# Set a version string for this script. -scriptversion=2015-01-20.17; # UTC - -# General shell script boiler plate, and helper functions. -# Written by Gary V. Vaughan, 2004 - -# Copyright (C) 2004-2015 Free Software Foundation, Inc. -# This is free software; see the source for copying conditions. There is NO -# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 3 of the License, or -# (at your option) any later version. - -# As a special exception to the GNU General Public License, if you distribute -# this file as part of a program or library that is built using GNU Libtool, -# you may include this file under the same distribution terms that you use -# for the rest of that program. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNES FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . - -# Please report bugs or propose patches to gary@gnu.org. - - -## ------ ## -## Usage. ## -## ------ ## - -# Evaluate this file near the top of your script to gain access to -# the functions and variables defined here: -# -# . `echo "$0" | ${SED-sed} 's|[^/]*$||'`/build-aux/funclib.sh -# -# If you need to override any of the default environment variable -# settings, do that before evaluating this file. - - -## -------------------- ## -## Shell normalisation. ## -## -------------------- ## - -# Some shells need a little help to be as Bourne compatible as possible. -# Before doing anything else, make sure all that help has been provided! - -DUALCASE=1; export DUALCASE # for MKS sh -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : - emulate sh - NULLCMD=: - # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which - # is contrary to our usage. Disable this feature. - alias -g '${1+"$@"}'='"$@"' - setopt NO_GLOB_SUBST -else - case `(set -o) 2>/dev/null` in *posix*) set -o posix ;; esac -fi - -# NLS nuisances: We save the old values in case they are required later. -_G_user_locale= -_G_safe_locale= -for _G_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES -do - eval "if test set = \"\${$_G_var+set}\"; then - save_$_G_var=\$$_G_var - $_G_var=C - export $_G_var - _G_user_locale=\"$_G_var=\\\$save_\$_G_var; \$_G_user_locale\" - _G_safe_locale=\"$_G_var=C; \$_G_safe_locale\" - fi" -done - -# CDPATH. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH - -# Make sure IFS has a sensible default -sp=' ' -nl=' -' -IFS="$sp $nl" - -# There are apparently some retarded systems that use ';' as a PATH separator! -if test "${PATH_SEPARATOR+set}" != set; then - PATH_SEPARATOR=: - (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { - (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || - PATH_SEPARATOR=';' - } -fi - - - -## ------------------------- ## -## Locate command utilities. ## -## ------------------------- ## - - -# func_executable_p FILE -# ---------------------- -# Check that FILE is an executable regular file. -func_executable_p () -{ - test -f "$1" && test -x "$1" -} - - -# func_path_progs PROGS_LIST CHECK_FUNC [PATH] -# -------------------------------------------- -# Search for either a program that responds to --version with output -# containing "GNU", or else returned by CHECK_FUNC otherwise, by -# trying all the directories in PATH with each of the elements of -# PROGS_LIST. -# -# CHECK_FUNC should accept the path to a candidate program, and -# set $func_check_prog_result if it truncates its output less than -# $_G_path_prog_max characters. -func_path_progs () -{ - _G_progs_list=$1 - _G_check_func=$2 - _G_PATH=${3-"$PATH"} - - _G_path_prog_max=0 - _G_path_prog_found=false - _G_save_IFS=$IFS; IFS=${PATH_SEPARATOR-:} - for _G_dir in $_G_PATH; do - IFS=$_G_save_IFS - test -z "$_G_dir" && _G_dir=. - for _G_prog_name in $_G_progs_list; do - for _exeext in '' .EXE; do - _G_path_prog=$_G_dir/$_G_prog_name$_exeext - func_executable_p "$_G_path_prog" || continue - case `"$_G_path_prog" --version 2>&1` in - *GNU*) func_path_progs_result=$_G_path_prog _G_path_prog_found=: ;; - *) $_G_check_func $_G_path_prog - func_path_progs_result=$func_check_prog_result - ;; - esac - $_G_path_prog_found && break 3 - done - done - done - IFS=$_G_save_IFS - test -z "$func_path_progs_result" && { - echo "no acceptable sed could be found in \$PATH" >&2 - exit 1 - } -} - - -# We want to be able to use the functions in this file before configure -# has figured out where the best binaries are kept, which means we have -# to search for them ourselves - except when the results are already set -# where we skip the searches. - -# Unless the user overrides by setting SED, search the path for either GNU -# sed, or the sed that truncates its output the least. -test -z "$SED" && { - _G_sed_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ - for _G_i in 1 2 3 4 5 6 7; do - _G_sed_script=$_G_sed_script$nl$_G_sed_script - done - echo "$_G_sed_script" 2>/dev/null | sed 99q >conftest.sed - _G_sed_script= - - func_check_prog_sed () - { - _G_path_prog=$1 - - _G_count=0 - printf 0123456789 >conftest.in - while : - do - cat conftest.in conftest.in >conftest.tmp - mv conftest.tmp conftest.in - cp conftest.in conftest.nl - echo '' >> conftest.nl - "$_G_path_prog" -f conftest.sed conftest.out 2>/dev/null || break - diff conftest.out conftest.nl >/dev/null 2>&1 || break - _G_count=`expr $_G_count + 1` - if test "$_G_count" -gt "$_G_path_prog_max"; then - # Best one so far, save it but keep looking for a better one - func_check_prog_result=$_G_path_prog - _G_path_prog_max=$_G_count - fi - # 10*(2^10) chars as input seems more than enough - test 10 -lt "$_G_count" && break - done - rm -f conftest.in conftest.tmp conftest.nl conftest.out - } - - func_path_progs "sed gsed" func_check_prog_sed $PATH:/usr/xpg4/bin - rm -f conftest.sed - SED=$func_path_progs_result -} - - -# Unless the user overrides by setting GREP, search the path for either GNU -# grep, or the grep that truncates its output the least. -test -z "$GREP" && { - func_check_prog_grep () - { - _G_path_prog=$1 - - _G_count=0 - _G_path_prog_max=0 - printf 0123456789 >conftest.in - while : - do - cat conftest.in conftest.in >conftest.tmp - mv conftest.tmp conftest.in - cp conftest.in conftest.nl - echo 'GREP' >> conftest.nl - "$_G_path_prog" -e 'GREP$' -e '-(cannot match)-' conftest.out 2>/dev/null || break - diff conftest.out conftest.nl >/dev/null 2>&1 || break - _G_count=`expr $_G_count + 1` - if test "$_G_count" -gt "$_G_path_prog_max"; then - # Best one so far, save it but keep looking for a better one - func_check_prog_result=$_G_path_prog - _G_path_prog_max=$_G_count - fi - # 10*(2^10) chars as input seems more than enough - test 10 -lt "$_G_count" && break - done - rm -f conftest.in conftest.tmp conftest.nl conftest.out - } - - func_path_progs "grep ggrep" func_check_prog_grep $PATH:/usr/xpg4/bin - GREP=$func_path_progs_result -} - - -## ------------------------------- ## -## User overridable command paths. ## -## ------------------------------- ## - -# All uppercase variable names are used for environment variables. These -# variables can be overridden by the user before calling a script that -# uses them if a suitable command of that name is not already available -# in the command search PATH. - -: ${CP="cp -f"} -: ${ECHO="printf %s\n"} -: ${EGREP="$GREP -E"} -: ${FGREP="$GREP -F"} -: ${LN_S="ln -s"} -: ${MAKE="make"} -: ${MKDIR="mkdir"} -: ${MV="mv -f"} -: ${RM="rm -f"} -: ${SHELL="${CONFIG_SHELL-/bin/sh}"} - - -## -------------------- ## -## Useful sed snippets. ## -## -------------------- ## - -sed_dirname='s|/[^/]*$||' -sed_basename='s|^.*/||' - -# Sed substitution that helps us do robust quoting. It backslashifies -# metacharacters that are still active within double-quoted strings. -sed_quote_subst='s|\([`"$\\]\)|\\\1|g' - -# Same as above, but do not quote variable references. -sed_double_quote_subst='s/\(["`\\]\)/\\\1/g' - -# Sed substitution that turns a string into a regex matching for the -# string literally. -sed_make_literal_regex='s|[].[^$\\*\/]|\\&|g' - -# Sed substitution that converts a w32 file name or path -# that contains forward slashes, into one that contains -# (escaped) backslashes. A very naive implementation. -sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g' - -# Re-'\' parameter expansions in output of sed_double_quote_subst that -# were '\'-ed in input to the same. If an odd number of '\' preceded a -# '$' in input to sed_double_quote_subst, that '$' was protected from -# expansion. Since each input '\' is now two '\'s, look for any number -# of runs of four '\'s followed by two '\'s and then a '$'. '\' that '$'. -_G_bs='\\' -_G_bs2='\\\\' -_G_bs4='\\\\\\\\' -_G_dollar='\$' -sed_double_backslash="\ - s/$_G_bs4/&\\ -/g - s/^$_G_bs2$_G_dollar/$_G_bs&/ - s/\\([^$_G_bs]\\)$_G_bs2$_G_dollar/\\1$_G_bs2$_G_bs$_G_dollar/g - s/\n//g" - - -## ----------------- ## -## Global variables. ## -## ----------------- ## - -# Except for the global variables explicitly listed below, the following -# functions in the '^func_' namespace, and the '^require_' namespace -# variables initialised in the 'Resource management' section, sourcing -# this file will not pollute your global namespace with anything -# else. There's no portable way to scope variables in Bourne shell -# though, so actually running these functions will sometimes place -# results into a variable named after the function, and often use -# temporary variables in the '^_G_' namespace. If you are careful to -# avoid using those namespaces casually in your sourcing script, things -# should continue to work as you expect. And, of course, you can freely -# overwrite any of the functions or variables defined here before -# calling anything to customize them. - -EXIT_SUCCESS=0 -EXIT_FAILURE=1 -EXIT_MISMATCH=63 # $? = 63 is used to indicate version mismatch to missing. -EXIT_SKIP=77 # $? = 77 is used to indicate a skipped test to automake. - -# Allow overriding, eg assuming that you follow the convention of -# putting '$debug_cmd' at the start of all your functions, you can get -# bash to show function call trace with: -# -# debug_cmd='echo "${FUNCNAME[0]} $*" >&2' bash your-script-name -debug_cmd=${debug_cmd-":"} -exit_cmd=: - -# By convention, finish your script with: -# -# exit $exit_status -# -# so that you can set exit_status to non-zero if you want to indicate -# something went wrong during execution without actually bailing out at -# the point of failure. -exit_status=$EXIT_SUCCESS - -# Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh -# is ksh but when the shell is invoked as "sh" and the current value of -# the _XPG environment variable is not equal to 1 (one), the special -# positional parameter $0, within a function call, is the name of the -# function. -progpath=$0 - -# The name of this program. -progname=`$ECHO "$progpath" |$SED "$sed_basename"` - -# Make sure we have an absolute progpath for reexecution: -case $progpath in - [\\/]*|[A-Za-z]:\\*) ;; - *[\\/]*) - progdir=`$ECHO "$progpath" |$SED "$sed_dirname"` - progdir=`cd "$progdir" && pwd` - progpath=$progdir/$progname - ;; - *) - _G_IFS=$IFS - IFS=${PATH_SEPARATOR-:} - for progdir in $PATH; do - IFS=$_G_IFS - test -x "$progdir/$progname" && break - done - IFS=$_G_IFS - test -n "$progdir" || progdir=`pwd` - progpath=$progdir/$progname - ;; -esac - - -## ----------------- ## -## Standard options. ## -## ----------------- ## - -# The following options affect the operation of the functions defined -# below, and should be set appropriately depending on run-time para- -# meters passed on the command line. - -opt_dry_run=false -opt_quiet=false -opt_verbose=false - -# Categories 'all' and 'none' are always available. Append any others -# you will pass as the first argument to func_warning from your own -# code. -warning_categories= - -# By default, display warnings according to 'opt_warning_types'. Set -# 'warning_func' to ':' to elide all warnings, or func_fatal_error to -# treat the next displayed warning as a fatal error. -warning_func=func_warn_and_continue - -# Set to 'all' to display all warnings, 'none' to suppress all -# warnings, or a space delimited list of some subset of -# 'warning_categories' to display only the listed warnings. -opt_warning_types=all - - -## -------------------- ## -## Resource management. ## -## -------------------- ## - -# This section contains definitions for functions that each ensure a -# particular resource (a file, or a non-empty configuration variable for -# example) is available, and if appropriate to extract default values -# from pertinent package files. Call them using their associated -# 'require_*' variable to ensure that they are executed, at most, once. -# -# It's entirely deliberate that calling these functions can set -# variables that don't obey the namespace limitations obeyed by the rest -# of this file, in order that that they be as useful as possible to -# callers. - - -# require_term_colors -# ------------------- -# Allow display of bold text on terminals that support it. -require_term_colors=func_require_term_colors -func_require_term_colors () -{ - $debug_cmd - - test -t 1 && { - # COLORTERM and USE_ANSI_COLORS environment variables take - # precedence, because most terminfo databases neglect to describe - # whether color sequences are supported. - test -n "${COLORTERM+set}" && : ${USE_ANSI_COLORS="1"} - - if test 1 = "$USE_ANSI_COLORS"; then - # Standard ANSI escape sequences - tc_reset='' - tc_bold=''; tc_standout='' - tc_red=''; tc_green='' - tc_blue=''; tc_cyan='' - else - # Otherwise trust the terminfo database after all. - test -n "`tput sgr0 2>/dev/null`" && { - tc_reset=`tput sgr0` - test -n "`tput bold 2>/dev/null`" && tc_bold=`tput bold` - tc_standout=$tc_bold - test -n "`tput smso 2>/dev/null`" && tc_standout=`tput smso` - test -n "`tput setaf 1 2>/dev/null`" && tc_red=`tput setaf 1` - test -n "`tput setaf 2 2>/dev/null`" && tc_green=`tput setaf 2` - test -n "`tput setaf 4 2>/dev/null`" && tc_blue=`tput setaf 4` - test -n "`tput setaf 5 2>/dev/null`" && tc_cyan=`tput setaf 5` - } - fi - } - - require_term_colors=: -} - - -## ----------------- ## -## Function library. ## -## ----------------- ## - -# This section contains a variety of useful functions to call in your -# scripts. Take note of the portable wrappers for features provided by -# some modern shells, which will fall back to slower equivalents on -# less featureful shells. - - -# func_append VAR VALUE -# --------------------- -# Append VALUE onto the existing contents of VAR. - - # We should try to minimise forks, especially on Windows where they are - # unreasonably slow, so skip the feature probes when bash or zsh are - # being used: - if test set = "${BASH_VERSION+set}${ZSH_VERSION+set}"; then - : ${_G_HAVE_ARITH_OP="yes"} - : ${_G_HAVE_XSI_OPS="yes"} - # The += operator was introduced in bash 3.1 - case $BASH_VERSION in - [12].* | 3.0 | 3.0*) ;; - *) - : ${_G_HAVE_PLUSEQ_OP="yes"} - ;; - esac - fi - - # _G_HAVE_PLUSEQ_OP - # Can be empty, in which case the shell is probed, "yes" if += is - # useable or anything else if it does not work. - test -z "$_G_HAVE_PLUSEQ_OP" \ - && (eval 'x=a; x+=" b"; test "a b" = "$x"') 2>/dev/null \ - && _G_HAVE_PLUSEQ_OP=yes - -if test yes = "$_G_HAVE_PLUSEQ_OP" -then - # This is an XSI compatible shell, allowing a faster implementation... - eval 'func_append () - { - $debug_cmd - - eval "$1+=\$2" - }' -else - # ...otherwise fall back to using expr, which is often a shell builtin. - func_append () - { - $debug_cmd - - eval "$1=\$$1\$2" - } -fi - - -# func_append_quoted VAR VALUE -# ---------------------------- -# Quote VALUE and append to the end of shell variable VAR, separated -# by a space. -if test yes = "$_G_HAVE_PLUSEQ_OP"; then - eval 'func_append_quoted () - { - $debug_cmd - - func_quote_for_eval "$2" - eval "$1+=\\ \$func_quote_for_eval_result" - }' -else - func_append_quoted () - { - $debug_cmd - - func_quote_for_eval "$2" - eval "$1=\$$1\\ \$func_quote_for_eval_result" - } -fi - - -# func_append_uniq VAR VALUE -# -------------------------- -# Append unique VALUE onto the existing contents of VAR, assuming -# entries are delimited by the first character of VALUE. For example: -# -# func_append_uniq options " --another-option option-argument" -# -# will only append to $options if " --another-option option-argument " -# is not already present somewhere in $options already (note spaces at -# each end implied by leading space in second argument). -func_append_uniq () -{ - $debug_cmd - - eval _G_current_value='`$ECHO $'$1'`' - _G_delim=`expr "$2" : '\(.\)'` - - case $_G_delim$_G_current_value$_G_delim in - *"$2$_G_delim"*) ;; - *) func_append "$@" ;; - esac -} - - -# func_arith TERM... -# ------------------ -# Set func_arith_result to the result of evaluating TERMs. - test -z "$_G_HAVE_ARITH_OP" \ - && (eval 'test 2 = $(( 1 + 1 ))') 2>/dev/null \ - && _G_HAVE_ARITH_OP=yes - -if test yes = "$_G_HAVE_ARITH_OP"; then - eval 'func_arith () - { - $debug_cmd - - func_arith_result=$(( $* )) - }' -else - func_arith () - { - $debug_cmd - - func_arith_result=`expr "$@"` - } -fi - - -# func_basename FILE -# ------------------ -# Set func_basename_result to FILE with everything up to and including -# the last / stripped. -if test yes = "$_G_HAVE_XSI_OPS"; then - # If this shell supports suffix pattern removal, then use it to avoid - # forking. Hide the definitions single quotes in case the shell chokes - # on unsupported syntax... - _b='func_basename_result=${1##*/}' - _d='case $1 in - */*) func_dirname_result=${1%/*}$2 ;; - * ) func_dirname_result=$3 ;; - esac' - -else - # ...otherwise fall back to using sed. - _b='func_basename_result=`$ECHO "$1" |$SED "$sed_basename"`' - _d='func_dirname_result=`$ECHO "$1" |$SED "$sed_dirname"` - if test "X$func_dirname_result" = "X$1"; then - func_dirname_result=$3 - else - func_append func_dirname_result "$2" - fi' -fi - -eval 'func_basename () -{ - $debug_cmd - - '"$_b"' -}' - - -# func_dirname FILE APPEND NONDIR_REPLACEMENT -# ------------------------------------------- -# Compute the dirname of FILE. If nonempty, add APPEND to the result, -# otherwise set result to NONDIR_REPLACEMENT. -eval 'func_dirname () -{ - $debug_cmd - - '"$_d"' -}' - - -# func_dirname_and_basename FILE APPEND NONDIR_REPLACEMENT -# -------------------------------------------------------- -# Perform func_basename and func_dirname in a single function -# call: -# dirname: Compute the dirname of FILE. If nonempty, -# add APPEND to the result, otherwise set result -# to NONDIR_REPLACEMENT. -# value returned in "$func_dirname_result" -# basename: Compute filename of FILE. -# value retuned in "$func_basename_result" -# For efficiency, we do not delegate to the functions above but instead -# duplicate the functionality here. -eval 'func_dirname_and_basename () -{ - $debug_cmd - - '"$_b"' - '"$_d"' -}' - - -# func_echo ARG... -# ---------------- -# Echo program name prefixed message. -func_echo () -{ - $debug_cmd - - _G_message=$* - - func_echo_IFS=$IFS - IFS=$nl - for _G_line in $_G_message; do - IFS=$func_echo_IFS - $ECHO "$progname: $_G_line" - done - IFS=$func_echo_IFS -} - - -# func_echo_all ARG... -# -------------------- -# Invoke $ECHO with all args, space-separated. -func_echo_all () -{ - $ECHO "$*" -} - - -# func_echo_infix_1 INFIX ARG... -# ------------------------------ -# Echo program name, followed by INFIX on the first line, with any -# additional lines not showing INFIX. -func_echo_infix_1 () -{ - $debug_cmd - - $require_term_colors - - _G_infix=$1; shift - _G_indent=$_G_infix - _G_prefix="$progname: $_G_infix: " - _G_message=$* - - # Strip color escape sequences before counting printable length - for _G_tc in "$tc_reset" "$tc_bold" "$tc_standout" "$tc_red" "$tc_green" "$tc_blue" "$tc_cyan" - do - test -n "$_G_tc" && { - _G_esc_tc=`$ECHO "$_G_tc" | $SED "$sed_make_literal_regex"` - _G_indent=`$ECHO "$_G_indent" | $SED "s|$_G_esc_tc||g"` - } - done - _G_indent="$progname: "`echo "$_G_indent" | $SED 's|.| |g'`" " ## exclude from sc_prohibit_nested_quotes - - func_echo_infix_1_IFS=$IFS - IFS=$nl - for _G_line in $_G_message; do - IFS=$func_echo_infix_1_IFS - $ECHO "$_G_prefix$tc_bold$_G_line$tc_reset" >&2 - _G_prefix=$_G_indent - done - IFS=$func_echo_infix_1_IFS -} - - -# func_error ARG... -# ----------------- -# Echo program name prefixed message to standard error. -func_error () -{ - $debug_cmd - - $require_term_colors - - func_echo_infix_1 " $tc_standout${tc_red}error$tc_reset" "$*" >&2 -} - - -# func_fatal_error ARG... -# ----------------------- -# Echo program name prefixed message to standard error, and exit. -func_fatal_error () -{ - $debug_cmd - - func_error "$*" - exit $EXIT_FAILURE -} - - -# func_grep EXPRESSION FILENAME -# ----------------------------- -# Check whether EXPRESSION matches any line of FILENAME, without output. -func_grep () -{ - $debug_cmd - - $GREP "$1" "$2" >/dev/null 2>&1 -} - - -# func_len STRING -# --------------- -# Set func_len_result to the length of STRING. STRING may not -# start with a hyphen. - test -z "$_G_HAVE_XSI_OPS" \ - && (eval 'x=a/b/c; - test 5aa/bb/cc = "${#x}${x%%/*}${x%/*}${x#*/}${x##*/}"') 2>/dev/null \ - && _G_HAVE_XSI_OPS=yes - -if test yes = "$_G_HAVE_XSI_OPS"; then - eval 'func_len () - { - $debug_cmd - - func_len_result=${#1} - }' -else - func_len () - { - $debug_cmd - - func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len` - } -fi - - -# func_mkdir_p DIRECTORY-PATH -# --------------------------- -# Make sure the entire path to DIRECTORY-PATH is available. -func_mkdir_p () -{ - $debug_cmd - - _G_directory_path=$1 - _G_dir_list= - - if test -n "$_G_directory_path" && test : != "$opt_dry_run"; then - - # Protect directory names starting with '-' - case $_G_directory_path in - -*) _G_directory_path=./$_G_directory_path ;; - esac - - # While some portion of DIR does not yet exist... - while test ! -d "$_G_directory_path"; do - # ...make a list in topmost first order. Use a colon delimited - # list incase some portion of path contains whitespace. - _G_dir_list=$_G_directory_path:$_G_dir_list - - # If the last portion added has no slash in it, the list is done - case $_G_directory_path in */*) ;; *) break ;; esac - - # ...otherwise throw away the child directory and loop - _G_directory_path=`$ECHO "$_G_directory_path" | $SED -e "$sed_dirname"` - done - _G_dir_list=`$ECHO "$_G_dir_list" | $SED 's|:*$||'` - - func_mkdir_p_IFS=$IFS; IFS=: - for _G_dir in $_G_dir_list; do - IFS=$func_mkdir_p_IFS - # mkdir can fail with a 'File exist' error if two processes - # try to create one of the directories concurrently. Don't - # stop in that case! - $MKDIR "$_G_dir" 2>/dev/null || : - done - IFS=$func_mkdir_p_IFS - - # Bail out if we (or some other process) failed to create a directory. - test -d "$_G_directory_path" || \ - func_fatal_error "Failed to create '$1'" - fi -} - - -# func_mktempdir [BASENAME] -# ------------------------- -# Make a temporary directory that won't clash with other running -# libtool processes, and avoids race conditions if possible. If -# given, BASENAME is the basename for that directory. -func_mktempdir () -{ - $debug_cmd - - _G_template=${TMPDIR-/tmp}/${1-$progname} - - if test : = "$opt_dry_run"; then - # Return a directory name, but don't create it in dry-run mode - _G_tmpdir=$_G_template-$$ - else - - # If mktemp works, use that first and foremost - _G_tmpdir=`mktemp -d "$_G_template-XXXXXXXX" 2>/dev/null` - - if test ! -d "$_G_tmpdir"; then - # Failing that, at least try and use $RANDOM to avoid a race - _G_tmpdir=$_G_template-${RANDOM-0}$$ - - func_mktempdir_umask=`umask` - umask 0077 - $MKDIR "$_G_tmpdir" - umask $func_mktempdir_umask - fi - - # If we're not in dry-run mode, bomb out on failure - test -d "$_G_tmpdir" || \ - func_fatal_error "cannot create temporary directory '$_G_tmpdir'" - fi - - $ECHO "$_G_tmpdir" -} - - -# func_normal_abspath PATH -# ------------------------ -# Remove doubled-up and trailing slashes, "." path components, -# and cancel out any ".." path components in PATH after making -# it an absolute path. -func_normal_abspath () -{ - $debug_cmd - - # These SED scripts presuppose an absolute path with a trailing slash. - _G_pathcar='s|^/\([^/]*\).*$|\1|' - _G_pathcdr='s|^/[^/]*||' - _G_removedotparts=':dotsl - s|/\./|/|g - t dotsl - s|/\.$|/|' - _G_collapseslashes='s|/\{1,\}|/|g' - _G_finalslash='s|/*$|/|' - - # Start from root dir and reassemble the path. - func_normal_abspath_result= - func_normal_abspath_tpath=$1 - func_normal_abspath_altnamespace= - case $func_normal_abspath_tpath in - "") - # Empty path, that just means $cwd. - func_stripname '' '/' "`pwd`" - func_normal_abspath_result=$func_stripname_result - return - ;; - # The next three entries are used to spot a run of precisely - # two leading slashes without using negated character classes; - # we take advantage of case's first-match behaviour. - ///*) - # Unusual form of absolute path, do nothing. - ;; - //*) - # Not necessarily an ordinary path; POSIX reserves leading '//' - # and for example Cygwin uses it to access remote file shares - # over CIFS/SMB, so we conserve a leading double slash if found. - func_normal_abspath_altnamespace=/ - ;; - /*) - # Absolute path, do nothing. - ;; - *) - # Relative path, prepend $cwd. - func_normal_abspath_tpath=`pwd`/$func_normal_abspath_tpath - ;; - esac - - # Cancel out all the simple stuff to save iterations. We also want - # the path to end with a slash for ease of parsing, so make sure - # there is one (and only one) here. - func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \ - -e "$_G_removedotparts" -e "$_G_collapseslashes" -e "$_G_finalslash"` - while :; do - # Processed it all yet? - if test / = "$func_normal_abspath_tpath"; then - # If we ascended to the root using ".." the result may be empty now. - if test -z "$func_normal_abspath_result"; then - func_normal_abspath_result=/ - fi - break - fi - func_normal_abspath_tcomponent=`$ECHO "$func_normal_abspath_tpath" | $SED \ - -e "$_G_pathcar"` - func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \ - -e "$_G_pathcdr"` - # Figure out what to do with it - case $func_normal_abspath_tcomponent in - "") - # Trailing empty path component, ignore it. - ;; - ..) - # Parent dir; strip last assembled component from result. - func_dirname "$func_normal_abspath_result" - func_normal_abspath_result=$func_dirname_result - ;; - *) - # Actual path component, append it. - func_append func_normal_abspath_result "/$func_normal_abspath_tcomponent" - ;; - esac - done - # Restore leading double-slash if one was found on entry. - func_normal_abspath_result=$func_normal_abspath_altnamespace$func_normal_abspath_result -} - - -# func_notquiet ARG... -# -------------------- -# Echo program name prefixed message only when not in quiet mode. -func_notquiet () -{ - $debug_cmd - - $opt_quiet || func_echo ${1+"$@"} - - # A bug in bash halts the script if the last line of a function - # fails when set -e is in force, so we need another command to - # work around that: - : -} - - -# func_relative_path SRCDIR DSTDIR -# -------------------------------- -# Set func_relative_path_result to the relative path from SRCDIR to DSTDIR. -func_relative_path () -{ - $debug_cmd - - func_relative_path_result= - func_normal_abspath "$1" - func_relative_path_tlibdir=$func_normal_abspath_result - func_normal_abspath "$2" - func_relative_path_tbindir=$func_normal_abspath_result - - # Ascend the tree starting from libdir - while :; do - # check if we have found a prefix of bindir - case $func_relative_path_tbindir in - $func_relative_path_tlibdir) - # found an exact match - func_relative_path_tcancelled= - break - ;; - $func_relative_path_tlibdir*) - # found a matching prefix - func_stripname "$func_relative_path_tlibdir" '' "$func_relative_path_tbindir" - func_relative_path_tcancelled=$func_stripname_result - if test -z "$func_relative_path_result"; then - func_relative_path_result=. - fi - break - ;; - *) - func_dirname $func_relative_path_tlibdir - func_relative_path_tlibdir=$func_dirname_result - if test -z "$func_relative_path_tlibdir"; then - # Have to descend all the way to the root! - func_relative_path_result=../$func_relative_path_result - func_relative_path_tcancelled=$func_relative_path_tbindir - break - fi - func_relative_path_result=../$func_relative_path_result - ;; - esac - done - - # Now calculate path; take care to avoid doubling-up slashes. - func_stripname '' '/' "$func_relative_path_result" - func_relative_path_result=$func_stripname_result - func_stripname '/' '/' "$func_relative_path_tcancelled" - if test -n "$func_stripname_result"; then - func_append func_relative_path_result "/$func_stripname_result" - fi - - # Normalisation. If bindir is libdir, return '.' else relative path. - if test -n "$func_relative_path_result"; then - func_stripname './' '' "$func_relative_path_result" - func_relative_path_result=$func_stripname_result - fi - - test -n "$func_relative_path_result" || func_relative_path_result=. - - : -} - - -# func_quote_for_eval ARG... -# -------------------------- -# Aesthetically quote ARGs to be evaled later. -# This function returns two values: -# i) func_quote_for_eval_result -# double-quoted, suitable for a subsequent eval -# ii) func_quote_for_eval_unquoted_result -# has all characters that are still active within double -# quotes backslashified. -func_quote_for_eval () -{ - $debug_cmd - - func_quote_for_eval_unquoted_result= - func_quote_for_eval_result= - while test 0 -lt $#; do - case $1 in - *[\\\`\"\$]*) - _G_unquoted_arg=`printf '%s\n' "$1" |$SED "$sed_quote_subst"` ;; - *) - _G_unquoted_arg=$1 ;; - esac - if test -n "$func_quote_for_eval_unquoted_result"; then - func_append func_quote_for_eval_unquoted_result " $_G_unquoted_arg" - else - func_append func_quote_for_eval_unquoted_result "$_G_unquoted_arg" - fi - - case $_G_unquoted_arg in - # Double-quote args containing shell metacharacters to delay - # word splitting, command substitution and variable expansion - # for a subsequent eval. - # Many Bourne shells cannot handle close brackets correctly - # in scan sets, so we specify it separately. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") - _G_quoted_arg=\"$_G_unquoted_arg\" - ;; - *) - _G_quoted_arg=$_G_unquoted_arg - ;; - esac - - if test -n "$func_quote_for_eval_result"; then - func_append func_quote_for_eval_result " $_G_quoted_arg" - else - func_append func_quote_for_eval_result "$_G_quoted_arg" - fi - shift - done -} - - -# func_quote_for_expand ARG -# ------------------------- -# Aesthetically quote ARG to be evaled later; same as above, -# but do not quote variable references. -func_quote_for_expand () -{ - $debug_cmd - - case $1 in - *[\\\`\"]*) - _G_arg=`$ECHO "$1" | $SED \ - -e "$sed_double_quote_subst" -e "$sed_double_backslash"` ;; - *) - _G_arg=$1 ;; - esac - - case $_G_arg in - # Double-quote args containing shell metacharacters to delay - # word splitting and command substitution for a subsequent eval. - # Many Bourne shells cannot handle close brackets correctly - # in scan sets, so we specify it separately. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") - _G_arg=\"$_G_arg\" - ;; - esac - - func_quote_for_expand_result=$_G_arg -} - - -# func_stripname PREFIX SUFFIX NAME -# --------------------------------- -# strip PREFIX and SUFFIX from NAME, and store in func_stripname_result. -# PREFIX and SUFFIX must not contain globbing or regex special -# characters, hashes, percent signs, but SUFFIX may contain a leading -# dot (in which case that matches only a dot). -if test yes = "$_G_HAVE_XSI_OPS"; then - eval 'func_stripname () - { - $debug_cmd - - # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are - # positional parameters, so assign one to ordinary variable first. - func_stripname_result=$3 - func_stripname_result=${func_stripname_result#"$1"} - func_stripname_result=${func_stripname_result%"$2"} - }' -else - func_stripname () - { - $debug_cmd - - case $2 in - .*) func_stripname_result=`$ECHO "$3" | $SED -e "s%^$1%%" -e "s%\\\\$2\$%%"`;; - *) func_stripname_result=`$ECHO "$3" | $SED -e "s%^$1%%" -e "s%$2\$%%"`;; - esac - } -fi - - -# func_show_eval CMD [FAIL_EXP] -# ----------------------------- -# Unless opt_quiet is true, then output CMD. Then, if opt_dryrun is -# not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP -# is given, then evaluate it. -func_show_eval () -{ - $debug_cmd - - _G_cmd=$1 - _G_fail_exp=${2-':'} - - func_quote_for_expand "$_G_cmd" - eval "func_notquiet $func_quote_for_expand_result" - - $opt_dry_run || { - eval "$_G_cmd" - _G_status=$? - if test 0 -ne "$_G_status"; then - eval "(exit $_G_status); $_G_fail_exp" - fi - } -} - - -# func_show_eval_locale CMD [FAIL_EXP] -# ------------------------------------ -# Unless opt_quiet is true, then output CMD. Then, if opt_dryrun is -# not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP -# is given, then evaluate it. Use the saved locale for evaluation. -func_show_eval_locale () -{ - $debug_cmd - - _G_cmd=$1 - _G_fail_exp=${2-':'} - - $opt_quiet || { - func_quote_for_expand "$_G_cmd" - eval "func_echo $func_quote_for_expand_result" - } - - $opt_dry_run || { - eval "$_G_user_locale - $_G_cmd" - _G_status=$? - eval "$_G_safe_locale" - if test 0 -ne "$_G_status"; then - eval "(exit $_G_status); $_G_fail_exp" - fi - } -} - - -# func_tr_sh -# ---------- -# Turn $1 into a string suitable for a shell variable name. -# Result is stored in $func_tr_sh_result. All characters -# not in the set a-zA-Z0-9_ are replaced with '_'. Further, -# if $1 begins with a digit, a '_' is prepended as well. -func_tr_sh () -{ - $debug_cmd - - case $1 in - [0-9]* | *[!a-zA-Z0-9_]*) - func_tr_sh_result=`$ECHO "$1" | $SED -e 's/^\([0-9]\)/_\1/' -e 's/[^a-zA-Z0-9_]/_/g'` - ;; - * ) - func_tr_sh_result=$1 - ;; - esac -} - - -# func_verbose ARG... -# ------------------- -# Echo program name prefixed message in verbose mode only. -func_verbose () -{ - $debug_cmd - - $opt_verbose && func_echo "$*" - - : -} - - -# func_warn_and_continue ARG... -# ----------------------------- -# Echo program name prefixed warning message to standard error. -func_warn_and_continue () -{ - $debug_cmd - - $require_term_colors - - func_echo_infix_1 "${tc_red}warning$tc_reset" "$*" >&2 -} - - -# func_warning CATEGORY ARG... -# ---------------------------- -# Echo program name prefixed warning message to standard error. Warning -# messages can be filtered according to CATEGORY, where this function -# elides messages where CATEGORY is not listed in the global variable -# 'opt_warning_types'. -func_warning () -{ - $debug_cmd - - # CATEGORY must be in the warning_categories list! - case " $warning_categories " in - *" $1 "*) ;; - *) func_internal_error "invalid warning category '$1'" ;; - esac - - _G_category=$1 - shift - - case " $opt_warning_types " in - *" $_G_category "*) $warning_func ${1+"$@"} ;; - esac -} - - -# func_sort_ver VER1 VER2 -# ----------------------- -# 'sort -V' is not generally available. -# Note this deviates from the version comparison in automake -# in that it treats 1.5 < 1.5.0, and treats 1.4.4a < 1.4-p3a -# but this should suffice as we won't be specifying old -# version formats or redundant trailing .0 in bootstrap.conf. -# If we did want full compatibility then we should probably -# use m4_version_compare from autoconf. -func_sort_ver () -{ - $debug_cmd - - printf '%s\n%s\n' "$1" "$2" \ - | sort -t. -k 1,1n -k 2,2n -k 3,3n -k 4,4n -k 5,5n -k 6,6n -k 7,7n -k 8,8n -k 9,9n -} - -# func_lt_ver PREV CURR -# --------------------- -# Return true if PREV and CURR are in the correct order according to -# func_sort_ver, otherwise false. Use it like this: -# -# func_lt_ver "$prev_ver" "$proposed_ver" || func_fatal_error "..." -func_lt_ver () -{ - $debug_cmd - - test "x$1" = x`func_sort_ver "$1" "$2" | $SED 1q` -} - - -# Local variables: -# mode: shell-script -# sh-indentation: 2 -# eval: (add-hook 'before-save-hook 'time-stamp) -# time-stamp-pattern: "10/scriptversion=%:y-%02m-%02d.%02H; # UTC" -# time-stamp-time-zone: "UTC" -# End: -#! /bin/sh - -# Set a version string for this script. -scriptversion=2015-10-07.11; # UTC - -# A portable, pluggable option parser for Bourne shell. -# Written by Gary V. Vaughan, 2010 - -# Copyright (C) 2010-2015 Free Software Foundation, Inc. -# This is free software; see the source for copying conditions. There is NO -# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . - -# Please report bugs or propose patches to gary@gnu.org. - - -## ------ ## -## Usage. ## -## ------ ## - -# This file is a library for parsing options in your shell scripts along -# with assorted other useful supporting features that you can make use -# of too. -# -# For the simplest scripts you might need only: -# -# #!/bin/sh -# . relative/path/to/funclib.sh -# . relative/path/to/options-parser -# scriptversion=1.0 -# func_options ${1+"$@"} -# eval set dummy "$func_options_result"; shift -# ...rest of your script... -# -# In order for the '--version' option to work, you will need to have a -# suitably formatted comment like the one at the top of this file -# starting with '# Written by ' and ending with '# warranty; '. -# -# For '-h' and '--help' to work, you will also need a one line -# description of your script's purpose in a comment directly above the -# '# Written by ' line, like the one at the top of this file. -# -# The default options also support '--debug', which will turn on shell -# execution tracing (see the comment above debug_cmd below for another -# use), and '--verbose' and the func_verbose function to allow your script -# to display verbose messages only when your user has specified -# '--verbose'. -# -# After sourcing this file, you can plug processing for additional -# options by amending the variables from the 'Configuration' section -# below, and following the instructions in the 'Option parsing' -# section further down. - -## -------------- ## -## Configuration. ## -## -------------- ## - -# You should override these variables in your script after sourcing this -# file so that they reflect the customisations you have added to the -# option parser. - -# The usage line for option parsing errors and the start of '-h' and -# '--help' output messages. You can embed shell variables for delayed -# expansion at the time the message is displayed, but you will need to -# quote other shell meta-characters carefully to prevent them being -# expanded when the contents are evaled. -usage='$progpath [OPTION]...' - -# Short help message in response to '-h' and '--help'. Add to this or -# override it after sourcing this library to reflect the full set of -# options your script accepts. -usage_message="\ - --debug enable verbose shell tracing - -W, --warnings=CATEGORY - report the warnings falling in CATEGORY [all] - -v, --verbose verbosely report processing - --version print version information and exit - -h, --help print short or long help message and exit -" - -# Additional text appended to 'usage_message' in response to '--help'. -long_help_message=" -Warning categories include: - 'all' show all warnings - 'none' turn off all the warnings - 'error' warnings are treated as fatal errors" - -# Help message printed before fatal option parsing errors. -fatal_help="Try '\$progname --help' for more information." - - - -## ------------------------- ## -## Hook function management. ## -## ------------------------- ## - -# This section contains functions for adding, removing, and running hooks -# to the main code. A hook is just a named list of of function, that can -# be run in order later on. - -# func_hookable FUNC_NAME -# ----------------------- -# Declare that FUNC_NAME will run hooks added with -# 'func_add_hook FUNC_NAME ...'. -func_hookable () -{ - $debug_cmd - - func_append hookable_fns " $1" -} - - -# func_add_hook FUNC_NAME HOOK_FUNC -# --------------------------------- -# Request that FUNC_NAME call HOOK_FUNC before it returns. FUNC_NAME must -# first have been declared "hookable" by a call to 'func_hookable'. -func_add_hook () -{ - $debug_cmd - - case " $hookable_fns " in - *" $1 "*) ;; - *) func_fatal_error "'$1' does not accept hook functions." ;; - esac - - eval func_append ${1}_hooks '" $2"' -} - - -# func_remove_hook FUNC_NAME HOOK_FUNC -# ------------------------------------ -# Remove HOOK_FUNC from the list of functions called by FUNC_NAME. -func_remove_hook () -{ - $debug_cmd - - eval ${1}_hooks='`$ECHO "\$'$1'_hooks" |$SED "s| '$2'||"`' -} - - -# func_run_hooks FUNC_NAME [ARG]... -# --------------------------------- -# Run all hook functions registered to FUNC_NAME. -# It is assumed that the list of hook functions contains nothing more -# than a whitespace-delimited list of legal shell function names, and -# no effort is wasted trying to catch shell meta-characters or preserve -# whitespace. -func_run_hooks () -{ - $debug_cmd - - _G_rc_run_hooks=false - - case " $hookable_fns " in - *" $1 "*) ;; - *) func_fatal_error "'$1' does not support hook funcions.n" ;; - esac - - eval _G_hook_fns=\$$1_hooks; shift - - for _G_hook in $_G_hook_fns; do - if eval $_G_hook '"$@"'; then - # store returned options list back into positional - # parameters for next 'cmd' execution. - eval _G_hook_result=\$${_G_hook}_result - eval set dummy "$_G_hook_result"; shift - _G_rc_run_hooks=: - fi - done - - $_G_rc_run_hooks && func_run_hooks_result=$_G_hook_result -} - - - -## --------------- ## -## Option parsing. ## -## --------------- ## - -# In order to add your own option parsing hooks, you must accept the -# full positional parameter list in your hook function, you may remove/edit -# any options that you action, and then pass back the remaining unprocessed -# options in '_result', escaped suitably for -# 'eval'. In this case you also must return $EXIT_SUCCESS to let the -# hook's caller know that it should pay attention to -# '_result'. Returning $EXIT_FAILURE signalizes that -# arguments are left untouched by the hook and therefore caller will ignore the -# result variable. -# -# Like this: -# -# my_options_prep () -# { -# $debug_cmd -# -# # Extend the existing usage message. -# usage_message=$usage_message' -# -s, --silent don'\''t print informational messages -# ' -# # No change in '$@' (ignored completely by this hook). There is -# # no need to do the equivalent (but slower) action: -# # func_quote_for_eval ${1+"$@"} -# # my_options_prep_result=$func_quote_for_eval_result -# false -# } -# func_add_hook func_options_prep my_options_prep -# -# -# my_silent_option () -# { -# $debug_cmd -# -# args_changed=false -# -# # Note that for efficiency, we parse as many options as we can -# # recognise in a loop before passing the remainder back to the -# # caller on the first unrecognised argument we encounter. -# while test $# -gt 0; do -# opt=$1; shift -# case $opt in -# --silent|-s) opt_silent=: -# args_changed=: -# ;; -# # Separate non-argument short options: -# -s*) func_split_short_opt "$_G_opt" -# set dummy "$func_split_short_opt_name" \ -# "-$func_split_short_opt_arg" ${1+"$@"} -# shift -# args_changed=: -# ;; -# *) # Make sure the first unrecognised option "$_G_opt" -# # is added back to "$@", we could need that later -# # if $args_changed is true. -# set dummy "$_G_opt" ${1+"$@"}; shift; break ;; -# esac -# done -# -# if $args_changed; then -# func_quote_for_eval ${1+"$@"} -# my_silent_option_result=$func_quote_for_eval_result -# fi -# -# $args_changed -# } -# func_add_hook func_parse_options my_silent_option -# -# -# my_option_validation () -# { -# $debug_cmd -# -# $opt_silent && $opt_verbose && func_fatal_help "\ -# '--silent' and '--verbose' options are mutually exclusive." -# -# false -# } -# func_add_hook func_validate_options my_option_validation -# -# You'll also need to manually amend $usage_message to reflect the extra -# options you parse. It's preferable to append if you can, so that -# multiple option parsing hooks can be added safely. - - -# func_options_finish [ARG]... -# ---------------------------- -# Finishing the option parse loop (call 'func_options' hooks ATM). -func_options_finish () -{ - $debug_cmd - - _G_func_options_finish_exit=false - if func_run_hooks func_options ${1+"$@"}; then - func_options_finish_result=$func_run_hooks_result - _G_func_options_finish_exit=: - fi - - $_G_func_options_finish_exit -} - - -# func_options [ARG]... -# --------------------- -# All the functions called inside func_options are hookable. See the -# individual implementations for details. -func_hookable func_options -func_options () -{ - $debug_cmd - - _G_rc_options=false - - for my_func in options_prep parse_options validate_options options_finish - do - if eval func_$my_func '${1+"$@"}'; then - eval _G_res_var='$'"func_${my_func}_result" - eval set dummy "$_G_res_var" ; shift - _G_rc_options=: - fi - done - - # Save modified positional parameters for caller. As a top-level - # options-parser function we always need to set the 'func_options_result' - # variable (regardless the $_G_rc_options value). - if $_G_rc_options; then - func_options_result=$_G_res_var - else - func_quote_for_eval ${1+"$@"} - func_options_result=$func_quote_for_eval_result - fi - - $_G_rc_options -} - - -# func_options_prep [ARG]... -# -------------------------- -# All initialisations required before starting the option parse loop. -# Note that when calling hook functions, we pass through the list of -# positional parameters. If a hook function modifies that list, and -# needs to propagate that back to rest of this script, then the complete -# modified list must be put in 'func_run_hooks_result' before -# returning $EXIT_SUCCESS (otherwise $EXIT_FAILURE is returned). -func_hookable func_options_prep -func_options_prep () -{ - $debug_cmd - - # Option defaults: - opt_verbose=false - opt_warning_types= - - _G_rc_options_prep=false - if func_run_hooks func_options_prep ${1+"$@"}; then - _G_rc_options_prep=: - # save modified positional parameters for caller - func_options_prep_result=$func_run_hooks_result - fi - - $_G_rc_options_prep -} - - -# func_parse_options [ARG]... -# --------------------------- -# The main option parsing loop. -func_hookable func_parse_options -func_parse_options () -{ - $debug_cmd - - func_parse_options_result= - - _G_rc_parse_options=false - # this just eases exit handling - while test $# -gt 0; do - # Defer to hook functions for initial option parsing, so they - # get priority in the event of reusing an option name. - if func_run_hooks func_parse_options ${1+"$@"}; then - eval set dummy "$func_run_hooks_result"; shift - _G_rc_parse_options=: - fi - - # Break out of the loop if we already parsed every option. - test $# -gt 0 || break - - _G_match_parse_options=: - _G_opt=$1 - shift - case $_G_opt in - --debug|-x) debug_cmd='set -x' - func_echo "enabling shell trace mode" - $debug_cmd - ;; - - --no-warnings|--no-warning|--no-warn) - set dummy --warnings none ${1+"$@"} - shift - ;; - - --warnings|--warning|-W) - if test $# = 0 && func_missing_arg $_G_opt; then - _G_rc_parse_options=: - break - fi - case " $warning_categories $1" in - *" $1 "*) - # trailing space prevents matching last $1 above - func_append_uniq opt_warning_types " $1" - ;; - *all) - opt_warning_types=$warning_categories - ;; - *none) - opt_warning_types=none - warning_func=: - ;; - *error) - opt_warning_types=$warning_categories - warning_func=func_fatal_error - ;; - *) - func_fatal_error \ - "unsupported warning category: '$1'" - ;; - esac - shift - ;; - - --verbose|-v) opt_verbose=: ;; - --version) func_version ;; - -\?|-h) func_usage ;; - --help) func_help ;; - - # Separate optargs to long options (plugins may need this): - --*=*) func_split_equals "$_G_opt" - set dummy "$func_split_equals_lhs" \ - "$func_split_equals_rhs" ${1+"$@"} - shift - ;; - - # Separate optargs to short options: - -W*) - func_split_short_opt "$_G_opt" - set dummy "$func_split_short_opt_name" \ - "$func_split_short_opt_arg" ${1+"$@"} - shift - ;; - - # Separate non-argument short options: - -\?*|-h*|-v*|-x*) - func_split_short_opt "$_G_opt" - set dummy "$func_split_short_opt_name" \ - "-$func_split_short_opt_arg" ${1+"$@"} - shift - ;; - - --) _G_rc_parse_options=: ; break ;; - -*) func_fatal_help "unrecognised option: '$_G_opt'" ;; - *) set dummy "$_G_opt" ${1+"$@"}; shift - _G_match_parse_options=false - break - ;; - esac - - $_G_match_parse_options && _G_rc_parse_options=: - done - - - if $_G_rc_parse_options; then - # save modified positional parameters for caller - func_quote_for_eval ${1+"$@"} - func_parse_options_result=$func_quote_for_eval_result - fi - - $_G_rc_parse_options -} - - -# func_validate_options [ARG]... -# ------------------------------ -# Perform any sanity checks on option settings and/or unconsumed -# arguments. -func_hookable func_validate_options -func_validate_options () -{ - $debug_cmd - - _G_rc_validate_options=false - - # Display all warnings if -W was not given. - test -n "$opt_warning_types" || opt_warning_types=" $warning_categories" - - if func_run_hooks func_validate_options ${1+"$@"}; then - # save modified positional parameters for caller - func_validate_options_result=$func_run_hooks_result - _G_rc_validate_options=: - fi - - # Bail if the options were screwed! - $exit_cmd $EXIT_FAILURE - - $_G_rc_validate_options -} - - - -## ----------------- ## -## Helper functions. ## -## ----------------- ## - -# This section contains the helper functions used by the rest of the -# hookable option parser framework in ascii-betical order. - - -# func_fatal_help ARG... -# ---------------------- -# Echo program name prefixed message to standard error, followed by -# a help hint, and exit. -func_fatal_help () -{ - $debug_cmd - - eval \$ECHO \""Usage: $usage"\" - eval \$ECHO \""$fatal_help"\" - func_error ${1+"$@"} - exit $EXIT_FAILURE -} - - -# func_help -# --------- -# Echo long help message to standard output and exit. -func_help () -{ - $debug_cmd - - func_usage_message - $ECHO "$long_help_message" - exit 0 -} - - -# func_missing_arg ARGNAME -# ------------------------ -# Echo program name prefixed message to standard error and set global -# exit_cmd. -func_missing_arg () -{ - $debug_cmd - - func_error "Missing argument for '$1'." - exit_cmd=exit -} - - -# func_split_equals STRING -# ------------------------ -# Set func_split_equals_lhs and func_split_equals_rhs shell variables after -# splitting STRING at the '=' sign. -test -z "$_G_HAVE_XSI_OPS" \ - && (eval 'x=a/b/c; - test 5aa/bb/cc = "${#x}${x%%/*}${x%/*}${x#*/}${x##*/}"') 2>/dev/null \ - && _G_HAVE_XSI_OPS=yes - -if test yes = "$_G_HAVE_XSI_OPS" -then - # This is an XSI compatible shell, allowing a faster implementation... - eval 'func_split_equals () - { - $debug_cmd - - func_split_equals_lhs=${1%%=*} - func_split_equals_rhs=${1#*=} - test "x$func_split_equals_lhs" = "x$1" \ - && func_split_equals_rhs= - }' -else - # ...otherwise fall back to using expr, which is often a shell builtin. - func_split_equals () - { - $debug_cmd - - func_split_equals_lhs=`expr "x$1" : 'x\([^=]*\)'` - func_split_equals_rhs= - test "x$func_split_equals_lhs" = "x$1" \ - || func_split_equals_rhs=`expr "x$1" : 'x[^=]*=\(.*\)$'` - } -fi #func_split_equals - - -# func_split_short_opt SHORTOPT -# ----------------------------- -# Set func_split_short_opt_name and func_split_short_opt_arg shell -# variables after splitting SHORTOPT after the 2nd character. -if test yes = "$_G_HAVE_XSI_OPS" -then - # This is an XSI compatible shell, allowing a faster implementation... - eval 'func_split_short_opt () - { - $debug_cmd - - func_split_short_opt_arg=${1#??} - func_split_short_opt_name=${1%"$func_split_short_opt_arg"} - }' -else - # ...otherwise fall back to using expr, which is often a shell builtin. - func_split_short_opt () - { - $debug_cmd - - func_split_short_opt_name=`expr "x$1" : 'x-\(.\)'` - func_split_short_opt_arg=`expr "x$1" : 'x-.\(.*\)$'` - } -fi #func_split_short_opt - - -# func_usage -# ---------- -# Echo short help message to standard output and exit. -func_usage () -{ - $debug_cmd - - func_usage_message - $ECHO "Run '$progname --help |${PAGER-more}' for full usage" - exit 0 -} - - -# func_usage_message -# ------------------ -# Echo short help message to standard output. -func_usage_message () -{ - $debug_cmd - - eval \$ECHO \""Usage: $usage"\" - echo - $SED -n 's|^# || - /^Written by/{ - x;p;x - } - h - /^Written by/q' < "$progpath" - echo - eval \$ECHO \""$usage_message"\" -} - - -# func_version -# ------------ -# Echo version message to standard output and exit. -func_version () -{ - $debug_cmd - - printf '%s\n' "$progname $scriptversion" - $SED -n ' - /(C)/!b go - :more - /\./!{ - N - s|\n# | | - b more - } - :go - /^# Written by /,/# warranty; / { - s|^# || - s|^# *$|| - s|\((C)\)[ 0-9,-]*[ ,-]\([1-9][0-9]* \)|\1 \2| - p - } - /^# Written by / { - s|^# || - p - } - /^warranty; /q' < "$progpath" - - exit $? -} - - -# Local variables: -# mode: shell-script -# sh-indentation: 2 -# eval: (add-hook 'before-save-hook 'time-stamp) -# time-stamp-pattern: "10/scriptversion=%:y-%02m-%02d.%02H; # UTC" -# time-stamp-time-zone: "UTC" -# End: - -# Set a version string. -scriptversion='(GNU libtool) 2.4.6' - - -# func_echo ARG... -# ---------------- -# Libtool also displays the current mode in messages, so override -# funclib.sh func_echo with this custom definition. -func_echo () -{ - $debug_cmd - - _G_message=$* - - func_echo_IFS=$IFS - IFS=$nl - for _G_line in $_G_message; do - IFS=$func_echo_IFS - $ECHO "$progname${opt_mode+: $opt_mode}: $_G_line" - done - IFS=$func_echo_IFS -} - - -# func_warning ARG... -# ------------------- -# Libtool warnings are not categorized, so override funclib.sh -# func_warning with this simpler definition. -func_warning () -{ - $debug_cmd - - $warning_func ${1+"$@"} -} - - -## ---------------- ## -## Options parsing. ## -## ---------------- ## - -# Hook in the functions to make sure our own options are parsed during -# the option parsing loop. - -usage='$progpath [OPTION]... [MODE-ARG]...' - -# Short help message in response to '-h'. -usage_message="Options: - --config show all configuration variables - --debug enable verbose shell tracing - -n, --dry-run display commands without modifying any files - --features display basic configuration information and exit - --mode=MODE use operation mode MODE - --no-warnings equivalent to '-Wnone' - --preserve-dup-deps don't remove duplicate dependency libraries - --quiet, --silent don't print informational messages - --tag=TAG use configuration variables from tag TAG - -v, --verbose print more informational messages than default - --version print version information - -W, --warnings=CATEGORY report the warnings falling in CATEGORY [all] - -h, --help, --help-all print short, long, or detailed help message -" - -# Additional text appended to 'usage_message' in response to '--help'. -func_help () -{ - $debug_cmd - - func_usage_message - $ECHO "$long_help_message - -MODE must be one of the following: - - clean remove files from the build directory - compile compile a source file into a libtool object - execute automatically set library path, then run a program - finish complete the installation of libtool libraries - install install libraries or executables - link create a library or an executable - uninstall remove libraries from an installed directory - -MODE-ARGS vary depending on the MODE. When passed as first option, -'--mode=MODE' may be abbreviated as 'MODE' or a unique abbreviation of that. -Try '$progname --help --mode=MODE' for a more detailed description of MODE. - -When reporting a bug, please describe a test case to reproduce it and -include the following information: - - host-triplet: $host - shell: $SHELL - compiler: $LTCC - compiler flags: $LTCFLAGS - linker: $LD (gnu? $with_gnu_ld) - version: $progname $scriptversion Debian-2.4.6-14 - automake: `($AUTOMAKE --version) 2>/dev/null |$SED 1q` - autoconf: `($AUTOCONF --version) 2>/dev/null |$SED 1q` - -Report bugs to . -GNU libtool home page: . -General help using GNU software: ." - exit 0 -} - - -# func_lo2o OBJECT-NAME -# --------------------- -# Transform OBJECT-NAME from a '.lo' suffix to the platform specific -# object suffix. - -lo2o=s/\\.lo\$/.$objext/ -o2lo=s/\\.$objext\$/.lo/ - -if test yes = "$_G_HAVE_XSI_OPS"; then - eval 'func_lo2o () - { - case $1 in - *.lo) func_lo2o_result=${1%.lo}.$objext ;; - * ) func_lo2o_result=$1 ;; - esac - }' - - # func_xform LIBOBJ-OR-SOURCE - # --------------------------- - # Transform LIBOBJ-OR-SOURCE from a '.o' or '.c' (or otherwise) - # suffix to a '.lo' libtool-object suffix. - eval 'func_xform () - { - func_xform_result=${1%.*}.lo - }' -else - # ...otherwise fall back to using sed. - func_lo2o () - { - func_lo2o_result=`$ECHO "$1" | $SED "$lo2o"` - } - - func_xform () - { - func_xform_result=`$ECHO "$1" | $SED 's|\.[^.]*$|.lo|'` - } -fi - - -# func_fatal_configuration ARG... -# ------------------------------- -# Echo program name prefixed message to standard error, followed by -# a configuration failure hint, and exit. -func_fatal_configuration () -{ - func__fatal_error ${1+"$@"} \ - "See the $PACKAGE documentation for more information." \ - "Fatal configuration error." -} - - -# func_config -# ----------- -# Display the configuration for all the tags in this script. -func_config () -{ - re_begincf='^# ### BEGIN LIBTOOL' - re_endcf='^# ### END LIBTOOL' - - # Default configuration. - $SED "1,/$re_begincf CONFIG/d;/$re_endcf CONFIG/,\$d" < "$progpath" - - # Now print the configurations for the tags. - for tagname in $taglist; do - $SED -n "/$re_begincf TAG CONFIG: $tagname\$/,/$re_endcf TAG CONFIG: $tagname\$/p" < "$progpath" - done - - exit $? -} - - -# func_features -# ------------- -# Display the features supported by this script. -func_features () -{ - echo "host: $host" - if test yes = "$build_libtool_libs"; then - echo "enable shared libraries" - else - echo "disable shared libraries" - fi - if test yes = "$build_old_libs"; then - echo "enable static libraries" - else - echo "disable static libraries" - fi - - exit $? -} - - -# func_enable_tag TAGNAME -# ----------------------- -# Verify that TAGNAME is valid, and either flag an error and exit, or -# enable the TAGNAME tag. We also add TAGNAME to the global $taglist -# variable here. -func_enable_tag () -{ - # Global variable: - tagname=$1 - - re_begincf="^# ### BEGIN LIBTOOL TAG CONFIG: $tagname\$" - re_endcf="^# ### END LIBTOOL TAG CONFIG: $tagname\$" - sed_extractcf=/$re_begincf/,/$re_endcf/p - - # Validate tagname. - case $tagname in - *[!-_A-Za-z0-9,/]*) - func_fatal_error "invalid tag name: $tagname" - ;; - esac - - # Don't test for the "default" C tag, as we know it's - # there but not specially marked. - case $tagname in - CC) ;; - *) - if $GREP "$re_begincf" "$progpath" >/dev/null 2>&1; then - taglist="$taglist $tagname" - - # Evaluate the configuration. Be careful to quote the path - # and the sed script, to avoid splitting on whitespace, but - # also don't use non-portable quotes within backquotes within - # quotes we have to do it in 2 steps: - extractedcf=`$SED -n -e "$sed_extractcf" < "$progpath"` - eval "$extractedcf" - else - func_error "ignoring unknown tag $tagname" - fi - ;; - esac -} - - -# func_check_version_match -# ------------------------ -# Ensure that we are using m4 macros, and libtool script from the same -# release of libtool. -func_check_version_match () -{ - if test "$package_revision" != "$macro_revision"; then - if test "$VERSION" != "$macro_version"; then - if test -z "$macro_version"; then - cat >&2 <<_LT_EOF -$progname: Version mismatch error. This is $PACKAGE $VERSION, but the -$progname: definition of this LT_INIT comes from an older release. -$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION -$progname: and run autoconf again. -_LT_EOF - else - cat >&2 <<_LT_EOF -$progname: Version mismatch error. This is $PACKAGE $VERSION, but the -$progname: definition of this LT_INIT comes from $PACKAGE $macro_version. -$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION -$progname: and run autoconf again. -_LT_EOF - fi - else - cat >&2 <<_LT_EOF -$progname: Version mismatch error. This is $PACKAGE $VERSION, revision $package_revision, -$progname: but the definition of this LT_INIT comes from revision $macro_revision. -$progname: You should recreate aclocal.m4 with macros from revision $package_revision -$progname: of $PACKAGE $VERSION and run autoconf again. -_LT_EOF - fi - - exit $EXIT_MISMATCH - fi -} - - -# libtool_options_prep [ARG]... -# ----------------------------- -# Preparation for options parsed by libtool. -libtool_options_prep () -{ - $debug_mode - - # Option defaults: - opt_config=false - opt_dlopen= - opt_dry_run=false - opt_help=false - opt_mode= - opt_preserve_dup_deps=false - opt_quiet=false - - nonopt= - preserve_args= - - _G_rc_lt_options_prep=: - - # Shorthand for --mode=foo, only valid as the first argument - case $1 in - clean|clea|cle|cl) - shift; set dummy --mode clean ${1+"$@"}; shift - ;; - compile|compil|compi|comp|com|co|c) - shift; set dummy --mode compile ${1+"$@"}; shift - ;; - execute|execut|execu|exec|exe|ex|e) - shift; set dummy --mode execute ${1+"$@"}; shift - ;; - finish|finis|fini|fin|fi|f) - shift; set dummy --mode finish ${1+"$@"}; shift - ;; - install|instal|insta|inst|ins|in|i) - shift; set dummy --mode install ${1+"$@"}; shift - ;; - link|lin|li|l) - shift; set dummy --mode link ${1+"$@"}; shift - ;; - uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u) - shift; set dummy --mode uninstall ${1+"$@"}; shift - ;; - *) - _G_rc_lt_options_prep=false - ;; - esac - - if $_G_rc_lt_options_prep; then - # Pass back the list of options. - func_quote_for_eval ${1+"$@"} - libtool_options_prep_result=$func_quote_for_eval_result - fi - - $_G_rc_lt_options_prep -} -func_add_hook func_options_prep libtool_options_prep - - -# libtool_parse_options [ARG]... -# --------------------------------- -# Provide handling for libtool specific options. -libtool_parse_options () -{ - $debug_cmd - - _G_rc_lt_parse_options=false - - # Perform our own loop to consume as many options as possible in - # each iteration. - while test $# -gt 0; do - _G_match_lt_parse_options=: - _G_opt=$1 - shift - case $_G_opt in - --dry-run|--dryrun|-n) - opt_dry_run=: - ;; - - --config) func_config ;; - - --dlopen|-dlopen) - opt_dlopen="${opt_dlopen+$opt_dlopen -}$1" - shift - ;; - - --preserve-dup-deps) - opt_preserve_dup_deps=: ;; - - --features) func_features ;; - - --finish) set dummy --mode finish ${1+"$@"}; shift ;; - - --help) opt_help=: ;; - - --help-all) opt_help=': help-all' ;; - - --mode) test $# = 0 && func_missing_arg $_G_opt && break - opt_mode=$1 - case $1 in - # Valid mode arguments: - clean|compile|execute|finish|install|link|relink|uninstall) ;; - - # Catch anything else as an error - *) func_error "invalid argument for $_G_opt" - exit_cmd=exit - break - ;; - esac - shift - ;; - - --no-silent|--no-quiet) - opt_quiet=false - func_append preserve_args " $_G_opt" - ;; - - --no-warnings|--no-warning|--no-warn) - opt_warning=false - func_append preserve_args " $_G_opt" - ;; - - --no-verbose) - opt_verbose=false - func_append preserve_args " $_G_opt" - ;; - - --silent|--quiet) - opt_quiet=: - opt_verbose=false - func_append preserve_args " $_G_opt" - ;; - - --tag) test $# = 0 && func_missing_arg $_G_opt && break - opt_tag=$1 - func_append preserve_args " $_G_opt $1" - func_enable_tag "$1" - shift - ;; - - --verbose|-v) opt_quiet=false - opt_verbose=: - func_append preserve_args " $_G_opt" - ;; - - # An option not handled by this hook function: - *) set dummy "$_G_opt" ${1+"$@"} ; shift - _G_match_lt_parse_options=false - break - ;; - esac - $_G_match_lt_parse_options && _G_rc_lt_parse_options=: - done - - if $_G_rc_lt_parse_options; then - # save modified positional parameters for caller - func_quote_for_eval ${1+"$@"} - libtool_parse_options_result=$func_quote_for_eval_result - fi - - $_G_rc_lt_parse_options -} -func_add_hook func_parse_options libtool_parse_options - - - -# libtool_validate_options [ARG]... -# --------------------------------- -# Perform any sanity checks on option settings and/or unconsumed -# arguments. -libtool_validate_options () -{ - # save first non-option argument - if test 0 -lt $#; then - nonopt=$1 - shift - fi - - # preserve --debug - test : = "$debug_cmd" || func_append preserve_args " --debug" - - case $host in - # Solaris2 added to fix http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16452 - # see also: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59788 - *cygwin* | *mingw* | *pw32* | *cegcc* | *solaris2* | *os2*) - # don't eliminate duplications in $postdeps and $predeps - opt_duplicate_compiler_generated_deps=: - ;; - *) - opt_duplicate_compiler_generated_deps=$opt_preserve_dup_deps - ;; - esac - - $opt_help || { - # Sanity checks first: - func_check_version_match - - test yes != "$build_libtool_libs" \ - && test yes != "$build_old_libs" \ - && func_fatal_configuration "not configured to build any kind of library" - - # Darwin sucks - eval std_shrext=\"$shrext_cmds\" - - # Only execute mode is allowed to have -dlopen flags. - if test -n "$opt_dlopen" && test execute != "$opt_mode"; then - func_error "unrecognized option '-dlopen'" - $ECHO "$help" 1>&2 - exit $EXIT_FAILURE - fi - - # Change the help message to a mode-specific one. - generic_help=$help - help="Try '$progname --help --mode=$opt_mode' for more information." - } - - # Pass back the unparsed argument list - func_quote_for_eval ${1+"$@"} - libtool_validate_options_result=$func_quote_for_eval_result -} -func_add_hook func_validate_options libtool_validate_options - - -# Process options as early as possible so that --help and --version -# can return quickly. -func_options ${1+"$@"} -eval set dummy "$func_options_result"; shift - - - -## ----------- ## -## Main. ## -## ----------- ## - -magic='%%%MAGIC variable%%%' -magic_exe='%%%MAGIC EXE variable%%%' - -# Global variables. -extracted_archives= -extracted_serial=0 - -# If this variable is set in any of the actions, the command in it -# will be execed at the end. This prevents here-documents from being -# left over by shells. -exec_cmd= - - -# A function that is used when there is no print builtin or printf. -func_fallback_echo () -{ - eval 'cat <<_LTECHO_EOF -$1 -_LTECHO_EOF' -} - -# func_generated_by_libtool -# True iff stdin has been generated by Libtool. This function is only -# a basic sanity check; it will hardly flush out determined imposters. -func_generated_by_libtool_p () -{ - $GREP "^# Generated by .*$PACKAGE" > /dev/null 2>&1 -} - -# func_lalib_p file -# True iff FILE is a libtool '.la' library or '.lo' object file. -# This function is only a basic sanity check; it will hardly flush out -# determined imposters. -func_lalib_p () -{ - test -f "$1" && - $SED -e 4q "$1" 2>/dev/null | func_generated_by_libtool_p -} - -# func_lalib_unsafe_p file -# True iff FILE is a libtool '.la' library or '.lo' object file. -# This function implements the same check as func_lalib_p without -# resorting to external programs. To this end, it redirects stdin and -# closes it afterwards, without saving the original file descriptor. -# As a safety measure, use it only where a negative result would be -# fatal anyway. Works if 'file' does not exist. -func_lalib_unsafe_p () -{ - lalib_p=no - if test -f "$1" && test -r "$1" && exec 5<&0 <"$1"; then - for lalib_p_l in 1 2 3 4 - do - read lalib_p_line - case $lalib_p_line in - \#\ Generated\ by\ *$PACKAGE* ) lalib_p=yes; break;; - esac - done - exec 0<&5 5<&- - fi - test yes = "$lalib_p" -} - -# func_ltwrapper_script_p file -# True iff FILE is a libtool wrapper script -# This function is only a basic sanity check; it will hardly flush out -# determined imposters. -func_ltwrapper_script_p () -{ - test -f "$1" && - $lt_truncate_bin < "$1" 2>/dev/null | func_generated_by_libtool_p -} - -# func_ltwrapper_executable_p file -# True iff FILE is a libtool wrapper executable -# This function is only a basic sanity check; it will hardly flush out -# determined imposters. -func_ltwrapper_executable_p () -{ - func_ltwrapper_exec_suffix= - case $1 in - *.exe) ;; - *) func_ltwrapper_exec_suffix=.exe ;; - esac - $GREP "$magic_exe" "$1$func_ltwrapper_exec_suffix" >/dev/null 2>&1 -} - -# func_ltwrapper_scriptname file -# Assumes file is an ltwrapper_executable -# uses $file to determine the appropriate filename for a -# temporary ltwrapper_script. -func_ltwrapper_scriptname () -{ - func_dirname_and_basename "$1" "" "." - func_stripname '' '.exe' "$func_basename_result" - func_ltwrapper_scriptname_result=$func_dirname_result/$objdir/${func_stripname_result}_ltshwrapper -} - -# func_ltwrapper_p file -# True iff FILE is a libtool wrapper script or wrapper executable -# This function is only a basic sanity check; it will hardly flush out -# determined imposters. -func_ltwrapper_p () -{ - func_ltwrapper_script_p "$1" || func_ltwrapper_executable_p "$1" -} - - -# func_execute_cmds commands fail_cmd -# Execute tilde-delimited COMMANDS. -# If FAIL_CMD is given, eval that upon failure. -# FAIL_CMD may read-access the current command in variable CMD! -func_execute_cmds () -{ - $debug_cmd - - save_ifs=$IFS; IFS='~' - for cmd in $1; do - IFS=$sp$nl - eval cmd=\"$cmd\" - IFS=$save_ifs - func_show_eval "$cmd" "${2-:}" - done - IFS=$save_ifs -} - - -# func_source file -# Source FILE, adding directory component if necessary. -# Note that it is not necessary on cygwin/mingw to append a dot to -# FILE even if both FILE and FILE.exe exist: automatic-append-.exe -# behavior happens only for exec(3), not for open(2)! Also, sourcing -# 'FILE.' does not work on cygwin managed mounts. -func_source () -{ - $debug_cmd - - case $1 in - */* | *\\*) . "$1" ;; - *) . "./$1" ;; - esac -} - - -# func_resolve_sysroot PATH -# Replace a leading = in PATH with a sysroot. Store the result into -# func_resolve_sysroot_result -func_resolve_sysroot () -{ - func_resolve_sysroot_result=$1 - case $func_resolve_sysroot_result in - =*) - func_stripname '=' '' "$func_resolve_sysroot_result" - func_resolve_sysroot_result=$lt_sysroot$func_stripname_result - ;; - esac -} - -# func_replace_sysroot PATH -# If PATH begins with the sysroot, replace it with = and -# store the result into func_replace_sysroot_result. -func_replace_sysroot () -{ - case $lt_sysroot:$1 in - ?*:"$lt_sysroot"*) - func_stripname "$lt_sysroot" '' "$1" - func_replace_sysroot_result='='$func_stripname_result - ;; - *) - # Including no sysroot. - func_replace_sysroot_result=$1 - ;; - esac -} - -# func_infer_tag arg -# Infer tagged configuration to use if any are available and -# if one wasn't chosen via the "--tag" command line option. -# Only attempt this if the compiler in the base compile -# command doesn't match the default compiler. -# arg is usually of the form 'gcc ...' -func_infer_tag () -{ - $debug_cmd - - if test -n "$available_tags" && test -z "$tagname"; then - CC_quoted= - for arg in $CC; do - func_append_quoted CC_quoted "$arg" - done - CC_expanded=`func_echo_all $CC` - CC_quoted_expanded=`func_echo_all $CC_quoted` - case $@ in - # Blanks in the command may have been stripped by the calling shell, - # but not from the CC environment variable when configure was run. - " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \ - " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*) ;; - # Blanks at the start of $base_compile will cause this to fail - # if we don't check for them as well. - *) - for z in $available_tags; do - if $GREP "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then - # Evaluate the configuration. - eval "`$SED -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`" - CC_quoted= - for arg in $CC; do - # Double-quote args containing other shell metacharacters. - func_append_quoted CC_quoted "$arg" - done - CC_expanded=`func_echo_all $CC` - CC_quoted_expanded=`func_echo_all $CC_quoted` - case "$@ " in - " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \ - " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*) - # The compiler in the base compile command matches - # the one in the tagged configuration. - # Assume this is the tagged configuration we want. - tagname=$z - break - ;; - esac - fi - done - # If $tagname still isn't set, then no tagged configuration - # was found and let the user know that the "--tag" command - # line option must be used. - if test -z "$tagname"; then - func_echo "unable to infer tagged configuration" - func_fatal_error "specify a tag with '--tag'" -# else -# func_verbose "using $tagname tagged configuration" - fi - ;; - esac - fi -} - - - -# func_write_libtool_object output_name pic_name nonpic_name -# Create a libtool object file (analogous to a ".la" file), -# but don't create it if we're doing a dry run. -func_write_libtool_object () -{ - write_libobj=$1 - if test yes = "$build_libtool_libs"; then - write_lobj=\'$2\' - else - write_lobj=none - fi - - if test yes = "$build_old_libs"; then - write_oldobj=\'$3\' - else - write_oldobj=none - fi - - $opt_dry_run || { - cat >${write_libobj}T </dev/null` - if test "$?" -eq 0 && test -n "$func_convert_core_file_wine_to_w32_tmp"; then - func_convert_core_file_wine_to_w32_result=`$ECHO "$func_convert_core_file_wine_to_w32_tmp" | - $SED -e "$sed_naive_backslashify"` - else - func_convert_core_file_wine_to_w32_result= - fi - fi -} -# end: func_convert_core_file_wine_to_w32 - - -# func_convert_core_path_wine_to_w32 ARG -# Helper function used by path conversion functions when $build is *nix, and -# $host is mingw, cygwin, or some other w32 environment. Relies on a correctly -# configured wine environment available, with the winepath program in $build's -# $PATH. Assumes ARG has no leading or trailing path separator characters. -# -# ARG is path to be converted from $build format to win32. -# Result is available in $func_convert_core_path_wine_to_w32_result. -# Unconvertible file (directory) names in ARG are skipped; if no directory names -# are convertible, then the result may be empty. -func_convert_core_path_wine_to_w32 () -{ - $debug_cmd - - # unfortunately, winepath doesn't convert paths, only file names - func_convert_core_path_wine_to_w32_result= - if test -n "$1"; then - oldIFS=$IFS - IFS=: - for func_convert_core_path_wine_to_w32_f in $1; do - IFS=$oldIFS - func_convert_core_file_wine_to_w32 "$func_convert_core_path_wine_to_w32_f" - if test -n "$func_convert_core_file_wine_to_w32_result"; then - if test -z "$func_convert_core_path_wine_to_w32_result"; then - func_convert_core_path_wine_to_w32_result=$func_convert_core_file_wine_to_w32_result - else - func_append func_convert_core_path_wine_to_w32_result ";$func_convert_core_file_wine_to_w32_result" - fi - fi - done - IFS=$oldIFS - fi -} -# end: func_convert_core_path_wine_to_w32 - - -# func_cygpath ARGS... -# Wrapper around calling the cygpath program via LT_CYGPATH. This is used when -# when (1) $build is *nix and Cygwin is hosted via a wine environment; or (2) -# $build is MSYS and $host is Cygwin, or (3) $build is Cygwin. In case (1) or -# (2), returns the Cygwin file name or path in func_cygpath_result (input -# file name or path is assumed to be in w32 format, as previously converted -# from $build's *nix or MSYS format). In case (3), returns the w32 file name -# or path in func_cygpath_result (input file name or path is assumed to be in -# Cygwin format). Returns an empty string on error. -# -# ARGS are passed to cygpath, with the last one being the file name or path to -# be converted. -# -# Specify the absolute *nix (or w32) name to cygpath in the LT_CYGPATH -# environment variable; do not put it in $PATH. -func_cygpath () -{ - $debug_cmd - - if test -n "$LT_CYGPATH" && test -f "$LT_CYGPATH"; then - func_cygpath_result=`$LT_CYGPATH "$@" 2>/dev/null` - if test "$?" -ne 0; then - # on failure, ensure result is empty - func_cygpath_result= - fi - else - func_cygpath_result= - func_error "LT_CYGPATH is empty or specifies non-existent file: '$LT_CYGPATH'" - fi -} -#end: func_cygpath - - -# func_convert_core_msys_to_w32 ARG -# Convert file name or path ARG from MSYS format to w32 format. Return -# result in func_convert_core_msys_to_w32_result. -func_convert_core_msys_to_w32 () -{ - $debug_cmd - - # awkward: cmd appends spaces to result - func_convert_core_msys_to_w32_result=`( cmd //c echo "$1" ) 2>/dev/null | - $SED -e 's/[ ]*$//' -e "$sed_naive_backslashify"` -} -#end: func_convert_core_msys_to_w32 - - -# func_convert_file_check ARG1 ARG2 -# Verify that ARG1 (a file name in $build format) was converted to $host -# format in ARG2. Otherwise, emit an error message, but continue (resetting -# func_to_host_file_result to ARG1). -func_convert_file_check () -{ - $debug_cmd - - if test -z "$2" && test -n "$1"; then - func_error "Could not determine host file name corresponding to" - func_error " '$1'" - func_error "Continuing, but uninstalled executables may not work." - # Fallback: - func_to_host_file_result=$1 - fi -} -# end func_convert_file_check - - -# func_convert_path_check FROM_PATHSEP TO_PATHSEP FROM_PATH TO_PATH -# Verify that FROM_PATH (a path in $build format) was converted to $host -# format in TO_PATH. Otherwise, emit an error message, but continue, resetting -# func_to_host_file_result to a simplistic fallback value (see below). -func_convert_path_check () -{ - $debug_cmd - - if test -z "$4" && test -n "$3"; then - func_error "Could not determine the host path corresponding to" - func_error " '$3'" - func_error "Continuing, but uninstalled executables may not work." - # Fallback. This is a deliberately simplistic "conversion" and - # should not be "improved". See libtool.info. - if test "x$1" != "x$2"; then - lt_replace_pathsep_chars="s|$1|$2|g" - func_to_host_path_result=`echo "$3" | - $SED -e "$lt_replace_pathsep_chars"` - else - func_to_host_path_result=$3 - fi - fi -} -# end func_convert_path_check - - -# func_convert_path_front_back_pathsep FRONTPAT BACKPAT REPL ORIG -# Modifies func_to_host_path_result by prepending REPL if ORIG matches FRONTPAT -# and appending REPL if ORIG matches BACKPAT. -func_convert_path_front_back_pathsep () -{ - $debug_cmd - - case $4 in - $1 ) func_to_host_path_result=$3$func_to_host_path_result - ;; - esac - case $4 in - $2 ) func_append func_to_host_path_result "$3" - ;; - esac -} -# end func_convert_path_front_back_pathsep - - -################################################## -# $build to $host FILE NAME CONVERSION FUNCTIONS # -################################################## -# invoked via '$to_host_file_cmd ARG' -# -# In each case, ARG is the path to be converted from $build to $host format. -# Result will be available in $func_to_host_file_result. - - -# func_to_host_file ARG -# Converts the file name ARG from $build format to $host format. Return result -# in func_to_host_file_result. -func_to_host_file () -{ - $debug_cmd - - $to_host_file_cmd "$1" -} -# end func_to_host_file - - -# func_to_tool_file ARG LAZY -# converts the file name ARG from $build format to toolchain format. Return -# result in func_to_tool_file_result. If the conversion in use is listed -# in (the comma separated) LAZY, no conversion takes place. -func_to_tool_file () -{ - $debug_cmd - - case ,$2, in - *,"$to_tool_file_cmd",*) - func_to_tool_file_result=$1 - ;; - *) - $to_tool_file_cmd "$1" - func_to_tool_file_result=$func_to_host_file_result - ;; - esac -} -# end func_to_tool_file - - -# func_convert_file_noop ARG -# Copy ARG to func_to_host_file_result. -func_convert_file_noop () -{ - func_to_host_file_result=$1 -} -# end func_convert_file_noop - - -# func_convert_file_msys_to_w32 ARG -# Convert file name ARG from (mingw) MSYS to (mingw) w32 format; automatic -# conversion to w32 is not available inside the cwrapper. Returns result in -# func_to_host_file_result. -func_convert_file_msys_to_w32 () -{ - $debug_cmd - - func_to_host_file_result=$1 - if test -n "$1"; then - func_convert_core_msys_to_w32 "$1" - func_to_host_file_result=$func_convert_core_msys_to_w32_result - fi - func_convert_file_check "$1" "$func_to_host_file_result" -} -# end func_convert_file_msys_to_w32 - - -# func_convert_file_cygwin_to_w32 ARG -# Convert file name ARG from Cygwin to w32 format. Returns result in -# func_to_host_file_result. -func_convert_file_cygwin_to_w32 () -{ - $debug_cmd - - func_to_host_file_result=$1 - if test -n "$1"; then - # because $build is cygwin, we call "the" cygpath in $PATH; no need to use - # LT_CYGPATH in this case. - func_to_host_file_result=`cygpath -m "$1"` - fi - func_convert_file_check "$1" "$func_to_host_file_result" -} -# end func_convert_file_cygwin_to_w32 - - -# func_convert_file_nix_to_w32 ARG -# Convert file name ARG from *nix to w32 format. Requires a wine environment -# and a working winepath. Returns result in func_to_host_file_result. -func_convert_file_nix_to_w32 () -{ - $debug_cmd - - func_to_host_file_result=$1 - if test -n "$1"; then - func_convert_core_file_wine_to_w32 "$1" - func_to_host_file_result=$func_convert_core_file_wine_to_w32_result - fi - func_convert_file_check "$1" "$func_to_host_file_result" -} -# end func_convert_file_nix_to_w32 - - -# func_convert_file_msys_to_cygwin ARG -# Convert file name ARG from MSYS to Cygwin format. Requires LT_CYGPATH set. -# Returns result in func_to_host_file_result. -func_convert_file_msys_to_cygwin () -{ - $debug_cmd - - func_to_host_file_result=$1 - if test -n "$1"; then - func_convert_core_msys_to_w32 "$1" - func_cygpath -u "$func_convert_core_msys_to_w32_result" - func_to_host_file_result=$func_cygpath_result - fi - func_convert_file_check "$1" "$func_to_host_file_result" -} -# end func_convert_file_msys_to_cygwin - - -# func_convert_file_nix_to_cygwin ARG -# Convert file name ARG from *nix to Cygwin format. Requires Cygwin installed -# in a wine environment, working winepath, and LT_CYGPATH set. Returns result -# in func_to_host_file_result. -func_convert_file_nix_to_cygwin () -{ - $debug_cmd - - func_to_host_file_result=$1 - if test -n "$1"; then - # convert from *nix to w32, then use cygpath to convert from w32 to cygwin. - func_convert_core_file_wine_to_w32 "$1" - func_cygpath -u "$func_convert_core_file_wine_to_w32_result" - func_to_host_file_result=$func_cygpath_result - fi - func_convert_file_check "$1" "$func_to_host_file_result" -} -# end func_convert_file_nix_to_cygwin - - -############################################# -# $build to $host PATH CONVERSION FUNCTIONS # -############################################# -# invoked via '$to_host_path_cmd ARG' -# -# In each case, ARG is the path to be converted from $build to $host format. -# The result will be available in $func_to_host_path_result. -# -# Path separators are also converted from $build format to $host format. If -# ARG begins or ends with a path separator character, it is preserved (but -# converted to $host format) on output. -# -# All path conversion functions are named using the following convention: -# file name conversion function : func_convert_file_X_to_Y () -# path conversion function : func_convert_path_X_to_Y () -# where, for any given $build/$host combination the 'X_to_Y' value is the -# same. If conversion functions are added for new $build/$host combinations, -# the two new functions must follow this pattern, or func_init_to_host_path_cmd -# will break. - - -# func_init_to_host_path_cmd -# Ensures that function "pointer" variable $to_host_path_cmd is set to the -# appropriate value, based on the value of $to_host_file_cmd. -to_host_path_cmd= -func_init_to_host_path_cmd () -{ - $debug_cmd - - if test -z "$to_host_path_cmd"; then - func_stripname 'func_convert_file_' '' "$to_host_file_cmd" - to_host_path_cmd=func_convert_path_$func_stripname_result - fi -} - - -# func_to_host_path ARG -# Converts the path ARG from $build format to $host format. Return result -# in func_to_host_path_result. -func_to_host_path () -{ - $debug_cmd - - func_init_to_host_path_cmd - $to_host_path_cmd "$1" -} -# end func_to_host_path - - -# func_convert_path_noop ARG -# Copy ARG to func_to_host_path_result. -func_convert_path_noop () -{ - func_to_host_path_result=$1 -} -# end func_convert_path_noop - - -# func_convert_path_msys_to_w32 ARG -# Convert path ARG from (mingw) MSYS to (mingw) w32 format; automatic -# conversion to w32 is not available inside the cwrapper. Returns result in -# func_to_host_path_result. -func_convert_path_msys_to_w32 () -{ - $debug_cmd - - func_to_host_path_result=$1 - if test -n "$1"; then - # Remove leading and trailing path separator characters from ARG. MSYS - # behavior is inconsistent here; cygpath turns them into '.;' and ';.'; - # and winepath ignores them completely. - func_stripname : : "$1" - func_to_host_path_tmp1=$func_stripname_result - func_convert_core_msys_to_w32 "$func_to_host_path_tmp1" - func_to_host_path_result=$func_convert_core_msys_to_w32_result - func_convert_path_check : ";" \ - "$func_to_host_path_tmp1" "$func_to_host_path_result" - func_convert_path_front_back_pathsep ":*" "*:" ";" "$1" - fi -} -# end func_convert_path_msys_to_w32 - - -# func_convert_path_cygwin_to_w32 ARG -# Convert path ARG from Cygwin to w32 format. Returns result in -# func_to_host_file_result. -func_convert_path_cygwin_to_w32 () -{ - $debug_cmd - - func_to_host_path_result=$1 - if test -n "$1"; then - # See func_convert_path_msys_to_w32: - func_stripname : : "$1" - func_to_host_path_tmp1=$func_stripname_result - func_to_host_path_result=`cygpath -m -p "$func_to_host_path_tmp1"` - func_convert_path_check : ";" \ - "$func_to_host_path_tmp1" "$func_to_host_path_result" - func_convert_path_front_back_pathsep ":*" "*:" ";" "$1" - fi -} -# end func_convert_path_cygwin_to_w32 - - -# func_convert_path_nix_to_w32 ARG -# Convert path ARG from *nix to w32 format. Requires a wine environment and -# a working winepath. Returns result in func_to_host_file_result. -func_convert_path_nix_to_w32 () -{ - $debug_cmd - - func_to_host_path_result=$1 - if test -n "$1"; then - # See func_convert_path_msys_to_w32: - func_stripname : : "$1" - func_to_host_path_tmp1=$func_stripname_result - func_convert_core_path_wine_to_w32 "$func_to_host_path_tmp1" - func_to_host_path_result=$func_convert_core_path_wine_to_w32_result - func_convert_path_check : ";" \ - "$func_to_host_path_tmp1" "$func_to_host_path_result" - func_convert_path_front_back_pathsep ":*" "*:" ";" "$1" - fi -} -# end func_convert_path_nix_to_w32 - - -# func_convert_path_msys_to_cygwin ARG -# Convert path ARG from MSYS to Cygwin format. Requires LT_CYGPATH set. -# Returns result in func_to_host_file_result. -func_convert_path_msys_to_cygwin () -{ - $debug_cmd - - func_to_host_path_result=$1 - if test -n "$1"; then - # See func_convert_path_msys_to_w32: - func_stripname : : "$1" - func_to_host_path_tmp1=$func_stripname_result - func_convert_core_msys_to_w32 "$func_to_host_path_tmp1" - func_cygpath -u -p "$func_convert_core_msys_to_w32_result" - func_to_host_path_result=$func_cygpath_result - func_convert_path_check : : \ - "$func_to_host_path_tmp1" "$func_to_host_path_result" - func_convert_path_front_back_pathsep ":*" "*:" : "$1" - fi -} -# end func_convert_path_msys_to_cygwin - - -# func_convert_path_nix_to_cygwin ARG -# Convert path ARG from *nix to Cygwin format. Requires Cygwin installed in a -# a wine environment, working winepath, and LT_CYGPATH set. Returns result in -# func_to_host_file_result. -func_convert_path_nix_to_cygwin () -{ - $debug_cmd - - func_to_host_path_result=$1 - if test -n "$1"; then - # Remove leading and trailing path separator characters from - # ARG. msys behavior is inconsistent here, cygpath turns them - # into '.;' and ';.', and winepath ignores them completely. - func_stripname : : "$1" - func_to_host_path_tmp1=$func_stripname_result - func_convert_core_path_wine_to_w32 "$func_to_host_path_tmp1" - func_cygpath -u -p "$func_convert_core_path_wine_to_w32_result" - func_to_host_path_result=$func_cygpath_result - func_convert_path_check : : \ - "$func_to_host_path_tmp1" "$func_to_host_path_result" - func_convert_path_front_back_pathsep ":*" "*:" : "$1" - fi -} -# end func_convert_path_nix_to_cygwin - - -# func_dll_def_p FILE -# True iff FILE is a Windows DLL '.def' file. -# Keep in sync with _LT_DLL_DEF_P in libtool.m4 -func_dll_def_p () -{ - $debug_cmd - - func_dll_def_p_tmp=`$SED -n \ - -e 's/^[ ]*//' \ - -e '/^\(;.*\)*$/d' \ - -e 's/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p' \ - -e q \ - "$1"` - test DEF = "$func_dll_def_p_tmp" -} - - -# func_mode_compile arg... -func_mode_compile () -{ - $debug_cmd - - # Get the compilation command and the source file. - base_compile= - srcfile=$nonopt # always keep a non-empty value in "srcfile" - suppress_opt=yes - suppress_output= - arg_mode=normal - libobj= - later= - pie_flag= - - for arg - do - case $arg_mode in - arg ) - # do not "continue". Instead, add this to base_compile - lastarg=$arg - arg_mode=normal - ;; - - target ) - libobj=$arg - arg_mode=normal - continue - ;; - - normal ) - # Accept any command-line options. - case $arg in - -o) - test -n "$libobj" && \ - func_fatal_error "you cannot specify '-o' more than once" - arg_mode=target - continue - ;; - - -pie | -fpie | -fPIE) - func_append pie_flag " $arg" - continue - ;; - - -shared | -static | -prefer-pic | -prefer-non-pic) - func_append later " $arg" - continue - ;; - - -no-suppress) - suppress_opt=no - continue - ;; - - -Xcompiler) - arg_mode=arg # the next one goes into the "base_compile" arg list - continue # The current "srcfile" will either be retained or - ;; # replaced later. I would guess that would be a bug. - - -Wc,*) - func_stripname '-Wc,' '' "$arg" - args=$func_stripname_result - lastarg= - save_ifs=$IFS; IFS=, - for arg in $args; do - IFS=$save_ifs - func_append_quoted lastarg "$arg" - done - IFS=$save_ifs - func_stripname ' ' '' "$lastarg" - lastarg=$func_stripname_result - - # Add the arguments to base_compile. - func_append base_compile " $lastarg" - continue - ;; - - *) - # Accept the current argument as the source file. - # The previous "srcfile" becomes the current argument. - # - lastarg=$srcfile - srcfile=$arg - ;; - esac # case $arg - ;; - esac # case $arg_mode - - # Aesthetically quote the previous argument. - func_append_quoted base_compile "$lastarg" - done # for arg - - case $arg_mode in - arg) - func_fatal_error "you must specify an argument for -Xcompile" - ;; - target) - func_fatal_error "you must specify a target with '-o'" - ;; - *) - # Get the name of the library object. - test -z "$libobj" && { - func_basename "$srcfile" - libobj=$func_basename_result - } - ;; - esac - - # Recognize several different file suffixes. - # If the user specifies -o file.o, it is replaced with file.lo - case $libobj in - *.[cCFSifmso] | \ - *.ada | *.adb | *.ads | *.asm | \ - *.c++ | *.cc | *.ii | *.class | *.cpp | *.cxx | \ - *.[fF][09]? | *.for | *.java | *.go | *.obj | *.sx | *.cu | *.cup) - func_xform "$libobj" - libobj=$func_xform_result - ;; - esac - - case $libobj in - *.lo) func_lo2o "$libobj"; obj=$func_lo2o_result ;; - *) - func_fatal_error "cannot determine name of library object from '$libobj'" - ;; - esac - - func_infer_tag $base_compile - - for arg in $later; do - case $arg in - -shared) - test yes = "$build_libtool_libs" \ - || func_fatal_configuration "cannot build a shared library" - build_old_libs=no - continue - ;; - - -static) - build_libtool_libs=no - build_old_libs=yes - continue - ;; - - -prefer-pic) - pic_mode=yes - continue - ;; - - -prefer-non-pic) - pic_mode=no - continue - ;; - esac - done - - func_quote_for_eval "$libobj" - test "X$libobj" != "X$func_quote_for_eval_result" \ - && $ECHO "X$libobj" | $GREP '[]~#^*{};<>?"'"'"' &()|`$[]' \ - && func_warning "libobj name '$libobj' may not contain shell special characters." - func_dirname_and_basename "$obj" "/" "" - objname=$func_basename_result - xdir=$func_dirname_result - lobj=$xdir$objdir/$objname - - test -z "$base_compile" && \ - func_fatal_help "you must specify a compilation command" - - # Delete any leftover library objects. - if test yes = "$build_old_libs"; then - removelist="$obj $lobj $libobj ${libobj}T" - else - removelist="$lobj $libobj ${libobj}T" - fi - - # On Cygwin there's no "real" PIC flag so we must build both object types - case $host_os in - cygwin* | mingw* | pw32* | os2* | cegcc*) - pic_mode=default - ;; - esac - if test no = "$pic_mode" && test pass_all != "$deplibs_check_method"; then - # non-PIC code in shared libraries is not supported - pic_mode=default - fi - - # Calculate the filename of the output object if compiler does - # not support -o with -c - if test no = "$compiler_c_o"; then - output_obj=`$ECHO "$srcfile" | $SED 's%^.*/%%; s%\.[^.]*$%%'`.$objext - lockfile=$output_obj.lock - else - output_obj= - need_locks=no - lockfile= - fi - - # Lock this critical section if it is needed - # We use this script file to make the link, it avoids creating a new file - if test yes = "$need_locks"; then - until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do - func_echo "Waiting for $lockfile to be removed" - sleep 2 - done - elif test warn = "$need_locks"; then - if test -f "$lockfile"; then - $ECHO "\ -*** ERROR, $lockfile exists and contains: -`cat $lockfile 2>/dev/null` - -This indicates that another process is trying to use the same -temporary object file, and libtool could not work around it because -your compiler does not support '-c' and '-o' together. If you -repeat this compilation, it may succeed, by chance, but you had better -avoid parallel builds (make -j) in this platform, or get a better -compiler." - - $opt_dry_run || $RM $removelist - exit $EXIT_FAILURE - fi - func_append removelist " $output_obj" - $ECHO "$srcfile" > "$lockfile" - fi - - $opt_dry_run || $RM $removelist - func_append removelist " $lockfile" - trap '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' 1 2 15 - - func_to_tool_file "$srcfile" func_convert_file_msys_to_w32 - srcfile=$func_to_tool_file_result - func_quote_for_eval "$srcfile" - qsrcfile=$func_quote_for_eval_result - - # Only build a PIC object if we are building libtool libraries. - if test yes = "$build_libtool_libs"; then - # Without this assignment, base_compile gets emptied. - fbsd_hideous_sh_bug=$base_compile - - if test no != "$pic_mode"; then - command="$base_compile $qsrcfile $pic_flag" - else - # Don't build PIC code - command="$base_compile $qsrcfile" - fi - - func_mkdir_p "$xdir$objdir" - - if test -z "$output_obj"; then - # Place PIC objects in $objdir - func_append command " -o $lobj" - fi - - func_show_eval_locale "$command" \ - 'test -n "$output_obj" && $RM $removelist; exit $EXIT_FAILURE' - - if test warn = "$need_locks" && - test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then - $ECHO "\ -*** ERROR, $lockfile contains: -`cat $lockfile 2>/dev/null` - -but it should contain: -$srcfile - -This indicates that another process is trying to use the same -temporary object file, and libtool could not work around it because -your compiler does not support '-c' and '-o' together. If you -repeat this compilation, it may succeed, by chance, but you had better -avoid parallel builds (make -j) in this platform, or get a better -compiler." - - $opt_dry_run || $RM $removelist - exit $EXIT_FAILURE - fi - - # Just move the object if needed, then go on to compile the next one - if test -n "$output_obj" && test "X$output_obj" != "X$lobj"; then - func_show_eval '$MV "$output_obj" "$lobj"' \ - 'error=$?; $opt_dry_run || $RM $removelist; exit $error' - fi - - # Allow error messages only from the first compilation. - if test yes = "$suppress_opt"; then - suppress_output=' >/dev/null 2>&1' - fi - fi - - # Only build a position-dependent object if we build old libraries. - if test yes = "$build_old_libs"; then - if test yes != "$pic_mode"; then - # Don't build PIC code - command="$base_compile $qsrcfile$pie_flag" - else - command="$base_compile $qsrcfile $pic_flag" - fi - if test yes = "$compiler_c_o"; then - func_append command " -o $obj" - fi - - # Suppress compiler output if we already did a PIC compilation. - func_append command "$suppress_output" - func_show_eval_locale "$command" \ - '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' - - if test warn = "$need_locks" && - test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then - $ECHO "\ -*** ERROR, $lockfile contains: -`cat $lockfile 2>/dev/null` - -but it should contain: -$srcfile - -This indicates that another process is trying to use the same -temporary object file, and libtool could not work around it because -your compiler does not support '-c' and '-o' together. If you -repeat this compilation, it may succeed, by chance, but you had better -avoid parallel builds (make -j) in this platform, or get a better -compiler." - - $opt_dry_run || $RM $removelist - exit $EXIT_FAILURE - fi - - # Just move the object if needed - if test -n "$output_obj" && test "X$output_obj" != "X$obj"; then - func_show_eval '$MV "$output_obj" "$obj"' \ - 'error=$?; $opt_dry_run || $RM $removelist; exit $error' - fi - fi - - $opt_dry_run || { - func_write_libtool_object "$libobj" "$objdir/$objname" "$objname" - - # Unlock the critical section if it was locked - if test no != "$need_locks"; then - removelist=$lockfile - $RM "$lockfile" - fi - } - - exit $EXIT_SUCCESS -} - -$opt_help || { - test compile = "$opt_mode" && func_mode_compile ${1+"$@"} -} - -func_mode_help () -{ - # We need to display help for each of the modes. - case $opt_mode in - "") - # Generic help is extracted from the usage comments - # at the start of this file. - func_help - ;; - - clean) - $ECHO \ -"Usage: $progname [OPTION]... --mode=clean RM [RM-OPTION]... FILE... - -Remove files from the build directory. - -RM is the name of the program to use to delete files associated with each FILE -(typically '/bin/rm'). RM-OPTIONS are options (such as '-f') to be passed -to RM. - -If FILE is a libtool library, object or program, all the files associated -with it are deleted. Otherwise, only FILE itself is deleted using RM." - ;; - - compile) - $ECHO \ -"Usage: $progname [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE - -Compile a source file into a libtool library object. - -This mode accepts the following additional options: - - -o OUTPUT-FILE set the output file name to OUTPUT-FILE - -no-suppress do not suppress compiler output for multiple passes - -prefer-pic try to build PIC objects only - -prefer-non-pic try to build non-PIC objects only - -shared do not build a '.o' file suitable for static linking - -static only build a '.o' file suitable for static linking - -Wc,FLAG pass FLAG directly to the compiler - -COMPILE-COMMAND is a command to be used in creating a 'standard' object file -from the given SOURCEFILE. - -The output file name is determined by removing the directory component from -SOURCEFILE, then substituting the C source code suffix '.c' with the -library object suffix, '.lo'." - ;; - - execute) - $ECHO \ -"Usage: $progname [OPTION]... --mode=execute COMMAND [ARGS]... - -Automatically set library path, then run a program. - -This mode accepts the following additional options: - - -dlopen FILE add the directory containing FILE to the library path - -This mode sets the library path environment variable according to '-dlopen' -flags. - -If any of the ARGS are libtool executable wrappers, then they are translated -into their corresponding uninstalled binary, and any of their required library -directories are added to the library path. - -Then, COMMAND is executed, with ARGS as arguments." - ;; - - finish) - $ECHO \ -"Usage: $progname [OPTION]... --mode=finish [LIBDIR]... - -Complete the installation of libtool libraries. - -Each LIBDIR is a directory that contains libtool libraries. - -The commands that this mode executes may require superuser privileges. Use -the '--dry-run' option if you just want to see what would be executed." - ;; - - install) - $ECHO \ -"Usage: $progname [OPTION]... --mode=install INSTALL-COMMAND... - -Install executables or libraries. - -INSTALL-COMMAND is the installation command. The first component should be -either the 'install' or 'cp' program. - -The following components of INSTALL-COMMAND are treated specially: - - -inst-prefix-dir PREFIX-DIR Use PREFIX-DIR as a staging area for installation - -The rest of the components are interpreted as arguments to that command (only -BSD-compatible install options are recognized)." - ;; - - link) - $ECHO \ -"Usage: $progname [OPTION]... --mode=link LINK-COMMAND... - -Link object files or libraries together to form another library, or to -create an executable program. - -LINK-COMMAND is a command using the C compiler that you would use to create -a program from several object files. - -The following components of LINK-COMMAND are treated specially: - - -all-static do not do any dynamic linking at all - -avoid-version do not add a version suffix if possible - -bindir BINDIR specify path to binaries directory (for systems where - libraries must be found in the PATH setting at runtime) - -dlopen FILE '-dlpreopen' FILE if it cannot be dlopened at runtime - -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols - -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3) - -export-symbols SYMFILE - try to export only the symbols listed in SYMFILE - -export-symbols-regex REGEX - try to export only the symbols matching REGEX - -LLIBDIR search LIBDIR for required installed libraries - -lNAME OUTPUT-FILE requires the installed library libNAME - -module build a library that can dlopened - -no-fast-install disable the fast-install mode - -no-install link a not-installable executable - -no-undefined declare that a library does not refer to external symbols - -o OUTPUT-FILE create OUTPUT-FILE from the specified objects - -objectlist FILE use a list of object files found in FILE to specify objects - -os2dllname NAME force a short DLL name on OS/2 (no effect on other OSes) - -precious-files-regex REGEX - don't remove output files matching REGEX - -release RELEASE specify package release information - -rpath LIBDIR the created library will eventually be installed in LIBDIR - -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries - -shared only do dynamic linking of libtool libraries - -shrext SUFFIX override the standard shared library file extension - -static do not do any dynamic linking of uninstalled libtool libraries - -static-libtool-libs - do not do any dynamic linking of libtool libraries - -version-info CURRENT[:REVISION[:AGE]] - specify library version info [each variable defaults to 0] - -weak LIBNAME declare that the target provides the LIBNAME interface - -Wc,FLAG - -Xcompiler FLAG pass linker-specific FLAG directly to the compiler - -Wl,FLAG - -Xlinker FLAG pass linker-specific FLAG directly to the linker - -XCClinker FLAG pass link-specific FLAG to the compiler driver (CC) - -All other options (arguments beginning with '-') are ignored. - -Every other argument is treated as a filename. Files ending in '.la' are -treated as uninstalled libtool libraries, other files are standard or library -object files. - -If the OUTPUT-FILE ends in '.la', then a libtool library is created, -only library objects ('.lo' files) may be specified, and '-rpath' is -required, except when creating a convenience library. - -If OUTPUT-FILE ends in '.a' or '.lib', then a standard library is created -using 'ar' and 'ranlib', or on Windows using 'lib'. - -If OUTPUT-FILE ends in '.lo' or '.$objext', then a reloadable object file -is created, otherwise an executable program is created." - ;; - - uninstall) - $ECHO \ -"Usage: $progname [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE... - -Remove libraries from an installation directory. - -RM is the name of the program to use to delete files associated with each FILE -(typically '/bin/rm'). RM-OPTIONS are options (such as '-f') to be passed -to RM. - -If FILE is a libtool library, all the files associated with it are deleted. -Otherwise, only FILE itself is deleted using RM." - ;; - - *) - func_fatal_help "invalid operation mode '$opt_mode'" - ;; - esac - - echo - $ECHO "Try '$progname --help' for more information about other modes." -} - -# Now that we've collected a possible --mode arg, show help if necessary -if $opt_help; then - if test : = "$opt_help"; then - func_mode_help - else - { - func_help noexit - for opt_mode in compile link execute install finish uninstall clean; do - func_mode_help - done - } | $SED -n '1p; 2,$s/^Usage:/ or: /p' - { - func_help noexit - for opt_mode in compile link execute install finish uninstall clean; do - echo - func_mode_help - done - } | - $SED '1d - /^When reporting/,/^Report/{ - H - d - } - $x - /information about other modes/d - /more detailed .*MODE/d - s/^Usage:.*--mode=\([^ ]*\) .*/Description of \1 mode:/' - fi - exit $? -fi - - -# func_mode_execute arg... -func_mode_execute () -{ - $debug_cmd - - # The first argument is the command name. - cmd=$nonopt - test -z "$cmd" && \ - func_fatal_help "you must specify a COMMAND" - - # Handle -dlopen flags immediately. - for file in $opt_dlopen; do - test -f "$file" \ - || func_fatal_help "'$file' is not a file" - - dir= - case $file in - *.la) - func_resolve_sysroot "$file" - file=$func_resolve_sysroot_result - - # Check to see that this really is a libtool archive. - func_lalib_unsafe_p "$file" \ - || func_fatal_help "'$lib' is not a valid libtool archive" - - # Read the libtool library. - dlname= - library_names= - func_source "$file" - - # Skip this library if it cannot be dlopened. - if test -z "$dlname"; then - # Warn if it was a shared library. - test -n "$library_names" && \ - func_warning "'$file' was not linked with '-export-dynamic'" - continue - fi - - func_dirname "$file" "" "." - dir=$func_dirname_result - - if test -f "$dir/$objdir/$dlname"; then - func_append dir "/$objdir" - else - if test ! -f "$dir/$dlname"; then - func_fatal_error "cannot find '$dlname' in '$dir' or '$dir/$objdir'" - fi - fi - ;; - - *.lo) - # Just add the directory containing the .lo file. - func_dirname "$file" "" "." - dir=$func_dirname_result - ;; - - *) - func_warning "'-dlopen' is ignored for non-libtool libraries and objects" - continue - ;; - esac - - # Get the absolute pathname. - absdir=`cd "$dir" && pwd` - test -n "$absdir" && dir=$absdir - - # Now add the directory to shlibpath_var. - if eval "test -z \"\$$shlibpath_var\""; then - eval "$shlibpath_var=\"\$dir\"" - else - eval "$shlibpath_var=\"\$dir:\$$shlibpath_var\"" - fi - done - - # This variable tells wrapper scripts just to set shlibpath_var - # rather than running their programs. - libtool_execute_magic=$magic - - # Check if any of the arguments is a wrapper script. - args= - for file - do - case $file in - -* | *.la | *.lo ) ;; - *) - # Do a test to see if this is really a libtool program. - if func_ltwrapper_script_p "$file"; then - func_source "$file" - # Transform arg to wrapped name. - file=$progdir/$program - elif func_ltwrapper_executable_p "$file"; then - func_ltwrapper_scriptname "$file" - func_source "$func_ltwrapper_scriptname_result" - # Transform arg to wrapped name. - file=$progdir/$program - fi - ;; - esac - # Quote arguments (to preserve shell metacharacters). - func_append_quoted args "$file" - done - - if $opt_dry_run; then - # Display what would be done. - if test -n "$shlibpath_var"; then - eval "\$ECHO \"\$shlibpath_var=\$$shlibpath_var\"" - echo "export $shlibpath_var" - fi - $ECHO "$cmd$args" - exit $EXIT_SUCCESS - else - if test -n "$shlibpath_var"; then - # Export the shlibpath_var. - eval "export $shlibpath_var" - fi - - # Restore saved environment variables - for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES - do - eval "if test \"\${save_$lt_var+set}\" = set; then - $lt_var=\$save_$lt_var; export $lt_var - else - $lt_unset $lt_var - fi" - done - - # Now prepare to actually exec the command. - exec_cmd=\$cmd$args - fi -} - -test execute = "$opt_mode" && func_mode_execute ${1+"$@"} - - -# func_mode_finish arg... -func_mode_finish () -{ - $debug_cmd - - libs= - libdirs= - admincmds= - - for opt in "$nonopt" ${1+"$@"} - do - if test -d "$opt"; then - func_append libdirs " $opt" - - elif test -f "$opt"; then - if func_lalib_unsafe_p "$opt"; then - func_append libs " $opt" - else - func_warning "'$opt' is not a valid libtool archive" - fi - - else - func_fatal_error "invalid argument '$opt'" - fi - done - - if test -n "$libs"; then - if test -n "$lt_sysroot"; then - sysroot_regex=`$ECHO "$lt_sysroot" | $SED "$sed_make_literal_regex"` - sysroot_cmd="s/\([ ']\)$sysroot_regex/\1/g;" - else - sysroot_cmd= - fi - - # Remove sysroot references - if $opt_dry_run; then - for lib in $libs; do - echo "removing references to $lt_sysroot and '=' prefixes from $lib" - done - else - tmpdir=`func_mktempdir` - for lib in $libs; do - $SED -e "$sysroot_cmd s/\([ ']-[LR]\)=/\1/g; s/\([ ']\)=/\1/g" $lib \ - > $tmpdir/tmp-la - mv -f $tmpdir/tmp-la $lib - done - ${RM}r "$tmpdir" - fi - fi - - if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then - for libdir in $libdirs; do - if test -n "$finish_cmds"; then - # Do each command in the finish commands. - func_execute_cmds "$finish_cmds" 'admincmds="$admincmds -'"$cmd"'"' - fi - if test -n "$finish_eval"; then - # Do the single finish_eval. - eval cmds=\"$finish_eval\" - $opt_dry_run || eval "$cmds" || func_append admincmds " - $cmds" - fi - done - fi - - # Exit here if they wanted silent mode. - $opt_quiet && exit $EXIT_SUCCESS - - if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then - echo "----------------------------------------------------------------------" - echo "Libraries have been installed in:" - for libdir in $libdirs; do - $ECHO " $libdir" - done - echo - echo "If you ever happen to want to link against installed libraries" - echo "in a given directory, LIBDIR, you must either use libtool, and" - echo "specify the full pathname of the library, or use the '-LLIBDIR'" - echo "flag during linking and do at least one of the following:" - if test -n "$shlibpath_var"; then - echo " - add LIBDIR to the '$shlibpath_var' environment variable" - echo " during execution" - fi - if test -n "$runpath_var"; then - echo " - add LIBDIR to the '$runpath_var' environment variable" - echo " during linking" - fi - if test -n "$hardcode_libdir_flag_spec"; then - libdir=LIBDIR - eval flag=\"$hardcode_libdir_flag_spec\" - - $ECHO " - use the '$flag' linker flag" - fi - if test -n "$admincmds"; then - $ECHO " - have your system administrator run these commands:$admincmds" - fi - if test -f /etc/ld.so.conf; then - echo " - have your system administrator add LIBDIR to '/etc/ld.so.conf'" - fi - echo - - echo "See any operating system documentation about shared libraries for" - case $host in - solaris2.[6789]|solaris2.1[0-9]) - echo "more information, such as the ld(1), crle(1) and ld.so(8) manual" - echo "pages." - ;; - *) - echo "more information, such as the ld(1) and ld.so(8) manual pages." - ;; - esac - echo "----------------------------------------------------------------------" - fi - exit $EXIT_SUCCESS -} - -test finish = "$opt_mode" && func_mode_finish ${1+"$@"} - - -# func_mode_install arg... -func_mode_install () -{ - $debug_cmd - - # There may be an optional sh(1) argument at the beginning of - # install_prog (especially on Windows NT). - if test "$SHELL" = "$nonopt" || test /bin/sh = "$nonopt" || - # Allow the use of GNU shtool's install command. - case $nonopt in *shtool*) :;; *) false;; esac - then - # Aesthetically quote it. - func_quote_for_eval "$nonopt" - install_prog="$func_quote_for_eval_result " - arg=$1 - shift - else - install_prog= - arg=$nonopt - fi - - # The real first argument should be the name of the installation program. - # Aesthetically quote it. - func_quote_for_eval "$arg" - func_append install_prog "$func_quote_for_eval_result" - install_shared_prog=$install_prog - case " $install_prog " in - *[\\\ /]cp\ *) install_cp=: ;; - *) install_cp=false ;; - esac - - # We need to accept at least all the BSD install flags. - dest= - files= - opts= - prev= - install_type= - isdir=false - stripme= - no_mode=: - for arg - do - arg2= - if test -n "$dest"; then - func_append files " $dest" - dest=$arg - continue - fi - - case $arg in - -d) isdir=: ;; - -f) - if $install_cp; then :; else - prev=$arg - fi - ;; - -g | -m | -o) - prev=$arg - ;; - -s) - stripme=" -s" - continue - ;; - -*) - ;; - *) - # If the previous option needed an argument, then skip it. - if test -n "$prev"; then - if test X-m = "X$prev" && test -n "$install_override_mode"; then - arg2=$install_override_mode - no_mode=false - fi - prev= - else - dest=$arg - continue - fi - ;; - esac - - # Aesthetically quote the argument. - func_quote_for_eval "$arg" - func_append install_prog " $func_quote_for_eval_result" - if test -n "$arg2"; then - func_quote_for_eval "$arg2" - fi - func_append install_shared_prog " $func_quote_for_eval_result" - done - - test -z "$install_prog" && \ - func_fatal_help "you must specify an install program" - - test -n "$prev" && \ - func_fatal_help "the '$prev' option requires an argument" - - if test -n "$install_override_mode" && $no_mode; then - if $install_cp; then :; else - func_quote_for_eval "$install_override_mode" - func_append install_shared_prog " -m $func_quote_for_eval_result" - fi - fi - - if test -z "$files"; then - if test -z "$dest"; then - func_fatal_help "no file or destination specified" - else - func_fatal_help "you must specify a destination" - fi - fi - - # Strip any trailing slash from the destination. - func_stripname '' '/' "$dest" - dest=$func_stripname_result - - # Check to see that the destination is a directory. - test -d "$dest" && isdir=: - if $isdir; then - destdir=$dest - destname= - else - func_dirname_and_basename "$dest" "" "." - destdir=$func_dirname_result - destname=$func_basename_result - - # Not a directory, so check to see that there is only one file specified. - set dummy $files; shift - test "$#" -gt 1 && \ - func_fatal_help "'$dest' is not a directory" - fi - case $destdir in - [\\/]* | [A-Za-z]:[\\/]*) ;; - *) - for file in $files; do - case $file in - *.lo) ;; - *) - func_fatal_help "'$destdir' must be an absolute directory name" - ;; - esac - done - ;; - esac - - # This variable tells wrapper scripts just to set variables rather - # than running their programs. - libtool_install_magic=$magic - - staticlibs= - future_libdirs= - current_libdirs= - for file in $files; do - - # Do each installation. - case $file in - *.$libext) - # Do the static libraries later. - func_append staticlibs " $file" - ;; - - *.la) - func_resolve_sysroot "$file" - file=$func_resolve_sysroot_result - - # Check to see that this really is a libtool archive. - func_lalib_unsafe_p "$file" \ - || func_fatal_help "'$file' is not a valid libtool archive" - - library_names= - old_library= - relink_command= - func_source "$file" - - # Add the libdir to current_libdirs if it is the destination. - if test "X$destdir" = "X$libdir"; then - case "$current_libdirs " in - *" $libdir "*) ;; - *) func_append current_libdirs " $libdir" ;; - esac - else - # Note the libdir as a future libdir. - case "$future_libdirs " in - *" $libdir "*) ;; - *) func_append future_libdirs " $libdir" ;; - esac - fi - - func_dirname "$file" "/" "" - dir=$func_dirname_result - func_append dir "$objdir" - - if test -n "$relink_command"; then - # Determine the prefix the user has applied to our future dir. - inst_prefix_dir=`$ECHO "$destdir" | $SED -e "s%$libdir\$%%"` - - # Don't allow the user to place us outside of our expected - # location b/c this prevents finding dependent libraries that - # are installed to the same prefix. - # At present, this check doesn't affect windows .dll's that - # are installed into $libdir/../bin (currently, that works fine) - # but it's something to keep an eye on. - test "$inst_prefix_dir" = "$destdir" && \ - func_fatal_error "error: cannot install '$file' to a directory not ending in $libdir" - - if test -n "$inst_prefix_dir"; then - # Stick the inst_prefix_dir data into the link command. - relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"` - else - relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%%"` - fi - - func_warning "relinking '$file'" - func_show_eval "$relink_command" \ - 'func_fatal_error "error: relink '\''$file'\'' with the above command before installing it"' - fi - - # See the names of the shared library. - set dummy $library_names; shift - if test -n "$1"; then - realname=$1 - shift - - srcname=$realname - test -n "$relink_command" && srcname=${realname}T - - # Install the shared library and build the symlinks. - func_show_eval "$install_shared_prog $dir/$srcname $destdir/$realname" \ - 'exit $?' - tstripme=$stripme - case $host_os in - cygwin* | mingw* | pw32* | cegcc*) - case $realname in - *.dll.a) - tstripme= - ;; - esac - ;; - os2*) - case $realname in - *_dll.a) - tstripme= - ;; - esac - ;; - esac - if test -n "$tstripme" && test -n "$striplib"; then - func_show_eval "$striplib $destdir/$realname" 'exit $?' - fi - - if test "$#" -gt 0; then - # Delete the old symlinks, and create new ones. - # Try 'ln -sf' first, because the 'ln' binary might depend on - # the symlink we replace! Solaris /bin/ln does not understand -f, - # so we also need to try rm && ln -s. - for linkname - do - test "$linkname" != "$realname" \ - && func_show_eval "(cd $destdir && { $LN_S -f $realname $linkname || { $RM $linkname && $LN_S $realname $linkname; }; })" - done - fi - - # Do each command in the postinstall commands. - lib=$destdir/$realname - func_execute_cmds "$postinstall_cmds" 'exit $?' - fi - - # Install the pseudo-library for information purposes. - func_basename "$file" - name=$func_basename_result - instname=$dir/${name}i - func_show_eval "$install_prog $instname $destdir/$name" 'exit $?' - - # Maybe install the static library, too. - test -n "$old_library" && func_append staticlibs " $dir/$old_library" - ;; - - *.lo) - # Install (i.e. copy) a libtool object. - - # Figure out destination file name, if it wasn't already specified. - if test -n "$destname"; then - destfile=$destdir/$destname - else - func_basename "$file" - destfile=$func_basename_result - destfile=$destdir/$destfile - fi - - # Deduce the name of the destination old-style object file. - case $destfile in - *.lo) - func_lo2o "$destfile" - staticdest=$func_lo2o_result - ;; - *.$objext) - staticdest=$destfile - destfile= - ;; - *) - func_fatal_help "cannot copy a libtool object to '$destfile'" - ;; - esac - - # Install the libtool object if requested. - test -n "$destfile" && \ - func_show_eval "$install_prog $file $destfile" 'exit $?' - - # Install the old object if enabled. - if test yes = "$build_old_libs"; then - # Deduce the name of the old-style object file. - func_lo2o "$file" - staticobj=$func_lo2o_result - func_show_eval "$install_prog \$staticobj \$staticdest" 'exit $?' - fi - exit $EXIT_SUCCESS - ;; - - *) - # Figure out destination file name, if it wasn't already specified. - if test -n "$destname"; then - destfile=$destdir/$destname - else - func_basename "$file" - destfile=$func_basename_result - destfile=$destdir/$destfile - fi - - # If the file is missing, and there is a .exe on the end, strip it - # because it is most likely a libtool script we actually want to - # install - stripped_ext= - case $file in - *.exe) - if test ! -f "$file"; then - func_stripname '' '.exe' "$file" - file=$func_stripname_result - stripped_ext=.exe - fi - ;; - esac - - # Do a test to see if this is really a libtool program. - case $host in - *cygwin* | *mingw*) - if func_ltwrapper_executable_p "$file"; then - func_ltwrapper_scriptname "$file" - wrapper=$func_ltwrapper_scriptname_result - else - func_stripname '' '.exe' "$file" - wrapper=$func_stripname_result - fi - ;; - *) - wrapper=$file - ;; - esac - if func_ltwrapper_script_p "$wrapper"; then - notinst_deplibs= - relink_command= - - func_source "$wrapper" - - # Check the variables that should have been set. - test -z "$generated_by_libtool_version" && \ - func_fatal_error "invalid libtool wrapper script '$wrapper'" - - finalize=: - for lib in $notinst_deplibs; do - # Check to see that each library is installed. - libdir= - if test -f "$lib"; then - func_source "$lib" - fi - libfile=$libdir/`$ECHO "$lib" | $SED 's%^.*/%%g'` - if test -n "$libdir" && test ! -f "$libfile"; then - func_warning "'$lib' has not been installed in '$libdir'" - finalize=false - fi - done - - relink_command= - func_source "$wrapper" - - outputname= - if test no = "$fast_install" && test -n "$relink_command"; then - $opt_dry_run || { - if $finalize; then - tmpdir=`func_mktempdir` - func_basename "$file$stripped_ext" - file=$func_basename_result - outputname=$tmpdir/$file - # Replace the output file specification. - relink_command=`$ECHO "$relink_command" | $SED 's%@OUTPUT@%'"$outputname"'%g'` - - $opt_quiet || { - func_quote_for_expand "$relink_command" - eval "func_echo $func_quote_for_expand_result" - } - if eval "$relink_command"; then : - else - func_error "error: relink '$file' with the above command before installing it" - $opt_dry_run || ${RM}r "$tmpdir" - continue - fi - file=$outputname - else - func_warning "cannot relink '$file'" - fi - } - else - # Install the binary that we compiled earlier. - file=`$ECHO "$file$stripped_ext" | $SED "s%\([^/]*\)$%$objdir/\1%"` - fi - fi - - # remove .exe since cygwin /usr/bin/install will append another - # one anyway - case $install_prog,$host in - */usr/bin/install*,*cygwin*) - case $file:$destfile in - *.exe:*.exe) - # this is ok - ;; - *.exe:*) - destfile=$destfile.exe - ;; - *:*.exe) - func_stripname '' '.exe' "$destfile" - destfile=$func_stripname_result - ;; - esac - ;; - esac - func_show_eval "$install_prog\$stripme \$file \$destfile" 'exit $?' - $opt_dry_run || if test -n "$outputname"; then - ${RM}r "$tmpdir" - fi - ;; - esac - done - - for file in $staticlibs; do - func_basename "$file" - name=$func_basename_result - - # Set up the ranlib parameters. - oldlib=$destdir/$name - func_to_tool_file "$oldlib" func_convert_file_msys_to_w32 - tool_oldlib=$func_to_tool_file_result - - func_show_eval "$install_prog \$file \$oldlib" 'exit $?' - - if test -n "$stripme" && test -n "$old_striplib"; then - func_show_eval "$old_striplib $tool_oldlib" 'exit $?' - fi - - # Do each command in the postinstall commands. - func_execute_cmds "$old_postinstall_cmds" 'exit $?' - done - - test -n "$future_libdirs" && \ - func_warning "remember to run '$progname --finish$future_libdirs'" - - if test -n "$current_libdirs"; then - # Maybe just do a dry run. - $opt_dry_run && current_libdirs=" -n$current_libdirs" - exec_cmd='$SHELL "$progpath" $preserve_args --finish$current_libdirs' - else - exit $EXIT_SUCCESS - fi -} - -test install = "$opt_mode" && func_mode_install ${1+"$@"} - - -# func_generate_dlsyms outputname originator pic_p -# Extract symbols from dlprefiles and create ${outputname}S.o with -# a dlpreopen symbol table. -func_generate_dlsyms () -{ - $debug_cmd - - my_outputname=$1 - my_originator=$2 - my_pic_p=${3-false} - my_prefix=`$ECHO "$my_originator" | $SED 's%[^a-zA-Z0-9]%_%g'` - my_dlsyms= - - if test -n "$dlfiles$dlprefiles" || test no != "$dlself"; then - if test -n "$NM" && test -n "$global_symbol_pipe"; then - my_dlsyms=${my_outputname}S.c - else - func_error "not configured to extract global symbols from dlpreopened files" - fi - fi - - if test -n "$my_dlsyms"; then - case $my_dlsyms in - "") ;; - *.c) - # Discover the nlist of each of the dlfiles. - nlist=$output_objdir/$my_outputname.nm - - func_show_eval "$RM $nlist ${nlist}S ${nlist}T" - - # Parse the name list into a source file. - func_verbose "creating $output_objdir/$my_dlsyms" - - $opt_dry_run || $ECHO > "$output_objdir/$my_dlsyms" "\ -/* $my_dlsyms - symbol resolution table for '$my_outputname' dlsym emulation. */ -/* Generated by $PROGRAM (GNU $PACKAGE) $VERSION */ - -#ifdef __cplusplus -extern \"C\" { -#endif - -#if defined __GNUC__ && (((__GNUC__ == 4) && (__GNUC_MINOR__ >= 4)) || (__GNUC__ > 4)) -#pragma GCC diagnostic ignored \"-Wstrict-prototypes\" -#endif - -/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ -#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE -/* DATA imports from DLLs on WIN32 can't be const, because runtime - relocations are performed -- see ld's documentation on pseudo-relocs. */ -# define LT_DLSYM_CONST -#elif defined __osf__ -/* This system does not cope well with relocations in const data. */ -# define LT_DLSYM_CONST -#else -# define LT_DLSYM_CONST const -#endif - -#define STREQ(s1, s2) (strcmp ((s1), (s2)) == 0) - -/* External symbol declarations for the compiler. */\ -" - - if test yes = "$dlself"; then - func_verbose "generating symbol list for '$output'" - - $opt_dry_run || echo ': @PROGRAM@ ' > "$nlist" - - # Add our own program objects to the symbol list. - progfiles=`$ECHO "$objs$old_deplibs" | $SP2NL | $SED "$lo2o" | $NL2SP` - for progfile in $progfiles; do - func_to_tool_file "$progfile" func_convert_file_msys_to_w32 - func_verbose "extracting global C symbols from '$func_to_tool_file_result'" - $opt_dry_run || eval "$NM $func_to_tool_file_result | $global_symbol_pipe >> '$nlist'" - done - - if test -n "$exclude_expsyms"; then - $opt_dry_run || { - eval '$EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T' - eval '$MV "$nlist"T "$nlist"' - } - fi - - if test -n "$export_symbols_regex"; then - $opt_dry_run || { - eval '$EGREP -e "$export_symbols_regex" "$nlist" > "$nlist"T' - eval '$MV "$nlist"T "$nlist"' - } - fi - - # Prepare the list of exported symbols - if test -z "$export_symbols"; then - export_symbols=$output_objdir/$outputname.exp - $opt_dry_run || { - $RM $export_symbols - eval "$SED -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"' - case $host in - *cygwin* | *mingw* | *cegcc* ) - eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' - eval 'cat "$export_symbols" >> "$output_objdir/$outputname.def"' - ;; - esac - } - else - $opt_dry_run || { - eval "$SED -e 's/\([].[*^$]\)/\\\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"' - eval '$GREP -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T' - eval '$MV "$nlist"T "$nlist"' - case $host in - *cygwin* | *mingw* | *cegcc* ) - eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' - eval 'cat "$nlist" >> "$output_objdir/$outputname.def"' - ;; - esac - } - fi - fi - - for dlprefile in $dlprefiles; do - func_verbose "extracting global C symbols from '$dlprefile'" - func_basename "$dlprefile" - name=$func_basename_result - case $host in - *cygwin* | *mingw* | *cegcc* ) - # if an import library, we need to obtain dlname - if func_win32_import_lib_p "$dlprefile"; then - func_tr_sh "$dlprefile" - eval "curr_lafile=\$libfile_$func_tr_sh_result" - dlprefile_dlbasename= - if test -n "$curr_lafile" && func_lalib_p "$curr_lafile"; then - # Use subshell, to avoid clobbering current variable values - dlprefile_dlname=`source "$curr_lafile" && echo "$dlname"` - if test -n "$dlprefile_dlname"; then - func_basename "$dlprefile_dlname" - dlprefile_dlbasename=$func_basename_result - else - # no lafile. user explicitly requested -dlpreopen . - $sharedlib_from_linklib_cmd "$dlprefile" - dlprefile_dlbasename=$sharedlib_from_linklib_result - fi - fi - $opt_dry_run || { - if test -n "$dlprefile_dlbasename"; then - eval '$ECHO ": $dlprefile_dlbasename" >> "$nlist"' - else - func_warning "Could not compute DLL name from $name" - eval '$ECHO ": $name " >> "$nlist"' - fi - func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32 - eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe | - $SED -e '/I __imp/d' -e 's/I __nm_/D /;s/_nm__//' >> '$nlist'" - } - else # not an import lib - $opt_dry_run || { - eval '$ECHO ": $name " >> "$nlist"' - func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32 - eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe >> '$nlist'" - } - fi - ;; - *) - $opt_dry_run || { - eval '$ECHO ": $name " >> "$nlist"' - func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32 - eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe >> '$nlist'" - } - ;; - esac - done - - $opt_dry_run || { - # Make sure we have at least an empty file. - test -f "$nlist" || : > "$nlist" - - if test -n "$exclude_expsyms"; then - $EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T - $MV "$nlist"T "$nlist" - fi - - # Try sorting and uniquifying the output. - if $GREP -v "^: " < "$nlist" | - if sort -k 3 /dev/null 2>&1; then - sort -k 3 - else - sort +2 - fi | - uniq > "$nlist"S; then - : - else - $GREP -v "^: " < "$nlist" > "$nlist"S - fi - - if test -f "$nlist"S; then - eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$my_dlsyms"' - else - echo '/* NONE */' >> "$output_objdir/$my_dlsyms" - fi - - func_show_eval '$RM "${nlist}I"' - if test -n "$global_symbol_to_import"; then - eval "$global_symbol_to_import"' < "$nlist"S > "$nlist"I' - fi - - echo >> "$output_objdir/$my_dlsyms" "\ - -/* The mapping between symbol names and symbols. */ -typedef struct { - const char *name; - void *address; -} lt_dlsymlist; -extern LT_DLSYM_CONST lt_dlsymlist -lt_${my_prefix}_LTX_preloaded_symbols[];\ -" - - if test -s "$nlist"I; then - echo >> "$output_objdir/$my_dlsyms" "\ -static void lt_syminit(void) -{ - LT_DLSYM_CONST lt_dlsymlist *symbol = lt_${my_prefix}_LTX_preloaded_symbols; - for (; symbol->name; ++symbol) - {" - $SED 's/.*/ if (STREQ (symbol->name, \"&\")) symbol->address = (void *) \&&;/' < "$nlist"I >> "$output_objdir/$my_dlsyms" - echo >> "$output_objdir/$my_dlsyms" "\ - } -}" - fi - echo >> "$output_objdir/$my_dlsyms" "\ -LT_DLSYM_CONST lt_dlsymlist -lt_${my_prefix}_LTX_preloaded_symbols[] = -{ {\"$my_originator\", (void *) 0}," - - if test -s "$nlist"I; then - echo >> "$output_objdir/$my_dlsyms" "\ - {\"@INIT@\", (void *) <_syminit}," - fi - - case $need_lib_prefix in - no) - eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$my_dlsyms" - ;; - *) - eval "$global_symbol_to_c_name_address_lib_prefix" < "$nlist" >> "$output_objdir/$my_dlsyms" - ;; - esac - echo >> "$output_objdir/$my_dlsyms" "\ - {0, (void *) 0} -}; - -/* This works around a problem in FreeBSD linker */ -#ifdef FREEBSD_WORKAROUND -static const void *lt_preloaded_setup() { - return lt_${my_prefix}_LTX_preloaded_symbols; -} -#endif - -#ifdef __cplusplus -} -#endif\ -" - } # !$opt_dry_run - - pic_flag_for_symtable= - case "$compile_command " in - *" -static "*) ;; - *) - case $host in - # compiling the symbol table file with pic_flag works around - # a FreeBSD bug that causes programs to crash when -lm is - # linked before any other PIC object. But we must not use - # pic_flag when linking with -static. The problem exists in - # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1. - *-*-freebsd2.*|*-*-freebsd3.0*|*-*-freebsdelf3.0*) - pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND" ;; - *-*-hpux*) - pic_flag_for_symtable=" $pic_flag" ;; - *) - $my_pic_p && pic_flag_for_symtable=" $pic_flag" - ;; - esac - ;; - esac - symtab_cflags= - for arg in $LTCFLAGS; do - case $arg in - -pie | -fpie | -fPIE) ;; - *) func_append symtab_cflags " $arg" ;; - esac - done - - # Now compile the dynamic symbol file. - func_show_eval '(cd $output_objdir && $LTCC$symtab_cflags -c$no_builtin_flag$pic_flag_for_symtable "$my_dlsyms")' 'exit $?' - - # Clean up the generated files. - func_show_eval '$RM "$output_objdir/$my_dlsyms" "$nlist" "${nlist}S" "${nlist}T" "${nlist}I"' - - # Transform the symbol file into the correct name. - symfileobj=$output_objdir/${my_outputname}S.$objext - case $host in - *cygwin* | *mingw* | *cegcc* ) - if test -f "$output_objdir/$my_outputname.def"; then - compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"` - finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"` - else - compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"` - finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"` - fi - ;; - *) - compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"` - finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"` - ;; - esac - ;; - *) - func_fatal_error "unknown suffix for '$my_dlsyms'" - ;; - esac - else - # We keep going just in case the user didn't refer to - # lt_preloaded_symbols. The linker will fail if global_symbol_pipe - # really was required. - - # Nullify the symbol file. - compile_command=`$ECHO "$compile_command" | $SED "s% @SYMFILE@%%"` - finalize_command=`$ECHO "$finalize_command" | $SED "s% @SYMFILE@%%"` - fi -} - -# func_cygming_gnu_implib_p ARG -# This predicate returns with zero status (TRUE) if -# ARG is a GNU/binutils-style import library. Returns -# with nonzero status (FALSE) otherwise. -func_cygming_gnu_implib_p () -{ - $debug_cmd - - func_to_tool_file "$1" func_convert_file_msys_to_w32 - func_cygming_gnu_implib_tmp=`$NM "$func_to_tool_file_result" | eval "$global_symbol_pipe" | $EGREP ' (_head_[A-Za-z0-9_]+_[ad]l*|[A-Za-z0-9_]+_[ad]l*_iname)$'` - test -n "$func_cygming_gnu_implib_tmp" -} - -# func_cygming_ms_implib_p ARG -# This predicate returns with zero status (TRUE) if -# ARG is an MS-style import library. Returns -# with nonzero status (FALSE) otherwise. -func_cygming_ms_implib_p () -{ - $debug_cmd - - func_to_tool_file "$1" func_convert_file_msys_to_w32 - func_cygming_ms_implib_tmp=`$NM "$func_to_tool_file_result" | eval "$global_symbol_pipe" | $GREP '_NULL_IMPORT_DESCRIPTOR'` - test -n "$func_cygming_ms_implib_tmp" -} - -# func_win32_libid arg -# return the library type of file 'arg' -# -# Need a lot of goo to handle *both* DLLs and import libs -# Has to be a shell function in order to 'eat' the argument -# that is supplied when $file_magic_command is called. -# Despite the name, also deal with 64 bit binaries. -func_win32_libid () -{ - $debug_cmd - - win32_libid_type=unknown - win32_fileres=`file -L $1 2>/dev/null` - case $win32_fileres in - *ar\ archive\ import\ library*) # definitely import - win32_libid_type="x86 archive import" - ;; - *ar\ archive*) # could be an import, or static - # Keep the egrep pattern in sync with the one in _LT_CHECK_MAGIC_METHOD. - if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | - $EGREP 'file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' >/dev/null; then - case $nm_interface in - "MS dumpbin") - if func_cygming_ms_implib_p "$1" || - func_cygming_gnu_implib_p "$1" - then - win32_nmres=import - else - win32_nmres= - fi - ;; - *) - func_to_tool_file "$1" func_convert_file_msys_to_w32 - win32_nmres=`eval $NM -f posix -A \"$func_to_tool_file_result\" | - $SED -n -e ' - 1,100{ - / I /{ - s|.*|import| - p - q - } - }'` - ;; - esac - case $win32_nmres in - import*) win32_libid_type="x86 archive import";; - *) win32_libid_type="x86 archive static";; - esac - fi - ;; - *DLL*) - win32_libid_type="x86 DLL" - ;; - *executable*) # but shell scripts are "executable" too... - case $win32_fileres in - *MS\ Windows\ PE\ Intel*) - win32_libid_type="x86 DLL" - ;; - esac - ;; - esac - $ECHO "$win32_libid_type" -} - -# func_cygming_dll_for_implib ARG -# -# Platform-specific function to extract the -# name of the DLL associated with the specified -# import library ARG. -# Invoked by eval'ing the libtool variable -# $sharedlib_from_linklib_cmd -# Result is available in the variable -# $sharedlib_from_linklib_result -func_cygming_dll_for_implib () -{ - $debug_cmd - - sharedlib_from_linklib_result=`$DLLTOOL --identify-strict --identify "$1"` -} - -# func_cygming_dll_for_implib_fallback_core SECTION_NAME LIBNAMEs -# -# The is the core of a fallback implementation of a -# platform-specific function to extract the name of the -# DLL associated with the specified import library LIBNAME. -# -# SECTION_NAME is either .idata$6 or .idata$7, depending -# on the platform and compiler that created the implib. -# -# Echos the name of the DLL associated with the -# specified import library. -func_cygming_dll_for_implib_fallback_core () -{ - $debug_cmd - - match_literal=`$ECHO "$1" | $SED "$sed_make_literal_regex"` - $OBJDUMP -s --section "$1" "$2" 2>/dev/null | - $SED '/^Contents of section '"$match_literal"':/{ - # Place marker at beginning of archive member dllname section - s/.*/====MARK====/ - p - d - } - # These lines can sometimes be longer than 43 characters, but - # are always uninteresting - /:[ ]*file format pe[i]\{,1\}-/d - /^In archive [^:]*:/d - # Ensure marker is printed - /^====MARK====/p - # Remove all lines with less than 43 characters - /^.\{43\}/!d - # From remaining lines, remove first 43 characters - s/^.\{43\}//' | - $SED -n ' - # Join marker and all lines until next marker into a single line - /^====MARK====/ b para - H - $ b para - b - :para - x - s/\n//g - # Remove the marker - s/^====MARK====// - # Remove trailing dots and whitespace - s/[\. \t]*$// - # Print - /./p' | - # we now have a list, one entry per line, of the stringified - # contents of the appropriate section of all members of the - # archive that possess that section. Heuristic: eliminate - # all those that have a first or second character that is - # a '.' (that is, objdump's representation of an unprintable - # character.) This should work for all archives with less than - # 0x302f exports -- but will fail for DLLs whose name actually - # begins with a literal '.' or a single character followed by - # a '.'. - # - # Of those that remain, print the first one. - $SED -e '/^\./d;/^.\./d;q' -} - -# func_cygming_dll_for_implib_fallback ARG -# Platform-specific function to extract the -# name of the DLL associated with the specified -# import library ARG. -# -# This fallback implementation is for use when $DLLTOOL -# does not support the --identify-strict option. -# Invoked by eval'ing the libtool variable -# $sharedlib_from_linklib_cmd -# Result is available in the variable -# $sharedlib_from_linklib_result -func_cygming_dll_for_implib_fallback () -{ - $debug_cmd - - if func_cygming_gnu_implib_p "$1"; then - # binutils import library - sharedlib_from_linklib_result=`func_cygming_dll_for_implib_fallback_core '.idata$7' "$1"` - elif func_cygming_ms_implib_p "$1"; then - # ms-generated import library - sharedlib_from_linklib_result=`func_cygming_dll_for_implib_fallback_core '.idata$6' "$1"` - else - # unknown - sharedlib_from_linklib_result= - fi -} - - -# func_extract_an_archive dir oldlib -func_extract_an_archive () -{ - $debug_cmd - - f_ex_an_ar_dir=$1; shift - f_ex_an_ar_oldlib=$1 - if test yes = "$lock_old_archive_extraction"; then - lockfile=$f_ex_an_ar_oldlib.lock - until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do - func_echo "Waiting for $lockfile to be removed" - sleep 2 - done - fi - func_show_eval "(cd \$f_ex_an_ar_dir && $AR x \"\$f_ex_an_ar_oldlib\")" \ - 'stat=$?; rm -f "$lockfile"; exit $stat' - if test yes = "$lock_old_archive_extraction"; then - $opt_dry_run || rm -f "$lockfile" - fi - if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then - : - else - func_fatal_error "object name conflicts in archive: $f_ex_an_ar_dir/$f_ex_an_ar_oldlib" - fi -} - - -# func_extract_archives gentop oldlib ... -func_extract_archives () -{ - $debug_cmd - - my_gentop=$1; shift - my_oldlibs=${1+"$@"} - my_oldobjs= - my_xlib= - my_xabs= - my_xdir= - - for my_xlib in $my_oldlibs; do - # Extract the objects. - case $my_xlib in - [\\/]* | [A-Za-z]:[\\/]*) my_xabs=$my_xlib ;; - *) my_xabs=`pwd`"/$my_xlib" ;; - esac - func_basename "$my_xlib" - my_xlib=$func_basename_result - my_xlib_u=$my_xlib - while :; do - case " $extracted_archives " in - *" $my_xlib_u "*) - func_arith $extracted_serial + 1 - extracted_serial=$func_arith_result - my_xlib_u=lt$extracted_serial-$my_xlib ;; - *) break ;; - esac - done - extracted_archives="$extracted_archives $my_xlib_u" - my_xdir=$my_gentop/$my_xlib_u - - func_mkdir_p "$my_xdir" - - case $host in - *-darwin*) - func_verbose "Extracting $my_xabs" - # Do not bother doing anything if just a dry run - $opt_dry_run || { - darwin_orig_dir=`pwd` - cd $my_xdir || exit $? - darwin_archive=$my_xabs - darwin_curdir=`pwd` - func_basename "$darwin_archive" - darwin_base_archive=$func_basename_result - darwin_arches=`$LIPO -info "$darwin_archive" 2>/dev/null | $GREP Architectures 2>/dev/null || true` - if test -n "$darwin_arches"; then - darwin_arches=`$ECHO "$darwin_arches" | $SED -e 's/.*are://'` - darwin_arch= - func_verbose "$darwin_base_archive has multiple architectures $darwin_arches" - for darwin_arch in $darwin_arches; do - func_mkdir_p "unfat-$$/$darwin_base_archive-$darwin_arch" - $LIPO -thin $darwin_arch -output "unfat-$$/$darwin_base_archive-$darwin_arch/$darwin_base_archive" "$darwin_archive" - cd "unfat-$$/$darwin_base_archive-$darwin_arch" - func_extract_an_archive "`pwd`" "$darwin_base_archive" - cd "$darwin_curdir" - $RM "unfat-$$/$darwin_base_archive-$darwin_arch/$darwin_base_archive" - done # $darwin_arches - ## Okay now we've a bunch of thin objects, gotta fatten them up :) - darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print | $SED -e "$sed_basename" | sort -u` - darwin_file= - darwin_files= - for darwin_file in $darwin_filelist; do - darwin_files=`find unfat-$$ -name $darwin_file -print | sort | $NL2SP` - $LIPO -create -output "$darwin_file" $darwin_files - done # $darwin_filelist - $RM -rf unfat-$$ - cd "$darwin_orig_dir" - else - cd $darwin_orig_dir - func_extract_an_archive "$my_xdir" "$my_xabs" - fi # $darwin_arches - } # !$opt_dry_run - ;; - *) - func_extract_an_archive "$my_xdir" "$my_xabs" - ;; - esac - my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | sort | $NL2SP` - done - - func_extract_archives_result=$my_oldobjs -} - - -# func_emit_wrapper [arg=no] -# -# Emit a libtool wrapper script on stdout. -# Don't directly open a file because we may want to -# incorporate the script contents within a cygwin/mingw -# wrapper executable. Must ONLY be called from within -# func_mode_link because it depends on a number of variables -# set therein. -# -# ARG is the value that the WRAPPER_SCRIPT_BELONGS_IN_OBJDIR -# variable will take. If 'yes', then the emitted script -# will assume that the directory where it is stored is -# the $objdir directory. This is a cygwin/mingw-specific -# behavior. -func_emit_wrapper () -{ - func_emit_wrapper_arg1=${1-no} - - $ECHO "\ -#! $SHELL - -# $output - temporary wrapper script for $objdir/$outputname -# Generated by $PROGRAM (GNU $PACKAGE) $VERSION -# -# The $output program cannot be directly executed until all the libtool -# libraries that it depends on are installed. -# -# This wrapper script should never be moved out of the build directory. -# If it is, it will not operate correctly. - -# Sed substitution that helps us do robust quoting. It backslashifies -# metacharacters that are still active within double-quoted strings. -sed_quote_subst='$sed_quote_subst' - -# Be Bourne compatible -if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then - emulate sh - NULLCMD=: - # Zsh 3.x and 4.x performs word splitting on \${1+\"\$@\"}, which - # is contrary to our usage. Disable this feature. - alias -g '\${1+\"\$@\"}'='\"\$@\"' - setopt NO_GLOB_SUBST -else - case \`(set -o) 2>/dev/null\` in *posix*) set -o posix;; esac -fi -BIN_SH=xpg4; export BIN_SH # for Tru64 -DUALCASE=1; export DUALCASE # for MKS sh - -# The HP-UX ksh and POSIX shell print the target directory to stdout -# if CDPATH is set. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH - -relink_command=\"$relink_command\" - -# This environment variable determines our operation mode. -if test \"\$libtool_install_magic\" = \"$magic\"; then - # install mode needs the following variables: - generated_by_libtool_version='$macro_version' - notinst_deplibs='$notinst_deplibs' -else - # When we are sourced in execute mode, \$file and \$ECHO are already set. - if test \"\$libtool_execute_magic\" != \"$magic\"; then - file=\"\$0\"" - - qECHO=`$ECHO "$ECHO" | $SED "$sed_quote_subst"` - $ECHO "\ - -# A function that is used when there is no print builtin or printf. -func_fallback_echo () -{ - eval 'cat <<_LTECHO_EOF -\$1 -_LTECHO_EOF' -} - ECHO=\"$qECHO\" - fi - -# Very basic option parsing. These options are (a) specific to -# the libtool wrapper, (b) are identical between the wrapper -# /script/ and the wrapper /executable/ that is used only on -# windows platforms, and (c) all begin with the string "--lt-" -# (application programs are unlikely to have options that match -# this pattern). -# -# There are only two supported options: --lt-debug and -# --lt-dump-script. There is, deliberately, no --lt-help. -# -# The first argument to this parsing function should be the -# script's $0 value, followed by "$@". -lt_option_debug= -func_parse_lt_options () -{ - lt_script_arg0=\$0 - shift - for lt_opt - do - case \"\$lt_opt\" in - --lt-debug) lt_option_debug=1 ;; - --lt-dump-script) - lt_dump_D=\`\$ECHO \"X\$lt_script_arg0\" | $SED -e 's/^X//' -e 's%/[^/]*$%%'\` - test \"X\$lt_dump_D\" = \"X\$lt_script_arg0\" && lt_dump_D=. - lt_dump_F=\`\$ECHO \"X\$lt_script_arg0\" | $SED -e 's/^X//' -e 's%^.*/%%'\` - cat \"\$lt_dump_D/\$lt_dump_F\" - exit 0 - ;; - --lt-*) - \$ECHO \"Unrecognized --lt- option: '\$lt_opt'\" 1>&2 - exit 1 - ;; - esac - done - - # Print the debug banner immediately: - if test -n \"\$lt_option_debug\"; then - echo \"$outputname:$output:\$LINENO: libtool wrapper (GNU $PACKAGE) $VERSION\" 1>&2 - fi -} - -# Used when --lt-debug. Prints its arguments to stdout -# (redirection is the responsibility of the caller) -func_lt_dump_args () -{ - lt_dump_args_N=1; - for lt_arg - do - \$ECHO \"$outputname:$output:\$LINENO: newargv[\$lt_dump_args_N]: \$lt_arg\" - lt_dump_args_N=\`expr \$lt_dump_args_N + 1\` - done -} - -# Core function for launching the target application -func_exec_program_core () -{ -" - case $host in - # Backslashes separate directories on plain windows - *-*-mingw | *-*-os2* | *-cegcc*) - $ECHO "\ - if test -n \"\$lt_option_debug\"; then - \$ECHO \"$outputname:$output:\$LINENO: newargv[0]: \$progdir\\\\\$program\" 1>&2 - func_lt_dump_args \${1+\"\$@\"} 1>&2 - fi - exec \"\$progdir\\\\\$program\" \${1+\"\$@\"} -" - ;; - - *) - $ECHO "\ - if test -n \"\$lt_option_debug\"; then - \$ECHO \"$outputname:$output:\$LINENO: newargv[0]: \$progdir/\$program\" 1>&2 - func_lt_dump_args \${1+\"\$@\"} 1>&2 - fi - exec \"\$progdir/\$program\" \${1+\"\$@\"} -" - ;; - esac - $ECHO "\ - \$ECHO \"\$0: cannot exec \$program \$*\" 1>&2 - exit 1 -} - -# A function to encapsulate launching the target application -# Strips options in the --lt-* namespace from \$@ and -# launches target application with the remaining arguments. -func_exec_program () -{ - case \" \$* \" in - *\\ --lt-*) - for lt_wr_arg - do - case \$lt_wr_arg in - --lt-*) ;; - *) set x \"\$@\" \"\$lt_wr_arg\"; shift;; - esac - shift - done ;; - esac - func_exec_program_core \${1+\"\$@\"} -} - - # Parse options - func_parse_lt_options \"\$0\" \${1+\"\$@\"} - - # Find the directory that this script lives in. - thisdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*$%%'\` - test \"x\$thisdir\" = \"x\$file\" && thisdir=. - - # Follow symbolic links until we get to the real thisdir. - file=\`ls -ld \"\$file\" | $SED -n 's/.*-> //p'\` - while test -n \"\$file\"; do - destdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*\$%%'\` - - # If there was a directory component, then change thisdir. - if test \"x\$destdir\" != \"x\$file\"; then - case \"\$destdir\" in - [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;; - *) thisdir=\"\$thisdir/\$destdir\" ;; - esac - fi - - file=\`\$ECHO \"\$file\" | $SED 's%^.*/%%'\` - file=\`ls -ld \"\$thisdir/\$file\" | $SED -n 's/.*-> //p'\` - done - - # Usually 'no', except on cygwin/mingw when embedded into - # the cwrapper. - WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=$func_emit_wrapper_arg1 - if test \"\$WRAPPER_SCRIPT_BELONGS_IN_OBJDIR\" = \"yes\"; then - # special case for '.' - if test \"\$thisdir\" = \".\"; then - thisdir=\`pwd\` - fi - # remove .libs from thisdir - case \"\$thisdir\" in - *[\\\\/]$objdir ) thisdir=\`\$ECHO \"\$thisdir\" | $SED 's%[\\\\/][^\\\\/]*$%%'\` ;; - $objdir ) thisdir=. ;; - esac - fi - - # Try to get the absolute directory name. - absdir=\`cd \"\$thisdir\" && pwd\` - test -n \"\$absdir\" && thisdir=\"\$absdir\" -" - - if test yes = "$fast_install"; then - $ECHO "\ - program=lt-'$outputname'$exeext - progdir=\"\$thisdir/$objdir\" - - if test ! -f \"\$progdir/\$program\" || - { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | $SED 1q\`; \\ - test \"X\$file\" != \"X\$progdir/\$program\"; }; then - - file=\"\$\$-\$program\" - - if test ! -d \"\$progdir\"; then - $MKDIR \"\$progdir\" - else - $RM \"\$progdir/\$file\" - fi" - - $ECHO "\ - - # relink executable if necessary - if test -n \"\$relink_command\"; then - if relink_command_output=\`eval \$relink_command 2>&1\`; then : - else - \$ECHO \"\$relink_command_output\" >&2 - $RM \"\$progdir/\$file\" - exit 1 - fi - fi - - $MV \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null || - { $RM \"\$progdir/\$program\"; - $MV \"\$progdir/\$file\" \"\$progdir/\$program\"; } - $RM \"\$progdir/\$file\" - fi" - else - $ECHO "\ - program='$outputname' - progdir=\"\$thisdir/$objdir\" -" - fi - - $ECHO "\ - - if test -f \"\$progdir/\$program\"; then" - - # fixup the dll searchpath if we need to. - # - # Fix the DLL searchpath if we need to. Do this before prepending - # to shlibpath, because on Windows, both are PATH and uninstalled - # libraries must come first. - if test -n "$dllsearchpath"; then - $ECHO "\ - # Add the dll search path components to the executable PATH - PATH=$dllsearchpath:\$PATH -" - fi - - # Export our shlibpath_var if we have one. - if test yes = "$shlibpath_overrides_runpath" && test -n "$shlibpath_var" && test -n "$temp_rpath"; then - $ECHO "\ - # Add our own library path to $shlibpath_var - $shlibpath_var=\"$temp_rpath\$$shlibpath_var\" - - # Some systems cannot cope with colon-terminated $shlibpath_var - # The second colon is a workaround for a bug in BeOS R4 sed - $shlibpath_var=\`\$ECHO \"\$$shlibpath_var\" | $SED 's/::*\$//'\` - - export $shlibpath_var -" - fi - - $ECHO "\ - if test \"\$libtool_execute_magic\" != \"$magic\"; then - # Run the actual program with our arguments. - func_exec_program \${1+\"\$@\"} - fi - else - # The program doesn't exist. - \$ECHO \"\$0: error: '\$progdir/\$program' does not exist\" 1>&2 - \$ECHO \"This script is just a wrapper for \$program.\" 1>&2 - \$ECHO \"See the $PACKAGE documentation for more information.\" 1>&2 - exit 1 - fi -fi\ -" -} - - -# func_emit_cwrapperexe_src -# emit the source code for a wrapper executable on stdout -# Must ONLY be called from within func_mode_link because -# it depends on a number of variable set therein. -func_emit_cwrapperexe_src () -{ - cat < -#include -#ifdef _MSC_VER -# include -# include -# include -#else -# include -# include -# ifdef __CYGWIN__ -# include -# endif -#endif -#include -#include -#include -#include -#include -#include -#include -#include - -#define STREQ(s1, s2) (strcmp ((s1), (s2)) == 0) - -/* declarations of non-ANSI functions */ -#if defined __MINGW32__ -# ifdef __STRICT_ANSI__ -int _putenv (const char *); -# endif -#elif defined __CYGWIN__ -# ifdef __STRICT_ANSI__ -char *realpath (const char *, char *); -int putenv (char *); -int setenv (const char *, const char *, int); -# endif -/* #elif defined other_platform || defined ... */ -#endif - -/* portability defines, excluding path handling macros */ -#if defined _MSC_VER -# define setmode _setmode -# define stat _stat -# define chmod _chmod -# define getcwd _getcwd -# define putenv _putenv -# define S_IXUSR _S_IEXEC -#elif defined __MINGW32__ -# define setmode _setmode -# define stat _stat -# define chmod _chmod -# define getcwd _getcwd -# define putenv _putenv -#elif defined __CYGWIN__ -# define HAVE_SETENV -# define FOPEN_WB "wb" -/* #elif defined other platforms ... */ -#endif - -#if defined PATH_MAX -# define LT_PATHMAX PATH_MAX -#elif defined MAXPATHLEN -# define LT_PATHMAX MAXPATHLEN -#else -# define LT_PATHMAX 1024 -#endif - -#ifndef S_IXOTH -# define S_IXOTH 0 -#endif -#ifndef S_IXGRP -# define S_IXGRP 0 -#endif - -/* path handling portability macros */ -#ifndef DIR_SEPARATOR -# define DIR_SEPARATOR '/' -# define PATH_SEPARATOR ':' -#endif - -#if defined _WIN32 || defined __MSDOS__ || defined __DJGPP__ || \ - defined __OS2__ -# define HAVE_DOS_BASED_FILE_SYSTEM -# define FOPEN_WB "wb" -# ifndef DIR_SEPARATOR_2 -# define DIR_SEPARATOR_2 '\\' -# endif -# ifndef PATH_SEPARATOR_2 -# define PATH_SEPARATOR_2 ';' -# endif -#endif - -#ifndef DIR_SEPARATOR_2 -# define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR) -#else /* DIR_SEPARATOR_2 */ -# define IS_DIR_SEPARATOR(ch) \ - (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2)) -#endif /* DIR_SEPARATOR_2 */ - -#ifndef PATH_SEPARATOR_2 -# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR) -#else /* PATH_SEPARATOR_2 */ -# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2) -#endif /* PATH_SEPARATOR_2 */ - -#ifndef FOPEN_WB -# define FOPEN_WB "w" -#endif -#ifndef _O_BINARY -# define _O_BINARY 0 -#endif - -#define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type))) -#define XFREE(stale) do { \ - if (stale) { free (stale); stale = 0; } \ -} while (0) - -#if defined LT_DEBUGWRAPPER -static int lt_debug = 1; -#else -static int lt_debug = 0; -#endif - -const char *program_name = "libtool-wrapper"; /* in case xstrdup fails */ - -void *xmalloc (size_t num); -char *xstrdup (const char *string); -const char *base_name (const char *name); -char *find_executable (const char *wrapper); -char *chase_symlinks (const char *pathspec); -int make_executable (const char *path); -int check_executable (const char *path); -char *strendzap (char *str, const char *pat); -void lt_debugprintf (const char *file, int line, const char *fmt, ...); -void lt_fatal (const char *file, int line, const char *message, ...); -static const char *nonnull (const char *s); -static const char *nonempty (const char *s); -void lt_setenv (const char *name, const char *value); -char *lt_extend_str (const char *orig_value, const char *add, int to_end); -void lt_update_exe_path (const char *name, const char *value); -void lt_update_lib_path (const char *name, const char *value); -char **prepare_spawn (char **argv); -void lt_dump_script (FILE *f); -EOF - - cat <= 0) - && (st.st_mode & (S_IXUSR | S_IXGRP | S_IXOTH))) - return 1; - else - return 0; -} - -int -make_executable (const char *path) -{ - int rval = 0; - struct stat st; - - lt_debugprintf (__FILE__, __LINE__, "(make_executable): %s\n", - nonempty (path)); - if ((!path) || (!*path)) - return 0; - - if (stat (path, &st) >= 0) - { - rval = chmod (path, st.st_mode | S_IXOTH | S_IXGRP | S_IXUSR); - } - return rval; -} - -/* Searches for the full path of the wrapper. Returns - newly allocated full path name if found, NULL otherwise - Does not chase symlinks, even on platforms that support them. -*/ -char * -find_executable (const char *wrapper) -{ - int has_slash = 0; - const char *p; - const char *p_next; - /* static buffer for getcwd */ - char tmp[LT_PATHMAX + 1]; - size_t tmp_len; - char *concat_name; - - lt_debugprintf (__FILE__, __LINE__, "(find_executable): %s\n", - nonempty (wrapper)); - - if ((wrapper == NULL) || (*wrapper == '\0')) - return NULL; - - /* Absolute path? */ -#if defined HAVE_DOS_BASED_FILE_SYSTEM - if (isalpha ((unsigned char) wrapper[0]) && wrapper[1] == ':') - { - concat_name = xstrdup (wrapper); - if (check_executable (concat_name)) - return concat_name; - XFREE (concat_name); - } - else - { -#endif - if (IS_DIR_SEPARATOR (wrapper[0])) - { - concat_name = xstrdup (wrapper); - if (check_executable (concat_name)) - return concat_name; - XFREE (concat_name); - } -#if defined HAVE_DOS_BASED_FILE_SYSTEM - } -#endif - - for (p = wrapper; *p; p++) - if (*p == '/') - { - has_slash = 1; - break; - } - if (!has_slash) - { - /* no slashes; search PATH */ - const char *path = getenv ("PATH"); - if (path != NULL) - { - for (p = path; *p; p = p_next) - { - const char *q; - size_t p_len; - for (q = p; *q; q++) - if (IS_PATH_SEPARATOR (*q)) - break; - p_len = (size_t) (q - p); - p_next = (*q == '\0' ? q : q + 1); - if (p_len == 0) - { - /* empty path: current directory */ - if (getcwd (tmp, LT_PATHMAX) == NULL) - lt_fatal (__FILE__, __LINE__, "getcwd failed: %s", - nonnull (strerror (errno))); - tmp_len = strlen (tmp); - concat_name = - XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1); - memcpy (concat_name, tmp, tmp_len); - concat_name[tmp_len] = '/'; - strcpy (concat_name + tmp_len + 1, wrapper); - } - else - { - concat_name = - XMALLOC (char, p_len + 1 + strlen (wrapper) + 1); - memcpy (concat_name, p, p_len); - concat_name[p_len] = '/'; - strcpy (concat_name + p_len + 1, wrapper); - } - if (check_executable (concat_name)) - return concat_name; - XFREE (concat_name); - } - } - /* not found in PATH; assume curdir */ - } - /* Relative path | not found in path: prepend cwd */ - if (getcwd (tmp, LT_PATHMAX) == NULL) - lt_fatal (__FILE__, __LINE__, "getcwd failed: %s", - nonnull (strerror (errno))); - tmp_len = strlen (tmp); - concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1); - memcpy (concat_name, tmp, tmp_len); - concat_name[tmp_len] = '/'; - strcpy (concat_name + tmp_len + 1, wrapper); - - if (check_executable (concat_name)) - return concat_name; - XFREE (concat_name); - return NULL; -} - -char * -chase_symlinks (const char *pathspec) -{ -#ifndef S_ISLNK - return xstrdup (pathspec); -#else - char buf[LT_PATHMAX]; - struct stat s; - char *tmp_pathspec = xstrdup (pathspec); - char *p; - int has_symlinks = 0; - while (strlen (tmp_pathspec) && !has_symlinks) - { - lt_debugprintf (__FILE__, __LINE__, - "checking path component for symlinks: %s\n", - tmp_pathspec); - if (lstat (tmp_pathspec, &s) == 0) - { - if (S_ISLNK (s.st_mode) != 0) - { - has_symlinks = 1; - break; - } - - /* search backwards for last DIR_SEPARATOR */ - p = tmp_pathspec + strlen (tmp_pathspec) - 1; - while ((p > tmp_pathspec) && (!IS_DIR_SEPARATOR (*p))) - p--; - if ((p == tmp_pathspec) && (!IS_DIR_SEPARATOR (*p))) - { - /* no more DIR_SEPARATORS left */ - break; - } - *p = '\0'; - } - else - { - lt_fatal (__FILE__, __LINE__, - "error accessing file \"%s\": %s", - tmp_pathspec, nonnull (strerror (errno))); - } - } - XFREE (tmp_pathspec); - - if (!has_symlinks) - { - return xstrdup (pathspec); - } - - tmp_pathspec = realpath (pathspec, buf); - if (tmp_pathspec == 0) - { - lt_fatal (__FILE__, __LINE__, - "could not follow symlinks for %s", pathspec); - } - return xstrdup (tmp_pathspec); -#endif -} - -char * -strendzap (char *str, const char *pat) -{ - size_t len, patlen; - - assert (str != NULL); - assert (pat != NULL); - - len = strlen (str); - patlen = strlen (pat); - - if (patlen <= len) - { - str += len - patlen; - if (STREQ (str, pat)) - *str = '\0'; - } - return str; -} - -void -lt_debugprintf (const char *file, int line, const char *fmt, ...) -{ - va_list args; - if (lt_debug) - { - (void) fprintf (stderr, "%s:%s:%d: ", program_name, file, line); - va_start (args, fmt); - (void) vfprintf (stderr, fmt, args); - va_end (args); - } -} - -static void -lt_error_core (int exit_status, const char *file, - int line, const char *mode, - const char *message, va_list ap) -{ - fprintf (stderr, "%s:%s:%d: %s: ", program_name, file, line, mode); - vfprintf (stderr, message, ap); - fprintf (stderr, ".\n"); - - if (exit_status >= 0) - exit (exit_status); -} - -void -lt_fatal (const char *file, int line, const char *message, ...) -{ - va_list ap; - va_start (ap, message); - lt_error_core (EXIT_FAILURE, file, line, "FATAL", message, ap); - va_end (ap); -} - -static const char * -nonnull (const char *s) -{ - return s ? s : "(null)"; -} - -static const char * -nonempty (const char *s) -{ - return (s && !*s) ? "(empty)" : nonnull (s); -} - -void -lt_setenv (const char *name, const char *value) -{ - lt_debugprintf (__FILE__, __LINE__, - "(lt_setenv) setting '%s' to '%s'\n", - nonnull (name), nonnull (value)); - { -#ifdef HAVE_SETENV - /* always make a copy, for consistency with !HAVE_SETENV */ - char *str = xstrdup (value); - setenv (name, str, 1); -#else - size_t len = strlen (name) + 1 + strlen (value) + 1; - char *str = XMALLOC (char, len); - sprintf (str, "%s=%s", name, value); - if (putenv (str) != EXIT_SUCCESS) - { - XFREE (str); - } -#endif - } -} - -char * -lt_extend_str (const char *orig_value, const char *add, int to_end) -{ - char *new_value; - if (orig_value && *orig_value) - { - size_t orig_value_len = strlen (orig_value); - size_t add_len = strlen (add); - new_value = XMALLOC (char, add_len + orig_value_len + 1); - if (to_end) - { - strcpy (new_value, orig_value); - strcpy (new_value + orig_value_len, add); - } - else - { - strcpy (new_value, add); - strcpy (new_value + add_len, orig_value); - } - } - else - { - new_value = xstrdup (add); - } - return new_value; -} - -void -lt_update_exe_path (const char *name, const char *value) -{ - lt_debugprintf (__FILE__, __LINE__, - "(lt_update_exe_path) modifying '%s' by prepending '%s'\n", - nonnull (name), nonnull (value)); - - if (name && *name && value && *value) - { - char *new_value = lt_extend_str (getenv (name), value, 0); - /* some systems can't cope with a ':'-terminated path #' */ - size_t len = strlen (new_value); - while ((len > 0) && IS_PATH_SEPARATOR (new_value[len-1])) - { - new_value[--len] = '\0'; - } - lt_setenv (name, new_value); - XFREE (new_value); - } -} - -void -lt_update_lib_path (const char *name, const char *value) -{ - lt_debugprintf (__FILE__, __LINE__, - "(lt_update_lib_path) modifying '%s' by prepending '%s'\n", - nonnull (name), nonnull (value)); - - if (name && *name && value && *value) - { - char *new_value = lt_extend_str (getenv (name), value, 0); - lt_setenv (name, new_value); - XFREE (new_value); - } -} - -EOF - case $host_os in - mingw*) - cat <<"EOF" - -/* Prepares an argument vector before calling spawn(). - Note that spawn() does not by itself call the command interpreter - (getenv ("COMSPEC") != NULL ? getenv ("COMSPEC") : - ({ OSVERSIONINFO v; v.dwOSVersionInfoSize = sizeof(OSVERSIONINFO); - GetVersionEx(&v); - v.dwPlatformId == VER_PLATFORM_WIN32_NT; - }) ? "cmd.exe" : "command.com"). - Instead it simply concatenates the arguments, separated by ' ', and calls - CreateProcess(). We must quote the arguments since Win32 CreateProcess() - interprets characters like ' ', '\t', '\\', '"' (but not '<' and '>') in a - special way: - - Space and tab are interpreted as delimiters. They are not treated as - delimiters if they are surrounded by double quotes: "...". - - Unescaped double quotes are removed from the input. Their only effect is - that within double quotes, space and tab are treated like normal - characters. - - Backslashes not followed by double quotes are not special. - - But 2*n+1 backslashes followed by a double quote become - n backslashes followed by a double quote (n >= 0): - \" -> " - \\\" -> \" - \\\\\" -> \\" - */ -#define SHELL_SPECIAL_CHARS "\"\\ \001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037" -#define SHELL_SPACE_CHARS " \001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037" -char ** -prepare_spawn (char **argv) -{ - size_t argc; - char **new_argv; - size_t i; - - /* Count number of arguments. */ - for (argc = 0; argv[argc] != NULL; argc++) - ; - - /* Allocate new argument vector. */ - new_argv = XMALLOC (char *, argc + 1); - - /* Put quoted arguments into the new argument vector. */ - for (i = 0; i < argc; i++) - { - const char *string = argv[i]; - - if (string[0] == '\0') - new_argv[i] = xstrdup ("\"\""); - else if (strpbrk (string, SHELL_SPECIAL_CHARS) != NULL) - { - int quote_around = (strpbrk (string, SHELL_SPACE_CHARS) != NULL); - size_t length; - unsigned int backslashes; - const char *s; - char *quoted_string; - char *p; - - length = 0; - backslashes = 0; - if (quote_around) - length++; - for (s = string; *s != '\0'; s++) - { - char c = *s; - if (c == '"') - length += backslashes + 1; - length++; - if (c == '\\') - backslashes++; - else - backslashes = 0; - } - if (quote_around) - length += backslashes + 1; - - quoted_string = XMALLOC (char, length + 1); - - p = quoted_string; - backslashes = 0; - if (quote_around) - *p++ = '"'; - for (s = string; *s != '\0'; s++) - { - char c = *s; - if (c == '"') - { - unsigned int j; - for (j = backslashes + 1; j > 0; j--) - *p++ = '\\'; - } - *p++ = c; - if (c == '\\') - backslashes++; - else - backslashes = 0; - } - if (quote_around) - { - unsigned int j; - for (j = backslashes; j > 0; j--) - *p++ = '\\'; - *p++ = '"'; - } - *p = '\0'; - - new_argv[i] = quoted_string; - } - else - new_argv[i] = (char *) string; - } - new_argv[argc] = NULL; - - return new_argv; -} -EOF - ;; - esac - - cat <<"EOF" -void lt_dump_script (FILE* f) -{ -EOF - func_emit_wrapper yes | - $SED -n -e ' -s/^\(.\{79\}\)\(..*\)/\1\ -\2/ -h -s/\([\\"]\)/\\\1/g -s/$/\\n/ -s/\([^\n]*\).*/ fputs ("\1", f);/p -g -D' - cat <<"EOF" -} -EOF -} -# end: func_emit_cwrapperexe_src - -# func_win32_import_lib_p ARG -# True if ARG is an import lib, as indicated by $file_magic_cmd -func_win32_import_lib_p () -{ - $debug_cmd - - case `eval $file_magic_cmd \"\$1\" 2>/dev/null | $SED -e 10q` in - *import*) : ;; - *) false ;; - esac -} - -# func_suncc_cstd_abi -# !!ONLY CALL THIS FOR SUN CC AFTER $compile_command IS FULLY EXPANDED!! -# Several compiler flags select an ABI that is incompatible with the -# Cstd library. Avoid specifying it if any are in CXXFLAGS. -func_suncc_cstd_abi () -{ - $debug_cmd - - case " $compile_command " in - *" -compat=g "*|*\ -std=c++[0-9][0-9]\ *|*" -library=stdcxx4 "*|*" -library=stlport4 "*) - suncc_use_cstd_abi=no - ;; - *) - suncc_use_cstd_abi=yes - ;; - esac -} - -# func_mode_link arg... -func_mode_link () -{ - $debug_cmd - - case $host in - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) - # It is impossible to link a dll without this setting, and - # we shouldn't force the makefile maintainer to figure out - # what system we are compiling for in order to pass an extra - # flag for every libtool invocation. - # allow_undefined=no - - # FIXME: Unfortunately, there are problems with the above when trying - # to make a dll that has undefined symbols, in which case not - # even a static library is built. For now, we need to specify - # -no-undefined on the libtool link line when we can be certain - # that all symbols are satisfied, otherwise we get a static library. - allow_undefined=yes - ;; - *) - allow_undefined=yes - ;; - esac - libtool_args=$nonopt - base_compile="$nonopt $@" - compile_command=$nonopt - finalize_command=$nonopt - - compile_rpath= - finalize_rpath= - compile_shlibpath= - finalize_shlibpath= - convenience= - old_convenience= - deplibs= - old_deplibs= - compiler_flags= - linker_flags= - dllsearchpath= - lib_search_path=`pwd` - inst_prefix_dir= - new_inherited_linker_flags= - - avoid_version=no - bindir= - dlfiles= - dlprefiles= - dlself=no - export_dynamic=no - export_symbols= - export_symbols_regex= - generated= - libobjs= - ltlibs= - module=no - no_install=no - objs= - os2dllname= - non_pic_objects= - precious_files_regex= - prefer_static_libs=no - preload=false - prev= - prevarg= - release= - rpath= - xrpath= - perm_rpath= - temp_rpath= - thread_safe=no - vinfo= - vinfo_number=no - weak_libs= - single_module=$wl-single_module - func_infer_tag $base_compile - - # We need to know -static, to get the right output filenames. - for arg - do - case $arg in - -shared) - test yes != "$build_libtool_libs" \ - && func_fatal_configuration "cannot build a shared library" - build_old_libs=no - break - ;; - -all-static | -static | -static-libtool-libs) - case $arg in - -all-static) - if test yes = "$build_libtool_libs" && test -z "$link_static_flag"; then - func_warning "complete static linking is impossible in this configuration" - fi - if test -n "$link_static_flag"; then - dlopen_self=$dlopen_self_static - fi - prefer_static_libs=yes - ;; - -static) - if test -z "$pic_flag" && test -n "$link_static_flag"; then - dlopen_self=$dlopen_self_static - fi - prefer_static_libs=built - ;; - -static-libtool-libs) - if test -z "$pic_flag" && test -n "$link_static_flag"; then - dlopen_self=$dlopen_self_static - fi - prefer_static_libs=yes - ;; - esac - build_libtool_libs=no - build_old_libs=yes - break - ;; - esac - done - - # See if our shared archives depend on static archives. - test -n "$old_archive_from_new_cmds" && build_old_libs=yes - - # Go through the arguments, transforming them on the way. - while test "$#" -gt 0; do - arg=$1 - shift - func_quote_for_eval "$arg" - qarg=$func_quote_for_eval_unquoted_result - func_append libtool_args " $func_quote_for_eval_result" - - # If the previous option needs an argument, assign it. - if test -n "$prev"; then - case $prev in - output) - func_append compile_command " @OUTPUT@" - func_append finalize_command " @OUTPUT@" - ;; - esac - - case $prev in - bindir) - bindir=$arg - prev= - continue - ;; - dlfiles|dlprefiles) - $preload || { - # Add the symbol object into the linking commands. - func_append compile_command " @SYMFILE@" - func_append finalize_command " @SYMFILE@" - preload=: - } - case $arg in - *.la | *.lo) ;; # We handle these cases below. - force) - if test no = "$dlself"; then - dlself=needless - export_dynamic=yes - fi - prev= - continue - ;; - self) - if test dlprefiles = "$prev"; then - dlself=yes - elif test dlfiles = "$prev" && test yes != "$dlopen_self"; then - dlself=yes - else - dlself=needless - export_dynamic=yes - fi - prev= - continue - ;; - *) - if test dlfiles = "$prev"; then - func_append dlfiles " $arg" - else - func_append dlprefiles " $arg" - fi - prev= - continue - ;; - esac - ;; - expsyms) - export_symbols=$arg - test -f "$arg" \ - || func_fatal_error "symbol file '$arg' does not exist" - prev= - continue - ;; - expsyms_regex) - export_symbols_regex=$arg - prev= - continue - ;; - framework) - case $host in - *-*-darwin*) - case "$deplibs " in - *" $qarg.ltframework "*) ;; - *) func_append deplibs " $qarg.ltframework" # this is fixed later - ;; - esac - ;; - esac - prev= - continue - ;; - inst_prefix) - inst_prefix_dir=$arg - prev= - continue - ;; - mllvm) - # Clang does not use LLVM to link, so we can simply discard any - # '-mllvm $arg' options when doing the link step. - prev= - continue - ;; - objectlist) - if test -f "$arg"; then - save_arg=$arg - moreargs= - for fil in `cat "$save_arg"` - do -# func_append moreargs " $fil" - arg=$fil - # A libtool-controlled object. - - # Check to see that this really is a libtool object. - if func_lalib_unsafe_p "$arg"; then - pic_object= - non_pic_object= - - # Read the .lo file - func_source "$arg" - - if test -z "$pic_object" || - test -z "$non_pic_object" || - test none = "$pic_object" && - test none = "$non_pic_object"; then - func_fatal_error "cannot find name of object for '$arg'" - fi - - # Extract subdirectory from the argument. - func_dirname "$arg" "/" "" - xdir=$func_dirname_result - - if test none != "$pic_object"; then - # Prepend the subdirectory the object is found in. - pic_object=$xdir$pic_object - - if test dlfiles = "$prev"; then - if test yes = "$build_libtool_libs" && test yes = "$dlopen_support"; then - func_append dlfiles " $pic_object" - prev= - continue - else - # If libtool objects are unsupported, then we need to preload. - prev=dlprefiles - fi - fi - - # CHECK ME: I think I busted this. -Ossama - if test dlprefiles = "$prev"; then - # Preload the old-style object. - func_append dlprefiles " $pic_object" - prev= - fi - - # A PIC object. - func_append libobjs " $pic_object" - arg=$pic_object - fi - - # Non-PIC object. - if test none != "$non_pic_object"; then - # Prepend the subdirectory the object is found in. - non_pic_object=$xdir$non_pic_object - - # A standard non-PIC object - func_append non_pic_objects " $non_pic_object" - if test -z "$pic_object" || test none = "$pic_object"; then - arg=$non_pic_object - fi - else - # If the PIC object exists, use it instead. - # $xdir was prepended to $pic_object above. - non_pic_object=$pic_object - func_append non_pic_objects " $non_pic_object" - fi - else - # Only an error if not doing a dry-run. - if $opt_dry_run; then - # Extract subdirectory from the argument. - func_dirname "$arg" "/" "" - xdir=$func_dirname_result - - func_lo2o "$arg" - pic_object=$xdir$objdir/$func_lo2o_result - non_pic_object=$xdir$func_lo2o_result - func_append libobjs " $pic_object" - func_append non_pic_objects " $non_pic_object" - else - func_fatal_error "'$arg' is not a valid libtool object" - fi - fi - done - else - func_fatal_error "link input file '$arg' does not exist" - fi - arg=$save_arg - prev= - continue - ;; - os2dllname) - os2dllname=$arg - prev= - continue - ;; - precious_regex) - precious_files_regex=$arg - prev= - continue - ;; - release) - release=-$arg - prev= - continue - ;; - rpath | xrpath) - # We need an absolute path. - case $arg in - [\\/]* | [A-Za-z]:[\\/]*) ;; - *) - func_fatal_error "only absolute run-paths are allowed" - ;; - esac - if test rpath = "$prev"; then - case "$rpath " in - *" $arg "*) ;; - *) func_append rpath " $arg" ;; - esac - else - case "$xrpath " in - *" $arg "*) ;; - *) func_append xrpath " $arg" ;; - esac - fi - prev= - continue - ;; - shrext) - shrext_cmds=$arg - prev= - continue - ;; - weak) - func_append weak_libs " $arg" - prev= - continue - ;; - xcclinker) - func_append linker_flags " $qarg" - func_append compiler_flags " $qarg" - prev= - func_append compile_command " $qarg" - func_append finalize_command " $qarg" - continue - ;; - xcompiler) - func_append compiler_flags " $qarg" - prev= - func_append compile_command " $qarg" - func_append finalize_command " $qarg" - continue - ;; - xlinker) - func_append linker_flags " $qarg" - func_append compiler_flags " $wl$qarg" - prev= - func_append compile_command " $wl$qarg" - func_append finalize_command " $wl$qarg" - continue - ;; - *) - eval "$prev=\"\$arg\"" - prev= - continue - ;; - esac - fi # test -n "$prev" - - prevarg=$arg - - case $arg in - -all-static) - if test -n "$link_static_flag"; then - # See comment for -static flag below, for more details. - func_append compile_command " $link_static_flag" - func_append finalize_command " $link_static_flag" - fi - continue - ;; - - -allow-undefined) - # FIXME: remove this flag sometime in the future. - func_fatal_error "'-allow-undefined' must not be used because it is the default" - ;; - - -avoid-version) - avoid_version=yes - continue - ;; - - -bindir) - prev=bindir - continue - ;; - - -dlopen) - prev=dlfiles - continue - ;; - - -dlpreopen) - prev=dlprefiles - continue - ;; - - -export-dynamic) - export_dynamic=yes - continue - ;; - - -export-symbols | -export-symbols-regex) - if test -n "$export_symbols" || test -n "$export_symbols_regex"; then - func_fatal_error "more than one -exported-symbols argument is not allowed" - fi - if test X-export-symbols = "X$arg"; then - prev=expsyms - else - prev=expsyms_regex - fi - continue - ;; - - -framework) - prev=framework - continue - ;; - - -inst-prefix-dir) - prev=inst_prefix - continue - ;; - - # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:* - # so, if we see these flags be careful not to treat them like -L - -L[A-Z][A-Z]*:*) - case $with_gcc/$host in - no/*-*-irix* | /*-*-irix*) - func_append compile_command " $arg" - func_append finalize_command " $arg" - ;; - esac - continue - ;; - - -L*) - func_stripname "-L" '' "$arg" - if test -z "$func_stripname_result"; then - if test "$#" -gt 0; then - func_fatal_error "require no space between '-L' and '$1'" - else - func_fatal_error "need path for '-L' option" - fi - fi - func_resolve_sysroot "$func_stripname_result" - dir=$func_resolve_sysroot_result - # We need an absolute path. - case $dir in - [\\/]* | [A-Za-z]:[\\/]*) ;; - *) - absdir=`cd "$dir" && pwd` - test -z "$absdir" && \ - func_fatal_error "cannot determine absolute directory name of '$dir'" - dir=$absdir - ;; - esac - case "$deplibs " in - *" -L$dir "* | *" $arg "*) - # Will only happen for absolute or sysroot arguments - ;; - *) - # Preserve sysroot, but never include relative directories - case $dir in - [\\/]* | [A-Za-z]:[\\/]* | =*) func_append deplibs " $arg" ;; - *) func_append deplibs " -L$dir" ;; - esac - func_append lib_search_path " $dir" - ;; - esac - case $host in - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) - testbindir=`$ECHO "$dir" | $SED 's*/lib$*/bin*'` - case :$dllsearchpath: in - *":$dir:"*) ;; - ::) dllsearchpath=$dir;; - *) func_append dllsearchpath ":$dir";; - esac - case :$dllsearchpath: in - *":$testbindir:"*) ;; - ::) dllsearchpath=$testbindir;; - *) func_append dllsearchpath ":$testbindir";; - esac - ;; - esac - continue - ;; - - -l*) - if test X-lc = "X$arg" || test X-lm = "X$arg"; then - case $host in - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc* | *-*-haiku*) - # These systems don't actually have a C or math library (as such) - continue - ;; - *-*-os2*) - # These systems don't actually have a C library (as such) - test X-lc = "X$arg" && continue - ;; - *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-bitrig*) - # Do not include libc due to us having libc/libc_r. - test X-lc = "X$arg" && continue - ;; - *-*-rhapsody* | *-*-darwin1.[012]) - # Rhapsody C and math libraries are in the System framework - func_append deplibs " System.ltframework" - continue - ;; - *-*-sco3.2v5* | *-*-sco5v6*) - # Causes problems with __ctype - test X-lc = "X$arg" && continue - ;; - *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*) - # Compiler inserts libc in the correct place for threads to work - test X-lc = "X$arg" && continue - ;; - esac - elif test X-lc_r = "X$arg"; then - case $host in - *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-bitrig*) - # Do not include libc_r directly, use -pthread flag. - continue - ;; - esac - fi - func_append deplibs " $arg" - continue - ;; - - -mllvm) - prev=mllvm - continue - ;; - - -module) - module=yes - continue - ;; - - # Tru64 UNIX uses -model [arg] to determine the layout of C++ - # classes, name mangling, and exception handling. - # Darwin uses the -arch flag to determine output architecture. - -model|-arch|-isysroot|--sysroot) - func_append compiler_flags " $arg" - func_append compile_command " $arg" - func_append finalize_command " $arg" - prev=xcompiler - continue - ;; - - -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \ - |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*) - func_append compiler_flags " $arg" - func_append compile_command " $arg" - func_append finalize_command " $arg" - case "$new_inherited_linker_flags " in - *" $arg "*) ;; - * ) func_append new_inherited_linker_flags " $arg" ;; - esac - continue - ;; - - -multi_module) - single_module=$wl-multi_module - continue - ;; - - -no-fast-install) - fast_install=no - continue - ;; - - -no-install) - case $host in - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-darwin* | *-cegcc*) - # The PATH hackery in wrapper scripts is required on Windows - # and Darwin in order for the loader to find any dlls it needs. - func_warning "'-no-install' is ignored for $host" - func_warning "assuming '-no-fast-install' instead" - fast_install=no - ;; - *) no_install=yes ;; - esac - continue - ;; - - -no-undefined) - allow_undefined=no - continue - ;; - - -objectlist) - prev=objectlist - continue - ;; - - -os2dllname) - prev=os2dllname - continue - ;; - - -o) prev=output ;; - - -precious-files-regex) - prev=precious_regex - continue - ;; - - -release) - prev=release - continue - ;; - - -rpath) - prev=rpath - continue - ;; - - -R) - prev=xrpath - continue - ;; - - -R*) - func_stripname '-R' '' "$arg" - dir=$func_stripname_result - # We need an absolute path. - case $dir in - [\\/]* | [A-Za-z]:[\\/]*) ;; - =*) - func_stripname '=' '' "$dir" - dir=$lt_sysroot$func_stripname_result - ;; - *) - func_fatal_error "only absolute run-paths are allowed" - ;; - esac - case "$xrpath " in - *" $dir "*) ;; - *) func_append xrpath " $dir" ;; - esac - continue - ;; - - -shared) - # The effects of -shared are defined in a previous loop. - continue - ;; - - -shrext) - prev=shrext - continue - ;; - - -static | -static-libtool-libs) - # The effects of -static are defined in a previous loop. - # We used to do the same as -all-static on platforms that - # didn't have a PIC flag, but the assumption that the effects - # would be equivalent was wrong. It would break on at least - # Digital Unix and AIX. - continue - ;; - - -thread-safe) - thread_safe=yes - continue - ;; - - -version-info) - prev=vinfo - continue - ;; - - -version-number) - prev=vinfo - vinfo_number=yes - continue - ;; - - -weak) - prev=weak - continue - ;; - - -Wc,*) - func_stripname '-Wc,' '' "$arg" - args=$func_stripname_result - arg= - save_ifs=$IFS; IFS=, - for flag in $args; do - IFS=$save_ifs - func_quote_for_eval "$flag" - func_append arg " $func_quote_for_eval_result" - func_append compiler_flags " $func_quote_for_eval_result" - done - IFS=$save_ifs - func_stripname ' ' '' "$arg" - arg=$func_stripname_result - ;; - - -Wl,*) - func_stripname '-Wl,' '' "$arg" - args=$func_stripname_result - arg= - save_ifs=$IFS; IFS=, - for flag in $args; do - IFS=$save_ifs - func_quote_for_eval "$flag" - func_append arg " $wl$func_quote_for_eval_result" - func_append compiler_flags " $wl$func_quote_for_eval_result" - func_append linker_flags " $func_quote_for_eval_result" - done - IFS=$save_ifs - func_stripname ' ' '' "$arg" - arg=$func_stripname_result - ;; - - -Xcompiler) - prev=xcompiler - continue - ;; - - -Xlinker) - prev=xlinker - continue - ;; - - -XCClinker) - prev=xcclinker - continue - ;; - - # -msg_* for osf cc - -msg_*) - func_quote_for_eval "$arg" - arg=$func_quote_for_eval_result - ;; - - # Flags to be passed through unchanged, with rationale: - # -64, -mips[0-9] enable 64-bit mode for the SGI compiler - # -r[0-9][0-9]* specify processor for the SGI compiler - # -xarch=*, -xtarget=* enable 64-bit mode for the Sun compiler - # +DA*, +DD* enable 64-bit mode for the HP compiler - # -q* compiler args for the IBM compiler - # -m*, -t[45]*, -txscale* architecture-specific flags for GCC - # -F/path path to uninstalled frameworks, gcc on darwin - # -p, -pg, --coverage, -fprofile-* profiling flags for GCC - # -fstack-protector* stack protector flags for GCC - # @file GCC response files - # -tp=* Portland pgcc target processor selection - # --sysroot=* for sysroot support - # -O*, -g*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization - # -specs=* GCC specs files - # -stdlib=* select c++ std lib with clang - # -fsanitize=* Clang/GCC memory and address sanitizer - # -fuse-ld=* Linker select flags for GCC - # -static-* direct GCC to link specific libraries statically - # -fcilkplus Cilk Plus language extension features for C/C++ - -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ - -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \ - -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*| \ - -specs=*|-fsanitize=*|-fuse-ld=*|-static-*|-fcilkplus) - func_quote_for_eval "$arg" - arg=$func_quote_for_eval_result - func_append compile_command " $arg" - func_append finalize_command " $arg" - func_append compiler_flags " $arg" - continue - ;; - - -Z*) - if test os2 = "`expr $host : '.*\(os2\)'`"; then - # OS/2 uses -Zxxx to specify OS/2-specific options - compiler_flags="$compiler_flags $arg" - func_append compile_command " $arg" - func_append finalize_command " $arg" - case $arg in - -Zlinker | -Zstack) - prev=xcompiler - ;; - esac - continue - else - # Otherwise treat like 'Some other compiler flag' below - func_quote_for_eval "$arg" - arg=$func_quote_for_eval_result - fi - ;; - - # Some other compiler flag. - -* | +*) - func_quote_for_eval "$arg" - arg=$func_quote_for_eval_result - ;; - - *.$objext) - # A standard object. - func_append objs " $arg" - ;; - - *.lo) - # A libtool-controlled object. - - # Check to see that this really is a libtool object. - if func_lalib_unsafe_p "$arg"; then - pic_object= - non_pic_object= - - # Read the .lo file - func_source "$arg" - - if test -z "$pic_object" || - test -z "$non_pic_object" || - test none = "$pic_object" && - test none = "$non_pic_object"; then - func_fatal_error "cannot find name of object for '$arg'" - fi - - # Extract subdirectory from the argument. - func_dirname "$arg" "/" "" - xdir=$func_dirname_result - - test none = "$pic_object" || { - # Prepend the subdirectory the object is found in. - pic_object=$xdir$pic_object - - if test dlfiles = "$prev"; then - if test yes = "$build_libtool_libs" && test yes = "$dlopen_support"; then - func_append dlfiles " $pic_object" - prev= - continue - else - # If libtool objects are unsupported, then we need to preload. - prev=dlprefiles - fi - fi - - # CHECK ME: I think I busted this. -Ossama - if test dlprefiles = "$prev"; then - # Preload the old-style object. - func_append dlprefiles " $pic_object" - prev= - fi - - # A PIC object. - func_append libobjs " $pic_object" - arg=$pic_object - } - - # Non-PIC object. - if test none != "$non_pic_object"; then - # Prepend the subdirectory the object is found in. - non_pic_object=$xdir$non_pic_object - - # A standard non-PIC object - func_append non_pic_objects " $non_pic_object" - if test -z "$pic_object" || test none = "$pic_object"; then - arg=$non_pic_object - fi - else - # If the PIC object exists, use it instead. - # $xdir was prepended to $pic_object above. - non_pic_object=$pic_object - func_append non_pic_objects " $non_pic_object" - fi - else - # Only an error if not doing a dry-run. - if $opt_dry_run; then - # Extract subdirectory from the argument. - func_dirname "$arg" "/" "" - xdir=$func_dirname_result - - func_lo2o "$arg" - pic_object=$xdir$objdir/$func_lo2o_result - non_pic_object=$xdir$func_lo2o_result - func_append libobjs " $pic_object" - func_append non_pic_objects " $non_pic_object" - else - func_fatal_error "'$arg' is not a valid libtool object" - fi - fi - ;; - - *.$libext) - # An archive. - func_append deplibs " $arg" - func_append old_deplibs " $arg" - continue - ;; - - *.la) - # A libtool-controlled library. - - func_resolve_sysroot "$arg" - if test dlfiles = "$prev"; then - # This library was specified with -dlopen. - func_append dlfiles " $func_resolve_sysroot_result" - prev= - elif test dlprefiles = "$prev"; then - # The library was specified with -dlpreopen. - func_append dlprefiles " $func_resolve_sysroot_result" - prev= - else - func_append deplibs " $func_resolve_sysroot_result" - fi - continue - ;; - - # Some other compiler argument. - *) - # Unknown arguments in both finalize_command and compile_command need - # to be aesthetically quoted because they are evaled later. - func_quote_for_eval "$arg" - arg=$func_quote_for_eval_result - ;; - esac # arg - - # Now actually substitute the argument into the commands. - if test -n "$arg"; then - func_append compile_command " $arg" - func_append finalize_command " $arg" - fi - done # argument parsing loop - - test -n "$prev" && \ - func_fatal_help "the '$prevarg' option requires an argument" - - if test yes = "$export_dynamic" && test -n "$export_dynamic_flag_spec"; then - eval arg=\"$export_dynamic_flag_spec\" - func_append compile_command " $arg" - func_append finalize_command " $arg" - fi - - oldlibs= - # calculate the name of the file, without its directory - func_basename "$output" - outputname=$func_basename_result - libobjs_save=$libobjs - - if test -n "$shlibpath_var"; then - # get the directories listed in $shlibpath_var - eval shlib_search_path=\`\$ECHO \"\$$shlibpath_var\" \| \$SED \'s/:/ /g\'\` - else - shlib_search_path= - fi - eval sys_lib_search_path=\"$sys_lib_search_path_spec\" - eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\" - - # Definition is injected by LT_CONFIG during libtool generation. - func_munge_path_list sys_lib_dlsearch_path "$LT_SYS_LIBRARY_PATH" - - func_dirname "$output" "/" "" - output_objdir=$func_dirname_result$objdir - func_to_tool_file "$output_objdir/" - tool_output_objdir=$func_to_tool_file_result - # Create the object directory. - func_mkdir_p "$output_objdir" - - # Determine the type of output - case $output in - "") - func_fatal_help "you must specify an output file" - ;; - *.$libext) linkmode=oldlib ;; - *.lo | *.$objext) linkmode=obj ;; - *.la) linkmode=lib ;; - *) linkmode=prog ;; # Anything else should be a program. - esac - - specialdeplibs= - - libs= - # Find all interdependent deplibs by searching for libraries - # that are linked more than once (e.g. -la -lb -la) - for deplib in $deplibs; do - if $opt_preserve_dup_deps; then - case "$libs " in - *" $deplib "*) func_append specialdeplibs " $deplib" ;; - esac - fi - func_append libs " $deplib" - done - - if test lib = "$linkmode"; then - libs="$predeps $libs $compiler_lib_search_path $postdeps" - - # Compute libraries that are listed more than once in $predeps - # $postdeps and mark them as special (i.e., whose duplicates are - # not to be eliminated). - pre_post_deps= - if $opt_duplicate_compiler_generated_deps; then - for pre_post_dep in $predeps $postdeps; do - case "$pre_post_deps " in - *" $pre_post_dep "*) func_append specialdeplibs " $pre_post_deps" ;; - esac - func_append pre_post_deps " $pre_post_dep" - done - fi - pre_post_deps= - fi - - deplibs= - newdependency_libs= - newlib_search_path= - need_relink=no # whether we're linking any uninstalled libtool libraries - notinst_deplibs= # not-installed libtool libraries - notinst_path= # paths that contain not-installed libtool libraries - - case $linkmode in - lib) - passes="conv dlpreopen link" - for file in $dlfiles $dlprefiles; do - case $file in - *.la) ;; - *) - func_fatal_help "libraries can '-dlopen' only libtool libraries: $file" - ;; - esac - done - ;; - prog) - compile_deplibs= - finalize_deplibs= - alldeplibs=false - newdlfiles= - newdlprefiles= - passes="conv scan dlopen dlpreopen link" - ;; - *) passes="conv" - ;; - esac - - for pass in $passes; do - # The preopen pass in lib mode reverses $deplibs; put it back here - # so that -L comes before libs that need it for instance... - if test lib,link = "$linkmode,$pass"; then - ## FIXME: Find the place where the list is rebuilt in the wrong - ## order, and fix it there properly - tmp_deplibs= - for deplib in $deplibs; do - tmp_deplibs="$deplib $tmp_deplibs" - done - deplibs=$tmp_deplibs - fi - - if test lib,link = "$linkmode,$pass" || - test prog,scan = "$linkmode,$pass"; then - libs=$deplibs - deplibs= - fi - if test prog = "$linkmode"; then - case $pass in - dlopen) libs=$dlfiles ;; - dlpreopen) libs=$dlprefiles ;; - link) - libs="$deplibs %DEPLIBS%" - test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs" - ;; - esac - fi - if test lib,dlpreopen = "$linkmode,$pass"; then - # Collect and forward deplibs of preopened libtool libs - for lib in $dlprefiles; do - # Ignore non-libtool-libs - dependency_libs= - func_resolve_sysroot "$lib" - case $lib in - *.la) func_source "$func_resolve_sysroot_result" ;; - esac - - # Collect preopened libtool deplibs, except any this library - # has declared as weak libs - for deplib in $dependency_libs; do - func_basename "$deplib" - deplib_base=$func_basename_result - case " $weak_libs " in - *" $deplib_base "*) ;; - *) func_append deplibs " $deplib" ;; - esac - done - done - libs=$dlprefiles - fi - if test dlopen = "$pass"; then - # Collect dlpreopened libraries - save_deplibs=$deplibs - deplibs= - fi - - for deplib in $libs; do - lib= - found=false - case $deplib in - -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \ - |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*) - if test prog,link = "$linkmode,$pass"; then - compile_deplibs="$deplib $compile_deplibs" - finalize_deplibs="$deplib $finalize_deplibs" - else - func_append compiler_flags " $deplib" - if test lib = "$linkmode"; then - case "$new_inherited_linker_flags " in - *" $deplib "*) ;; - * ) func_append new_inherited_linker_flags " $deplib" ;; - esac - fi - fi - continue - ;; - -l*) - if test lib != "$linkmode" && test prog != "$linkmode"; then - func_warning "'-l' is ignored for archives/objects" - continue - fi - func_stripname '-l' '' "$deplib" - name=$func_stripname_result - if test lib = "$linkmode"; then - searchdirs="$newlib_search_path $lib_search_path $compiler_lib_search_dirs $sys_lib_search_path $shlib_search_path" - else - searchdirs="$newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path" - fi - for searchdir in $searchdirs; do - for search_ext in .la $std_shrext .so .a; do - # Search the libtool library - lib=$searchdir/lib$name$search_ext - if test -f "$lib"; then - if test .la = "$search_ext"; then - found=: - else - found=false - fi - break 2 - fi - done - done - if $found; then - # deplib is a libtool library - # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib, - # We need to do some special things here, and not later. - if test yes = "$allow_libtool_libs_with_static_runtimes"; then - case " $predeps $postdeps " in - *" $deplib "*) - if func_lalib_p "$lib"; then - library_names= - old_library= - func_source "$lib" - for l in $old_library $library_names; do - ll=$l - done - if test "X$ll" = "X$old_library"; then # only static version available - found=false - func_dirname "$lib" "" "." - ladir=$func_dirname_result - lib=$ladir/$old_library - if test prog,link = "$linkmode,$pass"; then - compile_deplibs="$deplib $compile_deplibs" - finalize_deplibs="$deplib $finalize_deplibs" - else - deplibs="$deplib $deplibs" - test lib = "$linkmode" && newdependency_libs="$deplib $newdependency_libs" - fi - continue - fi - fi - ;; - *) ;; - esac - fi - else - # deplib doesn't seem to be a libtool library - if test prog,link = "$linkmode,$pass"; then - compile_deplibs="$deplib $compile_deplibs" - finalize_deplibs="$deplib $finalize_deplibs" - else - deplibs="$deplib $deplibs" - test lib = "$linkmode" && newdependency_libs="$deplib $newdependency_libs" - fi - continue - fi - ;; # -l - *.ltframework) - if test prog,link = "$linkmode,$pass"; then - compile_deplibs="$deplib $compile_deplibs" - finalize_deplibs="$deplib $finalize_deplibs" - else - deplibs="$deplib $deplibs" - if test lib = "$linkmode"; then - case "$new_inherited_linker_flags " in - *" $deplib "*) ;; - * ) func_append new_inherited_linker_flags " $deplib" ;; - esac - fi - fi - continue - ;; - -L*) - case $linkmode in - lib) - deplibs="$deplib $deplibs" - test conv = "$pass" && continue - newdependency_libs="$deplib $newdependency_libs" - func_stripname '-L' '' "$deplib" - func_resolve_sysroot "$func_stripname_result" - func_append newlib_search_path " $func_resolve_sysroot_result" - ;; - prog) - if test conv = "$pass"; then - deplibs="$deplib $deplibs" - continue - fi - if test scan = "$pass"; then - deplibs="$deplib $deplibs" - else - compile_deplibs="$deplib $compile_deplibs" - finalize_deplibs="$deplib $finalize_deplibs" - fi - func_stripname '-L' '' "$deplib" - func_resolve_sysroot "$func_stripname_result" - func_append newlib_search_path " $func_resolve_sysroot_result" - ;; - *) - func_warning "'-L' is ignored for archives/objects" - ;; - esac # linkmode - continue - ;; # -L - -R*) - if test link = "$pass"; then - func_stripname '-R' '' "$deplib" - func_resolve_sysroot "$func_stripname_result" - dir=$func_resolve_sysroot_result - # Make sure the xrpath contains only unique directories. - case "$xrpath " in - *" $dir "*) ;; - *) func_append xrpath " $dir" ;; - esac - fi - deplibs="$deplib $deplibs" - continue - ;; - *.la) - func_resolve_sysroot "$deplib" - lib=$func_resolve_sysroot_result - ;; - *.$libext) - if test conv = "$pass"; then - deplibs="$deplib $deplibs" - continue - fi - case $linkmode in - lib) - # Linking convenience modules into shared libraries is allowed, - # but linking other static libraries is non-portable. - case " $dlpreconveniencelibs " in - *" $deplib "*) ;; - *) - valid_a_lib=false - case $deplibs_check_method in - match_pattern*) - set dummy $deplibs_check_method; shift - match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"` - if eval "\$ECHO \"$deplib\"" 2>/dev/null | $SED 10q \ - | $EGREP "$match_pattern_regex" > /dev/null; then - valid_a_lib=: - fi - ;; - pass_all) - valid_a_lib=: - ;; - esac - if $valid_a_lib; then - echo - $ECHO "*** Warning: Linking the shared library $output against the" - $ECHO "*** static library $deplib is not portable!" - deplibs="$deplib $deplibs" - else - echo - $ECHO "*** Warning: Trying to link with static lib archive $deplib." - echo "*** I have the capability to make that library automatically link in when" - echo "*** you link to this library. But I can only do this if you have a" - echo "*** shared version of the library, which you do not appear to have" - echo "*** because the file extensions .$libext of this argument makes me believe" - echo "*** that it is just a static archive that I should not use here." - fi - ;; - esac - continue - ;; - prog) - if test link != "$pass"; then - deplibs="$deplib $deplibs" - else - compile_deplibs="$deplib $compile_deplibs" - finalize_deplibs="$deplib $finalize_deplibs" - fi - continue - ;; - esac # linkmode - ;; # *.$libext - *.lo | *.$objext) - if test conv = "$pass"; then - deplibs="$deplib $deplibs" - elif test prog = "$linkmode"; then - if test dlpreopen = "$pass" || test yes != "$dlopen_support" || test no = "$build_libtool_libs"; then - # If there is no dlopen support or we're linking statically, - # we need to preload. - func_append newdlprefiles " $deplib" - compile_deplibs="$deplib $compile_deplibs" - finalize_deplibs="$deplib $finalize_deplibs" - else - func_append newdlfiles " $deplib" - fi - fi - continue - ;; - %DEPLIBS%) - alldeplibs=: - continue - ;; - esac # case $deplib - - $found || test -f "$lib" \ - || func_fatal_error "cannot find the library '$lib' or unhandled argument '$deplib'" - - # Check to see that this really is a libtool archive. - func_lalib_unsafe_p "$lib" \ - || func_fatal_error "'$lib' is not a valid libtool archive" - - func_dirname "$lib" "" "." - ladir=$func_dirname_result - - dlname= - dlopen= - dlpreopen= - libdir= - library_names= - old_library= - inherited_linker_flags= - # If the library was installed with an old release of libtool, - # it will not redefine variables installed, or shouldnotlink - installed=yes - shouldnotlink=no - avoidtemprpath= - - - # Read the .la file - func_source "$lib" - - # Convert "-framework foo" to "foo.ltframework" - if test -n "$inherited_linker_flags"; then - tmp_inherited_linker_flags=`$ECHO "$inherited_linker_flags" | $SED 's/-framework \([^ $]*\)/\1.ltframework/g'` - for tmp_inherited_linker_flag in $tmp_inherited_linker_flags; do - case " $new_inherited_linker_flags " in - *" $tmp_inherited_linker_flag "*) ;; - *) func_append new_inherited_linker_flags " $tmp_inherited_linker_flag";; - esac - done - fi - dependency_libs=`$ECHO " $dependency_libs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` - if test lib,link = "$linkmode,$pass" || - test prog,scan = "$linkmode,$pass" || - { test prog != "$linkmode" && test lib != "$linkmode"; }; then - test -n "$dlopen" && func_append dlfiles " $dlopen" - test -n "$dlpreopen" && func_append dlprefiles " $dlpreopen" - fi - - if test conv = "$pass"; then - # Only check for convenience libraries - deplibs="$lib $deplibs" - if test -z "$libdir"; then - if test -z "$old_library"; then - func_fatal_error "cannot find name of link library for '$lib'" - fi - # It is a libtool convenience library, so add in its objects. - func_append convenience " $ladir/$objdir/$old_library" - func_append old_convenience " $ladir/$objdir/$old_library" - tmp_libs= - for deplib in $dependency_libs; do - deplibs="$deplib $deplibs" - if $opt_preserve_dup_deps; then - case "$tmp_libs " in - *" $deplib "*) func_append specialdeplibs " $deplib" ;; - esac - fi - func_append tmp_libs " $deplib" - done - elif test prog != "$linkmode" && test lib != "$linkmode"; then - func_fatal_error "'$lib' is not a convenience library" - fi - continue - fi # $pass = conv - - - # Get the name of the library we link against. - linklib= - if test -n "$old_library" && - { test yes = "$prefer_static_libs" || - test built,no = "$prefer_static_libs,$installed"; }; then - linklib=$old_library - else - for l in $old_library $library_names; do - linklib=$l - done - fi - if test -z "$linklib"; then - func_fatal_error "cannot find name of link library for '$lib'" - fi - - # This library was specified with -dlopen. - if test dlopen = "$pass"; then - test -z "$libdir" \ - && func_fatal_error "cannot -dlopen a convenience library: '$lib'" - if test -z "$dlname" || - test yes != "$dlopen_support" || - test no = "$build_libtool_libs" - then - # If there is no dlname, no dlopen support or we're linking - # statically, we need to preload. We also need to preload any - # dependent libraries so libltdl's deplib preloader doesn't - # bomb out in the load deplibs phase. - func_append dlprefiles " $lib $dependency_libs" - else - func_append newdlfiles " $lib" - fi - continue - fi # $pass = dlopen - - # We need an absolute path. - case $ladir in - [\\/]* | [A-Za-z]:[\\/]*) abs_ladir=$ladir ;; - *) - abs_ladir=`cd "$ladir" && pwd` - if test -z "$abs_ladir"; then - func_warning "cannot determine absolute directory name of '$ladir'" - func_warning "passing it literally to the linker, although it might fail" - abs_ladir=$ladir - fi - ;; - esac - func_basename "$lib" - laname=$func_basename_result - - # Find the relevant object directory and library name. - if test yes = "$installed"; then - if test ! -f "$lt_sysroot$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then - func_warning "library '$lib' was moved." - dir=$ladir - absdir=$abs_ladir - libdir=$abs_ladir - else - dir=$lt_sysroot$libdir - absdir=$lt_sysroot$libdir - fi - test yes = "$hardcode_automatic" && avoidtemprpath=yes - else - if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then - dir=$ladir - absdir=$abs_ladir - # Remove this search path later - func_append notinst_path " $abs_ladir" - else - dir=$ladir/$objdir - absdir=$abs_ladir/$objdir - # Remove this search path later - func_append notinst_path " $abs_ladir" - fi - fi # $installed = yes - func_stripname 'lib' '.la' "$laname" - name=$func_stripname_result - - # This library was specified with -dlpreopen. - if test dlpreopen = "$pass"; then - if test -z "$libdir" && test prog = "$linkmode"; then - func_fatal_error "only libraries may -dlpreopen a convenience library: '$lib'" - fi - case $host in - # special handling for platforms with PE-DLLs. - *cygwin* | *mingw* | *cegcc* ) - # Linker will automatically link against shared library if both - # static and shared are present. Therefore, ensure we extract - # symbols from the import library if a shared library is present - # (otherwise, the dlopen module name will be incorrect). We do - # this by putting the import library name into $newdlprefiles. - # We recover the dlopen module name by 'saving' the la file - # name in a special purpose variable, and (later) extracting the - # dlname from the la file. - if test -n "$dlname"; then - func_tr_sh "$dir/$linklib" - eval "libfile_$func_tr_sh_result=\$abs_ladir/\$laname" - func_append newdlprefiles " $dir/$linklib" - else - func_append newdlprefiles " $dir/$old_library" - # Keep a list of preopened convenience libraries to check - # that they are being used correctly in the link pass. - test -z "$libdir" && \ - func_append dlpreconveniencelibs " $dir/$old_library" - fi - ;; - * ) - # Prefer using a static library (so that no silly _DYNAMIC symbols - # are required to link). - if test -n "$old_library"; then - func_append newdlprefiles " $dir/$old_library" - # Keep a list of preopened convenience libraries to check - # that they are being used correctly in the link pass. - test -z "$libdir" && \ - func_append dlpreconveniencelibs " $dir/$old_library" - # Otherwise, use the dlname, so that lt_dlopen finds it. - elif test -n "$dlname"; then - func_append newdlprefiles " $dir/$dlname" - else - func_append newdlprefiles " $dir/$linklib" - fi - ;; - esac - fi # $pass = dlpreopen - - if test -z "$libdir"; then - # Link the convenience library - if test lib = "$linkmode"; then - deplibs="$dir/$old_library $deplibs" - elif test prog,link = "$linkmode,$pass"; then - compile_deplibs="$dir/$old_library $compile_deplibs" - finalize_deplibs="$dir/$old_library $finalize_deplibs" - else - deplibs="$lib $deplibs" # used for prog,scan pass - fi - continue - fi - - - if test prog = "$linkmode" && test link != "$pass"; then - func_append newlib_search_path " $ladir" - deplibs="$lib $deplibs" - - linkalldeplibs=false - if test no != "$link_all_deplibs" || test -z "$library_names" || - test no = "$build_libtool_libs"; then - linkalldeplibs=: - fi - - tmp_libs= - for deplib in $dependency_libs; do - case $deplib in - -L*) func_stripname '-L' '' "$deplib" - func_resolve_sysroot "$func_stripname_result" - func_append newlib_search_path " $func_resolve_sysroot_result" - ;; - esac - # Need to link against all dependency_libs? - if $linkalldeplibs; then - deplibs="$deplib $deplibs" - else - # Need to hardcode shared library paths - # or/and link against static libraries - newdependency_libs="$deplib $newdependency_libs" - fi - if $opt_preserve_dup_deps; then - case "$tmp_libs " in - *" $deplib "*) func_append specialdeplibs " $deplib" ;; - esac - fi - func_append tmp_libs " $deplib" - done # for deplib - continue - fi # $linkmode = prog... - - if test prog,link = "$linkmode,$pass"; then - if test -n "$library_names" && - { { test no = "$prefer_static_libs" || - test built,yes = "$prefer_static_libs,$installed"; } || - test -z "$old_library"; }; then - # We need to hardcode the library path - if test -n "$shlibpath_var" && test -z "$avoidtemprpath"; then - # Make sure the rpath contains only unique directories. - case $temp_rpath: in - *"$absdir:"*) ;; - *) func_append temp_rpath "$absdir:" ;; - esac - fi - - # Hardcode the library path. - # Skip directories that are in the system default run-time - # search path. - case " $sys_lib_dlsearch_path " in - *" $absdir "*) ;; - *) - case "$compile_rpath " in - *" $absdir "*) ;; - *) func_append compile_rpath " $absdir" ;; - esac - ;; - esac - case " $sys_lib_dlsearch_path " in - *" $libdir "*) ;; - *) - case "$finalize_rpath " in - *" $libdir "*) ;; - *) func_append finalize_rpath " $libdir" ;; - esac - ;; - esac - fi # $linkmode,$pass = prog,link... - - if $alldeplibs && - { test pass_all = "$deplibs_check_method" || - { test yes = "$build_libtool_libs" && - test -n "$library_names"; }; }; then - # We only need to search for static libraries - continue - fi - fi - - link_static=no # Whether the deplib will be linked statically - use_static_libs=$prefer_static_libs - if test built = "$use_static_libs" && test yes = "$installed"; then - use_static_libs=no - fi - if test -n "$library_names" && - { test no = "$use_static_libs" || test -z "$old_library"; }; then - case $host in - *cygwin* | *mingw* | *cegcc* | *os2*) - # No point in relinking DLLs because paths are not encoded - func_append notinst_deplibs " $lib" - need_relink=no - ;; - *) - if test no = "$installed"; then - func_append notinst_deplibs " $lib" - need_relink=yes - fi - ;; - esac - # This is a shared library - - # Warn about portability, can't link against -module's on some - # systems (darwin). Don't bleat about dlopened modules though! - dlopenmodule= - for dlpremoduletest in $dlprefiles; do - if test "X$dlpremoduletest" = "X$lib"; then - dlopenmodule=$dlpremoduletest - break - fi - done - if test -z "$dlopenmodule" && test yes = "$shouldnotlink" && test link = "$pass"; then - echo - if test prog = "$linkmode"; then - $ECHO "*** Warning: Linking the executable $output against the loadable module" - else - $ECHO "*** Warning: Linking the shared library $output against the loadable module" - fi - $ECHO "*** $linklib is not portable!" - fi - if test lib = "$linkmode" && - test yes = "$hardcode_into_libs"; then - # Hardcode the library path. - # Skip directories that are in the system default run-time - # search path. - case " $sys_lib_dlsearch_path " in - *" $absdir "*) ;; - *) - case "$compile_rpath " in - *" $absdir "*) ;; - *) func_append compile_rpath " $absdir" ;; - esac - ;; - esac - case " $sys_lib_dlsearch_path " in - *" $libdir "*) ;; - *) - case "$finalize_rpath " in - *" $libdir "*) ;; - *) func_append finalize_rpath " $libdir" ;; - esac - ;; - esac - fi - - if test -n "$old_archive_from_expsyms_cmds"; then - # figure out the soname - set dummy $library_names - shift - realname=$1 - shift - libname=`eval "\\$ECHO \"$libname_spec\""` - # use dlname if we got it. it's perfectly good, no? - if test -n "$dlname"; then - soname=$dlname - elif test -n "$soname_spec"; then - # bleh windows - case $host in - *cygwin* | mingw* | *cegcc* | *os2*) - func_arith $current - $age - major=$func_arith_result - versuffix=-$major - ;; - esac - eval soname=\"$soname_spec\" - else - soname=$realname - fi - - # Make a new name for the extract_expsyms_cmds to use - soroot=$soname - func_basename "$soroot" - soname=$func_basename_result - func_stripname 'lib' '.dll' "$soname" - newlib=libimp-$func_stripname_result.a - - # If the library has no export list, then create one now - if test -f "$output_objdir/$soname-def"; then : - else - func_verbose "extracting exported symbol list from '$soname'" - func_execute_cmds "$extract_expsyms_cmds" 'exit $?' - fi - - # Create $newlib - if test -f "$output_objdir/$newlib"; then :; else - func_verbose "generating import library for '$soname'" - func_execute_cmds "$old_archive_from_expsyms_cmds" 'exit $?' - fi - # make sure the library variables are pointing to the new library - dir=$output_objdir - linklib=$newlib - fi # test -n "$old_archive_from_expsyms_cmds" - - if test prog = "$linkmode" || test relink != "$opt_mode"; then - add_shlibpath= - add_dir= - add= - lib_linked=yes - case $hardcode_action in - immediate | unsupported) - if test no = "$hardcode_direct"; then - add=$dir/$linklib - case $host in - *-*-sco3.2v5.0.[024]*) add_dir=-L$dir ;; - *-*-sysv4*uw2*) add_dir=-L$dir ;; - *-*-sysv5OpenUNIX* | *-*-sysv5UnixWare7.[01].[10]* | \ - *-*-unixware7*) add_dir=-L$dir ;; - *-*-darwin* ) - # if the lib is a (non-dlopened) module then we cannot - # link against it, someone is ignoring the earlier warnings - if /usr/bin/file -L $add 2> /dev/null | - $GREP ": [^:]* bundle" >/dev/null; then - if test "X$dlopenmodule" != "X$lib"; then - $ECHO "*** Warning: lib $linklib is a module, not a shared library" - if test -z "$old_library"; then - echo - echo "*** And there doesn't seem to be a static archive available" - echo "*** The link will probably fail, sorry" - else - add=$dir/$old_library - fi - elif test -n "$old_library"; then - add=$dir/$old_library - fi - fi - esac - elif test no = "$hardcode_minus_L"; then - case $host in - *-*-sunos*) add_shlibpath=$dir ;; - esac - add_dir=-L$dir - add=-l$name - elif test no = "$hardcode_shlibpath_var"; then - add_shlibpath=$dir - add=-l$name - else - lib_linked=no - fi - ;; - relink) - if test yes = "$hardcode_direct" && - test no = "$hardcode_direct_absolute"; then - add=$dir/$linklib - elif test yes = "$hardcode_minus_L"; then - add_dir=-L$absdir - # Try looking first in the location we're being installed to. - if test -n "$inst_prefix_dir"; then - case $libdir in - [\\/]*) - func_append add_dir " -L$inst_prefix_dir$libdir" - ;; - esac - fi - add=-l$name - elif test yes = "$hardcode_shlibpath_var"; then - add_shlibpath=$dir - add=-l$name - else - lib_linked=no - fi - ;; - *) lib_linked=no ;; - esac - - if test yes != "$lib_linked"; then - func_fatal_configuration "unsupported hardcode properties" - fi - - if test -n "$add_shlibpath"; then - case :$compile_shlibpath: in - *":$add_shlibpath:"*) ;; - *) func_append compile_shlibpath "$add_shlibpath:" ;; - esac - fi - if test prog = "$linkmode"; then - test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs" - test -n "$add" && compile_deplibs="$add $compile_deplibs" - else - test -n "$add_dir" && deplibs="$add_dir $deplibs" - test -n "$add" && deplibs="$add $deplibs" - if test yes != "$hardcode_direct" && - test yes != "$hardcode_minus_L" && - test yes = "$hardcode_shlibpath_var"; then - case :$finalize_shlibpath: in - *":$libdir:"*) ;; - *) func_append finalize_shlibpath "$libdir:" ;; - esac - fi - fi - fi - - if test prog = "$linkmode" || test relink = "$opt_mode"; then - add_shlibpath= - add_dir= - add= - # Finalize command for both is simple: just hardcode it. - if test yes = "$hardcode_direct" && - test no = "$hardcode_direct_absolute"; then - add=$libdir/$linklib - elif test yes = "$hardcode_minus_L"; then - add_dir=-L$libdir - add=-l$name - elif test yes = "$hardcode_shlibpath_var"; then - case :$finalize_shlibpath: in - *":$libdir:"*) ;; - *) func_append finalize_shlibpath "$libdir:" ;; - esac - add=-l$name - elif test yes = "$hardcode_automatic"; then - if test -n "$inst_prefix_dir" && - test -f "$inst_prefix_dir$libdir/$linklib"; then - add=$inst_prefix_dir$libdir/$linklib - else - add=$libdir/$linklib - fi - else - # We cannot seem to hardcode it, guess we'll fake it. - add_dir=-L$libdir - # Try looking first in the location we're being installed to. - if test -n "$inst_prefix_dir"; then - case $libdir in - [\\/]*) - func_append add_dir " -L$inst_prefix_dir$libdir" - ;; - esac - fi - add=-l$name - fi - - if test prog = "$linkmode"; then - test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs" - test -n "$add" && finalize_deplibs="$add $finalize_deplibs" - else - test -n "$add_dir" && deplibs="$add_dir $deplibs" - test -n "$add" && deplibs="$add $deplibs" - fi - fi - elif test prog = "$linkmode"; then - # Here we assume that one of hardcode_direct or hardcode_minus_L - # is not unsupported. This is valid on all known static and - # shared platforms. - if test unsupported != "$hardcode_direct"; then - test -n "$old_library" && linklib=$old_library - compile_deplibs="$dir/$linklib $compile_deplibs" - finalize_deplibs="$dir/$linklib $finalize_deplibs" - else - compile_deplibs="-l$name -L$dir $compile_deplibs" - finalize_deplibs="-l$name -L$dir $finalize_deplibs" - fi - elif test yes = "$build_libtool_libs"; then - # Not a shared library - if test pass_all != "$deplibs_check_method"; then - # We're trying link a shared library against a static one - # but the system doesn't support it. - - # Just print a warning and add the library to dependency_libs so - # that the program can be linked against the static library. - echo - $ECHO "*** Warning: This system cannot link to static lib archive $lib." - echo "*** I have the capability to make that library automatically link in when" - echo "*** you link to this library. But I can only do this if you have a" - echo "*** shared version of the library, which you do not appear to have." - if test yes = "$module"; then - echo "*** But as you try to build a module library, libtool will still create " - echo "*** a static module, that should work as long as the dlopening application" - echo "*** is linked with the -dlopen flag to resolve symbols at runtime." - if test -z "$global_symbol_pipe"; then - echo - echo "*** However, this would only work if libtool was able to extract symbol" - echo "*** lists from a program, using 'nm' or equivalent, but libtool could" - echo "*** not find such a program. So, this module is probably useless." - echo "*** 'nm' from GNU binutils and a full rebuild may help." - fi - if test no = "$build_old_libs"; then - build_libtool_libs=module - build_old_libs=yes - else - build_libtool_libs=no - fi - fi - else - deplibs="$dir/$old_library $deplibs" - link_static=yes - fi - fi # link shared/static library? - - if test lib = "$linkmode"; then - if test -n "$dependency_libs" && - { test yes != "$hardcode_into_libs" || - test yes = "$build_old_libs" || - test yes = "$link_static"; }; then - # Extract -R from dependency_libs - temp_deplibs= - for libdir in $dependency_libs; do - case $libdir in - -R*) func_stripname '-R' '' "$libdir" - temp_xrpath=$func_stripname_result - case " $xrpath " in - *" $temp_xrpath "*) ;; - *) func_append xrpath " $temp_xrpath";; - esac;; - *) func_append temp_deplibs " $libdir";; - esac - done - dependency_libs=$temp_deplibs - fi - - func_append newlib_search_path " $absdir" - # Link against this library - test no = "$link_static" && newdependency_libs="$abs_ladir/$laname $newdependency_libs" - # ... and its dependency_libs - tmp_libs= - for deplib in $dependency_libs; do - newdependency_libs="$deplib $newdependency_libs" - case $deplib in - -L*) func_stripname '-L' '' "$deplib" - func_resolve_sysroot "$func_stripname_result";; - *) func_resolve_sysroot "$deplib" ;; - esac - if $opt_preserve_dup_deps; then - case "$tmp_libs " in - *" $func_resolve_sysroot_result "*) - func_append specialdeplibs " $func_resolve_sysroot_result" ;; - esac - fi - func_append tmp_libs " $func_resolve_sysroot_result" - done - - if test no != "$link_all_deplibs"; then - # Add the search paths of all dependency libraries - for deplib in $dependency_libs; do - path= - case $deplib in - -L*) path=$deplib ;; - *.la) - func_resolve_sysroot "$deplib" - deplib=$func_resolve_sysroot_result - func_dirname "$deplib" "" "." - dir=$func_dirname_result - # We need an absolute path. - case $dir in - [\\/]* | [A-Za-z]:[\\/]*) absdir=$dir ;; - *) - absdir=`cd "$dir" && pwd` - if test -z "$absdir"; then - func_warning "cannot determine absolute directory name of '$dir'" - absdir=$dir - fi - ;; - esac - if $GREP "^installed=no" $deplib > /dev/null; then - case $host in - *-*-darwin*) - depdepl= - eval deplibrary_names=`$SED -n -e 's/^library_names=\(.*\)$/\1/p' $deplib` - if test -n "$deplibrary_names"; then - for tmp in $deplibrary_names; do - depdepl=$tmp - done - if test -f "$absdir/$objdir/$depdepl"; then - depdepl=$absdir/$objdir/$depdepl - darwin_install_name=`$OTOOL -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'` - if test -z "$darwin_install_name"; then - darwin_install_name=`$OTOOL64 -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'` - fi - func_append compiler_flags " $wl-dylib_file $wl$darwin_install_name:$depdepl" - func_append linker_flags " -dylib_file $darwin_install_name:$depdepl" - path= - fi - fi - ;; - *) - path=-L$absdir/$objdir - ;; - esac - else - eval libdir=`$SED -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` - test -z "$libdir" && \ - func_fatal_error "'$deplib' is not a valid libtool archive" - test "$absdir" != "$libdir" && \ - func_warning "'$deplib' seems to be moved" - - path=-L$absdir - fi - ;; - esac - case " $deplibs " in - *" $path "*) ;; - *) deplibs="$path $deplibs" ;; - esac - done - fi # link_all_deplibs != no - fi # linkmode = lib - done # for deplib in $libs - if test link = "$pass"; then - if test prog = "$linkmode"; then - compile_deplibs="$new_inherited_linker_flags $compile_deplibs" - finalize_deplibs="$new_inherited_linker_flags $finalize_deplibs" - else - compiler_flags="$compiler_flags "`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` - fi - fi - dependency_libs=$newdependency_libs - if test dlpreopen = "$pass"; then - # Link the dlpreopened libraries before other libraries - for deplib in $save_deplibs; do - deplibs="$deplib $deplibs" - done - fi - if test dlopen != "$pass"; then - test conv = "$pass" || { - # Make sure lib_search_path contains only unique directories. - lib_search_path= - for dir in $newlib_search_path; do - case "$lib_search_path " in - *" $dir "*) ;; - *) func_append lib_search_path " $dir" ;; - esac - done - newlib_search_path= - } - - if test prog,link = "$linkmode,$pass"; then - vars="compile_deplibs finalize_deplibs" - else - vars=deplibs - fi - for var in $vars dependency_libs; do - # Add libraries to $var in reverse order - eval tmp_libs=\"\$$var\" - new_libs= - for deplib in $tmp_libs; do - # FIXME: Pedantically, this is the right thing to do, so - # that some nasty dependency loop isn't accidentally - # broken: - #new_libs="$deplib $new_libs" - # Pragmatically, this seems to cause very few problems in - # practice: - case $deplib in - -L*) new_libs="$deplib $new_libs" ;; - -R*) ;; - *) - # And here is the reason: when a library appears more - # than once as an explicit dependence of a library, or - # is implicitly linked in more than once by the - # compiler, it is considered special, and multiple - # occurrences thereof are not removed. Compare this - # with having the same library being listed as a - # dependency of multiple other libraries: in this case, - # we know (pedantically, we assume) the library does not - # need to be listed more than once, so we keep only the - # last copy. This is not always right, but it is rare - # enough that we require users that really mean to play - # such unportable linking tricks to link the library - # using -Wl,-lname, so that libtool does not consider it - # for duplicate removal. - case " $specialdeplibs " in - *" $deplib "*) new_libs="$deplib $new_libs" ;; - *) - case " $new_libs " in - *" $deplib "*) ;; - *) new_libs="$deplib $new_libs" ;; - esac - ;; - esac - ;; - esac - done - tmp_libs= - for deplib in $new_libs; do - case $deplib in - -L*) - case " $tmp_libs " in - *" $deplib "*) ;; - *) func_append tmp_libs " $deplib" ;; - esac - ;; - *) func_append tmp_libs " $deplib" ;; - esac - done - eval $var=\"$tmp_libs\" - done # for var - fi - - # Add Sun CC postdeps if required: - test CXX = "$tagname" && { - case $host_os in - linux*) - case `$CC -V 2>&1 | sed 5q` in - *Sun\ C*) # Sun C++ 5.9 - func_suncc_cstd_abi - - if test no != "$suncc_use_cstd_abi"; then - func_append postdeps ' -library=Cstd -library=Crun' - fi - ;; - esac - ;; - - solaris*) - func_cc_basename "$CC" - case $func_cc_basename_result in - CC* | sunCC*) - func_suncc_cstd_abi - - if test no != "$suncc_use_cstd_abi"; then - func_append postdeps ' -library=Cstd -library=Crun' - fi - ;; - esac - ;; - esac - } - - # Last step: remove runtime libs from dependency_libs - # (they stay in deplibs) - tmp_libs= - for i in $dependency_libs; do - case " $predeps $postdeps $compiler_lib_search_path " in - *" $i "*) - i= - ;; - esac - if test -n "$i"; then - func_append tmp_libs " $i" - fi - done - dependency_libs=$tmp_libs - done # for pass - if test prog = "$linkmode"; then - dlfiles=$newdlfiles - fi - if test prog = "$linkmode" || test lib = "$linkmode"; then - dlprefiles=$newdlprefiles - fi - - case $linkmode in - oldlib) - if test -n "$dlfiles$dlprefiles" || test no != "$dlself"; then - func_warning "'-dlopen' is ignored for archives" - fi - - case " $deplibs" in - *\ -l* | *\ -L*) - func_warning "'-l' and '-L' are ignored for archives" ;; - esac - - test -n "$rpath" && \ - func_warning "'-rpath' is ignored for archives" - - test -n "$xrpath" && \ - func_warning "'-R' is ignored for archives" - - test -n "$vinfo" && \ - func_warning "'-version-info/-version-number' is ignored for archives" - - test -n "$release" && \ - func_warning "'-release' is ignored for archives" - - test -n "$export_symbols$export_symbols_regex" && \ - func_warning "'-export-symbols' is ignored for archives" - - # Now set the variables for building old libraries. - build_libtool_libs=no - oldlibs=$output - func_append objs "$old_deplibs" - ;; - - lib) - # Make sure we only generate libraries of the form 'libNAME.la'. - case $outputname in - lib*) - func_stripname 'lib' '.la' "$outputname" - name=$func_stripname_result - eval shared_ext=\"$shrext_cmds\" - eval libname=\"$libname_spec\" - ;; - *) - test no = "$module" \ - && func_fatal_help "libtool library '$output' must begin with 'lib'" - - if test no != "$need_lib_prefix"; then - # Add the "lib" prefix for modules if required - func_stripname '' '.la' "$outputname" - name=$func_stripname_result - eval shared_ext=\"$shrext_cmds\" - eval libname=\"$libname_spec\" - else - func_stripname '' '.la' "$outputname" - libname=$func_stripname_result - fi - ;; - esac - - if test -n "$objs"; then - if test pass_all != "$deplibs_check_method"; then - func_fatal_error "cannot build libtool library '$output' from non-libtool objects on this host:$objs" - else - echo - $ECHO "*** Warning: Linking the shared library $output against the non-libtool" - $ECHO "*** objects $objs is not portable!" - func_append libobjs " $objs" - fi - fi - - test no = "$dlself" \ - || func_warning "'-dlopen self' is ignored for libtool libraries" - - set dummy $rpath - shift - test 1 -lt "$#" \ - && func_warning "ignoring multiple '-rpath's for a libtool library" - - install_libdir=$1 - - oldlibs= - if test -z "$rpath"; then - if test yes = "$build_libtool_libs"; then - # Building a libtool convenience library. - # Some compilers have problems with a '.al' extension so - # convenience libraries should have the same extension an - # archive normally would. - oldlibs="$output_objdir/$libname.$libext $oldlibs" - build_libtool_libs=convenience - build_old_libs=yes - fi - - test -n "$vinfo" && \ - func_warning "'-version-info/-version-number' is ignored for convenience libraries" - - test -n "$release" && \ - func_warning "'-release' is ignored for convenience libraries" - else - - # Parse the version information argument. - save_ifs=$IFS; IFS=: - set dummy $vinfo 0 0 0 - shift - IFS=$save_ifs - - test -n "$7" && \ - func_fatal_help "too many parameters to '-version-info'" - - # convert absolute version numbers to libtool ages - # this retains compatibility with .la files and attempts - # to make the code below a bit more comprehensible - - case $vinfo_number in - yes) - number_major=$1 - number_minor=$2 - number_revision=$3 - # - # There are really only two kinds -- those that - # use the current revision as the major version - # and those that subtract age and use age as - # a minor version. But, then there is irix - # that has an extra 1 added just for fun - # - case $version_type in - # correct linux to gnu/linux during the next big refactor - darwin|freebsd-elf|linux|osf|windows|none) - func_arith $number_major + $number_minor - current=$func_arith_result - age=$number_minor - revision=$number_revision - ;; - freebsd-aout|qnx|sunos) - current=$number_major - revision=$number_minor - age=0 - ;; - irix|nonstopux) - func_arith $number_major + $number_minor - current=$func_arith_result - age=$number_minor - revision=$number_minor - lt_irix_increment=no - ;; - *) - func_fatal_configuration "$modename: unknown library version type '$version_type'" - ;; - esac - ;; - no) - current=$1 - revision=$2 - age=$3 - ;; - esac - - # Check that each of the things are valid numbers. - case $current in - 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; - *) - func_error "CURRENT '$current' must be a nonnegative integer" - func_fatal_error "'$vinfo' is not valid version information" - ;; - esac - - case $revision in - 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; - *) - func_error "REVISION '$revision' must be a nonnegative integer" - func_fatal_error "'$vinfo' is not valid version information" - ;; - esac - - case $age in - 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; - *) - func_error "AGE '$age' must be a nonnegative integer" - func_fatal_error "'$vinfo' is not valid version information" - ;; - esac - - if test "$age" -gt "$current"; then - func_error "AGE '$age' is greater than the current interface number '$current'" - func_fatal_error "'$vinfo' is not valid version information" - fi - - # Calculate the version variables. - major= - versuffix= - verstring= - case $version_type in - none) ;; - - darwin) - # Like Linux, but with the current version available in - # verstring for coding it into the library header - func_arith $current - $age - major=.$func_arith_result - versuffix=$major.$age.$revision - # Darwin ld doesn't like 0 for these options... - func_arith $current + 1 - minor_current=$func_arith_result - xlcverstring="$wl-compatibility_version $wl$minor_current $wl-current_version $wl$minor_current.$revision" - verstring="-compatibility_version $minor_current -current_version $minor_current.$revision" - # On Darwin other compilers - case $CC in - nagfor*) - verstring="$wl-compatibility_version $wl$minor_current $wl-current_version $wl$minor_current.$revision" - ;; - *) - verstring="-compatibility_version $minor_current -current_version $minor_current.$revision" - ;; - esac - ;; - - freebsd-aout) - major=.$current - versuffix=.$current.$revision - ;; - - freebsd-elf) - func_arith $current - $age - major=.$func_arith_result - versuffix=$major.$age.$revision - ;; - - irix | nonstopux) - if test no = "$lt_irix_increment"; then - func_arith $current - $age - else - func_arith $current - $age + 1 - fi - major=$func_arith_result - - case $version_type in - nonstopux) verstring_prefix=nonstopux ;; - *) verstring_prefix=sgi ;; - esac - verstring=$verstring_prefix$major.$revision - - # Add in all the interfaces that we are compatible with. - loop=$revision - while test 0 -ne "$loop"; do - func_arith $revision - $loop - iface=$func_arith_result - func_arith $loop - 1 - loop=$func_arith_result - verstring=$verstring_prefix$major.$iface:$verstring - done - - # Before this point, $major must not contain '.'. - major=.$major - versuffix=$major.$revision - ;; - - linux) # correct to gnu/linux during the next big refactor - func_arith $current - $age - major=.$func_arith_result - versuffix=$major.$age.$revision - ;; - - osf) - func_arith $current - $age - major=.$func_arith_result - versuffix=.$current.$age.$revision - verstring=$current.$age.$revision - - # Add in all the interfaces that we are compatible with. - loop=$age - while test 0 -ne "$loop"; do - func_arith $current - $loop - iface=$func_arith_result - func_arith $loop - 1 - loop=$func_arith_result - verstring=$verstring:$iface.0 - done - - # Make executables depend on our current version. - func_append verstring ":$current.0" - ;; - - qnx) - major=.$current - versuffix=.$current - ;; - - sco) - major=.$current - versuffix=.$current - ;; - - sunos) - major=.$current - versuffix=.$current.$revision - ;; - - windows) - # Use '-' rather than '.', since we only want one - # extension on DOS 8.3 file systems. - func_arith $current - $age - major=$func_arith_result - versuffix=-$major - ;; - - *) - func_fatal_configuration "unknown library version type '$version_type'" - ;; - esac - - # Clear the version info if we defaulted, and they specified a release. - if test -z "$vinfo" && test -n "$release"; then - major= - case $version_type in - darwin) - # we can't check for "0.0" in archive_cmds due to quoting - # problems, so we reset it completely - verstring= - ;; - *) - verstring=0.0 - ;; - esac - if test no = "$need_version"; then - versuffix= - else - versuffix=.0.0 - fi - fi - - # Remove version info from name if versioning should be avoided - if test yes,no = "$avoid_version,$need_version"; then - major= - versuffix= - verstring= - fi - - # Check to see if the archive will have undefined symbols. - if test yes = "$allow_undefined"; then - if test unsupported = "$allow_undefined_flag"; then - if test yes = "$build_old_libs"; then - func_warning "undefined symbols not allowed in $host shared libraries; building static only" - build_libtool_libs=no - else - func_fatal_error "can't build $host shared library unless -no-undefined is specified" - fi - fi - else - # Don't allow undefined symbols. - allow_undefined_flag=$no_undefined_flag - fi - - fi - - func_generate_dlsyms "$libname" "$libname" : - func_append libobjs " $symfileobj" - test " " = "$libobjs" && libobjs= - - if test relink != "$opt_mode"; then - # Remove our outputs, but don't remove object files since they - # may have been created when compiling PIC objects. - removelist= - tempremovelist=`$ECHO "$output_objdir/*"` - for p in $tempremovelist; do - case $p in - *.$objext | *.gcno) - ;; - $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/$libname$release.*) - if test -n "$precious_files_regex"; then - if $ECHO "$p" | $EGREP -e "$precious_files_regex" >/dev/null 2>&1 - then - continue - fi - fi - func_append removelist " $p" - ;; - *) ;; - esac - done - test -n "$removelist" && \ - func_show_eval "${RM}r \$removelist" - fi - - # Now set the variables for building old libraries. - if test yes = "$build_old_libs" && test convenience != "$build_libtool_libs"; then - func_append oldlibs " $output_objdir/$libname.$libext" - - # Transform .lo files to .o files. - oldobjs="$objs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.$libext$/d; $lo2o" | $NL2SP` - fi - - # Eliminate all temporary directories. - #for path in $notinst_path; do - # lib_search_path=`$ECHO "$lib_search_path " | $SED "s% $path % %g"` - # deplibs=`$ECHO "$deplibs " | $SED "s% -L$path % %g"` - # dependency_libs=`$ECHO "$dependency_libs " | $SED "s% -L$path % %g"` - #done - - if test -n "$xrpath"; then - # If the user specified any rpath flags, then add them. - temp_xrpath= - for libdir in $xrpath; do - func_replace_sysroot "$libdir" - func_append temp_xrpath " -R$func_replace_sysroot_result" - case "$finalize_rpath " in - *" $libdir "*) ;; - *) func_append finalize_rpath " $libdir" ;; - esac - done - if test yes != "$hardcode_into_libs" || test yes = "$build_old_libs"; then - dependency_libs="$temp_xrpath $dependency_libs" - fi - fi - - # Make sure dlfiles contains only unique files that won't be dlpreopened - old_dlfiles=$dlfiles - dlfiles= - for lib in $old_dlfiles; do - case " $dlprefiles $dlfiles " in - *" $lib "*) ;; - *) func_append dlfiles " $lib" ;; - esac - done - - # Make sure dlprefiles contains only unique files - old_dlprefiles=$dlprefiles - dlprefiles= - for lib in $old_dlprefiles; do - case "$dlprefiles " in - *" $lib "*) ;; - *) func_append dlprefiles " $lib" ;; - esac - done - - if test yes = "$build_libtool_libs"; then - if test -n "$rpath"; then - case $host in - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc* | *-*-haiku*) - # these systems don't actually have a c library (as such)! - ;; - *-*-rhapsody* | *-*-darwin1.[012]) - # Rhapsody C library is in the System framework - func_append deplibs " System.ltframework" - ;; - *-*-netbsd*) - # Don't link with libc until the a.out ld.so is fixed. - ;; - *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) - # Do not include libc due to us having libc/libc_r. - ;; - *-*-sco3.2v5* | *-*-sco5v6*) - # Causes problems with __ctype - ;; - *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*) - # Compiler inserts libc in the correct place for threads to work - ;; - *) - # Add libc to deplibs on all other systems if necessary. - if test yes = "$build_libtool_need_lc"; then - func_append deplibs " -lc" - fi - ;; - esac - fi - - # Transform deplibs into only deplibs that can be linked in shared. - name_save=$name - libname_save=$libname - release_save=$release - versuffix_save=$versuffix - major_save=$major - # I'm not sure if I'm treating the release correctly. I think - # release should show up in the -l (ie -lgmp5) so we don't want to - # add it in twice. Is that correct? - release= - versuffix= - major= - newdeplibs= - droppeddeps=no - case $deplibs_check_method in - pass_all) - # Don't check for shared/static. Everything works. - # This might be a little naive. We might want to check - # whether the library exists or not. But this is on - # osf3 & osf4 and I'm not really sure... Just - # implementing what was already the behavior. - newdeplibs=$deplibs - ;; - test_compile) - # This code stresses the "libraries are programs" paradigm to its - # limits. Maybe even breaks it. We compile a program, linking it - # against the deplibs as a proxy for the library. Then we can check - # whether they linked in statically or dynamically with ldd. - $opt_dry_run || $RM conftest.c - cat > conftest.c </dev/null` - $nocaseglob - else - potential_libs=`ls $i/$libnameglob[.-]* 2>/dev/null` - fi - for potent_lib in $potential_libs; do - # Follow soft links. - if ls -lLd "$potent_lib" 2>/dev/null | - $GREP " -> " >/dev/null; then - continue - fi - # The statement above tries to avoid entering an - # endless loop below, in case of cyclic links. - # We might still enter an endless loop, since a link - # loop can be closed while we follow links, - # but so what? - potlib=$potent_lib - while test -h "$potlib" 2>/dev/null; do - potliblink=`ls -ld $potlib | $SED 's/.* -> //'` - case $potliblink in - [\\/]* | [A-Za-z]:[\\/]*) potlib=$potliblink;; - *) potlib=`$ECHO "$potlib" | $SED 's|[^/]*$||'`"$potliblink";; - esac - done - if eval $file_magic_cmd \"\$potlib\" 2>/dev/null | - $SED -e 10q | - $EGREP "$file_magic_regex" > /dev/null; then - func_append newdeplibs " $a_deplib" - a_deplib= - break 2 - fi - done - done - fi - if test -n "$a_deplib"; then - droppeddeps=yes - echo - $ECHO "*** Warning: linker path does not have real file for library $a_deplib." - echo "*** I have the capability to make that library automatically link in when" - echo "*** you link to this library. But I can only do this if you have a" - echo "*** shared version of the library, which you do not appear to have" - echo "*** because I did check the linker path looking for a file starting" - if test -z "$potlib"; then - $ECHO "*** with $libname but no candidates were found. (...for file magic test)" - else - $ECHO "*** with $libname and none of the candidates passed a file format test" - $ECHO "*** using a file magic. Last file checked: $potlib" - fi - fi - ;; - *) - # Add a -L argument. - func_append newdeplibs " $a_deplib" - ;; - esac - done # Gone through all deplibs. - ;; - match_pattern*) - set dummy $deplibs_check_method; shift - match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"` - for a_deplib in $deplibs; do - case $a_deplib in - -l*) - func_stripname -l '' "$a_deplib" - name=$func_stripname_result - if test yes = "$allow_libtool_libs_with_static_runtimes"; then - case " $predeps $postdeps " in - *" $a_deplib "*) - func_append newdeplibs " $a_deplib" - a_deplib= - ;; - esac - fi - if test -n "$a_deplib"; then - libname=`eval "\\$ECHO \"$libname_spec\""` - for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do - potential_libs=`ls $i/$libname[.-]* 2>/dev/null` - for potent_lib in $potential_libs; do - potlib=$potent_lib # see symlink-check above in file_magic test - if eval "\$ECHO \"$potent_lib\"" 2>/dev/null | $SED 10q | \ - $EGREP "$match_pattern_regex" > /dev/null; then - func_append newdeplibs " $a_deplib" - a_deplib= - break 2 - fi - done - done - fi - if test -n "$a_deplib"; then - droppeddeps=yes - echo - $ECHO "*** Warning: linker path does not have real file for library $a_deplib." - echo "*** I have the capability to make that library automatically link in when" - echo "*** you link to this library. But I can only do this if you have a" - echo "*** shared version of the library, which you do not appear to have" - echo "*** because I did check the linker path looking for a file starting" - if test -z "$potlib"; then - $ECHO "*** with $libname but no candidates were found. (...for regex pattern test)" - else - $ECHO "*** with $libname and none of the candidates passed a file format test" - $ECHO "*** using a regex pattern. Last file checked: $potlib" - fi - fi - ;; - *) - # Add a -L argument. - func_append newdeplibs " $a_deplib" - ;; - esac - done # Gone through all deplibs. - ;; - none | unknown | *) - newdeplibs= - tmp_deplibs=`$ECHO " $deplibs" | $SED 's/ -lc$//; s/ -[LR][^ ]*//g'` - if test yes = "$allow_libtool_libs_with_static_runtimes"; then - for i in $predeps $postdeps; do - # can't use Xsed below, because $i might contain '/' - tmp_deplibs=`$ECHO " $tmp_deplibs" | $SED "s|$i||"` - done - fi - case $tmp_deplibs in - *[!\ \ ]*) - echo - if test none = "$deplibs_check_method"; then - echo "*** Warning: inter-library dependencies are not supported in this platform." - else - echo "*** Warning: inter-library dependencies are not known to be supported." - fi - echo "*** All declared inter-library dependencies are being dropped." - droppeddeps=yes - ;; - esac - ;; - esac - versuffix=$versuffix_save - major=$major_save - release=$release_save - libname=$libname_save - name=$name_save - - case $host in - *-*-rhapsody* | *-*-darwin1.[012]) - # On Rhapsody replace the C library with the System framework - newdeplibs=`$ECHO " $newdeplibs" | $SED 's/ -lc / System.ltframework /'` - ;; - esac - - if test yes = "$droppeddeps"; then - if test yes = "$module"; then - echo - echo "*** Warning: libtool could not satisfy all declared inter-library" - $ECHO "*** dependencies of module $libname. Therefore, libtool will create" - echo "*** a static module, that should work as long as the dlopening" - echo "*** application is linked with the -dlopen flag." - if test -z "$global_symbol_pipe"; then - echo - echo "*** However, this would only work if libtool was able to extract symbol" - echo "*** lists from a program, using 'nm' or equivalent, but libtool could" - echo "*** not find such a program. So, this module is probably useless." - echo "*** 'nm' from GNU binutils and a full rebuild may help." - fi - if test no = "$build_old_libs"; then - oldlibs=$output_objdir/$libname.$libext - build_libtool_libs=module - build_old_libs=yes - else - build_libtool_libs=no - fi - else - echo "*** The inter-library dependencies that have been dropped here will be" - echo "*** automatically added whenever a program is linked with this library" - echo "*** or is declared to -dlopen it." - - if test no = "$allow_undefined"; then - echo - echo "*** Since this library must not contain undefined symbols," - echo "*** because either the platform does not support them or" - echo "*** it was explicitly requested with -no-undefined," - echo "*** libtool will only create a static version of it." - if test no = "$build_old_libs"; then - oldlibs=$output_objdir/$libname.$libext - build_libtool_libs=module - build_old_libs=yes - else - build_libtool_libs=no - fi - fi - fi - fi - # Done checking deplibs! - deplibs=$newdeplibs - fi - # Time to change all our "foo.ltframework" stuff back to "-framework foo" - case $host in - *-*-darwin*) - newdeplibs=`$ECHO " $newdeplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` - new_inherited_linker_flags=`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` - deplibs=`$ECHO " $deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` - ;; - esac - - # move library search paths that coincide with paths to not yet - # installed libraries to the beginning of the library search list - new_libs= - for path in $notinst_path; do - case " $new_libs " in - *" -L$path/$objdir "*) ;; - *) - case " $deplibs " in - *" -L$path/$objdir "*) - func_append new_libs " -L$path/$objdir" ;; - esac - ;; - esac - done - for deplib in $deplibs; do - case $deplib in - -L*) - case " $new_libs " in - *" $deplib "*) ;; - *) func_append new_libs " $deplib" ;; - esac - ;; - *) func_append new_libs " $deplib" ;; - esac - done - deplibs=$new_libs - - # All the library-specific variables (install_libdir is set above). - library_names= - old_library= - dlname= - - # Test again, we may have decided not to build it any more - if test yes = "$build_libtool_libs"; then - # Remove $wl instances when linking with ld. - # FIXME: should test the right _cmds variable. - case $archive_cmds in - *\$LD\ *) wl= ;; - esac - if test yes = "$hardcode_into_libs"; then - # Hardcode the library paths - hardcode_libdirs= - dep_rpath= - rpath=$finalize_rpath - test relink = "$opt_mode" || rpath=$compile_rpath$rpath - for libdir in $rpath; do - if test -n "$hardcode_libdir_flag_spec"; then - if test -n "$hardcode_libdir_separator"; then - func_replace_sysroot "$libdir" - libdir=$func_replace_sysroot_result - if test -z "$hardcode_libdirs"; then - hardcode_libdirs=$libdir - else - # Just accumulate the unique libdirs. - case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in - *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) - ;; - *) - func_append hardcode_libdirs "$hardcode_libdir_separator$libdir" - ;; - esac - fi - else - eval flag=\"$hardcode_libdir_flag_spec\" - func_append dep_rpath " $flag" - fi - elif test -n "$runpath_var"; then - case "$perm_rpath " in - *" $libdir "*) ;; - *) func_append perm_rpath " $libdir" ;; - esac - fi - done - # Substitute the hardcoded libdirs into the rpath. - if test -n "$hardcode_libdir_separator" && - test -n "$hardcode_libdirs"; then - libdir=$hardcode_libdirs - eval "dep_rpath=\"$hardcode_libdir_flag_spec\"" - fi - if test -n "$runpath_var" && test -n "$perm_rpath"; then - # We should set the runpath_var. - rpath= - for dir in $perm_rpath; do - func_append rpath "$dir:" - done - eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var" - fi - test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs" - fi - - shlibpath=$finalize_shlibpath - test relink = "$opt_mode" || shlibpath=$compile_shlibpath$shlibpath - if test -n "$shlibpath"; then - eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var" - fi - - # Get the real and link names of the library. - eval shared_ext=\"$shrext_cmds\" - eval library_names=\"$library_names_spec\" - set dummy $library_names - shift - realname=$1 - shift - - if test -n "$soname_spec"; then - eval soname=\"$soname_spec\" - else - soname=$realname - fi - if test -z "$dlname"; then - dlname=$soname - fi - - lib=$output_objdir/$realname - linknames= - for link - do - func_append linknames " $link" - done - - # Use standard objects if they are pic - test -z "$pic_flag" && libobjs=`$ECHO "$libobjs" | $SP2NL | $SED "$lo2o" | $NL2SP` - test "X$libobjs" = "X " && libobjs= - - delfiles= - if test -n "$export_symbols" && test -n "$include_expsyms"; then - $opt_dry_run || cp "$export_symbols" "$output_objdir/$libname.uexp" - export_symbols=$output_objdir/$libname.uexp - func_append delfiles " $export_symbols" - fi - - orig_export_symbols= - case $host_os in - cygwin* | mingw* | cegcc*) - if test -n "$export_symbols" && test -z "$export_symbols_regex"; then - # exporting using user supplied symfile - func_dll_def_p "$export_symbols" || { - # and it's NOT already a .def file. Must figure out - # which of the given symbols are data symbols and tag - # them as such. So, trigger use of export_symbols_cmds. - # export_symbols gets reassigned inside the "prepare - # the list of exported symbols" if statement, so the - # include_expsyms logic still works. - orig_export_symbols=$export_symbols - export_symbols= - always_export_symbols=yes - } - fi - ;; - esac - - # Prepare the list of exported symbols - if test -z "$export_symbols"; then - if test yes = "$always_export_symbols" || test -n "$export_symbols_regex"; then - func_verbose "generating symbol list for '$libname.la'" - export_symbols=$output_objdir/$libname.exp - $opt_dry_run || $RM $export_symbols - cmds=$export_symbols_cmds - save_ifs=$IFS; IFS='~' - for cmd1 in $cmds; do - IFS=$save_ifs - # Take the normal branch if the nm_file_list_spec branch - # doesn't work or if tool conversion is not needed. - case $nm_file_list_spec~$to_tool_file_cmd in - *~func_convert_file_noop | *~func_convert_file_msys_to_w32 | ~*) - try_normal_branch=yes - eval cmd=\"$cmd1\" - func_len " $cmd" - len=$func_len_result - ;; - *) - try_normal_branch=no - ;; - esac - if test yes = "$try_normal_branch" \ - && { test "$len" -lt "$max_cmd_len" \ - || test "$max_cmd_len" -le -1; } - then - func_show_eval "$cmd" 'exit $?' - skipped_export=false - elif test -n "$nm_file_list_spec"; then - func_basename "$output" - output_la=$func_basename_result - save_libobjs=$libobjs - save_output=$output - output=$output_objdir/$output_la.nm - func_to_tool_file "$output" - libobjs=$nm_file_list_spec$func_to_tool_file_result - func_append delfiles " $output" - func_verbose "creating $NM input file list: $output" - for obj in $save_libobjs; do - func_to_tool_file "$obj" - $ECHO "$func_to_tool_file_result" - done > "$output" - eval cmd=\"$cmd1\" - func_show_eval "$cmd" 'exit $?' - output=$save_output - libobjs=$save_libobjs - skipped_export=false - else - # The command line is too long to execute in one step. - func_verbose "using reloadable object file for export list..." - skipped_export=: - # Break out early, otherwise skipped_export may be - # set to false by a later but shorter cmd. - break - fi - done - IFS=$save_ifs - if test -n "$export_symbols_regex" && test : != "$skipped_export"; then - func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"' - func_show_eval '$MV "${export_symbols}T" "$export_symbols"' - fi - fi - fi - - if test -n "$export_symbols" && test -n "$include_expsyms"; then - tmp_export_symbols=$export_symbols - test -n "$orig_export_symbols" && tmp_export_symbols=$orig_export_symbols - $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"' - fi - - if test : != "$skipped_export" && test -n "$orig_export_symbols"; then - # The given exports_symbols file has to be filtered, so filter it. - func_verbose "filter symbol list for '$libname.la' to tag DATA exports" - # FIXME: $output_objdir/$libname.filter potentially contains lots of - # 's' commands, which not all seds can handle. GNU sed should be fine - # though. Also, the filter scales superlinearly with the number of - # global variables. join(1) would be nice here, but unfortunately - # isn't a blessed tool. - $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter - func_append delfiles " $export_symbols $output_objdir/$libname.filter" - export_symbols=$output_objdir/$libname.def - $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols - fi - - tmp_deplibs= - for test_deplib in $deplibs; do - case " $convenience " in - *" $test_deplib "*) ;; - *) - func_append tmp_deplibs " $test_deplib" - ;; - esac - done - deplibs=$tmp_deplibs - - if test -n "$convenience"; then - if test -n "$whole_archive_flag_spec" && - test yes = "$compiler_needs_object" && - test -z "$libobjs"; then - # extract the archives, so we have objects to list. - # TODO: could optimize this to just extract one archive. - whole_archive_flag_spec= - fi - if test -n "$whole_archive_flag_spec"; then - save_libobjs=$libobjs - eval libobjs=\"\$libobjs $whole_archive_flag_spec\" - test "X$libobjs" = "X " && libobjs= - else - gentop=$output_objdir/${outputname}x - func_append generated " $gentop" - - func_extract_archives $gentop $convenience - func_append libobjs " $func_extract_archives_result" - test "X$libobjs" = "X " && libobjs= - fi - fi - - if test yes = "$thread_safe" && test -n "$thread_safe_flag_spec"; then - eval flag=\"$thread_safe_flag_spec\" - func_append linker_flags " $flag" - fi - - # Make a backup of the uninstalled library when relinking - if test relink = "$opt_mode"; then - $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}U && $MV $realname ${realname}U)' || exit $? - fi - - # Do each of the archive commands. - if test yes = "$module" && test -n "$module_cmds"; then - if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then - eval test_cmds=\"$module_expsym_cmds\" - cmds=$module_expsym_cmds - else - eval test_cmds=\"$module_cmds\" - cmds=$module_cmds - fi - else - if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then - eval test_cmds=\"$archive_expsym_cmds\" - cmds=$archive_expsym_cmds - else - eval test_cmds=\"$archive_cmds\" - cmds=$archive_cmds - fi - fi - - if test : != "$skipped_export" && - func_len " $test_cmds" && - len=$func_len_result && - test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then - : - else - # The command line is too long to link in one step, link piecewise - # or, if using GNU ld and skipped_export is not :, use a linker - # script. - - # Save the value of $output and $libobjs because we want to - # use them later. If we have whole_archive_flag_spec, we - # want to use save_libobjs as it was before - # whole_archive_flag_spec was expanded, because we can't - # assume the linker understands whole_archive_flag_spec. - # This may have to be revisited, in case too many - # convenience libraries get linked in and end up exceeding - # the spec. - if test -z "$convenience" || test -z "$whole_archive_flag_spec"; then - save_libobjs=$libobjs - fi - save_output=$output - func_basename "$output" - output_la=$func_basename_result - - # Clear the reloadable object creation command queue and - # initialize k to one. - test_cmds= - concat_cmds= - objlist= - last_robj= - k=1 - - if test -n "$save_libobjs" && test : != "$skipped_export" && test yes = "$with_gnu_ld"; then - output=$output_objdir/$output_la.lnkscript - func_verbose "creating GNU ld script: $output" - echo 'INPUT (' > $output - for obj in $save_libobjs - do - func_to_tool_file "$obj" - $ECHO "$func_to_tool_file_result" >> $output - done - echo ')' >> $output - func_append delfiles " $output" - func_to_tool_file "$output" - output=$func_to_tool_file_result - elif test -n "$save_libobjs" && test : != "$skipped_export" && test -n "$file_list_spec"; then - output=$output_objdir/$output_la.lnk - func_verbose "creating linker input file list: $output" - : > $output - set x $save_libobjs - shift - firstobj= - if test yes = "$compiler_needs_object"; then - firstobj="$1 " - shift - fi - for obj - do - func_to_tool_file "$obj" - $ECHO "$func_to_tool_file_result" >> $output - done - func_append delfiles " $output" - func_to_tool_file "$output" - output=$firstobj\"$file_list_spec$func_to_tool_file_result\" - else - if test -n "$save_libobjs"; then - func_verbose "creating reloadable object files..." - output=$output_objdir/$output_la-$k.$objext - eval test_cmds=\"$reload_cmds\" - func_len " $test_cmds" - len0=$func_len_result - len=$len0 - - # Loop over the list of objects to be linked. - for obj in $save_libobjs - do - func_len " $obj" - func_arith $len + $func_len_result - len=$func_arith_result - if test -z "$objlist" || - test "$len" -lt "$max_cmd_len"; then - func_append objlist " $obj" - else - # The command $test_cmds is almost too long, add a - # command to the queue. - if test 1 -eq "$k"; then - # The first file doesn't have a previous command to add. - reload_objs=$objlist - eval concat_cmds=\"$reload_cmds\" - else - # All subsequent reloadable object files will link in - # the last one created. - reload_objs="$objlist $last_robj" - eval concat_cmds=\"\$concat_cmds~$reload_cmds~\$RM $last_robj\" - fi - last_robj=$output_objdir/$output_la-$k.$objext - func_arith $k + 1 - k=$func_arith_result - output=$output_objdir/$output_la-$k.$objext - objlist=" $obj" - func_len " $last_robj" - func_arith $len0 + $func_len_result - len=$func_arith_result - fi - done - # Handle the remaining objects by creating one last - # reloadable object file. All subsequent reloadable object - # files will link in the last one created. - test -z "$concat_cmds" || concat_cmds=$concat_cmds~ - reload_objs="$objlist $last_robj" - eval concat_cmds=\"\$concat_cmds$reload_cmds\" - if test -n "$last_robj"; then - eval concat_cmds=\"\$concat_cmds~\$RM $last_robj\" - fi - func_append delfiles " $output" - - else - output= - fi - - ${skipped_export-false} && { - func_verbose "generating symbol list for '$libname.la'" - export_symbols=$output_objdir/$libname.exp - $opt_dry_run || $RM $export_symbols - libobjs=$output - # Append the command to create the export file. - test -z "$concat_cmds" || concat_cmds=$concat_cmds~ - eval concat_cmds=\"\$concat_cmds$export_symbols_cmds\" - if test -n "$last_robj"; then - eval concat_cmds=\"\$concat_cmds~\$RM $last_robj\" - fi - } - - test -n "$save_libobjs" && - func_verbose "creating a temporary reloadable object file: $output" - - # Loop through the commands generated above and execute them. - save_ifs=$IFS; IFS='~' - for cmd in $concat_cmds; do - IFS=$save_ifs - $opt_quiet || { - func_quote_for_expand "$cmd" - eval "func_echo $func_quote_for_expand_result" - } - $opt_dry_run || eval "$cmd" || { - lt_exit=$? - - # Restore the uninstalled library and exit - if test relink = "$opt_mode"; then - ( cd "$output_objdir" && \ - $RM "${realname}T" && \ - $MV "${realname}U" "$realname" ) - fi - - exit $lt_exit - } - done - IFS=$save_ifs - - if test -n "$export_symbols_regex" && ${skipped_export-false}; then - func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"' - func_show_eval '$MV "${export_symbols}T" "$export_symbols"' - fi - fi - - ${skipped_export-false} && { - if test -n "$export_symbols" && test -n "$include_expsyms"; then - tmp_export_symbols=$export_symbols - test -n "$orig_export_symbols" && tmp_export_symbols=$orig_export_symbols - $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"' - fi - - if test -n "$orig_export_symbols"; then - # The given exports_symbols file has to be filtered, so filter it. - func_verbose "filter symbol list for '$libname.la' to tag DATA exports" - # FIXME: $output_objdir/$libname.filter potentially contains lots of - # 's' commands, which not all seds can handle. GNU sed should be fine - # though. Also, the filter scales superlinearly with the number of - # global variables. join(1) would be nice here, but unfortunately - # isn't a blessed tool. - $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter - func_append delfiles " $export_symbols $output_objdir/$libname.filter" - export_symbols=$output_objdir/$libname.def - $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols - fi - } - - libobjs=$output - # Restore the value of output. - output=$save_output - - if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then - eval libobjs=\"\$libobjs $whole_archive_flag_spec\" - test "X$libobjs" = "X " && libobjs= - fi - # Expand the library linking commands again to reset the - # value of $libobjs for piecewise linking. - - # Do each of the archive commands. - if test yes = "$module" && test -n "$module_cmds"; then - if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then - cmds=$module_expsym_cmds - else - cmds=$module_cmds - fi - else - if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then - cmds=$archive_expsym_cmds - else - cmds=$archive_cmds - fi - fi - fi - - if test -n "$delfiles"; then - # Append the command to remove temporary files to $cmds. - eval cmds=\"\$cmds~\$RM $delfiles\" - fi - - # Add any objects from preloaded convenience libraries - if test -n "$dlprefiles"; then - gentop=$output_objdir/${outputname}x - func_append generated " $gentop" - - func_extract_archives $gentop $dlprefiles - func_append libobjs " $func_extract_archives_result" - test "X$libobjs" = "X " && libobjs= - fi - - save_ifs=$IFS; IFS='~' - for cmd in $cmds; do - IFS=$sp$nl - eval cmd=\"$cmd\" - IFS=$save_ifs - $opt_quiet || { - func_quote_for_expand "$cmd" - eval "func_echo $func_quote_for_expand_result" - } - $opt_dry_run || eval "$cmd" || { - lt_exit=$? - - # Restore the uninstalled library and exit - if test relink = "$opt_mode"; then - ( cd "$output_objdir" && \ - $RM "${realname}T" && \ - $MV "${realname}U" "$realname" ) - fi - - exit $lt_exit - } - done - IFS=$save_ifs - - # Restore the uninstalled library and exit - if test relink = "$opt_mode"; then - $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}T && $MV $realname ${realname}T && $MV ${realname}U $realname)' || exit $? - - if test -n "$convenience"; then - if test -z "$whole_archive_flag_spec"; then - func_show_eval '${RM}r "$gentop"' - fi - fi - - exit $EXIT_SUCCESS - fi - - # Create links to the real library. - for linkname in $linknames; do - if test "$realname" != "$linkname"; then - func_show_eval '(cd "$output_objdir" && $RM "$linkname" && $LN_S "$realname" "$linkname")' 'exit $?' - fi - done - - # If -module or -export-dynamic was specified, set the dlname. - if test yes = "$module" || test yes = "$export_dynamic"; then - # On all known operating systems, these are identical. - dlname=$soname - fi - fi - ;; - - obj) - if test -n "$dlfiles$dlprefiles" || test no != "$dlself"; then - func_warning "'-dlopen' is ignored for objects" - fi - - case " $deplibs" in - *\ -l* | *\ -L*) - func_warning "'-l' and '-L' are ignored for objects" ;; - esac - - test -n "$rpath" && \ - func_warning "'-rpath' is ignored for objects" - - test -n "$xrpath" && \ - func_warning "'-R' is ignored for objects" - - test -n "$vinfo" && \ - func_warning "'-version-info' is ignored for objects" - - test -n "$release" && \ - func_warning "'-release' is ignored for objects" - - case $output in - *.lo) - test -n "$objs$old_deplibs" && \ - func_fatal_error "cannot build library object '$output' from non-libtool objects" - - libobj=$output - func_lo2o "$libobj" - obj=$func_lo2o_result - ;; - *) - libobj= - obj=$output - ;; - esac - - # Delete the old objects. - $opt_dry_run || $RM $obj $libobj - - # Objects from convenience libraries. This assumes - # single-version convenience libraries. Whenever we create - # different ones for PIC/non-PIC, this we'll have to duplicate - # the extraction. - reload_conv_objs= - gentop= - # if reload_cmds runs $LD directly, get rid of -Wl from - # whole_archive_flag_spec and hope we can get by with turning comma - # into space. - case $reload_cmds in - *\$LD[\ \$]*) wl= ;; - esac - if test -n "$convenience"; then - if test -n "$whole_archive_flag_spec"; then - eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\" - test -n "$wl" || tmp_whole_archive_flags=`$ECHO "$tmp_whole_archive_flags" | $SED 's|,| |g'` - reload_conv_objs=$reload_objs\ $tmp_whole_archive_flags - else - gentop=$output_objdir/${obj}x - func_append generated " $gentop" - - func_extract_archives $gentop $convenience - reload_conv_objs="$reload_objs $func_extract_archives_result" - fi - fi - - # If we're not building shared, we need to use non_pic_objs - test yes = "$build_libtool_libs" || libobjs=$non_pic_objects - - # Create the old-style object. - reload_objs=$objs$old_deplibs' '`$ECHO "$libobjs" | $SP2NL | $SED "/\.$libext$/d; /\.lib$/d; $lo2o" | $NL2SP`' '$reload_conv_objs - - output=$obj - func_execute_cmds "$reload_cmds" 'exit $?' - - # Exit if we aren't doing a library object file. - if test -z "$libobj"; then - if test -n "$gentop"; then - func_show_eval '${RM}r "$gentop"' - fi - - exit $EXIT_SUCCESS - fi - - test yes = "$build_libtool_libs" || { - if test -n "$gentop"; then - func_show_eval '${RM}r "$gentop"' - fi - - # Create an invalid libtool object if no PIC, so that we don't - # accidentally link it into a program. - # $show "echo timestamp > $libobj" - # $opt_dry_run || eval "echo timestamp > $libobj" || exit $? - exit $EXIT_SUCCESS - } - - if test -n "$pic_flag" || test default != "$pic_mode"; then - # Only do commands if we really have different PIC objects. - reload_objs="$libobjs $reload_conv_objs" - output=$libobj - func_execute_cmds "$reload_cmds" 'exit $?' - fi - - if test -n "$gentop"; then - func_show_eval '${RM}r "$gentop"' - fi - - exit $EXIT_SUCCESS - ;; - - prog) - case $host in - *cygwin*) func_stripname '' '.exe' "$output" - output=$func_stripname_result.exe;; - esac - test -n "$vinfo" && \ - func_warning "'-version-info' is ignored for programs" - - test -n "$release" && \ - func_warning "'-release' is ignored for programs" - - $preload \ - && test unknown,unknown,unknown = "$dlopen_support,$dlopen_self,$dlopen_self_static" \ - && func_warning "'LT_INIT([dlopen])' not used. Assuming no dlopen support." - - case $host in - *-*-rhapsody* | *-*-darwin1.[012]) - # On Rhapsody replace the C library is the System framework - compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's/ -lc / System.ltframework /'` - finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's/ -lc / System.ltframework /'` - ;; - esac - - case $host in - *-*-darwin*) - # Don't allow lazy linking, it breaks C++ global constructors - # But is supposedly fixed on 10.4 or later (yay!). - if test CXX = "$tagname"; then - case ${MACOSX_DEPLOYMENT_TARGET-10.0} in - 10.[0123]) - func_append compile_command " $wl-bind_at_load" - func_append finalize_command " $wl-bind_at_load" - ;; - esac - fi - # Time to change all our "foo.ltframework" stuff back to "-framework foo" - compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` - finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` - ;; - esac - - - # move library search paths that coincide with paths to not yet - # installed libraries to the beginning of the library search list - new_libs= - for path in $notinst_path; do - case " $new_libs " in - *" -L$path/$objdir "*) ;; - *) - case " $compile_deplibs " in - *" -L$path/$objdir "*) - func_append new_libs " -L$path/$objdir" ;; - esac - ;; - esac - done - for deplib in $compile_deplibs; do - case $deplib in - -L*) - case " $new_libs " in - *" $deplib "*) ;; - *) func_append new_libs " $deplib" ;; - esac - ;; - *) func_append new_libs " $deplib" ;; - esac - done - compile_deplibs=$new_libs - - - func_append compile_command " $compile_deplibs" - func_append finalize_command " $finalize_deplibs" - - if test -n "$rpath$xrpath"; then - # If the user specified any rpath flags, then add them. - for libdir in $rpath $xrpath; do - # This is the magic to use -rpath. - case "$finalize_rpath " in - *" $libdir "*) ;; - *) func_append finalize_rpath " $libdir" ;; - esac - done - fi - - # Now hardcode the library paths - rpath= - hardcode_libdirs= - for libdir in $compile_rpath $finalize_rpath; do - if test -n "$hardcode_libdir_flag_spec"; then - if test -n "$hardcode_libdir_separator"; then - if test -z "$hardcode_libdirs"; then - hardcode_libdirs=$libdir - else - # Just accumulate the unique libdirs. - case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in - *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) - ;; - *) - func_append hardcode_libdirs "$hardcode_libdir_separator$libdir" - ;; - esac - fi - else - eval flag=\"$hardcode_libdir_flag_spec\" - func_append rpath " $flag" - fi - elif test -n "$runpath_var"; then - case "$perm_rpath " in - *" $libdir "*) ;; - *) func_append perm_rpath " $libdir" ;; - esac - fi - case $host in - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) - testbindir=`$ECHO "$libdir" | $SED -e 's*/lib$*/bin*'` - case :$dllsearchpath: in - *":$libdir:"*) ;; - ::) dllsearchpath=$libdir;; - *) func_append dllsearchpath ":$libdir";; - esac - case :$dllsearchpath: in - *":$testbindir:"*) ;; - ::) dllsearchpath=$testbindir;; - *) func_append dllsearchpath ":$testbindir";; - esac - ;; - esac - done - # Substitute the hardcoded libdirs into the rpath. - if test -n "$hardcode_libdir_separator" && - test -n "$hardcode_libdirs"; then - libdir=$hardcode_libdirs - eval rpath=\" $hardcode_libdir_flag_spec\" - fi - compile_rpath=$rpath - - rpath= - hardcode_libdirs= - for libdir in $finalize_rpath; do - if test -n "$hardcode_libdir_flag_spec"; then - if test -n "$hardcode_libdir_separator"; then - if test -z "$hardcode_libdirs"; then - hardcode_libdirs=$libdir - else - # Just accumulate the unique libdirs. - case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in - *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) - ;; - *) - func_append hardcode_libdirs "$hardcode_libdir_separator$libdir" - ;; - esac - fi - else - eval flag=\"$hardcode_libdir_flag_spec\" - func_append rpath " $flag" - fi - elif test -n "$runpath_var"; then - case "$finalize_perm_rpath " in - *" $libdir "*) ;; - *) func_append finalize_perm_rpath " $libdir" ;; - esac - fi - done - # Substitute the hardcoded libdirs into the rpath. - if test -n "$hardcode_libdir_separator" && - test -n "$hardcode_libdirs"; then - libdir=$hardcode_libdirs - eval rpath=\" $hardcode_libdir_flag_spec\" - fi - finalize_rpath=$rpath - - if test -n "$libobjs" && test yes = "$build_old_libs"; then - # Transform all the library objects into standard objects. - compile_command=`$ECHO "$compile_command" | $SP2NL | $SED "$lo2o" | $NL2SP` - finalize_command=`$ECHO "$finalize_command" | $SP2NL | $SED "$lo2o" | $NL2SP` - fi - - func_generate_dlsyms "$outputname" "@PROGRAM@" false - - # template prelinking step - if test -n "$prelink_cmds"; then - func_execute_cmds "$prelink_cmds" 'exit $?' - fi - - wrappers_required=: - case $host in - *cegcc* | *mingw32ce*) - # Disable wrappers for cegcc and mingw32ce hosts, we are cross compiling anyway. - wrappers_required=false - ;; - *cygwin* | *mingw* ) - test yes = "$build_libtool_libs" || wrappers_required=false - ;; - *) - if test no = "$need_relink" || test yes != "$build_libtool_libs"; then - wrappers_required=false - fi - ;; - esac - $wrappers_required || { - # Replace the output file specification. - compile_command=`$ECHO "$compile_command" | $SED 's%@OUTPUT@%'"$output"'%g'` - link_command=$compile_command$compile_rpath - - # We have no uninstalled library dependencies, so finalize right now. - exit_status=0 - func_show_eval "$link_command" 'exit_status=$?' - - if test -n "$postlink_cmds"; then - func_to_tool_file "$output" - postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'` - func_execute_cmds "$postlink_cmds" 'exit $?' - fi - - # Delete the generated files. - if test -f "$output_objdir/${outputname}S.$objext"; then - func_show_eval '$RM "$output_objdir/${outputname}S.$objext"' - fi - - exit $exit_status - } - - if test -n "$compile_shlibpath$finalize_shlibpath"; then - compile_command="$shlibpath_var=\"$compile_shlibpath$finalize_shlibpath\$$shlibpath_var\" $compile_command" - fi - if test -n "$finalize_shlibpath"; then - finalize_command="$shlibpath_var=\"$finalize_shlibpath\$$shlibpath_var\" $finalize_command" - fi - - compile_var= - finalize_var= - if test -n "$runpath_var"; then - if test -n "$perm_rpath"; then - # We should set the runpath_var. - rpath= - for dir in $perm_rpath; do - func_append rpath "$dir:" - done - compile_var="$runpath_var=\"$rpath\$$runpath_var\" " - fi - if test -n "$finalize_perm_rpath"; then - # We should set the runpath_var. - rpath= - for dir in $finalize_perm_rpath; do - func_append rpath "$dir:" - done - finalize_var="$runpath_var=\"$rpath\$$runpath_var\" " - fi - fi - - if test yes = "$no_install"; then - # We don't need to create a wrapper script. - link_command=$compile_var$compile_command$compile_rpath - # Replace the output file specification. - link_command=`$ECHO "$link_command" | $SED 's%@OUTPUT@%'"$output"'%g'` - # Delete the old output file. - $opt_dry_run || $RM $output - # Link the executable and exit - func_show_eval "$link_command" 'exit $?' - - if test -n "$postlink_cmds"; then - func_to_tool_file "$output" - postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'` - func_execute_cmds "$postlink_cmds" 'exit $?' - fi - - exit $EXIT_SUCCESS - fi - - case $hardcode_action,$fast_install in - relink,*) - # Fast installation is not supported - link_command=$compile_var$compile_command$compile_rpath - relink_command=$finalize_var$finalize_command$finalize_rpath - - func_warning "this platform does not like uninstalled shared libraries" - func_warning "'$output' will be relinked during installation" - ;; - *,yes) - link_command=$finalize_var$compile_command$finalize_rpath - relink_command=`$ECHO "$compile_var$compile_command$compile_rpath" | $SED 's%@OUTPUT@%\$progdir/\$file%g'` - ;; - *,no) - link_command=$compile_var$compile_command$compile_rpath - relink_command=$finalize_var$finalize_command$finalize_rpath - ;; - *,needless) - link_command=$finalize_var$compile_command$finalize_rpath - relink_command= - ;; - esac - - # Replace the output file specification. - link_command=`$ECHO "$link_command" | $SED 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'` - - # Delete the old output files. - $opt_dry_run || $RM $output $output_objdir/$outputname $output_objdir/lt-$outputname - - func_show_eval "$link_command" 'exit $?' - - if test -n "$postlink_cmds"; then - func_to_tool_file "$output_objdir/$outputname" - postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'` - func_execute_cmds "$postlink_cmds" 'exit $?' - fi - - # Now create the wrapper script. - func_verbose "creating $output" - - # Quote the relink command for shipping. - if test -n "$relink_command"; then - # Preserve any variables that may affect compiler behavior - for var in $variables_saved_for_relink; do - if eval test -z \"\${$var+set}\"; then - relink_command="{ test -z \"\${$var+set}\" || $lt_unset $var || { $var=; export $var; }; }; $relink_command" - elif eval var_value=\$$var; test -z "$var_value"; then - relink_command="$var=; export $var; $relink_command" - else - func_quote_for_eval "$var_value" - relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command" - fi - done - relink_command="(cd `pwd`; $relink_command)" - relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"` - fi - - # Only actually do things if not in dry run mode. - $opt_dry_run || { - # win32 will think the script is a binary if it has - # a .exe suffix, so we strip it off here. - case $output in - *.exe) func_stripname '' '.exe' "$output" - output=$func_stripname_result ;; - esac - # test for cygwin because mv fails w/o .exe extensions - case $host in - *cygwin*) - exeext=.exe - func_stripname '' '.exe' "$outputname" - outputname=$func_stripname_result ;; - *) exeext= ;; - esac - case $host in - *cygwin* | *mingw* ) - func_dirname_and_basename "$output" "" "." - output_name=$func_basename_result - output_path=$func_dirname_result - cwrappersource=$output_path/$objdir/lt-$output_name.c - cwrapper=$output_path/$output_name.exe - $RM $cwrappersource $cwrapper - trap "$RM $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15 - - func_emit_cwrapperexe_src > $cwrappersource - - # The wrapper executable is built using the $host compiler, - # because it contains $host paths and files. If cross- - # compiling, it, like the target executable, must be - # executed on the $host or under an emulation environment. - $opt_dry_run || { - $LTCC $LTCFLAGS -o $cwrapper $cwrappersource - $STRIP $cwrapper - } - - # Now, create the wrapper script for func_source use: - func_ltwrapper_scriptname $cwrapper - $RM $func_ltwrapper_scriptname_result - trap "$RM $func_ltwrapper_scriptname_result; exit $EXIT_FAILURE" 1 2 15 - $opt_dry_run || { - # note: this script will not be executed, so do not chmod. - if test "x$build" = "x$host"; then - $cwrapper --lt-dump-script > $func_ltwrapper_scriptname_result - else - func_emit_wrapper no > $func_ltwrapper_scriptname_result - fi - } - ;; - * ) - $RM $output - trap "$RM $output; exit $EXIT_FAILURE" 1 2 15 - - func_emit_wrapper no > $output - chmod +x $output - ;; - esac - } - exit $EXIT_SUCCESS - ;; - esac - - # See if we need to build an old-fashioned archive. - for oldlib in $oldlibs; do - - case $build_libtool_libs in - convenience) - oldobjs="$libobjs_save $symfileobj" - addlibs=$convenience - build_libtool_libs=no - ;; - module) - oldobjs=$libobjs_save - addlibs=$old_convenience - build_libtool_libs=no - ;; - *) - oldobjs="$old_deplibs $non_pic_objects" - $preload && test -f "$symfileobj" \ - && func_append oldobjs " $symfileobj" - addlibs=$old_convenience - ;; - esac - - if test -n "$addlibs"; then - gentop=$output_objdir/${outputname}x - func_append generated " $gentop" - - func_extract_archives $gentop $addlibs - func_append oldobjs " $func_extract_archives_result" - fi - - # Do each command in the archive commands. - if test -n "$old_archive_from_new_cmds" && test yes = "$build_libtool_libs"; then - cmds=$old_archive_from_new_cmds - else - - # Add any objects from preloaded convenience libraries - if test -n "$dlprefiles"; then - gentop=$output_objdir/${outputname}x - func_append generated " $gentop" - - func_extract_archives $gentop $dlprefiles - func_append oldobjs " $func_extract_archives_result" - fi - - # POSIX demands no paths to be encoded in archives. We have - # to avoid creating archives with duplicate basenames if we - # might have to extract them afterwards, e.g., when creating a - # static archive out of a convenience library, or when linking - # the entirety of a libtool archive into another (currently - # not supported by libtool). - if (for obj in $oldobjs - do - func_basename "$obj" - $ECHO "$func_basename_result" - done | sort | sort -uc >/dev/null 2>&1); then - : - else - echo "copying selected object files to avoid basename conflicts..." - gentop=$output_objdir/${outputname}x - func_append generated " $gentop" - func_mkdir_p "$gentop" - save_oldobjs=$oldobjs - oldobjs= - counter=1 - for obj in $save_oldobjs - do - func_basename "$obj" - objbase=$func_basename_result - case " $oldobjs " in - " ") oldobjs=$obj ;; - *[\ /]"$objbase "*) - while :; do - # Make sure we don't pick an alternate name that also - # overlaps. - newobj=lt$counter-$objbase - func_arith $counter + 1 - counter=$func_arith_result - case " $oldobjs " in - *[\ /]"$newobj "*) ;; - *) if test ! -f "$gentop/$newobj"; then break; fi ;; - esac - done - func_show_eval "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj" - func_append oldobjs " $gentop/$newobj" - ;; - *) func_append oldobjs " $obj" ;; - esac - done - fi - func_to_tool_file "$oldlib" func_convert_file_msys_to_w32 - tool_oldlib=$func_to_tool_file_result - eval cmds=\"$old_archive_cmds\" - - func_len " $cmds" - len=$func_len_result - if test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then - cmds=$old_archive_cmds - elif test -n "$archiver_list_spec"; then - func_verbose "using command file archive linking..." - for obj in $oldobjs - do - func_to_tool_file "$obj" - $ECHO "$func_to_tool_file_result" - done > $output_objdir/$libname.libcmd - func_to_tool_file "$output_objdir/$libname.libcmd" - oldobjs=" $archiver_list_spec$func_to_tool_file_result" - cmds=$old_archive_cmds - else - # the command line is too long to link in one step, link in parts - func_verbose "using piecewise archive linking..." - save_RANLIB=$RANLIB - RANLIB=: - objlist= - concat_cmds= - save_oldobjs=$oldobjs - oldobjs= - # Is there a better way of finding the last object in the list? - for obj in $save_oldobjs - do - last_oldobj=$obj - done - eval test_cmds=\"$old_archive_cmds\" - func_len " $test_cmds" - len0=$func_len_result - len=$len0 - for obj in $save_oldobjs - do - func_len " $obj" - func_arith $len + $func_len_result - len=$func_arith_result - func_append objlist " $obj" - if test "$len" -lt "$max_cmd_len"; then - : - else - # the above command should be used before it gets too long - oldobjs=$objlist - if test "$obj" = "$last_oldobj"; then - RANLIB=$save_RANLIB - fi - test -z "$concat_cmds" || concat_cmds=$concat_cmds~ - eval concat_cmds=\"\$concat_cmds$old_archive_cmds\" - objlist= - len=$len0 - fi - done - RANLIB=$save_RANLIB - oldobjs=$objlist - if test -z "$oldobjs"; then - eval cmds=\"\$concat_cmds\" - else - eval cmds=\"\$concat_cmds~\$old_archive_cmds\" - fi - fi - fi - func_execute_cmds "$cmds" 'exit $?' - done - - test -n "$generated" && \ - func_show_eval "${RM}r$generated" - - # Now create the libtool archive. - case $output in - *.la) - old_library= - test yes = "$build_old_libs" && old_library=$libname.$libext - func_verbose "creating $output" - - # Preserve any variables that may affect compiler behavior - for var in $variables_saved_for_relink; do - if eval test -z \"\${$var+set}\"; then - relink_command="{ test -z \"\${$var+set}\" || $lt_unset $var || { $var=; export $var; }; }; $relink_command" - elif eval var_value=\$$var; test -z "$var_value"; then - relink_command="$var=; export $var; $relink_command" - else - func_quote_for_eval "$var_value" - relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command" - fi - done - # Quote the link command for shipping. - relink_command="(cd `pwd`; $SHELL \"$progpath\" $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)" - relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"` - if test yes = "$hardcode_automatic"; then - relink_command= - fi - - # Only create the output if not a dry run. - $opt_dry_run || { - for installed in no yes; do - if test yes = "$installed"; then - if test -z "$install_libdir"; then - break - fi - output=$output_objdir/${outputname}i - # Replace all uninstalled libtool libraries with the installed ones - newdependency_libs= - for deplib in $dependency_libs; do - case $deplib in - *.la) - func_basename "$deplib" - name=$func_basename_result - func_resolve_sysroot "$deplib" - eval libdir=`$SED -n -e 's/^libdir=\(.*\)$/\1/p' $func_resolve_sysroot_result` - test -z "$libdir" && \ - func_fatal_error "'$deplib' is not a valid libtool archive" - func_append newdependency_libs " ${lt_sysroot:+=}$libdir/$name" - ;; - -L*) - func_stripname -L '' "$deplib" - func_replace_sysroot "$func_stripname_result" - func_append newdependency_libs " -L$func_replace_sysroot_result" - ;; - -R*) - func_stripname -R '' "$deplib" - func_replace_sysroot "$func_stripname_result" - func_append newdependency_libs " -R$func_replace_sysroot_result" - ;; - *) func_append newdependency_libs " $deplib" ;; - esac - done - dependency_libs=$newdependency_libs - newdlfiles= - - for lib in $dlfiles; do - case $lib in - *.la) - func_basename "$lib" - name=$func_basename_result - eval libdir=`$SED -n -e 's/^libdir=\(.*\)$/\1/p' $lib` - test -z "$libdir" && \ - func_fatal_error "'$lib' is not a valid libtool archive" - func_append newdlfiles " ${lt_sysroot:+=}$libdir/$name" - ;; - *) func_append newdlfiles " $lib" ;; - esac - done - dlfiles=$newdlfiles - newdlprefiles= - for lib in $dlprefiles; do - case $lib in - *.la) - # Only pass preopened files to the pseudo-archive (for - # eventual linking with the app. that links it) if we - # didn't already link the preopened objects directly into - # the library: - func_basename "$lib" - name=$func_basename_result - eval libdir=`$SED -n -e 's/^libdir=\(.*\)$/\1/p' $lib` - test -z "$libdir" && \ - func_fatal_error "'$lib' is not a valid libtool archive" - func_append newdlprefiles " ${lt_sysroot:+=}$libdir/$name" - ;; - esac - done - dlprefiles=$newdlprefiles - else - newdlfiles= - for lib in $dlfiles; do - case $lib in - [\\/]* | [A-Za-z]:[\\/]*) abs=$lib ;; - *) abs=`pwd`"/$lib" ;; - esac - func_append newdlfiles " $abs" - done - dlfiles=$newdlfiles - newdlprefiles= - for lib in $dlprefiles; do - case $lib in - [\\/]* | [A-Za-z]:[\\/]*) abs=$lib ;; - *) abs=`pwd`"/$lib" ;; - esac - func_append newdlprefiles " $abs" - done - dlprefiles=$newdlprefiles - fi - $RM $output - # place dlname in correct position for cygwin - # In fact, it would be nice if we could use this code for all target - # systems that can't hard-code library paths into their executables - # and that have no shared library path variable independent of PATH, - # but it turns out we can't easily determine that from inspecting - # libtool variables, so we have to hard-code the OSs to which it - # applies here; at the moment, that means platforms that use the PE - # object format with DLL files. See the long comment at the top of - # tests/bindir.at for full details. - tdlname=$dlname - case $host,$output,$installed,$module,$dlname in - *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll | *cegcc*,*lai,yes,no,*.dll) - # If a -bindir argument was supplied, place the dll there. - if test -n "$bindir"; then - func_relative_path "$install_libdir" "$bindir" - tdlname=$func_relative_path_result/$dlname - else - # Otherwise fall back on heuristic. - tdlname=../bin/$dlname - fi - ;; - esac - $ECHO > $output "\ -# $outputname - a libtool library file -# Generated by $PROGRAM (GNU $PACKAGE) $VERSION -# -# Please DO NOT delete this file! -# It is necessary for linking the library. - -# The name that we can dlopen(3). -dlname='$tdlname' - -# Names of this library. -library_names='$library_names' - -# The name of the static archive. -old_library='$old_library' - -# Linker flags that cannot go in dependency_libs. -inherited_linker_flags='$new_inherited_linker_flags' - -# Libraries that this one depends upon. -dependency_libs='$dependency_libs' - -# Names of additional weak libraries provided by this library -weak_library_names='$weak_libs' - -# Version information for $libname. -current=$current -age=$age -revision=$revision - -# Is this an already installed library? -installed=$installed - -# Should we warn about portability when linking against -modules? -shouldnotlink=$module - -# Files to dlopen/dlpreopen -dlopen='$dlfiles' -dlpreopen='$dlprefiles' - -# Directory that this library needs to be installed in: -libdir='$install_libdir'" - if test no,yes = "$installed,$need_relink"; then - $ECHO >> $output "\ -relink_command=\"$relink_command\"" - fi - done - } - - # Do a symbolic link so that the libtool archive can be found in - # LD_LIBRARY_PATH before the program is installed. - func_show_eval '( cd "$output_objdir" && $RM "$outputname" && $LN_S "../$outputname" "$outputname" )' 'exit $?' - ;; - esac - exit $EXIT_SUCCESS -} - -if test link = "$opt_mode" || test relink = "$opt_mode"; then - func_mode_link ${1+"$@"} -fi - - -# func_mode_uninstall arg... -func_mode_uninstall () -{ - $debug_cmd - - RM=$nonopt - files= - rmforce=false - exit_status=0 - - # This variable tells wrapper scripts just to set variables rather - # than running their programs. - libtool_install_magic=$magic - - for arg - do - case $arg in - -f) func_append RM " $arg"; rmforce=: ;; - -*) func_append RM " $arg" ;; - *) func_append files " $arg" ;; - esac - done - - test -z "$RM" && \ - func_fatal_help "you must specify an RM program" - - rmdirs= - - for file in $files; do - func_dirname "$file" "" "." - dir=$func_dirname_result - if test . = "$dir"; then - odir=$objdir - else - odir=$dir/$objdir - fi - func_basename "$file" - name=$func_basename_result - test uninstall = "$opt_mode" && odir=$dir - - # Remember odir for removal later, being careful to avoid duplicates - if test clean = "$opt_mode"; then - case " $rmdirs " in - *" $odir "*) ;; - *) func_append rmdirs " $odir" ;; - esac - fi - - # Don't error if the file doesn't exist and rm -f was used. - if { test -L "$file"; } >/dev/null 2>&1 || - { test -h "$file"; } >/dev/null 2>&1 || - test -f "$file"; then - : - elif test -d "$file"; then - exit_status=1 - continue - elif $rmforce; then - continue - fi - - rmfiles=$file - - case $name in - *.la) - # Possibly a libtool archive, so verify it. - if func_lalib_p "$file"; then - func_source $dir/$name - - # Delete the libtool libraries and symlinks. - for n in $library_names; do - func_append rmfiles " $odir/$n" - done - test -n "$old_library" && func_append rmfiles " $odir/$old_library" - - case $opt_mode in - clean) - case " $library_names " in - *" $dlname "*) ;; - *) test -n "$dlname" && func_append rmfiles " $odir/$dlname" ;; - esac - test -n "$libdir" && func_append rmfiles " $odir/$name $odir/${name}i" - ;; - uninstall) - if test -n "$library_names"; then - # Do each command in the postuninstall commands. - func_execute_cmds "$postuninstall_cmds" '$rmforce || exit_status=1' - fi - - if test -n "$old_library"; then - # Do each command in the old_postuninstall commands. - func_execute_cmds "$old_postuninstall_cmds" '$rmforce || exit_status=1' - fi - # FIXME: should reinstall the best remaining shared library. - ;; - esac - fi - ;; - - *.lo) - # Possibly a libtool object, so verify it. - if func_lalib_p "$file"; then - - # Read the .lo file - func_source $dir/$name - - # Add PIC object to the list of files to remove. - if test -n "$pic_object" && test none != "$pic_object"; then - func_append rmfiles " $dir/$pic_object" - fi - - # Add non-PIC object to the list of files to remove. - if test -n "$non_pic_object" && test none != "$non_pic_object"; then - func_append rmfiles " $dir/$non_pic_object" - fi - fi - ;; - - *) - if test clean = "$opt_mode"; then - noexename=$name - case $file in - *.exe) - func_stripname '' '.exe' "$file" - file=$func_stripname_result - func_stripname '' '.exe' "$name" - noexename=$func_stripname_result - # $file with .exe has already been added to rmfiles, - # add $file without .exe - func_append rmfiles " $file" - ;; - esac - # Do a test to see if this is a libtool program. - if func_ltwrapper_p "$file"; then - if func_ltwrapper_executable_p "$file"; then - func_ltwrapper_scriptname "$file" - relink_command= - func_source $func_ltwrapper_scriptname_result - func_append rmfiles " $func_ltwrapper_scriptname_result" - else - relink_command= - func_source $dir/$noexename - fi - - # note $name still contains .exe if it was in $file originally - # as does the version of $file that was added into $rmfiles - func_append rmfiles " $odir/$name $odir/${name}S.$objext" - if test yes = "$fast_install" && test -n "$relink_command"; then - func_append rmfiles " $odir/lt-$name" - fi - if test "X$noexename" != "X$name"; then - func_append rmfiles " $odir/lt-$noexename.c" - fi - fi - fi - ;; - esac - func_show_eval "$RM $rmfiles" 'exit_status=1' - done - - # Try to remove the $objdir's in the directories where we deleted files - for dir in $rmdirs; do - if test -d "$dir"; then - func_show_eval "rmdir $dir >/dev/null 2>&1" - fi - done - - exit $exit_status -} - -if test uninstall = "$opt_mode" || test clean = "$opt_mode"; then - func_mode_uninstall ${1+"$@"} -fi - -test -z "$opt_mode" && { - help=$generic_help - func_fatal_help "you must specify a MODE" -} - -test -z "$exec_cmd" && \ - func_fatal_help "invalid operation mode '$opt_mode'" - -if test -n "$exec_cmd"; then - eval exec "$exec_cmd" - exit $EXIT_FAILURE -fi - -exit $exit_status - - -# The TAGs below are defined such that we never get into a situation -# where we disable both kinds of libraries. Given conflicting -# choices, we go for a static library, that is the most portable, -# since we can't tell whether shared libraries were disabled because -# the user asked for that or because the platform doesn't support -# them. This is particularly important on AIX, because we don't -# support having both static and shared libraries enabled at the same -# time on that platform, so we default to a shared-only configuration. -# If a disable-shared tag is given, we'll fallback to a static-only -# configuration. But we'll never go from static-only to shared-only. - -# ### BEGIN LIBTOOL TAG CONFIG: disable-shared -build_libtool_libs=no -build_old_libs=yes -# ### END LIBTOOL TAG CONFIG: disable-shared - -# ### BEGIN LIBTOOL TAG CONFIG: disable-static -build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac` -# ### END LIBTOOL TAG CONFIG: disable-static - -# Local Variables: -# mode:shell-script -# sh-indentation:2 -# End: diff --git a/harfbuzz/m4/ax_check_link_flag.m4 b/harfbuzz/m4/ax_check_link_flag.m4 deleted file mode 100644 index 819409a..0000000 --- a/harfbuzz/m4/ax_check_link_flag.m4 +++ /dev/null @@ -1,74 +0,0 @@ -# =========================================================================== -# https://www.gnu.org/software/autoconf-archive/ax_check_link_flag.html -# =========================================================================== -# -# SYNOPSIS -# -# AX_CHECK_LINK_FLAG(FLAG, [ACTION-SUCCESS], [ACTION-FAILURE], [EXTRA-FLAGS], [INPUT]) -# -# DESCRIPTION -# -# Check whether the given FLAG works with the linker or gives an error. -# (Warnings, however, are ignored) -# -# ACTION-SUCCESS/ACTION-FAILURE are shell commands to execute on -# success/failure. -# -# If EXTRA-FLAGS is defined, it is added to the linker's default flags -# when the check is done. The check is thus made with the flags: "LDFLAGS -# EXTRA-FLAGS FLAG". This can for example be used to force the linker to -# issue an error when a bad flag is given. -# -# INPUT gives an alternative input source to AC_LINK_IFELSE. -# -# NOTE: Implementation based on AX_CFLAGS_GCC_OPTION. Please keep this -# macro in sync with AX_CHECK_{PREPROC,COMPILE}_FLAG. -# -# LICENSE -# -# Copyright (c) 2008 Guido U. Draheim -# Copyright (c) 2011 Maarten Bosmans -# -# This program is free software: you can redistribute it and/or modify it -# under the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or (at your -# option) any later version. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General -# Public License for more details. -# -# You should have received a copy of the GNU General Public License along -# with this program. If not, see . -# -# As a special exception, the respective Autoconf Macro's copyright owner -# gives unlimited permission to copy, distribute and modify the configure -# scripts that are the output of Autoconf when processing the Macro. You -# need not follow the terms of the GNU General Public License when using -# or distributing such scripts, even though portions of the text of the -# Macro appear in them. The GNU General Public License (GPL) does govern -# all other use of the material that constitutes the Autoconf Macro. -# -# This special exception to the GPL applies to versions of the Autoconf -# Macro released by the Autoconf Archive. When you make and distribute a -# modified version of the Autoconf Macro, you may extend this special -# exception to the GPL to apply to your modified version as well. - -#serial 5 - -AC_DEFUN([AX_CHECK_LINK_FLAG], -[AC_PREREQ(2.64)dnl for _AC_LANG_PREFIX and AS_VAR_IF -AS_VAR_PUSHDEF([CACHEVAR],[ax_cv_check_ldflags_$4_$1])dnl -AC_CACHE_CHECK([whether the linker accepts $1], CACHEVAR, [ - ax_check_save_flags=$LDFLAGS - LDFLAGS="$LDFLAGS $4 $1" - AC_LINK_IFELSE([m4_default([$5],[AC_LANG_PROGRAM()])], - [AS_VAR_SET(CACHEVAR,[yes])], - [AS_VAR_SET(CACHEVAR,[no])]) - LDFLAGS=$ax_check_save_flags]) -AS_VAR_IF(CACHEVAR,yes, - [m4_default([$2], :)], - [m4_default([$3], :)]) -AS_VAR_POPDEF([CACHEVAR])dnl -])dnl AX_CHECK_LINK_FLAGS diff --git a/harfbuzz/m4/ax_code_coverage.m4 b/harfbuzz/m4/ax_code_coverage.m4 deleted file mode 100644 index 6484f03..0000000 --- a/harfbuzz/m4/ax_code_coverage.m4 +++ /dev/null @@ -1,264 +0,0 @@ -# =========================================================================== -# https://www.gnu.org/software/autoconf-archive/ax_code_coverage.html -# =========================================================================== -# -# SYNOPSIS -# -# AX_CODE_COVERAGE() -# -# DESCRIPTION -# -# Defines CODE_COVERAGE_CPPFLAGS, CODE_COVERAGE_CFLAGS, -# CODE_COVERAGE_CXXFLAGS and CODE_COVERAGE_LIBS which should be included -# in the CPPFLAGS, CFLAGS CXXFLAGS and LIBS/LIBADD variables of every -# build target (program or library) which should be built with code -# coverage support. Also defines CODE_COVERAGE_RULES which should be -# substituted in your Makefile; and $enable_code_coverage which can be -# used in subsequent configure output. CODE_COVERAGE_ENABLED is defined -# and substituted, and corresponds to the value of the -# --enable-code-coverage option, which defaults to being disabled. -# -# Test also for gcov program and create GCOV variable that could be -# substituted. -# -# Note that all optimization flags in CFLAGS must be disabled when code -# coverage is enabled. -# -# Usage example: -# -# configure.ac: -# -# AX_CODE_COVERAGE -# -# Makefile.am: -# -# @CODE_COVERAGE_RULES@ -# my_program_LIBS = ... $(CODE_COVERAGE_LIBS) ... -# my_program_CPPFLAGS = ... $(CODE_COVERAGE_CPPFLAGS) ... -# my_program_CFLAGS = ... $(CODE_COVERAGE_CFLAGS) ... -# my_program_CXXFLAGS = ... $(CODE_COVERAGE_CXXFLAGS) ... -# -# This results in a "check-code-coverage" rule being added to any -# Makefile.am which includes "@CODE_COVERAGE_RULES@" (assuming the module -# has been configured with --enable-code-coverage). Running `make -# check-code-coverage` in that directory will run the module's test suite -# (`make check`) and build a code coverage report detailing the code which -# was touched, then print the URI for the report. -# -# In earlier versions of this macro, CODE_COVERAGE_LDFLAGS was defined -# instead of CODE_COVERAGE_LIBS. They are both still defined, but use of -# CODE_COVERAGE_LIBS is preferred for clarity; CODE_COVERAGE_LDFLAGS is -# deprecated. They have the same value. -# -# This code was derived from Makefile.decl in GLib, originally licenced -# under LGPLv2.1+. -# -# LICENSE -# -# Copyright (c) 2012, 2016 Philip Withnall -# Copyright (c) 2012 Xan Lopez -# Copyright (c) 2012 Christian Persch -# Copyright (c) 2012 Paolo Borelli -# Copyright (c) 2012 Dan Winship -# Copyright (c) 2015 Bastien ROUCARIES -# -# This library is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or (at -# your option) any later version. -# -# This library is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser -# General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# along with this program. If not, see . - -#serial 25 - -AC_DEFUN([AX_CODE_COVERAGE],[ - dnl Check for --enable-code-coverage - AC_REQUIRE([AC_PROG_SED]) - - # allow to override gcov location - AC_ARG_WITH([gcov], - [AS_HELP_STRING([--with-gcov[=GCOV]], [use given GCOV for coverage (GCOV=gcov).])], - [_AX_CODE_COVERAGE_GCOV_PROG_WITH=$with_gcov], - [_AX_CODE_COVERAGE_GCOV_PROG_WITH=gcov]) - - AC_MSG_CHECKING([whether to build with code coverage support]) - AC_ARG_ENABLE([code-coverage], - AS_HELP_STRING([--enable-code-coverage], - [Whether to enable code coverage support]),, - enable_code_coverage=no) - - AM_CONDITIONAL([CODE_COVERAGE_ENABLED], [test x$enable_code_coverage = xyes]) - AC_SUBST([CODE_COVERAGE_ENABLED], [$enable_code_coverage]) - AC_MSG_RESULT($enable_code_coverage) - - AS_IF([ test "$enable_code_coverage" = "yes" ], [ - # check for gcov - AC_CHECK_TOOL([GCOV], - [$_AX_CODE_COVERAGE_GCOV_PROG_WITH], - [:]) - AS_IF([test "X$GCOV" = "X:"], - [AC_MSG_ERROR([gcov is needed to do coverage])]) - AC_SUBST([GCOV]) - - dnl Check if gcc is being used - AS_IF([ test "$GCC" = "no" ], [ - AC_MSG_ERROR([not compiling with gcc, which is required for gcov code coverage]) - ]) - - AC_CHECK_PROG([LCOV], [lcov], [lcov]) - AC_CHECK_PROG([GENHTML], [genhtml], [genhtml]) - - AS_IF([ test -z "$LCOV" ], [ - AC_MSG_ERROR([To enable code coverage reporting you must have lcov installed]) - ]) - - AS_IF([ test -z "$GENHTML" ], [ - AC_MSG_ERROR([Could not find genhtml from the lcov package]) - ]) - - dnl Build the code coverage flags - dnl Define CODE_COVERAGE_LDFLAGS for backwards compatibility - CODE_COVERAGE_CPPFLAGS="-DNDEBUG" - CODE_COVERAGE_CFLAGS="-O0 -g -fprofile-arcs -ftest-coverage" - CODE_COVERAGE_CXXFLAGS="-O0 -g -fprofile-arcs -ftest-coverage" - CODE_COVERAGE_LIBS="-lgcov" - CODE_COVERAGE_LDFLAGS="$CODE_COVERAGE_LIBS" - - AC_SUBST([CODE_COVERAGE_CPPFLAGS]) - AC_SUBST([CODE_COVERAGE_CFLAGS]) - AC_SUBST([CODE_COVERAGE_CXXFLAGS]) - AC_SUBST([CODE_COVERAGE_LIBS]) - AC_SUBST([CODE_COVERAGE_LDFLAGS]) - - [CODE_COVERAGE_RULES_CHECK=' - -$(A''M_V_at)$(MAKE) $(AM_MAKEFLAGS) -k check - $(A''M_V_at)$(MAKE) $(AM_MAKEFLAGS) code-coverage-capture -'] - [CODE_COVERAGE_RULES_CAPTURE=' - $(code_coverage_v_lcov_cap)$(LCOV) $(code_coverage_quiet) $(addprefix --directory ,$(CODE_COVERAGE_DIRECTORY)) --capture --output-file "$(CODE_COVERAGE_OUTPUT_FILE).tmp" --test-name "$(call code_coverage_sanitize,$(PACKAGE_NAME)-$(PACKAGE_VERSION))" --no-checksum --compat-libtool $(CODE_COVERAGE_LCOV_SHOPTS) $(CODE_COVERAGE_LCOV_OPTIONS) - $(code_coverage_v_lcov_ign)$(LCOV) $(code_coverage_quiet) $(addprefix --directory ,$(CODE_COVERAGE_DIRECTORY)) --remove "$(CODE_COVERAGE_OUTPUT_FILE).tmp" "/tmp/*" $(CODE_COVERAGE_IGNORE_PATTERN) --output-file "$(CODE_COVERAGE_OUTPUT_FILE)" $(CODE_COVERAGE_LCOV_SHOPTS) $(CODE_COVERAGE_LCOV_RMOPTS) - -@rm -f $(CODE_COVERAGE_OUTPUT_FILE).tmp - $(code_coverage_v_genhtml)LANG=C $(GENHTML) $(code_coverage_quiet) $(addprefix --prefix ,$(CODE_COVERAGE_DIRECTORY)) --output-directory "$(CODE_COVERAGE_OUTPUT_DIRECTORY)" --title "$(PACKAGE_NAME)-$(PACKAGE_VERSION) Code Coverage" --legend --show-details "$(CODE_COVERAGE_OUTPUT_FILE)" $(CODE_COVERAGE_GENHTML_OPTIONS) - @echo "file://$(abs_builddir)/$(CODE_COVERAGE_OUTPUT_DIRECTORY)/index.html" -'] - [CODE_COVERAGE_RULES_CLEAN=' -clean: code-coverage-clean -distclean: code-coverage-clean -code-coverage-clean: - -$(LCOV) --directory $(top_builddir) -z - -rm -rf $(CODE_COVERAGE_OUTPUT_FILE) $(CODE_COVERAGE_OUTPUT_FILE).tmp $(CODE_COVERAGE_OUTPUT_DIRECTORY) - -find . \( -name "*.gcda" -o -name "*.gcno" -o -name "*.gcov" \) -delete -'] - ], [ - [CODE_COVERAGE_RULES_CHECK=' - @echo "Need to reconfigure with --enable-code-coverage" -'] - CODE_COVERAGE_RULES_CAPTURE="$CODE_COVERAGE_RULES_CHECK" - CODE_COVERAGE_RULES_CLEAN='' - ]) - -[CODE_COVERAGE_RULES=' -# Code coverage -# -# Optional: -# - CODE_COVERAGE_DIRECTORY: Top-level directory for code coverage reporting. -# Multiple directories may be specified, separated by whitespace. -# (Default: $(top_builddir)) -# - CODE_COVERAGE_OUTPUT_FILE: Filename and path for the .info file generated -# by lcov for code coverage. (Default: -# $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage.info) -# - CODE_COVERAGE_OUTPUT_DIRECTORY: Directory for generated code coverage -# reports to be created. (Default: -# $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage) -# - CODE_COVERAGE_BRANCH_COVERAGE: Set to 1 to enforce branch coverage, -# set to 0 to disable it and leave empty to stay with the default. -# (Default: empty) -# - CODE_COVERAGE_LCOV_SHOPTS_DEFAULT: Extra options shared between both lcov -# instances. (Default: based on $CODE_COVERAGE_BRANCH_COVERAGE) -# - CODE_COVERAGE_LCOV_SHOPTS: Extra options to shared between both lcov -# instances. (Default: $CODE_COVERAGE_LCOV_SHOPTS_DEFAULT) -# - CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH: --gcov-tool pathtogcov -# - CODE_COVERAGE_LCOV_OPTIONS_DEFAULT: Extra options to pass to the -# collecting lcov instance. (Default: $CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH) -# - CODE_COVERAGE_LCOV_OPTIONS: Extra options to pass to the collecting lcov -# instance. (Default: $CODE_COVERAGE_LCOV_OPTIONS_DEFAULT) -# - CODE_COVERAGE_LCOV_RMOPTS_DEFAULT: Extra options to pass to the filtering -# lcov instance. (Default: empty) -# - CODE_COVERAGE_LCOV_RMOPTS: Extra options to pass to the filtering lcov -# instance. (Default: $CODE_COVERAGE_LCOV_RMOPTS_DEFAULT) -# - CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT: Extra options to pass to the -# genhtml instance. (Default: based on $CODE_COVERAGE_BRANCH_COVERAGE) -# - CODE_COVERAGE_GENHTML_OPTIONS: Extra options to pass to the genhtml -# instance. (Default: $CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT) -# - CODE_COVERAGE_IGNORE_PATTERN: Extra glob pattern of files to ignore -# -# The generated report will be titled using the $(PACKAGE_NAME) and -# $(PACKAGE_VERSION). In order to add the current git hash to the title, -# use the git-version-gen script, available online. - -# Optional variables -CODE_COVERAGE_DIRECTORY ?= $(top_builddir) -CODE_COVERAGE_OUTPUT_FILE ?= $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage.info -CODE_COVERAGE_OUTPUT_DIRECTORY ?= $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage -CODE_COVERAGE_BRANCH_COVERAGE ?= -CODE_COVERAGE_LCOV_SHOPTS_DEFAULT ?= $(if $(CODE_COVERAGE_BRANCH_COVERAGE),\ ---rc lcov_branch_coverage=$(CODE_COVERAGE_BRANCH_COVERAGE)) -CODE_COVERAGE_LCOV_SHOPTS ?= $(CODE_COVERAGE_LCOV_SHOPTS_DEFAULT) -CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH ?= --gcov-tool "$(GCOV)" -CODE_COVERAGE_LCOV_OPTIONS_DEFAULT ?= $(CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH) -CODE_COVERAGE_LCOV_OPTIONS ?= $(CODE_COVERAGE_LCOV_OPTIONS_DEFAULT) -CODE_COVERAGE_LCOV_RMOPTS_DEFAULT ?= -CODE_COVERAGE_LCOV_RMOPTS ?= $(CODE_COVERAGE_LCOV_RMOPTS_DEFAULT) -CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT ?=\ -$(if $(CODE_COVERAGE_BRANCH_COVERAGE),\ ---rc genhtml_branch_coverage=$(CODE_COVERAGE_BRANCH_COVERAGE)) -CODE_COVERAGE_GENHTML_OPTIONS ?= $(CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT) -CODE_COVERAGE_IGNORE_PATTERN ?= - -GITIGNOREFILES ?= -GITIGNOREFILES += $(CODE_COVERAGE_OUTPUT_FILE) $(CODE_COVERAGE_OUTPUT_DIRECTORY) - -code_coverage_v_lcov_cap = $(code_coverage_v_lcov_cap_$(V)) -code_coverage_v_lcov_cap_ = $(code_coverage_v_lcov_cap_$(AM_DEFAULT_VERBOSITY)) -code_coverage_v_lcov_cap_0 = @echo " LCOV --capture"\ - $(CODE_COVERAGE_OUTPUT_FILE); -code_coverage_v_lcov_ign = $(code_coverage_v_lcov_ign_$(V)) -code_coverage_v_lcov_ign_ = $(code_coverage_v_lcov_ign_$(AM_DEFAULT_VERBOSITY)) -code_coverage_v_lcov_ign_0 = @echo " LCOV --remove /tmp/*"\ - $(CODE_COVERAGE_IGNORE_PATTERN); -code_coverage_v_genhtml = $(code_coverage_v_genhtml_$(V)) -code_coverage_v_genhtml_ = $(code_coverage_v_genhtml_$(AM_DEFAULT_VERBOSITY)) -code_coverage_v_genhtml_0 = @echo " GEN " $(CODE_COVERAGE_OUTPUT_DIRECTORY); -code_coverage_quiet = $(code_coverage_quiet_$(V)) -code_coverage_quiet_ = $(code_coverage_quiet_$(AM_DEFAULT_VERBOSITY)) -code_coverage_quiet_0 = --quiet - -# sanitizes the test-name: replaces with underscores: dashes and dots -code_coverage_sanitize = $(subst -,_,$(subst .,_,$(1))) - -# Use recursive makes in order to ignore errors during check -check-code-coverage:'"$CODE_COVERAGE_RULES_CHECK"' - -# Capture code coverage data -code-coverage-capture: code-coverage-capture-hook'"$CODE_COVERAGE_RULES_CAPTURE"' - -# Hook rule executed before code-coverage-capture, overridable by the user -code-coverage-capture-hook: - -'"$CODE_COVERAGE_RULES_CLEAN"' - -A''M_DISTCHECK_CONFIGURE_FLAGS ?= -A''M_DISTCHECK_CONFIGURE_FLAGS += --disable-code-coverage - -.PHONY: check-code-coverage code-coverage-capture code-coverage-capture-hook code-coverage-clean -'] - - AC_SUBST([CODE_COVERAGE_RULES]) - m4_ifdef([_AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE([CODE_COVERAGE_RULES])]) -]) diff --git a/harfbuzz/m4/ax_cxx_compile_stdcxx.m4 b/harfbuzz/m4/ax_cxx_compile_stdcxx.m4 deleted file mode 100644 index 8b6df5a..0000000 --- a/harfbuzz/m4/ax_cxx_compile_stdcxx.m4 +++ /dev/null @@ -1,982 +0,0 @@ -# =========================================================================== -# https://www.gnu.org/software/autoconf-archive/ax_cxx_compile_stdcxx.html -# =========================================================================== -# -# SYNOPSIS -# -# AX_CXX_COMPILE_STDCXX(VERSION, [ext|noext], [mandatory|optional]) -# -# DESCRIPTION -# -# Check for baseline language coverage in the compiler for the specified -# version of the C++ standard. If necessary, add switches to CXX and -# CXXCPP to enable support. VERSION may be '11' (for the C++11 standard) -# or '14' (for the C++14 standard). -# -# The second argument, if specified, indicates whether you insist on an -# extended mode (e.g. -std=gnu++11) or a strict conformance mode (e.g. -# -std=c++11). If neither is specified, you get whatever works, with -# preference for an extended mode. -# -# The third argument, if specified 'mandatory' or if left unspecified, -# indicates that baseline support for the specified C++ standard is -# required and that the macro should error out if no mode with that -# support is found. If specified 'optional', then configuration proceeds -# regardless, after defining HAVE_CXX${VERSION} if and only if a -# supporting mode is found. -# -# LICENSE -# -# Copyright (c) 2008 Benjamin Kosnik -# Copyright (c) 2012 Zack Weinberg -# Copyright (c) 2013 Roy Stogner -# Copyright (c) 2014, 2015 Google Inc.; contributed by Alexey Sokolov -# Copyright (c) 2015 Paul Norman -# Copyright (c) 2015 Moritz Klammler -# Copyright (c) 2016 Krzesimir Nowak -# -# Copying and distribution of this file, with or without modification, are -# permitted in any medium without royalty provided the copyright notice -# and this notice are preserved. This file is offered as-is, without any -# warranty. - -#serial 7 - -dnl This macro is based on the code from the AX_CXX_COMPILE_STDCXX_11 macro -dnl (serial version number 13). - -AX_REQUIRE_DEFINED([AC_MSG_WARN]) -AC_DEFUN([AX_CXX_COMPILE_STDCXX], [dnl - m4_if([$1], [11], [ax_cxx_compile_alternatives="11 0x"], - [$1], [14], [ax_cxx_compile_alternatives="14 1y"], - [$1], [17], [ax_cxx_compile_alternatives="17 1z"], - [m4_fatal([invalid first argument `$1' to AX_CXX_COMPILE_STDCXX])])dnl - m4_if([$2], [], [], - [$2], [ext], [], - [$2], [noext], [], - [m4_fatal([invalid second argument `$2' to AX_CXX_COMPILE_STDCXX])])dnl - m4_if([$3], [], [ax_cxx_compile_cxx$1_required=true], - [$3], [mandatory], [ax_cxx_compile_cxx$1_required=true], - [$3], [optional], [ax_cxx_compile_cxx$1_required=false], - [m4_fatal([invalid third argument `$3' to AX_CXX_COMPILE_STDCXX])]) - AC_LANG_PUSH([C++])dnl - ac_success=no - AC_CACHE_CHECK(whether $CXX supports C++$1 features by default, - ax_cv_cxx_compile_cxx$1, - [AC_COMPILE_IFELSE([AC_LANG_SOURCE([_AX_CXX_COMPILE_STDCXX_testbody_$1])], - [ax_cv_cxx_compile_cxx$1=yes], - [ax_cv_cxx_compile_cxx$1=no])]) - if test x$ax_cv_cxx_compile_cxx$1 = xyes; then - ac_success=yes - fi - - m4_if([$2], [noext], [], [dnl - if test x$ac_success = xno; then - for alternative in ${ax_cxx_compile_alternatives}; do - switch="-std=gnu++${alternative}" - cachevar=AS_TR_SH([ax_cv_cxx_compile_cxx$1_$switch]) - AC_CACHE_CHECK(whether $CXX supports C++$1 features with $switch, - $cachevar, - [ac_save_CXX="$CXX" - CXX="$CXX $switch" - AC_COMPILE_IFELSE([AC_LANG_SOURCE([_AX_CXX_COMPILE_STDCXX_testbody_$1])], - [eval $cachevar=yes], - [eval $cachevar=no]) - CXX="$ac_save_CXX"]) - if eval test x\$$cachevar = xyes; then - CXX="$CXX $switch" - if test -n "$CXXCPP" ; then - CXXCPP="$CXXCPP $switch" - fi - ac_success=yes - break - fi - done - fi]) - - m4_if([$2], [ext], [], [dnl - if test x$ac_success = xno; then - dnl HP's aCC needs +std=c++11 according to: - dnl http://h21007.www2.hp.com/portal/download/files/unprot/aCxx/PDF_Release_Notes/769149-001.pdf - dnl Cray's crayCC needs "-h std=c++11" - for alternative in ${ax_cxx_compile_alternatives}; do - for switch in -std=c++${alternative} +std=c++${alternative} "-h std=c++${alternative}"; do - cachevar=AS_TR_SH([ax_cv_cxx_compile_cxx$1_$switch]) - AC_CACHE_CHECK(whether $CXX supports C++$1 features with $switch, - $cachevar, - [ac_save_CXX="$CXX" - CXX="$CXX $switch" - AC_COMPILE_IFELSE([AC_LANG_SOURCE([_AX_CXX_COMPILE_STDCXX_testbody_$1])], - [eval $cachevar=yes], - [eval $cachevar=no]) - CXX="$ac_save_CXX"]) - if eval test x\$$cachevar = xyes; then - CXX="$CXX $switch" - if test -n "$CXXCPP" ; then - CXXCPP="$CXXCPP $switch" - fi - ac_success=yes - break - fi - done - if test x$ac_success = xyes; then - break - fi - done - fi]) - AC_LANG_POP([C++]) - if test x$ax_cxx_compile_cxx$1_required = xtrue; then - if test x$ac_success = xno; then - AC_MSG_ERROR([*** A compiler with support for C++$1 language features is required.]) - fi - fi - if test x$ac_success = xno; then - HAVE_CXX$1=0 - AC_MSG_NOTICE([No compiler with C++$1 support was found]) - else - HAVE_CXX$1=1 - AC_DEFINE(HAVE_CXX$1,1, - [define if the compiler supports basic C++$1 syntax]) - fi - AC_SUBST(HAVE_CXX$1) - m4_if([$1], [17], [AC_MSG_WARN([C++17 is not yet standardized, so the checks may change in incompatible ways anytime])]) -]) - - -dnl Test body for checking C++11 support - -m4_define([_AX_CXX_COMPILE_STDCXX_testbody_11], - _AX_CXX_COMPILE_STDCXX_testbody_new_in_11 -) - - -dnl Test body for checking C++14 support - -m4_define([_AX_CXX_COMPILE_STDCXX_testbody_14], - _AX_CXX_COMPILE_STDCXX_testbody_new_in_11 - _AX_CXX_COMPILE_STDCXX_testbody_new_in_14 -) - -m4_define([_AX_CXX_COMPILE_STDCXX_testbody_17], - _AX_CXX_COMPILE_STDCXX_testbody_new_in_11 - _AX_CXX_COMPILE_STDCXX_testbody_new_in_14 - _AX_CXX_COMPILE_STDCXX_testbody_new_in_17 -) - -dnl Tests for new features in C++11 - -m4_define([_AX_CXX_COMPILE_STDCXX_testbody_new_in_11], [[ - -// If the compiler admits that it is not ready for C++11, why torture it? -// Hopefully, this will speed up the test. - -#ifndef __cplusplus - -#error "This is not a C++ compiler" - -#elif __cplusplus < 201103L - -#error "This is not a C++11 compiler" - -#else - -namespace cxx11 -{ - - namespace test_static_assert - { - - template - struct check - { - static_assert(sizeof(int) <= sizeof(T), "not big enough"); - }; - - } - - namespace test_final_override - { - - struct Base - { - virtual void f() {} - }; - - struct Derived : public Base - { - virtual void f() override {} - }; - - } - - namespace test_double_right_angle_brackets - { - - template < typename T > - struct check {}; - - typedef check single_type; - typedef check> double_type; - typedef check>> triple_type; - typedef check>>> quadruple_type; - - } - - namespace test_decltype - { - - int - f() - { - int a = 1; - decltype(a) b = 2; - return a + b; - } - - } - - namespace test_type_deduction - { - - template < typename T1, typename T2 > - struct is_same - { - static const bool value = false; - }; - - template < typename T > - struct is_same - { - static const bool value = true; - }; - - template < typename T1, typename T2 > - auto - add(T1 a1, T2 a2) -> decltype(a1 + a2) - { - return a1 + a2; - } - - int - test(const int c, volatile int v) - { - static_assert(is_same::value == true, ""); - static_assert(is_same::value == false, ""); - static_assert(is_same::value == false, ""); - auto ac = c; - auto av = v; - auto sumi = ac + av + 'x'; - auto sumf = ac + av + 1.0; - static_assert(is_same::value == true, ""); - static_assert(is_same::value == true, ""); - static_assert(is_same::value == true, ""); - static_assert(is_same::value == false, ""); - static_assert(is_same::value == true, ""); - return (sumf > 0.0) ? sumi : add(c, v); - } - - } - - namespace test_noexcept - { - - int f() { return 0; } - int g() noexcept { return 0; } - - static_assert(noexcept(f()) == false, ""); - static_assert(noexcept(g()) == true, ""); - - } - - namespace test_constexpr - { - - template < typename CharT > - unsigned long constexpr - strlen_c_r(const CharT *const s, const unsigned long acc) noexcept - { - return *s ? strlen_c_r(s + 1, acc + 1) : acc; - } - - template < typename CharT > - unsigned long constexpr - strlen_c(const CharT *const s) noexcept - { - return strlen_c_r(s, 0UL); - } - - static_assert(strlen_c("") == 0UL, ""); - static_assert(strlen_c("1") == 1UL, ""); - static_assert(strlen_c("example") == 7UL, ""); - static_assert(strlen_c("another\0example") == 7UL, ""); - - } - - namespace test_rvalue_references - { - - template < int N > - struct answer - { - static constexpr int value = N; - }; - - answer<1> f(int&) { return answer<1>(); } - answer<2> f(const int&) { return answer<2>(); } - answer<3> f(int&&) { return answer<3>(); } - - void - test() - { - int i = 0; - const int c = 0; - static_assert(decltype(f(i))::value == 1, ""); - static_assert(decltype(f(c))::value == 2, ""); - static_assert(decltype(f(0))::value == 3, ""); - } - - } - - namespace test_uniform_initialization - { - - struct test - { - static const int zero {}; - static const int one {1}; - }; - - static_assert(test::zero == 0, ""); - static_assert(test::one == 1, ""); - - } - - namespace test_lambdas - { - - void - test1() - { - auto lambda1 = [](){}; - auto lambda2 = lambda1; - lambda1(); - lambda2(); - } - - int - test2() - { - auto a = [](int i, int j){ return i + j; }(1, 2); - auto b = []() -> int { return '0'; }(); - auto c = [=](){ return a + b; }(); - auto d = [&](){ return c; }(); - auto e = [a, &b](int x) mutable { - const auto identity = [](int y){ return y; }; - for (auto i = 0; i < a; ++i) - a += b--; - return x + identity(a + b); - }(0); - return a + b + c + d + e; - } - - int - test3() - { - const auto nullary = [](){ return 0; }; - const auto unary = [](int x){ return x; }; - using nullary_t = decltype(nullary); - using unary_t = decltype(unary); - const auto higher1st = [](nullary_t f){ return f(); }; - const auto higher2nd = [unary](nullary_t f1){ - return [unary, f1](unary_t f2){ return f2(unary(f1())); }; - }; - return higher1st(nullary) + higher2nd(nullary)(unary); - } - - } - - namespace test_variadic_templates - { - - template - struct sum; - - template - struct sum - { - static constexpr auto value = N0 + sum::value; - }; - - template <> - struct sum<> - { - static constexpr auto value = 0; - }; - - static_assert(sum<>::value == 0, ""); - static_assert(sum<1>::value == 1, ""); - static_assert(sum<23>::value == 23, ""); - static_assert(sum<1, 2>::value == 3, ""); - static_assert(sum<5, 5, 11>::value == 21, ""); - static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, ""); - - } - - // https://stackoverflow.com/questions/13728184/template-aliases-and-sfinae - // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function - // because of this. - namespace test_template_alias_sfinae - { - - struct foo {}; - - template - using member = typename T::member_type; - - template - void func(...) {} - - template - void func(member*) {} - - void test(); - - void test() { func(0); } - - } - -} // namespace cxx11 - -#endif // __cplusplus >= 201103L - -]]) - - -dnl Tests for new features in C++14 - -m4_define([_AX_CXX_COMPILE_STDCXX_testbody_new_in_14], [[ - -// If the compiler admits that it is not ready for C++14, why torture it? -// Hopefully, this will speed up the test. - -#ifndef __cplusplus - -#error "This is not a C++ compiler" - -#elif __cplusplus < 201402L - -#error "This is not a C++14 compiler" - -#else - -namespace cxx14 -{ - - namespace test_polymorphic_lambdas - { - - int - test() - { - const auto lambda = [](auto&&... args){ - const auto istiny = [](auto x){ - return (sizeof(x) == 1UL) ? 1 : 0; - }; - const int aretiny[] = { istiny(args)... }; - return aretiny[0]; - }; - return lambda(1, 1L, 1.0f, '1'); - } - - } - - namespace test_binary_literals - { - - constexpr auto ivii = 0b0000000000101010; - static_assert(ivii == 42, "wrong value"); - - } - - namespace test_generalized_constexpr - { - - template < typename CharT > - constexpr unsigned long - strlen_c(const CharT *const s) noexcept - { - auto length = 0UL; - for (auto p = s; *p; ++p) - ++length; - return length; - } - - static_assert(strlen_c("") == 0UL, ""); - static_assert(strlen_c("x") == 1UL, ""); - static_assert(strlen_c("test") == 4UL, ""); - static_assert(strlen_c("another\0test") == 7UL, ""); - - } - - namespace test_lambda_init_capture - { - - int - test() - { - auto x = 0; - const auto lambda1 = [a = x](int b){ return a + b; }; - const auto lambda2 = [a = lambda1(x)](){ return a; }; - return lambda2(); - } - - } - - namespace test_digit_separators - { - - constexpr auto ten_million = 100'000'000; - static_assert(ten_million == 100000000, ""); - - } - - namespace test_return_type_deduction - { - - auto f(int& x) { return x; } - decltype(auto) g(int& x) { return x; } - - template < typename T1, typename T2 > - struct is_same - { - static constexpr auto value = false; - }; - - template < typename T > - struct is_same - { - static constexpr auto value = true; - }; - - int - test() - { - auto x = 0; - static_assert(is_same::value, ""); - static_assert(is_same::value, ""); - return x; - } - - } - -} // namespace cxx14 - -#endif // __cplusplus >= 201402L - -]]) - - -dnl Tests for new features in C++17 - -m4_define([_AX_CXX_COMPILE_STDCXX_testbody_new_in_17], [[ - -// If the compiler admits that it is not ready for C++17, why torture it? -// Hopefully, this will speed up the test. - -#ifndef __cplusplus - -#error "This is not a C++ compiler" - -#elif __cplusplus <= 201402L - -#error "This is not a C++17 compiler" - -#else - -#if defined(__clang__) - #define REALLY_CLANG -#else - #if defined(__GNUC__) - #define REALLY_GCC - #endif -#endif - -#include -#include -#include - -namespace cxx17 -{ - -#if !defined(REALLY_CLANG) - namespace test_constexpr_lambdas - { - - // TODO: test it with clang++ from git - - constexpr int foo = [](){return 42;}(); - - } -#endif // !defined(REALLY_CLANG) - - namespace test::nested_namespace::definitions - { - - } - - namespace test_fold_expression - { - - template - int multiply(Args... args) - { - return (args * ... * 1); - } - - template - bool all(Args... args) - { - return (args && ...); - } - - } - - namespace test_extended_static_assert - { - - static_assert (true); - - } - - namespace test_auto_brace_init_list - { - - auto foo = {5}; - auto bar {5}; - - static_assert(std::is_same, decltype(foo)>::value); - static_assert(std::is_same::value); - } - - namespace test_typename_in_template_template_parameter - { - - template typename X> struct D; - - } - - namespace test_fallthrough_nodiscard_maybe_unused_attributes - { - - int f1() - { - return 42; - } - - [[nodiscard]] int f2() - { - [[maybe_unused]] auto unused = f1(); - - switch (f1()) - { - case 17: - f1(); - [[fallthrough]]; - case 42: - f1(); - } - return f1(); - } - - } - - namespace test_extended_aggregate_initialization - { - - struct base1 - { - int b1, b2 = 42; - }; - - struct base2 - { - base2() { - b3 = 42; - } - int b3; - }; - - struct derived : base1, base2 - { - int d; - }; - - derived d1 {{1, 2}, {}, 4}; // full initialization - derived d2 {{}, {}, 4}; // value-initialized bases - - } - - namespace test_general_range_based_for_loop - { - - struct iter - { - int i; - - int& operator* () - { - return i; - } - - const int& operator* () const - { - return i; - } - - iter& operator++() - { - ++i; - return *this; - } - }; - - struct sentinel - { - int i; - }; - - bool operator== (const iter& i, const sentinel& s) - { - return i.i == s.i; - } - - bool operator!= (const iter& i, const sentinel& s) - { - return !(i == s); - } - - struct range - { - iter begin() const - { - return {0}; - } - - sentinel end() const - { - return {5}; - } - }; - - void f() - { - range r {}; - - for (auto i : r) - { - [[maybe_unused]] auto v = i; - } - } - - } - - namespace test_lambda_capture_asterisk_this_by_value - { - - struct t - { - int i; - int foo() - { - return [*this]() - { - return i; - }(); - } - }; - - } - - namespace test_enum_class_construction - { - - enum class byte : unsigned char - {}; - - byte foo {42}; - - } - - namespace test_constexpr_if - { - - template - int f () - { - if constexpr(cond) - { - return 13; - } - else - { - return 42; - } - } - - } - - namespace test_selection_statement_with_initializer - { - - int f() - { - return 13; - } - - int f2() - { - if (auto i = f(); i > 0) - { - return 3; - } - - switch (auto i = f(); i + 4) - { - case 17: - return 2; - - default: - return 1; - } - } - - } - -#if !defined(REALLY_CLANG) - namespace test_template_argument_deduction_for_class_templates - { - - // TODO: test it with clang++ from git - - template - struct pair - { - pair (T1 p1, T2 p2) - : m1 {p1}, - m2 {p2} - {} - - T1 m1; - T2 m2; - }; - - void f() - { - [[maybe_unused]] auto p = pair{13, 42u}; - } - - } -#endif // !defined(REALLY_CLANG) - - namespace test_non_type_auto_template_parameters - { - - template - struct B - {}; - - B<5> b1; - B<'a'> b2; - - } - -#if !defined(REALLY_CLANG) - namespace test_structured_bindings - { - - // TODO: test it with clang++ from git - - int arr[2] = { 1, 2 }; - std::pair pr = { 1, 2 }; - - auto f1() -> int(&)[2] - { - return arr; - } - - auto f2() -> std::pair& - { - return pr; - } - - struct S - { - int x1 : 2; - volatile double y1; - }; - - S f3() - { - return {}; - } - - auto [ x1, y1 ] = f1(); - auto& [ xr1, yr1 ] = f1(); - auto [ x2, y2 ] = f2(); - auto& [ xr2, yr2 ] = f2(); - const auto [ x3, y3 ] = f3(); - - } -#endif // !defined(REALLY_CLANG) - -#if !defined(REALLY_CLANG) - namespace test_exception_spec_type_system - { - - // TODO: test it with clang++ from git - - struct Good {}; - struct Bad {}; - - void g1() noexcept; - void g2(); - - template - Bad - f(T*, T*); - - template - Good - f(T1*, T2*); - - static_assert (std::is_same_v); - - } -#endif // !defined(REALLY_CLANG) - - namespace test_inline_variables - { - - template void f(T) - {} - - template inline T g(T) - { - return T{}; - } - - template<> inline void f<>(int) - {} - - template<> int g<>(int) - { - return 5; - } - - } - -} // namespace cxx17 - -#endif // __cplusplus <= 201402L - -]]) diff --git a/harfbuzz/m4/ax_pthread.m4 b/harfbuzz/m4/ax_pthread.m4 deleted file mode 100644 index 5fbf9fe..0000000 --- a/harfbuzz/m4/ax_pthread.m4 +++ /dev/null @@ -1,485 +0,0 @@ -# =========================================================================== -# https://www.gnu.org/software/autoconf-archive/ax_pthread.html -# =========================================================================== -# -# SYNOPSIS -# -# AX_PTHREAD([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]]) -# -# DESCRIPTION -# -# This macro figures out how to build C programs using POSIX threads. It -# sets the PTHREAD_LIBS output variable to the threads library and linker -# flags, and the PTHREAD_CFLAGS output variable to any special C compiler -# flags that are needed. (The user can also force certain compiler -# flags/libs to be tested by setting these environment variables.) -# -# Also sets PTHREAD_CC to any special C compiler that is needed for -# multi-threaded programs (defaults to the value of CC otherwise). (This -# is necessary on AIX to use the special cc_r compiler alias.) -# -# NOTE: You are assumed to not only compile your program with these flags, -# but also to link with them as well. For example, you might link with -# $PTHREAD_CC $CFLAGS $PTHREAD_CFLAGS $LDFLAGS ... $PTHREAD_LIBS $LIBS -# -# If you are only building threaded programs, you may wish to use these -# variables in your default LIBS, CFLAGS, and CC: -# -# LIBS="$PTHREAD_LIBS $LIBS" -# CFLAGS="$CFLAGS $PTHREAD_CFLAGS" -# CC="$PTHREAD_CC" -# -# In addition, if the PTHREAD_CREATE_JOINABLE thread-attribute constant -# has a nonstandard name, this macro defines PTHREAD_CREATE_JOINABLE to -# that name (e.g. PTHREAD_CREATE_UNDETACHED on AIX). -# -# Also HAVE_PTHREAD_PRIO_INHERIT is defined if pthread is found and the -# PTHREAD_PRIO_INHERIT symbol is defined when compiling with -# PTHREAD_CFLAGS. -# -# ACTION-IF-FOUND is a list of shell commands to run if a threads library -# is found, and ACTION-IF-NOT-FOUND is a list of commands to run it if it -# is not found. If ACTION-IF-FOUND is not specified, the default action -# will define HAVE_PTHREAD. -# -# Please let the authors know if this macro fails on any platform, or if -# you have any other suggestions or comments. This macro was based on work -# by SGJ on autoconf scripts for FFTW (http://www.fftw.org/) (with help -# from M. Frigo), as well as ac_pthread and hb_pthread macros posted by -# Alejandro Forero Cuervo to the autoconf macro repository. We are also -# grateful for the helpful feedback of numerous users. -# -# Updated for Autoconf 2.68 by Daniel Richard G. -# -# LICENSE -# -# Copyright (c) 2008 Steven G. Johnson -# Copyright (c) 2011 Daniel Richard G. -# -# This program is free software: you can redistribute it and/or modify it -# under the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or (at your -# option) any later version. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General -# Public License for more details. -# -# You should have received a copy of the GNU General Public License along -# with this program. If not, see . -# -# As a special exception, the respective Autoconf Macro's copyright owner -# gives unlimited permission to copy, distribute and modify the configure -# scripts that are the output of Autoconf when processing the Macro. You -# need not follow the terms of the GNU General Public License when using -# or distributing such scripts, even though portions of the text of the -# Macro appear in them. The GNU General Public License (GPL) does govern -# all other use of the material that constitutes the Autoconf Macro. -# -# This special exception to the GPL applies to versions of the Autoconf -# Macro released by the Autoconf Archive. When you make and distribute a -# modified version of the Autoconf Macro, you may extend this special -# exception to the GPL to apply to your modified version as well. - -#serial 24 - -AU_ALIAS([ACX_PTHREAD], [AX_PTHREAD]) -AC_DEFUN([AX_PTHREAD], [ -AC_REQUIRE([AC_CANONICAL_HOST]) -AC_REQUIRE([AC_PROG_CC]) -AC_REQUIRE([AC_PROG_SED]) -AC_LANG_PUSH([C]) -ax_pthread_ok=no - -# We used to check for pthread.h first, but this fails if pthread.h -# requires special compiler flags (e.g. on Tru64 or Sequent). -# It gets checked for in the link test anyway. - -# First of all, check if the user has set any of the PTHREAD_LIBS, -# etcetera environment variables, and if threads linking works using -# them: -if test "x$PTHREAD_CFLAGS$PTHREAD_LIBS" != "x"; then - ax_pthread_save_CC="$CC" - ax_pthread_save_CFLAGS="$CFLAGS" - ax_pthread_save_LIBS="$LIBS" - AS_IF([test "x$PTHREAD_CC" != "x"], [CC="$PTHREAD_CC"]) - CFLAGS="$CFLAGS $PTHREAD_CFLAGS" - LIBS="$PTHREAD_LIBS $LIBS" - AC_MSG_CHECKING([for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS]) - AC_LINK_IFELSE([AC_LANG_CALL([], [pthread_join])], [ax_pthread_ok=yes]) - AC_MSG_RESULT([$ax_pthread_ok]) - if test "x$ax_pthread_ok" = "xno"; then - PTHREAD_LIBS="" - PTHREAD_CFLAGS="" - fi - CC="$ax_pthread_save_CC" - CFLAGS="$ax_pthread_save_CFLAGS" - LIBS="$ax_pthread_save_LIBS" -fi - -# We must check for the threads library under a number of different -# names; the ordering is very important because some systems -# (e.g. DEC) have both -lpthread and -lpthreads, where one of the -# libraries is broken (non-POSIX). - -# Create a list of thread flags to try. Items starting with a "-" are -# C compiler flags, and other items are library names, except for "none" -# which indicates that we try without any flags at all, and "pthread-config" -# which is a program returning the flags for the Pth emulation library. - -ax_pthread_flags="pthreads none -Kthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config" - -# The ordering *is* (sometimes) important. Some notes on the -# individual items follow: - -# pthreads: AIX (must check this before -lpthread) -# none: in case threads are in libc; should be tried before -Kthread and -# other compiler flags to prevent continual compiler warnings -# -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h) -# -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads), Tru64 -# (Note: HP C rejects this with "bad form for `-t' option") -# -pthreads: Solaris/gcc (Note: HP C also rejects) -# -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it -# doesn't hurt to check since this sometimes defines pthreads and -# -D_REENTRANT too), HP C (must be checked before -lpthread, which -# is present but should not be used directly; and before -mthreads, -# because the compiler interprets this as "-mt" + "-hreads") -# -mthreads: Mingw32/gcc, Lynx/gcc -# pthread: Linux, etcetera -# --thread-safe: KAI C++ -# pthread-config: use pthread-config program (for GNU Pth library) - -case $host_os in - - freebsd*) - - # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able) - # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread) - - ax_pthread_flags="-kthread lthread $ax_pthread_flags" - ;; - - hpux*) - - # From the cc(1) man page: "[-mt] Sets various -D flags to enable - # multi-threading and also sets -lpthread." - - ax_pthread_flags="-mt -pthread pthread $ax_pthread_flags" - ;; - - openedition*) - - # IBM z/OS requires a feature-test macro to be defined in order to - # enable POSIX threads at all, so give the user a hint if this is - # not set. (We don't define these ourselves, as they can affect - # other portions of the system API in unpredictable ways.) - - AC_EGREP_CPP([AX_PTHREAD_ZOS_MISSING], - [ -# if !defined(_OPEN_THREADS) && !defined(_UNIX03_THREADS) - AX_PTHREAD_ZOS_MISSING -# endif - ], - [AC_MSG_WARN([IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pthreads support.])]) - ;; - - solaris*) - - # On Solaris (at least, for some versions), libc contains stubbed - # (non-functional) versions of the pthreads routines, so link-based - # tests will erroneously succeed. (N.B.: The stubs are missing - # pthread_cleanup_push, or rather a function called by this macro, - # so we could check for that, but who knows whether they'll stub - # that too in a future libc.) So we'll check first for the - # standard Solaris way of linking pthreads (-mt -lpthread). - - ax_pthread_flags="-mt,pthread pthread $ax_pthread_flags" - ;; -esac - -# GCC generally uses -pthread, or -pthreads on some platforms (e.g. SPARC) - -AS_IF([test "x$GCC" = "xyes"], - [ax_pthread_flags="-pthread -pthreads $ax_pthread_flags"]) - -# The presence of a feature test macro requesting re-entrant function -# definitions is, on some systems, a strong hint that pthreads support is -# correctly enabled - -case $host_os in - darwin* | hpux* | linux* | osf* | solaris*) - ax_pthread_check_macro="_REENTRANT" - ;; - - aix*) - ax_pthread_check_macro="_THREAD_SAFE" - ;; - - *) - ax_pthread_check_macro="--" - ;; -esac -AS_IF([test "x$ax_pthread_check_macro" = "x--"], - [ax_pthread_check_cond=0], - [ax_pthread_check_cond="!defined($ax_pthread_check_macro)"]) - -# Are we compiling with Clang? - -AC_CACHE_CHECK([whether $CC is Clang], - [ax_cv_PTHREAD_CLANG], - [ax_cv_PTHREAD_CLANG=no - # Note that Autoconf sets GCC=yes for Clang as well as GCC - if test "x$GCC" = "xyes"; then - AC_EGREP_CPP([AX_PTHREAD_CC_IS_CLANG], - [/* Note: Clang 2.7 lacks __clang_[a-z]+__ */ -# if defined(__clang__) && defined(__llvm__) - AX_PTHREAD_CC_IS_CLANG -# endif - ], - [ax_cv_PTHREAD_CLANG=yes]) - fi - ]) -ax_pthread_clang="$ax_cv_PTHREAD_CLANG" - -ax_pthread_clang_warning=no - -# Clang needs special handling, because older versions handle the -pthread -# option in a rather... idiosyncratic way - -if test "x$ax_pthread_clang" = "xyes"; then - - # Clang takes -pthread; it has never supported any other flag - - # (Note 1: This will need to be revisited if a system that Clang - # supports has POSIX threads in a separate library. This tends not - # to be the way of modern systems, but it's conceivable.) - - # (Note 2: On some systems, notably Darwin, -pthread is not needed - # to get POSIX threads support; the API is always present and - # active. We could reasonably leave PTHREAD_CFLAGS empty. But - # -pthread does define _REENTRANT, and while the Darwin headers - # ignore this macro, third-party headers might not.) - - PTHREAD_CFLAGS="-pthread" - PTHREAD_LIBS= - - ax_pthread_ok=yes - - # However, older versions of Clang make a point of warning the user - # that, in an invocation where only linking and no compilation is - # taking place, the -pthread option has no effect ("argument unused - # during compilation"). They expect -pthread to be passed in only - # when source code is being compiled. - # - # Problem is, this is at odds with the way Automake and most other - # C build frameworks function, which is that the same flags used in - # compilation (CFLAGS) are also used in linking. Many systems - # supported by AX_PTHREAD require exactly this for POSIX threads - # support, and in fact it is often not straightforward to specify a - # flag that is used only in the compilation phase and not in - # linking. Such a scenario is extremely rare in practice. - # - # Even though use of the -pthread flag in linking would only print - # a warning, this can be a nuisance for well-run software projects - # that build with -Werror. So if the active version of Clang has - # this misfeature, we search for an option to squash it. - - AC_CACHE_CHECK([whether Clang needs flag to prevent "argument unused" warning when linking with -pthread], - [ax_cv_PTHREAD_CLANG_NO_WARN_FLAG], - [ax_cv_PTHREAD_CLANG_NO_WARN_FLAG=unknown - # Create an alternate version of $ac_link that compiles and - # links in two steps (.c -> .o, .o -> exe) instead of one - # (.c -> exe), because the warning occurs only in the second - # step - ax_pthread_save_ac_link="$ac_link" - ax_pthread_sed='s/conftest\.\$ac_ext/conftest.$ac_objext/g' - ax_pthread_link_step=`$as_echo "$ac_link" | sed "$ax_pthread_sed"` - ax_pthread_2step_ac_link="($ac_compile) && (echo ==== >&5) && ($ax_pthread_link_step)" - ax_pthread_save_CFLAGS="$CFLAGS" - for ax_pthread_try in '' -Qunused-arguments -Wno-unused-command-line-argument unknown; do - AS_IF([test "x$ax_pthread_try" = "xunknown"], [break]) - CFLAGS="-Werror -Wunknown-warning-option $ax_pthread_try -pthread $ax_pthread_save_CFLAGS" - ac_link="$ax_pthread_save_ac_link" - AC_LINK_IFELSE([AC_LANG_SOURCE([[int main(void){return 0;}]])], - [ac_link="$ax_pthread_2step_ac_link" - AC_LINK_IFELSE([AC_LANG_SOURCE([[int main(void){return 0;}]])], - [break]) - ]) - done - ac_link="$ax_pthread_save_ac_link" - CFLAGS="$ax_pthread_save_CFLAGS" - AS_IF([test "x$ax_pthread_try" = "x"], [ax_pthread_try=no]) - ax_cv_PTHREAD_CLANG_NO_WARN_FLAG="$ax_pthread_try" - ]) - - case "$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" in - no | unknown) ;; - *) PTHREAD_CFLAGS="$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG $PTHREAD_CFLAGS" ;; - esac - -fi # $ax_pthread_clang = yes - -if test "x$ax_pthread_ok" = "xno"; then -for ax_pthread_try_flag in $ax_pthread_flags; do - - case $ax_pthread_try_flag in - none) - AC_MSG_CHECKING([whether pthreads work without any flags]) - ;; - - -mt,pthread) - AC_MSG_CHECKING([whether pthreads work with -mt -lpthread]) - PTHREAD_CFLAGS="-mt" - PTHREAD_LIBS="-lpthread" - ;; - - -*) - AC_MSG_CHECKING([whether pthreads work with $ax_pthread_try_flag]) - PTHREAD_CFLAGS="$ax_pthread_try_flag" - ;; - - pthread-config) - AC_CHECK_PROG([ax_pthread_config], [pthread-config], [yes], [no]) - AS_IF([test "x$ax_pthread_config" = "xno"], [continue]) - PTHREAD_CFLAGS="`pthread-config --cflags`" - PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`" - ;; - - *) - AC_MSG_CHECKING([for the pthreads library -l$ax_pthread_try_flag]) - PTHREAD_LIBS="-l$ax_pthread_try_flag" - ;; - esac - - ax_pthread_save_CFLAGS="$CFLAGS" - ax_pthread_save_LIBS="$LIBS" - CFLAGS="$CFLAGS $PTHREAD_CFLAGS" - LIBS="$PTHREAD_LIBS $LIBS" - - # Check for various functions. We must include pthread.h, - # since some functions may be macros. (On the Sequent, we - # need a special flag -Kthread to make this header compile.) - # We check for pthread_join because it is in -lpthread on IRIX - # while pthread_create is in libc. We check for pthread_attr_init - # due to DEC craziness with -lpthreads. We check for - # pthread_cleanup_push because it is one of the few pthread - # functions on Solaris that doesn't have a non-functional libc stub. - # We try pthread_create on general principles. - - AC_LINK_IFELSE([AC_LANG_PROGRAM([#include -# if $ax_pthread_check_cond -# error "$ax_pthread_check_macro must be defined" -# endif - static void routine(void *a) { a = 0; } - static void *start_routine(void *a) { return a; }], - [pthread_t th; pthread_attr_t attr; - pthread_create(&th, 0, start_routine, 0); - pthread_join(th, 0); - pthread_attr_init(&attr); - pthread_cleanup_push(routine, 0); - pthread_cleanup_pop(0) /* ; */])], - [ax_pthread_ok=yes], - []) - - CFLAGS="$ax_pthread_save_CFLAGS" - LIBS="$ax_pthread_save_LIBS" - - AC_MSG_RESULT([$ax_pthread_ok]) - AS_IF([test "x$ax_pthread_ok" = "xyes"], [break]) - - PTHREAD_LIBS="" - PTHREAD_CFLAGS="" -done -fi - -# Various other checks: -if test "x$ax_pthread_ok" = "xyes"; then - ax_pthread_save_CFLAGS="$CFLAGS" - ax_pthread_save_LIBS="$LIBS" - CFLAGS="$CFLAGS $PTHREAD_CFLAGS" - LIBS="$PTHREAD_LIBS $LIBS" - - # Detect AIX lossage: JOINABLE attribute is called UNDETACHED. - AC_CACHE_CHECK([for joinable pthread attribute], - [ax_cv_PTHREAD_JOINABLE_ATTR], - [ax_cv_PTHREAD_JOINABLE_ATTR=unknown - for ax_pthread_attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do - AC_LINK_IFELSE([AC_LANG_PROGRAM([#include ], - [int attr = $ax_pthread_attr; return attr /* ; */])], - [ax_cv_PTHREAD_JOINABLE_ATTR=$ax_pthread_attr; break], - []) - done - ]) - AS_IF([test "x$ax_cv_PTHREAD_JOINABLE_ATTR" != "xunknown" && \ - test "x$ax_cv_PTHREAD_JOINABLE_ATTR" != "xPTHREAD_CREATE_JOINABLE" && \ - test "x$ax_pthread_joinable_attr_defined" != "xyes"], - [AC_DEFINE_UNQUOTED([PTHREAD_CREATE_JOINABLE], - [$ax_cv_PTHREAD_JOINABLE_ATTR], - [Define to necessary symbol if this constant - uses a non-standard name on your system.]) - ax_pthread_joinable_attr_defined=yes - ]) - - AC_CACHE_CHECK([whether more special flags are required for pthreads], - [ax_cv_PTHREAD_SPECIAL_FLAGS], - [ax_cv_PTHREAD_SPECIAL_FLAGS=no - case $host_os in - solaris*) - ax_cv_PTHREAD_SPECIAL_FLAGS="-D_POSIX_PTHREAD_SEMANTICS" - ;; - esac - ]) - AS_IF([test "x$ax_cv_PTHREAD_SPECIAL_FLAGS" != "xno" && \ - test "x$ax_pthread_special_flags_added" != "xyes"], - [PTHREAD_CFLAGS="$ax_cv_PTHREAD_SPECIAL_FLAGS $PTHREAD_CFLAGS" - ax_pthread_special_flags_added=yes]) - - AC_CACHE_CHECK([for PTHREAD_PRIO_INHERIT], - [ax_cv_PTHREAD_PRIO_INHERIT], - [AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include ]], - [[int i = PTHREAD_PRIO_INHERIT;]])], - [ax_cv_PTHREAD_PRIO_INHERIT=yes], - [ax_cv_PTHREAD_PRIO_INHERIT=no]) - ]) - AS_IF([test "x$ax_cv_PTHREAD_PRIO_INHERIT" = "xyes" && \ - test "x$ax_pthread_prio_inherit_defined" != "xyes"], - [AC_DEFINE([HAVE_PTHREAD_PRIO_INHERIT], [1], [Have PTHREAD_PRIO_INHERIT.]) - ax_pthread_prio_inherit_defined=yes - ]) - - CFLAGS="$ax_pthread_save_CFLAGS" - LIBS="$ax_pthread_save_LIBS" - - # More AIX lossage: compile with *_r variant - if test "x$GCC" != "xyes"; then - case $host_os in - aix*) - AS_CASE(["x/$CC"], - [x*/c89|x*/c89_128|x*/c99|x*/c99_128|x*/cc|x*/cc128|x*/xlc|x*/xlc_v6|x*/xlc128|x*/xlc128_v6], - [#handle absolute path differently from PATH based program lookup - AS_CASE(["x$CC"], - [x/*], - [AS_IF([AS_EXECUTABLE_P([${CC}_r])],[PTHREAD_CC="${CC}_r"])], - [AC_CHECK_PROGS([PTHREAD_CC],[${CC}_r],[$CC])])]) - ;; - esac - fi -fi - -test -n "$PTHREAD_CC" || PTHREAD_CC="$CC" - -AC_SUBST([PTHREAD_LIBS]) -AC_SUBST([PTHREAD_CFLAGS]) -AC_SUBST([PTHREAD_CC]) - -# Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND: -if test "x$ax_pthread_ok" = "xyes"; then - ifelse([$1],,[AC_DEFINE([HAVE_PTHREAD],[1],[Define if you have POSIX threads libraries and header files.])],[$1]) - : -else - ax_pthread_ok=no - $2 -fi -AC_LANG_POP -])dnl AX_PTHREAD diff --git a/harfbuzz/m4/gtk-doc.m4 b/harfbuzz/m4/gtk-doc.m4 deleted file mode 100644 index 2d12f01..0000000 --- a/harfbuzz/m4/gtk-doc.m4 +++ /dev/null @@ -1,113 +0,0 @@ -# -*- mode: autoconf -*- -# -# gtk-doc.m4 - configure macro to check for gtk-doc -# Copyright (C) 2003 James Henstridge -# 2007-2017 Stefan Sauer -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . -# -# As a special exception, the above copyright owner gives unlimited -# permission to copy, distribute and modify the configure scripts that -# are the output of Autoconf when processing the Macro. You need not -# follow the terms of the GNU General Public License when using or -# distributing such scripts, even though portions of the text of the -# Macro appear in them. The GNU General Public License (GPL) does govern -# all other use of the material that constitutes the Autoconf Macro. - -# serial 2 - -dnl Usage: -dnl GTK_DOC_CHECK([minimum-gtk-doc-version]) -AC_DEFUN([GTK_DOC_CHECK], -[ - AC_REQUIRE([PKG_PROG_PKG_CONFIG]) - AC_BEFORE([AC_PROG_LIBTOOL],[$0])dnl setup libtool first - AC_BEFORE([AM_PROG_LIBTOOL],[$0])dnl setup libtool first - - ifelse([$1],[],[gtk_doc_requires="gtk-doc"],[gtk_doc_requires="gtk-doc >= $1"]) - AC_MSG_CHECKING([for gtk-doc]) - PKG_CHECK_EXISTS([$gtk_doc_requires],[have_gtk_doc=yes],[have_gtk_doc=no]) - AC_MSG_RESULT($have_gtk_doc) - - if test "$have_gtk_doc" = "no"; then - AC_MSG_WARN([ - You will not be able to create source packages with 'make dist' - because $gtk_doc_requires is not found.]) - fi - - dnl check for tools we added during development - dnl Use AC_CHECK_PROG to avoid the check target using an absolute path that - dnl may not be writable by the user. Currently, automake requires that the - dnl test name must end in '.test'. - dnl https://bugzilla.gnome.org/show_bug.cgi?id=701638 - AC_CHECK_PROG([GTKDOC_CHECK],[gtkdoc-check],[gtkdoc-check.test]) - AC_PATH_PROG([GTKDOC_CHECK_PATH],[gtkdoc-check]) - AC_PATH_PROGS([GTKDOC_REBASE],[gtkdoc-rebase],[true]) - AC_PATH_PROG([GTKDOC_MKPDF],[gtkdoc-mkpdf]) - - dnl for overriding the documentation installation directory - AC_ARG_WITH([html-dir], - AS_HELP_STRING([--with-html-dir=PATH], [path to installed docs]),, - [with_html_dir='${datadir}/gtk-doc/html']) - HTML_DIR="$with_html_dir" - AC_SUBST([HTML_DIR]) - - dnl enable/disable documentation building - AC_ARG_ENABLE([gtk-doc], - AS_HELP_STRING([--enable-gtk-doc], - [use gtk-doc to build documentation [[default=no]]]),, - [enable_gtk_doc=no]) - - AC_MSG_CHECKING([whether to build gtk-doc documentation]) - AC_MSG_RESULT($enable_gtk_doc) - - if test "x$enable_gtk_doc" = "xyes" && test "$have_gtk_doc" = "no"; then - AC_MSG_ERROR([ - You must have $gtk_doc_requires installed to build documentation for - $PACKAGE_NAME. Please install gtk-doc or disable building the - documentation by adding '--disable-gtk-doc' to '[$]0'.]) - fi - - dnl don't check for glib if we build glib - if test "x$PACKAGE_NAME" != "xglib"; then - dnl don't fail if someone does not have glib - PKG_CHECK_MODULES(GTKDOC_DEPS, glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0,,[:]) - fi - - dnl enable/disable output formats - AC_ARG_ENABLE([gtk-doc-html], - AS_HELP_STRING([--enable-gtk-doc-html], - [build documentation in html format [[default=yes]]]),, - [enable_gtk_doc_html=yes]) - AC_ARG_ENABLE([gtk-doc-pdf], - AS_HELP_STRING([--enable-gtk-doc-pdf], - [build documentation in pdf format [[default=no]]]),, - [enable_gtk_doc_pdf=no]) - - if test -z "$GTKDOC_MKPDF"; then - enable_gtk_doc_pdf=no - fi - - if test -z "$AM_DEFAULT_VERBOSITY"; then - AM_DEFAULT_VERBOSITY=1 - fi - AC_SUBST([AM_DEFAULT_VERBOSITY]) - - AM_CONDITIONAL([HAVE_GTK_DOC], [test x$have_gtk_doc = xyes]) - AM_CONDITIONAL([ENABLE_GTK_DOC], [test x$enable_gtk_doc = xyes]) - AM_CONDITIONAL([GTK_DOC_BUILD_HTML], [test x$enable_gtk_doc_html = xyes]) - AM_CONDITIONAL([GTK_DOC_BUILD_PDF], [test x$enable_gtk_doc_pdf = xyes]) - AM_CONDITIONAL([GTK_DOC_USE_LIBTOOL], [test -n "$LIBTOOL"]) - AM_CONDITIONAL([GTK_DOC_USE_REBASE], [test -n "$GTKDOC_REBASE"]) -]) diff --git a/harfbuzz/m4/libtool.m4 b/harfbuzz/m4/libtool.m4 deleted file mode 100644 index a6d21ae..0000000 --- a/harfbuzz/m4/libtool.m4 +++ /dev/null @@ -1,8394 +0,0 @@ -# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- -# -# Copyright (C) 1996-2001, 2003-2015 Free Software Foundation, Inc. -# Written by Gordon Matzigkeit, 1996 -# -# This file is free software; the Free Software Foundation gives -# unlimited permission to copy and/or distribute it, with or without -# modifications, as long as this notice is preserved. - -m4_define([_LT_COPYING], [dnl -# Copyright (C) 2014 Free Software Foundation, Inc. -# This is free software; see the source for copying conditions. There is NO -# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - -# GNU Libtool is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of of the License, or -# (at your option) any later version. -# -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program or library that is built -# using GNU Libtool, you may include this file under the same -# distribution terms that you use for the rest of that program. -# -# GNU Libtool is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . -]) - -# serial 58 LT_INIT - - -# LT_PREREQ(VERSION) -# ------------------ -# Complain and exit if this libtool version is less that VERSION. -m4_defun([LT_PREREQ], -[m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1, - [m4_default([$3], - [m4_fatal([Libtool version $1 or higher is required], - 63)])], - [$2])]) - - -# _LT_CHECK_BUILDDIR -# ------------------ -# Complain if the absolute build directory name contains unusual characters -m4_defun([_LT_CHECK_BUILDDIR], -[case `pwd` in - *\ * | *\ *) - AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;; -esac -]) - - -# LT_INIT([OPTIONS]) -# ------------------ -AC_DEFUN([LT_INIT], -[AC_PREREQ([2.62])dnl We use AC_PATH_PROGS_FEATURE_CHECK -AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl -AC_BEFORE([$0], [LT_LANG])dnl -AC_BEFORE([$0], [LT_OUTPUT])dnl -AC_BEFORE([$0], [LTDL_INIT])dnl -m4_require([_LT_CHECK_BUILDDIR])dnl - -dnl Autoconf doesn't catch unexpanded LT_ macros by default: -m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl -m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl -dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4 -dnl unless we require an AC_DEFUNed macro: -AC_REQUIRE([LTOPTIONS_VERSION])dnl -AC_REQUIRE([LTSUGAR_VERSION])dnl -AC_REQUIRE([LTVERSION_VERSION])dnl -AC_REQUIRE([LTOBSOLETE_VERSION])dnl -m4_require([_LT_PROG_LTMAIN])dnl - -_LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}]) - -dnl Parse OPTIONS -_LT_SET_OPTIONS([$0], [$1]) - -# This can be used to rebuild libtool when needed -LIBTOOL_DEPS=$ltmain - -# Always use our own libtool. -LIBTOOL='$(SHELL) $(top_builddir)/libtool' -AC_SUBST(LIBTOOL)dnl - -_LT_SETUP - -# Only expand once: -m4_define([LT_INIT]) -])# LT_INIT - -# Old names: -AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT]) -AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT]) -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AC_PROG_LIBTOOL], []) -dnl AC_DEFUN([AM_PROG_LIBTOOL], []) - - -# _LT_PREPARE_CC_BASENAME -# ----------------------- -m4_defun([_LT_PREPARE_CC_BASENAME], [ -# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. -func_cc_basename () -{ - for cc_temp in @S|@*""; do - case $cc_temp in - compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;; - distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;; - \-*) ;; - *) break;; - esac - done - func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` -} -])# _LT_PREPARE_CC_BASENAME - - -# _LT_CC_BASENAME(CC) -# ------------------- -# It would be clearer to call AC_REQUIREs from _LT_PREPARE_CC_BASENAME, -# but that macro is also expanded into generated libtool script, which -# arranges for $SED and $ECHO to be set by different means. -m4_defun([_LT_CC_BASENAME], -[m4_require([_LT_PREPARE_CC_BASENAME])dnl -AC_REQUIRE([_LT_DECL_SED])dnl -AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl -func_cc_basename $1 -cc_basename=$func_cc_basename_result -]) - - -# _LT_FILEUTILS_DEFAULTS -# ---------------------- -# It is okay to use these file commands and assume they have been set -# sensibly after 'm4_require([_LT_FILEUTILS_DEFAULTS])'. -m4_defun([_LT_FILEUTILS_DEFAULTS], -[: ${CP="cp -f"} -: ${MV="mv -f"} -: ${RM="rm -f"} -])# _LT_FILEUTILS_DEFAULTS - - -# _LT_SETUP -# --------- -m4_defun([_LT_SETUP], -[AC_REQUIRE([AC_CANONICAL_HOST])dnl -AC_REQUIRE([AC_CANONICAL_BUILD])dnl -AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl -AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl - -_LT_DECL([], [PATH_SEPARATOR], [1], [The PATH separator for the build system])dnl -dnl -_LT_DECL([], [host_alias], [0], [The host system])dnl -_LT_DECL([], [host], [0])dnl -_LT_DECL([], [host_os], [0])dnl -dnl -_LT_DECL([], [build_alias], [0], [The build system])dnl -_LT_DECL([], [build], [0])dnl -_LT_DECL([], [build_os], [0])dnl -dnl -AC_REQUIRE([AC_PROG_CC])dnl -AC_REQUIRE([LT_PATH_LD])dnl -AC_REQUIRE([LT_PATH_NM])dnl -dnl -AC_REQUIRE([AC_PROG_LN_S])dnl -test -z "$LN_S" && LN_S="ln -s" -_LT_DECL([], [LN_S], [1], [Whether we need soft or hard links])dnl -dnl -AC_REQUIRE([LT_CMD_MAX_LEN])dnl -_LT_DECL([objext], [ac_objext], [0], [Object file suffix (normally "o")])dnl -_LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl -dnl -m4_require([_LT_FILEUTILS_DEFAULTS])dnl -m4_require([_LT_CHECK_SHELL_FEATURES])dnl -m4_require([_LT_PATH_CONVERSION_FUNCTIONS])dnl -m4_require([_LT_CMD_RELOAD])dnl -m4_require([_LT_CHECK_MAGIC_METHOD])dnl -m4_require([_LT_CHECK_SHAREDLIB_FROM_LINKLIB])dnl -m4_require([_LT_CMD_OLD_ARCHIVE])dnl -m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl -m4_require([_LT_WITH_SYSROOT])dnl -m4_require([_LT_CMD_TRUNCATE])dnl - -_LT_CONFIG_LIBTOOL_INIT([ -# See if we are running on zsh, and set the options that allow our -# commands through without removal of \ escapes INIT. -if test -n "\${ZSH_VERSION+set}"; then - setopt NO_GLOB_SUBST -fi -]) -if test -n "${ZSH_VERSION+set}"; then - setopt NO_GLOB_SUBST -fi - -_LT_CHECK_OBJDIR - -m4_require([_LT_TAG_COMPILER])dnl - -case $host_os in -aix3*) - # AIX sometimes has problems with the GCC collect2 program. For some - # reason, if we set the COLLECT_NAMES environment variable, the problems - # vanish in a puff of smoke. - if test set != "${COLLECT_NAMES+set}"; then - COLLECT_NAMES= - export COLLECT_NAMES - fi - ;; -esac - -# Global variables: -ofile=libtool -can_build_shared=yes - -# All known linkers require a '.a' archive for static linking (except MSVC, -# which needs '.lib'). -libext=a - -with_gnu_ld=$lt_cv_prog_gnu_ld - -old_CC=$CC -old_CFLAGS=$CFLAGS - -# Set sane defaults for various variables -test -z "$CC" && CC=cc -test -z "$LTCC" && LTCC=$CC -test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS -test -z "$LD" && LD=ld -test -z "$ac_objext" && ac_objext=o - -_LT_CC_BASENAME([$compiler]) - -# Only perform the check for file, if the check method requires it -test -z "$MAGIC_CMD" && MAGIC_CMD=file -case $deplibs_check_method in -file_magic*) - if test "$file_magic_cmd" = '$MAGIC_CMD'; then - _LT_PATH_MAGIC - fi - ;; -esac - -# Use C for the default configuration in the libtool script -LT_SUPPORTED_TAG([CC]) -_LT_LANG_C_CONFIG -_LT_LANG_DEFAULT_CONFIG -_LT_CONFIG_COMMANDS -])# _LT_SETUP - - -# _LT_PREPARE_SED_QUOTE_VARS -# -------------------------- -# Define a few sed substitution that help us do robust quoting. -m4_defun([_LT_PREPARE_SED_QUOTE_VARS], -[# Backslashify metacharacters that are still active within -# double-quoted strings. -sed_quote_subst='s/\([["`$\\]]\)/\\\1/g' - -# Same as above, but do not quote variable references. -double_quote_subst='s/\([["`\\]]\)/\\\1/g' - -# Sed substitution to delay expansion of an escaped shell variable in a -# double_quote_subst'ed string. -delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' - -# Sed substitution to delay expansion of an escaped single quote. -delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' - -# Sed substitution to avoid accidental globbing in evaled expressions -no_glob_subst='s/\*/\\\*/g' -]) - -# _LT_PROG_LTMAIN -# --------------- -# Note that this code is called both from 'configure', and 'config.status' -# now that we use AC_CONFIG_COMMANDS to generate libtool. Notably, -# 'config.status' has no value for ac_aux_dir unless we are using Automake, -# so we pass a copy along to make sure it has a sensible value anyway. -m4_defun([_LT_PROG_LTMAIN], -[m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl -_LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir']) -ltmain=$ac_aux_dir/ltmain.sh -])# _LT_PROG_LTMAIN - - -## ------------------------------------- ## -## Accumulate code for creating libtool. ## -## ------------------------------------- ## - -# So that we can recreate a full libtool script including additional -# tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS -# in macros and then make a single call at the end using the 'libtool' -# label. - - -# _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS]) -# ---------------------------------------- -# Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later. -m4_define([_LT_CONFIG_LIBTOOL_INIT], -[m4_ifval([$1], - [m4_append([_LT_OUTPUT_LIBTOOL_INIT], - [$1 -])])]) - -# Initialize. -m4_define([_LT_OUTPUT_LIBTOOL_INIT]) - - -# _LT_CONFIG_LIBTOOL([COMMANDS]) -# ------------------------------ -# Register COMMANDS to be passed to AC_CONFIG_COMMANDS later. -m4_define([_LT_CONFIG_LIBTOOL], -[m4_ifval([$1], - [m4_append([_LT_OUTPUT_LIBTOOL_COMMANDS], - [$1 -])])]) - -# Initialize. -m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS]) - - -# _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS]) -# ----------------------------------------------------- -m4_defun([_LT_CONFIG_SAVE_COMMANDS], -[_LT_CONFIG_LIBTOOL([$1]) -_LT_CONFIG_LIBTOOL_INIT([$2]) -]) - - -# _LT_FORMAT_COMMENT([COMMENT]) -# ----------------------------- -# Add leading comment marks to the start of each line, and a trailing -# full-stop to the whole comment if one is not present already. -m4_define([_LT_FORMAT_COMMENT], -[m4_ifval([$1], [ -m4_bpatsubst([m4_bpatsubst([$1], [^ *], [# ])], - [['`$\]], [\\\&])]m4_bmatch([$1], [[!?.]$], [], [.]) -)]) - - - -## ------------------------ ## -## FIXME: Eliminate VARNAME ## -## ------------------------ ## - - -# _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?]) -# ------------------------------------------------------------------- -# CONFIGNAME is the name given to the value in the libtool script. -# VARNAME is the (base) name used in the configure script. -# VALUE may be 0, 1 or 2 for a computed quote escaped value based on -# VARNAME. Any other value will be used directly. -m4_define([_LT_DECL], -[lt_if_append_uniq([lt_decl_varnames], [$2], [, ], - [lt_dict_add_subkey([lt_decl_dict], [$2], [libtool_name], - [m4_ifval([$1], [$1], [$2])]) - lt_dict_add_subkey([lt_decl_dict], [$2], [value], [$3]) - m4_ifval([$4], - [lt_dict_add_subkey([lt_decl_dict], [$2], [description], [$4])]) - lt_dict_add_subkey([lt_decl_dict], [$2], - [tagged?], [m4_ifval([$5], [yes], [no])])]) -]) - - -# _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION]) -# -------------------------------------------------------- -m4_define([_LT_TAGDECL], [_LT_DECL([$1], [$2], [$3], [$4], [yes])]) - - -# lt_decl_tag_varnames([SEPARATOR], [VARNAME1...]) -# ------------------------------------------------ -m4_define([lt_decl_tag_varnames], -[_lt_decl_filter([tagged?], [yes], $@)]) - - -# _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..]) -# --------------------------------------------------------- -m4_define([_lt_decl_filter], -[m4_case([$#], - [0], [m4_fatal([$0: too few arguments: $#])], - [1], [m4_fatal([$0: too few arguments: $#: $1])], - [2], [lt_dict_filter([lt_decl_dict], [$1], [$2], [], lt_decl_varnames)], - [3], [lt_dict_filter([lt_decl_dict], [$1], [$2], [$3], lt_decl_varnames)], - [lt_dict_filter([lt_decl_dict], $@)])[]dnl -]) - - -# lt_decl_quote_varnames([SEPARATOR], [VARNAME1...]) -# -------------------------------------------------- -m4_define([lt_decl_quote_varnames], -[_lt_decl_filter([value], [1], $@)]) - - -# lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...]) -# --------------------------------------------------- -m4_define([lt_decl_dquote_varnames], -[_lt_decl_filter([value], [2], $@)]) - - -# lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...]) -# --------------------------------------------------- -m4_define([lt_decl_varnames_tagged], -[m4_assert([$# <= 2])dnl -_$0(m4_quote(m4_default([$1], [[, ]])), - m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]), - m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))]) -m4_define([_lt_decl_varnames_tagged], -[m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])]) - - -# lt_decl_all_varnames([SEPARATOR], [VARNAME1...]) -# ------------------------------------------------ -m4_define([lt_decl_all_varnames], -[_$0(m4_quote(m4_default([$1], [[, ]])), - m4_if([$2], [], - m4_quote(lt_decl_varnames), - m4_quote(m4_shift($@))))[]dnl -]) -m4_define([_lt_decl_all_varnames], -[lt_join($@, lt_decl_varnames_tagged([$1], - lt_decl_tag_varnames([[, ]], m4_shift($@))))dnl -]) - - -# _LT_CONFIG_STATUS_DECLARE([VARNAME]) -# ------------------------------------ -# Quote a variable value, and forward it to 'config.status' so that its -# declaration there will have the same value as in 'configure'. VARNAME -# must have a single quote delimited value for this to work. -m4_define([_LT_CONFIG_STATUS_DECLARE], -[$1='`$ECHO "$][$1" | $SED "$delay_single_quote_subst"`']) - - -# _LT_CONFIG_STATUS_DECLARATIONS -# ------------------------------ -# We delimit libtool config variables with single quotes, so when -# we write them to config.status, we have to be sure to quote all -# embedded single quotes properly. In configure, this macro expands -# each variable declared with _LT_DECL (and _LT_TAGDECL) into: -# -# ='`$ECHO "$" | $SED "$delay_single_quote_subst"`' -m4_defun([_LT_CONFIG_STATUS_DECLARATIONS], -[m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames), - [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])]) - - -# _LT_LIBTOOL_TAGS -# ---------------- -# Output comment and list of tags supported by the script -m4_defun([_LT_LIBTOOL_TAGS], -[_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl -available_tags='_LT_TAGS'dnl -]) - - -# _LT_LIBTOOL_DECLARE(VARNAME, [TAG]) -# ----------------------------------- -# Extract the dictionary values for VARNAME (optionally with TAG) and -# expand to a commented shell variable setting: -# -# # Some comment about what VAR is for. -# visible_name=$lt_internal_name -m4_define([_LT_LIBTOOL_DECLARE], -[_LT_FORMAT_COMMENT(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], - [description])))[]dnl -m4_pushdef([_libtool_name], - m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [libtool_name])))[]dnl -m4_case(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [value])), - [0], [_libtool_name=[$]$1], - [1], [_libtool_name=$lt_[]$1], - [2], [_libtool_name=$lt_[]$1], - [_libtool_name=lt_dict_fetch([lt_decl_dict], [$1], [value])])[]dnl -m4_ifval([$2], [_$2])[]m4_popdef([_libtool_name])[]dnl -]) - - -# _LT_LIBTOOL_CONFIG_VARS -# ----------------------- -# Produce commented declarations of non-tagged libtool config variables -# suitable for insertion in the LIBTOOL CONFIG section of the 'libtool' -# script. Tagged libtool config variables (even for the LIBTOOL CONFIG -# section) are produced by _LT_LIBTOOL_TAG_VARS. -m4_defun([_LT_LIBTOOL_CONFIG_VARS], -[m4_foreach([_lt_var], - m4_quote(_lt_decl_filter([tagged?], [no], [], lt_decl_varnames)), - [m4_n([_LT_LIBTOOL_DECLARE(_lt_var)])])]) - - -# _LT_LIBTOOL_TAG_VARS(TAG) -# ------------------------- -m4_define([_LT_LIBTOOL_TAG_VARS], -[m4_foreach([_lt_var], m4_quote(lt_decl_tag_varnames), - [m4_n([_LT_LIBTOOL_DECLARE(_lt_var, [$1])])])]) - - -# _LT_TAGVAR(VARNAME, [TAGNAME]) -# ------------------------------ -m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])]) - - -# _LT_CONFIG_COMMANDS -# ------------------- -# Send accumulated output to $CONFIG_STATUS. Thanks to the lists of -# variables for single and double quote escaping we saved from calls -# to _LT_DECL, we can put quote escaped variables declarations -# into 'config.status', and then the shell code to quote escape them in -# for loops in 'config.status'. Finally, any additional code accumulated -# from calls to _LT_CONFIG_LIBTOOL_INIT is expanded. -m4_defun([_LT_CONFIG_COMMANDS], -[AC_PROVIDE_IFELSE([LT_OUTPUT], - dnl If the libtool generation code has been placed in $CONFIG_LT, - dnl instead of duplicating it all over again into config.status, - dnl then we will have config.status run $CONFIG_LT later, so it - dnl needs to know what name is stored there: - [AC_CONFIG_COMMANDS([libtool], - [$SHELL $CONFIG_LT || AS_EXIT(1)], [CONFIG_LT='$CONFIG_LT'])], - dnl If the libtool generation code is destined for config.status, - dnl expand the accumulated commands and init code now: - [AC_CONFIG_COMMANDS([libtool], - [_LT_OUTPUT_LIBTOOL_COMMANDS], [_LT_OUTPUT_LIBTOOL_COMMANDS_INIT])]) -])#_LT_CONFIG_COMMANDS - - -# Initialize. -m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS_INIT], -[ - -# The HP-UX ksh and POSIX shell print the target directory to stdout -# if CDPATH is set. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH - -sed_quote_subst='$sed_quote_subst' -double_quote_subst='$double_quote_subst' -delay_variable_subst='$delay_variable_subst' -_LT_CONFIG_STATUS_DECLARATIONS -LTCC='$LTCC' -LTCFLAGS='$LTCFLAGS' -compiler='$compiler_DEFAULT' - -# A function that is used when there is no print builtin or printf. -func_fallback_echo () -{ - eval 'cat <<_LTECHO_EOF -\$[]1 -_LTECHO_EOF' -} - -# Quote evaled strings. -for var in lt_decl_all_varnames([[ \ -]], lt_decl_quote_varnames); do - case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in - *[[\\\\\\\`\\"\\\$]]*) - eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes - ;; - *) - eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" - ;; - esac -done - -# Double-quote double-evaled strings. -for var in lt_decl_all_varnames([[ \ -]], lt_decl_dquote_varnames); do - case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in - *[[\\\\\\\`\\"\\\$]]*) - eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes - ;; - *) - eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" - ;; - esac -done - -_LT_OUTPUT_LIBTOOL_INIT -]) - -# _LT_GENERATED_FILE_INIT(FILE, [COMMENT]) -# ------------------------------------ -# Generate a child script FILE with all initialization necessary to -# reuse the environment learned by the parent script, and make the -# file executable. If COMMENT is supplied, it is inserted after the -# '#!' sequence but before initialization text begins. After this -# macro, additional text can be appended to FILE to form the body of -# the child script. The macro ends with non-zero status if the -# file could not be fully written (such as if the disk is full). -m4_ifdef([AS_INIT_GENERATED], -[m4_defun([_LT_GENERATED_FILE_INIT],[AS_INIT_GENERATED($@)])], -[m4_defun([_LT_GENERATED_FILE_INIT], -[m4_require([AS_PREPARE])]dnl -[m4_pushdef([AS_MESSAGE_LOG_FD])]dnl -[lt_write_fail=0 -cat >$1 <<_ASEOF || lt_write_fail=1 -#! $SHELL -# Generated by $as_me. -$2 -SHELL=\${CONFIG_SHELL-$SHELL} -export SHELL -_ASEOF -cat >>$1 <<\_ASEOF || lt_write_fail=1 -AS_SHELL_SANITIZE -_AS_PREPARE -exec AS_MESSAGE_FD>&1 -_ASEOF -test 0 = "$lt_write_fail" && chmod +x $1[]dnl -m4_popdef([AS_MESSAGE_LOG_FD])])])# _LT_GENERATED_FILE_INIT - -# LT_OUTPUT -# --------- -# This macro allows early generation of the libtool script (before -# AC_OUTPUT is called), incase it is used in configure for compilation -# tests. -AC_DEFUN([LT_OUTPUT], -[: ${CONFIG_LT=./config.lt} -AC_MSG_NOTICE([creating $CONFIG_LT]) -_LT_GENERATED_FILE_INIT(["$CONFIG_LT"], -[# Run this file to recreate a libtool stub with the current configuration.]) - -cat >>"$CONFIG_LT" <<\_LTEOF -lt_cl_silent=false -exec AS_MESSAGE_LOG_FD>>config.log -{ - echo - AS_BOX([Running $as_me.]) -} >&AS_MESSAGE_LOG_FD - -lt_cl_help="\ -'$as_me' creates a local libtool stub from the current configuration, -for use in further configure time tests before the real libtool is -generated. - -Usage: $[0] [[OPTIONS]] - - -h, --help print this help, then exit - -V, --version print version number, then exit - -q, --quiet do not print progress messages - -d, --debug don't remove temporary files - -Report bugs to ." - -lt_cl_version="\ -m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl -m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION]) -configured by $[0], generated by m4_PACKAGE_STRING. - -Copyright (C) 2011 Free Software Foundation, Inc. -This config.lt script is free software; the Free Software Foundation -gives unlimited permision to copy, distribute and modify it." - -while test 0 != $[#] -do - case $[1] in - --version | --v* | -V ) - echo "$lt_cl_version"; exit 0 ;; - --help | --h* | -h ) - echo "$lt_cl_help"; exit 0 ;; - --debug | --d* | -d ) - debug=: ;; - --quiet | --q* | --silent | --s* | -q ) - lt_cl_silent=: ;; - - -*) AC_MSG_ERROR([unrecognized option: $[1] -Try '$[0] --help' for more information.]) ;; - - *) AC_MSG_ERROR([unrecognized argument: $[1] -Try '$[0] --help' for more information.]) ;; - esac - shift -done - -if $lt_cl_silent; then - exec AS_MESSAGE_FD>/dev/null -fi -_LTEOF - -cat >>"$CONFIG_LT" <<_LTEOF -_LT_OUTPUT_LIBTOOL_COMMANDS_INIT -_LTEOF - -cat >>"$CONFIG_LT" <<\_LTEOF -AC_MSG_NOTICE([creating $ofile]) -_LT_OUTPUT_LIBTOOL_COMMANDS -AS_EXIT(0) -_LTEOF -chmod +x "$CONFIG_LT" - -# configure is writing to config.log, but config.lt does its own redirection, -# appending to config.log, which fails on DOS, as config.log is still kept -# open by configure. Here we exec the FD to /dev/null, effectively closing -# config.log, so it can be properly (re)opened and appended to by config.lt. -lt_cl_success=: -test yes = "$silent" && - lt_config_lt_args="$lt_config_lt_args --quiet" -exec AS_MESSAGE_LOG_FD>/dev/null -$SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false -exec AS_MESSAGE_LOG_FD>>config.log -$lt_cl_success || AS_EXIT(1) -])# LT_OUTPUT - - -# _LT_CONFIG(TAG) -# --------------- -# If TAG is the built-in tag, create an initial libtool script with a -# default configuration from the untagged config vars. Otherwise add code -# to config.status for appending the configuration named by TAG from the -# matching tagged config vars. -m4_defun([_LT_CONFIG], -[m4_require([_LT_FILEUTILS_DEFAULTS])dnl -_LT_CONFIG_SAVE_COMMANDS([ - m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl - m4_if(_LT_TAG, [C], [ - # See if we are running on zsh, and set the options that allow our - # commands through without removal of \ escapes. - if test -n "${ZSH_VERSION+set}"; then - setopt NO_GLOB_SUBST - fi - - cfgfile=${ofile}T - trap "$RM \"$cfgfile\"; exit 1" 1 2 15 - $RM "$cfgfile" - - cat <<_LT_EOF >> "$cfgfile" -#! $SHELL -# Generated automatically by $as_me ($PACKAGE) $VERSION -# NOTE: Changes made to this file will be lost: look at ltmain.sh. - -# Provide generalized library-building support services. -# Written by Gordon Matzigkeit, 1996 - -_LT_COPYING -_LT_LIBTOOL_TAGS - -# Configured defaults for sys_lib_dlsearch_path munging. -: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} - -# ### BEGIN LIBTOOL CONFIG -_LT_LIBTOOL_CONFIG_VARS -_LT_LIBTOOL_TAG_VARS -# ### END LIBTOOL CONFIG - -_LT_EOF - - cat <<'_LT_EOF' >> "$cfgfile" - -# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE - -_LT_PREPARE_MUNGE_PATH_LIST -_LT_PREPARE_CC_BASENAME - -# ### END FUNCTIONS SHARED WITH CONFIGURE - -_LT_EOF - - case $host_os in - aix3*) - cat <<\_LT_EOF >> "$cfgfile" -# AIX sometimes has problems with the GCC collect2 program. For some -# reason, if we set the COLLECT_NAMES environment variable, the problems -# vanish in a puff of smoke. -if test set != "${COLLECT_NAMES+set}"; then - COLLECT_NAMES= - export COLLECT_NAMES -fi -_LT_EOF - ;; - esac - - _LT_PROG_LTMAIN - - # We use sed instead of cat because bash on DJGPP gets confused if - # if finds mixed CR/LF and LF-only lines. Since sed operates in - # text mode, it properly converts lines to CR/LF. This bash problem - # is reportedly fixed, but why not run on old versions too? - sed '$q' "$ltmain" >> "$cfgfile" \ - || (rm -f "$cfgfile"; exit 1) - - mv -f "$cfgfile" "$ofile" || - (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") - chmod +x "$ofile" -], -[cat <<_LT_EOF >> "$ofile" - -dnl Unfortunately we have to use $1 here, since _LT_TAG is not expanded -dnl in a comment (ie after a #). -# ### BEGIN LIBTOOL TAG CONFIG: $1 -_LT_LIBTOOL_TAG_VARS(_LT_TAG) -# ### END LIBTOOL TAG CONFIG: $1 -_LT_EOF -])dnl /m4_if -], -[m4_if([$1], [], [ - PACKAGE='$PACKAGE' - VERSION='$VERSION' - RM='$RM' - ofile='$ofile'], []) -])dnl /_LT_CONFIG_SAVE_COMMANDS -])# _LT_CONFIG - - -# LT_SUPPORTED_TAG(TAG) -# --------------------- -# Trace this macro to discover what tags are supported by the libtool -# --tag option, using: -# autoconf --trace 'LT_SUPPORTED_TAG:$1' -AC_DEFUN([LT_SUPPORTED_TAG], []) - - -# C support is built-in for now -m4_define([_LT_LANG_C_enabled], []) -m4_define([_LT_TAGS], []) - - -# LT_LANG(LANG) -# ------------- -# Enable libtool support for the given language if not already enabled. -AC_DEFUN([LT_LANG], -[AC_BEFORE([$0], [LT_OUTPUT])dnl -m4_case([$1], - [C], [_LT_LANG(C)], - [C++], [_LT_LANG(CXX)], - [Go], [_LT_LANG(GO)], - [Java], [_LT_LANG(GCJ)], - [Fortran 77], [_LT_LANG(F77)], - [Fortran], [_LT_LANG(FC)], - [Windows Resource], [_LT_LANG(RC)], - [m4_ifdef([_LT_LANG_]$1[_CONFIG], - [_LT_LANG($1)], - [m4_fatal([$0: unsupported language: "$1"])])])dnl -])# LT_LANG - - -# _LT_LANG(LANGNAME) -# ------------------ -m4_defun([_LT_LANG], -[m4_ifdef([_LT_LANG_]$1[_enabled], [], - [LT_SUPPORTED_TAG([$1])dnl - m4_append([_LT_TAGS], [$1 ])dnl - m4_define([_LT_LANG_]$1[_enabled], [])dnl - _LT_LANG_$1_CONFIG($1)])dnl -])# _LT_LANG - - -m4_ifndef([AC_PROG_GO], [ -############################################################ -# NOTE: This macro has been submitted for inclusion into # -# GNU Autoconf as AC_PROG_GO. When it is available in # -# a released version of Autoconf we should remove this # -# macro and use it instead. # -############################################################ -m4_defun([AC_PROG_GO], -[AC_LANG_PUSH(Go)dnl -AC_ARG_VAR([GOC], [Go compiler command])dnl -AC_ARG_VAR([GOFLAGS], [Go compiler flags])dnl -_AC_ARG_VAR_LDFLAGS()dnl -AC_CHECK_TOOL(GOC, gccgo) -if test -z "$GOC"; then - if test -n "$ac_tool_prefix"; then - AC_CHECK_PROG(GOC, [${ac_tool_prefix}gccgo], [${ac_tool_prefix}gccgo]) - fi -fi -if test -z "$GOC"; then - AC_CHECK_PROG(GOC, gccgo, gccgo, false) -fi -])#m4_defun -])#m4_ifndef - - -# _LT_LANG_DEFAULT_CONFIG -# ----------------------- -m4_defun([_LT_LANG_DEFAULT_CONFIG], -[AC_PROVIDE_IFELSE([AC_PROG_CXX], - [LT_LANG(CXX)], - [m4_define([AC_PROG_CXX], defn([AC_PROG_CXX])[LT_LANG(CXX)])]) - -AC_PROVIDE_IFELSE([AC_PROG_F77], - [LT_LANG(F77)], - [m4_define([AC_PROG_F77], defn([AC_PROG_F77])[LT_LANG(F77)])]) - -AC_PROVIDE_IFELSE([AC_PROG_FC], - [LT_LANG(FC)], - [m4_define([AC_PROG_FC], defn([AC_PROG_FC])[LT_LANG(FC)])]) - -dnl The call to [A][M_PROG_GCJ] is quoted like that to stop aclocal -dnl pulling things in needlessly. -AC_PROVIDE_IFELSE([AC_PROG_GCJ], - [LT_LANG(GCJ)], - [AC_PROVIDE_IFELSE([A][M_PROG_GCJ], - [LT_LANG(GCJ)], - [AC_PROVIDE_IFELSE([LT_PROG_GCJ], - [LT_LANG(GCJ)], - [m4_ifdef([AC_PROG_GCJ], - [m4_define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[LT_LANG(GCJ)])]) - m4_ifdef([A][M_PROG_GCJ], - [m4_define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[LT_LANG(GCJ)])]) - m4_ifdef([LT_PROG_GCJ], - [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])]) - -AC_PROVIDE_IFELSE([AC_PROG_GO], - [LT_LANG(GO)], - [m4_define([AC_PROG_GO], defn([AC_PROG_GO])[LT_LANG(GO)])]) - -AC_PROVIDE_IFELSE([LT_PROG_RC], - [LT_LANG(RC)], - [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])]) -])# _LT_LANG_DEFAULT_CONFIG - -# Obsolete macros: -AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)]) -AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)]) -AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)]) -AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)]) -AU_DEFUN([AC_LIBTOOL_RC], [LT_LANG(Windows Resource)]) -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AC_LIBTOOL_CXX], []) -dnl AC_DEFUN([AC_LIBTOOL_F77], []) -dnl AC_DEFUN([AC_LIBTOOL_FC], []) -dnl AC_DEFUN([AC_LIBTOOL_GCJ], []) -dnl AC_DEFUN([AC_LIBTOOL_RC], []) - - -# _LT_TAG_COMPILER -# ---------------- -m4_defun([_LT_TAG_COMPILER], -[AC_REQUIRE([AC_PROG_CC])dnl - -_LT_DECL([LTCC], [CC], [1], [A C compiler])dnl -_LT_DECL([LTCFLAGS], [CFLAGS], [1], [LTCC compiler flags])dnl -_LT_TAGDECL([CC], [compiler], [1], [A language specific compiler])dnl -_LT_TAGDECL([with_gcc], [GCC], [0], [Is the compiler the GNU compiler?])dnl - -# If no C compiler was specified, use CC. -LTCC=${LTCC-"$CC"} - -# If no C compiler flags were specified, use CFLAGS. -LTCFLAGS=${LTCFLAGS-"$CFLAGS"} - -# Allow CC to be a program name with arguments. -compiler=$CC -])# _LT_TAG_COMPILER - - -# _LT_COMPILER_BOILERPLATE -# ------------------------ -# Check for compiler boilerplate output or warnings with -# the simple compiler test code. -m4_defun([_LT_COMPILER_BOILERPLATE], -[m4_require([_LT_DECL_SED])dnl -ac_outfile=conftest.$ac_objext -echo "$lt_simple_compile_test_code" >conftest.$ac_ext -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err -_lt_compiler_boilerplate=`cat conftest.err` -$RM conftest* -])# _LT_COMPILER_BOILERPLATE - - -# _LT_LINKER_BOILERPLATE -# ---------------------- -# Check for linker boilerplate output or warnings with -# the simple link test code. -m4_defun([_LT_LINKER_BOILERPLATE], -[m4_require([_LT_DECL_SED])dnl -ac_outfile=conftest.$ac_objext -echo "$lt_simple_link_test_code" >conftest.$ac_ext -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err -_lt_linker_boilerplate=`cat conftest.err` -$RM -r conftest* -])# _LT_LINKER_BOILERPLATE - -# _LT_REQUIRED_DARWIN_CHECKS -# ------------------------- -m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[ - case $host_os in - rhapsody* | darwin*) - AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:]) - AC_CHECK_TOOL([NMEDIT], [nmedit], [:]) - AC_CHECK_TOOL([LIPO], [lipo], [:]) - AC_CHECK_TOOL([OTOOL], [otool], [:]) - AC_CHECK_TOOL([OTOOL64], [otool64], [:]) - _LT_DECL([], [DSYMUTIL], [1], - [Tool to manipulate archived DWARF debug symbol files on Mac OS X]) - _LT_DECL([], [NMEDIT], [1], - [Tool to change global to local symbols on Mac OS X]) - _LT_DECL([], [LIPO], [1], - [Tool to manipulate fat objects and archives on Mac OS X]) - _LT_DECL([], [OTOOL], [1], - [ldd/readelf like tool for Mach-O binaries on Mac OS X]) - _LT_DECL([], [OTOOL64], [1], - [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4]) - - AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod], - [lt_cv_apple_cc_single_mod=no - if test -z "$LT_MULTI_MODULE"; then - # By default we will add the -single_module flag. You can override - # by either setting the environment variable LT_MULTI_MODULE - # non-empty at configure time, or by adding -multi_module to the - # link flags. - rm -rf libconftest.dylib* - echo "int foo(void){return 1;}" > conftest.c - echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ --dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD - $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ - -dynamiclib -Wl,-single_module conftest.c 2>conftest.err - _lt_result=$? - # If there is a non-empty error log, and "single_module" - # appears in it, assume the flag caused a linker warning - if test -s conftest.err && $GREP single_module conftest.err; then - cat conftest.err >&AS_MESSAGE_LOG_FD - # Otherwise, if the output was created with a 0 exit code from - # the compiler, it worked. - elif test -f libconftest.dylib && test 0 = "$_lt_result"; then - lt_cv_apple_cc_single_mod=yes - else - cat conftest.err >&AS_MESSAGE_LOG_FD - fi - rm -rf libconftest.dylib* - rm -f conftest.* - fi]) - - AC_CACHE_CHECK([for -exported_symbols_list linker flag], - [lt_cv_ld_exported_symbols_list], - [lt_cv_ld_exported_symbols_list=no - save_LDFLAGS=$LDFLAGS - echo "_main" > conftest.sym - LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" - AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], - [lt_cv_ld_exported_symbols_list=yes], - [lt_cv_ld_exported_symbols_list=no]) - LDFLAGS=$save_LDFLAGS - ]) - - AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load], - [lt_cv_ld_force_load=no - cat > conftest.c << _LT_EOF -int forced_loaded() { return 2;} -_LT_EOF - echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD - $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD - echo "$AR cr libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD - $AR cr libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD - echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD - $RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD - cat > conftest.c << _LT_EOF -int main() { return 0;} -_LT_EOF - echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAGE_LOG_FD - $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err - _lt_result=$? - if test -s conftest.err && $GREP force_load conftest.err; then - cat conftest.err >&AS_MESSAGE_LOG_FD - elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then - lt_cv_ld_force_load=yes - else - cat conftest.err >&AS_MESSAGE_LOG_FD - fi - rm -f conftest.err libconftest.a conftest conftest.c - rm -rf conftest.dSYM - ]) - case $host_os in - rhapsody* | darwin1.[[012]]) - _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; - darwin1.*) - _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; - darwin*) # darwin 5.x on - # if running on 10.5 or later, the deployment target defaults - # to the OS version, if on x86, and 10.4, the deployment - # target defaults to 10.4. Don't you love it? - case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in - 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*) - _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; - 10.[[012]][[,.]]*) - _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; - 10.*) - _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; - esac - ;; - esac - if test yes = "$lt_cv_apple_cc_single_mod"; then - _lt_dar_single_mod='$single_module' - fi - if test yes = "$lt_cv_ld_exported_symbols_list"; then - _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' - else - _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' - fi - if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then - _lt_dsymutil='~$DSYMUTIL $lib || :' - else - _lt_dsymutil= - fi - ;; - esac -]) - - -# _LT_DARWIN_LINKER_FEATURES([TAG]) -# --------------------------------- -# Checks for linker and compiler features on darwin -m4_defun([_LT_DARWIN_LINKER_FEATURES], -[ - m4_require([_LT_REQUIRED_DARWIN_CHECKS]) - _LT_TAGVAR(archive_cmds_need_lc, $1)=no - _LT_TAGVAR(hardcode_direct, $1)=no - _LT_TAGVAR(hardcode_automatic, $1)=yes - _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported - if test yes = "$lt_cv_ld_force_load"; then - _LT_TAGVAR(whole_archive_flag_spec, $1)='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' - m4_case([$1], [F77], [_LT_TAGVAR(compiler_needs_object, $1)=yes], - [FC], [_LT_TAGVAR(compiler_needs_object, $1)=yes]) - else - _LT_TAGVAR(whole_archive_flag_spec, $1)='' - fi - _LT_TAGVAR(link_all_deplibs, $1)=yes - _LT_TAGVAR(allow_undefined_flag, $1)=$_lt_dar_allow_undefined - case $cc_basename in - ifort*|nagfor*) _lt_dar_can_shared=yes ;; - *) _lt_dar_can_shared=$GCC ;; - esac - if test yes = "$_lt_dar_can_shared"; then - output_verbose_link_cmd=func_echo_all - _LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" - _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" - _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil" - _LT_TAGVAR(module_expsym_cmds, $1)="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil" - m4_if([$1], [CXX], -[ if test yes != "$lt_cv_apple_cc_single_mod"; then - _LT_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dsymutil" - _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil" - fi -],[]) - else - _LT_TAGVAR(ld_shlibs, $1)=no - fi -]) - -# _LT_SYS_MODULE_PATH_AIX([TAGNAME]) -# ---------------------------------- -# Links a minimal program and checks the executable -# for the system default hardcoded library path. In most cases, -# this is /usr/lib:/lib, but when the MPI compilers are used -# the location of the communication and MPI libs are included too. -# If we don't find anything, use the default library path according -# to the aix ld manual. -# Store the results from the different compilers for each TAGNAME. -# Allow to override them for all tags through lt_cv_aix_libpath. -m4_defun([_LT_SYS_MODULE_PATH_AIX], -[m4_require([_LT_DECL_SED])dnl -if test set = "${lt_cv_aix_libpath+set}"; then - aix_libpath=$lt_cv_aix_libpath -else - AC_CACHE_VAL([_LT_TAGVAR([lt_cv_aix_libpath_], [$1])], - [AC_LINK_IFELSE([AC_LANG_PROGRAM],[ - lt_aix_libpath_sed='[ - /Import File Strings/,/^$/ { - /^0/ { - s/^0 *\([^ ]*\) *$/\1/ - p - } - }]' - _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` - # Check for a 64-bit object if we didn't find anything. - if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then - _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` - fi],[]) - if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then - _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=/usr/lib:/lib - fi - ]) - aix_libpath=$_LT_TAGVAR([lt_cv_aix_libpath_], [$1]) -fi -])# _LT_SYS_MODULE_PATH_AIX - - -# _LT_SHELL_INIT(ARG) -# ------------------- -m4_define([_LT_SHELL_INIT], -[m4_divert_text([M4SH-INIT], [$1 -])])# _LT_SHELL_INIT - - - -# _LT_PROG_ECHO_BACKSLASH -# ----------------------- -# Find how we can fake an echo command that does not interpret backslash. -# In particular, with Autoconf 2.60 or later we add some code to the start -# of the generated configure script that will find a shell with a builtin -# printf (that we can use as an echo command). -m4_defun([_LT_PROG_ECHO_BACKSLASH], -[ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' -ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO -ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO - -AC_MSG_CHECKING([how to print strings]) -# Test print first, because it will be a builtin if present. -if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ - test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then - ECHO='print -r --' -elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then - ECHO='printf %s\n' -else - # Use this function as a fallback that always works. - func_fallback_echo () - { - eval 'cat <<_LTECHO_EOF -$[]1 -_LTECHO_EOF' - } - ECHO='func_fallback_echo' -fi - -# func_echo_all arg... -# Invoke $ECHO with all args, space-separated. -func_echo_all () -{ - $ECHO "$*" -} - -case $ECHO in - printf*) AC_MSG_RESULT([printf]) ;; - print*) AC_MSG_RESULT([print -r]) ;; - *) AC_MSG_RESULT([cat]) ;; -esac - -m4_ifdef([_AS_DETECT_SUGGESTED], -[_AS_DETECT_SUGGESTED([ - test -n "${ZSH_VERSION+set}${BASH_VERSION+set}" || ( - ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' - ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO - ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO - PATH=/empty FPATH=/empty; export PATH FPATH - test "X`printf %s $ECHO`" = "X$ECHO" \ - || test "X`print -r -- $ECHO`" = "X$ECHO" )])]) - -_LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts]) -_LT_DECL([], [ECHO], [1], [An echo program that protects backslashes]) -])# _LT_PROG_ECHO_BACKSLASH - - -# _LT_WITH_SYSROOT -# ---------------- -AC_DEFUN([_LT_WITH_SYSROOT], -[AC_MSG_CHECKING([for sysroot]) -AC_ARG_WITH([sysroot], -[AS_HELP_STRING([--with-sysroot@<:@=DIR@:>@], - [Search for dependent libraries within DIR (or the compiler's sysroot - if not specified).])], -[], [with_sysroot=no]) - -dnl lt_sysroot will always be passed unquoted. We quote it here -dnl in case the user passed a directory name. -lt_sysroot= -case $with_sysroot in #( - yes) - if test yes = "$GCC"; then - lt_sysroot=`$CC --print-sysroot 2>/dev/null` - fi - ;; #( - /*) - lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` - ;; #( - no|'') - ;; #( - *) - AC_MSG_RESULT([$with_sysroot]) - AC_MSG_ERROR([The sysroot must be an absolute path.]) - ;; -esac - - AC_MSG_RESULT([${lt_sysroot:-no}]) -_LT_DECL([], [lt_sysroot], [0], [The root where to search for ]dnl -[dependent libraries, and where our libraries should be installed.])]) - -# _LT_ENABLE_LOCK -# --------------- -m4_defun([_LT_ENABLE_LOCK], -[AC_ARG_ENABLE([libtool-lock], - [AS_HELP_STRING([--disable-libtool-lock], - [avoid locking (might break parallel builds)])]) -test no = "$enable_libtool_lock" || enable_libtool_lock=yes - -# Some flags need to be propagated to the compiler or linker for good -# libtool support. -case $host in -ia64-*-hpux*) - # Find out what ABI is being produced by ac_compile, and set mode - # options accordingly. - echo 'int i;' > conftest.$ac_ext - if AC_TRY_EVAL(ac_compile); then - case `/usr/bin/file conftest.$ac_objext` in - *ELF-32*) - HPUX_IA64_MODE=32 - ;; - *ELF-64*) - HPUX_IA64_MODE=64 - ;; - esac - fi - rm -rf conftest* - ;; -*-*-irix6*) - # Find out what ABI is being produced by ac_compile, and set linker - # options accordingly. - echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext - if AC_TRY_EVAL(ac_compile); then - if test yes = "$lt_cv_prog_gnu_ld"; then - case `/usr/bin/file conftest.$ac_objext` in - *32-bit*) - LD="${LD-ld} -melf32bsmip" - ;; - *N32*) - LD="${LD-ld} -melf32bmipn32" - ;; - *64-bit*) - LD="${LD-ld} -melf64bmip" - ;; - esac - else - case `/usr/bin/file conftest.$ac_objext` in - *32-bit*) - LD="${LD-ld} -32" - ;; - *N32*) - LD="${LD-ld} -n32" - ;; - *64-bit*) - LD="${LD-ld} -64" - ;; - esac - fi - fi - rm -rf conftest* - ;; - -mips64*-*linux*) - # Find out what ABI is being produced by ac_compile, and set linker - # options accordingly. - echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext - if AC_TRY_EVAL(ac_compile); then - emul=elf - case `/usr/bin/file conftest.$ac_objext` in - *32-bit*) - emul="${emul}32" - ;; - *64-bit*) - emul="${emul}64" - ;; - esac - case `/usr/bin/file conftest.$ac_objext` in - *MSB*) - emul="${emul}btsmip" - ;; - *LSB*) - emul="${emul}ltsmip" - ;; - esac - case `/usr/bin/file conftest.$ac_objext` in - *N32*) - emul="${emul}n32" - ;; - esac - LD="${LD-ld} -m $emul" - fi - rm -rf conftest* - ;; - -x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ -s390*-*linux*|s390*-*tpf*|sparc*-*linux*) - # Find out what ABI is being produced by ac_compile, and set linker - # options accordingly. Note that the listed cases only cover the - # situations where additional linker options are needed (such as when - # doing 32-bit compilation for a host where ld defaults to 64-bit, or - # vice versa); the common cases where no linker options are needed do - # not appear in the list. - echo 'int i;' > conftest.$ac_ext - if AC_TRY_EVAL(ac_compile); then - case `/usr/bin/file conftest.o` in - *32-bit*) - case $host in - x86_64-*kfreebsd*-gnu) - LD="${LD-ld} -m elf_i386_fbsd" - ;; - x86_64-*linux*) - case `/usr/bin/file conftest.o` in - *x86-64*) - LD="${LD-ld} -m elf32_x86_64" - ;; - *) - LD="${LD-ld} -m elf_i386" - ;; - esac - ;; - powerpc64le-*linux*) - LD="${LD-ld} -m elf32lppclinux" - ;; - powerpc64-*linux*) - LD="${LD-ld} -m elf32ppclinux" - ;; - s390x-*linux*) - LD="${LD-ld} -m elf_s390" - ;; - sparc64-*linux*) - LD="${LD-ld} -m elf32_sparc" - ;; - esac - ;; - *64-bit*) - case $host in - x86_64-*kfreebsd*-gnu) - LD="${LD-ld} -m elf_x86_64_fbsd" - ;; - x86_64-*linux*) - LD="${LD-ld} -m elf_x86_64" - ;; - powerpcle-*linux*) - LD="${LD-ld} -m elf64lppc" - ;; - powerpc-*linux*) - LD="${LD-ld} -m elf64ppc" - ;; - s390*-*linux*|s390*-*tpf*) - LD="${LD-ld} -m elf64_s390" - ;; - sparc*-*linux*) - LD="${LD-ld} -m elf64_sparc" - ;; - esac - ;; - esac - fi - rm -rf conftest* - ;; - -*-*-sco3.2v5*) - # On SCO OpenServer 5, we need -belf to get full-featured binaries. - SAVE_CFLAGS=$CFLAGS - CFLAGS="$CFLAGS -belf" - AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf, - [AC_LANG_PUSH(C) - AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no]) - AC_LANG_POP]) - if test yes != "$lt_cv_cc_needs_belf"; then - # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf - CFLAGS=$SAVE_CFLAGS - fi - ;; -*-*solaris*) - # Find out what ABI is being produced by ac_compile, and set linker - # options accordingly. - echo 'int i;' > conftest.$ac_ext - if AC_TRY_EVAL(ac_compile); then - case `/usr/bin/file conftest.o` in - *64-bit*) - case $lt_cv_prog_gnu_ld in - yes*) - case $host in - i?86-*-solaris*|x86_64-*-solaris*) - LD="${LD-ld} -m elf_x86_64" - ;; - sparc*-*-solaris*) - LD="${LD-ld} -m elf64_sparc" - ;; - esac - # GNU ld 2.21 introduced _sol2 emulations. Use them if available. - if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then - LD=${LD-ld}_sol2 - fi - ;; - *) - if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then - LD="${LD-ld} -64" - fi - ;; - esac - ;; - esac - fi - rm -rf conftest* - ;; -esac - -need_locks=$enable_libtool_lock -])# _LT_ENABLE_LOCK - - -# _LT_PROG_AR -# ----------- -m4_defun([_LT_PROG_AR], -[AC_CHECK_TOOLS(AR, [ar], false) -: ${AR=ar} -: ${AR_FLAGS=cr} -_LT_DECL([], [AR], [1], [The archiver]) -_LT_DECL([], [AR_FLAGS], [1], [Flags to create an archive]) - -AC_CACHE_CHECK([for archiver @FILE support], [lt_cv_ar_at_file], - [lt_cv_ar_at_file=no - AC_COMPILE_IFELSE([AC_LANG_PROGRAM], - [echo conftest.$ac_objext > conftest.lst - lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&AS_MESSAGE_LOG_FD' - AC_TRY_EVAL([lt_ar_try]) - if test 0 -eq "$ac_status"; then - # Ensure the archiver fails upon bogus file names. - rm -f conftest.$ac_objext libconftest.a - AC_TRY_EVAL([lt_ar_try]) - if test 0 -ne "$ac_status"; then - lt_cv_ar_at_file=@ - fi - fi - rm -f conftest.* libconftest.a - ]) - ]) - -if test no = "$lt_cv_ar_at_file"; then - archiver_list_spec= -else - archiver_list_spec=$lt_cv_ar_at_file -fi -_LT_DECL([], [archiver_list_spec], [1], - [How to feed a file listing to the archiver]) -])# _LT_PROG_AR - - -# _LT_CMD_OLD_ARCHIVE -# ------------------- -m4_defun([_LT_CMD_OLD_ARCHIVE], -[_LT_PROG_AR - -AC_CHECK_TOOL(STRIP, strip, :) -test -z "$STRIP" && STRIP=: -_LT_DECL([], [STRIP], [1], [A symbol stripping program]) - -AC_CHECK_TOOL(RANLIB, ranlib, :) -test -z "$RANLIB" && RANLIB=: -_LT_DECL([], [RANLIB], [1], - [Commands used to install an old-style archive]) - -# Determine commands to create old-style static archives. -old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' -old_postinstall_cmds='chmod 644 $oldlib' -old_postuninstall_cmds= - -if test -n "$RANLIB"; then - case $host_os in - bitrig* | openbsd*) - old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" - ;; - *) - old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" - ;; - esac - old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" -fi - -case $host_os in - darwin*) - lock_old_archive_extraction=yes ;; - *) - lock_old_archive_extraction=no ;; -esac -_LT_DECL([], [old_postinstall_cmds], [2]) -_LT_DECL([], [old_postuninstall_cmds], [2]) -_LT_TAGDECL([], [old_archive_cmds], [2], - [Commands used to build an old-style archive]) -_LT_DECL([], [lock_old_archive_extraction], [0], - [Whether to use a lock for old archive extraction]) -])# _LT_CMD_OLD_ARCHIVE - - -# _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, -# [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE]) -# ---------------------------------------------------------------- -# Check whether the given compiler option works -AC_DEFUN([_LT_COMPILER_OPTION], -[m4_require([_LT_FILEUTILS_DEFAULTS])dnl -m4_require([_LT_DECL_SED])dnl -AC_CACHE_CHECK([$1], [$2], - [$2=no - m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - lt_compiler_flag="$3" ## exclude from sc_useless_quotes_in_assignment - # Insert the option either (1) after the last *FLAGS variable, or - # (2) before a word containing "conftest.", or (3) at the end. - # Note that $ac_compile itself does not contain backslashes and begins - # with a dollar sign (not a hyphen), so the echo should work correctly. - # The option is referenced via a variable to avoid confusing sed. - lt_compile=`echo "$ac_compile" | $SED \ - -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:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD) - (eval "$lt_compile" 2>conftest.err) - ac_status=$? - cat conftest.err >&AS_MESSAGE_LOG_FD - echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD - 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. - $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 - if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then - $2=yes - fi - fi - $RM conftest* -]) - -if test yes = "[$]$2"; then - m4_if([$5], , :, [$5]) -else - m4_if([$6], , :, [$6]) -fi -])# _LT_COMPILER_OPTION - -# Old name: -AU_ALIAS([AC_LIBTOOL_COMPILER_OPTION], [_LT_COMPILER_OPTION]) -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], []) - - -# _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, -# [ACTION-SUCCESS], [ACTION-FAILURE]) -# ---------------------------------------------------- -# Check whether the given linker option works -AC_DEFUN([_LT_LINKER_OPTION], -[m4_require([_LT_FILEUTILS_DEFAULTS])dnl -m4_require([_LT_DECL_SED])dnl -AC_CACHE_CHECK([$1], [$2], - [$2=no - save_LDFLAGS=$LDFLAGS - LDFLAGS="$LDFLAGS $3" - echo "$lt_simple_link_test_code" > conftest.$ac_ext - if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then - # The linker can only warn and ignore the option if not recognized - # So say no if there are warnings - if test -s conftest.err; then - # Append any errors to the config.log. - cat conftest.err 1>&AS_MESSAGE_LOG_FD - $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 - if diff conftest.exp conftest.er2 >/dev/null; then - $2=yes - fi - else - $2=yes - fi - fi - $RM -r conftest* - LDFLAGS=$save_LDFLAGS -]) - -if test yes = "[$]$2"; then - m4_if([$4], , :, [$4]) -else - m4_if([$5], , :, [$5]) -fi -])# _LT_LINKER_OPTION - -# Old name: -AU_ALIAS([AC_LIBTOOL_LINKER_OPTION], [_LT_LINKER_OPTION]) -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], []) - - -# LT_CMD_MAX_LEN -#--------------- -AC_DEFUN([LT_CMD_MAX_LEN], -[AC_REQUIRE([AC_CANONICAL_HOST])dnl -# find the maximum length of command line arguments -AC_MSG_CHECKING([the maximum length of command line arguments]) -AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl - i=0 - teststring=ABCD - - case $build_os in - msdosdjgpp*) - # On DJGPP, this test can blow up pretty badly due to problems in libc - # (any single argument exceeding 2000 bytes causes a buffer overrun - # during glob expansion). Even if it were fixed, the result of this - # check would be larger than it should be. - lt_cv_sys_max_cmd_len=12288; # 12K is about right - ;; - - gnu*) - # Under GNU Hurd, this test is not required because there is - # no limit to the length of command line arguments. - # Libtool will interpret -1 as no limit whatsoever - lt_cv_sys_max_cmd_len=-1; - ;; - - cygwin* | mingw* | cegcc*) - # On Win9x/ME, this test blows up -- it succeeds, but takes - # about 5 minutes as the teststring grows exponentially. - # Worse, since 9x/ME are not pre-emptively multitasking, - # you end up with a "frozen" computer, even though with patience - # the test eventually succeeds (with a max line length of 256k). - # Instead, let's just punt: use the minimum linelength reported by - # all of the supported platforms: 8192 (on NT/2K/XP). - lt_cv_sys_max_cmd_len=8192; - ;; - - mint*) - # On MiNT this can take a long time and run out of memory. - lt_cv_sys_max_cmd_len=8192; - ;; - - amigaos*) - # On AmigaOS with pdksh, this test takes hours, literally. - # So we just punt and use a minimum line length of 8192. - lt_cv_sys_max_cmd_len=8192; - ;; - - bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) - # This has been around since 386BSD, at least. Likely further. - if test -x /sbin/sysctl; then - lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` - elif test -x /usr/sbin/sysctl; then - lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` - else - lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs - fi - # And add a safety zone - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` - ;; - - interix*) - # We know the value 262144 and hardcode it with a safety zone (like BSD) - lt_cv_sys_max_cmd_len=196608 - ;; - - os2*) - # The test takes a long time on OS/2. - lt_cv_sys_max_cmd_len=8192 - ;; - - osf*) - # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure - # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not - # nice to cause kernel panics so lets avoid the loop below. - # First set a reasonable default. - lt_cv_sys_max_cmd_len=16384 - # - if test -x /sbin/sysconfig; then - case `/sbin/sysconfig -q proc exec_disable_arg_limit` in - *1*) lt_cv_sys_max_cmd_len=-1 ;; - esac - fi - ;; - sco3.2v5*) - lt_cv_sys_max_cmd_len=102400 - ;; - sysv5* | sco5v6* | sysv4.2uw2*) - kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` - if test -n "$kargmax"; then - lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'` - else - lt_cv_sys_max_cmd_len=32768 - fi - ;; - *) - lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` - if test -n "$lt_cv_sys_max_cmd_len" && \ - test undefined != "$lt_cv_sys_max_cmd_len"; then - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` - else - # Make teststring a little bigger before we do anything with it. - # a 1K string should be a reasonable start. - for i in 1 2 3 4 5 6 7 8; do - teststring=$teststring$teststring - done - SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} - # If test is not a shell built-in, we'll probably end up computing a - # maximum length that is only half of the actual maximum length, but - # we can't tell. - while { test X`env echo "$teststring$teststring" 2>/dev/null` \ - = "X$teststring$teststring"; } >/dev/null 2>&1 && - test 17 != "$i" # 1/2 MB should be enough - do - i=`expr $i + 1` - teststring=$teststring$teststring - done - # Only check the string length outside the loop. - lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` - teststring= - # Add a significant safety factor because C++ compilers can tack on - # massive amounts of additional arguments before passing them to the - # linker. It appears as though 1/2 is a usable value. - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` - fi - ;; - esac -]) -if test -n "$lt_cv_sys_max_cmd_len"; then - AC_MSG_RESULT($lt_cv_sys_max_cmd_len) -else - AC_MSG_RESULT(none) -fi -max_cmd_len=$lt_cv_sys_max_cmd_len -_LT_DECL([], [max_cmd_len], [0], - [What is the maximum length of a command?]) -])# LT_CMD_MAX_LEN - -# Old name: -AU_ALIAS([AC_LIBTOOL_SYS_MAX_CMD_LEN], [LT_CMD_MAX_LEN]) -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], []) - - -# _LT_HEADER_DLFCN -# ---------------- -m4_defun([_LT_HEADER_DLFCN], -[AC_CHECK_HEADERS([dlfcn.h], [], [], [AC_INCLUDES_DEFAULT])dnl -])# _LT_HEADER_DLFCN - - -# _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE, -# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING) -# ---------------------------------------------------------------- -m4_defun([_LT_TRY_DLOPEN_SELF], -[m4_require([_LT_HEADER_DLFCN])dnl -if test yes = "$cross_compiling"; then : - [$4] -else - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 - lt_status=$lt_dlunknown - cat > conftest.$ac_ext <<_LT_EOF -[#line $LINENO "configure" -#include "confdefs.h" - -#if HAVE_DLFCN_H -#include -#endif - -#include - -#ifdef RTLD_GLOBAL -# define LT_DLGLOBAL RTLD_GLOBAL -#else -# ifdef DL_GLOBAL -# define LT_DLGLOBAL DL_GLOBAL -# else -# define LT_DLGLOBAL 0 -# endif -#endif - -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we - find out it does not work in some platform. */ -#ifndef LT_DLLAZY_OR_NOW -# ifdef RTLD_LAZY -# define LT_DLLAZY_OR_NOW RTLD_LAZY -# else -# ifdef DL_LAZY -# define LT_DLLAZY_OR_NOW DL_LAZY -# else -# ifdef RTLD_NOW -# define LT_DLLAZY_OR_NOW RTLD_NOW -# else -# ifdef DL_NOW -# define LT_DLLAZY_OR_NOW DL_NOW -# else -# define LT_DLLAZY_OR_NOW 0 -# endif -# endif -# endif -# endif -#endif - -/* When -fvisibility=hidden is used, assume the code has been annotated - correspondingly for the symbols needed. */ -#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) -int fnord () __attribute__((visibility("default"))); -#endif - -int fnord () { return 42; } -int main () -{ - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); - int status = $lt_dlunknown; - - if (self) - { - if (dlsym (self,"fnord")) status = $lt_dlno_uscore; - else - { - if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; - else puts (dlerror ()); - } - /* dlclose (self); */ - } - else - puts (dlerror ()); - - return status; -}] -_LT_EOF - if AC_TRY_EVAL(ac_link) && test -s "conftest$ac_exeext" 2>/dev/null; then - (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null - lt_status=$? - case x$lt_status in - x$lt_dlno_uscore) $1 ;; - x$lt_dlneed_uscore) $2 ;; - x$lt_dlunknown|x*) $3 ;; - esac - else : - # compilation failed - $3 - fi -fi -rm -fr conftest* -])# _LT_TRY_DLOPEN_SELF - - -# LT_SYS_DLOPEN_SELF -# ------------------ -AC_DEFUN([LT_SYS_DLOPEN_SELF], -[m4_require([_LT_HEADER_DLFCN])dnl -if test yes != "$enable_dlopen"; then - enable_dlopen=unknown - enable_dlopen_self=unknown - enable_dlopen_self_static=unknown -else - lt_cv_dlopen=no - lt_cv_dlopen_libs= - - case $host_os in - beos*) - lt_cv_dlopen=load_add_on - lt_cv_dlopen_libs= - lt_cv_dlopen_self=yes - ;; - - mingw* | pw32* | cegcc*) - lt_cv_dlopen=LoadLibrary - lt_cv_dlopen_libs= - ;; - - cygwin*) - lt_cv_dlopen=dlopen - lt_cv_dlopen_libs= - ;; - - darwin*) - # if libdl is installed we need to link against it - AC_CHECK_LIB([dl], [dlopen], - [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],[ - lt_cv_dlopen=dyld - lt_cv_dlopen_libs= - lt_cv_dlopen_self=yes - ]) - ;; - - tpf*) - # Don't try to run any link tests for TPF. We know it's impossible - # because TPF is a cross-compiler, and we know how we open DSOs. - lt_cv_dlopen=dlopen - lt_cv_dlopen_libs= - lt_cv_dlopen_self=no - ;; - - *) - AC_CHECK_FUNC([shl_load], - [lt_cv_dlopen=shl_load], - [AC_CHECK_LIB([dld], [shl_load], - [lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld], - [AC_CHECK_FUNC([dlopen], - [lt_cv_dlopen=dlopen], - [AC_CHECK_LIB([dl], [dlopen], - [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl], - [AC_CHECK_LIB([svld], [dlopen], - [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld], - [AC_CHECK_LIB([dld], [dld_link], - [lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld]) - ]) - ]) - ]) - ]) - ]) - ;; - esac - - if test no = "$lt_cv_dlopen"; then - enable_dlopen=no - else - enable_dlopen=yes - fi - - case $lt_cv_dlopen in - dlopen) - save_CPPFLAGS=$CPPFLAGS - test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" - - save_LDFLAGS=$LDFLAGS - wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" - - save_LIBS=$LIBS - LIBS="$lt_cv_dlopen_libs $LIBS" - - AC_CACHE_CHECK([whether a program can dlopen itself], - lt_cv_dlopen_self, [dnl - _LT_TRY_DLOPEN_SELF( - lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes, - lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross) - ]) - - if test yes = "$lt_cv_dlopen_self"; then - wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" - AC_CACHE_CHECK([whether a statically linked program can dlopen itself], - lt_cv_dlopen_self_static, [dnl - _LT_TRY_DLOPEN_SELF( - lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes, - lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross) - ]) - fi - - CPPFLAGS=$save_CPPFLAGS - LDFLAGS=$save_LDFLAGS - LIBS=$save_LIBS - ;; - esac - - case $lt_cv_dlopen_self in - yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; - *) enable_dlopen_self=unknown ;; - esac - - case $lt_cv_dlopen_self_static in - yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; - *) enable_dlopen_self_static=unknown ;; - esac -fi -_LT_DECL([dlopen_support], [enable_dlopen], [0], - [Whether dlopen is supported]) -_LT_DECL([dlopen_self], [enable_dlopen_self], [0], - [Whether dlopen of programs is supported]) -_LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0], - [Whether dlopen of statically linked programs is supported]) -])# LT_SYS_DLOPEN_SELF - -# Old name: -AU_ALIAS([AC_LIBTOOL_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF]) -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], []) - - -# _LT_COMPILER_C_O([TAGNAME]) -# --------------------------- -# Check to see if options -c and -o are simultaneously supported by compiler. -# This macro does not hard code the compiler like AC_PROG_CC_C_O. -m4_defun([_LT_COMPILER_C_O], -[m4_require([_LT_DECL_SED])dnl -m4_require([_LT_FILEUTILS_DEFAULTS])dnl -m4_require([_LT_TAG_COMPILER])dnl -AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext], - [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)], - [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no - $RM -r conftest 2>/dev/null - mkdir conftest - cd conftest - mkdir out - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - - lt_compiler_flag="-o out/conftest2.$ac_objext" - # Insert the option either (1) after the last *FLAGS variable, or - # (2) before a word containing "conftest.", or (3) at the end. - # Note that $ac_compile itself does not contain backslashes and begins - # with a dollar sign (not a hyphen), so the echo should work correctly. - lt_compile=`echo "$ac_compile" | $SED \ - -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:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD) - (eval "$lt_compile" 2>out/conftest.err) - ac_status=$? - cat out/conftest.err >&AS_MESSAGE_LOG_FD - echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD - if (exit $ac_status) && test -s out/conftest2.$ac_objext - then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings - $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp - $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 - if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then - _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes - fi - fi - chmod u+w . 2>&AS_MESSAGE_LOG_FD - $RM conftest* - # SGI C++ compiler will create directory out/ii_files/ for - # template instantiation - test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files - $RM out/* && rmdir out - cd .. - $RM -r conftest - $RM conftest* -]) -_LT_TAGDECL([compiler_c_o], [lt_cv_prog_compiler_c_o], [1], - [Does compiler simultaneously support -c and -o options?]) -])# _LT_COMPILER_C_O - - -# _LT_COMPILER_FILE_LOCKS([TAGNAME]) -# ---------------------------------- -# Check to see if we can do hard links to lock some files if needed -m4_defun([_LT_COMPILER_FILE_LOCKS], -[m4_require([_LT_ENABLE_LOCK])dnl -m4_require([_LT_FILEUTILS_DEFAULTS])dnl -_LT_COMPILER_C_O([$1]) - -hard_links=nottested -if test no = "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" && test no != "$need_locks"; then - # do not overwrite the value of need_locks provided by the user - AC_MSG_CHECKING([if we can lock with hard links]) - hard_links=yes - $RM conftest* - ln conftest.a conftest.b 2>/dev/null && hard_links=no - touch conftest.a - ln conftest.a conftest.b 2>&5 || hard_links=no - ln conftest.a conftest.b 2>/dev/null && hard_links=no - AC_MSG_RESULT([$hard_links]) - if test no = "$hard_links"; then - AC_MSG_WARN(['$CC' does not support '-c -o', so 'make -j' may be unsafe]) - need_locks=warn - fi -else - need_locks=no -fi -_LT_DECL([], [need_locks], [1], [Must we lock files when doing compilation?]) -])# _LT_COMPILER_FILE_LOCKS - - -# _LT_CHECK_OBJDIR -# ---------------- -m4_defun([_LT_CHECK_OBJDIR], -[AC_CACHE_CHECK([for objdir], [lt_cv_objdir], -[rm -f .libs 2>/dev/null -mkdir .libs 2>/dev/null -if test -d .libs; then - lt_cv_objdir=.libs -else - # MS-DOS does not allow filenames that begin with a dot. - lt_cv_objdir=_libs -fi -rmdir .libs 2>/dev/null]) -objdir=$lt_cv_objdir -_LT_DECL([], [objdir], [0], - [The name of the directory that contains temporary libtool files])dnl -m4_pattern_allow([LT_OBJDIR])dnl -AC_DEFINE_UNQUOTED([LT_OBJDIR], "$lt_cv_objdir/", - [Define to the sub-directory where libtool stores uninstalled libraries.]) -])# _LT_CHECK_OBJDIR - - -# _LT_LINKER_HARDCODE_LIBPATH([TAGNAME]) -# -------------------------------------- -# Check hardcoding attributes. -m4_defun([_LT_LINKER_HARDCODE_LIBPATH], -[AC_MSG_CHECKING([how to hardcode library paths into programs]) -_LT_TAGVAR(hardcode_action, $1)= -if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" || - test -n "$_LT_TAGVAR(runpath_var, $1)" || - test yes = "$_LT_TAGVAR(hardcode_automatic, $1)"; then - - # We can hardcode non-existent directories. - if test no != "$_LT_TAGVAR(hardcode_direct, $1)" && - # If the only mechanism to avoid hardcoding is shlibpath_var, we - # have to relink, otherwise we might link with an installed library - # when we should be linking with a yet-to-be-installed one - ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" && - test no != "$_LT_TAGVAR(hardcode_minus_L, $1)"; then - # Linking always hardcodes the temporary library directory. - _LT_TAGVAR(hardcode_action, $1)=relink - else - # We can link without hardcoding, and we can hardcode nonexisting dirs. - _LT_TAGVAR(hardcode_action, $1)=immediate - fi -else - # We cannot hardcode anything, or else we can only hardcode existing - # directories. - _LT_TAGVAR(hardcode_action, $1)=unsupported -fi -AC_MSG_RESULT([$_LT_TAGVAR(hardcode_action, $1)]) - -if test relink = "$_LT_TAGVAR(hardcode_action, $1)" || - test yes = "$_LT_TAGVAR(inherit_rpath, $1)"; then - # Fast installation is not supported - enable_fast_install=no -elif test yes = "$shlibpath_overrides_runpath" || - test no = "$enable_shared"; then - # Fast installation is not necessary - enable_fast_install=needless -fi -_LT_TAGDECL([], [hardcode_action], [0], - [How to hardcode a shared library path into an executable]) -])# _LT_LINKER_HARDCODE_LIBPATH - - -# _LT_CMD_STRIPLIB -# ---------------- -m4_defun([_LT_CMD_STRIPLIB], -[m4_require([_LT_DECL_EGREP]) -striplib= -old_striplib= -AC_MSG_CHECKING([whether stripping libraries is possible]) -if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" - test -z "$striplib" && striplib="$STRIP --strip-unneeded" - AC_MSG_RESULT([yes]) -else -# FIXME - insert some real tests, host_os isn't really good enough - case $host_os in - darwin*) - if test -n "$STRIP"; then - striplib="$STRIP -x" - old_striplib="$STRIP -S" - AC_MSG_RESULT([yes]) - else - AC_MSG_RESULT([no]) - fi - ;; - *) - AC_MSG_RESULT([no]) - ;; - esac -fi -_LT_DECL([], [old_striplib], [1], [Commands to strip libraries]) -_LT_DECL([], [striplib], [1]) -])# _LT_CMD_STRIPLIB - - -# _LT_PREPARE_MUNGE_PATH_LIST -# --------------------------- -# Make sure func_munge_path_list() is defined correctly. -m4_defun([_LT_PREPARE_MUNGE_PATH_LIST], -[[# func_munge_path_list VARIABLE PATH -# ----------------------------------- -# VARIABLE is name of variable containing _space_ separated list of -# directories to be munged by the contents of PATH, which is string -# having a format: -# "DIR[:DIR]:" -# string "DIR[ DIR]" will be prepended to VARIABLE -# ":DIR[:DIR]" -# string "DIR[ DIR]" will be appended to VARIABLE -# "DIRP[:DIRP]::[DIRA:]DIRA" -# string "DIRP[ DIRP]" will be prepended to VARIABLE and string -# "DIRA[ DIRA]" will be appended to VARIABLE -# "DIR[:DIR]" -# VARIABLE will be replaced by "DIR[ DIR]" -func_munge_path_list () -{ - case x@S|@2 in - x) - ;; - *:) - eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'` \@S|@@S|@1\" - ;; - x:*) - eval @S|@1=\"\@S|@@S|@1 `$ECHO @S|@2 | $SED 's/:/ /g'`\" - ;; - *::*) - eval @S|@1=\"\@S|@@S|@1\ `$ECHO @S|@2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" - eval @S|@1=\"`$ECHO @S|@2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \@S|@@S|@1\" - ;; - *) - eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'`\" - ;; - esac -} -]])# _LT_PREPARE_PATH_LIST - - -# _LT_SYS_DYNAMIC_LINKER([TAG]) -# ----------------------------- -# PORTME Fill in your ld.so characteristics -m4_defun([_LT_SYS_DYNAMIC_LINKER], -[AC_REQUIRE([AC_CANONICAL_HOST])dnl -m4_require([_LT_DECL_EGREP])dnl -m4_require([_LT_FILEUTILS_DEFAULTS])dnl -m4_require([_LT_DECL_OBJDUMP])dnl -m4_require([_LT_DECL_SED])dnl -m4_require([_LT_CHECK_SHELL_FEATURES])dnl -m4_require([_LT_PREPARE_MUNGE_PATH_LIST])dnl -AC_MSG_CHECKING([dynamic linker characteristics]) -m4_if([$1], - [], [ -if test yes = "$GCC"; then - case $host_os in - darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; - *) lt_awk_arg='/^libraries:/' ;; - esac - case $host_os in - mingw* | cegcc*) lt_sed_strip_eq='s|=\([[A-Za-z]]:\)|\1|g' ;; - *) lt_sed_strip_eq='s|=/|/|g' ;; - esac - lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` - case $lt_search_path_spec in - *\;*) - # if the path contains ";" then we assume it to be the separator - # otherwise default to the standard path separator (i.e. ":") - it is - # assumed that no part of a normal pathname contains ";" but that should - # okay in the real world where ";" in dirpaths is itself problematic. - lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` - ;; - *) - lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` - ;; - esac - # Ok, now we have the path, separated by spaces, we can step through it - # and add multilib dir if necessary... - lt_tmp_lt_search_path_spec= - lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` - # ...but if some path component already ends with the multilib dir we assume - # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). - case "$lt_multi_os_dir; $lt_search_path_spec " in - "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) - lt_multi_os_dir= - ;; - esac - for lt_sys_path in $lt_search_path_spec; do - if test -d "$lt_sys_path$lt_multi_os_dir"; then - lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" - elif test -n "$lt_multi_os_dir"; then - test -d "$lt_sys_path" && \ - lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" - fi - done - lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' -BEGIN {RS = " "; FS = "/|\n";} { - lt_foo = ""; - lt_count = 0; - for (lt_i = NF; lt_i > 0; lt_i--) { - if ($lt_i != "" && $lt_i != ".") { - if ($lt_i == "..") { - lt_count++; - } else { - if (lt_count == 0) { - lt_foo = "/" $lt_i lt_foo; - } else { - lt_count--; - } - } - } - } - if (lt_foo != "") { lt_freq[[lt_foo]]++; } - if (lt_freq[[lt_foo]] == 1) { print lt_foo; } -}'` - # AWK program above erroneously prepends '/' to C:/dos/paths - # for these hosts. - case $host_os in - mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ - $SED 's|/\([[A-Za-z]]:\)|\1|g'` ;; - esac - sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` -else - sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" -fi]) -library_names_spec= -libname_spec='lib$name' -soname_spec= -shrext_cmds=.so -postinstall_cmds= -postuninstall_cmds= -finish_cmds= -finish_eval= -shlibpath_var= -shlibpath_overrides_runpath=unknown -version_type=none -dynamic_linker="$host_os ld.so" -sys_lib_dlsearch_path_spec="/lib /usr/lib" -need_lib_prefix=unknown -hardcode_into_libs=no - -# when you set need_version to no, make sure it does not cause -set_version -# flags to be left without arguments -need_version=unknown - -AC_ARG_VAR([LT_SYS_LIBRARY_PATH], -[User-defined run-time library search path.]) - -case $host_os in -aix3*) - version_type=linux # correct to gnu/linux during the next big refactor - library_names_spec='$libname$release$shared_ext$versuffix $libname.a' - shlibpath_var=LIBPATH - - # AIX 3 has no versioning support, so we append a major version to the name. - soname_spec='$libname$release$shared_ext$major' - ;; - -aix[[4-9]]*) - version_type=linux # correct to gnu/linux during the next big refactor - need_lib_prefix=no - need_version=no - hardcode_into_libs=yes - if test ia64 = "$host_cpu"; then - # AIX 5 supports IA64 - library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' - shlibpath_var=LD_LIBRARY_PATH - else - # With GCC up to 2.95.x, collect2 would create an import file - # for dependence libraries. The import file would start with - # the line '#! .'. This would cause the generated library to - # depend on '.', always an invalid library. This was fixed in - # development snapshots of GCC prior to 3.0. - case $host_os in - aix4 | aix4.[[01]] | aix4.[[01]].*) - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' - echo ' yes ' - echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then - : - else - can_build_shared=no - fi - ;; - esac - # Using Import Files as archive members, it is possible to support - # filename-based versioning of shared library archives on AIX. While - # this would work for both with and without runtime linking, it will - # prevent static linking of such archives. So we do filename-based - # shared library versioning with .so extension only, which is used - # when both runtime linking and shared linking is enabled. - # Unfortunately, runtime linking may impact performance, so we do - # not want this to be the default eventually. Also, we use the - # versioned .so libs for executables only if there is the -brtl - # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. - # To allow for filename-based versioning support, we need to create - # libNAME.so.V as an archive file, containing: - # *) an Import File, referring to the versioned filename of the - # archive as well as the shared archive member, telling the - # bitwidth (32 or 64) of that shared object, and providing the - # list of exported symbols of that shared object, eventually - # decorated with the 'weak' keyword - # *) the shared object with the F_LOADONLY flag set, to really avoid - # it being seen by the linker. - # At run time we better use the real file rather than another symlink, - # but for link time we create the symlink libNAME.so -> libNAME.so.V - - case $with_aix_soname,$aix_use_runtimelinking in - # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct - # soname into executable. Probably we can add versioning support to - # collect2, so additional links can be useful in future. - aix,yes) # traditional libtool - dynamic_linker='AIX unversionable lib.so' - # If using run time linking (on AIX 4.2 or later) use lib.so - # instead of lib.a to let people know that these are not - # typical AIX shared libraries. - library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' - ;; - aix,no) # traditional AIX only - dynamic_linker='AIX lib.a[(]lib.so.V[)]' - # We preserve .a as extension for shared libraries through AIX4.2 - # and later when we are not doing run time linking. - library_names_spec='$libname$release.a $libname.a' - soname_spec='$libname$release$shared_ext$major' - ;; - svr4,*) # full svr4 only - dynamic_linker="AIX lib.so.V[(]$shared_archive_member_spec.o[)]" - library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' - # We do not specify a path in Import Files, so LIBPATH fires. - shlibpath_overrides_runpath=yes - ;; - *,yes) # both, prefer svr4 - dynamic_linker="AIX lib.so.V[(]$shared_archive_member_spec.o[)], lib.a[(]lib.so.V[)]" - library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' - # unpreferred sharedlib libNAME.a needs extra handling - postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"' - postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"' - # We do not specify a path in Import Files, so LIBPATH fires. - shlibpath_overrides_runpath=yes - ;; - *,no) # both, prefer aix - dynamic_linker="AIX lib.a[(]lib.so.V[)], lib.so.V[(]$shared_archive_member_spec.o[)]" - library_names_spec='$libname$release.a $libname.a' - soname_spec='$libname$release$shared_ext$major' - # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling - postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)' - postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"' - ;; - esac - shlibpath_var=LIBPATH - fi - ;; - -amigaos*) - case $host_cpu in - powerpc) - # Since July 2007 AmigaOS4 officially supports .so libraries. - # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. - library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' - ;; - m68k) - library_names_spec='$libname.ixlibrary $libname.a' - # Create ${libname}_ixlibrary.a entries in /sys/libs. - finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' - ;; - esac - ;; - -beos*) - library_names_spec='$libname$shared_ext' - dynamic_linker="$host_os ld.so" - shlibpath_var=LIBRARY_PATH - ;; - -bsdi[[45]]*) - version_type=linux # correct to gnu/linux during the next big refactor - need_version=no - library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' - soname_spec='$libname$release$shared_ext$major' - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' - shlibpath_var=LD_LIBRARY_PATH - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" - # the default ld.so.conf also contains /usr/contrib/lib and - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow - # libtool to hard-code these into programs - ;; - -cygwin* | mingw* | pw32* | cegcc*) - version_type=windows - shrext_cmds=.dll - need_version=no - need_lib_prefix=no - - case $GCC,$cc_basename in - yes,*) - # gcc - library_names_spec='$libname.dll.a' - # DLL is installed to $(libdir)/../bin by postinstall_cmds - postinstall_cmds='base_file=`basename \$file`~ - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ - dldir=$destdir/`dirname \$dlpath`~ - test -d \$dldir || mkdir -p \$dldir~ - $install_prog $dir/$dlname \$dldir/$dlname~ - chmod a+x \$dldir/$dlname~ - if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then - eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; - fi' - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ - dlpath=$dir/\$dldll~ - $RM \$dlpath' - shlibpath_overrides_runpath=yes - - case $host_os in - cygwin*) - # Cygwin DLLs use 'cyg' prefix rather than 'lib' - soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext' -m4_if([$1], [],[ - sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"]) - ;; - mingw* | cegcc*) - # MinGW DLLs use traditional 'lib' prefix - soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext' - ;; - pw32*) - # pw32 DLLs use 'pw' prefix rather than 'lib' - library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext' - ;; - esac - dynamic_linker='Win32 ld.exe' - ;; - - *,cl*) - # Native MSVC - libname_spec='$name' - soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext' - library_names_spec='$libname.dll.lib' - - case $build_os in - mingw*) - sys_lib_search_path_spec= - lt_save_ifs=$IFS - IFS=';' - for lt_path in $LIB - do - IFS=$lt_save_ifs - # Let DOS variable expansion print the short 8.3 style file name. - lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` - sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" - done - IFS=$lt_save_ifs - # Convert to MSYS style. - sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([[a-zA-Z]]\\):| /\\1|g' -e 's|^ ||'` - ;; - cygwin*) - # Convert to unix form, then to dos form, then back to unix form - # but this time dos style (no spaces!) so that the unix form looks - # like /cygdrive/c/PROGRA~1:/cygdr... - sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` - sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` - sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` - ;; - *) - sys_lib_search_path_spec=$LIB - if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then - # It is most probably a Windows format PATH. - sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` - else - sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` - fi - # FIXME: find the short name or the path components, as spaces are - # common. (e.g. "Program Files" -> "PROGRA~1") - ;; - esac - - # DLL is installed to $(libdir)/../bin by postinstall_cmds - postinstall_cmds='base_file=`basename \$file`~ - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ - dldir=$destdir/`dirname \$dlpath`~ - test -d \$dldir || mkdir -p \$dldir~ - $install_prog $dir/$dlname \$dldir/$dlname' - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ - dlpath=$dir/\$dldll~ - $RM \$dlpath' - shlibpath_overrides_runpath=yes - dynamic_linker='Win32 link.exe' - ;; - - *) - # Assume MSVC wrapper - library_names_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext $libname.lib' - dynamic_linker='Win32 ld.exe' - ;; - esac - # FIXME: first we should search . and the directory the executable is in - shlibpath_var=PATH - ;; - -darwin* | rhapsody*) - dynamic_linker="$host_os dyld" - version_type=darwin - need_lib_prefix=no - need_version=no - library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' - soname_spec='$libname$release$major$shared_ext' - shlibpath_overrides_runpath=yes - shlibpath_var=DYLD_LIBRARY_PATH - shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' -m4_if([$1], [],[ - sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"]) - sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' - ;; - -dgux*) - version_type=linux # correct to gnu/linux during the next big refactor - need_lib_prefix=no - need_version=no - library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' - soname_spec='$libname$release$shared_ext$major' - shlibpath_var=LD_LIBRARY_PATH - ;; - -freebsd* | dragonfly*) - # DragonFly does not have aout. When/if they implement a new - # versioning mechanism, adjust this. - if test -x /usr/bin/objformat; then - objformat=`/usr/bin/objformat` - else - case $host_os in - freebsd[[23]].*) objformat=aout ;; - *) objformat=elf ;; - esac - fi - version_type=freebsd-$objformat - case $version_type in - freebsd-elf*) - library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' - soname_spec='$libname$release$shared_ext$major' - need_version=no - need_lib_prefix=no - ;; - freebsd-*) - library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' - need_version=yes - ;; - esac - shlibpath_var=LD_LIBRARY_PATH - case $host_os in - freebsd2.*) - shlibpath_overrides_runpath=yes - ;; - freebsd3.[[01]]* | freebsdelf3.[[01]]*) - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - ;; - freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \ - freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1) - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - ;; - *) # from 4.6 on, and DragonFly - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - ;; - esac - ;; - -haiku*) - version_type=linux # correct to gnu/linux during the next big refactor - need_lib_prefix=no - need_version=no - dynamic_linker="$host_os runtime_loader" - library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' - soname_spec='$libname$release$shared_ext$major' - shlibpath_var=LIBRARY_PATH - shlibpath_overrides_runpath=no - sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' - hardcode_into_libs=yes - ;; - -hpux9* | hpux10* | hpux11*) - # Give a soname corresponding to the major version so that dld.sl refuses to - # link against other versions. - version_type=sunos - need_lib_prefix=no - need_version=no - case $host_cpu in - ia64*) - shrext_cmds='.so' - hardcode_into_libs=yes - dynamic_linker="$host_os dld.so" - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. - library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' - soname_spec='$libname$release$shared_ext$major' - if test 32 = "$HPUX_IA64_MODE"; then - sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" - sys_lib_dlsearch_path_spec=/usr/lib/hpux32 - else - sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" - sys_lib_dlsearch_path_spec=/usr/lib/hpux64 - fi - ;; - hppa*64*) - shrext_cmds='.sl' - hardcode_into_libs=yes - dynamic_linker="$host_os dld.sl" - shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. - library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' - soname_spec='$libname$release$shared_ext$major' - sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec - ;; - *) - shrext_cmds='.sl' - dynamic_linker="$host_os dld.sl" - shlibpath_var=SHLIB_PATH - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH - library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' - soname_spec='$libname$release$shared_ext$major' - ;; - esac - # HP-UX runs *really* slowly unless shared libraries are mode 555, ... - postinstall_cmds='chmod 555 $lib' - # or fails outright, so override atomically: - install_override_mode=555 - ;; - -interix[[3-9]]*) - version_type=linux # correct to gnu/linux during the next big refactor - need_lib_prefix=no - need_version=no - library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' - soname_spec='$libname$release$shared_ext$major' - dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - ;; - -irix5* | irix6* | nonstopux*) - case $host_os in - nonstopux*) version_type=nonstopux ;; - *) - if test yes = "$lt_cv_prog_gnu_ld"; then - version_type=linux # correct to gnu/linux during the next big refactor - else - version_type=irix - fi ;; - esac - need_lib_prefix=no - need_version=no - soname_spec='$libname$release$shared_ext$major' - library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' - case $host_os in - irix5* | nonstopux*) - libsuff= shlibsuff= - ;; - *) - case $LD in # libtool.m4 will add one of these switches to LD - *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") - libsuff= shlibsuff= libmagic=32-bit;; - *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") - libsuff=32 shlibsuff=N32 libmagic=N32;; - *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") - libsuff=64 shlibsuff=64 libmagic=64-bit;; - *) libsuff= shlibsuff= libmagic=never-match;; - esac - ;; - esac - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH - shlibpath_overrides_runpath=no - sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" - sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" - hardcode_into_libs=yes - ;; - -# No shared lib support for Linux oldld, aout, or coff. -linux*oldld* | linux*aout* | linux*coff*) - dynamic_linker=no - ;; - -linux*android*) - version_type=none # Android doesn't support versioned libraries. - need_lib_prefix=no - need_version=no - library_names_spec='$libname$release$shared_ext' - soname_spec='$libname$release$shared_ext' - finish_cmds= - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - - # This implies no fast_install, which is unacceptable. - # Some rework will be needed to allow for fast_install - # before this can be enabled. - hardcode_into_libs=yes - - dynamic_linker='Android linker' - # Don't embed -rpath directories since the linker doesn't support them. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - ;; - -# This must be glibc/ELF. -linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) - version_type=linux # correct to gnu/linux during the next big refactor - need_lib_prefix=no - need_version=no - library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' - soname_spec='$libname$release$shared_ext$major' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - - # Some binutils ld are patched to set DT_RUNPATH - AC_CACHE_VAL([lt_cv_shlibpath_overrides_runpath], - [lt_cv_shlibpath_overrides_runpath=no - save_LDFLAGS=$LDFLAGS - save_libdir=$libdir - eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \ - LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\"" - AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], - [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null], - [lt_cv_shlibpath_overrides_runpath=yes])]) - LDFLAGS=$save_LDFLAGS - libdir=$save_libdir - ]) - shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath - - # This implies no fast_install, which is unacceptable. - # Some rework will be needed to allow for fast_install - # before this can be enabled. - hardcode_into_libs=yes - - # Ideally, we could use ldconfig to report *all* directores which are - # searched for libraries, however this is still not possible. Aside from not - # being certain /sbin/ldconfig is available, command - # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, - # even though it is searched at run-time. Try to do the best guess by - # appending ld.so.conf contents (and includes) to the search path. - if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" - fi - - # We used to test for /lib/ld.so.1 and disable shared libraries on - # powerpc, because MkLinux only supported shared libraries with the - # GNU dynamic linker. Since this was broken with cross compilers, - # most powerpc-linux boxes support dynamic linking these days and - # people can always --disable-shared, the test was removed, and we - # assume the GNU/Linux dynamic linker is in use. - dynamic_linker='GNU/Linux ld.so' - ;; - -netbsdelf*-gnu) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - dynamic_linker='NetBSD ld.elf_so' - ;; - -netbsd*) - version_type=sunos - need_lib_prefix=no - need_version=no - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then - library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' - dynamic_linker='NetBSD (a.out) ld.so' - else - library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' - soname_spec='$libname$release$shared_ext$major' - dynamic_linker='NetBSD ld.elf_so' - fi - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - ;; - -newsos6) - version_type=linux # correct to gnu/linux during the next big refactor - library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - ;; - -*nto* | *qnx*) - version_type=qnx - need_lib_prefix=no - need_version=no - library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' - soname_spec='$libname$release$shared_ext$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - dynamic_linker='ldqnx.so' - ;; - -openbsd* | bitrig*) - version_type=sunos - sys_lib_dlsearch_path_spec=/usr/lib - need_lib_prefix=no - if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then - need_version=no - else - need_version=yes - fi - library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - ;; - -os2*) - libname_spec='$name' - version_type=windows - shrext_cmds=.dll - need_version=no - need_lib_prefix=no - # OS/2 can only load a DLL with a base name of 8 characters or less. - soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; - v=$($ECHO $release$versuffix | tr -d .-); - n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); - $ECHO $n$v`$shared_ext' - library_names_spec='${libname}_dll.$libext' - dynamic_linker='OS/2 ld.exe' - shlibpath_var=BEGINLIBPATH - sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec - postinstall_cmds='base_file=`basename \$file`~ - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ - dldir=$destdir/`dirname \$dlpath`~ - test -d \$dldir || mkdir -p \$dldir~ - $install_prog $dir/$dlname \$dldir/$dlname~ - chmod a+x \$dldir/$dlname~ - if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then - eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; - fi' - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ - dlpath=$dir/\$dldll~ - $RM \$dlpath' - ;; - -osf3* | osf4* | osf5*) - version_type=osf - need_lib_prefix=no - need_version=no - soname_spec='$libname$release$shared_ext$major' - library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' - shlibpath_var=LD_LIBRARY_PATH - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec - ;; - -rdos*) - dynamic_linker=no - ;; - -solaris*) - version_type=linux # correct to gnu/linux during the next big refactor - need_lib_prefix=no - need_version=no - library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' - soname_spec='$libname$release$shared_ext$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - # ldd complains unless libraries are executable - postinstall_cmds='chmod +x $lib' - ;; - -sunos4*) - version_type=sunos - library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - if test yes = "$with_gnu_ld"; then - need_lib_prefix=no - fi - need_version=yes - ;; - -sysv4 | sysv4.3*) - version_type=linux # correct to gnu/linux during the next big refactor - library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' - soname_spec='$libname$release$shared_ext$major' - shlibpath_var=LD_LIBRARY_PATH - case $host_vendor in - sni) - shlibpath_overrides_runpath=no - need_lib_prefix=no - runpath_var=LD_RUN_PATH - ;; - siemens) - need_lib_prefix=no - ;; - motorola) - need_lib_prefix=no - need_version=no - shlibpath_overrides_runpath=no - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' - ;; - esac - ;; - -sysv4*MP*) - if test -d /usr/nec; then - version_type=linux # correct to gnu/linux during the next big refactor - library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' - soname_spec='$libname$shared_ext.$major' - shlibpath_var=LD_LIBRARY_PATH - fi - ;; - -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) - version_type=sco - need_lib_prefix=no - need_version=no - library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' - soname_spec='$libname$release$shared_ext$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - if test yes = "$with_gnu_ld"; then - sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' - else - sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' - case $host_os in - sco3.2v5*) - sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" - ;; - esac - fi - sys_lib_dlsearch_path_spec='/usr/lib' - ;; - -tpf*) - # TPF is a cross-target only. Preferred cross-host = GNU/Linux. - version_type=linux # correct to gnu/linux during the next big refactor - need_lib_prefix=no - need_version=no - library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - ;; - -uts4*) - version_type=linux # correct to gnu/linux during the next big refactor - library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' - soname_spec='$libname$release$shared_ext$major' - shlibpath_var=LD_LIBRARY_PATH - ;; - -*) - dynamic_linker=no - ;; -esac -AC_MSG_RESULT([$dynamic_linker]) -test no = "$dynamic_linker" && can_build_shared=no - -variables_saved_for_relink="PATH $shlibpath_var $runpath_var" -if test yes = "$GCC"; then - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" -fi - -if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then - sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec -fi - -if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then - sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec -fi - -# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... -configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec - -# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code -func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" - -# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool -configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH - -_LT_DECL([], [variables_saved_for_relink], [1], - [Variables whose values should be saved in libtool wrapper scripts and - restored at link time]) -_LT_DECL([], [need_lib_prefix], [0], - [Do we need the "lib" prefix for modules?]) -_LT_DECL([], [need_version], [0], [Do we need a version for libraries?]) -_LT_DECL([], [version_type], [0], [Library versioning type]) -_LT_DECL([], [runpath_var], [0], [Shared library runtime path variable]) -_LT_DECL([], [shlibpath_var], [0],[Shared library path variable]) -_LT_DECL([], [shlibpath_overrides_runpath], [0], - [Is shlibpath searched before the hard-coded library search path?]) -_LT_DECL([], [libname_spec], [1], [Format of library name prefix]) -_LT_DECL([], [library_names_spec], [1], - [[List of archive names. First name is the real one, the rest are links. - The last name is the one that the linker finds with -lNAME]]) -_LT_DECL([], [soname_spec], [1], - [[The coded name of the library, if different from the real name]]) -_LT_DECL([], [install_override_mode], [1], - [Permission mode override for installation of shared libraries]) -_LT_DECL([], [postinstall_cmds], [2], - [Command to use after installation of a shared archive]) -_LT_DECL([], [postuninstall_cmds], [2], - [Command to use after uninstallation of a shared archive]) -_LT_DECL([], [finish_cmds], [2], - [Commands used to finish a libtool library installation in a directory]) -_LT_DECL([], [finish_eval], [1], - [[As "finish_cmds", except a single script fragment to be evaled but - not shown]]) -_LT_DECL([], [hardcode_into_libs], [0], - [Whether we should hardcode library paths into libraries]) -_LT_DECL([], [sys_lib_search_path_spec], [2], - [Compile-time system search path for libraries]) -_LT_DECL([sys_lib_dlsearch_path_spec], [configure_time_dlsearch_path], [2], - [Detected run-time system search path for libraries]) -_LT_DECL([], [configure_time_lt_sys_library_path], [2], - [Explicit LT_SYS_LIBRARY_PATH set during ./configure time]) -])# _LT_SYS_DYNAMIC_LINKER - - -# _LT_PATH_TOOL_PREFIX(TOOL) -# -------------------------- -# find a file program that can recognize shared library -AC_DEFUN([_LT_PATH_TOOL_PREFIX], -[m4_require([_LT_DECL_EGREP])dnl -AC_MSG_CHECKING([for $1]) -AC_CACHE_VAL(lt_cv_path_MAGIC_CMD, -[case $MAGIC_CMD in -[[\\/*] | ?:[\\/]*]) - lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. - ;; -*) - lt_save_MAGIC_CMD=$MAGIC_CMD - lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR -dnl $ac_dummy forces splitting on constant user-supplied paths. -dnl POSIX.2 word splitting is done only on the output of word expansions, -dnl not every word. This closes a longstanding sh security hole. - ac_dummy="m4_if([$2], , $PATH, [$2])" - for ac_dir in $ac_dummy; do - IFS=$lt_save_ifs - test -z "$ac_dir" && ac_dir=. - if test -f "$ac_dir/$1"; then - lt_cv_path_MAGIC_CMD=$ac_dir/"$1" - if test -n "$file_magic_test_file"; then - case $deplibs_check_method in - "file_magic "*) - file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` - MAGIC_CMD=$lt_cv_path_MAGIC_CMD - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | - $EGREP "$file_magic_regex" > /dev/null; then - : - else - cat <<_LT_EOF 1>&2 - -*** Warning: the command libtool uses to detect shared libraries, -*** $file_magic_cmd, produces output that libtool cannot recognize. -*** The result is that libtool may fail to recognize shared libraries -*** as such. This will affect the creation of libtool libraries that -*** depend on shared libraries, but programs linked with such libtool -*** libraries will work regardless of this problem. Nevertheless, you -*** may want to report the problem to your system manager and/or to -*** bug-libtool@gnu.org - -_LT_EOF - fi ;; - esac - fi - break - fi - done - IFS=$lt_save_ifs - MAGIC_CMD=$lt_save_MAGIC_CMD - ;; -esac]) -MAGIC_CMD=$lt_cv_path_MAGIC_CMD -if test -n "$MAGIC_CMD"; then - AC_MSG_RESULT($MAGIC_CMD) -else - AC_MSG_RESULT(no) -fi -_LT_DECL([], [MAGIC_CMD], [0], - [Used to examine libraries when file_magic_cmd begins with "file"])dnl -])# _LT_PATH_TOOL_PREFIX - -# Old name: -AU_ALIAS([AC_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX]) -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AC_PATH_TOOL_PREFIX], []) - - -# _LT_PATH_MAGIC -# -------------- -# find a file program that can recognize a shared library -m4_defun([_LT_PATH_MAGIC], -[_LT_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH) -if test -z "$lt_cv_path_MAGIC_CMD"; then - if test -n "$ac_tool_prefix"; then - _LT_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH) - else - MAGIC_CMD=: - fi -fi -])# _LT_PATH_MAGIC - - -# LT_PATH_LD -# ---------- -# find the pathname to the GNU or non-GNU linker -AC_DEFUN([LT_PATH_LD], -[AC_REQUIRE([AC_PROG_CC])dnl -AC_REQUIRE([AC_CANONICAL_HOST])dnl -AC_REQUIRE([AC_CANONICAL_BUILD])dnl -m4_require([_LT_DECL_SED])dnl -m4_require([_LT_DECL_EGREP])dnl -m4_require([_LT_PROG_ECHO_BACKSLASH])dnl - -AC_ARG_WITH([gnu-ld], - [AS_HELP_STRING([--with-gnu-ld], - [assume the C compiler uses GNU ld @<:@default=no@:>@])], - [test no = "$withval" || with_gnu_ld=yes], - [with_gnu_ld=no])dnl - -ac_prog=ld -if test yes = "$GCC"; then - # Check if gcc -print-prog-name=ld gives a path. - AC_MSG_CHECKING([for ld used by $CC]) - case $host in - *-*-mingw*) - # gcc leaves a trailing carriage return, which upsets mingw - ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; - *) - ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; - esac - case $ac_prog in - # Accept absolute paths. - [[\\/]]* | ?:[[\\/]]*) - re_direlt='/[[^/]][[^/]]*/\.\./' - # Canonicalize the pathname of ld - ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` - while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do - ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` - done - test -z "$LD" && LD=$ac_prog - ;; - "") - # If it fails, then pretend we aren't using GCC. - ac_prog=ld - ;; - *) - # If it is relative, then search for the first ld in PATH. - with_gnu_ld=unknown - ;; - esac -elif test yes = "$with_gnu_ld"; then - AC_MSG_CHECKING([for GNU ld]) -else - AC_MSG_CHECKING([for non-GNU ld]) -fi -AC_CACHE_VAL(lt_cv_path_LD, -[if test -z "$LD"; then - lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR - for ac_dir in $PATH; do - IFS=$lt_save_ifs - test -z "$ac_dir" && ac_dir=. - if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then - lt_cv_path_LD=$ac_dir/$ac_prog - # Check to see if the program is GNU ld. I'd rather use --version, - # but apparently some variants of GNU ld only accept -v. - # Break only if it was the GNU/non-GNU ld that we prefer. - case `"$lt_cv_path_LD" -v 2>&1 &1 conftest.i -cat conftest.i conftest.i >conftest2.i -: ${lt_DD:=$DD} -AC_PATH_PROGS_FEATURE_CHECK([lt_DD], [dd], -[if "$ac_path_lt_DD" bs=32 count=1 conftest.out 2>/dev/null; then - cmp -s conftest.i conftest.out \ - && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: -fi]) -rm -f conftest.i conftest2.i conftest.out]) -])# _LT_PATH_DD - - -# _LT_CMD_TRUNCATE -# ---------------- -# find command to truncate a binary pipe -m4_defun([_LT_CMD_TRUNCATE], -[m4_require([_LT_PATH_DD]) -AC_CACHE_CHECK([how to truncate binary pipes], [lt_cv_truncate_bin], -[printf 0123456789abcdef0123456789abcdef >conftest.i -cat conftest.i conftest.i >conftest2.i -lt_cv_truncate_bin= -if "$ac_cv_path_lt_DD" bs=32 count=1 conftest.out 2>/dev/null; then - cmp -s conftest.i conftest.out \ - && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" -fi -rm -f conftest.i conftest2.i conftest.out -test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"]) -_LT_DECL([lt_truncate_bin], [lt_cv_truncate_bin], [1], - [Command to truncate a binary pipe]) -])# _LT_CMD_TRUNCATE - - -# _LT_CHECK_MAGIC_METHOD -# ---------------------- -# how to check for library dependencies -# -- PORTME fill in with the dynamic library characteristics -m4_defun([_LT_CHECK_MAGIC_METHOD], -[m4_require([_LT_DECL_EGREP]) -m4_require([_LT_DECL_OBJDUMP]) -AC_CACHE_CHECK([how to recognize dependent libraries], -lt_cv_deplibs_check_method, -[lt_cv_file_magic_cmd='$MAGIC_CMD' -lt_cv_file_magic_test_file= -lt_cv_deplibs_check_method='unknown' -# Need to set the preceding variable on all platforms that support -# interlibrary dependencies. -# 'none' -- dependencies not supported. -# 'unknown' -- same as none, but documents that we really don't know. -# 'pass_all' -- all dependencies passed with no checks. -# 'test_compile' -- check by making test program. -# 'file_magic [[regex]]' -- check by looking for files in library path -# that responds to the $file_magic_cmd with a given extended regex. -# If you have 'file' or equivalent on your system and you're not sure -# whether 'pass_all' will *always* work, you probably want this one. - -case $host_os in -aix[[4-9]]*) - lt_cv_deplibs_check_method=pass_all - ;; - -beos*) - lt_cv_deplibs_check_method=pass_all - ;; - -bsdi[[45]]*) - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)' - lt_cv_file_magic_cmd='/usr/bin/file -L' - lt_cv_file_magic_test_file=/shlib/libc.so - ;; - -cygwin*) - # func_win32_libid is a shell function defined in ltmain.sh - lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' - lt_cv_file_magic_cmd='func_win32_libid' - ;; - -mingw* | pw32*) - # Base MSYS/MinGW do not provide the 'file' command needed by - # func_win32_libid shell function, so use a weaker test based on 'objdump', - # unless we find 'file', for example because we are cross-compiling. - if ( file / ) >/dev/null 2>&1; then - lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' - lt_cv_file_magic_cmd='func_win32_libid' - else - # Keep this pattern in sync with the one in func_win32_libid. - lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' - lt_cv_file_magic_cmd='$OBJDUMP -f' - fi - ;; - -cegcc*) - # use the weaker test based on 'objdump'. See mingw*. - lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' - lt_cv_file_magic_cmd='$OBJDUMP -f' - ;; - -darwin* | rhapsody*) - lt_cv_deplibs_check_method=pass_all - ;; - -freebsd* | dragonfly*) - if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then - case $host_cpu in - i*86 ) - # Not sure whether the presence of OpenBSD here was a mistake. - # Let's accept both of them until this is cleared up. - lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library' - lt_cv_file_magic_cmd=/usr/bin/file - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` - ;; - esac - else - lt_cv_deplibs_check_method=pass_all - fi - ;; - -haiku*) - lt_cv_deplibs_check_method=pass_all - ;; - -hpux10.20* | hpux11*) - lt_cv_file_magic_cmd=/usr/bin/file - case $host_cpu in - ia64*) - lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64' - lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so - ;; - hppa*64*) - [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'] - lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl - ;; - *) - lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]]\.[[0-9]]) shared library' - lt_cv_file_magic_test_file=/usr/lib/libc.sl - ;; - esac - ;; - -interix[[3-9]]*) - # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$' - ;; - -irix5* | irix6* | nonstopux*) - case $LD in - *-32|*"-32 ") libmagic=32-bit;; - *-n32|*"-n32 ") libmagic=N32;; - *-64|*"-64 ") libmagic=64-bit;; - *) libmagic=never-match;; - esac - lt_cv_deplibs_check_method=pass_all - ;; - -# This must be glibc/ELF. -linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) - lt_cv_deplibs_check_method=pass_all - ;; - -netbsd* | netbsdelf*-gnu) - if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' - else - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$' - fi - ;; - -newos6*) - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)' - lt_cv_file_magic_cmd=/usr/bin/file - lt_cv_file_magic_test_file=/usr/lib/libnls.so - ;; - -*nto* | *qnx*) - lt_cv_deplibs_check_method=pass_all - ;; - -openbsd* | bitrig*) - if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$' - else - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' - fi - ;; - -osf3* | osf4* | osf5*) - lt_cv_deplibs_check_method=pass_all - ;; - -rdos*) - lt_cv_deplibs_check_method=pass_all - ;; - -solaris*) - lt_cv_deplibs_check_method=pass_all - ;; - -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) - lt_cv_deplibs_check_method=pass_all - ;; - -sysv4 | sysv4.3*) - case $host_vendor in - motorola) - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]' - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` - ;; - ncr) - lt_cv_deplibs_check_method=pass_all - ;; - sequent) - lt_cv_file_magic_cmd='/bin/file' - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' - ;; - sni) - lt_cv_file_magic_cmd='/bin/file' - lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib" - lt_cv_file_magic_test_file=/lib/libc.so - ;; - siemens) - lt_cv_deplibs_check_method=pass_all - ;; - pc) - lt_cv_deplibs_check_method=pass_all - ;; - esac - ;; - -tpf*) - lt_cv_deplibs_check_method=pass_all - ;; -os2*) - lt_cv_deplibs_check_method=pass_all - ;; -esac -]) - -file_magic_glob= -want_nocaseglob=no -if test "$build" = "$host"; then - case $host_os in - mingw* | pw32*) - if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then - want_nocaseglob=yes - else - file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[[\1]]\/[[\1]]\/g;/g"` - fi - ;; - esac -fi - -file_magic_cmd=$lt_cv_file_magic_cmd -deplibs_check_method=$lt_cv_deplibs_check_method -test -z "$deplibs_check_method" && deplibs_check_method=unknown - -_LT_DECL([], [deplibs_check_method], [1], - [Method to check whether dependent libraries are shared objects]) -_LT_DECL([], [file_magic_cmd], [1], - [Command to use when deplibs_check_method = "file_magic"]) -_LT_DECL([], [file_magic_glob], [1], - [How to find potential files when deplibs_check_method = "file_magic"]) -_LT_DECL([], [want_nocaseglob], [1], - [Find potential files using nocaseglob when deplibs_check_method = "file_magic"]) -])# _LT_CHECK_MAGIC_METHOD - - -# LT_PATH_NM -# ---------- -# find the pathname to a BSD- or MS-compatible name lister -AC_DEFUN([LT_PATH_NM], -[AC_REQUIRE([AC_PROG_CC])dnl -AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM, -[if test -n "$NM"; then - # Let the user override the test. - lt_cv_path_NM=$NM -else - lt_nm_to_check=${ac_tool_prefix}nm - if test -n "$ac_tool_prefix" && test "$build" = "$host"; then - lt_nm_to_check="$lt_nm_to_check nm" - fi - for lt_tmp_nm in $lt_nm_to_check; do - lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR - for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do - IFS=$lt_save_ifs - test -z "$ac_dir" && ac_dir=. - tmp_nm=$ac_dir/$lt_tmp_nm - if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then - # Check to see if the nm accepts a BSD-compat flag. - # Adding the 'sed 1q' prevents false positives on HP-UX, which says: - # nm: unknown option "B" ignored - # Tru64's nm complains that /dev/null is an invalid object file - # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty - case $build_os in - mingw*) lt_bad_file=conftest.nm/nofile ;; - *) lt_bad_file=/dev/null ;; - esac - case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in - *$lt_bad_file* | *'Invalid file or object type'*) - lt_cv_path_NM="$tmp_nm -B" - break 2 - ;; - *) - case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in - */dev/null*) - lt_cv_path_NM="$tmp_nm -p" - break 2 - ;; - *) - lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but - continue # so that we can try to find one that supports BSD flags - ;; - esac - ;; - esac - fi - done - IFS=$lt_save_ifs - done - : ${lt_cv_path_NM=no} -fi]) -if test no != "$lt_cv_path_NM"; then - NM=$lt_cv_path_NM -else - # Didn't find any BSD compatible name lister, look for dumpbin. - if test -n "$DUMPBIN"; then : - # Let the user override the test. - else - AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :) - case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in - *COFF*) - DUMPBIN="$DUMPBIN -symbols -headers" - ;; - *) - DUMPBIN=: - ;; - esac - fi - AC_SUBST([DUMPBIN]) - if test : != "$DUMPBIN"; then - NM=$DUMPBIN - fi -fi -test -z "$NM" && NM=nm -AC_SUBST([NM]) -_LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl - -AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface], - [lt_cv_nm_interface="BSD nm" - echo "int some_variable = 0;" > conftest.$ac_ext - (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&AS_MESSAGE_LOG_FD) - (eval "$ac_compile" 2>conftest.err) - cat conftest.err >&AS_MESSAGE_LOG_FD - (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD) - (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) - cat conftest.err >&AS_MESSAGE_LOG_FD - (eval echo "\"\$as_me:$LINENO: output\"" >&AS_MESSAGE_LOG_FD) - cat conftest.out >&AS_MESSAGE_LOG_FD - if $GREP 'External.*some_variable' conftest.out > /dev/null; then - lt_cv_nm_interface="MS dumpbin" - fi - rm -f conftest*]) -])# LT_PATH_NM - -# Old names: -AU_ALIAS([AM_PROG_NM], [LT_PATH_NM]) -AU_ALIAS([AC_PROG_NM], [LT_PATH_NM]) -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AM_PROG_NM], []) -dnl AC_DEFUN([AC_PROG_NM], []) - -# _LT_CHECK_SHAREDLIB_FROM_LINKLIB -# -------------------------------- -# how to determine the name of the shared library -# associated with a specific link library. -# -- PORTME fill in with the dynamic library characteristics -m4_defun([_LT_CHECK_SHAREDLIB_FROM_LINKLIB], -[m4_require([_LT_DECL_EGREP]) -m4_require([_LT_DECL_OBJDUMP]) -m4_require([_LT_DECL_DLLTOOL]) -AC_CACHE_CHECK([how to associate runtime and link libraries], -lt_cv_sharedlib_from_linklib_cmd, -[lt_cv_sharedlib_from_linklib_cmd='unknown' - -case $host_os in -cygwin* | mingw* | pw32* | cegcc*) - # two different shell functions defined in ltmain.sh; - # decide which one to use based on capabilities of $DLLTOOL - case `$DLLTOOL --help 2>&1` in - *--identify-strict*) - lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib - ;; - *) - lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback - ;; - esac - ;; -*) - # fallback: assume linklib IS sharedlib - lt_cv_sharedlib_from_linklib_cmd=$ECHO - ;; -esac -]) -sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd -test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO - -_LT_DECL([], [sharedlib_from_linklib_cmd], [1], - [Command to associate shared and link libraries]) -])# _LT_CHECK_SHAREDLIB_FROM_LINKLIB - - -# _LT_PATH_MANIFEST_TOOL -# ---------------------- -# locate the manifest tool -m4_defun([_LT_PATH_MANIFEST_TOOL], -[AC_CHECK_TOOL(MANIFEST_TOOL, mt, :) -test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt -AC_CACHE_CHECK([if $MANIFEST_TOOL is a manifest tool], [lt_cv_path_mainfest_tool], - [lt_cv_path_mainfest_tool=no - echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&AS_MESSAGE_LOG_FD - $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out - cat conftest.err >&AS_MESSAGE_LOG_FD - if $GREP 'Manifest Tool' conftest.out > /dev/null; then - lt_cv_path_mainfest_tool=yes - fi - rm -f conftest*]) -if test yes != "$lt_cv_path_mainfest_tool"; then - MANIFEST_TOOL=: -fi -_LT_DECL([], [MANIFEST_TOOL], [1], [Manifest tool])dnl -])# _LT_PATH_MANIFEST_TOOL - - -# _LT_DLL_DEF_P([FILE]) -# --------------------- -# True iff FILE is a Windows DLL '.def' file. -# Keep in sync with func_dll_def_p in the libtool script -AC_DEFUN([_LT_DLL_DEF_P], -[dnl - test DEF = "`$SED -n dnl - -e '\''s/^[[ ]]*//'\'' dnl Strip leading whitespace - -e '\''/^\(;.*\)*$/d'\'' dnl Delete empty lines and comments - -e '\''s/^\(EXPORTS\|LIBRARY\)\([[ ]].*\)*$/DEF/p'\'' dnl - -e q dnl Only consider the first "real" line - $1`" dnl -])# _LT_DLL_DEF_P - - -# LT_LIB_M -# -------- -# check for math library -AC_DEFUN([LT_LIB_M], -[AC_REQUIRE([AC_CANONICAL_HOST])dnl -LIBM= -case $host in -*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*) - # These system don't have libm, or don't need it - ;; -*-ncr-sysv4.3*) - AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM=-lmw) - AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm") - ;; -*) - AC_CHECK_LIB(m, cos, LIBM=-lm) - ;; -esac -AC_SUBST([LIBM]) -])# LT_LIB_M - -# Old name: -AU_ALIAS([AC_CHECK_LIBM], [LT_LIB_M]) -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AC_CHECK_LIBM], []) - - -# _LT_COMPILER_NO_RTTI([TAGNAME]) -# ------------------------------- -m4_defun([_LT_COMPILER_NO_RTTI], -[m4_require([_LT_TAG_COMPILER])dnl - -_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= - -if test yes = "$GCC"; then - case $cc_basename in - nvcc*) - _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -Xcompiler -fno-builtin' ;; - *) - _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' ;; - esac - - _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], - lt_cv_prog_compiler_rtti_exceptions, - [-fno-rtti -fno-exceptions], [], - [_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"]) -fi -_LT_TAGDECL([no_builtin_flag], [lt_prog_compiler_no_builtin_flag], [1], - [Compiler flag to turn off builtin functions]) -])# _LT_COMPILER_NO_RTTI - - -# _LT_CMD_GLOBAL_SYMBOLS -# ---------------------- -m4_defun([_LT_CMD_GLOBAL_SYMBOLS], -[AC_REQUIRE([AC_CANONICAL_HOST])dnl -AC_REQUIRE([AC_PROG_CC])dnl -AC_REQUIRE([AC_PROG_AWK])dnl -AC_REQUIRE([LT_PATH_NM])dnl -AC_REQUIRE([LT_PATH_LD])dnl -m4_require([_LT_DECL_SED])dnl -m4_require([_LT_DECL_EGREP])dnl -m4_require([_LT_TAG_COMPILER])dnl - -# Check for command to grab the raw symbol name followed by C symbol from nm. -AC_MSG_CHECKING([command to parse $NM output from $compiler object]) -AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe], -[ -# These are sane defaults that work on at least a few old systems. -# [They come from Ultrix. What could be older than Ultrix?!! ;)] - -# Character class describing NM global symbol codes. -symcode='[[BCDEGRST]]' - -# Regexp to match symbols that can be accessed directly from C. -sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)' - -# Define system-specific variables. -case $host_os in -aix*) - symcode='[[BCDT]]' - ;; -cygwin* | mingw* | pw32* | cegcc*) - symcode='[[ABCDGISTW]]' - ;; -hpux*) - if test ia64 = "$host_cpu"; then - symcode='[[ABCDEGRST]]' - fi - ;; -irix* | nonstopux*) - symcode='[[BCDEGRST]]' - ;; -osf*) - symcode='[[BCDEGQRST]]' - ;; -solaris*) - symcode='[[BDRT]]' - ;; -sco3.2v5*) - symcode='[[DT]]' - ;; -sysv4.2uw2*) - symcode='[[DT]]' - ;; -sysv5* | sco5v6* | unixware* | OpenUNIX*) - symcode='[[ABDT]]' - ;; -sysv4) - symcode='[[DFNSTU]]' - ;; -esac - -# If we're using GNU nm, then use its standard symbol codes. -case `$NM -V 2>&1` in -*GNU* | *'with BFD'*) - symcode='[[ABCDGIRSTW]]' ;; -esac - -if test "$lt_cv_nm_interface" = "MS dumpbin"; then - # Gets list of data symbols to import. - lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" - # Adjust the below global symbol transforms to fixup imported variables. - lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" - lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" - lt_c_name_lib_hook="\ - -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ - -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" -else - # Disable hooks by default. - lt_cv_sys_global_symbol_to_import= - lt_cdecl_hook= - lt_c_name_hook= - lt_c_name_lib_hook= -fi - -# Transform an extracted symbol line into a proper C declaration. -# Some systems (esp. on ia64) link data and code symbols differently, -# so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="sed -n"\ -$lt_cdecl_hook\ -" -e 's/^T .* \(.*\)$/extern int \1();/p'"\ -" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" - -# Transform an extracted symbol line into symbol name and symbol address -lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ -$lt_c_name_hook\ -" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ -" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" - -# Transform an extracted symbol line into symbol name with lib prefix and -# symbol address. -lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ -$lt_c_name_lib_hook\ -" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ -" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ -" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" - -# Handle CRLF in mingw tool chain -opt_cr= -case $build_os in -mingw*) - opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp - ;; -esac - -# Try without a prefix underscore, then with it. -for ac_symprfx in "" "_"; do - - # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. - symxfrm="\\1 $ac_symprfx\\2 \\2" - - # Write the raw and C identifiers. - if test "$lt_cv_nm_interface" = "MS dumpbin"; then - # Fake it for dumpbin and say T for any non-static function, - # D for any global variable and I for any imported variable. - # Also find C++ and __fastcall symbols from MSVC++, - # which start with @ or ?. - lt_cv_sys_global_symbol_pipe="$AWK ['"\ -" {last_section=section; section=\$ 3};"\ -" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ -" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ -" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ -" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ -" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ -" \$ 0!~/External *\|/{next};"\ -" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ -" {if(hide[section]) next};"\ -" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ -" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ -" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ -" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ -" ' prfx=^$ac_symprfx]" - else - lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" - fi - lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" - - # Check to see that the pipe works correctly. - pipe_works=no - - rm -f conftest* - cat > conftest.$ac_ext <<_LT_EOF -#ifdef __cplusplus -extern "C" { -#endif -char nm_test_var; -void nm_test_func(void); -void nm_test_func(void){} -#ifdef __cplusplus -} -#endif -int main(){nm_test_var='a';nm_test_func();return(0);} -_LT_EOF - - if AC_TRY_EVAL(ac_compile); then - # Now try to grab the symbols. - nlist=conftest.nm - $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&AS_MESSAGE_LOG_FD - if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&AS_MESSAGE_LOG_FD && test -s "$nlist"; then - # Try sorting and uniquifying the output. - if sort "$nlist" | uniq > "$nlist"T; then - mv -f "$nlist"T "$nlist" - else - rm -f "$nlist"T - fi - - # Make sure that we snagged all the symbols we need. - if $GREP ' nm_test_var$' "$nlist" >/dev/null; then - if $GREP ' nm_test_func$' "$nlist" >/dev/null; then - cat <<_LT_EOF > conftest.$ac_ext -/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ -#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE -/* DATA imports from DLLs on WIN32 can't be const, because runtime - relocations are performed -- see ld's documentation on pseudo-relocs. */ -# define LT@&t@_DLSYM_CONST -#elif defined __osf__ -/* This system does not cope well with relocations in const data. */ -# define LT@&t@_DLSYM_CONST -#else -# define LT@&t@_DLSYM_CONST const -#endif - -#ifdef __cplusplus -extern "C" { -#endif - -_LT_EOF - # Now generate the symbol file. - eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' - - cat <<_LT_EOF >> conftest.$ac_ext - -/* The mapping between symbol names and symbols. */ -LT@&t@_DLSYM_CONST struct { - const char *name; - void *address; -} -lt__PROGRAM__LTX_preloaded_symbols[[]] = -{ - { "@PROGRAM@", (void *) 0 }, -_LT_EOF - $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext - cat <<\_LT_EOF >> conftest.$ac_ext - {0, (void *) 0} -}; - -/* This works around a problem in FreeBSD linker */ -#ifdef FREEBSD_WORKAROUND -static const void *lt_preloaded_setup() { - return lt__PROGRAM__LTX_preloaded_symbols; -} -#endif - -#ifdef __cplusplus -} -#endif -_LT_EOF - # Now try linking the two files. - mv conftest.$ac_objext conftstm.$ac_objext - lt_globsym_save_LIBS=$LIBS - lt_globsym_save_CFLAGS=$CFLAGS - LIBS=conftstm.$ac_objext - CFLAGS="$CFLAGS$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)" - if AC_TRY_EVAL(ac_link) && test -s conftest$ac_exeext; then - pipe_works=yes - fi - LIBS=$lt_globsym_save_LIBS - CFLAGS=$lt_globsym_save_CFLAGS - else - echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD - fi - else - echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD - fi - else - echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD - fi - else - echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD - cat conftest.$ac_ext >&5 - fi - rm -rf conftest* conftst* - - # Do not use the global_symbol_pipe unless it works. - if test yes = "$pipe_works"; then - break - else - lt_cv_sys_global_symbol_pipe= - fi -done -]) -if test -z "$lt_cv_sys_global_symbol_pipe"; then - lt_cv_sys_global_symbol_to_cdecl= -fi -if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then - AC_MSG_RESULT(failed) -else - AC_MSG_RESULT(ok) -fi - -# Response file support. -if test "$lt_cv_nm_interface" = "MS dumpbin"; then - nm_file_list_spec='@' -elif $NM --help 2>/dev/null | grep '[[@]]FILE' >/dev/null; then - nm_file_list_spec='@' -fi - -_LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1], - [Take the output of nm and produce a listing of raw symbols and C names]) -_LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1], - [Transform the output of nm in a proper C declaration]) -_LT_DECL([global_symbol_to_import], [lt_cv_sys_global_symbol_to_import], [1], - [Transform the output of nm into a list of symbols to manually relocate]) -_LT_DECL([global_symbol_to_c_name_address], - [lt_cv_sys_global_symbol_to_c_name_address], [1], - [Transform the output of nm in a C name address pair]) -_LT_DECL([global_symbol_to_c_name_address_lib_prefix], - [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1], - [Transform the output of nm in a C name address pair when lib prefix is needed]) -_LT_DECL([nm_interface], [lt_cv_nm_interface], [1], - [The name lister interface]) -_LT_DECL([], [nm_file_list_spec], [1], - [Specify filename containing input files for $NM]) -]) # _LT_CMD_GLOBAL_SYMBOLS - - -# _LT_COMPILER_PIC([TAGNAME]) -# --------------------------- -m4_defun([_LT_COMPILER_PIC], -[m4_require([_LT_TAG_COMPILER])dnl -_LT_TAGVAR(lt_prog_compiler_wl, $1)= -_LT_TAGVAR(lt_prog_compiler_pic, $1)= -_LT_TAGVAR(lt_prog_compiler_static, $1)= - -m4_if([$1], [CXX], [ - # C++ specific cases for pic, static, wl, etc. - if test yes = "$GXX"; then - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' - - case $host_os in - aix*) - # All AIX code is PIC. - if test ia64 = "$host_cpu"; then - # AIX 5 now supports IA64 processor - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - fi - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' - ;; - - amigaos*) - case $host_cpu in - powerpc) - # see comment about AmigaOS4 .so support - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' - ;; - m68k) - # FIXME: we need at least 68020 code to build shared libraries, but - # adding the '-m68020' flag to GCC prevents building anything better, - # like '-m68040'. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' - ;; - esac - ;; - - beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) - # PIC is the default for these OSes. - ;; - mingw* | cygwin* | os2* | pw32* | cegcc*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - # Although the cygwin gcc ignores -fPIC, still need this for old-style - # (--disable-auto-import) libraries - m4_if([$1], [GCJ], [], - [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) - case $host_os in - os2*) - _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static' - ;; - esac - ;; - darwin* | rhapsody*) - # PIC is the default on this platform - # Common symbols not allowed in MH_DYLIB files - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' - ;; - *djgpp*) - # DJGPP does not support shared libraries at all - _LT_TAGVAR(lt_prog_compiler_pic, $1)= - ;; - haiku*) - # PIC is the default for Haiku. - # The "-static" flag exists, but is broken. - _LT_TAGVAR(lt_prog_compiler_static, $1)= - ;; - interix[[3-9]]*) - # Interix 3.x gcc -fpic/-fPIC options generate broken code. - # Instead, we relocate shared libraries at runtime. - ;; - sysv4*MP*) - if test -d /usr/nec; then - _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic - fi - ;; - hpux*) - # PIC is the default for 64-bit PA HP-UX, but not for 32-bit - # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag - # sets the default TLS model and affects inlining. - case $host_cpu in - hppa*64*) - ;; - *) - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' - ;; - esac - ;; - *qnx* | *nto*) - # QNX uses GNU C++, but need to define -shared option too, otherwise - # it will coredump. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' - ;; - *) - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' - ;; - esac - else - case $host_os in - aix[[4-9]]*) - # All AIX code is PIC. - if test ia64 = "$host_cpu"; then - # AIX 5 now supports IA64 processor - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - else - _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' - fi - ;; - chorus*) - case $cc_basename in - cxch68*) - # Green Hills C++ Compiler - # _LT_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" - ;; - esac - ;; - mingw* | cygwin* | os2* | pw32* | cegcc*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - m4_if([$1], [GCJ], [], - [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) - ;; - dgux*) - case $cc_basename in - ec++*) - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - ;; - ghcx*) - # Green Hills C++ Compiler - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' - ;; - *) - ;; - esac - ;; - freebsd* | dragonfly*) - # FreeBSD uses GNU C++ - ;; - hpux9* | hpux10* | hpux11*) - case $cc_basename in - CC*) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive' - if test ia64 != "$host_cpu"; then - _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' - fi - ;; - aCC*) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive' - case $host_cpu in - hppa*64*|ia64*) - # +Z the default - ;; - *) - _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' - ;; - esac - ;; - *) - ;; - esac - ;; - interix*) - # This is c89, which is MS Visual C++ (no shared libs) - # Anyone wants to do a port? - ;; - irix5* | irix6* | nonstopux*) - case $cc_basename in - CC*) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' - # CC pic flag -KPIC is the default. - ;; - *) - ;; - esac - ;; - linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) - case $cc_basename in - KCC*) - # KAI C++ Compiler - _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' - ;; - ecpc* ) - # old Intel C++ for x86_64, which still supported -KPIC. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' - ;; - icpc* ) - # Intel C++, used to be incompatible with GCC. - # ICC 10 doesn't accept -KPIC any more. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' - ;; - pgCC* | pgcpp*) - # Portland Group C++ compiler - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; - cxx*) - # Compaq C++ - # Make sure the PIC flag is empty. It appears that all Alpha - # Linux and Compaq Tru64 Unix objects are PIC. - _LT_TAGVAR(lt_prog_compiler_pic, $1)= - _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' - ;; - xlc* | xlC* | bgxl[[cC]]* | mpixl[[cC]]*) - # IBM XL 8.0, 9.0 on PPC and BlueGene - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink' - ;; - *) - case `$CC -V 2>&1 | sed 5q` in - *Sun\ C*) - # Sun C++ 5.9 - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' - ;; - esac - ;; - esac - ;; - lynxos*) - ;; - m88k*) - ;; - mvs*) - case $cc_basename in - cxx*) - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall' - ;; - *) - ;; - esac - ;; - netbsd* | netbsdelf*-gnu) - ;; - *qnx* | *nto*) - # QNX uses GNU C++, but need to define -shared option too, otherwise - # it will coredump. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' - ;; - osf3* | osf4* | osf5*) - case $cc_basename in - KCC*) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' - ;; - RCC*) - # Rational C++ 2.4.1 - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' - ;; - cxx*) - # Digital/Compaq C++ - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - # Make sure the PIC flag is empty. It appears that all Alpha - # Linux and Compaq Tru64 Unix objects are PIC. - _LT_TAGVAR(lt_prog_compiler_pic, $1)= - _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' - ;; - *) - ;; - esac - ;; - psos*) - ;; - solaris*) - case $cc_basename in - CC* | sunCC*) - # Sun C++ 4.2, 5.x and Centerline C++ - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' - ;; - gcx*) - # Green Hills C++ Compiler - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' - ;; - *) - ;; - esac - ;; - sunos4*) - case $cc_basename in - CC*) - # Sun C++ 4.x - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; - lcc*) - # Lucid - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' - ;; - *) - ;; - esac - ;; - sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) - case $cc_basename in - CC*) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; - esac - ;; - tandem*) - case $cc_basename in - NCC*) - # NonStop-UX NCC 3.20 - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - ;; - *) - ;; - esac - ;; - vxworks*) - ;; - *) - _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no - ;; - esac - fi -], -[ - if test yes = "$GCC"; then - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' - - case $host_os in - aix*) - # All AIX code is PIC. - if test ia64 = "$host_cpu"; then - # AIX 5 now supports IA64 processor - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - fi - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' - ;; - - amigaos*) - case $host_cpu in - powerpc) - # see comment about AmigaOS4 .so support - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' - ;; - m68k) - # FIXME: we need at least 68020 code to build shared libraries, but - # adding the '-m68020' flag to GCC prevents building anything better, - # like '-m68040'. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' - ;; - esac - ;; - - beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) - # PIC is the default for these OSes. - ;; - - mingw* | cygwin* | pw32* | os2* | cegcc*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - # Although the cygwin gcc ignores -fPIC, still need this for old-style - # (--disable-auto-import) libraries - m4_if([$1], [GCJ], [], - [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) - case $host_os in - os2*) - _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static' - ;; - esac - ;; - - darwin* | rhapsody*) - # PIC is the default on this platform - # Common symbols not allowed in MH_DYLIB files - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' - ;; - - haiku*) - # PIC is the default for Haiku. - # The "-static" flag exists, but is broken. - _LT_TAGVAR(lt_prog_compiler_static, $1)= - ;; - - hpux*) - # PIC is the default for 64-bit PA HP-UX, but not for 32-bit - # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag - # sets the default TLS model and affects inlining. - case $host_cpu in - hppa*64*) - # +Z the default - ;; - *) - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' - ;; - esac - ;; - - interix[[3-9]]*) - # Interix 3.x gcc -fpic/-fPIC options generate broken code. - # Instead, we relocate shared libraries at runtime. - ;; - - msdosdjgpp*) - # Just because we use GCC doesn't mean we suddenly get shared libraries - # on systems that don't support them. - _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no - enable_shared=no - ;; - - *nto* | *qnx*) - # QNX uses GNU C++, but need to define -shared option too, otherwise - # it will coredump. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' - ;; - - sysv4*MP*) - if test -d /usr/nec; then - _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic - fi - ;; - - *) - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' - ;; - esac - - case $cc_basename in - nvcc*) # Cuda Compiler Driver 2.2 - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker ' - if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then - _LT_TAGVAR(lt_prog_compiler_pic, $1)="-Xcompiler $_LT_TAGVAR(lt_prog_compiler_pic, $1)" - fi - ;; - esac - else - # PORTME Check for flag to pass linker flags through the system compiler. - case $host_os in - aix*) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - if test ia64 = "$host_cpu"; then - # AIX 5 now supports IA64 processor - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - else - _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' - fi - ;; - - darwin* | rhapsody*) - # PIC is the default on this platform - # Common symbols not allowed in MH_DYLIB files - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' - case $cc_basename in - nagfor*) - # NAG Fortran compiler - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,' - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; - esac - ;; - - mingw* | cygwin* | pw32* | os2* | cegcc*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - m4_if([$1], [GCJ], [], - [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) - case $host_os in - os2*) - _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static' - ;; - esac - ;; - - hpux9* | hpux10* | hpux11*) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but - # not for PA HP-UX. - case $host_cpu in - hppa*64*|ia64*) - # +Z the default - ;; - *) - _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' - ;; - esac - # Is there a better lt_prog_compiler_static that works with the bundled CC? - _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive' - ;; - - irix5* | irix6* | nonstopux*) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - # PIC (with -KPIC) is the default. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' - ;; - - linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) - case $cc_basename in - # old Intel for x86_64, which still supported -KPIC. - ecc*) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' - ;; - # flang / f18. f95 an alias for gfortran or flang on Debian - flang* | f18* | f95*) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' - ;; - # icc used to be incompatible with GCC. - # ICC 10 doesn't accept -KPIC any more. - icc* | ifort*) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' - ;; - # Lahey Fortran 8.1. - lf95*) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared' - _LT_TAGVAR(lt_prog_compiler_static, $1)='--static' - ;; - nagfor*) - # NAG Fortran compiler - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,' - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; - tcc*) - # Fabrice Bellard et al's Tiny C Compiler - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' - ;; - pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) - # Portland Group compilers (*not* the Pentium gcc compiler, - # which looks to be a dead project) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; - ccc*) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - # All Alpha code is PIC. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' - ;; - xl* | bgxl* | bgf* | mpixl*) - # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink' - ;; - *) - case `$CC -V 2>&1 | sed 5q` in - *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [[1-7]].* | *Sun*Fortran*\ 8.[[0-3]]*) - # Sun Fortran 8.3 passes all unrecognized flags to the linker - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - _LT_TAGVAR(lt_prog_compiler_wl, $1)='' - ;; - *Sun\ F* | *Sun*Fortran*) - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' - ;; - *Sun\ C*) - # Sun C 5.9 - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - ;; - *Intel*\ [[CF]]*Compiler*) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' - ;; - *Portland\ Group*) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; - esac - ;; - esac - ;; - - newsos6) - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; - - *nto* | *qnx*) - # QNX uses GNU C++, but need to define -shared option too, otherwise - # it will coredump. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' - ;; - - osf3* | osf4* | osf5*) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - # All OSF/1 code is PIC. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' - ;; - - rdos*) - _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' - ;; - - solaris*) - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - case $cc_basename in - f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';; - *) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';; - esac - ;; - - sunos4*) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; - - sysv4 | sysv4.2uw2* | sysv4.3*) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; - - sysv4*MP*) - if test -d /usr/nec; then - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - fi - ;; - - sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; - - unicos*) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no - ;; - - uts4*) - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; - - *) - _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no - ;; - esac - fi -]) -case $host_os in - # For platforms that do not support PIC, -DPIC is meaningless: - *djgpp*) - _LT_TAGVAR(lt_prog_compiler_pic, $1)= - ;; - *) - _LT_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])" - ;; -esac - -AC_CACHE_CHECK([for $compiler option to produce PIC], - [_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)], - [_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_prog_compiler_pic, $1)]) -_LT_TAGVAR(lt_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_cv_prog_compiler_pic, $1) - -# -# Check to make sure the PIC flag actually works. -# -if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then - _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, $1) works], - [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, $1)], - [$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])], [], - [case $_LT_TAGVAR(lt_prog_compiler_pic, $1) in - "" | " "*) ;; - *) _LT_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_TAGVAR(lt_prog_compiler_pic, $1)" ;; - esac], - [_LT_TAGVAR(lt_prog_compiler_pic, $1)= - _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no]) -fi -_LT_TAGDECL([pic_flag], [lt_prog_compiler_pic], [1], - [Additional compiler flags for building library objects]) - -_LT_TAGDECL([wl], [lt_prog_compiler_wl], [1], - [How to pass a linker flag through the compiler]) -# -# Check to make sure the static flag actually works. -# -wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_TAGVAR(lt_prog_compiler_static, $1)\" -_LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works], - _LT_TAGVAR(lt_cv_prog_compiler_static_works, $1), - $lt_tmp_static_flag, - [], - [_LT_TAGVAR(lt_prog_compiler_static, $1)=]) -_LT_TAGDECL([link_static_flag], [lt_prog_compiler_static], [1], - [Compiler flag to prevent dynamic linking]) -])# _LT_COMPILER_PIC - - -# _LT_LINKER_SHLIBS([TAGNAME]) -# ---------------------------- -# See if the linker supports building shared libraries. -m4_defun([_LT_LINKER_SHLIBS], -[AC_REQUIRE([LT_PATH_LD])dnl -AC_REQUIRE([LT_PATH_NM])dnl -m4_require([_LT_PATH_MANIFEST_TOOL])dnl -m4_require([_LT_FILEUTILS_DEFAULTS])dnl -m4_require([_LT_DECL_EGREP])dnl -m4_require([_LT_DECL_SED])dnl -m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl -m4_require([_LT_TAG_COMPILER])dnl -AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) -m4_if([$1], [CXX], [ - _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' - _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'] - case $host_os in - aix[[4-9]]*) - # If we're using GNU nm, then we don't want the "-C" option. - # -C means demangle to GNU nm, but means don't demangle to AIX nm. - # Without the "-l" option, or with the "-B" option, AIX nm treats - # weak defined symbols like other global defined symbols, whereas - # GNU nm marks them as "W". - # While the 'weak' keyword is ignored in the Export File, we need - # it in the Import File for the 'aix-soname' feature, so we have - # to replace the "-B" option with "-P" for AIX nm. - if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then - _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols' - else - _LT_TAGVAR(export_symbols_cmds, $1)='`func_echo_all $NM | $SED -e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && ([substr](\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols' - fi - ;; - pw32*) - _LT_TAGVAR(export_symbols_cmds, $1)=$ltdll_cmds - ;; - cygwin* | mingw* | cegcc*) - case $cc_basename in - cl*) - _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' - ;; - *) - _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols' - _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'] - ;; - esac - ;; - linux* | k*bsd*-gnu | gnu*) - _LT_TAGVAR(link_all_deplibs, $1)=no - ;; - *) - _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' - ;; - esac -], [ - runpath_var= - _LT_TAGVAR(allow_undefined_flag, $1)= - _LT_TAGVAR(always_export_symbols, $1)=no - _LT_TAGVAR(archive_cmds, $1)= - _LT_TAGVAR(archive_expsym_cmds, $1)= - _LT_TAGVAR(compiler_needs_object, $1)=no - _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no - _LT_TAGVAR(export_dynamic_flag_spec, $1)= - _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' - _LT_TAGVAR(hardcode_automatic, $1)=no - _LT_TAGVAR(hardcode_direct, $1)=no - _LT_TAGVAR(hardcode_direct_absolute, $1)=no - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= - _LT_TAGVAR(hardcode_libdir_separator, $1)= - _LT_TAGVAR(hardcode_minus_L, $1)=no - _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported - _LT_TAGVAR(inherit_rpath, $1)=no - _LT_TAGVAR(link_all_deplibs, $1)=unknown - _LT_TAGVAR(module_cmds, $1)= - _LT_TAGVAR(module_expsym_cmds, $1)= - _LT_TAGVAR(old_archive_from_new_cmds, $1)= - _LT_TAGVAR(old_archive_from_expsyms_cmds, $1)= - _LT_TAGVAR(thread_safe_flag_spec, $1)= - _LT_TAGVAR(whole_archive_flag_spec, $1)= - # include_expsyms should be a list of space-separated symbols to be *always* - # included in the symbol list - _LT_TAGVAR(include_expsyms, $1)= - # exclude_expsyms can be an extended regexp of symbols to exclude - # it will be wrapped by ' (' and ')$', so one must not match beginning or - # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', - # as well as any symbol that contains 'd'. - _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'] - # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out - # platforms (ab)use it in PIC code, but their linkers get confused if - # the symbol is explicitly referenced. Since portable code cannot - # rely on this symbol name, it's probably fine to never include it in - # preloaded symbol tables. - # Exclude shared library initialization/finalization symbols. -dnl Note also adjust exclude_expsyms for C++ above. - extract_expsyms_cmds= - - case $host_os in - cygwin* | mingw* | pw32* | cegcc*) - # FIXME: the MSVC++ port hasn't been tested in a loooong time - # When not using gcc, we currently assume that we are using - # Microsoft Visual C++. - if test yes != "$GCC"; then - with_gnu_ld=no - fi - ;; - interix*) - # we just hope/assume this is gcc and not c89 (= MSVC++) - with_gnu_ld=yes - ;; - openbsd* | bitrig*) - with_gnu_ld=no - ;; - linux* | k*bsd*-gnu | gnu*) - _LT_TAGVAR(link_all_deplibs, $1)=no - ;; - esac - - _LT_TAGVAR(ld_shlibs, $1)=yes - - # On some targets, GNU ld is compatible enough with the native linker - # that we're better off using the native interface for both. - lt_use_gnu_ld_interface=no - if test yes = "$with_gnu_ld"; then - case $host_os in - aix*) - # The AIX port of GNU ld has always aspired to compatibility - # with the native linker. However, as the warning in the GNU ld - # block says, versions before 2.19.5* couldn't really create working - # shared libraries, regardless of the interface used. - case `$LD -v 2>&1` in - *\ \(GNU\ Binutils\)\ 2.19.5*) ;; - *\ \(GNU\ Binutils\)\ 2.[[2-9]]*) ;; - *\ \(GNU\ Binutils\)\ [[3-9]]*) ;; - *) - lt_use_gnu_ld_interface=yes - ;; - esac - ;; - *) - lt_use_gnu_ld_interface=yes - ;; - esac - fi - - if test yes = "$lt_use_gnu_ld_interface"; then - # If archive_cmds runs LD, not CC, wlarc should be empty - wlarc='$wl' - - # Set some defaults for GNU ld with shared library support. These - # are reset later if shared libraries are not supported. Putting them - # here allows them to be overridden if necessary. - runpath_var=LD_RUN_PATH - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' - _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic' - # ancient GNU ld didn't support --whole-archive et. al. - if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then - _LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' - else - _LT_TAGVAR(whole_archive_flag_spec, $1)= - fi - supports_anon_versioning=no - case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in - *GNU\ gold*) supports_anon_versioning=yes ;; - *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11 - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... - *\ 2.11.*) ;; # other 2.11 versions - *) supports_anon_versioning=yes ;; - esac - - # See if GNU ld supports shared libraries. - case $host_os in - aix[[3-9]]*) - # On AIX/PPC, the GNU linker is very broken - if test ia64 != "$host_cpu"; then - _LT_TAGVAR(ld_shlibs, $1)=no - cat <<_LT_EOF 1>&2 - -*** Warning: the GNU linker, at least up to release 2.19, is reported -*** to be unable to reliably create shared libraries on AIX. -*** Therefore, libtool is disabling shared libraries support. If you -*** really care for shared libraries, you may want to install binutils -*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. -*** You will then need to restart the configuration process. - -_LT_EOF - fi - ;; - - amigaos*) - case $host_cpu in - powerpc) - # see comment about AmigaOS4 .so support - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='' - ;; - m68k) - _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_TAGVAR(hardcode_minus_L, $1)=yes - ;; - esac - ;; - - beos*) - if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then - _LT_TAGVAR(allow_undefined_flag, $1)=unsupported - # Joseph Beckenbach says some releases of gcc - # support --undefined. This deserves some investigation. FIXME - _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' - else - _LT_TAGVAR(ld_shlibs, $1)=no - fi - ;; - - cygwin* | mingw* | pw32* | cegcc*) - # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, - # as there is no search path for DLLs. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-all-symbols' - _LT_TAGVAR(allow_undefined_flag, $1)=unsupported - _LT_TAGVAR(always_export_symbols, $1)=no - _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes - _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols' - _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'] - - if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' - # If the export-symbols file already is a .def file, use it as - # is; otherwise, prepend EXPORTS... - _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then - cp $export_symbols $output_objdir/$soname.def; - else - echo EXPORTS > $output_objdir/$soname.def; - cat $export_symbols >> $output_objdir/$soname.def; - fi~ - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' - else - _LT_TAGVAR(ld_shlibs, $1)=no - fi - ;; - - haiku*) - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' - _LT_TAGVAR(link_all_deplibs, $1)=yes - ;; - - os2*) - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_TAGVAR(hardcode_minus_L, $1)=yes - _LT_TAGVAR(allow_undefined_flag, $1)=unsupported - shrext_cmds=.dll - _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ - $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ - $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ - $ECHO EXPORTS >> $output_objdir/$libname.def~ - emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ - $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ - emximp -o $lib $output_objdir/$libname.def' - _LT_TAGVAR(archive_expsym_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ - $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ - $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ - $ECHO EXPORTS >> $output_objdir/$libname.def~ - prefix_cmds="$SED"~ - if test EXPORTS = "`$SED 1q $export_symbols`"; then - prefix_cmds="$prefix_cmds -e 1d"; - fi~ - prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ - cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ - $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ - emximp -o $lib $output_objdir/$libname.def' - _LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' - _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes - ;; - - interix[[3-9]]*) - _LT_TAGVAR(hardcode_direct, $1)=no - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir' - _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' - # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. - # Instead, shared libraries are loaded at an image base (0x10000000 by - # default) and relocated if they conflict, which is a slow very memory - # consuming and fragmenting process. To avoid this, we pick a random, - # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link - # time. Moving up from 0x10000000 also allows more sbrk(2) space. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' - ;; - - gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) - tmp_diet=no - if test linux-dietlibc = "$host_os"; then - case $cc_basename in - diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) - esac - fi - if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ - && test no = "$tmp_diet" - then - tmp_addflag=' $pic_flag' - tmp_sharedflag='-shared' - case $cc_basename,$host_cpu in - pgcc*) # Portland Group C compiler - _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' - tmp_addflag=' $pic_flag' - ;; - pgf77* | pgf90* | pgf95* | pgfortran*) - # Portland Group f77 and f90 compilers - _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' - tmp_addflag=' $pic_flag -Mnomain' ;; - ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 - tmp_addflag=' -i_dynamic' ;; - efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 - tmp_addflag=' -i_dynamic -nofor_main' ;; - ifc* | ifort*) # Intel Fortran compiler - tmp_addflag=' -nofor_main' ;; - lf95*) # Lahey Fortran 8.1 - _LT_TAGVAR(whole_archive_flag_spec, $1)= - tmp_sharedflag='--shared' ;; - nagfor*) # NAGFOR 5.3 - tmp_sharedflag='-Wl,-shared' ;; - xl[[cC]]* | bgxl[[cC]]* | mpixl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below) - tmp_sharedflag='-qmkshrobj' - tmp_addflag= ;; - nvcc*) # Cuda Compiler Driver 2.2 - _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' - _LT_TAGVAR(compiler_needs_object, $1)=yes - ;; - esac - case `$CC -V 2>&1 | sed 5q` in - *Sun\ C*) # Sun C 5.9 - _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' - _LT_TAGVAR(compiler_needs_object, $1)=yes - tmp_sharedflag='-G' ;; - *Sun\ F*) # Sun Fortran 8.3 - tmp_sharedflag='-G' ;; - esac - _LT_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' - - if test yes = "$supports_anon_versioning"; then - _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ - echo "local: *; };" >> $output_objdir/$libname.ver~ - $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' - fi - - case $cc_basename in - tcc*) - _LT_TAGVAR(export_dynamic_flag_spec, $1)='-rdynamic' - ;; - xlf* | bgf* | bgxlf* | mpixlf*) - # IBM XL Fortran 10.1 on PPC cannot create shared libs itself - _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive' - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' - _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' - if test yes = "$supports_anon_versioning"; then - _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ - echo "local: *; };" >> $output_objdir/$libname.ver~ - $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' - fi - ;; - esac - else - _LT_TAGVAR(ld_shlibs, $1)=no - fi - ;; - - netbsd* | netbsdelf*-gnu) - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then - _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' - wlarc= - else - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' - fi - ;; - - solaris*) - if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then - _LT_TAGVAR(ld_shlibs, $1)=no - cat <<_LT_EOF 1>&2 - -*** Warning: The releases 2.8.* of the GNU linker cannot reliably -*** create shared libraries on Solaris systems. Therefore, libtool -*** is disabling shared libraries support. We urge you to upgrade GNU -*** binutils to release 2.9.1 or newer. Another option is to modify -*** your PATH or compiler configuration so that the native linker is -*** used, and then restart. - -_LT_EOF - elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' - else - _LT_TAGVAR(ld_shlibs, $1)=no - fi - ;; - - sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) - case `$LD -v 2>&1` in - *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*) - _LT_TAGVAR(ld_shlibs, $1)=no - cat <<_LT_EOF 1>&2 - -*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot -*** reliably create shared libraries on SCO systems. Therefore, libtool -*** is disabling shared libraries support. We urge you to upgrade GNU -*** binutils to release 2.16.91.0.3 or newer. Another option is to modify -*** your PATH or compiler configuration so that the native linker is -*** used, and then restart. - -_LT_EOF - ;; - *) - # For security reasons, it is highly recommended that you always - # use absolute paths for naming shared libraries, and exclude the - # DT_RUNPATH tag from executables and libraries. But doing so - # requires that you compile everything twice, which is a pain. - if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' - else - _LT_TAGVAR(ld_shlibs, $1)=no - fi - ;; - esac - ;; - - sunos4*) - _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' - wlarc= - _LT_TAGVAR(hardcode_direct, $1)=yes - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - *) - if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' - else - _LT_TAGVAR(ld_shlibs, $1)=no - fi - ;; - esac - - if test no = "$_LT_TAGVAR(ld_shlibs, $1)"; then - runpath_var= - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= - _LT_TAGVAR(export_dynamic_flag_spec, $1)= - _LT_TAGVAR(whole_archive_flag_spec, $1)= - fi - else - # PORTME fill in a description of your system's linker (not GNU ld) - case $host_os in - aix3*) - _LT_TAGVAR(allow_undefined_flag, $1)=unsupported - _LT_TAGVAR(always_export_symbols, $1)=yes - _LT_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' - # Note: this linker hardcodes the directories in LIBPATH if there - # are no directories specified by -L. - _LT_TAGVAR(hardcode_minus_L, $1)=yes - if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then - # Neither direct hardcoding nor static linking is supported with a - # broken collect2. - _LT_TAGVAR(hardcode_direct, $1)=unsupported - fi - ;; - - aix[[4-9]]*) - if test ia64 = "$host_cpu"; then - # On IA64, the linker does run time linking by default, so we don't - # have to do anything special. - aix_use_runtimelinking=no - exp_sym_flag='-Bexport' - no_entry_flag= - else - # If we're using GNU nm, then we don't want the "-C" option. - # -C means demangle to GNU nm, but means don't demangle to AIX nm. - # Without the "-l" option, or with the "-B" option, AIX nm treats - # weak defined symbols like other global defined symbols, whereas - # GNU nm marks them as "W". - # While the 'weak' keyword is ignored in the Export File, we need - # it in the Import File for the 'aix-soname' feature, so we have - # to replace the "-B" option with "-P" for AIX nm. - if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then - _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols' - else - _LT_TAGVAR(export_symbols_cmds, $1)='`func_echo_all $NM | $SED -e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && ([substr](\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols' - fi - aix_use_runtimelinking=no - - # Test if we are trying to use run time linking or normal - # AIX style linking. If -brtl is somewhere in LDFLAGS, we - # have runtime linking enabled, and use it for executables. - # For shared libraries, we enable/disable runtime linking - # depending on the kind of the shared library created - - # when "with_aix_soname,aix_use_runtimelinking" is: - # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables - # "aix,yes" lib.so shared, rtl:yes, for executables - # lib.a static archive - # "both,no" lib.so.V(shr.o) shared, rtl:yes - # lib.a(lib.so.V) shared, rtl:no, for executables - # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables - # lib.a(lib.so.V) shared, rtl:no - # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables - # lib.a static archive - case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*) - for ld_flag in $LDFLAGS; do - if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then - aix_use_runtimelinking=yes - break - fi - done - if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then - # With aix-soname=svr4, we create the lib.so.V shared archives only, - # so we don't have lib.a shared libs to link our executables. - # We have to force runtime linking in this case. - aix_use_runtimelinking=yes - LDFLAGS="$LDFLAGS -Wl,-brtl" - fi - ;; - esac - - exp_sym_flag='-bexport' - no_entry_flag='-bnoentry' - fi - - # When large executables or shared objects are built, AIX ld can - # have problems creating the table of contents. If linking a library - # or program results in "error TOC overflow" add -mminimal-toc to - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. - - _LT_TAGVAR(archive_cmds, $1)='' - _LT_TAGVAR(hardcode_direct, $1)=yes - _LT_TAGVAR(hardcode_direct_absolute, $1)=yes - _LT_TAGVAR(hardcode_libdir_separator, $1)=':' - _LT_TAGVAR(link_all_deplibs, $1)=yes - _LT_TAGVAR(file_list_spec, $1)='$wl-f,' - case $with_aix_soname,$aix_use_runtimelinking in - aix,*) ;; # traditional, no import file - svr4,* | *,yes) # use import file - # The Import File defines what to hardcode. - _LT_TAGVAR(hardcode_direct, $1)=no - _LT_TAGVAR(hardcode_direct_absolute, $1)=no - ;; - esac - - if test yes = "$GCC"; then - case $host_os in aix4.[[012]]|aix4.[[012]].*) - # We only want to do this on AIX 4.2 and lower, the check - # below for broken collect2 doesn't work under 4.3+ - collect2name=`$CC -print-prog-name=collect2` - if test -f "$collect2name" && - strings "$collect2name" | $GREP resolve_lib_name >/dev/null - then - # We have reworked collect2 - : - else - # We have old collect2 - _LT_TAGVAR(hardcode_direct, $1)=unsupported - # It fails to find uninstalled libraries when the uninstalled - # path is not listed in the libpath. Setting hardcode_minus_L - # to unsupported forces relinking - _LT_TAGVAR(hardcode_minus_L, $1)=yes - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_TAGVAR(hardcode_libdir_separator, $1)= - fi - ;; - esac - shared_flag='-shared' - if test yes = "$aix_use_runtimelinking"; then - shared_flag="$shared_flag "'$wl-G' - fi - # Need to ensure runtime linking is disabled for the traditional - # shared library, or the linker may eventually find shared libraries - # /with/ Import File - we do not want to mix them. - shared_flag_aix='-shared' - shared_flag_svr4='-shared $wl-G' - else - # not using gcc - if test ia64 = "$host_cpu"; then - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release - # chokes on -Wl,-G. The following line is correct: - shared_flag='-G' - else - if test yes = "$aix_use_runtimelinking"; then - shared_flag='$wl-G' - else - shared_flag='$wl-bM:SRE' - fi - shared_flag_aix='$wl-bM:SRE' - shared_flag_svr4='$wl-G' - fi - fi - - _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-bexpall' - # It seems that -bexpall does not export symbols beginning with - # underscore (_), so it is better to generate a list of symbols to export. - _LT_TAGVAR(always_export_symbols, $1)=yes - if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then - # Warning - without using the other runtime loading flags (-brtl), - # -berok will link without error, but may produce a broken library. - _LT_TAGVAR(allow_undefined_flag, $1)='-berok' - # Determine the default libpath from the value encoded in an - # empty executable. - _LT_SYS_MODULE_PATH_AIX([$1]) - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath" - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag - else - if test ia64 = "$host_cpu"; then - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $libdir:/usr/lib:/lib' - _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs" - _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols" - else - # Determine the default libpath from the value encoded in an - # empty executable. - _LT_SYS_MODULE_PATH_AIX([$1]) - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath" - # Warning - without using the other run time loading flags, - # -berok will link without error, but may produce a broken library. - _LT_TAGVAR(no_undefined_flag, $1)=' $wl-bernotok' - _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-berok' - if test yes = "$with_gnu_ld"; then - # We only use this code for GNU lds that support --whole-archive. - _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive' - else - # Exported symbols can be pulled into shared objects from archives - _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience' - fi - _LT_TAGVAR(archive_cmds_need_lc, $1)=yes - _LT_TAGVAR(archive_expsym_cmds, $1)='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' - # -brtl affects multiple linker settings, -berok does not and is overridden later - compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([[, ]]\\)%-berok\\1%g"`' - if test svr4 != "$with_aix_soname"; then - # This is similar to how AIX traditionally builds its shared libraries. - _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname' - fi - if test aix != "$with_aix_soname"; then - _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp' - else - # used by -dlpreopen to get the symbols - _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$MV $output_objdir/$realname.d/$soname $output_objdir' - fi - _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$RM -r $output_objdir/$realname.d' - fi - fi - ;; - - amigaos*) - case $host_cpu in - powerpc) - # see comment about AmigaOS4 .so support - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='' - ;; - m68k) - _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_TAGVAR(hardcode_minus_L, $1)=yes - ;; - esac - ;; - - bsdi[[45]]*) - _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic - ;; - - cygwin* | mingw* | pw32* | cegcc*) - # When not using gcc, we currently assume that we are using - # Microsoft Visual C++. - # hardcode_libdir_flag_spec is actually meaningless, as there is - # no search path for DLLs. - case $cc_basename in - cl*) - # Native MSVC - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' - _LT_TAGVAR(allow_undefined_flag, $1)=unsupported - _LT_TAGVAR(always_export_symbols, $1)=yes - _LT_TAGVAR(file_list_spec, $1)='@' - # Tell ltmain to make .lib files, not .a files. - libext=lib - # Tell ltmain to make .dll files, not .so files. - shrext_cmds=.dll - # FIXME: Setting linknames here is a bad hack. - _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' - _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then - cp "$export_symbols" "$output_objdir/$soname.def"; - echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; - else - $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; - fi~ - $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ - linknames=' - # The linker will not automatically build a static lib if we build a DLL. - # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true' - _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes - _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' - _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1,DATA/'\'' | $SED -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols' - # Don't use ranlib - _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib' - _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~ - lt_tool_outputfile="@TOOL_OUTPUT@"~ - case $lt_outputfile in - *.exe|*.EXE) ;; - *) - lt_outputfile=$lt_outputfile.exe - lt_tool_outputfile=$lt_tool_outputfile.exe - ;; - esac~ - if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then - $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; - $RM "$lt_outputfile.manifest"; - fi' - ;; - *) - # Assume MSVC wrapper - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' - _LT_TAGVAR(allow_undefined_flag, $1)=unsupported - # Tell ltmain to make .lib files, not .a files. - libext=lib - # Tell ltmain to make .dll files, not .so files. - shrext_cmds=.dll - # FIXME: Setting linknames here is a bad hack. - _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' - # The linker will automatically build a .lib file if we build a DLL. - _LT_TAGVAR(old_archive_from_new_cmds, $1)='true' - # FIXME: Should let the user specify the lib program. - _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs' - _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes - ;; - esac - ;; - - darwin* | rhapsody*) - _LT_DARWIN_LINKER_FEATURES($1) - ;; - - dgux*) - _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor - # support. Future versions do this automatically, but an explicit c++rt0.o - # does not break anything, and helps significantly (at the cost of a little - # extra space). - freebsd2.2*) - _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' - _LT_TAGVAR(hardcode_direct, $1)=yes - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - # Unfortunately, older versions of FreeBSD 2 do not have this feature. - freebsd2.*) - _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' - _LT_TAGVAR(hardcode_direct, $1)=yes - _LT_TAGVAR(hardcode_minus_L, $1)=yes - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - # FreeBSD 3 and greater uses gcc -shared to do shared libraries. - freebsd* | dragonfly*) - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' - _LT_TAGVAR(hardcode_direct, $1)=yes - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - hpux9*) - if test yes = "$GCC"; then - _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' - else - _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' - fi - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir' - _LT_TAGVAR(hardcode_libdir_separator, $1)=: - _LT_TAGVAR(hardcode_direct, $1)=yes - - # hardcode_minus_L: Not really in the search PATH, - # but as the default location of the library. - _LT_TAGVAR(hardcode_minus_L, $1)=yes - _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' - ;; - - hpux10*) - if test yes,no = "$GCC,$with_gnu_ld"; then - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' - else - _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' - fi - if test no = "$with_gnu_ld"; then - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir' - _LT_TAGVAR(hardcode_libdir_separator, $1)=: - _LT_TAGVAR(hardcode_direct, $1)=yes - _LT_TAGVAR(hardcode_direct_absolute, $1)=yes - _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' - # hardcode_minus_L: Not really in the search PATH, - # but as the default location of the library. - _LT_TAGVAR(hardcode_minus_L, $1)=yes - fi - ;; - - hpux11*) - if test yes,no = "$GCC,$with_gnu_ld"; then - case $host_cpu in - hppa*64*) - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - ia64*) - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' - ;; - *) - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' - ;; - esac - else - case $host_cpu in - hppa*64*) - _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - ia64*) - _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' - ;; - *) - m4_if($1, [], [ - # Older versions of the 11.00 compiler do not understand -b yet - # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) - _LT_LINKER_OPTION([if $CC understands -b], - _LT_TAGVAR(lt_cv_prog_compiler__b, $1), [-b], - [_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'], - [_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'])], - [_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags']) - ;; - esac - fi - if test no = "$with_gnu_ld"; then - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir' - _LT_TAGVAR(hardcode_libdir_separator, $1)=: - - case $host_cpu in - hppa*64*|ia64*) - _LT_TAGVAR(hardcode_direct, $1)=no - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - *) - _LT_TAGVAR(hardcode_direct, $1)=yes - _LT_TAGVAR(hardcode_direct_absolute, $1)=yes - _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' - - # hardcode_minus_L: Not really in the search PATH, - # but as the default location of the library. - _LT_TAGVAR(hardcode_minus_L, $1)=yes - ;; - esac - fi - ;; - - irix5* | irix6* | nonstopux*) - if test yes = "$GCC"; then - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' - # Try to use the -exported_symbol ld option, if it does not - # work, assume that -exports_file does not work either and - # implicitly export all symbols. - # This should be the same for all languages, so no per-tag cache variable. - AC_CACHE_CHECK([whether the $host_os linker accepts -exported_symbol], - [lt_cv_irix_exported_symbol], - [save_LDFLAGS=$LDFLAGS - LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" - AC_LINK_IFELSE( - [AC_LANG_SOURCE( - [AC_LANG_CASE([C], [[int foo (void) { return 0; }]], - [C++], [[int foo (void) { return 0; }]], - [Fortran 77], [[ - subroutine foo - end]], - [Fortran], [[ - subroutine foo - end]])])], - [lt_cv_irix_exported_symbol=yes], - [lt_cv_irix_exported_symbol=no]) - LDFLAGS=$save_LDFLAGS]) - if test yes = "$lt_cv_irix_exported_symbol"; then - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib' - fi - _LT_TAGVAR(link_all_deplibs, $1)=no - else - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib' - fi - _LT_TAGVAR(archive_cmds_need_lc, $1)='no' - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' - _LT_TAGVAR(hardcode_libdir_separator, $1)=: - _LT_TAGVAR(inherit_rpath, $1)=yes - _LT_TAGVAR(link_all_deplibs, $1)=yes - ;; - - linux*) - case $cc_basename in - tcc*) - # Fabrice Bellard et al's Tiny C Compiler - _LT_TAGVAR(ld_shlibs, $1)=yes - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' - ;; - esac - ;; - - netbsd* | netbsdelf*-gnu) - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then - _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out - else - _LT_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF - fi - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' - _LT_TAGVAR(hardcode_direct, $1)=yes - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - newsos6) - _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - _LT_TAGVAR(hardcode_direct, $1)=yes - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' - _LT_TAGVAR(hardcode_libdir_separator, $1)=: - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - *nto* | *qnx*) - ;; - - openbsd* | bitrig*) - if test -f /usr/libexec/ld.so; then - _LT_TAGVAR(hardcode_direct, $1)=yes - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - _LT_TAGVAR(hardcode_direct_absolute, $1)=yes - if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir' - _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' - else - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir' - fi - else - _LT_TAGVAR(ld_shlibs, $1)=no - fi - ;; - - os2*) - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_TAGVAR(hardcode_minus_L, $1)=yes - _LT_TAGVAR(allow_undefined_flag, $1)=unsupported - shrext_cmds=.dll - _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ - $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ - $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ - $ECHO EXPORTS >> $output_objdir/$libname.def~ - emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ - $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ - emximp -o $lib $output_objdir/$libname.def' - _LT_TAGVAR(archive_expsym_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ - $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ - $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ - $ECHO EXPORTS >> $output_objdir/$libname.def~ - prefix_cmds="$SED"~ - if test EXPORTS = "`$SED 1q $export_symbols`"; then - prefix_cmds="$prefix_cmds -e 1d"; - fi~ - prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ - cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ - $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ - emximp -o $lib $output_objdir/$libname.def' - _LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' - _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes - ;; - - osf3*) - if test yes = "$GCC"; then - _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*' - _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' - else - _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' - _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' - fi - _LT_TAGVAR(archive_cmds_need_lc, $1)='no' - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' - _LT_TAGVAR(hardcode_libdir_separator, $1)=: - ;; - - osf4* | osf5*) # as osf3* with the addition of -msym flag - if test yes = "$GCC"; then - _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*' - _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' - else - _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' - _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ - $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp' - - # Both c and cxx compiler support -rpath directly - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' - fi - _LT_TAGVAR(archive_cmds_need_lc, $1)='no' - _LT_TAGVAR(hardcode_libdir_separator, $1)=: - ;; - - solaris*) - _LT_TAGVAR(no_undefined_flag, $1)=' -z defs' - if test yes = "$GCC"; then - wlarc='$wl' - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ - $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' - else - case `$CC -V 2>&1` in - *"Compilers 5.0"*) - wlarc='' - _LT_TAGVAR(archive_cmds, $1)='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' - _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ - $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' - ;; - *) - wlarc='$wl' - _LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ - $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' - ;; - esac - fi - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - case $host_os in - solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; - *) - # The compiler driver will combine and reorder linker options, - # but understands '-z linker_flag'. GCC discards it without '$wl', - # but is careful enough not to reorder. - # Supported since Solaris 2.6 (maybe 2.5.1?) - if test yes = "$GCC"; then - _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' - else - _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' - fi - ;; - esac - _LT_TAGVAR(link_all_deplibs, $1)=yes - ;; - - sunos4*) - if test sequent = "$host_vendor"; then - # Use $CC to link under sequent, because it throws in some extra .o - # files that make .init and .fini sections work. - _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' - else - _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' - fi - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_TAGVAR(hardcode_direct, $1)=yes - _LT_TAGVAR(hardcode_minus_L, $1)=yes - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - sysv4) - case $host_vendor in - sni) - _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - _LT_TAGVAR(hardcode_direct, $1)=yes # is this really true??? - ;; - siemens) - ## LD is ld it makes a PLAMLIB - ## CC just makes a GrossModule. - _LT_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags' - _LT_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs' - _LT_TAGVAR(hardcode_direct, $1)=no - ;; - motorola) - _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - _LT_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie - ;; - esac - runpath_var='LD_RUN_PATH' - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - sysv4.3*) - _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - _LT_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport' - ;; - - sysv4*MP*) - if test -d /usr/nec; then - _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - runpath_var=LD_RUN_PATH - hardcode_runpath_var=yes - _LT_TAGVAR(ld_shlibs, $1)=yes - fi - ;; - - sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*) - _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text' - _LT_TAGVAR(archive_cmds_need_lc, $1)=no - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - runpath_var='LD_RUN_PATH' - - if test yes = "$GCC"; then - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - else - _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - fi - ;; - - sysv5* | sco3.2v5* | sco5v6*) - # Note: We CANNOT use -z defs as we might desire, because we do not - # link with -lc, and that would cause any symbols used from libc to - # always be unresolved, which means just about no library would - # ever link correctly. If we're not using GNU ld we use -z text - # though, which does catch some bad symbols but isn't as heavy-handed - # as -z defs. - _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text' - _LT_TAGVAR(allow_undefined_flag, $1)='$wl-z,nodefs' - _LT_TAGVAR(archive_cmds_need_lc, $1)=no - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R,$libdir' - _LT_TAGVAR(hardcode_libdir_separator, $1)=':' - _LT_TAGVAR(link_all_deplibs, $1)=yes - _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Bexport' - runpath_var='LD_RUN_PATH' - - if test yes = "$GCC"; then - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - else - _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - fi - ;; - - uts4*) - _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - *) - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - esac - - if test sni = "$host_vendor"; then - case $host in - sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) - _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Blargedynsym' - ;; - esac - fi - fi -]) -AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)]) -test no = "$_LT_TAGVAR(ld_shlibs, $1)" && can_build_shared=no - -_LT_TAGVAR(with_gnu_ld, $1)=$with_gnu_ld - -_LT_DECL([], [libext], [0], [Old archive suffix (normally "a")])dnl -_LT_DECL([], [shrext_cmds], [1], [Shared library suffix (normally ".so")])dnl -_LT_DECL([], [extract_expsyms_cmds], [2], - [The commands to extract the exported symbol list from a shared archive]) - -# -# Do we need to explicitly link libc? -# -case "x$_LT_TAGVAR(archive_cmds_need_lc, $1)" in -x|xyes) - # Assume -lc should be added - _LT_TAGVAR(archive_cmds_need_lc, $1)=yes - - if test yes,yes = "$GCC,$enable_shared"; then - case $_LT_TAGVAR(archive_cmds, $1) in - *'~'*) - # FIXME: we may have to deal with multi-command sequences. - ;; - '$CC '*) - # Test whether the compiler implicitly links with -lc since on some - # systems, -lgcc has to come before -lc. If gcc already passes -lc - # to ld, don't add -lc before -lgcc. - AC_CACHE_CHECK([whether -lc should be explicitly linked in], - [lt_cv_]_LT_TAGVAR(archive_cmds_need_lc, $1), - [$RM conftest* - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - - if AC_TRY_EVAL(ac_compile) 2>conftest.err; then - soname=conftest - lib=conftest - libobjs=conftest.$ac_objext - deplibs= - wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) - pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1) - compiler_flags=-v - linker_flags=-v - verstring= - output_objdir=. - libname=conftest - lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1) - _LT_TAGVAR(allow_undefined_flag, $1)= - if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) - then - lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=no - else - lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=yes - fi - _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag - else - cat conftest.err 1>&5 - fi - $RM conftest* - ]) - _LT_TAGVAR(archive_cmds_need_lc, $1)=$lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1) - ;; - esac - fi - ;; -esac - -_LT_TAGDECL([build_libtool_need_lc], [archive_cmds_need_lc], [0], - [Whether or not to add -lc for building shared libraries]) -_LT_TAGDECL([allow_libtool_libs_with_static_runtimes], - [enable_shared_with_static_runtimes], [0], - [Whether or not to disallow shared libs when runtime libs are static]) -_LT_TAGDECL([], [export_dynamic_flag_spec], [1], - [Compiler flag to allow reflexive dlopens]) -_LT_TAGDECL([], [whole_archive_flag_spec], [1], - [Compiler flag to generate shared objects directly from archives]) -_LT_TAGDECL([], [compiler_needs_object], [1], - [Whether the compiler copes with passing no objects directly]) -_LT_TAGDECL([], [old_archive_from_new_cmds], [2], - [Create an old-style archive from a shared archive]) -_LT_TAGDECL([], [old_archive_from_expsyms_cmds], [2], - [Create a temporary old-style archive to link instead of a shared archive]) -_LT_TAGDECL([], [archive_cmds], [2], [Commands used to build a shared archive]) -_LT_TAGDECL([], [archive_expsym_cmds], [2]) -_LT_TAGDECL([], [module_cmds], [2], - [Commands used to build a loadable module if different from building - a shared archive.]) -_LT_TAGDECL([], [module_expsym_cmds], [2]) -_LT_TAGDECL([], [with_gnu_ld], [1], - [Whether we are building with GNU ld or not]) -_LT_TAGDECL([], [allow_undefined_flag], [1], - [Flag that allows shared libraries with undefined symbols to be built]) -_LT_TAGDECL([], [no_undefined_flag], [1], - [Flag that enforces no undefined symbols]) -_LT_TAGDECL([], [hardcode_libdir_flag_spec], [1], - [Flag to hardcode $libdir into a binary during linking. - This must work even if $libdir does not exist]) -_LT_TAGDECL([], [hardcode_libdir_separator], [1], - [Whether we need a single "-rpath" flag with a separated argument]) -_LT_TAGDECL([], [hardcode_direct], [0], - [Set to "yes" if using DIR/libNAME$shared_ext during linking hardcodes - DIR into the resulting binary]) -_LT_TAGDECL([], [hardcode_direct_absolute], [0], - [Set to "yes" if using DIR/libNAME$shared_ext during linking hardcodes - DIR into the resulting binary and the resulting library dependency is - "absolute", i.e impossible to change by setting $shlibpath_var if the - library is relocated]) -_LT_TAGDECL([], [hardcode_minus_L], [0], - [Set to "yes" if using the -LDIR flag during linking hardcodes DIR - into the resulting binary]) -_LT_TAGDECL([], [hardcode_shlibpath_var], [0], - [Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR - into the resulting binary]) -_LT_TAGDECL([], [hardcode_automatic], [0], - [Set to "yes" if building a shared library automatically hardcodes DIR - into the library and all subsequent libraries and executables linked - against it]) -_LT_TAGDECL([], [inherit_rpath], [0], - [Set to yes if linker adds runtime paths of dependent libraries - to runtime path list]) -_LT_TAGDECL([], [link_all_deplibs], [0], - [Whether libtool must link a program against all its dependency libraries]) -_LT_TAGDECL([], [always_export_symbols], [0], - [Set to "yes" if exported symbols are required]) -_LT_TAGDECL([], [export_symbols_cmds], [2], - [The commands to list exported symbols]) -_LT_TAGDECL([], [exclude_expsyms], [1], - [Symbols that should not be listed in the preloaded symbols]) -_LT_TAGDECL([], [include_expsyms], [1], - [Symbols that must always be exported]) -_LT_TAGDECL([], [prelink_cmds], [2], - [Commands necessary for linking programs (against libraries) with templates]) -_LT_TAGDECL([], [postlink_cmds], [2], - [Commands necessary for finishing linking programs]) -_LT_TAGDECL([], [file_list_spec], [1], - [Specify filename containing input files]) -dnl FIXME: Not yet implemented -dnl _LT_TAGDECL([], [thread_safe_flag_spec], [1], -dnl [Compiler flag to generate thread safe objects]) -])# _LT_LINKER_SHLIBS - - -# _LT_LANG_C_CONFIG([TAG]) -# ------------------------ -# Ensure that the configuration variables for a C compiler are suitably -# defined. These variables are subsequently used by _LT_CONFIG to write -# the compiler configuration to 'libtool'. -m4_defun([_LT_LANG_C_CONFIG], -[m4_require([_LT_DECL_EGREP])dnl -lt_save_CC=$CC -AC_LANG_PUSH(C) - -# Source file extension for C test sources. -ac_ext=c - -# Object file extension for compiled C test sources. -objext=o -_LT_TAGVAR(objext, $1)=$objext - -# Code to be used in simple compile tests -lt_simple_compile_test_code="int some_variable = 0;" - -# Code to be used in simple link tests -lt_simple_link_test_code='int main(){return(0);}' - -_LT_TAG_COMPILER -# Save the default compiler, since it gets overwritten when the other -# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. -compiler_DEFAULT=$CC - -# save warnings/boilerplate of simple test code -_LT_COMPILER_BOILERPLATE -_LT_LINKER_BOILERPLATE - -## CAVEAT EMPTOR: -## There is no encapsulation within the following macros, do not change -## the running order or otherwise move them around unless you know exactly -## what you are doing... -if test -n "$compiler"; then - _LT_COMPILER_NO_RTTI($1) - _LT_COMPILER_PIC($1) - _LT_COMPILER_C_O($1) - _LT_COMPILER_FILE_LOCKS($1) - _LT_LINKER_SHLIBS($1) - _LT_SYS_DYNAMIC_LINKER($1) - _LT_LINKER_HARDCODE_LIBPATH($1) - LT_SYS_DLOPEN_SELF - _LT_CMD_STRIPLIB - - # Report what library types will actually be built - AC_MSG_CHECKING([if libtool supports shared libraries]) - AC_MSG_RESULT([$can_build_shared]) - - AC_MSG_CHECKING([whether to build shared libraries]) - test no = "$can_build_shared" && enable_shared=no - - # On AIX, shared libraries and static libraries use the same namespace, and - # are all built from PIC. - case $host_os in - aix3*) - test yes = "$enable_shared" && enable_static=no - if test -n "$RANLIB"; then - archive_cmds="$archive_cmds~\$RANLIB \$lib" - postinstall_cmds='$RANLIB $lib' - fi - ;; - - aix[[4-9]]*) - if test ia64 != "$host_cpu"; then - case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in - yes,aix,yes) ;; # shared object as lib.so file only - yes,svr4,*) ;; # shared object as lib.so archive member only - yes,*) enable_static=no ;; # shared object in lib.a archive as well - esac - fi - ;; - esac - AC_MSG_RESULT([$enable_shared]) - - AC_MSG_CHECKING([whether to build static libraries]) - # Make sure either enable_shared or enable_static is yes. - test yes = "$enable_shared" || enable_static=yes - AC_MSG_RESULT([$enable_static]) - - _LT_CONFIG($1) -fi -AC_LANG_POP -CC=$lt_save_CC -])# _LT_LANG_C_CONFIG - - -# _LT_LANG_CXX_CONFIG([TAG]) -# -------------------------- -# Ensure that the configuration variables for a C++ compiler are suitably -# defined. These variables are subsequently used by _LT_CONFIG to write -# the compiler configuration to 'libtool'. -m4_defun([_LT_LANG_CXX_CONFIG], -[m4_require([_LT_FILEUTILS_DEFAULTS])dnl -m4_require([_LT_DECL_EGREP])dnl -m4_require([_LT_PATH_MANIFEST_TOOL])dnl -if test -n "$CXX" && ( test no != "$CXX" && - ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) || - (test g++ != "$CXX"))); then - AC_PROG_CXXCPP -else - _lt_caught_CXX_error=yes -fi - -AC_LANG_PUSH(C++) -_LT_TAGVAR(archive_cmds_need_lc, $1)=no -_LT_TAGVAR(allow_undefined_flag, $1)= -_LT_TAGVAR(always_export_symbols, $1)=no -_LT_TAGVAR(archive_expsym_cmds, $1)= -_LT_TAGVAR(compiler_needs_object, $1)=no -_LT_TAGVAR(export_dynamic_flag_spec, $1)= -_LT_TAGVAR(hardcode_direct, $1)=no -_LT_TAGVAR(hardcode_direct_absolute, $1)=no -_LT_TAGVAR(hardcode_libdir_flag_spec, $1)= -_LT_TAGVAR(hardcode_libdir_separator, $1)= -_LT_TAGVAR(hardcode_minus_L, $1)=no -_LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported -_LT_TAGVAR(hardcode_automatic, $1)=no -_LT_TAGVAR(inherit_rpath, $1)=no -_LT_TAGVAR(module_cmds, $1)= -_LT_TAGVAR(module_expsym_cmds, $1)= -_LT_TAGVAR(link_all_deplibs, $1)=unknown -_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds -_LT_TAGVAR(reload_flag, $1)=$reload_flag -_LT_TAGVAR(reload_cmds, $1)=$reload_cmds -_LT_TAGVAR(no_undefined_flag, $1)= -_LT_TAGVAR(whole_archive_flag_spec, $1)= -_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no - -# Source file extension for C++ test sources. -ac_ext=cpp - -# Object file extension for compiled C++ test sources. -objext=o -_LT_TAGVAR(objext, $1)=$objext - -# No sense in running all these tests if we already determined that -# the CXX compiler isn't working. Some variables (like enable_shared) -# are currently assumed to apply to all compilers on this platform, -# and will be corrupted by setting them based on a non-working compiler. -if test yes != "$_lt_caught_CXX_error"; then - # Code to be used in simple compile tests - lt_simple_compile_test_code="int some_variable = 0;" - - # Code to be used in simple link tests - lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }' - - # ltmain only uses $CC for tagged configurations so make sure $CC is set. - _LT_TAG_COMPILER - - # save warnings/boilerplate of simple test code - _LT_COMPILER_BOILERPLATE - _LT_LINKER_BOILERPLATE - - # Allow CC to be a program name with arguments. - lt_save_CC=$CC - lt_save_CFLAGS=$CFLAGS - lt_save_LD=$LD - lt_save_GCC=$GCC - GCC=$GXX - lt_save_with_gnu_ld=$with_gnu_ld - lt_save_path_LD=$lt_cv_path_LD - if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then - lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx - else - $as_unset lt_cv_prog_gnu_ld - fi - if test -n "${lt_cv_path_LDCXX+set}"; then - lt_cv_path_LD=$lt_cv_path_LDCXX - else - $as_unset lt_cv_path_LD - fi - test -z "${LDCXX+set}" || LD=$LDCXX - CC=${CXX-"c++"} - CFLAGS=$CXXFLAGS - compiler=$CC - _LT_TAGVAR(compiler, $1)=$CC - _LT_CC_BASENAME([$compiler]) - - if test -n "$compiler"; then - # We don't want -fno-exception when compiling C++ code, so set the - # no_builtin_flag separately - if test yes = "$GXX"; then - _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' - else - _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= - fi - - if test yes = "$GXX"; then - # Set up default GNU C++ configuration - - LT_PATH_LD - - # Check if GNU C++ uses GNU ld as the underlying linker, since the - # archiving commands below assume that GNU ld is being used. - if test yes = "$with_gnu_ld"; then - _LT_TAGVAR(archive_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' - - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' - _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic' - - # If archive_cmds runs LD, not CC, wlarc should be empty - # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to - # investigate it a little bit more. (MM) - wlarc='$wl' - - # ancient GNU ld didn't support --whole-archive et. al. - if eval "`$CC -print-prog-name=ld` --help 2>&1" | - $GREP 'no-whole-archive' > /dev/null; then - _LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' - else - _LT_TAGVAR(whole_archive_flag_spec, $1)= - fi - else - with_gnu_ld=no - wlarc= - - # A generic and very simple default shared library creation - # command for GNU C++ for the case where it uses the native - # linker, instead of GNU ld. If possible, this setting should - # overridden to take advantage of the native linker features on - # the platform it is being used on. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' - fi - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"' - - else - GXX=no - with_gnu_ld=no - wlarc= - fi - - # PORTME: fill in a description of your system's C++ link characteristics - AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) - _LT_TAGVAR(ld_shlibs, $1)=yes - case $host_os in - aix3*) - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - aix[[4-9]]*) - if test ia64 = "$host_cpu"; then - # On IA64, the linker does run time linking by default, so we don't - # have to do anything special. - aix_use_runtimelinking=no - exp_sym_flag='-Bexport' - no_entry_flag= - else - aix_use_runtimelinking=no - - # Test if we are trying to use run time linking or normal - # AIX style linking. If -brtl is somewhere in LDFLAGS, we - # have runtime linking enabled, and use it for executables. - # For shared libraries, we enable/disable runtime linking - # depending on the kind of the shared library created - - # when "with_aix_soname,aix_use_runtimelinking" is: - # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables - # "aix,yes" lib.so shared, rtl:yes, for executables - # lib.a static archive - # "both,no" lib.so.V(shr.o) shared, rtl:yes - # lib.a(lib.so.V) shared, rtl:no, for executables - # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables - # lib.a(lib.so.V) shared, rtl:no - # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables - # lib.a static archive - case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*) - for ld_flag in $LDFLAGS; do - case $ld_flag in - *-brtl*) - aix_use_runtimelinking=yes - break - ;; - esac - done - if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then - # With aix-soname=svr4, we create the lib.so.V shared archives only, - # so we don't have lib.a shared libs to link our executables. - # We have to force runtime linking in this case. - aix_use_runtimelinking=yes - LDFLAGS="$LDFLAGS -Wl,-brtl" - fi - ;; - esac - - exp_sym_flag='-bexport' - no_entry_flag='-bnoentry' - fi - - # When large executables or shared objects are built, AIX ld can - # have problems creating the table of contents. If linking a library - # or program results in "error TOC overflow" add -mminimal-toc to - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. - - _LT_TAGVAR(archive_cmds, $1)='' - _LT_TAGVAR(hardcode_direct, $1)=yes - _LT_TAGVAR(hardcode_direct_absolute, $1)=yes - _LT_TAGVAR(hardcode_libdir_separator, $1)=':' - _LT_TAGVAR(link_all_deplibs, $1)=yes - _LT_TAGVAR(file_list_spec, $1)='$wl-f,' - case $with_aix_soname,$aix_use_runtimelinking in - aix,*) ;; # no import file - svr4,* | *,yes) # use import file - # The Import File defines what to hardcode. - _LT_TAGVAR(hardcode_direct, $1)=no - _LT_TAGVAR(hardcode_direct_absolute, $1)=no - ;; - esac - - if test yes = "$GXX"; then - case $host_os in aix4.[[012]]|aix4.[[012]].*) - # We only want to do this on AIX 4.2 and lower, the check - # below for broken collect2 doesn't work under 4.3+ - collect2name=`$CC -print-prog-name=collect2` - if test -f "$collect2name" && - strings "$collect2name" | $GREP resolve_lib_name >/dev/null - then - # We have reworked collect2 - : - else - # We have old collect2 - _LT_TAGVAR(hardcode_direct, $1)=unsupported - # It fails to find uninstalled libraries when the uninstalled - # path is not listed in the libpath. Setting hardcode_minus_L - # to unsupported forces relinking - _LT_TAGVAR(hardcode_minus_L, $1)=yes - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_TAGVAR(hardcode_libdir_separator, $1)= - fi - esac - shared_flag='-shared' - if test yes = "$aix_use_runtimelinking"; then - shared_flag=$shared_flag' $wl-G' - fi - # Need to ensure runtime linking is disabled for the traditional - # shared library, or the linker may eventually find shared libraries - # /with/ Import File - we do not want to mix them. - shared_flag_aix='-shared' - shared_flag_svr4='-shared $wl-G' - else - # not using gcc - if test ia64 = "$host_cpu"; then - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release - # chokes on -Wl,-G. The following line is correct: - shared_flag='-G' - else - if test yes = "$aix_use_runtimelinking"; then - shared_flag='$wl-G' - else - shared_flag='$wl-bM:SRE' - fi - shared_flag_aix='$wl-bM:SRE' - shared_flag_svr4='$wl-G' - fi - fi - - _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-bexpall' - # It seems that -bexpall does not export symbols beginning with - # underscore (_), so it is better to generate a list of symbols to - # export. - _LT_TAGVAR(always_export_symbols, $1)=yes - if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then - # Warning - without using the other runtime loading flags (-brtl), - # -berok will link without error, but may produce a broken library. - # The "-G" linker flag allows undefined symbols. - _LT_TAGVAR(no_undefined_flag, $1)='-bernotok' - # Determine the default libpath from the value encoded in an empty - # executable. - _LT_SYS_MODULE_PATH_AIX([$1]) - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath" - - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag - else - if test ia64 = "$host_cpu"; then - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $libdir:/usr/lib:/lib' - _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs" - _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols" - else - # Determine the default libpath from the value encoded in an - # empty executable. - _LT_SYS_MODULE_PATH_AIX([$1]) - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath" - # Warning - without using the other run time loading flags, - # -berok will link without error, but may produce a broken library. - _LT_TAGVAR(no_undefined_flag, $1)=' $wl-bernotok' - _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-berok' - if test yes = "$with_gnu_ld"; then - # We only use this code for GNU lds that support --whole-archive. - _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive' - else - # Exported symbols can be pulled into shared objects from archives - _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience' - fi - _LT_TAGVAR(archive_cmds_need_lc, $1)=yes - _LT_TAGVAR(archive_expsym_cmds, $1)='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' - # -brtl affects multiple linker settings, -berok does not and is overridden later - compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([[, ]]\\)%-berok\\1%g"`' - if test svr4 != "$with_aix_soname"; then - # This is similar to how AIX traditionally builds its shared - # libraries. Need -bnortl late, we may have -brtl in LDFLAGS. - _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname' - fi - if test aix != "$with_aix_soname"; then - _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp' - else - # used by -dlpreopen to get the symbols - _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$MV $output_objdir/$realname.d/$soname $output_objdir' - fi - _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$RM -r $output_objdir/$realname.d' - fi - fi - ;; - - beos*) - if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then - _LT_TAGVAR(allow_undefined_flag, $1)=unsupported - # Joseph Beckenbach says some releases of gcc - # support --undefined. This deserves some investigation. FIXME - _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' - else - _LT_TAGVAR(ld_shlibs, $1)=no - fi - ;; - - chorus*) - case $cc_basename in - *) - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - esac - ;; - - cygwin* | mingw* | pw32* | cegcc*) - case $GXX,$cc_basename in - ,cl* | no,cl*) - # Native MSVC - # hardcode_libdir_flag_spec is actually meaningless, as there is - # no search path for DLLs. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' - _LT_TAGVAR(allow_undefined_flag, $1)=unsupported - _LT_TAGVAR(always_export_symbols, $1)=yes - _LT_TAGVAR(file_list_spec, $1)='@' - # Tell ltmain to make .lib files, not .a files. - libext=lib - # Tell ltmain to make .dll files, not .so files. - shrext_cmds=.dll - # FIXME: Setting linknames here is a bad hack. - _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' - _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then - cp "$export_symbols" "$output_objdir/$soname.def"; - echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; - else - $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; - fi~ - $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ - linknames=' - # The linker will not automatically build a static lib if we build a DLL. - # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true' - _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes - # Don't use ranlib - _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib' - _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~ - lt_tool_outputfile="@TOOL_OUTPUT@"~ - case $lt_outputfile in - *.exe|*.EXE) ;; - *) - lt_outputfile=$lt_outputfile.exe - lt_tool_outputfile=$lt_tool_outputfile.exe - ;; - esac~ - func_to_tool_file "$lt_outputfile"~ - if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then - $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; - $RM "$lt_outputfile.manifest"; - fi' - ;; - *) - # g++ - # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, - # as there is no search path for DLLs. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-all-symbols' - _LT_TAGVAR(allow_undefined_flag, $1)=unsupported - _LT_TAGVAR(always_export_symbols, $1)=no - _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes - - if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' - # If the export-symbols file already is a .def file, use it as - # is; otherwise, prepend EXPORTS... - _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then - cp $export_symbols $output_objdir/$soname.def; - else - echo EXPORTS > $output_objdir/$soname.def; - cat $export_symbols >> $output_objdir/$soname.def; - fi~ - $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' - else - _LT_TAGVAR(ld_shlibs, $1)=no - fi - ;; - esac - ;; - darwin* | rhapsody*) - _LT_DARWIN_LINKER_FEATURES($1) - ;; - - os2*) - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_TAGVAR(hardcode_minus_L, $1)=yes - _LT_TAGVAR(allow_undefined_flag, $1)=unsupported - shrext_cmds=.dll - _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ - $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ - $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ - $ECHO EXPORTS >> $output_objdir/$libname.def~ - emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ - $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ - emximp -o $lib $output_objdir/$libname.def' - _LT_TAGVAR(archive_expsym_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ - $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ - $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ - $ECHO EXPORTS >> $output_objdir/$libname.def~ - prefix_cmds="$SED"~ - if test EXPORTS = "`$SED 1q $export_symbols`"; then - prefix_cmds="$prefix_cmds -e 1d"; - fi~ - prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ - cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ - $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ - emximp -o $lib $output_objdir/$libname.def' - _LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' - _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes - ;; - - dgux*) - case $cc_basename in - ec++*) - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - ghcx*) - # Green Hills C++ Compiler - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - *) - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - esac - ;; - - freebsd2.*) - # C++ shared libraries reported to be fairly broken before - # switch to ELF - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - - freebsd-elf*) - _LT_TAGVAR(archive_cmds_need_lc, $1)=no - ;; - - freebsd* | dragonfly*) - # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF - # conventions - _LT_TAGVAR(ld_shlibs, $1)=yes - ;; - - haiku*) - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' - _LT_TAGVAR(link_all_deplibs, $1)=yes - ;; - - hpux9*) - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir' - _LT_TAGVAR(hardcode_libdir_separator, $1)=: - _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' - _LT_TAGVAR(hardcode_direct, $1)=yes - _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, - # but as the default - # location of the library. - - case $cc_basename in - CC*) - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - aCC*) - _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -b $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP " \-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' - ;; - *) - if test yes = "$GXX"; then - _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' - else - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - fi - ;; - esac - ;; - - hpux10*|hpux11*) - if test no = "$with_gnu_ld"; then - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir' - _LT_TAGVAR(hardcode_libdir_separator, $1)=: - - case $host_cpu in - hppa*64*|ia64*) - ;; - *) - _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' - ;; - esac - fi - case $host_cpu in - hppa*64*|ia64*) - _LT_TAGVAR(hardcode_direct, $1)=no - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - *) - _LT_TAGVAR(hardcode_direct, $1)=yes - _LT_TAGVAR(hardcode_direct_absolute, $1)=yes - _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, - # but as the default - # location of the library. - ;; - esac - - case $cc_basename in - CC*) - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - aCC*) - case $host_cpu in - hppa*64*) - _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - ia64*) - _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - *) - _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - esac - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP " \-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' - ;; - *) - if test yes = "$GXX"; then - if test no = "$with_gnu_ld"; then - case $host_cpu in - hppa*64*) - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - ia64*) - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - *) - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - esac - fi - else - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - fi - ;; - esac - ;; - - interix[[3-9]]*) - _LT_TAGVAR(hardcode_direct, $1)=no - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir' - _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' - # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. - # Instead, shared libraries are loaded at an image base (0x10000000 by - # default) and relocated if they conflict, which is a slow very memory - # consuming and fragmenting process. To avoid this, we pick a random, - # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link - # time. Moving up from 0x10000000 also allows more sbrk(2) space. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' - ;; - irix5* | irix6*) - case $cc_basename in - CC*) - # SGI C++ - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' - - # Archives containing C++ object files must be created using - # "CC -ar", where "CC" is the IRIX C++ compiler. This is - # necessary to make sure instantiated templates are included - # in the archive. - _LT_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs' - ;; - *) - if test yes = "$GXX"; then - if test no = "$with_gnu_ld"; then - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' - else - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` -o $lib' - fi - fi - _LT_TAGVAR(link_all_deplibs, $1)=yes - ;; - esac - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' - _LT_TAGVAR(hardcode_libdir_separator, $1)=: - _LT_TAGVAR(inherit_rpath, $1)=yes - ;; - - linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) - case $cc_basename in - KCC*) - # Kuck and Associates, Inc. (KAI) C++ Compiler - - # KCC will only create a shared library if the output file - # ends with ".so" (or ".sl" for HP-UX), so rename the library - # to its proper name (with version) after linking. - _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib $wl-retain-symbols-file,$export_symbols; mv \$templib $lib' - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' - - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir' - _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic' - - # Archives containing C++ object files must be created using - # "CC -Bstatic", where "CC" is the KAI C++ compiler. - _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' - ;; - icpc* | ecpc* ) - # Intel C++ - with_gnu_ld=yes - # version 8.0 and above of icpc choke on multiply defined symbols - # if we add $predep_objects and $postdep_objects, however 7.1 and - # earlier do not add the objects themselves. - case `$CC -V 2>&1` in - *"Version 7."*) - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' - ;; - *) # Version 8.0 or newer - tmp_idyn= - case $host_cpu in - ia64*) tmp_idyn=' -i_dynamic';; - esac - _LT_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' - ;; - esac - _LT_TAGVAR(archive_cmds_need_lc, $1)=no - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir' - _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic' - _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive' - ;; - pgCC* | pgcpp*) - # Portland Group C++ compiler - case `$CC -V` in - *pgCC\ [[1-5]].* | *pgcpp\ [[1-5]].*) - _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~ - rm -rf $tpldir~ - $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ - compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"' - _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~ - rm -rf $tpldir~ - $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ - $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~ - $RANLIB $oldlib' - _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~ - rm -rf $tpldir~ - $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ - $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~ - rm -rf $tpldir~ - $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ - $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' - ;; - *) # Version 6 and above use weak symbols - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' - ;; - esac - - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl--rpath $wl$libdir' - _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic' - _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' - ;; - cxx*) - # Compaq C++ - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib $wl-retain-symbols-file $wl$export_symbols' - - runpath_var=LD_RUN_PATH - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' - _LT_TAGVAR(hardcode_libdir_separator, $1)=: - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed' - ;; - xl* | mpixl* | bgxl*) - # IBM XL 8.0 on PPC, with GNU ld - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' - _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic' - _LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' - if test yes = "$supports_anon_versioning"; then - _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ - echo "local: *; };" >> $output_objdir/$libname.ver~ - $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' - fi - ;; - *) - case `$CC -V 2>&1 | sed 5q` in - *Sun\ C*) - # Sun C++ 5.9 - _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs' - _LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file $wl$export_symbols' - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' - _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' - _LT_TAGVAR(compiler_needs_object, $1)=yes - - # Not sure whether something based on - # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 - # would be better. - output_verbose_link_cmd='func_echo_all' - - # Archives containing C++ object files must be created using - # "CC -xar", where "CC" is the Sun C++ compiler. This is - # necessary to make sure instantiated templates are included - # in the archive. - _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' - ;; - esac - ;; - esac - ;; - - lynxos*) - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - - m88k*) - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - - mvs*) - case $cc_basename in - cxx*) - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - *) - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - esac - ;; - - netbsd*) - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then - _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' - wlarc= - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' - _LT_TAGVAR(hardcode_direct, $1)=yes - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - fi - # Workaround some broken pre-1.5 toolchains - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' - ;; - - *nto* | *qnx*) - _LT_TAGVAR(ld_shlibs, $1)=yes - ;; - - openbsd* | bitrig*) - if test -f /usr/libexec/ld.so; then - _LT_TAGVAR(hardcode_direct, $1)=yes - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - _LT_TAGVAR(hardcode_direct_absolute, $1)=yes - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir' - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib' - _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' - _LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' - fi - output_verbose_link_cmd=func_echo_all - else - _LT_TAGVAR(ld_shlibs, $1)=no - fi - ;; - - osf3* | osf4* | osf5*) - case $cc_basename in - KCC*) - # Kuck and Associates, Inc. (KAI) C++ Compiler - - # KCC will only create a shared library if the output file - # ends with ".so" (or ".sl" for HP-UX), so rename the library - # to its proper name (with version) after linking. - _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' - - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir' - _LT_TAGVAR(hardcode_libdir_separator, $1)=: - - # Archives containing C++ object files must be created using - # the KAI C++ compiler. - case $host in - osf3*) _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;; - *) _LT_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' ;; - esac - ;; - RCC*) - # Rational C++ 2.4.1 - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - cxx*) - case $host in - osf3*) - _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*' - _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $soname `test -n "$verstring" && func_echo_all "$wl-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' - ;; - *) - _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' - _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ - echo "-hidden">> $lib.exp~ - $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname $wl-input $wl$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~ - $RM $lib.exp' - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' - ;; - esac - - _LT_TAGVAR(hardcode_libdir_separator, $1)=: - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' - ;; - *) - if test yes,no = "$GXX,$with_gnu_ld"; then - _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*' - case $host in - osf3*) - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' - ;; - *) - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' - ;; - esac - - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' - _LT_TAGVAR(hardcode_libdir_separator, $1)=: - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"' - - else - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - fi - ;; - esac - ;; - - psos*) - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - - sunos4*) - case $cc_basename in - CC*) - # Sun C++ 4.x - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - lcc*) - # Lucid - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - *) - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - esac - ;; - - solaris*) - case $cc_basename in - CC* | sunCC*) - # Sun C++ 4.2, 5.x and Centerline C++ - _LT_TAGVAR(archive_cmds_need_lc,$1)=yes - _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs' - _LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ - $CC -G$allow_undefined_flag $wl-M $wl$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' - - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - case $host_os in - solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; - *) - # The compiler driver will combine and reorder linker options, - # but understands '-z linker_flag'. - # Supported since Solaris 2.6 (maybe 2.5.1?) - _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' - ;; - esac - _LT_TAGVAR(link_all_deplibs, $1)=yes - - output_verbose_link_cmd='func_echo_all' - - # Archives containing C++ object files must be created using - # "CC -xar", where "CC" is the Sun C++ compiler. This is - # necessary to make sure instantiated templates are included - # in the archive. - _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' - ;; - gcx*) - # Green Hills C++ Compiler - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' - - # The C++ compiler must be used to create the archive. - _LT_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs' - ;; - *) - # GNU C++ compiler with Solaris linker - if test yes,no = "$GXX,$with_gnu_ld"; then - _LT_TAGVAR(no_undefined_flag, $1)=' $wl-z ${wl}defs' - if $CC --version | $GREP -v '^2\.7' > /dev/null; then - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ - $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"' - else - # g++ 2.7 appears to require '-G' NOT '-shared' on this - # platform. - _LT_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ - $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"' - fi - - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $wl$libdir' - case $host_os in - solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; - *) - _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' - ;; - esac - fi - ;; - esac - ;; - - sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*) - _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text' - _LT_TAGVAR(archive_cmds_need_lc, $1)=no - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - runpath_var='LD_RUN_PATH' - - case $cc_basename in - CC*) - _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - *) - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - esac - ;; - - sysv5* | sco3.2v5* | sco5v6*) - # Note: We CANNOT use -z defs as we might desire, because we do not - # link with -lc, and that would cause any symbols used from libc to - # always be unresolved, which means just about no library would - # ever link correctly. If we're not using GNU ld we use -z text - # though, which does catch some bad symbols but isn't as heavy-handed - # as -z defs. - _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text' - _LT_TAGVAR(allow_undefined_flag, $1)='$wl-z,nodefs' - _LT_TAGVAR(archive_cmds_need_lc, $1)=no - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R,$libdir' - _LT_TAGVAR(hardcode_libdir_separator, $1)=':' - _LT_TAGVAR(link_all_deplibs, $1)=yes - _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Bexport' - runpath_var='LD_RUN_PATH' - - case $cc_basename in - CC*) - _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_TAGVAR(old_archive_cmds, $1)='$CC -Tprelink_objects $oldobjs~ - '"$_LT_TAGVAR(old_archive_cmds, $1)" - _LT_TAGVAR(reload_cmds, $1)='$CC -Tprelink_objects $reload_objs~ - '"$_LT_TAGVAR(reload_cmds, $1)" - ;; - *) - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - esac - ;; - - tandem*) - case $cc_basename in - NCC*) - # NonStop-UX NCC 3.20 - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - *) - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - esac - ;; - - vxworks*) - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - - *) - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - esac - - AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)]) - test no = "$_LT_TAGVAR(ld_shlibs, $1)" && can_build_shared=no - - _LT_TAGVAR(GCC, $1)=$GXX - _LT_TAGVAR(LD, $1)=$LD - - ## CAVEAT EMPTOR: - ## There is no encapsulation within the following macros, do not change - ## the running order or otherwise move them around unless you know exactly - ## what you are doing... - _LT_SYS_HIDDEN_LIBDEPS($1) - _LT_COMPILER_PIC($1) - _LT_COMPILER_C_O($1) - _LT_COMPILER_FILE_LOCKS($1) - _LT_LINKER_SHLIBS($1) - _LT_SYS_DYNAMIC_LINKER($1) - _LT_LINKER_HARDCODE_LIBPATH($1) - - _LT_CONFIG($1) - fi # test -n "$compiler" - - CC=$lt_save_CC - CFLAGS=$lt_save_CFLAGS - LDCXX=$LD - LD=$lt_save_LD - GCC=$lt_save_GCC - with_gnu_ld=$lt_save_with_gnu_ld - lt_cv_path_LDCXX=$lt_cv_path_LD - lt_cv_path_LD=$lt_save_path_LD - lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld - lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld -fi # test yes != "$_lt_caught_CXX_error" - -AC_LANG_POP -])# _LT_LANG_CXX_CONFIG - - -# _LT_FUNC_STRIPNAME_CNF -# ---------------------- -# func_stripname_cnf prefix suffix name -# strip PREFIX and SUFFIX off of NAME. -# PREFIX and SUFFIX must not contain globbing or regex special -# characters, hashes, percent signs, but SUFFIX may contain a leading -# dot (in which case that matches only a dot). -# -# This function is identical to the (non-XSI) version of func_stripname, -# except this one can be used by m4 code that may be executed by configure, -# rather than the libtool script. -m4_defun([_LT_FUNC_STRIPNAME_CNF],[dnl -AC_REQUIRE([_LT_DECL_SED]) -AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH]) -func_stripname_cnf () -{ - case @S|@2 in - .*) func_stripname_result=`$ECHO "@S|@3" | $SED "s%^@S|@1%%; s%\\\\@S|@2\$%%"`;; - *) func_stripname_result=`$ECHO "@S|@3" | $SED "s%^@S|@1%%; s%@S|@2\$%%"`;; - esac -} # func_stripname_cnf -])# _LT_FUNC_STRIPNAME_CNF - - -# _LT_SYS_HIDDEN_LIBDEPS([TAGNAME]) -# --------------------------------- -# Figure out "hidden" library dependencies from verbose -# compiler output when linking a shared library. -# Parse the compiler output and extract the necessary -# objects, libraries and library flags. -m4_defun([_LT_SYS_HIDDEN_LIBDEPS], -[m4_require([_LT_FILEUTILS_DEFAULTS])dnl -AC_REQUIRE([_LT_FUNC_STRIPNAME_CNF])dnl -# Dependencies to place before and after the object being linked: -_LT_TAGVAR(predep_objects, $1)= -_LT_TAGVAR(postdep_objects, $1)= -_LT_TAGVAR(predeps, $1)= -_LT_TAGVAR(postdeps, $1)= -_LT_TAGVAR(compiler_lib_search_path, $1)= - -dnl we can't use the lt_simple_compile_test_code here, -dnl because it contains code intended for an executable, -dnl not a library. It's possible we should let each -dnl tag define a new lt_????_link_test_code variable, -dnl but it's only used here... -m4_if([$1], [], [cat > conftest.$ac_ext <<_LT_EOF -int a; -void foo (void) { a = 0; } -_LT_EOF -], [$1], [CXX], [cat > conftest.$ac_ext <<_LT_EOF -class Foo -{ -public: - Foo (void) { a = 0; } -private: - int a; -}; -_LT_EOF -], [$1], [F77], [cat > conftest.$ac_ext <<_LT_EOF - subroutine foo - implicit none - integer*4 a - a=0 - return - end -_LT_EOF -], [$1], [FC], [cat > conftest.$ac_ext <<_LT_EOF - subroutine foo - implicit none - integer a - a=0 - return - end -_LT_EOF -], [$1], [GCJ], [cat > conftest.$ac_ext <<_LT_EOF -public class foo { - private int a; - public void bar (void) { - a = 0; - } -}; -_LT_EOF -], [$1], [GO], [cat > conftest.$ac_ext <<_LT_EOF -package foo -func foo() { -} -_LT_EOF -]) - -_lt_libdeps_save_CFLAGS=$CFLAGS -case "$CC $CFLAGS " in #( -*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;; -*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;; -*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;; -esac - -dnl Parse the compiler output and extract the necessary -dnl objects, libraries and library flags. -if AC_TRY_EVAL(ac_compile); then - # Parse the compiler output and extract the necessary - # objects, libraries and library flags. - - # Sentinel used to keep track of whether or not we are before - # the conftest object file. - pre_test_object_deps_done=no - - for p in `eval "$output_verbose_link_cmd"`; do - case $prev$p in - - -L* | -R* | -l*) - # Some compilers place space between "-{L,R}" and the path. - # Remove the space. - if test x-L = "$p" || - test x-R = "$p"; then - prev=$p - continue - fi - - # Expand the sysroot to ease extracting the directories later. - if test -z "$prev"; then - case $p in - -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;; - -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;; - -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;; - esac - fi - case $p in - =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;; - esac - if test no = "$pre_test_object_deps_done"; then - case $prev in - -L | -R) - # Internal compiler library paths should come after those - # provided the user. The postdeps already come after the - # user supplied libs so there is no need to process them. - if test -z "$_LT_TAGVAR(compiler_lib_search_path, $1)"; then - _LT_TAGVAR(compiler_lib_search_path, $1)=$prev$p - else - _LT_TAGVAR(compiler_lib_search_path, $1)="${_LT_TAGVAR(compiler_lib_search_path, $1)} $prev$p" - fi - ;; - # The "-l" case would never come before the object being - # linked, so don't bother handling this case. - esac - else - if test -z "$_LT_TAGVAR(postdeps, $1)"; then - _LT_TAGVAR(postdeps, $1)=$prev$p - else - _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} $prev$p" - fi - fi - prev= - ;; - - *.lto.$objext) ;; # Ignore GCC LTO objects - *.$objext) - # This assumes that the test object file only shows up - # once in the compiler output. - if test "$p" = "conftest.$objext"; then - pre_test_object_deps_done=yes - continue - fi - - if test no = "$pre_test_object_deps_done"; then - if test -z "$_LT_TAGVAR(predep_objects, $1)"; then - _LT_TAGVAR(predep_objects, $1)=$p - else - _LT_TAGVAR(predep_objects, $1)="$_LT_TAGVAR(predep_objects, $1) $p" - fi - else - if test -z "$_LT_TAGVAR(postdep_objects, $1)"; then - _LT_TAGVAR(postdep_objects, $1)=$p - else - _LT_TAGVAR(postdep_objects, $1)="$_LT_TAGVAR(postdep_objects, $1) $p" - fi - fi - ;; - - *) ;; # Ignore the rest. - - esac - done - - # Clean up. - rm -f a.out a.exe -else - echo "libtool.m4: error: problem compiling $1 test program" -fi - -$RM -f confest.$objext -CFLAGS=$_lt_libdeps_save_CFLAGS - -# PORTME: override above test on systems where it is broken -m4_if([$1], [CXX], -[case $host_os in -interix[[3-9]]*) - # Interix 3.5 installs completely hosed .la files for C++, so rather than - # hack all around it, let's just trust "g++" to DTRT. - _LT_TAGVAR(predep_objects,$1)= - _LT_TAGVAR(postdep_objects,$1)= - _LT_TAGVAR(postdeps,$1)= - ;; -esac -]) - -case " $_LT_TAGVAR(postdeps, $1) " in -*" -lc "*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;; -esac - _LT_TAGVAR(compiler_lib_search_dirs, $1)= -if test -n "${_LT_TAGVAR(compiler_lib_search_path, $1)}"; then - _LT_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | $SED -e 's! -L! !g' -e 's!^ !!'` -fi -_LT_TAGDECL([], [compiler_lib_search_dirs], [1], - [The directories searched by this compiler when creating a shared library]) -_LT_TAGDECL([], [predep_objects], [1], - [Dependencies to place before and after the objects being linked to - create a shared library]) -_LT_TAGDECL([], [postdep_objects], [1]) -_LT_TAGDECL([], [predeps], [1]) -_LT_TAGDECL([], [postdeps], [1]) -_LT_TAGDECL([], [compiler_lib_search_path], [1], - [The library search path used internally by the compiler when linking - a shared library]) -])# _LT_SYS_HIDDEN_LIBDEPS - - -# _LT_LANG_F77_CONFIG([TAG]) -# -------------------------- -# Ensure that the configuration variables for a Fortran 77 compiler are -# suitably defined. These variables are subsequently used by _LT_CONFIG -# to write the compiler configuration to 'libtool'. -m4_defun([_LT_LANG_F77_CONFIG], -[AC_LANG_PUSH(Fortran 77) -if test -z "$F77" || test no = "$F77"; then - _lt_disable_F77=yes -fi - -_LT_TAGVAR(archive_cmds_need_lc, $1)=no -_LT_TAGVAR(allow_undefined_flag, $1)= -_LT_TAGVAR(always_export_symbols, $1)=no -_LT_TAGVAR(archive_expsym_cmds, $1)= -_LT_TAGVAR(export_dynamic_flag_spec, $1)= -_LT_TAGVAR(hardcode_direct, $1)=no -_LT_TAGVAR(hardcode_direct_absolute, $1)=no -_LT_TAGVAR(hardcode_libdir_flag_spec, $1)= -_LT_TAGVAR(hardcode_libdir_separator, $1)= -_LT_TAGVAR(hardcode_minus_L, $1)=no -_LT_TAGVAR(hardcode_automatic, $1)=no -_LT_TAGVAR(inherit_rpath, $1)=no -_LT_TAGVAR(module_cmds, $1)= -_LT_TAGVAR(module_expsym_cmds, $1)= -_LT_TAGVAR(link_all_deplibs, $1)=unknown -_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds -_LT_TAGVAR(reload_flag, $1)=$reload_flag -_LT_TAGVAR(reload_cmds, $1)=$reload_cmds -_LT_TAGVAR(no_undefined_flag, $1)= -_LT_TAGVAR(whole_archive_flag_spec, $1)= -_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no - -# Source file extension for f77 test sources. -ac_ext=f - -# Object file extension for compiled f77 test sources. -objext=o -_LT_TAGVAR(objext, $1)=$objext - -# No sense in running all these tests if we already determined that -# the F77 compiler isn't working. Some variables (like enable_shared) -# are currently assumed to apply to all compilers on this platform, -# and will be corrupted by setting them based on a non-working compiler. -if test yes != "$_lt_disable_F77"; then - # Code to be used in simple compile tests - lt_simple_compile_test_code="\ - subroutine t - return - end -" - - # Code to be used in simple link tests - lt_simple_link_test_code="\ - program t - end -" - - # ltmain only uses $CC for tagged configurations so make sure $CC is set. - _LT_TAG_COMPILER - - # save warnings/boilerplate of simple test code - _LT_COMPILER_BOILERPLATE - _LT_LINKER_BOILERPLATE - - # Allow CC to be a program name with arguments. - lt_save_CC=$CC - lt_save_GCC=$GCC - lt_save_CFLAGS=$CFLAGS - CC=${F77-"f77"} - CFLAGS=$FFLAGS - compiler=$CC - _LT_TAGVAR(compiler, $1)=$CC - _LT_CC_BASENAME([$compiler]) - GCC=$G77 - if test -n "$compiler"; then - AC_MSG_CHECKING([if libtool supports shared libraries]) - AC_MSG_RESULT([$can_build_shared]) - - AC_MSG_CHECKING([whether to build shared libraries]) - test no = "$can_build_shared" && enable_shared=no - - # On AIX, shared libraries and static libraries use the same namespace, and - # are all built from PIC. - case $host_os in - aix3*) - test yes = "$enable_shared" && enable_static=no - if test -n "$RANLIB"; then - archive_cmds="$archive_cmds~\$RANLIB \$lib" - postinstall_cmds='$RANLIB $lib' - fi - ;; - aix[[4-9]]*) - if test ia64 != "$host_cpu"; then - case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in - yes,aix,yes) ;; # shared object as lib.so file only - yes,svr4,*) ;; # shared object as lib.so archive member only - yes,*) enable_static=no ;; # shared object in lib.a archive as well - esac - fi - ;; - esac - AC_MSG_RESULT([$enable_shared]) - - AC_MSG_CHECKING([whether to build static libraries]) - # Make sure either enable_shared or enable_static is yes. - test yes = "$enable_shared" || enable_static=yes - AC_MSG_RESULT([$enable_static]) - - _LT_TAGVAR(GCC, $1)=$G77 - _LT_TAGVAR(LD, $1)=$LD - - ## CAVEAT EMPTOR: - ## There is no encapsulation within the following macros, do not change - ## the running order or otherwise move them around unless you know exactly - ## what you are doing... - _LT_COMPILER_PIC($1) - _LT_COMPILER_C_O($1) - _LT_COMPILER_FILE_LOCKS($1) - _LT_LINKER_SHLIBS($1) - _LT_SYS_DYNAMIC_LINKER($1) - _LT_LINKER_HARDCODE_LIBPATH($1) - - _LT_CONFIG($1) - fi # test -n "$compiler" - - GCC=$lt_save_GCC - CC=$lt_save_CC - CFLAGS=$lt_save_CFLAGS -fi # test yes != "$_lt_disable_F77" - -AC_LANG_POP -])# _LT_LANG_F77_CONFIG - - -# _LT_LANG_FC_CONFIG([TAG]) -# ------------------------- -# Ensure that the configuration variables for a Fortran compiler are -# suitably defined. These variables are subsequently used by _LT_CONFIG -# to write the compiler configuration to 'libtool'. -m4_defun([_LT_LANG_FC_CONFIG], -[AC_LANG_PUSH(Fortran) - -if test -z "$FC" || test no = "$FC"; then - _lt_disable_FC=yes -fi - -_LT_TAGVAR(archive_cmds_need_lc, $1)=no -_LT_TAGVAR(allow_undefined_flag, $1)= -_LT_TAGVAR(always_export_symbols, $1)=no -_LT_TAGVAR(archive_expsym_cmds, $1)= -_LT_TAGVAR(export_dynamic_flag_spec, $1)= -_LT_TAGVAR(hardcode_direct, $1)=no -_LT_TAGVAR(hardcode_direct_absolute, $1)=no -_LT_TAGVAR(hardcode_libdir_flag_spec, $1)= -_LT_TAGVAR(hardcode_libdir_separator, $1)= -_LT_TAGVAR(hardcode_minus_L, $1)=no -_LT_TAGVAR(hardcode_automatic, $1)=no -_LT_TAGVAR(inherit_rpath, $1)=no -_LT_TAGVAR(module_cmds, $1)= -_LT_TAGVAR(module_expsym_cmds, $1)= -_LT_TAGVAR(link_all_deplibs, $1)=unknown -_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds -_LT_TAGVAR(reload_flag, $1)=$reload_flag -_LT_TAGVAR(reload_cmds, $1)=$reload_cmds -_LT_TAGVAR(no_undefined_flag, $1)= -_LT_TAGVAR(whole_archive_flag_spec, $1)= -_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no - -# Source file extension for fc test sources. -ac_ext=${ac_fc_srcext-f} - -# Object file extension for compiled fc test sources. -objext=o -_LT_TAGVAR(objext, $1)=$objext - -# No sense in running all these tests if we already determined that -# the FC compiler isn't working. Some variables (like enable_shared) -# are currently assumed to apply to all compilers on this platform, -# and will be corrupted by setting them based on a non-working compiler. -if test yes != "$_lt_disable_FC"; then - # Code to be used in simple compile tests - lt_simple_compile_test_code="\ - subroutine t - return - end -" - - # Code to be used in simple link tests - lt_simple_link_test_code="\ - program t - end -" - - # ltmain only uses $CC for tagged configurations so make sure $CC is set. - _LT_TAG_COMPILER - - # save warnings/boilerplate of simple test code - _LT_COMPILER_BOILERPLATE - _LT_LINKER_BOILERPLATE - - # Allow CC to be a program name with arguments. - lt_save_CC=$CC - lt_save_GCC=$GCC - lt_save_CFLAGS=$CFLAGS - CC=${FC-"f95"} - CFLAGS=$FCFLAGS - compiler=$CC - GCC=$ac_cv_fc_compiler_gnu - - _LT_TAGVAR(compiler, $1)=$CC - _LT_CC_BASENAME([$compiler]) - - if test -n "$compiler"; then - AC_MSG_CHECKING([if libtool supports shared libraries]) - AC_MSG_RESULT([$can_build_shared]) - - AC_MSG_CHECKING([whether to build shared libraries]) - test no = "$can_build_shared" && enable_shared=no - - # On AIX, shared libraries and static libraries use the same namespace, and - # are all built from PIC. - case $host_os in - aix3*) - test yes = "$enable_shared" && enable_static=no - if test -n "$RANLIB"; then - archive_cmds="$archive_cmds~\$RANLIB \$lib" - postinstall_cmds='$RANLIB $lib' - fi - ;; - aix[[4-9]]*) - if test ia64 != "$host_cpu"; then - case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in - yes,aix,yes) ;; # shared object as lib.so file only - yes,svr4,*) ;; # shared object as lib.so archive member only - yes,*) enable_static=no ;; # shared object in lib.a archive as well - esac - fi - ;; - esac - AC_MSG_RESULT([$enable_shared]) - - AC_MSG_CHECKING([whether to build static libraries]) - # Make sure either enable_shared or enable_static is yes. - test yes = "$enable_shared" || enable_static=yes - AC_MSG_RESULT([$enable_static]) - - _LT_TAGVAR(GCC, $1)=$ac_cv_fc_compiler_gnu - _LT_TAGVAR(LD, $1)=$LD - - ## CAVEAT EMPTOR: - ## There is no encapsulation within the following macros, do not change - ## the running order or otherwise move them around unless you know exactly - ## what you are doing... - _LT_SYS_HIDDEN_LIBDEPS($1) - _LT_COMPILER_PIC($1) - _LT_COMPILER_C_O($1) - _LT_COMPILER_FILE_LOCKS($1) - _LT_LINKER_SHLIBS($1) - _LT_SYS_DYNAMIC_LINKER($1) - _LT_LINKER_HARDCODE_LIBPATH($1) - - _LT_CONFIG($1) - fi # test -n "$compiler" - - GCC=$lt_save_GCC - CC=$lt_save_CC - CFLAGS=$lt_save_CFLAGS -fi # test yes != "$_lt_disable_FC" - -AC_LANG_POP -])# _LT_LANG_FC_CONFIG - - -# _LT_LANG_GCJ_CONFIG([TAG]) -# -------------------------- -# Ensure that the configuration variables for the GNU Java Compiler compiler -# are suitably defined. These variables are subsequently used by _LT_CONFIG -# to write the compiler configuration to 'libtool'. -m4_defun([_LT_LANG_GCJ_CONFIG], -[AC_REQUIRE([LT_PROG_GCJ])dnl -AC_LANG_SAVE - -# Source file extension for Java test sources. -ac_ext=java - -# Object file extension for compiled Java test sources. -objext=o -_LT_TAGVAR(objext, $1)=$objext - -# Code to be used in simple compile tests -lt_simple_compile_test_code="class foo {}" - -# Code to be used in simple link tests -lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }' - -# ltmain only uses $CC for tagged configurations so make sure $CC is set. -_LT_TAG_COMPILER - -# save warnings/boilerplate of simple test code -_LT_COMPILER_BOILERPLATE -_LT_LINKER_BOILERPLATE - -# Allow CC to be a program name with arguments. -lt_save_CC=$CC -lt_save_CFLAGS=$CFLAGS -lt_save_GCC=$GCC -GCC=yes -CC=${GCJ-"gcj"} -CFLAGS=$GCJFLAGS -compiler=$CC -_LT_TAGVAR(compiler, $1)=$CC -_LT_TAGVAR(LD, $1)=$LD -_LT_CC_BASENAME([$compiler]) - -# GCJ did not exist at the time GCC didn't implicitly link libc in. -_LT_TAGVAR(archive_cmds_need_lc, $1)=no - -_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds -_LT_TAGVAR(reload_flag, $1)=$reload_flag -_LT_TAGVAR(reload_cmds, $1)=$reload_cmds - -## CAVEAT EMPTOR: -## There is no encapsulation within the following macros, do not change -## the running order or otherwise move them around unless you know exactly -## what you are doing... -if test -n "$compiler"; then - _LT_COMPILER_NO_RTTI($1) - _LT_COMPILER_PIC($1) - _LT_COMPILER_C_O($1) - _LT_COMPILER_FILE_LOCKS($1) - _LT_LINKER_SHLIBS($1) - _LT_LINKER_HARDCODE_LIBPATH($1) - - _LT_CONFIG($1) -fi - -AC_LANG_RESTORE - -GCC=$lt_save_GCC -CC=$lt_save_CC -CFLAGS=$lt_save_CFLAGS -])# _LT_LANG_GCJ_CONFIG - - -# _LT_LANG_GO_CONFIG([TAG]) -# -------------------------- -# Ensure that the configuration variables for the GNU Go compiler -# are suitably defined. These variables are subsequently used by _LT_CONFIG -# to write the compiler configuration to 'libtool'. -m4_defun([_LT_LANG_GO_CONFIG], -[AC_REQUIRE([LT_PROG_GO])dnl -AC_LANG_SAVE - -# Source file extension for Go test sources. -ac_ext=go - -# Object file extension for compiled Go test sources. -objext=o -_LT_TAGVAR(objext, $1)=$objext - -# Code to be used in simple compile tests -lt_simple_compile_test_code="package main; func main() { }" - -# Code to be used in simple link tests -lt_simple_link_test_code='package main; func main() { }' - -# ltmain only uses $CC for tagged configurations so make sure $CC is set. -_LT_TAG_COMPILER - -# save warnings/boilerplate of simple test code -_LT_COMPILER_BOILERPLATE -_LT_LINKER_BOILERPLATE - -# Allow CC to be a program name with arguments. -lt_save_CC=$CC -lt_save_CFLAGS=$CFLAGS -lt_save_GCC=$GCC -GCC=yes -CC=${GOC-"gccgo"} -CFLAGS=$GOFLAGS -compiler=$CC -_LT_TAGVAR(compiler, $1)=$CC -_LT_TAGVAR(LD, $1)=$LD -_LT_CC_BASENAME([$compiler]) - -# Go did not exist at the time GCC didn't implicitly link libc in. -_LT_TAGVAR(archive_cmds_need_lc, $1)=no - -_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds -_LT_TAGVAR(reload_flag, $1)=$reload_flag -_LT_TAGVAR(reload_cmds, $1)=$reload_cmds - -## CAVEAT EMPTOR: -## There is no encapsulation within the following macros, do not change -## the running order or otherwise move them around unless you know exactly -## what you are doing... -if test -n "$compiler"; then - _LT_COMPILER_NO_RTTI($1) - _LT_COMPILER_PIC($1) - _LT_COMPILER_C_O($1) - _LT_COMPILER_FILE_LOCKS($1) - _LT_LINKER_SHLIBS($1) - _LT_LINKER_HARDCODE_LIBPATH($1) - - _LT_CONFIG($1) -fi - -AC_LANG_RESTORE - -GCC=$lt_save_GCC -CC=$lt_save_CC -CFLAGS=$lt_save_CFLAGS -])# _LT_LANG_GO_CONFIG - - -# _LT_LANG_RC_CONFIG([TAG]) -# ------------------------- -# Ensure that the configuration variables for the Windows resource compiler -# are suitably defined. These variables are subsequently used by _LT_CONFIG -# to write the compiler configuration to 'libtool'. -m4_defun([_LT_LANG_RC_CONFIG], -[AC_REQUIRE([LT_PROG_RC])dnl -AC_LANG_SAVE - -# Source file extension for RC test sources. -ac_ext=rc - -# Object file extension for compiled RC test sources. -objext=o -_LT_TAGVAR(objext, $1)=$objext - -# Code to be used in simple compile tests -lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }' - -# Code to be used in simple link tests -lt_simple_link_test_code=$lt_simple_compile_test_code - -# ltmain only uses $CC for tagged configurations so make sure $CC is set. -_LT_TAG_COMPILER - -# save warnings/boilerplate of simple test code -_LT_COMPILER_BOILERPLATE -_LT_LINKER_BOILERPLATE - -# Allow CC to be a program name with arguments. -lt_save_CC=$CC -lt_save_CFLAGS=$CFLAGS -lt_save_GCC=$GCC -GCC= -CC=${RC-"windres"} -CFLAGS= -compiler=$CC -_LT_TAGVAR(compiler, $1)=$CC -_LT_CC_BASENAME([$compiler]) -_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes - -if test -n "$compiler"; then - : - _LT_CONFIG($1) -fi - -GCC=$lt_save_GCC -AC_LANG_RESTORE -CC=$lt_save_CC -CFLAGS=$lt_save_CFLAGS -])# _LT_LANG_RC_CONFIG - - -# LT_PROG_GCJ -# ----------- -AC_DEFUN([LT_PROG_GCJ], -[m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ], - [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ], - [AC_CHECK_TOOL(GCJ, gcj,) - test set = "${GCJFLAGS+set}" || GCJFLAGS="-g -O2" - AC_SUBST(GCJFLAGS)])])[]dnl -]) - -# Old name: -AU_ALIAS([LT_AC_PROG_GCJ], [LT_PROG_GCJ]) -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([LT_AC_PROG_GCJ], []) - - -# LT_PROG_GO -# ---------- -AC_DEFUN([LT_PROG_GO], -[AC_CHECK_TOOL(GOC, gccgo,) -]) - - -# LT_PROG_RC -# ---------- -AC_DEFUN([LT_PROG_RC], -[AC_CHECK_TOOL(RC, windres,) -]) - -# Old name: -AU_ALIAS([LT_AC_PROG_RC], [LT_PROG_RC]) -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([LT_AC_PROG_RC], []) - - -# _LT_DECL_EGREP -# -------------- -# If we don't have a new enough Autoconf to choose the best grep -# available, choose the one first in the user's PATH. -m4_defun([_LT_DECL_EGREP], -[AC_REQUIRE([AC_PROG_EGREP])dnl -AC_REQUIRE([AC_PROG_FGREP])dnl -test -z "$GREP" && GREP=grep -_LT_DECL([], [GREP], [1], [A grep program that handles long lines]) -_LT_DECL([], [EGREP], [1], [An ERE matcher]) -_LT_DECL([], [FGREP], [1], [A literal string matcher]) -dnl Non-bleeding-edge autoconf doesn't subst GREP, so do it here too -AC_SUBST([GREP]) -]) - - -# _LT_DECL_OBJDUMP -# -------------- -# If we don't have a new enough Autoconf to choose the best objdump -# available, choose the one first in the user's PATH. -m4_defun([_LT_DECL_OBJDUMP], -[AC_CHECK_TOOL(OBJDUMP, objdump, false) -test -z "$OBJDUMP" && OBJDUMP=objdump -_LT_DECL([], [OBJDUMP], [1], [An object symbol dumper]) -AC_SUBST([OBJDUMP]) -]) - -# _LT_DECL_DLLTOOL -# ---------------- -# Ensure DLLTOOL variable is set. -m4_defun([_LT_DECL_DLLTOOL], -[AC_CHECK_TOOL(DLLTOOL, dlltool, false) -test -z "$DLLTOOL" && DLLTOOL=dlltool -_LT_DECL([], [DLLTOOL], [1], [DLL creation program]) -AC_SUBST([DLLTOOL]) -]) - -# _LT_DECL_SED -# ------------ -# Check for a fully-functional sed program, that truncates -# as few characters as possible. Prefer GNU sed if found. -m4_defun([_LT_DECL_SED], -[AC_PROG_SED -test -z "$SED" && SED=sed -Xsed="$SED -e 1s/^X//" -_LT_DECL([], [SED], [1], [A sed program that does not truncate output]) -_LT_DECL([], [Xsed], ["\$SED -e 1s/^X//"], - [Sed that helps us avoid accidentally triggering echo(1) options like -n]) -])# _LT_DECL_SED - -m4_ifndef([AC_PROG_SED], [ -############################################################ -# NOTE: This macro has been submitted for inclusion into # -# GNU Autoconf as AC_PROG_SED. When it is available in # -# a released version of Autoconf we should remove this # -# macro and use it instead. # -############################################################ - -m4_defun([AC_PROG_SED], -[AC_MSG_CHECKING([for a sed that does not truncate output]) -AC_CACHE_VAL(lt_cv_path_SED, -[# Loop through the user's path and test for sed and gsed. -# Then use that list of sed's as ones to test for truncation. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for lt_ac_prog in sed gsed; do - for ac_exec_ext in '' $ac_executable_extensions; do - if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then - lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" - fi - done - done -done -IFS=$as_save_IFS -lt_ac_max=0 -lt_ac_count=0 -# Add /usr/xpg4/bin/sed as it is typically found on Solaris -# along with /bin/sed that truncates output. -for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do - test ! -f "$lt_ac_sed" && continue - cat /dev/null > conftest.in - lt_ac_count=0 - echo $ECHO_N "0123456789$ECHO_C" >conftest.in - # Check for GNU sed and select it if it is found. - if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then - lt_cv_path_SED=$lt_ac_sed - break - fi - while true; do - cat conftest.in conftest.in >conftest.tmp - mv conftest.tmp conftest.in - cp conftest.in conftest.nl - echo >>conftest.nl - $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break - cmp -s conftest.out conftest.nl || break - # 10000 chars as input seems more than enough - test 10 -lt "$lt_ac_count" && break - lt_ac_count=`expr $lt_ac_count + 1` - if test "$lt_ac_count" -gt "$lt_ac_max"; then - lt_ac_max=$lt_ac_count - lt_cv_path_SED=$lt_ac_sed - fi - done -done -]) -SED=$lt_cv_path_SED -AC_SUBST([SED]) -AC_MSG_RESULT([$SED]) -])#AC_PROG_SED -])#m4_ifndef - -# Old name: -AU_ALIAS([LT_AC_PROG_SED], [AC_PROG_SED]) -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([LT_AC_PROG_SED], []) - - -# _LT_CHECK_SHELL_FEATURES -# ------------------------ -# Find out whether the shell is Bourne or XSI compatible, -# or has some other useful features. -m4_defun([_LT_CHECK_SHELL_FEATURES], -[if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then - lt_unset=unset -else - lt_unset=false -fi -_LT_DECL([], [lt_unset], [0], [whether the shell understands "unset"])dnl - -# test EBCDIC or ASCII -case `echo X|tr X '\101'` in - A) # ASCII based system - # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr - lt_SP2NL='tr \040 \012' - lt_NL2SP='tr \015\012 \040\040' - ;; - *) # EBCDIC based system - lt_SP2NL='tr \100 \n' - lt_NL2SP='tr \r\n \100\100' - ;; -esac -_LT_DECL([SP2NL], [lt_SP2NL], [1], [turn spaces into newlines])dnl -_LT_DECL([NL2SP], [lt_NL2SP], [1], [turn newlines into spaces])dnl -])# _LT_CHECK_SHELL_FEATURES - - -# _LT_PATH_CONVERSION_FUNCTIONS -# ----------------------------- -# Determine what file name conversion functions should be used by -# func_to_host_file (and, implicitly, by func_to_host_path). These are needed -# for certain cross-compile configurations and native mingw. -m4_defun([_LT_PATH_CONVERSION_FUNCTIONS], -[AC_REQUIRE([AC_CANONICAL_HOST])dnl -AC_REQUIRE([AC_CANONICAL_BUILD])dnl -AC_MSG_CHECKING([how to convert $build file names to $host format]) -AC_CACHE_VAL(lt_cv_to_host_file_cmd, -[case $host in - *-*-mingw* ) - case $build in - *-*-mingw* ) # actually msys - lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 - ;; - *-*-cygwin* ) - lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 - ;; - * ) # otherwise, assume *nix - lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 - ;; - esac - ;; - *-*-cygwin* ) - case $build in - *-*-mingw* ) # actually msys - lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin - ;; - *-*-cygwin* ) - lt_cv_to_host_file_cmd=func_convert_file_noop - ;; - * ) # otherwise, assume *nix - lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin - ;; - esac - ;; - * ) # unhandled hosts (and "normal" native builds) - lt_cv_to_host_file_cmd=func_convert_file_noop - ;; -esac -]) -to_host_file_cmd=$lt_cv_to_host_file_cmd -AC_MSG_RESULT([$lt_cv_to_host_file_cmd]) -_LT_DECL([to_host_file_cmd], [lt_cv_to_host_file_cmd], - [0], [convert $build file names to $host format])dnl - -AC_MSG_CHECKING([how to convert $build file names to toolchain format]) -AC_CACHE_VAL(lt_cv_to_tool_file_cmd, -[#assume ordinary cross tools, or native build. -lt_cv_to_tool_file_cmd=func_convert_file_noop -case $host in - *-*-mingw* ) - case $build in - *-*-mingw* ) # actually msys - lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 - ;; - esac - ;; -esac -]) -to_tool_file_cmd=$lt_cv_to_tool_file_cmd -AC_MSG_RESULT([$lt_cv_to_tool_file_cmd]) -_LT_DECL([to_tool_file_cmd], [lt_cv_to_tool_file_cmd], - [0], [convert $build files to toolchain format])dnl -])# _LT_PATH_CONVERSION_FUNCTIONS diff --git a/harfbuzz/m4/ltoptions.m4 b/harfbuzz/m4/ltoptions.m4 deleted file mode 100644 index 94b0829..0000000 --- a/harfbuzz/m4/ltoptions.m4 +++ /dev/null @@ -1,437 +0,0 @@ -# Helper functions for option handling. -*- Autoconf -*- -# -# Copyright (C) 2004-2005, 2007-2009, 2011-2015 Free Software -# Foundation, Inc. -# Written by Gary V. Vaughan, 2004 -# -# This file is free software; the Free Software Foundation gives -# unlimited permission to copy and/or distribute it, with or without -# modifications, as long as this notice is preserved. - -# serial 8 ltoptions.m4 - -# This is to help aclocal find these macros, as it can't see m4_define. -AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])]) - - -# _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME) -# ------------------------------------------ -m4_define([_LT_MANGLE_OPTION], -[[_LT_OPTION_]m4_bpatsubst($1__$2, [[^a-zA-Z0-9_]], [_])]) - - -# _LT_SET_OPTION(MACRO-NAME, OPTION-NAME) -# --------------------------------------- -# Set option OPTION-NAME for macro MACRO-NAME, and if there is a -# matching handler defined, dispatch to it. Other OPTION-NAMEs are -# saved as a flag. -m4_define([_LT_SET_OPTION], -[m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl -m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]), - _LT_MANGLE_DEFUN([$1], [$2]), - [m4_warning([Unknown $1 option '$2'])])[]dnl -]) - - -# _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET]) -# ------------------------------------------------------------ -# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. -m4_define([_LT_IF_OPTION], -[m4_ifdef(_LT_MANGLE_OPTION([$1], [$2]), [$3], [$4])]) - - -# _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET) -# ------------------------------------------------------- -# Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME -# are set. -m4_define([_LT_UNLESS_OPTIONS], -[m4_foreach([_LT_Option], m4_split(m4_normalize([$2])), - [m4_ifdef(_LT_MANGLE_OPTION([$1], _LT_Option), - [m4_define([$0_found])])])[]dnl -m4_ifdef([$0_found], [m4_undefine([$0_found])], [$3 -])[]dnl -]) - - -# _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST) -# ---------------------------------------- -# OPTION-LIST is a space-separated list of Libtool options associated -# with MACRO-NAME. If any OPTION has a matching handler declared with -# LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about -# the unknown option and exit. -m4_defun([_LT_SET_OPTIONS], -[# Set options -m4_foreach([_LT_Option], m4_split(m4_normalize([$2])), - [_LT_SET_OPTION([$1], _LT_Option)]) - -m4_if([$1],[LT_INIT],[ - dnl - dnl Simply set some default values (i.e off) if boolean options were not - dnl specified: - _LT_UNLESS_OPTIONS([LT_INIT], [dlopen], [enable_dlopen=no - ]) - _LT_UNLESS_OPTIONS([LT_INIT], [win32-dll], [enable_win32_dll=no - ]) - dnl - dnl If no reference was made to various pairs of opposing options, then - dnl we run the default mode handler for the pair. For example, if neither - dnl 'shared' nor 'disable-shared' was passed, we enable building of shared - dnl archives by default: - _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED]) - _LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC]) - _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC]) - _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install], - [_LT_ENABLE_FAST_INSTALL]) - _LT_UNLESS_OPTIONS([LT_INIT], [aix-soname=aix aix-soname=both aix-soname=svr4], - [_LT_WITH_AIX_SONAME([aix])]) - ]) -])# _LT_SET_OPTIONS - - -## --------------------------------- ## -## Macros to handle LT_INIT options. ## -## --------------------------------- ## - -# _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME) -# ----------------------------------------- -m4_define([_LT_MANGLE_DEFUN], -[[_LT_OPTION_DEFUN_]m4_bpatsubst(m4_toupper([$1__$2]), [[^A-Z0-9_]], [_])]) - - -# LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE) -# ----------------------------------------------- -m4_define([LT_OPTION_DEFINE], -[m4_define(_LT_MANGLE_DEFUN([$1], [$2]), [$3])[]dnl -])# LT_OPTION_DEFINE - - -# dlopen -# ------ -LT_OPTION_DEFINE([LT_INIT], [dlopen], [enable_dlopen=yes -]) - -AU_DEFUN([AC_LIBTOOL_DLOPEN], -[_LT_SET_OPTION([LT_INIT], [dlopen]) -AC_DIAGNOSE([obsolete], -[$0: Remove this warning and the call to _LT_SET_OPTION when you -put the 'dlopen' option into LT_INIT's first parameter.]) -]) - -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AC_LIBTOOL_DLOPEN], []) - - -# win32-dll -# --------- -# Declare package support for building win32 dll's. -LT_OPTION_DEFINE([LT_INIT], [win32-dll], -[enable_win32_dll=yes - -case $host in -*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) - AC_CHECK_TOOL(AS, as, false) - AC_CHECK_TOOL(DLLTOOL, dlltool, false) - AC_CHECK_TOOL(OBJDUMP, objdump, false) - ;; -esac - -test -z "$AS" && AS=as -_LT_DECL([], [AS], [1], [Assembler program])dnl - -test -z "$DLLTOOL" && DLLTOOL=dlltool -_LT_DECL([], [DLLTOOL], [1], [DLL creation program])dnl - -test -z "$OBJDUMP" && OBJDUMP=objdump -_LT_DECL([], [OBJDUMP], [1], [Object dumper program])dnl -])# win32-dll - -AU_DEFUN([AC_LIBTOOL_WIN32_DLL], -[AC_REQUIRE([AC_CANONICAL_HOST])dnl -_LT_SET_OPTION([LT_INIT], [win32-dll]) -AC_DIAGNOSE([obsolete], -[$0: Remove this warning and the call to _LT_SET_OPTION when you -put the 'win32-dll' option into LT_INIT's first parameter.]) -]) - -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AC_LIBTOOL_WIN32_DLL], []) - - -# _LT_ENABLE_SHARED([DEFAULT]) -# ---------------------------- -# implement the --enable-shared flag, and supports the 'shared' and -# 'disable-shared' LT_INIT options. -# DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'. -m4_define([_LT_ENABLE_SHARED], -[m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl -AC_ARG_ENABLE([shared], - [AS_HELP_STRING([--enable-shared@<:@=PKGS@:>@], - [build shared libraries @<:@default=]_LT_ENABLE_SHARED_DEFAULT[@:>@])], - [p=${PACKAGE-default} - case $enableval in - yes) enable_shared=yes ;; - no) enable_shared=no ;; - *) - enable_shared=no - # Look at the argument we got. We use all the common list separators. - lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, - for pkg in $enableval; do - IFS=$lt_save_ifs - if test "X$pkg" = "X$p"; then - enable_shared=yes - fi - done - IFS=$lt_save_ifs - ;; - esac], - [enable_shared=]_LT_ENABLE_SHARED_DEFAULT) - - _LT_DECL([build_libtool_libs], [enable_shared], [0], - [Whether or not to build shared libraries]) -])# _LT_ENABLE_SHARED - -LT_OPTION_DEFINE([LT_INIT], [shared], [_LT_ENABLE_SHARED([yes])]) -LT_OPTION_DEFINE([LT_INIT], [disable-shared], [_LT_ENABLE_SHARED([no])]) - -# Old names: -AC_DEFUN([AC_ENABLE_SHARED], -[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared]) -]) - -AC_DEFUN([AC_DISABLE_SHARED], -[_LT_SET_OPTION([LT_INIT], [disable-shared]) -]) - -AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)]) -AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)]) - -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AM_ENABLE_SHARED], []) -dnl AC_DEFUN([AM_DISABLE_SHARED], []) - - - -# _LT_ENABLE_STATIC([DEFAULT]) -# ---------------------------- -# implement the --enable-static flag, and support the 'static' and -# 'disable-static' LT_INIT options. -# DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'. -m4_define([_LT_ENABLE_STATIC], -[m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl -AC_ARG_ENABLE([static], - [AS_HELP_STRING([--enable-static@<:@=PKGS@:>@], - [build static libraries @<:@default=]_LT_ENABLE_STATIC_DEFAULT[@:>@])], - [p=${PACKAGE-default} - case $enableval in - yes) enable_static=yes ;; - no) enable_static=no ;; - *) - enable_static=no - # Look at the argument we got. We use all the common list separators. - lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, - for pkg in $enableval; do - IFS=$lt_save_ifs - if test "X$pkg" = "X$p"; then - enable_static=yes - fi - done - IFS=$lt_save_ifs - ;; - esac], - [enable_static=]_LT_ENABLE_STATIC_DEFAULT) - - _LT_DECL([build_old_libs], [enable_static], [0], - [Whether or not to build static libraries]) -])# _LT_ENABLE_STATIC - -LT_OPTION_DEFINE([LT_INIT], [static], [_LT_ENABLE_STATIC([yes])]) -LT_OPTION_DEFINE([LT_INIT], [disable-static], [_LT_ENABLE_STATIC([no])]) - -# Old names: -AC_DEFUN([AC_ENABLE_STATIC], -[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static]) -]) - -AC_DEFUN([AC_DISABLE_STATIC], -[_LT_SET_OPTION([LT_INIT], [disable-static]) -]) - -AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)]) -AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)]) - -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AM_ENABLE_STATIC], []) -dnl AC_DEFUN([AM_DISABLE_STATIC], []) - - - -# _LT_ENABLE_FAST_INSTALL([DEFAULT]) -# ---------------------------------- -# implement the --enable-fast-install flag, and support the 'fast-install' -# and 'disable-fast-install' LT_INIT options. -# DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'. -m4_define([_LT_ENABLE_FAST_INSTALL], -[m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl -AC_ARG_ENABLE([fast-install], - [AS_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@], - [optimize for fast installation @<:@default=]_LT_ENABLE_FAST_INSTALL_DEFAULT[@:>@])], - [p=${PACKAGE-default} - case $enableval in - yes) enable_fast_install=yes ;; - no) enable_fast_install=no ;; - *) - enable_fast_install=no - # Look at the argument we got. We use all the common list separators. - lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, - for pkg in $enableval; do - IFS=$lt_save_ifs - if test "X$pkg" = "X$p"; then - enable_fast_install=yes - fi - done - IFS=$lt_save_ifs - ;; - esac], - [enable_fast_install=]_LT_ENABLE_FAST_INSTALL_DEFAULT) - -_LT_DECL([fast_install], [enable_fast_install], [0], - [Whether or not to optimize for fast installation])dnl -])# _LT_ENABLE_FAST_INSTALL - -LT_OPTION_DEFINE([LT_INIT], [fast-install], [_LT_ENABLE_FAST_INSTALL([yes])]) -LT_OPTION_DEFINE([LT_INIT], [disable-fast-install], [_LT_ENABLE_FAST_INSTALL([no])]) - -# Old names: -AU_DEFUN([AC_ENABLE_FAST_INSTALL], -[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install]) -AC_DIAGNOSE([obsolete], -[$0: Remove this warning and the call to _LT_SET_OPTION when you put -the 'fast-install' option into LT_INIT's first parameter.]) -]) - -AU_DEFUN([AC_DISABLE_FAST_INSTALL], -[_LT_SET_OPTION([LT_INIT], [disable-fast-install]) -AC_DIAGNOSE([obsolete], -[$0: Remove this warning and the call to _LT_SET_OPTION when you put -the 'disable-fast-install' option into LT_INIT's first parameter.]) -]) - -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AC_ENABLE_FAST_INSTALL], []) -dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], []) - - -# _LT_WITH_AIX_SONAME([DEFAULT]) -# ---------------------------------- -# implement the --with-aix-soname flag, and support the `aix-soname=aix' -# and `aix-soname=both' and `aix-soname=svr4' LT_INIT options. DEFAULT -# is either `aix', `both' or `svr4'. If omitted, it defaults to `aix'. -m4_define([_LT_WITH_AIX_SONAME], -[m4_define([_LT_WITH_AIX_SONAME_DEFAULT], [m4_if($1, svr4, svr4, m4_if($1, both, both, aix))])dnl -shared_archive_member_spec= -case $host,$enable_shared in -power*-*-aix[[5-9]]*,yes) - AC_MSG_CHECKING([which variant of shared library versioning to provide]) - AC_ARG_WITH([aix-soname], - [AS_HELP_STRING([--with-aix-soname=aix|svr4|both], - [shared library versioning (aka "SONAME") variant to provide on AIX, @<:@default=]_LT_WITH_AIX_SONAME_DEFAULT[@:>@.])], - [case $withval in - aix|svr4|both) - ;; - *) - AC_MSG_ERROR([Unknown argument to --with-aix-soname]) - ;; - esac - lt_cv_with_aix_soname=$with_aix_soname], - [AC_CACHE_VAL([lt_cv_with_aix_soname], - [lt_cv_with_aix_soname=]_LT_WITH_AIX_SONAME_DEFAULT) - with_aix_soname=$lt_cv_with_aix_soname]) - AC_MSG_RESULT([$with_aix_soname]) - if test aix != "$with_aix_soname"; then - # For the AIX way of multilib, we name the shared archive member - # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', - # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. - # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, - # the AIX toolchain works better with OBJECT_MODE set (default 32). - if test 64 = "${OBJECT_MODE-32}"; then - shared_archive_member_spec=shr_64 - else - shared_archive_member_spec=shr - fi - fi - ;; -*) - with_aix_soname=aix - ;; -esac - -_LT_DECL([], [shared_archive_member_spec], [0], - [Shared archive member basename, for filename based shared library versioning on AIX])dnl -])# _LT_WITH_AIX_SONAME - -LT_OPTION_DEFINE([LT_INIT], [aix-soname=aix], [_LT_WITH_AIX_SONAME([aix])]) -LT_OPTION_DEFINE([LT_INIT], [aix-soname=both], [_LT_WITH_AIX_SONAME([both])]) -LT_OPTION_DEFINE([LT_INIT], [aix-soname=svr4], [_LT_WITH_AIX_SONAME([svr4])]) - - -# _LT_WITH_PIC([MODE]) -# -------------------- -# implement the --with-pic flag, and support the 'pic-only' and 'no-pic' -# LT_INIT options. -# MODE is either 'yes' or 'no'. If omitted, it defaults to 'both'. -m4_define([_LT_WITH_PIC], -[AC_ARG_WITH([pic], - [AS_HELP_STRING([--with-pic@<:@=PKGS@:>@], - [try to use only PIC/non-PIC objects @<:@default=use both@:>@])], - [lt_p=${PACKAGE-default} - case $withval in - yes|no) pic_mode=$withval ;; - *) - pic_mode=default - # Look at the argument we got. We use all the common list separators. - lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, - for lt_pkg in $withval; do - IFS=$lt_save_ifs - if test "X$lt_pkg" = "X$lt_p"; then - pic_mode=yes - fi - done - IFS=$lt_save_ifs - ;; - esac], - [pic_mode=m4_default([$1], [default])]) - -_LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl -])# _LT_WITH_PIC - -LT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])]) -LT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])]) - -# Old name: -AU_DEFUN([AC_LIBTOOL_PICMODE], -[_LT_SET_OPTION([LT_INIT], [pic-only]) -AC_DIAGNOSE([obsolete], -[$0: Remove this warning and the call to _LT_SET_OPTION when you -put the 'pic-only' option into LT_INIT's first parameter.]) -]) - -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AC_LIBTOOL_PICMODE], []) - -## ----------------- ## -## LTDL_INIT Options ## -## ----------------- ## - -m4_define([_LTDL_MODE], []) -LT_OPTION_DEFINE([LTDL_INIT], [nonrecursive], - [m4_define([_LTDL_MODE], [nonrecursive])]) -LT_OPTION_DEFINE([LTDL_INIT], [recursive], - [m4_define([_LTDL_MODE], [recursive])]) -LT_OPTION_DEFINE([LTDL_INIT], [subproject], - [m4_define([_LTDL_MODE], [subproject])]) - -m4_define([_LTDL_TYPE], []) -LT_OPTION_DEFINE([LTDL_INIT], [installable], - [m4_define([_LTDL_TYPE], [installable])]) -LT_OPTION_DEFINE([LTDL_INIT], [convenience], - [m4_define([_LTDL_TYPE], [convenience])]) diff --git a/harfbuzz/m4/ltsugar.m4 b/harfbuzz/m4/ltsugar.m4 deleted file mode 100644 index 48bc934..0000000 --- a/harfbuzz/m4/ltsugar.m4 +++ /dev/null @@ -1,124 +0,0 @@ -# ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*- -# -# Copyright (C) 2004-2005, 2007-2008, 2011-2015 Free Software -# Foundation, Inc. -# Written by Gary V. Vaughan, 2004 -# -# This file is free software; the Free Software Foundation gives -# unlimited permission to copy and/or distribute it, with or without -# modifications, as long as this notice is preserved. - -# serial 6 ltsugar.m4 - -# This is to help aclocal find these macros, as it can't see m4_define. -AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])]) - - -# lt_join(SEP, ARG1, [ARG2...]) -# ----------------------------- -# Produce ARG1SEPARG2...SEPARGn, omitting [] arguments and their -# associated separator. -# Needed until we can rely on m4_join from Autoconf 2.62, since all earlier -# versions in m4sugar had bugs. -m4_define([lt_join], -[m4_if([$#], [1], [], - [$#], [2], [[$2]], - [m4_if([$2], [], [], [[$2]_])$0([$1], m4_shift(m4_shift($@)))])]) -m4_define([_lt_join], -[m4_if([$#$2], [2], [], - [m4_if([$2], [], [], [[$1$2]])$0([$1], m4_shift(m4_shift($@)))])]) - - -# lt_car(LIST) -# lt_cdr(LIST) -# ------------ -# Manipulate m4 lists. -# These macros are necessary as long as will still need to support -# Autoconf-2.59, which quotes differently. -m4_define([lt_car], [[$1]]) -m4_define([lt_cdr], -[m4_if([$#], 0, [m4_fatal([$0: cannot be called without arguments])], - [$#], 1, [], - [m4_dquote(m4_shift($@))])]) -m4_define([lt_unquote], $1) - - -# lt_append(MACRO-NAME, STRING, [SEPARATOR]) -# ------------------------------------------ -# Redefine MACRO-NAME to hold its former content plus 'SEPARATOR''STRING'. -# Note that neither SEPARATOR nor STRING are expanded; they are appended -# to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked). -# No SEPARATOR is output if MACRO-NAME was previously undefined (different -# than defined and empty). -# -# This macro is needed until we can rely on Autoconf 2.62, since earlier -# versions of m4sugar mistakenly expanded SEPARATOR but not STRING. -m4_define([lt_append], -[m4_define([$1], - m4_ifdef([$1], [m4_defn([$1])[$3]])[$2])]) - - - -# lt_combine(SEP, PREFIX-LIST, INFIX, SUFFIX1, [SUFFIX2...]) -# ---------------------------------------------------------- -# Produce a SEP delimited list of all paired combinations of elements of -# PREFIX-LIST with SUFFIX1 through SUFFIXn. Each element of the list -# has the form PREFIXmINFIXSUFFIXn. -# Needed until we can rely on m4_combine added in Autoconf 2.62. -m4_define([lt_combine], -[m4_if(m4_eval([$# > 3]), [1], - [m4_pushdef([_Lt_sep], [m4_define([_Lt_sep], m4_defn([lt_car]))])]]dnl -[[m4_foreach([_Lt_prefix], [$2], - [m4_foreach([_Lt_suffix], - ]m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@)))))[, - [_Lt_sep([$1])[]m4_defn([_Lt_prefix])[$3]m4_defn([_Lt_suffix])])])])]) - - -# lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ]) -# ----------------------------------------------------------------------- -# Iff MACRO-NAME does not yet contain VARNAME, then append it (delimited -# by SEPARATOR if supplied) and expand UNIQ, else NOT-UNIQ. -m4_define([lt_if_append_uniq], -[m4_ifdef([$1], - [m4_if(m4_index([$3]m4_defn([$1])[$3], [$3$2$3]), [-1], - [lt_append([$1], [$2], [$3])$4], - [$5])], - [lt_append([$1], [$2], [$3])$4])]) - - -# lt_dict_add(DICT, KEY, VALUE) -# ----------------------------- -m4_define([lt_dict_add], -[m4_define([$1($2)], [$3])]) - - -# lt_dict_add_subkey(DICT, KEY, SUBKEY, VALUE) -# -------------------------------------------- -m4_define([lt_dict_add_subkey], -[m4_define([$1($2:$3)], [$4])]) - - -# lt_dict_fetch(DICT, KEY, [SUBKEY]) -# ---------------------------------- -m4_define([lt_dict_fetch], -[m4_ifval([$3], - m4_ifdef([$1($2:$3)], [m4_defn([$1($2:$3)])]), - m4_ifdef([$1($2)], [m4_defn([$1($2)])]))]) - - -# lt_if_dict_fetch(DICT, KEY, [SUBKEY], VALUE, IF-TRUE, [IF-FALSE]) -# ----------------------------------------------------------------- -m4_define([lt_if_dict_fetch], -[m4_if(lt_dict_fetch([$1], [$2], [$3]), [$4], - [$5], - [$6])]) - - -# lt_dict_filter(DICT, [SUBKEY], VALUE, [SEPARATOR], KEY, [...]) -# -------------------------------------------------------------- -m4_define([lt_dict_filter], -[m4_if([$5], [], [], - [lt_join(m4_quote(m4_default([$4], [[, ]])), - lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_key, lt_car([m4_shiftn(4, $@)]), - [lt_if_dict_fetch([$1], _Lt_key, [$2], [$3], [_Lt_key ])])))))])[]dnl -]) diff --git a/harfbuzz/m4/ltversion.m4 b/harfbuzz/m4/ltversion.m4 deleted file mode 100644 index fa04b52..0000000 --- a/harfbuzz/m4/ltversion.m4 +++ /dev/null @@ -1,23 +0,0 @@ -# ltversion.m4 -- version numbers -*- Autoconf -*- -# -# Copyright (C) 2004, 2011-2015 Free Software Foundation, Inc. -# Written by Scott James Remnant, 2004 -# -# This file is free software; the Free Software Foundation gives -# unlimited permission to copy and/or distribute it, with or without -# modifications, as long as this notice is preserved. - -# @configure_input@ - -# serial 4179 ltversion.m4 -# This file is part of GNU Libtool - -m4_define([LT_PACKAGE_VERSION], [2.4.6]) -m4_define([LT_PACKAGE_REVISION], [2.4.6]) - -AC_DEFUN([LTVERSION_VERSION], -[macro_version='2.4.6' -macro_revision='2.4.6' -_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?]) -_LT_DECL(, macro_revision, 0) -]) diff --git a/harfbuzz/m4/lt~obsolete.m4 b/harfbuzz/m4/lt~obsolete.m4 deleted file mode 100644 index c6b26f8..0000000 --- a/harfbuzz/m4/lt~obsolete.m4 +++ /dev/null @@ -1,99 +0,0 @@ -# lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*- -# -# Copyright (C) 2004-2005, 2007, 2009, 2011-2015 Free Software -# Foundation, Inc. -# Written by Scott James Remnant, 2004. -# -# This file is free software; the Free Software Foundation gives -# unlimited permission to copy and/or distribute it, with or without -# modifications, as long as this notice is preserved. - -# serial 5 lt~obsolete.m4 - -# These exist entirely to fool aclocal when bootstrapping libtool. -# -# In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN), -# which have later been changed to m4_define as they aren't part of the -# exported API, or moved to Autoconf or Automake where they belong. -# -# The trouble is, aclocal is a bit thick. It'll see the old AC_DEFUN -# in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us -# using a macro with the same name in our local m4/libtool.m4 it'll -# pull the old libtool.m4 in (it doesn't see our shiny new m4_define -# and doesn't know about Autoconf macros at all.) -# -# So we provide this file, which has a silly filename so it's always -# included after everything else. This provides aclocal with the -# AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything -# because those macros already exist, or will be overwritten later. -# We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6. -# -# Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here. -# Yes, that means every name once taken will need to remain here until -# we give up compatibility with versions before 1.7, at which point -# we need to keep only those names which we still refer to. - -# This is to help aclocal find these macros, as it can't see m4_define. -AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])]) - -m4_ifndef([AC_LIBTOOL_LINKER_OPTION], [AC_DEFUN([AC_LIBTOOL_LINKER_OPTION])]) -m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP])]) -m4_ifndef([_LT_AC_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])]) -m4_ifndef([_LT_AC_SHELL_INIT], [AC_DEFUN([_LT_AC_SHELL_INIT])]) -m4_ifndef([_LT_AC_SYS_LIBPATH_AIX], [AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])]) -m4_ifndef([_LT_PROG_LTMAIN], [AC_DEFUN([_LT_PROG_LTMAIN])]) -m4_ifndef([_LT_AC_TAGVAR], [AC_DEFUN([_LT_AC_TAGVAR])]) -m4_ifndef([AC_LTDL_ENABLE_INSTALL], [AC_DEFUN([AC_LTDL_ENABLE_INSTALL])]) -m4_ifndef([AC_LTDL_PREOPEN], [AC_DEFUN([AC_LTDL_PREOPEN])]) -m4_ifndef([_LT_AC_SYS_COMPILER], [AC_DEFUN([_LT_AC_SYS_COMPILER])]) -m4_ifndef([_LT_AC_LOCK], [AC_DEFUN([_LT_AC_LOCK])]) -m4_ifndef([AC_LIBTOOL_SYS_OLD_ARCHIVE], [AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])]) -m4_ifndef([_LT_AC_TRY_DLOPEN_SELF], [AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])]) -m4_ifndef([AC_LIBTOOL_PROG_CC_C_O], [AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])]) -m4_ifndef([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])]) -m4_ifndef([AC_LIBTOOL_OBJDIR], [AC_DEFUN([AC_LIBTOOL_OBJDIR])]) -m4_ifndef([AC_LTDL_OBJDIR], [AC_DEFUN([AC_LTDL_OBJDIR])]) -m4_ifndef([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])]) -m4_ifndef([AC_LIBTOOL_SYS_LIB_STRIP], [AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])]) -m4_ifndef([AC_PATH_MAGIC], [AC_DEFUN([AC_PATH_MAGIC])]) -m4_ifndef([AC_PROG_LD_GNU], [AC_DEFUN([AC_PROG_LD_GNU])]) -m4_ifndef([AC_PROG_LD_RELOAD_FLAG], [AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])]) -m4_ifndef([AC_DEPLIBS_CHECK_METHOD], [AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])]) -m4_ifndef([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])]) -m4_ifndef([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])]) -m4_ifndef([AC_LIBTOOL_PROG_COMPILER_PIC], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])]) -m4_ifndef([AC_LIBTOOL_PROG_LD_SHLIBS], [AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])]) -m4_ifndef([AC_LIBTOOL_POSTDEP_PREDEP], [AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])]) -m4_ifndef([LT_AC_PROG_EGREP], [AC_DEFUN([LT_AC_PROG_EGREP])]) -m4_ifndef([LT_AC_PROG_SED], [AC_DEFUN([LT_AC_PROG_SED])]) -m4_ifndef([_LT_CC_BASENAME], [AC_DEFUN([_LT_CC_BASENAME])]) -m4_ifndef([_LT_COMPILER_BOILERPLATE], [AC_DEFUN([_LT_COMPILER_BOILERPLATE])]) -m4_ifndef([_LT_LINKER_BOILERPLATE], [AC_DEFUN([_LT_LINKER_BOILERPLATE])]) -m4_ifndef([_AC_PROG_LIBTOOL], [AC_DEFUN([_AC_PROG_LIBTOOL])]) -m4_ifndef([AC_LIBTOOL_SETUP], [AC_DEFUN([AC_LIBTOOL_SETUP])]) -m4_ifndef([_LT_AC_CHECK_DLFCN], [AC_DEFUN([_LT_AC_CHECK_DLFCN])]) -m4_ifndef([AC_LIBTOOL_SYS_DYNAMIC_LINKER], [AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])]) -m4_ifndef([_LT_AC_TAGCONFIG], [AC_DEFUN([_LT_AC_TAGCONFIG])]) -m4_ifndef([AC_DISABLE_FAST_INSTALL], [AC_DEFUN([AC_DISABLE_FAST_INSTALL])]) -m4_ifndef([_LT_AC_LANG_CXX], [AC_DEFUN([_LT_AC_LANG_CXX])]) -m4_ifndef([_LT_AC_LANG_F77], [AC_DEFUN([_LT_AC_LANG_F77])]) -m4_ifndef([_LT_AC_LANG_GCJ], [AC_DEFUN([_LT_AC_LANG_GCJ])]) -m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])]) -m4_ifndef([_LT_AC_LANG_C_CONFIG], [AC_DEFUN([_LT_AC_LANG_C_CONFIG])]) -m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])]) -m4_ifndef([_LT_AC_LANG_CXX_CONFIG], [AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])]) -m4_ifndef([AC_LIBTOOL_LANG_F77_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])]) -m4_ifndef([_LT_AC_LANG_F77_CONFIG], [AC_DEFUN([_LT_AC_LANG_F77_CONFIG])]) -m4_ifndef([AC_LIBTOOL_LANG_GCJ_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])]) -m4_ifndef([_LT_AC_LANG_GCJ_CONFIG], [AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])]) -m4_ifndef([AC_LIBTOOL_LANG_RC_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])]) -m4_ifndef([_LT_AC_LANG_RC_CONFIG], [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])]) -m4_ifndef([AC_LIBTOOL_CONFIG], [AC_DEFUN([AC_LIBTOOL_CONFIG])]) -m4_ifndef([_LT_AC_FILE_LTDLL_C], [AC_DEFUN([_LT_AC_FILE_LTDLL_C])]) -m4_ifndef([_LT_REQUIRED_DARWIN_CHECKS], [AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS])]) -m4_ifndef([_LT_AC_PROG_CXXCPP], [AC_DEFUN([_LT_AC_PROG_CXXCPP])]) -m4_ifndef([_LT_PREPARE_SED_QUOTE_VARS], [AC_DEFUN([_LT_PREPARE_SED_QUOTE_VARS])]) -m4_ifndef([_LT_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_PROG_ECHO_BACKSLASH])]) -m4_ifndef([_LT_PROG_F77], [AC_DEFUN([_LT_PROG_F77])]) -m4_ifndef([_LT_PROG_FC], [AC_DEFUN([_LT_PROG_FC])]) -m4_ifndef([_LT_PROG_CXX], [AC_DEFUN([_LT_PROG_CXX])]) diff --git a/harfbuzz/meson.build b/harfbuzz/meson.build deleted file mode 100644 index 5dd936c..0000000 --- a/harfbuzz/meson.build +++ /dev/null @@ -1,391 +0,0 @@ -project('harfbuzz', 'c', 'cpp', - meson_version: '>= 0.55.0', - version: '3.2.0', - default_options: [ - 'cpp_rtti=false', # Just to support msvc, we are passing -fno-exceptions also anyway - 'cpp_std=c++11', - 'wrap_mode=nofallback', # Use --wrap-mode=default to revert, https://github.com/harfbuzz/harfbuzz/pull/2548 - ], -) - -hb_version_arr = meson.project_version().split('.') -hb_version_major = hb_version_arr[0].to_int() -hb_version_minor = hb_version_arr[1].to_int() -hb_version_micro = hb_version_arr[2].to_int() - -# libtool versioning -hb_version_int = hb_version_major*10000 + hb_version_minor*100 + hb_version_micro -hb_libtool_version_info = '@0@:0:@0@'.format(hb_version_int) - -pkgmod = import('pkgconfig') -cpp = meson.get_compiler('cpp') -null_dep = dependency('', required: false) - -if cpp.get_id() == 'msvc' - # Ignore several spurious warnings for things HarfBuzz does very commonly. - # If a warning is completely useless and spammy, use '/wdXXXX' to suppress it - # If a warning is harmless but hard to fix, use '/woXXXX' so it's shown once - # NOTE: Only add warnings here if you are sure they're spurious - msvc_args = [ - '/wd4018', # implicit signed/unsigned conversion - '/wd4146', # unary minus on unsigned (beware INT_MIN) - '/wd4244', # lossy type conversion (e.g. double -> int) - '/wd4305', # truncating type conversion (e.g. double -> float) - cpp.get_supported_arguments(['/utf-8']), # set the input encoding to utf-8 - ] - add_project_arguments(msvc_args, language: ['c', 'cpp']) - # Disable SAFESEH with MSVC for libs that use external deps that are built with MinGW - # noseh_link_args = ['/SAFESEH:NO'] - # disable exception handling - add_project_arguments(['/EHs-', '/EHc-'], language: 'cpp') -endif - -add_project_link_arguments(cpp.get_supported_link_arguments([ - '-Bsymbolic-functions' -]), language: 'c') - -add_project_arguments(cpp.get_supported_arguments([ - '-fno-exceptions', - '-fno-rtti', - '-fno-threadsafe-statics', - '-fvisibility-inlines-hidden', -]), language: 'cpp') - -if host_machine.cpu_family() == 'arm' and cpp.alignment('struct { char c; }') != 1 - if cpp.has_argument('-mstructure-size-boundary=8') - add_project_arguments('-mstructure-size-boundary=8', language: 'cpp') - endif -endif - -check_headers = [ - ['unistd.h'], - ['sys/mman.h'], - ['stdbool.h'], -] - -check_funcs = [ - ['atexit'], - ['mprotect'], - ['sysconf'], - ['getpagesize'], - ['mmap'], - ['isatty'], -] - -m_dep = cpp.find_library('m', required: false) - -freetype_dep = null_dep -if not get_option('freetype').disabled() - freetype_dep = dependency('freetype2', required: false) - - if (not freetype_dep.found() and - cpp.get_id() == 'msvc' and - cpp.has_header('ft2build.h')) - freetype_dep = cpp.find_library('freetype', required: false) - endif - - if not freetype_dep.found() - # https://github.com/harfbuzz/harfbuzz/pull/2498 - freetype_dep = dependency('freetype2', required: get_option('freetype'), - fallback: ['freetype2', 'freetype_dep'], - default_options: ['harfbuzz=disabled']) - endif -endif - -glib_dep = dependency('glib-2.0', required: get_option('glib'), - fallback: ['glib', 'libglib_dep']) -gobject_dep = dependency('gobject-2.0', required: get_option('gobject'), - fallback: ['glib', 'libgobject_dep']) -graphite2_dep = dependency('graphite2', required: get_option('graphite2')) -graphite_dep = dependency('graphite2', required: get_option('graphite')) - -icu_dep = null_dep -if not get_option('icu').disabled() - icu_dep = dependency('icu-uc', required: false) - - if (not icu_dep.found() and - cpp.get_id() == 'msvc' and - cpp.has_header('unicode/uchar.h') and - cpp.has_header('unicode/unorm2.h') and - cpp.has_header('unicode/ustring.h') and - cpp.has_header('unicode/utf16.h') and - cpp.has_header('unicode/uversion.h') and - cpp.has_header('unicode/uscript.h')) - if get_option('buildtype') == 'debug' - icu_dep = cpp.find_library('icuucd', required: false) - else - icu_dep = cpp.find_library('icuuc', required: false) - endif - endif - - if not icu_dep.found() - icu_dep = dependency('icu-uc', required: get_option('icu')) - endif -endif - -cairo_dep = null_dep -cairo_ft_dep = null_dep -if not get_option('cairo').disabled() - cairo_dep = dependency('cairo', required: false) - cairo_ft_dep = dependency('cairo-ft', required: false) - - if (not cairo_dep.found() and - cpp.get_id() == 'msvc' and - cpp.has_header('cairo.h')) - cairo_dep = cpp.find_library('cairo', required: false) - if cairo_dep.found() and cpp.has_function('cairo_ft_font_face_create_for_ft_face', - prefix: '#include ', - dependencies: cairo_dep) - cairo_ft_dep = cairo_dep - endif - endif - - if not cairo_dep.found() - # Note that we don't have harfbuzz -> cairo -> freetype2 -> harfbuzz fallback - # dependency cycle here because we have configured freetype2 above with - # harfbuzz support disabled, so when cairo will lookup freetype2 dependency - # it will be forced to use that one. - cairo_dep = dependency('cairo', fallback: 'cairo', required: get_option('cairo')) - cairo_ft_dep = dependency('cairo-ft', fallback: 'cairo', required: get_option('cairo')) - endif -endif - -chafa_dep = dependency('chafa', version: '>= 1.6.0', required: get_option('chafa')) - -conf = configuration_data() -incconfig = include_directories('.') - -add_project_arguments('-DHAVE_CONFIG_H', language: ['c', 'cpp']) - -warn_cflags = [ - '-Wno-non-virtual-dtor', -] - -cpp_args = cpp.get_supported_arguments(warn_cflags) - -if glib_dep.found() - conf.set('HAVE_GLIB', 1) -endif - -if gobject_dep.found() - conf.set('HAVE_GOBJECT', 1) -endif - -if cairo_dep.found() - conf.set('HAVE_CAIRO', 1) -endif - -if cairo_ft_dep.found() - conf.set('HAVE_CAIRO_FT', 1) -endif - -if chafa_dep.found() - conf.set('HAVE_CHAFA', 1) -endif - -if graphite2_dep.found() or graphite_dep.found() - conf.set('HAVE_GRAPHITE2', 1) -endif - -if icu_dep.found() - conf.set('HAVE_ICU', 1) -endif - -if get_option('icu_builtin') - conf.set('HAVE_ICU_BUILTIN', 1) -endif - -if get_option('experimental_api') - conf.set('HB_EXPERIMENTAL_API', 1) -endif - -if freetype_dep.found() - conf.set('HAVE_FREETYPE', 1) - check_freetype_funcs = [ - ['FT_Get_Var_Blend_Coordinates', {'deps': freetype_dep}], - ['FT_Set_Var_Blend_Coordinates', {'deps': freetype_dep}], - ['FT_Done_MM_Var', {'deps': freetype_dep}], - ] - - if freetype_dep.type_name() == 'internal' - foreach func: check_freetype_funcs - name = func[0] - conf.set('HAVE_@0@'.format(name.to_upper()), 1) - endforeach - else - check_funcs += check_freetype_funcs - endif -endif - -gdi_uniscribe_deps = [] -# GDI (Uniscribe) (Windows) -if host_machine.system() == 'windows' and not get_option('gdi').disabled() - if (get_option('directwrite').enabled() and - not (cpp.has_header('usp10.h') and cpp.has_header('windows.h'))) - error('GDI/Uniscribe was enabled explicitly, but required headers are missing.') - endif - - gdi_deps_found = true - foreach usplib : ['usp10', 'gdi32', 'rpcrt4'] - dep = cpp.find_library(usplib, required: get_option('gdi')) - gdi_deps_found = gdi_deps_found and dep.found() - gdi_uniscribe_deps += dep - endforeach - - if gdi_deps_found - conf.set('HAVE_UNISCRIBE', 1) - conf.set('HAVE_GDI', 1) - endif -endif - -# DirectWrite (Windows) -directwrite_dep = null_dep -if host_machine.system() == 'windows' and not get_option('directwrite').disabled() - if get_option('directwrite').enabled() and not cpp.has_header('dwrite_1.h') - error('DirectWrite was enabled explicitly, but required header is missing.') - endif - - directwrite_dep = cpp.find_library('dwrite', required: get_option('directwrite')) - - if directwrite_dep.found() - conf.set('HAVE_DIRECTWRITE', 1) - endif -endif - -# CoreText (macOS) -coretext_deps = [] -if host_machine.system() == 'darwin' and not get_option('coretext').disabled() - app_services_dep = dependency('appleframeworks', modules: ['ApplicationServices'], required: false) - if cpp.has_type('CTFontRef', prefix: '#include ', dependencies: app_services_dep) - coretext_deps += [app_services_dep] - conf.set('HAVE_CORETEXT', 1) - # On iOS CoreText and CoreGraphics are stand-alone frameworks - # Check for a different symbol to avoid getting cached result - else - coretext_dep = dependency('appleframeworks', modules: ['CoreText'], required: false) - coregraphics_dep = dependency('appleframeworks', modules: ['CoreGraphics'], required: false) - corefoundation_dep = dependency('appleframeworks', modules: ['CoreFoundation'], required: false) - if cpp.has_type('CTRunRef', prefix: '#include ', dependencies: [coretext_dep, coregraphics_dep, corefoundation_dep]) - coretext_deps += [coretext_dep, coregraphics_dep, corefoundation_dep] - conf.set('HAVE_CORETEXT', 1) - elif get_option('coretext').enabled() - error('CoreText was enabled explicitly, but required headers or frameworks are missing.') - endif - endif -endif - -# threads -thread_dep = null_dep -if host_machine.system() != 'windows' - thread_dep = dependency('threads', required: false) - - if thread_dep.found() - conf.set('HAVE_PTHREAD', 1) - endif -endif - -conf.set_quoted('PACKAGE_NAME', 'HarfBuzz') -conf.set_quoted('PACKAGE_VERSION', meson.project_version()) - -foreach check : check_headers - name = check[0] - - if cpp.has_header(name) - conf.set('HAVE_@0@'.format(name.to_upper().underscorify()), 1) - endif -endforeach - -harfbuzz_extra_deps = [] -foreach check : check_funcs - name = check[0] - opts = check.get(1, {}) - link_withs = opts.get('link_with', []) - check_deps = opts.get('deps', []) - extra_deps = [] - found = true - - # First try without linking - found = cpp.has_function(name, dependencies: check_deps) - - if not found and link_withs.length() > 0 - found = true - - foreach link_with : link_withs - dep = cpp.find_library(link_with, required: false) - if dep.found() - extra_deps += dep - else - found = false - endif - endforeach - - if found - found = cpp.has_function(name, dependencies: check_deps + extra_deps) - endif - endif - - if found - harfbuzz_extra_deps += extra_deps - conf.set('HAVE_@0@'.format(name.to_upper()), 1) - endif -endforeach - -subdir('src') -subdir('util') - -if not get_option('tests').disabled() - subdir('test') -endif - -if not get_option('benchmark').disabled() - subdir('perf') -endif - -if not get_option('docs').disabled() - subdir('docs') -endif - -configure_file(output: 'config.h', configuration: conf) - -build_summary = { - 'Directories': - {'prefix': get_option('prefix'), - 'bindir': get_option('bindir'), - 'libdir': get_option('libdir'), - 'includedir': get_option('includedir'), - 'datadir': get_option('datadir'), - }, - 'Unicode callbacks (you want at least one)': - {'Builtin': true, - 'Glib': conf.get('HAVE_GLIB', 0) == 1, - 'ICU': conf.get('HAVE_ICU', 0) == 1, - }, - 'Font callbacks (the more the merrier)': - {'FreeType': conf.get('HAVE_FREETYPE', 0) == 1, - }, - 'Dependencies used for command-line utilities': - {'Cairo': conf.get('HAVE_CAIRO', 0) == 1, - 'Chafa': conf.get('HAVE_CHAFA', 0) == 1, - }, - 'Additional shapers': - {'Graphite2': conf.get('HAVE_GRAPHITE2', 0) == 1, - }, - 'Platform shapers (not normally needed)': - {'CoreText': conf.get('HAVE_CORETEXT', 0) == 1, - 'DirectWrite': conf.get('HAVE_DIRECTWRITE', 0) == 1, - 'GDI/Uniscribe': (conf.get('HAVE_GDI', 0) == 1) and (conf.get('HAVE_UNISCRIBE', 0) == 1), - }, - 'Other features': - {'Documentation': conf.get('HAVE_GTK_DOC', 0) == 1, - 'GObject bindings': conf.get('HAVE_GOBJECT', 0) == 1, - 'Introspection': conf.get('HAVE_INTROSPECTION', 0) == 1, - 'Experimental APIs': conf.get('HB_EXPERIMENTAL_API', 0) == 1, - }, - 'Testing': - {'Tests': get_option('tests').enabled(), - 'Benchmark': get_option('benchmark').enabled(), - }, -} -foreach section_title, section : build_summary - summary(section, bool_yn: true, section: section_title) -endforeach diff --git a/harfbuzz/meson_options.txt b/harfbuzz/meson_options.txt deleted file mode 100644 index 9ebba72..0000000 --- a/harfbuzz/meson_options.txt +++ /dev/null @@ -1,42 +0,0 @@ -# HarfBuzz feature options -option('glib', type: 'feature', value: 'auto', - description: 'Enable GLib unicode functions') -option('gobject', type: 'feature', value: 'auto', - description: 'Enable GObject bindings') -option('cairo', type: 'feature', value: 'auto', - description: 'Use Cairo graphics library') -option('chafa', type: 'feature', value: 'auto', - description: 'Use Chafa terminal graphics library') -option('icu', type: 'feature', value: 'auto', - description: 'Enable ICU library unicode functions') -option('graphite', type: 'feature', value: 'disabled', - description: 'Deprecated use graphite2 option instead') -option('graphite2', type: 'feature', value: 'disabled', - description: 'Enable Graphite2 complementary shaper') -option('freetype', type: 'feature', value: 'auto', - description: 'Enable freetype interop helpers') -option('gdi', type: 'feature', value: 'disabled', - description: 'Enable GDI helpers and Uniscribe shaper backend (Windows only)') -option('directwrite', type: 'feature', value: 'disabled', - description: 'Enable DirectWrite shaper backend on Windows (experimental)') -option('coretext', type: 'feature', value: 'disabled', - description: 'Enable CoreText shaper backend on macOS') - -# Common feature options -option('tests', type: 'feature', value: 'enabled', yield: true, - description: 'Enable or disable unit tests') -option('introspection', type: 'feature', value: 'auto', yield: true, - description: 'Generate gobject-introspection bindings (.gir/.typelib files)') -option('docs', type: 'feature', value: 'auto', yield: true, - description: 'Generate documentation with gtk-doc') - -option('benchmark', type: 'feature', value: 'disabled', - description: 'Enable benchmark tests') -option('icu_builtin', type: 'boolean', value: false, - description: 'Don\'t separate ICU support as harfbuzz-icu module') -option('experimental_api', type: 'boolean', value: false, - description: 'Enable experimental APIs') -option('ragel_subproject', type: 'boolean', value: false, - description: 'Build Ragel subproject if no suitable version is found') -option('fuzzer_ldflags', type: 'string', - description: 'Extra LDFLAGS used during linking of fuzzing binaries') diff --git a/harfbuzz/mingw-configure.sh b/harfbuzz/mingw-configure.sh deleted file mode 100755 index 3281ce3..0000000 --- a/harfbuzz/mingw-configure.sh +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/sh - -case $1 in - i686 | x86_64) ;; - *) echo "Usage: $0 i686|x86_64" >&2; exit 1 ;; -esac - -target=$1-w64-mingw32 -shift - -exec "$(dirname "$0")"/configure \ - --build=`../config.guess` \ - --host=$target \ - --prefix=$HOME/.local/$target \ - CC= \ - CXX= \ - CPP= \ - LD= \ - CFLAGS="-static-libgcc" \ - CXXFLAGS="-static-libgcc -static-libstdc++" \ - CPPFLAGS="-I$HOME/.local/$target/include" \ - LDFLAGS=-L$HOME/.local/$target/lib \ - PKG_CONFIG_LIBDIR=$HOME/.local/$target/lib/pkgconfig:/usr/$target/sys-root/mingw/lib/pkgconfig/ \ - PKG_CONFIG_PATH=$HOME/.local/$target/share/pkgconfig:/usr/$target/sys-root/mingw/share/pkgconfig/ \ - PATH=$HOME/.local/$target/bin:/usr/$target/sys-root/mingw/bin:/usr/$target/bin:$PATH \ - --without-icu \ - --with-uniscribe \ - "$@" diff --git a/harfbuzz/missing b/harfbuzz/missing deleted file mode 100755 index 625aeb1..0000000 --- a/harfbuzz/missing +++ /dev/null @@ -1,215 +0,0 @@ -#! /bin/sh -# Common wrapper for a few potentially missing GNU programs. - -scriptversion=2018-03-07.03; # UTC - -# Copyright (C) 1996-2018 Free Software Foundation, Inc. -# Originally written by Fran,cois Pinard , 1996. - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . - -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - -if test $# -eq 0; then - echo 1>&2 "Try '$0 --help' for more information" - exit 1 -fi - -case $1 in - - --is-lightweight) - # Used by our autoconf macros to check whether the available missing - # script is modern enough. - exit 0 - ;; - - --run) - # Back-compat with the calling convention used by older automake. - shift - ;; - - -h|--h|--he|--hel|--help) - echo "\ -$0 [OPTION]... PROGRAM [ARGUMENT]... - -Run 'PROGRAM [ARGUMENT]...', returning a proper advice when this fails due -to PROGRAM being missing or too old. - -Options: - -h, --help display this help and exit - -v, --version output version information and exit - -Supported PROGRAM values: - aclocal autoconf autoheader autom4te automake makeinfo - bison yacc flex lex help2man - -Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and -'g' are ignored when checking the name. - -Send bug reports to ." - exit $? - ;; - - -v|--v|--ve|--ver|--vers|--versi|--versio|--version) - echo "missing $scriptversion (GNU Automake)" - exit $? - ;; - - -*) - echo 1>&2 "$0: unknown '$1' option" - echo 1>&2 "Try '$0 --help' for more information" - exit 1 - ;; - -esac - -# Run the given program, remember its exit status. -"$@"; st=$? - -# If it succeeded, we are done. -test $st -eq 0 && exit 0 - -# Also exit now if we it failed (or wasn't found), and '--version' was -# passed; such an option is passed most likely to detect whether the -# program is present and works. -case $2 in --version|--help) exit $st;; esac - -# Exit code 63 means version mismatch. This often happens when the user -# tries to use an ancient version of a tool on a file that requires a -# minimum version. -if test $st -eq 63; then - msg="probably too old" -elif test $st -eq 127; then - # Program was missing. - msg="missing on your system" -else - # Program was found and executed, but failed. Give up. - exit $st -fi - -perl_URL=https://www.perl.org/ -flex_URL=https://github.com/westes/flex -gnu_software_URL=https://www.gnu.org/software - -program_details () -{ - case $1 in - aclocal|automake) - echo "The '$1' program is part of the GNU Automake package:" - echo "<$gnu_software_URL/automake>" - echo "It also requires GNU Autoconf, GNU m4 and Perl in order to run:" - echo "<$gnu_software_URL/autoconf>" - echo "<$gnu_software_URL/m4/>" - echo "<$perl_URL>" - ;; - autoconf|autom4te|autoheader) - echo "The '$1' program is part of the GNU Autoconf package:" - echo "<$gnu_software_URL/autoconf/>" - echo "It also requires GNU m4 and Perl in order to run:" - echo "<$gnu_software_URL/m4/>" - echo "<$perl_URL>" - ;; - esac -} - -give_advice () -{ - # Normalize program name to check for. - normalized_program=`echo "$1" | sed ' - s/^gnu-//; t - s/^gnu//; t - s/^g//; t'` - - printf '%s\n' "'$1' is $msg." - - configure_deps="'configure.ac' or m4 files included by 'configure.ac'" - case $normalized_program in - autoconf*) - echo "You should only need it if you modified 'configure.ac'," - echo "or m4 files included by it." - program_details 'autoconf' - ;; - autoheader*) - echo "You should only need it if you modified 'acconfig.h' or" - echo "$configure_deps." - program_details 'autoheader' - ;; - automake*) - echo "You should only need it if you modified 'Makefile.am' or" - echo "$configure_deps." - program_details 'automake' - ;; - aclocal*) - echo "You should only need it if you modified 'acinclude.m4' or" - echo "$configure_deps." - program_details 'aclocal' - ;; - autom4te*) - echo "You might have modified some maintainer files that require" - echo "the 'autom4te' program to be rebuilt." - program_details 'autom4te' - ;; - bison*|yacc*) - echo "You should only need it if you modified a '.y' file." - echo "You may want to install the GNU Bison package:" - echo "<$gnu_software_URL/bison/>" - ;; - lex*|flex*) - echo "You should only need it if you modified a '.l' file." - echo "You may want to install the Fast Lexical Analyzer package:" - echo "<$flex_URL>" - ;; - help2man*) - echo "You should only need it if you modified a dependency" \ - "of a man page." - echo "You may want to install the GNU Help2man package:" - echo "<$gnu_software_URL/help2man/>" - ;; - makeinfo*) - echo "You should only need it if you modified a '.texi' file, or" - echo "any other file indirectly affecting the aspect of the manual." - echo "You might want to install the Texinfo package:" - echo "<$gnu_software_URL/texinfo/>" - echo "The spurious makeinfo call might also be the consequence of" - echo "using a buggy 'make' (AIX, DU, IRIX), in which case you might" - echo "want to install GNU make:" - echo "<$gnu_software_URL/make/>" - ;; - *) - echo "You might have modified some files without having the proper" - echo "tools for further handling them. Check the 'README' file, it" - echo "often tells you about the needed prerequisites for installing" - echo "this package. You may also peek at any GNU archive site, in" - echo "case some other package contains this missing '$1' program." - ;; - esac -} - -give_advice "$1" | sed -e '1s/^/WARNING: /' \ - -e '2,$s/^/ /' >&2 - -# Propagate the correct exit status (expected to be 127 for a program -# not found, 63 for a program that failed due to version mismatch). -exit $st - -# Local variables: -# eval: (add-hook 'before-save-hook 'time-stamp) -# time-stamp-start: "scriptversion=" -# time-stamp-format: "%:y-%02m-%02d.%02H" -# time-stamp-time-zone: "UTC0" -# time-stamp-end: "; # UTC" -# End: diff --git a/harfbuzz/perf/fonts/Amiri-Regular.ttf b/harfbuzz/perf/fonts/Amiri-Regular.ttf deleted file mode 100644 index e328e06..0000000 Binary files a/harfbuzz/perf/fonts/Amiri-Regular.ttf and /dev/null differ diff --git a/harfbuzz/perf/fonts/NotoNastaliqUrdu-Regular.ttf b/harfbuzz/perf/fonts/NotoNastaliqUrdu-Regular.ttf deleted file mode 100644 index 891f633..0000000 Binary files a/harfbuzz/perf/fonts/NotoNastaliqUrdu-Regular.ttf and /dev/null differ diff --git a/harfbuzz/perf/fonts/NotoSansDevanagari-Regular.ttf b/harfbuzz/perf/fonts/NotoSansDevanagari-Regular.ttf deleted file mode 100644 index a9884a5..0000000 Binary files a/harfbuzz/perf/fonts/NotoSansDevanagari-Regular.ttf and /dev/null differ diff --git a/harfbuzz/perf/fonts/Roboto-Regular.ttf b/harfbuzz/perf/fonts/Roboto-Regular.ttf deleted file mode 100644 index 500b104..0000000 Binary files a/harfbuzz/perf/fonts/Roboto-Regular.ttf and /dev/null differ diff --git a/harfbuzz/perf/meson.build b/harfbuzz/perf/meson.build deleted file mode 100644 index e12744c..0000000 --- a/harfbuzz/perf/meson.build +++ /dev/null @@ -1,21 +0,0 @@ -google_benchmark = subproject('google-benchmark') -google_benchmark_dep = google_benchmark.get_variable('google_benchmark_dep') - -ttf_parser_dep = null_dep -if get_option('experimental_api') and add_languages('rust', required: false, native: true) - ttf_parser_dep = subproject('ttf-parser').get_variable('ttf_parser_dep') -endif - -benchmark('perf', executable('perf', 'perf.cc', - dependencies: [ - google_benchmark_dep, freetype_dep, - - # the last two, thread and dl, aren't nice as ttf-parser isn't no_std yet - # https://github.com/RazrFalcon/ttf-parser/issues/29 - ttf_parser_dep, thread_dep, cpp.find_library('dl'), - ], - cpp_args: ttf_parser_dep.found() ? ['-DHAVE_TTFPARSER'] : [], - include_directories: [incconfig, incsrc], - link_with: [libharfbuzz], - install: false, -), workdir: meson.current_source_dir() / '..', timeout: 100) diff --git a/harfbuzz/perf/perf-draw.hh b/harfbuzz/perf/perf-draw.hh deleted file mode 100644 index 12581bc..0000000 --- a/harfbuzz/perf/perf-draw.hh +++ /dev/null @@ -1,177 +0,0 @@ -#include "benchmark/benchmark.h" - -#include "hb.h" -#include "hb-ot.h" -#include "hb-ft.h" -#include FT_OUTLINE_H - -#ifdef HAVE_TTFPARSER -#include "ttfparser.h" -#endif - -#define HB_UNUSED __attribute__((unused)) - -static void -_hb_move_to (hb_position_t to_x HB_UNUSED, hb_position_t to_y HB_UNUSED, void *user_data HB_UNUSED) {} - -static void -_hb_line_to (hb_position_t to_x HB_UNUSED, hb_position_t to_y HB_UNUSED, void *user_data HB_UNUSED) {} - -static void -_hb_quadratic_to (hb_position_t control_x HB_UNUSED, hb_position_t control_y HB_UNUSED, - hb_position_t to_x HB_UNUSED, hb_position_t to_y HB_UNUSED, - void *user_data HB_UNUSED) {} - -static void -_hb_cubic_to (hb_position_t control1_x HB_UNUSED, hb_position_t control1_y HB_UNUSED, - hb_position_t control2_x HB_UNUSED, hb_position_t control2_y HB_UNUSED, - hb_position_t to_x HB_UNUSED, hb_position_t to_y HB_UNUSED, - void *user_data HB_UNUSED) {} - -static void -_hb_close_path (void *user_data HB_UNUSED) {} - -static void -_ft_move_to (const FT_Vector* to HB_UNUSED, void* user HB_UNUSED) {} - -static void -_ft_line_to (const FT_Vector* to HB_UNUSED, void* user HB_UNUSED) {} - -static void -_ft_conic_to (const FT_Vector* control HB_UNUSED, const FT_Vector* to HB_UNUSED, - void* user HB_UNUSED) {} - -static void -_ft_cubic_to (const FT_Vector* control1 HB_UNUSED, const FT_Vector* control2 HB_UNUSED, - const FT_Vector* to HB_UNUSED, void* user HB_UNUSED) {} - -#ifdef HAVE_TTFPARSER -static void _tp_move_to (float x HB_UNUSED, float y HB_UNUSED, void *data HB_UNUSED) {} -static void _tp_line_to (float x, float y, void *data) {} -static void _tp_quad_to (float x1, float y1, float x, float y, void *data) {} -static void _tp_curve_to (float x1, float y1, float x2, float y2, float x, float y, void *data) {} -static void _tp_close_path (void *data) {} -#endif - -static void draw (benchmark::State &state, const char *font_path, bool is_var, backend_t backend) -{ - hb_font_t *font; - unsigned num_glyphs; - { - hb_blob_t *blob = hb_blob_create_from_file_or_fail (font_path); - assert (blob); - hb_face_t *face = hb_face_create (blob, 0); - hb_blob_destroy (blob); - num_glyphs = hb_face_get_glyph_count (face); - font = hb_font_create (face); - hb_face_destroy (face); - } - - if (backend == HARFBUZZ) - { - if (is_var) - { - hb_variation_t wght = {HB_TAG ('w','g','h','t'), 500}; - hb_font_set_variations (font, &wght, 1); - } - hb_draw_funcs_t *draw_funcs = hb_draw_funcs_create (); - hb_draw_funcs_set_move_to_func (draw_funcs, _hb_move_to); - hb_draw_funcs_set_line_to_func (draw_funcs, _hb_line_to); - hb_draw_funcs_set_quadratic_to_func (draw_funcs, _hb_quadratic_to); - hb_draw_funcs_set_cubic_to_func (draw_funcs, _hb_cubic_to); - hb_draw_funcs_set_close_path_func (draw_funcs, _hb_close_path); - - for (auto _ : state) - for (unsigned gid = 0; gid < num_glyphs; ++gid) - hb_font_draw_glyph (font, gid, draw_funcs, nullptr); - - hb_draw_funcs_destroy (draw_funcs); - } - else if (backend == FREETYPE) - { - if (is_var) - { - hb_variation_t wght = {HB_TAG ('w','g','h','t'), 500}; - hb_font_set_variations (font, &wght, 1); - } - hb_ft_font_set_funcs (font); - FT_Face ft_face = hb_ft_font_get_face (font); - hb_ft_font_set_load_flags (font, FT_LOAD_NO_HINTING | FT_LOAD_NO_SCALE); - - FT_Outline_Funcs draw_funcs; - draw_funcs.move_to = (FT_Outline_MoveToFunc) _ft_move_to; - draw_funcs.line_to = (FT_Outline_LineToFunc) _ft_line_to; - draw_funcs.conic_to = (FT_Outline_ConicToFunc) _ft_conic_to; - draw_funcs.cubic_to = (FT_Outline_CubicToFunc) _ft_cubic_to; - draw_funcs.shift = 0; - draw_funcs.delta = 0; - - for (auto _ : state) - for (unsigned gid = 0; gid < num_glyphs; ++gid) - { - FT_Load_Glyph (ft_face, gid, FT_LOAD_NO_HINTING | FT_LOAD_NO_SCALE); - FT_Outline_Decompose (&ft_face->glyph->outline, &draw_funcs, nullptr); - } - } - else if (backend == TTF_PARSER) - { -#ifdef HAVE_TTFPARSER - ttfp_face *tp_font = (ttfp_face *) malloc (ttfp_face_size_of ()); - hb_blob_t *blob = hb_face_reference_blob (hb_font_get_face (font)); - assert (ttfp_face_init (hb_blob_get_data (blob, nullptr), hb_blob_get_length (blob), 0, tp_font)); - if (is_var) ttfp_set_variation (tp_font, TTFP_TAG('w','g','h','t'), 500); - - ttfp_outline_builder builder; - builder.move_to = _tp_move_to; - builder.line_to = _tp_line_to; - builder.quad_to = _tp_quad_to; - builder.curve_to = _tp_curve_to; - builder.close_path = _tp_close_path; - - ttfp_rect bbox; - for (auto _ : state) - for (unsigned gid = 0; gid < num_glyphs; ++gid) - ttfp_outline_glyph (tp_font, builder, &builder, gid, &bbox); - - hb_blob_destroy (blob); - free (tp_font); -#endif - } - else abort (); - - hb_font_destroy (font); -} - -#define FONT_BASE_PATH "test/subset/data/fonts/" - -BENCHMARK_CAPTURE (draw, cff - ot - SourceSansPro, FONT_BASE_PATH "SourceSansPro-Regular.otf", false, HARFBUZZ); -BENCHMARK_CAPTURE (draw, cff - ft - SourceSansPro, FONT_BASE_PATH "SourceSansPro-Regular.otf", false, FREETYPE); -BENCHMARK_CAPTURE (draw, cff - tp - SourceSansPro, FONT_BASE_PATH "SourceSansPro-Regular.otf", false, TTF_PARSER); - -BENCHMARK_CAPTURE (draw, cff2 - ot - AdobeVFPrototype, FONT_BASE_PATH "AdobeVFPrototype.otf", false, HARFBUZZ); -BENCHMARK_CAPTURE (draw, cff2 - ft - AdobeVFPrototype, FONT_BASE_PATH "AdobeVFPrototype.otf", false, FREETYPE); -BENCHMARK_CAPTURE (draw, cff2 - tp - AdobeVFPrototype, FONT_BASE_PATH "AdobeVFPrototype.otf", false, TTF_PARSER); - -BENCHMARK_CAPTURE (draw, cff2/vf - ot - AdobeVFPrototype, FONT_BASE_PATH "AdobeVFPrototype.otf", true, HARFBUZZ); -BENCHMARK_CAPTURE (draw, cff2/vf - ft - AdobeVFPrototype, FONT_BASE_PATH "AdobeVFPrototype.otf", true, FREETYPE); -BENCHMARK_CAPTURE (draw, cff2/vf - tp - AdobeVFPrototype, FONT_BASE_PATH "AdobeVFPrototype.otf", true, TTF_PARSER); - -BENCHMARK_CAPTURE (draw, glyf - ot - SourceSerifVariable, FONT_BASE_PATH "SourceSerifVariable-Roman.ttf", false, HARFBUZZ); -BENCHMARK_CAPTURE (draw, glyf - ft - SourceSerifVariable, FONT_BASE_PATH "SourceSerifVariable-Roman.ttf", false, FREETYPE); -BENCHMARK_CAPTURE (draw, glyf - tp - SourceSerifVariable, FONT_BASE_PATH "SourceSerifVariable-Roman.ttf", false, TTF_PARSER); - -BENCHMARK_CAPTURE (draw, glyf/vf - ot - SourceSerifVariable, FONT_BASE_PATH "SourceSerifVariable-Roman.ttf", true, HARFBUZZ); -BENCHMARK_CAPTURE (draw, glyf/vf - ft - SourceSerifVariable, FONT_BASE_PATH "SourceSerifVariable-Roman.ttf", true, FREETYPE); -BENCHMARK_CAPTURE (draw, glyf/vf - tp - SourceSerifVariable, FONT_BASE_PATH "SourceSerifVariable-Roman.ttf", true, TTF_PARSER); - -BENCHMARK_CAPTURE (draw, glyf - ot - Comfortaa, FONT_BASE_PATH "Comfortaa-Regular-new.ttf", false, HARFBUZZ); -BENCHMARK_CAPTURE (draw, glyf - ft - Comfortaa, FONT_BASE_PATH "Comfortaa-Regular-new.ttf", false, FREETYPE); -BENCHMARK_CAPTURE (draw, glyf - tp - Comfortaa, FONT_BASE_PATH "Comfortaa-Regular-new.ttf", false, TTF_PARSER); - -BENCHMARK_CAPTURE (draw, glyf/vf - ot - Comfortaa, FONT_BASE_PATH "Comfortaa-Regular-new.ttf", true, HARFBUZZ); -BENCHMARK_CAPTURE (draw, glyf/vf - ft - Comfortaa, FONT_BASE_PATH "Comfortaa-Regular-new.ttf", true, FREETYPE); -BENCHMARK_CAPTURE (draw, glyf/vf - tp - Comfortaa, FONT_BASE_PATH "Comfortaa-Regular-new.ttf", true, TTF_PARSER); - -BENCHMARK_CAPTURE (draw, glyf - ot - Roboto, FONT_BASE_PATH "Roboto-Regular.ttf", false, HARFBUZZ); -BENCHMARK_CAPTURE (draw, glyf - ft - Roboto, FONT_BASE_PATH "Roboto-Regular.ttf", false, FREETYPE); -BENCHMARK_CAPTURE (draw, glyf - tp - Roboto, FONT_BASE_PATH "Roboto-Regular.ttf", false, TTF_PARSER); diff --git a/harfbuzz/perf/perf-extents.hh b/harfbuzz/perf/perf-extents.hh deleted file mode 100644 index c7bc84c..0000000 --- a/harfbuzz/perf/perf-extents.hh +++ /dev/null @@ -1,98 +0,0 @@ -#include "benchmark/benchmark.h" - -#include "hb.h" -#include "hb-ft.h" -#include "hb-ot.h" - -#ifdef HAVE_TTFPARSER -#include "ttfparser.h" -#endif - -static void extents (benchmark::State &state, const char *font_path, bool is_var, backend_t backend) -{ - hb_font_t *font; - unsigned num_glyphs; - { - hb_blob_t *blob = hb_blob_create_from_file_or_fail (font_path); - assert (blob); - hb_face_t *face = hb_face_create (blob, 0); - hb_blob_destroy (blob); - num_glyphs = hb_face_get_glyph_count (face); - font = hb_font_create (face); - hb_face_destroy (face); - } - - if (is_var) - { - hb_variation_t wght = {HB_TAG ('w','g','h','t'), 500}; - hb_font_set_variations (font, &wght, 1); - } - - if (backend == HARFBUZZ || backend == FREETYPE) - { - if (backend == FREETYPE) - { - hb_ft_font_set_funcs (font); - hb_ft_font_set_load_flags (font, FT_LOAD_NO_HINTING | FT_LOAD_NO_SCALE); - } - - hb_glyph_extents_t extents; - for (auto _ : state) - for (unsigned gid = 0; gid < num_glyphs; ++gid) - hb_font_get_glyph_extents (font, gid, &extents); - } - else if (backend == TTF_PARSER) - { -#ifdef HAVE_TTFPARSER - ttfp_face *tp_font = (ttfp_face *) malloc (ttfp_face_size_of ()); - hb_blob_t *blob = hb_face_reference_blob (hb_font_get_face (font)); - assert (ttfp_face_init (hb_blob_get_data (blob, nullptr), hb_blob_get_length (blob), 0, tp_font)); - if (is_var) ttfp_set_variation (tp_font, TTFP_TAG('w','g','h','t'), 500); - - ttfp_rect bbox; - for (auto _ : state) - for (unsigned gid = 0; gid < num_glyphs; ++gid) - ttfp_get_glyph_bbox(tp_font, gid, &bbox); - - hb_blob_destroy (blob); - free (tp_font); -#endif - } - - hb_font_destroy (font); -} - -#define FONT_BASE_PATH "test/subset/data/fonts/" - -BENCHMARK_CAPTURE (extents, cff - ot - SourceSansPro, FONT_BASE_PATH "SourceSansPro-Regular.otf", false, HARFBUZZ); -BENCHMARK_CAPTURE (extents, cff - ft - SourceSansPro, FONT_BASE_PATH "SourceSansPro-Regular.otf", false, FREETYPE); -BENCHMARK_CAPTURE (extents, cff - tp - SourceSansPro, FONT_BASE_PATH "SourceSansPro-Regular.otf", false, TTF_PARSER); - -BENCHMARK_CAPTURE (extents, cff2 - ot - AdobeVFPrototype, FONT_BASE_PATH "AdobeVFPrototype.otf", false, HARFBUZZ); -BENCHMARK_CAPTURE (extents, cff2 - ft - AdobeVFPrototype, FONT_BASE_PATH "AdobeVFPrototype.otf", false, FREETYPE); -BENCHMARK_CAPTURE (extents, cff2 - tp - AdobeVFPrototype, FONT_BASE_PATH "AdobeVFPrototype.otf", false, TTF_PARSER); - -BENCHMARK_CAPTURE (extents, cff2/vf - ot - AdobeVFPrototype, FONT_BASE_PATH "AdobeVFPrototype.otf", true, HARFBUZZ); -BENCHMARK_CAPTURE (extents, cff2/vf - ft - AdobeVFPrototype, FONT_BASE_PATH "AdobeVFPrototype.otf", true, FREETYPE); -BENCHMARK_CAPTURE (extents, cff2/vf - tp - AdobeVFPrototype, FONT_BASE_PATH "AdobeVFPrototype.otf", true, TTF_PARSER); - -BENCHMARK_CAPTURE (extents, glyf - ot - SourceSerifVariable, FONT_BASE_PATH "SourceSerifVariable-Roman.ttf", false, HARFBUZZ); -BENCHMARK_CAPTURE (extents, glyf - ft - SourceSerifVariable, FONT_BASE_PATH "SourceSerifVariable-Roman.ttf", false, FREETYPE); -BENCHMARK_CAPTURE (extents, glyf - tp - SourceSerifVariable, FONT_BASE_PATH "SourceSerifVariable-Roman.ttf", false, TTF_PARSER); - -BENCHMARK_CAPTURE (extents, glyf/vf - ot - SourceSerifVariable, FONT_BASE_PATH "SourceSerifVariable-Roman.ttf", true, HARFBUZZ); -BENCHMARK_CAPTURE (extents, glyf/vf - ft - SourceSerifVariable, FONT_BASE_PATH "SourceSerifVariable-Roman.ttf", true, FREETYPE); -BENCHMARK_CAPTURE (extents, glyf/vf - tp - SourceSerifVariable, FONT_BASE_PATH "SourceSerifVariable-Roman.ttf", true, TTF_PARSER); - -BENCHMARK_CAPTURE (extents, glyf - ot - Comfortaa, FONT_BASE_PATH "Comfortaa-Regular-new.ttf", false, HARFBUZZ); -BENCHMARK_CAPTURE (extents, glyf - ft - Comfortaa, FONT_BASE_PATH "Comfortaa-Regular-new.ttf", false, FREETYPE); -BENCHMARK_CAPTURE (extents, glyf - tp - Comfortaa, FONT_BASE_PATH "Comfortaa-Regular-new.ttf", false, TTF_PARSER); - -BENCHMARK_CAPTURE (extents, glyf/vf - ot - Comfortaa, FONT_BASE_PATH "Comfortaa-Regular-new.ttf", true, HARFBUZZ); -BENCHMARK_CAPTURE (extents, glyf/vf - ft - Comfortaa, FONT_BASE_PATH "Comfortaa-Regular-new.ttf", true, FREETYPE); -BENCHMARK_CAPTURE (extents, glyf/vf - tp - Comfortaa, FONT_BASE_PATH "Comfortaa-Regular-new.ttf", true, TTF_PARSER); - -BENCHMARK_CAPTURE (extents, glyf - ot - Roboto, FONT_BASE_PATH "Roboto-Regular.ttf", false, HARFBUZZ); -BENCHMARK_CAPTURE (extents, glyf - ft - Roboto, FONT_BASE_PATH "Roboto-Regular.ttf", false, FREETYPE); -BENCHMARK_CAPTURE (extents, glyf - tp - Roboto, FONT_BASE_PATH "Roboto-Regular.ttf", false, TTF_PARSER); - diff --git a/harfbuzz/perf/perf-shaping.hh b/harfbuzz/perf/perf-shaping.hh deleted file mode 100644 index 85ee19b..0000000 --- a/harfbuzz/perf/perf-shaping.hh +++ /dev/null @@ -1,65 +0,0 @@ -#include "benchmark/benchmark.h" - -#include "hb.h" - -static void shape (benchmark::State &state, const char *text_path, - hb_direction_t direction, hb_script_t script, - const char *font_path) -{ - hb_font_t *font; - { - hb_blob_t *blob = hb_blob_create_from_file_or_fail (font_path); - assert (blob); - hb_face_t *face = hb_face_create (blob, 0); - hb_blob_destroy (blob); - font = hb_font_create (face); - hb_face_destroy (face); - } - - hb_blob_t *text_blob = hb_blob_create_from_file_or_fail (text_path); - assert (text_blob); - unsigned text_length; - const char *text = hb_blob_get_data (text_blob, &text_length); - - hb_buffer_t *buf = hb_buffer_create (); - for (auto _ : state) - { - hb_buffer_add_utf8 (buf, text, text_length, 0, -1); - hb_buffer_set_direction (buf, direction); - hb_buffer_set_script (buf, script); - hb_shape (font, buf, nullptr, 0); - hb_buffer_clear_contents (buf); - } - hb_buffer_destroy (buf); - - hb_blob_destroy (text_blob); - hb_font_destroy (font); -} - -BENCHMARK_CAPTURE (shape, fa-thelittleprince.txt - Amiri, - "perf/texts/fa-thelittleprince.txt", - HB_DIRECTION_RTL, HB_SCRIPT_ARABIC, - "perf/fonts/Amiri-Regular.ttf"); -BENCHMARK_CAPTURE (shape, fa-thelittleprince.txt - NotoNastaliqUrdu, - "perf/texts/fa-thelittleprince.txt", - HB_DIRECTION_RTL, HB_SCRIPT_ARABIC, - "perf/fonts/NotoNastaliqUrdu-Regular.ttf"); - -BENCHMARK_CAPTURE (shape, fa-monologue.txt - Amiri, - "perf/texts/fa-monologue.txt", - HB_DIRECTION_RTL, HB_SCRIPT_ARABIC, - "perf/fonts/Amiri-Regular.ttf"); -BENCHMARK_CAPTURE (shape, fa-monologue.txt - NotoNastaliqUrdu, - "perf/texts/fa-monologue.txt", - HB_DIRECTION_RTL, HB_SCRIPT_ARABIC, - "perf/fonts/NotoNastaliqUrdu-Regular.ttf"); - -BENCHMARK_CAPTURE (shape, en-thelittleprince.txt - Roboto, - "perf/texts/en-thelittleprince.txt", - HB_DIRECTION_LTR, HB_SCRIPT_LATIN, - "perf/fonts/Roboto-Regular.ttf"); - -BENCHMARK_CAPTURE (shape, en-words.txt - Roboto, - "perf/texts/en-words.txt", - HB_DIRECTION_LTR, HB_SCRIPT_LATIN, - "perf/fonts/Roboto-Regular.ttf"); diff --git a/harfbuzz/perf/perf.cc b/harfbuzz/perf/perf.cc deleted file mode 100644 index a364b91..0000000 --- a/harfbuzz/perf/perf.cc +++ /dev/null @@ -1,16 +0,0 @@ -#include "benchmark/benchmark.h" - -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - -#include "perf-shaping.hh" -#ifdef HAVE_FREETYPE -enum backend_t { HARFBUZZ, FREETYPE, TTF_PARSER }; -#include "perf-extents.hh" -#ifdef HB_EXPERIMENTAL_API -#include "perf-draw.hh" -#endif -#endif - -BENCHMARK_MAIN (); diff --git a/harfbuzz/perf/texts/en-thelittleprince.txt b/harfbuzz/perf/texts/en-thelittleprince.txt deleted file mode 100644 index 7bf4abc..0000000 --- a/harfbuzz/perf/texts/en-thelittleprince.txt +++ /dev/null @@ -1,1893 +0,0 @@ -Downloaded from https://archive.org/details/TheLittlePrince-English - -THE LITTLE PRINCE - - - -Antoine De Saint-Exupery - - - - -Antoine de Saint-Exupery, who was a French author, journalist and pilot wrote -The Little Prince in 1943, one year before his death. - -The Little Prince appears to be a simple children’s tale, -some would say that it is actually a profound and deeply moving tale, -written in riddles and laced with philosophy and poetic metaphor. - - - - -Once when I was six years old I saw a magnificent picture in a book, called True Stories from -Nature, about the primeval forest. It was a picture of a boa constrictor in the act of swallowing an -animal. Here is a copy of the drawing. - -In the book it said: “Boa constrictors swallow their prey whole, without chewing it. After that they -are not able to move, and they sleep through the six months that they need for digestion.” I -pondered deeply, then, over the adventures of the jungle. And after some work with a coloured -pencil I succeeded in making my first drawing. My Drawing Number One. It looked like this: - - - - -I showed my masterpiece to the grown-ups, and asked them whether the drawing frightened them. -But they answered: “Frighten? Why should any one be frightened by a hat?” My drawing was not -a picture of a hat. It was a picture of a boa constrictor digesting an elephant. But since the grown- -ups were not able to understand it, I made another drawing: I drew the inside of the boa -constrictor, so that the grown-ups could see it clearly. They always need to have things explained. - - - -My Drawing Number Two looked like this: - - - - -The grown-ups’ response, this time, was to advise me to lay aside my drawings of boa -constrictors, whether from the inside or the outside, and devote myself instead to geography, -history, arithmetic and grammar. That is why, at the age of six, I gave up what might have been a -magnificent career as a painter. I had been disheartened by the failure of my Drawing Number -One and my Drawing Number Two. Grown-ups never understand anything by themselves, and it is -tiresome for children to be always and forever explaining things to them. - -So then I chose another profession, and learned to pilot air-planes. I have flown a little over all -parts of the world; and it is true that geography has been very useful to me. At a glance I can -distinguish China from Arizona. If one gets lost in the night, such knowledge is valuable. In the -course of this life I have had a great many encounters with a great many people who have been -concerned with matters of consequence. I have lived a great deal among grown-ups. I have seen -them intimately, close at hand. And that hasn’t much improved my opinion of them. - -Whenever I met one of them who seemed to me at all clear-sighted, I tried the experiment of -showing him my Drawing Number One, which I have always kept. I would try to find out, so, if this -was a person of true understanding. But, whoever it was, he, or she, would always say: “That is a -hat.” Then I would never talk to that person about boa constrictors, or primeval forests, or stars. I -would bring myself down to his level. I would talk to him about bridge, and golf, and politics, and -neckties. And the grown-up would be greatly pleased to have met such a sensible man. - -So I lived my life alone, without anyone that I could really talk to, until I had an accident with my -plane in the Desert of Sahara, six years ago. Something was broken in my engine. And as I had -with me neither a mechanic nor any passengers, I set myself to attempt the difficult repairs all -alone. It was a question of life or death for me: I had scarcely enough drinking water to last a -week. - -The first night, then, I went to sleep on the sand, a thousand miles from any human habitation. I -was more isolated than a shipwrecked sailor on a raft in the middle of the ocean. Thus you can -imagine my amazement, at sunrise, when I was awakened by an odd little voice. - - - - -It said: “If you please, draw me a sheep!” - -“What!” - -“Draw me a sheep!” - -I jumped to my feet, completely thunderstruck. I blinked my eyes hard. I looked carefully all -around me. And I saw a most extraordinary small person, who stood there examining me with -great seriousness. Here you may see the best portrait that, later, I was able to make of him. But -my drawing is certainly very much less charming than its model. - -That, however, is not my fault. The grown-ups discouraged me in my painter’s career when I was -six years old, and I never learned to draw anything, except boas from the outside and boas from -the inside. - -Now I stared at this sudden apparition with my eyes fairly starting out of my head in -astonishment. Remember, I had crashed in the desert a thousand miles from any inhabited region. -And yet my little man seemed neither to be straying uncertainly among the sands, nor to be -fainting from fatigue or hunger or thirst or fear. Nothing about him gave any suggestion of a child -lost in the middle of the desert, a thousand miles from any human habitation. - -When at last I was able to speak, I said to him: “But, what are you doing here?” And in answer he -repeated, very slowly, as if he were speaking of a matter of great consequence: - -“If you please, draw me a sheep...” - -When a mystery is too overpowering, one dare not disobey. Absurd as it might seem to me, a -thousand miles from any human habitation and in danger of death, I took out of my pocket a sheet -of paper and my fountain pen. But then I remembered how my studies had been concentrated on -geography, history, arithmetic, and grammar, and I told the little chap (a little crossly, too) that I -did not know how to draw. He answered me: “That doesn’t matter. Draw me a sheep...” - - - - -But I had never drawn a sheep. So I drew for him one of the two pictures I had drawn so often. It -was that of the boa constrictor from the outside. And I was astounded to hear the little fellow -greet it with, “No, no, no! I do not want an elephant inside a boa constrictor. A boa constrictor is a -very dangerous creature, and an elephant is very cumbersome. Where I live, everything is very -small. What I need is a sheep. Draw me a sheep. - - - - -So then I made a drawing. He looked at it carefully, then he said: “No. This sheep is already very -sickly. Make me another.” So I made another drawing. My friend smiled gently and indulgently. -“You see yourself,” he said, “that this is not a sheep. This is a ram. It has horns. - - - - -So then I did my drawing over once more. But it was rejected too, just like the others. “This one is -too old. I want a sheep that will live a long time. - -By this time my patience was exhausted, because I was in a hurry to start taking my engine apart. -So I tossed off this drawing. And I threw out an explanation with it. - -“This is only his box. The sheep you asked for is inside.” - - - - -I was very surprised to see a light break over the face of my young judge: - -“That is exactly the way I wanted it! Do you think that this sheep will have to have a great deal of -grass?” - -“Why?” - -“Because where I live everything is very small...” - -“There will surely be enough grass for him,” I said. - -“It is a very small sheep that I have given you.” - -He bent his head over the drawing: “Not so small that, Look! He has gone to sleep...” - -And that is how I made the acquaintance of the little prince. - -It took me a long time to learn where he came from. The little prince, who asked me so many -questions, never seemed to hear the ones I asked him. It was from words dropped by chance that, -little by little, everything was revealed to me. - -The first time he saw my air-plane, for instance (I shall not draw my air-plane; that would be much -too complicated for me), he asked me: “What is that object?” - -“That is not an object. It flies. It is an air-plane. It is my air-plane.” And I was proud to have him -learn that I could fly. He cried out, then: “What! You dropped down from the sky?” - - - -“Yes,” I answered, modestly. - - - -“Oh! That is funny!” And the little prince broke into a lovely peal of laughter, which irritated me -very much. I like my misfortunes to be taken seriously. - -Then he added: “So you, too, come from the sky! Which is your planet?” At that moment I caught -a gleam of light in the impenetrable mystery of his presence; and I demanded, abruptly: “Do you -come from another planet?” But he did not reply. He tossed his head gently, without taking his -eyes from my plane: “It is true that on that you can’t have come from very far away...” And he -sank into a reverie, which lasted a long time. Then, taking my sheep out of his pocket, he buried -himself in the contemplation of his treasure. - -You can imagine how my curiosity was aroused by this half-confidence about the “other planets.” I -made a great effort, therefore, to find out more on this subject. - -“My little man, where do you come from? What is this ‘where I live,’ of which you speak? Where -do you want to take your sheep?” - -After a reflective silence he answered: “The thing that is so good about the box you have given -me is that at night he can use it as his house.” - -“That is so. And if you are good I will give you a string, too, so that you can tie him during the day, -and a post to tie him to.” - -But the little prince seemed shocked by this offer: “Tie him! What a queer idea!” - -“But if you don’t tie him,” I said, “he will wander off somewhere, and get lost.” - -My friend broke into another peal of laughter: “But where do you think he would go?” -“Anywhere. Straight ahead of him.” - -Then the little prince said, earnestly: “That doesn’t matter. Where I live, everything is so small!” -And, with perhaps a hint of sadness, he added: “Straight ahead of him, nobody can go very far...” - - - - -I had thus learned a second fact of great importance: this was that the planet the little prince -came from was scarcely any larger than a house! But that did not really surprise me much. I knew -very well that in addition to the great planets, such as the Earth, Jupiter, Mars, Venus, to which -we have given names, there are also hundreds of others, some of which are so small that one has -a hard time seeing them through the telescope. - - - -When an astronomer discovers one of these he does not give it a name, but only a number. He -might call it, for example, “Asteroid 325.” - - - - -I have serious reason to believe that the planet from which the little prince came is the asteroid -known as B-612. This asteroid has only once been seen through the telescope. That was by a -Turkish astronomer, in 1909. - -On making his discovery, the astronomer had presented it to the International Astronomical -Congress, in a great demonstration. But he was in Turkish costume, and so nobody would believe -what he said. Grown-ups are like that... - -Fortunately, however, for the reputation of Asteroid B-612, a Turkish dictator made a law that his -subjects, under pain of death, should change to European costume. So in 1920 the astronomer -gave his demonstration all over again, dressed with impressive style and elegance. And this time -everybody accepted his report. - -If I have told you these details about the asteroid, and made a note of its number for you, it is on -account of the grown-ups and their ways. When you tell them that you have made a new friend, -they never ask you any questions about essential matters. They never say to you, “What does his -voice sound like? What games does he love best? Does he collect butterflies?” Instead, they -demand: “How old is he? How many brothers has he? How much does he weigh? How much -money does his father make?” - -Only from these figures do they think they have learned anything about him. - -If you were to say to the grown-ups: “I saw a beautiful house made of rosy brick, with geraniums -in the windows and doves on the roof,” they would not be able to get any idea of that house at all. - -You would have to say to them: “I saw a house that cost $ 20,000.” Then they would exclaim: “Oh, -what a pretty house that is!” Just so, you might say to them: “The proof that the little prince -existed is that he was charming, that he laughed, and that he was looking for a sheep. If anybody -wants a sheep, that is a proof that he exists.” And what good would it do to tell them that? They -would shrug their shoulders, and treat you like a child. But if you said to them: “The planet he -came from is Asteroid B-612,” then they would be convinced, and leave you in peace from their -questions. They are like that. One must not hold it against them. Children should always show -great forbearance toward grown-up people. But certainly, for us who understand life, figures are a -matter of indifference. - -I should have liked to begin this story in the fashion of the fairy-tales. I should have like to say: -“Once upon a time there was a little prince who lived on a planet that was scarcely any bigger - - - -than himself, and who had need of a sheep...” - - - -To those who understand life, that would have given a much greater air of truth to my story. Fori -do not want any one to read my book carelessly. I have suffered too much grief in setting down -these memories. Six years have already passed since my friend went away from me, with his -sheep. If I try to describe him here, it is to make sure that I shall not forget him. To forget a friend -is sad. Not every one has had a friend. And if I forget him, I may become like the grown-ups who -are no longer interested in anything but figures... It is for that purpose, again, that I have bought a -box of paints and some pencils. - -It is hard to take up drawing again at my age, when I have never made any pictures except those -of the boa constrictor from the outside and the boa constrictor from the inside, since I was six. I -shall certainly try to make my portraits as true to life as possible. But I am not at all sure of -success. One drawing goes along all right, and another has no resemblance to its subject. I make -some errors, too, in the little prince’s height: in one place he is too tall and in another too short. -And I feel some doubts about the colour of his costume. So I fumble along as best I can, now good, -now bad, and I hope generally fair-to- middling. In certain more important details I shall make -mistakes, also. But that is something that will not be my fault. My friend never explained anything -to me. He thought, perhaps, that I was like himself. But I, alas, do not know how to see sheep -through the walls of boxes. Perhaps I am a little like the grown-ups. I have had to grow old. - -As each day passed I would learn, in our talk, something about the little prince’s planet, his -departure from it, his journey. The information would come very slowly, as it might chance to fall -from his thoughts. It was in this way that I heard, on the third day, about the catastrophe of the -baobabs. - -This time, once more, I had the sheep to thank for it. For the little prince asked me abruptly, as if -seized by a grave doubt, - -“It is true, isn’t it, that sheep eat little bushes?” - -“Yes, that is true.” - -“Ah! I am glad!” - -I did not understand why it was so important that sheep should eat little bushes. But the little -prince added: “Then it follows that they also eat baobabs?” I pointed out to the little prince that -baobabs were not little bushes, but, on the contrary, trees as big as castles; and that even if he -took a whole herd of elephants away with him, the herd would not eat up one single baobab. - -The idea of the herd of elephants made the little prince laugh. “We would have to put them one on -top of the other,” he said. But he made a wise comment: - -“Before they grow so big, the baobabs start out by being little.” - -“That is strictly correct,” I said. “But why do you want the sheep to eat the little baobabs?” - -He answered me at once, “Oh, come, come!”, as if he were speaking of something that was self- -evident. And I was obliged to make a great mental effort to solve this problem, without any -assistance. - -Indeed, as I learned, there were on the planet where the little prince lived, as on all planets, good - - - - - -plants and bad plants. In consequence, there were good seeds from good plants, and bad seeds -from bad plants. But seeds are invisible. They sleep deep in the heart of the earth’s darkness, -until some one among them is seized with the desire to awaken. Then this little seed will stretch -itself and begin, timidly at first, to push a charming little sprig inoffensively upward toward the -sun. If it is only a sprout of radish or the sprig of a rose-bush, one would let it grow wherever it -might wish. But when it is a bad plant, one must destroy it as soon as possible, the very first -instant that one recognises it. - -Now there were some terrible seeds on the planet that was the home of the little prince; and these -were the seeds of the baobab. The soil of that planet was infested with them. A baobab is -something you will never, never be able to get rid of if you attend to it too late. It spreads over the -entire planet. It bores clear through it with its roots. And if the planet is too small, and the -baobabs are too many, they split it in pieces... - -“It is a question of discipline,” the little prince said to me later on. - -“When you’ve finished your own toilet in the morning, then it is time to attend to the toilet of your -planet, just so, with the greatest care. You must see to it that you pull up regularly all the baobabs, -at the very first moment when they can be distinguished from the rosebushes, which they -resemble so closely in their earliest youth. It is very tedious work,” the little prince added, “but -very easy.” And one day he said to me: “You ought to make a beautiful drawing, so that the -children where you live can see exactly how all this is. That would be very useful to them if they -were to travel some day. - - - - -Sometimes,” he added, “there is no harm in putting off a piece of work until another day. But -when it is a matter of baobabs, that always means a catastrophe. - -I knew a planet that was inhabited by a lazy man. He neglected three little bushes... So, as the -little prince described it to me, I have made a drawing of that planet. I do not much like to take -the tone of a moralist. But the danger of the baobabs is so little understood, and such considerable -risks would be run by anyone who might get lost on an asteroid, that for once I am breaking -through my reserve. “Children,” I say plainly, “watch out for the baobabs!” My friends, like -myself, have been skirting this danger for a long time, without ever knowing it; and so it is for -them that I have worked so hard over this drawing. - -The lesson which I pass on by this means is worth all the trouble it has cost me. Perhaps you will -ask me, “Why are there no other drawing in this book as magnificent and impressive as this -drawing of the baobabs?” The reply is simple. I have tried. But with the others I have not been -successful. When I made the drawing of the baobabs I was carried beyond myself by the inspiring -force of urgent necessity. - -Oh, little prince! Bit by bit I came to understand the secrets of your sad little life... For a long time -you had found your only entertainment in the quiet pleasure of looking at the sunset. - -I learned that new detail on the morning of the fourth day, when you said to me: - -“I am very fond of sunsets. Come, let us go look at a sunset now.” - -“But we must wait,” I said. - -“Wait? For what?” - -“For the sunset. We must wait until it is time.” - -At first you seemed to be very much surprised. And then you laughed to yourself. You said to me: -“I am always thinking that I am at home!” - -Just so. Everybody knows that when it is noon in the United States the sun is setting over France. -If you could fly to France in one minute, you could go straight into the sunset, right from noon. -Unfortunately, France is too far away for that. But on your tiny planet, my little prince, all you -need do is move your chair a few steps. You can see the day end and the twilight falling whenever -you like... - -“One day,” you said to me, “I saw the sunset forty-four times!” - -And a little later you added: “You know, one loves the sunset, when one is so sad...” “Were you so -sad, then?” I asked, “on the day of the forty-four sunsets?” - -But the little prince made no reply. - -On the fifth day, again, as always, it was thanks to the sheep, the secret of the little prince’s life -was revealed to me. - -Abruptly, without anything to lead up to it, and as if the question had been born of long and silent -meditation on his problem, he demanded: “A sheep; if it eats little bushes, does it eat flowers, -too?” - - - - -“A sheep,” I answered, “eats anything it finds in its reach.” - - - -“Even flowers that have thorns?” - -“Yes, even flowers that have thorns.” - -“Then the thorns, what use are they?” I did not know. - -At that moment I was very busy trying to unscrew a bolt that had got stuck in my engine. I was -very much worried, for it was becoming clear to me that the breakdown of my plane was -extremely serious. And I had so little drinking water left that I had to fear for the worst. - -“The thorns, what use are they?” - -The little prince never let go of a question, once he had asked it. As for me, I was upset over that -bolt. And I answered with the first thing that came into my head: “The thorns are of no use at all. -Flowers have thorns just for spite!” - -“Oh!” There was a moment of complete silence. - -Then the little prince flashed back at me, with a kind of resentfulness: “I don’t believe you! -Flowers are weak creatures. They are naive. They reassure themselves as best they can. They -believe that their thorns are terrible weapons...” - -I did not answer. At that instant I was saying to myself: “If this bolt still won’t turn, I am going to -knock it out with the hammer.” - -Again the little prince disturbed my thoughts. “And you actually believe that the flowers...” - -“Oh, no!” I cried. “No, no no! I don’t believe anything. I answered you with the first thing that -came into my head. Don’t you see, I am very busy with matters of consequence!” - -He stared at me, thunderstruck. “Matters of consequence!” - -He looked at me there, with my hammer in my hand, my fingers black with engine grease, bending -down over an object which seemed to him extremely ugly... - -“You talk just like the grown-ups!” That made me a little ashamed. But he went on, relentlessly: -“You mix everything up together... You confuse everything...” - -He was really very angry. He tossed his golden curls in the breeze. - -“I know a planet where there is a certain red-faced gentleman. He has never smelled a flower. He -has never looked at a star. He has never loved any one. He has never done anything in his life but -add up figures. And all day he says over and over, just like you: ‘I am busy with matters of -consequence!’ And that makes him swell up with pride. - -“But he is not a man, he is a mushroom!” - - - -“A what?” - - - -“A mushroom!” The little prince was now white with rage. “The flowers have been growing thorns -for millions of years. For millions of years the sheep have been eating them just the same. And is -it not a matter of consequence to try to understand why the flowers go to so much trouble to grow - - - - -' ' - -I \ - - - - -thorns, which are never of any use to them? Is the warfare between the sheep and the flowers not -important? Is this not of more consequence than a fat red-faced gentleman’s sums? And if I know, -I, myself, one flower which is unique in the world, which grows nowhere but on my planet, but -which one little sheep can destroy in a single bite some morning, without even noticing what he is -doing, Oh! You think that is not important! His face turned from white to red as he continued: “If -some one loves a flower, of which just one single blossom grows in all the millions and millions of -stars, it is enough to make him happy just to look at the stars. - -He can say to himself, ‘Somewhere, my flower is there...’ But if the sheep eats the flower, in one -moment all his stars will be darkened... And you think that is not important!” - -He could not say anything more. His words were choked by sobbing. The night had fallen. I had -let my tools drop from my hands. Of what moment now was my hammer, my bolt, or thirst, or -death? On one star, one planet, my planet, the Earth, there was a little prince to be comforted. I -took him in my arms, and rocked him. I said to him: “The flower that you love is not in danger. I -will draw you a muzzle for your sheep. I will draw you a railing to put around your flower. I will...” - -I did not know what to say to him. I felt awkward and blundering. I did not know how I could reach -him, where I could overtake him and go on hand in hand with him once more. - -It is such a secret place, the land of tears. - -I soon learned to know this flower better. On the little prince’s planet the flowers had always been -very simple. They had only one ring of petals; they took up no room at all; they were a trouble to -nobody. One morning they would appear in the grass, and by night they would have faded -peacefully away. But one day, from a seed blown from no one knew where, a new flower had come -up; and the little prince had watched very closely over this small sprout which was not like any -other small sprouts on his planet. - -It might, you see, have been a new kind of baobab. The shrub soon stopped growing, and began to -get ready to produce a flower. The little prince, who was present at the first appearance of a huge -bud, felt at once that some sort of miraculous apparition must emerge from it. But the flower was -not satisfied to complete the preparations for her beauty in the shelter of her green chamber. She - - - -chose her colours with the greatest care. She adjusted her petals one by one. She did not wish to -go out into the world all rumpled, like the field poppies. It was only in the full radiance of her -beauty that she wished to appear. Oh, yes! She was a coquettish creature! And her mysterious -adornment lasted for days and days. Then one morning, exactly at sunrise, she suddenly showed -herself. And, after working with all this painstaking precision, she yawned and said: “Ah! I am -scarcely awake. I beg that you will excuse me. My petals are still all disarranged...” But the little -prince could not restrain his admiration: - -“Oh! How beautiful you are!” - -“Am I not?” the flower responded, sweetly. “And I was born at the same moment as the sun...” - -The little prince could guess easily enough that she was not any too modest, but how moving, and -exciting she was! - -“I think it is time for breakfast,” she added an instant later. “If you would have the kindness to -think of my needs” And the little prince, completely abashed, went to look for a sprinkling can of -fresh water. - -So, he tended the flower. So, too, she began very quickly to torment him with her vanity, which -was, if the truth be known, a little difficult to deal with. - -One day, for instance, when she was speaking of her four thorns, she said to the little prince: “Let -the tigers come with their claws!” - -“There are no tigers on my planet,” the little prince objected. “And, anyway, tigers do not eat -weeds.” - -“I am not a weed,” the flower replied, sweetly. “Please excuse me...” “I am not at all afraid of -tigers,” she went on, “but I have a horror of drafts. I suppose you wouldn’t screen for me?" - -“A horror of drafts, that is bad luck, for a plant,” remarked the little prince, and added to himself, -“This flower is a very complex creature...” - -“At night I want you to put me under a glass globe. It is very cold where you live. In the place I -came from...” But she interrupted herself at that point. She had come in the form of a seed. She -could not have known anything of any other worlds. - -Embarrassed over having let herself be caught on the verge of such an untruth, she coughed two -or three times, in order to put the little prince in the wrong. - -“The screen?” - -“I was just going to look for it when you spoke to me...” - -Then she forced her cough a little more so that he should suffer from remorse just the same. So -the little prince, in spite of all the good will that was inseparable from his love, had soon come to -doubt her. He had taken seriously words which were without importance, and it made him very -unhappy. - -“I ought not to have listened to her,” he confided to me one day. - -“One never ought to listen to the flowers. One should simply look at them and breathe their - - - - -fragrance. Mine perfumed all my planet. But I did not know how to take pleasure in all her grace. -This tale of claws, which disturbed me so much, should only have filled my heart with tenderness -and pity.” - -And he continued his confidences: “The fact is that I did not know how to understand anything! I -ought to have judged by deeds and not by words. She cast her fragrance and her radiance over -me. I ought never to have run away from her... I ought to have guessed all the affection that lay -behind her poor little stratagems. Flowers are so inconsistent! But I was too young to know how to -love her...” - -I believe that for his escape he took advantage of the migration of a flock of wild birds. On the -morning of his departure he put his planet in perfect order. He carefully cleaned out his active -volcanoes. He possessed two active volcanoes; and they were very convenient for heating his -breakfast in the morning. He also had one volcano that was extinct. But, as he said, “One never -knows!” So he cleaned out the extinct volcano, too. If they are well cleaned out, volcanoes burn -slowly and steadily, without any eruptions. Volcanic eruptions are like fires in a chimney. - -On our earth we are obviously much too small to clean out our volcanoes. That is why they bring -no end of trouble upon us. The little prince also pulled up, with a certain sense of dejection, the -last little shoots of the baobabs. He believed that he would never want to return. But on this last -morning all these familiar tasks seemed very precious to him. And when he watered the flower for -the last time, and prepared to place her under the shelter of her glass globe, he realised that he -was very close to tears. “Goodbye,” he said to the flower. But she made no answer. “Goodbye,” -he said again. The flower coughed. But it was not because she had a cold. - -“I have been silly,” she said to him, at last. “I ask your forgiveness. Try to be happy...” He was -surprised by this absence of reproaches. He stood there all bewildered, the glass globe held -arrested in mid-air. He did not understand this quiet sweetness. - -“Of course I love you,” the flower said to him. “It is my fault that you have not known it all the -while. That is of no importance. But you, you have been just as foolish as I. Try to be happy... let -the glass globe be. I don’t want it any more.” - -“But the wind...” “My cold is not so bad as all that... the cool night air will do me good. I am a -flower.” - -“But the animals...” “Well, I must endure the presence of two or three caterpillars if I wish to -become acquainted with the butterflies. It seems that they are very beautiful. And if not the -butterflies and the caterpillars who will call upon me? You will be far away... as for the large -animals, I am not at all afraid of any of them. I have my claws.” - -And, naively, she showed her four thorns. - -Then she added: “Don’t linger like this. You have decided to go away. Now go!” - -For she did not want him to see her crying. She was such a proud flower... - - - -He found himself in the neighbourhood of the asteroids 325, 326, 327, 328, 329, and 330. He -began, therefore, by visiting them, in order to add to his knowledge. The first of them was -inhabited by a king. Clad in royal purple and ermine, he was seated upon a throne, which was at - - - - -the same time both simple and majestic. - - - -“Ah! Here is a subject,” exclaimed the king, when he saw the little prince coming. And the little -prince asked himself: “How could he recognise me when he had never seen me before?” - -He did not know how the world is simplified for kings. To them, all men are subjects. “Approach, -so that I may see you better,” said the king, who felt consumingly proud of being at last a king -over somebody. - -The little prince looked everywhere to find a place to sit down; but the entire planet was crammed -and obstructed by the king’s magnificent ermine robe. So he remained standing upright, and, since -he was tired, he yawned. - -“It is contrary to etiquette to yawn in the presence of a king,” the monarch said to him. “I forbid -you to do so.” - -“I can’t help it. I can’t stop myself,” replied the little prince, thoroughly embarrassed. - -“I have come on a long journey, and I have had no sleep...” - -“Ah, then,” the king said. “I order you to yawn. It is years since I have seen anyone yawning. -Yawns, to me, are objects of curiosity. Come, now! Yawn again! It is an order.” - -“That frightens me... I cannot, any more...” murmured the little prince, now completely abashed. - -“Hum! Hum!” replied the king. “Then I... I order you sometimes to yawn and sometimes to” He -sputtered a little, and seemed vexed. For what the king fundamentally insisted upon was that his -authority should be respected. He tolerated no disobedience. He was an absolute monarch. But, -because he was a very good man, he made his orders reasonable. - -“If I ordered a general,” he would say, by way of example, “if I ordered a general to change -himself into a sea bird, and if the general did not obey me, that would not be the fault of the -general. It would be my fault.” - -“May I sit down?” came now a timid inquiry from the little prince. “I order you to do so,” the king -answered him, and majestically gathered in a fold of his ermine mantle. But the little prince was -wondering... The planet was tiny. Over what could this king really rule? - -“Sire,” he said to him, “I beg that you will excuse my asking you a question” - -“I order you to ask me a question,” the king hastened to assure him. “Sire, over what do you -rule?” “Over everything,” said the king, with magnificent simplicity. - -“Over everything?” The king made a gesture, which took in his planet, the other planets, and all -the stars. “Over all that?” asked the little prince. “Over all that,” the king answered. For his rule -was not only absolute: it was also universal. “And the stars obey you?” “Certainly they do,” the -king said. “They obey instantly. I do not permit insubordination.” - -Such power was a thing for the little prince to marvel at. If he had been master of such complete -authority, he would have been able to watch the sunset, not forty-four times in one day, but -seventy-two, or even a hundred, or even two hundred times, with out ever having to move his -chair. And because he felt a bit sad as he remembered his little planet, which he had forsaken, he -plucked up his courage to ask the king a favour: - - - - - -“I should like to see a sunset... do me that kindness... Order the sun to set...” - -“If I ordered a general to fly from one flower to another like a butterfly, or to write a tragic -drama, or to change himself into a sea bird, and if the general did not carry out the order that he -had received, which one of us would be in the wrong?” the king demanded. “The general, or -myself?” - -“You,” said the little prince firmly. - -“Exactly. One much require from each one the duty which each one can perform,” the king went -on. “Accepted authority rests first of all on reason. If you ordered your people to go and throw -themselves into the sea, they would rise up in revolution. I have the right to require obedience -because my orders are reasonable.” - -“Then my sunset?” the little prince reminded him: for he never forgot a question once he had -asked it. - -“You shall have your sunset. I shall command it. But, according to my science of government, I -shall wait until conditions are favourable.” - -“When will that be?” inquired the little prince. “Hum! Hum!” replied the king; and before saying -anything else he consulted a bulky almanac. “Hum! Hum! That will be about... about... that will be -this evening about twenty minutes to eight. And you will see how well I am obeyed.” - -The little prince yawned. He was regretting his lost sunset. And then, too, he was already -beginning to be a little bored. “I have nothing more to do here,” he said to the king. “So I shall set -out on my way again.” “Do not go,” said the king, who was very proud of having a subject. “Do -not go. I will make you a Minister!” “Minister of what?” “Minster of...of Justice!” “But there is -nobody here to judge!” “We do not know that,” the king said to him. “I have not yet made a -complete tour of my kingdom. I am very old. There is no room here for a carriage. And it tires me -to walk.” “Oh, but I have looked already!” said the little prince, turning around to give one more -glance to the other side of the planet. - -On that side, as on this, there was nobody at all... “Then you shall judge yourself,” the king -answered, “that is the most difficult thing of all. It is much more difficult to j udge oneself than to -j udge others. If you succeed in j udging yourself rightly, then you are indeed a man of true -wisdom.” - - - -“Yes,” said the little prince, “but I can judge myself anywhere. I do not need to live on this planet. -“Hum! Hum!” said the king. “I have good reason to believe that somewhere on my planet there is -an old rat. I hear him at night. You can judge this old rat. From time to time you will condemn him -to death. Thus his life will depend on your j ustice. But you will pardon him on each occasion; for -he must be treated thriftily. He is the only one we have.” - -“I,” replied the little prince, “do not like to condemn anyone to death. And now I think I will go on -my way.” “No,” said the king. But the little prince, having now completed his preparations for -departure, had no wish to grieve the old monarch. “If Your Majesty wishes to be promptly -obeyed,” he said, “he should be able to give me a reasonable order. He should be able, for -example, to order me to be gone by the end of one minute. It seems to me that conditions are -favourable...” As the king made no answer, the little prince hesitated a moment. - -Then, with a sigh, he took his leave. “I made you my Ambassador,” the king called out, hastily. - -He had a magnificent air of authority. - -“The grown-ups are very strange,” the little prince said to himself, as he continued on his journey. -The second planet was inhabited by a conceited man. - - - - - - - - - - -“Ah! Ah! I am about to receive a visit from an admirer!” he exclaimed from afar, when he first -saw the little prince coming. For, to conceited men, all other men are admirers. - -“Good morning,” said the little prince. “That is a queer hat you are wearing.” - -“It is a hat for salutes,” the conceited man replied. “It is to raise in salute when people acclaim -me. Unfortunately, nobody at all ever passes this way.” - -“Yes?” said the little prince, who did not understand what the conceited man was talking about. - -“Clap your hands, one against the other,” the conceited man now directed him. The little prince -clapped his hands. The conceited man raised his hat in a modest salute. “This is more entertaining -than the visit to the king,” the little prince said to himself. And he began again to clap his hands, -one against the other. The conceited man against raised his hat in salute. After five minutes of - - - -this exercise the little prince grew tired of the game’s monotony. “And what should one do to -make the hat come down?” he asked. But the conceited man did not hear him. Conceited people -never hear anything but praise. - -“Do you really admire me very much?” he demanded of the little prince. “What does that mean, -‘admire’?” - -“To admire means that you regard me as the handsomest, the best-dressed, the richest, and the -most intelligent man on this planet.” “But you are the only man on your planet!” “Do me this -kindness. Admire me just the same.” - -“I admire you,” said the little prince, shrugging his shoulders slightly, “but what is there in that to -interest you so much?” - -And the little prince went away. “The grown-ups are certainly very odd,” he said to himself, as he -continued on his journey. - -The next planet was inhabited by a tippler. - - - - -This was a very short visit, but it plunged the little prince into deep dejection. “What are you -doing there?” he said to the tippler, whom he found settled down in silence before a collection of -empty bottles and also a collection of full bottles. - -“I am drinking,” replied the tippler, with a lugubrious air. - -“Why are you drinking?” demanded the little prince. - -“So that I may forget,” replied the tippler. “Forget what?” inquired the little prince, who already -was sorry for him. - -“Forget that I am ashamed,” the tippler confessed, hanging his head. - -“Ashamed of what?” insisted the little prince, who wanted to help him. - -“Ashamed of drinking!” The tippler brought his speech to an end, and shut himself up in an -impregnable silence. - -And the little prince went away, puzzled. “The grown-ups are certainly very, very odd,” he said to -himself, as he continued on his journey. - -The fourth planet belonged to a businessman. - -This man was so much occupied that he did not even raise his head at the little prince’s arrival. - - - -“Good morning,” the little prince said to him. “Your cigarette has gone out.” - - - -“Three and two make five. Five and seven make twelve. Twelve and three make fifteen. Good -morning. Fifteen and seven make twenty-two. Twenty-two and six make twenty-eight. I haven’t -time to light it again. Twenty-six and five make thirty-one. Phew ! Then that makes five-hundred- -and-one-million, six-hundred-twenty-two-thousand, seven-hundred-thirty-one.” - -“Five hundred million what?” asked the little prince. “Eh? Are you still there? Five-hundred-and- -one million, I can’t stop... I have so much to do! I am concerned with matters of consequence. I -don’t amuse myself with balderdash. Two and five make seven...” - -“Five-hundred-and-one million what?” repeated the little prince, who never in his life had let go of -a question once he had asked it. - -The businessman raised his head. “During the fifty-four years that I have inhabited this planet, I -have been disturbed only three times. The first time was twenty-two years ago, when some giddy -goose fell from goodness knows where. He made the most frightful noise that resounded all over -the place, and I made four mistakes in my addition. The second time, eleven years ago, I was -disturbed by an attack of rheumatism. I don’t get enough exercise. I have no time for loafing. The -third time, well, this is it! I was saying, then, five -hundred-and-one millions” - -“Millions of what?” The businessman suddenly realised that there was no hope of being left in -peace until he answered this question. - -“Millions of those little objects,” he said, “which one sometimes sees in the sky.” “Flies?” “Oh, -no. Little glittering objects.” “Bees?” “Oh, no. Little golden objects that set lazy men to idle -dreaming. As for me, I am concerned with matters of consequence. There is no time for idle -dreaming in my life.” “Ah! You mean the stars?” “Yes, that’s it. The stars.” “And what do you do -with five-hundred millions of stars?” “Five-hundred-and-one million, six-hundred-twenty-two -thousand, seven-hundred-thirty-one. I am concerned with matters of consequence: I am -accurate.” - -“And what do you do with these stars?” “What do I do with them?” “Yes.” “Nothing. I own them.” -“You own the stars?” “Yes.” “But I have already seen a king who...” “Kings do not own, they -reign over. It is a very different matter.” - -“And what good does it do you to own the stars?” “It does me the good of making me rich.” - -“And what good does it do you to be rich?” - -“It makes it possible for me to buy more stars, if any are ever discovered.” - -“This man,” the little prince said to himself, “reasons a little like my poor tippler...” Nevertheless, -he still had some more questions. “How is it possible for one to own the stars?” “To whom do they -belong?” the businessman retorted, peevishly. “I don’t know. To nobody.” “Then they belong to -me, because I was the first person to think of it.” “Is that all that is necessary?” “Certainly. - -When you find a diamond that belongs to nobody, it is yours. When you discover an island that -belongs to nobody, it is yours. When you get an idea before any one else, you take out a patent on -it: it is yours. So with me: I own the stars, because nobody else before me ever thought of owning -them.” - -“Yes, that is true,” said the little prince. “And what do you do with them?” - - - - -“I administer them,” replied the businessman. “I count them and recount them. It is difficult. But I -am a man who is naturally interested in matters of consequence.” - -The little prince was still not satisfied. “If I owned a silk scarf,” he said, “I could put it around my -neck and take it away with me. If I owned a flower, I could pluck that flower and take it away with -me. But you cannot pluck the stars from heaven...” - -“No. But I can put them in the bank.” “Whatever does that mean?” “That means that I write the -number of my stars on a little paper. And then I put this paper in a drawer and lock it with a key.” - -“And that is all?” - -“That is enough,” said the businessman. - -“It is entertaining,” thought the little prince. “It is rather poetic. But it is of no great -consequence.” On matters of consequence, the little prince had ideas, which were very different -from those of the grown-ups. - -“I myself own a flower,” he continued his conversation with the businessman, “which I water -every day. I own three volcanoes, which I clean out every week (for I also clean out the one that is -extinct; one never knows). It is of some use to my volcanoes, and it is of some use to my flower, -that I own them. But you are of no use to the stars...” - -The businessman opened his mouth, but he found nothing to say in answer. And the little prince -went away. “The grown-ups are certainly altogether extraordinary,” he said simply, talking to -himself as he continued on his journey. - -The fifth planet was very strange. It was the smallest of all. There was just enough room on it for -a street lamp and a lamplighter. - - - - -The little prince was not able to reach any explanation of the use of a street lamp and a -lamplighter, somewhere in the heavens, on a planet, which had no people, and not one house. - -But he said to himself, nevertheless: “It may well be that this man is absurd. But he is not so -absurd as the king, the conceited man, the businessman, and the tippler. For at least his work has - - - -some meaning. When he lights his street lamp, it is as if he brought one more star to life, or one -flower. When he puts out his lamp, he sends the flower, or the star, to sleep. That is a beautiful -occupation. And since it is beautiful, it is truly useful.” - -When he arrived on the planet he respectfully saluted the lamplighter. - -“Good morning. Why have you just put out your lamp?” - -“Those are the orders,” replied the lamplighter. “Good morning.” - -“What are the orders?” - -“The orders are that I put out my lamp. Good evening.” And he lighted his lamp again. “But why -have you just lighted it again?” - -“Those are the orders,” replied the lamplighter. - -“I do not understand,” said the little prince. - -“There is nothing to understand,” said the lamplighter. “Orders are orders. Good morning.” And -he put out his lamp. - -Then he mopped his forehead with a handkerchief decorated with red squares. - -“I follow a terrible profession. In the old days it was reasonable. I put the lamp out in the morning, -and in the evening I lighted it again. I had the rest of the day for relaxation and the rest of the -night for sleep.” - -“And the orders have been changed since that time?” - -“The orders have not been changed,” said the lamplighter. “That is the tragedy! From year to -year the planet has turned more rapidly and the orders have not been changed!” - -“Then what?” asked the little prince. - -“Then the planet now makes a complete turn every minute, and I no longer have a single second -for repose. Once every minute I have to light my lamp and put it out!” - -“That is very funny! A day lasts only one minute, here where you live!” - -“It is not funny at all!” said the lamplighter. “While we have been talking together a month has -gone by.” - -“A month?” - - - -“Yes, a month. Thirty minutes. Thirty days. Good evening.” And he lighted his lamp again. As the -little prince watched him, he felt that he loved this lamplighter who was so faithful to his orders. -He remembered the sunsets, which he himself had gone to seek, in other days, merely by pulling -up his chair; and he wanted to help his friend. - -“You know,” he said, “I can tell you a way you can rest whenever you want to...” - -“I always want to rest,” said the lamplighter. For it is possible for a man to be faithful and lazy at -the same time. - - - - -The little prince went on with his explanation: “Your planet is so small that three strides will take -you all the way around it. To be always in the sunshine, you need only walk along rather slowly. -When you want to rest, you will walk and the day will last as long as you like.” - -“That doesn’t do me much good,” said the lamplighter. “The one thing I love in life is to sleep.” - -“Then you’re unlucky,” said the little prince. - -“I am unlucky,” said the lamplighter. “Good morning.” And he put out his lamp. - -“That man,” said the little prince to himself, as he continued farther on his journey, “that man -would be scorned by all the others: by the king, by the conceited man, by the tippler, by the -businessman. Nevertheless he is the only one of them all who does not seem to me ridiculous. -Perhaps that is because he is thinking of something else besides himself.” - -He breathed a sigh of regret, and said to himself, again: “That man is the only one of them all -whom I could have made my friend. But his planet is indeed too small. There is no room on it for -two people...” What the little prince did not dare confess was that he was sorry most of all to leave -this planet, because it was blest every day with 1440 sunsets! - -The sixth planet was ten times larger than the last one. It was inhabited by an old gentleman who -wrote voluminous books. - - - - -“Oh, look! Here is an explorer!” he exclaimed to himself when he saw the little prince coming. - -The little prince sat down on the table and panted a little. He had already travelled so much and -so far! - -“Where do you come from?” the old gentleman said to him. - -“What is that big book?” said the little prince. “What are you doing?” - -“I am a geographer,” the old gentleman said to him. - -“What is a geographer?” asked the little prince. “A geographer is a scholar who knows the -location of all the seas, rivers, towns, mountains, and deserts.” - -“That is very interesting,” said the little prince. “Here at last is a man who has a real profession!” -And he cast a look around him at the planet of the geographer. - - - -It was the most magnificent and stately planet that he had ever seen. - -“Your planet is very beautiful,” he said. “Has it any oceans?” - -“I couldn’t tell you,” said the geographer. - -“Ah!” The little prince was disappointed. “Has it any mountains?” - -“I couldn’t tell you,” said the geographer. - -“And towns, and rivers, and deserts?” - -“I couldn’t tell you that, either.” - -“But you are a geographer!” - -“Exactly,” the geographer said. “But I am not an explorer. I haven’t a single explorer on my -planet. It is not the geographer who goes out to count the towns, the rivers, the mountains, the -seas, the oceans, and the deserts. The geographer is much too important to go loafing about. He -does not leave his desk. But he receives the explorers in his study. He asks them questions, and -he notes down what they recall of their travels. And if the recollections of any one among them -seem interesting to him, the geographer orders an inquiry into that explorer’s moral character.” - -“Why is that?” - -“Because an explorer who told lies would bring disaster on the books of the geographer. So would -an explorer who drank too much.” - -“Why is that?” asked the little prince. - -“Because intoxicated men see double. Then the geographer would note down two mountains in a -place where there was only one.” - -“I know some one,” said the little prince, “who would make a bad explorer.” - -“That is possible. Then, when the moral character of the explorer is shown to be good, an inquiry -is ordered into his discovery.” - -“One goes to see it?” - -“No. That would be too complicated. But one requires the explorer to furnish proofs. For example, -if the discovery in question is that of a large mountain, one requires that large stones be brought -back from it.” The geographer was suddenly stirred to excitement. “But you come from far away! -You are an explorer! You shall describe your planet to me!” And, having opened his big register, -the geographer sharpened his pencil. The recitals of explorers are put down first in pencil. One -waits until the explorer has furnished proofs, before putting them down in ink. “Well?” said the -geographer expectantly. - -“Oh, where I live,” said the little prince, “it is not very interesting. It is all so small. I have three -volcanoes. Two volcanoes are active and the other is extinct. But one never knows.” - -“One never knows,” said the geographer. - - - -“I have also a flower.” - - - - -“We do not record flowers,” said the geographer. - -“Why is that? The flower is the most beautiful thing on my planet!” - -“We do not record them,” said the geographer, “because they are ephemeral.” - -“What does that mean ‘ephemeral’?” - -“Geographies,” said the geographer, “are the books which, of all books, are most concerned with -matters of consequence. They never become old-fashioned. It is very rarely that a mountain -changes its position. It is very rarely that an ocean empties itself of its waters. We write of eternal -things.” - -“But extinct volcanoes may come to life again,” the little prince interrupted. - -“What does that mean ‘ephemeral’?” - -“Whether volcanoes are extinct or alive, it comes to the same thing for us,” said the geographer. -“The thing that matters to us is the mountain. It does not change.” - -“But what does that mean ‘ephemeral’?” repeated the little prince, who never in his life had let go -of a question, once he had asked it. - -“It means, ‘which is in danger of speedy disappearance.’ “ - -“Is my flower in danger of speedy disappearance?” - -“Certainly it is.” - -“My flower is ephemeral,” the little prince said to himself, “and she has only four thorns to -defend herself against the world. And I have left her on my planet, all alone!” - -That was his first moment of regret. But he took courage once more. “What place would you -advise me to visit now?” he asked. “The planet Earth,” replied the geographer. “It has a good -reputation.” And the little prince went away, thinking of his flower. - - - - -So then the seventh planet was the Earth. - -The Earth is not just an ordinary planet! - -One can count, there 111 kings (not forgetting, to be sure, the Negro kings among them), 7000 -geographers, 900,000 businessmen, 7,500,000 tipplers, 311,000,000 conceited men, that is to say, -about 2,000,000,000 grown-ups. - -To give you an idea of the size of the Earth, I will tell you that before the invention of electricity it -was necessary to maintain, over the whole of the six continents, a veritable army of 462,511 -lamplighters for the street lamps. Seen from a slight distance, that would make a splendid -spectacle. - -The movements of this army would be regulated like those of the ballet in the opera. First would -come the turn of the lamplighters of New Zealand and Australia. Having set their lamps alight, -these would go off to sleep. Next, the lamplighters of China and Siberia would enter for their steps -in the dance, and then they too would be waved back into the wings. After that would come the -turn of the lamplighters of Russia and the Indies; then those of Africa and Europe, then those of -South America; then those of North America. And never would they make a mistake in the order -of their entry upon the stage. It would be magnificent. - -Only the man who was in charge of the single lamp at the North Pole, and his colleague who was -responsible for the single lamp at the South Pole, only these two would live free from toil and -care: they would be busy twice a year. - -When one wishes to play the wit, he sometimes wanders a little from the truth. - -I have not been altogether honest in what I have told you about the lamplighters. And I realise -that I run the risk of giving a false idea of our planet to those who do not know it. - -Men occupy a very small place upon the Earth. If the two billion inhabitants who people its -surface were all to stand upright and somewhat crowded together, as they do for some big public -assembly, they could easily be put into one public square twenty miles long and twenty miles wide. -All humanity could be piled up on a small Pacific islet. - -The grown-ups, to be sure, will not believe you when you tell them that. They imagine that they fill -a great deal of space. They fancy themselves as important as the baobabs. You should advise -them, then, to make their own calculations. They adore figures, and that will please them. But do -not waste your time on this extra task. It is unnecessary. You have, I know, confidence in me. - -When the little prince arrived on the Earth, he was very much surprised not to see any people. He -was beginning to be afraid he had come to the wrong planet, when a coil of gold, the colour of the -moonlight, flashed across the sand. - -“Good evening,” said the little prince courteously. - -“Good evening,” said the snake. - -“What planet is this on which I have come down?” asked the little prince. - -“This is the Earth; this is Africa,” the snake answered. - -“Ah! Then there are no people on the Earth?” - - - - -“This is the desert. There are no people in the desert. The Earth is large,” said the snake. - -The little prince sat down on a stone, and raised his eyes toward the sky. - -“I wonder,” he said, “whether the stars are set alight in heaven so that one day each one of us -may find his own again... Look at my planet. It is right there above us. But how far away it is!” - -“It is beautiful,” the snake said. “What has brought you here?” - -“I have been having some trouble with a flower,” said the little prince. “Ah!” said the snake. And -they were both silent. - -“Where are the men?” the little prince at last took up the conversation again. “It is a little lonely -in the desert...” - -“It is also lonely among men,” the snake said. The little prince gazed at him for a long time. - -“You are a funny animal,” he said at last. “You are no thicker than a finger...” - -“But I am more powerful than the finger of a king,” said the snake. - -The little prince smiled. “You are not very powerful. You haven’t even any feet. You cannot even -travel...” - -“I can carry you farther than any ship could take you,” said the snake. He twined himself around -the little prince’s ankle, like a golden bracelet. - -“Whomever I touch, I send back to the earth from whence he came,” the snake spoke again. “But -you are innocent and true, and you come from a star...” - -The little prince made no reply. “You move me to pity, you are so weak on this Earth made of -granite,” the snake said. “I can help you, some day, if you grow too homesick for your own planet. -I can...” - -“Oh! I understand you very well,” said the little prince. “But why do you always speak in -riddles?” - -“I solve them all,” said the snake. And they were both silent. - -The little prince crossed the desert and met with only one flower. - -It was a flower with three petals, a flower of no account at all. - -“Good morning,” said the little prince. - -“Good morning,” said the flower. - -“Where are the men?” the little prince asked, politely. The flower had once seen a caravan -passing. - -“Men?” she echoed. “I think there are six or seven of them in existence. I saw them, several -years ago. But one never knows where to find them. The wind blows them away. They have no -roots, and that makes their life very difficult.” - - - -“Goodbye,” said the little prince. - - - - -“Goodbye,” said the flower. - - - -After that, the little prince climbed a high mountain. The only mountains he had ever known were -the three volcanoes, which came up to his knees. And he used the extinct volcano as a footstool. - -“From a mountain as high as this one,” he said to himself, “I shall be able to see the whole planet -at one glance, and all the people...” But he saw nothing, save peaks of rock that were sharpened -like needles. - - - - -“Good morning,” he said courteously. - -“Good morning...Good morning...Good morning,” answered the echo. - -“Who are you?” said the little prince. - -“Who are you...Who are you...Who are you?” answered the echo. - -“Be my friends. I am all alone,” he said. - -“I am all alone...all alone. ..all alone,” answered the echo. - -“What a queer planet!” he thought. “It is altogether dry, and altogether pointed, and altogether -harsh and forbidding. And the people have no imagination. They repeat whatever one says to -them... On my planet I had a flower; she always was the first to speak...” - -But it happened that after walking for a long time through sand, and rocks, and snow, the little -prince at last came upon a road. And all roads lead to the abodes of men. - -“Good morning,” he said. He was standing before a garden, all a-bloom with roses. - -“Good morning,” said the roses. - -The little prince gazed at them. They all looked like his flower. - -“Who are you?” he demanded, thunderstruck. - -“We are roses,” the roses said. And he was overcome with sadness. His flower had told him that -she was the only one of her kind in all the universe. And here were five thousand of them, all -alike, in one single garden! - -“She would be very much annoyed,” he said to himself, “if she should see that... she would cough - - - -most dreadfully, and she would pretend that she was dying, to avoid being laughed at. And I -should be obliged to pretend that I was nursing her back to life, for if I did not do that, to humble -myself also, she would really allow herself to die...” - -Then he went on with his reflections: “I thought that I was rich, with a flower that was unique in all -the world; and all I had was a common rose. A common rose, and three volcanoes that come up to -my knees — and one of them perhaps extinct forever... that doesn’t make me a very great -prince...” And he lay down in the grass and cried. - -It was then that the fox appeared. - -“Good morning,” said the fox. - -“Good morning,” the little prince responded politely, although when he turned around he saw -nothing. - -“I am right here,” the voice said, “under the apple tree.” “ - -Who are you?” asked the little prince, and added, “You are very pretty to look at.” - -“I am a fox,” said the fox. - -“Come and play with me,” proposed the little prince. - -“I am so unhappy.” “I cannot play with you,” the fox said. “I am not tamed.” - -“Ah! Please excuse me,” said the little prince. But, after some thought, he added: “What does -that mean, ‘tame’?” - - - - -“You do not live here,” said the fox. “What is it that you are looking for?” - -“I am looking for men,” said the little prince. “What does that mean, ‘tame’?” - -“Men,” said the fox. “They have guns, and they hunt. It is very disturbing. They also raise -chickens. These are their only interests. Are you looking for chickens?” - -“No,” said the little prince. “I am looking for friends. What does that mean, ‘tame’?” - -“It is an act too often neglected,” said the fox. It means to establish ties.” - - - -“‘To establish ties’?” - - - -“Just that,” said the fox. “To me, you are still nothing more than a little boy who is just like a -hundred thousand other little boys. And I have no need of you. And you, on your part, have no -need of me. To you, I am nothing more than a fox like a hundred thousand other foxes. But if you -tame me, then we shall need each other. To me, you will be unique in all the world. To you, I shall -be unique in all the world...” - -“I am beginning to understand,” said the little prince. “There is a flower... I think that she has -tamed me...” - -“It is possible,” said the fox. “On the Earth one sees all sorts of things.” - -“Oh, but this is not on the Earth!” said the little prince. The fox seemed perplexed, and very -curious. - -“On another planet?” - -“Yes.” - -“Are there hunters on this planet?” - -“No.” - -“Ah, that is interesting! Are there chickens?” - -“No.” - -“Nothing is perfect,” sighed the fox. But he came back to his idea. “My life is very monotonous,” -the fox said. “I hunt chickens; men hunt me. All the chickens are just alike, and all the men are -just alike. And, in consequence, I am a little bored. But if you tame me, it will be as if the sun -came to shine on my life. I shall know the sound of a step that will be different from all the others. -Other steps send me hurrying back underneath the ground. Yours will call me, like music, out of -my burrow. And then look: you see the grain-fields down yonder? I do not eat bread. Wheat is of -no use to me. The wheat fields have nothing to say to me. And that is sad. But you have hair that -is the colour of gold. Think how wonderful that will be when you have tamed me! The grain, which -is also golden, will bring me back the thought of you. And I shall love to listen to the wind in the -wheat...” The fox gazed at the little prince, for a long time. “Please, tame me!” he said. - -“I want to, very much,” the little prince replied. “But I have not much time. I have friends to -discover, and a great many things to understand.” - -“One only understands the things that one tames,” said the fox. “Men have no more time to -understand anything. They buy things all ready-made at the shops. But there is no shop anywhere -where one can buy friendship, and so men have no friends any more. If you want a friend, tame -me...” - -“What must I do, to tame you?” asked the little prince. - -“You must be very patient,” replied the fox. “First you will sit down at a little distance from me, -like that, in the grass. I shall look at you out of the corner of my eye, and you will say nothing. -Words are the source of misunderstandings. But you will sit a little closer to me, every day...” - - - - -The next day the little prince came back. - - - -“It would have been better to come back at the same hour,” said the fox. “If, for example, you -come at four o’clock in the afternoon, then at three o’clock I shall begin to be happy. I shall feel -happier and happier as the hour advances. At four o’clock, I shall already be worrying and -jumping about. I shall show you how happy I am! But if you come at just any time, I shall never -know at what hour my heart is to be ready to greet you... One must observe the proper rites...” - -“What is a rite?” asked the little prince. - -“Those also are actions too often neglected,” said the fox. “They are what make one day -different from other days, one hour from other hours. There is a rite, for example, among my -hunters. Every Thursday they dance with the village girls. So Thursday is a wonderful day for me! -I can take a walk as far as the vineyards. But if the hunters danced at just any time, every day -would be like every other day, and I should never have any vacation at all.” - -So the little prince tamed the fox. And when the hour of his departure drew near... - -“Ah,” said the fox, “I shall cry.” - -“It is your own fault,” said the little prince. “I never wished you any sort of harm; but you wanted -me to tame you...” - -“Yes, that is so,” said the fox. - -“But now you are going to cry!” said the little prince. - -“Yes, that is so,” said the fox. - -“Then it has done you no good at all!” - -“It has done me good,” said the fox, “because of the colour of the wheat fields.” And then he -added: “Go and look again at the roses. You will understand now that yours is unique in all the -world. Then come back to say goodbye to me, and I will make you a present of a secret.” - -The little prince went away, to look again at the roses. “You are not at all like my rose,” he said. -“As yet you are nothing. No one has tamed you, and you have tamed no one. You are like my fox -when I first knew him. He was only a fox like a hundred thousand other foxes. But I have made -him my friend, and now he is unique in all the world.” And the roses were very much embarrassed. -“You are beautiful, but you are empty,” he went on. “One could not die for you. To be sure, an -ordinary passer-by would think that my rose looked just like you, the rose that belongs to me. But -in herself alone she is more important than all the hundreds of you other roses: because it is she -that I have watered; because it is she that I have put under the glass globe; because it is she that -I have sheltered behind the screen; because it is for her that I have killed the caterpillars (except -the two or three that we saved to become butterflies); because it is she that I have listened to, -when she grumbled, or boasted, or even sometimes when she said nothing. Because she is my -rose. - -And he went back to meet the fox. “Goodbye,” he said. - -“Goodbye,” said the fox. “And now here is my secret, a very simple secret: It is only with the -heart that one can see rightly; what is essential is invisible to the eye.” - - - - -“What is essential is invisible to the eye,” the little prince repeated, so that he would be sure to -remember. - -“It is the time you have wasted for your rose that makes your rose so important.” - -“It is the time I have wasted for my rose...” said the little prince, so that he would be sure to -remember. - -“Men have forgotten this truth,” said the fox. “But you must not forget it. You become -responsible, forever, for what you have tamed. You are responsible for your rose...” - -“I am responsible for my rose,” the little prince repeated, so that he would be sure to remember. - -“Good morning,” said the little prince. - -“Good morning,” said the railway switchman. - -“What do you do here?” the little prince asked. - -“I sort out travellers, in bundles of a thousand,” said the switchman. “I send off the trains that -carry them; now to the right, now to the left.” And a brilliantly lighted express train shook the -switchman’s cabin as it rushed by with a roar like thunder. - -“They are in a great hurry,” said the little prince. “What are they looking for?” - -“Not even the locomotive engineer knows that,” said the switchman. And a second brilliantly -lighted express thundered by, in the opposite direction. - -“Are they coming back already?” demanded the little prince. “These are not the same ones,” said -the switchman. “It is an exchange.” - -“Were they not satisfied where they were?” asked the little prince. - -“No one is ever satisfied where he is,” said the switchman. And they heard the roaring thunder of -a third brilliantly lighted express. - -“Are they pursuing the first travellers?” demanded the little prince. - -“They are pursuing nothing at all,” said the switchman. “They are asleep in there, or if they are -not asleep they are yawning. Only the children are flattening their noses against the -windowpanes.” - -“Only the children know what they are looking for,” said the little prince. - -“They waste their time over a rag doll and it becomes very important to them; and if anybody -takes it away from them, they cry...” “They are lucky,” the switchman said. - -“Good morning,” said the little prince. - -“Good morning,” said the merchant. - -This was a merchant who sold pills that had been invented to quench thirst. You need only swallow -one pill a week, and you would feel no need of anything to drink. - - - - -“Why are you selling those?” asked the little prince. - - - -“Because they save a tremendous amount of time,” said the merchant. “Computations have been -made by experts. With these pills, you save fifty-three minutes in every week.” - -“And what do I do with those fifty-three minutes?” - -“Anything you like...” - -“As for me,” said the little prince to himself, “if I had fifty-three minutes to spend as I liked, I -should walk at my leisure toward a spring of fresh water.” - -It was now the eighth day since I had had my accident in the desert, and I had listened to the story -of the merchant as I was drinking the last drop of my water supply. - -“Ah,” I said to the little prince, “these memories of yours are very charming; but I have not yet -succeeded in repairing my plane; I have nothing more to drink; and I, too, should be very happy if -I could walk at my leisure toward a spring of fresh water!” - -“My friend the fox...” the little prince said to me. - -“My dear little man, this is no longer a matter that has anything to do with the fox!” - -“Why not?” - -“Because I am about to die of thirst...” - -He did not follow my reasoning, and he answered me: “It is a good thing to have had a friend, -even if one is about to die. I, for instance, am very glad to have had a fox as a friend...” - -“He has no way of guessing the danger,” I said to myself. “He has never been either hungry or -thirsty. A little sunshine is all he needs...” - -But he looked at me steadily, and replied to my thought: “I am thirsty, too. Let us look for a -well...” I made a gesture of weariness. It is absurd to look for a well, at random, in the immensity -of the desert. But nevertheless we started walking. - -When we had trudged along for several hours, in silence, the darkness fell, and the stars began to -come out. Thirst had made me a little feverish, and I looked at them as if I were in a dream. The -little prince’s last words came reeling back into my memory: “Then you are thirsty, too?” I -demanded. But he did not reply to my question. He merely said to me: “Water may also be good -for the heart...” - -I did not understand this answer, but I said nothing. I knew very well that it was impossible to -cross-examine him. He was tired. He sat down. I sat down beside him. And, after a little silence, -he spoke again: “The stars are beautiful, because of a flower that cannot be seen.” - -I replied, “Yes, that is so.” And, without saying anything more, I looked across the ridges of sand -that were stretched out before us in the moonlight. - -“The desert is beautiful,” the little prince added. - -And that was true. I have always loved the desert. One sits down on a desert sand dune, sees - - - - - -nothing, hears nothing. Yet through the silence something throbs, and gleams... - -“What makes the desert beautiful,” said the little prince, “is that somewhere it hides a well...” - -I was astonished by a sudden understanding of that mysterious radiation of the sands. When I was -a little boy I lived in an old house, and legend told us that a treasure was buried there. To be sure, -no one had ever known how to find it; perhaps no one had ever even looked for it. But it cast an -enchantment over that house. My home was hiding a secret in the depths of its heart... “Yes,” I -said to the little prince. “The house, the stars, the desert — what gives them their beauty is -something that is invisible!” - -“I am glad,” he said, “that you agree with my fox.” As the little prince dropped off to sleep, I took -him in my arms and set out walking once more. I felt deeply moved, and stirred. It seemed to me -that I was carrying a very fragile treasure. It seemed to me, even, that there was nothing more -fragile on all Earth. In the moonlight I looked at his pale forehead, his closed eyes, his locks of -hair that trembled in the wind, and I said to myself: - -“What I see here is nothing but a shell. What is most important is invisible...” - -As his lips opened slightly with the suspicious of a half-smile, I said to myself, again: “What -moves me so deeply, about this little prince who is sleeping here, is his loyalty to a flower — the -image of a rose that shines through his whole being like the flame of a lamp, even when he is -asleep...” - -And I felt him to be more fragile still. I felt the need of protecting him, as if he himself were a -flame that might be extinguished by a little puff of wind... And, as I walked on so, I found the well, -at daybreak. - -“Men,” said the little prince, “set out on their way in express trains, but they do not know what -they are looking for. Then they rush about, and get excited, and turn round and round...” And he -added: “It is not worth the trouble...” - - - -The well that we had come to was not like the wells of the Sahara. The wells of the Sahara are -mere holes dug in the sand. This one was like a well in a village. But there was no village here, -and I thought I must be dreaming... - -“It is strange,” I said to the little prince. “Everything is ready for use: the pulley, the bucket, the -rope...” He laughed, touched the rope, and set the pulley to working. And the pulley moaned, like -an old weathervane, which the wind has long since forgotten. - -“Do you hear?” said the little prince. “We have wakened the well, and it is singing...” - -I did not want him to tire himself with the rope. - -“Leave it to me,” I said. “It is too heavy for you.” I hoisted the bucket slowly to the edge of the -well and set it there, happy, tired as I was, over my achievement. The song of the pulley was still -in my ears, and I could see the sunlight shimmer in the still trembling water. - -“I am thirsty for this water,” said the little prince. “Give me some of it to drink...” - -And I understood what he had been looking for. I raised the bucket to his lips. He drank, his eyes -closed. It was as sweet as some special festival treat. This water was indeed a different thing from -ordinary nourishment. Its sweetness was born of the walk under the stars, the song of the pulley, -the effort of my arms. It was good for the heart, like a present. When I was a little boy, the lights -of the Christmas tree, the music of the Midnight Mass, the tenderness of smiling faces, used to -make up, so, the radiance of the gifts I received. - -“The men where you live,” said the little prince, “raise five thousand roses in the same garden -and they do not find in it what they are looking for.” - -“They do not find it,” I replied. - -“And yet what they are looking for could be found in one single rose, or in a little water.” - -“Yes, that is true,” I said. - -And the little prince added: “But the eyes are blind. One must look with the heart...” - -I had drunk the water. I breathed easily. At sunrise the sand is the colour of honey. And that -honey colour was making me happy, too. What brought me, then, this sense of grief? - -“You must keep your promise,” said the little prince, softly, as he sat down beside me once more. -“What promise?” “You know, a muzzle for my sheep... I am responsible for this flower...” - -I took my rough drafts of drawings out of my pocket. The little prince looked them over, and -laughed as he said: - -“Your baobabs, they look a little like cabbages.” - -“Oh!” I had been so proud of my baobabs! “Your fox, his ears look a little like horns; and they are -too long.” And he laughed again. - -“You are not fair, little prince,” I said. “I don’t know how to draw anything except boa constrictors -from the outside and boa constrictors from the inside.” - - - - - -“Oh, that will be all right,” he said, “children understand.” - -So then I made a pencil sketch of a muzzle. And as I gave it to him my heart was torn. - -“You have plans that I do not know about,” I said. But he did not answer me. He said to me, -instead: “You know, my descent to the earth... Tomorrow will be its anniversary.” Then, after a -silence, he went on: “I came down very near here.” And he flushed. - -And once again, without understanding why, I had a queer sense of sorrow. One question, -however, occurred to me: “Then it was not by chance that on the morning when I first met you — a -week ago — you were strolling along like that, all alone, a thousand miles from any inhabited -region? You were on the your way back to the place where you landed?” - -The little prince flushed again. And I added, with some hesitancy: “Perhaps it was because of the -anniversary?” The little prince flushed once more. He never answered questions, but when one -flushes does that not mean “Yes”? - -“Ah,” I said to him, “I am a little frightened...” - -But he interrupted me. “Now you must work. You must return to your engine. I will be waiting for -you here. Come back tomorrow evening...” - -But I was not reassured. I remembered the fox. One runs the risk of weeping a little, if one lets -himself be tamed... - -Beside the well there was the ruin of an old stone wall. When I came back from my work, the next -evening, I saw from some distance away my little prince sitting on top of a wall, with his feet -dangling. And I heard him say: “Then you don’t remember. This is not the exact spot.” Another -voice must have answered him, for he replied to it: “Yes, yes! It is the right day, but this is not the -place.” - -I continued my walk toward the wall. At no time did I see or hear anyone. The little prince, -however, replied once again: “...Exactly. You will see where my track begins, in the sand. You have -nothing to do but wait for me there. I shall be there tonight.” - - - -I was only twenty metres from the wall, and I still saw nothing. After a silence the little prince -spoke again: “You have good poison? You are sure that it will not make me suffer too long?” I -stopped in my tracks, my heart torn asunder; but still I did not understand. “Now go away,” said -the little prince. “I want to get down from the wall.” - -I dropped my eyes, then, to the foot of the wall... and I leaped into the air. There before me, facing -the little prince, was one of those yellow snakes that take just thirty seconds to bring your life to -an end. Even as I was digging into my pocked to get out my revolver I made a running step back. -But, at the noise I made, the snake let himself flow easily across the sand like the dying spray of -a fountain, and, in no apparent hurry, disappeared, with a light metallic sound, among the stones. I -reached the wall just in time to catch my little man in my arms; his face was white as snow. - -“What does this mean?” I demanded. “Why are you talking with snakes?” - -I had loosened the golden muffler that he always wore. I had moistened his temples, and had -given him some water to drink. And now I did not dare ask him any more questions. He looked at -me very gravely, and put his arms around my neck. I felt his heart beating like the heart of a -dying bird, shot with someone’s rifle... - -“I am glad that you have found what was the matter with your engine,” he said. “Now you can go -back home” - -“How do you know about that?” I was just coming to tell him that my work had been successful, -beyond anything that I had dared to hope. - -He made no answer to my question, but he added: “I, too, am going back home today...” Then, -sadly, “It is much farther... it is much more difficult...” I realised clearly that something -extraordinary was happening. I was holding him close in my arms as if he were a little child; and -yet it seemed to me that he was rushing headlong toward an abyss from which I could do nothing -to restrain him... His look was very serious, like some one lost far away. - -“I have your sheep. And I have the sheep’s box. And I have the muzzle...” - -And he gave me a sad smile. I waited a long time. I could see that he was reviving little by little. - -“Dear little man,” I said to him, “you are afraid...” He was afraid, there was no doubt about that. -But he laughed lightly. - -“I shall be much more afraid this evening...” - -Once again I felt myself frozen by the sense of something irreparable. And I knew that I could not -bear the thought of never hearing that laughter any more. For me, it was like a spring of fresh -water in the desert. - -“Little man,” I said, “I want to hear you laugh again.” But he said to me: “Tonight, it will be a -year... my star, then, can be found right above the place where I came to the Earth, a year ago...” - -“Little man,” I said, “tell me that it is only a bad dream, this affair of the snake, and the meeting- -place, and the star...” But he did not answer my plea. - -He said to me, instead: “The thing that is important is the thing that is not seen...” “Yes, I -know...” - - - - -“It is just as it is with the flower. If you love a flower that lives on a star, it is sweet to look at the -sky at night. All the stars are a-bloom with flowers...” - -“Yes, I know...” - -“It is just as it is with the water. Because of the pulley, and the rope, what you gave me to drink -was like music. You remember, how good it was.” - -“Yes, I know...” - -“And at night you will look up at the stars. Where I live everything is so small that I cannot show -you where my star is to be found. It is better, like that. My star will just be one of the stars, for -you. And so you will love to watch all the stars in the heavens... they will all be your friends. And, -besides, I am going to make you a present...” He laughed again. - -“Ah, little prince, dear little prince! I love to hear that laughter!” - -“That is my present. Just that. It will be as it was when we drank the water...” - -“What are you trying to say?” - -“All men have the stars,” he answered, “but they are not the same things for different people. For -some, who are travellers, the stars are guides. For others they are no more than little lights in the -sky. For others, who are scholars, they are problems. For my businessman they were wealth. But -all these stars are silent. You, you alone, will have the stars as no one else has them” - -“What are you trying to say?” - -“In one of the stars I shall be living. In one of them I shall be laughing. And so it will be as if all -the stars were laughing, when you look at the sky at night... you, only you, will have stars that can -laugh!” - -And he laughed again. “And when your sorrow is comforted (time soothes all sorrows) you will be -content that you have known me. You will always be my friend. You will want to laugh with me. And -you will sometimes open your window, so, for that pleasure... and your friends will be properly -astonished to see you laughing as you look up at the sky! Then you will say to them, ‘Yes, the -stars always make me laugh!’ And they will think you are crazy. It will be a very shabby trick that -I shall have played on you...” - -And he laughed again. “It will be as if, in place of the stars, I had given you a great number of -little bells that knew how to laugh...” - -And he laughed again. Then he quickly became serious: “Tonight, you know... do not come,” said -the little prince. - -“I shall not leave you,” I said. - -“I shall look as if I were suffering. I shall look a little as if I were dying. It is like that. Do not -come to see that. It is not worth the trouble...” - -“I shall not leave you.” - - - -But he was worried. “I tell you, it is also because of the snake. He must not bite you. Snakes, they - - - - -are malicious creatures. This one might bite you just for fun...” - - - -“I shall not leave you.” - -But a thought came to reassure him: “It is true that they have no more poison for a second bite.” - -That night I did not see him set out on his way. He got away from me without making a sound. -When I succeeded in catching up with him he was walking along with a quick and resolute step. He -said to me merely: “Ah! You are there...” And he took me by the hand. But he was still worrying. -“It was wrong of you to come. You will suffer. I shall look as if I were dead; and that will not be -true...” - -I said nothing. - -“You understand... it is too far. I cannot carry this body with me. It is too heavy.” - -I said nothing. - -“But it will be like an old abandoned shell. There is nothing sad about old shells...” - -I said nothing. He was a little discouraged. But he made one more effort: “You know, it will be -very nice. I, too, shall look at the stars. All the stars will be wells with a rusty pulley. All the stars -will pour out fresh water for me to drink...” - -I said nothing. - -“That will be so amusing! You will have five hundred million little bells, and I shall have five -hundred million springs of fresh water...” And he too said nothing more, because he was crying... - -“Here it is. Let me go on by myself.” And he sat down, because he was afraid. Then he said, -again: “You know, my flower... I am responsible for her. And she is so weak! She has four thorns, -of no use at all, to protect herself against all the world...” - -I too sat down, because I was not able to stand up any longer. “There now, that is all...” - -He still hesitated a little; then he got up. He took one step. I could not move. There was nothing -but a flash of yellow close to his ankle. He remained motionless for an instant. He did not cry out. -He fell as gently as a tree falls. There was not even any sound, because of the sand. - -And now six years have already gone by... I have never yet told this story. - -The companions who met me on my return were well content to see me alive. I was sad, but I told -them: “I am tired.” Now my sorrow is comforted a little. That is to say, not entirely. But I know -that he did go back to his planet, because I did not find his body at daybreak. It was not such a -heavy body... and at night I love to listen to the stars. It is like five hundred million little bells... -But there is one extraordinary thing... when I drew the muzzle for the little prince, I forgot to add -the leather strap to it. He will never have been able to fasten it on his sheep. - -So now I keep wondering: what is happening on his planet? Perhaps the sheep has eaten the -flower... At one time I say to myself: “Surely not! The little prince shuts his flower under her glass -globe every night, and he watches over his sheep very carefully...” Then I am happy. And there is -sweetness in the laughter of all the stars. - - - - -But at another time I say to myself: “At some moment or other one is absent-minded, and that is -enough! On some one evening he forgot the glass globe, or the sheep got out, without making any -noise, in the night...” And then the little bells are changed to tears... Here, then, is a great -mystery. - -For you who also love the little prince, and for me, nothing in the universe can be the same if -somewhere, we do not know where, a sheep that we never saw has eaten a rose... Look up at the -sky. Ask yourselves: is it yes or no? - -Has the sheep eaten the flower? And you will see how everything changes... And no grown-up will -ever understand that this is a matter of so much importance! This is, to me, the loveliest and -saddest landscape in the world. It is the same as that on the preceding page, but I have drawn it -again to impress it on your memory. It is here that the little prince appeared on Earth, and -disappeared. Look at it carefully so that you will be sure to recognise it in case you travel some -day to the African desert. And, if you should come upon this spot, please do not hurry on. Wait for -a time, exactly under the star. Then, if a little man appears who laughs, who has golden hair and -who refuses to answer questions, you will know who he is. If this should happen, please comfort -me. Send me word that he has come back. - - - -END diff --git a/harfbuzz/perf/texts/en-words.txt b/harfbuzz/perf/texts/en-words.txt deleted file mode 100644 index 14200fa..0000000 --- a/harfbuzz/perf/texts/en-words.txt +++ /dev/null @@ -1,12391 +0,0 @@ -a -A -aa -AA -aaa -AAA -aaae -AAAu -AAB -AAC -aacute -Aacute -Aacutesmall -AAD -aae -AAE -aaf -AAF -aalt -aao -aarch -Aari -aat -AAT -aatFeatureType -AAu -ab -AB -Abaza -abb -ABBREV -abc -ABC -abcde -abcdefghijklmnopqrstuvwxyz -ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz -ABD -ABE -ABEu -ABF -ABFu -abh -ABI -ability -Abkhazian -able -Aboriginal -ABORIGINAL -abort -about -above -Above -ABOVE -abq -abs -absolute -absolutely -absorb -abstraction -abstractions -ABu -abuse -abv -ABVF -abvm -abvs -ABVS -ABx -ABxCD -ABxD -ac -AC -acb -ACBu -acc -ACC -accel -Accelerate -accelerator -ACCELERATOR -accels -accent -ACCENT -accents -accept -acceptable -accepted -accepting -accepts -access -Access -accessed -accessible -accessing -accessors -accommodate -Accommodate -accompanying -accomplish -according -According -account -accounting -ACCu -accumulate -Accumulate -accuracy -accurate -AccuT -ACDu -acf -ach -Achi -achieve -Acholi -achung -achVendID -acircumflex -Acircumflex -Acircumflexsmall -ack -acm -Acoli -acom -acq -ACQ -acquire -ACQUIRE -acr -across -act -action -Action -ACTION -actionable -actionClass -actionData -actionLength -actions -Actions -ActionSubrecord -ActionSubrecordHeader -actionType -ActionType -activated -activates -active -acts -actual -Actual -actualGlyphsCount -actually -ACu -acute -Acutesmall -acw -acx -acy -ad -AD -ada -Adamawa -Adangme -Adap -adapt -Adapted -Adaptors -aData -adb -ADBu -add -Add -addcnt -added -AddFontMemResourceEx -addGlyph -adding -Adding -addition -Addition -additional -Additional -additionalCount -additions -addr -AddRef -address -addressof -adds -ADDu -Adeni -adequate -adf -adieresis -Adieresis -Adieresissmall -Adilabad -adjacent -Adjacent -adjust -Adjust -adjusted -adjustment -adjustments -Adjusts -ADL -Adlam -ADLAM -adobe -Adobe -adopt -Adopted -adorned -adp -ADu -adv -advance -Advance -Advanced -advanceMax -advanceMeasurement -advanceOffset -advances -ADVANCES -Advancing -advantage -ADVISED -advMap -ady -Adyghe -ae -AE -aea -aeaf -aeb -aec -AEDu -AEEu -AEFu -Aegean -AEsmall -AEu -af -AF -afa -afadd -Afar -AFAu -afb -AFBAu -AFBu -AFDKO -AFEu -AFF -affect -affected -affecting -affects -affinity -Afghanistan -Africa -Afrikaans -after -After -AFTER -afterGrowLimit -afterShrinkLimit -AFu -AG -again -against -Agaw -Agfa -agnostic -agrave -Agrave -Agravesmall -agree -agreement -ahead -Aheri -ahg -Ahom -AHOM -aht -Ahtena -ai -AI -aii -AIN -aio -Aiton -aiw -AIX -ajp -ak -aka -AKA -Akan -AKAT -AKHN -alaph -ALAPH -alas -Alaska -Alaskan -Albania -Albanian -ALBANIAN -Albay -alef -Alef -ALEF -Algeria -Algerian -algorithm -Algorithm -algorithmic -algorithms -Algorithms -algs -ALGS -alias -aliased -aliases -aliasing -align -aligned -alignment -alignof -aligns -alive -all -All -ALL -ALLAH -AllDirections -Allison -alloc -Alloc -allocate -Allocate -ALLOCATE -allocated -allocates -allocating -allocation -Allocation -allocations -Allocations -allocator -allow -Allow -allowed -allowing -allows -almost -aln -alone -along -alpha -Alpha -alphabet -Alphabet -alphabetic -Alphabetic -alphabetical -alphabetically -Alphanumeric -Alphanumerics -already -als -Alsatian -also -Also -alt -ALT -Altai -alter -alternate -Alternate -ALTERNATE -alternates -ALTERNATES -alternateSet -AlternateSet -AlternateSubst -AlternateSubstFormat -alternative -Alternatively -ALTERNATIVES -although -Although -alts -always -Always -am -AM -ambiguity -ambiguous -Ambo -Amend -American -Americanist -amf -Amharic -among -amongst -amount -Amoy -amp -ampersand -ampersandsmall -amw -an -An -AN -Ana -analysis -Analysis -ANALYSIS -analyze -Analyze -analyzer -Analyzer -analyzers -Analyzes -AnalyzeScript -ANATOLIAN -Ancash -anchor -Anchor -anchorData -anchored -AnchorFormat -AnchorMatrix -anchorPoint -anchors -Ancient -and -And -AND -android -Android -ANDROID -ang -angle -Angle -ANGLE -Anglo -ankr -ANKR -ankrActionIndex -ankrData -annex -annotate -Annotated -annotation -ANNOTATION -annotations -another -Another -Ansi -Antankarana -Antillean -any -Any -ANY -anymore -anything -Anything -anyway -ap -Apache -apc -apd -Api -API -apis -APIs -apj -apk -apl -apm -APP -Apparently -appear -appearance -appearing -append -Append -APPEND -appended -appending -Appendix -AppendixF -Appends -Appl -APPL -apple -Apple -APPLE -AppleColorEmoji -applicable -Applicable -APPLICABLE -application -applications -Applications -ApplicationServices -applied -applies -apply -Apply -APPLY -applying -Applying -approach -approaches -appropriate -approxequal -approximate -appveyor -April -apt -Apurímac -apw -AQ -ar -Arabia -ARABIAN -arabic -Arabic -ARABIC -ArabicShaping -Aragonese -Arakanese -Arakwal -Aramaic -ARAMAIC -arb -Arbëreshë -arbitrarily -arbitrary -ARC -Archaic -architecturally -archive -archives -are -ARE -area -Area -Arequipa -arg -ARG -Argentina -Argh -args -ARGS -argStack -argument -arguments -aring -Aring -Aringsmall -ARISING -arith -arithmetic -Ariza -armcc -Armenia -Armenian -ARMENIAN -arn -Aromanian -around -arounds -Arpitan -arq -arr -arranged -array -Array -ARRAY -ArrayOf -ArrayOfM -arrays -arrayZ -arrive -Arrows -ars -Arsi -articles -Arvanitika -ary -arz -as -As -AS -Asat -ascender -ASCENDER -ascenderOffset -ascending -ascent -ASCENT -ascii -ASCII -asciicircum -asciitilde -Asho -Asian -aSize -asked -Asking -Asmall -Asomtavruli -aspect -aspects -aspx -Assamese -assembly -assert -ASSERT -assertion -ASSERTION -assign -Assign -ASSIGN -assignable -assigned -assigns -assistance -assisted -associated -associates -associating -Association -assume -Assume -assumed -Assumed -assuming -Assuming -assumption -Assumption -Assyrian -ast -asterisk -ASTERISK -Asturian -asuperior -at -At -atexit -ATEXIT -aTextPosition -ath -Athapascan -Athapaskan -Atikamekw -atilde -Atilde -Atildesmall -atj -Atlas -atleast -ATLEAST -atomic -Atomic -ATOMIC -Atomically -atomics -atsFont -ATSFontGetFileReference -ATSFontRef -attach -Attach -ATTACH -attached -ATTACHED -attaches -attaching -attachList -AttachList -attachment -Attachment -ATTACHMENT -attachments -attachPoint -AttachPoint -attempt -attempted -attempts -Attempts -attr -ATTR -attractive -attrib -attribute -ATTRIBUTE -attributed -attributes -Attributes -attrs -atv -au -Au -AU -audiences -augmented -Australia -Austria -Author -AUTHOR -authors -auto -AUTO -autoconf -autogen -automake -automatic -Automatic -automatically -auxiliary -Auxiliary -auz -av -AV -Avagraha -AVAGRAHA -avail -Availability -AvailabilityMacros -available -avar -Avar -AVAR -Avaric -AVESTAN -avl -avoid -Avoid -avoided -avoiding -avoids -aw -awa -Awa -Awadhi -aware -away -awful -ax -Ax -AxCD -AxD -axes -axesZ -axis -Axis -AXIS -axisCount -axisIndex -axisNameID -AxisRecord -axisSize -axisTag -AxisValue -axisValueCount -AxisValueFormat -AxisValueMap -AxisValueRecord -axisValues -ay -Ayacucho -ayc -ayh -AYIN -ayl -Aymara -ayn -ayp -ayr -az -azb -Azerbaijan -Azerbaijani -Azeri -azj -b -B -ba -BA -Babalia -Babine -BABu -Bacanese -back -backend -backends -background -Background -BACKGROUND -backing -backslash -backtrack -backtrackClassDef -backtrackCount -backtracking -backward -BACKWARD -backwards -Backwards -bad -Badaga -badly -BADLY -bae -BAEu -BAFu -Bagheli -Baghelkhandi -Bagirmi -Bagri -Baharna -Bahrain -bai -bail -Bakhtiari -bal -Balanta -Balante -Balinese -BALINESE -Balkan -Balkar -Balochi -Balti -Baltic -Baluchi -Bamanankan -Bambara -Bamileke -BAMUM -ban -Banda -Bandjalang -Bangka -Bangladesh -Bangun -Banjar -Banna -Baoulé -bar -Bara -BARREE -barrier -Barrier -bars -Bas -base -Base -BASE -baseArray -BaseArray -BaseCoord -BaseCoordFormat -baseCoords -baseCoverage -BaseCoverage -based -Based -BaseFontBlend -baseFontName -BaseFontName -BaseGlyph -BaseGlyphRecord -baseGlyphsZ -BaseLangSysRecord -baseLangSysRecords -BaseLangSysRecords -baseLangSysTag -baseline -Baseline -BASELINE -baselines -BaselineTableFormat -baselinetags -baselineTags -bases -baseScript -BaseScript -baseScriptList -BaseScriptList -BaseScriptRecord -baseScriptRecords -BaseScriptRecords -baseScriptTag -baseTagCount -baseTagList -BaseTagList -baseValues -BaseValues -Bashkir -basic -Basic -BASIC -basically -BASIS -Basque -BASSA -Batak -BATAK -batch -BAu -Baulé -Bavarian -Bawm -BB -BBAu -BBBu -bbc -bbee -BBEu -BBF -BBu -bbz -bc -BC -bca -BCA -BCAu -BCBu -bcc -BCCu -bcd -BCD -BCDu -BCEu -bci -bcl -bcp -BCP -bcq -bcr -BCu -bcursor -bd -BD -bdadd -bdfaab -bdu -BDu -bdy -be -Be -BE -bea -BEAM -bearing -bearings -bearingX -bearingY -Beaver -beb -Bebele -Bebil -bec -because -Because -become -BECOME -becomes -bed -Bedawi -BEEH -been -BEEN -BEEu -before -Before -BEFORE -beforeGrowLimit -beforehand -beforeShrinkLimit -BeforeSub -began -begin -BEGIN -beginning -Beginning -BEH -behave -behaved -behaving -behavior -behaviors -behaviour -Behdad -BEHEH -behind -Bei -being -Being -BEInt -Belarus -Belarusian -Belarussian -Belgium -Belize -belong -belonging -belongs -below -Below -BELOW -bem -Bemba -Bench -bend -benefits -BENG -Bengali -BENGALI -ber -Berau -Berber -best -Bet -BET -Beti -bets -Betsimisaraka -better -between -BEu -beyond -bf -BF -bfaeafe -BFAu -bfb -BFF -bffc -BFFu -bfind -BFIND -bfq -bft -bfu -BFu -bfy -bg -bgc -bgn -bgp -bgq -bgr -BGRAColor -Bhaiksuki -BHAIKSUKI -Bhasha -bhb -bhi -Bhilali -Bhili -bhk -bho -Bhojpuri -bhr -bi -Bi -bias -biased -biasedSubrs -Bible -Bicolano -bidi -bidirectional -BiDirectional -bidirectionality -big -Big -BIG -BigGlyphMetrics -bik -Bikol -BILD -Bilen -Bilin -billion -bimap -BIMAP -bin -binaries -binary -Binary -BINARY -bindings -Bindu -BINDU -Bindus -BinSearchArrayOf -BinSearchHeader -Bishnupriya -Bislama -bit -Bit -bitcount -bitDepth -bitfield -bithacks -Bithacks -bitmap -Bitmap -BITMAP -bitmaps -BitmapSizeTable -bits -Bits -BITS -BitScanForward -BitScanReverse -bitset -bitsize -bitwise -bjj -bjn -BJN -bjq -bjt -bl -BL -bla -black -Black -BLACK -Blackfoot -blackhole -blacklist -BLACKLIST -blacklisted -blacklisting -Blas -ble -blend -Blend -BLEND -blendcs -blenddict -blended -blending -BlendInterpEnv -blends -Blink -blk -bln -blob -BLOB -blobs -Blobs -block -Block -BLOCK -blocked -Blocked -blocks -Blocks -Bloom -blow -blown -blue -Blue -BlueFuzz -BlueScale -BlueShift -BlueValues -blwf -BLWF -blwm -blws -BLWS -bm -bmg -bmm -bmp -BMP -bn -bo -Bodo -body -bok -Bokmal -Bokmål -bold -Bold -BOLD -bolder -Bolivia -Bolivian -book -Book -bookbold -bookkeeping -bool -BOOL -Boolean -Booleans -BOOM -Bopomofo -BOPOMOFO -Borana -BORDERS -Borgu -Borrowed -Bosnia -Bosnian -BOT -both -bother -bottom -Bottom -BOTTOM -bottomSide -bound -Bound -boundaries -boundary -Boundary -bounding -bounds -Bounds -BOUNDS -Bouyei -box -Box -BOX -boxed -BOXED -boxes -bpy -bqi -br -BR -bra -braceleft -braceright -braces -Bracket -BRACKET -bracketleft -bracketright -Brahmi -BRAHMI -Brahui -Braille -BRAILLE -Braj -branches -brand -Brawer -Brazil -break -BREAK -breakfast -breaking -breakpoint -BREAKPOINT -breaks -bretagne -Breton -breve -Brevesmall -brew -brh -brief -broken -Broken -brokenbar -Brunei -Bruno -bruteforce -brx -bs -bsb -bsearch -bsk -bsln -BSLN -Bsmall -bsuperior -bswap -btb -btj -bto -bts -btt -BTT -bu -Bu -Bualkhaw -Bubble -bucket -buf -buff -buffArray -buffer -Buffer -BUFFER -buffers -Buffers -BUFSIZ -bug -BUG -buggy -Buginese -BUGINESE -Bugis -bugs -bugzilla -Buhi -Buhid -BUHID -build -builder -Builder -building -Building -builds -built -builtin -BUILTIN -builtins -Bukit -Bukusu -Bulgaria -Bulgarian -bulk -bullet -Bulu -bum -Bumthangkha -bundles -burden -Buriat -Burmese -Burushaski -business -but -But -BUT -BV -bve -bvu -bxk -bxp -bxr -by -By -BY -Byagowi -Byelorussian -byes -byn -byte -Byte -BYTE -byteArray -byteOffsetToIndex -bytes -Bytes -BYTES -bytesArray -bytesX -bytesZ -byv -Byzantine -bzc -c -C -ca -Ca -CA -CABu -caca -cache -Cache -CACHE -cacheable -cached -caches -caching -Caching -cacute -Cacute -caf -cairo -Cairo -cairographics -Cajamarca -Cajatambo -Cajun -cak -calcOffSize -CalcTableChecksum -calculate -Calculate -calculated -calculates -calculation -Calderón -Calibry -call -Call -callback -Callback -callbacks -CALLBACKS -called -Called -caller -callers -callgsubr -calling -calloc -calls -Calls -callStack -callsubr -calt -Cambodia -Cameroon -Campidanese -can -Can -Canada -Canadian -CANADIAN -Cañar -CANCEL -candidate -candidates -cannot -Cannot -canon -canonical -Canonical -CANONICAL -canonically -cantarell -Cantarell -Cantillation -CANTILLATION -cap -Cap -CAP -capabilities -capable -capital -CAPS -care -careful -carefully -caret -Caret -CARET -caretOffset -carets -caretSlopeDenominator -caretSlopeNumerator -caretSlopeRise -caretSlopeRun -CaretValue -caretValueFormat -CaretValueFormat -caretValuePoint -Carian -CARIAN -Caribbean -caron -Caronsmall -Carpathian -Carrier -carry -cas -cascade -cascading -case -CASE -cases -cast -Cast -casting -casts -Casts -cat -Cat -CAT -Catalan -Catanduanes -catch -categories -Categories -CATEGORIES -categorization -categorize -categorized -categorizes -category -Category -CATEGORY -Cateories -CAu -CAUCASIAN -cause -caused -causes -causing -cautious -cb -CB -cbb -CBCu -cbdt -CBDT -CBEu -CBFu -cbk -cbl -cblc -CBLC -CBu -cc -Cc -CC -ccaron -Ccaron -CCAu -CCBu -ccc -CCC -ccccae -cccf -CCCu -CCD -CCDu -ccedilla -Ccedilla -Ccedillasmall -CCEu -cChars -ccmp -cco -ccq -CCu -cd -CD -CDATA -cdd -cdo -CDu -CDx -CDxA -CDxAB -CDxBA -ce -CE -ceb -Cebuano -CECu -cedilla -Cedillasmall -CEDu -CEEu -ceil -CEIL -cent -center -Center -centered -CENTERED -centinferior -centoldstyle -CentOS -central -Central -centsuperior -ceparams -certain -Certain -CEu -cf -Cf -CF -cfar -CFAR -CFArrayAppendValue -CFArrayCreate -CFArrayCreateMutable -CFArrayGetCount -CFArrayGetValueAtIndex -CFArrayRef -CFAttributedStringCreateMutable -CFAttributedStringRemoveAttribute -CFAttributedStringReplaceString -CFAttributedStringSetAttribute -CFComparisonResult -cfd -CFData -CFDataGetBytePtr -CFDataGetLength -CFDataRef -CFDictionaryCreate -CFDictionaryGetValue -CFDictionaryRef -CFDu -CFEqual -cff -CFF -cfff -CFFIndex -CFFIndexOf -CFFTag -CFFu -CFIndex -cfm -CFMutableArrayRef -CFMutableAttributedStringRef -CFNumberCreate -CFNumberRef -CFRange -CFRangeMake -CFRelease -CFRetain -CFSTR -CFStringCompare -CFStringCreateWithCharactersNoCopy -CFStringCreateWithCStringNoCopy -CFStringGetCharacterAtIndex -CFStringHasPrefix -CFStringHasSuffix -CFStringRef -CFu -CFURLCreateFromFSRef -CFURLRef -cg -CGDataProviderCreateWithData -CGDataProviderRef -CGDataProviderRelease -CGFloat -CGFont -CGFontCopyPostScriptName -CGFontCopyTableForTag -CGFontCreateWithDataProvider -CGFontRef -CGFontRelease -CGFontRetain -cgg -CGGlyph -cgi -cgit -CGJ -cGlyphs -CGPoint -ch -Chachapoyas -Chadian -Chaha -chain -Chain -chainContext -ChainContext -ChainContextApplyLookupContext -ChainContextClosureLookupContext -ChainContextCollectGlyphsLookupContext -ChainContextFormat -ChainContextPos -ChainContextSubst -chainCount -chaining -Chaining -ChainRule -ChainRuleSet -chains -Chains -ChainSubtable -Chakma -CHAKMA -Chaldean -Cham -CHAM -Chamorro -chance -chandas -change -Change -changed -changes -Changes -changing -channel -channels -Chap -chapter -Chapter -char -Char -CHAR -character -Character -CHARACTER -characterCode -characterize -characters -Characters -CHARACTERS -characterVariants -charmap -Charmap -charMirror -CHARPROP -chars -charset -Charset -CHARSET -CharsetID -charsetInfo -CharsetOffset -charstreing -charstring -CharString -charstrings -charStrings -CharStrings -charStringsInfo -charStringsOffset -CharstringType -charts -chattawa -CHATTAWA -Chattisgarhi -Chaungtha -Chavacano -cheaper -Chechen -check -Check -CHECK -checked -CHECKED -checking -Checking -checks -Checks -checksum -checkSum -CheckSum -checkSumAdjustment -Cherokee -CHEROKEE -Chetco -Chewa -Cheyenne -Chhattisgarhi -Chichewa -Chiga -Chiki -CHIKI -Chilcotin -child -children -Chile -Chilean -Chillus -Chiltepec -Chimborazo -Chin -China -Chinantec -Chinbon -Chincha -Chinese -Chipewyan -Chippewa -Chiquián -Chiricahua -Chiripá -Chittagonian -chj -chk -CHL -cho -Choctaw -choice -choices -choose -Choose -chooses -choosing -chop -Chop -chosen -CHOSEONG -chp -chq -chr -chris -Chris -chromium -Chromium -Chuanqiandian -Chukchi -Chukot -chunk -ChunkLen -chunks -Church -Chuukese -Chuvash -chy -chz -ci -CI -CID -cidCount -CIDCount -CIDFontRevision -CIDFontType -CIDFontVersion -CIN -cInChars -CIP -circle -CIRCLE -circles -circuit -CIRCUIT -circumflex -Circumflexsmall -circumstances -circumvents -citer -CITI -ciw -cja -CJCT -CJK -cjm -cjy -ck -CK -cka -ckb -ckt -cl -Clamp -clang -clarity -Clasen -class -Class -CLASS -classArray -classCount -classDef -ClassDef -ClassDefFormat -classes -classFormat -Classic -Classical -classifications -classified -classify -classTable -ClassTable -ClassType -ClassTypeNarrow -ClassTypeWide -classValue -classValueArray -clc -cld -cle -clean -Clean -cleanest -clear -Clear -cleared -clearing -clearly -clears -Clears -ClearType -ClearType™ -client -Client -clients -Clients -clig -clipping -CLIPPING -clockwise -close -Close -CLOSE -CloseHandle -closely -closer -closest -CLOSEST -closure -Closure -CLOSURE -closures -cluster -Cluster -CLUSTER -clustering -clusterMap -clusters -Clusters -CLUSTERS -clz -clzl -clzll -CM -CMAbv -cmake -cmap -CMAP -cmapsubtable -CmapSubtable -CmapSubtableFormat -CmapSubtableLongGroup -CmapSubtableLongSegmented -CmapSubtableTrimmed -cMaxGlyphs -cMaxItems -CMBlw -cmn -cmp -cmpexch -cmplexch -cmpswap -cmr -cn -Cn -cnb -cnh -cnk -cnl -cnt -cntrmask -cnw -co -Co -coa -Cocos -code -Code -CODE -codebase -coded -codepath -codepoint -CODEPOINT -codepoints -codepont -codes -Codethink -Coeng -COENG -coengs -col -Col -collect -Collect -COLLECT -collected -collection -Collection -collections -Collections -collects -Colombia -colon -COLON -colonmonetary -color -Color -COLOR -colorIdx -colorLabelsZ -ColorRecord -colorRecordIndicesZ -colorRecordsZ -colorRef -colors -colorType -Colour -colr -COLR -cols -COLS -columnCount -columnIndexTable -com -Comaltepec -combination -combinations -combine -COMBINE -combined -combiner -combiners -combining -Combining -COMBINING -come -comes -comfortably -coming -comma -COMMA -commainferior -command -Command -commands -commas -commasuperior -comment -Commenting -comments -commit -commitcomment -commits -common -Common -COMMON -commonly -Comorian -comp -compact -Compact -compar -compare -Compare -compared -compares -comparing -Comparing -comparison -compat -compatibility -Compatibility -COMPATIBILITY -compatible -COMPATIBLE -compensate -compilable -compile -Compile -compiled -compiler -Compiler -compilers -compiles -COMPILES -compiling -complains -complang -Complement -complete -Complete -completely -complex -Complex -COMPLEX -COMPLEXITY -complicated -component -COMPONENT -componentData -ComponentGlyph -components -Components -COMPONENTS -ComponentsArray -composable -compose -composed -COMPOSED -composePair -composes -Composes -composing -composite -COMPOSITE -CompositeGlyph -CompositeGlyphChain -composites -composition -Composition -COMPOSITION -COMPOUND -compressed -compressionMethod -comprise -comprising -comps -compute -Compute -Computes -computing -concepts -Concepts -conceptual -Conceptually -concern -concerned -Conchucos -cond -Cond -condensed -Condensed -CONDENSED -condition -Condition -conditional -conditionalAddGlyphAction -ConditionalAddGlyphAction -conditionally -ConditionFormat -conditions -Conditions -ConditionSet -config -CONFIG -configs -configuration -Configuration -configurations -configure -configured -conflicting -confused -confusing -Congo -conjunct -connect -CONNECT -connected -CONNECTED -connecting -connection -CONNECTION -connector -CONNECTOR -Cons -CONS -consecutive -CONSEQUENTIAL -Consequently -consider -Consider -considerably -consideration -considerations -considered -consist -consistent -consists -consonant -Consonant -CONSONANT -consonants -const -CONST -constant -CONSTANT -constants -Constants -constexpr -constituent -constitute -constitutes -constraints -CONSTRAINTS -construct -constructed -constructible -construction -constructor -constructors -Constructors -constructs -consult -consumed -contain -contained -container -containers -containing -contains -ContainsTextPosition -contemporary -content -CONTENT -contents -context -Context -CONTEXT -ContextApplyFuncs -ContextApplyLookupContext -ContextClosureFuncs -ContextClosureLookupContext -ContextCollectGlyphsFuncs -ContextCollectGlyphsLookupContext -ContextFormat -ContextPos -contexts -ContextSubst -contextual -Contextual -CONTEXTUAL -ContextualSubtable -contiguous -continuation -CONTINUATION -continuations -continue -continues -contour -Contour -contours -contract -CONTRACT -contrary -contrast -contributing -Contributor -control -Control -CONTROL -controlling -controls -convenience -conveniences -convenient -conventions -Conversely -conversion -Conversion -Conversions -convert -Convert -converted -Converted -converters -convertible -converting -Converts -convoluted -coord -coordinate -Coordinate -coordinates -Coordinates -COORDINATES -coordinatesZ -coordPoint -coords -coorinates -cop -copied -Copied -copies -Copies -Coptic -COPTIC -copy -Copy -COPY -copyable -copying -copyright -Copyright -COPYRIGHT -coq -Coquille -core -CoreGraphics -coretext -CoreText -CORETEXT -corner -CORNER -corners -Cornish -Corongo -correct -correction -correctionHeight -correctly -Correctly -correctness -correlate -correspond -corresponding -corresponds -corrupt -Corsican -cost -Costa -costs -costy -cotfRecords -could -Could -count -Count -COUNT -countChar -counted -counter -counting -Counting -CountMask -countries -counts -couple -Courier -course -courtesy -cover -coverage -Coverage -COVERAGE -coverageFormat -CoverageFormat -coverageZ -covered -COVERED -covering -covers -cp -CP -cpa -cpal -CPAL -CPALV -cpe -cpf -cplusplus -cpp -cppreference -CPR -CPrf -cpx -cqd -cqu -cr -CRAMPED -cRanges -crap -Crap -CRAP -CrapHelper -CrapOrNull -CrapOrNullHelper -CrapPool -crash -crashes -crazy -crbug -create -Create -CREATE -CreateCustomFontFileReference -created -CreateFile -CREATEFILE -CreateFileMapping -CreateFileMappingFromApp -CreateFileW -CreateFontFace -CreateFontIndirectW -creates -Creates -CreateStreamFromKey -CreateTextAnalyzer -creating -Creating -creation -creator -Cree -Creek -Creole -creoles -Creoles -crh -Crimean -Crioulo -criteria -CRITICAL -crj -crk -crl -crm -Croatia -Croatian -cross -Cross -crossStream -CrossStream -crp -crucial -crx -cs -Cs -CS -csa -csb -csh -Csmall -cso -csop -CSOPSET -CSR -CSS -CSType -csw -cswh -csy -ct -ctc -ctd -cte -CTFont -CTFontCopyAttribute -CTFontCopyGraphicsFont -CTFontCopyName -CTFontCopyPostScriptName -CTFontCreateCopyWithAttributes -CTFontCreateUIFontForLanguage -ctfontcreatewithgraphicsfont -CTFontCreateWithGraphicsFont -CTFontDescriptorCreateWithAttributes -CTFontDescriptorCreateWithNameAndSize -CTFontDescriptorRef -CTFontGetPlatformFont -CTFontGetSize -CTFontRef -CTFontUIFontType -ctg -CTGetCoreTextVersion -ctl -CTLineGetGlyphRuns -CTLineGetTrailingWhitespaceWidth -CTLineRef -ctlPoints -ctor -CTRunGetAttributes -CTRunGetGlyphCount -CTRunGetGlyphs -CTRunGetGlyphsPtr -CTRunGetPositions -CTRunGetPositionsPtr -CTRunGetStatus -CTRunGetStringIndices -CTRunGetStringIndicesPtr -CTRunGetStringRange -CTRunGetTypographicBounds -CTRunRef -CTRunStatus -cts -CTTypesetterCreateLine -CTTypesetterCreateWithAttributedStringAndOptions -CTTypesetterRef -CTYPE -ctz -ctzl -ctzll -cu -Cu -cuc -cuk -cumulated -Cumulative -Cuneiform -CUNEIFORM -cur -curEntry -Curiously -CURISVE -CURLY -curr -curradv -curradvx -curradvy -currAnchor -currAnchorPoint -currclus -currControlPoint -currency -Currency -CURRENCY -current -Current -CurrentCategory -currentIndex -currentInsertBefore -CurrentInsertBefore -currentInsertCount -CurrentInsertCount -currentInsertIndex -currentInsertList -CurrentIsKashidaLike -currently -Currently -currX -currY -curs -cursive -Cursive -CURSIVE -CursivePos -CursivePosFormat -cursor -Cursor -cursoring -curve -CURVE -Cusco -custom -Custom -customization -customize -customizing -Customizing -CustomRange -cut -CUT -cutting -cv -cvn -CVT -cvXX -cwd -CWS -cx -cy -CYGWIN -Cypriot -CYPRIOT -Cyrillic -CYRILLIC -Czech -czh -czo -czt -d -D -da -DA -Daai -DAD -DAFu -dagesh -DAGESH -dagger -daggerdbl -DAHAL -Dai -DAL -DALATH -DALET -dam -DAMAGE -DAMAGES -damma -dammatan -Dan -dance -dangerous -Dangme -Danish -dao -dap -dar -Dargwa -Dari -dark -DARK -Darkhat -Darussalam -Darwazi -DASH -data -Data -DATA -dataArray -dataArrayLen -Database -dataLen -dataLength -DataMap -dataMaps -dataOffset -dataset -dataSets -dataSize -dataSizeArray -dataZ -Date -DAu -David -Daw -dax -day -Dayi -db -DB -DBAu -DBBu -DBCu -DBEu -DBF -dbfo -DBL -DBu -dc -DC -DCA -DCAu -DCBu -DCFu -dcroat -DCu -DCx -DCxA -DCxAB -DCxBA -dd -DD -DDA -DDAHAL -DDAL -DDAu -DDCu -DDD -DDDu -dde -DDEu -ddf -DDF -DDFu -DDu -de -DE -deabc -Dead -DEAD -deal -deallocate -Deallocate -DEALLOCATE -deallocation -dealt -DEAu -Debian -debug -Debug -DEBUG -debugging -Debugging -dec -decay -decender -decide -Decide -deciding -DECIMAL -decipoints -decision -decisions -declaration -declarations -declare -Declare -DECLARE -declared -declaring -decls -DECLS -declspec -decltype -declval -decode -DECODE -decomp -decompose -Decompose -DECOMPOSE -decomposed -DECOMPOSED -decomposedglyphs -decomposes -decomposing -decomposition -DECOMPOSITION -decompositionAction -DecompositionAction -decompositions -decompressed -deconstructed -DECORATIVE -DecorativeBorders -decrease -decreased -decreases -Decreases -decreasing -deduce -deduced -deduces -deem -deemed -deep -def -DEF -defaul -default -Default -DEFAULT -defaultBaseline -defaultFlags -defaultIndex -DefaultJstfLangSys -defaultLangSys -DefaultLangSys -defaultMinMax -defaults -defaultUVS -DefaultUVS -defaultValue -defaultVertOriginY -defaultWidthX -define -DEFINE -defined -Defined -DEFINED -defines -Defines -defining -Defining -definition -Definition -definitions -Definitions -DEFu -Degexit -degree -DEGREE -degrees -Dehong -DejaVu -del -delayed -delete -DELETE -DeleteCriticalSection -deleted -DELETED -DeleteObject -deleting -delimited -DELIMITED -delta -Delta -DELTA -deltaFormat -deltaGlyphID -deltas -DELTAS -DeltaSetIndexMap -DeltaValue -deltaValueZ -Democratic -demonstrate -den -DENIED -Denmark -denom -DENOM -DENOMINATOR -denote -density -depend -dependant -dependencies -dependency -dependent -Dependent -DEPENDENT -depending -depends -deprecated -Deprecated -DEPRECATED -depth -deref -dereference -dereferenced -dereferencing -derived -Derived -DerivedCoreProperties -desc -descendent -descender -DESCENDER -descending -descent -DESCENT -describe -described -describes -describing -description -Description -DESCRIPTION -descriptor -descriptors -Deseret -DESERET -deserialize -DESERIALIZE -design -Design -DESIGN -designated -designates -designAxesOffset -designAxisCount -designAxisSize -designed -designer -DESIGNER -designSize -desirable -desired -desktop -dest -destroy -Destroy -DESTROY -destroyed -destroying -destroys -Destroys -destruct -destructed -destructible -destruction -desubroutinize -detail -detailed -details -detect -detected -determine -Determine -determined -determines -determining -Determining -DEu -dev -DEVA -devanagari -Devanagari -DEVANAGARI -devel -develop -developed -developer -developers -developing -development -Deviate -device -Device -DeviceHeader -DeviceRecord -devices -deviceTable -devnet -df -DF -DFAu -dfde -DFDu -dfe -DFF -DFFu -dflt -DFLT -dfont -DFont -DFontTag -DFu -dgo -dgr -Dhangu -dhd -dhg -Dhivehi -Dhofari -Dhundari -Dhuwal -Dhuwaya -diacritic -Diacritical -diacritics -DIACRITICS -diagnostic -DIAGNOSTIC -DIAGONAL -DIAMOND -dib -dict -Dict -DICT -dictionary -dicts -dictsSize -dictval -DICTVAL -did -didn -Didn -didnt -dieresis -Dieresissmall -diff -DIFF -differ -difference -differences -different -Different -differentiate -differently -differing -differs -difficult -difficulty -digest -DIGEST -digests -digit -Digit -DIGIT -digital -Digits -dik -dimensional -dimensions -Dimli -din -Dingbats -DINGBATS -Dinka -dip -DIPHTHONG -diq -dir -DIR -direct -DIRECT -direction -Direction -DIRECTION -directional -directionality -directions -directive -directly -directory -directwrite -DirectWrite -DIRECTWRITE -dirty -disable -Disable -DISABLE -disabled -disableFlags -disables -disabling -disallow -disallows -disambiguated -Disc -discard -Discarding -discards -discern -DISCLAIMS -discover -Discovered -discretionary -discussed -Discussion -dispatch -Dispatch -DISPATCH -displacement -display -Display -DISPLAY -displaying -dist -distance -Distance -DISTANCE -distances -distinct -distinction -distinguish -distinguishes -distinguishing -distribute -distribution -ditto -div -DIV -Divehi -divert -divide -DIVIDE -divided -divisible -diw -Djambarrpuyngu -dje -djr -dks -DLBAR -dlig -dll -DLL -dllexport -dm -dng -dnj -dnom -do -Do -DO -DOACHASHMEE -doc -Doc -docbook -DocBook -docbookx -docs -DOCTYPE -document -Document -documentation -DOCUMENTATION -documented -documents -Documents -does -Does -doesn -Doesn -doesnt -Dogra -DOGRA -Dogri -Dogrib -doi -doing -dollar -dollarinferior -dollaroldstyle -dollarsuperior -Domain -dominant -Dominican -Domino -don -Don -DON -done -Done -DONE -Dong -dont -DONT -DontAdvance -Dos -DoS -dot -Dot -DOT -dotaccent -Dotaccentsmall -dotlessi -dotsection -dotted -DOTTED -dottedcircle -DOTTEDCIRCLE -Dotyali -double -DOUBLE -down -DOWN -download -downloaded -Downloading -downstream -downward -DPI -DR -dragons -drain -draw -Draw -drawing -Drawing -DRAWINGS -drawn -Drepper -drh -drive -driver -Driver -drop -Drop -DROP -dropped -dropping -drops -drw -ds -dsb -Dsmall -dsohowto -dst -dsuperior -dtd -DTD -dtor -dty -du -Du -dual -Duano -duct -ductile -ductileGlyphAction -DuctileGlyphAction -ductility -due -duj -DUL -dumb -dumber -Dumbest -dummy -Dummy -Dungan -dup -dupe -duplicate -DUPLICATE -duplicated -Duplicated -duplicates -duplication -DUPLOYAN -dupped -duration -during -During -Dutch -dv -dw -dwFeatures -dwFileAttributes -dwFileFlags -DWORD -dwrite -DWrite -DWRITE -DWriteCreateFactory -dwriteFactory -DWriteFontFileLoader -DWriteFontFileStream -dwSecurityQosFlags -dwSize -dwu -dwy -dx -Dx -DxA -DxAB -DxBA -dy -DYEH -dynamic -dyu -Dyula -dz -Dzongkha -e -E -ea -EA -EAAu -EABu -each -Each -eachother -EACu -eacute -Eacute -Eacutesmall -EADu -eae -EAEu -EAFu -eager -earlier -Earlier -early -EARLY -easier -East -eastasian -Eastern -easy -EAu -eb -EB -EBAu -EBBu -EBCu -ebdt -EBDT -EBDu -EBEu -EBFu -Ebira -eblc -Ebrahim -EBu -ec -EC -ECAu -ECBu -ECCu -ECD -ecde -ECDu -ECE -ECEu -ecfb -ECFu -ecircumflex -Ecircumflex -Ecircumflexsmall -ECu -Ecuador -ed -ED -eda -EDAu -EDBu -EDCu -EDDu -EDEu -EDFu -edge -edges -edieresis -Edieresis -Edieresissmall -edit -edits -EDITS -Edo -EDu -ee -EE -EEAu -EEBu -EECu -EEDu -EEEEEELLLLLLLLuuuuuuuuGGGGGGGEEEEEEEE -EEELLLGGGGEEEE -EEEu -EEFu -EEu -ef -EF -EFEu -EFF -effect -effectively -effects -efficiency -efficiently -effort -efi -Efik -EFu -eg -Eg -egrave -Egrave -Egravesmall -Egypt -Egyptian -EGYPTIAN -eight -EIGHT -EIGHTEEN -eightinferior -eightoldstyle -eightsuperior -EINTR -either -Either -EK -ekk -el -El -ELBASAN -ELEM -element -ELEMENT -elements -Elements -ELEVEN -elidable -ELIDABLE -elidedFallbackNameID -elie -Elie -elif -ellipsis -ELLIPSIS -else -Else -elt -ELT -ELYMAIC -em -EM -embed -embedded -EmbeddedPeakTuple -embedding -EMBEDDING -emboldening -EMBOX -emdash -emk -emoji -Emoji -EMOJI -emphasis -empty -Empty -EMPTY -ems -en -EN -enable -Enable -enabled -ENABLED -enableFlags -enables -enabling -enb -enc -Enclosed -enclosing -ENCLOSING -encode -ENCODE -encoded -Encoded -encoder -Encodes -encoding -Encoding -ENCODING -encodingID -EncodingID -encodingOffset -EncodingOffset -encodingrec -EncodingRecIter -encodingRecord -EncodingRecord -encodings -encounter -encountered -end -End -END -endash -endchar -endCharCode -endcode -endCode -endConnectorLength -endCoord -endCount -endcp -ended -endGlyphID -endGlyphIndex -endian -Endian -ENDIAN -endif -ending -EndPtr -endPtsOfContours -ends -endSize -Enets -enf -enforce -engine -Engine -engines -English -ENGRAVED -enh -ENHANCEMENTS -enlarge -Enlarge -enough -ensure -Ensure -ensures -enter -EnterCriticalSection -entire -entirely -entirety -ENTITY -entries -Entries -entry -Entry -entryAnchor -EntryAnchor -EntryData -EntryExit -entryExitRecord -EntryExitRecord -entrySelector -EntryT -entryTable -enum -enumerate -enumerated -Enumerates -enumeration -enumerations -enums -env -ENV -environment -eo -eof -EOT -epsilon -eq -equal -EQUAL -equality -equally -equals -Equatorial -equivalent -Eric -err -Err -Erratic -erratically -erring -errno -ERRNO -error -Error -ERROR -errors -errs -Erzya -es -ESC -escape -escapes -eScript -Esfahbod -esg -esi -esk -Esmall -esp -especially -Esperanto -esque -essence -essentially -Estero -estimate -estimated -estimates -Estonia -Estonian -Estrangela -Estrangelo -esu -esuperior -et -etc -eth -Eth -Ethiopia -Ethiopic -ETHIOPIC -Ethsmall -eto -Eton -eu -Eu -eval -evaluate -evaluating -eve -even -Even -EVEN -Evenki -event -EVENT -events -eventual -ever -every -Every -everyone -everything -evidence -evident -evn -Ewe -ewo -Ewondo -exact -exactly -examine -examines -examining -example -examples -exceed -exceeds -except -Except -exception -exceptional -exceptions -excess -excessive -exch -exchange -exclam -EXCLAMATION -exclamdown -exclamdownsmall -exclamsmall -excluded -exclusion -exclusive -Exclusive -exclusivity -exe -executable -execute -EXECUTE -exhaust -exist -existence -existent -existing -EXISTING -exists -exit -exitAnchor -ExitAnchor -exp -EXP -expand -expanded -EXPANDED -ExpansionFactor -expect -expected -expects -expensive -experience -experimental -experimentally -expert -EXPERT -ExpertCharset -ExpertEncoding -ExpertSubsetCharset -explanation -explicit -EXPLICIT -explicitLevel -explicitly -explore -exponent -EXPONENTS -export -EXPORT -exported -exports -expose -Expose -exposed -exposing -Exposing -expr -EXPR -express -Express -expressed -expression -expressions -extend -Extend -extended -Extended -EXTENDED -extendedShapeCoverage -ExtendedTypes -Extender -EXTENDER -ExtenderGlyph -extenderGlyphs -ExtenderGlyphs -extensibility -extension -Extension -extensionDisableGPOS -extensionDisableGSUB -extensionEnableGPOS -extensionEnableGSUB -ExtensionFormat -extensionJstfMax -extensionLookupType -extensionOffset -ExtensionOffset -ExtensionPos -extensions -Extensions -EXTENSIONS -ExtensionSubst -extensively -extent -Extent -extents -EXTENTS -extern -EXTERN -external -externally -externs -extlang -extra -Extra -EXTRA -extract -extracted -EXTRAS -extreme -extremely -eye -Eye -eyelash -eyo -f -F -fa -FA -FAAu -fabs -FABu -FAbv -faca -face -Face -FACE -faceBlob -Facebook -faces -FACESIZE -facet -faceType -facilities -facility -fact -factor -FACTOR -factors -factory -FACTORY -factoryType -FACu -FADu -FAEu -FAFu -fail -Fail -FAIL -failed -Failed -FAILED -failing -FAILLING -fails -Fails -failure -FAILURE -failures -fairly -Falam -fall -Fall -fallback -Fallback -FALLBACK -falling -falls -fallthrough -FALLTHROUGH -false -FALSE -family -Family -FAMILY -FamilyBlues -familyName -FamilyName -FamilyOtherBlues -fan -Fancy -Fang -Fanti -faq -far -Faroe -Faroese -Farsi -FARSI -fashion -fast -faster -fat -fatha -FATHA -fathatan -FAu -faulty -favor -fb -FB -fba -FBAu -FBBu -FBCu -FBDu -fbe -FBFu -fbl -FBlw -FBu -fc -FC -FCAu -fcc -FCCu -FCDu -FCEu -FCFu -fclose -fcntl -FCu -fd -FD -fda -fdArray -FDArray -FDArrayInfo -FDArrayOffset -FDAu -fdcount -fdCount -FDDu -fde -FDEFs -FDEu -FDF -FDFu -FDIndex -fdmap -fds -fdsc -FDSC -fdselect -fdSelect -FDSelect -FDSELECT -FDSelectInfo -FDSelectOffset -FDu -fe -Fe -FE -feat -FEAT -FeatMinMaxRecord -featMinMaxRecords -FeatMinMaxRecords -feats -featUILableNameID -featUITooltipTextNameID -feature -Feature -FEATURE -featureCount -featureFlags -featureIndex -featureList -FeatureList -FeatureName -featureNameCount -featureParams -FeatureParams -FeatureParamsCharacterVariants -FeatureParamsSize -FeatureParamsStylisticSet -featureRangeLengths -features -Features -FEATURES -featureSetting -FeatureTableSubstitution -FeatureTableSubstitutionRecord -featureTableTag -featureType -featureval -FeatureVariationRecord -FeatureVariations -featureVars -featureZ -FEAu -Feb -February -FEBu -FECu -Fedora -FEDu -fee -feed -feel -fees -FEFF -FEH -fence -feof -ferror -fetch -Fetch -fetched -fetches -Fetches -fetching -FetchNextRun -FEu -few -fewer -ff -FF -FFA -FFAu -ffbfea -ffcdf -FFCu -FFEu -FFF -FFFD -FFFF -FFFFF -FFFFFF -FFFFFFF -FFFFFFFFULL -FFFFFu -FFFFu -FFFFULL -FFFu -ffi -ffl -ffm -FFu -FFULL -ffuncs -ffunctions -fh -fi -fi -fid -field -fields -FIFTEEN -figure -FIGURE -figuredash -Fijian -fil -file -File -FILE -filename -fileOffset -files -fileSize -fileType -Filipino -fill -Fill -filled -FILLER -filling -Filling -filter -Filter -filtered -filtering -filterMethod -filterRangeMaxValue -filterRangeMinValue -filters -FIN -fina -FINA -final -Final -FINAL -finalcode -finalize -finalizer -Finalizer -finally -Finally -finaLookup -finaSubLookup -find -Find -FINDFONT -finding -finds -Finds -fine -fini -finish -Finish -finished -finite -Finland -Finnish -Firefox -first -First -FIRST -firstAxis -firstAxisSegmentMaps -firstChain -firstDeviceRecord -firstGlyph -firstGlyphIndex -FirstGlyphs -firstLayerIdx -firstPairValueRecord -firstParamUILabelNameID -firstSubtable -firstSubTable -fit -FITNESS -fitting -five -FIVE -fiveeighths -fiveinferior -fiveoldstyle -fivesuperior -fix -Fix -fixed -Fixed -FIXED -fixedcs -FixedType -FixedVersion -Fixes -fixup -Fixup -fj -fl -flag -Flag -FLAG -flags -Flags -FLAGS -flat -flatStr -flatten -Flatten -FLATTENED -flattener -fLayoutRTL -Flemish -Fleurons -FLEURONS -flex -flip -flm -float -floating -fLogicalOrder -flooded -floor -florin -flow -Flowery -FLT -flush -fly -FM -FMAbv -FMBlw -fMergeNeutralItems -fmp -FMPst -fmt -fNoGlyphIndex -fo -folded -follow -followed -Followed -following -Following -follows -fon -Fon -fonipa -fonnapa -font -Font -FONT -FontBBox -fontconfig -Fontconfig -FontConfig -FontDescriptor -fontdict -FontDict -fontdicts -fontDicts -fontDictStr -fontDirectionHint -fontEmSize -fontFace -fontFile -fontFileKey -fontFileLoader -fontFileReferenceKey -fontFileReferenceKeySize -fontFileStream -FontInfo -fontlab -FontMatrix -fontName -FontName -fontRevision -fonts -Fonts -fontSzr -fonttools -fontTools -FontTools -foo -fopen -for -For -FOR -forbid -Force -ForceBold -forced -foreach -foreground -Forest -forget -forgives -fork -Fork -form -Form -FORM -format -Format -FORMAT -formatReserved -formats -Formats -formatting -formed -former -Former -formerly -forms -Forms -FORMS -FORMULA -forum -forw -forward -FORWARD -forwards -found -Found -FOUND -Foundation -four -Four -FOUR -fourinferior -fouroldstyle -foursuperior -FOURTEEN -fourth -fOverrideDirection -fp -fprintf -FPst -fr -frac -FRACT -fraction -FRACTION -fractional -fractions -FRACTIONS -fragmentContext -fragmentSize -fragmentStart -frame -framework -franc -France -frc -fread -Frédéric -free -Free -FREE -freed -freedesktop -Freedesktop -freeing -FreeLibrary -freelocale -freely -freetype -FreeType -FREETYPE -fref -French -frequent -frequently -fribidi -friend -Frisian -Friulian -from -From -FROM -fromCoord -FromGlyphs -front -frozen -frp -fRTL -fscale -Fsmall -fsref -FSRef -fsSelection -fstat -fsType -ft -FT -FTStringRange -fu -Fu -fub -fuc -fue -fuf -fuh -fui -Fujian -Fukien -Fulah -fulfilled -Fulfulde -full -Full -FULL -fullAdvance -fullName -FullName -fullset -Fullwidth -FULLWIDTH -fully -Fully -fun -func -Func -FUNC -FUNCOBJ -funcs -Funcs -FUNCS -FUNCSIG -function -Function -FUNCTION -functionality -functions -Functions -FuncType -funcZ -fundamental -fundamentals -FUnit -FUnits -fuq -fur -further -Furthermore -Futa -future -fuv -Fuzhou -fuzz -fvar -FVAR -FVSes -FWIDTH -FWORD -fy -FYROM -g -G -ga -Ga -gaa -Gade -Gaelic -GAF -gag -Gagauz -Gah -Gahri -Galice -Galician -Galla -Gallurese -gan -Gan -Ganda -Ganja -gap -GAP -gaps -garbage -Garhwali -Garo -Garret -Garshuni -gasp -GASP -GaspRange -gaspRanges -gather -gaw -gax -gaz -GB -gbm -GBoxedCopyFunc -GBoxedFreeFunc -gbreve -Gbreve -gbytes -GBytes -gc -GC -gcc -GCC -gce -gchar -gconstpointer -gd -gda -gdef -GDEF -gdi -GDI -Ge -Geez -Gemination -GEMINATION -gen -Gen -GEN -general -General -GENERAL -generally -Generally -generate -generated -GenerateResults -generates -Generates -Generating -generic -Generic -GENERIC -geok -Geok -Geometric -Georgia -Georgian -GEORGIAN -German -germandbls -Germany -get -Get -GET -GetCharVariantIndex -getCombiningClass -GetDC -getenv -GETENV -GetFileSize -GetFileSizeEx -GetFontData -GetGlyphPlacements -getglyphs -GetGlyphs -getIntPropertyMaxValue -getIntPropertyValue -GetJustificationOpportunities -getjustifiedglyphs -GetJustifiedGlyphs -GetLastWriteTime -GetLocaleName -GetModuleHandle -getNFCInstance -getNFDInstance -GetNumberSubstitution -getpagesize -GETPAGESIZE -GetParagraphReadingDirection -GetProcAddress -getRawDecomposition -gets -Gets -getScript -GetScriptProperties -getShortName -getter -getters -GetTextAtPosition -GetTextBeforePosition -getting -Getting -gez -gfxShapedWord -ggo -GHAIN -Gheg -GHUNNA -gid -GID -gidDDD -gids -gih -Gikuyu -gil -Gilaki -Gilbertese -Gilyak -GIMEL -ginfo -git -Githabul -github -GitHub -give -Give -given -Given -gives -giving -gju -gkp -gl -Glagolitic -GLAGOLITIC -gld -glib -GLib -GLIB -glibc -GLIBC -glk -global -Global -GLOBAL -GlobalSubr -globalsubrs -globalSubrs -globalSubrsInfo -glue -glyf -GLYF -glyid -glyID -glyph -Glyph -GLYPH -glyphAdvances -GlyphAnchors -glyphArray -glyphAssembly -GlyphAssembly -GlyphBitmapDataFormat -glyphClassDef -GlyphClasses -glyphConstruction -glyphCount -glyphDataFormat -glyphDataOffsets -glyphFormat -GlyphHeader -glyphid -glyphId -glyphID -GlyphID -GLYPHID -glyphIdArray -glyphIdArrayLength -GlyphIDs -glyphIndex -glyphIndices -glyphMetrics -glyphNameIndex -glyphOffsets -GLYPHPROP -glyphProperties -glyphs -Glyphs -GLYPHS -glyphset -GlyphVarData -GM -gmappedfile -GMT -gn -gname -gnn -gno -gnome -gnu -GNU -GNUC -gnw -go -goal -GOAL -goals -Goan -gobject -GObject -GOBJECT -GOFFSET -gog -Gogo -going -gom -gon -Gondi -GONDI -gone -good -google -Google -Goronzy -got -Got -Gothic -GOTHIC -goto -gpos -GPOS -GPOSProxy -gr -grab -graduated -grained -granted -GRANTED -Grantha -GRANTHA -granular -granularly -graph -grapheme -Grapheme -GRAPHEME -graphemes -Graphemes -GRAPHEMES -graphic -graphics -Graphics -graphicType -graphite -Graphite -GRAPHITE -grave -Gravesmall -greater -greaterequal -Greece -Greek -GREEK -green -Green -Greenland -Greenlandic -greg -grep -grface -Grid -GRID -Grigori -grigorig -group -GROUP -grouped -Groupings -grouprecord -groups -grow -growFlags -growing -grows -growth -grt -gru -gsize -Gsmall -gsub -GSUB -gsubgpos -GSUBGPOS -GSUBProxy -gsw -gt -gtk -GTK -gtype -GType -gu -Guarani -Guaraní -guarantee -guaranteed -guarantees -guards -Guatemala -guc -GUEH -guess -guessing -guf -gug -gui -Guibei -Guibian -guillemotleft -guillemotright -guilsinglleft -guilsinglright -Guinea -Guiyang -Gujarati -GUJARATI -Gujari -Guji -GUJR -guk -Gulf -Gumatj -Gumuz -gun -GUnicodeScript -GUnicodeType -Gunjala -GUNJALA -Gupapuyngu -Gurage -Gurmukhi -GURMUKHI -GURU -Gusii -guz -gv -gvar -GVAR -gwi -Gwich -GX -gxFontDescriptor -gzip -h -H -ha -haa -hack -HACKMEM -had -Hadothi -Hadrami -hae -HAFS -HAH -Haible -HAIR -Haitian -Haji -hak -Hakha -Hakka -Halam -halant -Halant -HALANT -halants -half -Half -HALF -Halfwidth -HALFWIDTH -Halh -HALN -Hamer -Hammer -HAMZA -HAMZAH -Han -HAN -hand -Hand -handed -handing -handle -Handle -HANDLE -handled -handler -handles -handling -hang -hanging -Hanging -HANGING -hangul -Hangul -HANGUL -Hanifi -HANIFI -HANJA -hans -Hans -hant -Hant -Hanunoo -HANUNOO -happen -happened -happening -happens -Happens -happier -happy -har -Harari -Harauti -hard -harder -hardest -harfbuzz -HarfBuzz -HarffBuzz -Haryanvi -has -Has -HAS -hash -hashmap -Hat -hataf -HATRAN -HAU -Hausa -have -Have -HAVE -having -haw -Hawaiian -hAxis -hay -Haya -haz -Hazaragi -hb -HB -HBASELINE -HBFixed -HBGlyphID16 -HBINT -hbot -hbotABCD -hbsc -hbshape -hbsubset -HBUCHAR -HBUINT -HBUSHORT -hbview -hdc -HDC -hdmx -HDMX -he -HE -hea -head -Head -HEAD -header -Header -HEADER -headerfile -headers -Headers -headerSize -HeadlessArrayOf -heap -heavier -heavily -hebrew -Hebrew -HEBREW -HEH -height -HEIGHT -heightCount -heights -help -helper -Helper -helpers -helpful -helps -hence -Hence -here -Here -hereby -Herero -HEREUNDER -Herzegovina -HET -heuristic -Hexagram -hflex -hfont -HFONT -hh -HH -hhcurveto -hhea -HHEA -hi -hidden -HIDDEN -hide -HIDE -hiding -HIEROGLYPHS -high -High -HIGH -higher -highest -Highland -HIGHLEVEL -highlight -highlighting -highly -Hijazi -hil -Hiligaynon -himalaya -Himalaya -Hindi -Hindko -hinstLib -hint -hinted -hinting -HINTING -HintingDevice -hintmask -hints -Hiragana -HIRAGANA -Hiri -hiriq -HIRIQ -historical -HISTORICAL -history -hit -hji -hk -HK -hlineto -hlt -hma -hmc -hmd -hme -hmetrics -hmg -hmh -hmi -hmj -hml -hmm -hmn -HMODULE -Hmong -HMONG -hmoveto -hmp -hmq -hms -hmtx -HMTX -hmtxvmtx -hmw -hmy -hmz -HN -hnd -hne -hnj -hno -ho -Ho -hoc -hoi -hoj -HOJO -Hokkien -Hoklo -holam -HOLAM -hold -holder -Holder -HOLDER -holding -holds -Holikachuk -home -Homebrew -Honduras -Hong -Hongshuihe -hood -hook -Hook -hooks -horiBearingX -horiBearingY -horiz -HORIZ -horizData -horizGlyphCount -horizGlyphCoverage -horizontal -Horizontal -HORIZONTAL -horizontally -Horned -Hosken -Hosny -hosted -house -House -how -however -However -HOWEVER -HP -hr -HRESULT -hrm -hsb -Hsmall -hsn -hstem -hstemhm -ht -hTemplateFile -html -http -https -hu -Huallaga -Huamalíes -Huánuco -Huaylas -Huaylla -huge -Huishui -Huizhou -huj -human -Humm -Hungarian -HUNGARIAN -hungarumlaut -Hungarumlautsmall -Hungary -hup -Hupa -hvar -HVAR -HVARTag -HVARVVAR -hvcurveto -HVM -hy -hyphen -HYPHEN -hyphenation -hypheninferior -HYPHENS -hyphensuperior -hyw -hz -i -I -ia -iacute -Iacute -Iacutesmall -iba -Iban -ibb -Ibibio -IBMCPP -ibmxl -ibo -ic -Iceland -Icelandic -iCharPos -iche -icircumflex -Icircumflex -Icircumflexsmall -icu -ICU -id -ID -ida -Idakho -idDelta -idea -ideal -Ideally -ideas -IDEFs -idempotent -identical -identically -identification -identified -identifier -identifiers -identifies -identify -identifying -identity -IDEO -Ideograms -Ideographic -IDEOGRAPHIC -Ideographs -IDEOGRAPHS -idieresis -Idieresis -Idieresissmall -Ido -Idotaccent -idRangeOffset -ids -IDs -IDWriteFactory -IDWriteFontFace -IDWriteFontFile -IDWriteFontFileLoader -IDWriteFontFileStream -IDWriteNumberSubstitution -IDWriteTextAnalysisSink -IDWriteTextAnalysisSource -IDWriteTextAnalyzer -idx -ie -Ie -ietf -IETF -if -If -IF -IFACEMETHOD -IFACEMETHODIMP -ifdef -ifelse -iff -ifndef -ig -Igalia -igb -Igbo -ignorable -Ignorable -IGNORABLE -ignorables -IGNORABLES -ignore -Ignore -IGNORE -IgnoreBaseGlyphs -ignored -Ignored -IGNORED -IgnoreFlags -IgnoreLigatures -IgnoreMarks -ignoring -igrave -Igrave -Igravesmall -IHDR -ii -II -iid -IID -ijc -ijo -Ijo -ik -ike -ikt -ill -illegal -ILLUMINATED -illustrates -ilo -Ilokano -Iloko -image -imageDataOffset -imageFormat -imageOffsetsZ -images -imagine -Imbabura -IMC -immediately -immutable -IMPERIAL -impl -IMPL -implement -Implement -IMPLEMENT -implementation -IMPLEMENTATION -implementations -Implementations -implemented -IMPLEMENTED -implementing -Implementing -implementor -implements -Implements -implicit -IMPLICIT -implied -IMPLIED -implies -important -Important -impose -impossible -improve -improved -iMu -in -In -IN -inaccuracy -Inari -inc -Inc -inch -INCIDENTAL -Incidentally -include -Include -included -includes -Includes -including -Including -INCLUDING -inclusion -inclusive -incoming -incompatible -incomplete -inconsistencies -incorporating -incorrect -incorrectly -incorrectness -increase -Increase -increased -increases -Increases -increasing -incrementally -incurs -IND -indeed -indefinitely -indented -independent -Independent -INDEPENDENT -independently -index -Index -INDEX -IndexArray -indexed -Indexed -indexes -indexFormat -indexing -IndexMask -IndexOf -IndexSubtable -IndexSubtableArray -indexSubtableArrayOffset -IndexSubtableFormat -IndexSubtableHeader -IndexSubtableRecord -indexSubtablesZ -indexTablesSize -indexToLocFormat -India -indic -Indic -INDIC -indicate -indicated -indicates -Indicates -indicating -indication -indices -indicies -IndicPositionalCategory -IndicShapingInvalidCluster -IndicSMatraCategory -IndicSyllabicCategory -IndicSyllableCategory -INDIRECT -indirection -individual -Individual -individually -indivisible -Indonesia -Indonesian -inds -industry -IndV -indx -indy -ineffective -inefficient -INEQUALITY -inert -INERT -inf -infer -Infer -INFERIORS -inferred -infinite -infinitum -infinity -info -INFO -informaltable -informatimago -information -Information -infos -infrequent -ing -Ingush -inh -INHERENT -inherit -Inherit -INHERITED -inherits -inhibit -init -Init -INIT -initial -Initial -INITIAL -Initialization -initialize -InitializeCriticalSection -InitializeCriticalSectionEx -initialized -initializer -INITIALIZER -initializers -initially -Initially -initialRandomSeed -initiated -initLookup -initmediSubLookup -initpos -initSubLookup -InitT -ink -inline -inner -innerIndex -inout -INOUT -inplace -input -Input -INPUT -inputClassDef -inputCount -inputs -inputX -inputZ -Inremental -ins -insane -INSCRIPTIONAL -insert -Insert -INSERT -inserted -insertion -Insertion -insertionAction -insertions -InsertionSubtable -inserts -inside -Inside -inspect -inspecting -inspects -install -Install -installed -installing -Installing -instance -INSTANCE -instanceCoords -instanceCount -InstanceRecord -instances -Instances -instanceSize -INSTANTIATE -instantiated -instead -Instead -instruct -instruction -instructionLength -instructions -Instructions -INSTRUCTIONS -INSUFFICIENT -int -Int -INT -integer -Integer -INTEGER -integers -integral -integrate -integrating -integration -Integration -intel -INTEL -intended -intentional -intentionally -Intentionally -Inter -interact -InterCharacter -interest -interested -interface -interfaces -interfering -interim -Interix -interlaceMethod -Interlingua -Interlingue -InterlockedCompareExchangePointer -InterlockedExchange -InterlockedExchangeAdd -intermediate -intermediateEndTuple -IntermediateRegion -intermediateStartTuple -intermixed -intern -internal -Internal -INTERNAL -internally -Internally -internals -International -INTERNATIONAL -InternationalSymbols -interp -INTERP -interpolate -Interpolate -interpolation -interpret -interpretation -Interpretation -interpreter -interpreting -INTERROBANG -intersect -intersections -intersects -INTERSECTS -interviews -intl -into -intOp -intptr -intrin -intro -introduced -Introduced -introducing -Introduction -ints -IntType -INTTYPE -inttypes -intuition -Inuinnaqtun -Inuktitut -Inupiaq -Inupiat -Inupiatun -invalid -Invalid -INVALID -invert -INVERTED -inverts -investigated -investigation -invisible -Invisible -INVISIBLE -invocation -invoke -invoked -invol -involve -involved -involves -io -iOS -iota -IOTA -ip -IPA -IPHONE -Iran -Iranian -IranNastaliq -Iraq -Ireland -Irish -irrelevant -is -Is -IS -Isaac -ISALNUM -ISALPHA -ISC -isCombinedS -isCombiningL -isCombiningT -isCombiningV -isEmojiFont -isFixedPitch -ish -isHangulTone -isiXhosa -isiZulu -isL -Islamic -Islands -Ismall -isn -iso -ISO -ISOAdobeCharset -ISOL -ISOLATE -isolated -ISOLATED -Israel -isRightToLeft -ISSPACE -issue -issuecomment -issues -issuetracker -isSupported -isT -Isukha -isuperior -isV -it -It -ital -Italian -italic -Italic -ITALIC -italicAngle -ItalicAngle -italics -Italics -italicsCorrection -Italy -item -Item -ITEM -itemCount -itemizedlist -itemizer -items -Items -ITEMS -ItemSize -iter -Iter -ITER -iterable -Iterable -iterables -iterate -Iterate -iterated -iteration -iterations -iterator -Iterator -IteratorIn -IteratorOut -iterators -iters -its -Its -ITS -itself -iu -IUnknown -ivs -iw -Izon -izzi -j -J -ja -jak -Jakun -jam -Jamaica -Jamaican -Jambi -jamo -Jamo -January -Japan -Japanese -Jauja -Javanese -JAVANESE -jax -jbo -jct -JEEM -JEH -jg -ji -Jicarilla -Jing -Jinyu -JIS -JMO -job -join -joiner -Joiner -JOINER -joiners -JOINERS -joining -Joining -JOINING -Jonathan -Jordan -jpg -Jsmall -json -JSON -jstf -JSTF -JstfLangSys -JstfLangSysRecords -JstfMax -JstfModList -JstfPriority -JstfScript -JstfScripts -jt -Jula -JUNGSEONG -Junín -junk -just -Just -JUST -justClass -JustClass -justClassTable -justification -Justification -JUSTIFICATION -JustificationCategory -justificationCharacter -JustificationHeader -justificationOpportunities -justified -justifiedGlyphAdvances -justifiedGlyphOffsets -justify -JustifyGlyphAdvances -JustWidthDeltaEntry -jv -jw -jy -k -K -ka -kaa -kab -Kabardian -Kabras -Kabuverdianu -Kabyle -Kachchi -Kachhi -KAF -Kaithi -KAITHI -Kalenjin -Kalmyk -Kalo -Kalpak -kam -Kamba -Kambaata -kana -KANA -Kanaq -Kanauji -Kanbun -Kangri -Kangxi -Kanji -Kannada -KANNADA -Kanuri -Kaqchikel -kar -Kara -Karachay -Karaim -Karakalpak -Karelian -Karen -kashida -Kashida -KashidaLike -Kashmiri -Kashubian -Kaska -kasra -kasratan -Katakana -KATAKANA -Katanga -Kato -kau -Kaur -Kayah -KAYAH -Kazakh -Kazakhstan -Kazim -kb -kbd -kby -kByte -kca -kCFAllocatorDefault -kCFAllocatorNull -kCFBooleanTrue -kCFCompareEqualTo -kCFNumberIntType -kCFStringEncodingUTF -kCFTypeArrayCallBacks -kCFTypeDictionaryKeyCallBacks -kCFTypeDictionaryValueCallBacks -kCTFontAttributeName -kCTFontCascadeListAttribute -kCTFontEmphasizedSystemFontType -kCTFontFeatureSelectorIdentifierKey -kCTFontFeatureSettingsAttribute -kCTFontFeatureTypeIdentifierKey -kCTFontPostScriptNameKey -kCTFontSystemFontType -kCTFontUIFontEmphasizedSystem -kCTFontUIFontSystem -kCTFontURLAttribute -kCTKernAttributeName -kCTLanguageAttributeName -kCTRunStatusNonMonotonic -kCTRunStatusRightToLeft -kCTTypesetterOptionForcedEmbeddingLevel -kCTVersionNumber -kCTVerticalFormsAttributeName -kde -kdr -kdt -kea -Kebena -Kedah -keep -Keep -keeping -KEHEH -Keith -Keiyo -kek -Kekchi -Kentohe -Kenya -kept -Kerinci -kern -KERN -KernAAT -KernAATSubTableHeader -kernAction -kernActionIndex -KERNEL -kernIndex -kerning -Kerning -KERNING -kerningv -KernOT -KernOTSubTableHeader -KernPair -kerns -KernSubTable -KernSubTableFormat -KernSubTableHeader -kernValue -kernValueCount -kernValueZ -kerx -KERX -KerxSubTable -KerxSubTableFormat -KerxSubTableHeader -KerxTable -kerxTupleKern -Kew -kex -key -Key -KEY -keys -kfa -KFGQPC -kfr -kfx -kfy -kg -kha -KHAH -Khakas -Khakass -Khaled -Khamti -Khanty -Kharoshthi -KHAROSHTHI -Khasi -Khayo -khb -Khengkha -Khimi -khk -khmer -Khmer -KHMER -KhmerUI -Khojki -KHOJKI -Khorasani -Khowar -kht -Khudawadi -KHUDAWADI -Khumi -Khutsuri -khw -ki -kick -KIKAKUI -Kikongo -Kikuyu -Kildin -Killer -KILLER -Kimbundu -kind -kinda -kinds -Kingdom -kinoho -kINVALID -Kinyarwanda -Kiowa -Kipsigis -Kirghiz -KIRGHIZ -Kiribati -Kirmanjki -Kisa -Kisi -Kisii -Kissi -Kistane -Kiswahili -Kita -Kituba -kiu -Kiwai -kj -kjd -kjh -kjp -kjz -kk -kkz -kl -klass -klasses -kln -km -kMaxCallLimit -kmb -kmr -kmw -kmz -kn -knc -KNDA -kng -knn -know -knowing -Knowing -knowledge -known -Known -knows -Knuth -ko -Ko -Kodagu -Kodava -koi -kok -Kokni -Kölsch -Komi -Komo -Komso -Kong -Kongo -Konkani -Konso -Konyanka -Koongo -Koorete -Korea -Korean -Koryak -kos -Kosraean -Kota -koy -Koyukon -kpe -Kpelle -kpv -kpy -kqs -kqy -kr -krc -kri -Krio -krl -krt -kru -Krymchak -ks -ksh -kShort -kSizeLimit -Ksmall -kss -ksw -ktb -ktu -ktw -ku -Kuanyama -Kubu -Kui -Kukna -Kullu -Kulvi -kum -Kumaoni -Kumyk -Kumzari -Kuna -Kurdish -Kurukh -Kuskokwim -Kutai -kuu -Kuwait -Kuy -kv -kvb -kvr -kw -KW -kwy -kxc -kxd -kxu -ky -Kyrgyz -Kyrgyzstan -kyu -kZero -l -L -la -La -Laari -label -LABEL -labels -lack -lad -Ladakhi -Ladin -Ladino -Lahuli -laid -Lak -Laki -Lalana -Lam -LAM -lamAlefLigaturesSubLookup -Lambadi -Lambani -Lambayeque -LAMED -lamInitLigature -lamLigatureSet -Lampung -lang -langs -langsys -langSys -LangSys -LANGSYS -LangSysRecords -LangSysTag -LangTag -language -Language -LANGUAGE -LanguageGroup -languageID -languages -Languages -LANGUAGES -languagetags -Lanka -Lao -LAO -large -Large -LARGE -larger -largest -Largest -LArrayOf -lash -last -Last -LAST -lastCode -lastGlyphIndex -LastResort -lastWriteTime -LATE -later -latest -latg -Latg -Latgalian -latin -Latin -LATIN -latn -latter -Latvia -Latvian -Lauricocha -Lawoi -lay -layer -Layer -layering -LayerRecord -layers -layersZ -layout -Layout -LAYOUT -LayoutRTL -lays -Laz -lazily -lazy -Lazy -lb -LBAR -LBase -LBASE -lbe -lbj -lbl -LC -lcar -LCAR -lcarFormat -lce -lcf -LCount -LCOUNT -ld -ldi -Le -LE -lead -LEADER -leading -Leading -LEADING -leadingBearingX -Lealao -LEAN -leans -least -leave -Leave -LeaveCriticalSection -leaving -Lebanon -Leboa -left -Left -LEFT -leftC -leftClass -leftClassCount -leftClassTable -leftSide -legacy -Legacy -LEGACY -legally -legit -Lemberg -len -LEN -LENG -length -Length -LENGTH -lengthed -lengths -lengthy -lenient -lenM -lenP -LENTICULAR -LenType -Leone -Lepcha -LEPCHA -less -lessequal -let -Let -lets -Lets -letter -Letter -LETTER -Letterlike -letters -Letters -Levantine -level -Level -LEVEL -levels -leverage -lexicographic -lez -Lezghian -Lezgi -lf -LF -lfCharSet -lfFaceName -lfHeight -lg -lhs -Lhs -li -Li -LI -LIABLE -Lianshan -libc -libcairo -Liberia -libfreetype -libglib -libharfbuzz -libkern -Libon -libraries -Libraries -library -Library -LibreOffice -libs -libstdc -libtool -Libya -Libyan -license -LICENSE -lidentity -Liechtenstein -lif -life -lifecycle -lifecycles -lig -LIG -liga -ligAction -LigActionFlags -ligActionIndex -LigActionLast -LigActionOffset -LigActionStore -ligActionTable -ligate -ligated -LIGATED -ligating -ligation -ligature -Ligature -LIGATURE -ligatureArray -LigatureArray -LigatureAttach -ligatureCoverage -LigatureCoverage -ligatureData -LigatureEntry -LigatureEntryT -LigatureGlyph -ligatures -Ligatures -LIGATURES -ligatureSet -LigatureSet -LigatureSetOffsets -LigatureSetOffsetsArray -LigatureSubst -LigatureSubstFormat -LigatureSubtable -ligbase -LIGBASE -LigCaretClassEntry -ligCaretList -LigCaretList -ligGlyph -LigGlyph -light -Light -LIGHT -lighter -lightweight -ligs -Ligurian -lij -like -Like -likely -Likewise -Lima -Limbu -LIMBU -Limburgish -limit -Limit -LIMIT -limitation -limited -Limited -LIMITED -limiting -limits -lindex -line -LINE -linear -Linear -LINEAR -linearly -Linebreak -lineBreakpoints -lineGap -lines -lineWidth -Lingala -lingo -linguistic -LINGUISTIC -linguistically -linguistics -link -linked -linkedValue -linking -links -linux -Linux -Lipan -lis -list -List -LIST -listed -listinfo -listitem -lists -Lisu -LISU -literal -Literary -Lithuania -Lithuanian -little -LITTLE -Liujiang -Liuqian -liw -ljmo -LJMO -ljp -lkb -lki -lklug -lko -lks -ll -Ll -lld -LLLEEEEEEEGGGG -LLONG -LLVM -lm -Lm -lmn -lmo -ln -LNNOffsetTo -lo -Lo -load -Load -LOAD -loaded -loader -loaders -loading -LoadLibrary -loc -loca -local -locale -Locale -LOCALE -localeName -localized -localsubr -LocalSubr -localsubrs -localSubrs -localSubrsInfos -Locate -located -location -Location -locations -lock -lockable -Lockable -locl -locName -LOffsetArrayOf -LOffsetLArrayOf -LOffsetTo -log -LOG -LOGFONT -logfontw -LOGFONTW -logic -logical -Logical -logicalnot -LogicalOrder -Logo -logograms -Logooli -LOGOS -Logudorese -Lohar -lohit -Lohit -Loja -lojban -Lojban -lom -Loma -Lombard -Lomwe -Loncong -lone -Lonely -long -Long -LONG -LONGDATETIME -longer -longint -longintdict -LongMetric -longMetricZ -longword -look -Look -lookahead -lookaheadClassDef -lookaheadCount -lookaheadX -looked -looking -Looking -looks -Looks -lookup -Lookup -LOOKUP -lookupCount -lookupFlag -LookupFlag -LookupFlags -LookupFormat -lookupIndex -lookupList -LookupList -lookupListIndex -lookupOffset -lookupOrderZ -lookupRecord -LookupRecord -LookupRecords -lookupRecordX -lookups -Lookups -LOOKUPS -LookupSegmentArray -LookupSegmentSingle -LookupSingle -lookupTable -lookupType -LookupType -lookupX -loop -Loop -loops -loose -loosely -Lortie -lose -LOSS -lossless -lost -lot -Lots -low -Low -LOW -lower -Lower -LOWER -lowercase -LOWERCASE -lowercased -lowerLimit -lowest -lowestRecPPEM -Lowland -LowPart -lozenge -lParameter -lps -lpSecurityAttributes -LR -lrc -lri -lrm -lsb -lsbMap -lsearch -lslash -Lslash -Lslashsmall -lsm -Lsmall -lsuperior -lt -Lt -ltag -LTAG -ltg -lto -ltr -LTR -lts -lu -Lu -Lü -lua -Luba -Lubu -Lucian -Lue -LUE -Lule -Lulua -luo -Luo -Luopohe -Luri -lus -Lushai -lux -Luxembourg -Luxembourgish -luy -Luyia -luz -lv -LV -lvalue -lvalues -lvs -LVT -lwg -lwsync -lx -Lycian -LYCIAN -Lydian -LYDIAN -lzh -lzz -m -M -ma -Maasina -MAbv -mac -Mac -MAC -Macao -Macedonia -Macedonian -machine -MACHINE -machinery -MACHINERY -machines -Macintosh -macos -macOS -MacPorts -macro -macrolanguage -macroman -MACROMAN -macron -Macronsmall -macros -Macros -macStyle -mad -MADDA -MADDAH -made -Madura -Madurese -mag -Magahi -magic -magicNumber -Mahafaly -Mahajani -MAHAJANI -Mahjong -mai -MAI -mailing -mailman -main -Main -MAIN -mainly -maintain -maintained -MAINTENANCE -MAITAIKHU -Maithili -Majang -major -Major -MAJOR -mak -Makasar -MAKASAR -make -Make -MAKE -makeotf -makeOTF -MakeOTF -makes -Makes -Makhuwa -making -Making -Makonde -MAKSURA -Malagasy -Malay -Malayalam -MALAYALAM -Malaysia -Maldives -Maldivian -Male -Malinke -malloc -Malta -Maltese -Malvi -mam -Mam -man -Manado -manage -managed -management -manages -Manchu -Mandaic -MANDAIC -Mandar -Mandarin -Mandingo -Mandinka -Manga -Manichaean -MANICHAEAN -manifest -Manifest -MANIFEST -manifestData -ManifestLookup -Maninka -Maninkakan -Manipuri -manner -manpage -Mansi -manual -Manual -MANUAL -manufacturer -MANUFACTURER -Manx -many -Many -Maore -Maori -map -Map -MAP -mapCount -mapDataZ -mapLen -mapped -mapper -mapping -Mapping -mappings -maps -Maps -Mapudungun -MapViewOfFile -MapViewOfFileFromApp -Mara -Marachi -Marama -Marathi -MARBUTA -March -Marchen -MARCHEN -margins -Margos -Mari -mark -Mark -MARK -markAnchor -markAnchorPoint -markArray -MarkArray -markAttachClassDef -MarkAttachmentType -markBase -MarkBase -MarkBasePos -MarkBasePosFormat -MarkCategory -markControlPoint -markCoverage -MarkCoverage -marked -markedInsertBefore -MarkedInsertBefore -markedInsertCount -MarkedInsertCount -markedInsertIndex -markedInsertList -MarkedIsKashidaLike -markers -markFilteringSet -markFilteringSetX -MarkFirst -MarkGlyph -MarkGlyphSets -markGlyphSetsDef -MarkGlyphSetsFormat -markIndex -marking -MarkLast -markLig -MarkLig -MarkLigPos -MarkLigPosFormat -markMark -MarkMark -MarkMarkPos -MarkMarkPosFormat -MarkRecord -MarkRecords -marks -Marks -MARKS -Markweeta -markX -markY -Marma -Marshallese -Martin -Martín -Marwari -Masaram -MASARAM -Mashan -Masikoro -mask -Mask -MASK -masks -Masks -master -Master -MASTERS -match -Match -MATCH -matched -matcher -matches -matching -material -math -Math -MATH -mathConstants -MathConstants -mathematical -Mathematical -MATHEMATICAL -mathematics -MathGlyphAssembly -MathGlyphConstruction -mathGlyphInfo -MathGlyphInfo -MathGlyphPartRecord -mathGlyphVariantRecord -MathGlyphVariantRecord -MathGlyphVariantRecords -mathItalicsCorrectionInfo -MathItalicsCorrectionInfo -mathKern -MathKern -mathKernCoverage -mathKernInfo -MathKernInfo -MathKernInfoRecord -mathKernInfoRecords -MathKernInfoRecords -MathSymbols -mathTopAccentAttachment -MathTopAccentAttachment -MathValueRecord -mathValueRecords -MathValueRecords -mathValueRecordsZ -mathVariants -MathVariants -matra -Matra -MATRA -matras -Matras -matrix -Matrix -matrixZ -matter -Matthias -Mattole -Matu -max -Max -MAX -maxBeforeBL -maxComponentDepth -maxComponentElements -maxCompositeContours -maxCompositePoints -maxContours -maxCoord -MaxDebugDepth -maxExtent -maxFunctionDefs -maxGlyphCount -maximum -Maximum -maximumLimit -maximums -maxInstructionDefs -maxMemType -maxp -MAXP -maxPoints -maxpV -maxSizeOfInstructions -maxStackElements -maxStorage -maxTwilightPoints -maxVal -maxValue -maxWidth -maxZones -may -May -MAY -Mayan -maybe -Maybe -MAYBE -Mayek -MAYEK -Mayo -Mazanderani -mb -MB -mbarrier -Mbembe -mBidiLevel -MBlw -mbo -Mbo -mbstowcs -Mbundu -Mbyá -Mc -mcm -mct -mCurrentRun -md -MD -mdash -mData -mdf -mdr -mdy -me -Me -mean -MEAN -meaning -meaningfully -meanings -means -Meanwhile -measurable -measure -MEASURE -measured -measuring -mechanical -mechanism -MED -MEDEFAIDRIN -medi -MEDI -medial -Medial -MEDIAL -median -medifinaLamAlefSubLookup -mediLookup -mediSubLookup -Medium -MEDIUM -Medumba -MEEM -Meetei -MEETEI -Meh -MEM -memaccess -member -members -Members -memcmp -memcpy -memmove -memoize -memory -Memory -MEMORY -MemoryBarrier -memset -men -Mende -MENDE -Mengisa -mentioned -mentions -menu -meo -mer -MERCHANTABILITY -merge -Merge -merged -merger -merges -merging -Merging -MEROITIC -Meru -Merwari -Mescalero -Mesopotamian -message -MESSAGE -messaging -messed -meta -Meta -META -metadata -Metadata -metamorphosis -Metamorphosis -meteg -method -methods -Methods -metric -METRIC -metricDataFormat -metrics -Metrics -METRICS -Mewari -Mewati -Mexico -mfa -mfb -mfe -mFontFileStream -mg -mGlyphCount -mGlyphStart -mh -MH -mhr -mhv -mi -Miao -MIAO -Michiharu -micro -MICRO -microsoft -Microsoft -microsqoft -MicroType -mid -middle -Middle -midnight -might -Might -min -Min -MIN -minAdvanceSB -minAfterBL -Minangkabau -minConnectorOverlap -minCoord -mind -mingw -MinGW -MINGW -minHeight -MINI -minimal -minimum -Minimum -minimumLimit -minimums -Minjangbal -Minjungbal -minLeadingBearing -minlen -minMax -MinMax -minMaxCoord -minMemType -Minnan -minor -MINOR -minOriginSB -minorVersion -minstd -minTrailingBearing -minus -MINUS -minVal -minValue -minVersion -Minz -Mirandese -Miraya -mirror -mirroring -Mirroring -misc -Misc -Miscellaneous -MISMATCH -mIsSideways -missing -MIT -mix -mixed -mixin -Mixin -Mixing -mixture -Mizo -mk -mkmk -mku -mkw -ml -ML -mLocaleName -mlq -MLYM -mm -MM -mman -MMAN -mmap -Mmap -MMAP -mmr -mn -Mn -mnc -mnemonics -mni -mnk -mnp -mns -mnw -mo -mod -MOD -mode -Mode -MODE -model -models -Modern -modes -Modi -MODI -modification -Modification -modifications -MODIFICATIONS -modified -Modified -MODIFIED -modifiedClusterMap -modifiedGlyphAdvances -modifiedGlyphIndices -modifiedGlyphOffsets -modifier -Modifier -MODIFIER -modifiers -modify -Modify -modifying -Modifying -MODIFYING -modulo -moh -Mohawk -Moksha -Moldavian -Moldova -Moldovan -Moluccan -Mon -Monaco -Mongolia -mongolian -Mongolian -MONGOLIAN -Mono -monospaced -MONOSPACED -monotone -MONOTONE -monotonic -monotonically -monster -Months -Moose -more -More -MORE -MoreToolbox -Morisyen -Moroccan -Morocco -morphHeader -mort -MORT -mortmorx -morx -MORX -mos -Mossi -most -Most -mostly -Motorola -Motu -move -Move -moved -moves -moveto -moving -Moving -mozilla -Mozilla -mpe -MPre -mprotect -MPROTECT -MPst -mqg -mr -MR -mReadingDirection -mrh -mrj -Mro -MRO -mRunHead -ms -MS -msc -MSC -mScript -msdn -msg -MSG -msgidx -msgstr -msh -msi -mSize -Msmall -msuperior -MSVC -mt -MT -mText -mTextLength -mTextStart -mtr -mtx -mu -much -mui -MUJ -mul -MulFix -Muller -mult -Multani -MULTANI -multi -multiple -Multiple -MULTIPLE -MultipleSubst -MultipleSubstFormat -multiplication -multiplicative -multiplied -MULTIPLIED -multiply -MULTIPLY -multiplying -mults -Mundari -munmap -mup -muq -mus -Muscogee -Musi -Musical -MUSICAL -must -Must -MUST -mutable -mutex -MUTEX -mutually -mvar -MVAR -mvb -mve -mvf -MW -Mwali -mwk -mwl -mwr -mww -my -MY -myanmar -Myanmar -MYANMAR -mym -mymr -myn -myq -myv -mzn -n -N -na -NABATAEAN -Nacional -nag -Naga -Nagari -Nagri -NAGRI -nags -nah -Nahuatl -naive -Najdi -nalf -nalfType -name -Name -NAME -named -Named -nameid -nameID -NameID -nameids -nameIndex -NameIndex -nameIndexOffset -nameList -namely -Namely -nameOffset -NameRecord -nameRecordZ -names -Names -NAMES -nameSIDs -namespace -Namespace -NAMESPACE -namesX -namesZ -nameTag -Naming -nan -Nan -Nanai -Nandi -Nandinagari -NANDINAGARI -nap -Napo -NARROW -narrowing -nasalization -Naskapi -native -NativeFontResourceDWrite -natural -Nauru -Nauruan -navajo -Navajo -nb -NC -nClasses -nCodes -NCount -NCOUNT -nd -Nd -ndash -Ndau -ndc -Ndebele -NDEBUG -Ndonga -nds -Ndzwani -ne -Neapolitan -necessarily -necessary -need -Need -needed -needing -needs -Needs -neg -NEG -negation -negative -Negative -NEGATIVE -Negeri -NEGLIGENCE -negotiate -neighboring -neither -nel -Nenets -Neo -Nepal -Nepali -nesting -NESTING -net -NetBSD -Netherlands -neuter -neutrals -never -Never -nevertheless -new -New -NEW -Newa -NEWA -Newari -newBits -newCount -newer -newlocale -NEWLOCALE -newly -newRun -newState -next -Next -NEXT -nextRun -NFC -NFD -ng -NG -nga -Ngawn -Ngazidja -Ngbaka -ngl -ngo -NGOEH -Ngoni -nhd -nibble -Nibble -nibbles -Nicaragua -nice -Niger -Nigeria -Nigerian -nikhahit -Nikhahit -NIKHAHIT -nil -NIL -Nimadi -nindex -nine -NINE -nineinferior -nineoldstyle -ninesuperior -NINETEEN -niq -Nirmala -Nisi -niu -Niuean -niv -NJ -Njua -njz -NKD -nko -NKo -NKO -Nkoo -nl -Nl -NLCCHARACTERS -nle -nLeft -nmemb -nn -NNOffsetTo -no -No -NO -nod -node -nodes -noe -noErr -nog -Nogai -nominal -NOMINAL -nominalValue -nominalWidthX -non -Non -NON -Nonaka -NonAlphabetic -nonbreakingspace -noncontextual -Noncontextual -NoncontextualSubtable -nonDefault -nonDefaultUVS -NonDefaultUVS -none -NONE -nonexistent -Nong -nonliteral -nonmarkingreturn -nonmonotonic -nonnull -nonspacing -NonStop -nonzero -NOON -NOP -noporpoise -nor -Nor -NORESERVE -Norfolk -normal -NORMAL -normalization -Normalization -NORMALIZATION -normalize -NORMALIZE -normalized -normalizer -normally -Normally -North -NORTH -Northeastern -Northern -Northwest -Northwestern -Norway -Norwegian -noStretchValue -not -Not -NOT -notable -notably -Notably -Notation -notdef -NOTDEF -NotDefault -note -Note -NOTE -noted -notequal -notes -NOTES -nothing -Nothing -notice -Notice -noticeably -notification -notified -notifiers -NOTIMPL -noting -notionally -Noto -NotoSerif -nounihan -nov -novalidate -NOVAR -Novial -now -Now -np -npi -nqo -nr -nRanges -nSettings -nSizes -nsk -NSLanguage -Nsmall -nso -nSubrs -nsuperior -nSups -ntilde -Ntilde -Ntildesmall -nTracks -Nüa -Nuke -NUKT -nukta -Nukta -NUKTA -nul -NUL -null -Null -NULL -nullable -NullHelper -NullPool -NullPriority -nullptr -num -Num -NUM -numBaseGlyphs -number -Number -NUMBER -numberOfContours -numberOfFaces -numberOfIndexSubtables -numberOfLongMetrics -numbers -Numbers -NUMBERS -numbersign -numberSubstitution -numBlends -numColorRecords -numColors -numeral -NUMERAL -numerals -Numerals -numeration -NUMERATOR -numeric -numerical -Numerical -numGlyphs -numLayers -numNamedParameters -numOfHMetrics -numPalettes -numParameters -numr -numRecords -numScriptCode -numTables -numValues -NUN -nUnits -NUSHU -Nuskhuri -nv -ny -Nyala -Nyamwezi -Nyanja -Nyankole -nyd -NYEH -NYIAKENG -Nyishi -nym -nyn -Nynorsk -Nyore -nza -o -O -oacute -Oacute -Oacutesmall -oasis -OASIS -obj -OBJ -object -Object -OBJECT -objects -Objects -objidx -OBLIGATION -oblique -Oblique -OBLIQUE -obliqueing -obscure -Obsolete -obsoleted -ObsoleteTypes -obtained -obvious -oc -occasionally -Occitan -occupancy -occupy -occurrence -occurrences -occurring -occurs -ocircumflex -Ocircumflex -Ocircumflexsmall -odd -oddly -Odia -odieresis -Odieresis -Odieresissmall -oe -OE -OEM -OEsmall -of -Of -OF -off -Off -OFF -offer -offers -offload -offs -OFFS -offset -Offset -OFFSET -OffsetArrayOf -offsetArrayZ -OffsetListOf -offsetof -offsets -Offsets -OffsetTable -OffsetTables -OffsetTo -offsetToAxisValueOffsets -offsetToIndex -offsetToSubtable -OffsetType -offsetZ -offSize -ofs -Ofs -often -Often -og -Ogham -OGHAM -ogonek -Ogoneksmall -ograve -Ograve -Ogravesmall -Oh -Oirat -oj -ojb -ojc -ojg -Oji -Ojibwa -Ojibway -Ojitlán -ojs -ojw -ok -Ok -OK -oki -Okiek -okm -Ol -OL -old -Old -OLD -older -Older -OLDER -om -Oman -Omani -Omega -omitted -on -On -ON -once -Once -one -One -ONE -OneByteIntFirst -OneByteIntLast -onedotenleader -oneeighth -onefitted -onehalf -oneinferior -oneoldstyle -onequarter -ones -onesuperior -onethird -only -Only -ONLY -onto -OOP -op -Op -OP -opaque -Opaque -opbd -OPBD -opbdFormat -opcode -OpCode -opcodes -opeator -open -Open -OPEN -OpenBSD -opentype -OpenType -OPENTYPE -OpenTypeFontFace -OpenTypeFontFile -OpenTypeTable -operand -operands -operate -operates -operating -operation -operations -Operations -operator -Operator -OPERATOR -operators -Operators -opportunities -OPPORTUNITY -opposite -ops -OPS -opset -OPSET -opStart -opstr -OPSTR -opsz -opszr -optical -Optical -OPTICAL -OpticalBounds -OpticalSize -optimal -optimally -optimization -optimizations -optimize -Optimize -OPTIMIZE -optimized -opting -option -OPTION -optional -Optional -OPTIONAL -optionally -options -OPTIONS -opts -or -Or -OR -oracle -Orang -orc -order -Order -ORDER -ordered -orderedlist -ordering -ordfeminine -ordinal -ORDINALS -ordmasculine -org -Organization -oriented -orig -origin -Origin -original -originally -Originally -originated -origins -origRun -Oriya -ORIYA -Orma -orn -ORNAMENT -ORNAMENTS -Oromo -ors -orthogonal -orthographic -Orthographic -orthographically -ory -ORYA -os -OS -OSAGE -OSAtomic -OSAtomicAdd -OSAtomicCompareAndSwap -OSAtomicCompareAndSwapPtrBarrier -oslash -Oslash -Oslashsmall -Osmall -Osmanya -OSMANYA -OSMemoryBarrier -Ossetian -OSStatus -osuperior -ot -OT -otf -otFeatureTag -OTFontFileVal -OTHeader -other -Other -OTHER -OtherBlues -others -otherwise -Otherwise -OTHERWISE -otilde -Otilde -Otildesmall -otspec -Ottawa -OTTO -otw -Ouch -OUCH -ought -our -Our -ourself -ourselves -out -Out -OUT -outbuffer -outcome -outer -Outer -outerIndex -outline -Outline -OUTLINE -OUTLINED -outlines -OUTOFMEMORY -outOfRange -output -Output -OutputArray -outside -outward -over -OVERBAR -overflow -OVERFLOW -Overflowed -overflows -Overflows -overhead -overlap -OVERLAP -OVERLAPPED -overlapping -OVERLAPPING -OVERLAY -overloaded -overloading -overridden -override -Override -OVERRIDE -overriden -overrides -Overrides -overriding -overstrike -Overstruck -OVERSTRUCK -overview -overwrite -Owen -own -owned -ownership -Ozumacín -p -P -pa -Pa -PA -pABC -Pacaraos -pack -package -packages -packed -pad -padauk -Padauk -padded -padding -PADMA -pag -page -PAGE -pages -pagesize -PAGESIZE -Pahari -PAHAWH -Pahlavi -PAHLAVI -PaintType -pair -Pair -Paired -pairing -PairPos -PairPosFormat -pairs -Pairs -pairSet -PairSet -PairValueRecord -PairValueRecords -pairwise -Paite -Pakistan -Palantla -Palauan -Palaung -Palestinian -palette -Palette -PALETTE -paletteFlagsZ -paletteLabelsZ -palettes -Pali -PALMYRENE -Palpa -pam -Pampanga -Pampangan -Panama -Panao -Pangasinan -pango -Pango -Panjabi -panose -Pao -pap -Papiamento -Papiamentu -para -paragraph -PARAGRAPH -paragraphs -Paraguay -Paraguayan -parallel -param -PARAM -parameter -parameters -Parameters -PARAMETERS -params -PARAMS -paren -parenleft -parenleftinferior -parenleftsuperior -parenright -parenrightinferior -parenrightsuperior -parent -Parent -parentheses -PARENTHESIS -parity -parse -parsed -parser -PARSER -parses -Parses -parsing -part -Part -PART -partFlags -PartFlags -PARTHIAN -partial -Partial -partialdiff -PARTIALIZE -partially -PARTIALLY -partically -participate -participates -particular -PARTICULAR -particularly -partRecords -parts -Parts -PARTY -Pascal -Pasco -Pashto -pass -Pass -passed -PASSED -passes -passing -passthru -past -Pastaza -paste -PASTE -patah -path -PATH -Pattani -pattern -patterns -Patterns -pau -PAU -pause -pauses -pb -pbt -pbu -Pc -PC -pcc -pcd -pce -pcGlyphs -pCharProps -pchars -pcItems -pck -pcTable -pd -Pd -pdc -pdefault -pdf -PDF -pdfs -pe -Pe -PE -peak -peakCoord -peakTuple -peculiarities -peculiarity -pedantic -Pedi -peek -PEH -PEHEH -Pekal -pel -pend -Pennsylvania -people -People -per -Per -PER -percent -Percent -PERCENT -percentage -percentScaleDown -perfect -perform -Perform -performAction -PerformAction -performance -PERFORMANCE -performed -performing -Performing -performs -Performs -perhaps -period -PERIOD -periodcentered -periodinferior -PERIODS -periodsuperior -peripheral -Peripheral -permanently -PERMIC -permissible -permission -Permission -permissions -permissive -permitted -permute -Permyak -perpendicular -Persian -PERSIAN -persistent -person -perspective -pertaining -perthousand -Peru -pes -PETITE -Pf -pg -pga -pglyph -pGlyphProps -pGoffset -pgwide -Phags -PHAGS -Phaistos -Phake -Phalaa -phantom -PHANTOM -phantoms -phase -Phase -phases -Phases -phi -Philippines -PHINTHU -phk -Phoenician -PHOENICIAN -PHONE -Phonetic -phrase -PHRASE -PHRU -pi -Pi -PI -piAdvance -Picard -PiCharacters -pick -picks -pictographic -Pictographic -Pictures -PICTURES -Pidgin -pidgins -piece -piecemeal -pieces -Piemontese -pih -pinfo -pipes -Pisin -Pitcairn -pItems -pivot -Pivot -pivots -pixel -Pixel -pixels -pixelSize -pj -pk -PK -pkey -pkg -pkgconfig -pko -pl -place -Place -placed -placeholder -Placeholder -PLACEHOLDER -placeholders -placement -PLACEMENT -placements -plain -Plains -plan -Plan -PLAN -plane -Plane -planes -planned -planner -planning -plans -Plans -Plateau -platform -Platform -platformID -platforms -ple -please -plen -plevel -pll -plookups -plp -plt -plus -PLUS -plusminus -pms -pnb -png -PNG -PNGHeader -po -Po -Pocomchi -poh -Pohnpeian -point -Point -POINT -pointed -pointer -Pointer -pointers -pointing -points -POINTS -POISON -Pökoot -Poland -Polish -polyton -polytonic -Polytonic -pon -pool -POOL -pools -poor -pop -popcount -popcountl -popcountll -popped -pops -populate -Populate -population -Poqomchi -port -Port -portability -portal -Portugal -Portuguese -pos -Pos -POS -positinoing -position -Position -POSITION -Positional -positioned -positioning -Positioning -positions -POSITIONS -positive -Positive -POSIX -PosLookup -PosLookupSubTable -possibility -POSSIBILITY -possible -Possible -possibly -post -Post -POST -PosTable -postcompensation -PostcompensationActionChain -posted -postfix -Postfixed -POSTFIXED -postponing -postprocess -postscript -Postscript -PostScript -POSTSCRIPT -postScriptNameIDX -postV -potential -potentially -potfRecords -Pournader -pOutGlyphProps -pow -power -powers -pp -ppa -ppc -ppem -PPEM -ppemX -ppemY -PPI -ppObject -pPos -pr -practical -practice -pragma -PRAGMA -pragmas -PRC -pre -Pre -PRE -precede -precedence -preceding -Preceding -PRECEDING -precious -precision -precomposed -Pred -predef -predefined -Predicate -predicates -predictable -pref -PREF -prefer -Prefer -preferable -preference -preferences -preferred -Preferred -prefers -prefix -PREFIX -prefixed -Prefixed -PREFIXED -preloadAll -prepare -Prepare -preparing -preprocess -preprocessor -PREREQ -pres -PRES -presence -present -PRESENT -presentation -Presentation -preserve -PRESERVE -preserved -preserving -presForm -presidential -pressure -PRETTY -prev -PREV -prevent -PREVENT -prevented -preventing -prevents -previous -previously -Previously -Pri -primarily -primary -prime -primitives -PRIMITIVES -Principality -print -Print -printed -printer -Printer -printf -PRINTF -printing -prints -prior -priorities -prioritize -priority -Priority -priv -private -Private -PRIVATE -PrivateDict -privateDictInfo -privateDictInfos -privateDicts -privateDictsOffset -privateInfos -PrivatePointNumbers -privDictStr -PRIVDICTVAL -privInfo -PRIVOPSET -privSzr -pro -probable -probably -Probably -Probing -problem -problems -Procedure -proceed -proceeding -process -Process -processed -processes -processing -procs -produce -produced -Produced -produces -product -Profile -PROFITS -program -programlisting -programming -programs -Programs -Proj -project -projection -Projection -promise -promotion -propagate -Propagate -proper -properly -properties -PROPERTIES -property -PROPORTIONAL -proportionally -props -PROPS -PROT -protected -Protection -prototypes -provenc -Provençal -proves -provide -PROVIDE -provided -PROVIDED -provider -provides -Provides -Province -proxy -Proxy -prs -prune -ps -Ps -PS -psa -Psalter -PSALTER -psc -psControl -pScriptTags -pse -pseudo -Psmall -psState -pst -pstf -PSTF -PString -PSTS -psva -pt -PT -ptem -pthread -PTHREAD -ptr -PTR -ptrdiff -Pu -pua -PUA -PUACHUE -public -Public -PUBLIC -publicly -published -Puerto -Pulaar -Pular -pull -Pull -punctuation -Punctuation -PUNCTUATION -Punjabi -Puno -pure -Pure -PURE -purely -purpose -PURPOSE -purposes -push -Push -put -Put -puts -pv -pval -pwcChars -pwcInChars -pwGlyphs -pwLogClust -pwo -Pwo -pwOutGlyphs -px -py -Python -q -Q -Qaai -QAF -qamats -QAMATS -Qatar -Qiandong -Qimant -Qiubei -QOF -Qsmall -qsort -QSORT -QType -qu -QUAD -QuadPart -qualifiers -quantity -QUARTER -qub -qubuts -quc -qud -Quechua -queried -queries -query -querying -QueryInterface -question -QUESTION -questiondown -questiondownsmall -questions -questionsmall -quf -qug -quh -Quichua -quick -quickly -quicksort -Quicksort -Quiotepec -quite -quk -qul -quot -quotation -quotations -quote -quotedbl -quotedblbase -quotedblleft -quotedblright -quoteleft -quoteright -QUOTES -quotesinglbase -quotesingle -Quotient -Quoting -qup -qur -qus -qut -quw -qux -quy -quz -qva -qvc -qve -qvh -qvi -qvj -qvl -qvm -qvn -qvo -qvp -qvs -qvw -qvz -qwa -qwc -qwh -qws -qxa -qxc -qxh -qxl -qxn -qxo -qxp -qxr -qxt -qxu -qxw -r -R -ra -Ra -RA -race -races -radical -RADICAL -radicalDegreeBottomRaisePercent -Radicals -rafe -RAFE -rag -ragel -Raise -RAISE -raises -raj -Rajasthani -Rakhine -ran -rand -random -Random -RANDOM -randomize -Randomly -range -Range -RANGE -rangeCount -rangeEnd -rangeGaspBehavior -rangeMaxPPEM -rangeMaxValue -rangeMinValue -rangeoffset -rangeOffset -rangeRecord -RangeRecord -ranges -Ranges -RANGES -rangeShift -RangeShift -rangeStart -Ranglong -rar -rare -RARE -Rarely -Rarotongan -rasterizer -rate -rather -ratio -raw -rb -rbb -rbl -RC -rclt -rcRangeChars -RCU -rcurveline -RD -RDONLY -re -Re -reach -reaches -read -Read -READ -readable -reader -ReadFileFragment -READING -readingDirection -readjusting -readonly -READONLY -ready -real -Real -realistic -reality -realloc -reallocate -Reallocate -reallocating -really -Really -rearranged -rearrangement -Rearrangement -REARRANGEMENT -RearrangementSubtable -reason -reasons -reassign -reassigned -reassignment -reassignSIDs -rebuild -REBUS -rec -recalculated -recategorize -receive -recent -recently -Recognition -recognizable -recognize -recognized -recognizes -recom -recommended -recompose -recomposed -recomposing -recomposition -reconfiguration -reconfigured -reconfiguring -record -Record -RECORD -RecordArrayOf -recording -RecordList -RecordListOf -records -Records -Recover -recovery -recreate -recurring -recurse -recursed -Recursed -recursing -recursion -recursive -recursively -Recursively -red -Red -redefine -redefined -redirected -redone -Redu -reduce -redundant -reenabling -ref -refcount -refer -reference -Reference -REFERENCE -referenced -referenceGlyph -references -referred -referring -refers -REFIID -refine -refinements -reflect -reflecting -reflects -Reformed -refs -REGARD -regardless -Regex -region -Region -regionCount -regionIndices -regions -register -Register -REGISTER -registered -RegisterFontFileLoader -registers -registry -Registry -regular -Regular -REGULAR -REH -reinterpret -rej -Rejang -REJANG -reject -Reject -rejection -rel -REL -related -relation -relationship -relative -relax -relaxed -RELAXED -release -Release -RELEASE -released -releasedc -ReleaseDC -ReleaseFileFragment -ReleaseFontTable -releases -relevant -relicensed -relies -relocating -rely -Rely -relying -remain -remainder -remained -remaining -remains -remap -remapping -remaps -Remarks -remember -Remember -remembered -Removable -removal -remove -Remove -REMOVE -removed -RemoveFontMemResourceEx -removing -rename -render -rendered -renderer -rendering -renders -renum -renumber -Renumber -renumbering -renumbers -reorder -Reorder -reordered -REORDERED -reordering -Reordering -reorders -Reorders -Repack -repeat -REPEAT -repeated -repeatedAddGlyphAction -RepeatedAddGlyphAction -repeating -REPEATING -reph -Reph -REPH -repha -Repha -REPHA -replace -Replace -replaced -REPLACEME -replacement -REPLACEMENT -replaces -Replaces -replacing -replicate -report -Report -reports -Reports -repositioned -repositioning -repository -represent -representation -representations -represented -representing -represents -Represents -reproduces -Republic -reqFeatureIndex -request -requested -requests -require -Require -required -REQUIRED -requirement -requirements -requires -Requires -requiring -res -resCountM -research -reserved -Reserved -RESERVED -reservedESC -ReservedESC -reservedPad -reset -Reset -Resets -RESH -reshaping -reside -resize -resizing -resolution -resolutions -resolve -Resolved -resolvedLevel -resolver -resolves -resort -Resort -resource -Resource -ResourceForkHeader -ResourceMap -ResourceRecord -resources -resourcesZ -ResourceTypeRecord -respect -respective -respectively -responsibilities -responsibility -responsible -resreved -rest -RESTORE -restrict -restructuring -result -resulted -resulting -RESULTING -results -resume -ret -Ret -RET -retain -Retain -retained -retains -RETAINS -retired -retrieve -retrieved -retrieves -Retrieves -retry -return -Return -RETURN -returned -Returned -returning -returns -Returns -reuse -reused -reusing -reverse -REVERSE -reverseChainContextSingle -ReverseChainSingle -ReverseChainSingleSubst -ReverseChainSingleSubstFormat -reversed -Reverses -reversing -revert -revised -rewind -Rewind -rewinding -Rewinding -Rewrite -rfHeader -RHA -RHEL -rhs -Rhs -ri -ria -Riang -Rica -Rico -ridentity -Rieger -rif -right -Right -RIGHT -rightC -rightClass -rightClassCount -rightClassTable -rightSide -RightToLeft -Rinconada -ring -Ringsmall -Ripuarian -rise -RISE -RISH -risking -rit -Ritarungo -rki -RKRF -rkw -rl -rlig -rligLookup -rligMarksLookup -rlinecurve -rlineto -rm -RM -rmc -rmf -rml -rmn -rmo -rmoveto -rmw -rmy -rmz -rn -rnl -RNOON -ro -Ro -RO -road -Robatic -Roberts -rock -Rod -Roderick -Rohingya -ROHINGYA -role -roll -rom -Roman -ROMAN -Romani -Romania -Romanian -ROMANIZATION -Romansh -Romany -room -root -rooted -Roozbeh -ros -ROS -rotate -rotated -Rotuman -round -ROUND -ROUNDED -roundf -ROUNDF -rounding -rounds -routine -routines -roux -Roux -row -rowCount -rowIndexTable -rows -rowWidth -royalty -RP -rpc -rphf -RPHF -rpRangeProperties -RRA -rrcurveto -RREH -RS -rsb -rsbMap -Rsmall -rsuperior -Rsv -rt -rtl -RTL -rtlm -rtm -ru -Ruanda -RUBY -Ruching -rue -rule -Rule -RULE -rules -Rules -ruleSet -RuleSet -rulesets -ruleSets -Rumai -run -Run -RUN -Rundi -runHead -Runic -RUNIC -running -runs -runtime -Runtime -rup -rupiah -Russia -Russian -Rusyn -rvalue -rvalues -Rvalues -rw -Rwanda -rwr -Ryan -s -S -sa -Saamia -Sabah -Sabaot -Sad -SAD -Sadri -safe -safely -safest -sah -Saharan -said -Saidi -Saint -Sakalava -sake -Sakha -sakot -SAKOT -sal -Salasaca -salt -Salvador -sam -Samaritan -SAMARITAN -Sambalpuri -same -Same -SAME -SAMEKH -Sami -Samoan -Samogitian -sample -SAMPLE -sampleTextNameId -sampleTextNameID -San -Sanaani -sandboxed -sane -Sango -sanitization -sanitizations -sanitize -Sanitize -SANITIZE -sanitized -sanitizer -sanitizing -Sanitizing -sanity -Sankaran -Sans -Sanskrit -Santa -Santali -Santiago -santization -SAR -sara -SARA -Saraiki -Sardinian -Sarsi -sas -Sasak -Sascha -Sassarese -sat -Saterfriesisch -Saterland -Saudi -Saurashtra -SAURASHTRA -save -Save -SAVE -saved -savedprops -Saves -saw -Saxon -say -Sayisi -says -sb -SBase -SBASE -SBitLineMetrics -sbix -SBIX -SBIXGlyph -SBIXStrike -sbl -SBL -SBLHebrewUserManual -sc -Sc -SC -Scalable -scalar -Scalar -scalars -scale -SCALE -scaled -SCALED -scalef -scaler -scaling -scan -Scan -sCapHeight -scaron -Scaron -Scaronsmall -scedilla -Scedilla -scenario -scenarios -SCHAR -sched -SCHED -scheme -Schouten -science -SCIENTIFIC -sck -scn -sco -sconsumed -scope -score -Scots -Scottish -scount -SCount -SCOUNT -scratch -SCRATCH -screen -script -Script -SCRIPT -scriptAnalysis -scriptCode -ScriptExtensions -ScriptFreeCache -ScriptItemize -ScriptItemizeOpenType -scriptList -ScriptList -ScriptPlace -ScriptPlaceOpenType -scriptProperties -scripts -Scripts -SCRIPTS -ScriptShape -ScriptShapeOpenType -ScriptTag -scripttags -scs -scursor -sd -SD -sDageshForms -sdc -sdh -SDL -sdn -se -seac -search -Search -SEARCH -searched -searching -searchRange -Sebat -sec -second -Second -secondGlyph -seconds -sect -section -SECTION -sections -security -sed -see -See -seeing -seek -seem -seems -Seems -seen -SEEN -seenCrossStream -seequence -sees -seg -segcount -segCount -segCountX -segment -Segment -SEGMENT -segmented -segmenting -SegmentMaps -segments -segol -seh -Seigo -sek -Sekani -Sekota -sel -select -Select -selected -selecting -selection -selections -selectively -SelectObject -selector -Selector -SELECTOR -selectors -Selectors -SELECTORs -selectorToDisable -selectorToEnable -selects -Seletar -self -Selkup -semantic -semantical -SEMANTICS -Sembilan -semi -SEMI -Semibold -semicolon -SEMICOLON -Sena -send -sending -Senegal -sense -sensible -sensitive -SENSITIVE -sensitivity -sent -sentence -Senthang -sentinel -SENTINEL -separate -separated -separately -separation -Separator -SEPARATOR -seq -sequence -Sequence -sequenceIndex -sequences -SEQUENCES -sequential -sequentially -Serbia -Serbian -Serer -serial -serialization -serialize -Serialize -SERIALIZE -serialized -serializer -SERIALIZER -Serializes -series -Serif -serve -servers -serves -Sesotho -set -Set -SET -SetBidiLevel -SetComponent -SetCurrentRun -SetLineBreakpoints -setlocale -SETLOCALE -SetMark -SetNumberSubstitution -sets -Sets -SETS -SetScriptAnalysis -Setswana -setter -setters -setting -Setting -SettingName -settings -settingTableZ -setup -Setup -seven -SEVEN -seveneighths -seveninferior -sevenoldstyle -sevensuperior -SEVENTEEN -several -severely -Severn -sez -sFamilyClass -sfinae -SFINAE -sfm -SFNSDisplay -SFNSText -sfnt -Sfnt -SFNT -sfntVersion -sg -sga -sgc -sgi -sgs -sgw -sh -sha -shadda -Shadda -SHADDA -shaddaLigature -shaddaLigatureSet -shaddaLigaturesSubLookup -Shadow -SHADOW -shall -SHALL -shallow -Shan -shape -Shape -SHAPE -shaped -shaper -Shaper -SHAPER -shaperprefs -shapers -Shapers -SHAPERS -shapes -Shapes -SHAPES -shaping -Shaping -SHAPING -Sharada -SHARADA -share -SHARE -shared -Shared -SHARED -SharedPointNumbers -sharedTupleCount -sharedTuples -Shavian -SHAVIAN -SHEEN -Sheeter -Shekhawati -shell -SHELL -sheva -shi -shift -Shift -SHIFT -shifted -Shifter -SHIFTER -shifting -Shifting -Shihhi -shin -SHIN -ship -shipped -shn -Shona -short -Short -SHORT -shortCount -shortcut -shortcuts -shortest -shortfall -Shorthand -SHORTHAND -shortint -shoudln -should -Should -shouldn -Shouldn -show -SHOW -showing -shows -shrink -Shrinkage -shrinkageDisableGPOS -shrinkageDisableGSUB -shrinkageEnableGPOS -shrinkageEnableGSUB -shrinkageJstfMax -shrinkFlags -SHRT -shu -Shua -shuffle -Shurishkar -shut -Shut -Shwe -si -Sibe -SIBLING -Sichuan -Sicilian -sid -SID -Sidamo -Siddham -SIDDHAM -side -sidebearing -sides -sidmap -sids -SIDs -Sierra -sign -Sign -signature -signed -Signed -SIGNED -signedness -significance -significant -significantly -signifying -signs -SIGNWRITING -Sihuas -Siksika -sil -SIL -silently -Silesian -silf -Silf -SILF -Silt -Silte -Simalungun -similar -Similar -similarly -Similarly -SIMP -simple -Simple -SIMPLE -SimpleGlyph -simpler -simplest -simplicity -simplification -simplified -Simplified -SIMPLIFIED -simplifies -Simplifies -simplify -simply -SIMULATIONS -sin -SIN -since -Since -Sindhi -Singapore -single -Single -SINGLE -SinglePos -SinglePosFormat -SingleSubst -SingleSubstFormat -singleton -singletons -singular -SINH -sinhala -Sinhala -SINHALA -Sinhalese -sink -Sink -sinks -Sinte -SIOT -Sit -site -sites -situations -six -SIX -sixinferior -sixoldstyle -sixsuperior -sixteen -SIXTEEN -Siyin -size -Size -SIZE -sized -SIZED -sizeDeviceRecord -sizeof -sizes -sizeTable -sizeTables -sizing -sjd -sjo -sk -Sk -SKEWED -skg -skip -Skip -SKIP -skippable -skipped -skipping -Skipping -skippy -Skolt -skr -sl -SL -slant -Slant -SLANT -slanted -slash -SLASH -SLASHED -Slave -Slavey -Slavonic -slen -slightly -slim -slnt -slope -slot -slots -Slovak -Slovakia -Slovenia -Slovenian -slower -sm -Sm -SM -sma -SMAbv -small -Small -SMALL -smaller -smallest -Smallest -SmallGlyphMetrics -smart -SMART -SMBlw -smj -smn -smoking -sms -SMVD -sn -snap -snapshot -sniff -snk -snprintf -so -So -Sochiapam -Sodo -SOFT -software -Software -SOFTWARE -Soga -Sogdian -SOGDIAN -Solaris -SOLARIS -solely -solution -Somali -some -Some -Somebody -somefunc -somehow -Somehow -someone -something -sometime -sometimes -somewhat -SOMPENG -Songe -Soninke -soon -sop -SORA -Sorbian -sort -Sort -SORT -sorted -Sorted -SORTED -SortedArrayOf -sortedness -SortedUnsizedArrayOf -sorting -SORTING -Sotho -SOUND -sounds -source -Source -SOURCE -sourceware -South -SOUTH -Southeast -Southeastern -Southern -Southwestern -Soyombo -SOYOMBO -spac -space -Space -SPACE -spaced -spaces -Spaces -spacing -Spacing -SPACING -Spain -Spanish -spans -speaking -spec -Spec -special -Special -SPECIAL -Specialization -specializations -Specializations -Specialize -specially -Specials -specific -specifically -SPECIFICALLY -specification -specifications -specificed -specifics -specified -specifies -specify -specifying -specs -speculative -speed -Speed -speeds -split -Split -SplitCurrentRun -splitPoint -splitPosition -Spoon -SPOT -Spread -spreadsheets -Spring -spv -spy -sq -sqrt -Square -SQUARE -SQUARED -squeezing -sr -src -Sri -sro -srr -srs -ss -ssh -Ssmall -SSOT -ssuperior -ssxx -ssXX -st -stable -stack -Stack -STACK -Stacker -STACKER -stacking -stackoverflow -stage -stages -STAGES -stale -standalone -standard -Standard -StandardEncoding -standardheaderfiles -standards -stands -start -Start -START -startCharCode -startcode -startCode -startConnectorLength -startCoord -startCount -started -Started -starter -Starter -startGlyph -startGlyphID -startGlyphIndex -starting -Starting -StartOfText -starts -startSize -startUnicodeValue -stat -STAT -StatAxisRecord -state -State -STATE -stateArrayTable -stateHeader -statement -states -States -STATES -StateTable -StateTableDriver -stateTableOffset -static -Static -STATIC -status -stay -stays -stch -STCH -std -STD -stdarg -stddef -stderr -stdGlyph -StdHW -stdint -stdio -stdlib -STDMETHODCALLTYPE -STDMETHODIMP -StdVW -stem -StemSnapH -StemSnapV -step -STEP -stepping -steps -sterling -stHeader -still -Still -stmt -STMT -stop -Stop -STOP -stopped -stops -storage -Storage -store -Store -STORE -stored -Stored -storing -stq -str -STR -straight -Straight -straightforward -strategic -strategy -Strategy -strbuf -strchr -strcmp -strcpy -strdup -stream -streams -strerror -stretch -Stretch -STRETCH -stretchable -stretched -stretchGlyphAction -StretchGlyphAction -stretching -Stribley -Strict -STRICT -strictly -stride -strike -strikeout -STRIKEOUT -strikes -string -String -STRING -stringIndex -StringIndex -stringIndexInfo -stringOffset -strings -strlen -strncmp -strncpy -stroke -Strokes -StrokeWidth -strong -strongly -strstr -strtod -STRTOD -strtol -strtoul -struct -StructAfter -StructAtOffset -StructAtOffsetOrNull -StructAtOffsetUnaligned -structs -STRUCTS -structure -Structure -structures -Studio -stuff -stupid -stv -style -Style -STYLE -stylistic -Stylistic -STYLISTIC -stylisticSet -sTypoAscender -sTypoDescender -sTypoLineGap -su -sub -SUB -subarray -subclass -Subclass -subclasses -subdivided -subdivision -subfamily -SUBFAMILY -subfamilyID -subfamilyNameID -subFeatureFlags -subfonts -SubFormat -subject -subjoined -Subjoined -SUBJOINED -subjoining -sublookup -SUBLOOKUP -SubLookupOffsets -SubLookupOffsetsArray -submerged -subpixel -subr -subrecord -subroffset -subroutine -Subroutine -subroutines -subrs -Subrs -SUBRS -subrsOffset -subs -subscript -Subscript -SUBSCRIPT -subscripts -Subscripts -subsequence -subsequences -subsequent -subset -Subset -SUBSET -SubsetGlyph -Subsets -subsetted -subsetter -SUBSETTER -subsetting -subst -SUBST -substantially -substGlyph -substitued -substitute -Substitute -SUBSTITUTE -substituted -SUBSTITUTED -substitutes -substituteX -substitution -Substitution -SUBSTITUTION -substitutions -substitutionTables -SubstLookup -SubstLookupSubTable -substr -substring -substThreshold -subsystem -subtable -subTable -Subtable -SubTable -subtableCount -SubTableFlags -subtableGlyphCoverageArray -SubTableHeader -subtables -Subtables -SubTables -SUBTABLES -SubtableType -subtag -SUBTAG -subtags -subtending -subtract -subtracting -subtraction -succeed -succeeded -SUCCEEDED -Succeeding -SUCCEEDING -succeeds -success -successful -successfully -successive -such -SUCH -sucks -Sudanese -sudo -sufficient -SUFFICIENT -suggest -suggested -Suggested -suggests -suit -suitable -suite -Suite -suk -Sukuma -sukun -SUKUN -sum -Sum -summation -Summer -sun -Sundanese -SUNDANESE -SUNPRO -SUPER -superimposing -SUPERIORS -superscript -SUPERSCRIPT -superscripts -Superscripts -supp -suppData -suppEncData -SuppEncData -SuppEncoding -supplement -Supplement -Supplemental -supplied -supply -supplying -support -Support -SUPPORT -supported -Supported -SUPPORTED -supporting -supports -Supports -supposed -supposedly -suppress -supps -suq -sure -Suri -surprise -surprises -surrogate -SURROGATE -Surrogates -surrounding -survive -survived -survives -sutable -Sutu -sv -sva -Svan -svg -SVG -svgDoc -svgDocEntries -svgDocLength -SVGDocumentIndexEntry -SVR -sw -Swadaya -Swahili -Swampy -swap -Swap -SWAP -swaplp -swapped -swaps -SWASH -SWASHES -Swati -swb -swc -Sweden -Swedish -Sweep -swh -switch -Switch -switched -switches -Switzerland -swv -sxHeight -sxu -syc -syl -Sylheti -Syllabary -syllabic -Syllabic -SYLLABIC -Syllabics -SYLLABICS -syllable -Syllable -SYLLABLE -syllables -Syllables -Syloti -SYLOTI -SYM -symbol -Symbol -SYMBOL -symbolic -symbols -Symbols -SYMBOLS -symmetric -sync -synchronize -syntatically -syntax -Syntax -synthesize -synthesizes -synthesizing -SyntheticBase -syr -Syrc -syre -Syre -Syria -syriac -Syriac -SYRIAC -syrj -Syrj -syrn -Syrn -sys -SYS -sysconf -SYSCONF -system -System -SYSTEM -systems -sz -szl -t -T -ta -Ta -taa -tab -Tabasaran -Tabassaran -table -Table -TABLE -tableCount -tablelist -TableRecord -TableRecords -tables -Tables -TABLES -tableTag -TableType -Tachelhit -Tachoni -tag -Tag -TAG -Tagalog -TAGALOG -Tagbanwa -TAGBANWA -tagFeature -tagged -Tagin -Tagish -tagLangSys -tagRanges -tags -Tags -TAGS -tagScript -TAH -Tahaggart -Tahitian -Tahltan -tahoma -Tahoma -tahomabd -Tai -TAI -tail -Tail -tailored -Taiwan -Taiwanese -Tajik -Tajiki -Tajikistan -take -Take -taken -takes -taking -Takri -TAKRI -TALL -Tamahaq -Tamajaq -Tamajeq -Tamashek -Tamasheq -Tamazight -Tamil -TAMIL -TAML -Tanacross -Tanaina -Tanana -TANDEM -Tandroy -Tangshewi -TANGUT -Tanosy -Tanzania -taq -tarball -Tarball -target -TARGET -TargetConditionals -targs -Tarifit -tasks -Tatar -tator -tau -TAV -Tawallammat -Tawr -Tày -Tayart -Taylor -TB -TBase -TBASE -tbl -tbody -TBR -tcb -tce -TCHEH -TCHEHEH -TCodepoint -TCount -TCOUNT -tcp -tcy -tcz -tdd -tdx -te -tec -technetwork -Technical -technicalities -Technically -Tedim -TEH -TEHEH -telecom -tell -tells -TELU -Telugu -TELUGU -tem -Temne -temp -templ -template -Template -templates -temporarily -temporary -tempting -Temuan -TEN -Tena -Tenggarong -Tepetotutla -Tepinapa -Terik -term -terminal -Terminal -terminate -terminated -terminates -terminating -termination -Termination -TerminationWordCount -terminator -terminology -Terminology -terms -Tesaka -test -Test -TEST -tested -testing -Testing -tests -Tests -tet -TET -Tetum -text -Text -TEXT -TextAnalysis -textAnalyzer -textLength -textPosition -textProperties -TEXTRANGE -textString -textual -tfn -tg -tgj -tgroup -tgx -th -TH -tha -Thaana -THAANA -Thado -thai -Thai -THAI -Thailand -THAL -Tham -THAM -than -THAN -THANTHAKHAT -that -That -the -The -THE -thead -THEH -their -them -themed -themselves -then -Then -theory -thep -there -There -therefore -Therefore -these -These -they -They -thickness -THICKNESS -THIN -thing -things -Things -thingy -think -third -Third -THIRD -THIRTEEN -this -This -THIS -thiz -THO -thorn -Thorn -Thornsmall -those -though -thread -Thread -threading -threads -threadsafe -threadsafely -three -Three -THREE -threeeighths -threeinferior -threeoldstyle -threequarters -threequartersemdash -threesuperior -through -throughout -throw -tht -thus -thv -thz -ti -Tibetan -TIBETAN -Tidy -tiff -Tifinagh -TIFINAGH -tig -tight -Tigon -Tigre -Tigrinya -tilde -Tildesmall -tile -tiles -Tiles -time -timeouts -times -Times -timesbi -timesi -Timne -tindex -Tiny -TINY -Tirhuta -TIRHUTA -Tiriki -title -TITLECASE -TITLING -tiv -Tiv -tjmo -TJMO -tk -tkg -tl -TL -Tlacoatzintepec -tlen -tlist -TLookup -TLookupList -TLR -TM -tmh -tmp -tmw -tn -tnf -to -To -TO -Toba -Tobago -TObject -toCoord -tod -today -Todo -TODO -toe -together -ToGlyphs -toi -tok -Tok -tol -Tolowa -TOLOWER -Toma -tombstone -tombstones -tone -Tone -TONE -tones -Tonga -Tongan -too -took -toolkit -tools -tooltip -top -Top -TOP -topAccentAttachment -topAccentCoverage -topdict -topDict -TopDict -topDictIndex -TopDictIndex -topDictInfo -topDictModSIDs -topDictSize -topDictStr -toplevel -topographical -Topographical -topologically -topSide -topSzr -Torki -TORTIOUS -TORTOISE -Tosk -total -Total -totalDataSize -totally -touch -TOUCH -touches -TOUPPER -towards -tpi -tr -TR -trace -Trace -TRACE -tracing -track -Track -trackData -TrackData -tracking -Tracking -trackNameID -tracks -trackTable -trackTableEntry -TrackTableEntry -TRAD -trade -trademark -TRADEMARK -trademarks -Traditional -TRADITIONAL -trailed -trailing -trak -TRAK -trampoline -trans -TRANSCODING -transcription -transfer -Transfer -transform -Transform -transformation -transformed -transforming -transient -Transient -transition -transitioning -transitive -translatation -translate -translating -translation -TRANSLITERATION -transparent -traversal -treat -treated -treatment -treats -tree -trees -TRI -trick -trickiest -tricky -Tricky -tried -tries -Tries -trigger -triggered -triggers -trim -trimmable -trimmed -Trimming -Trinidad -trivial -Trivial -trivially -trouble -troubleshooting -tru -true -TRUE -TrueTag -TrueType -TRUETYPE -TrueTypeTag -truly -truncate -truncated -try -Try -TryGetFontTable -trying -Trying -ts -Ts -TSA -TSADI -tsb -tsere -Tsetsaut -Tshangla -Tsimihety -tsj -Tsmall -Tsonga -Tsotso -TSubTable -tsuperior -Tswana -tt -TTA -ttb -TTB -ttc -TTC -ttcf -ttcHeader -TTCHeader -TTCHeaderVersion -ttcTag -TTCTag -TTEH -TTEHEH -ttf -ttm -ttq -Tugen -Tulu -tum -Tumari -Tumbuka -Tundra -Tunisia -Tunisian -tuple -Tuple -tupleCount -tupleIndex -TupleIndexMask -tuples -tupleVarCount -TupleVarCount -TupleVarHeader -tupleVarHeaders -Tupple -TuppleIndex -Turkey -Turkic -TURKIC -Turkish -Turkmen -Turkmenistan -turn -Turn -Turner -turning -turns -Turns -Turoyo -Tusi -Tutchone -Tututni -tuu -Tuvalu -Tuvin -Tuvinian -tuy -tvalue -tvl -tw -tweaks -TWELVE -TWENTY -Twi -twice -twilight -two -Two -TWO -TwoByteNegInt -TwoBytePosInt -twodotenleader -twoinferior -twooldstyle -twosuperior -twothirds -tx -txc -txt -txy -ty -tying -Typ -type -Type -TYPE -typed -typedef -typedefs -typeface -typefaces -typeList -typename -TypeName -types -Types -TYPES -typesetter -typesetting -typical -typically -typo -TYPO -typographic -Typographic -TYPOGRAPHIC -typographical -typography -Typography -typos -tyv -tyz -tze -tzm -tzo -Tzotzil -u -U -uacute -Uacute -Uacutesmall -UARRAY -ub -uBidiLevel -ubl -Ubuntu -ubyte -ubytes -ucd -UCD -ucdn -UCDN -uchar -UChar -UCHAR -ucircumflex -Ucircumflex -Ucircumflexsmall -ucs -udieresis -Udieresis -Udieresissmall -udm -Udmurt -ue -UE -UEE -UErrorCode -ufuncs -ufunctions -UFWORD -ug -Ugaritic -UGARITIC -UGC -Ugh -ugly -Ugly -UGLY -ugrave -Ugrave -Ugravesmall -UHEADLESSARRAY -UI -UIDBase -Uighur -uiLabelNameId -uiNameID -uint -UINT -uintptr -UIPC -UISC -uk -Ukraine -Ukrainian -ULBAR -ulCodePageRange -ulink -ULL -ULLONG -ULong -ULONG -Ulrich -ultimately -ULTRA -ulUnicodeOS -ulUnicodeRange -umb -Umbundu -Umm -un -unassigned -UNASSIGNED -unbounded -UNBOUNDED -unchanged -UNCLASSIFIED -UnclassifiedGlyph -unclear -unconditionalAddGlyphAction -UnconditionalAddGlyphAction -unconditionally -UNCONNECTED -unconst -und -undef -UNDEF -undefined -UNDEFINED -under -Under -UNDERBAR -underflow -undergone -underline -Underline -UNDERLINE -underlinePosition -UnderlinePosition -underlineThickness -UnderlineThickness -underlining -underlying -underneath -underscore -UNDERSCORE -understand -understandable -understood -undertake -Undetermined -undo -undocumented -Undocumented -unequal -UNFITTED -unforced -unformed -unfortunate -unfortunately -Unfortunately -unhide -uni -unichar -UniChar -unicode -Unicode -UNICODE -UnicodeData -unicodes -UNICODES -unicodeValue -UnicodeValueRange -Unified -uniform -uninitialized -union -UNION -Unión -unions -unique -UNIQUE -UniqueID -uniscribe -Uniscribe -UNISCRIBE -unistd -UNISTD -unit -United -units -Units -unitSize -unitsPerEm -uniUUUU -Universal -unix -unknown -Unknown -UNKNOWN -unless -Unless -unlike -unlikely -unlimited -UnlimiteGap -unloaded -unlock -Unmake -unmap -UnmapViewOfFile -unmarked -unnecessary -unnormalize -unoffset -unorm -UNormalizer -unpack -unpadded -unpop -unprocessed -unr -unrecognized -unref -unreferenced -UnregisterFontFileLoader -unsafe -Unsafe -UNSAFE -UNSCALED -unset -unsigned -Unsized -UnsizedArrayOf -UnsizedByteStr -UnsizedOffsetArrayOf -UnsizedOffsetListOf -unsorted -UNSUCCESSFUL -unsupported -UNSUPPORTED -unsure -UNTAG -until -untouched -unused -Unused -UNUSED -unusual -unwanted -unwise -unzip -uoffset -up -UP -update -updated -UPDATES -upem -UPEM -upon -upper -Upper -UPPER -uppercase -UPPERCASE -upperLimit -upright -UPROPS -upward -ur -Urak -Urdu -urk -url -URL -Uruguay -us -USABLE -usage -usBreakChar -uscript -USCRIPT -UScriptCode -usDefaultChar -use -Use -USE -used -Used -useful -Useful -useless -UseMarkFilteringSet -user -User -USER -userfeatures -users -uses -Uses -usFirstCharIndex -USHRT -Usila -using -Using -USING -usLastCharIndex -usLowerOpticalPointSize -Usmall -usMaxContext -usp -USP -ustr -ustring -usually -Usually -usUpperOpticalPointSize -usWeightClass -usWidthClass -usWinAscent -usWinDescent -utf -UTF -Uthmanic -util -utilities -Utilities -utility -utilize -UTS -uu -UU -UUID -UuidCreate -uuidof -UVCRDOypOtijlMDLNNyyLk -uversion -uvs -UVS -UVSMapping -Uyghur -uz -Uzbek -Uzbeki -Uzbekistan -uzn -uzs -v -V -va -VA -VAbv -VAH -Vai -VAI -Vakhi -val -Val -VAL -ValCount -valFormat -valid -Valid -VALID -validate -validated -Validator -validity -Valle -valuable -value -Value -VALUE -valueArrayZ -valueCount -valueFormat -ValueFormat -valueFormats -valueIndex -valueNameID -ValueRecord -valueRecordCount -ValueRecords -valueRecordSize -values -Values -VALUES -ValuesAreLong -valueSize -valuesZ -valueTag -ValueType -var -Var -VAR -vararg -varation -VarData -varDataSize -variable -Variable -variablelist -variables -variant -Variant -VARIANT -variantGlyph -variants -Variants -variation -Variation -VARIATION -variationAxis -VariationAxisRecord -VariationDevice -variations -Variations -VARIATIONS -VariationSelectorRecord -variationsTag -VariationStore -VariationValueRecord -varidx -varIdx -varies -variety -varika -variour -various -Various -varlistentry -varname -varRecords -VarRegionAxis -VarRegionList -vars -varSelector -VarSizedBinSearchArrayOf -VarSizedBinSearchHeader -varStore -varStoreOffset -vary -vattu -vatu -Vatu -VATU -VAV -vAxis -VBAR -VBase -VBASE -VBlw -VCount -VCOUNT -vcpkg -VD -ve -VE -vec -vector -Vector -VECTOR -vectorization -vectorized -vedic -Vedic -VEH -ven -Venda -VENDOR -Venetian -Venezuela -VER -Verb -verbatim -verify -versa -version -Version -VERSION -versions -versionZ -vert -VERT -vertAdvance -vertBearingX -vertBearingY -vertData -vertGlyphCount -vertGlyphCoverage -vertical -Vertical -VERTICAL -vertically -VertOriginMetric -vertOriginY -vertYOrigins -very -vfprintf -vhcurveto -vhea -vi -VI -via -vice -Viet -VIET -Vietnam -Vietnamese -view -vindex -vINVALID -violation -virama -Virama -VIRAMA -viramas -virtual -Virtualizing -vis -Visarga -VISARGA -VISATTR -visibility -VISIBILITY -visible -visibly -visit -visited -visitLangSys -visitScript -vista -Vista -visual -Visual -VISUAL -vjmo -VJMO -vkk -vkt -Vlaams -Vlax -vlineto -vls -VM -VMAbv -VMBlw -vmoveto -VMPre -VMPst -vmtx -vmw -vo -Vo -VOICED -VOICING -void -Void -VOID -VOL -Volapük -volatile -volt -vorg -VORG -vorgMap -Võro -vowel -Vowel -VOWEL -vowels -Vowels -vp -VPre -VPst -VRBAR -vrinda -vro -Vs -VS -vsindex -vsindexcs -vsindexdict -Vsmall -vsnprintf -vstem -vstemhm -vstore -vstoreOffset -vtable -vv -vvar -VVAR -VVARTag -vvcurveto -w -W -wa -Wa -Wagdi -Wailaki -walk -Walk -walks -Wall -Walloon -Wanca -WANCHO -Wang -Wanga -want -wanted -wants -war -WARANG -Waray -warn -warning -Warning -WARNING -warnings -Warnings -WARRANTIES -was -Was -WASLA -wasn -waste -Watch -watchout -Watchout -WAVY -WAW -way -ways -Wayuu -wbm -wbr -Wbuiltin -Wc -Wcast -WCE -wchar -WCHAR -Wclass -Wconversion -wdcTable -Wdelete -Wdeprecated -Wdisabled -Wdouble -wdRecord -wdth -we -We -WE -weak -weight -Weight -WEIGHT -weights -weird -welcome -well -Welsh -Wembedded -went -were -Werner -West -Western -Weverything -Wextra -Wformat -wght -what -What -WHAT -whatever -Whatever -whatsoever -WHATSOEVER -when -When -whenever -Whenever -where -whereas -Whereas -WheresData -WheresFace -wherever -whether -Whether -WHETHER -which -Which -while -While -white -WHITE -Whitelist -whitespace -Whitespace -who -whole -whose -why -Why -wide -widely -width -Width -WIDTH -WidthDeltaCluster -WidthDeltaPair -widthMax -widths -widthsZ -Wignored -wiki -wikipedia -wild -will -Will -willing -willis -wilson -Wilson -Wimplicit -win -Win -WIN -WINAPI -windows -Windows -Winit -Winjected -WINNT -Winter -Wipe -wish -wishes -with -With -WITH -within -Within -without -Without -WJ -wlc -wle -wlk -Wlogical -Wmaybe -Wmissing -Wnested -wni -wo -Wolane -Wold -Wolof -won -Woods -word -Word -WORD -wording -wordOffsetToIndex -words -WORDS -work -Work -worked -working -Working -works -Works -world -worry -worrying -worth -would -Would -WOULD -wouldbn -wouldn -Wow -Wpacked -Wpointer -Wpragmas -wrap -wrapper -wrappers -wrapping -Wredundant -Wreorder -writable -Writable -WRITABLE -write -Write -WRITE -writer -writing -written -Written -wrong -wrote -wry -Ws -wsg -Wshadow -Wsign -Wsmall -Wstrict -Wstring -Wswitch -Wtautological -wtm -Wtype -Wu -Wundef -Wunknown -Wunneeded -Wunsafe -Wunused -wuu -Wvla -ww -Wwrite -WWS -www -x -X -xa -xA -xaa -xAA -xAAF -xAB -xabc -xABC -xABFFu -xAC -xAdvance -xAdvDevice -xAFF -xal -XALLOCATE -Xamtanga -xan -xAu -xAvgCharWidth -xb -xB -xBA -xBB -xBFF -xBytes -xc -xC -xCD -xCFF -Xconstructor -xCoordinate -xCULL -xD -xDBFFu -xDC -xDE -xDeviceTable -xDFDFDFDF -xDFDFDFDFu -xDFF -xDFFF -xDFFFu -xDFu -xe -xE -xEFF -xEFu -xF -xFAFF -xFB -xFBA -xFBAAu -xFBABu -xFBACu -xFBADu -xFBAEu -xFBAFu -xFBB -xFBD -xFBDAu -xFBDBu -xFBDCu -xFBDDu -xFBDEu -xFBDFu -xFBE -xFBFCu -xFBFDu -xFBFEu -xFBFFu -xFDFF -xfe -xFE -xFEA -xFEAAu -xFEABu -xFEACu -xFEADu -xFEAEu -xFEAFu -xFEB -xFEBAu -xFEBBu -xFEBCu -xFEBDu -xFEBEu -xFEBFu -xFEC -xFECAu -xFECBu -xFECCu -xFECDu -xFECEu -xFECFu -xFED -xFEDAu -xFEDBu -xFEDCu -xFEDDu -xFEDEu -xFEDFu -xFEE -xFEEAu -xFEEBu -xFEECu -xFEEDu -xFEEEu -xFEEFu -xFEF -xFEFAu -xFEFBu -xFEFCu -xFEFF -xFEFFu -xff -xFF -xFFEF -xFFF -xFFFC -xFFFD -xFFFDu -xFFFE -xFFFF -xFFFFD -xFFFFF -xFFFFFF -xFFFFFFFF -xFFFFFFFFFFFFFull -xFFFFFFFFu -xFFFFu -xFFu -xFu -Xgroup -xh -Xhb -Xhosa -xi -Xian -Xiang -Xiangxi -Xibe -XInclude -xjb -xkf -xlocale -XLOCALE -xMax -xMin -xml -XML -xmlns -xmm -xmv -xmw -xnr -xOffset -xog -xor -XP -xpe -xPlacement -xPlaDevice -xscale -xsl -Xsmall -xst -Xuan -XUID -xwo -xx -XXX -XY -y -Y -Ya -yacute -Yacute -Yacutesmall -yAdvance -yAdvDevice -Yakut -Yanahuanca -Yang -Yangbye -yao -Yao -yap -Yapese -Yarowilca -Yauyos -Yay -yb -ybd -yBytes -yCoordinate -ydd -yDeviceTable -ydieresis -Ydieresis -Ydieresissmall -YEH -Yemen -yen -yes -Yes -YES -yet -Ygroup -yi -Yi -YI -Yiddish -YIDDISH -yield -YIELD -yields -yih -Yijing -YING -yMax -yMin -yml -yo -YO -YOD -yOffset -Yongbei -Yongnan -Yoruba -yos -Yos -Yosemite -you -You -Youjiang -your -yourinputtext -yourself -yPlacement -yPlaDevice -yrk -yscale -Ysmall -yStrikeoutPosition -yStrikeoutSize -ySubscriptXOffset -ySubscriptXSize -ySubscriptYOffset -ySubscriptYSize -ySuperscriptXOffset -ySuperscriptXSize -ySuperscriptYOffset -ySuperscriptYSize -YU -yue -Yue -Yugoslav -yum -Yupik -z -Z -za -ZAH -ZAIN -Zambia -Zamboanga -Zanabazar -ZANABAZAR -Zande -Zarma -zawgyi -Zawgyi -ZAWGYI -ZAYIN -Zazaki -zcaron -Zcaron -Zcaronsmall -zch -zdj -zea -Zealand -Zealandic -Zeeuws -zeh -zero -Zero -ZERO -zeroed -zeroinferior -zeroing -zeroint -zerooldstyle -zeros -zerosuperior -zgb -zgh -zgm -zgn -zh -zhd -zhe -zhn -Zhong -Zhuang -Zimbabwe -zip -zipped -zk -Zl -zlj -zlm -zln -zlq -zmi -zne -zo -zom -zone -Zotung -Zou -Zp -zqe -Zs -zsm -Zsmall -zu -Zulu -zum -Zuojiang -zwj -ZWJ -zwnj -ZWNJ -zyb -zyg -zyj -zyn -Zyrian -zza -zzj diff --git a/harfbuzz/perf/texts/fa-monologue.txt b/harfbuzz/perf/texts/fa-monologue.txt deleted file mode 100644 index c41257c..0000000 --- a/harfbuzz/perf/texts/fa-monologue.txt +++ /dev/null @@ -1 +0,0 @@ -من اسمم کاظمه. ما توی یه کوچه بن بست خونه داریم. کوچه‌مون خاکیه. اونوقت خیلی پایئن تر از خونه ما - زیاد پایین نه - اینور می‌پیچی یه نونواس. از اونجا صاف می‌ریم اینجا. یه خیابونه اینجا. اونوقت خیلی پایین‌ترش یه حمومه. بعداً یه بقالی هم دم خونمونه. یه خرده انور خرابه، یه قصابیه. قصابه با بابام رفیقه. پشت خونمون یه دباغیه. اینقده بچه گوسفند توشه! خونه‌مون ساس داره. ساس کوچیک و سیاس. هر جا بزنه جاش باد می‌کنه. وقتی داره از دیوار اتاق می‌ره بالا، نمی‌تونه خودشو نگه داره، می‌افته رو تن ما، می‌گیره خونمونو می‌مکه. یه دفعه همه اثاث مثاثامونو ریختیم بیرون، یه عالمه دوا خریدیم زدیم همه جا: به رختخوابا،‌ زیر زیلو، سوراخ سنبه‌ها. ولی ساسها بیشتر شدن، کمتر نشدن. بابام توی حموم کار می‌کنه. دوتا برادر داریم، یه خواهر: من و مصطفی و زهرا کوچولو. بابا وقتی داره شب می‌شه برمی‌گرده خونه. همیشه استخوناش درد می‌کنه. سر هیچی به هیچی می‌گیره می‌زنه‌مون، بازهم طلبکاره. مثلاً وسط سال، صبح ساعت شیش می‌آد می‌گه، «پاشو برو سیگار بفروش، پول دربیار لباس بخر!» من هم می‌گم: «لباس می‌خوام چی‌ کار؟» اون هم می‌گیره با کمربند حالمونو جا می‌آره. باز خوبه سه ماه تعطیلی خودمون می‌ریم کار می‌کنیم. یه کارخونه هست. می‌ریم اونجا قابلمه درست می‌کنیم، کاسه درست می‌کنیم، عصر که شونصد تا کاسه درست کردیم، دستگارو تمیز می‌کنیم برمی‌گردیم خونه. پارسال هفته‌ای پنجاه تومن مزد می‌دادن. امسال دیگه خدا می‌دونه. با همه این حرفا، بمیریم بهتره آقا! هر روز هر روز کتک. بابام دیشب بیخودی مصطفی رو گرفت زد. گرفت زدش گفت: «چرا وقتی می‌ری دست به آب، سر پا می‌شاشی؟ بشی بشاش!» مصطفی‌مون هیچی حالیش نمی‌شه. قد زهرامون بوده که از بالا پشت بوم افتاده، رگ کله‌اش تکون خرده. حالا سیزده سالشه. نه چارده،‌ چارده سالشه. داداش بزرگ‌ مونه. الان مدرسه عقب افتاده‌ها درس می‌خونه. آب، بابا، بار میخونه یاد بگیره، بیاد جلو. دو سه کلمه بلده حرف بزنه ولی چیزه... نمیتونه قشنگ حرف بزنه. بابام می‌خواد از مدرسه ورش داره، بذاره یه جا که کار یاد بگیره. بابا زهرا را از همه بیشتر می‌خواد. اون هم هر کاری دلش بخواد می‌کنه. هرچی می‌گیم گوش نمی‌کنه، می‌ره تو جوب محل کثافت‌کاری می‌کنه. اون روزی حواسم نبود، رفت یه مشت دیگ مونده سر کوچه بود ورداشت خورد. شب دلش درد گرفت نزدیک بود بمیره. اونوقت بابام اومد گرفت منو با شیلنگ کشت. آقا مگه شهر هرته؟ خر کتک می‌خوره. دیگه چرا ما رو می‌زنن؟ برن به خر بزنن! آخه من که نمی‌تونم همه‌ش مواظب زهرا باشم. راستی یه صاحب حیاط داریم، خیلی بد اخلاقه آقا! اسمش عباس آقاس. صبح می‌ره ظهر می‌آد. سپور شهرداریه. بیست و چار ساعت می‌آد بند میکنه به ما، میگه: «آب زیاد مصرف نکنین، چاه پر میشه.» زهرامون که گاهی گریه می‌کنه، دادش بلند می‌شه می‌گه: «صدای این تخم‌سگو خفه کنین!» اونوقت که مادرمون زنده بود، یه دفعه می‌خواست از دست عباس آقا نفت بریزه سرش، خودشو آتیش بزنه. عباس آقا اصلاً رحم حالیش نمی‌شه؛ پسر سیزده ساله‌شو گرفته از خونه انداخته بیرون. اون هم رفته توی کوچه‌ پس ‌کوچه‌‌ها ول شده. حالا خدا می‌دونه کجاس، چه کار می‌کنه،‌ از کجا می‌آره می‌خوره. بچه‌ها می‌گن: «شب‌ها می‌ره توی پارک‌ها پیش سگها می‌خوابه.» که رفته دهات خونهٔ باباش، می‌گه دیگه نمی‌آم تهران. آقا، ما هم دلمون می‌خواد میرفتیم دهمون با گوسفندها بازی می‌کردیم؛ با بابا بزرگ‌مون می‌رفتیم دشت بز می‌چروندیم،‌ بادوم پاک می‌کردیم، انگور می‌چیدیم. دهمون ولی خیلی دوره آخه! زن عباس آقا حق داره، آقا! محله‌مون خیلی بده. هر روز اونجا دعواس، دعوا، چاقو کشی. توی خرابه هم پر معتاده، بگی دوهزار تا هم بیشتر. می‌رن اونجا قمار می‌کنن، شیره می‌کشن، آمپول می‌زنن تو رگشون. ماهم از ترس معتادها جرأت نمی‌کنیم از خونه بریم کوچه، یه ذره بازی کنیم. از کمیته‌م نمی‌ترسن، میگیرن بچه‌های مردمو می‌دزدن، میبرن توی کوره‌ها،‌ توی دلاشون چیز قایم می‌کنن؛ هروئین قایم میکنن. یه امیر ریزه هست تریاکیه، اون روزی اومد خرم کنه، گفت: «بیا سوار ماشین بشیم، بریم یه جائی.» من هم از ترسم خر نشدم. یه چیز خنده دار بگم بخندی، آقا: اینورمون یه همسایه داریم، اسمش ربابه. انوقت توپ،‌ لنگه کفش، تنکه، هرچی بیفته خونشون،‌ شوهرش ور می‌داره می‌اندازه توی آب انبارشون. هروقت هم کوچه شلوغ بشه، شوهر رباب می‌آد بیرون می‌گه: «واق، عو!» اون هم مث مصطفی‌ ما لقوه‌ایه‌؛ دستش می‌لزره، همه جاش می‌لرزه. اون روز اومد دم دکون، رفت اونور جوب نشت. این یکی همسایه‌مون رفت یه کتاب دربارهٔ خدا و فرشته‌ها آورد براش خوند. رباب خانم خودش خونه یه اعیونه کار می‌کنه؛ چیزاشونو می‌شوره، باغ‌شونو آب می‌ده؛ کلفتی می‌کنه. بعد همه‌ش می‌آد پز اربابشو می‌ده. الان دیگه همه اهل محل می‌دونن باغ خونهٔ ارباب رباب خانوم اندازه پارک شهره. استخرش از مال پارک شهر هم گنده‌تره. هروقت هم که ارباب می‌خواد‌ آبتنی کنه،‌ اول یه قطره دوای مخصوص هست، می‌ریزه توی استخر که آب‌شو می‌کنه مث اشک چشم. بعد می‌ره زیر دوش، با عطر و گلاب خودشو می‌شوره. بعد می‌پره توی استخر، می‌گیره شوخی شوخی آب می‌پاشه به رباب خانوم. زن اربابش هم خارجیه. مال همون کشوریه که شیش ماه شبه، شیش ماه روز. رباب یه چاخان‌هایی می‌کنه که کلهٔ آدم سوت می‌کشه! می‌گه ارباب یه سگ پشمالو داره،‌ اسمش مونیکاس. قسم می‌خوره می‌گه مونیکا غذاشو با کارد و چنگال می‌خوره. اللَه اکبر به این دروغ. یه پیرزنه هم هست سر کوچمونه. با خودش تنهایی زندگی می‌کنه. اسمش ننه غلامه. هشتاد نود سالشه ولی خجالت نمی‌کشه،‌ از امریکا خوشش می‌آد. همه ازش می‌ترسن؛ هر وفت بیاد بیرون، فحش می‌ده، جیغ و ویغ می‌زنه. مثلا من اذیتش کردم، می‌آد سر فحش‌رو می‌کشه به تو. وقتی بچه‌ها بخوان لج‌شو در‌بیارن، می‌گن: «مرگ بر امریکا!» اونوقت اون هم حرصش می‌گیره، هزار تا فحش بی‌ناموسی و خوار و مادر می‌کشه به جون همه. ننه غلام دیونه‌س. بعضی وقتا هم با‌ آدم خوبه. یه روز من و زهرا رو گرفت به زور برد خونه‌ش، کله پاچه داد، گفت «بخورین!» ما هم خوردیم. ته کاسه یه لقمه موند که روش یه عالمه مو بود. گفت: «اگه نخورین با همین چاقو سرتونو می‌برم.» ما هم از ترس جونمون خوردیم. ننه غلام وقتی سر حاله، چیز می‌آره می‌ده آدم. مثلا یکی زخمه،‌ دوا می‌آره بهش می‌ده. مثلا کسی چیزی نداره، چیز می‌آره بهش می‌ده، وسط کوچه‌مون یه خونه‌س که دخترهاش خرابن، آقا. اونوقت شیره‌ای‌ها و چاقوکش‌ها می‌رن خونه‌شون، کار بد می‌کنن. بعضی وقتا هم دختر‌هاش لباس سرخ و زرد تن می‌کنن و کفش پاشنه بلند تق‌تقی می‌پوشن، می‌رن واسه بالاشهری‌ها قر می‌دن. یه دفعه هم داشتم می‌رفتم پیش بچه‌ها «لیس پس لیس» بازی کنم که دختر کوچیکه‌ش امیر ریزه رو صدا کرد و بهش گفت: «تو چقدر پاهات لاغره!» بعد امیر ریزه هم نامردی نکرد. گفت:«خودت چرا لمبه‌هات چاقه؟» بعد دوتایی کرکر خندیدن. خودم با همین دو تا چشمام دیدم، آقا! اونوقت ما هم که می‌بینیم محله‌مون پر از بی‌تربیتی‌یه، زدیم با هفت‌تا از بچه محلامون قهر کردیم. با اون هفت‌تا هم بمیرم آشتی نمی‌کنم، آقا. با یکی‌شون یه ساله قهریم، اسمش محمده. یه روز سر کوچه‌مون عروسی بود، ما هم داشتیم بازی می‌کردیم. من دراومدم به محمد گفتم: «محمد امشب چه خبره؟ آبجی‌ت می‌ره حجله؟» ناراحت شد، گفت: «باهات قهرم.» من هم گفتم: «چه بهتر! می‌رم درسامو می‌خونم.» به خدا ما چه می‌دونستیم، به خیالمون عروسی آبجیشه، آقا! فقط با دو نفر دوستیم: مهدی ملخ و حسن گامبو. مهدی از بس مردنیه، همه ملخ صداش می‌کنن. باباش قوری بست می‌زنه. وسط بازی یهو پیداش می‌شه، می‌آد می‌گه: «اگه منو بازی ندین، بازی‌تونو بهم می‌زنم.» اونوقت تا که دس بهش می‌خوره، جیغش می‌ره هوا، میگه: «گه خوردم، گه خوردم.» اونوقت می‌ره از حرصش با میخ یه شکل‌هایی می‌کشه روی دیوار، می‌گه: «این عکس کاظمه.» فسقلی فوتش کنی، قل می‌خوره، ها. آقا، ما دوچرخه خیلی دوست داریم، بعضی وقتا می‌ریم یه تومن می‌دیم چرخ کرایه می‌کنیم. حسن گامبو زورش می‌آد، با سنگ می‌زنه، می‌گه: «منو باید سوار کنی.» من هم می‌بینم داره دلش می‌شکنه، می‌گم: «بیا تو هم سوار شو!» داداش حسن گامبو پنج ماهه رفته لب مرز با خارجیا بجنگه. حسن می‌گه: «رفته امریکا رو نابود کنه، برگرده.» بابای حسن آهنکاره؛ یعنی قالب می‌سازه، پشقاب می‌سازه، همه‌چی می‌سازه. نه که حسن خیکیه، بچه‌ها صداش می‌کنن: «حسن گامبو، سرت تو شامپو!» می‌خواییم با این دو نفر هم قهر کنیم بره. هی می‌آن در خونمون داد می‌زنن: «کاظم، بیا بازی، بیا بازی!» بازی چیه، آقا؟ بده بچه بازی کنه. رفوزه بشیم چه کار؟ دلم می‌خواد دکتر، مهندس، بازنشست، نیرو هوایی، هرچی شد بشیم، بریم پی کارمون بره. ولی تو خونه ما نمی‌شه درس خوند. تا می‌آم بشینم، باید پاشم برم نون بخرم، جارو کنم، خشتک زهرامونو بشورم. پارسال که رفوزه شدم، همه‌ش نیم نمره می‌خواستم قبول بشم. مدرسه‌مونم خیلی هردمبیه، آقا! بچه‌هاش دزدن، می‌آن دفترامونو می‌دزدن. سر کلاس یکی گچ پرت می‌کنه، یکی رو نیمکت ضرب می‌گیره، یکی پا می‌شه می‌رقصه. ما هم که می‌بینیم خر تو خره، حوصله‌مون سر می‌ره، از مدرسه جیم می‌شیم، می‌ریم فروشگاه بزرگ. اونجا پله‌برقی داره. می‌ریم می‌ایستیم خودمونو می‌زینم به اون راه. الکی نگاه می‌کنیم به جنس منس‌ها؛ یعنی مثلا ما هم اومدیم چیز بخریم. بعد می‌ریم سوار پله‌برقی می‌شیم، می‌ریم سواری می‌خوریم، عشق می‌کنیم. آقا، اجازه؟ سه تا دایی هم دارم، آقا! یکی‌شون دایی ضامن، یکی‌شونم دایی مرتضی. اونی که وضعش خوبه اسمش دایی رضوانه. یه وانت داره با یه اتوشویی. تا پامونو می‌ذاریم در دکونش، نامرد یه لگد می‌زنه در اونجامون، می‌گه: «بزن به چاک! باز اومدی از دخل کف ببری» به خدا تهمت می‌زنه، آقا! آقا، به خدا هیچکی به اندازه ما از دزدی بدش نمی‌آد. آقا، دایی مرتضی‌مون اولها کارگر بلورسازی بود، ولی وقتی من هنوز تو دل مادرم بودم، افتاد زندان. یه شب هفت نفر ریختن سرش، اون هم چاقو کشید، زد یکی‌شونو کشت. بعد دادگاه هم اومد بیخودی تقصیر رو گذاشت گردن دایی ما. قبل انقلاب از زندان اومد بیرون، رفت معتاد شد. حالا هم همیشه با زنش دعوا مرافعه داره. گاهی می‌ذاره از خونه‌ش می‌ره، می‌ره می‌ره پیداش نمی‌شه. بعد که برمی‌گرده، الکی به زنش می‌گه، رفته بودم بیمارستان ترک کنم. دایی مرتضی یه بچه کوچولو داره، هروقت می‌آد خونمون، می‌خواد از پله‌هامون بره بالا، بیاد پایین. ما هم می‌ریم دنبالش که نیفته سرش بشکنه. می‌ریم بغلش می‌کنیم. اونوقت می‌ترسه، سفت آدمو می‌گیره. دایی ضامن‌مون توی دولت آباد نفتیه، بعضی روزها که می‌ره نفت پخش کنه منو هم با خودش می‌بره. اون تا می‌ره نفت بده به خونه‌ها، بچه‌ها می‌گیرن مسخره‌م می‌کنن، می‌گن: «ای عرب پا نفتی، کی اومدی، کی رفتی؟» سنگ می‌زنن تو کله‌ام. من هم که زورم نمی‌رسه، گریه‌م می‌گیره. یه روز رفتیم در یه خونه نفت بدیم، اونوقت یه پسره بود - لال بود - دنبالمون کرد تا سر کوچه‌شون. فحش مادر داد، گفت: «دیگه در خونه ما نیا!» لال بود، آقا! نمی‌دونیم چی می‌گفت... آقا، هر وقت از مادرمون حرف می‌زنیم، بغض می‌آد گلومونو می‌گیره، ول‌مون نمی‌کنه... مادرمون سر بچه مرد، آقا! شب درد بچه گرفتش. رفتیم نبات خانومو آوردیم. نبات خانوم مامای محله‌س، شله، یه چشمش هم چپه. صبح که بچه اومد دنیا، مادرمون گذاشت از دنیا رفت. بچه‌ هم پشت سرش مرد، آقا!... مادرمون اون وقت که زنده بود، توی کارخونهٔ استارلایت کار می‌کرد. جوراب شلواری می‌بافت. وقتی شکمش اومد بالا، از اونجا بیرونش کردن. مادرمون اینقده سختی کشیده که خدا بگه، بس! همیشه مریض بود، بعضی وقتا هم غش می‌کرد. پاهاش قد یه متکا باد کرده بود، آقا!... آقا، باور کن، آقا... وقتی مادرمون مرد ما صد برابر الان بغض کردیم. من و زهرا و مصطفی شب تا صبح خوابمون نبرد. بابام اون شب هزار تا سیگار کشید،‌ ولی صبحش مادرمون مرد. وقتی رفتیم خاکش کنیم، ننه غلام نمی‌خواست بذاره ما بریم تماشا، می‌گفت، ما بچه‌ایم، گناه داریم. ولی من دزدکی توی مرده‌شور خونه هم رفتم. بوی بدی می‌ده مرده‌شور خونه، بوی گربهٔ مرده. آدم می‌خواد دل و روده‌شو بالا بیاره. وقتی مادرمونو اوردن گذاشتن توی سالن مرده‌شور خونه، هفت تا مرده زودتر مرده بودن. مادرمون نفر هشتم بود. مرده‌ها منتظر بودن دوش خالی بشه، سر نوبت برن تو، غسل کنن. جنازه یه دختر مدرسه هم بود. نمی‌دونی فک و فامیل دختره چی‌کار می‌کردن؛ یکی سرشو می‌زد به دیوار، یکی کفش‌شو دراورده بود می‌زد تو سر خودش. مادرمونو که اوردن بذارن توی قبر، سروکله‌ٔ مصطفی هم پیداش شد. مادرمون با مصطفی خوب بود. خدا بیامرز که رفت توی قبر، نمی‌دونم از کجا یه مگس اومد نشست روی کفنش. تا مصطفی کیش‌اش کرد، مگسه گذاشت در رفت. بعد شروع کردن با بیل خاک ریختن روی سر مادرمون. رباب خانم با ناخن صورتشو می‌کند. بابام داشت توی دل خودش گریه می‌کرد. اگه مصطفی نمی‌زد زیر گریه و توی خاک و خل غلت نمی‌خورد، من هم گریه نمی‌کردم... مادرمونو که خاک کردیم، دم قبرستان حلوای نذری پخش می‌کردن. واسه اینکه بوی گربهٔ مرده از دماغم بره، یه قاشق حلوا گذاشتم دهنم. ولی صاحب عذا که روشو برگردوند، تفش کردم. آقا، هیچی نمی‌تونستیم بخوریم. آقا، ما دلمون خیلی تنگه، هیشکی نیست ما را زفت کنه. دل‌مون می‌خواد از این دنیا می‌رفتیم. آقا، باورتون نمی‌شه، توی محله ما ملت تند تند می‌میرن، آقا! زهرامون یه همبازی داره، همقد خودشه. اسمش الهامه، پنج سالشه. ده بیست روز پیش باباش از داربست افتاد زمین عکس برگردون شد، مرد. دیروز الهام اومده بود خونه‌مون، یه عکس از باباش هم اورده بود، می‌گفت، هر شب خواب باباشو می‌بینه که اون دنیا آتیش درست کرده، می‌خواد بیاد بگیره اونو کباب کنه بخوره. یه حرفهایی می‌زد که مو به تن آدم سیخ می‌شد. اونوقت شب که خوابم برد، خوابیدم، خواب دیدم عزرائیل و شمر با آتیش اومدن بالای سرم، هی می‌چرخن و چه‌چه می‌خندن. عزرائیل نصفه‌س، آقا! یعنی پا نداره. من هم اومدم از دست‌شون در برم که دیدم یه خرگوشه داره با مامانش قایم موشک بازی می‌کنه. رفتم بگم، من هم بازی که گذاشتن در رفتن. من هم دنبالشون کردم. خسته که شدم دیدم سوار یه قایقم، یه سگ هم داشتم. داشتم با سگ بازی می‌کردم که یهو امیر ریزه پشت پا انداخت، افتادم توی آب. من هم رفتم سوار دوچرخه شدم، زدم به چاک. سگ هم از توی قایق پرید، اومد دنبالم. بعدش دیدم یه هلی‌کوپتر بالای سرمه، می‌خواد باید بستنی لیوانی‌مو قاپ بزنه. من هم با سنگ زدم شیشه‌شو شکوندم. اون هم ترسید در رفت، توی کوچه دباغ‌ها غیب شد. بعدش دیدم عباس آقا گرگ شده، می‌خواد بیاد زهرامونو بگیره لقمه‌ٔ چپش کنه. از ترسم دویدم توی پارک و رفتم سوار تاب شدم. اینقده تاب بازی کردم تا حسابی سرم گیج رفت. اومدم از تاب بپرم پایین، دیدیم زیر پام یه چاهه، یه چاه به این گندگی. داشتم ول می‌شدم ته چاه که از خواب پریدم. نشستم گریه کردم. اونوقت بابام بیدار شد، پرسید: «باز چی شده؟ شاشیدی؟» گفتم: «می‌ترسم.» گفت: «بگیر بخواب بابا تو هم دلت خوشه!» من هم لحافو که کشیدم روی سرم، همه‌ش خدا خدا می‌کردم ایم دفعه که خوابم برد، شانسم بگه، بزنه خواب خوشبختی ببینم، دلم خوش بشه. ولی اگه ما شانس داشتیم، آقا، اسم‌مونو می‌ذاشتن شانسعلی. diff --git a/harfbuzz/perf/texts/fa-thelittleprince.txt b/harfbuzz/perf/texts/fa-thelittleprince.txt deleted file mode 100644 index 3c56869..0000000 --- a/harfbuzz/perf/texts/fa-thelittleprince.txt +++ /dev/null @@ -1,923 +0,0 @@ -شازده کوچولو -اثر آنتوان دو سن‌تگزوپه‌ری -برگردان احمد شاملو - - -اهدانام‌چه -به لئون ورث Leon Werth -از بچه‌ها عذر می‌خواهم که این کتاب را به یکی از بزرگ‌ترها هدیه کرده‌ام. برای این کار یک دلیل حسابی دارم: این «بزرگ‌تر» به‌ترین دوست من تو همه دنیا است. یک دلیل دیگرم هم آن که این «بزرگ‌تر» همه چیز را می‌تواند بفهمد حتا کتاب‌هایی را که برای بچه‌ها نوشته باشند. عذر سومم این است که این «بزرگ‌تر» تو فرانسه زندگی می‌کند و آن‌جا گشنگی و تشنگی می‌کشد و سخت محتاج دلجویی است. اگر همه‌ی این عذرها کافی نباشد اجازه می‌خواهم این کتاب را تقدیم آن بچه‌ای کنم که این آدم‌بزرگ یک روزی بوده. آخر هر آدم بزرگی هم روزی روزگاری بچه‌ای بوده (گیرم کم‌تر کسی از آن‌ها این را به یاد می‌آورد). پس من هم اهدانام‌چه‌ام را به این شکل تصحیح می‌کنم: - -به لئون ورث -موقعی که پسربچه بود -آنتوان دو سن‌تگزوپه‌ری - -من هم برگردان فارسی این شعر بزرگ را به دو بچه‌ی دوست‌داشتنی دیگر تقدیم می‌کنم: دکتر جهانگیر کازرونی و دکتر محمدجواد گلبن - -احمد شاملو - -۱ -یک بار شش سالم که بود تو کتابی به اسم قصه‌های واقعی -که درباره‌ی جنگل بِکر نوشته شده بود- تصویر محشری دیدم از یک مار بوآ که داشت حیوانی را می‌بلعید. آن تصویر یک چنین چیزی بود: - -یک مار بوآ که دارد حیوانی را می‌بلعد -تو کتاب آمده بود که: «مارهای بوآ شکارشان را همین جور درسته قورت می‌دهند. بی این که بجوندش. بعد دیگر نمی‌توانند از جا بجنبند و تمام شش ماهی را که هضمش طول می‌کشد می‌گیرند می‌خوابند». - -این را که خواندم، راجع به چیزهایی که تو جنگل اتفاق می‌افتد کلی فکر کردم و دست آخر توانستم با یک مداد رنگی اولین نقاشیم را از کار درآرم. یعنی نقاشی شماره‌ی یکم را که این جوری بود: - -نقاشی شماره‌ی یکم — مار شبیه به کلاه -شاهکارم را نشان بزرگ‌تر ها دادم و پرسیدم از دیدنش ترس‌تان بر می‌دارد؟ -جوابم دادند: -چرا کلاه باید آدم را بترساند؟ - -نقاشی من کلاه نبود، یک مار بوآ بود که داشت یک فیل را هضم می‌کرد. آن وقت برای فهم بزرگ‌ترها برداشتم توی شکم بوآ را کشیدم. آخر همیشه باید به آن‌ها توضیحات داد. نقاشی دومم این جوری بود: - -نقاشی دوم — مار و فیل درونش -بزرگ‌ترها بم گفتند کشیدن مار بوآی باز یا بسته را بگذارم کنار و عوضش حواسم را بیش‌تر جمع جغرافی و تاریخ و حساب و دستور زبان کنم. و این جوری شد که تو شش سالگی دور کار ظریف نقاشی را قلم گرفتم. از این که نقاشی شماره‌ی یک و نقاشی شماره‌ی دو ام یخ‌شان نگرفت دلسرد شده بودم. بزرگ‌ترها اگر به خودشان باشد هیچ وقت نمی‌توانند از چیزی سر درآرند. برای بچه‌ها هم خسته کننده است که همین جور مدام هر چیزی را به آن‌ها توضیح بدهند. - -ناچار شدم برای خودم کار دیگری پیدا کنم و این بود که رفتم خلبانی یاد گرفتم. بگویی نگویی تا حالا به همه جای دنیا پرواز کرده ام و راستی راستی جغرافی خیلی بم خدمت کرده. می‌توانم به یک نظر چین و آریزونا را از هم تمیز بدهم. اگر آدم تو دل شب سرگردان شده باشد جغرافی خیلی به دادش می‌رسد. - -از این راه است که من تو زندگیم با گروه گروه آدم‌های حسابی برخورد داشته‌ام. پیش خیلی از بزرگ‌ترها زندگی کرده‌ام و آن‌ها را از خیلی نزدیک دیده‌ام گیرم این موضوع باعث نشده در باره‌ی آن‌ها عقیده‌ی بهتری پیدا کنم. - -هر وقت یکی‌شان را گیر آورده‌ام که یک خرده روشن بین به نظرم آمده با نقاشی شماره‌ی یکم که هنوز هم دارمش محکش زده‌ام ببینم راستی راستی چیزی بارش هست یا نه. اما او هم طبق معمول در جوابم در آمده که: «این یک کلاه است». آن وقت دیگر من هم نه از مارهای بوآ باش اختلاط کرده‌ام نه از جنگل‌های بکر دست نخورده نه از ستاره‌ها. خودم را تا حد او آورده‌ام پایین و باش از بریج و گلف و سیاست و انواع کرات حرف زده‌ام. او هم از این که با یک چنین شخص معقولی آشنایی به هم رسانده سخت خوش‌وقت شده. - -۲ -این جوری بود که روزگارم تو تنهایی می‌گذشت بی این که راستی راستی یکی را داشته باشم که باش دو کلمه حرف بزنم، تااین که زد و شش سال پیش در کویر صحرا حادثه‌یی برایم اتفاق افتاد؛ یک چیز موتور هواپیمایم شکسته بود و چون نه تعمیرکاری همراهم بود نه مسافری یکه و تنها دست به کار شدم تا از پس چنان تعمیر مشکلی برآیم. مساله‌ی مرگ و زندگی بود. آبی که داشتم زورکی هشت روز را کفاف می‌داد. - -شب اول را هزار میل دورتر از هر آبادی مسکونی رو ماسه‌ها به روز آوردم پرت افتاده‌تر از هر کشتی شکسته‌یی که وسط اقیانوس به تخته پاره‌یی چسبیده باشد. پس لابد می‌توانید حدس بزنید چه جور هاج و واج ماندم وقتی کله‌ی آفتاب به شنیدن صدای ظریف عجیبی که گفت: «بی زحمت یک برّه برام بکش!» از خواب پریدم. --ها؟ --یک برّه برام بکش... - -چنان از جا جستم که انگار صاعقه بم زده. خوب که چشم‌هام را مالیدم و نگاه کردم آدم کوچولوی بسیار عجیبی را دیدم که با وقار تمام تو نخ من بود. این به‌ترین شکلی است که بعد ها توانستم از او در آرم، گیرم البته آن‌چه من کشیده‌ام کجا و خود او کجا! تقصیر من چیست؟ بزرگ‌تر ها تو شش سالگی از نقاشی دل‌سردم کردند و جز بوآی باز و بسته یاد نگرفتم چیزی بکشم. - -با چشم‌هایی که از تعجب گرد شده بود به این حضور ناگهانی خیره شدم. یادتان نرود که من از نزدیک‌ترین آبادی مسکونی هزار میل فاصله داشتم و این آدمی‌زاد کوچولوی من هم اصلا به نظر نمی‌آمد که راه گم کرده باشد یا از خستگی دم مرگ باشد یا از گشنگی دم مرگ باشد یا از تشنگی دم مرگ باشد یا از وحشت دم مرگ باشد. هیچ چیزش به بچه‌یی نمی‌بُرد که هزار میل دور از هر آبادی مسکونی تو دل صحرا گم شده باشد. - -این بهترین شکلی است که بعدها از او در آوردم. -وقتی بالاخره صدام در آمد، گفتم: --آخه... تو این جا چه می‌کنی؟ -و آن وقت او خیلی آرام، مثل یک چیز خیلی جدی، دوباره در آمد که: --بی زحمت واسه‌ی من یک برّه بکش. -آدم وقتی تحت تاثیر شدید رازی قرار گرفت جرات نافرمانی نمی‌کند. گرچه تو آن نقطه‌ی هزار میل دورتر از هر آبادی مسکونی و با قرار داشتن در معرض خطر مرگ این نکته در نظرم بی معنی جلوه کرد باز کاغذ و خودنویسی از جیبم در آوردم اما تازه یادم آمد که آن‌چه من یاد گرفته‌ام بیش‌تر جغرافیا و تاریخ و حساب و دستور زبان است، و با کج خلقی مختصری به آن موجود کوچولو گفتم نقاشی بلد نیستم. -بم جواب داد: -عیب ندارد، یک بَرّه برام بکش. - -از آن‌جایی که هیچ وقت تو عمرم بَرّه نکشیده بودم یکی از آن دو تا نقاشی‌ای را که بلد بودم برایش کشیدم. آن بوآی بسته را. ولی چه یکه‌ای خوردم وقتی آن موجود کوچولو در آمد که: -نه! نه! فیلِ تو شکم یک بوآ نمی‌خواهم. بوآ خیلی خطرناک است فیل جا تنگ کن. خانه‌ی من خیلی کوچولوست، من یک بره لازم دارم. برام یک بره بکش.بره‌ی مریض --خب، کشیدم. -با دقت نگاهش کرد و گفت: --نه! این که همین حالاش هم حسابی مریض است. یکی دیگر بکش.قوچ --کشیدم. -لبخند با نمکی زد و در نهایت گذشت گفت: --خودت که می‌بینی... این بره نیست، قوچ است. شاخ دارد نه...بره‌ی پیر -باز نقاشی را عوض کردم. -آن را هم مثل قبلی ها رد کرد: --این یکی خیلی پیر است... من یک بره می‌خواهم که مدت ها عمر کند... - -باری چون عجله داشتم که موتورم را پیاده کنم رو بی حوصلگی جعبه‌ای کشیدم که دیواره‌اش سه تا سوراخ داشت، و از دهنم پرید که:جعبه --این یک جعبه است. بره‌ای که می‌خواهی این تو است. - -و چه قدر تعجب کردم از این که دیدم داور کوچولوی من قیافه‌اش از هم باز شد و گفت: --آها... این درست همان چیزی است که می‌خواستم! فکر می‌کنی این بره خیلی علف بخواهد؟ --چطور مگر؟ --آخر جای من خیلی تنگ است... --هر چه باشد حتماً بسش است. بره‌یی که بت داده‌ام خیلی کوچولوست. --آن قدرهاهم کوچولو نیست... اِه! گرفته خوابیده... - -و این جوری بود که من با شهریار کوچولو آشنا شدم. - -۳ -خیلی طول کشید تا توانستم بفهمم از کجا آمده. شهریار کوچولو که مدام مرا سوال پیچ می‌کرد خودش انگار هیچ وقت سوال‌های مرا نمی‌شنید. فقط چیزهایی که جسته گریخته از دهنش می‌پرید کم کم همه چیز را به من آشکار کرد. مثلا اول بار که هواپیمای مرا دید (راستی من هواپیما نقاشی نمی‌کنم، سختم است.) ازم پرسید: --این چیز چیه؟ --این «چیز» نیست: این پرواز می‌کند. هواپیماست. هواپیمای من است. - -و از این که به‌اش می‌فهماندم من کسی‌ام که پرواز می‌کنم به خود می‌بالیدم. -حیرت زده گفت: -چی؟ تو از آسمان افتاده‌ای؟ -با فروتنی گفتم: -آره. -گفت: -اوه، این دیگر خیلی عجیب است! -و چنان قهقهه‌ی ملوسی سر داد که مرا حسابی از جا در برد. راستش من دلم می‌خواهد دیگران گرفتاری‌هایم را جدی بگیرند. -خنده‌هایش را که کرد گفت: -خب، پس تو هم از آسمان می‌آیی! اهل کدام سیاره‌ای؟... - -بفهمی نفهمی نور مبهمی به معمای حضورش تابید. یکهو پرسیدم: --پس تو از یک سیاره‌ی دیگر آمده‌ای؟ -آرام سرش را تکان داد بی این که چشم از هواپیما بردارد. - -اما جوابم را نداد، تو نخ هواپیما رفته بود و آرام آرام سر تکان می‌داد. -گفت: -هر چه باشد با این نباید از جای خیلی دوری آمده باشی... - -مدت درازی تو خیال فرو رفت، بعد بره‌اش را از جیب در آورد و محو تماشای آن گنج گرانبها شد.تصویری از شهریار کوچولو بر روی زمین -فکر می‌کنید از این نیمچه اعتراف «سیاره‌ی دیگر»ِ او چه هیجانی به من دست داد؟ زیر پاش نشستم که حرف بیشتری از زبانش بکشم: --تو از کجا می‌آیی آقا کوچولوی من؟ خانه‌ات کجاست؟ بره‌ی مرا می‌خواهی کجا ببری؟ -مدتی در سکوت به فکر فرورفت و بعد در جوابم گفت: --حسن جعبه‌ای که بم داده‌ای این است که شب‌ها می‌تواند خانه‌اش بشود. --معلوم است... اما اگر بچه‌ی خوبی باشی یک ریسمان هم بِت می‌دهم که روزها ببندیش. یک ریسمان با یک میخ طویله... -انگار از پیش‌نهادم جا خورد، چون که گفت: --ببندمش؟ چه فکر ها! --آخر اگر نبندیش راه می‌افتد می‌رود گم می‌شود. - -دوست کوچولوی من دوباره غش غش خنده را سر داد: --مگر کجا می‌تواند برود؟ --خدا می‌داند. راستِ شکمش را می‌گیرد و می‌رود... --بگذار برود...اوه، خانه‌ی من آن‌قدر کوچک است! -و شاید با یک خرده اندوه در آمد که: --یک‌راست هم که بگیرد برود جای دوری نمی‌رود... - -۴ -به این ترتیب از یک موضوع خیلی مهم دیگر هم سر در آوردم: این که سیاره‌ی او کمی از یک خانه‌ی معمولی بزرگ‌تر بود.این نکته آن‌قدرها به حیرتم نینداخت. می‌دانستم گذشته از سیاره‌های بزرگی مثل زمین و کیوان و تیر و ناهید که هرکدام برای خودشان اسمی دارند، صدها سیاره‌ی دیگر هم هست که بعضی‌شان از بس کوچکند با دوربین نجومی هم به هزار زحمت دیده می‌شوند و هرگاه اخترشناسی یکی‌شان را کشف کند به جای اسم شماره‌ای به‌اش می‌دهد. مثلا اسمش را می‌گذارد «اخترک ۳۲۵۱». - -دلایل قاطعی دارم که ثابت می‌کند شهریار کوچولو از اخترک ب۶۱۲ آمده‌بود. - -شهریار کوچولو بر اخترکِ ب۶۱۲ -این اخترک را فقط یک بار به سال ۱۹۰۹ یک اخترشناس ترک توانسته بود ببیند اخترشناسِ ترک در حالِ دیدنِ اخترکِ ب۶۱۲که تو یک کنگره‌ی بین‌المللی نجوم هم با کشفش هیاهوی زیادی به راه انداخت اما واسه خاطر لباسی که تنش بود هیچ کس حرفش را باور نکرد. اخترشناسِ ترک در کنگره‌ی بین‌المللیِ نجوم، با لباس قدیمیآدم بزرگ‌ها این جوری‌اند! - -بختِ اخترک ب۶۱۲ زد و، ترک مستبدی ملتش را به ضرب دگنک وادار به پوشیدن لباس اروپایی‌ها کرد. اخترشناس به سال ۱۹۲۰ دوباره، و این بار با سر و وضع آراسته برای کشفش ارائه‌ی دلیل کرد و این بار همه جانب او را گرفتند.اخترشناسِ ترک در کنگره‌ی بین‌المللیِ نجوم، با لباس جدید -به خاطر آدم بزرگ‌هاست که من این جزئیات را در باب اخترکِ ب۶۱۲ برای‌تان نقل می‌کنم یا شماره‌اش را می‌گویم چون که آن‌ها عاشق عدد و رقم‌اند. وقتی با آن‌ها از یک دوست تازه‌تان حرف بزنید هیچ وقت ازتان درباره‌ی چیزهای اساسی‌اش سوال نمی‌کنند که هیج وقت نمی‌پرسند «آهنگ صداش چه‌طور است؟ چه بازی‌هایی را بیشتر دوست دارد؟ پروانه جمع می‌کند یا نه؟» -می‌پرسند: «چند سالش است؟ چند تا برادر دارد؟ وزنش چه‌قدر است؟ پدرش چه‌قدر حقوق می‌گیرد؟» و تازه بعد از این سوال‌ها است که خیال می‌کنند طرف را شناخته‌اند. - -اگر به آدم بزرگ‌ها بگویید یک خانه‌ی قشنگ دیدم از آجر قرمز که جلو پنجره‌هاش غرقِ شمعدانی و بامش پر از کبوتر بود محال است بتوانند مجسمش کنند. باید حتماً به‌شان گفت یک خانه‌ی صد میلیون تومنی دیدم تا صداشان بلند بشود که: -وای چه قشنگ! - -یا مثلا اگر به‌شان بگویید «دلیل وجودِ شهریارِ کوچولو این که تودل‌برو بود و می‌خندید و دلش یک بره می‌خواست و بره خواستن، خودش بهترین دلیل وجود داشتن هر کسی است» شانه بالا می‌اندازند و باتان مثل بچ‌ه‌ها رفتار می‌کنند! اما اگر به‌شان بگویید «سیاره‌ای که ازش آمده‌بود اخترک ب۶۱۲ است» بی‌معطلی قبول می‌کنند و دیگر هزار جور چیز ازتان نمی‌پرسند. این جوری‌اند دیگر. نباید ازشان دل‌خور شد. بچه‌ها باید نسبت به آدم بزرگ‌ها گذشت داشته باشند. - -اما البته ماها که مفهوم حقیقی زندگی را درک می‌کنیم می‌خندیم به ریش هرچه عدد و رقم است! چیزی که من دلم می‌خواست این بود که این ماجرا را مثل قصه‌ی پریا نقل کنم. دلم می‌خواست بگویم: «یکی بود یکی نبود. روزی روزگاری یه شهریار کوچولو بود که تو اخترکی زندگی می‌کرد همه‌اش یه خورده از خودش بزرگ‌تر و واسه خودش پیِ دوستِ هم‌زبونی می‌گشت...»، آن هایی که مفهوم حقیقی زندگی را درک کرده‌اند واقعیت قضیه را با این لحن بیشتر حس می‌کنند. آخر من دوست ندارم کسی کتابم را سرسری بخواند. خدا می‌داند با نقل این خاطرات چه بار غمی روی دلم می‌نشیند. شش سالی می‌شود که دوستم با بَرّه‌اش رفته. این که این جا می‌کوشم او را وصف کنم برای آن است که از خاطرم نرود. فراموش کردن یک دوست خیلی غم‌انگیز است. همه کس که دوستی ندارد. من هم می‌توانم مثل آدم بزرگ‌ها بشوم که فقط اعداد و ارقام چشم‌شان را می‌گیرد. و باز به همین دلیل است که رفته‌ام یک جعبه رنگ و چند تا مداد خریده‌ام. تو سن و سال من واسه کسی که جز کشیدنِ یک بوآی باز یا یک بوآی بسته هیچ کار دیگری نکرده -و تازه آن هم در شش سالگی- دوباره به نقاشی رو کردن از آن حرف‌هاست! البته تا آن‌جا که بتوانم سعی می‌کنم چیزهایی که می‌کشم تا حد ممکن شبیه باشد. گیرم به موفقیت خودم اطمینان چندانی ندارم. یکیش شبیه از آب در می‌آید یکیش نه. سرِ قدّ و قواره‌اش هم حرف است. یک جا زیادی بلند درش آورده‌ام یک جا زیادی کوتاه. از رنگ لباسش هم مطمئن نیستم. خب، رو حدس و گمان پیش رفته‌ام؛ کاچی به زِ هیچی. و دست آخر گفته باشم که تو بعضِ جزئیات مهم‌ترش هم دچار اشتباه شده‌ام. اما در این مورد دیگر باید ببخشید: دوستم زیر بار هیچ جور شرح و توصیفی نمی‌رفت. شاید مرا هم مثل خودش می‌پنداشت. اما از بختِ بد، دیدن بره‌ها از پشتِ جعبه از من بر نمی‌آید. نکند من هم یک خرده به آدم بزرگ‌ها رفته‌ام؟ «باید پیر شده باشم». - -۵ -هر روزی که می‌گذشت از اخترک و از فکرِ عزیمت و از سفر و این حرف‌ها چیزهای تازه‌ای دست‌گیرم می‌شد که همه‌اش معلولِ بازتاب‌هایِ اتفاقی بود. و از همین راه بود که روز سوم از ماجرایِ تلخِ بائوباب ها سردرآوردم. - -این بار هم بَرّه باعثش شد، چون شهریار کوچولو که انگار سخت دودل مانده‌بود ناگهان ازم پرسید: --بَرّه‌ها بته‌ها را هم می‌خورند دیگر، مگر نه؟ --آره. همین جور است. --آخ! چه خوشحال شدم! - -نتوانستم بفهمم این موضوع که بَرّه‌ها بوته‌ها را هم می‌خورند اهمیتش کجاست اما شهریار کوچولو درآمد که: --پس لابد بائوباب ها را هم می‌خورند دیگر؟ - -یک گله فیل که در اخترکِ ب۶۱۲ روی هم چیده شده‌اندمن برایش توضیح دادم که بائوباب بُتّه نیست. درخت است و از ساختمان یک معبد هم گنده‌تر، و اگر یک گَلّه فیل هم با خودش ببرد حتا یک درخت بائوباب را هم نمی‌توانند بخورند. -از فکر یک گَلّه فیل به خنده افتاد و گفت: -باید چیدشان روی هم. -اما با فرزانگی تمام متذکر شد که: -بائوباب هم از بُتِّگی شروع می‌کند به بزرگ شدن. --درست است. اما نگفتی چرا دلت می‌خواهد بره‌هایت نهال‌های بائوباب را بخورند؟ -گفت: -دِ! معلوم است! - -و این را چنان گفت که انگار موضوع از آفتاب هم روشن‌تر است؛ منتها من برای این که به تنهایی از این راز سر در آرم ناچار شدم حسابی کَلّه را به کار بیندازم. - -راستش این که تو اخترکِ شهریار کوچولو هم مثل سیارات دیگر هم گیاهِ خوب به هم می‌رسید هم گیاهِ بد. یعنی هم تخمِ خوب گیاه‌های خوب به هم می‌رسید، هم تخمِ بدِ گیاه‌هایِ بد. اما تخم گیاه‌ها نامریی‌اند. آن‌ها تو حرمِ تاریک خاک به خواب می‌روند تا یکی‌شان هوس بیدار شدن به سرش بزند. آن وقت کش و قوسی می‌آید و اول با کم رویی شاخکِ باریکِ خوشگل و بی‌آزاری به طرف خورشید می‌دواند. اگر این شاخک شاخکِ تربچه‌ای گلِ سرخی چیزی باشد می‌شود گذاشت برای خودش رشد کند اما اگر گیاهِ بدی باشد آدم باید به مجردی که دستش را خواند ریشه‌کنش کند. - -باری، تو سیاره‌ی شهریار کوچولو گیاه تخمه‌های وحشتناکی به هم می‌رسید. یعنی تخم درختِ بائوباب که خاکِ سیاره حسابی ازشان لطمه خورده بود. بائوباب هم اگر دیر به‌اش برسند دیگر هیچ جور نمی‌شود حریفش شد: تمام سیاره را می‌گیرد و با ریشه‌هایش سوراخ سوراخش می‌کند و اگر سیاره خیلی کوچولو باشد و بائوباب‌ها خیلی زیاد باشند پاک از هم متلاشیش می‌کنند. - -شهریار کوچولو در حال نظافت ِ اخترکششهریار کوچولو بعدها یک روز به من گفت: «این، یک امر انضباطی است. صبح به صبح بعد از نظافتِ خود باید با دفت تمام به نظافتِ اخترک پرداخت. آدم باید خودش را مجبور کند که به مجردِ تشخیص دادن بائوباب‌ها از بته‌های گلِ سرخ که تا کوچولواَند عین هم‌اَند با دقت ریشه‌کن‌شان بکند. کار کسل‌کننده‌ای هست اما هیچ مشکل نیست.» - -یک روز هم بم توصیه کرد سعی کنم هر جور شده یک نقاشی حسابی از کار درآرم که بتواند قضیه را به بچه‌های سیاره‌ی من هم حالی کند. گفت اگر یک روز بروند سفر ممکن است به دردشان بخورد. پاره‌ای وقت‌ها پشت گوش انداختن کار ایرادی ندارد اما اگر پای بائوباب در میان باشد گاوِ آدم می‌زاید. اخترکی را سراغ دارم که یک تنبل‌باشی ساکنش بود و برای کندن سه تا نهال بائوباب امروز و فردا کرد...». - -آن وقت من با استفاده از چیزهایی که گفت شکل آن اخترک را کشیدم. - -اخترکِ تنبل‌باشی با سه درختِ بائوباب -هیچ دوست ندارم اندرزگویی کنم. اما خطر بائوباب‌ها آن‌قدر کم شناخته شده و سر راهِ کسی که تو چنان اخترکی سرگیدان بشود آن قدر خطر به کمین نشسته که این مرتبه را از رویه‌ی همیشگی خودم دست بر می‌دارم و می‌گویم: «بچه‌ها! هوای بائوباب‌ها را داشته باشید!» - -اگر من سرِ این نقاشی این همه به خودم فشار آورده‌ام فقط برای آن بوده که دوستانم را متوجه خطری کنم که از مدت‌ها پیش بیخ گوش‌شان بوده و مثلِ خودِ من ازش غافل بوده‌اند. درسی که با این نقاشی داده‌ام به زحمتش می‌ارزد. حالا ممکن است شما از خودتان بپرسید: «پس چرا هیچ کدام از بقیه‌ی نقاشی‌های این کتاب هیبتِ تصویرِ بائوباب‌ها را ندارد؟» -خب، جوابش خیلی ساده است: من زور خودم را زده‌ام اما نتوانسته‌ام از کار درشان بیاورم. اما عکس بائوباب‌ها را که می‌کشیدم احساس می‌کردم قضیه خیلی فوریت دارد و به این دلیل شور بَرَم داشته بود. - -۶ -آخ، شهریار کوچولو! این جوری بود که من کَم کَمَک از زندگیِ محدود و دل‌گیر تو سر درآوردم. تا مدت‌ها تنها سرگرمیِ تو تماشای زیباییِ غروب آفتاب بوده. به این نکته‌ی تازه صبح روز چهارم بود که پی بردم؛ یعنی وقتی که به من گفتی: --غروب آفتاب را خیلی دوست دارم. برویم فرورفتن آفتاب را تماشا کنیم...شهریار کوچولو در اخترکش مشغولِ تماشای غروبِ آفتاب --هوم، حالاها باید صبر کنی... --واسه چی صبر کنم؟ --صبر کنی که آفتاب غروب کند. - -اول سخت حیرت کردی بعد از خودت خنده‌ات گرفت و برگشتی به من گفتی: --همه‌اش خیال می‌کنم تو اخترکِ خودمم! --راستش موقعی که تو آمریکا ظهر باشد همه می‌دانند تو فرانسه تازه آفتاب دارد غروب می‌کند. کافی است آدم بتواند در یک دقیقه خودش را برساند به فرانسه تا بتواند غروب آفتاب را تماشا کند. متاسفانه فرانسه کجا این‌جا کجا! اما رو اخترک تو که به آن کوچکی است همین‌قدر که چند قدمی صندلیت را جلو بکشی می‌توانی هرقدر دلت خواست غروب تماشا کنی. --یک روز چهل و سه بار غروب آفتاب را تماشا کردم! -و کمی بعد گفت: --خودت که می‌دانی... وقتی آدم خیلی دلش گرفته باشد از تماشای غروب لذت می‌برد. --پس خدا می‌داند آن روز چهل و سه غروبه چه‌قدر دلت گرفته بوده. - -اما مسافر کوچولو جوابم را نداد. - -۷ -روز پنجم باز سرِ گوسفند از یک راز دیگر زندگی شهریار کوچولو سر در آوردم. مثل چیزی که مدت‌ه‌ا تو دلش به‌اش فکر کرده باشد یک‌هو بی مقدمه از من پرسید: --گوسفندی که بُتّه ها را بخورد گل ها را هم می‌خورد؟ --گوسفند هرچه گیرش بیاید می‌خورد. --حتا گل‌هایی را هم که خار دارند؟ --آره، حتا گل‌هایی را هم که خار دارند. --پس خارها فایده‌شان چیست؟ - -من چه می‌دانستم؟ یکی از آن: سخت گرفتار باز کردن یک مهره‌ی سفتِ موتور بودم. از این که یواش یواش بو می‌بردم خرابیِ کار به آن سادگی‌ها هم که خیال می‌کردم نیست برج زهرمار شده‌بودم و ذخیره‌ی آبم هم که داشت ته می‌کشید بیش‌تر به وحشتم می‌انداخت. --پس خارها فایده‌شان چسیت؟ - -شهریار کوچولو وقتی سوالی را می‌کشید وسط دیگر به این مفتی‌ها دست بر نمی‌داشت. مهره پاک کلافه‌ام کرده بود. همین جور سرسری پراندم که: --خارها به درد هیچ کوفتی نمی‌خورند. آن‌ها فقط نشانه‌ی بدجنسی گل‌ها هستند. --دِ! -و پس از لحظه‌یی سکوت با یک جور کینه درآمد که: --حرفت را باور نمی‌کنم! گل‌ها ضعیفند. بی شیله‌پیله‌اند. سعی می‌کنند یک جوری تهِ دل خودشان را قرص کنند. این است که خیال می‌کنند با آن خارها چیزِ ترسناکِ وحشت‌آوری می‌شوند... - -لام تا کام به‌اش جواب ندادم. در آن لحظه داشتم تو دلم می‌گفتم: «اگر این مهره‌ی لعنتی همین جور بخواهد لج کند با یک ضربه‌ی چکش حسابش را می‌رسم.» اما شهریار کوچولو دوباره افکارم را به هم ریخت: --تو فکر می‌کنی گل‌ها... -من باز همان جور بی‌توجه گفتم: --ای داد بیداد! ای داد بیداد! نه، من هیچ کوفتی فکر نمی‌کنم! آخر من گرفتار هزار مساله‌ی مهم‌تر از آنم! -هاج و واج نگاهم کرد و گفت: --مساله‌ی مهم! - -مرا می‌دید که چکش به دست با دست و بالِ سیاه روی چیزی که خیلی هم به نظرش زشت می‌آمد خم شده‌ام. --مثل آدم بزرگ‌ها حرف می‌زنی! -از شنیدنِ این حرف خجل شدم اما او همین جور بی‌رحمانه می‌گفت: --تو همه چیز را به هم می‌ریزی... همه چیز را قاتی می‌کنی! -حسابی از کوره در رفته‌بود. - -موهای طلایی طلائیش تو باد می‌جنبید. --اخترکی را سراغ دارم که یک آقا سرخ روئه توش زندگی می‌کند. او هیچ وقت یک گل را بو نکرده، هیچ وقت یک ستاره‌را تماشا نکرده هیچ وقت کسی را دوست نداشته هیچ وقت جز جمع زدن عددها کاری نکرده. او هم مثل تو صبح تا شب کارش همین است که بگوید: «من یک آدم مهمم! یک آدم مهمم!» این را بگوید و از غرور به خودش باد کند. اما خیال کرده: او آدم نیست، یک قارچ است! --یک چی؟ --یک قارچ!گلِ سرخ -حالا دیگر رنگش از فرط خشم مثل گچ سفید شده‌بود: --کرورها سال است که گل‌ها خار می‌سازند و با وجود این کرورها سال است که برّه‌ها گل‌ها را می‌خورند. آن وقت هیچ مهم نیست آدم بداند پس چرا گل‌ها واسه ساختنِ خارهایی که هیچ وقتِ خدا به هیچ دردی نمی‌خورند این قدر به خودشان زحمت می‌دهند؟ جنگ میان برّه‌ها و گل‌ها هیچ مهم نیست؟ این موضوع از آن جمع زدن‌های آقا سرخ‌روئه‌یِ شکم‌گنده مهم‌تر و جدی‌تر نیست؟ اگر من گلی را بشناسم که تو همه‌ی دنیا تک است و جز رو اخترک خودم هیچ جای دیگر پیدا نمیشه و ممکن است یک روز صبح یک برّه کوچولو، مفت و مسلم، بی این که بفهمد چه‌کار دارد می‌کند به یک ضرب پاک از میان ببردش چی؟ یعنی این هم هیچ اهمیتی ندارد؟ اگر کسی گلی را دوست داشته باشد که تو کرورها و کرورها ستاره فقط یک دانه ازش هست واسه احساس وشبختی همین قدر بس است که نگاهی به آن همه ستاره بیندازد و با خودش بگوید: «گل من یک جایی میان آن ستاره‌هاست»، اما اگر برّه گل را بخورد برایش مثل این است که یکهو تمام آن ستاره‌ها پِتّی کنند و خاموش بشوند. یعنی این هم هیچ اهمیتی ندارد؟ -دیگر نتوانست چیزی بگوید و ناگهان هِق هِق کنان زد زیر گریه. - -حالا دیگر شب شده‌بود. اسباب و ابزارم را کنار انداخته‌بودم. دیگر چکش و مهره و تشنگی و مرگ به نظرم مضحک می‌آمد. رو ستاره‌ای، رو سیاره‌ای، رو سیاره‌ی من، زمین، شهریارِ کوچولویی بود که احتیاج به دلداری داشت! به آغوشش گرفتم مثل گهواره تابش دادم به‌اش گفتم: «گلی که تو دوست داری تو خطر نیست. خودم واسه گوسفندت یک پوزه‌بند می‌کشم... خودم واسه گفت یک تجیر می‌کشم... خودم...» بیش از این نمی‌دانستم چه بگویم. خودم را سخت چُلمَن و بی دست و پا حس می‌کردم. نمی‌دانستم چه‌طور باید خودم را به‌اش برسانم یا به‌اش بپیوندم...p چه دیار اسرارآمیزی است دیار اشک! - -۸ -راه شناختن آن گل را خیلی زود پیدا کردم: -تو اخترکِ شهریار کوچولو همیشه یک مشت گل‌های خیلی ساده در می‌آمده. گل‌هایی با یک ردیف گلبرگ که جای چندانی نمی‌گرفته، دست و پاگیرِ کسی نمی‌شده. صبحی سر و کله‌شان میان علف‌ها پیدا می‌شده شب از میان می‌رفته‌اند. اما این یکی یک روز از دانه‌ای جوانه زده بود که خدا می‌دانست از کجا آمده رود و شهریار کوچولو با جان و دل از این شاخکِ نازکی که به هیچ کدام از شاخک‌های دیگر نمی‌رفت مواظبت کرده‌بود. بعید بنود که این هم نوعِ تازه‌ای از بائوباب باشد اما بته خیلی زود از رشد بازماند و دست‌به‌کارِ آوردن گل شد. شهریار کوچولو که موقعِ نیش زدن آن غنچه‌ی بزرگ حاضر و ناظر بود به دلش افتاد که باید چیز معجزه‌آسایی از آن بیرون بیاید. اما گل تو پناهِ خوابگاهِ سبزش سر فرصت دست اندکار خودآرایی بود تا هرچه زیباتر جلوه‌کند. رنگ‌هایش را با وسواس تمام انتخاب می‌کرد سر صبر لباس می‌پوشید و گلبرگ‌ها را یکی یکی به خودش می‌بست. دلش نمی‌خواست مثل شقایق‌ها با جامه‌ی مچاله و پر چروک بیرون بیاید. - -شهریار کوچولو و گلِ سرخنمی‌خواست جز در اوج درخشندگی زیبائیش رو نشان بدهد!... - -هوه، بله عشوه‌گری تمام عیار بود! آرایشِ پر راز و رمزش روزها و روزها طول کشید تا آن که سرانجام یک روز صبح درست با بر آمدن آفتاب نقاب از چهره برداشت و با این که با آن همه دقت و ظرافت روی آرایش و پیرایش خودش کار کرده بود خمیازه‌کشان گفت: --اوه، تازه همین حالا از خواب پا شده‌ام... عذر می‌خواهم که موهام این جور آشفته‌است... - -شهریار کوچولو نتوانست جلو خودش را بگیرد و از ستایش او خودداری کند: --وای چه‌قدر زیبائید! -گل به نرمی گفت: --چرا که نه؟ من و آفتاب تو یک لحظه به دنیا آمدیم... -شهریار کوچولو شستش خبردار شد که طرف آن‌قدرها هم اهل شکسته‌نفسی نیست اما راستی که چه‌قدر هیجان انگیز بود! --به نظرم وقت خوردن ناشتایی است. بی زحمت برایم فکری بکنید. -و شهریار کوچولوی مشوش و در هم یک آبپاش آب خنک آورده به گل داده‌بود.شهریار کوچولو در حالِ تماشای گلِ سرخ -با این حساب، هنوزهیچی نشده با آن خودپسندیش که بفهمی‌نفهمی از ضعفش آب می‌خورد دل او را شکسته بود. مثلا یک روز که داشت راجع به چهارتا خارش حرف می‌زد یک‌هو در آمده بود که:ببر و گلِ سرخ --نکند ببرها با آن چنگال‌های تیزشان بیایند سراغم! -شهریار کوچولو ازش ایراد گرفته‌بود که: --تو اخترک من ببر به هم نمی‌رسد. تازه ببرها که علف‌خوار نیستند. -گل به گلایه جواب داده بود: --من که علف نیستم. -و شهریار کوچولو گفته بود: --عذر می‌خواهم... --من از ببرها هیچ ترسی ندارم اما از جریان هوا وحشت می‌کنم. تو دستگاه‌تان تجیر به هم نمی‌رسد؟شهریار کوچولو در حالِ پوشاندنِ گلِ سرخ -شهریار کوچولو تو دلش گفت: «وحشت از جریان هوا... این که واسه یک گیاه تعریفی ندارد... چه مرموز است این گل!» --شب مرا بگذارید زیر یک سرپوش. این جا هواش خیلی سرد است. چه جای بدی افتادم! جایی که پیش از این بودم...شهریار کوچولو در حالِ گذاشتنِ سرپوش روی گلِ سرخ -اما حرفش را خورده بود. آخر، آمدنا هنوز به شکل دانه بود. امکان نداشت توانسته‌باشد دنیاهای دیگری را بشناسد. شرم‌سار از این که گذاشته بود سر به هم بافتن دروغی به این آشکاری مچش گیربیفتد دو سه بار سرفه کرده بود تا اهمالِ شهریار کوچولو را به‌اش یادآور شود: --تجیر کو پس؟ --داشتم می‌رفتم اما شما داشتید صحبت می‌کردید! -و با وجود این زورکی بنا کرده‌بود به سرفه کردن تا او احساس پشیمانی کند. - -به این ترتیب شهریار کوچولو با همه‌ی حسن نیّتی که از عشقش آب می‌خورد همان اول کار به او بد گمان شده‌بود. حرف‌های بی سر و تهش را جدی گرفته‌بود و سخت احساس شوربختی می‌کرد. - -یک روز دردِدل کنان به من گفت: -حقش بود به حرف‌هاش گوش نمی‌دادم. هیچ وقت نباید به حرف گل‌ها گوش داد. گل را فقط باید بوئید و تماشا کرد. گلِ من تمامِ اخترکم را معطر می‌کرد گیرم من بلد نبودم چه‌جوری از آن لذت ببرم. قضیه‌ی چنگال‌های ببر که آن جور دَمَغم کرده‌بود می‌بایست دلم را نرم کرده باشد...» - -یک روز دیگر هم به من گفت: «آن روزها نتوانستم چیزی بفهمم. من بایست روی کرد و کارِ او در باره‌اش قضاوت می‌کردم نه روی گفتارش... عطرآگینم می‌کرد. دلم را روشن می‌کرد. نمی‌بایست ازش بگریزم. می‌بایست به مهر و محبتی که پشتِ آن کلک‌های معصومانه‌اش پنهان بود پی می‌بردم. گل‌ها پُرَند از این جور تضادها. اما خب دیگر، من خام‌تر از آن بودم که راهِ دوست داشتنش را بدانم!». - -۹ -گمان کنم شهریار کوچولو برای فرارش از مهاجرت پرنده‌های وحشی استفاده کرد. - -گمان کنم شهریار کوچولو برای فرارش از مهاجرت پرنده‌های وحشی استفاده کرد. -صبح روز حرکت، اخترکش را آن جور که باید مرتب کرد، آتش‌فشان‌های فعالش را با دقت پاک و دوده‌گیری کرد: شهریار کوچولو در حالِ پاک کردنِ آتش‌فشان.دو تا آتش‌فشان فعال داشت که برای گرم کردن ناشتایی خیلی خوب بود. یک آتش‌فشان خاموش هم داشت. منتها به قول خودش «آدم کف دستش را که بو نکرده!» این بود که آتش‌فشان خاموش را هم پاک کرد. آتش‌فشان که پاک باشد مرتب و یک هوا می‌سوزد و یک‌هو گُر نمی‌زند. آتش‌فشان هم عین‌هو بخاری یک‌هو اَلُو می‌زند. البته ما رو سیاره‌مان زمین کوچک‌تر از آن هستیم که آتش‌فشان‌هامان را پاک و دوده‌گیری کنیم و برای همین است که گاهی آن جور اسباب زحمت‌مان می‌شوند. - -شهریار کوچولو با دل‌ِگرفته آخرین نهال‌های بائوباب را هم ریشه‌کن کرد. فکر می‌کرد دیگر هیچ وقت نباید برگردد. اما آن روز صبح گرچه از این کارهای معمولیِ هر روزه کُلّی لذت برد موقعی که آخرین آب را پای گل داد و خواست بگذاردش زیرِ سرپوش چیزی نمانده‌بود که اشکش سرازیر شود. -به گل گفت: -خدا نگهدار! -اما او جوابش را نداد. -دوباره گفت: -خدا نگهدار! -گل سرفه‌کرد، گیرم این سرفه اثر چائیدن نبود. بالاخره به زبان آمد و گفت: --من سبک مغز بودم. ازت عذر می‌خواهم. سعی کن خوشبخت باشی. -از این که به سرکوفت و سرزنش‌های همیشگی برنخورد حیرت کرد و سرپوش به دست هاج‌وواج ماند. از این محبتِ آرام سر در نمی‌آورد. -گل به‌اش گفت: -خب دیگر، دوستت دارم. اگر تو روحت هم از این موضوع خبردار نشد تقصیر من است. باشد، زیاد مهم نیست. اما تو هم مثل من بی‌عقل بودی... سعی کن خوشبخت بشوی... این سرپوش را هم بگذار کنار، دیگر به دردم نمی‌خورد. --آخر، باد... --آن قدرهاهم سَرمائو نیستم... هوای خنک شب برای سلامتیم خوب است. خدانکرده گُلم آخر. --آخر حیوانات... --اگر خواسته‌باشم با شب‌پره‌ها آشنا بشوم جز این که دو سه تا کرمِ حشره را تحمل کنم چاره‌ای ندارم. شب‌پره باید خیلی قشنگ باشد. جز آن کی به دیدنم می‌آید؟ تو که می‌روی به آن دور دورها. از بابتِ درنده‌ها هم هیچ کَکَم نمی‌گزد: «من هم برای خودم چنگ و پنجه‌ای دارم». -و با سادگی تمام چهارتا خارش را نشان داد. بعد گفت: --دست‌دست نکن دیگر! این کارت خلق آدم را تنگ می‌کند. حالا که تصمیم گرفته‌ای بروی برو! - -و این را گفت، چون که نمی‌خواست شهریار کوچولو گریه‌اش را ببیند. گلی بود تا این حد خودپسند... - -۱۰ -خودش را در منطقه‌ی اخترک‌های ۳۲۵، ۳۲۶، ۳۲۷، ۳۲۸، ۳۲۹ و ۳۳۰ دید. این بود که هم برای سرگرمی و هم برای چیزیادگرفتن بنا کرد یکی‌یکی‌شان را سیاحت کردن. - -اخترکِ اول مسکن پادشاهی بود که با شنلی از مخمل ارغوانی قاقم بر اورنگی بسیار ساده و در عین حال پرشکوه نشسته بود و همین که چشمش به شهریار کوچولو افتاد داد زد: --خب، این هم رعیت! -شهریار کوچولو از خودش پرسید: -او که تا حالا هیچ وقت مرا ندیده چه جوری می‌تواند بشناسدم؟ -دیگر اینش را نخوانده‌بود که دنیابرای پادشاهان به نحو عجیبی ساده شده و تمام مردم فقط یک مشت رعیت به حساب می‌آیند. - -پادشاه در سیاره‌اش -پادشاه که می‌دید بالاخره شاهِ کسی شده و از این بابت کبکش خروس می‌خواند گفت: -بیا جلو بهتر ببینیمت. شهریار کوچولو با چشم پیِ جایی گشت که بنشیند اما شنلِ قاقمِ حضرتِ پادشاهی تمام اخترک را دربرگرفته‌بود. ناچار همان طور سر پا ماند و چون سخت خسته بود به دهن‌دره افتاد. -شاه به‌اش گفت: -خمیازه کشیدن در حضرتِ سلطان از نزاکت به دور است. این کار را برایت قدغن می‌کنم. شهریار کوچولو که سخت خجل شده‌بود در آمد که: --نمی‌توانم جلوِ خودم را بگیرم. راه درازی طی‌کرده‌ام و هیچ هم نخوابیده‌ام... -پادشاه گفت: -خب خب، پس بِت امر می‌کنم خمیازه بکشی. سال‌هاست خمیازه‌کشیدن کسی را ندیده‌ام برایم تازگی دارد. یاالله باز هم خمیازه بکش. این یک امر است. -شهریار کوچولو گفت: -آخر این جوری من دست و پایم را گم می‌کنم... دیگر نمی‌توانم. -شاه گفت: -هوم! هوم! خب، پس من به‌ات امر می‌کنم که گاهی خمیازه بکشی گاهی نه. -تند و نامفهوم حرف می‌زد و انگار خلقش حسابی تنگ بود. - -پادشاه فقط دربند این بود که مطیع فرمانش باشند. در مورد نافرمانی‌ها هم هیچ نرمشی از خودش نشان نمی‌داد. یک پادشاهِ تمام عیار بود گیرم چون زیادی خوب بود اوامری که صادر می‌کرد اوامری بود منطقی. مثلا خیلی راحت در آمد که: «اگر من به یکی از سردارانم امر کنم تبدیل به یکی از این مرغ‌های دریایی بشود و یارو اطاعت نکند تقسیر او نیست که، تقصیر خودم است». -شهریار کوچولو در نهایت ادب پرسید: -اجازه می‌فرمایید بنشینم؟ -پادشاه که در نهایتِ شکوه و جلال چینی از شنل قاقمش را جمع می‌کرد گفت: -به‌ات امر می‌کنیم بنشینی. - -منتها شهریار کوچولو مانده‌بود حیران: آخر آن اخترک کوچک‌تر از آن بود که تصورش را بشود کرد. واقعا این پادشاه به چی سلطنت می‌کرد؟ گفت: -قربان عفو می‌فرمایید که ازتان سوال می‌کنم... -پادشاه با عجله گفت: -به‌ات امر می‌کنیم از ما سوال کنی. --شما قربان به چی سلطنت می‌فرمایید؟ -پادشاه خیلی ساده گفت: -به همه چی. --به همه‌چی؟ -پادشاه با حرکتی قاطع به اخترک خودش و اخترک‌های دیگر و باقی ستاره‌ها اشاره کرد. -شهریار کوچولو پرسید: -یعنی به همه‌ی این ها؟ -شاه جواب داد: -به همه‌ی این ها. -آخر او فقط یک پادشاه معمولی نبود که، یک پادشاهِ جهانی بود. --آن وقت ستاره‌ها هم سربه‌فرمان‌تانند؟ -پادشاه گفت: -البته که هستند. همه‌شان بی‌درنگ هر فرمانی را اطاعت می‌کنند. ما نافرمانی را مطلقا تحمل نمی‌کنیم. - -یک چنین قدرتی شهریار کوچولو را به شدت متعجب کرد. اگر خودش چنین قدرتی می‌داشت بی این که حتا صندلیش را یک ذره تکان بدهد روزی چهل و چهار بار که هیچ روزی هفتاد بار و حتا صدبار و دویست‌بار غروب آفتاب را تماشا می‌کرد! و چون بفهمی نفهمی از یادآوریِ اخترکش که به امان خدا ول‌کرده‌بود غصه‌اش شد جراتی به خودش داد که از پادشاه درخواست محبتی بکند: --دلم می‌خواست یک غروب آفتاب تماشا کنم... در حقم التفات بفرمایید امر کنید خورشید غروب کند. --اگر ما به یک سردار امر کنیم مثل شب‌پره از این گل به آن گل بپرد یا قصه‌ی سوزناکی بنویسد یا به شکل مرغ دریایی در آید و او امریه را اجرا نکند کدام یکی‌مان مقصریم، ما یا او؟ -شهریار کوچولو نه گذاشت، نه برداشت، گفت: -شما. -پادشاه گفت: -حرف ندارد. باید از هر کسی چیزی را توقع داشت که ازش ساخته باشد. قدرت باید پیش از هر چیز به عقل متکی باشد. اگر تو به ملتت فرمان بدهی که بروند خودشان را بیندازند تو دریا انقلاب می‌کنند. حق داریم توقع اطاعت داشته باشیم چون اوامرمان عاقلانه است. -شهریار کوچولو که هیچ وقت چیزی را که پرسیده بود فراموش نمی‌کرد گفت: -غروب آفتاب من چی؟ --تو هم به غروب آفتابت می‌رسی. امریه‌اش را صادر می‌کنیم. منتها با شَمِّ حکمرانی‌مان منتظریم زمینه‌اش فراهم بشود. -شهریار کوچولو پرسید: -کِی فراهم می‌شود؟ -پادشاه بعد از آن که تقویم کَت و کلفتی را نگاه کرد جواب داد: --هوم! هوم! حدودِ... حدودِ... غروب. حدودِ ساعت هفت و چهل دقیقه... و آن وقت تو با چشم‌های خودت می‌بینی که چه‌طور فرمان ما اجرا می‌شود! - -شهریار کوچولو خمیازه کشید. از این که تماشای آفتاب غروب از کیسه‌اش رفته‌بود تاسف می‌خورد. از آن گذشته دلش هم کمی گرفته‌بود. این بود که به پادشاه گفت: --من دیگر این‌جا کاری ندارم. می‌خواهم بروم. -شاه که دلش برای داشتن یک رعیت غنج می‌زد گفت: --نرو! نرو! وزیرت می‌کنیم. --وزیرِ چی؟ --وزیرِ دادگستری! --آخر این جا کسی نیست که محاکمه بشود. -پادشاه گفت: -معلوم نیست. ما که هنوز گشتی دور قلمرومان نزده‌ایم. خیلی پیر شده‌ایم، برای کالسکه جا نداریم. پیاده‌روی هم خسته‌مان می‌کند. -شهریار کوچولو که خم شده‌بود تا نگاهی هم به آن طرف اخترک بیندازد گفت: -بَه! من نگاه کرده‌ام، آن طرف هم دیارالبشری نیست. -پادشاه به‌اش جواب داد: -خب، پس خودت را محاکمه کن. این کار مشکل‌تر هم هست. محاکمه کردن خود از محاکمه‌کردن دیگران خیلی مشکل تر است. اگر توانستی در مورد خودت قضاوت درستی بکنی معلوم می‌شود یک فرزانه‌ی تمام عیاری. -شهریار کوچولو گفت: -من هر جا باشم می‌توانم خودم را محاکمه کنم، چه احتیاجی است این جا بمانم؟ پادشاه گفت: -هوم! هوم! فکر می‌کنیم یک جایی تو اخترک ما یک موش پیر هست. صدایش را شب ها می‌شنویم. می‌توانی او را به محاکمه بکشی و گاه‌گاهی هم به اعدام محکومش کنی. در این صورت زندگی او به عدالت تو بستگی پیدا می‌کند. گیرم تو هر دفعه عفوش می‌کنی تا همیشه زیر چاق داشته باشیش. آخر یکی بیش‌تر نیست که. -شهریار کوچولو جواب داد: -من از حکم اعدام خوشم نمی‌آید. فکر می‌کنم دیگر باید بروم. -پادشاه گفت: -نه! - -اما شهریار کوچولو که آماده‌ی حرکت شده بود و ضمنا هم هیچ دلش نمی‌خواست اسباب ناراحتی سلطان پیر بشود گفت: --اگر اعلی‌حضرت مایلند اوامرشان دقیقا اجرا بشود می‌توانند فرمان خردمندانه‌ای در مورد بنده صادر بفرمایند. مثلا می‌توانند به بنده امر کنند ظرف یک دقیقه راه بیفتم. تصور می‌کنم زمینه‌اش هم آماده باشد... -چون پادشاه جوابی نداد شهریار کوچولو اول دو دل ماند اما بعد آهی کشید و به راه افتاد. -آن‌وقت پادشاه با شتاب فریاد زد: -سفیر خودمان فرمودیمت! -حالت بسیار شکوهمندی داشت. - -شهریار کوچولو همان طور که می‌رفت تو دلش می‌گفت: -این آدم بزرگ‌ها راستی راستی چه‌قدر عجیبند! - -۱۱ -اخترک دوم مسکن آدم خود پسندی بود. -خود پسند چشمش که به شهریار کوچولو افتاد از همان دور داد زد: -به‌به! این هم یک ستایشگر که دارد می‌آید مرا ببیند! - -خودپسند در سیاره‌اش -آخر برای خودپسندها دیگران فقط یک مشت ستایش‌گرند. -شهریار کوچولو گفت: -سلام! چه کلاه عجیب غریبی سرتان گذاشته‌اید! -خود پسند جواب داد: -مال اظهار تشکر است. منظورم موقعی است که هلهله‌ی ستایشگرهایم بلند می‌شود. گیرم متاسفانه تنابنده‌ای گذارش به این طرف‌ها نمی‌افتد. -شهریار کوچولو که چیزی حالیش نشده بود گفت: --چی؟ -خودپسند گفت: -دست‌هایت را بزن به هم دیگر. -شهریار کوچولو دست زد و خودپسند کلاهش را برداشت و متواضعانه از او تشکر کرد. -شهریار کوچولو با خودش گفت: «دیدنِ این تفریحش خیلی بیش‌تر از دیدنِ پادشاه‌است». و دوباره بنا کرد دست‌زدن و خودپسند با برداشتن کلاه بنا کرد تشکر کردن. - -پس از پنج دقیقه‌ای شهریار کوچولو که از این بازی یک‌نواخت خسته شده بود پرسید: -چه کار باید کرد که کلاه از سرت بیفتد؟ -اما خودپسند حرفش را نشنید. آخر آن‌ها جز ستایش خودشان چیزی را نمی‌شنوند. -از شهریار کوچولو پرسید: -تو راستی راستی به من با چشم ستایش و تحسین نگاه می‌کنی؟ --ستایش و تحسین یعنی چه؟ --یعنی قبول این که من خوش‌قیافه‌ترین و خوش‌پوش‌ترین و ثروت‌مندترین و باهوش‌ترین مرد این اخترکم. --آخر روی این اخترک که فقط خودتی و کلاهت. --با وجود این ستایشم کن. این لطف را در حق من بکن. -شهریار کوچولو نیم‌چه شانه‌ای بالا انداخت و گفت: -خب، ستایشت کردم. اما آخر واقعا چیِ این برایت جالب است؟ - -شهریار کوچولو به راه افتاد و همان طور که می‌رفت تو دلش می‌گفت: -این آدم بزرگ‌ها راستی راستی چه‌قدر عجیبند! - -۱۲ -تو اخترک بعدی می‌خواره‌ای می‌نشست. دیدار کوتاه بود اما شهریار کوچولو را به غم بزرگی فرو برد. - -می‌خواره در سیاره‌اش - -به می‌خواره که صُم‌بُکم پشت یک مشت بطری خالی و یک مشت بطری پر نشسته بود گفت: -چه کار داری می‌کنی؟ -می‌خواره با لحن غم‌زده‌ای جواب داد: -مِی می‌زنم. -شهریار کوچولو پرسید: -مِی می‌زنی که چی؟ -می‌خواره جواب داد: -که فراموش کنم. -شهریار کوچولو که حالا دیگر دلش برای او می‌سوخت پرسید: -چی را فراموش کنی؟ -می‌خواره همان طور که سرش را می‌انداخت پایین گفت: -سر شکستگیم را. -شهریار کوچولو که دلش می‌خواست دردی از او دوا کند پرسید: -سرشکستگی از چی؟ -می‌خواره جواب داد: -سرشکستگیِ می‌خواره بودنم را. -این را گفت و قال را کند و به کلی خاموش شد. و شهریار کوچولو مات و مبهوت راهش را گرفت و رفت و همان جور که می‌رفت تو دلش می‌گفت: -این آدم بزرگ‌ها راستی‌راستی چه‌قدر عجیبند! - -۱۳ -اخترک چهارم اخترک مرد تجارت‌پیشه بود. این بابا چنان مشغول و گرفتار بود که با ورود شهریار کوچولو حتا سرش را هم بلند نکرد. - -مردِ تجارت‌پیشه در سیاره‌اش -شهریار کوچولو گفت: -سلام. آتش‌سیگارتان خاموش شده. --سه و دو می‌کند پنج. پنج و هفت دوازده و سه پانزده. سلام. پانزده و هفت بیست و دو. بیست و دو و شش بیست و هشت. وقت ندارم روشنش کنم. بیست و شش و پنج سی و یک. اوف! پس جمعش می‌کند پانصدویک میلیون و ششصد و بیست و دو هزار هفتصد و سی و یک. --پانصد میلیون چی؟ --ها؟ هنوز این جایی تو؟ پانصد و یک میلیون چیز. چه می‌دانم، آن قدر کار سرم ریخته که!... من یک مرد جدی هستم و با حرف‌های هشت‌من‌نه‌شاهی سر و کار ندارم!... دو و پنج هفت... -شهریار کوچولو که وقتی چیزی می‌پرسید دیگر تا جوابش را نمی‌گرفت دست بردار نبود دوباره پرسید: --پانصد و یک میلیون چی؟ -تاجر پیشه سرش را بلند کرد: --تو این پنجاه و چهار سالی که ساکن این اخترکم همه‌اش سه بار گرفتار مودماغ شده‌ام. اولیش بیست و دو سال پیش یک سوسک بود که خدا می‌داند از کدام جهنم پیدایش شد. صدای وحشت‌ناکی از خودش در می‌آورد که باعث شد تو یک جمع چهار جا اشتباه کنم. دفعه‌ی دوم یازده سال پیش بود که استخوان درد بی‌چاره‌ام کرد. من ورزش نمی‌کنم. وقت یللی‌تللی هم ندارم. آدمی هستم جدی... این هم بار سومش!... کجا بودم؟ پانصد و یک میلیون و... --این همه میلیون چی؟ -تاجرپیشه فهمید که نباید امید خلاصی داشته باشد. گفت: -میلیون‌ها از این چیزهای کوچولویی که پاره‌ای وقت‌ها تو هوا دیده می‌شود. --مگس؟ --نه بابا. این چیزهای کوچولوی براق. --زنبور عسل؟ --نه بابا! همین چیزهای کوچولوی طلایی که وِلِنگارها را به عالم هپروت می‌برد. گیرم من شخصا آدمی هستم جدی که وقتم را صرف خیال‌بافی نمی‌کنم. --آها، ستاره؟ --خودش است: ستاره. --خب پانصد میلیون ستاره به چه دردت می‌خورد؟ --پانصد و یک میلیون و ششصد و بیست و دو هزار و هفتصد و سی و یکی. من جدیّم و دقیق. --خب، به چه دردت می‌خورند؟ --به چه دردم می‌خورند؟ --ها. --هیچی تصاحب‌شان می‌کنم. --ستاره‌ها را؟ --آره خب. --آخر من به یک پادشاهی برخوردم که... --پادشاه‌ها تصاحب نمی‌کنند بل‌که به‌اش «سلطنت» می‌کنند. این دو تا با هم خیلی فرق دارد. --خب، حالا تو آن‌ها را تصاحب می‌کنی که چی بشود؟ --که دارا بشوم. --خب دارا شدن به چه کارت می‌خورد؟ --به این کار که، اگر کسی ستاره‌ای پیدا کرد من ازش بخرم. -شهریار کوچولو با خودش گفت: «این بابا هم منطقش یک خرده به منطق آن دائم‌الخمره می‌بَرَد.» با وجود این باز ازش پرسید: --چه جوری می‌شود یک ستاره را صاحب شد؟ -تاجرپیشه بی درنگ با اَخم و تَخم پرسید: -این ستاره‌ها مال کی‌اند؟ --چه می‌دانم؟ مال هیچ کس. --پس مال منند، چون من اول به این فکر افتادم. --همین کافی است؟ --البته که کافی است. اگر تو یک جواهر پیدا کنی که مال هیچ کس نباشد می‌شود مال تو. اگر جزیره‌ای کشف کنی که مال هیچ کس نباشد می‌شود مال تو. اگر فکری به کله‌ات بزند که تا آن موقع به سر کسی نزده به اسم خودت ثبتش می‌کنی و می‌شود مال تو. من هم ستاره‌ها را برای این صاحب شده‌ام که پیش از من هیچ کس به فکر نیفتاده بود آن‌ها را مالک بشود. -شهریار کوچولو گفت: -این ها همه‌اش درست. منتها چه کارشان می‌کنی؟ -تاجر پیشه گفت: -اداره‌شان می‌کنم، همین جور می‌شمارم‌شان و می‌شمارم‌شان. البته کار مشکلی است ولی خب دیگر، من آدمی هستم بسیار جدی. -شهریار کوچولو که هنوز این حرف تو کَتَش نرفته‌بود گفت: --اگر من یک شال گردن ابریشمی داشته باشم می‌توانم بپیچم دور گردنم با خودم ببرمش. اگر یک گل داشته باشم می‌توانم بچینم با خودم ببرمش. اما تو که نمی‌توانی ستاره‌ها را بچینی! --نه. اما می‌توانم بگذارم‌شان تو بانک. --اینی که گفتی یعنی چه؟ --یعنی این که تعداد ستاره‌هایم را رو یک تکه کاغذ می‌نویسم می‌گذارم تو کشو درش را قفل می‌کنم. --همه‌اش همین؟ --آره همین کافی است. - -شهریار کوچولو فکر کرد «جالب است. یک خرده هم شاعرانه است. اما کاری نیست که آن قدرها جدیش بشود گرفت». آخر تعبیر او از چیزهای جدی با تعبیر آدم‌های بزرگ فرق می‌کرد. -باز گفت: -من یک گل دارم که هر روز آبش می‌دهم. سه تا هم آتش‌فشان دارم که هفته‌ای یک بار پاک و دوده‌گیری‌شان می‌کنم. آخر آتش‌فشان خاموشه را هم پاک می‌کنم. آدم کفِ دستش را که بو نکرده! رو این حساب، هم برای آتش‌فشان‌ها و هم برای گل این که من صاحب‌شان باشم فایده دارد. تو چه فایده‌ای به حال ستاره‌ها داری؟ - -تاجرپیشه دهن باز کرد که جوابی بدهد اما چیزی پیدا نکرد. و شهریار کوچولو راهش را گرفت و رفت و همان جور که می‌رفت تو دلش می‌گفت: -این آدم بزرگ‌ها راستی راستی چه‌قدر عجیبند! - -۱۴ -اخترکِ پنجم چیز غریبی بود. از همه‌ی اخترک‌های دیگر کوچک‌تر بود، یعنی فقط به اندازه‌ی یک فانوس پایه‌دار و یک فانوس‌بان جا داشت. - -فانوس‌بان در حالِ روشن کردنِ فانوس در سیاره‌اش -شهریار کوچولو از این راز سر در نیاورد که یک جا میان آسمان خدا تو اخترکی که نه خانه‌ای روش هست نه آدمی، حکمت وجودی یک فانوس و یک فانوس‌بان چه می‌تواند باشد. با وجود این تو دلش گفت: --خیلی احتمال دارد که این بابا عقلش پاره‌سنگ ببرد. اما به هر حال از پادشاه و خودپسند و تاجرپیشه و مسته کم عقل‌تر نیست. دست کم کاری که می‌کند یک معنایی دارد. فانوسش را که روشن می‌کند عین‌هو مثل این است که یک ستاره‌ی دیگر یا یک گل به دنیا می‌آورد و خاموشش که می‌کند پنداری گل یا ستاره‌ای را می‌خواباند. سرگرمی زیبایی است و چیزی که زیبا باشد بی گفت‌وگو مفید هم هست. - -وقتی رو اخترک پایین آمد با ادب فراوان به فانوس‌بان سلام کرد: --سلام. واسه چی فانوس را خاموش کردی؟ --دستور است. صبح به خیر! --دستور چیه؟ --این است که فانوسم را خاموش کنم. شب خوش! -و دوباره فانوس را روشن کرد. --پس چرا روشنش کردی باز؟ -فانوس‌بان جواب داد: -خب دستور است دیگر. -شهریار کوچولو گفت: -اصلا سر در نمیارم. -فانوس‌بان گفت: -چیز سر در آوردنی‌یی توش نیست که. دستور دستور است. روز بخیر! -و باز فانوس را خاموش کرد. -بعد با دستمال شطرنجی قرمزی عرق پیشانیش را خشکاند و گفت: --کار جان‌فرسایی دارم. پیش‌تر ها معقول بود: صبح خاموشش می‌کردم و شب که می‌شد روشنش می‌کردم. باقی روز را فرصت داشتم که استراحت کنم و باقی شب را هم می‌توانستم بگیرم بخوابم... --بعدش دستور عوض شد؟ -فانوس‌بان گفت: -دستور عوض نشد و بدبختی من هم از همین جاست: سیاره سال به سال گردشش تندتر و تندتر شده اما دستور همان جور به قوت خودش باقی مانده است. --خب؟ --حالا که سیاره دقیقه‌ای یک بار دور خودش می‌گردد دیگر من یک ثانیه هم فرصت استراحت ندارم: دقیقه‌ای یک بار فانوس را روشن می‌کنم یک بار خاموش. --چه عجیب است! تو اخترک تو شبانه روز همه‌اش یک دقیقه طول می‌کشد! -فانوس‌بان گفت: -هیچ هم عجیب نیست. الان یک ماه تمام است که ما داریم با هم اختلاط می‌کنیم. --یک ماه؟ --آره. سی دقیقه. سی روز! شب خوش! -و دوباره فانوس را روشن کرد. - -شهریار کوچولو به فانوس‌بان نگاه کرد و حس کرد این مرد را که تا این حد به دستور وفادار است دوست می‌دارد. یادِ آفتاب‌غروب‌هایی افتاد که آن وقت‌ها خودش با جابه‌جا کردن صندلیش دنبال می‌کرد. برای این که دستی زیر بال دوستش کرده باشد گفت: --می‌دانی؟ یک راهی بلدم که می‌توانی هر وقت دلت بخواهد استراحت کنی. -فانوس‌بان گفت: -آرزوش را دارم. -آخر آدم می‌تواند هم به دستور وفادار بماند هم تنبلی کند. -شهریار کوچولو دنبال حرفش را گرفت و گفت: --تو، اخترکت آن‌قدر کوچولوست که با سه تا شلنگ برداشتن می‌توانی یک بار دور بزنیش. اگر آن اندازه که لازم است یواش راه بروی می‌توانی کاری کنی که مدام تو آفتاب بمانی. پس هر وقت خواستی استراحت کنی شروع می‌کنی به راه‌رفتن... به این ترتیب روز هرقدر که بخواهی برایت کِش می‌آید. -فانوس‌بان گفت: -این کار گرهی از بدبختی من وا نمی‌کند. تنها چیزی که تو زندگی آرزویش را دارم یک چرت خواب است. -شهریار کوچولو گفت: -این یکی را دیگر باید بگذاری در کوزه. -فانوس‌بان گفت: -آره. باید بگذارمش در کوزه... صبح بخیر! -و فانوس را خاموش کرد. - -شهریار کوچولو میان راه با خودش گفت: گرچه آن‌های دیگر، یعنی خودپسنده و تاجره اگر این را می‌دیدند دستش می‌انداختند و تحقیرش می‌کردند، هر چه نباشد کار این یکی به نظر من کم‌تر از کار آن‌ها بی‌معنی و مضحک است. شاید به خاطر این که دست کم این یکی به چیزی جز خودش مشغول است. - -از حسرت آهی کشید و همان طور با خودش گفت: --این تنها کسی بود که من می‌توانستم باش دوست بشوم. گیرم اخترکش راستی راستی خیلی کوچولو است و دو نفر روش جا نمی‌گیرند. - -چیزی که جرات اعترافش را نداشت حسرت او بود به این اخترک کوچولویی که، بخصوص، به هزار و چهارصد و چهل بار غروب آفتاب در هر بیست و چهار ساعت برکت پیدا کرده بود. - -۱۵ -اخترک ششم اخترکی بود ده بار فراخ‌تر، و آقاپیره‌ای توش بود که کتاب‌های کَت‌وکلفت می‌نوشت. - -جغرافی‌دان در سیاره‌اش -همین که چشمش به شهریار کوچولو افتاد با خودش گفت: --خب، این هم یک کاشف! -شهریار کوچولو لب میز نشست و نفس نفس زد. نه این که راه زیادی طی کرده بود؟ -آقا پیره به‌اش گفت: -از کجا می‌آیی؟ -شهریار کوچولو گفت: -این کتاب به این کلفتی چی است؟ شما این‌جا چه‌کار می‌کنید؟ -آقا پیره گفت: -من جغرافی‌دانم. --جغرافی‌دان چه باشد؟ --جغرافی‌دان به دانشمندی می‌گویند که جای دریاها و رودخانه‌ها و شهرها و کوه‌ها و بیابان‌ها را می‌داند. -شهریار کوچولو گفت: -محشر است. یک کار درست و حسابی است. -و به اخترک جغرافی‌دان، این سو و آن‌سو نگاهی انداخت. تا آن وقت اخترکی به این عظمت ندیده‌بود. --اخترک‌تان خیلی قشنگ است. اقیانوس هم دارد؟ -جغرافی‌دان گفت: -از کجا بدانم؟ -شهریار کوچولو گفت: -عجب! (بد جوری جا خورده بود) کوه چه‌طور؟ -جغرافی‌دان گفت: -از کجا بدانم؟ --شهر، رودخانه، بیابان؟ -جغرافی‌دان گفت: از این‌ها هم خبری ندارم. --آخر شما جغرافی‌دانید؟ -جغرافی‌دان گفت: -درست است ولی کاشف که نیستم. من حتا یک نفر کاشف هم ندارم. کار جغرافی‌دان نیست که دوره‌بیفتد برود شهرها و رودخانه‌ها و کوه‌ها و دریاها و اقیانوس‌ها و بیابان‌ها را بشمرد. مقام جغرافی‌دان برتر از آن است که دوره بیفتد و ول‌بگردد. اصلا از اتاق کارش پا بیرون نمی‌گذارد بلکه کاشف‌ها را آن تو می‌پذیرد ازشان سوالات می‌کند و از خاطرات‌شان یادداشت بر می‌دارد و اگر خاطرات یکی از آن‌ها به نظرش جالب آمد دستور می‌دهد روی خُلقیات آن کاشف تحقیقاتی صورت بگیرد. --برای چه؟ --برای این که اگر کاشفی گنده‌گو باشد کار کتاب‌های جغرافیا را به فاجعه می‌کشاند. هکذا کاشفی که اهل پیاله باشد. --آن دیگر چرا؟ -b-چون آدم‌های دائم‌الخمر همه چیز را دوتا می‌بینند. آن وقت جغرافی‌دان برمی‌دارد جایی که یک کوه -بیشتر نیست می‌نویسد دو کوه. -شهریار کوچولو گفت: -پس من یک بابایی را می‌شناسم که کاشف هجوی از آب در می‌آید. --بعید نیست. بنابراین، بعد از آن که کاملا ثابت شد پالان کاشف کج نیست تحقیقاتی هم روی کشفی که کرده انجام می‌گیرد. --یعنی می‌روند می‌بینند؟ --نه، این کار گرفتاریش زیاد است. از خود کاشف می‌خواهند دلیل بیاورد. مثلا اگر پای کشف یک کوه بزرگ در میان بود ازش می‌خواهند سنگ‌های گنده‌ای از آن کوه رو کند. -جغرافی‌دان ناگهان به هیجان در آمد و گفت: -راستی تو داری از راه دوری می‌آیی! تو کاشفی! باید چند و چون اخترکت را برای من بگویی. -و با این حرف دفتر و دستکش را باز کرد و مدادش را تراشید. معمولا خاطرات کاشف‌ها را اول بامداد یادداشت می‌کنند و دست نگه می‌دارند تا دلیل اقامه کند، آن وقت با جوهر می‌نویسند. -گفت: -خب؟ -شهریار کوچولو گفت: -اخترک من چیز چندان جالبی ندارد. آخر خیلی کوچک است. سه تا آتش‌فشان دارم که دوتاش فعال است یکیش خاموش. اما، خب دیگر، آدم کف دستش را که بو نکرده. -جغرافی‌دان هم گفت: -آدم چه می‌داند چه پیش می‌آید. --یک گل هم دارم. --نه، نه، ما دیگر گل ها را یادداشت نمی‌کنیم. --چرا؟ گل که زیباتر است. --برای این که گل‌ها فانی‌اند. --فانی یعنی چی؟ -جغرافی‌دان گفت: -کتاب‌های جغرافیا از کتاب‌های دیگر گران‌بهاترست و هیچ وقت هم از اعتبار نمی‌افتد. بسیار به ندرت ممکن است یک کوه جا عوض کند. بسیار به ندرت ممکن است آب یک اقیانوس خالی شود. ما فقط چیزهای پایدار را می‌نویسیم. -شهریار کوچولو تو حرف او دوید و گفت: -اما آتش‌فشان‌های خاموش می‌توانند از نو بیدار بشوند. فانی را نگفتید یعنی چه؟ -جغرافی‌دان گفت: -آتش‌فشان چه روشن باشد چه خاموش برای ما فرقی نمی‌کند. آن‌چه به حساب می‌آید خود کوه است که تغییر پیدا نمی‌کند. -شهریار کوچولو که تو تمام عمرش وقتی چیزی از کسی می‌پرسید دیگر دست بردار نبود دوباره سوال کرد: -فانی یعنی چه؟ --یعنی چیزی که در آینده تهدید به نابودی شود. --گل من هم در آینده نابود می‌شود؟ --البته که می‌شود. -شهریار کوچولو در دل گفت: «گل من فانی است و جلو دنیا برای دفاع از خودش جز چهارتا خار هیچی ندارد، و آن وقت مرا بگو که او را توی اخترکم تک و تنها رها کرده‌ام!» -این اولین باری بود که دچار پریشانی و اندوه می‌شد اما توانست به خودش مسلط بشود. پرسید: -شما به من دیدن کجا را توصیه می‌کنید؟ -جغرافی‌دان به‌اش جواب داد: -سیاره‌ی زمین. شهرت خوبی دارد... - -و شهریار کوچولو هم چنان که به گلش فکر می‌کرد به راه افتاد. - -۱۶ -لاجرم، زمین، سیاره‌ی هفتم شد. - -زمین، فلان و بهمان سیاره نیست. رو پهنه‌ی زمین یک‌صد و یازده پادشاه (البته بامحاسبه‌ی پادشاهان سیاه‌پوست)، هفت هزار جغرافی‌دان، نه‌صد هزار تاجرپیشه، پانزده کرور می‌خواره و شش‌صد و بیست و دو کرور خودپسند و به عبارت دیگر حدود دو میلیارد آدم بزرگ زندگی می‌کند. برای آن‌که از حجم زمین مقیاسی به دست‌تان بدهم بگذارید به‌تان بگویم که پیش از اختراع برق مجبور بودند در مجموع شش قاره‌ی زمین وسایل زندگیِ لشکری جانانه شامل یکصد و شصت و دو هزار و پانصد و یازده نفر فانوس‌بان را تامین کنند. - -روشن شدن فانوس‌ها از دور خیلی باشکوه بود. حرکات این لشکر مثل حرکات یک باله‌ی تو اپرا مرتب و منظم بود. اول از همه نوبت فانوس‌بان‌های زلاندنو و استرالیا بود. این‌ها که فانوس‌هاشان را روشن می‌کردند، می‌رفتند می‌گرفتند می‌خوابیدند آن وقت نوبت فانوس‌بان‌های چین و سیبری می‌رسید که به رقص درآیند. بعد، این‌ها با تردستی تمام به پشت صحنه می‌خزیدند و جا را برای فانوس‌بان‌های ترکیه و هفت پَرکَنِه‌ی هند خالی می کردند. بعد نوبت به فانوس‌بان‌های آمریکای‌جنوبی می‌شد. و آخر سر هم نوبت فانوس‌بان‌های افریقا و اروپا می‌رسد و بعد نوبت فانوس‌بان‌های آمریکای شمالی بود. و هیچ وقتِ خدا هم هیچ‌کدام این‌ها در ترتیب ورودشان به صحنه دچار اشتباه نمی‌شدند. چه شکوهی داشت! میان این جمع عظیم فقط نگه‌بانِ تنها فانوسِ قطب شمال و همکارش نگه‌بانِ تنها فانوسِ قطب جنوب بودند که عمری به بطالت و بی‌هودگی می‌گذراندند: آخر آن‌ها سالی به سالی همه‌اش دو بار کار می‌کردند. - -۱۷ -آدمی که اهل اظهار لحیه باشد بفهمی نفهمی می‌افتد به چاخان کردن. من هم تو تعریف قضیه‌ی فانوس‌بان‌ها برای شما آن‌قدرهاروراست نبودم. می‌ترسم به آن‌هایی که زمین ما را نمی‌سناسند تصور نادرستی داده باشم. انسان‌ها رو پهنه‌ی زمین جای خیلی کمی را اشغال می‌کنند. اگر همه‌ی دو میلیارد نفری که رو کره‌ی زمین زندگی می‌کنند بلند بشوند و مثل موقعی که به تظاهرات می‌روند یک خورده جمع و جور بایستند راحت و بی‌درپسر تو میدانی به مساحت بیست میل در بیست میل جا می‌گیرند. همه‌ی جامعه‌ی بشری را می‌شود یک‌جا روی کوچک‌ترین جزیره‌ی اقیانوس آرام کُپه کرد. - -البته گفت‌وگو ندارد که آدم بزرگ‌ها حرف‌تان را باور نمی‌کنند. آخر تصور آن‌ها این است که کلی جا اشغال کرده‌اند، نه این‌که مثل بائوباب‌ها خودشان را خیلی مهم می‌بینند؟ بنابراین به‌شان پیش‌نهاد می‌کنید که بنشینند حساب کنند. آن‌ها هم که عاشق اعداد و ارقامند، پس این پیش‌نهاد حسابی کیفورشان می‌کند. اما شما را به خدا بی‌خودی وقت خودتان را سر این جریمه‌ی مدرسه به هدر ندهید. این کار دو قاز هم نمی‌ارزد. به من که اطمینان دارید. شهریار کوچولو پاش که به زمین رسید از این که دیارالبشری دیده نمی‌شد سخت هاج و واج ماند. - -شهریار کوچولو وسطِ کویر -تازه داشت از این فکر که شاید سیاره را عوضی گرفته ترسش بر می‌داشت که چنبره‌ی مهتابی رنگی رو ماسه‌ها جابه‌جا شد.شهریار کوچولو و مار -شهریار کوچولو همین‌جوری سلام کرد. -مار گفت: -سلام. -شهریار کوچولو پرسید: -رو چه سیاره‌ای پایین آمده‌ام؟ -مار جواب داد: -رو زمین تو قاره‌ی آفریقا. --عجب! پس رو زمین انسان به هم نمی‌رسد؟ -مار گفت: -این‌جا کویر است. تو کویر کسی زندگی نمی‌کند. زمین بسیار وسیع است. -شهریار کوچولو رو سنگی نشست و به آسمان نگاه کرد. گفت: -به خودم می‌گویم ستاره‌ها واسه این روشنند که هرکسی بتواند یک روز مال خودش را پیدا کند!... اخترک مرا نگاه! درست بالا سرمان است... اما چه‌قدر دور است! -مار گفت: -قشنگ است. این‌جا آمده‌ای چه کار؟ -شهریار کوچولو گفت: -با یک گل بگومگویم شده. -مار گفت: -عجب! -و هر دوشان خاموش ماندند. -دست آخر شهریار کوچولو درآمد که: -آدم‌ها کجاند؟ آدم تو کویر یک خرده احساس تنهایی می‌کند. -مار گفت: -پیش آدم‌ها هم احساس تنهایی می‌کنی. -شهریار کوچولو مدت درازی تو نخ او رفت و آخر سر به‌اش گفت: -تو چه جانور بامزه‌ای هستی! مثل یک انگشت، باریکی. -مار گفت: -عوضش از انگشت هر پادشاهی مقتدرترم. -شهریار کوچولو لب‌خندی زد و گفت: -نه چندان... پا هم که نداری. حتا راه هم نمی‌تونی بری... --من می‌تونم تو را به چنان جای دوری ببرم که با هیچ کشتی‌یی هم نتونی بری. -مار این را گفت و دور قوزک پای شهریار کوچولو پیچید. عین یک خلخال طلا. و باز درآمد که: -هر کسی را لمس کنم به خاکی که ازش درآمده بر می‌گردانم اما تو پاکی و از یک سیّاره‌ی دیگر آمده‌ای... -شهریار کوچولو جوابی بش نداد. --تو رو این زمین خارایی آن‌قدر ضعیفی که به حالت رحمم می‌آید. روزی‌روزگاری اگر دلت خیلی هوای اخترکت را کرد بیا من کمکت کنم... من می‌توانم... -شهریار کوچولو گفت: -آره تا تهش را خواندم. اما راستی تو چرا همه‌ی حرف‌هایت را به صورت معما درمی‌آری؟ - -مار گفت: -حلّال همه‌ی معماهام من. -و هر دوشان خاموش شدند. - -۱۸ -شهریار کوچولو کویر را از پاشنه درکرد و جز یک گل به هیچی برنخورد: یک گل سه گل‌برگه. یک گلِ ناچیز. - -یک گُل وسطِ کویر - -شهریار کوچولو گفت: -سلام. -گل گفت: -سلام. -شهریار کوچولو با ادب پرسید: -آدم‌ها کجاند؟ -گل روزی روزگاری عبور کاروانی را دیده‌بود. این بود که گفت: -آدم‌ها؟ گمان کنم ازشان شش هفت تایی باشد. سال‌ها پیش دیدم‌شان. منتها خدا می‌داند کجا می‌شود پیداشان کرد. باد این‌ور و آن‌ور می‌بَرَدشان؛ نه این که ریشه ندارند؟ بی‌ریشگی هم حسابی اسباب دردسرشان شده. -شهریار کوچولو گفت: -خداحافظ. -گل گفت: -خداحافظ. - -۱۹ -از کوه بلندی بالا رفت. - -شهریار کوچولو بر قله‌ی کوهِ بلند -تنها کوه‌هایی که به عمرش دیده بود سه تا آتش‌فشان‌های اخترک خودش بود که تا سر زانویش می‌رسید و از آن یکی که خاموش بود جای چارپایه استفاده می‌کرد. این بود که با خودش گفت: «از سر یک کوه به این بلندی می‌توانم به یک نظر همه‌ی سیاره و همه‌ی آدم‌ها را ببینم...» اما جز نوکِ تیزِ صخره‌های نوک‌تیز چیزی ندید. -همین جوری گفت: -سلام. -طنین به‌اش جواب داد: -سلام... سلام... سلام... -شهریار کوچولو گفت: -کی هستید شما؟ -طنین به‌اش جواب داد: -کی هستید شما... کی هستید شما... کی هستید شما... -گفت: -با من دوست بشوید. من تک و تنهام. -طنین به‌اش جواب داد: -من تک و تنهام... من تک و تنهام... من تک و تنهام... -آن‌وقت با خودش فکر کرد: «چه سیاره‌ی عجیبی! خشک‌ِخشک و تیزِتیز و شورِشور. این آدم‌هاش که یک ذره قوه‌ی تخیل ندارند و هر چه را بشنوند عینا تکرار می‌کنند... تو اخترک خودم گلی داشتم که همیشه اول او حرف می‌زد...» - -۲۰ -اما سرانجام، بعد از مدت‌ها راه رفتن از میان ریگ‌ها و صخره‌ها و برف‌ها به جاده‌ای برخورد. و هر جاده‌ای یک‌راست می‌رود سراغ آدم‌ها. -گفت: -سلام. -و مخاطبش گلستان پرگلی بود. - -شهریار کوچولو در گلستانِ پرگل - -گل‌ها گفتند: -سلام. -شهریار کوچولو رفت تو بحرشان. همه‌شان عین گل خودش بودند. حیرت‌زده ازشان پرسید: -شماها کی هستید؟ -گفتند: -ما گل سرخیم. - -آهی کشید و سخت احساس شوربختی کرد. گلش به او گفته بود که از نوع او تو تمام عالم فقط همان یکی هست و حالا پنج‌هزارتا گل، همه مثل هم، فقط تو یک گلستان! فکر کرد: «اگر گل من این را می‌دید بدجور از رو می‌رفت. پشت سر هم بنا می‌کرد سرفه‌کردن و، برای این‌که از هُوشدن نجات پیدا کند خودش را به مردن می‌زد و من هم مجبور می‌شدم وانمود کنم به پرستاریش، وگرنه برای سرشکسته کردنِ من هم شده بود راستی راستی می‌مرد...» و باز تو دلش گفت: «مرا باش که فقط بایک دانه گل خودم را دولت‌مندِ عالم خیال می‌کردم در صورتی‌که آن‌چه دارم فقط یک گل معمولی است. با آن گل و آن سه تا آتش‌فشان که تا سرِ زانومَند و شاید هم یکی‌شان تا ابد خاموش بماند شهریارِ چندان پُرشوکتی به حساب نمی‌آیم.» - -شهریار کوچولو در حالِ احساسِ شوربختی -رو سبزه‌ها دراز شد و حالا گریه نکن کی گریه‌کن. - -۲۱ -آن وقت بود که سر و کله‌ی روباه پیدا شد. - -شهریار کوچولو و روباه - -روباه گفت: -سلام. -شهریار کوچولو برگشت اما کسی را ندید. با وجود این با ادب تمام گفت: -سلام. -صداگفت: -من این‌جام، زیر درخت سیب... -شهریار کوچولو گفت: -کی هستی تو؟ عجب خوشگلی! -روباه گفت: -یک روباهم من. -شهریار کوچولو گفت: -بیا با من بازی کن. نمی‌دانی چه قدر دلم گرفته... -روباه گفت: -نمی‌توانم بات بازی کنم. هنوز اهلیم نکرده‌اند آخر. -شهریار کوچولو آهی کشید و گفت: -معذرت می‌خواهم. -اما فکری کرد و پرسید: -اهلی کردن یعنی چه؟ -روباه گفت: -تو اهل این‌جا نیستی. پی چی می‌گردی؟ -شهریار کوچولو گفت: -پی آدم‌ها می‌گردم. نگفتی اهلی کردن یعنی چه؟ -روباه گفت: -آدم‌ها تفنگ دارند و شکار می‌کنند. اینش اسباب دلخوری است! اما مرغ و ماکیان هم پرورش می‌دهند و خیرشان فقط همین است. تو پی مرغ می‌کردی؟ -شهریار کوچولو گفت: -نَه، پیِ دوست می‌گردم. اهلی کردن یعنی چی؟ -روباه گفت: -یک چیزی است که پاک فراموش شده. معنیش ایجاد علاقه کردن است. --ایجاد علاقه کردن؟ -روباه گفت: -معلوم است. تو الان واسه من یک پسر بچه‌ای مثل صد هزار پسر بچه‌ی دیگر. نه من هیچ احتیاجی به تو دارم نه تو هیچ احتیاجی به من. من هم واسه تو یک روباهم مثل صد هزار روباه دیگر. اما اگر منو اهلی کردی هر دوتامان به هم احتیاج پیدا می‌کنیم. تو واسه من میان همه‌ی عالم موجود یگانه‌ای می‌شوی من واسه تو. -شهریار کوچولو گفت: -کم‌کم دارد دستگیرم می‌شود. یک گلی هست که گمانم مرا اهلی کرده باشد. -روباه گفت: -بعید نیست. رو این کره‌ی زمین هزار جور چیز می‌شود دید. -شهریار کوچولو گفت: -اوه نه! آن رو کره‌ی زمین نیست. -روباه که انگار حسابی حیرت کرده بود گفت: -رو یک سیاره‌ی دیگر است؟ --آره. -شکارچی-تو آن سیاره شکارچی هم هست؟ --نه. --محشر است! مرغ و ماکیان چه‌طور؟ --نه. -روباه آه‌کشان گفت: -همیشه‌ی خدا یک پای بساط لنگ است! -اما پی حرفش را گرفت و گفت: -زندگی یک‌نواختی دارم. من مرغ‌ها را شکار می‌کنم آدم‌ها مرا. همه‌ی مرغ‌ها عین همند همه‌ی آدم‌ها هم عین همند. این وضع یک خرده خلقم را تنگ می‌کند. اما اگر تو منو اهلی کنی انگار که زندگیم را چراغان کرده باشی. آن وقت صدای پایی را می‌شناسم که باهر صدای پای دیگر فرق می‌کند: صدای پای دیگران مرا وادار می‌کند تو هفت تا سوراخ قایم بشوم اما صدای پای تو مثل نغمه‌ای مرا از سوراخم می‌کشد بیرون. تازه، نگاه کن آن‌جا آن گندم‌زار را می‌بینی؟ برای من که نان بخور نیستم گندم چیز بی‌فایده‌ای است. پس گندم‌زار هم مرا به یاد چیزی نمی‌اندازد. اسباب تاسف است. اما تو موهات رنگ طلا است. پس وقتی اهلیم کردی محشر می‌شود! گندم که طلایی رنگ است مرا به یاد تو می‌اندازد و صدای باد را هم که تو گندم‌زار می‌پیچد دوست خواهم داشت... -خاموش شد و مدت درازی شهریار کوچولو را نگاه کرد. آن وقت گفت: -اگر دلت می‌خواهد منو اهلی کن! -شهریار کوچولو جواب داد: -دلم که خیلی می‌خواهد، اما وقتِ چندانی ندارم. باید بروم دوستانی پیدا کنم و از کلی چیزها سر در آرم. -روباه گفت: -آدم فقط از چیزهایی که اهلی کند می‌تواند سر در آرد. انسان‌ها دیگر برای سر در آوردن از چیزها وقت ندارند. همه چیز را همین جور حاضر آماده از دکان‌ها می‌خرند. اما چون دکانی نیست که دوست معامله کند آدم‌ها مانده‌اند بی‌دوست... تو اگر دوست می‌خواهی خب منو اهلی کن! -شهریار کوچولو پرسید: -راهش چیست؟ -روباه جواب داد: -باید خیلی خیلی حوصله کنی. اولش یک خرده دورتر از من می‌گیری این جوری میان علف‌ها می‌نشینی. من زیر چشمی نگاهت می‌کنم و تو لام‌تاکام هیچی نمی‌گویی، چون تقصیر همه‌ی سؤِتفاهم‌ها زیر سر زبان است. عوضش می‌توانی هر روز یک خرده نزدیک‌تر بنشینی. - -روباه در حالِ انتظارفردای آن روز دوباره شهریار کوچولو آمد. -روباه گفت: -کاش سر همان ساعت دیروز آمده بودی. اگر مثلا سر ساعت چهار بعد از ظهر بیایی من از ساعت سه تو دلم قند آب می‌شود و هر چه ساعت جلوتر برود بیش‌تر احساس شادی و خوشبختی می‌کنم. ساعت چهار که شد دلم بنا می‌کند شور زدن و نگران شدن. آن وقت است که قدرِ خوشبختی را می‌فهمم! اما اگر تو وقت و بی وقت بیایی من از کجا بدانم چه ساعتی باید دلم را برای دیدارت آماده کنم؟... هر چیزی برای خودش قاعده‌ای دارد. -شهریار کوچولو گفت: -قاعده یعنی چه؟ -روباه گفت: -این هم از آن چیزهایی است که پاک از خاطرها رفته. این همان چیزی است که باعث می‌شود فلان روز با باقی روزها و فلان ساعت با باقی ساعت‌ها فرق کند. مثلا شکارچی‌های ما میان خودشان رسمی دارند و آن این است که پنج‌شنبه‌ها را با دخترهای ده می‌روند رقص. پس پنج‌شنبه‌ها بَرّه‌کشانِ من است: برای خودم گردش‌کنان می‌روم تا دم مُوِستان. حالا اگر شکارچی‌ها وقت و بی وقت می‌رقصیدند همه‌ی روزها شبیه هم می‌شد و منِ بیچاره دیگر فرصت و فراغتی نداشتم. - -به این ترتیب شهریار کوچولو روباه را اهلی کرد. -لحظه‌ی جدایی که نزدیک شد روباه گفت: -آخ! نمی‌توانم جلو اشکم را بگیرم. -شهریار کوچولو گفت: -تقصیر خودت است. من که بدت را نمی‌خواستم، خودت خواستی اهلیت کنم. -روباه گفت: -همین طور است. -شهریار کوچولو گفت: -آخر اشکت دارد سرازیر می‌شود! -روباه گفت: -همین طور است. --پس این ماجرا فایده‌ای به حال تو نداشته. -روباه گفت: -چرا، واسه خاطرِ رنگ گندم. -بعد گفت: -برو یک بار دیگر گل‌ها را ببین تا بفهمی که گلِ خودت تو عالم تک است. برگشتنا با هم وداع می‌کنیم و من به عنوان هدیه رازی را به‌ات می‌گویم. -شهریار کوچولو بار دیگر به تماشای گل‌ها رفت و به آن‌ها گفت: -شما سرِ سوزنی به گل من نمی‌مانید و هنوز هیچی نیستید. نه کسی شما را اهلی کرده نه شما کسی را. درست همان جوری هستید که روباه من بود: روباهی بود مثل صدهزار روباه دیگر. او را دوست خودم کردم و حالا تو همه‌ی عالم تک است. -گل‌ها حسابی از رو رفتند. -شهریار کوچولو دوباره درآمد که: -خوشگلید اما خالی هستید. برای‌تان نمی‌شود مُرد. گفت‌وگو ندارد که گلِ مرا هم فلان ره‌گذر می‌بیند مثل شما. اما او به تنهایی از همه‌ی شما سر است چون فقط اوست که آبش داده‌ام، چون فقط اوست که زیر حبابش گذاشته‌ام، چون فقط اوست که با تجیر برایش حفاظ درست کرده‌ام، چون فقط اوست که حشراتش را کشته‌ام (جز دو سه‌تایی که می‌بایست شب‌پره بشوند)، چون فقط اوست که پای گِلِه‌گزاری‌ها یا خودنمایی‌ها و حتا گاهی پای بُغ کردن و هیچی نگفتن‌هاش نشسته‌ام، چون او گلِ من است. -و برگشت پیش روباه. -گفت: -خدانگه‌دار! -روباه گفت: -خدانگه‌دار!... و اما رازی که گفتم خیلی ساده است: -جز با دل هیچی را چنان که باید نمی‌شود دید. نهاد و گوهر را چشمِ سَر نمی‌بیند. -شهریار کوچولو برای آن که یادش بماند تکرار کرد: -نهاد و گوهر را چشمِ سَر نمی‌بیند. --ارزش گل تو به قدرِ عمری است که به پاش صرف کرده‌ای. -شهریار کوچولو برای آن که یادش بماند تکرار کرد: -به قدر عمری است که به پاش صرف کرده‌ام. -روباه گفت: -انسان‌ها این حقیقت را فراموش کرده‌اند اما تو نباید فراموشش کنی. تو تا زنده‌ای نسبت به چیزی که اهلی کرده‌ای مسئولی. تو مسئول گُلِتی... - -شهریار کوچولو برای آن که یادش بماند تکرار کرد: -من مسئول گُلمَم. - -۲۲ -شهریار کوچولو گفت: -سلام. -سوزن‌بان گفت: -سلام. -شهریار کوچولو گفت: -تو چه کار می‌کنی این‌جا؟ -سوزن‌بان گفت: -مسافرها را به دسته‌های هزارتایی تقسیم می‌کنم و قطارهایی را که می‌بَرَدشان گاهی به سمت راست می‌فرستم گاهی به سمت چپ. و همان دم سریع‌السیری با چراغ‌های روشن و غرّشی رعدوار اتاقک سوزن‌بانی را به لرزه انداخت. --عجب عجله‌ای دارند! پیِ چی می‌روند؟ -سوزن‌بان گفت: -از خودِ آتش‌کارِ لکوموتیف هم بپرسی نمی‌داند! -سریع‌السیر دیگری با چراغ‌های روشن غرّید و در جهت مخالف گذشت . -شهریار کوچولو پرسید: -برگشتند که؟ -سوزن‌بان گفت: -این‌ها اولی‌ها نیستند. آن‌ها رفتند این‌ها برمی‌گردند. --جایی را که بودند خوش نداشتند؟ -سوزن‌بان گفت: -آدمی‌زاد هیچ وقت جایی را که هست خوش ندارد. -و رعدِ سریع‌السیرِ نورانیِ ثالثی غرّید. -شهریار کوچولو پرسید: -این‌ها دارند مسافرهای اولی را دنبال می‌کنند؟ -سوزن‌بان گفت: -این‌ها هیچ چیزی را دنبال نمی‌کنند. آن تو یا خواب‌شان می‌بَرَد یا دهن‌دره می‌کنند. فقط بچه‌هاند که دماغ‌شان را فشار می‌دهند به شیشه‌ها. -شهریار کوچولو گفت: -فقط بچه‌هاند که می‌دانند پیِ چی می‌گردند. بچه‌هاند که کُلّی وقت صرف یک عروسک پارچه‌ای می‌کنند و عروسک برای‌شان آن قدر اهمیت به هم می‌رساند که اگر یکی آن را ازشان کِش برود می‌زنند زیر گریه... -سوزن‌بان گفت: -بخت، یارِ بچه‌هاست. - -۲۳ -شهریار کوچولو گفت: -سلام! -پیله‌ور گفت: -سلام. -این بابا فروشنده‌ی حَب‌های ضد تشنگی بود. خریدار هفته‌ای یک حب می‌انداخت بالا و دیگر تشنگی بی تشنگی. -شهریار کوچولو پرسید: -این‌ها را می‌فروشی که چی؟ -پیله‌ور گفت: -باعث صرفه‌جویی کُلّی وقت است. کارشناس‌های خبره نشسته‌اند دقیقا حساب کرده‌اند که با خوردن این حب‌ها هفته‌ای پنجاه و سه دقیقه وقت صرفه‌جویی می‌شود. --خب، آن وقت آن پنجاه و سه دقیقه را چه کار می‌کنند؟ -ـ هر چی دل‌شان خواست... - -چشمه -شهریار کوچولو تو دلش گفت: «من اگر پنجاه و سه دقیقه وقتِ زیادی داشته باشم خوش‌خوشک به طرفِ یک چشمه می‌روم...» - -۲۴ -هشتمین روزِ خرابی هواپیمام تو کویر بود که، در حال نوشیدنِ آخرین چک‌ّه‌ی ذخیره‌ی آبم به قضیه‌ی پیله‌وره گوش داده بودم. به شهریار کوچولو گفتم: --خاطرات تو راستی راستی زیباند اما من هنوز از پسِ تعمیر هواپیما برنیامده‌ام، یک چکه آب هم ندارم. و راستی که من هم اگر می‌توانستم خوش‌خوشک به طرف چشمه‌ای بروم سعادتی احساس می‌کردم که نگو! -درآمد که: -دوستم روباه... -گفتم: -آقا کوچولو، دورِ روباه را قلم بگیر! --واسه چی؟ --واسه این که تشنگی کارمان را می سازد. واسه این! -از استدلال من چیزی حالیش نشد و در جوابم گفت: --حتا اگر آدم دَمِ مرگ باشد هم داشتن یک دوست عالی است. من که از داشتن یک دوستِ روباه خیلی خوشحالم... -به خودم گفتم نمی‌تواند میزان خطر را تخمین بزند: آخر او هیچ وقت نه تشنه‌اش می‌شود نه گشنه‌اش. یه ذره آفتاب بسش است... -اما او به من نگاه کرد و در جواب فکرم گفت: -من هم تشنه‌م است... بگردیم یک چاه پیدا کنیم... -از سرِ خستگی حرکتی کردم: -این جوری تو کویرِ برهوت رو هوا پیِ چاه گشتن احمقانه است. -و با وجود این به راه افتادیم. - -پس از ساعت‌ها که در سکوت راه رفتیم شب شد و ستاره‌ها یکی یکی درآمدند. من که از زور تشنگی تب کرده بودم انگار آن‌ها را خواب می‌دیدم. حرف‌های شهریار کوچولو تو ذهنم می‌رقصید. -ازش پرسیدم: -پس تو هم تشنه‌ات هست، ها؟ -اما او به سوآلِ من جواب نداد فقط در نهایت سادگی گفت: -آب ممکن است برای دلِ من هم خوب باشد... -از حرفش چیزی دستگیرم نشد اما ساکت ماندم. می‌دانستم از او نباید حرف کشید. -خسته شده بود. گرفت نشست. من هم کنارش نشستم. پس از مدتی سکوت گفت: --قشنگیِ ستاره‌ها واسه خاطرِ گلی است که ما نمی‌بینیمش... -گفتم: -همین طور است -و بدون حرف در مهتاب غرق تماشای چین و شکن‌های شن شدم. -باز گفت: -کویر زیباست. - -و حق با او بود. من همیشه عاشق کویر بوده‌ام. آدم بالای توده‌ای شن لغزان می‌نشیند، هیچی نمی‌بیند و هیچی نمی‌شنود اما با وجود این چیزی توی سکوت برق‌برق می‌زند. -شهریار کوچولو گفت: -چیزی که کویر را زیبا می‌کند این است که یک جایی یک چاه قایم کرده... -از این‌که ناگهان به راز آن درخشش اسرارآمیزِ شن پی بردم حیرت‌زده شدم. بچگی‌هام تو خانه‌ی کهنه‌سازی می‌نشستیم که معروف بود تو آن گنجی چال کرده‌اند. البته نگفته پیداست که هیچ وقت کسی آن را پیدا نکرد و شاید حتا اصلا کسی دنبالش نگشت اما فکرش همه‌ی اهل خانه را تردماغ می‌کرد: «خانه‌ی ما تهِ دلش رازی پنهان کرده بود...» -گفتم: -آره. چه خانه باشد چه ستاره، چه کویر، چیزی که اسباب زیبایی‌اش می‌شود نامریی است! -گفت: -خوشحالم که با روباه من توافق داری. - -چون خوابش برده بود بغلش کردم و راه افتادم. دست و دلم می‌لرزید.انگار چیز شکستنیِ بسیار گران‌بهایی را روی دست می‌بردم. حتا به نظرم می‌آمد که تو تمام عالم چیزی شکستنی‌تر از آن هم به نظر نمی‌رسد. تو روشنی مهتاب به آن پیشانی رنگ‌پریده و آن چشم‌های بسته و آن طُرّه‌های مو که باد می‌جنباند نگاه کردم و تو دلم گفتم: «آن چه می‌بینم صورت ظاهری بیش‌تر نیست. مهم‌ترش را با چشم نمی‌شود دید...» -باز، چون دهان نیمه‌بازش طرح کم‌رنگِ نیمه‌لبخندی را داشت به خود گفتم: «چیزی که تو شهریار کوچولوی خوابیده مرا به این شدت متاثر می‌کند وفاداری اوست به یک گل: او تصویرِ گل سرخی است که مثل شعله‌ی چراغی حتا در خوابِ ناز هم که هست تو وجودش می‌درخشد...» و آن وقت او را باز هم شکننده‌تر دیدم. حس کردم باید خیلی مواظبش باشم: به شعله‌ی چراغی می‌مانست که یک وزش باد هم می‌توانست خاموشش کند. -و همان طور در حال راه رفتن بود که دمدمه‌ی سحر چاه را پیداکردم. - -۲۵ -شهریار کوچولو درآمد که: -آدم‌ها!... می‌چپند تو قطارهای تندرو اما نمی‌دانند دنبال چی می‌گردند. این است که بنامی‌کنند دور خودشان چرخک‌زدن. -و بعد گفت: -این هم کار نشد... -چاهی که به‌اش رسیده‌بودیم اصلا به چاه‌های کویری نمی‌مانست. چاه کویری یک چاله‌ی ساده است وسط شن‌ها. این یکی به چاه‌های واحه‌ای می‌مانست اما آن دوروبر واحه‌ای نبود و من فکر کردم دارم خواب می‌بینم. -گفتم: -عجیب است! قرقره و سطل و تناب، همه‌چیز روبه‌راه است. -خندید تناب را گرفت و قرقره را به کار انداخت - -شهریار کوچولو در حالِ کشیدنِ آب از چاه -و قرقره مثل بادنمای کهنه‌ای که تا مدت‌ها پس از خوابیدنِ باد می‌نالد به ناله‌درآمد. -گفت: -می‌شنوی؟ ما داریم این چاه را از خواب بیدار می‌کنیم و او دارد برای‌مان آواز می‌خواند... -دلم نمی‌خواست او تلاش و تقلا کند. بش گفتم: -بدهش به من. برای تو زیادی سنگین است. -سطل را آرام تا طوقه‌ی چاه آوردم بالا و آن‌جا کاملا در تعادل نگهش داشتم. از حاصل کار شاد بودم. خسته و شاد. آواز قرقره را همان‌طور تو گوشم داشتم و تو آب که هنوز می‌لرزید لرزش خورشید را می‌دیدم. -گفت: -بده من، که تشنه‌ی این آبم. -ومن تازه توانستم بفهمم پی چه چیز می‌گشته! - -سطل را تا لب‌هایش بالا بردم. با چشم‌های بسته نوشید. آبی بود به شیرینیِ عیدی. این آب به کُلّی چیزی بود سوایِ هرگونه خوردنی. زاییده‌ی راه رفتنِ زیر ستاره‌ها و سرود قرقره و تقلای بازوهای من بود. مثل یک چشم روشنی برای دل خوب بود. پسر بچه که بودم هم، چراغ درخت عید و موسیقیِ نماز نیمه‌شب عید کریسمس و لطف لب‌خنده‌ها عیدیی را که بم می‌دادند درست به همین شکل آن همه جلا و جلوه می‌بخشید. -گفت: -مردم سیاره‌ی تو ور می‌دارند پنج هزار تا گل را تو یک گلستان می‌کارند، و آن یک دانه‌ای را که پِیَش می‌گردند آن وسط پیدا نمی‌کنند... -گفتم: -پیدایش نمی‌کنند. --با وجود این، چیزی که پیَش می‌گردند ممکن است فقط تو یک گل یا تو یک جرعه آب پیدا بشود... -جواب دادم: -گفت‌وگو ندارد. -باز گفت: -گیرم چشمِ سَر کور است، باید با چشم دل پی‌اش گشت. -من هم سیراب شده بودم. راحت نفس می‌کشیدم. وقتی آفتاب درمی‌آید شن به رنگ عسل است. من هم از این رنگ عسلی لذت می‌بردم. چرا می‌بایست در زحمت باشم... -شهریار کوچولو که باز گرفته بود کنار من نشسته بود با لطف بم گفت: -هِی! قولت قول باشد ها! --کدام قول؟ --یادت است؟ یک پوزه‌بند برای بَرّه‌ام... آخر من مسئول گلمَم! -طرح‌های اولیه‌ام را از جیب درآوردم. نگاه‌شان کرد و خندان‌خندان گفت: -بائوباب‌هات یک خرده شبیه کلم شده. -ای وای! مرا بگو که آن‌قدر به بائوباب‌هام می‌نازیدم. --روباهت... گوش‌هاش بیش‌تر به شاخ می‌ماند... زیادی درازند! -و باز زد زیر خنده. --آقا کوچولو داری بی‌انصافی می‌کنی. من جز بوآهای بسته و بوآهای باز چیزی بلد نبودم بکشم که. -گفت: -خب، مهم نیست. عوضش بچه‌ها سرشان تو حساب است. -با مداد یک پوزه‌بند کشیدم دادم دستش و با دلِ فشرده گفتم: --تو خیالاتی به سر داری که من ازشان بی‌خبرم... -اما جواب مرا نداد. بم گفت: -می‌دانی؟ فردا سالِ به زمین آمدنِ من است. -بعد پس از لحظه‌ای سکوت دوباره گفت: -همین نزدیکی‌ها پایین آمدم. -و سرخ شد. - -و من از نو بی این که بدانم چرا غم عجیبی احساس کردم. با وجود این سوآلی به ذهنم رسید: -پس هشت روز پیش، آن روز صبح که تو تک و تنها هزار میل دورتر از هر آبادی وسطِ کویر به من برخوردی اتفاقی نبود: داشتی برمی‌گشتی به همان جایی که پایین‌آمدی... -دوباره سرخ شد -و من با دودلی به دنبال حرفم گفتم: --شاید به مناسبت همین سال‌گرد؟... -باز سرخ شد. او هیچ وقت به سوآل‌هایی که ازش می‌شد جواب نمی‌داد اما وقتی کسی سرخ می‌شود معنیش این است که «بله»، مگر نه؟ -به‌اش گفتم: -آخر، من ترسم برداشته... -اما او حرفم را برید: --دیگر تو باید بروی به کارت برسی. باید بروی سراغ موتورت. من همین‌جا منتظرت می‌مانم. فردا عصر برگرد... - -منتها من خاطر جمع نبودم. به یاد روباه افتادم: اگر آدم گذاشت اهلیش کنند بفهمی‌نفهمی خودش را به این خطر انداخته که کارش به گریه‌کردن بکشد. - -۲۶ -کنار چاه دیوارِ سنگی مخروبه‌ای بود. فردا عصر که از سرِ کار برگشتم از دور دیدم که آن بالا نشسته پاها را آویزان کرده، - -شهریار کوچولو نشسته بر دیوارِ سنگی و مار در پایینِ آن -و شنیدم که می‌گوید: --پس یادت نمی‌آید؟ درست این نقطه نبود ها! -لابد صدای دیگری به‌اش جوابی داد، چون شهریار کوچولو در رَدِّ حرفش گفت: --چرا چرا! روزش که درست همین امروز است گیرم محلش این جا نیست... -راهم را به طرف دیوار ادامه دادم. هنوز نه کسی به چشم خورده بود نه صدای کسی را شنیده بودم اما شهریار کوچولو باز در جواب درآمد که: --... آره، معلوم است. خودت می‌توانی ببینی رَدِّ پاهایم روی شن از کجا شروع می‌شود. -همان جا منتظرم باش، تاریک که شد می‌آیم. -بیست متری دیوار بودم و هنوز چیزی نمی‌دیدم. پس از مختصر مکثی دوباره گفت: --زهرت خوب هست؟ مطمئنی درد و زجرم را کِش نمی‌دهد؟ -با دل فشرده از راه ماندم اما هنوز از موضوع سر در نیاورده بودم. -گفت: -خب، حالا دیگر برو. دِ برو. می‌خواهم بیایم پایین! - -آن وقت من نگاهم را به پایین به پای دیوار انداختم و از جا جستم! یکی از آن مارهای زردی که تو سی ثانیه کَلَکِ آدم را می‌کنند، به طرف شهریار کوچولو قد راست کرده بود. من همان طور که به دنبال تپانچه دست به جیبم می‌بردم پا گذاشتم به دو، اما ماره از سر و صدای من مثل فواره‌ای که بنشیند آرام روی شن جاری شد و بی آن که چندان عجله‌ای از خودش نشان دهد باصدای خفیف فلزی لای سنگ‌ها خزید. -من درست به موقع به دیوار رسیدم و طفلکی شهریار کوچولو را که رنگش مثل برف پریده بود تو هوا بغل کردم. --این دیگر چه حکایتی است! حالا دیگر با مارها حرف می‌زنی؟ -شال زردش را که مدام به گردن داشت باز کردم به شقیقه‌هایش آب زدم و جرعه‌ای به‌اش نوشاندم. اما حالا دیگر اصلا جرات نمی کردم ازش چیزی بپرسم. با وقار به من نگاه کرد و دستش را دور گردنم انداخت. حس کردم قلبش مثل قلب پرنده‌ای می‌زند که تیر خورده‌است و دارد می‌میرد. -گفت: -از این که کم و کسرِ لوازم ماشینت را پیدا کردی خوش‌حالم. حالا می‌توانی برگردی خانه‌ات... --تو از کجا فهمیدی؟ -درست همان دم لب‌واکرده‌بودم بش خبر بدهم که علی‌رغم همه‌ی نومیدی‌ها تو کارم موفق شده‌ام! -به سوآل‌های من هیچ جوابی نداد اما گفت: -آخر من هم امروز بر می‌گردم خانه‌ام... -و بعد غم‌زده درآمد که: -گیرم راه من خیلی دورتر است... خیلی سخت‌تر است... - -حس می‌کردم اتفاق فوق‌العاده‌ای دارد می‌افتد. گرفتمش تو بغلم. عین یک بچه‌ی کوچولو. با وجود این به نظرم می‌آمد که او دارد به گردابی فرو می‌رود و برای نگه داشتنش از من کاری ساخته نیست... نگاه متینش به دوردست‌های دور راه کشیده بود. -گفت: بَرِّه‌ات را دارم. جعبه‌هه را هم واسه بره‌هه دارم. پوزه‌بنده را هم دارم. -و با دلِ گرفته لبخندی زد. -مدت درازی صبر کردم. حس کردم کم‌کمَک تنش دوباره دارد گرم می‌شود. --عزیز کوچولوی من، وحشت کردی... --امشب وحشت خیلی بیش‌تری چشم به‌راهم است. - -دوباره از احساسِ واقعه‌ای جبران ناپذیر یخ زدم. این فکر که دیگر هیچ وقت غش‌غش خنده‌ی او را نخواهم شنید برایم سخت تحمل‌ناپذیر بود. خنده‌ی او برای من به چشمه‌ای در دلِ کویر می‌مانست. --کوچولوئَکِ من، دلم می‌خواهد باز هم غش‌غشِ خنده‌ات را بشنوم. -اما به‌ام گفت: -امشب درست می‌شود یک سال و اخترَکَم درست بالای همان نقطه‌ای می‌رسد که پارسال به زمین آمدم. --کوچولوئک، این قضیه‌ی مار و میعاد و ستاره یک خواب آشفته بیش‌تر نیست. مگر نه؟ -به سوال من جوابی نداد اما گفت: -چیزی که مهم است با چشمِ سَر دیده نمی‌شود. --مسلم است. --در مورد گل هم همین‌طور است: اگر گلی را دوست داشته باشی که تو یک ستاره‌ی دیگر است، شب تماشای آسمان چه لطفی پیدا می‌کند: همه‌ی ستاره‌ها غرق گل می‌شوند! --مسلم است... --در مورد آب هم همین‌طور است. آبی که تو به من دادی به خاطر قرقره و ریسمان درست به یک موسیقی می‌مانست... یادت که هست... چه خوب بود. --مسلم است... --شب‌به‌شب ستاره‌ها را نگاه می‌کنی. اخترک من کوچولوتر از آن است که بتوانم جایش را نشانت بدهم. اما چه بهتر! آن هم برای تو می‌شود یکی از ستاره‌ها؛ و آن وقت تو دوست داری همه‌ی ستاره‌ها را تماشا کنی... همه‌شان می‌شوند دوست‌های تو... راستی می‌خواهم هدیه‌ای بت بدهم... -و غش غش خندید. --آخ، کوچولوئک، کوچولوئک! من عاشقِ شنیدنِ این خنده‌ام! --هدیه‌ی من هم درست همین است... درست مثل مورد آب. --چی می‌خواهی بگویی؟ --همه‌ی مردم ستاره دارند اما همه‌ی ستاره‌ها یک‌جور نیست: واسه آن‌هایی که به سفر می‌روند حکم راهنما را دارند واسه بعضی دیگر فقط یک مشت روشناییِ سوسوزن‌اند. برای بعضی که اهل دانشند هر ستاره یک معما است واسه آن بابای تاجر طلا بود. اما این ستاره‌ها همه‌شان زبان به کام کشیده و خاموشند. فقط تو یکی ستاره‌هایی خواهی داشت که تنابنده‌ای مِثلش را ندارد. --چی می‌خواهی بگویی؟ --نه این که من تو یکی از ستاره‌هام؟ نه این که من تو یکی از آن‌ها می‌خندم؟... خب، پس هر شب که به آسمان نگاه می‌کنی برایت مثل این خواهد بود که همه‌ی ستاره‌ها می‌خندند. پس تو ستاره‌هایی خواهی داشت که بلدند بخندند! -و باز خندید. --و خاطرت که تسلا پیدا کرد (خب بالاخره آدمی‌زاد یک جوری تسلا پیدا می‌کند دیگر) از آشنایی با من خوش‌حال می‌شوی. دوست همیشگی من باقی می‌مانی و دلت می‌خواهد با من بخندی و پاره‌ای وقت‌هام واسه تفریح پنجره‌ی اتاقت را وا می‌کنی... دوستانت از این‌که می‌بینند تو به آسمان نگاه می‌کنی و می‌خندی حسابی تعجب می‌کنند آن وقت تو به‌شان می‌گویی: «آره، ستاره‌ها همیشه مرا خنده می‌اندازند!» و آن‌وقت آن‌ها یقین‌شان می‌شود که تو پاک عقلت را از دست داده‌ای. جان! می‌بینی چه کَلَکی به‌ات زده‌ام... -و باز زد زیر خنده. --به آن می‌ماند که عوضِ ستاره یک مشت زنگوله بت داده باشم که بلدند بخندند... -دوباره خندید و بعد حالتی جدی به خودش گرفت: --نه، من تنهات نمی‌گذارم. - -شهریار کوچولو تنها - --ظاهر آدمی را پیدا می‌کنم که دارد درد می‌کشد... یک خرده هم مثل آدمی می‌شوم که دارد جان می‌کند. رو هم رفته این جوری‌ها است. نیا که این را نبینی. چه زحمتی است بی‌خود؟ --تنهات نمی‌گذارم. -اندوه‌زده بود. --این را بیش‌تر از بابت ماره می‌گویم که، نکند یک‌هو تو را هم بگزد. مارها خیلی خبیثند. حتا واسه خنده هم ممکن است آدم را نیش بزنند. --تنهات نمی‌گذارم. -منتها یک چیز باعث خاطر جمعیش شد: --گر چه، بار دوم که بخواهند بگزند دیگر زهر ندارند. -شب متوجه راه افتادنش نشدم. بی سر و صدا گریخت. -وقتی خودم را به‌اش رساندم با قیافه‌ی مصمم و قدم‌های محکم پیش می‌رفت. همین قدر گفت: -اِ! این‌جایی؟ -و دستم را گرفت. -اما باز بی‌قرار شد وگفت: -اشتباه کردی آمدی. رنج می‌بری. گرچه حقیقت این نیست، اما ظاهرِ یک مرده را پیدا می‌کنم. -من ساکت ماندم. --خودت درک می‌کنی. راه خیلی دور است. نمی‌توانم این جسم را با خودم ببرم. خیلی سنگین است. -من ساکت ماندم. --گیرم عینِ پوستِ کهنه‌ای می‌شود که دورش انداخته باشند؛ پوست کهنه که غصه ندارد، ها؟ -من ساکت ماندم. -کمی دل‌سرد شد اما باز هم سعی کرد: --خیلی با مزه می‌شود، نه؟ من هم به ستاره‌ها نگاه می‌کنم. هم‌شان به صورت چاه‌هایی در می‌آیند با قرقره‌های زنگ زده. همه‌ی ستاره‌ها بم آب می‌دهند بخورم... -من ساکت ماندم. --خیلی با مزه می‌شود. نه؟ تو صاحب هزار کرور زنگوله می‌شوی من صاحب هزار کرور فواره... -او هم ساکت شد، چرا که داشت گریه می‌کرد... --خب، همین جاست. بگذار چند قدم خودم تنهایی بروم. -و گرفت نشست، چرا که می‌ترسید. - -شهریار کوچولو نشسته - -می‌دانی؟... گلم را می‌گویم... آخر من مسئولشم. تازه چه قدر هم لطیف است و چه قدر هم ساده و بی‌شیله‌پیله. برای آن که جلو همه‌ی عالم از خودش دفاع کند همه‌اش چی دارد مگر؟ چهارتا خار پِرپِرَک! - -من هم گرفتم نشستم. دیگر نمی‌توانستم سر پا بند بشوم. -گفت: -همین... همه‌اش همین و بس... -باز هم کمی دودلی نشان داد اما بالاخره پا شد و قدمی به جلو رفت. من قادر به حرکت نبودم. - -کنار قوزکِ پایش جرقه‌ی زردی جست و... فقط همین! یک دم بی‌حرکت ماند. فریادی نزد. مثل درختی که بیفتد آرام‌آرام به زمین افتاد که به وجود شن از آن هم صدایی بلند نشد. - -شهریار کوچولو در حالی که آرام‌آرام به زمین می‌افتد -۲۷ -شش سال گذشته است و من هنوز بابت این قضیه جایی لب‌ترنکرده‌ام. دوستانم از این که مرا دوباره زنده می‌دیدند سخت شاد شدند. من غم‌زده بودم اما به آن‌ها می‌گفتم اثر خستگی است. -حالا کمی تسلای خاطر پیدا کرده‌ام. یعنی نه کاملا... اما این را خوب می‌دانم که او به اخترکش برگشته. چون آفتاب که زد پیکرش را پیدا نکردم. پیکری هم نبود که چندان وزنی داشته باشد... و شب‌ها دوست دارم به ستاره‌ها گوش بدهم. عین هزار زنگوله‌اند. -اما موضوع خیلی مهمی که هست، من پاک یادم رفت به پوزه‌بندی که برای شهریار کوچولو کشیدم تسمه‌ی چرمی اضافه کنم و او ممکن نیست بتواند آن را به پوزه‌ی بَرّه ببندد. این است که از خودم می‌پرسم: «یعنی تو اخترکش چه اتفاقی افتاده؟ نکند بره‌هه گل را چریده باشد؟...» -گاه به خودم می‌گویم: «حتما نه، شهریار کوچولو هر شب گلش را زیر حباب شیشه‌ای می‌گذارد و هوای بره‌اش را هم دارد...» آن وقت است که خیالم راحت می‌شود و ستاره‌ها همه به شیرینی می‌خندند. -گاه به خودم می‌گویم: «همین کافی است که آدم یک بار حواسش نباشد... آمدیم و یک شب حباب یادش رفت یا بَرّه شب نصف‌شبی بی‌سروصدا از جعبه زد بیرون...» آن وقت است که زنگوله‌ها همه تبدیل به اشک می‌شوند!... - -یک راز خیلی خیلی بزرگ این جا هست: برای شما هم که او را دوست دارید، مثل من هیچ چیزِ عالم مهم‌تر از دانستن این نیست که تو فلان نقطه‌ای که نمی‌دانیم، فلان بره‌ای که نمی‌شماسیم گل سرخی را چریده یا نچریده... - -خب. آسمان را نگاه کنید و بپرسید: «بَرّه گل را چریده یا نچریده؟» و آن وقت با چشم‌های خودتان تفاوتش را ببینید... - -و محال است آدم بزرگ‌ها روح‌شان خبردار بشود که این موضوع چه قدر مهم است! - -بدونِ شهریار کوچولو -در نظر من این زیباترین و حزن‌انگیزترین منظره‌ی عالم است. این همان منظره‌ی دو صفحه پیش است گیرم آن را دوباره کشیده‌ام که به‌تر نشان‌تان بدهم: «ظهور شهریار کوچولو بر زمین در این جا بود؛ و بعد در همین جا هم بود که ناپدید شد». - -آن قدر به دقت این منظره را نگاه کنید که مطمئن بشوید اگر روزی تو آفریقا گذرتان به کویر صحرا افتاد حتما آن را خواهید شناخت. و اگر پاداد و گذارتان به آن جا افتاد به التماس ازتان می‌خواهم که عجله به خرج ندهید و درست زیر ستاره چند لحظه‌ای توقف کنید. آن وقت اگر بچه‌ای به طرف‌تان آمد، اگر خندید، اگر موهایش طلایی بود، اگر وقتی ازش سوالی کردید جوابی نداد، لابد حدس می‌زنید که کیست. در آن صورت لطف کنید و نگذارید من این جور افسرده خاطر بمانم: -بی درنگ بردارید به من بنویسید که او برگشته. - diff --git a/harfbuzz/replace-enum-strings.cmake b/harfbuzz/replace-enum-strings.cmake deleted file mode 100644 index 42fdbff..0000000 --- a/harfbuzz/replace-enum-strings.cmake +++ /dev/null @@ -1,21 +0,0 @@ -# CMake script to replace items -# in sources generated by glib-mkenums - -FILE(READ ${ENUM_INPUT_SRC} enum_in) - -STRING(REPLACE - "_t_get_type" - "_get_type" - enum_out_tmp - "${enum_in}" - ) - -STRING(REPLACE - "_T (" - " (" - enum_out - "${enum_out_tmp}" - ) - -FILE(WRITE ${ENUM_OUTPUT_SRC} "${enum_out}") -FILE(REMOVE ${ENUM_INPUT_SRC}) \ No newline at end of file diff --git a/harfbuzz/src/Makefile.am b/harfbuzz/src/Makefile.am deleted file mode 100644 index c0c7705..0000000 --- a/harfbuzz/src/Makefile.am +++ /dev/null @@ -1,487 +0,0 @@ -# Process this file with automake to produce Makefile.in - -NULL = -SUBDIRS = -DIST_SUBDIRS = -BUILT_SOURCES = -EXTRA_DIST = -CLEANFILES = -DISTCLEANFILES = -MAINTAINERCLEANFILES = -DISTCHECK_CONFIGURE_FLAGS = --enable-introspection -TESTS = -check_PROGRAMS = - -EXTRA_DIST += harfbuzz.cc -EXTRA_DIST += meson.build -EXTRA_DIST += fix_get_types.py - -# Convenience targets: -lib: $(BUILT_SOURCES) libharfbuzz.la -libs: $(BUILT_SOURCES) $(lib_LTLIBRARIES) -tiny: - $(MAKE) $(AM_MAKEFLAGS) CPPFLAGS="-Os -DHB_TINY $(CPPFLAGS)" libs -tinyz: - $(MAKE) $(AM_MAKEFLAGS) CPPFLAGS="-Oz -DHB_TINY $(CPPFLAGS)" libs - -lib_LTLIBRARIES = libharfbuzz.la - -include Makefile.sources - -HBCFLAGS = -HBLIBS = -HBNONPCLIBS = -HBDEPS = -HBSOURCES = $(HB_BASE_sources) -HBSOURCES += $(HB_BASE_RAGEL_GENERATED_sources) -HBHEADERS = $(HB_BASE_headers) - -if HAVE_PTHREAD -HBCFLAGS += $(PTHREAD_CFLAGS) -HBNONPCLIBS += $(PTHREAD_LIBS) -endif - -if HAVE_GLIB -HBCFLAGS += $(GLIB_CFLAGS) -HBLIBS += $(GLIB_LIBS) -HBDEPS += $(GLIB_DEPS) -HBSOURCES += $(HB_GLIB_sources) -HBHEADERS += $(HB_GLIB_headers) -endif - -if HAVE_FREETYPE -HBCFLAGS += $(FREETYPE_CFLAGS) -HBLIBS += $(FREETYPE_LIBS) -HBDEPS += $(FREETYPE_DEPS) -HBSOURCES += $(HB_FT_sources) -HBHEADERS += $(HB_FT_headers) -endif - -if HAVE_GRAPHITE2 -HBCFLAGS += $(GRAPHITE2_CFLAGS) -HBLIBS += $(GRAPHITE2_LIBS) -HBDEPS += $(GRAPHITE2_DEPS) -HBSOURCES += $(HB_GRAPHITE2_sources) -HBHEADERS += $(HB_GRAPHITE2_headers) -endif - -if HAVE_UNISCRIBE -HBCFLAGS += $(UNISCRIBE_CFLAGS) -HBNONPCLIBS += $(UNISCRIBE_LIBS) -HBSOURCES += $(HB_UNISCRIBE_sources) -HBHEADERS += $(HB_UNISCRIBE_headers) -endif - -if HAVE_DIRECTWRITE -HBCFLAGS += $(DIRECTWRITE_CXXFLAGS) -HBNONPCLIBS += $(DIRECTWRITE_LIBS) -HBSOURCES += $(HB_DIRECTWRITE_sources) -HBHEADERS += $(HB_DIRECTWRITE_headers) -endif - -if HAVE_GDI -HBCFLAGS += $(GDI_CXXFLAGS) -HBNONPCLIBS += $(GDI_LIBS) -HBSOURCES += $(HB_GDI_sources) -HBHEADERS += $(HB_GDI_headers) -endif - -if HAVE_CORETEXT -HBCFLAGS += $(CORETEXT_CFLAGS) -HBNONPCLIBS += $(CORETEXT_LIBS) -HBSOURCES += $(HB_CORETEXT_sources) -HBHEADERS += $(HB_CORETEXT_headers) -endif - - -BUILT_SOURCES += \ - hb-version.h - -$(srcdir)/hb-version.h: hb-version.h.in $(top_srcdir)/configure.ac - $(AM_V_GEN) $(SED) \ - -e 's/[@]HB_VERSION_MAJOR@/$(HB_VERSION_MAJOR)/' \ - -e 's/[@]HB_VERSION_MINOR@/$(HB_VERSION_MINOR)/' \ - -e 's/[@]HB_VERSION_MICRO@/$(HB_VERSION_MICRO)/' \ - -e 's/[@]HB_VERSION@/$(HB_VERSION)/' \ - "$<" > "$@" || ($(RM) "$@"; false) - -# Put the library together - -HBLIBS += $(HBNONPCLIBS) - -if OS_WIN32 -export_symbols = -export-symbols harfbuzz.def -harfbuzz_def_dependency = harfbuzz.def -export_symbols_subset = -export-symbols harfbuzz-subset.def -harfbuzz_subset_def_dependency = harfbuzz-subset.def -export_symbols_icu = -export-symbols harfbuzz-icu.def -harfbuzz_icu_def_dependency = harfbuzz-icu.def -export_symbols_gobject = -export-symbols harfbuzz-gobject.def -harfbuzz_gobject_def_dependency = harfbuzz-gobject.def -chosen_linker = $(CXXLINK) -else -if WITH_LIBSTDCXX -chosen_linker = $(CXXLINK) -else -if HAVE_GCC -# Use a C linker for GCC, not C++; Don't link to libstdc++ -chosen_linker = $(LINK) -else -chosen_linker = $(CXXLINK) -endif -endif -endif - -@CODE_COVERAGE_RULES@ - -base_link_flags = $(AM_LDFLAGS) -lm -version-info $(HB_LIBTOOL_VERSION_INFO) -no-undefined -libharfbuzz_la_LINK = $(chosen_linker) $(libharfbuzz_la_LDFLAGS) -libharfbuzz_la_SOURCES = $(HBSOURCES) $(HBHEADERS) -libharfbuzz_la_CPPFLAGS = $(HBCFLAGS) $(CODE_COVERAGE_CFLAGS) -libharfbuzz_la_LDFLAGS = $(base_link_flags) $(export_symbols) $(CODE_COVERAGE_LDFLAGS) -libharfbuzz_la_LIBADD = $(HBLIBS) -EXTRA_libharfbuzz_la_DEPENDENCIES = $(harfbuzz_def_dependency) -pkginclude_HEADERS = $(HBHEADERS) -nodist_pkginclude_HEADERS = -pkgconfigdir = $(libdir)/pkgconfig -pkgconfig_DATA = harfbuzz.pc -cmakedir = $(libdir)/cmake/harfbuzz -cmake_DATA = harfbuzz-config.cmake -EXTRA_DIST += hb-version.h.in harfbuzz.pc.in harfbuzz-config.cmake.in - -lib_LTLIBRARIES += libharfbuzz-subset.la -libharfbuzz_subset_la_LINK = $(chosen_linker) $(libharfbuzz_subset_la_LDFLAGS) -libharfbuzz_subset_la_SOURCES = $(HB_SUBSET_sources) -libharfbuzz_subset_la_CPPFLAGS = $(HBCFLAGS) $(CODE_COVERAGE_CFLAGS) -libharfbuzz_subset_la_LDFLAGS = $(base_link_flags) $(export_symbols_subset) $(CODE_COVERAGE_LDFLAGS) -libharfbuzz_subset_la_LIBADD = libharfbuzz.la -EXTRA_libharfbuzz_subset_la_DEPENDENCIES = $(harfbuzz_subset_def_dependency) -pkginclude_HEADERS += $(HB_SUBSET_headers) -pkgconfig_DATA += harfbuzz-subset.pc -EXTRA_DIST += harfbuzz-subset.pc.in - -if HAVE_ICU -if HAVE_ICU_BUILTIN -HBCFLAGS += $(ICU_CFLAGS) -HBLIBS += $(ICU_LIBS) -HBSOURCES += $(HB_ICU_sources) -HBHEADERS += $(HB_ICU_headers) -else -lib_LTLIBRARIES += libharfbuzz-icu.la -libharfbuzz_icu_la_SOURCES = $(HB_ICU_sources) -libharfbuzz_icu_la_CPPFLAGS = $(HBCFLAGS) $(ICU_CFLAGS) $(CODE_COVERAGE_CFLAGS) -libharfbuzz_icu_la_LDFLAGS = $(base_link_flags) $(export_symbols_icu) $(CODE_COVERAGE_LDFLAGS) -libharfbuzz_icu_la_LIBADD = $(ICU_LIBS) libharfbuzz.la -EXTRA_libharfbuzz_icu_la_DEPENDENCIES = $(harfbuzz_icu_def_dependency) -pkginclude_HEADERS += $(HB_ICU_headers) -pkgconfig_DATA += harfbuzz-icu.pc -endif -endif -EXTRA_DIST += harfbuzz-icu.pc.in - -if HAVE_GOBJECT -lib_LTLIBRARIES += libharfbuzz-gobject.la -libharfbuzz_gobject_la_LINK = $(chosen_linker) $(libharfbuzz_gobject_la_LDFLAGS) -libharfbuzz_gobject_la_SOURCES = $(HB_GOBJECT_DIST_sources) -nodist_libharfbuzz_gobject_la_SOURCES = $(HB_GOBJECT_NODIST_sources) -libharfbuzz_gobject_la_CPPFLAGS = $(HBCFLAGS) $(GOBJECT_CFLAGS) $(CODE_COVERAGE_CFLAGS) -libharfbuzz_gobject_la_LDFLAGS = $(base_link_flags) $(CODE_COVERAGE_LDFLAGS) -libharfbuzz_gobject_la_LIBADD = $(GOBJECT_LIBS) libharfbuzz.la -EXTRA_libharfbuzz_gobject_la_DEPENDENCIES = $(harfbuzz_gobject_def_dependency) -pkginclude_HEADERS += $(HB_GOBJECT_DIST_headers) -nodist_pkginclude_HEADERS += $(HB_GOBJECT_NODIST_headers) -pkgconfig_DATA += harfbuzz-gobject.pc - -BUILT_SOURCES += \ - $(HB_GOBJECT_ENUM_sources) \ - $(HB_GOBJECT_ENUM_headers) \ - $(NULL) -DISTCLEANFILES += \ - $(HB_GOBJECT_ENUM_sources) \ - $(HB_GOBJECT_ENUM_headers) \ - $(NULL) -hb-gobject-enums.%: hb-gobject-enums.%.tmpl $(HBHEADERS) - $(AM_V_GEN) PYTHONIOENCODING=UTF-8 $(GLIB_MKENUMS) \ - --identifier-prefix hb_ --symbol-prefix hb_gobject \ - --template $^ | \ - sed 's/_t_get_type/_get_type/g; s/_T (/ (/g' > "$@" \ - || ($(RM) "$@"; false) -endif -EXTRA_DIST += \ - harfbuzz-gobject.pc.in \ - hb-gobject-enums.cc.tmpl \ - hb-gobject-enums.h.tmpl \ - $(NULL) - - -%.pc: %.pc.in $(top_builddir)/config.status - $(AM_V_GEN) \ - $(SED) -e 's@%prefix%@$(prefix)@g' \ - -e 's@%exec_prefix%@$(exec_prefix)@g' \ - -e 's@%libdir%@$(libdir)@g' \ - -e 's@%includedir%@$(includedir)@g' \ - -e 's@%libs_private%@$(HBNONPCLIBS)@g' \ - -e 's@%requires_private%@$(HBDEPS)@g' \ - -e 's@%VERSION%@$(VERSION)@g' \ - "$<" > "$@" \ - || ($(RM) "$@"; false) - -CLEANFILES += $(pkgconfig_DATA) - - -DEF_FILES = harfbuzz.def harfbuzz-subset.def harfbuzz-icu.def harfbuzz-deprecated-symbols.txt -if HAVE_GOBJECT -DEF_FILES += harfbuzz-gobject.def -endif -check: $(DEF_FILES) # For check-symbols.sh -CLEANFILES += $(DEF_FILES) -harfbuzz.def: $(top_builddir)/config.status -harfbuzz.def: $(HBHEADERS) - $(AM_V_GEN) $(srcdir)/gen-def.py "$@" $^ -harfbuzz-subset.def: $(HB_SUBSET_headers) - $(AM_V_GEN) $(srcdir)/gen-def.py "$@" $^ -harfbuzz-icu.def: $(HB_ICU_headers) - $(AM_V_GEN) $(srcdir)/gen-def.py "$@" $^ -harfbuzz-gobject.def: $(HB_GOBJECT_headers) - $(AM_V_GEN) $(srcdir)/gen-def.py "$@" $^ -harfbuzz-deprecated-symbols.txt: $(srcdir)/hb-deprecated.h - $(AM_V_GEN) PLAIN_LIST=1 $(srcdir)/gen-def.py "$@" $^ - - -GENERATORS = \ - gen-arabic-joining-list.py \ - gen-arabic-table.py \ - gen-def.py \ - gen-emoji-table.py \ - gen-harfbuzzcc.py \ - gen-hb-version.py \ - gen-indic-table.py \ - gen-os2-unicode-ranges.py \ - gen-ragel-artifacts.py \ - gen-tag-table.py \ - gen-ucd-table.py \ - gen-use-table.py \ - gen-vowel-constraints.py \ - $(NULL) -EXTRA_DIST += $(GENERATORS) - -built-sources: $(BUILT_SOURCES) - -.PHONY: built-sources - -RAGEL_GENERATED = \ - $(patsubst %,$(srcdir)/%,$(HB_BASE_RAGEL_GENERATED_sources)) \ - $(NULL) -BUILT_SOURCES += $(RAGEL_GENERATED) -EXTRA_DIST += \ - $(HB_BASE_RAGEL_sources) \ - $(NULL) -# We decided to add ragel-generated files to git... -#MAINTAINERCLEANFILES += $(RAGEL_GENERATED) -$(srcdir)/%.hh: $(srcdir)/%.rl - $(AM_V_GEN)(cd $(srcdir) && $(RAGEL) -e -F1 -o "$*.hh" "$*.rl") \ - || ($(RM) "$@"; false) - -harfbuzz.cc: Makefile.sources - $(AM_V_GEN) \ - for f in \ - $(HB_BASE_sources) \ - $(HB_GLIB_sources) \ - $(HB_FT_sources) \ - $(HB_GRAPHITE2_sources) \ - $(HB_UNISCRIBE_sources) \ - $(HB_GDI_sources) \ - $(HB_DIRECTWRITE_sources) \ - $(HB_CORETEXT_sources) \ - ; do echo '#include "'$$f'"'; done | \ - grep '[.]cc"' > $(srcdir)/harfbuzz.cc \ - || ($(RM) $(srcdir)/harfbuzz.cc; false) -BUILT_SOURCES += harfbuzz.cc - -noinst_PROGRAMS = \ - main \ - test \ - test-buffer-serialize \ - test-ot-meta \ - test-ot-name \ - test-ot-glyphname \ - test-gpos-size-params \ - test-gsub-would-substitute \ - $(NULL) -bin_PROGRAMS = - -main_SOURCES = main.cc -main_CPPFLAGS = $(HBCFLAGS) -main_LDADD = libharfbuzz.la $(HBLIBS) - -test_SOURCES = test.cc -test_CPPFLAGS = $(HBCFLAGS) $(FREETYPE_CFLAGS) -test_LDADD = libharfbuzz.la $(HBLIBS) $(FREETYPE_LIBS) - -test_buffer_serialize_SOURCES = test-buffer-serialize.cc -test_buffer_serialize_CPPFLAGS = $(HBCFLAGS) -test_buffer_serialize_LDADD = libharfbuzz.la $(HBLIBS) - -test_ot_meta_SOURCES = test-ot-meta.cc -test_ot_meta_CPPFLAGS = $(HBCFLAGS) -test_ot_meta_LDADD = libharfbuzz.la $(HBLIBS) - -test_ot_name_SOURCES = test-ot-name.cc -test_ot_name_CPPFLAGS = $(HBCFLAGS) -test_ot_name_LDADD = libharfbuzz.la $(HBLIBS) - -test_ot_glyphname_SOURCES = test-ot-glyphname.cc -test_ot_glyphname_CPPFLAGS = $(HBCFLAGS) -test_ot_glyphname_LDADD = libharfbuzz.la $(HBLIBS) - -test_gpos_size_params_SOURCES = test-gpos-size-params.cc -test_gpos_size_params_CPPFLAGS = $(HBCFLAGS) -test_gpos_size_params_LDADD = libharfbuzz.la $(HBLIBS) - -test_gsub_would_substitute_SOURCES = test-gsub-would-substitute.cc -test_gsub_would_substitute_CPPFLAGS = $(HBCFLAGS) $(FREETYPE_CFLAGS) -test_gsub_would_substitute_LDADD = libharfbuzz.la $(HBLIBS) $(FREETYPE_LIBS) - -COMPILED_TESTS = \ - test-algs \ - test-array \ - test-iter \ - test-map \ - test-number \ - test-ot-tag \ - test-priority-queue \ - test-set \ - test-unicode-ranges \ - test-vector \ - test-bimap \ - test-repacker \ - $(NULL) -COMPILED_TESTS_CPPFLAGS = $(HBCFLAGS) -DMAIN -UNDEBUG -COMPILED_TESTS_LDADD = libharfbuzz.la $(HBLIBS) -check_PROGRAMS += $(COMPILED_TESTS) -TESTS += $(COMPILED_TESTS) - -test_algs_SOURCES = test-algs.cc hb-static.cc -test_algs_CPPFLAGS = $(COMPILED_TESTS_CPPFLAGS) -test_algs_LDADD = $(COMPILED_TESTS_LDADD) - -test_array_SOURCES = test-array.cc -test_array_CPPFLAGS = $(HBCFLAGS) -test_array_LDADD = libharfbuzz.la $(HBLIBS) - -test_priority_queue_SOURCES = test-priority-queue.cc hb-static.cc -test_priority_queue_CPPFLAGS = $(HBCFLAGS) -test_priority_queue_LDADD = libharfbuzz.la $(HBLIBS) - -test_repacker_SOURCES = test-repacker.cc hb-static.cc -test_repacker_CPPFLAGS = $(HBCFLAGS) -test_repacker_LDADD = libharfbuzz.la libharfbuzz-subset.la $(HBLIBS) - -test_iter_SOURCES = test-iter.cc hb-static.cc -test_iter_CPPFLAGS = $(COMPILED_TESTS_CPPFLAGS) -test_iter_LDADD = $(COMPILED_TESTS_LDADD) - -test_map_SOURCES = test-map.cc hb-static.cc -test_map_CPPFLAGS = $(COMPILED_TESTS_CPPFLAGS) -test_map_LDADD = $(COMPILED_TESTS_LDADD) - -test_number_SOURCES = test-number.cc hb-number.cc -test_number_CPPFLAGS = $(COMPILED_TESTS_CPPFLAGS) -test_number_LDADD = $(COMPILED_TESTS_LDADD) - -test_ot_tag_SOURCES = hb-ot-tag.cc -test_ot_tag_CPPFLAGS = $(COMPILED_TESTS_CPPFLAGS) -test_ot_tag_LDADD = $(COMPILED_TESTS_LDADD) - -test_set_SOURCES = test-set.cc hb-static.cc -test_set_CPPFLAGS = $(COMPILED_TESTS_CPPFLAGS) -test_set_LDADD = $(COMPILED_TESTS_LDADD) - -test_unicode_ranges_SOURCES = test-unicode-ranges.cc -test_unicode_ranges_CPPFLAGS = $(COMPILED_TESTS_CPPFLAGS) -test_unicode_ranges_LDADD = $(COMPILED_TESTS_LDADD) - -test_vector_SOURCES = test-vector.cc hb-static.cc -test_vector_CPPFLAGS = $(COMPILED_TESTS_CPPFLAGS) -test_vector_LDADD = $(COMPILED_TESTS_LDADD) - -test_bimap_SOURCES = test-bimap.cc hb-static.cc -test_bimap_CPPFLAGS = $(COMPILED_TESTS_CPPFLAGS) -test_bimap_LDADD = $(COMPILED_TESTS_LDADD) - -dist_check_SCRIPTS = \ - check-c-linkage-decls.py \ - check-externs.py \ - check-header-guards.py \ - check-includes.py \ - check-static-inits.py \ - check-symbols.py \ - $(NULL) -TESTS += $(dist_check_SCRIPTS) - -if !WITH_LIBSTDCXX -dist_check_SCRIPTS += \ - check-libstdc++.py \ - $(NULL) -endif - -TESTS_ENVIRONMENT = \ - srcdir="$(srcdir)" \ - builddir="$(builddir)" \ - MAKE="$(MAKE) $(AM_MAKEFLAGS)" \ - HBSOURCES="$(HBSOURCES)" \ - HBHEADERS="$(HBHEADERS)" \ - LDD="$(LDD)" \ - NM="$(NM)" \ - OBJDUMP="$(OBJDUMP)" \ - OTOOL="$(OTOOL)" \ - $(NULL) - -if HAVE_INTROSPECTION - --include $(INTROSPECTION_MAKEFILE) -INTROSPECTION_GIRS = HarfBuzz-0.0.gir # What does the 0 mean anyway?! -INTROSPECTION_SCANNER_ARGS = \ - -I$(srcdir) \ - --warn-all --verbose \ - --namespace=HarfBuzz \ - --nsversion=0.0 \ - --symbol-prefix=hb \ - --symbol-prefix=hb_gobject \ - --identifier-prefix=hb_ \ - --pkg-export=harfbuzz-gobject \ - --c-include=hb-gobject.h -INTROSPECTION_COMPILER_ARGS = --includedir=$(srcdir) -INTROSPECTION_SCANNER_ENV = CC="$(CC)" - -HarfBuzz-0.0.gir: libharfbuzz.la libharfbuzz-gobject.la -HarfBuzz_0_0_gir_INCLUDES = GObject-2.0 -HarfBuzz_0_0_gir_CFLAGS = \ - $(INCLUDES) \ - $(HBCFLAGS) \ - -DHB_NO_SINGLE_HEADER_ERROR \ - -DHAVE_GOBJECT \ - -DHB_EXTERN= \ - $(NULL) -HarfBuzz_0_0_gir_LIBS = \ - libharfbuzz.la \ - libharfbuzz-gobject.la \ - $(NULL) -HarfBuzz_0_0_gir_FILES = \ - $(HBHEADERS) \ - $(HBSOURCES) \ - $(HB_GOBJECT_sources) \ - $(HB_GOBJECT_headers) \ - $(NULL) - -girdir = $(datadir)/gir-1.0 -gir_DATA = $(INTROSPECTION_GIRS) - -typelibdir = $(libdir)/girepository-1.0 -typelib_DATA = $(INTROSPECTION_GIRS:.gir=.typelib) - -CLEANFILES += $(gir_DATA) $(typelib_DATA) - -endif - --include $(top_srcdir)/git.mk diff --git a/harfbuzz/src/Makefile.in b/harfbuzz/src/Makefile.in deleted file mode 100644 index 616cbdb..0000000 --- a/harfbuzz/src/Makefile.in +++ /dev/null @@ -1,3965 +0,0 @@ -# Makefile.in generated by automake 1.16.1 from Makefile.am. -# @configure_input@ - -# Copyright (C) 1994-2018 Free Software Foundation, Inc. - -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ - -# Process this file with automake to produce Makefile.in - -# Base and default-included sources and headers - - - - -VPATH = @srcdir@ -am__is_gnu_make = { \ - if test -z '$(MAKELEVEL)'; then \ - false; \ - elif test -n '$(MAKE_HOST)'; then \ - true; \ - elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ - true; \ - else \ - false; \ - fi; \ -} -am__make_running_with_option = \ - case $${target_option-} in \ - ?) ;; \ - *) echo "am__make_running_with_option: internal error: invalid" \ - "target option '$${target_option-}' specified" >&2; \ - exit 1;; \ - esac; \ - has_opt=no; \ - sane_makeflags=$$MAKEFLAGS; \ - if $(am__is_gnu_make); then \ - sane_makeflags=$$MFLAGS; \ - else \ - case $$MAKEFLAGS in \ - *\\[\ \ ]*) \ - bs=\\; \ - sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ - | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ - esac; \ - fi; \ - skip_next=no; \ - strip_trailopt () \ - { \ - flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ - }; \ - for flg in $$sane_makeflags; do \ - test $$skip_next = yes && { skip_next=no; continue; }; \ - case $$flg in \ - *=*|--*) continue;; \ - -*I) strip_trailopt 'I'; skip_next=yes;; \ - -*I?*) strip_trailopt 'I';; \ - -*O) strip_trailopt 'O'; skip_next=yes;; \ - -*O?*) strip_trailopt 'O';; \ - -*l) strip_trailopt 'l'; skip_next=yes;; \ - -*l?*) strip_trailopt 'l';; \ - -[dEDm]) skip_next=yes;; \ - -[JT]) skip_next=yes;; \ - esac; \ - case $$flg in \ - *$$target_option*) has_opt=yes; break;; \ - esac; \ - done; \ - test $$has_opt = yes -am__make_dryrun = (target_option=n; $(am__make_running_with_option)) -am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) -pkgdatadir = $(datadir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkglibexecdir = $(libexecdir)/@PACKAGE@ -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -build_triplet = @build@ -host_triplet = @host@ -TESTS = $(am__EXEEXT_2) $(am__EXEEXT_4) -check_PROGRAMS = $(am__EXEEXT_2) -@HAVE_PTHREAD_TRUE@am__append_1 = $(PTHREAD_CFLAGS) -@HAVE_PTHREAD_TRUE@am__append_2 = $(PTHREAD_LIBS) -@HAVE_GLIB_TRUE@am__append_3 = $(GLIB_CFLAGS) -@HAVE_GLIB_TRUE@am__append_4 = $(GLIB_LIBS) -@HAVE_GLIB_TRUE@am__append_5 = $(GLIB_DEPS) -@HAVE_GLIB_TRUE@am__append_6 = $(HB_GLIB_sources) -@HAVE_GLIB_TRUE@am__append_7 = $(HB_GLIB_headers) -@HAVE_FREETYPE_TRUE@am__append_8 = $(FREETYPE_CFLAGS) -@HAVE_FREETYPE_TRUE@am__append_9 = $(FREETYPE_LIBS) -@HAVE_FREETYPE_TRUE@am__append_10 = $(FREETYPE_DEPS) -@HAVE_FREETYPE_TRUE@am__append_11 = $(HB_FT_sources) -@HAVE_FREETYPE_TRUE@am__append_12 = $(HB_FT_headers) -@HAVE_GRAPHITE2_TRUE@am__append_13 = $(GRAPHITE2_CFLAGS) -@HAVE_GRAPHITE2_TRUE@am__append_14 = $(GRAPHITE2_LIBS) -@HAVE_GRAPHITE2_TRUE@am__append_15 = $(GRAPHITE2_DEPS) -@HAVE_GRAPHITE2_TRUE@am__append_16 = $(HB_GRAPHITE2_sources) -@HAVE_GRAPHITE2_TRUE@am__append_17 = $(HB_GRAPHITE2_headers) -@HAVE_UNISCRIBE_TRUE@am__append_18 = $(UNISCRIBE_CFLAGS) -@HAVE_UNISCRIBE_TRUE@am__append_19 = $(UNISCRIBE_LIBS) -@HAVE_UNISCRIBE_TRUE@am__append_20 = $(HB_UNISCRIBE_sources) -@HAVE_UNISCRIBE_TRUE@am__append_21 = $(HB_UNISCRIBE_headers) -@HAVE_DIRECTWRITE_TRUE@am__append_22 = $(DIRECTWRITE_CXXFLAGS) -@HAVE_DIRECTWRITE_TRUE@am__append_23 = $(DIRECTWRITE_LIBS) -@HAVE_DIRECTWRITE_TRUE@am__append_24 = $(HB_DIRECTWRITE_sources) -@HAVE_DIRECTWRITE_TRUE@am__append_25 = $(HB_DIRECTWRITE_headers) -@HAVE_GDI_TRUE@am__append_26 = $(GDI_CXXFLAGS) -@HAVE_GDI_TRUE@am__append_27 = $(GDI_LIBS) -@HAVE_GDI_TRUE@am__append_28 = $(HB_GDI_sources) -@HAVE_GDI_TRUE@am__append_29 = $(HB_GDI_headers) -@HAVE_CORETEXT_TRUE@am__append_30 = $(CORETEXT_CFLAGS) -@HAVE_CORETEXT_TRUE@am__append_31 = $(CORETEXT_LIBS) -@HAVE_CORETEXT_TRUE@am__append_32 = $(HB_CORETEXT_sources) -@HAVE_CORETEXT_TRUE@am__append_33 = $(HB_CORETEXT_headers) -@HAVE_ICU_BUILTIN_TRUE@@HAVE_ICU_TRUE@am__append_34 = $(ICU_CFLAGS) -@HAVE_ICU_BUILTIN_TRUE@@HAVE_ICU_TRUE@am__append_35 = $(ICU_LIBS) -@HAVE_ICU_BUILTIN_TRUE@@HAVE_ICU_TRUE@am__append_36 = $(HB_ICU_sources) -@HAVE_ICU_BUILTIN_TRUE@@HAVE_ICU_TRUE@am__append_37 = $(HB_ICU_headers) -@HAVE_ICU_BUILTIN_FALSE@@HAVE_ICU_TRUE@am__append_38 = libharfbuzz-icu.la -@HAVE_ICU_BUILTIN_FALSE@@HAVE_ICU_TRUE@am__append_39 = $(HB_ICU_headers) -@HAVE_ICU_BUILTIN_FALSE@@HAVE_ICU_TRUE@am__append_40 = harfbuzz-icu.pc -@HAVE_GOBJECT_TRUE@am__append_41 = libharfbuzz-gobject.la -@HAVE_GOBJECT_TRUE@am__append_42 = $(HB_GOBJECT_DIST_headers) -@HAVE_GOBJECT_TRUE@am__append_43 = $(HB_GOBJECT_NODIST_headers) -@HAVE_GOBJECT_TRUE@am__append_44 = harfbuzz-gobject.pc -@HAVE_GOBJECT_TRUE@am__append_45 = \ -@HAVE_GOBJECT_TRUE@ $(HB_GOBJECT_ENUM_sources) \ -@HAVE_GOBJECT_TRUE@ $(HB_GOBJECT_ENUM_headers) \ -@HAVE_GOBJECT_TRUE@ $(NULL) - -@HAVE_GOBJECT_TRUE@am__append_46 = \ -@HAVE_GOBJECT_TRUE@ $(HB_GOBJECT_ENUM_sources) \ -@HAVE_GOBJECT_TRUE@ $(HB_GOBJECT_ENUM_headers) \ -@HAVE_GOBJECT_TRUE@ $(NULL) - -@HAVE_GOBJECT_TRUE@am__append_47 = harfbuzz-gobject.def -noinst_PROGRAMS = main$(EXEEXT) test$(EXEEXT) \ - test-buffer-serialize$(EXEEXT) test-ot-meta$(EXEEXT) \ - test-ot-name$(EXEEXT) test-ot-glyphname$(EXEEXT) \ - test-gpos-size-params$(EXEEXT) \ - test-gsub-would-substitute$(EXEEXT) $(am__EXEEXT_1) -bin_PROGRAMS = -@WITH_LIBSTDCXX_FALSE@am__append_48 = \ -@WITH_LIBSTDCXX_FALSE@ check-libstdc++.py \ -@WITH_LIBSTDCXX_FALSE@ $(NULL) - -@HAVE_INTROSPECTION_TRUE@am__append_49 = $(gir_DATA) $(typelib_DATA) -subdir = src -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_link_flag.m4 \ - $(top_srcdir)/m4/ax_code_coverage.m4 \ - $(top_srcdir)/m4/ax_cxx_compile_stdcxx.m4 \ - $(top_srcdir)/m4/ax_pthread.m4 $(top_srcdir)/m4/gtk-doc.m4 \ - $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ - $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ - $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -DIST_COMMON = $(srcdir)/Makefile.am $(am__dist_check_SCRIPTS_DIST) \ - $(am__pkginclude_HEADERS_DIST) $(am__DIST_COMMON) -mkinstalldirs = $(install_sh) -d -CONFIG_HEADER = $(top_builddir)/config.h -CONFIG_CLEAN_FILES = harfbuzz-config.cmake -CONFIG_CLEAN_VPATH_FILES = -am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(libdir)" \ - "$(DESTDIR)$(cmakedir)" "$(DESTDIR)$(girdir)" \ - "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(typelibdir)" \ - "$(DESTDIR)$(pkgincludedir)" "$(DESTDIR)$(pkgincludedir)" -am__EXEEXT_1 = -am__EXEEXT_2 = test-algs$(EXEEXT) test-array$(EXEEXT) \ - test-iter$(EXEEXT) test-map$(EXEEXT) test-number$(EXEEXT) \ - test-ot-tag$(EXEEXT) test-priority-queue$(EXEEXT) \ - test-set$(EXEEXT) test-unicode-ranges$(EXEEXT) \ - test-vector$(EXEEXT) test-bimap$(EXEEXT) \ - test-repacker$(EXEEXT) $(am__EXEEXT_1) -PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS) -am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; -am__vpath_adj = case $$p in \ - $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ - *) f=$$p;; \ - esac; -am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; -am__install_max = 40 -am__nobase_strip_setup = \ - srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` -am__nobase_strip = \ - for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" -am__nobase_list = $(am__nobase_strip_setup); \ - for p in $$list; do echo "$$p $$p"; done | \ - sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ - $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ - if (++n[$$2] == $(am__install_max)) \ - { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ - END { for (dir in files) print dir, files[dir] }' -am__base_list = \ - sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ - sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' -am__uninstall_files_from_dir = { \ - test -z "$$files" \ - || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ - || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ - $(am__cd) "$$dir" && rm -f $$files; }; \ - } -LTLIBRARIES = $(lib_LTLIBRARIES) -am__DEPENDENCIES_1 = -@HAVE_GOBJECT_TRUE@libharfbuzz_gobject_la_DEPENDENCIES = \ -@HAVE_GOBJECT_TRUE@ $(am__DEPENDENCIES_1) libharfbuzz.la -am__libharfbuzz_gobject_la_SOURCES_DIST = hb-gobject-structs.cc -am__objects_1 = libharfbuzz_gobject_la-hb-gobject-structs.lo -@HAVE_GOBJECT_TRUE@am_libharfbuzz_gobject_la_OBJECTS = \ -@HAVE_GOBJECT_TRUE@ $(am__objects_1) -am__objects_2 = libharfbuzz_gobject_la-hb-gobject-enums.lo -am__objects_3 = $(am__objects_2) -@HAVE_GOBJECT_TRUE@nodist_libharfbuzz_gobject_la_OBJECTS = \ -@HAVE_GOBJECT_TRUE@ $(am__objects_3) -libharfbuzz_gobject_la_OBJECTS = $(am_libharfbuzz_gobject_la_OBJECTS) \ - $(nodist_libharfbuzz_gobject_la_OBJECTS) -@HAVE_GOBJECT_TRUE@am_libharfbuzz_gobject_la_rpath = -rpath $(libdir) -@HAVE_ICU_BUILTIN_FALSE@@HAVE_ICU_TRUE@libharfbuzz_icu_la_DEPENDENCIES = \ -@HAVE_ICU_BUILTIN_FALSE@@HAVE_ICU_TRUE@ $(am__DEPENDENCIES_1) \ -@HAVE_ICU_BUILTIN_FALSE@@HAVE_ICU_TRUE@ libharfbuzz.la -am__libharfbuzz_icu_la_SOURCES_DIST = hb-icu.cc -am__objects_4 = libharfbuzz_icu_la-hb-icu.lo -@HAVE_ICU_BUILTIN_FALSE@@HAVE_ICU_TRUE@am_libharfbuzz_icu_la_OBJECTS = \ -@HAVE_ICU_BUILTIN_FALSE@@HAVE_ICU_TRUE@ $(am__objects_4) -libharfbuzz_icu_la_OBJECTS = $(am_libharfbuzz_icu_la_OBJECTS) -AM_V_lt = $(am__v_lt_@AM_V@) -am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) -am__v_lt_0 = --silent -am__v_lt_1 = -libharfbuzz_icu_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX \ - $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CXXLD) \ - $(AM_CXXFLAGS) $(CXXFLAGS) $(libharfbuzz_icu_la_LDFLAGS) \ - $(LDFLAGS) -o $@ -@HAVE_ICU_BUILTIN_FALSE@@HAVE_ICU_TRUE@am_libharfbuzz_icu_la_rpath = \ -@HAVE_ICU_BUILTIN_FALSE@@HAVE_ICU_TRUE@ -rpath $(libdir) -libharfbuzz_subset_la_DEPENDENCIES = libharfbuzz.la -am__objects_5 = -am__objects_6 = libharfbuzz_subset_la-hb-number.lo \ - libharfbuzz_subset_la-hb-ot-cff1-table.lo \ - libharfbuzz_subset_la-hb-ot-cff2-table.lo \ - libharfbuzz_subset_la-hb-static.lo \ - libharfbuzz_subset_la-hb-subset-cff-common.lo \ - libharfbuzz_subset_la-hb-subset-cff1.lo \ - libharfbuzz_subset_la-hb-subset-cff2.lo \ - libharfbuzz_subset_la-hb-subset-input.lo \ - libharfbuzz_subset_la-hb-subset-plan.lo \ - libharfbuzz_subset_la-hb-subset.lo $(am__objects_5) -am_libharfbuzz_subset_la_OBJECTS = $(am__objects_6) -libharfbuzz_subset_la_OBJECTS = $(am_libharfbuzz_subset_la_OBJECTS) -@HAVE_GLIB_TRUE@am__DEPENDENCIES_2 = $(am__DEPENDENCIES_1) -@HAVE_FREETYPE_TRUE@am__DEPENDENCIES_3 = $(am__DEPENDENCIES_1) -@HAVE_GRAPHITE2_TRUE@am__DEPENDENCIES_4 = $(am__DEPENDENCIES_1) -@HAVE_PTHREAD_TRUE@am__DEPENDENCIES_5 = $(am__DEPENDENCIES_1) -@HAVE_UNISCRIBE_TRUE@am__DEPENDENCIES_6 = $(am__DEPENDENCIES_1) -@HAVE_DIRECTWRITE_TRUE@am__DEPENDENCIES_7 = $(am__DEPENDENCIES_1) -@HAVE_GDI_TRUE@am__DEPENDENCIES_8 = $(am__DEPENDENCIES_1) -@HAVE_CORETEXT_TRUE@am__DEPENDENCIES_9 = $(am__DEPENDENCIES_1) -am__DEPENDENCIES_10 = $(am__DEPENDENCIES_5) $(am__DEPENDENCIES_6) \ - $(am__DEPENDENCIES_7) $(am__DEPENDENCIES_8) \ - $(am__DEPENDENCIES_9) -@HAVE_ICU_BUILTIN_TRUE@@HAVE_ICU_TRUE@am__DEPENDENCIES_11 = \ -@HAVE_ICU_BUILTIN_TRUE@@HAVE_ICU_TRUE@ $(am__DEPENDENCIES_1) -am__DEPENDENCIES_12 = $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_3) \ - $(am__DEPENDENCIES_4) $(am__DEPENDENCIES_10) \ - $(am__DEPENDENCIES_11) -libharfbuzz_la_DEPENDENCIES = $(am__DEPENDENCIES_12) -am__libharfbuzz_la_SOURCES_DIST = hb-aat-layout-ankr-table.hh \ - hb-aat-layout-bsln-table.hh hb-aat-layout-common.hh \ - hb-aat-layout-feat-table.hh hb-aat-layout-just-table.hh \ - hb-aat-layout-kerx-table.hh hb-aat-layout-morx-table.hh \ - hb-aat-layout-opbd-table.hh hb-aat-layout-trak-table.hh \ - hb-aat-layout.cc hb-aat-layout.hh hb-aat-ltag-table.hh \ - hb-aat-map.cc hb-aat-map.hh hb-algs.hh hb-array.hh \ - hb-atomic.hh hb-bimap.hh hb-bit-page.hh hb-bit-set.hh \ - hb-bit-set-invertible.hh hb-blob.cc hb-blob.hh \ - hb-buffer-serialize.cc hb-buffer.cc hb-buffer.hh hb-cache.hh \ - hb-cff-interp-common.hh hb-cff-interp-cs-common.hh \ - hb-cff-interp-dict-common.hh hb-cff1-interp-cs.hh \ - hb-cff2-interp-cs.hh hb-common.cc hb-config.hh hb-debug.hh \ - hb-dispatch.hh hb-draw.cc hb-draw.hh hb-face.cc hb-face.hh \ - hb-fallback-shape.cc hb-font.cc hb-font.hh hb-iter.hh \ - hb-kern.hh hb-machinery.hh hb-map.cc hb-map.hh hb-meta.hh \ - hb-ms-feature-ranges.cc hb-ms-feature-ranges.hh hb-mutex.hh \ - hb-null.hh hb-number.cc hb-number.hh hb-object.hh \ - hb-open-file.hh hb-open-type.hh hb-ot-cff-common.hh \ - hb-ot-cff1-std-str.hh hb-ot-cff1-table.cc hb-ot-cff1-table.hh \ - hb-ot-cff2-table.cc hb-ot-cff2-table.hh hb-ot-cmap-table.hh \ - hb-ot-color-cbdt-table.hh hb-ot-color-colr-table.hh \ - hb-ot-color-cpal-table.hh hb-ot-color-sbix-table.hh \ - hb-ot-color-svg-table.hh hb-ot-color.cc \ - hb-ot-face-table-list.hh hb-ot-face.cc hb-ot-face.hh \ - hb-ot-font.cc hb-ot-gasp-table.hh hb-ot-glyf-table.hh \ - hb-ot-hdmx-table.hh hb-ot-head-table.hh hb-ot-hhea-table.hh \ - hb-ot-hmtx-table.hh hb-ot-kern-table.hh \ - hb-ot-layout-base-table.hh hb-ot-layout-common.hh \ - hb-ot-layout-gdef-table.hh hb-ot-layout-gpos-table.hh \ - hb-ot-layout-gsub-table.hh hb-ot-layout-gsubgpos.hh \ - hb-ot-layout-jstf-table.hh hb-ot-layout.cc hb-ot-layout.hh \ - hb-ot-map.cc hb-ot-map.hh hb-ot-math-table.hh hb-ot-math.cc \ - hb-ot-maxp-table.hh hb-ot-meta-table.hh hb-ot-meta.cc \ - hb-ot-metrics.cc hb-ot-metrics.hh \ - hb-ot-name-language-static.hh hb-ot-name-language.hh \ - hb-ot-name-table.hh hb-ot-name.cc hb-ot-os2-table.hh \ - hb-ot-os2-unicode-ranges.hh hb-ot-post-macroman.hh \ - hb-ot-post-table.hh hb-ot-shape-complex-arabic-fallback.hh \ - hb-ot-shape-complex-arabic-joining-list.hh \ - hb-ot-shape-complex-arabic-table.hh \ - hb-ot-shape-complex-arabic-win1256.hh \ - hb-ot-shape-complex-arabic.cc hb-ot-shape-complex-arabic.hh \ - hb-ot-shape-complex-default.cc hb-ot-shape-complex-hangul.cc \ - hb-ot-shape-complex-hebrew.cc \ - hb-ot-shape-complex-indic-table.cc \ - hb-ot-shape-complex-indic.cc hb-ot-shape-complex-indic.hh \ - hb-ot-shape-complex-khmer.cc hb-ot-shape-complex-khmer.hh \ - hb-ot-shape-complex-myanmar.cc hb-ot-shape-complex-myanmar.hh \ - hb-ot-shape-complex-syllabic.cc \ - hb-ot-shape-complex-syllabic.hh hb-ot-shape-complex-thai.cc \ - hb-ot-shape-complex-use-table.hh hb-ot-shape-complex-use.cc \ - hb-ot-shape-complex-vowel-constraints.cc \ - hb-ot-shape-complex-vowel-constraints.hh \ - hb-ot-shape-complex.hh hb-ot-shape-fallback.cc \ - hb-ot-shape-fallback.hh hb-ot-shape-normalize.cc \ - hb-ot-shape-normalize.hh hb-ot-shape.cc hb-ot-shape.hh \ - hb-ot-stat-table.hh hb-ot-tag-table.hh hb-ot-tag.cc \ - hb-ot-var-avar-table.hh hb-ot-var-common.hh \ - hb-ot-var-fvar-table.hh hb-ot-var-gvar-table.hh \ - hb-ot-var-hvar-table.hh hb-ot-var-mvar-table.hh hb-ot-var.cc \ - hb-ot-vorg-table.hh hb-pool.hh hb-sanitize.hh hb-serialize.hh \ - hb-set-digest.hh hb-set.cc hb-set.hh hb-shape-plan.cc \ - hb-shape-plan.hh hb-shape.cc hb-shaper-impl.hh \ - hb-shaper-list.hh hb-shaper.cc hb-shaper.hh hb-static.cc \ - hb-string-array.hh hb-style.cc hb-ucd-table.hh hb-ucd.cc \ - hb-unicode-emoji-table.hh hb-unicode.cc hb-unicode.hh \ - hb-utf.hh hb-vector.hh hb-priority-queue.hh hb.hh \ - hb-buffer-deserialize-json.hh hb-buffer-deserialize-text.hh \ - hb-number-parser.hh hb-ot-shape-complex-indic-machine.hh \ - hb-ot-shape-complex-khmer-machine.hh \ - hb-ot-shape-complex-myanmar-machine.hh \ - hb-ot-shape-complex-use-machine.hh hb-glib.cc hb-ft.cc \ - hb-graphite2.cc hb-uniscribe.cc hb-directwrite.cc hb-gdi.cc \ - hb-coretext.cc hb-icu.cc hb-aat-layout.h hb-aat.h hb-blob.h \ - hb-buffer.h hb-common.h hb-deprecated.h hb-draw.h hb-face.h \ - hb-font.h hb-map.h hb-ot-color.h hb-ot-deprecated.h \ - hb-ot-font.h hb-ot-layout.h hb-ot-math.h hb-ot-meta.h \ - hb-ot-metrics.h hb-ot-name.h hb-ot-shape.h hb-ot-var.h hb-ot.h \ - hb-set.h hb-shape-plan.h hb-shape.h hb-style.h hb-unicode.h \ - hb-version.h hb.h hb-glib.h hb-ft.h hb-graphite2.h \ - hb-uniscribe.h hb-directwrite.h hb-gdi.h hb-coretext.h \ - hb-icu.h -am__objects_7 = libharfbuzz_la-hb-aat-layout.lo \ - libharfbuzz_la-hb-aat-map.lo libharfbuzz_la-hb-blob.lo \ - libharfbuzz_la-hb-buffer-serialize.lo \ - libharfbuzz_la-hb-buffer.lo libharfbuzz_la-hb-common.lo \ - libharfbuzz_la-hb-draw.lo libharfbuzz_la-hb-face.lo \ - libharfbuzz_la-hb-fallback-shape.lo libharfbuzz_la-hb-font.lo \ - libharfbuzz_la-hb-map.lo \ - libharfbuzz_la-hb-ms-feature-ranges.lo \ - libharfbuzz_la-hb-number.lo libharfbuzz_la-hb-ot-cff1-table.lo \ - libharfbuzz_la-hb-ot-cff2-table.lo \ - libharfbuzz_la-hb-ot-color.lo libharfbuzz_la-hb-ot-face.lo \ - libharfbuzz_la-hb-ot-font.lo libharfbuzz_la-hb-ot-layout.lo \ - libharfbuzz_la-hb-ot-map.lo libharfbuzz_la-hb-ot-math.lo \ - libharfbuzz_la-hb-ot-meta.lo libharfbuzz_la-hb-ot-metrics.lo \ - libharfbuzz_la-hb-ot-name.lo \ - libharfbuzz_la-hb-ot-shape-complex-arabic.lo \ - libharfbuzz_la-hb-ot-shape-complex-default.lo \ - libharfbuzz_la-hb-ot-shape-complex-hangul.lo \ - libharfbuzz_la-hb-ot-shape-complex-hebrew.lo \ - libharfbuzz_la-hb-ot-shape-complex-indic-table.lo \ - libharfbuzz_la-hb-ot-shape-complex-indic.lo \ - libharfbuzz_la-hb-ot-shape-complex-khmer.lo \ - libharfbuzz_la-hb-ot-shape-complex-myanmar.lo \ - libharfbuzz_la-hb-ot-shape-complex-syllabic.lo \ - libharfbuzz_la-hb-ot-shape-complex-thai.lo \ - libharfbuzz_la-hb-ot-shape-complex-use.lo \ - libharfbuzz_la-hb-ot-shape-complex-vowel-constraints.lo \ - libharfbuzz_la-hb-ot-shape-fallback.lo \ - libharfbuzz_la-hb-ot-shape-normalize.lo \ - libharfbuzz_la-hb-ot-shape.lo libharfbuzz_la-hb-ot-tag.lo \ - libharfbuzz_la-hb-ot-var.lo libharfbuzz_la-hb-set.lo \ - libharfbuzz_la-hb-shape-plan.lo libharfbuzz_la-hb-shape.lo \ - libharfbuzz_la-hb-shaper.lo libharfbuzz_la-hb-static.lo \ - libharfbuzz_la-hb-style.lo libharfbuzz_la-hb-ucd.lo \ - libharfbuzz_la-hb-unicode.lo $(am__objects_5) -am__objects_8 = $(am__objects_5) -am__objects_9 = libharfbuzz_la-hb-glib.lo -@HAVE_GLIB_TRUE@am__objects_10 = $(am__objects_9) -am__objects_11 = libharfbuzz_la-hb-ft.lo -@HAVE_FREETYPE_TRUE@am__objects_12 = $(am__objects_11) -am__objects_13 = libharfbuzz_la-hb-graphite2.lo -@HAVE_GRAPHITE2_TRUE@am__objects_14 = $(am__objects_13) -am__objects_15 = libharfbuzz_la-hb-uniscribe.lo -@HAVE_UNISCRIBE_TRUE@am__objects_16 = $(am__objects_15) -am__objects_17 = libharfbuzz_la-hb-directwrite.lo -@HAVE_DIRECTWRITE_TRUE@am__objects_18 = $(am__objects_17) -am__objects_19 = libharfbuzz_la-hb-gdi.lo -@HAVE_GDI_TRUE@am__objects_20 = $(am__objects_19) -am__objects_21 = libharfbuzz_la-hb-coretext.lo -@HAVE_CORETEXT_TRUE@am__objects_22 = $(am__objects_21) -am__objects_23 = libharfbuzz_la-hb-icu.lo -@HAVE_ICU_BUILTIN_TRUE@@HAVE_ICU_TRUE@am__objects_24 = \ -@HAVE_ICU_BUILTIN_TRUE@@HAVE_ICU_TRUE@ $(am__objects_23) -am__objects_25 = $(am__objects_7) $(am__objects_8) $(am__objects_10) \ - $(am__objects_12) $(am__objects_14) $(am__objects_16) \ - $(am__objects_18) $(am__objects_20) $(am__objects_22) \ - $(am__objects_24) -@HAVE_GLIB_TRUE@am__objects_26 = $(am__objects_5) -@HAVE_FREETYPE_TRUE@am__objects_27 = $(am__objects_5) -@HAVE_GRAPHITE2_TRUE@am__objects_28 = $(am__objects_5) -@HAVE_UNISCRIBE_TRUE@am__objects_29 = $(am__objects_5) -@HAVE_DIRECTWRITE_TRUE@am__objects_30 = $(am__objects_5) -@HAVE_GDI_TRUE@am__objects_31 = $(am__objects_5) -@HAVE_CORETEXT_TRUE@am__objects_32 = $(am__objects_5) -@HAVE_ICU_BUILTIN_TRUE@@HAVE_ICU_TRUE@am__objects_33 = \ -@HAVE_ICU_BUILTIN_TRUE@@HAVE_ICU_TRUE@ $(am__objects_5) -am__objects_34 = $(am__objects_8) $(am__objects_26) $(am__objects_27) \ - $(am__objects_28) $(am__objects_29) $(am__objects_30) \ - $(am__objects_31) $(am__objects_32) $(am__objects_33) -am_libharfbuzz_la_OBJECTS = $(am__objects_25) $(am__objects_34) -libharfbuzz_la_OBJECTS = $(am_libharfbuzz_la_OBJECTS) -am_main_OBJECTS = main-main.$(OBJEXT) -main_OBJECTS = $(am_main_OBJECTS) -main_DEPENDENCIES = libharfbuzz.la $(am__DEPENDENCIES_12) -am_test_OBJECTS = test-test.$(OBJEXT) -test_OBJECTS = $(am_test_OBJECTS) -test_DEPENDENCIES = libharfbuzz.la $(am__DEPENDENCIES_12) \ - $(am__DEPENDENCIES_1) -am_test_algs_OBJECTS = test_algs-test-algs.$(OBJEXT) \ - test_algs-hb-static.$(OBJEXT) -test_algs_OBJECTS = $(am_test_algs_OBJECTS) -am__DEPENDENCIES_13 = libharfbuzz.la $(am__DEPENDENCIES_12) -test_algs_DEPENDENCIES = $(am__DEPENDENCIES_13) -am_test_array_OBJECTS = test_array-test-array.$(OBJEXT) -test_array_OBJECTS = $(am_test_array_OBJECTS) -test_array_DEPENDENCIES = libharfbuzz.la $(am__DEPENDENCIES_12) -am_test_bimap_OBJECTS = test_bimap-test-bimap.$(OBJEXT) \ - test_bimap-hb-static.$(OBJEXT) -test_bimap_OBJECTS = $(am_test_bimap_OBJECTS) -test_bimap_DEPENDENCIES = $(am__DEPENDENCIES_13) -am_test_buffer_serialize_OBJECTS = \ - test_buffer_serialize-test-buffer-serialize.$(OBJEXT) -test_buffer_serialize_OBJECTS = $(am_test_buffer_serialize_OBJECTS) -test_buffer_serialize_DEPENDENCIES = libharfbuzz.la \ - $(am__DEPENDENCIES_12) -am_test_gpos_size_params_OBJECTS = \ - test_gpos_size_params-test-gpos-size-params.$(OBJEXT) -test_gpos_size_params_OBJECTS = $(am_test_gpos_size_params_OBJECTS) -test_gpos_size_params_DEPENDENCIES = libharfbuzz.la \ - $(am__DEPENDENCIES_12) -am_test_gsub_would_substitute_OBJECTS = test_gsub_would_substitute-test-gsub-would-substitute.$(OBJEXT) -test_gsub_would_substitute_OBJECTS = \ - $(am_test_gsub_would_substitute_OBJECTS) -test_gsub_would_substitute_DEPENDENCIES = libharfbuzz.la \ - $(am__DEPENDENCIES_12) $(am__DEPENDENCIES_1) -am_test_iter_OBJECTS = test_iter-test-iter.$(OBJEXT) \ - test_iter-hb-static.$(OBJEXT) -test_iter_OBJECTS = $(am_test_iter_OBJECTS) -test_iter_DEPENDENCIES = $(am__DEPENDENCIES_13) -am_test_map_OBJECTS = test_map-test-map.$(OBJEXT) \ - test_map-hb-static.$(OBJEXT) -test_map_OBJECTS = $(am_test_map_OBJECTS) -test_map_DEPENDENCIES = $(am__DEPENDENCIES_13) -am_test_number_OBJECTS = test_number-test-number.$(OBJEXT) \ - test_number-hb-number.$(OBJEXT) -test_number_OBJECTS = $(am_test_number_OBJECTS) -test_number_DEPENDENCIES = $(am__DEPENDENCIES_13) -am_test_ot_glyphname_OBJECTS = \ - test_ot_glyphname-test-ot-glyphname.$(OBJEXT) -test_ot_glyphname_OBJECTS = $(am_test_ot_glyphname_OBJECTS) -test_ot_glyphname_DEPENDENCIES = libharfbuzz.la $(am__DEPENDENCIES_12) -am_test_ot_meta_OBJECTS = test_ot_meta-test-ot-meta.$(OBJEXT) -test_ot_meta_OBJECTS = $(am_test_ot_meta_OBJECTS) -test_ot_meta_DEPENDENCIES = libharfbuzz.la $(am__DEPENDENCIES_12) -am_test_ot_name_OBJECTS = test_ot_name-test-ot-name.$(OBJEXT) -test_ot_name_OBJECTS = $(am_test_ot_name_OBJECTS) -test_ot_name_DEPENDENCIES = libharfbuzz.la $(am__DEPENDENCIES_12) -am_test_ot_tag_OBJECTS = test_ot_tag-hb-ot-tag.$(OBJEXT) -test_ot_tag_OBJECTS = $(am_test_ot_tag_OBJECTS) -test_ot_tag_DEPENDENCIES = $(am__DEPENDENCIES_13) -am_test_priority_queue_OBJECTS = \ - test_priority_queue-test-priority-queue.$(OBJEXT) \ - test_priority_queue-hb-static.$(OBJEXT) -test_priority_queue_OBJECTS = $(am_test_priority_queue_OBJECTS) -test_priority_queue_DEPENDENCIES = libharfbuzz.la \ - $(am__DEPENDENCIES_12) -am_test_repacker_OBJECTS = test_repacker-test-repacker.$(OBJEXT) \ - test_repacker-hb-static.$(OBJEXT) -test_repacker_OBJECTS = $(am_test_repacker_OBJECTS) -test_repacker_DEPENDENCIES = libharfbuzz.la libharfbuzz-subset.la \ - $(am__DEPENDENCIES_12) -am_test_set_OBJECTS = test_set-test-set.$(OBJEXT) \ - test_set-hb-static.$(OBJEXT) -test_set_OBJECTS = $(am_test_set_OBJECTS) -test_set_DEPENDENCIES = $(am__DEPENDENCIES_13) -am_test_unicode_ranges_OBJECTS = \ - test_unicode_ranges-test-unicode-ranges.$(OBJEXT) -test_unicode_ranges_OBJECTS = $(am_test_unicode_ranges_OBJECTS) -test_unicode_ranges_DEPENDENCIES = $(am__DEPENDENCIES_13) -am_test_vector_OBJECTS = test_vector-test-vector.$(OBJEXT) \ - test_vector-hb-static.$(OBJEXT) -test_vector_OBJECTS = $(am_test_vector_OBJECTS) -test_vector_DEPENDENCIES = $(am__DEPENDENCIES_13) -am__dist_check_SCRIPTS_DIST = check-c-linkage-decls.py \ - check-externs.py check-header-guards.py check-includes.py \ - check-static-inits.py check-symbols.py check-libstdc++.py -AM_V_P = $(am__v_P_@AM_V@) -am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) -am__v_P_0 = false -am__v_P_1 = : -AM_V_GEN = $(am__v_GEN_@AM_V@) -am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) -am__v_GEN_0 = @echo " GEN " $@; -am__v_GEN_1 = -AM_V_at = $(am__v_at_@AM_V@) -am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) -am__v_at_0 = @ -am__v_at_1 = -DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) -depcomp = $(SHELL) $(top_srcdir)/depcomp -am__maybe_remake_depfiles = depfiles -am__depfiles_remade = \ - ./$(DEPDIR)/libharfbuzz_gobject_la-hb-gobject-enums.Plo \ - ./$(DEPDIR)/libharfbuzz_gobject_la-hb-gobject-structs.Plo \ - ./$(DEPDIR)/libharfbuzz_icu_la-hb-icu.Plo \ - ./$(DEPDIR)/libharfbuzz_la-hb-aat-layout.Plo \ - ./$(DEPDIR)/libharfbuzz_la-hb-aat-map.Plo \ - ./$(DEPDIR)/libharfbuzz_la-hb-blob.Plo \ - ./$(DEPDIR)/libharfbuzz_la-hb-buffer-serialize.Plo \ - ./$(DEPDIR)/libharfbuzz_la-hb-buffer.Plo \ - ./$(DEPDIR)/libharfbuzz_la-hb-common.Plo \ - ./$(DEPDIR)/libharfbuzz_la-hb-coretext.Plo \ - ./$(DEPDIR)/libharfbuzz_la-hb-directwrite.Plo \ - ./$(DEPDIR)/libharfbuzz_la-hb-draw.Plo \ - ./$(DEPDIR)/libharfbuzz_la-hb-face.Plo \ - ./$(DEPDIR)/libharfbuzz_la-hb-fallback-shape.Plo \ - ./$(DEPDIR)/libharfbuzz_la-hb-font.Plo \ - ./$(DEPDIR)/libharfbuzz_la-hb-ft.Plo \ - ./$(DEPDIR)/libharfbuzz_la-hb-gdi.Plo \ - ./$(DEPDIR)/libharfbuzz_la-hb-glib.Plo \ - ./$(DEPDIR)/libharfbuzz_la-hb-graphite2.Plo \ - ./$(DEPDIR)/libharfbuzz_la-hb-icu.Plo \ - ./$(DEPDIR)/libharfbuzz_la-hb-map.Plo \ - ./$(DEPDIR)/libharfbuzz_la-hb-ms-feature-ranges.Plo \ - ./$(DEPDIR)/libharfbuzz_la-hb-number.Plo \ - ./$(DEPDIR)/libharfbuzz_la-hb-ot-cff1-table.Plo \ - ./$(DEPDIR)/libharfbuzz_la-hb-ot-cff2-table.Plo \ - ./$(DEPDIR)/libharfbuzz_la-hb-ot-color.Plo \ - ./$(DEPDIR)/libharfbuzz_la-hb-ot-face.Plo \ - ./$(DEPDIR)/libharfbuzz_la-hb-ot-font.Plo \ - ./$(DEPDIR)/libharfbuzz_la-hb-ot-layout.Plo \ - ./$(DEPDIR)/libharfbuzz_la-hb-ot-map.Plo \ - ./$(DEPDIR)/libharfbuzz_la-hb-ot-math.Plo \ - ./$(DEPDIR)/libharfbuzz_la-hb-ot-meta.Plo \ - ./$(DEPDIR)/libharfbuzz_la-hb-ot-metrics.Plo \ - ./$(DEPDIR)/libharfbuzz_la-hb-ot-name.Plo \ - ./$(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-arabic.Plo \ - ./$(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-default.Plo \ - ./$(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-hangul.Plo \ - ./$(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-hebrew.Plo \ - ./$(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-indic-table.Plo \ - ./$(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-indic.Plo \ - ./$(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-khmer.Plo \ - ./$(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-myanmar.Plo \ - ./$(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-syllabic.Plo \ - ./$(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-thai.Plo \ - ./$(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-use.Plo \ - ./$(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-vowel-constraints.Plo \ - ./$(DEPDIR)/libharfbuzz_la-hb-ot-shape-fallback.Plo \ - ./$(DEPDIR)/libharfbuzz_la-hb-ot-shape-normalize.Plo \ - ./$(DEPDIR)/libharfbuzz_la-hb-ot-shape.Plo \ - ./$(DEPDIR)/libharfbuzz_la-hb-ot-tag.Plo \ - ./$(DEPDIR)/libharfbuzz_la-hb-ot-var.Plo \ - ./$(DEPDIR)/libharfbuzz_la-hb-set.Plo \ - ./$(DEPDIR)/libharfbuzz_la-hb-shape-plan.Plo \ - ./$(DEPDIR)/libharfbuzz_la-hb-shape.Plo \ - ./$(DEPDIR)/libharfbuzz_la-hb-shaper.Plo \ - ./$(DEPDIR)/libharfbuzz_la-hb-static.Plo \ - ./$(DEPDIR)/libharfbuzz_la-hb-style.Plo \ - ./$(DEPDIR)/libharfbuzz_la-hb-ucd.Plo \ - ./$(DEPDIR)/libharfbuzz_la-hb-unicode.Plo \ - ./$(DEPDIR)/libharfbuzz_la-hb-uniscribe.Plo \ - ./$(DEPDIR)/libharfbuzz_subset_la-hb-number.Plo \ - ./$(DEPDIR)/libharfbuzz_subset_la-hb-ot-cff1-table.Plo \ - ./$(DEPDIR)/libharfbuzz_subset_la-hb-ot-cff2-table.Plo \ - ./$(DEPDIR)/libharfbuzz_subset_la-hb-static.Plo \ - ./$(DEPDIR)/libharfbuzz_subset_la-hb-subset-cff-common.Plo \ - ./$(DEPDIR)/libharfbuzz_subset_la-hb-subset-cff1.Plo \ - ./$(DEPDIR)/libharfbuzz_subset_la-hb-subset-cff2.Plo \ - ./$(DEPDIR)/libharfbuzz_subset_la-hb-subset-input.Plo \ - ./$(DEPDIR)/libharfbuzz_subset_la-hb-subset-plan.Plo \ - ./$(DEPDIR)/libharfbuzz_subset_la-hb-subset.Plo \ - ./$(DEPDIR)/main-main.Po ./$(DEPDIR)/test-test.Po \ - ./$(DEPDIR)/test_algs-hb-static.Po \ - ./$(DEPDIR)/test_algs-test-algs.Po \ - ./$(DEPDIR)/test_array-test-array.Po \ - ./$(DEPDIR)/test_bimap-hb-static.Po \ - ./$(DEPDIR)/test_bimap-test-bimap.Po \ - ./$(DEPDIR)/test_buffer_serialize-test-buffer-serialize.Po \ - ./$(DEPDIR)/test_gpos_size_params-test-gpos-size-params.Po \ - ./$(DEPDIR)/test_gsub_would_substitute-test-gsub-would-substitute.Po \ - ./$(DEPDIR)/test_iter-hb-static.Po \ - ./$(DEPDIR)/test_iter-test-iter.Po \ - ./$(DEPDIR)/test_map-hb-static.Po \ - ./$(DEPDIR)/test_map-test-map.Po \ - ./$(DEPDIR)/test_number-hb-number.Po \ - ./$(DEPDIR)/test_number-test-number.Po \ - ./$(DEPDIR)/test_ot_glyphname-test-ot-glyphname.Po \ - ./$(DEPDIR)/test_ot_meta-test-ot-meta.Po \ - ./$(DEPDIR)/test_ot_name-test-ot-name.Po \ - ./$(DEPDIR)/test_ot_tag-hb-ot-tag.Po \ - ./$(DEPDIR)/test_priority_queue-hb-static.Po \ - ./$(DEPDIR)/test_priority_queue-test-priority-queue.Po \ - ./$(DEPDIR)/test_repacker-hb-static.Po \ - ./$(DEPDIR)/test_repacker-test-repacker.Po \ - ./$(DEPDIR)/test_set-hb-static.Po \ - ./$(DEPDIR)/test_set-test-set.Po \ - ./$(DEPDIR)/test_unicode_ranges-test-unicode-ranges.Po \ - ./$(DEPDIR)/test_vector-hb-static.Po \ - ./$(DEPDIR)/test_vector-test-vector.Po -am__mv = mv -f -CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ - $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -LTCXXCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \ - $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) \ - $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ - $(AM_CXXFLAGS) $(CXXFLAGS) -AM_V_CXX = $(am__v_CXX_@AM_V@) -am__v_CXX_ = $(am__v_CXX_@AM_DEFAULT_V@) -am__v_CXX_0 = @echo " CXX " $@; -am__v_CXX_1 = -CXXLD = $(CXX) -CXXLINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \ - $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \ - $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ -AM_V_CXXLD = $(am__v_CXXLD_@AM_V@) -am__v_CXXLD_ = $(am__v_CXXLD_@AM_DEFAULT_V@) -am__v_CXXLD_0 = @echo " CXXLD " $@; -am__v_CXXLD_1 = -COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ - $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ - $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ - $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ - $(AM_CFLAGS) $(CFLAGS) -AM_V_CC = $(am__v_CC_@AM_V@) -am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) -am__v_CC_0 = @echo " CC " $@; -am__v_CC_1 = -CCLD = $(CC) -LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ - $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ - $(AM_LDFLAGS) $(LDFLAGS) -o $@ -AM_V_CCLD = $(am__v_CCLD_@AM_V@) -am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) -am__v_CCLD_0 = @echo " CCLD " $@; -am__v_CCLD_1 = -SOURCES = $(libharfbuzz_gobject_la_SOURCES) \ - $(nodist_libharfbuzz_gobject_la_SOURCES) \ - $(libharfbuzz_icu_la_SOURCES) $(libharfbuzz_subset_la_SOURCES) \ - $(libharfbuzz_la_SOURCES) $(main_SOURCES) $(test_SOURCES) \ - $(test_algs_SOURCES) $(test_array_SOURCES) \ - $(test_bimap_SOURCES) $(test_buffer_serialize_SOURCES) \ - $(test_gpos_size_params_SOURCES) \ - $(test_gsub_would_substitute_SOURCES) $(test_iter_SOURCES) \ - $(test_map_SOURCES) $(test_number_SOURCES) \ - $(test_ot_glyphname_SOURCES) $(test_ot_meta_SOURCES) \ - $(test_ot_name_SOURCES) $(test_ot_tag_SOURCES) \ - $(test_priority_queue_SOURCES) $(test_repacker_SOURCES) \ - $(test_set_SOURCES) $(test_unicode_ranges_SOURCES) \ - $(test_vector_SOURCES) -DIST_SOURCES = $(am__libharfbuzz_gobject_la_SOURCES_DIST) \ - $(am__libharfbuzz_icu_la_SOURCES_DIST) \ - $(libharfbuzz_subset_la_SOURCES) \ - $(am__libharfbuzz_la_SOURCES_DIST) $(main_SOURCES) \ - $(test_SOURCES) $(test_algs_SOURCES) $(test_array_SOURCES) \ - $(test_bimap_SOURCES) $(test_buffer_serialize_SOURCES) \ - $(test_gpos_size_params_SOURCES) \ - $(test_gsub_would_substitute_SOURCES) $(test_iter_SOURCES) \ - $(test_map_SOURCES) $(test_number_SOURCES) \ - $(test_ot_glyphname_SOURCES) $(test_ot_meta_SOURCES) \ - $(test_ot_name_SOURCES) $(test_ot_tag_SOURCES) \ - $(test_priority_queue_SOURCES) $(test_repacker_SOURCES) \ - $(test_set_SOURCES) $(test_unicode_ranges_SOURCES) \ - $(test_vector_SOURCES) -RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ - ctags-recursive dvi-recursive html-recursive info-recursive \ - install-data-recursive install-dvi-recursive \ - install-exec-recursive install-html-recursive \ - install-info-recursive install-pdf-recursive \ - install-ps-recursive install-recursive installcheck-recursive \ - installdirs-recursive pdf-recursive ps-recursive \ - tags-recursive uninstall-recursive -am__can_run_installinfo = \ - case $$AM_UPDATE_INFO_DIR in \ - n|no|NO) false;; \ - *) (install-info --version) >/dev/null 2>&1;; \ - esac -DATA = $(cmake_DATA) $(gir_DATA) $(pkgconfig_DATA) $(typelib_DATA) -am__pkginclude_HEADERS_DIST = hb-aat-layout.h hb-aat.h hb-blob.h \ - hb-buffer.h hb-common.h hb-deprecated.h hb-draw.h hb-face.h \ - hb-font.h hb-map.h hb-ot-color.h hb-ot-deprecated.h \ - hb-ot-font.h hb-ot-layout.h hb-ot-math.h hb-ot-meta.h \ - hb-ot-metrics.h hb-ot-name.h hb-ot-shape.h hb-ot-var.h hb-ot.h \ - hb-set.h hb-shape-plan.h hb-shape.h hb-style.h hb-unicode.h \ - hb-version.h hb.h hb-glib.h hb-ft.h hb-graphite2.h \ - hb-uniscribe.h hb-directwrite.h hb-gdi.h hb-coretext.h \ - hb-icu.h hb-subset.h hb-gobject.h hb-gobject-structs.h -HEADERS = $(nodist_pkginclude_HEADERS) $(pkginclude_HEADERS) -RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ - distclean-recursive maintainer-clean-recursive -am__recursive_targets = \ - $(RECURSIVE_TARGETS) \ - $(RECURSIVE_CLEAN_TARGETS) \ - $(am__extra_recursive_targets) -AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ - check recheck distdir distdir-am -am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) -# Read a list of newline-separated strings from the standard input, -# and print each of them once, without duplicates. Input order is -# *not* preserved. -am__uniquify_input = $(AWK) '\ - BEGIN { nonempty = 0; } \ - { items[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in items) print i; }; } \ -' -# Make sure the list of sources is unique. This is necessary because, -# e.g., the same source file might be shared among _SOURCES variables -# for different programs/libraries. -am__define_uniq_tagged_files = \ - list='$(am__tagged_files)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | $(am__uniquify_input)` -ETAGS = etags -CTAGS = ctags -am__tty_colors_dummy = \ - mgn= red= grn= lgn= blu= brg= std=; \ - am__color_tests=no -am__tty_colors = { \ - $(am__tty_colors_dummy); \ - if test "X$(AM_COLOR_TESTS)" = Xno; then \ - am__color_tests=no; \ - elif test "X$(AM_COLOR_TESTS)" = Xalways; then \ - am__color_tests=yes; \ - elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \ - am__color_tests=yes; \ - fi; \ - if test $$am__color_tests = yes; then \ - red=''; \ - grn=''; \ - lgn=''; \ - blu=''; \ - mgn=''; \ - brg=''; \ - std=''; \ - fi; \ -} -am__recheck_rx = ^[ ]*:recheck:[ ]* -am__global_test_result_rx = ^[ ]*:global-test-result:[ ]* -am__copy_in_global_log_rx = ^[ ]*:copy-in-global-log:[ ]* -# A command that, given a newline-separated list of test names on the -# standard input, print the name of the tests that are to be re-run -# upon "make recheck". -am__list_recheck_tests = $(AWK) '{ \ - recheck = 1; \ - while ((rc = (getline line < ($$0 ".trs"))) != 0) \ - { \ - if (rc < 0) \ - { \ - if ((getline line2 < ($$0 ".log")) < 0) \ - recheck = 0; \ - break; \ - } \ - else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \ - { \ - recheck = 0; \ - break; \ - } \ - else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \ - { \ - break; \ - } \ - }; \ - if (recheck) \ - print $$0; \ - close ($$0 ".trs"); \ - close ($$0 ".log"); \ -}' -# A command that, given a newline-separated list of test names on the -# standard input, create the global log from their .trs and .log files. -am__create_global_log = $(AWK) ' \ -function fatal(msg) \ -{ \ - print "fatal: making $@: " msg | "cat >&2"; \ - exit 1; \ -} \ -function rst_section(header) \ -{ \ - print header; \ - len = length(header); \ - for (i = 1; i <= len; i = i + 1) \ - printf "="; \ - printf "\n\n"; \ -} \ -{ \ - copy_in_global_log = 1; \ - global_test_result = "RUN"; \ - while ((rc = (getline line < ($$0 ".trs"))) != 0) \ - { \ - if (rc < 0) \ - fatal("failed to read from " $$0 ".trs"); \ - if (line ~ /$(am__global_test_result_rx)/) \ - { \ - sub("$(am__global_test_result_rx)", "", line); \ - sub("[ ]*$$", "", line); \ - global_test_result = line; \ - } \ - else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \ - copy_in_global_log = 0; \ - }; \ - if (copy_in_global_log) \ - { \ - rst_section(global_test_result ": " $$0); \ - while ((rc = (getline line < ($$0 ".log"))) != 0) \ - { \ - if (rc < 0) \ - fatal("failed to read from " $$0 ".log"); \ - print line; \ - }; \ - printf "\n"; \ - }; \ - close ($$0 ".trs"); \ - close ($$0 ".log"); \ -}' -# Restructured Text title. -am__rst_title = { sed 's/.*/ & /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; } -# Solaris 10 'make', and several other traditional 'make' implementations, -# pass "-e" to $(SHELL), and POSIX 2008 even requires this. Work around it -# by disabling -e (using the XSI extension "set +e") if it's set. -am__sh_e_setup = case $$- in *e*) set +e;; esac -# Default flags passed to test drivers. -am__common_driver_flags = \ - --color-tests "$$am__color_tests" \ - --enable-hard-errors "$$am__enable_hard_errors" \ - --expect-failure "$$am__expect_failure" -# To be inserted before the command running the test. Creates the -# directory for the log if needed. Stores in $dir the directory -# containing $f, in $tst the test, in $log the log. Executes the -# developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and -# passes TESTS_ENVIRONMENT. Set up options for the wrapper that -# will run the test scripts (or their associated LOG_COMPILER, if -# thy have one). -am__check_pre = \ -$(am__sh_e_setup); \ -$(am__vpath_adj_setup) $(am__vpath_adj) \ -$(am__tty_colors); \ -srcdir=$(srcdir); export srcdir; \ -case "$@" in \ - */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;; \ - *) am__odir=.;; \ -esac; \ -test "x$$am__odir" = x"." || test -d "$$am__odir" \ - || $(MKDIR_P) "$$am__odir" || exit $$?; \ -if test -f "./$$f"; then dir=./; \ -elif test -f "$$f"; then dir=; \ -else dir="$(srcdir)/"; fi; \ -tst=$$dir$$f; log='$@'; \ -if test -n '$(DISABLE_HARD_ERRORS)'; then \ - am__enable_hard_errors=no; \ -else \ - am__enable_hard_errors=yes; \ -fi; \ -case " $(XFAIL_TESTS) " in \ - *[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \ - am__expect_failure=yes;; \ - *) \ - am__expect_failure=no;; \ -esac; \ -$(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT) -# A shell command to get the names of the tests scripts with any registered -# extension removed (i.e., equivalently, the names of the test logs, with -# the '.log' extension removed). The result is saved in the shell variable -# '$bases'. This honors runtime overriding of TESTS and TEST_LOGS. Sadly, -# we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)", -# since that might cause problem with VPATH rewrites for suffix-less tests. -# See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'. -am__set_TESTS_bases = \ - bases='$(TEST_LOGS)'; \ - bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \ - bases=`echo $$bases` -RECHECK_LOGS = $(TEST_LOGS) -@WITH_LIBSTDCXX_FALSE@am__EXEEXT_3 = check-libstdc++.py \ -@WITH_LIBSTDCXX_FALSE@ $(am__EXEEXT_1) -am__EXEEXT_4 = check-c-linkage-decls.py check-externs.py \ - check-header-guards.py check-includes.py check-static-inits.py \ - check-symbols.py $(am__EXEEXT_1) $(am__EXEEXT_3) -TEST_SUITE_LOG = test-suite.log -TEST_EXTENSIONS = @EXEEXT@ .test -LOG_DRIVER = $(SHELL) $(top_srcdir)/test-driver -LOG_COMPILE = $(LOG_COMPILER) $(AM_LOG_FLAGS) $(LOG_FLAGS) -am__set_b = \ - case '$@' in \ - */*) \ - case '$*' in \ - */*) b='$*';; \ - *) b=`echo '$@' | sed 's/\.log$$//'`; \ - esac;; \ - *) \ - b='$*';; \ - esac -am__test_logs1 = $(TESTS:=.log) -am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log) -TEST_LOGS = $(am__test_logs2:.test.log=.log) -TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/test-driver -TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \ - $(TEST_LOG_FLAGS) -am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.sources \ - $(srcdir)/harfbuzz-config.cmake.in $(top_srcdir)/depcomp \ - $(top_srcdir)/test-driver -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -am__relativize = \ - dir0=`pwd`; \ - sed_first='s,^\([^/]*\)/.*$$,\1,'; \ - sed_rest='s,^[^/]*/*,,'; \ - sed_last='s,^.*/\([^/]*\)$$,\1,'; \ - sed_butlast='s,/*[^/]*$$,,'; \ - while test -n "$$dir1"; do \ - first=`echo "$$dir1" | sed -e "$$sed_first"`; \ - if test "$$first" != "."; then \ - if test "$$first" = ".."; then \ - dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ - dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ - else \ - first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ - if test "$$first2" = "$$first"; then \ - dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ - else \ - dir2="../$$dir2"; \ - fi; \ - dir0="$$dir0"/"$$first"; \ - fi; \ - fi; \ - dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ - done; \ - reldir="$$dir2" -ACLOCAL = @ACLOCAL@ -AMTAR = @AMTAR@ -AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ -AR = @AR@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AWK = @AWK@ -CAIRO_CFLAGS = @CAIRO_CFLAGS@ -CAIRO_FT_CFLAGS = @CAIRO_FT_CFLAGS@ -CAIRO_FT_LIBS = @CAIRO_FT_LIBS@ -CAIRO_LIBS = @CAIRO_LIBS@ -CC = @CC@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -CHAFA_CFLAGS = @CHAFA_CFLAGS@ -CHAFA_LIBS = @CHAFA_LIBS@ -CODE_COVERAGE_CFLAGS = @CODE_COVERAGE_CFLAGS@ -CODE_COVERAGE_CPPFLAGS = @CODE_COVERAGE_CPPFLAGS@ -CODE_COVERAGE_CXXFLAGS = @CODE_COVERAGE_CXXFLAGS@ -CODE_COVERAGE_ENABLED = @CODE_COVERAGE_ENABLED@ -CODE_COVERAGE_LDFLAGS = @CODE_COVERAGE_LDFLAGS@ -CODE_COVERAGE_LIBS = @CODE_COVERAGE_LIBS@ -CORETEXT_CFLAGS = @CORETEXT_CFLAGS@ -CORETEXT_LIBS = @CORETEXT_LIBS@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CXX = @CXX@ -CXXCPP = @CXXCPP@ -CXXDEPMODE = @CXXDEPMODE@ -CXXFLAGS = @CXXFLAGS@ -CYGPATH_W = @CYGPATH_W@ -DEFS = @DEFS@ -DEPDIR = @DEPDIR@ -DIRECTWRITE_CXXFLAGS = @DIRECTWRITE_CXXFLAGS@ -DIRECTWRITE_LIBS = @DIRECTWRITE_LIBS@ -DLLTOOL = @DLLTOOL@ -DSYMUTIL = @DSYMUTIL@ -DUMPBIN = @DUMPBIN@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -EXEEXT = @EXEEXT@ -FGREP = @FGREP@ -FREETYPE_CFLAGS = @FREETYPE_CFLAGS@ -FREETYPE_DEPS = @FREETYPE_DEPS@ -FREETYPE_LIBS = @FREETYPE_LIBS@ -GCOV = @GCOV@ -GDI_CFLAGS = @GDI_CFLAGS@ -GDI_LIBS = @GDI_LIBS@ -GENHTML = @GENHTML@ -GIT = @GIT@ -GLIB_CFLAGS = @GLIB_CFLAGS@ -GLIB_DEPS = @GLIB_DEPS@ -GLIB_LIBS = @GLIB_LIBS@ -GLIB_MKENUMS = @GLIB_MKENUMS@ -GOBJECT_CFLAGS = @GOBJECT_CFLAGS@ -GOBJECT_LIBS = @GOBJECT_LIBS@ -GRAPHITE2_CFLAGS = @GRAPHITE2_CFLAGS@ -GRAPHITE2_DEPS = @GRAPHITE2_DEPS@ -GRAPHITE2_LIBS = @GRAPHITE2_LIBS@ -GREP = @GREP@ -GTKDOC_CHECK = @GTKDOC_CHECK@ -GTKDOC_CHECK_PATH = @GTKDOC_CHECK_PATH@ -GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@ -GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@ -GTKDOC_MKPDF = @GTKDOC_MKPDF@ -GTKDOC_REBASE = @GTKDOC_REBASE@ -HAVE_CXX11 = @HAVE_CXX11@ -HB_LIBTOOL_VERSION_INFO = @HB_LIBTOOL_VERSION_INFO@ -HB_VERSION = @HB_VERSION@ -HB_VERSION_MAJOR = @HB_VERSION_MAJOR@ -HB_VERSION_MICRO = @HB_VERSION_MICRO@ -HB_VERSION_MINOR = @HB_VERSION_MINOR@ -HTML_DIR = @HTML_DIR@ -ICU_CFLAGS = @ICU_CFLAGS@ -ICU_LIBS = @ICU_LIBS@ -INSTALL = @INSTALL@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -INTROSPECTION_CFLAGS = @INTROSPECTION_CFLAGS@ -INTROSPECTION_COMPILER = @INTROSPECTION_COMPILER@ -INTROSPECTION_GENERATE = @INTROSPECTION_GENERATE@ -INTROSPECTION_GIRDIR = @INTROSPECTION_GIRDIR@ -INTROSPECTION_LIBS = @INTROSPECTION_LIBS@ -INTROSPECTION_MAKEFILE = @INTROSPECTION_MAKEFILE@ -INTROSPECTION_SCANNER = @INTROSPECTION_SCANNER@ -INTROSPECTION_TYPELIBDIR = @INTROSPECTION_TYPELIBDIR@ -LCOV = @LCOV@ -LD = @LD@ -LDFLAGS = @LDFLAGS@ -LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ -LIBTOOL = @LIBTOOL@ -LIPO = @LIPO@ -LN_S = @LN_S@ -LTLIBOBJS = @LTLIBOBJS@ -LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ -MAKEINFO = @MAKEINFO@ -MANIFEST_TOOL = @MANIFEST_TOOL@ -MKDIR_P = @MKDIR_P@ -NM = @NM@ -NMEDIT = @NMEDIT@ -OBJDUMP = @OBJDUMP@ -OBJEXT = @OBJEXT@ -OTOOL = @OTOOL@ -OTOOL64 = @OTOOL64@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_URL = @PACKAGE_URL@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -PKG_CONFIG = @PKG_CONFIG@ -PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ -PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ -PTHREAD_CC = @PTHREAD_CC@ -PTHREAD_CFLAGS = @PTHREAD_CFLAGS@ -PTHREAD_LIBS = @PTHREAD_LIBS@ -RAGEL = @RAGEL@ -RANLIB = @RANLIB@ -SED = @SED@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -STRIP = @STRIP@ -UNISCRIBE_CFLAGS = @UNISCRIBE_CFLAGS@ -UNISCRIBE_LIBS = @UNISCRIBE_LIBS@ -VERSION = @VERSION@ -_GI_EXP_DATADIR = @_GI_EXP_DATADIR@ -_GI_EXP_LIBDIR = @_GI_EXP_LIBDIR@ -abs_builddir = @abs_builddir@ -abs_srcdir = @abs_srcdir@ -abs_top_builddir = @abs_top_builddir@ -abs_top_srcdir = @abs_top_srcdir@ -ac_ct_AR = @ac_ct_AR@ -ac_ct_CC = @ac_ct_CC@ -ac_ct_CXX = @ac_ct_CXX@ -ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -am__tar = @am__tar@ -am__untar = @am__untar@ -ax_pthread_config = @ax_pthread_config@ -bindir = @bindir@ -build = @build@ -build_alias = @build_alias@ -build_cpu = @build_cpu@ -build_os = @build_os@ -build_vendor = @build_vendor@ -builddir = @builddir@ -datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ -exec_prefix = @exec_prefix@ -have_gobject = @have_gobject@ -host = @host@ -host_alias = @host_alias@ -host_cpu = @host_cpu@ -host_os = @host_os@ -host_vendor = @host_vendor@ -htmldir = @htmldir@ -includedir = @includedir@ -infodir = @infodir@ -install_sh = @install_sh@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localedir = @localedir@ -localstatedir = @localstatedir@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -psdir = @psdir@ -runstatedir = @runstatedir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -srcdir = @srcdir@ -sysconfdir = @sysconfdir@ -target_alias = @target_alias@ -top_build_prefix = @top_build_prefix@ -top_builddir = @top_builddir@ -top_srcdir = @top_srcdir@ -NULL = -SUBDIRS = -DIST_SUBDIRS = -BUILT_SOURCES = hb-version.h $(am__append_45) $(RAGEL_GENERATED) \ - harfbuzz.cc -EXTRA_DIST = harfbuzz.cc meson.build fix_get_types.py hb-version.h.in \ - harfbuzz.pc.in harfbuzz-config.cmake.in harfbuzz-subset.pc.in \ - harfbuzz-icu.pc.in harfbuzz-gobject.pc.in \ - hb-gobject-enums.cc.tmpl hb-gobject-enums.h.tmpl $(NULL) \ - $(GENERATORS) $(HB_BASE_RAGEL_sources) $(NULL) -CLEANFILES = $(pkgconfig_DATA) $(DEF_FILES) $(am__append_49) -DISTCLEANFILES = $(am__append_46) -MAINTAINERCLEANFILES = -DISTCHECK_CONFIGURE_FLAGS = --enable-introspection -lib_LTLIBRARIES = libharfbuzz.la libharfbuzz-subset.la \ - $(am__append_38) $(am__append_41) -HB_BASE_sources = \ - hb-aat-layout-ankr-table.hh \ - hb-aat-layout-bsln-table.hh \ - hb-aat-layout-common.hh \ - hb-aat-layout-feat-table.hh \ - hb-aat-layout-just-table.hh \ - hb-aat-layout-kerx-table.hh \ - hb-aat-layout-morx-table.hh \ - hb-aat-layout-opbd-table.hh \ - hb-aat-layout-trak-table.hh \ - hb-aat-layout.cc \ - hb-aat-layout.hh \ - hb-aat-ltag-table.hh \ - hb-aat-map.cc \ - hb-aat-map.hh \ - hb-algs.hh \ - hb-array.hh \ - hb-atomic.hh \ - hb-bimap.hh \ - hb-bit-page.hh \ - hb-bit-set.hh \ - hb-bit-set-invertible.hh \ - hb-blob.cc \ - hb-blob.hh \ - hb-buffer-serialize.cc \ - hb-buffer.cc \ - hb-buffer.hh \ - hb-cache.hh \ - hb-cff-interp-common.hh \ - hb-cff-interp-cs-common.hh \ - hb-cff-interp-dict-common.hh \ - hb-cff1-interp-cs.hh \ - hb-cff2-interp-cs.hh \ - hb-common.cc \ - hb-config.hh \ - hb-debug.hh \ - hb-dispatch.hh \ - hb-draw.cc \ - hb-draw.hh \ - hb-face.cc \ - hb-face.hh \ - hb-fallback-shape.cc \ - hb-font.cc \ - hb-font.hh \ - hb-iter.hh \ - hb-kern.hh \ - hb-machinery.hh \ - hb-map.cc \ - hb-map.hh \ - hb-meta.hh \ - hb-ms-feature-ranges.cc \ - hb-ms-feature-ranges.hh \ - hb-mutex.hh \ - hb-null.hh \ - hb-number.cc \ - hb-number.hh \ - hb-object.hh \ - hb-open-file.hh \ - hb-open-type.hh \ - hb-ot-cff-common.hh \ - hb-ot-cff1-std-str.hh \ - hb-ot-cff1-table.cc \ - hb-ot-cff1-table.hh \ - hb-ot-cff2-table.cc \ - hb-ot-cff2-table.hh \ - hb-ot-cmap-table.hh \ - hb-ot-color-cbdt-table.hh \ - hb-ot-color-colr-table.hh \ - hb-ot-color-cpal-table.hh \ - hb-ot-color-sbix-table.hh \ - hb-ot-color-svg-table.hh \ - hb-ot-color.cc \ - hb-ot-face-table-list.hh \ - hb-ot-face.cc \ - hb-ot-face.hh \ - hb-ot-font.cc \ - hb-ot-gasp-table.hh \ - hb-ot-glyf-table.hh \ - hb-ot-hdmx-table.hh \ - hb-ot-head-table.hh \ - hb-ot-hhea-table.hh \ - hb-ot-hmtx-table.hh \ - hb-ot-kern-table.hh \ - hb-ot-layout-base-table.hh \ - hb-ot-layout-common.hh \ - hb-ot-layout-gdef-table.hh \ - hb-ot-layout-gpos-table.hh \ - hb-ot-layout-gsub-table.hh \ - hb-ot-layout-gsubgpos.hh \ - hb-ot-layout-jstf-table.hh \ - hb-ot-layout.cc \ - hb-ot-layout.hh \ - hb-ot-map.cc \ - hb-ot-map.hh \ - hb-ot-math-table.hh \ - hb-ot-math.cc \ - hb-ot-maxp-table.hh \ - hb-ot-meta-table.hh \ - hb-ot-meta.cc \ - hb-ot-metrics.cc \ - hb-ot-metrics.hh \ - hb-ot-name-language-static.hh \ - hb-ot-name-language.hh \ - hb-ot-name-table.hh \ - hb-ot-name.cc \ - hb-ot-os2-table.hh \ - hb-ot-os2-unicode-ranges.hh \ - hb-ot-post-macroman.hh \ - hb-ot-post-table.hh \ - hb-ot-shape-complex-arabic-fallback.hh \ - hb-ot-shape-complex-arabic-joining-list.hh \ - hb-ot-shape-complex-arabic-table.hh \ - hb-ot-shape-complex-arabic-win1256.hh \ - hb-ot-shape-complex-arabic.cc \ - hb-ot-shape-complex-arabic.hh \ - hb-ot-shape-complex-default.cc \ - hb-ot-shape-complex-hangul.cc \ - hb-ot-shape-complex-hebrew.cc \ - hb-ot-shape-complex-indic-table.cc \ - hb-ot-shape-complex-indic.cc \ - hb-ot-shape-complex-indic.hh \ - hb-ot-shape-complex-khmer.cc \ - hb-ot-shape-complex-khmer.hh \ - hb-ot-shape-complex-myanmar.cc \ - hb-ot-shape-complex-myanmar.hh \ - hb-ot-shape-complex-syllabic.cc \ - hb-ot-shape-complex-syllabic.hh \ - hb-ot-shape-complex-thai.cc \ - hb-ot-shape-complex-use-table.hh \ - hb-ot-shape-complex-use.cc \ - hb-ot-shape-complex-vowel-constraints.cc \ - hb-ot-shape-complex-vowel-constraints.hh \ - hb-ot-shape-complex.hh \ - hb-ot-shape-fallback.cc \ - hb-ot-shape-fallback.hh \ - hb-ot-shape-normalize.cc \ - hb-ot-shape-normalize.hh \ - hb-ot-shape.cc \ - hb-ot-shape.hh \ - hb-ot-stat-table.hh \ - hb-ot-tag-table.hh \ - hb-ot-tag.cc \ - hb-ot-var-avar-table.hh \ - hb-ot-var-common.hh \ - hb-ot-var-fvar-table.hh \ - hb-ot-var-gvar-table.hh \ - hb-ot-var-hvar-table.hh \ - hb-ot-var-mvar-table.hh \ - hb-ot-var.cc \ - hb-ot-vorg-table.hh \ - hb-pool.hh \ - hb-sanitize.hh \ - hb-serialize.hh \ - hb-set-digest.hh \ - hb-set.cc \ - hb-set.hh \ - hb-shape-plan.cc \ - hb-shape-plan.hh \ - hb-shape.cc \ - hb-shaper-impl.hh \ - hb-shaper-list.hh \ - hb-shaper.cc \ - hb-shaper.hh \ - hb-static.cc \ - hb-string-array.hh \ - hb-style.cc \ - hb-ucd-table.hh \ - hb-ucd.cc \ - hb-unicode-emoji-table.hh \ - hb-unicode.cc \ - hb-unicode.hh \ - hb-utf.hh \ - hb-vector.hh \ - hb-priority-queue.hh \ - hb.hh \ - $(NULL) - -HB_BASE_RAGEL_GENERATED_sources = \ - hb-buffer-deserialize-json.hh \ - hb-buffer-deserialize-text.hh \ - hb-number-parser.hh \ - hb-ot-shape-complex-indic-machine.hh \ - hb-ot-shape-complex-khmer-machine.hh \ - hb-ot-shape-complex-myanmar-machine.hh \ - hb-ot-shape-complex-use-machine.hh \ - $(NULL) - -HB_BASE_RAGEL_sources = \ - hb-buffer-deserialize-json.rl \ - hb-buffer-deserialize-text.rl \ - hb-number-parser.rl \ - hb-ot-shape-complex-indic-machine.rl \ - hb-ot-shape-complex-khmer-machine.rl \ - hb-ot-shape-complex-myanmar-machine.rl \ - hb-ot-shape-complex-use-machine.rl \ - $(NULL) - -HB_BASE_headers = \ - hb-aat-layout.h \ - hb-aat.h \ - hb-blob.h \ - hb-buffer.h \ - hb-common.h \ - hb-deprecated.h \ - hb-draw.h \ - hb-face.h \ - hb-font.h \ - hb-map.h \ - hb-ot-color.h \ - hb-ot-deprecated.h \ - hb-ot-font.h \ - hb-ot-layout.h \ - hb-ot-math.h \ - hb-ot-meta.h \ - hb-ot-metrics.h \ - hb-ot-name.h \ - hb-ot-shape.h \ - hb-ot-var.h \ - hb-ot.h \ - hb-set.h \ - hb-shape-plan.h \ - hb-shape.h \ - hb-style.h \ - hb-unicode.h \ - hb-version.h \ - hb.h \ - $(NULL) - - -# Optional Sources and Headers with external deps -HB_FT_sources = hb-ft.cc -HB_FT_headers = hb-ft.h -HB_GLIB_sources = hb-glib.cc -HB_GLIB_headers = hb-glib.h -HB_GRAPHITE2_sources = hb-graphite2.cc -HB_GRAPHITE2_headers = hb-graphite2.h - -# System-dependent sources and headers -HB_CORETEXT_sources = hb-coretext.cc -HB_CORETEXT_headers = hb-coretext.h -HB_DIRECTWRITE_sources = hb-directwrite.cc -HB_DIRECTWRITE_headers = hb-directwrite.h -HB_GDI_sources = hb-gdi.cc -HB_GDI_headers = hb-gdi.h -HB_UNISCRIBE_sources = hb-uniscribe.cc -HB_UNISCRIBE_headers = hb-uniscribe.h - -# Sources for libharfbuzz-gobject and libharfbuzz-icu -HB_ICU_sources = hb-icu.cc -HB_ICU_headers = hb-icu.h - -# Sources for libharfbuzz-subset -HB_SUBSET_sources = \ - hb-number.cc \ - hb-number.hh \ - hb-ot-cff1-table.cc \ - hb-ot-cff2-table.cc \ - hb-ot-color-colrv1-closure.hh \ - hb-ot-post-table-v2subset.hh \ - hb-static.cc \ - hb-subset-cff-common.cc \ - hb-subset-cff-common.hh \ - hb-subset-cff1.cc \ - hb-subset-cff1.hh \ - hb-subset-cff2.cc \ - hb-subset-cff2.hh \ - hb-subset-input.cc \ - hb-subset-input.hh \ - hb-subset-plan.cc \ - hb-subset-plan.hh \ - hb-subset.cc \ - hb-subset.hh \ - hb-repacker.hh \ - $(NULL) - -HB_SUBSET_headers = \ - hb-subset.h \ - $(NULL) - -HB_GOBJECT_DIST_sources = hb-gobject-structs.cc -HB_GOBJECT_DIST_headers = hb-gobject.h hb-gobject-structs.h -HB_GOBJECT_ENUM_sources = hb-gobject-enums.cc -HB_GOBJECT_ENUM_headers = hb-gobject-enums.h -HB_GOBJECT_NODIST_sources = $(HB_GOBJECT_ENUM_sources) -HB_GOBJECT_NODIST_headers = $(HB_GOBJECT_ENUM_headers) -HB_GOBJECT_sources = $(HB_GOBJECT_DIST_sources) $(HB_GOBJECT_NODIST_sources) -HB_GOBJECT_headers = $(HB_GOBJECT_DIST_headers) $(HB_GOBJECT_NODIST_headers) -HBCFLAGS = $(am__append_1) $(am__append_3) $(am__append_8) \ - $(am__append_13) $(am__append_18) $(am__append_22) \ - $(am__append_26) $(am__append_30) $(am__append_34) - -# Put the library together -HBLIBS = $(am__append_4) $(am__append_9) $(am__append_14) \ - $(HBNONPCLIBS) $(am__append_35) -HBNONPCLIBS = $(am__append_2) $(am__append_19) $(am__append_23) \ - $(am__append_27) $(am__append_31) -HBDEPS = $(am__append_5) $(am__append_10) $(am__append_15) -HBSOURCES = $(HB_BASE_sources) $(HB_BASE_RAGEL_GENERATED_sources) \ - $(am__append_6) $(am__append_11) $(am__append_16) \ - $(am__append_20) $(am__append_24) $(am__append_28) \ - $(am__append_32) $(am__append_36) -HBHEADERS = $(HB_BASE_headers) $(am__append_7) $(am__append_12) \ - $(am__append_17) $(am__append_21) $(am__append_25) \ - $(am__append_29) $(am__append_33) $(am__append_37) -@OS_WIN32_TRUE@export_symbols = -export-symbols harfbuzz.def -@OS_WIN32_TRUE@harfbuzz_def_dependency = harfbuzz.def -@OS_WIN32_TRUE@export_symbols_subset = -export-symbols harfbuzz-subset.def -@OS_WIN32_TRUE@harfbuzz_subset_def_dependency = harfbuzz-subset.def -@OS_WIN32_TRUE@export_symbols_icu = -export-symbols harfbuzz-icu.def -@OS_WIN32_TRUE@harfbuzz_icu_def_dependency = harfbuzz-icu.def -@OS_WIN32_TRUE@export_symbols_gobject = -export-symbols harfbuzz-gobject.def -@OS_WIN32_TRUE@harfbuzz_gobject_def_dependency = harfbuzz-gobject.def -@HAVE_GCC_FALSE@@OS_WIN32_FALSE@@WITH_LIBSTDCXX_FALSE@chosen_linker = $(CXXLINK) -# Use a C linker for GCC, not C++; Don't link to libstdc++ -@HAVE_GCC_TRUE@@OS_WIN32_FALSE@@WITH_LIBSTDCXX_FALSE@chosen_linker = $(LINK) -@OS_WIN32_FALSE@@WITH_LIBSTDCXX_TRUE@chosen_linker = $(CXXLINK) -@OS_WIN32_TRUE@chosen_linker = $(CXXLINK) -base_link_flags = $(AM_LDFLAGS) -lm -version-info $(HB_LIBTOOL_VERSION_INFO) -no-undefined -libharfbuzz_la_LINK = $(chosen_linker) $(libharfbuzz_la_LDFLAGS) -libharfbuzz_la_SOURCES = $(HBSOURCES) $(HBHEADERS) -libharfbuzz_la_CPPFLAGS = $(HBCFLAGS) $(CODE_COVERAGE_CFLAGS) -libharfbuzz_la_LDFLAGS = $(base_link_flags) $(export_symbols) $(CODE_COVERAGE_LDFLAGS) -libharfbuzz_la_LIBADD = $(HBLIBS) -EXTRA_libharfbuzz_la_DEPENDENCIES = $(harfbuzz_def_dependency) -pkginclude_HEADERS = $(HBHEADERS) $(HB_SUBSET_headers) \ - $(am__append_39) $(am__append_42) -nodist_pkginclude_HEADERS = $(am__append_43) -pkgconfigdir = $(libdir)/pkgconfig -pkgconfig_DATA = harfbuzz.pc harfbuzz-subset.pc $(am__append_40) \ - $(am__append_44) -cmakedir = $(libdir)/cmake/harfbuzz -cmake_DATA = harfbuzz-config.cmake -libharfbuzz_subset_la_LINK = $(chosen_linker) $(libharfbuzz_subset_la_LDFLAGS) -libharfbuzz_subset_la_SOURCES = $(HB_SUBSET_sources) -libharfbuzz_subset_la_CPPFLAGS = $(HBCFLAGS) $(CODE_COVERAGE_CFLAGS) -libharfbuzz_subset_la_LDFLAGS = $(base_link_flags) $(export_symbols_subset) $(CODE_COVERAGE_LDFLAGS) -libharfbuzz_subset_la_LIBADD = libharfbuzz.la -EXTRA_libharfbuzz_subset_la_DEPENDENCIES = $(harfbuzz_subset_def_dependency) -@HAVE_ICU_BUILTIN_FALSE@@HAVE_ICU_TRUE@libharfbuzz_icu_la_SOURCES = $(HB_ICU_sources) -@HAVE_ICU_BUILTIN_FALSE@@HAVE_ICU_TRUE@libharfbuzz_icu_la_CPPFLAGS = $(HBCFLAGS) $(ICU_CFLAGS) $(CODE_COVERAGE_CFLAGS) -@HAVE_ICU_BUILTIN_FALSE@@HAVE_ICU_TRUE@libharfbuzz_icu_la_LDFLAGS = $(base_link_flags) $(export_symbols_icu) $(CODE_COVERAGE_LDFLAGS) -@HAVE_ICU_BUILTIN_FALSE@@HAVE_ICU_TRUE@libharfbuzz_icu_la_LIBADD = $(ICU_LIBS) libharfbuzz.la -@HAVE_ICU_BUILTIN_FALSE@@HAVE_ICU_TRUE@EXTRA_libharfbuzz_icu_la_DEPENDENCIES = $(harfbuzz_icu_def_dependency) -@HAVE_GOBJECT_TRUE@libharfbuzz_gobject_la_LINK = $(chosen_linker) $(libharfbuzz_gobject_la_LDFLAGS) -@HAVE_GOBJECT_TRUE@libharfbuzz_gobject_la_SOURCES = $(HB_GOBJECT_DIST_sources) -@HAVE_GOBJECT_TRUE@nodist_libharfbuzz_gobject_la_SOURCES = $(HB_GOBJECT_NODIST_sources) -@HAVE_GOBJECT_TRUE@libharfbuzz_gobject_la_CPPFLAGS = $(HBCFLAGS) $(GOBJECT_CFLAGS) $(CODE_COVERAGE_CFLAGS) -@HAVE_GOBJECT_TRUE@libharfbuzz_gobject_la_LDFLAGS = $(base_link_flags) $(CODE_COVERAGE_LDFLAGS) -@HAVE_GOBJECT_TRUE@libharfbuzz_gobject_la_LIBADD = $(GOBJECT_LIBS) libharfbuzz.la -@HAVE_GOBJECT_TRUE@EXTRA_libharfbuzz_gobject_la_DEPENDENCIES = $(harfbuzz_gobject_def_dependency) -DEF_FILES = harfbuzz.def harfbuzz-subset.def harfbuzz-icu.def \ - harfbuzz-deprecated-symbols.txt $(am__append_47) -GENERATORS = \ - gen-arabic-joining-list.py \ - gen-arabic-table.py \ - gen-def.py \ - gen-emoji-table.py \ - gen-harfbuzzcc.py \ - gen-hb-version.py \ - gen-indic-table.py \ - gen-os2-unicode-ranges.py \ - gen-ragel-artifacts.py \ - gen-tag-table.py \ - gen-ucd-table.py \ - gen-use-table.py \ - gen-vowel-constraints.py \ - $(NULL) - -RAGEL_GENERATED = \ - $(patsubst %,$(srcdir)/%,$(HB_BASE_RAGEL_GENERATED_sources)) \ - $(NULL) - -main_SOURCES = main.cc -main_CPPFLAGS = $(HBCFLAGS) -main_LDADD = libharfbuzz.la $(HBLIBS) -test_SOURCES = test.cc -test_CPPFLAGS = $(HBCFLAGS) $(FREETYPE_CFLAGS) -test_LDADD = libharfbuzz.la $(HBLIBS) $(FREETYPE_LIBS) -test_buffer_serialize_SOURCES = test-buffer-serialize.cc -test_buffer_serialize_CPPFLAGS = $(HBCFLAGS) -test_buffer_serialize_LDADD = libharfbuzz.la $(HBLIBS) -test_ot_meta_SOURCES = test-ot-meta.cc -test_ot_meta_CPPFLAGS = $(HBCFLAGS) -test_ot_meta_LDADD = libharfbuzz.la $(HBLIBS) -test_ot_name_SOURCES = test-ot-name.cc -test_ot_name_CPPFLAGS = $(HBCFLAGS) -test_ot_name_LDADD = libharfbuzz.la $(HBLIBS) -test_ot_glyphname_SOURCES = test-ot-glyphname.cc -test_ot_glyphname_CPPFLAGS = $(HBCFLAGS) -test_ot_glyphname_LDADD = libharfbuzz.la $(HBLIBS) -test_gpos_size_params_SOURCES = test-gpos-size-params.cc -test_gpos_size_params_CPPFLAGS = $(HBCFLAGS) -test_gpos_size_params_LDADD = libharfbuzz.la $(HBLIBS) -test_gsub_would_substitute_SOURCES = test-gsub-would-substitute.cc -test_gsub_would_substitute_CPPFLAGS = $(HBCFLAGS) $(FREETYPE_CFLAGS) -test_gsub_would_substitute_LDADD = libharfbuzz.la $(HBLIBS) $(FREETYPE_LIBS) -COMPILED_TESTS = \ - test-algs \ - test-array \ - test-iter \ - test-map \ - test-number \ - test-ot-tag \ - test-priority-queue \ - test-set \ - test-unicode-ranges \ - test-vector \ - test-bimap \ - test-repacker \ - $(NULL) - -COMPILED_TESTS_CPPFLAGS = $(HBCFLAGS) -DMAIN -UNDEBUG -COMPILED_TESTS_LDADD = libharfbuzz.la $(HBLIBS) -test_algs_SOURCES = test-algs.cc hb-static.cc -test_algs_CPPFLAGS = $(COMPILED_TESTS_CPPFLAGS) -test_algs_LDADD = $(COMPILED_TESTS_LDADD) -test_array_SOURCES = test-array.cc -test_array_CPPFLAGS = $(HBCFLAGS) -test_array_LDADD = libharfbuzz.la $(HBLIBS) -test_priority_queue_SOURCES = test-priority-queue.cc hb-static.cc -test_priority_queue_CPPFLAGS = $(HBCFLAGS) -test_priority_queue_LDADD = libharfbuzz.la $(HBLIBS) -test_repacker_SOURCES = test-repacker.cc hb-static.cc -test_repacker_CPPFLAGS = $(HBCFLAGS) -test_repacker_LDADD = libharfbuzz.la libharfbuzz-subset.la $(HBLIBS) -test_iter_SOURCES = test-iter.cc hb-static.cc -test_iter_CPPFLAGS = $(COMPILED_TESTS_CPPFLAGS) -test_iter_LDADD = $(COMPILED_TESTS_LDADD) -test_map_SOURCES = test-map.cc hb-static.cc -test_map_CPPFLAGS = $(COMPILED_TESTS_CPPFLAGS) -test_map_LDADD = $(COMPILED_TESTS_LDADD) -test_number_SOURCES = test-number.cc hb-number.cc -test_number_CPPFLAGS = $(COMPILED_TESTS_CPPFLAGS) -test_number_LDADD = $(COMPILED_TESTS_LDADD) -test_ot_tag_SOURCES = hb-ot-tag.cc -test_ot_tag_CPPFLAGS = $(COMPILED_TESTS_CPPFLAGS) -test_ot_tag_LDADD = $(COMPILED_TESTS_LDADD) -test_set_SOURCES = test-set.cc hb-static.cc -test_set_CPPFLAGS = $(COMPILED_TESTS_CPPFLAGS) -test_set_LDADD = $(COMPILED_TESTS_LDADD) -test_unicode_ranges_SOURCES = test-unicode-ranges.cc -test_unicode_ranges_CPPFLAGS = $(COMPILED_TESTS_CPPFLAGS) -test_unicode_ranges_LDADD = $(COMPILED_TESTS_LDADD) -test_vector_SOURCES = test-vector.cc hb-static.cc -test_vector_CPPFLAGS = $(COMPILED_TESTS_CPPFLAGS) -test_vector_LDADD = $(COMPILED_TESTS_LDADD) -test_bimap_SOURCES = test-bimap.cc hb-static.cc -test_bimap_CPPFLAGS = $(COMPILED_TESTS_CPPFLAGS) -test_bimap_LDADD = $(COMPILED_TESTS_LDADD) -dist_check_SCRIPTS = check-c-linkage-decls.py check-externs.py \ - check-header-guards.py check-includes.py check-static-inits.py \ - check-symbols.py $(NULL) $(am__append_48) -TESTS_ENVIRONMENT = \ - srcdir="$(srcdir)" \ - builddir="$(builddir)" \ - MAKE="$(MAKE) $(AM_MAKEFLAGS)" \ - HBSOURCES="$(HBSOURCES)" \ - HBHEADERS="$(HBHEADERS)" \ - LDD="$(LDD)" \ - NM="$(NM)" \ - OBJDUMP="$(OBJDUMP)" \ - OTOOL="$(OTOOL)" \ - $(NULL) - -@HAVE_INTROSPECTION_TRUE@INTROSPECTION_GIRS = HarfBuzz-0.0.gir # What does the 0 mean anyway?! -@HAVE_INTROSPECTION_TRUE@INTROSPECTION_SCANNER_ARGS = \ -@HAVE_INTROSPECTION_TRUE@ -I$(srcdir) \ -@HAVE_INTROSPECTION_TRUE@ --warn-all --verbose \ -@HAVE_INTROSPECTION_TRUE@ --namespace=HarfBuzz \ -@HAVE_INTROSPECTION_TRUE@ --nsversion=0.0 \ -@HAVE_INTROSPECTION_TRUE@ --symbol-prefix=hb \ -@HAVE_INTROSPECTION_TRUE@ --symbol-prefix=hb_gobject \ -@HAVE_INTROSPECTION_TRUE@ --identifier-prefix=hb_ \ -@HAVE_INTROSPECTION_TRUE@ --pkg-export=harfbuzz-gobject \ -@HAVE_INTROSPECTION_TRUE@ --c-include=hb-gobject.h - -@HAVE_INTROSPECTION_TRUE@INTROSPECTION_COMPILER_ARGS = --includedir=$(srcdir) -@HAVE_INTROSPECTION_TRUE@INTROSPECTION_SCANNER_ENV = CC="$(CC)" -@HAVE_INTROSPECTION_TRUE@HarfBuzz_0_0_gir_INCLUDES = GObject-2.0 -@HAVE_INTROSPECTION_TRUE@HarfBuzz_0_0_gir_CFLAGS = \ -@HAVE_INTROSPECTION_TRUE@ $(INCLUDES) \ -@HAVE_INTROSPECTION_TRUE@ $(HBCFLAGS) \ -@HAVE_INTROSPECTION_TRUE@ -DHB_NO_SINGLE_HEADER_ERROR \ -@HAVE_INTROSPECTION_TRUE@ -DHAVE_GOBJECT \ -@HAVE_INTROSPECTION_TRUE@ -DHB_EXTERN= \ -@HAVE_INTROSPECTION_TRUE@ $(NULL) - -@HAVE_INTROSPECTION_TRUE@HarfBuzz_0_0_gir_LIBS = \ -@HAVE_INTROSPECTION_TRUE@ libharfbuzz.la \ -@HAVE_INTROSPECTION_TRUE@ libharfbuzz-gobject.la \ -@HAVE_INTROSPECTION_TRUE@ $(NULL) - -@HAVE_INTROSPECTION_TRUE@HarfBuzz_0_0_gir_FILES = \ -@HAVE_INTROSPECTION_TRUE@ $(HBHEADERS) \ -@HAVE_INTROSPECTION_TRUE@ $(HBSOURCES) \ -@HAVE_INTROSPECTION_TRUE@ $(HB_GOBJECT_sources) \ -@HAVE_INTROSPECTION_TRUE@ $(HB_GOBJECT_headers) \ -@HAVE_INTROSPECTION_TRUE@ $(NULL) - -@HAVE_INTROSPECTION_TRUE@girdir = $(datadir)/gir-1.0 -@HAVE_INTROSPECTION_TRUE@gir_DATA = $(INTROSPECTION_GIRS) -@HAVE_INTROSPECTION_TRUE@typelibdir = $(libdir)/girepository-1.0 -@HAVE_INTROSPECTION_TRUE@typelib_DATA = $(INTROSPECTION_GIRS:.gir=.typelib) -all: $(BUILT_SOURCES) - $(MAKE) $(AM_MAKEFLAGS) all-recursive - -.SUFFIXES: -.SUFFIXES: .cc .lo .log .o .obj .test .test$(EXEEXT) .trs -$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(srcdir)/Makefile.sources $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ - && { if test -f $@; then exit 0; else break; fi; }; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnits src/Makefile'; \ - $(am__cd) $(top_srcdir) && \ - $(AUTOMAKE) --gnits src/Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ - esac; -$(srcdir)/Makefile.sources $(am__empty): - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -$(top_srcdir)/configure: $(am__configure_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): $(am__aclocal_m4_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(am__aclocal_m4_deps): -harfbuzz-config.cmake: $(top_builddir)/config.status $(srcdir)/harfbuzz-config.cmake.in - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ -install-binPROGRAMS: $(bin_PROGRAMS) - @$(NORMAL_INSTALL) - @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ - if test -n "$$list"; then \ - echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \ - $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \ - fi; \ - for p in $$list; do echo "$$p $$p"; done | \ - sed 's/$(EXEEXT)$$//' | \ - while read p p1; do if test -f $$p \ - || test -f $$p1 \ - ; then echo "$$p"; echo "$$p"; else :; fi; \ - done | \ - sed -e 'p;s,.*/,,;n;h' \ - -e 's|.*|.|' \ - -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ - sed 'N;N;N;s,\n, ,g' | \ - $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ - { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ - if ($$2 == $$4) files[d] = files[d] " " $$1; \ - else { print "f", $$3 "/" $$4, $$1; } } \ - END { for (d in files) print "f", d, files[d] }' | \ - while read type dir files; do \ - if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ - test -z "$$files" || { \ - echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \ - $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ - } \ - ; done - -uninstall-binPROGRAMS: - @$(NORMAL_UNINSTALL) - @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ - files=`for p in $$list; do echo "$$p"; done | \ - sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ - -e 's/$$/$(EXEEXT)/' \ - `; \ - test -n "$$list" || exit 0; \ - echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(bindir)" && rm -f $$files - -clean-binPROGRAMS: - @list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \ - echo " rm -f" $$list; \ - rm -f $$list || exit $$?; \ - test -n "$(EXEEXT)" || exit 0; \ - list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ - echo " rm -f" $$list; \ - rm -f $$list - -installcheck-binPROGRAMS: $(bin_PROGRAMS) - bad=0; pid=$$$$; list="$(bin_PROGRAMS)"; for p in $$list; do \ - case ' $(AM_INSTALLCHECK_STD_OPTIONS_EXEMPT) ' in \ - *" $$p "* | *" $(srcdir)/$$p "*) continue;; \ - esac; \ - f=`echo "$$p" | \ - sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ - for opt in --help --version; do \ - if "$(DESTDIR)$(bindir)/$$f" $$opt >c$${pid}_.out \ - 2>c$${pid}_.err &2; bad=1; fi; \ - done; \ - done; rm -f c$${pid}_.???; exit $$bad - -clean-checkPROGRAMS: - @list='$(check_PROGRAMS)'; test -n "$$list" || exit 0; \ - echo " rm -f" $$list; \ - rm -f $$list || exit $$?; \ - test -n "$(EXEEXT)" || exit 0; \ - list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ - echo " rm -f" $$list; \ - rm -f $$list - -clean-noinstPROGRAMS: - @list='$(noinst_PROGRAMS)'; test -n "$$list" || exit 0; \ - echo " rm -f" $$list; \ - rm -f $$list || exit $$?; \ - test -n "$(EXEEXT)" || exit 0; \ - list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ - echo " rm -f" $$list; \ - rm -f $$list - -install-libLTLIBRARIES: $(lib_LTLIBRARIES) - @$(NORMAL_INSTALL) - @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ - list2=; for p in $$list; do \ - if test -f $$p; then \ - list2="$$list2 $$p"; \ - else :; fi; \ - done; \ - test -z "$$list2" || { \ - echo " $(MKDIR_P) '$(DESTDIR)$(libdir)'"; \ - $(MKDIR_P) "$(DESTDIR)$(libdir)" || exit 1; \ - echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \ - $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \ - } - -uninstall-libLTLIBRARIES: - @$(NORMAL_UNINSTALL) - @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ - for p in $$list; do \ - $(am__strip_dir) \ - echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \ - $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \ - done - -clean-libLTLIBRARIES: - -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) - @list='$(lib_LTLIBRARIES)'; \ - locs=`for p in $$list; do echo $$p; done | \ - sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ - sort -u`; \ - test -z "$$locs" || { \ - echo rm -f $${locs}; \ - rm -f $${locs}; \ - } - -libharfbuzz-gobject.la: $(libharfbuzz_gobject_la_OBJECTS) $(libharfbuzz_gobject_la_DEPENDENCIES) $(EXTRA_libharfbuzz_gobject_la_DEPENDENCIES) - $(AM_V_GEN)$(libharfbuzz_gobject_la_LINK) $(am_libharfbuzz_gobject_la_rpath) $(libharfbuzz_gobject_la_OBJECTS) $(libharfbuzz_gobject_la_LIBADD) $(LIBS) - -libharfbuzz-icu.la: $(libharfbuzz_icu_la_OBJECTS) $(libharfbuzz_icu_la_DEPENDENCIES) $(EXTRA_libharfbuzz_icu_la_DEPENDENCIES) - $(AM_V_CXXLD)$(libharfbuzz_icu_la_LINK) $(am_libharfbuzz_icu_la_rpath) $(libharfbuzz_icu_la_OBJECTS) $(libharfbuzz_icu_la_LIBADD) $(LIBS) - -libharfbuzz-subset.la: $(libharfbuzz_subset_la_OBJECTS) $(libharfbuzz_subset_la_DEPENDENCIES) $(EXTRA_libharfbuzz_subset_la_DEPENDENCIES) - $(AM_V_GEN)$(libharfbuzz_subset_la_LINK) -rpath $(libdir) $(libharfbuzz_subset_la_OBJECTS) $(libharfbuzz_subset_la_LIBADD) $(LIBS) - -libharfbuzz.la: $(libharfbuzz_la_OBJECTS) $(libharfbuzz_la_DEPENDENCIES) $(EXTRA_libharfbuzz_la_DEPENDENCIES) - $(AM_V_GEN)$(libharfbuzz_la_LINK) -rpath $(libdir) $(libharfbuzz_la_OBJECTS) $(libharfbuzz_la_LIBADD) $(LIBS) - -main$(EXEEXT): $(main_OBJECTS) $(main_DEPENDENCIES) $(EXTRA_main_DEPENDENCIES) - @rm -f main$(EXEEXT) - $(AM_V_CXXLD)$(CXXLINK) $(main_OBJECTS) $(main_LDADD) $(LIBS) - -test$(EXEEXT): $(test_OBJECTS) $(test_DEPENDENCIES) $(EXTRA_test_DEPENDENCIES) - @rm -f test$(EXEEXT) - $(AM_V_CXXLD)$(CXXLINK) $(test_OBJECTS) $(test_LDADD) $(LIBS) - -test-algs$(EXEEXT): $(test_algs_OBJECTS) $(test_algs_DEPENDENCIES) $(EXTRA_test_algs_DEPENDENCIES) - @rm -f test-algs$(EXEEXT) - $(AM_V_CXXLD)$(CXXLINK) $(test_algs_OBJECTS) $(test_algs_LDADD) $(LIBS) - -test-array$(EXEEXT): $(test_array_OBJECTS) $(test_array_DEPENDENCIES) $(EXTRA_test_array_DEPENDENCIES) - @rm -f test-array$(EXEEXT) - $(AM_V_CXXLD)$(CXXLINK) $(test_array_OBJECTS) $(test_array_LDADD) $(LIBS) - -test-bimap$(EXEEXT): $(test_bimap_OBJECTS) $(test_bimap_DEPENDENCIES) $(EXTRA_test_bimap_DEPENDENCIES) - @rm -f test-bimap$(EXEEXT) - $(AM_V_CXXLD)$(CXXLINK) $(test_bimap_OBJECTS) $(test_bimap_LDADD) $(LIBS) - -test-buffer-serialize$(EXEEXT): $(test_buffer_serialize_OBJECTS) $(test_buffer_serialize_DEPENDENCIES) $(EXTRA_test_buffer_serialize_DEPENDENCIES) - @rm -f test-buffer-serialize$(EXEEXT) - $(AM_V_CXXLD)$(CXXLINK) $(test_buffer_serialize_OBJECTS) $(test_buffer_serialize_LDADD) $(LIBS) - -test-gpos-size-params$(EXEEXT): $(test_gpos_size_params_OBJECTS) $(test_gpos_size_params_DEPENDENCIES) $(EXTRA_test_gpos_size_params_DEPENDENCIES) - @rm -f test-gpos-size-params$(EXEEXT) - $(AM_V_CXXLD)$(CXXLINK) $(test_gpos_size_params_OBJECTS) $(test_gpos_size_params_LDADD) $(LIBS) - -test-gsub-would-substitute$(EXEEXT): $(test_gsub_would_substitute_OBJECTS) $(test_gsub_would_substitute_DEPENDENCIES) $(EXTRA_test_gsub_would_substitute_DEPENDENCIES) - @rm -f test-gsub-would-substitute$(EXEEXT) - $(AM_V_CXXLD)$(CXXLINK) $(test_gsub_would_substitute_OBJECTS) $(test_gsub_would_substitute_LDADD) $(LIBS) - -test-iter$(EXEEXT): $(test_iter_OBJECTS) $(test_iter_DEPENDENCIES) $(EXTRA_test_iter_DEPENDENCIES) - @rm -f test-iter$(EXEEXT) - $(AM_V_CXXLD)$(CXXLINK) $(test_iter_OBJECTS) $(test_iter_LDADD) $(LIBS) - -test-map$(EXEEXT): $(test_map_OBJECTS) $(test_map_DEPENDENCIES) $(EXTRA_test_map_DEPENDENCIES) - @rm -f test-map$(EXEEXT) - $(AM_V_CXXLD)$(CXXLINK) $(test_map_OBJECTS) $(test_map_LDADD) $(LIBS) - -test-number$(EXEEXT): $(test_number_OBJECTS) $(test_number_DEPENDENCIES) $(EXTRA_test_number_DEPENDENCIES) - @rm -f test-number$(EXEEXT) - $(AM_V_CXXLD)$(CXXLINK) $(test_number_OBJECTS) $(test_number_LDADD) $(LIBS) - -test-ot-glyphname$(EXEEXT): $(test_ot_glyphname_OBJECTS) $(test_ot_glyphname_DEPENDENCIES) $(EXTRA_test_ot_glyphname_DEPENDENCIES) - @rm -f test-ot-glyphname$(EXEEXT) - $(AM_V_CXXLD)$(CXXLINK) $(test_ot_glyphname_OBJECTS) $(test_ot_glyphname_LDADD) $(LIBS) - -test-ot-meta$(EXEEXT): $(test_ot_meta_OBJECTS) $(test_ot_meta_DEPENDENCIES) $(EXTRA_test_ot_meta_DEPENDENCIES) - @rm -f test-ot-meta$(EXEEXT) - $(AM_V_CXXLD)$(CXXLINK) $(test_ot_meta_OBJECTS) $(test_ot_meta_LDADD) $(LIBS) - -test-ot-name$(EXEEXT): $(test_ot_name_OBJECTS) $(test_ot_name_DEPENDENCIES) $(EXTRA_test_ot_name_DEPENDENCIES) - @rm -f test-ot-name$(EXEEXT) - $(AM_V_CXXLD)$(CXXLINK) $(test_ot_name_OBJECTS) $(test_ot_name_LDADD) $(LIBS) - -test-ot-tag$(EXEEXT): $(test_ot_tag_OBJECTS) $(test_ot_tag_DEPENDENCIES) $(EXTRA_test_ot_tag_DEPENDENCIES) - @rm -f test-ot-tag$(EXEEXT) - $(AM_V_CXXLD)$(CXXLINK) $(test_ot_tag_OBJECTS) $(test_ot_tag_LDADD) $(LIBS) - -test-priority-queue$(EXEEXT): $(test_priority_queue_OBJECTS) $(test_priority_queue_DEPENDENCIES) $(EXTRA_test_priority_queue_DEPENDENCIES) - @rm -f test-priority-queue$(EXEEXT) - $(AM_V_CXXLD)$(CXXLINK) $(test_priority_queue_OBJECTS) $(test_priority_queue_LDADD) $(LIBS) - -test-repacker$(EXEEXT): $(test_repacker_OBJECTS) $(test_repacker_DEPENDENCIES) $(EXTRA_test_repacker_DEPENDENCIES) - @rm -f test-repacker$(EXEEXT) - $(AM_V_CXXLD)$(CXXLINK) $(test_repacker_OBJECTS) $(test_repacker_LDADD) $(LIBS) - -test-set$(EXEEXT): $(test_set_OBJECTS) $(test_set_DEPENDENCIES) $(EXTRA_test_set_DEPENDENCIES) - @rm -f test-set$(EXEEXT) - $(AM_V_CXXLD)$(CXXLINK) $(test_set_OBJECTS) $(test_set_LDADD) $(LIBS) - -test-unicode-ranges$(EXEEXT): $(test_unicode_ranges_OBJECTS) $(test_unicode_ranges_DEPENDENCIES) $(EXTRA_test_unicode_ranges_DEPENDENCIES) - @rm -f test-unicode-ranges$(EXEEXT) - $(AM_V_CXXLD)$(CXXLINK) $(test_unicode_ranges_OBJECTS) $(test_unicode_ranges_LDADD) $(LIBS) - -test-vector$(EXEEXT): $(test_vector_OBJECTS) $(test_vector_DEPENDENCIES) $(EXTRA_test_vector_DEPENDENCIES) - @rm -f test-vector$(EXEEXT) - $(AM_V_CXXLD)$(CXXLINK) $(test_vector_OBJECTS) $(test_vector_LDADD) $(LIBS) - -mostlyclean-compile: - -rm -f *.$(OBJEXT) - -distclean-compile: - -rm -f *.tab.c - -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libharfbuzz_gobject_la-hb-gobject-enums.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libharfbuzz_gobject_la-hb-gobject-structs.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libharfbuzz_icu_la-hb-icu.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libharfbuzz_la-hb-aat-layout.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libharfbuzz_la-hb-aat-map.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libharfbuzz_la-hb-blob.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libharfbuzz_la-hb-buffer-serialize.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libharfbuzz_la-hb-buffer.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libharfbuzz_la-hb-common.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libharfbuzz_la-hb-coretext.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libharfbuzz_la-hb-directwrite.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libharfbuzz_la-hb-draw.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libharfbuzz_la-hb-face.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libharfbuzz_la-hb-fallback-shape.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libharfbuzz_la-hb-font.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libharfbuzz_la-hb-ft.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libharfbuzz_la-hb-gdi.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libharfbuzz_la-hb-glib.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libharfbuzz_la-hb-graphite2.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libharfbuzz_la-hb-icu.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libharfbuzz_la-hb-map.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libharfbuzz_la-hb-ms-feature-ranges.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libharfbuzz_la-hb-number.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libharfbuzz_la-hb-ot-cff1-table.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libharfbuzz_la-hb-ot-cff2-table.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libharfbuzz_la-hb-ot-color.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libharfbuzz_la-hb-ot-face.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libharfbuzz_la-hb-ot-font.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libharfbuzz_la-hb-ot-layout.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libharfbuzz_la-hb-ot-map.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libharfbuzz_la-hb-ot-math.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libharfbuzz_la-hb-ot-meta.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libharfbuzz_la-hb-ot-metrics.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libharfbuzz_la-hb-ot-name.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-arabic.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-default.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-hangul.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-hebrew.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-indic-table.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-indic.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-khmer.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-myanmar.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-syllabic.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-thai.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-use.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-vowel-constraints.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libharfbuzz_la-hb-ot-shape-fallback.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libharfbuzz_la-hb-ot-shape-normalize.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libharfbuzz_la-hb-ot-shape.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libharfbuzz_la-hb-ot-tag.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libharfbuzz_la-hb-ot-var.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libharfbuzz_la-hb-set.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libharfbuzz_la-hb-shape-plan.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libharfbuzz_la-hb-shape.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libharfbuzz_la-hb-shaper.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libharfbuzz_la-hb-static.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libharfbuzz_la-hb-style.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libharfbuzz_la-hb-ucd.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libharfbuzz_la-hb-unicode.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libharfbuzz_la-hb-uniscribe.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libharfbuzz_subset_la-hb-number.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libharfbuzz_subset_la-hb-ot-cff1-table.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libharfbuzz_subset_la-hb-ot-cff2-table.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libharfbuzz_subset_la-hb-static.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libharfbuzz_subset_la-hb-subset-cff-common.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libharfbuzz_subset_la-hb-subset-cff1.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libharfbuzz_subset_la-hb-subset-cff2.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libharfbuzz_subset_la-hb-subset-input.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libharfbuzz_subset_la-hb-subset-plan.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libharfbuzz_subset_la-hb-subset.Plo@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/main-main.Po@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-test.Po@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_algs-hb-static.Po@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_algs-test-algs.Po@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_array-test-array.Po@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_bimap-hb-static.Po@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_bimap-test-bimap.Po@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_buffer_serialize-test-buffer-serialize.Po@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_gpos_size_params-test-gpos-size-params.Po@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_gsub_would_substitute-test-gsub-would-substitute.Po@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_iter-hb-static.Po@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_iter-test-iter.Po@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_map-hb-static.Po@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_map-test-map.Po@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_number-hb-number.Po@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_number-test-number.Po@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_ot_glyphname-test-ot-glyphname.Po@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_ot_meta-test-ot-meta.Po@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_ot_name-test-ot-name.Po@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_ot_tag-hb-ot-tag.Po@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_priority_queue-hb-static.Po@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_priority_queue-test-priority-queue.Po@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_repacker-hb-static.Po@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_repacker-test-repacker.Po@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_set-hb-static.Po@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_set-test-set.Po@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_unicode_ranges-test-unicode-ranges.Po@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_vector-hb-static.Po@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_vector-test-vector.Po@am__quote@ # am--include-marker - -$(am__depfiles_remade): - @$(MKDIR_P) $(@D) - @echo '# dummy' >$@-t && $(am__mv) $@-t $@ - -am--depfiles: $(am__depfiles_remade) - -.cc.o: -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ $< - -.cc.obj: -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` - -.cc.lo: -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LTCXXCOMPILE) -c -o $@ $< - -libharfbuzz_gobject_la-hb-gobject-structs.lo: hb-gobject-structs.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_gobject_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libharfbuzz_gobject_la-hb-gobject-structs.lo -MD -MP -MF $(DEPDIR)/libharfbuzz_gobject_la-hb-gobject-structs.Tpo -c -o libharfbuzz_gobject_la-hb-gobject-structs.lo `test -f 'hb-gobject-structs.cc' || echo '$(srcdir)/'`hb-gobject-structs.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libharfbuzz_gobject_la-hb-gobject-structs.Tpo $(DEPDIR)/libharfbuzz_gobject_la-hb-gobject-structs.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-gobject-structs.cc' object='libharfbuzz_gobject_la-hb-gobject-structs.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_gobject_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libharfbuzz_gobject_la-hb-gobject-structs.lo `test -f 'hb-gobject-structs.cc' || echo '$(srcdir)/'`hb-gobject-structs.cc - -libharfbuzz_gobject_la-hb-gobject-enums.lo: hb-gobject-enums.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_gobject_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libharfbuzz_gobject_la-hb-gobject-enums.lo -MD -MP -MF $(DEPDIR)/libharfbuzz_gobject_la-hb-gobject-enums.Tpo -c -o libharfbuzz_gobject_la-hb-gobject-enums.lo `test -f 'hb-gobject-enums.cc' || echo '$(srcdir)/'`hb-gobject-enums.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libharfbuzz_gobject_la-hb-gobject-enums.Tpo $(DEPDIR)/libharfbuzz_gobject_la-hb-gobject-enums.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-gobject-enums.cc' object='libharfbuzz_gobject_la-hb-gobject-enums.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_gobject_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libharfbuzz_gobject_la-hb-gobject-enums.lo `test -f 'hb-gobject-enums.cc' || echo '$(srcdir)/'`hb-gobject-enums.cc - -libharfbuzz_icu_la-hb-icu.lo: hb-icu.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_icu_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libharfbuzz_icu_la-hb-icu.lo -MD -MP -MF $(DEPDIR)/libharfbuzz_icu_la-hb-icu.Tpo -c -o libharfbuzz_icu_la-hb-icu.lo `test -f 'hb-icu.cc' || echo '$(srcdir)/'`hb-icu.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libharfbuzz_icu_la-hb-icu.Tpo $(DEPDIR)/libharfbuzz_icu_la-hb-icu.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-icu.cc' object='libharfbuzz_icu_la-hb-icu.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_icu_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libharfbuzz_icu_la-hb-icu.lo `test -f 'hb-icu.cc' || echo '$(srcdir)/'`hb-icu.cc - -libharfbuzz_subset_la-hb-number.lo: hb-number.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_subset_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libharfbuzz_subset_la-hb-number.lo -MD -MP -MF $(DEPDIR)/libharfbuzz_subset_la-hb-number.Tpo -c -o libharfbuzz_subset_la-hb-number.lo `test -f 'hb-number.cc' || echo '$(srcdir)/'`hb-number.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libharfbuzz_subset_la-hb-number.Tpo $(DEPDIR)/libharfbuzz_subset_la-hb-number.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-number.cc' object='libharfbuzz_subset_la-hb-number.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_subset_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libharfbuzz_subset_la-hb-number.lo `test -f 'hb-number.cc' || echo '$(srcdir)/'`hb-number.cc - -libharfbuzz_subset_la-hb-ot-cff1-table.lo: hb-ot-cff1-table.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_subset_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libharfbuzz_subset_la-hb-ot-cff1-table.lo -MD -MP -MF $(DEPDIR)/libharfbuzz_subset_la-hb-ot-cff1-table.Tpo -c -o libharfbuzz_subset_la-hb-ot-cff1-table.lo `test -f 'hb-ot-cff1-table.cc' || echo '$(srcdir)/'`hb-ot-cff1-table.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libharfbuzz_subset_la-hb-ot-cff1-table.Tpo $(DEPDIR)/libharfbuzz_subset_la-hb-ot-cff1-table.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-ot-cff1-table.cc' object='libharfbuzz_subset_la-hb-ot-cff1-table.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_subset_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libharfbuzz_subset_la-hb-ot-cff1-table.lo `test -f 'hb-ot-cff1-table.cc' || echo '$(srcdir)/'`hb-ot-cff1-table.cc - -libharfbuzz_subset_la-hb-ot-cff2-table.lo: hb-ot-cff2-table.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_subset_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libharfbuzz_subset_la-hb-ot-cff2-table.lo -MD -MP -MF $(DEPDIR)/libharfbuzz_subset_la-hb-ot-cff2-table.Tpo -c -o libharfbuzz_subset_la-hb-ot-cff2-table.lo `test -f 'hb-ot-cff2-table.cc' || echo '$(srcdir)/'`hb-ot-cff2-table.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libharfbuzz_subset_la-hb-ot-cff2-table.Tpo $(DEPDIR)/libharfbuzz_subset_la-hb-ot-cff2-table.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-ot-cff2-table.cc' object='libharfbuzz_subset_la-hb-ot-cff2-table.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_subset_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libharfbuzz_subset_la-hb-ot-cff2-table.lo `test -f 'hb-ot-cff2-table.cc' || echo '$(srcdir)/'`hb-ot-cff2-table.cc - -libharfbuzz_subset_la-hb-static.lo: hb-static.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_subset_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libharfbuzz_subset_la-hb-static.lo -MD -MP -MF $(DEPDIR)/libharfbuzz_subset_la-hb-static.Tpo -c -o libharfbuzz_subset_la-hb-static.lo `test -f 'hb-static.cc' || echo '$(srcdir)/'`hb-static.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libharfbuzz_subset_la-hb-static.Tpo $(DEPDIR)/libharfbuzz_subset_la-hb-static.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-static.cc' object='libharfbuzz_subset_la-hb-static.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_subset_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libharfbuzz_subset_la-hb-static.lo `test -f 'hb-static.cc' || echo '$(srcdir)/'`hb-static.cc - -libharfbuzz_subset_la-hb-subset-cff-common.lo: hb-subset-cff-common.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_subset_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libharfbuzz_subset_la-hb-subset-cff-common.lo -MD -MP -MF $(DEPDIR)/libharfbuzz_subset_la-hb-subset-cff-common.Tpo -c -o libharfbuzz_subset_la-hb-subset-cff-common.lo `test -f 'hb-subset-cff-common.cc' || echo '$(srcdir)/'`hb-subset-cff-common.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libharfbuzz_subset_la-hb-subset-cff-common.Tpo $(DEPDIR)/libharfbuzz_subset_la-hb-subset-cff-common.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-subset-cff-common.cc' object='libharfbuzz_subset_la-hb-subset-cff-common.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_subset_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libharfbuzz_subset_la-hb-subset-cff-common.lo `test -f 'hb-subset-cff-common.cc' || echo '$(srcdir)/'`hb-subset-cff-common.cc - -libharfbuzz_subset_la-hb-subset-cff1.lo: hb-subset-cff1.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_subset_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libharfbuzz_subset_la-hb-subset-cff1.lo -MD -MP -MF $(DEPDIR)/libharfbuzz_subset_la-hb-subset-cff1.Tpo -c -o libharfbuzz_subset_la-hb-subset-cff1.lo `test -f 'hb-subset-cff1.cc' || echo '$(srcdir)/'`hb-subset-cff1.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libharfbuzz_subset_la-hb-subset-cff1.Tpo $(DEPDIR)/libharfbuzz_subset_la-hb-subset-cff1.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-subset-cff1.cc' object='libharfbuzz_subset_la-hb-subset-cff1.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_subset_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libharfbuzz_subset_la-hb-subset-cff1.lo `test -f 'hb-subset-cff1.cc' || echo '$(srcdir)/'`hb-subset-cff1.cc - -libharfbuzz_subset_la-hb-subset-cff2.lo: hb-subset-cff2.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_subset_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libharfbuzz_subset_la-hb-subset-cff2.lo -MD -MP -MF $(DEPDIR)/libharfbuzz_subset_la-hb-subset-cff2.Tpo -c -o libharfbuzz_subset_la-hb-subset-cff2.lo `test -f 'hb-subset-cff2.cc' || echo '$(srcdir)/'`hb-subset-cff2.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libharfbuzz_subset_la-hb-subset-cff2.Tpo $(DEPDIR)/libharfbuzz_subset_la-hb-subset-cff2.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-subset-cff2.cc' object='libharfbuzz_subset_la-hb-subset-cff2.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_subset_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libharfbuzz_subset_la-hb-subset-cff2.lo `test -f 'hb-subset-cff2.cc' || echo '$(srcdir)/'`hb-subset-cff2.cc - -libharfbuzz_subset_la-hb-subset-input.lo: hb-subset-input.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_subset_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libharfbuzz_subset_la-hb-subset-input.lo -MD -MP -MF $(DEPDIR)/libharfbuzz_subset_la-hb-subset-input.Tpo -c -o libharfbuzz_subset_la-hb-subset-input.lo `test -f 'hb-subset-input.cc' || echo '$(srcdir)/'`hb-subset-input.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libharfbuzz_subset_la-hb-subset-input.Tpo $(DEPDIR)/libharfbuzz_subset_la-hb-subset-input.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-subset-input.cc' object='libharfbuzz_subset_la-hb-subset-input.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_subset_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libharfbuzz_subset_la-hb-subset-input.lo `test -f 'hb-subset-input.cc' || echo '$(srcdir)/'`hb-subset-input.cc - -libharfbuzz_subset_la-hb-subset-plan.lo: hb-subset-plan.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_subset_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libharfbuzz_subset_la-hb-subset-plan.lo -MD -MP -MF $(DEPDIR)/libharfbuzz_subset_la-hb-subset-plan.Tpo -c -o libharfbuzz_subset_la-hb-subset-plan.lo `test -f 'hb-subset-plan.cc' || echo '$(srcdir)/'`hb-subset-plan.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libharfbuzz_subset_la-hb-subset-plan.Tpo $(DEPDIR)/libharfbuzz_subset_la-hb-subset-plan.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-subset-plan.cc' object='libharfbuzz_subset_la-hb-subset-plan.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_subset_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libharfbuzz_subset_la-hb-subset-plan.lo `test -f 'hb-subset-plan.cc' || echo '$(srcdir)/'`hb-subset-plan.cc - -libharfbuzz_subset_la-hb-subset.lo: hb-subset.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_subset_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libharfbuzz_subset_la-hb-subset.lo -MD -MP -MF $(DEPDIR)/libharfbuzz_subset_la-hb-subset.Tpo -c -o libharfbuzz_subset_la-hb-subset.lo `test -f 'hb-subset.cc' || echo '$(srcdir)/'`hb-subset.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libharfbuzz_subset_la-hb-subset.Tpo $(DEPDIR)/libharfbuzz_subset_la-hb-subset.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-subset.cc' object='libharfbuzz_subset_la-hb-subset.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_subset_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libharfbuzz_subset_la-hb-subset.lo `test -f 'hb-subset.cc' || echo '$(srcdir)/'`hb-subset.cc - -libharfbuzz_la-hb-aat-layout.lo: hb-aat-layout.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libharfbuzz_la-hb-aat-layout.lo -MD -MP -MF $(DEPDIR)/libharfbuzz_la-hb-aat-layout.Tpo -c -o libharfbuzz_la-hb-aat-layout.lo `test -f 'hb-aat-layout.cc' || echo '$(srcdir)/'`hb-aat-layout.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libharfbuzz_la-hb-aat-layout.Tpo $(DEPDIR)/libharfbuzz_la-hb-aat-layout.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-aat-layout.cc' object='libharfbuzz_la-hb-aat-layout.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libharfbuzz_la-hb-aat-layout.lo `test -f 'hb-aat-layout.cc' || echo '$(srcdir)/'`hb-aat-layout.cc - -libharfbuzz_la-hb-aat-map.lo: hb-aat-map.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libharfbuzz_la-hb-aat-map.lo -MD -MP -MF $(DEPDIR)/libharfbuzz_la-hb-aat-map.Tpo -c -o libharfbuzz_la-hb-aat-map.lo `test -f 'hb-aat-map.cc' || echo '$(srcdir)/'`hb-aat-map.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libharfbuzz_la-hb-aat-map.Tpo $(DEPDIR)/libharfbuzz_la-hb-aat-map.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-aat-map.cc' object='libharfbuzz_la-hb-aat-map.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libharfbuzz_la-hb-aat-map.lo `test -f 'hb-aat-map.cc' || echo '$(srcdir)/'`hb-aat-map.cc - -libharfbuzz_la-hb-blob.lo: hb-blob.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libharfbuzz_la-hb-blob.lo -MD -MP -MF $(DEPDIR)/libharfbuzz_la-hb-blob.Tpo -c -o libharfbuzz_la-hb-blob.lo `test -f 'hb-blob.cc' || echo '$(srcdir)/'`hb-blob.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libharfbuzz_la-hb-blob.Tpo $(DEPDIR)/libharfbuzz_la-hb-blob.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-blob.cc' object='libharfbuzz_la-hb-blob.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libharfbuzz_la-hb-blob.lo `test -f 'hb-blob.cc' || echo '$(srcdir)/'`hb-blob.cc - -libharfbuzz_la-hb-buffer-serialize.lo: hb-buffer-serialize.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libharfbuzz_la-hb-buffer-serialize.lo -MD -MP -MF $(DEPDIR)/libharfbuzz_la-hb-buffer-serialize.Tpo -c -o libharfbuzz_la-hb-buffer-serialize.lo `test -f 'hb-buffer-serialize.cc' || echo '$(srcdir)/'`hb-buffer-serialize.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libharfbuzz_la-hb-buffer-serialize.Tpo $(DEPDIR)/libharfbuzz_la-hb-buffer-serialize.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-buffer-serialize.cc' object='libharfbuzz_la-hb-buffer-serialize.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libharfbuzz_la-hb-buffer-serialize.lo `test -f 'hb-buffer-serialize.cc' || echo '$(srcdir)/'`hb-buffer-serialize.cc - -libharfbuzz_la-hb-buffer.lo: hb-buffer.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libharfbuzz_la-hb-buffer.lo -MD -MP -MF $(DEPDIR)/libharfbuzz_la-hb-buffer.Tpo -c -o libharfbuzz_la-hb-buffer.lo `test -f 'hb-buffer.cc' || echo '$(srcdir)/'`hb-buffer.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libharfbuzz_la-hb-buffer.Tpo $(DEPDIR)/libharfbuzz_la-hb-buffer.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-buffer.cc' object='libharfbuzz_la-hb-buffer.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libharfbuzz_la-hb-buffer.lo `test -f 'hb-buffer.cc' || echo '$(srcdir)/'`hb-buffer.cc - -libharfbuzz_la-hb-common.lo: hb-common.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libharfbuzz_la-hb-common.lo -MD -MP -MF $(DEPDIR)/libharfbuzz_la-hb-common.Tpo -c -o libharfbuzz_la-hb-common.lo `test -f 'hb-common.cc' || echo '$(srcdir)/'`hb-common.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libharfbuzz_la-hb-common.Tpo $(DEPDIR)/libharfbuzz_la-hb-common.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-common.cc' object='libharfbuzz_la-hb-common.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libharfbuzz_la-hb-common.lo `test -f 'hb-common.cc' || echo '$(srcdir)/'`hb-common.cc - -libharfbuzz_la-hb-draw.lo: hb-draw.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libharfbuzz_la-hb-draw.lo -MD -MP -MF $(DEPDIR)/libharfbuzz_la-hb-draw.Tpo -c -o libharfbuzz_la-hb-draw.lo `test -f 'hb-draw.cc' || echo '$(srcdir)/'`hb-draw.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libharfbuzz_la-hb-draw.Tpo $(DEPDIR)/libharfbuzz_la-hb-draw.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-draw.cc' object='libharfbuzz_la-hb-draw.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libharfbuzz_la-hb-draw.lo `test -f 'hb-draw.cc' || echo '$(srcdir)/'`hb-draw.cc - -libharfbuzz_la-hb-face.lo: hb-face.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libharfbuzz_la-hb-face.lo -MD -MP -MF $(DEPDIR)/libharfbuzz_la-hb-face.Tpo -c -o libharfbuzz_la-hb-face.lo `test -f 'hb-face.cc' || echo '$(srcdir)/'`hb-face.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libharfbuzz_la-hb-face.Tpo $(DEPDIR)/libharfbuzz_la-hb-face.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-face.cc' object='libharfbuzz_la-hb-face.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libharfbuzz_la-hb-face.lo `test -f 'hb-face.cc' || echo '$(srcdir)/'`hb-face.cc - -libharfbuzz_la-hb-fallback-shape.lo: hb-fallback-shape.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libharfbuzz_la-hb-fallback-shape.lo -MD -MP -MF $(DEPDIR)/libharfbuzz_la-hb-fallback-shape.Tpo -c -o libharfbuzz_la-hb-fallback-shape.lo `test -f 'hb-fallback-shape.cc' || echo '$(srcdir)/'`hb-fallback-shape.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libharfbuzz_la-hb-fallback-shape.Tpo $(DEPDIR)/libharfbuzz_la-hb-fallback-shape.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-fallback-shape.cc' object='libharfbuzz_la-hb-fallback-shape.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libharfbuzz_la-hb-fallback-shape.lo `test -f 'hb-fallback-shape.cc' || echo '$(srcdir)/'`hb-fallback-shape.cc - -libharfbuzz_la-hb-font.lo: hb-font.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libharfbuzz_la-hb-font.lo -MD -MP -MF $(DEPDIR)/libharfbuzz_la-hb-font.Tpo -c -o libharfbuzz_la-hb-font.lo `test -f 'hb-font.cc' || echo '$(srcdir)/'`hb-font.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libharfbuzz_la-hb-font.Tpo $(DEPDIR)/libharfbuzz_la-hb-font.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-font.cc' object='libharfbuzz_la-hb-font.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libharfbuzz_la-hb-font.lo `test -f 'hb-font.cc' || echo '$(srcdir)/'`hb-font.cc - -libharfbuzz_la-hb-map.lo: hb-map.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libharfbuzz_la-hb-map.lo -MD -MP -MF $(DEPDIR)/libharfbuzz_la-hb-map.Tpo -c -o libharfbuzz_la-hb-map.lo `test -f 'hb-map.cc' || echo '$(srcdir)/'`hb-map.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libharfbuzz_la-hb-map.Tpo $(DEPDIR)/libharfbuzz_la-hb-map.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-map.cc' object='libharfbuzz_la-hb-map.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libharfbuzz_la-hb-map.lo `test -f 'hb-map.cc' || echo '$(srcdir)/'`hb-map.cc - -libharfbuzz_la-hb-ms-feature-ranges.lo: hb-ms-feature-ranges.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libharfbuzz_la-hb-ms-feature-ranges.lo -MD -MP -MF $(DEPDIR)/libharfbuzz_la-hb-ms-feature-ranges.Tpo -c -o libharfbuzz_la-hb-ms-feature-ranges.lo `test -f 'hb-ms-feature-ranges.cc' || echo '$(srcdir)/'`hb-ms-feature-ranges.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libharfbuzz_la-hb-ms-feature-ranges.Tpo $(DEPDIR)/libharfbuzz_la-hb-ms-feature-ranges.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-ms-feature-ranges.cc' object='libharfbuzz_la-hb-ms-feature-ranges.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libharfbuzz_la-hb-ms-feature-ranges.lo `test -f 'hb-ms-feature-ranges.cc' || echo '$(srcdir)/'`hb-ms-feature-ranges.cc - -libharfbuzz_la-hb-number.lo: hb-number.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libharfbuzz_la-hb-number.lo -MD -MP -MF $(DEPDIR)/libharfbuzz_la-hb-number.Tpo -c -o libharfbuzz_la-hb-number.lo `test -f 'hb-number.cc' || echo '$(srcdir)/'`hb-number.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libharfbuzz_la-hb-number.Tpo $(DEPDIR)/libharfbuzz_la-hb-number.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-number.cc' object='libharfbuzz_la-hb-number.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libharfbuzz_la-hb-number.lo `test -f 'hb-number.cc' || echo '$(srcdir)/'`hb-number.cc - -libharfbuzz_la-hb-ot-cff1-table.lo: hb-ot-cff1-table.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libharfbuzz_la-hb-ot-cff1-table.lo -MD -MP -MF $(DEPDIR)/libharfbuzz_la-hb-ot-cff1-table.Tpo -c -o libharfbuzz_la-hb-ot-cff1-table.lo `test -f 'hb-ot-cff1-table.cc' || echo '$(srcdir)/'`hb-ot-cff1-table.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libharfbuzz_la-hb-ot-cff1-table.Tpo $(DEPDIR)/libharfbuzz_la-hb-ot-cff1-table.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-ot-cff1-table.cc' object='libharfbuzz_la-hb-ot-cff1-table.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libharfbuzz_la-hb-ot-cff1-table.lo `test -f 'hb-ot-cff1-table.cc' || echo '$(srcdir)/'`hb-ot-cff1-table.cc - -libharfbuzz_la-hb-ot-cff2-table.lo: hb-ot-cff2-table.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libharfbuzz_la-hb-ot-cff2-table.lo -MD -MP -MF $(DEPDIR)/libharfbuzz_la-hb-ot-cff2-table.Tpo -c -o libharfbuzz_la-hb-ot-cff2-table.lo `test -f 'hb-ot-cff2-table.cc' || echo '$(srcdir)/'`hb-ot-cff2-table.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libharfbuzz_la-hb-ot-cff2-table.Tpo $(DEPDIR)/libharfbuzz_la-hb-ot-cff2-table.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-ot-cff2-table.cc' object='libharfbuzz_la-hb-ot-cff2-table.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libharfbuzz_la-hb-ot-cff2-table.lo `test -f 'hb-ot-cff2-table.cc' || echo '$(srcdir)/'`hb-ot-cff2-table.cc - -libharfbuzz_la-hb-ot-color.lo: hb-ot-color.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libharfbuzz_la-hb-ot-color.lo -MD -MP -MF $(DEPDIR)/libharfbuzz_la-hb-ot-color.Tpo -c -o libharfbuzz_la-hb-ot-color.lo `test -f 'hb-ot-color.cc' || echo '$(srcdir)/'`hb-ot-color.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libharfbuzz_la-hb-ot-color.Tpo $(DEPDIR)/libharfbuzz_la-hb-ot-color.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-ot-color.cc' object='libharfbuzz_la-hb-ot-color.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libharfbuzz_la-hb-ot-color.lo `test -f 'hb-ot-color.cc' || echo '$(srcdir)/'`hb-ot-color.cc - -libharfbuzz_la-hb-ot-face.lo: hb-ot-face.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libharfbuzz_la-hb-ot-face.lo -MD -MP -MF $(DEPDIR)/libharfbuzz_la-hb-ot-face.Tpo -c -o libharfbuzz_la-hb-ot-face.lo `test -f 'hb-ot-face.cc' || echo '$(srcdir)/'`hb-ot-face.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libharfbuzz_la-hb-ot-face.Tpo $(DEPDIR)/libharfbuzz_la-hb-ot-face.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-ot-face.cc' object='libharfbuzz_la-hb-ot-face.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libharfbuzz_la-hb-ot-face.lo `test -f 'hb-ot-face.cc' || echo '$(srcdir)/'`hb-ot-face.cc - -libharfbuzz_la-hb-ot-font.lo: hb-ot-font.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libharfbuzz_la-hb-ot-font.lo -MD -MP -MF $(DEPDIR)/libharfbuzz_la-hb-ot-font.Tpo -c -o libharfbuzz_la-hb-ot-font.lo `test -f 'hb-ot-font.cc' || echo '$(srcdir)/'`hb-ot-font.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libharfbuzz_la-hb-ot-font.Tpo $(DEPDIR)/libharfbuzz_la-hb-ot-font.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-ot-font.cc' object='libharfbuzz_la-hb-ot-font.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libharfbuzz_la-hb-ot-font.lo `test -f 'hb-ot-font.cc' || echo '$(srcdir)/'`hb-ot-font.cc - -libharfbuzz_la-hb-ot-layout.lo: hb-ot-layout.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libharfbuzz_la-hb-ot-layout.lo -MD -MP -MF $(DEPDIR)/libharfbuzz_la-hb-ot-layout.Tpo -c -o libharfbuzz_la-hb-ot-layout.lo `test -f 'hb-ot-layout.cc' || echo '$(srcdir)/'`hb-ot-layout.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libharfbuzz_la-hb-ot-layout.Tpo $(DEPDIR)/libharfbuzz_la-hb-ot-layout.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-ot-layout.cc' object='libharfbuzz_la-hb-ot-layout.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libharfbuzz_la-hb-ot-layout.lo `test -f 'hb-ot-layout.cc' || echo '$(srcdir)/'`hb-ot-layout.cc - -libharfbuzz_la-hb-ot-map.lo: hb-ot-map.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libharfbuzz_la-hb-ot-map.lo -MD -MP -MF $(DEPDIR)/libharfbuzz_la-hb-ot-map.Tpo -c -o libharfbuzz_la-hb-ot-map.lo `test -f 'hb-ot-map.cc' || echo '$(srcdir)/'`hb-ot-map.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libharfbuzz_la-hb-ot-map.Tpo $(DEPDIR)/libharfbuzz_la-hb-ot-map.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-ot-map.cc' object='libharfbuzz_la-hb-ot-map.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libharfbuzz_la-hb-ot-map.lo `test -f 'hb-ot-map.cc' || echo '$(srcdir)/'`hb-ot-map.cc - -libharfbuzz_la-hb-ot-math.lo: hb-ot-math.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libharfbuzz_la-hb-ot-math.lo -MD -MP -MF $(DEPDIR)/libharfbuzz_la-hb-ot-math.Tpo -c -o libharfbuzz_la-hb-ot-math.lo `test -f 'hb-ot-math.cc' || echo '$(srcdir)/'`hb-ot-math.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libharfbuzz_la-hb-ot-math.Tpo $(DEPDIR)/libharfbuzz_la-hb-ot-math.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-ot-math.cc' object='libharfbuzz_la-hb-ot-math.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libharfbuzz_la-hb-ot-math.lo `test -f 'hb-ot-math.cc' || echo '$(srcdir)/'`hb-ot-math.cc - -libharfbuzz_la-hb-ot-meta.lo: hb-ot-meta.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libharfbuzz_la-hb-ot-meta.lo -MD -MP -MF $(DEPDIR)/libharfbuzz_la-hb-ot-meta.Tpo -c -o libharfbuzz_la-hb-ot-meta.lo `test -f 'hb-ot-meta.cc' || echo '$(srcdir)/'`hb-ot-meta.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libharfbuzz_la-hb-ot-meta.Tpo $(DEPDIR)/libharfbuzz_la-hb-ot-meta.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-ot-meta.cc' object='libharfbuzz_la-hb-ot-meta.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libharfbuzz_la-hb-ot-meta.lo `test -f 'hb-ot-meta.cc' || echo '$(srcdir)/'`hb-ot-meta.cc - -libharfbuzz_la-hb-ot-metrics.lo: hb-ot-metrics.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libharfbuzz_la-hb-ot-metrics.lo -MD -MP -MF $(DEPDIR)/libharfbuzz_la-hb-ot-metrics.Tpo -c -o libharfbuzz_la-hb-ot-metrics.lo `test -f 'hb-ot-metrics.cc' || echo '$(srcdir)/'`hb-ot-metrics.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libharfbuzz_la-hb-ot-metrics.Tpo $(DEPDIR)/libharfbuzz_la-hb-ot-metrics.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-ot-metrics.cc' object='libharfbuzz_la-hb-ot-metrics.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libharfbuzz_la-hb-ot-metrics.lo `test -f 'hb-ot-metrics.cc' || echo '$(srcdir)/'`hb-ot-metrics.cc - -libharfbuzz_la-hb-ot-name.lo: hb-ot-name.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libharfbuzz_la-hb-ot-name.lo -MD -MP -MF $(DEPDIR)/libharfbuzz_la-hb-ot-name.Tpo -c -o libharfbuzz_la-hb-ot-name.lo `test -f 'hb-ot-name.cc' || echo '$(srcdir)/'`hb-ot-name.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libharfbuzz_la-hb-ot-name.Tpo $(DEPDIR)/libharfbuzz_la-hb-ot-name.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-ot-name.cc' object='libharfbuzz_la-hb-ot-name.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libharfbuzz_la-hb-ot-name.lo `test -f 'hb-ot-name.cc' || echo '$(srcdir)/'`hb-ot-name.cc - -libharfbuzz_la-hb-ot-shape-complex-arabic.lo: hb-ot-shape-complex-arabic.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libharfbuzz_la-hb-ot-shape-complex-arabic.lo -MD -MP -MF $(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-arabic.Tpo -c -o libharfbuzz_la-hb-ot-shape-complex-arabic.lo `test -f 'hb-ot-shape-complex-arabic.cc' || echo '$(srcdir)/'`hb-ot-shape-complex-arabic.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-arabic.Tpo $(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-arabic.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-ot-shape-complex-arabic.cc' object='libharfbuzz_la-hb-ot-shape-complex-arabic.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libharfbuzz_la-hb-ot-shape-complex-arabic.lo `test -f 'hb-ot-shape-complex-arabic.cc' || echo '$(srcdir)/'`hb-ot-shape-complex-arabic.cc - -libharfbuzz_la-hb-ot-shape-complex-default.lo: hb-ot-shape-complex-default.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libharfbuzz_la-hb-ot-shape-complex-default.lo -MD -MP -MF $(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-default.Tpo -c -o libharfbuzz_la-hb-ot-shape-complex-default.lo `test -f 'hb-ot-shape-complex-default.cc' || echo '$(srcdir)/'`hb-ot-shape-complex-default.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-default.Tpo $(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-default.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-ot-shape-complex-default.cc' object='libharfbuzz_la-hb-ot-shape-complex-default.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libharfbuzz_la-hb-ot-shape-complex-default.lo `test -f 'hb-ot-shape-complex-default.cc' || echo '$(srcdir)/'`hb-ot-shape-complex-default.cc - -libharfbuzz_la-hb-ot-shape-complex-hangul.lo: hb-ot-shape-complex-hangul.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libharfbuzz_la-hb-ot-shape-complex-hangul.lo -MD -MP -MF $(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-hangul.Tpo -c -o libharfbuzz_la-hb-ot-shape-complex-hangul.lo `test -f 'hb-ot-shape-complex-hangul.cc' || echo '$(srcdir)/'`hb-ot-shape-complex-hangul.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-hangul.Tpo $(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-hangul.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-ot-shape-complex-hangul.cc' object='libharfbuzz_la-hb-ot-shape-complex-hangul.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libharfbuzz_la-hb-ot-shape-complex-hangul.lo `test -f 'hb-ot-shape-complex-hangul.cc' || echo '$(srcdir)/'`hb-ot-shape-complex-hangul.cc - -libharfbuzz_la-hb-ot-shape-complex-hebrew.lo: hb-ot-shape-complex-hebrew.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libharfbuzz_la-hb-ot-shape-complex-hebrew.lo -MD -MP -MF $(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-hebrew.Tpo -c -o libharfbuzz_la-hb-ot-shape-complex-hebrew.lo `test -f 'hb-ot-shape-complex-hebrew.cc' || echo '$(srcdir)/'`hb-ot-shape-complex-hebrew.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-hebrew.Tpo $(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-hebrew.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-ot-shape-complex-hebrew.cc' object='libharfbuzz_la-hb-ot-shape-complex-hebrew.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libharfbuzz_la-hb-ot-shape-complex-hebrew.lo `test -f 'hb-ot-shape-complex-hebrew.cc' || echo '$(srcdir)/'`hb-ot-shape-complex-hebrew.cc - -libharfbuzz_la-hb-ot-shape-complex-indic-table.lo: hb-ot-shape-complex-indic-table.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libharfbuzz_la-hb-ot-shape-complex-indic-table.lo -MD -MP -MF $(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-indic-table.Tpo -c -o libharfbuzz_la-hb-ot-shape-complex-indic-table.lo `test -f 'hb-ot-shape-complex-indic-table.cc' || echo '$(srcdir)/'`hb-ot-shape-complex-indic-table.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-indic-table.Tpo $(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-indic-table.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-ot-shape-complex-indic-table.cc' object='libharfbuzz_la-hb-ot-shape-complex-indic-table.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libharfbuzz_la-hb-ot-shape-complex-indic-table.lo `test -f 'hb-ot-shape-complex-indic-table.cc' || echo '$(srcdir)/'`hb-ot-shape-complex-indic-table.cc - -libharfbuzz_la-hb-ot-shape-complex-indic.lo: hb-ot-shape-complex-indic.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libharfbuzz_la-hb-ot-shape-complex-indic.lo -MD -MP -MF $(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-indic.Tpo -c -o libharfbuzz_la-hb-ot-shape-complex-indic.lo `test -f 'hb-ot-shape-complex-indic.cc' || echo '$(srcdir)/'`hb-ot-shape-complex-indic.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-indic.Tpo $(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-indic.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-ot-shape-complex-indic.cc' object='libharfbuzz_la-hb-ot-shape-complex-indic.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libharfbuzz_la-hb-ot-shape-complex-indic.lo `test -f 'hb-ot-shape-complex-indic.cc' || echo '$(srcdir)/'`hb-ot-shape-complex-indic.cc - -libharfbuzz_la-hb-ot-shape-complex-khmer.lo: hb-ot-shape-complex-khmer.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libharfbuzz_la-hb-ot-shape-complex-khmer.lo -MD -MP -MF $(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-khmer.Tpo -c -o libharfbuzz_la-hb-ot-shape-complex-khmer.lo `test -f 'hb-ot-shape-complex-khmer.cc' || echo '$(srcdir)/'`hb-ot-shape-complex-khmer.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-khmer.Tpo $(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-khmer.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-ot-shape-complex-khmer.cc' object='libharfbuzz_la-hb-ot-shape-complex-khmer.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libharfbuzz_la-hb-ot-shape-complex-khmer.lo `test -f 'hb-ot-shape-complex-khmer.cc' || echo '$(srcdir)/'`hb-ot-shape-complex-khmer.cc - -libharfbuzz_la-hb-ot-shape-complex-myanmar.lo: hb-ot-shape-complex-myanmar.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libharfbuzz_la-hb-ot-shape-complex-myanmar.lo -MD -MP -MF $(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-myanmar.Tpo -c -o libharfbuzz_la-hb-ot-shape-complex-myanmar.lo `test -f 'hb-ot-shape-complex-myanmar.cc' || echo '$(srcdir)/'`hb-ot-shape-complex-myanmar.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-myanmar.Tpo $(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-myanmar.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-ot-shape-complex-myanmar.cc' object='libharfbuzz_la-hb-ot-shape-complex-myanmar.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libharfbuzz_la-hb-ot-shape-complex-myanmar.lo `test -f 'hb-ot-shape-complex-myanmar.cc' || echo '$(srcdir)/'`hb-ot-shape-complex-myanmar.cc - -libharfbuzz_la-hb-ot-shape-complex-syllabic.lo: hb-ot-shape-complex-syllabic.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libharfbuzz_la-hb-ot-shape-complex-syllabic.lo -MD -MP -MF $(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-syllabic.Tpo -c -o libharfbuzz_la-hb-ot-shape-complex-syllabic.lo `test -f 'hb-ot-shape-complex-syllabic.cc' || echo '$(srcdir)/'`hb-ot-shape-complex-syllabic.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-syllabic.Tpo $(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-syllabic.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-ot-shape-complex-syllabic.cc' object='libharfbuzz_la-hb-ot-shape-complex-syllabic.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libharfbuzz_la-hb-ot-shape-complex-syllabic.lo `test -f 'hb-ot-shape-complex-syllabic.cc' || echo '$(srcdir)/'`hb-ot-shape-complex-syllabic.cc - -libharfbuzz_la-hb-ot-shape-complex-thai.lo: hb-ot-shape-complex-thai.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libharfbuzz_la-hb-ot-shape-complex-thai.lo -MD -MP -MF $(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-thai.Tpo -c -o libharfbuzz_la-hb-ot-shape-complex-thai.lo `test -f 'hb-ot-shape-complex-thai.cc' || echo '$(srcdir)/'`hb-ot-shape-complex-thai.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-thai.Tpo $(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-thai.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-ot-shape-complex-thai.cc' object='libharfbuzz_la-hb-ot-shape-complex-thai.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libharfbuzz_la-hb-ot-shape-complex-thai.lo `test -f 'hb-ot-shape-complex-thai.cc' || echo '$(srcdir)/'`hb-ot-shape-complex-thai.cc - -libharfbuzz_la-hb-ot-shape-complex-use.lo: hb-ot-shape-complex-use.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libharfbuzz_la-hb-ot-shape-complex-use.lo -MD -MP -MF $(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-use.Tpo -c -o libharfbuzz_la-hb-ot-shape-complex-use.lo `test -f 'hb-ot-shape-complex-use.cc' || echo '$(srcdir)/'`hb-ot-shape-complex-use.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-use.Tpo $(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-use.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-ot-shape-complex-use.cc' object='libharfbuzz_la-hb-ot-shape-complex-use.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libharfbuzz_la-hb-ot-shape-complex-use.lo `test -f 'hb-ot-shape-complex-use.cc' || echo '$(srcdir)/'`hb-ot-shape-complex-use.cc - -libharfbuzz_la-hb-ot-shape-complex-vowel-constraints.lo: hb-ot-shape-complex-vowel-constraints.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libharfbuzz_la-hb-ot-shape-complex-vowel-constraints.lo -MD -MP -MF $(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-vowel-constraints.Tpo -c -o libharfbuzz_la-hb-ot-shape-complex-vowel-constraints.lo `test -f 'hb-ot-shape-complex-vowel-constraints.cc' || echo '$(srcdir)/'`hb-ot-shape-complex-vowel-constraints.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-vowel-constraints.Tpo $(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-vowel-constraints.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-ot-shape-complex-vowel-constraints.cc' object='libharfbuzz_la-hb-ot-shape-complex-vowel-constraints.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libharfbuzz_la-hb-ot-shape-complex-vowel-constraints.lo `test -f 'hb-ot-shape-complex-vowel-constraints.cc' || echo '$(srcdir)/'`hb-ot-shape-complex-vowel-constraints.cc - -libharfbuzz_la-hb-ot-shape-fallback.lo: hb-ot-shape-fallback.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libharfbuzz_la-hb-ot-shape-fallback.lo -MD -MP -MF $(DEPDIR)/libharfbuzz_la-hb-ot-shape-fallback.Tpo -c -o libharfbuzz_la-hb-ot-shape-fallback.lo `test -f 'hb-ot-shape-fallback.cc' || echo '$(srcdir)/'`hb-ot-shape-fallback.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libharfbuzz_la-hb-ot-shape-fallback.Tpo $(DEPDIR)/libharfbuzz_la-hb-ot-shape-fallback.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-ot-shape-fallback.cc' object='libharfbuzz_la-hb-ot-shape-fallback.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libharfbuzz_la-hb-ot-shape-fallback.lo `test -f 'hb-ot-shape-fallback.cc' || echo '$(srcdir)/'`hb-ot-shape-fallback.cc - -libharfbuzz_la-hb-ot-shape-normalize.lo: hb-ot-shape-normalize.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libharfbuzz_la-hb-ot-shape-normalize.lo -MD -MP -MF $(DEPDIR)/libharfbuzz_la-hb-ot-shape-normalize.Tpo -c -o libharfbuzz_la-hb-ot-shape-normalize.lo `test -f 'hb-ot-shape-normalize.cc' || echo '$(srcdir)/'`hb-ot-shape-normalize.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libharfbuzz_la-hb-ot-shape-normalize.Tpo $(DEPDIR)/libharfbuzz_la-hb-ot-shape-normalize.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-ot-shape-normalize.cc' object='libharfbuzz_la-hb-ot-shape-normalize.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libharfbuzz_la-hb-ot-shape-normalize.lo `test -f 'hb-ot-shape-normalize.cc' || echo '$(srcdir)/'`hb-ot-shape-normalize.cc - -libharfbuzz_la-hb-ot-shape.lo: hb-ot-shape.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libharfbuzz_la-hb-ot-shape.lo -MD -MP -MF $(DEPDIR)/libharfbuzz_la-hb-ot-shape.Tpo -c -o libharfbuzz_la-hb-ot-shape.lo `test -f 'hb-ot-shape.cc' || echo '$(srcdir)/'`hb-ot-shape.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libharfbuzz_la-hb-ot-shape.Tpo $(DEPDIR)/libharfbuzz_la-hb-ot-shape.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-ot-shape.cc' object='libharfbuzz_la-hb-ot-shape.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libharfbuzz_la-hb-ot-shape.lo `test -f 'hb-ot-shape.cc' || echo '$(srcdir)/'`hb-ot-shape.cc - -libharfbuzz_la-hb-ot-tag.lo: hb-ot-tag.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libharfbuzz_la-hb-ot-tag.lo -MD -MP -MF $(DEPDIR)/libharfbuzz_la-hb-ot-tag.Tpo -c -o libharfbuzz_la-hb-ot-tag.lo `test -f 'hb-ot-tag.cc' || echo '$(srcdir)/'`hb-ot-tag.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libharfbuzz_la-hb-ot-tag.Tpo $(DEPDIR)/libharfbuzz_la-hb-ot-tag.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-ot-tag.cc' object='libharfbuzz_la-hb-ot-tag.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libharfbuzz_la-hb-ot-tag.lo `test -f 'hb-ot-tag.cc' || echo '$(srcdir)/'`hb-ot-tag.cc - -libharfbuzz_la-hb-ot-var.lo: hb-ot-var.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libharfbuzz_la-hb-ot-var.lo -MD -MP -MF $(DEPDIR)/libharfbuzz_la-hb-ot-var.Tpo -c -o libharfbuzz_la-hb-ot-var.lo `test -f 'hb-ot-var.cc' || echo '$(srcdir)/'`hb-ot-var.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libharfbuzz_la-hb-ot-var.Tpo $(DEPDIR)/libharfbuzz_la-hb-ot-var.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-ot-var.cc' object='libharfbuzz_la-hb-ot-var.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libharfbuzz_la-hb-ot-var.lo `test -f 'hb-ot-var.cc' || echo '$(srcdir)/'`hb-ot-var.cc - -libharfbuzz_la-hb-set.lo: hb-set.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libharfbuzz_la-hb-set.lo -MD -MP -MF $(DEPDIR)/libharfbuzz_la-hb-set.Tpo -c -o libharfbuzz_la-hb-set.lo `test -f 'hb-set.cc' || echo '$(srcdir)/'`hb-set.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libharfbuzz_la-hb-set.Tpo $(DEPDIR)/libharfbuzz_la-hb-set.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-set.cc' object='libharfbuzz_la-hb-set.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libharfbuzz_la-hb-set.lo `test -f 'hb-set.cc' || echo '$(srcdir)/'`hb-set.cc - -libharfbuzz_la-hb-shape-plan.lo: hb-shape-plan.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libharfbuzz_la-hb-shape-plan.lo -MD -MP -MF $(DEPDIR)/libharfbuzz_la-hb-shape-plan.Tpo -c -o libharfbuzz_la-hb-shape-plan.lo `test -f 'hb-shape-plan.cc' || echo '$(srcdir)/'`hb-shape-plan.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libharfbuzz_la-hb-shape-plan.Tpo $(DEPDIR)/libharfbuzz_la-hb-shape-plan.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-shape-plan.cc' object='libharfbuzz_la-hb-shape-plan.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libharfbuzz_la-hb-shape-plan.lo `test -f 'hb-shape-plan.cc' || echo '$(srcdir)/'`hb-shape-plan.cc - -libharfbuzz_la-hb-shape.lo: hb-shape.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libharfbuzz_la-hb-shape.lo -MD -MP -MF $(DEPDIR)/libharfbuzz_la-hb-shape.Tpo -c -o libharfbuzz_la-hb-shape.lo `test -f 'hb-shape.cc' || echo '$(srcdir)/'`hb-shape.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libharfbuzz_la-hb-shape.Tpo $(DEPDIR)/libharfbuzz_la-hb-shape.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-shape.cc' object='libharfbuzz_la-hb-shape.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libharfbuzz_la-hb-shape.lo `test -f 'hb-shape.cc' || echo '$(srcdir)/'`hb-shape.cc - -libharfbuzz_la-hb-shaper.lo: hb-shaper.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libharfbuzz_la-hb-shaper.lo -MD -MP -MF $(DEPDIR)/libharfbuzz_la-hb-shaper.Tpo -c -o libharfbuzz_la-hb-shaper.lo `test -f 'hb-shaper.cc' || echo '$(srcdir)/'`hb-shaper.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libharfbuzz_la-hb-shaper.Tpo $(DEPDIR)/libharfbuzz_la-hb-shaper.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-shaper.cc' object='libharfbuzz_la-hb-shaper.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libharfbuzz_la-hb-shaper.lo `test -f 'hb-shaper.cc' || echo '$(srcdir)/'`hb-shaper.cc - -libharfbuzz_la-hb-static.lo: hb-static.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libharfbuzz_la-hb-static.lo -MD -MP -MF $(DEPDIR)/libharfbuzz_la-hb-static.Tpo -c -o libharfbuzz_la-hb-static.lo `test -f 'hb-static.cc' || echo '$(srcdir)/'`hb-static.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libharfbuzz_la-hb-static.Tpo $(DEPDIR)/libharfbuzz_la-hb-static.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-static.cc' object='libharfbuzz_la-hb-static.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libharfbuzz_la-hb-static.lo `test -f 'hb-static.cc' || echo '$(srcdir)/'`hb-static.cc - -libharfbuzz_la-hb-style.lo: hb-style.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libharfbuzz_la-hb-style.lo -MD -MP -MF $(DEPDIR)/libharfbuzz_la-hb-style.Tpo -c -o libharfbuzz_la-hb-style.lo `test -f 'hb-style.cc' || echo '$(srcdir)/'`hb-style.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libharfbuzz_la-hb-style.Tpo $(DEPDIR)/libharfbuzz_la-hb-style.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-style.cc' object='libharfbuzz_la-hb-style.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libharfbuzz_la-hb-style.lo `test -f 'hb-style.cc' || echo '$(srcdir)/'`hb-style.cc - -libharfbuzz_la-hb-ucd.lo: hb-ucd.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libharfbuzz_la-hb-ucd.lo -MD -MP -MF $(DEPDIR)/libharfbuzz_la-hb-ucd.Tpo -c -o libharfbuzz_la-hb-ucd.lo `test -f 'hb-ucd.cc' || echo '$(srcdir)/'`hb-ucd.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libharfbuzz_la-hb-ucd.Tpo $(DEPDIR)/libharfbuzz_la-hb-ucd.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-ucd.cc' object='libharfbuzz_la-hb-ucd.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libharfbuzz_la-hb-ucd.lo `test -f 'hb-ucd.cc' || echo '$(srcdir)/'`hb-ucd.cc - -libharfbuzz_la-hb-unicode.lo: hb-unicode.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libharfbuzz_la-hb-unicode.lo -MD -MP -MF $(DEPDIR)/libharfbuzz_la-hb-unicode.Tpo -c -o libharfbuzz_la-hb-unicode.lo `test -f 'hb-unicode.cc' || echo '$(srcdir)/'`hb-unicode.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libharfbuzz_la-hb-unicode.Tpo $(DEPDIR)/libharfbuzz_la-hb-unicode.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-unicode.cc' object='libharfbuzz_la-hb-unicode.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libharfbuzz_la-hb-unicode.lo `test -f 'hb-unicode.cc' || echo '$(srcdir)/'`hb-unicode.cc - -libharfbuzz_la-hb-glib.lo: hb-glib.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libharfbuzz_la-hb-glib.lo -MD -MP -MF $(DEPDIR)/libharfbuzz_la-hb-glib.Tpo -c -o libharfbuzz_la-hb-glib.lo `test -f 'hb-glib.cc' || echo '$(srcdir)/'`hb-glib.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libharfbuzz_la-hb-glib.Tpo $(DEPDIR)/libharfbuzz_la-hb-glib.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-glib.cc' object='libharfbuzz_la-hb-glib.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libharfbuzz_la-hb-glib.lo `test -f 'hb-glib.cc' || echo '$(srcdir)/'`hb-glib.cc - -libharfbuzz_la-hb-ft.lo: hb-ft.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libharfbuzz_la-hb-ft.lo -MD -MP -MF $(DEPDIR)/libharfbuzz_la-hb-ft.Tpo -c -o libharfbuzz_la-hb-ft.lo `test -f 'hb-ft.cc' || echo '$(srcdir)/'`hb-ft.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libharfbuzz_la-hb-ft.Tpo $(DEPDIR)/libharfbuzz_la-hb-ft.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-ft.cc' object='libharfbuzz_la-hb-ft.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libharfbuzz_la-hb-ft.lo `test -f 'hb-ft.cc' || echo '$(srcdir)/'`hb-ft.cc - -libharfbuzz_la-hb-graphite2.lo: hb-graphite2.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libharfbuzz_la-hb-graphite2.lo -MD -MP -MF $(DEPDIR)/libharfbuzz_la-hb-graphite2.Tpo -c -o libharfbuzz_la-hb-graphite2.lo `test -f 'hb-graphite2.cc' || echo '$(srcdir)/'`hb-graphite2.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libharfbuzz_la-hb-graphite2.Tpo $(DEPDIR)/libharfbuzz_la-hb-graphite2.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-graphite2.cc' object='libharfbuzz_la-hb-graphite2.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libharfbuzz_la-hb-graphite2.lo `test -f 'hb-graphite2.cc' || echo '$(srcdir)/'`hb-graphite2.cc - -libharfbuzz_la-hb-uniscribe.lo: hb-uniscribe.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libharfbuzz_la-hb-uniscribe.lo -MD -MP -MF $(DEPDIR)/libharfbuzz_la-hb-uniscribe.Tpo -c -o libharfbuzz_la-hb-uniscribe.lo `test -f 'hb-uniscribe.cc' || echo '$(srcdir)/'`hb-uniscribe.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libharfbuzz_la-hb-uniscribe.Tpo $(DEPDIR)/libharfbuzz_la-hb-uniscribe.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-uniscribe.cc' object='libharfbuzz_la-hb-uniscribe.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libharfbuzz_la-hb-uniscribe.lo `test -f 'hb-uniscribe.cc' || echo '$(srcdir)/'`hb-uniscribe.cc - -libharfbuzz_la-hb-directwrite.lo: hb-directwrite.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libharfbuzz_la-hb-directwrite.lo -MD -MP -MF $(DEPDIR)/libharfbuzz_la-hb-directwrite.Tpo -c -o libharfbuzz_la-hb-directwrite.lo `test -f 'hb-directwrite.cc' || echo '$(srcdir)/'`hb-directwrite.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libharfbuzz_la-hb-directwrite.Tpo $(DEPDIR)/libharfbuzz_la-hb-directwrite.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-directwrite.cc' object='libharfbuzz_la-hb-directwrite.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libharfbuzz_la-hb-directwrite.lo `test -f 'hb-directwrite.cc' || echo '$(srcdir)/'`hb-directwrite.cc - -libharfbuzz_la-hb-gdi.lo: hb-gdi.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libharfbuzz_la-hb-gdi.lo -MD -MP -MF $(DEPDIR)/libharfbuzz_la-hb-gdi.Tpo -c -o libharfbuzz_la-hb-gdi.lo `test -f 'hb-gdi.cc' || echo '$(srcdir)/'`hb-gdi.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libharfbuzz_la-hb-gdi.Tpo $(DEPDIR)/libharfbuzz_la-hb-gdi.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-gdi.cc' object='libharfbuzz_la-hb-gdi.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libharfbuzz_la-hb-gdi.lo `test -f 'hb-gdi.cc' || echo '$(srcdir)/'`hb-gdi.cc - -libharfbuzz_la-hb-coretext.lo: hb-coretext.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libharfbuzz_la-hb-coretext.lo -MD -MP -MF $(DEPDIR)/libharfbuzz_la-hb-coretext.Tpo -c -o libharfbuzz_la-hb-coretext.lo `test -f 'hb-coretext.cc' || echo '$(srcdir)/'`hb-coretext.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libharfbuzz_la-hb-coretext.Tpo $(DEPDIR)/libharfbuzz_la-hb-coretext.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-coretext.cc' object='libharfbuzz_la-hb-coretext.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libharfbuzz_la-hb-coretext.lo `test -f 'hb-coretext.cc' || echo '$(srcdir)/'`hb-coretext.cc - -libharfbuzz_la-hb-icu.lo: hb-icu.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libharfbuzz_la-hb-icu.lo -MD -MP -MF $(DEPDIR)/libharfbuzz_la-hb-icu.Tpo -c -o libharfbuzz_la-hb-icu.lo `test -f 'hb-icu.cc' || echo '$(srcdir)/'`hb-icu.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libharfbuzz_la-hb-icu.Tpo $(DEPDIR)/libharfbuzz_la-hb-icu.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-icu.cc' object='libharfbuzz_la-hb-icu.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libharfbuzz_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libharfbuzz_la-hb-icu.lo `test -f 'hb-icu.cc' || echo '$(srcdir)/'`hb-icu.cc - -main-main.o: main.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(main_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT main-main.o -MD -MP -MF $(DEPDIR)/main-main.Tpo -c -o main-main.o `test -f 'main.cc' || echo '$(srcdir)/'`main.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/main-main.Tpo $(DEPDIR)/main-main.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='main.cc' object='main-main.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(main_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o main-main.o `test -f 'main.cc' || echo '$(srcdir)/'`main.cc - -main-main.obj: main.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(main_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT main-main.obj -MD -MP -MF $(DEPDIR)/main-main.Tpo -c -o main-main.obj `if test -f 'main.cc'; then $(CYGPATH_W) 'main.cc'; else $(CYGPATH_W) '$(srcdir)/main.cc'; fi` -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/main-main.Tpo $(DEPDIR)/main-main.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='main.cc' object='main-main.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(main_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o main-main.obj `if test -f 'main.cc'; then $(CYGPATH_W) 'main.cc'; else $(CYGPATH_W) '$(srcdir)/main.cc'; fi` - -test-test.o: test.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test-test.o -MD -MP -MF $(DEPDIR)/test-test.Tpo -c -o test-test.o `test -f 'test.cc' || echo '$(srcdir)/'`test.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test-test.Tpo $(DEPDIR)/test-test.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='test.cc' object='test-test.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test-test.o `test -f 'test.cc' || echo '$(srcdir)/'`test.cc - -test-test.obj: test.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test-test.obj -MD -MP -MF $(DEPDIR)/test-test.Tpo -c -o test-test.obj `if test -f 'test.cc'; then $(CYGPATH_W) 'test.cc'; else $(CYGPATH_W) '$(srcdir)/test.cc'; fi` -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test-test.Tpo $(DEPDIR)/test-test.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='test.cc' object='test-test.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test-test.obj `if test -f 'test.cc'; then $(CYGPATH_W) 'test.cc'; else $(CYGPATH_W) '$(srcdir)/test.cc'; fi` - -test_algs-test-algs.o: test-algs.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_algs_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_algs-test-algs.o -MD -MP -MF $(DEPDIR)/test_algs-test-algs.Tpo -c -o test_algs-test-algs.o `test -f 'test-algs.cc' || echo '$(srcdir)/'`test-algs.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test_algs-test-algs.Tpo $(DEPDIR)/test_algs-test-algs.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='test-algs.cc' object='test_algs-test-algs.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_algs_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_algs-test-algs.o `test -f 'test-algs.cc' || echo '$(srcdir)/'`test-algs.cc - -test_algs-test-algs.obj: test-algs.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_algs_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_algs-test-algs.obj -MD -MP -MF $(DEPDIR)/test_algs-test-algs.Tpo -c -o test_algs-test-algs.obj `if test -f 'test-algs.cc'; then $(CYGPATH_W) 'test-algs.cc'; else $(CYGPATH_W) '$(srcdir)/test-algs.cc'; fi` -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test_algs-test-algs.Tpo $(DEPDIR)/test_algs-test-algs.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='test-algs.cc' object='test_algs-test-algs.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_algs_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_algs-test-algs.obj `if test -f 'test-algs.cc'; then $(CYGPATH_W) 'test-algs.cc'; else $(CYGPATH_W) '$(srcdir)/test-algs.cc'; fi` - -test_algs-hb-static.o: hb-static.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_algs_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_algs-hb-static.o -MD -MP -MF $(DEPDIR)/test_algs-hb-static.Tpo -c -o test_algs-hb-static.o `test -f 'hb-static.cc' || echo '$(srcdir)/'`hb-static.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test_algs-hb-static.Tpo $(DEPDIR)/test_algs-hb-static.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-static.cc' object='test_algs-hb-static.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_algs_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_algs-hb-static.o `test -f 'hb-static.cc' || echo '$(srcdir)/'`hb-static.cc - -test_algs-hb-static.obj: hb-static.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_algs_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_algs-hb-static.obj -MD -MP -MF $(DEPDIR)/test_algs-hb-static.Tpo -c -o test_algs-hb-static.obj `if test -f 'hb-static.cc'; then $(CYGPATH_W) 'hb-static.cc'; else $(CYGPATH_W) '$(srcdir)/hb-static.cc'; fi` -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test_algs-hb-static.Tpo $(DEPDIR)/test_algs-hb-static.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-static.cc' object='test_algs-hb-static.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_algs_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_algs-hb-static.obj `if test -f 'hb-static.cc'; then $(CYGPATH_W) 'hb-static.cc'; else $(CYGPATH_W) '$(srcdir)/hb-static.cc'; fi` - -test_array-test-array.o: test-array.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_array_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_array-test-array.o -MD -MP -MF $(DEPDIR)/test_array-test-array.Tpo -c -o test_array-test-array.o `test -f 'test-array.cc' || echo '$(srcdir)/'`test-array.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test_array-test-array.Tpo $(DEPDIR)/test_array-test-array.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='test-array.cc' object='test_array-test-array.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_array_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_array-test-array.o `test -f 'test-array.cc' || echo '$(srcdir)/'`test-array.cc - -test_array-test-array.obj: test-array.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_array_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_array-test-array.obj -MD -MP -MF $(DEPDIR)/test_array-test-array.Tpo -c -o test_array-test-array.obj `if test -f 'test-array.cc'; then $(CYGPATH_W) 'test-array.cc'; else $(CYGPATH_W) '$(srcdir)/test-array.cc'; fi` -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test_array-test-array.Tpo $(DEPDIR)/test_array-test-array.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='test-array.cc' object='test_array-test-array.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_array_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_array-test-array.obj `if test -f 'test-array.cc'; then $(CYGPATH_W) 'test-array.cc'; else $(CYGPATH_W) '$(srcdir)/test-array.cc'; fi` - -test_bimap-test-bimap.o: test-bimap.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_bimap_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_bimap-test-bimap.o -MD -MP -MF $(DEPDIR)/test_bimap-test-bimap.Tpo -c -o test_bimap-test-bimap.o `test -f 'test-bimap.cc' || echo '$(srcdir)/'`test-bimap.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test_bimap-test-bimap.Tpo $(DEPDIR)/test_bimap-test-bimap.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='test-bimap.cc' object='test_bimap-test-bimap.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_bimap_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_bimap-test-bimap.o `test -f 'test-bimap.cc' || echo '$(srcdir)/'`test-bimap.cc - -test_bimap-test-bimap.obj: test-bimap.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_bimap_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_bimap-test-bimap.obj -MD -MP -MF $(DEPDIR)/test_bimap-test-bimap.Tpo -c -o test_bimap-test-bimap.obj `if test -f 'test-bimap.cc'; then $(CYGPATH_W) 'test-bimap.cc'; else $(CYGPATH_W) '$(srcdir)/test-bimap.cc'; fi` -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test_bimap-test-bimap.Tpo $(DEPDIR)/test_bimap-test-bimap.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='test-bimap.cc' object='test_bimap-test-bimap.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_bimap_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_bimap-test-bimap.obj `if test -f 'test-bimap.cc'; then $(CYGPATH_W) 'test-bimap.cc'; else $(CYGPATH_W) '$(srcdir)/test-bimap.cc'; fi` - -test_bimap-hb-static.o: hb-static.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_bimap_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_bimap-hb-static.o -MD -MP -MF $(DEPDIR)/test_bimap-hb-static.Tpo -c -o test_bimap-hb-static.o `test -f 'hb-static.cc' || echo '$(srcdir)/'`hb-static.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test_bimap-hb-static.Tpo $(DEPDIR)/test_bimap-hb-static.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-static.cc' object='test_bimap-hb-static.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_bimap_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_bimap-hb-static.o `test -f 'hb-static.cc' || echo '$(srcdir)/'`hb-static.cc - -test_bimap-hb-static.obj: hb-static.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_bimap_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_bimap-hb-static.obj -MD -MP -MF $(DEPDIR)/test_bimap-hb-static.Tpo -c -o test_bimap-hb-static.obj `if test -f 'hb-static.cc'; then $(CYGPATH_W) 'hb-static.cc'; else $(CYGPATH_W) '$(srcdir)/hb-static.cc'; fi` -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test_bimap-hb-static.Tpo $(DEPDIR)/test_bimap-hb-static.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-static.cc' object='test_bimap-hb-static.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_bimap_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_bimap-hb-static.obj `if test -f 'hb-static.cc'; then $(CYGPATH_W) 'hb-static.cc'; else $(CYGPATH_W) '$(srcdir)/hb-static.cc'; fi` - -test_buffer_serialize-test-buffer-serialize.o: test-buffer-serialize.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_buffer_serialize_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_buffer_serialize-test-buffer-serialize.o -MD -MP -MF $(DEPDIR)/test_buffer_serialize-test-buffer-serialize.Tpo -c -o test_buffer_serialize-test-buffer-serialize.o `test -f 'test-buffer-serialize.cc' || echo '$(srcdir)/'`test-buffer-serialize.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test_buffer_serialize-test-buffer-serialize.Tpo $(DEPDIR)/test_buffer_serialize-test-buffer-serialize.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='test-buffer-serialize.cc' object='test_buffer_serialize-test-buffer-serialize.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_buffer_serialize_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_buffer_serialize-test-buffer-serialize.o `test -f 'test-buffer-serialize.cc' || echo '$(srcdir)/'`test-buffer-serialize.cc - -test_buffer_serialize-test-buffer-serialize.obj: test-buffer-serialize.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_buffer_serialize_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_buffer_serialize-test-buffer-serialize.obj -MD -MP -MF $(DEPDIR)/test_buffer_serialize-test-buffer-serialize.Tpo -c -o test_buffer_serialize-test-buffer-serialize.obj `if test -f 'test-buffer-serialize.cc'; then $(CYGPATH_W) 'test-buffer-serialize.cc'; else $(CYGPATH_W) '$(srcdir)/test-buffer-serialize.cc'; fi` -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test_buffer_serialize-test-buffer-serialize.Tpo $(DEPDIR)/test_buffer_serialize-test-buffer-serialize.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='test-buffer-serialize.cc' object='test_buffer_serialize-test-buffer-serialize.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_buffer_serialize_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_buffer_serialize-test-buffer-serialize.obj `if test -f 'test-buffer-serialize.cc'; then $(CYGPATH_W) 'test-buffer-serialize.cc'; else $(CYGPATH_W) '$(srcdir)/test-buffer-serialize.cc'; fi` - -test_gpos_size_params-test-gpos-size-params.o: test-gpos-size-params.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_gpos_size_params_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_gpos_size_params-test-gpos-size-params.o -MD -MP -MF $(DEPDIR)/test_gpos_size_params-test-gpos-size-params.Tpo -c -o test_gpos_size_params-test-gpos-size-params.o `test -f 'test-gpos-size-params.cc' || echo '$(srcdir)/'`test-gpos-size-params.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test_gpos_size_params-test-gpos-size-params.Tpo $(DEPDIR)/test_gpos_size_params-test-gpos-size-params.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='test-gpos-size-params.cc' object='test_gpos_size_params-test-gpos-size-params.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_gpos_size_params_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_gpos_size_params-test-gpos-size-params.o `test -f 'test-gpos-size-params.cc' || echo '$(srcdir)/'`test-gpos-size-params.cc - -test_gpos_size_params-test-gpos-size-params.obj: test-gpos-size-params.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_gpos_size_params_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_gpos_size_params-test-gpos-size-params.obj -MD -MP -MF $(DEPDIR)/test_gpos_size_params-test-gpos-size-params.Tpo -c -o test_gpos_size_params-test-gpos-size-params.obj `if test -f 'test-gpos-size-params.cc'; then $(CYGPATH_W) 'test-gpos-size-params.cc'; else $(CYGPATH_W) '$(srcdir)/test-gpos-size-params.cc'; fi` -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test_gpos_size_params-test-gpos-size-params.Tpo $(DEPDIR)/test_gpos_size_params-test-gpos-size-params.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='test-gpos-size-params.cc' object='test_gpos_size_params-test-gpos-size-params.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_gpos_size_params_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_gpos_size_params-test-gpos-size-params.obj `if test -f 'test-gpos-size-params.cc'; then $(CYGPATH_W) 'test-gpos-size-params.cc'; else $(CYGPATH_W) '$(srcdir)/test-gpos-size-params.cc'; fi` - -test_gsub_would_substitute-test-gsub-would-substitute.o: test-gsub-would-substitute.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_gsub_would_substitute_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_gsub_would_substitute-test-gsub-would-substitute.o -MD -MP -MF $(DEPDIR)/test_gsub_would_substitute-test-gsub-would-substitute.Tpo -c -o test_gsub_would_substitute-test-gsub-would-substitute.o `test -f 'test-gsub-would-substitute.cc' || echo '$(srcdir)/'`test-gsub-would-substitute.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test_gsub_would_substitute-test-gsub-would-substitute.Tpo $(DEPDIR)/test_gsub_would_substitute-test-gsub-would-substitute.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='test-gsub-would-substitute.cc' object='test_gsub_would_substitute-test-gsub-would-substitute.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_gsub_would_substitute_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_gsub_would_substitute-test-gsub-would-substitute.o `test -f 'test-gsub-would-substitute.cc' || echo '$(srcdir)/'`test-gsub-would-substitute.cc - -test_gsub_would_substitute-test-gsub-would-substitute.obj: test-gsub-would-substitute.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_gsub_would_substitute_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_gsub_would_substitute-test-gsub-would-substitute.obj -MD -MP -MF $(DEPDIR)/test_gsub_would_substitute-test-gsub-would-substitute.Tpo -c -o test_gsub_would_substitute-test-gsub-would-substitute.obj `if test -f 'test-gsub-would-substitute.cc'; then $(CYGPATH_W) 'test-gsub-would-substitute.cc'; else $(CYGPATH_W) '$(srcdir)/test-gsub-would-substitute.cc'; fi` -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test_gsub_would_substitute-test-gsub-would-substitute.Tpo $(DEPDIR)/test_gsub_would_substitute-test-gsub-would-substitute.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='test-gsub-would-substitute.cc' object='test_gsub_would_substitute-test-gsub-would-substitute.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_gsub_would_substitute_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_gsub_would_substitute-test-gsub-would-substitute.obj `if test -f 'test-gsub-would-substitute.cc'; then $(CYGPATH_W) 'test-gsub-would-substitute.cc'; else $(CYGPATH_W) '$(srcdir)/test-gsub-would-substitute.cc'; fi` - -test_iter-test-iter.o: test-iter.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_iter_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_iter-test-iter.o -MD -MP -MF $(DEPDIR)/test_iter-test-iter.Tpo -c -o test_iter-test-iter.o `test -f 'test-iter.cc' || echo '$(srcdir)/'`test-iter.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test_iter-test-iter.Tpo $(DEPDIR)/test_iter-test-iter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='test-iter.cc' object='test_iter-test-iter.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_iter_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_iter-test-iter.o `test -f 'test-iter.cc' || echo '$(srcdir)/'`test-iter.cc - -test_iter-test-iter.obj: test-iter.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_iter_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_iter-test-iter.obj -MD -MP -MF $(DEPDIR)/test_iter-test-iter.Tpo -c -o test_iter-test-iter.obj `if test -f 'test-iter.cc'; then $(CYGPATH_W) 'test-iter.cc'; else $(CYGPATH_W) '$(srcdir)/test-iter.cc'; fi` -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test_iter-test-iter.Tpo $(DEPDIR)/test_iter-test-iter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='test-iter.cc' object='test_iter-test-iter.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_iter_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_iter-test-iter.obj `if test -f 'test-iter.cc'; then $(CYGPATH_W) 'test-iter.cc'; else $(CYGPATH_W) '$(srcdir)/test-iter.cc'; fi` - -test_iter-hb-static.o: hb-static.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_iter_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_iter-hb-static.o -MD -MP -MF $(DEPDIR)/test_iter-hb-static.Tpo -c -o test_iter-hb-static.o `test -f 'hb-static.cc' || echo '$(srcdir)/'`hb-static.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test_iter-hb-static.Tpo $(DEPDIR)/test_iter-hb-static.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-static.cc' object='test_iter-hb-static.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_iter_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_iter-hb-static.o `test -f 'hb-static.cc' || echo '$(srcdir)/'`hb-static.cc - -test_iter-hb-static.obj: hb-static.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_iter_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_iter-hb-static.obj -MD -MP -MF $(DEPDIR)/test_iter-hb-static.Tpo -c -o test_iter-hb-static.obj `if test -f 'hb-static.cc'; then $(CYGPATH_W) 'hb-static.cc'; else $(CYGPATH_W) '$(srcdir)/hb-static.cc'; fi` -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test_iter-hb-static.Tpo $(DEPDIR)/test_iter-hb-static.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-static.cc' object='test_iter-hb-static.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_iter_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_iter-hb-static.obj `if test -f 'hb-static.cc'; then $(CYGPATH_W) 'hb-static.cc'; else $(CYGPATH_W) '$(srcdir)/hb-static.cc'; fi` - -test_map-test-map.o: test-map.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_map_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_map-test-map.o -MD -MP -MF $(DEPDIR)/test_map-test-map.Tpo -c -o test_map-test-map.o `test -f 'test-map.cc' || echo '$(srcdir)/'`test-map.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test_map-test-map.Tpo $(DEPDIR)/test_map-test-map.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='test-map.cc' object='test_map-test-map.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_map_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_map-test-map.o `test -f 'test-map.cc' || echo '$(srcdir)/'`test-map.cc - -test_map-test-map.obj: test-map.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_map_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_map-test-map.obj -MD -MP -MF $(DEPDIR)/test_map-test-map.Tpo -c -o test_map-test-map.obj `if test -f 'test-map.cc'; then $(CYGPATH_W) 'test-map.cc'; else $(CYGPATH_W) '$(srcdir)/test-map.cc'; fi` -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test_map-test-map.Tpo $(DEPDIR)/test_map-test-map.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='test-map.cc' object='test_map-test-map.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_map_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_map-test-map.obj `if test -f 'test-map.cc'; then $(CYGPATH_W) 'test-map.cc'; else $(CYGPATH_W) '$(srcdir)/test-map.cc'; fi` - -test_map-hb-static.o: hb-static.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_map_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_map-hb-static.o -MD -MP -MF $(DEPDIR)/test_map-hb-static.Tpo -c -o test_map-hb-static.o `test -f 'hb-static.cc' || echo '$(srcdir)/'`hb-static.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test_map-hb-static.Tpo $(DEPDIR)/test_map-hb-static.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-static.cc' object='test_map-hb-static.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_map_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_map-hb-static.o `test -f 'hb-static.cc' || echo '$(srcdir)/'`hb-static.cc - -test_map-hb-static.obj: hb-static.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_map_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_map-hb-static.obj -MD -MP -MF $(DEPDIR)/test_map-hb-static.Tpo -c -o test_map-hb-static.obj `if test -f 'hb-static.cc'; then $(CYGPATH_W) 'hb-static.cc'; else $(CYGPATH_W) '$(srcdir)/hb-static.cc'; fi` -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test_map-hb-static.Tpo $(DEPDIR)/test_map-hb-static.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-static.cc' object='test_map-hb-static.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_map_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_map-hb-static.obj `if test -f 'hb-static.cc'; then $(CYGPATH_W) 'hb-static.cc'; else $(CYGPATH_W) '$(srcdir)/hb-static.cc'; fi` - -test_number-test-number.o: test-number.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_number_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_number-test-number.o -MD -MP -MF $(DEPDIR)/test_number-test-number.Tpo -c -o test_number-test-number.o `test -f 'test-number.cc' || echo '$(srcdir)/'`test-number.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test_number-test-number.Tpo $(DEPDIR)/test_number-test-number.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='test-number.cc' object='test_number-test-number.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_number_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_number-test-number.o `test -f 'test-number.cc' || echo '$(srcdir)/'`test-number.cc - -test_number-test-number.obj: test-number.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_number_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_number-test-number.obj -MD -MP -MF $(DEPDIR)/test_number-test-number.Tpo -c -o test_number-test-number.obj `if test -f 'test-number.cc'; then $(CYGPATH_W) 'test-number.cc'; else $(CYGPATH_W) '$(srcdir)/test-number.cc'; fi` -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test_number-test-number.Tpo $(DEPDIR)/test_number-test-number.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='test-number.cc' object='test_number-test-number.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_number_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_number-test-number.obj `if test -f 'test-number.cc'; then $(CYGPATH_W) 'test-number.cc'; else $(CYGPATH_W) '$(srcdir)/test-number.cc'; fi` - -test_number-hb-number.o: hb-number.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_number_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_number-hb-number.o -MD -MP -MF $(DEPDIR)/test_number-hb-number.Tpo -c -o test_number-hb-number.o `test -f 'hb-number.cc' || echo '$(srcdir)/'`hb-number.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test_number-hb-number.Tpo $(DEPDIR)/test_number-hb-number.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-number.cc' object='test_number-hb-number.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_number_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_number-hb-number.o `test -f 'hb-number.cc' || echo '$(srcdir)/'`hb-number.cc - -test_number-hb-number.obj: hb-number.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_number_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_number-hb-number.obj -MD -MP -MF $(DEPDIR)/test_number-hb-number.Tpo -c -o test_number-hb-number.obj `if test -f 'hb-number.cc'; then $(CYGPATH_W) 'hb-number.cc'; else $(CYGPATH_W) '$(srcdir)/hb-number.cc'; fi` -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test_number-hb-number.Tpo $(DEPDIR)/test_number-hb-number.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-number.cc' object='test_number-hb-number.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_number_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_number-hb-number.obj `if test -f 'hb-number.cc'; then $(CYGPATH_W) 'hb-number.cc'; else $(CYGPATH_W) '$(srcdir)/hb-number.cc'; fi` - -test_ot_glyphname-test-ot-glyphname.o: test-ot-glyphname.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_ot_glyphname_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_ot_glyphname-test-ot-glyphname.o -MD -MP -MF $(DEPDIR)/test_ot_glyphname-test-ot-glyphname.Tpo -c -o test_ot_glyphname-test-ot-glyphname.o `test -f 'test-ot-glyphname.cc' || echo '$(srcdir)/'`test-ot-glyphname.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test_ot_glyphname-test-ot-glyphname.Tpo $(DEPDIR)/test_ot_glyphname-test-ot-glyphname.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='test-ot-glyphname.cc' object='test_ot_glyphname-test-ot-glyphname.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_ot_glyphname_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_ot_glyphname-test-ot-glyphname.o `test -f 'test-ot-glyphname.cc' || echo '$(srcdir)/'`test-ot-glyphname.cc - -test_ot_glyphname-test-ot-glyphname.obj: test-ot-glyphname.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_ot_glyphname_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_ot_glyphname-test-ot-glyphname.obj -MD -MP -MF $(DEPDIR)/test_ot_glyphname-test-ot-glyphname.Tpo -c -o test_ot_glyphname-test-ot-glyphname.obj `if test -f 'test-ot-glyphname.cc'; then $(CYGPATH_W) 'test-ot-glyphname.cc'; else $(CYGPATH_W) '$(srcdir)/test-ot-glyphname.cc'; fi` -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test_ot_glyphname-test-ot-glyphname.Tpo $(DEPDIR)/test_ot_glyphname-test-ot-glyphname.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='test-ot-glyphname.cc' object='test_ot_glyphname-test-ot-glyphname.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_ot_glyphname_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_ot_glyphname-test-ot-glyphname.obj `if test -f 'test-ot-glyphname.cc'; then $(CYGPATH_W) 'test-ot-glyphname.cc'; else $(CYGPATH_W) '$(srcdir)/test-ot-glyphname.cc'; fi` - -test_ot_meta-test-ot-meta.o: test-ot-meta.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_ot_meta_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_ot_meta-test-ot-meta.o -MD -MP -MF $(DEPDIR)/test_ot_meta-test-ot-meta.Tpo -c -o test_ot_meta-test-ot-meta.o `test -f 'test-ot-meta.cc' || echo '$(srcdir)/'`test-ot-meta.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test_ot_meta-test-ot-meta.Tpo $(DEPDIR)/test_ot_meta-test-ot-meta.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='test-ot-meta.cc' object='test_ot_meta-test-ot-meta.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_ot_meta_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_ot_meta-test-ot-meta.o `test -f 'test-ot-meta.cc' || echo '$(srcdir)/'`test-ot-meta.cc - -test_ot_meta-test-ot-meta.obj: test-ot-meta.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_ot_meta_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_ot_meta-test-ot-meta.obj -MD -MP -MF $(DEPDIR)/test_ot_meta-test-ot-meta.Tpo -c -o test_ot_meta-test-ot-meta.obj `if test -f 'test-ot-meta.cc'; then $(CYGPATH_W) 'test-ot-meta.cc'; else $(CYGPATH_W) '$(srcdir)/test-ot-meta.cc'; fi` -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test_ot_meta-test-ot-meta.Tpo $(DEPDIR)/test_ot_meta-test-ot-meta.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='test-ot-meta.cc' object='test_ot_meta-test-ot-meta.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_ot_meta_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_ot_meta-test-ot-meta.obj `if test -f 'test-ot-meta.cc'; then $(CYGPATH_W) 'test-ot-meta.cc'; else $(CYGPATH_W) '$(srcdir)/test-ot-meta.cc'; fi` - -test_ot_name-test-ot-name.o: test-ot-name.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_ot_name_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_ot_name-test-ot-name.o -MD -MP -MF $(DEPDIR)/test_ot_name-test-ot-name.Tpo -c -o test_ot_name-test-ot-name.o `test -f 'test-ot-name.cc' || echo '$(srcdir)/'`test-ot-name.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test_ot_name-test-ot-name.Tpo $(DEPDIR)/test_ot_name-test-ot-name.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='test-ot-name.cc' object='test_ot_name-test-ot-name.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_ot_name_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_ot_name-test-ot-name.o `test -f 'test-ot-name.cc' || echo '$(srcdir)/'`test-ot-name.cc - -test_ot_name-test-ot-name.obj: test-ot-name.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_ot_name_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_ot_name-test-ot-name.obj -MD -MP -MF $(DEPDIR)/test_ot_name-test-ot-name.Tpo -c -o test_ot_name-test-ot-name.obj `if test -f 'test-ot-name.cc'; then $(CYGPATH_W) 'test-ot-name.cc'; else $(CYGPATH_W) '$(srcdir)/test-ot-name.cc'; fi` -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test_ot_name-test-ot-name.Tpo $(DEPDIR)/test_ot_name-test-ot-name.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='test-ot-name.cc' object='test_ot_name-test-ot-name.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_ot_name_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_ot_name-test-ot-name.obj `if test -f 'test-ot-name.cc'; then $(CYGPATH_W) 'test-ot-name.cc'; else $(CYGPATH_W) '$(srcdir)/test-ot-name.cc'; fi` - -test_ot_tag-hb-ot-tag.o: hb-ot-tag.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_ot_tag_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_ot_tag-hb-ot-tag.o -MD -MP -MF $(DEPDIR)/test_ot_tag-hb-ot-tag.Tpo -c -o test_ot_tag-hb-ot-tag.o `test -f 'hb-ot-tag.cc' || echo '$(srcdir)/'`hb-ot-tag.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test_ot_tag-hb-ot-tag.Tpo $(DEPDIR)/test_ot_tag-hb-ot-tag.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-ot-tag.cc' object='test_ot_tag-hb-ot-tag.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_ot_tag_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_ot_tag-hb-ot-tag.o `test -f 'hb-ot-tag.cc' || echo '$(srcdir)/'`hb-ot-tag.cc - -test_ot_tag-hb-ot-tag.obj: hb-ot-tag.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_ot_tag_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_ot_tag-hb-ot-tag.obj -MD -MP -MF $(DEPDIR)/test_ot_tag-hb-ot-tag.Tpo -c -o test_ot_tag-hb-ot-tag.obj `if test -f 'hb-ot-tag.cc'; then $(CYGPATH_W) 'hb-ot-tag.cc'; else $(CYGPATH_W) '$(srcdir)/hb-ot-tag.cc'; fi` -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test_ot_tag-hb-ot-tag.Tpo $(DEPDIR)/test_ot_tag-hb-ot-tag.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-ot-tag.cc' object='test_ot_tag-hb-ot-tag.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_ot_tag_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_ot_tag-hb-ot-tag.obj `if test -f 'hb-ot-tag.cc'; then $(CYGPATH_W) 'hb-ot-tag.cc'; else $(CYGPATH_W) '$(srcdir)/hb-ot-tag.cc'; fi` - -test_priority_queue-test-priority-queue.o: test-priority-queue.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_priority_queue_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_priority_queue-test-priority-queue.o -MD -MP -MF $(DEPDIR)/test_priority_queue-test-priority-queue.Tpo -c -o test_priority_queue-test-priority-queue.o `test -f 'test-priority-queue.cc' || echo '$(srcdir)/'`test-priority-queue.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test_priority_queue-test-priority-queue.Tpo $(DEPDIR)/test_priority_queue-test-priority-queue.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='test-priority-queue.cc' object='test_priority_queue-test-priority-queue.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_priority_queue_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_priority_queue-test-priority-queue.o `test -f 'test-priority-queue.cc' || echo '$(srcdir)/'`test-priority-queue.cc - -test_priority_queue-test-priority-queue.obj: test-priority-queue.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_priority_queue_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_priority_queue-test-priority-queue.obj -MD -MP -MF $(DEPDIR)/test_priority_queue-test-priority-queue.Tpo -c -o test_priority_queue-test-priority-queue.obj `if test -f 'test-priority-queue.cc'; then $(CYGPATH_W) 'test-priority-queue.cc'; else $(CYGPATH_W) '$(srcdir)/test-priority-queue.cc'; fi` -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test_priority_queue-test-priority-queue.Tpo $(DEPDIR)/test_priority_queue-test-priority-queue.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='test-priority-queue.cc' object='test_priority_queue-test-priority-queue.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_priority_queue_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_priority_queue-test-priority-queue.obj `if test -f 'test-priority-queue.cc'; then $(CYGPATH_W) 'test-priority-queue.cc'; else $(CYGPATH_W) '$(srcdir)/test-priority-queue.cc'; fi` - -test_priority_queue-hb-static.o: hb-static.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_priority_queue_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_priority_queue-hb-static.o -MD -MP -MF $(DEPDIR)/test_priority_queue-hb-static.Tpo -c -o test_priority_queue-hb-static.o `test -f 'hb-static.cc' || echo '$(srcdir)/'`hb-static.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test_priority_queue-hb-static.Tpo $(DEPDIR)/test_priority_queue-hb-static.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-static.cc' object='test_priority_queue-hb-static.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_priority_queue_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_priority_queue-hb-static.o `test -f 'hb-static.cc' || echo '$(srcdir)/'`hb-static.cc - -test_priority_queue-hb-static.obj: hb-static.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_priority_queue_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_priority_queue-hb-static.obj -MD -MP -MF $(DEPDIR)/test_priority_queue-hb-static.Tpo -c -o test_priority_queue-hb-static.obj `if test -f 'hb-static.cc'; then $(CYGPATH_W) 'hb-static.cc'; else $(CYGPATH_W) '$(srcdir)/hb-static.cc'; fi` -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test_priority_queue-hb-static.Tpo $(DEPDIR)/test_priority_queue-hb-static.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-static.cc' object='test_priority_queue-hb-static.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_priority_queue_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_priority_queue-hb-static.obj `if test -f 'hb-static.cc'; then $(CYGPATH_W) 'hb-static.cc'; else $(CYGPATH_W) '$(srcdir)/hb-static.cc'; fi` - -test_repacker-test-repacker.o: test-repacker.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_repacker_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_repacker-test-repacker.o -MD -MP -MF $(DEPDIR)/test_repacker-test-repacker.Tpo -c -o test_repacker-test-repacker.o `test -f 'test-repacker.cc' || echo '$(srcdir)/'`test-repacker.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test_repacker-test-repacker.Tpo $(DEPDIR)/test_repacker-test-repacker.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='test-repacker.cc' object='test_repacker-test-repacker.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_repacker_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_repacker-test-repacker.o `test -f 'test-repacker.cc' || echo '$(srcdir)/'`test-repacker.cc - -test_repacker-test-repacker.obj: test-repacker.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_repacker_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_repacker-test-repacker.obj -MD -MP -MF $(DEPDIR)/test_repacker-test-repacker.Tpo -c -o test_repacker-test-repacker.obj `if test -f 'test-repacker.cc'; then $(CYGPATH_W) 'test-repacker.cc'; else $(CYGPATH_W) '$(srcdir)/test-repacker.cc'; fi` -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test_repacker-test-repacker.Tpo $(DEPDIR)/test_repacker-test-repacker.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='test-repacker.cc' object='test_repacker-test-repacker.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_repacker_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_repacker-test-repacker.obj `if test -f 'test-repacker.cc'; then $(CYGPATH_W) 'test-repacker.cc'; else $(CYGPATH_W) '$(srcdir)/test-repacker.cc'; fi` - -test_repacker-hb-static.o: hb-static.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_repacker_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_repacker-hb-static.o -MD -MP -MF $(DEPDIR)/test_repacker-hb-static.Tpo -c -o test_repacker-hb-static.o `test -f 'hb-static.cc' || echo '$(srcdir)/'`hb-static.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test_repacker-hb-static.Tpo $(DEPDIR)/test_repacker-hb-static.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-static.cc' object='test_repacker-hb-static.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_repacker_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_repacker-hb-static.o `test -f 'hb-static.cc' || echo '$(srcdir)/'`hb-static.cc - -test_repacker-hb-static.obj: hb-static.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_repacker_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_repacker-hb-static.obj -MD -MP -MF $(DEPDIR)/test_repacker-hb-static.Tpo -c -o test_repacker-hb-static.obj `if test -f 'hb-static.cc'; then $(CYGPATH_W) 'hb-static.cc'; else $(CYGPATH_W) '$(srcdir)/hb-static.cc'; fi` -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test_repacker-hb-static.Tpo $(DEPDIR)/test_repacker-hb-static.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-static.cc' object='test_repacker-hb-static.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_repacker_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_repacker-hb-static.obj `if test -f 'hb-static.cc'; then $(CYGPATH_W) 'hb-static.cc'; else $(CYGPATH_W) '$(srcdir)/hb-static.cc'; fi` - -test_set-test-set.o: test-set.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_set_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_set-test-set.o -MD -MP -MF $(DEPDIR)/test_set-test-set.Tpo -c -o test_set-test-set.o `test -f 'test-set.cc' || echo '$(srcdir)/'`test-set.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test_set-test-set.Tpo $(DEPDIR)/test_set-test-set.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='test-set.cc' object='test_set-test-set.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_set_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_set-test-set.o `test -f 'test-set.cc' || echo '$(srcdir)/'`test-set.cc - -test_set-test-set.obj: test-set.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_set_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_set-test-set.obj -MD -MP -MF $(DEPDIR)/test_set-test-set.Tpo -c -o test_set-test-set.obj `if test -f 'test-set.cc'; then $(CYGPATH_W) 'test-set.cc'; else $(CYGPATH_W) '$(srcdir)/test-set.cc'; fi` -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test_set-test-set.Tpo $(DEPDIR)/test_set-test-set.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='test-set.cc' object='test_set-test-set.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_set_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_set-test-set.obj `if test -f 'test-set.cc'; then $(CYGPATH_W) 'test-set.cc'; else $(CYGPATH_W) '$(srcdir)/test-set.cc'; fi` - -test_set-hb-static.o: hb-static.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_set_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_set-hb-static.o -MD -MP -MF $(DEPDIR)/test_set-hb-static.Tpo -c -o test_set-hb-static.o `test -f 'hb-static.cc' || echo '$(srcdir)/'`hb-static.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test_set-hb-static.Tpo $(DEPDIR)/test_set-hb-static.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-static.cc' object='test_set-hb-static.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_set_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_set-hb-static.o `test -f 'hb-static.cc' || echo '$(srcdir)/'`hb-static.cc - -test_set-hb-static.obj: hb-static.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_set_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_set-hb-static.obj -MD -MP -MF $(DEPDIR)/test_set-hb-static.Tpo -c -o test_set-hb-static.obj `if test -f 'hb-static.cc'; then $(CYGPATH_W) 'hb-static.cc'; else $(CYGPATH_W) '$(srcdir)/hb-static.cc'; fi` -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test_set-hb-static.Tpo $(DEPDIR)/test_set-hb-static.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-static.cc' object='test_set-hb-static.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_set_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_set-hb-static.obj `if test -f 'hb-static.cc'; then $(CYGPATH_W) 'hb-static.cc'; else $(CYGPATH_W) '$(srcdir)/hb-static.cc'; fi` - -test_unicode_ranges-test-unicode-ranges.o: test-unicode-ranges.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_unicode_ranges_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_unicode_ranges-test-unicode-ranges.o -MD -MP -MF $(DEPDIR)/test_unicode_ranges-test-unicode-ranges.Tpo -c -o test_unicode_ranges-test-unicode-ranges.o `test -f 'test-unicode-ranges.cc' || echo '$(srcdir)/'`test-unicode-ranges.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test_unicode_ranges-test-unicode-ranges.Tpo $(DEPDIR)/test_unicode_ranges-test-unicode-ranges.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='test-unicode-ranges.cc' object='test_unicode_ranges-test-unicode-ranges.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_unicode_ranges_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_unicode_ranges-test-unicode-ranges.o `test -f 'test-unicode-ranges.cc' || echo '$(srcdir)/'`test-unicode-ranges.cc - -test_unicode_ranges-test-unicode-ranges.obj: test-unicode-ranges.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_unicode_ranges_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_unicode_ranges-test-unicode-ranges.obj -MD -MP -MF $(DEPDIR)/test_unicode_ranges-test-unicode-ranges.Tpo -c -o test_unicode_ranges-test-unicode-ranges.obj `if test -f 'test-unicode-ranges.cc'; then $(CYGPATH_W) 'test-unicode-ranges.cc'; else $(CYGPATH_W) '$(srcdir)/test-unicode-ranges.cc'; fi` -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test_unicode_ranges-test-unicode-ranges.Tpo $(DEPDIR)/test_unicode_ranges-test-unicode-ranges.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='test-unicode-ranges.cc' object='test_unicode_ranges-test-unicode-ranges.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_unicode_ranges_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_unicode_ranges-test-unicode-ranges.obj `if test -f 'test-unicode-ranges.cc'; then $(CYGPATH_W) 'test-unicode-ranges.cc'; else $(CYGPATH_W) '$(srcdir)/test-unicode-ranges.cc'; fi` - -test_vector-test-vector.o: test-vector.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_vector_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_vector-test-vector.o -MD -MP -MF $(DEPDIR)/test_vector-test-vector.Tpo -c -o test_vector-test-vector.o `test -f 'test-vector.cc' || echo '$(srcdir)/'`test-vector.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test_vector-test-vector.Tpo $(DEPDIR)/test_vector-test-vector.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='test-vector.cc' object='test_vector-test-vector.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_vector_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_vector-test-vector.o `test -f 'test-vector.cc' || echo '$(srcdir)/'`test-vector.cc - -test_vector-test-vector.obj: test-vector.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_vector_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_vector-test-vector.obj -MD -MP -MF $(DEPDIR)/test_vector-test-vector.Tpo -c -o test_vector-test-vector.obj `if test -f 'test-vector.cc'; then $(CYGPATH_W) 'test-vector.cc'; else $(CYGPATH_W) '$(srcdir)/test-vector.cc'; fi` -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test_vector-test-vector.Tpo $(DEPDIR)/test_vector-test-vector.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='test-vector.cc' object='test_vector-test-vector.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_vector_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_vector-test-vector.obj `if test -f 'test-vector.cc'; then $(CYGPATH_W) 'test-vector.cc'; else $(CYGPATH_W) '$(srcdir)/test-vector.cc'; fi` - -test_vector-hb-static.o: hb-static.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_vector_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_vector-hb-static.o -MD -MP -MF $(DEPDIR)/test_vector-hb-static.Tpo -c -o test_vector-hb-static.o `test -f 'hb-static.cc' || echo '$(srcdir)/'`hb-static.cc -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test_vector-hb-static.Tpo $(DEPDIR)/test_vector-hb-static.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-static.cc' object='test_vector-hb-static.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_vector_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_vector-hb-static.o `test -f 'hb-static.cc' || echo '$(srcdir)/'`hb-static.cc - -test_vector-hb-static.obj: hb-static.cc -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_vector_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_vector-hb-static.obj -MD -MP -MF $(DEPDIR)/test_vector-hb-static.Tpo -c -o test_vector-hb-static.obj `if test -f 'hb-static.cc'; then $(CYGPATH_W) 'hb-static.cc'; else $(CYGPATH_W) '$(srcdir)/hb-static.cc'; fi` -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test_vector-hb-static.Tpo $(DEPDIR)/test_vector-hb-static.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hb-static.cc' object='test_vector-hb-static.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_vector_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_vector-hb-static.obj `if test -f 'hb-static.cc'; then $(CYGPATH_W) 'hb-static.cc'; else $(CYGPATH_W) '$(srcdir)/hb-static.cc'; fi` - -mostlyclean-libtool: - -rm -f *.lo - -clean-libtool: - -rm -rf .libs _libs -install-cmakeDATA: $(cmake_DATA) - @$(NORMAL_INSTALL) - @list='$(cmake_DATA)'; test -n "$(cmakedir)" || list=; \ - if test -n "$$list"; then \ - echo " $(MKDIR_P) '$(DESTDIR)$(cmakedir)'"; \ - $(MKDIR_P) "$(DESTDIR)$(cmakedir)" || exit 1; \ - fi; \ - for p in $$list; do \ - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ - echo "$$d$$p"; \ - done | $(am__base_list) | \ - while read files; do \ - echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(cmakedir)'"; \ - $(INSTALL_DATA) $$files "$(DESTDIR)$(cmakedir)" || exit $$?; \ - done - -uninstall-cmakeDATA: - @$(NORMAL_UNINSTALL) - @list='$(cmake_DATA)'; test -n "$(cmakedir)" || list=; \ - files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ - dir='$(DESTDIR)$(cmakedir)'; $(am__uninstall_files_from_dir) -install-girDATA: $(gir_DATA) - @$(NORMAL_INSTALL) - @list='$(gir_DATA)'; test -n "$(girdir)" || list=; \ - if test -n "$$list"; then \ - echo " $(MKDIR_P) '$(DESTDIR)$(girdir)'"; \ - $(MKDIR_P) "$(DESTDIR)$(girdir)" || exit 1; \ - fi; \ - for p in $$list; do \ - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ - echo "$$d$$p"; \ - done | $(am__base_list) | \ - while read files; do \ - echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(girdir)'"; \ - $(INSTALL_DATA) $$files "$(DESTDIR)$(girdir)" || exit $$?; \ - done - -uninstall-girDATA: - @$(NORMAL_UNINSTALL) - @list='$(gir_DATA)'; test -n "$(girdir)" || list=; \ - files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ - dir='$(DESTDIR)$(girdir)'; $(am__uninstall_files_from_dir) -install-pkgconfigDATA: $(pkgconfig_DATA) - @$(NORMAL_INSTALL) - @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \ - if test -n "$$list"; then \ - echo " $(MKDIR_P) '$(DESTDIR)$(pkgconfigdir)'"; \ - $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" || exit 1; \ - fi; \ - for p in $$list; do \ - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ - echo "$$d$$p"; \ - done | $(am__base_list) | \ - while read files; do \ - echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \ - $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \ - done - -uninstall-pkgconfigDATA: - @$(NORMAL_UNINSTALL) - @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \ - files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ - dir='$(DESTDIR)$(pkgconfigdir)'; $(am__uninstall_files_from_dir) -install-typelibDATA: $(typelib_DATA) - @$(NORMAL_INSTALL) - @list='$(typelib_DATA)'; test -n "$(typelibdir)" || list=; \ - if test -n "$$list"; then \ - echo " $(MKDIR_P) '$(DESTDIR)$(typelibdir)'"; \ - $(MKDIR_P) "$(DESTDIR)$(typelibdir)" || exit 1; \ - fi; \ - for p in $$list; do \ - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ - echo "$$d$$p"; \ - done | $(am__base_list) | \ - while read files; do \ - echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(typelibdir)'"; \ - $(INSTALL_DATA) $$files "$(DESTDIR)$(typelibdir)" || exit $$?; \ - done - -uninstall-typelibDATA: - @$(NORMAL_UNINSTALL) - @list='$(typelib_DATA)'; test -n "$(typelibdir)" || list=; \ - files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ - dir='$(DESTDIR)$(typelibdir)'; $(am__uninstall_files_from_dir) -install-nodist_pkgincludeHEADERS: $(nodist_pkginclude_HEADERS) - @$(NORMAL_INSTALL) - @list='$(nodist_pkginclude_HEADERS)'; test -n "$(pkgincludedir)" || list=; \ - if test -n "$$list"; then \ - echo " $(MKDIR_P) '$(DESTDIR)$(pkgincludedir)'"; \ - $(MKDIR_P) "$(DESTDIR)$(pkgincludedir)" || exit 1; \ - fi; \ - for p in $$list; do \ - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ - echo "$$d$$p"; \ - done | $(am__base_list) | \ - while read files; do \ - echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(pkgincludedir)'"; \ - $(INSTALL_HEADER) $$files "$(DESTDIR)$(pkgincludedir)" || exit $$?; \ - done - -uninstall-nodist_pkgincludeHEADERS: - @$(NORMAL_UNINSTALL) - @list='$(nodist_pkginclude_HEADERS)'; test -n "$(pkgincludedir)" || list=; \ - files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ - dir='$(DESTDIR)$(pkgincludedir)'; $(am__uninstall_files_from_dir) -install-pkgincludeHEADERS: $(pkginclude_HEADERS) - @$(NORMAL_INSTALL) - @list='$(pkginclude_HEADERS)'; test -n "$(pkgincludedir)" || list=; \ - if test -n "$$list"; then \ - echo " $(MKDIR_P) '$(DESTDIR)$(pkgincludedir)'"; \ - $(MKDIR_P) "$(DESTDIR)$(pkgincludedir)" || exit 1; \ - fi; \ - for p in $$list; do \ - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ - echo "$$d$$p"; \ - done | $(am__base_list) | \ - while read files; do \ - echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(pkgincludedir)'"; \ - $(INSTALL_HEADER) $$files "$(DESTDIR)$(pkgincludedir)" || exit $$?; \ - done - -uninstall-pkgincludeHEADERS: - @$(NORMAL_UNINSTALL) - @list='$(pkginclude_HEADERS)'; test -n "$(pkgincludedir)" || list=; \ - files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ - dir='$(DESTDIR)$(pkgincludedir)'; $(am__uninstall_files_from_dir) - -# This directory's subdirectories are mostly independent; you can cd -# into them and run 'make' without going through this Makefile. -# To change the values of 'make' variables: instead of editing Makefiles, -# (1) if the variable is set in 'config.status', edit 'config.status' -# (which will cause the Makefiles to be regenerated when you run 'make'); -# (2) otherwise, pass the desired values on the 'make' command line. -$(am__recursive_targets): - @fail=; \ - if $(am__make_keepgoing); then \ - failcom='fail=yes'; \ - else \ - failcom='exit 1'; \ - fi; \ - dot_seen=no; \ - target=`echo $@ | sed s/-recursive//`; \ - case "$@" in \ - distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ - *) list='$(SUBDIRS)' ;; \ - esac; \ - for subdir in $$list; do \ - echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - dot_seen=yes; \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || eval $$failcom; \ - done; \ - if test "$$dot_seen" = "no"; then \ - $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ - fi; test -z "$$fail" - -ID: $(am__tagged_files) - $(am__define_uniq_tagged_files); mkid -fID $$unique -tags: tags-recursive -TAGS: tags - -tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) - set x; \ - here=`pwd`; \ - if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ - include_option=--etags-include; \ - empty_fix=.; \ - else \ - include_option=--include; \ - empty_fix=; \ - fi; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - test ! -f $$subdir/TAGS || \ - set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ - fi; \ - done; \ - $(am__define_uniq_tagged_files); \ - shift; \ - if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ - test -n "$$unique" || unique=$$empty_fix; \ - if test $$# -gt 0; then \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - "$$@" $$unique; \ - else \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - $$unique; \ - fi; \ - fi -ctags: ctags-recursive - -CTAGS: ctags -ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) - $(am__define_uniq_tagged_files); \ - test -z "$(CTAGS_ARGS)$$unique" \ - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ - $$unique - -GTAGS: - here=`$(am__cd) $(top_builddir) && pwd` \ - && $(am__cd) $(top_srcdir) \ - && gtags -i $(GTAGS_ARGS) "$$here" -cscopelist: cscopelist-recursive - -cscopelist-am: $(am__tagged_files) - list='$(am__tagged_files)'; \ - case "$(srcdir)" in \ - [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ - *) sdir=$(subdir)/$(srcdir) ;; \ - esac; \ - for i in $$list; do \ - if test -f "$$i"; then \ - echo "$(subdir)/$$i"; \ - else \ - echo "$$sdir/$$i"; \ - fi; \ - done >> $(top_builddir)/cscope.files - -distclean-tags: - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags - -# Recover from deleted '.trs' file; this should ensure that -# "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create -# both 'foo.log' and 'foo.trs'. Break the recipe in two subshells -# to avoid problems with "make -n". -.log.trs: - rm -f $< $@ - $(MAKE) $(AM_MAKEFLAGS) $< - -# Leading 'am--fnord' is there to ensure the list of targets does not -# expand to empty, as could happen e.g. with make check TESTS=''. -am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck) -am--force-recheck: - @: - -$(TEST_SUITE_LOG): $(TEST_LOGS) - @$(am__set_TESTS_bases); \ - am__f_ok () { test -f "$$1" && test -r "$$1"; }; \ - redo_bases=`for i in $$bases; do \ - am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \ - done`; \ - if test -n "$$redo_bases"; then \ - redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \ - redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \ - if $(am__make_dryrun); then :; else \ - rm -f $$redo_logs && rm -f $$redo_results || exit 1; \ - fi; \ - fi; \ - if test -n "$$am__remaking_logs"; then \ - echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \ - "recursion detected" >&2; \ - elif test -n "$$redo_logs"; then \ - am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \ - fi; \ - if $(am__make_dryrun); then :; else \ - st=0; \ - errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \ - for i in $$redo_bases; do \ - test -f $$i.trs && test -r $$i.trs \ - || { echo "$$errmsg $$i.trs" >&2; st=1; }; \ - test -f $$i.log && test -r $$i.log \ - || { echo "$$errmsg $$i.log" >&2; st=1; }; \ - done; \ - test $$st -eq 0 || exit 1; \ - fi - @$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \ - ws='[ ]'; \ - results=`for b in $$bases; do echo $$b.trs; done`; \ - test -n "$$results" || results=/dev/null; \ - all=` grep "^$$ws*:test-result:" $$results | wc -l`; \ - pass=` grep "^$$ws*:test-result:$$ws*PASS" $$results | wc -l`; \ - fail=` grep "^$$ws*:test-result:$$ws*FAIL" $$results | wc -l`; \ - skip=` grep "^$$ws*:test-result:$$ws*SKIP" $$results | wc -l`; \ - xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \ - xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \ - error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \ - if test `expr $$fail + $$xpass + $$error` -eq 0; then \ - success=true; \ - else \ - success=false; \ - fi; \ - br='==================='; br=$$br$$br$$br$$br; \ - result_count () \ - { \ - if test x"$$1" = x"--maybe-color"; then \ - maybe_colorize=yes; \ - elif test x"$$1" = x"--no-color"; then \ - maybe_colorize=no; \ - else \ - echo "$@: invalid 'result_count' usage" >&2; exit 4; \ - fi; \ - shift; \ - desc=$$1 count=$$2; \ - if test $$maybe_colorize = yes && test $$count -gt 0; then \ - color_start=$$3 color_end=$$std; \ - else \ - color_start= color_end=; \ - fi; \ - echo "$${color_start}# $$desc $$count$${color_end}"; \ - }; \ - create_testsuite_report () \ - { \ - result_count $$1 "TOTAL:" $$all "$$brg"; \ - result_count $$1 "PASS: " $$pass "$$grn"; \ - result_count $$1 "SKIP: " $$skip "$$blu"; \ - result_count $$1 "XFAIL:" $$xfail "$$lgn"; \ - result_count $$1 "FAIL: " $$fail "$$red"; \ - result_count $$1 "XPASS:" $$xpass "$$red"; \ - result_count $$1 "ERROR:" $$error "$$mgn"; \ - }; \ - { \ - echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \ - $(am__rst_title); \ - create_testsuite_report --no-color; \ - echo; \ - echo ".. contents:: :depth: 2"; \ - echo; \ - for b in $$bases; do echo $$b; done \ - | $(am__create_global_log); \ - } >$(TEST_SUITE_LOG).tmp || exit 1; \ - mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG); \ - if $$success; then \ - col="$$grn"; \ - else \ - col="$$red"; \ - test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \ - fi; \ - echo "$${col}$$br$${std}"; \ - echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}"; \ - echo "$${col}$$br$${std}"; \ - create_testsuite_report --maybe-color; \ - echo "$$col$$br$$std"; \ - if $$success; then :; else \ - echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}"; \ - if test -n "$(PACKAGE_BUGREPORT)"; then \ - echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \ - fi; \ - echo "$$col$$br$$std"; \ - fi; \ - $$success || exit 1 - -check-TESTS: $(check_PROGRAMS) $(dist_check_SCRIPTS) - @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list - @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list - @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) - @set +e; $(am__set_TESTS_bases); \ - log_list=`for i in $$bases; do echo $$i.log; done`; \ - trs_list=`for i in $$bases; do echo $$i.trs; done`; \ - log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \ - $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \ - exit $$?; -recheck: all $(check_PROGRAMS) $(dist_check_SCRIPTS) - @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) - @set +e; $(am__set_TESTS_bases); \ - bases=`for i in $$bases; do echo $$i; done \ - | $(am__list_recheck_tests)` || exit 1; \ - log_list=`for i in $$bases; do echo $$i.log; done`; \ - log_list=`echo $$log_list`; \ - $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \ - am__force_recheck=am--force-recheck \ - TEST_LOGS="$$log_list"; \ - exit $$? -test-algs.log: test-algs$(EXEEXT) - @p='test-algs$(EXEEXT)'; \ - b='test-algs'; \ - $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ - --log-file $$b.log --trs-file $$b.trs \ - $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ - "$$tst" $(AM_TESTS_FD_REDIRECT) -test-array.log: test-array$(EXEEXT) - @p='test-array$(EXEEXT)'; \ - b='test-array'; \ - $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ - --log-file $$b.log --trs-file $$b.trs \ - $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ - "$$tst" $(AM_TESTS_FD_REDIRECT) -test-iter.log: test-iter$(EXEEXT) - @p='test-iter$(EXEEXT)'; \ - b='test-iter'; \ - $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ - --log-file $$b.log --trs-file $$b.trs \ - $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ - "$$tst" $(AM_TESTS_FD_REDIRECT) -test-map.log: test-map$(EXEEXT) - @p='test-map$(EXEEXT)'; \ - b='test-map'; \ - $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ - --log-file $$b.log --trs-file $$b.trs \ - $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ - "$$tst" $(AM_TESTS_FD_REDIRECT) -test-number.log: test-number$(EXEEXT) - @p='test-number$(EXEEXT)'; \ - b='test-number'; \ - $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ - --log-file $$b.log --trs-file $$b.trs \ - $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ - "$$tst" $(AM_TESTS_FD_REDIRECT) -test-ot-tag.log: test-ot-tag$(EXEEXT) - @p='test-ot-tag$(EXEEXT)'; \ - b='test-ot-tag'; \ - $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ - --log-file $$b.log --trs-file $$b.trs \ - $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ - "$$tst" $(AM_TESTS_FD_REDIRECT) -test-priority-queue.log: test-priority-queue$(EXEEXT) - @p='test-priority-queue$(EXEEXT)'; \ - b='test-priority-queue'; \ - $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ - --log-file $$b.log --trs-file $$b.trs \ - $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ - "$$tst" $(AM_TESTS_FD_REDIRECT) -test-set.log: test-set$(EXEEXT) - @p='test-set$(EXEEXT)'; \ - b='test-set'; \ - $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ - --log-file $$b.log --trs-file $$b.trs \ - $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ - "$$tst" $(AM_TESTS_FD_REDIRECT) -test-unicode-ranges.log: test-unicode-ranges$(EXEEXT) - @p='test-unicode-ranges$(EXEEXT)'; \ - b='test-unicode-ranges'; \ - $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ - --log-file $$b.log --trs-file $$b.trs \ - $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ - "$$tst" $(AM_TESTS_FD_REDIRECT) -test-vector.log: test-vector$(EXEEXT) - @p='test-vector$(EXEEXT)'; \ - b='test-vector'; \ - $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ - --log-file $$b.log --trs-file $$b.trs \ - $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ - "$$tst" $(AM_TESTS_FD_REDIRECT) -test-bimap.log: test-bimap$(EXEEXT) - @p='test-bimap$(EXEEXT)'; \ - b='test-bimap'; \ - $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ - --log-file $$b.log --trs-file $$b.trs \ - $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ - "$$tst" $(AM_TESTS_FD_REDIRECT) -test-repacker.log: test-repacker$(EXEEXT) - @p='test-repacker$(EXEEXT)'; \ - b='test-repacker'; \ - $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ - --log-file $$b.log --trs-file $$b.trs \ - $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ - "$$tst" $(AM_TESTS_FD_REDIRECT) -check-c-linkage-decls.py.log: check-c-linkage-decls.py - @p='check-c-linkage-decls.py'; \ - b='check-c-linkage-decls.py'; \ - $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ - --log-file $$b.log --trs-file $$b.trs \ - $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ - "$$tst" $(AM_TESTS_FD_REDIRECT) -check-externs.py.log: check-externs.py - @p='check-externs.py'; \ - b='check-externs.py'; \ - $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ - --log-file $$b.log --trs-file $$b.trs \ - $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ - "$$tst" $(AM_TESTS_FD_REDIRECT) -check-header-guards.py.log: check-header-guards.py - @p='check-header-guards.py'; \ - b='check-header-guards.py'; \ - $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ - --log-file $$b.log --trs-file $$b.trs \ - $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ - "$$tst" $(AM_TESTS_FD_REDIRECT) -check-includes.py.log: check-includes.py - @p='check-includes.py'; \ - b='check-includes.py'; \ - $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ - --log-file $$b.log --trs-file $$b.trs \ - $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ - "$$tst" $(AM_TESTS_FD_REDIRECT) -check-static-inits.py.log: check-static-inits.py - @p='check-static-inits.py'; \ - b='check-static-inits.py'; \ - $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ - --log-file $$b.log --trs-file $$b.trs \ - $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ - "$$tst" $(AM_TESTS_FD_REDIRECT) -check-symbols.py.log: check-symbols.py - @p='check-symbols.py'; \ - b='check-symbols.py'; \ - $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ - --log-file $$b.log --trs-file $$b.trs \ - $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ - "$$tst" $(AM_TESTS_FD_REDIRECT) -check-libstdc++.py.log: check-libstdc++.py - @p='check-libstdc++.py'; \ - b='check-libstdc++.py'; \ - $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ - --log-file $$b.log --trs-file $$b.trs \ - $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ - "$$tst" $(AM_TESTS_FD_REDIRECT) -.test.log: - @p='$<'; \ - $(am__set_b); \ - $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \ - --log-file $$b.log --trs-file $$b.trs \ - $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \ - "$$tst" $(AM_TESTS_FD_REDIRECT) -@am__EXEEXT_TRUE@.test$(EXEEXT).log: -@am__EXEEXT_TRUE@ @p='$<'; \ -@am__EXEEXT_TRUE@ $(am__set_b); \ -@am__EXEEXT_TRUE@ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \ -@am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \ -@am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \ -@am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT) - -distdir: $(BUILT_SOURCES) - $(MAKE) $(AM_MAKEFLAGS) distdir-am - -distdir-am: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - list='$(DISTFILES)'; \ - dist_files=`for file in $$list; do echo $$file; done | \ - sed -e "s|^$$srcdirstrip/||;t" \ - -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ - case $$dist_files in \ - */*) $(MKDIR_P) `echo "$$dist_files" | \ - sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ - sort -u` ;; \ - esac; \ - for file in $$dist_files; do \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - if test -d $$d/$$file; then \ - dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test -d "$(distdir)/$$file"; then \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ - else \ - test -f "$(distdir)/$$file" \ - || cp -p $$d/$$file "$(distdir)/$$file" \ - || exit 1; \ - fi; \ - done - @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - $(am__make_dryrun) \ - || test -d "$(distdir)/$$subdir" \ - || $(MKDIR_P) "$(distdir)/$$subdir" \ - || exit 1; \ - dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ - $(am__relativize); \ - new_distdir=$$reldir; \ - dir1=$$subdir; dir2="$(top_distdir)"; \ - $(am__relativize); \ - new_top_distdir=$$reldir; \ - echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ - echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ - ($(am__cd) $$subdir && \ - $(MAKE) $(AM_MAKEFLAGS) \ - top_distdir="$$new_top_distdir" \ - distdir="$$new_distdir" \ - am__remove_distdir=: \ - am__skip_length_check=: \ - am__skip_mode_fix=: \ - distdir) \ - || exit 1; \ - fi; \ - done -check-am: all-am - $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS) \ - $(dist_check_SCRIPTS) - $(MAKE) $(AM_MAKEFLAGS) check-TESTS -check: $(BUILT_SOURCES) - $(MAKE) $(AM_MAKEFLAGS) check-recursive -all-am: Makefile $(PROGRAMS) $(LTLIBRARIES) $(DATA) $(HEADERS) -install-binPROGRAMS: install-libLTLIBRARIES - -installdirs: installdirs-recursive -installdirs-am: - for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(libdir)" "$(DESTDIR)$(cmakedir)" "$(DESTDIR)$(girdir)" "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(typelibdir)" "$(DESTDIR)$(pkgincludedir)" "$(DESTDIR)$(pkgincludedir)"; do \ - test -z "$$dir" || $(MKDIR_P) "$$dir"; \ - done -install: $(BUILT_SOURCES) - $(MAKE) $(AM_MAKEFLAGS) install-recursive -install-exec: install-exec-recursive -install-data: install-data-recursive -uninstall: uninstall-recursive - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-recursive -install-strip: - if test -z '$(STRIP)'; then \ - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - install; \ - else \ - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ - fi -mostlyclean-generic: - -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS) - -test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs) - -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) - -clean-generic: - -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) - -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." - -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) - -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) -clean: clean-recursive - -clean-am: clean-binPROGRAMS clean-checkPROGRAMS clean-generic \ - clean-libLTLIBRARIES clean-libtool clean-noinstPROGRAMS \ - mostlyclean-am - -distclean: distclean-recursive - -rm -f ./$(DEPDIR)/libharfbuzz_gobject_la-hb-gobject-enums.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_gobject_la-hb-gobject-structs.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_icu_la-hb-icu.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-aat-layout.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-aat-map.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-blob.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-buffer-serialize.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-buffer.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-common.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-coretext.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-directwrite.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-draw.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-face.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-fallback-shape.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-font.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-ft.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-gdi.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-glib.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-graphite2.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-icu.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-map.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-ms-feature-ranges.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-number.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-ot-cff1-table.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-ot-cff2-table.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-ot-color.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-ot-face.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-ot-font.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-ot-layout.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-ot-map.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-ot-math.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-ot-meta.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-ot-metrics.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-ot-name.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-arabic.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-default.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-hangul.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-hebrew.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-indic-table.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-indic.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-khmer.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-myanmar.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-syllabic.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-thai.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-use.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-vowel-constraints.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-ot-shape-fallback.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-ot-shape-normalize.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-ot-shape.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-ot-tag.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-ot-var.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-set.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-shape-plan.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-shape.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-shaper.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-static.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-style.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-ucd.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-unicode.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-uniscribe.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_subset_la-hb-number.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_subset_la-hb-ot-cff1-table.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_subset_la-hb-ot-cff2-table.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_subset_la-hb-static.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_subset_la-hb-subset-cff-common.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_subset_la-hb-subset-cff1.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_subset_la-hb-subset-cff2.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_subset_la-hb-subset-input.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_subset_la-hb-subset-plan.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_subset_la-hb-subset.Plo - -rm -f ./$(DEPDIR)/main-main.Po - -rm -f ./$(DEPDIR)/test-test.Po - -rm -f ./$(DEPDIR)/test_algs-hb-static.Po - -rm -f ./$(DEPDIR)/test_algs-test-algs.Po - -rm -f ./$(DEPDIR)/test_array-test-array.Po - -rm -f ./$(DEPDIR)/test_bimap-hb-static.Po - -rm -f ./$(DEPDIR)/test_bimap-test-bimap.Po - -rm -f ./$(DEPDIR)/test_buffer_serialize-test-buffer-serialize.Po - -rm -f ./$(DEPDIR)/test_gpos_size_params-test-gpos-size-params.Po - -rm -f ./$(DEPDIR)/test_gsub_would_substitute-test-gsub-would-substitute.Po - -rm -f ./$(DEPDIR)/test_iter-hb-static.Po - -rm -f ./$(DEPDIR)/test_iter-test-iter.Po - -rm -f ./$(DEPDIR)/test_map-hb-static.Po - -rm -f ./$(DEPDIR)/test_map-test-map.Po - -rm -f ./$(DEPDIR)/test_number-hb-number.Po - -rm -f ./$(DEPDIR)/test_number-test-number.Po - -rm -f ./$(DEPDIR)/test_ot_glyphname-test-ot-glyphname.Po - -rm -f ./$(DEPDIR)/test_ot_meta-test-ot-meta.Po - -rm -f ./$(DEPDIR)/test_ot_name-test-ot-name.Po - -rm -f ./$(DEPDIR)/test_ot_tag-hb-ot-tag.Po - -rm -f ./$(DEPDIR)/test_priority_queue-hb-static.Po - -rm -f ./$(DEPDIR)/test_priority_queue-test-priority-queue.Po - -rm -f ./$(DEPDIR)/test_repacker-hb-static.Po - -rm -f ./$(DEPDIR)/test_repacker-test-repacker.Po - -rm -f ./$(DEPDIR)/test_set-hb-static.Po - -rm -f ./$(DEPDIR)/test_set-test-set.Po - -rm -f ./$(DEPDIR)/test_unicode_ranges-test-unicode-ranges.Po - -rm -f ./$(DEPDIR)/test_vector-hb-static.Po - -rm -f ./$(DEPDIR)/test_vector-test-vector.Po - -rm -f Makefile -distclean-am: clean-am distclean-compile distclean-generic \ - distclean-tags - -dvi: dvi-recursive - -dvi-am: - -html: html-recursive - -html-am: - -info: info-recursive - -info-am: - -install-data-am: install-cmakeDATA install-girDATA \ - install-nodist_pkgincludeHEADERS install-pkgconfigDATA \ - install-pkgincludeHEADERS install-typelibDATA - -install-dvi: install-dvi-recursive - -install-dvi-am: - -install-exec-am: install-binPROGRAMS install-libLTLIBRARIES - -install-html: install-html-recursive - -install-html-am: - -install-info: install-info-recursive - -install-info-am: - -install-man: - -install-pdf: install-pdf-recursive - -install-pdf-am: - -install-ps: install-ps-recursive - -install-ps-am: - -installcheck-am: installcheck-binPROGRAMS - -maintainer-clean: maintainer-clean-recursive - -rm -f ./$(DEPDIR)/libharfbuzz_gobject_la-hb-gobject-enums.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_gobject_la-hb-gobject-structs.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_icu_la-hb-icu.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-aat-layout.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-aat-map.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-blob.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-buffer-serialize.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-buffer.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-common.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-coretext.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-directwrite.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-draw.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-face.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-fallback-shape.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-font.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-ft.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-gdi.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-glib.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-graphite2.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-icu.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-map.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-ms-feature-ranges.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-number.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-ot-cff1-table.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-ot-cff2-table.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-ot-color.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-ot-face.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-ot-font.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-ot-layout.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-ot-map.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-ot-math.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-ot-meta.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-ot-metrics.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-ot-name.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-arabic.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-default.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-hangul.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-hebrew.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-indic-table.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-indic.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-khmer.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-myanmar.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-syllabic.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-thai.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-use.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-ot-shape-complex-vowel-constraints.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-ot-shape-fallback.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-ot-shape-normalize.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-ot-shape.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-ot-tag.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-ot-var.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-set.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-shape-plan.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-shape.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-shaper.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-static.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-style.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-ucd.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-unicode.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_la-hb-uniscribe.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_subset_la-hb-number.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_subset_la-hb-ot-cff1-table.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_subset_la-hb-ot-cff2-table.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_subset_la-hb-static.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_subset_la-hb-subset-cff-common.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_subset_la-hb-subset-cff1.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_subset_la-hb-subset-cff2.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_subset_la-hb-subset-input.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_subset_la-hb-subset-plan.Plo - -rm -f ./$(DEPDIR)/libharfbuzz_subset_la-hb-subset.Plo - -rm -f ./$(DEPDIR)/main-main.Po - -rm -f ./$(DEPDIR)/test-test.Po - -rm -f ./$(DEPDIR)/test_algs-hb-static.Po - -rm -f ./$(DEPDIR)/test_algs-test-algs.Po - -rm -f ./$(DEPDIR)/test_array-test-array.Po - -rm -f ./$(DEPDIR)/test_bimap-hb-static.Po - -rm -f ./$(DEPDIR)/test_bimap-test-bimap.Po - -rm -f ./$(DEPDIR)/test_buffer_serialize-test-buffer-serialize.Po - -rm -f ./$(DEPDIR)/test_gpos_size_params-test-gpos-size-params.Po - -rm -f ./$(DEPDIR)/test_gsub_would_substitute-test-gsub-would-substitute.Po - -rm -f ./$(DEPDIR)/test_iter-hb-static.Po - -rm -f ./$(DEPDIR)/test_iter-test-iter.Po - -rm -f ./$(DEPDIR)/test_map-hb-static.Po - -rm -f ./$(DEPDIR)/test_map-test-map.Po - -rm -f ./$(DEPDIR)/test_number-hb-number.Po - -rm -f ./$(DEPDIR)/test_number-test-number.Po - -rm -f ./$(DEPDIR)/test_ot_glyphname-test-ot-glyphname.Po - -rm -f ./$(DEPDIR)/test_ot_meta-test-ot-meta.Po - -rm -f ./$(DEPDIR)/test_ot_name-test-ot-name.Po - -rm -f ./$(DEPDIR)/test_ot_tag-hb-ot-tag.Po - -rm -f ./$(DEPDIR)/test_priority_queue-hb-static.Po - -rm -f ./$(DEPDIR)/test_priority_queue-test-priority-queue.Po - -rm -f ./$(DEPDIR)/test_repacker-hb-static.Po - -rm -f ./$(DEPDIR)/test_repacker-test-repacker.Po - -rm -f ./$(DEPDIR)/test_set-hb-static.Po - -rm -f ./$(DEPDIR)/test_set-test-set.Po - -rm -f ./$(DEPDIR)/test_unicode_ranges-test-unicode-ranges.Po - -rm -f ./$(DEPDIR)/test_vector-hb-static.Po - -rm -f ./$(DEPDIR)/test_vector-test-vector.Po - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-recursive - -mostlyclean-am: mostlyclean-compile mostlyclean-generic \ - mostlyclean-libtool - -pdf: pdf-recursive - -pdf-am: - -ps: ps-recursive - -ps-am: - -uninstall-am: uninstall-binPROGRAMS uninstall-cmakeDATA \ - uninstall-girDATA uninstall-libLTLIBRARIES \ - uninstall-nodist_pkgincludeHEADERS uninstall-pkgconfigDATA \ - uninstall-pkgincludeHEADERS uninstall-typelibDATA - -.MAKE: $(am__recursive_targets) all check check-am install install-am \ - install-strip - -.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \ - am--depfiles check check-TESTS check-am clean \ - clean-binPROGRAMS clean-checkPROGRAMS clean-generic \ - clean-libLTLIBRARIES clean-libtool clean-noinstPROGRAMS \ - cscopelist-am ctags ctags-am distclean distclean-compile \ - distclean-generic distclean-libtool distclean-tags distdir dvi \ - dvi-am html html-am info info-am install install-am \ - install-binPROGRAMS install-cmakeDATA install-data \ - install-data-am install-dvi install-dvi-am install-exec \ - install-exec-am install-girDATA install-html install-html-am \ - install-info install-info-am install-libLTLIBRARIES \ - install-man install-nodist_pkgincludeHEADERS install-pdf \ - install-pdf-am install-pkgconfigDATA install-pkgincludeHEADERS \ - install-ps install-ps-am install-strip install-typelibDATA \ - installcheck installcheck-am installcheck-binPROGRAMS \ - installdirs installdirs-am maintainer-clean \ - maintainer-clean-generic mostlyclean mostlyclean-compile \ - mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ - recheck tags tags-am uninstall uninstall-am \ - uninstall-binPROGRAMS uninstall-cmakeDATA uninstall-girDATA \ - uninstall-libLTLIBRARIES uninstall-nodist_pkgincludeHEADERS \ - uninstall-pkgconfigDATA uninstall-pkgincludeHEADERS \ - uninstall-typelibDATA - -.PRECIOUS: Makefile - - -# Convenience targets: -lib: $(BUILT_SOURCES) libharfbuzz.la -libs: $(BUILT_SOURCES) $(lib_LTLIBRARIES) -tiny: - $(MAKE) $(AM_MAKEFLAGS) CPPFLAGS="-Os -DHB_TINY $(CPPFLAGS)" libs -tinyz: - $(MAKE) $(AM_MAKEFLAGS) CPPFLAGS="-Oz -DHB_TINY $(CPPFLAGS)" libs - -$(srcdir)/hb-version.h: hb-version.h.in $(top_srcdir)/configure.ac - $(AM_V_GEN) $(SED) \ - -e 's/[@]HB_VERSION_MAJOR@/$(HB_VERSION_MAJOR)/' \ - -e 's/[@]HB_VERSION_MINOR@/$(HB_VERSION_MINOR)/' \ - -e 's/[@]HB_VERSION_MICRO@/$(HB_VERSION_MICRO)/' \ - -e 's/[@]HB_VERSION@/$(HB_VERSION)/' \ - "$<" > "$@" || ($(RM) "$@"; false) - -@CODE_COVERAGE_RULES@ -@HAVE_GOBJECT_TRUE@hb-gobject-enums.%: hb-gobject-enums.%.tmpl $(HBHEADERS) -@HAVE_GOBJECT_TRUE@ $(AM_V_GEN) PYTHONIOENCODING=UTF-8 $(GLIB_MKENUMS) \ -@HAVE_GOBJECT_TRUE@ --identifier-prefix hb_ --symbol-prefix hb_gobject \ -@HAVE_GOBJECT_TRUE@ --template $^ | \ -@HAVE_GOBJECT_TRUE@ sed 's/_t_get_type/_get_type/g; s/_T (/ (/g' > "$@" \ -@HAVE_GOBJECT_TRUE@ || ($(RM) "$@"; false) - -%.pc: %.pc.in $(top_builddir)/config.status - $(AM_V_GEN) \ - $(SED) -e 's@%prefix%@$(prefix)@g' \ - -e 's@%exec_prefix%@$(exec_prefix)@g' \ - -e 's@%libdir%@$(libdir)@g' \ - -e 's@%includedir%@$(includedir)@g' \ - -e 's@%libs_private%@$(HBNONPCLIBS)@g' \ - -e 's@%requires_private%@$(HBDEPS)@g' \ - -e 's@%VERSION%@$(VERSION)@g' \ - "$<" > "$@" \ - || ($(RM) "$@"; false) -check: $(DEF_FILES) # For check-symbols.sh -harfbuzz.def: $(top_builddir)/config.status -harfbuzz.def: $(HBHEADERS) - $(AM_V_GEN) $(srcdir)/gen-def.py "$@" $^ -harfbuzz-subset.def: $(HB_SUBSET_headers) - $(AM_V_GEN) $(srcdir)/gen-def.py "$@" $^ -harfbuzz-icu.def: $(HB_ICU_headers) - $(AM_V_GEN) $(srcdir)/gen-def.py "$@" $^ -harfbuzz-gobject.def: $(HB_GOBJECT_headers) - $(AM_V_GEN) $(srcdir)/gen-def.py "$@" $^ -harfbuzz-deprecated-symbols.txt: $(srcdir)/hb-deprecated.h - $(AM_V_GEN) PLAIN_LIST=1 $(srcdir)/gen-def.py "$@" $^ - -built-sources: $(BUILT_SOURCES) - -.PHONY: built-sources -# We decided to add ragel-generated files to git... -#MAINTAINERCLEANFILES += $(RAGEL_GENERATED) -$(srcdir)/%.hh: $(srcdir)/%.rl - $(AM_V_GEN)(cd $(srcdir) && $(RAGEL) -e -F1 -o "$*.hh" "$*.rl") \ - || ($(RM) "$@"; false) - -harfbuzz.cc: Makefile.sources - $(AM_V_GEN) \ - for f in \ - $(HB_BASE_sources) \ - $(HB_GLIB_sources) \ - $(HB_FT_sources) \ - $(HB_GRAPHITE2_sources) \ - $(HB_UNISCRIBE_sources) \ - $(HB_GDI_sources) \ - $(HB_DIRECTWRITE_sources) \ - $(HB_CORETEXT_sources) \ - ; do echo '#include "'$$f'"'; done | \ - grep '[.]cc"' > $(srcdir)/harfbuzz.cc \ - || ($(RM) $(srcdir)/harfbuzz.cc; false) - -@HAVE_INTROSPECTION_TRUE@-include $(INTROSPECTION_MAKEFILE) - -@HAVE_INTROSPECTION_TRUE@HarfBuzz-0.0.gir: libharfbuzz.la libharfbuzz-gobject.la - --include $(top_srcdir)/git.mk - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/harfbuzz/src/Makefile.sources b/harfbuzz/src/Makefile.sources deleted file mode 100644 index 699dfdc..0000000 --- a/harfbuzz/src/Makefile.sources +++ /dev/null @@ -1,294 +0,0 @@ -# Base and default-included sources and headers - -HB_BASE_sources = \ - hb-aat-layout-ankr-table.hh \ - hb-aat-layout-bsln-table.hh \ - hb-aat-layout-common.hh \ - hb-aat-layout-feat-table.hh \ - hb-aat-layout-just-table.hh \ - hb-aat-layout-kerx-table.hh \ - hb-aat-layout-morx-table.hh \ - hb-aat-layout-opbd-table.hh \ - hb-aat-layout-trak-table.hh \ - hb-aat-layout.cc \ - hb-aat-layout.hh \ - hb-aat-ltag-table.hh \ - hb-aat-map.cc \ - hb-aat-map.hh \ - hb-algs.hh \ - hb-array.hh \ - hb-atomic.hh \ - hb-bimap.hh \ - hb-bit-page.hh \ - hb-bit-set.hh \ - hb-bit-set-invertible.hh \ - hb-blob.cc \ - hb-blob.hh \ - hb-buffer-serialize.cc \ - hb-buffer.cc \ - hb-buffer.hh \ - hb-cache.hh \ - hb-cff-interp-common.hh \ - hb-cff-interp-cs-common.hh \ - hb-cff-interp-dict-common.hh \ - hb-cff1-interp-cs.hh \ - hb-cff2-interp-cs.hh \ - hb-common.cc \ - hb-config.hh \ - hb-debug.hh \ - hb-dispatch.hh \ - hb-draw.cc \ - hb-draw.hh \ - hb-face.cc \ - hb-face.hh \ - hb-fallback-shape.cc \ - hb-font.cc \ - hb-font.hh \ - hb-iter.hh \ - hb-kern.hh \ - hb-machinery.hh \ - hb-map.cc \ - hb-map.hh \ - hb-meta.hh \ - hb-ms-feature-ranges.cc \ - hb-ms-feature-ranges.hh \ - hb-mutex.hh \ - hb-null.hh \ - hb-number.cc \ - hb-number.hh \ - hb-object.hh \ - hb-open-file.hh \ - hb-open-type.hh \ - hb-ot-cff-common.hh \ - hb-ot-cff1-std-str.hh \ - hb-ot-cff1-table.cc \ - hb-ot-cff1-table.hh \ - hb-ot-cff2-table.cc \ - hb-ot-cff2-table.hh \ - hb-ot-cmap-table.hh \ - hb-ot-color-cbdt-table.hh \ - hb-ot-color-colr-table.hh \ - hb-ot-color-cpal-table.hh \ - hb-ot-color-sbix-table.hh \ - hb-ot-color-svg-table.hh \ - hb-ot-color.cc \ - hb-ot-face-table-list.hh \ - hb-ot-face.cc \ - hb-ot-face.hh \ - hb-ot-font.cc \ - hb-ot-gasp-table.hh \ - hb-ot-glyf-table.hh \ - hb-ot-hdmx-table.hh \ - hb-ot-head-table.hh \ - hb-ot-hhea-table.hh \ - hb-ot-hmtx-table.hh \ - hb-ot-kern-table.hh \ - hb-ot-layout-base-table.hh \ - hb-ot-layout-common.hh \ - hb-ot-layout-gdef-table.hh \ - hb-ot-layout-gpos-table.hh \ - hb-ot-layout-gsub-table.hh \ - hb-ot-layout-gsubgpos.hh \ - hb-ot-layout-jstf-table.hh \ - hb-ot-layout.cc \ - hb-ot-layout.hh \ - hb-ot-map.cc \ - hb-ot-map.hh \ - hb-ot-math-table.hh \ - hb-ot-math.cc \ - hb-ot-maxp-table.hh \ - hb-ot-meta-table.hh \ - hb-ot-meta.cc \ - hb-ot-metrics.cc \ - hb-ot-metrics.hh \ - hb-ot-name-language-static.hh \ - hb-ot-name-language.hh \ - hb-ot-name-table.hh \ - hb-ot-name.cc \ - hb-ot-os2-table.hh \ - hb-ot-os2-unicode-ranges.hh \ - hb-ot-post-macroman.hh \ - hb-ot-post-table.hh \ - hb-ot-shape-complex-arabic-fallback.hh \ - hb-ot-shape-complex-arabic-joining-list.hh \ - hb-ot-shape-complex-arabic-table.hh \ - hb-ot-shape-complex-arabic-win1256.hh \ - hb-ot-shape-complex-arabic.cc \ - hb-ot-shape-complex-arabic.hh \ - hb-ot-shape-complex-default.cc \ - hb-ot-shape-complex-hangul.cc \ - hb-ot-shape-complex-hebrew.cc \ - hb-ot-shape-complex-indic-table.cc \ - hb-ot-shape-complex-indic.cc \ - hb-ot-shape-complex-indic.hh \ - hb-ot-shape-complex-khmer.cc \ - hb-ot-shape-complex-khmer.hh \ - hb-ot-shape-complex-myanmar.cc \ - hb-ot-shape-complex-myanmar.hh \ - hb-ot-shape-complex-syllabic.cc \ - hb-ot-shape-complex-syllabic.hh \ - hb-ot-shape-complex-thai.cc \ - hb-ot-shape-complex-use-table.hh \ - hb-ot-shape-complex-use.cc \ - hb-ot-shape-complex-vowel-constraints.cc \ - hb-ot-shape-complex-vowel-constraints.hh \ - hb-ot-shape-complex.hh \ - hb-ot-shape-fallback.cc \ - hb-ot-shape-fallback.hh \ - hb-ot-shape-normalize.cc \ - hb-ot-shape-normalize.hh \ - hb-ot-shape.cc \ - hb-ot-shape.hh \ - hb-ot-stat-table.hh \ - hb-ot-tag-table.hh \ - hb-ot-tag.cc \ - hb-ot-var-avar-table.hh \ - hb-ot-var-common.hh \ - hb-ot-var-fvar-table.hh \ - hb-ot-var-gvar-table.hh \ - hb-ot-var-hvar-table.hh \ - hb-ot-var-mvar-table.hh \ - hb-ot-var.cc \ - hb-ot-vorg-table.hh \ - hb-pool.hh \ - hb-sanitize.hh \ - hb-serialize.hh \ - hb-set-digest.hh \ - hb-set.cc \ - hb-set.hh \ - hb-shape-plan.cc \ - hb-shape-plan.hh \ - hb-shape.cc \ - hb-shaper-impl.hh \ - hb-shaper-list.hh \ - hb-shaper.cc \ - hb-shaper.hh \ - hb-static.cc \ - hb-string-array.hh \ - hb-style.cc \ - hb-ucd-table.hh \ - hb-ucd.cc \ - hb-unicode-emoji-table.hh \ - hb-unicode.cc \ - hb-unicode.hh \ - hb-utf.hh \ - hb-vector.hh \ - hb-priority-queue.hh \ - hb.hh \ - $(NULL) - -HB_BASE_RAGEL_GENERATED_sources = \ - hb-buffer-deserialize-json.hh \ - hb-buffer-deserialize-text.hh \ - hb-number-parser.hh \ - hb-ot-shape-complex-indic-machine.hh \ - hb-ot-shape-complex-khmer-machine.hh \ - hb-ot-shape-complex-myanmar-machine.hh \ - hb-ot-shape-complex-use-machine.hh \ - $(NULL) -HB_BASE_RAGEL_sources = \ - hb-buffer-deserialize-json.rl \ - hb-buffer-deserialize-text.rl \ - hb-number-parser.rl \ - hb-ot-shape-complex-indic-machine.rl \ - hb-ot-shape-complex-khmer-machine.rl \ - hb-ot-shape-complex-myanmar-machine.rl \ - hb-ot-shape-complex-use-machine.rl \ - $(NULL) - -HB_BASE_headers = \ - hb-aat-layout.h \ - hb-aat.h \ - hb-blob.h \ - hb-buffer.h \ - hb-common.h \ - hb-deprecated.h \ - hb-draw.h \ - hb-face.h \ - hb-font.h \ - hb-map.h \ - hb-ot-color.h \ - hb-ot-deprecated.h \ - hb-ot-font.h \ - hb-ot-layout.h \ - hb-ot-math.h \ - hb-ot-meta.h \ - hb-ot-metrics.h \ - hb-ot-name.h \ - hb-ot-shape.h \ - hb-ot-var.h \ - hb-ot.h \ - hb-set.h \ - hb-shape-plan.h \ - hb-shape.h \ - hb-style.h \ - hb-unicode.h \ - hb-version.h \ - hb.h \ - $(NULL) - -# Optional Sources and Headers with external deps - -HB_FT_sources = hb-ft.cc -HB_FT_headers = hb-ft.h - -HB_GLIB_sources = hb-glib.cc -HB_GLIB_headers = hb-glib.h - -HB_GRAPHITE2_sources = hb-graphite2.cc -HB_GRAPHITE2_headers = hb-graphite2.h - -# System-dependent sources and headers - -HB_CORETEXT_sources = hb-coretext.cc -HB_CORETEXT_headers = hb-coretext.h - -HB_DIRECTWRITE_sources = hb-directwrite.cc -HB_DIRECTWRITE_headers = hb-directwrite.h - -HB_GDI_sources = hb-gdi.cc -HB_GDI_headers = hb-gdi.h - -HB_UNISCRIBE_sources = hb-uniscribe.cc -HB_UNISCRIBE_headers = hb-uniscribe.h - -# Sources for libharfbuzz-gobject and libharfbuzz-icu -HB_ICU_sources = hb-icu.cc -HB_ICU_headers = hb-icu.h - -# Sources for libharfbuzz-subset -HB_SUBSET_sources = \ - hb-number.cc \ - hb-number.hh \ - hb-ot-cff1-table.cc \ - hb-ot-cff2-table.cc \ - hb-ot-color-colrv1-closure.hh \ - hb-ot-post-table-v2subset.hh \ - hb-static.cc \ - hb-subset-cff-common.cc \ - hb-subset-cff-common.hh \ - hb-subset-cff1.cc \ - hb-subset-cff1.hh \ - hb-subset-cff2.cc \ - hb-subset-cff2.hh \ - hb-subset-input.cc \ - hb-subset-input.hh \ - hb-subset-plan.cc \ - hb-subset-plan.hh \ - hb-subset.cc \ - hb-subset.hh \ - hb-repacker.hh \ - $(NULL) - -HB_SUBSET_headers = \ - hb-subset.h \ - $(NULL) - -HB_GOBJECT_DIST_sources = hb-gobject-structs.cc -HB_GOBJECT_DIST_headers = hb-gobject.h hb-gobject-structs.h -HB_GOBJECT_ENUM_sources = hb-gobject-enums.cc -HB_GOBJECT_ENUM_headers = hb-gobject-enums.h -HB_GOBJECT_NODIST_sources = $(HB_GOBJECT_ENUM_sources) -HB_GOBJECT_NODIST_headers = $(HB_GOBJECT_ENUM_headers) -HB_GOBJECT_sources = $(HB_GOBJECT_DIST_sources) $(HB_GOBJECT_NODIST_sources) -HB_GOBJECT_headers = $(HB_GOBJECT_DIST_headers) $(HB_GOBJECT_NODIST_headers) diff --git a/harfbuzz/src/check-c-linkage-decls.py b/harfbuzz/src/check-c-linkage-decls.py deleted file mode 100755 index b7532a7..0000000 --- a/harfbuzz/src/check-c-linkage-decls.py +++ /dev/null @@ -1,26 +0,0 @@ -#!/usr/bin/env python3 - -import sys, os - -os.chdir (os.getenv ('srcdir', os.path.dirname (__file__))) - -HBHEADERS = [os.path.basename (x) for x in os.getenv ('HBHEADERS', '').split ()] or \ - [x for x in os.listdir ('.') if x.startswith ('hb') and x.endswith ('.h')] -HBSOURCES = [os.path.basename (x) for x in os.getenv ('HBSOURCES', '').split ()] or \ - [x for x in os.listdir ('.') if x.startswith ('hb') and x.endswith (('.cc', '.hh'))] - -stat = 0 - -for x in HBHEADERS: - with open (x, 'r', encoding='utf-8') as f: content = f.read () - if ('HB_BEGIN_DECLS' not in content) or ('HB_END_DECLS' not in content): - print ('Ouch, file %s does not have HB_BEGIN_DECLS / HB_END_DECLS, but it should' % x) - stat = 1 - -for x in HBSOURCES: - with open (x, 'r', encoding='utf-8') as f: content = f.read () - if ('HB_BEGIN_DECLS' in content) or ('HB_END_DECLS' in content): - print ('Ouch, file %s has HB_BEGIN_DECLS / HB_END_DECLS, but it shouldn\'t' % x) - stat = 1 - -sys.exit (stat) diff --git a/harfbuzz/src/check-externs.py b/harfbuzz/src/check-externs.py deleted file mode 100755 index a64d2e5..0000000 --- a/harfbuzz/src/check-externs.py +++ /dev/null @@ -1,20 +0,0 @@ -#!/usr/bin/env python3 - -import sys, os, re - -os.chdir (os.getenv ('srcdir', os.path.dirname (__file__))) - -HBHEADERS = [os.path.basename (x) for x in os.getenv ('HBHEADERS', '').split ()] or \ - [x for x in os.listdir ('.') if x.startswith ('hb') and x.endswith ('.h')] - -stat = 0 - -print ('Checking that all public symbols are exported with HB_EXTERN') -for x in HBHEADERS: - with open (x, 'r', encoding='utf-8') as f: content = f.read () - for s in re.findall (r'\n.+\nhb_.+\n', content): - if not s.startswith ('\nHB_EXTERN '): - print ('failure on:', s) - stat = 1 - -sys.exit (stat) diff --git a/harfbuzz/src/check-header-guards.py b/harfbuzz/src/check-header-guards.py deleted file mode 100755 index 0ad42cd..0000000 --- a/harfbuzz/src/check-header-guards.py +++ /dev/null @@ -1,22 +0,0 @@ -#!/usr/bin/env python3 - -import sys, os, re - -os.chdir (os.getenv ('srcdir', os.path.dirname (__file__))) - -HBHEADERS = [os.path.basename (x) for x in os.getenv ('HBHEADERS', '').split ()] or \ - [x for x in os.listdir ('.') if x.startswith ('hb') and x.endswith ('.h')] -HBSOURCES = [os.path.basename (x) for x in os.getenv ('HBSOURCES', '').split ()] or \ - [x for x in os.listdir ('.') if x.startswith ('hb') and x.endswith (('.cc', '.hh'))] - -stat = 0 - -for x in HBHEADERS + HBSOURCES: - if not x.endswith ('h') or x == 'hb-gobject-structs.h': continue - tag = x.upper ().replace ('.', '_').replace ('-', '_') - with open (x, 'r', encoding='utf-8') as f: content = f.read () - if len (re.findall (tag + r'\b', content)) != 3: - print ('Ouch, header file %s does not have correct preprocessor guards' % x) - stat = 1 - -sys.exit (stat) diff --git a/harfbuzz/src/check-includes.py b/harfbuzz/src/check-includes.py deleted file mode 100755 index 88eaa2e..0000000 --- a/harfbuzz/src/check-includes.py +++ /dev/null @@ -1,39 +0,0 @@ -#!/usr/bin/env python3 - -import sys, os, re - -os.chdir (os.getenv ('srcdir', os.path.dirname (__file__))) - -HBHEADERS = [os.path.basename (x) for x in os.getenv ('HBHEADERS', '').split ()] or \ - [x for x in os.listdir ('.') if x.startswith ('hb') and x.endswith ('.h')] -HBSOURCES = [os.path.basename (x) for x in os.getenv ('HBSOURCES', '').split ()] or \ - [x for x in os.listdir ('.') if x.startswith ('hb') and x.endswith (('.cc', '.hh'))] - -stat = 0 - -print ('Checking that public header files #include "hb-common.h" or "hb.h" first (or none)') -for x in HBHEADERS: - if x == 'hb.h' or x == 'hb-common.h': continue - with open (x, 'r', encoding='utf-8') as f: content = f.read () - first = re.findall (r'#.*include.*', content)[0] - if first not in ['#include "hb.h"', '#include "hb-common.h"']: - print ('failure on %s' % x) - stat = 1 - -print ('Checking that source files #include a private header first (or none)') -for x in HBSOURCES: - with open (x, 'r', encoding='utf-8') as f: content = f.read () - includes = re.findall (r'#.*include.*', content) - if includes: - if not len (re.findall (r'"hb.*\.hh"', includes[0])): - print ('failure on %s' % x) - stat = 1 - -print ('Checking that there is no #include ') -for x in HBHEADERS + HBSOURCES: - with open (x, 'r', encoding='utf-8') as f: content = f.read () - if re.findall ('#.*include.*<.*hb', content): - print ('failure on %s' % x) - stat = 1 - -sys.exit (stat) diff --git a/harfbuzz/src/check-libstdc++.py b/harfbuzz/src/check-libstdc++.py deleted file mode 100755 index 85b7265..0000000 --- a/harfbuzz/src/check-libstdc++.py +++ /dev/null @@ -1,39 +0,0 @@ -#!/usr/bin/env python3 - -import sys, os, shutil, subprocess - -os.chdir (os.getenv ('srcdir', os.path.dirname (__file__))) - -libs = os.getenv ('libs', '.libs') - -ldd = os.getenv ('LDD', shutil.which ('ldd')) -if not ldd: - otool = os.getenv ('OTOOL', shutil.which ('otool')) - if otool: - ldd = otool + ' -L' - else: - print ('check-libstdc++.py: \'ldd\' not found; skipping test') - sys.exit (77) - -stat = 0 -tested = False - -# harfbuzz-icu links to libstdc++ because icu does. -for soname in ['harfbuzz', 'harfbuzz-subset', 'harfbuzz-gobject']: - for suffix in ['so', 'dylib']: - so = os.path.join (libs, 'lib%s.%s' % (soname, suffix)) - if not os.path.exists (so): continue - - print ('Checking that we are not linking to libstdc++ or libc++ in %s' % so) - ldd_result = subprocess.check_output (ldd.split() + [so]) - if (b'libstdc++' in ldd_result) or (b'libc++' in ldd_result): - print ('Ouch, %s is linked to libstdc++ or libc++' % so) - stat = 1 - - tested = True - -if not tested: - print ('check-libstdc++.py: libharfbuzz shared library not found; skipping test') - sys.exit (77) - -sys.exit (stat) diff --git a/harfbuzz/src/check-static-inits.py b/harfbuzz/src/check-static-inits.py deleted file mode 100755 index 37e0590..0000000 --- a/harfbuzz/src/check-static-inits.py +++ /dev/null @@ -1,51 +0,0 @@ -#!/usr/bin/env python3 - -import sys, os, shutil, subprocess, glob, re - -builddir = os.getenv ('builddir', os.path.dirname (__file__)) -libs = os.getenv ('libs', '.libs') - -objdump = os.getenv ('OBJDUMP', shutil.which ('objdump')) -if not objdump: - print ('check-static-inits.py: \'ldd\' not found; skipping test') - sys.exit (77) - -if sys.version_info < (3, 5): - print ('check-static-inits.py: needs python 3.5 for recursive support in glob') - sys.exit (77) - -OBJS = glob.glob (os.path.join (builddir, libs, '**', '*.o'), recursive=True) -if not OBJS: - print ('check-static-inits.py: object files not found; skipping test') - sys.exit (77) - -stat = 0 -tested = 0 - -for obj in OBJS: - result = subprocess.run(objdump.split () + ['-t', obj], stdout=subprocess.PIPE, stderr=subprocess.PIPE) - - if result.returncode: - if result.stderr.find (b'not recognized') != -1: - # https://github.com/harfbuzz/harfbuzz/issues/3019 - print ('objdump %s returned "not recognized", skipping' % obj) - continue - print ('objdump %s returned error:\n%s' % (obj, result.stderr.decode ('utf-8'))) - stat = 2 - - result = result.stdout.decode ('utf-8') - - # Checking that no object file has static initializers - for l in re.findall (r'^.*\.[cd]tors.*$', result, re.MULTILINE): - if not re.match (r'.*\b0+\b', l): - print ('Ouch, %s has static initializers/finalizers' % obj) - stat = 1 - - # Checking that no object file has lazy static C++ constructors/destructors or other such stuff - if ('__cxa_' in result) and ('__ubsan_handle' not in result): - print ('Ouch, %s has lazy static C++ constructors/destructors or other such stuff' % obj) - stat = 1 - - tested += 1 - -sys.exit (stat if tested else 77) diff --git a/harfbuzz/src/check-symbols.py b/harfbuzz/src/check-symbols.py deleted file mode 100755 index 385959b..0000000 --- a/harfbuzz/src/check-symbols.py +++ /dev/null @@ -1,74 +0,0 @@ -#!/usr/bin/env python3 - -import sys, os, shutil, subprocess, re, difflib - -os.environ['LC_ALL'] = 'C' # otherwise 'nm' prints in wrong order - -builddir = os.getenv ('builddir', os.path.dirname (__file__)) -libs = os.getenv ('libs', '.libs') - -IGNORED_SYMBOLS = '|'.join(['_fini', '_init', '_fdata', '_ftext', '_fbss', - '__bss_start', '__bss_start__', '__bss_end__', '_edata', '_end', '_bss_end__', - '__end__', '__gcov_.*', 'llvm_.*', 'flush_fn_list', 'writeout_fn_list', 'mangle_path', - 'lprofDirMode', 'reset_fn_list']) - -nm = os.getenv ('NM', shutil.which ('nm')) -if not nm: - print ('check-symbols.py: \'nm\' not found; skipping test') - sys.exit (77) - -cxxflit = shutil.which ('c++filt') - -tested = False -stat = 0 - -for soname in ['harfbuzz', 'harfbuzz-subset', 'harfbuzz-icu', 'harfbuzz-gobject']: - for suffix in ['so', 'dylib']: - so = os.path.join (builddir, libs, 'lib%s.%s' % (soname, suffix)) - if not os.path.exists (so): continue - - # On macOS, C symbols are prefixed with _ - symprefix = '_' if suffix == 'dylib' else '' - - EXPORTED_SYMBOLS = [s.split ()[2] - for s in re.findall (r'^.+ [BCDGIRST] .+$', subprocess.check_output (nm.split() + [so]).decode ('utf-8'), re.MULTILINE) - if not re.match (r'.* %s(%s)\b' % (symprefix, IGNORED_SYMBOLS), s)] - - # run again c++flit also if is available - if cxxflit: - EXPORTED_SYMBOLS = subprocess.check_output ( - [cxxflit], input='\n'.join (EXPORTED_SYMBOLS).encode () - ).decode ('utf-8').splitlines () - - prefix = (symprefix + os.path.basename (so)).replace ('libharfbuzz', 'hb').replace ('-', '_').split ('.')[0] - - print ('Checking that %s does not expose internal symbols' % so) - suspicious_symbols = [x for x in EXPORTED_SYMBOLS if not re.match (r'^%s(_|$)' % prefix, x)] - if suspicious_symbols: - print ('Ouch, internal symbols exposed:', suspicious_symbols) - stat = 1 - - def_path = os.path.join (builddir, soname + '.def') - if not os.path.exists (def_path): - print ('\'%s\' not found; skipping' % def_path) - else: - print ('Checking that %s has the same symbol list as %s' % (so, def_path)) - with open (def_path, 'r', encoding='utf-8') as f: def_file = f.read () - diff_result = list (difflib.context_diff ( - def_file.splitlines (), - ['EXPORTS'] + [re.sub ('^%shb' % symprefix, 'hb', x) for x in EXPORTED_SYMBOLS] + - # cheat: copy the last line from the def file! - [def_file.splitlines ()[-1]] - )) - - if diff_result: - print ('\n'.join (diff_result)) - stat = 1 - - tested = True - -if not tested: - print ('check-symbols.py: no shared libraries found; skipping test') - sys.exit (77) - -sys.exit (stat) diff --git a/harfbuzz/src/fix_get_types.py b/harfbuzz/src/fix_get_types.py deleted file mode 100644 index 208b9df..0000000 --- a/harfbuzz/src/fix_get_types.py +++ /dev/null @@ -1,15 +0,0 @@ -#!/usr/bin/env python3 - -import re -import argparse - -parser = argparse.ArgumentParser () -parser.add_argument ('input') -parser.add_argument ('output') -args = parser.parse_args () - -with open (args.input, 'r') as inp, open (args.output, 'w') as out: - for l in inp.readlines (): - l = re.sub ('_t_get_type', '_get_type', l) - l = re.sub ('_T \(', ' (', l) - out.write (l) diff --git a/harfbuzz/src/gen-arabic-joining-list.py b/harfbuzz/src/gen-arabic-joining-list.py deleted file mode 100755 index 8162a4a..0000000 --- a/harfbuzz/src/gen-arabic-joining-list.py +++ /dev/null @@ -1,106 +0,0 @@ -#!/usr/bin/env python3 - -"""usage: ./gen-arabic-joining-table.py ArabicShaping.txt Scripts.txt - -Input files: -* https://unicode.org/Public/UCD/latest/ucd/ArabicShaping.txt -* https://unicode.org/Public/UCD/latest/ucd/Scripts.txt -""" - -import os.path, sys - -if len (sys.argv) != 3: - sys.exit (__doc__) - -files = [open (x, encoding='utf-8') for x in sys.argv[1:]] - -headers = [[f.readline (), f.readline ()] for f in files] -while files[0].readline ().find ('##################') < 0: - pass - -def read (f): - mapping = {} - for line in f: - - j = line.find ('#') - if j >= 0: - line = line[:j] - - fields = [x.strip () for x in line.split (';')] - if len (fields) == 1: - continue - - uu = fields[0].split ('..') - start = int (uu[0], 16) - if len (uu) == 1: - end = start - else: - end = int (uu[1], 16) - - t = fields[1] - - for u in range (start, end + 1): - mapping[u] = t - - return mapping - -def read_joining_uu (f): - values = set () - for line in f: - - if line[0] == '#': - continue - - fields = [x.strip () for x in line.split (';')] - if len (fields) == 1: - continue - if fields[2] in {'T', 'U'}: - continue - - values.add (int (fields[0], 16)) - - return sorted (values) - -def print_has_arabic_joining (scripts, joining_uu): - - print ("static bool") - print ("has_arabic_joining (hb_script_t script)") - print ("{") - print (" /* List of scripts that have data in arabic-table. */") - print (" switch ((int) script)") - print (" {") - - for script in sorted ({scripts[u] for u in joining_uu if scripts[u] not in {'Common', 'Inherited'}}): - print (" case HB_SCRIPT_{}:".format (script.upper ())) - - print (" return true;") - print () - print (" default:") - print (" return false;") - print (" }") - print ("}") - print () - -print ("/* == Start of generated function == */") -print ("/*") -print (" * The following function is generated by running:") -print (" *") -print (" * ./gen-arabic-joining-list.py ArabicShaping.txt Scripts.txt") -print (" *") -print (" * on files with these headers:") -print (" *") -for h in headers: - for l in h: - print (" * %s" % (l.strip ())) -print (" */") -print () -print ("#ifndef HB_OT_SHAPE_COMPLEX_ARABIC_JOINING_LIST_HH") -print ("#define HB_OT_SHAPE_COMPLEX_ARABIC_JOINING_LIST_HH") -print () - -print_has_arabic_joining (read (files[1]), read_joining_uu (files[0])) - -print () -print ("#endif /* HB_OT_SHAPE_COMPLEX_ARABIC_JOINING_LIST_HH */") -print () -print ("/* == End of generated function == */") diff --git a/harfbuzz/src/gen-arabic-table.py b/harfbuzz/src/gen-arabic-table.py deleted file mode 100755 index 621d5b6..0000000 --- a/harfbuzz/src/gen-arabic-table.py +++ /dev/null @@ -1,271 +0,0 @@ -#!/usr/bin/env python3 - -"""usage: ./gen-arabic-table.py ArabicShaping.txt UnicodeData.txt Blocks.txt - -Input files: -* https://unicode.org/Public/UCD/latest/ucd/ArabicShaping.txt -* https://unicode.org/Public/UCD/latest/ucd/UnicodeData.txt -* https://unicode.org/Public/UCD/latest/ucd/Blocks.txt -""" - -import os.path, sys - -if len (sys.argv) != 4: - sys.exit (__doc__) - -files = [open (x, encoding='utf-8') for x in sys.argv[1:]] - -headers = [[files[0].readline (), files[0].readline ()], [files[2].readline (), files[2].readline ()]] -headers.append (["UnicodeData.txt does not have a header."]) -while files[0].readline ().find ('##################') < 0: - pass - -blocks = {} -def read_blocks(f): - global blocks - for line in f: - - j = line.find ('#') - if j >= 0: - line = line[:j] - - fields = [x.strip () for x in line.split (';')] - if len (fields) == 1: - continue - - uu = fields[0].split ('..') - start = int (uu[0], 16) - if len (uu) == 1: - end = start - else: - end = int (uu[1], 16) - - t = fields[1] - - for u in range (start, end + 1): - blocks[u] = t - -def print_joining_table(f): - - values = {} - for line in f: - - if line[0] == '#': - continue - - fields = [x.strip () for x in line.split (';')] - if len (fields) == 1: - continue - - u = int (fields[0], 16) - - if fields[3] in ["ALAPH", "DALATH RISH"]: - value = "JOINING_GROUP_" + fields[3].replace(' ', '_') - else: - value = "JOINING_TYPE_" + fields[2] - values[u] = value - - short_value = {} - for value in sorted (set ([v for v in values.values ()] + ['JOINING_TYPE_X'])): - short = ''.join(x[0] for x in value.split('_')[2:]) - assert short not in short_value.values() - short_value[value] = short - - print () - for value,short in short_value.items(): - print ("#define %s %s" % (short, value)) - - uu = sorted(values.keys()) - num = len(values) - all_blocks = set([blocks[u] for u in uu]) - - last = -100000 - ranges = [] - for u in uu: - if u - last <= 1+16*5: - ranges[-1][-1] = u - else: - ranges.append([u,u]) - last = u - - print () - print ("static const uint8_t joining_table[] =") - print ("{") - last_block = None - offset = 0 - for start,end in ranges: - - print () - print ("#define joining_offset_0x%04xu %d" % (start, offset)) - - for u in range(start, end+1): - - block = blocks.get(u, last_block) - value = values.get(u, "JOINING_TYPE_X") - - if block != last_block or u == start: - if u != start: - print () - if block in all_blocks: - print ("\n /* %s */" % block) - else: - print ("\n /* FILLER */") - last_block = block - if u % 32 != 0: - print () - print (" /* %04X */" % (u//32*32), " " * (u % 32), end="") - - if u % 32 == 0: - print () - print (" /* %04X */ " % u, end="") - print ("%s," % short_value[value], end="") - print () - - offset += end - start + 1 - print () - occupancy = num * 100. / offset - print ("}; /* Table items: %d; occupancy: %d%% */" % (offset, occupancy)) - print () - - page_bits = 12 - print () - print ("static unsigned int") - print ("joining_type (hb_codepoint_t u)") - print ("{") - print (" switch (u >> %d)" % page_bits) - print (" {") - pages = set([u>>page_bits for u in [s for s,e in ranges]+[e for s,e in ranges]]) - for p in sorted(pages): - print (" case 0x%0Xu:" % p) - for (start,end) in ranges: - if p not in [start>>page_bits, end>>page_bits]: continue - offset = "joining_offset_0x%04xu" % start - print (" if (hb_in_range (u, 0x%04Xu, 0x%04Xu)) return joining_table[u - 0x%04Xu + %s];" % (start, end, start, offset)) - print (" break;") - print ("") - print (" default:") - print (" break;") - print (" }") - print (" return X;") - print ("}") - print () - for value,short in short_value.items(): - print ("#undef %s" % (short)) - print () - -def print_shaping_table(f): - - shapes = {} - ligatures = {} - names = {} - for line in f: - - fields = [x.strip () for x in line.split (';')] - if fields[5][0:1] != '<': - continue - - items = fields[5].split (' ') - shape, items = items[0][1:-1], tuple (int (x, 16) for x in items[1:]) - - if not shape in ['initial', 'medial', 'isolated', 'final']: - continue - - c = int (fields[0], 16) - if len (items) != 1: - # We only care about lam-alef ligatures - if len (items) != 2 or items[0] != 0x0644 or items[1] not in [0x0622, 0x0623, 0x0625, 0x0627]: - continue - - # Save ligature - names[c] = fields[1] - if items not in ligatures: - ligatures[items] = {} - ligatures[items][shape] = c - else: - # Save shape - if items[0] not in names: - names[items[0]] = fields[1] - else: - names[items[0]] = os.path.commonprefix ([names[items[0]], fields[1]]).strip () - if items[0] not in shapes: - shapes[items[0]] = {} - shapes[items[0]][shape] = c - - print () - print ("static const uint16_t shaping_table[][4] =") - print ("{") - - keys = shapes.keys () - min_u, max_u = min (keys), max (keys) - for u in range (min_u, max_u + 1): - s = [shapes[u][shape] if u in shapes and shape in shapes[u] else 0 - for shape in ['initial', 'medial', 'final', 'isolated']] - value = ', '.join ("0x%04Xu" % c for c in s) - print (" {%s}, /* U+%04X %s */" % (value, u, names[u] if u in names else "")) - - print ("};") - print () - print ("#define SHAPING_TABLE_FIRST 0x%04Xu" % min_u) - print ("#define SHAPING_TABLE_LAST 0x%04Xu" % max_u) - print () - - ligas = {} - for pair in ligatures.keys (): - for shape in ligatures[pair]: - c = ligatures[pair][shape] - if shape == 'isolated': - liga = (shapes[pair[0]]['initial'], shapes[pair[1]]['final']) - elif shape == 'final': - liga = (shapes[pair[0]]['medial'], shapes[pair[1]]['final']) - else: - raise Exception ("Unexpected shape", shape) - if liga[0] not in ligas: - ligas[liga[0]] = [] - ligas[liga[0]].append ((liga[1], c)) - max_i = max (len (ligas[l]) for l in ligas) - print () - print ("static const struct ligature_set_t {") - print (" uint16_t first;") - print (" struct ligature_pairs_t {") - print (" uint16_t second;") - print (" uint16_t ligature;") - print (" } ligatures[%d];" % max_i) - print ("} ligature_table[] =") - print ("{") - for first in sorted (ligas.keys ()): - - print (" { 0x%04Xu, {" % (first)) - for liga in ligas[first]: - print (" { 0x%04Xu, 0x%04Xu }, /* %s */" % (liga[0], liga[1], names[liga[1]])) - print (" }},") - - print ("};") - print () - - - -print ("/* == Start of generated table == */") -print ("/*") -print (" * The following table is generated by running:") -print (" *") -print (" * ./gen-arabic-table.py ArabicShaping.txt UnicodeData.txt Blocks.txt") -print (" *") -print (" * on files with these headers:") -print (" *") -for h in headers: - for l in h: - print (" * %s" % (l.strip())) -print (" */") -print () -print ("#ifndef HB_OT_SHAPE_COMPLEX_ARABIC_TABLE_HH") -print ("#define HB_OT_SHAPE_COMPLEX_ARABIC_TABLE_HH") -print () - -read_blocks (files[2]) -print_joining_table (files[0]) -print_shaping_table (files[1]) - -print () -print ("#endif /* HB_OT_SHAPE_COMPLEX_ARABIC_TABLE_HH */") -print () -print ("/* == End of generated table == */") diff --git a/harfbuzz/src/gen-def.py b/harfbuzz/src/gen-def.py deleted file mode 100755 index 33aa4df..0000000 --- a/harfbuzz/src/gen-def.py +++ /dev/null @@ -1,47 +0,0 @@ -#!/usr/bin/env python3 - -"usage: gen-def.py harfbuzz.def hb.h [hb-blob.h hb-buffer.h ...]" - -import os, re, sys - -if len (sys.argv) < 3: - sys.exit(__doc__) - -output_file = sys.argv[1] -header_paths = sys.argv[2:] - -headers_content = [] -for h in header_paths: - if h.endswith (".h"): - with open (h, encoding='utf-8') as f: headers_content.append (f.read ()) - -symbols = sorted (re.findall (r"^hb_\w+(?= \()", "\n".join (headers_content), re.M)) -if '--experimental-api' not in sys.argv: - # Move these to harfbuzz-sections.txt when got stable - experimental_symbols = \ -"""hb_font_draw_glyph -hb_draw_funcs_t -hb_draw_close_path_func_t -hb_draw_cubic_to_func_t -hb_draw_line_to_func_t -hb_draw_move_to_func_t -hb_draw_quadratic_to_func_t -hb_draw_funcs_create -hb_draw_funcs_destroy -hb_draw_funcs_is_immutable -hb_draw_funcs_make_immutable -hb_draw_funcs_reference -hb_draw_funcs_set_close_path_func -hb_draw_funcs_set_cubic_to_func -hb_draw_funcs_set_line_to_func -hb_draw_funcs_set_move_to_func -hb_draw_funcs_set_quadratic_to_func -hb_font_get_var_coords_design""".splitlines () - symbols = [x for x in symbols if x not in experimental_symbols] -symbols = "\n".join (symbols) - -result = symbols if os.getenv ('PLAIN_LIST', '') else """EXPORTS -%s -LIBRARY lib%s-0.dll""" % (symbols, output_file.replace ('src/', '').replace ('.def', '')) - -with open (output_file, "w") as f: f.write (result) diff --git a/harfbuzz/src/gen-emoji-table.py b/harfbuzz/src/gen-emoji-table.py deleted file mode 100755 index 0ee8fec..0000000 --- a/harfbuzz/src/gen-emoji-table.py +++ /dev/null @@ -1,98 +0,0 @@ -#!/usr/bin/env python3 - -"""usage: ./gen-emoji-table.py emoji-data.txt emoji-test.txt - -Input file: -* https://www.unicode.org/Public/UCD/latest/ucd/emoji/emoji-data.txt -* https://www.unicode.org/Public/emoji/latest/emoji-test.txt -""" - -import sys -from collections import OrderedDict -import packTab - -if len (sys.argv) != 3: - sys.exit (__doc__) - -f = open(sys.argv[1]) -header = [f.readline () for _ in range(10)] - -ranges = OrderedDict() -for line in f.readlines(): - line = line.strip() - if not line or line[0] == '#': - continue - rang, typ = [s.strip() for s in line.split('#')[0].split(';')[:2]] - - rang = [int(s, 16) for s in rang.split('..')] - if len(rang) > 1: - start, end = rang - else: - start = end = rang[0] - - if typ not in ranges: - ranges[typ] = [] - if ranges[typ] and ranges[typ][-1][1] == start - 1: - ranges[typ][-1] = (ranges[typ][-1][0], end) - else: - ranges[typ].append((start, end)) - - - -print ("/* == Start of generated table == */") -print ("/*") -print (" * The following tables are generated by running:") -print (" *") -print (" * ./gen-emoji-table.py emoji-data.txt") -print (" *") -print (" * on file with this header:") -print (" *") -for l in header: - print (" * %s" % (l.strip())) -print (" */") -print () -print ("#ifndef HB_UNICODE_EMOJI_TABLE_HH") -print ("#define HB_UNICODE_EMOJI_TABLE_HH") -print () -print ('#include "hb-unicode.hh"') -print () - -for typ, s in ranges.items(): - if typ != "Extended_Pictographic": continue - - arr = dict() - for start,end in s: - for i in range(start, end + 1): - arr[i] = 1 - - sol = packTab.pack_table(arr, 0, compression=3) - code = packTab.Code('_hb_emoji') - sol.genCode(code, 'is_'+typ) - code.print_c(linkage='static inline') - print() - -print () -print ("#endif /* HB_UNICODE_EMOJI_TABLE_HH */") -print () -print ("/* == End of generated table == */") - - -# Generate test file. -sequences = [] -with open(sys.argv[2]) as f: - for line in f.readlines(): - if "#" in line: - line = line[:line.index("#")] - if ";" in line: - line = line[:line.index(";")] - line = line.strip() - line = line.split(" ") - if len(line) < 2: - continue - sequences.append(line) - -with open("../test/shaping/data/in-house/tests/emoji-clusters.tests", "w") as f: - for sequence in sequences: - f.write("../fonts/AdobeBlank2.ttf:--no-glyph-names --no-positions --font-funcs=ot") - f.write(":" + ",".join(sequence)) - f.write(":[" + "|".join("1=0" for c in sequence) + "]\n") diff --git a/harfbuzz/src/gen-harfbuzzcc.py b/harfbuzz/src/gen-harfbuzzcc.py deleted file mode 100755 index b25bcc7..0000000 --- a/harfbuzz/src/gen-harfbuzzcc.py +++ /dev/null @@ -1,18 +0,0 @@ -#!/usr/bin/env python3 - -"This tool is intended to be used from meson" - -import os, sys, shutil - -if len (sys.argv) < 3: - sys.exit (__doc__) - -OUTPUT = sys.argv[1] -CURRENT_SOURCE_DIR = sys.argv[2] -sources = sys.argv[3:] - -with open (OUTPUT, "wb") as f: - f.write ("".join ('#include "{}"\n'.format (os.path.basename (x)) for x in sources if x.endswith (".cc")).encode ()) - -# copy it also to src/ -shutil.copyfile (OUTPUT, os.path.join (CURRENT_SOURCE_DIR, os.path.basename (OUTPUT))) diff --git a/harfbuzz/src/gen-hb-version.py b/harfbuzz/src/gen-hb-version.py deleted file mode 100755 index 4fac0a0..0000000 --- a/harfbuzz/src/gen-hb-version.py +++ /dev/null @@ -1,36 +0,0 @@ -#!/usr/bin/env python3 - -"This tool is intended to be used from meson" - -import os, sys, shutil, re - -if len (sys.argv) < 4: - sys.exit(__doc__) - -version = sys.argv[1] -major, minor, micro = version.split (".") - -OUTPUT = sys.argv[2] -INPUT = sys.argv[3] -CURRENT_SOURCE_DIR = os.path.dirname(INPUT) - -try: - with open (OUTPUT, "r", encoding='utf-8') as old_output: - for line in old_output: - old_version = re.match (r"#define HB_VERSION_STRING \"(\d.\d.\d)\"", line) - if old_version and old_version[1] == version: - sys.exit () -except IOError: - pass - -with open (INPUT, "r", encoding='utf-8') as template: - with open (OUTPUT, "wb") as output: - output.write (template.read () - .replace ("@HB_VERSION_MAJOR@", major) - .replace ("@HB_VERSION_MINOR@", minor) - .replace ("@HB_VERSION_MICRO@", micro) - .replace ("@HB_VERSION@", version) - .encode ()) - -# copy it also to src/ -shutil.copyfile (OUTPUT, os.path.join (CURRENT_SOURCE_DIR, os.path.basename (OUTPUT))) diff --git a/harfbuzz/src/gen-indic-table.py b/harfbuzz/src/gen-indic-table.py deleted file mode 100755 index 367e55e..0000000 --- a/harfbuzz/src/gen-indic-table.py +++ /dev/null @@ -1,274 +0,0 @@ -#!/usr/bin/env python3 - -"""usage: ./gen-indic-table.py IndicSyllabicCategory.txt IndicPositionalCategory.txt Blocks.txt - -Input files: -* https://unicode.org/Public/UCD/latest/ucd/IndicSyllabicCategory.txt -* https://unicode.org/Public/UCD/latest/ucd/IndicPositionalCategory.txt -* https://unicode.org/Public/UCD/latest/ucd/Blocks.txt -""" - -import sys - -if len (sys.argv) != 4: - sys.exit (__doc__) - -ALLOWED_SINGLES = [0x00A0, 0x25CC] -ALLOWED_BLOCKS = [ - 'Basic Latin', - 'Latin-1 Supplement', - 'Devanagari', - 'Bengali', - 'Gurmukhi', - 'Gujarati', - 'Oriya', - 'Tamil', - 'Telugu', - 'Kannada', - 'Malayalam', - 'Sinhala', - 'Myanmar', - 'Khmer', - 'Vedic Extensions', - 'General Punctuation', - 'Superscripts and Subscripts', - 'Devanagari Extended', - 'Myanmar Extended-B', - 'Myanmar Extended-A', -] - -files = [open (x, encoding='utf-8') for x in sys.argv[1:]] - -headers = [[f.readline () for i in range (2)] for f in files] - -data = [{} for _ in files] -values = [{} for _ in files] -for i, f in enumerate (files): - for line in f: - - j = line.find ('#') - if j >= 0: - line = line[:j] - - fields = [x.strip () for x in line.split (';')] - if len (fields) == 1: - continue - - uu = fields[0].split ('..') - start = int (uu[0], 16) - if len (uu) == 1: - end = start - else: - end = int (uu[1], 16) - - t = fields[1] - - for u in range (start, end + 1): - data[i][u] = t - values[i][t] = values[i].get (t, 0) + end - start + 1 - -# Merge data into one dict: -defaults = ('Other', 'Not_Applicable', 'No_Block') -for i,v in enumerate (defaults): - values[i][v] = values[i].get (v, 0) + 1 -combined = {} -for i,d in enumerate (data): - for u,v in d.items (): - if i == 2 and not u in combined: - continue - if not u in combined: - combined[u] = list (defaults) - combined[u][i] = v -combined = {k:v for k,v in combined.items() if k in ALLOWED_SINGLES or v[2] in ALLOWED_BLOCKS} -data = combined -del combined - -# Move the outliers NO-BREAK SPACE and DOTTED CIRCLE out -singles = {} -for u in ALLOWED_SINGLES: - singles[u] = data[u] - del data[u] - -print ("/* == Start of generated table == */") -print ("/*") -print (" * The following table is generated by running:") -print (" *") -print (" * ./gen-indic-table.py IndicSyllabicCategory.txt IndicPositionalCategory.txt Blocks.txt") -print (" *") -print (" * on files with these headers:") -print (" *") -for h in headers: - for l in h: - print (" * %s" % (l.strip())) -print (" */") -print () -print ('#include "hb.hh"') -print () -print ('#ifndef HB_NO_OT_SHAPE') -print () -print ('#include "hb-ot-shape-complex-indic.hh"') -print () - -# Shorten values -short = [{ - "Bindu": 'Bi', - "Cantillation_Mark": 'Ca', - "Joiner": 'ZWJ', - "Non_Joiner": 'ZWNJ', - "Number": 'Nd', - "Visarga": 'Vs', - "Vowel": 'Vo', - "Vowel_Dependent": 'M', - "Consonant_Prefixed": 'CPrf', - "Other": 'x', -},{ - "Not_Applicable": 'x', -}] -all_shorts = [{},{}] - -# Add some of the values, to make them more readable, and to avoid duplicates - - -for i in range (2): - for v,s in short[i].items (): - all_shorts[i][s] = v - -what = ["INDIC_SYLLABIC_CATEGORY", "INDIC_MATRA_CATEGORY"] -what_short = ["ISC", "IMC"] -print ('#pragma GCC diagnostic push') -print ('#pragma GCC diagnostic ignored "-Wunused-macros"') -cat_defs = [] -for i in range (2): - vv = sorted (values[i].keys ()) - for v in vv: - v_no_and = v.replace ('_And_', '_') - if v in short[i]: - s = short[i][v] - else: - s = ''.join ([c for c in v_no_and if ord ('A') <= ord (c) <= ord ('Z')]) - if s in all_shorts[i]: - raise Exception ("Duplicate short value alias", v, all_shorts[i][s]) - all_shorts[i][s] = v - short[i][v] = s - cat_defs.append ((what_short[i] + '_' + s, what[i] + '_' + v.upper (), str (values[i][v]), v)) - -maxlen_s = max ([len (c[0]) for c in cat_defs]) -maxlen_l = max ([len (c[1]) for c in cat_defs]) -maxlen_n = max ([len (c[2]) for c in cat_defs]) -for s in what_short: - print () - for c in [c for c in cat_defs if s in c[0]]: - print ("#define %s %s /* %s chars; %s */" % - (c[0].ljust (maxlen_s), c[1].ljust (maxlen_l), c[2].rjust (maxlen_n), c[3])) -print () -print ('#pragma GCC diagnostic pop') -print () -print ("#define _(S,M) INDIC_COMBINE_CATEGORIES (ISC_##S, IMC_##M)") -print () -print () - -total = 0 -used = 0 -last_block = None -def print_block (block, start, end, data): - global total, used, last_block - if block and block != last_block: - print () - print () - print (" /* %s */" % block) - num = 0 - assert start % 8 == 0 - assert (end+1) % 8 == 0 - for u in range (start, end+1): - if u % 8 == 0: - print () - print (" /* %04X */" % u, end="") - if u in data: - num += 1 - d = data.get (u, defaults) - print ("%9s" % ("_(%s,%s)," % (short[0][d[0]], short[1][d[1]])), end="") - - total += end - start + 1 - used += num - if block: - last_block = block - -uu = sorted (data.keys ()) - -last = -100000 -num = 0 -offset = 0 -starts = [] -ends = [] -print ("static const uint16_t indic_table[] = {") -for u in uu: - if u <= last: - continue - block = data[u][2] - - start = u//8*8 - end = start+1 - while end in uu and block == data[end][2]: - end += 1 - end = (end-1)//8*8 + 7 - - if start != last + 1: - if start - last <= 1+16*3: - print_block (None, last+1, start-1, data) - else: - if last >= 0: - ends.append (last + 1) - offset += ends[-1] - starts[-1] - print () - print () - print ("#define indic_offset_0x%04xu %d" % (start, offset)) - starts.append (start) - - print_block (block, start, end, data) - last = end -ends.append (last + 1) -offset += ends[-1] - starts[-1] -print () -print () -occupancy = used * 100. / total -page_bits = 12 -print ("}; /* Table items: %d; occupancy: %d%% */" % (offset, occupancy)) -print () -print ("uint16_t") -print ("hb_indic_get_categories (hb_codepoint_t u)") -print ("{") -print (" switch (u >> %d)" % page_bits) -print (" {") -pages = set ([u>>page_bits for u in starts+ends+list (singles.keys ())]) -for p in sorted(pages): - print (" case 0x%0Xu:" % p) - for u,d in singles.items (): - if p != u>>page_bits: continue - print (" if (unlikely (u == 0x%04Xu)) return _(%s,%s);" % (u, short[0][d[0]], short[1][d[1]])) - for (start,end) in zip (starts, ends): - if p not in [start>>page_bits, end>>page_bits]: continue - offset = "indic_offset_0x%04xu" % start - print (" if (hb_in_range (u, 0x%04Xu, 0x%04Xu)) return indic_table[u - 0x%04Xu + %s];" % (start, end-1, start, offset)) - print (" break;") - print ("") -print (" default:") -print (" break;") -print (" }") -print (" return _(x,x);") -print ("}") -print () -print ("#undef _") -for i in range (2): - print () - vv = sorted (values[i].keys ()) - for v in vv: - print ("#undef %s_%s" % - (what_short[i], short[i][v])) -print () -print ('#endif') -print () -print ("/* == End of generated table == */") - -# Maintain at least 30% occupancy in the table */ -if occupancy < 30: - raise Exception ("Table too sparse, please investigate: ", occupancy) diff --git a/harfbuzz/src/gen-os2-unicode-ranges.py b/harfbuzz/src/gen-os2-unicode-ranges.py deleted file mode 100755 index 21aa1b9..0000000 --- a/harfbuzz/src/gen-os2-unicode-ranges.py +++ /dev/null @@ -1,50 +0,0 @@ -#!/usr/bin/env python3 - -"""Generates the code for a sorted unicode range array as used in hb-ot-os2-unicode-ranges.hh -Input is a tab seperated list of unicode ranges from the otspec -(https://docs.microsoft.com/en-us/typography/opentype/spec/os2#ur). -""" - -import re -import sys - - -print ("""static OS2Range _hb_os2_unicode_ranges[] = -{""") - -args = sys.argv[1:] -input_file = args[0] - -with open (input_file, mode="r", encoding="utf-8") as f: - - all_ranges = [] - current_bit = 0 - while True: - line = f.readline().strip() - if not line: - break - fields = re.split(r'\t+', line) - if len(fields) == 3: - current_bit = fields[0] - fields = fields[1:] - elif len(fields) > 3: - raise Exception("bad input :(.") - - name = fields[0] - ranges = re.split("-", fields[1]) - if len(ranges) != 2: - raise Exception("bad input :(.") - - v = tuple((int(ranges[0], 16), int(ranges[1], 16), int(current_bit), name)) - all_ranges.append(v) - -all_ranges = sorted(all_ranges, key=lambda t: t[0]) - -for ranges in all_ranges: - start = ("0x%X" % ranges[0]).rjust(8) - end = ("0x%X" % ranges[1]).rjust(8) - bit = ("%s" % ranges[2]).rjust(3) - - print (" {%s, %s, %s}, // %s" % (start, end, bit, ranges[3])) - -print ("""};""") diff --git a/harfbuzz/src/gen-ragel-artifacts.py b/harfbuzz/src/gen-ragel-artifacts.py deleted file mode 100755 index 8bbb375..0000000 --- a/harfbuzz/src/gen-ragel-artifacts.py +++ /dev/null @@ -1,25 +0,0 @@ -#!/usr/bin/env python3 - -"This tool is intended to be used from meson" - -import os, os.path, sys, subprocess, shutil - -ragel = sys.argv[1] -if not ragel: - sys.exit ('You have to install ragel if you are going to develop HarfBuzz itself') - -if len (sys.argv) < 4: - sys.exit (__doc__) - -OUTPUT = sys.argv[2] -CURRENT_SOURCE_DIR = sys.argv[3] -INPUT = sys.argv[4] - -outdir = os.path.dirname (OUTPUT) -shutil.copy (INPUT, outdir) -rl = os.path.basename (INPUT) -hh = rl.replace ('.rl', '.hh') -subprocess.Popen (ragel.split() + ['-e', '-F1', '-o', hh, rl], cwd=outdir).wait () - -# copy it also to src/ -shutil.copyfile (os.path.join (outdir, hh), os.path.join (CURRENT_SOURCE_DIR, hh)) diff --git a/harfbuzz/src/gen-tag-table.py b/harfbuzz/src/gen-tag-table.py deleted file mode 100755 index cb612b9..0000000 --- a/harfbuzz/src/gen-tag-table.py +++ /dev/null @@ -1,1157 +0,0 @@ -#!/usr/bin/env python3 - -"""Generator of the mapping from OpenType tags to BCP 47 tags and vice -versa. - -It creates a ``const LangTag[]``, matching the tags from the OpenType -languages system tag list to the language subtags of the BCP 47 language -subtag registry, with some manual adjustments. The mappings are -supplemented with macrolanguages' sublanguages and retired codes' -replacements, according to BCP 47 and some manual additions where BCP 47 -omits a retired code entirely. - -Also generated is a function, ``hb_ot_ambiguous_tag_to_language``, -intended for use by ``hb_ot_tag_to_language``. It maps OpenType tags -back to BCP 47 tags. Ambiguous OpenType tags (those that correspond to -multiple BCP 47 tags) are listed here, except when the alphabetically -first BCP 47 tag happens to be the chosen disambiguated tag. In that -case, the fallback behavior will choose the right tag anyway. - -usage: ./gen-tag-table.py languagetags language-subtag-registry - -Input files: -* https://docs.microsoft.com/en-us/typography/opentype/spec/languagetags -* https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry -""" - -import collections -import html -from html.parser import HTMLParser -import itertools -import re -import sys -import unicodedata - -if len (sys.argv) != 3: - sys.exit (__doc__) - -def expect (condition, message=None): - if not condition: - if message is None: - raise AssertionError - raise AssertionError (message) - -def write (s): - sys.stdout.flush () - sys.stdout.buffer.write (s.encode ('utf-8')) - -DEFAULT_LANGUAGE_SYSTEM = '' - -# from https://www-01.sil.org/iso639-3/iso-639-3.tab -ISO_639_3_TO_1 = { - 'aar': 'aa', - 'abk': 'ab', - 'afr': 'af', - 'aka': 'ak', - 'amh': 'am', - 'ara': 'ar', - 'arg': 'an', - 'asm': 'as', - 'ava': 'av', - 'ave': 'ae', - 'aym': 'ay', - 'aze': 'az', - 'bak': 'ba', - 'bam': 'bm', - 'bel': 'be', - 'ben': 'bn', - 'bis': 'bi', - 'bod': 'bo', - 'bos': 'bs', - 'bre': 'br', - 'bul': 'bg', - 'cat': 'ca', - 'ces': 'cs', - 'cha': 'ch', - 'che': 'ce', - 'chu': 'cu', - 'chv': 'cv', - 'cor': 'kw', - 'cos': 'co', - 'cre': 'cr', - 'cym': 'cy', - 'dan': 'da', - 'deu': 'de', - 'div': 'dv', - 'dzo': 'dz', - 'ell': 'el', - 'eng': 'en', - 'epo': 'eo', - 'est': 'et', - 'eus': 'eu', - 'ewe': 'ee', - 'fao': 'fo', - 'fas': 'fa', - 'fij': 'fj', - 'fin': 'fi', - 'fra': 'fr', - 'fry': 'fy', - 'ful': 'ff', - 'gla': 'gd', - 'gle': 'ga', - 'glg': 'gl', - 'glv': 'gv', - 'grn': 'gn', - 'guj': 'gu', - 'hat': 'ht', - 'hau': 'ha', - 'hbs': 'sh', - 'heb': 'he', - 'her': 'hz', - 'hin': 'hi', - 'hmo': 'ho', - 'hrv': 'hr', - 'hun': 'hu', - 'hye': 'hy', - 'ibo': 'ig', - 'ido': 'io', - 'iii': 'ii', - 'iku': 'iu', - 'ile': 'ie', - 'ina': 'ia', - 'ind': 'id', - 'ipk': 'ik', - 'isl': 'is', - 'ita': 'it', - 'jav': 'jv', - 'jpn': 'ja', - 'kal': 'kl', - 'kan': 'kn', - 'kas': 'ks', - 'kat': 'ka', - 'kau': 'kr', - 'kaz': 'kk', - 'khm': 'km', - 'kik': 'ki', - 'kin': 'rw', - 'kir': 'ky', - 'kom': 'kv', - 'kon': 'kg', - 'kor': 'ko', - 'kua': 'kj', - 'kur': 'ku', - 'lao': 'lo', - 'lat': 'la', - 'lav': 'lv', - 'lim': 'li', - 'lin': 'ln', - 'lit': 'lt', - 'ltz': 'lb', - 'lub': 'lu', - 'lug': 'lg', - 'mah': 'mh', - 'mal': 'ml', - 'mar': 'mr', - 'mkd': 'mk', - 'mlg': 'mg', - 'mlt': 'mt', - 'mol': 'mo', - 'mon': 'mn', - 'mri': 'mi', - 'msa': 'ms', - 'mya': 'my', - 'nau': 'na', - 'nav': 'nv', - 'nbl': 'nr', - 'nde': 'nd', - 'ndo': 'ng', - 'nep': 'ne', - 'nld': 'nl', - 'nno': 'nn', - 'nob': 'nb', - 'nor': 'no', - 'nya': 'ny', - 'oci': 'oc', - 'oji': 'oj', - 'ori': 'or', - 'orm': 'om', - 'oss': 'os', - 'pan': 'pa', - 'pli': 'pi', - 'pol': 'pl', - 'por': 'pt', - 'pus': 'ps', - 'que': 'qu', - 'roh': 'rm', - 'ron': 'ro', - 'run': 'rn', - 'rus': 'ru', - 'sag': 'sg', - 'san': 'sa', - 'sin': 'si', - 'slk': 'sk', - 'slv': 'sl', - 'sme': 'se', - 'smo': 'sm', - 'sna': 'sn', - 'snd': 'sd', - 'som': 'so', - 'sot': 'st', - 'spa': 'es', - 'sqi': 'sq', - 'srd': 'sc', - 'srp': 'sr', - 'ssw': 'ss', - 'sun': 'su', - 'swa': 'sw', - 'swe': 'sv', - 'tah': 'ty', - 'tam': 'ta', - 'tat': 'tt', - 'tel': 'te', - 'tgk': 'tg', - 'tgl': 'tl', - 'tha': 'th', - 'tir': 'ti', - 'ton': 'to', - 'tsn': 'tn', - 'tso': 'ts', - 'tuk': 'tk', - 'tur': 'tr', - 'twi': 'tw', - 'uig': 'ug', - 'ukr': 'uk', - 'urd': 'ur', - 'uzb': 'uz', - 'ven': 've', - 'vie': 'vi', - 'vol': 'vo', - 'wln': 'wa', - 'wol': 'wo', - 'xho': 'xh', - 'yid': 'yi', - 'yor': 'yo', - 'zha': 'za', - 'zho': 'zh', - 'zul': 'zu', -} - -class LanguageTag (object): - """A BCP 47 language tag. - - Attributes: - subtags (List[str]): The list of subtags in this tag. - grandfathered (bool): Whether this tag is grandfathered. If - ``true``, the entire lowercased tag is the ``language`` - and the other subtag fields are empty. - language (str): The language subtag. - script (str): The script subtag. - region (str): The region subtag. - variant (str): The variant subtag. - - Args: - tag (str): A BCP 47 language tag. - - """ - def __init__ (self, tag): - global bcp_47 - self.subtags = tag.lower ().split ('-') - self.grandfathered = tag.lower () in bcp_47.grandfathered - if self.grandfathered: - self.language = tag.lower () - self.script = '' - self.region = '' - self.variant = '' - else: - self.language = self.subtags[0] - self.script = self._find_first (lambda s: len (s) == 4 and s[0] > '9', self.subtags) - self.region = self._find_first (lambda s: len (s) == 2 and s[0] > '9' or len (s) == 3 and s[0] <= '9', self.subtags[1:]) - self.variant = self._find_first (lambda s: len (s) > 4 or len (s) == 4 and s[0] <= '9', self.subtags) - - def __str__(self): - return '-'.join(self.subtags) - - def __repr__ (self): - return 'LanguageTag(%r)' % str(self) - - @staticmethod - def _find_first (function, sequence): - try: - return next (iter (filter (function, sequence))) - except StopIteration: - return None - - def is_complex (self): - """Return whether this tag is too complex to represent as a - ``LangTag`` in the generated code. - - Complex tags need to be handled in - ``hb_ot_tags_from_complex_language``. - - Returns: - Whether this tag is complex. - """ - return not (len (self.subtags) == 1 - or self.grandfathered - and len (self.subtags[1]) != 3 - and ot.from_bcp_47[self.subtags[0]] == ot.from_bcp_47[self.language]) - - def get_group (self): - """Return the group into which this tag should be categorized in - ``hb_ot_tags_from_complex_language``. - - The group is the first letter of the tag, or ``'und'`` if this tag - should not be matched in a ``switch`` statement in the generated - code. - - Returns: - This tag's group. - """ - return ('und' - if (self.language == 'und' - or self.variant in bcp_47.prefixes and len (bcp_47.prefixes[self.variant]) == 1) - else self.language[0]) - -class OpenTypeRegistryParser (HTMLParser): - """A parser for the OpenType language system tag registry. - - Attributes: - header (str): The "last updated" line of the registry. - names (Mapping[str, str]): A map of language system tags to the - names they are given in the registry. - ranks (DefaultDict[str, int]): A map of language system tags to - numbers. If a single BCP 47 tag corresponds to multiple - OpenType tags, the tags are ordered in increasing order by - rank. The rank is based on the number of BCP 47 tags - associated with a tag, though it may be manually modified. - to_bcp_47 (DefaultDict[str, AbstractSet[str]]): A map of - OpenType language system tags to sets of BCP 47 tags. - from_bcp_47 (DefaultDict[str, AbstractSet[str]]): ``to_bcp_47`` - inverted. Its values start as unsorted sets; - ``sort_languages`` converts them to sorted lists. - - """ - def __init__ (self): - HTMLParser.__init__ (self) - self.header = '' - self.names = {} - self.ranks = collections.defaultdict (int) - self.to_bcp_47 = collections.defaultdict (set) - self.from_bcp_47 = collections.defaultdict (set) - # Whether the parser is in a element - self._td = False - # Whether the parser is after a
element within the current element - self._br = False - # The text of the elements of the current element. - self._current_tr = [] - - def handle_starttag (self, tag, attrs): - if tag == 'br': - self._br = True - elif tag == 'meta': - for attr, value in attrs: - if attr == 'name' and value == 'updated_at': - self.header = self.get_starttag_text () - break - elif tag == 'td': - self._td = True - self._current_tr.append ('') - elif tag == 'tr': - self._br = False - self._current_tr = [] - - def handle_endtag (self, tag): - if tag == 'td': - self._td = False - elif tag == 'tr' and self._current_tr: - expect (2 <= len (self._current_tr) <= 3) - name = self._current_tr[0].strip () - tag = self._current_tr[1].strip ("\t\n\v\f\r '") - rank = 0 - if len (tag) > 4: - expect (tag.endswith (' (deprecated)'), 'ill-formed OpenType tag: %s' % tag) - name += ' (deprecated)' - tag = tag.split (' ')[0] - rank = 1 - self.names[tag] = re.sub (' languages$', '', name) - if not self._current_tr[2]: - return - iso_codes = self._current_tr[2].strip () - self.to_bcp_47[tag].update (ISO_639_3_TO_1.get (code, code) for code in iso_codes.replace (' ', '').split (',')) - rank += 2 * len (self.to_bcp_47[tag]) - self.ranks[tag] = rank - - def handle_data (self, data): - if self._td and not self._br: - self._current_tr[-1] += data - - def handle_charref (self, name): - self.handle_data (html.unescape ('&#%s;' % name)) - - def handle_entityref (self, name): - self.handle_data (html.unescape ('&%s;' % name)) - - def parse (self, filename): - """Parse the OpenType language system tag registry. - - Args: - filename (str): The file name of the registry. - """ - with open (filename, encoding='utf-8') as f: - self.feed (f.read ()) - expect (self.header) - for tag, iso_codes in self.to_bcp_47.items (): - for iso_code in iso_codes: - self.from_bcp_47[iso_code].add (tag) - - def add_language (self, bcp_47_tag, ot_tag): - """Add a language as if it were in the registry. - - Args: - bcp_47_tag (str): A BCP 47 tag. If the tag is more than just - a language subtag, and if the language subtag is a - macrolanguage, then new languages are added corresponding - to the macrolanguages' individual languages with the - remainder of the tag appended. - ot_tag (str): An OpenType language system tag. - """ - global bcp_47 - self.to_bcp_47[ot_tag].add (bcp_47_tag) - self.from_bcp_47[bcp_47_tag].add (ot_tag) - if bcp_47_tag.lower () not in bcp_47.grandfathered: - try: - [macrolanguage, suffix] = bcp_47_tag.split ('-', 1) - if macrolanguage in bcp_47.macrolanguages: - s = set () - for language in bcp_47.macrolanguages[macrolanguage]: - if language.lower () not in bcp_47.grandfathered: - s.add ('%s-%s' % (language, suffix)) - bcp_47.macrolanguages['%s-%s' % (macrolanguage, suffix)] = s - except ValueError: - pass - - @staticmethod - def _remove_language (tag_1, dict_1, dict_2): - for tag_2 in dict_1.pop (tag_1): - dict_2[tag_2].remove (tag_1) - if not dict_2[tag_2]: - del dict_2[tag_2] - - def remove_language_ot (self, ot_tag): - """Remove an OpenType tag from the registry. - - Args: - ot_tag (str): An OpenType tag. - """ - self._remove_language (ot_tag, self.to_bcp_47, self.from_bcp_47) - - def remove_language_bcp_47 (self, bcp_47_tag): - """Remove a BCP 47 tag from the registry. - - Args: - bcp_47_tag (str): A BCP 47 tag. - """ - self._remove_language (bcp_47_tag, self.from_bcp_47, self.to_bcp_47) - - def inherit_from_macrolanguages (self): - """Copy mappings from macrolanguages to individual languages. - - If a BCP 47 tag for an individual mapping has no OpenType - mapping but its macrolanguage does, the mapping is copied to - the individual language. For example, als (Tosk Albanian) has no - explicit mapping, so it inherits from sq (Albanian) the mapping - to SQI. - - If a BCP 47 tag for a macrolanguage has no OpenType mapping but - all of its individual languages do and they all map to the same - tags, the mapping is copied to the macrolanguage. - """ - global bcp_47 - original_ot_from_bcp_47 = dict (self.from_bcp_47) - for macrolanguage, languages in dict (bcp_47.macrolanguages).items (): - ot_macrolanguages = set (original_ot_from_bcp_47.get (macrolanguage, set ())) - if ot_macrolanguages: - for ot_macrolanguage in ot_macrolanguages: - for language in languages: - self.add_language (language, ot_macrolanguage) - self.ranks[ot_macrolanguage] += 1 - else: - for language in languages: - if language in original_ot_from_bcp_47: - if ot_macrolanguages: - ml = original_ot_from_bcp_47[language] - if ml: - ot_macrolanguages &= ml - else: - pass - else: - ot_macrolanguages |= original_ot_from_bcp_47[language] - else: - ot_macrolanguages.clear () - if not ot_macrolanguages: - break - for ot_macrolanguage in ot_macrolanguages: - self.add_language (macrolanguage, ot_macrolanguage) - - def sort_languages (self): - """Sort the values of ``from_bcp_47`` in ascending rank order.""" - for language, tags in self.from_bcp_47.items (): - self.from_bcp_47[language] = sorted (tags, - key=lambda t: (self.ranks[t] + rank_delta (language, t), t)) - -ot = OpenTypeRegistryParser () - -class BCP47Parser (object): - """A parser for the BCP 47 subtag registry. - - Attributes: - header (str): The "File-Date" line of the registry. - names (Mapping[str, str]): A map of subtags to the names they - are given in the registry. Each value is a - ``'\\n'``-separated list of names. - scopes (Mapping[str, str]): A map of language subtags to strings - suffixed to language names, including suffixes to explain - language scopes. - macrolanguages (DefaultDict[str, AbstractSet[str]]): A map of - language subtags to the sets of language subtags which - inherit from them. See - ``OpenTypeRegistryParser.inherit_from_macrolanguages``. - prefixes (DefaultDict[str, AbstractSet[str]]): A map of variant - subtags to their prefixes. - grandfathered (AbstractSet[str]): The set of grandfathered tags, - normalized to lowercase. - - """ - def __init__ (self): - self.header = '' - self.names = {} - self.scopes = {} - self.macrolanguages = collections.defaultdict (set) - self.prefixes = collections.defaultdict (set) - self.grandfathered = set () - - def parse (self, filename): - """Parse the BCP 47 subtag registry. - - Args: - filename (str): The file name of the registry. - """ - with open (filename, encoding='utf-8') as f: - subtag_type = None - subtag = None - deprecated = False - has_preferred_value = False - line_buffer = '' - for line in itertools.chain (f, ['']): - line = line.rstrip () - if line.startswith (' '): - line_buffer += line[1:] - continue - line, line_buffer = line_buffer, line - if line.startswith ('Type: '): - subtag_type = line.split (' ')[1] - deprecated = False - has_preferred_value = False - elif line.startswith ('Subtag: ') or line.startswith ('Tag: '): - subtag = line.split (' ')[1] - if subtag_type == 'grandfathered': - self.grandfathered.add (subtag.lower ()) - elif line.startswith ('Description: '): - description = line.split (' ', 1)[1].replace (' (individual language)', '') - description = re.sub (' (\(family\)|\((individual |macro)language\)|languages)$', '', - description) - if subtag in self.names: - self.names[subtag] += '\n' + description - else: - self.names[subtag] = description - elif subtag_type == 'language' or subtag_type == 'grandfathered': - if line.startswith ('Scope: '): - scope = line.split (' ')[1] - if scope == 'macrolanguage': - scope = ' [macrolanguage]' - elif scope == 'collection': - scope = ' [family]' - else: - continue - self.scopes[subtag] = scope - elif line.startswith ('Deprecated: '): - self.scopes[subtag] = ' (retired code)' + self.scopes.get (subtag, '') - deprecated = True - elif deprecated and line.startswith ('Comments: see '): - # If a subtag is split into multiple replacement subtags, - # it essentially represents a macrolanguage. - for language in line.replace (',', '').split (' ')[2:]: - self._add_macrolanguage (subtag, language) - elif line.startswith ('Preferred-Value: '): - # If a subtag is deprecated in favor of a single replacement subtag, - # it is either a dialect or synonym of the preferred subtag. Either - # way, it is close enough to the truth to consider the replacement - # the macrolanguage of the deprecated language. - has_preferred_value = True - macrolanguage = line.split (' ')[1] - self._add_macrolanguage (macrolanguage, subtag) - elif not has_preferred_value and line.startswith ('Macrolanguage: '): - self._add_macrolanguage (line.split (' ')[1], subtag) - elif subtag_type == 'variant': - if line.startswith ('Deprecated: '): - self.scopes[subtag] = ' (retired code)' + self.scopes.get (subtag, '') - elif line.startswith ('Prefix: '): - self.prefixes[subtag].add (line.split (' ')[1]) - elif line.startswith ('File-Date: '): - self.header = line - expect (self.header) - - def _add_macrolanguage (self, macrolanguage, language): - global ot - if language not in ot.from_bcp_47: - for l in self.macrolanguages.get (language, set ()): - self._add_macrolanguage (macrolanguage, l) - if macrolanguage not in ot.from_bcp_47: - for ls in list (self.macrolanguages.values ()): - if macrolanguage in ls: - ls.add (language) - return - self.macrolanguages[macrolanguage].add (language) - - def remove_extra_macrolanguages (self): - """Make every language have at most one macrolanguage.""" - inverted = collections.defaultdict (list) - for macrolanguage, languages in self.macrolanguages.items (): - for language in languages: - inverted[language].append (macrolanguage) - for language, macrolanguages in inverted.items (): - if len (macrolanguages) > 1: - macrolanguages.sort (key=lambda ml: len (self.macrolanguages[ml])) - biggest_macrolanguage = macrolanguages.pop () - for macrolanguage in macrolanguages: - self._add_macrolanguage (biggest_macrolanguage, macrolanguage) - - def _get_name_piece (self, subtag): - """Return the first name of a subtag plus its scope suffix. - - Args: - subtag (str): A BCP 47 subtag. - - Returns: - The name form of ``subtag``. - """ - return self.names[subtag].split ('\n')[0] + self.scopes.get (subtag, '') - - def get_name (self, lt): - """Return the names of the subtags in a language tag. - - Args: - lt (LanguageTag): A BCP 47 language tag. - - Returns: - The name form of ``lt``. - """ - name = self._get_name_piece (lt.language) - if lt.script: - name += '; ' + self._get_name_piece (lt.script.title ()) - if lt.region: - name += '; ' + self._get_name_piece (lt.region.upper ()) - if lt.variant: - name += '; ' + self._get_name_piece (lt.variant) - return name - -bcp_47 = BCP47Parser () - -ot.parse (sys.argv[1]) -bcp_47.parse (sys.argv[2]) - -ot.add_language ('ary', 'MOR') - -ot.add_language ('ath', 'ATH') - -ot.add_language ('bai', 'BML') - -ot.ranks['BAL'] = ot.ranks['KAR'] + 1 - -ot.add_language ('ber', 'BBR') - -ot.remove_language_ot ('PGR') -ot.add_language ('el-polyton', 'PGR') - -bcp_47.macrolanguages['et'] = {'ekk'} - -bcp_47.names['flm'] = 'Falam Chin' -bcp_47.scopes['flm'] = ' (retired code)' -bcp_47.macrolanguages['flm'] = {'cfm'} - -ot.ranks['FNE'] = ot.ranks['TNE'] + 1 - -ot.add_language ('und-fonipa', 'IPPH') - -ot.add_language ('und-fonnapa', 'APPH') - -ot.remove_language_ot ('IRT') -ot.add_language ('ga-Latg', 'IRT') - -ot.add_language ('hy-arevmda', 'HYE') - -ot.remove_language_ot ('KGE') -ot.add_language ('und-Geok', 'KGE') - -bcp_47.macrolanguages['id'] = {'in'} - -bcp_47.macrolanguages['ijo'] = {'ijc'} - -ot.add_language ('kht', 'KHN') -ot.names['KHN'] = ot.names['KHT'] + ' (Microsoft fonts)' -ot.ranks['KHN'] = ot.ranks['KHT'] + 1 - -ot.ranks['LCR'] = ot.ranks['MCR'] + 1 - -ot.names['MAL'] = 'Malayalam Traditional' -ot.ranks['MLR'] += 1 - -bcp_47.names['mhv'] = 'Arakanese' -bcp_47.scopes['mhv'] = ' (retired code)' - -ot.add_language ('mnw-TH', 'MONT') - -ot.add_language ('no', 'NOR') - -ot.add_language ('oc-provenc', 'PRO') - -ot.add_language ('qu', 'QUZ') -ot.add_language ('qub', 'QWH') -ot.add_language ('qud', 'QVI') -ot.add_language ('qug', 'QVI') -ot.add_language ('qul', 'QUH') -ot.add_language ('qup', 'QVI') -ot.add_language ('qur', 'QWH') -ot.add_language ('qus', 'QUH') -ot.add_language ('quw', 'QVI') -ot.add_language ('qux', 'QWH') -ot.add_language ('qva', 'QWH') -ot.add_language ('qvh', 'QWH') -ot.add_language ('qvj', 'QVI') -ot.add_language ('qvl', 'QWH') -ot.add_language ('qvm', 'QWH') -ot.add_language ('qvn', 'QWH') -ot.add_language ('qvo', 'QVI') -ot.add_language ('qvp', 'QWH') -ot.add_language ('qvw', 'QWH') -ot.add_language ('qvz', 'QVI') -ot.add_language ('qwa', 'QWH') -ot.add_language ('qws', 'QWH') -ot.add_language ('qxa', 'QWH') -ot.add_language ('qxc', 'QWH') -ot.add_language ('qxh', 'QWH') -ot.add_language ('qxl', 'QVI') -ot.add_language ('qxn', 'QWH') -ot.add_language ('qxo', 'QWH') -ot.add_language ('qxr', 'QVI') -ot.add_language ('qxt', 'QWH') -ot.add_language ('qxw', 'QWH') - -bcp_47.macrolanguages['ro'].remove ('mo') -bcp_47.macrolanguages['ro-MD'].add ('mo') - -ot.remove_language_ot ('SYRE') -ot.remove_language_ot ('SYRJ') -ot.remove_language_ot ('SYRN') -ot.add_language ('und-Syre', 'SYRE') -ot.add_language ('und-Syrj', 'SYRJ') -ot.add_language ('und-Syrn', 'SYRN') - -bcp_47.names['xst'] = "Silt'e" -bcp_47.scopes['xst'] = ' (retired code)' -bcp_47.macrolanguages['xst'] = {'stv', 'wle'} - -ot.add_language ('xwo', 'TOD') - -ot.remove_language_ot ('ZHH') -ot.remove_language_ot ('ZHP') -ot.remove_language_ot ('ZHT') -ot.remove_language_ot ('ZHTM') -bcp_47.macrolanguages['zh'].remove ('lzh') -bcp_47.macrolanguages['zh'].remove ('yue') -ot.add_language ('zh-Hant-MO', 'ZHH') -ot.add_language ('zh-Hant-MO', 'ZHTM') -ot.add_language ('zh-Hant-HK', 'ZHH') -ot.add_language ('zh-Hans', 'ZHS') -ot.add_language ('zh-Hant', 'ZHT') -ot.add_language ('zh-HK', 'ZHH') -ot.add_language ('zh-MO', 'ZHH') -ot.add_language ('zh-MO', 'ZHTM') -ot.add_language ('zh-TW', 'ZHT') -ot.add_language ('lzh', 'ZHT') -ot.add_language ('lzh-Hans', 'ZHS') -ot.add_language ('yue', 'ZHH') -ot.add_language ('yue-Hans', 'ZHS') - -bcp_47.macrolanguages['zom'] = {'yos'} - -def rank_delta (bcp_47, ot): - """Return a delta to apply to a BCP 47 tag's rank. - - Most OpenType tags have a constant rank, but a few have ranks that - depend on the BCP 47 tag. - - Args: - bcp_47 (str): A BCP 47 tag. - ot (str): An OpenType tag to. - - Returns: - A number to add to ``ot``'s rank when sorting ``bcp_47``'s - OpenType equivalents. - """ - if bcp_47 == 'ak' and ot == 'AKA': - return -1 - if bcp_47 == 'tw' and ot == 'TWI': - return -1 - return 0 - -disambiguation = { - 'ALT': 'alt', - 'ARK': 'rki', - 'ATH': 'ath', - 'BHI': 'bhb', - 'BLN': 'bjt', - 'BTI': 'beb', - 'CCHN': 'cco', - 'CMR': 'swb', - 'CPP': 'crp', - 'CRR': 'crx', - 'DUJ': 'dwu', - 'ECR': 'crj', - 'HAL': 'cfm', - 'HND': 'hnd', - 'HYE': 'hyw', - 'KIS': 'kqs', - 'KUI': 'uki', - 'LRC': 'bqi', - 'NDB': 'nd', - 'NIS': 'njz', - 'PLG': 'pce', - 'PRO': 'pro', - 'QIN': 'bgr', - 'QUH': 'quh', - 'QVI': 'qvi', - 'QWH': 'qwh', - 'SIG': 'stv', - 'SRB': 'sr', - 'SXT': 'xnj', - 'ZHH': 'zh-HK', - 'ZHS': 'zh-Hans', - 'ZHT': 'zh-Hant', - 'ZHTM': 'zh-MO', -} - -ot.inherit_from_macrolanguages () -bcp_47.remove_extra_macrolanguages () -ot.inherit_from_macrolanguages () -ot.names[DEFAULT_LANGUAGE_SYSTEM] = '*/' -ot.ranks[DEFAULT_LANGUAGE_SYSTEM] = max (ot.ranks.values ()) + 1 -for tricky_ot_tag in filter (lambda tag: re.match ('[A-Z]{3}$', tag), ot.names): - possible_bcp_47_tag = tricky_ot_tag.lower () - if possible_bcp_47_tag in bcp_47.names and not ot.from_bcp_47[possible_bcp_47_tag]: - ot.add_language (possible_bcp_47_tag, DEFAULT_LANGUAGE_SYSTEM) - bcp_47.macrolanguages[possible_bcp_47_tag] = set () -ot.sort_languages () - -print ('/* == Start of generated table == */') -print ('/*') -print (' * The following table is generated by running:') -print (' *') -print (' * %s languagetags language-subtag-registry' % sys.argv[0]) -print (' *') -print (' * on files with these headers:') -print (' *') -print (' * %s' % ot.header.strip ()) -print (' * %s' % bcp_47.header) -print (' */') -print () -print ('#ifndef HB_OT_TAG_TABLE_HH') -print ('#define HB_OT_TAG_TABLE_HH') -print () -print ('static const LangTag ot_languages[] = {') - -def hb_tag (tag): - """Convert a tag to ``HB_TAG`` form. - - Args: - tag (str): An OpenType tag. - - Returns: - A snippet of C++ representing ``tag``. - """ - if tag == DEFAULT_LANGUAGE_SYSTEM: - return 'HB_TAG_NONE\t ' - return "HB_TAG('%s','%s','%s','%s')" % tuple (('%-4s' % tag)[:4]) - -def get_variant_set (name): - """Return a set of variant language names from a name. - - Args: - name (str): A list of language names from the BCP 47 registry, - joined on ``'\\n'``. - - Returns: - A set of normalized language names. - """ - return set (unicodedata.normalize ('NFD', n.replace ('\u2019', "'")) - .encode ('ASCII', 'ignore') - .strip () - for n in re.split ('[\n(),]', name) if n) - -def language_name_intersection (a, b): - """Return the names in common between two language names. - - Args: - a (str): A list of language names from the BCP 47 registry, - joined on ``'\\n'``. - b (str): A list of language names from the BCP 47 registry, - joined on ``'\\n'``. - - Returns: - The normalized language names shared by ``a`` and ``b``. - """ - return get_variant_set (a).intersection (get_variant_set (b)) - -def get_matching_language_name (intersection, candidates): - return next (iter (c for c in candidates if not intersection.isdisjoint (get_variant_set (c)))) - -def same_tag (bcp_47_tag, ot_tags): - return len (bcp_47_tag) == 3 and len (ot_tags) == 1 and bcp_47_tag == ot_tags[0].lower () - -for language, tags in sorted (ot.from_bcp_47.items ()): - if language == '' or '-' in language: - continue - commented_out = same_tag (language, tags) - for i, tag in enumerate (tags, start=1): - print ('%s{\"%s\",\t%s},' % ('/*' if commented_out else ' ', language, hb_tag (tag)), end='') - if commented_out: - print ('*/', end='') - print ('\t/* ', end='') - bcp_47_name = bcp_47.names.get (language, '') - bcp_47_name_candidates = bcp_47_name.split ('\n') - ot_name = ot.names[tag] - scope = bcp_47.scopes.get (language, '') - if tag == DEFAULT_LANGUAGE_SYSTEM: - write (f'{bcp_47_name_candidates[0]}{scope} != {ot.names[language.upper ()]}') - else: - intersection = language_name_intersection (bcp_47_name, ot_name) - if not intersection: - write ('%s%s -> %s' % (bcp_47_name_candidates[0], scope, ot_name)) - else: - name = get_matching_language_name (intersection, bcp_47_name_candidates) - bcp_47.names[language] = name - write ('%s%s' % (name if len (name) > len (ot_name) else ot_name, scope)) - print (' */') - -print ('};') -print () - -print ('/**') -print (' * hb_ot_tags_from_complex_language:') -print (' * @lang_str: a BCP 47 language tag to convert.') -print (' * @limit: a pointer to the end of the substring of @lang_str to consider for') -print (' * conversion.') -print (' * @count: maximum number of language tags to retrieve (IN) and actual number of') -print (' * language tags retrieved (OUT). If no tags are retrieved, it is not modified.') -print (' * @tags: array of size at least @language_count to store the language tag') -print (' * results') -print (' *') -print (' * Converts a multi-subtag BCP 47 language tag to language tags.') -print (' *') -print (' * Return value: Whether any language systems were retrieved.') -print (' **/') -print ('static bool') -print ('hb_ot_tags_from_complex_language (const char *lang_str,') -print ('\t\t\t\t const char *limit,') -print ('\t\t\t\t unsigned int *count /* IN/OUT */,') -print ('\t\t\t\t hb_tag_t *tags /* OUT */)') -print ('{') - -def print_subtag_matches (subtag, new_line): - if subtag: - if new_line: - print () - print ('\t&& ', end='') - print ('subtag_matches (lang_str, limit, "-%s")' % subtag, end='') - -complex_tags = collections.defaultdict (list) -for initial, group in itertools.groupby ((lt_tags for lt_tags in [ - (LanguageTag (language), tags) - for language, tags in sorted (ot.from_bcp_47.items (), - key=lambda i: (-len (i[0]), i[0])) - ] if lt_tags[0].is_complex ()), - key=lambda lt_tags: lt_tags[0].get_group ()): - complex_tags[initial] += group - -for initial, items in sorted (complex_tags.items ()): - if initial != 'und': - continue - for lt, tags in items: - if lt.variant in bcp_47.prefixes: - expect (next (iter (bcp_47.prefixes[lt.variant])) == lt.language, - '%s is not a valid prefix of %s' % (lt.language, lt.variant)) - print (' if (', end='') - print_subtag_matches (lt.script, False) - print_subtag_matches (lt.region, False) - print_subtag_matches (lt.variant, False) - print (')') - print (' {') - write (' /* %s */' % bcp_47.get_name (lt)) - print () - if len (tags) == 1: - write (' tags[0] = %s; /* %s */' % (hb_tag (tags[0]), ot.names[tags[0]])) - print () - print (' *count = 1;') - else: - print (' hb_tag_t possible_tags[] = {') - for tag in tags: - write (' %s, /* %s */' % (hb_tag (tag), ot.names[tag])) - print () - print (' };') - print (' for (i = 0; i < %s && i < *count; i++)' % len (tags)) - print (' tags[i] = possible_tags[i];') - print (' *count = i;') - print (' return true;') - print (' }') - -print (' switch (lang_str[0])') -print (' {') -for initial, items in sorted (complex_tags.items ()): - if initial == 'und': - continue - print (" case '%s':" % initial) - for lt, tags in items: - print (' if (', end='') - script = lt.script - region = lt.region - if lt.grandfathered: - print ('0 == strcmp (&lang_str[1], "%s")' % lt.language[1:], end='') - else: - string_literal = lt.language[1:] + '-' - if script: - string_literal += script - script = None - if region: - string_literal += '-' + region - region = None - if string_literal[-1] == '-': - print ('0 == strncmp (&lang_str[1], "%s", %i)' % (string_literal, len (string_literal)), end='') - else: - print ('lang_matches (&lang_str[1], "%s")' % string_literal, end='') - print_subtag_matches (script, True) - print_subtag_matches (region, True) - print_subtag_matches (lt.variant, True) - print (')') - print (' {') - write (' /* %s */' % bcp_47.get_name (lt)) - print () - if len (tags) == 1: - write (' tags[0] = %s; /* %s */' % (hb_tag (tags[0]), ot.names[tags[0]])) - print () - print (' *count = 1;') - else: - print (' unsigned int i;') - print (' hb_tag_t possible_tags[] = {') - for tag in tags: - write ('\t%s, /* %s */' % (hb_tag (tag), ot.names[tag])) - print () - print (' };') - print (' for (i = 0; i < %s && i < *count; i++)' % len (tags)) - print ('\ttags[i] = possible_tags[i];') - print (' *count = i;') - print (' return true;') - print (' }') - print (' break;') - -print (' }') -print (' return false;') -print ('}') -print () -print ('/**') -print (' * hb_ot_ambiguous_tag_to_language') -print (' * @tag: A language tag.') -print (' *') -print (' * Converts @tag to a BCP 47 language tag if it is ambiguous (it corresponds to') -print (' * many language tags) and the best tag is not the alphabetically first, or if') -print (' * the best tag consists of multiple subtags, or if the best tag does not appear') -print (' * in #ot_languages.') -print (' *') -print (' * Return value: The #hb_language_t corresponding to the BCP 47 language tag,') -print (' * or #HB_LANGUAGE_INVALID if @tag is not ambiguous.') -print (' **/') -print ('static hb_language_t') -print ('hb_ot_ambiguous_tag_to_language (hb_tag_t tag)') -print ('{') -print (' switch (tag)') -print (' {') - -def verify_disambiguation_dict (): - """Verify and normalize ``disambiguation``. - - ``disambiguation`` is a map of ambiguous OpenType language system - tags to the particular BCP 47 tags they correspond to. This function - checks that all its keys really are ambiguous and that each key's - value is valid for that key. It checks that no ambiguous tag is - missing, except when it can figure out which BCP 47 tag is the best - by itself. - - It modifies ``disambiguation`` to remove keys whose values are the - same as those that the fallback would return anyway, and to add - ambiguous keys whose disambiguations it determined automatically. - - Raises: - AssertionError: Verification failed. - """ - global bcp_47 - global disambiguation - global ot - for ot_tag, bcp_47_tags in ot.to_bcp_47.items (): - if ot_tag == DEFAULT_LANGUAGE_SYSTEM: - primary_tags = [] - else: - primary_tags = list (t for t in bcp_47_tags if t not in bcp_47.grandfathered and ot.from_bcp_47.get (t)[0] == ot_tag) - if len (primary_tags) == 1: - expect (ot_tag not in disambiguation, 'unnecessary disambiguation for OT tag: %s' % ot_tag) - if '-' in primary_tags[0]: - disambiguation[ot_tag] = primary_tags[0] - else: - first_tag = sorted (t for t in bcp_47_tags if t not in bcp_47.grandfathered and ot_tag in ot.from_bcp_47.get (t))[0] - if primary_tags[0] != first_tag: - disambiguation[ot_tag] = primary_tags[0] - elif len (primary_tags) == 0: - expect (ot_tag not in disambiguation, 'There is no possible valid disambiguation for %s' % ot_tag) - else: - macrolanguages = list (t for t in primary_tags if bcp_47.scopes.get (t) == ' [macrolanguage]') - if len (macrolanguages) != 1: - macrolanguages = list (t for t in primary_tags if bcp_47.scopes.get (t) == ' [family]') - if len (macrolanguages) != 1: - macrolanguages = list (t for t in primary_tags if 'retired code' not in bcp_47.scopes.get (t, '')) - if len (macrolanguages) != 1: - expect (ot_tag in disambiguation, 'ambiguous OT tag: %s %s' % (ot_tag, str (macrolanguages))) - expect (disambiguation[ot_tag] in bcp_47_tags, - '%s is not a valid disambiguation for %s' % (disambiguation[ot_tag], ot_tag)) - elif ot_tag not in disambiguation: - disambiguation[ot_tag] = macrolanguages[0] - different_bcp_47_tags = sorted (t for t in bcp_47_tags if not same_tag (t, ot.from_bcp_47.get (t))) - if different_bcp_47_tags and disambiguation[ot_tag] == different_bcp_47_tags[0] and '-' not in disambiguation[ot_tag]: - del disambiguation[ot_tag] - for ot_tag in disambiguation.keys (): - expect (ot_tag in ot.to_bcp_47, 'unknown OT tag: %s' % ot_tag) - -verify_disambiguation_dict () -for ot_tag, bcp_47_tag in sorted (disambiguation.items ()): - write (' case %s: /* %s */' % (hb_tag (ot_tag), ot.names[ot_tag])) - print () - write (' return hb_language_from_string (\"%s\", -1); /* %s */' % (bcp_47_tag, bcp_47.get_name (LanguageTag (bcp_47_tag)))) - print () - -print (' default:') -print (' return HB_LANGUAGE_INVALID;') -print (' }') -print ('}') - -print () -print ('#endif /* HB_OT_TAG_TABLE_HH */') -print () -print ('/* == End of generated table == */') - diff --git a/harfbuzz/src/gen-ucd-table.py b/harfbuzz/src/gen-ucd-table.py deleted file mode 100755 index 35fba2d..0000000 --- a/harfbuzz/src/gen-ucd-table.py +++ /dev/null @@ -1,167 +0,0 @@ -#!/usr/bin/env python3 - -"""usage: ./gen-ucd-table ucd.nounihan.grouped.xml [/path/to/hb-common.h] - -Input file: -* https://unicode.org/Public/UCD/latest/ucdxml/ucd.nounihan.grouped.zip -""" - -import sys, re -import logging -logging.basicConfig(format='%(levelname)s: %(message)s', level=logging.INFO) - -if len (sys.argv) not in (2, 3): - sys.exit (__doc__) - -# https://github.com/harfbuzz/packtab -import packTab -import packTab.ucdxml - -logging.info('Loading UCDXML...') -ucdxml = packTab.ucdxml.load_ucdxml(sys.argv[1]) -ucd = packTab.ucdxml.ucdxml_get_repertoire(ucdxml) - -hb_common_h = 'hb-common.h' if len (sys.argv) < 3 else sys.argv[2] - -logging.info('Preparing data tables...') - -gc = [u['gc'] for u in ucd] -ccc = [int(u['ccc']) for u in ucd] -bmg = [int(v, 16) - int(u) if v else 0 for u,v in enumerate(u['bmg'] for u in ucd)] -#gc_ccc_non0 = set((cat,klass) for cat,klass in zip(gc,ccc) if klass) -#gc_bmg_non0 = set((cat,mirr) for cat,mirr in zip(gc, bmg) if mirr) - -sc = [u['sc'] for u in ucd] - -dm = {i:tuple(int(v, 16) for v in u['dm'].split()) for i,u in enumerate(ucd) - if u['dm'] != '#' and u['dt'] == 'can' and not (0xAC00 <= i < 0xAC00+11172)} -ce = {i for i,u in enumerate(ucd) if u['Comp_Ex'] == 'Y'} - -assert not any(v for v in dm.values() if len(v) not in (1,2)) -dm1 = sorted(set(v for v in dm.values() if len(v) == 1)) -assert all((v[0] >> 16) in (0,2) for v in dm1) -dm1_p0_array = ['0x%04Xu' % (v[0] & 0xFFFF) for v in dm1 if (v[0] >> 16) == 0] -dm1_p2_array = ['0x%04Xu' % (v[0] & 0xFFFF) for v in dm1 if (v[0] >> 16) == 2] -dm1_order = {v:i+1 for i,v in enumerate(dm1)} - -dm2 = sorted((v+(i if i not in ce and not ccc[i] else 0,), v) - for i,v in dm.items() if len(v) == 2) - -filt = lambda v: ((v[0] & 0xFFFFF800) == 0x0000 and - (v[1] & 0xFFFFFF80) == 0x0300 and - (v[2] & 0xFFF0C000) == 0x0000) -dm2_u32_array = [v for v in dm2 if filt(v[0])] -dm2_u64_array = [v for v in dm2 if not filt(v[0])] -assert dm2_u32_array + dm2_u64_array == dm2 -dm2_u32_array = ["HB_CODEPOINT_ENCODE3_11_7_14 (0x%04Xu, 0x%04Xu, 0x%04Xu)" % v[0] for v in dm2_u32_array] -dm2_u64_array = ["HB_CODEPOINT_ENCODE3 (0x%04Xu, 0x%04Xu, 0x%04Xu)" % v[0] for v in dm2_u64_array] - -l = 1 + len(dm1_p0_array) + len(dm1_p2_array) -dm2_order = {v[1]:i+l for i,v in enumerate(dm2)} - -dm_order = {None: 0} -dm_order.update(dm1_order) -dm_order.update(dm2_order) - -gc_order = dict() -for i,v in enumerate(('Cc', 'Cf', 'Cn', 'Co', 'Cs', 'Ll', 'Lm', 'Lo', 'Lt', 'Lu', - 'Mc', 'Me', 'Mn', 'Nd', 'Nl', 'No', 'Pc', 'Pd', 'Pe', 'Pf', - 'Pi', 'Po', 'Ps', 'Sc', 'Sk', 'Sm', 'So', 'Zl', 'Zp', 'Zs',)): - gc_order[i] = v - gc_order[v] = i - -sc_order = dict() -sc_array = [] -sc_re = re.compile(r"\b(HB_SCRIPT_[_A-Z]*).*HB_TAG [(]'(.)','(.)','(.)','(.)'[)]") -for line in open(hb_common_h): - m = sc_re.search (line) - if not m: continue - name = m.group(1) - tag = ''.join(m.group(i) for i in range(2, 6)) - i = len(sc_array) - sc_order[tag] = i - sc_order[i] = tag - sc_array.append(name) - -DEFAULT = 1 -COMPACT = 3 -SLOPPY = 5 - - -logging.info('Generating output...') -print("/* == Start of generated table == */") -print("/*") -print(" * The following table is generated by running:") -print(" *") -print(" * ./gen-ucd-table.py ucd.nounihan.grouped.xml") -print(" *") -print(" * on file with this description:", ucdxml.description) -print(" */") -print() -print("#ifndef HB_UCD_TABLE_HH") -print("#define HB_UCD_TABLE_HH") -print() -print('#include "hb.hh"') -print() - -code = packTab.Code('_hb_ucd') -sc_array, _ = code.addArray('hb_script_t', 'sc_map', sc_array) -dm1_p0_array, _ = code.addArray('uint16_t', 'dm1_p0_map', dm1_p0_array) -dm1_p2_array, _ = code.addArray('uint16_t', 'dm1_p2_map', dm1_p2_array) -dm2_u32_array, _ = code.addArray('uint32_t', 'dm2_u32_map', dm2_u32_array) -dm2_u64_array, _ = code.addArray('uint64_t', 'dm2_u64_map', dm2_u64_array) -code.print_c(linkage='static inline') - -datasets = [ - ('gc', gc, 'Cn', gc_order), - ('ccc', ccc, 0, None), - ('bmg', bmg, 0, None), - ('sc', sc, 'Zzzz', sc_order), - ('dm', dm, None, dm_order), -] - -for compression in (DEFAULT, COMPACT, SLOPPY): - logging.info(' Compression=%d:' % compression) - print() - if compression == DEFAULT: - print('#ifndef HB_OPTIMIZE_SIZE') - elif compression == COMPACT: - print('#elif !defined(HB_NO_UCD_UNASSIGNED)') - else: - print('#else') - print() - - if compression == SLOPPY: - for i in range(len(gc)): - if (i % 128) and gc[i] == 'Cn': - gc[i] = gc[i - 1] - for i in range(len(gc) - 2, -1, -1): - if ((i + 1) % 128) and gc[i] == 'Cn': - gc[i] = gc[i + 1] - for i in range(len(sc)): - if (i % 128) and sc[i] == 'Zzzz': - sc[i] = sc[i - 1] - for i in range(len(sc) - 2, -1, -1): - if ((i + 1) % 128) and sc[i] == 'Zzzz': - sc[i] = sc[i + 1] - - - code = packTab.Code('_hb_ucd') - - for name,data,default,mapping in datasets: - sol = packTab.pack_table(data, default, mapping=mapping, compression=compression) - logging.info(' Dataset=%-8s FullCost=%d' % (name, sol.fullCost)) - sol.genCode(code, name) - - code.print_c(linkage='static inline') - - print() - -print('#endif') -print() - -print() -print("#endif /* HB_UCD_TABLE_HH */") -print() -print("/* == End of generated table == */") -logging.info('Done.') diff --git a/harfbuzz/src/gen-use-table.py b/harfbuzz/src/gen-use-table.py deleted file mode 100755 index 34540ca..0000000 --- a/harfbuzz/src/gen-use-table.py +++ /dev/null @@ -1,561 +0,0 @@ -#!/usr/bin/env python3 -# flake8: noqa: F821 - -"""usage: ./gen-use-table.py IndicSyllabicCategory.txt IndicPositionalCategory.txt ArabicShaping.txt DerivedCoreProperties.txt UnicodeData.txt Blocks.txt Scripts.txt IndicSyllabicCategory-Additional.txt IndicPositionalCategory-Additional.txt - -Input files: -* https://unicode.org/Public/UCD/latest/ucd/IndicSyllabicCategory.txt -* https://unicode.org/Public/UCD/latest/ucd/IndicPositionalCategory.txt -* https://unicode.org/Public/UCD/latest/ucd/ArabicShaping.txt -* https://unicode.org/Public/UCD/latest/ucd/DerivedCoreProperties.txt -* https://unicode.org/Public/UCD/latest/ucd/UnicodeData.txt -* https://unicode.org/Public/UCD/latest/ucd/Blocks.txt -* https://unicode.org/Public/UCD/latest/ucd/Scripts.txt -* ms-use/IndicSyllabicCategory-Additional.txt -* ms-use/IndicPositionalCategory-Additional.txt -""" - -import sys - -if len (sys.argv) != 10: - sys.exit (__doc__) - -DISABLED_SCRIPTS = { - 'Arabic', - 'Lao', - 'Samaritan', - 'Syriac', - 'Thai', -} - -files = [open (x, encoding='utf-8') for x in sys.argv[1:]] - -headers = [[f.readline () for i in range (2)] for j,f in enumerate(files) if j != 4] -for j in range(7, 9): - for line in files[j]: - line = line.rstrip() - if not line: - break - headers[j - 1].append(line) -headers.append (["UnicodeData.txt does not have a header."]) - -data = [{} for _ in files] -values = [{} for _ in files] -for i, f in enumerate (files): - for line in f: - - j = line.find ('#') - if j >= 0: - line = line[:j] - - fields = [x.strip () for x in line.split (';')] - if len (fields) == 1: - continue - - uu = fields[0].split ('..') - start = int (uu[0], 16) - if len (uu) == 1: - end = start - else: - end = int (uu[1], 16) - - t = fields[1 if i not in [2, 4] else 2] - - if i == 2: - t = 'jt_' + t - elif i == 3 and t != 'Default_Ignorable_Code_Point': - continue - elif i == 7 and t == 'Consonant_Final_Modifier': - # TODO: https://github.com/MicrosoftDocs/typography-issues/issues/336 - t = 'Syllable_Modifier' - elif i == 8 and t == 'NA': - t = 'Not_Applicable' - - i0 = i if i < 7 else i - 7 - for u in range (start, end + 1): - data[i0][u] = t - values[i0][t] = values[i0].get (t, 0) + end - start + 1 - -defaults = ('Other', 'Not_Applicable', 'jt_X', '', 'Cn', 'No_Block', 'Unknown') - -# TODO Characters that are not in Unicode Indic files, but used in USE -data[0][0x1B61] = defaults[0] -data[0][0x1B63] = defaults[0] -data[0][0x1B64] = defaults[0] -data[0][0x1B65] = defaults[0] -data[0][0x1B66] = defaults[0] -data[0][0x1B67] = defaults[0] -data[0][0x1B69] = defaults[0] -data[0][0x1B6A] = defaults[0] -data[0][0x2060] = defaults[0] -# TODO https://github.com/harfbuzz/harfbuzz/pull/1685 -data[0][0x1B5B] = 'Consonant_Placeholder' -data[0][0x1B5C] = 'Consonant_Placeholder' -data[0][0x1B5F] = 'Consonant_Placeholder' -data[0][0x1B62] = 'Consonant_Placeholder' -data[0][0x1B68] = 'Consonant_Placeholder' -# TODO https://github.com/harfbuzz/harfbuzz/issues/1035 -data[0][0x11C44] = 'Consonant_Placeholder' -data[0][0x11C45] = 'Consonant_Placeholder' -# TODO https://github.com/harfbuzz/harfbuzz/pull/1399 -data[0][0x111C8] = 'Consonant_Placeholder' - -# Merge data into one dict: -for i,v in enumerate (defaults): - values[i][v] = values[i].get (v, 0) + 1 -combined = {} -for i,d in enumerate (data): - for u,v in d.items (): - if not u in combined: - if i >= 4: - continue - combined[u] = list (defaults) - combined[u][i] = v -combined = {k: v for k, v in combined.items() if v[6] not in DISABLED_SCRIPTS} -data = combined -del combined - - -property_names = [ - # General_Category - 'Cc', 'Cf', 'Cn', 'Co', 'Cs', 'Ll', 'Lm', 'Lo', 'Lt', 'Lu', 'Mc', - 'Me', 'Mn', 'Nd', 'Nl', 'No', 'Pc', 'Pd', 'Pe', 'Pf', 'Pi', 'Po', - 'Ps', 'Sc', 'Sk', 'Sm', 'So', 'Zl', 'Zp', 'Zs', - # Indic_Syllabic_Category - 'Other', - 'Bindu', - 'Visarga', - 'Avagraha', - 'Nukta', - 'Virama', - 'Pure_Killer', - 'Invisible_Stacker', - 'Vowel_Independent', - 'Vowel_Dependent', - 'Vowel', - 'Consonant_Placeholder', - 'Consonant', - 'Consonant_Dead', - 'Consonant_With_Stacker', - 'Consonant_Prefixed', - 'Consonant_Preceding_Repha', - 'Consonant_Succeeding_Repha', - 'Consonant_Subjoined', - 'Consonant_Medial', - 'Consonant_Final', - 'Consonant_Head_Letter', - 'Consonant_Initial_Postfixed', - 'Modifying_Letter', - 'Tone_Letter', - 'Tone_Mark', - 'Gemination_Mark', - 'Cantillation_Mark', - 'Register_Shifter', - 'Syllable_Modifier', - 'Consonant_Killer', - 'Non_Joiner', - 'Joiner', - 'Number_Joiner', - 'Number', - 'Brahmi_Joining_Number', - 'Hieroglyph', - 'Hieroglyph_Joiner', - 'Hieroglyph_Segment_Begin', - 'Hieroglyph_Segment_End', - # Indic_Positional_Category - 'Not_Applicable', - 'Right', - 'Left', - 'Visual_Order_Left', - 'Left_And_Right', - 'Top', - 'Bottom', - 'Top_And_Bottom', - 'Top_And_Bottom_And_Left', - 'Top_And_Right', - 'Top_And_Left', - 'Top_And_Left_And_Right', - 'Bottom_And_Left', - 'Bottom_And_Right', - 'Top_And_Bottom_And_Right', - 'Overstruck', - # Joining_Type - 'jt_C', - 'jt_D', - 'jt_L', - 'jt_R', - 'jt_T', - 'jt_U', - 'jt_X', -] - -class PropertyValue(object): - def __init__(self, name_): - self.name = name_ - def __str__(self): - return self.name - def __eq__(self, other): - return self.name == (other if isinstance(other, str) else other.name) - def __ne__(self, other): - return not (self == other) - def __hash__(self): - return hash(str(self)) - -property_values = {} - -for name in property_names: - value = PropertyValue(name) - assert value not in property_values - assert value not in globals() - property_values[name] = value -globals().update(property_values) - - -def is_BASE(U, UISC, UDI, UGC, AJT): - return (UISC in [Number, Consonant, Consonant_Head_Letter, - Tone_Letter, - Vowel_Independent, - ] or - # TODO: https://github.com/MicrosoftDocs/typography-issues/issues/484 - AJT in [jt_C, jt_D, jt_L, jt_R] and UISC != Joiner or - (UGC == Lo and UISC in [Avagraha, Bindu, Consonant_Final, Consonant_Medial, - Consonant_Subjoined, Vowel, Vowel_Dependent])) -def is_BASE_NUM(U, UISC, UDI, UGC, AJT): - return UISC == Brahmi_Joining_Number -def is_BASE_OTHER(U, UISC, UDI, UGC, AJT): - if UISC == Consonant_Placeholder: return True - return U in [0x2015, 0x2022, 0x25FB, 0x25FC, 0x25FD, 0x25FE] -def is_CGJ(U, UISC, UDI, UGC, AJT): - # Also includes VARIATION_SELECTOR, WJ, and ZWJ - return U == 0x200D or UDI and UGC in [Mc, Me, Mn] -def is_CONS_FINAL(U, UISC, UDI, UGC, AJT): - return ((UISC == Consonant_Final and UGC != Lo) or - UISC == Consonant_Succeeding_Repha) -def is_CONS_FINAL_MOD(U, UISC, UDI, UGC, AJT): - return UISC == Syllable_Modifier -def is_CONS_MED(U, UISC, UDI, UGC, AJT): - # Consonant_Initial_Postfixed is new in Unicode 11; not in the spec. - return (UISC == Consonant_Medial and UGC != Lo or - UISC == Consonant_Initial_Postfixed) -def is_CONS_MOD(U, UISC, UDI, UGC, AJT): - return (UISC in [Nukta, Gemination_Mark, Consonant_Killer] and - not is_SYM_MOD(U, UISC, UDI, UGC, AJT)) -def is_CONS_SUB(U, UISC, UDI, UGC, AJT): - return UISC == Consonant_Subjoined and UGC != Lo -def is_CONS_WITH_STACKER(U, UISC, UDI, UGC, AJT): - return UISC == Consonant_With_Stacker -def is_HALANT(U, UISC, UDI, UGC, AJT): - return (UISC in [Virama, Invisible_Stacker] - and not is_HALANT_OR_VOWEL_MODIFIER(U, UISC, UDI, UGC, AJT) - and not is_SAKOT(U, UISC, UDI, UGC, AJT)) -def is_HALANT_OR_VOWEL_MODIFIER(U, UISC, UDI, UGC, AJT): - # Split off of HALANT - # https://github.com/harfbuzz/harfbuzz/issues/1379 - return U == 0x1134D -def is_HALANT_NUM(U, UISC, UDI, UGC, AJT): - return UISC == Number_Joiner -def is_HIEROGLYPH(U, UISC, UDI, UGC, AJT): - return UISC == Hieroglyph -def is_HIEROGLYPH_JOINER(U, UISC, UDI, UGC, AJT): - return UISC == Hieroglyph_Joiner -def is_HIEROGLYPH_SEGMENT_BEGIN(U, UISC, UDI, UGC, AJT): - return UISC == Hieroglyph_Segment_Begin -def is_HIEROGLYPH_SEGMENT_END(U, UISC, UDI, UGC, AJT): - return UISC == Hieroglyph_Segment_End -def is_ZWNJ(U, UISC, UDI, UGC, AJT): - return UISC == Non_Joiner -def is_OTHER(U, UISC, UDI, UGC, AJT): - # Also includes BASE_IND, Rsv, and SYM - return ((UGC in [Cn, Po] or UISC in [Consonant_Dead, Joiner, Modifying_Letter, Other]) - and not is_BASE(U, UISC, UDI, UGC, AJT) - and not is_BASE_OTHER(U, UISC, UDI, UGC, AJT) - and not is_CGJ(U, UISC, UDI, UGC, AJT) - and not is_SYM_MOD(U, UISC, UDI, UGC, AJT) - ) -def is_REPHA(U, UISC, UDI, UGC, AJT): - return UISC in [Consonant_Preceding_Repha, Consonant_Prefixed] -def is_SAKOT(U, UISC, UDI, UGC, AJT): - # Split off of HALANT - return U == 0x1A60 -def is_SYM_MOD(U, UISC, UDI, UGC, AJT): - return U in [0x1B6B, 0x1B6C, 0x1B6D, 0x1B6E, 0x1B6F, 0x1B70, 0x1B71, 0x1B72, 0x1B73] -def is_VOWEL(U, UISC, UDI, UGC, AJT): - # https://github.com/harfbuzz/harfbuzz/issues/376 - return (UISC == Pure_Killer or - (UGC != Lo and UISC in [Vowel, Vowel_Dependent] and U not in [0xAA29])) -def is_VOWEL_MOD(U, UISC, UDI, UGC, AJT): - # https://github.com/harfbuzz/harfbuzz/issues/376 - return (UISC in [Tone_Mark, Cantillation_Mark, Register_Shifter, Visarga] or - (UGC != Lo and (UISC == Bindu or U in [0xAA29]))) - -use_mapping = { - 'B': is_BASE, - 'N': is_BASE_NUM, - 'GB': is_BASE_OTHER, - 'CGJ': is_CGJ, - 'F': is_CONS_FINAL, - 'FM': is_CONS_FINAL_MOD, - 'M': is_CONS_MED, - 'CM': is_CONS_MOD, - 'SUB': is_CONS_SUB, - 'CS': is_CONS_WITH_STACKER, - 'H': is_HALANT, - 'HVM': is_HALANT_OR_VOWEL_MODIFIER, - 'HN': is_HALANT_NUM, - 'G': is_HIEROGLYPH, - 'J': is_HIEROGLYPH_JOINER, - 'SB': is_HIEROGLYPH_SEGMENT_BEGIN, - 'SE': is_HIEROGLYPH_SEGMENT_END, - 'ZWNJ': is_ZWNJ, - 'O': is_OTHER, - 'R': is_REPHA, - 'Sk': is_SAKOT, - 'SM': is_SYM_MOD, - 'V': is_VOWEL, - 'VM': is_VOWEL_MOD, -} - -use_positions = { - 'F': { - 'Abv': [Top], - 'Blw': [Bottom], - 'Pst': [Right], - }, - 'M': { - 'Abv': [Top], - 'Blw': [Bottom, Bottom_And_Left, Bottom_And_Right], - 'Pst': [Right], - 'Pre': [Left, Top_And_Bottom_And_Left], - }, - 'CM': { - 'Abv': [Top], - 'Blw': [Bottom, Overstruck], - }, - 'V': { - 'Abv': [Top, Top_And_Bottom, Top_And_Bottom_And_Right, Top_And_Right], - 'Blw': [Bottom, Overstruck, Bottom_And_Right], - 'Pst': [Right], - 'Pre': [Left, Top_And_Left, Top_And_Left_And_Right, Left_And_Right], - }, - 'VM': { - 'Abv': [Top], - 'Blw': [Bottom, Overstruck], - 'Pst': [Right], - 'Pre': [Left], - }, - 'SM': { - 'Abv': [Top], - 'Blw': [Bottom], - }, - 'H': None, - 'HVM': None, - 'B': None, - 'FM': { - 'Abv': [Top], - 'Blw': [Bottom], - 'Pst': [Not_Applicable], - }, - 'R': None, - 'SUB': None, -} - -def map_to_use(data): - out = {} - items = use_mapping.items() - for U, (UISC, UIPC, AJT, UDI, UGC, UBlock, _) in data.items(): - - # Resolve Indic_Syllabic_Category - - # TODO: These don't have UISC assigned in Unicode 13.0.0, but have UIPC - if 0x1CE2 <= U <= 0x1CE8: UISC = Cantillation_Mark - - # Tibetan: - # TODO: These don't have UISC assigned in Unicode 13.0.0, but have UIPC - if 0x0F18 <= U <= 0x0F19 or 0x0F3E <= U <= 0x0F3F: UISC = Vowel_Dependent - - # TODO: https://github.com/harfbuzz/harfbuzz/pull/627 - if 0x1BF2 <= U <= 0x1BF3: UISC = Nukta; UIPC = Bottom - - # TODO: U+1CED should only be allowed after some of - # the nasalization marks, maybe only for U+1CE9..U+1CF1. - if U == 0x1CED: UISC = Tone_Mark - - # TODO: https://github.com/microsoft/font-tools/issues/1 - if U == 0xA982: UISC = Consonant_Succeeding_Repha - - values = [k for k,v in items if v(U, UISC, UDI, UGC, AJT)] - assert len(values) == 1, "%s %s %s %s %s %s" % (hex(U), UISC, UDI, UGC, AJT, values) - USE = values[0] - - # Resolve Indic_Positional_Category - - # TODO: These should die, but have UIPC in Unicode 13.0.0 - if U in [0x953, 0x954]: UIPC = Not_Applicable - - # TODO: These are not in USE's override list that we have, nor are they in Unicode 13.0.0 - if 0xA926 <= U <= 0xA92A: UIPC = Top - # TODO: https://github.com/harfbuzz/harfbuzz/pull/1037 - # and https://github.com/harfbuzz/harfbuzz/issues/1631 - if U in [0x11302, 0x11303, 0x114C1]: UIPC = Top - if 0x1CF8 <= U <= 0x1CF9: UIPC = Top - - # TODO: https://github.com/harfbuzz/harfbuzz/pull/982 - # also https://github.com/harfbuzz/harfbuzz/issues/1012 - if 0x1112A <= U <= 0x1112B: UIPC = Top - if 0x11131 <= U <= 0x11132: UIPC = Top - - assert (UIPC in [Not_Applicable, Visual_Order_Left] or U == 0x0F7F or - USE in use_positions), "%s %s %s %s %s %s %s" % (hex(U), UIPC, USE, UISC, UDI, UGC, AJT) - - pos_mapping = use_positions.get(USE, None) - if pos_mapping: - values = [k for k,v in pos_mapping.items() if v and UIPC in v] - assert len(values) == 1, "%s %s %s %s %s %s %s %s" % (hex(U), UIPC, USE, UISC, UDI, UGC, AJT, values) - USE = USE + values[0] - - out[U] = (USE, UBlock) - return out - -defaults = ('O', 'No_Block') -data = map_to_use(data) - -print ("/* == Start of generated table == */") -print ("/*") -print (" * The following table is generated by running:") -print (" *") -print (" * {} IndicSyllabicCategory.txt IndicPositionalCategory.txt ArabicShaping.txt DerivedCoreProperties.txt UnicodeData.txt Blocks.txt Scripts.txt IndicSyllabicCategory-Additional.txt IndicPositionalCategory-Additional.txt".format (sys.argv[0])) -print (" *") -print (" * on files with these headers:") -print (" *") -for h in headers: - for l in h: - print (" * %s" % (l.strip())) -print (" */") -print () -print ("#ifndef HB_OT_SHAPE_COMPLEX_USE_TABLE_HH") -print ("#define HB_OT_SHAPE_COMPLEX_USE_TABLE_HH") -print () -print ('#include "hb.hh"') -print () -print ('#include "hb-ot-shape-complex-use-machine.hh"') -print () - -total = 0 -used = 0 -last_block = None -def print_block (block, start, end, data): - global total, used, last_block - if block and block != last_block: - print () - print () - print (" /* %s */" % block) - if start % 16: - print (' ' * (20 + (start % 16 * 6)), end='') - num = 0 - assert start % 8 == 0 - assert (end+1) % 8 == 0 - for u in range (start, end+1): - if u % 16 == 0: - print () - print (" /* %04X */" % u, end='') - if u in data: - num += 1 - d = data.get (u, defaults) - print ("%6s," % d[0], end='') - - total += end - start + 1 - used += num - if block: - last_block = block - -uu = sorted (data.keys ()) - -last = -100000 -num = 0 -offset = 0 -starts = [] -ends = [] -print ('#pragma GCC diagnostic push') -print ('#pragma GCC diagnostic ignored "-Wunused-macros"') -for k,v in sorted(use_mapping.items()): - if k in use_positions and use_positions[k]: continue - print ("#define %s USE(%s) /* %s */" % (k, k, v.__name__[3:])) -for k,v in sorted(use_positions.items()): - if not v: continue - for suf in v.keys(): - tag = k + suf - print ("#define %s USE(%s)" % (tag, tag)) -print ('#pragma GCC diagnostic pop') -print ("") -print ("static const uint8_t use_table[] = {") -for u in uu: - if u <= last: - continue - if data[u][0] == 'O': - continue - block = data[u][1] - - start = u//8*8 - end = start+1 - while end in uu and block == data[end][1]: - end += 1 - end = (end-1)//8*8 + 7 - - if start != last + 1: - if start - last <= 1+16*3: - print_block (None, last+1, start-1, data) - else: - if last >= 0: - ends.append (last + 1) - offset += ends[-1] - starts[-1] - print () - print () - print ("#define use_offset_0x%04xu %d" % (start, offset)) - starts.append (start) - - print_block (block, start, end, data) - last = end -ends.append (last + 1) -offset += ends[-1] - starts[-1] -print () -print () -occupancy = used * 100. / total -page_bits = 12 -print ("}; /* Table items: %d; occupancy: %d%% */" % (offset, occupancy)) -print () -print ("static inline uint8_t") -print ("hb_use_get_category (hb_codepoint_t u)") -print ("{") -print (" switch (u >> %d)" % page_bits) -print (" {") -pages = set([u>>page_bits for u in starts+ends]) -for p in sorted(pages): - print (" case 0x%0Xu:" % p) - for (start,end) in zip (starts, ends): - if p not in [start>>page_bits, end>>page_bits]: continue - offset = "use_offset_0x%04xu" % start - print (" if (hb_in_range (u, 0x%04Xu, 0x%04Xu)) return use_table[u - 0x%04Xu + %s];" % (start, end-1, start, offset)) - print (" break;") - print ("") -print (" default:") -print (" break;") -print (" }") -print (" return USE(O);") -print ("}") -print () -for k in sorted(use_mapping.keys()): - if k in use_positions and use_positions[k]: continue - print ("#undef %s" % k) -for k,v in sorted(use_positions.items()): - if not v: continue - for suf in v.keys(): - tag = k + suf - print ("#undef %s" % tag) -print () -print () -print ("#endif /* HB_OT_SHAPE_COMPLEX_USE_TABLE_HH */") -print ("/* == End of generated table == */") - -# Maintain at least 50% occupancy in the table */ -if occupancy < 50: - raise Exception ("Table too sparse, please investigate: ", occupancy) diff --git a/harfbuzz/src/gen-vowel-constraints.py b/harfbuzz/src/gen-vowel-constraints.py deleted file mode 100755 index 184ec29..0000000 --- a/harfbuzz/src/gen-vowel-constraints.py +++ /dev/null @@ -1,229 +0,0 @@ -#!/usr/bin/env python3 - -"""Generator of the function to prohibit certain vowel sequences. - -It creates ``_hb_preprocess_text_vowel_constraints``, which inserts dotted -circles into sequences prohibited by the USE script development spec. -This function should be used as the ``preprocess_text`` of an -``hb_ot_complex_shaper_t``. - -usage: ./gen-vowel-constraints.py ms-use/IndicShapingInvalidCluster.txt Scripts.txt - -Input file: -* https://unicode.org/Public/UCD/latest/ucd/Scripts.txt -""" - -import collections -def write (s): - sys.stdout.flush () - sys.stdout.buffer.write (s.encode ('utf-8')) -import sys - -if len (sys.argv) != 3: - sys.exit (__doc__) - -with open (sys.argv[2], encoding='utf-8') as f: - scripts_header = [f.readline () for i in range (2)] - scripts = {} - script_order = {} - for line in f: - j = line.find ('#') - if j >= 0: - line = line[:j] - fields = [x.strip () for x in line.split (';')] - if len (fields) == 1: - continue - uu = fields[0].split ('..') - start = int (uu[0], 16) - if len (uu) == 1: - end = start - else: - end = int (uu[1], 16) - script = fields[1] - for u in range (start, end + 1): - scripts[u] = script - if script not in script_order: - script_order[script] = start - -class ConstraintSet (object): - """A set of prohibited code point sequences. - - Args: - constraint (List[int]): A prohibited code point sequence. - - """ - def __init__ (self, constraint): - # Either a list or a dictionary. As a list of code points, it - # represents a prohibited code point sequence. As a dictionary, - # it represents a set of prohibited sequences, where each item - # represents the set of prohibited sequences starting with the - # key (a code point) concatenated with any of the values - # (ConstraintSets). - self._c = constraint - - def add (self, constraint): - """Add a constraint to this set.""" - if not constraint: - return - first = constraint[0] - rest = constraint[1:] - if isinstance (self._c, list): - if constraint == self._c[:len (constraint)]: - self._c = constraint - elif self._c != constraint[:len (self._c)]: - self._c = {self._c[0]: ConstraintSet (self._c[1:])} - if isinstance (self._c, dict): - if first in self._c: - self._c[first].add (rest) - else: - self._c[first] = ConstraintSet (rest) - - @staticmethod - def _indent (depth): - return (' ' * depth).replace (' ', '\t') - - def __str__ (self, index=0, depth=4): - s = [] - indent = self._indent (depth) - if isinstance (self._c, list): - if len (self._c) == 0: - assert index == 2, 'Cannot use `matched` for this constraint; the general case has not been implemented' - s.append ('{}matched = true;\n'.format (indent)) - elif len (self._c) == 1: - assert index == 1, 'Cannot use `matched` for this constraint; the general case has not been implemented' - s.append ('{}matched = 0x{:04X}u == buffer->cur ({}).codepoint;\n'.format (indent, next (iter (self._c)), index or '')) - else: - s.append ('{}if (0x{:04X}u == buffer->cur ({}).codepoint &&\n'.format (indent, self._c[0], index or '')) - if index: - s.append ('{}buffer->idx + {} < count &&\n'.format (self._indent (depth + 2), index + 1)) - for i, cp in enumerate (self._c[1:], start=1): - s.append ('{}0x{:04X}u == buffer->cur ({}).codepoint{}\n'.format ( - self._indent (depth + 2), cp, index + i, ')' if i == len (self._c) - 1 else ' &&')) - s.append ('{}{{\n'.format (indent)) - for i in range (index): - s.append ('{}(void) buffer->next_glyph ();\n'.format (self._indent (depth + 1))) - s.append ('{}matched = true;\n'.format (self._indent (depth + 1))) - s.append ('{}}}\n'.format (indent)) - else: - s.append ('{}switch (buffer->cur ({}).codepoint)\n'.format(indent, index or '')) - s.append ('{}{{\n'.format (indent)) - cases = collections.defaultdict (set) - for first, rest in sorted (self._c.items ()): - cases[rest.__str__ (index + 1, depth + 2)].add (first) - for body, labels in sorted (cases.items (), key=lambda b_ls: sorted (b_ls[1])[0]): - for i, cp in enumerate (sorted (labels)): - if i % 4 == 0: - s.append (self._indent (depth + 1)) - else: - s.append (' ') - s.append ('case 0x{:04X}u:{}'.format (cp, '\n' if i % 4 == 3 else '')) - if len (labels) % 4 != 0: - s.append ('\n') - s.append (body) - s.append ('{}break;\n'.format (self._indent (depth + 2))) - s.append ('{}}}\n'.format (indent)) - return ''.join (s) - -constraints = {} -with open (sys.argv[1], encoding='utf-8') as f: - constraints_header = [] - while True: - line = f.readline ().strip () - if line == '#': - break - constraints_header.append(line) - for line in f: - j = line.find ('#') - if j >= 0: - line = line[:j] - constraint = [int (cp, 16) for cp in line.split (';')[0].split ()] - if not constraint: continue - assert 2 <= len (constraint), 'Prohibited sequence is too short: {}'.format (constraint) - script = scripts[constraint[0]] - if script in constraints: - constraints[script].add (constraint) - else: - constraints[script] = ConstraintSet (constraint) - assert constraints, 'No constraints found' - -print ('/* == Start of generated functions == */') -print ('/*') -print (' * The following functions are generated by running:') -print (' *') -print (' * %s ms-use/IndicShapingInvalidCluster.txt Scripts.txt' % sys.argv[0]) -print (' *') -print (' * on files with these headers:') -print (' *') -for line in constraints_header: - print (' * %s' % line.strip ()) -print (' *') -for line in scripts_header: - print (' * %s' % line.strip ()) -print (' */') - -print () -print ('#include "hb.hh"') -print () -print ('#ifndef HB_NO_OT_SHAPE') -print () -print ('#include "hb-ot-shape-complex-vowel-constraints.hh"') -print () -print ('static void') -print ('_output_dotted_circle (hb_buffer_t *buffer)') -print ('{') -print (' (void) buffer->output_glyph (0x25CCu);') -print (' _hb_glyph_info_reset_continuation (&buffer->prev());') -print ('}') -print () -print ('static void') -print ('_output_with_dotted_circle (hb_buffer_t *buffer)') -print ('{') -print (' _output_dotted_circle (buffer);') -print (' (void) buffer->next_glyph ();') -print ('}') -print () - -print ('void') -print ('_hb_preprocess_text_vowel_constraints (const hb_ot_shape_plan_t *plan HB_UNUSED,') -print ('\t\t\t\t hb_buffer_t *buffer,') -print ('\t\t\t\t hb_font_t *font HB_UNUSED)') -print ('{') -print ('#ifdef HB_NO_OT_SHAPE_COMPLEX_VOWEL_CONSTRAINTS') -print (' return;') -print ('#endif') -print (' if (buffer->flags & HB_BUFFER_FLAG_DO_NOT_INSERT_DOTTED_CIRCLE)') -print (' return;') -print () -print (' /* UGLY UGLY UGLY business of adding dotted-circle in the middle of') -print (' * vowel-sequences that look like another vowel. Data for each script') -print (' * collected from the USE script development spec.') -print (' *') -print (' * https://github.com/harfbuzz/harfbuzz/issues/1019') -print (' */') -print (' buffer->clear_output ();') -print (' unsigned int count = buffer->len;') -print (' switch ((unsigned) buffer->props.script)') -print (' {') - -for script, constraints in sorted (constraints.items (), key=lambda s_c: script_order[s_c[0]]): - print (' case HB_SCRIPT_{}:'.format (script.upper ())) - print (' for (buffer->idx = 0; buffer->idx + 1 < count && buffer->successful;)') - print (' {') - print ('\tbool matched = false;') - write (str (constraints)) - print ('\t(void) buffer->next_glyph ();') - print ('\tif (matched) _output_with_dotted_circle (buffer);') - print (' }') - print (' break;') - print () - -print (' default:') -print (' break;') -print (' }') -print (' buffer->swap_buffers ();') -print ('}') - -print () -print () -print ('#endif') -print ('/* == End of generated functions == */') diff --git a/harfbuzz/src/harfbuzz-config.cmake.in b/harfbuzz/src/harfbuzz-config.cmake.in deleted file mode 100644 index 304410d..0000000 --- a/harfbuzz/src/harfbuzz-config.cmake.in +++ /dev/null @@ -1,86 +0,0 @@ -# Set these variables so that the `${prefix}/lib` expands to something we can -# remove. -set(_harfbuzz_remove_string "REMOVE_ME") -set(exec_prefix "${_harfbuzz_remove_string}") -set(prefix "${_harfbuzz_remove_string}") - -# Compute the installation prefix by stripping components from our current -# location. -get_filename_component(_harfbuzz_prefix "${CMAKE_CURRENT_LIST_DIR}" DIRECTORY) -get_filename_component(_harfbuzz_prefix "${_harfbuzz_prefix}" DIRECTORY) -set(_harfbuzz_libdir "@libdir@") -string(REPLACE "${_harfbuzz_remove_string}/" "" _harfbuzz_libdir "${_harfbuzz_libdir}") -set(_harfbuzz_libdir_iter "${_harfbuzz_libdir}") -while (_harfbuzz_libdir_iter) - set(_harfbuzz_libdir_prev_iter "${_harfbuzz_libdir_iter}") - get_filename_component(_harfbuzz_libdir_iter "${_harfbuzz_libdir_iter}" DIRECTORY) - if (_harfbuzz_libdir_prev_iter STREQUAL _harfbuzz_libdir_iter) - break() - endif () - get_filename_component(_harfbuzz_prefix "${_harfbuzz_prefix}" DIRECTORY) -endwhile () -unset(_harfbuzz_libdir_iter) - -# Get the include subdir. -set(_harfbuzz_includedir "@includedir@") -string(REPLACE "${_harfbuzz_remove_string}/" "" _harfbuzz_includedir "${_harfbuzz_includedir}") - -# Extract version information from libtool. -set(_harfbuzz_version_info "@HB_LIBTOOL_VERSION_INFO@") -string(REPLACE ":" ";" _harfbuzz_version_info "${_harfbuzz_version_info}") -list(GET _harfbuzz_version_info 0 - _harfbuzz_current) -list(GET _harfbuzz_version_info 1 - _harfbuzz_revision) -list(GET _harfbuzz_version_info 2 - _harfbuzz_age) -unset(_harfbuzz_version_info) - -if (APPLE) - set(_harfbuzz_lib_suffix ".0${CMAKE_SHARED_LIBRARY_SUFFIX}") -elseif (UNIX) - set(_harfbuzz_lib_suffix "${CMAKE_SHARED_LIBRARY_SUFFIX}.0.${_harfbuzz_current}.${_harfbuzz_revision}") -else () - # Unsupported. - set(harfbuzz_FOUND 0) -endif () - -# Add the libraries. -add_library(harfbuzz::harfbuzz SHARED IMPORTED) -set_target_properties(harfbuzz::harfbuzz PROPERTIES - INTERFACE_INCLUDE_DIRECTORIES "${_harfbuzz_prefix}/${_harfbuzz_includedir}/harfbuzz" - IMPORTED_LOCATION "${_harfbuzz_prefix}/${_harfbuzz_libdir}/libharfbuzz${_harfbuzz_lib_suffix}") - -add_library(harfbuzz::icu SHARED IMPORTED) -set_target_properties(harfbuzz::icu PROPERTIES - INTERFACE_INCLUDE_DIRECTORIES "${_harfbuzz_prefix}/${_harfbuzz_includedir}/harfbuzz" - INTERFACE_LINK_LIBRARIES "harfbuzz::harfbuzz" - IMPORTED_LOCATION "${_harfbuzz_prefix}/${_harfbuzz_libdir}/libharfbuzz-icu${_harfbuzz_lib_suffix}") - -add_library(harfbuzz::subset SHARED IMPORTED) -set_target_properties(harfbuzz::subset PROPERTIES - INTERFACE_INCLUDE_DIRECTORIES "${_harfbuzz_prefix}/${_harfbuzz_includedir}/harfbuzz" - INTERFACE_LINK_LIBRARIES "harfbuzz::harfbuzz" - IMPORTED_LOCATION "${_harfbuzz_prefix}/${_harfbuzz_libdir}/libharfbuzz-subset${_harfbuzz_lib_suffix}") - -# Only add the gobject library if it was built. -set(_harfbuzz_have_gobject "@have_gobject@") -if (_harfbuzz_have_gobject) - add_library(harfbuzz::gobject SHARED IMPORTED) - set_target_properties(harfbuzz::gobject PROPERTIES - INTERFACE_INCLUDE_DIRECTORIES "${_harfbuzz_prefix}/${_harfbuzz_includedir}/harfbuzz" - INTERFACE_LINK_LIBRARIES "harfbuzz::harfbuzz" - IMPORTED_LOCATION "${_harfbuzz_prefix}/${_harfbuzz_libdir}/libharfbuzz-gobject${_harfbuzz_lib_suffix}") -endif () - -# Clean out variables we used in our scope. -unset(_harfbuzz_lib_suffix) -unset(_harfbuzz_current) -unset(_harfbuzz_revision) -unset(_harfbuzz_age) -unset(_harfbuzz_includedir) -unset(_harfbuzz_libdir) -unset(_harfbuzz_prefix) -unset(exec_prefix) -unset(prefix) -unset(_harfbuzz_remove_string) diff --git a/harfbuzz/src/harfbuzz-gobject.pc.in b/harfbuzz/src/harfbuzz-gobject.pc.in deleted file mode 100644 index 7008360..0000000 --- a/harfbuzz/src/harfbuzz-gobject.pc.in +++ /dev/null @@ -1,12 +0,0 @@ -prefix=%prefix% -exec_prefix=%exec_prefix% -libdir=%libdir% -includedir=%includedir% - -Name: harfbuzz -Description: HarfBuzz text shaping library GObject integration -Version: %VERSION% - -Requires: harfbuzz gobject-2.0 glib-2.0 -Libs: -L${libdir} -lharfbuzz-gobject -Cflags: -I${includedir}/harfbuzz diff --git a/harfbuzz/src/harfbuzz-icu.pc.in b/harfbuzz/src/harfbuzz-icu.pc.in deleted file mode 100644 index 949869a..0000000 --- a/harfbuzz/src/harfbuzz-icu.pc.in +++ /dev/null @@ -1,13 +0,0 @@ -prefix=%prefix% -exec_prefix=%exec_prefix% -libdir=%libdir% -includedir=%includedir% - -Name: harfbuzz -Description: HarfBuzz text shaping library ICU integration -Version: %VERSION% - -Requires: harfbuzz -Requires.private: icu-uc -Libs: -L${libdir} -lharfbuzz-icu -Cflags: -I${includedir}/harfbuzz diff --git a/harfbuzz/src/harfbuzz-subset.pc.in b/harfbuzz/src/harfbuzz-subset.pc.in deleted file mode 100644 index 5da64b3..0000000 --- a/harfbuzz/src/harfbuzz-subset.pc.in +++ /dev/null @@ -1,12 +0,0 @@ -prefix=%prefix% -exec_prefix=%exec_prefix% -libdir=%libdir% -includedir=%includedir% - -Name: harfbuzz -Description: HarfBuzz font subsetter -Version: %VERSION% - -Requires: harfbuzz -Libs: -L${libdir} -lharfbuzz-subset -Cflags: -I${includedir}/harfbuzz diff --git a/harfbuzz/src/harfbuzz.cc b/harfbuzz/src/harfbuzz.cc deleted file mode 100644 index 14ee6f5..0000000 --- a/harfbuzz/src/harfbuzz.cc +++ /dev/null @@ -1,56 +0,0 @@ -#include "hb-aat-layout.cc" -#include "hb-aat-map.cc" -#include "hb-blob.cc" -#include "hb-buffer-serialize.cc" -#include "hb-buffer.cc" -#include "hb-common.cc" -#include "hb-draw.cc" -#include "hb-face.cc" -#include "hb-fallback-shape.cc" -#include "hb-font.cc" -#include "hb-map.cc" -#include "hb-ms-feature-ranges.cc" -#include "hb-number.cc" -#include "hb-ot-cff1-table.cc" -#include "hb-ot-cff2-table.cc" -#include "hb-ot-color.cc" -#include "hb-ot-face.cc" -#include "hb-ot-font.cc" -#include "hb-ot-layout.cc" -#include "hb-ot-map.cc" -#include "hb-ot-math.cc" -#include "hb-ot-meta.cc" -#include "hb-ot-metrics.cc" -#include "hb-ot-name.cc" -#include "hb-ot-shape-complex-arabic.cc" -#include "hb-ot-shape-complex-default.cc" -#include "hb-ot-shape-complex-hangul.cc" -#include "hb-ot-shape-complex-hebrew.cc" -#include "hb-ot-shape-complex-indic-table.cc" -#include "hb-ot-shape-complex-indic.cc" -#include "hb-ot-shape-complex-khmer.cc" -#include "hb-ot-shape-complex-myanmar.cc" -#include "hb-ot-shape-complex-syllabic.cc" -#include "hb-ot-shape-complex-thai.cc" -#include "hb-ot-shape-complex-use.cc" -#include "hb-ot-shape-complex-vowel-constraints.cc" -#include "hb-ot-shape-fallback.cc" -#include "hb-ot-shape-normalize.cc" -#include "hb-ot-shape.cc" -#include "hb-ot-tag.cc" -#include "hb-ot-var.cc" -#include "hb-set.cc" -#include "hb-shape-plan.cc" -#include "hb-shape.cc" -#include "hb-shaper.cc" -#include "hb-static.cc" -#include "hb-style.cc" -#include "hb-ucd.cc" -#include "hb-unicode.cc" -#include "hb-glib.cc" -#include "hb-ft.cc" -#include "hb-graphite2.cc" -#include "hb-uniscribe.cc" -#include "hb-gdi.cc" -#include "hb-directwrite.cc" -#include "hb-coretext.cc" diff --git a/harfbuzz/src/harfbuzz.pc.in b/harfbuzz/src/harfbuzz.pc.in deleted file mode 100644 index 661251c..0000000 --- a/harfbuzz/src/harfbuzz.pc.in +++ /dev/null @@ -1,13 +0,0 @@ -prefix=%prefix% -exec_prefix=%exec_prefix% -libdir=%libdir% -includedir=%includedir% - -Name: harfbuzz -Description: HarfBuzz text shaping library -Version: %VERSION% - -Libs: -L${libdir} -lharfbuzz -Libs.private: -lm %libs_private% -Requires.private: %requires_private% -Cflags: -I${includedir}/harfbuzz diff --git a/harfbuzz/src/hb-aat-layout-ankr-table.hh b/harfbuzz/src/hb-aat-layout-ankr-table.hh deleted file mode 100644 index 63fac84..0000000 --- a/harfbuzz/src/hb-aat-layout-ankr-table.hh +++ /dev/null @@ -1,98 +0,0 @@ -/* - * Copyright © 2018 Ebrahim Byagowi - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - */ - -#ifndef HB_AAT_LAYOUT_ANKR_TABLE_HH -#define HB_AAT_LAYOUT_ANKR_TABLE_HH - -#include "hb-aat-layout-common.hh" - -/* - * ankr -- Anchor Point - * https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6ankr.html - */ -#define HB_AAT_TAG_ankr HB_TAG('a','n','k','r') - - -namespace AAT { - -using namespace OT; - - -struct Anchor -{ - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this)); - } - - public: - FWORD xCoordinate; - FWORD yCoordinate; - public: - DEFINE_SIZE_STATIC (4); -}; - -typedef Array32Of GlyphAnchors; - -struct ankr -{ - static constexpr hb_tag_t tableTag = HB_AAT_TAG_ankr; - - const Anchor &get_anchor (hb_codepoint_t glyph_id, - unsigned int i, - unsigned int num_glyphs) const - { - const NNOffset16To *offset = (this+lookupTable).get_value (glyph_id, num_glyphs); - if (!offset) - return Null (Anchor); - const GlyphAnchors &anchors = &(this+anchorData) + *offset; - return anchors[i]; - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (likely (c->check_struct (this) && - version == 0 && - c->check_range (this, anchorData) && - lookupTable.sanitize (c, this, &(this+anchorData)))); - } - - protected: - HBUINT16 version; /* Version number (set to zero) */ - HBUINT16 flags; /* Flags (currently unused; set to zero) */ - Offset32To>> - lookupTable; /* Offset to the table's lookup table */ - NNOffset32To - anchorData; /* Offset to the glyph data table */ - - public: - DEFINE_SIZE_STATIC (12); -}; - -} /* namespace AAT */ - - -#endif /* HB_AAT_LAYOUT_ANKR_TABLE_HH */ diff --git a/harfbuzz/src/hb-aat-layout-bsln-table.hh b/harfbuzz/src/hb-aat-layout-bsln-table.hh deleted file mode 100644 index b52844e..0000000 --- a/harfbuzz/src/hb-aat-layout-bsln-table.hh +++ /dev/null @@ -1,158 +0,0 @@ -/* - * Copyright © 2018 Ebrahim Byagowi - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - */ - -#ifndef HB_AAT_LAYOUT_BSLN_TABLE_HH -#define HB_AAT_LAYOUT_BSLN_TABLE_HH - -#include "hb-aat-layout-common.hh" - -/* - * bsln -- Baseline - * https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6bsln.html - */ -#define HB_AAT_TAG_bsln HB_TAG('b','s','l','n') - - -namespace AAT { - - -struct BaselineTableFormat0Part -{ - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (likely (c->check_struct (this))); - } - - protected: - // Roman, Ideographic centered, Ideographic low, Hanging and Math - // are the default defined ones, but any other maybe accessed also. - HBINT16 deltas[32]; /* These are the FUnit distance deltas from - * the font's natural baseline to the other - * baselines used in the font. */ - public: - DEFINE_SIZE_STATIC (64); -}; - -struct BaselineTableFormat1Part -{ - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (likely (c->check_struct (this) && - lookupTable.sanitize (c))); - } - - protected: - HBINT16 deltas[32]; /* ditto */ - Lookup - lookupTable; /* Lookup table that maps glyphs to their - * baseline values. */ - public: - DEFINE_SIZE_MIN (66); -}; - -struct BaselineTableFormat2Part -{ - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (likely (c->check_struct (this))); - } - - protected: - HBGlyphID16 stdGlyph; /* The specific glyph index number in this - * font that is used to set the baseline values. - * This is the standard glyph. - * This glyph must contain a set of control points - * (whose numbers are contained in the ctlPoints field) - * that are used to determine baseline distances. */ - HBUINT16 ctlPoints[32]; /* Set of control point numbers, - * associated with the standard glyph. - * A value of 0xFFFF means there is no corresponding - * control point in the standard glyph. */ - public: - DEFINE_SIZE_STATIC (66); -}; - -struct BaselineTableFormat3Part -{ - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (likely (c->check_struct (this) && lookupTable.sanitize (c))); - } - - protected: - HBGlyphID16 stdGlyph; /* ditto */ - HBUINT16 ctlPoints[32]; /* ditto */ - Lookup - lookupTable; /* Lookup table that maps glyphs to their - * baseline values. */ - public: - DEFINE_SIZE_MIN (68); -}; - -struct bsln -{ - static constexpr hb_tag_t tableTag = HB_AAT_TAG_bsln; - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - if (unlikely (!(c->check_struct (this) && defaultBaseline < 32))) - return_trace (false); - - switch (format) - { - case 0: return_trace (parts.format0.sanitize (c)); - case 1: return_trace (parts.format1.sanitize (c)); - case 2: return_trace (parts.format2.sanitize (c)); - case 3: return_trace (parts.format3.sanitize (c)); - default:return_trace (true); - } - } - - protected: - FixedVersion<>version; /* Version number of the Baseline table. */ - HBUINT16 format; /* Format of the baseline table. Only one baseline - * format may be selected for the font. */ - HBUINT16 defaultBaseline;/* Default baseline value for all glyphs. - * This value can be from 0 through 31. */ - union { - // Distance-Based Formats - BaselineTableFormat0Part format0; - BaselineTableFormat1Part format1; - // Control Point-based Formats - BaselineTableFormat2Part format2; - BaselineTableFormat3Part format3; - } parts; - public: - DEFINE_SIZE_MIN (8); -}; - -} /* namespace AAT */ - - -#endif /* HB_AAT_LAYOUT_BSLN_TABLE_HH */ diff --git a/harfbuzz/src/hb-aat-layout-common.hh b/harfbuzz/src/hb-aat-layout-common.hh deleted file mode 100644 index 1dcbe92..0000000 --- a/harfbuzz/src/hb-aat-layout-common.hh +++ /dev/null @@ -1,890 +0,0 @@ -/* - * Copyright © 2017 Google, Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Google Author(s): Behdad Esfahbod - */ - -#ifndef HB_AAT_LAYOUT_COMMON_HH -#define HB_AAT_LAYOUT_COMMON_HH - -#include "hb-aat-layout.hh" -#include "hb-open-type.hh" - -namespace OT { -struct GDEF; -}; - -namespace AAT { - -using namespace OT; - - -/* - * Lookup Table - */ - -template struct Lookup; - -template -struct LookupFormat0 -{ - friend struct Lookup; - - private: - const T* get_value (hb_codepoint_t glyph_id, unsigned int num_glyphs) const - { - if (unlikely (glyph_id >= num_glyphs)) return nullptr; - return &arrayZ[glyph_id]; - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (arrayZ.sanitize (c, c->get_num_glyphs ())); - } - bool sanitize (hb_sanitize_context_t *c, const void *base) const - { - TRACE_SANITIZE (this); - return_trace (arrayZ.sanitize (c, c->get_num_glyphs (), base)); - } - - protected: - HBUINT16 format; /* Format identifier--format = 0 */ - UnsizedArrayOf - arrayZ; /* Array of lookup values, indexed by glyph index. */ - public: - DEFINE_SIZE_UNBOUNDED (2); -}; - - -template -struct LookupSegmentSingle -{ - static constexpr unsigned TerminationWordCount = 2u; - - int cmp (hb_codepoint_t g) const - { return g < first ? -1 : g <= last ? 0 : +1 ; } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this) && value.sanitize (c)); - } - bool sanitize (hb_sanitize_context_t *c, const void *base) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this) && value.sanitize (c, base)); - } - - HBGlyphID16 last; /* Last GlyphID in this segment */ - HBGlyphID16 first; /* First GlyphID in this segment */ - T value; /* The lookup value (only one) */ - public: - DEFINE_SIZE_STATIC (4 + T::static_size); -}; - -template -struct LookupFormat2 -{ - friend struct Lookup; - - private: - const T* get_value (hb_codepoint_t glyph_id) const - { - const LookupSegmentSingle *v = segments.bsearch (glyph_id); - return v ? &v->value : nullptr; - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (segments.sanitize (c)); - } - bool sanitize (hb_sanitize_context_t *c, const void *base) const - { - TRACE_SANITIZE (this); - return_trace (segments.sanitize (c, base)); - } - - protected: - HBUINT16 format; /* Format identifier--format = 2 */ - VarSizedBinSearchArrayOf> - segments; /* The actual segments. These must already be sorted, - * according to the first word in each one (the last - * glyph in each segment). */ - public: - DEFINE_SIZE_ARRAY (8, segments); -}; - -template -struct LookupSegmentArray -{ - static constexpr unsigned TerminationWordCount = 2u; - - const T* get_value (hb_codepoint_t glyph_id, const void *base) const - { - return first <= glyph_id && glyph_id <= last ? &(base+valuesZ)[glyph_id - first] : nullptr; - } - - int cmp (hb_codepoint_t g) const - { return g < first ? -1 : g <= last ? 0 : +1; } - - bool sanitize (hb_sanitize_context_t *c, const void *base) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this) && - first <= last && - valuesZ.sanitize (c, base, last - first + 1)); - } - template - bool sanitize (hb_sanitize_context_t *c, const void *base, Ts&&... ds) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this) && - first <= last && - valuesZ.sanitize (c, base, last - first + 1, std::forward (ds)...)); - } - - HBGlyphID16 last; /* Last GlyphID in this segment */ - HBGlyphID16 first; /* First GlyphID in this segment */ - NNOffset16To> - valuesZ; /* A 16-bit offset from the start of - * the table to the data. */ - public: - DEFINE_SIZE_STATIC (6); -}; - -template -struct LookupFormat4 -{ - friend struct Lookup; - - private: - const T* get_value (hb_codepoint_t glyph_id) const - { - const LookupSegmentArray *v = segments.bsearch (glyph_id); - return v ? v->get_value (glyph_id, this) : nullptr; - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (segments.sanitize (c, this)); - } - bool sanitize (hb_sanitize_context_t *c, const void *base) const - { - TRACE_SANITIZE (this); - return_trace (segments.sanitize (c, this, base)); - } - - protected: - HBUINT16 format; /* Format identifier--format = 4 */ - VarSizedBinSearchArrayOf> - segments; /* The actual segments. These must already be sorted, - * according to the first word in each one (the last - * glyph in each segment). */ - public: - DEFINE_SIZE_ARRAY (8, segments); -}; - -template -struct LookupSingle -{ - static constexpr unsigned TerminationWordCount = 1u; - - int cmp (hb_codepoint_t g) const { return glyph.cmp (g); } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this) && value.sanitize (c)); - } - bool sanitize (hb_sanitize_context_t *c, const void *base) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this) && value.sanitize (c, base)); - } - - HBGlyphID16 glyph; /* Last GlyphID */ - T value; /* The lookup value (only one) */ - public: - DEFINE_SIZE_STATIC (2 + T::static_size); -}; - -template -struct LookupFormat6 -{ - friend struct Lookup; - - private: - const T* get_value (hb_codepoint_t glyph_id) const - { - const LookupSingle *v = entries.bsearch (glyph_id); - return v ? &v->value : nullptr; - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (entries.sanitize (c)); - } - bool sanitize (hb_sanitize_context_t *c, const void *base) const - { - TRACE_SANITIZE (this); - return_trace (entries.sanitize (c, base)); - } - - protected: - HBUINT16 format; /* Format identifier--format = 6 */ - VarSizedBinSearchArrayOf> - entries; /* The actual entries, sorted by glyph index. */ - public: - DEFINE_SIZE_ARRAY (8, entries); -}; - -template -struct LookupFormat8 -{ - friend struct Lookup; - - private: - const T* get_value (hb_codepoint_t glyph_id) const - { - return firstGlyph <= glyph_id && glyph_id - firstGlyph < glyphCount ? - &valueArrayZ[glyph_id - firstGlyph] : nullptr; - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this) && valueArrayZ.sanitize (c, glyphCount)); - } - bool sanitize (hb_sanitize_context_t *c, const void *base) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this) && valueArrayZ.sanitize (c, glyphCount, base)); - } - - protected: - HBUINT16 format; /* Format identifier--format = 8 */ - HBGlyphID16 firstGlyph; /* First glyph index included in the trimmed array. */ - HBUINT16 glyphCount; /* Total number of glyphs (equivalent to the last - * glyph minus the value of firstGlyph plus 1). */ - UnsizedArrayOf - valueArrayZ; /* The lookup values (indexed by the glyph index - * minus the value of firstGlyph). */ - public: - DEFINE_SIZE_ARRAY (6, valueArrayZ); -}; - -template -struct LookupFormat10 -{ - friend struct Lookup; - - private: - const typename T::type get_value_or_null (hb_codepoint_t glyph_id) const - { - if (!(firstGlyph <= glyph_id && glyph_id - firstGlyph < glyphCount)) - return Null (T); - - const HBUINT8 *p = &valueArrayZ[(glyph_id - firstGlyph) * valueSize]; - - unsigned int v = 0; - unsigned int count = valueSize; - for (unsigned int i = 0; i < count; i++) - v = (v << 8) | *p++; - - return v; - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this) && - valueSize <= 4 && - valueArrayZ.sanitize (c, glyphCount * valueSize)); - } - - protected: - HBUINT16 format; /* Format identifier--format = 8 */ - HBUINT16 valueSize; /* Byte size of each value. */ - HBGlyphID16 firstGlyph; /* First glyph index included in the trimmed array. */ - HBUINT16 glyphCount; /* Total number of glyphs (equivalent to the last - * glyph minus the value of firstGlyph plus 1). */ - UnsizedArrayOf - valueArrayZ; /* The lookup values (indexed by the glyph index - * minus the value of firstGlyph). */ - public: - DEFINE_SIZE_ARRAY (8, valueArrayZ); -}; - -template -struct Lookup -{ - const T* get_value (hb_codepoint_t glyph_id, unsigned int num_glyphs) const - { - switch (u.format) { - case 0: return u.format0.get_value (glyph_id, num_glyphs); - case 2: return u.format2.get_value (glyph_id); - case 4: return u.format4.get_value (glyph_id); - case 6: return u.format6.get_value (glyph_id); - case 8: return u.format8.get_value (glyph_id); - default:return nullptr; - } - } - - const typename T::type get_value_or_null (hb_codepoint_t glyph_id, unsigned int num_glyphs) const - { - switch (u.format) { - /* Format 10 cannot return a pointer. */ - case 10: return u.format10.get_value_or_null (glyph_id); - default: - const T *v = get_value (glyph_id, num_glyphs); - return v ? *v : Null (T); - } - } - - typename T::type get_class (hb_codepoint_t glyph_id, - unsigned int num_glyphs, - unsigned int outOfRange) const - { - const T *v = get_value (glyph_id, num_glyphs); - return v ? *v : outOfRange; - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - if (!u.format.sanitize (c)) return_trace (false); - switch (u.format) { - case 0: return_trace (u.format0.sanitize (c)); - case 2: return_trace (u.format2.sanitize (c)); - case 4: return_trace (u.format4.sanitize (c)); - case 6: return_trace (u.format6.sanitize (c)); - case 8: return_trace (u.format8.sanitize (c)); - case 10: return_trace (u.format10.sanitize (c)); - default:return_trace (true); - } - } - bool sanitize (hb_sanitize_context_t *c, const void *base) const - { - TRACE_SANITIZE (this); - if (!u.format.sanitize (c)) return_trace (false); - switch (u.format) { - case 0: return_trace (u.format0.sanitize (c, base)); - case 2: return_trace (u.format2.sanitize (c, base)); - case 4: return_trace (u.format4.sanitize (c, base)); - case 6: return_trace (u.format6.sanitize (c, base)); - case 8: return_trace (u.format8.sanitize (c, base)); - case 10: return_trace (false); /* We don't support format10 here currently. */ - default:return_trace (true); - } - } - - protected: - union { - HBUINT16 format; /* Format identifier */ - LookupFormat0 format0; - LookupFormat2 format2; - LookupFormat4 format4; - LookupFormat6 format6; - LookupFormat8 format8; - LookupFormat10 format10; - } u; - public: - DEFINE_SIZE_UNION (2, format); -}; -/* Lookup 0 has unbounded size (dependant on num_glyphs). So we need to defined - * special NULL objects for Lookup<> objects, but since it's template our macros - * don't work. So we have to hand-code them here. UGLY. */ -} /* Close namespace. */ -/* Ugly hand-coded null objects for template Lookup<> :(. */ -extern HB_INTERNAL const unsigned char _hb_Null_AAT_Lookup[2]; -template -struct Null> { - static AAT::Lookup const & get_null () - { return *reinterpret_cast *> (_hb_Null_AAT_Lookup); } -}; -namespace AAT { - -enum { DELETED_GLYPH = 0xFFFF }; - -/* - * (Extended) State Table - */ - -template -struct Entry -{ - bool sanitize (hb_sanitize_context_t *c, unsigned int count) const - { - TRACE_SANITIZE (this); - /* Note, we don't recurse-sanitize data because we don't access it. - * That said, in our DEFINE_SIZE_STATIC we access T::static_size, - * which ensures that data has a simple sanitize(). To be determined - * if I need to remove that as well. - * - * HOWEVER! Because we are a template, our DEFINE_SIZE_STATIC - * assertion wouldn't be checked, hence the line below. */ - static_assert (T::static_size, ""); - - return_trace (c->check_struct (this)); - } - - public: - HBUINT16 newState; /* Byte offset from beginning of state table - * to the new state. Really?!?! Or just state - * number? The latter in morx for sure. */ - HBUINT16 flags; /* Table specific. */ - T data; /* Optional offsets to per-glyph tables. */ - public: - DEFINE_SIZE_STATIC (4 + T::static_size); -}; - -template <> -struct Entry -{ - bool sanitize (hb_sanitize_context_t *c, unsigned int count /*XXX Unused?*/) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this)); - } - - public: - HBUINT16 newState; /* Byte offset from beginning of state table to the new state. */ - HBUINT16 flags; /* Table specific. */ - public: - DEFINE_SIZE_STATIC (4); -}; - -template -struct StateTable -{ - typedef typename Types::HBUINT HBUINT; - typedef typename Types::HBUSHORT HBUSHORT; - typedef typename Types::ClassTypeNarrow ClassType; - - enum State - { - STATE_START_OF_TEXT = 0, - STATE_START_OF_LINE = 1, - }; - enum Class - { - CLASS_END_OF_TEXT = 0, - CLASS_OUT_OF_BOUNDS = 1, - CLASS_DELETED_GLYPH = 2, - CLASS_END_OF_LINE = 3, - }; - - int new_state (unsigned int newState) const - { return Types::extended ? newState : ((int) newState - (int) stateArrayTable) / (int) nClasses; } - - unsigned int get_class (hb_codepoint_t glyph_id, unsigned int num_glyphs) const - { - if (unlikely (glyph_id == DELETED_GLYPH)) return CLASS_DELETED_GLYPH; - return (this+classTable).get_class (glyph_id, num_glyphs, 1); - } - - const Entry *get_entries () const - { return (this+entryTable).arrayZ; } - - const Entry &get_entry (int state, unsigned int klass) const - { - if (unlikely (klass >= nClasses)) - klass = StateTable::CLASS_OUT_OF_BOUNDS; - - const HBUSHORT *states = (this+stateArrayTable).arrayZ; - const Entry *entries = (this+entryTable).arrayZ; - - unsigned int entry = states[state * nClasses + klass]; - DEBUG_MSG (APPLY, nullptr, "e%u", entry); - - return entries[entry]; - } - - bool sanitize (hb_sanitize_context_t *c, - unsigned int *num_entries_out = nullptr) const - { - TRACE_SANITIZE (this); - if (unlikely (!(c->check_struct (this) && - nClasses >= 4 /* Ensure pre-defined classes fit. */ && - classTable.sanitize (c, this)))) return_trace (false); - - const HBUSHORT *states = (this+stateArrayTable).arrayZ; - const Entry *entries = (this+entryTable).arrayZ; - - unsigned int num_classes = nClasses; - if (unlikely (hb_unsigned_mul_overflows (num_classes, states[0].static_size))) - return_trace (false); - unsigned int row_stride = num_classes * states[0].static_size; - - /* Apple 'kern' table has this peculiarity: - * - * "Because the stateTableOffset in the state table header is (strictly - * speaking) redundant, some 'kern' tables use it to record an initial - * state where that should not be StartOfText. To determine if this is - * done, calculate what the stateTableOffset should be. If it's different - * from the actual stateTableOffset, use it as the initial state." - * - * We implement this by calling the initial state zero, but allow *negative* - * states if the start state indeed was not the first state. Since the code - * is shared, this will also apply to 'mort' table. The 'kerx' / 'morx' - * tables are not affected since those address states by index, not offset. - */ - - int min_state = 0; - int max_state = 0; - unsigned int num_entries = 0; - - int state_pos = 0; - int state_neg = 0; - unsigned int entry = 0; - while (min_state < state_neg || state_pos <= max_state) - { - if (min_state < state_neg) - { - /* Negative states. */ - if (unlikely (hb_unsigned_mul_overflows (min_state, num_classes))) - return_trace (false); - if (unlikely (!c->check_range (&states[min_state * num_classes], - -min_state, - row_stride))) - return_trace (false); - if ((c->max_ops -= state_neg - min_state) <= 0) - return_trace (false); - { /* Sweep new states. */ - const HBUSHORT *stop = &states[min_state * num_classes]; - if (unlikely (stop > states)) - return_trace (false); - for (const HBUSHORT *p = states; stop < p; p--) - num_entries = hb_max (num_entries, *(p - 1) + 1u); - state_neg = min_state; - } - } - - if (state_pos <= max_state) - { - /* Positive states. */ - if (unlikely (!c->check_range (states, - max_state + 1, - row_stride))) - return_trace (false); - if ((c->max_ops -= max_state - state_pos + 1) <= 0) - return_trace (false); - { /* Sweep new states. */ - if (unlikely (hb_unsigned_mul_overflows ((max_state + 1), num_classes))) - return_trace (false); - const HBUSHORT *stop = &states[(max_state + 1) * num_classes]; - if (unlikely (stop < states)) - return_trace (false); - for (const HBUSHORT *p = &states[state_pos * num_classes]; p < stop; p++) - num_entries = hb_max (num_entries, *p + 1u); - state_pos = max_state + 1; - } - } - - if (unlikely (!c->check_array (entries, num_entries))) - return_trace (false); - if ((c->max_ops -= num_entries - entry) <= 0) - return_trace (false); - { /* Sweep new entries. */ - const Entry *stop = &entries[num_entries]; - for (const Entry *p = &entries[entry]; p < stop; p++) - { - int newState = new_state (p->newState); - min_state = hb_min (min_state, newState); - max_state = hb_max (max_state, newState); - } - entry = num_entries; - } - } - - if (num_entries_out) - *num_entries_out = num_entries; - - return_trace (true); - } - - protected: - HBUINT nClasses; /* Number of classes, which is the number of indices - * in a single line in the state array. */ - NNOffsetTo - classTable; /* Offset to the class table. */ - NNOffsetTo, HBUINT> - stateArrayTable;/* Offset to the state array. */ - NNOffsetTo>, HBUINT> - entryTable; /* Offset to the entry array. */ - - public: - DEFINE_SIZE_STATIC (4 * sizeof (HBUINT)); -}; - -template -struct ClassTable -{ - unsigned int get_class (hb_codepoint_t glyph_id, unsigned int outOfRange) const - { - unsigned int i = glyph_id - firstGlyph; - return i >= classArray.len ? outOfRange : classArray.arrayZ[i]; - } - unsigned int get_class (hb_codepoint_t glyph_id, - unsigned int num_glyphs HB_UNUSED, - unsigned int outOfRange) const - { - return get_class (glyph_id, outOfRange); - } - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this) && classArray.sanitize (c)); - } - protected: - HBGlyphID16 firstGlyph; /* First glyph index included in the trimmed array. */ - Array16Of classArray; /* The class codes (indexed by glyph index minus - * firstGlyph). */ - public: - DEFINE_SIZE_ARRAY (4, classArray); -}; - -struct ObsoleteTypes -{ - static constexpr bool extended = false; - typedef HBUINT16 HBUINT; - typedef HBUINT8 HBUSHORT; - typedef ClassTable ClassTypeNarrow; - typedef ClassTable ClassTypeWide; - - template - static unsigned int offsetToIndex (unsigned int offset, - const void *base, - const T *array) - { - /* https://github.com/harfbuzz/harfbuzz/issues/2816 */ - return (offset - unsigned ((const char *) array - (const char *) base)) / T::static_size; - } - template - static unsigned int byteOffsetToIndex (unsigned int offset, - const void *base, - const T *array) - { - return offsetToIndex (offset, base, array); - } - template - static unsigned int wordOffsetToIndex (unsigned int offset, - const void *base, - const T *array) - { - return offsetToIndex (2 * offset, base, array); - } -}; -struct ExtendedTypes -{ - static constexpr bool extended = true; - typedef HBUINT32 HBUINT; - typedef HBUINT16 HBUSHORT; - typedef Lookup ClassTypeNarrow; - typedef Lookup ClassTypeWide; - - template - static unsigned int offsetToIndex (unsigned int offset, - const void *base HB_UNUSED, - const T *array HB_UNUSED) - { - return offset; - } - template - static unsigned int byteOffsetToIndex (unsigned int offset, - const void *base HB_UNUSED, - const T *array HB_UNUSED) - { - return offset / 2; - } - template - static unsigned int wordOffsetToIndex (unsigned int offset, - const void *base HB_UNUSED, - const T *array HB_UNUSED) - { - return offset; - } -}; - -template -struct StateTableDriver -{ - using StateTableT = StateTable; - using EntryT = Entry; - - StateTableDriver (const StateTableT &machine_, - hb_buffer_t *buffer_, - hb_face_t *face_) : - machine (machine_), - buffer (buffer_), - num_glyphs (face_->get_num_glyphs ()) {} - - template - void drive (context_t *c) - { - if (!c->in_place) - buffer->clear_output (); - - int state = StateTableT::STATE_START_OF_TEXT; - for (buffer->idx = 0; buffer->successful;) - { - unsigned int klass = buffer->idx < buffer->len ? - machine.get_class (buffer->info[buffer->idx].codepoint, num_glyphs) : - (unsigned) StateTableT::CLASS_END_OF_TEXT; - DEBUG_MSG (APPLY, nullptr, "c%u at %u", klass, buffer->idx); - const EntryT &entry = machine.get_entry (state, klass); - const int next_state = machine.new_state (entry.newState); - - /* Conditions under which it's guaranteed safe-to-break before current glyph: - * - * 1. There was no action in this transition; and - * - * 2. If we break before current glyph, the results will be the same. That - * is guaranteed if: - * - * 2a. We were already in start-of-text state; or - * - * 2b. We are epsilon-transitioning to start-of-text state; or - * - * 2c. Starting from start-of-text state seeing current glyph: - * - * 2c'. There won't be any actions; and - * - * 2c". We would end up in the same state that we were going to end up - * in now, including whether epsilon-transitioning. - * - * and - * - * 3. If we break before current glyph, there won't be any end-of-text action - * after previous glyph. - * - * This triples the transitions we need to look up, but is worth returning - * granular unsafe-to-break results. See eg.: - * - * https://github.com/harfbuzz/harfbuzz/issues/2860 - */ - const EntryT *wouldbe_entry; - bool safe_to_break = - /* 1. */ - !c->is_actionable (this, entry) - && - /* 2. */ - ( - /* 2a. */ - state == StateTableT::STATE_START_OF_TEXT - || - /* 2b. */ - ( - (entry.flags & context_t::DontAdvance) && - next_state == StateTableT::STATE_START_OF_TEXT - ) - || - /* 2c. */ - ( - wouldbe_entry = &machine.get_entry (StateTableT::STATE_START_OF_TEXT, klass) - , - /* 2c'. */ - !c->is_actionable (this, *wouldbe_entry) - && - /* 2c". */ - ( - next_state == machine.new_state (wouldbe_entry->newState) - && - (entry.flags & context_t::DontAdvance) == (wouldbe_entry->flags & context_t::DontAdvance) - ) - ) - ) - && - /* 3. */ - !c->is_actionable (this, machine.get_entry (state, StateTableT::CLASS_END_OF_TEXT)) - ; - - if (!safe_to_break && buffer->backtrack_len () && buffer->idx < buffer->len) - buffer->unsafe_to_break_from_outbuffer (buffer->backtrack_len () - 1, buffer->idx + 1); - - c->transition (this, entry); - - state = next_state; - DEBUG_MSG (APPLY, nullptr, "s%d", state); - - if (buffer->idx == buffer->len || unlikely (!buffer->successful)) - break; - - if (!(entry.flags & context_t::DontAdvance) || buffer->max_ops-- <= 0) - (void) buffer->next_glyph (); - } - - if (!c->in_place) - buffer->swap_buffers (); - } - - public: - const StateTableT &machine; - hb_buffer_t *buffer; - unsigned int num_glyphs; -}; - - -struct ankr; - -struct hb_aat_apply_context_t : - hb_dispatch_context_t -{ - const char *get_name () { return "APPLY"; } - template - return_t dispatch (const T &obj) { return obj.apply (this); } - static return_t default_return_value () { return false; } - bool stop_sublookup_iteration (return_t r) const { return r; } - - const hb_ot_shape_plan_t *plan; - hb_font_t *font; - hb_face_t *face; - hb_buffer_t *buffer; - hb_sanitize_context_t sanitizer; - const ankr *ankr_table; - const OT::GDEF *gdef_table; - - /* Unused. For debug tracing only. */ - unsigned int lookup_index; - - HB_INTERNAL hb_aat_apply_context_t (const hb_ot_shape_plan_t *plan_, - hb_font_t *font_, - hb_buffer_t *buffer_, - hb_blob_t *blob = const_cast (&Null (hb_blob_t))); - - HB_INTERNAL ~hb_aat_apply_context_t (); - - HB_INTERNAL void set_ankr_table (const AAT::ankr *ankr_table_); - - void set_lookup_index (unsigned int i) { lookup_index = i; } -}; - - -} /* namespace AAT */ - - -#endif /* HB_AAT_LAYOUT_COMMON_HH */ diff --git a/harfbuzz/src/hb-aat-layout-feat-table.hh b/harfbuzz/src/hb-aat-layout-feat-table.hh deleted file mode 100644 index 573f0cf..0000000 --- a/harfbuzz/src/hb-aat-layout-feat-table.hh +++ /dev/null @@ -1,222 +0,0 @@ -/* - * Copyright © 2018 Ebrahim Byagowi - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - */ - -#ifndef HB_AAT_LAYOUT_FEAT_TABLE_HH -#define HB_AAT_LAYOUT_FEAT_TABLE_HH - -#include "hb-aat-layout-common.hh" - -/* - * feat -- Feature Name - * https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6feat.html - */ -#define HB_AAT_TAG_feat HB_TAG('f','e','a','t') - - -namespace AAT { - - -struct SettingName -{ - friend struct FeatureName; - - int cmp (hb_aat_layout_feature_selector_t key) const - { return (int) key - (int) setting; } - - hb_aat_layout_feature_selector_t get_selector () const - { return (hb_aat_layout_feature_selector_t) (unsigned) setting; } - - hb_aat_layout_feature_selector_info_t get_info (hb_aat_layout_feature_selector_t default_selector) const - { - return { - nameIndex, - (hb_aat_layout_feature_selector_t) (unsigned int) setting, - default_selector == HB_AAT_LAYOUT_FEATURE_SELECTOR_INVALID - ? (hb_aat_layout_feature_selector_t) (setting + 1) - : default_selector, - 0 - }; - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (likely (c->check_struct (this))); - } - - protected: - HBUINT16 setting; /* The setting. */ - NameID nameIndex; /* The name table index for the setting's name. */ - public: - DEFINE_SIZE_STATIC (4); -}; -DECLARE_NULL_NAMESPACE_BYTES (AAT, SettingName); - -struct feat; - -struct FeatureName -{ - int cmp (hb_aat_layout_feature_type_t key) const - { return (int) key - (int) feature; } - - enum { - Exclusive = 0x8000, /* If set, the feature settings are mutually exclusive. */ - NotDefault = 0x4000, /* If clear, then the setting with an index of 0 in - * the setting name array for this feature should - * be taken as the default for the feature - * (if one is required). If set, then bits 0-15 of this - * featureFlags field contain the index of the setting - * which is to be taken as the default. */ - IndexMask = 0x00FF /* If bits 30 and 31 are set, then these sixteen bits - * indicate the index of the setting in the setting name - * array for this feature which should be taken - * as the default. */ - }; - - unsigned int get_selector_infos (unsigned int start_offset, - unsigned int *selectors_count, /* IN/OUT. May be NULL. */ - hb_aat_layout_feature_selector_info_t *selectors, /* OUT. May be NULL. */ - unsigned int *pdefault_index, /* OUT. May be NULL. */ - const void *base) const - { - hb_array_t< const SettingName> settings_table = (base+settingTableZ).as_array (nSettings); - - static_assert (Index::NOT_FOUND_INDEX == HB_AAT_LAYOUT_NO_SELECTOR_INDEX, ""); - - hb_aat_layout_feature_selector_t default_selector = HB_AAT_LAYOUT_FEATURE_SELECTOR_INVALID; - unsigned int default_index = Index::NOT_FOUND_INDEX; - if (featureFlags & Exclusive) - { - default_index = (featureFlags & NotDefault) ? featureFlags & IndexMask : 0; - default_selector = settings_table[default_index].get_selector (); - } - if (pdefault_index) - *pdefault_index = default_index; - - if (selectors_count) - { - + settings_table.sub_array (start_offset, selectors_count) - | hb_map ([=] (const SettingName& setting) { return setting.get_info (default_selector); }) - | hb_sink (hb_array (selectors, *selectors_count)) - ; - } - return settings_table.length; - } - - hb_aat_layout_feature_type_t get_feature_type () const - { return (hb_aat_layout_feature_type_t) (unsigned int) feature; } - - hb_ot_name_id_t get_feature_name_id () const { return nameIndex; } - - bool is_exclusive () const { return featureFlags & Exclusive; } - - /* A FeatureName with no settings is meaningless */ - bool has_data () const { return nSettings; } - - bool sanitize (hb_sanitize_context_t *c, const void *base) const - { - TRACE_SANITIZE (this); - return_trace (likely (c->check_struct (this) && - (base+settingTableZ).sanitize (c, nSettings))); - } - - protected: - HBUINT16 feature; /* Feature type. */ - HBUINT16 nSettings; /* The number of records in the setting name array. */ - NNOffset32To> - settingTableZ; /* Offset in bytes from the beginning of this table to - * this feature's setting name array. The actual type of - * record this offset refers to will depend on the - * exclusivity value, as described below. */ - HBUINT16 featureFlags; /* Single-bit flags associated with the feature type. */ - HBINT16 nameIndex; /* The name table index for the feature's name. - * This index has values greater than 255 and - * less than 32768. */ - public: - DEFINE_SIZE_STATIC (12); -}; - -struct feat -{ - static constexpr hb_tag_t tableTag = HB_AAT_TAG_feat; - - bool has_data () const { return version.to_int (); } - - unsigned int get_feature_types (unsigned int start_offset, - unsigned int *count, - hb_aat_layout_feature_type_t *features) const - { - if (count) - { - + namesZ.as_array (featureNameCount).sub_array (start_offset, count) - | hb_map (&FeatureName::get_feature_type) - | hb_sink (hb_array (features, *count)) - ; - } - return featureNameCount; - } - - bool exposes_feature (hb_aat_layout_feature_type_t feature_type) const - { return get_feature (feature_type).has_data (); } - - const FeatureName& get_feature (hb_aat_layout_feature_type_t feature_type) const - { return namesZ.bsearch (featureNameCount, feature_type); } - - hb_ot_name_id_t get_feature_name_id (hb_aat_layout_feature_type_t feature) const - { return get_feature (feature).get_feature_name_id (); } - - unsigned int get_selector_infos (hb_aat_layout_feature_type_t feature_type, - unsigned int start_offset, - unsigned int *selectors_count, /* IN/OUT. May be NULL. */ - hb_aat_layout_feature_selector_info_t *selectors, /* OUT. May be NULL. */ - unsigned int *default_index /* OUT. May be NULL. */) const - { - return get_feature (feature_type).get_selector_infos (start_offset, selectors_count, selectors, - default_index, this); - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (likely (c->check_struct (this) && - version.major == 1 && - namesZ.sanitize (c, featureNameCount, this))); - } - - protected: - FixedVersion<>version; /* Version number of the feature name table - * (0x00010000 for the current version). */ - HBUINT16 featureNameCount; - /* The number of entries in the feature name array. */ - HBUINT16 reserved1; /* Reserved (set to zero). */ - HBUINT32 reserved2; /* Reserved (set to zero). */ - SortedUnsizedArrayOf - namesZ; /* The feature name array. */ - public: - DEFINE_SIZE_ARRAY (12, namesZ); -}; - -} /* namespace AAT */ - -#endif /* HB_AAT_LAYOUT_FEAT_TABLE_HH */ diff --git a/harfbuzz/src/hb-aat-layout-just-table.hh b/harfbuzz/src/hb-aat-layout-just-table.hh deleted file mode 100644 index d745c11..0000000 --- a/harfbuzz/src/hb-aat-layout-just-table.hh +++ /dev/null @@ -1,417 +0,0 @@ -/* - * Copyright © 2018 Ebrahim Byagowi - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - */ - -#ifndef HB_AAT_LAYOUT_JUST_TABLE_HH -#define HB_AAT_LAYOUT_JUST_TABLE_HH - -#include "hb-aat-layout-common.hh" -#include "hb-ot-layout.hh" -#include "hb-open-type.hh" - -#include "hb-aat-layout-morx-table.hh" - -/* - * just -- Justification - * https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6just.html - */ -#define HB_AAT_TAG_just HB_TAG('j','u','s','t') - - -namespace AAT { - -using namespace OT; - - -struct ActionSubrecordHeader -{ - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (likely (c->check_struct (this))); - } - - HBUINT16 actionClass; /* The JustClass value associated with this - * ActionSubrecord. */ - HBUINT16 actionType; /* The type of postcompensation action. */ - HBUINT16 actionLength; /* Length of this ActionSubrecord record, which - * must be a multiple of 4. */ - public: - DEFINE_SIZE_STATIC (6); -}; - -struct DecompositionAction -{ - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (likely (c->check_struct (this))); - } - - ActionSubrecordHeader - header; - HBFixed lowerLimit; /* If the distance factor is less than this value, - * then the ligature is decomposed. */ - HBFixed upperLimit; /* If the distance factor is greater than this value, - * then the ligature is decomposed. */ - HBUINT16 order; /* Numerical order in which this ligature will - * be decomposed; you may want infrequent ligatures - * to decompose before more frequent ones. The ligatures - * on the line of text will decompose in increasing - * value of this field. */ - Array16Of - decomposedglyphs; - /* Number of 16-bit glyph indexes that follow; - * the ligature will be decomposed into these glyphs. - * - * Array of decomposed glyphs. */ - public: - DEFINE_SIZE_ARRAY (18, decomposedglyphs); -}; - -struct UnconditionalAddGlyphAction -{ - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this)); - } - - protected: - ActionSubrecordHeader - header; - HBGlyphID16 addGlyph; /* Glyph that should be added if the distance factor - * is growing. */ - - public: - DEFINE_SIZE_STATIC (8); -}; - -struct ConditionalAddGlyphAction -{ - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (likely (c->check_struct (this))); - } - - protected: - ActionSubrecordHeader - header; - HBFixed substThreshold; /* Distance growth factor (in ems) at which - * this glyph is replaced and the growth factor - * recalculated. */ - HBGlyphID16 addGlyph; /* Glyph to be added as kashida. If this value is - * 0xFFFF, no extra glyph will be added. Note that - * generally when a glyph is added, justification - * will need to be redone. */ - HBGlyphID16 substGlyph; /* Glyph to be substituted for this glyph if the - * growth factor equals or exceeds the value of - * substThreshold. */ - public: - DEFINE_SIZE_STATIC (14); -}; - -struct DuctileGlyphAction -{ - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (likely (c->check_struct (this))); - } - - protected: - ActionSubrecordHeader - header; - HBUINT32 variationAxis; /* The 4-byte tag identifying the ductile axis. - * This would normally be 0x64756374 ('duct'), - * but you may use any axis the font contains. */ - HBFixed minimumLimit; /* The lowest value for the ductility axis tha - * still yields an acceptable appearance. Normally - * this will be 1.0. */ - HBFixed noStretchValue; /* This is the default value that corresponds to - * no change in appearance. Normally, this will - * be 1.0. */ - HBFixed maximumLimit; /* The highest value for the ductility axis that - * still yields an acceptable appearance. */ - public: - DEFINE_SIZE_STATIC (22); -}; - -struct RepeatedAddGlyphAction -{ - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (likely (c->check_struct (this))); - } - - protected: - ActionSubrecordHeader - header; - HBUINT16 flags; /* Currently unused; set to 0. */ - HBGlyphID16 glyph; /* Glyph that should be added if the distance factor - * is growing. */ - public: - DEFINE_SIZE_STATIC (10); -}; - -struct ActionSubrecord -{ - unsigned int get_length () const { return u.header.actionLength; } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - if (unlikely (!c->check_struct (this))) - return_trace (false); - - switch (u.header.actionType) - { - case 0: return_trace (u.decompositionAction.sanitize (c)); - case 1: return_trace (u.unconditionalAddGlyphAction.sanitize (c)); - case 2: return_trace (u.conditionalAddGlyphAction.sanitize (c)); - // case 3: return_trace (u.stretchGlyphAction.sanitize (c)); - case 4: return_trace (u.decompositionAction.sanitize (c)); - case 5: return_trace (u.decompositionAction.sanitize (c)); - default: return_trace (true); - } - } - - protected: - union { - ActionSubrecordHeader header; - DecompositionAction decompositionAction; - UnconditionalAddGlyphAction unconditionalAddGlyphAction; - ConditionalAddGlyphAction conditionalAddGlyphAction; - /* StretchGlyphAction stretchGlyphAction; -- Not supported by CoreText */ - DuctileGlyphAction ductileGlyphAction; - RepeatedAddGlyphAction repeatedAddGlyphAction; - } u; /* Data. The format of this data depends on - * the value of the actionType field. */ - public: - DEFINE_SIZE_UNION (6, header); -}; - -struct PostcompensationActionChain -{ - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - if (unlikely (!c->check_struct (this))) - return_trace (false); - - unsigned int offset = min_size; - for (unsigned int i = 0; i < count; i++) - { - const ActionSubrecord& subrecord = StructAtOffset (this, offset); - if (unlikely (!subrecord.sanitize (c))) return_trace (false); - offset += subrecord.get_length (); - } - - return_trace (true); - } - - protected: - HBUINT32 count; - - public: - DEFINE_SIZE_STATIC (4); -}; - -struct JustWidthDeltaEntry -{ - enum Flags - { - Reserved1 =0xE000,/* Reserved. You should set these bits to zero. */ - UnlimiteGap =0x1000,/* The glyph can take unlimited gap. When this - * glyph participates in the justification process, - * it and any other glyphs on the line having this - * bit set absorb all the remaining gap. */ - Reserved2 =0x0FF0,/* Reserved. You should set these bits to zero. */ - Priority =0x000F /* The justification priority of the glyph. */ - }; - - enum Priority - { - Kashida = 0, /* Kashida priority. This is the highest priority - * during justification. */ - Whitespace = 1, /* Whitespace priority. Any whitespace glyphs (as - * identified in the glyph properties table) will - * get this priority. */ - InterCharacter = 2, /* Inter-character priority. Give this to any - * remaining glyphs. */ - NullPriority = 3 /* Null priority. You should set this priority for - * glyphs that only participate in justification - * after the above priorities. Normally all glyphs - * have one of the previous three values. If you - * don't want a glyph to participate in justification, - * and you don't want to set its factors to zero, - * you may instead assign it to the null priority. */ - }; - - protected: - HBFixed beforeGrowLimit;/* The ratio by which the advance width of the - * glyph is permitted to grow on the left or top side. */ - HBFixed beforeShrinkLimit; - /* The ratio by which the advance width of the - * glyph is permitted to shrink on the left or top side. */ - HBFixed afterGrowLimit; /* The ratio by which the advance width of the glyph - * is permitted to shrink on the left or top side. */ - HBFixed afterShrinkLimit; - /* The ratio by which the advance width of the glyph - * is at most permitted to shrink on the right or - * bottom side. */ - HBUINT16 growFlags; /* Flags controlling the grow case. */ - HBUINT16 shrinkFlags; /* Flags controlling the shrink case. */ - - public: - DEFINE_SIZE_STATIC (20); -}; - -struct WidthDeltaPair -{ - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (likely (c->check_struct (this))); - } - - protected: - HBUINT32 justClass; /* The justification category associated - * with the wdRecord field. Only 7 bits of - * this field are used. (The other bits are - * used as padding to guarantee longword - * alignment of the following record). */ - JustWidthDeltaEntry - wdRecord; /* The actual width delta record. */ - - public: - DEFINE_SIZE_STATIC (24); -}; - -typedef OT::Array32Of WidthDeltaCluster; - -struct JustificationCategory -{ - typedef void EntryData; - - enum Flags - { - SetMark =0x8000,/* If set, make the current glyph the marked - * glyph. */ - DontAdvance =0x4000,/* If set, don't advance to the next glyph before - * going to the new state. */ - MarkCategory =0x3F80,/* The justification category for the marked - * glyph if nonzero. */ - CurrentCategory =0x007F /* The justification category for the current - * glyph if nonzero. */ - }; - - bool sanitize (hb_sanitize_context_t *c, const void *base) const - { - TRACE_SANITIZE (this); - return_trace (likely (c->check_struct (this) && - morphHeader.sanitize (c) && - stHeader.sanitize (c))); - } - - protected: - ChainSubtable - morphHeader; /* Metamorphosis-style subtable header. */ - StateTable - stHeader; /* The justification insertion state table header */ - public: - DEFINE_SIZE_STATIC (30); -}; - -struct JustificationHeader -{ - bool sanitize (hb_sanitize_context_t *c, const void *base) const - { - TRACE_SANITIZE (this); - return_trace (likely (c->check_struct (this) && - justClassTable.sanitize (c, base, base) && - wdcTable.sanitize (c, base) && - pcTable.sanitize (c, base) && - lookupTable.sanitize (c, base))); - } - - protected: - Offset16To - justClassTable; /* Offset to the justification category state table. */ - Offset16To - wdcTable; /* Offset from start of justification table to start - * of the subtable containing the width delta factors - * for the glyphs in your font. - * - * The width delta clusters table. */ - Offset16To - pcTable; /* Offset from start of justification table to start - * of postcompensation subtable (set to zero if none). - * - * The postcompensation subtable, if present in the font. */ - Lookup> - lookupTable; /* Lookup table associating glyphs with width delta - * clusters. See the description of Width Delta Clusters - * table for details on how to interpret the lookup values. */ - - public: - DEFINE_SIZE_MIN (8); -}; - -struct just -{ - static constexpr hb_tag_t tableTag = HB_AAT_TAG_just; - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - - return_trace (likely (c->check_struct (this) && - version.major == 1 && - horizData.sanitize (c, this, this) && - vertData.sanitize (c, this, this))); - } - - protected: - FixedVersion<>version; /* Version of the justification table - * (0x00010000u for version 1.0). */ - HBUINT16 format; /* Format of the justification table (set to 0). */ - Offset16To - horizData; /* Byte offset from the start of the justification table - * to the header for tables that contain justification - * information for horizontal text. - * If you are not including this information, - * store 0. */ - Offset16To - vertData; /* ditto, vertical */ - - public: - DEFINE_SIZE_STATIC (10); -}; - -} /* namespace AAT */ - - -#endif /* HB_AAT_LAYOUT_JUST_TABLE_HH */ diff --git a/harfbuzz/src/hb-aat-layout-kerx-table.hh b/harfbuzz/src/hb-aat-layout-kerx-table.hh deleted file mode 100644 index 0354b47..0000000 --- a/harfbuzz/src/hb-aat-layout-kerx-table.hh +++ /dev/null @@ -1,999 +0,0 @@ -/* - * Copyright © 2018 Ebrahim Byagowi - * Copyright © 2018 Google, Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Google Author(s): Behdad Esfahbod - */ - -#ifndef HB_AAT_LAYOUT_KERX_TABLE_HH -#define HB_AAT_LAYOUT_KERX_TABLE_HH - -#include "hb-kern.hh" -#include "hb-aat-layout-ankr-table.hh" - -/* - * kerx -- Extended Kerning - * https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6kerx.html - */ -#define HB_AAT_TAG_kerx HB_TAG('k','e','r','x') - - -namespace AAT { - -using namespace OT; - - -static inline int -kerxTupleKern (int value, - unsigned int tupleCount, - const void *base, - hb_aat_apply_context_t *c) -{ - if (likely (!tupleCount || !c)) return value; - - unsigned int offset = value; - const FWORD *pv = &StructAtOffset (base, offset); - if (unlikely (!c->sanitizer.check_array (pv, tupleCount))) return 0; - return *pv; -} - - -struct hb_glyph_pair_t -{ - hb_codepoint_t left; - hb_codepoint_t right; -}; - -struct KernPair -{ - int get_kerning () const { return value; } - - int cmp (const hb_glyph_pair_t &o) const - { - int ret = left.cmp (o.left); - if (ret) return ret; - return right.cmp (o.right); - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this)); - } - - protected: - HBGlyphID16 left; - HBGlyphID16 right; - FWORD value; - public: - DEFINE_SIZE_STATIC (6); -}; - -template -struct KerxSubTableFormat0 -{ - int get_kerning (hb_codepoint_t left, hb_codepoint_t right, - hb_aat_apply_context_t *c = nullptr) const - { - hb_glyph_pair_t pair = {left, right}; - int v = pairs.bsearch (pair).get_kerning (); - return kerxTupleKern (v, header.tuple_count (), this, c); - } - - bool apply (hb_aat_apply_context_t *c) const - { - TRACE_APPLY (this); - - if (!c->plan->requested_kerning) - return false; - - if (header.coverage & header.Backwards) - return false; - - accelerator_t accel (*this, c); - hb_kern_machine_t machine (accel, header.coverage & header.CrossStream); - machine.kern (c->font, c->buffer, c->plan->kern_mask); - - return_trace (true); - } - - struct accelerator_t - { - const KerxSubTableFormat0 &table; - hb_aat_apply_context_t *c; - - accelerator_t (const KerxSubTableFormat0 &table_, - hb_aat_apply_context_t *c_) : - table (table_), c (c_) {} - - int get_kerning (hb_codepoint_t left, hb_codepoint_t right) const - { return table.get_kerning (left, right, c); } - }; - - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (likely (pairs.sanitize (c))); - } - - protected: - KernSubTableHeader header; - BinSearchArrayOf - pairs; /* Sorted kern records. */ - public: - DEFINE_SIZE_ARRAY (KernSubTableHeader::static_size + 16, pairs); -}; - - -template -struct Format1Entry; - -template <> -struct Format1Entry -{ - enum Flags - { - Push = 0x8000, /* If set, push this glyph on the kerning stack. */ - DontAdvance = 0x4000, /* If set, don't advance to the next glyph - * before going to the new state. */ - Reset = 0x2000, /* If set, reset the kerning data (clear the stack) */ - Reserved = 0x1FFF, /* Not used; set to 0. */ - }; - - struct EntryData - { - HBUINT16 kernActionIndex;/* Index into the kerning value array. If - * this index is 0xFFFF, then no kerning - * is to be performed. */ - public: - DEFINE_SIZE_STATIC (2); - }; - - static bool performAction (const Entry &entry) - { return entry.data.kernActionIndex != 0xFFFF; } - - static unsigned int kernActionIndex (const Entry &entry) - { return entry.data.kernActionIndex; } -}; -template <> -struct Format1Entry -{ - enum Flags - { - Push = 0x8000, /* If set, push this glyph on the kerning stack. */ - DontAdvance = 0x4000, /* If set, don't advance to the next glyph - * before going to the new state. */ - Offset = 0x3FFF, /* Byte offset from beginning of subtable to the - * value table for the glyphs on the kerning stack. */ - - Reset = 0x0000, /* Not supported? */ - }; - - typedef void EntryData; - - static bool performAction (const Entry &entry) - { return entry.flags & Offset; } - - static unsigned int kernActionIndex (const Entry &entry) - { return entry.flags & Offset; } -}; - -template -struct KerxSubTableFormat1 -{ - typedef typename KernSubTableHeader::Types Types; - typedef typename Types::HBUINT HBUINT; - - typedef Format1Entry Format1EntryT; - typedef typename Format1EntryT::EntryData EntryData; - - struct driver_context_t - { - static constexpr bool in_place = true; - enum - { - DontAdvance = Format1EntryT::DontAdvance, - }; - - driver_context_t (const KerxSubTableFormat1 *table_, - hb_aat_apply_context_t *c_) : - c (c_), - table (table_), - /* Apparently the offset kernAction is from the beginning of the state-machine, - * similar to offsets in morx table, NOT from beginning of this table, like - * other subtables in kerx. Discovered via testing. */ - kernAction (&table->machine + table->kernAction), - depth (0), - crossStream (table->header.coverage & table->header.CrossStream) {} - - bool is_actionable (StateTableDriver *driver HB_UNUSED, - const Entry &entry) - { return Format1EntryT::performAction (entry); } - void transition (StateTableDriver *driver, - const Entry &entry) - { - hb_buffer_t *buffer = driver->buffer; - unsigned int flags = entry.flags; - - if (flags & Format1EntryT::Reset) - depth = 0; - - if (flags & Format1EntryT::Push) - { - if (likely (depth < ARRAY_LENGTH (stack))) - stack[depth++] = buffer->idx; - else - depth = 0; /* Probably not what CoreText does, but better? */ - } - - if (Format1EntryT::performAction (entry) && depth) - { - unsigned int tuple_count = hb_max (1u, table->header.tuple_count ()); - - unsigned int kern_idx = Format1EntryT::kernActionIndex (entry); - kern_idx = Types::byteOffsetToIndex (kern_idx, &table->machine, kernAction.arrayZ); - const FWORD *actions = &kernAction[kern_idx]; - if (!c->sanitizer.check_array (actions, depth, tuple_count)) - { - depth = 0; - return; - } - - hb_mask_t kern_mask = c->plan->kern_mask; - - /* From Apple 'kern' spec: - * "Each pops one glyph from the kerning stack and applies the kerning value to it. - * The end of the list is marked by an odd value... */ - bool last = false; - while (!last && depth) - { - unsigned int idx = stack[--depth]; - int v = *actions; - actions += tuple_count; - if (idx >= buffer->len) continue; - - /* "The end of the list is marked by an odd value..." */ - last = v & 1; - v &= ~1; - - hb_glyph_position_t &o = buffer->pos[idx]; - - if (HB_DIRECTION_IS_HORIZONTAL (buffer->props.direction)) - { - if (crossStream) - { - /* The following flag is undocumented in the spec, but described - * in the 'kern' table example. */ - if (v == -0x8000) - { - o.attach_type() = ATTACH_TYPE_NONE; - o.attach_chain() = 0; - o.y_offset = 0; - } - else if (o.attach_type()) - { - o.y_offset += c->font->em_scale_y (v); - buffer->scratch_flags |= HB_BUFFER_SCRATCH_FLAG_HAS_GPOS_ATTACHMENT; - } - } - else if (buffer->info[idx].mask & kern_mask) - { - o.x_advance += c->font->em_scale_x (v); - o.x_offset += c->font->em_scale_x (v); - } - } - else - { - if (crossStream) - { - /* CoreText doesn't do crossStream kerning in vertical. We do. */ - if (v == -0x8000) - { - o.attach_type() = ATTACH_TYPE_NONE; - o.attach_chain() = 0; - o.x_offset = 0; - } - else if (o.attach_type()) - { - o.x_offset += c->font->em_scale_x (v); - buffer->scratch_flags |= HB_BUFFER_SCRATCH_FLAG_HAS_GPOS_ATTACHMENT; - } - } - else if (buffer->info[idx].mask & kern_mask) - { - o.y_advance += c->font->em_scale_y (v); - o.y_offset += c->font->em_scale_y (v); - } - } - } - } - } - - private: - hb_aat_apply_context_t *c; - const KerxSubTableFormat1 *table; - const UnsizedArrayOf &kernAction; - unsigned int stack[8]; - unsigned int depth; - bool crossStream; - }; - - bool apply (hb_aat_apply_context_t *c) const - { - TRACE_APPLY (this); - - if (!c->plan->requested_kerning && - !(header.coverage & header.CrossStream)) - return false; - - driver_context_t dc (this, c); - - StateTableDriver driver (machine, c->buffer, c->font->face); - driver.drive (&dc); - - return_trace (true); - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - /* The rest of array sanitizations are done at run-time. */ - return_trace (likely (c->check_struct (this) && - machine.sanitize (c))); - } - - protected: - KernSubTableHeader header; - StateTable machine; - NNOffsetTo, HBUINT> kernAction; - public: - DEFINE_SIZE_STATIC (KernSubTableHeader::static_size + 5 * sizeof (HBUINT)); -}; - -template -struct KerxSubTableFormat2 -{ - typedef typename KernSubTableHeader::Types Types; - typedef typename Types::HBUINT HBUINT; - - int get_kerning (hb_codepoint_t left, hb_codepoint_t right, - hb_aat_apply_context_t *c) const - { - unsigned int num_glyphs = c->sanitizer.get_num_glyphs (); - unsigned int l = (this+leftClassTable).get_class (left, num_glyphs, 0); - unsigned int r = (this+rightClassTable).get_class (right, num_glyphs, 0); - - const UnsizedArrayOf &arrayZ = this+array; - unsigned int kern_idx = l + r; - kern_idx = Types::offsetToIndex (kern_idx, this, arrayZ.arrayZ); - const FWORD *v = &arrayZ[kern_idx]; - if (unlikely (!v->sanitize (&c->sanitizer))) return 0; - - return kerxTupleKern (*v, header.tuple_count (), this, c); - } - - bool apply (hb_aat_apply_context_t *c) const - { - TRACE_APPLY (this); - - if (!c->plan->requested_kerning) - return false; - - if (header.coverage & header.Backwards) - return false; - - accelerator_t accel (*this, c); - hb_kern_machine_t machine (accel, header.coverage & header.CrossStream); - machine.kern (c->font, c->buffer, c->plan->kern_mask); - - return_trace (true); - } - - struct accelerator_t - { - const KerxSubTableFormat2 &table; - hb_aat_apply_context_t *c; - - accelerator_t (const KerxSubTableFormat2 &table_, - hb_aat_apply_context_t *c_) : - table (table_), c (c_) {} - - int get_kerning (hb_codepoint_t left, hb_codepoint_t right) const - { return table.get_kerning (left, right, c); } - }; - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (likely (c->check_struct (this) && - leftClassTable.sanitize (c, this) && - rightClassTable.sanitize (c, this) && - c->check_range (this, array))); - } - - protected: - KernSubTableHeader header; - HBUINT rowWidth; /* The width, in bytes, of a row in the table. */ - NNOffsetTo - leftClassTable; /* Offset from beginning of this subtable to - * left-hand class table. */ - NNOffsetTo - rightClassTable;/* Offset from beginning of this subtable to - * right-hand class table. */ - NNOffsetTo, HBUINT> - array; /* Offset from beginning of this subtable to - * the start of the kerning array. */ - public: - DEFINE_SIZE_STATIC (KernSubTableHeader::static_size + 4 * sizeof (HBUINT)); -}; - -template -struct KerxSubTableFormat4 -{ - typedef ExtendedTypes Types; - - struct EntryData - { - HBUINT16 ankrActionIndex;/* Either 0xFFFF (for no action) or the index of - * the action to perform. */ - public: - DEFINE_SIZE_STATIC (2); - }; - - struct driver_context_t - { - static constexpr bool in_place = true; - enum Flags - { - Mark = 0x8000, /* If set, remember this glyph as the marked glyph. */ - DontAdvance = 0x4000, /* If set, don't advance to the next glyph before - * going to the new state. */ - Reserved = 0x3FFF, /* Not used; set to 0. */ - }; - - enum SubTableFlags - { - ActionType = 0xC0000000, /* A two-bit field containing the action type. */ - Unused = 0x3F000000, /* Unused - must be zero. */ - Offset = 0x00FFFFFF, /* Masks the offset in bytes from the beginning - * of the subtable to the beginning of the control - * point table. */ - }; - - driver_context_t (const KerxSubTableFormat4 *table, - hb_aat_apply_context_t *c_) : - c (c_), - action_type ((table->flags & ActionType) >> 30), - ankrData ((HBUINT16 *) ((const char *) &table->machine + (table->flags & Offset))), - mark_set (false), - mark (0) {} - - bool is_actionable (StateTableDriver *driver HB_UNUSED, - const Entry &entry) - { return entry.data.ankrActionIndex != 0xFFFF; } - void transition (StateTableDriver *driver, - const Entry &entry) - { - hb_buffer_t *buffer = driver->buffer; - - if (mark_set && entry.data.ankrActionIndex != 0xFFFF && buffer->idx < buffer->len) - { - hb_glyph_position_t &o = buffer->cur_pos(); - switch (action_type) - { - case 0: /* Control Point Actions.*/ - { - /* Indexed into glyph outline. */ - /* Each action (record in ankrData) contains two 16-bit fields, so we must - double the ankrActionIndex to get the correct offset here. */ - const HBUINT16 *data = &ankrData[entry.data.ankrActionIndex * 2]; - if (!c->sanitizer.check_array (data, 2)) return; - unsigned int markControlPoint = *data++; - unsigned int currControlPoint = *data++; - hb_position_t markX = 0; - hb_position_t markY = 0; - hb_position_t currX = 0; - hb_position_t currY = 0; - if (!c->font->get_glyph_contour_point_for_origin (c->buffer->info[mark].codepoint, - markControlPoint, - HB_DIRECTION_LTR /*XXX*/, - &markX, &markY) || - !c->font->get_glyph_contour_point_for_origin (c->buffer->cur ().codepoint, - currControlPoint, - HB_DIRECTION_LTR /*XXX*/, - &currX, &currY)) - return; - - o.x_offset = markX - currX; - o.y_offset = markY - currY; - } - break; - - case 1: /* Anchor Point Actions. */ - { - /* Indexed into 'ankr' table. */ - /* Each action (record in ankrData) contains two 16-bit fields, so we must - double the ankrActionIndex to get the correct offset here. */ - const HBUINT16 *data = &ankrData[entry.data.ankrActionIndex * 2]; - if (!c->sanitizer.check_array (data, 2)) return; - unsigned int markAnchorPoint = *data++; - unsigned int currAnchorPoint = *data++; - const Anchor &markAnchor = c->ankr_table->get_anchor (c->buffer->info[mark].codepoint, - markAnchorPoint, - c->sanitizer.get_num_glyphs ()); - const Anchor &currAnchor = c->ankr_table->get_anchor (c->buffer->cur ().codepoint, - currAnchorPoint, - c->sanitizer.get_num_glyphs ()); - - o.x_offset = c->font->em_scale_x (markAnchor.xCoordinate) - c->font->em_scale_x (currAnchor.xCoordinate); - o.y_offset = c->font->em_scale_y (markAnchor.yCoordinate) - c->font->em_scale_y (currAnchor.yCoordinate); - } - break; - - case 2: /* Control Point Coordinate Actions. */ - { - /* Each action contains four 16-bit fields, so we multiply the ankrActionIndex - by 4 to get the correct offset for the given action. */ - const FWORD *data = (const FWORD *) &ankrData[entry.data.ankrActionIndex * 4]; - if (!c->sanitizer.check_array (data, 4)) return; - int markX = *data++; - int markY = *data++; - int currX = *data++; - int currY = *data++; - - o.x_offset = c->font->em_scale_x (markX) - c->font->em_scale_x (currX); - o.y_offset = c->font->em_scale_y (markY) - c->font->em_scale_y (currY); - } - break; - } - o.attach_type() = ATTACH_TYPE_MARK; - o.attach_chain() = (int) mark - (int) buffer->idx; - buffer->scratch_flags |= HB_BUFFER_SCRATCH_FLAG_HAS_GPOS_ATTACHMENT; - } - - if (entry.flags & Mark) - { - mark_set = true; - mark = buffer->idx; - } - } - - private: - hb_aat_apply_context_t *c; - unsigned int action_type; - const HBUINT16 *ankrData; - bool mark_set; - unsigned int mark; - }; - - bool apply (hb_aat_apply_context_t *c) const - { - TRACE_APPLY (this); - - driver_context_t dc (this, c); - - StateTableDriver driver (machine, c->buffer, c->font->face); - driver.drive (&dc); - - return_trace (true); - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - /* The rest of array sanitizations are done at run-time. */ - return_trace (likely (c->check_struct (this) && - machine.sanitize (c))); - } - - protected: - KernSubTableHeader header; - StateTable machine; - HBUINT32 flags; - public: - DEFINE_SIZE_STATIC (KernSubTableHeader::static_size + 20); -}; - -template -struct KerxSubTableFormat6 -{ - enum Flags - { - ValuesAreLong = 0x00000001, - }; - - bool is_long () const { return flags & ValuesAreLong; } - - int get_kerning (hb_codepoint_t left, hb_codepoint_t right, - hb_aat_apply_context_t *c) const - { - unsigned int num_glyphs = c->sanitizer.get_num_glyphs (); - if (is_long ()) - { - const typename U::Long &t = u.l; - unsigned int l = (this+t.rowIndexTable).get_value_or_null (left, num_glyphs); - unsigned int r = (this+t.columnIndexTable).get_value_or_null (right, num_glyphs); - unsigned int offset = l + r; - if (unlikely (offset < l)) return 0; /* Addition overflow. */ - if (unlikely (hb_unsigned_mul_overflows (offset, sizeof (FWORD32)))) return 0; - const FWORD32 *v = &StructAtOffset (&(this+t.array), offset * sizeof (FWORD32)); - if (unlikely (!v->sanitize (&c->sanitizer))) return 0; - return kerxTupleKern (*v, header.tuple_count (), &(this+vector), c); - } - else - { - const typename U::Short &t = u.s; - unsigned int l = (this+t.rowIndexTable).get_value_or_null (left, num_glyphs); - unsigned int r = (this+t.columnIndexTable).get_value_or_null (right, num_glyphs); - unsigned int offset = l + r; - const FWORD *v = &StructAtOffset (&(this+t.array), offset * sizeof (FWORD)); - if (unlikely (!v->sanitize (&c->sanitizer))) return 0; - return kerxTupleKern (*v, header.tuple_count (), &(this+vector), c); - } - } - - bool apply (hb_aat_apply_context_t *c) const - { - TRACE_APPLY (this); - - if (!c->plan->requested_kerning) - return false; - - if (header.coverage & header.Backwards) - return false; - - accelerator_t accel (*this, c); - hb_kern_machine_t machine (accel, header.coverage & header.CrossStream); - machine.kern (c->font, c->buffer, c->plan->kern_mask); - - return_trace (true); - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (likely (c->check_struct (this) && - (is_long () ? - ( - u.l.rowIndexTable.sanitize (c, this) && - u.l.columnIndexTable.sanitize (c, this) && - c->check_range (this, u.l.array) - ) : ( - u.s.rowIndexTable.sanitize (c, this) && - u.s.columnIndexTable.sanitize (c, this) && - c->check_range (this, u.s.array) - )) && - (header.tuple_count () == 0 || - c->check_range (this, vector)))); - } - - struct accelerator_t - { - const KerxSubTableFormat6 &table; - hb_aat_apply_context_t *c; - - accelerator_t (const KerxSubTableFormat6 &table_, - hb_aat_apply_context_t *c_) : - table (table_), c (c_) {} - - int get_kerning (hb_codepoint_t left, hb_codepoint_t right) const - { return table.get_kerning (left, right, c); } - }; - - protected: - KernSubTableHeader header; - HBUINT32 flags; - HBUINT16 rowCount; - HBUINT16 columnCount; - union U - { - struct Long - { - NNOffset32To> rowIndexTable; - NNOffset32To> columnIndexTable; - NNOffset32To> array; - } l; - struct Short - { - NNOffset32To> rowIndexTable; - NNOffset32To> columnIndexTable; - NNOffset32To> array; - } s; - } u; - NNOffset32To> vector; - public: - DEFINE_SIZE_STATIC (KernSubTableHeader::static_size + 24); -}; - - -struct KerxSubTableHeader -{ - typedef ExtendedTypes Types; - - unsigned tuple_count () const { return tupleCount; } - bool is_horizontal () const { return !(coverage & Vertical); } - - enum Coverage - { - Vertical = 0x80000000u, /* Set if table has vertical kerning values. */ - CrossStream = 0x40000000u, /* Set if table has cross-stream kerning values. */ - Variation = 0x20000000u, /* Set if table has variation kerning values. */ - Backwards = 0x10000000u, /* If clear, process the glyphs forwards, that - * is, from first to last in the glyph stream. - * If we, process them from last to first. - * This flag only applies to state-table based - * 'kerx' subtables (types 1 and 4). */ - Reserved = 0x0FFFFF00u, /* Reserved, set to zero. */ - SubtableType= 0x000000FFu, /* Subtable type. */ - }; - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (likely (c->check_struct (this))); - } - - public: - HBUINT32 length; - HBUINT32 coverage; - HBUINT32 tupleCount; - public: - DEFINE_SIZE_STATIC (12); -}; - -struct KerxSubTable -{ - friend struct kerx; - - unsigned int get_size () const { return u.header.length; } - unsigned int get_type () const { return u.header.coverage & u.header.SubtableType; } - - template - typename context_t::return_t dispatch (context_t *c, Ts&&... ds) const - { - unsigned int subtable_type = get_type (); - TRACE_DISPATCH (this, subtable_type); - switch (subtable_type) { - case 0: return_trace (c->dispatch (u.format0, std::forward (ds)...)); - case 1: return_trace (c->dispatch (u.format1, std::forward (ds)...)); - case 2: return_trace (c->dispatch (u.format2, std::forward (ds)...)); - case 4: return_trace (c->dispatch (u.format4, std::forward (ds)...)); - case 6: return_trace (c->dispatch (u.format6, std::forward (ds)...)); - default: return_trace (c->default_return_value ()); - } - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - if (!u.header.sanitize (c) || - u.header.length <= u.header.static_size || - !c->check_range (this, u.header.length)) - return_trace (false); - - return_trace (dispatch (c)); - } - - public: - union { - KerxSubTableHeader header; - KerxSubTableFormat0 format0; - KerxSubTableFormat1 format1; - KerxSubTableFormat2 format2; - KerxSubTableFormat4 format4; - KerxSubTableFormat6 format6; - } u; - public: - DEFINE_SIZE_MIN (12); -}; - - -/* - * The 'kerx' Table - */ - -template -struct KerxTable -{ - /* https://en.wikipedia.org/wiki/Curiously_recurring_template_pattern */ - const T* thiz () const { return static_cast (this); } - - bool has_state_machine () const - { - typedef typename T::SubTable SubTable; - - const SubTable *st = &thiz()->firstSubTable; - unsigned int count = thiz()->tableCount; - for (unsigned int i = 0; i < count; i++) - { - if (st->get_type () == 1) - return true; - st = &StructAfter (*st); - } - return false; - } - - bool has_cross_stream () const - { - typedef typename T::SubTable SubTable; - - const SubTable *st = &thiz()->firstSubTable; - unsigned int count = thiz()->tableCount; - for (unsigned int i = 0; i < count; i++) - { - if (st->u.header.coverage & st->u.header.CrossStream) - return true; - st = &StructAfter (*st); - } - return false; - } - - int get_h_kerning (hb_codepoint_t left, hb_codepoint_t right) const - { - typedef typename T::SubTable SubTable; - - int v = 0; - const SubTable *st = &thiz()->firstSubTable; - unsigned int count = thiz()->tableCount; - for (unsigned int i = 0; i < count; i++) - { - if ((st->u.header.coverage & (st->u.header.Variation | st->u.header.CrossStream)) || - !st->u.header.is_horizontal ()) - continue; - v += st->get_kerning (left, right); - st = &StructAfter (*st); - } - return v; - } - - bool apply (AAT::hb_aat_apply_context_t *c) const - { - typedef typename T::SubTable SubTable; - - bool ret = false; - bool seenCrossStream = false; - c->set_lookup_index (0); - const SubTable *st = &thiz()->firstSubTable; - unsigned int count = thiz()->tableCount; - for (unsigned int i = 0; i < count; i++) - { - bool reverse; - - if (!T::Types::extended && (st->u.header.coverage & st->u.header.Variation)) - goto skip; - - if (HB_DIRECTION_IS_HORIZONTAL (c->buffer->props.direction) != st->u.header.is_horizontal ()) - goto skip; - - reverse = bool (st->u.header.coverage & st->u.header.Backwards) != - HB_DIRECTION_IS_BACKWARD (c->buffer->props.direction); - - if (!c->buffer->message (c->font, "start subtable %d", c->lookup_index)) - goto skip; - - if (!seenCrossStream && - (st->u.header.coverage & st->u.header.CrossStream)) - { - /* Attach all glyphs into a chain. */ - seenCrossStream = true; - hb_glyph_position_t *pos = c->buffer->pos; - unsigned int count = c->buffer->len; - for (unsigned int i = 0; i < count; i++) - { - pos[i].attach_type() = ATTACH_TYPE_CURSIVE; - pos[i].attach_chain() = HB_DIRECTION_IS_FORWARD (c->buffer->props.direction) ? -1 : +1; - /* We intentionally don't set HB_BUFFER_SCRATCH_FLAG_HAS_GPOS_ATTACHMENT, - * since there needs to be a non-zero attachment for post-positioning to - * be needed. */ - } - } - - if (reverse) - c->buffer->reverse (); - - { - /* See comment in sanitize() for conditional here. */ - hb_sanitize_with_object_t with (&c->sanitizer, i < count - 1 ? st : (const SubTable *) nullptr); - ret |= st->dispatch (c); - } - - if (reverse) - c->buffer->reverse (); - - (void) c->buffer->message (c->font, "end subtable %d", c->lookup_index); - - skip: - st = &StructAfter (*st); - c->set_lookup_index (c->lookup_index + 1); - } - - return ret; - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - if (unlikely (!thiz()->version.sanitize (c) || - (unsigned) thiz()->version < (unsigned) T::minVersion || - !thiz()->tableCount.sanitize (c))) - return_trace (false); - - typedef typename T::SubTable SubTable; - - const SubTable *st = &thiz()->firstSubTable; - unsigned int count = thiz()->tableCount; - for (unsigned int i = 0; i < count; i++) - { - if (unlikely (!st->u.header.sanitize (c))) - return_trace (false); - /* OpenType kern table has 2-byte subtable lengths. That's limiting. - * MS implementation also only supports one subtable, of format 0, - * anyway. Certain versions of some fonts, like Calibry, contain - * kern subtable that exceeds 64kb. Looks like, the subtable length - * is simply ignored. Which makes sense. It's only needed if you - * have multiple subtables. To handle such fonts, we just ignore - * the length for the last subtable. */ - hb_sanitize_with_object_t with (c, i < count - 1 ? st : (const SubTable *) nullptr); - - if (unlikely (!st->sanitize (c))) - return_trace (false); - - st = &StructAfter (*st); - } - - return_trace (true); - } -}; - -struct kerx : KerxTable -{ - friend struct KerxTable; - - static constexpr hb_tag_t tableTag = HB_AAT_TAG_kerx; - static constexpr unsigned minVersion = 2u; - - typedef KerxSubTableHeader SubTableHeader; - typedef SubTableHeader::Types Types; - typedef KerxSubTable SubTable; - - bool has_data () const { return version; } - - protected: - HBUINT16 version; /* The version number of the extended kerning table - * (currently 2, 3, or 4). */ - HBUINT16 unused; /* Set to 0. */ - HBUINT32 tableCount; /* The number of subtables included in the extended kerning - * table. */ - SubTable firstSubTable; /* Subtables. */ -/*subtableGlyphCoverageArray*/ /* Only if version >= 3. We don't use. */ - - public: - DEFINE_SIZE_MIN (8); -}; - - -} /* namespace AAT */ - - -#endif /* HB_AAT_LAYOUT_KERX_TABLE_HH */ diff --git a/harfbuzz/src/hb-aat-layout-morx-table.hh b/harfbuzz/src/hb-aat-layout-morx-table.hh deleted file mode 100644 index 2f99510..0000000 --- a/harfbuzz/src/hb-aat-layout-morx-table.hh +++ /dev/null @@ -1,1172 +0,0 @@ -/* - * Copyright © 2017 Google, Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Google Author(s): Behdad Esfahbod - */ - -#ifndef HB_AAT_LAYOUT_MORX_TABLE_HH -#define HB_AAT_LAYOUT_MORX_TABLE_HH - -#include "hb-open-type.hh" -#include "hb-aat-layout-common.hh" -#include "hb-ot-layout-common.hh" -#include "hb-ot-layout-gdef-table.hh" -#include "hb-aat-map.hh" - -/* - * morx -- Extended Glyph Metamorphosis - * https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6morx.html - * https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6mort.html - */ -#define HB_AAT_TAG_morx HB_TAG('m','o','r','x') -#define HB_AAT_TAG_mort HB_TAG('m','o','r','t') - - -namespace AAT { - -using namespace OT; - -template -struct RearrangementSubtable -{ - typedef typename Types::HBUINT HBUINT; - - typedef void EntryData; - - struct driver_context_t - { - static constexpr bool in_place = true; - enum Flags - { - MarkFirst = 0x8000, /* If set, make the current glyph the first - * glyph to be rearranged. */ - DontAdvance = 0x4000, /* If set, don't advance to the next glyph - * before going to the new state. This means - * that the glyph index doesn't change, even - * if the glyph at that index has changed. */ - MarkLast = 0x2000, /* If set, make the current glyph the last - * glyph to be rearranged. */ - Reserved = 0x1FF0, /* These bits are reserved and should be set to 0. */ - Verb = 0x000F, /* The type of rearrangement specified. */ - }; - - driver_context_t (const RearrangementSubtable *table HB_UNUSED) : - ret (false), - start (0), end (0) {} - - bool is_actionable (StateTableDriver *driver HB_UNUSED, - const Entry &entry) - { - return (entry.flags & Verb) && start < end; - } - void transition (StateTableDriver *driver, - const Entry &entry) - { - hb_buffer_t *buffer = driver->buffer; - unsigned int flags = entry.flags; - - if (flags & MarkFirst) - start = buffer->idx; - - if (flags & MarkLast) - end = hb_min (buffer->idx + 1, buffer->len); - - if ((flags & Verb) && start < end) - { - /* The following map has two nibbles, for start-side - * and end-side. Values of 0,1,2 mean move that many - * to the other side. Value of 3 means move 2 and - * flip them. */ - const unsigned char map[16] = - { - 0x00, /* 0 no change */ - 0x10, /* 1 Ax => xA */ - 0x01, /* 2 xD => Dx */ - 0x11, /* 3 AxD => DxA */ - 0x20, /* 4 ABx => xAB */ - 0x30, /* 5 ABx => xBA */ - 0x02, /* 6 xCD => CDx */ - 0x03, /* 7 xCD => DCx */ - 0x12, /* 8 AxCD => CDxA */ - 0x13, /* 9 AxCD => DCxA */ - 0x21, /* 10 ABxD => DxAB */ - 0x31, /* 11 ABxD => DxBA */ - 0x22, /* 12 ABxCD => CDxAB */ - 0x32, /* 13 ABxCD => CDxBA */ - 0x23, /* 14 ABxCD => DCxAB */ - 0x33, /* 15 ABxCD => DCxBA */ - }; - - unsigned int m = map[flags & Verb]; - unsigned int l = hb_min (2u, m >> 4); - unsigned int r = hb_min (2u, m & 0x0F); - bool reverse_l = 3 == (m >> 4); - bool reverse_r = 3 == (m & 0x0F); - - if (end - start >= l + r) - { - buffer->merge_clusters (start, hb_min (buffer->idx + 1, buffer->len)); - buffer->merge_clusters (start, end); - - hb_glyph_info_t *info = buffer->info; - hb_glyph_info_t buf[4]; - - memcpy (buf, info + start, l * sizeof (buf[0])); - memcpy (buf + 2, info + end - r, r * sizeof (buf[0])); - - if (l != r) - memmove (info + start + r, info + start + l, (end - start - l - r) * sizeof (buf[0])); - - memcpy (info + start, buf + 2, r * sizeof (buf[0])); - memcpy (info + end - l, buf, l * sizeof (buf[0])); - if (reverse_l) - { - buf[0] = info[end - 1]; - info[end - 1] = info[end - 2]; - info[end - 2] = buf[0]; - } - if (reverse_r) - { - buf[0] = info[start]; - info[start] = info[start + 1]; - info[start + 1] = buf[0]; - } - } - } - } - - public: - bool ret; - private: - unsigned int start; - unsigned int end; - }; - - bool apply (hb_aat_apply_context_t *c) const - { - TRACE_APPLY (this); - - driver_context_t dc (this); - - StateTableDriver driver (machine, c->buffer, c->face); - driver.drive (&dc); - - return_trace (dc.ret); - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (machine.sanitize (c)); - } - - protected: - StateTable machine; - public: - DEFINE_SIZE_STATIC (16); -}; - -template -struct ContextualSubtable -{ - typedef typename Types::HBUINT HBUINT; - - struct EntryData - { - HBUINT16 markIndex; /* Index of the substitution table for the - * marked glyph (use 0xFFFF for none). */ - HBUINT16 currentIndex; /* Index of the substitution table for the - * current glyph (use 0xFFFF for none). */ - public: - DEFINE_SIZE_STATIC (4); - }; - - struct driver_context_t - { - static constexpr bool in_place = true; - enum Flags - { - SetMark = 0x8000, /* If set, make the current glyph the marked glyph. */ - DontAdvance = 0x4000, /* If set, don't advance to the next glyph before - * going to the new state. */ - Reserved = 0x3FFF, /* These bits are reserved and should be set to 0. */ - }; - - driver_context_t (const ContextualSubtable *table_, - hb_aat_apply_context_t *c_) : - ret (false), - c (c_), - gdef (*c->gdef_table), - mark_set (false), - has_glyph_classes (gdef.has_glyph_classes ()), - mark (0), - table (table_), - subs (table+table->substitutionTables) {} - - bool is_actionable (StateTableDriver *driver, - const Entry &entry) - { - hb_buffer_t *buffer = driver->buffer; - - if (buffer->idx == buffer->len && !mark_set) - return false; - - return entry.data.markIndex != 0xFFFF || entry.data.currentIndex != 0xFFFF; - } - void transition (StateTableDriver *driver, - const Entry &entry) - { - hb_buffer_t *buffer = driver->buffer; - - /* Looks like CoreText applies neither mark nor current substitution for - * end-of-text if mark was not explicitly set. */ - if (buffer->idx == buffer->len && !mark_set) - return; - - const HBGlyphID16 *replacement; - - replacement = nullptr; - if (Types::extended) - { - if (entry.data.markIndex != 0xFFFF) - { - const Lookup &lookup = subs[entry.data.markIndex]; - replacement = lookup.get_value (buffer->info[mark].codepoint, driver->num_glyphs); - } - } - else - { - unsigned int offset = entry.data.markIndex + buffer->info[mark].codepoint; - const UnsizedArrayOf &subs_old = (const UnsizedArrayOf &) subs; - replacement = &subs_old[Types::wordOffsetToIndex (offset, table, subs_old.arrayZ)]; - if (!replacement->sanitize (&c->sanitizer) || !*replacement) - replacement = nullptr; - } - if (replacement) - { - buffer->unsafe_to_break (mark, hb_min (buffer->idx + 1, buffer->len)); - buffer->info[mark].codepoint = *replacement; - if (has_glyph_classes) - _hb_glyph_info_set_glyph_props (&buffer->info[mark], - gdef.get_glyph_props (*replacement)); - ret = true; - } - - replacement = nullptr; - unsigned int idx = hb_min (buffer->idx, buffer->len - 1); - if (Types::extended) - { - if (entry.data.currentIndex != 0xFFFF) - { - const Lookup &lookup = subs[entry.data.currentIndex]; - replacement = lookup.get_value (buffer->info[idx].codepoint, driver->num_glyphs); - } - } - else - { - unsigned int offset = entry.data.currentIndex + buffer->info[idx].codepoint; - const UnsizedArrayOf &subs_old = (const UnsizedArrayOf &) subs; - replacement = &subs_old[Types::wordOffsetToIndex (offset, table, subs_old.arrayZ)]; - if (!replacement->sanitize (&c->sanitizer) || !*replacement) - replacement = nullptr; - } - if (replacement) - { - buffer->info[idx].codepoint = *replacement; - if (has_glyph_classes) - _hb_glyph_info_set_glyph_props (&buffer->info[idx], - gdef.get_glyph_props (*replacement)); - ret = true; - } - - if (entry.flags & SetMark) - { - mark_set = true; - mark = buffer->idx; - } - } - - public: - bool ret; - private: - hb_aat_apply_context_t *c; - const OT::GDEF &gdef; - bool mark_set; - bool has_glyph_classes; - unsigned int mark; - const ContextualSubtable *table; - const UnsizedListOfOffset16To, HBUINT, false> &subs; - }; - - bool apply (hb_aat_apply_context_t *c) const - { - TRACE_APPLY (this); - - driver_context_t dc (this, c); - - StateTableDriver driver (machine, c->buffer, c->face); - driver.drive (&dc); - - return_trace (dc.ret); - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - - unsigned int num_entries = 0; - if (unlikely (!machine.sanitize (c, &num_entries))) return_trace (false); - - if (!Types::extended) - return_trace (substitutionTables.sanitize (c, this, 0)); - - unsigned int num_lookups = 0; - - const Entry *entries = machine.get_entries (); - for (unsigned int i = 0; i < num_entries; i++) - { - const EntryData &data = entries[i].data; - - if (data.markIndex != 0xFFFF) - num_lookups = hb_max (num_lookups, 1u + data.markIndex); - if (data.currentIndex != 0xFFFF) - num_lookups = hb_max (num_lookups, 1u + data.currentIndex); - } - - return_trace (substitutionTables.sanitize (c, this, num_lookups)); - } - - protected: - StateTable - machine; - NNOffsetTo, HBUINT, false>, HBUINT> - substitutionTables; - public: - DEFINE_SIZE_STATIC (20); -}; - - -template -struct LigatureEntry; - -template <> -struct LigatureEntry -{ - enum Flags - { - SetComponent = 0x8000, /* Push this glyph onto the component stack for - * eventual processing. */ - DontAdvance = 0x4000, /* Leave the glyph pointer at this glyph for the - next iteration. */ - PerformAction = 0x2000, /* Use the ligActionIndex to process a ligature - * group. */ - Reserved = 0x1FFF, /* These bits are reserved and should be set to 0. */ - }; - - struct EntryData - { - HBUINT16 ligActionIndex; /* Index to the first ligActionTable entry - * for processing this group, if indicated - * by the flags. */ - public: - DEFINE_SIZE_STATIC (2); - }; - - static bool performAction (const Entry &entry) - { return entry.flags & PerformAction; } - - static unsigned int ligActionIndex (const Entry &entry) - { return entry.data.ligActionIndex; } -}; -template <> -struct LigatureEntry -{ - enum Flags - { - SetComponent = 0x8000, /* Push this glyph onto the component stack for - * eventual processing. */ - DontAdvance = 0x4000, /* Leave the glyph pointer at this glyph for the - next iteration. */ - Offset = 0x3FFF, /* Byte offset from beginning of subtable to the - * ligature action list. This value must be a - * multiple of 4. */ - }; - - typedef void EntryData; - - static bool performAction (const Entry &entry) - { return entry.flags & Offset; } - - static unsigned int ligActionIndex (const Entry &entry) - { return entry.flags & Offset; } -}; - - -template -struct LigatureSubtable -{ - typedef typename Types::HBUINT HBUINT; - - typedef LigatureEntry LigatureEntryT; - typedef typename LigatureEntryT::EntryData EntryData; - - struct driver_context_t - { - static constexpr bool in_place = false; - enum - { - DontAdvance = LigatureEntryT::DontAdvance, - }; - enum LigActionFlags - { - LigActionLast = 0x80000000, /* This is the last action in the list. This also - * implies storage. */ - LigActionStore = 0x40000000, /* Store the ligature at the current cumulated index - * in the ligature table in place of the marked - * (i.e. currently-popped) glyph. */ - LigActionOffset = 0x3FFFFFFF, /* A 30-bit value which is sign-extended to 32-bits - * and added to the glyph ID, resulting in an index - * into the component table. */ - }; - - driver_context_t (const LigatureSubtable *table_, - hb_aat_apply_context_t *c_) : - ret (false), - c (c_), - table (table_), - ligAction (table+table->ligAction), - component (table+table->component), - ligature (table+table->ligature), - match_length (0) {} - - bool is_actionable (StateTableDriver *driver HB_UNUSED, - const Entry &entry) - { - return LigatureEntryT::performAction (entry); - } - void transition (StateTableDriver *driver, - const Entry &entry) - { - hb_buffer_t *buffer = driver->buffer; - - DEBUG_MSG (APPLY, nullptr, "Ligature transition at %u", buffer->idx); - if (entry.flags & LigatureEntryT::SetComponent) - { - /* Never mark same index twice, in case DontAdvance was used... */ - if (match_length && match_positions[(match_length - 1u) % ARRAY_LENGTH (match_positions)] == buffer->out_len) - match_length--; - - match_positions[match_length++ % ARRAY_LENGTH (match_positions)] = buffer->out_len; - DEBUG_MSG (APPLY, nullptr, "Set component at %u", buffer->out_len); - } - - if (LigatureEntryT::performAction (entry)) - { - DEBUG_MSG (APPLY, nullptr, "Perform action with %u", match_length); - unsigned int end = buffer->out_len; - - if (unlikely (!match_length)) - return; - - if (buffer->idx >= buffer->len) - return; /* TODO Work on previous instead? */ - - unsigned int cursor = match_length; - - unsigned int action_idx = LigatureEntryT::ligActionIndex (entry); - action_idx = Types::offsetToIndex (action_idx, table, ligAction.arrayZ); - const HBUINT32 *actionData = &ligAction[action_idx]; - - unsigned int ligature_idx = 0; - unsigned int action; - do - { - if (unlikely (!cursor)) - { - /* Stack underflow. Clear the stack. */ - DEBUG_MSG (APPLY, nullptr, "Stack underflow"); - match_length = 0; - break; - } - - DEBUG_MSG (APPLY, nullptr, "Moving to stack position %u", cursor - 1); - if (unlikely (!buffer->move_to (match_positions[--cursor % ARRAY_LENGTH (match_positions)]))) return; - - if (unlikely (!actionData->sanitize (&c->sanitizer))) break; - action = *actionData; - - uint32_t uoffset = action & LigActionOffset; - if (uoffset & 0x20000000) - uoffset |= 0xC0000000; /* Sign-extend. */ - int32_t offset = (int32_t) uoffset; - unsigned int component_idx = buffer->cur().codepoint + offset; - component_idx = Types::wordOffsetToIndex (component_idx, table, component.arrayZ); - const HBUINT16 &componentData = component[component_idx]; - if (unlikely (!componentData.sanitize (&c->sanitizer))) break; - ligature_idx += componentData; - - DEBUG_MSG (APPLY, nullptr, "Action store %u last %u", - bool (action & LigActionStore), - bool (action & LigActionLast)); - if (action & (LigActionStore | LigActionLast)) - { - ligature_idx = Types::offsetToIndex (ligature_idx, table, ligature.arrayZ); - const HBGlyphID16 &ligatureData = ligature[ligature_idx]; - if (unlikely (!ligatureData.sanitize (&c->sanitizer))) break; - hb_codepoint_t lig = ligatureData; - - DEBUG_MSG (APPLY, nullptr, "Produced ligature %u", lig); - if (unlikely (!buffer->replace_glyph (lig))) return; - - unsigned int lig_end = match_positions[(match_length - 1u) % ARRAY_LENGTH (match_positions)] + 1u; - /* Now go and delete all subsequent components. */ - while (match_length - 1u > cursor) - { - DEBUG_MSG (APPLY, nullptr, "Skipping ligature component"); - if (unlikely (!buffer->move_to (match_positions[--match_length % ARRAY_LENGTH (match_positions)]))) return; - if (unlikely (!buffer->replace_glyph (DELETED_GLYPH))) return; - } - - if (unlikely (!buffer->move_to (lig_end))) return; - buffer->merge_out_clusters (match_positions[cursor % ARRAY_LENGTH (match_positions)], buffer->out_len); - } - - actionData++; - } - while (!(action & LigActionLast)); - if (unlikely (!buffer->move_to (end))) return; - } - } - - public: - bool ret; - private: - hb_aat_apply_context_t *c; - const LigatureSubtable *table; - const UnsizedArrayOf &ligAction; - const UnsizedArrayOf &component; - const UnsizedArrayOf &ligature; - unsigned int match_length; - unsigned int match_positions[HB_MAX_CONTEXT_LENGTH]; - }; - - bool apply (hb_aat_apply_context_t *c) const - { - TRACE_APPLY (this); - - driver_context_t dc (this, c); - - StateTableDriver driver (machine, c->buffer, c->face); - driver.drive (&dc); - - return_trace (dc.ret); - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - /* The rest of array sanitizations are done at run-time. */ - return_trace (c->check_struct (this) && machine.sanitize (c) && - ligAction && component && ligature); - } - - protected: - StateTable - machine; - NNOffsetTo, HBUINT> - ligAction; /* Offset to the ligature action table. */ - NNOffsetTo, HBUINT> - component; /* Offset to the component table. */ - NNOffsetTo, HBUINT> - ligature; /* Offset to the actual ligature lists. */ - public: - DEFINE_SIZE_STATIC (28); -}; - -template -struct NoncontextualSubtable -{ - bool apply (hb_aat_apply_context_t *c) const - { - TRACE_APPLY (this); - - const OT::GDEF &gdef (*c->gdef_table); - bool has_glyph_classes = gdef.has_glyph_classes (); - - bool ret = false; - unsigned int num_glyphs = c->face->get_num_glyphs (); - - hb_glyph_info_t *info = c->buffer->info; - unsigned int count = c->buffer->len; - for (unsigned int i = 0; i < count; i++) - { - const HBGlyphID16 *replacement = substitute.get_value (info[i].codepoint, num_glyphs); - if (replacement) - { - info[i].codepoint = *replacement; - if (has_glyph_classes) - _hb_glyph_info_set_glyph_props (&info[i], - gdef.get_glyph_props (*replacement)); - ret = true; - } - } - - return_trace (ret); - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (substitute.sanitize (c)); - } - - protected: - Lookup substitute; - public: - DEFINE_SIZE_MIN (2); -}; - -template -struct InsertionSubtable -{ - typedef typename Types::HBUINT HBUINT; - - struct EntryData - { - HBUINT16 currentInsertIndex; /* Zero-based index into the insertion glyph table. - * The number of glyphs to be inserted is contained - * in the currentInsertCount field in the flags. - * A value of 0xFFFF indicates no insertion is to - * be done. */ - HBUINT16 markedInsertIndex; /* Zero-based index into the insertion glyph table. - * The number of glyphs to be inserted is contained - * in the markedInsertCount field in the flags. - * A value of 0xFFFF indicates no insertion is to - * be done. */ - public: - DEFINE_SIZE_STATIC (4); - }; - - struct driver_context_t - { - static constexpr bool in_place = false; - enum Flags - { - SetMark = 0x8000, /* If set, mark the current glyph. */ - DontAdvance = 0x4000, /* If set, don't advance to the next glyph before - * going to the new state. This does not mean - * that the glyph pointed to is the same one as - * before. If you've made insertions immediately - * downstream of the current glyph, the next glyph - * processed would in fact be the first one - * inserted. */ - CurrentIsKashidaLike= 0x2000, /* If set, and the currentInsertList is nonzero, - * then the specified glyph list will be inserted - * as a kashida-like insertion, either before or - * after the current glyph (depending on the state - * of the currentInsertBefore flag). If clear, and - * the currentInsertList is nonzero, then the - * specified glyph list will be inserted as a - * split-vowel-like insertion, either before or - * after the current glyph (depending on the state - * of the currentInsertBefore flag). */ - MarkedIsKashidaLike= 0x1000, /* If set, and the markedInsertList is nonzero, - * then the specified glyph list will be inserted - * as a kashida-like insertion, either before or - * after the marked glyph (depending on the state - * of the markedInsertBefore flag). If clear, and - * the markedInsertList is nonzero, then the - * specified glyph list will be inserted as a - * split-vowel-like insertion, either before or - * after the marked glyph (depending on the state - * of the markedInsertBefore flag). */ - CurrentInsertBefore= 0x0800, /* If set, specifies that insertions are to be made - * to the left of the current glyph. If clear, - * they're made to the right of the current glyph. */ - MarkedInsertBefore= 0x0400, /* If set, specifies that insertions are to be - * made to the left of the marked glyph. If clear, - * they're made to the right of the marked glyph. */ - CurrentInsertCount= 0x3E0, /* This 5-bit field is treated as a count of the - * number of glyphs to insert at the current - * position. Since zero means no insertions, the - * largest number of insertions at any given - * current location is 31 glyphs. */ - MarkedInsertCount= 0x001F, /* This 5-bit field is treated as a count of the - * number of glyphs to insert at the marked - * position. Since zero means no insertions, the - * largest number of insertions at any given - * marked location is 31 glyphs. */ - }; - - driver_context_t (const InsertionSubtable *table, - hb_aat_apply_context_t *c_) : - ret (false), - c (c_), - mark (0), - insertionAction (table+table->insertionAction) {} - - bool is_actionable (StateTableDriver *driver HB_UNUSED, - const Entry &entry) - { - return (entry.flags & (CurrentInsertCount | MarkedInsertCount)) && - (entry.data.currentInsertIndex != 0xFFFF ||entry.data.markedInsertIndex != 0xFFFF); - } - void transition (StateTableDriver *driver, - const Entry &entry) - { - hb_buffer_t *buffer = driver->buffer; - unsigned int flags = entry.flags; - - unsigned mark_loc = buffer->out_len; - - if (entry.data.markedInsertIndex != 0xFFFF) - { - unsigned int count = (flags & MarkedInsertCount); - if (unlikely ((buffer->max_ops -= count) <= 0)) return; - unsigned int start = entry.data.markedInsertIndex; - const HBGlyphID16 *glyphs = &insertionAction[start]; - if (unlikely (!c->sanitizer.check_array (glyphs, count))) count = 0; - - bool before = flags & MarkedInsertBefore; - - unsigned int end = buffer->out_len; - if (unlikely (!buffer->move_to (mark))) return; - - if (buffer->idx < buffer->len && !before) - if (unlikely (!buffer->copy_glyph ())) return; - /* TODO We ignore KashidaLike setting. */ - if (unlikely (!buffer->replace_glyphs (0, count, glyphs))) return; - if (buffer->idx < buffer->len && !before) - buffer->skip_glyph (); - - if (unlikely (!buffer->move_to (end + count))) return; - - buffer->unsafe_to_break_from_outbuffer (mark, hb_min (buffer->idx + 1, buffer->len)); - } - - if (flags & SetMark) - mark = mark_loc; - - if (entry.data.currentInsertIndex != 0xFFFF) - { - unsigned int count = (flags & CurrentInsertCount) >> 5; - if (unlikely ((buffer->max_ops -= count) <= 0)) return; - unsigned int start = entry.data.currentInsertIndex; - const HBGlyphID16 *glyphs = &insertionAction[start]; - if (unlikely (!c->sanitizer.check_array (glyphs, count))) count = 0; - - bool before = flags & CurrentInsertBefore; - - unsigned int end = buffer->out_len; - - if (buffer->idx < buffer->len && !before) - if (unlikely (!buffer->copy_glyph ())) return; - /* TODO We ignore KashidaLike setting. */ - if (unlikely (!buffer->replace_glyphs (0, count, glyphs))) return; - if (buffer->idx < buffer->len && !before) - buffer->skip_glyph (); - - /* Humm. Not sure where to move to. There's this wording under - * DontAdvance flag: - * - * "If set, don't update the glyph index before going to the new state. - * This does not mean that the glyph pointed to is the same one as - * before. If you've made insertions immediately downstream of the - * current glyph, the next glyph processed would in fact be the first - * one inserted." - * - * This suggests that if DontAdvance is NOT set, we should move to - * end+count. If it *was*, then move to end, such that newly inserted - * glyphs are now visible. - * - * https://github.com/harfbuzz/harfbuzz/issues/1224#issuecomment-427691417 - */ - if (unlikely (!buffer->move_to ((flags & DontAdvance) ? end : end + count))) return; - } - } - - public: - bool ret; - private: - hb_aat_apply_context_t *c; - unsigned int mark; - const UnsizedArrayOf &insertionAction; - }; - - bool apply (hb_aat_apply_context_t *c) const - { - TRACE_APPLY (this); - - driver_context_t dc (this, c); - - StateTableDriver driver (machine, c->buffer, c->face); - driver.drive (&dc); - - return_trace (dc.ret); - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - /* The rest of array sanitizations are done at run-time. */ - return_trace (c->check_struct (this) && machine.sanitize (c) && - insertionAction); - } - - protected: - StateTable - machine; - NNOffsetTo, HBUINT> - insertionAction; /* Byte offset from stateHeader to the start of - * the insertion glyph table. */ - public: - DEFINE_SIZE_STATIC (20); -}; - - -struct Feature -{ - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this)); - } - - public: - HBUINT16 featureType; /* The type of feature. */ - HBUINT16 featureSetting; /* The feature's setting (aka selector). */ - HBUINT32 enableFlags; /* Flags for the settings that this feature - * and setting enables. */ - HBUINT32 disableFlags; /* Complement of flags for the settings that this - * feature and setting disable. */ - - public: - DEFINE_SIZE_STATIC (12); -}; - -template -struct ChainSubtable -{ - typedef typename Types::HBUINT HBUINT; - - template - friend struct Chain; - - unsigned int get_size () const { return length; } - unsigned int get_type () const { return coverage & 0xFF; } - unsigned int get_coverage () const { return coverage >> (sizeof (HBUINT) * 8 - 8); } - - enum Coverage - { - Vertical = 0x80, /* If set, this subtable will only be applied - * to vertical text. If clear, this subtable - * will only be applied to horizontal text. */ - Backwards = 0x40, /* If set, this subtable will process glyphs - * in descending order. If clear, it will - * process the glyphs in ascending order. */ - AllDirections = 0x20, /* If set, this subtable will be applied to - * both horizontal and vertical text (i.e. - * the state of bit 0x80000000 is ignored). */ - Logical = 0x10, /* If set, this subtable will process glyphs - * in logical order (or reverse logical order, - * depending on the value of bit 0x80000000). */ - }; - enum Type - { - Rearrangement = 0, - Contextual = 1, - Ligature = 2, - Noncontextual = 4, - Insertion = 5 - }; - - template - typename context_t::return_t dispatch (context_t *c, Ts&&... ds) const - { - unsigned int subtable_type = get_type (); - TRACE_DISPATCH (this, subtable_type); - switch (subtable_type) { - case Rearrangement: return_trace (c->dispatch (u.rearrangement, std::forward (ds)...)); - case Contextual: return_trace (c->dispatch (u.contextual, std::forward (ds)...)); - case Ligature: return_trace (c->dispatch (u.ligature, std::forward (ds)...)); - case Noncontextual: return_trace (c->dispatch (u.noncontextual, std::forward (ds)...)); - case Insertion: return_trace (c->dispatch (u.insertion, std::forward (ds)...)); - default: return_trace (c->default_return_value ()); - } - } - - bool apply (hb_aat_apply_context_t *c) const - { - TRACE_APPLY (this); - hb_sanitize_with_object_t with (&c->sanitizer, this); - return_trace (dispatch (c)); - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - if (!length.sanitize (c) || - length <= min_size || - !c->check_range (this, length)) - return_trace (false); - - hb_sanitize_with_object_t with (c, this); - return_trace (dispatch (c)); - } - - protected: - HBUINT length; /* Total subtable length, including this header. */ - HBUINT coverage; /* Coverage flags and subtable type. */ - HBUINT32 subFeatureFlags;/* The 32-bit mask identifying which subtable this is. */ - union { - RearrangementSubtable rearrangement; - ContextualSubtable contextual; - LigatureSubtable ligature; - NoncontextualSubtable noncontextual; - InsertionSubtable insertion; - } u; - public: - DEFINE_SIZE_MIN (2 * sizeof (HBUINT) + 4); -}; - -template -struct Chain -{ - typedef typename Types::HBUINT HBUINT; - - hb_mask_t compile_flags (const hb_aat_map_builder_t *map) const - { - hb_mask_t flags = defaultFlags; - { - unsigned int count = featureCount; - for (unsigned i = 0; i < count; i++) - { - const Feature &feature = featureZ[i]; - hb_aat_layout_feature_type_t type = (hb_aat_layout_feature_type_t) (unsigned int) feature.featureType; - hb_aat_layout_feature_selector_t setting = (hb_aat_layout_feature_selector_t) (unsigned int) feature.featureSetting; - retry: - // Check whether this type/setting pair was requested in the map, and if so, apply its flags. - // (The search here only looks at the type and setting fields of feature_info_t.) - hb_aat_map_builder_t::feature_info_t info = { type, setting, false, 0 }; - if (map->features.bsearch (info)) - { - flags &= feature.disableFlags; - flags |= feature.enableFlags; - } - else if (type == HB_AAT_LAYOUT_FEATURE_TYPE_LETTER_CASE && setting == HB_AAT_LAYOUT_FEATURE_SELECTOR_SMALL_CAPS) - { - /* Deprecated. https://github.com/harfbuzz/harfbuzz/issues/1342 */ - type = HB_AAT_LAYOUT_FEATURE_TYPE_LOWER_CASE; - setting = HB_AAT_LAYOUT_FEATURE_SELECTOR_LOWER_CASE_SMALL_CAPS; - goto retry; - } - } - } - return flags; - } - - void apply (hb_aat_apply_context_t *c, - hb_mask_t flags) const - { - const ChainSubtable *subtable = &StructAfter> (featureZ.as_array (featureCount)); - unsigned int count = subtableCount; - for (unsigned int i = 0; i < count; i++) - { - bool reverse; - - if (!(subtable->subFeatureFlags & flags)) - goto skip; - - if (!(subtable->get_coverage() & ChainSubtable::AllDirections) && - HB_DIRECTION_IS_VERTICAL (c->buffer->props.direction) != - bool (subtable->get_coverage() & ChainSubtable::Vertical)) - goto skip; - - /* Buffer contents is always in logical direction. Determine if - * we need to reverse before applying this subtable. We reverse - * back after if we did reverse indeed. - * - * Quoting the spac: - * """ - * Bits 28 and 30 of the coverage field control the order in which - * glyphs are processed when the subtable is run by the layout engine. - * Bit 28 is used to indicate if the glyph processing direction is - * the same as logical order or layout order. Bit 30 is used to - * indicate whether glyphs are processed forwards or backwards within - * that order. - - Bit 30 Bit 28 Interpretation for Horizontal Text - 0 0 The subtable is processed in layout order - (the same order as the glyphs, which is - always left-to-right). - 1 0 The subtable is processed in reverse layout order - (the order opposite that of the glyphs, which is - always right-to-left). - 0 1 The subtable is processed in logical order - (the same order as the characters, which may be - left-to-right or right-to-left). - 1 1 The subtable is processed in reverse logical order - (the order opposite that of the characters, which - may be right-to-left or left-to-right). - */ - reverse = subtable->get_coverage () & ChainSubtable::Logical ? - bool (subtable->get_coverage () & ChainSubtable::Backwards) : - bool (subtable->get_coverage () & ChainSubtable::Backwards) != - HB_DIRECTION_IS_BACKWARD (c->buffer->props.direction); - - if (!c->buffer->message (c->font, "start chainsubtable %d", c->lookup_index)) - goto skip; - - if (reverse) - _hb_ot_layout_reverse_graphemes (c->buffer); - - subtable->apply (c); - - if (reverse) - _hb_ot_layout_reverse_graphemes (c->buffer); - - (void) c->buffer->message (c->font, "end chainsubtable %d", c->lookup_index); - - if (unlikely (!c->buffer->successful)) return; - - skip: - subtable = &StructAfter> (*subtable); - c->set_lookup_index (c->lookup_index + 1); - } - } - - unsigned int get_size () const { return length; } - - bool sanitize (hb_sanitize_context_t *c, unsigned int version HB_UNUSED) const - { - TRACE_SANITIZE (this); - if (!length.sanitize (c) || - length < min_size || - !c->check_range (this, length)) - return_trace (false); - - if (!c->check_array (featureZ.arrayZ, featureCount)) - return_trace (false); - - const ChainSubtable *subtable = &StructAfter> (featureZ.as_array (featureCount)); - unsigned int count = subtableCount; - for (unsigned int i = 0; i < count; i++) - { - if (!subtable->sanitize (c)) - return_trace (false); - subtable = &StructAfter> (*subtable); - } - - return_trace (true); - } - - protected: - HBUINT32 defaultFlags; /* The default specification for subtables. */ - HBUINT32 length; /* Total byte count, including this header. */ - HBUINT featureCount; /* Number of feature subtable entries. */ - HBUINT subtableCount; /* The number of subtables in the chain. */ - - UnsizedArrayOf featureZ; /* Features. */ -/*ChainSubtable firstSubtable;*//* Subtables. */ -/*subtableGlyphCoverageArray*/ /* Only if version >= 3. We don't use. */ - - public: - DEFINE_SIZE_MIN (8 + 2 * sizeof (HBUINT)); -}; - - -/* - * The 'mort'/'morx' Table - */ - -template -struct mortmorx -{ - static constexpr hb_tag_t tableTag = TAG; - - bool has_data () const { return version != 0; } - - void compile_flags (const hb_aat_map_builder_t *mapper, - hb_aat_map_t *map) const - { - const Chain *chain = &firstChain; - unsigned int count = chainCount; - for (unsigned int i = 0; i < count; i++) - { - map->chain_flags.push (chain->compile_flags (mapper)); - chain = &StructAfter> (*chain); - } - } - - void apply (hb_aat_apply_context_t *c) const - { - if (unlikely (!c->buffer->successful)) return; - c->set_lookup_index (0); - const Chain *chain = &firstChain; - unsigned int count = chainCount; - for (unsigned int i = 0; i < count; i++) - { - chain->apply (c, c->plan->aat_map.chain_flags[i]); - if (unlikely (!c->buffer->successful)) return; - chain = &StructAfter> (*chain); - } - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - if (!version.sanitize (c) || !version || !chainCount.sanitize (c)) - return_trace (false); - - const Chain *chain = &firstChain; - unsigned int count = chainCount; - for (unsigned int i = 0; i < count; i++) - { - if (!chain->sanitize (c, version)) - return_trace (false); - chain = &StructAfter> (*chain); - } - - return_trace (true); - } - - protected: - HBUINT16 version; /* Version number of the glyph metamorphosis table. - * 1, 2, or 3. */ - HBUINT16 unused; /* Set to 0. */ - HBUINT32 chainCount; /* Number of metamorphosis chains contained in this - * table. */ - Chain firstChain; /* Chains. */ - - public: - DEFINE_SIZE_MIN (8); -}; - -struct morx : mortmorx {}; -struct mort : mortmorx {}; - - -} /* namespace AAT */ - - -#endif /* HB_AAT_LAYOUT_MORX_TABLE_HH */ diff --git a/harfbuzz/src/hb-aat-layout-opbd-table.hh b/harfbuzz/src/hb-aat-layout-opbd-table.hh deleted file mode 100644 index b1a1512..0000000 --- a/harfbuzz/src/hb-aat-layout-opbd-table.hh +++ /dev/null @@ -1,173 +0,0 @@ -/* - * Copyright © 2019 Ebrahim Byagowi - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - */ - -#ifndef HB_AAT_LAYOUT_OPBD_TABLE_HH -#define HB_AAT_LAYOUT_OPBD_TABLE_HH - -#include "hb-aat-layout-common.hh" -#include "hb-open-type.hh" - -/* - * opbd -- Optical Bounds - * https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6opbd.html - */ -#define HB_AAT_TAG_opbd HB_TAG('o','p','b','d') - - -namespace AAT { - -struct OpticalBounds -{ - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (likely (c->check_struct (this))); - } - - FWORD leftSide; - FWORD topSide; - FWORD rightSide; - FWORD bottomSide; - public: - DEFINE_SIZE_STATIC (8); -}; - -struct opbdFormat0 -{ - bool get_bounds (hb_font_t *font, hb_codepoint_t glyph_id, - hb_glyph_extents_t *extents, const void *base) const - { - const Offset16To *bounds_offset = lookupTable.get_value (glyph_id, font->face->get_num_glyphs ()); - if (!bounds_offset) return false; - const OpticalBounds &bounds = base+*bounds_offset; - - if (extents) - *extents = { - font->em_scale_x (bounds.leftSide), - font->em_scale_y (bounds.topSide), - font->em_scale_x (bounds.rightSide), - font->em_scale_y (bounds.bottomSide) - }; - return true; - } - - bool sanitize (hb_sanitize_context_t *c, const void *base) const - { - TRACE_SANITIZE (this); - return_trace (likely (c->check_struct (this) && lookupTable.sanitize (c, base))); - } - - protected: - Lookup> - lookupTable; /* Lookup table associating glyphs with the four - * int16 values for the left-side, top-side, - * right-side, and bottom-side optical bounds. */ - public: - DEFINE_SIZE_MIN (2); -}; - -struct opbdFormat1 -{ - bool get_bounds (hb_font_t *font, hb_codepoint_t glyph_id, - hb_glyph_extents_t *extents, const void *base) const - { - const Offset16To *bounds_offset = lookupTable.get_value (glyph_id, font->face->get_num_glyphs ()); - if (!bounds_offset) return false; - const OpticalBounds &bounds = base+*bounds_offset; - - hb_position_t left = 0, top = 0, right = 0, bottom = 0, ignore; - if (font->get_glyph_contour_point (glyph_id, bounds.leftSide, &left, &ignore) || - font->get_glyph_contour_point (glyph_id, bounds.topSide, &ignore, &top) || - font->get_glyph_contour_point (glyph_id, bounds.rightSide, &right, &ignore) || - font->get_glyph_contour_point (glyph_id, bounds.bottomSide, &ignore, &bottom)) - { - if (extents) - *extents = {left, top, right, bottom}; - return true; - } - return false; - } - - bool sanitize (hb_sanitize_context_t *c, const void *base) const - { - TRACE_SANITIZE (this); - return_trace (likely (c->check_struct (this) && lookupTable.sanitize (c, base))); - } - - protected: - Lookup> - lookupTable; /* Lookup table associating glyphs with the four - * int16 values for the left-side, top-side, - * right-side, and bottom-side optical bounds. */ - public: - DEFINE_SIZE_MIN (2); -}; - -struct opbd -{ - static constexpr hb_tag_t tableTag = HB_AAT_TAG_opbd; - - bool get_bounds (hb_font_t *font, hb_codepoint_t glyph_id, - hb_glyph_extents_t *extents) const - { - switch (format) - { - case 0: return u.format0.get_bounds (font, glyph_id, extents, this); - case 1: return u.format1.get_bounds (font, glyph_id, extents, this); - default:return false; - } - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - if (unlikely (!c->check_struct (this) || version.major != 1)) - return_trace (false); - - switch (format) - { - case 0: return_trace (u.format0.sanitize (c, this)); - case 1: return_trace (u.format1.sanitize (c, this)); - default:return_trace (true); - } - } - - protected: - FixedVersion<>version; /* Version number of the optical bounds - * table (0x00010000 for the current version). */ - HBUINT16 format; /* Format of the optical bounds table. - * Format 0 indicates distance and Format 1 indicates - * control point. */ - union { - opbdFormat0 format0; - opbdFormat1 format1; - } u; - public: - DEFINE_SIZE_MIN (8); -}; - -} /* namespace AAT */ - - -#endif /* HB_AAT_LAYOUT_OPBD_TABLE_HH */ diff --git a/harfbuzz/src/hb-aat-layout-trak-table.hh b/harfbuzz/src/hb-aat-layout-trak-table.hh deleted file mode 100644 index 68bcb23..0000000 --- a/harfbuzz/src/hb-aat-layout-trak-table.hh +++ /dev/null @@ -1,230 +0,0 @@ -/* - * Copyright © 2018 Ebrahim Byagowi - * Copyright © 2018 Google, Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Google Author(s): Behdad Esfahbod - */ - -#ifndef HB_AAT_LAYOUT_TRAK_TABLE_HH -#define HB_AAT_LAYOUT_TRAK_TABLE_HH - -#include "hb-aat-layout-common.hh" -#include "hb-ot-layout.hh" -#include "hb-open-type.hh" - -/* - * trak -- Tracking - * https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6trak.html - */ -#define HB_AAT_TAG_trak HB_TAG('t','r','a','k') - - -namespace AAT { - - -struct TrackTableEntry -{ - friend struct TrackData; - - float get_track_value () const { return track.to_float (); } - - int get_value (const void *base, unsigned int index, - unsigned int table_size) const - { return (base+valuesZ).as_array (table_size)[index]; } - - public: - bool sanitize (hb_sanitize_context_t *c, const void *base, - unsigned int table_size) const - { - TRACE_SANITIZE (this); - return_trace (likely (c->check_struct (this) && - (valuesZ.sanitize (c, base, table_size)))); - } - - protected: - HBFixed track; /* Track value for this record. */ - NameID trackNameID; /* The 'name' table index for this track. - * (a short word or phrase like "loose" - * or "very tight") */ - NNOffset16To> - valuesZ; /* Offset from start of tracking table to - * per-size tracking values for this track. */ - - public: - DEFINE_SIZE_STATIC (8); -}; - -struct TrackData -{ - float interpolate_at (unsigned int idx, - float target_size, - const TrackTableEntry &trackTableEntry, - const void *base) const - { - unsigned int sizes = nSizes; - hb_array_t size_table ((base+sizeTable).arrayZ, sizes); - - float s0 = size_table[idx].to_float (); - float s1 = size_table[idx + 1].to_float (); - float t = unlikely (s0 == s1) ? 0.f : (target_size - s0) / (s1 - s0); - return t * trackTableEntry.get_value (base, idx + 1, sizes) + - (1.f - t) * trackTableEntry.get_value (base, idx, sizes); - } - - int get_tracking (const void *base, float ptem) const - { - /* - * Choose track. - */ - const TrackTableEntry *trackTableEntry = nullptr; - unsigned int count = nTracks; - for (unsigned int i = 0; i < count; i++) - { - /* Note: Seems like the track entries are sorted by values. But the - * spec doesn't explicitly say that. It just mentions it in the example. */ - - /* For now we only seek for track entries with zero tracking value */ - - if (trackTable[i].get_track_value () == 0.f) - { - trackTableEntry = &trackTable[i]; - break; - } - } - if (!trackTableEntry) return 0.; - - /* - * Choose size. - */ - unsigned int sizes = nSizes; - if (!sizes) return 0.; - if (sizes == 1) return trackTableEntry->get_value (base, 0, sizes); - - hb_array_t size_table ((base+sizeTable).arrayZ, sizes); - unsigned int size_index; - for (size_index = 0; size_index < sizes - 1; size_index++) - if (size_table[size_index].to_float () >= ptem) - break; - - return roundf (interpolate_at (size_index ? size_index - 1 : 0, ptem, - *trackTableEntry, base)); - } - - bool sanitize (hb_sanitize_context_t *c, const void *base) const - { - TRACE_SANITIZE (this); - return_trace (likely (c->check_struct (this) && - sizeTable.sanitize (c, base, nSizes) && - trackTable.sanitize (c, nTracks, base, nSizes))); - } - - protected: - HBUINT16 nTracks; /* Number of separate tracks included in this table. */ - HBUINT16 nSizes; /* Number of point sizes included in this table. */ - NNOffset32To> - sizeTable; /* Offset from start of the tracking table to - * Array[nSizes] of size values.. */ - UnsizedArrayOf - trackTable; /* Array[nTracks] of TrackTableEntry records. */ - - public: - DEFINE_SIZE_ARRAY (8, trackTable); -}; - -struct trak -{ - static constexpr hb_tag_t tableTag = HB_AAT_TAG_trak; - - bool has_data () const { return version.to_int (); } - - bool apply (hb_aat_apply_context_t *c) const - { - TRACE_APPLY (this); - - hb_mask_t trak_mask = c->plan->trak_mask; - - const float ptem = c->font->ptem; - if (unlikely (ptem <= 0.f)) - return_trace (false); - - hb_buffer_t *buffer = c->buffer; - if (HB_DIRECTION_IS_HORIZONTAL (buffer->props.direction)) - { - const TrackData &trackData = this+horizData; - int tracking = trackData.get_tracking (this, ptem); - hb_position_t offset_to_add = c->font->em_scalef_x (tracking / 2); - hb_position_t advance_to_add = c->font->em_scalef_x (tracking); - foreach_grapheme (buffer, start, end) - { - if (!(buffer->info[start].mask & trak_mask)) continue; - buffer->pos[start].x_advance += advance_to_add; - buffer->pos[start].x_offset += offset_to_add; - } - } - else - { - const TrackData &trackData = this+vertData; - int tracking = trackData.get_tracking (this, ptem); - hb_position_t offset_to_add = c->font->em_scalef_y (tracking / 2); - hb_position_t advance_to_add = c->font->em_scalef_y (tracking); - foreach_grapheme (buffer, start, end) - { - if (!(buffer->info[start].mask & trak_mask)) continue; - buffer->pos[start].y_advance += advance_to_add; - buffer->pos[start].y_offset += offset_to_add; - } - } - - return_trace (true); - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - - return_trace (likely (c->check_struct (this) && - version.major == 1 && - horizData.sanitize (c, this, this) && - vertData.sanitize (c, this, this))); - } - - protected: - FixedVersion<>version; /* Version of the tracking table - * (0x00010000u for version 1.0). */ - HBUINT16 format; /* Format of the tracking table (set to 0). */ - Offset16To - horizData; /* Offset from start of tracking table to TrackData - * for horizontal text (or 0 if none). */ - Offset16To - vertData; /* Offset from start of tracking table to TrackData - * for vertical text (or 0 if none). */ - HBUINT16 reserved; /* Reserved. Set to 0. */ - - public: - DEFINE_SIZE_STATIC (12); -}; - -} /* namespace AAT */ - - -#endif /* HB_AAT_LAYOUT_TRAK_TABLE_HH */ diff --git a/harfbuzz/src/hb-aat-layout.cc b/harfbuzz/src/hb-aat-layout.cc deleted file mode 100644 index e2d4de2..0000000 --- a/harfbuzz/src/hb-aat-layout.cc +++ /dev/null @@ -1,430 +0,0 @@ -/* - * Copyright © 2017 Google, Inc. - * Copyright © 2018 Ebrahim Byagowi - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Google Author(s): Behdad Esfahbod - */ - -#include "hb.hh" - -#include "hb-aat-layout.hh" -#include "hb-aat-layout-ankr-table.hh" -#include "hb-aat-layout-bsln-table.hh" // Just so we compile it; unused otherwise. -#include "hb-aat-layout-feat-table.hh" -#include "hb-aat-layout-just-table.hh" // Just so we compile it; unused otherwise. -#include "hb-aat-layout-kerx-table.hh" -#include "hb-aat-layout-morx-table.hh" -#include "hb-aat-layout-trak-table.hh" -#include "hb-aat-ltag-table.hh" - - -/* - * hb_aat_apply_context_t - */ - -/* Note: This context is used for kerning, even without AAT, hence the condition. */ -#if !defined(HB_NO_AAT) || !defined(HB_NO_OT_KERN) - -AAT::hb_aat_apply_context_t::hb_aat_apply_context_t (const hb_ot_shape_plan_t *plan_, - hb_font_t *font_, - hb_buffer_t *buffer_, - hb_blob_t *blob) : - plan (plan_), - font (font_), - face (font->face), - buffer (buffer_), - sanitizer (), - ankr_table (&Null (AAT::ankr)), - gdef_table (face->table.GDEF->table), - lookup_index (0) -{ - sanitizer.init (blob); - sanitizer.set_num_glyphs (face->get_num_glyphs ()); - sanitizer.start_processing (); - sanitizer.set_max_ops (HB_SANITIZE_MAX_OPS_MAX); -} - -AAT::hb_aat_apply_context_t::~hb_aat_apply_context_t () -{ sanitizer.end_processing (); } - -void -AAT::hb_aat_apply_context_t::set_ankr_table (const AAT::ankr *ankr_table_) -{ ankr_table = ankr_table_; } - -#endif - - -/** - * SECTION:hb-aat-layout - * @title: hb-aat-layout - * @short_description: Apple Advanced Typography Layout - * @include: hb-aat.h - * - * Functions for querying AAT Layout features in the font face. - * - * HarfBuzz supports all of the AAT tables used to implement shaping. Other - * AAT tables and their associated features are not supported. - **/ - - -#if !defined(HB_NO_AAT) || defined(HAVE_CORETEXT) - -/* Mapping from OpenType feature tags to AAT feature names and selectors. - * - * Table data courtesy of Apple. Converted from mnemonics to integers - * when moving to this file. */ -static const hb_aat_feature_mapping_t feature_mappings[] = -{ - {HB_TAG ('a','f','r','c'), HB_AAT_LAYOUT_FEATURE_TYPE_FRACTIONS, HB_AAT_LAYOUT_FEATURE_SELECTOR_VERTICAL_FRACTIONS, HB_AAT_LAYOUT_FEATURE_SELECTOR_NO_FRACTIONS}, - {HB_TAG ('c','2','p','c'), HB_AAT_LAYOUT_FEATURE_TYPE_UPPER_CASE, HB_AAT_LAYOUT_FEATURE_SELECTOR_UPPER_CASE_PETITE_CAPS, HB_AAT_LAYOUT_FEATURE_SELECTOR_DEFAULT_UPPER_CASE}, - {HB_TAG ('c','2','s','c'), HB_AAT_LAYOUT_FEATURE_TYPE_UPPER_CASE, HB_AAT_LAYOUT_FEATURE_SELECTOR_UPPER_CASE_SMALL_CAPS, HB_AAT_LAYOUT_FEATURE_SELECTOR_DEFAULT_UPPER_CASE}, - {HB_TAG ('c','a','l','t'), HB_AAT_LAYOUT_FEATURE_TYPE_CONTEXTUAL_ALTERNATIVES, HB_AAT_LAYOUT_FEATURE_SELECTOR_CONTEXTUAL_ALTERNATES_ON, HB_AAT_LAYOUT_FEATURE_SELECTOR_CONTEXTUAL_ALTERNATES_OFF}, - {HB_TAG ('c','a','s','e'), HB_AAT_LAYOUT_FEATURE_TYPE_CASE_SENSITIVE_LAYOUT, HB_AAT_LAYOUT_FEATURE_SELECTOR_CASE_SENSITIVE_LAYOUT_ON, HB_AAT_LAYOUT_FEATURE_SELECTOR_CASE_SENSITIVE_LAYOUT_OFF}, - {HB_TAG ('c','l','i','g'), HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES, HB_AAT_LAYOUT_FEATURE_SELECTOR_CONTEXTUAL_LIGATURES_ON, HB_AAT_LAYOUT_FEATURE_SELECTOR_CONTEXTUAL_LIGATURES_OFF}, - {HB_TAG ('c','p','s','p'), HB_AAT_LAYOUT_FEATURE_TYPE_CASE_SENSITIVE_LAYOUT, HB_AAT_LAYOUT_FEATURE_SELECTOR_CASE_SENSITIVE_SPACING_ON, HB_AAT_LAYOUT_FEATURE_SELECTOR_CASE_SENSITIVE_SPACING_OFF}, - {HB_TAG ('c','s','w','h'), HB_AAT_LAYOUT_FEATURE_TYPE_CONTEXTUAL_ALTERNATIVES, HB_AAT_LAYOUT_FEATURE_SELECTOR_CONTEXTUAL_SWASH_ALTERNATES_ON, HB_AAT_LAYOUT_FEATURE_SELECTOR_CONTEXTUAL_SWASH_ALTERNATES_OFF}, - {HB_TAG ('d','l','i','g'), HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES, HB_AAT_LAYOUT_FEATURE_SELECTOR_RARE_LIGATURES_ON, HB_AAT_LAYOUT_FEATURE_SELECTOR_RARE_LIGATURES_OFF}, - {HB_TAG ('e','x','p','t'), HB_AAT_LAYOUT_FEATURE_TYPE_CHARACTER_SHAPE, HB_AAT_LAYOUT_FEATURE_SELECTOR_EXPERT_CHARACTERS, (hb_aat_layout_feature_selector_t) 16}, - {HB_TAG ('f','r','a','c'), HB_AAT_LAYOUT_FEATURE_TYPE_FRACTIONS, HB_AAT_LAYOUT_FEATURE_SELECTOR_DIAGONAL_FRACTIONS, HB_AAT_LAYOUT_FEATURE_SELECTOR_NO_FRACTIONS}, - {HB_TAG ('f','w','i','d'), HB_AAT_LAYOUT_FEATURE_TYPE_TEXT_SPACING, HB_AAT_LAYOUT_FEATURE_SELECTOR_MONOSPACED_TEXT, (hb_aat_layout_feature_selector_t) 7}, - {HB_TAG ('h','a','l','t'), HB_AAT_LAYOUT_FEATURE_TYPE_TEXT_SPACING, HB_AAT_LAYOUT_FEATURE_SELECTOR_ALT_HALF_WIDTH_TEXT, (hb_aat_layout_feature_selector_t) 7}, - {HB_TAG ('h','i','s','t'), HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES, HB_AAT_LAYOUT_FEATURE_SELECTOR_HISTORICAL_LIGATURES_ON, HB_AAT_LAYOUT_FEATURE_SELECTOR_HISTORICAL_LIGATURES_OFF}, - {HB_TAG ('h','k','n','a'), HB_AAT_LAYOUT_FEATURE_TYPE_ALTERNATE_KANA, HB_AAT_LAYOUT_FEATURE_SELECTOR_ALTERNATE_HORIZ_KANA_ON, HB_AAT_LAYOUT_FEATURE_SELECTOR_ALTERNATE_HORIZ_KANA_OFF}, - {HB_TAG ('h','l','i','g'), HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES, HB_AAT_LAYOUT_FEATURE_SELECTOR_HISTORICAL_LIGATURES_ON, HB_AAT_LAYOUT_FEATURE_SELECTOR_HISTORICAL_LIGATURES_OFF}, - {HB_TAG ('h','n','g','l'), HB_AAT_LAYOUT_FEATURE_TYPE_TRANSLITERATION, HB_AAT_LAYOUT_FEATURE_SELECTOR_HANJA_TO_HANGUL, HB_AAT_LAYOUT_FEATURE_SELECTOR_NO_TRANSLITERATION}, - {HB_TAG ('h','o','j','o'), HB_AAT_LAYOUT_FEATURE_TYPE_CHARACTER_SHAPE, HB_AAT_LAYOUT_FEATURE_SELECTOR_HOJO_CHARACTERS, (hb_aat_layout_feature_selector_t) 16}, - {HB_TAG ('h','w','i','d'), HB_AAT_LAYOUT_FEATURE_TYPE_TEXT_SPACING, HB_AAT_LAYOUT_FEATURE_SELECTOR_HALF_WIDTH_TEXT, (hb_aat_layout_feature_selector_t) 7}, - {HB_TAG ('i','t','a','l'), HB_AAT_LAYOUT_FEATURE_TYPE_ITALIC_CJK_ROMAN, HB_AAT_LAYOUT_FEATURE_SELECTOR_CJK_ITALIC_ROMAN_ON, HB_AAT_LAYOUT_FEATURE_SELECTOR_CJK_ITALIC_ROMAN_OFF}, - {HB_TAG ('j','p','0','4'), HB_AAT_LAYOUT_FEATURE_TYPE_CHARACTER_SHAPE, HB_AAT_LAYOUT_FEATURE_SELECTOR_JIS2004_CHARACTERS, (hb_aat_layout_feature_selector_t) 16}, - {HB_TAG ('j','p','7','8'), HB_AAT_LAYOUT_FEATURE_TYPE_CHARACTER_SHAPE, HB_AAT_LAYOUT_FEATURE_SELECTOR_JIS1978_CHARACTERS, (hb_aat_layout_feature_selector_t) 16}, - {HB_TAG ('j','p','8','3'), HB_AAT_LAYOUT_FEATURE_TYPE_CHARACTER_SHAPE, HB_AAT_LAYOUT_FEATURE_SELECTOR_JIS1983_CHARACTERS, (hb_aat_layout_feature_selector_t) 16}, - {HB_TAG ('j','p','9','0'), HB_AAT_LAYOUT_FEATURE_TYPE_CHARACTER_SHAPE, HB_AAT_LAYOUT_FEATURE_SELECTOR_JIS1990_CHARACTERS, (hb_aat_layout_feature_selector_t) 16}, - {HB_TAG ('l','i','g','a'), HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES, HB_AAT_LAYOUT_FEATURE_SELECTOR_COMMON_LIGATURES_ON, HB_AAT_LAYOUT_FEATURE_SELECTOR_COMMON_LIGATURES_OFF}, - {HB_TAG ('l','n','u','m'), HB_AAT_LAYOUT_FEATURE_TYPE_NUMBER_CASE, HB_AAT_LAYOUT_FEATURE_SELECTOR_UPPER_CASE_NUMBERS, (hb_aat_layout_feature_selector_t) 2}, - {HB_TAG ('m','g','r','k'), HB_AAT_LAYOUT_FEATURE_TYPE_MATHEMATICAL_EXTRAS, HB_AAT_LAYOUT_FEATURE_SELECTOR_MATHEMATICAL_GREEK_ON, HB_AAT_LAYOUT_FEATURE_SELECTOR_MATHEMATICAL_GREEK_OFF}, - {HB_TAG ('n','l','c','k'), HB_AAT_LAYOUT_FEATURE_TYPE_CHARACTER_SHAPE, HB_AAT_LAYOUT_FEATURE_SELECTOR_NLCCHARACTERS, (hb_aat_layout_feature_selector_t) 16}, - {HB_TAG ('o','n','u','m'), HB_AAT_LAYOUT_FEATURE_TYPE_NUMBER_CASE, HB_AAT_LAYOUT_FEATURE_SELECTOR_LOWER_CASE_NUMBERS, (hb_aat_layout_feature_selector_t) 2}, - {HB_TAG ('o','r','d','n'), HB_AAT_LAYOUT_FEATURE_TYPE_VERTICAL_POSITION, HB_AAT_LAYOUT_FEATURE_SELECTOR_ORDINALS, HB_AAT_LAYOUT_FEATURE_SELECTOR_NORMAL_POSITION}, - {HB_TAG ('p','a','l','t'), HB_AAT_LAYOUT_FEATURE_TYPE_TEXT_SPACING, HB_AAT_LAYOUT_FEATURE_SELECTOR_ALT_PROPORTIONAL_TEXT, (hb_aat_layout_feature_selector_t) 7}, - {HB_TAG ('p','c','a','p'), HB_AAT_LAYOUT_FEATURE_TYPE_LOWER_CASE, HB_AAT_LAYOUT_FEATURE_SELECTOR_LOWER_CASE_PETITE_CAPS, HB_AAT_LAYOUT_FEATURE_SELECTOR_DEFAULT_LOWER_CASE}, - {HB_TAG ('p','k','n','a'), HB_AAT_LAYOUT_FEATURE_TYPE_TEXT_SPACING, HB_AAT_LAYOUT_FEATURE_SELECTOR_PROPORTIONAL_TEXT, (hb_aat_layout_feature_selector_t) 7}, - {HB_TAG ('p','n','u','m'), HB_AAT_LAYOUT_FEATURE_TYPE_NUMBER_SPACING, HB_AAT_LAYOUT_FEATURE_SELECTOR_PROPORTIONAL_NUMBERS, (hb_aat_layout_feature_selector_t) 4}, - {HB_TAG ('p','w','i','d'), HB_AAT_LAYOUT_FEATURE_TYPE_TEXT_SPACING, HB_AAT_LAYOUT_FEATURE_SELECTOR_PROPORTIONAL_TEXT, (hb_aat_layout_feature_selector_t) 7}, - {HB_TAG ('q','w','i','d'), HB_AAT_LAYOUT_FEATURE_TYPE_TEXT_SPACING, HB_AAT_LAYOUT_FEATURE_SELECTOR_QUARTER_WIDTH_TEXT, (hb_aat_layout_feature_selector_t) 7}, - {HB_TAG ('r','u','b','y'), HB_AAT_LAYOUT_FEATURE_TYPE_RUBY_KANA, HB_AAT_LAYOUT_FEATURE_SELECTOR_RUBY_KANA_ON, HB_AAT_LAYOUT_FEATURE_SELECTOR_RUBY_KANA_OFF}, - {HB_TAG ('s','i','n','f'), HB_AAT_LAYOUT_FEATURE_TYPE_VERTICAL_POSITION, HB_AAT_LAYOUT_FEATURE_SELECTOR_SCIENTIFIC_INFERIORS, HB_AAT_LAYOUT_FEATURE_SELECTOR_NORMAL_POSITION}, - {HB_TAG ('s','m','c','p'), HB_AAT_LAYOUT_FEATURE_TYPE_LOWER_CASE, HB_AAT_LAYOUT_FEATURE_SELECTOR_LOWER_CASE_SMALL_CAPS, HB_AAT_LAYOUT_FEATURE_SELECTOR_DEFAULT_LOWER_CASE}, - {HB_TAG ('s','m','p','l'), HB_AAT_LAYOUT_FEATURE_TYPE_CHARACTER_SHAPE, HB_AAT_LAYOUT_FEATURE_SELECTOR_SIMPLIFIED_CHARACTERS, (hb_aat_layout_feature_selector_t) 16}, - {HB_TAG ('s','s','0','1'), HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES, HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_ONE_ON, HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_ONE_OFF}, - {HB_TAG ('s','s','0','2'), HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES, HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_TWO_ON, HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_TWO_OFF}, - {HB_TAG ('s','s','0','3'), HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES, HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_THREE_ON, HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_THREE_OFF}, - {HB_TAG ('s','s','0','4'), HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES, HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_FOUR_ON, HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_FOUR_OFF}, - {HB_TAG ('s','s','0','5'), HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES, HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_FIVE_ON, HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_FIVE_OFF}, - {HB_TAG ('s','s','0','6'), HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES, HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_SIX_ON, HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_SIX_OFF}, - {HB_TAG ('s','s','0','7'), HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES, HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_SEVEN_ON, HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_SEVEN_OFF}, - {HB_TAG ('s','s','0','8'), HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES, HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_EIGHT_ON, HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_EIGHT_OFF}, - {HB_TAG ('s','s','0','9'), HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES, HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_NINE_ON, HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_NINE_OFF}, - {HB_TAG ('s','s','1','0'), HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES, HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_TEN_ON, HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_TEN_OFF}, - {HB_TAG ('s','s','1','1'), HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES, HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_ELEVEN_ON, HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_ELEVEN_OFF}, - {HB_TAG ('s','s','1','2'), HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES, HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_TWELVE_ON, HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_TWELVE_OFF}, - {HB_TAG ('s','s','1','3'), HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES, HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_THIRTEEN_ON, HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_THIRTEEN_OFF}, - {HB_TAG ('s','s','1','4'), HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES, HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_FOURTEEN_ON, HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_FOURTEEN_OFF}, - {HB_TAG ('s','s','1','5'), HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES, HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_FIFTEEN_ON, HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_FIFTEEN_OFF}, - {HB_TAG ('s','s','1','6'), HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES, HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_SIXTEEN_ON, HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_SIXTEEN_OFF}, - {HB_TAG ('s','s','1','7'), HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES, HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_SEVENTEEN_ON, HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_SEVENTEEN_OFF}, - {HB_TAG ('s','s','1','8'), HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES, HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_EIGHTEEN_ON, HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_EIGHTEEN_OFF}, - {HB_TAG ('s','s','1','9'), HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES, HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_NINETEEN_ON, HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_NINETEEN_OFF}, - {HB_TAG ('s','s','2','0'), HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES, HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_TWENTY_ON, HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_TWENTY_OFF}, - {HB_TAG ('s','u','b','s'), HB_AAT_LAYOUT_FEATURE_TYPE_VERTICAL_POSITION, HB_AAT_LAYOUT_FEATURE_SELECTOR_INFERIORS, HB_AAT_LAYOUT_FEATURE_SELECTOR_NORMAL_POSITION}, - {HB_TAG ('s','u','p','s'), HB_AAT_LAYOUT_FEATURE_TYPE_VERTICAL_POSITION, HB_AAT_LAYOUT_FEATURE_SELECTOR_SUPERIORS, HB_AAT_LAYOUT_FEATURE_SELECTOR_NORMAL_POSITION}, - {HB_TAG ('s','w','s','h'), HB_AAT_LAYOUT_FEATURE_TYPE_CONTEXTUAL_ALTERNATIVES, HB_AAT_LAYOUT_FEATURE_SELECTOR_SWASH_ALTERNATES_ON, HB_AAT_LAYOUT_FEATURE_SELECTOR_SWASH_ALTERNATES_OFF}, - {HB_TAG ('t','i','t','l'), HB_AAT_LAYOUT_FEATURE_TYPE_STYLE_OPTIONS, HB_AAT_LAYOUT_FEATURE_SELECTOR_TITLING_CAPS, HB_AAT_LAYOUT_FEATURE_SELECTOR_NO_STYLE_OPTIONS}, - {HB_TAG ('t','n','a','m'), HB_AAT_LAYOUT_FEATURE_TYPE_CHARACTER_SHAPE, HB_AAT_LAYOUT_FEATURE_SELECTOR_TRADITIONAL_NAMES_CHARACTERS, (hb_aat_layout_feature_selector_t) 16}, - {HB_TAG ('t','n','u','m'), HB_AAT_LAYOUT_FEATURE_TYPE_NUMBER_SPACING, HB_AAT_LAYOUT_FEATURE_SELECTOR_MONOSPACED_NUMBERS, (hb_aat_layout_feature_selector_t) 4}, - {HB_TAG ('t','r','a','d'), HB_AAT_LAYOUT_FEATURE_TYPE_CHARACTER_SHAPE, HB_AAT_LAYOUT_FEATURE_SELECTOR_TRADITIONAL_CHARACTERS, (hb_aat_layout_feature_selector_t) 16}, - {HB_TAG ('t','w','i','d'), HB_AAT_LAYOUT_FEATURE_TYPE_TEXT_SPACING, HB_AAT_LAYOUT_FEATURE_SELECTOR_THIRD_WIDTH_TEXT, (hb_aat_layout_feature_selector_t) 7}, - {HB_TAG ('u','n','i','c'), HB_AAT_LAYOUT_FEATURE_TYPE_LETTER_CASE, (hb_aat_layout_feature_selector_t) 14, (hb_aat_layout_feature_selector_t) 15}, - {HB_TAG ('v','a','l','t'), HB_AAT_LAYOUT_FEATURE_TYPE_TEXT_SPACING, HB_AAT_LAYOUT_FEATURE_SELECTOR_ALT_PROPORTIONAL_TEXT, (hb_aat_layout_feature_selector_t) 7}, - {HB_TAG ('v','e','r','t'), HB_AAT_LAYOUT_FEATURE_TYPE_VERTICAL_SUBSTITUTION, HB_AAT_LAYOUT_FEATURE_SELECTOR_SUBSTITUTE_VERTICAL_FORMS_ON, HB_AAT_LAYOUT_FEATURE_SELECTOR_SUBSTITUTE_VERTICAL_FORMS_OFF}, - {HB_TAG ('v','h','a','l'), HB_AAT_LAYOUT_FEATURE_TYPE_TEXT_SPACING, HB_AAT_LAYOUT_FEATURE_SELECTOR_ALT_HALF_WIDTH_TEXT, (hb_aat_layout_feature_selector_t) 7}, - {HB_TAG ('v','k','n','a'), HB_AAT_LAYOUT_FEATURE_TYPE_ALTERNATE_KANA, HB_AAT_LAYOUT_FEATURE_SELECTOR_ALTERNATE_VERT_KANA_ON, HB_AAT_LAYOUT_FEATURE_SELECTOR_ALTERNATE_VERT_KANA_OFF}, - {HB_TAG ('v','p','a','l'), HB_AAT_LAYOUT_FEATURE_TYPE_TEXT_SPACING, HB_AAT_LAYOUT_FEATURE_SELECTOR_ALT_PROPORTIONAL_TEXT, (hb_aat_layout_feature_selector_t) 7}, - {HB_TAG ('v','r','t','2'), HB_AAT_LAYOUT_FEATURE_TYPE_VERTICAL_SUBSTITUTION, HB_AAT_LAYOUT_FEATURE_SELECTOR_SUBSTITUTE_VERTICAL_FORMS_ON, HB_AAT_LAYOUT_FEATURE_SELECTOR_SUBSTITUTE_VERTICAL_FORMS_OFF}, - {HB_TAG ('z','e','r','o'), HB_AAT_LAYOUT_FEATURE_TYPE_TYPOGRAPHIC_EXTRAS, HB_AAT_LAYOUT_FEATURE_SELECTOR_SLASHED_ZERO_ON, HB_AAT_LAYOUT_FEATURE_SELECTOR_SLASHED_ZERO_OFF}, -}; - -/** - * hb_aat_layout_find_feature_mapping: - * @tag: The requested #hb_tag_t feature tag - * - * Fetches the AAT feature-and-selector combination that corresponds - * to a given OpenType feature tag. - * - * Return value: the AAT features and selectors corresponding to the - * OpenType feature tag queried - * - **/ -const hb_aat_feature_mapping_t * -hb_aat_layout_find_feature_mapping (hb_tag_t tag) -{ - return hb_sorted_array (feature_mappings).bsearch (tag); -} -#endif - - -#ifndef HB_NO_AAT - -/* - * mort/morx/kerx/trak - */ - - -void -hb_aat_layout_compile_map (const hb_aat_map_builder_t *mapper, - hb_aat_map_t *map) -{ - const AAT::morx& morx = *mapper->face->table.morx; - if (morx.has_data ()) - { - morx.compile_flags (mapper, map); - return; - } - - const AAT::mort& mort = *mapper->face->table.mort; - if (mort.has_data ()) - { - mort.compile_flags (mapper, map); - return; - } -} - - -/** - * hb_aat_layout_has_substitution: - * @face: #hb_face_t to work upon - * - * Tests whether the specified face includes any substitutions in the - * `morx` or `mort` tables. - * - * Note: does not examine the `GSUB` table. - * - * Return value: %true if data found, %false otherwise - * - * Since: 2.3.0 - */ -hb_bool_t -hb_aat_layout_has_substitution (hb_face_t *face) -{ - return face->table.morx->has_data () || - face->table.mort->has_data (); -} - -void -hb_aat_layout_substitute (const hb_ot_shape_plan_t *plan, - hb_font_t *font, - hb_buffer_t *buffer) -{ - hb_blob_t *morx_blob = font->face->table.morx.get_blob (); - const AAT::morx& morx = *morx_blob->as (); - if (morx.has_data ()) - { - AAT::hb_aat_apply_context_t c (plan, font, buffer, morx_blob); - if (!buffer->message (font, "start table morx")) return; - morx.apply (&c); - (void) buffer->message (font, "end table morx"); - return; - } - - hb_blob_t *mort_blob = font->face->table.mort.get_blob (); - const AAT::mort& mort = *mort_blob->as (); - if (mort.has_data ()) - { - AAT::hb_aat_apply_context_t c (plan, font, buffer, mort_blob); - if (!buffer->message (font, "start table mort")) return; - mort.apply (&c); - (void) buffer->message (font, "end table mort"); - return; - } -} - -void -hb_aat_layout_zero_width_deleted_glyphs (hb_buffer_t *buffer) -{ - unsigned int count = buffer->len; - hb_glyph_info_t *info = buffer->info; - hb_glyph_position_t *pos = buffer->pos; - for (unsigned int i = 0; i < count; i++) - if (unlikely (info[i].codepoint == AAT::DELETED_GLYPH)) - pos[i].x_advance = pos[i].y_advance = pos[i].x_offset = pos[i].y_offset = 0; -} - -static bool -is_deleted_glyph (const hb_glyph_info_t *info) -{ - return info->codepoint == AAT::DELETED_GLYPH; -} - -void -hb_aat_layout_remove_deleted_glyphs (hb_buffer_t *buffer) -{ - hb_ot_layout_delete_glyphs_inplace (buffer, is_deleted_glyph); -} - -/** - * hb_aat_layout_has_positioning: - * @face: #hb_face_t to work upon - * - * Tests whether the specified face includes any positioning information - * in the `kerx` table. - * - * Note: does not examine the `GPOS` table. - * - * Return value: %true if data found, %false otherwise - * - * Since: 2.3.0 - */ -hb_bool_t -hb_aat_layout_has_positioning (hb_face_t *face) -{ - return face->table.kerx->has_data (); -} - -void -hb_aat_layout_position (const hb_ot_shape_plan_t *plan, - hb_font_t *font, - hb_buffer_t *buffer) -{ - hb_blob_t *kerx_blob = font->face->table.kerx.get_blob (); - const AAT::kerx& kerx = *kerx_blob->as (); - - AAT::hb_aat_apply_context_t c (plan, font, buffer, kerx_blob); - if (!buffer->message (font, "start table kerx")) return; - c.set_ankr_table (font->face->table.ankr.get ()); - kerx.apply (&c); - (void) buffer->message (font, "end table kerx"); -} - - -/** - * hb_aat_layout_has_tracking: - * @face:: #hb_face_t to work upon - * - * Tests whether the specified face includes any tracking information - * in the `trak` table. - * - * Return value: %true if data found, %false otherwise - * - * Since: 2.3.0 - */ -hb_bool_t -hb_aat_layout_has_tracking (hb_face_t *face) -{ - return face->table.trak->has_data (); -} - -void -hb_aat_layout_track (const hb_ot_shape_plan_t *plan, - hb_font_t *font, - hb_buffer_t *buffer) -{ - const AAT::trak& trak = *font->face->table.trak; - - AAT::hb_aat_apply_context_t c (plan, font, buffer); - trak.apply (&c); -} - -/** - * hb_aat_layout_get_feature_types: - * @face: #hb_face_t to work upon - * @start_offset: offset of the first feature type to retrieve - * @feature_count: (inout) (optional): Input = the maximum number of feature types to return; - * Output = the actual number of feature types returned (may be zero) - * @features: (out caller-allocates) (array length=feature_count): Array of feature types found - * - * Fetches a list of the AAT feature types included in the specified face. - * - * Return value: Number of all available feature types. - * - * Since: 2.2.0 - */ -unsigned int -hb_aat_layout_get_feature_types (hb_face_t *face, - unsigned int start_offset, - unsigned int *feature_count, /* IN/OUT. May be NULL. */ - hb_aat_layout_feature_type_t *features /* OUT. May be NULL. */) -{ - return face->table.feat->get_feature_types (start_offset, feature_count, features); -} - -/** - * hb_aat_layout_feature_type_get_name_id: - * @face: #hb_face_t to work upon - * @feature_type: The #hb_aat_layout_feature_type_t of the requested feature type - * - * Fetches the name identifier of the specified feature type in the face's `name` table. - * - * Return value: Name identifier of the requested feature type - * - * Since: 2.2.0 - */ -hb_ot_name_id_t -hb_aat_layout_feature_type_get_name_id (hb_face_t *face, - hb_aat_layout_feature_type_t feature_type) -{ - return face->table.feat->get_feature_name_id (feature_type); -} - -/** - * hb_aat_layout_feature_type_get_selector_infos: - * @face: #hb_face_t to work upon - * @feature_type: The #hb_aat_layout_feature_type_t of the requested feature type - * @start_offset: offset of the first feature type to retrieve - * @selector_count: (inout) (optional): Input = the maximum number of selectors to return; - * Output = the actual number of selectors returned (may be zero) - * @selectors: (out caller-allocates) (array length=selector_count) (optional): - * A buffer pointer. The selectors available for the feature type queries. - * @default_index: (out) (optional): The index of the feature's default selector, if any - * - * Fetches a list of the selectors available for the specified feature in the given face. - * - * If upon return, @default_index is set to #HB_AAT_LAYOUT_NO_SELECTOR_INDEX, then - * the feature type is non-exclusive. Otherwise, @default_index is the index of - * the selector that is selected by default. - * - * Return value: Number of all available feature selectors - * - * Since: 2.2.0 - */ -unsigned int -hb_aat_layout_feature_type_get_selector_infos (hb_face_t *face, - hb_aat_layout_feature_type_t feature_type, - unsigned int start_offset, - unsigned int *selector_count, /* IN/OUT. May be NULL. */ - hb_aat_layout_feature_selector_info_t *selectors, /* OUT. May be NULL. */ - unsigned int *default_index /* OUT. May be NULL. */) -{ - return face->table.feat->get_selector_infos (feature_type, start_offset, selector_count, selectors, default_index); -} - - -#endif diff --git a/harfbuzz/src/hb-aat-layout.h b/harfbuzz/src/hb-aat-layout.h deleted file mode 100644 index 9af2740..0000000 --- a/harfbuzz/src/hb-aat-layout.h +++ /dev/null @@ -1,795 +0,0 @@ -/* - * Copyright © 2018 Ebrahim Byagowi - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - */ - -#if !defined(HB_AAT_H_IN) && !defined(HB_NO_SINGLE_HEADER_ERROR) -#error "Include instead." -#endif - -#ifndef HB_AAT_LAYOUT_H -#define HB_AAT_LAYOUT_H - -#include "hb.h" - -#include "hb-ot.h" - -HB_BEGIN_DECLS - -/** - * hb_aat_layout_feature_type_t: - * @HB_AAT_LAYOUT_FEATURE_TYPE_INVALID: Initial, unset feature type - * @HB_AAT_LAYOUT_FEATURE_TYPE_ALL_TYPOGRAPHIC: [All Typographic Features](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type0) - * @HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES: [Ligatures](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type1) - * @HB_AAT_LAYOUT_FEATURE_TYPE_CURISVE_CONNECTION: [Cursive Connection](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type2) - * @HB_AAT_LAYOUT_FEATURE_TYPE_LETTER_CASE: [Letter Case](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type3) - * @HB_AAT_LAYOUT_FEATURE_TYPE_VERTICAL_SUBSTITUTION: [Vertical Substitution](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type4) - * @HB_AAT_LAYOUT_FEATURE_TYPE_LINGUISTIC_REARRANGEMENT: [Linguistic Rearrangement](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type5) - * @HB_AAT_LAYOUT_FEATURE_TYPE_NUMBER_SPACING: [Number Spacing](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type6) - * @HB_AAT_LAYOUT_FEATURE_TYPE_SMART_SWASH_TYPE: [Smart Swash](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type8) - * @HB_AAT_LAYOUT_FEATURE_TYPE_DIACRITICS_TYPE: [Diacritics](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type9) - * @HB_AAT_LAYOUT_FEATURE_TYPE_VERTICAL_POSITION: [Vertical Position](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type10) - * @HB_AAT_LAYOUT_FEATURE_TYPE_FRACTIONS: [Fractions](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type11) - * @HB_AAT_LAYOUT_FEATURE_TYPE_OVERLAPPING_CHARACTERS_TYPE: [Overlapping Characters](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type13) - * @HB_AAT_LAYOUT_FEATURE_TYPE_TYPOGRAPHIC_EXTRAS: [Typographic Extras](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type14) - * @HB_AAT_LAYOUT_FEATURE_TYPE_MATHEMATICAL_EXTRAS: [Mathematical Extras](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type15) - * @HB_AAT_LAYOUT_FEATURE_TYPE_ORNAMENT_SETS_TYPE: [Ornament Sets](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type16) - * @HB_AAT_LAYOUT_FEATURE_TYPE_CHARACTER_ALTERNATIVES: [Character Alternatives](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type17) - * @HB_AAT_LAYOUT_FEATURE_TYPE_DESIGN_COMPLEXITY_TYPE: [Design Complexity](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type18) - * @HB_AAT_LAYOUT_FEATURE_TYPE_STYLE_OPTIONS: [Style Options](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type19) - * @HB_AAT_LAYOUT_FEATURE_TYPE_CHARACTER_SHAPE: [Character Shape](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type20) - * @HB_AAT_LAYOUT_FEATURE_TYPE_NUMBER_CASE: [Number Case](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type21) - * @HB_AAT_LAYOUT_FEATURE_TYPE_TEXT_SPACING: [Text Spacing](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type22) - * @HB_AAT_LAYOUT_FEATURE_TYPE_TRANSLITERATION: [Transliteration](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type23) - * @HB_AAT_LAYOUT_FEATURE_TYPE_ANNOTATION_TYPE: [Annotation](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type24) - * @HB_AAT_LAYOUT_FEATURE_TYPE_KANA_SPACING_TYPE: [Kana Spacing](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type25) - * @HB_AAT_LAYOUT_FEATURE_TYPE_IDEOGRAPHIC_SPACING_TYPE: [Ideographic Spacing](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type26) - * @HB_AAT_LAYOUT_FEATURE_TYPE_UNICODE_DECOMPOSITION_TYPE: [Unicode Decomposition](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type27) - * @HB_AAT_LAYOUT_FEATURE_TYPE_RUBY_KANA: [Ruby Kana](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type28) - * @HB_AAT_LAYOUT_FEATURE_TYPE_CJK_SYMBOL_ALTERNATIVES_TYPE: [CJK Symbol Alternatives](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type29) - * @HB_AAT_LAYOUT_FEATURE_TYPE_IDEOGRAPHIC_ALTERNATIVES_TYPE: [Ideographic Alternatives](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type30) - * @HB_AAT_LAYOUT_FEATURE_TYPE_CJK_VERTICAL_ROMAN_PLACEMENT_TYPE: [CJK Vertical Roman Placement](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type31) - * @HB_AAT_LAYOUT_FEATURE_TYPE_ITALIC_CJK_ROMAN: [Italic CJK Roman](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type32) - * @HB_AAT_LAYOUT_FEATURE_TYPE_CASE_SENSITIVE_LAYOUT: [Case Sensitive Layout](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type33) - * @HB_AAT_LAYOUT_FEATURE_TYPE_ALTERNATE_KANA: [Alternate Kana](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type34) - * @HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES: [Stylistic Alternatives](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type35) - * @HB_AAT_LAYOUT_FEATURE_TYPE_CONTEXTUAL_ALTERNATIVES: [Contextual Alternatives](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type36) - * @HB_AAT_LAYOUT_FEATURE_TYPE_LOWER_CASE: [Lower Case](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type37) - * @HB_AAT_LAYOUT_FEATURE_TYPE_UPPER_CASE: [Upper Case](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type38) - * @HB_AAT_LAYOUT_FEATURE_TYPE_LANGUAGE_TAG_TYPE: [Language Tag](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type39) - * @HB_AAT_LAYOUT_FEATURE_TYPE_CJK_ROMAN_SPACING_TYPE: [CJK Roman Spacing](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type103) - * - * The possible feature types defined for AAT shaping, from Apple [Font Feature Registry](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html). - * - * Since: 2.2.0 - */ -typedef enum -{ - HB_AAT_LAYOUT_FEATURE_TYPE_INVALID = 0xFFFF, - - HB_AAT_LAYOUT_FEATURE_TYPE_ALL_TYPOGRAPHIC = 0, - HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES = 1, - HB_AAT_LAYOUT_FEATURE_TYPE_CURISVE_CONNECTION = 2, - HB_AAT_LAYOUT_FEATURE_TYPE_LETTER_CASE = 3, - HB_AAT_LAYOUT_FEATURE_TYPE_VERTICAL_SUBSTITUTION = 4, - HB_AAT_LAYOUT_FEATURE_TYPE_LINGUISTIC_REARRANGEMENT = 5, - HB_AAT_LAYOUT_FEATURE_TYPE_NUMBER_SPACING = 6, - HB_AAT_LAYOUT_FEATURE_TYPE_SMART_SWASH_TYPE = 8, - HB_AAT_LAYOUT_FEATURE_TYPE_DIACRITICS_TYPE = 9, - HB_AAT_LAYOUT_FEATURE_TYPE_VERTICAL_POSITION = 10, - HB_AAT_LAYOUT_FEATURE_TYPE_FRACTIONS = 11, - HB_AAT_LAYOUT_FEATURE_TYPE_OVERLAPPING_CHARACTERS_TYPE = 13, - HB_AAT_LAYOUT_FEATURE_TYPE_TYPOGRAPHIC_EXTRAS = 14, - HB_AAT_LAYOUT_FEATURE_TYPE_MATHEMATICAL_EXTRAS = 15, - HB_AAT_LAYOUT_FEATURE_TYPE_ORNAMENT_SETS_TYPE = 16, - HB_AAT_LAYOUT_FEATURE_TYPE_CHARACTER_ALTERNATIVES = 17, - HB_AAT_LAYOUT_FEATURE_TYPE_DESIGN_COMPLEXITY_TYPE = 18, - HB_AAT_LAYOUT_FEATURE_TYPE_STYLE_OPTIONS = 19, - HB_AAT_LAYOUT_FEATURE_TYPE_CHARACTER_SHAPE = 20, - HB_AAT_LAYOUT_FEATURE_TYPE_NUMBER_CASE = 21, - HB_AAT_LAYOUT_FEATURE_TYPE_TEXT_SPACING = 22, - HB_AAT_LAYOUT_FEATURE_TYPE_TRANSLITERATION = 23, - HB_AAT_LAYOUT_FEATURE_TYPE_ANNOTATION_TYPE = 24, - HB_AAT_LAYOUT_FEATURE_TYPE_KANA_SPACING_TYPE = 25, - HB_AAT_LAYOUT_FEATURE_TYPE_IDEOGRAPHIC_SPACING_TYPE = 26, - HB_AAT_LAYOUT_FEATURE_TYPE_UNICODE_DECOMPOSITION_TYPE = 27, - HB_AAT_LAYOUT_FEATURE_TYPE_RUBY_KANA = 28, - HB_AAT_LAYOUT_FEATURE_TYPE_CJK_SYMBOL_ALTERNATIVES_TYPE = 29, - HB_AAT_LAYOUT_FEATURE_TYPE_IDEOGRAPHIC_ALTERNATIVES_TYPE = 30, - HB_AAT_LAYOUT_FEATURE_TYPE_CJK_VERTICAL_ROMAN_PLACEMENT_TYPE = 31, - HB_AAT_LAYOUT_FEATURE_TYPE_ITALIC_CJK_ROMAN = 32, - HB_AAT_LAYOUT_FEATURE_TYPE_CASE_SENSITIVE_LAYOUT = 33, - HB_AAT_LAYOUT_FEATURE_TYPE_ALTERNATE_KANA = 34, - HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES = 35, - HB_AAT_LAYOUT_FEATURE_TYPE_CONTEXTUAL_ALTERNATIVES = 36, - HB_AAT_LAYOUT_FEATURE_TYPE_LOWER_CASE = 37, - HB_AAT_LAYOUT_FEATURE_TYPE_UPPER_CASE = 38, - HB_AAT_LAYOUT_FEATURE_TYPE_LANGUAGE_TAG_TYPE = 39, - HB_AAT_LAYOUT_FEATURE_TYPE_CJK_ROMAN_SPACING_TYPE = 103, - - /*< private >*/ - _HB_AAT_LAYOUT_FEATURE_TYPE_MAX_VALUE = HB_TAG_MAX_SIGNED /*< skip >*/ -} hb_aat_layout_feature_type_t; - -/** - * hb_aat_layout_feature_selector_t: - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_INVALID: Initial, unset feature selector - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_ALL_TYPE_FEATURES_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_ALL_TYPOGRAPHIC - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_ALL_TYPE_FEATURES_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_ALL_TYPOGRAPHIC - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_REQUIRED_LIGATURES_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_REQUIRED_LIGATURES_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_COMMON_LIGATURES_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_COMMON_LIGATURES_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_RARE_LIGATURES_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_RARE_LIGATURES_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_LOGOS_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_LOGOS_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_REBUS_PICTURES_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_REBUS_PICTURES_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_DIPHTHONG_LIGATURES_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_DIPHTHONG_LIGATURES_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_SQUARED_LIGATURES_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_SQUARED_LIGATURES_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_ABBREV_SQUARED_LIGATURES_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_ABBREV_SQUARED_LIGATURES_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_SYMBOL_LIGATURES_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_SYMBOL_LIGATURES_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_CONTEXTUAL_LIGATURES_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_CONTEXTUAL_LIGATURES_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_HISTORICAL_LIGATURES_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_HISTORICAL_LIGATURES_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_UNCONNECTED: for #HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_PARTIALLY_CONNECTED: for #HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_CURSIVE: for #HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_UPPER_AND_LOWER_CASE: Deprecated - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_ALL_CAPS: Deprecated - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_ALL_LOWER_CASE: Deprecated - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_SMALL_CAPS: Deprecated - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_INITIAL_CAPS: Deprecated - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_INITIAL_CAPS_AND_SMALL_CAPS: Deprecated - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_SUBSTITUTE_VERTICAL_FORMS_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_VERTICAL_SUBSTITUTION - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_SUBSTITUTE_VERTICAL_FORMS_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_VERTICAL_SUBSTITUTION - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_LINGUISTIC_REARRANGEMENT_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_LINGUISTIC_REARRANGEMENT - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_LINGUISTIC_REARRANGEMENT_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_LINGUISTIC_REARRANGEMENT - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_MONOSPACED_NUMBERS: for #HB_AAT_LAYOUT_FEATURE_TYPE_NUMBER_SPACING - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_PROPORTIONAL_NUMBERS: for #HB_AAT_LAYOUT_FEATURE_TYPE_NUMBER_SPACING - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_THIRD_WIDTH_NUMBERS: for #HB_AAT_LAYOUT_FEATURE_TYPE_NUMBER_SPACING - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_QUARTER_WIDTH_NUMBERS: for #HB_AAT_LAYOUT_FEATURE_TYPE_NUMBER_SPACING - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_WORD_INITIAL_SWASHES_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_SMART_SWASH_TYPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_WORD_INITIAL_SWASHES_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_SMART_SWASH_TYPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_WORD_FINAL_SWASHES_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_SMART_SWASH_TYPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_WORD_FINAL_SWASHES_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_SMART_SWASH_TYPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_LINE_INITIAL_SWASHES_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_SMART_SWASH_TYPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_LINE_INITIAL_SWASHES_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_SMART_SWASH_TYPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_LINE_FINAL_SWASHES_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_SMART_SWASH_TYPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_LINE_FINAL_SWASHES_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_SMART_SWASH_TYPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_NON_FINAL_SWASHES_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_SMART_SWASH_TYPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_NON_FINAL_SWASHES_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_SMART_SWASH_TYPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_SHOW_DIACRITICS: for #HB_AAT_LAYOUT_FEATURE_TYPE_DIACRITICS_TYPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_HIDE_DIACRITICS: for #HB_AAT_LAYOUT_FEATURE_TYPE_DIACRITICS_TYPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_DECOMPOSE_DIACRITICS: for #HB_AAT_LAYOUT_FEATURE_TYPE_DIACRITICS_TYPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_NORMAL_POSITION: for #HB_AAT_LAYOUT_FEATURE_TYPE_VERTICAL_POSITION - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_SUPERIORS: for #HB_AAT_LAYOUT_FEATURE_TYPE_VERTICAL_POSITION - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_INFERIORS: for #HB_AAT_LAYOUT_FEATURE_TYPE_VERTICAL_POSITION - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_ORDINALS: for #HB_AAT_LAYOUT_FEATURE_TYPE_VERTICAL_POSITION - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_SCIENTIFIC_INFERIORS: for #HB_AAT_LAYOUT_FEATURE_TYPE_VERTICAL_POSITION - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_NO_FRACTIONS: for #HB_AAT_LAYOUT_FEATURE_TYPE_FRACTIONS - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_VERTICAL_FRACTIONS: for #HB_AAT_LAYOUT_FEATURE_TYPE_FRACTIONS - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_DIAGONAL_FRACTIONS: for #HB_AAT_LAYOUT_FEATURE_TYPE_FRACTIONS - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_PREVENT_OVERLAP_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_OVERLAPPING_CHARACTERS_TYPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_PREVENT_OVERLAP_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_OVERLAPPING_CHARACTERS_TYPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_HYPHENS_TO_EM_DASH_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_TYPOGRAPHIC_EXTRAS - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_HYPHENS_TO_EM_DASH_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_TYPOGRAPHIC_EXTRAS - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_HYPHEN_TO_EN_DASH_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_TYPOGRAPHIC_EXTRAS - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_HYPHEN_TO_EN_DASH_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_TYPOGRAPHIC_EXTRAS - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_SLASHED_ZERO_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_TYPOGRAPHIC_EXTRAS - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_SLASHED_ZERO_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_TYPOGRAPHIC_EXTRAS - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_FORM_INTERROBANG_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_TYPOGRAPHIC_EXTRAS - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_FORM_INTERROBANG_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_TYPOGRAPHIC_EXTRAS - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_SMART_QUOTES_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_TYPOGRAPHIC_EXTRAS - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_SMART_QUOTES_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_TYPOGRAPHIC_EXTRAS - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_PERIODS_TO_ELLIPSIS_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_TYPOGRAPHIC_EXTRAS - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_PERIODS_TO_ELLIPSIS_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_TYPOGRAPHIC_EXTRAS - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_HYPHEN_TO_MINUS_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_MATHEMATICAL_EXTRAS - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_HYPHEN_TO_MINUS_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_MATHEMATICAL_EXTRAS - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_ASTERISK_TO_MULTIPLY_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_MATHEMATICAL_EXTRAS - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_ASTERISK_TO_MULTIPLY_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_MATHEMATICAL_EXTRAS - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_SLASH_TO_DIVIDE_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_MATHEMATICAL_EXTRAS - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_SLASH_TO_DIVIDE_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_MATHEMATICAL_EXTRAS - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_INEQUALITY_LIGATURES_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_MATHEMATICAL_EXTRAS - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_INEQUALITY_LIGATURES_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_MATHEMATICAL_EXTRAS - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_EXPONENTS_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_MATHEMATICAL_EXTRAS - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_EXPONENTS_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_MATHEMATICAL_EXTRAS - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_MATHEMATICAL_GREEK_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_MATHEMATICAL_EXTRAS - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_MATHEMATICAL_GREEK_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_MATHEMATICAL_EXTRAS - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_NO_ORNAMENTS: for #HB_AAT_LAYOUT_FEATURE_TYPE_ORNAMENT_SETS_TYPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_DINGBATS: for #HB_AAT_LAYOUT_FEATURE_TYPE_ORNAMENT_SETS_TYPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_PI_CHARACTERS: for #HB_AAT_LAYOUT_FEATURE_TYPE_ORNAMENT_SETS_TYPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_FLEURONS: for #HB_AAT_LAYOUT_FEATURE_TYPE_ORNAMENT_SETS_TYPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_DECORATIVE_BORDERS: for #HB_AAT_LAYOUT_FEATURE_TYPE_ORNAMENT_SETS_TYPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_INTERNATIONAL_SYMBOLS: for #HB_AAT_LAYOUT_FEATURE_TYPE_ORNAMENT_SETS_TYPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_MATH_SYMBOLS: for #HB_AAT_LAYOUT_FEATURE_TYPE_ORNAMENT_SETS_TYPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_NO_ALTERNATES: for #HB_AAT_LAYOUT_FEATURE_TYPE_CHARACTER_ALTERNATIVES - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_DESIGN_LEVEL1: for #HB_AAT_LAYOUT_FEATURE_TYPE_DESIGN_COMPLEXITY_TYPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_DESIGN_LEVEL2: for #HB_AAT_LAYOUT_FEATURE_TYPE_DESIGN_COMPLEXITY_TYPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_DESIGN_LEVEL3: for #HB_AAT_LAYOUT_FEATURE_TYPE_DESIGN_COMPLEXITY_TYPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_DESIGN_LEVEL4: for #HB_AAT_LAYOUT_FEATURE_TYPE_DESIGN_COMPLEXITY_TYPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_DESIGN_LEVEL5: for #HB_AAT_LAYOUT_FEATURE_TYPE_DESIGN_COMPLEXITY_TYPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_NO_STYLE_OPTIONS: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLE_OPTIONS - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_DISPLAY_TEXT: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLE_OPTIONS - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_ENGRAVED_TEXT: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLE_OPTIONS - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_ILLUMINATED_CAPS: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLE_OPTIONS - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_TITLING_CAPS: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLE_OPTIONS - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_TALL_CAPS: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLE_OPTIONS - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_TRADITIONAL_CHARACTERS: for #HB_AAT_LAYOUT_FEATURE_TYPE_CHARACTER_SHAPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_SIMPLIFIED_CHARACTERS: for #HB_AAT_LAYOUT_FEATURE_TYPE_CHARACTER_SHAPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_JIS1978_CHARACTERS: for #HB_AAT_LAYOUT_FEATURE_TYPE_CHARACTER_SHAPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_JIS1983_CHARACTERS: for #HB_AAT_LAYOUT_FEATURE_TYPE_CHARACTER_SHAPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_JIS1990_CHARACTERS: for #HB_AAT_LAYOUT_FEATURE_TYPE_CHARACTER_SHAPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_TRADITIONAL_ALT_ONE: for #HB_AAT_LAYOUT_FEATURE_TYPE_CHARACTER_SHAPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_TRADITIONAL_ALT_TWO: for #HB_AAT_LAYOUT_FEATURE_TYPE_CHARACTER_SHAPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_TRADITIONAL_ALT_THREE: for #HB_AAT_LAYOUT_FEATURE_TYPE_CHARACTER_SHAPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_TRADITIONAL_ALT_FOUR: for #HB_AAT_LAYOUT_FEATURE_TYPE_CHARACTER_SHAPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_TRADITIONAL_ALT_FIVE: for #HB_AAT_LAYOUT_FEATURE_TYPE_CHARACTER_SHAPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_EXPERT_CHARACTERS: for #HB_AAT_LAYOUT_FEATURE_TYPE_CHARACTER_SHAPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_JIS2004_CHARACTERS: for #HB_AAT_LAYOUT_FEATURE_TYPE_CHARACTER_SHAPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_HOJO_CHARACTERS: for #HB_AAT_LAYOUT_FEATURE_TYPE_CHARACTER_SHAPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_NLCCHARACTERS: for #HB_AAT_LAYOUT_FEATURE_TYPE_CHARACTER_SHAPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_TRADITIONAL_NAMES_CHARACTERS: for #HB_AAT_LAYOUT_FEATURE_TYPE_CHARACTER_SHAPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_LOWER_CASE_NUMBERS: for #HB_AAT_LAYOUT_FEATURE_TYPE_NUMBER_CASE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_UPPER_CASE_NUMBERS: for #HB_AAT_LAYOUT_FEATURE_TYPE_NUMBER_CASE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_PROPORTIONAL_TEXT: for #HB_AAT_LAYOUT_FEATURE_TYPE_TEXT_SPACING - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_MONOSPACED_TEXT: for #HB_AAT_LAYOUT_FEATURE_TYPE_TEXT_SPACING - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_HALF_WIDTH_TEXT: for #HB_AAT_LAYOUT_FEATURE_TYPE_TEXT_SPACING - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_THIRD_WIDTH_TEXT: for #HB_AAT_LAYOUT_FEATURE_TYPE_TEXT_SPACING - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_QUARTER_WIDTH_TEXT: for #HB_AAT_LAYOUT_FEATURE_TYPE_TEXT_SPACING - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_ALT_PROPORTIONAL_TEXT: for #HB_AAT_LAYOUT_FEATURE_TYPE_TEXT_SPACING - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_ALT_HALF_WIDTH_TEXT: for #HB_AAT_LAYOUT_FEATURE_TYPE_TEXT_SPACING - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_NO_TRANSLITERATION: for #HB_AAT_LAYOUT_FEATURE_TYPE_TRANSLITERATION - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_HANJA_TO_HANGUL: for #HB_AAT_LAYOUT_FEATURE_TYPE_TRANSLITERATION - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_HIRAGANA_TO_KATAKANA: for #HB_AAT_LAYOUT_FEATURE_TYPE_TRANSLITERATION - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_KATAKANA_TO_HIRAGANA: for #HB_AAT_LAYOUT_FEATURE_TYPE_TRANSLITERATION - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_KANA_TO_ROMANIZATION: for #HB_AAT_LAYOUT_FEATURE_TYPE_TRANSLITERATION - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_ROMANIZATION_TO_HIRAGANA: for #HB_AAT_LAYOUT_FEATURE_TYPE_TRANSLITERATION - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_ROMANIZATION_TO_KATAKANA: for #HB_AAT_LAYOUT_FEATURE_TYPE_TRANSLITERATION - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_HANJA_TO_HANGUL_ALT_ONE: for #HB_AAT_LAYOUT_FEATURE_TYPE_TRANSLITERATION - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_HANJA_TO_HANGUL_ALT_TWO: for #HB_AAT_LAYOUT_FEATURE_TYPE_TRANSLITERATION - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_HANJA_TO_HANGUL_ALT_THREE: for #HB_AAT_LAYOUT_FEATURE_TYPE_TRANSLITERATION - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_NO_ANNOTATION: for #HB_AAT_LAYOUT_FEATURE_TYPE_ANNOTATION_TYPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_BOX_ANNOTATION: for #HB_AAT_LAYOUT_FEATURE_TYPE_ANNOTATION_TYPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_ROUNDED_BOX_ANNOTATION: for #HB_AAT_LAYOUT_FEATURE_TYPE_ANNOTATION_TYPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_CIRCLE_ANNOTATION: for #HB_AAT_LAYOUT_FEATURE_TYPE_ANNOTATION_TYPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_INVERTED_CIRCLE_ANNOTATION: for #HB_AAT_LAYOUT_FEATURE_TYPE_ANNOTATION_TYPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_PARENTHESIS_ANNOTATION: for #HB_AAT_LAYOUT_FEATURE_TYPE_ANNOTATION_TYPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_PERIOD_ANNOTATION: for #HB_AAT_LAYOUT_FEATURE_TYPE_ANNOTATION_TYPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_ROMAN_NUMERAL_ANNOTATION: for #HB_AAT_LAYOUT_FEATURE_TYPE_ANNOTATION_TYPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_DIAMOND_ANNOTATION: for #HB_AAT_LAYOUT_FEATURE_TYPE_ANNOTATION_TYPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_INVERTED_BOX_ANNOTATION: for #HB_AAT_LAYOUT_FEATURE_TYPE_ANNOTATION_TYPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_INVERTED_ROUNDED_BOX_ANNOTATION: for #HB_AAT_LAYOUT_FEATURE_TYPE_ANNOTATION_TYPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_FULL_WIDTH_KANA: for #HB_AAT_LAYOUT_FEATURE_TYPE_KANA_SPACING_TYPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_PROPORTIONAL_KANA: for #HB_AAT_LAYOUT_FEATURE_TYPE_KANA_SPACING_TYPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_FULL_WIDTH_IDEOGRAPHS: for #HB_AAT_LAYOUT_FEATURE_TYPE_IDEOGRAPHIC_SPACING_TYPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_PROPORTIONAL_IDEOGRAPHS: for #HB_AAT_LAYOUT_FEATURE_TYPE_IDEOGRAPHIC_SPACING_TYPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_HALF_WIDTH_IDEOGRAPHS: for #HB_AAT_LAYOUT_FEATURE_TYPE_IDEOGRAPHIC_SPACING_TYPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_CANONICAL_COMPOSITION_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_UNICODE_DECOMPOSITION_TYPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_CANONICAL_COMPOSITION_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_UNICODE_DECOMPOSITION_TYPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_COMPATIBILITY_COMPOSITION_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_UNICODE_DECOMPOSITION_TYPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_COMPATIBILITY_COMPOSITION_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_UNICODE_DECOMPOSITION_TYPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_TRANSCODING_COMPOSITION_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_UNICODE_DECOMPOSITION_TYPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_TRANSCODING_COMPOSITION_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_UNICODE_DECOMPOSITION_TYPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_NO_RUBY_KANA: Deprecated; use #HB_AAT_LAYOUT_FEATURE_SELECTOR_RUBY_KANA_OFF instead - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_RUBY_KANA: Deprecated; use #HB_AAT_LAYOUT_FEATURE_SELECTOR_RUBY_KANA_ON instead - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_RUBY_KANA_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_RUBY_KANA - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_RUBY_KANA_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_RUBY_KANA - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_NO_CJK_SYMBOL_ALTERNATIVES: for #HB_AAT_LAYOUT_FEATURE_TYPE_CJK_SYMBOL_ALTERNATIVES_TYPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_CJK_SYMBOL_ALT_ONE: for #HB_AAT_LAYOUT_FEATURE_TYPE_CJK_SYMBOL_ALTERNATIVES_TYPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_CJK_SYMBOL_ALT_TWO: for #HB_AAT_LAYOUT_FEATURE_TYPE_CJK_SYMBOL_ALTERNATIVES_TYPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_CJK_SYMBOL_ALT_THREE: for #HB_AAT_LAYOUT_FEATURE_TYPE_CJK_SYMBOL_ALTERNATIVES_TYPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_CJK_SYMBOL_ALT_FOUR: for #HB_AAT_LAYOUT_FEATURE_TYPE_CJK_SYMBOL_ALTERNATIVES_TYPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_CJK_SYMBOL_ALT_FIVE: for #HB_AAT_LAYOUT_FEATURE_TYPE_CJK_SYMBOL_ALTERNATIVES_TYPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_NO_IDEOGRAPHIC_ALTERNATIVES: for #HB_AAT_LAYOUT_FEATURE_TYPE_IDEOGRAPHIC_ALTERNATIVES_TYPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_IDEOGRAPHIC_ALT_ONE: for #HB_AAT_LAYOUT_FEATURE_TYPE_IDEOGRAPHIC_ALTERNATIVES_TYPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_IDEOGRAPHIC_ALT_TWO: for #HB_AAT_LAYOUT_FEATURE_TYPE_IDEOGRAPHIC_ALTERNATIVES_TYPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_IDEOGRAPHIC_ALT_THREE: for #HB_AAT_LAYOUT_FEATURE_TYPE_IDEOGRAPHIC_ALTERNATIVES_TYPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_IDEOGRAPHIC_ALT_FOUR: for #HB_AAT_LAYOUT_FEATURE_TYPE_IDEOGRAPHIC_ALTERNATIVES_TYPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_IDEOGRAPHIC_ALT_FIVE: for #HB_AAT_LAYOUT_FEATURE_TYPE_IDEOGRAPHIC_ALTERNATIVES_TYPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_CJK_VERTICAL_ROMAN_CENTERED: for #HB_AAT_LAYOUT_FEATURE_TYPE_CJK_VERTICAL_ROMAN_PLACEMENT_TYPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_CJK_VERTICAL_ROMAN_HBASELINE: for #HB_AAT_LAYOUT_FEATURE_TYPE_CJK_VERTICAL_ROMAN_PLACEMENT_TYPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_NO_CJK_ITALIC_ROMAN: Deprecated; use #HB_AAT_LAYOUT_FEATURE_SELECTOR_CJK_ITALIC_ROMAN_OFF instead - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_CJK_ITALIC_ROMAN: Deprecated; use #HB_AAT_LAYOUT_FEATURE_SELECTOR_CJK_ITALIC_ROMAN_ON instead - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_CJK_ITALIC_ROMAN_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_ITALIC_CJK_ROMAN - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_CJK_ITALIC_ROMAN_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_ITALIC_CJK_ROMAN - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_CASE_SENSITIVE_LAYOUT_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_CASE_SENSITIVE_LAYOUT - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_CASE_SENSITIVE_LAYOUT_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_CASE_SENSITIVE_LAYOUT - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_CASE_SENSITIVE_SPACING_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_CASE_SENSITIVE_LAYOUT - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_CASE_SENSITIVE_SPACING_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_CASE_SENSITIVE_LAYOUT - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_ALTERNATE_HORIZ_KANA_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_ALTERNATE_KANA - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_ALTERNATE_HORIZ_KANA_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_ALTERNATE_KANA - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_ALTERNATE_VERT_KANA_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_ALTERNATE_KANA - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_ALTERNATE_VERT_KANA_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_ALTERNATE_KANA - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_NO_STYLISTIC_ALTERNATES: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_ONE_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_ONE_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_TWO_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_TWO_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_THREE_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_THREE_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_FOUR_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_FOUR_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_FIVE_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_FIVE_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_SIX_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_SIX_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_SEVEN_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_SEVEN_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_EIGHT_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_EIGHT_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_NINE_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_NINE_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_TEN_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_TEN_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_ELEVEN_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_ELEVEN_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_TWELVE_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_TWELVE_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_THIRTEEN_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_THIRTEEN_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_FOURTEEN_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_FOURTEEN_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_FIFTEEN_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_FIFTEEN_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_SIXTEEN_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_SIXTEEN_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_SEVENTEEN_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_SEVENTEEN_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_EIGHTEEN_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_EIGHTEEN_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_NINETEEN_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_NINETEEN_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_TWENTY_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_TWENTY_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_CONTEXTUAL_ALTERNATES_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_CONTEXTUAL_ALTERNATIVES - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_CONTEXTUAL_ALTERNATES_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_CONTEXTUAL_ALTERNATIVES - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_SWASH_ALTERNATES_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_CONTEXTUAL_ALTERNATIVES - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_SWASH_ALTERNATES_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_CONTEXTUAL_ALTERNATIVES - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_CONTEXTUAL_SWASH_ALTERNATES_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_CONTEXTUAL_ALTERNATIVES - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_CONTEXTUAL_SWASH_ALTERNATES_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_CONTEXTUAL_ALTERNATIVES - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_DEFAULT_LOWER_CASE: for #HB_AAT_LAYOUT_FEATURE_TYPE_LOWER_CASE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_LOWER_CASE_SMALL_CAPS: for #HB_AAT_LAYOUT_FEATURE_TYPE_LOWER_CASE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_LOWER_CASE_PETITE_CAPS: for #HB_AAT_LAYOUT_FEATURE_TYPE_LOWER_CASE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_DEFAULT_UPPER_CASE: for #HB_AAT_LAYOUT_FEATURE_TYPE_UPPER_CASE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_UPPER_CASE_SMALL_CAPS: for #HB_AAT_LAYOUT_FEATURE_TYPE_UPPER_CASE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_UPPER_CASE_PETITE_CAPS: for #HB_AAT_LAYOUT_FEATURE_TYPE_UPPER_CASE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_HALF_WIDTH_CJK_ROMAN: for #HB_AAT_LAYOUT_FEATURE_TYPE_CJK_ROMAN_SPACING_TYPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_PROPORTIONAL_CJK_ROMAN: for #HB_AAT_LAYOUT_FEATURE_TYPE_CJK_ROMAN_SPACING_TYPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_DEFAULT_CJK_ROMAN: for #HB_AAT_LAYOUT_FEATURE_TYPE_CJK_ROMAN_SPACING_TYPE - * @HB_AAT_LAYOUT_FEATURE_SELECTOR_FULL_WIDTH_CJK_ROMAN: for #HB_AAT_LAYOUT_FEATURE_TYPE_CJK_ROMAN_SPACING_TYPE - * - * The selectors defined for specifying AAT feature settings. - * - * Since: 2.2.0 - */ -typedef enum -{ - HB_AAT_LAYOUT_FEATURE_SELECTOR_INVALID = 0xFFFF, - - /* Selectors for #HB_AAT_LAYOUT_FEATURE_TYPE_ALL_TYPOGRAPHIC */ - HB_AAT_LAYOUT_FEATURE_SELECTOR_ALL_TYPE_FEATURES_ON = 0, - HB_AAT_LAYOUT_FEATURE_SELECTOR_ALL_TYPE_FEATURES_OFF = 1, - - /* Selectors for #HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES */ - HB_AAT_LAYOUT_FEATURE_SELECTOR_REQUIRED_LIGATURES_ON = 0, - HB_AAT_LAYOUT_FEATURE_SELECTOR_REQUIRED_LIGATURES_OFF = 1, - HB_AAT_LAYOUT_FEATURE_SELECTOR_COMMON_LIGATURES_ON = 2, - HB_AAT_LAYOUT_FEATURE_SELECTOR_COMMON_LIGATURES_OFF = 3, - HB_AAT_LAYOUT_FEATURE_SELECTOR_RARE_LIGATURES_ON = 4, - HB_AAT_LAYOUT_FEATURE_SELECTOR_RARE_LIGATURES_OFF = 5, - HB_AAT_LAYOUT_FEATURE_SELECTOR_LOGOS_ON = 6, - HB_AAT_LAYOUT_FEATURE_SELECTOR_LOGOS_OFF = 7, - HB_AAT_LAYOUT_FEATURE_SELECTOR_REBUS_PICTURES_ON = 8, - HB_AAT_LAYOUT_FEATURE_SELECTOR_REBUS_PICTURES_OFF = 9, - HB_AAT_LAYOUT_FEATURE_SELECTOR_DIPHTHONG_LIGATURES_ON = 10, - HB_AAT_LAYOUT_FEATURE_SELECTOR_DIPHTHONG_LIGATURES_OFF = 11, - HB_AAT_LAYOUT_FEATURE_SELECTOR_SQUARED_LIGATURES_ON = 12, - HB_AAT_LAYOUT_FEATURE_SELECTOR_SQUARED_LIGATURES_OFF = 13, - HB_AAT_LAYOUT_FEATURE_SELECTOR_ABBREV_SQUARED_LIGATURES_ON = 14, - HB_AAT_LAYOUT_FEATURE_SELECTOR_ABBREV_SQUARED_LIGATURES_OFF = 15, - HB_AAT_LAYOUT_FEATURE_SELECTOR_SYMBOL_LIGATURES_ON = 16, - HB_AAT_LAYOUT_FEATURE_SELECTOR_SYMBOL_LIGATURES_OFF = 17, - HB_AAT_LAYOUT_FEATURE_SELECTOR_CONTEXTUAL_LIGATURES_ON = 18, - HB_AAT_LAYOUT_FEATURE_SELECTOR_CONTEXTUAL_LIGATURES_OFF = 19, - HB_AAT_LAYOUT_FEATURE_SELECTOR_HISTORICAL_LIGATURES_ON = 20, - HB_AAT_LAYOUT_FEATURE_SELECTOR_HISTORICAL_LIGATURES_OFF = 21, - - /* Selectors for #HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES */ - HB_AAT_LAYOUT_FEATURE_SELECTOR_UNCONNECTED = 0, - HB_AAT_LAYOUT_FEATURE_SELECTOR_PARTIALLY_CONNECTED = 1, - HB_AAT_LAYOUT_FEATURE_SELECTOR_CURSIVE = 2, - - /* Selectors for #HB_AAT_LAYOUT_FEATURE_TYPE_LETTER_CASE */ - HB_AAT_LAYOUT_FEATURE_SELECTOR_UPPER_AND_LOWER_CASE = 0, /* deprecated */ - HB_AAT_LAYOUT_FEATURE_SELECTOR_ALL_CAPS = 1, /* deprecated */ - HB_AAT_LAYOUT_FEATURE_SELECTOR_ALL_LOWER_CASE = 2, /* deprecated */ - HB_AAT_LAYOUT_FEATURE_SELECTOR_SMALL_CAPS = 3, /* deprecated */ - HB_AAT_LAYOUT_FEATURE_SELECTOR_INITIAL_CAPS = 4, /* deprecated */ - HB_AAT_LAYOUT_FEATURE_SELECTOR_INITIAL_CAPS_AND_SMALL_CAPS = 5, /* deprecated */ - - /* Selectors for #HB_AAT_LAYOUT_FEATURE_TYPE_VERTICAL_SUBSTITUTION */ - HB_AAT_LAYOUT_FEATURE_SELECTOR_SUBSTITUTE_VERTICAL_FORMS_ON = 0, - HB_AAT_LAYOUT_FEATURE_SELECTOR_SUBSTITUTE_VERTICAL_FORMS_OFF = 1, - - /* Selectors for #HB_AAT_LAYOUT_FEATURE_TYPE_LINGUISTIC_REARRANGEMENT */ - HB_AAT_LAYOUT_FEATURE_SELECTOR_LINGUISTIC_REARRANGEMENT_ON = 0, - HB_AAT_LAYOUT_FEATURE_SELECTOR_LINGUISTIC_REARRANGEMENT_OFF = 1, - - /* Selectors for #HB_AAT_LAYOUT_FEATURE_TYPE_NUMBER_SPACING */ - HB_AAT_LAYOUT_FEATURE_SELECTOR_MONOSPACED_NUMBERS = 0, - HB_AAT_LAYOUT_FEATURE_SELECTOR_PROPORTIONAL_NUMBERS = 1, - HB_AAT_LAYOUT_FEATURE_SELECTOR_THIRD_WIDTH_NUMBERS = 2, - HB_AAT_LAYOUT_FEATURE_SELECTOR_QUARTER_WIDTH_NUMBERS = 3, - - /* Selectors for #HB_AAT_LAYOUT_FEATURE_TYPE_SMART_SWASH_TYPE */ - HB_AAT_LAYOUT_FEATURE_SELECTOR_WORD_INITIAL_SWASHES_ON = 0, - HB_AAT_LAYOUT_FEATURE_SELECTOR_WORD_INITIAL_SWASHES_OFF = 1, - HB_AAT_LAYOUT_FEATURE_SELECTOR_WORD_FINAL_SWASHES_ON = 2, - HB_AAT_LAYOUT_FEATURE_SELECTOR_WORD_FINAL_SWASHES_OFF = 3, - HB_AAT_LAYOUT_FEATURE_SELECTOR_LINE_INITIAL_SWASHES_ON = 4, - HB_AAT_LAYOUT_FEATURE_SELECTOR_LINE_INITIAL_SWASHES_OFF = 5, - HB_AAT_LAYOUT_FEATURE_SELECTOR_LINE_FINAL_SWASHES_ON = 6, - HB_AAT_LAYOUT_FEATURE_SELECTOR_LINE_FINAL_SWASHES_OFF = 7, - HB_AAT_LAYOUT_FEATURE_SELECTOR_NON_FINAL_SWASHES_ON = 8, - HB_AAT_LAYOUT_FEATURE_SELECTOR_NON_FINAL_SWASHES_OFF = 9, - - /* Selectors for #HB_AAT_LAYOUT_FEATURE_TYPE_DIACRITICS_TYPE */ - HB_AAT_LAYOUT_FEATURE_SELECTOR_SHOW_DIACRITICS = 0, - HB_AAT_LAYOUT_FEATURE_SELECTOR_HIDE_DIACRITICS = 1, - HB_AAT_LAYOUT_FEATURE_SELECTOR_DECOMPOSE_DIACRITICS = 2, - - /* Selectors for #HB_AAT_LAYOUT_FEATURE_TYPE_VERTICAL_POSITION */ - HB_AAT_LAYOUT_FEATURE_SELECTOR_NORMAL_POSITION = 0, - HB_AAT_LAYOUT_FEATURE_SELECTOR_SUPERIORS = 1, - HB_AAT_LAYOUT_FEATURE_SELECTOR_INFERIORS = 2, - HB_AAT_LAYOUT_FEATURE_SELECTOR_ORDINALS = 3, - HB_AAT_LAYOUT_FEATURE_SELECTOR_SCIENTIFIC_INFERIORS = 4, - - /* Selectors for #HB_AAT_LAYOUT_FEATURE_TYPE_FRACTIONS */ - HB_AAT_LAYOUT_FEATURE_SELECTOR_NO_FRACTIONS = 0, - HB_AAT_LAYOUT_FEATURE_SELECTOR_VERTICAL_FRACTIONS = 1, - HB_AAT_LAYOUT_FEATURE_SELECTOR_DIAGONAL_FRACTIONS = 2, - - /* Selectors for #HB_AAT_LAYOUT_FEATURE_TYPE_OVERLAPPING_CHARACTERS_TYPE */ - HB_AAT_LAYOUT_FEATURE_SELECTOR_PREVENT_OVERLAP_ON = 0, - HB_AAT_LAYOUT_FEATURE_SELECTOR_PREVENT_OVERLAP_OFF = 1, - - /* Selectors for #HB_AAT_LAYOUT_FEATURE_TYPE_TYPOGRAPHIC_EXTRAS */ - HB_AAT_LAYOUT_FEATURE_SELECTOR_HYPHENS_TO_EM_DASH_ON = 0, - HB_AAT_LAYOUT_FEATURE_SELECTOR_HYPHENS_TO_EM_DASH_OFF = 1, - HB_AAT_LAYOUT_FEATURE_SELECTOR_HYPHEN_TO_EN_DASH_ON = 2, - HB_AAT_LAYOUT_FEATURE_SELECTOR_HYPHEN_TO_EN_DASH_OFF = 3, - HB_AAT_LAYOUT_FEATURE_SELECTOR_SLASHED_ZERO_ON = 4, - HB_AAT_LAYOUT_FEATURE_SELECTOR_SLASHED_ZERO_OFF = 5, - HB_AAT_LAYOUT_FEATURE_SELECTOR_FORM_INTERROBANG_ON = 6, - HB_AAT_LAYOUT_FEATURE_SELECTOR_FORM_INTERROBANG_OFF = 7, - HB_AAT_LAYOUT_FEATURE_SELECTOR_SMART_QUOTES_ON = 8, - HB_AAT_LAYOUT_FEATURE_SELECTOR_SMART_QUOTES_OFF = 9, - HB_AAT_LAYOUT_FEATURE_SELECTOR_PERIODS_TO_ELLIPSIS_ON = 10, - HB_AAT_LAYOUT_FEATURE_SELECTOR_PERIODS_TO_ELLIPSIS_OFF = 11, - - /* Selectors for #HB_AAT_LAYOUT_FEATURE_TYPE_MATHEMATICAL_EXTRAS */ - HB_AAT_LAYOUT_FEATURE_SELECTOR_HYPHEN_TO_MINUS_ON = 0, - HB_AAT_LAYOUT_FEATURE_SELECTOR_HYPHEN_TO_MINUS_OFF = 1, - HB_AAT_LAYOUT_FEATURE_SELECTOR_ASTERISK_TO_MULTIPLY_ON = 2, - HB_AAT_LAYOUT_FEATURE_SELECTOR_ASTERISK_TO_MULTIPLY_OFF = 3, - HB_AAT_LAYOUT_FEATURE_SELECTOR_SLASH_TO_DIVIDE_ON = 4, - HB_AAT_LAYOUT_FEATURE_SELECTOR_SLASH_TO_DIVIDE_OFF = 5, - HB_AAT_LAYOUT_FEATURE_SELECTOR_INEQUALITY_LIGATURES_ON = 6, - HB_AAT_LAYOUT_FEATURE_SELECTOR_INEQUALITY_LIGATURES_OFF = 7, - HB_AAT_LAYOUT_FEATURE_SELECTOR_EXPONENTS_ON = 8, - HB_AAT_LAYOUT_FEATURE_SELECTOR_EXPONENTS_OFF = 9, - HB_AAT_LAYOUT_FEATURE_SELECTOR_MATHEMATICAL_GREEK_ON = 10, - HB_AAT_LAYOUT_FEATURE_SELECTOR_MATHEMATICAL_GREEK_OFF = 11, - - /* Selectors for #HB_AAT_LAYOUT_FEATURE_TYPE_ORNAMENT_SETS_TYPE */ - HB_AAT_LAYOUT_FEATURE_SELECTOR_NO_ORNAMENTS = 0, - HB_AAT_LAYOUT_FEATURE_SELECTOR_DINGBATS = 1, - HB_AAT_LAYOUT_FEATURE_SELECTOR_PI_CHARACTERS = 2, - HB_AAT_LAYOUT_FEATURE_SELECTOR_FLEURONS = 3, - HB_AAT_LAYOUT_FEATURE_SELECTOR_DECORATIVE_BORDERS = 4, - HB_AAT_LAYOUT_FEATURE_SELECTOR_INTERNATIONAL_SYMBOLS = 5, - HB_AAT_LAYOUT_FEATURE_SELECTOR_MATH_SYMBOLS = 6, - - /* Selectors for #HB_AAT_LAYOUT_FEATURE_TYPE_CHARACTER_ALTERNATIVES */ - HB_AAT_LAYOUT_FEATURE_SELECTOR_NO_ALTERNATES = 0, - - /* Selectors for #HB_AAT_LAYOUT_FEATURE_TYPE_DESIGN_COMPLEXITY_TYPE */ - HB_AAT_LAYOUT_FEATURE_SELECTOR_DESIGN_LEVEL1 = 0, - HB_AAT_LAYOUT_FEATURE_SELECTOR_DESIGN_LEVEL2 = 1, - HB_AAT_LAYOUT_FEATURE_SELECTOR_DESIGN_LEVEL3 = 2, - HB_AAT_LAYOUT_FEATURE_SELECTOR_DESIGN_LEVEL4 = 3, - HB_AAT_LAYOUT_FEATURE_SELECTOR_DESIGN_LEVEL5 = 4, - - /* Selectors for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLE_OPTIONS */ - HB_AAT_LAYOUT_FEATURE_SELECTOR_NO_STYLE_OPTIONS = 0, - HB_AAT_LAYOUT_FEATURE_SELECTOR_DISPLAY_TEXT = 1, - HB_AAT_LAYOUT_FEATURE_SELECTOR_ENGRAVED_TEXT = 2, - HB_AAT_LAYOUT_FEATURE_SELECTOR_ILLUMINATED_CAPS = 3, - HB_AAT_LAYOUT_FEATURE_SELECTOR_TITLING_CAPS = 4, - HB_AAT_LAYOUT_FEATURE_SELECTOR_TALL_CAPS = 5, - - /* Selectors for #HB_AAT_LAYOUT_FEATURE_TYPE_CHARACTER_SHAPE */ - HB_AAT_LAYOUT_FEATURE_SELECTOR_TRADITIONAL_CHARACTERS = 0, - HB_AAT_LAYOUT_FEATURE_SELECTOR_SIMPLIFIED_CHARACTERS = 1, - HB_AAT_LAYOUT_FEATURE_SELECTOR_JIS1978_CHARACTERS = 2, - HB_AAT_LAYOUT_FEATURE_SELECTOR_JIS1983_CHARACTERS = 3, - HB_AAT_LAYOUT_FEATURE_SELECTOR_JIS1990_CHARACTERS = 4, - HB_AAT_LAYOUT_FEATURE_SELECTOR_TRADITIONAL_ALT_ONE = 5, - HB_AAT_LAYOUT_FEATURE_SELECTOR_TRADITIONAL_ALT_TWO = 6, - HB_AAT_LAYOUT_FEATURE_SELECTOR_TRADITIONAL_ALT_THREE = 7, - HB_AAT_LAYOUT_FEATURE_SELECTOR_TRADITIONAL_ALT_FOUR = 8, - HB_AAT_LAYOUT_FEATURE_SELECTOR_TRADITIONAL_ALT_FIVE = 9, - HB_AAT_LAYOUT_FEATURE_SELECTOR_EXPERT_CHARACTERS = 10, - HB_AAT_LAYOUT_FEATURE_SELECTOR_JIS2004_CHARACTERS = 11, - HB_AAT_LAYOUT_FEATURE_SELECTOR_HOJO_CHARACTERS = 12, - HB_AAT_LAYOUT_FEATURE_SELECTOR_NLCCHARACTERS = 13, - HB_AAT_LAYOUT_FEATURE_SELECTOR_TRADITIONAL_NAMES_CHARACTERS = 14, - - /* Selectors for #HB_AAT_LAYOUT_FEATURE_TYPE_NUMBER_CASE */ - HB_AAT_LAYOUT_FEATURE_SELECTOR_LOWER_CASE_NUMBERS = 0, - HB_AAT_LAYOUT_FEATURE_SELECTOR_UPPER_CASE_NUMBERS = 1, - - /* Selectors for #HB_AAT_LAYOUT_FEATURE_TYPE_TEXT_SPACING */ - HB_AAT_LAYOUT_FEATURE_SELECTOR_PROPORTIONAL_TEXT = 0, - HB_AAT_LAYOUT_FEATURE_SELECTOR_MONOSPACED_TEXT = 1, - HB_AAT_LAYOUT_FEATURE_SELECTOR_HALF_WIDTH_TEXT = 2, - HB_AAT_LAYOUT_FEATURE_SELECTOR_THIRD_WIDTH_TEXT = 3, - HB_AAT_LAYOUT_FEATURE_SELECTOR_QUARTER_WIDTH_TEXT = 4, - HB_AAT_LAYOUT_FEATURE_SELECTOR_ALT_PROPORTIONAL_TEXT = 5, - HB_AAT_LAYOUT_FEATURE_SELECTOR_ALT_HALF_WIDTH_TEXT = 6, - - /* Selectors for #HB_AAT_LAYOUT_FEATURE_TYPE_TRANSLITERATION */ - HB_AAT_LAYOUT_FEATURE_SELECTOR_NO_TRANSLITERATION = 0, - HB_AAT_LAYOUT_FEATURE_SELECTOR_HANJA_TO_HANGUL = 1, - HB_AAT_LAYOUT_FEATURE_SELECTOR_HIRAGANA_TO_KATAKANA = 2, - HB_AAT_LAYOUT_FEATURE_SELECTOR_KATAKANA_TO_HIRAGANA = 3, - HB_AAT_LAYOUT_FEATURE_SELECTOR_KANA_TO_ROMANIZATION = 4, - HB_AAT_LAYOUT_FEATURE_SELECTOR_ROMANIZATION_TO_HIRAGANA = 5, - HB_AAT_LAYOUT_FEATURE_SELECTOR_ROMANIZATION_TO_KATAKANA = 6, - HB_AAT_LAYOUT_FEATURE_SELECTOR_HANJA_TO_HANGUL_ALT_ONE = 7, - HB_AAT_LAYOUT_FEATURE_SELECTOR_HANJA_TO_HANGUL_ALT_TWO = 8, - HB_AAT_LAYOUT_FEATURE_SELECTOR_HANJA_TO_HANGUL_ALT_THREE = 9, - - /* Selectors for #HB_AAT_LAYOUT_FEATURE_TYPE_ANNOTATION_TYPE */ - HB_AAT_LAYOUT_FEATURE_SELECTOR_NO_ANNOTATION = 0, - HB_AAT_LAYOUT_FEATURE_SELECTOR_BOX_ANNOTATION = 1, - HB_AAT_LAYOUT_FEATURE_SELECTOR_ROUNDED_BOX_ANNOTATION = 2, - HB_AAT_LAYOUT_FEATURE_SELECTOR_CIRCLE_ANNOTATION = 3, - HB_AAT_LAYOUT_FEATURE_SELECTOR_INVERTED_CIRCLE_ANNOTATION = 4, - HB_AAT_LAYOUT_FEATURE_SELECTOR_PARENTHESIS_ANNOTATION = 5, - HB_AAT_LAYOUT_FEATURE_SELECTOR_PERIOD_ANNOTATION = 6, - HB_AAT_LAYOUT_FEATURE_SELECTOR_ROMAN_NUMERAL_ANNOTATION = 7, - HB_AAT_LAYOUT_FEATURE_SELECTOR_DIAMOND_ANNOTATION = 8, - HB_AAT_LAYOUT_FEATURE_SELECTOR_INVERTED_BOX_ANNOTATION = 9, - HB_AAT_LAYOUT_FEATURE_SELECTOR_INVERTED_ROUNDED_BOX_ANNOTATION= 10, - - /* Selectors for #HB_AAT_LAYOUT_FEATURE_TYPE_KANA_SPACING_TYPE */ - HB_AAT_LAYOUT_FEATURE_SELECTOR_FULL_WIDTH_KANA = 0, - HB_AAT_LAYOUT_FEATURE_SELECTOR_PROPORTIONAL_KANA = 1, - - /* Selectors for #HB_AAT_LAYOUT_FEATURE_TYPE_IDEOGRAPHIC_SPACING_TYPE */ - HB_AAT_LAYOUT_FEATURE_SELECTOR_FULL_WIDTH_IDEOGRAPHS = 0, - HB_AAT_LAYOUT_FEATURE_SELECTOR_PROPORTIONAL_IDEOGRAPHS = 1, - HB_AAT_LAYOUT_FEATURE_SELECTOR_HALF_WIDTH_IDEOGRAPHS = 2, - - /* Selectors for #HB_AAT_LAYOUT_FEATURE_TYPE_UNICODE_DECOMPOSITION_TYPE */ - HB_AAT_LAYOUT_FEATURE_SELECTOR_CANONICAL_COMPOSITION_ON = 0, - HB_AAT_LAYOUT_FEATURE_SELECTOR_CANONICAL_COMPOSITION_OFF = 1, - HB_AAT_LAYOUT_FEATURE_SELECTOR_COMPATIBILITY_COMPOSITION_ON = 2, - HB_AAT_LAYOUT_FEATURE_SELECTOR_COMPATIBILITY_COMPOSITION_OFF = 3, - HB_AAT_LAYOUT_FEATURE_SELECTOR_TRANSCODING_COMPOSITION_ON = 4, - HB_AAT_LAYOUT_FEATURE_SELECTOR_TRANSCODING_COMPOSITION_OFF = 5, - - /* Selectors for #HB_AAT_LAYOUT_FEATURE_TYPE_RUBY_KANA */ - HB_AAT_LAYOUT_FEATURE_SELECTOR_NO_RUBY_KANA = 0, /* deprecated - use HB_AAT_LAYOUT_FEATURE_SELECTOR_RUBY_KANA_OFF instead */ - HB_AAT_LAYOUT_FEATURE_SELECTOR_RUBY_KANA = 1, /* deprecated - use HB_AAT_LAYOUT_FEATURE_SELECTOR_RUBY_KANA_ON instead */ - HB_AAT_LAYOUT_FEATURE_SELECTOR_RUBY_KANA_ON = 2, - HB_AAT_LAYOUT_FEATURE_SELECTOR_RUBY_KANA_OFF = 3, - - /* Selectors for #HB_AAT_LAYOUT_FEATURE_TYPE_CJK_SYMBOL_ALTERNATIVES_TYPE */ - HB_AAT_LAYOUT_FEATURE_SELECTOR_NO_CJK_SYMBOL_ALTERNATIVES = 0, - HB_AAT_LAYOUT_FEATURE_SELECTOR_CJK_SYMBOL_ALT_ONE = 1, - HB_AAT_LAYOUT_FEATURE_SELECTOR_CJK_SYMBOL_ALT_TWO = 2, - HB_AAT_LAYOUT_FEATURE_SELECTOR_CJK_SYMBOL_ALT_THREE = 3, - HB_AAT_LAYOUT_FEATURE_SELECTOR_CJK_SYMBOL_ALT_FOUR = 4, - HB_AAT_LAYOUT_FEATURE_SELECTOR_CJK_SYMBOL_ALT_FIVE = 5, - - /* Selectors for #HB_AAT_LAYOUT_FEATURE_TYPE_IDEOGRAPHIC_ALTERNATIVES_TYPE */ - HB_AAT_LAYOUT_FEATURE_SELECTOR_NO_IDEOGRAPHIC_ALTERNATIVES = 0, - HB_AAT_LAYOUT_FEATURE_SELECTOR_IDEOGRAPHIC_ALT_ONE = 1, - HB_AAT_LAYOUT_FEATURE_SELECTOR_IDEOGRAPHIC_ALT_TWO = 2, - HB_AAT_LAYOUT_FEATURE_SELECTOR_IDEOGRAPHIC_ALT_THREE = 3, - HB_AAT_LAYOUT_FEATURE_SELECTOR_IDEOGRAPHIC_ALT_FOUR = 4, - HB_AAT_LAYOUT_FEATURE_SELECTOR_IDEOGRAPHIC_ALT_FIVE = 5, - - /* Selectors for #HB_AAT_LAYOUT_FEATURE_TYPE_CJK_VERTICAL_ROMAN_PLACEMENT_TYPE */ - HB_AAT_LAYOUT_FEATURE_SELECTOR_CJK_VERTICAL_ROMAN_CENTERED = 0, - HB_AAT_LAYOUT_FEATURE_SELECTOR_CJK_VERTICAL_ROMAN_HBASELINE = 1, - - /* Selectors for #HB_AAT_LAYOUT_FEATURE_TYPE_ITALIC_CJK_ROMAN */ - HB_AAT_LAYOUT_FEATURE_SELECTOR_NO_CJK_ITALIC_ROMAN = 0, /* deprecated - use HB_AAT_LAYOUT_FEATURE_SELECTOR_CJK_ITALIC_ROMAN_OFF instead */ - HB_AAT_LAYOUT_FEATURE_SELECTOR_CJK_ITALIC_ROMAN = 1, /* deprecated - use HB_AAT_LAYOUT_FEATURE_SELECTOR_CJK_ITALIC_ROMAN_ON instead */ - HB_AAT_LAYOUT_FEATURE_SELECTOR_CJK_ITALIC_ROMAN_ON = 2, - HB_AAT_LAYOUT_FEATURE_SELECTOR_CJK_ITALIC_ROMAN_OFF = 3, - - /* Selectors for #HB_AAT_LAYOUT_FEATURE_TYPE_CASE_SENSITIVE_LAYOUT */ - HB_AAT_LAYOUT_FEATURE_SELECTOR_CASE_SENSITIVE_LAYOUT_ON = 0, - HB_AAT_LAYOUT_FEATURE_SELECTOR_CASE_SENSITIVE_LAYOUT_OFF = 1, - HB_AAT_LAYOUT_FEATURE_SELECTOR_CASE_SENSITIVE_SPACING_ON = 2, - HB_AAT_LAYOUT_FEATURE_SELECTOR_CASE_SENSITIVE_SPACING_OFF = 3, - - /* Selectors for #HB_AAT_LAYOUT_FEATURE_TYPE_ALTERNATE_KANA */ - HB_AAT_LAYOUT_FEATURE_SELECTOR_ALTERNATE_HORIZ_KANA_ON = 0, - HB_AAT_LAYOUT_FEATURE_SELECTOR_ALTERNATE_HORIZ_KANA_OFF = 1, - HB_AAT_LAYOUT_FEATURE_SELECTOR_ALTERNATE_VERT_KANA_ON = 2, - HB_AAT_LAYOUT_FEATURE_SELECTOR_ALTERNATE_VERT_KANA_OFF = 3, - - /* Selectors for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES */ - HB_AAT_LAYOUT_FEATURE_SELECTOR_NO_STYLISTIC_ALTERNATES = 0, - HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_ONE_ON = 2, - HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_ONE_OFF = 3, - HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_TWO_ON = 4, - HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_TWO_OFF = 5, - HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_THREE_ON = 6, - HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_THREE_OFF = 7, - HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_FOUR_ON = 8, - HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_FOUR_OFF = 9, - HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_FIVE_ON = 10, - HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_FIVE_OFF = 11, - HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_SIX_ON = 12, - HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_SIX_OFF = 13, - HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_SEVEN_ON = 14, - HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_SEVEN_OFF = 15, - HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_EIGHT_ON = 16, - HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_EIGHT_OFF = 17, - HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_NINE_ON = 18, - HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_NINE_OFF = 19, - HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_TEN_ON = 20, - HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_TEN_OFF = 21, - HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_ELEVEN_ON = 22, - HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_ELEVEN_OFF = 23, - HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_TWELVE_ON = 24, - HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_TWELVE_OFF = 25, - HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_THIRTEEN_ON = 26, - HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_THIRTEEN_OFF = 27, - HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_FOURTEEN_ON = 28, - HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_FOURTEEN_OFF = 29, - HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_FIFTEEN_ON = 30, - HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_FIFTEEN_OFF = 31, - HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_SIXTEEN_ON = 32, - HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_SIXTEEN_OFF = 33, - HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_SEVENTEEN_ON = 34, - HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_SEVENTEEN_OFF = 35, - HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_EIGHTEEN_ON = 36, - HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_EIGHTEEN_OFF = 37, - HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_NINETEEN_ON = 38, - HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_NINETEEN_OFF = 39, - HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_TWENTY_ON = 40, - HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_TWENTY_OFF = 41, - - /* Selectors for #HB_AAT_LAYOUT_FEATURE_TYPE_CONTEXTUAL_ALTERNATIVES */ - HB_AAT_LAYOUT_FEATURE_SELECTOR_CONTEXTUAL_ALTERNATES_ON = 0, - HB_AAT_LAYOUT_FEATURE_SELECTOR_CONTEXTUAL_ALTERNATES_OFF = 1, - HB_AAT_LAYOUT_FEATURE_SELECTOR_SWASH_ALTERNATES_ON = 2, - HB_AAT_LAYOUT_FEATURE_SELECTOR_SWASH_ALTERNATES_OFF = 3, - HB_AAT_LAYOUT_FEATURE_SELECTOR_CONTEXTUAL_SWASH_ALTERNATES_ON = 4, - HB_AAT_LAYOUT_FEATURE_SELECTOR_CONTEXTUAL_SWASH_ALTERNATES_OFF= 5, - - /* Selectors for #HB_AAT_LAYOUT_FEATURE_TYPE_LOWER_CASE */ - HB_AAT_LAYOUT_FEATURE_SELECTOR_DEFAULT_LOWER_CASE = 0, - HB_AAT_LAYOUT_FEATURE_SELECTOR_LOWER_CASE_SMALL_CAPS = 1, - HB_AAT_LAYOUT_FEATURE_SELECTOR_LOWER_CASE_PETITE_CAPS = 2, - - /* Selectors for #HB_AAT_LAYOUT_FEATURE_TYPE_UPPER_CASE */ - HB_AAT_LAYOUT_FEATURE_SELECTOR_DEFAULT_UPPER_CASE = 0, - HB_AAT_LAYOUT_FEATURE_SELECTOR_UPPER_CASE_SMALL_CAPS = 1, - HB_AAT_LAYOUT_FEATURE_SELECTOR_UPPER_CASE_PETITE_CAPS = 2, - - /* Selectors for #HB_AAT_LAYOUT_FEATURE_TYPE_CJK_ROMAN_SPACING_TYPE */ - HB_AAT_LAYOUT_FEATURE_SELECTOR_HALF_WIDTH_CJK_ROMAN = 0, - HB_AAT_LAYOUT_FEATURE_SELECTOR_PROPORTIONAL_CJK_ROMAN = 1, - HB_AAT_LAYOUT_FEATURE_SELECTOR_DEFAULT_CJK_ROMAN = 2, - HB_AAT_LAYOUT_FEATURE_SELECTOR_FULL_WIDTH_CJK_ROMAN = 3, - - /*< private >*/ - _HB_AAT_LAYOUT_FEATURE_SELECTOR_MAX_VALUE = HB_TAG_MAX_SIGNED /*< skip >*/ -} hb_aat_layout_feature_selector_t; - -HB_EXTERN unsigned int -hb_aat_layout_get_feature_types (hb_face_t *face, - unsigned int start_offset, - unsigned int *feature_count, /* IN/OUT. May be NULL. */ - hb_aat_layout_feature_type_t *features /* OUT. May be NULL. */); - -HB_EXTERN hb_ot_name_id_t -hb_aat_layout_feature_type_get_name_id (hb_face_t *face, - hb_aat_layout_feature_type_t feature_type); - -/** - * hb_aat_layout_feature_selector_info_t: - * @name_id: The selector's name identifier - * @enable: The value to turn the selector on - * @disable: The value to turn the selector off - * - * Structure representing a setting for an #hb_aat_layout_feature_type_t. - */ -typedef struct hb_aat_layout_feature_selector_info_t { - hb_ot_name_id_t name_id; - hb_aat_layout_feature_selector_t enable; - hb_aat_layout_feature_selector_t disable; - /*< private >*/ - unsigned int reserved; -} hb_aat_layout_feature_selector_info_t; - -/** - * HB_AAT_LAYOUT_NO_SELECTOR_INDEX - * - * Used when getting or setting AAT feature selectors. Indicates that - * there is no selector index corresponding to the selector of interest. - * - */ -#define HB_AAT_LAYOUT_NO_SELECTOR_INDEX 0xFFFFu - -HB_EXTERN unsigned int -hb_aat_layout_feature_type_get_selector_infos (hb_face_t *face, - hb_aat_layout_feature_type_t feature_type, - unsigned int start_offset, - unsigned int *selector_count, /* IN/OUT. May be NULL. */ - hb_aat_layout_feature_selector_info_t *selectors, /* OUT. May be NULL. */ - unsigned int *default_index /* OUT. May be NULL. */); - - -/* - * morx/mort - */ - -HB_EXTERN hb_bool_t -hb_aat_layout_has_substitution (hb_face_t *face); - - -/* - * kerx - */ - -HB_EXTERN hb_bool_t -hb_aat_layout_has_positioning (hb_face_t *face); - - -/* - * trak - */ - -HB_EXTERN hb_bool_t -hb_aat_layout_has_tracking (hb_face_t *face); - - -HB_END_DECLS - -#endif /* HB_AAT_LAYOUT_H */ diff --git a/harfbuzz/src/hb-aat-layout.hh b/harfbuzz/src/hb-aat-layout.hh deleted file mode 100644 index 5e4e3bd..0000000 --- a/harfbuzz/src/hb-aat-layout.hh +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Copyright © 2017 Google, Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Google Author(s): Behdad Esfahbod - */ - -#ifndef HB_AAT_LAYOUT_HH -#define HB_AAT_LAYOUT_HH - -#include "hb.hh" - -#include "hb-ot-shape.hh" -#include "hb-aat-ltag-table.hh" - -struct hb_aat_feature_mapping_t -{ - hb_tag_t otFeatureTag; - hb_aat_layout_feature_type_t aatFeatureType; - hb_aat_layout_feature_selector_t selectorToEnable; - hb_aat_layout_feature_selector_t selectorToDisable; - - int cmp (hb_tag_t key) const - { return key < otFeatureTag ? -1 : key > otFeatureTag ? 1 : 0; } -}; - -HB_INTERNAL const hb_aat_feature_mapping_t * -hb_aat_layout_find_feature_mapping (hb_tag_t tag); - -HB_INTERNAL void -hb_aat_layout_compile_map (const hb_aat_map_builder_t *mapper, - hb_aat_map_t *map); - -HB_INTERNAL void -hb_aat_layout_substitute (const hb_ot_shape_plan_t *plan, - hb_font_t *font, - hb_buffer_t *buffer); - -HB_INTERNAL void -hb_aat_layout_zero_width_deleted_glyphs (hb_buffer_t *buffer); - -HB_INTERNAL void -hb_aat_layout_remove_deleted_glyphs (hb_buffer_t *buffer); - -HB_INTERNAL void -hb_aat_layout_position (const hb_ot_shape_plan_t *plan, - hb_font_t *font, - hb_buffer_t *buffer); - -HB_INTERNAL void -hb_aat_layout_track (const hb_ot_shape_plan_t *plan, - hb_font_t *font, - hb_buffer_t *buffer); - - -#endif /* HB_AAT_LAYOUT_HH */ diff --git a/harfbuzz/src/hb-aat-ltag-table.hh b/harfbuzz/src/hb-aat-ltag-table.hh deleted file mode 100644 index 6d771e1..0000000 --- a/harfbuzz/src/hb-aat-ltag-table.hh +++ /dev/null @@ -1,92 +0,0 @@ -/* - * Copyright © 2018 Ebrahim Byagowi - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - */ - -#ifndef HB_AAT_LTAG_TABLE_HH -#define HB_AAT_LTAG_TABLE_HH - -#include "hb-open-type.hh" - -/* - * ltag -- Language Tag - * https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6ltag.html - */ -#define HB_AAT_TAG_ltag HB_TAG('l','t','a','g') - - -namespace AAT { - -using namespace OT; - - -struct FTStringRange -{ - friend struct ltag; - - bool sanitize (hb_sanitize_context_t *c, const void *base) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this) && (base+tag).sanitize (c, length)); - } - - protected: - NNOffset16To> - tag; /* Offset from the start of the table to - * the beginning of the string */ - HBUINT16 length; /* String length (in bytes) */ - public: - DEFINE_SIZE_STATIC (4); -}; - -struct ltag -{ - static constexpr hb_tag_t tableTag = HB_AAT_TAG_ltag; - - hb_language_t get_language (unsigned int i) const - { - const FTStringRange &range = tagRanges[i]; - return hb_language_from_string ((const char *) (this+range.tag).arrayZ, - range.length); - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (likely (c->check_struct (this) && - version >= 1 && - tagRanges.sanitize (c, this))); - } - - protected: - HBUINT32 version; /* Table version; currently 1 */ - HBUINT32 flags; /* Table flags; currently none defined */ - Array32Of - tagRanges; /* Range for each tag's string */ - public: - DEFINE_SIZE_ARRAY (12, tagRanges); -}; - -} /* namespace AAT */ - - -#endif /* HB_AAT_LTAG_TABLE_HH */ diff --git a/harfbuzz/src/hb-aat-map.cc b/harfbuzz/src/hb-aat-map.cc deleted file mode 100644 index 2c38c35..0000000 --- a/harfbuzz/src/hb-aat-map.cc +++ /dev/null @@ -1,102 +0,0 @@ -/* - * Copyright © 2009,2010 Red Hat, Inc. - * Copyright © 2010,2011,2013 Google, Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Red Hat Author(s): Behdad Esfahbod - * Google Author(s): Behdad Esfahbod - */ - -#include "hb.hh" - -#ifndef HB_NO_AAT_SHAPE - -#include "hb-aat-map.hh" - -#include "hb-aat-layout.hh" -#include "hb-aat-layout-feat-table.hh" - - -void hb_aat_map_builder_t::add_feature (hb_tag_t tag, unsigned value) -{ - if (!face->table.feat->has_data ()) return; - - if (tag == HB_TAG ('a','a','l','t')) - { - if (!face->table.feat->exposes_feature (HB_AAT_LAYOUT_FEATURE_TYPE_CHARACTER_ALTERNATIVES)) - return; - feature_info_t *info = features.push(); - info->type = HB_AAT_LAYOUT_FEATURE_TYPE_CHARACTER_ALTERNATIVES; - info->setting = (hb_aat_layout_feature_selector_t) value; - info->seq = features.length; - info->is_exclusive = true; - return; - } - - const hb_aat_feature_mapping_t *mapping = hb_aat_layout_find_feature_mapping (tag); - if (!mapping) return; - - const AAT::FeatureName* feature = &face->table.feat->get_feature (mapping->aatFeatureType); - if (!feature->has_data ()) - { - /* Special case: Chain::compile_flags will fall back to the deprecated version of - * small-caps if necessary, so we need to check for that possibility. - * https://github.com/harfbuzz/harfbuzz/issues/2307 */ - if (mapping->aatFeatureType == HB_AAT_LAYOUT_FEATURE_TYPE_LOWER_CASE && - mapping->selectorToEnable == HB_AAT_LAYOUT_FEATURE_SELECTOR_LOWER_CASE_SMALL_CAPS) - { - feature = &face->table.feat->get_feature (HB_AAT_LAYOUT_FEATURE_TYPE_LETTER_CASE); - if (!feature->has_data ()) return; - } - else return; - } - - feature_info_t *info = features.push(); - info->type = mapping->aatFeatureType; - info->setting = value ? mapping->selectorToEnable : mapping->selectorToDisable; - info->seq = features.length; - info->is_exclusive = feature->is_exclusive (); -} - -void -hb_aat_map_builder_t::compile (hb_aat_map_t &m) -{ - /* Sort features and merge duplicates */ - if (features.length) - { - features.qsort (); - unsigned int j = 0; - for (unsigned int i = 1; i < features.length; i++) - if (features[i].type != features[j].type || - /* Nonexclusive feature selectors come in even/odd pairs to turn a setting on/off - * respectively, so we mask out the low-order bit when checking for "duplicates" - * (selectors referring to the same feature setting) here. */ - (!features[i].is_exclusive && ((features[i].setting & ~1) != (features[j].setting & ~1)))) - features[++j] = features[i]; - features.shrink (j + 1); - } - - hb_aat_layout_compile_map (this, &m); -} - - -#endif diff --git a/harfbuzz/src/hb-aat-map.hh b/harfbuzz/src/hb-aat-map.hh deleted file mode 100644 index 5a0fa70..0000000 --- a/harfbuzz/src/hb-aat-map.hh +++ /dev/null @@ -1,96 +0,0 @@ -/* - * Copyright © 2018 Google, Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Google Author(s): Behdad Esfahbod - */ - -#ifndef HB_AAT_MAP_HH -#define HB_AAT_MAP_HH - -#include "hb.hh" - - -struct hb_aat_map_t -{ - friend struct hb_aat_map_builder_t; - - public: - - void init () - { - memset (this, 0, sizeof (*this)); - chain_flags.init (); - } - void fini () { chain_flags.fini (); } - - public: - hb_vector_t chain_flags; -}; - -struct hb_aat_map_builder_t -{ - public: - - HB_INTERNAL hb_aat_map_builder_t (hb_face_t *face_, - const hb_segment_properties_t *props_ HB_UNUSED) : - face (face_) {} - - HB_INTERNAL void add_feature (hb_tag_t tag, unsigned int value=1); - - HB_INTERNAL void compile (hb_aat_map_t &m); - - public: - struct feature_info_t - { - hb_aat_layout_feature_type_t type; - hb_aat_layout_feature_selector_t setting; - bool is_exclusive; - unsigned seq; /* For stable sorting only. */ - - HB_INTERNAL static int cmp (const void *pa, const void *pb) - { - const feature_info_t *a = (const feature_info_t *) pa; - const feature_info_t *b = (const feature_info_t *) pb; - if (a->type != b->type) return (a->type < b->type ? -1 : 1); - if (!a->is_exclusive && - (a->setting & ~1) != (b->setting & ~1)) return (a->setting < b->setting ? -1 : 1); - return (a->seq < b->seq ? -1 : a->seq > b->seq ? 1 : 0); - } - - /* compares type & setting only, not is_exclusive flag or seq number */ - int cmp (const feature_info_t& f) const - { - return (f.type != type) ? (f.type < type ? -1 : 1) : - (f.setting != setting) ? (f.setting < setting ? -1 : 1) : 0; - } - }; - - public: - hb_face_t *face; - - public: - hb_sorted_vector_t features; -}; - - -#endif /* HB_AAT_MAP_HH */ diff --git a/harfbuzz/src/hb-aat.h b/harfbuzz/src/hb-aat.h deleted file mode 100644 index c14313d..0000000 --- a/harfbuzz/src/hb-aat.h +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright © 2018 Ebrahim Byagowi - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - */ - -#ifndef HB_AAT_H -#define HB_AAT_H -#define HB_AAT_H_IN - -#include "hb.h" - -#include "hb-aat-layout.h" - -HB_BEGIN_DECLS - -HB_END_DECLS - -#undef HB_AAT_H_IN -#endif /* HB_AAT_H */ diff --git a/harfbuzz/src/hb-algs.hh b/harfbuzz/src/hb-algs.hh deleted file mode 100644 index 446d87e..0000000 --- a/harfbuzz/src/hb-algs.hh +++ /dev/null @@ -1,1329 +0,0 @@ -/* - * Copyright © 2017 Google, Inc. - * Copyright © 2019 Facebook, Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Google Author(s): Behdad Esfahbod - * Facebook Author(s): Behdad Esfahbod - */ - -#ifndef HB_ALGS_HH -#define HB_ALGS_HH - -#include "hb.hh" -#include "hb-meta.hh" -#include "hb-null.hh" -#include "hb-number.hh" - -#include -#include -#include - -/* - * Flags - */ - -/* Enable bitwise ops on enums marked as flags_t */ -/* To my surprise, looks like the function resolver is happy to silently cast - * one enum to another... So this doesn't provide the type-checking that I - * originally had in mind... :(. - * - * For MSVC warnings, see: https://github.com/harfbuzz/harfbuzz/pull/163 - */ -#ifdef _MSC_VER -# pragma warning(disable:4200) -# pragma warning(disable:4800) -#endif -#define HB_MARK_AS_FLAG_T(T) \ - extern "C++" { \ - static inline constexpr T operator | (T l, T r) { return T ((unsigned) l | (unsigned) r); } \ - static inline constexpr T operator & (T l, T r) { return T ((unsigned) l & (unsigned) r); } \ - static inline constexpr T operator ^ (T l, T r) { return T ((unsigned) l ^ (unsigned) r); } \ - static inline constexpr T operator ~ (T r) { return T (~(unsigned int) r); } \ - static inline T& operator |= (T &l, T r) { l = l | r; return l; } \ - static inline T& operator &= (T& l, T r) { l = l & r; return l; } \ - static inline T& operator ^= (T& l, T r) { l = l ^ r; return l; } \ - } \ - static_assert (true, "") - -/* Useful for set-operations on small enums. - * For example, for testing "x ∈ {x1, x2, x3}" use: - * (FLAG_UNSAFE(x) & (FLAG(x1) | FLAG(x2) | FLAG(x3))) - */ -#define FLAG(x) (static_assert_expr ((unsigned)(x) < 32) + (((uint32_t) 1U) << (unsigned)(x))) -#define FLAG_UNSAFE(x) ((unsigned)(x) < 32 ? (((uint32_t) 1U) << (unsigned)(x)) : 0) -#define FLAG_RANGE(x,y) (static_assert_expr ((x) < (y)) + FLAG(y+1) - FLAG(x)) -#define FLAG64(x) (static_assert_expr ((unsigned)(x) < 64) + (((uint64_t) 1ULL) << (unsigned)(x))) -#define FLAG64_UNSAFE(x) ((unsigned)(x) < 64 ? (((uint64_t) 1ULL) << (unsigned)(x)) : 0) - - -/* - * Big-endian integers. - */ - -/* Endian swap, used in Windows related backends */ -static inline constexpr uint16_t hb_uint16_swap (uint16_t v) -{ return (v >> 8) | (v << 8); } -static inline constexpr uint32_t hb_uint32_swap (uint32_t v) -{ return (hb_uint16_swap (v) << 16) | hb_uint16_swap (v >> 16); } - -template -struct BEInt; -template -struct BEInt -{ - public: - BEInt () = default; - constexpr BEInt (Type V) : v {uint8_t (V)} {} - constexpr operator Type () const { return v; } - private: uint8_t v; -}; -template -struct BEInt -{ - public: - BEInt () = default; - constexpr BEInt (Type V) : v {uint8_t ((V >> 8) & 0xFF), - uint8_t ((V ) & 0xFF)} {} - - struct __attribute__((packed)) packed_uint16_t { uint16_t v; }; - constexpr operator Type () const - { -#if ((defined(__GNUC__) && __GNUC__ >= 5) || defined(__clang__)) && \ - defined(__BYTE_ORDER) && \ - (__BYTE_ORDER == __LITTLE_ENDIAN || __BYTE_ORDER == __BIG_ENDIAN) - /* Spoon-feed the compiler a big-endian integer with alignment 1. - * https://github.com/harfbuzz/harfbuzz/pull/1398 */ -#if __BYTE_ORDER == __LITTLE_ENDIAN - return __builtin_bswap16 (((packed_uint16_t *) this)->v); -#else /* __BYTE_ORDER == __BIG_ENDIAN */ - return ((packed_uint16_t *) this)->v; -#endif -#else - return (v[0] << 8) - + (v[1] ); -#endif - } - private: uint8_t v[2]; -}; -template -struct BEInt -{ - static_assert (!std::is_signed::value, ""); - public: - BEInt () = default; - constexpr BEInt (Type V) : v {uint8_t ((V >> 16) & 0xFF), - uint8_t ((V >> 8) & 0xFF), - uint8_t ((V ) & 0xFF)} {} - - constexpr operator Type () const { return (v[0] << 16) - + (v[1] << 8) - + (v[2] ); } - private: uint8_t v[3]; -}; -template -struct BEInt -{ - public: - BEInt () = default; - constexpr BEInt (Type V) : v {uint8_t ((V >> 24) & 0xFF), - uint8_t ((V >> 16) & 0xFF), - uint8_t ((V >> 8) & 0xFF), - uint8_t ((V ) & 0xFF)} {} - constexpr operator Type () const { return (v[0] << 24) - + (v[1] << 16) - + (v[2] << 8) - + (v[3] ); } - private: uint8_t v[4]; -}; - -/* Floats. */ - -/* We want our rounding towards +infinity. */ -static inline float -_hb_roundf (float x) { return floorf (x + .5f); } -#define roundf(x) _hb_roundf(x) - - -/* Encodes three unsigned integers in one 64-bit number. If the inputs have more than 21 bits, - * values will be truncated / overlap, and might not decode exactly. */ -#define HB_CODEPOINT_ENCODE3(x,y,z) (((uint64_t) (x) << 42) | ((uint64_t) (y) << 21) | (uint64_t) (z)) -#define HB_CODEPOINT_DECODE3_1(v) ((hb_codepoint_t) ((v) >> 42)) -#define HB_CODEPOINT_DECODE3_2(v) ((hb_codepoint_t) ((v) >> 21) & 0x1FFFFFu) -#define HB_CODEPOINT_DECODE3_3(v) ((hb_codepoint_t) (v) & 0x1FFFFFu) - -/* Custom encoding used by hb-ucd. */ -#define HB_CODEPOINT_ENCODE3_11_7_14(x,y,z) (((uint32_t) ((x) & 0x07FFu) << 21) | (((uint32_t) (y) & 0x007Fu) << 14) | (uint32_t) ((z) & 0x3FFFu)) -#define HB_CODEPOINT_DECODE3_11_7_14_1(v) ((hb_codepoint_t) ((v) >> 21)) -#define HB_CODEPOINT_DECODE3_11_7_14_2(v) ((hb_codepoint_t) (((v) >> 14) & 0x007Fu) | 0x0300) -#define HB_CODEPOINT_DECODE3_11_7_14_3(v) ((hb_codepoint_t) (v) & 0x3FFFu) - - -struct -{ - /* Note. This is dangerous in that if it's passed an rvalue, it returns rvalue-reference. */ - template constexpr auto - operator () (T&& v) const HB_AUTO_RETURN ( std::forward (v) ) -} -HB_FUNCOBJ (hb_identity); -struct -{ - /* Like identity(), but only retains lvalue-references. Rvalues are returned as rvalues. */ - template constexpr T& - operator () (T& v) const { return v; } - - template constexpr hb_remove_reference - operator () (T&& v) const { return v; } -} -HB_FUNCOBJ (hb_lidentity); -struct -{ - /* Like identity(), but always returns rvalue. */ - template constexpr hb_remove_reference - operator () (T&& v) const { return v; } -} -HB_FUNCOBJ (hb_ridentity); - -struct -{ - template constexpr bool - operator () (T&& v) const { return bool (std::forward (v)); } -} -HB_FUNCOBJ (hb_bool); - -struct -{ - private: - - template constexpr auto - impl (const T& v, hb_priority<1>) const HB_RETURN (uint32_t, hb_deref (v).hash ()) - - template ::value)> constexpr auto - impl (const T& v, hb_priority<0>) const HB_AUTO_RETURN - ( - /* Knuth's multiplicative method: */ - (uint32_t) v * 2654435761u - ) - - public: - - template constexpr auto - operator () (const T& v) const HB_RETURN (uint32_t, impl (v, hb_prioritize)) -} -HB_FUNCOBJ (hb_hash); - - -struct -{ - private: - - /* Pointer-to-member-function. */ - template auto - impl (Appl&& a, hb_priority<2>, T &&v, Ts&&... ds) const HB_AUTO_RETURN - ((hb_deref (std::forward (v)).*std::forward (a)) (std::forward (ds)...)) - - /* Pointer-to-member. */ - template auto - impl (Appl&& a, hb_priority<1>, T &&v) const HB_AUTO_RETURN - ((hb_deref (std::forward (v))).*std::forward (a)) - - /* Operator(). */ - template auto - impl (Appl&& a, hb_priority<0>, Ts&&... ds) const HB_AUTO_RETURN - (hb_deref (std::forward (a)) (std::forward (ds)...)) - - public: - - template auto - operator () (Appl&& a, Ts&&... ds) const HB_AUTO_RETURN - ( - impl (std::forward (a), - hb_prioritize, - std::forward (ds)...) - ) -} -HB_FUNCOBJ (hb_invoke); - -template -struct hb_partial_t -{ - hb_partial_t (Appl a, V v) : a (a), v (v) {} - - static_assert (Pos > 0, ""); - - template auto - operator () (Ts&& ...ds) -> decltype (hb_invoke (hb_declval (Appl), - hb_declval (V), - hb_declval (Ts)...)) - { - return hb_invoke (std::forward (a), - std::forward (v), - std::forward (ds)...); - } - template auto - operator () (T0&& d0, Ts&& ...ds) -> decltype (hb_invoke (hb_declval (Appl), - hb_declval (T0), - hb_declval (V), - hb_declval (Ts)...)) - { - return hb_invoke (std::forward (a), - std::forward (d0), - std::forward (v), - std::forward (ds)...); - } - - private: - hb_reference_wrapper a; - V v; -}; -template -auto hb_partial (Appl&& a, V&& v) HB_AUTO_RETURN -(( hb_partial_t (a, v) )) - -/* The following, HB_PARTIALIZE, macro uses a particular corner-case - * of C++11 that is not particularly well-supported by all compilers. - * What's happening is that it's using "this" in a trailing return-type - * via decltype(). Broken compilers deduce the type of "this" pointer - * in that context differently from what it resolves to in the body - * of the function. - * - * One probable cause of this is that at the time of trailing return - * type declaration, "this" points to an incomplete type, whereas in - * the function body the type is complete. That doesn't justify the - * error in any way, but is probably what's happening. - * - * In the case of MSVC, we get around this by using C++14 "decltype(auto)" - * which deduces the type from the actual return statement. For gcc 4.8 - * we use "+this" instead of "this" which produces an rvalue that seems - * to be deduced as the same type with this particular compiler, and seem - * to be fine as default code path as well. - */ -#ifdef _MSC_VER -/* https://github.com/harfbuzz/harfbuzz/issues/1730 */ \ -#define HB_PARTIALIZE(Pos) \ - template \ - decltype(auto) operator () (_T&& _v) const \ - { return hb_partial (this, std::forward<_T> (_v)); } \ - static_assert (true, "") -#else -/* https://github.com/harfbuzz/harfbuzz/issues/1724 */ -#define HB_PARTIALIZE(Pos) \ - template \ - auto operator () (_T&& _v) const HB_AUTO_RETURN \ - (hb_partial (+this, std::forward<_T> (_v))) \ - static_assert (true, "") -#endif - - -struct -{ - private: - - template auto - impl (Pred&& p, Val &&v, hb_priority<1>) const HB_AUTO_RETURN - ( - hb_deref (std::forward (p)).has (std::forward (v)) - ) - - template auto - impl (Pred&& p, Val &&v, hb_priority<0>) const HB_AUTO_RETURN - ( - hb_invoke (std::forward (p), - std::forward (v)) - ) - - public: - - template auto - operator () (Pred&& p, Val &&v) const HB_RETURN (bool, - impl (std::forward (p), - std::forward (v), - hb_prioritize) - ) -} -HB_FUNCOBJ (hb_has); - -struct -{ - private: - - template auto - impl (Pred&& p, Val &&v, hb_priority<1>) const HB_AUTO_RETURN - ( - hb_has (std::forward (p), - std::forward (v)) - ) - - template auto - impl (Pred&& p, Val &&v, hb_priority<0>) const HB_AUTO_RETURN - ( - std::forward (p) == std::forward (v) - ) - - public: - - template auto - operator () (Pred&& p, Val &&v) const HB_RETURN (bool, - impl (std::forward (p), - std::forward (v), - hb_prioritize) - ) -} -HB_FUNCOBJ (hb_match); - -struct -{ - private: - - template auto - impl (Proj&& f, Val &&v, hb_priority<2>) const HB_AUTO_RETURN - ( - hb_deref (std::forward (f)).get (std::forward (v)) - ) - - template auto - impl (Proj&& f, Val &&v, hb_priority<1>) const HB_AUTO_RETURN - ( - hb_invoke (std::forward (f), - std::forward (v)) - ) - - template auto - impl (Proj&& f, Val &&v, hb_priority<0>) const HB_AUTO_RETURN - ( - std::forward (f)[std::forward (v)] - ) - - public: - - template auto - operator () (Proj&& f, Val &&v) const HB_AUTO_RETURN - ( - impl (std::forward (f), - std::forward (v), - hb_prioritize) - ) -} -HB_FUNCOBJ (hb_get); - -struct -{ - private: - - template auto - impl (T1&& v1, T2 &&v2, hb_priority<2>) const HB_AUTO_RETURN - ( - std::forward (v2).cmp (std::forward (v1)) == 0 - ) - - template auto - impl (T1&& v1, T2 &&v2, hb_priority<1>) const HB_AUTO_RETURN - ( - std::forward (v1).cmp (std::forward (v2)) == 0 - ) - - template auto - impl (T1&& v1, T2 &&v2, hb_priority<0>) const HB_AUTO_RETURN - ( - std::forward (v1) == std::forward (v2) - ) - - public: - - template auto - operator () (T1&& v1, T2 &&v2) const HB_AUTO_RETURN - ( - impl (std::forward (v1), - std::forward (v2), - hb_prioritize) - ) -} -HB_FUNCOBJ (hb_equal); - - -template -struct hb_pair_t -{ - typedef T1 first_t; - typedef T2 second_t; - typedef hb_pair_t pair_t; - - hb_pair_t (T1 a, T2 b) : first (a), second (b) {} - - template - operator hb_pair_t () { return hb_pair_t (first, second); } - - hb_pair_t reverse () const - { return hb_pair_t (second, first); } - - bool operator == (const pair_t& o) const { return first == o.first && second == o.second; } - bool operator != (const pair_t& o) const { return !(*this == o); } - bool operator < (const pair_t& o) const { return first < o.first || (first == o.first && second < o.second); } - bool operator >= (const pair_t& o) const { return !(*this < o); } - bool operator > (const pair_t& o) const { return first > o.first || (first == o.first && second > o.second); } - bool operator <= (const pair_t& o) const { return !(*this > o); } - - T1 first; - T2 second; -}; -#define hb_pair_t(T1,T2) hb_pair_t -template static inline hb_pair_t -hb_pair (T1&& a, T2&& b) { return hb_pair_t (a, b); } - -struct -{ - template constexpr typename Pair::first_t - operator () (const Pair& pair) const { return pair.first; } -} -HB_FUNCOBJ (hb_first); - -struct -{ - template constexpr typename Pair::second_t - operator () (const Pair& pair) const { return pair.second; } -} -HB_FUNCOBJ (hb_second); - -/* Note. In min/max impl, we can use hb_type_identity for second argument. - * However, that would silently convert between different-signedness integers. - * Instead we accept two different types, such that compiler can err if - * comparing integers of different signedness. */ -struct -{ - template constexpr auto - operator () (T&& a, T2&& b) const HB_AUTO_RETURN - (a <= b ? std::forward (a) : std::forward (b)) -} -HB_FUNCOBJ (hb_min); -struct -{ - template constexpr auto - operator () (T&& a, T2&& b) const HB_AUTO_RETURN - (a >= b ? std::forward (a) : std::forward (b)) -} -HB_FUNCOBJ (hb_max); -struct -{ - template constexpr auto - operator () (T&& x, T2&& min, T3&& max) const HB_AUTO_RETURN - (hb_min (hb_max (std::forward (x), std::forward (min)), std::forward (max))) -} -HB_FUNCOBJ (hb_clamp); - -struct -{ - template void - operator () (T& a, T& b) const - { - using std::swap; // allow ADL - swap (a, b); - } -} -HB_FUNCOBJ (hb_swap); - -/* - * Bithacks. - */ - -/* Return the number of 1 bits in v. */ -template -static inline unsigned int -hb_popcount (T v) -{ -#if (defined(__GNUC__) && (__GNUC__ >= 4)) || defined(__clang__) - if (sizeof (T) <= sizeof (unsigned int)) - return __builtin_popcount (v); - - if (sizeof (T) <= sizeof (unsigned long)) - return __builtin_popcountl (v); - - if (sizeof (T) <= sizeof (unsigned long long)) - return __builtin_popcountll (v); -#endif - - if (sizeof (T) <= 4) - { - /* "HACKMEM 169" */ - uint32_t y; - y = (v >> 1) &033333333333; - y = v - y - ((y >>1) & 033333333333); - return (((y + (y >> 3)) & 030707070707) % 077); - } - - if (sizeof (T) == 8) - { - unsigned int shift = 32; - return hb_popcount ((uint32_t) v) + hb_popcount ((uint32_t) (v >> shift)); - } - - if (sizeof (T) == 16) - { - unsigned int shift = 64; - return hb_popcount ((uint64_t) v) + hb_popcount ((uint64_t) (v >> shift)); - } - - assert (0); - return 0; /* Shut up stupid compiler. */ -} - -/* Returns the number of bits needed to store number */ -template -static inline unsigned int -hb_bit_storage (T v) -{ - if (unlikely (!v)) return 0; - -#if (defined(__GNUC__) && (__GNUC__ >= 4)) || defined(__clang__) - if (sizeof (T) <= sizeof (unsigned int)) - return sizeof (unsigned int) * 8 - __builtin_clz (v); - - if (sizeof (T) <= sizeof (unsigned long)) - return sizeof (unsigned long) * 8 - __builtin_clzl (v); - - if (sizeof (T) <= sizeof (unsigned long long)) - return sizeof (unsigned long long) * 8 - __builtin_clzll (v); -#endif - -#if (defined(_MSC_VER) && _MSC_VER >= 1500) || (defined(__MINGW32__) && (__GNUC__ < 4)) - if (sizeof (T) <= sizeof (unsigned int)) - { - unsigned long where; - _BitScanReverse (&where, v); - return 1 + where; - } -# if defined(_WIN64) - if (sizeof (T) <= 8) - { - unsigned long where; - _BitScanReverse64 (&where, v); - return 1 + where; - } -# endif -#endif - - if (sizeof (T) <= 4) - { - /* "bithacks" */ - const unsigned int b[] = {0x2, 0xC, 0xF0, 0xFF00, 0xFFFF0000}; - const unsigned int S[] = {1, 2, 4, 8, 16}; - unsigned int r = 0; - for (int i = 4; i >= 0; i--) - if (v & b[i]) - { - v >>= S[i]; - r |= S[i]; - } - return r + 1; - } - if (sizeof (T) <= 8) - { - /* "bithacks" */ - const uint64_t b[] = {0x2ULL, 0xCULL, 0xF0ULL, 0xFF00ULL, 0xFFFF0000ULL, 0xFFFFFFFF00000000ULL}; - const unsigned int S[] = {1, 2, 4, 8, 16, 32}; - unsigned int r = 0; - for (int i = 5; i >= 0; i--) - if (v & b[i]) - { - v >>= S[i]; - r |= S[i]; - } - return r + 1; - } - if (sizeof (T) == 16) - { - unsigned int shift = 64; - return (v >> shift) ? hb_bit_storage ((uint64_t) (v >> shift)) + shift : - hb_bit_storage ((uint64_t) v); - } - - assert (0); - return 0; /* Shut up stupid compiler. */ -} - -/* Returns the number of zero bits in the least significant side of v */ -template -static inline unsigned int -hb_ctz (T v) -{ - if (unlikely (!v)) return 8 * sizeof (T); - -#if (defined(__GNUC__) && (__GNUC__ >= 4)) || defined(__clang__) - if (sizeof (T) <= sizeof (unsigned int)) - return __builtin_ctz (v); - - if (sizeof (T) <= sizeof (unsigned long)) - return __builtin_ctzl (v); - - if (sizeof (T) <= sizeof (unsigned long long)) - return __builtin_ctzll (v); -#endif - -#if (defined(_MSC_VER) && _MSC_VER >= 1500) || (defined(__MINGW32__) && (__GNUC__ < 4)) - if (sizeof (T) <= sizeof (unsigned int)) - { - unsigned long where; - _BitScanForward (&where, v); - return where; - } -# if defined(_WIN64) - if (sizeof (T) <= 8) - { - unsigned long where; - _BitScanForward64 (&where, v); - return where; - } -# endif -#endif - - if (sizeof (T) <= 4) - { - /* "bithacks" */ - unsigned int c = 32; - v &= - (int32_t) v; - if (v) c--; - if (v & 0x0000FFFF) c -= 16; - if (v & 0x00FF00FF) c -= 8; - if (v & 0x0F0F0F0F) c -= 4; - if (v & 0x33333333) c -= 2; - if (v & 0x55555555) c -= 1; - return c; - } - if (sizeof (T) <= 8) - { - /* "bithacks" */ - unsigned int c = 64; - v &= - (int64_t) (v); - if (v) c--; - if (v & 0x00000000FFFFFFFFULL) c -= 32; - if (v & 0x0000FFFF0000FFFFULL) c -= 16; - if (v & 0x00FF00FF00FF00FFULL) c -= 8; - if (v & 0x0F0F0F0F0F0F0F0FULL) c -= 4; - if (v & 0x3333333333333333ULL) c -= 2; - if (v & 0x5555555555555555ULL) c -= 1; - return c; - } - if (sizeof (T) == 16) - { - unsigned int shift = 64; - return (uint64_t) v ? hb_bit_storage ((uint64_t) v) : - hb_bit_storage ((uint64_t) (v >> shift)) + shift; - } - - assert (0); - return 0; /* Shut up stupid compiler. */ -} - - -/* - * Tiny stuff. - */ - -/* ASCII tag/character handling */ -static inline bool ISALPHA (unsigned char c) -{ return (c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z'); } -static inline bool ISALNUM (unsigned char c) -{ return (c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z') || (c >= '0' && c <= '9'); } -static inline bool ISSPACE (unsigned char c) -{ return c == ' ' || c =='\f'|| c =='\n'|| c =='\r'|| c =='\t'|| c =='\v'; } -static inline unsigned char TOUPPER (unsigned char c) -{ return (c >= 'a' && c <= 'z') ? c - 'a' + 'A' : c; } -static inline unsigned char TOLOWER (unsigned char c) -{ return (c >= 'A' && c <= 'Z') ? c - 'A' + 'a' : c; } -static inline bool ISHEX (unsigned char c) -{ return (c >= '0' && c <= '9') || (c >= 'a' && c <= 'f') || (c >= 'A' && c <= 'F'); } -static inline unsigned char TOHEX (uint8_t c) -{ return (c & 0xF) <= 9 ? (c & 0xF) + '0' : (c & 0xF) + 'a' - 10; } -static inline uint8_t FROMHEX (unsigned char c) -{ return (c >= '0' && c <= '9') ? c - '0' : TOLOWER (c) - 'a' + 10; } - -static inline unsigned int DIV_CEIL (const unsigned int a, unsigned int b) -{ return (a + (b - 1)) / b; } - - -#undef ARRAY_LENGTH -template -static inline unsigned int ARRAY_LENGTH (const Type (&)[n]) { return n; } -/* A const version, but does not detect erratically being called on pointers. */ -#define ARRAY_LENGTH_CONST(__array) ((signed int) (sizeof (__array) / sizeof (__array[0]))) - - -static inline void * -hb_memcpy (void *__restrict dst, const void *__restrict src, size_t len) -{ - /* It's illegal to pass 0 as size to memcpy. */ - if (unlikely (!len)) return dst; - return memcpy (dst, src, len); -} - -static inline int -hb_memcmp (const void *a, const void *b, unsigned int len) -{ - /* It's illegal to pass NULL to memcmp(), even if len is zero. - * So, wrap it. - * https://sourceware.org/bugzilla/show_bug.cgi?id=23878 */ - if (unlikely (!len)) return 0; - return memcmp (a, b, len); -} - -static inline void * -hb_memset (void *s, int c, unsigned int n) -{ - /* It's illegal to pass NULL to memset(), even if n is zero. */ - if (unlikely (!n)) return 0; - return memset (s, c, n); -} - -static inline unsigned int -hb_ceil_to_4 (unsigned int v) -{ - return ((v - 1) | 3) + 1; -} - -template static inline bool -hb_in_range (T u, T lo, T hi) -{ - static_assert (!std::is_signed::value, ""); - - /* The casts below are important as if T is smaller than int, - * the subtract results will become a signed int! */ - return (T)(u - lo) <= (T)(hi - lo); -} -template static inline bool -hb_in_ranges (T u, T lo1, T hi1, T lo2, T hi2) -{ - return hb_in_range (u, lo1, hi1) || hb_in_range (u, lo2, hi2); -} -template static inline bool -hb_in_ranges (T u, T lo1, T hi1, T lo2, T hi2, T lo3, T hi3) -{ - return hb_in_range (u, lo1, hi1) || hb_in_range (u, lo2, hi2) || hb_in_range (u, lo3, hi3); -} - - -/* - * Overflow checking. - */ - -/* Consider __builtin_mul_overflow use here also */ -static inline bool -hb_unsigned_mul_overflows (unsigned int count, unsigned int size) -{ - return (size > 0) && (count >= ((unsigned int) -1) / size); -} - - -/* - * Sort and search. - */ - -template -static int -_hb_cmp_method (const void *pkey, const void *pval, Ts... ds) -{ - const K& key = * (const K*) pkey; - const V& val = * (const V*) pval; - - return val.cmp (key, ds...); -} - -template -static inline bool -hb_bsearch_impl (unsigned *pos, /* Out */ - const K& key, - V* base, size_t nmemb, size_t stride, - int (*compar)(const void *_key, const void *_item, Ts... _ds), - Ts... ds) -{ - /* This is our *only* bsearch implementation. */ - - int min = 0, max = (int) nmemb - 1; - while (min <= max) - { - int mid = ((unsigned int) min + (unsigned int) max) / 2; -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wcast-align" - V* p = (V*) (((const char *) base) + (mid * stride)); -#pragma GCC diagnostic pop - int c = compar ((const void *) hb_addressof (key), (const void *) p, ds...); - if (c < 0) - max = mid - 1; - else if (c > 0) - min = mid + 1; - else - { - *pos = mid; - return true; - } - } - *pos = min; - return false; -} - -template -static inline V* -hb_bsearch (const K& key, V* base, - size_t nmemb, size_t stride = sizeof (V), - int (*compar)(const void *_key, const void *_item) = _hb_cmp_method) -{ - unsigned pos; -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wcast-align" - return hb_bsearch_impl (&pos, key, base, nmemb, stride, compar) ? - (V*) (((const char *) base) + (pos * stride)) : nullptr; -#pragma GCC diagnostic pop -} -template -static inline V* -hb_bsearch (const K& key, V* base, - size_t nmemb, size_t stride, - int (*compar)(const void *_key, const void *_item, Ts... _ds), - Ts... ds) -{ - unsigned pos; -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wcast-align" - return hb_bsearch_impl (&pos, key, base, nmemb, stride, compar, ds...) ? - (V*) (((const char *) base) + (pos * stride)) : nullptr; -#pragma GCC diagnostic pop -} - - -/* From https://github.com/noporpoise/sort_r - Feb 5, 2019 (c8c65c1e) - Modified to support optional argument using templates */ - -/* Isaac Turner 29 April 2014 Public Domain */ - -/* -hb_qsort function to be exported. -Parameters: - base is the array to be sorted - nel is the number of elements in the array - width is the size in bytes of each element of the array - compar is the comparison function - arg (optional) is a pointer to be passed to the comparison function - -void hb_qsort(void *base, size_t nel, size_t width, - int (*compar)(const void *_a, const void *_b, [void *_arg]), - [void *arg]); -*/ - -#define SORT_R_SWAP(a,b,tmp) ((tmp) = (a), (a) = (b), (b) = (tmp)) - -/* swap a and b */ -/* a and b must not be equal! */ -static inline void sort_r_swap(char *__restrict a, char *__restrict b, - size_t w) -{ - char tmp, *end = a+w; - for(; a < end; a++, b++) { SORT_R_SWAP(*a, *b, tmp); } -} - -/* swap a, b iff a>b */ -/* a and b must not be equal! */ -/* __restrict is same as restrict but better support on old machines */ -template -static inline int sort_r_cmpswap(char *__restrict a, - char *__restrict b, size_t w, - int (*compar)(const void *_a, - const void *_b, - Ts... _ds), - Ts... ds) -{ - if(compar(a, b, ds...) > 0) { - sort_r_swap(a, b, w); - return 1; - } - return 0; -} - -/* -Swap consecutive blocks of bytes of size na and nb starting at memory addr ptr, -with the smallest swap so that the blocks are in the opposite order. Blocks may -be internally re-ordered e.g. - 12345ab -> ab34512 - 123abc -> abc123 - 12abcde -> deabc12 -*/ -static inline void sort_r_swap_blocks(char *ptr, size_t na, size_t nb) -{ - if(na > 0 && nb > 0) { - if(na > nb) { sort_r_swap(ptr, ptr+na, nb); } - else { sort_r_swap(ptr, ptr+nb, na); } - } -} - -/* Implement recursive quicksort ourselves */ -/* Note: quicksort is not stable, equivalent values may be swapped */ -template -static inline void sort_r_simple(void *base, size_t nel, size_t w, - int (*compar)(const void *_a, - const void *_b, - Ts... _ds), - Ts... ds) -{ - char *b = (char *)base, *end = b + nel*w; - - /* for(size_t i=0; i b && sort_r_cmpswap(pj-w,pj,w,compar,ds...); pj -= w) {} - } - } - else - { - /* nel > 9; Quicksort */ - - int cmp; - char *pl, *ple, *pr, *pre, *pivot; - char *last = b+w*(nel-1), *tmp; - - /* - Use median of second, middle and second-last items as pivot. - First and last may have been swapped with pivot and therefore be extreme - */ - char *l[3]; - l[0] = b + w; - l[1] = b+w*(nel/2); - l[2] = last - w; - - /* printf("pivots: %i, %i, %i\n", *(int*)l[0], *(int*)l[1], *(int*)l[2]); */ - - if(compar(l[0],l[1],ds...) > 0) { SORT_R_SWAP(l[0], l[1], tmp); } - if(compar(l[1],l[2],ds...) > 0) { - SORT_R_SWAP(l[1], l[2], tmp); - if(compar(l[0],l[1],ds...) > 0) { SORT_R_SWAP(l[0], l[1], tmp); } - } - - /* swap mid value (l[1]), and last element to put pivot as last element */ - if(l[1] != last) { sort_r_swap(l[1], last, w); } - - /* - pl is the next item on the left to be compared to the pivot - pr is the last item on the right that was compared to the pivot - ple is the left position to put the next item that equals the pivot - ple is the last right position where we put an item that equals the pivot - v- end (beyond the array) - EEEEEELLLLLLLLuuuuuuuuGGGGGGGEEEEEEEE. - ^- b ^- ple ^- pl ^- pr ^- pre ^- last (where the pivot is) - Pivot comparison key: - E = equal, L = less than, u = unknown, G = greater than, E = equal - */ - pivot = last; - ple = pl = b; - pre = pr = last; - - /* - Strategy: - Loop into the list from the left and right at the same time to find: - - an item on the left that is greater than the pivot - - an item on the right that is less than the pivot - Once found, they are swapped and the loop continues. - Meanwhile items that are equal to the pivot are moved to the edges of the - array. - */ - while(pl < pr) { - /* Move left hand items which are equal to the pivot to the far left. - break when we find an item that is greater than the pivot */ - for(; pl < pr; pl += w) { - cmp = compar(pl, pivot, ds...); - if(cmp > 0) { break; } - else if(cmp == 0) { - if(ple < pl) { sort_r_swap(ple, pl, w); } - ple += w; - } - } - /* break if last batch of left hand items were equal to pivot */ - if(pl >= pr) { break; } - /* Move right hand items which are equal to the pivot to the far right. - break when we find an item that is less than the pivot */ - for(; pl < pr; ) { - pr -= w; /* Move right pointer onto an unprocessed item */ - cmp = compar(pr, pivot, ds...); - if(cmp == 0) { - pre -= w; - if(pr < pre) { sort_r_swap(pr, pre, w); } - } - else if(cmp < 0) { - if(pl < pr) { sort_r_swap(pl, pr, w); } - pl += w; - break; - } - } - } - - pl = pr; /* pr may have gone below pl */ - - /* - Now we need to go from: EEELLLGGGGEEEE - to: LLLEEEEEEEGGGG - Pivot comparison key: - E = equal, L = less than, u = unknown, G = greater than, E = equal - */ - sort_r_swap_blocks(b, ple-b, pl-ple); - sort_r_swap_blocks(pr, pre-pr, end-pre); - - /*for(size_t i=0; i static inline void -hb_stable_sort (T *array, unsigned int len, int(*compar)(const T2 *, const T2 *), T3 *array2) -{ - for (unsigned int i = 1; i < len; i++) - { - unsigned int j = i; - while (j && compar (&array[j - 1], &array[i]) > 0) - j--; - if (i == j) - continue; - /* Move item i to occupy place for item j, shift what's in between. */ - { - T t = array[i]; - memmove (&array[j + 1], &array[j], (i - j) * sizeof (T)); - array[j] = t; - } - if (array2) - { - T3 t = array2[i]; - memmove (&array2[j + 1], &array2[j], (i - j) * sizeof (T3)); - array2[j] = t; - } - } -} - -template static inline void -hb_stable_sort (T *array, unsigned int len, int(*compar)(const T *, const T *)) -{ - hb_stable_sort (array, len, compar, (int *) nullptr); -} - -static inline hb_bool_t -hb_codepoint_parse (const char *s, unsigned int len, int base, hb_codepoint_t *out) -{ - unsigned int v; - const char *p = s; - const char *end = p + len; - if (unlikely (!hb_parse_uint (&p, end, &v, true/* whole buffer */, base))) - return false; - - *out = v; - return true; -} - - -/* Operators. */ - -struct -{ HB_PARTIALIZE(2); - template constexpr auto - operator () (const T &a, const T &b) const HB_AUTO_RETURN (a & b) -} -HB_FUNCOBJ (hb_bitwise_and); -struct -{ HB_PARTIALIZE(2); - template constexpr auto - operator () (const T &a, const T &b) const HB_AUTO_RETURN (a | b) -} -HB_FUNCOBJ (hb_bitwise_or); -struct -{ HB_PARTIALIZE(2); - template constexpr auto - operator () (const T &a, const T &b) const HB_AUTO_RETURN (a ^ b) -} -HB_FUNCOBJ (hb_bitwise_xor); -struct -{ HB_PARTIALIZE(2); - template constexpr auto - operator () (const T &a, const T &b) const HB_AUTO_RETURN (~a & b) -} -HB_FUNCOBJ (hb_bitwise_lt); -struct -{ HB_PARTIALIZE(2); - template constexpr auto - operator () (const T &a, const T &b) const HB_AUTO_RETURN (a & ~b) -} -HB_FUNCOBJ (hb_bitwise_gt); // aka sub -struct -{ HB_PARTIALIZE(2); - template constexpr auto - operator () (const T &a, const T &b) const HB_AUTO_RETURN (~a | b) -} -HB_FUNCOBJ (hb_bitwise_le); -struct -{ HB_PARTIALIZE(2); - template constexpr auto - operator () (const T &a, const T &b) const HB_AUTO_RETURN (a | ~b) -} -HB_FUNCOBJ (hb_bitwise_ge); -struct -{ - template constexpr auto - operator () (const T &a) const HB_AUTO_RETURN (~a) -} -HB_FUNCOBJ (hb_bitwise_neg); - -struct -{ HB_PARTIALIZE(2); - template constexpr auto - operator () (const T &a, const T2 &b) const HB_AUTO_RETURN (a + b) -} -HB_FUNCOBJ (hb_add); -struct -{ HB_PARTIALIZE(2); - template constexpr auto - operator () (const T &a, const T2 &b) const HB_AUTO_RETURN (a - b) -} -HB_FUNCOBJ (hb_sub); -struct -{ HB_PARTIALIZE(2); - template constexpr auto - operator () (const T &a, const T2 &b) const HB_AUTO_RETURN (b - a) -} -HB_FUNCOBJ (hb_rsub); -struct -{ HB_PARTIALIZE(2); - template constexpr auto - operator () (const T &a, const T2 &b) const HB_AUTO_RETURN (a * b) -} -HB_FUNCOBJ (hb_mul); -struct -{ HB_PARTIALIZE(2); - template constexpr auto - operator () (const T &a, const T2 &b) const HB_AUTO_RETURN (a / b) -} -HB_FUNCOBJ (hb_div); -struct -{ HB_PARTIALIZE(2); - template constexpr auto - operator () (const T &a, const T2 &b) const HB_AUTO_RETURN (a % b) -} -HB_FUNCOBJ (hb_mod); -struct -{ - template constexpr auto - operator () (const T &a) const HB_AUTO_RETURN (+a) -} -HB_FUNCOBJ (hb_pos); -struct -{ - template constexpr auto - operator () (const T &a) const HB_AUTO_RETURN (-a) -} -HB_FUNCOBJ (hb_neg); -struct -{ - template constexpr auto - operator () (T &a) const HB_AUTO_RETURN (++a) -} -HB_FUNCOBJ (hb_inc); -struct -{ - template constexpr auto - operator () (T &a) const HB_AUTO_RETURN (--a) -} -HB_FUNCOBJ (hb_dec); - - -/* Compiler-assisted vectorization. */ - -/* Type behaving similar to vectorized vars defined using __attribute__((vector_size(...))), - * basically a fixed-size bitset. */ -template -struct hb_vector_size_t -{ - elt_t& operator [] (unsigned int i) { return v[i]; } - const elt_t& operator [] (unsigned int i) const { return v[i]; } - - void clear (unsigned char v = 0) { memset (this, v, sizeof (*this)); } - - template - hb_vector_size_t process (const Op& op) const - { - hb_vector_size_t r; - for (unsigned int i = 0; i < ARRAY_LENGTH (v); i++) - r.v[i] = op (v[i]); - return r; - } - template - hb_vector_size_t process (const Op& op, const hb_vector_size_t &o) const - { - hb_vector_size_t r; - for (unsigned int i = 0; i < ARRAY_LENGTH (v); i++) - r.v[i] = op (v[i], o.v[i]); - return r; - } - hb_vector_size_t operator | (const hb_vector_size_t &o) const - { return process (hb_bitwise_or, o); } - hb_vector_size_t operator & (const hb_vector_size_t &o) const - { return process (hb_bitwise_and, o); } - hb_vector_size_t operator ^ (const hb_vector_size_t &o) const - { return process (hb_bitwise_xor, o); } - hb_vector_size_t operator ~ () const - { return process (hb_bitwise_neg); } - - private: - static_assert (0 == byte_size % sizeof (elt_t), ""); - elt_t v[byte_size / sizeof (elt_t)]; -}; - - -#endif /* HB_ALGS_HH */ diff --git a/harfbuzz/src/hb-array.hh b/harfbuzz/src/hb-array.hh deleted file mode 100644 index 0beffb0..0000000 --- a/harfbuzz/src/hb-array.hh +++ /dev/null @@ -1,439 +0,0 @@ -/* - * Copyright © 2018 Google, Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Google Author(s): Behdad Esfahbod - */ - -#ifndef HB_ARRAY_HH -#define HB_ARRAY_HH - -#include "hb.hh" -#include "hb-algs.hh" -#include "hb-iter.hh" -#include "hb-null.hh" - - -template -struct hb_sorted_array_t; - -enum hb_not_found_t -{ - HB_NOT_FOUND_DONT_STORE, - HB_NOT_FOUND_STORE, - HB_NOT_FOUND_STORE_CLOSEST, -}; - - -template -struct hb_array_t : hb_iter_with_fallback_t, Type&> -{ - /* - * Constructors. - */ - hb_array_t () = default; - hb_array_t (const hb_array_t&) = default; - ~hb_array_t () = default; - hb_array_t& operator= (const hb_array_t&) = default; - hb_array_t& operator= (hb_array_t&&) = default; - - constexpr hb_array_t (std::nullptr_t) : hb_array_t () {} - constexpr hb_array_t (Type *array_, unsigned int length_) : arrayZ (array_), length (length_) {} - template - constexpr hb_array_t (Type (&array_)[length_]) : hb_array_t (array_, length_) {} - - template - constexpr hb_array_t (const hb_array_t &o) : - hb_iter_with_fallback_t (), - arrayZ (o.arrayZ), length (o.length), backwards_length (o.backwards_length) {} - template - hb_array_t& operator = (const hb_array_t &o) - { arrayZ = o.arrayZ; length = o.length; backwards_length = o.backwards_length; return *this; } - - /* - * Iterator implementation. - */ - typedef Type& __item_t__; - static constexpr bool is_random_access_iterator = true; - Type& __item_at__ (unsigned i) const - { - if (unlikely (i >= length)) return CrapOrNull (Type); - return arrayZ[i]; - } - void __forward__ (unsigned n) - { - if (unlikely (n > length)) - n = length; - length -= n; - backwards_length += n; - arrayZ += n; - } - void __rewind__ (unsigned n) - { - if (unlikely (n > backwards_length)) - n = backwards_length; - length += n; - backwards_length -= n; - arrayZ -= n; - } - unsigned __len__ () const { return length; } - /* Ouch. The operator== compares the contents of the array. For range-based for loops, - * it's best if we can just compare arrayZ, though comparing contents is still fast, - * but also would require that Type has operator==. As such, we optimize this operator - * for range-based for loop and just compare arrayZ. No need to compare length, as we - * assume we're only compared to .end(). */ - bool operator != (const hb_array_t& o) const - { return arrayZ != o.arrayZ; } - - /* Extra operators. - */ - Type * operator & () const { return arrayZ; } - operator hb_array_t () { return hb_array_t (arrayZ, length); } - template operator T * () const { return arrayZ; } - - HB_INTERNAL bool operator == (const hb_array_t &o) const; - - uint32_t hash () const { - uint32_t current = 0; - for (unsigned int i = 0; i < this->length; i++) { - current = current * 31 + hb_hash (this->arrayZ[i]); - } - return current; - } - - /* - * Compare, Sort, and Search. - */ - - /* Note: our compare is NOT lexicographic; it also does NOT call Type::cmp. */ - int cmp (const hb_array_t &a) const - { - if (length != a.length) - return (int) a.length - (int) length; - return hb_memcmp (a.arrayZ, arrayZ, get_size ()); - } - HB_INTERNAL static int cmp (const void *pa, const void *pb) - { - hb_array_t *a = (hb_array_t *) pa; - hb_array_t *b = (hb_array_t *) pb; - return b->cmp (*a); - } - - template - Type *lsearch (const T &x, Type *not_found = nullptr) - { - unsigned i; - return lfind (x, &i) ? &this->arrayZ[i] : not_found; - } - template - const Type *lsearch (const T &x, const Type *not_found = nullptr) const - { - unsigned i; - return lfind (x, &i) ? &this->arrayZ[i] : not_found; - } - template - bool lfind (const T &x, unsigned *pos = nullptr, - hb_not_found_t not_found = HB_NOT_FOUND_DONT_STORE, - unsigned int to_store = (unsigned int) -1) const - { - for (unsigned i = 0; i < length; ++i) - if (hb_equal (x, this->arrayZ[i])) - { - if (pos) - *pos = i; - return true; - } - - if (pos) - { - switch (not_found) - { - case HB_NOT_FOUND_DONT_STORE: - break; - - case HB_NOT_FOUND_STORE: - *pos = to_store; - break; - - case HB_NOT_FOUND_STORE_CLOSEST: - *pos = length; - break; - } - } - return false; - } - - hb_sorted_array_t qsort (int (*cmp_)(const void*, const void*)) - { - if (likely (length)) - hb_qsort (arrayZ, length, this->get_item_size (), cmp_); - return hb_sorted_array_t (*this); - } - hb_sorted_array_t qsort () - { - if (likely (length)) - hb_qsort (arrayZ, length, this->get_item_size (), Type::cmp); - return hb_sorted_array_t (*this); - } - void qsort (unsigned int start, unsigned int end) - { - end = hb_min (end, length); - assert (start <= end); - if (likely (start < end)) - hb_qsort (arrayZ + start, end - start, this->get_item_size (), Type::cmp); - } - - /* - * Other methods. - */ - - unsigned int get_size () const { return length * this->get_item_size (); } - - /* - * Reverse the order of items in this array in the range [start, end). - */ - void reverse (unsigned start = 0, unsigned end = -1) - { - start = hb_min (start, length); - end = hb_min (end, length); - - if (end < start + 2) - return; - - for (unsigned lhs = start, rhs = end - 1; lhs < rhs; lhs++, rhs--) { - Type temp = arrayZ[rhs]; - arrayZ[rhs] = arrayZ[lhs]; - arrayZ[lhs] = temp; - } - } - - hb_array_t sub_array (unsigned int start_offset = 0, unsigned int *seg_count = nullptr /* IN/OUT */) const - { - if (!start_offset && !seg_count) - return *this; - - unsigned int count = length; - if (unlikely (start_offset > count)) - count = 0; - else - count -= start_offset; - if (seg_count) - count = *seg_count = hb_min (count, *seg_count); - return hb_array_t (arrayZ + start_offset, count); - } - hb_array_t sub_array (unsigned int start_offset, unsigned int seg_count) const - { return sub_array (start_offset, &seg_count); } - - hb_array_t truncate (unsigned length) const { return sub_array (0, length); } - - template - const T *as () const - { return length < hb_min_size (T) ? &Null (T) : reinterpret_cast (arrayZ); } - - template - bool check_range (const T *p, unsigned int size = T::static_size) const - { - return arrayZ <= ((const char *) p) - && ((const char *) p) <= arrayZ + length - && (unsigned int) (arrayZ + length - (const char *) p) >= size; - } - - /* Only call if you allocated the underlying array using hb_malloc() or similar. */ - void fini () - { hb_free ((void *) arrayZ); arrayZ = nullptr; length = 0; } - - template - hb_array_t copy (hb_serialize_context_t *c) const - { - TRACE_SERIALIZE (this); - auto* out = c->start_embed (arrayZ); - if (unlikely (!c->extend_size (out, get_size ()))) return_trace (hb_array_t ()); - for (unsigned i = 0; i < length; i++) - out[i] = arrayZ[i]; /* TODO: add version that calls c->copy() */ - return_trace (hb_array_t (out, length)); - } - - template - bool sanitize (hb_sanitize_context_t *c) const - { return c->check_array (arrayZ, length); } - - /* - * Members - */ - - public: - Type *arrayZ = nullptr; - unsigned int length = 0; - unsigned int backwards_length = 0; -}; -template inline hb_array_t -hb_array (T *array, unsigned int length) -{ return hb_array_t (array, length); } -template inline hb_array_t -hb_array (T (&array_)[length_]) -{ return hb_array_t (array_); } - -template -struct hb_sorted_array_t : - hb_iter_t, Type&>, - hb_array_t -{ - typedef hb_iter_t iter_base_t; - HB_ITER_USING (iter_base_t); - static constexpr bool is_random_access_iterator = true; - static constexpr bool is_sorted_iterator = true; - - hb_sorted_array_t () = default; - hb_sorted_array_t (const hb_sorted_array_t&) = default; - ~hb_sorted_array_t () = default; - hb_sorted_array_t& operator= (const hb_sorted_array_t&) = default; - hb_sorted_array_t& operator= (hb_sorted_array_t&&) = default; - - constexpr hb_sorted_array_t (std::nullptr_t) : hb_sorted_array_t () {} - constexpr hb_sorted_array_t (Type *array_, unsigned int length_) : hb_array_t (array_, length_) {} - template - constexpr hb_sorted_array_t (Type (&array_)[length_]) : hb_array_t (array_) {} - - template - constexpr hb_sorted_array_t (const hb_array_t &o) : - hb_iter_t (), - hb_array_t (o) {} - template - hb_sorted_array_t& operator = (const hb_array_t &o) - { hb_array_t (*this) = o; return *this; } - - /* Iterator implementation. */ - bool operator != (const hb_sorted_array_t& o) const - { return this->arrayZ != o.arrayZ || this->length != o.length; } - - hb_sorted_array_t sub_array (unsigned int start_offset, unsigned int *seg_count /* IN/OUT */) const - { return hb_sorted_array_t (((const hb_array_t *) (this))->sub_array (start_offset, seg_count)); } - hb_sorted_array_t sub_array (unsigned int start_offset, unsigned int seg_count) const - { return sub_array (start_offset, &seg_count); } - - hb_sorted_array_t truncate (unsigned length) const { return sub_array (0, length); } - - template - Type *bsearch (const T &x, Type *not_found = nullptr) - { - unsigned int i; - return bfind (x, &i) ? &this->arrayZ[i] : not_found; - } - template - const Type *bsearch (const T &x, const Type *not_found = nullptr) const - { - unsigned int i; - return bfind (x, &i) ? &this->arrayZ[i] : not_found; - } - template - bool bfind (const T &x, unsigned int *i = nullptr, - hb_not_found_t not_found = HB_NOT_FOUND_DONT_STORE, - unsigned int to_store = (unsigned int) -1) const - { - unsigned pos; - - if (bsearch_impl (x, &pos)) - { - if (i) - *i = pos; - return true; - } - - if (i) - { - switch (not_found) - { - case HB_NOT_FOUND_DONT_STORE: - break; - - case HB_NOT_FOUND_STORE: - *i = to_store; - break; - - case HB_NOT_FOUND_STORE_CLOSEST: - *i = pos; - break; - } - } - return false; - } - template - bool bsearch_impl (const T &x, unsigned *pos) const - { - return hb_bsearch_impl (pos, - x, - this->arrayZ, - this->length, - sizeof (Type), - _hb_cmp_method); - } -}; -template inline hb_sorted_array_t -hb_sorted_array (T *array, unsigned int length) -{ return hb_sorted_array_t (array, length); } -template inline hb_sorted_array_t -hb_sorted_array (T (&array_)[length_]) -{ return hb_sorted_array_t (array_); } - -template -bool hb_array_t::operator == (const hb_array_t &o) const -{ - if (o.length != this->length) return false; - for (unsigned int i = 0; i < this->length; i++) { - if (this->arrayZ[i] != o.arrayZ[i]) return false; - } - return true; -} - -/* TODO Specialize opeator== for hb_bytes_t and hb_ubytes_t. */ - -template <> -inline uint32_t hb_array_t::hash () const { - uint32_t current = 0; - for (unsigned int i = 0; i < this->length; i++) - current = current * 31 + (uint32_t) (this->arrayZ[i] * 2654435761u); - return current; -} - -template <> -inline uint32_t hb_array_t::hash () const { - uint32_t current = 0; - for (unsigned int i = 0; i < this->length; i++) - current = current * 31 + (uint32_t) (this->arrayZ[i] * 2654435761u); - return current; -} - - -typedef hb_array_t hb_bytes_t; -typedef hb_array_t hb_ubytes_t; - - - -#endif /* HB_ARRAY_HH */ diff --git a/harfbuzz/src/hb-atomic.hh b/harfbuzz/src/hb-atomic.hh deleted file mode 100644 index e640d1b..0000000 --- a/harfbuzz/src/hb-atomic.hh +++ /dev/null @@ -1,180 +0,0 @@ -/* - * Copyright © 2007 Chris Wilson - * Copyright © 2009,2010 Red Hat, Inc. - * Copyright © 2011,2012 Google, Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Contributor(s): - * Chris Wilson - * Red Hat Author(s): Behdad Esfahbod - * Google Author(s): Behdad Esfahbod - */ - -#ifndef HB_ATOMIC_HH -#define HB_ATOMIC_HH - -#include "hb.hh" -#include "hb-meta.hh" - - -/* - * Atomic integers and pointers. - */ - - -/* We need external help for these */ - -#if defined(hb_atomic_int_impl_add) \ - && defined(hb_atomic_ptr_impl_get) \ - && defined(hb_atomic_ptr_impl_cmpexch) - -/* Defined externally, i.e. in config.h. */ - - -#elif !defined(HB_NO_MT) && defined(__ATOMIC_ACQUIRE) - -/* C++11-style GCC primitives. We prefer these as they don't require linking to libstdc++ / libc++. */ - -#define _hb_memory_barrier() __sync_synchronize () - -#define hb_atomic_int_impl_add(AI, V) __atomic_fetch_add ((AI), (V), __ATOMIC_ACQ_REL) -#define hb_atomic_int_impl_set_relaxed(AI, V) __atomic_store_n ((AI), (V), __ATOMIC_RELAXED) -#define hb_atomic_int_impl_set(AI, V) __atomic_store_n ((AI), (V), __ATOMIC_RELEASE) -#define hb_atomic_int_impl_get_relaxed(AI) __atomic_load_n ((AI), __ATOMIC_RELAXED) -#define hb_atomic_int_impl_get(AI) __atomic_load_n ((AI), __ATOMIC_ACQUIRE) - -#define hb_atomic_ptr_impl_set_relaxed(P, V) __atomic_store_n ((P), (V), __ATOMIC_RELAXED) -#define hb_atomic_ptr_impl_get_relaxed(P) __atomic_load_n ((P), __ATOMIC_RELAXED) -#define hb_atomic_ptr_impl_get(P) __atomic_load_n ((P), __ATOMIC_ACQUIRE) -static inline bool -_hb_atomic_ptr_impl_cmplexch (const void **P, const void *O_, const void *N) -{ - const void *O = O_; // Need lvalue - return __atomic_compare_exchange_n ((void **) P, (void **) &O, (void *) N, true, __ATOMIC_ACQ_REL, __ATOMIC_RELAXED); -} -#define hb_atomic_ptr_impl_cmpexch(P,O,N) _hb_atomic_ptr_impl_cmplexch ((const void **) (P), (O), (N)) - - -#elif !defined(HB_NO_MT) - -/* C++11 atomics. */ - -#include - -#define _hb_memory_barrier() std::atomic_thread_fence(std::memory_order_ack_rel) -#define _hb_memory_r_barrier() std::atomic_thread_fence(std::memory_order_acquire) -#define _hb_memory_w_barrier() std::atomic_thread_fence(std::memory_order_release) - -#define hb_atomic_int_impl_add(AI, V) (reinterpret_cast *> (AI)->fetch_add ((V), std::memory_order_acq_rel)) -#define hb_atomic_int_impl_set_relaxed(AI, V) (reinterpret_cast *> (AI)->store ((V), std::memory_order_relaxed)) -#define hb_atomic_int_impl_set(AI, V) (reinterpret_cast *> (AI)->store ((V), std::memory_order_release)) -#define hb_atomic_int_impl_get_relaxed(AI) (reinterpret_cast const *> (AI)->load (std::memory_order_relaxed)) -#define hb_atomic_int_impl_get(AI) (reinterpret_cast const *> (AI)->load (std::memory_order_acquire)) - -#define hb_atomic_ptr_impl_set_relaxed(P, V) (reinterpret_cast *> (P)->store ((V), std::memory_order_relaxed)) -#define hb_atomic_ptr_impl_get_relaxed(P) (reinterpret_cast const *> (P)->load (std::memory_order_relaxed)) -#define hb_atomic_ptr_impl_get(P) (reinterpret_cast *> (P)->load (std::memory_order_acquire)) -static inline bool -_hb_atomic_ptr_impl_cmplexch (const void **P, const void *O_, const void *N) -{ - const void *O = O_; // Need lvalue - return reinterpret_cast *> (P)->compare_exchange_weak (O, N, std::memory_order_acq_rel, std::memory_order_relaxed); -} -#define hb_atomic_ptr_impl_cmpexch(P,O,N) _hb_atomic_ptr_impl_cmplexch ((const void **) (P), (O), (N)) - - -#else /* defined(HB_NO_MT) */ - -#define hb_atomic_int_impl_add(AI, V) ((*(AI) += (V)) - (V)) -#define _hb_memory_barrier() do {} while (0) -#define hb_atomic_ptr_impl_cmpexch(P,O,N) (* (void **) (P) == (void *) (O) ? (* (void **) (P) = (void *) (N), true) : false) - -#endif - - -#ifndef _hb_memory_r_barrier -#define _hb_memory_r_barrier() _hb_memory_barrier () -#endif -#ifndef _hb_memory_w_barrier -#define _hb_memory_w_barrier() _hb_memory_barrier () -#endif -#ifndef hb_atomic_int_impl_set_relaxed -#define hb_atomic_int_impl_set_relaxed(AI, V) (*(AI) = (V)) -#endif -#ifndef hb_atomic_int_impl_get_relaxed -#define hb_atomic_int_impl_get_relaxed(AI) (*(AI)) -#endif - -#ifndef hb_atomic_ptr_impl_set_relaxed -#define hb_atomic_ptr_impl_set_relaxed(P, V) (*(P) = (V)) -#endif -#ifndef hb_atomic_ptr_impl_get_relaxed -#define hb_atomic_ptr_impl_get_relaxed(P) (*(P)) -#endif -#ifndef hb_atomic_int_impl_set -inline void hb_atomic_int_impl_set (int *AI, int v) { _hb_memory_w_barrier (); *AI = v; } -#endif -#ifndef hb_atomic_int_impl_get -inline int hb_atomic_int_impl_get (const int *AI) { int v = *AI; _hb_memory_r_barrier (); return v; } -#endif -#ifndef hb_atomic_ptr_impl_get -inline void *hb_atomic_ptr_impl_get (void ** const P) { void *v = *P; _hb_memory_r_barrier (); return v; } -#endif - - -struct hb_atomic_int_t -{ - hb_atomic_int_t () = default; - constexpr hb_atomic_int_t (int v) : v (v) {} - - void set_relaxed (int v_) { hb_atomic_int_impl_set_relaxed (&v, v_); } - void set (int v_) { hb_atomic_int_impl_set (&v, v_); } - int get_relaxed () const { return hb_atomic_int_impl_get_relaxed (&v); } - int get () const { return hb_atomic_int_impl_get (&v); } - int inc () { return hb_atomic_int_impl_add (&v, 1); } - int dec () { return hb_atomic_int_impl_add (&v, -1); } - - int v = 0; -}; - -template -struct hb_atomic_ptr_t -{ - typedef hb_remove_pointer

T; - - hb_atomic_ptr_t () = default; - constexpr hb_atomic_ptr_t (T* v) : v (v) {} - - void init (T* v_ = nullptr) { set_relaxed (v_); } - void set_relaxed (T* v_) { hb_atomic_ptr_impl_set_relaxed (&v, v_); } - T *get_relaxed () const { return (T *) hb_atomic_ptr_impl_get_relaxed (&v); } - T *get () const { return (T *) hb_atomic_ptr_impl_get ((void **) &v); } - bool cmpexch (const T *old, T *new_) const { return hb_atomic_ptr_impl_cmpexch ((void **) &v, (void *) old, (void *) new_); } - - T * operator -> () const { return get (); } - template operator C * () const { return get (); } - - T *v = nullptr; -}; - - -#endif /* HB_ATOMIC_HH */ diff --git a/harfbuzz/src/hb-bimap.hh b/harfbuzz/src/hb-bimap.hh deleted file mode 100644 index d466af8..0000000 --- a/harfbuzz/src/hb-bimap.hh +++ /dev/null @@ -1,162 +0,0 @@ -/* - * Copyright © 2019 Adobe Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Adobe Author(s): Michiharu Ariza - */ - -#ifndef HB_BIMAP_HH -#define HB_BIMAP_HH - -#include "hb.hh" -#include "hb-map.hh" - -/* Bi-directional map */ -struct hb_bimap_t -{ - /* XXX(remove) */ - void init () - { - forw_map.init (); - back_map.init (); - } - - /* XXX(remove) */ - void fini () - { - forw_map.fini (); - back_map.fini (); - } - - void reset () - { - forw_map.reset (); - back_map.reset (); - } - - bool in_error () const { return forw_map.in_error () || back_map.in_error (); } - - void set (hb_codepoint_t lhs, hb_codepoint_t rhs) - { - if (in_error ()) return; - if (unlikely (lhs == HB_MAP_VALUE_INVALID)) return; - if (unlikely (rhs == HB_MAP_VALUE_INVALID)) { del (lhs); return; } - - forw_map.set (lhs, rhs); - if (in_error ()) return; - - back_map.set (rhs, lhs); - if (in_error ()) forw_map.del (lhs); - } - - hb_codepoint_t get (hb_codepoint_t lhs) const { return forw_map.get (lhs); } - hb_codepoint_t backward (hb_codepoint_t rhs) const { return back_map.get (rhs); } - - hb_codepoint_t operator [] (hb_codepoint_t lhs) const { return get (lhs); } - bool has (hb_codepoint_t lhs, hb_codepoint_t *vp = nullptr) const { return forw_map.has (lhs, vp); } - - void del (hb_codepoint_t lhs) - { - back_map.del (get (lhs)); - forw_map.del (lhs); - } - - void clear () - { - forw_map.clear (); - back_map.clear (); - } - - bool is_empty () const { return get_population () == 0; } - - unsigned int get_population () const { return forw_map.get_population (); } - - protected: - hb_map_t forw_map; - hb_map_t back_map; -}; - -/* Inremental bimap: only lhs is given, rhs is incrementally assigned */ -struct hb_inc_bimap_t : hb_bimap_t -{ - /* Add a mapping from lhs to rhs with a unique value if lhs is unknown. - * Return the rhs value as the result. - */ - hb_codepoint_t add (hb_codepoint_t lhs) - { - hb_codepoint_t rhs = forw_map[lhs]; - if (rhs == HB_MAP_VALUE_INVALID) - { - rhs = next_value++; - set (lhs, rhs); - } - return rhs; - } - - hb_codepoint_t skip () - { return next_value++; } - - hb_codepoint_t get_next_value () const - { return next_value; } - - void add_set (const hb_set_t *set) - { - hb_codepoint_t i = HB_SET_VALUE_INVALID; - while (hb_set_next (set, &i)) add (i); - } - - /* Create an identity map. */ - bool identity (unsigned int size) - { - clear (); - for (hb_codepoint_t i = 0; i < size; i++) set (i, i); - return !in_error (); - } - - protected: - static int cmp_id (const void* a, const void* b) - { return (int)*(const hb_codepoint_t *)a - (int)*(const hb_codepoint_t *)b; } - - public: - /* Optional: after finished adding all mappings in a random order, - * reassign rhs to lhs so that they are in the same order. */ - void sort () - { - hb_codepoint_t count = get_population (); - hb_vector_t work; - work.resize (count); - - for (hb_codepoint_t rhs = 0; rhs < count; rhs++) - work[rhs] = back_map[rhs]; - - work.qsort (cmp_id); - - clear (); - for (hb_codepoint_t rhs = 0; rhs < count; rhs++) - set (work[rhs], rhs); - } - - protected: - unsigned int next_value = 0; -}; - -#endif /* HB_BIMAP_HH */ diff --git a/harfbuzz/src/hb-bit-page.hh b/harfbuzz/src/hb-bit-page.hh deleted file mode 100644 index 263be3d..0000000 --- a/harfbuzz/src/hb-bit-page.hh +++ /dev/null @@ -1,203 +0,0 @@ -/* - * Copyright © 2012,2017 Google, Inc. - * Copyright © 2021 Behdad Esfahbod - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Google Author(s): Behdad Esfahbod - */ - -#ifndef HB_BIT_PAGE_HH -#define HB_BIT_PAGE_HH - -#include "hb.hh" - -struct hb_bit_page_t -{ - void init0 () { v.clear (); } - void init1 () { v.clear (0xFF); } - - constexpr unsigned len () const - { return ARRAY_LENGTH_CONST (v); } - - bool is_empty () const - { - for (unsigned int i = 0; i < len (); i++) - if (v[i]) - return false; - return true; - } - - void add (hb_codepoint_t g) { elt (g) |= mask (g); } - void del (hb_codepoint_t g) { elt (g) &= ~mask (g); } - void set (hb_codepoint_t g, bool v) { if (v) add (g); else del (g); } - bool get (hb_codepoint_t g) const { return elt (g) & mask (g); } - - void add_range (hb_codepoint_t a, hb_codepoint_t b) - { - elt_t *la = &elt (a); - elt_t *lb = &elt (b); - if (la == lb) - *la |= (mask (b) << 1) - mask(a); - else - { - *la |= ~(mask (a) - 1); - la++; - - memset (la, 0xff, (char *) lb - (char *) la); - - *lb |= ((mask (b) << 1) - 1); - } - } - void del_range (hb_codepoint_t a, hb_codepoint_t b) - { - elt_t *la = &elt (a); - elt_t *lb = &elt (b); - if (la == lb) - *la &= ~((mask (b) << 1) - mask(a)); - else - { - *la &= mask (a) - 1; - la++; - - memset (la, 0, (char *) lb - (char *) la); - - *lb &= ~((mask (b) << 1) - 1); - } - } - void set_range (hb_codepoint_t a, hb_codepoint_t b, bool v) - { if (v) add_range (a, b); else del_range (a, b); } - - bool is_equal (const hb_bit_page_t &other) const - { - return 0 == hb_memcmp (&v, &other.v, sizeof (v)); - } - bool is_subset (const hb_bit_page_t &larger_page) const - { - for (unsigned i = 0; i < len (); i++) - if (~larger_page.v[i] & v[i]) - return false; - return true; - } - - unsigned int get_population () const - { - unsigned int pop = 0; - for (unsigned int i = 0; i < len (); i++) - pop += hb_popcount (v[i]); - return pop; - } - - bool next (hb_codepoint_t *codepoint) const - { - unsigned int m = (*codepoint + 1) & MASK; - if (!m) - { - *codepoint = INVALID; - return false; - } - unsigned int i = m / ELT_BITS; - unsigned int j = m & ELT_MASK; - - const elt_t vv = v[i] & ~((elt_t (1) << j) - 1); - for (const elt_t *p = &vv; i < len (); p = &v[++i]) - if (*p) - { - *codepoint = i * ELT_BITS + elt_get_min (*p); - return true; - } - - *codepoint = INVALID; - return false; - } - bool previous (hb_codepoint_t *codepoint) const - { - unsigned int m = (*codepoint - 1) & MASK; - if (m == MASK) - { - *codepoint = INVALID; - return false; - } - unsigned int i = m / ELT_BITS; - unsigned int j = m & ELT_MASK; - - /* Fancy mask to avoid shifting by elt_t bitsize, which is undefined. */ - const elt_t mask = j < 8 * sizeof (elt_t) - 1 ? - ((elt_t (1) << (j + 1)) - 1) : - (elt_t) -1; - const elt_t vv = v[i] & mask; - const elt_t *p = &vv; - while (true) - { - if (*p) - { - *codepoint = i * ELT_BITS + elt_get_max (*p); - return true; - } - if ((int) i <= 0) break; - p = &v[--i]; - } - - *codepoint = INVALID; - return false; - } - hb_codepoint_t get_min () const - { - for (unsigned int i = 0; i < len (); i++) - if (v[i]) - return i * ELT_BITS + elt_get_min (v[i]); - return INVALID; - } - hb_codepoint_t get_max () const - { - for (int i = len () - 1; i >= 0; i--) - if (v[i]) - return i * ELT_BITS + elt_get_max (v[i]); - return 0; - } - - static constexpr hb_codepoint_t INVALID = HB_SET_VALUE_INVALID; - - typedef unsigned long long elt_t; - static constexpr unsigned PAGE_BITS = 512; - static_assert ((PAGE_BITS & ((PAGE_BITS) - 1)) == 0, ""); - - static unsigned int elt_get_min (const elt_t &elt) { return hb_ctz (elt); } - static unsigned int elt_get_max (const elt_t &elt) { return hb_bit_storage (elt) - 1; } - - typedef hb_vector_size_t vector_t; - - static constexpr unsigned ELT_BITS = sizeof (elt_t) * 8; - static constexpr unsigned ELT_MASK = ELT_BITS - 1; - static constexpr unsigned BITS = sizeof (vector_t) * 8; - static constexpr unsigned MASK = BITS - 1; - static_assert ((unsigned) PAGE_BITS == (unsigned) BITS, ""); - - elt_t &elt (hb_codepoint_t g) { return v[(g & MASK) / ELT_BITS]; } - const elt_t& elt (hb_codepoint_t g) const { return v[(g & MASK) / ELT_BITS]; } - static constexpr elt_t mask (hb_codepoint_t g) { return elt_t (1) << (g & ELT_MASK); } - - vector_t v; -}; -static_assert (hb_bit_page_t::PAGE_BITS == sizeof (hb_bit_page_t) * 8, ""); - - -#endif /* HB_BIT_PAGE_HH */ diff --git a/harfbuzz/src/hb-bit-set-invertible.hh b/harfbuzz/src/hb-bit-set-invertible.hh deleted file mode 100644 index 0832b0f..0000000 --- a/harfbuzz/src/hb-bit-set-invertible.hh +++ /dev/null @@ -1,364 +0,0 @@ -/* - * Copyright © 2012,2017 Google, Inc. - * Copyright © 2021 Behdad Esfahbod - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Google Author(s): Behdad Esfahbod - */ - -#ifndef HB_BIT_SET_INVERTIBLE_HH -#define HB_BIT_SET_INVERTIBLE_HH - -#include "hb.hh" -#include "hb-bit-set.hh" - - -struct hb_bit_set_invertible_t -{ - hb_bit_set_t s; - bool inverted = false; - - hb_bit_set_invertible_t () = default; - hb_bit_set_invertible_t (hb_bit_set_invertible_t& o) = default; - hb_bit_set_invertible_t (hb_bit_set_invertible_t&& o) = default; - hb_bit_set_invertible_t& operator= (const hb_bit_set_invertible_t& o) = default; - hb_bit_set_invertible_t& operator= (hb_bit_set_invertible_t&& o) = default; - friend void swap (hb_bit_set_invertible_t &a, hb_bit_set_invertible_t &b) - { - if (likely (!a.s.successful || !b.s.successful)) - return; - hb_swap (a.inverted, b.inverted); - hb_swap (a.s, b.s); - } - - void init () { s.init (); inverted = false; } - void fini () { s.fini (); } - void err () { s.err (); } - bool in_error () const { return s.in_error (); } - explicit operator bool () const { return !is_empty (); } - - void reset () - { - s.reset (); - inverted = false; - } - void clear () - { - s.clear (); - if (likely (s.successful)) - inverted = false; - } - void invert () - { - if (likely (s.successful)) - inverted = !inverted; - } - - bool is_empty () const - { - hb_codepoint_t v = INVALID; - next (&v); - return v == INVALID; - } - hb_codepoint_t get_min () const - { - hb_codepoint_t v = INVALID; - next (&v); - return v; - } - hb_codepoint_t get_max () const - { - hb_codepoint_t v = INVALID; - previous (&v); - return v; - } - unsigned int get_population () const - { return inverted ? INVALID - s.get_population () : s.get_population (); } - - - void add (hb_codepoint_t g) { unlikely (inverted) ? s.del (g) : s.add (g); } - bool add_range (hb_codepoint_t a, hb_codepoint_t b) - { return unlikely (inverted) ? (s.del_range (a, b), true) : s.add_range (a, b); } - - template - void add_array (const T *array, unsigned int count, unsigned int stride=sizeof(T)) - { inverted ? s.del_array (array, count, stride) : s.add_array (array, count, stride); } - template - void add_array (const hb_array_t& arr) { add_array (&arr, arr.len ()); } - - /* Might return false if array looks unsorted. - * Used for faster rejection of corrupt data. */ - template - bool add_sorted_array (const T *array, unsigned int count, unsigned int stride=sizeof(T)) - { return inverted ? s.del_sorted_array (array, count, stride) : s.add_sorted_array (array, count, stride); } - template - bool add_sorted_array (const hb_sorted_array_t& arr) { return add_sorted_array (&arr, arr.len ()); } - - void del (hb_codepoint_t g) { unlikely (inverted) ? s.add (g) : s.del (g); } - void del_range (hb_codepoint_t a, hb_codepoint_t b) - { unlikely (inverted) ? (void) s.add_range (a, b) : s.del_range (a, b); } - - bool get (hb_codepoint_t g) const { return s.get (g) ^ inverted; } - - /* Has interface. */ - static constexpr bool SENTINEL = false; - typedef bool value_t; - value_t operator [] (hb_codepoint_t k) const { return get (k); } - bool has (hb_codepoint_t k) const { return (*this)[k] != SENTINEL; } - /* Predicate. */ - bool operator () (hb_codepoint_t k) const { return has (k); } - - /* Sink interface. */ - hb_bit_set_invertible_t& operator << (hb_codepoint_t v) - { add (v); return *this; } - hb_bit_set_invertible_t& operator << (const hb_pair_t& range) - { add_range (range.first, range.second); return *this; } - - bool intersects (hb_codepoint_t first, hb_codepoint_t last) const - { - hb_codepoint_t c = first - 1; - return next (&c) && c <= last; - } - - void set (const hb_bit_set_invertible_t &other) - { - s.set (other.s); - if (likely (s.successful)) - inverted = other.inverted; - } - - bool is_equal (const hb_bit_set_invertible_t &other) const - { - if (likely (inverted == other.inverted)) - return s.is_equal (other.s); - else - { - /* TODO Add iter_ranges() and use here. */ - auto it1 = iter (); - auto it2 = other.iter (); - return hb_all (+ hb_zip (it1, it2) - | hb_map ([](hb_pair_t _) { return _.first == _.second; })); - } - } - - bool is_subset (const hb_bit_set_invertible_t &larger_set) const - { - if (unlikely (inverted != larger_set.inverted)) - return hb_all (hb_iter (s) | hb_map (larger_set.s)); - else - return unlikely (inverted) ? larger_set.s.is_subset (s) : s.is_subset (larger_set.s); - } - - protected: - template - void process (const Op& op, const hb_bit_set_invertible_t &other) - { s.process (op, other.s); } - public: - void union_ (const hb_bit_set_invertible_t &other) - { - if (likely (inverted == other.inverted)) - { - if (unlikely (inverted)) - process (hb_bitwise_and, other); - else - process (hb_bitwise_or, other); /* Main branch. */ - } - else - { - if (unlikely (inverted)) - process (hb_bitwise_gt, other); - else - process (hb_bitwise_lt, other); - } - if (likely (s.successful)) - inverted = inverted || other.inverted; - } - void intersect (const hb_bit_set_invertible_t &other) - { - if (likely (inverted == other.inverted)) - { - if (unlikely (inverted)) - process (hb_bitwise_or, other); - else - process (hb_bitwise_and, other); /* Main branch. */ - } - else - { - if (unlikely (inverted)) - process (hb_bitwise_lt, other); - else - process (hb_bitwise_gt, other); - } - if (likely (s.successful)) - inverted = inverted && other.inverted; - } - void subtract (const hb_bit_set_invertible_t &other) - { - if (likely (inverted == other.inverted)) - { - if (unlikely (inverted)) - process (hb_bitwise_lt, other); - else - process (hb_bitwise_gt, other); /* Main branch. */ - } - else - { - if (unlikely (inverted)) - process (hb_bitwise_or, other); - else - process (hb_bitwise_and, other); - } - if (likely (s.successful)) - inverted = inverted && !other.inverted; - } - void symmetric_difference (const hb_bit_set_invertible_t &other) - { - process (hb_bitwise_xor, other); - if (likely (s.successful)) - inverted = inverted ^ other.inverted; - } - - bool next (hb_codepoint_t *codepoint) const - { - if (likely (!inverted)) - return s.next (codepoint); - - auto old = *codepoint; - if (unlikely (old + 1 == INVALID)) - { - *codepoint = INVALID; - return false; - } - - auto v = old; - s.next (&v); - if (old + 1 < v) - { - *codepoint = old + 1; - return true; - } - - v = old; - s.next_range (&old, &v); - - *codepoint = v + 1; - return *codepoint != INVALID; - } - bool previous (hb_codepoint_t *codepoint) const - { - if (likely (!inverted)) - return s.previous (codepoint); - - auto old = *codepoint; - if (unlikely (old - 1 == INVALID)) - { - *codepoint = INVALID; - return false; - } - - auto v = old; - s.previous (&v); - - if (old - 1 > v || v == INVALID) - { - *codepoint = old - 1; - return true; - } - - v = old; - s.previous_range (&v, &old); - - *codepoint = v - 1; - return *codepoint != INVALID; - } - bool next_range (hb_codepoint_t *first, hb_codepoint_t *last) const - { - if (likely (!inverted)) - return s.next_range (first, last); - - if (!next (last)) - { - *last = *first = INVALID; - return false; - } - - *first = *last; - s.next (last); - --*last; - return true; - } - bool previous_range (hb_codepoint_t *first, hb_codepoint_t *last) const - { - if (likely (!inverted)) - return s.previous_range (first, last); - - if (!previous (first)) - { - *last = *first = INVALID; - return false; - } - - *last = *first; - s.previous (first); - ++*first; - return true; - } - - static constexpr hb_codepoint_t INVALID = hb_bit_set_t::INVALID; - - /* - * Iterator implementation. - */ - struct iter_t : hb_iter_with_fallback_t - { - static constexpr bool is_sorted_iterator = true; - iter_t (const hb_bit_set_invertible_t &s_ = Null (hb_bit_set_invertible_t), - bool init = true) : s (&s_), v (INVALID), l(0) - { - if (init) - { - l = s->get_population () + 1; - __next__ (); - } - } - - typedef hb_codepoint_t __item_t__; - hb_codepoint_t __item__ () const { return v; } - bool __more__ () const { return v != INVALID; } - void __next__ () { s->next (&v); if (l) l--; } - void __prev__ () { s->previous (&v); } - unsigned __len__ () const { return l; } - iter_t end () const { return iter_t (*s, false); } - bool operator != (const iter_t& o) const - { return s != o.s || v != o.v; } - - protected: - const hb_bit_set_invertible_t *s; - hb_codepoint_t v; - unsigned l; - }; - iter_t iter () const { return iter_t (*this); } - operator iter_t () const { return iter (); } -}; - - -#endif /* HB_BIT_SET_INVERTIBLE_HH */ diff --git a/harfbuzz/src/hb-bit-set.hh b/harfbuzz/src/hb-bit-set.hh deleted file mode 100644 index a471ee4..0000000 --- a/harfbuzz/src/hb-bit-set.hh +++ /dev/null @@ -1,817 +0,0 @@ -/* - * Copyright © 2012,2017 Google, Inc. - * Copyright © 2021 Behdad Esfahbod - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Google Author(s): Behdad Esfahbod - */ - -#ifndef HB_BIT_SET_HH -#define HB_BIT_SET_HH - -#include "hb.hh" -#include "hb-bit-page.hh" -#include "hb-machinery.hh" - - -struct hb_bit_set_t -{ - hb_bit_set_t () = default; - ~hb_bit_set_t () = default; - - hb_bit_set_t (const hb_bit_set_t& other) : hb_bit_set_t () { set (other); } - hb_bit_set_t ( hb_bit_set_t&& other) : hb_bit_set_t () { hb_swap (*this, other); } - hb_bit_set_t& operator= (const hb_bit_set_t& other) { set (other); return *this; } - hb_bit_set_t& operator= (hb_bit_set_t&& other) { hb_swap (*this, other); return *this; } - friend void swap (hb_bit_set_t &a, hb_bit_set_t &b) - { - if (likely (!a.successful || !b.successful)) - return; - hb_swap (a.population, b.population); - hb_swap (a.last_page_lookup, b.last_page_lookup); - hb_swap (a.page_map, b.page_map); - hb_swap (a.pages, b.pages); - } - - void init () - { - successful = true; - population = 0; - last_page_lookup = 0; - page_map.init (); - pages.init (); - } - void fini () - { - page_map.fini (); - pages.fini (); - } - - using page_t = hb_bit_page_t; - struct page_map_t - { - int cmp (const page_map_t &o) const { return cmp (o.major); } - int cmp (uint32_t o_major) const { return (int) o_major - (int) major; } - - uint32_t major; - uint32_t index; - }; - - bool successful = true; /* Allocations successful */ - mutable unsigned int population = 0; - mutable unsigned int last_page_lookup = 0; - hb_sorted_vector_t page_map; - hb_vector_t pages; - - void err () { if (successful) successful = false; } /* TODO Remove */ - bool in_error () const { return !successful; } - - bool resize (unsigned int count) - { - if (unlikely (!successful)) return false; - if (unlikely (!pages.resize (count) || !page_map.resize (count))) - { - pages.resize (page_map.length); - successful = false; - return false; - } - return true; - } - - void reset () - { - successful = true; - clear (); - } - - void clear () - { - resize (0); - if (likely (successful)) - population = 0; - } - bool is_empty () const - { - unsigned int count = pages.length; - for (unsigned int i = 0; i < count; i++) - if (!pages[i].is_empty ()) - return false; - return true; - } - explicit operator bool () const { return !is_empty (); } - - private: - void dirty () { population = UINT_MAX; } - public: - - void add (hb_codepoint_t g) - { - if (unlikely (!successful)) return; - if (unlikely (g == INVALID)) return; - dirty (); - page_t *page = page_for (g, true); if (unlikely (!page)) return; - page->add (g); - } - bool add_range (hb_codepoint_t a, hb_codepoint_t b) - { - if (unlikely (!successful)) return true; /* https://github.com/harfbuzz/harfbuzz/issues/657 */ - if (unlikely (a > b || a == INVALID || b == INVALID)) return false; - dirty (); - unsigned int ma = get_major (a); - unsigned int mb = get_major (b); - if (ma == mb) - { - page_t *page = page_for (a, true); if (unlikely (!page)) return false; - page->add_range (a, b); - } - else - { - page_t *page = page_for (a, true); if (unlikely (!page)) return false; - page->add_range (a, major_start (ma + 1) - 1); - - for (unsigned int m = ma + 1; m < mb; m++) - { - page = page_for (major_start (m), true); if (unlikely (!page)) return false; - page->init1 (); - } - - page = page_for (b, true); if (unlikely (!page)) return false; - page->add_range (major_start (mb), b); - } - return true; - } - - template - void set_array (bool v, const T *array, unsigned int count, unsigned int stride=sizeof(T)) - { - if (unlikely (!successful)) return; - if (!count) return; - dirty (); - hb_codepoint_t g = *array; - while (count) - { - unsigned int m = get_major (g); - page_t *page = page_for (g, v); if (unlikely (v && !page)) return; - unsigned int start = major_start (m); - unsigned int end = major_start (m + 1); - do - { - if (v || page) /* The v check is to optimize out the page check if v is true. */ - page->set (g, v); - - array = &StructAtOffsetUnaligned (array, stride); - count--; - } - while (count && (g = *array, start <= g && g < end)); - } - } - - template - void add_array (const T *array, unsigned int count, unsigned int stride=sizeof(T)) - { set_array (true, array, count, stride); } - template - void add_array (const hb_array_t& arr) { add_array (&arr, arr.len ()); } - - template - void del_array (const T *array, unsigned int count, unsigned int stride=sizeof(T)) - { set_array (false, array, count, stride); } - template - void del_array (const hb_array_t& arr) { del_array (&arr, arr.len ()); } - - /* Might return false if array looks unsorted. - * Used for faster rejection of corrupt data. */ - template - bool set_sorted_array (bool v, const T *array, unsigned int count, unsigned int stride=sizeof(T)) - { - if (unlikely (!successful)) return true; /* https://github.com/harfbuzz/harfbuzz/issues/657 */ - if (!count) return true; - dirty (); - hb_codepoint_t g = *array; - hb_codepoint_t last_g = g; - while (count) - { - unsigned int m = get_major (g); - page_t *page = page_for (g, v); if (unlikely (v && !page)) return false; - unsigned int end = major_start (m + 1); - do - { - /* If we try harder we can change the following comparison to <=; - * Not sure if it's worth it. */ - if (g < last_g) return false; - last_g = g; - - if (v || page) /* The v check is to optimize out the page check if v is true. */ - page->add (g); - - array = (const T *) ((const char *) array + stride); - count--; - } - while (count && (g = *array, g < end)); - } - return true; - } - - template - bool add_sorted_array (const T *array, unsigned int count, unsigned int stride=sizeof(T)) - { return set_sorted_array (true, array, count, stride); } - template - bool add_sorted_array (const hb_sorted_array_t& arr) { return add_sorted_array (&arr, arr.len ()); } - - template - bool del_sorted_array (const T *array, unsigned int count, unsigned int stride=sizeof(T)) - { return set_sorted_array (false, array, count, stride); } - template - bool del_sorted_array (const hb_sorted_array_t& arr) { return del_sorted_array (&arr, arr.len ()); } - - void del (hb_codepoint_t g) - { - if (unlikely (!successful)) return; - page_t *page = page_for (g); - if (!page) - return; - dirty (); - page->del (g); - } - - private: - void del_pages (int ds, int de) - { - if (ds <= de) - { - // Pre-allocate the workspace that compact() will need so we can bail on allocation failure - // before attempting to rewrite the page map. - hb_vector_t compact_workspace; - if (unlikely (!allocate_compact_workspace (compact_workspace))) return; - - unsigned int write_index = 0; - for (unsigned int i = 0; i < page_map.length; i++) - { - int m = (int) page_map[i].major; - if (m < ds || de < m) - page_map[write_index++] = page_map[i]; - } - compact (compact_workspace, write_index); - resize (write_index); - } - } - - - public: - void del_range (hb_codepoint_t a, hb_codepoint_t b) - { - if (unlikely (!successful)) return; - if (unlikely (a > b || a == INVALID)) return; - dirty (); - unsigned int ma = get_major (a); - unsigned int mb = get_major (b); - /* Delete pages from ds through de if ds <= de. */ - int ds = (a == major_start (ma))? (int) ma: (int) (ma + 1); - int de = (b + 1 == major_start (mb + 1))? (int) mb: ((int) mb - 1); - if (ds > de || (int) ma < ds) - { - page_t *page = page_for (a); - if (page) - { - if (ma == mb) - page->del_range (a, b); - else - page->del_range (a, major_start (ma + 1) - 1); - } - } - if (de < (int) mb && ma != mb) - { - page_t *page = page_for (b); - if (page) - page->del_range (major_start (mb), b); - } - del_pages (ds, de); - } - - bool get (hb_codepoint_t g) const - { - const page_t *page = page_for (g); - if (!page) - return false; - return page->get (g); - } - - /* Has interface. */ - static constexpr bool SENTINEL = false; - typedef bool value_t; - value_t operator [] (hb_codepoint_t k) const { return get (k); } - bool has (hb_codepoint_t k) const { return (*this)[k] != SENTINEL; } - /* Predicate. */ - bool operator () (hb_codepoint_t k) const { return has (k); } - - /* Sink interface. */ - hb_bit_set_t& operator << (hb_codepoint_t v) - { add (v); return *this; } - hb_bit_set_t& operator << (const hb_pair_t& range) - { add_range (range.first, range.second); return *this; } - - bool intersects (hb_codepoint_t first, hb_codepoint_t last) const - { - hb_codepoint_t c = first - 1; - return next (&c) && c <= last; - } - void set (const hb_bit_set_t &other) - { - if (unlikely (!successful)) return; - unsigned int count = other.pages.length; - if (unlikely (!resize (count))) - return; - population = other.population; - - /* TODO switch to vector operator =. */ - hb_memcpy ((void *) pages, (const void *) other.pages, count * pages.item_size); - hb_memcpy ((void *) page_map, (const void *) other.page_map, count * page_map.item_size); - } - - bool is_equal (const hb_bit_set_t &other) const - { - if (has_population () && other.has_population () && - get_population () != other.get_population ()) - return false; - - unsigned int na = pages.length; - unsigned int nb = other.pages.length; - - unsigned int a = 0, b = 0; - for (; a < na && b < nb; ) - { - if (page_at (a).is_empty ()) { a++; continue; } - if (other.page_at (b).is_empty ()) { b++; continue; } - if (page_map[a].major != other.page_map[b].major || - !page_at (a).is_equal (other.page_at (b))) - return false; - a++; - b++; - } - for (; a < na; a++) - if (!page_at (a).is_empty ()) { return false; } - for (; b < nb; b++) - if (!other.page_at (b).is_empty ()) { return false; } - - return true; - } - - bool is_subset (const hb_bit_set_t &larger_set) const - { - if (has_population () && larger_set.has_population () && - get_population () != larger_set.get_population ()) - return false; - - uint32_t spi = 0; - for (uint32_t lpi = 0; spi < page_map.length && lpi < larger_set.page_map.length; lpi++) - { - uint32_t spm = page_map[spi].major; - uint32_t lpm = larger_set.page_map[lpi].major; - auto sp = page_at (spi); - auto lp = larger_set.page_at (lpi); - - if (spm < lpm && !sp.is_empty ()) - return false; - - if (lpm < spm) - continue; - - if (!sp.is_subset (lp)) - return false; - - spi++; - } - - while (spi < page_map.length) - if (!page_at (spi++).is_empty ()) - return false; - - return true; - } - - private: - bool allocate_compact_workspace (hb_vector_t& workspace) - { - if (unlikely (!workspace.resize (pages.length))) - { - successful = false; - return false; - } - - return true; - } - - /* - * workspace should be a pre-sized vector allocated to hold at exactly pages.length - * elements. - */ - void compact (hb_vector_t& workspace, - unsigned int length) - { - assert(workspace.length == pages.length); - hb_vector_t& old_index_to_page_map_index = workspace; - - hb_fill (old_index_to_page_map_index.writer(), 0xFFFFFFFF); - for (unsigned i = 0; i < length; i++) - old_index_to_page_map_index[page_map[i].index] = i; - - compact_pages (old_index_to_page_map_index); - } - void compact_pages (const hb_vector_t& old_index_to_page_map_index) - { - unsigned int write_index = 0; - for (unsigned int i = 0; i < pages.length; i++) - { - if (old_index_to_page_map_index[i] == 0xFFFFFFFF) continue; - - if (write_index < i) - pages[write_index] = pages[i]; - - page_map[old_index_to_page_map_index[i]].index = write_index; - write_index++; - } - } - public: - - template - void process (const Op& op, const hb_bit_set_t &other) - { - const bool passthru_left = op (1, 0); - const bool passthru_right = op (0, 1); - - if (unlikely (!successful)) return; - - dirty (); - - unsigned int na = pages.length; - unsigned int nb = other.pages.length; - unsigned int next_page = na; - - unsigned int count = 0, newCount = 0; - unsigned int a = 0, b = 0; - unsigned int write_index = 0; - - // Pre-allocate the workspace that compact() will need so we can bail on allocation failure - // before attempting to rewrite the page map. - hb_vector_t compact_workspace; - if (!passthru_left && unlikely (!allocate_compact_workspace (compact_workspace))) return; - - for (; a < na && b < nb; ) - { - if (page_map[a].major == other.page_map[b].major) - { - if (!passthru_left) - { - // Move page_map entries that we're keeping from the left side set - // to the front of the page_map vector. This isn't necessary if - // passthru_left is set since no left side pages will be removed - // in that case. - if (write_index < a) - page_map[write_index] = page_map[a]; - write_index++; - } - - count++; - a++; - b++; - } - else if (page_map[a].major < other.page_map[b].major) - { - if (passthru_left) - count++; - a++; - } - else - { - if (passthru_right) - count++; - b++; - } - } - if (passthru_left) - count += na - a; - if (passthru_right) - count += nb - b; - - if (!passthru_left) - { - na = write_index; - next_page = write_index; - compact (compact_workspace, write_index); - } - - if (unlikely (!resize (count))) - return; - - newCount = count; - - /* Process in-place backward. */ - a = na; - b = nb; - for (; a && b; ) - { - if (page_map[a - 1].major == other.page_map[b - 1].major) - { - a--; - b--; - count--; - page_map[count] = page_map[a]; - page_at (count).v = op (page_at (a).v, other.page_at (b).v); - } - else if (page_map[a - 1].major > other.page_map[b - 1].major) - { - a--; - if (passthru_left) - { - count--; - page_map[count] = page_map[a]; - } - } - else - { - b--; - if (passthru_right) - { - count--; - page_map[count].major = other.page_map[b].major; - page_map[count].index = next_page++; - page_at (count).v = other.page_at (b).v; - } - } - } - if (passthru_left) - while (a) - { - a--; - count--; - page_map[count] = page_map [a]; - } - if (passthru_right) - while (b) - { - b--; - count--; - page_map[count].major = other.page_map[b].major; - page_map[count].index = next_page++; - page_at (count).v = other.page_at (b).v; - } - assert (!count); - resize (newCount); - } - - void union_ (const hb_bit_set_t &other) { process (hb_bitwise_or, other); } - void intersect (const hb_bit_set_t &other) { process (hb_bitwise_and, other); } - void subtract (const hb_bit_set_t &other) { process (hb_bitwise_gt, other); } - void symmetric_difference (const hb_bit_set_t &other) { process (hb_bitwise_xor, other); } - - bool next (hb_codepoint_t *codepoint) const - { - // TODO: this should be merged with prev() as both implementations - // are very similar. - if (unlikely (*codepoint == INVALID)) { - *codepoint = get_min (); - return *codepoint != INVALID; - } - - const auto* page_map_array = page_map.arrayZ; - unsigned int major = get_major (*codepoint); - unsigned int i = last_page_lookup; - - if (unlikely (i >= page_map.length || page_map_array[i].major != major)) - { - page_map.bfind (major, &i, HB_NOT_FOUND_STORE_CLOSEST); - if (i >= page_map.length) { - *codepoint = INVALID; - return false; - } - } - - const auto* pages_array = pages.arrayZ; - const page_map_t ¤t = page_map_array[i]; - if (likely (current.major == major)) - { - if (pages_array[current.index].next (codepoint)) - { - *codepoint += current.major * page_t::PAGE_BITS; - last_page_lookup = i; - return true; - } - i++; - } - - for (; i < page_map.length; i++) - { - const page_map_t ¤t = page_map.arrayZ[i]; - hb_codepoint_t m = pages_array[current.index].get_min (); - if (m != INVALID) - { - *codepoint = current.major * page_t::PAGE_BITS + m; - last_page_lookup = i; - return true; - } - } - last_page_lookup = 0; - *codepoint = INVALID; - return false; - } - bool previous (hb_codepoint_t *codepoint) const - { - if (unlikely (*codepoint == INVALID)) { - *codepoint = get_max (); - return *codepoint != INVALID; - } - - page_map_t map = {get_major (*codepoint), 0}; - unsigned int i; - page_map.bfind (map, &i, HB_NOT_FOUND_STORE_CLOSEST); - if (i < page_map.length && page_map[i].major == map.major) - { - if (pages[page_map[i].index].previous (codepoint)) - { - *codepoint += page_map[i].major * page_t::PAGE_BITS; - return true; - } - } - i--; - for (; (int) i >= 0; i--) - { - hb_codepoint_t m = pages[page_map[i].index].get_max (); - if (m != INVALID) - { - *codepoint = page_map[i].major * page_t::PAGE_BITS + m; - return true; - } - } - *codepoint = INVALID; - return false; - } - bool next_range (hb_codepoint_t *first, hb_codepoint_t *last) const - { - hb_codepoint_t i; - - i = *last; - if (!next (&i)) - { - *last = *first = INVALID; - return false; - } - - /* TODO Speed up. */ - *last = *first = i; - while (next (&i) && i == *last + 1) - (*last)++; - - return true; - } - bool previous_range (hb_codepoint_t *first, hb_codepoint_t *last) const - { - hb_codepoint_t i; - - i = *first; - if (!previous (&i)) - { - *last = *first = INVALID; - return false; - } - - /* TODO Speed up. */ - *last = *first = i; - while (previous (&i) && i == *first - 1) - (*first)--; - - return true; - } - - bool has_population () const { return population != UINT_MAX; } - unsigned int get_population () const - { - if (has_population ()) - return population; - - unsigned int pop = 0; - unsigned int count = pages.length; - for (unsigned int i = 0; i < count; i++) - pop += pages[i].get_population (); - - population = pop; - return pop; - } - hb_codepoint_t get_min () const - { - unsigned count = pages.length; - for (unsigned i = 0; i < count; i++) - { - const auto& map = page_map[i]; - const auto& page = pages[map.index]; - - if (!page.is_empty ()) - return map.major * page_t::PAGE_BITS + page.get_min (); - } - return INVALID; - } - hb_codepoint_t get_max () const - { - unsigned count = pages.length; - for (signed i = count - 1; i >= 0; i--) - { - const auto& map = page_map[(unsigned) i]; - const auto& page = pages[map.index]; - - if (!page.is_empty ()) - return map.major * page_t::PAGE_BITS + page.get_max (); - } - return INVALID; - } - - static constexpr hb_codepoint_t INVALID = page_t::INVALID; - - /* - * Iterator implementation. - */ - struct iter_t : hb_iter_with_fallback_t - { - static constexpr bool is_sorted_iterator = true; - iter_t (const hb_bit_set_t &s_ = Null (hb_bit_set_t), - bool init = true) : s (&s_), v (INVALID), l(0) - { - if (init) - { - l = s->get_population () + 1; - __next__ (); - } - } - - typedef hb_codepoint_t __item_t__; - hb_codepoint_t __item__ () const { return v; } - bool __more__ () const { return v != INVALID; } - void __next__ () { s->next (&v); if (l) l--; } - void __prev__ () { s->previous (&v); } - unsigned __len__ () const { return l; } - iter_t end () const { return iter_t (*s, false); } - bool operator != (const iter_t& o) const - { return s != o.s || v != o.v; } - - protected: - const hb_bit_set_t *s; - hb_codepoint_t v; - unsigned l; - }; - iter_t iter () const { return iter_t (*this); } - operator iter_t () const { return iter (); } - - protected: - - page_t *page_for (hb_codepoint_t g, bool insert = false) - { - page_map_t map = {get_major (g), pages.length}; - unsigned int i; - if (!page_map.bfind (map, &i, HB_NOT_FOUND_STORE_CLOSEST)) - { - if (!insert) - return nullptr; - - if (unlikely (!resize (pages.length + 1))) - return nullptr; - - pages[map.index].init0 (); - memmove (page_map + i + 1, - page_map + i, - (page_map.length - 1 - i) * page_map.item_size); - page_map[i] = map; - } - return &pages[page_map[i].index]; - } - const page_t *page_for (hb_codepoint_t g) const - { - page_map_t key = {get_major (g)}; - const page_map_t *found = page_map.bsearch (key); - if (found) - return &pages[found->index]; - return nullptr; - } - page_t &page_at (unsigned int i) { return pages[page_map[i].index]; } - const page_t &page_at (unsigned int i) const { return pages[page_map[i].index]; } - unsigned int get_major (hb_codepoint_t g) const { return g / page_t::PAGE_BITS; } - hb_codepoint_t major_start (unsigned int major) const { return major * page_t::PAGE_BITS; } -}; - - -#endif /* HB_BIT_SET_HH */ diff --git a/harfbuzz/src/hb-blob.cc b/harfbuzz/src/hb-blob.cc deleted file mode 100644 index f120002..0000000 --- a/harfbuzz/src/hb-blob.cc +++ /dev/null @@ -1,777 +0,0 @@ -/* - * Copyright © 2009 Red Hat, Inc. - * Copyright © 2018 Ebrahim Byagowi - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Red Hat Author(s): Behdad Esfahbod - */ - -#include "hb.hh" -#include "hb-blob.hh" - -#ifdef HAVE_SYS_MMAN_H -#ifdef HAVE_UNISTD_H -#include -#endif /* HAVE_UNISTD_H */ -#include -#endif /* HAVE_SYS_MMAN_H */ - - -/** - * SECTION: hb-blob - * @title: hb-blob - * @short_description: Binary data containers - * @include: hb.h - * - * Blobs wrap a chunk of binary data to handle lifecycle management of data - * while it is passed between client and HarfBuzz. Blobs are primarily used - * to create font faces, but also to access font face tables, as well as - * pass around other binary data. - **/ - - -/** - * hb_blob_create: (skip) - * @data: Pointer to blob data. - * @length: Length of @data in bytes. - * @mode: Memory mode for @data. - * @user_data: Data parameter to pass to @destroy. - * @destroy: (nullable): Callback to call when @data is not needed anymore. - * - * Creates a new "blob" object wrapping @data. The @mode parameter is used - * to negotiate ownership and lifecycle of @data. - * - * Return value: New blob, or the empty blob if something failed or if @length is - * zero. Destroy with hb_blob_destroy(). - * - * Since: 0.9.2 - **/ -hb_blob_t * -hb_blob_create (const char *data, - unsigned int length, - hb_memory_mode_t mode, - void *user_data, - hb_destroy_func_t destroy) -{ - if (!length) - { - if (destroy) - destroy (user_data); - return hb_blob_get_empty (); - } - - hb_blob_t *blob = hb_blob_create_or_fail (data, length, mode, - user_data, destroy); - return likely (blob) ? blob : hb_blob_get_empty (); -} - -/** - * hb_blob_create_or_fail: (skip) - * @data: Pointer to blob data. - * @length: Length of @data in bytes. - * @mode: Memory mode for @data. - * @user_data: Data parameter to pass to @destroy. - * @destroy: (nullable): Callback to call when @data is not needed anymore. - * - * Creates a new "blob" object wrapping @data. The @mode parameter is used - * to negotiate ownership and lifecycle of @data. - * - * Note that this function returns a freshly-allocated empty blob even if @length - * is zero. This is in contrast to hb_blob_create(), which returns the singleton - * empty blob (as returned by hb_blob_get_empty()) if @length is zero. - * - * Return value: New blob, or %NULL if failed. Destroy with hb_blob_destroy(). - * - * Since: 2.8.2 - **/ -hb_blob_t * -hb_blob_create_or_fail (const char *data, - unsigned int length, - hb_memory_mode_t mode, - void *user_data, - hb_destroy_func_t destroy) -{ - hb_blob_t *blob; - - if (length >= 1u << 31 || - !(blob = hb_object_create ())) - { - if (destroy) - destroy (user_data); - return nullptr; - } - - blob->data = data; - blob->length = length; - blob->mode = mode; - - blob->user_data = user_data; - blob->destroy = destroy; - - if (blob->mode == HB_MEMORY_MODE_DUPLICATE) { - blob->mode = HB_MEMORY_MODE_READONLY; - if (!blob->try_make_writable ()) - { - hb_blob_destroy (blob); - return nullptr; - } - } - - return blob; -} - -static void -_hb_blob_destroy (void *data) -{ - hb_blob_destroy ((hb_blob_t *) data); -} - -/** - * hb_blob_create_sub_blob: - * @parent: Parent blob. - * @offset: Start offset of sub-blob within @parent, in bytes. - * @length: Length of sub-blob. - * - * Returns a blob that represents a range of bytes in @parent. The new - * blob is always created with #HB_MEMORY_MODE_READONLY, meaning that it - * will never modify data in the parent blob. The parent data is not - * expected to be modified, and will result in undefined behavior if it - * is. - * - * Makes @parent immutable. - * - * Return value: New blob, or the empty blob if something failed or if - * @length is zero or @offset is beyond the end of @parent's data. Destroy - * with hb_blob_destroy(). - * - * Since: 0.9.2 - **/ -hb_blob_t * -hb_blob_create_sub_blob (hb_blob_t *parent, - unsigned int offset, - unsigned int length) -{ - hb_blob_t *blob; - - if (!length || !parent || offset >= parent->length) - return hb_blob_get_empty (); - - hb_blob_make_immutable (parent); - - blob = hb_blob_create (parent->data + offset, - hb_min (length, parent->length - offset), - HB_MEMORY_MODE_READONLY, - hb_blob_reference (parent), - _hb_blob_destroy); - - return blob; -} - -/** - * hb_blob_copy_writable_or_fail: - * @blob: A blob. - * - * Makes a writable copy of @blob. - * - * Return value: The new blob, or nullptr if allocation failed - * - * Since: 1.8.0 - **/ -hb_blob_t * -hb_blob_copy_writable_or_fail (hb_blob_t *blob) -{ - blob = hb_blob_create (blob->data, - blob->length, - HB_MEMORY_MODE_DUPLICATE, - nullptr, - nullptr); - - if (unlikely (blob == hb_blob_get_empty ())) - blob = nullptr; - - return blob; -} - -/** - * hb_blob_get_empty: - * - * Returns the singleton empty blob. - * - * See TODO:link object types for more information. - * - * Return value: (transfer full): The empty blob. - * - * Since: 0.9.2 - **/ -hb_blob_t * -hb_blob_get_empty () -{ - return const_cast (&Null (hb_blob_t)); -} - -/** - * hb_blob_reference: (skip) - * @blob: a blob. - * - * Increases the reference count on @blob. - * - * See TODO:link object types for more information. - * - * Return value: @blob. - * - * Since: 0.9.2 - **/ -hb_blob_t * -hb_blob_reference (hb_blob_t *blob) -{ - return hb_object_reference (blob); -} - -/** - * hb_blob_destroy: (skip) - * @blob: a blob. - * - * Decreases the reference count on @blob, and if it reaches zero, destroys - * @blob, freeing all memory, possibly calling the destroy-callback the blob - * was created for if it has not been called already. - * - * See TODO:link object types for more information. - * - * Since: 0.9.2 - **/ -void -hb_blob_destroy (hb_blob_t *blob) -{ - if (!hb_object_destroy (blob)) return; - - blob->fini_shallow (); - - hb_free (blob); -} - -/** - * hb_blob_set_user_data: (skip) - * @blob: An #hb_blob_t - * @key: The user-data key to set - * @data: A pointer to the user data to set - * @destroy: (nullable): A callback to call when @data is not needed anymore - * @replace: Whether to replace an existing data with the same key - * - * Attaches a user-data key/data pair to the specified blob. - * - * Return value: %true if success, %false otherwise - * - * Since: 0.9.2 - **/ -hb_bool_t -hb_blob_set_user_data (hb_blob_t *blob, - hb_user_data_key_t *key, - void * data, - hb_destroy_func_t destroy, - hb_bool_t replace) -{ - return hb_object_set_user_data (blob, key, data, destroy, replace); -} - -/** - * hb_blob_get_user_data: (skip) - * @blob: a blob - * @key: The user-data key to query - * - * Fetches the user data associated with the specified key, - * attached to the specified font-functions structure. - * - * Return value: (transfer none): A pointer to the user data - * - * Since: 0.9.2 - **/ -void * -hb_blob_get_user_data (hb_blob_t *blob, - hb_user_data_key_t *key) -{ - return hb_object_get_user_data (blob, key); -} - - -/** - * hb_blob_make_immutable: - * @blob: a blob - * - * Makes a blob immutable. - * - * Since: 0.9.2 - **/ -void -hb_blob_make_immutable (hb_blob_t *blob) -{ - if (hb_object_is_immutable (blob)) - return; - - hb_object_make_immutable (blob); -} - -/** - * hb_blob_is_immutable: - * @blob: a blob. - * - * Tests whether a blob is immutable. - * - * Return value: %true if @blob is immutable, %false otherwise - * - * Since: 0.9.2 - **/ -hb_bool_t -hb_blob_is_immutable (hb_blob_t *blob) -{ - return hb_object_is_immutable (blob); -} - - -/** - * hb_blob_get_length: - * @blob: a blob. - * - * Fetches the length of a blob's data. - * - * Return value: the length of @blob data in bytes. - * - * Since: 0.9.2 - **/ -unsigned int -hb_blob_get_length (hb_blob_t *blob) -{ - return blob->length; -} - -/** - * hb_blob_get_data: - * @blob: a blob. - * @length: (out): The length in bytes of the data retrieved - * - * Fetches the data from a blob. - * - * Returns: (transfer none) (array length=length): the byte data of @blob. - * - * Since: 0.9.2 - **/ -const char * -hb_blob_get_data (hb_blob_t *blob, unsigned int *length) -{ - if (length) - *length = blob->length; - - return blob->data; -} - -/** - * hb_blob_get_data_writable: - * @blob: a blob. - * @length: (out): output length of the writable data. - * - * Tries to make blob data writable (possibly copying it) and - * return pointer to data. - * - * Fails if blob has been made immutable, or if memory allocation - * fails. - * - * Returns: (transfer none) (array length=length): Writable blob data, - * or %NULL if failed. - * - * Since: 0.9.2 - **/ -char * -hb_blob_get_data_writable (hb_blob_t *blob, unsigned int *length) -{ - if (hb_object_is_immutable (blob) || - !blob->try_make_writable ()) - { - if (length) *length = 0; - return nullptr; - } - - if (length) *length = blob->length; - return const_cast (blob->data); -} - - -bool -hb_blob_t::try_make_writable_inplace_unix () -{ -#if defined(HAVE_SYS_MMAN_H) && defined(HAVE_MPROTECT) - uintptr_t pagesize = -1, mask, length; - const char *addr; - -#if defined(HAVE_SYSCONF) && defined(_SC_PAGE_SIZE) - pagesize = (uintptr_t) sysconf (_SC_PAGE_SIZE); -#elif defined(HAVE_SYSCONF) && defined(_SC_PAGESIZE) - pagesize = (uintptr_t) sysconf (_SC_PAGESIZE); -#elif defined(HAVE_GETPAGESIZE) - pagesize = (uintptr_t) getpagesize (); -#endif - - if ((uintptr_t) -1L == pagesize) { - DEBUG_MSG_FUNC (BLOB, this, "failed to get pagesize: %s", strerror (errno)); - return false; - } - DEBUG_MSG_FUNC (BLOB, this, "pagesize is %lu", (unsigned long) pagesize); - - mask = ~(pagesize-1); - addr = (const char *) (((uintptr_t) this->data) & mask); - length = (const char *) (((uintptr_t) this->data + this->length + pagesize-1) & mask) - addr; - DEBUG_MSG_FUNC (BLOB, this, - "calling mprotect on [%p..%p] (%lu bytes)", - addr, addr+length, (unsigned long) length); - if (-1 == mprotect ((void *) addr, length, PROT_READ | PROT_WRITE)) { - DEBUG_MSG_FUNC (BLOB, this, "mprotect failed: %s", strerror (errno)); - return false; - } - - this->mode = HB_MEMORY_MODE_WRITABLE; - - DEBUG_MSG_FUNC (BLOB, this, - "successfully made [%p..%p] (%lu bytes) writable\n", - addr, addr+length, (unsigned long) length); - return true; -#else - return false; -#endif -} - -bool -hb_blob_t::try_make_writable_inplace () -{ - DEBUG_MSG_FUNC (BLOB, this, "making writable inplace\n"); - - if (this->try_make_writable_inplace_unix ()) - return true; - - DEBUG_MSG_FUNC (BLOB, this, "making writable -> FAILED\n"); - - /* Failed to make writable inplace, mark that */ - this->mode = HB_MEMORY_MODE_READONLY; - return false; -} - -bool -hb_blob_t::try_make_writable () -{ - if (unlikely (!length)) - mode = HB_MEMORY_MODE_WRITABLE; - - if (this->mode == HB_MEMORY_MODE_WRITABLE) - return true; - - if (this->mode == HB_MEMORY_MODE_READONLY_MAY_MAKE_WRITABLE && this->try_make_writable_inplace ()) - return true; - - if (this->mode == HB_MEMORY_MODE_WRITABLE) - return true; - - - DEBUG_MSG_FUNC (BLOB, this, "current data is -> %p\n", this->data); - - char *new_data; - - new_data = (char *) hb_malloc (this->length); - if (unlikely (!new_data)) - return false; - - DEBUG_MSG_FUNC (BLOB, this, "dupped successfully -> %p\n", this->data); - - memcpy (new_data, this->data, this->length); - this->destroy_user_data (); - this->mode = HB_MEMORY_MODE_WRITABLE; - this->data = new_data; - this->user_data = new_data; - this->destroy = hb_free; - - return true; -} - -/* - * Mmap - */ - -#ifndef HB_NO_OPEN -#ifdef HAVE_MMAP -# if !defined(HB_NO_RESOURCE_FORK) && defined(__APPLE__) -# include -# endif -# include -# include -# include -#endif - -#ifdef _WIN32 -# include -#else -# ifndef O_BINARY -# define O_BINARY 0 -# endif -#endif - -#ifndef MAP_NORESERVE -# define MAP_NORESERVE 0 -#endif - -struct hb_mapped_file_t -{ - char *contents; - unsigned long length; -#ifdef _WIN32 - HANDLE mapping; -#endif -}; - -#if (defined(HAVE_MMAP) || defined(_WIN32)) && !defined(HB_NO_MMAP) -static void -_hb_mapped_file_destroy (void *file_) -{ - hb_mapped_file_t *file = (hb_mapped_file_t *) file_; -#ifdef HAVE_MMAP - munmap (file->contents, file->length); -#elif defined(_WIN32) - UnmapViewOfFile (file->contents); - CloseHandle (file->mapping); -#else - assert (0); // If we don't have mmap we shouldn't reach here -#endif - - hb_free (file); -} -#endif - -#ifdef _PATH_RSRCFORKSPEC -static int -_open_resource_fork (const char *file_name, hb_mapped_file_t *file) -{ - size_t name_len = strlen (file_name); - size_t len = name_len + sizeof (_PATH_RSRCFORKSPEC); - - char *rsrc_name = (char *) hb_malloc (len); - if (unlikely (!rsrc_name)) return -1; - - strncpy (rsrc_name, file_name, name_len); - strncpy (rsrc_name + name_len, _PATH_RSRCFORKSPEC, - sizeof (_PATH_RSRCFORKSPEC) - 1); - - int fd = open (rsrc_name, O_RDONLY | O_BINARY, 0); - hb_free (rsrc_name); - - if (fd != -1) - { - struct stat st; - if (fstat (fd, &st) != -1) - file->length = (unsigned long) st.st_size; - else - { - close (fd); - fd = -1; - } - } - - return fd; -} -#endif - -/** - * hb_blob_create_from_file: - * @file_name: A font filename - * - * Creates a new blob containing the data from the - * specified binary font file. - * - * Returns: An #hb_blob_t pointer with the content of the file, - * or hb_blob_get_empty() if failed. - * - * Since: 1.7.7 - **/ -hb_blob_t * -hb_blob_create_from_file (const char *file_name) -{ - hb_blob_t *blob = hb_blob_create_from_file_or_fail (file_name); - return likely (blob) ? blob : hb_blob_get_empty (); -} - -/** - * hb_blob_create_from_file_or_fail: - * @file_name: A font filename - * - * Creates a new blob containing the data from the - * specified binary font file. - * - * Returns: An #hb_blob_t pointer with the content of the file, - * or %NULL if failed. - * - * Since: 2.8.2 - **/ -hb_blob_t * -hb_blob_create_from_file_or_fail (const char *file_name) -{ - /* Adopted from glib's gmappedfile.c with Matthias Clasen and - Allison Lortie permission but changed a lot to suit our need. */ -#if defined(HAVE_MMAP) && !defined(HB_NO_MMAP) - hb_mapped_file_t *file = (hb_mapped_file_t *) hb_calloc (1, sizeof (hb_mapped_file_t)); - if (unlikely (!file)) return hb_blob_get_empty (); - - int fd = open (file_name, O_RDONLY | O_BINARY, 0); - if (unlikely (fd == -1)) goto fail_without_close; - - struct stat st; - if (unlikely (fstat (fd, &st) == -1)) goto fail; - - file->length = (unsigned long) st.st_size; - -#ifdef _PATH_RSRCFORKSPEC - if (unlikely (file->length == 0)) - { - int rfd = _open_resource_fork (file_name, file); - if (rfd != -1) - { - close (fd); - fd = rfd; - } - } -#endif - - file->contents = (char *) mmap (nullptr, file->length, PROT_READ, - MAP_PRIVATE | MAP_NORESERVE, fd, 0); - - if (unlikely (file->contents == MAP_FAILED)) goto fail; - - close (fd); - - return hb_blob_create_or_fail (file->contents, file->length, - HB_MEMORY_MODE_READONLY_MAY_MAKE_WRITABLE, (void *) file, - (hb_destroy_func_t) _hb_mapped_file_destroy); - -fail: - close (fd); -fail_without_close: - hb_free (file); - -#elif defined(_WIN32) && !defined(HB_NO_MMAP) - hb_mapped_file_t *file = (hb_mapped_file_t *) hb_calloc (1, sizeof (hb_mapped_file_t)); - if (unlikely (!file)) return hb_blob_get_empty (); - - HANDLE fd; - unsigned int size = strlen (file_name) + 1; - wchar_t * wchar_file_name = (wchar_t *) hb_malloc (sizeof (wchar_t) * size); - if (unlikely (!wchar_file_name)) goto fail_without_close; - mbstowcs (wchar_file_name, file_name, size); -#if !WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) - { - CREATEFILE2_EXTENDED_PARAMETERS ceparams = { 0 }; - ceparams.dwSize = sizeof(CREATEFILE2_EXTENDED_PARAMETERS); - ceparams.dwFileAttributes = FILE_ATTRIBUTE_NORMAL | FILE_FLAG_OVERLAPPED & 0xFFFF; - ceparams.dwFileFlags = FILE_ATTRIBUTE_NORMAL | FILE_FLAG_OVERLAPPED & 0xFFF00000; - ceparams.dwSecurityQosFlags = FILE_ATTRIBUTE_NORMAL | FILE_FLAG_OVERLAPPED & 0x000F0000; - ceparams.lpSecurityAttributes = nullptr; - ceparams.hTemplateFile = nullptr; - fd = CreateFile2 (wchar_file_name, GENERIC_READ, FILE_SHARE_READ, - OPEN_EXISTING, &ceparams); - } -#else - fd = CreateFileW (wchar_file_name, GENERIC_READ, FILE_SHARE_READ, nullptr, - OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL|FILE_FLAG_OVERLAPPED, - nullptr); -#endif - hb_free (wchar_file_name); - - if (unlikely (fd == INVALID_HANDLE_VALUE)) goto fail_without_close; - -#if !WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) - { - LARGE_INTEGER length; - GetFileSizeEx (fd, &length); - file->length = length.LowPart; - file->mapping = CreateFileMappingFromApp (fd, nullptr, PAGE_READONLY, length.QuadPart, nullptr); - } -#else - file->length = (unsigned long) GetFileSize (fd, nullptr); - file->mapping = CreateFileMapping (fd, nullptr, PAGE_READONLY, 0, 0, nullptr); -#endif - if (unlikely (!file->mapping)) goto fail; - -#if !WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) - file->contents = (char *) MapViewOfFileFromApp (file->mapping, FILE_MAP_READ, 0, 0); -#else - file->contents = (char *) MapViewOfFile (file->mapping, FILE_MAP_READ, 0, 0, 0); -#endif - if (unlikely (!file->contents)) goto fail; - - CloseHandle (fd); - return hb_blob_create_or_fail (file->contents, file->length, - HB_MEMORY_MODE_READONLY_MAY_MAKE_WRITABLE, (void *) file, - (hb_destroy_func_t) _hb_mapped_file_destroy); - -fail: - CloseHandle (fd); -fail_without_close: - hb_free (file); - -#endif - - /* The following tries to read a file without knowing its size beforehand - It's used as a fallback for systems without mmap or to read from pipes */ - unsigned long len = 0, allocated = BUFSIZ * 16; - char *data = (char *) hb_malloc (allocated); - if (unlikely (!data)) return nullptr; - - FILE *fp = fopen (file_name, "rb"); - if (unlikely (!fp)) goto fread_fail_without_close; - - while (!feof (fp)) - { - if (allocated - len < BUFSIZ) - { - allocated *= 2; - /* Don't allocate and go more than ~536MB, our mmap reader still - can cover files like that but lets limit our fallback reader */ - if (unlikely (allocated > (2 << 28))) goto fread_fail; - char *new_data = (char *) hb_realloc (data, allocated); - if (unlikely (!new_data)) goto fread_fail; - data = new_data; - } - - unsigned long addition = fread (data + len, 1, allocated - len, fp); - - int err = ferror (fp); -#ifdef EINTR // armcc doesn't have it - if (unlikely (err == EINTR)) continue; -#endif - if (unlikely (err)) goto fread_fail; - - len += addition; - } - fclose (fp); - - return hb_blob_create_or_fail (data, len, HB_MEMORY_MODE_WRITABLE, data, - (hb_destroy_func_t) hb_free); - -fread_fail: - fclose (fp); -fread_fail_without_close: - hb_free (data); - return nullptr; -} -#endif /* !HB_NO_OPEN */ diff --git a/harfbuzz/src/hb-blob.h b/harfbuzz/src/hb-blob.h deleted file mode 100644 index 203f9e1..0000000 --- a/harfbuzz/src/hb-blob.h +++ /dev/null @@ -1,160 +0,0 @@ -/* - * Copyright © 2009 Red Hat, Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Red Hat Author(s): Behdad Esfahbod - */ - -#if !defined(HB_H_IN) && !defined(HB_NO_SINGLE_HEADER_ERROR) -#error "Include instead." -#endif - -#ifndef HB_BLOB_H -#define HB_BLOB_H - -#include "hb-common.h" - -HB_BEGIN_DECLS - - -/** - * hb_memory_mode_t: - * @HB_MEMORY_MODE_DUPLICATE: HarfBuzz immediately makes a copy of the data. - * @HB_MEMORY_MODE_READONLY: HarfBuzz client will never modify the data, - * and HarfBuzz will never modify the data. - * @HB_MEMORY_MODE_WRITABLE: HarfBuzz client made a copy of the data solely - * for HarfBuzz, so HarfBuzz may modify the data. - * @HB_MEMORY_MODE_READONLY_MAY_MAKE_WRITABLE: See above - * - * Data type holding the memory modes available to - * client programs. - * - * Regarding these various memory-modes: - * - * - In no case shall the HarfBuzz client modify memory - * that is passed to HarfBuzz in a blob. If there is - * any such possibility, @HB_MEMORY_MODE_DUPLICATE should be used - * such that HarfBuzz makes a copy immediately, - * - * - Use @HB_MEMORY_MODE_READONLY otherwise, unless you really really - * really know what you are doing, - * - * - @HB_MEMORY_MODE_WRITABLE is appropriate if you really made a - * copy of data solely for the purpose of passing to - * HarfBuzz and doing that just once (no reuse!), - * - * - If the font is mmap()ed, it's okay to use - * @HB_MEMORY_READONLY_MAY_MAKE_WRITABLE, however, using that mode - * correctly is very tricky. Use @HB_MEMORY_MODE_READONLY instead. - **/ -typedef enum { - HB_MEMORY_MODE_DUPLICATE, - HB_MEMORY_MODE_READONLY, - HB_MEMORY_MODE_WRITABLE, - HB_MEMORY_MODE_READONLY_MAY_MAKE_WRITABLE -} hb_memory_mode_t; - -/** - * hb_blob_t: - * - * Data type for blobs. A blob wraps a chunk of binary - * data and facilitates its lifecycle management between - * a client program and HarfBuzz. - * - **/ -typedef struct hb_blob_t hb_blob_t; - -HB_EXTERN hb_blob_t * -hb_blob_create (const char *data, - unsigned int length, - hb_memory_mode_t mode, - void *user_data, - hb_destroy_func_t destroy); - -HB_EXTERN hb_blob_t * -hb_blob_create_or_fail (const char *data, - unsigned int length, - hb_memory_mode_t mode, - void *user_data, - hb_destroy_func_t destroy); - -HB_EXTERN hb_blob_t * -hb_blob_create_from_file (const char *file_name); - -HB_EXTERN hb_blob_t * -hb_blob_create_from_file_or_fail (const char *file_name); - -/* Always creates with MEMORY_MODE_READONLY. - * Even if the parent blob is writable, we don't - * want the user of the sub-blob to be able to - * modify the parent data as that data may be - * shared among multiple sub-blobs. - */ -HB_EXTERN hb_blob_t * -hb_blob_create_sub_blob (hb_blob_t *parent, - unsigned int offset, - unsigned int length); - -HB_EXTERN hb_blob_t * -hb_blob_copy_writable_or_fail (hb_blob_t *blob); - -HB_EXTERN hb_blob_t * -hb_blob_get_empty (void); - -HB_EXTERN hb_blob_t * -hb_blob_reference (hb_blob_t *blob); - -HB_EXTERN void -hb_blob_destroy (hb_blob_t *blob); - -HB_EXTERN hb_bool_t -hb_blob_set_user_data (hb_blob_t *blob, - hb_user_data_key_t *key, - void * data, - hb_destroy_func_t destroy, - hb_bool_t replace); - - -HB_EXTERN void * -hb_blob_get_user_data (hb_blob_t *blob, - hb_user_data_key_t *key); - - -HB_EXTERN void -hb_blob_make_immutable (hb_blob_t *blob); - -HB_EXTERN hb_bool_t -hb_blob_is_immutable (hb_blob_t *blob); - - -HB_EXTERN unsigned int -hb_blob_get_length (hb_blob_t *blob); - -HB_EXTERN const char * -hb_blob_get_data (hb_blob_t *blob, unsigned int *length); - -HB_EXTERN char * -hb_blob_get_data_writable (hb_blob_t *blob, unsigned int *length); - -HB_END_DECLS - -#endif /* HB_BLOB_H */ diff --git a/harfbuzz/src/hb-blob.hh b/harfbuzz/src/hb-blob.hh deleted file mode 100644 index a3683a6..0000000 --- a/harfbuzz/src/hb-blob.hh +++ /dev/null @@ -1,98 +0,0 @@ -/* - * Copyright © 2009 Red Hat, Inc. - * Copyright © 2018 Google, Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Red Hat Author(s): Behdad Esfahbod - * Google Author(s): Behdad Esfahbod - */ - -#ifndef HB_BLOB_HH -#define HB_BLOB_HH - -#include "hb.hh" - - -/* - * hb_blob_t - */ - -struct hb_blob_t -{ - void fini_shallow () { destroy_user_data (); } - - void destroy_user_data () - { - if (destroy) - { - destroy (user_data); - user_data = nullptr; - destroy = nullptr; - } - } - - HB_INTERNAL bool try_make_writable (); - HB_INTERNAL bool try_make_writable_inplace (); - HB_INTERNAL bool try_make_writable_inplace_unix (); - - hb_bytes_t as_bytes () const { return hb_bytes_t (data, length); } - template - const Type* as () const { return as_bytes ().as (); } - - public: - hb_object_header_t header; - - const char *data; - unsigned int length; - hb_memory_mode_t mode; - - void *user_data; - hb_destroy_func_t destroy; -}; - - -/* - * hb_blob_ptr_t - */ - -template -struct hb_blob_ptr_t -{ - typedef hb_remove_pointer

T; - - hb_blob_ptr_t (hb_blob_t *b_ = nullptr) : b (b_) {} - hb_blob_t * operator = (hb_blob_t *b_) { return b = b_; } - const T * operator -> () const { return get (); } - const T & operator * () const { return *get (); } - template operator const C * () const { return get (); } - operator const char * () const { return (const char *) get (); } - const T * get () const { return b->as (); } - hb_blob_t * get_blob () const { return b.get_raw (); } - unsigned int get_length () const { return b.get ()->length; } - void destroy () { hb_blob_destroy (b.get_raw ()); b = nullptr; } - - private: - hb_nonnull_ptr_t b; -}; - - -#endif /* HB_BLOB_HH */ diff --git a/harfbuzz/src/hb-buffer-deserialize-json.hh b/harfbuzz/src/hb-buffer-deserialize-json.hh deleted file mode 100644 index e80cfea..0000000 --- a/harfbuzz/src/hb-buffer-deserialize-json.hh +++ /dev/null @@ -1,732 +0,0 @@ - -#line 1 "hb-buffer-deserialize-json.rl" -/* - * Copyright © 2013 Google, Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Google Author(s): Behdad Esfahbod - */ - -#ifndef HB_BUFFER_DESERIALIZE_JSON_HH -#define HB_BUFFER_DESERIALIZE_JSON_HH - -#include "hb.hh" - - -#line 36 "hb-buffer-deserialize-json.hh" -static const unsigned char _deserialize_json_trans_keys[] = { - 0u, 0u, 9u, 123u, 9u, 34u, 97u, 117u, 120u, 121u, 34u, 34u, 9u, 58u, 9u, 57u, - 48u, 57u, 9u, 125u, 9u, 125u, 9u, 125u, 34u, 34u, 9u, 58u, 9u, 57u, 48u, 57u, - 9u, 125u, 9u, 125u, 108u, 108u, 34u, 34u, 9u, 58u, 9u, 57u, 9u, 125u, 9u, 125u, - 120u, 121u, 34u, 34u, 9u, 58u, 9u, 57u, 48u, 57u, 9u, 125u, 9u, 125u, 34u, 34u, - 9u, 58u, 9u, 57u, 48u, 57u, 9u, 125u, 9u, 125u, 34u, 34u, 9u, 58u, 9u, 57u, - 34u, 92u, 9u, 125u, 34u, 92u, 9u, 125u, 9u, 125u, 34u, 34u, 9u, 58u, 9u, 57u, - 9u, 125u, 9u, 93u, 9u, 123u, 0u, 0u, 0 -}; - -static const char _deserialize_json_key_spans[] = { - 0, 115, 26, 21, 2, 1, 50, 49, - 10, 117, 117, 117, 1, 50, 49, 10, - 117, 117, 1, 1, 50, 49, 117, 117, - 2, 1, 50, 49, 10, 117, 117, 1, - 50, 49, 10, 117, 117, 1, 50, 49, - 59, 117, 59, 117, 117, 1, 50, 49, - 117, 85, 115, 0 -}; - -static const short _deserialize_json_index_offsets[] = { - 0, 0, 116, 143, 165, 168, 170, 221, - 271, 282, 400, 518, 636, 638, 689, 739, - 750, 868, 986, 988, 990, 1041, 1091, 1209, - 1327, 1330, 1332, 1383, 1433, 1444, 1562, 1680, - 1682, 1733, 1783, 1794, 1912, 2030, 2032, 2083, - 2133, 2193, 2311, 2371, 2489, 2607, 2609, 2660, - 2710, 2828, 2914, 3030 -}; - -static const char _deserialize_json_indicies[] = { - 0, 0, 0, 0, 0, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 0, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 2, 1, 3, 3, 3, - 3, 3, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 3, 1, 4, 1, - 5, 1, 6, 7, 1, 1, 8, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 9, 1, 10, 11, - 1, 12, 1, 12, 12, 12, 12, 12, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 12, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 13, 1, 13, 13, - 13, 13, 13, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 13, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 14, 1, 1, 15, 16, 16, - 16, 16, 16, 16, 16, 16, 16, 1, - 17, 18, 18, 18, 18, 18, 18, 18, - 18, 18, 1, 19, 19, 19, 19, 19, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 19, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 20, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 21, - 1, 22, 22, 22, 22, 22, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 22, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 3, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 23, 1, 19, - 19, 19, 19, 19, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 19, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 20, 1, 1, 1, 18, 18, - 18, 18, 18, 18, 18, 18, 18, 18, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 21, 1, 24, 1, 24, - 24, 24, 24, 24, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 24, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 25, 1, 25, 25, 25, 25, 25, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 25, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 26, 1, - 1, 27, 28, 28, 28, 28, 28, 28, - 28, 28, 28, 1, 29, 30, 30, 30, - 30, 30, 30, 30, 30, 30, 1, 31, - 31, 31, 31, 31, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 31, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 32, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 33, 1, 31, 31, 31, - 31, 31, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 31, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 32, 1, 1, 1, 30, 30, 30, 30, - 30, 30, 30, 30, 30, 30, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 33, 1, 34, 1, 35, 1, 35, - 35, 35, 35, 35, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 35, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 36, 1, 36, 36, 36, 36, 36, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 36, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 37, 38, 38, 38, 38, 38, 38, - 38, 38, 38, 1, 39, 39, 39, 39, - 39, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 39, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 40, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 41, 1, 39, 39, 39, 39, 39, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 39, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 40, 1, 1, - 1, 42, 42, 42, 42, 42, 42, 42, - 42, 42, 42, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 41, 1, - 43, 44, 1, 45, 1, 45, 45, 45, - 45, 45, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 45, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 46, 1, - 46, 46, 46, 46, 46, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 46, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 47, 1, 1, 48, - 49, 49, 49, 49, 49, 49, 49, 49, - 49, 1, 50, 51, 51, 51, 51, 51, - 51, 51, 51, 51, 1, 52, 52, 52, - 52, 52, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 52, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 53, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 54, 1, 52, 52, 52, 52, 52, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 52, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 53, 1, - 1, 1, 51, 51, 51, 51, 51, 51, - 51, 51, 51, 51, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 54, - 1, 55, 1, 55, 55, 55, 55, 55, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 55, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 56, 1, 56, 56, - 56, 56, 56, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 56, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 57, 1, 1, 58, 59, 59, - 59, 59, 59, 59, 59, 59, 59, 1, - 60, 61, 61, 61, 61, 61, 61, 61, - 61, 61, 1, 62, 62, 62, 62, 62, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 62, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 63, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 64, - 1, 62, 62, 62, 62, 62, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 62, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 63, 1, 1, 1, - 61, 61, 61, 61, 61, 61, 61, 61, - 61, 61, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 64, 1, 65, - 1, 65, 65, 65, 65, 65, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 65, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 66, 1, 66, 66, 66, 66, - 66, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 66, 1, 67, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 68, 69, 69, 69, 69, - 69, 69, 69, 69, 69, 1, 71, 70, - 70, 70, 70, 70, 70, 70, 70, 70, - 70, 70, 70, 70, 70, 70, 70, 70, - 70, 70, 70, 70, 70, 70, 70, 70, - 70, 70, 70, 70, 70, 70, 70, 70, - 70, 70, 70, 70, 70, 70, 70, 70, - 70, 70, 70, 70, 70, 70, 70, 70, - 70, 70, 70, 70, 70, 70, 70, 70, - 72, 70, 73, 73, 73, 73, 73, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 73, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 74, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 75, 1, - 70, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 70, 1, 76, 76, 76, 76, - 76, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 76, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 77, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 78, 1, 76, 76, 76, 76, 76, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 76, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 77, 1, 1, - 1, 79, 79, 79, 79, 79, 79, 79, - 79, 79, 79, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 78, 1, - 80, 1, 80, 80, 80, 80, 80, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 80, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 81, 1, 81, 81, 81, - 81, 81, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 81, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 82, 83, 83, 83, - 83, 83, 83, 83, 83, 83, 1, 76, - 76, 76, 76, 76, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 76, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 77, 1, 1, 1, 84, 84, - 84, 84, 84, 84, 84, 84, 84, 84, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 78, 1, 85, 85, 85, - 85, 85, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 85, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 86, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 87, 1, 0, 0, 0, 0, 0, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 0, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 2, 1, 1, - 0 -}; - -static const char _deserialize_json_trans_targs[] = { - 1, 0, 2, 2, 3, 4, 18, 24, - 37, 45, 5, 12, 6, 7, 8, 9, - 11, 9, 11, 10, 2, 49, 10, 49, - 13, 14, 15, 16, 17, 16, 17, 10, - 2, 49, 19, 20, 21, 22, 23, 10, - 2, 49, 23, 25, 31, 26, 27, 28, - 29, 30, 29, 30, 10, 2, 49, 32, - 33, 34, 35, 36, 35, 36, 10, 2, - 49, 38, 39, 40, 43, 44, 40, 41, - 42, 10, 2, 49, 10, 2, 49, 44, - 46, 47, 43, 48, 48, 49, 50, 51 -}; - -static const char _deserialize_json_trans_actions[] = { - 0, 0, 1, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 2, 2, - 2, 0, 0, 3, 3, 4, 0, 5, - 0, 0, 2, 2, 2, 0, 0, 6, - 6, 7, 0, 0, 0, 2, 2, 8, - 8, 9, 0, 0, 0, 0, 0, 2, - 2, 2, 0, 0, 10, 10, 11, 0, - 0, 2, 2, 2, 0, 0, 12, 12, - 13, 0, 0, 2, 14, 14, 0, 15, - 0, 16, 16, 17, 18, 18, 19, 15, - 0, 0, 20, 20, 21, 0, 0, 0 -}; - -static const int deserialize_json_start = 1; -static const int deserialize_json_first_final = 49; -static const int deserialize_json_error = 0; - -static const int deserialize_json_en_main = 1; - - -#line 108 "hb-buffer-deserialize-json.rl" - - -static hb_bool_t -_hb_buffer_deserialize_json (hb_buffer_t *buffer, - const char *buf, - unsigned int buf_len, - const char **end_ptr, - hb_font_t *font) -{ - const char *p = buf, *pe = buf + buf_len; - - /* Ensure we have positions. */ - (void) hb_buffer_get_glyph_positions (buffer, nullptr); - - while (p < pe && ISSPACE (*p)) - p++; - if (p < pe && *p == (buffer->len ? ',' : '[')) - { - *end_ptr = ++p; - } - - const char *tok = nullptr; - int cs; - hb_glyph_info_t info = {0}; - hb_glyph_position_t pos = {0}; - -#line 512 "hb-buffer-deserialize-json.hh" - { - cs = deserialize_json_start; - } - -#line 517 "hb-buffer-deserialize-json.hh" - { - int _slen; - int _trans; - const unsigned char *_keys; - const char *_inds; - if ( p == pe ) - goto _test_eof; - if ( cs == 0 ) - goto _out; -_resume: - _keys = _deserialize_json_trans_keys + (cs<<1); - _inds = _deserialize_json_indicies + _deserialize_json_index_offsets[cs]; - - _slen = _deserialize_json_key_spans[cs]; - _trans = _inds[ _slen > 0 && _keys[0] <=(*p) && - (*p) <= _keys[1] ? - (*p) - _keys[0] : _slen ]; - - cs = _deserialize_json_trans_targs[_trans]; - - if ( _deserialize_json_trans_actions[_trans] == 0 ) - goto _again; - - switch ( _deserialize_json_trans_actions[_trans] ) { - case 1: -#line 38 "hb-buffer-deserialize-json.rl" - { - memset (&info, 0, sizeof (info)); - memset (&pos , 0, sizeof (pos )); -} - break; - case 5: -#line 43 "hb-buffer-deserialize-json.rl" - { - buffer->add_info (info); - if (unlikely (!buffer->successful)) - return false; - buffer->pos[buffer->len - 1] = pos; - *end_ptr = p; -} - break; - case 2: -#line 51 "hb-buffer-deserialize-json.rl" - { - tok = p; -} - break; - case 15: -#line 55 "hb-buffer-deserialize-json.rl" - { if (unlikely (!buffer->ensure_glyphs ())) return false; } - break; - case 21: -#line 56 "hb-buffer-deserialize-json.rl" - { if (unlikely (!buffer->ensure_unicode ())) return false; } - break; - case 16: -#line 58 "hb-buffer-deserialize-json.rl" - { - /* TODO Unescape \" and \\ if found. */ - if (!hb_font_glyph_from_string (font, - tok, p - tok, - &info.codepoint)) - return false; -} - break; - case 18: -#line 66 "hb-buffer-deserialize-json.rl" - { if (!parse_uint (tok, p, &info.codepoint)) return false; } - break; - case 8: -#line 67 "hb-buffer-deserialize-json.rl" - { if (!parse_uint (tok, p, &info.cluster )) return false; } - break; - case 10: -#line 68 "hb-buffer-deserialize-json.rl" - { if (!parse_int (tok, p, &pos.x_offset )) return false; } - break; - case 12: -#line 69 "hb-buffer-deserialize-json.rl" - { if (!parse_int (tok, p, &pos.y_offset )) return false; } - break; - case 3: -#line 70 "hb-buffer-deserialize-json.rl" - { if (!parse_int (tok, p, &pos.x_advance)) return false; } - break; - case 6: -#line 71 "hb-buffer-deserialize-json.rl" - { if (!parse_int (tok, p, &pos.y_advance)) return false; } - break; - case 14: -#line 51 "hb-buffer-deserialize-json.rl" - { - tok = p; -} -#line 55 "hb-buffer-deserialize-json.rl" - { if (unlikely (!buffer->ensure_glyphs ())) return false; } - break; - case 20: -#line 51 "hb-buffer-deserialize-json.rl" - { - tok = p; -} -#line 56 "hb-buffer-deserialize-json.rl" - { if (unlikely (!buffer->ensure_unicode ())) return false; } - break; - case 17: -#line 58 "hb-buffer-deserialize-json.rl" - { - /* TODO Unescape \" and \\ if found. */ - if (!hb_font_glyph_from_string (font, - tok, p - tok, - &info.codepoint)) - return false; -} -#line 43 "hb-buffer-deserialize-json.rl" - { - buffer->add_info (info); - if (unlikely (!buffer->successful)) - return false; - buffer->pos[buffer->len - 1] = pos; - *end_ptr = p; -} - break; - case 19: -#line 66 "hb-buffer-deserialize-json.rl" - { if (!parse_uint (tok, p, &info.codepoint)) return false; } -#line 43 "hb-buffer-deserialize-json.rl" - { - buffer->add_info (info); - if (unlikely (!buffer->successful)) - return false; - buffer->pos[buffer->len - 1] = pos; - *end_ptr = p; -} - break; - case 9: -#line 67 "hb-buffer-deserialize-json.rl" - { if (!parse_uint (tok, p, &info.cluster )) return false; } -#line 43 "hb-buffer-deserialize-json.rl" - { - buffer->add_info (info); - if (unlikely (!buffer->successful)) - return false; - buffer->pos[buffer->len - 1] = pos; - *end_ptr = p; -} - break; - case 11: -#line 68 "hb-buffer-deserialize-json.rl" - { if (!parse_int (tok, p, &pos.x_offset )) return false; } -#line 43 "hb-buffer-deserialize-json.rl" - { - buffer->add_info (info); - if (unlikely (!buffer->successful)) - return false; - buffer->pos[buffer->len - 1] = pos; - *end_ptr = p; -} - break; - case 13: -#line 69 "hb-buffer-deserialize-json.rl" - { if (!parse_int (tok, p, &pos.y_offset )) return false; } -#line 43 "hb-buffer-deserialize-json.rl" - { - buffer->add_info (info); - if (unlikely (!buffer->successful)) - return false; - buffer->pos[buffer->len - 1] = pos; - *end_ptr = p; -} - break; - case 4: -#line 70 "hb-buffer-deserialize-json.rl" - { if (!parse_int (tok, p, &pos.x_advance)) return false; } -#line 43 "hb-buffer-deserialize-json.rl" - { - buffer->add_info (info); - if (unlikely (!buffer->successful)) - return false; - buffer->pos[buffer->len - 1] = pos; - *end_ptr = p; -} - break; - case 7: -#line 71 "hb-buffer-deserialize-json.rl" - { if (!parse_int (tok, p, &pos.y_advance)) return false; } -#line 43 "hb-buffer-deserialize-json.rl" - { - buffer->add_info (info); - if (unlikely (!buffer->successful)) - return false; - buffer->pos[buffer->len - 1] = pos; - *end_ptr = p; -} - break; -#line 713 "hb-buffer-deserialize-json.hh" - } - -_again: - if ( cs == 0 ) - goto _out; - if ( ++p != pe ) - goto _resume; - _test_eof: {} - _out: {} - } - -#line 136 "hb-buffer-deserialize-json.rl" - - - *end_ptr = p; - - return p == pe && *(p-1) != ']'; -} - -#endif /* HB_BUFFER_DESERIALIZE_JSON_HH */ diff --git a/harfbuzz/src/hb-buffer-deserialize-json.rl b/harfbuzz/src/hb-buffer-deserialize-json.rl deleted file mode 100644 index 382423f..0000000 --- a/harfbuzz/src/hb-buffer-deserialize-json.rl +++ /dev/null @@ -1,143 +0,0 @@ -/* - * Copyright © 2013 Google, Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Google Author(s): Behdad Esfahbod - */ - -#ifndef HB_BUFFER_DESERIALIZE_JSON_HH -#define HB_BUFFER_DESERIALIZE_JSON_HH - -#include "hb.hh" - -%%{ - -machine deserialize_json; -alphtype unsigned char; -write data; - -action clear_item { - memset (&info, 0, sizeof (info)); - memset (&pos , 0, sizeof (pos )); -} - -action add_item { - buffer->add_info (info); - if (unlikely (!buffer->successful)) - return false; - buffer->pos[buffer->len - 1] = pos; - *end_ptr = p; -} - -action tok { - tok = p; -} - -action ensure_glyphs { if (unlikely (!buffer->ensure_glyphs ())) return false; } -action ensure_unicode { if (unlikely (!buffer->ensure_unicode ())) return false; } - -action parse_glyph_name { - /* TODO Unescape \" and \\ if found. */ - if (!hb_font_glyph_from_string (font, - tok, p - tok, - &info.codepoint)) - return false; -} - -action parse_codepoint { if (!parse_uint (tok, p, &info.codepoint)) return false; } -action parse_cluster { if (!parse_uint (tok, p, &info.cluster )) return false; } -action parse_x_offset { if (!parse_int (tok, p, &pos.x_offset )) return false; } -action parse_y_offset { if (!parse_int (tok, p, &pos.y_offset )) return false; } -action parse_x_advance { if (!parse_int (tok, p, &pos.x_advance)) return false; } -action parse_y_advance { if (!parse_int (tok, p, &pos.y_advance)) return false; } - -unum = '0' | [1-9] digit*; -num = '-'? unum; - -comma = space* ',' space*; -colon = space* ':' space*; - -codepoint = unum; -glyph_name = '"' ([^\\"] | '\\' [\\"])* '"'; - -parse_glyph_name = (glyph_name >tok %parse_glyph_name); -parse_codepoint = (codepoint >tok %parse_codepoint); - -glyph = "\"g\"" colon (parse_glyph_name | parse_codepoint); -unicode = "\"u\"" colon parse_codepoint; -cluster = "\"cl\"" colon (unum >tok %parse_cluster); -xoffset = "\"dx\"" colon (num >tok %parse_x_offset); -yoffset = "\"dy\"" colon (num >tok %parse_y_offset); -xadvance= "\"ax\"" colon (num >tok %parse_x_advance); -yadvance= "\"ay\"" colon (num >tok %parse_y_advance); - -element = glyph @ensure_glyphs - | unicode @ensure_unicode - | cluster - | xoffset - | yoffset - | xadvance - | yadvance; -item = - ( '{' space* element (comma element)* space* '}') - >clear_item - @add_item - ; - -main := space* item (comma item)* space* (','|']')?; - -}%% - -static hb_bool_t -_hb_buffer_deserialize_json (hb_buffer_t *buffer, - const char *buf, - unsigned int buf_len, - const char **end_ptr, - hb_font_t *font) -{ - const char *p = buf, *pe = buf + buf_len; - - /* Ensure we have positions. */ - (void) hb_buffer_get_glyph_positions (buffer, nullptr); - - while (p < pe && ISSPACE (*p)) - p++; - if (p < pe && *p == (buffer->len ? ',' : '[')) - { - *end_ptr = ++p; - } - - const char *tok = nullptr; - int cs; - hb_glyph_info_t info = {0}; - hb_glyph_position_t pos = {0}; - %%{ - write init; - write exec; - }%% - - *end_ptr = p; - - return p == pe && *(p-1) != ']'; -} - -#endif /* HB_BUFFER_DESERIALIZE_JSON_HH */ diff --git a/harfbuzz/src/hb-buffer-deserialize-text.hh b/harfbuzz/src/hb-buffer-deserialize-text.hh deleted file mode 100644 index b599e96..0000000 --- a/harfbuzz/src/hb-buffer-deserialize-text.hh +++ /dev/null @@ -1,853 +0,0 @@ - -#line 1 "hb-buffer-deserialize-text.rl" -/* - * Copyright © 2013 Google, Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Google Author(s): Behdad Esfahbod - */ - -#ifndef HB_BUFFER_DESERIALIZE_TEXT_HH -#define HB_BUFFER_DESERIALIZE_TEXT_HH - -#include "hb.hh" - - -#line 36 "hb-buffer-deserialize-text.hh" -static const unsigned char _deserialize_text_trans_keys[] = { - 0u, 0u, 9u, 91u, 85u, 85u, 43u, 43u, 48u, 102u, 9u, 85u, 48u, 57u, 45u, 57u, - 48u, 57u, 48u, 57u, 45u, 57u, 48u, 57u, 44u, 44u, 45u, 57u, 48u, 57u, 44u, 57u, - 43u, 124u, 45u, 57u, 48u, 57u, 9u, 124u, 9u, 124u, 0u, 0u, 9u, 85u, 9u, 124u, - 9u, 124u, 9u, 124u, 9u, 124u, 9u, 124u, 9u, 124u, 9u, 124u, 9u, 124u, 9u, 124u, - 9u, 124u, 9u, 124u, 9u, 124u, 9u, 124u, 9u, 124u, 0 -}; - -static const char _deserialize_text_key_spans[] = { - 0, 83, 1, 1, 55, 77, 10, 13, - 10, 10, 13, 10, 1, 13, 10, 14, - 82, 13, 10, 116, 116, 0, 77, 116, - 116, 116, 116, 116, 116, 116, 116, 116, - 116, 116, 116, 116, 116 -}; - -static const short _deserialize_text_index_offsets[] = { - 0, 0, 84, 86, 88, 144, 222, 233, - 247, 258, 269, 283, 294, 296, 310, 321, - 336, 419, 433, 444, 561, 678, 679, 757, - 874, 991, 1108, 1225, 1342, 1459, 1576, 1693, - 1810, 1927, 2044, 2161, 2278 -}; - -static const char _deserialize_text_indicies[] = { - 0, 0, 0, 0, 0, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 0, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 2, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 3, 1, 4, 1, 5, - 1, 6, 6, 6, 6, 6, 6, 6, - 6, 6, 6, 1, 1, 1, 1, 1, - 1, 1, 6, 6, 6, 6, 6, 6, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 6, 6, 6, 6, 6, 6, - 1, 7, 7, 7, 7, 7, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 7, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 4, 1, 8, - 9, 9, 9, 9, 9, 9, 9, 9, - 9, 1, 10, 1, 1, 11, 12, 12, - 12, 12, 12, 12, 12, 12, 12, 1, - 13, 14, 14, 14, 14, 14, 14, 14, - 14, 14, 1, 15, 16, 16, 16, 16, - 16, 16, 16, 16, 16, 1, 17, 1, - 1, 18, 19, 19, 19, 19, 19, 19, - 19, 19, 19, 1, 20, 21, 21, 21, - 21, 21, 21, 21, 21, 21, 1, 22, - 1, 23, 1, 1, 24, 25, 25, 25, - 25, 25, 25, 25, 25, 25, 1, 26, - 27, 27, 27, 27, 27, 27, 27, 27, - 27, 1, 22, 1, 1, 1, 21, 21, - 21, 21, 21, 21, 21, 21, 21, 21, - 1, 28, 28, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 28, 1, 1, 28, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 28, 28, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 28, 1, 29, 1, 1, 30, - 31, 31, 31, 31, 31, 31, 31, 31, - 31, 1, 32, 33, 33, 33, 33, 33, - 33, 33, 33, 33, 1, 34, 34, 34, - 34, 34, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 34, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 35, 35, 35, 35, - 35, 35, 35, 35, 35, 35, 1, 1, - 1, 36, 37, 1, 1, 35, 35, 35, - 35, 35, 35, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 35, 35, 35, - 35, 35, 35, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 38, 1, 39, 39, 39, 39, 39, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 39, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 40, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 41, 1, 1, - 7, 7, 7, 7, 7, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 7, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 4, 1, 42, 42, - 42, 42, 42, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 42, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 43, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 44, 1, 42, 42, 42, 42, 42, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 42, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 45, 45, 45, 45, 45, 45, - 45, 45, 45, 45, 1, 1, 1, 1, - 43, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 44, 1, - 47, 47, 47, 47, 47, 46, 46, 46, - 46, 46, 46, 46, 46, 46, 46, 46, - 46, 46, 46, 46, 46, 46, 46, 47, - 46, 46, 46, 46, 46, 46, 46, 46, - 46, 46, 48, 1, 46, 46, 46, 46, - 46, 46, 46, 46, 46, 46, 46, 46, - 46, 46, 46, 46, 49, 46, 46, 50, - 46, 46, 46, 46, 46, 46, 46, 46, - 46, 46, 46, 46, 46, 46, 46, 46, - 46, 46, 46, 46, 46, 46, 46, 46, - 46, 46, 46, 51, 52, 46, 46, 46, - 46, 46, 46, 46, 46, 46, 46, 46, - 46, 46, 46, 46, 46, 46, 46, 46, - 46, 46, 46, 46, 46, 46, 46, 46, - 46, 46, 46, 53, 46, 54, 54, 54, - 54, 54, 28, 28, 28, 28, 28, 28, - 28, 28, 28, 28, 28, 28, 28, 28, - 28, 28, 28, 28, 54, 28, 28, 28, - 28, 28, 28, 28, 28, 28, 28, 55, - 1, 28, 28, 28, 28, 28, 28, 28, - 28, 28, 28, 28, 28, 28, 28, 28, - 28, 56, 28, 28, 57, 28, 28, 28, - 28, 28, 28, 28, 28, 28, 28, 28, - 28, 28, 28, 28, 28, 28, 28, 28, - 28, 28, 28, 28, 28, 28, 28, 28, - 58, 59, 28, 28, 28, 28, 28, 28, - 28, 28, 28, 28, 28, 28, 28, 28, - 28, 28, 28, 28, 28, 28, 28, 28, - 28, 28, 28, 28, 28, 28, 28, 28, - 60, 28, 61, 61, 61, 61, 61, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 61, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 62, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 63, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 64, 1, 65, - 65, 65, 65, 65, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 65, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 40, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 66, 1, 67, 67, 67, 67, - 67, 46, 46, 46, 46, 46, 46, 46, - 46, 46, 46, 46, 46, 46, 46, 46, - 46, 46, 46, 67, 46, 46, 46, 46, - 46, 46, 46, 46, 46, 46, 48, 1, - 46, 46, 46, 46, 46, 46, 46, 46, - 46, 46, 46, 46, 46, 46, 46, 46, - 49, 46, 46, 50, 46, 46, 46, 46, - 46, 46, 46, 46, 46, 46, 46, 46, - 46, 46, 46, 46, 46, 46, 46, 46, - 46, 46, 46, 46, 46, 46, 46, 51, - 52, 46, 46, 46, 46, 46, 46, 46, - 46, 46, 46, 46, 46, 46, 46, 46, - 46, 46, 46, 46, 46, 46, 46, 46, - 46, 46, 46, 46, 46, 46, 46, 53, - 46, 68, 68, 68, 68, 68, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 68, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 69, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 70, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 43, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 71, 1, 72, 72, - 72, 72, 72, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 72, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 73, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 74, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 75, 1, 72, 72, 72, 72, 72, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 72, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 73, 1, 1, - 1, 1, 27, 27, 27, 27, 27, 27, - 27, 27, 27, 27, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 74, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 75, 1, - 68, 68, 68, 68, 68, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 68, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 69, 1, 1, 1, 1, 76, - 76, 76, 76, 76, 76, 76, 76, 76, - 76, 1, 1, 1, 1, 1, 1, 70, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 43, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 71, 1, 77, 77, 77, - 77, 77, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 77, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 78, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 79, 1, 77, 77, 77, 77, 77, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 77, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 33, 33, 33, 33, 33, 33, 33, - 33, 33, 33, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 78, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 79, 1, 61, - 61, 61, 61, 61, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 61, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 62, 1, 1, 1, 14, 14, - 14, 14, 14, 14, 14, 14, 14, 14, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 63, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 64, 1, 0 -}; - -static const char _deserialize_text_trans_targs[] = { - 1, 0, 2, 25, 3, 4, 19, 5, - 23, 24, 8, 27, 36, 27, 36, 30, - 33, 11, 12, 15, 12, 15, 13, 14, - 31, 32, 31, 32, 26, 18, 34, 35, - 34, 35, 20, 19, 6, 21, 22, 20, - 21, 22, 20, 21, 22, 24, 26, 26, - 7, 9, 10, 16, 21, 29, 26, 7, - 9, 10, 16, 21, 29, 28, 17, 21, - 29, 28, 29, 29, 28, 7, 10, 29, - 28, 7, 21, 29, 33, 28, 21, 29 -}; - -static const char _deserialize_text_trans_actions[] = { - 0, 0, 0, 0, 1, 0, 2, 0, - 2, 2, 3, 4, 4, 5, 5, 4, - 4, 3, 3, 3, 0, 0, 6, 3, - 4, 4, 5, 5, 5, 3, 4, 4, - 5, 5, 7, 8, 9, 7, 7, 0, - 0, 0, 10, 10, 10, 8, 12, 13, - 14, 14, 14, 15, 11, 11, 17, 18, - 18, 18, 0, 16, 16, 19, 20, 19, - 19, 0, 0, 13, 10, 21, 21, 10, - 22, 23, 22, 22, 5, 24, 24, 24 -}; - -static const char _deserialize_text_eof_actions[] = { - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 7, 0, 0, 0, 10, - 10, 11, 16, 19, 0, 11, 10, 22, - 22, 10, 24, 24, 19 -}; - -static const int deserialize_text_start = 1; -static const int deserialize_text_first_final = 19; -static const int deserialize_text_error = 0; - -static const int deserialize_text_en_main = 1; - - -#line 114 "hb-buffer-deserialize-text.rl" - - -static hb_bool_t -_hb_buffer_deserialize_text (hb_buffer_t *buffer, - const char *buf, - unsigned int buf_len, - const char **end_ptr, - hb_font_t *font) -{ - const char *p = buf, *pe = buf + buf_len; - - /* Ensure we have positions. */ - (void) hb_buffer_get_glyph_positions (buffer, nullptr); - - while (p < pe && ISSPACE (*p)) - p++; - - const char *eof = pe, *tok = nullptr; - int cs; - hb_glyph_info_t info = {0}; - hb_glyph_position_t pos = {0}; - -#line 428 "hb-buffer-deserialize-text.hh" - { - cs = deserialize_text_start; - } - -#line 433 "hb-buffer-deserialize-text.hh" - { - int _slen; - int _trans; - const unsigned char *_keys; - const char *_inds; - if ( p == pe ) - goto _test_eof; - if ( cs == 0 ) - goto _out; -_resume: - _keys = _deserialize_text_trans_keys + (cs<<1); - _inds = _deserialize_text_indicies + _deserialize_text_index_offsets[cs]; - - _slen = _deserialize_text_key_spans[cs]; - _trans = _inds[ _slen > 0 && _keys[0] <=(*p) && - (*p) <= _keys[1] ? - (*p) - _keys[0] : _slen ]; - - cs = _deserialize_text_trans_targs[_trans]; - - if ( _deserialize_text_trans_actions[_trans] == 0 ) - goto _again; - - switch ( _deserialize_text_trans_actions[_trans] ) { - case 1: -#line 38 "hb-buffer-deserialize-text.rl" - { - memset (&info, 0, sizeof (info)); - memset (&pos , 0, sizeof (pos )); -} - break; - case 3: -#line 51 "hb-buffer-deserialize-text.rl" - { - tok = p; -} - break; - case 5: -#line 55 "hb-buffer-deserialize-text.rl" - { if (unlikely (!buffer->ensure_glyphs ())) return false; } - break; - case 8: -#line 56 "hb-buffer-deserialize-text.rl" - { if (unlikely (!buffer->ensure_unicode ())) return false; } - break; - case 18: -#line 58 "hb-buffer-deserialize-text.rl" - { - /* TODO Unescape delimeters. */ - if (!hb_font_glyph_from_string (font, - tok, p - tok, - &info.codepoint)) - return false; -} - break; - case 9: -#line 66 "hb-buffer-deserialize-text.rl" - {if (!parse_hex (tok, p, &info.codepoint )) return false; } - break; - case 21: -#line 68 "hb-buffer-deserialize-text.rl" - { if (!parse_uint (tok, p, &info.cluster )) return false; } - break; - case 6: -#line 69 "hb-buffer-deserialize-text.rl" - { if (!parse_int (tok, p, &pos.x_offset )) return false; } - break; - case 23: -#line 70 "hb-buffer-deserialize-text.rl" - { if (!parse_int (tok, p, &pos.y_offset )) return false; } - break; - case 20: -#line 71 "hb-buffer-deserialize-text.rl" - { if (!parse_int (tok, p, &pos.x_advance)) return false; } - break; - case 15: -#line 38 "hb-buffer-deserialize-text.rl" - { - memset (&info, 0, sizeof (info)); - memset (&pos , 0, sizeof (pos )); -} -#line 51 "hb-buffer-deserialize-text.rl" - { - tok = p; -} - break; - case 4: -#line 51 "hb-buffer-deserialize-text.rl" - { - tok = p; -} -#line 55 "hb-buffer-deserialize-text.rl" - { if (unlikely (!buffer->ensure_glyphs ())) return false; } - break; - case 2: -#line 51 "hb-buffer-deserialize-text.rl" - { - tok = p; -} -#line 56 "hb-buffer-deserialize-text.rl" - { if (unlikely (!buffer->ensure_unicode ())) return false; } - break; - case 16: -#line 58 "hb-buffer-deserialize-text.rl" - { - /* TODO Unescape delimeters. */ - if (!hb_font_glyph_from_string (font, - tok, p - tok, - &info.codepoint)) - return false; -} -#line 43 "hb-buffer-deserialize-text.rl" - { - buffer->add_info (info); - if (unlikely (!buffer->successful)) - return false; - buffer->pos[buffer->len - 1] = pos; - *end_ptr = p; -} - break; - case 7: -#line 66 "hb-buffer-deserialize-text.rl" - {if (!parse_hex (tok, p, &info.codepoint )) return false; } -#line 43 "hb-buffer-deserialize-text.rl" - { - buffer->add_info (info); - if (unlikely (!buffer->successful)) - return false; - buffer->pos[buffer->len - 1] = pos; - *end_ptr = p; -} - break; - case 10: -#line 68 "hb-buffer-deserialize-text.rl" - { if (!parse_uint (tok, p, &info.cluster )) return false; } -#line 43 "hb-buffer-deserialize-text.rl" - { - buffer->add_info (info); - if (unlikely (!buffer->successful)) - return false; - buffer->pos[buffer->len - 1] = pos; - *end_ptr = p; -} - break; - case 22: -#line 70 "hb-buffer-deserialize-text.rl" - { if (!parse_int (tok, p, &pos.y_offset )) return false; } -#line 43 "hb-buffer-deserialize-text.rl" - { - buffer->add_info (info); - if (unlikely (!buffer->successful)) - return false; - buffer->pos[buffer->len - 1] = pos; - *end_ptr = p; -} - break; - case 19: -#line 71 "hb-buffer-deserialize-text.rl" - { if (!parse_int (tok, p, &pos.x_advance)) return false; } -#line 43 "hb-buffer-deserialize-text.rl" - { - buffer->add_info (info); - if (unlikely (!buffer->successful)) - return false; - buffer->pos[buffer->len - 1] = pos; - *end_ptr = p; -} - break; - case 24: -#line 72 "hb-buffer-deserialize-text.rl" - { if (!parse_int (tok, p, &pos.y_advance)) return false; } -#line 43 "hb-buffer-deserialize-text.rl" - { - buffer->add_info (info); - if (unlikely (!buffer->successful)) - return false; - buffer->pos[buffer->len - 1] = pos; - *end_ptr = p; -} - break; - case 12: -#line 38 "hb-buffer-deserialize-text.rl" - { - memset (&info, 0, sizeof (info)); - memset (&pos , 0, sizeof (pos )); -} -#line 51 "hb-buffer-deserialize-text.rl" - { - tok = p; -} -#line 55 "hb-buffer-deserialize-text.rl" - { if (unlikely (!buffer->ensure_glyphs ())) return false; } - break; - case 14: -#line 38 "hb-buffer-deserialize-text.rl" - { - memset (&info, 0, sizeof (info)); - memset (&pos , 0, sizeof (pos )); -} -#line 51 "hb-buffer-deserialize-text.rl" - { - tok = p; -} -#line 58 "hb-buffer-deserialize-text.rl" - { - /* TODO Unescape delimeters. */ - if (!hb_font_glyph_from_string (font, - tok, p - tok, - &info.codepoint)) - return false; -} - break; - case 17: -#line 58 "hb-buffer-deserialize-text.rl" - { - /* TODO Unescape delimeters. */ - if (!hb_font_glyph_from_string (font, - tok, p - tok, - &info.codepoint)) - return false; -} -#line 55 "hb-buffer-deserialize-text.rl" - { if (unlikely (!buffer->ensure_glyphs ())) return false; } -#line 43 "hb-buffer-deserialize-text.rl" - { - buffer->add_info (info); - if (unlikely (!buffer->successful)) - return false; - buffer->pos[buffer->len - 1] = pos; - *end_ptr = p; -} - break; - case 11: -#line 38 "hb-buffer-deserialize-text.rl" - { - memset (&info, 0, sizeof (info)); - memset (&pos , 0, sizeof (pos )); -} -#line 51 "hb-buffer-deserialize-text.rl" - { - tok = p; -} -#line 58 "hb-buffer-deserialize-text.rl" - { - /* TODO Unescape delimeters. */ - if (!hb_font_glyph_from_string (font, - tok, p - tok, - &info.codepoint)) - return false; -} -#line 43 "hb-buffer-deserialize-text.rl" - { - buffer->add_info (info); - if (unlikely (!buffer->successful)) - return false; - buffer->pos[buffer->len - 1] = pos; - *end_ptr = p; -} - break; - case 13: -#line 38 "hb-buffer-deserialize-text.rl" - { - memset (&info, 0, sizeof (info)); - memset (&pos , 0, sizeof (pos )); -} -#line 51 "hb-buffer-deserialize-text.rl" - { - tok = p; -} -#line 58 "hb-buffer-deserialize-text.rl" - { - /* TODO Unescape delimeters. */ - if (!hb_font_glyph_from_string (font, - tok, p - tok, - &info.codepoint)) - return false; -} -#line 55 "hb-buffer-deserialize-text.rl" - { if (unlikely (!buffer->ensure_glyphs ())) return false; } -#line 43 "hb-buffer-deserialize-text.rl" - { - buffer->add_info (info); - if (unlikely (!buffer->successful)) - return false; - buffer->pos[buffer->len - 1] = pos; - *end_ptr = p; -} - break; -#line 722 "hb-buffer-deserialize-text.hh" - } - -_again: - if ( cs == 0 ) - goto _out; - if ( ++p != pe ) - goto _resume; - _test_eof: {} - if ( p == eof ) - { - switch ( _deserialize_text_eof_actions[cs] ) { - case 16: -#line 58 "hb-buffer-deserialize-text.rl" - { - /* TODO Unescape delimeters. */ - if (!hb_font_glyph_from_string (font, - tok, p - tok, - &info.codepoint)) - return false; -} -#line 43 "hb-buffer-deserialize-text.rl" - { - buffer->add_info (info); - if (unlikely (!buffer->successful)) - return false; - buffer->pos[buffer->len - 1] = pos; - *end_ptr = p; -} - break; - case 7: -#line 66 "hb-buffer-deserialize-text.rl" - {if (!parse_hex (tok, p, &info.codepoint )) return false; } -#line 43 "hb-buffer-deserialize-text.rl" - { - buffer->add_info (info); - if (unlikely (!buffer->successful)) - return false; - buffer->pos[buffer->len - 1] = pos; - *end_ptr = p; -} - break; - case 10: -#line 68 "hb-buffer-deserialize-text.rl" - { if (!parse_uint (tok, p, &info.cluster )) return false; } -#line 43 "hb-buffer-deserialize-text.rl" - { - buffer->add_info (info); - if (unlikely (!buffer->successful)) - return false; - buffer->pos[buffer->len - 1] = pos; - *end_ptr = p; -} - break; - case 22: -#line 70 "hb-buffer-deserialize-text.rl" - { if (!parse_int (tok, p, &pos.y_offset )) return false; } -#line 43 "hb-buffer-deserialize-text.rl" - { - buffer->add_info (info); - if (unlikely (!buffer->successful)) - return false; - buffer->pos[buffer->len - 1] = pos; - *end_ptr = p; -} - break; - case 19: -#line 71 "hb-buffer-deserialize-text.rl" - { if (!parse_int (tok, p, &pos.x_advance)) return false; } -#line 43 "hb-buffer-deserialize-text.rl" - { - buffer->add_info (info); - if (unlikely (!buffer->successful)) - return false; - buffer->pos[buffer->len - 1] = pos; - *end_ptr = p; -} - break; - case 24: -#line 72 "hb-buffer-deserialize-text.rl" - { if (!parse_int (tok, p, &pos.y_advance)) return false; } -#line 43 "hb-buffer-deserialize-text.rl" - { - buffer->add_info (info); - if (unlikely (!buffer->successful)) - return false; - buffer->pos[buffer->len - 1] = pos; - *end_ptr = p; -} - break; - case 11: -#line 38 "hb-buffer-deserialize-text.rl" - { - memset (&info, 0, sizeof (info)); - memset (&pos , 0, sizeof (pos )); -} -#line 51 "hb-buffer-deserialize-text.rl" - { - tok = p; -} -#line 58 "hb-buffer-deserialize-text.rl" - { - /* TODO Unescape delimeters. */ - if (!hb_font_glyph_from_string (font, - tok, p - tok, - &info.codepoint)) - return false; -} -#line 43 "hb-buffer-deserialize-text.rl" - { - buffer->add_info (info); - if (unlikely (!buffer->successful)) - return false; - buffer->pos[buffer->len - 1] = pos; - *end_ptr = p; -} - break; -#line 839 "hb-buffer-deserialize-text.hh" - } - } - - _out: {} - } - -#line 138 "hb-buffer-deserialize-text.rl" - - - *end_ptr = p; - - return p == pe && *(p-1) != ']'; -} - -#endif /* HB_BUFFER_DESERIALIZE_TEXT_HH */ diff --git a/harfbuzz/src/hb-buffer-deserialize-text.rl b/harfbuzz/src/hb-buffer-deserialize-text.rl deleted file mode 100644 index a217028..0000000 --- a/harfbuzz/src/hb-buffer-deserialize-text.rl +++ /dev/null @@ -1,145 +0,0 @@ -/* - * Copyright © 2013 Google, Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Google Author(s): Behdad Esfahbod - */ - -#ifndef HB_BUFFER_DESERIALIZE_TEXT_HH -#define HB_BUFFER_DESERIALIZE_TEXT_HH - -#include "hb.hh" - -%%{ - -machine deserialize_text; -alphtype unsigned char; -write data; - -action clear_item { - memset (&info, 0, sizeof (info)); - memset (&pos , 0, sizeof (pos )); -} - -action add_item { - buffer->add_info (info); - if (unlikely (!buffer->successful)) - return false; - buffer->pos[buffer->len - 1] = pos; - *end_ptr = p; -} - -action tok { - tok = p; -} - -action ensure_glyphs { if (unlikely (!buffer->ensure_glyphs ())) return false; } -action ensure_unicode { if (unlikely (!buffer->ensure_unicode ())) return false; } - -action parse_glyph { - /* TODO Unescape delimeters. */ - if (!hb_font_glyph_from_string (font, - tok, p - tok, - &info.codepoint)) - return false; -} - -action parse_hexdigits {if (!parse_hex (tok, p, &info.codepoint )) return false; } - -action parse_cluster { if (!parse_uint (tok, p, &info.cluster )) return false; } -action parse_x_offset { if (!parse_int (tok, p, &pos.x_offset )) return false; } -action parse_y_offset { if (!parse_int (tok, p, &pos.y_offset )) return false; } -action parse_x_advance { if (!parse_int (tok, p, &pos.x_advance)) return false; } -action parse_y_advance { if (!parse_int (tok, p, &pos.y_advance)) return false; } - -unum = '0' | [1-9] digit*; -num = '-'? unum; - -glyph_id = unum; -glyph_name = ([^\\\]=@+,|] | '\\' [\\\]=@+,|]) *; - -glyph = (glyph_id | glyph_name) >tok %parse_glyph; -cluster = '=' (unum >tok %parse_cluster); -offsets = '@' (num >tok %parse_x_offset) ',' (num >tok %parse_y_offset ); -advances= '+' (num >tok %parse_x_advance) (',' (num >tok %parse_y_advance))?; - -glyph_item = - ( - glyph - cluster? - offsets? - advances? - ) - >clear_item - @ensure_glyphs - %add_item - ; - -unicode = 'U' '+' xdigit+ >tok %parse_hexdigits; - -unicode_item = - ( - unicode - cluster? - ) - >clear_item - @ensure_unicode - %add_item - ; - -glyphs = glyph_item (space* '|' space* glyph_item)* space* ('|'|']')?; -unicodes = unicode_item (space* '|' space* unicode_item)* space* ('|'|'>')?; - -main := space* ( ('[' glyphs) | ('<' unicodes) ); - -}%% - -static hb_bool_t -_hb_buffer_deserialize_text (hb_buffer_t *buffer, - const char *buf, - unsigned int buf_len, - const char **end_ptr, - hb_font_t *font) -{ - const char *p = buf, *pe = buf + buf_len; - - /* Ensure we have positions. */ - (void) hb_buffer_get_glyph_positions (buffer, nullptr); - - while (p < pe && ISSPACE (*p)) - p++; - - const char *eof = pe, *tok = nullptr; - int cs; - hb_glyph_info_t info = {0}; - hb_glyph_position_t pos = {0}; - %%{ - write init; - write exec; - }%% - - *end_ptr = p; - - return p == pe && *(p-1) != ']'; -} - -#endif /* HB_BUFFER_DESERIALIZE_TEXT_HH */ diff --git a/harfbuzz/src/hb-buffer-serialize.cc b/harfbuzz/src/hb-buffer-serialize.cc deleted file mode 100644 index 6539b89..0000000 --- a/harfbuzz/src/hb-buffer-serialize.cc +++ /dev/null @@ -1,869 +0,0 @@ -/* - * Copyright © 2012,2013 Google, Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Google Author(s): Behdad Esfahbod - */ - -#include "hb.hh" - -#ifndef HB_NO_BUFFER_SERIALIZE - -#include "hb-buffer.hh" - - -static const char *serialize_formats[] = { - "text", - "json", - nullptr -}; - -/** - * hb_buffer_serialize_list_formats: - * - * Returns a list of supported buffer serialization formats. - * - * Return value: (transfer none): - * A string array of buffer serialization formats. Should not be freed. - * - * Since: 0.9.7 - **/ -const char ** -hb_buffer_serialize_list_formats () -{ - return serialize_formats; -} - -/** - * hb_buffer_serialize_format_from_string: - * @str: (array length=len) (element-type uint8_t): a string to parse - * @len: length of @str, or -1 if string is %NULL terminated - * - * Parses a string into an #hb_buffer_serialize_format_t. Does not check if - * @str is a valid buffer serialization format, use - * hb_buffer_serialize_list_formats() to get the list of supported formats. - * - * Return value: - * The parsed #hb_buffer_serialize_format_t. - * - * Since: 0.9.7 - **/ -hb_buffer_serialize_format_t -hb_buffer_serialize_format_from_string (const char *str, int len) -{ - /* Upper-case it. */ - return (hb_buffer_serialize_format_t) (hb_tag_from_string (str, len) & ~0x20202020u); -} - -/** - * hb_buffer_serialize_format_to_string: - * @format: an #hb_buffer_serialize_format_t to convert. - * - * Converts @format to the string corresponding it, or %NULL if it is not a valid - * #hb_buffer_serialize_format_t. - * - * Return value: (transfer none): - * A %NULL terminated string corresponding to @format. Should not be freed. - * - * Since: 0.9.7 - **/ -const char * -hb_buffer_serialize_format_to_string (hb_buffer_serialize_format_t format) -{ - switch ((unsigned) format) - { - case HB_BUFFER_SERIALIZE_FORMAT_TEXT: return serialize_formats[0]; - case HB_BUFFER_SERIALIZE_FORMAT_JSON: return serialize_formats[1]; - default: - case HB_BUFFER_SERIALIZE_FORMAT_INVALID: return nullptr; - } -} - -static unsigned int -_hb_buffer_serialize_glyphs_json (hb_buffer_t *buffer, - unsigned int start, - unsigned int end, - char *buf, - unsigned int buf_size, - unsigned int *buf_consumed, - hb_font_t *font, - hb_buffer_serialize_flags_t flags) -{ - hb_glyph_info_t *info = hb_buffer_get_glyph_infos (buffer, nullptr); - hb_glyph_position_t *pos = (flags & HB_BUFFER_SERIALIZE_FLAG_NO_POSITIONS) ? - nullptr : hb_buffer_get_glyph_positions (buffer, nullptr); - - *buf_consumed = 0; - hb_position_t x = 0, y = 0; - for (unsigned int i = start; i < end; i++) - { - char b[1024]; - char *p = b; - - /* In the following code, we know b is large enough that no overflow can happen. */ - -#define APPEND(s) HB_STMT_START { strcpy (p, s); p += strlen (s); } HB_STMT_END - - if (i) - *p++ = ','; - else - *p++ = '['; - - *p++ = '{'; - - APPEND ("\"g\":"); - if (!(flags & HB_BUFFER_SERIALIZE_FLAG_NO_GLYPH_NAMES)) - { - char g[128]; - hb_font_glyph_to_string (font, info[i].codepoint, g, sizeof (g)); - *p++ = '"'; - for (char *q = g; *q; q++) - { - if (unlikely (*q == '"' || *q == '\\')) - *p++ = '\\'; - *p++ = *q; - } - *p++ = '"'; - } - else - p += hb_max (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), "%u", info[i].codepoint)); - - if (!(flags & HB_BUFFER_SERIALIZE_FLAG_NO_CLUSTERS)) { - p += hb_max (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), ",\"cl\":%u", info[i].cluster)); - } - - if (!(flags & HB_BUFFER_SERIALIZE_FLAG_NO_POSITIONS)) - { - p += hb_max (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), ",\"dx\":%d,\"dy\":%d", - x+pos[i].x_offset, y+pos[i].y_offset)); - if (!(flags & HB_BUFFER_SERIALIZE_FLAG_NO_ADVANCES)) - p += hb_max (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), ",\"ax\":%d,\"ay\":%d", - pos[i].x_advance, pos[i].y_advance)); - } - - if (flags & HB_BUFFER_SERIALIZE_FLAG_GLYPH_FLAGS) - { - if (info[i].mask & HB_GLYPH_FLAG_DEFINED) - p += hb_max (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), ",\"fl\":%u", info[i].mask & HB_GLYPH_FLAG_DEFINED)); - } - - if (flags & HB_BUFFER_SERIALIZE_FLAG_GLYPH_EXTENTS) - { - hb_glyph_extents_t extents; - hb_font_get_glyph_extents(font, info[i].codepoint, &extents); - p += hb_max (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), ",\"xb\":%d,\"yb\":%d", - extents.x_bearing, extents.y_bearing)); - p += hb_max (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), ",\"w\":%d,\"h\":%d", - extents.width, extents.height)); - } - - *p++ = '}'; - if (i == end-1) - *p++ = ']'; - - unsigned int l = p - b; - if (buf_size > l) - { - memcpy (buf, b, l); - buf += l; - buf_size -= l; - *buf_consumed += l; - *buf = '\0'; - } else - return i - start; - - if (pos && (flags & HB_BUFFER_SERIALIZE_FLAG_NO_ADVANCES)) - { - x += pos[i].x_advance; - y += pos[i].y_advance; - } - } - - return end - start; -} - -static unsigned int -_hb_buffer_serialize_unicode_json (hb_buffer_t *buffer, - unsigned int start, - unsigned int end, - char *buf, - unsigned int buf_size, - unsigned int *buf_consumed, - hb_buffer_serialize_flags_t flags) -{ - hb_glyph_info_t *info = hb_buffer_get_glyph_infos (buffer, nullptr); - - *buf_consumed = 0; - for (unsigned int i = start; i < end; i++) - { - char b[1024]; - char *p = b; - - if (i) - *p++ = ','; - else - *p++ = '['; - - *p++ = '{'; - - APPEND ("\"u\":"); - - p += hb_max (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), "%u", info[i].codepoint)); - - if (!(flags & HB_BUFFER_SERIALIZE_FLAG_NO_CLUSTERS)) { - p += hb_max (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), ",\"cl\":%u", info[i].cluster)); - } - - *p++ = '}'; - - if (i == end-1) - *p++ = ']'; - - unsigned int l = p - b; - if (buf_size > l) - { - memcpy (buf, b, l); - buf += l; - buf_size -= l; - *buf_consumed += l; - *buf = '\0'; - } else - return i - start; - - } - - return end - start; -} - -static unsigned int -_hb_buffer_serialize_glyphs_text (hb_buffer_t *buffer, - unsigned int start, - unsigned int end, - char *buf, - unsigned int buf_size, - unsigned int *buf_consumed, - hb_font_t *font, - hb_buffer_serialize_flags_t flags) -{ - hb_glyph_info_t *info = hb_buffer_get_glyph_infos (buffer, nullptr); - hb_glyph_position_t *pos = (flags & HB_BUFFER_SERIALIZE_FLAG_NO_POSITIONS) ? - nullptr : hb_buffer_get_glyph_positions (buffer, nullptr); - - *buf_consumed = 0; - hb_position_t x = 0, y = 0; - for (unsigned int i = start; i < end; i++) - { - char b[1024]; - char *p = b; - - /* In the following code, we know b is large enough that no overflow can happen. */ - - if (i) - *p++ = '|'; - else - *p++ = '['; - - if (!(flags & HB_BUFFER_SERIALIZE_FLAG_NO_GLYPH_NAMES)) - { - /* TODO Escape delimiters we use. */ - hb_font_glyph_to_string (font, info[i].codepoint, p, 128); - p += strlen (p); - } - else - p += hb_max (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), "%u", info[i].codepoint)); - - if (!(flags & HB_BUFFER_SERIALIZE_FLAG_NO_CLUSTERS)) { - p += hb_max (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), "=%u", info[i].cluster)); - } - - if (!(flags & HB_BUFFER_SERIALIZE_FLAG_NO_POSITIONS)) - { - if (x+pos[i].x_offset || y+pos[i].y_offset) - p += hb_max (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), "@%d,%d", x+pos[i].x_offset, y+pos[i].y_offset)); - - if (!(flags & HB_BUFFER_SERIALIZE_FLAG_NO_ADVANCES)) - { - *p++ = '+'; - p += hb_max (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), "%d", pos[i].x_advance)); - if (pos[i].y_advance) - p += hb_max (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), ",%d", pos[i].y_advance)); - } - } - - if (flags & HB_BUFFER_SERIALIZE_FLAG_GLYPH_FLAGS) - { - if (info[i].mask & HB_GLYPH_FLAG_DEFINED) - p += hb_max (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), "#%X", info[i].mask &HB_GLYPH_FLAG_DEFINED)); - } - - if (flags & HB_BUFFER_SERIALIZE_FLAG_GLYPH_EXTENTS) - { - hb_glyph_extents_t extents; - hb_font_get_glyph_extents(font, info[i].codepoint, &extents); - p += hb_max (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), "<%d,%d,%d,%d>", extents.x_bearing, extents.y_bearing, extents.width, extents.height)); - } - - if (i == end-1) { - *p++ = ']'; - } - - unsigned int l = p - b; - if (buf_size > l) - { - memcpy (buf, b, l); - buf += l; - buf_size -= l; - *buf_consumed += l; - *buf = '\0'; - } else - return i - start; - - if (pos && (flags & HB_BUFFER_SERIALIZE_FLAG_NO_ADVANCES)) - { - x += pos[i].x_advance; - y += pos[i].y_advance; - } - } - - return end - start; -} - - -static unsigned int -_hb_buffer_serialize_unicode_text (hb_buffer_t *buffer, - unsigned int start, - unsigned int end, - char *buf, - unsigned int buf_size, - unsigned int *buf_consumed, - hb_buffer_serialize_flags_t flags) -{ - hb_glyph_info_t *info = hb_buffer_get_glyph_infos (buffer, nullptr); - *buf_consumed = 0; - for (unsigned int i = start; i < end; i++) - { - char b[1024]; - char *p = b; - - if (i) - *p++ = '|'; - else - *p++ = '<'; - - p += hb_max (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), "U+%04X", info[i].codepoint)); - - if (!(flags & HB_BUFFER_SERIALIZE_FLAG_NO_CLUSTERS)) { - p += hb_max (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), "=%u", info[i].cluster)); - } - - if (i == end-1) - *p++ = '>'; - - unsigned int l = p - b; - if (buf_size > l) - { - memcpy (buf, b, l); - buf += l; - buf_size -= l; - *buf_consumed += l; - *buf = '\0'; - } else - return i - start; - } - return end - start; -} - -/** - * hb_buffer_serialize_glyphs: - * @buffer: an #hb_buffer_t buffer. - * @start: the first item in @buffer to serialize. - * @end: the last item in @buffer to serialize. - * @buf: (out) (array length=buf_size) (element-type uint8_t): output string to - * write serialized buffer into. - * @buf_size: the size of @buf. - * @buf_consumed: (out) (optional): if not %NULL, will be set to the number of byes written into @buf. - * @font: (nullable): the #hb_font_t used to shape this buffer, needed to - * read glyph names and extents. If %NULL, and empty font will be used. - * @format: the #hb_buffer_serialize_format_t to use for formatting the output. - * @flags: the #hb_buffer_serialize_flags_t that control what glyph properties - * to serialize. - * - * Serializes @buffer into a textual representation of its glyph content, - * useful for showing the contents of the buffer, for example during debugging. - * There are currently two supported serialization formats: - * - * ## text - * A human-readable, plain text format. - * The serialized glyphs will look something like: - * - * ``` - * [uni0651=0@518,0+0|uni0628=0+1897] - * ``` - * - * - The serialized glyphs are delimited with `[` and `]`. - * - Glyphs are separated with `|` - * - Each glyph starts with glyph name, or glyph index if - * #HB_BUFFER_SERIALIZE_FLAG_NO_GLYPH_NAMES flag is set. Then, - * - If #HB_BUFFER_SERIALIZE_FLAG_NO_CLUSTERS is not set, `=` then #hb_glyph_info_t.cluster. - * - If #HB_BUFFER_SERIALIZE_FLAG_NO_POSITIONS is not set, the #hb_glyph_position_t in the format: - * - If both #hb_glyph_position_t.x_offset and #hb_glyph_position_t.y_offset are not 0, `@x_offset,y_offset`. Then, - * - `+x_advance`, then `,y_advance` if #hb_glyph_position_t.y_advance is not 0. Then, - * - If #HB_BUFFER_SERIALIZE_FLAG_GLYPH_EXTENTS is set, the #hb_glyph_extents_t in the format `` - * - * ## json - * A machine-readable, structured format. - * The serialized glyphs will look something like: - * - * ``` - * [{"g":"uni0651","cl":0,"dx":518,"dy":0,"ax":0,"ay":0}, - * {"g":"uni0628","cl":0,"dx":0,"dy":0,"ax":1897,"ay":0}] - * ``` - * - * Each glyph is a JSON object, with the following properties: - * - `g`: the glyph name or glyph index if - * #HB_BUFFER_SERIALIZE_FLAG_NO_GLYPH_NAMES flag is set. - * - `cl`: #hb_glyph_info_t.cluster if - * #HB_BUFFER_SERIALIZE_FLAG_NO_CLUSTERS is not set. - * - `dx`,`dy`,`ax`,`ay`: #hb_glyph_position_t.x_offset, #hb_glyph_position_t.y_offset, - * #hb_glyph_position_t.x_advance and #hb_glyph_position_t.y_advance - * respectively, if #HB_BUFFER_SERIALIZE_FLAG_NO_POSITIONS is not set. - * - `xb`,`yb`,`w`,`h`: #hb_glyph_extents_t.x_bearing, #hb_glyph_extents_t.y_bearing, - * #hb_glyph_extents_t.width and #hb_glyph_extents_t.height respectively if - * #HB_BUFFER_SERIALIZE_FLAG_GLYPH_EXTENTS is set. - * - * Return value: - * The number of serialized items. - * - * Since: 0.9.7 - **/ -unsigned int -hb_buffer_serialize_glyphs (hb_buffer_t *buffer, - unsigned int start, - unsigned int end, - char *buf, - unsigned int buf_size, - unsigned int *buf_consumed, - hb_font_t *font, - hb_buffer_serialize_format_t format, - hb_buffer_serialize_flags_t flags) -{ - end = hb_clamp (end, start, buffer->len); - start = hb_min (start, end); - - unsigned int sconsumed; - if (!buf_consumed) - buf_consumed = &sconsumed; - *buf_consumed = 0; - if (buf_size) - *buf = '\0'; - - buffer->assert_glyphs (); - - if (!buffer->have_positions) - flags |= HB_BUFFER_SERIALIZE_FLAG_NO_POSITIONS; - - if (unlikely (start == end)) - return 0; - - if (!font) - font = hb_font_get_empty (); - - switch (format) - { - case HB_BUFFER_SERIALIZE_FORMAT_TEXT: - return _hb_buffer_serialize_glyphs_text (buffer, start, end, - buf, buf_size, buf_consumed, - font, flags); - - case HB_BUFFER_SERIALIZE_FORMAT_JSON: - return _hb_buffer_serialize_glyphs_json (buffer, start, end, - buf, buf_size, buf_consumed, - font, flags); - - default: - case HB_BUFFER_SERIALIZE_FORMAT_INVALID: - return 0; - - } -} - -/** - * hb_buffer_serialize_unicode: - * @buffer: an #hb_buffer_t buffer. - * @start: the first item in @buffer to serialize. - * @end: the last item in @buffer to serialize. - * @buf: (out) (array length=buf_size) (element-type uint8_t): output string to - * write serialized buffer into. - * @buf_size: the size of @buf. - * @buf_consumed: (out) (optional): if not %NULL, will be set to the number of byes written into @buf. - * @format: the #hb_buffer_serialize_format_t to use for formatting the output. - * @flags: the #hb_buffer_serialize_flags_t that control what glyph properties - * to serialize. - * - * Serializes @buffer into a textual representation of its content, - * when the buffer contains Unicode codepoints (i.e., before shaping). This is - * useful for showing the contents of the buffer, for example during debugging. - * There are currently two supported serialization formats: - * - * ## text - * A human-readable, plain text format. - * The serialized codepoints will look something like: - * - * ``` - *   - * ``` - * - * - Glyphs are separated with `|` - * - Unicode codepoints are expressed as zero-padded four (or more) - * digit hexadecimal numbers preceded by `U+` - * - If #HB_BUFFER_SERIALIZE_FLAG_NO_CLUSTERS is not set, the cluster - * will be indicated with a `=` then #hb_glyph_info_t.cluster. - * - * ## json - * A machine-readable, structured format. - * The serialized codepoints will be a list of objects with the following - * properties: - * - `u`: the Unicode codepoint as a decimal integer - * - `cl`: #hb_glyph_info_t.cluster if - * #HB_BUFFER_SERIALIZE_FLAG_NO_CLUSTERS is not set. - * - * For example: - * - * ``` - * [{u:1617,cl:0},{u:1576,cl:1}] - * ``` - * - * Return value: - * The number of serialized items. - * - * Since: 2.7.3 - **/ -unsigned int -hb_buffer_serialize_unicode (hb_buffer_t *buffer, - unsigned int start, - unsigned int end, - char *buf, - unsigned int buf_size, - unsigned int *buf_consumed, - hb_buffer_serialize_format_t format, - hb_buffer_serialize_flags_t flags) -{ - end = hb_clamp (end, start, buffer->len); - start = hb_min (start, end); - - unsigned int sconsumed; - if (!buf_consumed) - buf_consumed = &sconsumed; - *buf_consumed = 0; - if (buf_size) - *buf = '\0'; - - buffer->assert_unicode (); - - if (unlikely (start == end)) - return 0; - - switch (format) - { - case HB_BUFFER_SERIALIZE_FORMAT_TEXT: - return _hb_buffer_serialize_unicode_text (buffer, start, end, - buf, buf_size, buf_consumed, flags); - - case HB_BUFFER_SERIALIZE_FORMAT_JSON: - return _hb_buffer_serialize_unicode_json (buffer, start, end, - buf, buf_size, buf_consumed, flags); - - default: - case HB_BUFFER_SERIALIZE_FORMAT_INVALID: - return 0; - - } -} - -static unsigned int -_hb_buffer_serialize_invalid (hb_buffer_t *buffer, - unsigned int start, - unsigned int end, - char *buf, - unsigned int buf_size, - unsigned int *buf_consumed, - hb_buffer_serialize_format_t format, - hb_buffer_serialize_flags_t flags) -{ - assert (!buffer->len); - - unsigned int sconsumed; - if (!buf_consumed) - buf_consumed = &sconsumed; - if (buf_size < 3) - return 0; - if (format == HB_BUFFER_SERIALIZE_FORMAT_JSON) { - *buf++ = '['; - *buf++ = ']'; - *buf = '\0'; - } else if (format == HB_BUFFER_SERIALIZE_FORMAT_TEXT) { - *buf++ = '!'; - *buf++ = '!'; - *buf = '\0'; - } - *buf_consumed = 2; - return 0; -} - -/** - * hb_buffer_serialize: - * @buffer: an #hb_buffer_t buffer. - * @start: the first item in @buffer to serialize. - * @end: the last item in @buffer to serialize. - * @buf: (out) (array length=buf_size) (element-type uint8_t): output string to - * write serialized buffer into. - * @buf_size: the size of @buf. - * @buf_consumed: (out) (optional): if not %NULL, will be set to the number of byes written into @buf. - * @font: (nullable): the #hb_font_t used to shape this buffer, needed to - * read glyph names and extents. If %NULL, and empty font will be used. - * @format: the #hb_buffer_serialize_format_t to use for formatting the output. - * @flags: the #hb_buffer_serialize_flags_t that control what glyph properties - * to serialize. - * - * Serializes @buffer into a textual representation of its content, whether - * Unicode codepoints or glyph identifiers and positioning information. This is - * useful for showing the contents of the buffer, for example during debugging. - * See the documentation of hb_buffer_serialize_unicode() and - * hb_buffer_serialize_glyphs() for a description of the output format. - * - * Return value: - * The number of serialized items. - * - * Since: 2.7.3 - **/ -unsigned int -hb_buffer_serialize (hb_buffer_t *buffer, - unsigned int start, - unsigned int end, - char *buf, - unsigned int buf_size, - unsigned int *buf_consumed, - hb_font_t *font, - hb_buffer_serialize_format_t format, - hb_buffer_serialize_flags_t flags) -{ - switch (buffer->content_type) - { - - case HB_BUFFER_CONTENT_TYPE_GLYPHS: - return hb_buffer_serialize_glyphs (buffer, start, end, buf, buf_size, - buf_consumed, font, format, flags); - - case HB_BUFFER_CONTENT_TYPE_UNICODE: - return hb_buffer_serialize_unicode (buffer, start, end, buf, buf_size, - buf_consumed, format, flags); - - case HB_BUFFER_CONTENT_TYPE_INVALID: - default: - return _hb_buffer_serialize_invalid (buffer, start, end, buf, buf_size, - buf_consumed, format, flags); - } -} - -static bool -parse_int (const char *pp, const char *end, int32_t *pv) -{ - int v; - const char *p = pp; - if (unlikely (!hb_parse_int (&p, end, &v, true/* whole buffer */))) - return false; - - *pv = v; - return true; -} - -static bool -parse_uint (const char *pp, const char *end, uint32_t *pv) -{ - unsigned int v; - const char *p = pp; - if (unlikely (!hb_parse_uint (&p, end, &v, true/* whole buffer */))) - return false; - - *pv = v; - return true; -} - -static bool -parse_hex (const char *pp, const char *end, uint32_t *pv) -{ - unsigned int v; - const char *p = pp; - if (unlikely (!hb_parse_uint (&p, end, &v, true/* whole buffer */, 16))) - return false; - - *pv = v; - return true; -} - -#include "hb-buffer-deserialize-json.hh" -#include "hb-buffer-deserialize-text.hh" - -/** - * hb_buffer_deserialize_glyphs: - * @buffer: an #hb_buffer_t buffer. - * @buf: (array length=buf_len): string to deserialize - * @buf_len: the size of @buf, or -1 if it is %NULL-terminated - * @end_ptr: (out) (optional): output pointer to the character after last - * consumed one. - * @font: (nullable): font for getting glyph IDs - * @format: the #hb_buffer_serialize_format_t of the input @buf - * - * Deserializes glyphs @buffer from textual representation in the format - * produced by hb_buffer_serialize_glyphs(). - * - * Return value: %true if @buf is not fully consumed, %false otherwise. - * - * Since: 0.9.7 - **/ -hb_bool_t -hb_buffer_deserialize_glyphs (hb_buffer_t *buffer, - const char *buf, - int buf_len, /* -1 means nul-terminated */ - const char **end_ptr, /* May be NULL */ - hb_font_t *font, /* May be NULL */ - hb_buffer_serialize_format_t format) -{ - const char *end; - if (!end_ptr) - end_ptr = &end; - *end_ptr = buf; - - buffer->assert_glyphs (); - - if (unlikely (hb_object_is_immutable (buffer))) - { - if (end_ptr) - *end_ptr = buf; - return false; - } - - if (buf_len == -1) - buf_len = strlen (buf); - - if (!buf_len) - { - *end_ptr = buf; - return false; - } - - hb_buffer_set_content_type (buffer, HB_BUFFER_CONTENT_TYPE_GLYPHS); - - if (!font) - font = hb_font_get_empty (); - - switch (format) - { - case HB_BUFFER_SERIALIZE_FORMAT_TEXT: - return _hb_buffer_deserialize_text (buffer, - buf, buf_len, end_ptr, - font); - - case HB_BUFFER_SERIALIZE_FORMAT_JSON: - return _hb_buffer_deserialize_json (buffer, - buf, buf_len, end_ptr, - font); - - default: - case HB_BUFFER_SERIALIZE_FORMAT_INVALID: - return false; - - } -} - - -/** - * hb_buffer_deserialize_unicode: - * @buffer: an #hb_buffer_t buffer. - * @buf: (array length=buf_len): string to deserialize - * @buf_len: the size of @buf, or -1 if it is %NULL-terminated - * @end_ptr: (out) (optional): output pointer to the character after last - * consumed one. - * @format: the #hb_buffer_serialize_format_t of the input @buf - * - * Deserializes Unicode @buffer from textual representation in the format - * produced by hb_buffer_serialize_unicode(). - * - * Return value: %true if @buf is not fully consumed, %false otherwise. - * - * Since: 2.7.3 - **/ -hb_bool_t -hb_buffer_deserialize_unicode (hb_buffer_t *buffer, - const char *buf, - int buf_len, /* -1 means nul-terminated */ - const char **end_ptr, /* May be NULL */ - hb_buffer_serialize_format_t format) -{ - const char *end; - if (!end_ptr) - end_ptr = &end; - *end_ptr = buf; - - buffer->assert_unicode (); - - if (unlikely (hb_object_is_immutable (buffer))) - { - if (end_ptr) - *end_ptr = buf; - return false; - } - - if (buf_len == -1) - buf_len = strlen (buf); - - if (!buf_len) - { - *end_ptr = buf; - return false; - } - - hb_buffer_set_content_type (buffer, HB_BUFFER_CONTENT_TYPE_UNICODE); - - hb_font_t* font = hb_font_get_empty (); - - switch (format) - { - case HB_BUFFER_SERIALIZE_FORMAT_TEXT: - return _hb_buffer_deserialize_text (buffer, - buf, buf_len, end_ptr, - font); - - case HB_BUFFER_SERIALIZE_FORMAT_JSON: - return _hb_buffer_deserialize_json (buffer, - buf, buf_len, end_ptr, - font); - - default: - case HB_BUFFER_SERIALIZE_FORMAT_INVALID: - return false; - - } -} - - -#endif diff --git a/harfbuzz/src/hb-buffer.cc b/harfbuzz/src/hb-buffer.cc deleted file mode 100644 index be3161a..0000000 --- a/harfbuzz/src/hb-buffer.cc +++ /dev/null @@ -1,2017 +0,0 @@ -/* - * Copyright © 1998-2004 David Turner and Werner Lemberg - * Copyright © 2004,2007,2009,2010 Red Hat, Inc. - * Copyright © 2011,2012 Google, Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Red Hat Author(s): Owen Taylor, Behdad Esfahbod - * Google Author(s): Behdad Esfahbod - */ - -#include "hb-buffer.hh" -#include "hb-utf.hh" - - -/** - * SECTION: hb-buffer - * @title: hb-buffer - * @short_description: Input and output buffers - * @include: hb.h - * - * Buffers serve a dual role in HarfBuzz; before shaping, they hold - * the input characters that are passed to hb_shape(), and after - * shaping they hold the output glyphs. - **/ - - -/** - * hb_segment_properties_equal: - * @a: first #hb_segment_properties_t to compare. - * @b: second #hb_segment_properties_t to compare. - * - * Checks the equality of two #hb_segment_properties_t's. - * - * Return value: - * %true if all properties of @a equal those of @b, %false otherwise. - * - * Since: 0.9.7 - **/ -hb_bool_t -hb_segment_properties_equal (const hb_segment_properties_t *a, - const hb_segment_properties_t *b) -{ - return a->direction == b->direction && - a->script == b->script && - a->language == b->language && - a->reserved1 == b->reserved1 && - a->reserved2 == b->reserved2; - -} - -/** - * hb_segment_properties_hash: - * @p: #hb_segment_properties_t to hash. - * - * Creates a hash representing @p. - * - * Return value: - * A hash of @p. - * - * Since: 0.9.7 - **/ -unsigned int -hb_segment_properties_hash (const hb_segment_properties_t *p) -{ - return (unsigned int) p->direction ^ - (unsigned int) p->script ^ - (intptr_t) (p->language); -} - - - -/* Here is how the buffer works internally: - * - * There are two info pointers: info and out_info. They always have - * the same allocated size, but different lengths. - * - * As an optimization, both info and out_info may point to the - * same piece of memory, which is owned by info. This remains the - * case as long as out_len doesn't exceed i at any time. - * In that case, swap_buffers() is mostly no-op and the glyph operations - * operate mostly in-place. - * - * As soon as out_info gets longer than info, out_info is moved over - * to an alternate buffer (which we reuse the pos buffer for), and its - * current contents (out_len entries) are copied to the new place. - * - * This should all remain transparent to the user. swap_buffers() then - * switches info over to out_info and does housekeeping. - */ - - - -/* Internal API */ - -bool -hb_buffer_t::enlarge (unsigned int size) -{ - if (unlikely (!successful)) - return false; - if (unlikely (size > max_len)) - { - successful = false; - return false; - } - - unsigned int new_allocated = allocated; - hb_glyph_position_t *new_pos = nullptr; - hb_glyph_info_t *new_info = nullptr; - bool separate_out = out_info != info; - - if (unlikely (hb_unsigned_mul_overflows (size, sizeof (info[0])))) - goto done; - - while (size >= new_allocated) - new_allocated += (new_allocated >> 1) + 32; - - static_assert ((sizeof (info[0]) == sizeof (pos[0])), ""); - if (unlikely (hb_unsigned_mul_overflows (new_allocated, sizeof (info[0])))) - goto done; - - new_pos = (hb_glyph_position_t *) hb_realloc (pos, new_allocated * sizeof (pos[0])); - new_info = (hb_glyph_info_t *) hb_realloc (info, new_allocated * sizeof (info[0])); - -done: - if (unlikely (!new_pos || !new_info)) - successful = false; - - if (likely (new_pos)) - pos = new_pos; - - if (likely (new_info)) - info = new_info; - - out_info = separate_out ? (hb_glyph_info_t *) pos : info; - if (likely (successful)) - allocated = new_allocated; - - return likely (successful); -} - -bool -hb_buffer_t::make_room_for (unsigned int num_in, - unsigned int num_out) -{ - if (unlikely (!ensure (out_len + num_out))) return false; - - if (out_info == info && - out_len + num_out > idx + num_in) - { - assert (have_output); - - out_info = (hb_glyph_info_t *) pos; - memcpy (out_info, info, out_len * sizeof (out_info[0])); - } - - return true; -} - -bool -hb_buffer_t::shift_forward (unsigned int count) -{ - assert (have_output); - if (unlikely (!ensure (len + count))) return false; - - memmove (info + idx + count, info + idx, (len - idx) * sizeof (info[0])); - if (idx + count > len) - { - /* Under memory failure we might expose this area. At least - * clean it up. Oh well... - * - * Ideally, we should at least set Default_Ignorable bits on - * these, as well as consistent cluster values. But the former - * is layering violation... */ - memset (info + len, 0, (idx + count - len) * sizeof (info[0])); - } - len += count; - idx += count; - - return true; -} - -hb_buffer_t::scratch_buffer_t * -hb_buffer_t::get_scratch_buffer (unsigned int *size) -{ - have_output = false; - have_positions = false; - - out_len = 0; - out_info = info; - - assert ((uintptr_t) pos % sizeof (scratch_buffer_t) == 0); - *size = allocated * sizeof (pos[0]) / sizeof (scratch_buffer_t); - return (scratch_buffer_t *) (void *) pos; -} - - - -/* HarfBuzz-Internal API */ - -void -hb_buffer_t::reset () -{ - hb_unicode_funcs_destroy (unicode); - unicode = hb_unicode_funcs_reference (hb_unicode_funcs_get_default ()); - flags = HB_BUFFER_FLAG_DEFAULT; - replacement = HB_BUFFER_REPLACEMENT_CODEPOINT_DEFAULT; - invisible = 0; - not_found = 0; - - clear (); -} - -void -hb_buffer_t::clear () -{ - hb_segment_properties_t default_props = HB_SEGMENT_PROPERTIES_DEFAULT; - props = default_props; - scratch_flags = HB_BUFFER_SCRATCH_FLAG_DEFAULT; - - content_type = HB_BUFFER_CONTENT_TYPE_INVALID; - successful = true; - have_output = false; - have_positions = false; - - idx = 0; - len = 0; - out_len = 0; - out_info = info; - - serial = 0; - - memset (context, 0, sizeof context); - memset (context_len, 0, sizeof context_len); - - deallocate_var_all (); -} - -void -hb_buffer_t::add (hb_codepoint_t codepoint, - unsigned int cluster) -{ - hb_glyph_info_t *glyph; - - if (unlikely (!ensure (len + 1))) return; - - glyph = &info[len]; - - memset (glyph, 0, sizeof (*glyph)); - glyph->codepoint = codepoint; - glyph->mask = 0; - glyph->cluster = cluster; - - len++; -} - -void -hb_buffer_t::add_info (const hb_glyph_info_t &glyph_info) -{ - if (unlikely (!ensure (len + 1))) return; - - info[len] = glyph_info; - - len++; -} - - -void -hb_buffer_t::clear_output () -{ - have_output = true; - have_positions = false; - - idx = 0; - out_len = 0; - out_info = info; -} - -void -hb_buffer_t::clear_positions () -{ - have_output = false; - have_positions = true; - - out_len = 0; - out_info = info; - - hb_memset (pos, 0, sizeof (pos[0]) * len); -} - -void -hb_buffer_t::swap_buffers () -{ - assert (have_output); - - assert (idx <= len); - - if (unlikely (!successful || !next_glyphs (len - idx))) - goto reset; - - if (out_info != info) - { - pos = (hb_glyph_position_t *) info; - info = out_info; - } - len = out_len; - -reset: - have_output = false; - out_len = 0; - idx = 0; -} - -bool -hb_buffer_t::move_to (unsigned int i) -{ - if (!have_output) - { - assert (i <= len); - idx = i; - return true; - } - if (unlikely (!successful)) - return false; - - assert (i <= out_len + (len - idx)); - - if (out_len < i) - { - unsigned int count = i - out_len; - if (unlikely (!make_room_for (count, count))) return false; - - memmove (out_info + out_len, info + idx, count * sizeof (out_info[0])); - idx += count; - out_len += count; - } - else if (out_len > i) - { - /* Tricky part: rewinding... */ - unsigned int count = out_len - i; - - /* This will blow in our face if memory allocation fails later - * in this same lookup... - * - * We used to shift with extra 32 items. - * But that would leave empty slots in the buffer in case of allocation - * failures. See comments in shift_forward(). This can cause O(N^2) - * behavior more severely than adding 32 empty slots can... */ - if (unlikely (idx < count && !shift_forward (count - idx))) return false; - - assert (idx >= count); - - idx -= count; - out_len -= count; - memmove (info + idx, out_info + out_len, count * sizeof (out_info[0])); - } - - return true; -} - - -void -hb_buffer_t::set_masks (hb_mask_t value, - hb_mask_t mask, - unsigned int cluster_start, - unsigned int cluster_end) -{ - hb_mask_t not_mask = ~mask; - value &= mask; - - if (!mask) - return; - - unsigned int count = len; - for (unsigned int i = 0; i < count; i++) - if (cluster_start <= info[i].cluster && info[i].cluster < cluster_end) - info[i].mask = (info[i].mask & not_mask) | value; -} - -void -hb_buffer_t::merge_clusters_impl (unsigned int start, - unsigned int end) -{ - if (cluster_level == HB_BUFFER_CLUSTER_LEVEL_CHARACTERS) - { - unsafe_to_break (start, end); - return; - } - - unsigned int cluster = info[start].cluster; - - for (unsigned int i = start + 1; i < end; i++) - cluster = hb_min (cluster, info[i].cluster); - - /* Extend end */ - while (end < len && info[end - 1].cluster == info[end].cluster) - end++; - - /* Extend start */ - while (idx < start && info[start - 1].cluster == info[start].cluster) - start--; - - /* If we hit the start of buffer, continue in out-buffer. */ - if (idx == start) - for (unsigned int i = out_len; i && out_info[i - 1].cluster == info[start].cluster; i--) - set_cluster (out_info[i - 1], cluster); - - for (unsigned int i = start; i < end; i++) - set_cluster (info[i], cluster); -} -void -hb_buffer_t::merge_out_clusters (unsigned int start, - unsigned int end) -{ - if (cluster_level == HB_BUFFER_CLUSTER_LEVEL_CHARACTERS) - return; - - if (unlikely (end - start < 2)) - return; - - unsigned int cluster = out_info[start].cluster; - - for (unsigned int i = start + 1; i < end; i++) - cluster = hb_min (cluster, out_info[i].cluster); - - /* Extend start */ - while (start && out_info[start - 1].cluster == out_info[start].cluster) - start--; - - /* Extend end */ - while (end < out_len && out_info[end - 1].cluster == out_info[end].cluster) - end++; - - /* If we hit the end of out-buffer, continue in buffer. */ - if (end == out_len) - for (unsigned int i = idx; i < len && info[i].cluster == out_info[end - 1].cluster; i++) - set_cluster (info[i], cluster); - - for (unsigned int i = start; i < end; i++) - set_cluster (out_info[i], cluster); -} -void -hb_buffer_t::delete_glyph () -{ - /* The logic here is duplicated in hb_ot_hide_default_ignorables(). */ - - unsigned int cluster = info[idx].cluster; - if (idx + 1 < len && cluster == info[idx + 1].cluster) - { - /* Cluster survives; do nothing. */ - goto done; - } - - if (out_len) - { - /* Merge cluster backward. */ - if (cluster < out_info[out_len - 1].cluster) - { - unsigned int mask = info[idx].mask; - unsigned int old_cluster = out_info[out_len - 1].cluster; - for (unsigned i = out_len; i && out_info[i - 1].cluster == old_cluster; i--) - set_cluster (out_info[i - 1], cluster, mask); - } - goto done; - } - - if (idx + 1 < len) - { - /* Merge cluster forward. */ - merge_clusters (idx, idx + 2); - goto done; - } - -done: - skip_glyph (); -} - -void -hb_buffer_t::unsafe_to_break_impl (unsigned int start, unsigned int end) -{ - unsigned int cluster = UINT_MAX; - cluster = _infos_find_min_cluster (info, start, end, cluster); - _unsafe_to_break_set_mask (info, start, end, cluster); -} -void -hb_buffer_t::unsafe_to_break_from_outbuffer (unsigned int start, unsigned int end) -{ - if (!have_output) - { - unsafe_to_break_impl (start, end); - return; - } - - assert (start <= out_len); - assert (idx <= end); - - unsigned int cluster = UINT_MAX; - cluster = _infos_find_min_cluster (out_info, start, out_len, cluster); - cluster = _infos_find_min_cluster (info, idx, end, cluster); - - _unsafe_to_break_set_mask (out_info, start, out_len, cluster); - _unsafe_to_break_set_mask (info, idx, end, cluster); -} - -void -hb_buffer_t::guess_segment_properties () -{ - assert_unicode (); - - /* If script is set to INVALID, guess from buffer contents */ - if (props.script == HB_SCRIPT_INVALID) { - for (unsigned int i = 0; i < len; i++) { - hb_script_t script = unicode->script (info[i].codepoint); - if (likely (script != HB_SCRIPT_COMMON && - script != HB_SCRIPT_INHERITED && - script != HB_SCRIPT_UNKNOWN)) { - props.script = script; - break; - } - } - } - - /* If direction is set to INVALID, guess from script */ - if (props.direction == HB_DIRECTION_INVALID) { - props.direction = hb_script_get_horizontal_direction (props.script); - if (props.direction == HB_DIRECTION_INVALID) - props.direction = HB_DIRECTION_LTR; - } - - /* If language is not set, use default language from locale */ - if (props.language == HB_LANGUAGE_INVALID) { - /* TODO get_default_for_script? using $LANGUAGE */ - props.language = hb_language_get_default (); - } -} - - -/* Public API */ - -DEFINE_NULL_INSTANCE (hb_buffer_t) = -{ - HB_OBJECT_HEADER_STATIC, - - const_cast (&_hb_Null_hb_unicode_funcs_t), - HB_BUFFER_FLAG_DEFAULT, - HB_BUFFER_CLUSTER_LEVEL_DEFAULT, - HB_BUFFER_REPLACEMENT_CODEPOINT_DEFAULT, - 0, /* invisible */ - 0, /* not_found */ - HB_BUFFER_SCRATCH_FLAG_DEFAULT, - HB_BUFFER_MAX_LEN_DEFAULT, - HB_BUFFER_MAX_OPS_DEFAULT, - - HB_BUFFER_CONTENT_TYPE_INVALID, - HB_SEGMENT_PROPERTIES_DEFAULT, - false, /* successful */ - false, /* have_output */ - true /* have_positions */ - - /* Zero is good enough for everything else. */ -}; - - -/** - * hb_buffer_create: (Xconstructor) - * - * Creates a new #hb_buffer_t with all properties to defaults. - * - * Return value: (transfer full): - * A newly allocated #hb_buffer_t with a reference count of 1. The initial - * reference count should be released with hb_buffer_destroy() when you are done - * using the #hb_buffer_t. This function never returns %NULL. If memory cannot - * be allocated, a special #hb_buffer_t object will be returned on which - * hb_buffer_allocation_successful() returns %false. - * - * Since: 0.9.2 - **/ -hb_buffer_t * -hb_buffer_create () -{ - hb_buffer_t *buffer; - - if (!(buffer = hb_object_create ())) - return hb_buffer_get_empty (); - - buffer->max_len = HB_BUFFER_MAX_LEN_DEFAULT; - buffer->max_ops = HB_BUFFER_MAX_OPS_DEFAULT; - - buffer->reset (); - - return buffer; -} - -/** - * hb_buffer_get_empty: - * - * Fetches an empty #hb_buffer_t. - * - * Return value: (transfer full): The empty buffer - * - * Since: 0.9.2 - **/ -hb_buffer_t * -hb_buffer_get_empty () -{ - return const_cast (&Null (hb_buffer_t)); -} - -/** - * hb_buffer_reference: (skip) - * @buffer: An #hb_buffer_t - * - * Increases the reference count on @buffer by one. This prevents @buffer from - * being destroyed until a matching call to hb_buffer_destroy() is made. - * - * Return value: (transfer full): - * The referenced #hb_buffer_t. - * - * Since: 0.9.2 - **/ -hb_buffer_t * -hb_buffer_reference (hb_buffer_t *buffer) -{ - return hb_object_reference (buffer); -} - -/** - * hb_buffer_destroy: (skip) - * @buffer: An #hb_buffer_t - * - * Deallocate the @buffer. - * Decreases the reference count on @buffer by one. If the result is zero, then - * @buffer and all associated resources are freed. See hb_buffer_reference(). - * - * Since: 0.9.2 - **/ -void -hb_buffer_destroy (hb_buffer_t *buffer) -{ - if (!hb_object_destroy (buffer)) return; - - hb_unicode_funcs_destroy (buffer->unicode); - - hb_free (buffer->info); - hb_free (buffer->pos); -#ifndef HB_NO_BUFFER_MESSAGE - if (buffer->message_destroy) - buffer->message_destroy (buffer->message_data); -#endif - - hb_free (buffer); -} - -/** - * hb_buffer_set_user_data: (skip) - * @buffer: An #hb_buffer_t - * @key: The user-data key - * @data: A pointer to the user data - * @destroy: (nullable): A callback to call when @data is not needed anymore - * @replace: Whether to replace an existing data with the same key - * - * Attaches a user-data key/data pair to the specified buffer. - * - * Return value: %true if success, %false otherwise - * - * Since: 0.9.2 - **/ -hb_bool_t -hb_buffer_set_user_data (hb_buffer_t *buffer, - hb_user_data_key_t *key, - void * data, - hb_destroy_func_t destroy, - hb_bool_t replace) -{ - return hb_object_set_user_data (buffer, key, data, destroy, replace); -} - -/** - * hb_buffer_get_user_data: (skip) - * @buffer: An #hb_buffer_t - * @key: The user-data key to query - * - * Fetches the user data associated with the specified key, - * attached to the specified buffer. - * - * Return value: (transfer none): A pointer to the user data - * - * Since: 0.9.2 - **/ -void * -hb_buffer_get_user_data (hb_buffer_t *buffer, - hb_user_data_key_t *key) -{ - return hb_object_get_user_data (buffer, key); -} - - -/** - * hb_buffer_set_content_type: - * @buffer: An #hb_buffer_t - * @content_type: The type of buffer contents to set - * - * Sets the type of @buffer contents. Buffers are either empty, contain - * characters (before shaping), or contain glyphs (the result of shaping). - * - * Since: 0.9.5 - **/ -void -hb_buffer_set_content_type (hb_buffer_t *buffer, - hb_buffer_content_type_t content_type) -{ - buffer->content_type = content_type; -} - -/** - * hb_buffer_get_content_type: - * @buffer: An #hb_buffer_t - * - * Fetches the type of @buffer contents. Buffers are either empty, contain - * characters (before shaping), or contain glyphs (the result of shaping). - * - * Return value: - * The type of @buffer contents - * - * Since: 0.9.5 - **/ -hb_buffer_content_type_t -hb_buffer_get_content_type (hb_buffer_t *buffer) -{ - return buffer->content_type; -} - - -/** - * hb_buffer_set_unicode_funcs: - * @buffer: An #hb_buffer_t - * @unicode_funcs: The Unicode-functions structure - * - * Sets the Unicode-functions structure of a buffer to - * @unicode_funcs. - * - * Since: 0.9.2 - **/ -void -hb_buffer_set_unicode_funcs (hb_buffer_t *buffer, - hb_unicode_funcs_t *unicode_funcs) -{ - if (unlikely (hb_object_is_immutable (buffer))) - return; - - if (!unicode_funcs) - unicode_funcs = hb_unicode_funcs_get_default (); - - hb_unicode_funcs_reference (unicode_funcs); - hb_unicode_funcs_destroy (buffer->unicode); - buffer->unicode = unicode_funcs; -} - -/** - * hb_buffer_get_unicode_funcs: - * @buffer: An #hb_buffer_t - * - * Fetches the Unicode-functions structure of a buffer. - * - * Return value: The Unicode-functions structure - * - * Since: 0.9.2 - **/ -hb_unicode_funcs_t * -hb_buffer_get_unicode_funcs (hb_buffer_t *buffer) -{ - return buffer->unicode; -} - -/** - * hb_buffer_set_direction: - * @buffer: An #hb_buffer_t - * @direction: the #hb_direction_t of the @buffer - * - * Set the text flow direction of the buffer. No shaping can happen without - * setting @buffer direction, and it controls the visual direction for the - * output glyphs; for RTL direction the glyphs will be reversed. Many layout - * features depend on the proper setting of the direction, for example, - * reversing RTL text before shaping, then shaping with LTR direction is not - * the same as keeping the text in logical order and shaping with RTL - * direction. - * - * Since: 0.9.2 - **/ -void -hb_buffer_set_direction (hb_buffer_t *buffer, - hb_direction_t direction) - -{ - if (unlikely (hb_object_is_immutable (buffer))) - return; - - buffer->props.direction = direction; -} - -/** - * hb_buffer_get_direction: - * @buffer: An #hb_buffer_t - * - * See hb_buffer_set_direction() - * - * Return value: - * The direction of the @buffer. - * - * Since: 0.9.2 - **/ -hb_direction_t -hb_buffer_get_direction (hb_buffer_t *buffer) -{ - return buffer->props.direction; -} - -/** - * hb_buffer_set_script: - * @buffer: An #hb_buffer_t - * @script: An #hb_script_t to set. - * - * Sets the script of @buffer to @script. - * - * Script is crucial for choosing the proper shaping behaviour for scripts that - * require it (e.g. Arabic) and the which OpenType features defined in the font - * to be applied. - * - * You can pass one of the predefined #hb_script_t values, or use - * hb_script_from_string() or hb_script_from_iso15924_tag() to get the - * corresponding script from an ISO 15924 script tag. - * - * Since: 0.9.2 - **/ -void -hb_buffer_set_script (hb_buffer_t *buffer, - hb_script_t script) -{ - if (unlikely (hb_object_is_immutable (buffer))) - return; - - buffer->props.script = script; -} - -/** - * hb_buffer_get_script: - * @buffer: An #hb_buffer_t - * - * Fetches the script of @buffer. - * - * Return value: - * The #hb_script_t of the @buffer - * - * Since: 0.9.2 - **/ -hb_script_t -hb_buffer_get_script (hb_buffer_t *buffer) -{ - return buffer->props.script; -} - -/** - * hb_buffer_set_language: - * @buffer: An #hb_buffer_t - * @language: An hb_language_t to set - * - * Sets the language of @buffer to @language. - * - * Languages are crucial for selecting which OpenType feature to apply to the - * buffer which can result in applying language-specific behaviour. Languages - * are orthogonal to the scripts, and though they are related, they are - * different concepts and should not be confused with each other. - * - * Use hb_language_from_string() to convert from BCP 47 language tags to - * #hb_language_t. - * - * Since: 0.9.2 - **/ -void -hb_buffer_set_language (hb_buffer_t *buffer, - hb_language_t language) -{ - if (unlikely (hb_object_is_immutable (buffer))) - return; - - buffer->props.language = language; -} - -/** - * hb_buffer_get_language: - * @buffer: An #hb_buffer_t - * - * See hb_buffer_set_language(). - * - * Return value: (transfer none): - * The #hb_language_t of the buffer. Must not be freed by the caller. - * - * Since: 0.9.2 - **/ -hb_language_t -hb_buffer_get_language (hb_buffer_t *buffer) -{ - return buffer->props.language; -} - -/** - * hb_buffer_set_segment_properties: - * @buffer: An #hb_buffer_t - * @props: An #hb_segment_properties_t to use - * - * Sets the segment properties of the buffer, a shortcut for calling - * hb_buffer_set_direction(), hb_buffer_set_script() and - * hb_buffer_set_language() individually. - * - * Since: 0.9.7 - **/ -void -hb_buffer_set_segment_properties (hb_buffer_t *buffer, - const hb_segment_properties_t *props) -{ - if (unlikely (hb_object_is_immutable (buffer))) - return; - - buffer->props = *props; -} - -/** - * hb_buffer_get_segment_properties: - * @buffer: An #hb_buffer_t - * @props: (out): The output #hb_segment_properties_t - * - * Sets @props to the #hb_segment_properties_t of @buffer. - * - * Since: 0.9.7 - **/ -void -hb_buffer_get_segment_properties (hb_buffer_t *buffer, - hb_segment_properties_t *props) -{ - *props = buffer->props; -} - - -/** - * hb_buffer_set_flags: - * @buffer: An #hb_buffer_t - * @flags: The buffer flags to set - * - * Sets @buffer flags to @flags. See #hb_buffer_flags_t. - * - * Since: 0.9.7 - **/ -void -hb_buffer_set_flags (hb_buffer_t *buffer, - hb_buffer_flags_t flags) -{ - if (unlikely (hb_object_is_immutable (buffer))) - return; - - buffer->flags = flags; -} - -/** - * hb_buffer_get_flags: - * @buffer: An #hb_buffer_t - * - * Fetches the #hb_buffer_flags_t of @buffer. - * - * Return value: - * The @buffer flags - * - * Since: 0.9.7 - **/ -hb_buffer_flags_t -hb_buffer_get_flags (hb_buffer_t *buffer) -{ - return buffer->flags; -} - -/** - * hb_buffer_set_cluster_level: - * @buffer: An #hb_buffer_t - * @cluster_level: The cluster level to set on the buffer - * - * Sets the cluster level of a buffer. The #hb_buffer_cluster_level_t - * dictates one aspect of how HarfBuzz will treat non-base characters - * during shaping. - * - * Since: 0.9.42 - **/ -void -hb_buffer_set_cluster_level (hb_buffer_t *buffer, - hb_buffer_cluster_level_t cluster_level) -{ - if (unlikely (hb_object_is_immutable (buffer))) - return; - - buffer->cluster_level = cluster_level; -} - -/** - * hb_buffer_get_cluster_level: - * @buffer: An #hb_buffer_t - * - * Fetches the cluster level of a buffer. The #hb_buffer_cluster_level_t - * dictates one aspect of how HarfBuzz will treat non-base characters - * during shaping. - * - * Return value: The cluster level of @buffer - * - * Since: 0.9.42 - **/ -hb_buffer_cluster_level_t -hb_buffer_get_cluster_level (hb_buffer_t *buffer) -{ - return buffer->cluster_level; -} - - -/** - * hb_buffer_set_replacement_codepoint: - * @buffer: An #hb_buffer_t - * @replacement: the replacement #hb_codepoint_t - * - * Sets the #hb_codepoint_t that replaces invalid entries for a given encoding - * when adding text to @buffer. - * - * Default is #HB_BUFFER_REPLACEMENT_CODEPOINT_DEFAULT. - * - * Since: 0.9.31 - **/ -void -hb_buffer_set_replacement_codepoint (hb_buffer_t *buffer, - hb_codepoint_t replacement) -{ - if (unlikely (hb_object_is_immutable (buffer))) - return; - - buffer->replacement = replacement; -} - -/** - * hb_buffer_get_replacement_codepoint: - * @buffer: An #hb_buffer_t - * - * Fetches the #hb_codepoint_t that replaces invalid entries for a given encoding - * when adding text to @buffer. - * - * Return value: - * The @buffer replacement #hb_codepoint_t - * - * Since: 0.9.31 - **/ -hb_codepoint_t -hb_buffer_get_replacement_codepoint (hb_buffer_t *buffer) -{ - return buffer->replacement; -} - - -/** - * hb_buffer_set_invisible_glyph: - * @buffer: An #hb_buffer_t - * @invisible: the invisible #hb_codepoint_t - * - * Sets the #hb_codepoint_t that replaces invisible characters in - * the shaping result. If set to zero (default), the glyph for the - * U+0020 SPACE character is used. Otherwise, this value is used - * verbatim. - * - * Since: 2.0.0 - **/ -void -hb_buffer_set_invisible_glyph (hb_buffer_t *buffer, - hb_codepoint_t invisible) -{ - if (unlikely (hb_object_is_immutable (buffer))) - return; - - buffer->invisible = invisible; -} - -/** - * hb_buffer_get_invisible_glyph: - * @buffer: An #hb_buffer_t - * - * See hb_buffer_set_invisible_glyph(). - * - * Return value: - * The @buffer invisible #hb_codepoint_t - * - * Since: 2.0.0 - **/ -hb_codepoint_t -hb_buffer_get_invisible_glyph (hb_buffer_t *buffer) -{ - return buffer->invisible; -} - -/** - * hb_buffer_set_not_found_glyph: - * @buffer: An #hb_buffer_t - * @not_found: the not-found #hb_codepoint_t - * - * Sets the #hb_codepoint_t that replaces characters not found in - * the font during shaping. - * - * The not-found glyph defaults to zero, sometimes knows as the - * ".notdef" glyph. This API allows for differentiating the two. - * - * Since: 3.1.0 - **/ -void -hb_buffer_set_not_found_glyph (hb_buffer_t *buffer, - hb_codepoint_t not_found) -{ - if (unlikely (hb_object_is_immutable (buffer))) - return; - - buffer->not_found = not_found; -} - -/** - * hb_buffer_get_not_found_glyph: - * @buffer: An #hb_buffer_t - * - * See hb_buffer_set_not_found_glyph(). - * - * Return value: - * The @buffer not-found #hb_codepoint_t - * - * Since: 3.1.0 - **/ -hb_codepoint_t -hb_buffer_get_not_found_glyph (hb_buffer_t *buffer) -{ - return buffer->not_found; -} - - -/** - * hb_buffer_reset: - * @buffer: An #hb_buffer_t - * - * Resets the buffer to its initial status, as if it was just newly created - * with hb_buffer_create(). - * - * Since: 0.9.2 - **/ -void -hb_buffer_reset (hb_buffer_t *buffer) -{ - if (unlikely (hb_object_is_immutable (buffer))) - return; - - buffer->reset (); -} - -/** - * hb_buffer_clear_contents: - * @buffer: An #hb_buffer_t - * - * Similar to hb_buffer_reset(), but does not clear the Unicode functions and - * the replacement code point. - * - * Since: 0.9.11 - **/ -void -hb_buffer_clear_contents (hb_buffer_t *buffer) -{ - if (unlikely (hb_object_is_immutable (buffer))) - return; - - buffer->clear (); -} - -/** - * hb_buffer_pre_allocate: - * @buffer: An #hb_buffer_t - * @size: Number of items to pre allocate. - * - * Pre allocates memory for @buffer to fit at least @size number of items. - * - * Return value: - * %true if @buffer memory allocation succeeded, %false otherwise - * - * Since: 0.9.2 - **/ -hb_bool_t -hb_buffer_pre_allocate (hb_buffer_t *buffer, unsigned int size) -{ - return buffer->ensure (size); -} - -/** - * hb_buffer_allocation_successful: - * @buffer: An #hb_buffer_t - * - * Check if allocating memory for the buffer succeeded. - * - * Return value: - * %true if @buffer memory allocation succeeded, %false otherwise. - * - * Since: 0.9.2 - **/ -hb_bool_t -hb_buffer_allocation_successful (hb_buffer_t *buffer) -{ - return buffer->successful; -} - -/** - * hb_buffer_add: - * @buffer: An #hb_buffer_t - * @codepoint: A Unicode code point. - * @cluster: The cluster value of @codepoint. - * - * Appends a character with the Unicode value of @codepoint to @buffer, and - * gives it the initial cluster value of @cluster. Clusters can be any thing - * the client wants, they are usually used to refer to the index of the - * character in the input text stream and are output in - * #hb_glyph_info_t.cluster field. - * - * This function does not check the validity of @codepoint, it is up to the - * caller to ensure it is a valid Unicode code point. - * - * Since: 0.9.7 - **/ -void -hb_buffer_add (hb_buffer_t *buffer, - hb_codepoint_t codepoint, - unsigned int cluster) -{ - buffer->add (codepoint, cluster); - buffer->clear_context (1); -} - -/** - * hb_buffer_set_length: - * @buffer: An #hb_buffer_t - * @length: The new length of @buffer - * - * Similar to hb_buffer_pre_allocate(), but clears any new items added at the - * end. - * - * Return value: - * %true if @buffer memory allocation succeeded, %false otherwise. - * - * Since: 0.9.2 - **/ -hb_bool_t -hb_buffer_set_length (hb_buffer_t *buffer, - unsigned int length) -{ - if (unlikely (hb_object_is_immutable (buffer))) - return length == 0; - - if (unlikely (!buffer->ensure (length))) - return false; - - /* Wipe the new space */ - if (length > buffer->len) { - memset (buffer->info + buffer->len, 0, sizeof (buffer->info[0]) * (length - buffer->len)); - if (buffer->have_positions) - memset (buffer->pos + buffer->len, 0, sizeof (buffer->pos[0]) * (length - buffer->len)); - } - - buffer->len = length; - - if (!length) - { - buffer->content_type = HB_BUFFER_CONTENT_TYPE_INVALID; - buffer->clear_context (0); - } - buffer->clear_context (1); - - return true; -} - -/** - * hb_buffer_get_length: - * @buffer: An #hb_buffer_t - * - * Returns the number of items in the buffer. - * - * Return value: - * The @buffer length. - * The value valid as long as buffer has not been modified. - * - * Since: 0.9.2 - **/ -unsigned int -hb_buffer_get_length (hb_buffer_t *buffer) -{ - return buffer->len; -} - -/** - * hb_buffer_get_glyph_infos: - * @buffer: An #hb_buffer_t - * @length: (out): The output-array length. - * - * Returns @buffer glyph information array. Returned pointer - * is valid as long as @buffer contents are not modified. - * - * Return value: (transfer none) (array length=length): - * The @buffer glyph information array. - * The value valid as long as buffer has not been modified. - * - * Since: 0.9.2 - **/ -hb_glyph_info_t * -hb_buffer_get_glyph_infos (hb_buffer_t *buffer, - unsigned int *length) -{ - if (length) - *length = buffer->len; - - return (hb_glyph_info_t *) buffer->info; -} - -/** - * hb_buffer_get_glyph_positions: - * @buffer: An #hb_buffer_t - * @length: (out): The output length - * - * Returns @buffer glyph position array. Returned pointer - * is valid as long as @buffer contents are not modified. - * - * If buffer did not have positions before, the positions will be - * initialized to zeros, unless this function is called from - * within a buffer message callback (see hb_buffer_set_message_func()), - * in which case %NULL is returned. - * - * Return value: (transfer none) (array length=length): - * The @buffer glyph position array. - * The value valid as long as buffer has not been modified. - * - * Since: 0.9.2 - **/ -hb_glyph_position_t * -hb_buffer_get_glyph_positions (hb_buffer_t *buffer, - unsigned int *length) -{ - if (length) - *length = buffer->len; - - if (!buffer->have_positions) - { - if (unlikely (buffer->message_depth)) - return nullptr; - - buffer->clear_positions (); - } - - return (hb_glyph_position_t *) buffer->pos; -} - -/** - * hb_buffer_has_positions: - * @buffer: an #hb_buffer_t. - * - * Returns whether @buffer has glyph position data. - * A buffer gains position data when hb_buffer_get_glyph_positions() is called on it, - * and cleared of position data when hb_buffer_clear_contents() is called. - * - * Return value: - * %true if the @buffer has position array, %false otherwise. - * - * Since: 2.7.3 - **/ -HB_EXTERN hb_bool_t -hb_buffer_has_positions (hb_buffer_t *buffer) -{ - return buffer->have_positions; -} - -/** - * hb_glyph_info_get_glyph_flags: - * @info: a #hb_glyph_info_t - * - * Returns glyph flags encoded within a #hb_glyph_info_t. - * - * Return value: - * The #hb_glyph_flags_t encoded within @info - * - * Since: 1.5.0 - **/ -hb_glyph_flags_t -(hb_glyph_info_get_glyph_flags) (const hb_glyph_info_t *info) -{ - return hb_glyph_info_get_glyph_flags (info); -} - -/** - * hb_buffer_reverse: - * @buffer: An #hb_buffer_t - * - * Reverses buffer contents. - * - * Since: 0.9.2 - **/ -void -hb_buffer_reverse (hb_buffer_t *buffer) -{ - buffer->reverse (); -} - -/** - * hb_buffer_reverse_range: - * @buffer: An #hb_buffer_t - * @start: start index - * @end: end index - * - * Reverses buffer contents between @start and @end. - * - * Since: 0.9.41 - **/ -void -hb_buffer_reverse_range (hb_buffer_t *buffer, - unsigned int start, unsigned int end) -{ - buffer->reverse_range (start, end); -} - -/** - * hb_buffer_reverse_clusters: - * @buffer: An #hb_buffer_t - * - * Reverses buffer clusters. That is, the buffer contents are - * reversed, then each cluster (consecutive items having the - * same cluster number) are reversed again. - * - * Since: 0.9.2 - **/ -void -hb_buffer_reverse_clusters (hb_buffer_t *buffer) -{ - buffer->reverse_clusters (); -} - -/** - * hb_buffer_guess_segment_properties: - * @buffer: An #hb_buffer_t - * - * Sets unset buffer segment properties based on buffer Unicode - * contents. If buffer is not empty, it must have content type - * #HB_BUFFER_CONTENT_TYPE_UNICODE. - * - * If buffer script is not set (ie. is #HB_SCRIPT_INVALID), it - * will be set to the Unicode script of the first character in - * the buffer that has a script other than #HB_SCRIPT_COMMON, - * #HB_SCRIPT_INHERITED, and #HB_SCRIPT_UNKNOWN. - * - * Next, if buffer direction is not set (ie. is #HB_DIRECTION_INVALID), - * it will be set to the natural horizontal direction of the - * buffer script as returned by hb_script_get_horizontal_direction(). - * If hb_script_get_horizontal_direction() returns #HB_DIRECTION_INVALID, - * then #HB_DIRECTION_LTR is used. - * - * Finally, if buffer language is not set (ie. is #HB_LANGUAGE_INVALID), - * it will be set to the process's default language as returned by - * hb_language_get_default(). This may change in the future by - * taking buffer script into consideration when choosing a language. - * Note that hb_language_get_default() is NOT threadsafe the first time - * it is called. See documentation for that function for details. - * - * Since: 0.9.7 - **/ -void -hb_buffer_guess_segment_properties (hb_buffer_t *buffer) -{ - buffer->guess_segment_properties (); -} - -template -static inline void -hb_buffer_add_utf (hb_buffer_t *buffer, - const typename utf_t::codepoint_t *text, - int text_length, - unsigned int item_offset, - int item_length) -{ - typedef typename utf_t::codepoint_t T; - const hb_codepoint_t replacement = buffer->replacement; - - buffer->assert_unicode (); - - if (unlikely (hb_object_is_immutable (buffer))) - return; - - if (text_length == -1) - text_length = utf_t::strlen (text); - - if (item_length == -1) - item_length = text_length - item_offset; - - if (unlikely (item_length < 0 || - item_length > INT_MAX / 8 || - !buffer->ensure (buffer->len + item_length * sizeof (T) / 4))) - return; - - /* If buffer is empty and pre-context provided, install it. - * This check is written this way, to make sure people can - * provide pre-context in one add_utf() call, then provide - * text in a follow-up call. See: - * - * https://bugzilla.mozilla.org/show_bug.cgi?id=801410#c13 - */ - if (!buffer->len && item_offset > 0) - { - /* Add pre-context */ - buffer->clear_context (0); - const T *prev = text + item_offset; - const T *start = text; - while (start < prev && buffer->context_len[0] < buffer->CONTEXT_LENGTH) - { - hb_codepoint_t u; - prev = utf_t::prev (prev, start, &u, replacement); - buffer->context[0][buffer->context_len[0]++] = u; - } - } - - const T *next = text + item_offset; - const T *end = next + item_length; - while (next < end) - { - hb_codepoint_t u; - const T *old_next = next; - next = utf_t::next (next, end, &u, replacement); - buffer->add (u, old_next - (const T *) text); - } - - /* Add post-context */ - buffer->clear_context (1); - end = text + text_length; - while (next < end && buffer->context_len[1] < buffer->CONTEXT_LENGTH) - { - hb_codepoint_t u; - next = utf_t::next (next, end, &u, replacement); - buffer->context[1][buffer->context_len[1]++] = u; - } - - buffer->content_type = HB_BUFFER_CONTENT_TYPE_UNICODE; -} - -/** - * hb_buffer_add_utf8: - * @buffer: An #hb_buffer_t - * @text: (array length=text_length) (element-type uint8_t): An array of UTF-8 - * characters to append. - * @text_length: The length of the @text, or -1 if it is %NULL terminated. - * @item_offset: The offset of the first character to add to the @buffer. - * @item_length: The number of characters to add to the @buffer, or -1 for the - * end of @text (assuming it is %NULL terminated). - * - * See hb_buffer_add_codepoints(). - * - * Replaces invalid UTF-8 characters with the @buffer replacement code point, - * see hb_buffer_set_replacement_codepoint(). - * - * Since: 0.9.2 - **/ -void -hb_buffer_add_utf8 (hb_buffer_t *buffer, - const char *text, - int text_length, - unsigned int item_offset, - int item_length) -{ - hb_buffer_add_utf (buffer, (const uint8_t *) text, text_length, item_offset, item_length); -} - -/** - * hb_buffer_add_utf16: - * @buffer: An #hb_buffer_t - * @text: (array length=text_length): An array of UTF-16 characters to append - * @text_length: The length of the @text, or -1 if it is %NULL terminated - * @item_offset: The offset of the first character to add to the @buffer - * @item_length: The number of characters to add to the @buffer, or -1 for the - * end of @text (assuming it is %NULL terminated) - * - * See hb_buffer_add_codepoints(). - * - * Replaces invalid UTF-16 characters with the @buffer replacement code point, - * see hb_buffer_set_replacement_codepoint(). - * - * Since: 0.9.2 - **/ -void -hb_buffer_add_utf16 (hb_buffer_t *buffer, - const uint16_t *text, - int text_length, - unsigned int item_offset, - int item_length) -{ - hb_buffer_add_utf (buffer, text, text_length, item_offset, item_length); -} - -/** - * hb_buffer_add_utf32: - * @buffer: An #hb_buffer_t - * @text: (array length=text_length): An array of UTF-32 characters to append - * @text_length: The length of the @text, or -1 if it is %NULL terminated - * @item_offset: The offset of the first character to add to the @buffer - * @item_length: The number of characters to add to the @buffer, or -1 for the - * end of @text (assuming it is %NULL terminated) - * - * See hb_buffer_add_codepoints(). - * - * Replaces invalid UTF-32 characters with the @buffer replacement code point, - * see hb_buffer_set_replacement_codepoint(). - * - * Since: 0.9.2 - **/ -void -hb_buffer_add_utf32 (hb_buffer_t *buffer, - const uint32_t *text, - int text_length, - unsigned int item_offset, - int item_length) -{ - hb_buffer_add_utf (buffer, text, text_length, item_offset, item_length); -} - -/** - * hb_buffer_add_latin1: - * @buffer: An #hb_buffer_t - * @text: (array length=text_length) (element-type uint8_t): an array of UTF-8 - * characters to append - * @text_length: the length of the @text, or -1 if it is %NULL terminated - * @item_offset: the offset of the first character to add to the @buffer - * @item_length: the number of characters to add to the @buffer, or -1 for the - * end of @text (assuming it is %NULL terminated) - * - * Similar to hb_buffer_add_codepoints(), but allows only access to first 256 - * Unicode code points that can fit in 8-bit strings. - * - * Has nothing to do with non-Unicode Latin-1 encoding. - * - * Since: 0.9.39 - **/ -void -hb_buffer_add_latin1 (hb_buffer_t *buffer, - const uint8_t *text, - int text_length, - unsigned int item_offset, - int item_length) -{ - hb_buffer_add_utf (buffer, text, text_length, item_offset, item_length); -} - -/** - * hb_buffer_add_codepoints: - * @buffer: a #hb_buffer_t to append characters to. - * @text: (array length=text_length): an array of Unicode code points to append. - * @text_length: the length of the @text, or -1 if it is %NULL terminated. - * @item_offset: the offset of the first code point to add to the @buffer. - * @item_length: the number of code points to add to the @buffer, or -1 for the - * end of @text (assuming it is %NULL terminated). - * - * Appends characters from @text array to @buffer. The @item_offset is the - * position of the first character from @text that will be appended, and - * @item_length is the number of character. When shaping part of a larger text - * (e.g. a run of text from a paragraph), instead of passing just the substring - * corresponding to the run, it is preferable to pass the whole - * paragraph and specify the run start and length as @item_offset and - * @item_length, respectively, to give HarfBuzz the full context to be able, - * for example, to do cross-run Arabic shaping or properly handle combining - * marks at stat of run. - * - * This function does not check the validity of @text, it is up to the caller - * to ensure it contains a valid Unicode code points. - * - * Since: 0.9.31 - **/ -void -hb_buffer_add_codepoints (hb_buffer_t *buffer, - const hb_codepoint_t *text, - int text_length, - unsigned int item_offset, - int item_length) -{ - hb_buffer_add_utf (buffer, text, text_length, item_offset, item_length); -} - - -/** - * hb_buffer_append: - * @buffer: An #hb_buffer_t - * @source: source #hb_buffer_t - * @start: start index into source buffer to copy. Use 0 to copy from start of buffer. - * @end: end index into source buffer to copy. Use @HB_FEATURE_GLOBAL_END to copy to end of buffer. - * - * Append (part of) contents of another buffer to this buffer. - * - * Since: 1.5.0 - **/ -HB_EXTERN void -hb_buffer_append (hb_buffer_t *buffer, - hb_buffer_t *source, - unsigned int start, - unsigned int end) -{ - assert (!buffer->have_output && !source->have_output); - assert (buffer->have_positions == source->have_positions || - !buffer->len || !source->len); - assert (buffer->content_type == source->content_type || - !buffer->len || !source->len); - - if (end > source->len) - end = source->len; - if (start > end) - start = end; - if (start == end) - return; - - if (buffer->len + (end - start) < buffer->len) /* Overflows. */ - { - buffer->successful = false; - return; - } - - unsigned int orig_len = buffer->len; - hb_buffer_set_length (buffer, buffer->len + (end - start)); - if (unlikely (!buffer->successful)) - return; - - if (!orig_len) - buffer->content_type = source->content_type; - if (!buffer->have_positions && source->have_positions) - buffer->clear_positions (); - - memcpy (buffer->info + orig_len, source->info + start, (end - start) * sizeof (buffer->info[0])); - if (buffer->have_positions) - memcpy (buffer->pos + orig_len, source->pos + start, (end - start) * sizeof (buffer->pos[0])); - - if (source->content_type == HB_BUFFER_CONTENT_TYPE_UNICODE) - { - /* See similar logic in add_utf. */ - - /* pre-context */ - if (!orig_len && start + source->context_len[0] > 0) - { - buffer->clear_context (0); - while (start > 0 && buffer->context_len[0] < buffer->CONTEXT_LENGTH) - buffer->context[0][buffer->context_len[0]++] = source->info[--start].codepoint; - for (auto i = 0u; i < source->context_len[0] && buffer->context_len[0] < buffer->CONTEXT_LENGTH; i++) - buffer->context[0][buffer->context_len[0]++] = source->context[0][i]; - } - - /* post-context */ - buffer->clear_context (1); - while (end < source->len && buffer->context_len[1] < buffer->CONTEXT_LENGTH) - buffer->context[1][buffer->context_len[1]++] = source->info[end++].codepoint; - for (auto i = 0u; i < source->context_len[1] && buffer->context_len[1] < buffer->CONTEXT_LENGTH; i++) - buffer->context[1][buffer->context_len[1]++] = source->context[1][i]; - } -} - - -static int -compare_info_codepoint (const hb_glyph_info_t *pa, - const hb_glyph_info_t *pb) -{ - return (int) pb->codepoint - (int) pa->codepoint; -} - -static inline void -normalize_glyphs_cluster (hb_buffer_t *buffer, - unsigned int start, - unsigned int end, - bool backward) -{ - hb_glyph_position_t *pos = buffer->pos; - - /* Total cluster advance */ - hb_position_t total_x_advance = 0, total_y_advance = 0; - for (unsigned int i = start; i < end; i++) - { - total_x_advance += pos[i].x_advance; - total_y_advance += pos[i].y_advance; - } - - hb_position_t x_advance = 0, y_advance = 0; - for (unsigned int i = start; i < end; i++) - { - pos[i].x_offset += x_advance; - pos[i].y_offset += y_advance; - - x_advance += pos[i].x_advance; - y_advance += pos[i].y_advance; - - pos[i].x_advance = 0; - pos[i].y_advance = 0; - } - - if (backward) - { - /* Transfer all cluster advance to the last glyph. */ - pos[end - 1].x_advance = total_x_advance; - pos[end - 1].y_advance = total_y_advance; - - hb_stable_sort (buffer->info + start, end - start - 1, compare_info_codepoint, buffer->pos + start); - } else { - /* Transfer all cluster advance to the first glyph. */ - pos[start].x_advance += total_x_advance; - pos[start].y_advance += total_y_advance; - for (unsigned int i = start + 1; i < end; i++) { - pos[i].x_offset -= total_x_advance; - pos[i].y_offset -= total_y_advance; - } - hb_stable_sort (buffer->info + start + 1, end - start - 1, compare_info_codepoint, buffer->pos + start + 1); - } -} - -/** - * hb_buffer_normalize_glyphs: - * @buffer: An #hb_buffer_t - * - * Reorders a glyph buffer to have canonical in-cluster glyph order / position. - * The resulting clusters should behave identical to pre-reordering clusters. - * - * This has nothing to do with Unicode normalization. - * - * Since: 0.9.2 - **/ -void -hb_buffer_normalize_glyphs (hb_buffer_t *buffer) -{ - assert (buffer->have_positions); - - buffer->assert_glyphs (); - - bool backward = HB_DIRECTION_IS_BACKWARD (buffer->props.direction); - - foreach_cluster (buffer, start, end) - normalize_glyphs_cluster (buffer, start, end, backward); -} - -void -hb_buffer_t::sort (unsigned int start, unsigned int end, int(*compar)(const hb_glyph_info_t *, const hb_glyph_info_t *)) -{ - assert (!have_positions); - for (unsigned int i = start + 1; i < end; i++) - { - unsigned int j = i; - while (j > start && compar (&info[j - 1], &info[i]) > 0) - j--; - if (i == j) - continue; - /* Move item i to occupy place for item j, shift what's in between. */ - merge_clusters (j, i + 1); - { - hb_glyph_info_t t = info[i]; - memmove (&info[j + 1], &info[j], (i - j) * sizeof (hb_glyph_info_t)); - info[j] = t; - } - } -} - - -/* - * Comparing buffers. - */ - -/** - * hb_buffer_diff: - * @buffer: a buffer. - * @reference: other buffer to compare to. - * @dottedcircle_glyph: glyph id of U+25CC DOTTED CIRCLE, or (hb_codepont_t) -1. - * @position_fuzz: allowed absolute difference in position values. - * - * If dottedcircle_glyph is (hb_codepoint_t) -1 then #HB_BUFFER_DIFF_FLAG_DOTTED_CIRCLE_PRESENT - * and #HB_BUFFER_DIFF_FLAG_NOTDEF_PRESENT are never returned. This should be used by most - * callers if just comparing two buffers is needed. - * - * Since: 1.5.0 - **/ -hb_buffer_diff_flags_t -hb_buffer_diff (hb_buffer_t *buffer, - hb_buffer_t *reference, - hb_codepoint_t dottedcircle_glyph, - unsigned int position_fuzz) -{ - if (buffer->content_type != reference->content_type && buffer->len && reference->len) - return HB_BUFFER_DIFF_FLAG_CONTENT_TYPE_MISMATCH; - - hb_buffer_diff_flags_t result = HB_BUFFER_DIFF_FLAG_EQUAL; - bool contains = dottedcircle_glyph != (hb_codepoint_t) -1; - - unsigned int count = reference->len; - - if (buffer->len != count) - { - /* - * we can't compare glyph-by-glyph, but we do want to know if there - * are .notdef or dottedcircle glyphs present in the reference buffer - */ - const hb_glyph_info_t *info = reference->info; - unsigned int i; - for (i = 0; i < count; i++) - { - if (contains && info[i].codepoint == dottedcircle_glyph) - result |= HB_BUFFER_DIFF_FLAG_DOTTED_CIRCLE_PRESENT; - if (contains && info[i].codepoint == 0) - result |= HB_BUFFER_DIFF_FLAG_NOTDEF_PRESENT; - } - result |= HB_BUFFER_DIFF_FLAG_LENGTH_MISMATCH; - return hb_buffer_diff_flags_t (result); - } - - if (!count) - return hb_buffer_diff_flags_t (result); - - const hb_glyph_info_t *buf_info = buffer->info; - const hb_glyph_info_t *ref_info = reference->info; - for (unsigned int i = 0; i < count; i++) - { - if (buf_info->codepoint != ref_info->codepoint) - result |= HB_BUFFER_DIFF_FLAG_CODEPOINT_MISMATCH; - if (buf_info->cluster != ref_info->cluster) - result |= HB_BUFFER_DIFF_FLAG_CLUSTER_MISMATCH; - if ((buf_info->mask & ~ref_info->mask & HB_GLYPH_FLAG_DEFINED)) - result |= HB_BUFFER_DIFF_FLAG_GLYPH_FLAGS_MISMATCH; - if (contains && ref_info->codepoint == dottedcircle_glyph) - result |= HB_BUFFER_DIFF_FLAG_DOTTED_CIRCLE_PRESENT; - if (contains && ref_info->codepoint == 0) - result |= HB_BUFFER_DIFF_FLAG_NOTDEF_PRESENT; - buf_info++; - ref_info++; - } - - if (buffer->content_type == HB_BUFFER_CONTENT_TYPE_GLYPHS) - { - assert (buffer->have_positions); - const hb_glyph_position_t *buf_pos = buffer->pos; - const hb_glyph_position_t *ref_pos = reference->pos; - for (unsigned int i = 0; i < count; i++) - { - if ((unsigned int) abs (buf_pos->x_advance - ref_pos->x_advance) > position_fuzz || - (unsigned int) abs (buf_pos->y_advance - ref_pos->y_advance) > position_fuzz || - (unsigned int) abs (buf_pos->x_offset - ref_pos->x_offset) > position_fuzz || - (unsigned int) abs (buf_pos->y_offset - ref_pos->y_offset) > position_fuzz) - { - result |= HB_BUFFER_DIFF_FLAG_POSITION_MISMATCH; - break; - } - buf_pos++; - ref_pos++; - } - } - - return result; -} - - -/* - * Debugging. - */ - -#ifndef HB_NO_BUFFER_MESSAGE -/** - * hb_buffer_set_message_func: - * @buffer: An #hb_buffer_t - * @func: (closure user_data) (destroy destroy) (scope notified): Callback function - * @user_data: (nullable): Data to pass to @func - * @destroy: (nullable): The function to call when @user_data is not needed anymore - * - * Sets the implementation function for #hb_buffer_message_func_t. - * - * Since: 1.1.3 - **/ -void -hb_buffer_set_message_func (hb_buffer_t *buffer, - hb_buffer_message_func_t func, - void *user_data, hb_destroy_func_t destroy) -{ - if (buffer->message_destroy) - buffer->message_destroy (buffer->message_data); - - if (func) { - buffer->message_func = func; - buffer->message_data = user_data; - buffer->message_destroy = destroy; - } else { - buffer->message_func = nullptr; - buffer->message_data = nullptr; - buffer->message_destroy = nullptr; - } -} -bool -hb_buffer_t::message_impl (hb_font_t *font, const char *fmt, va_list ap) -{ - char buf[100]; - vsnprintf (buf, sizeof (buf), fmt, ap); - return (bool) this->message_func (this, font, buf, this->message_data); -} -#endif diff --git a/harfbuzz/src/hb-buffer.h b/harfbuzz/src/hb-buffer.h deleted file mode 100644 index a183cb9..0000000 --- a/harfbuzz/src/hb-buffer.h +++ /dev/null @@ -1,698 +0,0 @@ -/* - * Copyright © 1998-2004 David Turner and Werner Lemberg - * Copyright © 2004,2007,2009 Red Hat, Inc. - * Copyright © 2011,2012 Google, Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Red Hat Author(s): Owen Taylor, Behdad Esfahbod - * Google Author(s): Behdad Esfahbod - */ - -#if !defined(HB_H_IN) && !defined(HB_NO_SINGLE_HEADER_ERROR) -#error "Include instead." -#endif - -#ifndef HB_BUFFER_H -#define HB_BUFFER_H - -#include "hb-common.h" -#include "hb-unicode.h" -#include "hb-font.h" - -HB_BEGIN_DECLS - -/** - * hb_glyph_info_t: - * @codepoint: either a Unicode code point (before shaping) or a glyph index - * (after shaping). - * @cluster: the index of the character in the original text that corresponds - * to this #hb_glyph_info_t, or whatever the client passes to - * hb_buffer_add(). More than one #hb_glyph_info_t can have the same - * @cluster value, if they resulted from the same character (e.g. one - * to many glyph substitution), and when more than one character gets - * merged in the same glyph (e.g. many to one glyph substitution) the - * #hb_glyph_info_t will have the smallest cluster value of them. - * By default some characters are merged into the same cluster - * (e.g. combining marks have the same cluster as their bases) - * even if they are separate glyphs, hb_buffer_set_cluster_level() - * allow selecting more fine-grained cluster handling. - * - * The #hb_glyph_info_t is the structure that holds information about the - * glyphs and their relation to input text. - */ -typedef struct hb_glyph_info_t { - hb_codepoint_t codepoint; - /*< private >*/ - hb_mask_t mask; - /*< public >*/ - uint32_t cluster; - - /*< private >*/ - hb_var_int_t var1; - hb_var_int_t var2; -} hb_glyph_info_t; - -/** - * hb_glyph_flags_t: - * @HB_GLYPH_FLAG_UNSAFE_TO_BREAK: Indicates that if input text is broken at the - * beginning of the cluster this glyph is part of, - * then both sides need to be re-shaped, as the - * result might be different. On the flip side, - * it means that when this flag is not present, - * then it's safe to break the glyph-run at the - * beginning of this cluster, and the two sides - * represent the exact same result one would get - * if breaking input text at the beginning of - * this cluster and shaping the two sides - * separately. This can be used to optimize - * paragraph layout, by avoiding re-shaping - * of each line after line-breaking, or limiting - * the reshaping to a small piece around the - * breaking point only. - * @HB_GLYPH_FLAG_DEFINED: All the currently defined flags. - * - * Flags for #hb_glyph_info_t. - * - * Since: 1.5.0 - */ -typedef enum { /*< flags >*/ - HB_GLYPH_FLAG_UNSAFE_TO_BREAK = 0x00000001, - - HB_GLYPH_FLAG_DEFINED = 0x00000001 /* OR of all defined flags */ -} hb_glyph_flags_t; - -HB_EXTERN hb_glyph_flags_t -hb_glyph_info_get_glyph_flags (const hb_glyph_info_t *info); - -#define hb_glyph_info_get_glyph_flags(info) \ - ((hb_glyph_flags_t) ((unsigned int) (info)->mask & HB_GLYPH_FLAG_DEFINED)) - - -/** - * hb_glyph_position_t: - * @x_advance: how much the line advances after drawing this glyph when setting - * text in horizontal direction. - * @y_advance: how much the line advances after drawing this glyph when setting - * text in vertical direction. - * @x_offset: how much the glyph moves on the X-axis before drawing it, this - * should not affect how much the line advances. - * @y_offset: how much the glyph moves on the Y-axis before drawing it, this - * should not affect how much the line advances. - * - * The #hb_glyph_position_t is the structure that holds the positions of the - * glyph in both horizontal and vertical directions. All positions in - * #hb_glyph_position_t are relative to the current point. - * - */ -typedef struct hb_glyph_position_t { - hb_position_t x_advance; - hb_position_t y_advance; - hb_position_t x_offset; - hb_position_t y_offset; - - /*< private >*/ - hb_var_int_t var; -} hb_glyph_position_t; - -/** - * hb_segment_properties_t: - * @direction: the #hb_direction_t of the buffer, see hb_buffer_set_direction(). - * @script: the #hb_script_t of the buffer, see hb_buffer_set_script(). - * @language: the #hb_language_t of the buffer, see hb_buffer_set_language(). - * - * The structure that holds various text properties of an #hb_buffer_t. Can be - * set and retrieved using hb_buffer_set_segment_properties() and - * hb_buffer_get_segment_properties(), respectively. - */ -typedef struct hb_segment_properties_t { - hb_direction_t direction; - hb_script_t script; - hb_language_t language; - /*< private >*/ - void *reserved1; - void *reserved2; -} hb_segment_properties_t; - -/** - * HB_SEGMENT_PROPERTIES_DEFAULT: - * - * The default #hb_segment_properties_t of of freshly created #hb_buffer_t. - */ -#define HB_SEGMENT_PROPERTIES_DEFAULT {HB_DIRECTION_INVALID, \ - HB_SCRIPT_INVALID, \ - HB_LANGUAGE_INVALID, \ - (void *) 0, \ - (void *) 0} - -HB_EXTERN hb_bool_t -hb_segment_properties_equal (const hb_segment_properties_t *a, - const hb_segment_properties_t *b); - -HB_EXTERN unsigned int -hb_segment_properties_hash (const hb_segment_properties_t *p); - - - -/** - * hb_buffer_t: - * - * The main structure holding the input text and its properties before shaping, - * and output glyphs and their information after shaping. - */ - -typedef struct hb_buffer_t hb_buffer_t; - -HB_EXTERN hb_buffer_t * -hb_buffer_create (void); - -HB_EXTERN hb_buffer_t * -hb_buffer_get_empty (void); - -HB_EXTERN hb_buffer_t * -hb_buffer_reference (hb_buffer_t *buffer); - -HB_EXTERN void -hb_buffer_destroy (hb_buffer_t *buffer); - -HB_EXTERN hb_bool_t -hb_buffer_set_user_data (hb_buffer_t *buffer, - hb_user_data_key_t *key, - void * data, - hb_destroy_func_t destroy, - hb_bool_t replace); - -HB_EXTERN void * -hb_buffer_get_user_data (hb_buffer_t *buffer, - hb_user_data_key_t *key); - - -/** - * hb_buffer_content_type_t: - * @HB_BUFFER_CONTENT_TYPE_INVALID: Initial value for new buffer. - * @HB_BUFFER_CONTENT_TYPE_UNICODE: The buffer contains input characters (before shaping). - * @HB_BUFFER_CONTENT_TYPE_GLYPHS: The buffer contains output glyphs (after shaping). - * - * The type of #hb_buffer_t contents. - */ -typedef enum { - HB_BUFFER_CONTENT_TYPE_INVALID = 0, - HB_BUFFER_CONTENT_TYPE_UNICODE, - HB_BUFFER_CONTENT_TYPE_GLYPHS -} hb_buffer_content_type_t; - -HB_EXTERN void -hb_buffer_set_content_type (hb_buffer_t *buffer, - hb_buffer_content_type_t content_type); - -HB_EXTERN hb_buffer_content_type_t -hb_buffer_get_content_type (hb_buffer_t *buffer); - - -HB_EXTERN void -hb_buffer_set_unicode_funcs (hb_buffer_t *buffer, - hb_unicode_funcs_t *unicode_funcs); - -HB_EXTERN hb_unicode_funcs_t * -hb_buffer_get_unicode_funcs (hb_buffer_t *buffer); - -HB_EXTERN void -hb_buffer_set_direction (hb_buffer_t *buffer, - hb_direction_t direction); - -HB_EXTERN hb_direction_t -hb_buffer_get_direction (hb_buffer_t *buffer); - -HB_EXTERN void -hb_buffer_set_script (hb_buffer_t *buffer, - hb_script_t script); - -HB_EXTERN hb_script_t -hb_buffer_get_script (hb_buffer_t *buffer); - -HB_EXTERN void -hb_buffer_set_language (hb_buffer_t *buffer, - hb_language_t language); - - -HB_EXTERN hb_language_t -hb_buffer_get_language (hb_buffer_t *buffer); - -HB_EXTERN void -hb_buffer_set_segment_properties (hb_buffer_t *buffer, - const hb_segment_properties_t *props); - -HB_EXTERN void -hb_buffer_get_segment_properties (hb_buffer_t *buffer, - hb_segment_properties_t *props); - -HB_EXTERN void -hb_buffer_guess_segment_properties (hb_buffer_t *buffer); - - -/** - * hb_buffer_flags_t: - * @HB_BUFFER_FLAG_DEFAULT: the default buffer flag. - * @HB_BUFFER_FLAG_BOT: flag indicating that special handling of the beginning - * of text paragraph can be applied to this buffer. Should usually - * be set, unless you are passing to the buffer only part - * of the text without the full context. - * @HB_BUFFER_FLAG_EOT: flag indicating that special handling of the end of text - * paragraph can be applied to this buffer, similar to - * @HB_BUFFER_FLAG_BOT. - * @HB_BUFFER_FLAG_PRESERVE_DEFAULT_IGNORABLES: - * flag indication that character with Default_Ignorable - * Unicode property should use the corresponding glyph - * from the font, instead of hiding them (done by - * replacing them with the space glyph and zeroing the - * advance width.) This flag takes precedence over - * @HB_BUFFER_FLAG_REMOVE_DEFAULT_IGNORABLES. - * @HB_BUFFER_FLAG_REMOVE_DEFAULT_IGNORABLES: - * flag indication that character with Default_Ignorable - * Unicode property should be removed from glyph string - * instead of hiding them (done by replacing them with the - * space glyph and zeroing the advance width.) - * @HB_BUFFER_FLAG_PRESERVE_DEFAULT_IGNORABLES takes - * precedence over this flag. Since: 1.8.0 - * @HB_BUFFER_FLAG_DO_NOT_INSERT_DOTTED_CIRCLE: - * flag indicating that a dotted circle should - * not be inserted in the rendering of incorrect - * character sequences (such at <0905 093E>). Since: 2.4 - * - * Flags for #hb_buffer_t. - * - * Since: 0.9.20 - */ -typedef enum { /*< flags >*/ - HB_BUFFER_FLAG_DEFAULT = 0x00000000u, - HB_BUFFER_FLAG_BOT = 0x00000001u, /* Beginning-of-text */ - HB_BUFFER_FLAG_EOT = 0x00000002u, /* End-of-text */ - HB_BUFFER_FLAG_PRESERVE_DEFAULT_IGNORABLES = 0x00000004u, - HB_BUFFER_FLAG_REMOVE_DEFAULT_IGNORABLES = 0x00000008u, - HB_BUFFER_FLAG_DO_NOT_INSERT_DOTTED_CIRCLE = 0x00000010u -} hb_buffer_flags_t; - -HB_EXTERN void -hb_buffer_set_flags (hb_buffer_t *buffer, - hb_buffer_flags_t flags); - -HB_EXTERN hb_buffer_flags_t -hb_buffer_get_flags (hb_buffer_t *buffer); - -/** - * hb_buffer_cluster_level_t: - * @HB_BUFFER_CLUSTER_LEVEL_MONOTONE_GRAPHEMES: Return cluster values grouped by graphemes into - * monotone order. - * @HB_BUFFER_CLUSTER_LEVEL_MONOTONE_CHARACTERS: Return cluster values grouped into monotone order. - * @HB_BUFFER_CLUSTER_LEVEL_CHARACTERS: Don't group cluster values. - * @HB_BUFFER_CLUSTER_LEVEL_DEFAULT: Default cluster level, - * equal to @HB_BUFFER_CLUSTER_LEVEL_MONOTONE_GRAPHEMES. - * - * Data type for holding HarfBuzz's clustering behavior options. The cluster level - * dictates one aspect of how HarfBuzz will treat non-base characters - * during shaping. - * - * In @HB_BUFFER_CLUSTER_LEVEL_MONOTONE_GRAPHEMES, non-base - * characters are merged into the cluster of the base character that precedes them. - * - * In @HB_BUFFER_CLUSTER_LEVEL_MONOTONE_CHARACTERS, non-base characters are initially - * assigned their own cluster values, which are not merged into preceding base - * clusters. This allows HarfBuzz to perform additional operations like reorder - * sequences of adjacent marks. - * - * @HB_BUFFER_CLUSTER_LEVEL_MONOTONE_GRAPHEMES is the default, because it maintains - * backward compatibility with older versions of HarfBuzz. New client programs that - * do not need to maintain such backward compatibility are recommended to use - * @HB_BUFFER_CLUSTER_LEVEL_MONOTONE_CHARACTERS instead of the default. - * - * Since: 0.9.42 - */ -typedef enum { - HB_BUFFER_CLUSTER_LEVEL_MONOTONE_GRAPHEMES = 0, - HB_BUFFER_CLUSTER_LEVEL_MONOTONE_CHARACTERS = 1, - HB_BUFFER_CLUSTER_LEVEL_CHARACTERS = 2, - HB_BUFFER_CLUSTER_LEVEL_DEFAULT = HB_BUFFER_CLUSTER_LEVEL_MONOTONE_GRAPHEMES -} hb_buffer_cluster_level_t; - -HB_EXTERN void -hb_buffer_set_cluster_level (hb_buffer_t *buffer, - hb_buffer_cluster_level_t cluster_level); - -HB_EXTERN hb_buffer_cluster_level_t -hb_buffer_get_cluster_level (hb_buffer_t *buffer); - -/** - * HB_BUFFER_REPLACEMENT_CODEPOINT_DEFAULT: - * - * The default code point for replacing invalid characters in a given encoding. - * Set to U+FFFD REPLACEMENT CHARACTER. - * - * Since: 0.9.31 - */ -#define HB_BUFFER_REPLACEMENT_CODEPOINT_DEFAULT 0xFFFDu - -HB_EXTERN void -hb_buffer_set_replacement_codepoint (hb_buffer_t *buffer, - hb_codepoint_t replacement); - -HB_EXTERN hb_codepoint_t -hb_buffer_get_replacement_codepoint (hb_buffer_t *buffer); - -HB_EXTERN void -hb_buffer_set_invisible_glyph (hb_buffer_t *buffer, - hb_codepoint_t invisible); - -HB_EXTERN hb_codepoint_t -hb_buffer_get_invisible_glyph (hb_buffer_t *buffer); - -HB_EXTERN void -hb_buffer_set_not_found_glyph (hb_buffer_t *buffer, - hb_codepoint_t not_found); - -HB_EXTERN hb_codepoint_t -hb_buffer_get_not_found_glyph (hb_buffer_t *buffer); - - -HB_EXTERN void -hb_buffer_reset (hb_buffer_t *buffer); - -HB_EXTERN void -hb_buffer_clear_contents (hb_buffer_t *buffer); - -HB_EXTERN hb_bool_t -hb_buffer_pre_allocate (hb_buffer_t *buffer, - unsigned int size); - - -HB_EXTERN hb_bool_t -hb_buffer_allocation_successful (hb_buffer_t *buffer); - -HB_EXTERN void -hb_buffer_reverse (hb_buffer_t *buffer); - -HB_EXTERN void -hb_buffer_reverse_range (hb_buffer_t *buffer, - unsigned int start, unsigned int end); - -HB_EXTERN void -hb_buffer_reverse_clusters (hb_buffer_t *buffer); - - -/* Filling the buffer in */ - -HB_EXTERN void -hb_buffer_add (hb_buffer_t *buffer, - hb_codepoint_t codepoint, - unsigned int cluster); - -HB_EXTERN void -hb_buffer_add_utf8 (hb_buffer_t *buffer, - const char *text, - int text_length, - unsigned int item_offset, - int item_length); - -HB_EXTERN void -hb_buffer_add_utf16 (hb_buffer_t *buffer, - const uint16_t *text, - int text_length, - unsigned int item_offset, - int item_length); - -HB_EXTERN void -hb_buffer_add_utf32 (hb_buffer_t *buffer, - const uint32_t *text, - int text_length, - unsigned int item_offset, - int item_length); - -HB_EXTERN void -hb_buffer_add_latin1 (hb_buffer_t *buffer, - const uint8_t *text, - int text_length, - unsigned int item_offset, - int item_length); - -HB_EXTERN void -hb_buffer_add_codepoints (hb_buffer_t *buffer, - const hb_codepoint_t *text, - int text_length, - unsigned int item_offset, - int item_length); - -HB_EXTERN void -hb_buffer_append (hb_buffer_t *buffer, - hb_buffer_t *source, - unsigned int start, - unsigned int end); - -HB_EXTERN hb_bool_t -hb_buffer_set_length (hb_buffer_t *buffer, - unsigned int length); - -HB_EXTERN unsigned int -hb_buffer_get_length (hb_buffer_t *buffer); - -/* Getting glyphs out of the buffer */ - -HB_EXTERN hb_glyph_info_t * -hb_buffer_get_glyph_infos (hb_buffer_t *buffer, - unsigned int *length); - -HB_EXTERN hb_glyph_position_t * -hb_buffer_get_glyph_positions (hb_buffer_t *buffer, - unsigned int *length); - -HB_EXTERN hb_bool_t -hb_buffer_has_positions (hb_buffer_t *buffer); - - -HB_EXTERN void -hb_buffer_normalize_glyphs (hb_buffer_t *buffer); - - -/* - * Serialize - */ - -/** - * hb_buffer_serialize_flags_t: - * @HB_BUFFER_SERIALIZE_FLAG_DEFAULT: serialize glyph names, clusters and positions. - * @HB_BUFFER_SERIALIZE_FLAG_NO_CLUSTERS: do not serialize glyph cluster. - * @HB_BUFFER_SERIALIZE_FLAG_NO_POSITIONS: do not serialize glyph position information. - * @HB_BUFFER_SERIALIZE_FLAG_NO_GLYPH_NAMES: do no serialize glyph name. - * @HB_BUFFER_SERIALIZE_FLAG_GLYPH_EXTENTS: serialize glyph extents. - * @HB_BUFFER_SERIALIZE_FLAG_GLYPH_FLAGS: serialize glyph flags. Since: 1.5.0 - * @HB_BUFFER_SERIALIZE_FLAG_NO_ADVANCES: do not serialize glyph advances, - * glyph offsets will reflect absolute glyph positions. Since: 1.8.0 - * - * Flags that control what glyph information are serialized in hb_buffer_serialize_glyphs(). - * - * Since: 0.9.20 - */ -typedef enum { /*< flags >*/ - HB_BUFFER_SERIALIZE_FLAG_DEFAULT = 0x00000000u, - HB_BUFFER_SERIALIZE_FLAG_NO_CLUSTERS = 0x00000001u, - HB_BUFFER_SERIALIZE_FLAG_NO_POSITIONS = 0x00000002u, - HB_BUFFER_SERIALIZE_FLAG_NO_GLYPH_NAMES = 0x00000004u, - HB_BUFFER_SERIALIZE_FLAG_GLYPH_EXTENTS = 0x00000008u, - HB_BUFFER_SERIALIZE_FLAG_GLYPH_FLAGS = 0x00000010u, - HB_BUFFER_SERIALIZE_FLAG_NO_ADVANCES = 0x00000020u -} hb_buffer_serialize_flags_t; - -/** - * hb_buffer_serialize_format_t: - * @HB_BUFFER_SERIALIZE_FORMAT_TEXT: a human-readable, plain text format. - * @HB_BUFFER_SERIALIZE_FORMAT_JSON: a machine-readable JSON format. - * @HB_BUFFER_SERIALIZE_FORMAT_INVALID: invalid format. - * - * The buffer serialization and de-serialization format used in - * hb_buffer_serialize_glyphs() and hb_buffer_deserialize_glyphs(). - * - * Since: 0.9.2 - */ -typedef enum { - HB_BUFFER_SERIALIZE_FORMAT_TEXT = HB_TAG('T','E','X','T'), - HB_BUFFER_SERIALIZE_FORMAT_JSON = HB_TAG('J','S','O','N'), - HB_BUFFER_SERIALIZE_FORMAT_INVALID = HB_TAG_NONE -} hb_buffer_serialize_format_t; - -HB_EXTERN hb_buffer_serialize_format_t -hb_buffer_serialize_format_from_string (const char *str, int len); - -HB_EXTERN const char * -hb_buffer_serialize_format_to_string (hb_buffer_serialize_format_t format); - -HB_EXTERN const char ** -hb_buffer_serialize_list_formats (void); - -HB_EXTERN unsigned int -hb_buffer_serialize_glyphs (hb_buffer_t *buffer, - unsigned int start, - unsigned int end, - char *buf, - unsigned int buf_size, - unsigned int *buf_consumed, - hb_font_t *font, - hb_buffer_serialize_format_t format, - hb_buffer_serialize_flags_t flags); - -HB_EXTERN unsigned int -hb_buffer_serialize_unicode (hb_buffer_t *buffer, - unsigned int start, - unsigned int end, - char *buf, - unsigned int buf_size, - unsigned int *buf_consumed, - hb_buffer_serialize_format_t format, - hb_buffer_serialize_flags_t flags); - -HB_EXTERN unsigned int -hb_buffer_serialize (hb_buffer_t *buffer, - unsigned int start, - unsigned int end, - char *buf, - unsigned int buf_size, - unsigned int *buf_consumed, - hb_font_t *font, - hb_buffer_serialize_format_t format, - hb_buffer_serialize_flags_t flags); - -HB_EXTERN hb_bool_t -hb_buffer_deserialize_glyphs (hb_buffer_t *buffer, - const char *buf, - int buf_len, - const char **end_ptr, - hb_font_t *font, - hb_buffer_serialize_format_t format); - -HB_EXTERN hb_bool_t -hb_buffer_deserialize_unicode (hb_buffer_t *buffer, - const char *buf, - int buf_len, - const char **end_ptr, - hb_buffer_serialize_format_t format); - - - -/* - * Compare buffers - */ - -/** - * hb_buffer_diff_flags_t: - * @HB_BUFFER_DIFF_FLAG_EQUAL: equal buffers. - * @HB_BUFFER_DIFF_FLAG_CONTENT_TYPE_MISMATCH: buffers with different - * #hb_buffer_content_type_t. - * @HB_BUFFER_DIFF_FLAG_LENGTH_MISMATCH: buffers with differing length. - * @HB_BUFFER_DIFF_FLAG_NOTDEF_PRESENT: `.notdef` glyph is present in the - * reference buffer. - * @HB_BUFFER_DIFF_FLAG_DOTTED_CIRCLE_PRESENT: dotted circle glyph is present - * in the reference buffer. - * @HB_BUFFER_DIFF_FLAG_CODEPOINT_MISMATCH: difference in #hb_glyph_info_t.codepoint - * @HB_BUFFER_DIFF_FLAG_CLUSTER_MISMATCH: difference in #hb_glyph_info_t.cluster - * @HB_BUFFER_DIFF_FLAG_GLYPH_FLAGS_MISMATCH: difference in #hb_glyph_flags_t. - * @HB_BUFFER_DIFF_FLAG_POSITION_MISMATCH: difference in #hb_glyph_position_t. - * - * Flags from comparing two #hb_buffer_t's. - * - * Buffer with different #hb_buffer_content_type_t cannot be meaningfully - * compared in any further detail. - * - * For buffers with differing length, the per-glyph comparison is not - * attempted, though we do still scan reference buffer for dotted circle and - * `.notdef` glyphs. - * - * If the buffers have the same length, we compare them glyph-by-glyph and - * report which aspect(s) of the glyph info/position are different. - * - * Since: 1.5.0 - */ -typedef enum { /*< flags >*/ - HB_BUFFER_DIFF_FLAG_EQUAL = 0x0000, - - /* Buffers with different content_type cannot be meaningfully compared - * in any further detail. */ - HB_BUFFER_DIFF_FLAG_CONTENT_TYPE_MISMATCH = 0x0001, - - /* For buffers with differing length, the per-glyph comparison is not - * attempted, though we do still scan reference for dottedcircle / .notdef - * glyphs. */ - HB_BUFFER_DIFF_FLAG_LENGTH_MISMATCH = 0x0002, - - /* We want to know if dottedcircle / .notdef glyphs are present in the - * reference, as we may not care so much about other differences in this - * case. */ - HB_BUFFER_DIFF_FLAG_NOTDEF_PRESENT = 0x0004, - HB_BUFFER_DIFF_FLAG_DOTTED_CIRCLE_PRESENT = 0x0008, - - /* If the buffers have the same length, we compare them glyph-by-glyph - * and report which aspect(s) of the glyph info/position are different. */ - HB_BUFFER_DIFF_FLAG_CODEPOINT_MISMATCH = 0x0010, - HB_BUFFER_DIFF_FLAG_CLUSTER_MISMATCH = 0x0020, - HB_BUFFER_DIFF_FLAG_GLYPH_FLAGS_MISMATCH = 0x0040, - HB_BUFFER_DIFF_FLAG_POSITION_MISMATCH = 0x0080 - -} hb_buffer_diff_flags_t; - -/* Compare the contents of two buffers, report types of differences. */ -HB_EXTERN hb_buffer_diff_flags_t -hb_buffer_diff (hb_buffer_t *buffer, - hb_buffer_t *reference, - hb_codepoint_t dottedcircle_glyph, - unsigned int position_fuzz); - - -/* - * Debugging. - */ - -/** - * hb_buffer_message_func_t: - * @buffer: An #hb_buffer_t to work upon - * @font: The #hb_font_t the @buffer is shaped with - * @message: %NULL-terminated message passed to the function - * @user_data: User data pointer passed by the caller - * - * A callback method for #hb_buffer_t. The method gets called with the - * #hb_buffer_t it was set on, the #hb_font_t the buffer is shaped with and a - * message describing what step of the shaping process will be performed. - * Returning %false from this method will skip this shaping step and move to - * the next one. - * - * Return value: %true to perform the shaping step, %false to skip it. - * - * Since: 1.1.3 - */ -typedef hb_bool_t (*hb_buffer_message_func_t) (hb_buffer_t *buffer, - hb_font_t *font, - const char *message, - void *user_data); - -HB_EXTERN void -hb_buffer_set_message_func (hb_buffer_t *buffer, - hb_buffer_message_func_t func, - void *user_data, hb_destroy_func_t destroy); - - -HB_END_DECLS - -#endif /* HB_BUFFER_H */ diff --git a/harfbuzz/src/hb-buffer.hh b/harfbuzz/src/hb-buffer.hh deleted file mode 100644 index 0f8140f..0000000 --- a/harfbuzz/src/hb-buffer.hh +++ /dev/null @@ -1,527 +0,0 @@ -/* - * Copyright © 1998-2004 David Turner and Werner Lemberg - * Copyright © 2004,2007,2009,2010 Red Hat, Inc. - * Copyright © 2011,2012 Google, Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Red Hat Author(s): Owen Taylor, Behdad Esfahbod - * Google Author(s): Behdad Esfahbod - */ - -#ifndef HB_BUFFER_HH -#define HB_BUFFER_HH - -#include "hb.hh" -#include "hb-unicode.hh" - - -#ifndef HB_BUFFER_MAX_LEN_FACTOR -#define HB_BUFFER_MAX_LEN_FACTOR 64 -#endif -#ifndef HB_BUFFER_MAX_LEN_MIN -#define HB_BUFFER_MAX_LEN_MIN 16384 -#endif -#ifndef HB_BUFFER_MAX_LEN_DEFAULT -#define HB_BUFFER_MAX_LEN_DEFAULT 0x3FFFFFFF /* Shaping more than a billion chars? Let us know! */ -#endif - -#ifndef HB_BUFFER_MAX_OPS_FACTOR -#define HB_BUFFER_MAX_OPS_FACTOR 1024 -#endif -#ifndef HB_BUFFER_MAX_OPS_MIN -#define HB_BUFFER_MAX_OPS_MIN 16384 -#endif -#ifndef HB_BUFFER_MAX_OPS_DEFAULT -#define HB_BUFFER_MAX_OPS_DEFAULT 0x1FFFFFFF /* Shaping more than a billion operations? Let us know! */ -#endif - -static_assert ((sizeof (hb_glyph_info_t) == 20), ""); -static_assert ((sizeof (hb_glyph_info_t) == sizeof (hb_glyph_position_t)), ""); - -HB_MARK_AS_FLAG_T (hb_buffer_flags_t); -HB_MARK_AS_FLAG_T (hb_buffer_serialize_flags_t); -HB_MARK_AS_FLAG_T (hb_buffer_diff_flags_t); - -enum hb_buffer_scratch_flags_t { - HB_BUFFER_SCRATCH_FLAG_DEFAULT = 0x00000000u, - HB_BUFFER_SCRATCH_FLAG_HAS_NON_ASCII = 0x00000001u, - HB_BUFFER_SCRATCH_FLAG_HAS_DEFAULT_IGNORABLES = 0x00000002u, - HB_BUFFER_SCRATCH_FLAG_HAS_SPACE_FALLBACK = 0x00000004u, - HB_BUFFER_SCRATCH_FLAG_HAS_GPOS_ATTACHMENT = 0x00000008u, - HB_BUFFER_SCRATCH_FLAG_HAS_UNSAFE_TO_BREAK = 0x00000010u, - HB_BUFFER_SCRATCH_FLAG_HAS_CGJ = 0x00000020u, - - /* Reserved for complex shapers' internal use. */ - HB_BUFFER_SCRATCH_FLAG_COMPLEX0 = 0x01000000u, - HB_BUFFER_SCRATCH_FLAG_COMPLEX1 = 0x02000000u, - HB_BUFFER_SCRATCH_FLAG_COMPLEX2 = 0x04000000u, - HB_BUFFER_SCRATCH_FLAG_COMPLEX3 = 0x08000000u, -}; -HB_MARK_AS_FLAG_T (hb_buffer_scratch_flags_t); - - -/* - * hb_buffer_t - */ - -struct hb_buffer_t -{ - hb_object_header_t header; - - /* Information about how the text in the buffer should be treated */ - hb_unicode_funcs_t *unicode; /* Unicode functions */ - hb_buffer_flags_t flags; /* BOT / EOT / etc. */ - hb_buffer_cluster_level_t cluster_level; - hb_codepoint_t replacement; /* U+FFFD or something else. */ - hb_codepoint_t invisible; /* 0 or something else. */ - hb_codepoint_t not_found; /* 0 or something else. */ - hb_buffer_scratch_flags_t scratch_flags; /* Have space-fallback, etc. */ - unsigned int max_len; /* Maximum allowed len. */ - int max_ops; /* Maximum allowed operations. */ - - /* Buffer contents */ - hb_buffer_content_type_t content_type; - hb_segment_properties_t props; /* Script, language, direction */ - - bool successful; /* Allocations successful */ - bool have_output; /* Whether we have an output buffer going on */ - bool have_positions; /* Whether we have positions */ - - unsigned int idx; /* Cursor into ->info and ->pos arrays */ - unsigned int len; /* Length of ->info and ->pos arrays */ - unsigned int out_len; /* Length of ->out_info array if have_output */ - - unsigned int allocated; /* Length of allocated arrays */ - hb_glyph_info_t *info; - hb_glyph_info_t *out_info; - hb_glyph_position_t *pos; - - unsigned int serial; - - /* Text before / after the main buffer contents. - * Always in Unicode, and ordered outward. - * Index 0 is for "pre-context", 1 for "post-context". */ - static constexpr unsigned CONTEXT_LENGTH = 5u; - hb_codepoint_t context[2][CONTEXT_LENGTH]; - unsigned int context_len[2]; - - /* Debugging API */ -#ifndef HB_NO_BUFFER_MESSAGE - hb_buffer_message_func_t message_func; - void *message_data; - hb_destroy_func_t message_destroy; - unsigned message_depth; /* How deeply are we inside a message callback? */ -#else - static constexpr unsigned message_depth = 0u; -#endif - - /* Internal debugging. */ - /* The bits here reflect current allocations of the bytes in glyph_info_t's var1 and var2. */ -#ifndef HB_NDEBUG - uint8_t allocated_var_bits; -#endif - - - /* Methods */ - - HB_NODISCARD bool in_error () const { return !successful; } - - void allocate_var (unsigned int start, unsigned int count) - { -#ifndef HB_NDEBUG - unsigned int end = start + count; - assert (end <= 8); - unsigned int bits = (1u< (info, len).reverse (start, end); - if (have_positions) - hb_array_t (pos, len).reverse (start, end); - } - void reverse () { reverse_range (0, len); } - - template - void reverse_groups (const FuncType& group, - bool merge_clusters = false) - { - if (unlikely (!len)) - return; - - unsigned start = 0; - unsigned i; - for (i = 1; i < len; i++) - { - if (!group (info[i - 1], info[i])) - { - if (merge_clusters) - this->merge_clusters (start, i); - reverse_range (start, i); - start = i; - } - } - if (merge_clusters) - this->merge_clusters (start, i); - reverse_range (start, i); - - reverse (); - } - - template - unsigned group_end (unsigned start, const FuncType& group) const - { - while (++start < len && group (info[start - 1], info[start])) - ; - - return start; - } - - static bool _cluster_group_func (const hb_glyph_info_t& a, - const hb_glyph_info_t& b) - { return a.cluster == b.cluster; } - - void reverse_clusters () { reverse_groups (_cluster_group_func); } - - HB_INTERNAL void guess_segment_properties (); - - HB_INTERNAL void swap_buffers (); - HB_INTERNAL void clear_output (); - HB_INTERNAL void clear_positions (); - - template - HB_NODISCARD bool replace_glyphs (unsigned int num_in, - unsigned int num_out, - const T *glyph_data) - { - if (unlikely (!make_room_for (num_in, num_out))) return false; - - assert (idx + num_in <= len); - - merge_clusters (idx, idx + num_in); - - hb_glyph_info_t &orig_info = idx < len ? cur() : prev(); - - hb_glyph_info_t *pinfo = &out_info[out_len]; - for (unsigned int i = 0; i < num_out; i++) - { - *pinfo = orig_info; - pinfo->codepoint = glyph_data[i]; - pinfo++; - } - - idx += num_in; - out_len += num_out; - return true; - } - - HB_NODISCARD bool replace_glyph (hb_codepoint_t glyph_index) - { return replace_glyphs (1, 1, &glyph_index); } - - /* Makes a copy of the glyph at idx to output and replace glyph_index */ - HB_NODISCARD bool output_glyph (hb_codepoint_t glyph_index) - { return replace_glyphs (0, 1, &glyph_index); } - - HB_NODISCARD bool output_info (const hb_glyph_info_t &glyph_info) - { - if (unlikely (!make_room_for (0, 1))) return false; - - out_info[out_len] = glyph_info; - - out_len++; - return true; - } - /* Copies glyph at idx to output but doesn't advance idx */ - HB_NODISCARD bool copy_glyph () - { - /* Extra copy because cur()'s return can be freed within - * output_info() call if buffer reallocates. */ - return output_info (hb_glyph_info_t (cur())); - } - - /* Copies glyph at idx to output and advance idx. - * If there's no output, just advance idx. */ - HB_NODISCARD bool next_glyph () - { - if (have_output) - { - if (out_info != info || out_len != idx) - { - if (unlikely (!make_room_for (1, 1))) return false; - out_info[out_len] = info[idx]; - } - out_len++; - } - - idx++; - return true; - } - /* Copies n glyphs at idx to output and advance idx. - * If there's no output, just advance idx. */ - HB_NODISCARD bool next_glyphs (unsigned int n) - { - if (have_output) - { - if (out_info != info || out_len != idx) - { - if (unlikely (!make_room_for (n, n))) return false; - memmove (out_info + out_len, info + idx, n * sizeof (out_info[0])); - } - out_len += n; - } - - idx += n; - return true; - } - /* Advance idx without copying to output. */ - void skip_glyph () { idx++; } - void reset_masks (hb_mask_t mask) - { - for (unsigned int j = 0; j < len; j++) - info[j].mask = mask; - } - void add_masks (hb_mask_t mask) - { - for (unsigned int j = 0; j < len; j++) - info[j].mask |= mask; - } - HB_INTERNAL void set_masks (hb_mask_t value, hb_mask_t mask, - unsigned int cluster_start, unsigned int cluster_end); - - void merge_clusters (unsigned int start, unsigned int end) - { - if (end - start < 2) - return; - merge_clusters_impl (start, end); - } - HB_INTERNAL void merge_clusters_impl (unsigned int start, unsigned int end); - HB_INTERNAL void merge_out_clusters (unsigned int start, unsigned int end); - /* Merge clusters for deleting current glyph, and skip it. */ - HB_INTERNAL void delete_glyph (); - - void unsafe_to_break (unsigned int start, - unsigned int end) - { - if (end - start < 2) - return; - unsafe_to_break_impl (start, end); - } - HB_INTERNAL void unsafe_to_break_impl (unsigned int start, unsigned int end); - HB_INTERNAL void unsafe_to_break_from_outbuffer (unsigned int start, unsigned int end); - - - /* Internal methods */ - HB_NODISCARD HB_INTERNAL bool move_to (unsigned int i); /* i is output-buffer index. */ - - HB_NODISCARD HB_INTERNAL bool enlarge (unsigned int size); - - HB_NODISCARD bool ensure (unsigned int size) - { return likely (!size || size < allocated) ? true : enlarge (size); } - - HB_NODISCARD bool ensure_inplace (unsigned int size) - { return likely (!size || size < allocated); } - - void assert_glyphs () - { - assert ((content_type == HB_BUFFER_CONTENT_TYPE_GLYPHS) || - (!len && (content_type == HB_BUFFER_CONTENT_TYPE_INVALID))); - } - void assert_unicode () - { - assert ((content_type == HB_BUFFER_CONTENT_TYPE_UNICODE) || - (!len && (content_type == HB_BUFFER_CONTENT_TYPE_INVALID))); - } - HB_NODISCARD bool ensure_glyphs () - { - if (unlikely (content_type != HB_BUFFER_CONTENT_TYPE_GLYPHS)) - { - if (content_type != HB_BUFFER_CONTENT_TYPE_INVALID) - return false; - assert (len == 0); - content_type = HB_BUFFER_CONTENT_TYPE_GLYPHS; - } - return true; - } - HB_NODISCARD bool ensure_unicode () - { - if (unlikely (content_type != HB_BUFFER_CONTENT_TYPE_UNICODE)) - { - if (content_type != HB_BUFFER_CONTENT_TYPE_INVALID) - return false; - assert (len == 0); - content_type = HB_BUFFER_CONTENT_TYPE_UNICODE; - } - return true; - } - - HB_NODISCARD HB_INTERNAL bool make_room_for (unsigned int num_in, unsigned int num_out); - HB_NODISCARD HB_INTERNAL bool shift_forward (unsigned int count); - - typedef long scratch_buffer_t; - HB_INTERNAL scratch_buffer_t *get_scratch_buffer (unsigned int *size); - - void clear_context (unsigned int side) { context_len[side] = 0; } - - HB_INTERNAL void sort (unsigned int start, unsigned int end, int(*compar)(const hb_glyph_info_t *, const hb_glyph_info_t *)); - - bool messaging () - { -#ifdef HB_NO_BUFFER_MESSAGE - return false; -#else - return unlikely (message_func); -#endif - } - bool message (hb_font_t *font, const char *fmt, ...) HB_PRINTF_FUNC(3, 4) - { -#ifdef HB_NO_BUFFER_MESSAGE - return true; -#else - if (!messaging ()) - return true; - - message_depth++; - - va_list ap; - va_start (ap, fmt); - bool ret = message_impl (font, fmt, ap); - va_end (ap); - - message_depth--; - - return ret; -#endif - } - HB_INTERNAL bool message_impl (hb_font_t *font, const char *fmt, va_list ap) HB_PRINTF_FUNC(3, 0); - - static void - set_cluster (hb_glyph_info_t &inf, unsigned int cluster, unsigned int mask = 0) - { - if (inf.cluster != cluster) - { - if (mask & HB_GLYPH_FLAG_UNSAFE_TO_BREAK) - inf.mask |= HB_GLYPH_FLAG_UNSAFE_TO_BREAK; - else - inf.mask &= ~HB_GLYPH_FLAG_UNSAFE_TO_BREAK; - } - inf.cluster = cluster; - } - - static unsigned - _infos_find_min_cluster (const hb_glyph_info_t *infos, - unsigned start, unsigned end, - unsigned cluster) - { - for (unsigned int i = start; i < end; i++) - cluster = hb_min (cluster, infos[i].cluster); - return cluster; - } - void - _unsafe_to_break_set_mask (hb_glyph_info_t *infos, - unsigned int start, unsigned int end, - unsigned int cluster) - { - for (unsigned int i = start; i < end; i++) - if (cluster != infos[i].cluster) - { - scratch_flags |= HB_BUFFER_SCRATCH_FLAG_HAS_UNSAFE_TO_BREAK; - infos[i].mask |= HB_GLYPH_FLAG_UNSAFE_TO_BREAK; - } - } - - void clear_glyph_flags (hb_mask_t mask = 0) - { - for (unsigned int i = 0; i < len; i++) - info[i].mask = (info[i].mask & ~HB_GLYPH_FLAG_DEFINED) | (mask & HB_GLYPH_FLAG_DEFINED); - } -}; -DECLARE_NULL_INSTANCE (hb_buffer_t); - - -#define foreach_group(buffer, start, end, group_func) \ - for (unsigned int \ - _count = buffer->len, \ - start = 0, end = _count ? buffer->group_end (0, group_func) : 0; \ - start < _count; \ - start = end, end = buffer->group_end (start, group_func)) - -#define foreach_cluster(buffer, start, end) \ - foreach_group (buffer, start, end, hb_buffer_t::_cluster_group_func) - - -#define HB_BUFFER_XALLOCATE_VAR(b, func, var) \ - b->func (offsetof (hb_glyph_info_t, var) - offsetof(hb_glyph_info_t, var1), \ - sizeof (b->info[0].var)) -#define HB_BUFFER_ALLOCATE_VAR(b, var) HB_BUFFER_XALLOCATE_VAR (b, allocate_var, var ()) -#define HB_BUFFER_DEALLOCATE_VAR(b, var) HB_BUFFER_XALLOCATE_VAR (b, deallocate_var, var ()) -#define HB_BUFFER_ASSERT_VAR(b, var) HB_BUFFER_XALLOCATE_VAR (b, assert_var, var ()) - - -#endif /* HB_BUFFER_HH */ diff --git a/harfbuzz/src/hb-cache.hh b/harfbuzz/src/hb-cache.hh deleted file mode 100644 index e617b75..0000000 --- a/harfbuzz/src/hb-cache.hh +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Copyright © 2012 Google, Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Google Author(s): Behdad Esfahbod - */ - -#ifndef HB_CACHE_HH -#define HB_CACHE_HH - -#include "hb.hh" - - -/* Implements a lockfree cache for int->int functions. */ - -template -struct hb_cache_t -{ - static_assert ((key_bits >= cache_bits), ""); - static_assert ((key_bits + value_bits - cache_bits <= 8 * sizeof (hb_atomic_int_t)), ""); - static_assert (sizeof (hb_atomic_int_t) == sizeof (unsigned int), ""); - - void init () { clear (); } - void fini () {} - - void clear () - { - for (unsigned i = 0; i < ARRAY_LENGTH (values); i++) - values[i].set_relaxed (-1); - } - - bool get (unsigned int key, unsigned int *value) const - { - unsigned int k = key & ((1u<> value_bits) != (key >> cache_bits)) - return false; - *value = v & ((1u<> key_bits) || (value >> value_bits))) - return false; /* Overflows */ - unsigned int k = key & ((1u<>cache_bits)< hb_cmap_cache_t; -typedef hb_cache_t<16, 24, 8> hb_advance_cache_t; - - -#endif /* HB_CACHE_HH */ diff --git a/harfbuzz/src/hb-cff-interp-common.hh b/harfbuzz/src/hb-cff-interp-common.hh deleted file mode 100644 index c251e2d..0000000 --- a/harfbuzz/src/hb-cff-interp-common.hh +++ /dev/null @@ -1,688 +0,0 @@ -/* - * Copyright © 2018 Adobe Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Adobe Author(s): Michiharu Ariza - */ -#ifndef HB_CFF_INTERP_COMMON_HH -#define HB_CFF_INTERP_COMMON_HH - -namespace CFF { - -using namespace OT; - -typedef unsigned int op_code_t; - - -/* === Dict operators === */ - -/* One byte operators (0-31) */ -#define OpCode_version 0 /* CFF Top */ -#define OpCode_Notice 1 /* CFF Top */ -#define OpCode_FullName 2 /* CFF Top */ -#define OpCode_FamilyName 3 /* CFF Top */ -#define OpCode_Weight 4 /* CFF Top */ -#define OpCode_FontBBox 5 /* CFF Top */ -#define OpCode_BlueValues 6 /* CFF Private, CFF2 Private */ -#define OpCode_OtherBlues 7 /* CFF Private, CFF2 Private */ -#define OpCode_FamilyBlues 8 /* CFF Private, CFF2 Private */ -#define OpCode_FamilyOtherBlues 9 /* CFF Private, CFF2 Private */ -#define OpCode_StdHW 10 /* CFF Private, CFF2 Private */ -#define OpCode_StdVW 11 /* CFF Private, CFF2 Private */ -#define OpCode_escape 12 /* All. Shared with CS */ -#define OpCode_UniqueID 13 /* CFF Top */ -#define OpCode_XUID 14 /* CFF Top */ -#define OpCode_charset 15 /* CFF Top (0) */ -#define OpCode_Encoding 16 /* CFF Top (0) */ -#define OpCode_CharStrings 17 /* CFF Top, CFF2 Top */ -#define OpCode_Private 18 /* CFF Top, CFF2 FD */ -#define OpCode_Subrs 19 /* CFF Private, CFF2 Private */ -#define OpCode_defaultWidthX 20 /* CFF Private (0) */ -#define OpCode_nominalWidthX 21 /* CFF Private (0) */ -#define OpCode_vsindexdict 22 /* CFF2 Private/CS */ -#define OpCode_blenddict 23 /* CFF2 Private/CS */ -#define OpCode_vstore 24 /* CFF2 Top */ -#define OpCode_reserved25 25 -#define OpCode_reserved26 26 -#define OpCode_reserved27 27 - -/* Numbers */ -#define OpCode_shortint 28 /* 16-bit integer, All */ -#define OpCode_longintdict 29 /* 32-bit integer, All */ -#define OpCode_BCD 30 /* Real number, CFF2 Top/FD */ -#define OpCode_reserved31 31 - -/* 1-byte integers */ -#define OpCode_OneByteIntFirst 32 /* All. beginning of the range of first byte ints */ -#define OpCode_OneByteIntLast 246 /* All. ending of the range of first byte int */ - -/* 2-byte integers */ -#define OpCode_TwoBytePosInt0 247 /* All. first byte of two byte positive int (+108 to +1131) */ -#define OpCode_TwoBytePosInt1 248 -#define OpCode_TwoBytePosInt2 249 -#define OpCode_TwoBytePosInt3 250 - -#define OpCode_TwoByteNegInt0 251 /* All. first byte of two byte negative int (-1131 to -108) */ -#define OpCode_TwoByteNegInt1 252 -#define OpCode_TwoByteNegInt2 253 -#define OpCode_TwoByteNegInt3 254 - -/* Two byte escape operators 12, (0-41) */ -#define OpCode_ESC_Base 256 -#define Make_OpCode_ESC(byte2) ((op_code_t)(OpCode_ESC_Base + (byte2))) - -inline op_code_t Unmake_OpCode_ESC (op_code_t op) { return (op_code_t)(op - OpCode_ESC_Base); } -inline bool Is_OpCode_ESC (op_code_t op) { return op >= OpCode_ESC_Base; } -inline unsigned int OpCode_Size (op_code_t op) { return Is_OpCode_ESC (op) ? 2: 1; } - -#define OpCode_Copyright Make_OpCode_ESC(0) /* CFF Top */ -#define OpCode_isFixedPitch Make_OpCode_ESC(1) /* CFF Top (false) */ -#define OpCode_ItalicAngle Make_OpCode_ESC(2) /* CFF Top (0) */ -#define OpCode_UnderlinePosition Make_OpCode_ESC(3) /* CFF Top (-100) */ -#define OpCode_UnderlineThickness Make_OpCode_ESC(4) /* CFF Top (50) */ -#define OpCode_PaintType Make_OpCode_ESC(5) /* CFF Top (0) */ -#define OpCode_CharstringType Make_OpCode_ESC(6) /* CFF Top (2) */ -#define OpCode_FontMatrix Make_OpCode_ESC(7) /* CFF Top, CFF2 Top (.001 0 0 .001 0 0)*/ -#define OpCode_StrokeWidth Make_OpCode_ESC(8) /* CFF Top (0) */ -#define OpCode_BlueScale Make_OpCode_ESC(9) /* CFF Private, CFF2 Private (0.039625) */ -#define OpCode_BlueShift Make_OpCode_ESC(10) /* CFF Private, CFF2 Private (7) */ -#define OpCode_BlueFuzz Make_OpCode_ESC(11) /* CFF Private, CFF2 Private (1) */ -#define OpCode_StemSnapH Make_OpCode_ESC(12) /* CFF Private, CFF2 Private */ -#define OpCode_StemSnapV Make_OpCode_ESC(13) /* CFF Private, CFF2 Private */ -#define OpCode_ForceBold Make_OpCode_ESC(14) /* CFF Private (false) */ -#define OpCode_reservedESC15 Make_OpCode_ESC(15) -#define OpCode_reservedESC16 Make_OpCode_ESC(16) -#define OpCode_LanguageGroup Make_OpCode_ESC(17) /* CFF Private, CFF2 Private (0) */ -#define OpCode_ExpansionFactor Make_OpCode_ESC(18) /* CFF Private, CFF2 Private (0.06) */ -#define OpCode_initialRandomSeed Make_OpCode_ESC(19) /* CFF Private (0) */ -#define OpCode_SyntheticBase Make_OpCode_ESC(20) /* CFF Top */ -#define OpCode_PostScript Make_OpCode_ESC(21) /* CFF Top */ -#define OpCode_BaseFontName Make_OpCode_ESC(22) /* CFF Top */ -#define OpCode_BaseFontBlend Make_OpCode_ESC(23) /* CFF Top */ -#define OpCode_reservedESC24 Make_OpCode_ESC(24) -#define OpCode_reservedESC25 Make_OpCode_ESC(25) -#define OpCode_reservedESC26 Make_OpCode_ESC(26) -#define OpCode_reservedESC27 Make_OpCode_ESC(27) -#define OpCode_reservedESC28 Make_OpCode_ESC(28) -#define OpCode_reservedESC29 Make_OpCode_ESC(29) -#define OpCode_ROS Make_OpCode_ESC(30) /* CFF Top_CID */ -#define OpCode_CIDFontVersion Make_OpCode_ESC(31) /* CFF Top_CID (0) */ -#define OpCode_CIDFontRevision Make_OpCode_ESC(32) /* CFF Top_CID (0) */ -#define OpCode_CIDFontType Make_OpCode_ESC(33) /* CFF Top_CID (0) */ -#define OpCode_CIDCount Make_OpCode_ESC(34) /* CFF Top_CID (8720) */ -#define OpCode_UIDBase Make_OpCode_ESC(35) /* CFF Top_CID */ -#define OpCode_FDArray Make_OpCode_ESC(36) /* CFF Top_CID, CFF2 Top */ -#define OpCode_FDSelect Make_OpCode_ESC(37) /* CFF Top_CID, CFF2 Top */ -#define OpCode_FontName Make_OpCode_ESC(38) /* CFF Top_CID */ - - -/* === CharString operators === */ - -#define OpCode_hstem 1 /* CFF, CFF2 */ -#define OpCode_Reserved2 2 -#define OpCode_vstem 3 /* CFF, CFF2 */ -#define OpCode_vmoveto 4 /* CFF, CFF2 */ -#define OpCode_rlineto 5 /* CFF, CFF2 */ -#define OpCode_hlineto 6 /* CFF, CFF2 */ -#define OpCode_vlineto 7 /* CFF, CFF2 */ -#define OpCode_rrcurveto 8 /* CFF, CFF2 */ -#define OpCode_Reserved9 9 -#define OpCode_callsubr 10 /* CFF, CFF2 */ -#define OpCode_return 11 /* CFF */ -//#define OpCode_escape 12 /* CFF, CFF2 */ -#define OpCode_Reserved13 13 -#define OpCode_endchar 14 /* CFF */ -#define OpCode_vsindexcs 15 /* CFF2 */ -#define OpCode_blendcs 16 /* CFF2 */ -#define OpCode_Reserved17 17 -#define OpCode_hstemhm 18 /* CFF, CFF2 */ -#define OpCode_hintmask 19 /* CFF, CFF2 */ -#define OpCode_cntrmask 20 /* CFF, CFF2 */ -#define OpCode_rmoveto 21 /* CFF, CFF2 */ -#define OpCode_hmoveto 22 /* CFF, CFF2 */ -#define OpCode_vstemhm 23 /* CFF, CFF2 */ -#define OpCode_rcurveline 24 /* CFF, CFF2 */ -#define OpCode_rlinecurve 25 /* CFF, CFF2 */ -#define OpCode_vvcurveto 26 /* CFF, CFF2 */ -#define OpCode_hhcurveto 27 /* CFF, CFF2 */ -//#define OpCode_shortint 28 /* CFF, CFF2 */ -#define OpCode_callgsubr 29 /* CFF, CFF2 */ -#define OpCode_vhcurveto 30 /* CFF, CFF2 */ -#define OpCode_hvcurveto 31 /* CFF, CFF2 */ - -#define OpCode_fixedcs 255 /* 32-bit fixed */ - -/* Two byte escape operators 12, (0-41) */ -#define OpCode_dotsection Make_OpCode_ESC(0) /* CFF (obsoleted) */ -#define OpCode_ReservedESC1 Make_OpCode_ESC(1) -#define OpCode_ReservedESC2 Make_OpCode_ESC(2) -#define OpCode_and Make_OpCode_ESC(3) /* CFF */ -#define OpCode_or Make_OpCode_ESC(4) /* CFF */ -#define OpCode_not Make_OpCode_ESC(5) /* CFF */ -#define OpCode_ReservedESC6 Make_OpCode_ESC(6) -#define OpCode_ReservedESC7 Make_OpCode_ESC(7) -#define OpCode_ReservedESC8 Make_OpCode_ESC(8) -#define OpCode_abs Make_OpCode_ESC(9) /* CFF */ -#define OpCode_add Make_OpCode_ESC(10) /* CFF */ -#define OpCode_sub Make_OpCode_ESC(11) /* CFF */ -#define OpCode_div Make_OpCode_ESC(12) /* CFF */ -#define OpCode_ReservedESC13 Make_OpCode_ESC(13) -#define OpCode_neg Make_OpCode_ESC(14) /* CFF */ -#define OpCode_eq Make_OpCode_ESC(15) /* CFF */ -#define OpCode_ReservedESC16 Make_OpCode_ESC(16) -#define OpCode_ReservedESC17 Make_OpCode_ESC(17) -#define OpCode_drop Make_OpCode_ESC(18) /* CFF */ -#define OpCode_ReservedESC19 Make_OpCode_ESC(19) -#define OpCode_put Make_OpCode_ESC(20) /* CFF */ -#define OpCode_get Make_OpCode_ESC(21) /* CFF */ -#define OpCode_ifelse Make_OpCode_ESC(22) /* CFF */ -#define OpCode_random Make_OpCode_ESC(23) /* CFF */ -#define OpCode_mul Make_OpCode_ESC(24) /* CFF */ -//#define OpCode_reservedESC25 Make_OpCode_ESC(25) -#define OpCode_sqrt Make_OpCode_ESC(26) /* CFF */ -#define OpCode_dup Make_OpCode_ESC(27) /* CFF */ -#define OpCode_exch Make_OpCode_ESC(28) /* CFF */ -#define OpCode_index Make_OpCode_ESC(29) /* CFF */ -#define OpCode_roll Make_OpCode_ESC(30) /* CFF */ -#define OpCode_reservedESC31 Make_OpCode_ESC(31) -#define OpCode_reservedESC32 Make_OpCode_ESC(32) -#define OpCode_reservedESC33 Make_OpCode_ESC(33) -#define OpCode_hflex Make_OpCode_ESC(34) /* CFF, CFF2 */ -#define OpCode_flex Make_OpCode_ESC(35) /* CFF, CFF2 */ -#define OpCode_hflex1 Make_OpCode_ESC(36) /* CFF, CFF2 */ -#define OpCode_flex1 Make_OpCode_ESC(37) /* CFF, CFF2 */ - - -#define OpCode_Invalid 0xFFFFu - - -struct number_t -{ - void init () { set_real (0.0); } - void fini () {} - - void set_int (int v) { value = v; } - int to_int () const { return value; } - - void set_fixed (int32_t v) { value = v / 65536.0; } - int32_t to_fixed () const { return value * 65536.0; } - - void set_real (double v) { value = v; } - double to_real () const { return value; } - - bool in_int_range () const - { return ((double) (int16_t) to_int () == value); } - - bool operator > (const number_t &n) const { return value > n.to_real (); } - bool operator < (const number_t &n) const { return n > *this; } - bool operator >= (const number_t &n) const { return !(*this < n); } - bool operator <= (const number_t &n) const { return !(*this > n); } - - const number_t &operator += (const number_t &n) - { - set_real (to_real () + n.to_real ()); - - return *this; - } - - protected: - double value; -}; - -/* byte string */ -struct UnsizedByteStr : UnsizedArrayOf -{ - // encode 2-byte int (Dict/CharString) or 4-byte int (Dict) - template - static bool serialize_int (hb_serialize_context_t *c, op_code_t intOp, V value) - { - TRACE_SERIALIZE (this); - - HBUINT8 *p = c->allocate_size (1); - if (unlikely (!p)) return_trace (false); - *p = intOp; - - T *ip = c->allocate_size (T::static_size); - if (unlikely (!ip)) return_trace (false); - return_trace (c->check_assign (*ip, value, HB_SERIALIZE_ERROR_INT_OVERFLOW)); - } - - template - static bool serialize_int4 (hb_serialize_context_t *c, V value) - { return serialize_int (c, OpCode_longintdict, value); } - - template - static bool serialize_int2 (hb_serialize_context_t *c, V value) - { return serialize_int (c, OpCode_shortint, value); } - - /* Defining null_size allows a Null object may be created. Should be safe because: - * A descendent struct Dict uses a Null pointer to indicate a missing table, - * checked before access. - * byte_str_t, a wrapper struct pairing a byte pointer along with its length, always - * checks the length before access. A Null pointer is used as the initial pointer - * along with zero length by the default ctor. - */ - DEFINE_SIZE_MIN(0); -}; - -/* Holder of a section of byte string within a CFFIndex entry */ -struct byte_str_t : hb_ubytes_t -{ - byte_str_t () - : hb_ubytes_t () {} - byte_str_t (const UnsizedByteStr& s, unsigned int l) - : hb_ubytes_t ((const unsigned char*)&s, l) {} - byte_str_t (const unsigned char *s, unsigned int l) - : hb_ubytes_t (s, l) {} - byte_str_t (const hb_ubytes_t &ub) /* conversion from hb_ubytes_t */ - : hb_ubytes_t (ub) {} - - /* sub-string */ - byte_str_t sub_str (unsigned int offset, unsigned int len_) const - { return byte_str_t (hb_ubytes_t::sub_array (offset, len_)); } - - bool check_limit (unsigned int offset, unsigned int count) const - { return (offset + count <= length); } -}; - -/* A byte string associated with the current offset and an error condition */ -struct byte_str_ref_t -{ - byte_str_ref_t () { init (); } - - void init () - { - str = byte_str_t (); - offset = 0; - error = false; - } - - void fini () {} - - byte_str_ref_t (const byte_str_t &str_, unsigned int offset_ = 0) - : str (str_), offset (offset_), error (false) {} - - void reset (const byte_str_t &str_, unsigned int offset_ = 0) - { - str = str_; - offset = offset_; - error = false; - } - - const unsigned char& operator [] (int i) { - if (unlikely ((unsigned int) (offset + i) >= str.length)) - { - set_error (); - return Null (unsigned char); - } - return str[offset + i]; - } - - /* Conversion to byte_str_t */ - operator byte_str_t () const { return str.sub_str (offset, str.length - offset); } - - byte_str_t sub_str (unsigned int offset_, unsigned int len_) const - { return str.sub_str (offset_, len_); } - - bool avail (unsigned int count=1) const - { return (!in_error () && str.check_limit (offset, count)); } - void inc (unsigned int count=1) - { - if (likely (!in_error () && (offset <= str.length) && (offset + count <= str.length))) - { - offset += count; - } - else - { - offset = str.length; - set_error (); - } - } - - void set_error () { error = true; } - bool in_error () const { return error; } - - byte_str_t str; - unsigned int offset; /* beginning of the sub-string within str */ - - protected: - bool error; -}; - -typedef hb_vector_t byte_str_array_t; - -/* stack */ -template -struct cff_stack_t -{ - void init () - { - error = false; - count = 0; - elements.init (); - elements.resize (kSizeLimit); - for (unsigned int i = 0; i < elements.length; i++) - elements[i].init (); - } - void fini () { elements.fini_deep (); } - - ELEM& operator [] (unsigned int i) - { - if (unlikely (i >= count)) set_error (); - return elements[i]; - } - - void push (const ELEM &v) - { - if (likely (count < elements.length)) - elements[count++] = v; - else - set_error (); - } - ELEM &push () - { - if (likely (count < elements.length)) - return elements[count++]; - else - { - set_error (); - return Crap (ELEM); - } - } - - ELEM& pop () - { - if (likely (count > 0)) - return elements[--count]; - else - { - set_error (); - return Crap (ELEM); - } - } - void pop (unsigned int n) - { - if (likely (count >= n)) - count -= n; - else - set_error (); - } - - const ELEM& peek () - { - if (unlikely (count < 0)) - { - set_error (); - return Null (ELEM); - } - return elements[count - 1]; - } - - void unpop () - { - if (likely (count < elements.length)) - count++; - else - set_error (); - } - - void clear () { count = 0; } - - bool in_error () const { return (error || elements.in_error ()); } - void set_error () { error = true; } - - unsigned int get_count () const { return count; } - bool is_empty () const { return !count; } - - static constexpr unsigned kSizeLimit = LIMIT; - - protected: - bool error; - unsigned int count; - hb_vector_t elements; -}; - -/* argument stack */ -template -struct arg_stack_t : cff_stack_t -{ - void push_int (int v) - { - ARG &n = S::push (); - n.set_int (v); - } - - void push_fixed (int32_t v) - { - ARG &n = S::push (); - n.set_fixed (v); - } - - void push_real (double v) - { - ARG &n = S::push (); - n.set_real (v); - } - - ARG& pop_num () { return this->pop (); } - - int pop_int () { return this->pop ().to_int (); } - - unsigned int pop_uint () - { - int i = pop_int (); - if (unlikely (i < 0)) - { - i = 0; - S::set_error (); - } - return (unsigned) i; - } - - void push_longint_from_substr (byte_str_ref_t& str_ref) - { - push_int ((str_ref[0] << 24) | (str_ref[1] << 16) | (str_ref[2] << 8) | (str_ref[3])); - str_ref.inc (4); - } - - bool push_fixed_from_substr (byte_str_ref_t& str_ref) - { - if (unlikely (!str_ref.avail (4))) - return false; - push_fixed ((int32_t)*(const HBUINT32*)&str_ref[0]); - str_ref.inc (4); - return true; - } - - hb_array_t get_subarray (unsigned int start) const - { return S::elements.sub_array (start); } - - private: - typedef cff_stack_t S; -}; - -/* an operator prefixed by its operands in a byte string */ -struct op_str_t -{ - void init () {} - void fini () {} - - op_code_t op; - byte_str_t str; -}; - -/* base of OP_SERIALIZER */ -struct op_serializer_t -{ - protected: - bool copy_opstr (hb_serialize_context_t *c, const op_str_t& opstr) const - { - TRACE_SERIALIZE (this); - - HBUINT8 *d = c->allocate_size (opstr.str.length); - if (unlikely (!d)) return_trace (false); - memcpy (d, &opstr.str[0], opstr.str.length); - return_trace (true); - } -}; - -template -struct parsed_values_t -{ - void init () - { - opStart = 0; - values.init (); - } - void fini () { values.fini_deep (); } - - void add_op (op_code_t op, const byte_str_ref_t& str_ref = byte_str_ref_t ()) - { - VAL *val = values.push (); - val->op = op; - val->str = str_ref.str.sub_str (opStart, str_ref.offset - opStart); - opStart = str_ref.offset; - } - - void add_op (op_code_t op, const byte_str_ref_t& str_ref, const VAL &v) - { - VAL *val = values.push (v); - val->op = op; - val->str = str_ref.sub_str ( opStart, str_ref.offset - opStart); - opStart = str_ref.offset; - } - - bool has_op (op_code_t op) const - { - for (unsigned int i = 0; i < get_count (); i++) - if (get_value (i).op == op) return true; - return false; - } - - unsigned get_count () const { return values.length; } - const VAL &get_value (unsigned int i) const { return values[i]; } - const VAL &operator [] (unsigned int i) const { return get_value (i); } - - unsigned int opStart; - hb_vector_t values; -}; - -template -struct interp_env_t -{ - void init (const byte_str_t &str_) - { - str_ref.reset (str_); - argStack.init (); - error = false; - } - void fini () { argStack.fini (); } - - bool in_error () const - { return error || str_ref.in_error () || argStack.in_error (); } - - void set_error () { error = true; } - - op_code_t fetch_op () - { - op_code_t op = OpCode_Invalid; - if (unlikely (!str_ref.avail ())) - return OpCode_Invalid; - op = (op_code_t)(unsigned char)str_ref[0]; - if (op == OpCode_escape) { - if (unlikely (!str_ref.avail ())) - return OpCode_Invalid; - op = Make_OpCode_ESC(str_ref[1]); - str_ref.inc (); - } - str_ref.inc (); - return op; - } - - const ARG& eval_arg (unsigned int i) { return argStack[i]; } - - ARG& pop_arg () { return argStack.pop (); } - void pop_n_args (unsigned int n) { argStack.pop (n); } - - void clear_args () { pop_n_args (argStack.get_count ()); } - - byte_str_ref_t - str_ref; - arg_stack_t - argStack; - protected: - bool error; -}; - -typedef interp_env_t<> num_interp_env_t; - -template -struct opset_t -{ - static void process_op (op_code_t op, interp_env_t& env) - { - switch (op) { - case OpCode_shortint: - env.argStack.push_int ((int16_t)((env.str_ref[0] << 8) | env.str_ref[1])); - env.str_ref.inc (2); - break; - - case OpCode_TwoBytePosInt0: case OpCode_TwoBytePosInt1: - case OpCode_TwoBytePosInt2: case OpCode_TwoBytePosInt3: - env.argStack.push_int ((int16_t)((op - OpCode_TwoBytePosInt0) * 256 + env.str_ref[0] + 108)); - env.str_ref.inc (); - break; - - case OpCode_TwoByteNegInt0: case OpCode_TwoByteNegInt1: - case OpCode_TwoByteNegInt2: case OpCode_TwoByteNegInt3: - env.argStack.push_int ((-(int16_t)(op - OpCode_TwoByteNegInt0) * 256 - env.str_ref[0] - 108)); - env.str_ref.inc (); - break; - - default: - /* 1-byte integer */ - if (likely ((OpCode_OneByteIntFirst <= op) && (op <= OpCode_OneByteIntLast))) - { - env.argStack.push_int ((int)op - 139); - } else { - /* invalid unknown operator */ - env.clear_args (); - env.set_error (); - } - break; - } - } -}; - -template -struct interpreter_t -{ - ~interpreter_t() { fini (); } - - void fini () { env.fini (); } - - ENV env; -}; - -} /* namespace CFF */ - -#endif /* HB_CFF_INTERP_COMMON_HH */ diff --git a/harfbuzz/src/hb-cff-interp-cs-common.hh b/harfbuzz/src/hb-cff-interp-cs-common.hh deleted file mode 100644 index 52d778f..0000000 --- a/harfbuzz/src/hb-cff-interp-cs-common.hh +++ /dev/null @@ -1,911 +0,0 @@ -/* - * Copyright © 2018 Adobe Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Adobe Author(s): Michiharu Ariza - */ -#ifndef HB_CFF_INTERP_CS_COMMON_HH -#define HB_CFF_INTERP_CS_COMMON_HH - -#include "hb.hh" -#include "hb-cff-interp-common.hh" - -namespace CFF { - -using namespace OT; - -enum cs_type_t { - CSType_CharString, - CSType_GlobalSubr, - CSType_LocalSubr -}; - -struct call_context_t -{ - void init (const byte_str_ref_t substr_=byte_str_ref_t (), cs_type_t type_=CSType_CharString, unsigned int subr_num_=0) - { - str_ref = substr_; - type = type_; - subr_num = subr_num_; - } - - void fini () {} - - byte_str_ref_t str_ref; - cs_type_t type; - unsigned int subr_num; -}; - -/* call stack */ -const unsigned int kMaxCallLimit = 10; -struct call_stack_t : cff_stack_t {}; - -template -struct biased_subrs_t -{ - void init (const SUBRS *subrs_) - { - subrs = subrs_; - unsigned int nSubrs = get_count (); - if (nSubrs < 1240) - bias = 107; - else if (nSubrs < 33900) - bias = 1131; - else - bias = 32768; - } - - void fini () {} - - unsigned int get_count () const { return subrs ? subrs->count : 0; } - unsigned int get_bias () const { return bias; } - - byte_str_t operator [] (unsigned int index) const - { - if (unlikely (!subrs || index >= subrs->count)) - return Null (byte_str_t); - else - return (*subrs)[index]; - } - - protected: - unsigned int bias; - const SUBRS *subrs; -}; - -struct point_t -{ - void init () - { - x.init (); - y.init (); - } - - void set_int (int _x, int _y) - { - x.set_int (_x); - y.set_int (_y); - } - - void move_x (const number_t &dx) { x += dx; } - void move_y (const number_t &dy) { y += dy; } - void move (const number_t &dx, const number_t &dy) { move_x (dx); move_y (dy); } - void move (const point_t &d) { move_x (d.x); move_y (d.y); } - - number_t x; - number_t y; -}; - -template -struct cs_interp_env_t : interp_env_t -{ - void init (const byte_str_t &str, const SUBRS *globalSubrs_, const SUBRS *localSubrs_) - { - interp_env_t::init (str); - - context.init (str, CSType_CharString); - seen_moveto = true; - seen_hintmask = false; - hstem_count = 0; - vstem_count = 0; - hintmask_size = 0; - pt.init (); - callStack.init (); - globalSubrs.init (globalSubrs_); - localSubrs.init (localSubrs_); - } - void fini () - { - interp_env_t::fini (); - - callStack.fini (); - globalSubrs.fini (); - localSubrs.fini (); - } - - bool in_error () const - { - return callStack.in_error () || SUPER::in_error (); - } - - bool pop_subr_num (const biased_subrs_t& biasedSubrs, unsigned int &subr_num) - { - subr_num = 0; - int n = SUPER::argStack.pop_int (); - n += biasedSubrs.get_bias (); - if (unlikely ((n < 0) || ((unsigned int)n >= biasedSubrs.get_count ()))) - return false; - - subr_num = (unsigned int)n; - return true; - } - - void call_subr (const biased_subrs_t& biasedSubrs, cs_type_t type) - { - unsigned int subr_num = 0; - - if (unlikely (!pop_subr_num (biasedSubrs, subr_num) - || callStack.get_count () >= kMaxCallLimit)) - { - SUPER::set_error (); - return; - } - context.str_ref = SUPER::str_ref; - callStack.push (context); - - context.init ( biasedSubrs[subr_num], type, subr_num); - SUPER::str_ref = context.str_ref; - } - - void return_from_subr () - { - if (unlikely (SUPER::str_ref.in_error ())) - SUPER::set_error (); - context = callStack.pop (); - SUPER::str_ref = context.str_ref; - } - - void determine_hintmask_size () - { - if (!seen_hintmask) - { - vstem_count += SUPER::argStack.get_count() / 2; - hintmask_size = (hstem_count + vstem_count + 7) >> 3; - seen_hintmask = true; - } - } - - void set_endchar (bool endchar_flag_) { endchar_flag = endchar_flag_; } - bool is_endchar () const { return endchar_flag; } - - const number_t &get_x () const { return pt.x; } - const number_t &get_y () const { return pt.y; } - const point_t &get_pt () const { return pt; } - - void moveto (const point_t &pt_ ) { pt = pt_; } - - public: - call_context_t context; - bool endchar_flag; - bool seen_moveto; - bool seen_hintmask; - - unsigned int hstem_count; - unsigned int vstem_count; - unsigned int hintmask_size; - call_stack_t callStack; - biased_subrs_t globalSubrs; - biased_subrs_t localSubrs; - - private: - point_t pt; - - typedef interp_env_t SUPER; -}; - -template -struct path_procs_null_t -{ - static void rmoveto (ENV &env, PARAM& param) {} - static void hmoveto (ENV &env, PARAM& param) {} - static void vmoveto (ENV &env, PARAM& param) {} - static void rlineto (ENV &env, PARAM& param) {} - static void hlineto (ENV &env, PARAM& param) {} - static void vlineto (ENV &env, PARAM& param) {} - static void rrcurveto (ENV &env, PARAM& param) {} - static void rcurveline (ENV &env, PARAM& param) {} - static void rlinecurve (ENV &env, PARAM& param) {} - static void vvcurveto (ENV &env, PARAM& param) {} - static void hhcurveto (ENV &env, PARAM& param) {} - static void vhcurveto (ENV &env, PARAM& param) {} - static void hvcurveto (ENV &env, PARAM& param) {} - static void moveto (ENV &env, PARAM& param, const point_t &pt) {} - static void line (ENV &env, PARAM& param, const point_t &pt1) {} - static void curve (ENV &env, PARAM& param, const point_t &pt1, const point_t &pt2, const point_t &pt3) {} - static void hflex (ENV &env, PARAM& param) {} - static void flex (ENV &env, PARAM& param) {} - static void hflex1 (ENV &env, PARAM& param) {} - static void flex1 (ENV &env, PARAM& param) {} -}; - -template > -struct cs_opset_t : opset_t -{ - static void process_op (op_code_t op, ENV &env, PARAM& param) - { - switch (op) { - - case OpCode_return: - env.return_from_subr (); - break; - case OpCode_endchar: - OPSET::check_width (op, env, param); - env.set_endchar (true); - OPSET::flush_args_and_op (op, env, param); - break; - - case OpCode_fixedcs: - env.argStack.push_fixed_from_substr (env.str_ref); - break; - - case OpCode_callsubr: - env.call_subr (env.localSubrs, CSType_LocalSubr); - break; - - case OpCode_callgsubr: - env.call_subr (env.globalSubrs, CSType_GlobalSubr); - break; - - case OpCode_hstem: - case OpCode_hstemhm: - OPSET::check_width (op, env, param); - OPSET::process_hstem (op, env, param); - break; - case OpCode_vstem: - case OpCode_vstemhm: - OPSET::check_width (op, env, param); - OPSET::process_vstem (op, env, param); - break; - case OpCode_hintmask: - case OpCode_cntrmask: - OPSET::check_width (op, env, param); - OPSET::process_hintmask (op, env, param); - break; - case OpCode_rmoveto: - OPSET::check_width (op, env, param); - PATH::rmoveto (env, param); - OPSET::process_post_move (op, env, param); - break; - case OpCode_hmoveto: - OPSET::check_width (op, env, param); - PATH::hmoveto (env, param); - OPSET::process_post_move (op, env, param); - break; - case OpCode_vmoveto: - OPSET::check_width (op, env, param); - PATH::vmoveto (env, param); - OPSET::process_post_move (op, env, param); - break; - case OpCode_rlineto: - PATH::rlineto (env, param); - process_post_path (op, env, param); - break; - case OpCode_hlineto: - PATH::hlineto (env, param); - process_post_path (op, env, param); - break; - case OpCode_vlineto: - PATH::vlineto (env, param); - process_post_path (op, env, param); - break; - case OpCode_rrcurveto: - PATH::rrcurveto (env, param); - process_post_path (op, env, param); - break; - case OpCode_rcurveline: - PATH::rcurveline (env, param); - process_post_path (op, env, param); - break; - case OpCode_rlinecurve: - PATH::rlinecurve (env, param); - process_post_path (op, env, param); - break; - case OpCode_vvcurveto: - PATH::vvcurveto (env, param); - process_post_path (op, env, param); - break; - case OpCode_hhcurveto: - PATH::hhcurveto (env, param); - process_post_path (op, env, param); - break; - case OpCode_vhcurveto: - PATH::vhcurveto (env, param); - process_post_path (op, env, param); - break; - case OpCode_hvcurveto: - PATH::hvcurveto (env, param); - process_post_path (op, env, param); - break; - - case OpCode_hflex: - PATH::hflex (env, param); - OPSET::process_post_flex (op, env, param); - break; - - case OpCode_flex: - PATH::flex (env, param); - OPSET::process_post_flex (op, env, param); - break; - - case OpCode_hflex1: - PATH::hflex1 (env, param); - OPSET::process_post_flex (op, env, param); - break; - - case OpCode_flex1: - PATH::flex1 (env, param); - OPSET::process_post_flex (op, env, param); - break; - - default: - SUPER::process_op (op, env); - break; - } - } - - static void process_hstem (op_code_t op, ENV &env, PARAM& param) - { - env.hstem_count += env.argStack.get_count () / 2; - OPSET::flush_args_and_op (op, env, param); - } - - static void process_vstem (op_code_t op, ENV &env, PARAM& param) - { - env.vstem_count += env.argStack.get_count () / 2; - OPSET::flush_args_and_op (op, env, param); - } - - static void process_hintmask (op_code_t op, ENV &env, PARAM& param) - { - env.determine_hintmask_size (); - if (likely (env.str_ref.avail (env.hintmask_size))) - { - OPSET::flush_hintmask (op, env, param); - env.str_ref.inc (env.hintmask_size); - } - } - - static void process_post_flex (op_code_t op, ENV &env, PARAM& param) - { - OPSET::flush_args_and_op (op, env, param); - } - - static void check_width (op_code_t op, ENV &env, PARAM& param) - {} - - static void process_post_move (op_code_t op, ENV &env, PARAM& param) - { - if (!env.seen_moveto) - { - env.determine_hintmask_size (); - env.seen_moveto = true; - } - OPSET::flush_args_and_op (op, env, param); - } - - static void process_post_path (op_code_t op, ENV &env, PARAM& param) - { - OPSET::flush_args_and_op (op, env, param); - } - - static void flush_args_and_op (op_code_t op, ENV &env, PARAM& param) - { - OPSET::flush_args (env, param); - OPSET::flush_op (op, env, param); - } - - static void flush_args (ENV &env, PARAM& param) - { - env.pop_n_args (env.argStack.get_count ()); - } - - static void flush_op (op_code_t op, ENV &env, PARAM& param) - { - } - - static void flush_hintmask (op_code_t op, ENV &env, PARAM& param) - { - OPSET::flush_args_and_op (op, env, param); - } - - static bool is_number_op (op_code_t op) - { - switch (op) - { - case OpCode_shortint: - case OpCode_fixedcs: - case OpCode_TwoBytePosInt0: case OpCode_TwoBytePosInt1: - case OpCode_TwoBytePosInt2: case OpCode_TwoBytePosInt3: - case OpCode_TwoByteNegInt0: case OpCode_TwoByteNegInt1: - case OpCode_TwoByteNegInt2: case OpCode_TwoByteNegInt3: - return true; - - default: - /* 1-byte integer */ - return (OpCode_OneByteIntFirst <= op) && (op <= OpCode_OneByteIntLast); - } - } - - protected: - typedef opset_t SUPER; -}; - -template -struct path_procs_t -{ - static void rmoveto (ENV &env, PARAM& param) - { - point_t pt1 = env.get_pt (); - const number_t &dy = env.pop_arg (); - const number_t &dx = env.pop_arg (); - pt1.move (dx, dy); - PATH::moveto (env, param, pt1); - } - - static void hmoveto (ENV &env, PARAM& param) - { - point_t pt1 = env.get_pt (); - pt1.move_x (env.pop_arg ()); - PATH::moveto (env, param, pt1); - } - - static void vmoveto (ENV &env, PARAM& param) - { - point_t pt1 = env.get_pt (); - pt1.move_y (env.pop_arg ()); - PATH::moveto (env, param, pt1); - } - - static void rlineto (ENV &env, PARAM& param) - { - for (unsigned int i = 0; i + 2 <= env.argStack.get_count (); i += 2) - { - point_t pt1 = env.get_pt (); - pt1.move (env.eval_arg (i), env.eval_arg (i+1)); - PATH::line (env, param, pt1); - } - } - - static void hlineto (ENV &env, PARAM& param) - { - point_t pt1; - unsigned int i = 0; - for (; i + 2 <= env.argStack.get_count (); i += 2) - { - pt1 = env.get_pt (); - pt1.move_x (env.eval_arg (i)); - PATH::line (env, param, pt1); - pt1.move_y (env.eval_arg (i+1)); - PATH::line (env, param, pt1); - } - if (i < env.argStack.get_count ()) - { - pt1 = env.get_pt (); - pt1.move_x (env.eval_arg (i)); - PATH::line (env, param, pt1); - } - } - - static void vlineto (ENV &env, PARAM& param) - { - point_t pt1; - unsigned int i = 0; - for (; i + 2 <= env.argStack.get_count (); i += 2) - { - pt1 = env.get_pt (); - pt1.move_y (env.eval_arg (i)); - PATH::line (env, param, pt1); - pt1.move_x (env.eval_arg (i+1)); - PATH::line (env, param, pt1); - } - if (i < env.argStack.get_count ()) - { - pt1 = env.get_pt (); - pt1.move_y (env.eval_arg (i)); - PATH::line (env, param, pt1); - } - } - - static void rrcurveto (ENV &env, PARAM& param) - { - for (unsigned int i = 0; i + 6 <= env.argStack.get_count (); i += 6) - { - point_t pt1 = env.get_pt (); - pt1.move (env.eval_arg (i), env.eval_arg (i+1)); - point_t pt2 = pt1; - pt2.move (env.eval_arg (i+2), env.eval_arg (i+3)); - point_t pt3 = pt2; - pt3.move (env.eval_arg (i+4), env.eval_arg (i+5)); - PATH::curve (env, param, pt1, pt2, pt3); - } - } - - static void rcurveline (ENV &env, PARAM& param) - { - unsigned int arg_count = env.argStack.get_count (); - if (unlikely (arg_count < 8)) - return; - - unsigned int i = 0; - unsigned int curve_limit = arg_count - 2; - for (; i + 6 <= curve_limit; i += 6) - { - point_t pt1 = env.get_pt (); - pt1.move (env.eval_arg (i), env.eval_arg (i+1)); - point_t pt2 = pt1; - pt2.move (env.eval_arg (i+2), env.eval_arg (i+3)); - point_t pt3 = pt2; - pt3.move (env.eval_arg (i+4), env.eval_arg (i+5)); - PATH::curve (env, param, pt1, pt2, pt3); - } - - point_t pt1 = env.get_pt (); - pt1.move (env.eval_arg (i), env.eval_arg (i+1)); - PATH::line (env, param, pt1); - } - - static void rlinecurve (ENV &env, PARAM& param) - { - unsigned int arg_count = env.argStack.get_count (); - if (unlikely (arg_count < 8)) - return; - - unsigned int i = 0; - unsigned int line_limit = arg_count - 6; - for (; i + 2 <= line_limit; i += 2) - { - point_t pt1 = env.get_pt (); - pt1.move (env.eval_arg (i), env.eval_arg (i+1)); - PATH::line (env, param, pt1); - } - - point_t pt1 = env.get_pt (); - pt1.move (env.eval_arg (i), env.eval_arg (i+1)); - point_t pt2 = pt1; - pt2.move (env.eval_arg (i+2), env.eval_arg (i+3)); - point_t pt3 = pt2; - pt3.move (env.eval_arg (i+4), env.eval_arg (i+5)); - PATH::curve (env, param, pt1, pt2, pt3); - } - - static void vvcurveto (ENV &env, PARAM& param) - { - unsigned int i = 0; - point_t pt1 = env.get_pt (); - if ((env.argStack.get_count () & 1) != 0) - pt1.move_x (env.eval_arg (i++)); - for (; i + 4 <= env.argStack.get_count (); i += 4) - { - pt1.move_y (env.eval_arg (i)); - point_t pt2 = pt1; - pt2.move (env.eval_arg (i+1), env.eval_arg (i+2)); - point_t pt3 = pt2; - pt3.move_y (env.eval_arg (i+3)); - PATH::curve (env, param, pt1, pt2, pt3); - pt1 = env.get_pt (); - } - } - - static void hhcurveto (ENV &env, PARAM& param) - { - unsigned int i = 0; - point_t pt1 = env.get_pt (); - if ((env.argStack.get_count () & 1) != 0) - pt1.move_y (env.eval_arg (i++)); - for (; i + 4 <= env.argStack.get_count (); i += 4) - { - pt1.move_x (env.eval_arg (i)); - point_t pt2 = pt1; - pt2.move (env.eval_arg (i+1), env.eval_arg (i+2)); - point_t pt3 = pt2; - pt3.move_x (env.eval_arg (i+3)); - PATH::curve (env, param, pt1, pt2, pt3); - pt1 = env.get_pt (); - } - } - - static void vhcurveto (ENV &env, PARAM& param) - { - point_t pt1, pt2, pt3; - unsigned int i = 0; - if ((env.argStack.get_count () % 8) >= 4) - { - point_t pt1 = env.get_pt (); - pt1.move_y (env.eval_arg (i)); - point_t pt2 = pt1; - pt2.move (env.eval_arg (i+1), env.eval_arg (i+2)); - point_t pt3 = pt2; - pt3.move_x (env.eval_arg (i+3)); - i += 4; - - for (; i + 8 <= env.argStack.get_count (); i += 8) - { - PATH::curve (env, param, pt1, pt2, pt3); - pt1 = env.get_pt (); - pt1.move_x (env.eval_arg (i)); - pt2 = pt1; - pt2.move (env.eval_arg (i+1), env.eval_arg (i+2)); - pt3 = pt2; - pt3.move_y (env.eval_arg (i+3)); - PATH::curve (env, param, pt1, pt2, pt3); - - pt1 = pt3; - pt1.move_y (env.eval_arg (i+4)); - pt2 = pt1; - pt2.move (env.eval_arg (i+5), env.eval_arg (i+6)); - pt3 = pt2; - pt3.move_x (env.eval_arg (i+7)); - } - if (i < env.argStack.get_count ()) - pt3.move_y (env.eval_arg (i)); - PATH::curve (env, param, pt1, pt2, pt3); - } - else - { - for (; i + 8 <= env.argStack.get_count (); i += 8) - { - pt1 = env.get_pt (); - pt1.move_y (env.eval_arg (i)); - pt2 = pt1; - pt2.move (env.eval_arg (i+1), env.eval_arg (i+2)); - pt3 = pt2; - pt3.move_x (env.eval_arg (i+3)); - PATH::curve (env, param, pt1, pt2, pt3); - - pt1 = pt3; - pt1.move_x (env.eval_arg (i+4)); - pt2 = pt1; - pt2.move (env.eval_arg (i+5), env.eval_arg (i+6)); - pt3 = pt2; - pt3.move_y (env.eval_arg (i+7)); - if ((env.argStack.get_count () - i < 16) && ((env.argStack.get_count () & 1) != 0)) - pt3.move_x (env.eval_arg (i+8)); - PATH::curve (env, param, pt1, pt2, pt3); - } - } - } - - static void hvcurveto (ENV &env, PARAM& param) - { - point_t pt1, pt2, pt3; - unsigned int i = 0; - if ((env.argStack.get_count () % 8) >= 4) - { - point_t pt1 = env.get_pt (); - pt1.move_x (env.eval_arg (i)); - point_t pt2 = pt1; - pt2.move (env.eval_arg (i+1), env.eval_arg (i+2)); - point_t pt3 = pt2; - pt3.move_y (env.eval_arg (i+3)); - i += 4; - - for (; i + 8 <= env.argStack.get_count (); i += 8) - { - PATH::curve (env, param, pt1, pt2, pt3); - pt1 = env.get_pt (); - pt1.move_y (env.eval_arg (i)); - pt2 = pt1; - pt2.move (env.eval_arg (i+1), env.eval_arg (i+2)); - pt3 = pt2; - pt3.move_x (env.eval_arg (i+3)); - PATH::curve (env, param, pt1, pt2, pt3); - - pt1 = pt3; - pt1.move_x (env.eval_arg (i+4)); - pt2 = pt1; - pt2.move (env.eval_arg (i+5), env.eval_arg (i+6)); - pt3 = pt2; - pt3.move_y (env.eval_arg (i+7)); - } - if (i < env.argStack.get_count ()) - pt3.move_x (env.eval_arg (i)); - PATH::curve (env, param, pt1, pt2, pt3); - } - else - { - for (; i + 8 <= env.argStack.get_count (); i += 8) - { - pt1 = env.get_pt (); - pt1.move_x (env.eval_arg (i)); - pt2 = pt1; - pt2.move (env.eval_arg (i+1), env.eval_arg (i+2)); - pt3 = pt2; - pt3.move_y (env.eval_arg (i+3)); - PATH::curve (env, param, pt1, pt2, pt3); - - pt1 = pt3; - pt1.move_y (env.eval_arg (i+4)); - pt2 = pt1; - pt2.move (env.eval_arg (i+5), env.eval_arg (i+6)); - pt3 = pt2; - pt3.move_x (env.eval_arg (i+7)); - if ((env.argStack.get_count () - i < 16) && ((env.argStack.get_count () & 1) != 0)) - pt3.move_y (env.eval_arg (i+8)); - PATH::curve (env, param, pt1, pt2, pt3); - } - } - } - - /* default actions to be overridden */ - static void moveto (ENV &env, PARAM& param, const point_t &pt) - { env.moveto (pt); } - - static void line (ENV &env, PARAM& param, const point_t &pt1) - { PATH::moveto (env, param, pt1); } - - static void curve (ENV &env, PARAM& param, const point_t &pt1, const point_t &pt2, const point_t &pt3) - { PATH::moveto (env, param, pt3); } - - static void hflex (ENV &env, PARAM& param) - { - if (likely (env.argStack.get_count () == 7)) - { - point_t pt1 = env.get_pt (); - pt1.move_x (env.eval_arg (0)); - point_t pt2 = pt1; - pt2.move (env.eval_arg (1), env.eval_arg (2)); - point_t pt3 = pt2; - pt3.move_x (env.eval_arg (3)); - point_t pt4 = pt3; - pt4.move_x (env.eval_arg (4)); - point_t pt5 = pt4; - pt5.move_x (env.eval_arg (5)); - pt5.y = pt1.y; - point_t pt6 = pt5; - pt6.move_x (env.eval_arg (6)); - - curve2 (env, param, pt1, pt2, pt3, pt4, pt5, pt6); - } - else - env.set_error (); - } - - static void flex (ENV &env, PARAM& param) - { - if (likely (env.argStack.get_count () == 13)) - { - point_t pt1 = env.get_pt (); - pt1.move (env.eval_arg (0), env.eval_arg (1)); - point_t pt2 = pt1; - pt2.move (env.eval_arg (2), env.eval_arg (3)); - point_t pt3 = pt2; - pt3.move (env.eval_arg (4), env.eval_arg (5)); - point_t pt4 = pt3; - pt4.move (env.eval_arg (6), env.eval_arg (7)); - point_t pt5 = pt4; - pt5.move (env.eval_arg (8), env.eval_arg (9)); - point_t pt6 = pt5; - pt6.move (env.eval_arg (10), env.eval_arg (11)); - - curve2 (env, param, pt1, pt2, pt3, pt4, pt5, pt6); - } - else - env.set_error (); - } - - static void hflex1 (ENV &env, PARAM& param) - { - if (likely (env.argStack.get_count () == 9)) - { - point_t pt1 = env.get_pt (); - pt1.move (env.eval_arg (0), env.eval_arg (1)); - point_t pt2 = pt1; - pt2.move (env.eval_arg (2), env.eval_arg (3)); - point_t pt3 = pt2; - pt3.move_x (env.eval_arg (4)); - point_t pt4 = pt3; - pt4.move_x (env.eval_arg (5)); - point_t pt5 = pt4; - pt5.move (env.eval_arg (6), env.eval_arg (7)); - point_t pt6 = pt5; - pt6.move_x (env.eval_arg (8)); - pt6.y = env.get_pt ().y; - - curve2 (env, param, pt1, pt2, pt3, pt4, pt5, pt6); - } - else - env.set_error (); - } - - static void flex1 (ENV &env, PARAM& param) - { - if (likely (env.argStack.get_count () == 11)) - { - point_t d; - d.init (); - for (unsigned int i = 0; i < 10; i += 2) - d.move (env.eval_arg (i), env.eval_arg (i+1)); - - point_t pt1 = env.get_pt (); - pt1.move (env.eval_arg (0), env.eval_arg (1)); - point_t pt2 = pt1; - pt2.move (env.eval_arg (2), env.eval_arg (3)); - point_t pt3 = pt2; - pt3.move (env.eval_arg (4), env.eval_arg (5)); - point_t pt4 = pt3; - pt4.move (env.eval_arg (6), env.eval_arg (7)); - point_t pt5 = pt4; - pt5.move (env.eval_arg (8), env.eval_arg (9)); - point_t pt6 = pt5; - - if (fabs (d.x.to_real ()) > fabs (d.y.to_real ())) - { - pt6.move_x (env.eval_arg (10)); - pt6.y = env.get_pt ().y; - } - else - { - pt6.x = env.get_pt ().x; - pt6.move_y (env.eval_arg (10)); - } - - curve2 (env, param, pt1, pt2, pt3, pt4, pt5, pt6); - } - else - env.set_error (); - } - - protected: - static void curve2 (ENV &env, PARAM& param, - const point_t &pt1, const point_t &pt2, const point_t &pt3, - const point_t &pt4, const point_t &pt5, const point_t &pt6) - { - PATH::curve (env, param, pt1, pt2, pt3); - PATH::curve (env, param, pt4, pt5, pt6); - } -}; - -template -struct cs_interpreter_t : interpreter_t -{ - bool interpret (PARAM& param) - { - SUPER::env.set_endchar (false); - - for (;;) { - OPSET::process_op (SUPER::env.fetch_op (), SUPER::env, param); - if (unlikely (SUPER::env.in_error ())) - return false; - if (SUPER::env.is_endchar ()) - break; - } - - return true; - } - - private: - typedef interpreter_t SUPER; -}; - -} /* namespace CFF */ - -#endif /* HB_CFF_INTERP_CS_COMMON_HH */ diff --git a/harfbuzz/src/hb-cff-interp-dict-common.hh b/harfbuzz/src/hb-cff-interp-dict-common.hh deleted file mode 100644 index a520ca3..0000000 --- a/harfbuzz/src/hb-cff-interp-dict-common.hh +++ /dev/null @@ -1,201 +0,0 @@ -/* - * Copyright © 2018 Adobe Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Adobe Author(s): Michiharu Ariza - */ -#ifndef HB_CFF_INTERP_DICT_COMMON_HH -#define HB_CFF_INTERP_DICT_COMMON_HH - -#include "hb-cff-interp-common.hh" - -namespace CFF { - -using namespace OT; - -/* an opstr and the parsed out dict value(s) */ -struct dict_val_t : op_str_t -{ - void init () { single_val.set_int (0); } - void fini () {} - - number_t single_val; -}; - -typedef dict_val_t num_dict_val_t; - -template struct dict_values_t : parsed_values_t {}; - -template -struct top_dict_values_t : dict_values_t -{ - void init () - { - dict_values_t::init (); - charStringsOffset = 0; - FDArrayOffset = 0; - } - void fini () { dict_values_t::fini (); } - - unsigned int charStringsOffset; - unsigned int FDArrayOffset; -}; - -struct dict_opset_t : opset_t -{ - static void process_op (op_code_t op, interp_env_t& env) - { - switch (op) { - case OpCode_longintdict: /* 5-byte integer */ - env.argStack.push_longint_from_substr (env.str_ref); - break; - - case OpCode_BCD: /* real number */ - env.argStack.push_real (parse_bcd (env.str_ref)); - break; - - default: - opset_t::process_op (op, env); - break; - } - } - - /* Turns CFF's BCD format into strtod understandable string */ - static double parse_bcd (byte_str_ref_t& str_ref) - { - if (unlikely (str_ref.in_error ())) return .0; - - enum Nibble { DECIMAL=10, EXP_POS, EXP_NEG, RESERVED, NEG, END }; - - char buf[32]; - unsigned char byte = 0; - for (unsigned i = 0, count = 0; count < ARRAY_LENGTH (buf); ++i, ++count) - { - unsigned nibble; - if (!(i & 1)) - { - if (unlikely (!str_ref.avail ())) break; - - byte = str_ref[0]; - str_ref.inc (); - nibble = byte >> 4; - } - else - nibble = byte & 0x0F; - - if (unlikely (nibble == RESERVED)) break; - else if (nibble == END) - { - const char *p = buf; - double pv; - if (unlikely (!hb_parse_double (&p, p + count, &pv, true/* whole buffer */))) - break; - return pv; - } - else - { - buf[count] = "0123456789.EE?-?"[nibble]; - if (nibble == EXP_NEG) - { - ++count; - if (unlikely (count == ARRAY_LENGTH (buf))) break; - buf[count] = '-'; - } - } - } - - str_ref.set_error (); - return .0; - } - - static bool is_hint_op (op_code_t op) - { - switch (op) - { - case OpCode_BlueValues: - case OpCode_OtherBlues: - case OpCode_FamilyBlues: - case OpCode_FamilyOtherBlues: - case OpCode_StemSnapH: - case OpCode_StemSnapV: - case OpCode_StdHW: - case OpCode_StdVW: - case OpCode_BlueScale: - case OpCode_BlueShift: - case OpCode_BlueFuzz: - case OpCode_ForceBold: - case OpCode_LanguageGroup: - case OpCode_ExpansionFactor: - return true; - default: - return false; - } - } -}; - -template -struct top_dict_opset_t : dict_opset_t -{ - static void process_op (op_code_t op, interp_env_t& env, top_dict_values_t & dictval) - { - switch (op) { - case OpCode_CharStrings: - dictval.charStringsOffset = env.argStack.pop_uint (); - env.clear_args (); - break; - case OpCode_FDArray: - dictval.FDArrayOffset = env.argStack.pop_uint (); - env.clear_args (); - break; - case OpCode_FontMatrix: - env.clear_args (); - break; - default: - dict_opset_t::process_op (op, env); - break; - } - } -}; - -template -struct dict_interpreter_t : interpreter_t -{ - bool interpret (PARAM& param) - { - param.init (); - while (SUPER::env.str_ref.avail ()) - { - OPSET::process_op (SUPER::env.fetch_op (), SUPER::env, param); - if (unlikely (SUPER::env.in_error ())) - return false; - } - - return true; - } - - private: - typedef interpreter_t SUPER; -}; - -} /* namespace CFF */ - -#endif /* HB_CFF_INTERP_DICT_COMMON_HH */ diff --git a/harfbuzz/src/hb-cff1-interp-cs.hh b/harfbuzz/src/hb-cff1-interp-cs.hh deleted file mode 100644 index 1c8762c..0000000 --- a/harfbuzz/src/hb-cff1-interp-cs.hh +++ /dev/null @@ -1,161 +0,0 @@ -/* - * Copyright © 2018 Adobe Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Adobe Author(s): Michiharu Ariza - */ -#ifndef HB_CFF1_INTERP_CS_HH -#define HB_CFF1_INTERP_CS_HH - -#include "hb.hh" -#include "hb-cff-interp-cs-common.hh" - -namespace CFF { - -using namespace OT; - -typedef biased_subrs_t cff1_biased_subrs_t; - -struct cff1_cs_interp_env_t : cs_interp_env_t -{ - template - void init (const byte_str_t &str, ACC &acc, unsigned int fd) - { - SUPER::init (str, acc.globalSubrs, acc.privateDicts[fd].localSubrs); - processed_width = false; - has_width = false; - arg_start = 0; - in_seac = false; - } - - void fini () { SUPER::fini (); } - - void set_width (bool has_width_) - { - if (likely (!processed_width && (SUPER::argStack.get_count () > 0))) - { - if (has_width_) - { - width = SUPER::argStack[0]; - has_width = true; - arg_start = 1; - } - } - processed_width = true; - } - - void clear_args () - { - arg_start = 0; - SUPER::clear_args (); - } - - void set_in_seac (bool _in_seac) { in_seac = _in_seac; } - - bool processed_width; - bool has_width; - unsigned int arg_start; - number_t width; - bool in_seac; - - private: - typedef cs_interp_env_t SUPER; -}; - -template > -struct cff1_cs_opset_t : cs_opset_t -{ - /* PostScript-originated legacy opcodes (OpCode_add etc) are unsupported */ - /* Type 1-originated deprecated opcodes, seac behavior of endchar and dotsection are supported */ - - static void process_op (op_code_t op, cff1_cs_interp_env_t &env, PARAM& param) - { - switch (op) { - case OpCode_dotsection: - SUPER::flush_args_and_op (op, env, param); - break; - - case OpCode_endchar: - OPSET::check_width (op, env, param); - if (env.argStack.get_count () >= 4) - { - OPSET::process_seac (env, param); - } - OPSET::flush_args_and_op (op, env, param); - env.set_endchar (true); - break; - - default: - SUPER::process_op (op, env, param); - } - } - - static void check_width (op_code_t op, cff1_cs_interp_env_t &env, PARAM& param) - { - if (!env.processed_width) - { - bool has_width = false; - switch (op) - { - case OpCode_endchar: - case OpCode_hstem: - case OpCode_hstemhm: - case OpCode_vstem: - case OpCode_vstemhm: - case OpCode_hintmask: - case OpCode_cntrmask: - has_width = ((env.argStack.get_count () & 1) != 0); - break; - case OpCode_hmoveto: - case OpCode_vmoveto: - has_width = (env.argStack.get_count () > 1); - break; - case OpCode_rmoveto: - has_width = (env.argStack.get_count () > 2); - break; - default: - return; - } - env.set_width (has_width); - } - } - - static void process_seac (cff1_cs_interp_env_t &env, PARAM& param) - { - } - - static void flush_args (cff1_cs_interp_env_t &env, PARAM& param) - { - SUPER::flush_args (env, param); - env.clear_args (); /* pop off width */ - } - - private: - typedef cs_opset_t SUPER; -}; - -template -struct cff1_cs_interpreter_t : cs_interpreter_t {}; - -} /* namespace CFF */ - -#endif /* HB_CFF1_INTERP_CS_HH */ diff --git a/harfbuzz/src/hb-cff2-interp-cs.hh b/harfbuzz/src/hb-cff2-interp-cs.hh deleted file mode 100644 index d961566..0000000 --- a/harfbuzz/src/hb-cff2-interp-cs.hh +++ /dev/null @@ -1,272 +0,0 @@ -/* - * Copyright © 2018 Adobe Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Adobe Author(s): Michiharu Ariza - */ -#ifndef HB_CFF2_INTERP_CS_HH -#define HB_CFF2_INTERP_CS_HH - -#include "hb.hh" -#include "hb-cff-interp-cs-common.hh" - -namespace CFF { - -using namespace OT; - -struct blend_arg_t : number_t -{ - void init () - { - number_t::init (); - deltas.init (); - } - - void fini () - { - number_t::fini (); - deltas.fini_deep (); - } - - void set_int (int v) { reset_blends (); number_t::set_int (v); } - void set_fixed (int32_t v) { reset_blends (); number_t::set_fixed (v); } - void set_real (double v) { reset_blends (); number_t::set_real (v); } - - void set_blends (unsigned int numValues_, unsigned int valueIndex_, - unsigned int numBlends, hb_array_t blends_) - { - numValues = numValues_; - valueIndex = valueIndex_; - deltas.resize (numBlends); - for (unsigned int i = 0; i < numBlends; i++) - deltas[i] = blends_[i]; - } - - bool blending () const { return deltas.length > 0; } - void reset_blends () - { - numValues = valueIndex = 0; - deltas.resize (0); - } - - unsigned int numValues; - unsigned int valueIndex; - hb_vector_t deltas; -}; - -typedef interp_env_t BlendInterpEnv; -typedef biased_subrs_t cff2_biased_subrs_t; - -struct cff2_cs_interp_env_t : cs_interp_env_t -{ - template - void init (const byte_str_t &str, ACC &acc, unsigned int fd, - const int *coords_=nullptr, unsigned int num_coords_=0) - { - SUPER::init (str, acc.globalSubrs, acc.privateDicts[fd].localSubrs); - - coords = coords_; - num_coords = num_coords_; - varStore = acc.varStore; - seen_blend = false; - seen_vsindex_ = false; - scalars.init (); - do_blend = num_coords && coords && varStore->size; - set_ivs (acc.privateDicts[fd].ivs); - } - - void fini () - { - scalars.fini (); - SUPER::fini (); - } - - op_code_t fetch_op () - { - if (this->str_ref.avail ()) - return SUPER::fetch_op (); - - /* make up return or endchar op */ - if (this->callStack.is_empty ()) - return OpCode_endchar; - else - return OpCode_return; - } - - const blend_arg_t& eval_arg (unsigned int i) - { - blend_arg_t &arg = argStack[i]; - blend_arg (arg); - return arg; - } - - const blend_arg_t& pop_arg () - { - blend_arg_t &arg = argStack.pop (); - blend_arg (arg); - return arg; - } - - void process_blend () - { - if (!seen_blend) - { - region_count = varStore->varStore.get_region_index_count (get_ivs ()); - if (do_blend) - { - if (unlikely (!scalars.resize (region_count))) - set_error (); - else - varStore->varStore.get_region_scalars (get_ivs (), coords, num_coords, - &scalars[0], region_count); - } - seen_blend = true; - } - } - - void process_vsindex () - { - unsigned int index = argStack.pop_uint (); - if (unlikely (seen_vsindex () || seen_blend)) - { - set_error (); - } - else - { - set_ivs (index); - } - seen_vsindex_ = true; - } - - unsigned int get_region_count () const { return region_count; } - void set_region_count (unsigned int region_count_) { region_count = region_count_; } - unsigned int get_ivs () const { return ivs; } - void set_ivs (unsigned int ivs_) { ivs = ivs_; } - bool seen_vsindex () const { return seen_vsindex_; } - - protected: - void blend_arg (blend_arg_t &arg) - { - if (do_blend && arg.blending ()) - { - if (likely (scalars.length == arg.deltas.length)) - { - double v = arg.to_real (); - for (unsigned int i = 0; i < scalars.length; i++) - { - v += (double)scalars[i] * arg.deltas[i].to_real (); - } - arg.set_real (v); - arg.deltas.resize (0); - } - } - } - - protected: - const int *coords; - unsigned int num_coords; - const CFF2VariationStore *varStore; - unsigned int region_count; - unsigned int ivs; - hb_vector_t scalars; - bool do_blend; - bool seen_vsindex_; - bool seen_blend; - - typedef cs_interp_env_t SUPER; -}; -template > -struct cff2_cs_opset_t : cs_opset_t -{ - static void process_op (op_code_t op, cff2_cs_interp_env_t &env, PARAM& param) - { - switch (op) { - case OpCode_callsubr: - case OpCode_callgsubr: - /* a subroutine number shoudln't be a blended value */ - if (unlikely (env.argStack.peek ().blending ())) - { - env.set_error (); - break; - } - SUPER::process_op (op, env, param); - break; - - case OpCode_blendcs: - OPSET::process_blend (env, param); - break; - - case OpCode_vsindexcs: - if (unlikely (env.argStack.peek ().blending ())) - { - env.set_error (); - break; - } - OPSET::process_vsindex (env, param); - break; - - default: - SUPER::process_op (op, env, param); - } - } - - static void process_blend (cff2_cs_interp_env_t &env, PARAM& param) - { - unsigned int n, k; - - env.process_blend (); - k = env.get_region_count (); - n = env.argStack.pop_uint (); - /* copy the blend values into blend array of the default values */ - unsigned int start = env.argStack.get_count () - ((k+1) * n); - /* let an obvious error case fail, but note CFF2 spec doesn't forbid n==0 */ - if (unlikely (start > env.argStack.get_count ())) - { - env.set_error (); - return; - } - for (unsigned int i = 0; i < n; i++) - { - const hb_array_t blends = env.argStack.get_subarray (start + n + (i * k)); - env.argStack[start + i].set_blends (n, i, k, blends); - } - - /* pop off blend values leaving default values now adorned with blend values */ - env.argStack.pop (k * n); - } - - static void process_vsindex (cff2_cs_interp_env_t &env, PARAM& param) - { - env.process_vsindex (); - env.clear_args (); - } - - private: - typedef cs_opset_t SUPER; -}; - -template -struct cff2_cs_interpreter_t : cs_interpreter_t {}; - -} /* namespace CFF */ - -#endif /* HB_CFF2_INTERP_CS_HH */ diff --git a/harfbuzz/src/hb-common.cc b/harfbuzz/src/hb-common.cc deleted file mode 100644 index 26c8ad0..0000000 --- a/harfbuzz/src/hb-common.cc +++ /dev/null @@ -1,1147 +0,0 @@ -/* - * Copyright © 2009,2010 Red Hat, Inc. - * Copyright © 2011,2012 Google, Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Red Hat Author(s): Behdad Esfahbod - * Google Author(s): Behdad Esfahbod - */ - -#include "hb.hh" -#include "hb-machinery.hh" - -#include - -#ifdef HB_NO_SETLOCALE -#define setlocale(Category, Locale) "C" -#endif - -/** - * SECTION:hb-common - * @title: hb-common - * @short_description: Common data types - * @include: hb.h - * - * Common data types used across HarfBuzz are defined here. - **/ - - -/* hb_options_t */ - -hb_atomic_int_t _hb_options; - -void -_hb_options_init () -{ - hb_options_union_t u; - u.i = 0; - u.opts.initialized = true; - - const char *c = getenv ("HB_OPTIONS"); - if (c) - { - while (*c) - { - const char *p = strchr (c, ':'); - if (!p) - p = c + strlen (c); - -#define OPTION(name, symbol) \ - if (0 == strncmp (c, name, p - c) && strlen (name) == static_cast(p - c)) do { u.opts.symbol = true; } while (0) - - OPTION ("uniscribe-bug-compatible", uniscribe_bug_compatible); - -#undef OPTION - - c = *p ? p + 1 : p; - } - - } - - /* This is idempotent and threadsafe. */ - _hb_options.set_relaxed (u.i); -} - - -/* hb_tag_t */ - -/** - * hb_tag_from_string: - * @str: (array length=len) (element-type uint8_t): String to convert - * @len: Length of @str, or -1 if it is %NULL-terminated - * - * Converts a string into an #hb_tag_t. Valid tags - * are four characters. Shorter input strings will be - * padded with spaces. Longer input strings will be - * truncated. - * - * Return value: The #hb_tag_t corresponding to @str - * - * Since: 0.9.2 - **/ -hb_tag_t -hb_tag_from_string (const char *str, int len) -{ - char tag[4]; - unsigned int i; - - if (!str || !len || !*str) - return HB_TAG_NONE; - - if (len < 0 || len > 4) - len = 4; - for (i = 0; i < (unsigned) len && str[i]; i++) - tag[i] = str[i]; - for (; i < 4; i++) - tag[i] = ' '; - - return HB_TAG (tag[0], tag[1], tag[2], tag[3]); -} - -/** - * hb_tag_to_string: - * @tag: #hb_tag_t to convert - * @buf: (out caller-allocates) (array fixed-size=4) (element-type uint8_t): Converted string - * - * Converts an #hb_tag_t to a string and returns it in @buf. - * Strings will be four characters long. - * - * Since: 0.9.5 - **/ -void -hb_tag_to_string (hb_tag_t tag, char *buf) -{ - buf[0] = (char) (uint8_t) (tag >> 24); - buf[1] = (char) (uint8_t) (tag >> 16); - buf[2] = (char) (uint8_t) (tag >> 8); - buf[3] = (char) (uint8_t) (tag >> 0); -} - - -/* hb_direction_t */ - -const char direction_strings[][4] = { - "ltr", - "rtl", - "ttb", - "btt" -}; - -/** - * hb_direction_from_string: - * @str: (array length=len) (element-type uint8_t): String to convert - * @len: Length of @str, or -1 if it is %NULL-terminated - * - * Converts a string to an #hb_direction_t. - * - * Matching is loose and applies only to the first letter. For - * examples, "LTR" and "left-to-right" will both return #HB_DIRECTION_LTR. - * - * Unmatched strings will return #HB_DIRECTION_INVALID. - * - * Return value: The #hb_direction_t matching @str - * - * Since: 0.9.2 - **/ -hb_direction_t -hb_direction_from_string (const char *str, int len) -{ - if (unlikely (!str || !len || !*str)) - return HB_DIRECTION_INVALID; - - /* Lets match loosely: just match the first letter, such that - * all of "ltr", "left-to-right", etc work! - */ - char c = TOLOWER (str[0]); - for (unsigned int i = 0; i < ARRAY_LENGTH (direction_strings); i++) - if (c == direction_strings[i][0]) - return (hb_direction_t) (HB_DIRECTION_LTR + i); - - return HB_DIRECTION_INVALID; -} - -/** - * hb_direction_to_string: - * @direction: The #hb_direction_t to convert - * - * Converts an #hb_direction_t to a string. - * - * Return value: (transfer none): The string corresponding to @direction - * - * Since: 0.9.2 - **/ -const char * -hb_direction_to_string (hb_direction_t direction) -{ - if (likely ((unsigned int) (direction - HB_DIRECTION_LTR) - < ARRAY_LENGTH (direction_strings))) - return direction_strings[direction - HB_DIRECTION_LTR]; - - return "invalid"; -} - - -/* hb_language_t */ - -struct hb_language_impl_t { - const char s[1]; -}; - -static const char canon_map[256] = { - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '-', 0, 0, - '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 0, 0, 0, 0, 0, 0, - 0, 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', - 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', 0, 0, 0, 0, '-', - 0, 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', - 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', 0, 0, 0, 0, 0 -}; - -static bool -lang_equal (hb_language_t v1, - const void *v2) -{ - const unsigned char *p1 = (const unsigned char *) v1; - const unsigned char *p2 = (const unsigned char *) v2; - - while (*p1 && *p1 == canon_map[*p2]) { - p1++; - p2++; - } - - return *p1 == canon_map[*p2]; -} - -#if 0 -static unsigned int -lang_hash (const void *key) -{ - const unsigned char *p = key; - unsigned int h = 0; - while (canon_map[*p]) - { - h = (h << 5) - h + canon_map[*p]; - p++; - } - - return h; -} -#endif - - -struct hb_language_item_t { - - struct hb_language_item_t *next; - hb_language_t lang; - - bool operator == (const char *s) const - { return lang_equal (lang, s); } - - hb_language_item_t & operator = (const char *s) - { - /* We can't call strdup(), because we allow custom allocators. */ - size_t len = strlen(s) + 1; - lang = (hb_language_t) hb_malloc(len); - if (likely (lang)) - { - memcpy((unsigned char *) lang, s, len); - for (unsigned char *p = (unsigned char *) lang; *p; p++) - *p = canon_map[*p]; - } - - return *this; - } - - void fini () { hb_free ((void *) lang); } -}; - - -/* Thread-safe lockfree language list */ - -static hb_atomic_ptr_t langs; - -static inline void -free_langs () -{ -retry: - hb_language_item_t *first_lang = langs; - if (unlikely (!langs.cmpexch (first_lang, nullptr))) - goto retry; - - while (first_lang) { - hb_language_item_t *next = first_lang->next; - first_lang->fini (); - hb_free (first_lang); - first_lang = next; - } -} - -static hb_language_item_t * -lang_find_or_insert (const char *key) -{ -retry: - hb_language_item_t *first_lang = langs; - - for (hb_language_item_t *lang = first_lang; lang; lang = lang->next) - if (*lang == key) - return lang; - - /* Not found; allocate one. */ - hb_language_item_t *lang = (hb_language_item_t *) hb_calloc (1, sizeof (hb_language_item_t)); - if (unlikely (!lang)) - return nullptr; - lang->next = first_lang; - *lang = key; - if (unlikely (!lang->lang)) - { - hb_free (lang); - return nullptr; - } - - if (unlikely (!langs.cmpexch (first_lang, lang))) - { - lang->fini (); - hb_free (lang); - goto retry; - } - - if (!first_lang) - hb_atexit (free_langs); /* First person registers atexit() callback. */ - - return lang; -} - - -/** - * hb_language_from_string: - * @str: (array length=len) (element-type uint8_t): a string representing - * a BCP 47 language tag - * @len: length of the @str, or -1 if it is %NULL-terminated. - * - * Converts @str representing a BCP 47 language tag to the corresponding - * #hb_language_t. - * - * Return value: (transfer none): - * The #hb_language_t corresponding to the BCP 47 language tag. - * - * Since: 0.9.2 - **/ -hb_language_t -hb_language_from_string (const char *str, int len) -{ - if (!str || !len || !*str) - return HB_LANGUAGE_INVALID; - - hb_language_item_t *item = nullptr; - if (len >= 0) - { - /* NUL-terminate it. */ - char strbuf[64]; - len = hb_min (len, (int) sizeof (strbuf) - 1); - memcpy (strbuf, str, len); - strbuf[len] = '\0'; - item = lang_find_or_insert (strbuf); - } - else - item = lang_find_or_insert (str); - - return likely (item) ? item->lang : HB_LANGUAGE_INVALID; -} - -/** - * hb_language_to_string: - * @language: The #hb_language_t to convert - * - * Converts an #hb_language_t to a string. - * - * Return value: (transfer none): - * A %NULL-terminated string representing the @language. Must not be freed by - * the caller. - * - * Since: 0.9.2 - **/ -const char * -hb_language_to_string (hb_language_t language) -{ - if (unlikely (!language)) return nullptr; - - return language->s; -} - -/** - * hb_language_get_default: - * - * Fetch the default language from current locale. - * - * Note that the first time this function is called, it calls - * "setlocale (LC_CTYPE, nullptr)" to fetch current locale. The underlying - * setlocale function is, in many implementations, NOT threadsafe. To avoid - * problems, call this function once before multiple threads can call it. - * This function is only used from hb_buffer_guess_segment_properties() by - * HarfBuzz itself. - * - * Return value: (transfer none): The default language of the locale as - * an #hb_language_t - * - * Since: 0.9.2 - **/ -hb_language_t -hb_language_get_default () -{ - static hb_atomic_ptr_t default_language; - - hb_language_t language = default_language; - if (unlikely (language == HB_LANGUAGE_INVALID)) - { - language = hb_language_from_string (setlocale (LC_CTYPE, nullptr), -1); - (void) default_language.cmpexch (HB_LANGUAGE_INVALID, language); - } - - return language; -} - - -/* hb_script_t */ - -/** - * hb_script_from_iso15924_tag: - * @tag: an #hb_tag_t representing an ISO 15924 tag. - * - * Converts an ISO 15924 script tag to a corresponding #hb_script_t. - * - * Return value: - * An #hb_script_t corresponding to the ISO 15924 tag. - * - * Since: 0.9.2 - **/ -hb_script_t -hb_script_from_iso15924_tag (hb_tag_t tag) -{ - if (unlikely (tag == HB_TAG_NONE)) - return HB_SCRIPT_INVALID; - - /* Be lenient, adjust case (one capital letter followed by three small letters) */ - tag = (tag & 0xDFDFDFDFu) | 0x00202020u; - - switch (tag) { - - /* These graduated from the 'Q' private-area codes, but - * the old code is still aliased by Unicode, and the Qaai - * one in use by ICU. */ - case HB_TAG('Q','a','a','i'): return HB_SCRIPT_INHERITED; - case HB_TAG('Q','a','a','c'): return HB_SCRIPT_COPTIC; - - /* Script variants from https://unicode.org/iso15924/ */ - case HB_TAG('A','r','a','n'): return HB_SCRIPT_ARABIC; - case HB_TAG('C','y','r','s'): return HB_SCRIPT_CYRILLIC; - case HB_TAG('G','e','o','k'): return HB_SCRIPT_GEORGIAN; - case HB_TAG('H','a','n','s'): return HB_SCRIPT_HAN; - case HB_TAG('H','a','n','t'): return HB_SCRIPT_HAN; - case HB_TAG('J','a','m','o'): return HB_SCRIPT_HANGUL; - case HB_TAG('L','a','t','f'): return HB_SCRIPT_LATIN; - case HB_TAG('L','a','t','g'): return HB_SCRIPT_LATIN; - case HB_TAG('S','y','r','e'): return HB_SCRIPT_SYRIAC; - case HB_TAG('S','y','r','j'): return HB_SCRIPT_SYRIAC; - case HB_TAG('S','y','r','n'): return HB_SCRIPT_SYRIAC; - } - - /* If it looks right, just use the tag as a script */ - if (((uint32_t) tag & 0xE0E0E0E0u) == 0x40606060u) - return (hb_script_t) tag; - - /* Otherwise, return unknown */ - return HB_SCRIPT_UNKNOWN; -} - -/** - * hb_script_from_string: - * @str: (array length=len) (element-type uint8_t): a string representing an - * ISO 15924 tag. - * @len: length of the @str, or -1 if it is %NULL-terminated. - * - * Converts a string @str representing an ISO 15924 script tag to a - * corresponding #hb_script_t. Shorthand for hb_tag_from_string() then - * hb_script_from_iso15924_tag(). - * - * Return value: - * An #hb_script_t corresponding to the ISO 15924 tag. - * - * Since: 0.9.2 - **/ -hb_script_t -hb_script_from_string (const char *str, int len) -{ - return hb_script_from_iso15924_tag (hb_tag_from_string (str, len)); -} - -/** - * hb_script_to_iso15924_tag: - * @script: an #hb_script_t to convert. - * - * Converts an #hb_script_t to a corresponding ISO 15924 script tag. - * - * Return value: - * An #hb_tag_t representing an ISO 15924 script tag. - * - * Since: 0.9.2 - **/ -hb_tag_t -hb_script_to_iso15924_tag (hb_script_t script) -{ - return (hb_tag_t) script; -} - -/** - * hb_script_get_horizontal_direction: - * @script: The #hb_script_t to query - * - * Fetches the #hb_direction_t of a script when it is - * set horizontally. All right-to-left scripts will return - * #HB_DIRECTION_RTL. All left-to-right scripts will return - * #HB_DIRECTION_LTR. Scripts that can be written either - * horizontally or vertically will return #HB_DIRECTION_INVALID. - * Unknown scripts will return #HB_DIRECTION_LTR. - * - * Return value: The horizontal #hb_direction_t of @script - * - * Since: 0.9.2 - **/ -hb_direction_t -hb_script_get_horizontal_direction (hb_script_t script) -{ - /* https://docs.google.com/spreadsheets/d/1Y90M0Ie3MUJ6UVCRDOypOtijlMDLNNyyLk36T6iMu0o */ - switch ((hb_tag_t) script) - { - /* Unicode-1.1 additions */ - case HB_SCRIPT_ARABIC: - case HB_SCRIPT_HEBREW: - - /* Unicode-3.0 additions */ - case HB_SCRIPT_SYRIAC: - case HB_SCRIPT_THAANA: - - /* Unicode-4.0 additions */ - case HB_SCRIPT_CYPRIOT: - - /* Unicode-4.1 additions */ - case HB_SCRIPT_KHAROSHTHI: - - /* Unicode-5.0 additions */ - case HB_SCRIPT_PHOENICIAN: - case HB_SCRIPT_NKO: - - /* Unicode-5.1 additions */ - case HB_SCRIPT_LYDIAN: - - /* Unicode-5.2 additions */ - case HB_SCRIPT_AVESTAN: - case HB_SCRIPT_IMPERIAL_ARAMAIC: - case HB_SCRIPT_INSCRIPTIONAL_PAHLAVI: - case HB_SCRIPT_INSCRIPTIONAL_PARTHIAN: - case HB_SCRIPT_OLD_SOUTH_ARABIAN: - case HB_SCRIPT_OLD_TURKIC: - case HB_SCRIPT_SAMARITAN: - - /* Unicode-6.0 additions */ - case HB_SCRIPT_MANDAIC: - - /* Unicode-6.1 additions */ - case HB_SCRIPT_MEROITIC_CURSIVE: - case HB_SCRIPT_MEROITIC_HIEROGLYPHS: - - /* Unicode-7.0 additions */ - case HB_SCRIPT_MANICHAEAN: - case HB_SCRIPT_MENDE_KIKAKUI: - case HB_SCRIPT_NABATAEAN: - case HB_SCRIPT_OLD_NORTH_ARABIAN: - case HB_SCRIPT_PALMYRENE: - case HB_SCRIPT_PSALTER_PAHLAVI: - - /* Unicode-8.0 additions */ - case HB_SCRIPT_HATRAN: - - /* Unicode-9.0 additions */ - case HB_SCRIPT_ADLAM: - - /* Unicode-11.0 additions */ - case HB_SCRIPT_HANIFI_ROHINGYA: - case HB_SCRIPT_OLD_SOGDIAN: - case HB_SCRIPT_SOGDIAN: - - /* Unicode-12.0 additions */ - case HB_SCRIPT_ELYMAIC: - - /* Unicode-13.0 additions */ - case HB_SCRIPT_CHORASMIAN: - case HB_SCRIPT_YEZIDI: - - /* Unicode-14.0 additions */ - case HB_SCRIPT_OLD_UYGHUR: - - return HB_DIRECTION_RTL; - - - /* https://github.com/harfbuzz/harfbuzz/issues/1000 */ - case HB_SCRIPT_OLD_HUNGARIAN: - case HB_SCRIPT_OLD_ITALIC: - case HB_SCRIPT_RUNIC: - - return HB_DIRECTION_INVALID; - } - - return HB_DIRECTION_LTR; -} - - -/* hb_version */ - - -/** - * SECTION:hb-version - * @title: hb-version - * @short_description: Information about the version of HarfBuzz in use - * @include: hb.h - * - * These functions and macros allow accessing version of the HarfBuzz - * library used at compile- as well as run-time, and to direct code - * conditionally based on those versions, again, at compile- or run-time. - **/ - - -/** - * hb_version: - * @major: (out): Library major version component - * @minor: (out): Library minor version component - * @micro: (out): Library micro version component - * - * Returns library version as three integer components. - * - * Since: 0.9.2 - **/ -void -hb_version (unsigned int *major, - unsigned int *minor, - unsigned int *micro) -{ - *major = HB_VERSION_MAJOR; - *minor = HB_VERSION_MINOR; - *micro = HB_VERSION_MICRO; -} - -/** - * hb_version_string: - * - * Returns library version as a string with three components. - * - * Return value: Library version string - * - * Since: 0.9.2 - **/ -const char * -hb_version_string () -{ - return HB_VERSION_STRING; -} - -/** - * hb_version_atleast: - * @major: Library major version component - * @minor: Library minor version component - * @micro: Library micro version component - * - * Tests the library version against a minimum value, - * as three integer components. - * - * Return value: %true if the library is equal to or greater than - * the test value, %false otherwise - * - * Since: 0.9.30 - **/ -hb_bool_t -hb_version_atleast (unsigned int major, - unsigned int minor, - unsigned int micro) -{ - return HB_VERSION_ATLEAST (major, minor, micro); -} - - - -/* hb_feature_t and hb_variation_t */ - -static bool -parse_space (const char **pp, const char *end) -{ - while (*pp < end && ISSPACE (**pp)) - (*pp)++; - return true; -} - -static bool -parse_char (const char **pp, const char *end, char c) -{ - parse_space (pp, end); - - if (*pp == end || **pp != c) - return false; - - (*pp)++; - return true; -} - -static bool -parse_uint (const char **pp, const char *end, unsigned int *pv) -{ - /* Intentionally use hb_parse_int inside instead of hb_parse_uint, - * such that -1 turns into "big number"... */ - int v; - if (unlikely (!hb_parse_int (pp, end, &v))) return false; - - *pv = v; - return true; -} - -static bool -parse_uint32 (const char **pp, const char *end, uint32_t *pv) -{ - /* Intentionally use hb_parse_int inside instead of hb_parse_uint, - * such that -1 turns into "big number"... */ - int v; - if (unlikely (!hb_parse_int (pp, end, &v))) return false; - - *pv = v; - return true; -} - -static bool -parse_bool (const char **pp, const char *end, uint32_t *pv) -{ - parse_space (pp, end); - - const char *p = *pp; - while (*pp < end && ISALPHA(**pp)) - (*pp)++; - - /* CSS allows on/off as aliases 1/0. */ - if (*pp - p == 2 - && TOLOWER (p[0]) == 'o' - && TOLOWER (p[1]) == 'n') - *pv = 1; - else if (*pp - p == 3 - && TOLOWER (p[0]) == 'o' - && TOLOWER (p[1]) == 'f' - && TOLOWER (p[2]) == 'f') - *pv = 0; - else - return false; - - return true; -} - -/* hb_feature_t */ - -static bool -parse_feature_value_prefix (const char **pp, const char *end, hb_feature_t *feature) -{ - if (parse_char (pp, end, '-')) - feature->value = 0; - else { - parse_char (pp, end, '+'); - feature->value = 1; - } - - return true; -} - -static bool -parse_tag (const char **pp, const char *end, hb_tag_t *tag) -{ - parse_space (pp, end); - - char quote = 0; - - if (*pp < end && (**pp == '\'' || **pp == '"')) - { - quote = **pp; - (*pp)++; - } - - const char *p = *pp; - while (*pp < end && (ISALNUM(**pp) || **pp == '_')) - (*pp)++; - - if (p == *pp || *pp - p > 4) - return false; - - *tag = hb_tag_from_string (p, *pp - p); - - if (quote) - { - /* CSS expects exactly four bytes. And we only allow quotations for - * CSS compatibility. So, enforce the length. */ - if (*pp - p != 4) - return false; - if (*pp == end || **pp != quote) - return false; - (*pp)++; - } - - return true; -} - -static bool -parse_feature_indices (const char **pp, const char *end, hb_feature_t *feature) -{ - parse_space (pp, end); - - bool has_start; - - feature->start = HB_FEATURE_GLOBAL_START; - feature->end = HB_FEATURE_GLOBAL_END; - - if (!parse_char (pp, end, '[')) - return true; - - has_start = parse_uint (pp, end, &feature->start); - - if (parse_char (pp, end, ':') || parse_char (pp, end, ';')) { - parse_uint (pp, end, &feature->end); - } else { - if (has_start) - feature->end = feature->start + 1; - } - - return parse_char (pp, end, ']'); -} - -static bool -parse_feature_value_postfix (const char **pp, const char *end, hb_feature_t *feature) -{ - bool had_equal = parse_char (pp, end, '='); - bool had_value = parse_uint32 (pp, end, &feature->value) || - parse_bool (pp, end, &feature->value); - /* CSS doesn't use equal-sign between tag and value. - * If there was an equal-sign, then there *must* be a value. - * A value without an equal-sign is ok, but not required. */ - return !had_equal || had_value; -} - -static bool -parse_one_feature (const char **pp, const char *end, hb_feature_t *feature) -{ - return parse_feature_value_prefix (pp, end, feature) && - parse_tag (pp, end, &feature->tag) && - parse_feature_indices (pp, end, feature) && - parse_feature_value_postfix (pp, end, feature) && - parse_space (pp, end) && - *pp == end; -} - -/** - * hb_feature_from_string: - * @str: (array length=len) (element-type uint8_t): a string to parse - * @len: length of @str, or -1 if string is %NULL terminated - * @feature: (out): the #hb_feature_t to initialize with the parsed values - * - * Parses a string into a #hb_feature_t. - * - * The format for specifying feature strings follows. All valid CSS - * font-feature-settings values other than 'normal' and the global values are - * also accepted, though not documented below. CSS string escapes are not - * supported. - * - * The range indices refer to the positions between Unicode characters. The - * position before the first character is always 0. - * - * The format is Python-esque. Here is how it all works: - * - * - * - * - * Syntax Value Start End - * - * - * Setting value: - * kern 1 0 Turn feature on - * +kern 1 0 Turn feature on - * -kern 0 0 Turn feature off - * kern=0 0 0 Turn feature off - * kern=1 1 0 Turn feature on - * aalt=2 2 0 Choose 2nd alternate - * Setting index: - * kern[] 1 0 Turn feature on - * kern[:] 1 0 Turn feature on - * kern[5:] 1 5 Turn feature on, partial - * kern[:5] 1 0 5 Turn feature on, partial - * kern[3:5] 1 3 5 Turn feature on, range - * kern[3] 1 3 3+1 Turn feature on, single char - * Mixing it all: - * aalt[3:5]=2 2 3 5 Turn 2nd alternate on for range - * - * - * - * - * Return value: - * %true if @str is successfully parsed, %false otherwise - * - * Since: 0.9.5 - **/ -hb_bool_t -hb_feature_from_string (const char *str, int len, - hb_feature_t *feature) -{ - hb_feature_t feat; - - if (len < 0) - len = strlen (str); - - if (likely (parse_one_feature (&str, str + len, &feat))) - { - if (feature) - *feature = feat; - return true; - } - - if (feature) - memset (feature, 0, sizeof (*feature)); - return false; -} - -/** - * hb_feature_to_string: - * @feature: an #hb_feature_t to convert - * @buf: (array length=size) (out): output string - * @size: the allocated size of @buf - * - * Converts a #hb_feature_t into a %NULL-terminated string in the format - * understood by hb_feature_from_string(). The client in responsible for - * allocating big enough size for @buf, 128 bytes is more than enough. - * - * Since: 0.9.5 - **/ -void -hb_feature_to_string (hb_feature_t *feature, - char *buf, unsigned int size) -{ - if (unlikely (!size)) return; - - char s[128]; - unsigned int len = 0; - if (feature->value == 0) - s[len++] = '-'; - hb_tag_to_string (feature->tag, s + len); - len += 4; - while (len && s[len - 1] == ' ') - len--; - if (feature->start != HB_FEATURE_GLOBAL_START || feature->end != HB_FEATURE_GLOBAL_END) - { - s[len++] = '['; - if (feature->start) - len += hb_max (0, snprintf (s + len, ARRAY_LENGTH (s) - len, "%u", feature->start)); - if (feature->end != feature->start + 1) { - s[len++] = ':'; - if (feature->end != HB_FEATURE_GLOBAL_END) - len += hb_max (0, snprintf (s + len, ARRAY_LENGTH (s) - len, "%u", feature->end)); - } - s[len++] = ']'; - } - if (feature->value > 1) - { - s[len++] = '='; - len += hb_max (0, snprintf (s + len, ARRAY_LENGTH (s) - len, "%u", feature->value)); - } - assert (len < ARRAY_LENGTH (s)); - len = hb_min (len, size - 1); - memcpy (buf, s, len); - buf[len] = '\0'; -} - -/* hb_variation_t */ - -static bool -parse_variation_value (const char **pp, const char *end, hb_variation_t *variation) -{ - parse_char (pp, end, '='); /* Optional. */ - double v; - if (unlikely (!hb_parse_double (pp, end, &v))) return false; - - variation->value = v; - return true; -} - -static bool -parse_one_variation (const char **pp, const char *end, hb_variation_t *variation) -{ - return parse_tag (pp, end, &variation->tag) && - parse_variation_value (pp, end, variation) && - parse_space (pp, end) && - *pp == end; -} - -/** - * hb_variation_from_string: - * @str: (array length=len) (element-type uint8_t): a string to parse - * @len: length of @str, or -1 if string is %NULL terminated - * @variation: (out): the #hb_variation_t to initialize with the parsed values - * - * Parses a string into a #hb_variation_t. - * - * The format for specifying variation settings follows. All valid CSS - * font-variation-settings values other than 'normal' and 'inherited' are also - * accepted, though, not documented below. - * - * The format is a tag, optionally followed by an equals sign, followed by a - * number. For example `wght=500`, or `slnt=-7.5`. - * - * Return value: - * %true if @str is successfully parsed, %false otherwise - * - * Since: 1.4.2 - */ -hb_bool_t -hb_variation_from_string (const char *str, int len, - hb_variation_t *variation) -{ - hb_variation_t var; - - if (len < 0) - len = strlen (str); - - if (likely (parse_one_variation (&str, str + len, &var))) - { - if (variation) - *variation = var; - return true; - } - - if (variation) - memset (variation, 0, sizeof (*variation)); - return false; -} - -/** - * hb_variation_to_string: - * @variation: an #hb_variation_t to convert - * @buf: (array length=size) (out): output string - * @size: the allocated size of @buf - * - * Converts an #hb_variation_t into a %NULL-terminated string in the format - * understood by hb_variation_from_string(). The client in responsible for - * allocating big enough size for @buf, 128 bytes is more than enough. - * - * Since: 1.4.2 - */ -void -hb_variation_to_string (hb_variation_t *variation, - char *buf, unsigned int size) -{ - if (unlikely (!size)) return; - - char s[128]; - unsigned int len = 0; - hb_tag_to_string (variation->tag, s + len); - len += 4; - while (len && s[len - 1] == ' ') - len--; - s[len++] = '='; - len += hb_max (0, snprintf (s + len, ARRAY_LENGTH (s) - len, "%g", (double) variation->value)); - - assert (len < ARRAY_LENGTH (s)); - len = hb_min (len, size - 1); - memcpy (buf, s, len); - buf[len] = '\0'; -} - -/** - * hb_color_get_alpha: - * @color: an #hb_color_t we are interested in its channels. - * - * Fetches the alpha channel of the given @color. - * - * Return value: Alpha channel value - * - * Since: 2.1.0 - */ -uint8_t -(hb_color_get_alpha) (hb_color_t color) -{ - return hb_color_get_alpha (color); -} - -/** - * hb_color_get_red: - * @color: an #hb_color_t we are interested in its channels. - * - * Fetches the red channel of the given @color. - * - * Return value: Red channel value - * - * Since: 2.1.0 - */ -uint8_t -(hb_color_get_red) (hb_color_t color) -{ - return hb_color_get_red (color); -} - -/** - * hb_color_get_green: - * @color: an #hb_color_t we are interested in its channels. - * - * Fetches the green channel of the given @color. - * - * Return value: Green channel value - * - * Since: 2.1.0 - */ -uint8_t -(hb_color_get_green) (hb_color_t color) -{ - return hb_color_get_green (color); -} - -/** - * hb_color_get_blue: - * @color: an #hb_color_t we are interested in its channels. - * - * Fetches the blue channel of the given @color. - * - * Return value: Blue channel value - * - * Since: 2.1.0 - */ -uint8_t -(hb_color_get_blue) (hb_color_t color) -{ - return hb_color_get_blue (color); -} - - -/* If there is no visibility control, then hb-static.cc will NOT - * define anything. Instead, we get it to define one set in here - * only, so only libharfbuzz.so defines them, not other libs. */ -#ifdef HB_NO_VISIBILITY -#undef HB_NO_VISIBILITY -#include "hb-static.cc" -#define HB_NO_VISIBILITY 1 -#endif diff --git a/harfbuzz/src/hb-common.h b/harfbuzz/src/hb-common.h deleted file mode 100644 index 0384117..0000000 --- a/harfbuzz/src/hb-common.h +++ /dev/null @@ -1,875 +0,0 @@ -/* - * Copyright © 2007,2008,2009 Red Hat, Inc. - * Copyright © 2011,2012 Google, Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Red Hat Author(s): Behdad Esfahbod - * Google Author(s): Behdad Esfahbod - */ - -#if !defined(HB_H_IN) && !defined(HB_NO_SINGLE_HEADER_ERROR) -#error "Include instead." -#endif - -#ifndef HB_COMMON_H -#define HB_COMMON_H - -#ifndef HB_EXTERN -#define HB_EXTERN extern -#endif - -#ifndef HB_BEGIN_DECLS -# ifdef __cplusplus -# define HB_BEGIN_DECLS extern "C" { -# define HB_END_DECLS } -# else /* !__cplusplus */ -# define HB_BEGIN_DECLS -# define HB_END_DECLS -# endif /* !__cplusplus */ -#endif - -#if defined (_SVR4) || defined (SVR4) || defined (__OpenBSD__) || \ - defined (_sgi) || defined (__sun) || defined (sun) || \ - defined (__digital__) || defined (__HP_cc) -# include -#elif defined (_AIX) -# include -#elif defined (_MSC_VER) && _MSC_VER < 1600 -/* VS 2010 (_MSC_VER 1600) has stdint.h */ -typedef __int8 int8_t; -typedef unsigned __int8 uint8_t; -typedef __int16 int16_t; -typedef unsigned __int16 uint16_t; -typedef __int32 int32_t; -typedef unsigned __int32 uint32_t; -typedef __int64 int64_t; -typedef unsigned __int64 uint64_t; -#elif defined (__KERNEL__) -# include -#else -# include -#endif - -#if defined(__GNUC__) && ((__GNUC__ > 3) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1)) -#define HB_DEPRECATED __attribute__((__deprecated__)) -#elif defined(_MSC_VER) && (_MSC_VER >= 1300) -#define HB_DEPRECATED __declspec(deprecated) -#else -#define HB_DEPRECATED -#endif - -#if defined(__GNUC__) && ((__GNUC__ > 4) || (__GNUC__ == 4 && __GNUC_MINOR__ >= 5)) -#define HB_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) -#elif defined(_MSC_FULL_VER) && (_MSC_FULL_VER > 140050320) -#define HB_DEPRECATED_FOR(f) __declspec(deprecated("is deprecated. Use '" #f "' instead")) -#else -#define HB_DEPRECATED_FOR(f) HB_DEPRECATED -#endif - - -HB_BEGIN_DECLS - -/** - * hb_bool_t: - * - * Data type for booleans. - * - **/ -typedef int hb_bool_t; - -/** - * hb_codepoint_t: - * - * Data type for holding Unicode codepoints. Also - * used to hold glyph IDs. - * - **/ -typedef uint32_t hb_codepoint_t; -/** - * hb_position_t: - * - * Data type for holding a single coordinate value. - * Contour points and other multi-dimensional data are - * stored as tuples of #hb_position_t's. - * - **/ -typedef int32_t hb_position_t; -/** - * hb_mask_t: - * - * Data type for bitmasks. - * - **/ -typedef uint32_t hb_mask_t; - -typedef union _hb_var_int_t { - uint32_t u32; - int32_t i32; - uint16_t u16[2]; - int16_t i16[2]; - uint8_t u8[4]; - int8_t i8[4]; -} hb_var_int_t; - - -/* hb_tag_t */ - -/** - * hb_tag_t: - * - * Data type for tag identifiers. Tags are four - * byte integers, each byte representing a character. - * - * Tags are used to identify tables, design-variation axes, - * scripts, languages, font features, and baselines with - * human-readable names. - * - **/ -typedef uint32_t hb_tag_t; - -/** - * HB_TAG: - * @c1: 1st character of the tag - * @c2: 2nd character of the tag - * @c3: 3rd character of the tag - * @c4: 4th character of the tag - * - * Constructs an #hb_tag_t from four character literals. - * - **/ -#define HB_TAG(c1,c2,c3,c4) ((hb_tag_t)((((uint32_t)(c1)&0xFF)<<24)|(((uint32_t)(c2)&0xFF)<<16)|(((uint32_t)(c3)&0xFF)<<8)|((uint32_t)(c4)&0xFF))) - -/** - * HB_UNTAG: - * @tag: an #hb_tag_t - * - * Extracts four character literals from an #hb_tag_t. - * - * Since: 0.6.0 - * - **/ -#define HB_UNTAG(tag) (uint8_t)(((tag)>>24)&0xFF), (uint8_t)(((tag)>>16)&0xFF), (uint8_t)(((tag)>>8)&0xFF), (uint8_t)((tag)&0xFF) - -/** - * HB_TAG_NONE: - * - * Unset #hb_tag_t. - */ -#define HB_TAG_NONE HB_TAG(0,0,0,0) -/** - * HB_TAG_MAX: - * - * Maximum possible unsigned #hb_tag_t. - * - * Since: 0.9.26 - */ -#define HB_TAG_MAX HB_TAG(0xff,0xff,0xff,0xff) -/** - * HB_TAG_MAX_SIGNED: - * - * Maximum possible signed #hb_tag_t. - * - * Since: 0.9.33 - */ -#define HB_TAG_MAX_SIGNED HB_TAG(0x7f,0xff,0xff,0xff) - -/* len=-1 means str is NUL-terminated. */ -HB_EXTERN hb_tag_t -hb_tag_from_string (const char *str, int len); - -/* buf should have 4 bytes. */ -HB_EXTERN void -hb_tag_to_string (hb_tag_t tag, char *buf); - - -/** - * hb_direction_t: - * @HB_DIRECTION_INVALID: Initial, unset direction. - * @HB_DIRECTION_LTR: Text is set horizontally from left to right. - * @HB_DIRECTION_RTL: Text is set horizontally from right to left. - * @HB_DIRECTION_TTB: Text is set vertically from top to bottom. - * @HB_DIRECTION_BTT: Text is set vertically from bottom to top. - * - * The direction of a text segment or buffer. - * - * A segment can also be tested for horizontal or vertical - * orientation (irrespective of specific direction) with - * HB_DIRECTION_IS_HORIZONTAL() or HB_DIRECTION_IS_VERTICAL(). - * - */ -typedef enum { - HB_DIRECTION_INVALID = 0, - HB_DIRECTION_LTR = 4, - HB_DIRECTION_RTL, - HB_DIRECTION_TTB, - HB_DIRECTION_BTT -} hb_direction_t; - -/* len=-1 means str is NUL-terminated */ -HB_EXTERN hb_direction_t -hb_direction_from_string (const char *str, int len); - -HB_EXTERN const char * -hb_direction_to_string (hb_direction_t direction); - -/** - * HB_DIRECTION_IS_VALID: - * @dir: #hb_direction_t to test - * - * Tests whether a text direction is valid. - * - **/ -#define HB_DIRECTION_IS_VALID(dir) ((((unsigned int) (dir)) & ~3U) == 4) -/* Direction must be valid for the following */ -/** - * HB_DIRECTION_IS_HORIZONTAL: - * @dir: #hb_direction_t to test - * - * Tests whether a text direction is horizontal. Requires - * that the direction be valid. - * - **/ -#define HB_DIRECTION_IS_HORIZONTAL(dir) ((((unsigned int) (dir)) & ~1U) == 4) -/** - * HB_DIRECTION_IS_VERTICAL: - * @dir: #hb_direction_t to test - * - * Tests whether a text direction is vertical. Requires - * that the direction be valid. - * - **/ -#define HB_DIRECTION_IS_VERTICAL(dir) ((((unsigned int) (dir)) & ~1U) == 6) -/** - * HB_DIRECTION_IS_FORWARD: - * @dir: #hb_direction_t to test - * - * Tests whether a text direction moves forward (from left to right, or from - * top to bottom). Requires that the direction be valid. - * - **/ -#define HB_DIRECTION_IS_FORWARD(dir) ((((unsigned int) (dir)) & ~2U) == 4) -/** - * HB_DIRECTION_IS_BACKWARD: - * @dir: #hb_direction_t to test - * - * Tests whether a text direction moves backward (from right to left, or from - * bottom to top). Requires that the direction be valid. - * - **/ -#define HB_DIRECTION_IS_BACKWARD(dir) ((((unsigned int) (dir)) & ~2U) == 5) -/** - * HB_DIRECTION_REVERSE: - * @dir: #hb_direction_t to reverse - * - * Reverses a text direction. Requires that the direction - * be valid. - * - **/ -#define HB_DIRECTION_REVERSE(dir) ((hb_direction_t) (((unsigned int) (dir)) ^ 1)) - - -/* hb_language_t */ - -/** - * hb_language_t: - * - * Data type for languages. Each #hb_language_t corresponds to a BCP 47 - * language tag. - * - */ -typedef const struct hb_language_impl_t *hb_language_t; - -HB_EXTERN hb_language_t -hb_language_from_string (const char *str, int len); - -HB_EXTERN const char * -hb_language_to_string (hb_language_t language); - -/** - * HB_LANGUAGE_INVALID: - * - * An unset #hb_language_t. - * - * Since: 0.6.0 - */ -#define HB_LANGUAGE_INVALID ((hb_language_t) 0) - -HB_EXTERN hb_language_t -hb_language_get_default (void); - - -/** - * hb_script_t: - * @HB_SCRIPT_COMMON: `Zyyy` - * @HB_SCRIPT_INHERITED: `Zinh` - * @HB_SCRIPT_UNKNOWN: `Zzzz` - * @HB_SCRIPT_ARABIC: `Arab` - * @HB_SCRIPT_ARMENIAN: `Armn` - * @HB_SCRIPT_BENGALI: `Beng` - * @HB_SCRIPT_CYRILLIC: `Cyrl` - * @HB_SCRIPT_DEVANAGARI: `Deva` - * @HB_SCRIPT_GEORGIAN: `Geor` - * @HB_SCRIPT_GREEK: `Grek` - * @HB_SCRIPT_GUJARATI: `Gujr` - * @HB_SCRIPT_GURMUKHI: `Guru` - * @HB_SCRIPT_HANGUL: `Hang` - * @HB_SCRIPT_HAN: `Hani` - * @HB_SCRIPT_HEBREW: `Hebr` - * @HB_SCRIPT_HIRAGANA: `Hira` - * @HB_SCRIPT_KANNADA: `Knda` - * @HB_SCRIPT_KATAKANA: `Kana` - * @HB_SCRIPT_LAO: `Laoo` - * @HB_SCRIPT_LATIN: `Latn` - * @HB_SCRIPT_MALAYALAM: `Mlym` - * @HB_SCRIPT_ORIYA: `Orya` - * @HB_SCRIPT_TAMIL: `Taml` - * @HB_SCRIPT_TELUGU: `Telu` - * @HB_SCRIPT_THAI: `Thai` - * @HB_SCRIPT_TIBETAN: `Tibt` - * @HB_SCRIPT_BOPOMOFO: `Bopo` - * @HB_SCRIPT_BRAILLE: `Brai` - * @HB_SCRIPT_CANADIAN_SYLLABICS: `Cans` - * @HB_SCRIPT_CHEROKEE: `Cher` - * @HB_SCRIPT_ETHIOPIC: `Ethi` - * @HB_SCRIPT_KHMER: `Khmr` - * @HB_SCRIPT_MONGOLIAN: `Mong` - * @HB_SCRIPT_MYANMAR: `Mymr` - * @HB_SCRIPT_OGHAM: `Ogam` - * @HB_SCRIPT_RUNIC: `Runr` - * @HB_SCRIPT_SINHALA: `Sinh` - * @HB_SCRIPT_SYRIAC: `Syrc` - * @HB_SCRIPT_THAANA: `Thaa` - * @HB_SCRIPT_YI: `Yiii` - * @HB_SCRIPT_DESERET: `Dsrt` - * @HB_SCRIPT_GOTHIC: `Goth` - * @HB_SCRIPT_OLD_ITALIC: `Ital` - * @HB_SCRIPT_BUHID: `Buhd` - * @HB_SCRIPT_HANUNOO: `Hano` - * @HB_SCRIPT_TAGALOG: `Tglg` - * @HB_SCRIPT_TAGBANWA: `Tagb` - * @HB_SCRIPT_CYPRIOT: `Cprt` - * @HB_SCRIPT_LIMBU: `Limb` - * @HB_SCRIPT_LINEAR_B: `Linb` - * @HB_SCRIPT_OSMANYA: `Osma` - * @HB_SCRIPT_SHAVIAN: `Shaw` - * @HB_SCRIPT_TAI_LE: `Tale` - * @HB_SCRIPT_UGARITIC: `Ugar` - * @HB_SCRIPT_BUGINESE: `Bugi` - * @HB_SCRIPT_COPTIC: `Copt` - * @HB_SCRIPT_GLAGOLITIC: `Glag` - * @HB_SCRIPT_KHAROSHTHI: `Khar` - * @HB_SCRIPT_NEW_TAI_LUE: `Talu` - * @HB_SCRIPT_OLD_PERSIAN: `Xpeo` - * @HB_SCRIPT_SYLOTI_NAGRI: `Sylo` - * @HB_SCRIPT_TIFINAGH: `Tfng` - * @HB_SCRIPT_BALINESE: `Bali` - * @HB_SCRIPT_CUNEIFORM: `Xsux` - * @HB_SCRIPT_NKO: `Nkoo` - * @HB_SCRIPT_PHAGS_PA: `Phag` - * @HB_SCRIPT_PHOENICIAN: `Phnx` - * @HB_SCRIPT_CARIAN: `Cari` - * @HB_SCRIPT_CHAM: `Cham` - * @HB_SCRIPT_KAYAH_LI: `Kali` - * @HB_SCRIPT_LEPCHA: `Lepc` - * @HB_SCRIPT_LYCIAN: `Lyci` - * @HB_SCRIPT_LYDIAN: `Lydi` - * @HB_SCRIPT_OL_CHIKI: `Olck` - * @HB_SCRIPT_REJANG: `Rjng` - * @HB_SCRIPT_SAURASHTRA: `Saur` - * @HB_SCRIPT_SUNDANESE: `Sund` - * @HB_SCRIPT_VAI: `Vaii` - * @HB_SCRIPT_AVESTAN: `Avst` - * @HB_SCRIPT_BAMUM: `Bamu` - * @HB_SCRIPT_EGYPTIAN_HIEROGLYPHS: `Egyp` - * @HB_SCRIPT_IMPERIAL_ARAMAIC: `Armi` - * @HB_SCRIPT_INSCRIPTIONAL_PAHLAVI: `Phli` - * @HB_SCRIPT_INSCRIPTIONAL_PARTHIAN: `Prti` - * @HB_SCRIPT_JAVANESE: `Java` - * @HB_SCRIPT_KAITHI: `Kthi` - * @HB_SCRIPT_LISU: `Lisu` - * @HB_SCRIPT_MEETEI_MAYEK: `Mtei` - * @HB_SCRIPT_OLD_SOUTH_ARABIAN: `Sarb` - * @HB_SCRIPT_OLD_TURKIC: `Orkh` - * @HB_SCRIPT_SAMARITAN: `Samr` - * @HB_SCRIPT_TAI_THAM: `Lana` - * @HB_SCRIPT_TAI_VIET: `Tavt` - * @HB_SCRIPT_BATAK: `Batk` - * @HB_SCRIPT_BRAHMI: `Brah` - * @HB_SCRIPT_MANDAIC: `Mand` - * @HB_SCRIPT_CHAKMA: `Cakm` - * @HB_SCRIPT_MEROITIC_CURSIVE: `Merc` - * @HB_SCRIPT_MEROITIC_HIEROGLYPHS: `Mero` - * @HB_SCRIPT_MIAO: `Plrd` - * @HB_SCRIPT_SHARADA: `Shrd` - * @HB_SCRIPT_SORA_SOMPENG: `Sora` - * @HB_SCRIPT_TAKRI: `Takr` - * @HB_SCRIPT_BASSA_VAH: `Bass`, Since: 0.9.30 - * @HB_SCRIPT_CAUCASIAN_ALBANIAN: `Aghb`, Since: 0.9.30 - * @HB_SCRIPT_DUPLOYAN: `Dupl`, Since: 0.9.30 - * @HB_SCRIPT_ELBASAN: `Elba`, Since: 0.9.30 - * @HB_SCRIPT_GRANTHA: `Gran`, Since: 0.9.30 - * @HB_SCRIPT_KHOJKI: `Khoj`, Since: 0.9.30 - * @HB_SCRIPT_KHUDAWADI: `Sind`, Since: 0.9.30 - * @HB_SCRIPT_LINEAR_A: `Lina`, Since: 0.9.30 - * @HB_SCRIPT_MAHAJANI: `Mahj`, Since: 0.9.30 - * @HB_SCRIPT_MANICHAEAN: `Mani`, Since: 0.9.30 - * @HB_SCRIPT_MENDE_KIKAKUI: `Mend`, Since: 0.9.30 - * @HB_SCRIPT_MODI: `Modi`, Since: 0.9.30 - * @HB_SCRIPT_MRO: `Mroo`, Since: 0.9.30 - * @HB_SCRIPT_NABATAEAN: `Nbat`, Since: 0.9.30 - * @HB_SCRIPT_OLD_NORTH_ARABIAN: `Narb`, Since: 0.9.30 - * @HB_SCRIPT_OLD_PERMIC: `Perm`, Since: 0.9.30 - * @HB_SCRIPT_PAHAWH_HMONG: `Hmng`, Since: 0.9.30 - * @HB_SCRIPT_PALMYRENE: `Palm`, Since: 0.9.30 - * @HB_SCRIPT_PAU_CIN_HAU: `Pauc`, Since: 0.9.30 - * @HB_SCRIPT_PSALTER_PAHLAVI: `Phlp`, Since: 0.9.30 - * @HB_SCRIPT_SIDDHAM: `Sidd`, Since: 0.9.30 - * @HB_SCRIPT_TIRHUTA: `Tirh`, Since: 0.9.30 - * @HB_SCRIPT_WARANG_CITI: `Wara`, Since: 0.9.30 - * @HB_SCRIPT_AHOM: `Ahom`, Since: 0.9.30 - * @HB_SCRIPT_ANATOLIAN_HIEROGLYPHS: `Hluw`, Since: 0.9.30 - * @HB_SCRIPT_HATRAN: `Hatr`, Since: 0.9.30 - * @HB_SCRIPT_MULTANI: `Mult`, Since: 0.9.30 - * @HB_SCRIPT_OLD_HUNGARIAN: `Hung`, Since: 0.9.30 - * @HB_SCRIPT_SIGNWRITING: `Sgnw`, Since: 0.9.30 - * @HB_SCRIPT_ADLAM: `Adlm`, Since: 1.3.0 - * @HB_SCRIPT_BHAIKSUKI: `Bhks`, Since: 1.3.0 - * @HB_SCRIPT_MARCHEN: `Marc`, Since: 1.3.0 - * @HB_SCRIPT_OSAGE: `Osge`, Since: 1.3.0 - * @HB_SCRIPT_TANGUT: `Tang`, Since: 1.3.0 - * @HB_SCRIPT_NEWA: `Newa`, Since: 1.3.0 - * @HB_SCRIPT_MASARAM_GONDI: `Gonm`, Since: 1.6.0 - * @HB_SCRIPT_NUSHU: `Nshu`, Since: 1.6.0 - * @HB_SCRIPT_SOYOMBO: `Soyo`, Since: 1.6.0 - * @HB_SCRIPT_ZANABAZAR_SQUARE: `Zanb`, Since: 1.6.0 - * @HB_SCRIPT_DOGRA: `Dogr`, Since: 1.8.0 - * @HB_SCRIPT_GUNJALA_GONDI: `Gong`, Since: 1.8.0 - * @HB_SCRIPT_HANIFI_ROHINGYA: `Rohg`, Since: 1.8.0 - * @HB_SCRIPT_MAKASAR: `Maka`, Since: 1.8.0 - * @HB_SCRIPT_MEDEFAIDRIN: `Medf`, Since: 1.8.0 - * @HB_SCRIPT_OLD_SOGDIAN: `Sogo`, Since: 1.8.0 - * @HB_SCRIPT_SOGDIAN: `Sogd`, Since: 1.8.0 - * @HB_SCRIPT_ELYMAIC: `Elym`, Since: 2.4.0 - * @HB_SCRIPT_NANDINAGARI: `Nand`, Since: 2.4.0 - * @HB_SCRIPT_NYIAKENG_PUACHUE_HMONG: `Hmnp`, Since: 2.4.0 - * @HB_SCRIPT_WANCHO: `Wcho`, Since: 2.4.0 - * @HB_SCRIPT_CHORASMIAN: `Chrs`, Since: 2.6.7 - * @HB_SCRIPT_DIVES_AKURU: `Diak`, Since: 2.6.7 - * @HB_SCRIPT_KHITAN_SMALL_SCRIPT: `Kits`, Since: 2.6.7 - * @HB_SCRIPT_YEZIDI: `Yezi`, Since: 2.6.7 - * @HB_SCRIPT_CYPRO_MINOAN: `Cpmn`, Since: 3.0.0 - * @HB_SCRIPT_OLD_UYGHUR: `Ougr`, Since: 3.0.0 - * @HB_SCRIPT_TANGSA: `Tnsa`, Since: 3.0.0 - * @HB_SCRIPT_TOTO: `Toto`, Since: 3.0.0 - * @HB_SCRIPT_VITHKUQI: `Vith`, Since: 3.0.0 - * @HB_SCRIPT_INVALID: No script set - * - * Data type for scripts. Each #hb_script_t's value is an #hb_tag_t corresponding - * to the four-letter values defined by [ISO 15924](https://unicode.org/iso15924/). - * - * See also the Script (sc) property of the Unicode Character Database. - * - **/ - -/* https://docs.google.com/spreadsheets/d/1Y90M0Ie3MUJ6UVCRDOypOtijlMDLNNyyLk36T6iMu0o */ -typedef enum -{ - HB_SCRIPT_COMMON = HB_TAG ('Z','y','y','y'), /*1.1*/ - HB_SCRIPT_INHERITED = HB_TAG ('Z','i','n','h'), /*1.1*/ - HB_SCRIPT_UNKNOWN = HB_TAG ('Z','z','z','z'), /*5.0*/ - - HB_SCRIPT_ARABIC = HB_TAG ('A','r','a','b'), /*1.1*/ - HB_SCRIPT_ARMENIAN = HB_TAG ('A','r','m','n'), /*1.1*/ - HB_SCRIPT_BENGALI = HB_TAG ('B','e','n','g'), /*1.1*/ - HB_SCRIPT_CYRILLIC = HB_TAG ('C','y','r','l'), /*1.1*/ - HB_SCRIPT_DEVANAGARI = HB_TAG ('D','e','v','a'), /*1.1*/ - HB_SCRIPT_GEORGIAN = HB_TAG ('G','e','o','r'), /*1.1*/ - HB_SCRIPT_GREEK = HB_TAG ('G','r','e','k'), /*1.1*/ - HB_SCRIPT_GUJARATI = HB_TAG ('G','u','j','r'), /*1.1*/ - HB_SCRIPT_GURMUKHI = HB_TAG ('G','u','r','u'), /*1.1*/ - HB_SCRIPT_HANGUL = HB_TAG ('H','a','n','g'), /*1.1*/ - HB_SCRIPT_HAN = HB_TAG ('H','a','n','i'), /*1.1*/ - HB_SCRIPT_HEBREW = HB_TAG ('H','e','b','r'), /*1.1*/ - HB_SCRIPT_HIRAGANA = HB_TAG ('H','i','r','a'), /*1.1*/ - HB_SCRIPT_KANNADA = HB_TAG ('K','n','d','a'), /*1.1*/ - HB_SCRIPT_KATAKANA = HB_TAG ('K','a','n','a'), /*1.1*/ - HB_SCRIPT_LAO = HB_TAG ('L','a','o','o'), /*1.1*/ - HB_SCRIPT_LATIN = HB_TAG ('L','a','t','n'), /*1.1*/ - HB_SCRIPT_MALAYALAM = HB_TAG ('M','l','y','m'), /*1.1*/ - HB_SCRIPT_ORIYA = HB_TAG ('O','r','y','a'), /*1.1*/ - HB_SCRIPT_TAMIL = HB_TAG ('T','a','m','l'), /*1.1*/ - HB_SCRIPT_TELUGU = HB_TAG ('T','e','l','u'), /*1.1*/ - HB_SCRIPT_THAI = HB_TAG ('T','h','a','i'), /*1.1*/ - - HB_SCRIPT_TIBETAN = HB_TAG ('T','i','b','t'), /*2.0*/ - - HB_SCRIPT_BOPOMOFO = HB_TAG ('B','o','p','o'), /*3.0*/ - HB_SCRIPT_BRAILLE = HB_TAG ('B','r','a','i'), /*3.0*/ - HB_SCRIPT_CANADIAN_SYLLABICS = HB_TAG ('C','a','n','s'), /*3.0*/ - HB_SCRIPT_CHEROKEE = HB_TAG ('C','h','e','r'), /*3.0*/ - HB_SCRIPT_ETHIOPIC = HB_TAG ('E','t','h','i'), /*3.0*/ - HB_SCRIPT_KHMER = HB_TAG ('K','h','m','r'), /*3.0*/ - HB_SCRIPT_MONGOLIAN = HB_TAG ('M','o','n','g'), /*3.0*/ - HB_SCRIPT_MYANMAR = HB_TAG ('M','y','m','r'), /*3.0*/ - HB_SCRIPT_OGHAM = HB_TAG ('O','g','a','m'), /*3.0*/ - HB_SCRIPT_RUNIC = HB_TAG ('R','u','n','r'), /*3.0*/ - HB_SCRIPT_SINHALA = HB_TAG ('S','i','n','h'), /*3.0*/ - HB_SCRIPT_SYRIAC = HB_TAG ('S','y','r','c'), /*3.0*/ - HB_SCRIPT_THAANA = HB_TAG ('T','h','a','a'), /*3.0*/ - HB_SCRIPT_YI = HB_TAG ('Y','i','i','i'), /*3.0*/ - - HB_SCRIPT_DESERET = HB_TAG ('D','s','r','t'), /*3.1*/ - HB_SCRIPT_GOTHIC = HB_TAG ('G','o','t','h'), /*3.1*/ - HB_SCRIPT_OLD_ITALIC = HB_TAG ('I','t','a','l'), /*3.1*/ - - HB_SCRIPT_BUHID = HB_TAG ('B','u','h','d'), /*3.2*/ - HB_SCRIPT_HANUNOO = HB_TAG ('H','a','n','o'), /*3.2*/ - HB_SCRIPT_TAGALOG = HB_TAG ('T','g','l','g'), /*3.2*/ - HB_SCRIPT_TAGBANWA = HB_TAG ('T','a','g','b'), /*3.2*/ - - HB_SCRIPT_CYPRIOT = HB_TAG ('C','p','r','t'), /*4.0*/ - HB_SCRIPT_LIMBU = HB_TAG ('L','i','m','b'), /*4.0*/ - HB_SCRIPT_LINEAR_B = HB_TAG ('L','i','n','b'), /*4.0*/ - HB_SCRIPT_OSMANYA = HB_TAG ('O','s','m','a'), /*4.0*/ - HB_SCRIPT_SHAVIAN = HB_TAG ('S','h','a','w'), /*4.0*/ - HB_SCRIPT_TAI_LE = HB_TAG ('T','a','l','e'), /*4.0*/ - HB_SCRIPT_UGARITIC = HB_TAG ('U','g','a','r'), /*4.0*/ - - HB_SCRIPT_BUGINESE = HB_TAG ('B','u','g','i'), /*4.1*/ - HB_SCRIPT_COPTIC = HB_TAG ('C','o','p','t'), /*4.1*/ - HB_SCRIPT_GLAGOLITIC = HB_TAG ('G','l','a','g'), /*4.1*/ - HB_SCRIPT_KHAROSHTHI = HB_TAG ('K','h','a','r'), /*4.1*/ - HB_SCRIPT_NEW_TAI_LUE = HB_TAG ('T','a','l','u'), /*4.1*/ - HB_SCRIPT_OLD_PERSIAN = HB_TAG ('X','p','e','o'), /*4.1*/ - HB_SCRIPT_SYLOTI_NAGRI = HB_TAG ('S','y','l','o'), /*4.1*/ - HB_SCRIPT_TIFINAGH = HB_TAG ('T','f','n','g'), /*4.1*/ - - HB_SCRIPT_BALINESE = HB_TAG ('B','a','l','i'), /*5.0*/ - HB_SCRIPT_CUNEIFORM = HB_TAG ('X','s','u','x'), /*5.0*/ - HB_SCRIPT_NKO = HB_TAG ('N','k','o','o'), /*5.0*/ - HB_SCRIPT_PHAGS_PA = HB_TAG ('P','h','a','g'), /*5.0*/ - HB_SCRIPT_PHOENICIAN = HB_TAG ('P','h','n','x'), /*5.0*/ - - HB_SCRIPT_CARIAN = HB_TAG ('C','a','r','i'), /*5.1*/ - HB_SCRIPT_CHAM = HB_TAG ('C','h','a','m'), /*5.1*/ - HB_SCRIPT_KAYAH_LI = HB_TAG ('K','a','l','i'), /*5.1*/ - HB_SCRIPT_LEPCHA = HB_TAG ('L','e','p','c'), /*5.1*/ - HB_SCRIPT_LYCIAN = HB_TAG ('L','y','c','i'), /*5.1*/ - HB_SCRIPT_LYDIAN = HB_TAG ('L','y','d','i'), /*5.1*/ - HB_SCRIPT_OL_CHIKI = HB_TAG ('O','l','c','k'), /*5.1*/ - HB_SCRIPT_REJANG = HB_TAG ('R','j','n','g'), /*5.1*/ - HB_SCRIPT_SAURASHTRA = HB_TAG ('S','a','u','r'), /*5.1*/ - HB_SCRIPT_SUNDANESE = HB_TAG ('S','u','n','d'), /*5.1*/ - HB_SCRIPT_VAI = HB_TAG ('V','a','i','i'), /*5.1*/ - - HB_SCRIPT_AVESTAN = HB_TAG ('A','v','s','t'), /*5.2*/ - HB_SCRIPT_BAMUM = HB_TAG ('B','a','m','u'), /*5.2*/ - HB_SCRIPT_EGYPTIAN_HIEROGLYPHS = HB_TAG ('E','g','y','p'), /*5.2*/ - HB_SCRIPT_IMPERIAL_ARAMAIC = HB_TAG ('A','r','m','i'), /*5.2*/ - HB_SCRIPT_INSCRIPTIONAL_PAHLAVI = HB_TAG ('P','h','l','i'), /*5.2*/ - HB_SCRIPT_INSCRIPTIONAL_PARTHIAN = HB_TAG ('P','r','t','i'), /*5.2*/ - HB_SCRIPT_JAVANESE = HB_TAG ('J','a','v','a'), /*5.2*/ - HB_SCRIPT_KAITHI = HB_TAG ('K','t','h','i'), /*5.2*/ - HB_SCRIPT_LISU = HB_TAG ('L','i','s','u'), /*5.2*/ - HB_SCRIPT_MEETEI_MAYEK = HB_TAG ('M','t','e','i'), /*5.2*/ - HB_SCRIPT_OLD_SOUTH_ARABIAN = HB_TAG ('S','a','r','b'), /*5.2*/ - HB_SCRIPT_OLD_TURKIC = HB_TAG ('O','r','k','h'), /*5.2*/ - HB_SCRIPT_SAMARITAN = HB_TAG ('S','a','m','r'), /*5.2*/ - HB_SCRIPT_TAI_THAM = HB_TAG ('L','a','n','a'), /*5.2*/ - HB_SCRIPT_TAI_VIET = HB_TAG ('T','a','v','t'), /*5.2*/ - - HB_SCRIPT_BATAK = HB_TAG ('B','a','t','k'), /*6.0*/ - HB_SCRIPT_BRAHMI = HB_TAG ('B','r','a','h'), /*6.0*/ - HB_SCRIPT_MANDAIC = HB_TAG ('M','a','n','d'), /*6.0*/ - - HB_SCRIPT_CHAKMA = HB_TAG ('C','a','k','m'), /*6.1*/ - HB_SCRIPT_MEROITIC_CURSIVE = HB_TAG ('M','e','r','c'), /*6.1*/ - HB_SCRIPT_MEROITIC_HIEROGLYPHS = HB_TAG ('M','e','r','o'), /*6.1*/ - HB_SCRIPT_MIAO = HB_TAG ('P','l','r','d'), /*6.1*/ - HB_SCRIPT_SHARADA = HB_TAG ('S','h','r','d'), /*6.1*/ - HB_SCRIPT_SORA_SOMPENG = HB_TAG ('S','o','r','a'), /*6.1*/ - HB_SCRIPT_TAKRI = HB_TAG ('T','a','k','r'), /*6.1*/ - - /* - * Since: 0.9.30 - */ - HB_SCRIPT_BASSA_VAH = HB_TAG ('B','a','s','s'), /*7.0*/ - HB_SCRIPT_CAUCASIAN_ALBANIAN = HB_TAG ('A','g','h','b'), /*7.0*/ - HB_SCRIPT_DUPLOYAN = HB_TAG ('D','u','p','l'), /*7.0*/ - HB_SCRIPT_ELBASAN = HB_TAG ('E','l','b','a'), /*7.0*/ - HB_SCRIPT_GRANTHA = HB_TAG ('G','r','a','n'), /*7.0*/ - HB_SCRIPT_KHOJKI = HB_TAG ('K','h','o','j'), /*7.0*/ - HB_SCRIPT_KHUDAWADI = HB_TAG ('S','i','n','d'), /*7.0*/ - HB_SCRIPT_LINEAR_A = HB_TAG ('L','i','n','a'), /*7.0*/ - HB_SCRIPT_MAHAJANI = HB_TAG ('M','a','h','j'), /*7.0*/ - HB_SCRIPT_MANICHAEAN = HB_TAG ('M','a','n','i'), /*7.0*/ - HB_SCRIPT_MENDE_KIKAKUI = HB_TAG ('M','e','n','d'), /*7.0*/ - HB_SCRIPT_MODI = HB_TAG ('M','o','d','i'), /*7.0*/ - HB_SCRIPT_MRO = HB_TAG ('M','r','o','o'), /*7.0*/ - HB_SCRIPT_NABATAEAN = HB_TAG ('N','b','a','t'), /*7.0*/ - HB_SCRIPT_OLD_NORTH_ARABIAN = HB_TAG ('N','a','r','b'), /*7.0*/ - HB_SCRIPT_OLD_PERMIC = HB_TAG ('P','e','r','m'), /*7.0*/ - HB_SCRIPT_PAHAWH_HMONG = HB_TAG ('H','m','n','g'), /*7.0*/ - HB_SCRIPT_PALMYRENE = HB_TAG ('P','a','l','m'), /*7.0*/ - HB_SCRIPT_PAU_CIN_HAU = HB_TAG ('P','a','u','c'), /*7.0*/ - HB_SCRIPT_PSALTER_PAHLAVI = HB_TAG ('P','h','l','p'), /*7.0*/ - HB_SCRIPT_SIDDHAM = HB_TAG ('S','i','d','d'), /*7.0*/ - HB_SCRIPT_TIRHUTA = HB_TAG ('T','i','r','h'), /*7.0*/ - HB_SCRIPT_WARANG_CITI = HB_TAG ('W','a','r','a'), /*7.0*/ - - HB_SCRIPT_AHOM = HB_TAG ('A','h','o','m'), /*8.0*/ - HB_SCRIPT_ANATOLIAN_HIEROGLYPHS = HB_TAG ('H','l','u','w'), /*8.0*/ - HB_SCRIPT_HATRAN = HB_TAG ('H','a','t','r'), /*8.0*/ - HB_SCRIPT_MULTANI = HB_TAG ('M','u','l','t'), /*8.0*/ - HB_SCRIPT_OLD_HUNGARIAN = HB_TAG ('H','u','n','g'), /*8.0*/ - HB_SCRIPT_SIGNWRITING = HB_TAG ('S','g','n','w'), /*8.0*/ - - /* - * Since 1.3.0 - */ - HB_SCRIPT_ADLAM = HB_TAG ('A','d','l','m'), /*9.0*/ - HB_SCRIPT_BHAIKSUKI = HB_TAG ('B','h','k','s'), /*9.0*/ - HB_SCRIPT_MARCHEN = HB_TAG ('M','a','r','c'), /*9.0*/ - HB_SCRIPT_OSAGE = HB_TAG ('O','s','g','e'), /*9.0*/ - HB_SCRIPT_TANGUT = HB_TAG ('T','a','n','g'), /*9.0*/ - HB_SCRIPT_NEWA = HB_TAG ('N','e','w','a'), /*9.0*/ - - /* - * Since 1.6.0 - */ - HB_SCRIPT_MASARAM_GONDI = HB_TAG ('G','o','n','m'), /*10.0*/ - HB_SCRIPT_NUSHU = HB_TAG ('N','s','h','u'), /*10.0*/ - HB_SCRIPT_SOYOMBO = HB_TAG ('S','o','y','o'), /*10.0*/ - HB_SCRIPT_ZANABAZAR_SQUARE = HB_TAG ('Z','a','n','b'), /*10.0*/ - - /* - * Since 1.8.0 - */ - HB_SCRIPT_DOGRA = HB_TAG ('D','o','g','r'), /*11.0*/ - HB_SCRIPT_GUNJALA_GONDI = HB_TAG ('G','o','n','g'), /*11.0*/ - HB_SCRIPT_HANIFI_ROHINGYA = HB_TAG ('R','o','h','g'), /*11.0*/ - HB_SCRIPT_MAKASAR = HB_TAG ('M','a','k','a'), /*11.0*/ - HB_SCRIPT_MEDEFAIDRIN = HB_TAG ('M','e','d','f'), /*11.0*/ - HB_SCRIPT_OLD_SOGDIAN = HB_TAG ('S','o','g','o'), /*11.0*/ - HB_SCRIPT_SOGDIAN = HB_TAG ('S','o','g','d'), /*11.0*/ - - /* - * Since 2.4.0 - */ - HB_SCRIPT_ELYMAIC = HB_TAG ('E','l','y','m'), /*12.0*/ - HB_SCRIPT_NANDINAGARI = HB_TAG ('N','a','n','d'), /*12.0*/ - HB_SCRIPT_NYIAKENG_PUACHUE_HMONG = HB_TAG ('H','m','n','p'), /*12.0*/ - HB_SCRIPT_WANCHO = HB_TAG ('W','c','h','o'), /*12.0*/ - - /* - * Since 2.6.7 - */ - HB_SCRIPT_CHORASMIAN = HB_TAG ('C','h','r','s'), /*13.0*/ - HB_SCRIPT_DIVES_AKURU = HB_TAG ('D','i','a','k'), /*13.0*/ - HB_SCRIPT_KHITAN_SMALL_SCRIPT = HB_TAG ('K','i','t','s'), /*13.0*/ - HB_SCRIPT_YEZIDI = HB_TAG ('Y','e','z','i'), /*13.0*/ - - /* - * Since 3.0.0 - */ - HB_SCRIPT_CYPRO_MINOAN = HB_TAG ('C','p','m','n'), /*14.0*/ - HB_SCRIPT_OLD_UYGHUR = HB_TAG ('O','u','g','r'), /*14.0*/ - HB_SCRIPT_TANGSA = HB_TAG ('T','n','s','a'), /*14.0*/ - HB_SCRIPT_TOTO = HB_TAG ('T','o','t','o'), /*14.0*/ - HB_SCRIPT_VITHKUQI = HB_TAG ('V','i','t','h'), /*14.0*/ - - /* No script set. */ - HB_SCRIPT_INVALID = HB_TAG_NONE, - - /*< private >*/ - - /* Dummy values to ensure any hb_tag_t value can be passed/stored as hb_script_t - * without risking undefined behavior. We have two, for historical reasons. - * HB_TAG_MAX used to be unsigned, but that was invalid Ansi C, so was changed - * to _HB_SCRIPT_MAX_VALUE to be equal to HB_TAG_MAX_SIGNED as well. - * - * See this thread for technicalities: - * - * https://lists.freedesktop.org/archives/harfbuzz/2014-March/004150.html - */ - _HB_SCRIPT_MAX_VALUE = HB_TAG_MAX_SIGNED, /*< skip >*/ - _HB_SCRIPT_MAX_VALUE_SIGNED = HB_TAG_MAX_SIGNED /*< skip >*/ - -} hb_script_t; - - -/* Script functions */ - -HB_EXTERN hb_script_t -hb_script_from_iso15924_tag (hb_tag_t tag); - -HB_EXTERN hb_script_t -hb_script_from_string (const char *str, int len); - -HB_EXTERN hb_tag_t -hb_script_to_iso15924_tag (hb_script_t script); - -HB_EXTERN hb_direction_t -hb_script_get_horizontal_direction (hb_script_t script); - - -/* User data */ - -/** - * hb_user_data_key_t: - * - * Data structure for holding user-data keys. - * - **/ -typedef struct hb_user_data_key_t { - /*< private >*/ - char unused; -} hb_user_data_key_t; - -/** - * hb_destroy_func_t: - * @user_data: the data to be destroyed - * - * A virtual method for destroy user-data callbacks. - * - */ -typedef void (*hb_destroy_func_t) (void *user_data); - - -/* Font features and variations. */ - -/** - * HB_FEATURE_GLOBAL_START: - * - * Special setting for #hb_feature_t.start to apply the feature from the start - * of the buffer. - * - * Since: 2.0.0 - */ -#define HB_FEATURE_GLOBAL_START 0 - -/** - * HB_FEATURE_GLOBAL_END: - * - * Special setting for #hb_feature_t.end to apply the feature from to the end - * of the buffer. - * - * Since: 2.0.0 - */ -#define HB_FEATURE_GLOBAL_END ((unsigned int) -1) - -/** - * hb_feature_t: - * @tag: The #hb_tag_t tag of the feature - * @value: The value of the feature. 0 disables the feature, non-zero (usually - * 1) enables the feature. For features implemented as lookup type 3 (like - * 'salt') the @value is a one based index into the alternates. - * @start: the cluster to start applying this feature setting (inclusive). - * @end: the cluster to end applying this feature setting (exclusive). - * - * The #hb_feature_t is the structure that holds information about requested - * feature application. The feature will be applied with the given value to all - * glyphs which are in clusters between @start (inclusive) and @end (exclusive). - * Setting start to #HB_FEATURE_GLOBAL_START and end to #HB_FEATURE_GLOBAL_END - * specifies that the feature always applies to the entire buffer. - */ -typedef struct hb_feature_t { - hb_tag_t tag; - uint32_t value; - unsigned int start; - unsigned int end; -} hb_feature_t; - -HB_EXTERN hb_bool_t -hb_feature_from_string (const char *str, int len, - hb_feature_t *feature); - -HB_EXTERN void -hb_feature_to_string (hb_feature_t *feature, - char *buf, unsigned int size); - -/** - * hb_variation_t: - * @tag: The #hb_tag_t tag of the variation-axis name - * @value: The value of the variation axis - * - * Data type for holding variation data. Registered OpenType - * variation-axis tags are listed in - * [OpenType Axis Tag Registry](https://docs.microsoft.com/en-us/typography/opentype/spec/dvaraxisreg). - * - * Since: 1.4.2 - */ -typedef struct hb_variation_t { - hb_tag_t tag; - float value; -} hb_variation_t; - -HB_EXTERN hb_bool_t -hb_variation_from_string (const char *str, int len, - hb_variation_t *variation); - -HB_EXTERN void -hb_variation_to_string (hb_variation_t *variation, - char *buf, unsigned int size); - -/** - * hb_color_t: - * - * Data type for holding color values. Colors are eight bits per - * channel RGB plus alpha transparency. - * - * Since: 2.1.0 - */ -typedef uint32_t hb_color_t; - -/** - * HB_COLOR: - * @b: blue channel value - * @g: green channel value - * @r: red channel value - * @a: alpha channel value - * - * Constructs an #hb_color_t from four integers. - * - * Since: 2.1.0 - */ -#define HB_COLOR(b,g,r,a) ((hb_color_t) HB_TAG ((b),(g),(r),(a))) - -HB_EXTERN uint8_t -hb_color_get_alpha (hb_color_t color); -#define hb_color_get_alpha(color) ((color) & 0xFF) - -HB_EXTERN uint8_t -hb_color_get_red (hb_color_t color); -#define hb_color_get_red(color) (((color) >> 8) & 0xFF) - -HB_EXTERN uint8_t -hb_color_get_green (hb_color_t color); -#define hb_color_get_green(color) (((color) >> 16) & 0xFF) - -HB_EXTERN uint8_t -hb_color_get_blue (hb_color_t color); -#define hb_color_get_blue(color) (((color) >> 24) & 0xFF) - -HB_END_DECLS - -#endif /* HB_COMMON_H */ diff --git a/harfbuzz/src/hb-config.hh b/harfbuzz/src/hb-config.hh deleted file mode 100644 index 7d00d90..0000000 --- a/harfbuzz/src/hb-config.hh +++ /dev/null @@ -1,165 +0,0 @@ -/* - * Copyright © 2019 Facebook, Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Facebook Author(s): Behdad Esfahbod - */ - -#ifndef HB_CONFIG_HH -#define HB_CONFIG_HH - -#if 0 /* Make test happy. */ -#include "hb.hh" -#endif - -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - - -#ifdef HB_TINY -#define HB_LEAN -#define HB_MINI -#define HB_NO_MT -#define HB_NO_UCD_UNASSIGNED -#ifndef NDEBUG -#define NDEBUG -#endif -#ifndef __OPTIMIZE_SIZE__ -#define __OPTIMIZE_SIZE__ -#endif -#endif - -#ifdef HB_LEAN -#define HB_DISABLE_DEPRECATED -#define HB_NDEBUG -#define HB_NO_ATEXIT -#define HB_NO_BUFFER_MESSAGE -#define HB_NO_BUFFER_SERIALIZE -#define HB_NO_BITMAP -#define HB_NO_CFF -#define HB_NO_COLOR -#define HB_NO_DRAW -#define HB_NO_ERRNO -#define HB_NO_FACE_COLLECT_UNICODES -#define HB_NO_GETENV -#define HB_NO_HINTING -#define HB_NO_LANGUAGE_PRIVATE_SUBTAG -#define HB_NO_LAYOUT_FEATURE_PARAMS -#define HB_NO_LAYOUT_COLLECT_GLYPHS -#define HB_NO_LAYOUT_UNUSED -#define HB_NO_MATH -#define HB_NO_META -#define HB_NO_METRICS -#define HB_NO_MMAP -#define HB_NO_NAME -#define HB_NO_OPEN -#define HB_NO_SETLOCALE -#define HB_NO_OT_FONT_GLYPH_NAMES -#define HB_NO_OT_SHAPE_FRACTIONS -#define HB_NO_STYLE -#define HB_NO_SUBSET_LAYOUT -#define HB_NO_VAR -#endif - -#ifdef HB_MINI -#define HB_NO_AAT -#define HB_NO_LEGACY -#endif - -#if defined(HAVE_CONFIG_OVERRIDE_H) || defined(HB_CONFIG_OVERRIDE_H) -#ifndef HB_CONFIG_OVERRIDE_H -#define HB_CONFIG_OVERRIDE_H "config-override.h" -#endif -#include HB_CONFIG_OVERRIDE_H -#endif - -/* Closure of options. */ - -#ifdef HB_DISABLE_DEPRECATED -#define HB_IF_NOT_DEPRECATED(x) -#else -#define HB_IF_NOT_DEPRECATED(x) x -#endif - -#ifdef HB_NO_AAT -#define HB_NO_OT_NAME_LANGUAGE_AAT -#define HB_NO_AAT_SHAPE -#endif - -#ifdef HB_NO_BITMAP -#define HB_NO_OT_FONT_BITMAP -#endif - -#ifdef HB_NO_CFF -#define HB_NO_OT_FONT_CFF -#define HB_NO_SUBSET_CFF -#endif - -#ifdef HB_NO_GETENV -#define HB_NO_UNISCRIBE_BUG_COMPATIBLE -#endif - -#ifdef HB_NO_LEGACY -#define HB_NO_CMAP_LEGACY_SUBTABLES -#define HB_NO_FALLBACK_SHAPE -#define HB_NO_OT_KERN -#define HB_NO_OT_LAYOUT_BLOCKLIST -#define HB_NO_OT_SHAPE_FALLBACK -#endif - -#ifdef HB_NO_NAME -#define HB_NO_OT_NAME_LANGUAGE -#endif - -#ifdef HB_NO_OT -#define HB_NO_OT_FONT -#define HB_NO_OT_LAYOUT -#define HB_NO_OT_TAG -#define HB_NO_OT_SHAPE -#endif - -#ifdef HB_NO_OT_SHAPE -#define HB_NO_AAT_SHAPE -#endif - -#ifdef HB_NO_OT_SHAPE_FALLBACK -#define HB_NO_OT_SHAPE_COMPLEX_ARABIC_FALLBACK -#define HB_NO_OT_SHAPE_COMPLEX_HEBREW_FALLBACK -#define HB_NO_OT_SHAPE_COMPLEX_THAI_FALLBACK -#define HB_NO_OT_SHAPE_COMPLEX_VOWEL_CONSTRAINTS -#endif - -#ifdef NDEBUG -#ifndef HB_NDEBUG -#define HB_NDEBUG -#endif -#endif - -#ifdef __OPTIMIZE_SIZE__ -#ifndef HB_OPTIMIZE_SIZE -#define HB_OPTIMIZE_SIZE -#endif -#endif - - -#endif /* HB_CONFIG_HH */ diff --git a/harfbuzz/src/hb-coretext.cc b/harfbuzz/src/hb-coretext.cc deleted file mode 100644 index a512f3b..0000000 --- a/harfbuzz/src/hb-coretext.cc +++ /dev/null @@ -1,1234 +0,0 @@ -/* - * Copyright © 2012,2013 Mozilla Foundation. - * Copyright © 2012,2013 Google, Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Mozilla Author(s): Jonathan Kew - * Google Author(s): Behdad Esfahbod - */ - -#include "hb.hh" - -#ifdef HAVE_CORETEXT - -#include "hb-shaper-impl.hh" - -#include "hb-coretext.h" -#include "hb-aat-layout.hh" - - -/** - * SECTION:hb-coretext - * @title: hb-coretext - * @short_description: CoreText integration - * @include: hb-coretext.h - * - * Functions for using HarfBuzz with the CoreText fonts. - **/ - -/* https://developer.apple.com/documentation/coretext/1508745-ctfontcreatewithgraphicsfont */ -#define HB_CORETEXT_DEFAULT_FONT_SIZE 12.f - -static void -release_table_data (void *user_data) -{ - CFDataRef cf_data = reinterpret_cast (user_data); - CFRelease(cf_data); -} - -static hb_blob_t * -_hb_cg_reference_table (hb_face_t *face HB_UNUSED, hb_tag_t tag, void *user_data) -{ - CGFontRef cg_font = reinterpret_cast (user_data); - CFDataRef cf_data = CGFontCopyTableForTag (cg_font, tag); - if (unlikely (!cf_data)) - return nullptr; - - const char *data = reinterpret_cast (CFDataGetBytePtr (cf_data)); - const size_t length = CFDataGetLength (cf_data); - if (!data || !length) - { - CFRelease (cf_data); - return nullptr; - } - - return hb_blob_create (data, length, HB_MEMORY_MODE_READONLY, - reinterpret_cast (const_cast<__CFData *> (cf_data)), - release_table_data); -} - -static void -_hb_cg_font_release (void *data) -{ - CGFontRelease ((CGFontRef) data); -} - - -static CTFontDescriptorRef -get_last_resort_font_desc () -{ - // TODO Handle allocation failures? - CTFontDescriptorRef last_resort = CTFontDescriptorCreateWithNameAndSize (CFSTR("LastResort"), 0); - CFArrayRef cascade_list = CFArrayCreate (kCFAllocatorDefault, - (const void **) &last_resort, - 1, - &kCFTypeArrayCallBacks); - CFRelease (last_resort); - CFDictionaryRef attributes = CFDictionaryCreate (kCFAllocatorDefault, - (const void **) &kCTFontCascadeListAttribute, - (const void **) &cascade_list, - 1, - &kCFTypeDictionaryKeyCallBacks, - &kCFTypeDictionaryValueCallBacks); - CFRelease (cascade_list); - - CTFontDescriptorRef font_desc = CTFontDescriptorCreateWithAttributes (attributes); - CFRelease (attributes); - return font_desc; -} - -static void -release_data (void *info, const void *data, size_t size) -{ - assert (hb_blob_get_length ((hb_blob_t *) info) == size && - hb_blob_get_data ((hb_blob_t *) info, nullptr) == data); - - hb_blob_destroy ((hb_blob_t *) info); -} - -static CGFontRef -create_cg_font (hb_face_t *face) -{ - CGFontRef cg_font = nullptr; - if (face->destroy == _hb_cg_font_release) - { - cg_font = CGFontRetain ((CGFontRef) face->user_data); - } - else - { - hb_blob_t *blob = hb_face_reference_blob (face); - unsigned int blob_length; - const char *blob_data = hb_blob_get_data (blob, &blob_length); - if (unlikely (!blob_length)) - DEBUG_MSG (CORETEXT, face, "Face has empty blob"); - - CGDataProviderRef provider = CGDataProviderCreateWithData (blob, blob_data, blob_length, &release_data); - if (likely (provider)) - { - cg_font = CGFontCreateWithDataProvider (provider); - if (unlikely (!cg_font)) - DEBUG_MSG (CORETEXT, face, "Face CGFontCreateWithDataProvider() failed"); - CGDataProviderRelease (provider); - } - } - return cg_font; -} - -static CTFontRef -create_ct_font (CGFontRef cg_font, CGFloat font_size) -{ - CTFontRef ct_font = nullptr; - - /* CoreText does not enable trak table usage / tracking when creating a CTFont - * using CTFontCreateWithGraphicsFont. The only way of enabling tracking seems - * to be through the CTFontCreateUIFontForLanguage call. */ - CFStringRef cg_postscript_name = CGFontCopyPostScriptName (cg_font); - if (CFStringHasPrefix (cg_postscript_name, CFSTR (".SFNSText")) || - CFStringHasPrefix (cg_postscript_name, CFSTR (".SFNSDisplay"))) - { -#if !(defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE) && MAC_OS_X_VERSION_MIN_REQUIRED < 1080 -# define kCTFontUIFontSystem kCTFontSystemFontType -# define kCTFontUIFontEmphasizedSystem kCTFontEmphasizedSystemFontType -#endif - CTFontUIFontType font_type = kCTFontUIFontSystem; - if (CFStringHasSuffix (cg_postscript_name, CFSTR ("-Bold"))) - font_type = kCTFontUIFontEmphasizedSystem; - - ct_font = CTFontCreateUIFontForLanguage (font_type, font_size, nullptr); - CFStringRef ct_result_name = CTFontCopyPostScriptName(ct_font); - if (CFStringCompare (ct_result_name, cg_postscript_name, 0) != kCFCompareEqualTo) - { - CFRelease(ct_font); - ct_font = nullptr; - } - CFRelease (ct_result_name); - } - CFRelease (cg_postscript_name); - - if (!ct_font) - ct_font = CTFontCreateWithGraphicsFont (cg_font, font_size, nullptr, nullptr); - - if (unlikely (!ct_font)) { - DEBUG_MSG (CORETEXT, cg_font, "Font CTFontCreateWithGraphicsFont() failed"); - return nullptr; - } - - /* crbug.com/576941 and crbug.com/625902 and the investigation in the latter - * bug indicate that the cascade list reconfiguration occasionally causes - * crashes in CoreText on OS X 10.9, thus let's skip this step on older - * operating system versions. Except for the emoji font, where _not_ - * reconfiguring the cascade list causes CoreText crashes. For details, see - * crbug.com/549610 */ - // 0x00070000 stands for "kCTVersionNumber10_10", see CoreText.h -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wdeprecated-declarations" - if (&CTGetCoreTextVersion != nullptr && CTGetCoreTextVersion() < 0x00070000) { -#pragma GCC diagnostic pop - CFStringRef fontName = CTFontCopyPostScriptName (ct_font); - bool isEmojiFont = CFStringCompare (fontName, CFSTR("AppleColorEmoji"), 0) == kCFCompareEqualTo; - CFRelease (fontName); - if (!isEmojiFont) - return ct_font; - } - - CFURLRef original_url = nullptr; -#if !(defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE) && MAC_OS_X_VERSION_MIN_REQUIRED < 1060 - ATSFontRef atsFont; - FSRef fsref; - OSStatus status; - atsFont = CTFontGetPlatformFont (ct_font, NULL); - status = ATSFontGetFileReference (atsFont, &fsref); - if (status == noErr) - original_url = CFURLCreateFromFSRef (NULL, &fsref); -#else - original_url = (CFURLRef) CTFontCopyAttribute (ct_font, kCTFontURLAttribute); -#endif - - /* Create font copy with cascade list that has LastResort first; this speeds up CoreText - * font fallback which we don't need anyway. */ - { - CTFontDescriptorRef last_resort_font_desc = get_last_resort_font_desc (); - CTFontRef new_ct_font = CTFontCreateCopyWithAttributes (ct_font, 0.0, nullptr, last_resort_font_desc); - CFRelease (last_resort_font_desc); - if (new_ct_font) - { - /* The CTFontCreateCopyWithAttributes call fails to stay on the same font - * when reconfiguring the cascade list and may switch to a different font - * when there are fonts that go by the same name, since the descriptor is - * just name and size. - * - * Avoid reconfiguring the cascade lists if the new font is outside the - * system locations that we cannot access from the sandboxed renderer - * process in Blink. This can be detected by the new file URL location - * that the newly found font points to. */ - CFURLRef new_url = nullptr; -#if !(defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE) && MAC_OS_X_VERSION_MIN_REQUIRED < 1060 - atsFont = CTFontGetPlatformFont (new_ct_font, NULL); - status = ATSFontGetFileReference (atsFont, &fsref); - if (status == noErr) - new_url = CFURLCreateFromFSRef (NULL, &fsref); -#else - new_url = (CFURLRef) CTFontCopyAttribute (new_ct_font, kCTFontURLAttribute); -#endif - // Keep reconfigured font if URL cannot be retrieved (seems to be the case - // on Mac OS 10.12 Sierra), speculative fix for crbug.com/625606 - if (!original_url || !new_url || CFEqual (original_url, new_url)) { - CFRelease (ct_font); - ct_font = new_ct_font; - } else { - CFRelease (new_ct_font); - DEBUG_MSG (CORETEXT, ct_font, "Discarding reconfigured CTFont, location changed."); - } - if (new_url) - CFRelease (new_url); - } - else - DEBUG_MSG (CORETEXT, ct_font, "Font copy with empty cascade list failed"); - } - - if (original_url) - CFRelease (original_url); - return ct_font; -} - -hb_coretext_face_data_t * -_hb_coretext_shaper_face_data_create (hb_face_t *face) -{ - CGFontRef cg_font = create_cg_font (face); - - if (unlikely (!cg_font)) - { - DEBUG_MSG (CORETEXT, face, "CGFont creation failed.."); - return nullptr; - } - - return (hb_coretext_face_data_t *) cg_font; -} - -void -_hb_coretext_shaper_face_data_destroy (hb_coretext_face_data_t *data) -{ - CFRelease ((CGFontRef) data); -} - -/** - * hb_coretext_face_create: - * @cg_font: The CGFontRef to work upon - * - * Creates an #hb_face_t face object from the specified - * CGFontRef. - * - * Return value: the new #hb_face_t face object - * - * Since: 0.9.10 - */ -hb_face_t * -hb_coretext_face_create (CGFontRef cg_font) -{ - return hb_face_create_for_tables (_hb_cg_reference_table, CGFontRetain (cg_font), _hb_cg_font_release); -} - -/** - * hb_coretext_face_get_cg_font: - * @face: The #hb_face_t to work upon - * - * Fetches the CGFontRef associated with an #hb_face_t - * face object - * - * Return value: the CGFontRef found - * - * Since: 0.9.10 - */ -CGFontRef -hb_coretext_face_get_cg_font (hb_face_t *face) -{ - return (CGFontRef) (const void *) face->data.coretext; -} - - -hb_coretext_font_data_t * -_hb_coretext_shaper_font_data_create (hb_font_t *font) -{ - hb_face_t *face = font->face; - const hb_coretext_face_data_t *face_data = face->data.coretext; - if (unlikely (!face_data)) return nullptr; - CGFontRef cg_font = (CGFontRef) (const void *) face->data.coretext; - - CGFloat font_size = (CGFloat) (font->ptem <= 0.f ? HB_CORETEXT_DEFAULT_FONT_SIZE : font->ptem); - CTFontRef ct_font = create_ct_font (cg_font, font_size); - - if (unlikely (!ct_font)) - { - DEBUG_MSG (CORETEXT, font, "CGFont creation failed.."); - return nullptr; - } - - if (font->coords) - { - CFMutableDictionaryRef variations = - CFDictionaryCreateMutable (kCFAllocatorDefault, - font->num_coords, - &kCFTypeDictionaryKeyCallBacks, - &kCFTypeDictionaryValueCallBacks); - - for (unsigned i = 0; i < font->num_coords; i++) - { - if (font->coords[i] == 0.) continue; - - hb_ot_var_axis_info_t info; - unsigned int c = 1; - hb_ot_var_get_axis_infos (font->face, i, &c, &info); - CFDictionarySetValue (variations, - CFNumberCreate (kCFAllocatorDefault, kCFNumberIntType, &info.tag), - CFNumberCreate (kCFAllocatorDefault, kCFNumberFloatType, &font->design_coords[i]) - ); - } - - CFDictionaryRef attributes = - CFDictionaryCreate (kCFAllocatorDefault, - (const void **) &kCTFontVariationAttribute, - (const void **) &variations, - 1, - &kCFTypeDictionaryKeyCallBacks, - &kCFTypeDictionaryValueCallBacks); - - CTFontDescriptorRef varDesc = CTFontDescriptorCreateWithAttributes (attributes); - CTFontRef new_ct_font = CTFontCreateCopyWithAttributes (ct_font, 0, nullptr, varDesc); - - CFRelease (ct_font); - CFRelease (attributes); - CFRelease (variations); - ct_font = new_ct_font; - } - - return (hb_coretext_font_data_t *) ct_font; -} - -void -_hb_coretext_shaper_font_data_destroy (hb_coretext_font_data_t *data) -{ - CFRelease ((CTFontRef) data); -} - -static const hb_coretext_font_data_t * -hb_coretext_font_data_sync (hb_font_t *font) -{ -retry: - const hb_coretext_font_data_t *data = font->data.coretext; - if (unlikely (!data)) return nullptr; - - if (fabs (CTFontGetSize ((CTFontRef) data) - (CGFloat) font->ptem) > (CGFloat) .5) - { - /* XXX-MT-bug - * Note that evaluating condition above can be dangerous if another thread - * got here first and destructed data. That's, as always, bad use pattern. - * If you modify the font (change font size), other threads must not be - * using it at the same time. However, since this check is delayed to - * when one actually tries to shape something, this is a XXX race condition - * (and the only one we have that I know of) right now. Ie. you modify the - * font size in one thread, then (supposedly safely) try to use it from two - * or more threads and BOOM! I'm not sure how to fix this. We want RCU. - */ - - /* Drop and recreate. */ - /* If someone dropped it in the mean time, throw it away and don't touch it. - * Otherwise, destruct it. */ - if (likely (font->data.coretext.cmpexch (const_cast (data), nullptr))) - _hb_coretext_shaper_font_data_destroy (const_cast (data)); - else - goto retry; - } - return font->data.coretext; -} - -/** - * hb_coretext_font_create: - * @ct_font: The CTFontRef to work upon - * - * Creates an #hb_font_t font object from the specified - * CTFontRef. - * - * Return value: the new #hb_font_t font object - * - * Since: 1.7.2 - **/ -hb_font_t * -hb_coretext_font_create (CTFontRef ct_font) -{ - CGFontRef cg_font = CTFontCopyGraphicsFont (ct_font, nullptr); - hb_face_t *face = hb_coretext_face_create (cg_font); - CFRelease (cg_font); - hb_font_t *font = hb_font_create (face); - hb_face_destroy (face); - - if (unlikely (hb_object_is_immutable (font))) - return font; - - hb_font_set_ptem (font, CTFontGetSize (ct_font)); - - /* Let there be dragons here... */ - font->data.coretext.cmpexch (nullptr, (hb_coretext_font_data_t *) CFRetain (ct_font)); - - return font; -} - -/** - * hb_coretext_font_get_ct_font: - * @font: #hb_font_t to work upon - * - * Fetches the CTFontRef associated with the specified - * #hb_font_t font object. - * - * Return value: the CTFontRef found - * - * Since: 0.9.10 - */ -CTFontRef -hb_coretext_font_get_ct_font (hb_font_t *font) -{ - const hb_coretext_font_data_t *data = hb_coretext_font_data_sync (font); - return data ? (CTFontRef) data : nullptr; -} - - -/* - * shaper - */ - -struct feature_record_t { - unsigned int feature; - unsigned int setting; -}; - -struct active_feature_t { - feature_record_t rec; - unsigned int order; - - HB_INTERNAL static int cmp (const void *pa, const void *pb) { - const active_feature_t *a = (const active_feature_t *) pa; - const active_feature_t *b = (const active_feature_t *) pb; - return a->rec.feature < b->rec.feature ? -1 : a->rec.feature > b->rec.feature ? 1 : - a->order < b->order ? -1 : a->order > b->order ? 1 : - a->rec.setting < b->rec.setting ? -1 : a->rec.setting > b->rec.setting ? 1 : - 0; - } - bool operator== (const active_feature_t *f) { - return cmp (this, f) == 0; - } -}; - -struct feature_event_t { - unsigned int index; - bool start; - active_feature_t feature; - - HB_INTERNAL static int cmp (const void *pa, const void *pb) { - const feature_event_t *a = (const feature_event_t *) pa; - const feature_event_t *b = (const feature_event_t *) pb; - return a->index < b->index ? -1 : a->index > b->index ? 1 : - a->start < b->start ? -1 : a->start > b->start ? 1 : - active_feature_t::cmp (&a->feature, &b->feature); - } -}; - -struct range_record_t { - CTFontRef font; - unsigned int index_first; /* == start */ - unsigned int index_last; /* == end - 1 */ -}; - - -hb_bool_t -_hb_coretext_shape (hb_shape_plan_t *shape_plan, - hb_font_t *font, - hb_buffer_t *buffer, - const hb_feature_t *features, - unsigned int num_features) -{ - hb_face_t *face = font->face; - CGFontRef cg_font = (CGFontRef) (const void *) face->data.coretext; - CTFontRef ct_font = (CTFontRef) hb_coretext_font_data_sync (font); - - CGFloat ct_font_size = CTFontGetSize (ct_font); - CGFloat x_mult = (CGFloat) font->x_scale / ct_font_size; - CGFloat y_mult = (CGFloat) font->y_scale / ct_font_size; - - /* Attach marks to their bases, to match the 'ot' shaper. - * Adapted from a very old version of hb-ot-shape:hb_form_clusters(). - * Note that this only makes us be closer to the 'ot' shaper, - * but by no means the same. For example, if there's - * B1 M1 B2 M2, and B1-B2 form a ligature, M2's cluster will - * continue pointing to B2 even though B2 was merged into B1's - * cluster... */ - if (buffer->cluster_level == HB_BUFFER_CLUSTER_LEVEL_MONOTONE_GRAPHEMES) - { - hb_unicode_funcs_t *unicode = buffer->unicode; - unsigned int count = buffer->len; - hb_glyph_info_t *info = buffer->info; - for (unsigned int i = 1; i < count; i++) - if (HB_UNICODE_GENERAL_CATEGORY_IS_MARK (unicode->general_category (info[i].codepoint))) - buffer->merge_clusters (i - 1, i + 1); - } - - hb_vector_t feature_records; - hb_vector_t range_records; - - /* - * Set up features. - * (copied + modified from code from hb-uniscribe.cc) - */ - if (num_features) - { - /* Sort features by start/end events. */ - hb_vector_t feature_events; - for (unsigned int i = 0; i < num_features; i++) - { - active_feature_t feature; - -#if MAC_OS_X_VERSION_MIN_REQUIRED < 101000 - const hb_aat_feature_mapping_t * mapping = hb_aat_layout_find_feature_mapping (features[i].tag); - if (!mapping) - continue; - - feature.rec.feature = mapping->aatFeatureType; - feature.rec.setting = features[i].value ? mapping->selectorToEnable : mapping->selectorToDisable; -#else - feature.rec.feature = features[i].tag; - feature.rec.setting = features[i].value; -#endif - feature.order = i; - - feature_event_t *event; - - event = feature_events.push (); - event->index = features[i].start; - event->start = true; - event->feature = feature; - - event = feature_events.push (); - event->index = features[i].end; - event->start = false; - event->feature = feature; - } - feature_events.qsort (); - /* Add a strategic final event. */ - { - active_feature_t feature; - feature.rec.feature = HB_TAG_NONE; - feature.rec.setting = 0; - feature.order = num_features + 1; - - feature_event_t *event = feature_events.push (); - event->index = 0; /* This value does magic. */ - event->start = false; - event->feature = feature; - } - - /* Scan events and save features for each range. */ - hb_vector_t active_features; - unsigned int last_index = 0; - for (unsigned int i = 0; i < feature_events.length; i++) - { - feature_event_t *event = &feature_events[i]; - - if (event->index != last_index) - { - /* Save a snapshot of active features and the range. */ - range_record_t *range = range_records.push (); - - if (active_features.length) - { - CFMutableArrayRef features_array = CFArrayCreateMutable(kCFAllocatorDefault, 0, &kCFTypeArrayCallBacks); - - /* TODO sort and resolve conflicting features? */ - /* active_features.qsort (); */ - for (unsigned int j = 0; j < active_features.length; j++) - { -#if MAC_OS_X_VERSION_MIN_REQUIRED < 101000 - CFStringRef keys[] = { - kCTFontFeatureTypeIdentifierKey, - kCTFontFeatureSelectorIdentifierKey - }; - CFNumberRef values[] = { - CFNumberCreate (kCFAllocatorDefault, kCFNumberIntType, &active_features[j].rec.feature), - CFNumberCreate (kCFAllocatorDefault, kCFNumberIntType, &active_features[j].rec.setting) - }; -#else - char tag[5] = {HB_UNTAG (active_features[j].rec.feature)}; - CFTypeRef keys[] = { - kCTFontOpenTypeFeatureTag, - kCTFontOpenTypeFeatureValue - }; - CFTypeRef values[] = { - CFStringCreateWithCString (kCFAllocatorDefault, tag, kCFStringEncodingASCII), - CFNumberCreate (kCFAllocatorDefault, kCFNumberIntType, &active_features[j].rec.setting) - }; -#endif - static_assert ((ARRAY_LENGTH_CONST (keys) == ARRAY_LENGTH_CONST (values)), ""); - CFDictionaryRef dict = CFDictionaryCreate (kCFAllocatorDefault, - (const void **) keys, - (const void **) values, - ARRAY_LENGTH (keys), - &kCFTypeDictionaryKeyCallBacks, - &kCFTypeDictionaryValueCallBacks); - for (unsigned int i = 0; i < ARRAY_LENGTH (values); i++) - CFRelease (values[i]); - - CFArrayAppendValue (features_array, dict); - CFRelease (dict); - - } - - CFDictionaryRef attributes = CFDictionaryCreate (kCFAllocatorDefault, - (const void **) &kCTFontFeatureSettingsAttribute, - (const void **) &features_array, - 1, - &kCFTypeDictionaryKeyCallBacks, - &kCFTypeDictionaryValueCallBacks); - CFRelease (features_array); - - CTFontDescriptorRef font_desc = CTFontDescriptorCreateWithAttributes (attributes); - CFRelease (attributes); - - range->font = CTFontCreateCopyWithAttributes (ct_font, 0.0, nullptr, font_desc); - CFRelease (font_desc); - } - else - { - range->font = nullptr; - } - - range->index_first = last_index; - range->index_last = event->index - 1; - - last_index = event->index; - } - - if (event->start) - { - active_features.push (event->feature); - } else { - active_feature_t *feature = active_features.find (&event->feature); - if (feature) - active_features.remove (feature - active_features.arrayZ); - } - } - } - - unsigned int scratch_size; - hb_buffer_t::scratch_buffer_t *scratch = buffer->get_scratch_buffer (&scratch_size); - -#define ALLOCATE_ARRAY(Type, name, len, on_no_room) \ - Type *name = (Type *) scratch; \ - do { \ - unsigned int _consumed = DIV_CEIL ((len) * sizeof (Type), sizeof (*scratch)); \ - if (unlikely (_consumed > scratch_size)) \ - { \ - on_no_room; \ - assert (0); \ - } \ - scratch += _consumed; \ - scratch_size -= _consumed; \ - } while (0) - - ALLOCATE_ARRAY (UniChar, pchars, buffer->len * 2, ((void)nullptr) /*nothing*/); - unsigned int chars_len = 0; - for (unsigned int i = 0; i < buffer->len; i++) { - hb_codepoint_t c = buffer->info[i].codepoint; - if (likely (c <= 0xFFFFu)) - pchars[chars_len++] = c; - else if (unlikely (c > 0x10FFFFu)) - pchars[chars_len++] = 0xFFFDu; - else { - pchars[chars_len++] = 0xD800u + ((c - 0x10000u) >> 10); - pchars[chars_len++] = 0xDC00u + ((c - 0x10000u) & ((1u << 10) - 1)); - } - } - - ALLOCATE_ARRAY (unsigned int, log_clusters, chars_len, ((void)nullptr) /*nothing*/); - chars_len = 0; - for (unsigned int i = 0; i < buffer->len; i++) - { - hb_codepoint_t c = buffer->info[i].codepoint; - unsigned int cluster = buffer->info[i].cluster; - log_clusters[chars_len++] = cluster; - if (hb_in_range (c, 0x10000u, 0x10FFFFu)) - log_clusters[chars_len++] = cluster; /* Surrogates. */ - } - -#define FAIL(...) \ - HB_STMT_START { \ - DEBUG_MSG (CORETEXT, nullptr, __VA_ARGS__); \ - ret = false; \ - goto fail; \ - } HB_STMT_END - - bool ret = true; - CFStringRef string_ref = nullptr; - CTLineRef line = nullptr; - - if (false) - { -resize_and_retry: - DEBUG_MSG (CORETEXT, buffer, "Buffer resize"); - /* string_ref uses the scratch-buffer for backing store, and line references - * string_ref (via attr_string). We must release those before resizing buffer. */ - assert (string_ref); - assert (line); - CFRelease (string_ref); - CFRelease (line); - string_ref = nullptr; - line = nullptr; - - /* Get previous start-of-scratch-area, that we use later for readjusting - * our existing scratch arrays. */ - unsigned int old_scratch_used; - hb_buffer_t::scratch_buffer_t *old_scratch; - old_scratch = buffer->get_scratch_buffer (&old_scratch_used); - old_scratch_used = scratch - old_scratch; - - if (unlikely (!buffer->ensure (buffer->allocated * 2))) - FAIL ("Buffer resize failed"); - - /* Adjust scratch, pchars, and log_cluster arrays. This is ugly, but really the - * cleanest way to do without completely restructuring the rest of this shaper. */ - scratch = buffer->get_scratch_buffer (&scratch_size); - pchars = reinterpret_cast (((char *) scratch + ((char *) pchars - (char *) old_scratch))); - log_clusters = reinterpret_cast (((char *) scratch + ((char *) log_clusters - (char *) old_scratch))); - scratch += old_scratch_used; - scratch_size -= old_scratch_used; - } - { - string_ref = CFStringCreateWithCharactersNoCopy (nullptr, - pchars, chars_len, - kCFAllocatorNull); - if (unlikely (!string_ref)) - FAIL ("CFStringCreateWithCharactersNoCopy failed"); - - /* Create an attributed string, populate it, and create a line from it, then release attributed string. */ - { - CFMutableAttributedStringRef attr_string = CFAttributedStringCreateMutable (kCFAllocatorDefault, - chars_len); - if (unlikely (!attr_string)) - FAIL ("CFAttributedStringCreateMutable failed"); - CFAttributedStringReplaceString (attr_string, CFRangeMake (0, 0), string_ref); - if (HB_DIRECTION_IS_VERTICAL (buffer->props.direction)) - { - CFAttributedStringSetAttribute (attr_string, CFRangeMake (0, chars_len), - kCTVerticalFormsAttributeName, kCFBooleanTrue); - } - - if (buffer->props.language) - { -/* What's the iOS equivalent of this check? - * The symbols was introduced in iOS 7.0. - * At any rate, our fallback is safe and works fine. */ -#if !(defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE) && MAC_OS_X_VERSION_MIN_REQUIRED < 1090 -# define kCTLanguageAttributeName CFSTR ("NSLanguage") -#endif - CFStringRef lang = CFStringCreateWithCStringNoCopy (kCFAllocatorDefault, - hb_language_to_string (buffer->props.language), - kCFStringEncodingUTF8, - kCFAllocatorNull); - if (unlikely (!lang)) - { - CFRelease (attr_string); - FAIL ("CFStringCreateWithCStringNoCopy failed"); - } - CFAttributedStringSetAttribute (attr_string, CFRangeMake (0, chars_len), - kCTLanguageAttributeName, lang); - CFRelease (lang); - } - CFAttributedStringSetAttribute (attr_string, CFRangeMake (0, chars_len), - kCTFontAttributeName, ct_font); - - if (num_features && range_records.length) - { - unsigned int start = 0; - range_record_t *last_range = &range_records[0]; - for (unsigned int k = 0; k < chars_len; k++) - { - range_record_t *range = last_range; - while (log_clusters[k] < range->index_first) - range--; - while (log_clusters[k] > range->index_last) - range++; - if (range != last_range) - { - if (last_range->font) - CFAttributedStringSetAttribute (attr_string, CFRangeMake (start, k - start), - kCTFontAttributeName, last_range->font); - - start = k; - } - - last_range = range; - } - if (start != chars_len && last_range->font) - CFAttributedStringSetAttribute (attr_string, CFRangeMake (start, chars_len - start), - kCTFontAttributeName, last_range->font); - } - /* Enable/disable kern if requested. - * - * Note: once kern is disabled, reenabling it doesn't currently seem to work in CoreText. - */ - if (num_features) - { - unsigned int zeroint = 0; - CFNumberRef zero = CFNumberCreate (kCFAllocatorDefault, kCFNumberIntType, &zeroint); - for (unsigned int i = 0; i < num_features; i++) - { - const hb_feature_t &feature = features[i]; - if (feature.tag == HB_TAG('k','e','r','n') && - feature.start < chars_len && feature.start < feature.end) - { - CFRange feature_range = CFRangeMake (feature.start, - hb_min (feature.end, chars_len) - feature.start); - if (feature.value) - CFAttributedStringRemoveAttribute (attr_string, feature_range, kCTKernAttributeName); - else - CFAttributedStringSetAttribute (attr_string, feature_range, kCTKernAttributeName, zero); - } - } - CFRelease (zero); - } - - int level = HB_DIRECTION_IS_FORWARD (buffer->props.direction) ? 0 : 1; - CFNumberRef level_number = CFNumberCreate (kCFAllocatorDefault, kCFNumberIntType, &level); -#if !(defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE) && MAC_OS_X_VERSION_MIN_REQUIRED < 1060 - extern const CFStringRef kCTTypesetterOptionForcedEmbeddingLevel; -#endif - CFDictionaryRef options = CFDictionaryCreate (kCFAllocatorDefault, - (const void **) &kCTTypesetterOptionForcedEmbeddingLevel, - (const void **) &level_number, - 1, - &kCFTypeDictionaryKeyCallBacks, - &kCFTypeDictionaryValueCallBacks); - CFRelease (level_number); - if (unlikely (!options)) - { - CFRelease (attr_string); - FAIL ("CFDictionaryCreate failed"); - } - - CTTypesetterRef typesetter = CTTypesetterCreateWithAttributedStringAndOptions (attr_string, options); - CFRelease (options); - CFRelease (attr_string); - if (unlikely (!typesetter)) - FAIL ("CTTypesetterCreateWithAttributedStringAndOptions failed"); - - line = CTTypesetterCreateLine (typesetter, CFRangeMake(0, 0)); - CFRelease (typesetter); - if (unlikely (!line)) - FAIL ("CTTypesetterCreateLine failed"); - } - - CFArrayRef glyph_runs = CTLineGetGlyphRuns (line); - unsigned int num_runs = CFArrayGetCount (glyph_runs); - DEBUG_MSG (CORETEXT, nullptr, "Num runs: %d", num_runs); - - buffer->len = 0; - uint32_t status_and = ~0, status_or = 0; - CGFloat advances_so_far = 0; - /* For right-to-left runs, CoreText returns the glyphs positioned such that - * any trailing whitespace is to the left of (0,0). Adjust coordinate system - * to fix for that. Test with any RTL string with trailing spaces. - * https://crbug.com/469028 - */ - if (HB_DIRECTION_IS_BACKWARD (buffer->props.direction)) - { - advances_so_far -= CTLineGetTrailingWhitespaceWidth (line); - if (HB_DIRECTION_IS_VERTICAL (buffer->props.direction)) - advances_so_far = -advances_so_far; - } - - const CFRange range_all = CFRangeMake (0, 0); - - for (unsigned int i = 0; i < num_runs; i++) - { - CTRunRef run = static_cast(CFArrayGetValueAtIndex (glyph_runs, i)); - CTRunStatus run_status = CTRunGetStatus (run); - status_or |= run_status; - status_and &= run_status; - DEBUG_MSG (CORETEXT, run, "CTRunStatus: %x", run_status); - CGFloat run_advance = CTRunGetTypographicBounds (run, range_all, nullptr, nullptr, nullptr); - if (HB_DIRECTION_IS_VERTICAL (buffer->props.direction)) - run_advance = -run_advance; - DEBUG_MSG (CORETEXT, run, "Run advance: %g", (double) run_advance); - - /* CoreText does automatic font fallback (AKA "cascading") for characters - * not supported by the requested font, and provides no way to turn it off, - * so we must detect if the returned run uses a font other than the requested - * one and fill in the buffer with .notdef glyphs instead of random glyph - * indices from a different font. - */ - CFDictionaryRef attributes = CTRunGetAttributes (run); - CTFontRef run_ct_font = static_cast(CFDictionaryGetValue (attributes, kCTFontAttributeName)); - if (!CFEqual (run_ct_font, ct_font)) - { - /* The run doesn't use our main font instance. We have to figure out - * whether font fallback happened, or this is just CoreText giving us - * another CTFont using the same underlying CGFont. CoreText seems - * to do that in a variety of situations, one of which being vertical - * text, but also perhaps for caching reasons. - * - * First, see if it uses any of our subfonts created to set font features... - * - * Next, compare the CGFont to the one we used to create our fonts. - * Even this doesn't work all the time. - * - * Finally, we compare PS names, which I don't think are unique... - * - * Looks like if we really want to be sure here we have to modify the - * font to change the name table, similar to what we do in the uniscribe - * backend. - * - * However, even that wouldn't work if we were passed in the CGFont to - * construct a hb_face to begin with. - * - * See: https://github.com/harfbuzz/harfbuzz/pull/36 - * - * Also see: https://bugs.chromium.org/p/chromium/issues/detail?id=597098 - */ - bool matched = false; - for (unsigned int i = 0; i < range_records.length; i++) - if (range_records[i].font && CFEqual (run_ct_font, range_records[i].font)) - { - matched = true; - break; - } - if (!matched) - { - CGFontRef run_cg_font = CTFontCopyGraphicsFont (run_ct_font, nullptr); - if (run_cg_font) - { - matched = CFEqual (run_cg_font, cg_font); - CFRelease (run_cg_font); - } - } - if (!matched) - { - CFStringRef font_ps_name = CTFontCopyName (ct_font, kCTFontPostScriptNameKey); - CFStringRef run_ps_name = CTFontCopyName (run_ct_font, kCTFontPostScriptNameKey); - CFComparisonResult result = CFStringCompare (run_ps_name, font_ps_name, 0); - CFRelease (run_ps_name); - CFRelease (font_ps_name); - if (result == kCFCompareEqualTo) - matched = true; - } - if (!matched) - { - CFRange range = CTRunGetStringRange (run); - DEBUG_MSG (CORETEXT, run, "Run used fallback font: %ld..%ld", - range.location, range.location + range.length); - if (!buffer->ensure_inplace (buffer->len + range.length)) - goto resize_and_retry; - hb_glyph_info_t *info = buffer->info + buffer->len; - - hb_codepoint_t notdef = 0; - hb_direction_t dir = buffer->props.direction; - hb_position_t x_advance, y_advance, x_offset, y_offset; - hb_font_get_glyph_advance_for_direction (font, notdef, dir, &x_advance, &y_advance); - hb_font_get_glyph_origin_for_direction (font, notdef, dir, &x_offset, &y_offset); - hb_position_t advance = x_advance + y_advance; - x_offset = -x_offset; - y_offset = -y_offset; - - unsigned int old_len = buffer->len; - for (CFIndex j = range.location; j < range.location + range.length; j++) - { - UniChar ch = CFStringGetCharacterAtIndex (string_ref, j); - if (hb_in_range (ch, 0xDC00u, 0xDFFFu) && range.location < j) - { - ch = CFStringGetCharacterAtIndex (string_ref, j - 1); - if (hb_in_range (ch, 0xD800u, 0xDBFFu)) - /* This is the second of a surrogate pair. Don't need .notdef - * for this one. */ - continue; - } - if (buffer->unicode->is_default_ignorable (ch)) - continue; - - info->codepoint = notdef; - info->cluster = log_clusters[j]; - - info->mask = advance; - info->var1.i32 = x_offset; - info->var2.i32 = y_offset; - - info++; - buffer->len++; - } - if (HB_DIRECTION_IS_BACKWARD (buffer->props.direction)) - buffer->reverse_range (old_len, buffer->len); - advances_so_far += run_advance; - continue; - } - } - - unsigned int num_glyphs = CTRunGetGlyphCount (run); - if (num_glyphs == 0) - continue; - - if (!buffer->ensure_inplace (buffer->len + num_glyphs)) - goto resize_and_retry; - - hb_glyph_info_t *run_info = buffer->info + buffer->len; - - /* Testing used to indicate that CTRunGetGlyphsPtr, etc (almost?) always - * succeed, and so copying data to our own buffer will be rare. Reports - * have it that this changed in OS X 10.10 Yosemite, and nullptr is returned - * frequently. At any rate, we can test that codepath by setting USE_PTR - * to false. */ - -#define USE_PTR true - -#define SCRATCH_SAVE() \ - unsigned int scratch_size_saved = scratch_size; \ - hb_buffer_t::scratch_buffer_t *scratch_saved = scratch - -#define SCRATCH_RESTORE() \ - scratch_size = scratch_size_saved; \ - scratch = scratch_saved - - { /* Setup glyphs */ - SCRATCH_SAVE(); - const CGGlyph* glyphs = USE_PTR ? CTRunGetGlyphsPtr (run) : nullptr; - if (!glyphs) { - ALLOCATE_ARRAY (CGGlyph, glyph_buf, num_glyphs, goto resize_and_retry); - CTRunGetGlyphs (run, range_all, glyph_buf); - glyphs = glyph_buf; - } - const CFIndex* string_indices = USE_PTR ? CTRunGetStringIndicesPtr (run) : nullptr; - if (!string_indices) { - ALLOCATE_ARRAY (CFIndex, index_buf, num_glyphs, goto resize_and_retry); - CTRunGetStringIndices (run, range_all, index_buf); - string_indices = index_buf; - } - hb_glyph_info_t *info = run_info; - for (unsigned int j = 0; j < num_glyphs; j++) - { - info->codepoint = glyphs[j]; - info->cluster = log_clusters[string_indices[j]]; - info++; - } - SCRATCH_RESTORE(); - } - { - /* Setup positions. - * Note that CoreText does not return advances for glyphs. As such, - * for all but last glyph, we use the delta position to next glyph as - * advance (in the advance direction only), and for last glyph we set - * whatever is needed to make the whole run's advance add up. */ - SCRATCH_SAVE(); - const CGPoint* positions = USE_PTR ? CTRunGetPositionsPtr (run) : nullptr; - if (!positions) { - ALLOCATE_ARRAY (CGPoint, position_buf, num_glyphs, goto resize_and_retry); - CTRunGetPositions (run, range_all, position_buf); - positions = position_buf; - } - hb_glyph_info_t *info = run_info; - if (HB_DIRECTION_IS_HORIZONTAL (buffer->props.direction)) - { - hb_position_t x_offset = round ((positions[0].x - advances_so_far) * x_mult); - for (unsigned int j = 0; j < num_glyphs; j++) - { - CGFloat advance; - if (likely (j + 1 < num_glyphs)) - advance = positions[j + 1].x - positions[j].x; - else /* last glyph */ - advance = run_advance - (positions[j].x - positions[0].x); - info->mask = round (advance * x_mult); - info->var1.i32 = x_offset; - info->var2.i32 = round (positions[j].y * y_mult); - info++; - } - } - else - { - hb_position_t y_offset = round ((positions[0].y - advances_so_far) * y_mult); - for (unsigned int j = 0; j < num_glyphs; j++) - { - CGFloat advance; - if (likely (j + 1 < num_glyphs)) - advance = positions[j + 1].y - positions[j].y; - else /* last glyph */ - advance = run_advance - (positions[j].y - positions[0].y); - info->mask = round (advance * y_mult); - info->var1.i32 = round (positions[j].x * x_mult); - info->var2.i32 = y_offset; - info++; - } - } - SCRATCH_RESTORE(); - advances_so_far += run_advance; - } -#undef SCRATCH_RESTORE -#undef SCRATCH_SAVE -#undef USE_PTR -#undef ALLOCATE_ARRAY - - buffer->len += num_glyphs; - } - - /* Mac OS 10.6 doesn't have kCTTypesetterOptionForcedEmbeddingLevel, - * or if it does, it doesn't respect it. So we get runs with wrong - * directions. As such, disable the assert... It wouldn't crash, but - * cursoring will be off... - * - * https://crbug.com/419769 - */ - if (false) - { - /* Make sure all runs had the expected direction. */ - HB_UNUSED bool backward = HB_DIRECTION_IS_BACKWARD (buffer->props.direction); - assert (bool (status_and & kCTRunStatusRightToLeft) == backward); - assert (bool (status_or & kCTRunStatusRightToLeft) == backward); - } - - buffer->clear_positions (); - - unsigned int count = buffer->len; - hb_glyph_info_t *info = buffer->info; - hb_glyph_position_t *pos = buffer->pos; - if (HB_DIRECTION_IS_HORIZONTAL (buffer->props.direction)) - for (unsigned int i = 0; i < count; i++) - { - pos->x_advance = info->mask; - pos->x_offset = info->var1.i32; - pos->y_offset = info->var2.i32; - - info++, pos++; - } - else - for (unsigned int i = 0; i < count; i++) - { - pos->y_advance = info->mask; - pos->x_offset = info->var1.i32; - pos->y_offset = info->var2.i32; - - info++, pos++; - } - - /* Fix up clusters so that we never return out-of-order indices; - * if core text has reordered glyphs, we'll merge them to the - * beginning of the reordered cluster. CoreText is nice enough - * to tell us whenever it has produced nonmonotonic results... - * Note that we assume the input clusters were nonmonotonic to - * begin with. - * - * This does *not* mean we'll form the same clusters as Uniscribe - * or the native OT backend, only that the cluster indices will be - * monotonic in the output buffer. */ - if (count > 1 && (status_or & kCTRunStatusNonMonotonic)) - { - hb_glyph_info_t *info = buffer->info; - if (HB_DIRECTION_IS_FORWARD (buffer->props.direction)) - { - unsigned int cluster = info[count - 1].cluster; - for (unsigned int i = count - 1; i > 0; i--) - { - cluster = hb_min (cluster, info[i - 1].cluster); - info[i - 1].cluster = cluster; - } - } - else - { - unsigned int cluster = info[0].cluster; - for (unsigned int i = 1; i < count; i++) - { - cluster = hb_min (cluster, info[i].cluster); - info[i].cluster = cluster; - } - } - } - } - - buffer->clear_glyph_flags (HB_GLYPH_FLAG_UNSAFE_TO_BREAK); - -#undef FAIL - -fail: - if (string_ref) - CFRelease (string_ref); - if (line) - CFRelease (line); - - for (unsigned int i = 0; i < range_records.length; i++) - if (range_records[i].font) - CFRelease (range_records[i].font); - - return ret; -} - - -#endif diff --git a/harfbuzz/src/hb-coretext.h b/harfbuzz/src/hb-coretext.h deleted file mode 100644 index e53dbaf..0000000 --- a/harfbuzz/src/hb-coretext.h +++ /dev/null @@ -1,96 +0,0 @@ -/* - * Copyright © 2012 Mozilla Foundation. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Mozilla Author(s): Jonathan Kew - */ - -#ifndef HB_CORETEXT_H -#define HB_CORETEXT_H - -#include "hb.h" - -#include -#if TARGET_OS_IPHONE -# include -# include -#else -# include -#endif - -HB_BEGIN_DECLS - - -/** - * HB_CORETEXT_TAG_MORT: - * - * The #hb_tag_t tag for the `mort` (glyph metamorphosis) table, - * which holds AAT features. - * - * For more information, see - * https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6mort.html - * - **/ -#define HB_CORETEXT_TAG_MORT HB_TAG('m','o','r','t') - -/** - * HB_CORETEXT_TAG_MORX: - * - * The #hb_tag_t tag for the `morx` (extended glyph metamorphosis) - * table, which holds AAT features. - * - * For more information, see - * https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6morx.html - * - **/ -#define HB_CORETEXT_TAG_MORX HB_TAG('m','o','r','x') - -/** - * HB_CORETEXT_TAG_KERX: - * - * The #hb_tag_t tag for the `kerx` (extended kerning) table, which - * holds AAT kerning information. - * - * For more information, see - * https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6kerx.html - * - **/ -#define HB_CORETEXT_TAG_KERX HB_TAG('k','e','r','x') - - -HB_EXTERN hb_face_t * -hb_coretext_face_create (CGFontRef cg_font); - -HB_EXTERN hb_font_t * -hb_coretext_font_create (CTFontRef ct_font); - - -HB_EXTERN CGFontRef -hb_coretext_face_get_cg_font (hb_face_t *face); - -HB_EXTERN CTFontRef -hb_coretext_font_get_ct_font (hb_font_t *font); - - -HB_END_DECLS - -#endif /* HB_CORETEXT_H */ diff --git a/harfbuzz/src/hb-debug.hh b/harfbuzz/src/hb-debug.hh deleted file mode 100644 index 3ac7440..0000000 --- a/harfbuzz/src/hb-debug.hh +++ /dev/null @@ -1,463 +0,0 @@ -/* - * Copyright © 2017 Google, Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Google Author(s): Behdad Esfahbod - */ - -#ifndef HB_DEBUG_HH -#define HB_DEBUG_HH - -#include "hb.hh" -#include "hb-atomic.hh" -#include "hb-algs.hh" - - -#ifndef HB_DEBUG -#define HB_DEBUG 0 -#endif - - -/* - * Global runtime options. - */ - -struct hb_options_t -{ - bool unused : 1; /* In-case sign bit is here. */ - bool initialized : 1; - bool uniscribe_bug_compatible : 1; -}; - -union hb_options_union_t { - int i; - hb_options_t opts; -}; -static_assert ((sizeof (hb_atomic_int_t) >= sizeof (hb_options_union_t)), ""); - -HB_INTERNAL void -_hb_options_init (); - -extern HB_INTERNAL hb_atomic_int_t _hb_options; - -static inline hb_options_t -hb_options () -{ -#ifdef HB_NO_GETENV - return hb_options_t (); -#endif - /* Make a local copy, so we can access bitfield threadsafely. */ - hb_options_union_t u; - u.i = _hb_options.get_relaxed (); - - if (unlikely (!u.i)) - { - _hb_options_init (); - u.i = _hb_options.get_relaxed (); - } - - return u.opts; -} - - -/* - * Debug output (needs enabling at compile time.) - */ - -static inline bool -_hb_debug (unsigned int level, - unsigned int max_level) -{ - return level < max_level; -} - -#define DEBUG_LEVEL_ENABLED(WHAT, LEVEL) (_hb_debug ((LEVEL), HB_DEBUG_##WHAT)) -#define DEBUG_ENABLED(WHAT) (DEBUG_LEVEL_ENABLED (WHAT, 0)) - -static inline void -_hb_print_func (const char *func) -{ - if (func) - { - unsigned int func_len = strlen (func); - /* Skip "static" */ - if (0 == strncmp (func, "static ", 7)) - func += 7; - /* Skip "typename" */ - if (0 == strncmp (func, "typename ", 9)) - func += 9; - /* Skip return type */ - const char *space = strchr (func, ' '); - if (space) - func = space + 1; - /* Skip parameter list */ - const char *paren = strchr (func, '('); - if (paren) - func_len = paren - func; - fprintf (stderr, "%.*s", func_len, func); - } -} - -template static inline void -_hb_debug_msg_va (const char *what, - const void *obj, - const char *func, - bool indented, - unsigned int level, - int level_dir, - const char *message, - va_list ap) HB_PRINTF_FUNC(7, 0); -template static inline void -_hb_debug_msg_va (const char *what, - const void *obj, - const char *func, - bool indented, - unsigned int level, - int level_dir, - const char *message, - va_list ap) -{ - if (!_hb_debug (level, max_level)) - return; - - fprintf (stderr, "%-10s", what ? what : ""); - - if (obj) - fprintf (stderr, "(%*p) ", (unsigned int) (2 * sizeof (void *)), obj); - else - fprintf (stderr, " %*s ", (unsigned int) (2 * sizeof (void *)), ""); - - if (indented) { -#define VBAR "\342\224\202" /* U+2502 BOX DRAWINGS LIGHT VERTICAL */ -#define VRBAR "\342\224\234" /* U+251C BOX DRAWINGS LIGHT VERTICAL AND RIGHT */ -#define DLBAR "\342\225\256" /* U+256E BOX DRAWINGS LIGHT ARC DOWN AND LEFT */ -#define ULBAR "\342\225\257" /* U+256F BOX DRAWINGS LIGHT ARC UP AND LEFT */ -#define LBAR "\342\225\264" /* U+2574 BOX DRAWINGS LIGHT LEFT */ - static const char bars[] = - VBAR VBAR VBAR VBAR VBAR VBAR VBAR VBAR VBAR VBAR - VBAR VBAR VBAR VBAR VBAR VBAR VBAR VBAR VBAR VBAR - VBAR VBAR VBAR VBAR VBAR VBAR VBAR VBAR VBAR VBAR - VBAR VBAR VBAR VBAR VBAR VBAR VBAR VBAR VBAR VBAR - VBAR VBAR VBAR VBAR VBAR VBAR VBAR VBAR VBAR VBAR; - fprintf (stderr, "%2u %s" VRBAR "%s", - level, - bars + sizeof (bars) - 1 - hb_min ((unsigned int) sizeof (bars) - 1, (unsigned int) (sizeof (VBAR) - 1) * level), - level_dir ? (level_dir > 0 ? DLBAR : ULBAR) : LBAR); - } else - fprintf (stderr, " " VRBAR LBAR); - - _hb_print_func (func); - - if (message) - { - fprintf (stderr, ": "); - vfprintf (stderr, message, ap); - } - - fprintf (stderr, "\n"); -} -template <> inline void HB_PRINTF_FUNC(7, 0) -_hb_debug_msg_va<0> (const char *what HB_UNUSED, - const void *obj HB_UNUSED, - const char *func HB_UNUSED, - bool indented HB_UNUSED, - unsigned int level HB_UNUSED, - int level_dir HB_UNUSED, - const char *message HB_UNUSED, - va_list ap HB_UNUSED) {} - -template static inline void -_hb_debug_msg (const char *what, - const void *obj, - const char *func, - bool indented, - unsigned int level, - int level_dir, - const char *message, - ...) HB_PRINTF_FUNC(7, 8); -template static inline void HB_PRINTF_FUNC(7, 8) -_hb_debug_msg (const char *what, - const void *obj, - const char *func, - bool indented, - unsigned int level, - int level_dir, - const char *message, - ...) -{ - va_list ap; - va_start (ap, message); - _hb_debug_msg_va (what, obj, func, indented, level, level_dir, message, ap); - va_end (ap); -} -template <> inline void -_hb_debug_msg<0> (const char *what HB_UNUSED, - const void *obj HB_UNUSED, - const char *func HB_UNUSED, - bool indented HB_UNUSED, - unsigned int level HB_UNUSED, - int level_dir HB_UNUSED, - const char *message HB_UNUSED, - ...) HB_PRINTF_FUNC(7, 8); -template <> inline void HB_PRINTF_FUNC(7, 8) -_hb_debug_msg<0> (const char *what HB_UNUSED, - const void *obj HB_UNUSED, - const char *func HB_UNUSED, - bool indented HB_UNUSED, - unsigned int level HB_UNUSED, - int level_dir HB_UNUSED, - const char *message HB_UNUSED, - ...) {} - -#define DEBUG_MSG_LEVEL(WHAT, OBJ, LEVEL, LEVEL_DIR, ...) _hb_debug_msg (#WHAT, (OBJ), nullptr, true, (LEVEL), (LEVEL_DIR), __VA_ARGS__) -#define DEBUG_MSG(WHAT, OBJ, ...) _hb_debug_msg (#WHAT, (OBJ), nullptr, false, 0, 0, __VA_ARGS__) -#define DEBUG_MSG_FUNC(WHAT, OBJ, ...) _hb_debug_msg (#WHAT, (OBJ), HB_FUNC, false, 0, 0, __VA_ARGS__) - - -/* - * Printer - */ - -template -struct hb_printer_t { - const char *print (const T&) { return "something"; } -}; - -template <> -struct hb_printer_t { - const char *print (bool v) { return v ? "true" : "false"; } -}; - -template <> -struct hb_printer_t { - const char *print (hb_empty_t) { return ""; } -}; - - -/* - * Trace - */ - -template -static inline void _hb_warn_no_return (bool returned) -{ - if (unlikely (!returned)) { - fprintf (stderr, "OUCH, returned with no call to return_trace(). This is a bug, please report.\n"); - } -} -template <> -/*static*/ inline void _hb_warn_no_return (bool returned HB_UNUSED) -{} - -template -struct hb_auto_trace_t -{ - explicit inline hb_auto_trace_t (unsigned int *plevel_, - const char *what_, - const void *obj_, - const char *func, - const char *message, - ...) HB_PRINTF_FUNC(6, 7) - : plevel (plevel_), what (what_), obj (obj_), returned (false) - { - if (plevel) ++*plevel; - - va_list ap; - va_start (ap, message); - _hb_debug_msg_va (what, obj, func, true, plevel ? *plevel : 0, +1, message, ap); - va_end (ap); - } - ~hb_auto_trace_t () - { - _hb_warn_no_return (returned); - if (!returned) { - _hb_debug_msg (what, obj, nullptr, true, plevel ? *plevel : 1, -1, " "); - } - if (plevel) --*plevel; - } - - template - T ret (T&& v, - const char *func = "", - unsigned int line = 0) - { - if (unlikely (returned)) { - fprintf (stderr, "OUCH, double calls to return_trace(). This is a bug, please report.\n"); - return std::forward (v); - } - - _hb_debug_msg (what, obj, func, true, plevel ? *plevel : 1, -1, - "return %s (line %d)", - hb_printer_t>().print (v), line); - if (plevel) --*plevel; - plevel = nullptr; - returned = true; - return std::forward (v); - } - - private: - unsigned int *plevel; - const char *what; - const void *obj; - bool returned; -}; -template /* Make sure we don't use hb_auto_trace_t when not tracing. */ -struct hb_auto_trace_t<0, ret_t> -{ - explicit inline hb_auto_trace_t (unsigned int *plevel_, - const char *what_, - const void *obj_, - const char *func, - const char *message, - ...) HB_PRINTF_FUNC(6, 7) {} - - template - T ret (T&& v, - const char *func HB_UNUSED = nullptr, - unsigned int line HB_UNUSED = 0) { return std::forward (v); } -}; - -/* For disabled tracing; optimize out everything. - * https://github.com/harfbuzz/harfbuzz/pull/605 */ -template -struct hb_no_trace_t { - template - T ret (T&& v, - const char *func HB_UNUSED = nullptr, - unsigned int line HB_UNUSED = 0) { return std::forward (v); } -}; - -#define return_trace(RET) return trace.ret (RET, HB_FUNC, __LINE__) - - -/* - * Instances. - */ - -#ifndef HB_DEBUG_ARABIC -#define HB_DEBUG_ARABIC (HB_DEBUG+0) -#endif - -#ifndef HB_DEBUG_BLOB -#define HB_DEBUG_BLOB (HB_DEBUG+0) -#endif - -#ifndef HB_DEBUG_CORETEXT -#define HB_DEBUG_CORETEXT (HB_DEBUG+0) -#endif - -#ifndef HB_DEBUG_DIRECTWRITE -#define HB_DEBUG_DIRECTWRITE (HB_DEBUG+0) -#endif - -#ifndef HB_DEBUG_FT -#define HB_DEBUG_FT (HB_DEBUG+0) -#endif - -#ifndef HB_DEBUG_OBJECT -#define HB_DEBUG_OBJECT (HB_DEBUG+0) -#endif - -#ifndef HB_DEBUG_SHAPE_PLAN -#define HB_DEBUG_SHAPE_PLAN (HB_DEBUG+0) -#endif - -#ifndef HB_DEBUG_UNISCRIBE -#define HB_DEBUG_UNISCRIBE (HB_DEBUG+0) -#endif - -/* - * With tracing. - */ - -#ifndef HB_DEBUG_APPLY -#define HB_DEBUG_APPLY (HB_DEBUG+0) -#endif -#if HB_DEBUG_APPLY -#define TRACE_APPLY(this) \ - hb_auto_trace_t trace \ - (&c->debug_depth, c->get_name (), this, HB_FUNC, \ - "idx %d gid %u lookup %d", \ - c->buffer->idx, c->buffer->cur().codepoint, (int) c->lookup_index) -#else -#define TRACE_APPLY(this) hb_no_trace_t trace -#endif - -#ifndef HB_DEBUG_SANITIZE -#define HB_DEBUG_SANITIZE (HB_DEBUG+0) -#endif -#if HB_DEBUG_SANITIZE -#define TRACE_SANITIZE(this) \ - hb_auto_trace_t trace \ - (&c->debug_depth, c->get_name (), this, HB_FUNC, \ - " ") -#else -#define TRACE_SANITIZE(this) hb_no_trace_t trace -#endif - -#ifndef HB_DEBUG_SERIALIZE -#define HB_DEBUG_SERIALIZE (HB_DEBUG+0) -#endif -#if HB_DEBUG_SERIALIZE -#define TRACE_SERIALIZE(this) \ - hb_auto_trace_t trace \ - (&c->debug_depth, "SERIALIZE", c, HB_FUNC, \ - " ") -#else -#define TRACE_SERIALIZE(this) hb_no_trace_t trace -#endif - -#ifndef HB_DEBUG_SUBSET -#define HB_DEBUG_SUBSET (HB_DEBUG+0) -#endif -#if HB_DEBUG_SUBSET -#define TRACE_SUBSET(this) \ - hb_auto_trace_t trace \ - (&c->debug_depth, c->get_name (), this, HB_FUNC, \ - " ") -#else -#define TRACE_SUBSET(this) hb_no_trace_t trace -#endif - -#ifndef HB_DEBUG_SUBSET_REPACK -#define HB_DEBUG_SUBSET_REPACK (HB_DEBUG+0) -#endif - -#ifndef HB_DEBUG_DISPATCH -#define HB_DEBUG_DISPATCH ( \ - HB_DEBUG_APPLY + \ - HB_DEBUG_SANITIZE + \ - HB_DEBUG_SERIALIZE + \ - HB_DEBUG_SUBSET + \ - 0) -#endif -#if HB_DEBUG_DISPATCH -#define TRACE_DISPATCH(this, format) \ - hb_auto_trace_t trace \ - (&c->debug_depth, c->get_name (), this, HB_FUNC, \ - "format %d", (int) format) -#else -#define TRACE_DISPATCH(this, format) hb_no_trace_t trace -#endif - - -#endif /* HB_DEBUG_HH */ diff --git a/harfbuzz/src/hb-deprecated.h b/harfbuzz/src/hb-deprecated.h deleted file mode 100644 index a130d77..0000000 --- a/harfbuzz/src/hb-deprecated.h +++ /dev/null @@ -1,251 +0,0 @@ -/* - * Copyright © 2013 Google, Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Google Author(s): Behdad Esfahbod - */ - -#if !defined(HB_H_IN) && !defined(HB_NO_SINGLE_HEADER_ERROR) -#error "Include instead." -#endif - -#ifndef HB_DEPRECATED_H -#define HB_DEPRECATED_H - -#include "hb-common.h" -#include "hb-unicode.h" -#include "hb-font.h" -#include "hb-set.h" - - -/** - * SECTION:hb-deprecated - * @title: hb-deprecated - * @short_description: Deprecated API - * @include: hb.h - * - * These API have been deprecated in favor of newer API, or because they - * were deemed unnecessary. - **/ - - -HB_BEGIN_DECLS - -#ifndef HB_DISABLE_DEPRECATED - - -/** - * HB_SCRIPT_CANADIAN_ABORIGINAL: - * - * Use #HB_SCRIPT_CANADIAN_SYLLABICS instead: - * - * Deprecated: 0.9.20 - */ -#define HB_SCRIPT_CANADIAN_ABORIGINAL HB_SCRIPT_CANADIAN_SYLLABICS - -/** - * HB_BUFFER_FLAGS_DEFAULT: - * - * Use #HB_BUFFER_FLAG_DEFAULT instead. - * - * Deprecated: 0.9.20 - */ -#define HB_BUFFER_FLAGS_DEFAULT HB_BUFFER_FLAG_DEFAULT -/** - * HB_BUFFER_SERIALIZE_FLAGS_DEFAULT: - * - * Use #HB_BUFFER_SERIALIZE_FLAG_DEFAULT instead. - * - * Deprecated: 0.9.20 - */ -#define HB_BUFFER_SERIALIZE_FLAGS_DEFAULT HB_BUFFER_SERIALIZE_FLAG_DEFAULT - -/** - * hb_font_get_glyph_func_t: - * @font: #hb_font_t to work upon - * @font_data: @font user data pointer - * @unicode: The Unicode code point to query - * @variation_selector: The variation-selector code point to query - * @glyph: (out): The glyph ID retrieved - * @user_data: User data pointer passed by the caller - * - * A virtual method for the #hb_font_funcs_t of an #hb_font_t object. - * - * This method should retrieve the glyph ID for a specified Unicode code point - * font, with an optional variation selector. - * - * Return value: %true if data found, %false otherwise - * Deprecated: 1.2.3 - * - **/ -typedef hb_bool_t (*hb_font_get_glyph_func_t) (hb_font_t *font, void *font_data, - hb_codepoint_t unicode, hb_codepoint_t variation_selector, - hb_codepoint_t *glyph, - void *user_data); - -HB_EXTERN HB_DEPRECATED_FOR(hb_font_funcs_set_nominal_glyph_func and hb_font_funcs_set_variation_glyph_func) void -hb_font_funcs_set_glyph_func (hb_font_funcs_t *ffuncs, - hb_font_get_glyph_func_t func, - void *user_data, hb_destroy_func_t destroy); - -/** - * hb_unicode_eastasian_width_func_t: - * @ufuncs: A Unicode-functions structure - * @unicode: The code point to query - * @user_data: User data pointer passed by the caller - * - * A virtual method for the #hb_unicode_funcs_t structure. - * - * Deprecated: 2.0.0 - */ -typedef unsigned int (*hb_unicode_eastasian_width_func_t) (hb_unicode_funcs_t *ufuncs, - hb_codepoint_t unicode, - void *user_data); - -/** - * hb_unicode_funcs_set_eastasian_width_func: - * @ufuncs: a Unicode-function structure - * @func: (closure user_data) (destroy destroy) (scope notified): The callback function to assign - * @user_data: Data to pass to @func - * @destroy: (nullable): The function to call when @user_data is not needed anymore - * - * Sets the implementation function for #hb_unicode_eastasian_width_func_t. - * - * Since: 0.9.2 - * Deprecated: 2.0.0 - **/ -HB_EXTERN HB_DEPRECATED void -hb_unicode_funcs_set_eastasian_width_func (hb_unicode_funcs_t *ufuncs, - hb_unicode_eastasian_width_func_t func, - void *user_data, hb_destroy_func_t destroy); - -/** - * hb_unicode_eastasian_width: - * @ufuncs: a Unicode-function structure - * @unicode: The code point to query - * - * Don't use. Not used by HarfBuzz. - * - * Since: 0.9.2 - * Deprecated: 2.0.0 - **/ -HB_EXTERN HB_DEPRECATED unsigned int -hb_unicode_eastasian_width (hb_unicode_funcs_t *ufuncs, - hb_codepoint_t unicode); - - -/** - * hb_unicode_decompose_compatibility_func_t: - * @ufuncs: a Unicode function structure - * @u: codepoint to decompose - * @decomposed: address of codepoint array (of length #HB_UNICODE_MAX_DECOMPOSITION_LEN) to write decomposition into - * @user_data: user data pointer as passed to hb_unicode_funcs_set_decompose_compatibility_func() - * - * Fully decompose @u to its Unicode compatibility decomposition. The codepoints of the decomposition will be written to @decomposed. - * The complete length of the decomposition will be returned. - * - * If @u has no compatibility decomposition, zero should be returned. - * - * The Unicode standard guarantees that a buffer of length #HB_UNICODE_MAX_DECOMPOSITION_LEN codepoints will always be sufficient for any - * compatibility decomposition plus an terminating value of 0. Consequently, @decompose must be allocated by the caller to be at least this length. Implementations - * of this function type must ensure that they do not write past the provided array. - * - * Return value: number of codepoints in the full compatibility decomposition of @u, or 0 if no decomposition available. - * - * Deprecated: 2.0.0 - */ -typedef unsigned int (*hb_unicode_decompose_compatibility_func_t) (hb_unicode_funcs_t *ufuncs, - hb_codepoint_t u, - hb_codepoint_t *decomposed, - void *user_data); - -/** - * HB_UNICODE_MAX_DECOMPOSITION_LEN: - * - * See Unicode 6.1 for details on the maximum decomposition length. - * - * Deprecated: 2.0.0 - */ -#define HB_UNICODE_MAX_DECOMPOSITION_LEN (18+1) /* codepoints */ - -/** - * hb_unicode_funcs_set_decompose_compatibility_func: - * @ufuncs: A Unicode-functions structure - * @func: (closure user_data) (destroy destroy) (scope notified): The callback function to assign - * @user_data: Data to pass to @func - * @destroy: (nullable): The function to call when @user_data is not needed anymore - * - * Sets the implementation function for #hb_unicode_decompose_compatibility_func_t. - * - * - * - * Since: 0.9.2 - * Deprecated: 2.0.0 - **/ -HB_EXTERN HB_DEPRECATED void -hb_unicode_funcs_set_decompose_compatibility_func (hb_unicode_funcs_t *ufuncs, - hb_unicode_decompose_compatibility_func_t func, - void *user_data, hb_destroy_func_t destroy); - -HB_EXTERN HB_DEPRECATED unsigned int -hb_unicode_decompose_compatibility (hb_unicode_funcs_t *ufuncs, - hb_codepoint_t u, - hb_codepoint_t *decomposed); - - -/** - * hb_font_get_glyph_v_kerning_func_t: - * - * A virtual method for the #hb_font_funcs_t of an #hb_font_t object. - * - * This method should retrieve the kerning-adjustment value for a glyph-pair in - * the specified font, for vertical text segments. - * - **/ -typedef hb_font_get_glyph_kerning_func_t hb_font_get_glyph_v_kerning_func_t; - -/** - * hb_font_funcs_set_glyph_v_kerning_func: - * @ffuncs: A font-function structure - * @func: (closure user_data) (destroy destroy) (scope notified): The callback function to assign - * @user_data: Data to pass to @func - * @destroy: (nullable): The function to call when @user_data is not needed anymore - * - * Sets the implementation function for #hb_font_get_glyph_v_kerning_func_t. - * - * Since: 0.9.2 - * Deprecated: 2.0.0 - **/ -HB_EXTERN void -hb_font_funcs_set_glyph_v_kerning_func (hb_font_funcs_t *ffuncs, - hb_font_get_glyph_v_kerning_func_t func, - void *user_data, hb_destroy_func_t destroy); - -HB_EXTERN hb_position_t -hb_font_get_glyph_v_kerning (hb_font_t *font, - hb_codepoint_t top_glyph, hb_codepoint_t bottom_glyph); - -#endif - -HB_END_DECLS - -#endif /* HB_DEPRECATED_H */ diff --git a/harfbuzz/src/hb-directwrite.cc b/harfbuzz/src/hb-directwrite.cc deleted file mode 100644 index dea87b8..0000000 --- a/harfbuzz/src/hb-directwrite.cc +++ /dev/null @@ -1,860 +0,0 @@ -/* - * Copyright © 2015-2019 Ebrahim Byagowi - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - */ - -#include "hb.hh" - -#ifdef HAVE_DIRECTWRITE - -#include "hb-shaper-impl.hh" - -#include - -#include "hb-directwrite.h" - -#include "hb-ms-feature-ranges.hh" - -/** - * SECTION:hb-directwrite - * @title: hb-directwrite - * @short_description: DirectWrite integration - * @include: hb-directwrite.h - * - * Functions for using HarfBuzz with DirectWrite fonts. - **/ - -/* - * DirectWrite font stream helpers - */ - -// This is a font loader which provides only one font (unlike its original design). -// For a better implementation which was also source of this -// and DWriteFontFileStream, have a look at to NativeFontResourceDWrite.cpp in Mozilla -class DWriteFontFileLoader : public IDWriteFontFileLoader -{ -private: - IDWriteFontFileStream *mFontFileStream; -public: - DWriteFontFileLoader (IDWriteFontFileStream *fontFileStream) - { mFontFileStream = fontFileStream; } - - // IUnknown interface - IFACEMETHOD (QueryInterface) (IID const& iid, OUT void** ppObject) - { return S_OK; } - IFACEMETHOD_ (ULONG, AddRef) () { return 1; } - IFACEMETHOD_ (ULONG, Release) () { return 1; } - - // IDWriteFontFileLoader methods - virtual HRESULT STDMETHODCALLTYPE - CreateStreamFromKey (void const* fontFileReferenceKey, - uint32_t fontFileReferenceKeySize, - OUT IDWriteFontFileStream** fontFileStream) - { - *fontFileStream = mFontFileStream; - return S_OK; - } - - virtual ~DWriteFontFileLoader() {} -}; - -class DWriteFontFileStream : public IDWriteFontFileStream -{ -private: - uint8_t *mData; - uint32_t mSize; -public: - DWriteFontFileStream (uint8_t *aData, uint32_t aSize) - { - mData = aData; - mSize = aSize; - } - - // IUnknown interface - IFACEMETHOD (QueryInterface) (IID const& iid, OUT void** ppObject) - { return S_OK; } - IFACEMETHOD_ (ULONG, AddRef) () { return 1; } - IFACEMETHOD_ (ULONG, Release) () { return 1; } - - // IDWriteFontFileStream methods - virtual HRESULT STDMETHODCALLTYPE - ReadFileFragment (void const** fragmentStart, - UINT64 fileOffset, - UINT64 fragmentSize, - OUT void** fragmentContext) - { - // We are required to do bounds checking. - if (fileOffset + fragmentSize > mSize) return E_FAIL; - - // truncate the 64 bit fileOffset to size_t sized index into mData - size_t index = static_cast (fileOffset); - - // We should be alive for the duration of this. - *fragmentStart = &mData[index]; - *fragmentContext = nullptr; - return S_OK; - } - - virtual void STDMETHODCALLTYPE - ReleaseFileFragment (void* fragmentContext) {} - - virtual HRESULT STDMETHODCALLTYPE - GetFileSize (OUT UINT64* fileSize) - { - *fileSize = mSize; - return S_OK; - } - - virtual HRESULT STDMETHODCALLTYPE - GetLastWriteTime (OUT UINT64* lastWriteTime) { return E_NOTIMPL; } - - virtual ~DWriteFontFileStream() {} -}; - - -/* -* shaper face data -*/ - -struct hb_directwrite_face_data_t -{ - IDWriteFactory *dwriteFactory; - IDWriteFontFile *fontFile; - DWriteFontFileStream *fontFileStream; - DWriteFontFileLoader *fontFileLoader; - IDWriteFontFace *fontFace; - hb_blob_t *faceBlob; -}; - -hb_directwrite_face_data_t * -_hb_directwrite_shaper_face_data_create (hb_face_t *face) -{ - hb_directwrite_face_data_t *data = new hb_directwrite_face_data_t; - if (unlikely (!data)) - return nullptr; - -#define FAIL(...) \ - HB_STMT_START { \ - DEBUG_MSG (DIRECTWRITE, nullptr, __VA_ARGS__); \ - return nullptr; \ - } HB_STMT_END - - HRESULT hr; - - // TODO: factory and fontFileLoader should be cached separately - IDWriteFactory* dwriteFactory; - hr = DWriteCreateFactory (DWRITE_FACTORY_TYPE_SHARED, __uuidof (IDWriteFactory), - (IUnknown**) &dwriteFactory); - - if (unlikely (hr != S_OK)) - FAIL ("Failed to run DWriteCreateFactory()."); - - hb_blob_t *blob = hb_face_reference_blob (face); - DWriteFontFileStream *fontFileStream; - fontFileStream = new DWriteFontFileStream ((uint8_t *) hb_blob_get_data (blob, nullptr), - hb_blob_get_length (blob)); - - DWriteFontFileLoader *fontFileLoader = new DWriteFontFileLoader (fontFileStream); - dwriteFactory->RegisterFontFileLoader (fontFileLoader); - - IDWriteFontFile *fontFile; - uint64_t fontFileKey = 0; - hr = dwriteFactory->CreateCustomFontFileReference (&fontFileKey, sizeof (fontFileKey), - fontFileLoader, &fontFile); - - if (FAILED (hr)) - FAIL ("Failed to load font file from data!"); - - BOOL isSupported; - DWRITE_FONT_FILE_TYPE fileType; - DWRITE_FONT_FACE_TYPE faceType; - uint32_t numberOfFaces; - hr = fontFile->Analyze (&isSupported, &fileType, &faceType, &numberOfFaces); - if (FAILED (hr) || !isSupported) - FAIL ("Font file is not supported."); - -#undef FAIL - - IDWriteFontFace *fontFace; - dwriteFactory->CreateFontFace (faceType, 1, &fontFile, 0, - DWRITE_FONT_SIMULATIONS_NONE, &fontFace); - - data->dwriteFactory = dwriteFactory; - data->fontFile = fontFile; - data->fontFileStream = fontFileStream; - data->fontFileLoader = fontFileLoader; - data->fontFace = fontFace; - data->faceBlob = blob; - - return data; -} - -void -_hb_directwrite_shaper_face_data_destroy (hb_directwrite_face_data_t *data) -{ - if (data->fontFace) - data->fontFace->Release (); - if (data->fontFile) - data->fontFile->Release (); - if (data->dwriteFactory) - { - if (data->fontFileLoader) - data->dwriteFactory->UnregisterFontFileLoader (data->fontFileLoader); - data->dwriteFactory->Release (); - } - if (data->fontFileLoader) - delete data->fontFileLoader; - if (data->fontFileStream) - delete data->fontFileStream; - if (data->faceBlob) - hb_blob_destroy (data->faceBlob); - if (data) - delete data; -} - - -/* - * shaper font data - */ - -struct hb_directwrite_font_data_t {}; - -hb_directwrite_font_data_t * -_hb_directwrite_shaper_font_data_create (hb_font_t *font) -{ - hb_directwrite_font_data_t *data = new hb_directwrite_font_data_t; - if (unlikely (!data)) - return nullptr; - - return data; -} - -void -_hb_directwrite_shaper_font_data_destroy (hb_directwrite_font_data_t *data) -{ - delete data; -} - - -// Most of TextAnalysis is originally written by Bas Schouten for Mozilla project -// but now is relicensed to MIT for HarfBuzz use -class TextAnalysis : public IDWriteTextAnalysisSource, public IDWriteTextAnalysisSink -{ -public: - - IFACEMETHOD (QueryInterface) (IID const& iid, OUT void** ppObject) - { return S_OK; } - IFACEMETHOD_ (ULONG, AddRef) () { return 1; } - IFACEMETHOD_ (ULONG, Release) () { return 1; } - - // A single contiguous run of characters containing the same analysis - // results. - struct Run - { - uint32_t mTextStart; // starting text position of this run - uint32_t mTextLength; // number of contiguous code units covered - uint32_t mGlyphStart; // starting glyph in the glyphs array - uint32_t mGlyphCount; // number of glyphs associated with this run - // text - DWRITE_SCRIPT_ANALYSIS mScript; - uint8_t mBidiLevel; - bool mIsSideways; - - bool ContainsTextPosition (uint32_t aTextPosition) const - { - return aTextPosition >= mTextStart && - aTextPosition < mTextStart + mTextLength; - } - - Run *nextRun; - }; - -public: - TextAnalysis (const wchar_t* text, uint32_t textLength, - const wchar_t* localeName, DWRITE_READING_DIRECTION readingDirection) - : mTextLength (textLength), mText (text), mLocaleName (localeName), - mReadingDirection (readingDirection), mCurrentRun (nullptr) {} - ~TextAnalysis () - { - // delete runs, except mRunHead which is part of the TextAnalysis object - for (Run *run = mRunHead.nextRun; run;) - { - Run *origRun = run; - run = run->nextRun; - delete origRun; - } - } - - STDMETHODIMP - GenerateResults (IDWriteTextAnalyzer* textAnalyzer, Run **runHead) - { - // Analyzes the text using the script analyzer and returns - // the result as a series of runs. - - HRESULT hr = S_OK; - - // Initially start out with one result that covers the entire range. - // This result will be subdivided by the analysis processes. - mRunHead.mTextStart = 0; - mRunHead.mTextLength = mTextLength; - mRunHead.mBidiLevel = - (mReadingDirection == DWRITE_READING_DIRECTION_RIGHT_TO_LEFT); - mRunHead.nextRun = nullptr; - mCurrentRun = &mRunHead; - - // Call each of the analyzers in sequence, recording their results. - if (SUCCEEDED (hr = textAnalyzer->AnalyzeScript (this, 0, mTextLength, this))) - *runHead = &mRunHead; - - return hr; - } - - // IDWriteTextAnalysisSource implementation - - IFACEMETHODIMP - GetTextAtPosition (uint32_t textPosition, - OUT wchar_t const** textString, - OUT uint32_t* textLength) - { - if (textPosition >= mTextLength) - { - // No text at this position, valid query though. - *textString = nullptr; - *textLength = 0; - } - else - { - *textString = mText + textPosition; - *textLength = mTextLength - textPosition; - } - return S_OK; - } - - IFACEMETHODIMP - GetTextBeforePosition (uint32_t textPosition, - OUT wchar_t const** textString, - OUT uint32_t* textLength) - { - if (textPosition == 0 || textPosition > mTextLength) - { - // Either there is no text before here (== 0), or this - // is an invalid position. The query is considered valid though. - *textString = nullptr; - *textLength = 0; - } - else - { - *textString = mText; - *textLength = textPosition; - } - return S_OK; - } - - IFACEMETHODIMP_ (DWRITE_READING_DIRECTION) - GetParagraphReadingDirection () { return mReadingDirection; } - - IFACEMETHODIMP GetLocaleName (uint32_t textPosition, uint32_t* textLength, - wchar_t const** localeName) - { return S_OK; } - - IFACEMETHODIMP - GetNumberSubstitution (uint32_t textPosition, - OUT uint32_t* textLength, - OUT IDWriteNumberSubstitution** numberSubstitution) - { - // We do not support number substitution. - *numberSubstitution = nullptr; - *textLength = mTextLength - textPosition; - - return S_OK; - } - - // IDWriteTextAnalysisSink implementation - - IFACEMETHODIMP - SetScriptAnalysis (uint32_t textPosition, uint32_t textLength, - DWRITE_SCRIPT_ANALYSIS const* scriptAnalysis) - { - SetCurrentRun (textPosition); - SplitCurrentRun (textPosition); - while (textLength > 0) - { - Run *run = FetchNextRun (&textLength); - run->mScript = *scriptAnalysis; - } - - return S_OK; - } - - IFACEMETHODIMP - SetLineBreakpoints (uint32_t textPosition, - uint32_t textLength, - const DWRITE_LINE_BREAKPOINT* lineBreakpoints) - { return S_OK; } - - IFACEMETHODIMP SetBidiLevel (uint32_t textPosition, uint32_t textLength, - uint8_t explicitLevel, uint8_t resolvedLevel) - { return S_OK; } - - IFACEMETHODIMP - SetNumberSubstitution (uint32_t textPosition, uint32_t textLength, - IDWriteNumberSubstitution* numberSubstitution) - { return S_OK; } - -protected: - Run *FetchNextRun (IN OUT uint32_t* textLength) - { - // Used by the sink setters, this returns a reference to the next run. - // Position and length are adjusted to now point after the current run - // being returned. - - Run *origRun = mCurrentRun; - // Split the tail if needed (the length remaining is less than the - // current run's size). - if (*textLength < mCurrentRun->mTextLength) - SplitCurrentRun (mCurrentRun->mTextStart + *textLength); - else - // Just advance the current run. - mCurrentRun = mCurrentRun->nextRun; - *textLength -= origRun->mTextLength; - - // Return a reference to the run that was just current. - return origRun; - } - - void SetCurrentRun (uint32_t textPosition) - { - // Move the current run to the given position. - // Since the analyzers generally return results in a forward manner, - // this will usually just return early. If not, find the - // corresponding run for the text position. - - if (mCurrentRun && mCurrentRun->ContainsTextPosition (textPosition)) - return; - - for (Run *run = &mRunHead; run; run = run->nextRun) - if (run->ContainsTextPosition (textPosition)) - { - mCurrentRun = run; - return; - } - assert (0); // We should always be able to find the text position in one of our runs - } - - void SplitCurrentRun (uint32_t splitPosition) - { - if (!mCurrentRun) - { - assert (0); // SplitCurrentRun called without current run - // Shouldn't be calling this when no current run is set! - return; - } - // Split the current run. - if (splitPosition <= mCurrentRun->mTextStart) - { - // No need to split, already the start of a run - // or before it. Usually the first. - return; - } - Run *newRun = new Run; - - *newRun = *mCurrentRun; - - // Insert the new run in our linked list. - newRun->nextRun = mCurrentRun->nextRun; - mCurrentRun->nextRun = newRun; - - // Adjust runs' text positions and lengths. - uint32_t splitPoint = splitPosition - mCurrentRun->mTextStart; - newRun->mTextStart += splitPoint; - newRun->mTextLength -= splitPoint; - mCurrentRun->mTextLength = splitPoint; - mCurrentRun = newRun; - } - -protected: - // Input - // (weak references are fine here, since this class is a transient - // stack-based helper that doesn't need to copy data) - uint32_t mTextLength; - const wchar_t* mText; - const wchar_t* mLocaleName; - DWRITE_READING_DIRECTION mReadingDirection; - - // Current processing state. - Run *mCurrentRun; - - // Output is a list of runs starting here - Run mRunHead; -}; - -/* - * shaper - */ - -hb_bool_t -_hb_directwrite_shape (hb_shape_plan_t *shape_plan, - hb_font_t *font, - hb_buffer_t *buffer, - const hb_feature_t *features, - unsigned int num_features) -{ - hb_face_t *face = font->face; - const hb_directwrite_face_data_t *face_data = face->data.directwrite; - IDWriteFactory *dwriteFactory = face_data->dwriteFactory; - IDWriteFontFace *fontFace = face_data->fontFace; - - IDWriteTextAnalyzer* analyzer; - dwriteFactory->CreateTextAnalyzer (&analyzer); - - unsigned int scratch_size; - hb_buffer_t::scratch_buffer_t *scratch = buffer->get_scratch_buffer (&scratch_size); -#define ALLOCATE_ARRAY(Type, name, len) \ - Type *name = (Type *) scratch; \ - do { \ - unsigned int _consumed = DIV_CEIL ((len) * sizeof (Type), sizeof (*scratch)); \ - assert (_consumed <= scratch_size); \ - scratch += _consumed; \ - scratch_size -= _consumed; \ - } while (0) - -#define utf16_index() var1.u32 - - ALLOCATE_ARRAY (wchar_t, textString, buffer->len * 2); - - unsigned int chars_len = 0; - for (unsigned int i = 0; i < buffer->len; i++) - { - hb_codepoint_t c = buffer->info[i].codepoint; - buffer->info[i].utf16_index () = chars_len; - if (likely (c <= 0xFFFFu)) - textString[chars_len++] = c; - else if (unlikely (c > 0x10FFFFu)) - textString[chars_len++] = 0xFFFDu; - else - { - textString[chars_len++] = 0xD800u + ((c - 0x10000u) >> 10); - textString[chars_len++] = 0xDC00u + ((c - 0x10000u) & ((1u << 10) - 1)); - } - } - - ALLOCATE_ARRAY (WORD, log_clusters, chars_len); - /* Need log_clusters to assign features. */ - chars_len = 0; - for (unsigned int i = 0; i < buffer->len; i++) - { - hb_codepoint_t c = buffer->info[i].codepoint; - unsigned int cluster = buffer->info[i].cluster; - log_clusters[chars_len++] = cluster; - if (hb_in_range (c, 0x10000u, 0x10FFFFu)) - log_clusters[chars_len++] = cluster; /* Surrogates. */ - } - - DWRITE_READING_DIRECTION readingDirection; - readingDirection = buffer->props.direction ? - DWRITE_READING_DIRECTION_RIGHT_TO_LEFT : - DWRITE_READING_DIRECTION_LEFT_TO_RIGHT; - - /* - * There's an internal 16-bit limit on some things inside the analyzer, - * but we never attempt to shape a word longer than 64K characters - * in a single gfxShapedWord, so we cannot exceed that limit. - */ - uint32_t textLength = chars_len; - - TextAnalysis analysis (textString, textLength, nullptr, readingDirection); - TextAnalysis::Run *runHead; - HRESULT hr; - hr = analysis.GenerateResults (analyzer, &runHead); - -#define FAIL(...) \ - HB_STMT_START { \ - DEBUG_MSG (DIRECTWRITE, nullptr, __VA_ARGS__); \ - return false; \ - } HB_STMT_END - - if (FAILED (hr)) - FAIL ("Analyzer failed to generate results."); - - uint32_t maxGlyphCount = 3 * textLength / 2 + 16; - uint32_t glyphCount; - bool isRightToLeft = HB_DIRECTION_IS_BACKWARD (buffer->props.direction); - - const wchar_t localeName[20] = {0}; - if (buffer->props.language) - mbstowcs ((wchar_t*) localeName, - hb_language_to_string (buffer->props.language), 20); - - /* - * Set up features. - */ - static_assert ((sizeof (DWRITE_TYPOGRAPHIC_FEATURES) == sizeof (hb_ms_features_t)), ""); - static_assert ((sizeof (DWRITE_FONT_FEATURE) == sizeof (hb_ms_feature_t)), ""); - hb_vector_t range_features; - hb_vector_t range_char_counts; - if (num_features) - { - hb_vector_t feature_records; - hb_vector_t range_records; - if (hb_ms_setup_features (features, num_features, feature_records, range_records)) - hb_ms_make_feature_ranges (feature_records, - range_records, - 0, - chars_len, - log_clusters, - range_features, - range_char_counts); - } - - uint16_t* clusterMap; - clusterMap = new uint16_t[textLength]; - DWRITE_SHAPING_TEXT_PROPERTIES* textProperties; - textProperties = new DWRITE_SHAPING_TEXT_PROPERTIES[textLength]; - -retry_getglyphs: - uint16_t* glyphIndices = new uint16_t[maxGlyphCount]; - DWRITE_SHAPING_GLYPH_PROPERTIES* glyphProperties; - glyphProperties = new DWRITE_SHAPING_GLYPH_PROPERTIES[maxGlyphCount]; - - hr = analyzer->GetGlyphs (textString, - chars_len, - fontFace, - false, - isRightToLeft, - &runHead->mScript, - localeName, - nullptr, - (const DWRITE_TYPOGRAPHIC_FEATURES**) range_features.arrayZ, - range_char_counts.arrayZ, - range_features.length, - maxGlyphCount, - clusterMap, - textProperties, - glyphIndices, - glyphProperties, - &glyphCount); - - if (unlikely (hr == HRESULT_FROM_WIN32 (ERROR_INSUFFICIENT_BUFFER))) - { - delete [] glyphIndices; - delete [] glyphProperties; - - maxGlyphCount *= 2; - - goto retry_getglyphs; - } - if (FAILED (hr)) - FAIL ("Analyzer failed to get glyphs."); - - float* glyphAdvances = new float[maxGlyphCount]; - DWRITE_GLYPH_OFFSET* glyphOffsets = new DWRITE_GLYPH_OFFSET[maxGlyphCount]; - - /* The -2 in the following is to compensate for possible - * alignment needed after the WORD array. sizeof (WORD) == 2. */ - unsigned int glyphs_size = (scratch_size * sizeof (int) - 2) - / (sizeof (WORD) + - sizeof (DWRITE_SHAPING_GLYPH_PROPERTIES) + - sizeof (int) + - sizeof (DWRITE_GLYPH_OFFSET) + - sizeof (uint32_t)); - ALLOCATE_ARRAY (uint32_t, vis_clusters, glyphs_size); - -#undef ALLOCATE_ARRAY - - int fontEmSize = font->face->get_upem (); - if (fontEmSize < 0) fontEmSize = -fontEmSize; - - if (fontEmSize < 0) fontEmSize = -fontEmSize; - double x_mult = (double) font->x_scale / fontEmSize; - double y_mult = (double) font->y_scale / fontEmSize; - - hr = analyzer->GetGlyphPlacements (textString, - clusterMap, - textProperties, - chars_len, - glyphIndices, - glyphProperties, - glyphCount, - fontFace, - fontEmSize, - false, - isRightToLeft, - &runHead->mScript, - localeName, - (const DWRITE_TYPOGRAPHIC_FEATURES**) range_features.arrayZ, - range_char_counts.arrayZ, - range_features.length, - glyphAdvances, - glyphOffsets); - - if (FAILED (hr)) - FAIL ("Analyzer failed to get glyph placements."); - - /* Ok, we've got everything we need, now compose output buffer, - * very, *very*, carefully! */ - - /* Calculate visual-clusters. That's what we ship. */ - for (unsigned int i = 0; i < glyphCount; i++) - vis_clusters[i] = (uint32_t) -1; - for (unsigned int i = 0; i < buffer->len; i++) - { - uint32_t *p = - &vis_clusters[log_clusters[buffer->info[i].utf16_index ()]]; - *p = hb_min (*p, buffer->info[i].cluster); - } - for (unsigned int i = 1; i < glyphCount; i++) - if (vis_clusters[i] == (uint32_t) -1) - vis_clusters[i] = vis_clusters[i - 1]; - -#undef utf16_index - - if (unlikely (!buffer->ensure (glyphCount))) - FAIL ("Buffer in error"); - -#undef FAIL - - /* Set glyph infos */ - buffer->len = 0; - for (unsigned int i = 0; i < glyphCount; i++) - { - hb_glyph_info_t *info = &buffer->info[buffer->len++]; - - info->codepoint = glyphIndices[i]; - info->cluster = vis_clusters[i]; - - /* The rest is crap. Let's store position info there for now. */ - info->mask = glyphAdvances[i]; - info->var1.i32 = glyphOffsets[i].advanceOffset; - info->var2.i32 = glyphOffsets[i].ascenderOffset; - } - - /* Set glyph positions */ - buffer->clear_positions (); - for (unsigned int i = 0; i < glyphCount; i++) - { - hb_glyph_info_t *info = &buffer->info[i]; - hb_glyph_position_t *pos = &buffer->pos[i]; - - /* TODO vertical */ - pos->x_advance = x_mult * (int32_t) info->mask; - pos->x_offset = x_mult * (isRightToLeft ? -info->var1.i32 : info->var1.i32); - pos->y_offset = y_mult * info->var2.i32; - } - - if (isRightToLeft) hb_buffer_reverse (buffer); - - buffer->clear_glyph_flags (HB_GLYPH_FLAG_UNSAFE_TO_BREAK); - - delete [] clusterMap; - delete [] glyphIndices; - delete [] textProperties; - delete [] glyphProperties; - delete [] glyphAdvances; - delete [] glyphOffsets; - - /* Wow, done! */ - return true; -} - -struct _hb_directwrite_font_table_context { - IDWriteFontFace *face; - void *table_context; -}; - -static void -_hb_directwrite_table_data_release (void *data) -{ - _hb_directwrite_font_table_context *context = (_hb_directwrite_font_table_context *) data; - context->face->ReleaseFontTable (context->table_context); - hb_free (context); -} - -static hb_blob_t * -_hb_directwrite_reference_table (hb_face_t *face HB_UNUSED, hb_tag_t tag, void *user_data) -{ - IDWriteFontFace *dw_face = ((IDWriteFontFace *) user_data); - const void *data; - uint32_t length; - void *table_context; - BOOL exists; - if (!dw_face || FAILED (dw_face->TryGetFontTable (hb_uint32_swap (tag), &data, - &length, &table_context, &exists))) - return nullptr; - - if (!data || !exists || !length) - { - dw_face->ReleaseFontTable (table_context); - return nullptr; - } - - _hb_directwrite_font_table_context *context = (_hb_directwrite_font_table_context *) hb_malloc (sizeof (_hb_directwrite_font_table_context)); - context->face = dw_face; - context->table_context = table_context; - - return hb_blob_create ((const char *) data, length, HB_MEMORY_MODE_READONLY, - context, _hb_directwrite_table_data_release); -} - -static void -_hb_directwrite_font_release (void *data) -{ - if (data) - ((IDWriteFontFace *) data)->Release (); -} - -/** - * hb_directwrite_face_create: - * @font_face: a DirectWrite IDWriteFontFace object. - * - * Constructs a new face object from the specified DirectWrite IDWriteFontFace. - * - * Return value: #hb_face_t object corresponding to the given input - * - * Since: 2.4.0 - **/ -hb_face_t * -hb_directwrite_face_create (IDWriteFontFace *font_face) -{ - if (font_face) - font_face->AddRef (); - return hb_face_create_for_tables (_hb_directwrite_reference_table, font_face, - _hb_directwrite_font_release); -} - -/** -* hb_directwrite_face_get_font_face: -* @face: a #hb_face_t object -* -* Gets the DirectWrite IDWriteFontFace associated with @face. -* -* Return value: DirectWrite IDWriteFontFace object corresponding to the given input -* -* Since: 2.5.0 -**/ -IDWriteFontFace * -hb_directwrite_face_get_font_face (hb_face_t *face) -{ - return face->data.directwrite->fontFace; -} - - -#endif diff --git a/harfbuzz/src/hb-directwrite.h b/harfbuzz/src/hb-directwrite.h deleted file mode 100644 index f837627..0000000 --- a/harfbuzz/src/hb-directwrite.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright © 2015-2019 Ebrahim Byagowi - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - */ - -#ifndef HB_DIRECTWRITE_H -#define HB_DIRECTWRITE_H - -#include "hb.h" - -HB_BEGIN_DECLS - -HB_EXTERN hb_face_t * -hb_directwrite_face_create (IDWriteFontFace *font_face); - -HB_EXTERN IDWriteFontFace * -hb_directwrite_face_get_font_face (hb_face_t *face); - -HB_END_DECLS - -#endif /* HB_DIRECTWRITE_H */ diff --git a/harfbuzz/src/hb-dispatch.hh b/harfbuzz/src/hb-dispatch.hh deleted file mode 100644 index 37ca681..0000000 --- a/harfbuzz/src/hb-dispatch.hh +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright © 2007,2008,2009,2010 Red Hat, Inc. - * Copyright © 2012,2018 Google, Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Red Hat Author(s): Behdad Esfahbod - * Google Author(s): Behdad Esfahbod - */ - -#ifndef HB_DISPATCH_HH -#define HB_DISPATCH_HH - -#include "hb.hh" - -/* - * Dispatch - */ - -template -struct hb_dispatch_context_t -{ - private: - /* https://en.wikipedia.org/wiki/Curiously_recurring_template_pattern */ - const Context* thiz () const { return static_cast (this); } - Context* thiz () { return static_cast< Context *> (this); } - public: - const char *get_name () { return "UNKNOWN"; } - static constexpr unsigned max_debug_depth = MaxDebugDepth; - typedef Return return_t; - template - bool may_dispatch (const T *obj HB_UNUSED, const F *format HB_UNUSED) { return true; } - template - return_t dispatch (const T &obj, Ts&&... ds) - { return obj.dispatch (thiz (), std::forward (ds)...); } - static return_t no_dispatch_return_value () { return Context::default_return_value (); } - static bool stop_sublookup_iteration (const return_t r HB_UNUSED) { return false; } - unsigned debug_depth = 0; -}; - - -#endif /* HB_DISPATCH_HH */ diff --git a/harfbuzz/src/hb-draw.cc b/harfbuzz/src/hb-draw.cc deleted file mode 100644 index c0af6ce..0000000 --- a/harfbuzz/src/hb-draw.cc +++ /dev/null @@ -1,261 +0,0 @@ -/* - * Copyright © 2019-2020 Ebrahim Byagowi - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - */ - -#include "hb.hh" - -#ifndef HB_NO_DRAW -#ifdef HB_EXPERIMENTAL_API - -#include "hb-draw.hh" -#include "hb-ot.h" -#include "hb-ot-glyf-table.hh" -#include "hb-ot-cff1-table.hh" -#include "hb-ot-cff2-table.hh" - -/** - * hb_draw_funcs_set_move_to_func: - * @funcs: draw functions object - * @move_to: move-to callback - * - * Sets move-to callback to the draw functions object. - * - * Since: EXPERIMENTAL - **/ -void -hb_draw_funcs_set_move_to_func (hb_draw_funcs_t *funcs, - hb_draw_move_to_func_t move_to) -{ - if (unlikely (hb_object_is_immutable (funcs))) return; - funcs->move_to = move_to; -} - -/** - * hb_draw_funcs_set_line_to_func: - * @funcs: draw functions object - * @line_to: line-to callback - * - * Sets line-to callback to the draw functions object. - * - * Since: EXPERIMENTAL - **/ -void -hb_draw_funcs_set_line_to_func (hb_draw_funcs_t *funcs, - hb_draw_line_to_func_t line_to) -{ - if (unlikely (hb_object_is_immutable (funcs))) return; - funcs->line_to = line_to; -} - -/** - * hb_draw_funcs_set_quadratic_to_func: - * @funcs: draw functions object - * @move_to: quadratic-to callback - * - * Sets quadratic-to callback to the draw functions object. - * - * Since: EXPERIMENTAL - **/ -void -hb_draw_funcs_set_quadratic_to_func (hb_draw_funcs_t *funcs, - hb_draw_quadratic_to_func_t quadratic_to) -{ - if (unlikely (hb_object_is_immutable (funcs))) return; - funcs->quadratic_to = quadratic_to; - funcs->is_quadratic_to_set = true; -} - -/** - * hb_draw_funcs_set_cubic_to_func: - * @funcs: draw functions - * @cubic_to: cubic-to callback - * - * Sets cubic-to callback to the draw functions object. - * - * Since: EXPERIMENTAL - **/ -void -hb_draw_funcs_set_cubic_to_func (hb_draw_funcs_t *funcs, - hb_draw_cubic_to_func_t cubic_to) -{ - if (unlikely (hb_object_is_immutable (funcs))) return; - funcs->cubic_to = cubic_to; -} - -/** - * hb_draw_funcs_set_close_path_func: - * @funcs: draw functions object - * @close_path: close-path callback - * - * Sets close-path callback to the draw functions object. - * - * Since: EXPERIMENTAL - **/ -void -hb_draw_funcs_set_close_path_func (hb_draw_funcs_t *funcs, - hb_draw_close_path_func_t close_path) -{ - if (unlikely (hb_object_is_immutable (funcs))) return; - funcs->close_path = close_path; -} - -static void -_move_to_nil (hb_position_t to_x HB_UNUSED, hb_position_t to_y HB_UNUSED, void *user_data HB_UNUSED) {} - -static void -_line_to_nil (hb_position_t to_x HB_UNUSED, hb_position_t to_y HB_UNUSED, void *user_data HB_UNUSED) {} - -static void -_quadratic_to_nil (hb_position_t control_x HB_UNUSED, hb_position_t control_y HB_UNUSED, - hb_position_t to_x HB_UNUSED, hb_position_t to_y HB_UNUSED, - void *user_data HB_UNUSED) {} - -static void -_cubic_to_nil (hb_position_t control1_x HB_UNUSED, hb_position_t control1_y HB_UNUSED, - hb_position_t control2_x HB_UNUSED, hb_position_t control2_y HB_UNUSED, - hb_position_t to_x HB_UNUSED, hb_position_t to_y HB_UNUSED, - void *user_data HB_UNUSED) {} - -static void -_close_path_nil (void *user_data HB_UNUSED) {} - -/** - * hb_draw_funcs_create: - * - * Creates a new draw callbacks object. - * - * Since: EXPERIMENTAL - **/ -hb_draw_funcs_t * -hb_draw_funcs_create () -{ - hb_draw_funcs_t *funcs; - if (unlikely (!(funcs = hb_object_create ()))) - return const_cast (&Null (hb_draw_funcs_t)); - - funcs->move_to = (hb_draw_move_to_func_t) _move_to_nil; - funcs->line_to = (hb_draw_line_to_func_t) _line_to_nil; - funcs->quadratic_to = (hb_draw_quadratic_to_func_t) _quadratic_to_nil; - funcs->is_quadratic_to_set = false; - funcs->cubic_to = (hb_draw_cubic_to_func_t) _cubic_to_nil; - funcs->close_path = (hb_draw_close_path_func_t) _close_path_nil; - return funcs; -} - -/** - * hb_draw_funcs_reference: - * @funcs: draw functions - * - * Add to callbacks object refcount. - * - * Returns: The same object. - * Since: EXPERIMENTAL - **/ -hb_draw_funcs_t * -hb_draw_funcs_reference (hb_draw_funcs_t *funcs) -{ - return hb_object_reference (funcs); -} - -/** - * hb_draw_funcs_destroy: - * @funcs: draw functions - * - * Decreases refcount of callbacks object and deletes the object if it reaches - * to zero. - * - * Since: EXPERIMENTAL - **/ -void -hb_draw_funcs_destroy (hb_draw_funcs_t *funcs) -{ - if (!hb_object_destroy (funcs)) return; - - hb_free (funcs); -} - -/** - * hb_draw_funcs_make_immutable: - * @funcs: draw functions - * - * Makes funcs object immutable. - * - * Since: EXPERIMENTAL - **/ -void -hb_draw_funcs_make_immutable (hb_draw_funcs_t *funcs) -{ - if (hb_object_is_immutable (funcs)) - return; - - hb_object_make_immutable (funcs); -} - -/** - * hb_draw_funcs_is_immutable: - * @funcs: draw functions - * - * Checks whether funcs is immutable. - * - * Returns: If is immutable. - * Since: EXPERIMENTAL - **/ -hb_bool_t -hb_draw_funcs_is_immutable (hb_draw_funcs_t *funcs) -{ - return hb_object_is_immutable (funcs); -} - -/** - * hb_font_draw_glyph: - * @font: a font object - * @glyph: a glyph id - * @funcs: draw callbacks object - * @user_data: parameter you like be passed to the callbacks when are called - * - * Draw a glyph. - * - * Returns: Whether the font had the glyph and the operation completed successfully. - * Since: EXPERIMENTAL - **/ -hb_bool_t -hb_font_draw_glyph (hb_font_t *font, hb_codepoint_t glyph, - const hb_draw_funcs_t *funcs, - void *user_data) -{ - if (unlikely (funcs == &Null (hb_draw_funcs_t) || - glyph >= font->face->get_num_glyphs ())) - return false; - - draw_helper_t draw_helper (funcs, user_data); - if (font->face->table.glyf->get_path (font, glyph, draw_helper)) return true; -#ifndef HB_NO_CFF - if (font->face->table.cff1->get_path (font, glyph, draw_helper)) return true; - if (font->face->table.cff2->get_path (font, glyph, draw_helper)) return true; -#endif - - return false; -} - -#endif -#endif diff --git a/harfbuzz/src/hb-draw.h b/harfbuzz/src/hb-draw.h deleted file mode 100644 index bddc876..0000000 --- a/harfbuzz/src/hb-draw.h +++ /dev/null @@ -1,98 +0,0 @@ -/* - * Copyright © 2019-2020 Ebrahim Byagowi - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - */ - -#if !defined(HB_H_IN) && !defined(HB_NO_SINGLE_HEADER_ERROR) -#error "Include instead." -#endif - -#ifndef HB_DRAW_H -#define HB_DRAW_H - -#include "hb.h" - -HB_BEGIN_DECLS - -#ifdef HB_EXPERIMENTAL_API -typedef void (*hb_draw_move_to_func_t) (hb_position_t to_x, hb_position_t to_y, void *user_data); -typedef void (*hb_draw_line_to_func_t) (hb_position_t to_x, hb_position_t to_y, void *user_data); -typedef void (*hb_draw_quadratic_to_func_t) (hb_position_t control_x, hb_position_t control_y, - hb_position_t to_x, hb_position_t to_y, - void *user_data); -typedef void (*hb_draw_cubic_to_func_t) (hb_position_t control1_x, hb_position_t control1_y, - hb_position_t control2_x, hb_position_t control2_y, - hb_position_t to_x, hb_position_t to_y, - void *user_data); -typedef void (*hb_draw_close_path_func_t) (void *user_data); - -/** - * hb_draw_funcs_t: - * - * Glyph draw callbacks. - * - * _move_to, _line_to and _cubic_to calls are nessecary to be defined but we - * translate _quadratic_to calls to _cubic_to if the callback isn't defined. - * - * Since: EXPERIMENTAL - **/ -typedef struct hb_draw_funcs_t hb_draw_funcs_t; - -HB_EXTERN void -hb_draw_funcs_set_move_to_func (hb_draw_funcs_t *funcs, - hb_draw_move_to_func_t move_to); - -HB_EXTERN void -hb_draw_funcs_set_line_to_func (hb_draw_funcs_t *funcs, - hb_draw_line_to_func_t line_to); - -HB_EXTERN void -hb_draw_funcs_set_quadratic_to_func (hb_draw_funcs_t *funcs, - hb_draw_quadratic_to_func_t quadratic_to); - -HB_EXTERN void -hb_draw_funcs_set_cubic_to_func (hb_draw_funcs_t *funcs, - hb_draw_cubic_to_func_t cubic_to); - -HB_EXTERN void -hb_draw_funcs_set_close_path_func (hb_draw_funcs_t *funcs, - hb_draw_close_path_func_t close_path); - -HB_EXTERN hb_draw_funcs_t * -hb_draw_funcs_create (void); - -HB_EXTERN hb_draw_funcs_t * -hb_draw_funcs_reference (hb_draw_funcs_t *funcs); - -HB_EXTERN void -hb_draw_funcs_destroy (hb_draw_funcs_t *funcs); - -HB_EXTERN void -hb_draw_funcs_make_immutable (hb_draw_funcs_t *funcs); - -HB_EXTERN hb_bool_t -hb_draw_funcs_is_immutable (hb_draw_funcs_t *funcs); -#endif - -HB_END_DECLS - -#endif /* HB_DRAW_H */ diff --git a/harfbuzz/src/hb-draw.hh b/harfbuzz/src/hb-draw.hh deleted file mode 100644 index 2aa0a5b..0000000 --- a/harfbuzz/src/hb-draw.hh +++ /dev/null @@ -1,139 +0,0 @@ -/* - * Copyright © 2020 Ebrahim Byagowi - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - */ - -#ifndef HB_DRAW_HH -#define HB_DRAW_HH - -#include "hb.hh" - -#ifdef HB_EXPERIMENTAL_API -struct hb_draw_funcs_t -{ - hb_object_header_t header; - - hb_draw_move_to_func_t move_to; - hb_draw_line_to_func_t line_to; - hb_draw_quadratic_to_func_t quadratic_to; - bool is_quadratic_to_set; - hb_draw_cubic_to_func_t cubic_to; - hb_draw_close_path_func_t close_path; -}; - -struct draw_helper_t -{ - draw_helper_t (const hb_draw_funcs_t *funcs_, void *user_data_) - { - funcs = funcs_; - user_data = user_data_; - path_open = false; - path_start_x = current_x = path_start_y = current_y = 0; - } - ~draw_helper_t () { end_path (); } - - void move_to (hb_position_t x, hb_position_t y) - { - if (path_open) end_path (); - current_x = path_start_x = x; - current_y = path_start_y = y; - } - - void line_to (hb_position_t x, hb_position_t y) - { - if (equal_to_current (x, y)) return; - if (!path_open) start_path (); - funcs->line_to (x, y, user_data); - current_x = x; - current_y = y; - } - - void - quadratic_to (hb_position_t control_x, hb_position_t control_y, - hb_position_t to_x, hb_position_t to_y) - { - if (equal_to_current (control_x, control_y) && equal_to_current (to_x, to_y)) - return; - if (!path_open) start_path (); - if (funcs->is_quadratic_to_set) - funcs->quadratic_to (control_x, control_y, to_x, to_y, user_data); - else - funcs->cubic_to (roundf ((current_x + 2.f * control_x) / 3.f), - roundf ((current_y + 2.f * control_y) / 3.f), - roundf ((to_x + 2.f * control_x) / 3.f), - roundf ((to_y + 2.f * control_y) / 3.f), - to_x, to_y, user_data); - current_x = to_x; - current_y = to_y; - } - - void - cubic_to (hb_position_t control1_x, hb_position_t control1_y, - hb_position_t control2_x, hb_position_t control2_y, - hb_position_t to_x, hb_position_t to_y) - { - if (equal_to_current (control1_x, control1_y) && - equal_to_current (control2_x, control2_y) && - equal_to_current (to_x, to_y)) - return; - if (!path_open) start_path (); - funcs->cubic_to (control1_x, control1_y, control2_x, control2_y, to_x, to_y, user_data); - current_x = to_x; - current_y = to_y; - } - - void end_path () - { - if (path_open) - { - if ((path_start_x != current_x) || (path_start_y != current_y)) - funcs->line_to (path_start_x, path_start_y, user_data); - funcs->close_path (user_data); - } - path_open = false; - path_start_x = current_x = path_start_y = current_y = 0; - } - - protected: - bool equal_to_current (hb_position_t x, hb_position_t y) - { return current_x == x && current_y == y; } - - void start_path () - { - if (path_open) end_path (); - path_open = true; - funcs->move_to (path_start_x, path_start_y, user_data); - } - - hb_position_t path_start_x; - hb_position_t path_start_y; - - hb_position_t current_x; - hb_position_t current_y; - - bool path_open; - const hb_draw_funcs_t *funcs; - void *user_data; -}; -#endif - -#endif /* HB_DRAW_HH */ diff --git a/harfbuzz/src/hb-face.cc b/harfbuzz/src/hb-face.cc deleted file mode 100644 index 2c00873..0000000 --- a/harfbuzz/src/hb-face.cc +++ /dev/null @@ -1,778 +0,0 @@ -/* - * Copyright © 2009 Red Hat, Inc. - * Copyright © 2012 Google, Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Red Hat Author(s): Behdad Esfahbod - * Google Author(s): Behdad Esfahbod - */ - -#include "hb.hh" - -#include "hb-face.hh" -#include "hb-blob.hh" -#include "hb-open-file.hh" -#include "hb-ot-face.hh" -#include "hb-ot-cmap-table.hh" -#include "hb-map.hh" - - -/** - * SECTION:hb-face - * @title: hb-face - * @short_description: Font face objects - * @include: hb.h - * - * A font face is an object that represents a single face from within a - * font family. - * - * More precisely, a font face represents a single face in a binary font file. - * Font faces are typically built from a binary blob and a face index. - * Font faces are used to create fonts. - **/ - - -/** - * hb_face_count: - * @blob: a blob. - * - * Fetches the number of faces in a blob. - * - * Return value: Number of faces in @blob - * - * Since: 1.7.7 - **/ -unsigned int -hb_face_count (hb_blob_t *blob) -{ - if (unlikely (!blob)) - return 0; - - /* TODO We shouldn't be sanitizing blob. Port to run sanitizer and return if not sane. */ - /* Make API signature const after. */ - hb_blob_t *sanitized = hb_sanitize_context_t ().sanitize_blob (hb_blob_reference (blob)); - const OT::OpenTypeFontFile& ot = *sanitized->as (); - unsigned int ret = ot.get_face_count (); - hb_blob_destroy (sanitized); - - return ret; -} - -/* - * hb_face_t - */ - -DEFINE_NULL_INSTANCE (hb_face_t) = -{ - HB_OBJECT_HEADER_STATIC, - - nullptr, /* reference_table_func */ - nullptr, /* user_data */ - nullptr, /* destroy */ - - 0, /* index */ - 1000, /* upem */ - 0, /* num_glyphs */ - - /* Zero for the rest is fine. */ -}; - - -/** - * hb_face_create_for_tables: - * @reference_table_func: (closure user_data) (destroy destroy) (scope notified): Table-referencing function - * @user_data: A pointer to the user data - * @destroy: (nullable): A callback to call when @data is not needed anymore - * - * Variant of hb_face_create(), built for those cases where it is more - * convenient to provide data for individual tables instead of the whole font - * data. With the caveat that hb_face_get_table_tags() does not currently work - * with faces created this way. - * - * Creates a new face object from the specified @user_data and @reference_table_func, - * with the @destroy callback. - * - * Return value: (transfer full): The new face object - * - * Since: 0.9.2 - **/ -hb_face_t * -hb_face_create_for_tables (hb_reference_table_func_t reference_table_func, - void *user_data, - hb_destroy_func_t destroy) -{ - hb_face_t *face; - - if (!reference_table_func || !(face = hb_object_create ())) { - if (destroy) - destroy (user_data); - return hb_face_get_empty (); - } - - face->reference_table_func = reference_table_func; - face->user_data = user_data; - face->destroy = destroy; - - face->num_glyphs.set_relaxed (-1); - - face->data.init0 (face); - face->table.init0 (face); - - return face; -} - - -typedef struct hb_face_for_data_closure_t { - hb_blob_t *blob; - unsigned int index; -} hb_face_for_data_closure_t; - -static hb_face_for_data_closure_t * -_hb_face_for_data_closure_create (hb_blob_t *blob, unsigned int index) -{ - hb_face_for_data_closure_t *closure; - - closure = (hb_face_for_data_closure_t *) hb_calloc (1, sizeof (hb_face_for_data_closure_t)); - if (unlikely (!closure)) - return nullptr; - - closure->blob = blob; - closure->index = index; - - return closure; -} - -static void -_hb_face_for_data_closure_destroy (void *data) -{ - hb_face_for_data_closure_t *closure = (hb_face_for_data_closure_t *) data; - - hb_blob_destroy (closure->blob); - hb_free (closure); -} - -static hb_blob_t * -_hb_face_for_data_reference_table (hb_face_t *face HB_UNUSED, hb_tag_t tag, void *user_data) -{ - hb_face_for_data_closure_t *data = (hb_face_for_data_closure_t *) user_data; - - if (tag == HB_TAG_NONE) - return hb_blob_reference (data->blob); - - const OT::OpenTypeFontFile &ot_file = *data->blob->as (); - unsigned int base_offset; - const OT::OpenTypeFontFace &ot_face = ot_file.get_face (data->index, &base_offset); - - const OT::OpenTypeTable &table = ot_face.get_table_by_tag (tag); - - hb_blob_t *blob = hb_blob_create_sub_blob (data->blob, base_offset + table.offset, table.length); - - return blob; -} - -/** - * hb_face_create: (Xconstructor) - * @blob: #hb_blob_t to work upon - * @index: The index of the face within @blob - * - * Constructs a new face object from the specified blob and - * a face index into that blob. This is used for blobs of - * file formats such as Dfont and TTC that can contain more - * than one face. - * - * Return value: (transfer full): The new face object - * - * Since: 0.9.2 - **/ -hb_face_t * -hb_face_create (hb_blob_t *blob, - unsigned int index) -{ - hb_face_t *face; - - if (unlikely (!blob)) - blob = hb_blob_get_empty (); - - blob = hb_sanitize_context_t ().sanitize_blob (hb_blob_reference (blob)); - - hb_face_for_data_closure_t *closure = _hb_face_for_data_closure_create (blob, index); - - if (unlikely (!closure)) - { - hb_blob_destroy (blob); - return hb_face_get_empty (); - } - - face = hb_face_create_for_tables (_hb_face_for_data_reference_table, - closure, - _hb_face_for_data_closure_destroy); - - face->index = index; - - return face; -} - -/** - * hb_face_get_empty: - * - * Fetches the singleton empty face object. - * - * Return value: (transfer full): The empty face object - * - * Since: 0.9.2 - **/ -hb_face_t * -hb_face_get_empty () -{ - return const_cast (&Null (hb_face_t)); -} - - -/** - * hb_face_reference: (skip) - * @face: A face object - * - * Increases the reference count on a face object. - * - * Return value: The @face object - * - * Since: 0.9.2 - **/ -hb_face_t * -hb_face_reference (hb_face_t *face) -{ - return hb_object_reference (face); -} - -/** - * hb_face_destroy: (skip) - * @face: A face object - * - * Decreases the reference count on a face object. When the - * reference count reaches zero, the face is destroyed, - * freeing all memory. - * - * Since: 0.9.2 - **/ -void -hb_face_destroy (hb_face_t *face) -{ - if (!hb_object_destroy (face)) return; - - for (hb_face_t::plan_node_t *node = face->shape_plans; node; ) - { - hb_face_t::plan_node_t *next = node->next; - hb_shape_plan_destroy (node->shape_plan); - hb_free (node); - node = next; - } - - face->data.fini (); - face->table.fini (); - - if (face->destroy) - face->destroy (face->user_data); - - hb_free (face); -} - -/** - * hb_face_set_user_data: (skip) - * @face: A face object - * @key: The user-data key to set - * @data: A pointer to the user data - * @destroy: (nullable): A callback to call when @data is not needed anymore - * @replace: Whether to replace an existing data with the same key - * - * Attaches a user-data key/data pair to the given face object. - * - * Return value: %true if success, %false otherwise - * - * Since: 0.9.2 - **/ -hb_bool_t -hb_face_set_user_data (hb_face_t *face, - hb_user_data_key_t *key, - void * data, - hb_destroy_func_t destroy, - hb_bool_t replace) -{ - return hb_object_set_user_data (face, key, data, destroy, replace); -} - -/** - * hb_face_get_user_data: (skip) - * @face: A face object - * @key: The user-data key to query - * - * Fetches the user data associated with the specified key, - * attached to the specified face object. - * - * Return value: (transfer none): A pointer to the user data - * - * Since: 0.9.2 - **/ -void * -hb_face_get_user_data (const hb_face_t *face, - hb_user_data_key_t *key) -{ - return hb_object_get_user_data (face, key); -} - -/** - * hb_face_make_immutable: - * @face: A face object - * - * Makes the given face object immutable. - * - * Since: 0.9.2 - **/ -void -hb_face_make_immutable (hb_face_t *face) -{ - if (hb_object_is_immutable (face)) - return; - - hb_object_make_immutable (face); -} - -/** - * hb_face_is_immutable: - * @face: A face object - * - * Tests whether the given face object is immutable. - * - * Return value: %true is @face is immutable, %false otherwise - * - * Since: 0.9.2 - **/ -hb_bool_t -hb_face_is_immutable (const hb_face_t *face) -{ - return hb_object_is_immutable (face); -} - - -/** - * hb_face_reference_table: - * @face: A face object - * @tag: The #hb_tag_t of the table to query - * - * Fetches a reference to the specified table within - * the specified face. - * - * Return value: (transfer full): A pointer to the @tag table within @face - * - * Since: 0.9.2 - **/ -hb_blob_t * -hb_face_reference_table (const hb_face_t *face, - hb_tag_t tag) -{ - if (unlikely (tag == HB_TAG_NONE)) - return hb_blob_get_empty (); - - return face->reference_table (tag); -} - -/** - * hb_face_reference_blob: - * @face: A face object - * - * Fetches a pointer to the binary blob that contains the - * specified face. Returns an empty blob if referencing face data is not - * possible. - * - * Return value: (transfer full): A pointer to the blob for @face - * - * Since: 0.9.2 - **/ -hb_blob_t * -hb_face_reference_blob (hb_face_t *face) -{ - return face->reference_table (HB_TAG_NONE); -} - -/** - * hb_face_set_index: - * @face: A face object - * @index: The index to assign - * - * Assigns the specified face-index to @face. Fails if the - * face is immutable. - * - * Note: face indices within a collection are zero-based. - * - * Since: 0.9.2 - **/ -void -hb_face_set_index (hb_face_t *face, - unsigned int index) -{ - if (hb_object_is_immutable (face)) - return; - - face->index = index; -} - -/** - * hb_face_get_index: - * @face: A face object - * - * Fetches the face-index corresponding to the given face. - * - * Note: face indices within a collection are zero-based. - * - * Return value: The index of @face. - * - * Since: 0.9.2 - **/ -unsigned int -hb_face_get_index (const hb_face_t *face) -{ - return face->index; -} - -/** - * hb_face_set_upem: - * @face: A face object - * @upem: The units-per-em value to assign - * - * Sets the units-per-em (upem) for a face object to the specified value. - * - * Since: 0.9.2 - **/ -void -hb_face_set_upem (hb_face_t *face, - unsigned int upem) -{ - if (hb_object_is_immutable (face)) - return; - - face->upem.set_relaxed (upem); -} - -/** - * hb_face_get_upem: - * @face: A face object - * - * Fetches the units-per-em (upem) value of the specified face object. - * - * Return value: The upem value of @face - * - * Since: 0.9.2 - **/ -unsigned int -hb_face_get_upem (const hb_face_t *face) -{ - return face->get_upem (); -} - -/** - * hb_face_set_glyph_count: - * @face: A face object - * @glyph_count: The glyph-count value to assign - * - * Sets the glyph count for a face object to the specified value. - * - * Since: 0.9.7 - **/ -void -hb_face_set_glyph_count (hb_face_t *face, - unsigned int glyph_count) -{ - if (hb_object_is_immutable (face)) - return; - - face->num_glyphs.set_relaxed (glyph_count); -} - -/** - * hb_face_get_glyph_count: - * @face: A face object - * - * Fetches the glyph-count value of the specified face object. - * - * Return value: The glyph-count value of @face - * - * Since: 0.9.7 - **/ -unsigned int -hb_face_get_glyph_count (const hb_face_t *face) -{ - return face->get_num_glyphs (); -} - -/** - * hb_face_get_table_tags: - * @face: A face object - * @start_offset: The index of first table tag to retrieve - * @table_count: (inout): Input = the maximum number of table tags to return; - * Output = the actual number of table tags returned (may be zero) - * @table_tags: (out) (array length=table_count): The array of table tags found - * - * Fetches a list of all table tags for a face, if possible. The list returned will - * begin at the offset provided - * - * Return value: Total number of tables, or zero if it is not possible to list - * - * Since: 1.6.0 - **/ -unsigned int -hb_face_get_table_tags (const hb_face_t *face, - unsigned int start_offset, - unsigned int *table_count, /* IN/OUT */ - hb_tag_t *table_tags /* OUT */) -{ - if (face->destroy != (hb_destroy_func_t) _hb_face_for_data_closure_destroy) - { - if (table_count) - *table_count = 0; - return 0; - } - - hb_face_for_data_closure_t *data = (hb_face_for_data_closure_t *) face->user_data; - - const OT::OpenTypeFontFile &ot_file = *data->blob->as (); - const OT::OpenTypeFontFace &ot_face = ot_file.get_face (data->index); - - return ot_face.get_table_tags (start_offset, table_count, table_tags); -} - - -/* - * Character set. - */ - - -#ifndef HB_NO_FACE_COLLECT_UNICODES -/** - * hb_face_collect_unicodes: - * @face: A face object - * @out: The set to add Unicode characters to - * - * Collects all of the Unicode characters covered by @face and adds - * them to the #hb_set_t set @out. - * - * Since: 1.9.0 - */ -void -hb_face_collect_unicodes (hb_face_t *face, - hb_set_t *out) -{ - face->table.cmap->collect_unicodes (out, face->get_num_glyphs ()); -} -/** - * hb_face_collect_variation_selectors: - * @face: A face object - * @out: The set to add Variation Selector characters to - * - * Collects all Unicode "Variation Selector" characters covered by @face and adds - * them to the #hb_set_t set @out. - * - * Since: 1.9.0 - */ -void -hb_face_collect_variation_selectors (hb_face_t *face, - hb_set_t *out) -{ - face->table.cmap->collect_variation_selectors (out); -} -/** - * hb_face_collect_variation_unicodes: - * @face: A face object - * @variation_selector: The Variation Selector to query - * @out: The set to add Unicode characters to - * - * Collects all Unicode characters for @variation_selector covered by @face and adds - * them to the #hb_set_t set @out. - * - * Since: 1.9.0 - */ -void -hb_face_collect_variation_unicodes (hb_face_t *face, - hb_codepoint_t variation_selector, - hb_set_t *out) -{ - face->table.cmap->collect_variation_unicodes (variation_selector, out); -} -#endif - - -/* - * face-builder: A face that has add_table(). - */ - -struct hb_face_builder_data_t -{ - hb_hashmap_t tables; -}; - -static int compare_entries (const void* pa, const void* pb) -{ - const auto& a = * (const hb_pair_t *) pa; - const auto& b = * (const hb_pair_t *) pb; - - /* Order by blob size first (smallest to largest) and then table tag */ - - if (a.second->length != b.second->length) - return a.second->length < b.second->length ? -1 : +1; - - return a.first < b.first ? -1 : a.first == b.first ? 0 : +1; -} - -static hb_face_builder_data_t * -_hb_face_builder_data_create () -{ - hb_face_builder_data_t *data = (hb_face_builder_data_t *) hb_calloc (1, sizeof (hb_face_builder_data_t)); - if (unlikely (!data)) - return nullptr; - - data->tables.init (); - - return data; -} - -static void -_hb_face_builder_data_destroy (void *user_data) -{ - hb_face_builder_data_t *data = (hb_face_builder_data_t *) user_data; - - for (hb_blob_t* b : data->tables.values()) - hb_blob_destroy (b); - - data->tables.fini (); - - hb_free (data); -} - -static hb_blob_t * -_hb_face_builder_data_reference_blob (hb_face_builder_data_t *data) -{ - - unsigned int table_count = data->tables.get_population (); - unsigned int face_length = table_count * 16 + 12; - - for (hb_blob_t* b : data->tables.values()) - face_length += hb_ceil_to_4 (hb_blob_get_length (b)); - - char *buf = (char *) hb_malloc (face_length); - if (unlikely (!buf)) - return nullptr; - - hb_serialize_context_t c (buf, face_length); - c.propagate_error (data->tables); - OT::OpenTypeFontFile *f = c.start_serialize (); - - bool is_cff = (data->tables.has (HB_TAG ('C','F','F',' ')) - || data->tables.has (HB_TAG ('C','F','F','2'))); - hb_tag_t sfnt_tag = is_cff ? OT::OpenTypeFontFile::CFFTag : OT::OpenTypeFontFile::TrueTypeTag; - - // Sort the tags so that produced face is deterministic. - hb_vector_t> sorted_entries; - data->tables.iter () | hb_sink (sorted_entries); - if (unlikely (sorted_entries.in_error ())) - { - hb_free (buf); - return nullptr; - } - - sorted_entries.qsort (compare_entries); - bool ret = f->serialize_single (&c, sfnt_tag, + sorted_entries.iter()); - - c.end_serialize (); - - if (unlikely (!ret)) - { - hb_free (buf); - return nullptr; - } - - return hb_blob_create (buf, face_length, HB_MEMORY_MODE_WRITABLE, buf, hb_free); -} - -static hb_blob_t * -_hb_face_builder_reference_table (hb_face_t *face HB_UNUSED, hb_tag_t tag, void *user_data) -{ - hb_face_builder_data_t *data = (hb_face_builder_data_t *) user_data; - - if (!tag) - return _hb_face_builder_data_reference_blob (data); - - return hb_blob_reference (data->tables[tag]); -} - - -/** - * hb_face_builder_create: - * - * Creates a #hb_face_t that can be used with hb_face_builder_add_table(). - * After tables are added to the face, it can be compiled to a binary - * font file by calling hb_face_reference_blob(). - * - * Return value: (transfer full): New face. - * - * Since: 1.9.0 - **/ -hb_face_t * -hb_face_builder_create () -{ - hb_face_builder_data_t *data = _hb_face_builder_data_create (); - if (unlikely (!data)) return hb_face_get_empty (); - - return hb_face_create_for_tables (_hb_face_builder_reference_table, - data, - _hb_face_builder_data_destroy); -} - -/** - * hb_face_builder_add_table: - * @face: A face object created with hb_face_builder_create() - * @tag: The #hb_tag_t of the table to add - * @blob: The blob containing the table data to add - * - * Add table for @tag with data provided by @blob to the face. @face must - * be created using hb_face_builder_create(). - * - * Since: 1.9.0 - **/ -hb_bool_t -hb_face_builder_add_table (hb_face_t *face, hb_tag_t tag, hb_blob_t *blob) -{ - if (tag == HB_MAP_VALUE_INVALID) - return false; - - if (unlikely (face->destroy != (hb_destroy_func_t) _hb_face_builder_data_destroy)) - return false; - - hb_face_builder_data_t *data = (hb_face_builder_data_t *) face->user_data; - - hb_blob_t* previous = data->tables.get (tag); - if (!data->tables.set (tag, hb_blob_reference (blob))) - { - hb_blob_destroy (blob); - return false; - } - - hb_blob_destroy (previous); - return true; -} diff --git a/harfbuzz/src/hb-face.h b/harfbuzz/src/hb-face.h deleted file mode 100644 index 6ef2f8b..0000000 --- a/harfbuzz/src/hb-face.h +++ /dev/null @@ -1,177 +0,0 @@ -/* - * Copyright © 2009 Red Hat, Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Red Hat Author(s): Behdad Esfahbod - */ - -#if !defined(HB_H_IN) && !defined(HB_NO_SINGLE_HEADER_ERROR) -#error "Include instead." -#endif - -#ifndef HB_FACE_H -#define HB_FACE_H - -#include "hb-common.h" -#include "hb-blob.h" -#include "hb-set.h" - -HB_BEGIN_DECLS - - -HB_EXTERN unsigned int -hb_face_count (hb_blob_t *blob); - - -/* - * hb_face_t - */ - -/** - * hb_face_t: - * - * Data type for holding font faces. - * - **/ -typedef struct hb_face_t hb_face_t; - -HB_EXTERN hb_face_t * -hb_face_create (hb_blob_t *blob, - unsigned int index); - -/** - * hb_reference_table_func_t: - * @face: an #hb_face_t to reference table for - * @tag: the tag of the table to reference - * @user_data: User data pointer passed by the caller - * - * Callback function for hb_face_create_for_tables(). - * - * Return value: (transfer full): A pointer to the @tag table within @face - * - * Since: 0.9.2 - */ - -typedef hb_blob_t * (*hb_reference_table_func_t) (hb_face_t *face, hb_tag_t tag, void *user_data); - -/* calls destroy() when not needing user_data anymore */ -HB_EXTERN hb_face_t * -hb_face_create_for_tables (hb_reference_table_func_t reference_table_func, - void *user_data, - hb_destroy_func_t destroy); - -HB_EXTERN hb_face_t * -hb_face_get_empty (void); - -HB_EXTERN hb_face_t * -hb_face_reference (hb_face_t *face); - -HB_EXTERN void -hb_face_destroy (hb_face_t *face); - -HB_EXTERN hb_bool_t -hb_face_set_user_data (hb_face_t *face, - hb_user_data_key_t *key, - void * data, - hb_destroy_func_t destroy, - hb_bool_t replace); - -HB_EXTERN void * -hb_face_get_user_data (const hb_face_t *face, - hb_user_data_key_t *key); - -HB_EXTERN void -hb_face_make_immutable (hb_face_t *face); - -HB_EXTERN hb_bool_t -hb_face_is_immutable (const hb_face_t *face); - - -HB_EXTERN hb_blob_t * -hb_face_reference_table (const hb_face_t *face, - hb_tag_t tag); - -HB_EXTERN hb_blob_t * -hb_face_reference_blob (hb_face_t *face); - -HB_EXTERN void -hb_face_set_index (hb_face_t *face, - unsigned int index); - -HB_EXTERN unsigned int -hb_face_get_index (const hb_face_t *face); - -HB_EXTERN void -hb_face_set_upem (hb_face_t *face, - unsigned int upem); - -HB_EXTERN unsigned int -hb_face_get_upem (const hb_face_t *face); - -HB_EXTERN void -hb_face_set_glyph_count (hb_face_t *face, - unsigned int glyph_count); - -HB_EXTERN unsigned int -hb_face_get_glyph_count (const hb_face_t *face); - -HB_EXTERN unsigned int -hb_face_get_table_tags (const hb_face_t *face, - unsigned int start_offset, - unsigned int *table_count, /* IN/OUT */ - hb_tag_t *table_tags /* OUT */); - - -/* - * Character set. - */ - -HB_EXTERN void -hb_face_collect_unicodes (hb_face_t *face, - hb_set_t *out); - -HB_EXTERN void -hb_face_collect_variation_selectors (hb_face_t *face, - hb_set_t *out); - -HB_EXTERN void -hb_face_collect_variation_unicodes (hb_face_t *face, - hb_codepoint_t variation_selector, - hb_set_t *out); - - -/* - * Builder face. - */ - -HB_EXTERN hb_face_t * -hb_face_builder_create (void); - -HB_EXTERN hb_bool_t -hb_face_builder_add_table (hb_face_t *face, - hb_tag_t tag, - hb_blob_t *blob); - - -HB_END_DECLS - -#endif /* HB_FACE_H */ diff --git a/harfbuzz/src/hb-face.hh b/harfbuzz/src/hb-face.hh deleted file mode 100644 index 765f272..0000000 --- a/harfbuzz/src/hb-face.hh +++ /dev/null @@ -1,109 +0,0 @@ -/* - * Copyright © 2009 Red Hat, Inc. - * Copyright © 2011 Google, Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Red Hat Author(s): Behdad Esfahbod - * Google Author(s): Behdad Esfahbod - */ - -#ifndef HB_FACE_HH -#define HB_FACE_HH - -#include "hb.hh" - -#include "hb-shaper.hh" -#include "hb-shape-plan.hh" -#include "hb-ot-face.hh" - - -/* - * hb_face_t - */ - -#define HB_SHAPER_IMPLEMENT(shaper) HB_SHAPER_DATA_INSTANTIATE_SHAPERS(shaper, face); -#include "hb-shaper-list.hh" -#undef HB_SHAPER_IMPLEMENT - -struct hb_face_t -{ - hb_object_header_t header; - - hb_reference_table_func_t reference_table_func; - void *user_data; - hb_destroy_func_t destroy; - - unsigned int index; /* Face index in a collection, zero-based. */ - mutable hb_atomic_int_t upem; /* Units-per-EM. */ - mutable hb_atomic_int_t num_glyphs; /* Number of glyphs. */ - - hb_shaper_object_dataset_t data;/* Various shaper data. */ - hb_ot_face_t table; /* All the face's tables. */ - - /* Cache */ - struct plan_node_t - { - hb_shape_plan_t *shape_plan; - plan_node_t *next; - }; - hb_atomic_ptr_t shape_plans; - - hb_blob_t *reference_table (hb_tag_t tag) const - { - hb_blob_t *blob; - - if (unlikely (!reference_table_func)) - return hb_blob_get_empty (); - - blob = reference_table_func (/*XXX*/const_cast (this), tag, user_data); - if (unlikely (!blob)) - return hb_blob_get_empty (); - - return blob; - } - - unsigned int get_upem () const - { - unsigned int ret = upem.get_relaxed (); - if (unlikely (!ret)) - { - return load_upem (); - } - return ret; - } - - unsigned int get_num_glyphs () const - { - unsigned int ret = num_glyphs.get_relaxed (); - if (unlikely (ret == UINT_MAX)) - return load_num_glyphs (); - return ret; - } - - private: - HB_INTERNAL unsigned int load_upem () const; - HB_INTERNAL unsigned int load_num_glyphs () const; -}; -DECLARE_NULL_INSTANCE (hb_face_t); - - -#endif /* HB_FACE_HH */ diff --git a/harfbuzz/src/hb-fallback-shape.cc b/harfbuzz/src/hb-fallback-shape.cc deleted file mode 100644 index f8524ec..0000000 --- a/harfbuzz/src/hb-fallback-shape.cc +++ /dev/null @@ -1,125 +0,0 @@ -/* - * Copyright © 2011 Google, Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Google Author(s): Behdad Esfahbod - */ - -#include "hb-shaper-impl.hh" - -#ifndef HB_NO_FALLBACK_SHAPE - -/* - * shaper face data - */ - -struct hb_fallback_face_data_t {}; - -hb_fallback_face_data_t * -_hb_fallback_shaper_face_data_create (hb_face_t *face HB_UNUSED) -{ - return (hb_fallback_face_data_t *) HB_SHAPER_DATA_SUCCEEDED; -} - -void -_hb_fallback_shaper_face_data_destroy (hb_fallback_face_data_t *data HB_UNUSED) -{ -} - - -/* - * shaper font data - */ - -struct hb_fallback_font_data_t {}; - -hb_fallback_font_data_t * -_hb_fallback_shaper_font_data_create (hb_font_t *font HB_UNUSED) -{ - return (hb_fallback_font_data_t *) HB_SHAPER_DATA_SUCCEEDED; -} - -void -_hb_fallback_shaper_font_data_destroy (hb_fallback_font_data_t *data HB_UNUSED) -{ -} - - -/* - * shaper - */ - -hb_bool_t -_hb_fallback_shape (hb_shape_plan_t *shape_plan HB_UNUSED, - hb_font_t *font, - hb_buffer_t *buffer, - const hb_feature_t *features HB_UNUSED, - unsigned int num_features HB_UNUSED) -{ - /* TODO - * - * - Apply fallback kern. - * - Handle Variation Selectors? - * - Apply normalization? - * - * This will make the fallback shaper into a dumb "TrueType" - * shaper which many people unfortunately still request. - */ - - hb_codepoint_t space; - bool has_space = (bool) font->get_nominal_glyph (' ', &space); - - buffer->clear_positions (); - - hb_direction_t direction = buffer->props.direction; - hb_unicode_funcs_t *unicode = buffer->unicode; - unsigned int count = buffer->len; - hb_glyph_info_t *info = buffer->info; - hb_glyph_position_t *pos = buffer->pos; - for (unsigned int i = 0; i < count; i++) - { - if (has_space && unicode->is_default_ignorable (info[i].codepoint)) { - info[i].codepoint = space; - pos[i].x_advance = 0; - pos[i].y_advance = 0; - continue; - } - (void) font->get_nominal_glyph (info[i].codepoint, &info[i].codepoint); - font->get_glyph_advance_for_direction (info[i].codepoint, - direction, - &pos[i].x_advance, - &pos[i].y_advance); - font->subtract_glyph_origin_for_direction (info[i].codepoint, - direction, - &pos[i].x_offset, - &pos[i].y_offset); - } - - if (HB_DIRECTION_IS_BACKWARD (direction)) - hb_buffer_reverse (buffer); - - buffer->clear_glyph_flags (); - - return true; -} - -#endif diff --git a/harfbuzz/src/hb-font.cc b/harfbuzz/src/hb-font.cc deleted file mode 100644 index fa8da96..0000000 --- a/harfbuzz/src/hb-font.cc +++ /dev/null @@ -1,2375 +0,0 @@ -/* - * Copyright © 2009 Red Hat, Inc. - * Copyright © 2012 Google, Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Red Hat Author(s): Behdad Esfahbod - * Google Author(s): Behdad Esfahbod - */ - -#include "hb.hh" - -#include "hb-font.hh" -#include "hb-machinery.hh" - -#include "hb-ot.h" - -#include "hb-ot-var-avar-table.hh" -#include "hb-ot-var-fvar-table.hh" - - -/** - * SECTION:hb-font - * @title: hb-font - * @short_description: Font objects - * @include: hb.h - * - * Functions for working with font objects. - * - * A font object represents a font face at a specific size and with - * certain other parameters (pixels-per-em, points-per-em, variation - * settings) specified. Font objects are created from font face - * objects, and are used as input to hb_shape(), among other things. - * - * Client programs can optionally pass in their own functions that - * implement the basic, lower-level queries of font objects. This set - * of font functions is defined by the virtual methods in - * #hb_font_funcs_t. - * - * HarfBuzz provides a built-in set of lightweight default - * functions for each method in #hb_font_funcs_t. - **/ - - -/* - * hb_font_funcs_t - */ - -static hb_bool_t -hb_font_get_font_h_extents_nil (hb_font_t *font HB_UNUSED, - void *font_data HB_UNUSED, - hb_font_extents_t *extents, - void *user_data HB_UNUSED) -{ - memset (extents, 0, sizeof (*extents)); - return false; -} - -static hb_bool_t -hb_font_get_font_h_extents_default (hb_font_t *font, - void *font_data HB_UNUSED, - hb_font_extents_t *extents, - void *user_data HB_UNUSED) -{ - hb_bool_t ret = font->parent->get_font_h_extents (extents); - if (ret) { - extents->ascender = font->parent_scale_y_distance (extents->ascender); - extents->descender = font->parent_scale_y_distance (extents->descender); - extents->line_gap = font->parent_scale_y_distance (extents->line_gap); - } - return ret; -} - -static hb_bool_t -hb_font_get_font_v_extents_nil (hb_font_t *font HB_UNUSED, - void *font_data HB_UNUSED, - hb_font_extents_t *extents, - void *user_data HB_UNUSED) -{ - memset (extents, 0, sizeof (*extents)); - return false; -} - -static hb_bool_t -hb_font_get_font_v_extents_default (hb_font_t *font, - void *font_data HB_UNUSED, - hb_font_extents_t *extents, - void *user_data HB_UNUSED) -{ - hb_bool_t ret = font->parent->get_font_v_extents (extents); - if (ret) { - extents->ascender = font->parent_scale_x_distance (extents->ascender); - extents->descender = font->parent_scale_x_distance (extents->descender); - extents->line_gap = font->parent_scale_x_distance (extents->line_gap); - } - return ret; -} - -static hb_bool_t -hb_font_get_nominal_glyph_nil (hb_font_t *font HB_UNUSED, - void *font_data HB_UNUSED, - hb_codepoint_t unicode HB_UNUSED, - hb_codepoint_t *glyph, - void *user_data HB_UNUSED) -{ - *glyph = 0; - return false; -} - -static hb_bool_t -hb_font_get_nominal_glyph_default (hb_font_t *font, - void *font_data HB_UNUSED, - hb_codepoint_t unicode, - hb_codepoint_t *glyph, - void *user_data HB_UNUSED) -{ - if (font->has_nominal_glyphs_func_set ()) - { - return font->get_nominal_glyphs (1, &unicode, 0, glyph, 0); - } - return font->parent->get_nominal_glyph (unicode, glyph); -} - -#define hb_font_get_nominal_glyphs_nil hb_font_get_nominal_glyphs_default - -static unsigned int -hb_font_get_nominal_glyphs_default (hb_font_t *font, - void *font_data HB_UNUSED, - unsigned int count, - const hb_codepoint_t *first_unicode, - unsigned int unicode_stride, - hb_codepoint_t *first_glyph, - unsigned int glyph_stride, - void *user_data HB_UNUSED) -{ - if (font->has_nominal_glyph_func_set ()) - { - for (unsigned int i = 0; i < count; i++) - { - if (!font->get_nominal_glyph (*first_unicode, first_glyph)) - return i; - - first_unicode = &StructAtOffsetUnaligned (first_unicode, unicode_stride); - first_glyph = &StructAtOffsetUnaligned (first_glyph, glyph_stride); - } - return count; - } - - return font->parent->get_nominal_glyphs (count, - first_unicode, unicode_stride, - first_glyph, glyph_stride); -} - -static hb_bool_t -hb_font_get_variation_glyph_nil (hb_font_t *font HB_UNUSED, - void *font_data HB_UNUSED, - hb_codepoint_t unicode HB_UNUSED, - hb_codepoint_t variation_selector HB_UNUSED, - hb_codepoint_t *glyph, - void *user_data HB_UNUSED) -{ - *glyph = 0; - return false; -} - -static hb_bool_t -hb_font_get_variation_glyph_default (hb_font_t *font, - void *font_data HB_UNUSED, - hb_codepoint_t unicode, - hb_codepoint_t variation_selector, - hb_codepoint_t *glyph, - void *user_data HB_UNUSED) -{ - return font->parent->get_variation_glyph (unicode, variation_selector, glyph); -} - - -static hb_position_t -hb_font_get_glyph_h_advance_nil (hb_font_t *font, - void *font_data HB_UNUSED, - hb_codepoint_t glyph HB_UNUSED, - void *user_data HB_UNUSED) -{ - return font->x_scale; -} - -static hb_position_t -hb_font_get_glyph_h_advance_default (hb_font_t *font, - void *font_data HB_UNUSED, - hb_codepoint_t glyph, - void *user_data HB_UNUSED) -{ - if (font->has_glyph_h_advances_func_set ()) - { - hb_position_t ret; - font->get_glyph_h_advances (1, &glyph, 0, &ret, 0); - return ret; - } - return font->parent_scale_x_distance (font->parent->get_glyph_h_advance (glyph)); -} - -static hb_position_t -hb_font_get_glyph_v_advance_nil (hb_font_t *font, - void *font_data HB_UNUSED, - hb_codepoint_t glyph HB_UNUSED, - void *user_data HB_UNUSED) -{ - /* TODO use font_extents.ascender+descender */ - return font->y_scale; -} - -static hb_position_t -hb_font_get_glyph_v_advance_default (hb_font_t *font, - void *font_data HB_UNUSED, - hb_codepoint_t glyph, - void *user_data HB_UNUSED) -{ - if (font->has_glyph_v_advances_func_set ()) - { - hb_position_t ret; - font->get_glyph_v_advances (1, &glyph, 0, &ret, 0); - return ret; - } - return font->parent_scale_y_distance (font->parent->get_glyph_v_advance (glyph)); -} - -#define hb_font_get_glyph_h_advances_nil hb_font_get_glyph_h_advances_default - -static void -hb_font_get_glyph_h_advances_default (hb_font_t* font, - void* font_data HB_UNUSED, - unsigned int count, - const hb_codepoint_t *first_glyph, - unsigned int glyph_stride, - hb_position_t *first_advance, - unsigned int advance_stride, - void *user_data HB_UNUSED) -{ - if (font->has_glyph_h_advance_func_set ()) - { - for (unsigned int i = 0; i < count; i++) - { - *first_advance = font->get_glyph_h_advance (*first_glyph); - first_glyph = &StructAtOffsetUnaligned (first_glyph, glyph_stride); - first_advance = &StructAtOffsetUnaligned (first_advance, advance_stride); - } - return; - } - - font->parent->get_glyph_h_advances (count, - first_glyph, glyph_stride, - first_advance, advance_stride); - for (unsigned int i = 0; i < count; i++) - { - *first_advance = font->parent_scale_x_distance (*first_advance); - first_advance = &StructAtOffsetUnaligned (first_advance, advance_stride); - } -} - -#define hb_font_get_glyph_v_advances_nil hb_font_get_glyph_v_advances_default -static void -hb_font_get_glyph_v_advances_default (hb_font_t* font, - void* font_data HB_UNUSED, - unsigned int count, - const hb_codepoint_t *first_glyph, - unsigned int glyph_stride, - hb_position_t *first_advance, - unsigned int advance_stride, - void *user_data HB_UNUSED) -{ - if (font->has_glyph_v_advance_func_set ()) - { - for (unsigned int i = 0; i < count; i++) - { - *first_advance = font->get_glyph_v_advance (*first_glyph); - first_glyph = &StructAtOffsetUnaligned (first_glyph, glyph_stride); - first_advance = &StructAtOffsetUnaligned (first_advance, advance_stride); - } - return; - } - - font->parent->get_glyph_v_advances (count, - first_glyph, glyph_stride, - first_advance, advance_stride); - for (unsigned int i = 0; i < count; i++) - { - *first_advance = font->parent_scale_y_distance (*first_advance); - first_advance = &StructAtOffsetUnaligned (first_advance, advance_stride); - } -} - -static hb_bool_t -hb_font_get_glyph_h_origin_nil (hb_font_t *font HB_UNUSED, - void *font_data HB_UNUSED, - hb_codepoint_t glyph HB_UNUSED, - hb_position_t *x, - hb_position_t *y, - void *user_data HB_UNUSED) -{ - *x = *y = 0; - return true; -} - -static hb_bool_t -hb_font_get_glyph_h_origin_default (hb_font_t *font, - void *font_data HB_UNUSED, - hb_codepoint_t glyph, - hb_position_t *x, - hb_position_t *y, - void *user_data HB_UNUSED) -{ - hb_bool_t ret = font->parent->get_glyph_h_origin (glyph, x, y); - if (ret) - font->parent_scale_position (x, y); - return ret; -} - -static hb_bool_t -hb_font_get_glyph_v_origin_nil (hb_font_t *font HB_UNUSED, - void *font_data HB_UNUSED, - hb_codepoint_t glyph HB_UNUSED, - hb_position_t *x, - hb_position_t *y, - void *user_data HB_UNUSED) -{ - *x = *y = 0; - return false; -} - -static hb_bool_t -hb_font_get_glyph_v_origin_default (hb_font_t *font, - void *font_data HB_UNUSED, - hb_codepoint_t glyph, - hb_position_t *x, - hb_position_t *y, - void *user_data HB_UNUSED) -{ - hb_bool_t ret = font->parent->get_glyph_v_origin (glyph, x, y); - if (ret) - font->parent_scale_position (x, y); - return ret; -} - -static hb_position_t -hb_font_get_glyph_h_kerning_nil (hb_font_t *font HB_UNUSED, - void *font_data HB_UNUSED, - hb_codepoint_t left_glyph HB_UNUSED, - hb_codepoint_t right_glyph HB_UNUSED, - void *user_data HB_UNUSED) -{ - return 0; -} - -static hb_position_t -hb_font_get_glyph_h_kerning_default (hb_font_t *font, - void *font_data HB_UNUSED, - hb_codepoint_t left_glyph, - hb_codepoint_t right_glyph, - void *user_data HB_UNUSED) -{ - return font->parent_scale_x_distance (font->parent->get_glyph_h_kerning (left_glyph, right_glyph)); -} - -#ifndef HB_DISABLE_DEPRECATED -static hb_position_t -hb_font_get_glyph_v_kerning_nil (hb_font_t *font HB_UNUSED, - void *font_data HB_UNUSED, - hb_codepoint_t top_glyph HB_UNUSED, - hb_codepoint_t bottom_glyph HB_UNUSED, - void *user_data HB_UNUSED) -{ - return 0; -} - -static hb_position_t -hb_font_get_glyph_v_kerning_default (hb_font_t *font, - void *font_data HB_UNUSED, - hb_codepoint_t top_glyph, - hb_codepoint_t bottom_glyph, - void *user_data HB_UNUSED) -{ - return font->parent_scale_y_distance (font->parent->get_glyph_v_kerning (top_glyph, bottom_glyph)); -} -#endif - -static hb_bool_t -hb_font_get_glyph_extents_nil (hb_font_t *font HB_UNUSED, - void *font_data HB_UNUSED, - hb_codepoint_t glyph HB_UNUSED, - hb_glyph_extents_t *extents, - void *user_data HB_UNUSED) -{ - memset (extents, 0, sizeof (*extents)); - return false; -} - -static hb_bool_t -hb_font_get_glyph_extents_default (hb_font_t *font, - void *font_data HB_UNUSED, - hb_codepoint_t glyph, - hb_glyph_extents_t *extents, - void *user_data HB_UNUSED) -{ - hb_bool_t ret = font->parent->get_glyph_extents (glyph, extents); - if (ret) { - font->parent_scale_position (&extents->x_bearing, &extents->y_bearing); - font->parent_scale_distance (&extents->width, &extents->height); - } - return ret; -} - -static hb_bool_t -hb_font_get_glyph_contour_point_nil (hb_font_t *font HB_UNUSED, - void *font_data HB_UNUSED, - hb_codepoint_t glyph HB_UNUSED, - unsigned int point_index HB_UNUSED, - hb_position_t *x, - hb_position_t *y, - void *user_data HB_UNUSED) -{ - *x = *y = 0; - return false; -} - -static hb_bool_t -hb_font_get_glyph_contour_point_default (hb_font_t *font, - void *font_data HB_UNUSED, - hb_codepoint_t glyph, - unsigned int point_index, - hb_position_t *x, - hb_position_t *y, - void *user_data HB_UNUSED) -{ - hb_bool_t ret = font->parent->get_glyph_contour_point (glyph, point_index, x, y); - if (ret) - font->parent_scale_position (x, y); - return ret; -} - -static hb_bool_t -hb_font_get_glyph_name_nil (hb_font_t *font HB_UNUSED, - void *font_data HB_UNUSED, - hb_codepoint_t glyph HB_UNUSED, - char *name, - unsigned int size, - void *user_data HB_UNUSED) -{ - if (size) *name = '\0'; - return false; -} - -static hb_bool_t -hb_font_get_glyph_name_default (hb_font_t *font, - void *font_data HB_UNUSED, - hb_codepoint_t glyph, - char *name, - unsigned int size, - void *user_data HB_UNUSED) -{ - return font->parent->get_glyph_name (glyph, name, size); -} - -static hb_bool_t -hb_font_get_glyph_from_name_nil (hb_font_t *font HB_UNUSED, - void *font_data HB_UNUSED, - const char *name HB_UNUSED, - int len HB_UNUSED, /* -1 means nul-terminated */ - hb_codepoint_t *glyph, - void *user_data HB_UNUSED) -{ - *glyph = 0; - return false; -} - -static hb_bool_t -hb_font_get_glyph_from_name_default (hb_font_t *font, - void *font_data HB_UNUSED, - const char *name, - int len, /* -1 means nul-terminated */ - hb_codepoint_t *glyph, - void *user_data HB_UNUSED) -{ - return font->parent->get_glyph_from_name (name, len, glyph); -} - -DEFINE_NULL_INSTANCE (hb_font_funcs_t) = -{ - HB_OBJECT_HEADER_STATIC, - - { -#define HB_FONT_FUNC_IMPLEMENT(name) nullptr, - HB_FONT_FUNCS_IMPLEMENT_CALLBACKS -#undef HB_FONT_FUNC_IMPLEMENT - }, - { -#define HB_FONT_FUNC_IMPLEMENT(name) nullptr, - HB_FONT_FUNCS_IMPLEMENT_CALLBACKS -#undef HB_FONT_FUNC_IMPLEMENT - }, - { - { -#define HB_FONT_FUNC_IMPLEMENT(name) hb_font_get_##name##_nil, - HB_FONT_FUNCS_IMPLEMENT_CALLBACKS -#undef HB_FONT_FUNC_IMPLEMENT - } - } -}; - -static const hb_font_funcs_t _hb_font_funcs_default = { - HB_OBJECT_HEADER_STATIC, - - { -#define HB_FONT_FUNC_IMPLEMENT(name) nullptr, - HB_FONT_FUNCS_IMPLEMENT_CALLBACKS -#undef HB_FONT_FUNC_IMPLEMENT - }, - { -#define HB_FONT_FUNC_IMPLEMENT(name) nullptr, - HB_FONT_FUNCS_IMPLEMENT_CALLBACKS -#undef HB_FONT_FUNC_IMPLEMENT - }, - { - { -#define HB_FONT_FUNC_IMPLEMENT(name) hb_font_get_##name##_default, - HB_FONT_FUNCS_IMPLEMENT_CALLBACKS -#undef HB_FONT_FUNC_IMPLEMENT - } - } -}; - - -/** - * hb_font_funcs_create: (Xconstructor) - * - * Creates a new #hb_font_funcs_t structure of font functions. - * - * Return value: (transfer full): The font-functions structure - * - * Since: 0.9.2 - **/ -hb_font_funcs_t * -hb_font_funcs_create () -{ - hb_font_funcs_t *ffuncs; - - if (!(ffuncs = hb_object_create ())) - return hb_font_funcs_get_empty (); - - ffuncs->get = _hb_font_funcs_default.get; - - return ffuncs; -} - -/** - * hb_font_funcs_get_empty: - * - * Fetches an empty font-functions structure. - * - * Return value: (transfer full): The font-functions structure - * - * Since: 0.9.2 - **/ -hb_font_funcs_t * -hb_font_funcs_get_empty () -{ - return const_cast (&_hb_font_funcs_default); -} - -/** - * hb_font_funcs_reference: (skip) - * @ffuncs: The font-functions structure - * - * Increases the reference count on a font-functions structure. - * - * Return value: The font-functions structure - * - * Since: 0.9.2 - **/ -hb_font_funcs_t * -hb_font_funcs_reference (hb_font_funcs_t *ffuncs) -{ - return hb_object_reference (ffuncs); -} - -/** - * hb_font_funcs_destroy: (skip) - * @ffuncs: The font-functions structure - * - * Decreases the reference count on a font-functions structure. When - * the reference count reaches zero, the font-functions structure is - * destroyed, freeing all memory. - * - * Since: 0.9.2 - **/ -void -hb_font_funcs_destroy (hb_font_funcs_t *ffuncs) -{ - if (!hb_object_destroy (ffuncs)) return; - -#define HB_FONT_FUNC_IMPLEMENT(name) if (ffuncs->destroy.name) \ - ffuncs->destroy.name (ffuncs->user_data.name); - HB_FONT_FUNCS_IMPLEMENT_CALLBACKS -#undef HB_FONT_FUNC_IMPLEMENT - - hb_free (ffuncs); -} - -/** - * hb_font_funcs_set_user_data: (skip) - * @ffuncs: The font-functions structure - * @key: The user-data key to set - * @data: A pointer to the user data set - * @destroy: (nullable): A callback to call when @data is not needed anymore - * @replace: Whether to replace an existing data with the same key - * - * Attaches a user-data key/data pair to the specified font-functions structure. - * - * Return value: %true if success, %false otherwise - * - * Since: 0.9.2 - **/ -hb_bool_t -hb_font_funcs_set_user_data (hb_font_funcs_t *ffuncs, - hb_user_data_key_t *key, - void * data, - hb_destroy_func_t destroy /* May be NULL. */, - hb_bool_t replace) -{ - return hb_object_set_user_data (ffuncs, key, data, destroy, replace); -} - -/** - * hb_font_funcs_get_user_data: (skip) - * @ffuncs: The font-functions structure - * @key: The user-data key to query - * - * Fetches the user data associated with the specified key, - * attached to the specified font-functions structure. - * - * Return value: (transfer none): A pointer to the user data - * - * Since: 0.9.2 - **/ -void * -hb_font_funcs_get_user_data (hb_font_funcs_t *ffuncs, - hb_user_data_key_t *key) -{ - return hb_object_get_user_data (ffuncs, key); -} - - -/** - * hb_font_funcs_make_immutable: - * @ffuncs: The font-functions structure - * - * Makes a font-functions structure immutable. - * - * Since: 0.9.2 - **/ -void -hb_font_funcs_make_immutable (hb_font_funcs_t *ffuncs) -{ - if (hb_object_is_immutable (ffuncs)) - return; - - hb_object_make_immutable (ffuncs); -} - -/** - * hb_font_funcs_is_immutable: - * @ffuncs: The font-functions structure - * - * Tests whether a font-functions structure is immutable. - * - * Return value: %true if @ffuncs is immutable, %false otherwise - * - * Since: 0.9.2 - **/ -hb_bool_t -hb_font_funcs_is_immutable (hb_font_funcs_t *ffuncs) -{ - return hb_object_is_immutable (ffuncs); -} - - -#define HB_FONT_FUNC_IMPLEMENT(name) \ - \ -void \ -hb_font_funcs_set_##name##_func (hb_font_funcs_t *ffuncs, \ - hb_font_get_##name##_func_t func, \ - void *user_data, \ - hb_destroy_func_t destroy) \ -{ \ - if (hb_object_is_immutable (ffuncs)) \ - { \ - if (destroy) \ - destroy (user_data); \ - return; \ - } \ - \ - if (ffuncs->destroy.name) \ - ffuncs->destroy.name (ffuncs->user_data.name); \ - \ - if (func) { \ - ffuncs->get.f.name = func; \ - ffuncs->user_data.name = user_data; \ - ffuncs->destroy.name = destroy; \ - } else { \ - ffuncs->get.f.name = hb_font_get_##name##_default; \ - ffuncs->user_data.name = nullptr; \ - ffuncs->destroy.name = nullptr; \ - } \ -} - -HB_FONT_FUNCS_IMPLEMENT_CALLBACKS -#undef HB_FONT_FUNC_IMPLEMENT - -bool -hb_font_t::has_func_set (unsigned int i) -{ - return this->klass->get.array[i] != _hb_font_funcs_default.get.array[i]; -} - -bool -hb_font_t::has_func (unsigned int i) -{ - return has_func_set (i) || - (parent && parent != &_hb_Null_hb_font_t && parent->has_func (i)); -} - -/* Public getters */ - -/** - * hb_font_get_h_extents: - * @font: #hb_font_t to work upon - * @extents: (out): The font extents retrieved - * - * Fetches the extents for a specified font, for horizontal - * text segments. - * - * Return value: %true if data found, %false otherwise - * - * Since: 1.1.3 - **/ -hb_bool_t -hb_font_get_h_extents (hb_font_t *font, - hb_font_extents_t *extents) -{ - return font->get_font_h_extents (extents); -} - -/** - * hb_font_get_v_extents: - * @font: #hb_font_t to work upon - * @extents: (out): The font extents retrieved - * - * Fetches the extents for a specified font, for vertical - * text segments. - * - * Return value: %true if data found, %false otherwise - * - * Since: 1.1.3 - **/ -hb_bool_t -hb_font_get_v_extents (hb_font_t *font, - hb_font_extents_t *extents) -{ - return font->get_font_v_extents (extents); -} - -/** - * hb_font_get_glyph: - * @font: #hb_font_t to work upon - * @unicode: The Unicode code point to query - * @variation_selector: A variation-selector code point - * @glyph: (out): The glyph ID retrieved - * - * Fetches the glyph ID for a Unicode code point in the specified - * font, with an optional variation selector. - * - * If @variation_selector is 0, calls hb_font_get_nominal_glyph(); - * otherwise calls hb_font_get_variation_glyph(). - * - * Return value: %true if data found, %false otherwise - * - * Since: 0.9.2 - **/ -hb_bool_t -hb_font_get_glyph (hb_font_t *font, - hb_codepoint_t unicode, - hb_codepoint_t variation_selector, - hb_codepoint_t *glyph) -{ - if (unlikely (variation_selector)) - return font->get_variation_glyph (unicode, variation_selector, glyph); - return font->get_nominal_glyph (unicode, glyph); -} - -/** - * hb_font_get_nominal_glyph: - * @font: #hb_font_t to work upon - * @unicode: The Unicode code point to query - * @glyph: (out): The glyph ID retrieved - * - * Fetches the nominal glyph ID for a Unicode code point in the - * specified font. - * - * This version of the function should not be used to fetch glyph IDs - * for code points modified by variation selectors. For variation-selector - * support, user hb_font_get_variation_glyph() or use hb_font_get_glyph(). - * - * Return value: %true if data found, %false otherwise - * - * Since: 1.2.3 - **/ -hb_bool_t -hb_font_get_nominal_glyph (hb_font_t *font, - hb_codepoint_t unicode, - hb_codepoint_t *glyph) -{ - return font->get_nominal_glyph (unicode, glyph); -} - -/** - * hb_font_get_nominal_glyphs: - * @font: #hb_font_t to work upon - * @count: number of code points to query - * @first_unicode: The first Unicode code point to query - * @unicode_stride: The stride between successive code points - * @first_glyph: (out): The first glyph ID retrieved - * @glyph_stride: The stride between successive glyph IDs - * - * Fetches the nominal glyph IDs for a sequence of Unicode code points. Glyph - * IDs must be returned in a #hb_codepoint_t output parameter. - * - * Return value: the number of code points processed - * - * Since: 2.6.3 - **/ -unsigned int -hb_font_get_nominal_glyphs (hb_font_t *font, - unsigned int count, - const hb_codepoint_t *first_unicode, - unsigned int unicode_stride, - hb_codepoint_t *first_glyph, - unsigned int glyph_stride) -{ - return font->get_nominal_glyphs (count, - first_unicode, unicode_stride, - first_glyph, glyph_stride); -} - -/** - * hb_font_get_variation_glyph: - * @font: #hb_font_t to work upon - * @unicode: The Unicode code point to query - * @variation_selector: The variation-selector code point to query - * @glyph: (out): The glyph ID retrieved - * - * Fetches the glyph ID for a Unicode code point when followed by - * by the specified variation-selector code point, in the specified - * font. - * - * Return value: %true if data found, %false otherwise - * - * Since: 1.2.3 - **/ -hb_bool_t -hb_font_get_variation_glyph (hb_font_t *font, - hb_codepoint_t unicode, - hb_codepoint_t variation_selector, - hb_codepoint_t *glyph) -{ - return font->get_variation_glyph (unicode, variation_selector, glyph); -} - -/** - * hb_font_get_glyph_h_advance: - * @font: #hb_font_t to work upon - * @glyph: The glyph ID to query - * - * Fetches the advance for a glyph ID in the specified font, - * for horizontal text segments. - * - * Return value: The advance of @glyph within @font - * - * Since: 0.9.2 - **/ -hb_position_t -hb_font_get_glyph_h_advance (hb_font_t *font, - hb_codepoint_t glyph) -{ - return font->get_glyph_h_advance (glyph); -} - -/** - * hb_font_get_glyph_v_advance: - * @font: #hb_font_t to work upon - * @glyph: The glyph ID to query - * - * Fetches the advance for a glyph ID in the specified font, - * for vertical text segments. - * - * Return value: The advance of @glyph within @font - * - * Since: 0.9.2 - **/ -hb_position_t -hb_font_get_glyph_v_advance (hb_font_t *font, - hb_codepoint_t glyph) -{ - return font->get_glyph_v_advance (glyph); -} - -/** - * hb_font_get_glyph_h_advances: - * @font: #hb_font_t to work upon - * @count: The number of glyph IDs in the sequence queried - * @first_glyph: The first glyph ID to query - * @glyph_stride: The stride between successive glyph IDs - * @first_advance: (out): The first advance retrieved - * @advance_stride: The stride between successive advances - * - * Fetches the advances for a sequence of glyph IDs in the specified - * font, for horizontal text segments. - * - * Since: 1.8.6 - **/ -void -hb_font_get_glyph_h_advances (hb_font_t* font, - unsigned int count, - const hb_codepoint_t *first_glyph, - unsigned glyph_stride, - hb_position_t *first_advance, - unsigned advance_stride) -{ - font->get_glyph_h_advances (count, first_glyph, glyph_stride, first_advance, advance_stride); -} -/** - * hb_font_get_glyph_v_advances: - * @font: #hb_font_t to work upon - * @count: The number of glyph IDs in the sequence queried - * @first_glyph: The first glyph ID to query - * @glyph_stride: The stride between successive glyph IDs - * @first_advance: (out): The first advance retrieved - * @advance_stride: (out): The stride between successive advances - * - * Fetches the advances for a sequence of glyph IDs in the specified - * font, for vertical text segments. - * - * Since: 1.8.6 - **/ -void -hb_font_get_glyph_v_advances (hb_font_t* font, - unsigned int count, - const hb_codepoint_t *first_glyph, - unsigned glyph_stride, - hb_position_t *first_advance, - unsigned advance_stride) -{ - font->get_glyph_v_advances (count, first_glyph, glyph_stride, first_advance, advance_stride); -} - -/** - * hb_font_get_glyph_h_origin: - * @font: #hb_font_t to work upon - * @glyph: The glyph ID to query - * @x: (out): The X coordinate of the origin - * @y: (out): The Y coordinate of the origin - * - * Fetches the (X,Y) coordinates of the origin for a glyph ID - * in the specified font, for horizontal text segments. - * - * Return value: %true if data found, %false otherwise - * - * Since: 0.9.2 - **/ -hb_bool_t -hb_font_get_glyph_h_origin (hb_font_t *font, - hb_codepoint_t glyph, - hb_position_t *x, - hb_position_t *y) -{ - return font->get_glyph_h_origin (glyph, x, y); -} - -/** - * hb_font_get_glyph_v_origin: - * @font: #hb_font_t to work upon - * @glyph: The glyph ID to query - * @x: (out): The X coordinate of the origin - * @y: (out): The Y coordinate of the origin - * - * Fetches the (X,Y) coordinates of the origin for a glyph ID - * in the specified font, for vertical text segments. - * - * Return value: %true if data found, %false otherwise - * - * Since: 0.9.2 - **/ -hb_bool_t -hb_font_get_glyph_v_origin (hb_font_t *font, - hb_codepoint_t glyph, - hb_position_t *x, - hb_position_t *y) -{ - return font->get_glyph_v_origin (glyph, x, y); -} - -/** - * hb_font_get_glyph_h_kerning: - * @font: #hb_font_t to work upon - * @left_glyph: The glyph ID of the left glyph in the glyph pair - * @right_glyph: The glyph ID of the right glyph in the glyph pair - * - * Fetches the kerning-adjustment value for a glyph-pair in - * the specified font, for horizontal text segments. - * - * It handles legacy kerning only (as returned by the corresponding - * #hb_font_funcs_t function). - * - * Return value: The kerning adjustment value - * - * Since: 0.9.2 - **/ -hb_position_t -hb_font_get_glyph_h_kerning (hb_font_t *font, - hb_codepoint_t left_glyph, - hb_codepoint_t right_glyph) -{ - return font->get_glyph_h_kerning (left_glyph, right_glyph); -} - -#ifndef HB_DISABLE_DEPRECATED -/** - * hb_font_get_glyph_v_kerning: - * @font: #hb_font_t to work upon - * @top_glyph: The glyph ID of the top glyph in the glyph pair - * @bottom_glyph: The glyph ID of the bottom glyph in the glyph pair - * - * Fetches the kerning-adjustment value for a glyph-pair in - * the specified font, for vertical text segments. - * - * It handles legacy kerning only (as returned by the corresponding - * #hb_font_funcs_t function). - * - * Return value: The kerning adjustment value - * - * Since: 0.9.2 - * Deprecated: 2.0.0 - **/ -hb_position_t -hb_font_get_glyph_v_kerning (hb_font_t *font, - hb_codepoint_t top_glyph, - hb_codepoint_t bottom_glyph) -{ - return font->get_glyph_v_kerning (top_glyph, bottom_glyph); -} -#endif - -/** - * hb_font_get_glyph_extents: - * @font: #hb_font_t to work upon - * @glyph: The glyph ID to query - * @extents: (out): The #hb_glyph_extents_t retrieved - * - * Fetches the #hb_glyph_extents_t data for a glyph ID - * in the specified font. - * - * Return value: %true if data found, %false otherwise - * - * Since: 0.9.2 - **/ -hb_bool_t -hb_font_get_glyph_extents (hb_font_t *font, - hb_codepoint_t glyph, - hb_glyph_extents_t *extents) -{ - return font->get_glyph_extents (glyph, extents); -} - -/** - * hb_font_get_glyph_contour_point: - * @font: #hb_font_t to work upon - * @glyph: The glyph ID to query - * @point_index: The contour-point index to query - * @x: (out): The X value retrieved for the contour point - * @y: (out): The Y value retrieved for the contour point - * - * Fetches the (x,y) coordinates of a specified contour-point index - * in the specified glyph, within the specified font. - * - * Return value: %true if data found, %false otherwise - * - * Since: 0.9.2 - **/ -hb_bool_t -hb_font_get_glyph_contour_point (hb_font_t *font, - hb_codepoint_t glyph, - unsigned int point_index, - hb_position_t *x, - hb_position_t *y) -{ - return font->get_glyph_contour_point (glyph, point_index, x, y); -} - -/** - * hb_font_get_glyph_name: - * @font: #hb_font_t to work upon - * @glyph: The glyph ID to query - * @name: (out) (array length=size): Name string retrieved for the glyph ID - * @size: Length of the glyph-name string retrieved - * - * Fetches the glyph-name string for a glyph ID in the specified @font. - * - * Return value: %true if data found, %false otherwise - * - * Since: 0.9.2 - **/ -hb_bool_t -hb_font_get_glyph_name (hb_font_t *font, - hb_codepoint_t glyph, - char *name, - unsigned int size) -{ - return font->get_glyph_name (glyph, name, size); -} - -/** - * hb_font_get_glyph_from_name: - * @font: #hb_font_t to work upon - * @name: (array length=len): The name string to query - * @len: The length of the name queried - * @glyph: (out): The glyph ID retrieved - * - * Fetches the glyph ID that corresponds to a name string in the specified @font. - * - * Note: @len == -1 means the name string is null-terminated. - * - * Return value: %true if data found, %false otherwise - * - * Since: 0.9.2 - **/ -hb_bool_t -hb_font_get_glyph_from_name (hb_font_t *font, - const char *name, - int len, /* -1 means nul-terminated */ - hb_codepoint_t *glyph) -{ - return font->get_glyph_from_name (name, len, glyph); -} - - -/* A bit higher-level, and with fallback */ - -/** - * hb_font_get_extents_for_direction: - * @font: #hb_font_t to work upon - * @direction: The direction of the text segment - * @extents: (out): The #hb_font_extents_t retrieved - * - * Fetches the extents for a font in a text segment of the - * specified direction. - * - * Calls the appropriate direction-specific variant (horizontal - * or vertical) depending on the value of @direction. - * - * Since: 1.1.3 - **/ -void -hb_font_get_extents_for_direction (hb_font_t *font, - hb_direction_t direction, - hb_font_extents_t *extents) -{ - return font->get_extents_for_direction (direction, extents); -} -/** - * hb_font_get_glyph_advance_for_direction: - * @font: #hb_font_t to work upon - * @glyph: The glyph ID to query - * @direction: The direction of the text segment - * @x: (out): The horizontal advance retrieved - * @y: (out): The vertical advance retrieved - * - * Fetches the advance for a glyph ID from the specified font, - * in a text segment of the specified direction. - * - * Calls the appropriate direction-specific variant (horizontal - * or vertical) depending on the value of @direction. - * - * Since: 0.9.2 - **/ -void -hb_font_get_glyph_advance_for_direction (hb_font_t *font, - hb_codepoint_t glyph, - hb_direction_t direction, - hb_position_t *x, - hb_position_t *y) -{ - return font->get_glyph_advance_for_direction (glyph, direction, x, y); -} -/** - * hb_font_get_glyph_advances_for_direction: - * @font: #hb_font_t to work upon - * @direction: The direction of the text segment - * @count: The number of glyph IDs in the sequence queried - * @first_glyph: The first glyph ID to query - * @glyph_stride: The stride between successive glyph IDs - * @first_advance: (out): The first advance retrieved - * @advance_stride: (out): The stride between successive advances - * - * Fetches the advances for a sequence of glyph IDs in the specified - * font, in a text segment of the specified direction. - * - * Calls the appropriate direction-specific variant (horizontal - * or vertical) depending on the value of @direction. - * - * Since: 1.8.6 - **/ -HB_EXTERN void -hb_font_get_glyph_advances_for_direction (hb_font_t* font, - hb_direction_t direction, - unsigned int count, - const hb_codepoint_t *first_glyph, - unsigned glyph_stride, - hb_position_t *first_advance, - unsigned advance_stride) -{ - font->get_glyph_advances_for_direction (direction, count, first_glyph, glyph_stride, first_advance, advance_stride); -} - -/** - * hb_font_get_glyph_origin_for_direction: - * @font: #hb_font_t to work upon - * @glyph: The glyph ID to query - * @direction: The direction of the text segment - * @x: (out): The X coordinate retrieved for the origin - * @y: (out): The Y coordinate retrieved for the origin - * - * Fetches the (X,Y) coordinates of the origin for a glyph in - * the specified font. - * - * Calls the appropriate direction-specific variant (horizontal - * or vertical) depending on the value of @direction. - * - * Since: 0.9.2 - **/ -void -hb_font_get_glyph_origin_for_direction (hb_font_t *font, - hb_codepoint_t glyph, - hb_direction_t direction, - hb_position_t *x, - hb_position_t *y) -{ - return font->get_glyph_origin_for_direction (glyph, direction, x, y); -} - -/** - * hb_font_add_glyph_origin_for_direction: - * @font: #hb_font_t to work upon - * @glyph: The glyph ID to query - * @direction: The direction of the text segment - * @x: (inout): Input = The original X coordinate - * Output = The X coordinate plus the X-coordinate of the origin - * @y: (inout): Input = The original Y coordinate - * Output = The Y coordinate plus the Y-coordinate of the origin - * - * Adds the origin coordinates to an (X,Y) point coordinate, in - * the specified glyph ID in the specified font. - * - * Calls the appropriate direction-specific variant (horizontal - * or vertical) depending on the value of @direction. - * - * Since: 0.9.2 - **/ -void -hb_font_add_glyph_origin_for_direction (hb_font_t *font, - hb_codepoint_t glyph, - hb_direction_t direction, - hb_position_t *x, - hb_position_t *y) -{ - return font->add_glyph_origin_for_direction (glyph, direction, x, y); -} - -/** - * hb_font_subtract_glyph_origin_for_direction: - * @font: #hb_font_t to work upon - * @glyph: The glyph ID to query - * @direction: The direction of the text segment - * @x: (inout): Input = The original X coordinate - * Output = The X coordinate minus the X-coordinate of the origin - * @y: (inout): Input = The original Y coordinate - * Output = The Y coordinate minus the Y-coordinate of the origin - * - * Subtracts the origin coordinates from an (X,Y) point coordinate, - * in the specified glyph ID in the specified font. - * - * Calls the appropriate direction-specific variant (horizontal - * or vertical) depending on the value of @direction. - * - * Since: 0.9.2 - **/ -void -hb_font_subtract_glyph_origin_for_direction (hb_font_t *font, - hb_codepoint_t glyph, - hb_direction_t direction, - hb_position_t *x, - hb_position_t *y) -{ - return font->subtract_glyph_origin_for_direction (glyph, direction, x, y); -} - -/** - * hb_font_get_glyph_kerning_for_direction: - * @font: #hb_font_t to work upon - * @first_glyph: The glyph ID of the first glyph in the glyph pair to query - * @second_glyph: The glyph ID of the second glyph in the glyph pair to query - * @direction: The direction of the text segment - * @x: (out): The horizontal kerning-adjustment value retrieved - * @y: (out): The vertical kerning-adjustment value retrieved - * - * Fetches the kerning-adjustment value for a glyph-pair in the specified font. - * - * Calls the appropriate direction-specific variant (horizontal - * or vertical) depending on the value of @direction. - * - * Since: 0.9.2 - **/ -void -hb_font_get_glyph_kerning_for_direction (hb_font_t *font, - hb_codepoint_t first_glyph, - hb_codepoint_t second_glyph, - hb_direction_t direction, - hb_position_t *x, - hb_position_t *y) -{ - return font->get_glyph_kerning_for_direction (first_glyph, second_glyph, direction, x, y); -} - -/** - * hb_font_get_glyph_extents_for_origin: - * @font: #hb_font_t to work upon - * @glyph: The glyph ID to query - * @direction: The direction of the text segment - * @extents: (out): The #hb_glyph_extents_t retrieved - * - * Fetches the #hb_glyph_extents_t data for a glyph ID - * in the specified font, with respect to the origin in - * a text segment in the specified direction. - * - * Calls the appropriate direction-specific variant (horizontal - * or vertical) depending on the value of @direction. - * - * Return value: %true if data found, %false otherwise - * - * Since: 0.9.2 - **/ -hb_bool_t -hb_font_get_glyph_extents_for_origin (hb_font_t *font, - hb_codepoint_t glyph, - hb_direction_t direction, - hb_glyph_extents_t *extents) -{ - return font->get_glyph_extents_for_origin (glyph, direction, extents); -} - -/** - * hb_font_get_glyph_contour_point_for_origin: - * @font: #hb_font_t to work upon - * @glyph: The glyph ID to query - * @point_index: The contour-point index to query - * @direction: The direction of the text segment - * @x: (out): The X value retrieved for the contour point - * @y: (out): The Y value retrieved for the contour point - * - * Fetches the (X,Y) coordinates of a specified contour-point index - * in the specified glyph ID in the specified font, with respect - * to the origin in a text segment in the specified direction. - * - * Calls the appropriate direction-specific variant (horizontal - * or vertical) depending on the value of @direction. - * - * Return value: %true if data found, %false otherwise - * - * Since: 0.9.2 - **/ -hb_bool_t -hb_font_get_glyph_contour_point_for_origin (hb_font_t *font, - hb_codepoint_t glyph, - unsigned int point_index, - hb_direction_t direction, - hb_position_t *x, - hb_position_t *y) -{ - return font->get_glyph_contour_point_for_origin (glyph, point_index, direction, x, y); -} - -/** - * hb_font_glyph_to_string: - * @font: #hb_font_t to work upon - * @glyph: The glyph ID to query - * @s: (out) (array length=size): The string containing the glyph name - * @size: Length of string @s - * - * Fetches the name of the specified glyph ID in @font and returns - * it in string @s. - * - * If the glyph ID has no name in @font, a string of the form `gidDDD` is - * generated, with `DDD` being the glyph ID. - * - * Since: 0.9.2 - **/ -void -hb_font_glyph_to_string (hb_font_t *font, - hb_codepoint_t glyph, - char *s, - unsigned int size) -{ - font->glyph_to_string (glyph, s, size); -} - -/** - * hb_font_glyph_from_string: - * @font: #hb_font_t to work upon - * @s: (array length=len) (element-type uint8_t): string to query - * @len: The length of the string @s - * @glyph: (out): The glyph ID corresponding to the string requested - * - * Fetches the glyph ID from @font that matches the specified string. - * Strings of the format `gidDDD` or `uniUUUU` are parsed automatically. - * - * Note: @len == -1 means the string is null-terminated. - * - * Return value: %true if data found, %false otherwise - * - * Since: 0.9.2 - **/ -hb_bool_t -hb_font_glyph_from_string (hb_font_t *font, - const char *s, - int len, - hb_codepoint_t *glyph) -{ - return font->glyph_from_string (s, len, glyph); -} - - -/* - * hb_font_t - */ - -DEFINE_NULL_INSTANCE (hb_font_t) = -{ - HB_OBJECT_HEADER_STATIC, - - nullptr, /* parent */ - const_cast (&_hb_Null_hb_face_t), - - 1000, /* x_scale */ - 1000, /* y_scale */ - 1<<16, /* x_mult */ - 1<<16, /* y_mult */ - - 0, /* x_ppem */ - 0, /* y_ppem */ - 0, /* ptem */ - - 0, /* num_coords */ - nullptr, /* coords */ - nullptr, /* design_coords */ - - const_cast (&_hb_Null_hb_font_funcs_t), - - /* Zero for the rest is fine. */ -}; - - -static hb_font_t * -_hb_font_create (hb_face_t *face) -{ - hb_font_t *font; - - if (unlikely (!face)) - face = hb_face_get_empty (); - if (!(font = hb_object_create ())) - return hb_font_get_empty (); - - hb_face_make_immutable (face); - font->parent = hb_font_get_empty (); - font->face = hb_face_reference (face); - font->klass = hb_font_funcs_get_empty (); - font->data.init0 (font); - font->x_scale = font->y_scale = hb_face_get_upem (face); - font->x_mult = font->y_mult = 1 << 16; - - return font; -} - -/** - * hb_font_create: (Xconstructor) - * @face: a face. - * - * Constructs a new font object from the specified face. - * - * Return value: (transfer full): The new font object - * - * Since: 0.9.2 - **/ -hb_font_t * -hb_font_create (hb_face_t *face) -{ - hb_font_t *font = _hb_font_create (face); - -#ifndef HB_NO_OT_FONT - /* Install our in-house, very lightweight, funcs. */ - hb_ot_font_set_funcs (font); -#endif - - return font; -} - -static void -_hb_font_adopt_var_coords (hb_font_t *font, - int *coords, /* 2.14 normalized */ - float *design_coords, - unsigned int coords_length) -{ - hb_free (font->coords); - hb_free (font->design_coords); - - font->coords = coords; - font->design_coords = design_coords; - font->num_coords = coords_length; -} - -/** - * hb_font_create_sub_font: - * @parent: The parent font object - * - * Constructs a sub-font font object from the specified @parent font, - * replicating the parent's properties. - * - * Return value: (transfer full): The new sub-font font object - * - * Since: 0.9.2 - **/ -hb_font_t * -hb_font_create_sub_font (hb_font_t *parent) -{ - if (unlikely (!parent)) - parent = hb_font_get_empty (); - - hb_font_t *font = _hb_font_create (parent->face); - - if (unlikely (hb_object_is_immutable (font))) - return font; - - font->parent = hb_font_reference (parent); - - font->x_scale = parent->x_scale; - font->y_scale = parent->y_scale; - font->mults_changed (); - font->x_ppem = parent->x_ppem; - font->y_ppem = parent->y_ppem; - font->ptem = parent->ptem; - - unsigned int num_coords = parent->num_coords; - if (num_coords) - { - int *coords = (int *) hb_calloc (num_coords, sizeof (parent->coords[0])); - float *design_coords = (float *) hb_calloc (num_coords, sizeof (parent->design_coords[0])); - if (likely (coords && design_coords)) - { - memcpy (coords, parent->coords, num_coords * sizeof (parent->coords[0])); - memcpy (design_coords, parent->design_coords, num_coords * sizeof (parent->design_coords[0])); - _hb_font_adopt_var_coords (font, coords, design_coords, num_coords); - } - else - { - hb_free (coords); - hb_free (design_coords); - } - } - - return font; -} - -/** - * hb_font_get_empty: - * - * Fetches the empty font object. - * - * Return value: (transfer full): The empty font object - * - * Since: 0.9.2 - **/ -hb_font_t * -hb_font_get_empty () -{ - return const_cast (&Null (hb_font_t)); -} - -/** - * hb_font_reference: (skip) - * @font: #hb_font_t to work upon - * - * Increases the reference count on the given font object. - * - * Return value: (transfer full): The @font object - * - * Since: 0.9.2 - **/ -hb_font_t * -hb_font_reference (hb_font_t *font) -{ - return hb_object_reference (font); -} - -/** - * hb_font_destroy: (skip) - * @font: #hb_font_t to work upon - * - * Decreases the reference count on the given font object. When the - * reference count reaches zero, the font is destroyed, - * freeing all memory. - * - * Since: 0.9.2 - **/ -void -hb_font_destroy (hb_font_t *font) -{ - if (!hb_object_destroy (font)) return; - - font->data.fini (); - - if (font->destroy) - font->destroy (font->user_data); - - hb_font_destroy (font->parent); - hb_face_destroy (font->face); - hb_font_funcs_destroy (font->klass); - - hb_free (font->coords); - hb_free (font->design_coords); - - hb_free (font); -} - -/** - * hb_font_set_user_data: (skip) - * @font: #hb_font_t to work upon - * @key: The user-data key - * @data: A pointer to the user data - * @destroy: (nullable): A callback to call when @data is not needed anymore - * @replace: Whether to replace an existing data with the same key - * - * Attaches a user-data key/data pair to the specified font object. - * - * Return value: %true if success, %false otherwise - * - * Since: 0.9.2 - **/ -hb_bool_t -hb_font_set_user_data (hb_font_t *font, - hb_user_data_key_t *key, - void * data, - hb_destroy_func_t destroy /* May be NULL. */, - hb_bool_t replace) -{ - return hb_object_set_user_data (font, key, data, destroy, replace); -} - -/** - * hb_font_get_user_data: (skip) - * @font: #hb_font_t to work upon - * @key: The user-data key to query - * - * Fetches the user-data object associated with the specified key, - * attached to the specified font object. - * - * Return value: (transfer none): Pointer to the user data - * - * Since: 0.9.2 - **/ -void * -hb_font_get_user_data (hb_font_t *font, - hb_user_data_key_t *key) -{ - return hb_object_get_user_data (font, key); -} - -/** - * hb_font_make_immutable: - * @font: #hb_font_t to work upon - * - * Makes @font immutable. - * - * Since: 0.9.2 - **/ -void -hb_font_make_immutable (hb_font_t *font) -{ - if (hb_object_is_immutable (font)) - return; - - if (font->parent) - hb_font_make_immutable (font->parent); - - hb_object_make_immutable (font); -} - -/** - * hb_font_is_immutable: - * @font: #hb_font_t to work upon - * - * Tests whether a font object is immutable. - * - * Return value: %true if @font is immutable, %false otherwise - * - * Since: 0.9.2 - **/ -hb_bool_t -hb_font_is_immutable (hb_font_t *font) -{ - return hb_object_is_immutable (font); -} - -/** - * hb_font_set_parent: - * @font: #hb_font_t to work upon - * @parent: The parent font object to assign - * - * Sets the parent font of @font. - * - * Since: 1.0.5 - **/ -void -hb_font_set_parent (hb_font_t *font, - hb_font_t *parent) -{ - if (hb_object_is_immutable (font)) - return; - - if (!parent) - parent = hb_font_get_empty (); - - hb_font_t *old = font->parent; - - font->parent = hb_font_reference (parent); - - hb_font_destroy (old); -} - -/** - * hb_font_get_parent: - * @font: #hb_font_t to work upon - * - * Fetches the parent font of @font. - * - * Return value: (transfer none): The parent font object - * - * Since: 0.9.2 - **/ -hb_font_t * -hb_font_get_parent (hb_font_t *font) -{ - return font->parent; -} - -/** - * hb_font_set_face: - * @font: #hb_font_t to work upon - * @face: The #hb_face_t to assign - * - * Sets @face as the font-face value of @font. - * - * Since: 1.4.3 - **/ -void -hb_font_set_face (hb_font_t *font, - hb_face_t *face) -{ - if (hb_object_is_immutable (font)) - return; - - if (unlikely (!face)) - face = hb_face_get_empty (); - - hb_face_t *old = font->face; - - hb_face_make_immutable (face); - font->face = hb_face_reference (face); - font->mults_changed (); - - hb_face_destroy (old); -} - -/** - * hb_font_get_face: - * @font: #hb_font_t to work upon - * - * Fetches the face associated with the specified font object. - * - * Return value: (transfer none): The #hb_face_t value - * - * Since: 0.9.2 - **/ -hb_face_t * -hb_font_get_face (hb_font_t *font) -{ - return font->face; -} - - -/** - * hb_font_set_funcs: - * @font: #hb_font_t to work upon - * @klass: (closure font_data) (destroy destroy) (scope notified): The font-functions structure. - * @font_data: Data to attach to @font - * @destroy: (nullable): The function to call when @font_data is not needed anymore - * - * Replaces the font-functions structure attached to a font, updating - * the font's user-data with @font-data and the @destroy callback. - * - * Since: 0.9.2 - **/ -void -hb_font_set_funcs (hb_font_t *font, - hb_font_funcs_t *klass, - void *font_data, - hb_destroy_func_t destroy /* May be NULL. */) -{ - if (hb_object_is_immutable (font)) - { - if (destroy) - destroy (font_data); - return; - } - - if (font->destroy) - font->destroy (font->user_data); - - if (!klass) - klass = hb_font_funcs_get_empty (); - - hb_font_funcs_reference (klass); - hb_font_funcs_destroy (font->klass); - font->klass = klass; - font->user_data = font_data; - font->destroy = destroy; -} - -/** - * hb_font_set_funcs_data: - * @font: #hb_font_t to work upon - * @font_data: (destroy destroy) (scope notified): Data to attach to @font - * @destroy: (nullable): The function to call when @font_data is not needed anymore - * - * Replaces the user data attached to a font, updating the font's - * @destroy callback. - * - * Since: 0.9.2 - **/ -void -hb_font_set_funcs_data (hb_font_t *font, - void *font_data, - hb_destroy_func_t destroy /* May be NULL. */) -{ - /* Destroy user_data? */ - if (hb_object_is_immutable (font)) - { - if (destroy) - destroy (font_data); - return; - } - - if (font->destroy) - font->destroy (font->user_data); - - font->user_data = font_data; - font->destroy = destroy; -} - - -/** - * hb_font_set_scale: - * @font: #hb_font_t to work upon - * @x_scale: Horizontal scale value to assign - * @y_scale: Vertical scale value to assign - * - * Sets the horizontal and vertical scale of a font. - * - * Since: 0.9.2 - **/ -void -hb_font_set_scale (hb_font_t *font, - int x_scale, - int y_scale) -{ - if (hb_object_is_immutable (font)) - return; - - font->x_scale = x_scale; - font->y_scale = y_scale; - font->mults_changed (); -} - -/** - * hb_font_get_scale: - * @font: #hb_font_t to work upon - * @x_scale: (out): Horizontal scale value - * @y_scale: (out): Vertical scale value - * - * Fetches the horizontal and vertical scale of a font. - * - * Since: 0.9.2 - **/ -void -hb_font_get_scale (hb_font_t *font, - int *x_scale, - int *y_scale) -{ - if (x_scale) *x_scale = font->x_scale; - if (y_scale) *y_scale = font->y_scale; -} - -/** - * hb_font_set_ppem: - * @font: #hb_font_t to work upon - * @x_ppem: Horizontal ppem value to assign - * @y_ppem: Vertical ppem value to assign - * - * Sets the horizontal and vertical pixels-per-em (ppem) of a font. - * - * Since: 0.9.2 - **/ -void -hb_font_set_ppem (hb_font_t *font, - unsigned int x_ppem, - unsigned int y_ppem) -{ - if (hb_object_is_immutable (font)) - return; - - font->x_ppem = x_ppem; - font->y_ppem = y_ppem; -} - -/** - * hb_font_get_ppem: - * @font: #hb_font_t to work upon - * @x_ppem: (out): Horizontal ppem value - * @y_ppem: (out): Vertical ppem value - * - * Fetches the horizontal and vertical points-per-em (ppem) of a font. - * - * Since: 0.9.2 - **/ -void -hb_font_get_ppem (hb_font_t *font, - unsigned int *x_ppem, - unsigned int *y_ppem) -{ - if (x_ppem) *x_ppem = font->x_ppem; - if (y_ppem) *y_ppem = font->y_ppem; -} - -/** - * hb_font_set_ptem: - * @font: #hb_font_t to work upon - * @ptem: font size in points. - * - * Sets the "point size" of a font. Set to zero to unset. - * Used in CoreText to implement optical sizing. - * - * Note: There are 72 points in an inch. - * - * Since: 1.6.0 - **/ -void -hb_font_set_ptem (hb_font_t *font, - float ptem) -{ - if (hb_object_is_immutable (font)) - return; - - font->ptem = ptem; -} - -/** - * hb_font_get_ptem: - * @font: #hb_font_t to work upon - * - * Fetches the "point size" of a font. Used in CoreText to - * implement optical sizing. - * - * Return value: Point size. A value of zero means "not set." - * - * Since: 0.9.2 - **/ -float -hb_font_get_ptem (hb_font_t *font) -{ - return font->ptem; -} - -#ifndef HB_NO_VAR -/* - * Variations - */ - -/** - * hb_font_set_variations: - * @font: #hb_font_t to work upon - * @variations: (array length=variations_length): Array of variation settings to apply - * @variations_length: Number of variations to apply - * - * Applies a list of font-variation settings to a font. - * - * Since: 1.4.2 - */ -void -hb_font_set_variations (hb_font_t *font, - const hb_variation_t *variations, - unsigned int variations_length) -{ - if (hb_object_is_immutable (font)) - return; - - if (!variations_length) - { - hb_font_set_var_coords_normalized (font, nullptr, 0); - return; - } - - const OT::fvar &fvar = *font->face->table.fvar; - auto axes = fvar.get_axes (); - const unsigned coords_length = axes.length; - - int *normalized = coords_length ? (int *) hb_calloc (coords_length, sizeof (int)) : nullptr; - float *design_coords = coords_length ? (float *) hb_calloc (coords_length, sizeof (float)) : nullptr; - - if (unlikely (coords_length && !(normalized && design_coords))) - { - hb_free (normalized); - hb_free (design_coords); - return; - } - - for (unsigned int i = 0; i < variations_length; i++) - { - const auto tag = variations[i].tag; - const auto v = variations[i].value; - for (unsigned axis_index = 0; axis_index < coords_length; axis_index++) - if (axes[axis_index].axisTag == tag) - { - design_coords[axis_index] = v; - normalized[axis_index] = fvar.normalize_axis_value (axis_index, v); - } - } - font->face->table.avar->map_coords (normalized, coords_length); - - _hb_font_adopt_var_coords (font, normalized, design_coords, coords_length); -} - -/** - * hb_font_set_var_coords_design: - * @font: #hb_font_t to work upon - * @coords: (array length=coords_length): Array of variation coordinates to apply - * @coords_length: Number of coordinates to apply - * - * Applies a list of variation coordinates (in design-space units) - * to a font. - * - * Since: 1.4.2 - */ -void -hb_font_set_var_coords_design (hb_font_t *font, - const float *coords, - unsigned int coords_length) -{ - if (hb_object_is_immutable (font)) - return; - - int *normalized = coords_length ? (int *) hb_calloc (coords_length, sizeof (int)) : nullptr; - float *design_coords = coords_length ? (float *) hb_calloc (coords_length, sizeof (float)) : nullptr; - - if (unlikely (coords_length && !(normalized && design_coords))) - { - hb_free (normalized); - hb_free (design_coords); - return; - } - - if (coords_length) - memcpy (design_coords, coords, coords_length * sizeof (font->design_coords[0])); - - hb_ot_var_normalize_coords (font->face, coords_length, coords, normalized); - _hb_font_adopt_var_coords (font, normalized, design_coords, coords_length); -} - -/** - * hb_font_set_var_named_instance: - * @font: a font. - * @instance_index: named instance index. - * - * Sets design coords of a font from a named instance index. - * - * Since: 2.6.0 - */ -void -hb_font_set_var_named_instance (hb_font_t *font, - unsigned instance_index) -{ - if (hb_object_is_immutable (font)) - return; - - unsigned int coords_length = hb_ot_var_named_instance_get_design_coords (font->face, instance_index, nullptr, nullptr); - - float *coords = coords_length ? (float *) hb_calloc (coords_length, sizeof (float)) : nullptr; - if (unlikely (coords_length && !coords)) - return; - - hb_ot_var_named_instance_get_design_coords (font->face, instance_index, &coords_length, coords); - hb_font_set_var_coords_design (font, coords, coords_length); - hb_free (coords); -} - -/** - * hb_font_set_var_coords_normalized: - * @font: #hb_font_t to work upon - * @coords: (array length=coords_length): Array of variation coordinates to apply - * @coords_length: Number of coordinates to apply - * - * Applies a list of variation coordinates (in normalized units) - * to a font. - * - * Note: Coordinates should be normalized to 2.14. - * - * Since: 1.4.2 - */ -void -hb_font_set_var_coords_normalized (hb_font_t *font, - const int *coords, /* 2.14 normalized */ - unsigned int coords_length) -{ - if (hb_object_is_immutable (font)) - return; - - int *copy = coords_length ? (int *) hb_calloc (coords_length, sizeof (coords[0])) : nullptr; - int *unmapped = coords_length ? (int *) hb_calloc (coords_length, sizeof (coords[0])) : nullptr; - float *design_coords = coords_length ? (float *) hb_calloc (coords_length, sizeof (design_coords[0])) : nullptr; - - if (unlikely (coords_length && !(copy && unmapped && design_coords))) - { - hb_free (copy); - hb_free (unmapped); - hb_free (design_coords); - return; - } - - if (coords_length) - { - memcpy (copy, coords, coords_length * sizeof (coords[0])); - memcpy (unmapped, coords, coords_length * sizeof (coords[0])); - } - - /* Best effort design coords simulation */ - font->face->table.avar->unmap_coords (unmapped, coords_length); - for (unsigned int i = 0; i < coords_length; ++i) - design_coords[i] = font->face->table.fvar->unnormalize_axis_value (i, unmapped[i]); - hb_free (unmapped); - - _hb_font_adopt_var_coords (font, copy, design_coords, coords_length); -} - -/** - * hb_font_get_var_coords_normalized: - * @font: #hb_font_t to work upon - * @length: Number of coordinates retrieved - * - * Fetches the list of normalized variation coordinates currently - * set on a font. - * - * Return value is valid as long as variation coordinates of the font - * are not modified. - * - * Since: 1.4.2 - */ -const int * -hb_font_get_var_coords_normalized (hb_font_t *font, - unsigned int *length) -{ - if (length) - *length = font->num_coords; - - return font->coords; -} - -#ifdef HB_EXPERIMENTAL_API -/** - * hb_font_get_var_coords_design: - * @font: #hb_font_t to work upon - * @length: (out): number of coordinates - * - * Return value is valid as long as variation coordinates of the font - * are not modified. - * - * Return value: coordinates array - * - * Since: EXPERIMENTAL - */ -const float * -hb_font_get_var_coords_design (hb_font_t *font, - unsigned int *length) -{ - if (length) - *length = font->num_coords; - - return font->design_coords; -} -#endif -#endif - -#ifndef HB_DISABLE_DEPRECATED -/* - * Deprecated get_glyph_func(): - */ - -struct hb_trampoline_closure_t -{ - void *user_data; - hb_destroy_func_t destroy; - unsigned int ref_count; -}; - -template -struct hb_trampoline_t -{ - hb_trampoline_closure_t closure; /* Must be first. */ - FuncType func; -}; - -template -static hb_trampoline_t * -trampoline_create (FuncType func, - void *user_data, - hb_destroy_func_t destroy) -{ - typedef hb_trampoline_t trampoline_t; - - trampoline_t *trampoline = (trampoline_t *) hb_calloc (1, sizeof (trampoline_t)); - - if (unlikely (!trampoline)) - return nullptr; - - trampoline->closure.user_data = user_data; - trampoline->closure.destroy = destroy; - trampoline->closure.ref_count = 1; - trampoline->func = func; - - return trampoline; -} - -static void -trampoline_reference (hb_trampoline_closure_t *closure) -{ - closure->ref_count++; -} - -static void -trampoline_destroy (void *user_data) -{ - hb_trampoline_closure_t *closure = (hb_trampoline_closure_t *) user_data; - - if (--closure->ref_count) - return; - - if (closure->destroy) - closure->destroy (closure->user_data); - hb_free (closure); -} - -typedef hb_trampoline_t hb_font_get_glyph_trampoline_t; - -static hb_bool_t -hb_font_get_nominal_glyph_trampoline (hb_font_t *font, - void *font_data, - hb_codepoint_t unicode, - hb_codepoint_t *glyph, - void *user_data) -{ - hb_font_get_glyph_trampoline_t *trampoline = (hb_font_get_glyph_trampoline_t *) user_data; - return trampoline->func (font, font_data, unicode, 0, glyph, trampoline->closure.user_data); -} - -static hb_bool_t -hb_font_get_variation_glyph_trampoline (hb_font_t *font, - void *font_data, - hb_codepoint_t unicode, - hb_codepoint_t variation_selector, - hb_codepoint_t *glyph, - void *user_data) -{ - hb_font_get_glyph_trampoline_t *trampoline = (hb_font_get_glyph_trampoline_t *) user_data; - return trampoline->func (font, font_data, unicode, variation_selector, glyph, trampoline->closure.user_data); -} - -/** - * hb_font_funcs_set_glyph_func: - * @ffuncs: The font-functions structure - * @func: (closure user_data) (destroy destroy) (scope notified): callback function - * @user_data: data to pass to @func - * @destroy: (nullable): function to call when @user_data is not needed anymore - * - * Deprecated. Use hb_font_funcs_set_nominal_glyph_func() and - * hb_font_funcs_set_variation_glyph_func() instead. - * - * Since: 0.9.2 - * Deprecated: 1.2.3 - **/ -void -hb_font_funcs_set_glyph_func (hb_font_funcs_t *ffuncs, - hb_font_get_glyph_func_t func, - void *user_data, - hb_destroy_func_t destroy /* May be NULL. */) -{ - if (hb_object_is_immutable (ffuncs)) - { - if (destroy) - destroy (user_data); - return; - } - - hb_font_get_glyph_trampoline_t *trampoline; - - trampoline = trampoline_create (func, user_data, destroy); - if (unlikely (!trampoline)) - { - if (destroy) - destroy (user_data); - return; - } - - hb_font_funcs_set_nominal_glyph_func (ffuncs, - hb_font_get_nominal_glyph_trampoline, - trampoline, - trampoline_destroy); - - trampoline_reference (&trampoline->closure); - hb_font_funcs_set_variation_glyph_func (ffuncs, - hb_font_get_variation_glyph_trampoline, - trampoline, - trampoline_destroy); -} -#endif diff --git a/harfbuzz/src/hb-font.h b/harfbuzz/src/hb-font.h deleted file mode 100644 index 15dc126..0000000 --- a/harfbuzz/src/hb-font.h +++ /dev/null @@ -1,1063 +0,0 @@ -/* - * Copyright © 2009 Red Hat, Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Red Hat Author(s): Behdad Esfahbod - */ - -#if !defined(HB_H_IN) && !defined(HB_NO_SINGLE_HEADER_ERROR) -#error "Include instead." -#endif - -#ifndef HB_FONT_H -#define HB_FONT_H - -#include "hb-common.h" -#include "hb-face.h" -#include "hb-draw.h" - -HB_BEGIN_DECLS - -/** - * hb_font_t: - * - * Data type for holding fonts. - * - */ -typedef struct hb_font_t hb_font_t; - - -/* - * hb_font_funcs_t - */ - -/** - * hb_font_funcs_t: - * - * Data type containing a set of virtual methods used for - * working on #hb_font_t font objects. - * - * HarfBuzz provides a lightweight default function for each of - * the methods in #hb_font_funcs_t. Client programs can implement - * their own replacements for the individual font functions, as - * needed, and replace the default by calling the setter for a - * method. - * - **/ -typedef struct hb_font_funcs_t hb_font_funcs_t; - -HB_EXTERN hb_font_funcs_t * -hb_font_funcs_create (void); - -HB_EXTERN hb_font_funcs_t * -hb_font_funcs_get_empty (void); - -HB_EXTERN hb_font_funcs_t * -hb_font_funcs_reference (hb_font_funcs_t *ffuncs); - -HB_EXTERN void -hb_font_funcs_destroy (hb_font_funcs_t *ffuncs); - -HB_EXTERN hb_bool_t -hb_font_funcs_set_user_data (hb_font_funcs_t *ffuncs, - hb_user_data_key_t *key, - void * data, - hb_destroy_func_t destroy, - hb_bool_t replace); - - -HB_EXTERN void * -hb_font_funcs_get_user_data (hb_font_funcs_t *ffuncs, - hb_user_data_key_t *key); - - -HB_EXTERN void -hb_font_funcs_make_immutable (hb_font_funcs_t *ffuncs); - -HB_EXTERN hb_bool_t -hb_font_funcs_is_immutable (hb_font_funcs_t *ffuncs); - - -/* font and glyph extents */ - -/** - * hb_font_extents_t: - * @ascender: The height of typographic ascenders. - * @descender: The depth of typographic descenders. - * @line_gap: The suggested line-spacing gap. - * - * Font-wide extent values, measured in font units. - * - * Note that typically @ascender is positive and @descender - * negative, in coordinate systems that grow up. - **/ -typedef struct hb_font_extents_t { - hb_position_t ascender; - hb_position_t descender; - hb_position_t line_gap; - /*< private >*/ - hb_position_t reserved9; - hb_position_t reserved8; - hb_position_t reserved7; - hb_position_t reserved6; - hb_position_t reserved5; - hb_position_t reserved4; - hb_position_t reserved3; - hb_position_t reserved2; - hb_position_t reserved1; -} hb_font_extents_t; - -/** - * hb_glyph_extents_t: - * @x_bearing: Distance from the x-origin to the left extremum of the glyph. - * @y_bearing: Distance from the top extremum of the glyph to the y-origin. - * @width: Distance from the left extremum of the glyph to the right extremum. - * @height: Distance from the top extremum of the glyph to the bottom extremum. - * - * Glyph extent values, measured in font units. - * - * Note that @height is negative, in coordinate systems that grow up. - **/ -typedef struct hb_glyph_extents_t { - hb_position_t x_bearing; - hb_position_t y_bearing; - hb_position_t width; - hb_position_t height; -} hb_glyph_extents_t; - -/* func types */ - -/** - * hb_font_get_font_extents_func_t: - * @font: #hb_font_t to work upon - * @font_data: @font user data pointer - * @extents: (out): The font extents retrieved - * @user_data: User data pointer passed by the caller - * - * This method should retrieve the extents for a font. - * - **/ -typedef hb_bool_t (*hb_font_get_font_extents_func_t) (hb_font_t *font, void *font_data, - hb_font_extents_t *extents, - void *user_data); - -/** - * hb_font_get_font_h_extents_func_t: - * - * A virtual method for the #hb_font_funcs_t of an #hb_font_t object. - * - * This method should retrieve the extents for a font, for horizontal-direction - * text segments. Extents must be returned in an #hb_glyph_extents output - * parameter. - * - **/ -typedef hb_font_get_font_extents_func_t hb_font_get_font_h_extents_func_t; - -/** - * hb_font_get_font_v_extents_func_t: - * - * A virtual method for the #hb_font_funcs_t of an #hb_font_t object. - * - * This method should retrieve the extents for a font, for vertical-direction - * text segments. Extents must be returned in an #hb_glyph_extents output - * parameter. - * - **/ -typedef hb_font_get_font_extents_func_t hb_font_get_font_v_extents_func_t; - - -/** - * hb_font_get_nominal_glyph_func_t: - * @font: #hb_font_t to work upon - * @font_data: @font user data pointer - * @unicode: The Unicode code point to query - * @glyph: (out): The glyph ID retrieved - * @user_data: User data pointer passed by the caller - * - * A virtual method for the #hb_font_funcs_t of an #hb_font_t object. - * - * This method should retrieve the nominal glyph ID for a specified Unicode code - * point. Glyph IDs must be returned in a #hb_codepoint_t output parameter. - * - * Return value: %true if data found, %false otherwise - * - **/ -typedef hb_bool_t (*hb_font_get_nominal_glyph_func_t) (hb_font_t *font, void *font_data, - hb_codepoint_t unicode, - hb_codepoint_t *glyph, - void *user_data); - -/** - * hb_font_get_variation_glyph_func_t: - * @font: #hb_font_t to work upon - * @font_data: @font user data pointer - * @unicode: The Unicode code point to query - * @variation_selector: The variation-selector code point to query - * @glyph: (out): The glyph ID retrieved - * @user_data: User data pointer passed by the caller - * - * A virtual method for the #hb_font_funcs_t of an #hb_font_t object. - * - * This method should retrieve the glyph ID for a specified Unicode code point - * followed by a specified Variation Selector code point. Glyph IDs must be - * returned in a #hb_codepoint_t output parameter. - * - * Return value: %true if data found, %false otherwise - * - **/ -typedef hb_bool_t (*hb_font_get_variation_glyph_func_t) (hb_font_t *font, void *font_data, - hb_codepoint_t unicode, hb_codepoint_t variation_selector, - hb_codepoint_t *glyph, - void *user_data); - - -/** - * hb_font_get_nominal_glyphs_func_t: - * @font: #hb_font_t to work upon - * @font_data: @font user data pointer - * @count: number of code points to query - * @first_unicode: The first Unicode code point to query - * @unicode_stride: The stride between successive code points - * @first_glyph: (out): The first glyph ID retrieved - * @glyph_stride: The stride between successive glyph IDs - * @user_data: User data pointer passed by the caller - * - * A virtual method for the #hb_font_funcs_t of an #hb_font_t object. - * - * This method should retrieve the nominal glyph IDs for a sequence of - * Unicode code points. Glyph IDs must be returned in a #hb_codepoint_t - * output parameter. - * - * Return value: the number of code points processed - * - **/ -typedef unsigned int (*hb_font_get_nominal_glyphs_func_t) (hb_font_t *font, void *font_data, - unsigned int count, - const hb_codepoint_t *first_unicode, - unsigned int unicode_stride, - hb_codepoint_t *first_glyph, - unsigned int glyph_stride, - void *user_data); - -/** - * hb_font_get_glyph_advance_func_t: - * @font: #hb_font_t to work upon - * @font_data: @font user data pointer - * @glyph: The glyph ID to query - * @user_data: User data pointer passed by the caller - * - * A virtual method for the #hb_font_funcs_t of an #hb_font_t object. - * - * This method should retrieve the advance for a specified glyph. The - * method must return an #hb_position_t. - * - * Return value: The advance of @glyph within @font - * - **/ -typedef hb_position_t (*hb_font_get_glyph_advance_func_t) (hb_font_t *font, void *font_data, - hb_codepoint_t glyph, - void *user_data); - -/** - * hb_font_get_glyph_h_advance_func_t: - * - * A virtual method for the #hb_font_funcs_t of an #hb_font_t object. - * - * This method should retrieve the advance for a specified glyph, in - * horizontal-direction text segments. Advances must be returned in - * an #hb_position_t output parameter. - * - **/ -typedef hb_font_get_glyph_advance_func_t hb_font_get_glyph_h_advance_func_t; - -/** - * hb_font_get_glyph_v_advance_func_t: - * - * A virtual method for the #hb_font_funcs_t of an #hb_font_t object. - * - * This method should retrieve the advance for a specified glyph, in - * vertical-direction text segments. Advances must be returned in - * an #hb_position_t output parameter. - * - **/ -typedef hb_font_get_glyph_advance_func_t hb_font_get_glyph_v_advance_func_t; - -/** - * hb_font_get_glyph_advances_func_t: - * @font: #hb_font_t to work upon - * @font_data: @font user data pointer - * @count: The number of glyph IDs in the sequence queried - * @first_glyph: The first glyph ID to query - * @glyph_stride: The stride between successive glyph IDs - * @first_advance: (out): The first advance retrieved - * @advance_stride: The stride between successive advances - * @user_data: User data pointer passed by the caller - * - * A virtual method for the #hb_font_funcs_t of an #hb_font_t object. - * - * This method should retrieve the advances for a sequence of glyphs. - * - **/ -typedef void (*hb_font_get_glyph_advances_func_t) (hb_font_t* font, void* font_data, - unsigned int count, - const hb_codepoint_t *first_glyph, - unsigned glyph_stride, - hb_position_t *first_advance, - unsigned advance_stride, - void *user_data); - -/** - * hb_font_get_glyph_h_advances_func_t: - * - * A virtual method for the #hb_font_funcs_t of an #hb_font_t object. - * - * This method should retrieve the advances for a sequence of glyphs, in - * horizontal-direction text segments. - * - **/ -typedef hb_font_get_glyph_advances_func_t hb_font_get_glyph_h_advances_func_t; - -/** - * hb_font_get_glyph_v_advances_func_t: - * - * A virtual method for the #hb_font_funcs_t of an #hb_font_t object. - * - * This method should retrieve the advances for a sequence of glyphs, in - * vertical-direction text segments. - * - **/ -typedef hb_font_get_glyph_advances_func_t hb_font_get_glyph_v_advances_func_t; - -/** - * hb_font_get_glyph_origin_func_t: - * @font: #hb_font_t to work upon - * @font_data: @font user data pointer - * @glyph: The glyph ID to query - * @x: (out): The X coordinate of the origin - * @y: (out): The Y coordinate of the origin - * @user_data: User data pointer passed by the caller - * - * A virtual method for the #hb_font_funcs_t of an #hb_font_t object. - * - * This method should retrieve the (X,Y) coordinates (in font units) of the - * origin for a glyph. Each coordinate must be returned in an #hb_position_t - * output parameter. - * - * Return value: %true if data found, %false otherwise - * - **/ -typedef hb_bool_t (*hb_font_get_glyph_origin_func_t) (hb_font_t *font, void *font_data, - hb_codepoint_t glyph, - hb_position_t *x, hb_position_t *y, - void *user_data); - -/** - * hb_font_get_glyph_h_origin_func_t: - * - * A virtual method for the #hb_font_funcs_t of an #hb_font_t object. - * - * This method should retrieve the (X,Y) coordinates (in font units) of the - * origin for a glyph, for horizontal-direction text segments. Each - * coordinate must be returned in an #hb_position_t output parameter. - * - **/ -typedef hb_font_get_glyph_origin_func_t hb_font_get_glyph_h_origin_func_t; - -/** - * hb_font_get_glyph_v_origin_func_t: - * - * A virtual method for the #hb_font_funcs_t of an #hb_font_t object. - * - * This method should retrieve the (X,Y) coordinates (in font units) of the - * origin for a glyph, for vertical-direction text segments. Each coordinate - * must be returned in an #hb_position_t output parameter. - * - **/ -typedef hb_font_get_glyph_origin_func_t hb_font_get_glyph_v_origin_func_t; - -/** - * hb_font_get_glyph_kerning_func_t: - * @font: #hb_font_t to work upon - * @font_data: @font user data pointer - * @first_glyph: The glyph ID of the first glyph in the glyph pair - * @second_glyph: The glyph ID of the second glyph in the glyph pair - * @user_data: User data pointer passed by the caller - * - * This method should retrieve the kerning-adjustment value for a glyph-pair in - * the specified font, for horizontal text segments. - * - **/ -typedef hb_position_t (*hb_font_get_glyph_kerning_func_t) (hb_font_t *font, void *font_data, - hb_codepoint_t first_glyph, hb_codepoint_t second_glyph, - void *user_data); -/** - * hb_font_get_glyph_h_kerning_func_t: - * - * A virtual method for the #hb_font_funcs_t of an #hb_font_t object. - * - * This method should retrieve the kerning-adjustment value for a glyph-pair in - * the specified font, for horizontal text segments. - * - **/ -typedef hb_font_get_glyph_kerning_func_t hb_font_get_glyph_h_kerning_func_t; - - -/** - * hb_font_get_glyph_extents_func_t: - * @font: #hb_font_t to work upon - * @font_data: @font user data pointer - * @glyph: The glyph ID to query - * @extents: (out): The #hb_glyph_extents_t retrieved - * @user_data: User data pointer passed by the caller - * - * A virtual method for the #hb_font_funcs_t of an #hb_font_t object. - * - * This method should retrieve the extents for a specified glyph. Extents must be - * returned in an #hb_glyph_extents output parameter. - * - * Return value: %true if data found, %false otherwise - * - **/ -typedef hb_bool_t (*hb_font_get_glyph_extents_func_t) (hb_font_t *font, void *font_data, - hb_codepoint_t glyph, - hb_glyph_extents_t *extents, - void *user_data); - -/** - * hb_font_get_glyph_contour_point_func_t: - * @font: #hb_font_t to work upon - * @font_data: @font user data pointer - * @glyph: The glyph ID to query - * @point_index: The contour-point index to query - * @x: (out): The X value retrieved for the contour point - * @y: (out): The Y value retrieved for the contour point - * @user_data: User data pointer passed by the caller - * - * A virtual method for the #hb_font_funcs_t of an #hb_font_t object. - * - * This method should retrieve the (X,Y) coordinates (in font units) for a - * specified contour point in a glyph. Each coordinate must be returned as - * an #hb_position_t output parameter. - * - * Return value: %true if data found, %false otherwise - * - **/ -typedef hb_bool_t (*hb_font_get_glyph_contour_point_func_t) (hb_font_t *font, void *font_data, - hb_codepoint_t glyph, unsigned int point_index, - hb_position_t *x, hb_position_t *y, - void *user_data); - - -/** - * hb_font_get_glyph_name_func_t: - * @font: #hb_font_t to work upon - * @font_data: @font user data pointer - * @glyph: The glyph ID to query - * @name: (out) (array length=size): Name string retrieved for the glyph ID - * @size: Length of the glyph-name string retrieved - * @user_data: User data pointer passed by the caller - * - * A virtual method for the #hb_font_funcs_t of an #hb_font_t object. - * - * This method should retrieve the glyph name that corresponds to a - * glyph ID. The name should be returned in a string output parameter. - * - * Return value: %true if data found, %false otherwise - * - **/ -typedef hb_bool_t (*hb_font_get_glyph_name_func_t) (hb_font_t *font, void *font_data, - hb_codepoint_t glyph, - char *name, unsigned int size, - void *user_data); - -/** - * hb_font_get_glyph_from_name_func_t: - * @font: #hb_font_t to work upon - * @font_data: @font user data pointer - * @name: (array length=len): The name string to query - * @len: The length of the name queried - * @glyph: (out): The glyph ID retrieved - * @user_data: User data pointer passed by the caller - * - * A virtual method for the #hb_font_funcs_t of an #hb_font_t object. - * - * This method should retrieve the glyph ID that corresponds to a glyph-name - * string. - * - * Return value: %true if data found, %false otherwise - * - **/ -typedef hb_bool_t (*hb_font_get_glyph_from_name_func_t) (hb_font_t *font, void *font_data, - const char *name, int len, /* -1 means nul-terminated */ - hb_codepoint_t *glyph, - void *user_data); - - -/* func setters */ - -/** - * hb_font_funcs_set_font_h_extents_func: - * @ffuncs: A font-function structure - * @func: (closure user_data) (destroy destroy) (scope notified): The callback function to assign - * @user_data: Data to pass to @func - * @destroy: (nullable): The function to call when @user_data is not needed anymore - * - * Sets the implementation function for #hb_font_get_font_h_extents_func_t. - * - * Since: 1.1.2 - **/ -HB_EXTERN void -hb_font_funcs_set_font_h_extents_func (hb_font_funcs_t *ffuncs, - hb_font_get_font_h_extents_func_t func, - void *user_data, hb_destroy_func_t destroy); - -/** - * hb_font_funcs_set_font_v_extents_func: - * @ffuncs: A font-function structure - * @func: (closure user_data) (destroy destroy) (scope notified): The callback function to assign - * @user_data: Data to pass to @func - * @destroy: (nullable): The function to call when @user_data is not needed anymore - * - * Sets the implementation function for #hb_font_get_font_v_extents_func_t. - * - * Since: 1.1.2 - **/ -HB_EXTERN void -hb_font_funcs_set_font_v_extents_func (hb_font_funcs_t *ffuncs, - hb_font_get_font_v_extents_func_t func, - void *user_data, hb_destroy_func_t destroy); - -/** - * hb_font_funcs_set_nominal_glyph_func: - * @ffuncs: A font-function structure - * @func: (closure user_data) (destroy destroy) (scope notified): The callback function to assign - * @user_data: Data to pass to @func - * @destroy: (nullable): The function to call when @user_data is not needed anymore - * - * Sets the implementation function for #hb_font_get_nominal_glyph_func_t. - * - * Since: 1.2.3 - **/ -HB_EXTERN void -hb_font_funcs_set_nominal_glyph_func (hb_font_funcs_t *ffuncs, - hb_font_get_nominal_glyph_func_t func, - void *user_data, hb_destroy_func_t destroy); - -/** - * hb_font_funcs_set_nominal_glyphs_func: - * @ffuncs: A font-function structure - * @func: (closure user_data) (destroy destroy) (scope notified): The callback function to assign - * @user_data: Data to pass to @func - * @destroy: (nullable): The function to call when @user_data is not needed anymore - * - * Sets the implementation function for #hb_font_get_nominal_glyphs_func_t. - * - * Since: 2.0.0 - **/ -HB_EXTERN void -hb_font_funcs_set_nominal_glyphs_func (hb_font_funcs_t *ffuncs, - hb_font_get_nominal_glyphs_func_t func, - void *user_data, hb_destroy_func_t destroy); - -/** - * hb_font_funcs_set_variation_glyph_func: - * @ffuncs: A font-function structure - * @func: (closure user_data) (destroy destroy) (scope notified): The callback function to assign - * @user_data: Data to pass to @func - * @destroy: (nullable): The function to call when @user_data is not needed anymore - * - * Sets the implementation function for #hb_font_get_variation_glyph_func_t. - * - * Since: 1.2.3 - **/ -HB_EXTERN void -hb_font_funcs_set_variation_glyph_func (hb_font_funcs_t *ffuncs, - hb_font_get_variation_glyph_func_t func, - void *user_data, hb_destroy_func_t destroy); - -/** - * hb_font_funcs_set_glyph_h_advance_func: - * @ffuncs: A font-function structure - * @func: (closure user_data) (destroy destroy) (scope notified): The callback function to assign - * @user_data: Data to pass to @func - * @destroy: (nullable): The function to call when @user_data is not needed anymore - * - * Sets the implementation function for #hb_font_get_glyph_h_advance_func_t. - * - * Since: 0.9.2 - **/ -HB_EXTERN void -hb_font_funcs_set_glyph_h_advance_func (hb_font_funcs_t *ffuncs, - hb_font_get_glyph_h_advance_func_t func, - void *user_data, hb_destroy_func_t destroy); - -/** - * hb_font_funcs_set_glyph_v_advance_func: - * @ffuncs: A font-function structure - * @func: (closure user_data) (destroy destroy) (scope notified): The callback function to assign - * @user_data: Data to pass to @func - * @destroy: (nullable): The function to call when @user_data is not needed anymore - * - * Sets the implementation function for #hb_font_get_glyph_v_advance_func_t. - * - * Since: 0.9.2 - **/ -HB_EXTERN void -hb_font_funcs_set_glyph_v_advance_func (hb_font_funcs_t *ffuncs, - hb_font_get_glyph_v_advance_func_t func, - void *user_data, hb_destroy_func_t destroy); - -/** - * hb_font_funcs_set_glyph_h_advances_func: - * @ffuncs: A font-function structure - * @func: (closure user_data) (destroy destroy) (scope notified): The callback function to assign - * @user_data: Data to pass to @func - * @destroy: (nullable): The function to call when @user_data is not needed anymore - * - * Sets the implementation function for #hb_font_get_glyph_h_advances_func_t. - * - * Since: 1.8.6 - **/ -HB_EXTERN void -hb_font_funcs_set_glyph_h_advances_func (hb_font_funcs_t *ffuncs, - hb_font_get_glyph_h_advances_func_t func, - void *user_data, hb_destroy_func_t destroy); - -/** - * hb_font_funcs_set_glyph_v_advances_func: - * @ffuncs: A font-function structure - * @func: (closure user_data) (destroy destroy) (scope notified): The callback function to assign - * @user_data: Data to pass to @func - * @destroy: (nullable): The function to call when @user_data is not needed anymore - * - * Sets the implementation function for #hb_font_get_glyph_v_advances_func_t. - * - * Since: 1.8.6 - **/ -HB_EXTERN void -hb_font_funcs_set_glyph_v_advances_func (hb_font_funcs_t *ffuncs, - hb_font_get_glyph_v_advances_func_t func, - void *user_data, hb_destroy_func_t destroy); - -/** - * hb_font_funcs_set_glyph_h_origin_func: - * @ffuncs: A font-function structure - * @func: (closure user_data) (destroy destroy) (scope notified): The callback function to assign - * @user_data: Data to pass to @func - * @destroy: (nullable): The function to call when @user_data is not needed anymore - * - * Sets the implementation function for #hb_font_get_glyph_h_origin_func_t. - * - * Since: 0.9.2 - **/ -HB_EXTERN void -hb_font_funcs_set_glyph_h_origin_func (hb_font_funcs_t *ffuncs, - hb_font_get_glyph_h_origin_func_t func, - void *user_data, hb_destroy_func_t destroy); - -/** - * hb_font_funcs_set_glyph_v_origin_func: - * @ffuncs: A font-function structure - * @func: (closure user_data) (destroy destroy) (scope notified): The callback function to assign - * @user_data: Data to pass to @func - * @destroy: (nullable): The function to call when @user_data is not needed anymore - * - * Sets the implementation function for #hb_font_get_glyph_v_origin_func_t. - * - * Since: 0.9.2 - **/ -HB_EXTERN void -hb_font_funcs_set_glyph_v_origin_func (hb_font_funcs_t *ffuncs, - hb_font_get_glyph_v_origin_func_t func, - void *user_data, hb_destroy_func_t destroy); - -/** - * hb_font_funcs_set_glyph_h_kerning_func: - * @ffuncs: A font-function structure - * @func: (closure user_data) (destroy destroy) (scope notified): The callback function to assign - * @user_data: Data to pass to @func - * @destroy: (nullable): The function to call when @user_data is not needed anymore - * - * Sets the implementation function for #hb_font_get_glyph_h_kerning_func_t. - * - * Since: 0.9.2 - **/ -HB_EXTERN void -hb_font_funcs_set_glyph_h_kerning_func (hb_font_funcs_t *ffuncs, - hb_font_get_glyph_h_kerning_func_t func, - void *user_data, hb_destroy_func_t destroy); - -/** - * hb_font_funcs_set_glyph_extents_func: - * @ffuncs: A font-function structure - * @func: (closure user_data) (destroy destroy) (scope notified): The callback function to assign - * @user_data: Data to pass to @func - * @destroy: (nullable): The function to call when @user_data is not needed anymore - * - * Sets the implementation function for #hb_font_get_glyph_extents_func_t. - * - * Since: 0.9.2 - **/ -HB_EXTERN void -hb_font_funcs_set_glyph_extents_func (hb_font_funcs_t *ffuncs, - hb_font_get_glyph_extents_func_t func, - void *user_data, hb_destroy_func_t destroy); - -/** - * hb_font_funcs_set_glyph_contour_point_func: - * @ffuncs: A font-function structure - * @func: (closure user_data) (destroy destroy) (scope notified): The callback function to assign - * @user_data: Data to pass to @func - * @destroy: (nullable): The function to call when @user_data is not needed anymore - * - * Sets the implementation function for #hb_font_get_glyph_contour_point_func_t. - * - * Since: 0.9.2 - **/ -HB_EXTERN void -hb_font_funcs_set_glyph_contour_point_func (hb_font_funcs_t *ffuncs, - hb_font_get_glyph_contour_point_func_t func, - void *user_data, hb_destroy_func_t destroy); - -/** - * hb_font_funcs_set_glyph_name_func: - * @ffuncs: A font-function structure - * @func: (closure user_data) (destroy destroy) (scope notified): The callback function to assign - * @user_data: Data to pass to @func - * @destroy: (nullable): The function to call when @user_data is not needed anymore - * - * Sets the implementation function for #hb_font_get_glyph_name_func_t. - * - * Since: 0.9.2 - **/ -HB_EXTERN void -hb_font_funcs_set_glyph_name_func (hb_font_funcs_t *ffuncs, - hb_font_get_glyph_name_func_t func, - void *user_data, hb_destroy_func_t destroy); - -/** - * hb_font_funcs_set_glyph_from_name_func: - * @ffuncs: A font-function structure - * @func: (closure user_data) (destroy destroy) (scope notified): The callback function to assign - * @user_data: Data to pass to @func - * @destroy: (nullable): The function to call when @user_data is not needed anymore - * - * Sets the implementation function for #hb_font_get_glyph_from_name_func_t. - * - * Since: 0.9.2 - **/ -HB_EXTERN void -hb_font_funcs_set_glyph_from_name_func (hb_font_funcs_t *ffuncs, - hb_font_get_glyph_from_name_func_t func, - void *user_data, hb_destroy_func_t destroy); - -/* func dispatch */ - -HB_EXTERN hb_bool_t -hb_font_get_h_extents (hb_font_t *font, - hb_font_extents_t *extents); -HB_EXTERN hb_bool_t -hb_font_get_v_extents (hb_font_t *font, - hb_font_extents_t *extents); - -HB_EXTERN hb_bool_t -hb_font_get_nominal_glyph (hb_font_t *font, - hb_codepoint_t unicode, - hb_codepoint_t *glyph); -HB_EXTERN hb_bool_t -hb_font_get_variation_glyph (hb_font_t *font, - hb_codepoint_t unicode, hb_codepoint_t variation_selector, - hb_codepoint_t *glyph); - -HB_EXTERN unsigned int -hb_font_get_nominal_glyphs (hb_font_t *font, - unsigned int count, - const hb_codepoint_t *first_unicode, - unsigned int unicode_stride, - hb_codepoint_t *first_glyph, - unsigned int glyph_stride); - -HB_EXTERN hb_position_t -hb_font_get_glyph_h_advance (hb_font_t *font, - hb_codepoint_t glyph); -HB_EXTERN hb_position_t -hb_font_get_glyph_v_advance (hb_font_t *font, - hb_codepoint_t glyph); - -HB_EXTERN void -hb_font_get_glyph_h_advances (hb_font_t* font, - unsigned int count, - const hb_codepoint_t *first_glyph, - unsigned glyph_stride, - hb_position_t *first_advance, - unsigned advance_stride); -HB_EXTERN void -hb_font_get_glyph_v_advances (hb_font_t* font, - unsigned int count, - const hb_codepoint_t *first_glyph, - unsigned glyph_stride, - hb_position_t *first_advance, - unsigned advance_stride); - -HB_EXTERN hb_bool_t -hb_font_get_glyph_h_origin (hb_font_t *font, - hb_codepoint_t glyph, - hb_position_t *x, hb_position_t *y); -HB_EXTERN hb_bool_t -hb_font_get_glyph_v_origin (hb_font_t *font, - hb_codepoint_t glyph, - hb_position_t *x, hb_position_t *y); - -HB_EXTERN hb_position_t -hb_font_get_glyph_h_kerning (hb_font_t *font, - hb_codepoint_t left_glyph, hb_codepoint_t right_glyph); - -HB_EXTERN hb_bool_t -hb_font_get_glyph_extents (hb_font_t *font, - hb_codepoint_t glyph, - hb_glyph_extents_t *extents); - -HB_EXTERN hb_bool_t -hb_font_get_glyph_contour_point (hb_font_t *font, - hb_codepoint_t glyph, unsigned int point_index, - hb_position_t *x, hb_position_t *y); - -HB_EXTERN hb_bool_t -hb_font_get_glyph_name (hb_font_t *font, - hb_codepoint_t glyph, - char *name, unsigned int size); -HB_EXTERN hb_bool_t -hb_font_get_glyph_from_name (hb_font_t *font, - const char *name, int len, /* -1 means nul-terminated */ - hb_codepoint_t *glyph); - - -/* high-level funcs, with fallback */ - -/* Calls either hb_font_get_nominal_glyph() if variation_selector is 0, - * otherwise calls hb_font_get_variation_glyph(). */ -HB_EXTERN hb_bool_t -hb_font_get_glyph (hb_font_t *font, - hb_codepoint_t unicode, hb_codepoint_t variation_selector, - hb_codepoint_t *glyph); - -HB_EXTERN void -hb_font_get_extents_for_direction (hb_font_t *font, - hb_direction_t direction, - hb_font_extents_t *extents); -HB_EXTERN void -hb_font_get_glyph_advance_for_direction (hb_font_t *font, - hb_codepoint_t glyph, - hb_direction_t direction, - hb_position_t *x, hb_position_t *y); -HB_EXTERN void -hb_font_get_glyph_advances_for_direction (hb_font_t* font, - hb_direction_t direction, - unsigned int count, - const hb_codepoint_t *first_glyph, - unsigned glyph_stride, - hb_position_t *first_advance, - unsigned advance_stride); -HB_EXTERN void -hb_font_get_glyph_origin_for_direction (hb_font_t *font, - hb_codepoint_t glyph, - hb_direction_t direction, - hb_position_t *x, hb_position_t *y); -HB_EXTERN void -hb_font_add_glyph_origin_for_direction (hb_font_t *font, - hb_codepoint_t glyph, - hb_direction_t direction, - hb_position_t *x, hb_position_t *y); -HB_EXTERN void -hb_font_subtract_glyph_origin_for_direction (hb_font_t *font, - hb_codepoint_t glyph, - hb_direction_t direction, - hb_position_t *x, hb_position_t *y); - -HB_EXTERN void -hb_font_get_glyph_kerning_for_direction (hb_font_t *font, - hb_codepoint_t first_glyph, hb_codepoint_t second_glyph, - hb_direction_t direction, - hb_position_t *x, hb_position_t *y); - -HB_EXTERN hb_bool_t -hb_font_get_glyph_extents_for_origin (hb_font_t *font, - hb_codepoint_t glyph, - hb_direction_t direction, - hb_glyph_extents_t *extents); - -HB_EXTERN hb_bool_t -hb_font_get_glyph_contour_point_for_origin (hb_font_t *font, - hb_codepoint_t glyph, unsigned int point_index, - hb_direction_t direction, - hb_position_t *x, hb_position_t *y); - -/* Generates gidDDD if glyph has no name. */ -HB_EXTERN void -hb_font_glyph_to_string (hb_font_t *font, - hb_codepoint_t glyph, - char *s, unsigned int size); -/* Parses gidDDD and uniUUUU strings automatically. */ -HB_EXTERN hb_bool_t -hb_font_glyph_from_string (hb_font_t *font, - const char *s, int len, /* -1 means nul-terminated */ - hb_codepoint_t *glyph); - - -/* - * hb_font_t - */ - -/* Fonts are very light-weight objects */ - -HB_EXTERN hb_font_t * -hb_font_create (hb_face_t *face); - -HB_EXTERN hb_font_t * -hb_font_create_sub_font (hb_font_t *parent); - -HB_EXTERN hb_font_t * -hb_font_get_empty (void); - -HB_EXTERN hb_font_t * -hb_font_reference (hb_font_t *font); - -HB_EXTERN void -hb_font_destroy (hb_font_t *font); - -HB_EXTERN hb_bool_t -hb_font_set_user_data (hb_font_t *font, - hb_user_data_key_t *key, - void * data, - hb_destroy_func_t destroy, - hb_bool_t replace); - - -HB_EXTERN void * -hb_font_get_user_data (hb_font_t *font, - hb_user_data_key_t *key); - -HB_EXTERN void -hb_font_make_immutable (hb_font_t *font); - -HB_EXTERN hb_bool_t -hb_font_is_immutable (hb_font_t *font); - -HB_EXTERN void -hb_font_set_parent (hb_font_t *font, - hb_font_t *parent); - -HB_EXTERN hb_font_t * -hb_font_get_parent (hb_font_t *font); - -HB_EXTERN void -hb_font_set_face (hb_font_t *font, - hb_face_t *face); - -HB_EXTERN hb_face_t * -hb_font_get_face (hb_font_t *font); - - -HB_EXTERN void -hb_font_set_funcs (hb_font_t *font, - hb_font_funcs_t *klass, - void *font_data, - hb_destroy_func_t destroy); - -/* Be *very* careful with this function! */ -HB_EXTERN void -hb_font_set_funcs_data (hb_font_t *font, - void *font_data, - hb_destroy_func_t destroy); - - -HB_EXTERN void -hb_font_set_scale (hb_font_t *font, - int x_scale, - int y_scale); - -HB_EXTERN void -hb_font_get_scale (hb_font_t *font, - int *x_scale, - int *y_scale); - -/* - * A zero value means "no hinting in that direction" - */ -HB_EXTERN void -hb_font_set_ppem (hb_font_t *font, - unsigned int x_ppem, - unsigned int y_ppem); - -HB_EXTERN void -hb_font_get_ppem (hb_font_t *font, - unsigned int *x_ppem, - unsigned int *y_ppem); - -/* - * Point size per EM. Used for optical-sizing in CoreText. - * A value of zero means "not set". - */ -HB_EXTERN void -hb_font_set_ptem (hb_font_t *font, float ptem); - -HB_EXTERN float -hb_font_get_ptem (hb_font_t *font); - -HB_EXTERN void -hb_font_set_variations (hb_font_t *font, - const hb_variation_t *variations, - unsigned int variations_length); - -HB_EXTERN void -hb_font_set_var_coords_design (hb_font_t *font, - const float *coords, - unsigned int coords_length); - -#ifdef HB_EXPERIMENTAL_API -HB_EXTERN const float * -hb_font_get_var_coords_design (hb_font_t *font, - unsigned int *length); -#endif - -HB_EXTERN void -hb_font_set_var_coords_normalized (hb_font_t *font, - const int *coords, /* 2.14 normalized */ - unsigned int coords_length); - -HB_EXTERN const int * -hb_font_get_var_coords_normalized (hb_font_t *font, - unsigned int *length); - -HB_EXTERN void -hb_font_set_var_named_instance (hb_font_t *font, - unsigned instance_index); - -#ifdef HB_EXPERIMENTAL_API -HB_EXTERN hb_bool_t -hb_font_draw_glyph (hb_font_t *font, hb_codepoint_t glyph, - const hb_draw_funcs_t *funcs, void *user_data); -#endif - -HB_END_DECLS - -#endif /* HB_FONT_H */ diff --git a/harfbuzz/src/hb-font.hh b/harfbuzz/src/hb-font.hh deleted file mode 100644 index 1b7f445..0000000 --- a/harfbuzz/src/hb-font.hh +++ /dev/null @@ -1,632 +0,0 @@ -/* - * Copyright © 2009 Red Hat, Inc. - * Copyright © 2011 Google, Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Red Hat Author(s): Behdad Esfahbod - * Google Author(s): Behdad Esfahbod - */ - -#ifndef HB_FONT_HH -#define HB_FONT_HH - -#include "hb.hh" - -#include "hb-face.hh" -#include "hb-shaper.hh" - - -/* - * hb_font_funcs_t - */ - -#define HB_FONT_FUNCS_IMPLEMENT_CALLBACKS \ - HB_FONT_FUNC_IMPLEMENT (font_h_extents) \ - HB_FONT_FUNC_IMPLEMENT (font_v_extents) \ - HB_FONT_FUNC_IMPLEMENT (nominal_glyph) \ - HB_FONT_FUNC_IMPLEMENT (nominal_glyphs) \ - HB_FONT_FUNC_IMPLEMENT (variation_glyph) \ - HB_FONT_FUNC_IMPLEMENT (glyph_h_advance) \ - HB_FONT_FUNC_IMPLEMENT (glyph_v_advance) \ - HB_FONT_FUNC_IMPLEMENT (glyph_h_advances) \ - HB_FONT_FUNC_IMPLEMENT (glyph_v_advances) \ - HB_FONT_FUNC_IMPLEMENT (glyph_h_origin) \ - HB_FONT_FUNC_IMPLEMENT (glyph_v_origin) \ - HB_FONT_FUNC_IMPLEMENT (glyph_h_kerning) \ - HB_IF_NOT_DEPRECATED (HB_FONT_FUNC_IMPLEMENT (glyph_v_kerning)) \ - HB_FONT_FUNC_IMPLEMENT (glyph_extents) \ - HB_FONT_FUNC_IMPLEMENT (glyph_contour_point) \ - HB_FONT_FUNC_IMPLEMENT (glyph_name) \ - HB_FONT_FUNC_IMPLEMENT (glyph_from_name) \ - /* ^--- Add new callbacks here */ - -struct hb_font_funcs_t -{ - hb_object_header_t header; - - struct { -#define HB_FONT_FUNC_IMPLEMENT(name) void *name; - HB_FONT_FUNCS_IMPLEMENT_CALLBACKS -#undef HB_FONT_FUNC_IMPLEMENT - } user_data; - - struct { -#define HB_FONT_FUNC_IMPLEMENT(name) hb_destroy_func_t name; - HB_FONT_FUNCS_IMPLEMENT_CALLBACKS -#undef HB_FONT_FUNC_IMPLEMENT - } destroy; - - /* Don't access these directly. Call font->get_*() instead. */ - union get_t { - struct get_funcs_t { -#define HB_FONT_FUNC_IMPLEMENT(name) hb_font_get_##name##_func_t name; - HB_FONT_FUNCS_IMPLEMENT_CALLBACKS -#undef HB_FONT_FUNC_IMPLEMENT - } f; - void (*array[0 -#define HB_FONT_FUNC_IMPLEMENT(name) +1 - HB_FONT_FUNCS_IMPLEMENT_CALLBACKS -#undef HB_FONT_FUNC_IMPLEMENT - ]) (); - } get; -}; -DECLARE_NULL_INSTANCE (hb_font_funcs_t); - - -/* - * hb_font_t - */ - -#define HB_SHAPER_IMPLEMENT(shaper) HB_SHAPER_DATA_INSTANTIATE_SHAPERS(shaper, font); -#include "hb-shaper-list.hh" -#undef HB_SHAPER_IMPLEMENT - -struct hb_font_t -{ - hb_object_header_t header; - - hb_font_t *parent; - hb_face_t *face; - - int32_t x_scale; - int32_t y_scale; - int64_t x_mult; - int64_t y_mult; - - unsigned int x_ppem; - unsigned int y_ppem; - - float ptem; - - /* Font variation coordinates. */ - unsigned int num_coords; - int *coords; - float *design_coords; - - hb_font_funcs_t *klass; - void *user_data; - hb_destroy_func_t destroy; - - hb_shaper_object_dataset_t data; /* Various shaper data. */ - - - /* Convert from font-space to user-space */ - int64_t dir_mult (hb_direction_t direction) - { return HB_DIRECTION_IS_VERTICAL(direction) ? y_mult : x_mult; } - hb_position_t em_scale_x (int16_t v) { return em_mult (v, x_mult); } - hb_position_t em_scale_y (int16_t v) { return em_mult (v, y_mult); } - hb_position_t em_scalef_x (float v) { return em_scalef (v, x_scale); } - hb_position_t em_scalef_y (float v) { return em_scalef (v, y_scale); } - float em_fscale_x (int16_t v) { return em_fscale (v, x_scale); } - float em_fscale_y (int16_t v) { return em_fscale (v, y_scale); } - hb_position_t em_scale_dir (int16_t v, hb_direction_t direction) - { return em_mult (v, dir_mult (direction)); } - - /* Convert from parent-font user-space to our user-space */ - hb_position_t parent_scale_x_distance (hb_position_t v) - { - if (unlikely (parent && parent->x_scale != x_scale)) - return (hb_position_t) (v * (int64_t) this->x_scale / this->parent->x_scale); - return v; - } - hb_position_t parent_scale_y_distance (hb_position_t v) - { - if (unlikely (parent && parent->y_scale != y_scale)) - return (hb_position_t) (v * (int64_t) this->y_scale / this->parent->y_scale); - return v; - } - hb_position_t parent_scale_x_position (hb_position_t v) - { return parent_scale_x_distance (v); } - hb_position_t parent_scale_y_position (hb_position_t v) - { return parent_scale_y_distance (v); } - - void parent_scale_distance (hb_position_t *x, hb_position_t *y) - { - *x = parent_scale_x_distance (*x); - *y = parent_scale_y_distance (*y); - } - void parent_scale_position (hb_position_t *x, hb_position_t *y) - { - *x = parent_scale_x_position (*x); - *y = parent_scale_y_position (*y); - } - - - /* Public getters */ - - HB_INTERNAL bool has_func (unsigned int i); - HB_INTERNAL bool has_func_set (unsigned int i); - - /* has_* ... */ -#define HB_FONT_FUNC_IMPLEMENT(name) \ - bool \ - has_##name##_func () \ - { \ - hb_font_funcs_t *funcs = this->klass; \ - unsigned int i = offsetof (hb_font_funcs_t::get_t::get_funcs_t, name) / sizeof (funcs->get.array[0]); \ - return has_func (i); \ - } \ - bool \ - has_##name##_func_set () \ - { \ - hb_font_funcs_t *funcs = this->klass; \ - unsigned int i = offsetof (hb_font_funcs_t::get_t::get_funcs_t, name) / sizeof (funcs->get.array[0]); \ - return has_func_set (i); \ - } - HB_FONT_FUNCS_IMPLEMENT_CALLBACKS -#undef HB_FONT_FUNC_IMPLEMENT - - hb_bool_t get_font_h_extents (hb_font_extents_t *extents) - { - memset (extents, 0, sizeof (*extents)); - return klass->get.f.font_h_extents (this, user_data, - extents, - klass->user_data.font_h_extents); - } - hb_bool_t get_font_v_extents (hb_font_extents_t *extents) - { - memset (extents, 0, sizeof (*extents)); - return klass->get.f.font_v_extents (this, user_data, - extents, - klass->user_data.font_v_extents); - } - - bool has_glyph (hb_codepoint_t unicode) - { - hb_codepoint_t glyph; - return get_nominal_glyph (unicode, &glyph); - } - - hb_bool_t get_nominal_glyph (hb_codepoint_t unicode, - hb_codepoint_t *glyph, - hb_codepoint_t not_found = 0) - { - *glyph = not_found; - return klass->get.f.nominal_glyph (this, user_data, - unicode, glyph, - klass->user_data.nominal_glyph); - } - unsigned int get_nominal_glyphs (unsigned int count, - const hb_codepoint_t *first_unicode, - unsigned int unicode_stride, - hb_codepoint_t *first_glyph, - unsigned int glyph_stride) - { - return klass->get.f.nominal_glyphs (this, user_data, - count, - first_unicode, unicode_stride, - first_glyph, glyph_stride, - klass->user_data.nominal_glyphs); - } - - hb_bool_t get_variation_glyph (hb_codepoint_t unicode, hb_codepoint_t variation_selector, - hb_codepoint_t *glyph, - hb_codepoint_t not_found = 0) - { - *glyph = not_found; - return klass->get.f.variation_glyph (this, user_data, - unicode, variation_selector, glyph, - klass->user_data.variation_glyph); - } - - hb_position_t get_glyph_h_advance (hb_codepoint_t glyph) - { - return klass->get.f.glyph_h_advance (this, user_data, - glyph, - klass->user_data.glyph_h_advance); - } - - hb_position_t get_glyph_v_advance (hb_codepoint_t glyph) - { - return klass->get.f.glyph_v_advance (this, user_data, - glyph, - klass->user_data.glyph_v_advance); - } - - void get_glyph_h_advances (unsigned int count, - const hb_codepoint_t *first_glyph, - unsigned int glyph_stride, - hb_position_t *first_advance, - unsigned int advance_stride) - { - return klass->get.f.glyph_h_advances (this, user_data, - count, - first_glyph, glyph_stride, - first_advance, advance_stride, - klass->user_data.glyph_h_advances); - } - - void get_glyph_v_advances (unsigned int count, - const hb_codepoint_t *first_glyph, - unsigned int glyph_stride, - hb_position_t *first_advance, - unsigned int advance_stride) - { - return klass->get.f.glyph_v_advances (this, user_data, - count, - first_glyph, glyph_stride, - first_advance, advance_stride, - klass->user_data.glyph_v_advances); - } - - hb_bool_t get_glyph_h_origin (hb_codepoint_t glyph, - hb_position_t *x, hb_position_t *y) - { - *x = *y = 0; - return klass->get.f.glyph_h_origin (this, user_data, - glyph, x, y, - klass->user_data.glyph_h_origin); - } - - hb_bool_t get_glyph_v_origin (hb_codepoint_t glyph, - hb_position_t *x, hb_position_t *y) - { - *x = *y = 0; - return klass->get.f.glyph_v_origin (this, user_data, - glyph, x, y, - klass->user_data.glyph_v_origin); - } - - hb_position_t get_glyph_h_kerning (hb_codepoint_t left_glyph, - hb_codepoint_t right_glyph) - { -#ifdef HB_DISABLE_DEPRECATED - return 0; -#else - return klass->get.f.glyph_h_kerning (this, user_data, - left_glyph, right_glyph, - klass->user_data.glyph_h_kerning); -#endif - } - - hb_position_t get_glyph_v_kerning (hb_codepoint_t top_glyph, - hb_codepoint_t bottom_glyph) - { -#ifdef HB_DISABLE_DEPRECATED - return 0; -#else - return klass->get.f.glyph_v_kerning (this, user_data, - top_glyph, bottom_glyph, - klass->user_data.glyph_v_kerning); -#endif - } - - hb_bool_t get_glyph_extents (hb_codepoint_t glyph, - hb_glyph_extents_t *extents) - { - memset (extents, 0, sizeof (*extents)); - return klass->get.f.glyph_extents (this, user_data, - glyph, - extents, - klass->user_data.glyph_extents); - } - - hb_bool_t get_glyph_contour_point (hb_codepoint_t glyph, unsigned int point_index, - hb_position_t *x, hb_position_t *y) - { - *x = *y = 0; - return klass->get.f.glyph_contour_point (this, user_data, - glyph, point_index, - x, y, - klass->user_data.glyph_contour_point); - } - - hb_bool_t get_glyph_name (hb_codepoint_t glyph, - char *name, unsigned int size) - { - if (size) *name = '\0'; - return klass->get.f.glyph_name (this, user_data, - glyph, - name, size, - klass->user_data.glyph_name); - } - - hb_bool_t get_glyph_from_name (const char *name, int len, /* -1 means nul-terminated */ - hb_codepoint_t *glyph) - { - *glyph = 0; - if (len == -1) len = strlen (name); - return klass->get.f.glyph_from_name (this, user_data, - name, len, - glyph, - klass->user_data.glyph_from_name); - } - - - /* A bit higher-level, and with fallback */ - - void get_h_extents_with_fallback (hb_font_extents_t *extents) - { - if (!get_font_h_extents (extents)) - { - extents->ascender = y_scale * .8; - extents->descender = extents->ascender - y_scale; - extents->line_gap = 0; - } - } - void get_v_extents_with_fallback (hb_font_extents_t *extents) - { - if (!get_font_v_extents (extents)) - { - extents->ascender = x_scale / 2; - extents->descender = extents->ascender - x_scale; - extents->line_gap = 0; - } - } - - void get_extents_for_direction (hb_direction_t direction, - hb_font_extents_t *extents) - { - if (likely (HB_DIRECTION_IS_HORIZONTAL (direction))) - get_h_extents_with_fallback (extents); - else - get_v_extents_with_fallback (extents); - } - - void get_glyph_advance_for_direction (hb_codepoint_t glyph, - hb_direction_t direction, - hb_position_t *x, hb_position_t *y) - { - *x = *y = 0; - if (likely (HB_DIRECTION_IS_HORIZONTAL (direction))) - *x = get_glyph_h_advance (glyph); - else - *y = get_glyph_v_advance (glyph); - } - void get_glyph_advances_for_direction (hb_direction_t direction, - unsigned int count, - const hb_codepoint_t *first_glyph, - unsigned glyph_stride, - hb_position_t *first_advance, - unsigned advance_stride) - { - if (likely (HB_DIRECTION_IS_HORIZONTAL (direction))) - get_glyph_h_advances (count, first_glyph, glyph_stride, first_advance, advance_stride); - else - get_glyph_v_advances (count, first_glyph, glyph_stride, first_advance, advance_stride); - } - - void guess_v_origin_minus_h_origin (hb_codepoint_t glyph, - hb_position_t *x, hb_position_t *y) - { - *x = get_glyph_h_advance (glyph) / 2; - - /* TODO cache this somehow?! */ - hb_font_extents_t extents; - get_h_extents_with_fallback (&extents); - *y = extents.ascender; - } - - void get_glyph_h_origin_with_fallback (hb_codepoint_t glyph, - hb_position_t *x, hb_position_t *y) - { - if (!get_glyph_h_origin (glyph, x, y) && - get_glyph_v_origin (glyph, x, y)) - { - hb_position_t dx, dy; - guess_v_origin_minus_h_origin (glyph, &dx, &dy); - *x -= dx; *y -= dy; - } - } - void get_glyph_v_origin_with_fallback (hb_codepoint_t glyph, - hb_position_t *x, hb_position_t *y) - { - if (!get_glyph_v_origin (glyph, x, y) && - get_glyph_h_origin (glyph, x, y)) - { - hb_position_t dx, dy; - guess_v_origin_minus_h_origin (glyph, &dx, &dy); - *x += dx; *y += dy; - } - } - - void get_glyph_origin_for_direction (hb_codepoint_t glyph, - hb_direction_t direction, - hb_position_t *x, hb_position_t *y) - { - if (likely (HB_DIRECTION_IS_HORIZONTAL (direction))) - get_glyph_h_origin_with_fallback (glyph, x, y); - else - get_glyph_v_origin_with_fallback (glyph, x, y); - } - - void add_glyph_h_origin (hb_codepoint_t glyph, - hb_position_t *x, hb_position_t *y) - { - hb_position_t origin_x, origin_y; - - get_glyph_h_origin_with_fallback (glyph, &origin_x, &origin_y); - - *x += origin_x; - *y += origin_y; - } - void add_glyph_v_origin (hb_codepoint_t glyph, - hb_position_t *x, hb_position_t *y) - { - hb_position_t origin_x, origin_y; - - get_glyph_v_origin_with_fallback (glyph, &origin_x, &origin_y); - - *x += origin_x; - *y += origin_y; - } - void add_glyph_origin_for_direction (hb_codepoint_t glyph, - hb_direction_t direction, - hb_position_t *x, hb_position_t *y) - { - hb_position_t origin_x, origin_y; - - get_glyph_origin_for_direction (glyph, direction, &origin_x, &origin_y); - - *x += origin_x; - *y += origin_y; - } - - void subtract_glyph_h_origin (hb_codepoint_t glyph, - hb_position_t *x, hb_position_t *y) - { - hb_position_t origin_x, origin_y; - - get_glyph_h_origin_with_fallback (glyph, &origin_x, &origin_y); - - *x -= origin_x; - *y -= origin_y; - } - void subtract_glyph_v_origin (hb_codepoint_t glyph, - hb_position_t *x, hb_position_t *y) - { - hb_position_t origin_x, origin_y; - - get_glyph_v_origin_with_fallback (glyph, &origin_x, &origin_y); - - *x -= origin_x; - *y -= origin_y; - } - void subtract_glyph_origin_for_direction (hb_codepoint_t glyph, - hb_direction_t direction, - hb_position_t *x, hb_position_t *y) - { - hb_position_t origin_x, origin_y; - - get_glyph_origin_for_direction (glyph, direction, &origin_x, &origin_y); - - *x -= origin_x; - *y -= origin_y; - } - - void get_glyph_kerning_for_direction (hb_codepoint_t first_glyph, hb_codepoint_t second_glyph, - hb_direction_t direction, - hb_position_t *x, hb_position_t *y) - { - if (likely (HB_DIRECTION_IS_HORIZONTAL (direction))) { - *y = 0; - *x = get_glyph_h_kerning (first_glyph, second_glyph); - } else { - *x = 0; - *y = get_glyph_v_kerning (first_glyph, second_glyph); - } - } - - hb_bool_t get_glyph_extents_for_origin (hb_codepoint_t glyph, - hb_direction_t direction, - hb_glyph_extents_t *extents) - { - hb_bool_t ret = get_glyph_extents (glyph, extents); - - if (ret) - subtract_glyph_origin_for_direction (glyph, direction, &extents->x_bearing, &extents->y_bearing); - - return ret; - } - - hb_bool_t get_glyph_contour_point_for_origin (hb_codepoint_t glyph, unsigned int point_index, - hb_direction_t direction, - hb_position_t *x, hb_position_t *y) - { - hb_bool_t ret = get_glyph_contour_point (glyph, point_index, x, y); - - if (ret) - subtract_glyph_origin_for_direction (glyph, direction, x, y); - - return ret; - } - - /* Generates gidDDD if glyph has no name. */ - void - glyph_to_string (hb_codepoint_t glyph, - char *s, unsigned int size) - { - if (get_glyph_name (glyph, s, size)) return; - - if (size && snprintf (s, size, "gid%u", glyph) < 0) - *s = '\0'; - } - - /* Parses gidDDD and uniUUUU strings automatically. */ - hb_bool_t - glyph_from_string (const char *s, int len, /* -1 means nul-terminated */ - hb_codepoint_t *glyph) - { - if (get_glyph_from_name (s, len, glyph)) return true; - - if (len == -1) len = strlen (s); - - /* Straight glyph index. */ - if (hb_codepoint_parse (s, len, 10, glyph)) - return true; - - if (len > 3) - { - /* gidDDD syntax for glyph indices. */ - if (0 == strncmp (s, "gid", 3) && - hb_codepoint_parse (s + 3, len - 3, 10, glyph)) - return true; - - /* uniUUUU and other Unicode character indices. */ - hb_codepoint_t unichar; - if (0 == strncmp (s, "uni", 3) && - hb_codepoint_parse (s + 3, len - 3, 16, &unichar) && - get_nominal_glyph (unichar, glyph)) - return true; - } - - return false; - } - - void mults_changed () - { - signed upem = face->get_upem (); - x_mult = ((int64_t) x_scale << 16) / upem; - y_mult = ((int64_t) y_scale << 16) / upem; - } - - hb_position_t em_mult (int16_t v, int64_t mult) - { return (hb_position_t) ((v * mult + 32768) >> 16); } - hb_position_t em_scalef (float v, int scale) - { return (hb_position_t) roundf (v * scale / face->get_upem ()); } - float em_fscale (int16_t v, int scale) - { return (float) v * scale / face->get_upem (); } -}; -DECLARE_NULL_INSTANCE (hb_font_t); - - -#endif /* HB_FONT_HH */ diff --git a/harfbuzz/src/hb-ft.cc b/harfbuzz/src/hb-ft.cc deleted file mode 100644 index 67691e3..0000000 --- a/harfbuzz/src/hb-ft.cc +++ /dev/null @@ -1,1039 +0,0 @@ -/* - * Copyright © 2009 Red Hat, Inc. - * Copyright © 2009 Keith Stribley - * Copyright © 2015 Google, Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Red Hat Author(s): Behdad Esfahbod - * Google Author(s): Behdad Esfahbod - */ - -#include "hb.hh" - -#ifdef HAVE_FREETYPE - -#include "hb-ft.h" - -#include "hb-font.hh" -#include "hb-machinery.hh" -#include "hb-cache.hh" - -#include FT_ADVANCES_H -#include FT_MULTIPLE_MASTERS_H -#include FT_TRUETYPE_TABLES_H - - -/** - * SECTION:hb-ft - * @title: hb-ft - * @short_description: FreeType integration - * @include: hb-ft.h - * - * Functions for using HarfBuzz with the FreeType library. - * - * HarfBuzz supports using FreeType to provide face and - * font data. - * - * Note that FreeType is not thread-safe, therefore these - * functions are not thread-safe either. - **/ - - -/* TODO: - * - * In general, this file does a fine job of what it's supposed to do. - * There are, however, things that need more work: - * - * - FreeType works in 26.6 mode. Clients can decide to use that mode, and everything - * would work fine. However, we also abuse this API for performing in font-space, - * but don't pass the correct flags to FreeType. We just abuse the no-hinting mode - * for that, such that no rounding etc happens. As such, we don't set ppem, and - * pass NO_HINTING as load_flags. Would be much better to use NO_SCALE, and scale - * ourselves. - * - * - We don't handle / allow for emboldening / obliqueing. - * - * - In the future, we should add constructors to create fonts in font space? - */ - - -struct hb_ft_font_t -{ - mutable hb_mutex_t lock; - FT_Face ft_face; - int load_flags; - bool symbol; /* Whether selected cmap is symbol cmap. */ - bool unref; /* Whether to destroy ft_face when done. */ - - mutable int cached_x_scale; - mutable hb_advance_cache_t advance_cache; -}; - -static hb_ft_font_t * -_hb_ft_font_create (FT_Face ft_face, bool symbol, bool unref) -{ - hb_ft_font_t *ft_font = (hb_ft_font_t *) hb_calloc (1, sizeof (hb_ft_font_t)); - if (unlikely (!ft_font)) return nullptr; - - ft_font->lock.init (); - ft_font->ft_face = ft_face; - ft_font->symbol = symbol; - ft_font->unref = unref; - - ft_font->load_flags = FT_LOAD_DEFAULT | FT_LOAD_NO_HINTING; - - ft_font->cached_x_scale = 0; - ft_font->advance_cache.init (); - - return ft_font; -} - -static void -_hb_ft_face_destroy (void *data) -{ - FT_Done_Face ((FT_Face) data); -} - -static void -_hb_ft_font_destroy (void *data) -{ - hb_ft_font_t *ft_font = (hb_ft_font_t *) data; - - ft_font->advance_cache.fini (); - - if (ft_font->unref) - _hb_ft_face_destroy (ft_font->ft_face); - - ft_font->lock.fini (); - - hb_free (ft_font); -} - -/** - * hb_ft_font_set_load_flags: - * @font: #hb_font_t to work upon - * @load_flags: The FreeType load flags to set - * - * Sets the FT_Load_Glyph load flags for the specified #hb_font_t. - * - * For more information, see - * https://www.freetype.org/freetype2/docs/reference/ft2-base_interface.html#ft_load_xxx - * - * Since: 1.0.5 - **/ -void -hb_ft_font_set_load_flags (hb_font_t *font, int load_flags) -{ - if (hb_object_is_immutable (font)) - return; - - if (unlikely (font->destroy != (hb_destroy_func_t) _hb_ft_font_destroy)) - return; - - hb_ft_font_t *ft_font = (hb_ft_font_t *) font->user_data; - - ft_font->load_flags = load_flags; -} - -/** - * hb_ft_font_get_load_flags: - * @font: #hb_font_t to work upon - * - * Fetches the FT_Load_Glyph load flags of the specified #hb_font_t. - * - * For more information, see - * https://www.freetype.org/freetype2/docs/reference/ft2-base_interface.html#ft_load_xxx - * - * Return value: FT_Load_Glyph flags found - * - * Since: 1.0.5 - **/ -int -hb_ft_font_get_load_flags (hb_font_t *font) -{ - if (unlikely (font->destroy != (hb_destroy_func_t) _hb_ft_font_destroy)) - return 0; - - const hb_ft_font_t *ft_font = (const hb_ft_font_t *) font->user_data; - - return ft_font->load_flags; -} - -/** - * hb_ft_font_get_face: - * @font: #hb_font_t to work upon - * - * Fetches the FT_Face associated with the specified #hb_font_t - * font object. - * - * Return value: (nullable): the FT_Face found or %NULL - * - * Since: 0.9.2 - **/ -FT_Face -hb_ft_font_get_face (hb_font_t *font) -{ - if (unlikely (font->destroy != (hb_destroy_func_t) _hb_ft_font_destroy)) - return nullptr; - - const hb_ft_font_t *ft_font = (const hb_ft_font_t *) font->user_data; - - return ft_font->ft_face; -} - -/** - * hb_ft_font_lock_face: - * @font: #hb_font_t to work upon - * - * Gets the FT_Face associated with @font, This face will be kept around until - * you call hb_ft_font_unlock_face(). - * - * Return value: (nullable): the FT_Face associated with @font or %NULL - * Since: 2.6.5 - **/ -FT_Face -hb_ft_font_lock_face (hb_font_t *font) -{ - if (unlikely (font->destroy != (hb_destroy_func_t) _hb_ft_font_destroy)) - return nullptr; - - const hb_ft_font_t *ft_font = (const hb_ft_font_t *) font->user_data; - - ft_font->lock.lock (); - - return ft_font->ft_face; -} - -/** - * hb_ft_font_unlock_face: - * @font: #hb_font_t to work upon - * - * Releases an FT_Face previously obtained with hb_ft_font_lock_face(). - * - * Since: 2.6.5 - **/ -void -hb_ft_font_unlock_face (hb_font_t *font) -{ - if (unlikely (font->destroy != (hb_destroy_func_t) _hb_ft_font_destroy)) - return; - - const hb_ft_font_t *ft_font = (const hb_ft_font_t *) font->user_data; - - ft_font->lock.unlock (); -} - - -static hb_bool_t -hb_ft_get_nominal_glyph (hb_font_t *font HB_UNUSED, - void *font_data, - hb_codepoint_t unicode, - hb_codepoint_t *glyph, - void *user_data HB_UNUSED) -{ - const hb_ft_font_t *ft_font = (const hb_ft_font_t *) font_data; - hb_lock_t lock (ft_font->lock); - unsigned int g = FT_Get_Char_Index (ft_font->ft_face, unicode); - - if (unlikely (!g)) - { - if (unlikely (ft_font->symbol) && unicode <= 0x00FFu) - { - /* For symbol-encoded OpenType fonts, we duplicate the - * U+F000..F0FF range at U+0000..U+00FF. That's what - * Windows seems to do, and that's hinted about at: - * https://docs.microsoft.com/en-us/typography/opentype/spec/recom - * under "Non-Standard (Symbol) Fonts". */ - g = FT_Get_Char_Index (ft_font->ft_face, 0xF000u + unicode); - if (!g) - return false; - } - else - return false; - } - - *glyph = g; - return true; -} - -static unsigned int -hb_ft_get_nominal_glyphs (hb_font_t *font HB_UNUSED, - void *font_data, - unsigned int count, - const hb_codepoint_t *first_unicode, - unsigned int unicode_stride, - hb_codepoint_t *first_glyph, - unsigned int glyph_stride, - void *user_data HB_UNUSED) -{ - const hb_ft_font_t *ft_font = (const hb_ft_font_t *) font_data; - hb_lock_t lock (ft_font->lock); - unsigned int done; - for (done = 0; - done < count && (*first_glyph = FT_Get_Char_Index (ft_font->ft_face, *first_unicode)); - done++) - { - first_unicode = &StructAtOffsetUnaligned (first_unicode, unicode_stride); - first_glyph = &StructAtOffsetUnaligned (first_glyph, glyph_stride); - } - /* We don't need to do ft_font->symbol dance here, since HB calls the singular - * nominal_glyph() for what we don't handle here. */ - return done; -} - - -static hb_bool_t -hb_ft_get_variation_glyph (hb_font_t *font HB_UNUSED, - void *font_data, - hb_codepoint_t unicode, - hb_codepoint_t variation_selector, - hb_codepoint_t *glyph, - void *user_data HB_UNUSED) -{ - const hb_ft_font_t *ft_font = (const hb_ft_font_t *) font_data; - hb_lock_t lock (ft_font->lock); - unsigned int g = FT_Face_GetCharVariantIndex (ft_font->ft_face, unicode, variation_selector); - - if (unlikely (!g)) - return false; - - *glyph = g; - return true; -} - -static void -hb_ft_get_glyph_h_advances (hb_font_t* font, void* font_data, - unsigned count, - const hb_codepoint_t *first_glyph, - unsigned glyph_stride, - hb_position_t *first_advance, - unsigned advance_stride, - void *user_data HB_UNUSED) -{ - const hb_ft_font_t *ft_font = (const hb_ft_font_t *) font_data; - hb_lock_t lock (ft_font->lock); - FT_Face ft_face = ft_font->ft_face; - int load_flags = ft_font->load_flags; - int mult = font->x_scale < 0 ? -1 : +1; - - if (font->x_scale != ft_font->cached_x_scale) - { - ft_font->advance_cache.clear (); - ft_font->cached_x_scale = font->x_scale; - } - - for (unsigned int i = 0; i < count; i++) - { - FT_Fixed v = 0; - hb_codepoint_t glyph = *first_glyph; - - unsigned int cv; - if (ft_font->advance_cache.get (glyph, &cv)) - v = cv; - else - { - FT_Get_Advance (ft_face, glyph, load_flags, &v); - ft_font->advance_cache.set (glyph, v); - } - - *first_advance = (v * mult + (1<<9)) >> 10; - first_glyph = &StructAtOffsetUnaligned (first_glyph, glyph_stride); - first_advance = &StructAtOffsetUnaligned (first_advance, advance_stride); - } -} - -#ifndef HB_NO_VERTICAL -static hb_position_t -hb_ft_get_glyph_v_advance (hb_font_t *font, - void *font_data, - hb_codepoint_t glyph, - void *user_data HB_UNUSED) -{ - const hb_ft_font_t *ft_font = (const hb_ft_font_t *) font_data; - hb_lock_t lock (ft_font->lock); - FT_Fixed v; - - if (unlikely (FT_Get_Advance (ft_font->ft_face, glyph, ft_font->load_flags | FT_LOAD_VERTICAL_LAYOUT, &v))) - return 0; - - if (font->y_scale < 0) - v = -v; - - /* Note: FreeType's vertical metrics grows downward while other FreeType coordinates - * have a Y growing upward. Hence the extra negation. */ - return (-v + (1<<9)) >> 10; -} -#endif - -#ifndef HB_NO_VERTICAL -static hb_bool_t -hb_ft_get_glyph_v_origin (hb_font_t *font, - void *font_data, - hb_codepoint_t glyph, - hb_position_t *x, - hb_position_t *y, - void *user_data HB_UNUSED) -{ - const hb_ft_font_t *ft_font = (const hb_ft_font_t *) font_data; - hb_lock_t lock (ft_font->lock); - FT_Face ft_face = ft_font->ft_face; - - if (unlikely (FT_Load_Glyph (ft_face, glyph, ft_font->load_flags))) - return false; - - /* Note: FreeType's vertical metrics grows downward while other FreeType coordinates - * have a Y growing upward. Hence the extra negation. */ - *x = ft_face->glyph->metrics.horiBearingX - ft_face->glyph->metrics.vertBearingX; - *y = ft_face->glyph->metrics.horiBearingY - (-ft_face->glyph->metrics.vertBearingY); - - if (font->x_scale < 0) - *x = -*x; - if (font->y_scale < 0) - *y = -*y; - - return true; -} -#endif - -#ifndef HB_NO_OT_SHAPE_FALLBACK -static hb_position_t -hb_ft_get_glyph_h_kerning (hb_font_t *font, - void *font_data, - hb_codepoint_t left_glyph, - hb_codepoint_t right_glyph, - void *user_data HB_UNUSED) -{ - const hb_ft_font_t *ft_font = (const hb_ft_font_t *) font_data; - FT_Vector kerningv; - - FT_Kerning_Mode mode = font->x_ppem ? FT_KERNING_DEFAULT : FT_KERNING_UNFITTED; - if (FT_Get_Kerning (ft_font->ft_face, left_glyph, right_glyph, mode, &kerningv)) - return 0; - - return kerningv.x; -} -#endif - -static hb_bool_t -hb_ft_get_glyph_extents (hb_font_t *font, - void *font_data, - hb_codepoint_t glyph, - hb_glyph_extents_t *extents, - void *user_data HB_UNUSED) -{ - const hb_ft_font_t *ft_font = (const hb_ft_font_t *) font_data; - hb_lock_t lock (ft_font->lock); - FT_Face ft_face = ft_font->ft_face; - - if (unlikely (FT_Load_Glyph (ft_face, glyph, ft_font->load_flags))) - return false; - - extents->x_bearing = ft_face->glyph->metrics.horiBearingX; - extents->y_bearing = ft_face->glyph->metrics.horiBearingY; - extents->width = ft_face->glyph->metrics.width; - extents->height = -ft_face->glyph->metrics.height; - if (font->x_scale < 0) - { - extents->x_bearing = -extents->x_bearing; - extents->width = -extents->width; - } - if (font->y_scale < 0) - { - extents->y_bearing = -extents->y_bearing; - extents->height = -extents->height; - } - return true; -} - -static hb_bool_t -hb_ft_get_glyph_contour_point (hb_font_t *font HB_UNUSED, - void *font_data, - hb_codepoint_t glyph, - unsigned int point_index, - hb_position_t *x, - hb_position_t *y, - void *user_data HB_UNUSED) -{ - const hb_ft_font_t *ft_font = (const hb_ft_font_t *) font_data; - hb_lock_t lock (ft_font->lock); - FT_Face ft_face = ft_font->ft_face; - - if (unlikely (FT_Load_Glyph (ft_face, glyph, ft_font->load_flags))) - return false; - - if (unlikely (ft_face->glyph->format != FT_GLYPH_FORMAT_OUTLINE)) - return false; - - if (unlikely (point_index >= (unsigned int) ft_face->glyph->outline.n_points)) - return false; - - *x = ft_face->glyph->outline.points[point_index].x; - *y = ft_face->glyph->outline.points[point_index].y; - - return true; -} - -static hb_bool_t -hb_ft_get_glyph_name (hb_font_t *font HB_UNUSED, - void *font_data, - hb_codepoint_t glyph, - char *name, unsigned int size, - void *user_data HB_UNUSED) -{ - const hb_ft_font_t *ft_font = (const hb_ft_font_t *) font_data; - hb_lock_t lock (ft_font->lock); - FT_Face ft_face = ft_font->ft_face; - - hb_bool_t ret = !FT_Get_Glyph_Name (ft_face, glyph, name, size); - if (ret && (size && !*name)) - ret = false; - - return ret; -} - -static hb_bool_t -hb_ft_get_glyph_from_name (hb_font_t *font HB_UNUSED, - void *font_data, - const char *name, int len, /* -1 means nul-terminated */ - hb_codepoint_t *glyph, - void *user_data HB_UNUSED) -{ - const hb_ft_font_t *ft_font = (const hb_ft_font_t *) font_data; - hb_lock_t lock (ft_font->lock); - FT_Face ft_face = ft_font->ft_face; - - if (len < 0) - *glyph = FT_Get_Name_Index (ft_face, (FT_String *) name); - else { - /* Make a nul-terminated version. */ - char buf[128]; - len = hb_min (len, (int) sizeof (buf) - 1); - strncpy (buf, name, len); - buf[len] = '\0'; - *glyph = FT_Get_Name_Index (ft_face, buf); - } - - if (*glyph == 0) - { - /* Check whether the given name was actually the name of glyph 0. */ - char buf[128]; - if (!FT_Get_Glyph_Name(ft_face, 0, buf, sizeof (buf)) && - len < 0 ? !strcmp (buf, name) : !strncmp (buf, name, len)) - return true; - } - - return *glyph != 0; -} - -static hb_bool_t -hb_ft_get_font_h_extents (hb_font_t *font HB_UNUSED, - void *font_data, - hb_font_extents_t *metrics, - void *user_data HB_UNUSED) -{ - const hb_ft_font_t *ft_font = (const hb_ft_font_t *) font_data; - hb_lock_t lock (ft_font->lock); - FT_Face ft_face = ft_font->ft_face; - metrics->ascender = FT_MulFix(ft_face->ascender, ft_face->size->metrics.y_scale); - metrics->descender = FT_MulFix(ft_face->descender, ft_face->size->metrics.y_scale); - metrics->line_gap = FT_MulFix( ft_face->height, ft_face->size->metrics.y_scale ) - (metrics->ascender - metrics->descender); - if (font->y_scale < 0) - { - metrics->ascender = -metrics->ascender; - metrics->descender = -metrics->descender; - metrics->line_gap = -metrics->line_gap; - } - return true; -} - -static inline void free_static_ft_funcs (); - -static struct hb_ft_font_funcs_lazy_loader_t : hb_font_funcs_lazy_loader_t -{ - static hb_font_funcs_t *create () - { - hb_font_funcs_t *funcs = hb_font_funcs_create (); - - hb_font_funcs_set_nominal_glyph_func (funcs, hb_ft_get_nominal_glyph, nullptr, nullptr); - hb_font_funcs_set_nominal_glyphs_func (funcs, hb_ft_get_nominal_glyphs, nullptr, nullptr); - hb_font_funcs_set_variation_glyph_func (funcs, hb_ft_get_variation_glyph, nullptr, nullptr); - - hb_font_funcs_set_font_h_extents_func (funcs, hb_ft_get_font_h_extents, nullptr, nullptr); - hb_font_funcs_set_glyph_h_advances_func (funcs, hb_ft_get_glyph_h_advances, nullptr, nullptr); - //hb_font_funcs_set_glyph_h_origin_func (funcs, hb_ft_get_glyph_h_origin, nullptr, nullptr); - -#ifndef HB_NO_VERTICAL - //hb_font_funcs_set_font_v_extents_func (funcs, hb_ft_get_font_v_extents, nullptr, nullptr); - hb_font_funcs_set_glyph_v_advance_func (funcs, hb_ft_get_glyph_v_advance, nullptr, nullptr); - hb_font_funcs_set_glyph_v_origin_func (funcs, hb_ft_get_glyph_v_origin, nullptr, nullptr); -#endif - -#ifndef HB_NO_OT_SHAPE_FALLBACK - hb_font_funcs_set_glyph_h_kerning_func (funcs, hb_ft_get_glyph_h_kerning, nullptr, nullptr); -#endif - //hb_font_funcs_set_glyph_v_kerning_func (funcs, hb_ft_get_glyph_v_kerning, nullptr, nullptr); - hb_font_funcs_set_glyph_extents_func (funcs, hb_ft_get_glyph_extents, nullptr, nullptr); - hb_font_funcs_set_glyph_contour_point_func (funcs, hb_ft_get_glyph_contour_point, nullptr, nullptr); - hb_font_funcs_set_glyph_name_func (funcs, hb_ft_get_glyph_name, nullptr, nullptr); - hb_font_funcs_set_glyph_from_name_func (funcs, hb_ft_get_glyph_from_name, nullptr, nullptr); - - hb_font_funcs_make_immutable (funcs); - - hb_atexit (free_static_ft_funcs); - - return funcs; - } -} static_ft_funcs; - -static inline -void free_static_ft_funcs () -{ - static_ft_funcs.free_instance (); -} - -static hb_font_funcs_t * -_hb_ft_get_font_funcs () -{ - return static_ft_funcs.get_unconst (); -} - -static void -_hb_ft_font_set_funcs (hb_font_t *font, FT_Face ft_face, bool unref) -{ - bool symbol = ft_face->charmap && ft_face->charmap->encoding == FT_ENCODING_MS_SYMBOL; - - hb_ft_font_t *ft_font = _hb_ft_font_create (ft_face, symbol, unref); - if (unlikely (!ft_font)) return; - - hb_font_set_funcs (font, - _hb_ft_get_font_funcs (), - ft_font, - _hb_ft_font_destroy); -} - - -static hb_blob_t * -_hb_ft_reference_table (hb_face_t *face HB_UNUSED, hb_tag_t tag, void *user_data) -{ - FT_Face ft_face = (FT_Face) user_data; - FT_Byte *buffer; - FT_ULong length = 0; - FT_Error error; - - /* Note: FreeType like HarfBuzz uses the NONE tag for fetching the entire blob */ - - error = FT_Load_Sfnt_Table (ft_face, tag, 0, nullptr, &length); - if (error) - return nullptr; - - buffer = (FT_Byte *) hb_malloc (length); - if (!buffer) - return nullptr; - - error = FT_Load_Sfnt_Table (ft_face, tag, 0, buffer, &length); - if (error) - { - hb_free (buffer); - return nullptr; - } - - return hb_blob_create ((const char *) buffer, length, - HB_MEMORY_MODE_WRITABLE, - buffer, hb_free); -} - -/** - * hb_ft_face_create: - * @ft_face: (destroy destroy) (scope notified): FT_Face to work upon - * @destroy: (nullable): A callback to call when the face object is not needed anymore - * - * Creates an #hb_face_t face object from the specified FT_Face. - * - * This variant of the function does not provide any life-cycle management. - * - * Most client programs should use hb_ft_face_create_referenced() - * (or, perhaps, hb_ft_face_create_cached()) instead. - * - * If you know you have valid reasons not to use hb_ft_face_create_referenced(), - * then it is the client program's responsibility to destroy @ft_face - * after the #hb_face_t face object has been destroyed. - * - * Return value: (transfer full): the new #hb_face_t face object - * - * Since: 0.9.2 - **/ -hb_face_t * -hb_ft_face_create (FT_Face ft_face, - hb_destroy_func_t destroy) -{ - hb_face_t *face; - - if (!ft_face->stream->read) { - hb_blob_t *blob; - - blob = hb_blob_create ((const char *) ft_face->stream->base, - (unsigned int) ft_face->stream->size, - HB_MEMORY_MODE_READONLY, - ft_face, destroy); - face = hb_face_create (blob, ft_face->face_index); - hb_blob_destroy (blob); - } else { - face = hb_face_create_for_tables (_hb_ft_reference_table, ft_face, destroy); - } - - hb_face_set_index (face, ft_face->face_index); - hb_face_set_upem (face, ft_face->units_per_EM); - - return face; -} - -/** - * hb_ft_face_create_referenced: - * @ft_face: FT_Face to work upon - * - * Creates an #hb_face_t face object from the specified FT_Face. - * - * This is the preferred variant of the hb_ft_face_create* - * function family, because it calls FT_Reference_Face() on @ft_face, - * ensuring that @ft_face remains alive as long as the resulting - * #hb_face_t face object remains alive. Also calls FT_Done_Face() - * when the #hb_face_t face object is destroyed. - * - * Use this version unless you know you have good reasons not to. - * - * Return value: (transfer full): the new #hb_face_t face object - * - * Since: 0.9.38 - **/ -hb_face_t * -hb_ft_face_create_referenced (FT_Face ft_face) -{ - FT_Reference_Face (ft_face); - return hb_ft_face_create (ft_face, _hb_ft_face_destroy); -} - -static void -hb_ft_face_finalize (FT_Face ft_face) -{ - hb_face_destroy ((hb_face_t *) ft_face->generic.data); -} - -/** - * hb_ft_face_create_cached: - * @ft_face: FT_Face to work upon - * - * Creates an #hb_face_t face object from the specified FT_Face. - * - * This variant of the function caches the newly created #hb_face_t - * face object, using the @generic pointer of @ft_face. Subsequent function - * calls that are passed the same @ft_face parameter will have the same - * #hb_face_t returned to them, and that #hb_face_t will be correctly - * reference counted. - * - * However, client programs are still responsible for destroying - * @ft_face after the last #hb_face_t face object has been destroyed. - * - * Return value: (transfer full): the new #hb_face_t face object - * - * Since: 0.9.2 - **/ -hb_face_t * -hb_ft_face_create_cached (FT_Face ft_face) -{ - if (unlikely (!ft_face->generic.data || ft_face->generic.finalizer != (FT_Generic_Finalizer) hb_ft_face_finalize)) - { - if (ft_face->generic.finalizer) - ft_face->generic.finalizer (ft_face); - - ft_face->generic.data = hb_ft_face_create (ft_face, nullptr); - ft_face->generic.finalizer = (FT_Generic_Finalizer) hb_ft_face_finalize; - } - - return hb_face_reference ((hb_face_t *) ft_face->generic.data); -} - -/** - * hb_ft_font_create: - * @ft_face: (destroy destroy) (scope notified): FT_Face to work upon - * @destroy: (nullable): A callback to call when the font object is not needed anymore - * - * Creates an #hb_font_t font object from the specified FT_Face. - * - * Note: You must set the face size on @ft_face before calling - * hb_ft_font_create() on it. HarfBuzz assumes size is always set and will - * access `size` member of FT_Face unconditionally. - * - * This variant of the function does not provide any life-cycle management. - * - * Most client programs should use hb_ft_font_create_referenced() - * instead. - * - * If you know you have valid reasons not to use hb_ft_font_create_referenced(), - * then it is the client program's responsibility to destroy @ft_face - * after the #hb_font_t font object has been destroyed. - * - * HarfBuzz will use the @destroy callback on the #hb_font_t font object - * if it is supplied when you use this function. However, even if @destroy - * is provided, it is the client program's responsibility to destroy @ft_face, - * and it is the client program's responsibility to ensure that @ft_face is - * destroyed only after the #hb_font_t font object has been destroyed. - * - * Return value: (transfer full): the new #hb_font_t font object - * - * Since: 0.9.2 - **/ -hb_font_t * -hb_ft_font_create (FT_Face ft_face, - hb_destroy_func_t destroy) -{ - hb_font_t *font; - hb_face_t *face; - - face = hb_ft_face_create (ft_face, destroy); - font = hb_font_create (face); - hb_face_destroy (face); - _hb_ft_font_set_funcs (font, ft_face, false); - hb_ft_font_changed (font); - return font; -} - -/** - * hb_ft_font_changed: - * @font: #hb_font_t to work upon - * - * Refreshes the state of @font when the underlying FT_Face has changed. - * This function should be called after changing the size or - * variation-axis settings on the FT_Face. - * - * Since: 1.0.5 - **/ -void -hb_ft_font_changed (hb_font_t *font) -{ - if (font->destroy != (hb_destroy_func_t) _hb_ft_font_destroy) - return; - - hb_ft_font_t *ft_font = (hb_ft_font_t *) font->user_data; - - FT_Face ft_face = ft_font->ft_face; - - hb_font_set_scale (font, - (int) (((uint64_t) ft_face->size->metrics.x_scale * (uint64_t) ft_face->units_per_EM + (1u<<15)) >> 16), - (int) (((uint64_t) ft_face->size->metrics.y_scale * (uint64_t) ft_face->units_per_EM + (1u<<15)) >> 16)); -#if 0 /* hb-ft works in no-hinting model */ - hb_font_set_ppem (font, - ft_face->size->metrics.x_ppem, - ft_face->size->metrics.y_ppem); -#endif - -#if defined(HAVE_FT_GET_VAR_BLEND_COORDINATES) && !defined(HB_NO_VAR) - FT_MM_Var *mm_var = nullptr; - if (!FT_Get_MM_Var (ft_face, &mm_var)) - { - FT_Fixed *ft_coords = (FT_Fixed *) hb_calloc (mm_var->num_axis, sizeof (FT_Fixed)); - int *coords = (int *) hb_calloc (mm_var->num_axis, sizeof (int)); - if (coords && ft_coords) - { - if (!FT_Get_Var_Blend_Coordinates (ft_face, mm_var->num_axis, ft_coords)) - { - bool nonzero = false; - - for (unsigned int i = 0; i < mm_var->num_axis; ++i) - { - coords[i] = ft_coords[i] >>= 2; - nonzero = nonzero || coords[i]; - } - - if (nonzero) - hb_font_set_var_coords_normalized (font, coords, mm_var->num_axis); - else - hb_font_set_var_coords_normalized (font, nullptr, 0); - } - } - hb_free (coords); - hb_free (ft_coords); -#ifdef HAVE_FT_DONE_MM_VAR - FT_Done_MM_Var (ft_face->glyph->library, mm_var); -#else - hb_free (mm_var); -#endif - } -#endif -} - -/** - * hb_ft_font_create_referenced: - * @ft_face: FT_Face to work upon - * - * Creates an #hb_font_t font object from the specified FT_Face. - * - * Note: You must set the face size on @ft_face before calling - * hb_ft_font_create_referenced() on it. HarfBuzz assumes size is always set - * and will access `size` member of FT_Face unconditionally. - * - * This is the preferred variant of the hb_ft_font_create* - * function family, because it calls FT_Reference_Face() on @ft_face, - * ensuring that @ft_face remains alive as long as the resulting - * #hb_font_t font object remains alive. - * - * Use this version unless you know you have good reasons not to. - * - * Return value: (transfer full): the new #hb_font_t font object - * - * Since: 0.9.38 - **/ -hb_font_t * -hb_ft_font_create_referenced (FT_Face ft_face) -{ - FT_Reference_Face (ft_face); - return hb_ft_font_create (ft_face, _hb_ft_face_destroy); -} - -static inline void free_static_ft_library (); - -static struct hb_ft_library_lazy_loader_t : hb_lazy_loader_t, - hb_ft_library_lazy_loader_t> -{ - static FT_Library create () - { - FT_Library l; - if (FT_Init_FreeType (&l)) - return nullptr; - - hb_atexit (free_static_ft_library); - - return l; - } - static void destroy (FT_Library l) - { - FT_Done_FreeType (l); - } - static FT_Library get_null () - { - return nullptr; - } -} static_ft_library; - -static inline -void free_static_ft_library () -{ - static_ft_library.free_instance (); -} - -static FT_Library -get_ft_library () -{ - return static_ft_library.get_unconst (); -} - -static void -_release_blob (FT_Face ft_face) -{ - hb_blob_destroy ((hb_blob_t *) ft_face->generic.data); -} - -/** - * hb_ft_font_set_funcs: - * @font: #hb_font_t to work upon - * - * Configures the font-functions structure of the specified - * #hb_font_t font object to use FreeType font functions. - * - * In particular, you can use this function to configure an - * existing #hb_face_t face object for use with FreeType font - * functions even if that #hb_face_t face object was initially - * created with hb_face_create(), and therefore was not - * initially configured to use FreeType font functions. - * - * An #hb_face_t face object created with hb_ft_face_create() - * is preconfigured for FreeType font functions and does not - * require this function to be used. - * - * Note: Internally, this function creates an FT_Face. -* - * - * Since: 1.0.5 - **/ -void -hb_ft_font_set_funcs (hb_font_t *font) -{ - hb_blob_t *blob = hb_face_reference_blob (font->face); - unsigned int blob_length; - const char *blob_data = hb_blob_get_data (blob, &blob_length); - if (unlikely (!blob_length)) - DEBUG_MSG (FT, font, "Font face has empty blob"); - - FT_Face ft_face = nullptr; - FT_Error err = FT_New_Memory_Face (get_ft_library (), - (const FT_Byte *) blob_data, - blob_length, - hb_face_get_index (font->face), - &ft_face); - - if (unlikely (err)) { - hb_blob_destroy (blob); - DEBUG_MSG (FT, font, "Font face FT_New_Memory_Face() failed"); - return; - } - - if (FT_Select_Charmap (ft_face, FT_ENCODING_MS_SYMBOL)) - FT_Select_Charmap (ft_face, FT_ENCODING_UNICODE); - - FT_Set_Char_Size (ft_face, - abs (font->x_scale), abs (font->y_scale), - 0, 0); -#if 0 - font->x_ppem * 72 * 64 / font->x_scale, - font->y_ppem * 72 * 64 / font->y_scale); -#endif - if (font->x_scale < 0 || font->y_scale < 0) - { - FT_Matrix matrix = { font->x_scale < 0 ? -1 : +1, 0, - 0, font->y_scale < 0 ? -1 : +1}; - FT_Set_Transform (ft_face, &matrix, nullptr); - } - -#if defined(HAVE_FT_GET_VAR_BLEND_COORDINATES) && !defined(HB_NO_VAR) - unsigned int num_coords; - const int *coords = hb_font_get_var_coords_normalized (font, &num_coords); - if (num_coords) - { - FT_Fixed *ft_coords = (FT_Fixed *) hb_calloc (num_coords, sizeof (FT_Fixed)); - if (ft_coords) - { - for (unsigned int i = 0; i < num_coords; i++) - ft_coords[i] = coords[i] * 4; - FT_Set_Var_Blend_Coordinates (ft_face, num_coords, ft_coords); - hb_free (ft_coords); - } - } -#endif - - ft_face->generic.data = blob; - ft_face->generic.finalizer = (FT_Generic_Finalizer) _release_blob; - - _hb_ft_font_set_funcs (font, ft_face, true); - hb_ft_font_set_load_flags (font, FT_LOAD_DEFAULT | FT_LOAD_NO_HINTING); -} - - -#endif diff --git a/harfbuzz/src/hb-ft.h b/harfbuzz/src/hb-ft.h deleted file mode 100644 index bf07115..0000000 --- a/harfbuzz/src/hb-ft.h +++ /dev/null @@ -1,138 +0,0 @@ -/* - * Copyright © 2009 Red Hat, Inc. - * Copyright © 2015 Google, Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Red Hat Author(s): Behdad Esfahbod - * Google Author(s): Behdad Esfahbod - */ - -#ifndef HB_FT_H -#define HB_FT_H - -#include "hb.h" - -#include -#include FT_FREETYPE_H - -HB_BEGIN_DECLS - -/* - * Note: FreeType is not thread-safe. - * Hence, these functions are not either. - */ - -/* - * hb-face from ft-face. - */ - -/* This one creates a new hb-face for given ft-face. - * When the returned hb-face is destroyed, the destroy - * callback is called (if not NULL), with the ft-face passed - * to it. - * - * The client is responsible to make sure that ft-face is - * destroyed after hb-face is destroyed. - * - * Most often you don't want this function. You should use either - * hb_ft_face_create_cached(), or hb_ft_face_create_referenced(). - * In particular, if you are going to pass NULL as destroy, you - * probably should use (the more recent) hb_ft_face_create_referenced() - * instead. - */ -HB_EXTERN hb_face_t * -hb_ft_face_create (FT_Face ft_face, - hb_destroy_func_t destroy); - -/* This version is like hb_ft_face_create(), except that it caches - * the hb-face using the generic pointer of the ft-face. This means - * that subsequent calls to this function with the same ft-face will - * return the same hb-face (correctly referenced). - * - * Client is still responsible for making sure that ft-face is destroyed - * after hb-face is. - */ -HB_EXTERN hb_face_t * -hb_ft_face_create_cached (FT_Face ft_face); - -/* This version is like hb_ft_face_create(), except that it calls - * FT_Reference_Face() on ft-face, as such keeping ft-face alive - * as long as the hb-face is. - * - * This is the most convenient version to use. Use it unless you have - * very good reasons not to. - */ -HB_EXTERN hb_face_t * -hb_ft_face_create_referenced (FT_Face ft_face); - - -/* - * hb-font from ft-face. - */ - -/* - * Note: - * - * Set face size on ft-face before creating hb-font from it. - * Otherwise hb-ft would NOT pick up the font size correctly. - */ - -/* See notes on hb_ft_face_create(). Same issues re lifecycle-management - * apply here. Use hb_ft_font_create_referenced() if you can. */ -HB_EXTERN hb_font_t * -hb_ft_font_create (FT_Face ft_face, - hb_destroy_func_t destroy); - -/* See notes on hb_ft_face_create_referenced() re lifecycle-management - * issues. */ -HB_EXTERN hb_font_t * -hb_ft_font_create_referenced (FT_Face ft_face); - -HB_EXTERN FT_Face -hb_ft_font_get_face (hb_font_t *font); - -HB_EXTERN FT_Face -hb_ft_font_lock_face (hb_font_t *font); - -HB_EXTERN void -hb_ft_font_unlock_face (hb_font_t *font); - -HB_EXTERN void -hb_ft_font_set_load_flags (hb_font_t *font, int load_flags); - -HB_EXTERN int -hb_ft_font_get_load_flags (hb_font_t *font); - -/* Call when size or variations settings on underlying FT_Face change. */ -HB_EXTERN void -hb_ft_font_changed (hb_font_t *font); - -/* Makes an hb_font_t use FreeType internally to implement font functions. - * Note: this internally creates an FT_Face. Use it when you create your - * hb_face_t using hb_face_create(). */ -HB_EXTERN void -hb_ft_font_set_funcs (hb_font_t *font); - - -HB_END_DECLS - -#endif /* HB_FT_H */ diff --git a/harfbuzz/src/hb-gdi.cc b/harfbuzz/src/hb-gdi.cc deleted file mode 100644 index 8e7589b..0000000 --- a/harfbuzz/src/hb-gdi.cc +++ /dev/null @@ -1,85 +0,0 @@ -/* - * Copyright © 2019 Ebrahim Byagowi - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - */ - -#include "hb.hh" - -#ifdef HAVE_GDI - -#include "hb-gdi.h" - - -/** - * SECTION:hb-gdi - * @title: hb-gdi - * @short_description: GDI integration - * @include: hb-gdi.h - * - * Functions for using HarfBuzz with GDI fonts. - **/ - -static hb_blob_t * -_hb_gdi_reference_table (hb_face_t *face HB_UNUSED, hb_tag_t tag, void *user_data) -{ - char *buffer = nullptr; - DWORD length = 0; - - HDC hdc = GetDC (nullptr); - if (unlikely (!SelectObject (hdc, (HFONT) user_data))) goto fail; - - length = GetFontData (hdc, hb_uint32_swap (tag), 0, buffer, length); - if (unlikely (length == GDI_ERROR)) goto fail_with_releasedc; - - buffer = (char *) hb_malloc (length); - if (unlikely (!buffer)) goto fail_with_releasedc; - length = GetFontData (hdc, hb_uint32_swap (tag), 0, buffer, length); - if (unlikely (length == GDI_ERROR)) goto fail_with_releasedc_and_free; - ReleaseDC (nullptr, hdc); - - return hb_blob_create ((const char *) buffer, length, HB_MEMORY_MODE_WRITABLE, buffer, hb_free); - -fail_with_releasedc_and_free: - hb_free (buffer); -fail_with_releasedc: - ReleaseDC (nullptr, hdc); -fail: - return hb_blob_get_empty (); -} - -/** - * hb_gdi_face_create: - * @hfont: a HFONT object. - * - * Constructs a new face object from the specified GDI HFONT. - * - * Return value: #hb_face_t object corresponding to the given input - * - * Since: 2.6.0 - **/ -hb_face_t * -hb_gdi_face_create (HFONT hfont) -{ - return hb_face_create_for_tables (_hb_gdi_reference_table, (void *) hfont, nullptr); -} - -#endif diff --git a/harfbuzz/src/hb-gdi.h b/harfbuzz/src/hb-gdi.h deleted file mode 100644 index 68cc439..0000000 --- a/harfbuzz/src/hb-gdi.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright © 2019 Ebrahim Byagowi - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - */ - -#ifndef HB_GDI_H -#define HB_GDI_H - -#include "hb.h" - -#include - -HB_BEGIN_DECLS - -HB_EXTERN hb_face_t * -hb_gdi_face_create (HFONT hfont); - -HB_END_DECLS - -#endif /* HB_GDI_H */ diff --git a/harfbuzz/src/hb-glib.cc b/harfbuzz/src/hb-glib.cc deleted file mode 100644 index 8ddc7eb..0000000 --- a/harfbuzz/src/hb-glib.cc +++ /dev/null @@ -1,301 +0,0 @@ -/* - * Copyright © 2009 Red Hat, Inc. - * Copyright © 2011 Google, Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Red Hat Author(s): Behdad Esfahbod - * Google Author(s): Behdad Esfahbod - */ - -#include "hb.hh" - -#ifdef HAVE_GLIB - -#include "hb-glib.h" - -#include "hb-machinery.hh" - - -/** - * SECTION:hb-glib - * @title: hb-glib - * @short_description: GLib integration - * @include: hb-glib.h - * - * Functions for using HarfBuzz with the GLib library. - * - * HarfBuzz supports using GLib to provide Unicode data, by attaching - * GLib functions to the virtual methods in a #hb_unicode_funcs_t function - * structure. - **/ - - -/** - * hb_glib_script_to_script: - * @script: The GUnicodeScript identifier to query - * - * Fetches the #hb_script_t script that corresponds to the - * specified GUnicodeScript identifier. - * - * Return value: the #hb_script_t script found - * - * Since: 0.9.38 - **/ -hb_script_t -hb_glib_script_to_script (GUnicodeScript script) -{ - return (hb_script_t) g_unicode_script_to_iso15924 (script); -} - -/** - * hb_glib_script_from_script: - * @script: The #hb_script_t to query - * - * Fetches the GUnicodeScript identifier that corresponds to the - * specified #hb_script_t script. - * - * Return value: the GUnicodeScript identifier found - * - * Since: 0.9.38 - **/ -GUnicodeScript -hb_glib_script_from_script (hb_script_t script) -{ - return g_unicode_script_from_iso15924 (script); -} - - -static hb_unicode_combining_class_t -hb_glib_unicode_combining_class (hb_unicode_funcs_t *ufuncs HB_UNUSED, - hb_codepoint_t unicode, - void *user_data HB_UNUSED) - -{ - return (hb_unicode_combining_class_t) g_unichar_combining_class (unicode); -} - -static hb_unicode_general_category_t -hb_glib_unicode_general_category (hb_unicode_funcs_t *ufuncs HB_UNUSED, - hb_codepoint_t unicode, - void *user_data HB_UNUSED) - -{ - /* hb_unicode_general_category_t and GUnicodeType are identical */ - return (hb_unicode_general_category_t) g_unichar_type (unicode); -} - -static hb_codepoint_t -hb_glib_unicode_mirroring (hb_unicode_funcs_t *ufuncs HB_UNUSED, - hb_codepoint_t unicode, - void *user_data HB_UNUSED) -{ - g_unichar_get_mirror_char (unicode, &unicode); - return unicode; -} - -static hb_script_t -hb_glib_unicode_script (hb_unicode_funcs_t *ufuncs HB_UNUSED, - hb_codepoint_t unicode, - void *user_data HB_UNUSED) -{ - return hb_glib_script_to_script (g_unichar_get_script (unicode)); -} - -static hb_bool_t -hb_glib_unicode_compose (hb_unicode_funcs_t *ufuncs HB_UNUSED, - hb_codepoint_t a, - hb_codepoint_t b, - hb_codepoint_t *ab, - void *user_data HB_UNUSED) -{ -#if GLIB_CHECK_VERSION(2,29,12) - return g_unichar_compose (a, b, ab); -#endif - - /* We don't ifdef-out the fallback code such that compiler always - * sees it and makes sure it's compilable. */ - - gchar utf8[12]; - gchar *normalized; - int len; - hb_bool_t ret; - - len = g_unichar_to_utf8 (a, utf8); - len += g_unichar_to_utf8 (b, utf8 + len); - normalized = g_utf8_normalize (utf8, len, G_NORMALIZE_NFC); - len = g_utf8_strlen (normalized, -1); - if (unlikely (!len)) - return false; - - if (len == 1) { - *ab = g_utf8_get_char (normalized); - ret = true; - } else { - ret = false; - } - - g_free (normalized); - return ret; -} - -static hb_bool_t -hb_glib_unicode_decompose (hb_unicode_funcs_t *ufuncs HB_UNUSED, - hb_codepoint_t ab, - hb_codepoint_t *a, - hb_codepoint_t *b, - void *user_data HB_UNUSED) -{ -#if GLIB_CHECK_VERSION(2,29,12) - return g_unichar_decompose (ab, a, b); -#endif - - /* We don't ifdef-out the fallback code such that compiler always - * sees it and makes sure it's compilable. */ - - gchar utf8[6]; - gchar *normalized; - int len; - hb_bool_t ret; - - len = g_unichar_to_utf8 (ab, utf8); - normalized = g_utf8_normalize (utf8, len, G_NORMALIZE_NFD); - len = g_utf8_strlen (normalized, -1); - if (unlikely (!len)) - return false; - - if (len == 1) { - *a = g_utf8_get_char (normalized); - *b = 0; - ret = *a != ab; - } else if (len == 2) { - *a = g_utf8_get_char (normalized); - *b = g_utf8_get_char (g_utf8_next_char (normalized)); - /* Here's the ugly part: if ab decomposes to a single character and - * that character decomposes again, we have to detect that and undo - * the second part :-(. */ - gchar *recomposed = g_utf8_normalize (normalized, -1, G_NORMALIZE_NFC); - hb_codepoint_t c = g_utf8_get_char (recomposed); - if (c != ab && c != *a) { - *a = c; - *b = 0; - } - g_free (recomposed); - ret = true; - } else { - /* If decomposed to more than two characters, take the last one, - * and recompose the rest to get the first component. */ - gchar *end = g_utf8_offset_to_pointer (normalized, len - 1); - gchar *recomposed; - *b = g_utf8_get_char (end); - recomposed = g_utf8_normalize (normalized, end - normalized, G_NORMALIZE_NFC); - /* We expect that recomposed has exactly one character now. */ - *a = g_utf8_get_char (recomposed); - g_free (recomposed); - ret = true; - } - - g_free (normalized); - return ret; -} - - -static inline void free_static_glib_funcs (); - -static struct hb_glib_unicode_funcs_lazy_loader_t : hb_unicode_funcs_lazy_loader_t -{ - static hb_unicode_funcs_t *create () - { - hb_unicode_funcs_t *funcs = hb_unicode_funcs_create (nullptr); - - hb_unicode_funcs_set_combining_class_func (funcs, hb_glib_unicode_combining_class, nullptr, nullptr); - hb_unicode_funcs_set_general_category_func (funcs, hb_glib_unicode_general_category, nullptr, nullptr); - hb_unicode_funcs_set_mirroring_func (funcs, hb_glib_unicode_mirroring, nullptr, nullptr); - hb_unicode_funcs_set_script_func (funcs, hb_glib_unicode_script, nullptr, nullptr); - hb_unicode_funcs_set_compose_func (funcs, hb_glib_unicode_compose, nullptr, nullptr); - hb_unicode_funcs_set_decompose_func (funcs, hb_glib_unicode_decompose, nullptr, nullptr); - - hb_unicode_funcs_make_immutable (funcs); - - hb_atexit (free_static_glib_funcs); - - return funcs; - } -} static_glib_funcs; - -static inline -void free_static_glib_funcs () -{ - static_glib_funcs.free_instance (); -} - -/** - * hb_glib_get_unicode_funcs: - * - * Fetches a Unicode-functions structure that is populated - * with the appropriate GLib function for each method. - * - * Return value: (transfer none): a pointer to the #hb_unicode_funcs_t Unicode-functions structure - * - * Since: 0.9.38 - **/ -hb_unicode_funcs_t * -hb_glib_get_unicode_funcs () -{ - return static_glib_funcs.get_unconst (); -} - - - -#if GLIB_CHECK_VERSION(2,31,10) - -static void -_hb_g_bytes_unref (void *data) -{ - g_bytes_unref ((GBytes *) data); -} - -/** - * hb_glib_blob_create: - * @gbytes: the GBytes structure to work upon - * - * Creates an #hb_blob_t blob from the specified - * GBytes data structure. - * - * Return value: (transfer full): the new #hb_blob_t blob object - * - * Since: 0.9.38 - **/ -hb_blob_t * -hb_glib_blob_create (GBytes *gbytes) -{ - gsize size = 0; - gconstpointer data = g_bytes_get_data (gbytes, &size); - return hb_blob_create ((const char *) data, - size, - HB_MEMORY_MODE_READONLY, - g_bytes_ref (gbytes), - _hb_g_bytes_unref); -} -#endif - - -#endif diff --git a/harfbuzz/src/hb-glib.h b/harfbuzz/src/hb-glib.h deleted file mode 100644 index 5f04183..0000000 --- a/harfbuzz/src/hb-glib.h +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright © 2009 Red Hat, Inc. - * Copyright © 2011 Google, Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Red Hat Author(s): Behdad Esfahbod - * Google Author(s): Behdad Esfahbod - */ - -#ifndef HB_GLIB_H -#define HB_GLIB_H - -#include "hb.h" - -#include - -HB_BEGIN_DECLS - - -HB_EXTERN hb_script_t -hb_glib_script_to_script (GUnicodeScript script); - -HB_EXTERN GUnicodeScript -hb_glib_script_from_script (hb_script_t script); - - -HB_EXTERN hb_unicode_funcs_t * -hb_glib_get_unicode_funcs (void); - -#if GLIB_CHECK_VERSION(2,31,10) -HB_EXTERN hb_blob_t * -hb_glib_blob_create (GBytes *gbytes); -#endif - -HB_END_DECLS - -#endif /* HB_GLIB_H */ diff --git a/harfbuzz/src/hb-gobject-enums.cc.tmpl b/harfbuzz/src/hb-gobject-enums.cc.tmpl deleted file mode 100644 index 87a11dd..0000000 --- a/harfbuzz/src/hb-gobject-enums.cc.tmpl +++ /dev/null @@ -1,80 +0,0 @@ -/*** BEGIN file-header ***/ -/* - * Copyright (C) 2011 Google, Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Google Author(s): Behdad Esfahbod - */ - -#include "hb.hh" - -#ifdef HAVE_GOBJECT - -/* g++ didn't like older gtype.h gcc-only code path. */ -#include -#if !GLIB_CHECK_VERSION(2,29,16) -#undef __GNUC__ -#undef __GNUC_MINOR__ -#define __GNUC__ 2 -#define __GNUC_MINOR__ 6 -#endif - -#include "hb-gobject.h" - -/*** END file-header ***/ - -/*** BEGIN file-production ***/ -/* enumerations from "@basename@" */ -/*** END file-production ***/ - -/*** BEGIN file-tail ***/ - -#endif -/*** END file-tail ***/ - -/*** BEGIN value-header ***/ -GType -@enum_name@_get_type () -{ - static gsize type_id = 0; - - if (g_once_init_enter (&type_id)) - { - static const G@Type@Value values[] = { -/*** END value-header ***/ - -/*** BEGIN value-production ***/ - { @VALUENAME@, "@VALUENAME@", "@valuenick@" }, -/*** END value-production ***/ - -/*** BEGIN value-tail ***/ - { 0, NULL, NULL } - }; - GType id = - g_@type@_register_static (g_intern_static_string ("@EnumName@"), values); - g_once_init_leave (&type_id, id); - } - - return type_id; -} - -/*** END value-tail ***/ diff --git a/harfbuzz/src/hb-gobject-enums.h.tmpl b/harfbuzz/src/hb-gobject-enums.h.tmpl deleted file mode 100644 index a846786..0000000 --- a/harfbuzz/src/hb-gobject-enums.h.tmpl +++ /dev/null @@ -1,56 +0,0 @@ -/*** BEGIN file-header ***/ -/* - * Copyright (C) 2013 Google, Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Google Author(s): Behdad Esfahbod - */ - -#if !defined(HB_GOBJECT_H_IN) && !defined(HB_NO_SINGLE_HEADER_ERROR) -#error "Include instead." -#endif - -#ifndef HB_GOBJECT_ENUMS_H -#define HB_GOBJECT_ENUMS_H - -#include "hb.h" - -#include - -HB_BEGIN_DECLS - - -/*** END file-header ***/ - -/*** BEGIN value-header ***/ -HB_EXTERN GType -@enum_name@_get_type () G_GNUC_CONST; -#define @ENUMPREFIX@_TYPE_@ENUMSHORT@ (@enum_name@_get_type ()) - -/*** END value-header ***/ - -/*** BEGIN file-tail ***/ - -HB_END_DECLS - -#endif /* HB_GOBJECT_ENUMS_H */ -/*** END file-tail ***/ diff --git a/harfbuzz/src/hb-gobject-structs.cc b/harfbuzz/src/hb-gobject-structs.cc deleted file mode 100644 index 540b11f..0000000 --- a/harfbuzz/src/hb-gobject-structs.cc +++ /dev/null @@ -1,110 +0,0 @@ -/* - * Copyright © 2011 Google, Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Google Author(s): Behdad Esfahbod - */ - -#include "hb.hh" - -#ifdef HAVE_GOBJECT - - -/** - * SECTION:hb-gobject - * @title: hb-gobject - * @short_description: GObject integration support - * @include: hb-gobject.h - * - * Support for using HarfBuzz with the GObject library to provide - * type data. - * - * The types and functions listed here are solely a linkage between - * HarfBuzz's public data types and the GTypes used by the GObject framework. - * HarfBuzz uses GObject introspection to generate its Python bindings - * (and potentially other language bindings); client programs should never need - * to access the GObject-integration mechanics. - * - * For client programs using the GNOME and GTK software stack, please see the - * GLib and FreeType integration pages. - **/ - - -/* g++ didn't like older gtype.h gcc-only code path. */ -#include -#if !GLIB_CHECK_VERSION(2,29,16) -#undef __GNUC__ -#undef __GNUC_MINOR__ -#define __GNUC__ 2 -#define __GNUC_MINOR__ 6 -#endif - -#include "hb-gobject.h" - -#define HB_DEFINE_BOXED_TYPE(name,copy_func,free_func) \ -GType \ -hb_gobject_##name##_get_type () \ -{ \ - static gsize type_id = 0; \ - if (g_once_init_enter (&type_id)) { \ - GType id = g_boxed_type_register_static (g_intern_static_string ("hb_" #name "_t"), \ - (GBoxedCopyFunc) copy_func, \ - (GBoxedFreeFunc) free_func); \ - g_once_init_leave (&type_id, id); \ - } \ - return type_id; \ -} - -#define HB_DEFINE_OBJECT_TYPE(name) \ - HB_DEFINE_BOXED_TYPE (name, hb_##name##_reference, hb_##name##_destroy) - -#define HB_DEFINE_VALUE_TYPE(name) \ - static hb_##name##_t *_hb_##name##_reference (const hb_##name##_t *l) \ - { \ - hb_##name##_t *c = (hb_##name##_t *) hb_calloc (1, sizeof (hb_##name##_t)); \ - if (unlikely (!c)) return nullptr; \ - *c = *l; \ - return c; \ - } \ - static void _hb_##name##_destroy (hb_##name##_t *l) { hb_free (l); } \ - HB_DEFINE_BOXED_TYPE (name, _hb_##name##_reference, _hb_##name##_destroy) - -HB_DEFINE_OBJECT_TYPE (buffer) -HB_DEFINE_OBJECT_TYPE (blob) -HB_DEFINE_OBJECT_TYPE (face) -HB_DEFINE_OBJECT_TYPE (font) -HB_DEFINE_OBJECT_TYPE (font_funcs) -HB_DEFINE_OBJECT_TYPE (set) -HB_DEFINE_OBJECT_TYPE (map) -HB_DEFINE_OBJECT_TYPE (shape_plan) -HB_DEFINE_OBJECT_TYPE (unicode_funcs) -HB_DEFINE_VALUE_TYPE (feature) -HB_DEFINE_VALUE_TYPE (glyph_info) -HB_DEFINE_VALUE_TYPE (glyph_position) -HB_DEFINE_VALUE_TYPE (segment_properties) -HB_DEFINE_VALUE_TYPE (user_data_key) - -HB_DEFINE_VALUE_TYPE (ot_math_glyph_variant) -HB_DEFINE_VALUE_TYPE (ot_math_glyph_part) - - -#endif diff --git a/harfbuzz/src/hb-gobject-structs.h b/harfbuzz/src/hb-gobject-structs.h deleted file mode 100644 index 63467f8..0000000 --- a/harfbuzz/src/hb-gobject-structs.h +++ /dev/null @@ -1,112 +0,0 @@ -/* - * Copyright (C) 2011 Google, Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Google Author(s): Behdad Esfahbod - */ - -#if !defined(HB_GOBJECT_H_IN) && !defined(HB_NO_SINGLE_HEADER_ERROR) -#error "Include instead." -#endif - -#ifndef HB_GOBJECT_STRUCTS_H -#define HB_GOBJECT_STRUCTS_H - -#include "hb.h" - -#include - -HB_BEGIN_DECLS - - -/* Object types */ - -HB_EXTERN GType -hb_gobject_blob_get_type (void); -#define HB_GOBJECT_TYPE_BLOB (hb_gobject_blob_get_type ()) - -HB_EXTERN GType -hb_gobject_buffer_get_type (void); -#define HB_GOBJECT_TYPE_BUFFER (hb_gobject_buffer_get_type ()) - -HB_EXTERN GType -hb_gobject_face_get_type (void); -#define HB_GOBJECT_TYPE_FACE (hb_gobject_face_get_type ()) - -HB_EXTERN GType -hb_gobject_font_get_type (void); -#define HB_GOBJECT_TYPE_FONT (hb_gobject_font_get_type ()) - -HB_EXTERN GType -hb_gobject_font_funcs_get_type (void); -#define HB_GOBJECT_TYPE_FONT_FUNCS (hb_gobject_font_funcs_get_type ()) - -HB_EXTERN GType -hb_gobject_set_get_type (void); -#define HB_GOBJECT_TYPE_SET (hb_gobject_set_get_type ()) - -HB_EXTERN GType -hb_gobject_map_get_type (void); -#define HB_GOBJECT_TYPE_MAP (hb_gobject_map_get_type ()) - -HB_EXTERN GType -hb_gobject_shape_plan_get_type (void); -#define HB_GOBJECT_TYPE_SHAPE_PLAN (hb_gobject_shape_plan_get_type ()) - -HB_EXTERN GType -hb_gobject_unicode_funcs_get_type (void); -#define HB_GOBJECT_TYPE_UNICODE_FUNCS (hb_gobject_unicode_funcs_get_type ()) - -/* Value types */ - -HB_EXTERN GType -hb_gobject_feature_get_type (void); -#define HB_GOBJECT_TYPE_FEATURE (hb_gobject_feature_get_type ()) - -HB_EXTERN GType -hb_gobject_glyph_info_get_type (void); -#define HB_GOBJECT_TYPE_GLYPH_INFO (hb_gobject_glyph_info_get_type ()) - -HB_EXTERN GType -hb_gobject_glyph_position_get_type (void); -#define HB_GOBJECT_TYPE_GLYPH_POSITION (hb_gobject_glyph_position_get_type ()) - -HB_EXTERN GType -hb_gobject_segment_properties_get_type (void); -#define HB_GOBJECT_TYPE_SEGMENT_PROPERTIES (hb_gobject_segment_properties_get_type ()) - -HB_EXTERN GType -hb_gobject_user_data_key_get_type (void); -#define HB_GOBJECT_TYPE_USER_DATA_KEY (hb_gobject_user_data_key_get_type ()) - -HB_EXTERN GType -hb_gobject_ot_math_glyph_variant_get_type (void); -#define HB_GOBJECT_TYPE_OT_MATH_GLYPH_VARIANT (hb_gobject_ot_math_glyph_variant_get_type ()) - -HB_EXTERN GType -hb_gobject_ot_math_glyph_part_get_type (void); -#define HB_GOBJECT_TYPE_OT_MATH_GLYPH_PART (hb_gobject_ot_math_glyph_part_get_type ()) - - -HB_END_DECLS - -#endif /* HB_GOBJECT_H */ diff --git a/harfbuzz/src/hb-gobject.h b/harfbuzz/src/hb-gobject.h deleted file mode 100644 index 8891aa0..0000000 --- a/harfbuzz/src/hb-gobject.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2011 Google, Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Google Author(s): Behdad Esfahbod - */ - -#ifndef HB_GOBJECT_H -#define HB_GOBJECT_H -#define HB_GOBJECT_H_IN - -#include "hb.h" - -#include "hb-gobject-enums.h" -#include "hb-gobject-structs.h" - -HB_BEGIN_DECLS -HB_END_DECLS - -#undef HB_GOBJECT_H_IN -#endif /* HB_GOBJECT_H */ diff --git a/harfbuzz/src/hb-graphite2.cc b/harfbuzz/src/hb-graphite2.cc deleted file mode 100644 index 42420ac..0000000 --- a/harfbuzz/src/hb-graphite2.cc +++ /dev/null @@ -1,448 +0,0 @@ -/* - * Copyright © 2011 Martin Hosken - * Copyright © 2011 SIL International - * Copyright © 2011,2012 Google, Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Google Author(s): Behdad Esfahbod - */ - -#include "hb.hh" - -#ifdef HAVE_GRAPHITE2 - -#include "hb-shaper-impl.hh" - -#include "hb-graphite2.h" - -#include - -#include "hb-ot-layout.h" - - -/** - * SECTION:hb-graphite2 - * @title: hb-graphite2 - * @short_description: Graphite2 integration - * @include: hb-graphite2.h - * - * Functions for using HarfBuzz with fonts that include Graphite features. - * - * For Graphite features to work, you must be sure that HarfBuzz was compiled - * with the `graphite2` shaping engine enabled. Currently, the default is to - * not enable `graphite2` shaping. - **/ - - -/* - * shaper face data - */ - -typedef struct hb_graphite2_tablelist_t -{ - struct hb_graphite2_tablelist_t *next; - hb_blob_t *blob; - unsigned int tag; -} hb_graphite2_tablelist_t; - -struct hb_graphite2_face_data_t -{ - hb_face_t *face; - gr_face *grface; - hb_atomic_ptr_t tlist; -}; - -static const void *hb_graphite2_get_table (const void *data, unsigned int tag, size_t *len) -{ - hb_graphite2_face_data_t *face_data = (hb_graphite2_face_data_t *) data; - hb_graphite2_tablelist_t *tlist = face_data->tlist; - - hb_blob_t *blob = nullptr; - - for (hb_graphite2_tablelist_t *p = tlist; p; p = p->next) - if (p->tag == tag) { - blob = p->blob; - break; - } - - if (unlikely (!blob)) - { - blob = face_data->face->reference_table (tag); - - hb_graphite2_tablelist_t *p = (hb_graphite2_tablelist_t *) hb_calloc (1, sizeof (hb_graphite2_tablelist_t)); - if (unlikely (!p)) { - hb_blob_destroy (blob); - return nullptr; - } - p->blob = blob; - p->tag = tag; - -retry: - hb_graphite2_tablelist_t *tlist = face_data->tlist; - p->next = tlist; - - if (unlikely (!face_data->tlist.cmpexch (tlist, p))) - goto retry; - } - - unsigned int tlen; - const char *d = hb_blob_get_data (blob, &tlen); - *len = tlen; - return d; -} - -hb_graphite2_face_data_t * -_hb_graphite2_shaper_face_data_create (hb_face_t *face) -{ - hb_blob_t *silf_blob = face->reference_table (HB_GRAPHITE2_TAG_SILF); - /* Umm, we just reference the table to check whether it exists. - * Maybe add better API for this? */ - if (!hb_blob_get_length (silf_blob)) - { - hb_blob_destroy (silf_blob); - return nullptr; - } - hb_blob_destroy (silf_blob); - - hb_graphite2_face_data_t *data = (hb_graphite2_face_data_t *) hb_calloc (1, sizeof (hb_graphite2_face_data_t)); - if (unlikely (!data)) - return nullptr; - - data->face = face; - const gr_face_ops ops = {sizeof(gr_face_ops), &hb_graphite2_get_table, NULL}; - data->grface = gr_make_face_with_ops (data, &ops, gr_face_preloadAll); - - if (unlikely (!data->grface)) { - hb_free (data); - return nullptr; - } - - return data; -} - -void -_hb_graphite2_shaper_face_data_destroy (hb_graphite2_face_data_t *data) -{ - hb_graphite2_tablelist_t *tlist = data->tlist; - - while (tlist) - { - hb_graphite2_tablelist_t *old = tlist; - hb_blob_destroy (tlist->blob); - tlist = tlist->next; - hb_free (old); - } - - gr_face_destroy (data->grface); - - hb_free (data); -} - -/** - * hb_graphite2_face_get_gr_face: - * @face: @hb_face_t to query - * - * Fetches the Graphite2 gr_face corresponding to the specified - * #hb_face_t face object. - * - * Return value: the gr_face found - * - * Since: 0.9.10 - */ -gr_face * -hb_graphite2_face_get_gr_face (hb_face_t *face) -{ - const hb_graphite2_face_data_t *data = face->data.graphite2; - return data ? data->grface : nullptr; -} - - -/* - * shaper font data - */ - -struct hb_graphite2_font_data_t {}; - -hb_graphite2_font_data_t * -_hb_graphite2_shaper_font_data_create (hb_font_t *font HB_UNUSED) -{ - return (hb_graphite2_font_data_t *) HB_SHAPER_DATA_SUCCEEDED; -} - -void -_hb_graphite2_shaper_font_data_destroy (hb_graphite2_font_data_t *data HB_UNUSED) -{ -} - -#ifndef HB_DISABLE_DEPRECATED -/** - * hb_graphite2_font_get_gr_font: - * @font: An #hb_font_t - * - * Always returns %NULL. Use hb_graphite2_face_get_gr_face() instead. - * - * Return value: (nullable): Graphite2 font associated with @font. - * - * Since: 0.9.10 - * Deprecated: 1.4.2 - */ -gr_font * -hb_graphite2_font_get_gr_font (hb_font_t *font HB_UNUSED) -{ - return nullptr; -} -#endif - - -/* - * shaper - */ - -struct hb_graphite2_cluster_t { - unsigned int base_char; - unsigned int num_chars; - unsigned int base_glyph; - unsigned int num_glyphs; - unsigned int cluster; - unsigned int advance; -}; - -hb_bool_t -_hb_graphite2_shape (hb_shape_plan_t *shape_plan HB_UNUSED, - hb_font_t *font, - hb_buffer_t *buffer, - const hb_feature_t *features, - unsigned int num_features) -{ - hb_face_t *face = font->face; - gr_face *grface = face->data.graphite2->grface; - - const char *lang = hb_language_to_string (hb_buffer_get_language (buffer)); - const char *lang_end = lang ? strchr (lang, '-') : nullptr; - int lang_len = lang_end ? lang_end - lang : -1; - gr_feature_val *feats = gr_face_featureval_for_lang (grface, lang ? hb_tag_from_string (lang, lang_len) : 0); - - for (unsigned int i = 0; i < num_features; i++) - { - const gr_feature_ref *fref = gr_face_find_fref (grface, features[i].tag); - if (fref) - gr_fref_set_feature_value (fref, features[i].value, feats); - } - - gr_segment *seg = nullptr; - const gr_slot *is; - unsigned int ci = 0, ic = 0; - unsigned int curradvx = 0, curradvy = 0; - - unsigned int scratch_size; - hb_buffer_t::scratch_buffer_t *scratch = buffer->get_scratch_buffer (&scratch_size); - - uint32_t *chars = (uint32_t *) scratch; - - for (unsigned int i = 0; i < buffer->len; ++i) - chars[i] = buffer->info[i].codepoint; - - /* TODO ensure_native_direction. */ - - hb_tag_t script_tag[HB_OT_MAX_TAGS_PER_SCRIPT]; - unsigned int count = HB_OT_MAX_TAGS_PER_SCRIPT; - hb_ot_tags_from_script_and_language (hb_buffer_get_script (buffer), - HB_LANGUAGE_INVALID, - &count, - script_tag, - nullptr, nullptr); - - seg = gr_make_seg (nullptr, grface, - count ? script_tag[count - 1] : HB_OT_TAG_DEFAULT_SCRIPT, - feats, - gr_utf32, chars, buffer->len, - 2 | (hb_buffer_get_direction (buffer) == HB_DIRECTION_RTL ? 1 : 0)); - - if (unlikely (!seg)) { - if (feats) gr_featureval_destroy (feats); - return false; - } - - unsigned int glyph_count = gr_seg_n_slots (seg); - if (unlikely (!glyph_count)) { - if (feats) gr_featureval_destroy (feats); - gr_seg_destroy (seg); - buffer->len = 0; - return true; - } - - (void) buffer->ensure (glyph_count); - scratch = buffer->get_scratch_buffer (&scratch_size); - while ((DIV_CEIL (sizeof (hb_graphite2_cluster_t) * buffer->len, sizeof (*scratch)) + - DIV_CEIL (sizeof (hb_codepoint_t) * glyph_count, sizeof (*scratch))) > scratch_size) - { - if (unlikely (!buffer->ensure (buffer->allocated * 2))) - { - if (feats) gr_featureval_destroy (feats); - gr_seg_destroy (seg); - return false; - } - scratch = buffer->get_scratch_buffer (&scratch_size); - } - -#define ALLOCATE_ARRAY(Type, name, len) \ - Type *name = (Type *) scratch; \ - do { \ - unsigned int _consumed = DIV_CEIL ((len) * sizeof (Type), sizeof (*scratch)); \ - assert (_consumed <= scratch_size); \ - scratch += _consumed; \ - scratch_size -= _consumed; \ - } while (0) - - ALLOCATE_ARRAY (hb_graphite2_cluster_t, clusters, buffer->len); - ALLOCATE_ARRAY (hb_codepoint_t, gids, glyph_count); - -#undef ALLOCATE_ARRAY - - memset (clusters, 0, sizeof (clusters[0]) * buffer->len); - - hb_codepoint_t *pg = gids; - clusters[0].cluster = buffer->info[0].cluster; - unsigned int upem = hb_face_get_upem (face); - float xscale = (float) font->x_scale / upem; - float yscale = (float) font->y_scale / upem; - yscale *= yscale / xscale; - unsigned int curradv = 0; - if (HB_DIRECTION_IS_BACKWARD(buffer->props.direction)) - { - curradv = gr_slot_origin_X(gr_seg_first_slot(seg)) * xscale; - clusters[0].advance = gr_seg_advance_X(seg) * xscale - curradv; - } - else - clusters[0].advance = 0; - for (is = gr_seg_first_slot (seg), ic = 0; is; is = gr_slot_next_in_segment (is), ic++) - { - unsigned int before = gr_slot_before (is); - unsigned int after = gr_slot_after (is); - *pg = gr_slot_gid (is); - pg++; - while (clusters[ci].base_char > before && ci) - { - clusters[ci-1].num_chars += clusters[ci].num_chars; - clusters[ci-1].num_glyphs += clusters[ci].num_glyphs; - clusters[ci-1].advance += clusters[ci].advance; - ci--; - } - - if (gr_slot_can_insert_before (is) && clusters[ci].num_chars && before >= clusters[ci].base_char + clusters[ci].num_chars) - { - hb_graphite2_cluster_t *c = clusters + ci + 1; - c->base_char = clusters[ci].base_char + clusters[ci].num_chars; - c->cluster = buffer->info[c->base_char].cluster; - c->num_chars = before - c->base_char; - c->base_glyph = ic; - c->num_glyphs = 0; - if (HB_DIRECTION_IS_BACKWARD(buffer->props.direction)) - { - c->advance = curradv - gr_slot_origin_X(is) * xscale; - curradv -= c->advance; - } - else - { - c->advance = 0; - clusters[ci].advance += gr_slot_origin_X(is) * xscale - curradv; - curradv += clusters[ci].advance; - } - ci++; - } - clusters[ci].num_glyphs++; - - if (clusters[ci].base_char + clusters[ci].num_chars < after + 1) - clusters[ci].num_chars = after + 1 - clusters[ci].base_char; - } - - if (HB_DIRECTION_IS_BACKWARD(buffer->props.direction)) - clusters[ci].advance += curradv; - else - clusters[ci].advance += gr_seg_advance_X(seg) * xscale - curradv; - ci++; - - for (unsigned int i = 0; i < ci; ++i) - { - for (unsigned int j = 0; j < clusters[i].num_glyphs; ++j) - { - hb_glyph_info_t *info = &buffer->info[clusters[i].base_glyph + j]; - info->codepoint = gids[clusters[i].base_glyph + j]; - info->cluster = clusters[i].cluster; - info->var1.i32 = clusters[i].advance; // all glyphs in the cluster get the same advance - } - } - buffer->len = glyph_count; - - /* Positioning. */ - unsigned int currclus = UINT_MAX; - const hb_glyph_info_t *info = buffer->info; - hb_glyph_position_t *pPos = hb_buffer_get_glyph_positions (buffer, nullptr); - if (!HB_DIRECTION_IS_BACKWARD(buffer->props.direction)) - { - curradvx = 0; - for (is = gr_seg_first_slot (seg); is; pPos++, ++info, is = gr_slot_next_in_segment (is)) - { - pPos->x_offset = gr_slot_origin_X (is) * xscale - curradvx; - pPos->y_offset = gr_slot_origin_Y (is) * yscale - curradvy; - if (info->cluster != currclus) { - pPos->x_advance = info->var1.i32; - curradvx += pPos->x_advance; - currclus = info->cluster; - } else - pPos->x_advance = 0.; - - pPos->y_advance = gr_slot_advance_Y (is, grface, nullptr) * yscale; - curradvy += pPos->y_advance; - } - } - else - { - curradvx = gr_seg_advance_X(seg) * xscale; - for (is = gr_seg_first_slot (seg); is; pPos++, info++, is = gr_slot_next_in_segment (is)) - { - if (info->cluster != currclus) - { - pPos->x_advance = info->var1.i32; - curradvx -= pPos->x_advance; - currclus = info->cluster; - } else - pPos->x_advance = 0.; - - pPos->y_advance = gr_slot_advance_Y (is, grface, nullptr) * yscale; - curradvy -= pPos->y_advance; - pPos->x_offset = gr_slot_origin_X (is) * xscale - info->var1.i32 - curradvx + pPos->x_advance; - pPos->y_offset = gr_slot_origin_Y (is) * yscale - curradvy; - } - hb_buffer_reverse_clusters (buffer); - } - - if (feats) gr_featureval_destroy (feats); - gr_seg_destroy (seg); - - buffer->clear_glyph_flags (HB_GLYPH_FLAG_UNSAFE_TO_BREAK); - - return true; -} - - -#endif diff --git a/harfbuzz/src/hb-graphite2.h b/harfbuzz/src/hb-graphite2.h deleted file mode 100644 index f299da9..0000000 --- a/harfbuzz/src/hb-graphite2.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright © 2011 Martin Hosken - * Copyright © 2011 SIL International - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - */ - -#ifndef HB_GRAPHITE2_H -#define HB_GRAPHITE2_H - -#include "hb.h" - -#include - -HB_BEGIN_DECLS - -/** - * HB_GRAPHITE2_TAG_SILF: - * - * The #hb_tag_t tag for the `Silf` table, which holds Graphite - * features. - * - * For more information, see http://graphite.sil.org/ - * - **/ -#define HB_GRAPHITE2_TAG_SILF HB_TAG('S','i','l','f') - - -HB_EXTERN gr_face * -hb_graphite2_face_get_gr_face (hb_face_t *face); - -#ifndef HB_DISABLE_DEPRECATED - -HB_EXTERN HB_DEPRECATED_FOR (hb_graphite2_face_get_gr_face) gr_font * -hb_graphite2_font_get_gr_font (hb_font_t *font); - -#endif - - -HB_END_DECLS - -#endif /* HB_GRAPHITE2_H */ diff --git a/harfbuzz/src/hb-icu.cc b/harfbuzz/src/hb-icu.cc deleted file mode 100644 index e46401f..0000000 --- a/harfbuzz/src/hb-icu.cc +++ /dev/null @@ -1,290 +0,0 @@ -/* - * Copyright © 2009 Red Hat, Inc. - * Copyright © 2009 Keith Stribley - * Copyright © 2011 Google, Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Red Hat Author(s): Behdad Esfahbod - * Google Author(s): Behdad Esfahbod - */ - -#include "hb.hh" - -#ifdef HAVE_ICU - -#include "hb-icu.h" - -#include "hb-machinery.hh" - -#include -#include -#include -#include -#include - -/* ICU extra semicolon, fixed since 65, https://github.com/unicode-org/icu/commit/480bec3 */ -#if U_ICU_VERSION_MAJOR_NUM < 65 && (defined(__GNUC__) || defined(__clang__)) -#define HB_ICU_EXTRA_SEMI_IGNORED -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wextra-semi-stmt" -#endif - -/** - * SECTION:hb-icu - * @title: hb-icu - * @short_description: ICU integration - * @include: hb-icu.h - * - * Functions for using HarfBuzz with the International Components for Unicode - * (ICU) library. HarfBuzz supports using ICU to provide Unicode data, by attaching - * ICU functions to the virtual methods in a #hb_unicode_funcs_t function - * structure. - **/ - -/** - * hb_icu_script_to_script: - * @script: The UScriptCode identifier to query - * - * Fetches the #hb_script_t script that corresponds to the - * specified UScriptCode identifier. - * - * Return value: the #hb_script_t script found - * - **/ - -hb_script_t -hb_icu_script_to_script (UScriptCode script) -{ - if (unlikely (script == USCRIPT_INVALID_CODE)) - return HB_SCRIPT_INVALID; - - return hb_script_from_string (uscript_getShortName (script), -1); -} - -/** - * hb_icu_script_from_script: - * @script: The #hb_script_t script to query - * - * Fetches the UScriptCode identifier that corresponds to the - * specified #hb_script_t script. - * - * Return value: the UScriptCode identifier found - * - **/ -UScriptCode -hb_icu_script_from_script (hb_script_t script) -{ - if (unlikely (script == HB_SCRIPT_INVALID)) - return USCRIPT_INVALID_CODE; - - unsigned int numScriptCode = 1 + u_getIntPropertyMaxValue (UCHAR_SCRIPT); - for (unsigned int i = 0; i < numScriptCode; i++) - if (unlikely (hb_icu_script_to_script ((UScriptCode) i) == script)) - return (UScriptCode) i; - - return USCRIPT_UNKNOWN; -} - - -static hb_unicode_combining_class_t -hb_icu_unicode_combining_class (hb_unicode_funcs_t *ufuncs HB_UNUSED, - hb_codepoint_t unicode, - void *user_data HB_UNUSED) - -{ - return (hb_unicode_combining_class_t) u_getCombiningClass (unicode); -} - -static hb_unicode_general_category_t -hb_icu_unicode_general_category (hb_unicode_funcs_t *ufuncs HB_UNUSED, - hb_codepoint_t unicode, - void *user_data HB_UNUSED) -{ - switch (u_getIntPropertyValue(unicode, UCHAR_GENERAL_CATEGORY)) - { - case U_UNASSIGNED: return HB_UNICODE_GENERAL_CATEGORY_UNASSIGNED; - - case U_UPPERCASE_LETTER: return HB_UNICODE_GENERAL_CATEGORY_UPPERCASE_LETTER; - case U_LOWERCASE_LETTER: return HB_UNICODE_GENERAL_CATEGORY_LOWERCASE_LETTER; - case U_TITLECASE_LETTER: return HB_UNICODE_GENERAL_CATEGORY_TITLECASE_LETTER; - case U_MODIFIER_LETTER: return HB_UNICODE_GENERAL_CATEGORY_MODIFIER_LETTER; - case U_OTHER_LETTER: return HB_UNICODE_GENERAL_CATEGORY_OTHER_LETTER; - - case U_NON_SPACING_MARK: return HB_UNICODE_GENERAL_CATEGORY_NON_SPACING_MARK; - case U_ENCLOSING_MARK: return HB_UNICODE_GENERAL_CATEGORY_ENCLOSING_MARK; - case U_COMBINING_SPACING_MARK: return HB_UNICODE_GENERAL_CATEGORY_SPACING_MARK; - - case U_DECIMAL_DIGIT_NUMBER: return HB_UNICODE_GENERAL_CATEGORY_DECIMAL_NUMBER; - case U_LETTER_NUMBER: return HB_UNICODE_GENERAL_CATEGORY_LETTER_NUMBER; - case U_OTHER_NUMBER: return HB_UNICODE_GENERAL_CATEGORY_OTHER_NUMBER; - - case U_SPACE_SEPARATOR: return HB_UNICODE_GENERAL_CATEGORY_SPACE_SEPARATOR; - case U_LINE_SEPARATOR: return HB_UNICODE_GENERAL_CATEGORY_LINE_SEPARATOR; - case U_PARAGRAPH_SEPARATOR: return HB_UNICODE_GENERAL_CATEGORY_PARAGRAPH_SEPARATOR; - - case U_CONTROL_CHAR: return HB_UNICODE_GENERAL_CATEGORY_CONTROL; - case U_FORMAT_CHAR: return HB_UNICODE_GENERAL_CATEGORY_FORMAT; - case U_PRIVATE_USE_CHAR: return HB_UNICODE_GENERAL_CATEGORY_PRIVATE_USE; - case U_SURROGATE: return HB_UNICODE_GENERAL_CATEGORY_SURROGATE; - - - case U_DASH_PUNCTUATION: return HB_UNICODE_GENERAL_CATEGORY_DASH_PUNCTUATION; - case U_START_PUNCTUATION: return HB_UNICODE_GENERAL_CATEGORY_OPEN_PUNCTUATION; - case U_END_PUNCTUATION: return HB_UNICODE_GENERAL_CATEGORY_CLOSE_PUNCTUATION; - case U_CONNECTOR_PUNCTUATION: return HB_UNICODE_GENERAL_CATEGORY_CONNECT_PUNCTUATION; - case U_OTHER_PUNCTUATION: return HB_UNICODE_GENERAL_CATEGORY_OTHER_PUNCTUATION; - - case U_MATH_SYMBOL: return HB_UNICODE_GENERAL_CATEGORY_MATH_SYMBOL; - case U_CURRENCY_SYMBOL: return HB_UNICODE_GENERAL_CATEGORY_CURRENCY_SYMBOL; - case U_MODIFIER_SYMBOL: return HB_UNICODE_GENERAL_CATEGORY_MODIFIER_SYMBOL; - case U_OTHER_SYMBOL: return HB_UNICODE_GENERAL_CATEGORY_OTHER_SYMBOL; - - case U_INITIAL_PUNCTUATION: return HB_UNICODE_GENERAL_CATEGORY_INITIAL_PUNCTUATION; - case U_FINAL_PUNCTUATION: return HB_UNICODE_GENERAL_CATEGORY_FINAL_PUNCTUATION; - } - - return HB_UNICODE_GENERAL_CATEGORY_UNASSIGNED; -} - -static hb_codepoint_t -hb_icu_unicode_mirroring (hb_unicode_funcs_t *ufuncs HB_UNUSED, - hb_codepoint_t unicode, - void *user_data HB_UNUSED) -{ - return u_charMirror(unicode); -} - -static hb_script_t -hb_icu_unicode_script (hb_unicode_funcs_t *ufuncs HB_UNUSED, - hb_codepoint_t unicode, - void *user_data HB_UNUSED) -{ - UErrorCode status = U_ZERO_ERROR; - UScriptCode scriptCode = uscript_getScript(unicode, &status); - - if (unlikely (U_FAILURE (status))) - return HB_SCRIPT_UNKNOWN; - - return hb_icu_script_to_script (scriptCode); -} - -static hb_bool_t -hb_icu_unicode_compose (hb_unicode_funcs_t *ufuncs HB_UNUSED, - hb_codepoint_t a, - hb_codepoint_t b, - hb_codepoint_t *ab, - void *user_data) -{ - const UNormalizer2 *normalizer = (const UNormalizer2 *) user_data; - UChar32 ret = unorm2_composePair (normalizer, a, b); - if (ret < 0) return false; - *ab = ret; - return true; -} - -static hb_bool_t -hb_icu_unicode_decompose (hb_unicode_funcs_t *ufuncs HB_UNUSED, - hb_codepoint_t ab, - hb_codepoint_t *a, - hb_codepoint_t *b, - void *user_data) -{ - const UNormalizer2 *normalizer = (const UNormalizer2 *) user_data; - UChar decomposed[4]; - int len; - UErrorCode icu_err = U_ZERO_ERROR; - len = unorm2_getRawDecomposition (normalizer, ab, decomposed, - ARRAY_LENGTH (decomposed), &icu_err); - if (U_FAILURE (icu_err) || len < 0) return false; - - len = u_countChar32 (decomposed, len); - if (len == 1) - { - U16_GET_UNSAFE (decomposed, 0, *a); - *b = 0; - return *a != ab; - } - else if (len == 2) - { - len = 0; - U16_NEXT_UNSAFE (decomposed, len, *a); - U16_NEXT_UNSAFE (decomposed, len, *b); - } - return true; -} - - -static inline void free_static_icu_funcs (); - -static struct hb_icu_unicode_funcs_lazy_loader_t : hb_unicode_funcs_lazy_loader_t -{ - static hb_unicode_funcs_t *create () - { - void *user_data = nullptr; - UErrorCode icu_err = U_ZERO_ERROR; - user_data = (void *) unorm2_getNFCInstance (&icu_err); - assert (user_data); - - hb_unicode_funcs_t *funcs = hb_unicode_funcs_create (nullptr); - - hb_unicode_funcs_set_combining_class_func (funcs, hb_icu_unicode_combining_class, nullptr, nullptr); - hb_unicode_funcs_set_general_category_func (funcs, hb_icu_unicode_general_category, nullptr, nullptr); - hb_unicode_funcs_set_mirroring_func (funcs, hb_icu_unicode_mirroring, nullptr, nullptr); - hb_unicode_funcs_set_script_func (funcs, hb_icu_unicode_script, nullptr, nullptr); - hb_unicode_funcs_set_compose_func (funcs, hb_icu_unicode_compose, user_data, nullptr); - hb_unicode_funcs_set_decompose_func (funcs, hb_icu_unicode_decompose, user_data, nullptr); - - hb_unicode_funcs_make_immutable (funcs); - - hb_atexit (free_static_icu_funcs); - - return funcs; - } -} static_icu_funcs; - -static inline -void free_static_icu_funcs () -{ - static_icu_funcs.free_instance (); -} - -/** - * hb_icu_get_unicode_funcs: - * - * Fetches a Unicode-functions structure that is populated - * with the appropriate ICU function for each method. - * - * Return value: (transfer none): a pointer to the #hb_unicode_funcs_t Unicode-functions structure - * - * Since: 0.9.38 - **/ -hb_unicode_funcs_t * -hb_icu_get_unicode_funcs () -{ - return static_icu_funcs.get_unconst (); -} - -#ifdef HB_ICU_EXTRA_SEMI_IGNORED -#pragma GCC diagnostic pop -#endif - -#endif diff --git a/harfbuzz/src/hb-icu.h b/harfbuzz/src/hb-icu.h deleted file mode 100644 index 2db6a7b..0000000 --- a/harfbuzz/src/hb-icu.h +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Copyright © 2009 Red Hat, Inc. - * Copyright © 2011 Google, Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Red Hat Author(s): Behdad Esfahbod - * Google Author(s): Behdad Esfahbod - */ - -#ifndef HB_ICU_H -#define HB_ICU_H - -#include "hb.h" - -#include - -HB_BEGIN_DECLS - - -HB_EXTERN hb_script_t -hb_icu_script_to_script (UScriptCode script); - -HB_EXTERN UScriptCode -hb_icu_script_from_script (hb_script_t script); - - -HB_EXTERN hb_unicode_funcs_t * -hb_icu_get_unicode_funcs (void); - - -HB_END_DECLS - -#endif /* HB_ICU_H */ diff --git a/harfbuzz/src/hb-iter.hh b/harfbuzz/src/hb-iter.hh deleted file mode 100644 index ad2e45e..0000000 --- a/harfbuzz/src/hb-iter.hh +++ /dev/null @@ -1,1024 +0,0 @@ -/* - * Copyright © 2018 Google, Inc. - * Copyright © 2019 Facebook, Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Google Author(s): Behdad Esfahbod - * Facebook Author(s): Behdad Esfahbod - */ - -#ifndef HB_ITER_HH -#define HB_ITER_HH - -#include "hb.hh" -#include "hb-algs.hh" -#include "hb-meta.hh" - - -/* Unified iterator object. - * - * The goal of this template is to make the same iterator interface - * available to all types, and make it very easy and compact to use. - * hb_iter_tator objects are small, light-weight, objects that can be - * copied by value. If the collection / object being iterated on - * is writable, then the iterator returns lvalues, otherwise it - * returns rvalues. - * - * TODO Document more. - * - * If iterator implementation implements operator!=, then can be - * used in range-based for loop. That already happens if the iterator - * is random-access. Otherwise, the range-based for loop incurs - * one traversal to find end(), which can be avoided if written - * as a while-style for loop, or if iterator implements a faster - * __end__() method. - * TODO When opting in for C++17, address this by changing return - * type of .end()? - */ - -/* - * Base classes for iterators. - */ - -/* Base class for all iterators. */ -template -struct hb_iter_t -{ - typedef Item item_t; - constexpr unsigned get_item_size () const { return hb_static_size (Item); } - static constexpr bool is_iterator = true; - static constexpr bool is_random_access_iterator = false; - static constexpr bool is_sorted_iterator = false; - - private: - /* https://en.wikipedia.org/wiki/Curiously_recurring_template_pattern */ - const iter_t* thiz () const { return static_cast (this); } - iter_t* thiz () { return static_cast< iter_t *> (this); } - public: - - /* TODO: - * Port operators below to use hb_enable_if to sniff which method implements - * an operator and use it, and remove hb_iter_fallback_mixin_t completely. */ - - /* Operators. */ - iter_t iter () const { return *thiz(); } - iter_t operator + () const { return *thiz(); } - iter_t begin () const { return *thiz(); } - iter_t end () const { return thiz()->__end__ (); } - explicit operator bool () const { return thiz()->__more__ (); } - unsigned len () const { return thiz()->__len__ (); } - /* The following can only be enabled if item_t is reference type. Otherwise - * it will be returning pointer to temporary rvalue. - * TODO Use a wrapper return type to fix for non-reference type. */ - template - hb_remove_reference* operator -> () const { return hb_addressof (**thiz()); } - item_t operator * () const { return thiz()->__item__ (); } - item_t operator * () { return thiz()->__item__ (); } - item_t operator [] (unsigned i) const { return thiz()->__item_at__ (i); } - item_t operator [] (unsigned i) { return thiz()->__item_at__ (i); } - iter_t& operator += (unsigned count) & { thiz()->__forward__ (count); return *thiz(); } - iter_t operator += (unsigned count) && { thiz()->__forward__ (count); return *thiz(); } - iter_t& operator ++ () & { thiz()->__next__ (); return *thiz(); } - iter_t operator ++ () && { thiz()->__next__ (); return *thiz(); } - iter_t& operator -= (unsigned count) & { thiz()->__rewind__ (count); return *thiz(); } - iter_t operator -= (unsigned count) && { thiz()->__rewind__ (count); return *thiz(); } - iter_t& operator -- () & { thiz()->__prev__ (); return *thiz(); } - iter_t operator -- () && { thiz()->__prev__ (); return *thiz(); } - iter_t operator + (unsigned count) const { auto c = thiz()->iter (); c += count; return c; } - friend iter_t operator + (unsigned count, const iter_t &it) { return it + count; } - iter_t operator ++ (int) { iter_t c (*thiz()); ++*thiz(); return c; } - iter_t operator - (unsigned count) const { auto c = thiz()->iter (); c -= count; return c; } - iter_t operator -- (int) { iter_t c (*thiz()); --*thiz(); return c; } - template - iter_t& operator >> (T &v) & { v = **thiz(); ++*thiz(); return *thiz(); } - template - iter_t operator >> (T &v) && { v = **thiz(); ++*thiz(); return *thiz(); } - template - iter_t& operator << (const T v) & { **thiz() = v; ++*thiz(); return *thiz(); } - template - iter_t operator << (const T v) && { **thiz() = v; ++*thiz(); return *thiz(); } - - protected: - hb_iter_t () = default; - hb_iter_t (const hb_iter_t &o HB_UNUSED) = default; - hb_iter_t (hb_iter_t &&o HB_UNUSED) = default; - hb_iter_t& operator = (const hb_iter_t &o HB_UNUSED) = default; - hb_iter_t& operator = (hb_iter_t &&o HB_UNUSED) = default; -}; - -#define HB_ITER_USING(Name) \ - using item_t = typename Name::item_t; \ - using Name::begin; \ - using Name::end; \ - using Name::get_item_size; \ - using Name::is_iterator; \ - using Name::iter; \ - using Name::operator bool; \ - using Name::len; \ - using Name::operator ->; \ - using Name::operator *; \ - using Name::operator []; \ - using Name::operator +=; \ - using Name::operator ++; \ - using Name::operator -=; \ - using Name::operator --; \ - using Name::operator +; \ - using Name::operator -; \ - using Name::operator >>; \ - using Name::operator <<; \ - static_assert (true, "") - -/* Returns iterator / item type of a type. */ -template -using hb_iter_type = decltype (hb_deref (hb_declval (Iterable)).iter ()); -template -using hb_item_type = decltype (*hb_deref (hb_declval (Iterable)).iter ()); - - -template struct hb_array_t; -template struct hb_sorted_array_t; - -struct -{ - template hb_iter_type - operator () (T&& c) const - { return hb_deref (std::forward (c)).iter (); } - - /* Specialization for C arrays. */ - - template inline hb_array_t - operator () (Type *array, unsigned int length) const - { return hb_array_t (array, length); } - - template hb_array_t - operator () (Type (&array)[length]) const - { return hb_array_t (array, length); } - -} -HB_FUNCOBJ (hb_iter); -struct -{ - template unsigned - operator () (T&& c) const - { return c.len (); } - -} -HB_FUNCOBJ (hb_len); - -/* Mixin to fill in what the subclass doesn't provide. */ -template -struct hb_iter_fallback_mixin_t -{ - private: - /* https://en.wikipedia.org/wiki/Curiously_recurring_template_pattern */ - const iter_t* thiz () const { return static_cast (this); } - iter_t* thiz () { return static_cast< iter_t *> (this); } - public: - - /* Access: Implement __item__(), or __item_at__() if random-access. */ - item_t __item__ () const { return (*thiz())[0]; } - item_t __item_at__ (unsigned i) const { return *(*thiz() + i); } - - /* Termination: Implement __more__(), or __len__() if random-access. */ - bool __more__ () const { return bool (thiz()->len ()); } - unsigned __len__ () const - { iter_t c (*thiz()); unsigned l = 0; while (c) { c++; l++; } return l; } - - /* Advancing: Implement __next__(), or __forward__() if random-access. */ - void __next__ () { *thiz() += 1; } - void __forward__ (unsigned n) { while (*thiz() && n--) ++*thiz(); } - - /* Rewinding: Implement __prev__() or __rewind__() if bidirectional. */ - void __prev__ () { *thiz() -= 1; } - void __rewind__ (unsigned n) { while (*thiz() && n--) --*thiz(); } - - /* Range-based for: Implement __end__() if can be done faster, - * and operator!=. */ - iter_t __end__ () const - { - if (thiz()->is_random_access_iterator) - return *thiz() + thiz()->len (); - /* Above expression loops twice. Following loops once. */ - auto it = *thiz(); - while (it) ++it; - return it; - } - - protected: - hb_iter_fallback_mixin_t () = default; - hb_iter_fallback_mixin_t (const hb_iter_fallback_mixin_t &o HB_UNUSED) = default; - hb_iter_fallback_mixin_t (hb_iter_fallback_mixin_t &&o HB_UNUSED) = default; - hb_iter_fallback_mixin_t& operator = (const hb_iter_fallback_mixin_t &o HB_UNUSED) = default; - hb_iter_fallback_mixin_t& operator = (hb_iter_fallback_mixin_t &&o HB_UNUSED) = default; -}; - -template -struct hb_iter_with_fallback_t : - hb_iter_t, - hb_iter_fallback_mixin_t -{ - protected: - hb_iter_with_fallback_t () = default; - hb_iter_with_fallback_t (const hb_iter_with_fallback_t &o HB_UNUSED) = default; - hb_iter_with_fallback_t (hb_iter_with_fallback_t &&o HB_UNUSED) = default; - hb_iter_with_fallback_t& operator = (const hb_iter_with_fallback_t &o HB_UNUSED) = default; - hb_iter_with_fallback_t& operator = (hb_iter_with_fallback_t &&o HB_UNUSED) = default; -}; - -/* - * Meta-programming predicates. - */ - -/* hb_is_iterator() / hb_is_iterator_of() */ - -template -struct hb_is_iterator_of -{ - template - static hb_true_type impl (hb_priority<2>, hb_iter_t> *); - static hb_false_type impl (hb_priority<0>, const void *); - - public: - static constexpr bool value = decltype (impl (hb_prioritize, hb_declval (Iter*)))::value; -}; -#define hb_is_iterator_of(Iter, Item) hb_is_iterator_of::value -#define hb_is_iterator(Iter) hb_is_iterator_of (Iter, typename Iter::item_t) - -/* hb_is_iterable() */ - -template -struct hb_is_iterable -{ - private: - - template - static auto impl (hb_priority<1>) -> decltype (hb_declval (U).iter (), hb_true_type ()); - - template - static hb_false_type impl (hb_priority<0>); - - public: - static constexpr bool value = decltype (impl (hb_prioritize))::value; -}; -#define hb_is_iterable(Iterable) hb_is_iterable::value - -/* hb_is_source_of() / hb_is_sink_of() */ - -template -struct hb_is_source_of -{ - private: - template >))> - static hb_true_type impl (hb_priority<2>); - template - static auto impl (hb_priority<1>) -> decltype (hb_declval (Iter2) >> hb_declval (Item &), hb_true_type ()); - static hb_false_type impl (hb_priority<0>); - - public: - static constexpr bool value = decltype (impl (hb_prioritize))::value; -}; -#define hb_is_source_of(Iter, Item) hb_is_source_of::value - -template -struct hb_is_sink_of -{ - private: - template ))> - static hb_true_type impl (hb_priority<2>); - template - static auto impl (hb_priority<1>) -> decltype (hb_declval (Iter2) << hb_declval (Item), hb_true_type ()); - static hb_false_type impl (hb_priority<0>); - - public: - static constexpr bool value = decltype (impl (hb_prioritize))::value; -}; -#define hb_is_sink_of(Iter, Item) hb_is_sink_of::value - -/* This is commonly used, so define: */ -#define hb_is_sorted_source_of(Iter, Item) \ - (hb_is_source_of(Iter, Item) && Iter::is_sorted_iterator) - - -/* Range-based 'for' for iterables. */ - -template -static inline auto begin (Iterable&& iterable) HB_AUTO_RETURN (hb_iter (iterable).begin ()) - -template -static inline auto end (Iterable&& iterable) HB_AUTO_RETURN (hb_iter (iterable).end ()) - -/* begin()/end() are NOT looked up non-ADL. So each namespace must declare them. - * Do it for namespace OT. */ -namespace OT { - -template -static inline auto begin (Iterable&& iterable) HB_AUTO_RETURN (hb_iter (iterable).begin ()) - -template -static inline auto end (Iterable&& iterable) HB_AUTO_RETURN (hb_iter (iterable).end ()) - -} - - -/* - * Adaptors, combiners, etc. - */ - -template -static inline auto -operator | (Lhs&& lhs, Rhs&& rhs) HB_AUTO_RETURN (std::forward (rhs) (std::forward (lhs))) - -/* hb_map(), hb_filter(), hb_reduce() */ - -enum class hb_function_sortedness_t { - NOT_SORTED, - RETAINS_SORTING, - SORTED, -}; - -template -struct hb_map_iter_t : - hb_iter_t, - decltype (hb_get (hb_declval (Proj), *hb_declval (Iter)))> -{ - hb_map_iter_t (const Iter& it, Proj f_) : it (it), f (f_) {} - - typedef decltype (hb_get (hb_declval (Proj), *hb_declval (Iter))) __item_t__; - static constexpr bool is_random_access_iterator = Iter::is_random_access_iterator; - static constexpr bool is_sorted_iterator = - Sorted == hb_function_sortedness_t::SORTED ? true : - Sorted == hb_function_sortedness_t::RETAINS_SORTING ? Iter::is_sorted_iterator : - false; - __item_t__ __item__ () const { return hb_get (f.get (), *it); } - __item_t__ __item_at__ (unsigned i) const { return hb_get (f.get (), it[i]); } - bool __more__ () const { return bool (it); } - unsigned __len__ () const { return it.len (); } - void __next__ () { ++it; } - void __forward__ (unsigned n) { it += n; } - void __prev__ () { --it; } - void __rewind__ (unsigned n) { it -= n; } - hb_map_iter_t __end__ () const { return hb_map_iter_t (it.end (), f); } - bool operator != (const hb_map_iter_t& o) const - { return it != o.it; } - - private: - Iter it; - hb_reference_wrapper f; -}; - -template -struct hb_map_iter_factory_t -{ - hb_map_iter_factory_t (Proj f) : f (f) {} - - template - hb_map_iter_t - operator () (Iter it) - { return hb_map_iter_t (it, f); } - - private: - Proj f; -}; -struct -{ - template - hb_map_iter_factory_t - operator () (Proj&& f) const - { return hb_map_iter_factory_t (f); } -} -HB_FUNCOBJ (hb_map); -struct -{ - template - hb_map_iter_factory_t - operator () (Proj&& f) const - { return hb_map_iter_factory_t (f); } -} -HB_FUNCOBJ (hb_map_retains_sorting); -struct -{ - template - hb_map_iter_factory_t - operator () (Proj&& f) const - { return hb_map_iter_factory_t (f); } -} -HB_FUNCOBJ (hb_map_sorted); - -template -struct hb_filter_iter_t : - hb_iter_with_fallback_t, - typename Iter::item_t> -{ - hb_filter_iter_t (const Iter& it_, Pred p_, Proj f_) : it (it_), p (p_), f (f_) - { while (it && !hb_has (p.get (), hb_get (f.get (), *it))) ++it; } - - typedef typename Iter::item_t __item_t__; - static constexpr bool is_sorted_iterator = Iter::is_sorted_iterator; - __item_t__ __item__ () const { return *it; } - bool __more__ () const { return bool (it); } - void __next__ () { do ++it; while (it && !hb_has (p.get (), hb_get (f.get (), *it))); } - void __prev__ () { do --it; while (it && !hb_has (p.get (), hb_get (f.get (), *it))); } - hb_filter_iter_t __end__ () const { return hb_filter_iter_t (it.end (), p, f); } - bool operator != (const hb_filter_iter_t& o) const - { return it != o.it; } - - private: - Iter it; - hb_reference_wrapper p; - hb_reference_wrapper f; -}; -template -struct hb_filter_iter_factory_t -{ - hb_filter_iter_factory_t (Pred p, Proj f) : p (p), f (f) {} - - template - hb_filter_iter_t - operator () (Iter it) - { return hb_filter_iter_t (it, p, f); } - - private: - Pred p; - Proj f; -}; -struct -{ - template - hb_filter_iter_factory_t - operator () (Pred&& p = hb_identity, Proj&& f = hb_identity) const - { return hb_filter_iter_factory_t (p, f); } -} -HB_FUNCOBJ (hb_filter); - -template -struct hb_reduce_t -{ - hb_reduce_t (Redu r, InitT init_value) : r (r), init_value (init_value) {} - - template > - AccuT - operator () (Iter it) - { - AccuT value = init_value; - for (; it; ++it) - value = r (value, *it); - return value; - } - - private: - Redu r; - InitT init_value; -}; -struct -{ - template - hb_reduce_t - operator () (Redu&& r, InitT init_value) const - { return hb_reduce_t (r, init_value); } -} -HB_FUNCOBJ (hb_reduce); - - -/* hb_zip() */ - -template -struct hb_zip_iter_t : - hb_iter_t, - hb_pair_t> -{ - hb_zip_iter_t () {} - hb_zip_iter_t (const A& a, const B& b) : a (a), b (b) {} - - typedef hb_pair_t __item_t__; - static constexpr bool is_random_access_iterator = - A::is_random_access_iterator && - B::is_random_access_iterator; - /* Note. The following categorization is only valid if A is strictly sorted, - * ie. does NOT have duplicates. Previously I tried to categorize sortedness - * more granularly, see commits: - * - * 513762849a683914fc266a17ddf38f133cccf072 - * 4d3cf2adb669c345cc43832d11689271995e160a - * - * However, that was not enough, since hb_sorted_array_t, hb_sorted_vector_t, - * SortedArrayOf, etc all needed to be updated to add more variants. At that - * point I saw it not worth the effort, and instead we now deem all sorted - * collections as essentially strictly-sorted for the purposes of zip. - * - * The above assumption is not as bad as it sounds. Our "sorted" comes with - * no guarantees. It's just a contract, put in place to help you remember, - * and think about, whether an iterator you receive is expected to be - * sorted or not. As such, it's not perfect by definition, and should not - * be treated so. The inaccuracy here just errs in the direction of being - * more permissive, so your code compiles instead of erring on the side of - * marking your zipped iterator unsorted in which case your code won't - * compile. - * - * This semantical limitation does NOT affect logic in any other place I - * know of as of this writing. - */ - static constexpr bool is_sorted_iterator = A::is_sorted_iterator; - - __item_t__ __item__ () const { return __item_t__ (*a, *b); } - __item_t__ __item_at__ (unsigned i) const { return __item_t__ (a[i], b[i]); } - bool __more__ () const { return bool (a) && bool (b); } - unsigned __len__ () const { return hb_min (a.len (), b.len ()); } - void __next__ () { ++a; ++b; } - void __forward__ (unsigned n) { a += n; b += n; } - void __prev__ () { --a; --b; } - void __rewind__ (unsigned n) { a -= n; b -= n; } - hb_zip_iter_t __end__ () const { return hb_zip_iter_t (a.end (), b.end ()); } - /* Note, we should stop if ANY of the iters reaches end. As such two compare - * unequal if both items are unequal, NOT if either is unequal. */ - bool operator != (const hb_zip_iter_t& o) const - { return a != o.a && b != o.b; } - - private: - A a; - B b; -}; -struct -{ HB_PARTIALIZE(2); - template - hb_zip_iter_t, hb_iter_type> - operator () (A&& a, B&& b) const - { return hb_zip_iter_t, hb_iter_type> (hb_iter (a), hb_iter (b)); } -} -HB_FUNCOBJ (hb_zip); - -/* hb_concat() */ - -template -struct hb_concat_iter_t : - hb_iter_t, typename A::item_t> -{ - hb_concat_iter_t () {} - hb_concat_iter_t (A& a, B& b) : a (a), b (b) {} - hb_concat_iter_t (const A& a, const B& b) : a (a), b (b) {} - - - typedef typename A::item_t __item_t__; - static constexpr bool is_random_access_iterator = - A::is_random_access_iterator && - B::is_random_access_iterator; - static constexpr bool is_sorted_iterator = false; - - __item_t__ __item__ () const - { - if (!a) - return *b; - return *a; - } - - __item_t__ __item_at__ (unsigned i) const - { - unsigned a_len = a.len (); - if (i < a_len) - return a[i]; - return b[i - a_len]; - } - - bool __more__ () const { return bool (a) || bool (b); } - - unsigned __len__ () const { return a.len () + b.len (); } - - void __next__ () - { - if (a) - ++a; - else - ++b; - } - - void __forward__ (unsigned n) - { - if (!n) return; - if (!is_random_access_iterator) { - while (n-- && *this) { - (*this)++; - } - return; - } - - unsigned a_len = a.len (); - if (n > a_len) { - n -= a_len; - a.__forward__ (a_len); - b.__forward__ (n); - } else { - a.__forward__ (n); - } - } - - hb_concat_iter_t __end__ () const { return hb_concat_iter_t (a.end (), b.end ()); } - bool operator != (const hb_concat_iter_t& o) const - { - return a != o.a - || b != o.b; - } - - private: - A a; - B b; -}; -struct -{ HB_PARTIALIZE(2); - template - hb_concat_iter_t, hb_iter_type> - operator () (A&& a, B&& b) const - { return hb_concat_iter_t, hb_iter_type> (hb_iter (a), hb_iter (b)); } -} -HB_FUNCOBJ (hb_concat); - -/* hb_apply() */ - -template -struct hb_apply_t -{ - hb_apply_t (Appl a) : a (a) {} - - template - void operator () (Iter it) - { - for (; it; ++it) - (void) hb_invoke (a, *it); - } - - private: - Appl a; -}; -struct -{ - template hb_apply_t - operator () (Appl&& a) const - { return hb_apply_t (a); } - - template hb_apply_t - operator () (Appl *a) const - { return hb_apply_t (*a); } -} -HB_FUNCOBJ (hb_apply); - -/* hb_range()/hb_iota()/hb_repeat() */ - -template -struct hb_range_iter_t : - hb_iter_t, T> -{ - hb_range_iter_t (T start, T end_, S step) : v (start), end_ (end_for (start, end_, step)), step (step) {} - - typedef T __item_t__; - static constexpr bool is_random_access_iterator = true; - static constexpr bool is_sorted_iterator = true; - __item_t__ __item__ () const { return hb_ridentity (v); } - __item_t__ __item_at__ (unsigned j) const { return v + j * step; } - bool __more__ () const { return v != end_; } - unsigned __len__ () const { return !step ? UINT_MAX : (end_ - v) / step; } - void __next__ () { v += step; } - void __forward__ (unsigned n) { v += n * step; } - void __prev__ () { v -= step; } - void __rewind__ (unsigned n) { v -= n * step; } - hb_range_iter_t __end__ () const { return hb_range_iter_t (end_, end_, step); } - bool operator != (const hb_range_iter_t& o) const - { return v != o.v; } - - private: - static inline T end_for (T start, T end_, S step) - { - if (!step) - return end_; - auto res = (end_ - start) % step; - if (!res) - return end_; - end_ += step - res; - return end_; - } - - private: - T v; - T end_; - S step; -}; -struct -{ - template hb_range_iter_t - operator () (T end = (unsigned) -1) const - { return hb_range_iter_t (0, end, 1u); } - - template hb_range_iter_t - operator () (T start, T end, S step = 1u) const - { return hb_range_iter_t (start, end, step); } -} -HB_FUNCOBJ (hb_range); - -template -struct hb_iota_iter_t : - hb_iter_with_fallback_t, T> -{ - hb_iota_iter_t (T start, S step) : v (start), step (step) {} - - private: - - template - auto - inc (hb_type_identity s, hb_priority<1>) - -> hb_void_t (s), hb_declval ()))> - { v = hb_invoke (std::forward (s), v); } - - void - inc (S s, hb_priority<0>) - { v += s; } - - public: - - typedef T __item_t__; - static constexpr bool is_random_access_iterator = true; - static constexpr bool is_sorted_iterator = true; - __item_t__ __item__ () const { return hb_ridentity (v); } - bool __more__ () const { return true; } - unsigned __len__ () const { return UINT_MAX; } - void __next__ () { inc (step, hb_prioritize); } - void __prev__ () { v -= step; } - hb_iota_iter_t __end__ () const { return *this; } - bool operator != (const hb_iota_iter_t& o) const { return true; } - - private: - T v; - S step; -}; -struct -{ - template hb_iota_iter_t - operator () (T start = 0u, S step = 1u) const - { return hb_iota_iter_t (start, step); } -} -HB_FUNCOBJ (hb_iota); - -template -struct hb_repeat_iter_t : - hb_iter_t, T> -{ - hb_repeat_iter_t (T value) : v (value) {} - - typedef T __item_t__; - static constexpr bool is_random_access_iterator = true; - static constexpr bool is_sorted_iterator = true; - __item_t__ __item__ () const { return v; } - __item_t__ __item_at__ (unsigned j) const { return v; } - bool __more__ () const { return true; } - unsigned __len__ () const { return UINT_MAX; } - void __next__ () {} - void __forward__ (unsigned) {} - void __prev__ () {} - void __rewind__ (unsigned) {} - hb_repeat_iter_t __end__ () const { return *this; } - bool operator != (const hb_repeat_iter_t& o) const { return true; } - - private: - T v; -}; -struct -{ - template hb_repeat_iter_t - operator () (T value) const - { return hb_repeat_iter_t (value); } -} -HB_FUNCOBJ (hb_repeat); - -/* hb_enumerate()/hb_take() */ - -struct -{ - template - auto operator () (Iterable&& it, Index start = 0u) const HB_AUTO_RETURN - ( hb_zip (hb_iota (start), it) ) -} -HB_FUNCOBJ (hb_enumerate); - -struct -{ HB_PARTIALIZE(2); - template - auto operator () (Iterable&& it, unsigned count) const HB_AUTO_RETURN - ( hb_zip (hb_range (count), it) | hb_map (hb_second) ) - - /* Specialization arrays. */ - - template inline hb_array_t - operator () (hb_array_t array, unsigned count) const - { return array.sub_array (0, count); } - - template inline hb_sorted_array_t - operator () (hb_sorted_array_t array, unsigned count) const - { return array.sub_array (0, count); } -} -HB_FUNCOBJ (hb_take); - -struct -{ HB_PARTIALIZE(2); - template - auto operator () (Iter it, unsigned count) const HB_AUTO_RETURN - ( - + hb_iota (it, hb_add (count)) - | hb_map (hb_take (count)) - | hb_take ((hb_len (it) + count - 1) / count) - ) -} -HB_FUNCOBJ (hb_chop); - -/* hb_sink() */ - -template -struct hb_sink_t -{ - hb_sink_t (Sink s) : s (s) {} - - template - void operator () (Iter it) - { - for (; it; ++it) - s << *it; - } - - private: - Sink s; -}; -struct -{ - template hb_sink_t - operator () (Sink&& s) const - { return hb_sink_t (s); } - - template hb_sink_t - operator () (Sink *s) const - { return hb_sink_t (*s); } -} -HB_FUNCOBJ (hb_sink); - -/* hb-drain: hb_sink to void / blackhole / /dev/null. */ - -struct -{ - template - void operator () (Iter it) const - { - for (; it; ++it) - (void) *it; - } -} -HB_FUNCOBJ (hb_drain); - -/* hb_unzip(): unzip and sink to two sinks. */ - -template -struct hb_unzip_t -{ - hb_unzip_t (Sink1 s1, Sink2 s2) : s1 (s1), s2 (s2) {} - - template - void operator () (Iter it) - { - for (; it; ++it) - { - const auto &v = *it; - s1 << v.first; - s2 << v.second; - } - } - - private: - Sink1 s1; - Sink2 s2; -}; -struct -{ - template hb_unzip_t - operator () (Sink1&& s1, Sink2&& s2) const - { return hb_unzip_t (s1, s2); } - - template hb_unzip_t - operator () (Sink1 *s1, Sink2 *s2) const - { return hb_unzip_t (*s1, *s2); } -} -HB_FUNCOBJ (hb_unzip); - - -/* hb-all, hb-any, hb-none. */ - -struct -{ - template - bool operator () (Iterable&& c, - Pred&& p = hb_identity, - Proj&& f = hb_identity) const - { - for (auto it = hb_iter (c); it; ++it) - if (!hb_match (std::forward (p), hb_get (std::forward (f), *it))) - return false; - return true; - } -} -HB_FUNCOBJ (hb_all); -struct -{ - template - bool operator () (Iterable&& c, - Pred&& p = hb_identity, - Proj&& f = hb_identity) const - { - for (auto it = hb_iter (c); it; ++it) - if (hb_match (std::forward (p), hb_get (std::forward (f), *it))) - return true; - return false; - } -} -HB_FUNCOBJ (hb_any); -struct -{ - template - bool operator () (Iterable&& c, - Pred&& p = hb_identity, - Proj&& f = hb_identity) const - { - for (auto it = hb_iter (c); it; ++it) - if (hb_match (std::forward (p), hb_get (std::forward (f), *it))) - return false; - return true; - } -} -HB_FUNCOBJ (hb_none); - -/* - * Algorithms operating on iterators. - */ - -template -inline void -hb_fill (C&& c, const V &v) -{ - for (auto i = hb_iter (c); i; i++) - *i = v; -} - -template -inline void -hb_copy (S&& is, D&& id) -{ - hb_iter (is) | hb_sink (id); -} - - -#endif /* HB_ITER_HH */ diff --git a/harfbuzz/src/hb-kern.hh b/harfbuzz/src/hb-kern.hh deleted file mode 100644 index 3f952fe..0000000 --- a/harfbuzz/src/hb-kern.hh +++ /dev/null @@ -1,138 +0,0 @@ -/* - * Copyright © 2017 Google, Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Google Author(s): Behdad Esfahbod - */ - -#ifndef HB_KERN_HH -#define HB_KERN_HH - -#include "hb-open-type.hh" -#include "hb-aat-layout-common.hh" -#include "hb-ot-layout-gpos-table.hh" - - -namespace OT { - - -template -struct hb_kern_machine_t -{ - hb_kern_machine_t (const Driver &driver_, - bool crossStream_ = false) : - driver (driver_), - crossStream (crossStream_) {} - - HB_NO_SANITIZE_SIGNED_INTEGER_OVERFLOW - void kern (hb_font_t *font, - hb_buffer_t *buffer, - hb_mask_t kern_mask, - bool scale = true) const - { - OT::hb_ot_apply_context_t c (1, font, buffer); - c.set_lookup_mask (kern_mask); - c.set_lookup_props (OT::LookupFlag::IgnoreMarks); - auto &skippy_iter = c.iter_input; - - bool horizontal = HB_DIRECTION_IS_HORIZONTAL (buffer->props.direction); - unsigned int count = buffer->len; - hb_glyph_info_t *info = buffer->info; - hb_glyph_position_t *pos = buffer->pos; - for (unsigned int idx = 0; idx < count;) - { - if (!(info[idx].mask & kern_mask)) - { - idx++; - continue; - } - - skippy_iter.reset (idx, 1); - if (!skippy_iter.next ()) - { - idx++; - continue; - } - - unsigned int i = idx; - unsigned int j = skippy_iter.idx; - - hb_position_t kern = driver.get_kerning (info[i].codepoint, - info[j].codepoint); - - - if (likely (!kern)) - goto skip; - - if (horizontal) - { - if (scale) - kern = font->em_scale_x (kern); - if (crossStream) - { - pos[j].y_offset = kern; - buffer->scratch_flags |= HB_BUFFER_SCRATCH_FLAG_HAS_GPOS_ATTACHMENT; - } - else - { - hb_position_t kern1 = kern >> 1; - hb_position_t kern2 = kern - kern1; - pos[i].x_advance += kern1; - pos[j].x_advance += kern2; - pos[j].x_offset += kern2; - } - } - else - { - if (scale) - kern = font->em_scale_y (kern); - if (crossStream) - { - pos[j].x_offset = kern; - buffer->scratch_flags |= HB_BUFFER_SCRATCH_FLAG_HAS_GPOS_ATTACHMENT; - } - else - { - hb_position_t kern1 = kern >> 1; - hb_position_t kern2 = kern - kern1; - pos[i].y_advance += kern1; - pos[j].y_advance += kern2; - pos[j].y_offset += kern2; - } - } - - buffer->unsafe_to_break (i, j + 1); - - skip: - idx = skippy_iter.idx; - } - } - - const Driver &driver; - bool crossStream; -}; - - -} /* namespace OT */ - - -#endif /* HB_KERN_HH */ diff --git a/harfbuzz/src/hb-machinery.hh b/harfbuzz/src/hb-machinery.hh deleted file mode 100644 index 010c257..0000000 --- a/harfbuzz/src/hb-machinery.hh +++ /dev/null @@ -1,312 +0,0 @@ -/* - * Copyright © 2007,2008,2009,2010 Red Hat, Inc. - * Copyright © 2012,2018 Google, Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Red Hat Author(s): Behdad Esfahbod - * Google Author(s): Behdad Esfahbod - */ - -#ifndef HB_MACHINERY_HH -#define HB_MACHINERY_HH - -#include "hb.hh" -#include "hb-blob.hh" - -#include "hb-dispatch.hh" -#include "hb-sanitize.hh" -#include "hb-serialize.hh" - - -/* - * Casts - */ - -/* StructAtOffset(P,Ofs) returns the struct T& that is placed at memory - * location pointed to by P plus Ofs bytes. */ -template -static inline const Type& StructAtOffset(const void *P, unsigned int offset) -{ return * reinterpret_cast ((const char *) P + offset); } -template -static inline Type& StructAtOffset(void *P, unsigned int offset) -{ return * reinterpret_cast ((char *) P + offset); } -template -static inline const Type& StructAtOffsetUnaligned(const void *P, unsigned int offset) -{ -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wcast-align" - return * reinterpret_cast ((const char *) P + offset); -#pragma GCC diagnostic pop -} -template -static inline Type& StructAtOffsetUnaligned(void *P, unsigned int offset) -{ -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wcast-align" - return * reinterpret_cast ((char *) P + offset); -#pragma GCC diagnostic pop -} - -/* StructAfter(X) returns the struct T& that is placed after X. - * Works with X of variable size also. X must implement get_size() */ -template -static inline const Type& StructAfter(const TObject &X) -{ return StructAtOffset(&X, X.get_size()); } -template -static inline Type& StructAfter(TObject &X) -{ return StructAtOffset(&X, X.get_size()); } - - -/* - * Size checking - */ - -/* Size signifying variable-sized array */ -#ifndef HB_VAR_ARRAY -#define HB_VAR_ARRAY 1 -#endif - -/* Check _assertion in a method environment */ -#define _DEFINE_INSTANCE_ASSERTION1(_line, _assertion) \ - void _instance_assertion_on_line_##_line () const \ - { static_assert ((_assertion), ""); } -# define _DEFINE_INSTANCE_ASSERTION0(_line, _assertion) _DEFINE_INSTANCE_ASSERTION1 (_line, _assertion) -# define DEFINE_INSTANCE_ASSERTION(_assertion) _DEFINE_INSTANCE_ASSERTION0 (__LINE__, _assertion) - -/* Check that _code compiles in a method environment */ -#define _DEFINE_COMPILES_ASSERTION1(_line, _code) \ - void _compiles_assertion_on_line_##_line () const \ - { _code; } -# define _DEFINE_COMPILES_ASSERTION0(_line, _code) _DEFINE_COMPILES_ASSERTION1 (_line, _code) -# define DEFINE_COMPILES_ASSERTION(_code) _DEFINE_COMPILES_ASSERTION0 (__LINE__, _code) - - -#define DEFINE_SIZE_STATIC(size) \ - DEFINE_INSTANCE_ASSERTION (sizeof (*this) == (size)) \ - unsigned int get_size () const { return (size); } \ - static constexpr unsigned null_size = (size); \ - static constexpr unsigned min_size = (size); \ - static constexpr unsigned static_size = (size) - -#define DEFINE_SIZE_UNION(size, _member) \ - DEFINE_COMPILES_ASSERTION ((void) this->u._member.static_size) \ - DEFINE_INSTANCE_ASSERTION (sizeof(this->u._member) == (size)) \ - static constexpr unsigned null_size = (size); \ - static constexpr unsigned min_size = (size) - -#define DEFINE_SIZE_MIN(size) \ - DEFINE_INSTANCE_ASSERTION (sizeof (*this) >= (size)) \ - static constexpr unsigned null_size = (size); \ - static constexpr unsigned min_size = (size) - -#define DEFINE_SIZE_UNBOUNDED(size) \ - DEFINE_INSTANCE_ASSERTION (sizeof (*this) >= (size)) \ - static constexpr unsigned min_size = (size) - -#define DEFINE_SIZE_ARRAY(size, array) \ - DEFINE_COMPILES_ASSERTION ((void) (array)[0].static_size) \ - DEFINE_INSTANCE_ASSERTION (sizeof (*this) == (size) + (HB_VAR_ARRAY+0) * sizeof ((array)[0])) \ - static constexpr unsigned null_size = (size); \ - static constexpr unsigned min_size = (size) - -#define DEFINE_SIZE_ARRAY_SIZED(size, array) \ - unsigned int get_size () const { return (size - (array).min_size + (array).get_size ()); } \ - DEFINE_SIZE_ARRAY(size, array) - - - -/* - * Lazy loaders. - */ - -template -struct hb_data_wrapper_t -{ - static_assert (WheresData > 0, ""); - - Data * get_data () const - { return *(((Data **) (void *) this) - WheresData); } - - bool is_inert () const { return !get_data (); } - - template - Stored * call_create () const { return Subclass::create (get_data ()); } -}; -template <> -struct hb_data_wrapper_t -{ - bool is_inert () const { return false; } - - template - Stored * call_create () const { return Funcs::create (); } -}; - -template struct hb_non_void_t { typedef T1 value; }; -template struct hb_non_void_t { typedef T2 value; }; - -template -struct hb_lazy_loader_t : hb_data_wrapper_t -{ - typedef typename hb_non_void_t - >::value Funcs; - - void init0 () {} /* Init, when memory is already set to 0. No-op for us. */ - void init () { instance.set_relaxed (nullptr); } - void fini () { do_destroy (instance.get ()); } - - void free_instance () - { - retry: - Stored *p = instance.get (); - if (unlikely (p && !cmpexch (p, nullptr))) - goto retry; - do_destroy (p); - } - - static void do_destroy (Stored *p) - { - if (p && p != const_cast (Funcs::get_null ())) - Funcs::destroy (p); - } - - const Returned * operator -> () const { return get (); } - const Returned & operator * () const { return *get (); } - explicit operator bool () const - { return get_stored () != Funcs::get_null (); } - template operator const C * () const { return get (); } - - Stored * get_stored () const - { - retry: - Stored *p = this->instance.get (); - if (unlikely (!p)) - { - if (unlikely (this->is_inert ())) - return const_cast (Funcs::get_null ()); - - p = this->template call_create (); - if (unlikely (!p)) - p = const_cast (Funcs::get_null ()); - - if (unlikely (!cmpexch (nullptr, p))) - { - do_destroy (p); - goto retry; - } - } - return p; - } - Stored * get_stored_relaxed () const - { - return this->instance.get_relaxed (); - } - - bool cmpexch (Stored *current, Stored *value) const - { - /* This *must* be called when there are no other threads accessing. */ - return this->instance.cmpexch (current, value); - } - - const Returned * get () const { return Funcs::convert (get_stored ()); } - const Returned * get_relaxed () const { return Funcs::convert (get_stored_relaxed ()); } - Returned * get_unconst () const { return const_cast (Funcs::convert (get_stored ())); } - - /* To be possibly overloaded by subclasses. */ - static Returned* convert (Stored *p) { return p; } - - /* By default null/init/fini the object. */ - static const Stored* get_null () { return &Null (Stored); } - static Stored *create (Data *data) - { - Stored *p = (Stored *) hb_calloc (1, sizeof (Stored)); - if (likely (p)) - p->init (data); - return p; - } - static Stored *create () - { - Stored *p = (Stored *) hb_calloc (1, sizeof (Stored)); - if (likely (p)) - p->init (); - return p; - } - static void destroy (Stored *p) - { - p->fini (); - hb_free (p); - } - -// private: - /* Must only have one pointer. */ - hb_atomic_ptr_t instance; -}; - -/* Specializations. */ - -template -struct hb_face_lazy_loader_t : hb_lazy_loader_t, - hb_face_t, WheresFace> {}; - -template -struct hb_table_lazy_loader_t : hb_lazy_loader_t, - hb_face_t, WheresFace, - hb_blob_t> -{ - static hb_blob_t *create (hb_face_t *face) - { return hb_sanitize_context_t ().reference_table (face); } - static void destroy (hb_blob_t *p) { hb_blob_destroy (p); } - - static const hb_blob_t *get_null () - { return hb_blob_get_empty (); } - - static const T* convert (const hb_blob_t *blob) - { return blob->as (); } - - hb_blob_t* get_blob () const { return this->get_stored (); } -}; - -template -struct hb_font_funcs_lazy_loader_t : hb_lazy_loader_t -{ - static void destroy (hb_font_funcs_t *p) - { hb_font_funcs_destroy (p); } - static const hb_font_funcs_t *get_null () - { return hb_font_funcs_get_empty (); } -}; -template -struct hb_unicode_funcs_lazy_loader_t : hb_lazy_loader_t -{ - static void destroy (hb_unicode_funcs_t *p) - { hb_unicode_funcs_destroy (p); } - static const hb_unicode_funcs_t *get_null () - { return hb_unicode_funcs_get_empty (); } -}; - - -#endif /* HB_MACHINERY_HH */ diff --git a/harfbuzz/src/hb-map.cc b/harfbuzz/src/hb-map.cc deleted file mode 100644 index 9f1ac42..0000000 --- a/harfbuzz/src/hb-map.cc +++ /dev/null @@ -1,291 +0,0 @@ -/* - * Copyright © 2018 Google, Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Google Author(s): Behdad Esfahbod - */ - -#include "hb-map.hh" - - -/** - * SECTION:hb-map - * @title: hb-map - * @short_description: Object representing integer to integer mapping - * @include: hb.h - * - * Map objects are integer-to-integer hash-maps. Currently they are - * not used in the HarfBuzz public API, but are provided for client's - * use if desired. - **/ - - -/** - * hb_map_create: (Xconstructor) - * - * Creates a new, initially empty map. - * - * Return value: (transfer full): The new #hb_map_t - * - * Since: 1.7.7 - **/ -hb_map_t * -hb_map_create () -{ - hb_map_t *map; - - if (!(map = hb_object_create ())) - return hb_map_get_empty (); - - map->init_shallow (); - - return map; -} - -/** - * hb_map_get_empty: - * - * Fetches the singleton empty #hb_map_t. - * - * Return value: (transfer full): The empty #hb_map_t - * - * Since: 1.7.7 - **/ -hb_map_t * -hb_map_get_empty () -{ - return const_cast (&Null (hb_map_t)); -} - -/** - * hb_map_reference: (skip) - * @map: A map - * - * Increases the reference count on a map. - * - * Return value: (transfer full): The map - * - * Since: 1.7.7 - **/ -hb_map_t * -hb_map_reference (hb_map_t *map) -{ - return hb_object_reference (map); -} - -/** - * hb_map_destroy: (skip) - * @map: A map - * - * Decreases the reference count on a map. When - * the reference count reaches zero, the map is - * destroyed, freeing all memory. - * - * Since: 1.7.7 - **/ -void -hb_map_destroy (hb_map_t *map) -{ - if (!hb_object_destroy (map)) return; - - map->fini_shallow (); - - hb_free (map); -} - -/** - * hb_map_set_user_data: (skip) - * @map: A map - * @key: The user-data key to set - * @data: A pointer to the user data to set - * @destroy: (nullable): A callback to call when @data is not needed anymore - * @replace: Whether to replace an existing data with the same key - * - * Attaches a user-data key/data pair to the specified map. - * - * Return value: %true if success, %false otherwise - * - * Since: 1.7.7 - **/ -hb_bool_t -hb_map_set_user_data (hb_map_t *map, - hb_user_data_key_t *key, - void * data, - hb_destroy_func_t destroy, - hb_bool_t replace) -{ - return hb_object_set_user_data (map, key, data, destroy, replace); -} - -/** - * hb_map_get_user_data: (skip) - * @map: A map - * @key: The user-data key to query - * - * Fetches the user data associated with the specified key, - * attached to the specified map. - * - * Return value: (transfer none): A pointer to the user data - * - * Since: 1.7.7 - **/ -void * -hb_map_get_user_data (hb_map_t *map, - hb_user_data_key_t *key) -{ - return hb_object_get_user_data (map, key); -} - - -/** - * hb_map_allocation_successful: - * @map: A map - * - * Tests whether memory allocation for a set was successful. - * - * Return value: %true if allocation succeeded, %false otherwise - * - * Since: 1.7.7 - **/ -hb_bool_t -hb_map_allocation_successful (const hb_map_t *map) -{ - return map->successful; -} - - -/** - * hb_map_set: - * @map: A map - * @key: The key to store in the map - * @value: The value to store for @key - * - * Stores @key:@value in the map. - * - * Since: 1.7.7 - **/ -void -hb_map_set (hb_map_t *map, - hb_codepoint_t key, - hb_codepoint_t value) -{ - /* Immutable-safe. */ - map->set (key, value); -} - -/** - * hb_map_get: - * @map: A map - * @key: The key to query - * - * Fetches the value stored for @key in @map. - * - * Since: 1.7.7 - **/ -hb_codepoint_t -hb_map_get (const hb_map_t *map, - hb_codepoint_t key) -{ - return map->get (key); -} - -/** - * hb_map_del: - * @map: A map - * @key: The key to delete - * - * Removes @key and its stored value from @map. - * - * Since: 1.7.7 - **/ -void -hb_map_del (hb_map_t *map, - hb_codepoint_t key) -{ - /* Immutable-safe. */ - map->del (key); -} - -/** - * hb_map_has: - * @map: A map - * @key: The key to query - * - * Tests whether @key is an element of @map. - * - * Return value: %true if @key is found in @map, %false otherwise - * - * Since: 1.7.7 - **/ -hb_bool_t -hb_map_has (const hb_map_t *map, - hb_codepoint_t key) -{ - return map->has (key); -} - - -/** - * hb_map_clear: - * @map: A map - * - * Clears out the contents of @map. - * - * Since: 1.7.7 - **/ -void -hb_map_clear (hb_map_t *map) -{ - return map->clear (); -} - -/** - * hb_map_is_empty: - * @map: A map - * - * Tests whether @map is empty (contains no elements). - * - * Return value: %true if @map is empty - * - * Since: 1.7.7 - **/ -hb_bool_t -hb_map_is_empty (const hb_map_t *map) -{ - return map->is_empty (); -} - -/** - * hb_map_get_population: - * @map: A map - * - * Returns the number of key-value pairs in the map. - * - * Return value: The population of @map - * - * Since: 1.7.7 - **/ -unsigned int -hb_map_get_population (const hb_map_t *map) -{ - return map->get_population (); -} diff --git a/harfbuzz/src/hb-map.h b/harfbuzz/src/hb-map.h deleted file mode 100644 index 6a45a7b..0000000 --- a/harfbuzz/src/hb-map.h +++ /dev/null @@ -1,114 +0,0 @@ -/* - * Copyright © 2018 Google, Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Google Author(s): Behdad Esfahbod - */ - -#if !defined(HB_H_IN) && !defined(HB_NO_SINGLE_HEADER_ERROR) -#error "Include instead." -#endif - -#ifndef HB_MAP_H -#define HB_MAP_H - -#include "hb-common.h" - -HB_BEGIN_DECLS - - -/** - * HB_MAP_VALUE_INVALID: - * - * Unset #hb_map_t value. - * - * Since: 1.7.7 - */ -#define HB_MAP_VALUE_INVALID ((hb_codepoint_t) -1) - -/** - * hb_map_t: - * - * Data type for holding integer-to-integer hash maps. - * - **/ -typedef struct hb_map_t hb_map_t; - - -HB_EXTERN hb_map_t * -hb_map_create (void); - -HB_EXTERN hb_map_t * -hb_map_get_empty (void); - -HB_EXTERN hb_map_t * -hb_map_reference (hb_map_t *map); - -HB_EXTERN void -hb_map_destroy (hb_map_t *map); - -HB_EXTERN hb_bool_t -hb_map_set_user_data (hb_map_t *map, - hb_user_data_key_t *key, - void * data, - hb_destroy_func_t destroy, - hb_bool_t replace); - -HB_EXTERN void * -hb_map_get_user_data (hb_map_t *map, - hb_user_data_key_t *key); - - -/* Returns false if allocation has failed before */ -HB_EXTERN hb_bool_t -hb_map_allocation_successful (const hb_map_t *map); - -HB_EXTERN void -hb_map_clear (hb_map_t *map); - -HB_EXTERN hb_bool_t -hb_map_is_empty (const hb_map_t *map); - -HB_EXTERN unsigned int -hb_map_get_population (const hb_map_t *map); - -HB_EXTERN void -hb_map_set (hb_map_t *map, - hb_codepoint_t key, - hb_codepoint_t value); - -HB_EXTERN hb_codepoint_t -hb_map_get (const hb_map_t *map, - hb_codepoint_t key); - -HB_EXTERN void -hb_map_del (hb_map_t *map, - hb_codepoint_t key); - -HB_EXTERN hb_bool_t -hb_map_has (const hb_map_t *map, - hb_codepoint_t key); - - -HB_END_DECLS - -#endif /* HB_MAP_H */ diff --git a/harfbuzz/src/hb-map.hh b/harfbuzz/src/hb-map.hh deleted file mode 100644 index 793dcf2..0000000 --- a/harfbuzz/src/hb-map.hh +++ /dev/null @@ -1,378 +0,0 @@ -/* - * Copyright © 2018 Google, Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Google Author(s): Behdad Esfahbod - */ - -#ifndef HB_MAP_HH -#define HB_MAP_HH - -#include "hb.hh" - - -/* - * hb_hashmap_t - */ - -template ::value ? hb_int_min (K) : (K) -1, - v_invalid_t vINVALID = hb_is_pointer (V) ? 0 : std::is_signed::value ? hb_int_min (V) : (V) -1> -struct hb_hashmap_t -{ - static constexpr K INVALID_KEY = kINVALID; - static constexpr V INVALID_VALUE = vINVALID; - - hb_hashmap_t () { init (); } - ~hb_hashmap_t () { fini (); } - - hb_hashmap_t (const hb_hashmap_t& o) : hb_hashmap_t () { hb_copy (o, *this); } - hb_hashmap_t (hb_hashmap_t&& o) : hb_hashmap_t () { hb_swap (*this, o); } - hb_hashmap_t& operator= (const hb_hashmap_t& o) { hb_copy (o, *this); return *this; } - hb_hashmap_t& operator= (hb_hashmap_t&& o) { hb_swap (*this, o); return *this; } - - hb_hashmap_t (std::initializer_list> lst) : hb_hashmap_t () - { - for (auto&& item : lst) - set (item.first, item.second); - } - template - hb_hashmap_t (const Iterable &o) : hb_hashmap_t () - { - hb_copy (o, *this); - } - - static_assert (std::is_trivially_copyable::value, ""); - static_assert (std::is_trivially_copyable::value, ""); - static_assert (std::is_trivially_destructible::value, ""); - static_assert (std::is_trivially_destructible::value, ""); - - struct item_t - { - K key; - V value; - uint32_t hash; - - void clear () { key = kINVALID; value = vINVALID; hash = 0; } - - bool operator == (const K &o) { return hb_deref (key) == hb_deref (o); } - bool operator == (const item_t &o) { return *this == o.key; } - bool is_unused () const { return key == kINVALID; } - bool is_tombstone () const { return key != kINVALID && value == vINVALID; } - bool is_real () const { return key != kINVALID && value != vINVALID; } - hb_pair_t get_pair() const { return hb_pair_t (key, value); } - }; - - hb_object_header_t header; - bool successful; /* Allocations successful */ - unsigned int population; /* Not including tombstones. */ - unsigned int occupancy; /* Including tombstones. */ - unsigned int mask; - unsigned int prime; - item_t *items; - - friend void swap (hb_hashmap_t& a, hb_hashmap_t& b) - { - if (unlikely (!a.successful || !b.successful)) - return; - hb_swap (a.population, b.population); - hb_swap (a.occupancy, b.occupancy); - hb_swap (a.mask, b.mask); - hb_swap (a.prime, b.prime); - hb_swap (a.items, b.items); - } - void init_shallow () - { - successful = true; - population = occupancy = 0; - mask = 0; - prime = 0; - items = nullptr; - } - void init () - { - hb_object_init (this); - init_shallow (); - } - void fini_shallow () - { - hb_free (items); - items = nullptr; - population = occupancy = 0; - } - void fini () - { - hb_object_fini (this); - fini_shallow (); - } - - void reset () - { - successful = true; - clear (); - } - - bool in_error () const { return !successful; } - - bool resize () - { - if (unlikely (!successful)) return false; - - unsigned int power = hb_bit_storage (population * 2 + 8); - unsigned int new_size = 1u << power; - item_t *new_items = (item_t *) hb_malloc ((size_t) new_size * sizeof (item_t)); - if (unlikely (!new_items)) - { - successful = false; - return false; - } - for (auto &_ : hb_iter (new_items, new_size)) - _.clear (); - - unsigned int old_size = mask + 1; - item_t *old_items = items; - - /* Switch to new, empty, array. */ - population = occupancy = 0; - mask = new_size - 1; - prime = prime_for (power); - items = new_items; - - /* Insert back old items. */ - if (old_items) - for (unsigned int i = 0; i < old_size; i++) - if (old_items[i].is_real ()) - set_with_hash (old_items[i].key, - old_items[i].hash, - std::move (old_items[i].value)); - - hb_free (old_items); - - return true; - } - - bool set (K key, const V& value) { return set_with_hash (key, hb_hash (key), value); } - bool set (K key, V&& value) { return set_with_hash (key, hb_hash (key), std::move (value)); } - - V get (K key) const - { - if (unlikely (!items)) return vINVALID; - unsigned int i = bucket_for (key); - return items[i].is_real () && items[i] == key ? items[i].value : vINVALID; - } - - void del (K key) { set (key, vINVALID); } - - /* Has interface. */ - static constexpr V SENTINEL = vINVALID; - typedef V value_t; - value_t operator [] (K k) const { return get (k); } - bool has (K k, V *vp = nullptr) const - { - V v = (*this)[k]; - if (vp) *vp = v; - return v != SENTINEL; - } - /* Projection. */ - V operator () (K k) const { return get (k); } - - void clear () - { - if (unlikely (!successful)) return; - - if (items) - for (auto &_ : hb_iter (items, mask + 1)) - _.clear (); - - population = occupancy = 0; - } - - bool is_empty () const { return population == 0; } - explicit operator bool () const { return !is_empty (); } - - unsigned int get_population () const { return population; } - - /* - * Iterator - */ - auto iter () const HB_AUTO_RETURN - ( - + hb_array (items, mask ? mask + 1 : 0) - | hb_filter (&item_t::is_real) - | hb_map (&item_t::get_pair) - ) - auto keys () const HB_AUTO_RETURN - ( - + hb_array (items, mask ? mask + 1 : 0) - | hb_filter (&item_t::is_real) - | hb_map (&item_t::key) - | hb_map (hb_ridentity) - ) - auto values () const HB_AUTO_RETURN - ( - + hb_array (items, mask ? mask + 1 : 0) - | hb_filter (&item_t::is_real) - | hb_map (&item_t::value) - | hb_map (hb_ridentity) - ) - - /* Sink interface. */ - hb_hashmap_t& operator << (const hb_pair_t& v) - { set (v.first, v.second); return *this; } - - protected: - - template - bool set_with_hash (K key, uint32_t hash, VV&& value) - { - if (unlikely (!successful)) return false; - if (unlikely (key == kINVALID)) return true; - if (unlikely ((occupancy + occupancy / 2) >= mask && !resize ())) return false; - unsigned int i = bucket_for_hash (key, hash); - - if (value == vINVALID && items[i].key != key) - return true; /* Trying to delete non-existent key. */ - - if (!items[i].is_unused ()) - { - occupancy--; - if (!items[i].is_tombstone ()) - population--; - } - - items[i].key = key; - items[i].value = value; - items[i].hash = hash; - - occupancy++; - if (!items[i].is_tombstone ()) - population++; - - return true; - } - - unsigned int bucket_for (K key) const - { - return bucket_for_hash (key, hb_hash (key)); - } - - unsigned int bucket_for_hash (K key, uint32_t hash) const - { - unsigned int i = hash % prime; - unsigned int step = 0; - unsigned int tombstone = (unsigned) -1; - while (!items[i].is_unused ()) - { - if (items[i].hash == hash && items[i] == key) - return i; - if (tombstone == (unsigned) -1 && items[i].is_tombstone ()) - tombstone = i; - i = (i + ++step) & mask; - } - return tombstone == (unsigned) -1 ? i : tombstone; - } - - static unsigned int prime_for (unsigned int shift) - { - /* Following comment and table copied from glib. */ - /* Each table size has an associated prime modulo (the first prime - * lower than the table size) used to find the initial bucket. Probing - * then works modulo 2^n. The prime modulo is necessary to get a - * good distribution with poor hash functions. - */ - /* Not declaring static to make all kinds of compilers happy... */ - /*static*/ const unsigned int prime_mod [32] = - { - 1, /* For 1 << 0 */ - 2, - 3, - 7, - 13, - 31, - 61, - 127, - 251, - 509, - 1021, - 2039, - 4093, - 8191, - 16381, - 32749, - 65521, /* For 1 << 16 */ - 131071, - 262139, - 524287, - 1048573, - 2097143, - 4194301, - 8388593, - 16777213, - 33554393, - 67108859, - 134217689, - 268435399, - 536870909, - 1073741789, - 2147483647 /* For 1 << 31 */ - }; - - if (unlikely (shift >= ARRAY_LENGTH (prime_mod))) - return prime_mod[ARRAY_LENGTH (prime_mod) - 1]; - - return prime_mod[shift]; - } -}; - -/* - * hb_map_t - */ - -struct hb_map_t : hb_hashmap_t -{ - using hashmap = hb_hashmap_t; - - hb_map_t () = default; - ~hb_map_t () = default; - hb_map_t (hb_map_t&) = default; - hb_map_t& operator= (const hb_map_t&) = default; - hb_map_t& operator= (hb_map_t&&) = default; - hb_map_t (std::initializer_list> lst) : hashmap (lst) {} - template - hb_map_t (const Iterable &o) : hashmap (o) {} -}; - -#endif /* HB_MAP_HH */ diff --git a/harfbuzz/src/hb-meta.hh b/harfbuzz/src/hb-meta.hh deleted file mode 100644 index 0ea5774..0000000 --- a/harfbuzz/src/hb-meta.hh +++ /dev/null @@ -1,241 +0,0 @@ -/* - * Copyright © 2018 Google, Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Google Author(s): Behdad Esfahbod - */ - -#ifndef HB_META_HH -#define HB_META_HH - -#include "hb.hh" - -#include -#include - - -/* - * C++ template meta-programming & fundamentals used with them. - */ - -/* Void! For when we need a expression-type of void. */ -struct hb_empty_t {}; - -/* https://en.cppreference.com/w/cpp/types/void_t */ -template struct _hb_void_t { typedef void type; }; -template using hb_void_t = typename _hb_void_t::type; - -template struct _hb_head_t { typedef Head type; }; -template using hb_head_t = typename _hb_head_t::type; - -template struct hb_integral_constant { static constexpr T value = v; }; -template using hb_bool_constant = hb_integral_constant; -using hb_true_type = hb_bool_constant; -using hb_false_type = hb_bool_constant; - -/* Static-assert as expression. */ -template struct static_assert_expr; -template <> struct static_assert_expr : hb_false_type {}; -#define static_assert_expr(C) static_assert_expr::value - -/* Basic type SFINAE. */ - -template struct hb_enable_if {}; -template struct hb_enable_if { typedef T type; }; -#define hb_enable_if(Cond) typename hb_enable_if<(Cond)>::type* = nullptr -/* Concepts/Requires alias: */ -#define hb_requires(Cond) hb_enable_if((Cond)) - -template struct hb_is_same : hb_false_type {}; -template struct hb_is_same : hb_true_type {}; -#define hb_is_same(T, T2) hb_is_same::value - -/* Function overloading SFINAE and priority. */ - -#define HB_RETURN(Ret, E) -> hb_head_t { return (E); } -#define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } -#define HB_VOID_RETURN(E) -> hb_void_t { (E); } - -template struct hb_priority : hb_priority {}; -template <> struct hb_priority<0> {}; -#define hb_prioritize hb_priority<16> () - -#define HB_FUNCOBJ(x) static_const x HB_UNUSED - - -template struct hb_type_identity_t { typedef T type; }; -template using hb_type_identity = typename hb_type_identity_t::type; - -struct -{ - template constexpr T* - operator () (T& arg) const - { -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wcast-align" - /* https://en.cppreference.com/w/cpp/memory/addressof */ - return reinterpret_cast ( - &const_cast ( - reinterpret_cast (arg))); -#pragma GCC diagnostic pop - } -} -HB_FUNCOBJ (hb_addressof); - -template static inline T hb_declval (); -#define hb_declval(T) (hb_declval ()) - -template struct hb_match_const : hb_type_identity_t, hb_false_type {}; -template struct hb_match_const : hb_type_identity_t, hb_true_type {}; -template using hb_remove_const = typename hb_match_const::type; -template using hb_add_const = const T; -#define hb_is_const(T) hb_match_const::value -template struct hb_match_reference : hb_type_identity_t, hb_false_type {}; -template struct hb_match_reference : hb_type_identity_t, hb_true_type {}; -template struct hb_match_reference : hb_type_identity_t, hb_true_type {}; -template using hb_remove_reference = typename hb_match_reference::type; -template auto _hb_try_add_lvalue_reference (hb_priority<1>) -> hb_type_identity; -template auto _hb_try_add_lvalue_reference (hb_priority<0>) -> hb_type_identity; -template using hb_add_lvalue_reference = decltype (_hb_try_add_lvalue_reference (hb_prioritize)); -template auto _hb_try_add_rvalue_reference (hb_priority<1>) -> hb_type_identity; -template auto _hb_try_add_rvalue_reference (hb_priority<0>) -> hb_type_identity; -template using hb_add_rvalue_reference = decltype (_hb_try_add_rvalue_reference (hb_prioritize)); -#define hb_is_reference(T) hb_match_reference::value -template struct hb_match_pointer : hb_type_identity_t, hb_false_type {}; -template struct hb_match_pointer : hb_type_identity_t, hb_true_type {}; -template using hb_remove_pointer = typename hb_match_pointer::type; -template auto _hb_try_add_pointer (hb_priority<1>) -> hb_type_identity*>; -template auto _hb_try_add_pointer (hb_priority<1>) -> hb_type_identity; -template using hb_add_pointer = decltype (_hb_try_add_pointer (hb_prioritize)); -#define hb_is_pointer(T) hb_match_pointer::value - - -/* TODO Add feature-parity to std::decay. */ -template using hb_decay = hb_remove_const>; - -#define hb_is_convertible(From,To) std::is_convertible::value - -template -using hb_is_cr_convertible = hb_bool_constant< - hb_is_same (hb_decay, hb_decay) && - (!hb_is_const (From) || hb_is_const (To)) && - (!hb_is_reference (To) || hb_is_const (To) || hb_is_reference (To)) ->; -#define hb_is_cr_convertible(From,To) hb_is_cr_convertible::value - - -struct -{ - template constexpr auto - operator () (T&& v) const HB_AUTO_RETURN (std::forward (v)) - - template constexpr auto - operator () (T *v) const HB_AUTO_RETURN (*v) -} -HB_FUNCOBJ (hb_deref); - -struct -{ - template constexpr auto - operator () (T&& v) const HB_AUTO_RETURN (std::forward (v)) - - template constexpr auto - operator () (T& v) const HB_AUTO_RETURN (hb_addressof (v)) -} -HB_FUNCOBJ (hb_ref); - -template -struct hb_reference_wrapper -{ - hb_reference_wrapper (T v) : v (v) {} - bool operator == (const hb_reference_wrapper& o) const { return v == o.v; } - bool operator != (const hb_reference_wrapper& o) const { return v != o.v; } - operator T () const { return v; } - T get () const { return v; } - T v; -}; -template -struct hb_reference_wrapper -{ - hb_reference_wrapper (T& v) : v (hb_addressof (v)) {} - bool operator == (const hb_reference_wrapper& o) const { return v == o.v; } - bool operator != (const hb_reference_wrapper& o) const { return v != o.v; } - operator T& () const { return *v; } - T& get () const { return *v; } - T* v; -}; - - -/* Type traits */ - -template struct hb_int_min; -template <> struct hb_int_min : hb_integral_constant {}; -template <> struct hb_int_min : hb_integral_constant {}; -template <> struct hb_int_min : hb_integral_constant {}; -template <> struct hb_int_min : hb_integral_constant {}; -template <> struct hb_int_min : hb_integral_constant {}; -template <> struct hb_int_min : hb_integral_constant {}; -template <> struct hb_int_min : hb_integral_constant {}; -template <> struct hb_int_min : hb_integral_constant {}; -template <> struct hb_int_min : hb_integral_constant {}; -template <> struct hb_int_min : hb_integral_constant {}; -template <> struct hb_int_min : hb_integral_constant {}; -template struct hb_int_min : hb_integral_constant {}; -#define hb_int_min(T) hb_int_min::value -template struct hb_int_max; -template <> struct hb_int_max : hb_integral_constant {}; -template <> struct hb_int_max : hb_integral_constant {}; -template <> struct hb_int_max : hb_integral_constant {}; -template <> struct hb_int_max : hb_integral_constant {}; -template <> struct hb_int_max : hb_integral_constant {}; -template <> struct hb_int_max : hb_integral_constant {}; -template <> struct hb_int_max : hb_integral_constant {}; -template <> struct hb_int_max : hb_integral_constant {}; -template <> struct hb_int_max : hb_integral_constant {}; -template <> struct hb_int_max : hb_integral_constant {}; -template <> struct hb_int_max : hb_integral_constant {}; -#define hb_int_max(T) hb_int_max::value - - -/* Class traits. */ - -#define HB_DELETE_COPY_ASSIGN(TypeName) \ - TypeName(const TypeName&) = delete; \ - void operator=(const TypeName&) = delete -#define HB_DELETE_CREATE_COPY_ASSIGN(TypeName) \ - TypeName() = delete; \ - TypeName(const TypeName&) = delete; \ - void operator=(const TypeName&) = delete - -/* hb_unwrap_type (T) - * If T has no T::type, returns T. Otherwise calls itself on T::type recursively. - */ - -template -struct _hb_unwrap_type : hb_type_identity_t {}; -template -struct _hb_unwrap_type> : _hb_unwrap_type {}; -template -using hb_unwrap_type = _hb_unwrap_type; -#define hb_unwrap_type(T) typename hb_unwrap_type::type - -#endif /* HB_META_HH */ diff --git a/harfbuzz/src/hb-ms-feature-ranges.cc b/harfbuzz/src/hb-ms-feature-ranges.cc deleted file mode 100644 index 6d09b25..0000000 --- a/harfbuzz/src/hb-ms-feature-ranges.cc +++ /dev/null @@ -1,177 +0,0 @@ -/* - * Copyright © 2011,2012,2013 Google, Inc. - * Copyright © 2021 Khaled Hosny - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Google Author(s): Behdad Esfahbod - */ - -#include "hb-ms-feature-ranges.hh" - -bool -hb_ms_setup_features (const hb_feature_t *features, - unsigned int num_features, - hb_vector_t &feature_records, /* OUT */ - hb_vector_t &range_records /* OUT */) -{ - feature_records.shrink(0); - range_records.shrink(0); - - /* Sort features by start/end events. */ - hb_vector_t feature_events; - for (unsigned int i = 0; i < num_features; i++) - { - hb_ms_active_feature_t feature; - feature.fea.tag_le = hb_uint32_swap (features[i].tag); - feature.fea.value = features[i].value; - feature.order = i; - - hb_ms_feature_event_t *event; - - event = feature_events.push (); - event->index = features[i].start; - event->start = true; - event->feature = feature; - - event = feature_events.push (); - event->index = features[i].end; - event->start = false; - event->feature = feature; - } - feature_events.qsort (); - /* Add a strategic final event. */ - { - hb_ms_active_feature_t feature; - feature.fea.tag_le = 0; - feature.fea.value = 0; - feature.order = num_features + 1; - - auto *event = feature_events.push (); - event->index = 0; /* This value does magic. */ - event->start = false; - event->feature = feature; - } - - /* Scan events and save features for each range. */ - hb_vector_t active_features; - unsigned int last_index = 0; - for (unsigned int i = 0; i < feature_events.length; i++) - { - auto *event = &feature_events[i]; - - if (event->index != last_index) - { - /* Save a snapshot of active features and the range. */ - auto *range = range_records.push (); - auto offset = feature_records.length; - - active_features.qsort (); - for (unsigned int j = 0; j < active_features.length; j++) - { - if (!j || active_features[j].fea.tag_le != feature_records[feature_records.length - 1].tag_le) - { - feature_records.push (active_features[j].fea); - } - else - { - /* Overrides value for existing feature. */ - feature_records[feature_records.length - 1].value = active_features[j].fea.value; - } - } - - /* Will convert to pointer after all is ready, since feature_records.array - * may move as we grow it. */ - range->features.features = reinterpret_cast (offset); - range->features.num_features = feature_records.length - offset; - range->index_first = last_index; - range->index_last = event->index - 1; - - last_index = event->index; - } - - if (event->start) - { - active_features.push (event->feature); - } - else - { - auto *feature = active_features.find (&event->feature); - if (feature) - active_features.remove (feature - active_features.arrayZ); - } - } - - if (!range_records.length) /* No active feature found. */ - num_features = 0; - - /* Fixup the pointers. */ - for (unsigned int i = 0; i < range_records.length; i++) - { - auto *range = &range_records[i]; - range->features.features = (hb_ms_feature_t *) feature_records + reinterpret_cast (range->features.features); - } - - return !!num_features; -} - -void -hb_ms_make_feature_ranges (hb_vector_t &feature_records, - hb_vector_t &range_records, - unsigned int chars_offset, - unsigned int chars_len, - uint16_t *log_clusters, - hb_vector_t &range_features, /* OUT */ - hb_vector_t &range_counts /* OUT */) -{ - range_features.shrink (0); - range_counts.shrink (0); - - auto *last_range = &range_records[0]; - for (unsigned int i = chars_offset; i < chars_len; i++) - { - auto *range = last_range; - while (log_clusters[i] < range->index_first) - range--; - while (log_clusters[i] > range->index_last) - range++; - if (!range_features.length || - &range->features != range_features[range_features.length - 1]) - { - auto **features = range_features.push (); - auto *c = range_counts.push (); - if (unlikely (!features || !c)) - { - range_features.shrink (0); - range_counts.shrink (0); - break; - } - *features = &range->features; - *c = 1; - } - else - { - range_counts[range_counts.length - 1]++; - } - - last_range = range; - } -} diff --git a/harfbuzz/src/hb-ms-feature-ranges.hh b/harfbuzz/src/hb-ms-feature-ranges.hh deleted file mode 100644 index 401d1e1..0000000 --- a/harfbuzz/src/hb-ms-feature-ranges.hh +++ /dev/null @@ -1,96 +0,0 @@ -/* - * Copyright © 2011,2012,2013 Google, Inc. - * Copyright © 2021 Khaled Hosny - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Google Author(s): Behdad Esfahbod - */ - -#ifndef HB_MS_FEATURE_RANGES_HH -#define HB_MS_FEATURE_RANGES_HH - -#include "hb.hh" - -typedef struct hb_ms_feature_t { - uint32_t tag_le; - uint32_t value; -} hb_ms_feature_t; - -typedef struct hb_ms_features_t { - hb_ms_feature_t *features; - uint32_t num_features; -} hb_ms_features_t; - -struct hb_ms_active_feature_t { - hb_ms_feature_t fea; - unsigned int order; - - HB_INTERNAL static int cmp (const void *pa, const void *pb) { - const auto *a = (const hb_ms_active_feature_t *) pa; - const auto *b = (const hb_ms_active_feature_t *) pb; - return a->fea.tag_le < b->fea.tag_le ? -1 : a->fea.tag_le > b->fea.tag_le ? 1 : - a->order < b->order ? -1 : a->order > b->order ? 1 : - a->fea.value < b->fea.value ? -1 : a->fea.value > b->fea.value ? 1 : - 0; - } - bool operator== (const hb_ms_active_feature_t *f) - { return cmp (this, f) == 0; } -}; - -struct hb_ms_feature_event_t { - unsigned int index; - bool start; - hb_ms_active_feature_t feature; - - HB_INTERNAL static int cmp (const void *pa, const void *pb) - { - const auto *a = (const hb_ms_feature_event_t *) pa; - const auto *b = (const hb_ms_feature_event_t *) pb; - return a->index < b->index ? -1 : a->index > b->index ? 1 : - a->start < b->start ? -1 : a->start > b->start ? 1 : - hb_ms_active_feature_t::cmp (&a->feature, &b->feature); - } -}; - -struct hb_ms_range_record_t { - hb_ms_features_t features; - unsigned int index_first; /* == start */ - unsigned int index_last; /* == end - 1 */ -}; - -HB_INTERNAL bool -hb_ms_setup_features (const hb_feature_t *features, - unsigned int num_features, - hb_vector_t &feature_records, /* OUT */ - hb_vector_t &range_records /* OUT */); - - -HB_INTERNAL void -hb_ms_make_feature_ranges (hb_vector_t &feature_records, - hb_vector_t &range_records, - unsigned int chars_offset, - unsigned int chars_len, - uint16_t *log_clusters, - hb_vector_t &range_features, /* OUT */ - hb_vector_t &range_counts /* OUT */); - -#endif /* HB_MS_FEATURE_RANGES_HH */ diff --git a/harfbuzz/src/hb-mutex.hh b/harfbuzz/src/hb-mutex.hh deleted file mode 100644 index 6914b22..0000000 --- a/harfbuzz/src/hb-mutex.hh +++ /dev/null @@ -1,118 +0,0 @@ -/* - * Copyright © 2007 Chris Wilson - * Copyright © 2009,2010 Red Hat, Inc. - * Copyright © 2011,2012 Google, Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Contributor(s): - * Chris Wilson - * Red Hat Author(s): Behdad Esfahbod - * Google Author(s): Behdad Esfahbod - */ - -#ifndef HB_MUTEX_HH -#define HB_MUTEX_HH - -#include "hb.hh" - - -/* mutex */ - -/* We need external help for these */ - -#if defined(hb_mutex_impl_init) \ - && defined(hb_mutex_impl_lock) \ - && defined(hb_mutex_impl_unlock) \ - && defined(hb_mutex_impl_finish) - -/* Defined externally, i.e. in config.h; must have typedef'ed hb_mutex_impl_t as well. */ - - -#elif !defined(HB_NO_MT) && !defined(HB_MUTEX_IMPL_STD_MUTEX) && (defined(HAVE_PTHREAD) || defined(__APPLE__)) - -#include -typedef pthread_mutex_t hb_mutex_impl_t; -#define hb_mutex_impl_init(M) pthread_mutex_init (M, nullptr) -#define hb_mutex_impl_lock(M) pthread_mutex_lock (M) -#define hb_mutex_impl_unlock(M) pthread_mutex_unlock (M) -#define hb_mutex_impl_finish(M) pthread_mutex_destroy (M) - - -#elif !defined(HB_NO_MT) && !defined(HB_MUTEX_IMPL_STD_MUTEX) && defined(_WIN32) - -typedef CRITICAL_SECTION hb_mutex_impl_t; -#if !WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) -#define hb_mutex_impl_init(M) InitializeCriticalSectionEx (M, 0, 0) -#else -#define hb_mutex_impl_init(M) InitializeCriticalSection (M) -#endif -#define hb_mutex_impl_lock(M) EnterCriticalSection (M) -#define hb_mutex_impl_unlock(M) LeaveCriticalSection (M) -#define hb_mutex_impl_finish(M) DeleteCriticalSection (M) - - -#elif !defined(HB_NO_MT) - -#include -typedef std::mutex hb_mutex_impl_t; -#define hb_mutex_impl_init(M) HB_STMT_START { new (M) hb_mutex_impl_t; } HB_STMT_END -#define hb_mutex_impl_lock(M) (M)->lock () -#define hb_mutex_impl_unlock(M) (M)->unlock () -#define hb_mutex_impl_finish(M) HB_STMT_START { (M)->~hb_mutex_impl_t(); } HB_STMT_END - - -#else /* defined(HB_NO_MT) */ - -typedef int hb_mutex_impl_t; -#define hb_mutex_impl_init(M) HB_STMT_START {} HB_STMT_END -#define hb_mutex_impl_lock(M) HB_STMT_START {} HB_STMT_END -#define hb_mutex_impl_unlock(M) HB_STMT_START {} HB_STMT_END -#define hb_mutex_impl_finish(M) HB_STMT_START {} HB_STMT_END - - -#endif - - -struct hb_mutex_t -{ - /* Create space for, but do not initialize m. */ - alignas(hb_mutex_impl_t) char m[sizeof (hb_mutex_impl_t)]; - -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wcast-align" - void init () { hb_mutex_impl_init ((hb_mutex_impl_t *) m); } - void lock () { hb_mutex_impl_lock ((hb_mutex_impl_t *) m); } - void unlock () { hb_mutex_impl_unlock ((hb_mutex_impl_t *) m); } - void fini () { hb_mutex_impl_finish ((hb_mutex_impl_t *) m); } -#pragma GCC diagnostic pop -}; - -struct hb_lock_t -{ - hb_lock_t (hb_mutex_t &mutex_) : mutex (mutex_) { mutex.lock (); } - ~hb_lock_t () { mutex.unlock (); } - private: - hb_mutex_t &mutex; -}; - - -#endif /* HB_MUTEX_HH */ diff --git a/harfbuzz/src/hb-null.hh b/harfbuzz/src/hb-null.hh deleted file mode 100644 index db38a4d..0000000 --- a/harfbuzz/src/hb-null.hh +++ /dev/null @@ -1,197 +0,0 @@ -/* - * Copyright © 2018 Google, Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Google Author(s): Behdad Esfahbod - */ - -#ifndef HB_NULL_HH -#define HB_NULL_HH - -#include "hb.hh" -#include "hb-meta.hh" - - -/* - * Static pools - */ - -/* Global nul-content Null pool. Enlarge as necessary. */ - -#define HB_NULL_POOL_SIZE 384 - -/* Use SFINAE to sniff whether T has min_size; in which case return the larger - * of sizeof(T) and T::null_size, otherwise return sizeof(T). - * - * The main purpose of this is to let structs communicate that they are not nullable, - * by defining min_size but *not* null_size. */ - -/* The hard way... - * https://stackoverflow.com/questions/7776448/sfinae-tried-with-bool-gives-compiler-error-template-argument-tvalue-invol - */ - -template -struct _hb_null_size : hb_integral_constant {}; -template -struct _hb_null_size> - : hb_integral_constant T::null_size ? sizeof (T) : T::null_size)> {}; -template -using hb_null_size = _hb_null_size; -#define hb_null_size(T) hb_null_size::value - -/* These doesn't belong here, but since is copy/paste from above, put it here. */ - -/* hb_static_size (T) - * Returns T::static_size if T::min_size is defined, or sizeof (T) otherwise. */ - -template -struct _hb_static_size : hb_integral_constant {}; -template -struct _hb_static_size> : hb_integral_constant {}; -template -using hb_static_size = _hb_static_size; -#define hb_static_size(T) hb_static_size::value - -template -struct _hb_min_size : hb_integral_constant {}; -template -struct _hb_min_size> : hb_integral_constant {}; -template -using hb_min_size = _hb_min_size; -#define hb_min_size(T) hb_min_size::value - - -/* - * Null() - */ - -extern HB_INTERNAL -uint64_t const _hb_NullPool[(HB_NULL_POOL_SIZE + sizeof (uint64_t) - 1) / sizeof (uint64_t)]; - -/* Generic nul-content Null objects. */ -template -struct Null { - static Type const & get_null () - { - static_assert (hb_null_size (Type) <= HB_NULL_POOL_SIZE, "Increase HB_NULL_POOL_SIZE."); - return *reinterpret_cast (_hb_NullPool); - } -}; -template -struct NullHelper -{ - typedef hb_remove_const> Type; - static const Type & get_null () { return Null::get_null (); } -}; -#define Null(Type) NullHelper::get_null () - -/* Specializations for arbitrary-content Null objects expressed in bytes. */ -#define DECLARE_NULL_NAMESPACE_BYTES(Namespace, Type) \ - } /* Close namespace. */ \ - extern HB_INTERNAL const unsigned char _hb_Null_##Namespace##_##Type[Namespace::Type::null_size]; \ - template <> \ - struct Null { \ - static Namespace::Type const & get_null () { \ - return *reinterpret_cast (_hb_Null_##Namespace##_##Type); \ - } \ - }; \ - namespace Namespace { \ - static_assert (true, "") /* Require semicolon after. */ -#define DEFINE_NULL_NAMESPACE_BYTES(Namespace, Type) \ - const unsigned char _hb_Null_##Namespace##_##Type[Namespace::Type::null_size] - -/* Specializations for arbitrary-content Null objects expressed as struct initializer. */ -#define DECLARE_NULL_INSTANCE(Type) \ - extern HB_INTERNAL const Type _hb_Null_##Type; \ - template <> \ - struct Null { \ - static Type const & get_null () { \ - return _hb_Null_##Type; \ - } \ - }; \ - static_assert (true, "") /* Require semicolon after. */ -#define DEFINE_NULL_INSTANCE(Type) \ - const Type _hb_Null_##Type - -/* Global writable pool. Enlarge as necessary. */ - -/* To be fully correct, CrapPool must be thread_local. However, we do not rely on CrapPool - * for correct operation. It only exist to catch and divert program logic bugs instead of - * causing bad memory access. So, races there are not actually introducing incorrectness - * in the code. Has ~12kb binary size overhead to have it, also clang build fails with it. */ -extern HB_INTERNAL -/*thread_local*/ uint64_t _hb_CrapPool[(HB_NULL_POOL_SIZE + sizeof (uint64_t) - 1) / sizeof (uint64_t)]; - -/* CRAP pool: Common Region for Access Protection. */ -template -static inline Type& Crap () { - static_assert (hb_null_size (Type) <= HB_NULL_POOL_SIZE, "Increase HB_NULL_POOL_SIZE."); - Type *obj = reinterpret_cast (_hb_CrapPool); - memcpy (obj, &Null (Type), sizeof (*obj)); - return *obj; -} -template -struct CrapHelper -{ - typedef hb_remove_const> Type; - static Type & get_crap () { return Crap (); } -}; -#define Crap(Type) CrapHelper::get_crap () - -template -struct CrapOrNullHelper { - static Type & get () { return Crap (Type); } -}; -template -struct CrapOrNullHelper { - static const Type & get () { return Null (Type); } -}; -#define CrapOrNull(Type) CrapOrNullHelper::get () - - -/* - * hb_nonnull_ptr_t - */ - -template -struct hb_nonnull_ptr_t -{ - typedef hb_remove_pointer

T; - - hb_nonnull_ptr_t (T *v_ = nullptr) : v (v_) {} - T * operator = (T *v_) { return v = v_; } - T * operator -> () const { return get (); } - T & operator * () const { return *get (); } - T ** operator & () const { return &v; } - /* Only auto-cast to const types. */ - template operator const C * () const { return get (); } - operator const char * () const { return (const char *) get (); } - T * get () const { return v ? v : const_cast (&Null (T)); } - T * get_raw () const { return v; } - - private: - T *v; -}; - - -#endif /* HB_NULL_HH */ diff --git a/harfbuzz/src/hb-number-parser.hh b/harfbuzz/src/hb-number-parser.hh deleted file mode 100644 index 1a9dbba..0000000 --- a/harfbuzz/src/hb-number-parser.hh +++ /dev/null @@ -1,237 +0,0 @@ - -#line 1 "hb-number-parser.rl" -/* - * Copyright © 2019 Ebrahim Byagowi - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - */ - -#ifndef HB_NUMBER_PARSER_HH -#define HB_NUMBER_PARSER_HH - -#include "hb.hh" - - -#line 35 "hb-number-parser.hh" -static const unsigned char _double_parser_trans_keys[] = { - 0u, 0u, 43u, 57u, 46u, 57u, 48u, 57u, 43u, 57u, 48u, 57u, 48u, 101u, 48u, 57u, - 46u, 101u, 0 -}; - -static const char _double_parser_key_spans[] = { - 0, 15, 12, 10, 15, 10, 54, 10, - 56 -}; - -static const unsigned char _double_parser_index_offsets[] = { - 0, 0, 16, 29, 40, 56, 67, 122, - 133 -}; - -static const char _double_parser_indicies[] = { - 0, 1, 2, 3, 1, 4, 4, - 4, 4, 4, 4, 4, 4, 4, 4, - 1, 3, 1, 4, 4, 4, 4, 4, - 4, 4, 4, 4, 4, 1, 5, 5, - 5, 5, 5, 5, 5, 5, 5, 5, - 1, 6, 1, 7, 1, 1, 8, 8, - 8, 8, 8, 8, 8, 8, 8, 8, - 1, 8, 8, 8, 8, 8, 8, 8, - 8, 8, 8, 1, 5, 5, 5, 5, - 5, 5, 5, 5, 5, 5, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 9, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 9, 1, 8, 8, 8, 8, 8, - 8, 8, 8, 8, 8, 1, 3, 1, - 4, 4, 4, 4, 4, 4, 4, 4, - 4, 4, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 9, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 9, 1, 0 -}; - -static const char _double_parser_trans_targs[] = { - 2, 0, 2, 3, 8, 6, 5, 5, - 7, 4 -}; - -static const char _double_parser_trans_actions[] = { - 0, 0, 1, 0, 2, 3, 0, 4, - 5, 0 -}; - -static const int double_parser_start = 1; -static const int double_parser_first_final = 6; -static const int double_parser_error = 0; - -static const int double_parser_en_main = 1; - - -#line 68 "hb-number-parser.rl" - - -/* Works only for n < 512 */ -static inline double -_pow10 (unsigned exponent) -{ - static const double _powers_of_10[] = - { - 1.0e+256, - 1.0e+128, - 1.0e+64, - 1.0e+32, - 1.0e+16, - 1.0e+8, - 10000., - 100., - 10. - }; - unsigned mask = 1 << (ARRAY_LENGTH (_powers_of_10) - 1); - double result = 1; - for (const double *power = _powers_of_10; mask; ++power, mask >>= 1) - if (exponent & mask) result *= *power; - return result; -} - -/* a variant of strtod that also gets end of buffer in its second argument */ -static inline double -strtod_rl (const char *p, const char **end_ptr /* IN/OUT */) -{ - double value = 0; - double frac = 0; - double frac_count = 0; - unsigned exp = 0; - bool neg = false, exp_neg = false, exp_overflow = false; - const unsigned long long MAX_FRACT = 0xFFFFFFFFFFFFFull; /* 2^52-1 */ - const unsigned MAX_EXP = 0x7FFu; /* 2^11-1 */ - - const char *pe = *end_ptr; - while (p < pe && ISSPACE (*p)) - p++; - - int cs; - -#line 139 "hb-number-parser.hh" - { - cs = double_parser_start; - } - -#line 144 "hb-number-parser.hh" - { - int _slen; - int _trans; - const unsigned char *_keys; - const char *_inds; - if ( p == pe ) - goto _test_eof; - if ( cs == 0 ) - goto _out; -_resume: - _keys = _double_parser_trans_keys + (cs<<1); - _inds = _double_parser_indicies + _double_parser_index_offsets[cs]; - - _slen = _double_parser_key_spans[cs]; - _trans = _inds[ _slen > 0 && _keys[0] <=(*p) && - (*p) <= _keys[1] ? - (*p) - _keys[0] : _slen ]; - - cs = _double_parser_trans_targs[_trans]; - - if ( _double_parser_trans_actions[_trans] == 0 ) - goto _again; - - switch ( _double_parser_trans_actions[_trans] ) { - case 1: -#line 37 "hb-number-parser.rl" - { neg = true; } - break; - case 4: -#line 38 "hb-number-parser.rl" - { exp_neg = true; } - break; - case 2: -#line 40 "hb-number-parser.rl" - { - value = value * 10. + ((*p) - '0'); -} - break; - case 3: -#line 43 "hb-number-parser.rl" - { - if (likely (frac <= MAX_FRACT / 10)) - { - frac = frac * 10. + ((*p) - '0'); - ++frac_count; - } -} - break; - case 5: -#line 50 "hb-number-parser.rl" - { - if (likely (exp * 10 + ((*p) - '0') <= MAX_EXP)) - exp = exp * 10 + ((*p) - '0'); - else - exp_overflow = true; -} - break; -#line 202 "hb-number-parser.hh" - } - -_again: - if ( cs == 0 ) - goto _out; - if ( ++p != pe ) - goto _resume; - _test_eof: {} - _out: {} - } - -#line 113 "hb-number-parser.rl" - - - *end_ptr = p; - - if (frac_count) value += frac / _pow10 (frac_count); - if (neg) value *= -1.; - - if (unlikely (exp_overflow)) - { - if (value == 0) return value; - if (exp_neg) return neg ? -DBL_MIN : DBL_MIN; - else return neg ? -DBL_MAX : DBL_MAX; - } - - if (exp) - { - if (exp_neg) value /= _pow10 (exp); - else value *= _pow10 (exp); - } - - return value; -} - -#endif /* HB_NUMBER_PARSER_HH */ diff --git a/harfbuzz/src/hb-number-parser.rl b/harfbuzz/src/hb-number-parser.rl deleted file mode 100644 index c6c4a3b..0000000 --- a/harfbuzz/src/hb-number-parser.rl +++ /dev/null @@ -1,136 +0,0 @@ -/* - * Copyright © 2019 Ebrahim Byagowi - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - */ - -#ifndef HB_NUMBER_PARSER_HH -#define HB_NUMBER_PARSER_HH - -#include "hb.hh" - -%%{ - -machine double_parser; -alphtype unsigned char; -write data; - -action see_neg { neg = true; } -action see_exp_neg { exp_neg = true; } - -action add_int { - value = value * 10. + (fc - '0'); -} -action add_frac { - if (likely (frac <= MAX_FRACT / 10)) - { - frac = frac * 10. + (fc - '0'); - ++frac_count; - } -} -action add_exp { - if (likely (exp * 10 + (fc - '0') <= MAX_EXP)) - exp = exp * 10 + (fc - '0'); - else - exp_overflow = true; -} - -num = [0-9]+; - -main := ( - ( - (('+'|'-'@see_neg)? num @add_int) ('.' num @add_frac)? - | - (('+'|'-'@see_neg)? '.' num @add_frac) - ) - (('e'|'E') (('+'|'-'@see_exp_neg)? num @add_exp))? -); - -}%% - -/* Works only for n < 512 */ -static inline double -_pow10 (unsigned exponent) -{ - static const double _powers_of_10[] = - { - 1.0e+256, - 1.0e+128, - 1.0e+64, - 1.0e+32, - 1.0e+16, - 1.0e+8, - 10000., - 100., - 10. - }; - unsigned mask = 1 << (ARRAY_LENGTH (_powers_of_10) - 1); - double result = 1; - for (const double *power = _powers_of_10; mask; ++power, mask >>= 1) - if (exponent & mask) result *= *power; - return result; -} - -/* a variant of strtod that also gets end of buffer in its second argument */ -static inline double -strtod_rl (const char *p, const char **end_ptr /* IN/OUT */) -{ - double value = 0; - double frac = 0; - double frac_count = 0; - unsigned exp = 0; - bool neg = false, exp_neg = false, exp_overflow = false; - const unsigned long long MAX_FRACT = 0xFFFFFFFFFFFFFull; /* 2^52-1 */ - const unsigned MAX_EXP = 0x7FFu; /* 2^11-1 */ - - const char *pe = *end_ptr; - while (p < pe && ISSPACE (*p)) - p++; - - int cs; - %%{ - write init; - write exec; - }%% - - *end_ptr = p; - - if (frac_count) value += frac / _pow10 (frac_count); - if (neg) value *= -1.; - - if (unlikely (exp_overflow)) - { - if (value == 0) return value; - if (exp_neg) return neg ? -DBL_MIN : DBL_MIN; - else return neg ? -DBL_MAX : DBL_MAX; - } - - if (exp) - { - if (exp_neg) value /= _pow10 (exp); - else value *= _pow10 (exp); - } - - return value; -} - -#endif /* HB_NUMBER_PARSER_HH */ diff --git a/harfbuzz/src/hb-number.cc b/harfbuzz/src/hb-number.cc deleted file mode 100644 index 6e4f3f7..0000000 --- a/harfbuzz/src/hb-number.cc +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Copyright © 2019 Ebrahim Byagowi - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - */ - -#include "hb.hh" -#include "hb-machinery.hh" -#include "hb-number.hh" -#include "hb-number-parser.hh" - -template -static bool -_parse_number (const char **pp, const char *end, T *pv, - bool whole_buffer, Func f) -{ - char buf[32]; - unsigned len = hb_min (ARRAY_LENGTH (buf) - 1, (unsigned) (end - *pp)); - strncpy (buf, *pp, len); - buf[len] = '\0'; - - char *p = buf; - char *pend = p; - - errno = 0; - *pv = f (p, &pend); - if (unlikely (errno || p == pend || - /* Check if consumed whole buffer if is requested */ - (whole_buffer && pend - p != end - *pp))) - return false; - - *pp += pend - p; - return true; -} - -bool -hb_parse_int (const char **pp, const char *end, int *pv, bool whole_buffer) -{ - return _parse_number (pp, end, pv, whole_buffer, - [] (const char *p, char **end) - { return strtol (p, end, 10); }); -} - -bool -hb_parse_uint (const char **pp, const char *end, unsigned *pv, - bool whole_buffer, int base) -{ - return _parse_number (pp, end, pv, whole_buffer, - [base] (const char *p, char **end) - { return strtoul (p, end, base); }); -} - -bool -hb_parse_double (const char **pp, const char *end, double *pv, bool whole_buffer) -{ - const char *pend = end; - *pv = strtod_rl (*pp, &pend); - if (unlikely (*pp == pend)) return false; - *pp = pend; - return !whole_buffer || end == pend; -} diff --git a/harfbuzz/src/hb-number.hh b/harfbuzz/src/hb-number.hh deleted file mode 100644 index 14d1260..0000000 --- a/harfbuzz/src/hb-number.hh +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright © 2019 Ebrahim Byagowi - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - */ - -#ifndef HB_NUMBER_HH -#define HB_NUMBER_HH - -HB_INTERNAL bool -hb_parse_int (const char **pp, const char *end, int *pv, - bool whole_buffer = false); - -HB_INTERNAL bool -hb_parse_uint (const char **pp, const char *end, unsigned int *pv, - bool whole_buffer = false, int base = 10); - -HB_INTERNAL bool -hb_parse_double (const char **pp, const char *end, double *pv, - bool whole_buffer = false); - -#endif /* HB_NUMBER_HH */ diff --git a/harfbuzz/src/hb-object.hh b/harfbuzz/src/hb-object.hh deleted file mode 100644 index 0e15cb1..0000000 --- a/harfbuzz/src/hb-object.hh +++ /dev/null @@ -1,330 +0,0 @@ -/* - * Copyright © 2007 Chris Wilson - * Copyright © 2009,2010 Red Hat, Inc. - * Copyright © 2011,2012 Google, Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Contributor(s): - * Chris Wilson - * Red Hat Author(s): Behdad Esfahbod - * Google Author(s): Behdad Esfahbod - */ - -#ifndef HB_OBJECT_HH -#define HB_OBJECT_HH - -#include "hb.hh" -#include "hb-atomic.hh" -#include "hb-mutex.hh" -#include "hb-vector.hh" - - -/* - * Lockable set - */ - -template -struct hb_lockable_set_t -{ - hb_vector_t items; - - void init () { items.init (); } - - template - item_t *replace_or_insert (T v, lock_t &l, bool replace) - { - l.lock (); - item_t *item = items.find (v); - if (item) { - if (replace) { - item_t old = *item; - *item = v; - l.unlock (); - old.fini (); - } - else { - item = nullptr; - l.unlock (); - } - } else { - item = items.push (v); - l.unlock (); - } - return item; - } - - template - void remove (T v, lock_t &l) - { - l.lock (); - item_t *item = items.find (v); - if (item) - { - item_t old = *item; - *item = items[items.length - 1]; - items.pop (); - l.unlock (); - old.fini (); - } else { - l.unlock (); - } - } - - template - bool find (T v, item_t *i, lock_t &l) - { - l.lock (); - item_t *item = items.find (v); - if (item) - *i = *item; - l.unlock (); - return !!item; - } - - template - item_t *find_or_insert (T v, lock_t &l) - { - l.lock (); - item_t *item = items.find (v); - if (!item) { - item = items.push (v); - } - l.unlock (); - return item; - } - - void fini (lock_t &l) - { - if (!items.length) - { - /* No need to lock. */ - items.fini (); - return; - } - l.lock (); - while (items.length) - { - item_t old = items[items.length - 1]; - items.pop (); - l.unlock (); - old.fini (); - l.lock (); - } - items.fini (); - l.unlock (); - } - -}; - - -/* - * Reference-count. - */ - -struct hb_reference_count_t -{ - mutable hb_atomic_int_t ref_count; - - void init (int v = 1) { ref_count.set_relaxed (v); } - int get_relaxed () const { return ref_count.get_relaxed (); } - int inc () const { return ref_count.inc (); } - int dec () const { return ref_count.dec (); } - void fini () { ref_count.set_relaxed (-0x0000DEAD); } - - bool is_inert () const { return !ref_count.get_relaxed (); } - bool is_valid () const { return ref_count.get_relaxed () > 0; } -}; - - -/* user_data */ - -struct hb_user_data_array_t -{ - struct hb_user_data_item_t { - hb_user_data_key_t *key; - void *data; - hb_destroy_func_t destroy; - - bool operator == (const hb_user_data_key_t *other_key) const { return key == other_key; } - bool operator == (const hb_user_data_item_t &other) const { return key == other.key; } - - void fini () { if (destroy) destroy (data); } - }; - - hb_mutex_t lock; - hb_lockable_set_t items; - - void init () { lock.init (); items.init (); } - - HB_INTERNAL bool set (hb_user_data_key_t *key, - void * data, - hb_destroy_func_t destroy, - hb_bool_t replace); - - HB_INTERNAL void *get (hb_user_data_key_t *key); - - void fini () { items.fini (lock); lock.fini (); } -}; - - -/* - * Object header - */ - -struct hb_object_header_t -{ - hb_reference_count_t ref_count; - mutable hb_atomic_int_t writable = 0; - hb_atomic_ptr_t user_data; - - bool is_inert () const { return !ref_count.get_relaxed (); } -}; -#define HB_OBJECT_HEADER_STATIC {} - - -/* - * Object - */ - -template -static inline void hb_object_trace (const Type *obj, const char *function) -{ - DEBUG_MSG (OBJECT, (void *) obj, - "%s refcount=%d", - function, - obj ? obj->header.ref_count.get_relaxed () : 0); -} - -template -static inline Type *hb_object_create () -{ - Type *obj = (Type *) hb_calloc (1, sizeof (Type)); - - if (unlikely (!obj)) - return obj; - - hb_object_init (obj); - hb_object_trace (obj, HB_FUNC); - return obj; -} -template -static inline void hb_object_init (Type *obj) -{ - obj->header.ref_count.init (); - obj->header.writable.set_relaxed (true); - obj->header.user_data.init (); -} -template -static inline bool hb_object_is_valid (const Type *obj) -{ - return likely (obj->header.ref_count.is_valid ()); -} -template -static inline bool hb_object_is_immutable (const Type *obj) -{ - return !obj->header.writable.get_relaxed (); -} -template -static inline void hb_object_make_immutable (const Type *obj) -{ - obj->header.writable.set_relaxed (false); -} -template -static inline Type *hb_object_reference (Type *obj) -{ - hb_object_trace (obj, HB_FUNC); - if (unlikely (!obj || obj->header.is_inert ())) - return obj; - assert (hb_object_is_valid (obj)); - obj->header.ref_count.inc (); - return obj; -} -template -static inline bool hb_object_destroy (Type *obj) -{ - hb_object_trace (obj, HB_FUNC); - if (unlikely (!obj || obj->header.is_inert ())) - return false; - assert (hb_object_is_valid (obj)); - if (obj->header.ref_count.dec () != 1) - return false; - - hb_object_fini (obj); - return true; -} -template -static inline void hb_object_fini (Type *obj) -{ - obj->header.ref_count.fini (); /* Do this before user_data */ - hb_user_data_array_t *user_data = obj->header.user_data.get (); - if (user_data) - { - user_data->fini (); - hb_free (user_data); - user_data = nullptr; - } -} -template -static inline bool hb_object_set_user_data (Type *obj, - hb_user_data_key_t *key, - void * data, - hb_destroy_func_t destroy, - hb_bool_t replace) -{ - if (unlikely (!obj || obj->header.is_inert ())) - return false; - assert (hb_object_is_valid (obj)); - -retry: - hb_user_data_array_t *user_data = obj->header.user_data.get (); - if (unlikely (!user_data)) - { - user_data = (hb_user_data_array_t *) hb_calloc (sizeof (hb_user_data_array_t), 1); - if (unlikely (!user_data)) - return false; - user_data->init (); - if (unlikely (!obj->header.user_data.cmpexch (nullptr, user_data))) - { - user_data->fini (); - hb_free (user_data); - goto retry; - } - } - - return user_data->set (key, data, destroy, replace); -} - -template -static inline void *hb_object_get_user_data (Type *obj, - hb_user_data_key_t *key) -{ - if (unlikely (!obj || obj->header.is_inert ())) - return nullptr; - assert (hb_object_is_valid (obj)); - hb_user_data_array_t *user_data = obj->header.user_data.get (); - if (!user_data) - return nullptr; - return user_data->get (key); -} - - -#endif /* HB_OBJECT_HH */ diff --git a/harfbuzz/src/hb-open-file.hh b/harfbuzz/src/hb-open-file.hh deleted file mode 100644 index 6eee582..0000000 --- a/harfbuzz/src/hb-open-file.hh +++ /dev/null @@ -1,537 +0,0 @@ -/* - * Copyright © 2007,2008,2009 Red Hat, Inc. - * Copyright © 2012 Google, Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Red Hat Author(s): Behdad Esfahbod - * Google Author(s): Behdad Esfahbod - */ - -#ifndef HB_OPEN_FILE_HH -#define HB_OPEN_FILE_HH - -#include "hb-open-type.hh" -#include "hb-ot-head-table.hh" - - -namespace OT { - -/* - * - * The OpenType Font File - * - */ - - -/* - * Organization of an OpenType Font - */ - -struct OpenTypeFontFile; -struct OpenTypeOffsetTable; -struct TTCHeader; - - -typedef struct TableRecord -{ - int cmp (Tag t) const { return -t.cmp (tag); } - - HB_INTERNAL static int cmp (const void *pa, const void *pb) - { - const TableRecord *a = (const TableRecord *) pa; - const TableRecord *b = (const TableRecord *) pb; - return b->cmp (a->tag); - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this)); - } - - Tag tag; /* 4-byte identifier. */ - CheckSum checkSum; /* CheckSum for this table. */ - Offset32 offset; /* Offset from beginning of TrueType font - * file. */ - HBUINT32 length; /* Length of this table. */ - public: - DEFINE_SIZE_STATIC (16); -} OpenTypeTable; - -typedef struct OpenTypeOffsetTable -{ - friend struct OpenTypeFontFile; - - unsigned int get_table_count () const { return tables.len; } - const TableRecord& get_table (unsigned int i) const - { return tables[i]; } - unsigned int get_table_tags (unsigned int start_offset, - unsigned int *table_count, /* IN/OUT */ - hb_tag_t *table_tags /* OUT */) const - { - if (table_count) - { - + tables.sub_array (start_offset, table_count) - | hb_map (&TableRecord::tag) - | hb_sink (hb_array (table_tags, *table_count)) - ; - } - return tables.len; - } - bool find_table_index (hb_tag_t tag, unsigned int *table_index) const - { - Tag t; - t = tag; - /* Use lfind for small fonts; there are fonts that have unsorted table entries; - * those tend to work in other tools, so tolerate them. - * https://github.com/harfbuzz/harfbuzz/issues/3065 */ - if (tables.len < 16) - return tables.lfind (t, table_index, HB_NOT_FOUND_STORE, Index::NOT_FOUND_INDEX); - else - return tables.bfind (t, table_index, HB_NOT_FOUND_STORE, Index::NOT_FOUND_INDEX); - } - const TableRecord& get_table_by_tag (hb_tag_t tag) const - { - unsigned int table_index; - find_table_index (tag, &table_index); - return get_table (table_index); - } - - public: - - template >::value))> - bool serialize (hb_serialize_context_t *c, - hb_tag_t sfnt_tag, - Iterator it) - { - TRACE_SERIALIZE (this); - /* Alloc 12 for the OTHeader. */ - if (unlikely (!c->extend_min (this))) return_trace (false); - /* Write sfntVersion (bytes 0..3). */ - sfnt_version = sfnt_tag; - /* Take space for numTables, searchRange, entrySelector, RangeShift - * and the TableRecords themselves. */ - unsigned num_items = it.len (); - if (unlikely (!tables.serialize (c, num_items))) return_trace (false); - - const char *dir_end = (const char *) c->head; - HBUINT32 *checksum_adjustment = nullptr; - - /* Write OffsetTables, alloc for and write actual table blobs. */ - unsigned i = 0; - for (hb_pair_t entry : it) - { - hb_blob_t *blob = entry.second; - unsigned len = blob->length; - - /* Allocate room for the table and copy it. */ - char *start = (char *) c->allocate_size (len); - if (unlikely (!start)) return false; - - TableRecord &rec = tables.arrayZ[i]; - rec.tag = entry.first; - rec.length = len; - rec.offset = 0; - if (unlikely (!c->check_assign (rec.offset, - (unsigned) ((char *) start - (char *) this), - HB_SERIALIZE_ERROR_OFFSET_OVERFLOW))) - return_trace (false); - - if (likely (len)) - memcpy (start, blob->data, len); - - /* 4-byte alignment. */ - c->align (4); - const char *end = (const char *) c->head; - - if (entry.first == HB_OT_TAG_head && - (unsigned) (end - start) >= head::static_size) - { - head *h = (head *) start; - checksum_adjustment = &h->checkSumAdjustment; - *checksum_adjustment = 0; - } - - rec.checkSum.set_for_data (start, end - start); - i++; - } - - tables.qsort (); - - if (checksum_adjustment) - { - CheckSum checksum; - - /* The following line is a slower version of the following block. */ - //checksum.set_for_data (this, (const char *) c->head - (const char *) this); - checksum.set_for_data (this, dir_end - (const char *) this); - for (unsigned int i = 0; i < num_items; i++) - { - TableRecord &rec = tables.arrayZ[i]; - checksum = checksum + rec.checkSum; - } - - *checksum_adjustment = 0xB1B0AFBAu - checksum; - } - - return_trace (true); - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this) && tables.sanitize (c)); - } - - protected: - Tag sfnt_version; /* '\0\001\0\00' if TrueType / 'OTTO' if CFF */ - BinSearchArrayOf - tables; - public: - DEFINE_SIZE_ARRAY (12, tables); -} OpenTypeFontFace; - - -/* - * TrueType Collections - */ - -struct TTCHeaderVersion1 -{ - friend struct TTCHeader; - - unsigned int get_face_count () const { return table.len; } - const OpenTypeFontFace& get_face (unsigned int i) const { return this+table[i]; } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (table.sanitize (c, this)); - } - - protected: - Tag ttcTag; /* TrueType Collection ID string: 'ttcf' */ - FixedVersion<>version; /* Version of the TTC Header (1.0), - * 0x00010000u */ - Array32Of> - table; /* Array of offsets to the OffsetTable for each font - * from the beginning of the file */ - public: - DEFINE_SIZE_ARRAY (12, table); -}; - -struct TTCHeader -{ - friend struct OpenTypeFontFile; - - private: - - unsigned int get_face_count () const - { - switch (u.header.version.major) { - case 2: /* version 2 is compatible with version 1 */ - case 1: return u.version1.get_face_count (); - default:return 0; - } - } - const OpenTypeFontFace& get_face (unsigned int i) const - { - switch (u.header.version.major) { - case 2: /* version 2 is compatible with version 1 */ - case 1: return u.version1.get_face (i); - default:return Null (OpenTypeFontFace); - } - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - if (unlikely (!u.header.version.sanitize (c))) return_trace (false); - switch (u.header.version.major) { - case 2: /* version 2 is compatible with version 1 */ - case 1: return_trace (u.version1.sanitize (c)); - default:return_trace (true); - } - } - - protected: - union { - struct { - Tag ttcTag; /* TrueType Collection ID string: 'ttcf' */ - FixedVersion<>version; /* Version of the TTC Header (1.0 or 2.0), - * 0x00010000u or 0x00020000u */ - } header; - TTCHeaderVersion1 version1; - } u; -}; - -/* - * Mac Resource Fork - * - * http://mirror.informatimago.com/next/developer.apple.com/documentation/mac/MoreToolbox/MoreToolbox-99.html - */ - -struct ResourceRecord -{ - const OpenTypeFontFace & get_face (const void *data_base) const - { return * reinterpret_cast ((data_base+offset).arrayZ); } - - bool sanitize (hb_sanitize_context_t *c, - const void *data_base) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this) && - offset.sanitize (c, data_base) && - get_face (data_base).sanitize (c)); - } - - protected: - HBUINT16 id; /* Resource ID. */ - HBINT16 nameOffset; /* Offset from beginning of resource name list - * to resource name, -1 means there is none. */ - HBUINT8 attrs; /* Resource attributes */ - NNOffset24To> - offset; /* Offset from beginning of data block to - * data for this resource */ - HBUINT32 reserved; /* Reserved for handle to resource */ - public: - DEFINE_SIZE_STATIC (12); -}; - -#define HB_TAG_sfnt HB_TAG ('s','f','n','t') - -struct ResourceTypeRecord -{ - unsigned int get_resource_count () const - { return tag == HB_TAG_sfnt ? resCountM1 + 1 : 0; } - - bool is_sfnt () const { return tag == HB_TAG_sfnt; } - - const ResourceRecord& get_resource_record (unsigned int i, - const void *type_base) const - { return (type_base+resourcesZ).as_array (get_resource_count ())[i]; } - - bool sanitize (hb_sanitize_context_t *c, - const void *type_base, - const void *data_base) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this) && - resourcesZ.sanitize (c, type_base, - get_resource_count (), - data_base)); - } - - protected: - Tag tag; /* Resource type. */ - HBUINT16 resCountM1; /* Number of resources minus 1. */ - NNOffset16To> - resourcesZ; /* Offset from beginning of resource type list - * to reference item list for this type. */ - public: - DEFINE_SIZE_STATIC (8); -}; - -struct ResourceMap -{ - unsigned int get_face_count () const - { - unsigned int count = get_type_count (); - for (unsigned int i = 0; i < count; i++) - { - const ResourceTypeRecord& type = get_type_record (i); - if (type.is_sfnt ()) - return type.get_resource_count (); - } - return 0; - } - - const OpenTypeFontFace& get_face (unsigned int idx, - const void *data_base) const - { - unsigned int count = get_type_count (); - for (unsigned int i = 0; i < count; i++) - { - const ResourceTypeRecord& type = get_type_record (i); - /* The check for idx < count is here because ResourceRecord is NOT null-safe. - * Because an offset of 0 there does NOT mean null. */ - if (type.is_sfnt () && idx < type.get_resource_count ()) - return type.get_resource_record (idx, &(this+typeList)).get_face (data_base); - } - return Null (OpenTypeFontFace); - } - - bool sanitize (hb_sanitize_context_t *c, const void *data_base) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this) && - typeList.sanitize (c, this, - &(this+typeList), - data_base)); - } - - private: - unsigned int get_type_count () const { return (this+typeList).lenM1 + 1; } - - const ResourceTypeRecord& get_type_record (unsigned int i) const - { return (this+typeList)[i]; } - - protected: - HBUINT8 reserved0[16]; /* Reserved for copy of resource header */ - HBUINT32 reserved1; /* Reserved for handle to next resource map */ - HBUINT16 resreved2; /* Reserved for file reference number */ - HBUINT16 attrs; /* Resource fork attribute */ - NNOffset16To> - typeList; /* Offset from beginning of map to - * resource type list */ - Offset16 nameList; /* Offset from beginning of map to - * resource name list */ - public: - DEFINE_SIZE_STATIC (28); -}; - -struct ResourceForkHeader -{ - unsigned int get_face_count () const - { return (this+map).get_face_count (); } - - const OpenTypeFontFace& get_face (unsigned int idx, - unsigned int *base_offset = nullptr) const - { - const OpenTypeFontFace &face = (this+map).get_face (idx, &(this+data)); - if (base_offset) - *base_offset = (const char *) &face - (const char *) this; - return face; - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this) && - data.sanitize (c, this, dataLen) && - map.sanitize (c, this, &(this+data))); - } - - protected: - NNOffset32To> - data; /* Offset from beginning of resource fork - * to resource data */ - NNOffset32To - map; /* Offset from beginning of resource fork - * to resource map */ - HBUINT32 dataLen; /* Length of resource data */ - HBUINT32 mapLen; /* Length of resource map */ - public: - DEFINE_SIZE_STATIC (16); -}; - -/* - * OpenType Font File - */ - -struct OpenTypeFontFile -{ - enum { - CFFTag = HB_TAG ('O','T','T','O'), /* OpenType with Postscript outlines */ - TrueTypeTag = HB_TAG ( 0 , 1 , 0 , 0 ), /* OpenType with TrueType outlines */ - TTCTag = HB_TAG ('t','t','c','f'), /* TrueType Collection */ - DFontTag = HB_TAG ( 0 , 0 , 1 , 0 ), /* DFont Mac Resource Fork */ - TrueTag = HB_TAG ('t','r','u','e'), /* Obsolete Apple TrueType */ - Typ1Tag = HB_TAG ('t','y','p','1') /* Obsolete Apple Type1 font in SFNT container */ - }; - - hb_tag_t get_tag () const { return u.tag; } - - unsigned int get_face_count () const - { - switch (u.tag) { - case CFFTag: /* All the non-collection tags */ - case TrueTag: - case Typ1Tag: - case TrueTypeTag: return 1; - case TTCTag: return u.ttcHeader.get_face_count (); - case DFontTag: return u.rfHeader.get_face_count (); - default: return 0; - } - } - const OpenTypeFontFace& get_face (unsigned int i, unsigned int *base_offset = nullptr) const - { - if (base_offset) - *base_offset = 0; - switch (u.tag) { - /* Note: for non-collection SFNT data we ignore index. This is because - * Apple dfont container is a container of SFNT's. So each SFNT is a - * non-TTC, but the index is more than zero. */ - case CFFTag: /* All the non-collection tags */ - case TrueTag: - case Typ1Tag: - case TrueTypeTag: return u.fontFace; - case TTCTag: return u.ttcHeader.get_face (i); - case DFontTag: return u.rfHeader.get_face (i, base_offset); - default: return Null (OpenTypeFontFace); - } - } - - template >::value))> - bool serialize_single (hb_serialize_context_t *c, - hb_tag_t sfnt_tag, - Iterator items) - { - TRACE_SERIALIZE (this); - assert (sfnt_tag != TTCTag); - if (unlikely (!c->extend_min (this))) return_trace (false); - return_trace (u.fontFace.serialize (c, sfnt_tag, items)); - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - if (unlikely (!u.tag.sanitize (c))) return_trace (false); - switch (u.tag) { - case CFFTag: /* All the non-collection tags */ - case TrueTag: - case Typ1Tag: - case TrueTypeTag: return_trace (u.fontFace.sanitize (c)); - case TTCTag: return_trace (u.ttcHeader.sanitize (c)); - case DFontTag: return_trace (u.rfHeader.sanitize (c)); - default: return_trace (true); - } - } - - protected: - union { - Tag tag; /* 4-byte identifier. */ - OpenTypeFontFace fontFace; - TTCHeader ttcHeader; - ResourceForkHeader rfHeader; - } u; - public: - DEFINE_SIZE_UNION (4, tag); -}; - - -} /* namespace OT */ - - -#endif /* HB_OPEN_FILE_HH */ diff --git a/harfbuzz/src/hb-open-type.hh b/harfbuzz/src/hb-open-type.hh deleted file mode 100644 index 7e52417..0000000 --- a/harfbuzz/src/hb-open-type.hh +++ /dev/null @@ -1,1117 +0,0 @@ -/* - * Copyright © 2007,2008,2009,2010 Red Hat, Inc. - * Copyright © 2012 Google, Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Red Hat Author(s): Behdad Esfahbod - * Google Author(s): Behdad Esfahbod - */ - -#ifndef HB_OPEN_TYPE_HH -#define HB_OPEN_TYPE_HH - -#include "hb.hh" -#include "hb-blob.hh" -#include "hb-face.hh" -#include "hb-machinery.hh" -#include "hb-subset.hh" - - -namespace OT { - - -/* - * - * The OpenType Font File: Data Types - */ - - -/* "The following data types are used in the OpenType font file. - * All OpenType fonts use Motorola-style byte ordering (Big Endian):" */ - -/* - * Int types - */ - -/* Integer types in big-endian order and no alignment requirement */ -template -struct IntType -{ - typedef Type type; - - IntType () = default; - explicit constexpr IntType (Type V) : v {V} {} - IntType& operator = (Type i) { v = i; return *this; } - /* For reason we define cast out operator for signed/unsigned, instead of Type, see: - * https://github.com/harfbuzz/harfbuzz/pull/2875/commits/09836013995cab2b9f07577a179ad7b024130467 */ - operator typename std::conditional::value, signed, unsigned>::type () const { return v; } - - bool operator == (const IntType &o) const { return (Type) v == (Type) o.v; } - bool operator != (const IntType &o) const { return !(*this == o); } - - IntType& operator += (unsigned count) { *this = *this + count; return *this; } - IntType& operator -= (unsigned count) { *this = *this - count; return *this; } - IntType& operator ++ () { *this += 1; return *this; } - IntType& operator -- () { *this -= 1; return *this; } - IntType operator ++ (int) { IntType c (*this); ++*this; return c; } - IntType operator -- (int) { IntType c (*this); --*this; return c; } - - HB_INTERNAL static int cmp (const IntType *a, const IntType *b) - { return b->cmp (*a); } - HB_INTERNAL static int cmp (const void *a, const void *b) - { - IntType *pa = (IntType *) a; - IntType *pb = (IntType *) b; - - return pb->cmp (*pa); - } - template ::value && - sizeof (Type2) < sizeof (int) && - sizeof (Type) < sizeof (int))> - int cmp (Type2 a) const - { - Type b = v; - return (int) a - (int) b; - } - template - int cmp (Type2 a) const - { - Type b = v; - return a < b ? -1 : a == b ? 0 : +1; - } - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (likely (c->check_struct (this))); - } - protected: - BEInt v; - public: - DEFINE_SIZE_STATIC (Size); -}; - -typedef IntType HBUINT8; /* 8-bit unsigned integer. */ -typedef IntType HBINT8; /* 8-bit signed integer. */ -typedef IntType HBUINT16; /* 16-bit unsigned integer. */ -typedef IntType HBINT16; /* 16-bit signed integer. */ -typedef IntType HBUINT32; /* 32-bit unsigned integer. */ -typedef IntType HBINT32; /* 32-bit signed integer. */ -/* Note: we cannot defined a signed HBINT24 because there's no corresponding C type. - * Works for unsigned, but not signed, since we rely on compiler for sign-extension. */ -typedef IntType HBUINT24; /* 24-bit unsigned integer. */ - -/* 15-bit unsigned number; top bit used for extension. */ -struct HBUINT15 : HBUINT16 -{ - /* TODO Flesh out; actually mask top bit. */ - HBUINT15& operator = (uint16_t i ) { HBUINT16::operator= (i); return *this; } - public: - DEFINE_SIZE_STATIC (2); -}; - -/* 16-bit signed integer (HBINT16) that describes a quantity in FUnits. */ -typedef HBINT16 FWORD; - -/* 32-bit signed integer (HBINT32) that describes a quantity in FUnits. */ -typedef HBINT32 FWORD32; - -/* 16-bit unsigned integer (HBUINT16) that describes a quantity in FUnits. */ -typedef HBUINT16 UFWORD; - -/* 16-bit signed fixed number with the low 14 bits of fraction (2.14). */ -struct F2DOT14 : HBINT16 -{ - F2DOT14& operator = (uint16_t i ) { HBINT16::operator= (i); return *this; } - // 16384 means 1<<14 - float to_float () const { return ((int32_t) v) / 16384.f; } - void set_float (float f) { v = roundf (f * 16384.f); } - public: - DEFINE_SIZE_STATIC (2); -}; - -/* 32-bit signed fixed-point number (16.16). */ -struct HBFixed : HBINT32 -{ - HBFixed& operator = (uint32_t i) { HBINT32::operator= (i); return *this; } - // 65536 means 1<<16 - float to_float () const { return ((int32_t) v) / 65536.f; } - void set_float (float f) { v = roundf (f * 65536.f); } - public: - DEFINE_SIZE_STATIC (4); -}; - -/* Date represented in number of seconds since 12:00 midnight, January 1, - * 1904. The value is represented as a signed 64-bit integer. */ -struct LONGDATETIME -{ - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (likely (c->check_struct (this))); - } - protected: - HBINT32 major; - HBUINT32 minor; - public: - DEFINE_SIZE_STATIC (8); -}; - -/* Array of four uint8s (length = 32 bits) used to identify a script, language - * system, feature, or baseline */ -struct Tag : HBUINT32 -{ - Tag& operator = (hb_tag_t i) { HBUINT32::operator= (i); return *this; } - /* What the char* converters return is NOT nul-terminated. Print using "%.4s" */ - operator const char* () const { return reinterpret_cast (this); } - operator char* () { return reinterpret_cast (this); } - public: - DEFINE_SIZE_STATIC (4); -}; - -/* Glyph index number, same as uint16 (length = 16 bits) */ -struct HBGlyphID16 : HBUINT16 -{ - HBGlyphID16& operator = (uint16_t i) { HBUINT16::operator= (i); return *this; } -}; - -/* Script/language-system/feature index */ -struct Index : HBUINT16 { - static constexpr unsigned NOT_FOUND_INDEX = 0xFFFFu; - Index& operator = (uint16_t i) { HBUINT16::operator= (i); return *this; } -}; -DECLARE_NULL_NAMESPACE_BYTES (OT, Index); - -typedef Index NameID; - -struct VarIdx : HBUINT32 { - static constexpr unsigned NO_VARIATION = 0xFFFFFFFFu; - VarIdx& operator = (uint32_t i) { HBUINT32::operator= (i); return *this; } -}; -DECLARE_NULL_NAMESPACE_BYTES (OT, VarIdx); - -/* Offset, Null offset = 0 */ -template -struct Offset : Type -{ - Offset& operator = (typename Type::type i) { Type::operator= (i); return *this; } - - typedef Type type; - - bool is_null () const { return has_null && 0 == *this; } - - public: - DEFINE_SIZE_STATIC (sizeof (Type)); -}; - -typedef Offset Offset16; -typedef Offset Offset24; -typedef Offset Offset32; - - -/* CheckSum */ -struct CheckSum : HBUINT32 -{ - CheckSum& operator = (uint32_t i) { HBUINT32::operator= (i); return *this; } - - /* This is reference implementation from the spec. */ - static uint32_t CalcTableChecksum (const HBUINT32 *Table, uint32_t Length) - { - uint32_t Sum = 0L; - assert (0 == (Length & 3)); - const HBUINT32 *EndPtr = Table + Length / HBUINT32::static_size; - - while (Table < EndPtr) - Sum += *Table++; - return Sum; - } - - /* Note: data should be 4byte aligned and have 4byte padding at the end. */ - void set_for_data (const void *data, unsigned int length) - { *this = CalcTableChecksum ((const HBUINT32 *) data, length); } - - public: - DEFINE_SIZE_STATIC (4); -}; - - -/* - * Version Numbers - */ - -template -struct FixedVersion -{ - uint32_t to_int () const { return (major << (sizeof (FixedType) * 8)) + minor; } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this)); - } - - FixedType major; - FixedType minor; - public: - DEFINE_SIZE_STATIC (2 * sizeof (FixedType)); -}; - - -/* - * Template subclasses of Offset that do the dereferencing. - * Use: (base+offset) - */ - -template -struct _hb_has_null -{ - static const Type *get_null () { return nullptr; } - static Type *get_crap () { return nullptr; } -}; -template -struct _hb_has_null -{ - static const Type *get_null () { return &Null (Type); } - static Type *get_crap () { return &Crap (Type); } -}; - -template -struct OffsetTo : Offset -{ - HB_DELETE_COPY_ASSIGN (OffsetTo); - OffsetTo () = default; - - OffsetTo& operator = (typename OffsetType::type i) { OffsetType::operator= (i); return *this; } - - const Type& operator () (const void *base) const - { - if (unlikely (this->is_null ())) return *_hb_has_null::get_null (); - return StructAtOffset (base, *this); - } - Type& operator () (void *base) const - { - if (unlikely (this->is_null ())) return *_hb_has_null::get_crap (); - return StructAtOffset (base, *this); - } - - template - friend const Type& operator + (const Base &base, const OffsetTo &offset) { return offset ((const void *) base); } - template - friend const Type& operator + (const OffsetTo &offset, const Base &base) { return offset ((const void *) base); } - template - friend Type& operator + (Base &&base, OffsetTo &offset) { return offset ((void *) base); } - template - friend Type& operator + (OffsetTo &offset, Base &&base) { return offset ((void *) base); } - - - template - bool serialize_subset (hb_subset_context_t *c, const OffsetTo& src, - const void *src_base, Ts&&... ds) - { - *this = 0; - if (src.is_null ()) - return false; - - auto *s = c->serializer; - - s->push (); - - bool ret = c->dispatch (src_base+src, std::forward (ds)...); - - if (ret || !has_null) - s->add_link (*this, s->pop_pack ()); - else - s->pop_discard (); - - return ret; - } - - - template - bool serialize_serialize (hb_serialize_context_t *c, Ts&&... ds) - { - *this = 0; - - Type* obj = c->push (); - bool ret = obj->serialize (c, std::forward (ds)...); - - if (ret) - c->add_link (*this, c->pop_pack ()); - else - c->pop_discard (); - - return ret; - } - - /* TODO: Somehow merge this with previous function into a serialize_dispatch(). */ - /* Workaround clang bug: https://bugs.llvm.org/show_bug.cgi?id=23029 - * Can't compile: whence = hb_serialize_context_t::Head followed by Ts&&... - */ - template - bool serialize_copy (hb_serialize_context_t *c, const OffsetTo& src, - const void *src_base, unsigned dst_bias, - hb_serialize_context_t::whence_t whence, - Ts&&... ds) - { - *this = 0; - if (src.is_null ()) - return false; - - c->push (); - - bool ret = c->copy (src_base+src, std::forward (ds)...); - - c->add_link (*this, c->pop_pack (), whence, dst_bias); - - return ret; - } - - bool serialize_copy (hb_serialize_context_t *c, const OffsetTo& src, - const void *src_base, unsigned dst_bias = 0) - { return serialize_copy (c, src, src_base, dst_bias, hb_serialize_context_t::Head); } - - bool sanitize_shallow (hb_sanitize_context_t *c, const void *base) const - { - TRACE_SANITIZE (this); - if (unlikely (!c->check_struct (this))) return_trace (false); - if (unlikely (this->is_null ())) return_trace (true); - if (unlikely ((const char *) base + (unsigned) *this < (const char *) base)) return_trace (false); - return_trace (true); - } - - template - bool sanitize (hb_sanitize_context_t *c, const void *base, Ts&&... ds) const - { - TRACE_SANITIZE (this); - return_trace (sanitize_shallow (c, base) && - (this->is_null () || - c->dispatch (StructAtOffset (base, *this), std::forward (ds)...) || - neuter (c))); - } - - /* Set the offset to Null */ - bool neuter (hb_sanitize_context_t *c) const - { - if (!has_null) return false; - return c->try_set (this, 0); - } - DEFINE_SIZE_STATIC (sizeof (OffsetType)); -}; -/* Partial specializations. */ -template using Offset16To = OffsetTo; -template using Offset24To = OffsetTo; -template using Offset32To = OffsetTo; - -template using NNOffsetTo = OffsetTo; -template using NNOffset16To = Offset16To; -template using NNOffset24To = Offset24To; -template using NNOffset32To = Offset32To; - - -/* - * Array Types - */ - -template -struct UnsizedArrayOf -{ - typedef Type item_t; - static constexpr unsigned item_size = hb_static_size (Type); - - HB_DELETE_CREATE_COPY_ASSIGN (UnsizedArrayOf); - - const Type& operator [] (int i_) const - { - unsigned int i = (unsigned int) i_; - const Type *p = &arrayZ[i]; - if (unlikely (p < arrayZ)) return Null (Type); /* Overflowed. */ - return *p; - } - Type& operator [] (int i_) - { - unsigned int i = (unsigned int) i_; - Type *p = &arrayZ[i]; - if (unlikely (p < arrayZ)) return Crap (Type); /* Overflowed. */ - return *p; - } - - unsigned int get_size (unsigned int len) const - { return len * Type::static_size; } - - template operator T * () { return arrayZ; } - template operator const T * () const { return arrayZ; } - hb_array_t as_array (unsigned int len) - { return hb_array (arrayZ, len); } - hb_array_t as_array (unsigned int len) const - { return hb_array (arrayZ, len); } - - template - Type &lsearch (unsigned int len, const T &x, Type ¬_found = Crap (Type)) - { return *as_array (len).lsearch (x, ¬_found); } - template - const Type &lsearch (unsigned int len, const T &x, const Type ¬_found = Null (Type)) const - { return *as_array (len).lsearch (x, ¬_found); } - template - bool lfind (unsigned int len, const T &x, unsigned int *i = nullptr, - hb_not_found_t not_found = HB_NOT_FOUND_DONT_STORE, - unsigned int to_store = (unsigned int) -1) const - { return as_array (len).lfind (x, i, not_found, to_store); } - - void qsort (unsigned int len, unsigned int start = 0, unsigned int end = (unsigned int) -1) - { as_array (len).qsort (start, end); } - - bool serialize (hb_serialize_context_t *c, unsigned int items_len) - { - TRACE_SERIALIZE (this); - if (unlikely (!c->extend (this, items_len))) return_trace (false); - return_trace (true); - } - template - bool serialize (hb_serialize_context_t *c, Iterator items) - { - TRACE_SERIALIZE (this); - unsigned count = items.len (); - if (unlikely (!serialize (c, count))) return_trace (false); - /* TODO Umm. Just exhaust the iterator instead? Being extra - * cautious right now.. */ - for (unsigned i = 0; i < count; i++, ++items) - arrayZ[i] = *items; - return_trace (true); - } - - UnsizedArrayOf* copy (hb_serialize_context_t *c, unsigned count) const - { - TRACE_SERIALIZE (this); - auto *out = c->start_embed (this); - if (unlikely (!as_array (count).copy (c))) return_trace (nullptr); - return_trace (out); - } - - template - bool sanitize (hb_sanitize_context_t *c, unsigned int count, Ts&&... ds) const - { - TRACE_SANITIZE (this); - if (unlikely (!sanitize_shallow (c, count))) return_trace (false); - if (!sizeof... (Ts) && std::is_trivially_copyable::value) return_trace (true); - for (unsigned int i = 0; i < count; i++) - if (unlikely (!c->dispatch (arrayZ[i], std::forward (ds)...))) - return_trace (false); - return_trace (true); - } - - bool sanitize_shallow (hb_sanitize_context_t *c, unsigned int count) const - { - TRACE_SANITIZE (this); - return_trace (c->check_array (arrayZ, count)); - } - - public: - Type arrayZ[HB_VAR_ARRAY]; - public: - DEFINE_SIZE_UNBOUNDED (0); -}; - -/* Unsized array of offset's */ -template -using UnsizedArray16OfOffsetTo = UnsizedArrayOf>; - -/* Unsized array of offsets relative to the beginning of the array itself. */ -template -struct UnsizedListOfOffset16To : UnsizedArray16OfOffsetTo -{ - const Type& operator [] (int i_) const - { - unsigned int i = (unsigned int) i_; - const OffsetTo *p = &this->arrayZ[i]; - if (unlikely (p < this->arrayZ)) return Null (Type); /* Overflowed. */ - return this+*p; - } - Type& operator [] (int i_) - { - unsigned int i = (unsigned int) i_; - const OffsetTo *p = &this->arrayZ[i]; - if (unlikely (p < this->arrayZ)) return Crap (Type); /* Overflowed. */ - return this+*p; - } - - template - bool sanitize (hb_sanitize_context_t *c, unsigned int count, Ts&&... ds) const - { - TRACE_SANITIZE (this); - return_trace ((UnsizedArray16OfOffsetTo - ::sanitize (c, count, this, std::forward (ds)...))); - } -}; - -/* An array with sorted elements. Supports binary searching. */ -template -struct SortedUnsizedArrayOf : UnsizedArrayOf -{ - hb_sorted_array_t as_array (unsigned int len) - { return hb_sorted_array (this->arrayZ, len); } - hb_sorted_array_t as_array (unsigned int len) const - { return hb_sorted_array (this->arrayZ, len); } - operator hb_sorted_array_t () { return as_array (); } - operator hb_sorted_array_t () const { return as_array (); } - - template - Type &bsearch (unsigned int len, const T &x, Type ¬_found = Crap (Type)) - { return *as_array (len).bsearch (x, ¬_found); } - template - const Type &bsearch (unsigned int len, const T &x, const Type ¬_found = Null (Type)) const - { return *as_array (len).bsearch (x, ¬_found); } - template - bool bfind (unsigned int len, const T &x, unsigned int *i = nullptr, - hb_not_found_t not_found = HB_NOT_FOUND_DONT_STORE, - unsigned int to_store = (unsigned int) -1) const - { return as_array (len).bfind (x, i, not_found, to_store); } -}; - - -/* An array with a number of elements. */ -template -struct ArrayOf -{ - typedef Type item_t; - static constexpr unsigned item_size = hb_static_size (Type); - - HB_DELETE_CREATE_COPY_ASSIGN (ArrayOf); - - const Type& operator [] (int i_) const - { - unsigned int i = (unsigned int) i_; - if (unlikely (i >= len)) return Null (Type); - return arrayZ[i]; - } - Type& operator [] (int i_) - { - unsigned int i = (unsigned int) i_; - if (unlikely (i >= len)) return Crap (Type); - return arrayZ[i]; - } - - unsigned int get_size () const - { return len.static_size + len * Type::static_size; } - - explicit operator bool () const { return len; } - - void pop () { len--; } - - hb_array_t< Type> as_array () { return hb_array (arrayZ, len); } - hb_array_t as_array () const { return hb_array (arrayZ, len); } - - /* Iterator. */ - typedef hb_array_t iter_t; - typedef hb_array_t< Type> writer_t; - iter_t iter () const { return as_array (); } - writer_t writer () { return as_array (); } - operator iter_t () const { return iter (); } - operator writer_t () { return writer (); } - - hb_array_t sub_array (unsigned int start_offset, unsigned int count) const - { return as_array ().sub_array (start_offset, count); } - hb_array_t sub_array (unsigned int start_offset, unsigned int *count = nullptr /* IN/OUT */) const - { return as_array ().sub_array (start_offset, count); } - hb_array_t sub_array (unsigned int start_offset, unsigned int count) - { return as_array ().sub_array (start_offset, count); } - hb_array_t sub_array (unsigned int start_offset, unsigned int *count = nullptr /* IN/OUT */) - { return as_array ().sub_array (start_offset, count); } - - template - Type &lsearch (const T &x, Type ¬_found = Crap (Type)) - { return *as_array ().lsearch (x, ¬_found); } - template - const Type &lsearch (const T &x, const Type ¬_found = Null (Type)) const - { return *as_array ().lsearch (x, ¬_found); } - template - bool lfind (const T &x, unsigned int *i = nullptr, - hb_not_found_t not_found = HB_NOT_FOUND_DONT_STORE, - unsigned int to_store = (unsigned int) -1) const - { return as_array ().lfind (x, i, not_found, to_store); } - - void qsort (unsigned int start = 0, unsigned int end = (unsigned int) -1) - { as_array ().qsort (start, end); } - - HB_NODISCARD bool serialize (hb_serialize_context_t *c, unsigned items_len) - { - TRACE_SERIALIZE (this); - if (unlikely (!c->extend_min (this))) return_trace (false); - c->check_assign (len, items_len, HB_SERIALIZE_ERROR_ARRAY_OVERFLOW); - if (unlikely (!c->extend (this))) return_trace (false); - return_trace (true); - } - template - HB_NODISCARD bool serialize (hb_serialize_context_t *c, Iterator items) - { - TRACE_SERIALIZE (this); - unsigned count = items.len (); - if (unlikely (!serialize (c, count))) return_trace (false); - /* TODO Umm. Just exhaust the iterator instead? Being extra - * cautious right now.. */ - for (unsigned i = 0; i < count; i++, ++items) - arrayZ[i] = *items; - return_trace (true); - } - - Type* serialize_append (hb_serialize_context_t *c) - { - TRACE_SERIALIZE (this); - len++; - if (unlikely (!len || !c->extend (this))) - { - len--; - return_trace (nullptr); - } - return_trace (&arrayZ[len - 1]); - } - - ArrayOf* copy (hb_serialize_context_t *c) const - { - TRACE_SERIALIZE (this); - auto *out = c->start_embed (this); - if (unlikely (!c->extend_min (out))) return_trace (nullptr); - c->check_assign (out->len, len, HB_SERIALIZE_ERROR_ARRAY_OVERFLOW); - if (unlikely (!as_array ().copy (c))) return_trace (nullptr); - return_trace (out); - } - - template - bool sanitize (hb_sanitize_context_t *c, Ts&&... ds) const - { - TRACE_SANITIZE (this); - if (unlikely (!sanitize_shallow (c))) return_trace (false); - if (!sizeof... (Ts) && std::is_trivially_copyable::value) return_trace (true); - unsigned int count = len; - for (unsigned int i = 0; i < count; i++) - if (unlikely (!c->dispatch (arrayZ[i], std::forward (ds)...))) - return_trace (false); - return_trace (true); - } - - bool sanitize_shallow (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (len.sanitize (c) && c->check_array (arrayZ, len)); - } - - public: - LenType len; - Type arrayZ[HB_VAR_ARRAY]; - public: - DEFINE_SIZE_ARRAY (sizeof (LenType), arrayZ); -}; -template using Array16Of = ArrayOf; -template using Array32Of = ArrayOf; -using PString = ArrayOf; - -/* Array of Offset's */ -template using Array16OfOffset16To = ArrayOf, HBUINT16>; -template using Array16OfOffset32To = ArrayOf, HBUINT16>; -template using Array32OfOffset32To = ArrayOf, HBUINT32>; - -/* Array of offsets relative to the beginning of the array itself. */ -template -struct List16OfOffset16To : Array16OfOffset16To -{ - const Type& operator [] (int i_) const - { - unsigned int i = (unsigned int) i_; - if (unlikely (i >= this->len)) return Null (Type); - return this+this->arrayZ[i]; - } - const Type& operator [] (int i_) - { - unsigned int i = (unsigned int) i_; - if (unlikely (i >= this->len)) return Crap (Type); - return this+this->arrayZ[i]; - } - - bool subset (hb_subset_context_t *c) const - { - TRACE_SUBSET (this); - struct List16OfOffset16To *out = c->serializer->embed (*this); - if (unlikely (!out)) return_trace (false); - unsigned int count = this->len; - for (unsigned int i = 0; i < count; i++) - out->arrayZ[i].serialize_subset (c, this->arrayZ[i], this, out); - return_trace (true); - } - - template - bool sanitize (hb_sanitize_context_t *c, Ts&&... ds) const - { - TRACE_SANITIZE (this); - return_trace (Array16OfOffset16To::sanitize (c, this, std::forward (ds)...)); - } -}; - -/* An array starting at second element. */ -template -struct HeadlessArrayOf -{ - static constexpr unsigned item_size = Type::static_size; - - HB_DELETE_CREATE_COPY_ASSIGN (HeadlessArrayOf); - - const Type& operator [] (int i_) const - { - unsigned int i = (unsigned int) i_; - if (unlikely (i >= lenP1 || !i)) return Null (Type); - return arrayZ[i-1]; - } - Type& operator [] (int i_) - { - unsigned int i = (unsigned int) i_; - if (unlikely (i >= lenP1 || !i)) return Crap (Type); - return arrayZ[i-1]; - } - unsigned int get_size () const - { return lenP1.static_size + get_length () * Type::static_size; } - - unsigned get_length () const { return lenP1 ? lenP1 - 1 : 0; } - - hb_array_t< Type> as_array () { return hb_array (arrayZ, get_length ()); } - hb_array_t as_array () const { return hb_array (arrayZ, get_length ()); } - - /* Iterator. */ - typedef hb_array_t iter_t; - typedef hb_array_t< Type> writer_t; - iter_t iter () const { return as_array (); } - writer_t writer () { return as_array (); } - operator iter_t () const { return iter (); } - operator writer_t () { return writer (); } - - bool serialize (hb_serialize_context_t *c, unsigned int items_len) - { - TRACE_SERIALIZE (this); - if (unlikely (!c->extend_min (this))) return_trace (false); - c->check_assign (lenP1, items_len + 1, HB_SERIALIZE_ERROR_ARRAY_OVERFLOW); - if (unlikely (!c->extend (this))) return_trace (false); - return_trace (true); - } - template - bool serialize (hb_serialize_context_t *c, Iterator items) - { - TRACE_SERIALIZE (this); - unsigned count = items.len (); - if (unlikely (!serialize (c, count))) return_trace (false); - /* TODO Umm. Just exhaust the iterator instead? Being extra - * cautious right now.. */ - for (unsigned i = 0; i < count; i++, ++items) - arrayZ[i] = *items; - return_trace (true); - } - - template - bool sanitize (hb_sanitize_context_t *c, Ts&&... ds) const - { - TRACE_SANITIZE (this); - if (unlikely (!sanitize_shallow (c))) return_trace (false); - if (!sizeof... (Ts) && std::is_trivially_copyable::value) return_trace (true); - unsigned int count = get_length (); - for (unsigned int i = 0; i < count; i++) - if (unlikely (!c->dispatch (arrayZ[i], std::forward (ds)...))) - return_trace (false); - return_trace (true); - } - - private: - bool sanitize_shallow (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (lenP1.sanitize (c) && - (!lenP1 || c->check_array (arrayZ, lenP1 - 1))); - } - - public: - LenType lenP1; - Type arrayZ[HB_VAR_ARRAY]; - public: - DEFINE_SIZE_ARRAY (sizeof (LenType), arrayZ); -}; - -/* An array storing length-1. */ -template -struct ArrayOfM1 -{ - HB_DELETE_CREATE_COPY_ASSIGN (ArrayOfM1); - - const Type& operator [] (int i_) const - { - unsigned int i = (unsigned int) i_; - if (unlikely (i > lenM1)) return Null (Type); - return arrayZ[i]; - } - Type& operator [] (int i_) - { - unsigned int i = (unsigned int) i_; - if (unlikely (i > lenM1)) return Crap (Type); - return arrayZ[i]; - } - unsigned int get_size () const - { return lenM1.static_size + (lenM1 + 1) * Type::static_size; } - - template - bool sanitize (hb_sanitize_context_t *c, Ts&&... ds) const - { - TRACE_SANITIZE (this); - if (unlikely (!sanitize_shallow (c))) return_trace (false); - if (!sizeof... (Ts) && std::is_trivially_copyable::value) return_trace (true); - unsigned int count = lenM1 + 1; - for (unsigned int i = 0; i < count; i++) - if (unlikely (!c->dispatch (arrayZ[i], std::forward (ds)...))) - return_trace (false); - return_trace (true); - } - - private: - bool sanitize_shallow (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (lenM1.sanitize (c) && - (c->check_array (arrayZ, lenM1 + 1))); - } - - public: - LenType lenM1; - Type arrayZ[HB_VAR_ARRAY]; - public: - DEFINE_SIZE_ARRAY (sizeof (LenType), arrayZ); -}; - -/* An array with sorted elements. Supports binary searching. */ -template -struct SortedArrayOf : ArrayOf -{ - hb_sorted_array_t< Type> as_array () { return hb_sorted_array (this->arrayZ, this->len); } - hb_sorted_array_t as_array () const { return hb_sorted_array (this->arrayZ, this->len); } - - /* Iterator. */ - typedef hb_sorted_array_t iter_t; - typedef hb_sorted_array_t< Type> writer_t; - iter_t iter () const { return as_array (); } - writer_t writer () { return as_array (); } - operator iter_t () const { return iter (); } - operator writer_t () { return writer (); } - - hb_sorted_array_t sub_array (unsigned int start_offset, unsigned int count) const - { return as_array ().sub_array (start_offset, count); } - hb_sorted_array_t sub_array (unsigned int start_offset, unsigned int *count = nullptr /* IN/OUT */) const - { return as_array ().sub_array (start_offset, count); } - hb_sorted_array_t sub_array (unsigned int start_offset, unsigned int count) - { return as_array ().sub_array (start_offset, count); } - hb_sorted_array_t sub_array (unsigned int start_offset, unsigned int *count = nullptr /* IN/OUT */) - { return as_array ().sub_array (start_offset, count); } - - bool serialize (hb_serialize_context_t *c, unsigned int items_len) - { - TRACE_SERIALIZE (this); - bool ret = ArrayOf::serialize (c, items_len); - return_trace (ret); - } - template - bool serialize (hb_serialize_context_t *c, Iterator items) - { - TRACE_SERIALIZE (this); - bool ret = ArrayOf::serialize (c, items); - return_trace (ret); - } - - template - Type &bsearch (const T &x, Type ¬_found = Crap (Type)) - { return *as_array ().bsearch (x, ¬_found); } - template - const Type &bsearch (const T &x, const Type ¬_found = Null (Type)) const - { return *as_array ().bsearch (x, ¬_found); } - template - bool bfind (const T &x, unsigned int *i = nullptr, - hb_not_found_t not_found = HB_NOT_FOUND_DONT_STORE, - unsigned int to_store = (unsigned int) -1) const - { return as_array ().bfind (x, i, not_found, to_store); } -}; - -template using SortedArray16Of = SortedArrayOf; -template using SortedArray32Of = SortedArrayOf; - -/* - * Binary-search arrays - */ - -template -struct BinSearchHeader -{ - operator uint32_t () const { return len; } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this)); - } - - BinSearchHeader& operator = (unsigned int v) - { - len = v; - assert (len == v); - entrySelector = hb_max (1u, hb_bit_storage (v)) - 1; - searchRange = 16 * (1u << entrySelector); - rangeShift = v * 16 > searchRange - ? 16 * v - searchRange - : 0; - return *this; - } - - protected: - LenType len; - LenType searchRange; - LenType entrySelector; - LenType rangeShift; - - public: - DEFINE_SIZE_STATIC (8); -}; - -template -using BinSearchArrayOf = SortedArrayOf>; - - -struct VarSizedBinSearchHeader -{ - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this)); - } - - HBUINT16 unitSize; /* Size of a lookup unit for this search in bytes. */ - HBUINT16 nUnits; /* Number of units of the preceding size to be searched. */ - HBUINT16 searchRange; /* The value of unitSize times the largest power of 2 - * that is less than or equal to the value of nUnits. */ - HBUINT16 entrySelector; /* The log base 2 of the largest power of 2 less than - * or equal to the value of nUnits. */ - HBUINT16 rangeShift; /* The value of unitSize times the difference of the - * value of nUnits minus the largest power of 2 less - * than or equal to the value of nUnits. */ - public: - DEFINE_SIZE_STATIC (10); -}; - -template -struct VarSizedBinSearchArrayOf -{ - static constexpr unsigned item_size = Type::static_size; - - HB_DELETE_CREATE_COPY_ASSIGN (VarSizedBinSearchArrayOf); - - bool last_is_terminator () const - { - if (unlikely (!header.nUnits)) return false; - - /* Gah. - * - * "The number of termination values that need to be included is table-specific. - * The value that indicates binary search termination is 0xFFFF." */ - const HBUINT16 *words = &StructAtOffset (&bytesZ, (header.nUnits - 1) * header.unitSize); - unsigned int count = Type::TerminationWordCount; - for (unsigned int i = 0; i < count; i++) - if (words[i] != 0xFFFFu) - return false; - return true; - } - - const Type& operator [] (int i_) const - { - unsigned int i = (unsigned int) i_; - if (unlikely (i >= get_length ())) return Null (Type); - return StructAtOffset (&bytesZ, i * header.unitSize); - } - Type& operator [] (int i_) - { - unsigned int i = (unsigned int) i_; - if (unlikely (i >= get_length ())) return Crap (Type); - return StructAtOffset (&bytesZ, i * header.unitSize); - } - unsigned int get_length () const - { return header.nUnits - last_is_terminator (); } - unsigned int get_size () const - { return header.static_size + header.nUnits * header.unitSize; } - - template - bool sanitize (hb_sanitize_context_t *c, Ts&&... ds) const - { - TRACE_SANITIZE (this); - if (unlikely (!sanitize_shallow (c))) return_trace (false); - if (!sizeof... (Ts) && std::is_trivially_copyable::value) return_trace (true); - unsigned int count = get_length (); - for (unsigned int i = 0; i < count; i++) - if (unlikely (!(*this)[i].sanitize (c, std::forward (ds)...))) - return_trace (false); - return_trace (true); - } - - template - const Type *bsearch (const T &key) const - { - unsigned pos; - return hb_bsearch_impl (&pos, - key, - (const void *) bytesZ, - get_length (), - header.unitSize, - _hb_cmp_method) - ? (const Type *) (((const char *) &bytesZ) + (pos * header.unitSize)) - : nullptr; - } - - private: - bool sanitize_shallow (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (header.sanitize (c) && - Type::static_size <= header.unitSize && - c->check_range (bytesZ.arrayZ, - header.nUnits, - header.unitSize)); - } - - protected: - VarSizedBinSearchHeader header; - UnsizedArrayOf bytesZ; - public: - DEFINE_SIZE_ARRAY (10, bytesZ); -}; - - -} /* namespace OT */ - - -#endif /* HB_OPEN_TYPE_HH */ diff --git a/harfbuzz/src/hb-ot-cff-common.hh b/harfbuzz/src/hb-ot-cff-common.hh deleted file mode 100644 index 180c87c..0000000 --- a/harfbuzz/src/hb-ot-cff-common.hh +++ /dev/null @@ -1,622 +0,0 @@ -/* - * Copyright © 2018 Adobe Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Adobe Author(s): Michiharu Ariza - */ -#ifndef HB_OT_CFF_COMMON_HH -#define HB_OT_CFF_COMMON_HH - -#include "hb-open-type.hh" -#include "hb-bimap.hh" -#include "hb-ot-layout-common.hh" -#include "hb-cff-interp-dict-common.hh" -#include "hb-subset-plan.hh" - -namespace CFF { - -using namespace OT; - -#define CFF_UNDEF_CODE 0xFFFFFFFF - -using objidx_t = hb_serialize_context_t::objidx_t; -using whence_t = hb_serialize_context_t::whence_t; - -/* utility macro */ -template -static inline const Type& StructAtOffsetOrNull (const void *P, unsigned int offset) -{ return offset ? StructAtOffset (P, offset) : Null (Type); } - -inline unsigned int calcOffSize (unsigned int dataSize) -{ - unsigned int size = 1; - unsigned int offset = dataSize + 1; - while (offset & ~0xFF) - { - size++; - offset >>= 8; - } - /* format does not support size > 4; caller should handle it as an error */ - return size; -} - -struct code_pair_t -{ - hb_codepoint_t code; - hb_codepoint_t glyph; -}; - -typedef hb_vector_t str_buff_t; -struct str_buff_vec_t : hb_vector_t -{ - void fini () { SUPER::fini_deep (); } - - unsigned int total_size () const - { - unsigned int size = 0; - for (unsigned int i = 0; i < length; i++) - size += (*this)[i].length; - return size; - } - - private: - typedef hb_vector_t SUPER; -}; - -/* CFF INDEX */ -template -struct CFFIndex -{ - static unsigned int calculate_offset_array_size (unsigned int offSize, unsigned int count) - { return offSize * (count + 1); } - - unsigned int offset_array_size () const - { return calculate_offset_array_size (offSize, count); } - - CFFIndex *copy (hb_serialize_context_t *c) const - { - TRACE_SERIALIZE (this); - unsigned int size = get_size (); - CFFIndex *out = c->allocate_size (size); - if (likely (out)) - memcpy (out, this, size); - return_trace (out); - } - - bool serialize (hb_serialize_context_t *c, const CFFIndex &src) - { - TRACE_SERIALIZE (this); - unsigned int size = src.get_size (); - CFFIndex *dest = c->allocate_size (size); - if (unlikely (!dest)) return_trace (false); - memcpy (dest, &src, size); - return_trace (true); - } - - bool serialize (hb_serialize_context_t *c, - unsigned int offSize_, - const byte_str_array_t &byteArray) - { - TRACE_SERIALIZE (this); - if (byteArray.length == 0) - { - COUNT *dest = c->allocate_min (); - if (unlikely (!dest)) return_trace (false); - *dest = 0; - } - else - { - /* serialize CFFIndex header */ - if (unlikely (!c->extend_min (this))) return_trace (false); - this->count = byteArray.length; - this->offSize = offSize_; - if (unlikely (!c->allocate_size (offSize_ * (byteArray.length + 1)))) - return_trace (false); - - /* serialize indices */ - unsigned int offset = 1; - unsigned int i = 0; - for (; i < byteArray.length; i++) - { - set_offset_at (i, offset); - offset += byteArray[i].get_size (); - } - set_offset_at (i, offset); - - /* serialize data */ - for (unsigned int i = 0; i < byteArray.length; i++) - { - const byte_str_t &bs = byteArray[i]; - unsigned char *dest = c->allocate_size (bs.length); - if (unlikely (!dest)) return_trace (false); - memcpy (dest, &bs[0], bs.length); - } - } - return_trace (true); - } - - bool serialize (hb_serialize_context_t *c, - unsigned int offSize_, - const str_buff_vec_t &buffArray) - { - byte_str_array_t byteArray; - byteArray.init (); - byteArray.resize (buffArray.length); - for (unsigned int i = 0; i < byteArray.length; i++) - byteArray[i] = byte_str_t (buffArray[i].arrayZ, buffArray[i].length); - bool result = this->serialize (c, offSize_, byteArray); - byteArray.fini (); - return result; - } - - template - bool serialize (hb_serialize_context_t *c, - Iterator it) - { - TRACE_SERIALIZE (this); - if (it.len () == 0) - { - COUNT *dest = c->allocate_min (); - if (unlikely (!dest)) return_trace (false); - *dest = 0; - } - else - { - serialize_header(c, + it | hb_map ([] (const byte_str_t &_) { return _.length; })); - for (const auto &_ : +it) - _.copy (c); - } - return_trace (true); - } - - bool serialize (hb_serialize_context_t *c, - const byte_str_array_t &byteArray) - { return serialize (c, + hb_iter (byteArray)); } - - bool serialize (hb_serialize_context_t *c, - const str_buff_vec_t &buffArray) - { - auto it = - + hb_iter (buffArray) - | hb_map ([] (const str_buff_t &_) { return byte_str_t (_.arrayZ, _.length); }) - ; - return serialize (c, it); - } - - template - bool serialize_header (hb_serialize_context_t *c, - Iterator it) - { - TRACE_SERIALIZE (this); - - unsigned total = + it | hb_reduce (hb_add, 0); - unsigned off_size = calcOffSize (total); - - /* serialize CFFIndex header */ - if (unlikely (!c->extend_min (this))) return_trace (false); - this->count = it.len (); - this->offSize = off_size; - if (unlikely (!c->allocate_size (off_size * (it.len () + 1)))) - return_trace (false); - - /* serialize indices */ - unsigned int offset = 1; - unsigned int i = 0; - for (unsigned _ : +it) - { - CFFIndex::set_offset_at (i++, offset); - offset += _; - } - CFFIndex::set_offset_at (i, offset); - - return_trace (true); - } - - void set_offset_at (unsigned int index, unsigned int offset) - { - HBUINT8 *p = offsets + offSize * index + offSize; - unsigned int size = offSize; - for (; size; size--) - { - --p; - *p = offset & 0xFF; - offset >>= 8; - } - } - - unsigned int offset_at (unsigned int index) const - { - assert (index <= count); - const HBUINT8 *p = offsets + offSize * index; - unsigned int size = offSize; - unsigned int offset = 0; - for (; size; size--) - offset = (offset << 8) + *p++; - return offset; - } - - unsigned int length_at (unsigned int index) const - { - if (unlikely ((offset_at (index + 1) < offset_at (index)) || - (offset_at (index + 1) > offset_at (count)))) - return 0; - return offset_at (index + 1) - offset_at (index); - } - - const unsigned char *data_base () const - { return (const unsigned char *) this + min_size + offset_array_size (); } - - unsigned int data_size () const { return HBINT8::static_size; } - - byte_str_t operator [] (unsigned int index) const - { - if (unlikely (index >= count)) return Null (byte_str_t); - return byte_str_t (data_base () + offset_at (index) - 1, length_at (index)); - } - - unsigned int get_size () const - { - if (this == &Null (CFFIndex)) return 0; - if (count > 0) - return min_size + offset_array_size () + (offset_at (count) - 1); - return count.static_size; /* empty CFFIndex contains count only */ - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (likely ((c->check_struct (this) && count == 0) || /* empty INDEX */ - (c->check_struct (this) && offSize >= 1 && offSize <= 4 && - c->check_array (offsets, offSize, count + 1) && - c->check_array ((const HBUINT8*) data_base (), 1, max_offset () - 1)))); - } - - protected: - unsigned int max_offset () const - { - unsigned int max = 0; - for (unsigned int i = 0; i < count + 1u; i++) - { - unsigned int off = offset_at (i); - if (off > max) max = off; - } - return max; - } - - public: - COUNT count; /* Number of object data. Note there are (count+1) offsets */ - HBUINT8 offSize; /* The byte size of each offset in the offsets array. */ - HBUINT8 offsets[HB_VAR_ARRAY]; - /* The array of (count + 1) offsets into objects array (1-base). */ - /* HBUINT8 data[HB_VAR_ARRAY]; Object data */ - public: - DEFINE_SIZE_ARRAY (COUNT::static_size + HBUINT8::static_size, offsets); -}; - -template -struct CFFIndexOf : CFFIndex -{ - const byte_str_t operator [] (unsigned int index) const - { - if (likely (index < CFFIndex::count)) - return byte_str_t (CFFIndex::data_base () + CFFIndex::offset_at (index) - 1, CFFIndex::length_at (index)); - return Null (byte_str_t); - } - - template - bool serialize (hb_serialize_context_t *c, - unsigned int offSize_, - const DATA *dataArray, - unsigned int dataArrayLen, - const hb_vector_t &dataSizeArray, - const PARAM1 ¶m1, - const PARAM2 ¶m2) - { - TRACE_SERIALIZE (this); - /* serialize CFFIndex header */ - if (unlikely (!c->extend_min (this))) return_trace (false); - this->count = dataArrayLen; - this->offSize = offSize_; - if (unlikely (!c->allocate_size (offSize_ * (dataArrayLen + 1)))) - return_trace (false); - - /* serialize indices */ - unsigned int offset = 1; - unsigned int i = 0; - for (; i < dataArrayLen; i++) - { - CFFIndex::set_offset_at (i, offset); - offset += dataSizeArray[i]; - } - CFFIndex::set_offset_at (i, offset); - - /* serialize data */ - for (unsigned int i = 0; i < dataArrayLen; i++) - { - TYPE *dest = c->start_embed (); - if (unlikely (!dest || !dest->serialize (c, dataArray[i], param1, param2))) - return_trace (false); - } - return_trace (true); - } -}; - -/* Top Dict, Font Dict, Private Dict */ -struct Dict : UnsizedByteStr -{ - template - bool serialize (hb_serialize_context_t *c, - const DICTVAL &dictval, - OP_SERIALIZER& opszr, - Ts&&... ds) - { - TRACE_SERIALIZE (this); - for (unsigned int i = 0; i < dictval.get_count (); i++) - if (unlikely (!opszr.serialize (c, dictval[i], std::forward (ds)...))) - return_trace (false); - - return_trace (true); - } - - template - static bool serialize_int_op (hb_serialize_context_t *c, op_code_t op, V value, op_code_t intOp) - { - // XXX: not sure why but LLVM fails to compile the following 'unlikely' macro invocation - if (/*unlikely*/ (!serialize_int (c, intOp, value))) - return false; - - TRACE_SERIALIZE (this); - /* serialize the opcode */ - HBUINT8 *p = c->allocate_size (OpCode_Size (op)); - if (unlikely (!p)) return_trace (false); - if (Is_OpCode_ESC (op)) - { - *p = OpCode_escape; - op = Unmake_OpCode_ESC (op); - p++; - } - *p = op; - return_trace (true); - } - - template - static bool serialize_int4_op (hb_serialize_context_t *c, op_code_t op, V value) - { return serialize_int_op (c, op, value, OpCode_longintdict); } - - template - static bool serialize_int2_op (hb_serialize_context_t *c, op_code_t op, V value) - { return serialize_int_op (c, op, value, OpCode_shortint); } - - template - static bool serialize_link_op (hb_serialize_context_t *c, op_code_t op, objidx_t link, whence_t whence) - { - T &ofs = *(T *) (c->head + OpCode_Size (int_op)); - if (unlikely (!serialize_int_op (c, op, 0, int_op))) return false; - c->add_link (ofs, link, whence); - return true; - } - - static bool serialize_link4_op (hb_serialize_context_t *c, op_code_t op, objidx_t link, whence_t whence = whence_t::Head) - { return serialize_link_op (c, op, link, whence); } - - static bool serialize_link2_op (hb_serialize_context_t *c, op_code_t op, objidx_t link, whence_t whence = whence_t::Head) - { return serialize_link_op (c, op, link, whence); } -}; - -struct TopDict : Dict {}; -struct FontDict : Dict {}; -struct PrivateDict : Dict {}; - -struct table_info_t -{ - void init () { offset = size = 0; link = 0; } - - unsigned int offset; - unsigned int size; - objidx_t link; -}; - -template -struct FDArray : CFFIndexOf -{ - template - bool serialize (hb_serialize_context_t *c, - Iterator it, - OP_SERIALIZER& opszr) - { - TRACE_SERIALIZE (this); - - /* serialize INDEX data */ - hb_vector_t sizes; - c->push (); - + it - | hb_map ([&] (const hb_pair_t &_) - { - FontDict *dict = c->start_embed (); - dict->serialize (c, _.first, opszr, _.second); - return c->head - (const char*)dict; - }) - | hb_sink (sizes) - ; - c->pop_pack (false); - - /* serialize INDEX header */ - return_trace (CFFIndex::serialize_header (c, hb_iter (sizes))); - } -}; - -/* FDSelect */ -struct FDSelect0 { - bool sanitize (hb_sanitize_context_t *c, unsigned int fdcount) const - { - TRACE_SANITIZE (this); - if (unlikely (!(c->check_struct (this)))) - return_trace (false); - for (unsigned int i = 0; i < c->get_num_glyphs (); i++) - if (unlikely (!fds[i].sanitize (c))) - return_trace (false); - - return_trace (true); - } - - hb_codepoint_t get_fd (hb_codepoint_t glyph) const - { return (hb_codepoint_t) fds[glyph]; } - - unsigned int get_size (unsigned int num_glyphs) const - { return HBUINT8::static_size * num_glyphs; } - - HBUINT8 fds[HB_VAR_ARRAY]; - - DEFINE_SIZE_MIN (0); -}; - -template -struct FDSelect3_4_Range -{ - bool sanitize (hb_sanitize_context_t *c, const void * /*nullptr*/, unsigned int fdcount) const - { - TRACE_SANITIZE (this); - return_trace (first < c->get_num_glyphs () && (fd < fdcount)); - } - - GID_TYPE first; - FD_TYPE fd; - public: - DEFINE_SIZE_STATIC (GID_TYPE::static_size + FD_TYPE::static_size); -}; - -template -struct FDSelect3_4 -{ - unsigned int get_size () const - { return GID_TYPE::static_size * 2 + ranges.get_size (); } - - bool sanitize (hb_sanitize_context_t *c, unsigned int fdcount) const - { - TRACE_SANITIZE (this); - if (unlikely (!c->check_struct (this) || !ranges.sanitize (c, nullptr, fdcount) || - (nRanges () == 0) || ranges[0].first != 0)) - return_trace (false); - - for (unsigned int i = 1; i < nRanges (); i++) - if (unlikely (ranges[i - 1].first >= ranges[i].first)) - return_trace (false); - - if (unlikely (!sentinel().sanitize (c) || (sentinel() != c->get_num_glyphs ()))) - return_trace (false); - - return_trace (true); - } - - hb_codepoint_t get_fd (hb_codepoint_t glyph) const - { - unsigned int i; - for (i = 1; i < nRanges (); i++) - if (glyph < ranges[i].first) - break; - - return (hb_codepoint_t) ranges[i - 1].fd; - } - - GID_TYPE &nRanges () { return ranges.len; } - GID_TYPE nRanges () const { return ranges.len; } - GID_TYPE &sentinel () { return StructAfter (ranges[nRanges () - 1]); } - const GID_TYPE &sentinel () const { return StructAfter (ranges[nRanges () - 1]); } - - ArrayOf, GID_TYPE> ranges; - /* GID_TYPE sentinel */ - - DEFINE_SIZE_ARRAY (GID_TYPE::static_size, ranges); -}; - -typedef FDSelect3_4 FDSelect3; -typedef FDSelect3_4_Range FDSelect3_Range; - -struct FDSelect -{ - bool serialize (hb_serialize_context_t *c, const FDSelect &src, unsigned int num_glyphs) - { - TRACE_SERIALIZE (this); - unsigned int size = src.get_size (num_glyphs); - FDSelect *dest = c->allocate_size (size); - if (unlikely (!dest)) return_trace (false); - memcpy (dest, &src, size); - return_trace (true); - } - - unsigned int get_size (unsigned int num_glyphs) const - { - switch (format) - { - case 0: return format.static_size + u.format0.get_size (num_glyphs); - case 3: return format.static_size + u.format3.get_size (); - default:return 0; - } - } - - hb_codepoint_t get_fd (hb_codepoint_t glyph) const - { - if (this == &Null (FDSelect)) return 0; - - switch (format) - { - case 0: return u.format0.get_fd (glyph); - case 3: return u.format3.get_fd (glyph); - default:return 0; - } - } - - bool sanitize (hb_sanitize_context_t *c, unsigned int fdcount) const - { - TRACE_SANITIZE (this); - if (unlikely (!c->check_struct (this))) - return_trace (false); - - switch (format) - { - case 0: return_trace (u.format0.sanitize (c, fdcount)); - case 3: return_trace (u.format3.sanitize (c, fdcount)); - default:return_trace (false); - } - } - - HBUINT8 format; - union { - FDSelect0 format0; - FDSelect3 format3; - } u; - public: - DEFINE_SIZE_MIN (1); -}; - -template -struct Subrs : CFFIndex -{ - typedef COUNT count_type; - typedef CFFIndex SUPER; -}; - -} /* namespace CFF */ - -#endif /* HB_OT_CFF_COMMON_HH */ diff --git a/harfbuzz/src/hb-ot-cff1-std-str.hh b/harfbuzz/src/hb-ot-cff1-std-str.hh deleted file mode 100644 index 65d56ae..0000000 --- a/harfbuzz/src/hb-ot-cff1-std-str.hh +++ /dev/null @@ -1,425 +0,0 @@ -/* - * Copyright © 2019 Adobe, Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Adobe Author(s): Michiharu Ariza - */ - -#ifndef HB_OT_CFF1_STD_STR_HH -#if 0 /* Make checks happy. */ -#define HB_OT_CFF1_STD_STR_HH -#include "hb.hh" -#endif - -_S(".notdef") -_S("space") -_S("exclam") -_S("quotedbl") -_S("numbersign") -_S("dollar") -_S("percent") -_S("ampersand") -_S("quoteright") -_S("parenleft") -_S("parenright") -_S("asterisk") -_S("plus") -_S("comma") -_S("hyphen") -_S("period") -_S("slash") -_S("zero") -_S("one") -_S("two") -_S("three") -_S("four") -_S("five") -_S("six") -_S("seven") -_S("eight") -_S("nine") -_S("colon") -_S("semicolon") -_S("less") -_S("equal") -_S("greater") -_S("question") -_S("at") -_S("A") -_S("B") -_S("C") -_S("D") -_S("E") -_S("F") -_S("G") -_S("H") -_S("I") -_S("J") -_S("K") -_S("L") -_S("M") -_S("N") -_S("O") -_S("P") -_S("Q") -_S("R") -_S("S") -_S("T") -_S("U") -_S("V") -_S("W") -_S("X") -_S("Y") -_S("Z") -_S("bracketleft") -_S("backslash") -_S("bracketright") -_S("asciicircum") -_S("underscore") -_S("quoteleft") -_S("a") -_S("b") -_S("c") -_S("d") -_S("e") -_S("f") -_S("g") -_S("h") -_S("i") -_S("j") -_S("k") -_S("l") -_S("m") -_S("n") -_S("o") -_S("p") -_S("q") -_S("r") -_S("s") -_S("t") -_S("u") -_S("v") -_S("w") -_S("x") -_S("y") -_S("z") -_S("braceleft") -_S("bar") -_S("braceright") -_S("asciitilde") -_S("exclamdown") -_S("cent") -_S("sterling") -_S("fraction") -_S("yen") -_S("florin") -_S("section") -_S("currency") -_S("quotesingle") -_S("quotedblleft") -_S("guillemotleft") -_S("guilsinglleft") -_S("guilsinglright") -_S("fi") -_S("fl") -_S("endash") -_S("dagger") -_S("daggerdbl") -_S("periodcentered") -_S("paragraph") -_S("bullet") -_S("quotesinglbase") -_S("quotedblbase") -_S("quotedblright") -_S("guillemotright") -_S("ellipsis") -_S("perthousand") -_S("questiondown") -_S("grave") -_S("acute") -_S("circumflex") -_S("tilde") -_S("macron") -_S("breve") -_S("dotaccent") -_S("dieresis") -_S("ring") -_S("cedilla") -_S("hungarumlaut") -_S("ogonek") -_S("caron") -_S("emdash") -_S("AE") -_S("ordfeminine") -_S("Lslash") -_S("Oslash") -_S("OE") -_S("ordmasculine") -_S("ae") -_S("dotlessi") -_S("lslash") -_S("oslash") -_S("oe") -_S("germandbls") -_S("onesuperior") -_S("logicalnot") -_S("mu") -_S("trademark") -_S("Eth") -_S("onehalf") -_S("plusminus") -_S("Thorn") -_S("onequarter") -_S("divide") -_S("brokenbar") -_S("degree") -_S("thorn") -_S("threequarters") -_S("twosuperior") -_S("registered") -_S("minus") -_S("eth") -_S("multiply") -_S("threesuperior") -_S("copyright") -_S("Aacute") -_S("Acircumflex") -_S("Adieresis") -_S("Agrave") -_S("Aring") -_S("Atilde") -_S("Ccedilla") -_S("Eacute") -_S("Ecircumflex") -_S("Edieresis") -_S("Egrave") -_S("Iacute") -_S("Icircumflex") -_S("Idieresis") -_S("Igrave") -_S("Ntilde") -_S("Oacute") -_S("Ocircumflex") -_S("Odieresis") -_S("Ograve") -_S("Otilde") -_S("Scaron") -_S("Uacute") -_S("Ucircumflex") -_S("Udieresis") -_S("Ugrave") -_S("Yacute") -_S("Ydieresis") -_S("Zcaron") -_S("aacute") -_S("acircumflex") -_S("adieresis") -_S("agrave") -_S("aring") -_S("atilde") -_S("ccedilla") -_S("eacute") -_S("ecircumflex") -_S("edieresis") -_S("egrave") -_S("iacute") -_S("icircumflex") -_S("idieresis") -_S("igrave") -_S("ntilde") -_S("oacute") -_S("ocircumflex") -_S("odieresis") -_S("ograve") -_S("otilde") -_S("scaron") -_S("uacute") -_S("ucircumflex") -_S("udieresis") -_S("ugrave") -_S("yacute") -_S("ydieresis") -_S("zcaron") -_S("exclamsmall") -_S("Hungarumlautsmall") -_S("dollaroldstyle") -_S("dollarsuperior") -_S("ampersandsmall") -_S("Acutesmall") -_S("parenleftsuperior") -_S("parenrightsuperior") -_S("twodotenleader") -_S("onedotenleader") -_S("zerooldstyle") -_S("oneoldstyle") -_S("twooldstyle") -_S("threeoldstyle") -_S("fouroldstyle") -_S("fiveoldstyle") -_S("sixoldstyle") -_S("sevenoldstyle") -_S("eightoldstyle") -_S("nineoldstyle") -_S("commasuperior") -_S("threequartersemdash") -_S("periodsuperior") -_S("questionsmall") -_S("asuperior") -_S("bsuperior") -_S("centsuperior") -_S("dsuperior") -_S("esuperior") -_S("isuperior") -_S("lsuperior") -_S("msuperior") -_S("nsuperior") -_S("osuperior") -_S("rsuperior") -_S("ssuperior") -_S("tsuperior") -_S("ff") -_S("ffi") -_S("ffl") -_S("parenleftinferior") -_S("parenrightinferior") -_S("Circumflexsmall") -_S("hyphensuperior") -_S("Gravesmall") -_S("Asmall") -_S("Bsmall") -_S("Csmall") -_S("Dsmall") -_S("Esmall") -_S("Fsmall") -_S("Gsmall") -_S("Hsmall") -_S("Ismall") -_S("Jsmall") -_S("Ksmall") -_S("Lsmall") -_S("Msmall") -_S("Nsmall") -_S("Osmall") -_S("Psmall") -_S("Qsmall") -_S("Rsmall") -_S("Ssmall") -_S("Tsmall") -_S("Usmall") -_S("Vsmall") -_S("Wsmall") -_S("Xsmall") -_S("Ysmall") -_S("Zsmall") -_S("colonmonetary") -_S("onefitted") -_S("rupiah") -_S("Tildesmall") -_S("exclamdownsmall") -_S("centoldstyle") -_S("Lslashsmall") -_S("Scaronsmall") -_S("Zcaronsmall") -_S("Dieresissmall") -_S("Brevesmall") -_S("Caronsmall") -_S("Dotaccentsmall") -_S("Macronsmall") -_S("figuredash") -_S("hypheninferior") -_S("Ogoneksmall") -_S("Ringsmall") -_S("Cedillasmall") -_S("questiondownsmall") -_S("oneeighth") -_S("threeeighths") -_S("fiveeighths") -_S("seveneighths") -_S("onethird") -_S("twothirds") -_S("zerosuperior") -_S("foursuperior") -_S("fivesuperior") -_S("sixsuperior") -_S("sevensuperior") -_S("eightsuperior") -_S("ninesuperior") -_S("zeroinferior") -_S("oneinferior") -_S("twoinferior") -_S("threeinferior") -_S("fourinferior") -_S("fiveinferior") -_S("sixinferior") -_S("seveninferior") -_S("eightinferior") -_S("nineinferior") -_S("centinferior") -_S("dollarinferior") -_S("periodinferior") -_S("commainferior") -_S("Agravesmall") -_S("Aacutesmall") -_S("Acircumflexsmall") -_S("Atildesmall") -_S("Adieresissmall") -_S("Aringsmall") -_S("AEsmall") -_S("Ccedillasmall") -_S("Egravesmall") -_S("Eacutesmall") -_S("Ecircumflexsmall") -_S("Edieresissmall") -_S("Igravesmall") -_S("Iacutesmall") -_S("Icircumflexsmall") -_S("Idieresissmall") -_S("Ethsmall") -_S("Ntildesmall") -_S("Ogravesmall") -_S("Oacutesmall") -_S("Ocircumflexsmall") -_S("Otildesmall") -_S("Odieresissmall") -_S("OEsmall") -_S("Oslashsmall") -_S("Ugravesmall") -_S("Uacutesmall") -_S("Ucircumflexsmall") -_S("Udieresissmall") -_S("Yacutesmall") -_S("Thornsmall") -_S("Ydieresissmall") -_S("001.000") -_S("001.001") -_S("001.002") -_S("001.003") -_S("Black") -_S("Bold") -_S("Book") -_S("Light") -_S("Medium") -_S("Regular") -_S("Roman") -_S("Semibold") - -#endif /* HB_OT_CFF1_STD_STR_HH */ diff --git a/harfbuzz/src/hb-ot-cff1-table.cc b/harfbuzz/src/hb-ot-cff1-table.cc deleted file mode 100644 index 3298fa3..0000000 --- a/harfbuzz/src/hb-ot-cff1-table.cc +++ /dev/null @@ -1,620 +0,0 @@ -/* - * Copyright © 2018 Adobe Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Adobe Author(s): Michiharu Ariza - */ - -#include "hb.hh" - -#ifndef HB_NO_CFF - -#include "hb-draw.hh" -#include "hb-algs.hh" -#include "hb-ot-cff1-table.hh" -#include "hb-cff1-interp-cs.hh" - -using namespace CFF; - -struct sid_to_gid_t -{ - uint16_t sid; - uint8_t gid; - - int cmp (uint16_t a) const - { - if (a == sid) return 0; - return (a < sid) ? -1 : 1; - } -}; - -/* SID to code */ -static const uint8_t standard_encoding_to_code [] = -{ - 0, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, - 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, - 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, - 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, - 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, - 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, - 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 177, - 178, 179, 180, 182, 183, 184, 185, 186, 187, 188, 189, 191, 193, 194, 195, 196, - 197, 198, 199, 200, 202, 203, 205, 206, 207, 208, 225, 227, 232, 233, 234, 235, - 241, 245, 248, 249, 250, 251 -}; - -/* SID to code */ -static const uint8_t expert_encoding_to_code [] = -{ - 0, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 44, 45, 46, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 58, 59, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 47, 0, 0, 0, 0, 0, 0, 0, 0, 0, 87, 88, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 201, 0, 0, 0, 0, 189, 0, 0, 188, 0, - 0, 0, 0, 190, 202, 0, 0, 0, 0, 203, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 33, 34, 36, 37, 38, 39, 40, 41, 42, 43, 48, - 49, 50, 51, 52, 53, 54, 55, 56, 57, 60, 61, 62, 63, 65, 66, 67, - 68, 69, 73, 76, 77, 78, 79, 82, 83, 84, 86, 89, 90, 91, 93, 94, - 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, - 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, - 161, 162, 163, 166, 167, 168, 169, 170, 172, 175, 178, 179, 182, 183, 184, 191, - 192, 193, 194, 195, 196, 197, 200, 204, 205, 206, 207, 208, 209, 210, 211, 212, - 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, - 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, - 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255 -}; - -/* glyph ID to SID */ -static const uint16_t expert_charset_to_sid [] = -{ - 0, 1, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 13, 14, 15, 99, - 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 27, 28, 249, 250, 251, 252, - 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 109, 110, - 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, - 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, - 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, - 315, 316, 317, 318, 158, 155, 163, 319, 320, 321, 322, 323, 324, 325, 326, 150, - 164, 169, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, - 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, - 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, - 373, 374, 375, 376, 377, 378 -}; - -/* glyph ID to SID */ -static const uint16_t expert_subset_charset_to_sid [] = -{ - 0, 1, 231, 232, 235, 236, 237, 238, 13, 14, 15, 99, 239, 240, 241, 242, - 243, 244, 245, 246, 247, 248, 27, 28, 249, 250, 251, 253, 254, 255, 256, 257, - 258, 259, 260, 261, 262, 263, 264, 265, 266, 109, 110, 267, 268, 269, 270, 272, - 300, 301, 302, 305, 314, 315, 158, 155, 163, 320, 321, 322, 323, 324, 325, 326, - 150, 164, 169, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, - 340, 341, 342, 343, 344, 345, 346 -}; - -/* SID to glyph ID */ -static const sid_to_gid_t expert_charset_sid_to_gid [] = -{ - { 1, 1 }, { 13, 12 }, { 14, 13 }, { 15, 14 }, - { 27, 26 }, { 28, 27 }, { 99, 15 }, { 109, 46 }, - { 110, 47 }, { 150, 111 }, { 155, 101 }, { 158, 100 }, - { 163, 102 }, { 164, 112 }, { 169, 113 }, { 229, 2 }, - { 230, 3 }, { 231, 4 }, { 232, 5 }, { 233, 6 }, - { 234, 7 }, { 235, 8 }, { 236, 9 }, { 237, 10 }, - { 238, 11 }, { 239, 16 }, { 240, 17 }, { 241, 18 }, - { 242, 19 }, { 243, 20 }, { 244, 21 }, { 245, 22 }, - { 246, 23 }, { 247, 24 }, { 248, 25 }, { 249, 28 }, - { 250, 29 }, { 251, 30 }, { 252, 31 }, { 253, 32 }, - { 254, 33 }, { 255, 34 }, { 256, 35 }, { 257, 36 }, - { 258, 37 }, { 259, 38 }, { 260, 39 }, { 261, 40 }, - { 262, 41 }, { 263, 42 }, { 264, 43 }, { 265, 44 }, - { 266, 45 }, { 267, 48 }, { 268, 49 }, { 269, 50 }, - { 270, 51 }, { 271, 52 }, { 272, 53 }, { 273, 54 }, - { 274, 55 }, { 275, 56 }, { 276, 57 }, { 277, 58 }, - { 278, 59 }, { 279, 60 }, { 280, 61 }, { 281, 62 }, - { 282, 63 }, { 283, 64 }, { 284, 65 }, { 285, 66 }, - { 286, 67 }, { 287, 68 }, { 288, 69 }, { 289, 70 }, - { 290, 71 }, { 291, 72 }, { 292, 73 }, { 293, 74 }, - { 294, 75 }, { 295, 76 }, { 296, 77 }, { 297, 78 }, - { 298, 79 }, { 299, 80 }, { 300, 81 }, { 301, 82 }, - { 302, 83 }, { 303, 84 }, { 304, 85 }, { 305, 86 }, - { 306, 87 }, { 307, 88 }, { 308, 89 }, { 309, 90 }, - { 310, 91 }, { 311, 92 }, { 312, 93 }, { 313, 94 }, - { 314, 95 }, { 315, 96 }, { 316, 97 }, { 317, 98 }, - { 318, 99 }, { 319, 103 }, { 320, 104 }, { 321, 105 }, - { 322, 106 }, { 323, 107 }, { 324, 108 }, { 325, 109 }, - { 326, 110 }, { 327, 114 }, { 328, 115 }, { 329, 116 }, - { 330, 117 }, { 331, 118 }, { 332, 119 }, { 333, 120 }, - { 334, 121 }, { 335, 122 }, { 336, 123 }, { 337, 124 }, - { 338, 125 }, { 339, 126 }, { 340, 127 }, { 341, 128 }, - { 342, 129 }, { 343, 130 }, { 344, 131 }, { 345, 132 }, - { 346, 133 }, { 347, 134 }, { 348, 135 }, { 349, 136 }, - { 350, 137 }, { 351, 138 }, { 352, 139 }, { 353, 140 }, - { 354, 141 }, { 355, 142 }, { 356, 143 }, { 357, 144 }, - { 358, 145 }, { 359, 146 }, { 360, 147 }, { 361, 148 }, - { 362, 149 }, { 363, 150 }, { 364, 151 }, { 365, 152 }, - { 366, 153 }, { 367, 154 }, { 368, 155 }, { 369, 156 }, - { 370, 157 }, { 371, 158 }, { 372, 159 }, { 373, 160 }, - { 374, 161 }, { 375, 162 }, { 376, 163 }, { 377, 164 }, - { 378, 165 } -}; - -/* SID to glyph ID */ -static const sid_to_gid_t expert_subset_charset_sid_to_gid [] = -{ - { 1, 1 }, { 13, 8 }, { 14, 9 }, { 15, 10 }, - { 27, 22 }, { 28, 23 }, { 99, 11 }, { 109, 41 }, - { 110, 42 }, { 150, 64 }, { 155, 55 }, { 158, 54 }, - { 163, 56 }, { 164, 65 }, { 169, 66 }, { 231, 2 }, - { 232, 3 }, { 235, 4 }, { 236, 5 }, { 237, 6 }, - { 238, 7 }, { 239, 12 }, { 240, 13 }, { 241, 14 }, - { 242, 15 }, { 243, 16 }, { 244, 17 }, { 245, 18 }, - { 246, 19 }, { 247, 20 }, { 248, 21 }, { 249, 24 }, - { 250, 25 }, { 251, 26 }, { 253, 27 }, { 254, 28 }, - { 255, 29 }, { 256, 30 }, { 257, 31 }, { 258, 32 }, - { 259, 33 }, { 260, 34 }, { 261, 35 }, { 262, 36 }, - { 263, 37 }, { 264, 38 }, { 265, 39 }, { 266, 40 }, - { 267, 43 }, { 268, 44 }, { 269, 45 }, { 270, 46 }, - { 272, 47 }, { 300, 48 }, { 301, 49 }, { 302, 50 }, - { 305, 51 }, { 314, 52 }, { 315, 53 }, { 320, 57 }, - { 321, 58 }, { 322, 59 }, { 323, 60 }, { 324, 61 }, - { 325, 62 }, { 326, 63 }, { 327, 67 }, { 328, 68 }, - { 329, 69 }, { 330, 70 }, { 331, 71 }, { 332, 72 }, - { 333, 73 }, { 334, 74 }, { 335, 75 }, { 336, 76 }, - { 337, 77 }, { 338, 78 }, { 339, 79 }, { 340, 80 }, - { 341, 81 }, { 342, 82 }, { 343, 83 }, { 344, 84 }, - { 345, 85 }, { 346, 86 } -}; - -/* code to SID */ -static const uint8_t standard_encoding_to_sid [] = -{ - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, - 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, - 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, - 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, - 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, - 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, - 0, 111, 112, 113, 114, 0, 115, 116, 117, 118, 119, 120, 121, 122, 0, 123, - 0, 124, 125, 126, 127, 128, 129, 130, 131, 0, 132, 133, 0, 134, 135, 136, - 137, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 138, 0, 139, 0, 0, 0, 0, 140, 141, 142, 143, 0, 0, 0, 0, - 0, 144, 0, 0, 0, 145, 0, 0, 146, 147, 148, 149, 0, 0, 0, 0 -}; - -hb_codepoint_t OT::cff1::lookup_standard_encoding_for_code (hb_codepoint_t sid) -{ - if (sid < ARRAY_LENGTH (standard_encoding_to_code)) - return (hb_codepoint_t)standard_encoding_to_code[sid]; - else - return 0; -} - -hb_codepoint_t OT::cff1::lookup_expert_encoding_for_code (hb_codepoint_t sid) -{ - if (sid < ARRAY_LENGTH (expert_encoding_to_code)) - return (hb_codepoint_t)expert_encoding_to_code[sid]; - else - return 0; -} - -hb_codepoint_t OT::cff1::lookup_expert_charset_for_sid (hb_codepoint_t glyph) -{ - if (glyph < ARRAY_LENGTH (expert_charset_to_sid)) - return (hb_codepoint_t)expert_charset_to_sid[glyph]; - else - return 0; -} - -hb_codepoint_t OT::cff1::lookup_expert_subset_charset_for_sid (hb_codepoint_t glyph) -{ - if (glyph < ARRAY_LENGTH (expert_subset_charset_to_sid)) - return (hb_codepoint_t)expert_subset_charset_to_sid[glyph]; - else - return 0; -} - -hb_codepoint_t OT::cff1::lookup_expert_charset_for_glyph (hb_codepoint_t sid) -{ - const auto *pair = hb_sorted_array (expert_charset_sid_to_gid).bsearch (sid); - return pair ? pair->gid : 0; -} - -hb_codepoint_t OT::cff1::lookup_expert_subset_charset_for_glyph (hb_codepoint_t sid) -{ - const auto *pair = hb_sorted_array (expert_subset_charset_sid_to_gid).bsearch (sid); - return pair ? pair->gid : 0; -} - -hb_codepoint_t OT::cff1::lookup_standard_encoding_for_sid (hb_codepoint_t code) -{ - if (code < ARRAY_LENGTH (standard_encoding_to_sid)) - return (hb_codepoint_t)standard_encoding_to_sid[code]; - else - return CFF_UNDEF_SID; -} - -struct bounds_t -{ - void init () - { - min.set_int (INT_MAX, INT_MAX); - max.set_int (INT_MIN, INT_MIN); - } - - void update (const point_t &pt) - { - if (pt.x < min.x) min.x = pt.x; - if (pt.x > max.x) max.x = pt.x; - if (pt.y < min.y) min.y = pt.y; - if (pt.y > max.y) max.y = pt.y; - } - - void merge (const bounds_t &b) - { - if (empty ()) - *this = b; - else if (!b.empty ()) - { - if (b.min.x < min.x) min.x = b.min.x; - if (b.max.x > max.x) max.x = b.max.x; - if (b.min.y < min.y) min.y = b.min.y; - if (b.max.y > max.y) max.y = b.max.y; - } - } - - void offset (const point_t &delta) - { - if (!empty ()) - { - min.move (delta); - max.move (delta); - } - } - - bool empty () const { return (min.x >= max.x) || (min.y >= max.y); } - - point_t min; - point_t max; -}; - -struct cff1_extents_param_t -{ - void init (const OT::cff1::accelerator_t *_cff) - { - path_open = false; - cff = _cff; - bounds.init (); - } - - void start_path () { path_open = true; } - void end_path () { path_open = false; } - bool is_path_open () const { return path_open; } - - bool path_open; - bounds_t bounds; - - const OT::cff1::accelerator_t *cff; -}; - -struct cff1_path_procs_extents_t : path_procs_t -{ - static void moveto (cff1_cs_interp_env_t &env, cff1_extents_param_t& param, const point_t &pt) - { - param.end_path (); - env.moveto (pt); - } - - static void line (cff1_cs_interp_env_t &env, cff1_extents_param_t& param, const point_t &pt1) - { - if (!param.is_path_open ()) - { - param.start_path (); - param.bounds.update (env.get_pt ()); - } - env.moveto (pt1); - param.bounds.update (env.get_pt ()); - } - - static void curve (cff1_cs_interp_env_t &env, cff1_extents_param_t& param, const point_t &pt1, const point_t &pt2, const point_t &pt3) - { - if (!param.is_path_open ()) - { - param.start_path (); - param.bounds.update (env.get_pt ()); - } - /* include control points */ - param.bounds.update (pt1); - param.bounds.update (pt2); - env.moveto (pt3); - param.bounds.update (env.get_pt ()); - } -}; - -static bool _get_bounds (const OT::cff1::accelerator_t *cff, hb_codepoint_t glyph, bounds_t &bounds, bool in_seac=false); - -struct cff1_cs_opset_extents_t : cff1_cs_opset_t -{ - static void process_seac (cff1_cs_interp_env_t &env, cff1_extents_param_t& param) - { - unsigned int n = env.argStack.get_count (); - point_t delta; - delta.x = env.argStack[n-4]; - delta.y = env.argStack[n-3]; - hb_codepoint_t base = param.cff->std_code_to_glyph (env.argStack[n-2].to_int ()); - hb_codepoint_t accent = param.cff->std_code_to_glyph (env.argStack[n-1].to_int ()); - - bounds_t base_bounds, accent_bounds; - if (likely (!env.in_seac && base && accent - && _get_bounds (param.cff, base, base_bounds, true) - && _get_bounds (param.cff, accent, accent_bounds, true))) - { - param.bounds.merge (base_bounds); - accent_bounds.offset (delta); - param.bounds.merge (accent_bounds); - } - else - env.set_error (); - } -}; - -bool _get_bounds (const OT::cff1::accelerator_t *cff, hb_codepoint_t glyph, bounds_t &bounds, bool in_seac) -{ - bounds.init (); - if (unlikely (!cff->is_valid () || (glyph >= cff->num_glyphs))) return false; - - unsigned int fd = cff->fdSelect->get_fd (glyph); - cff1_cs_interpreter_t interp; - const byte_str_t str = (*cff->charStrings)[glyph]; - interp.env.init (str, *cff, fd); - interp.env.set_in_seac (in_seac); - cff1_extents_param_t param; - param.init (cff); - if (unlikely (!interp.interpret (param))) return false; - bounds = param.bounds; - return true; -} - -bool OT::cff1::accelerator_t::get_extents (hb_font_t *font, hb_codepoint_t glyph, hb_glyph_extents_t *extents) const -{ -#ifdef HB_NO_OT_FONT_CFF - /* XXX Remove check when this code moves to .hh file. */ - return true; -#endif - - bounds_t bounds; - - if (!_get_bounds (this, glyph, bounds)) - return false; - - if (bounds.min.x >= bounds.max.x) - { - extents->width = 0; - extents->x_bearing = 0; - } - else - { - extents->x_bearing = font->em_scalef_x (bounds.min.x.to_real ()); - extents->width = font->em_scalef_x (bounds.max.x.to_real ()) - extents->x_bearing; - } - if (bounds.min.y >= bounds.max.y) - { - extents->height = 0; - extents->y_bearing = 0; - } - else - { - extents->y_bearing = font->em_scalef_y (bounds.max.y.to_real ()); - extents->height = font->em_scalef_y (bounds.min.y.to_real ()) - extents->y_bearing; - } - - return true; -} - -#ifdef HB_EXPERIMENTAL_API -struct cff1_path_param_t -{ - cff1_path_param_t (const OT::cff1::accelerator_t *cff_, hb_font_t *font_, - draw_helper_t &draw_helper_, point_t *delta_) - { - draw_helper = &draw_helper_; - cff = cff_; - font = font_; - delta = delta_; - } - - void move_to (const point_t &p) - { - point_t point = p; - if (delta) point.move (*delta); - draw_helper->move_to (font->em_scalef_x (point.x.to_real ()), font->em_scalef_y (point.y.to_real ())); - } - - void line_to (const point_t &p) - { - point_t point = p; - if (delta) point.move (*delta); - draw_helper->line_to (font->em_scalef_x (point.x.to_real ()), font->em_scalef_y (point.y.to_real ())); - } - - void cubic_to (const point_t &p1, const point_t &p2, const point_t &p3) - { - point_t point1 = p1, point2 = p2, point3 = p3; - if (delta) - { - point1.move (*delta); - point2.move (*delta); - point3.move (*delta); - } - draw_helper->cubic_to (font->em_scalef_x (point1.x.to_real ()), font->em_scalef_y (point1.y.to_real ()), - font->em_scalef_x (point2.x.to_real ()), font->em_scalef_y (point2.y.to_real ()), - font->em_scalef_x (point3.x.to_real ()), font->em_scalef_y (point3.y.to_real ())); - } - - void end_path () { draw_helper->end_path (); } - - hb_font_t *font; - draw_helper_t *draw_helper; - point_t *delta; - - const OT::cff1::accelerator_t *cff; -}; - -struct cff1_path_procs_path_t : path_procs_t -{ - static void moveto (cff1_cs_interp_env_t &env, cff1_path_param_t& param, const point_t &pt) - { - param.move_to (pt); - env.moveto (pt); - } - - static void line (cff1_cs_interp_env_t &env, cff1_path_param_t ¶m, const point_t &pt1) - { - param.line_to (pt1); - env.moveto (pt1); - } - - static void curve (cff1_cs_interp_env_t &env, cff1_path_param_t ¶m, const point_t &pt1, const point_t &pt2, const point_t &pt3) - { - param.cubic_to (pt1, pt2, pt3); - env.moveto (pt3); - } -}; - -static bool _get_path (const OT::cff1::accelerator_t *cff, hb_font_t *font, hb_codepoint_t glyph, - draw_helper_t &draw_helper, bool in_seac = false, point_t *delta = nullptr); - -struct cff1_cs_opset_path_t : cff1_cs_opset_t -{ - static void process_seac (cff1_cs_interp_env_t &env, cff1_path_param_t& param) - { - /* End previous path */ - param.end_path (); - - unsigned int n = env.argStack.get_count (); - point_t delta; - delta.x = env.argStack[n-4]; - delta.y = env.argStack[n-3]; - hb_codepoint_t base = param.cff->std_code_to_glyph (env.argStack[n-2].to_int ()); - hb_codepoint_t accent = param.cff->std_code_to_glyph (env.argStack[n-1].to_int ()); - - if (unlikely (!(!env.in_seac && base && accent - && _get_path (param.cff, param.font, base, *param.draw_helper, true) - && _get_path (param.cff, param.font, accent, *param.draw_helper, true, &delta)))) - env.set_error (); - } -}; - -bool _get_path (const OT::cff1::accelerator_t *cff, hb_font_t *font, hb_codepoint_t glyph, - draw_helper_t &draw_helper, bool in_seac, point_t *delta) -{ - if (unlikely (!cff->is_valid () || (glyph >= cff->num_glyphs))) return false; - - unsigned int fd = cff->fdSelect->get_fd (glyph); - cff1_cs_interpreter_t interp; - const byte_str_t str = (*cff->charStrings)[glyph]; - interp.env.init (str, *cff, fd); - interp.env.set_in_seac (in_seac); - cff1_path_param_t param (cff, font, draw_helper, delta); - if (unlikely (!interp.interpret (param))) return false; - - /* Let's end the path specially since it is called inside seac also */ - param.end_path (); - - return true; -} - -bool OT::cff1::accelerator_t::get_path (hb_font_t *font, hb_codepoint_t glyph, draw_helper_t &draw_helper) const -{ -#ifdef HB_NO_OT_FONT_CFF - /* XXX Remove check when this code moves to .hh file. */ - return true; -#endif - - return _get_path (this, font, glyph, draw_helper); -} -#endif - -struct get_seac_param_t -{ - void init (const OT::cff1::accelerator_t *_cff) - { - cff = _cff; - base = 0; - accent = 0; - } - - bool has_seac () const { return base && accent; } - - const OT::cff1::accelerator_t *cff; - hb_codepoint_t base; - hb_codepoint_t accent; -}; - -struct cff1_cs_opset_seac_t : cff1_cs_opset_t -{ - static void process_seac (cff1_cs_interp_env_t &env, get_seac_param_t& param) - { - unsigned int n = env.argStack.get_count (); - hb_codepoint_t base_char = (hb_codepoint_t)env.argStack[n-2].to_int (); - hb_codepoint_t accent_char = (hb_codepoint_t)env.argStack[n-1].to_int (); - - param.base = param.cff->std_code_to_glyph (base_char); - param.accent = param.cff->std_code_to_glyph (accent_char); - } -}; - -bool OT::cff1::accelerator_t::get_seac_components (hb_codepoint_t glyph, hb_codepoint_t *base, hb_codepoint_t *accent) const -{ - if (unlikely (!is_valid () || (glyph >= num_glyphs))) return false; - - unsigned int fd = fdSelect->get_fd (glyph); - cff1_cs_interpreter_t interp; - const byte_str_t str = (*charStrings)[glyph]; - interp.env.init (str, *this, fd); - get_seac_param_t param; - param.init (this); - if (unlikely (!interp.interpret (param))) return false; - - if (param.has_seac ()) - { - *base = param.base; - *accent = param.accent; - return true; - } - return false; -} - - -#endif diff --git a/harfbuzz/src/hb-ot-cff1-table.hh b/harfbuzz/src/hb-ot-cff1-table.hh deleted file mode 100644 index 5dd183e..0000000 --- a/harfbuzz/src/hb-ot-cff1-table.hh +++ /dev/null @@ -1,1404 +0,0 @@ -/* - * Copyright © 2018 Adobe Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Adobe Author(s): Michiharu Ariza - */ - -#ifndef HB_OT_CFF1_TABLE_HH -#define HB_OT_CFF1_TABLE_HH - -#include "hb-ot-cff-common.hh" -#include "hb-subset-cff1.hh" -#include "hb-draw.hh" - -#define HB_STRING_ARRAY_NAME cff1_std_strings -#define HB_STRING_ARRAY_LIST "hb-ot-cff1-std-str.hh" -#include "hb-string-array.hh" -#undef HB_STRING_ARRAY_LIST -#undef HB_STRING_ARRAY_NAME - -namespace CFF { - -/* - * CFF -- Compact Font Format (CFF) - * https://www.adobe.com/content/dam/acom/en/devnet/font/pdfs/5176.CFF.pdf - */ -#define HB_OT_TAG_cff1 HB_TAG('C','F','F',' ') - -#define CFF_UNDEF_SID CFF_UNDEF_CODE - -enum EncodingID { StandardEncoding = 0, ExpertEncoding = 1 }; -enum CharsetID { ISOAdobeCharset = 0, ExpertCharset = 1, ExpertSubsetCharset = 2 }; - -typedef CFFIndex CFF1Index; -template struct CFF1IndexOf : CFFIndexOf {}; - -typedef CFFIndex CFF1Index; -typedef CFF1Index CFF1CharStrings; -typedef Subrs CFF1Subrs; - -struct CFF1FDSelect : FDSelect {}; - -/* Encoding */ -struct Encoding0 { - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (codes.sanitize (c)); - } - - hb_codepoint_t get_code (hb_codepoint_t glyph) const - { - assert (glyph > 0); - glyph--; - if (glyph < nCodes ()) - { - return (hb_codepoint_t)codes[glyph]; - } - else - return CFF_UNDEF_CODE; - } - - HBUINT8 &nCodes () { return codes.len; } - HBUINT8 nCodes () const { return codes.len; } - - ArrayOf codes; - - DEFINE_SIZE_ARRAY_SIZED (1, codes); -}; - -struct Encoding1_Range { - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this)); - } - - HBUINT8 first; - HBUINT8 nLeft; - - DEFINE_SIZE_STATIC (2); -}; - -struct Encoding1 { - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (ranges.sanitize (c)); - } - - hb_codepoint_t get_code (hb_codepoint_t glyph) const - { - assert (glyph > 0); - glyph--; - for (unsigned int i = 0; i < nRanges (); i++) - { - if (glyph <= ranges[i].nLeft) - { - hb_codepoint_t code = (hb_codepoint_t) ranges[i].first + glyph; - return (likely (code < 0x100) ? code: CFF_UNDEF_CODE); - } - glyph -= (ranges[i].nLeft + 1); - } - return CFF_UNDEF_CODE; - } - - HBUINT8 &nRanges () { return ranges.len; } - HBUINT8 nRanges () const { return ranges.len; } - - ArrayOf ranges; - - DEFINE_SIZE_ARRAY_SIZED (1, ranges); -}; - -struct SuppEncoding { - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this)); - } - - HBUINT8 code; - HBUINT16 glyph; - - DEFINE_SIZE_STATIC (3); -}; - -struct CFF1SuppEncData { - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (supps.sanitize (c)); - } - - void get_codes (hb_codepoint_t sid, hb_vector_t &codes) const - { - for (unsigned int i = 0; i < nSups (); i++) - if (sid == supps[i].glyph) - codes.push (supps[i].code); - } - - HBUINT8 &nSups () { return supps.len; } - HBUINT8 nSups () const { return supps.len; } - - ArrayOf supps; - - DEFINE_SIZE_ARRAY_SIZED (1, supps); -}; - -struct Encoding -{ - /* serialize a fullset Encoding */ - bool serialize (hb_serialize_context_t *c, const Encoding &src) - { - TRACE_SERIALIZE (this); - unsigned int size = src.get_size (); - Encoding *dest = c->allocate_size (size); - if (unlikely (!dest)) return_trace (false); - memcpy (dest, &src, size); - return_trace (true); - } - - /* serialize a subset Encoding */ - bool serialize (hb_serialize_context_t *c, - uint8_t format, - unsigned int enc_count, - const hb_vector_t& code_ranges, - const hb_vector_t& supp_codes) - { - TRACE_SERIALIZE (this); - Encoding *dest = c->extend_min (this); - if (unlikely (!dest)) return_trace (false); - dest->format = format | ((supp_codes.length > 0) ? 0x80 : 0); - switch (format) { - case 0: - { - Encoding0 *fmt0 = c->allocate_size (Encoding0::min_size + HBUINT8::static_size * enc_count); - if (unlikely (!fmt0)) return_trace (false); - fmt0->nCodes () = enc_count; - unsigned int glyph = 0; - for (unsigned int i = 0; i < code_ranges.length; i++) - { - hb_codepoint_t code = code_ranges[i].code; - for (int left = (int)code_ranges[i].glyph; left >= 0; left--) - fmt0->codes[glyph++] = code++; - if (unlikely (!((glyph <= 0x100) && (code <= 0x100)))) - return_trace (false); - } - } - break; - - case 1: - { - Encoding1 *fmt1 = c->allocate_size (Encoding1::min_size + Encoding1_Range::static_size * code_ranges.length); - if (unlikely (!fmt1)) return_trace (false); - fmt1->nRanges () = code_ranges.length; - for (unsigned int i = 0; i < code_ranges.length; i++) - { - if (unlikely (!((code_ranges[i].code <= 0xFF) && (code_ranges[i].glyph <= 0xFF)))) - return_trace (false); - fmt1->ranges[i].first = code_ranges[i].code; - fmt1->ranges[i].nLeft = code_ranges[i].glyph; - } - } - break; - - } - - if (supp_codes.length) - { - CFF1SuppEncData *suppData = c->allocate_size (CFF1SuppEncData::min_size + SuppEncoding::static_size * supp_codes.length); - if (unlikely (!suppData)) return_trace (false); - suppData->nSups () = supp_codes.length; - for (unsigned int i = 0; i < supp_codes.length; i++) - { - suppData->supps[i].code = supp_codes[i].code; - suppData->supps[i].glyph = supp_codes[i].glyph; /* actually SID */ - } - } - - return_trace (true); - } - - unsigned int get_size () const - { - unsigned int size = min_size; - switch (table_format ()) - { - case 0: size += u.format0.get_size (); break; - case 1: size += u.format1.get_size (); break; - } - if (has_supplement ()) - size += suppEncData ().get_size (); - return size; - } - - hb_codepoint_t get_code (hb_codepoint_t glyph) const - { - switch (table_format ()) - { - case 0: return u.format0.get_code (glyph); - case 1: return u.format1.get_code (glyph); - default:return 0; - } - } - - uint8_t table_format () const { return format & 0x7F; } - bool has_supplement () const { return format & 0x80; } - - void get_supplement_codes (hb_codepoint_t sid, hb_vector_t &codes) const - { - codes.resize (0); - if (has_supplement ()) - suppEncData().get_codes (sid, codes); - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - if (unlikely (!c->check_struct (this))) - return_trace (false); - - switch (table_format ()) - { - case 0: if (unlikely (!u.format0.sanitize (c))) { return_trace (false); } break; - case 1: if (unlikely (!u.format1.sanitize (c))) { return_trace (false); } break; - default:return_trace (false); - } - return_trace (likely (!has_supplement () || suppEncData ().sanitize (c))); - } - - protected: - const CFF1SuppEncData &suppEncData () const - { - switch (table_format ()) - { - case 0: return StructAfter (u.format0.codes[u.format0.nCodes ()-1]); - case 1: return StructAfter (u.format1.ranges[u.format1.nRanges ()-1]); - default:return Null (CFF1SuppEncData); - } - } - - public: - HBUINT8 format; - union { - Encoding0 format0; - Encoding1 format1; - } u; - /* CFF1SuppEncData suppEncData; */ - - DEFINE_SIZE_MIN (1); -}; - -/* Charset */ -struct Charset0 { - bool sanitize (hb_sanitize_context_t *c, unsigned int num_glyphs) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this) && sids[num_glyphs - 1].sanitize (c)); - } - - hb_codepoint_t get_sid (hb_codepoint_t glyph) const - { - if (glyph == 0) - return 0; - else - return sids[glyph - 1]; - } - - hb_codepoint_t get_glyph (hb_codepoint_t sid, unsigned int num_glyphs) const - { - if (sid == 0) - return 0; - - for (unsigned int glyph = 1; glyph < num_glyphs; glyph++) - { - if (sids[glyph-1] == sid) - return glyph; - } - return 0; - } - - unsigned int get_size (unsigned int num_glyphs) const - { - assert (num_glyphs > 0); - return HBUINT16::static_size * (num_glyphs - 1); - } - - HBUINT16 sids[HB_VAR_ARRAY]; - - DEFINE_SIZE_ARRAY(0, sids); -}; - -template -struct Charset_Range { - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this)); - } - - HBUINT16 first; - TYPE nLeft; - - DEFINE_SIZE_STATIC (HBUINT16::static_size + TYPE::static_size); -}; - -template -struct Charset1_2 { - bool sanitize (hb_sanitize_context_t *c, unsigned int num_glyphs) const - { - TRACE_SANITIZE (this); - if (unlikely (!c->check_struct (this))) - return_trace (false); - num_glyphs--; - for (unsigned int i = 0; num_glyphs > 0; i++) - { - if (unlikely (!ranges[i].sanitize (c) || (num_glyphs < ranges[i].nLeft + 1))) - return_trace (false); - num_glyphs -= (ranges[i].nLeft + 1); - } - return_trace (true); - } - - hb_codepoint_t get_sid (hb_codepoint_t glyph) const - { - if (glyph == 0) return 0; - glyph--; - for (unsigned int i = 0;; i++) - { - if (glyph <= ranges[i].nLeft) - return (hb_codepoint_t)ranges[i].first + glyph; - glyph -= (ranges[i].nLeft + 1); - } - - return 0; - } - - hb_codepoint_t get_glyph (hb_codepoint_t sid, unsigned int num_glyphs) const - { - if (sid == 0) return 0; - hb_codepoint_t glyph = 1; - for (unsigned int i = 0;; i++) - { - if (glyph >= num_glyphs) - return 0; - if ((ranges[i].first <= sid) && (sid <= ranges[i].first + ranges[i].nLeft)) - return glyph + (sid - ranges[i].first); - glyph += (ranges[i].nLeft + 1); - } - - return 0; - } - - unsigned int get_size (unsigned int num_glyphs) const - { - unsigned int size = HBUINT8::static_size; - int glyph = (int)num_glyphs; - - assert (glyph > 0); - glyph--; - for (unsigned int i = 0; glyph > 0; i++) - { - glyph -= (ranges[i].nLeft + 1); - size += Charset_Range::static_size; - } - - return size; - } - - Charset_Range ranges[HB_VAR_ARRAY]; - - DEFINE_SIZE_ARRAY (0, ranges); -}; - -typedef Charset1_2 Charset1; -typedef Charset1_2 Charset2; -typedef Charset_Range Charset1_Range; -typedef Charset_Range Charset2_Range; - -struct Charset -{ - /* serialize a fullset Charset */ - bool serialize (hb_serialize_context_t *c, const Charset &src, unsigned int num_glyphs) - { - TRACE_SERIALIZE (this); - unsigned int size = src.get_size (num_glyphs); - Charset *dest = c->allocate_size (size); - if (unlikely (!dest)) return_trace (false); - memcpy (dest, &src, size); - return_trace (true); - } - - /* serialize a subset Charset */ - bool serialize (hb_serialize_context_t *c, - uint8_t format, - unsigned int num_glyphs, - const hb_vector_t& sid_ranges) - { - TRACE_SERIALIZE (this); - Charset *dest = c->extend_min (this); - if (unlikely (!dest)) return_trace (false); - dest->format = format; - switch (format) - { - case 0: - { - Charset0 *fmt0 = c->allocate_size (Charset0::min_size + HBUINT16::static_size * (num_glyphs - 1)); - if (unlikely (!fmt0)) return_trace (false); - unsigned int glyph = 0; - for (unsigned int i = 0; i < sid_ranges.length; i++) - { - hb_codepoint_t sid = sid_ranges[i].code; - for (int left = (int)sid_ranges[i].glyph; left >= 0; left--) - fmt0->sids[glyph++] = sid++; - } - } - break; - - case 1: - { - Charset1 *fmt1 = c->allocate_size (Charset1::min_size + Charset1_Range::static_size * sid_ranges.length); - if (unlikely (!fmt1)) return_trace (false); - for (unsigned int i = 0; i < sid_ranges.length; i++) - { - if (unlikely (!(sid_ranges[i].glyph <= 0xFF))) - return_trace (false); - fmt1->ranges[i].first = sid_ranges[i].code; - fmt1->ranges[i].nLeft = sid_ranges[i].glyph; - } - } - break; - - case 2: - { - Charset2 *fmt2 = c->allocate_size (Charset2::min_size + Charset2_Range::static_size * sid_ranges.length); - if (unlikely (!fmt2)) return_trace (false); - for (unsigned int i = 0; i < sid_ranges.length; i++) - { - if (unlikely (!(sid_ranges[i].glyph <= 0xFFFF))) - return_trace (false); - fmt2->ranges[i].first = sid_ranges[i].code; - fmt2->ranges[i].nLeft = sid_ranges[i].glyph; - } - } - break; - - } - return_trace (true); - } - - unsigned int get_size (unsigned int num_glyphs) const - { - switch (format) - { - case 0: return min_size + u.format0.get_size (num_glyphs); - case 1: return min_size + u.format1.get_size (num_glyphs); - case 2: return min_size + u.format2.get_size (num_glyphs); - default:return 0; - } - } - - hb_codepoint_t get_sid (hb_codepoint_t glyph, unsigned int num_glyphs) const - { - if (unlikely (glyph >= num_glyphs)) return 0; - switch (format) - { - case 0: return u.format0.get_sid (glyph); - case 1: return u.format1.get_sid (glyph); - case 2: return u.format2.get_sid (glyph); - default:return 0; - } - } - - hb_codepoint_t get_glyph (hb_codepoint_t sid, unsigned int num_glyphs) const - { - switch (format) - { - case 0: return u.format0.get_glyph (sid, num_glyphs); - case 1: return u.format1.get_glyph (sid, num_glyphs); - case 2: return u.format2.get_glyph (sid, num_glyphs); - default:return 0; - } - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - if (unlikely (!c->check_struct (this))) - return_trace (false); - - switch (format) - { - case 0: return_trace (u.format0.sanitize (c, c->get_num_glyphs ())); - case 1: return_trace (u.format1.sanitize (c, c->get_num_glyphs ())); - case 2: return_trace (u.format2.sanitize (c, c->get_num_glyphs ())); - default:return_trace (false); - } - } - - HBUINT8 format; - union { - Charset0 format0; - Charset1 format1; - Charset2 format2; - } u; - - DEFINE_SIZE_MIN (1); -}; - -struct CFF1StringIndex : CFF1Index -{ - bool serialize (hb_serialize_context_t *c, const CFF1StringIndex &strings, - const hb_inc_bimap_t &sidmap) - { - TRACE_SERIALIZE (this); - if (unlikely ((strings.count == 0) || (sidmap.get_population () == 0))) - { - if (unlikely (!c->extend_min (this->count))) - return_trace (false); - count = 0; - return_trace (true); - } - - byte_str_array_t bytesArray; - bytesArray.init (); - if (!bytesArray.resize (sidmap.get_population ())) - return_trace (false); - for (unsigned int i = 0; i < strings.count; i++) - { - hb_codepoint_t j = sidmap[i]; - if (j != HB_MAP_VALUE_INVALID) - bytesArray[j] = strings[i]; - } - - bool result = CFF1Index::serialize (c, bytesArray); - bytesArray.fini (); - return_trace (result); - } -}; - -struct cff1_top_dict_interp_env_t : num_interp_env_t -{ - cff1_top_dict_interp_env_t () - : num_interp_env_t(), prev_offset(0), last_offset(0) {} - - unsigned int prev_offset; - unsigned int last_offset; -}; - -struct name_dict_values_t -{ - enum name_dict_val_index_t - { - version, - notice, - copyright, - fullName, - familyName, - weight, - postscript, - fontName, - baseFontName, - registry, - ordering, - - ValCount - }; - - void init () - { - for (unsigned int i = 0; i < ValCount; i++) - values[i] = CFF_UNDEF_SID; - } - - unsigned int& operator[] (unsigned int i) - { assert (i < ValCount); return values[i]; } - - unsigned int operator[] (unsigned int i) const - { assert (i < ValCount); return values[i]; } - - static enum name_dict_val_index_t name_op_to_index (op_code_t op) - { - switch (op) { - default: // can't happen - just make some compiler happy - case OpCode_version: - return version; - case OpCode_Notice: - return notice; - case OpCode_Copyright: - return copyright; - case OpCode_FullName: - return fullName; - case OpCode_FamilyName: - return familyName; - case OpCode_Weight: - return weight; - case OpCode_PostScript: - return postscript; - case OpCode_FontName: - return fontName; - case OpCode_BaseFontName: - return baseFontName; - } - } - - unsigned int values[ValCount]; -}; - -struct cff1_top_dict_val_t : op_str_t -{ - unsigned int last_arg_offset; -}; - -struct cff1_top_dict_values_t : top_dict_values_t -{ - void init () - { - top_dict_values_t::init (); - - nameSIDs.init (); - ros_supplement = 0; - cidCount = 8720; - EncodingOffset = 0; - CharsetOffset = 0; - FDSelectOffset = 0; - privateDictInfo.init (); - } - void fini () { top_dict_values_t::fini (); } - - bool is_CID () const - { return nameSIDs[name_dict_values_t::registry] != CFF_UNDEF_SID; } - - name_dict_values_t nameSIDs; - unsigned int ros_supplement_offset; - unsigned int ros_supplement; - unsigned int cidCount; - - unsigned int EncodingOffset; - unsigned int CharsetOffset; - unsigned int FDSelectOffset; - table_info_t privateDictInfo; -}; - -struct cff1_top_dict_opset_t : top_dict_opset_t -{ - static void process_op (op_code_t op, cff1_top_dict_interp_env_t& env, cff1_top_dict_values_t& dictval) - { - cff1_top_dict_val_t val; - val.last_arg_offset = (env.last_offset-1) - dictval.opStart; /* offset to the last argument */ - - switch (op) { - case OpCode_version: - case OpCode_Notice: - case OpCode_Copyright: - case OpCode_FullName: - case OpCode_FontName: - case OpCode_FamilyName: - case OpCode_Weight: - case OpCode_PostScript: - case OpCode_BaseFontName: - dictval.nameSIDs[name_dict_values_t::name_op_to_index (op)] = env.argStack.pop_uint (); - env.clear_args (); - break; - case OpCode_isFixedPitch: - case OpCode_ItalicAngle: - case OpCode_UnderlinePosition: - case OpCode_UnderlineThickness: - case OpCode_PaintType: - case OpCode_CharstringType: - case OpCode_UniqueID: - case OpCode_StrokeWidth: - case OpCode_SyntheticBase: - case OpCode_CIDFontVersion: - case OpCode_CIDFontRevision: - case OpCode_CIDFontType: - case OpCode_UIDBase: - case OpCode_FontBBox: - case OpCode_XUID: - case OpCode_BaseFontBlend: - env.clear_args (); - break; - - case OpCode_CIDCount: - dictval.cidCount = env.argStack.pop_uint (); - env.clear_args (); - break; - - case OpCode_ROS: - dictval.ros_supplement = env.argStack.pop_uint (); - dictval.nameSIDs[name_dict_values_t::ordering] = env.argStack.pop_uint (); - dictval.nameSIDs[name_dict_values_t::registry] = env.argStack.pop_uint (); - env.clear_args (); - break; - - case OpCode_Encoding: - dictval.EncodingOffset = env.argStack.pop_uint (); - env.clear_args (); - if (unlikely (dictval.EncodingOffset == 0)) return; - break; - - case OpCode_charset: - dictval.CharsetOffset = env.argStack.pop_uint (); - env.clear_args (); - if (unlikely (dictval.CharsetOffset == 0)) return; - break; - - case OpCode_FDSelect: - dictval.FDSelectOffset = env.argStack.pop_uint (); - env.clear_args (); - break; - - case OpCode_Private: - dictval.privateDictInfo.offset = env.argStack.pop_uint (); - dictval.privateDictInfo.size = env.argStack.pop_uint (); - env.clear_args (); - break; - - default: - env.last_offset = env.str_ref.offset; - top_dict_opset_t::process_op (op, env, dictval); - /* Record this operand below if stack is empty, otherwise done */ - if (!env.argStack.is_empty ()) return; - break; - } - - if (unlikely (env.in_error ())) return; - - dictval.add_op (op, env.str_ref, val); - } -}; - -struct cff1_font_dict_values_t : dict_values_t -{ - void init () - { - dict_values_t::init (); - privateDictInfo.init (); - fontName = CFF_UNDEF_SID; - } - void fini () { dict_values_t::fini (); } - - table_info_t privateDictInfo; - unsigned int fontName; -}; - -struct cff1_font_dict_opset_t : dict_opset_t -{ - static void process_op (op_code_t op, num_interp_env_t& env, cff1_font_dict_values_t& dictval) - { - switch (op) { - case OpCode_FontName: - dictval.fontName = env.argStack.pop_uint (); - env.clear_args (); - break; - case OpCode_FontMatrix: - case OpCode_PaintType: - env.clear_args (); - break; - case OpCode_Private: - dictval.privateDictInfo.offset = env.argStack.pop_uint (); - dictval.privateDictInfo.size = env.argStack.pop_uint (); - env.clear_args (); - break; - - default: - dict_opset_t::process_op (op, env); - if (!env.argStack.is_empty ()) return; - break; - } - - if (unlikely (env.in_error ())) return; - - dictval.add_op (op, env.str_ref); - } -}; - -template -struct cff1_private_dict_values_base_t : dict_values_t -{ - void init () - { - dict_values_t::init (); - subrsOffset = 0; - localSubrs = &Null (CFF1Subrs); - } - void fini () { dict_values_t::fini (); } - - unsigned int subrsOffset; - const CFF1Subrs *localSubrs; -}; - -typedef cff1_private_dict_values_base_t cff1_private_dict_values_subset_t; -typedef cff1_private_dict_values_base_t cff1_private_dict_values_t; - -struct cff1_private_dict_opset_t : dict_opset_t -{ - static void process_op (op_code_t op, num_interp_env_t& env, cff1_private_dict_values_t& dictval) - { - num_dict_val_t val; - val.init (); - - switch (op) { - case OpCode_BlueValues: - case OpCode_OtherBlues: - case OpCode_FamilyBlues: - case OpCode_FamilyOtherBlues: - case OpCode_StemSnapH: - case OpCode_StemSnapV: - env.clear_args (); - break; - case OpCode_StdHW: - case OpCode_StdVW: - case OpCode_BlueScale: - case OpCode_BlueShift: - case OpCode_BlueFuzz: - case OpCode_ForceBold: - case OpCode_LanguageGroup: - case OpCode_ExpansionFactor: - case OpCode_initialRandomSeed: - case OpCode_defaultWidthX: - case OpCode_nominalWidthX: - val.single_val = env.argStack.pop_num (); - env.clear_args (); - break; - case OpCode_Subrs: - dictval.subrsOffset = env.argStack.pop_uint (); - env.clear_args (); - break; - - default: - dict_opset_t::process_op (op, env); - if (!env.argStack.is_empty ()) return; - break; - } - - if (unlikely (env.in_error ())) return; - - dictval.add_op (op, env.str_ref, val); - } -}; - -struct cff1_private_dict_opset_subset : dict_opset_t -{ - static void process_op (op_code_t op, num_interp_env_t& env, cff1_private_dict_values_subset_t& dictval) - { - switch (op) { - case OpCode_BlueValues: - case OpCode_OtherBlues: - case OpCode_FamilyBlues: - case OpCode_FamilyOtherBlues: - case OpCode_StemSnapH: - case OpCode_StemSnapV: - case OpCode_StdHW: - case OpCode_StdVW: - case OpCode_BlueScale: - case OpCode_BlueShift: - case OpCode_BlueFuzz: - case OpCode_ForceBold: - case OpCode_LanguageGroup: - case OpCode_ExpansionFactor: - case OpCode_initialRandomSeed: - case OpCode_defaultWidthX: - case OpCode_nominalWidthX: - env.clear_args (); - break; - - case OpCode_Subrs: - dictval.subrsOffset = env.argStack.pop_uint (); - env.clear_args (); - break; - - default: - dict_opset_t::process_op (op, env); - if (!env.argStack.is_empty ()) return; - break; - } - - if (unlikely (env.in_error ())) return; - - dictval.add_op (op, env.str_ref); - } -}; - -typedef dict_interpreter_t cff1_top_dict_interpreter_t; -typedef dict_interpreter_t cff1_font_dict_interpreter_t; - -typedef CFF1Index CFF1NameIndex; -typedef CFF1IndexOf CFF1TopDictIndex; - -struct cff1_font_dict_values_mod_t -{ - cff1_font_dict_values_mod_t() { init (); } - - void init () { init ( &Null (cff1_font_dict_values_t), CFF_UNDEF_SID ); } - - void init (const cff1_font_dict_values_t *base_, - unsigned int fontName_) - { - base = base_; - fontName = fontName_; - privateDictInfo.init (); - } - - unsigned get_count () const { return base->get_count (); } - - const op_str_t &operator [] (unsigned int i) const { return (*base)[i]; } - - const cff1_font_dict_values_t *base; - table_info_t privateDictInfo; - unsigned int fontName; -}; - -struct CFF1FDArray : FDArray -{ - /* FDArray::serialize() requires this partial specialization to compile */ - template - bool serialize (hb_serialize_context_t *c, ITER it, OP_SERIALIZER& opszr) - { return FDArray::serialize (c, it, opszr); } -}; - -} /* namespace CFF */ - -namespace OT { - -using namespace CFF; - -struct cff1 -{ - static constexpr hb_tag_t tableTag = HB_OT_TAG_cff1; - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this) && - likely (version.major == 1)); - } - - template - struct accelerator_templ_t - { - void init (hb_face_t *face) - { - topDict.init (); - fontDicts.init (); - privateDicts.init (); - - this->blob = sc.reference_table (face); - - /* setup for run-time santization */ - sc.init (this->blob); - sc.start_processing (); - - const OT::cff1 *cff = this->blob->template as (); - - if (cff == &Null (OT::cff1)) - { fini (); return; } - - nameIndex = &cff->nameIndex (cff); - if ((nameIndex == &Null (CFF1NameIndex)) || !nameIndex->sanitize (&sc)) - { fini (); return; } - - topDictIndex = &StructAtOffset (nameIndex, nameIndex->get_size ()); - if ((topDictIndex == &Null (CFF1TopDictIndex)) || !topDictIndex->sanitize (&sc) || (topDictIndex->count == 0)) - { fini (); return; } - - { /* parse top dict */ - const byte_str_t topDictStr = (*topDictIndex)[0]; - if (unlikely (!topDictStr.sanitize (&sc))) { fini (); return; } - cff1_top_dict_interpreter_t top_interp; - top_interp.env.init (topDictStr); - topDict.init (); - if (unlikely (!top_interp.interpret (topDict))) { fini (); return; } - } - - if (is_predef_charset ()) - charset = &Null (Charset); - else - { - charset = &StructAtOffsetOrNull (cff, topDict.CharsetOffset); - if (unlikely ((charset == &Null (Charset)) || !charset->sanitize (&sc))) { fini (); return; } - } - - fdCount = 1; - if (is_CID ()) - { - fdArray = &StructAtOffsetOrNull (cff, topDict.FDArrayOffset); - fdSelect = &StructAtOffsetOrNull (cff, topDict.FDSelectOffset); - if (unlikely ((fdArray == &Null (CFF1FDArray)) || !fdArray->sanitize (&sc) || - (fdSelect == &Null (CFF1FDSelect)) || !fdSelect->sanitize (&sc, fdArray->count))) - { fini (); return; } - - fdCount = fdArray->count; - } - else - { - fdArray = &Null (CFF1FDArray); - fdSelect = &Null (CFF1FDSelect); - } - - encoding = &Null (Encoding); - if (is_CID ()) - { - if (unlikely (charset == &Null (Charset))) { fini (); return; } - } - else - { - if (!is_predef_encoding ()) - { - encoding = &StructAtOffsetOrNull (cff, topDict.EncodingOffset); - if (unlikely ((encoding == &Null (Encoding)) || !encoding->sanitize (&sc))) { fini (); return; } - } - } - - stringIndex = &StructAtOffset (topDictIndex, topDictIndex->get_size ()); - if ((stringIndex == &Null (CFF1StringIndex)) || !stringIndex->sanitize (&sc)) - { fini (); return; } - - globalSubrs = &StructAtOffset (stringIndex, stringIndex->get_size ()); - if ((globalSubrs != &Null (CFF1Subrs)) && !globalSubrs->sanitize (&sc)) - { fini (); return; } - - charStrings = &StructAtOffsetOrNull (cff, topDict.charStringsOffset); - - if ((charStrings == &Null (CFF1CharStrings)) || unlikely (!charStrings->sanitize (&sc))) - { fini (); return; } - - num_glyphs = charStrings->count; - if (num_glyphs != sc.get_num_glyphs ()) - { fini (); return; } - - if (unlikely (!privateDicts.resize (fdCount))) - { fini (); return; } - for (unsigned int i = 0; i < fdCount; i++) - privateDicts[i].init (); - - // parse CID font dicts and gather private dicts - if (is_CID ()) - { - for (unsigned int i = 0; i < fdCount; i++) - { - byte_str_t fontDictStr = (*fdArray)[i]; - if (unlikely (!fontDictStr.sanitize (&sc))) { fini (); return; } - cff1_font_dict_values_t *font; - cff1_font_dict_interpreter_t font_interp; - font_interp.env.init (fontDictStr); - font = fontDicts.push (); - if (unlikely (font == &Crap (cff1_font_dict_values_t))) { fini (); return; } - font->init (); - if (unlikely (!font_interp.interpret (*font))) { fini (); return; } - PRIVDICTVAL *priv = &privateDicts[i]; - const byte_str_t privDictStr (StructAtOffset (cff, font->privateDictInfo.offset), font->privateDictInfo.size); - if (unlikely (!privDictStr.sanitize (&sc))) { fini (); return; } - dict_interpreter_t priv_interp; - priv_interp.env.init (privDictStr); - priv->init (); - if (unlikely (!priv_interp.interpret (*priv))) { fini (); return; } - - priv->localSubrs = &StructAtOffsetOrNull (&privDictStr, priv->subrsOffset); - if (priv->localSubrs != &Null (CFF1Subrs) && - unlikely (!priv->localSubrs->sanitize (&sc))) - { fini (); return; } - } - } - else /* non-CID */ - { - cff1_top_dict_values_t *font = &topDict; - PRIVDICTVAL *priv = &privateDicts[0]; - - const byte_str_t privDictStr (StructAtOffset (cff, font->privateDictInfo.offset), font->privateDictInfo.size); - if (unlikely (!privDictStr.sanitize (&sc))) { fini (); return; } - dict_interpreter_t priv_interp; - priv_interp.env.init (privDictStr); - priv->init (); - if (unlikely (!priv_interp.interpret (*priv))) { fini (); return; } - - priv->localSubrs = &StructAtOffsetOrNull (&privDictStr, priv->subrsOffset); - if (priv->localSubrs != &Null (CFF1Subrs) && - unlikely (!priv->localSubrs->sanitize (&sc))) - { fini (); return; } - } - } - - void fini () - { - sc.end_processing (); - topDict.fini (); - fontDicts.fini_deep (); - privateDicts.fini_deep (); - hb_blob_destroy (blob); - blob = nullptr; - } - - bool is_valid () const { return blob; } - bool is_CID () const { return topDict.is_CID (); } - - bool is_predef_charset () const { return topDict.CharsetOffset <= ExpertSubsetCharset; } - - unsigned int std_code_to_glyph (hb_codepoint_t code) const - { - hb_codepoint_t sid = lookup_standard_encoding_for_sid (code); - if (unlikely (sid == CFF_UNDEF_SID)) - return 0; - - if (charset != &Null (Charset)) - return charset->get_glyph (sid, num_glyphs); - else if ((topDict.CharsetOffset == ISOAdobeCharset) - && (code <= 228 /*zcaron*/)) return sid; - return 0; - } - - bool is_predef_encoding () const { return topDict.EncodingOffset <= ExpertEncoding; } - - hb_codepoint_t glyph_to_code (hb_codepoint_t glyph) const - { - if (encoding != &Null (Encoding)) - return encoding->get_code (glyph); - else - { - hb_codepoint_t sid = glyph_to_sid (glyph); - if (sid == 0) return 0; - hb_codepoint_t code = 0; - switch (topDict.EncodingOffset) - { - case StandardEncoding: - code = lookup_standard_encoding_for_code (sid); - break; - case ExpertEncoding: - code = lookup_expert_encoding_for_code (sid); - break; - default: - break; - } - return code; - } - } - - hb_codepoint_t glyph_to_sid (hb_codepoint_t glyph) const - { - if (charset != &Null (Charset)) - return charset->get_sid (glyph, num_glyphs); - else - { - hb_codepoint_t sid = 0; - switch (topDict.CharsetOffset) - { - case ISOAdobeCharset: - if (glyph <= 228 /*zcaron*/) sid = glyph; - break; - case ExpertCharset: - sid = lookup_expert_charset_for_sid (glyph); - break; - case ExpertSubsetCharset: - sid = lookup_expert_subset_charset_for_sid (glyph); - break; - default: - break; - } - return sid; - } - } - - hb_codepoint_t sid_to_glyph (hb_codepoint_t sid) const - { - if (charset != &Null (Charset)) - return charset->get_glyph (sid, num_glyphs); - else - { - hb_codepoint_t glyph = 0; - switch (topDict.CharsetOffset) - { - case ISOAdobeCharset: - if (sid <= 228 /*zcaron*/) glyph = sid; - break; - case ExpertCharset: - glyph = lookup_expert_charset_for_glyph (sid); - break; - case ExpertSubsetCharset: - glyph = lookup_expert_subset_charset_for_glyph (sid); - break; - default: - break; - } - return glyph; - } - } - - protected: - hb_blob_t *blob; - hb_sanitize_context_t sc; - - public: - const Encoding *encoding; - const Charset *charset; - const CFF1NameIndex *nameIndex; - const CFF1TopDictIndex *topDictIndex; - const CFF1StringIndex *stringIndex; - const CFF1Subrs *globalSubrs; - const CFF1CharStrings *charStrings; - const CFF1FDArray *fdArray; - const CFF1FDSelect *fdSelect; - unsigned int fdCount; - - cff1_top_dict_values_t topDict; - hb_vector_t - fontDicts; - hb_vector_t privateDicts; - - unsigned int num_glyphs; - }; - - struct accelerator_t : accelerator_templ_t - { - void init (hb_face_t *face) - { - SUPER::init (face); - - if (!is_valid ()) return; - if (is_CID ()) return; - - /* fill glyph_names */ - for (hb_codepoint_t gid = 0; gid < num_glyphs; gid++) - { - hb_codepoint_t sid = glyph_to_sid (gid); - gname_t gname; - gname.sid = sid; - if (sid < cff1_std_strings_length) - gname.name = cff1_std_strings (sid); - else - { - byte_str_t ustr = (*stringIndex)[sid - cff1_std_strings_length]; - gname.name = hb_bytes_t ((const char*)ustr.arrayZ, ustr.length); - } - if (unlikely (!gname.name.arrayZ)) { fini (); return; } - glyph_names.push (gname); - } - glyph_names.qsort (); - } - - void fini () - { - glyph_names.fini (); - - SUPER::fini (); - } - - bool get_glyph_name (hb_codepoint_t glyph, - char *buf, unsigned int buf_len) const - { - if (!buf) return true; - if (unlikely (!is_valid ())) return false; - if (is_CID()) return false; - hb_codepoint_t sid = glyph_to_sid (glyph); - const char *str; - size_t str_len; - if (sid < cff1_std_strings_length) - { - hb_bytes_t byte_str = cff1_std_strings (sid); - str = byte_str.arrayZ; - str_len = byte_str.length; - } - else - { - byte_str_t ubyte_str = (*stringIndex)[sid - cff1_std_strings_length]; - str = (const char *)ubyte_str.arrayZ; - str_len = ubyte_str.length; - } - if (!str_len) return false; - unsigned int len = hb_min (buf_len - 1, str_len); - strncpy (buf, (const char*)str, len); - buf[len] = '\0'; - return true; - } - - bool get_glyph_from_name (const char *name, int len, - hb_codepoint_t *glyph) const - { - if (len < 0) len = strlen (name); - if (unlikely (!len)) return false; - - gname_t key = { hb_bytes_t (name, len), 0 }; - const gname_t *gname = glyph_names.bsearch (key); - if (!gname) return false; - hb_codepoint_t gid = sid_to_glyph (gname->sid); - if (!gid && gname->sid) return false; - *glyph = gid; - return true; - } - - HB_INTERNAL bool get_extents (hb_font_t *font, hb_codepoint_t glyph, hb_glyph_extents_t *extents) const; - HB_INTERNAL bool get_seac_components (hb_codepoint_t glyph, hb_codepoint_t *base, hb_codepoint_t *accent) const; -#ifdef HB_EXPERIMENTAL_API - HB_INTERNAL bool get_path (hb_font_t *font, hb_codepoint_t glyph, draw_helper_t &draw_helper) const; -#endif - - private: - struct gname_t - { - hb_bytes_t name; - uint16_t sid; - - static int cmp (const void *a_, const void *b_) - { - const gname_t *a = (const gname_t *)a_; - const gname_t *b = (const gname_t *)b_; - int minlen = hb_min (a->name.length, b->name.length); - int ret = strncmp (a->name.arrayZ, b->name.arrayZ, minlen); - if (ret) return ret; - return a->name.length - b->name.length; - } - - int cmp (const gname_t &a) const { return cmp (&a, this); } - }; - - hb_sorted_vector_t glyph_names; - - typedef accelerator_templ_t SUPER; - }; - - struct accelerator_subset_t : accelerator_templ_t {}; - - bool subset (hb_subset_context_t *c) const { return hb_subset_cff1 (c); } - - protected: - HB_INTERNAL static hb_codepoint_t lookup_standard_encoding_for_code (hb_codepoint_t sid); - HB_INTERNAL static hb_codepoint_t lookup_expert_encoding_for_code (hb_codepoint_t sid); - HB_INTERNAL static hb_codepoint_t lookup_expert_charset_for_sid (hb_codepoint_t glyph); - HB_INTERNAL static hb_codepoint_t lookup_expert_subset_charset_for_sid (hb_codepoint_t glyph); - HB_INTERNAL static hb_codepoint_t lookup_expert_charset_for_glyph (hb_codepoint_t sid); - HB_INTERNAL static hb_codepoint_t lookup_expert_subset_charset_for_glyph (hb_codepoint_t sid); - HB_INTERNAL static hb_codepoint_t lookup_standard_encoding_for_sid (hb_codepoint_t code); - - public: - FixedVersion version; /* Version of CFF table. set to 0x0100u */ - NNOffsetTo nameIndex; /* headerSize = Offset to Name INDEX. */ - HBUINT8 offSize; /* offset size (unused?) */ - - public: - DEFINE_SIZE_STATIC (4); -}; - -struct cff1_accelerator_t : cff1::accelerator_t {}; -} /* namespace OT */ - -#endif /* HB_OT_CFF1_TABLE_HH */ diff --git a/harfbuzz/src/hb-ot-cff2-table.cc b/harfbuzz/src/hb-ot-cff2-table.cc deleted file mode 100644 index 879b7cd..0000000 --- a/harfbuzz/src/hb-ot-cff2-table.cc +++ /dev/null @@ -1,215 +0,0 @@ -/* - * Copyright © 2018 Adobe Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Adobe Author(s): Michiharu Ariza - */ - -#include "hb.hh" - -#ifndef HB_NO_OT_FONT_CFF - -#include "hb-ot-cff2-table.hh" -#include "hb-cff2-interp-cs.hh" -#include "hb-draw.hh" - -using namespace CFF; - -struct cff2_extents_param_t -{ - void init () - { - path_open = false; - min_x.set_int (INT_MAX); - min_y.set_int (INT_MAX); - max_x.set_int (INT_MIN); - max_y.set_int (INT_MIN); - } - - void start_path () { path_open = true; } - void end_path () { path_open = false; } - bool is_path_open () const { return path_open; } - - void update_bounds (const point_t &pt) - { - if (pt.x < min_x) min_x = pt.x; - if (pt.x > max_x) max_x = pt.x; - if (pt.y < min_y) min_y = pt.y; - if (pt.y > max_y) max_y = pt.y; - } - - bool path_open; - number_t min_x; - number_t min_y; - number_t max_x; - number_t max_y; -}; - -struct cff2_path_procs_extents_t : path_procs_t -{ - static void moveto (cff2_cs_interp_env_t &env, cff2_extents_param_t& param, const point_t &pt) - { - param.end_path (); - env.moveto (pt); - } - - static void line (cff2_cs_interp_env_t &env, cff2_extents_param_t& param, const point_t &pt1) - { - if (!param.is_path_open ()) - { - param.start_path (); - param.update_bounds (env.get_pt ()); - } - env.moveto (pt1); - param.update_bounds (env.get_pt ()); - } - - static void curve (cff2_cs_interp_env_t &env, cff2_extents_param_t& param, const point_t &pt1, const point_t &pt2, const point_t &pt3) - { - if (!param.is_path_open ()) - { - param.start_path (); - param.update_bounds (env.get_pt ()); - } - /* include control points */ - param.update_bounds (pt1); - param.update_bounds (pt2); - env.moveto (pt3); - param.update_bounds (env.get_pt ()); - } -}; - -struct cff2_cs_opset_extents_t : cff2_cs_opset_t {}; - -bool OT::cff2::accelerator_t::get_extents (hb_font_t *font, - hb_codepoint_t glyph, - hb_glyph_extents_t *extents) const -{ -#ifdef HB_NO_OT_FONT_CFF - /* XXX Remove check when this code moves to .hh file. */ - return true; -#endif - - if (unlikely (!is_valid () || (glyph >= num_glyphs))) return false; - - unsigned int fd = fdSelect->get_fd (glyph); - cff2_cs_interpreter_t interp; - const byte_str_t str = (*charStrings)[glyph]; - interp.env.init (str, *this, fd, font->coords, font->num_coords); - cff2_extents_param_t param; - param.init (); - if (unlikely (!interp.interpret (param))) return false; - - if (param.min_x >= param.max_x) - { - extents->width = 0; - extents->x_bearing = 0; - } - else - { - extents->x_bearing = font->em_scalef_x (param.min_x.to_real ()); - extents->width = font->em_scalef_x (param.max_x.to_real ()) - extents->x_bearing; - } - if (param.min_y >= param.max_y) - { - extents->height = 0; - extents->y_bearing = 0; - } - else - { - extents->y_bearing = font->em_scalef_y (param.max_y.to_real ()); - extents->height = font->em_scalef_y (param.min_y.to_real ()) - extents->y_bearing; - } - - return true; -} - -#ifdef HB_EXPERIMENTAL_API -struct cff2_path_param_t -{ - cff2_path_param_t (hb_font_t *font_, draw_helper_t &draw_helper_) - { - draw_helper = &draw_helper_; - font = font_; - } - - void move_to (const point_t &p) - { draw_helper->move_to (font->em_scalef_x (p.x.to_real ()), font->em_scalef_y (p.y.to_real ())); } - - void line_to (const point_t &p) - { draw_helper->line_to (font->em_scalef_x (p.x.to_real ()), font->em_scalef_y (p.y.to_real ())); } - - void cubic_to (const point_t &p1, const point_t &p2, const point_t &p3) - { - draw_helper->cubic_to (font->em_scalef_x (p1.x.to_real ()), font->em_scalef_y (p1.y.to_real ()), - font->em_scalef_x (p2.x.to_real ()), font->em_scalef_y (p2.y.to_real ()), - font->em_scalef_x (p3.x.to_real ()), font->em_scalef_y (p3.y.to_real ())); - } - - protected: - draw_helper_t *draw_helper; - hb_font_t *font; -}; - -struct cff2_path_procs_path_t : path_procs_t -{ - static void moveto (cff2_cs_interp_env_t &env, cff2_path_param_t& param, const point_t &pt) - { - param.move_to (pt); - env.moveto (pt); - } - - static void line (cff2_cs_interp_env_t &env, cff2_path_param_t& param, const point_t &pt1) - { - param.line_to (pt1); - env.moveto (pt1); - } - - static void curve (cff2_cs_interp_env_t &env, cff2_path_param_t& param, const point_t &pt1, const point_t &pt2, const point_t &pt3) - { - param.cubic_to (pt1, pt2, pt3); - env.moveto (pt3); - } -}; - -struct cff2_cs_opset_path_t : cff2_cs_opset_t {}; - -bool OT::cff2::accelerator_t::get_path (hb_font_t *font, hb_codepoint_t glyph, draw_helper_t &draw_helper) const -{ -#ifdef HB_NO_OT_FONT_CFF - /* XXX Remove check when this code moves to .hh file. */ - return true; -#endif - - if (unlikely (!is_valid () || (glyph >= num_glyphs))) return false; - - unsigned int fd = fdSelect->get_fd (glyph); - cff2_cs_interpreter_t interp; - const byte_str_t str = (*charStrings)[glyph]; - interp.env.init (str, *this, fd, font->coords, font->num_coords); - cff2_path_param_t param (font, draw_helper); - if (unlikely (!interp.interpret (param))) return false; - return true; -} -#endif - -#endif diff --git a/harfbuzz/src/hb-ot-cff2-table.hh b/harfbuzz/src/hb-ot-cff2-table.hh deleted file mode 100644 index 829217f..0000000 --- a/harfbuzz/src/hb-ot-cff2-table.hh +++ /dev/null @@ -1,531 +0,0 @@ -/* - * Copyright © 2018 Adobe Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Adobe Author(s): Michiharu Ariza - */ - -#ifndef HB_OT_CFF2_TABLE_HH -#define HB_OT_CFF2_TABLE_HH - -#include "hb-ot-cff-common.hh" -#include "hb-subset-cff2.hh" -#include "hb-draw.hh" - -namespace CFF { - -/* - * CFF2 -- Compact Font Format (CFF) Version 2 - * https://docs.microsoft.com/en-us/typography/opentype/spec/cff2 - */ -#define HB_OT_TAG_cff2 HB_TAG('C','F','F','2') - -typedef CFFIndex CFF2Index; -template struct CFF2IndexOf : CFFIndexOf {}; - -typedef CFF2Index CFF2CharStrings; -typedef Subrs CFF2Subrs; - -typedef FDSelect3_4 FDSelect4; -typedef FDSelect3_4_Range FDSelect4_Range; - -struct CFF2FDSelect -{ - bool serialize (hb_serialize_context_t *c, const CFF2FDSelect &src, unsigned int num_glyphs) - { - TRACE_SERIALIZE (this); - unsigned int size = src.get_size (num_glyphs); - CFF2FDSelect *dest = c->allocate_size (size); - if (unlikely (!dest)) return_trace (false); - memcpy (dest, &src, size); - return_trace (true); - } - - unsigned int get_size (unsigned int num_glyphs) const - { - switch (format) - { - case 0: return format.static_size + u.format0.get_size (num_glyphs); - case 3: return format.static_size + u.format3.get_size (); - case 4: return format.static_size + u.format4.get_size (); - default:return 0; - } - } - - hb_codepoint_t get_fd (hb_codepoint_t glyph) const - { - if (this == &Null (CFF2FDSelect)) - return 0; - - switch (format) - { - case 0: return u.format0.get_fd (glyph); - case 3: return u.format3.get_fd (glyph); - case 4: return u.format4.get_fd (glyph); - default:return 0; - } - } - - bool sanitize (hb_sanitize_context_t *c, unsigned int fdcount) const - { - TRACE_SANITIZE (this); - if (unlikely (!c->check_struct (this))) - return_trace (false); - - switch (format) - { - case 0: return_trace (u.format0.sanitize (c, fdcount)); - case 3: return_trace (u.format3.sanitize (c, fdcount)); - case 4: return_trace (u.format4.sanitize (c, fdcount)); - default:return_trace (false); - } - } - - HBUINT8 format; - union { - FDSelect0 format0; - FDSelect3 format3; - FDSelect4 format4; - } u; - public: - DEFINE_SIZE_MIN (2); -}; - -struct CFF2VariationStore -{ - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (likely (c->check_struct (this)) && c->check_range (&varStore, size) && varStore.sanitize (c)); - } - - bool serialize (hb_serialize_context_t *c, const CFF2VariationStore *varStore) - { - TRACE_SERIALIZE (this); - unsigned int size_ = varStore->get_size (); - CFF2VariationStore *dest = c->allocate_size (size_); - if (unlikely (!dest)) return_trace (false); - memcpy (dest, varStore, size_); - return_trace (true); - } - - unsigned int get_size () const { return HBUINT16::static_size + size; } - - HBUINT16 size; - VariationStore varStore; - - DEFINE_SIZE_MIN (2 + VariationStore::min_size); -}; - -struct cff2_top_dict_values_t : top_dict_values_t<> -{ - void init () - { - top_dict_values_t<>::init (); - vstoreOffset = 0; - FDSelectOffset = 0; - } - void fini () { top_dict_values_t<>::fini (); } - - unsigned int vstoreOffset; - unsigned int FDSelectOffset; -}; - -struct cff2_top_dict_opset_t : top_dict_opset_t<> -{ - static void process_op (op_code_t op, num_interp_env_t& env, cff2_top_dict_values_t& dictval) - { - switch (op) { - case OpCode_FontMatrix: - { - dict_val_t val; - val.init (); - dictval.add_op (op, env.str_ref); - env.clear_args (); - } - break; - - case OpCode_vstore: - dictval.vstoreOffset = env.argStack.pop_uint (); - env.clear_args (); - break; - case OpCode_FDSelect: - dictval.FDSelectOffset = env.argStack.pop_uint (); - env.clear_args (); - break; - - default: - SUPER::process_op (op, env, dictval); - /* Record this operand below if stack is empty, otherwise done */ - if (!env.argStack.is_empty ()) return; - } - - if (unlikely (env.in_error ())) return; - - dictval.add_op (op, env.str_ref); - } - - typedef top_dict_opset_t<> SUPER; -}; - -struct cff2_font_dict_values_t : dict_values_t -{ - void init () - { - dict_values_t::init (); - privateDictInfo.init (); - } - void fini () { dict_values_t::fini (); } - - table_info_t privateDictInfo; -}; - -struct cff2_font_dict_opset_t : dict_opset_t -{ - static void process_op (op_code_t op, num_interp_env_t& env, cff2_font_dict_values_t& dictval) - { - switch (op) { - case OpCode_Private: - dictval.privateDictInfo.offset = env.argStack.pop_uint (); - dictval.privateDictInfo.size = env.argStack.pop_uint (); - env.clear_args (); - break; - - default: - SUPER::process_op (op, env); - if (!env.argStack.is_empty ()) - return; - } - - if (unlikely (env.in_error ())) return; - - dictval.add_op (op, env.str_ref); - } - - private: - typedef dict_opset_t SUPER; -}; - -template -struct cff2_private_dict_values_base_t : dict_values_t -{ - void init () - { - dict_values_t::init (); - subrsOffset = 0; - localSubrs = &Null (CFF2Subrs); - ivs = 0; - } - void fini () { dict_values_t::fini (); } - - unsigned int subrsOffset; - const CFF2Subrs *localSubrs; - unsigned int ivs; -}; - -typedef cff2_private_dict_values_base_t cff2_private_dict_values_subset_t; -typedef cff2_private_dict_values_base_t cff2_private_dict_values_t; - -struct cff2_priv_dict_interp_env_t : num_interp_env_t -{ - void init (const byte_str_t &str) - { - num_interp_env_t::init (str); - ivs = 0; - seen_vsindex = false; - } - - void process_vsindex () - { - if (likely (!seen_vsindex)) - { - set_ivs (argStack.pop_uint ()); - } - seen_vsindex = true; - } - - unsigned int get_ivs () const { return ivs; } - void set_ivs (unsigned int ivs_) { ivs = ivs_; } - - protected: - unsigned int ivs; - bool seen_vsindex; -}; - -struct cff2_private_dict_opset_t : dict_opset_t -{ - static void process_op (op_code_t op, cff2_priv_dict_interp_env_t& env, cff2_private_dict_values_t& dictval) - { - num_dict_val_t val; - val.init (); - - switch (op) { - case OpCode_StdHW: - case OpCode_StdVW: - case OpCode_BlueScale: - case OpCode_BlueShift: - case OpCode_BlueFuzz: - case OpCode_ExpansionFactor: - case OpCode_LanguageGroup: - val.single_val = env.argStack.pop_num (); - env.clear_args (); - break; - case OpCode_BlueValues: - case OpCode_OtherBlues: - case OpCode_FamilyBlues: - case OpCode_FamilyOtherBlues: - case OpCode_StemSnapH: - case OpCode_StemSnapV: - env.clear_args (); - break; - case OpCode_Subrs: - dictval.subrsOffset = env.argStack.pop_uint (); - env.clear_args (); - break; - case OpCode_vsindexdict: - env.process_vsindex (); - dictval.ivs = env.get_ivs (); - env.clear_args (); - break; - case OpCode_blenddict: - break; - - default: - dict_opset_t::process_op (op, env); - if (!env.argStack.is_empty ()) return; - break; - } - - if (unlikely (env.in_error ())) return; - - dictval.add_op (op, env.str_ref, val); - } -}; - -struct cff2_private_dict_opset_subset_t : dict_opset_t -{ - static void process_op (op_code_t op, cff2_priv_dict_interp_env_t& env, cff2_private_dict_values_subset_t& dictval) - { - switch (op) { - case OpCode_BlueValues: - case OpCode_OtherBlues: - case OpCode_FamilyBlues: - case OpCode_FamilyOtherBlues: - case OpCode_StdHW: - case OpCode_StdVW: - case OpCode_BlueScale: - case OpCode_BlueShift: - case OpCode_BlueFuzz: - case OpCode_StemSnapH: - case OpCode_StemSnapV: - case OpCode_LanguageGroup: - case OpCode_ExpansionFactor: - env.clear_args (); - break; - - case OpCode_blenddict: - env.clear_args (); - return; - - case OpCode_Subrs: - dictval.subrsOffset = env.argStack.pop_uint (); - env.clear_args (); - break; - - default: - SUPER::process_op (op, env); - if (!env.argStack.is_empty ()) return; - break; - } - - if (unlikely (env.in_error ())) return; - - dictval.add_op (op, env.str_ref); - } - - private: - typedef dict_opset_t SUPER; -}; - -typedef dict_interpreter_t cff2_top_dict_interpreter_t; -typedef dict_interpreter_t cff2_font_dict_interpreter_t; - -struct CFF2FDArray : FDArray -{ - /* FDArray::serialize does not compile without this partial specialization */ - template - bool serialize (hb_serialize_context_t *c, ITER it, OP_SERIALIZER& opszr) - { return FDArray::serialize (c, it, opszr); } -}; - -} /* namespace CFF */ - -namespace OT { - -using namespace CFF; - -struct cff2 -{ - static constexpr hb_tag_t tableTag = HB_OT_TAG_cff2; - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this) && - likely (version.major == 2)); - } - - template - struct accelerator_templ_t - { - void init (hb_face_t *face) - { - topDict.init (); - fontDicts.init (); - privateDicts.init (); - - this->blob = sc.reference_table (face); - - /* setup for run-time santization */ - sc.init (this->blob); - sc.start_processing (); - - const OT::cff2 *cff2 = this->blob->template as (); - - if (cff2 == &Null (OT::cff2)) - { fini (); return; } - - { /* parse top dict */ - byte_str_t topDictStr (cff2 + cff2->topDict, cff2->topDictSize); - if (unlikely (!topDictStr.sanitize (&sc))) { fini (); return; } - cff2_top_dict_interpreter_t top_interp; - top_interp.env.init (topDictStr); - topDict.init (); - if (unlikely (!top_interp.interpret (topDict))) { fini (); return; } - } - - globalSubrs = &StructAtOffset (cff2, cff2->topDict + cff2->topDictSize); - varStore = &StructAtOffsetOrNull (cff2, topDict.vstoreOffset); - charStrings = &StructAtOffsetOrNull (cff2, topDict.charStringsOffset); - fdArray = &StructAtOffsetOrNull (cff2, topDict.FDArrayOffset); - fdSelect = &StructAtOffsetOrNull (cff2, topDict.FDSelectOffset); - - if (((varStore != &Null (CFF2VariationStore)) && unlikely (!varStore->sanitize (&sc))) || - (charStrings == &Null (CFF2CharStrings)) || unlikely (!charStrings->sanitize (&sc)) || - (globalSubrs == &Null (CFF2Subrs)) || unlikely (!globalSubrs->sanitize (&sc)) || - (fdArray == &Null (CFF2FDArray)) || unlikely (!fdArray->sanitize (&sc)) || - (((fdSelect != &Null (CFF2FDSelect)) && unlikely (!fdSelect->sanitize (&sc, fdArray->count))))) - { fini (); return; } - - num_glyphs = charStrings->count; - if (num_glyphs != sc.get_num_glyphs ()) - { fini (); return; } - - fdCount = fdArray->count; - if (!privateDicts.resize (fdCount)) - { fini (); return; } - - /* parse font dicts and gather private dicts */ - for (unsigned int i = 0; i < fdCount; i++) - { - const byte_str_t fontDictStr = (*fdArray)[i]; - if (unlikely (!fontDictStr.sanitize (&sc))) { fini (); return; } - cff2_font_dict_values_t *font; - cff2_font_dict_interpreter_t font_interp; - font_interp.env.init (fontDictStr); - font = fontDicts.push (); - if (unlikely (font == &Crap (cff2_font_dict_values_t))) { fini (); return; } - font->init (); - if (unlikely (!font_interp.interpret (*font))) { fini (); return; } - - const byte_str_t privDictStr (StructAtOffsetOrNull (cff2, font->privateDictInfo.offset), font->privateDictInfo.size); - if (unlikely (!privDictStr.sanitize (&sc))) { fini (); return; } - dict_interpreter_t priv_interp; - priv_interp.env.init(privDictStr); - privateDicts[i].init (); - if (unlikely (!priv_interp.interpret (privateDicts[i]))) { fini (); return; } - - privateDicts[i].localSubrs = &StructAtOffsetOrNull (&privDictStr[0], privateDicts[i].subrsOffset); - if (privateDicts[i].localSubrs != &Null (CFF2Subrs) && - unlikely (!privateDicts[i].localSubrs->sanitize (&sc))) - { fini (); return; } - } - } - - void fini () - { - sc.end_processing (); - topDict.fini (); - fontDicts.fini_deep (); - privateDicts.fini_deep (); - hb_blob_destroy (blob); - blob = nullptr; - } - - bool is_valid () const { return blob; } - - protected: - hb_blob_t *blob; - hb_sanitize_context_t sc; - - public: - cff2_top_dict_values_t topDict; - const CFF2Subrs *globalSubrs; - const CFF2VariationStore *varStore; - const CFF2CharStrings *charStrings; - const CFF2FDArray *fdArray; - const CFF2FDSelect *fdSelect; - unsigned int fdCount; - - hb_vector_t fontDicts; - hb_vector_t privateDicts; - - unsigned int num_glyphs; - }; - - struct accelerator_t : accelerator_templ_t - { - HB_INTERNAL bool get_extents (hb_font_t *font, - hb_codepoint_t glyph, - hb_glyph_extents_t *extents) const; -#ifdef HB_EXPERIMENTAL_API - HB_INTERNAL bool get_path (hb_font_t *font, hb_codepoint_t glyph, draw_helper_t &draw_helper) const; -#endif - }; - - typedef accelerator_templ_t accelerator_subset_t; - - bool subset (hb_subset_context_t *c) const { return hb_subset_cff2 (c); } - - public: - FixedVersion version; /* Version of CFF2 table. set to 0x0200u */ - NNOffsetTo topDict; /* headerSize = Offset to Top DICT. */ - HBUINT16 topDictSize; /* Top DICT size */ - - public: - DEFINE_SIZE_STATIC (5); -}; - -struct cff2_accelerator_t : cff2::accelerator_t {}; -} /* namespace OT */ - -#endif /* HB_OT_CFF2_TABLE_HH */ diff --git a/harfbuzz/src/hb-ot-cmap-table.hh b/harfbuzz/src/hb-ot-cmap-table.hh deleted file mode 100644 index d837adc..0000000 --- a/harfbuzz/src/hb-ot-cmap-table.hh +++ /dev/null @@ -1,1871 +0,0 @@ -/* - * Copyright © 2014 Google, Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Google Author(s): Behdad Esfahbod - */ - -#ifndef HB_OT_CMAP_TABLE_HH -#define HB_OT_CMAP_TABLE_HH - -#include "hb-open-type.hh" -#include "hb-set.hh" - -/* - * cmap -- Character to Glyph Index Mapping - * https://docs.microsoft.com/en-us/typography/opentype/spec/cmap - */ -#define HB_OT_TAG_cmap HB_TAG('c','m','a','p') - -namespace OT { - - -struct CmapSubtableFormat0 -{ - bool get_glyph (hb_codepoint_t codepoint, hb_codepoint_t *glyph) const - { - hb_codepoint_t gid = codepoint < 256 ? glyphIdArray[codepoint] : 0; - if (!gid) - return false; - *glyph = gid; - return true; - } - - unsigned get_language () const - { - return language; - } - - void collect_unicodes (hb_set_t *out) const - { - for (unsigned int i = 0; i < 256; i++) - if (glyphIdArray[i]) - out->add (i); - } - - void collect_mapping (hb_set_t *unicodes, /* OUT */ - hb_map_t *mapping /* OUT */) const - { - for (unsigned i = 0; i < 256; i++) - if (glyphIdArray[i]) - { - hb_codepoint_t glyph = glyphIdArray[i]; - unicodes->add (i); - mapping->set (i, glyph); - } - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this)); - } - - protected: - HBUINT16 format; /* Format number is set to 0. */ - HBUINT16 length; /* Byte length of this subtable. */ - HBUINT16 language; /* Ignore. */ - HBUINT8 glyphIdArray[256];/* An array that maps character - * code to glyph index values. */ - public: - DEFINE_SIZE_STATIC (6 + 256); -}; - -struct CmapSubtableFormat4 -{ - - - template - void to_ranges (Iterator it, Writer& range_writer) - { - hb_codepoint_t start_cp = 0, prev_run_start_cp = 0, run_start_cp = 0, end_cp = 0, last_gid = 0; - int run_length = 0 , delta = 0, prev_delta = 0; - - enum { - FIRST_SUB_RANGE, - FOLLOWING_SUB_RANGE, - } mode; - - while (it) { - // Start a new range - start_cp = (*it).first; - prev_run_start_cp = (*it).first; - run_start_cp = (*it).first; - end_cp = (*it).first; - last_gid = (*it).second; - run_length = 1; - prev_delta = 0; - - delta = (*it).second - (*it).first; - mode = FIRST_SUB_RANGE; - it++; - - while (it) { - // Process range - hb_codepoint_t next_cp = (*it).first; - hb_codepoint_t next_gid = (*it).second; - if (next_cp != end_cp + 1) { - // Current range is over, stop processing. - break; - } - - if (next_gid == last_gid + 1) { - // The current run continues. - end_cp = next_cp; - run_length++; - last_gid = next_gid; - it++; - continue; - } - - // A new run is starting, decide if we want to commit the current run. - int split_cost = (mode == FIRST_SUB_RANGE) ? 8 : 16; - int run_cost = run_length * 2; - if (run_cost >= split_cost) { - commit_current_range(start_cp, - prev_run_start_cp, - run_start_cp, - end_cp, - delta, - prev_delta, - split_cost, - range_writer); - start_cp = next_cp; - } - - // Start the new run - mode = FOLLOWING_SUB_RANGE; - prev_run_start_cp = run_start_cp; - run_start_cp = next_cp; - end_cp = next_cp; - prev_delta = delta; - delta = next_gid - run_start_cp; - run_length = 1; - last_gid = next_gid; - it++; - } - - // Finalize range - commit_current_range (start_cp, - prev_run_start_cp, - run_start_cp, - end_cp, - delta, - prev_delta, - 8, - range_writer); - } - - if (likely (end_cp != 0xFFFF)) { - range_writer (0xFFFF, 0xFFFF, 1); - } - } - - /* - * Writes the current range as either one or two ranges depending on what is most efficient. - */ - template - void commit_current_range (hb_codepoint_t start, - hb_codepoint_t prev_run_start, - hb_codepoint_t run_start, - hb_codepoint_t end, - int run_delta, - int previous_run_delta, - int split_cost, - Writer& range_writer) { - bool should_split = false; - if (start < run_start && run_start < end) { - int run_cost = (end - run_start + 1) * 2; - if (run_cost >= split_cost) { - should_split = true; - } - } - - // TODO(grieger): handle case where delta is legitimately 0, mark range offset array instead? - if (should_split) { - if (start == prev_run_start) - range_writer (start, run_start - 1, previous_run_delta); - else - range_writer (start, run_start - 1, 0); - range_writer (run_start, end, run_delta); - return; - } - - - if (start == run_start) { - // Range is only a run - range_writer (start, end, run_delta); - return; - } - - // Write only a single non-run range. - range_writer (start, end, 0); - } - - template - unsigned serialize_find_segcount (Iterator it) { - struct Counter { - unsigned segcount = 0; - - void operator() (hb_codepoint_t start, - hb_codepoint_t end, - int delta) { - segcount++; - } - } counter; - - to_ranges (+it, counter); - return counter.segcount; - } - - - template - bool serialize_start_end_delta_arrays (hb_serialize_context_t *c, - Iterator it, - int segcount) - { - struct Writer { - hb_serialize_context_t *serializer_; - HBUINT16* end_code_; - HBUINT16* start_code_; - HBINT16* id_delta_; - int index_; - - Writer(hb_serialize_context_t *serializer) - : serializer_(serializer), - end_code_(nullptr), - start_code_(nullptr), - id_delta_(nullptr), - index_ (0) {} - void operator() (hb_codepoint_t start, - hb_codepoint_t end, - int delta) { - start_code_[index_] = start; - end_code_[index_] = end; - id_delta_[index_] = delta; - index_++; - } - } writer(c); - - writer.end_code_ = c->allocate_size (HBUINT16::static_size * segcount); - c->allocate_size (2); // padding - writer.start_code_ = c->allocate_size (HBUINT16::static_size * segcount); - writer.id_delta_ = c->allocate_size (HBINT16::static_size * segcount); - - if (unlikely (!writer.end_code_ || !writer.start_code_ || !writer.id_delta_)) return false; - - to_ranges (+it, writer); - return true; - } - - template - HBUINT16* serialize_rangeoffset_glyid (hb_serialize_context_t *c, - Iterator it, - HBUINT16 *endCode, - HBUINT16 *startCode, - HBINT16 *idDelta, - unsigned segcount) - { - hb_hashmap_t cp_to_gid; - + it | hb_sink (cp_to_gid); - - HBUINT16 *idRangeOffset = c->allocate_size (HBUINT16::static_size * segcount); - if (unlikely (!c->check_success (idRangeOffset))) return nullptr; - if (unlikely ((char *)idRangeOffset - (char *)idDelta != (int) segcount * (int) HBINT16::static_size)) return nullptr; - - for (unsigned i : + hb_range (segcount) - | hb_filter ([&] (const unsigned _) { return idDelta[_] == 0; })) - { - idRangeOffset[i] = 2 * (c->start_embed () - idRangeOffset - i); - for (hb_codepoint_t cp = startCode[i]; cp <= endCode[i]; cp++) - { - HBUINT16 gid; - gid = cp_to_gid[cp]; - c->copy (gid); - } - } - - return idRangeOffset; - } - - template - void serialize (hb_serialize_context_t *c, - Iterator it) - { - auto format4_iter = - + it - | hb_filter ([&] (const hb_pair_t _) - { return _.first <= 0xFFFF; }) - ; - - if (format4_iter.len () == 0) return; - - unsigned table_initpos = c->length (); - if (unlikely (!c->extend_min (this))) return; - this->format = 4; - - //serialize endCode[], startCode[], idDelta[] - HBUINT16* endCode = c->start_embed (); - unsigned segcount = serialize_find_segcount (format4_iter); - if (unlikely (!serialize_start_end_delta_arrays (c, format4_iter, segcount))) - return; - - HBUINT16 *startCode = endCode + segcount + 1; - HBINT16 *idDelta = ((HBINT16*)startCode) + segcount; - - HBUINT16 *idRangeOffset = serialize_rangeoffset_glyid (c, format4_iter, endCode, startCode, idDelta, segcount); - if (unlikely (!c->check_success (idRangeOffset))) return; - - this->length = c->length () - table_initpos; - if ((long long) this->length != (long long) c->length () - table_initpos) - { - // Length overflowed. Discard the current object before setting the error condition, otherwise - // discard is a noop which prevents the higher level code from reverting the serializer to the - // pre-error state in cmap4 overflow handling code. - c->pop_discard (); - c->err (HB_SERIALIZE_ERROR_INT_OVERFLOW); - return; - } - - this->segCountX2 = segcount * 2; - this->entrySelector = hb_max (1u, hb_bit_storage (segcount)) - 1; - this->searchRange = 2 * (1u << this->entrySelector); - this->rangeShift = segcount * 2 > this->searchRange - ? 2 * segcount - this->searchRange - : 0; - } - - unsigned get_language () const - { - return language; - } - - struct accelerator_t - { - accelerator_t () {} - accelerator_t (const CmapSubtableFormat4 *subtable) { init (subtable); } - ~accelerator_t () { fini (); } - - void init (const CmapSubtableFormat4 *subtable) - { - segCount = subtable->segCountX2 / 2; - endCount = subtable->values.arrayZ; - startCount = endCount + segCount + 1; - idDelta = startCount + segCount; - idRangeOffset = idDelta + segCount; - glyphIdArray = idRangeOffset + segCount; - glyphIdArrayLength = (subtable->length - 16 - 8 * segCount) / 2; - } - void fini () {} - - bool get_glyph (hb_codepoint_t codepoint, hb_codepoint_t *glyph) const - { - struct CustomRange - { - int cmp (hb_codepoint_t k, - unsigned distance) const - { - if (k > last) return +1; - if (k < (&last)[distance]) return -1; - return 0; - } - HBUINT16 last; - }; - - const HBUINT16 *found = hb_bsearch (codepoint, - this->endCount, - this->segCount, - 2, - _hb_cmp_method, - this->segCount + 1); - if (!found) - return false; - unsigned int i = found - endCount; - - hb_codepoint_t gid; - unsigned int rangeOffset = this->idRangeOffset[i]; - if (rangeOffset == 0) - gid = codepoint + this->idDelta[i]; - else - { - /* Somebody has been smoking... */ - unsigned int index = rangeOffset / 2 + (codepoint - this->startCount[i]) + i - this->segCount; - if (unlikely (index >= this->glyphIdArrayLength)) - return false; - gid = this->glyphIdArray[index]; - if (unlikely (!gid)) - return false; - gid += this->idDelta[i]; - } - gid &= 0xFFFFu; - if (!gid) - return false; - *glyph = gid; - return true; - } - - HB_INTERNAL static bool get_glyph_func (const void *obj, hb_codepoint_t codepoint, hb_codepoint_t *glyph) - { return ((const accelerator_t *) obj)->get_glyph (codepoint, glyph); } - - void collect_unicodes (hb_set_t *out) const - { - unsigned int count = this->segCount; - if (count && this->startCount[count - 1] == 0xFFFFu) - count--; /* Skip sentinel segment. */ - for (unsigned int i = 0; i < count; i++) - { - hb_codepoint_t start = this->startCount[i]; - hb_codepoint_t end = this->endCount[i]; - unsigned int rangeOffset = this->idRangeOffset[i]; - if (rangeOffset == 0) - { - for (hb_codepoint_t codepoint = start; codepoint <= end; codepoint++) - { - hb_codepoint_t gid = (codepoint + this->idDelta[i]) & 0xFFFFu; - if (unlikely (!gid)) - continue; - out->add (codepoint); - } - } - else - { - for (hb_codepoint_t codepoint = start; codepoint <= end; codepoint++) - { - unsigned int index = rangeOffset / 2 + (codepoint - this->startCount[i]) + i - this->segCount; - if (unlikely (index >= this->glyphIdArrayLength)) - break; - hb_codepoint_t gid = this->glyphIdArray[index]; - if (unlikely (!gid)) - continue; - out->add (codepoint); - } - } - } - } - - void collect_mapping (hb_set_t *unicodes, /* OUT */ - hb_map_t *mapping /* OUT */) const - { - unsigned count = this->segCount; - if (count && this->startCount[count - 1] == 0xFFFFu) - count--; /* Skip sentinel segment. */ - for (unsigned i = 0; i < count; i++) - { - hb_codepoint_t start = this->startCount[i]; - hb_codepoint_t end = this->endCount[i]; - unsigned rangeOffset = this->idRangeOffset[i]; - if (rangeOffset == 0) - { - for (hb_codepoint_t codepoint = start; codepoint <= end; codepoint++) - { - hb_codepoint_t gid = (codepoint + this->idDelta[i]) & 0xFFFFu; - if (unlikely (!gid)) - continue; - unicodes->add (codepoint); - mapping->set (codepoint, gid); - } - } - else - { - for (hb_codepoint_t codepoint = start; codepoint <= end; codepoint++) - { - unsigned index = rangeOffset / 2 + (codepoint - this->startCount[i]) + i - this->segCount; - if (unlikely (index >= this->glyphIdArrayLength)) - break; - hb_codepoint_t gid = this->glyphIdArray[index]; - if (unlikely (!gid)) - continue; - unicodes->add (codepoint); - mapping->set (codepoint, gid); - } - } - } - } - - const HBUINT16 *endCount; - const HBUINT16 *startCount; - const HBUINT16 *idDelta; - const HBUINT16 *idRangeOffset; - const HBUINT16 *glyphIdArray; - unsigned int segCount; - unsigned int glyphIdArrayLength; - }; - - bool get_glyph (hb_codepoint_t codepoint, hb_codepoint_t *glyph) const - { - accelerator_t accel (this); - return accel.get_glyph_func (&accel, codepoint, glyph); - } - void collect_unicodes (hb_set_t *out) const - { - accelerator_t accel (this); - accel.collect_unicodes (out); - } - - void collect_mapping (hb_set_t *unicodes, /* OUT */ - hb_map_t *mapping /* OUT */) const - { - accelerator_t accel (this); - accel.collect_mapping (unicodes, mapping); - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - if (unlikely (!c->check_struct (this))) - return_trace (false); - - if (unlikely (!c->check_range (this, length))) - { - /* Some broken fonts have too long of a "length" value. - * If that is the case, just change the value to truncate - * the subtable at the end of the blob. */ - uint16_t new_length = (uint16_t) hb_min ((uintptr_t) 65535, - (uintptr_t) (c->end - - (char *) this)); - if (!c->try_set (&length, new_length)) - return_trace (false); - } - - return_trace (16 + 4 * (unsigned int) segCountX2 <= length); - } - - - - protected: - HBUINT16 format; /* Format number is set to 4. */ - HBUINT16 length; /* This is the length in bytes of the - * subtable. */ - HBUINT16 language; /* Ignore. */ - HBUINT16 segCountX2; /* 2 x segCount. */ - HBUINT16 searchRange; /* 2 * (2**floor(log2(segCount))) */ - HBUINT16 entrySelector; /* log2(searchRange/2) */ - HBUINT16 rangeShift; /* 2 x segCount - searchRange */ - - UnsizedArrayOf - values; -#if 0 - HBUINT16 endCount[segCount]; /* End characterCode for each segment, - * last=0xFFFFu. */ - HBUINT16 reservedPad; /* Set to 0. */ - HBUINT16 startCount[segCount]; /* Start character code for each segment. */ - HBINT16 idDelta[segCount]; /* Delta for all character codes in segment. */ - HBUINT16 idRangeOffset[segCount];/* Offsets into glyphIdArray or 0 */ - UnsizedArrayOf - glyphIdArray; /* Glyph index array (arbitrary length) */ -#endif - - public: - DEFINE_SIZE_ARRAY (14, values); -}; - -struct CmapSubtableLongGroup -{ - friend struct CmapSubtableFormat12; - friend struct CmapSubtableFormat13; - template - friend struct CmapSubtableLongSegmented; - friend struct cmap; - - int cmp (hb_codepoint_t codepoint) const - { - if (codepoint < startCharCode) return -1; - if (codepoint > endCharCode) return +1; - return 0; - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this)); - } - - private: - HBUINT32 startCharCode; /* First character code in this group. */ - HBUINT32 endCharCode; /* Last character code in this group. */ - HBUINT32 glyphID; /* Glyph index; interpretation depends on - * subtable format. */ - public: - DEFINE_SIZE_STATIC (12); -}; -DECLARE_NULL_NAMESPACE_BYTES (OT, CmapSubtableLongGroup); - -template -struct CmapSubtableTrimmed -{ - bool get_glyph (hb_codepoint_t codepoint, hb_codepoint_t *glyph) const - { - /* Rely on our implicit array bound-checking. */ - hb_codepoint_t gid = glyphIdArray[codepoint - startCharCode]; - if (!gid) - return false; - *glyph = gid; - return true; - } - - unsigned get_language () const - { - return language; - } - - void collect_unicodes (hb_set_t *out) const - { - hb_codepoint_t start = startCharCode; - unsigned int count = glyphIdArray.len; - for (unsigned int i = 0; i < count; i++) - if (glyphIdArray[i]) - out->add (start + i); - } - - void collect_mapping (hb_set_t *unicodes, /* OUT */ - hb_map_t *mapping /* OUT */) const - { - hb_codepoint_t start_cp = startCharCode; - unsigned count = glyphIdArray.len; - for (unsigned i = 0; i < count; i++) - if (glyphIdArray[i]) - { - hb_codepoint_t unicode = start_cp + i; - hb_codepoint_t glyphid = glyphIdArray[i]; - unicodes->add (unicode); - mapping->set (unicode, glyphid); - } - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this) && glyphIdArray.sanitize (c)); - } - - protected: - UINT formatReserved; /* Subtable format and (maybe) padding. */ - UINT length; /* Byte length of this subtable. */ - UINT language; /* Ignore. */ - UINT startCharCode; /* First character code covered. */ - ArrayOf - glyphIdArray; /* Array of glyph index values for character - * codes in the range. */ - public: - DEFINE_SIZE_ARRAY (5 * sizeof (UINT), glyphIdArray); -}; - -struct CmapSubtableFormat6 : CmapSubtableTrimmed {}; -struct CmapSubtableFormat10 : CmapSubtableTrimmed {}; - -template -struct CmapSubtableLongSegmented -{ - friend struct cmap; - - bool get_glyph (hb_codepoint_t codepoint, hb_codepoint_t *glyph) const - { - hb_codepoint_t gid = T::group_get_glyph (groups.bsearch (codepoint), codepoint); - if (!gid) - return false; - *glyph = gid; - return true; - } - - unsigned get_language () const - { - return language; - } - - void collect_unicodes (hb_set_t *out, unsigned int num_glyphs) const - { - for (unsigned int i = 0; i < this->groups.len; i++) - { - hb_codepoint_t start = this->groups[i].startCharCode; - hb_codepoint_t end = hb_min ((hb_codepoint_t) this->groups[i].endCharCode, - (hb_codepoint_t) HB_UNICODE_MAX); - hb_codepoint_t gid = this->groups[i].glyphID; - if (!gid) - { - /* Intention is: if (hb_is_same (T, CmapSubtableFormat13)) continue; */ - if (! T::group_get_glyph (this->groups[i], end)) continue; - start++; - gid++; - } - if (unlikely ((unsigned int) gid >= num_glyphs)) continue; - if (unlikely ((unsigned int) (gid + end - start) >= num_glyphs)) - end = start + (hb_codepoint_t) num_glyphs - gid; - - out->add_range (start, end); - } - } - - void collect_mapping (hb_set_t *unicodes, /* OUT */ - hb_map_t *mapping, /* OUT */ - unsigned num_glyphs) const - { - for (unsigned i = 0; i < this->groups.len; i++) - { - hb_codepoint_t start = this->groups[i].startCharCode; - hb_codepoint_t end = hb_min ((hb_codepoint_t) this->groups[i].endCharCode, - (hb_codepoint_t) HB_UNICODE_MAX); - hb_codepoint_t gid = this->groups[i].glyphID; - if (!gid) - { - /* Intention is: if (hb_is_same (T, CmapSubtableFormat13)) continue; */ - if (! T::group_get_glyph (this->groups[i], end)) continue; - start++; - gid++; - } - if (unlikely ((unsigned int) gid >= num_glyphs)) continue; - if (unlikely ((unsigned int) (gid + end - start) >= num_glyphs)) - end = start + (hb_codepoint_t) num_glyphs - gid; - - for (unsigned cp = start; cp <= end; cp++) - { - unicodes->add (cp); - mapping->set (cp, gid); - gid++; - } - } - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this) && groups.sanitize (c)); - } - - protected: - HBUINT16 format; /* Subtable format; set to 12. */ - HBUINT16 reserved; /* Reserved; set to 0. */ - HBUINT32 length; /* Byte length of this subtable. */ - HBUINT32 language; /* Ignore. */ - SortedArray32Of - groups; /* Groupings. */ - public: - DEFINE_SIZE_ARRAY (16, groups); -}; - -struct CmapSubtableFormat12 : CmapSubtableLongSegmented -{ - static hb_codepoint_t group_get_glyph (const CmapSubtableLongGroup &group, - hb_codepoint_t u) - { return likely (group.startCharCode <= group.endCharCode) ? - group.glyphID + (u - group.startCharCode) : 0; } - - - template - void serialize (hb_serialize_context_t *c, - Iterator it) - { - if (it.len () == 0) return; - unsigned table_initpos = c->length (); - if (unlikely (!c->extend_min (this))) return; - - hb_codepoint_t startCharCode = 0xFFFF, endCharCode = 0xFFFF; - hb_codepoint_t glyphID = 0; - - for (const auto& _ : +it) - { - if (startCharCode == 0xFFFF) - { - startCharCode = _.first; - endCharCode = _.first; - glyphID = _.second; - } - else if (!_is_gid_consecutive (endCharCode, startCharCode, glyphID, _.first, _.second)) - { - CmapSubtableLongGroup grouprecord; - grouprecord.startCharCode = startCharCode; - grouprecord.endCharCode = endCharCode; - grouprecord.glyphID = glyphID; - c->copy (grouprecord); - - startCharCode = _.first; - endCharCode = _.first; - glyphID = _.second; - } - else - endCharCode = _.first; - } - - CmapSubtableLongGroup record; - record.startCharCode = startCharCode; - record.endCharCode = endCharCode; - record.glyphID = glyphID; - c->copy (record); - - this->format = 12; - this->reserved = 0; - this->length = c->length () - table_initpos; - this->groups.len = (this->length - min_size)/CmapSubtableLongGroup::static_size; - } - - static size_t get_sub_table_size (const hb_sorted_vector_t &groups_data) - { return 16 + 12 * groups_data.length; } - - private: - static bool _is_gid_consecutive (hb_codepoint_t endCharCode, - hb_codepoint_t startCharCode, - hb_codepoint_t glyphID, - hb_codepoint_t cp, - hb_codepoint_t new_gid) - { - return (cp - 1 == endCharCode) && - new_gid == glyphID + (cp - startCharCode); - } - -}; - -struct CmapSubtableFormat13 : CmapSubtableLongSegmented -{ - static hb_codepoint_t group_get_glyph (const CmapSubtableLongGroup &group, - hb_codepoint_t u HB_UNUSED) - { return group.glyphID; } -}; - -typedef enum -{ - GLYPH_VARIANT_NOT_FOUND = 0, - GLYPH_VARIANT_FOUND = 1, - GLYPH_VARIANT_USE_DEFAULT = 2 -} glyph_variant_t; - -struct UnicodeValueRange -{ - int cmp (const hb_codepoint_t &codepoint) const - { - if (codepoint < startUnicodeValue) return -1; - if (codepoint > startUnicodeValue + additionalCount) return +1; - return 0; - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this)); - } - - HBUINT24 startUnicodeValue; /* First value in this range. */ - HBUINT8 additionalCount; /* Number of additional values in this - * range. */ - public: - DEFINE_SIZE_STATIC (4); -}; - -struct DefaultUVS : SortedArray32Of -{ - void collect_unicodes (hb_set_t *out) const - { - unsigned int count = len; - for (unsigned int i = 0; i < count; i++) - { - hb_codepoint_t first = arrayZ[i].startUnicodeValue; - hb_codepoint_t last = hb_min ((hb_codepoint_t) (first + arrayZ[i].additionalCount), - (hb_codepoint_t) HB_UNICODE_MAX); - out->add_range (first, last); - } - } - - DefaultUVS* copy (hb_serialize_context_t *c, - const hb_set_t *unicodes) const - { - DefaultUVS *out = c->start_embed (); - if (unlikely (!out)) return nullptr; - auto snap = c->snapshot (); - - HBUINT32 len; - len = 0; - if (unlikely (!c->copy (len))) return nullptr; - unsigned init_len = c->length (); - - hb_codepoint_t lastCode = HB_MAP_VALUE_INVALID; - int count = -1; - - for (const UnicodeValueRange& _ : as_array ()) - { - for (const unsigned addcnt : hb_range ((unsigned) _.additionalCount + 1)) - { - unsigned curEntry = (unsigned) _.startUnicodeValue + addcnt; - if (!unicodes->has (curEntry)) continue; - count += 1; - if (lastCode == HB_MAP_VALUE_INVALID) - lastCode = curEntry; - else if (lastCode + count != curEntry) - { - UnicodeValueRange rec; - rec.startUnicodeValue = lastCode; - rec.additionalCount = count - 1; - c->copy (rec); - - lastCode = curEntry; - count = 0; - } - } - } - - if (lastCode != HB_MAP_VALUE_INVALID) - { - UnicodeValueRange rec; - rec.startUnicodeValue = lastCode; - rec.additionalCount = count; - c->copy (rec); - } - - if (c->length () - init_len == 0) - { - c->revert (snap); - return nullptr; - } - else - { - if (unlikely (!c->check_assign (out->len, - (c->length () - init_len) / UnicodeValueRange::static_size, - HB_SERIALIZE_ERROR_INT_OVERFLOW))) return nullptr; - return out; - } - } - - public: - DEFINE_SIZE_ARRAY (4, *this); -}; - -struct UVSMapping -{ - int cmp (const hb_codepoint_t &codepoint) const - { return unicodeValue.cmp (codepoint); } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this)); - } - - HBUINT24 unicodeValue; /* Base Unicode value of the UVS */ - HBGlyphID16 glyphID; /* Glyph ID of the UVS */ - public: - DEFINE_SIZE_STATIC (5); -}; - -struct NonDefaultUVS : SortedArray32Of -{ - void collect_unicodes (hb_set_t *out) const - { - for (const auto& a : as_array ()) - out->add (a.unicodeValue); - } - - void collect_mapping (hb_set_t *unicodes, /* OUT */ - hb_map_t *mapping /* OUT */) const - { - for (const auto& a : as_array ()) - { - hb_codepoint_t unicode = a.unicodeValue; - hb_codepoint_t glyphid = a.glyphID; - unicodes->add (unicode); - mapping->set (unicode, glyphid); - } - } - - void closure_glyphs (const hb_set_t *unicodes, - hb_set_t *glyphset) const - { - + as_array () - | hb_filter (unicodes, &UVSMapping::unicodeValue) - | hb_map (&UVSMapping::glyphID) - | hb_sink (glyphset) - ; - } - - NonDefaultUVS* copy (hb_serialize_context_t *c, - const hb_set_t *unicodes, - const hb_set_t *glyphs_requested, - const hb_map_t *glyph_map) const - { - NonDefaultUVS *out = c->start_embed (); - if (unlikely (!out)) return nullptr; - - auto it = - + as_array () - | hb_filter ([&] (const UVSMapping& _) - { - return unicodes->has (_.unicodeValue) || glyphs_requested->has (_.glyphID); - }) - ; - - if (!it) return nullptr; - - HBUINT32 len; - len = it.len (); - if (unlikely (!c->copy (len))) return nullptr; - - for (const UVSMapping& _ : it) - { - UVSMapping mapping; - mapping.unicodeValue = _.unicodeValue; - mapping.glyphID = glyph_map->get (_.glyphID); - c->copy (mapping); - } - - return out; - } - - public: - DEFINE_SIZE_ARRAY (4, *this); -}; - -struct VariationSelectorRecord -{ - glyph_variant_t get_glyph (hb_codepoint_t codepoint, - hb_codepoint_t *glyph, - const void *base) const - { - if ((base+defaultUVS).bfind (codepoint)) - return GLYPH_VARIANT_USE_DEFAULT; - const UVSMapping &nonDefault = (base+nonDefaultUVS).bsearch (codepoint); - if (nonDefault.glyphID) - { - *glyph = nonDefault.glyphID; - return GLYPH_VARIANT_FOUND; - } - return GLYPH_VARIANT_NOT_FOUND; - } - - VariationSelectorRecord(const VariationSelectorRecord& other) - { - *this = other; - } - - void operator= (const VariationSelectorRecord& other) - { - varSelector = other.varSelector; - HBUINT32 offset = other.defaultUVS; - defaultUVS = offset; - offset = other.nonDefaultUVS; - nonDefaultUVS = offset; - } - - void collect_unicodes (hb_set_t *out, const void *base) const - { - (base+defaultUVS).collect_unicodes (out); - (base+nonDefaultUVS).collect_unicodes (out); - } - - void collect_mapping (const void *base, - hb_set_t *unicodes, /* OUT */ - hb_map_t *mapping /* OUT */) const - { - (base+defaultUVS).collect_unicodes (unicodes); - (base+nonDefaultUVS).collect_mapping (unicodes, mapping); - } - - int cmp (const hb_codepoint_t &variation_selector) const - { return varSelector.cmp (variation_selector); } - - bool sanitize (hb_sanitize_context_t *c, const void *base) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this) && - defaultUVS.sanitize (c, base) && - nonDefaultUVS.sanitize (c, base)); - } - - hb_pair_t - copy (hb_serialize_context_t *c, - const hb_set_t *unicodes, - const hb_set_t *glyphs_requested, - const hb_map_t *glyph_map, - const void *base) const - { - auto snap = c->snapshot (); - auto *out = c->embed (*this); - if (unlikely (!out)) return hb_pair (0, 0); - - out->defaultUVS = 0; - out->nonDefaultUVS = 0; - - unsigned non_default_uvs_objidx = 0; - if (nonDefaultUVS != 0) - { - c->push (); - if (c->copy (base+nonDefaultUVS, unicodes, glyphs_requested, glyph_map)) - non_default_uvs_objidx = c->pop_pack (); - else c->pop_discard (); - } - - unsigned default_uvs_objidx = 0; - if (defaultUVS != 0) - { - c->push (); - if (c->copy (base+defaultUVS, unicodes)) - default_uvs_objidx = c->pop_pack (); - else c->pop_discard (); - } - - - if (!default_uvs_objidx && !non_default_uvs_objidx) - c->revert (snap); - - return hb_pair (default_uvs_objidx, non_default_uvs_objidx); - } - - HBUINT24 varSelector; /* Variation selector. */ - Offset32To - defaultUVS; /* Offset to Default UVS Table. May be 0. */ - Offset32To - nonDefaultUVS; /* Offset to Non-Default UVS Table. May be 0. */ - public: - DEFINE_SIZE_STATIC (11); -}; - -struct CmapSubtableFormat14 -{ - glyph_variant_t get_glyph_variant (hb_codepoint_t codepoint, - hb_codepoint_t variation_selector, - hb_codepoint_t *glyph) const - { return record.bsearch (variation_selector).get_glyph (codepoint, glyph, this); } - - void collect_variation_selectors (hb_set_t *out) const - { - for (const auto& a : record.as_array ()) - out->add (a.varSelector); - } - void collect_variation_unicodes (hb_codepoint_t variation_selector, - hb_set_t *out) const - { record.bsearch (variation_selector).collect_unicodes (out, this); } - - void serialize (hb_serialize_context_t *c, - const hb_set_t *unicodes, - const hb_set_t *glyphs_requested, - const hb_map_t *glyph_map, - const void *base) - { - auto snap = c->snapshot (); - unsigned table_initpos = c->length (); - const char* init_tail = c->tail; - - if (unlikely (!c->extend_min (this))) return; - this->format = 14; - - auto src_tbl = reinterpret_cast (base); - - /* - * Some versions of OTS require that offsets are in order. Due to the use - * of push()/pop_pack() serializing the variation records in order results - * in the offsets being in reverse order (first record has the largest - * offset). While this is perfectly valid, it will cause some versions of - * OTS to consider this table bad. - * - * So to prevent this issue we serialize the variation records in reverse - * order, so that the offsets are ordered from small to large. Since - * variation records are supposed to be in increasing order of varSelector - * we then have to reverse the order of the written variation selector - * records after everything is finalized. - */ - hb_vector_t> obj_indices; - for (int i = src_tbl->record.len - 1; i >= 0; i--) - { - hb_pair_t result = src_tbl->record[i].copy (c, unicodes, glyphs_requested, glyph_map, base); - if (result.first || result.second) - obj_indices.push (result); - } - - if (c->length () - table_initpos == CmapSubtableFormat14::min_size) - { - c->revert (snap); - return; - } - - if (unlikely (!c->check_success (!obj_indices.in_error ()))) - return; - - int tail_len = init_tail - c->tail; - c->check_assign (this->length, c->length () - table_initpos + tail_len, - HB_SERIALIZE_ERROR_INT_OVERFLOW); - c->check_assign (this->record.len, - (c->length () - table_initpos - CmapSubtableFormat14::min_size) / - VariationSelectorRecord::static_size, - HB_SERIALIZE_ERROR_INT_OVERFLOW); - - /* Correct the incorrect write order by reversing the order of the variation - records array. */ - _reverse_variation_records (); - - /* Now that records are in the right order, we can set up the offsets. */ - _add_links_to_variation_records (c, obj_indices); - } - - void _reverse_variation_records () - { - record.as_array ().reverse (); - } - - void _add_links_to_variation_records (hb_serialize_context_t *c, - const hb_vector_t>& obj_indices) - { - for (unsigned i = 0; i < obj_indices.length; i++) - { - /* - * Since the record array has been reversed (see comments in copy()) - * but obj_indices has not been, the indices at obj_indices[i] - * are for the variation record at record[j]. - */ - int j = obj_indices.length - 1 - i; - c->add_link (record[j].defaultUVS, obj_indices[i].first); - c->add_link (record[j].nonDefaultUVS, obj_indices[i].second); - } - } - - void closure_glyphs (const hb_set_t *unicodes, - hb_set_t *glyphset) const - { - + hb_iter (record) - | hb_filter (hb_bool, &VariationSelectorRecord::nonDefaultUVS) - | hb_map (&VariationSelectorRecord::nonDefaultUVS) - | hb_map (hb_add (this)) - | hb_apply ([=] (const NonDefaultUVS& _) { _.closure_glyphs (unicodes, glyphset); }) - ; - } - - void collect_unicodes (hb_set_t *out) const - { - for (const VariationSelectorRecord& _ : record) - _.collect_unicodes (out, this); - } - - void collect_mapping (hb_set_t *unicodes, /* OUT */ - hb_map_t *mapping /* OUT */) const - { - for (const VariationSelectorRecord& _ : record) - _.collect_mapping (this, unicodes, mapping); - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this) && - record.sanitize (c, this)); - } - - protected: - HBUINT16 format; /* Format number is set to 14. */ - HBUINT32 length; /* Byte length of this subtable. */ - SortedArray32Of - record; /* Variation selector records; sorted - * in increasing order of `varSelector'. */ - public: - DEFINE_SIZE_ARRAY (10, record); -}; - -struct CmapSubtable -{ - /* Note: We intentionally do NOT implement subtable formats 2 and 8. */ - - bool get_glyph (hb_codepoint_t codepoint, - hb_codepoint_t *glyph) const - { - switch (u.format) { - case 0: return u.format0 .get_glyph (codepoint, glyph); - case 4: return u.format4 .get_glyph (codepoint, glyph); - case 6: return u.format6 .get_glyph (codepoint, glyph); - case 10: return u.format10.get_glyph (codepoint, glyph); - case 12: return u.format12.get_glyph (codepoint, glyph); - case 13: return u.format13.get_glyph (codepoint, glyph); - case 14: - default: return false; - } - } - void collect_unicodes (hb_set_t *out, unsigned int num_glyphs = UINT_MAX) const - { - switch (u.format) { - case 0: u.format0 .collect_unicodes (out); return; - case 4: u.format4 .collect_unicodes (out); return; - case 6: u.format6 .collect_unicodes (out); return; - case 10: u.format10.collect_unicodes (out); return; - case 12: u.format12.collect_unicodes (out, num_glyphs); return; - case 13: u.format13.collect_unicodes (out, num_glyphs); return; - case 14: - default: return; - } - } - - void collect_mapping (hb_set_t *unicodes, /* OUT */ - hb_map_t *mapping, /* OUT */ - unsigned num_glyphs = UINT_MAX) const - { - switch (u.format) { - case 0: u.format0 .collect_mapping (unicodes, mapping); return; - case 4: u.format4 .collect_mapping (unicodes, mapping); return; - case 6: u.format6 .collect_mapping (unicodes, mapping); return; - case 10: u.format10.collect_mapping (unicodes, mapping); return; - case 12: u.format12.collect_mapping (unicodes, mapping, num_glyphs); return; - case 13: u.format13.collect_mapping (unicodes, mapping, num_glyphs); return; - case 14: - default: return; - } - } - - unsigned get_language () const - { - switch (u.format) { - case 0: return u.format0 .get_language (); - case 4: return u.format4 .get_language (); - case 6: return u.format6 .get_language (); - case 10: return u.format10.get_language (); - case 12: return u.format12.get_language (); - case 13: return u.format13.get_language (); - case 14: - default: return 0; - } - } - - template - void serialize (hb_serialize_context_t *c, - Iterator it, - unsigned format, - const hb_subset_plan_t *plan, - const void *base) - { - switch (format) { - case 4: return u.format4.serialize (c, it); - case 12: return u.format12.serialize (c, it); - case 14: return u.format14.serialize (c, plan->unicodes, plan->glyphs_requested, plan->glyph_map, base); - default: return; - } - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - if (!u.format.sanitize (c)) return_trace (false); - switch (u.format) { - case 0: return_trace (u.format0 .sanitize (c)); - case 4: return_trace (u.format4 .sanitize (c)); - case 6: return_trace (u.format6 .sanitize (c)); - case 10: return_trace (u.format10.sanitize (c)); - case 12: return_trace (u.format12.sanitize (c)); - case 13: return_trace (u.format13.sanitize (c)); - case 14: return_trace (u.format14.sanitize (c)); - default:return_trace (true); - } - } - - public: - union { - HBUINT16 format; /* Format identifier */ - CmapSubtableFormat0 format0; - CmapSubtableFormat4 format4; - CmapSubtableFormat6 format6; - CmapSubtableFormat10 format10; - CmapSubtableFormat12 format12; - CmapSubtableFormat13 format13; - CmapSubtableFormat14 format14; - } u; - public: - DEFINE_SIZE_UNION (2, format); -}; - - -struct EncodingRecord -{ - int cmp (const EncodingRecord &other) const - { - int ret; - ret = platformID.cmp (other.platformID); - if (ret) return ret; - ret = encodingID.cmp (other.encodingID); - if (ret) return ret; - return 0; - } - - bool sanitize (hb_sanitize_context_t *c, const void *base) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this) && - subtable.sanitize (c, base)); - } - - template - EncodingRecord* copy (hb_serialize_context_t *c, - Iterator it, - unsigned format, - const void *base, - const hb_subset_plan_t *plan, - /* INOUT */ unsigned *objidx) const - { - TRACE_SERIALIZE (this); - auto snap = c->snapshot (); - auto *out = c->embed (this); - if (unlikely (!out)) return_trace (nullptr); - out->subtable = 0; - - if (*objidx == 0) - { - CmapSubtable *cmapsubtable = c->push (); - unsigned origin_length = c->length (); - cmapsubtable->serialize (c, it, format, plan, &(base+subtable)); - if (c->length () - origin_length > 0) *objidx = c->pop_pack (); - else c->pop_discard (); - } - - if (*objidx == 0) - { - c->revert (snap); - return_trace (nullptr); - } - - c->add_link (out->subtable, *objidx); - return_trace (out); - } - - HBUINT16 platformID; /* Platform ID. */ - HBUINT16 encodingID; /* Platform-specific encoding ID. */ - Offset32To - subtable; /* Byte offset from beginning of table to the subtable for this encoding. */ - public: - DEFINE_SIZE_STATIC (8); -}; - -struct cmap -{ - static constexpr hb_tag_t tableTag = HB_OT_TAG_cmap; - - template - bool serialize (hb_serialize_context_t *c, - Iterator it, - EncodingRecIter encodingrec_iter, - const void *base, - const hb_subset_plan_t *plan, - bool drop_format_4 = false) - { - if (unlikely (!c->extend_min ((*this)))) return false; - this->version = 0; - - unsigned format4objidx = 0, format12objidx = 0, format14objidx = 0; - auto snap = c->snapshot (); - - for (const EncodingRecord& _ : encodingrec_iter) - { - if (c->in_error ()) - return false; - - unsigned format = (base+_.subtable).u.format; - if (format != 4 && format != 12 && format != 14) continue; - - hb_set_t unicodes_set; - (base+_.subtable).collect_unicodes (&unicodes_set); - - if (!drop_format_4 && format == 4) - { - c->copy (_, + it | hb_filter (unicodes_set, hb_first), 4u, base, plan, &format4objidx); - if (c->in_error () && c->only_overflow ()) - { - // cmap4 overflowed, reset and retry serialization without format 4 subtables. - c->revert (snap); - return serialize (c, it, - encodingrec_iter, - base, - plan, - true); - } - } - - else if (format == 12) - { - if (_can_drop (_, unicodes_set, base, + it | hb_map (hb_first), encodingrec_iter)) continue; - c->copy (_, + it | hb_filter (unicodes_set, hb_first), 12u, base, plan, &format12objidx); - } - else if (format == 14) c->copy (_, it, 14u, base, plan, &format14objidx); - } - c->check_assign(this->encodingRecord.len, - (c->length () - cmap::min_size)/EncodingRecord::static_size, - HB_SERIALIZE_ERROR_INT_OVERFLOW); - - // Fail if format 4 was dropped and there is no cmap12. - return !drop_format_4 || format12objidx; - } - - template - bool _can_drop (const EncodingRecord& cmap12, - const hb_set_t& cmap12_unicodes, - const void* base, - Iterator subset_unicodes, - EncodingRecordIterator encoding_records) - { - for (auto cp : + subset_unicodes | hb_filter (cmap12_unicodes)) - { - if (cp >= 0x10000) return false; - } - - unsigned target_platform; - unsigned target_encoding; - unsigned target_language = (base+cmap12.subtable).get_language (); - - if (cmap12.platformID == 0 && cmap12.encodingID == 4) - { - target_platform = 0; - target_encoding = 3; - } else if (cmap12.platformID == 3 && cmap12.encodingID == 10) { - target_platform = 3; - target_encoding = 1; - } else { - return false; - } - - for (const auto& _ : encoding_records) - { - if (_.platformID != target_platform - || _.encodingID != target_encoding - || (base+_.subtable).get_language() != target_language) - continue; - - hb_set_t sibling_unicodes; - (base+_.subtable).collect_unicodes (&sibling_unicodes); - - auto cmap12 = + subset_unicodes | hb_filter (cmap12_unicodes); - auto sibling = + subset_unicodes | hb_filter (sibling_unicodes); - for (; cmap12 && sibling; cmap12++, sibling++) - { - unsigned a = *cmap12; - unsigned b = *sibling; - if (a != b) return false; - } - - return !cmap12 && !sibling; - } - - return false; - } - - void closure_glyphs (const hb_set_t *unicodes, - hb_set_t *glyphset) const - { - + hb_iter (encodingRecord) - | hb_map (&EncodingRecord::subtable) - | hb_map (hb_add (this)) - | hb_filter ([&] (const CmapSubtable& _) { return _.u.format == 14; }) - | hb_apply ([=] (const CmapSubtable& _) { _.u.format14.closure_glyphs (unicodes, glyphset); }) - ; - } - - bool subset (hb_subset_context_t *c) const - { - TRACE_SUBSET (this); - - cmap *cmap_prime = c->serializer->start_embed (); - if (unlikely (!c->serializer->check_success (cmap_prime))) return_trace (false); - - auto encodingrec_iter = - + hb_iter (encodingRecord) - | hb_filter ([&] (const EncodingRecord& _) - { - if ((_.platformID == 0 && _.encodingID == 3) || - (_.platformID == 0 && _.encodingID == 4) || - (_.platformID == 3 && _.encodingID == 1) || - (_.platformID == 3 && _.encodingID == 10) || - (this + _.subtable).u.format == 14) - return true; - - return false; - }) - ; - - if (unlikely (!encodingrec_iter.len ())) return_trace (false); - - const EncodingRecord *unicode_bmp= nullptr, *unicode_ucs4 = nullptr, *ms_bmp = nullptr, *ms_ucs4 = nullptr; - bool has_format12 = false; - - for (const EncodingRecord& _ : encodingrec_iter) - { - unsigned format = (this + _.subtable).u.format; - if (format == 12) has_format12 = true; - - const EncodingRecord *table = hb_addressof (_); - if (_.platformID == 0 && _.encodingID == 3) unicode_bmp = table; - else if (_.platformID == 0 && _.encodingID == 4) unicode_ucs4 = table; - else if (_.platformID == 3 && _.encodingID == 1) ms_bmp = table; - else if (_.platformID == 3 && _.encodingID == 10) ms_ucs4 = table; - } - - if (unlikely (!has_format12 && !unicode_bmp && !ms_bmp)) return_trace (false); - if (unlikely (has_format12 && (!unicode_ucs4 && !ms_ucs4))) return_trace (false); - - auto it = - + hb_iter (c->plan->unicodes) - | hb_map ([&] (hb_codepoint_t _) - { - hb_codepoint_t new_gid = HB_MAP_VALUE_INVALID; - c->plan->new_gid_for_codepoint (_, &new_gid); - return hb_pair_t (_, new_gid); - }) - | hb_filter ([&] (const hb_pair_t _) - { return (_.second != HB_MAP_VALUE_INVALID); }) - ; - - return_trace (cmap_prime->serialize (c->serializer, it, encodingrec_iter, this, c->plan)); - } - - const CmapSubtable *find_best_subtable (bool *symbol = nullptr) const - { - if (symbol) *symbol = false; - - const CmapSubtable *subtable; - - /* Symbol subtable. - * Prefer symbol if available. - * https://github.com/harfbuzz/harfbuzz/issues/1918 */ - if ((subtable = this->find_subtable (3, 0))) - { - if (symbol) *symbol = true; - return subtable; - } - - /* 32-bit subtables. */ - if ((subtable = this->find_subtable (3, 10))) return subtable; - if ((subtable = this->find_subtable (0, 6))) return subtable; - if ((subtable = this->find_subtable (0, 4))) return subtable; - - /* 16-bit subtables. */ - if ((subtable = this->find_subtable (3, 1))) return subtable; - if ((subtable = this->find_subtable (0, 3))) return subtable; - if ((subtable = this->find_subtable (0, 2))) return subtable; - if ((subtable = this->find_subtable (0, 1))) return subtable; - if ((subtable = this->find_subtable (0, 0))) return subtable; - - /* Meh. */ - return &Null (CmapSubtable); - } - - struct accelerator_t - { - void init (hb_face_t *face) - { - this->table = hb_sanitize_context_t ().reference_table (face); - bool symbol; - this->subtable = table->find_best_subtable (&symbol); - this->subtable_uvs = &Null (CmapSubtableFormat14); - { - const CmapSubtable *st = table->find_subtable (0, 5); - if (st && st->u.format == 14) - subtable_uvs = &st->u.format14; - } - - this->get_glyph_data = subtable; - if (unlikely (symbol)) - this->get_glyph_funcZ = get_glyph_from_symbol; - else - { - switch (subtable->u.format) { - /* Accelerate format 4 and format 12. */ - default: - this->get_glyph_funcZ = get_glyph_from; - break; - case 12: - this->get_glyph_funcZ = get_glyph_from; - break; - case 4: - { - this->format4_accel.init (&subtable->u.format4); - this->get_glyph_data = &this->format4_accel; - this->get_glyph_funcZ = this->format4_accel.get_glyph_func; - break; - } - } - } - } - - void fini () { this->table.destroy (); } - - bool get_nominal_glyph (hb_codepoint_t unicode, - hb_codepoint_t *glyph) const - { - if (unlikely (!this->get_glyph_funcZ)) return false; - return this->get_glyph_funcZ (this->get_glyph_data, unicode, glyph); - } - unsigned int get_nominal_glyphs (unsigned int count, - const hb_codepoint_t *first_unicode, - unsigned int unicode_stride, - hb_codepoint_t *first_glyph, - unsigned int glyph_stride) const - { - if (unlikely (!this->get_glyph_funcZ)) return 0; - - hb_cmap_get_glyph_func_t get_glyph_funcZ = this->get_glyph_funcZ; - const void *get_glyph_data = this->get_glyph_data; - - unsigned int done; - for (done = 0; - done < count && get_glyph_funcZ (get_glyph_data, *first_unicode, first_glyph); - done++) - { - first_unicode = &StructAtOffsetUnaligned (first_unicode, unicode_stride); - first_glyph = &StructAtOffsetUnaligned (first_glyph, glyph_stride); - } - return done; - } - - bool get_variation_glyph (hb_codepoint_t unicode, - hb_codepoint_t variation_selector, - hb_codepoint_t *glyph) const - { - switch (this->subtable_uvs->get_glyph_variant (unicode, - variation_selector, - glyph)) - { - case GLYPH_VARIANT_NOT_FOUND: return false; - case GLYPH_VARIANT_FOUND: return true; - case GLYPH_VARIANT_USE_DEFAULT: break; - } - - return get_nominal_glyph (unicode, glyph); - } - - void collect_unicodes (hb_set_t *out, unsigned int num_glyphs) const - { subtable->collect_unicodes (out, num_glyphs); } - void collect_mapping (hb_set_t *unicodes, hb_map_t *mapping, - unsigned num_glyphs = UINT_MAX) const - { subtable->collect_mapping (unicodes, mapping, num_glyphs); } - void collect_variation_selectors (hb_set_t *out) const - { subtable_uvs->collect_variation_selectors (out); } - void collect_variation_unicodes (hb_codepoint_t variation_selector, - hb_set_t *out) const - { subtable_uvs->collect_variation_unicodes (variation_selector, out); } - - protected: - typedef bool (*hb_cmap_get_glyph_func_t) (const void *obj, - hb_codepoint_t codepoint, - hb_codepoint_t *glyph); - - template - HB_INTERNAL static bool get_glyph_from (const void *obj, - hb_codepoint_t codepoint, - hb_codepoint_t *glyph) - { - const Type *typed_obj = (const Type *) obj; - return typed_obj->get_glyph (codepoint, glyph); - } - - template - HB_INTERNAL static bool get_glyph_from_symbol (const void *obj, - hb_codepoint_t codepoint, - hb_codepoint_t *glyph) - { - const Type *typed_obj = (const Type *) obj; - if (likely (typed_obj->get_glyph (codepoint, glyph))) - return true; - - if (codepoint <= 0x00FFu) - { - /* For symbol-encoded OpenType fonts, we duplicate the - * U+F000..F0FF range at U+0000..U+00FF. That's what - * Windows seems to do, and that's hinted about at: - * https://docs.microsoft.com/en-us/typography/opentype/spec/recom - * under "Non-Standard (Symbol) Fonts". */ - return typed_obj->get_glyph (0xF000u + codepoint, glyph); - } - - return false; - } - - private: - hb_nonnull_ptr_t subtable; - hb_nonnull_ptr_t subtable_uvs; - - hb_cmap_get_glyph_func_t get_glyph_funcZ; - const void *get_glyph_data; - - CmapSubtableFormat4::accelerator_t format4_accel; - - public: - hb_blob_ptr_t table; - }; - - protected: - - const CmapSubtable *find_subtable (unsigned int platform_id, - unsigned int encoding_id) const - { - EncodingRecord key; - key.platformID = platform_id; - key.encodingID = encoding_id; - - const EncodingRecord &result = encodingRecord.bsearch (key); - if (!result.subtable) - return nullptr; - - return &(this+result.subtable); - } - - const EncodingRecord *find_encodingrec (unsigned int platform_id, - unsigned int encoding_id) const - { - EncodingRecord key; - key.platformID = platform_id; - key.encodingID = encoding_id; - - return encodingRecord.as_array ().bsearch (key); - } - - bool find_subtable (unsigned format) const - { - auto it = - + hb_iter (encodingRecord) - | hb_map (&EncodingRecord::subtable) - | hb_map (hb_add (this)) - | hb_filter ([&] (const CmapSubtable& _) { return _.u.format == format; }) - ; - - return it.len (); - } - - public: - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this) && - likely (version == 0) && - encodingRecord.sanitize (c, this)); - } - - protected: - HBUINT16 version; /* Table version number (0). */ - SortedArray16Of - encodingRecord; /* Encoding tables. */ - public: - DEFINE_SIZE_ARRAY (4, encodingRecord); -}; - -struct cmap_accelerator_t : cmap::accelerator_t {}; - -} /* namespace OT */ - - -#endif /* HB_OT_CMAP_TABLE_HH */ diff --git a/harfbuzz/src/hb-ot-color-cbdt-table.hh b/harfbuzz/src/hb-ot-color-cbdt-table.hh deleted file mode 100644 index 1445991..0000000 --- a/harfbuzz/src/hb-ot-color-cbdt-table.hh +++ /dev/null @@ -1,985 +0,0 @@ -/* - * Copyright © 2016 Google, Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Google Author(s): Seigo Nonaka, Calder Kitagawa - */ - -#ifndef HB_OT_COLOR_CBDT_TABLE_HH -#define HB_OT_COLOR_CBDT_TABLE_HH - -#include "hb-open-type.hh" - -/* - * CBLC -- Color Bitmap Location - * https://docs.microsoft.com/en-us/typography/opentype/spec/cblc - * https://docs.microsoft.com/en-us/typography/opentype/spec/eblc - * CBDT -- Color Bitmap Data - * https://docs.microsoft.com/en-us/typography/opentype/spec/cbdt - * https://docs.microsoft.com/en-us/typography/opentype/spec/ebdt - */ -#define HB_OT_TAG_CBLC HB_TAG('C','B','L','C') -#define HB_OT_TAG_CBDT HB_TAG('C','B','D','T') - - -namespace OT { - -struct cblc_bitmap_size_subset_context_t -{ - const char *cbdt; - unsigned int cbdt_length; - hb_vector_t *cbdt_prime; - unsigned int size; /* INOUT - * Input: old size of IndexSubtable - * Output: new size of IndexSubtable - */ - unsigned int num_tables; /* INOUT - * Input: old number of subtables. - * Output: new number of subtables. - */ - hb_codepoint_t start_glyph; /* OUT */ - hb_codepoint_t end_glyph; /* OUT */ -}; - -static inline bool -_copy_data_to_cbdt (hb_vector_t *cbdt_prime, - const void *data, - unsigned length) -{ - unsigned int new_len = cbdt_prime->length + length; - if (unlikely (!cbdt_prime->alloc (new_len))) return false; - memcpy (cbdt_prime->arrayZ + cbdt_prime->length, data, length); - cbdt_prime->length = new_len; - return true; -} - -struct SmallGlyphMetrics -{ - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this)); - } - - void get_extents (hb_font_t *font, hb_glyph_extents_t *extents) const - { - extents->x_bearing = font->em_scale_x (bearingX); - extents->y_bearing = font->em_scale_y (bearingY); - extents->width = font->em_scale_x (width); - extents->height = font->em_scale_y (-static_cast(height)); - } - - HBUINT8 height; - HBUINT8 width; - HBINT8 bearingX; - HBINT8 bearingY; - HBUINT8 advance; - public: - DEFINE_SIZE_STATIC (5); -}; - -struct BigGlyphMetrics : SmallGlyphMetrics -{ - HBINT8 vertBearingX; - HBINT8 vertBearingY; - HBUINT8 vertAdvance; - public: - DEFINE_SIZE_STATIC (8); -}; - -struct SBitLineMetrics -{ - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this)); - } - - HBINT8 ascender; - HBINT8 decender; - HBUINT8 widthMax; - HBINT8 caretSlopeNumerator; - HBINT8 caretSlopeDenominator; - HBINT8 caretOffset; - HBINT8 minOriginSB; - HBINT8 minAdvanceSB; - HBINT8 maxBeforeBL; - HBINT8 minAfterBL; - HBINT8 padding1; - HBINT8 padding2; - public: - DEFINE_SIZE_STATIC (12); -}; - - -/* - * Index Subtables. - */ - -struct IndexSubtableHeader -{ - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this)); - } - - HBUINT16 indexFormat; - HBUINT16 imageFormat; - HBUINT32 imageDataOffset; - public: - DEFINE_SIZE_STATIC (8); -}; - -template -struct IndexSubtableFormat1Or3 -{ - bool sanitize (hb_sanitize_context_t *c, unsigned int glyph_count) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this) && - offsetArrayZ.sanitize (c, glyph_count + 1)); - } - - bool get_image_data (unsigned int idx, - unsigned int *offset, - unsigned int *length) const - { - if (unlikely (offsetArrayZ[idx + 1] <= offsetArrayZ[idx])) - return false; - - *offset = header.imageDataOffset + offsetArrayZ[idx]; - *length = offsetArrayZ[idx + 1] - offsetArrayZ[idx]; - return true; - } - - bool add_offset (hb_serialize_context_t *c, - unsigned int offset, - unsigned int *size /* OUT (accumulated) */) - { - TRACE_SERIALIZE (this); - Offset embedded_offset; - embedded_offset = offset; - *size += sizeof (OffsetType); - auto *o = c->embed (embedded_offset); - return_trace ((bool) o); - } - - IndexSubtableHeader header; - UnsizedArrayOf> - offsetArrayZ; - public: - DEFINE_SIZE_ARRAY (8, offsetArrayZ); -}; - -struct IndexSubtableFormat1 : IndexSubtableFormat1Or3 {}; -struct IndexSubtableFormat3 : IndexSubtableFormat1Or3 {}; - -struct IndexSubtable -{ - bool sanitize (hb_sanitize_context_t *c, unsigned int glyph_count) const - { - TRACE_SANITIZE (this); - if (!u.header.sanitize (c)) return_trace (false); - switch (u.header.indexFormat) - { - case 1: return_trace (u.format1.sanitize (c, glyph_count)); - case 3: return_trace (u.format3.sanitize (c, glyph_count)); - default:return_trace (true); - } - } - - bool - finish_subtable (hb_serialize_context_t *c, - unsigned int cbdt_prime_len, - unsigned int num_glyphs, - unsigned int *size /* OUT (accumulated) */) - { - TRACE_SERIALIZE (this); - - unsigned int local_offset = cbdt_prime_len - u.header.imageDataOffset; - switch (u.header.indexFormat) - { - case 1: return_trace (u.format1.add_offset (c, local_offset, size)); - case 3: { - if (!u.format3.add_offset (c, local_offset, size)) - return_trace (false); - if (!(num_glyphs & 0x01)) // Pad to 32-bit alignment if needed. - return_trace (u.format3.add_offset (c, 0, size)); - return_trace (true); - } - // TODO: implement 2, 4, 5. - case 2: case 4: // No-op. - case 5: // Pad to 32-bit aligned. - default: return_trace (false); - } - } - - bool - fill_missing_glyphs (hb_serialize_context_t *c, - unsigned int cbdt_prime_len, - unsigned int num_missing, - unsigned int *size /* OUT (accumulated) */, - unsigned int *num_glyphs /* OUT (accumulated) */) - { - TRACE_SERIALIZE (this); - - unsigned int local_offset = cbdt_prime_len - u.header.imageDataOffset; - switch (u.header.indexFormat) - { - case 1: { - for (unsigned int i = 0; i < num_missing; i++) - { - if (unlikely (!u.format1.add_offset (c, local_offset, size))) - return_trace (false); - *num_glyphs += 1; - } - return_trace (true); - } - case 3: { - for (unsigned int i = 0; i < num_missing; i++) - { - if (unlikely (!u.format3.add_offset (c, local_offset, size))) - return_trace (false); - *num_glyphs += 1; - } - return_trace (true); - } - // TODO: implement 2, 4, 5. - case 2: // Add empty space in cbdt_prime?. - case 4: case 5: // No-op as sparse is supported. - default: return_trace (false); - } - } - - bool - copy_glyph_at_idx (hb_serialize_context_t *c, unsigned int idx, - const char *cbdt, unsigned int cbdt_length, - hb_vector_t *cbdt_prime /* INOUT */, - IndexSubtable *subtable_prime /* INOUT */, - unsigned int *size /* OUT (accumulated) */) const - { - TRACE_SERIALIZE (this); - - unsigned int offset, length, format; - if (unlikely (!get_image_data (idx, &offset, &length, &format))) return_trace (false); - if (unlikely (offset > cbdt_length || cbdt_length - offset < length)) return_trace (false); - - auto *header_prime = subtable_prime->get_header (); - unsigned int new_local_offset = cbdt_prime->length - (unsigned int) header_prime->imageDataOffset; - if (unlikely (!_copy_data_to_cbdt (cbdt_prime, cbdt + offset, length))) return_trace (false); - - return_trace (subtable_prime->add_offset (c, new_local_offset, size)); - } - - bool - add_offset (hb_serialize_context_t *c, unsigned int local_offset, - unsigned int *size /* OUT (accumulated) */) - { - TRACE_SERIALIZE (this); - switch (u.header.indexFormat) - { - case 1: return_trace (u.format1.add_offset (c, local_offset, size)); - case 3: return_trace (u.format3.add_offset (c, local_offset, size)); - // TODO: Implement tables 2, 4, 5 - case 2: // Should be a no-op. - case 4: case 5: // Handle sparse cases. - default: return_trace (false); - } - } - - bool get_extents (hb_glyph_extents_t *extents HB_UNUSED) const - { - switch (u.header.indexFormat) - { - case 2: case 5: /* TODO */ - case 1: case 3: case 4: /* Variable-metrics formats do not have metrics here. */ - default:return (false); - } - } - - bool - get_image_data (unsigned int idx, unsigned int *offset, - unsigned int *length, unsigned int *format) const - { - *format = u.header.imageFormat; - switch (u.header.indexFormat) - { - case 1: return u.format1.get_image_data (idx, offset, length); - case 3: return u.format3.get_image_data (idx, offset, length); - default: return false; - } - } - - const IndexSubtableHeader* get_header () const { return &u.header; } - - void populate_header (unsigned index_format, - unsigned image_format, - unsigned int image_data_offset, - unsigned int *size) - { - u.header.indexFormat = index_format; - u.header.imageFormat = image_format; - u.header.imageDataOffset = image_data_offset; - switch (u.header.indexFormat) - { - case 1: *size += IndexSubtableFormat1::min_size; break; - case 3: *size += IndexSubtableFormat3::min_size; break; - } - } - - protected: - union { - IndexSubtableHeader header; - IndexSubtableFormat1 format1; - IndexSubtableFormat3 format3; - /* TODO: Format 2, 4, 5. */ - } u; - public: - DEFINE_SIZE_UNION (8, header); -}; - -struct IndexSubtableRecord -{ - bool sanitize (hb_sanitize_context_t *c, const void *base) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this) && - firstGlyphIndex <= lastGlyphIndex && - offsetToSubtable.sanitize (c, base, lastGlyphIndex - firstGlyphIndex + 1)); - } - - const IndexSubtable* get_subtable (const void *base) const - { - return &(base+offsetToSubtable); - } - - bool add_new_subtable (hb_subset_context_t* c, - cblc_bitmap_size_subset_context_t *bitmap_size_context, - IndexSubtableRecord *record, - const hb_vector_t> *lookup, /* IN */ - const void *base, - unsigned int *start /* INOUT */) const - { - TRACE_SERIALIZE (this); - - auto *subtable = c->serializer->start_embed (); - if (unlikely (!subtable)) return_trace (false); - if (unlikely (!c->serializer->extend_min (subtable))) return_trace (false); - - auto *old_subtable = get_subtable (base); - auto *old_header = old_subtable->get_header (); - - subtable->populate_header (old_header->indexFormat, - old_header->imageFormat, - bitmap_size_context->cbdt_prime->length, - &bitmap_size_context->size); - - unsigned int num_glyphs = 0; - bool early_exit = false; - for (unsigned int i = *start; i < lookup->length; i++) - { - hb_codepoint_t new_gid = (*lookup)[i].first; - const IndexSubtableRecord *next_record = (*lookup)[i].second; - const IndexSubtable *next_subtable = next_record->get_subtable (base); - auto *next_header = next_subtable->get_header (); - if (next_header != old_header) - { - *start = i; - early_exit = true; - break; - } - unsigned int num_missing = record->add_glyph_for_subset (new_gid); - if (unlikely (!subtable->fill_missing_glyphs (c->serializer, - bitmap_size_context->cbdt_prime->length, - num_missing, - &bitmap_size_context->size, - &num_glyphs))) - return_trace (false); - - hb_codepoint_t old_gid = 0; - c->plan->old_gid_for_new_gid (new_gid, &old_gid); - if (old_gid < next_record->firstGlyphIndex) - return_trace (false); - - unsigned int old_idx = (unsigned int) old_gid - next_record->firstGlyphIndex; - if (unlikely (!next_subtable->copy_glyph_at_idx (c->serializer, - old_idx, - bitmap_size_context->cbdt, - bitmap_size_context->cbdt_length, - bitmap_size_context->cbdt_prime, - subtable, - &bitmap_size_context->size))) - return_trace (false); - num_glyphs += 1; - } - if (!early_exit) - *start = lookup->length; - if (unlikely (!subtable->finish_subtable (c->serializer, - bitmap_size_context->cbdt_prime->length, - num_glyphs, - &bitmap_size_context->size))) - return_trace (false); - return_trace (true); - } - - bool add_new_record (hb_subset_context_t *c, - cblc_bitmap_size_subset_context_t *bitmap_size_context, - const hb_vector_t> *lookup, /* IN */ - const void *base, - unsigned int *start, /* INOUT */ - hb_vector_t* records /* INOUT */) const - { - TRACE_SERIALIZE (this); - auto snap = c->serializer->snapshot (); - unsigned int old_size = bitmap_size_context->size; - unsigned int old_cbdt_prime_length = bitmap_size_context->cbdt_prime->length; - - // Set to invalid state to indicate filling glyphs is not yet started. - if (unlikely (!c->serializer->check_success (records->resize (records->length + 1)))) - return_trace (false); - - (*records)[records->length - 1].firstGlyphIndex = 1; - (*records)[records->length - 1].lastGlyphIndex = 0; - bitmap_size_context->size += IndexSubtableRecord::min_size; - - c->serializer->push (); - - if (unlikely (!add_new_subtable (c, bitmap_size_context, &((*records)[records->length - 1]), lookup, base, start))) - { - c->serializer->pop_discard (); - c->serializer->revert (snap); - bitmap_size_context->cbdt_prime->shrink (old_cbdt_prime_length); - bitmap_size_context->size = old_size; - records->resize (records->length - 1); - return_trace (false); - } - - bitmap_size_context->num_tables += 1; - return_trace (true); - } - - unsigned int add_glyph_for_subset (hb_codepoint_t gid) - { - if (firstGlyphIndex > lastGlyphIndex) - { - firstGlyphIndex = gid; - lastGlyphIndex = gid; - return 0; - } - // TODO maybe assert? this shouldn't occur. - if (lastGlyphIndex > gid) - return 0; - unsigned int num_missing = (unsigned int) (gid - lastGlyphIndex - 1); - lastGlyphIndex = gid; - return num_missing; - } - - bool get_extents (hb_glyph_extents_t *extents, const void *base) const - { return (base+offsetToSubtable).get_extents (extents); } - - bool get_image_data (unsigned int gid, - const void *base, - unsigned int *offset, - unsigned int *length, - unsigned int *format) const - { - if (gid < firstGlyphIndex || gid > lastGlyphIndex) return false; - return (base+offsetToSubtable).get_image_data (gid - firstGlyphIndex, - offset, length, format); - } - - HBGlyphID16 firstGlyphIndex; - HBGlyphID16 lastGlyphIndex; - Offset32To offsetToSubtable; - public: - DEFINE_SIZE_STATIC (8); -}; - -struct IndexSubtableArray -{ - friend struct CBDT; - - bool sanitize (hb_sanitize_context_t *c, unsigned int count) const - { - TRACE_SANITIZE (this); - return_trace (indexSubtablesZ.sanitize (c, count, this)); - } - - void - build_lookup (hb_subset_context_t *c, cblc_bitmap_size_subset_context_t *bitmap_size_context, - hb_vector_t> *lookup /* OUT */) const - { - bool start_glyph_is_set = false; - for (hb_codepoint_t new_gid = 0; new_gid < c->plan->num_output_glyphs (); new_gid++) - { - hb_codepoint_t old_gid; - if (unlikely (!c->plan->old_gid_for_new_gid (new_gid, &old_gid))) continue; - - const IndexSubtableRecord* record = find_table (old_gid, bitmap_size_context->num_tables); - if (unlikely (!record)) continue; - - // Don't add gaps to the lookup. The best way to determine if a glyph is a - // gap is that it has no image data. - unsigned int offset, length, format; - if (unlikely (!record->get_image_data (old_gid, this, &offset, &length, &format))) continue; - - lookup->push (hb_pair_t (new_gid, record)); - - if (!start_glyph_is_set) - { - bitmap_size_context->start_glyph = new_gid; - start_glyph_is_set = true; - } - - bitmap_size_context->end_glyph = new_gid; - } - } - - bool - subset (hb_subset_context_t *c, - cblc_bitmap_size_subset_context_t *bitmap_size_context) const - { - TRACE_SUBSET (this); - - auto *dst = c->serializer->start_embed (); - if (unlikely (!dst)) return_trace (false); - - hb_vector_t> lookup; - build_lookup (c, bitmap_size_context, &lookup); - if (unlikely (!c->serializer->propagate_error (lookup))) - return false; - - bitmap_size_context->size = 0; - bitmap_size_context->num_tables = 0; - hb_vector_t records; - for (unsigned int start = 0; start < lookup.length;) - { - if (unlikely (!lookup[start].second->add_new_record (c, bitmap_size_context, &lookup, this, &start, &records))) - { - // Discard any leftover pushes to the serializer from successful records. - for (unsigned int i = 0; i < records.length; i++) - c->serializer->pop_discard (); - return_trace (false); - } - } - - /* Workaround to ensure offset ordering is from least to greatest when - * resolving links. */ - hb_vector_t objidxs; - for (unsigned int i = 0; i < records.length; i++) - objidxs.push (c->serializer->pop_pack ()); - for (unsigned int i = 0; i < records.length; i++) - { - IndexSubtableRecord* record = c->serializer->embed (records[i]); - if (unlikely (!record)) return_trace (false); - c->serializer->add_link (record->offsetToSubtable, objidxs[records.length - 1 - i]); - } - return_trace (true); - } - - public: - const IndexSubtableRecord* find_table (hb_codepoint_t glyph, unsigned int numTables) const - { - for (unsigned int i = 0; i < numTables; ++i) - { - unsigned int firstGlyphIndex = indexSubtablesZ[i].firstGlyphIndex; - unsigned int lastGlyphIndex = indexSubtablesZ[i].lastGlyphIndex; - if (firstGlyphIndex <= glyph && glyph <= lastGlyphIndex) - return &indexSubtablesZ[i]; - } - return nullptr; - } - - protected: - UnsizedArrayOf indexSubtablesZ; -}; - -struct BitmapSizeTable -{ - friend struct CBLC; - friend struct CBDT; - - bool sanitize (hb_sanitize_context_t *c, const void *base) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this) && - indexSubtableArrayOffset.sanitize (c, base, numberOfIndexSubtables) && - horizontal.sanitize (c) && - vertical.sanitize (c)); - } - - const IndexSubtableRecord * - find_table (hb_codepoint_t glyph, const void *base, const void **out_base) const - { - *out_base = &(base+indexSubtableArrayOffset); - return (base+indexSubtableArrayOffset).find_table (glyph, numberOfIndexSubtables); - } - - bool - subset (hb_subset_context_t *c, const void *base, - const char *cbdt, unsigned int cbdt_length, - hb_vector_t *cbdt_prime /* INOUT */) const - { - TRACE_SUBSET (this); - auto *out_table = c->serializer->embed (this); - if (unlikely (!out_table)) return_trace (false); - - cblc_bitmap_size_subset_context_t bitmap_size_context; - bitmap_size_context.cbdt = cbdt; - bitmap_size_context.cbdt_length = cbdt_length; - bitmap_size_context.cbdt_prime = cbdt_prime; - bitmap_size_context.size = indexTablesSize; - bitmap_size_context.num_tables = numberOfIndexSubtables; - bitmap_size_context.start_glyph = 1; - bitmap_size_context.end_glyph = 0; - - if (!out_table->indexSubtableArrayOffset.serialize_subset (c, - indexSubtableArrayOffset, - base, - &bitmap_size_context)) - return_trace (false); - if (!bitmap_size_context.size || - !bitmap_size_context.num_tables || - bitmap_size_context.start_glyph > bitmap_size_context.end_glyph) - return_trace (false); - - out_table->indexTablesSize = bitmap_size_context.size; - out_table->numberOfIndexSubtables = bitmap_size_context.num_tables; - out_table->startGlyphIndex = bitmap_size_context.start_glyph; - out_table->endGlyphIndex = bitmap_size_context.end_glyph; - return_trace (true); - } - - protected: - NNOffset32To - indexSubtableArrayOffset; - HBUINT32 indexTablesSize; - HBUINT32 numberOfIndexSubtables; - HBUINT32 colorRef; - SBitLineMetrics horizontal; - SBitLineMetrics vertical; - HBGlyphID16 startGlyphIndex; - HBGlyphID16 endGlyphIndex; - HBUINT8 ppemX; - HBUINT8 ppemY; - HBUINT8 bitDepth; - HBINT8 flags; - public: - DEFINE_SIZE_STATIC (48); -}; - - -/* - * Glyph Bitmap Data Formats. - */ - -struct GlyphBitmapDataFormat17 -{ - SmallGlyphMetrics glyphMetrics; - Array32Of data; - public: - DEFINE_SIZE_ARRAY (9, data); -}; - -struct GlyphBitmapDataFormat18 -{ - BigGlyphMetrics glyphMetrics; - Array32Of data; - public: - DEFINE_SIZE_ARRAY (12, data); -}; - -struct GlyphBitmapDataFormat19 -{ - Array32Of data; - public: - DEFINE_SIZE_ARRAY (4, data); -}; - -struct CBLC -{ - friend struct CBDT; - - static constexpr hb_tag_t tableTag = HB_OT_TAG_CBLC; - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this) && - likely (version.major == 2 || version.major == 3) && - sizeTables.sanitize (c, this)); - } - - static bool - sink_cbdt (hb_subset_context_t *c, hb_vector_t* cbdt_prime) - { - hb_blob_t *cbdt_prime_blob = hb_blob_create (cbdt_prime->arrayZ, - cbdt_prime->length, - HB_MEMORY_MODE_WRITABLE, - cbdt_prime->arrayZ, - hb_free); - cbdt_prime->init (); // Leak arrayZ to the blob. - bool ret = c->plan->add_table (HB_OT_TAG_CBDT, cbdt_prime_blob); - hb_blob_destroy (cbdt_prime_blob); - return ret; - } - - bool - subset_size_table (hb_subset_context_t *c, const BitmapSizeTable& table, - const char *cbdt /* IN */, unsigned int cbdt_length, - CBLC *cblc_prime /* INOUT */, hb_vector_t *cbdt_prime /* INOUT */) const - { - TRACE_SUBSET (this); - cblc_prime->sizeTables.len++; - - auto snap = c->serializer->snapshot (); - auto cbdt_prime_len = cbdt_prime->length; - - if (!table.subset (c, this, cbdt, cbdt_length, cbdt_prime)) - { - cblc_prime->sizeTables.len--; - c->serializer->revert (snap); - cbdt_prime->shrink (cbdt_prime_len); - return_trace (false); - } - return_trace (true); - } - - // Implemented in cc file as it depends on definition of CBDT. - HB_INTERNAL bool subset (hb_subset_context_t *c) const; - - protected: - const BitmapSizeTable &choose_strike (hb_font_t *font) const - { - unsigned count = sizeTables.len; - if (unlikely (!count)) - return Null (BitmapSizeTable); - - unsigned int requested_ppem = hb_max (font->x_ppem, font->y_ppem); - if (!requested_ppem) - requested_ppem = 1<<30; /* Choose largest strike. */ - unsigned int best_i = 0; - unsigned int best_ppem = hb_max (sizeTables[0].ppemX, sizeTables[0].ppemY); - - for (unsigned int i = 1; i < count; i++) - { - unsigned int ppem = hb_max (sizeTables[i].ppemX, sizeTables[i].ppemY); - if ((requested_ppem <= ppem && ppem < best_ppem) || - (requested_ppem > best_ppem && ppem > best_ppem)) - { - best_i = i; - best_ppem = ppem; - } - } - - return sizeTables[best_i]; - } - - protected: - FixedVersion<> version; - Array32Of sizeTables; - public: - DEFINE_SIZE_ARRAY (8, sizeTables); -}; - -struct CBDT -{ - static constexpr hb_tag_t tableTag = HB_OT_TAG_CBDT; - - struct accelerator_t - { - void init (hb_face_t *face) - { - cblc = hb_sanitize_context_t ().reference_table (face); - cbdt = hb_sanitize_context_t ().reference_table (face); - - upem = hb_face_get_upem (face); - } - - void fini () - { - this->cblc.destroy (); - this->cbdt.destroy (); - } - - bool - get_extents (hb_font_t *font, hb_codepoint_t glyph, hb_glyph_extents_t *extents) const - { - const void *base; - const BitmapSizeTable &strike = this->cblc->choose_strike (font); - const IndexSubtableRecord *subtable_record = strike.find_table (glyph, cblc, &base); - if (!subtable_record || !strike.ppemX || !strike.ppemY) - return false; - - if (subtable_record->get_extents (extents, base)) - return true; - - unsigned int image_offset = 0, image_length = 0, image_format = 0; - if (!subtable_record->get_image_data (glyph, base, &image_offset, &image_length, &image_format)) - return false; - - unsigned int cbdt_len = cbdt.get_length (); - if (unlikely (image_offset > cbdt_len || cbdt_len - image_offset < image_length)) - return false; - - switch (image_format) - { - case 17: { - if (unlikely (image_length < GlyphBitmapDataFormat17::min_size)) - return false; - auto &glyphFormat17 = StructAtOffset (this->cbdt, image_offset); - glyphFormat17.glyphMetrics.get_extents (font, extents); - break; - } - case 18: { - if (unlikely (image_length < GlyphBitmapDataFormat18::min_size)) - return false; - auto &glyphFormat18 = StructAtOffset (this->cbdt, image_offset); - glyphFormat18.glyphMetrics.get_extents (font, extents); - break; - } - default: return false; /* TODO: Support other image formats. */ - } - - /* Convert to font units. */ - float x_scale = upem / (float) strike.ppemX; - float y_scale = upem / (float) strike.ppemY; - extents->x_bearing = roundf (extents->x_bearing * x_scale); - extents->y_bearing = roundf (extents->y_bearing * y_scale); - extents->width = roundf (extents->width * x_scale); - extents->height = roundf (extents->height * y_scale); - - return true; - } - - hb_blob_t* - reference_png (hb_font_t *font, hb_codepoint_t glyph) const - { - const void *base; - const BitmapSizeTable &strike = this->cblc->choose_strike (font); - const IndexSubtableRecord *subtable_record = strike.find_table (glyph, cblc, &base); - if (!subtable_record || !strike.ppemX || !strike.ppemY) - return hb_blob_get_empty (); - - unsigned int image_offset = 0, image_length = 0, image_format = 0; - if (!subtable_record->get_image_data (glyph, base, &image_offset, &image_length, &image_format)) - return hb_blob_get_empty (); - - unsigned int cbdt_len = cbdt.get_length (); - if (unlikely (image_offset > cbdt_len || cbdt_len - image_offset < image_length)) - return hb_blob_get_empty (); - - switch (image_format) - { - case 17: - { - if (unlikely (image_length < GlyphBitmapDataFormat17::min_size)) - return hb_blob_get_empty (); - auto &glyphFormat17 = StructAtOffset (this->cbdt, image_offset); - return hb_blob_create_sub_blob (cbdt.get_blob (), - image_offset + GlyphBitmapDataFormat17::min_size, - glyphFormat17.data.len); - } - case 18: - { - if (unlikely (image_length < GlyphBitmapDataFormat18::min_size)) - return hb_blob_get_empty (); - auto &glyphFormat18 = StructAtOffset (this->cbdt, image_offset); - return hb_blob_create_sub_blob (cbdt.get_blob (), - image_offset + GlyphBitmapDataFormat18::min_size, - glyphFormat18.data.len); - } - case 19: - { - if (unlikely (image_length < GlyphBitmapDataFormat19::min_size)) - return hb_blob_get_empty (); - auto &glyphFormat19 = StructAtOffset (this->cbdt, image_offset); - return hb_blob_create_sub_blob (cbdt.get_blob (), - image_offset + GlyphBitmapDataFormat19::min_size, - glyphFormat19.data.len); - } - default: return hb_blob_get_empty (); /* TODO: Support other image formats. */ - } - } - - bool has_data () const { return cbdt.get_length (); } - - private: - hb_blob_ptr_t cblc; - hb_blob_ptr_t cbdt; - - unsigned int upem; - }; - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this) && - likely (version.major == 2 || version.major == 3)); - } - - protected: - FixedVersion<> version; - UnsizedArrayOf dataZ; - public: - DEFINE_SIZE_ARRAY (4, dataZ); -}; - -inline bool -CBLC::subset (hb_subset_context_t *c) const -{ - TRACE_SUBSET (this); - - auto *cblc_prime = c->serializer->start_embed (); - - // Use a vector as a secondary buffer as the tables need to be built in parallel. - hb_vector_t cbdt_prime; - - if (unlikely (!cblc_prime)) return_trace (false); - if (unlikely (!c->serializer->extend_min (cblc_prime))) return_trace (false); - cblc_prime->version = version; - - hb_blob_t* cbdt_blob = hb_sanitize_context_t ().reference_table (c->plan->source); - unsigned int cbdt_length; - CBDT* cbdt = (CBDT *) hb_blob_get_data (cbdt_blob, &cbdt_length); - if (unlikely (cbdt_length < CBDT::min_size)) - { - hb_blob_destroy (cbdt_blob); - return_trace (false); - } - _copy_data_to_cbdt (&cbdt_prime, cbdt, CBDT::min_size); - - for (const BitmapSizeTable& table : + sizeTables.iter ()) - subset_size_table (c, table, (const char *) cbdt, cbdt_length, cblc_prime, &cbdt_prime); - - hb_blob_destroy (cbdt_blob); - - return_trace (CBLC::sink_cbdt (c, &cbdt_prime)); -} - -struct CBDT_accelerator_t : CBDT::accelerator_t {}; - -} /* namespace OT */ - -#endif /* HB_OT_COLOR_CBDT_TABLE_HH */ diff --git a/harfbuzz/src/hb-ot-color-colr-table.hh b/harfbuzz/src/hb-ot-color-colr-table.hh deleted file mode 100644 index 008422d..0000000 --- a/harfbuzz/src/hb-ot-color-colr-table.hh +++ /dev/null @@ -1,1541 +0,0 @@ -/* - * Copyright © 2018 Ebrahim Byagowi - * Copyright © 2020 Google, Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Google Author(s): Calder Kitagawa - */ - -#ifndef HB_OT_COLOR_COLR_TABLE_HH -#define HB_OT_COLOR_COLR_TABLE_HH - -#include "hb-open-type.hh" -#include "hb-ot-layout-common.hh" -#include "hb-ot-var-common.hh" - -/* - * COLR -- Color - * https://docs.microsoft.com/en-us/typography/opentype/spec/colr - */ -#define HB_OT_TAG_COLR HB_TAG('C','O','L','R') - -#ifndef HB_COLRV1_MAX_NESTING_LEVEL -#define HB_COLRV1_MAX_NESTING_LEVEL 100 -#endif - -#ifndef COLRV1_ENABLE_SUBSETTING -#define COLRV1_ENABLE_SUBSETTING 1 -#endif - -namespace OT { - -struct COLR; -struct hb_colrv1_closure_context_t : - hb_dispatch_context_t -{ - template - return_t dispatch (const T &obj) - { - if (unlikely (nesting_level_left == 0)) - return hb_empty_t (); - - if (paint_visited (&obj)) - return hb_empty_t (); - - nesting_level_left--; - obj.closurev1 (this); - nesting_level_left++; - return hb_empty_t (); - } - static return_t default_return_value () { return hb_empty_t (); } - - bool paint_visited (const void *paint) - { - hb_codepoint_t delta = (hb_codepoint_t) ((uintptr_t) paint - (uintptr_t) base); - if (visited_paint.has (delta)) - return true; - - visited_paint.add (delta); - return false; - } - - const COLR* get_colr_table () const - { return reinterpret_cast (base); } - - void add_glyph (unsigned glyph_id) - { glyphs->add (glyph_id); } - - void add_layer_indices (unsigned first_layer_index, unsigned num_of_layers) - { layer_indices->add_range (first_layer_index, first_layer_index + num_of_layers - 1); } - - void add_palette_index (unsigned palette_index) - { palette_indices->add (palette_index); } - - public: - const void *base; - hb_set_t visited_paint; - hb_set_t *glyphs; - hb_set_t *layer_indices; - hb_set_t *palette_indices; - unsigned nesting_level_left; - - hb_colrv1_closure_context_t (const void *base_, - hb_set_t *glyphs_, - hb_set_t *layer_indices_, - hb_set_t *palette_indices_, - unsigned nesting_level_left_ = HB_COLRV1_MAX_NESTING_LEVEL) : - base (base_), - glyphs (glyphs_), - layer_indices (layer_indices_), - palette_indices (palette_indices_), - nesting_level_left (nesting_level_left_) - {} -}; - -struct LayerRecord -{ - operator hb_ot_color_layer_t () const { return {glyphId, colorIdx}; } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this)); - } - - public: - HBGlyphID16 glyphId; /* Glyph ID of layer glyph */ - Index colorIdx; /* Index value to use with a - * selected color palette. - * An index value of 0xFFFF - * is a special case indicating - * that the text foreground - * color (defined by a - * higher-level client) should - * be used and shall not be - * treated as actual index - * into CPAL ColorRecord array. */ - public: - DEFINE_SIZE_STATIC (4); -}; - -struct BaseGlyphRecord -{ - int cmp (hb_codepoint_t g) const - { return g < glyphId ? -1 : g > glyphId ? 1 : 0; } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (likely (c->check_struct (this))); - } - - public: - HBGlyphID16 glyphId; /* Glyph ID of reference glyph */ - HBUINT16 firstLayerIdx; /* Index (from beginning of - * the Layer Records) to the - * layer record. There will be - * numLayers consecutive entries - * for this base glyph. */ - HBUINT16 numLayers; /* Number of color layers - * associated with this glyph */ - public: - DEFINE_SIZE_STATIC (6); -}; - -template -struct Variable -{ - Variable* copy (hb_serialize_context_t *c) const - { - TRACE_SERIALIZE (this); - return_trace (c->embed (this)); - } - - void closurev1 (hb_colrv1_closure_context_t* c) const - { value.closurev1 (c); } - - bool subset (hb_subset_context_t *c) const - { - TRACE_SUBSET (this); - if (!value.subset (c)) return_trace (false); - return_trace (c->serializer->embed (varIdxBase)); - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this) && value.sanitize (c)); - } - - protected: - T value; - VarIdx varIdxBase; - public: - DEFINE_SIZE_STATIC (4 + T::static_size); -}; - -template -struct NoVariable -{ - NoVariable* copy (hb_serialize_context_t *c) const - { - TRACE_SERIALIZE (this); - return_trace (c->embed (this)); - } - - void closurev1 (hb_colrv1_closure_context_t* c) const - { value.closurev1 (c); } - - bool subset (hb_subset_context_t *c) const - { - TRACE_SUBSET (this); - return_trace (value.subset (c)); - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this) && value.sanitize (c)); - } - - T value; - public: - DEFINE_SIZE_STATIC (T::static_size); -}; - -// Color structures - -struct ColorStop -{ - void closurev1 (hb_colrv1_closure_context_t* c) const - { c->add_palette_index (paletteIndex); } - - bool subset (hb_subset_context_t *c) const - { - TRACE_SUBSET (this); - auto *out = c->serializer->embed (*this); - if (unlikely (!out)) return_trace (false); - return_trace (c->serializer->check_assign (out->paletteIndex, c->plan->colr_palettes->get (paletteIndex), - HB_SERIALIZE_ERROR_INT_OVERFLOW)); - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this)); - } - - F2DOT14 stopOffset; - HBUINT16 paletteIndex; - F2DOT14 alpha; - public: - DEFINE_SIZE_STATIC (2 + 2 * F2DOT14::static_size); -}; - -struct Extend : HBUINT8 -{ - enum { - EXTEND_PAD = 0, - EXTEND_REPEAT = 1, - EXTEND_REFLECT = 2, - }; - public: - DEFINE_SIZE_STATIC (1); -}; - -template class Var> -struct ColorLine -{ - void closurev1 (hb_colrv1_closure_context_t* c) const - { - for (const auto &stop : stops.iter ()) - stop.closurev1 (c); - } - - bool subset (hb_subset_context_t *c) const - { - TRACE_SUBSET (this); - auto *out = c->serializer->start_embed (this); - if (unlikely (!out)) return_trace (false); - if (unlikely (!c->serializer->extend_min (out))) return_trace (false); - - if (!c->serializer->check_assign (out->extend, extend, HB_SERIALIZE_ERROR_INT_OVERFLOW)) return_trace (false); - if (!c->serializer->check_assign (out->stops.len, stops.len, HB_SERIALIZE_ERROR_ARRAY_OVERFLOW)) return_trace (false); - - for (const auto& stop : stops.iter ()) - { - if (!stop.subset (c)) return_trace (false); - } - return_trace (true); - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this) && - stops.sanitize (c)); - } - - Extend extend; - Array16Of> stops; - public: - DEFINE_SIZE_ARRAY_SIZED (3, stops); -}; - -// Composition modes - -// Compositing modes are taken from https://www.w3.org/TR/compositing-1/ -// NOTE: a brief audit of major implementations suggests most support most -// or all of the specified modes. -struct CompositeMode : HBUINT8 -{ - enum { - // Porter-Duff modes - // https://www.w3.org/TR/compositing-1/#porterduffcompositingoperators - COMPOSITE_CLEAR = 0, // https://www.w3.org/TR/compositing-1/#porterduffcompositingoperators_clear - COMPOSITE_SRC = 1, // https://www.w3.org/TR/compositing-1/#porterduffcompositingoperators_src - COMPOSITE_DEST = 2, // https://www.w3.org/TR/compositing-1/#porterduffcompositingoperators_dst - COMPOSITE_SRC_OVER = 3, // https://www.w3.org/TR/compositing-1/#porterduffcompositingoperators_srcover - COMPOSITE_DEST_OVER = 4, // https://www.w3.org/TR/compositing-1/#porterduffcompositingoperators_dstover - COMPOSITE_SRC_IN = 5, // https://www.w3.org/TR/compositing-1/#porterduffcompositingoperators_srcin - COMPOSITE_DEST_IN = 6, // https://www.w3.org/TR/compositing-1/#porterduffcompositingoperators_dstin - COMPOSITE_SRC_OUT = 7, // https://www.w3.org/TR/compositing-1/#porterduffcompositingoperators_srcout - COMPOSITE_DEST_OUT = 8, // https://www.w3.org/TR/compositing-1/#porterduffcompositingoperators_dstout - COMPOSITE_SRC_ATOP = 9, // https://www.w3.org/TR/compositing-1/#porterduffcompositingoperators_srcatop - COMPOSITE_DEST_ATOP = 10, // https://www.w3.org/TR/compositing-1/#porterduffcompositingoperators_dstatop - COMPOSITE_XOR = 11, // https://www.w3.org/TR/compositing-1/#porterduffcompositingoperators_xor - COMPOSITE_PLUS = 12, // https://www.w3.org/TR/compositing-1/#porterduffcompositingoperators_plus - - // Blend modes - // https://www.w3.org/TR/compositing-1/#blending - COMPOSITE_SCREEN = 13, // https://www.w3.org/TR/compositing-1/#blendingscreen - COMPOSITE_OVERLAY = 14, // https://www.w3.org/TR/compositing-1/#blendingoverlay - COMPOSITE_DARKEN = 15, // https://www.w3.org/TR/compositing-1/#blendingdarken - COMPOSITE_LIGHTEN = 16, // https://www.w3.org/TR/compositing-1/#blendinglighten - COMPOSITE_COLOR_DODGE = 17, // https://www.w3.org/TR/compositing-1/#blendingcolordodge - COMPOSITE_COLOR_BURN = 18, // https://www.w3.org/TR/compositing-1/#blendingcolorburn - COMPOSITE_HARD_LIGHT = 19, // https://www.w3.org/TR/compositing-1/#blendinghardlight - COMPOSITE_SOFT_LIGHT = 20, // https://www.w3.org/TR/compositing-1/#blendingsoftlight - COMPOSITE_DIFFERENCE = 21, // https://www.w3.org/TR/compositing-1/#blendingdifference - COMPOSITE_EXCLUSION = 22, // https://www.w3.org/TR/compositing-1/#blendingexclusion - COMPOSITE_MULTIPLY = 23, // https://www.w3.org/TR/compositing-1/#blendingmultiply - - // Modes that, uniquely, do not operate on components - // https://www.w3.org/TR/compositing-1/#blendingnonseparable - COMPOSITE_HSL_HUE = 24, // https://www.w3.org/TR/compositing-1/#blendinghue - COMPOSITE_HSL_SATURATION = 25, // https://www.w3.org/TR/compositing-1/#blendingsaturation - COMPOSITE_HSL_COLOR = 26, // https://www.w3.org/TR/compositing-1/#blendingcolor - COMPOSITE_HSL_LUMINOSITY = 27, // https://www.w3.org/TR/compositing-1/#blendingluminosity - }; - public: - DEFINE_SIZE_STATIC (1); -}; - -struct Affine2x3 -{ - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this)); - } - - HBFixed xx; - HBFixed yx; - HBFixed xy; - HBFixed yy; - HBFixed dx; - HBFixed dy; - public: - DEFINE_SIZE_STATIC (6 * HBFixed::static_size); -}; - -struct PaintColrLayers -{ - void closurev1 (hb_colrv1_closure_context_t* c) const; - - bool subset (hb_subset_context_t *c) const - { - TRACE_SUBSET (this); - auto *out = c->serializer->embed (this); - if (unlikely (!out)) return_trace (false); - return_trace (c->serializer->check_assign (out->firstLayerIndex, c->plan->colrv1_layers->get (firstLayerIndex), - HB_SERIALIZE_ERROR_INT_OVERFLOW)); - - return_trace (true); - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this)); - } - - HBUINT8 format; /* format = 1 */ - HBUINT8 numLayers; - HBUINT32 firstLayerIndex; /* index into COLRv1::layerList */ - public: - DEFINE_SIZE_STATIC (6); -}; - -struct PaintSolid -{ - void closurev1 (hb_colrv1_closure_context_t* c) const - { c->add_palette_index (paletteIndex); } - - bool subset (hb_subset_context_t *c) const - { - TRACE_SUBSET (this); - auto *out = c->serializer->embed (*this); - if (unlikely (!out)) return_trace (false); - return_trace (c->serializer->check_assign (out->paletteIndex, c->plan->colr_palettes->get (paletteIndex), - HB_SERIALIZE_ERROR_INT_OVERFLOW)); - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this)); - } - - HBUINT8 format; /* format = 2(noVar) or 3(Var)*/ - HBUINT16 paletteIndex; - F2DOT14 alpha; - public: - DEFINE_SIZE_STATIC (3 + F2DOT14::static_size); -}; - -template class Var> -struct PaintLinearGradient -{ - void closurev1 (hb_colrv1_closure_context_t* c) const - { (this+colorLine).closurev1 (c); } - - bool subset (hb_subset_context_t *c) const - { - TRACE_SUBSET (this); - auto *out = c->serializer->embed (this); - if (unlikely (!out)) return_trace (false); - - return_trace (out->colorLine.serialize_subset (c, colorLine, this)); - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this) && colorLine.sanitize (c, this)); - } - - HBUINT8 format; /* format = 4(noVar) or 5 (Var) */ - Offset24To> colorLine; /* Offset (from beginning of PaintLinearGradient - * table) to ColorLine subtable. */ - FWORD x0; - FWORD y0; - FWORD x1; - FWORD y1; - FWORD x2; - FWORD y2; - public: - DEFINE_SIZE_STATIC (4 + 6 * FWORD::static_size); -}; - -template class Var> -struct PaintRadialGradient -{ - void closurev1 (hb_colrv1_closure_context_t* c) const - { (this+colorLine).closurev1 (c); } - - bool subset (hb_subset_context_t *c) const - { - TRACE_SUBSET (this); - auto *out = c->serializer->embed (this); - if (unlikely (!out)) return_trace (false); - - return_trace (out->colorLine.serialize_subset (c, colorLine, this)); - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this) && colorLine.sanitize (c, this)); - } - - HBUINT8 format; /* format = 6(noVar) or 7 (Var) */ - Offset24To> colorLine; /* Offset (from beginning of PaintRadialGradient - * table) to ColorLine subtable. */ - FWORD x0; - FWORD y0; - UFWORD radius0; - FWORD x1; - FWORD y1; - UFWORD radius1; - public: - DEFINE_SIZE_STATIC (4 + 6 * FWORD::static_size); -}; - -template class Var> -struct PaintSweepGradient -{ - void closurev1 (hb_colrv1_closure_context_t* c) const - { (this+colorLine).closurev1 (c); } - - bool subset (hb_subset_context_t *c) const - { - TRACE_SUBSET (this); - auto *out = c->serializer->embed (this); - if (unlikely (!out)) return_trace (false); - - return_trace (out->colorLine.serialize_subset (c, colorLine, this)); - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this) && colorLine.sanitize (c, this)); - } - - HBUINT8 format; /* format = 8(noVar) or 9 (Var) */ - Offset24To> colorLine; /* Offset (from beginning of PaintSweepGradient - * table) to ColorLine subtable. */ - FWORD centerX; - FWORD centerY; - F2DOT14 startAngle; - F2DOT14 endAngle; - public: - DEFINE_SIZE_STATIC (4 + 2 * FWORD::static_size + 2 * F2DOT14::static_size); -}; - -struct Paint; -// Paint a non-COLR glyph, filled as indicated by paint. -struct PaintGlyph -{ - void closurev1 (hb_colrv1_closure_context_t* c) const; - - bool subset (hb_subset_context_t *c) const - { - TRACE_SUBSET (this); - auto *out = c->serializer->embed (this); - if (unlikely (!out)) return_trace (false); - - if (! c->serializer->check_assign (out->gid, c->plan->glyph_map->get (gid), - HB_SERIALIZE_ERROR_INT_OVERFLOW)) - return_trace (false); - - return_trace (out->paint.serialize_subset (c, paint, this)); - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this) && paint.sanitize (c, this)); - } - - HBUINT8 format; /* format = 10 */ - Offset24To paint; /* Offset (from beginning of PaintGlyph table) to Paint subtable. */ - HBUINT16 gid; - public: - DEFINE_SIZE_STATIC (6); -}; - -struct PaintColrGlyph -{ - void closurev1 (hb_colrv1_closure_context_t* c) const; - - bool subset (hb_subset_context_t *c) const - { - TRACE_SUBSET (this); - auto *out = c->serializer->embed (this); - if (unlikely (!out)) return_trace (false); - - return_trace (c->serializer->check_assign (out->gid, c->plan->glyph_map->get (gid), - HB_SERIALIZE_ERROR_INT_OVERFLOW)); - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this)); - } - - HBUINT8 format; /* format = 11 */ - HBUINT16 gid; - public: - DEFINE_SIZE_STATIC (3); -}; - -template class Var> -struct PaintTransform -{ - HB_INTERNAL void closurev1 (hb_colrv1_closure_context_t* c) const; - - bool subset (hb_subset_context_t *c) const - { - TRACE_SUBSET (this); - auto *out = c->serializer->embed (this); - if (unlikely (!out)) return_trace (false); - if (!out->transform.serialize_copy (c->serializer, transform, this)) return_trace (false); - return_trace (out->src.serialize_subset (c, src, this)); - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this) && - src.sanitize (c, this) && - transform.sanitize (c, this)); - } - - HBUINT8 format; /* format = 12(noVar) or 13 (Var) */ - Offset24To src; /* Offset (from beginning of PaintTransform table) to Paint subtable. */ - Offset24To> transform; - public: - DEFINE_SIZE_STATIC (7); -}; - -struct PaintTranslate -{ - HB_INTERNAL void closurev1 (hb_colrv1_closure_context_t* c) const; - - bool subset (hb_subset_context_t *c) const - { - TRACE_SUBSET (this); - auto *out = c->serializer->embed (this); - if (unlikely (!out)) return_trace (false); - - return_trace (out->src.serialize_subset (c, src, this)); - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this) && src.sanitize (c, this)); - } - - HBUINT8 format; /* format = 14(noVar) or 15 (Var) */ - Offset24To src; /* Offset (from beginning of PaintTranslate table) to Paint subtable. */ - FWORD dx; - FWORD dy; - public: - DEFINE_SIZE_STATIC (4 + 2 * FWORD::static_size); -}; - -struct PaintScale -{ - HB_INTERNAL void closurev1 (hb_colrv1_closure_context_t* c) const; - - bool subset (hb_subset_context_t *c) const - { - TRACE_SUBSET (this); - auto *out = c->serializer->embed (this); - if (unlikely (!out)) return_trace (false); - - return_trace (out->src.serialize_subset (c, src, this)); - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this) && src.sanitize (c, this)); - } - - HBUINT8 format; /* format = 16 (noVar) or 17(Var) */ - Offset24To src; /* Offset (from beginning of PaintScale table) to Paint subtable. */ - F2DOT14 scaleX; - F2DOT14 scaleY; - public: - DEFINE_SIZE_STATIC (4 + 2 * F2DOT14::static_size); -}; - -struct PaintScaleAroundCenter -{ - HB_INTERNAL void closurev1 (hb_colrv1_closure_context_t* c) const; - - bool subset (hb_subset_context_t *c) const - { - TRACE_SUBSET (this); - auto *out = c->serializer->embed (this); - if (unlikely (!out)) return_trace (false); - - return_trace (out->src.serialize_subset (c, src, this)); - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this) && src.sanitize (c, this)); - } - - HBUINT8 format; /* format = 18 (noVar) or 19(Var) */ - Offset24To src; /* Offset (from beginning of PaintScaleAroundCenter table) to Paint subtable. */ - F2DOT14 scaleX; - F2DOT14 scaleY; - FWORD centerX; - FWORD centerY; - public: - DEFINE_SIZE_STATIC (4 + 2 * F2DOT14::static_size + 2 * FWORD::static_size); -}; - -struct PaintScaleUniform -{ - HB_INTERNAL void closurev1 (hb_colrv1_closure_context_t* c) const; - - bool subset (hb_subset_context_t *c) const - { - TRACE_SUBSET (this); - auto *out = c->serializer->embed (this); - if (unlikely (!out)) return_trace (false); - - return_trace (out->src.serialize_subset (c, src, this)); - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this) && src.sanitize (c, this)); - } - - HBUINT8 format; /* format = 20 (noVar) or 21(Var) */ - Offset24To src; /* Offset (from beginning of PaintScaleUniform table) to Paint subtable. */ - F2DOT14 scale; - public: - DEFINE_SIZE_STATIC (4 + F2DOT14::static_size); -}; - -struct PaintScaleUniformAroundCenter -{ - HB_INTERNAL void closurev1 (hb_colrv1_closure_context_t* c) const; - - bool subset (hb_subset_context_t *c) const - { - TRACE_SUBSET (this); - auto *out = c->serializer->embed (this); - if (unlikely (!out)) return_trace (false); - - return_trace (out->src.serialize_subset (c, src, this)); - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this) && src.sanitize (c, this)); - } - - HBUINT8 format; /* format = 22 (noVar) or 23(Var) */ - Offset24To src; /* Offset (from beginning of PaintScaleUniformAroundCenter table) to Paint subtable. */ - F2DOT14 scale; - FWORD centerX; - FWORD centerY; - public: - DEFINE_SIZE_STATIC (4 + F2DOT14::static_size + 2 * FWORD::static_size); -}; - -struct PaintRotate -{ - HB_INTERNAL void closurev1 (hb_colrv1_closure_context_t* c) const; - - bool subset (hb_subset_context_t *c) const - { - TRACE_SUBSET (this); - auto *out = c->serializer->embed (this); - if (unlikely (!out)) return_trace (false); - - return_trace (out->src.serialize_subset (c, src, this)); - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this) && src.sanitize (c, this)); - } - - HBUINT8 format; /* format = 24 (noVar) or 25(Var) */ - Offset24To src; /* Offset (from beginning of PaintRotate table) to Paint subtable. */ - F2DOT14 angle; - public: - DEFINE_SIZE_STATIC (4 + F2DOT14::static_size); -}; - -struct PaintRotateAroundCenter -{ - HB_INTERNAL void closurev1 (hb_colrv1_closure_context_t* c) const; - - bool subset (hb_subset_context_t *c) const - { - TRACE_SUBSET (this); - auto *out = c->serializer->embed (this); - if (unlikely (!out)) return_trace (false); - - return_trace (out->src.serialize_subset (c, src, this)); - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this) && src.sanitize (c, this)); - } - - HBUINT8 format; /* format = 26 (noVar) or 27(Var) */ - Offset24To src; /* Offset (from beginning of PaintRotateAroundCenter table) to Paint subtable. */ - F2DOT14 angle; - FWORD centerX; - FWORD centerY; - public: - DEFINE_SIZE_STATIC (4 + F2DOT14::static_size + 2 * FWORD::static_size); -}; - -struct PaintSkew -{ - HB_INTERNAL void closurev1 (hb_colrv1_closure_context_t* c) const; - - bool subset (hb_subset_context_t *c) const - { - TRACE_SUBSET (this); - auto *out = c->serializer->embed (this); - if (unlikely (!out)) return_trace (false); - - return_trace (out->src.serialize_subset (c, src, this)); - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this) && src.sanitize (c, this)); - } - - HBUINT8 format; /* format = 28(noVar) or 29 (Var) */ - Offset24To src; /* Offset (from beginning of PaintSkew table) to Paint subtable. */ - F2DOT14 xSkewAngle; - F2DOT14 ySkewAngle; - public: - DEFINE_SIZE_STATIC (4 + 2 * F2DOT14::static_size); -}; - -struct PaintSkewAroundCenter -{ - HB_INTERNAL void closurev1 (hb_colrv1_closure_context_t* c) const; - - bool subset (hb_subset_context_t *c) const - { - TRACE_SUBSET (this); - auto *out = c->serializer->embed (this); - if (unlikely (!out)) return_trace (false); - - return_trace (out->src.serialize_subset (c, src, this)); - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this) && src.sanitize (c, this)); - } - - HBUINT8 format; /* format = 30(noVar) or 31 (Var) */ - Offset24To src; /* Offset (from beginning of PaintSkewAroundCenter table) to Paint subtable. */ - F2DOT14 xSkewAngle; - F2DOT14 ySkewAngle; - FWORD centerX; - FWORD centerY; - public: - DEFINE_SIZE_STATIC (4 + 2 * F2DOT14::static_size + 2 * FWORD::static_size); -}; - -struct PaintComposite -{ - void closurev1 (hb_colrv1_closure_context_t* c) const; - - bool subset (hb_subset_context_t *c) const - { - TRACE_SUBSET (this); - auto *out = c->serializer->embed (this); - if (unlikely (!out)) return_trace (false); - - if (!out->src.serialize_subset (c, src, this)) return_trace (false); - return_trace (out->backdrop.serialize_subset (c, backdrop, this)); - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this) && - src.sanitize (c, this) && - backdrop.sanitize (c, this)); - } - - HBUINT8 format; /* format = 32 */ - Offset24To src; /* Offset (from beginning of PaintComposite table) to source Paint subtable. */ - CompositeMode mode; /* If mode is unrecognized use COMPOSITE_CLEAR */ - Offset24To backdrop; /* Offset (from beginning of PaintComposite table) to backdrop Paint subtable. */ - public: - DEFINE_SIZE_STATIC (8); -}; - -struct ClipBoxFormat1 -{ - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this)); - } - - public: - HBUINT8 format; /* format = 1(noVar) or 2(Var)*/ - FWORD xMin; - FWORD yMin; - FWORD xMax; - FWORD yMax; - public: - DEFINE_SIZE_STATIC (1 + 4 * FWORD::static_size); -}; - -struct ClipBoxFormat2 : Variable {}; - -struct ClipBox -{ - ClipBox* copy (hb_serialize_context_t *c) const - { - TRACE_SERIALIZE (this); - switch (u.format) { - case 1: return_trace (reinterpret_cast (c->embed (u.format1))); - case 2: return_trace (reinterpret_cast (c->embed (u.format2))); - default:return_trace (nullptr); - } - } - - template - typename context_t::return_t dispatch (context_t *c, Ts&&... ds) const - { - TRACE_DISPATCH (this, u.format); - if (unlikely (!c->may_dispatch (this, &u.format))) return_trace (c->no_dispatch_return_value ()); - switch (u.format) { - case 1: return_trace (c->dispatch (u.format1, std::forward (ds)...)); - case 2: return_trace (c->dispatch (u.format2, std::forward (ds)...)); - default:return_trace (c->default_return_value ()); - } - } - - protected: - union { - HBUINT8 format; /* Format identifier */ - ClipBoxFormat1 format1; - ClipBoxFormat2 format2; - } u; -}; - -struct ClipRecord -{ - ClipRecord* copy (hb_serialize_context_t *c, const void *base) const - { - TRACE_SERIALIZE (this); - auto *out = c->embed (this); - if (unlikely (!out)) return_trace (nullptr); - if (!out->clipBox.serialize_copy (c, clipBox, base)) return_trace (nullptr); - return_trace (out); - } - - bool sanitize (hb_sanitize_context_t *c, const void *base) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this) && clipBox.sanitize (c, base)); - } - - public: - HBUINT16 startGlyphID; // first gid clip applies to - HBUINT16 endGlyphID; // last gid clip applies to, inclusive - Offset24To clipBox; // Box or VarBox - public: - DEFINE_SIZE_STATIC (7); -}; - -struct ClipList -{ - unsigned serialize_clip_records (hb_serialize_context_t *c, - const hb_set_t& gids, - const hb_map_t& gid_offset_map) const - { - TRACE_SERIALIZE (this); - if (gids.is_empty () || - gid_offset_map.get_population () != gids.get_population ()) - return_trace (0); - - unsigned count = 0; - - hb_codepoint_t start_gid= gids.get_min (); - hb_codepoint_t prev_gid = start_gid; - - unsigned offset = gid_offset_map.get (start_gid); - unsigned prev_offset = offset; - for (const hb_codepoint_t _ : gids.iter ()) - { - if (_ == start_gid) continue; - - offset = gid_offset_map.get (_); - if (_ == prev_gid + 1 && offset == prev_offset) - { - prev_gid = _; - continue; - } - - ClipRecord record; - record.startGlyphID = start_gid; - record.endGlyphID = prev_gid; - record.clipBox = prev_offset; - - if (!c->copy (record, this)) return_trace (0); - count++; - - start_gid = _; - prev_gid = _; - prev_offset = offset; - } - - //last one - { - ClipRecord record; - record.startGlyphID = start_gid; - record.endGlyphID = prev_gid; - record.clipBox = prev_offset; - if (!c->copy (record, this)) return_trace (0); - count++; - } - return_trace (count); - } - - bool subset (hb_subset_context_t *c) const - { - TRACE_SUBSET (this); - auto *out = c->serializer->start_embed (*this); - if (unlikely (!c->serializer->extend_min (out))) return_trace (false); - if (!c->serializer->check_assign (out->format, format, HB_SERIALIZE_ERROR_INT_OVERFLOW)) return_trace (false); - - const hb_set_t& glyphset = *c->plan->_glyphset_colred; - const hb_map_t &glyph_map = *c->plan->glyph_map; - - hb_map_t new_gid_offset_map; - hb_set_t new_gids; - for (const ClipRecord& record : clips.iter ()) - { - unsigned start_gid = record.startGlyphID; - unsigned end_gid = record.endGlyphID; - for (unsigned gid = start_gid; gid <= end_gid; gid++) - { - if (!glyphset.has (gid) || !glyph_map.has (gid)) continue; - unsigned new_gid = glyph_map.get (gid); - new_gid_offset_map.set (new_gid, record.clipBox); - new_gids.add (new_gid); - } - } - - unsigned count = serialize_clip_records (c->serializer, new_gids, new_gid_offset_map); - if (!count) return_trace (false); - return_trace (c->serializer->check_assign (out->clips.len, count, HB_SERIALIZE_ERROR_INT_OVERFLOW)); - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this) && clips.sanitize (c, this)); - } - - HBUINT8 format; // Set to 1. - Array32Of clips; // Clip records, sorted by startGlyphID - public: - DEFINE_SIZE_ARRAY_SIZED (5, clips); -}; - -struct Paint -{ - - template - bool sanitize (hb_sanitize_context_t *c, Ts&&... ds) const - { - TRACE_SANITIZE (this); - - if (unlikely (!c->check_start_recursion (HB_COLRV1_MAX_NESTING_LEVEL))) - return_trace (c->no_dispatch_return_value ()); - - return_trace (c->end_recursion (this->dispatch (c, std::forward (ds)...))); - } - - template - typename context_t::return_t dispatch (context_t *c, Ts&&... ds) const - { - TRACE_DISPATCH (this, u.format); - if (unlikely (!c->may_dispatch (this, &u.format))) return_trace (c->no_dispatch_return_value ()); - switch (u.format) { - case 1: return_trace (c->dispatch (u.paintformat1, std::forward (ds)...)); - case 2: return_trace (c->dispatch (u.paintformat2, std::forward (ds)...)); - case 3: return_trace (c->dispatch (u.paintformat3, std::forward (ds)...)); - case 4: return_trace (c->dispatch (u.paintformat4, std::forward (ds)...)); - case 5: return_trace (c->dispatch (u.paintformat5, std::forward (ds)...)); - case 6: return_trace (c->dispatch (u.paintformat6, std::forward (ds)...)); - case 7: return_trace (c->dispatch (u.paintformat7, std::forward (ds)...)); - case 8: return_trace (c->dispatch (u.paintformat8, std::forward (ds)...)); - case 9: return_trace (c->dispatch (u.paintformat9, std::forward (ds)...)); - case 10: return_trace (c->dispatch (u.paintformat10, std::forward (ds)...)); - case 11: return_trace (c->dispatch (u.paintformat11, std::forward (ds)...)); - case 12: return_trace (c->dispatch (u.paintformat12, std::forward (ds)...)); - case 13: return_trace (c->dispatch (u.paintformat13, std::forward (ds)...)); - case 14: return_trace (c->dispatch (u.paintformat14, std::forward (ds)...)); - case 15: return_trace (c->dispatch (u.paintformat15, std::forward (ds)...)); - case 16: return_trace (c->dispatch (u.paintformat16, std::forward (ds)...)); - case 17: return_trace (c->dispatch (u.paintformat17, std::forward (ds)...)); - case 18: return_trace (c->dispatch (u.paintformat18, std::forward (ds)...)); - case 19: return_trace (c->dispatch (u.paintformat19, std::forward (ds)...)); - case 20: return_trace (c->dispatch (u.paintformat20, std::forward (ds)...)); - case 21: return_trace (c->dispatch (u.paintformat21, std::forward (ds)...)); - case 22: return_trace (c->dispatch (u.paintformat22, std::forward (ds)...)); - case 23: return_trace (c->dispatch (u.paintformat23, std::forward (ds)...)); - case 24: return_trace (c->dispatch (u.paintformat24, std::forward (ds)...)); - case 25: return_trace (c->dispatch (u.paintformat25, std::forward (ds)...)); - case 26: return_trace (c->dispatch (u.paintformat26, std::forward (ds)...)); - case 27: return_trace (c->dispatch (u.paintformat27, std::forward (ds)...)); - case 28: return_trace (c->dispatch (u.paintformat28, std::forward (ds)...)); - case 29: return_trace (c->dispatch (u.paintformat29, std::forward (ds)...)); - case 30: return_trace (c->dispatch (u.paintformat30, std::forward (ds)...)); - case 31: return_trace (c->dispatch (u.paintformat31, std::forward (ds)...)); - case 32: return_trace (c->dispatch (u.paintformat32, std::forward (ds)...)); - default:return_trace (c->default_return_value ()); - } - } - - protected: - union { - HBUINT8 format; - PaintColrLayers paintformat1; - PaintSolid paintformat2; - Variable paintformat3; - PaintLinearGradient paintformat4; - Variable> paintformat5; - PaintRadialGradient paintformat6; - Variable> paintformat7; - PaintSweepGradient paintformat8; - Variable> paintformat9; - PaintGlyph paintformat10; - PaintColrGlyph paintformat11; - PaintTransform paintformat12; - PaintTransform paintformat13; - PaintTranslate paintformat14; - Variable paintformat15; - PaintScale paintformat16; - Variable paintformat17; - PaintScaleAroundCenter paintformat18; - Variable paintformat19; - PaintScaleUniform paintformat20; - Variable paintformat21; - PaintScaleUniformAroundCenter paintformat22; - Variable paintformat23; - PaintRotate paintformat24; - Variable paintformat25; - PaintRotateAroundCenter paintformat26; - Variable paintformat27; - PaintSkew paintformat28; - Variable paintformat29; - PaintSkewAroundCenter paintformat30; - Variable paintformat31; - PaintComposite paintformat32; - } u; -}; - -struct BaseGlyphPaintRecord -{ - int cmp (hb_codepoint_t g) const - { return g < glyphId ? -1 : g > glyphId ? 1 : 0; } - - bool serialize (hb_serialize_context_t *s, const hb_map_t* glyph_map, - const void* src_base, hb_subset_context_t *c) const - { - TRACE_SERIALIZE (this); - auto *out = s->embed (this); - if (unlikely (!out)) return_trace (false); - if (!s->check_assign (out->glyphId, glyph_map->get (glyphId), - HB_SERIALIZE_ERROR_INT_OVERFLOW)) - return_trace (false); - - return_trace (out->paint.serialize_subset (c, paint, src_base)); - } - - bool sanitize (hb_sanitize_context_t *c, const void *base) const - { - TRACE_SANITIZE (this); - return_trace (likely (c->check_struct (this) && paint.sanitize (c, base))); - } - - public: - HBGlyphID16 glyphId; /* Glyph ID of reference glyph */ - Offset32To paint; /* Offset (from beginning of BaseGlyphPaintRecord array) to Paint, - * Typically PaintColrLayers */ - public: - DEFINE_SIZE_STATIC (6); -}; - -struct BaseGlyphList : SortedArray32Of -{ - bool subset (hb_subset_context_t *c) const - { - TRACE_SUBSET (this); - auto *out = c->serializer->start_embed (this); - if (unlikely (!c->serializer->extend_min (out))) return_trace (false); - const hb_set_t* glyphset = c->plan->_glyphset_colred; - - for (const auto& _ : as_array ()) - { - unsigned gid = _.glyphId; - if (!glyphset->has (gid)) continue; - - if (_.serialize (c->serializer, c->plan->glyph_map, this, c)) out->len++; - else return_trace (false); - } - - return_trace (out->len != 0); - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (SortedArray32Of::sanitize (c, this)); - } -}; - -struct LayerList : Array32OfOffset32To -{ - const Paint& get_paint (unsigned i) const - { return this+(*this)[i]; } - - bool subset (hb_subset_context_t *c) const - { - TRACE_SUBSET (this); - auto *out = c->serializer->start_embed (this); - if (unlikely (!c->serializer->extend_min (out))) return_trace (false); - - for (const auto& _ : + hb_enumerate (*this) - | hb_filter (c->plan->colrv1_layers, hb_first)) - - { - auto *o = out->serialize_append (c->serializer); - if (unlikely (!o) || !o->serialize_subset (c, _.second, this)) - return_trace (false); - } - return_trace (true); - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (Array32OfOffset32To::sanitize (c, this)); - } -}; - -struct COLR -{ - static constexpr hb_tag_t tableTag = HB_OT_TAG_COLR; - - bool has_data () const { return numBaseGlyphs; } - - unsigned int get_glyph_layers (hb_codepoint_t glyph, - unsigned int start_offset, - unsigned int *count, /* IN/OUT. May be NULL. */ - hb_ot_color_layer_t *layers /* OUT. May be NULL. */) const - { - const BaseGlyphRecord &record = (this+baseGlyphsZ).bsearch (numBaseGlyphs, glyph); - - hb_array_t all_layers = (this+layersZ).as_array (numLayers); - hb_array_t glyph_layers = all_layers.sub_array (record.firstLayerIdx, - record.numLayers); - if (count) - { - + glyph_layers.sub_array (start_offset, count) - | hb_sink (hb_array (layers, *count)) - ; - } - return glyph_layers.length; - } - - struct accelerator_t - { - accelerator_t () {} - ~accelerator_t () { fini (); } - - void init (hb_face_t *face) - { colr = hb_sanitize_context_t ().reference_table (face); } - - void fini () { this->colr.destroy (); } - - bool is_valid () { return colr.get_blob ()->length; } - - void closure_glyphs (hb_codepoint_t glyph, - hb_set_t *related_ids /* OUT */) const - { colr->closure_glyphs (glyph, related_ids); } - - void closure_V0palette_indices (const hb_set_t *glyphs, - hb_set_t *palettes /* OUT */) const - { colr->closure_V0palette_indices (glyphs, palettes); } - - void closure_forV1 (hb_set_t *glyphset, - hb_set_t *layer_indices, - hb_set_t *palette_indices) const - { colr->closure_forV1 (glyphset, layer_indices, palette_indices); } - - private: - hb_blob_ptr_t colr; - }; - - void closure_glyphs (hb_codepoint_t glyph, - hb_set_t *related_ids /* OUT */) const - { - const BaseGlyphRecord *record = get_base_glyph_record (glyph); - if (!record) return; - - auto glyph_layers = (this+layersZ).as_array (numLayers).sub_array (record->firstLayerIdx, - record->numLayers); - if (!glyph_layers.length) return; - related_ids->add_array (&glyph_layers[0].glyphId, glyph_layers.length, LayerRecord::min_size); - } - - void closure_V0palette_indices (const hb_set_t *glyphs, - hb_set_t *palettes /* OUT */) const - { - if (!numBaseGlyphs || !numLayers) return; - hb_array_t baseGlyphs = (this+baseGlyphsZ).as_array (numBaseGlyphs); - hb_array_t all_layers = (this+layersZ).as_array (numLayers); - - for (const BaseGlyphRecord record : baseGlyphs) - { - if (!glyphs->has (record.glyphId)) continue; - hb_array_t glyph_layers = all_layers.sub_array (record.firstLayerIdx, - record.numLayers); - for (const LayerRecord layer : glyph_layers) - palettes->add (layer.colorIdx); - } - } - - void closure_forV1 (hb_set_t *glyphset, - hb_set_t *layer_indices, - hb_set_t *palette_indices) const - { - if (version != 1) return; - hb_set_t visited_glyphs; - - hb_colrv1_closure_context_t c (this, &visited_glyphs, layer_indices, palette_indices); - const BaseGlyphList &baseglyph_paintrecords = this+baseGlyphList; - - for (const BaseGlyphPaintRecord &baseglyph_paintrecord: baseglyph_paintrecords.iter ()) - { - unsigned gid = baseglyph_paintrecord.glyphId; - if (!glyphset->has (gid)) continue; - - const Paint &paint = &baseglyph_paintrecords+baseglyph_paintrecord.paint; - paint.dispatch (&c); - } - hb_set_union (glyphset, &visited_glyphs); - } - - const LayerList& get_layerList () const - { return (this+layerList); } - - const BaseGlyphList& get_baseglyphList () const - { return (this+baseGlyphList); } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this) && - (this+baseGlyphsZ).sanitize (c, numBaseGlyphs) && - (this+layersZ).sanitize (c, numLayers) && - (version == 0 || - (COLRV1_ENABLE_SUBSETTING && version == 1 && - baseGlyphList.sanitize (c, this) && - layerList.sanitize (c, this) && - clipList.sanitize (c, this) && - varIdxMap.sanitize (c, this) && - varStore.sanitize (c, this)))); - } - - template - bool serialize_V0 (hb_serialize_context_t *c, - unsigned version, - BaseIterator base_it, - LayerIterator layer_it) - { - TRACE_SERIALIZE (this); - if (unlikely (base_it.len () != layer_it.len ())) - return_trace (false); - - this->version = version; - numLayers = 0; - numBaseGlyphs = base_it.len (); - if (numBaseGlyphs == 0) - { - baseGlyphsZ = 0; - layersZ = 0; - return_trace (true); - } - - c->push (); - for (const hb_item_type _ : + base_it.iter ()) - { - auto* record = c->embed (_); - if (unlikely (!record)) return_trace (false); - record->firstLayerIdx = numLayers; - numLayers += record->numLayers; - } - c->add_link (baseGlyphsZ, c->pop_pack ()); - - c->push (); - for (const hb_item_type& _ : + layer_it.iter ()) - _.as_array ().copy (c); - - c->add_link (layersZ, c->pop_pack ()); - - return_trace (true); - } - - const BaseGlyphRecord* get_base_glyph_record (hb_codepoint_t gid) const - { - const BaseGlyphRecord* record = &(this+baseGlyphsZ).bsearch (numBaseGlyphs, (unsigned int) gid); - if (record == &Null (BaseGlyphRecord) || - (record && (hb_codepoint_t) record->glyphId != gid)) - record = nullptr; - return record; - } - - const BaseGlyphPaintRecord* get_base_glyph_paintrecord (hb_codepoint_t gid) const - { - const BaseGlyphPaintRecord* record = &(this+baseGlyphList).bsearch ((unsigned) gid); - if ((record && (hb_codepoint_t) record->glyphId != gid)) - record = nullptr; - return record; - } - - bool subset (hb_subset_context_t *c) const - { - TRACE_SUBSET (this); - - const hb_map_t &reverse_glyph_map = *c->plan->reverse_glyph_map; - const hb_set_t& glyphset = *c->plan->_glyphset_colred; - - auto base_it = - + hb_range (c->plan->num_output_glyphs ()) - | hb_filter ([&](hb_codepoint_t new_gid) - { - hb_codepoint_t old_gid = reverse_glyph_map.get (new_gid); - if (glyphset.has (old_gid)) return true; - return false; - }) - | hb_map_retains_sorting ([&](hb_codepoint_t new_gid) - { - hb_codepoint_t old_gid = reverse_glyph_map.get (new_gid); - - const BaseGlyphRecord* old_record = get_base_glyph_record (old_gid); - if (unlikely (!old_record)) - return hb_pair_t (false, Null (BaseGlyphRecord)); - BaseGlyphRecord new_record = {}; - new_record.glyphId = new_gid; - new_record.numLayers = old_record->numLayers; - return hb_pair_t (true, new_record); - }) - | hb_filter (hb_first) - | hb_map_retains_sorting (hb_second) - ; - - auto layer_it = - + hb_range (c->plan->num_output_glyphs ()) - | hb_map (reverse_glyph_map) - | hb_filter (glyphset) - | hb_map_retains_sorting ([&](hb_codepoint_t old_gid) - { - const BaseGlyphRecord* old_record = get_base_glyph_record (old_gid); - hb_vector_t out_layers; - - if (unlikely (!old_record || - old_record->firstLayerIdx >= numLayers || - old_record->firstLayerIdx + old_record->numLayers > numLayers)) - return hb_pair_t> (false, out_layers); - - auto layers = (this+layersZ).as_array (numLayers).sub_array (old_record->firstLayerIdx, - old_record->numLayers); - out_layers.resize (layers.length); - for (unsigned int i = 0; i < layers.length; i++) { - out_layers[i] = layers[i]; - hb_codepoint_t new_gid = 0; - if (unlikely (!c->plan->new_gid_for_old_gid (out_layers[i].glyphId, &new_gid))) - return hb_pair_t> (false, out_layers); - out_layers[i].glyphId = new_gid; - out_layers[i].colorIdx = c->plan->colr_palettes->get (layers[i].colorIdx); - } - - return hb_pair_t> (true, out_layers); - }) - | hb_filter (hb_first) - | hb_map_retains_sorting (hb_second) - ; - - if (version == 0 && (!base_it || !layer_it)) - return_trace (false); - - COLR *colr_prime = c->serializer->start_embed (); - if (unlikely (!c->serializer->extend_min (colr_prime))) return_trace (false); - - if (version == 0) - return_trace (colr_prime->serialize_V0 (c->serializer, version, base_it, layer_it)); - - auto snap = c->serializer->snapshot (); - if (!c->serializer->allocate_size (5 * HBUINT32::static_size)) return_trace (false); - if (!colr_prime->baseGlyphList.serialize_subset (c, baseGlyphList, this)) - { - if (c->serializer->in_error ()) return_trace (false); - //no more COLRv1 glyphs: downgrade to version 0 - c->serializer->revert (snap); - return_trace (colr_prime->serialize_V0 (c->serializer, 0, base_it, layer_it)); - } - - if (!colr_prime->serialize_V0 (c->serializer, version, base_it, layer_it)) return_trace (false); - - colr_prime->layerList.serialize_subset (c, layerList, this); - colr_prime->clipList.serialize_subset (c, clipList, this); - colr_prime->varIdxMap.serialize_copy (c->serializer, varIdxMap, this); - //TODO: subset varStore once it's implemented in fonttools - return_trace (true); - } - - protected: - HBUINT16 version; /* Table version number (starts at 0). */ - HBUINT16 numBaseGlyphs; /* Number of Base Glyph Records. */ - NNOffset32To> - baseGlyphsZ; /* Offset to Base Glyph records. */ - NNOffset32To> - layersZ; /* Offset to Layer Records. */ - HBUINT16 numLayers; /* Number of Layer Records. */ - // Version-1 additions - Offset32To baseGlyphList; - Offset32To layerList; - Offset32To clipList; // Offset to ClipList table (may be NULL) - Offset32To varIdxMap; // Offset to DeltaSetIndexMap table (may be NULL) - Offset32To varStore; - public: - DEFINE_SIZE_MIN (14); -}; - -} /* namespace OT */ - - -#endif /* HB_OT_COLOR_COLR_TABLE_HH */ diff --git a/harfbuzz/src/hb-ot-color-colrv1-closure.hh b/harfbuzz/src/hb-ot-color-colrv1-closure.hh deleted file mode 100644 index ca85ba6..0000000 --- a/harfbuzz/src/hb-ot-color-colrv1-closure.hh +++ /dev/null @@ -1,108 +0,0 @@ -/* - * Copyright © 2018 Ebrahim Byagowi - * Copyright © 2020 Google, Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - */ - -#ifndef HB_OT_COLR_COLRV1_CLOSURE_HH -#define HB_OT_COLR_COLRV1_CLOSURE_HH - -#include "hb-open-type.hh" -#include "hb-ot-layout-common.hh" -#include "hb-ot-color-colr-table.hh" - -/* - * COLR -- Color - * https://docs.microsoft.com/en-us/typography/opentype/spec/colr - */ -namespace OT { - -HB_INTERNAL void PaintColrLayers::closurev1 (hb_colrv1_closure_context_t* c) const -{ - c->add_layer_indices (firstLayerIndex, numLayers); - const LayerList &paint_offset_lists = c->get_colr_table ()->get_layerList (); - for (unsigned i = firstLayerIndex; i < firstLayerIndex + numLayers; i++) - { - const Paint &paint = hb_addressof (paint_offset_lists) + paint_offset_lists[i]; - paint.dispatch (c); - } -} - -HB_INTERNAL void PaintGlyph::closurev1 (hb_colrv1_closure_context_t* c) const -{ - c->add_glyph (gid); - (this+paint).dispatch (c); -} - -HB_INTERNAL void PaintColrGlyph::closurev1 (hb_colrv1_closure_context_t* c) const -{ - const COLR *colr_table = c->get_colr_table (); - const BaseGlyphPaintRecord* baseglyph_paintrecord = colr_table->get_base_glyph_paintrecord (gid); - if (!baseglyph_paintrecord) return; - c->add_glyph (gid); - - const BaseGlyphList &baseglyph_list = colr_table->get_baseglyphList (); - (&baseglyph_list+baseglyph_paintrecord->paint).dispatch (c); -} - -template class Var> -HB_INTERNAL void PaintTransform::closurev1 (hb_colrv1_closure_context_t* c) const -{ (this+src).dispatch (c); } - -HB_INTERNAL void PaintTranslate::closurev1 (hb_colrv1_closure_context_t* c) const -{ (this+src).dispatch (c); } - -HB_INTERNAL void PaintScale::closurev1 (hb_colrv1_closure_context_t* c) const -{ (this+src).dispatch (c); } - -HB_INTERNAL void PaintScaleAroundCenter::closurev1 (hb_colrv1_closure_context_t* c) const -{ (this+src).dispatch (c); } - -HB_INTERNAL void PaintScaleUniform::closurev1 (hb_colrv1_closure_context_t* c) const -{ (this+src).dispatch (c); } - -HB_INTERNAL void PaintScaleUniformAroundCenter::closurev1 (hb_colrv1_closure_context_t* c) const -{ (this+src).dispatch (c); } - -HB_INTERNAL void PaintRotate::closurev1 (hb_colrv1_closure_context_t* c) const -{ (this+src).dispatch (c); } - -HB_INTERNAL void PaintRotateAroundCenter::closurev1 (hb_colrv1_closure_context_t* c) const -{ (this+src).dispatch (c); } - -HB_INTERNAL void PaintSkew::closurev1 (hb_colrv1_closure_context_t* c) const -{ (this+src).dispatch (c); } - -HB_INTERNAL void PaintSkewAroundCenter::closurev1 (hb_colrv1_closure_context_t* c) const -{ (this+src).dispatch (c); } - -HB_INTERNAL void PaintComposite::closurev1 (hb_colrv1_closure_context_t* c) const -{ - (this+src).dispatch (c); - (this+backdrop).dispatch (c); -} - -} /* namespace OT */ - - -#endif /* HB_OT_COLR_COLRV1_CLOSURE_HH */ diff --git a/harfbuzz/src/hb-ot-color-cpal-table.hh b/harfbuzz/src/hb-ot-color-cpal-table.hh deleted file mode 100644 index a9deeba..0000000 --- a/harfbuzz/src/hb-ot-color-cpal-table.hh +++ /dev/null @@ -1,307 +0,0 @@ -/* - * Copyright © 2016 Google, Inc. - * Copyright © 2018 Ebrahim Byagowi - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Google Author(s): Sascha Brawer - */ - -#ifndef HB_OT_COLOR_CPAL_TABLE_HH -#define HB_OT_COLOR_CPAL_TABLE_HH - -#include "hb-open-type.hh" -#include "hb-ot-color.h" -#include "hb-ot-name.h" - - -/* - * CPAL -- Color Palette - * https://docs.microsoft.com/en-us/typography/opentype/spec/cpal - */ -#define HB_OT_TAG_CPAL HB_TAG('C','P','A','L') - -namespace OT { - - -struct CPALV1Tail -{ - friend struct CPAL; - - private: - hb_ot_color_palette_flags_t get_palette_flags (const void *base, - unsigned int palette_index, - unsigned int palette_count) const - { - if (!paletteFlagsZ) return HB_OT_COLOR_PALETTE_FLAG_DEFAULT; - return (hb_ot_color_palette_flags_t) (uint32_t) - (base+paletteFlagsZ).as_array (palette_count)[palette_index]; - } - - hb_ot_name_id_t get_palette_name_id (const void *base, - unsigned int palette_index, - unsigned int palette_count) const - { - if (!paletteLabelsZ) return HB_OT_NAME_ID_INVALID; - return (base+paletteLabelsZ).as_array (palette_count)[palette_index]; - } - - hb_ot_name_id_t get_color_name_id (const void *base, - unsigned int color_index, - unsigned int color_count) const - { - if (!colorLabelsZ) return HB_OT_NAME_ID_INVALID; - return (base+colorLabelsZ).as_array (color_count)[color_index]; - } - - public: - bool serialize (hb_serialize_context_t *c, - unsigned palette_count, - unsigned color_count, - const void *base, - const hb_map_t *color_index_map) const - { - TRACE_SERIALIZE (this); - auto *out = c->allocate_size (static_size); - if (unlikely (!out)) return_trace (false); - - out->paletteFlagsZ = 0; - if (paletteFlagsZ) - out->paletteFlagsZ.serialize_copy (c, paletteFlagsZ, base, 0, hb_serialize_context_t::Head, palette_count); - - out->paletteLabelsZ = 0; - if (paletteLabelsZ) - out->paletteLabelsZ.serialize_copy (c, paletteLabelsZ, base, 0, hb_serialize_context_t::Head, palette_count); - - const hb_array_t colorLabels = (base+colorLabelsZ).as_array (color_count); - if (colorLabelsZ) - { - c->push (); - for (const auto _ : colorLabels) - { - if (!color_index_map->has (_)) continue; - NameID new_color_idx; - new_color_idx = color_index_map->get (_); - if (!c->copy (new_color_idx)) - { - c->pop_discard (); - return_trace (false); - } - } - c->add_link (out->colorLabelsZ, c->pop_pack ()); - } - return_trace (true); - } - - bool sanitize (hb_sanitize_context_t *c, - const void *base, - unsigned int palette_count, - unsigned int color_count) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this) && - (!paletteFlagsZ || (base+paletteFlagsZ).sanitize (c, palette_count)) && - (!paletteLabelsZ || (base+paletteLabelsZ).sanitize (c, palette_count)) && - (!colorLabelsZ || (base+colorLabelsZ).sanitize (c, color_count))); - } - - protected: - // TODO(garretrieger): these offsets can hold nulls so we should not be using non-null offsets - // here. Currently they are needed since UnsizedArrayOf doesn't define null_size - NNOffset32To> - paletteFlagsZ; /* Offset from the beginning of CPAL table to - * the Palette Type Array. Set to 0 if no array - * is provided. */ - NNOffset32To> - paletteLabelsZ; /* Offset from the beginning of CPAL table to - * the palette labels array. Set to 0 if no - * array is provided. */ - NNOffset32To> - colorLabelsZ; /* Offset from the beginning of CPAL table to - * the color labels array. Set to 0 - * if no array is provided. */ - public: - DEFINE_SIZE_STATIC (12); -}; - -typedef HBUINT32 BGRAColor; - -struct CPAL -{ - static constexpr hb_tag_t tableTag = HB_OT_TAG_CPAL; - - bool has_data () const { return numPalettes; } - - unsigned int get_size () const - { return min_size + numPalettes * sizeof (colorRecordIndicesZ[0]); } - - unsigned int get_palette_count () const { return numPalettes; } - unsigned int get_color_count () const { return numColors; } - - hb_ot_color_palette_flags_t get_palette_flags (unsigned int palette_index) const - { return v1 ().get_palette_flags (this, palette_index, numPalettes); } - - hb_ot_name_id_t get_palette_name_id (unsigned int palette_index) const - { return v1 ().get_palette_name_id (this, palette_index, numPalettes); } - - hb_ot_name_id_t get_color_name_id (unsigned int color_index) const - { return v1 ().get_color_name_id (this, color_index, numColors); } - - unsigned int get_palette_colors (unsigned int palette_index, - unsigned int start_offset, - unsigned int *color_count, /* IN/OUT. May be NULL. */ - hb_color_t *colors /* OUT. May be NULL. */) const - { - if (unlikely (palette_index >= numPalettes)) - { - if (color_count) *color_count = 0; - return 0; - } - unsigned int start_index = colorRecordIndicesZ[palette_index]; - hb_array_t all_colors ((this+colorRecordsZ).arrayZ, numColorRecords); - hb_array_t palette_colors = all_colors.sub_array (start_index, - numColors); - if (color_count) - { - + palette_colors.sub_array (start_offset, color_count) - | hb_sink (hb_array (colors, *color_count)) - ; - } - return numColors; - } - - private: - const CPALV1Tail& v1 () const - { - if (version == 0) return Null (CPALV1Tail); - return StructAfter (*this); - } - - public: - bool serialize (hb_serialize_context_t *c, - const hb_array_t &color_records, - const hb_array_t &color_record_indices, - const hb_map_t &color_record_index_map, - const hb_set_t &retained_color_record_indices) const - { - TRACE_SERIALIZE (this); - - for (const auto idx : color_record_indices) - { - HBUINT16 new_idx; - if (idx == 0) new_idx = 0; - else new_idx = color_record_index_map.get (idx); - if (!c->copy (new_idx)) return_trace (false); - } - - c->push (); - for (const auto _ : retained_color_record_indices.iter ()) - { - if (!c->copy (color_records[_])) - { - c->pop_discard (); - return_trace (false); - } - } - c->add_link (colorRecordsZ, c->pop_pack ()); - return_trace (true); - } - - bool subset (hb_subset_context_t *c) const - { - TRACE_SUBSET (this); - const hb_map_t *color_index_map = c->plan->colr_palettes; - if (color_index_map->is_empty ()) return_trace (false); - - hb_set_t retained_color_indices; - for (const auto _ : color_index_map->keys ()) - { - if (_ == 0xFFFF) continue; - retained_color_indices.add (_); - } - if (retained_color_indices.is_empty ()) return_trace (false); - - auto *out = c->serializer->start_embed (*this); - if (unlikely (!c->serializer->extend_min (out))) return_trace (false); - - out->version = version; - out->numColors = retained_color_indices.get_population (); - out->numPalettes = numPalettes; - - const hb_array_t colorRecordIndices = colorRecordIndicesZ.as_array (numPalettes); - hb_map_t color_record_index_map; - hb_set_t retained_color_record_indices; - - unsigned record_count = 0; - for (const auto first_color_record_idx : colorRecordIndices) - { - for (unsigned retained_color_idx : retained_color_indices.iter ()) - { - unsigned color_record_idx = first_color_record_idx + retained_color_idx; - if (color_record_index_map.has (color_record_idx)) continue; - color_record_index_map.set (color_record_idx, record_count); - retained_color_record_indices.add (color_record_idx); - record_count++; - } - } - - out->numColorRecords = record_count; - const hb_array_t color_records = (this+colorRecordsZ).as_array (numColorRecords); - if (!out->serialize (c->serializer, color_records, colorRecordIndices, color_record_index_map, retained_color_record_indices)) - return_trace (false); - - if (version == 1) - return_trace (v1 ().serialize (c->serializer, numPalettes, numColors, this, color_index_map)); - - return_trace (true); - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this) && - (this+colorRecordsZ).sanitize (c, numColorRecords) && - colorRecordIndicesZ.sanitize (c, numPalettes) && - (version == 0 || v1 ().sanitize (c, this, numPalettes, numColors))); - } - - protected: - HBUINT16 version; /* Table version number */ - /* Version 0 */ - HBUINT16 numColors; /* Number of colors in each palette. */ - HBUINT16 numPalettes; /* Number of palettes in the table. */ - HBUINT16 numColorRecords; /* Total number of color records, combined for - * all palettes. */ - NNOffset32To> - colorRecordsZ; /* Offset from the beginning of CPAL table to - * the first ColorRecord. */ - UnsizedArrayOf - colorRecordIndicesZ; /* Index of each palette’s first color record in - * the combined color record array. */ -/*CPALV1Tail v1;*/ - public: - DEFINE_SIZE_ARRAY (12, colorRecordIndicesZ); -}; - -} /* namespace OT */ - - -#endif /* HB_OT_COLOR_CPAL_TABLE_HH */ diff --git a/harfbuzz/src/hb-ot-color-sbix-table.hh b/harfbuzz/src/hb-ot-color-sbix-table.hh deleted file mode 100644 index d2911f1..0000000 --- a/harfbuzz/src/hb-ot-color-sbix-table.hh +++ /dev/null @@ -1,414 +0,0 @@ -/* - * Copyright © 2018 Ebrahim Byagowi - * Copyright © 2020 Google, Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Google Author(s): Calder Kitagawa - */ - -#ifndef HB_OT_COLOR_SBIX_TABLE_HH -#define HB_OT_COLOR_SBIX_TABLE_HH - -#include "hb-open-type.hh" -#include "hb-ot-layout-common.hh" - -/* - * sbix -- Standard Bitmap Graphics - * https://docs.microsoft.com/en-us/typography/opentype/spec/sbix - * https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6sbix.html - */ -#define HB_OT_TAG_sbix HB_TAG('s','b','i','x') - - -namespace OT { - - -struct SBIXGlyph -{ - SBIXGlyph* copy (hb_serialize_context_t *c, unsigned int data_length) const - { - TRACE_SERIALIZE (this); - SBIXGlyph* new_glyph = c->start_embed (); - if (unlikely (!new_glyph)) return_trace (nullptr); - if (unlikely (!c->extend_min (new_glyph))) return_trace (nullptr); - - new_glyph->xOffset = xOffset; - new_glyph->yOffset = yOffset; - new_glyph->graphicType = graphicType; - data.copy (c, data_length); - return_trace (new_glyph); - } - - HBINT16 xOffset; /* The horizontal (x-axis) offset from the left - * edge of the graphic to the glyph’s origin. - * That is, the x-coordinate of the point on the - * baseline at the left edge of the glyph. */ - HBINT16 yOffset; /* The vertical (y-axis) offset from the bottom - * edge of the graphic to the glyph’s origin. - * That is, the y-coordinate of the point on the - * baseline at the left edge of the glyph. */ - Tag graphicType; /* Indicates the format of the embedded graphic - * data: one of 'jpg ', 'png ' or 'tiff', or the - * special format 'dupe'. */ - UnsizedArrayOf - data; /* The actual embedded graphic data. The total - * length is inferred from sequential entries in - * the glyphDataOffsets array and the fixed size - * (8 bytes) of the preceding fields. */ - public: - DEFINE_SIZE_ARRAY (8, data); -}; - -struct SBIXStrike -{ - static unsigned int get_size (unsigned num_glyphs) - { return min_size + num_glyphs * HBUINT32::static_size; } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this) && - imageOffsetsZ.sanitize_shallow (c, c->get_num_glyphs () + 1)); - } - - hb_blob_t *get_glyph_blob (unsigned int glyph_id, - hb_blob_t *sbix_blob, - hb_tag_t file_type, - int *x_offset, - int *y_offset, - unsigned int num_glyphs, - unsigned int *strike_ppem) const - { - if (unlikely (!ppem)) return hb_blob_get_empty (); /* To get Null() object out of the way. */ - - unsigned int retry_count = 8; - unsigned int sbix_len = sbix_blob->length; - unsigned int strike_offset = (const char *) this - (const char *) sbix_blob->data; - assert (strike_offset < sbix_len); - - retry: - if (unlikely (glyph_id >= num_glyphs || - imageOffsetsZ[glyph_id + 1] <= imageOffsetsZ[glyph_id] || - imageOffsetsZ[glyph_id + 1] - imageOffsetsZ[glyph_id] <= SBIXGlyph::min_size || - (unsigned int) imageOffsetsZ[glyph_id + 1] > sbix_len - strike_offset)) - return hb_blob_get_empty (); - - unsigned int glyph_offset = strike_offset + (unsigned int) imageOffsetsZ[glyph_id] + SBIXGlyph::min_size; - unsigned int glyph_length = imageOffsetsZ[glyph_id + 1] - imageOffsetsZ[glyph_id] - SBIXGlyph::min_size; - - const SBIXGlyph *glyph = &(this+imageOffsetsZ[glyph_id]); - - if (glyph->graphicType == HB_TAG ('d','u','p','e')) - { - if (glyph_length >= 2) - { - glyph_id = *((HBUINT16 *) &glyph->data); - if (retry_count--) - goto retry; - } - return hb_blob_get_empty (); - } - - if (unlikely (file_type != glyph->graphicType)) - return hb_blob_get_empty (); - - if (strike_ppem) *strike_ppem = ppem; - if (x_offset) *x_offset = glyph->xOffset; - if (y_offset) *y_offset = glyph->yOffset; - return hb_blob_create_sub_blob (sbix_blob, glyph_offset, glyph_length); - } - - bool subset (hb_subset_context_t *c, unsigned int available_len) const - { - TRACE_SUBSET (this); - unsigned int num_output_glyphs = c->plan->num_output_glyphs (); - - auto* out = c->serializer->start_embed (); - if (unlikely (!out)) return_trace (false); - auto snap = c->serializer->snapshot (); - if (unlikely (!c->serializer->extend (out, num_output_glyphs + 1))) return_trace (false); - out->ppem = ppem; - out->resolution = resolution; - HBUINT32 head; - head = get_size (num_output_glyphs + 1); - - bool has_glyphs = false; - for (unsigned new_gid = 0; new_gid < num_output_glyphs; new_gid++) - { - hb_codepoint_t old_gid; - if (!c->plan->old_gid_for_new_gid (new_gid, &old_gid) || - unlikely (imageOffsetsZ[old_gid].is_null () || - imageOffsetsZ[old_gid + 1].is_null () || - imageOffsetsZ[old_gid + 1] <= imageOffsetsZ[old_gid] || - imageOffsetsZ[old_gid + 1] - imageOffsetsZ[old_gid] <= SBIXGlyph::min_size) || - (unsigned int) imageOffsetsZ[old_gid + 1] > available_len) - { - out->imageOffsetsZ[new_gid] = head; - continue; - } - has_glyphs = true; - unsigned int delta = imageOffsetsZ[old_gid + 1] - imageOffsetsZ[old_gid]; - unsigned int glyph_data_length = delta - SBIXGlyph::min_size; - if (!(this+imageOffsetsZ[old_gid]).copy (c->serializer, glyph_data_length)) - return_trace (false); - out->imageOffsetsZ[new_gid] = head; - head += delta; - } - if (has_glyphs) - out->imageOffsetsZ[num_output_glyphs] = head; - else - c->serializer->revert (snap); - return_trace (has_glyphs); - } - - public: - HBUINT16 ppem; /* The PPEM size for which this strike was designed. */ - HBUINT16 resolution; /* The device pixel density (in PPI) for which this - * strike was designed. (E.g., 96 PPI, 192 PPI.) */ - protected: - UnsizedArrayOf> - imageOffsetsZ; /* Offset from the beginning of the strike data header - * to bitmap data for an individual glyph ID. */ - public: - DEFINE_SIZE_ARRAY (4, imageOffsetsZ); -}; - -struct sbix -{ - static constexpr hb_tag_t tableTag = HB_OT_TAG_sbix; - - bool has_data () const { return version; } - - const SBIXStrike &get_strike (unsigned int i) const { return this+strikes[i]; } - - struct accelerator_t - { - void init (hb_face_t *face) - { - table = hb_sanitize_context_t ().reference_table (face); - num_glyphs = face->get_num_glyphs (); - } - void fini () { table.destroy (); } - - bool has_data () const { return table->has_data (); } - - bool get_extents (hb_font_t *font, - hb_codepoint_t glyph, - hb_glyph_extents_t *extents) const - { - /* We only support PNG right now, and following function checks type. */ - return get_png_extents (font, glyph, extents); - } - - hb_blob_t *reference_png (hb_font_t *font, - hb_codepoint_t glyph_id, - int *x_offset, - int *y_offset, - unsigned int *available_ppem) const - { - return choose_strike (font).get_glyph_blob (glyph_id, table.get_blob (), - HB_TAG ('p','n','g',' '), - x_offset, y_offset, - num_glyphs, available_ppem); - } - - private: - - const SBIXStrike &choose_strike (hb_font_t *font) const - { - unsigned count = table->strikes.len; - if (unlikely (!count)) - return Null (SBIXStrike); - - unsigned int requested_ppem = hb_max (font->x_ppem, font->y_ppem); - if (!requested_ppem) - requested_ppem = 1<<30; /* Choose largest strike. */ - /* TODO Add DPI sensitivity as well? */ - unsigned int best_i = 0; - unsigned int best_ppem = table->get_strike (0).ppem; - - for (unsigned int i = 1; i < count; i++) - { - unsigned int ppem = (table->get_strike (i)).ppem; - if ((requested_ppem <= ppem && ppem < best_ppem) || - (requested_ppem > best_ppem && ppem > best_ppem)) - { - best_i = i; - best_ppem = ppem; - } - } - - return table->get_strike (best_i); - } - - struct PNGHeader - { - HBUINT8 signature[8]; - struct - { - struct - { - HBUINT32 length; - Tag type; - } header; - HBUINT32 width; - HBUINT32 height; - HBUINT8 bitDepth; - HBUINT8 colorType; - HBUINT8 compressionMethod; - HBUINT8 filterMethod; - HBUINT8 interlaceMethod; - } IHDR; - - public: - DEFINE_SIZE_STATIC (29); - }; - - bool get_png_extents (hb_font_t *font, - hb_codepoint_t glyph, - hb_glyph_extents_t *extents) const - { - /* Following code is safe to call even without data. - * But faster to short-circuit. */ - if (!has_data ()) - return false; - - int x_offset = 0, y_offset = 0; - unsigned int strike_ppem = 0; - hb_blob_t *blob = reference_png (font, glyph, &x_offset, &y_offset, &strike_ppem); - - const PNGHeader &png = *blob->as(); - - extents->x_bearing = x_offset; - extents->y_bearing = png.IHDR.height + y_offset; - extents->width = png.IHDR.width; - extents->height = -1 * png.IHDR.height; - - /* Convert to font units. */ - if (strike_ppem) - { - float scale = font->face->get_upem () / (float) strike_ppem; - extents->x_bearing = font->em_scalef_x (extents->x_bearing * scale); - extents->y_bearing = font->em_scalef_y (extents->y_bearing * scale); - extents->width = font->em_scalef_x (extents->width * scale); - extents->height = font->em_scalef_y (extents->height * scale); - } - else - { - extents->x_bearing = font->em_scale_x (extents->x_bearing); - extents->y_bearing = font->em_scale_y (extents->y_bearing); - extents->width = font->em_scale_x (extents->width); - extents->height = font->em_scale_y (extents->height); - } - - hb_blob_destroy (blob); - - return strike_ppem; - } - - private: - hb_blob_ptr_t table; - - unsigned int num_glyphs; - }; - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (likely (c->check_struct (this) && - version >= 1 && - strikes.sanitize (c, this))); - } - - bool - add_strike (hb_subset_context_t *c, unsigned i) const - { - if (strikes[i].is_null () || c->source_blob->length < (unsigned) strikes[i]) - return false; - - return (this+strikes[i]).subset (c, c->source_blob->length - (unsigned) strikes[i]); - } - - bool serialize_strike_offsets (hb_subset_context_t *c) const - { - TRACE_SERIALIZE (this); - - auto *out = c->serializer->start_embed> (); - if (unlikely (!out)) return_trace (false); - if (unlikely (!c->serializer->extend_min (out))) return_trace (false); - - hb_vector_t*> new_strikes; - hb_vector_t objidxs; - for (int i = strikes.len - 1; i >= 0; --i) - { - auto* o = out->serialize_append (c->serializer); - if (unlikely (!o)) return_trace (false); - *o = 0; - auto snap = c->serializer->snapshot (); - c->serializer->push (); - bool ret = add_strike (c, i); - if (!ret) - { - c->serializer->pop_discard (); - out->pop (); - c->serializer->revert (snap); - } - else - { - objidxs.push (c->serializer->pop_pack ()); - new_strikes.push (o); - } - } - for (unsigned int i = 0; i < new_strikes.length; ++i) - c->serializer->add_link (*new_strikes[i], objidxs[new_strikes.length - 1 - i]); - - return_trace (true); - } - - bool subset (hb_subset_context_t* c) const - { - TRACE_SUBSET (this); - - sbix *sbix_prime = c->serializer->start_embed (); - if (unlikely (!sbix_prime)) return_trace (false); - if (unlikely (!c->serializer->embed (this->version))) return_trace (false); - if (unlikely (!c->serializer->embed (this->flags))) return_trace (false); - - return_trace (serialize_strike_offsets (c)); - } - - protected: - HBUINT16 version; /* Table version number — set to 1 */ - HBUINT16 flags; /* Bit 0: Set to 1. Bit 1: Draw outlines. - * Bits 2 to 15: reserved (set to 0). */ - Array32OfOffset32To - strikes; /* Offsets from the beginning of the 'sbix' - * table to data for each individual bitmap strike. */ - public: - DEFINE_SIZE_ARRAY (8, strikes); -}; - -struct sbix_accelerator_t : sbix::accelerator_t {}; - -} /* namespace OT */ - -#endif /* HB_OT_COLOR_SBIX_TABLE_HH */ diff --git a/harfbuzz/src/hb-ot-color-svg-table.hh b/harfbuzz/src/hb-ot-color-svg-table.hh deleted file mode 100644 index e022ef4..0000000 --- a/harfbuzz/src/hb-ot-color-svg-table.hh +++ /dev/null @@ -1,124 +0,0 @@ -/* - * Copyright © 2018 Ebrahim Byagowi - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - */ - -#ifndef HB_OT_COLOR_SVG_TABLE_HH -#define HB_OT_COLOR_SVG_TABLE_HH - -#include "hb-open-type.hh" - -/* - * SVG -- SVG (Scalable Vector Graphics) - * https://docs.microsoft.com/en-us/typography/opentype/spec/svg - */ - -#define HB_OT_TAG_SVG HB_TAG('S','V','G',' ') - - -namespace OT { - - -struct SVGDocumentIndexEntry -{ - int cmp (hb_codepoint_t g) const - { return g < startGlyphID ? -1 : g > endGlyphID ? 1 : 0; } - - hb_blob_t *reference_blob (hb_blob_t *svg_blob, unsigned int index_offset) const - { - return hb_blob_create_sub_blob (svg_blob, - index_offset + (unsigned int) svgDoc, - svgDocLength); - } - - bool sanitize (hb_sanitize_context_t *c, const void *base) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this) && - svgDoc.sanitize (c, base, svgDocLength)); - } - - protected: - HBUINT16 startGlyphID; /* The first glyph ID in the range described by - * this index entry. */ - HBUINT16 endGlyphID; /* The last glyph ID in the range described by - * this index entry. Must be >= startGlyphID. */ - NNOffset32To> - svgDoc; /* Offset from the beginning of the SVG Document Index - * to an SVG document. Must be non-zero. */ - HBUINT32 svgDocLength; /* Length of the SVG document. - * Must be non-zero. */ - public: - DEFINE_SIZE_STATIC (12); -}; - -struct SVG -{ - static constexpr hb_tag_t tableTag = HB_OT_TAG_SVG; - - bool has_data () const { return svgDocEntries; } - - struct accelerator_t - { - void init (hb_face_t *face) - { table = hb_sanitize_context_t ().reference_table (face); } - void fini () { table.destroy (); } - - hb_blob_t *reference_blob_for_glyph (hb_codepoint_t glyph_id) const - { - return table->get_glyph_entry (glyph_id).reference_blob (table.get_blob (), - table->svgDocEntries); - } - - bool has_data () const { return table->has_data (); } - - private: - hb_blob_ptr_t table; - }; - - const SVGDocumentIndexEntry &get_glyph_entry (hb_codepoint_t glyph_id) const - { return (this+svgDocEntries).bsearch (glyph_id); } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (likely (c->check_struct (this) && - (this+svgDocEntries).sanitize_shallow (c))); - } - - protected: - HBUINT16 version; /* Table version (starting at 0). */ - Offset32To> - svgDocEntries; /* Offset (relative to the start of the SVG table) to the - * SVG Documents Index. Must be non-zero. */ - /* Array of SVG Document Index Entries. */ - HBUINT32 reserved; /* Set to 0. */ - public: - DEFINE_SIZE_STATIC (10); -}; - -struct SVG_accelerator_t : SVG::accelerator_t {}; - -} /* namespace OT */ - - -#endif /* HB_OT_COLOR_SVG_TABLE_HH */ diff --git a/harfbuzz/src/hb-ot-color.cc b/harfbuzz/src/hb-ot-color.cc deleted file mode 100644 index 4170b71..0000000 --- a/harfbuzz/src/hb-ot-color.cc +++ /dev/null @@ -1,318 +0,0 @@ -/* - * Copyright © 2016 Google, Inc. - * Copyright © 2018 Ebrahim Byagowi - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Google Author(s): Sascha Brawer, Behdad Esfahbod - */ - -#include "hb.hh" - -#ifndef HB_NO_COLOR - -#include "hb-ot.h" - -#include "hb-ot-color-cbdt-table.hh" -#include "hb-ot-color-colr-table.hh" -#include "hb-ot-color-cpal-table.hh" -#include "hb-ot-color-sbix-table.hh" -#include "hb-ot-color-svg-table.hh" - - -/** - * SECTION:hb-ot-color - * @title: hb-ot-color - * @short_description: OpenType Color Fonts - * @include: hb-ot.h - * - * Functions for fetching color-font information from OpenType font faces. - * - * HarfBuzz supports `COLR`/`CPAL`, `sbix`, `CBDT`, and `SVG` color fonts. - **/ - - -/* - * CPAL - */ - - -/** - * hb_ot_color_has_palettes: - * @face: #hb_face_t to work upon - * - * Tests whether a face includes a `CPAL` color-palette table. - * - * Return value: %true if data found, %false otherwise - * - * Since: 2.1.0 - */ -hb_bool_t -hb_ot_color_has_palettes (hb_face_t *face) -{ - return face->table.CPAL->has_data (); -} - -/** - * hb_ot_color_palette_get_count: - * @face: #hb_face_t to work upon - * - * Fetches the number of color palettes in a face. - * - * Return value: the number of palettes found - * - * Since: 2.1.0 - */ -unsigned int -hb_ot_color_palette_get_count (hb_face_t *face) -{ - return face->table.CPAL->get_palette_count (); -} - -/** - * hb_ot_color_palette_get_name_id: - * @face: #hb_face_t to work upon - * @palette_index: The index of the color palette - * - * Fetches the `name` table Name ID that provides display names for - * a `CPAL` color palette. - * - * Palette display names can be generic (e.g., "Default") or provide - * specific, themed names (e.g., "Spring", "Summer", "Fall", and "Winter"). - * - * Return value: the Named ID found for the palette. - * If the requested palette has no name the result is #HB_OT_NAME_ID_INVALID. - * - * Since: 2.1.0 - */ -hb_ot_name_id_t -hb_ot_color_palette_get_name_id (hb_face_t *face, - unsigned int palette_index) -{ - return face->table.CPAL->get_palette_name_id (palette_index); -} - -/** - * hb_ot_color_palette_color_get_name_id: - * @face: #hb_face_t to work upon - * @color_index: The index of the color - * - * Fetches the `name` table Name ID that provides display names for - * the specificed color in a face's `CPAL` color palette. - * - * Display names can be generic (e.g., "Background") or specific - * (e.g., "Eye color"). - * - * Return value: the Name ID found for the color. - * - * Since: 2.1.0 - */ -hb_ot_name_id_t -hb_ot_color_palette_color_get_name_id (hb_face_t *face, - unsigned int color_index) -{ - return face->table.CPAL->get_color_name_id (color_index); -} - -/** - * hb_ot_color_palette_get_flags: - * @face: #hb_face_t to work upon - * @palette_index: The index of the color palette - * - * Fetches the flags defined for a color palette. - * - * Return value: the #hb_ot_color_palette_flags_t of the requested color palette - * - * Since: 2.1.0 - */ -hb_ot_color_palette_flags_t -hb_ot_color_palette_get_flags (hb_face_t *face, - unsigned int palette_index) -{ - return face->table.CPAL->get_palette_flags (palette_index); -} - -/** - * hb_ot_color_palette_get_colors: - * @face: #hb_face_t to work upon - * @palette_index: the index of the color palette to query - * @start_offset: offset of the first color to retrieve - * @color_count: (inout) (optional): Input = the maximum number of colors to return; - * Output = the actual number of colors returned (may be zero) - * @colors: (out) (array length=color_count) (nullable): The array of #hb_color_t records found - * - * Fetches a list of the colors in a color palette. - * - * After calling this function, @colors will be filled with the palette - * colors. If @colors is NULL, the function will just return the number - * of total colors without storing any actual colors; this can be used - * for allocating a buffer of suitable size before calling - * hb_ot_color_palette_get_colors() a second time. - * - * Return value: the total number of colors in the palette - * - * Since: 2.1.0 - */ -unsigned int -hb_ot_color_palette_get_colors (hb_face_t *face, - unsigned int palette_index, - unsigned int start_offset, - unsigned int *colors_count /* IN/OUT. May be NULL. */, - hb_color_t *colors /* OUT. May be NULL. */) -{ - return face->table.CPAL->get_palette_colors (palette_index, start_offset, colors_count, colors); -} - - -/* - * COLR - */ - -/** - * hb_ot_color_has_layers: - * @face: #hb_face_t to work upon - * - * Tests whether a face includes any `COLR` color layers. - * - * Return value: %true if data found, %false otherwise - * - * Since: 2.1.0 - */ -hb_bool_t -hb_ot_color_has_layers (hb_face_t *face) -{ - return face->table.COLR->has_data (); -} - -/** - * hb_ot_color_glyph_get_layers: - * @face: #hb_face_t to work upon - * @glyph: The glyph index to query - * @start_offset: offset of the first layer to retrieve - * @layer_count: (inout) (optional): Input = the maximum number of layers to return; - * Output = the actual number of layers returned (may be zero) - * @layers: (out) (array length=layer_count) (nullable): The array of layers found - * - * Fetches a list of all color layers for the specified glyph index in the specified - * face. The list returned will begin at the offset provided. - * - * Return value: Total number of layers available for the glyph index queried - * - * Since: 2.1.0 - */ -unsigned int -hb_ot_color_glyph_get_layers (hb_face_t *face, - hb_codepoint_t glyph, - unsigned int start_offset, - unsigned int *layer_count, /* IN/OUT. May be NULL. */ - hb_ot_color_layer_t *layers /* OUT. May be NULL. */) -{ - return face->table.COLR->get_glyph_layers (glyph, start_offset, layer_count, layers); -} - - -/* - * SVG - */ - -/** - * hb_ot_color_has_svg: - * @face: #hb_face_t to work upon. - * - * Tests whether a face includes any `SVG` glyph images. - * - * Return value: %true if data found, %false otherwise. - * - * Since: 2.1.0 - */ -hb_bool_t -hb_ot_color_has_svg (hb_face_t *face) -{ - return face->table.SVG->has_data (); -} - -/** - * hb_ot_color_glyph_reference_svg: - * @face: #hb_face_t to work upon - * @glyph: a svg glyph index - * - * Fetches the SVG document for a glyph. The blob may be either plain text or gzip-encoded. - * - * Return value: (transfer full): An #hb_blob_t containing the SVG document of the glyph, if available - * - * Since: 2.1.0 - */ -hb_blob_t * -hb_ot_color_glyph_reference_svg (hb_face_t *face, hb_codepoint_t glyph) -{ - return face->table.SVG->reference_blob_for_glyph (glyph); -} - - -/* - * PNG: CBDT or sbix - */ - -/** - * hb_ot_color_has_png: - * @face: #hb_face_t to work upon - * - * Tests whether a face has PNG glyph images (either in `CBDT` or `sbix` tables). - * - * Return value: %true if data found, %false otherwise - * - * Since: 2.1.0 - */ -hb_bool_t -hb_ot_color_has_png (hb_face_t *face) -{ - return face->table.CBDT->has_data () || face->table.sbix->has_data (); -} - -/** - * hb_ot_color_glyph_reference_png: - * @font: #hb_font_t to work upon - * @glyph: a glyph index - * - * Fetches the PNG image for a glyph. This function takes a font object, not a face object, - * as input. To get an optimally sized PNG blob, the UPEM value must be set on the @font - * object. If UPEM is unset, the blob returned will be the largest PNG available. - * - * Return value: (transfer full): An #hb_blob_t containing the PNG image for the glyph, if available - * - * Since: 2.1.0 - */ -hb_blob_t * -hb_ot_color_glyph_reference_png (hb_font_t *font, hb_codepoint_t glyph) -{ - hb_blob_t *blob = hb_blob_get_empty (); - - if (font->face->table.sbix->has_data ()) - blob = font->face->table.sbix->reference_png (font, glyph, nullptr, nullptr, nullptr); - - if (!blob->length && font->face->table.CBDT->has_data ()) - blob = font->face->table.CBDT->reference_png (font, glyph); - - return blob; -} - - -#endif diff --git a/harfbuzz/src/hb-ot-color.h b/harfbuzz/src/hb-ot-color.h deleted file mode 100644 index c23ce4d..0000000 --- a/harfbuzz/src/hb-ot-color.h +++ /dev/null @@ -1,142 +0,0 @@ -/* - * Copyright © 2016 Google, Inc. - * Copyright © 2018 Khaled Hosny - * Copyright © 2018 Ebrahim Byagowi - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Google Author(s): Sascha Brawer, Behdad Esfahbod - */ - -#if !defined(HB_OT_H_IN) && !defined(HB_NO_SINGLE_HEADER_ERROR) -#error "Include instead." -#endif - -#ifndef HB_OT_COLOR_H -#define HB_OT_COLOR_H - -#include "hb.h" -#include "hb-ot-name.h" - -HB_BEGIN_DECLS - - -/* - * Color palettes. - */ - -HB_EXTERN hb_bool_t -hb_ot_color_has_palettes (hb_face_t *face); - -HB_EXTERN unsigned int -hb_ot_color_palette_get_count (hb_face_t *face); - -HB_EXTERN hb_ot_name_id_t -hb_ot_color_palette_get_name_id (hb_face_t *face, - unsigned int palette_index); - -HB_EXTERN hb_ot_name_id_t -hb_ot_color_palette_color_get_name_id (hb_face_t *face, - unsigned int color_index); - -/** - * hb_ot_color_palette_flags_t: - * @HB_OT_COLOR_PALETTE_FLAG_DEFAULT: Default indicating that there is nothing special - * to note about a color palette. - * @HB_OT_COLOR_PALETTE_FLAG_USABLE_WITH_LIGHT_BACKGROUND: Flag indicating that the color - * palette is appropriate to use when displaying the font on a light background such as white. - * @HB_OT_COLOR_PALETTE_FLAG_USABLE_WITH_DARK_BACKGROUND: Flag indicating that the color - * palette is appropriate to use when displaying the font on a dark background such as black. - * - * Flags that describe the properties of color palette. - * - * Since: 2.1.0 - */ -typedef enum { /*< flags >*/ - HB_OT_COLOR_PALETTE_FLAG_DEFAULT = 0x00000000u, - HB_OT_COLOR_PALETTE_FLAG_USABLE_WITH_LIGHT_BACKGROUND = 0x00000001u, - HB_OT_COLOR_PALETTE_FLAG_USABLE_WITH_DARK_BACKGROUND = 0x00000002u -} hb_ot_color_palette_flags_t; - -HB_EXTERN hb_ot_color_palette_flags_t -hb_ot_color_palette_get_flags (hb_face_t *face, - unsigned int palette_index); - -HB_EXTERN unsigned int -hb_ot_color_palette_get_colors (hb_face_t *face, - unsigned int palette_index, - unsigned int start_offset, - unsigned int *color_count, /* IN/OUT. May be NULL. */ - hb_color_t *colors /* OUT. May be NULL. */); - - -/* - * Color layers. - */ - -HB_EXTERN hb_bool_t -hb_ot_color_has_layers (hb_face_t *face); - -/** - * hb_ot_color_layer_t: - * @glyph: the glyph ID of the layer - * @color_index: the palette color index of the layer - * - * Pairs of glyph and color index. - * - * Since: 2.1.0 - **/ -typedef struct hb_ot_color_layer_t { - hb_codepoint_t glyph; - unsigned int color_index; -} hb_ot_color_layer_t; - -HB_EXTERN unsigned int -hb_ot_color_glyph_get_layers (hb_face_t *face, - hb_codepoint_t glyph, - unsigned int start_offset, - unsigned int *layer_count, /* IN/OUT. May be NULL. */ - hb_ot_color_layer_t *layers /* OUT. May be NULL. */); - -/* - * SVG - */ - -HB_EXTERN hb_bool_t -hb_ot_color_has_svg (hb_face_t *face); - -HB_EXTERN hb_blob_t * -hb_ot_color_glyph_reference_svg (hb_face_t *face, hb_codepoint_t glyph); - -/* - * PNG: CBDT or sbix - */ - -HB_EXTERN hb_bool_t -hb_ot_color_has_png (hb_face_t *face); - -HB_EXTERN hb_blob_t * -hb_ot_color_glyph_reference_png (hb_font_t *font, hb_codepoint_t glyph); - - -HB_END_DECLS - -#endif /* HB_OT_COLOR_H */ diff --git a/harfbuzz/src/hb-ot-deprecated.h b/harfbuzz/src/hb-ot-deprecated.h deleted file mode 100644 index ce6b6fe..0000000 --- a/harfbuzz/src/hb-ot-deprecated.h +++ /dev/null @@ -1,126 +0,0 @@ -/* - * Copyright © 2018 Google, Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Google Author(s): Behdad Esfahbod - */ - -#if !defined(HB_OT_H_IN) && !defined(HB_NO_SINGLE_HEADER_ERROR) -#error "Include instead." -#endif - -#ifndef HB_OT_DEPRECATED_H -#define HB_OT_DEPRECATED_H - -#include "hb.h" -#include "hb-ot-name.h" - - -HB_BEGIN_DECLS - -#ifndef HB_DISABLE_DEPRECATED - - -/* https://github.com/harfbuzz/harfbuzz/issues/1734 */ -/** - * HB_MATH_GLYPH_PART_FLAG_EXTENDER: - * - * Use #HB_OT_MATH_GLYPH_PART_FLAG_EXTENDER instead. - * - * Deprecated: 2.5.1 - */ -#define HB_MATH_GLYPH_PART_FLAG_EXTENDER HB_OT_MATH_GLYPH_PART_FLAG_EXTENDER - - -/* Like hb_ot_layout_table_find_script, but takes zero-terminated array of scripts to test */ -HB_EXTERN HB_DEPRECATED_FOR (hb_ot_layout_table_select_script) hb_bool_t -hb_ot_layout_table_choose_script (hb_face_t *face, - hb_tag_t table_tag, - const hb_tag_t *script_tags, - unsigned int *script_index, - hb_tag_t *chosen_script); - -HB_EXTERN HB_DEPRECATED_FOR (hb_ot_layout_script_select_language) hb_bool_t -hb_ot_layout_script_find_language (hb_face_t *face, - hb_tag_t table_tag, - unsigned int script_index, - hb_tag_t language_tag, - unsigned int *language_index); - -HB_EXTERN HB_DEPRECATED_FOR (hb_ot_tags_from_script_and_language) void -hb_ot_tags_from_script (hb_script_t script, - hb_tag_t *script_tag_1, - hb_tag_t *script_tag_2); - -HB_EXTERN HB_DEPRECATED_FOR (hb_ot_tags_from_script_and_language) hb_tag_t -hb_ot_tag_from_language (hb_language_t language); - - -/** - * HB_OT_VAR_NO_AXIS_INDEX: - * - * Do not use. - * - * Since: 1.4.2 - * Deprecated: 2.2.0 - */ -#define HB_OT_VAR_NO_AXIS_INDEX 0xFFFFFFFFu - -/** - * hb_ot_var_axis_t: - * @tag: axis tag - * @name_id: axis name identifier - * @min_value: minimum value of the axis - * @default_value: default value of the axis - * @max_value: maximum value of the axis - * - * Use #hb_ot_var_axis_info_t instead. - * - * Since: 1.4.2 - * Deprecated: 2.2.0 - */ -typedef struct hb_ot_var_axis_t { - hb_tag_t tag; - hb_ot_name_id_t name_id; - float min_value; - float default_value; - float max_value; -} hb_ot_var_axis_t; - -HB_EXTERN HB_DEPRECATED_FOR (hb_ot_var_get_axis_infos) unsigned int -hb_ot_var_get_axes (hb_face_t *face, - unsigned int start_offset, - unsigned int *axes_count /* IN/OUT */, - hb_ot_var_axis_t *axes_array /* OUT */); - -HB_EXTERN HB_DEPRECATED_FOR (hb_ot_var_find_axis_info) hb_bool_t -hb_ot_var_find_axis (hb_face_t *face, - hb_tag_t axis_tag, - unsigned int *axis_index, - hb_ot_var_axis_t *axis_info); - - -#endif - -HB_END_DECLS - -#endif /* HB_OT_DEPRECATED_H */ diff --git a/harfbuzz/src/hb-ot-face-table-list.hh b/harfbuzz/src/hb-ot-face-table-list.hh deleted file mode 100644 index eff0983..0000000 --- a/harfbuzz/src/hb-ot-face-table-list.hh +++ /dev/null @@ -1,140 +0,0 @@ -/* - * Copyright © 2007,2008,2009 Red Hat, Inc. - * Copyright © 2012,2013 Google, Inc. - * Copyright © 2019, Facebook Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Red Hat Author(s): Behdad Esfahbod - * Google Author(s): Behdad Esfahbod - * Facebook Author(s): Behdad Esfahbod - */ - -#ifndef HB_OT_FACE_TABLE_LIST_HH -#define HB_OT_FACE_TABLE_LIST_HH -#endif /* HB_OT_FACE_TABLE_LIST_HH */ /* Dummy header guards */ - -#ifndef HB_OT_ACCELERATOR -#define HB_OT_ACCELERATOR(Namespace, Type) HB_OT_TABLE (Namespace, Type) -#define _HB_OT_ACCELERATOR_UNDEF -#endif - - -/* This lists font tables that the hb_face_t will contain and lazily - * load. Don't add a table unless it's used though. This is not - * exactly zero-cost. */ - -/* v--- Add new tables in the right place here. */ - - -/* OpenType fundamentals. */ -HB_OT_TABLE (OT, head) -#if !defined(HB_NO_FACE_COLLECT_UNICODES) || !defined(HB_NO_OT_FONT) -HB_OT_ACCELERATOR (OT, cmap) -#endif -HB_OT_TABLE (OT, hhea) -HB_OT_ACCELERATOR (OT, hmtx) -HB_OT_TABLE (OT, OS2) -#if !defined(HB_NO_OT_FONT_GLYPH_NAMES) || !defined(HB_NO_METRICS) || !defined(HB_NO_STYLE) -HB_OT_ACCELERATOR (OT, post) -#endif -#ifndef HB_NO_NAME -HB_OT_ACCELERATOR (OT, name) -#endif -#ifndef HB_NO_STYLE -HB_OT_TABLE (OT, STAT) -#endif -#ifndef HB_NO_META -HB_OT_ACCELERATOR (OT, meta) -#endif - -/* Vertical layout. */ -#ifndef HB_NO_VERTICAL -HB_OT_TABLE (OT, vhea) -HB_OT_ACCELERATOR (OT, vmtx) -HB_OT_TABLE (OT, VORG) -#endif - -/* TrueType outlines. */ -HB_OT_ACCELERATOR (OT, glyf) - -/* CFF outlines. */ -#ifndef HB_NO_CFF -HB_OT_ACCELERATOR (OT, cff1) -HB_OT_ACCELERATOR (OT, cff2) -#endif - -/* OpenType variations. */ -#ifndef HB_NO_VAR -HB_OT_TABLE (OT, fvar) -HB_OT_TABLE (OT, avar) -HB_OT_ACCELERATOR (OT, gvar) -HB_OT_TABLE (OT, MVAR) -#endif - -/* Legacy kern. */ -#ifndef HB_NO_OT_KERN -HB_OT_TABLE (OT, kern) -#endif - -/* OpenType shaping. */ -#ifndef HB_NO_OT_LAYOUT -HB_OT_ACCELERATOR (OT, GDEF) -HB_OT_ACCELERATOR (OT, GSUB) -HB_OT_ACCELERATOR (OT, GPOS) -//HB_OT_TABLE (OT, JSTF) -#endif - -/* OpenType baseline. */ -#ifndef HB_NO_BASE -HB_OT_TABLE (OT, BASE) -#endif - -/* AAT shaping. */ -#ifndef HB_NO_AAT -HB_OT_TABLE (AAT, morx) -HB_OT_TABLE (AAT, mort) -HB_OT_TABLE (AAT, kerx) -HB_OT_TABLE (AAT, ankr) -HB_OT_TABLE (AAT, trak) -HB_OT_TABLE (AAT, ltag) -HB_OT_TABLE (AAT, feat) -// HB_OT_TABLE (AAT, opbd) -#endif - -/* OpenType color fonts. */ -#ifndef HB_NO_COLOR -HB_OT_TABLE (OT, COLR) -HB_OT_TABLE (OT, CPAL) -HB_OT_ACCELERATOR (OT, CBDT) -HB_OT_ACCELERATOR (OT, sbix) -HB_OT_ACCELERATOR (OT, SVG) -#endif - -/* OpenType math. */ -#ifndef HB_NO_MATH -HB_OT_TABLE (OT, MATH) -#endif - - -#ifdef _HB_OT_ACCELERATOR_UNDEF -#undef HB_OT_ACCELERATOR -#endif diff --git a/harfbuzz/src/hb-ot-face.cc b/harfbuzz/src/hb-ot-face.cc deleted file mode 100644 index 5ef8df4..0000000 --- a/harfbuzz/src/hb-ot-face.cc +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright © 2018 Google, Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Google Author(s): Behdad Esfahbod - */ - -#include "hb-ot-face.hh" - -#include "hb-ot-cmap-table.hh" -#include "hb-ot-glyf-table.hh" -#include "hb-ot-cff1-table.hh" -#include "hb-ot-cff2-table.hh" -#include "hb-ot-hmtx-table.hh" -#include "hb-ot-kern-table.hh" -#include "hb-ot-meta-table.hh" -#include "hb-ot-name-table.hh" -#include "hb-ot-post-table.hh" -#include "hb-ot-color-cbdt-table.hh" -#include "hb-ot-color-sbix-table.hh" -#include "hb-ot-color-svg-table.hh" -#include "hb-ot-layout-gdef-table.hh" -#include "hb-ot-layout-gsub-table.hh" -#include "hb-ot-layout-gpos-table.hh" - - -void hb_ot_face_t::init0 (hb_face_t *face) -{ - this->face = face; -#define HB_OT_TABLE(Namespace, Type) Type.init0 (); -#include "hb-ot-face-table-list.hh" -#undef HB_OT_TABLE -} -void hb_ot_face_t::fini () -{ -#define HB_OT_TABLE(Namespace, Type) Type.fini (); -#include "hb-ot-face-table-list.hh" -#undef HB_OT_TABLE -} diff --git a/harfbuzz/src/hb-ot-face.hh b/harfbuzz/src/hb-ot-face.hh deleted file mode 100644 index e24d380..0000000 --- a/harfbuzz/src/hb-ot-face.hh +++ /dev/null @@ -1,74 +0,0 @@ -/* - * Copyright © 2007,2008,2009 Red Hat, Inc. - * Copyright © 2012,2013 Google, Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Red Hat Author(s): Behdad Esfahbod - * Google Author(s): Behdad Esfahbod - */ - -#ifndef HB_OT_FACE_HH -#define HB_OT_FACE_HH - -#include "hb.hh" - -#include "hb-machinery.hh" - - -/* - * hb_ot_face_t - */ - -/* Declare tables. */ -#define HB_OT_TABLE(Namespace, Type) namespace Namespace { struct Type; } -#define HB_OT_ACCELERATOR(Namespace, Type) HB_OT_TABLE (Namespace, Type##_accelerator_t) -#include "hb-ot-face-table-list.hh" -#undef HB_OT_ACCELERATOR -#undef HB_OT_TABLE - -struct hb_ot_face_t -{ - HB_INTERNAL void init0 (hb_face_t *face); - HB_INTERNAL void fini (); - -#define HB_OT_TABLE_ORDER(Namespace, Type) \ - HB_PASTE (ORDER_, HB_PASTE (Namespace, HB_PASTE (_, Type))) - enum order_t - { - ORDER_ZERO, -#define HB_OT_TABLE(Namespace, Type) HB_OT_TABLE_ORDER (Namespace, Type), -#include "hb-ot-face-table-list.hh" -#undef HB_OT_TABLE - }; - - hb_face_t *face; /* MUST be JUST before the lazy loaders. */ -#define HB_OT_TABLE(Namespace, Type) \ - hb_table_lazy_loader_t Type; -#define HB_OT_ACCELERATOR(Namespace, Type) \ - hb_face_lazy_loader_t Type; -#include "hb-ot-face-table-list.hh" -#undef HB_OT_ACCELERATOR -#undef HB_OT_TABLE -}; - - -#endif /* HB_OT_FACE_HH */ diff --git a/harfbuzz/src/hb-ot-font.cc b/harfbuzz/src/hb-ot-font.cc deleted file mode 100644 index 9f0359a..0000000 --- a/harfbuzz/src/hb-ot-font.cc +++ /dev/null @@ -1,343 +0,0 @@ -/* - * Copyright © 2011,2014 Google, Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Google Author(s): Behdad Esfahbod, Roozbeh Pournader - */ - -#include "hb.hh" - -#ifndef HB_NO_OT_FONT - -#include "hb-ot.h" - -#include "hb-font.hh" -#include "hb-machinery.hh" -#include "hb-ot-face.hh" - -#include "hb-ot-cmap-table.hh" -#include "hb-ot-glyf-table.hh" -#include "hb-ot-cff1-table.hh" -#include "hb-ot-cff2-table.hh" -#include "hb-ot-hmtx-table.hh" -#include "hb-ot-os2-table.hh" -#include "hb-ot-post-table.hh" -#include "hb-ot-stat-table.hh" // Just so we compile it; unused otherwise. -#include "hb-ot-vorg-table.hh" -#include "hb-ot-color-cbdt-table.hh" -#include "hb-ot-color-sbix-table.hh" - - -/** - * SECTION:hb-ot-font - * @title: hb-ot-font - * @short_description: OpenType font implementation - * @include: hb-ot.h - * - * Functions for using OpenType fonts with hb_shape(). Note that fonts returned - * by hb_font_create() default to using these functions, so most clients would - * never need to call these functions directly. - **/ - - -static hb_bool_t -hb_ot_get_nominal_glyph (hb_font_t *font HB_UNUSED, - void *font_data, - hb_codepoint_t unicode, - hb_codepoint_t *glyph, - void *user_data HB_UNUSED) -{ - const hb_ot_face_t *ot_face = (const hb_ot_face_t *) font_data; - return ot_face->cmap->get_nominal_glyph (unicode, glyph); -} - -static unsigned int -hb_ot_get_nominal_glyphs (hb_font_t *font HB_UNUSED, - void *font_data, - unsigned int count, - const hb_codepoint_t *first_unicode, - unsigned int unicode_stride, - hb_codepoint_t *first_glyph, - unsigned int glyph_stride, - void *user_data HB_UNUSED) -{ - const hb_ot_face_t *ot_face = (const hb_ot_face_t *) font_data; - return ot_face->cmap->get_nominal_glyphs (count, - first_unicode, unicode_stride, - first_glyph, glyph_stride); -} - -static hb_bool_t -hb_ot_get_variation_glyph (hb_font_t *font HB_UNUSED, - void *font_data, - hb_codepoint_t unicode, - hb_codepoint_t variation_selector, - hb_codepoint_t *glyph, - void *user_data HB_UNUSED) -{ - const hb_ot_face_t *ot_face = (const hb_ot_face_t *) font_data; - return ot_face->cmap->get_variation_glyph (unicode, variation_selector, glyph); -} - -static void -hb_ot_get_glyph_h_advances (hb_font_t* font, void* font_data, - unsigned count, - const hb_codepoint_t *first_glyph, - unsigned glyph_stride, - hb_position_t *first_advance, - unsigned advance_stride, - void *user_data HB_UNUSED) -{ - const hb_ot_face_t *ot_face = (const hb_ot_face_t *) font_data; - const OT::hmtx_accelerator_t &hmtx = *ot_face->hmtx; - - for (unsigned int i = 0; i < count; i++) - { - *first_advance = font->em_scale_x (hmtx.get_advance (*first_glyph, font)); - first_glyph = &StructAtOffsetUnaligned (first_glyph, glyph_stride); - first_advance = &StructAtOffsetUnaligned (first_advance, advance_stride); - } -} - -#ifndef HB_NO_VERTICAL -static void -hb_ot_get_glyph_v_advances (hb_font_t* font, void* font_data, - unsigned count, - const hb_codepoint_t *first_glyph, - unsigned glyph_stride, - hb_position_t *first_advance, - unsigned advance_stride, - void *user_data HB_UNUSED) -{ - const hb_ot_face_t *ot_face = (const hb_ot_face_t *) font_data; - const OT::vmtx_accelerator_t &vmtx = *ot_face->vmtx; - - for (unsigned int i = 0; i < count; i++) - { - *first_advance = font->em_scale_y (-(int) vmtx.get_advance (*first_glyph, font)); - first_glyph = &StructAtOffsetUnaligned (first_glyph, glyph_stride); - first_advance = &StructAtOffsetUnaligned (first_advance, advance_stride); - } -} -#endif - -#ifndef HB_NO_VERTICAL -static hb_bool_t -hb_ot_get_glyph_v_origin (hb_font_t *font, - void *font_data, - hb_codepoint_t glyph, - hb_position_t *x, - hb_position_t *y, - void *user_data HB_UNUSED) -{ - const hb_ot_face_t *ot_face = (const hb_ot_face_t *) font_data; - - *x = font->get_glyph_h_advance (glyph) / 2; - - const OT::VORG &VORG = *ot_face->VORG; - if (VORG.has_data ()) - { - *y = font->em_scale_y (VORG.get_y_origin (glyph)); - return true; - } - - hb_glyph_extents_t extents = {0}; - if (ot_face->glyf->get_extents (font, glyph, &extents)) - { - const OT::vmtx_accelerator_t &vmtx = *ot_face->vmtx; - hb_position_t tsb = vmtx.get_side_bearing (font, glyph); - *y = extents.y_bearing + font->em_scale_y (tsb); - return true; - } - - hb_font_extents_t font_extents; - font->get_h_extents_with_fallback (&font_extents); - *y = font_extents.ascender; - - return true; -} -#endif - -static hb_bool_t -hb_ot_get_glyph_extents (hb_font_t *font, - void *font_data, - hb_codepoint_t glyph, - hb_glyph_extents_t *extents, - void *user_data HB_UNUSED) -{ - const hb_ot_face_t *ot_face = (const hb_ot_face_t *) font_data; - -#if !defined(HB_NO_OT_FONT_BITMAP) && !defined(HB_NO_COLOR) - if (ot_face->sbix->get_extents (font, glyph, extents)) return true; -#endif - if (ot_face->glyf->get_extents (font, glyph, extents)) return true; -#ifndef HB_NO_OT_FONT_CFF - if (ot_face->cff1->get_extents (font, glyph, extents)) return true; - if (ot_face->cff2->get_extents (font, glyph, extents)) return true; -#endif -#if !defined(HB_NO_OT_FONT_BITMAP) && !defined(HB_NO_COLOR) - if (ot_face->CBDT->get_extents (font, glyph, extents)) return true; -#endif - - // TODO Hook up side-bearings variations. - return false; -} - -#ifndef HB_NO_OT_FONT_GLYPH_NAMES -static hb_bool_t -hb_ot_get_glyph_name (hb_font_t *font HB_UNUSED, - void *font_data, - hb_codepoint_t glyph, - char *name, unsigned int size, - void *user_data HB_UNUSED) -{ - const hb_ot_face_t *ot_face = (const hb_ot_face_t *) font_data; - if (ot_face->post->get_glyph_name (glyph, name, size)) return true; -#ifndef HB_NO_OT_FONT_CFF - if (ot_face->cff1->get_glyph_name (glyph, name, size)) return true; -#endif - return false; -} -static hb_bool_t -hb_ot_get_glyph_from_name (hb_font_t *font HB_UNUSED, - void *font_data, - const char *name, int len, - hb_codepoint_t *glyph, - void *user_data HB_UNUSED) -{ - const hb_ot_face_t *ot_face = (const hb_ot_face_t *) font_data; - if (ot_face->post->get_glyph_from_name (name, len, glyph)) return true; -#ifndef HB_NO_OT_FONT_CFF - if (ot_face->cff1->get_glyph_from_name (name, len, glyph)) return true; -#endif - return false; -} -#endif - -static hb_bool_t -hb_ot_get_font_h_extents (hb_font_t *font, - void *font_data HB_UNUSED, - hb_font_extents_t *metrics, - void *user_data HB_UNUSED) -{ - return _hb_ot_metrics_get_position_common (font, HB_OT_METRICS_TAG_HORIZONTAL_ASCENDER, &metrics->ascender) && - _hb_ot_metrics_get_position_common (font, HB_OT_METRICS_TAG_HORIZONTAL_DESCENDER, &metrics->descender) && - _hb_ot_metrics_get_position_common (font, HB_OT_METRICS_TAG_HORIZONTAL_LINE_GAP, &metrics->line_gap); -} - -#ifndef HB_NO_VERTICAL -static hb_bool_t -hb_ot_get_font_v_extents (hb_font_t *font, - void *font_data HB_UNUSED, - hb_font_extents_t *metrics, - void *user_data HB_UNUSED) -{ - return _hb_ot_metrics_get_position_common (font, HB_OT_METRICS_TAG_VERTICAL_ASCENDER, &metrics->ascender) && - _hb_ot_metrics_get_position_common (font, HB_OT_METRICS_TAG_VERTICAL_DESCENDER, &metrics->descender) && - _hb_ot_metrics_get_position_common (font, HB_OT_METRICS_TAG_VERTICAL_LINE_GAP, &metrics->line_gap); -} -#endif - -static inline void free_static_ot_funcs (); - -static struct hb_ot_font_funcs_lazy_loader_t : hb_font_funcs_lazy_loader_t -{ - static hb_font_funcs_t *create () - { - hb_font_funcs_t *funcs = hb_font_funcs_create (); - - hb_font_funcs_set_nominal_glyph_func (funcs, hb_ot_get_nominal_glyph, nullptr, nullptr); - hb_font_funcs_set_nominal_glyphs_func (funcs, hb_ot_get_nominal_glyphs, nullptr, nullptr); - hb_font_funcs_set_variation_glyph_func (funcs, hb_ot_get_variation_glyph, nullptr, nullptr); - - hb_font_funcs_set_font_h_extents_func (funcs, hb_ot_get_font_h_extents, nullptr, nullptr); - hb_font_funcs_set_glyph_h_advances_func (funcs, hb_ot_get_glyph_h_advances, nullptr, nullptr); - //hb_font_funcs_set_glyph_h_origin_func (funcs, hb_ot_get_glyph_h_origin, nullptr, nullptr); - -#ifndef HB_NO_VERTICAL - hb_font_funcs_set_font_v_extents_func (funcs, hb_ot_get_font_v_extents, nullptr, nullptr); - hb_font_funcs_set_glyph_v_advances_func (funcs, hb_ot_get_glyph_v_advances, nullptr, nullptr); - hb_font_funcs_set_glyph_v_origin_func (funcs, hb_ot_get_glyph_v_origin, nullptr, nullptr); -#endif - - hb_font_funcs_set_glyph_extents_func (funcs, hb_ot_get_glyph_extents, nullptr, nullptr); - //hb_font_funcs_set_glyph_contour_point_func (funcs, hb_ot_get_glyph_contour_point, nullptr, nullptr); - -#ifndef HB_NO_OT_FONT_GLYPH_NAMES - hb_font_funcs_set_glyph_name_func (funcs, hb_ot_get_glyph_name, nullptr, nullptr); - hb_font_funcs_set_glyph_from_name_func (funcs, hb_ot_get_glyph_from_name, nullptr, nullptr); -#endif - - hb_font_funcs_make_immutable (funcs); - - hb_atexit (free_static_ot_funcs); - - return funcs; - } -} static_ot_funcs; - -static inline -void free_static_ot_funcs () -{ - static_ot_funcs.free_instance (); -} - -static hb_font_funcs_t * -_hb_ot_get_font_funcs () -{ - return static_ot_funcs.get_unconst (); -} - - -/** - * hb_ot_font_set_funcs: - * @font: #hb_font_t to work upon - * - * Sets the font functions to use when working with @font. - * - * Since: 0.9.28 - **/ -void -hb_ot_font_set_funcs (hb_font_t *font) -{ - hb_font_set_funcs (font, - _hb_ot_get_font_funcs (), - &font->face->table, - nullptr); -} - -#ifndef HB_NO_VAR -int -_glyf_get_side_bearing_var (hb_font_t *font, hb_codepoint_t glyph, bool is_vertical) -{ - return font->face->table.glyf->get_side_bearing_var (font, glyph, is_vertical); -} - -unsigned -_glyf_get_advance_var (hb_font_t *font, hb_codepoint_t glyph, bool is_vertical) -{ - return font->face->table.glyf->get_advance_var (font, glyph, is_vertical); -} -#endif - - -#endif diff --git a/harfbuzz/src/hb-ot-font.h b/harfbuzz/src/hb-ot-font.h deleted file mode 100644 index e7959d1..0000000 --- a/harfbuzz/src/hb-ot-font.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright © 2014 Google, Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Google Author(s): Behdad Esfahbod, Roozbeh Pournader - */ - -#if !defined(HB_OT_H_IN) && !defined(HB_NO_SINGLE_HEADER_ERROR) -#error "Include instead." -#endif - -#ifndef HB_OT_FONT_H -#define HB_OT_FONT_H - -#include "hb.h" - -HB_BEGIN_DECLS - - -HB_EXTERN void -hb_ot_font_set_funcs (hb_font_t *font); - - -HB_END_DECLS - -#endif /* HB_OT_FONT_H */ diff --git a/harfbuzz/src/hb-ot-gasp-table.hh b/harfbuzz/src/hb-ot-gasp-table.hh deleted file mode 100644 index f2a9cad..0000000 --- a/harfbuzz/src/hb-ot-gasp-table.hh +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright © 2018 Ebrahim Byagowi - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - */ - -#ifndef HB_OT_GASP_TABLE_HH -#define HB_OT_GASP_TABLE_HH - -#include "hb-open-type.hh" -#include "hb-ot-hhea-table.hh" -#include "hb-ot-os2-table.hh" -#include "hb-ot-var-hvar-table.hh" - -/* - * gasp -- Grid-fitting and Scan-conversion Procedure - * https://docs.microsoft.com/en-us/typography/opentype/spec/gasp - */ -#define HB_OT_TAG_gasp HB_TAG('g','a','s','p') - - -namespace OT { - -struct GaspRange -{ - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this)); - } - - public: - HBUINT16 rangeMaxPPEM; /* Upper limit of range, in PPEM */ - HBUINT16 rangeGaspBehavior; - /* Flags describing desired rasterizer behavior. */ - public: - DEFINE_SIZE_STATIC (4); -}; - -struct gasp -{ - static constexpr hb_tag_t tableTag = HB_OT_TAG_gasp; - - const GaspRange &get_gasp_range (unsigned int i) const - { return gaspRanges[i]; } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this) && - gaspRanges.sanitize (c)); - } - - protected: - HBUINT16 version; /* Version number (set to 1) */ - Array16Of - gaspRanges; /* Number of records to follow - * Sorted by ppem */ - public: - DEFINE_SIZE_ARRAY (4, gaspRanges); -}; - -} /* namespace OT */ - - -#endif /* HB_OT_GASP_TABLE_HH */ diff --git a/harfbuzz/src/hb-ot-glyf-table.hh b/harfbuzz/src/hb-ot-glyf-table.hh deleted file mode 100644 index 6aa3429..0000000 --- a/harfbuzz/src/hb-ot-glyf-table.hh +++ /dev/null @@ -1,1366 +0,0 @@ -/* - * Copyright © 2015 Google, Inc. - * Copyright © 2019 Adobe Inc. - * Copyright © 2019 Ebrahim Byagowi - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Google Author(s): Behdad Esfahbod, Garret Rieger, Roderick Sheeter - * Adobe Author(s): Michiharu Ariza - */ - -#ifndef HB_OT_GLYF_TABLE_HH -#define HB_OT_GLYF_TABLE_HH - -#include "hb-open-type.hh" -#include "hb-ot-head-table.hh" -#include "hb-ot-hmtx-table.hh" -#include "hb-ot-var-gvar-table.hh" -#include "hb-draw.hh" - -namespace OT { - - -/* - * loca -- Index to Location - * https://docs.microsoft.com/en-us/typography/opentype/spec/loca - */ -#define HB_OT_TAG_loca HB_TAG('l','o','c','a') - -#ifndef HB_MAX_COMPOSITE_OPERATIONS -#define HB_MAX_COMPOSITE_OPERATIONS 100000 -#endif - - -struct loca -{ - friend struct glyf; - - static constexpr hb_tag_t tableTag = HB_OT_TAG_loca; - - bool sanitize (hb_sanitize_context_t *c HB_UNUSED) const - { - TRACE_SANITIZE (this); - return_trace (true); - } - - protected: - UnsizedArrayOf - dataZ; /* Location data. */ - public: - DEFINE_SIZE_MIN (0); /* In reality, this is UNBOUNDED() type; but since we always - * check the size externally, allow Null() object of it by - * defining it _MIN instead. */ -}; - - -/* - * glyf -- TrueType Glyph Data - * https://docs.microsoft.com/en-us/typography/opentype/spec/glyf - */ -#define HB_OT_TAG_glyf HB_TAG('g','l','y','f') - - -struct glyf -{ - static constexpr hb_tag_t tableTag = HB_OT_TAG_glyf; - - bool sanitize (hb_sanitize_context_t *c HB_UNUSED) const - { - TRACE_SANITIZE (this); - /* Runtime checks as eager sanitizing each glyph is costy */ - return_trace (true); - } - - template - static bool - _add_loca_and_head (hb_subset_plan_t * plan, Iterator padded_offsets, bool use_short_loca) - { - unsigned num_offsets = padded_offsets.len () + 1; - unsigned entry_size = use_short_loca ? 2 : 4; - char *loca_prime_data = (char *) hb_calloc (entry_size, num_offsets); - - if (unlikely (!loca_prime_data)) return false; - - DEBUG_MSG (SUBSET, nullptr, "loca entry_size %d num_offsets %d size %d", - entry_size, num_offsets, entry_size * num_offsets); - - if (use_short_loca) - _write_loca (padded_offsets, 1, hb_array ((HBUINT16 *) loca_prime_data, num_offsets)); - else - _write_loca (padded_offsets, 0, hb_array ((HBUINT32 *) loca_prime_data, num_offsets)); - - hb_blob_t *loca_blob = hb_blob_create (loca_prime_data, - entry_size * num_offsets, - HB_MEMORY_MODE_WRITABLE, - loca_prime_data, - hb_free); - - bool result = plan->add_table (HB_OT_TAG_loca, loca_blob) - && _add_head_and_set_loca_version (plan, use_short_loca); - - hb_blob_destroy (loca_blob); - return result; - } - - template - static void - _write_loca (IteratorIn it, unsigned right_shift, IteratorOut dest) - { - unsigned int offset = 0; - dest << 0; - + it - | hb_map ([=, &offset] (unsigned int padded_size) - { - offset += padded_size; - DEBUG_MSG (SUBSET, nullptr, "loca entry offset %d", offset); - return offset >> right_shift; - }) - | hb_sink (dest) - ; - } - - /* requires source of SubsetGlyph complains the identifier isn't declared */ - template - bool serialize (hb_serialize_context_t *c, - Iterator it, - bool use_short_loca, - const hb_subset_plan_t *plan) - { - TRACE_SERIALIZE (this); - unsigned init_len = c->length (); - for (const auto &_ : it) _.serialize (c, use_short_loca, plan); - - /* As a special case when all glyph in the font are empty, add a zero byte - * to the table, so that OTS doesn’t reject it, and to make the table work - * on Windows as well. - * See https://github.com/khaledhosny/ots/issues/52 */ - if (init_len == c->length ()) - { - HBUINT8 empty_byte; - empty_byte = 0; - c->copy (empty_byte); - } - return_trace (true); - } - - /* Byte region(s) per glyph to output - unpadded, hints removed if so requested - If we fail to process a glyph we produce an empty (0-length) glyph */ - bool subset (hb_subset_context_t *c) const - { - TRACE_SUBSET (this); - - glyf *glyf_prime = c->serializer->start_embed (); - if (unlikely (!c->serializer->check_success (glyf_prime))) return_trace (false); - - hb_vector_t glyphs; - _populate_subset_glyphs (c->plan, &glyphs); - - auto padded_offsets = - + hb_iter (glyphs) - | hb_map (&SubsetGlyph::padded_size) - ; - - unsigned max_offset = + padded_offsets | hb_reduce (hb_add, 0); - bool use_short_loca = max_offset < 0x1FFFF; - - - glyf_prime->serialize (c->serializer, hb_iter (glyphs), use_short_loca, c->plan); - if (!use_short_loca) { - padded_offsets = - + hb_iter (glyphs) - | hb_map (&SubsetGlyph::length) - ; - } - - - if (unlikely (c->serializer->in_error ())) return_trace (false); - return_trace (c->serializer->check_success (_add_loca_and_head (c->plan, - padded_offsets, - use_short_loca))); - } - - template - void - _populate_subset_glyphs (const hb_subset_plan_t *plan, - hb_vector_t *glyphs /* OUT */) const - { - OT::glyf::accelerator_t glyf; - glyf.init (plan->source); - - + hb_range (plan->num_output_glyphs ()) - | hb_map ([&] (hb_codepoint_t new_gid) - { - SubsetGlyph subset_glyph = {0}; - subset_glyph.new_gid = new_gid; - - /* should never fail: all old gids should be mapped */ - if (!plan->old_gid_for_new_gid (new_gid, &subset_glyph.old_gid)) - return subset_glyph; - - if (new_gid == 0 && - !(plan->flags & HB_SUBSET_FLAGS_NOTDEF_OUTLINE)) - subset_glyph.source_glyph = Glyph (); - else - subset_glyph.source_glyph = glyf.glyph_for_gid (subset_glyph.old_gid, true); - if (plan->flags & HB_SUBSET_FLAGS_NO_HINTING) - subset_glyph.drop_hints_bytes (); - else - subset_glyph.dest_start = subset_glyph.source_glyph.get_bytes (); - return subset_glyph; - }) - | hb_sink (glyphs) - ; - - glyf.fini (); - } - - static bool - _add_head_and_set_loca_version (hb_subset_plan_t *plan, bool use_short_loca) - { - hb_blob_t *head_blob = hb_sanitize_context_t ().reference_table (plan->source); - hb_blob_t *head_prime_blob = hb_blob_copy_writable_or_fail (head_blob); - hb_blob_destroy (head_blob); - - if (unlikely (!head_prime_blob)) - return false; - - head *head_prime = (head *) hb_blob_get_data_writable (head_prime_blob, nullptr); - head_prime->indexToLocFormat = use_short_loca ? 0 : 1; - bool success = plan->add_table (HB_OT_TAG_head, head_prime_blob); - - hb_blob_destroy (head_prime_blob); - return success; - } - - struct CompositeGlyphChain - { - protected: - enum composite_glyph_flag_t - { - ARG_1_AND_2_ARE_WORDS = 0x0001, - ARGS_ARE_XY_VALUES = 0x0002, - ROUND_XY_TO_GRID = 0x0004, - WE_HAVE_A_SCALE = 0x0008, - MORE_COMPONENTS = 0x0020, - WE_HAVE_AN_X_AND_Y_SCALE = 0x0040, - WE_HAVE_A_TWO_BY_TWO = 0x0080, - WE_HAVE_INSTRUCTIONS = 0x0100, - USE_MY_METRICS = 0x0200, - OVERLAP_COMPOUND = 0x0400, - SCALED_COMPONENT_OFFSET = 0x0800, - UNSCALED_COMPONENT_OFFSET = 0x1000 - }; - - public: - unsigned int get_size () const - { - unsigned int size = min_size; - /* arg1 and 2 are int16 */ - if (flags & ARG_1_AND_2_ARE_WORDS) size += 4; - /* arg1 and 2 are int8 */ - else size += 2; - - /* One x 16 bit (scale) */ - if (flags & WE_HAVE_A_SCALE) size += 2; - /* Two x 16 bit (xscale, yscale) */ - else if (flags & WE_HAVE_AN_X_AND_Y_SCALE) size += 4; - /* Four x 16 bit (xscale, scale01, scale10, yscale) */ - else if (flags & WE_HAVE_A_TWO_BY_TWO) size += 8; - - return size; - } - - void set_glyph_index (hb_codepoint_t new_gid) { glyphIndex = new_gid; } - hb_codepoint_t get_glyph_index () const { return glyphIndex; } - - void drop_instructions_flag () { flags = (uint16_t) flags & ~WE_HAVE_INSTRUCTIONS; } - void set_overlaps_flag () - { - flags = (uint16_t) flags | OVERLAP_COMPOUND; - } - - bool has_instructions () const { return flags & WE_HAVE_INSTRUCTIONS; } - - bool has_more () const { return flags & MORE_COMPONENTS; } - bool is_use_my_metrics () const { return flags & USE_MY_METRICS; } - bool is_anchored () const { return !(flags & ARGS_ARE_XY_VALUES); } - void get_anchor_points (unsigned int &point1, unsigned int &point2) const - { - const HBUINT8 *p = &StructAfter (glyphIndex); - if (flags & ARG_1_AND_2_ARE_WORDS) - { - point1 = ((const HBUINT16 *) p)[0]; - point2 = ((const HBUINT16 *) p)[1]; - } - else - { - point1 = p[0]; - point2 = p[1]; - } - } - - void transform_points (contour_point_vector_t &points) const - { - float matrix[4]; - contour_point_t trans; - if (get_transformation (matrix, trans)) - { - if (scaled_offsets ()) - { - points.translate (trans); - points.transform (matrix); - } - else - { - points.transform (matrix); - points.translate (trans); - } - } - } - - protected: - bool scaled_offsets () const - { return (flags & (SCALED_COMPONENT_OFFSET | UNSCALED_COMPONENT_OFFSET)) == SCALED_COMPONENT_OFFSET; } - - bool get_transformation (float (&matrix)[4], contour_point_t &trans) const - { - matrix[0] = matrix[3] = 1.f; - matrix[1] = matrix[2] = 0.f; - - int tx, ty; - const HBINT8 *p = &StructAfter (glyphIndex); - if (flags & ARG_1_AND_2_ARE_WORDS) - { - tx = *(const HBINT16 *) p; - p += HBINT16::static_size; - ty = *(const HBINT16 *) p; - p += HBINT16::static_size; - } - else - { - tx = *p++; - ty = *p++; - } - if (is_anchored ()) tx = ty = 0; - - trans.init ((float) tx, (float) ty); - - { - const F2DOT14 *points = (const F2DOT14 *) p; - if (flags & WE_HAVE_A_SCALE) - { - matrix[0] = matrix[3] = points[0].to_float (); - return true; - } - else if (flags & WE_HAVE_AN_X_AND_Y_SCALE) - { - matrix[0] = points[0].to_float (); - matrix[3] = points[1].to_float (); - return true; - } - else if (flags & WE_HAVE_A_TWO_BY_TWO) - { - matrix[0] = points[0].to_float (); - matrix[1] = points[1].to_float (); - matrix[2] = points[2].to_float (); - matrix[3] = points[3].to_float (); - return true; - } - } - return tx || ty; - } - - protected: - HBUINT16 flags; - HBGlyphID16 glyphIndex; - public: - DEFINE_SIZE_MIN (4); - }; - - struct composite_iter_t : hb_iter_with_fallback_t - { - typedef const CompositeGlyphChain *__item_t__; - composite_iter_t (hb_bytes_t glyph_, __item_t__ current_) : - glyph (glyph_), current (nullptr), current_size (0) - { - set_next (current_); - } - - composite_iter_t () : glyph (hb_bytes_t ()), current (nullptr), current_size (0) {} - - const CompositeGlyphChain &__item__ () const { return *current; } - bool __more__ () const { return current; } - void __next__ () - { - if (!current->has_more ()) { current = nullptr; return; } - - set_next (&StructAtOffset (current, current_size)); - } - bool operator != (const composite_iter_t& o) const - { return glyph != o.glyph || current != o.current; } - - - void set_next (const CompositeGlyphChain *composite) - { - if (!glyph.check_range (composite, CompositeGlyphChain::min_size)) - { - current = nullptr; - current_size = 0; - return; - } - unsigned size = composite->get_size (); - if (!glyph.check_range (composite, size)) - { - current = nullptr; - current_size = 0; - return; - } - - current = composite; - current_size = size; - } - - private: - hb_bytes_t glyph; - __item_t__ current; - unsigned current_size; - }; - - enum phantom_point_index_t - { - PHANTOM_LEFT = 0, - PHANTOM_RIGHT = 1, - PHANTOM_TOP = 2, - PHANTOM_BOTTOM = 3, - PHANTOM_COUNT = 4 - }; - - struct accelerator_t; - - struct Glyph - { - enum simple_glyph_flag_t - { - FLAG_ON_CURVE = 0x01, - FLAG_X_SHORT = 0x02, - FLAG_Y_SHORT = 0x04, - FLAG_REPEAT = 0x08, - FLAG_X_SAME = 0x10, - FLAG_Y_SAME = 0x20, - FLAG_OVERLAP_SIMPLE = 0x40, - FLAG_RESERVED2 = 0x80 - }; - - private: - struct GlyphHeader - { - bool has_data () const { return numberOfContours; } - - bool get_extents (hb_font_t *font, const accelerator_t &glyf_accelerator, - hb_codepoint_t gid, hb_glyph_extents_t *extents) const - { - /* Undocumented rasterizer behavior: shift glyph to the left by (lsb - xMin), i.e., xMin = lsb */ - /* extents->x_bearing = hb_min (glyph_header.xMin, glyph_header.xMax); */ - extents->x_bearing = font->em_scale_x (glyf_accelerator.hmtx->get_side_bearing (gid)); - extents->y_bearing = font->em_scale_y (hb_max (yMin, yMax)); - extents->width = font->em_scale_x (hb_max (xMin, xMax) - hb_min (xMin, xMax)); - extents->height = font->em_scale_y (hb_min (yMin, yMax) - hb_max (yMin, yMax)); - - return true; - } - - HBINT16 numberOfContours; - /* If the number of contours is - * greater than or equal to zero, - * this is a simple glyph; if negative, - * this is a composite glyph. */ - FWORD xMin; /* Minimum x for coordinate data. */ - FWORD yMin; /* Minimum y for coordinate data. */ - FWORD xMax; /* Maximum x for coordinate data. */ - FWORD yMax; /* Maximum y for coordinate data. */ - public: - DEFINE_SIZE_STATIC (10); - }; - - struct SimpleGlyph - { - const GlyphHeader &header; - hb_bytes_t bytes; - SimpleGlyph (const GlyphHeader &header_, hb_bytes_t bytes_) : - header (header_), bytes (bytes_) {} - - unsigned int instruction_len_offset () const - { return GlyphHeader::static_size + 2 * header.numberOfContours; } - - unsigned int length (unsigned int instruction_len) const - { return instruction_len_offset () + 2 + instruction_len; } - - unsigned int instructions_length () const - { - unsigned int instruction_length_offset = instruction_len_offset (); - if (unlikely (instruction_length_offset + 2 > bytes.length)) return 0; - - const HBUINT16 &instructionLength = StructAtOffset (&bytes, instruction_length_offset); - /* Out of bounds of the current glyph */ - if (unlikely (length (instructionLength) > bytes.length)) return 0; - return instructionLength; - } - - const Glyph trim_padding () const - { - /* based on FontTools _g_l_y_f.py::trim */ - const uint8_t *glyph = (uint8_t*) bytes.arrayZ; - const uint8_t *glyph_end = glyph + bytes.length; - /* simple glyph w/contours, possibly trimmable */ - glyph += instruction_len_offset (); - - if (unlikely (glyph + 2 >= glyph_end)) return Glyph (); - unsigned int num_coordinates = StructAtOffset (glyph - 2, 0) + 1; - unsigned int num_instructions = StructAtOffset (glyph, 0); - - glyph += 2 + num_instructions; - - unsigned int coord_bytes = 0; - unsigned int coords_with_flags = 0; - while (glyph < glyph_end) - { - uint8_t flag = *glyph; - glyph++; - - unsigned int repeat = 1; - if (flag & FLAG_REPEAT) - { - if (unlikely (glyph >= glyph_end)) return Glyph (); - repeat = *glyph + 1; - glyph++; - } - - unsigned int xBytes, yBytes; - xBytes = yBytes = 0; - if (flag & FLAG_X_SHORT) xBytes = 1; - else if ((flag & FLAG_X_SAME) == 0) xBytes = 2; - - if (flag & FLAG_Y_SHORT) yBytes = 1; - else if ((flag & FLAG_Y_SAME) == 0) yBytes = 2; - - coord_bytes += (xBytes + yBytes) * repeat; - coords_with_flags += repeat; - if (coords_with_flags >= num_coordinates) break; - } - - if (unlikely (coords_with_flags != num_coordinates)) return Glyph (); - return Glyph (bytes.sub_array (0, bytes.length + coord_bytes - (glyph_end - glyph))); - } - - /* zero instruction length */ - void drop_hints () - { - GlyphHeader &glyph_header = const_cast (header); - (HBUINT16 &) StructAtOffset (&glyph_header, instruction_len_offset ()) = 0; - } - - void drop_hints_bytes (hb_bytes_t &dest_start, hb_bytes_t &dest_end) const - { - unsigned int instructions_len = instructions_length (); - unsigned int glyph_length = length (instructions_len); - dest_start = bytes.sub_array (0, glyph_length - instructions_len); - dest_end = bytes.sub_array (glyph_length, bytes.length - glyph_length); - } - - void set_overlaps_flag () - { - if (unlikely (!header.numberOfContours)) return; - - unsigned flags_offset = length (instructions_length ()); - if (unlikely (length (flags_offset + 1) > bytes.length)) return; - - HBUINT8 &first_flag = (HBUINT8 &) StructAtOffset (&bytes, flags_offset); - first_flag = (uint8_t) first_flag | FLAG_OVERLAP_SIMPLE; - } - - static bool read_points (const HBUINT8 *&p /* IN/OUT */, - contour_point_vector_t &points_ /* IN/OUT */, - const hb_bytes_t &bytes, - void (* setter) (contour_point_t &_, float v), - const simple_glyph_flag_t short_flag, - const simple_glyph_flag_t same_flag) - { - float v = 0; - for (unsigned i = 0; i < points_.length; i++) - { - uint8_t flag = points_[i].flag; - if (flag & short_flag) - { - if (unlikely (!bytes.check_range (p))) return false; - if (flag & same_flag) - v += *p++; - else - v -= *p++; - } - else - { - if (!(flag & same_flag)) - { - if (unlikely (!bytes.check_range ((const HBUINT16 *) p))) return false; - v += *(const HBINT16 *) p; - p += HBINT16::static_size; - } - } - setter (points_[i], v); - } - return true; - } - - bool get_contour_points (contour_point_vector_t &points_ /* OUT */, - bool phantom_only = false) const - { - const HBUINT16 *endPtsOfContours = &StructAfter (header); - int num_contours = header.numberOfContours; - if (unlikely (!bytes.check_range (&endPtsOfContours[num_contours + 1]))) return false; - unsigned int num_points = endPtsOfContours[num_contours - 1] + 1; - - points_.resize (num_points); - for (unsigned int i = 0; i < points_.length; i++) points_[i].init (); - if (phantom_only) return true; - - for (int i = 0; i < num_contours; i++) - points_[endPtsOfContours[i]].is_end_point = true; - - /* Skip instructions */ - const HBUINT8 *p = &StructAtOffset (&endPtsOfContours[num_contours + 1], - endPtsOfContours[num_contours]); - - /* Read flags */ - for (unsigned int i = 0; i < num_points; i++) - { - if (unlikely (!bytes.check_range (p))) return false; - uint8_t flag = *p++; - points_[i].flag = flag; - if (flag & FLAG_REPEAT) - { - if (unlikely (!bytes.check_range (p))) return false; - unsigned int repeat_count = *p++; - while ((repeat_count-- > 0) && (++i < num_points)) - points_[i].flag = flag; - } - } - - /* Read x & y coordinates */ - return read_points (p, points_, bytes, [] (contour_point_t &p, float v) { p.x = v; }, - FLAG_X_SHORT, FLAG_X_SAME) - && read_points (p, points_, bytes, [] (contour_point_t &p, float v) { p.y = v; }, - FLAG_Y_SHORT, FLAG_Y_SAME); - } - }; - - struct CompositeGlyph - { - const GlyphHeader &header; - hb_bytes_t bytes; - CompositeGlyph (const GlyphHeader &header_, hb_bytes_t bytes_) : - header (header_), bytes (bytes_) {} - - composite_iter_t get_iterator () const - { return composite_iter_t (bytes, &StructAfter (header)); } - - unsigned int instructions_length (hb_bytes_t bytes) const - { - unsigned int start = bytes.length; - unsigned int end = bytes.length; - const CompositeGlyphChain *last = nullptr; - for (auto &item : get_iterator ()) - last = &item; - if (unlikely (!last)) return 0; - - if (last->has_instructions ()) - start = (char *) last - &bytes + last->get_size (); - if (unlikely (start > end)) return 0; - return end - start; - } - - /* Trimming for composites not implemented. - * If removing hints it falls out of that. */ - const Glyph trim_padding () const { return Glyph (bytes); } - - void drop_hints () - { - for (const auto &_ : get_iterator ()) - const_cast (_).drop_instructions_flag (); - } - - /* Chop instructions off the end */ - void drop_hints_bytes (hb_bytes_t &dest_start) const - { dest_start = bytes.sub_array (0, bytes.length - instructions_length (bytes)); } - - void set_overlaps_flag () - { - const_cast (StructAfter (header)) - .set_overlaps_flag (); - } - }; - - enum glyph_type_t { EMPTY, SIMPLE, COMPOSITE }; - - public: - composite_iter_t get_composite_iterator () const - { - if (type != COMPOSITE) return composite_iter_t (); - return CompositeGlyph (*header, bytes).get_iterator (); - } - - const Glyph trim_padding () const - { - switch (type) { - case COMPOSITE: return CompositeGlyph (*header, bytes).trim_padding (); - case SIMPLE: return SimpleGlyph (*header, bytes).trim_padding (); - default: return bytes; - } - } - - void drop_hints () - { - switch (type) { - case COMPOSITE: CompositeGlyph (*header, bytes).drop_hints (); return; - case SIMPLE: SimpleGlyph (*header, bytes).drop_hints (); return; - default: return; - } - } - - void set_overlaps_flag () - { - switch (type) { - case COMPOSITE: CompositeGlyph (*header, bytes).set_overlaps_flag (); return; - case SIMPLE: SimpleGlyph (*header, bytes).set_overlaps_flag (); return; - default: return; - } - } - - void drop_hints_bytes (hb_bytes_t &dest_start, hb_bytes_t &dest_end) const - { - switch (type) { - case COMPOSITE: CompositeGlyph (*header, bytes).drop_hints_bytes (dest_start); return; - case SIMPLE: SimpleGlyph (*header, bytes).drop_hints_bytes (dest_start, dest_end); return; - default: return; - } - } - - /* Note: Recursively calls itself. - * all_points includes phantom points - */ - bool get_points (hb_font_t *font, const accelerator_t &glyf_accelerator, - contour_point_vector_t &all_points /* OUT */, - bool phantom_only = false, - unsigned int depth = 0) const - { - if (unlikely (depth > HB_MAX_NESTING_LEVEL)) return false; - contour_point_vector_t points; - - switch (type) { - case COMPOSITE: - { - /* pseudo component points for each component in composite glyph */ - unsigned num_points = hb_len (CompositeGlyph (*header, bytes).get_iterator ()); - if (unlikely (!points.resize (num_points))) return false; - for (unsigned i = 0; i < points.length; i++) - points[i].init (); - break; - } - case SIMPLE: - if (unlikely (!SimpleGlyph (*header, bytes).get_contour_points (points, phantom_only))) - return false; - break; - } - - /* Init phantom points */ - if (unlikely (!points.resize (points.length + PHANTOM_COUNT))) return false; - hb_array_t phantoms = points.sub_array (points.length - PHANTOM_COUNT, PHANTOM_COUNT); - { - for (unsigned i = 0; i < PHANTOM_COUNT; ++i) phantoms[i].init (); - int h_delta = (int) header->xMin - - glyf_accelerator.hmtx->get_side_bearing (gid); - int v_orig = (int) header->yMax + -#ifndef HB_NO_VERTICAL - glyf_accelerator.vmtx->get_side_bearing (gid) -#else - 0 -#endif - ; - unsigned h_adv = glyf_accelerator.hmtx->get_advance (gid); - unsigned v_adv = -#ifndef HB_NO_VERTICAL - glyf_accelerator.vmtx->get_advance (gid) -#else - - font->face->get_upem () -#endif - ; - phantoms[PHANTOM_LEFT].x = h_delta; - phantoms[PHANTOM_RIGHT].x = h_adv + h_delta; - phantoms[PHANTOM_TOP].y = v_orig; - phantoms[PHANTOM_BOTTOM].y = v_orig - (int) v_adv; - } - -#ifndef HB_NO_VAR - if (unlikely (!glyf_accelerator.gvar->apply_deltas_to_points (gid, font, points.as_array ()))) - return false; -#endif - - switch (type) { - case SIMPLE: - all_points.extend (points.as_array ()); - break; - case COMPOSITE: - { - unsigned int comp_index = 0; - for (auto &item : get_composite_iterator ()) - { - contour_point_vector_t comp_points; - if (unlikely (!glyf_accelerator.glyph_for_gid (item.get_glyph_index ()) - .get_points (font, glyf_accelerator, comp_points, - phantom_only, depth + 1) - || comp_points.length < PHANTOM_COUNT)) - return false; - - /* Copy phantom points from component if USE_MY_METRICS flag set */ - if (item.is_use_my_metrics ()) - for (unsigned int i = 0; i < PHANTOM_COUNT; i++) - phantoms[i] = comp_points[comp_points.length - PHANTOM_COUNT + i]; - - /* Apply component transformation & translation */ - item.transform_points (comp_points); - - /* Apply translation from gvar */ - comp_points.translate (points[comp_index]); - - if (item.is_anchored ()) - { - unsigned int p1, p2; - item.get_anchor_points (p1, p2); - if (likely (p1 < all_points.length && p2 < comp_points.length)) - { - contour_point_t delta; - delta.init (all_points[p1].x - comp_points[p2].x, - all_points[p1].y - comp_points[p2].y); - - comp_points.translate (delta); - } - } - - all_points.extend (comp_points.sub_array (0, comp_points.length - PHANTOM_COUNT)); - - comp_index++; - } - - all_points.extend (phantoms); - } break; - default: - all_points.extend (phantoms); - } - - if (depth == 0) /* Apply at top level */ - { - /* Undocumented rasterizer behavior: - * Shift points horizontally by the updated left side bearing - */ - contour_point_t delta; - delta.init (-phantoms[PHANTOM_LEFT].x, 0.f); - if (delta.x) all_points.translate (delta); - } - - return true; - } - - bool get_extents (hb_font_t *font, const accelerator_t &glyf_accelerator, - hb_glyph_extents_t *extents) const - { - if (type == EMPTY) return true; /* Empty glyph; zero extents. */ - return header->get_extents (font, glyf_accelerator, gid, extents); - } - - hb_bytes_t get_bytes () const { return bytes; } - - Glyph (hb_bytes_t bytes_ = hb_bytes_t (), - hb_codepoint_t gid_ = (hb_codepoint_t) -1) : bytes (bytes_), gid (gid_), - header (bytes.as ()) - { - int num_contours = header->numberOfContours; - if (unlikely (num_contours == 0)) type = EMPTY; - else if (num_contours > 0) type = SIMPLE; - else type = COMPOSITE; /* negative numbers */ - } - - protected: - hb_bytes_t bytes; - hb_codepoint_t gid; - const GlyphHeader *header; - unsigned type; - }; - - struct accelerator_t - { - void init (hb_face_t *face_) - { - short_offset = false; - num_glyphs = 0; - loca_table = nullptr; - glyf_table = nullptr; -#ifndef HB_NO_VAR - gvar = nullptr; -#endif - hmtx = nullptr; -#ifndef HB_NO_VERTICAL - vmtx = nullptr; -#endif - face = face_; - const OT::head &head = *face->table.head; - if (head.indexToLocFormat > 1 || head.glyphDataFormat > 0) - /* Unknown format. Leave num_glyphs=0, that takes care of disabling us. */ - return; - short_offset = 0 == head.indexToLocFormat; - - loca_table = hb_sanitize_context_t ().reference_table (face); - glyf_table = hb_sanitize_context_t ().reference_table (face); -#ifndef HB_NO_VAR - gvar = face->table.gvar; -#endif - hmtx = face->table.hmtx; -#ifndef HB_NO_VERTICAL - vmtx = face->table.vmtx; -#endif - - num_glyphs = hb_max (1u, loca_table.get_length () / (short_offset ? 2 : 4)) - 1; - num_glyphs = hb_min (num_glyphs, face->get_num_glyphs ()); - } - - void fini () - { - loca_table.destroy (); - glyf_table.destroy (); - } - - protected: - template - bool get_points (hb_font_t *font, hb_codepoint_t gid, T consumer) const - { - if (gid >= num_glyphs) return false; - - /* Making this allocfree is not that easy - https://github.com/harfbuzz/harfbuzz/issues/2095 - mostly because of gvar handling in VF fonts, - perhaps a separate path for non-VF fonts can be considered */ - contour_point_vector_t all_points; - - bool phantom_only = !consumer.is_consuming_contour_points (); - if (unlikely (!glyph_for_gid (gid).get_points (font, *this, all_points, phantom_only))) - return false; - - if (consumer.is_consuming_contour_points ()) - { - for (unsigned point_index = 0; point_index + 4 < all_points.length; ++point_index) - consumer.consume_point (all_points[point_index]); - consumer.points_end (); - } - - /* Where to write phantoms, nullptr if not requested */ - contour_point_t *phantoms = consumer.get_phantoms_sink (); - if (phantoms) - for (unsigned i = 0; i < PHANTOM_COUNT; ++i) - phantoms[i] = all_points[all_points.length - PHANTOM_COUNT + i]; - - return true; - } - -#ifndef HB_NO_VAR - struct points_aggregator_t - { - hb_font_t *font; - hb_glyph_extents_t *extents; - contour_point_t *phantoms; - - struct contour_bounds_t - { - contour_bounds_t () { min_x = min_y = FLT_MAX; max_x = max_y = -FLT_MAX; } - - void add (const contour_point_t &p) - { - min_x = hb_min (min_x, p.x); - min_y = hb_min (min_y, p.y); - max_x = hb_max (max_x, p.x); - max_y = hb_max (max_y, p.y); - } - - bool empty () const { return (min_x >= max_x) || (min_y >= max_y); } - - void get_extents (hb_font_t *font, hb_glyph_extents_t *extents) - { - if (unlikely (empty ())) - { - extents->width = 0; - extents->x_bearing = 0; - extents->height = 0; - extents->y_bearing = 0; - return; - } - extents->x_bearing = font->em_scalef_x (min_x); - extents->width = font->em_scalef_x (max_x) - extents->x_bearing; - extents->y_bearing = font->em_scalef_y (max_y); - extents->height = font->em_scalef_y (min_y) - extents->y_bearing; - } - - protected: - float min_x, min_y, max_x, max_y; - } bounds; - - points_aggregator_t (hb_font_t *font_, hb_glyph_extents_t *extents_, contour_point_t *phantoms_) - { - font = font_; - extents = extents_; - phantoms = phantoms_; - if (extents) bounds = contour_bounds_t (); - } - - void consume_point (const contour_point_t &point) { bounds.add (point); } - void points_end () { bounds.get_extents (font, extents); } - - bool is_consuming_contour_points () { return extents; } - contour_point_t *get_phantoms_sink () { return phantoms; } - }; - - public: - unsigned - get_advance_var (hb_font_t *font, hb_codepoint_t gid, bool is_vertical) const - { - if (unlikely (gid >= num_glyphs)) return 0; - - bool success = false; - - contour_point_t phantoms[PHANTOM_COUNT]; - if (likely (font->num_coords == gvar->get_axis_count ())) - success = get_points (font, gid, points_aggregator_t (font, nullptr, phantoms)); - - if (unlikely (!success)) - return -#ifndef HB_NO_VERTICAL - is_vertical ? vmtx->get_advance (gid) : -#endif - hmtx->get_advance (gid); - - float result = is_vertical - ? phantoms[PHANTOM_TOP].y - phantoms[PHANTOM_BOTTOM].y - : phantoms[PHANTOM_RIGHT].x - phantoms[PHANTOM_LEFT].x; - return hb_clamp (roundf (result), 0.f, (float) UINT_MAX / 2); - } - - int get_side_bearing_var (hb_font_t *font, hb_codepoint_t gid, bool is_vertical) const - { - if (unlikely (gid >= num_glyphs)) return 0; - - hb_glyph_extents_t extents; - - contour_point_t phantoms[PHANTOM_COUNT]; - if (unlikely (!get_points (font, gid, points_aggregator_t (font, &extents, phantoms)))) - return -#ifndef HB_NO_VERTICAL - is_vertical ? vmtx->get_side_bearing (gid) : -#endif - hmtx->get_side_bearing (gid); - - return is_vertical - ? ceilf (phantoms[PHANTOM_TOP].y) - extents.y_bearing - : floorf (phantoms[PHANTOM_LEFT].x); - } -#endif - - public: - bool get_extents (hb_font_t *font, hb_codepoint_t gid, hb_glyph_extents_t *extents) const - { - if (unlikely (gid >= num_glyphs)) return false; - -#ifndef HB_NO_VAR - if (font->num_coords && font->num_coords == gvar->get_axis_count ()) - return get_points (font, gid, points_aggregator_t (font, extents, nullptr)); -#endif - return glyph_for_gid (gid).get_extents (font, *this, extents); - } - - const Glyph - glyph_for_gid (hb_codepoint_t gid, bool needs_padding_removal = false) const - { - if (unlikely (gid >= num_glyphs)) return Glyph (); - - unsigned int start_offset, end_offset; - - if (short_offset) - { - const HBUINT16 *offsets = (const HBUINT16 *) loca_table->dataZ.arrayZ; - start_offset = 2 * offsets[gid]; - end_offset = 2 * offsets[gid + 1]; - } - else - { - const HBUINT32 *offsets = (const HBUINT32 *) loca_table->dataZ.arrayZ; - start_offset = offsets[gid]; - end_offset = offsets[gid + 1]; - } - - if (unlikely (start_offset > end_offset || end_offset > glyf_table.get_length ())) - return Glyph (); - - Glyph glyph (hb_bytes_t ((const char *) this->glyf_table + start_offset, - end_offset - start_offset), gid); - return needs_padding_removal ? glyph.trim_padding () : glyph; - } - - unsigned - add_gid_and_children (hb_codepoint_t gid, - hb_set_t *gids_to_retain, - unsigned depth = 0, - unsigned operation_count = 0) const - { - if (unlikely (depth++ > HB_MAX_NESTING_LEVEL)) return operation_count; - if (unlikely (operation_count++ > HB_MAX_COMPOSITE_OPERATIONS)) return operation_count; - /* Check if is already visited */ - if (gids_to_retain->has (gid)) return operation_count; - - gids_to_retain->add (gid); - - auto it = glyph_for_gid (gid).get_composite_iterator (); - while (it) - { - auto item = *(it++); - operation_count = - add_gid_and_children (item.get_glyph_index (), gids_to_retain, depth, operation_count); - } - - return operation_count; - } - -#ifdef HB_EXPERIMENTAL_API - struct path_builder_t - { - hb_font_t *font; - draw_helper_t *draw_helper; - - struct optional_point_t - { - optional_point_t () { has_data = false; } - optional_point_t (float x_, float y_) { x = x_; y = y_; has_data = true; } - - bool has_data; - float x; - float y; - - optional_point_t lerp (optional_point_t p, float t) - { return optional_point_t (x + t * (p.x - x), y + t * (p.y - y)); } - } first_oncurve, first_offcurve, last_offcurve; - - path_builder_t (hb_font_t *font_, draw_helper_t &draw_helper_) - { - font = font_; - draw_helper = &draw_helper_; - first_oncurve = first_offcurve = last_offcurve = optional_point_t (); - } - - /* based on https://github.com/RazrFalcon/ttf-parser/blob/4f32821/src/glyf.rs#L287 - See also: - * https://developer.apple.com/fonts/TrueType-Reference-Manual/RM01/Chap1.html - * https://stackoverflow.com/a/20772557 */ - void consume_point (const contour_point_t &point) - { - /* Skip empty contours */ - if (unlikely (point.is_end_point && !first_oncurve.has_data && !first_offcurve.has_data)) - return; - - bool is_on_curve = point.flag & Glyph::FLAG_ON_CURVE; - optional_point_t p (point.x, point.y); - if (!first_oncurve.has_data) - { - if (is_on_curve) - { - first_oncurve = p; - draw_helper->move_to (font->em_scalef_x (p.x), font->em_scalef_y (p.y)); - } - else - { - if (first_offcurve.has_data) - { - optional_point_t mid = first_offcurve.lerp (p, .5f); - first_oncurve = mid; - last_offcurve = p; - draw_helper->move_to (font->em_scalef_x (mid.x), font->em_scalef_y (mid.y)); - } - else - first_offcurve = p; - } - } - else - { - if (last_offcurve.has_data) - { - if (is_on_curve) - { - draw_helper->quadratic_to (font->em_scalef_x (last_offcurve.x), font->em_scalef_y (last_offcurve.y), - font->em_scalef_x (p.x), font->em_scalef_y (p.y)); - last_offcurve = optional_point_t (); - } - else - { - optional_point_t mid = last_offcurve.lerp (p, .5f); - draw_helper->quadratic_to (font->em_scalef_x (last_offcurve.x), font->em_scalef_y (last_offcurve.y), - font->em_scalef_x (mid.x), font->em_scalef_y (mid.y)); - last_offcurve = p; - } - } - else - { - if (is_on_curve) - draw_helper->line_to (font->em_scalef_x (p.x), font->em_scalef_y (p.y)); - else - last_offcurve = p; - } - } - - if (point.is_end_point) - { - if (first_offcurve.has_data && last_offcurve.has_data) - { - optional_point_t mid = last_offcurve.lerp (first_offcurve, .5f); - draw_helper->quadratic_to (font->em_scalef_x (last_offcurve.x), font->em_scalef_y (last_offcurve.y), - font->em_scalef_x (mid.x), font->em_scalef_y (mid.y)); - last_offcurve = optional_point_t (); - /* now check the rest */ - } - - if (first_offcurve.has_data && first_oncurve.has_data) - draw_helper->quadratic_to (font->em_scalef_x (first_offcurve.x), font->em_scalef_y (first_offcurve.y), - font->em_scalef_x (first_oncurve.x), font->em_scalef_y (first_oncurve.y)); - else if (last_offcurve.has_data && first_oncurve.has_data) - draw_helper->quadratic_to (font->em_scalef_x (last_offcurve.x), font->em_scalef_y (last_offcurve.y), - font->em_scalef_x (first_oncurve.x), font->em_scalef_y (first_oncurve.y)); - else if (first_oncurve.has_data) - draw_helper->line_to (font->em_scalef_x (first_oncurve.x), font->em_scalef_y (first_oncurve.y)); - - /* Getting ready for the next contour */ - first_oncurve = first_offcurve = last_offcurve = optional_point_t (); - draw_helper->end_path (); - } - } - void points_end () {} - - bool is_consuming_contour_points () { return true; } - contour_point_t *get_phantoms_sink () { return nullptr; } - }; - - bool - get_path (hb_font_t *font, hb_codepoint_t gid, draw_helper_t &draw_helper) const - { return get_points (font, gid, path_builder_t (font, draw_helper)); } -#endif - -#ifndef HB_NO_VAR - const gvar_accelerator_t *gvar; -#endif - const hmtx_accelerator_t *hmtx; -#ifndef HB_NO_VERTICAL - const vmtx_accelerator_t *vmtx; -#endif - - private: - bool short_offset; - unsigned int num_glyphs; - hb_blob_ptr_t loca_table; - hb_blob_ptr_t glyf_table; - hb_face_t *face; - }; - - struct SubsetGlyph - { - hb_codepoint_t new_gid; - hb_codepoint_t old_gid; - Glyph source_glyph; - hb_bytes_t dest_start; /* region of source_glyph to copy first */ - hb_bytes_t dest_end; /* region of source_glyph to copy second */ - - bool serialize (hb_serialize_context_t *c, - bool use_short_loca, - const hb_subset_plan_t *plan) const - { - TRACE_SERIALIZE (this); - - hb_bytes_t dest_glyph = dest_start.copy (c); - dest_glyph = hb_bytes_t (&dest_glyph, dest_glyph.length + dest_end.copy (c).length); - unsigned int pad_length = use_short_loca ? padding () : 0; - DEBUG_MSG (SUBSET, nullptr, "serialize %d byte glyph, width %d pad %d", dest_glyph.length, dest_glyph.length + pad_length, pad_length); - - HBUINT8 pad; - pad = 0; - while (pad_length > 0) - { - c->embed (pad); - pad_length--; - } - - if (unlikely (!dest_glyph.length)) return_trace (true); - - /* update components gids */ - for (auto &_ : Glyph (dest_glyph).get_composite_iterator ()) - { - hb_codepoint_t new_gid; - if (plan->new_gid_for_old_gid (_.get_glyph_index (), &new_gid)) - const_cast (_).set_glyph_index (new_gid); - } - - if (plan->flags & HB_SUBSET_FLAGS_NO_HINTING) - Glyph (dest_glyph).drop_hints (); - - if (plan->flags & HB_SUBSET_FLAGS_SET_OVERLAPS_FLAG) - Glyph (dest_glyph).set_overlaps_flag (); - - return_trace (true); - } - - void drop_hints_bytes () - { source_glyph.drop_hints_bytes (dest_start, dest_end); } - - unsigned int length () const { return dest_start.length + dest_end.length; } - /* pad to 2 to ensure 2-byte loca will be ok */ - unsigned int padding () const { return length () % 2; } - unsigned int padded_size () const { return length () + padding (); } - }; - - protected: - UnsizedArrayOf - dataZ; /* Glyphs data. */ - public: - DEFINE_SIZE_MIN (0); /* In reality, this is UNBOUNDED() type; but since we always - * check the size externally, allow Null() object of it by - * defining it _MIN instead. */ -}; - -struct glyf_accelerator_t : glyf::accelerator_t {}; - -} /* namespace OT */ - - -#endif /* HB_OT_GLYF_TABLE_HH */ diff --git a/harfbuzz/src/hb-ot-hdmx-table.hh b/harfbuzz/src/hb-ot-hdmx-table.hh deleted file mode 100644 index dea2b7e..0000000 --- a/harfbuzz/src/hb-ot-hdmx-table.hh +++ /dev/null @@ -1,177 +0,0 @@ -/* - * Copyright © 2018 Google, Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Google Author(s): Garret Rieger - */ - -#ifndef HB_OT_HDMX_TABLE_HH -#define HB_OT_HDMX_TABLE_HH - -#include "hb-open-type.hh" - -/* - * hdmx -- Horizontal Device Metrics - * https://docs.microsoft.com/en-us/typography/opentype/spec/hdmx - */ -#define HB_OT_TAG_hdmx HB_TAG('h','d','m','x') - - -namespace OT { - - -struct DeviceRecord -{ - static unsigned int get_size (unsigned count) - { return hb_ceil_to_4 (min_size + count * HBUINT8::static_size); } - - template - bool serialize (hb_serialize_context_t *c, unsigned pixelSize, Iterator it) - { - TRACE_SERIALIZE (this); - - unsigned length = it.len (); - - if (unlikely (!c->extend (this, length))) return_trace (false); - - this->pixelSize = pixelSize; - this->maxWidth = - + it - | hb_reduce (hb_max, 0u); - - + it - | hb_sink (widthsZ.as_array (length)); - - return_trace (true); - } - - bool sanitize (hb_sanitize_context_t *c, unsigned sizeDeviceRecord) const - { - TRACE_SANITIZE (this); - return_trace (likely (c->check_struct (this) && - c->check_range (this, sizeDeviceRecord))); - } - - HBUINT8 pixelSize; /* Pixel size for following widths (as ppem). */ - HBUINT8 maxWidth; /* Maximum width. */ - UnsizedArrayOf widthsZ; /* Array of widths (numGlyphs is from the 'maxp' table). */ - public: - DEFINE_SIZE_ARRAY (2, widthsZ); -}; - - -struct hdmx -{ - static constexpr hb_tag_t tableTag = HB_OT_TAG_hdmx; - - unsigned int get_size () const - { return min_size + numRecords * sizeDeviceRecord; } - - const DeviceRecord& operator [] (unsigned int i) const - { - /* XXX Null(DeviceRecord) is NOT safe as it's num-glyphs lengthed. - * https://github.com/harfbuzz/harfbuzz/issues/1300 */ - if (unlikely (i >= numRecords)) return Null (DeviceRecord); - return StructAtOffset (&this->firstDeviceRecord, i * sizeDeviceRecord); - } - - template - bool serialize (hb_serialize_context_t *c, unsigned version, Iterator it) - { - TRACE_SERIALIZE (this); - - if (unlikely (!c->extend_min ((*this)))) return_trace (false); - - this->version = version; - this->numRecords = it.len (); - this->sizeDeviceRecord = DeviceRecord::get_size (it ? (*it).second.len () : 0); - - for (const hb_item_type& _ : +it) - c->start_embed ()->serialize (c, _.first, _.second); - - return_trace (c->successful ()); - } - - - bool subset (hb_subset_context_t *c) const - { - TRACE_SUBSET (this); - - hdmx *hdmx_prime = c->serializer->start_embed (); - if (unlikely (!hdmx_prime)) return_trace (false); - - auto it = - + hb_range ((unsigned) numRecords) - | hb_map ([c, this] (unsigned _) - { - const DeviceRecord *device_record = - &StructAtOffset (&firstDeviceRecord, - _ * sizeDeviceRecord); - auto row = - + hb_range (c->plan->num_output_glyphs ()) - | hb_map (c->plan->reverse_glyph_map) - | hb_map ([this, c, device_record] (hb_codepoint_t _) - { - if (c->plan->is_empty_glyph (_)) - return Null (HBUINT8); - return device_record->widthsZ.as_array (get_num_glyphs ()) [_]; - }) - ; - return hb_pair ((unsigned) device_record->pixelSize, +row); - }) - ; - - hdmx_prime->serialize (c->serializer, version, it); - return_trace (true); - } - - unsigned get_num_glyphs () const - { - return sizeDeviceRecord - DeviceRecord::min_size; - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this) && - !hb_unsigned_mul_overflows (numRecords, sizeDeviceRecord) && - sizeDeviceRecord >= DeviceRecord::min_size && - c->check_range (this, get_size ())); - } - - protected: - HBUINT16 version; /* Table version number (0) */ - HBUINT16 numRecords; /* Number of device records. */ - HBUINT32 sizeDeviceRecord; - /* Size of a device record, 32-bit aligned. */ - DeviceRecord firstDeviceRecord; - /* Array of device records. */ - public: - DEFINE_SIZE_MIN (8); -}; - -} /* namespace OT */ - - -#endif /* HB_OT_HDMX_TABLE_HH */ diff --git a/harfbuzz/src/hb-ot-head-table.hh b/harfbuzz/src/hb-ot-head-table.hh deleted file mode 100644 index 20991aa..0000000 --- a/harfbuzz/src/hb-ot-head-table.hh +++ /dev/null @@ -1,181 +0,0 @@ -/* - * Copyright © 2010 Red Hat, Inc. - * Copyright © 2012 Google, Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Red Hat Author(s): Behdad Esfahbod - * Google Author(s): Behdad Esfahbod - */ - -#ifndef HB_OT_HEAD_TABLE_HH -#define HB_OT_HEAD_TABLE_HH - -#include "hb-open-type.hh" - -/* - * head -- Font Header - * https://docs.microsoft.com/en-us/typography/opentype/spec/head - */ -#define HB_OT_TAG_head HB_TAG('h','e','a','d') - - -namespace OT { - - -struct head -{ - friend struct OpenTypeOffsetTable; - - static constexpr hb_tag_t tableTag = HB_OT_TAG_head; - - unsigned int get_upem () const - { - unsigned int upem = unitsPerEm; - /* If no valid head table found, assume 1000, which matches typical Type1 usage. */ - return 16 <= upem && upem <= 16384 ? upem : 1000; - } - - bool serialize (hb_serialize_context_t *c) const - { - TRACE_SERIALIZE (this); - return_trace ((bool) c->embed (this)); - } - - bool subset (hb_subset_context_t *c) const - { - TRACE_SUBSET (this); - return_trace (serialize (c->serializer)); - } - - enum mac_style_flag_t { - BOLD = 1u<<0, - ITALIC = 1u<<1, - UNDERLINE = 1u<<2, - OUTLINE = 1u<<3, - SHADOW = 1u<<4, - CONDENSED = 1u<<5, - EXPANDED = 1u<<6, - }; - - bool is_bold () const { return macStyle & BOLD; } - bool is_italic () const { return macStyle & ITALIC; } - bool is_condensed () const { return macStyle & CONDENSED; } - bool is_expanded () const { return macStyle & EXPANDED; } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this) && - version.major == 1 && - magicNumber == 0x5F0F3CF5u); - } - - protected: - FixedVersion<>version; /* Version of the head table--currently - * 0x00010000u for version 1.0. */ - FixedVersion<>fontRevision; /* Set by font manufacturer. */ - HBUINT32 checkSumAdjustment; /* To compute: set it to 0, sum the - * entire font as HBUINT32, then store - * 0xB1B0AFBAu - sum. */ - HBUINT32 magicNumber; /* Set to 0x5F0F3CF5u. */ - HBUINT16 flags; /* Bit 0: Baseline for font at y=0; - * Bit 1: Left sidebearing point at x=0; - * Bit 2: Instructions may depend on point size; - * Bit 3: Force ppem to integer values for all - * internal scaler math; may use fractional - * ppem sizes if this bit is clear; - * Bit 4: Instructions may alter advance width - * (the advance widths might not scale linearly); - * Bits 5-10: These should be set according to - * Apple's specification. However, they are not - * implemented in OpenType. - * Bit 5: This bit should be set in fonts that are - * intended to e laid out vertically, and in - * which the glyphs have been drawn such that an - * x-coordinate of 0 corresponds to the desired - * vertical baseline. - * Bit 6: This bit must be set to zero. - * Bit 7: This bit should be set if the font - * requires layout for correct linguistic - * rendering (e.g. Arabic fonts). - * Bit 8: This bit should be set for a GX font - * which has one or more metamorphosis effects - * designated as happening by default. - * Bit 9: This bit should be set if the font - * contains any strong right-to-left glyphs. - * Bit 10: This bit should be set if the font - * contains Indic-style rearrangement effects. - * Bit 11: Font data is 'lossless,' as a result - * of having been compressed and decompressed - * with the Agfa MicroType Express engine. - * Bit 12: Font converted (produce compatible metrics) - * Bit 13: Font optimized for ClearType™. - * Note, fonts that rely on embedded bitmaps (EBDT) - * for rendering should not be considered optimized - * for ClearType, and therefore should keep this bit - * cleared. - * Bit 14: Last Resort font. If set, indicates that - * the glyphs encoded in the cmap subtables are simply - * generic symbolic representations of code point - * ranges and don’t truly represent support for those - * code points. If unset, indicates that the glyphs - * encoded in the cmap subtables represent proper - * support for those code points. - * Bit 15: Reserved, set to 0. */ - HBUINT16 unitsPerEm; /* Valid range is from 16 to 16384. This value - * should be a power of 2 for fonts that have - * TrueType outlines. */ - LONGDATETIME created; /* Number of seconds since 12:00 midnight, - January 1, 1904. 64-bit integer */ - LONGDATETIME modified; /* Number of seconds since 12:00 midnight, - January 1, 1904. 64-bit integer */ - HBINT16 xMin; /* For all glyph bounding boxes. */ - HBINT16 yMin; /* For all glyph bounding boxes. */ - HBINT16 xMax; /* For all glyph bounding boxes. */ - HBINT16 yMax; /* For all glyph bounding boxes. */ - HBUINT16 macStyle; /* Bit 0: Bold (if set to 1); - * Bit 1: Italic (if set to 1) - * Bit 2: Underline (if set to 1) - * Bit 3: Outline (if set to 1) - * Bit 4: Shadow (if set to 1) - * Bit 5: Condensed (if set to 1) - * Bit 6: Extended (if set to 1) - * Bits 7-15: Reserved (set to 0). */ - HBUINT16 lowestRecPPEM; /* Smallest readable size in pixels. */ - HBINT16 fontDirectionHint; /* Deprecated (Set to 2). - * 0: Fully mixed directional glyphs; - * 1: Only strongly left to right; - * 2: Like 1 but also contains neutrals; - * -1: Only strongly right to left; - * -2: Like -1 but also contains neutrals. */ - public: - HBUINT16 indexToLocFormat; /* 0 for short offsets, 1 for long. */ - HBUINT16 glyphDataFormat; /* 0 for current format. */ - - DEFINE_SIZE_STATIC (54); -}; - - -} /* namespace OT */ - - -#endif /* HB_OT_HEAD_TABLE_HH */ diff --git a/harfbuzz/src/hb-ot-hhea-table.hh b/harfbuzz/src/hb-ot-hhea-table.hh deleted file mode 100644 index d9c9bd3..0000000 --- a/harfbuzz/src/hb-ot-hhea-table.hh +++ /dev/null @@ -1,104 +0,0 @@ -/* - * Copyright © 2011,2012 Google, Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Google Author(s): Behdad Esfahbod - */ - -#ifndef HB_OT_HHEA_TABLE_HH -#define HB_OT_HHEA_TABLE_HH - -#include "hb-open-type.hh" - -/* - * hhea -- Horizontal Header - * https://docs.microsoft.com/en-us/typography/opentype/spec/hhea - * vhea -- Vertical Header - * https://docs.microsoft.com/en-us/typography/opentype/spec/vhea - */ -#define HB_OT_TAG_hhea HB_TAG('h','h','e','a') -#define HB_OT_TAG_vhea HB_TAG('v','h','e','a') - - -namespace OT { - - -template -struct _hea -{ - bool has_data () const { return version.major; } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this) && likely (version.major == 1)); - } - - public: - FixedVersion<>version; /* 0x00010000u for version 1.0. */ - FWORD ascender; /* Typographic ascent. */ - FWORD descender; /* Typographic descent. */ - FWORD lineGap; /* Typographic line gap. */ - UFWORD advanceMax; /* Maximum advance width/height value in - * metrics table. */ - FWORD minLeadingBearing; - /* Minimum left/top sidebearing value in - * metrics table. */ - FWORD minTrailingBearing; - /* Minimum right/bottom sidebearing value; - * calculated as Min(aw - lsb - - * (xMax - xMin)) for horizontal. */ - FWORD maxExtent; /* horizontal: Max(lsb + (xMax - xMin)), - * vertical: minLeadingBearing+(yMax-yMin). */ - HBINT16 caretSlopeRise; /* Used to calculate the slope of the - * cursor (rise/run); 1 for vertical caret, - * 0 for horizontal.*/ - HBINT16 caretSlopeRun; /* 0 for vertical caret, 1 for horizontal. */ - HBINT16 caretOffset; /* The amount by which a slanted - * highlight on a glyph needs - * to be shifted to produce the - * best appearance. Set to 0 for - * non-slanted fonts. */ - HBINT16 reserved1; /* Set to 0. */ - HBINT16 reserved2; /* Set to 0. */ - HBINT16 reserved3; /* Set to 0. */ - HBINT16 reserved4; /* Set to 0. */ - HBINT16 metricDataFormat;/* 0 for current format. */ - HBUINT16 numberOfLongMetrics; - /* Number of LongMetric entries in metric - * table. */ - public: - DEFINE_SIZE_STATIC (36); -}; - -struct hhea : _hea { - static constexpr hb_tag_t tableTag = HB_OT_TAG_hhea; -}; -struct vhea : _hea { - static constexpr hb_tag_t tableTag = HB_OT_TAG_vhea; -}; - - -} /* namespace OT */ - - -#endif /* HB_OT_HHEA_TABLE_HH */ diff --git a/harfbuzz/src/hb-ot-hmtx-table.hh b/harfbuzz/src/hb-ot-hmtx-table.hh deleted file mode 100644 index 7d2d2d3..0000000 --- a/harfbuzz/src/hb-ot-hmtx-table.hh +++ /dev/null @@ -1,347 +0,0 @@ -/* - * Copyright © 2011,2012 Google, Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Google Author(s): Behdad Esfahbod, Roderick Sheeter - */ - -#ifndef HB_OT_HMTX_TABLE_HH -#define HB_OT_HMTX_TABLE_HH - -#include "hb-open-type.hh" -#include "hb-ot-hhea-table.hh" -#include "hb-ot-var-hvar-table.hh" -#include "hb-ot-metrics.hh" - -/* - * hmtx -- Horizontal Metrics - * https://docs.microsoft.com/en-us/typography/opentype/spec/hmtx - * vmtx -- Vertical Metrics - * https://docs.microsoft.com/en-us/typography/opentype/spec/vmtx - */ -#define HB_OT_TAG_hmtx HB_TAG('h','m','t','x') -#define HB_OT_TAG_vmtx HB_TAG('v','m','t','x') - - -HB_INTERNAL int -_glyf_get_side_bearing_var (hb_font_t *font, hb_codepoint_t glyph, bool is_vertical); - -HB_INTERNAL unsigned -_glyf_get_advance_var (hb_font_t *font, hb_codepoint_t glyph, bool is_vertical); - - -namespace OT { - - -struct LongMetric -{ - UFWORD advance; /* Advance width/height. */ - FWORD sb; /* Leading (left/top) side bearing. */ - public: - DEFINE_SIZE_STATIC (4); -}; - - -template -struct hmtxvmtx -{ - bool sanitize (hb_sanitize_context_t *c HB_UNUSED) const - { - TRACE_SANITIZE (this); - /* We don't check for anything specific here. The users of the - * struct do all the hard work... */ - return_trace (true); - } - - - bool subset_update_header (hb_subset_plan_t *plan, - unsigned int num_hmetrics) const - { - hb_blob_t *src_blob = hb_sanitize_context_t ().reference_table (plan->source, H::tableTag); - hb_blob_t *dest_blob = hb_blob_copy_writable_or_fail (src_blob); - hb_blob_destroy (src_blob); - - if (unlikely (!dest_blob)) { - return false; - } - - unsigned int length; - H *table = (H *) hb_blob_get_data (dest_blob, &length); - table->numberOfLongMetrics = num_hmetrics; - - bool result = plan->add_table (H::tableTag, dest_blob); - hb_blob_destroy (dest_blob); - - return result; - } - - template - void serialize (hb_serialize_context_t *c, - Iterator it, - unsigned num_advances) - { - unsigned idx = 0; - for (auto _ : it) - { - if (idx < num_advances) - { - LongMetric lm; - lm.advance = _.first; - lm.sb = _.second; - if (unlikely (!c->embed (&lm))) return; - } - else - { - FWORD *sb = c->allocate_size (FWORD::static_size); - if (unlikely (!sb)) return; - *sb = _.second; - } - idx++; - } - } - - bool subset (hb_subset_context_t *c) const - { - TRACE_SUBSET (this); - - T *table_prime = c->serializer->start_embed (); - if (unlikely (!table_prime)) return_trace (false); - - accelerator_t _mtx; - _mtx.init (c->plan->source); - unsigned num_advances = _mtx.num_advances_for_subset (c->plan); - - auto it = - + hb_range (c->plan->num_output_glyphs ()) - | hb_map ([c, &_mtx] (unsigned _) - { - hb_codepoint_t old_gid; - if (!c->plan->old_gid_for_new_gid (_, &old_gid)) - return hb_pair (0u, 0); - return hb_pair (_mtx.get_advance (old_gid), _mtx.get_side_bearing (old_gid)); - }) - ; - - table_prime->serialize (c->serializer, it, num_advances); - - _mtx.fini (); - - if (unlikely (c->serializer->in_error ())) - return_trace (false); - - // Amend header num hmetrics - if (unlikely (!subset_update_header (c->plan, num_advances))) - return_trace (false); - - return_trace (true); - } - - struct accelerator_t - { - friend struct hmtxvmtx; - - void init (hb_face_t *face, - unsigned int default_advance_ = 0) - { - default_advance = default_advance_ ? default_advance_ : hb_face_get_upem (face); - - num_advances = T::is_horizontal ? - face->table.hhea->numberOfLongMetrics : -#ifndef HB_NO_VERTICAL - face->table.vhea->numberOfLongMetrics -#else - 0 -#endif - ; - - table = hb_sanitize_context_t ().reference_table (face, T::tableTag); - - /* Cap num_metrics() and num_advances() based on table length. */ - unsigned int len = table.get_length (); - if (unlikely (num_advances * 4 > len)) - num_advances = len / 4; - num_metrics = num_advances + (len - 4 * num_advances) / 2; - - /* We MUST set num_metrics to zero if num_advances is zero. - * Our get_advance() depends on that. */ - if (unlikely (!num_advances)) - { - num_metrics = num_advances = 0; - table.destroy (); - table = hb_blob_get_empty (); - } - - var_table = hb_sanitize_context_t ().reference_table (face, T::variationsTag); - } - - void fini () - { - table.destroy (); - var_table.destroy (); - } - - int get_side_bearing (hb_codepoint_t glyph) const - { - if (glyph < num_advances) - return table->longMetricZ[glyph].sb; - - if (unlikely (glyph >= num_metrics)) - return 0; - - const FWORD *bearings = (const FWORD *) &table->longMetricZ[num_advances]; - return bearings[glyph - num_advances]; - } - - int get_side_bearing (hb_font_t *font, hb_codepoint_t glyph) const - { - int side_bearing = get_side_bearing (glyph); - -#ifndef HB_NO_VAR - if (unlikely (glyph >= num_metrics) || !font->num_coords) - return side_bearing; - - if (var_table.get_length ()) - return side_bearing + var_table->get_side_bearing_var (glyph, font->coords, font->num_coords); // TODO Optimize?! - - return _glyf_get_side_bearing_var (font, glyph, T::tableTag == HB_OT_TAG_vmtx); -#else - return side_bearing; -#endif - } - - unsigned int get_advance (hb_codepoint_t glyph) const - { - if (unlikely (glyph >= num_metrics)) - { - /* If num_metrics is zero, it means we don't have the metrics table - * for this direction: return default advance. Otherwise, it means that the - * glyph index is out of bound: return zero. */ - if (num_metrics) - return 0; - else - return default_advance; - } - - return table->longMetricZ[hb_min (glyph, (uint32_t) num_advances - 1)].advance; - } - - unsigned int get_advance (hb_codepoint_t glyph, - hb_font_t *font) const - { - unsigned int advance = get_advance (glyph); - -#ifndef HB_NO_VAR - if (unlikely (glyph >= num_metrics) || !font->num_coords) - return advance; - - if (var_table.get_length ()) - return advance + roundf (var_table->get_advance_var (glyph, font)); // TODO Optimize?! - - return _glyf_get_advance_var (font, glyph, T::tableTag == HB_OT_TAG_vmtx); -#else - return advance; -#endif - } - - unsigned int num_advances_for_subset (const hb_subset_plan_t *plan) const - { - unsigned int num_advances = plan->num_output_glyphs (); - unsigned int last_advance = _advance_for_new_gid (plan, - num_advances - 1); - while (num_advances > 1 && - last_advance == _advance_for_new_gid (plan, - num_advances - 2)) - { - num_advances--; - } - - return num_advances; - } - - private: - unsigned int _advance_for_new_gid (const hb_subset_plan_t *plan, - hb_codepoint_t new_gid) const - { - hb_codepoint_t old_gid; - if (!plan->old_gid_for_new_gid (new_gid, &old_gid)) - return 0; - - return get_advance (old_gid); - } - - protected: - unsigned int num_metrics; - unsigned int num_advances; - unsigned int default_advance; - - private: - hb_blob_ptr_t table; - hb_blob_ptr_t var_table; - }; - - protected: - UnsizedArrayOf - longMetricZ; /* Paired advance width and leading - * bearing values for each glyph. The - * value numOfHMetrics comes from - * the 'hhea' table. If the font is - * monospaced, only one entry need - * be in the array, but that entry is - * required. The last entry applies to - * all subsequent glyphs. */ -/*UnsizedArrayOf leadingBearingX;*/ - /* Here the advance is assumed - * to be the same as the advance - * for the last entry above. The - * number of entries in this array is - * derived from numGlyphs (from 'maxp' - * table) minus numberOfLongMetrics. - * This generally is used with a run - * of monospaced glyphs (e.g., Kanji - * fonts or Courier fonts). Only one - * run is allowed and it must be at - * the end. This allows a monospaced - * font to vary the side bearing - * values for each glyph. */ - public: - DEFINE_SIZE_ARRAY (0, longMetricZ); -}; - -struct hmtx : hmtxvmtx { - static constexpr hb_tag_t tableTag = HB_OT_TAG_hmtx; - static constexpr hb_tag_t variationsTag = HB_OT_TAG_HVAR; - static constexpr bool is_horizontal = true; -}; -struct vmtx : hmtxvmtx { - static constexpr hb_tag_t tableTag = HB_OT_TAG_vmtx; - static constexpr hb_tag_t variationsTag = HB_OT_TAG_VVAR; - static constexpr bool is_horizontal = false; -}; - -struct hmtx_accelerator_t : hmtx::accelerator_t {}; -struct vmtx_accelerator_t : vmtx::accelerator_t {}; - -} /* namespace OT */ - - -#endif /* HB_OT_HMTX_TABLE_HH */ diff --git a/harfbuzz/src/hb-ot-kern-table.hh b/harfbuzz/src/hb-ot-kern-table.hh deleted file mode 100644 index ffa11bc..0000000 --- a/harfbuzz/src/hb-ot-kern-table.hh +++ /dev/null @@ -1,359 +0,0 @@ -/* - * Copyright © 2017 Google, Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Google Author(s): Behdad Esfahbod - */ - -#ifndef HB_OT_KERN_TABLE_HH -#define HB_OT_KERN_TABLE_HH - -#include "hb-aat-layout-kerx-table.hh" - - -/* - * kern -- Kerning - * https://docs.microsoft.com/en-us/typography/opentype/spec/kern - * https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6kern.html - */ -#define HB_OT_TAG_kern HB_TAG('k','e','r','n') - - -namespace OT { - - -template -struct KernSubTableFormat3 -{ - int get_kerning (hb_codepoint_t left, hb_codepoint_t right) const - { - hb_array_t kernValue = kernValueZ.as_array (kernValueCount); - hb_array_t leftClass = StructAfter> (kernValue).as_array (glyphCount); - hb_array_t rightClass = StructAfter> (leftClass).as_array (glyphCount); - hb_array_t kernIndex = StructAfter> (rightClass).as_array (leftClassCount * rightClassCount); - - unsigned int leftC = leftClass[left]; - unsigned int rightC = rightClass[right]; - if (unlikely (leftC >= leftClassCount || rightC >= rightClassCount)) - return 0; - unsigned int i = leftC * rightClassCount + rightC; - return kernValue[kernIndex[i]]; - } - - bool apply (AAT::hb_aat_apply_context_t *c) const - { - TRACE_APPLY (this); - - if (!c->plan->requested_kerning) - return false; - - if (header.coverage & header.Backwards) - return false; - - hb_kern_machine_t machine (*this, header.coverage & header.CrossStream); - machine.kern (c->font, c->buffer, c->plan->kern_mask); - - return_trace (true); - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this) && - c->check_range (kernValueZ, - kernValueCount * sizeof (FWORD) + - glyphCount * 2 + - leftClassCount * rightClassCount)); - } - - protected: - KernSubTableHeader - header; - HBUINT16 glyphCount; /* The number of glyphs in this font. */ - HBUINT8 kernValueCount; /* The number of kerning values. */ - HBUINT8 leftClassCount; /* The number of left-hand classes. */ - HBUINT8 rightClassCount;/* The number of right-hand classes. */ - HBUINT8 flags; /* Set to zero (reserved for future use). */ - UnsizedArrayOf - kernValueZ; /* The kerning values. - * Length kernValueCount. */ -#if 0 - UnsizedArrayOf - leftClass; /* The left-hand classes. - * Length glyphCount. */ - UnsizedArrayOf - rightClass; /* The right-hand classes. - * Length glyphCount. */ - UnsizedArrayOfkernIndex; - /* The indices into the kernValue array. - * Length leftClassCount * rightClassCount */ -#endif - public: - DEFINE_SIZE_ARRAY (KernSubTableHeader::static_size + 6, kernValueZ); -}; - -template -struct KernSubTable -{ - unsigned int get_size () const { return u.header.length; } - unsigned int get_type () const { return u.header.format; } - - int get_kerning (hb_codepoint_t left, hb_codepoint_t right) const - { - switch (get_type ()) { - /* This method hooks up to hb_font_t's get_h_kerning. Only support Format0. */ - case 0: return u.format0.get_kerning (left, right); - default:return 0; - } - } - - template - typename context_t::return_t dispatch (context_t *c, Ts&&... ds) const - { - unsigned int subtable_type = get_type (); - TRACE_DISPATCH (this, subtable_type); - switch (subtable_type) { - case 0: return_trace (c->dispatch (u.format0)); -#ifndef HB_NO_AAT_SHAPE - case 1: return_trace (u.header.apple ? c->dispatch (u.format1, std::forward (ds)...) : c->default_return_value ()); -#endif - case 2: return_trace (c->dispatch (u.format2)); -#ifndef HB_NO_AAT_SHAPE - case 3: return_trace (u.header.apple ? c->dispatch (u.format3, std::forward (ds)...) : c->default_return_value ()); -#endif - default: return_trace (c->default_return_value ()); - } - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - if (unlikely (!u.header.sanitize (c) || - u.header.length < u.header.min_size || - !c->check_range (this, u.header.length))) return_trace (false); - - return_trace (dispatch (c)); - } - - public: - union { - KernSubTableHeader header; - AAT::KerxSubTableFormat0 format0; - AAT::KerxSubTableFormat1 format1; - AAT::KerxSubTableFormat2 format2; - KernSubTableFormat3 format3; - } u; - public: - DEFINE_SIZE_MIN (KernSubTableHeader::static_size); -}; - - -struct KernOTSubTableHeader -{ - static constexpr bool apple = false; - typedef AAT::ObsoleteTypes Types; - - unsigned tuple_count () const { return 0; } - bool is_horizontal () const { return (coverage & Horizontal); } - - enum Coverage - { - Horizontal = 0x01u, - Minimum = 0x02u, - CrossStream = 0x04u, - Override = 0x08u, - - /* Not supported: */ - Backwards = 0x00u, - Variation = 0x00u, - }; - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this)); - } - - public: - HBUINT16 versionZ; /* Unused. */ - HBUINT16 length; /* Length of the subtable (including this header). */ - HBUINT8 format; /* Subtable format. */ - HBUINT8 coverage; /* Coverage bits. */ - public: - DEFINE_SIZE_STATIC (6); -}; - -struct KernOT : AAT::KerxTable -{ - friend struct AAT::KerxTable; - - static constexpr hb_tag_t tableTag = HB_OT_TAG_kern; - static constexpr unsigned minVersion = 0u; - - typedef KernOTSubTableHeader SubTableHeader; - typedef SubTableHeader::Types Types; - typedef KernSubTable SubTable; - - protected: - HBUINT16 version; /* Version--0x0000u */ - HBUINT16 tableCount; /* Number of subtables in the kerning table. */ - SubTable firstSubTable; /* Subtables. */ - public: - DEFINE_SIZE_MIN (4); -}; - - -struct KernAATSubTableHeader -{ - static constexpr bool apple = true; - typedef AAT::ObsoleteTypes Types; - - unsigned tuple_count () const { return 0; } - bool is_horizontal () const { return !(coverage & Vertical); } - - enum Coverage - { - Vertical = 0x80u, - CrossStream = 0x40u, - Variation = 0x20u, - - /* Not supported: */ - Backwards = 0x00u, - }; - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this)); - } - - public: - HBUINT32 length; /* Length of the subtable (including this header). */ - HBUINT8 coverage; /* Coverage bits. */ - HBUINT8 format; /* Subtable format. */ - HBUINT16 tupleIndex; /* The tuple index (used for variations fonts). - * This value specifies which tuple this subtable covers. - * Note: We don't implement. */ - public: - DEFINE_SIZE_STATIC (8); -}; - -struct KernAAT : AAT::KerxTable -{ - friend struct AAT::KerxTable; - - static constexpr hb_tag_t tableTag = HB_OT_TAG_kern; - static constexpr unsigned minVersion = 0x00010000u; - - typedef KernAATSubTableHeader SubTableHeader; - typedef SubTableHeader::Types Types; - typedef KernSubTable SubTable; - - protected: - HBUINT32 version; /* Version--0x00010000u */ - HBUINT32 tableCount; /* Number of subtables in the kerning table. */ - SubTable firstSubTable; /* Subtables. */ - public: - DEFINE_SIZE_MIN (8); -}; - -struct kern -{ - static constexpr hb_tag_t tableTag = HB_OT_TAG_kern; - - bool has_data () const { return u.version32; } - unsigned get_type () const { return u.major; } - - bool has_state_machine () const - { - switch (get_type ()) { - case 0: return u.ot.has_state_machine (); -#ifndef HB_NO_AAT_SHAPE - case 1: return u.aat.has_state_machine (); -#endif - default:return false; - } - } - - bool has_cross_stream () const - { - switch (get_type ()) { - case 0: return u.ot.has_cross_stream (); -#ifndef HB_NO_AAT_SHAPE - case 1: return u.aat.has_cross_stream (); -#endif - default:return false; - } - } - - int get_h_kerning (hb_codepoint_t left, hb_codepoint_t right) const - { - switch (get_type ()) { - case 0: return u.ot.get_h_kerning (left, right); -#ifndef HB_NO_AAT_SHAPE - case 1: return u.aat.get_h_kerning (left, right); -#endif - default:return 0; - } - } - - bool apply (AAT::hb_aat_apply_context_t *c) const - { return dispatch (c); } - - template - typename context_t::return_t dispatch (context_t *c, Ts&&... ds) const - { - unsigned int subtable_type = get_type (); - TRACE_DISPATCH (this, subtable_type); - switch (subtable_type) { - case 0: return_trace (c->dispatch (u.ot, std::forward (ds)...)); -#ifndef HB_NO_AAT_SHAPE - case 1: return_trace (c->dispatch (u.aat, std::forward (ds)...)); -#endif - default: return_trace (c->default_return_value ()); - } - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - if (!u.version32.sanitize (c)) return_trace (false); - return_trace (dispatch (c)); - } - - protected: - union { - HBUINT32 version32; - HBUINT16 major; - KernOT ot; -#ifndef HB_NO_AAT_SHAPE - KernAAT aat; -#endif - } u; - public: - DEFINE_SIZE_UNION (4, version32); -}; - -} /* namespace OT */ - - -#endif /* HB_OT_KERN_TABLE_HH */ diff --git a/harfbuzz/src/hb-ot-layout-base-table.hh b/harfbuzz/src/hb-ot-layout-base-table.hh deleted file mode 100644 index eb4c3b4..0000000 --- a/harfbuzz/src/hb-ot-layout-base-table.hh +++ /dev/null @@ -1,521 +0,0 @@ -/* - * Copyright © 2016 Elie Roux - * Copyright © 2018 Google, Inc. - * Copyright © 2018-2019 Ebrahim Byagowi - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Google Author(s): Behdad Esfahbod - */ - -#ifndef HB_OT_LAYOUT_BASE_TABLE_HH -#define HB_OT_LAYOUT_BASE_TABLE_HH - -#include "hb-open-type.hh" -#include "hb-ot-layout-common.hh" - -namespace OT { - -/* - * BASE -- Baseline - * https://docs.microsoft.com/en-us/typography/opentype/spec/base - */ - -struct BaseCoordFormat1 -{ - hb_position_t get_coord () const { return coordinate; } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (likely (c->check_struct (this))); - } - - protected: - HBUINT16 format; /* Format identifier--format = 1 */ - FWORD coordinate; /* X or Y value, in design units */ - public: - DEFINE_SIZE_STATIC (4); -}; - -struct BaseCoordFormat2 -{ - hb_position_t get_coord () const - { - /* TODO */ - return coordinate; - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this)); - } - - protected: - HBUINT16 format; /* Format identifier--format = 2 */ - FWORD coordinate; /* X or Y value, in design units */ - HBGlyphID16 referenceGlyph; /* Glyph ID of control glyph */ - HBUINT16 coordPoint; /* Index of contour point on the - * reference glyph */ - public: - DEFINE_SIZE_STATIC (8); -}; - -struct BaseCoordFormat3 -{ - hb_position_t get_coord (hb_font_t *font, - const VariationStore &var_store, - hb_direction_t direction) const - { - const Device &device = this+deviceTable; - return coordinate + (HB_DIRECTION_IS_VERTICAL (direction) ? - device.get_y_delta (font, var_store) : - device.get_x_delta (font, var_store)); - } - - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (likely (c->check_struct (this) && - deviceTable.sanitize (c, this))); - } - - protected: - HBUINT16 format; /* Format identifier--format = 3 */ - FWORD coordinate; /* X or Y value, in design units */ - Offset16To - deviceTable; /* Offset to Device table for X or - * Y value, from beginning of - * BaseCoord table (may be NULL). */ - public: - DEFINE_SIZE_STATIC (6); -}; - -struct BaseCoord -{ - bool has_data () const { return u.format; } - - hb_position_t get_coord (hb_font_t *font, - const VariationStore &var_store, - hb_direction_t direction) const - { - switch (u.format) { - case 1: return u.format1.get_coord (); - case 2: return u.format2.get_coord (); - case 3: return u.format3.get_coord (font, var_store, direction); - default:return 0; - } - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - if (unlikely (!u.format.sanitize (c))) return_trace (false); - switch (u.format) { - case 1: return_trace (u.format1.sanitize (c)); - case 2: return_trace (u.format2.sanitize (c)); - case 3: return_trace (u.format3.sanitize (c)); - default:return_trace (false); - } - } - - protected: - union { - HBUINT16 format; - BaseCoordFormat1 format1; - BaseCoordFormat2 format2; - BaseCoordFormat3 format3; - } u; - public: - DEFINE_SIZE_UNION (2, format); -}; - -struct FeatMinMaxRecord -{ - int cmp (hb_tag_t key) const { return tag.cmp (key); } - - bool has_data () const { return tag; } - - void get_min_max (const BaseCoord **min, const BaseCoord **max) const - { - if (likely (min)) *min = &(this+minCoord); - if (likely (max)) *max = &(this+maxCoord); - } - - bool sanitize (hb_sanitize_context_t *c, const void *base) const - { - TRACE_SANITIZE (this); - return_trace (likely (c->check_struct (this) && - minCoord.sanitize (c, this) && - maxCoord.sanitize (c, this))); - } - - protected: - Tag tag; /* 4-byte feature identification tag--must - * match feature tag in FeatureList */ - Offset16To - minCoord; /* Offset to BaseCoord table that defines - * the minimum extent value, from beginning - * of MinMax table (may be NULL) */ - Offset16To - maxCoord; /* Offset to BaseCoord table that defines - * the maximum extent value, from beginning - * of MinMax table (may be NULL) */ - public: - DEFINE_SIZE_STATIC (8); - -}; - -struct MinMax -{ - void get_min_max (hb_tag_t feature_tag, - const BaseCoord **min, - const BaseCoord **max) const - { - const FeatMinMaxRecord &minMaxCoord = featMinMaxRecords.bsearch (feature_tag); - if (minMaxCoord.has_data ()) - minMaxCoord.get_min_max (min, max); - else - { - if (likely (min)) *min = &(this+minCoord); - if (likely (max)) *max = &(this+maxCoord); - } - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (likely (c->check_struct (this) && - minCoord.sanitize (c, this) && - maxCoord.sanitize (c, this) && - featMinMaxRecords.sanitize (c, this))); - } - - protected: - Offset16To - minCoord; /* Offset to BaseCoord table that defines - * minimum extent value, from the beginning - * of MinMax table (may be NULL) */ - Offset16To - maxCoord; /* Offset to BaseCoord table that defines - * maximum extent value, from the beginning - * of MinMax table (may be NULL) */ - SortedArray16Of - featMinMaxRecords; - /* Array of FeatMinMaxRecords, in alphabetical - * order by featureTableTag */ - public: - DEFINE_SIZE_ARRAY (6, featMinMaxRecords); -}; - -struct BaseValues -{ - const BaseCoord &get_base_coord (int baseline_tag_index) const - { - if (baseline_tag_index == -1) baseline_tag_index = defaultIndex; - return this+baseCoords[baseline_tag_index]; - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (likely (c->check_struct (this) && - baseCoords.sanitize (c, this))); - } - - protected: - Index defaultIndex; /* Index number of default baseline for this - * script — equals index position of baseline tag - * in baselineTags array of the BaseTagList */ - Array16OfOffset16To - baseCoords; /* Number of BaseCoord tables defined — should equal - * baseTagCount in the BaseTagList - * - * Array of offsets to BaseCoord tables, from beginning of - * BaseValues table — order matches baselineTags array in - * the BaseTagList */ - public: - DEFINE_SIZE_ARRAY (4, baseCoords); -}; - -struct BaseLangSysRecord -{ - int cmp (hb_tag_t key) const { return baseLangSysTag.cmp (key); } - - bool has_data () const { return baseLangSysTag; } - - const MinMax &get_min_max () const { return this+minMax; } - - bool sanitize (hb_sanitize_context_t *c, const void *base) const - { - TRACE_SANITIZE (this); - return_trace (likely (c->check_struct (this) && - minMax.sanitize (c, this))); - } - - protected: - Tag baseLangSysTag; /* 4-byte language system identification tag */ - Offset16To - minMax; /* Offset to MinMax table, from beginning - * of BaseScript table */ - public: - DEFINE_SIZE_STATIC (6); -}; - -struct BaseScript -{ - const MinMax &get_min_max (hb_tag_t language_tag) const - { - const BaseLangSysRecord& record = baseLangSysRecords.bsearch (language_tag); - return record.has_data () ? record.get_min_max () : this+defaultMinMax; - } - - const BaseCoord &get_base_coord (int baseline_tag_index) const - { return (this+baseValues).get_base_coord (baseline_tag_index); } - - bool has_data () const { return baseValues; } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (likely (c->check_struct (this) && - baseValues.sanitize (c, this) && - defaultMinMax.sanitize (c, this) && - baseLangSysRecords.sanitize (c, this))); - } - - protected: - Offset16To - baseValues; /* Offset to BaseValues table, from beginning - * of BaseScript table (may be NULL) */ - Offset16To - defaultMinMax; /* Offset to MinMax table, from beginning of - * BaseScript table (may be NULL) */ - SortedArray16Of - baseLangSysRecords; - /* Number of BaseLangSysRecords - * defined — may be zero (0) */ - - public: - DEFINE_SIZE_ARRAY (6, baseLangSysRecords); -}; - -struct BaseScriptList; -struct BaseScriptRecord -{ - int cmp (hb_tag_t key) const { return baseScriptTag.cmp (key); } - - bool has_data () const { return baseScriptTag; } - - const BaseScript &get_base_script (const BaseScriptList *list) const - { return list+baseScript; } - - bool sanitize (hb_sanitize_context_t *c, const void *base) const - { - TRACE_SANITIZE (this); - return_trace (likely (c->check_struct (this) && - baseScript.sanitize (c, base))); - } - - protected: - Tag baseScriptTag; /* 4-byte script identification tag */ - Offset16To - baseScript; /* Offset to BaseScript table, from beginning - * of BaseScriptList */ - - public: - DEFINE_SIZE_STATIC (6); -}; - -struct BaseScriptList -{ - const BaseScript &get_base_script (hb_tag_t script) const - { - const BaseScriptRecord *record = &baseScriptRecords.bsearch (script); - if (!record->has_data ()) record = &baseScriptRecords.bsearch (HB_TAG ('D','F','L','T')); - return record->has_data () ? record->get_base_script (this) : Null (BaseScript); - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (c->check_struct (this) && - baseScriptRecords.sanitize (c, this)); - } - - protected: - SortedArray16Of - baseScriptRecords; - - public: - DEFINE_SIZE_ARRAY (2, baseScriptRecords); -}; - -struct Axis -{ - bool get_baseline (hb_tag_t baseline_tag, - hb_tag_t script_tag, - hb_tag_t language_tag, - const BaseCoord **coord) const - { - const BaseScript &base_script = (this+baseScriptList).get_base_script (script_tag); - if (!base_script.has_data ()) - { - *coord = nullptr; - return false; - } - - if (likely (coord)) - { - unsigned int tag_index = 0; - if (!(this+baseTagList).bfind (baseline_tag, &tag_index)) - { - *coord = nullptr; - return false; - } - *coord = &base_script.get_base_coord (tag_index); - } - - return true; - } - - bool get_min_max (hb_tag_t script_tag, - hb_tag_t language_tag, - hb_tag_t feature_tag, - const BaseCoord **min_coord, - const BaseCoord **max_coord) const - { - const BaseScript &base_script = (this+baseScriptList).get_base_script (script_tag); - if (!base_script.has_data ()) - { - *min_coord = *max_coord = nullptr; - return false; - } - - base_script.get_min_max (language_tag).get_min_max (feature_tag, min_coord, max_coord); - - return true; - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (likely (c->check_struct (this) && - (this+baseTagList).sanitize (c) && - (this+baseScriptList).sanitize (c))); - } - - protected: - Offset16To> - baseTagList; /* Offset to BaseTagList table, from beginning - * of Axis table (may be NULL) - * Array of 4-byte baseline identification tags — must - * be in alphabetical order */ - Offset16To - baseScriptList; /* Offset to BaseScriptList table, from beginning - * of Axis table - * Array of BaseScriptRecords, in alphabetical order - * by baseScriptTag */ - - public: - DEFINE_SIZE_STATIC (4); -}; - -struct BASE -{ - static constexpr hb_tag_t tableTag = HB_OT_TAG_BASE; - - const Axis &get_axis (hb_direction_t direction) const - { return HB_DIRECTION_IS_VERTICAL (direction) ? this+vAxis : this+hAxis; } - - const VariationStore &get_var_store () const - { return version.to_int () < 0x00010001u ? Null (VariationStore) : this+varStore; } - - bool get_baseline (hb_font_t *font, - hb_tag_t baseline_tag, - hb_direction_t direction, - hb_tag_t script_tag, - hb_tag_t language_tag, - hb_position_t *base) const - { - const BaseCoord *base_coord = nullptr; - if (unlikely (!get_axis (direction).get_baseline (baseline_tag, script_tag, language_tag, &base_coord) || - !base_coord || !base_coord->has_data ())) - return false; - - if (likely (base)) - *base = base_coord->get_coord (font, get_var_store (), direction); - - return true; - } - - /* TODO: Expose this separately sometime? */ - bool get_min_max (hb_font_t *font, - hb_direction_t direction, - hb_tag_t script_tag, - hb_tag_t language_tag, - hb_tag_t feature_tag, - hb_position_t *min, - hb_position_t *max) - { - const BaseCoord *min_coord, *max_coord; - if (!get_axis (direction).get_min_max (script_tag, language_tag, feature_tag, - &min_coord, &max_coord)) - return false; - - const VariationStore &var_store = get_var_store (); - if (likely (min && min_coord)) *min = min_coord->get_coord (font, var_store, direction); - if (likely (max && max_coord)) *max = max_coord->get_coord (font, var_store, direction); - return true; - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (likely (c->check_struct (this) && - likely (version.major == 1) && - hAxis.sanitize (c, this) && - vAxis.sanitize (c, this) && - (version.to_int () < 0x00010001u || varStore.sanitize (c, this)))); - } - - protected: - FixedVersion<>version; /* Version of the BASE table */ - Offset16TohAxis; /* Offset to horizontal Axis table, from beginning - * of BASE table (may be NULL) */ - Offset16TovAxis; /* Offset to vertical Axis table, from beginning - * of BASE table (may be NULL) */ - Offset32To - varStore; /* Offset to the table of Item Variation - * Store--from beginning of BASE - * header (may be NULL). Introduced - * in version 0x00010001. */ - public: - DEFINE_SIZE_MIN (8); -}; - - -} /* namespace OT */ - - -#endif /* HB_OT_LAYOUT_BASE_TABLE_HH */ diff --git a/harfbuzz/src/hb-ot-layout-common.hh b/harfbuzz/src/hb-ot-layout-common.hh deleted file mode 100644 index 4fb1893..0000000 --- a/harfbuzz/src/hb-ot-layout-common.hh +++ /dev/null @@ -1,3619 +0,0 @@ -/* - * Copyright © 2007,2008,2009 Red Hat, Inc. - * Copyright © 2010,2012 Google, Inc. - * - * This is part of HarfBuzz, a text shaping library. - * - * Permission is hereby granted, without written agreement and without - * license or royalty fees, to use, copy, modify, and distribute this - * software and its documentation for any purpose, provided that the - * above copyright notice and the following two paragraphs appear in - * all copies of this software. - * - * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES - * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN - * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. - * - * Red Hat Author(s): Behdad Esfahbod - * Google Author(s): Behdad Esfahbod - */ - -#ifndef HB_OT_LAYOUT_COMMON_HH -#define HB_OT_LAYOUT_COMMON_HH - -#include "hb.hh" -#include "hb-ot-layout.hh" -#include "hb-open-type.hh" -#include "hb-set.hh" -#include "hb-bimap.hh" - - -#ifndef HB_MAX_NESTING_LEVEL -#define HB_MAX_NESTING_LEVEL 6 -#endif -#ifndef HB_MAX_CONTEXT_LENGTH -#define HB_MAX_CONTEXT_LENGTH 64 -#endif -#ifndef HB_CLOSURE_MAX_STAGES -/* - * The maximum number of times a lookup can be applied during shaping. - * Used to limit the number of iterations of the closure algorithm. - * This must be larger than the number of times add_pause() is - * called in a collect_features call of any shaper. - */ -#define HB_CLOSURE_MAX_STAGES 32 -#endif - -#ifndef HB_MAX_SCRIPTS -#define HB_MAX_SCRIPTS 500 -#endif - -#ifndef HB_MAX_LANGSYS -#define HB_MAX_LANGSYS 2000 -#endif - -#ifndef HB_MAX_FEATURES -#define HB_MAX_FEATURES 750 -#endif - -#ifndef HB_MAX_FEATURE_INDICES -#define HB_MAX_FEATURE_INDICES 1500 -#endif - -#ifndef HB_MAX_LOOKUP_VISIT_COUNT -#define HB_MAX_LOOKUP_VISIT_COUNT 35000 -#endif - - -namespace OT { - - -#define NOT_COVERED ((unsigned int) -1) - - -template -static inline void Coverage_serialize (hb_serialize_context_t *c, - Iterator it); - -template -static inline void ClassDef_serialize (hb_serialize_context_t *c, - Iterator it); - -static void ClassDef_remap_and_serialize (hb_serialize_context_t *c, - const hb_map_t &gid_klass_map, - hb_sorted_vector_t &glyphs, - const hb_set_t &klasses, - bool use_class_zero, - hb_map_t *klass_map /*INOUT*/); - - -struct hb_prune_langsys_context_t -{ - hb_prune_langsys_context_t (const void *table_, - hb_hashmap_t *script_langsys_map_, - const hb_map_t *duplicate_feature_map_, - hb_set_t *new_collected_feature_indexes_) - :table (table_), - script_langsys_map (script_langsys_map_), - duplicate_feature_map (duplicate_feature_map_), - new_feature_indexes (new_collected_feature_indexes_), - script_count (0),langsys_count (0) {} - - bool visitedScript (const void *s) - { - if (script_count++ > HB_MAX_SCRIPTS) - return true; - - return visited (s, visited_script); - } - - bool visitedLangsys (const void *l) - { - if (langsys_count++ > HB_MAX_LANGSYS) - return true; - - return visited (l, visited_langsys); - } - - private: - template - bool visited (const T *p, hb_set_t &visited_set) - { - hb_codepoint_t delta = (hb_codepoint_t) ((uintptr_t) p - (uintptr_t) table); - if (visited_set.has (delta)) - return true; - - visited_set.add (delta); - return false; - } - - public: - const void *table; - hb_hashmap_t *script_langsys_map; - const hb_map_t *duplicate_feature_map; - hb_set_t *new_feature_indexes; - - private: - hb_set_t visited_script; - hb_set_t visited_langsys; - unsigned script_count; - unsigned langsys_count; -}; - -struct hb_subset_layout_context_t : - hb_dispatch_context_t -{ - const char *get_name () { return "SUBSET_LAYOUT"; } - static return_t default_return_value () { return hb_empty_t (); } - - bool visitScript () - { - return script_count++ < HB_MAX_SCRIPTS; - } - - bool visitLangSys () - { - return langsys_count++ < HB_MAX_LANGSYS; - } - - bool visitFeatureIndex (int count) - { - feature_index_count += count; - return feature_index_count < HB_MAX_FEATURE_INDICES; - } - - bool visitLookupIndex() - { - lookup_index_count++; - return lookup_index_count < HB_MAX_LOOKUP_VISIT_COUNT; - } - - hb_subset_context_t *subset_context; - const hb_tag_t table_tag; - const hb_map_t *lookup_index_map; - const hb_hashmap_t *script_langsys_map; - const hb_map_t *feature_index_map; - unsigned cur_script_index; - - hb_subset_layout_context_t (hb_subset_context_t *c_, - hb_tag_t tag_, - hb_map_t *lookup_map_, - hb_hashmap_t *script_langsys_map_, - hb_map_t *feature_index_map_) : - subset_context (c_), - table_tag (tag_), - lookup_index_map (lookup_map_), - script_langsys_map (script_langsys_map_), - feature_index_map (feature_index_map_), - cur_script_index (0xFFFFu), - script_count (0), - langsys_count (0), - feature_index_count (0), - lookup_index_count (0) - {} - - private: - unsigned script_count; - unsigned langsys_count; - unsigned feature_index_count; - unsigned lookup_index_count; -}; - -struct hb_collect_variation_indices_context_t : - hb_dispatch_context_t -{ - template - return_t dispatch (const T &obj) { obj.collect_variation_indices (this); return hb_empty_t (); } - static return_t default_return_value () { return hb_empty_t (); } - - hb_set_t *layout_variation_indices; - const hb_set_t *glyph_set; - const hb_map_t *gpos_lookups; - - hb_collect_variation_indices_context_t (hb_set_t *layout_variation_indices_, - const hb_set_t *glyph_set_, - const hb_map_t *gpos_lookups_) : - layout_variation_indices (layout_variation_indices_), - glyph_set (glyph_set_), - gpos_lookups (gpos_lookups_) {} -}; - -template -struct subset_offset_array_t -{ - subset_offset_array_t (hb_subset_context_t *subset_context_, - OutputArray& out_, - const void *base_) : subset_context (subset_context_), - out (out_), base (base_) {} - - template - bool operator () (T&& offset) - { - auto snap = subset_context->serializer->snapshot (); - auto *o = out.serialize_append (subset_context->serializer); - if (unlikely (!o)) return false; - bool ret = o->serialize_subset (subset_context, offset, base); - if (!ret) - { - out.pop (); - subset_context->serializer->revert (snap); - } - return ret; - } - - private: - hb_subset_context_t *subset_context; - OutputArray &out; - const void *base; -}; - - -template -struct subset_offset_array_arg_t -{ - subset_offset_array_arg_t (hb_subset_context_t *subset_context_, - OutputArray& out_, - const void *base_, - Arg &&arg_) : subset_context (subset_context_), out (out_), - base (base_), arg (arg_) {} - - template - bool operator () (T&& offset) - { - auto snap = subset_context->serializer->snapshot (); - auto *o = out.serialize_append (subset_context->serializer); - if (unlikely (!o)) return false; - bool ret = o->serialize_subset (subset_context, offset, base, arg); - if (!ret) - { - out.pop (); - subset_context->serializer->revert (snap); - } - return ret; - } - - private: - hb_subset_context_t *subset_context; - OutputArray &out; - const void *base; - Arg &&arg; -}; - -/* - * Helper to subset an array of offsets. Subsets the thing pointed to by each offset - * and discards the offset in the array if the subset operation results in an empty - * thing. - */ -struct -{ - template - subset_offset_array_t - operator () (hb_subset_context_t *subset_context, OutputArray& out, - const void *base) const - { return subset_offset_array_t (subset_context, out, base); } - - /* Variant with one extra argument passed to serialize_subset */ - template - subset_offset_array_arg_t - operator () (hb_subset_context_t *subset_context, OutputArray& out, - const void *base, Arg &&arg) const - { return subset_offset_array_arg_t (subset_context, out, base, arg); } -} -HB_FUNCOBJ (subset_offset_array); - -template -struct subset_record_array_t -{ - subset_record_array_t (hb_subset_layout_context_t *c_, OutputArray* out_, - const void *base_) : subset_layout_context (c_), - out (out_), base (base_) {} - - template - void - operator () (T&& record) - { - auto snap = subset_layout_context->subset_context->serializer->snapshot (); - bool ret = record.subset (subset_layout_context, base); - if (!ret) subset_layout_context->subset_context->serializer->revert (snap); - else out->len++; - } - - private: - hb_subset_layout_context_t *subset_layout_context; - OutputArray *out; - const void *base; -}; - -/* - * Helper to subset a RecordList/record array. Subsets each Record in the array and - * discards the record if the subset operation returns false. - */ -struct -{ - template - subset_record_array_t - operator () (hb_subset_layout_context_t *c, OutputArray* out, - const void *base) const - { return subset_record_array_t (c, out, base); } -} -HB_FUNCOBJ (subset_record_array); - - -template -struct serialize_math_record_array_t -{ - serialize_math_record_array_t (hb_serialize_context_t *serialize_context_, - OutputArray& out_, - const void *base_) : serialize_context (serialize_context_), - out (out_), base (base_) {} - - template - bool operator () (T&& record) - { - if (!serialize_context->copy (record, base)) return false; - out.len++; - return true; - } - - private: - hb_serialize_context_t *serialize_context; - OutputArray &out; - const void *base; -}; - -/* - * Helper to serialize an array of MATH records. - */ -struct -{ - template - serialize_math_record_array_t - operator () (hb_serialize_context_t *serialize_context, OutputArray& out, - const void *base) const - { return serialize_math_record_array_t (serialize_context, out, base); } - -} -HB_FUNCOBJ (serialize_math_record_array); - -/* - * - * OpenType Layout Common Table Formats - * - */ - - -/* - * Script, ScriptList, LangSys, Feature, FeatureList, Lookup, LookupList - */ - -struct Record_sanitize_closure_t { - hb_tag_t tag; - const void *list_base; -}; - -template -struct Record -{ - int cmp (hb_tag_t a) const { return tag.cmp (a); } - - bool subset (hb_subset_layout_context_t *c, const void *base) const - { - TRACE_SUBSET (this); - auto *out = c->subset_context->serializer->embed (this); - if (unlikely (!out)) return_trace (false); - bool ret = out->offset.serialize_subset (c->subset_context, offset, base, c, &tag); - return_trace (ret); - } - - bool sanitize (hb_sanitize_context_t *c, const void *base) const - { - TRACE_SANITIZE (this); - const Record_sanitize_closure_t closure = {tag, base}; - return_trace (c->check_struct (this) && offset.sanitize (c, base, &closure)); - } - - Tag tag; /* 4-byte Tag identifier */ - Offset16To - offset; /* Offset from beginning of object holding - * the Record */ - public: - DEFINE_SIZE_STATIC (6); -}; - -template -struct RecordArrayOf : SortedArray16Of> -{ - const Offset16To& get_offset (unsigned int i) const - { return (*this)[i].offset; } - Offset16To& get_offset (unsigned int i) - { return (*this)[i].offset; } - const Tag& get_tag (unsigned int i) const - { return (*this)[i].tag; } - unsigned int get_tags (unsigned int start_offset, - unsigned int *record_count /* IN/OUT */, - hb_tag_t *record_tags /* OUT */) const - { - if (record_count) - { - + this->sub_array (start_offset, record_count) - | hb_map (&Record::tag) - | hb_sink (hb_array (record_tags, *record_count)) - ; - } - return this->len; - } - bool find_index (hb_tag_t tag, unsigned int *index) const - { - return this->bfind (tag, index, HB_NOT_FOUND_STORE, Index::NOT_FOUND_INDEX); - } -}; - -template -struct RecordListOf : RecordArrayOf -{ - const Type& operator [] (unsigned int i) const - { return this+this->get_offset (i); } - - bool subset (hb_subset_context_t *c, - hb_subset_layout_context_t *l) const - { - TRACE_SUBSET (this); - auto *out = c->serializer->start_embed (*this); - if (unlikely (!c->serializer->extend_min (out))) return_trace (false); - - + this->iter () - | hb_apply (subset_record_array (l, out, this)) - ; - return_trace (true); - } - - bool sanitize (hb_sanitize_context_t *c) const - { - TRACE_SANITIZE (this); - return_trace (RecordArrayOf::sanitize (c, this)); - } -}; - -struct Feature; - -struct RecordListOfFeature : RecordListOf -{ - bool subset (hb_subset_context_t *c, - hb_subset_layout_context_t *l) const - { - TRACE_SUBSET (this); - auto *out = c->serializer->start_embed (*this); - if (unlikely (!out || !c->serializer->extend_min (out))) return_trace (false); - - unsigned count = this->len; - + hb_zip (*this, hb_range (count)) - | hb_filter (l->feature_index_map, hb_second) - | hb_map (hb_first) - | hb_apply (subset_record_array (l, out, this)) - ; - return_trace (true); - } -}; - -struct Script; -struct RecordListOfScript : RecordListOf